From e4f3964f67aac34233ac06d6614802b7040f2a7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 11 Jul 2022 13:48:02 -0400 Subject: [PATCH] v3 new release (#84) swap to graphql --- .../issue--bug-report---feature-request.md | 3 - .github/workflows/defaultLabels.yml | 52 +- .github/workflows/integration-tests.yml | 126 +- .github/workflows/prettify-code.yml | 18 + .github/workflows/release-pr.yml | 18 +- .github/workflows/tag-and-draft.yml | 10 +- .github/workflows/unit-tests.yml | 34 +- .prettierignore | 4 + .prettierrc.json | 8 + CODE_OF_CONDUCT.md | 18 +- CONTRIBUTING.md | 2 +- README.md | 62 +- SECURITY.md | 82 +- action.yml | 22 +- jest.config.js | 34 +- lib/index.js | 13856 +++++++--- node_modules/.package-lock.json | 12550 ++++----- node_modules/@actions/core/README.md | 25 +- node_modules/@actions/core/lib/core.d.ts | 12 + node_modules/@actions/core/lib/core.js | 17 + node_modules/@actions/core/lib/core.js.map | 2 +- node_modules/@actions/core/lib/oidc-utils.js | 2 +- .../@actions/core/lib/oidc-utils.js.map | 2 +- .../@actions/core/lib/path-utils.d.ts | 25 + node_modules/@actions/core/lib/path-utils.js | 58 + .../@actions/core/lib/path-utils.js.map | 1 + node_modules/@actions/core/lib/summary.d.ts | 202 + node_modules/@actions/core/lib/summary.js | 283 + node_modules/@actions/core/lib/summary.js.map | 1 + node_modules/@actions/core/package.json | 4 +- node_modules/@actions/exec/package.json | 2 +- node_modules/@actions/http-client/README.md | 32 +- node_modules/@actions/http-client/RELEASES.md | 26 - node_modules/@actions/http-client/actions.png | Bin 33889 -> 0 bytes node_modules/@actions/http-client/auth.d.ts | 23 - node_modules/@actions/http-client/auth.js | 58 - node_modules/@actions/http-client/index.js | 537 - .../@actions/http-client/interfaces.d.ts | 49 - .../@actions/http-client/lib/auth.d.ts | 26 + node_modules/@actions/http-client/lib/auth.js | 81 + .../@actions/http-client/lib/auth.js.map | 1 + .../@actions/http-client/{ => lib}/index.d.ts | 43 +- .../@actions/http-client/lib/index.js | 605 + .../@actions/http-client/lib/index.js.map | 1 + .../@actions/http-client/lib/interfaces.d.ts | 44 + .../http-client/{ => lib}/interfaces.js | 1 + .../http-client/lib/interfaces.js.map | 1 + .../@actions/http-client/{ => lib}/proxy.d.ts | 0 .../@actions/http-client/{ => lib}/proxy.js | 32 +- .../@actions/http-client/lib/proxy.js.map | 1 + .../@actions/http-client/package.json | 59 +- node_modules/@actions/io/package.json | 2 +- node_modules/@ampproject/remapping/LICENSE | 202 + node_modules/@ampproject/remapping/README.md | 218 + .../@ampproject/remapping/dist/remapping.mjs | 204 + .../remapping/dist/remapping.mjs.map | 1 + .../remapping/dist/remapping.umd.js | 209 + .../remapping/dist/remapping.umd.js.map | 1 + .../dist/types/build-source-map-tree.d.ts | 14 + .../remapping/dist/types/remapping.d.ts | 19 + .../remapping/dist/types/source-map-tree.d.ts | 48 + .../remapping/dist/types/source-map.d.ts | 17 + .../remapping/dist/types/types.d.ts | 14 + .../@ampproject/remapping/package.json | 63 + node_modules/@babel/code-frame/package.json | 7 +- .../compat-data/data/corejs2-built-ins.json | 153 +- .../compat-data/data/plugin-bugfixes.json | 130 +- .../@babel/compat-data/data/plugins.json | 19 +- node_modules/@babel/compat-data/package.json | 9 +- .../@babel/core/lib/config/cache-contexts.js | 1 + .../@babel/core/lib/config/caching.js | 4 +- .../@babel/core/lib/config/config-chain.js | 4 +- .../core/lib/config/config-descriptors.js | 4 +- .../core/lib/config/files/configuration.js | 4 +- .../lib/config/files/import-meta-resolve.js | 4 +- .../@babel/core/lib/config/files/import.js | 4 +- .../core/lib/config/files/index-browser.js | 4 +- .../@babel/core/lib/config/files/index.js | 3 +- .../core/lib/config/files/module-types.js | 17 +- .../@babel/core/lib/config/files/package.js | 3 +- .../@babel/core/lib/config/files/plugins.js | 12 +- .../@babel/core/lib/config/files/types.js | 1 + .../@babel/core/lib/config/files/utils.js | 4 +- node_modules/@babel/core/lib/config/full.js | 86 +- .../core/lib/config/helpers/config-api.js | 20 +- .../core/lib/config/helpers/deep-array.js | 26 + .../core/lib/config/helpers/environment.js | 4 +- node_modules/@babel/core/lib/config/index.js | 4 +- node_modules/@babel/core/lib/config/item.js | 3 +- .../@babel/core/lib/config/partial.js | 3 +- .../core/lib/config/pattern-to-regex.js | 4 +- node_modules/@babel/core/lib/config/plugin.js | 9 +- .../@babel/core/lib/config/printer.js | 5 +- .../lib/config/resolve-targets-browser.js | 25 +- .../@babel/core/lib/config/resolve-targets.js | 25 +- node_modules/@babel/core/lib/config/util.js | 4 +- .../config/validation/option-assertions.js | 4 +- .../core/lib/config/validation/options.js | 7 +- .../core/lib/config/validation/plugins.js | 4 +- .../core/lib/config/validation/removed.js | 3 +- .../@babel/core/lib/gensync-utils/async.js | 4 +- .../@babel/core/lib/gensync-utils/fs.js | 3 +- node_modules/@babel/core/lib/index.js | 16 +- node_modules/@babel/core/lib/parse.js | 10 +- node_modules/@babel/core/lib/parser/index.js | 4 +- .../lib/parser/util/missing-plugin-helper.js | 120 +- .../core/lib/tools/build-external-helpers.js | 4 +- node_modules/@babel/core/lib/transform-ast.js | 19 +- .../@babel/core/lib/transform-file-browser.js | 4 +- .../@babel/core/lib/transform-file.js | 3 +- node_modules/@babel/core/lib/transform.js | 22 +- .../lib/transformation/block-hoist-plugin.js | 3 +- .../core/lib/transformation/file/file.js | 9 +- .../core/lib/transformation/file/generate.js | 21 +- .../core/lib/transformation/file/merge-map.js | 240 +- .../@babel/core/lib/transformation/index.js | 9 +- .../core/lib/transformation/normalize-file.js | 6 +- .../core/lib/transformation/normalize-opts.js | 4 +- .../core/lib/transformation/plugin-pass.js | 3 +- .../transformation/util/clone-deep-browser.js | 25 - .../lib/transformation/util/clone-deep.js | 41 +- .../core/lib/vendor/import-meta-resolve.js | 2439 +- .../core/node_modules/source-map/CHANGELOG.md | 301 - .../core/node_modules/source-map/LICENSE | 28 - .../core/node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../core/node_modules/source-map/lib/util.js | 417 - .../core/node_modules/source-map/package.json | 72 - .../node_modules/source-map/source-map.js | 8 - node_modules/@babel/core/package.json | 43 +- .../core/src/config/files/index-browser.ts | 8 +- .../src/config/resolve-targets-browser.ts | 23 +- .../@babel/core/src/config/resolve-targets.ts | 23 +- .../@babel/core/src/transform-file-browser.ts | 10 +- .../transformation/util/clone-deep-browser.ts | 19 - .../src/transformation/util/clone-deep.ts | 9 - node_modules/@babel/generator/lib/buffer.js | 125 +- .../@babel/generator/lib/generators/base.js | 2 +- .../generator/lib/generators/classes.js | 49 +- .../generator/lib/generators/expressions.js | 82 +- .../@babel/generator/lib/generators/flow.js | 6 +- .../@babel/generator/lib/generators/jsx.js | 2 +- .../generator/lib/generators/methods.js | 10 +- .../generator/lib/generators/modules.js | 80 +- .../generator/lib/generators/statements.js | 105 +- .../@babel/generator/lib/generators/types.js | 8 +- .../generator/lib/generators/typescript.js | 58 +- node_modules/@babel/generator/lib/index.js | 2 +- .../@babel/generator/lib/node/index.js | 6 +- .../@babel/generator/lib/node/parentheses.js | 25 +- .../@babel/generator/lib/node/whitespace.js | 12 +- node_modules/@babel/generator/lib/printer.js | 25 +- .../@babel/generator/lib/source-map.js | 80 +- .../@jridgewell/gen-mapping/LICENSE | 19 + .../@jridgewell/gen-mapping/README.md | 227 + .../gen-mapping/dist/gen-mapping.mjs | 230 + .../gen-mapping/dist/gen-mapping.mjs.map | 1 + .../gen-mapping/dist/gen-mapping.umd.js | 236 + .../gen-mapping/dist/gen-mapping.umd.js.map | 1 + .../gen-mapping/dist/types/gen-mapping.d.ts | 90 + .../dist/types/sourcemap-segment.d.ts | 12 + .../gen-mapping/dist/types/types.d.ts | 35 + .../@jridgewell/gen-mapping/package.json | 78 + .../gen-mapping/src/gen-mapping.ts | 458 + .../gen-mapping/src/sourcemap-segment.ts | 16 + .../@jridgewell/gen-mapping/src/types.ts | 43 + .../node_modules/source-map/CHANGELOG.md | 301 - .../generator/node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 72 - .../node_modules/source-map/source-map.js | 8 - node_modules/@babel/generator/package.json | 17 +- .../helper-compilation-targets/lib/index.js | 53 +- .../helper-compilation-targets/lib/utils.js | 9 +- .../helper-compilation-targets/package.json | 15 +- .../helper-environment-visitor/lib/index.js | 57 +- .../helper-environment-visitor/package.json | 11 +- .../@babel/helper-function-name/lib/index.js | 25 +- .../@babel/helper-function-name/package.json | 10 +- .../@babel/helper-get-function-arity/LICENSE | 22 - .../helper-get-function-arity/README.md | 19 - .../helper-get-function-arity/lib/index.js | 27 - .../helper-get-function-arity/package.json | 23 - .../helper-hoist-variables/package.json | 9 +- .../lib/import-builder.js | 24 +- .../lib/import-injector.js | 26 +- .../@babel/helper-module-imports/package.json | 11 +- .../helper-module-transforms/lib/index.js | 14 +- .../lib/normalize-and-load-metadata.js | 13 +- .../lib/rewrite-live-references.js | 50 +- .../helper-module-transforms/package.json | 21 +- .../@babel/helper-plugin-utils/lib/index.js | 7 +- .../@babel/helper-plugin-utils/package.json | 5 +- .../@babel/helper-simple-access/lib/index.js | 13 +- .../@babel/helper-simple-access/package.json | 9 +- .../lib/index.js | 20 +- .../package.json | 7 +- .../helper-validator-identifier/package.json | 5 +- .../helper-validator-option/package.json | 5 +- .../@babel/helpers/lib/helpers-generated.js | 6 +- node_modules/@babel/helpers/lib/helpers.js | 25 +- .../@babel/helpers/lib/helpers/applyDecs.js | 530 + .../helpers/lib/helpers/regeneratorRuntime.js | 587 + node_modules/@babel/helpers/lib/index.js | 138 +- node_modules/@babel/helpers/package.json | 16 +- .../helpers/scripts/generate-helpers.js | 6 +- .../scripts/generate-regenerator-runtime.js | 64 + node_modules/@babel/highlight/lib/index.js | 2 +- node_modules/@babel/highlight/package.json | 7 +- node_modules/@babel/parser/lib/index.js | 5510 ++-- node_modules/@babel/parser/lib/index.js.map | 2 +- node_modules/@babel/parser/package.json | 12 +- node_modules/@babel/template/package.json | 11 +- node_modules/@babel/traverse/lib/context.js | 8 +- .../@babel/traverse/lib/path/context.js | 11 +- .../@babel/traverse/lib/path/conversion.js | 13 +- .../@babel/traverse/lib/path/evaluation.js | 12 +- .../@babel/traverse/lib/path/index.js | 7 + .../traverse/lib/path/inference/index.js | 12 +- .../lib/path/inference/inferer-reference.js | 2 +- .../traverse/lib/path/inference/inferers.js | 2 +- .../@babel/traverse/lib/path/introspection.js | 59 +- .../traverse/lib/path/lib/removal-hooks.js | 3 + .../traverse/lib/path/lib/virtual-types.js | 4 +- .../@babel/traverse/lib/path/modification.js | 57 +- .../@babel/traverse/lib/path/replacement.js | 15 +- .../@babel/traverse/lib/scope/index.js | 77 +- .../@babel/traverse/lib/scope/lib/renamer.js | 67 +- node_modules/@babel/traverse/package.json | 23 +- .../traverse/scripts/generators/asserts.js | 2 +- .../traverse/scripts/generators/validators.js | 9 +- .../scripts/generators/virtual-types.js | 5 +- .../types/lib/asserts/generated/index.js | 15 + .../@babel/types/lib/builders/builder.js | 43 - .../types/lib/builders/generated/index.js | 1688 +- .../types/lib/builders/generated/uppercase.js | 12 + .../@babel/types/lib/builders/validateNode.js | 20 + .../@babel/types/lib/clone/cloneNode.js | 56 +- .../types/lib/constants/generated/index.js | 4 +- .../@babel/types/lib/constants/index.js | 2 +- .../types/lib/converters/ensureBlock.js | 4 +- .../@babel/types/lib/definitions/core.js | 104 +- .../@babel/types/lib/definitions/flow.js | 22 +- .../@babel/types/lib/definitions/jsx.js | 7 +- .../types/lib/definitions/typescript.js | 31 +- .../@babel/types/lib/index-legacy.d.ts | 88 +- node_modules/@babel/types/lib/index.d.ts | 179 +- node_modules/@babel/types/lib/index.js.flow | 75 +- .../types/lib/modifications/inherits.js | 4 +- .../lib/modifications/removeProperties.js | 3 +- .../lib/retrievers/getBindingIdentifiers.js | 7 +- .../types/lib/validators/generated/index.js | 60 +- .../types/lib/validators/isNodesEquivalent.js | 27 +- .../types/lib/validators/isReferenced.js | 1 + node_modules/@babel/types/package.json | 11 +- .../types/scripts/generators/asserts.js | 2 +- .../types/scripts/generators/ast-types.js | 22 +- .../types/scripts/generators/builders.js | 71 +- .../types/scripts/generators/constants.js | 2 +- .../@babel/types/scripts/generators/docs.js | 3 +- .../@babel/types/scripts/generators/flow.js | 2 +- .../scripts/generators/typescript-legacy.js | 2 +- .../types/scripts/generators/validators.js | 2 +- node_modules/@jridgewell/gen-mapping/LICENSE | 19 + .../@jridgewell/gen-mapping/README.md | 128 + .../gen-mapping/dist/gen-mapping.mjs | 167 + .../gen-mapping/dist/gen-mapping.mjs.map | 1 + .../gen-mapping/dist/gen-mapping.umd.js | 174 + .../gen-mapping/dist/gen-mapping.umd.js.map | 1 + .../gen-mapping/dist/types/gen-mapping.d.ts | 70 + .../dist/types/sourcemap-segment.d.ts | 12 + .../gen-mapping/dist/types/types.d.ts | 35 + .../@jridgewell/gen-mapping/package.json | 72 + node_modules/@jridgewell/resolve-uri/LICENSE | 19 + .../@jridgewell/resolve-uri/README.md | 40 + .../resolve-uri/dist/resolve-uri.mjs | 197 + .../resolve-uri/dist/resolve-uri.mjs.map | 1 + .../resolve-uri/dist/resolve-uri.umd.js | 205 + .../resolve-uri/dist/resolve-uri.umd.js.map | 1 + .../resolve-uri/dist/types/resolve-uri.d.ts | 4 + .../@jridgewell/resolve-uri/package.json | 69 + .../resolve-uri/src/resolve-uri.ts | 229 + node_modules/@jridgewell/set-array/LICENSE | 19 + node_modules/@jridgewell/set-array/README.md | 37 + .../@jridgewell/set-array/dist/set-array.mjs | 48 + .../set-array/dist/set-array.mjs.map | 1 + .../set-array/dist/set-array.umd.js | 58 + .../set-array/dist/set-array.umd.js.map | 1 + .../set-array/dist/types/set-array.d.ts | 26 + .../@jridgewell/set-array/package.json | 66 + .../@jridgewell/set-array/src/set-array.ts | 55 + .../@jridgewell/sourcemap-codec/LICENSE | 21 + .../@jridgewell/sourcemap-codec/README.md | 200 + .../sourcemap-codec/dist/sourcemap-codec.mjs | 164 + .../dist/sourcemap-codec.mjs.map | 1 + .../dist/sourcemap-codec.umd.js | 175 + .../dist/sourcemap-codec.umd.js.map | 1 + .../dist/types/sourcemap-codec.d.ts | 6 + .../@jridgewell/sourcemap-codec/package.json | 75 + .../sourcemap-codec/src/sourcemap-codec.ts | 198 + .../@jridgewell/trace-mapping/LICENSE | 19 + .../@jridgewell/trace-mapping/README.md | 252 + .../trace-mapping/dist/trace-mapping.mjs | 518 + .../trace-mapping/dist/trace-mapping.mjs.map | 1 + .../trace-mapping/dist/trace-mapping.umd.js | 532 + .../dist/trace-mapping.umd.js.map | 1 + .../trace-mapping/dist/types/any-map.d.ts | 8 + .../dist/types/binary-search.d.ts | 32 + .../trace-mapping/dist/types/by-source.d.ts | 7 + .../trace-mapping/dist/types/resolve.d.ts | 1 + .../trace-mapping/dist/types/sort.d.ts | 2 + .../dist/types/sourcemap-segment.d.ts | 16 + .../dist/types/strip-filename.d.ts | 4 + .../dist/types/trace-mapping.d.ts | 74 + .../trace-mapping/dist/types/types.d.ts | 85 + .../@jridgewell/trace-mapping/package.json | 76 + .../@jridgewell/trace-mapping/src/any-map.ts | 166 + .../trace-mapping/src/binary-search.ts | 115 + .../trace-mapping/src/by-source.ts | 64 + .../@jridgewell/trace-mapping/src/resolve.ts | 10 + .../@jridgewell/trace-mapping/src/sort.ts | 45 + .../trace-mapping/src/sourcemap-segment.ts | 23 + .../trace-mapping/src/strip-filename.ts | 8 + .../trace-mapping/src/trace-mapping.ts | 405 + .../@jridgewell/trace-mapping/src/types.ts | 90 + .../@octokit/openapi-types/package.json | 4 +- .../@octokit/openapi-types/types.d.ts | 9704 +++++-- .../@octokit/types/dist-node/index.js | 2 +- .../@octokit/types/dist-src/VERSION.js | 2 +- .../@octokit/types/dist-types/VERSION.d.ts | 2 +- .../types/dist-types/generated/Endpoints.d.ts | 484 +- node_modules/@octokit/types/dist-web/index.js | 2 +- node_modules/@octokit/types/package.json | 10 +- node_modules/@types/babel__core/README.md | 2 +- node_modules/@types/babel__core/index.d.ts | 2 +- node_modules/@types/babel__core/package.json | 6 +- node_modules/@types/babel__traverse/README.md | 2 +- .../@types/babel__traverse/index.d.ts | 25 +- .../@types/babel__traverse/package.json | 6 +- .../@types/babel__traverse/ts4.1/index.d.ts | 14 +- node_modules/@types/node/README.md | 2 +- node_modules/@types/node/async_hooks.d.ts | 2 +- node_modules/@types/node/child_process.d.ts | 14 +- node_modules/@types/node/crypto.d.ts | 32 +- node_modules/@types/node/fs.d.ts | 19 +- node_modules/@types/node/globals.d.ts | 164 +- node_modules/@types/node/index.d.ts | 2 +- node_modules/@types/node/inspector.d.ts | 2 +- node_modules/@types/node/net.d.ts | 12 + node_modules/@types/node/package.json | 6 +- node_modules/@types/node/timers.d.ts | 6 +- node_modules/@types/node/tls.d.ts | 2 +- node_modules/@types/node/url.d.ts | 32 +- node_modules/@types/prettier/README.md | 2 +- node_modules/@types/prettier/doc.d.ts | 1 + node_modules/@types/prettier/index.d.ts | 167 +- node_modules/@types/prettier/package.json | 6 +- node_modules/@types/yargs-parser/README.md | 2 +- node_modules/@types/yargs-parser/index.d.ts | 16 +- node_modules/@types/yargs-parser/package.json | 6 +- .../@vercel/ncc/dist/ncc/cli.js.cache | Bin 6016 -> 5760 bytes .../@vercel/ncc/dist/ncc/cli.js.cache.js | 2 +- .../@vercel/ncc/dist/ncc/index.js.cache | Bin 152904 -> 144096 bytes .../@vercel/ncc/dist/ncc/index.js.cache.js | 10 +- .../dist/ncc/loaders/relocate-loader.js.cache | Bin 2792 -> 2616 bytes .../ncc/loaders/relocate-loader.js.cache.js | 2 +- .../dist/ncc/loaders/shebang-loader.js.cache | Bin 1192 -> 1088 bytes .../ncc/loaders/stringify-loader.js.cache | Bin 1080 -> 984 bytes .../ncc/dist/ncc/loaders/ts-loader.js.cache | Bin 285648 -> 274664 bytes .../dist/ncc/loaders/ts-loader.js.cache.js | 38 +- .../ncc/loaders/typescript/lib/lib.dom.d.ts | 3111 +-- .../typescript/lib/lib.dom.iterable.d.ts | 81 +- .../typescript/lib/lib.es2015.core.d.ts | 66 +- .../typescript/lib/lib.es2015.iterable.d.ts | 15 +- .../typescript/lib/lib.es2015.promise.d.ts | 76 +- .../typescript/lib/lib.es2018.intl.d.ts | 34 +- .../typescript/lib/lib.es2019.string.d.ts | 10 +- .../typescript/lib/lib.es2020.intl.d.ts | 292 +- .../typescript/lib/lib.es2020.promise.d.ts | 5 +- .../loaders/typescript/lib/lib.es2021.d.ts | 1 + .../typescript/lib/lib.es2021.intl.d.ts | 44 + .../typescript/lib/lib.es2021.promise.d.ts | 9 +- .../typescript/lib/lib.es2022.array.d.ts | 123 + .../loaders/typescript/lib/lib.es2022.d.ts | 25 + .../typescript/lib/lib.es2022.error.d.ts | 75 + .../typescript/lib/lib.es2022.full.d.ts | 25 + .../typescript/lib/lib.es2022.object.d.ts | 28 + .../typescript/lib/lib.es2022.string.d.ts | 27 + .../ncc/loaders/typescript/lib/lib.es5.d.ts | 148 +- .../loaders/typescript/lib/lib.esnext.d.ts | 2 +- .../typescript/lib/lib.esnext.intl.d.ts | 11 +- .../loaders/typescript/lib/lib.webworker.d.ts | 919 +- .../lib/lib.webworker.iterable.d.ts | 54 +- .../ncc/loaders/typescript/lib/protocol.d.ts | 10 + .../typescript/lib/tsserverlibrary.d.ts | 732 +- .../loaders/typescript/lib/typescript.d.ts | 717 +- .../typescript/lib/typescriptServices.d.ts | 717 +- .../ncc/dist/ncc/sourcemap-register.js.cache | Bin 3232 -> 3016 bytes .../dist/ncc/sourcemap-register.js.cache.js | 2 +- node_modules/@vercel/ncc/package.json | 27 +- node_modules/abab/CHANGELOG.md | 45 - node_modules/abab/lib/atob.js | 4 + node_modules/abab/lib/btoa.js | 4 + node_modules/abab/package.json | 2 +- node_modules/acorn/CHANGELOG.md | 10 + node_modules/acorn/LICENSE | 2 +- node_modules/acorn/README.md | 7 - node_modules/acorn/bin/acorn | 4 +- node_modules/acorn/dist/acorn.d.ts | 40 +- node_modules/acorn/dist/acorn.js | 81 +- node_modules/acorn/dist/acorn.mjs | 81 +- node_modules/acorn/package.json | 10 +- .../istanbul-lib-instrument/CHANGELOG.md | 7 + .../istanbul-lib-instrument/package.json | 2 +- .../istanbul-lib-instrument/src/visitor.js | 96 +- node_modules/browserslist/cli.js | 7 +- node_modules/browserslist/index.d.ts | 22 + node_modules/browserslist/index.js | 603 +- node_modules/browserslist/node.js | 11 +- node_modules/browserslist/package.json | 26 +- node_modules/browserslist/parse.js | 78 + node_modules/caniuse-lite/data/agents.js | 2 +- .../caniuse-lite/data/browserVersions.js | 2 +- node_modules/caniuse-lite/data/features.js | 2 +- .../caniuse-lite/data/features/aac.js | 2 +- .../data/features/abortcontroller.js | 2 +- .../caniuse-lite/data/features/ac3-ec3.js | 2 +- .../data/features/accelerometer.js | 2 +- .../data/features/addeventlistener.js | 2 +- .../data/features/alternate-stylesheet.js | 2 +- .../data/features/ambient-light.js | 2 +- .../caniuse-lite/data/features/apng.js | 2 +- .../data/features/array-find-index.js | 2 +- .../caniuse-lite/data/features/array-find.js | 2 +- .../caniuse-lite/data/features/array-flat.js | 2 +- .../data/features/array-includes.js | 2 +- .../data/features/arrow-functions.js | 2 +- .../caniuse-lite/data/features/asmjs.js | 2 +- .../data/features/async-clipboard.js | 2 +- .../data/features/async-functions.js | 2 +- .../caniuse-lite/data/features/atob-btoa.js | 2 +- .../caniuse-lite/data/features/audio-api.js | 2 +- .../caniuse-lite/data/features/audio.js | 2 +- .../caniuse-lite/data/features/audiotracks.js | 2 +- .../caniuse-lite/data/features/autofocus.js | 2 +- .../caniuse-lite/data/features/auxclick.js | 2 +- .../caniuse-lite/data/features/av1.js | 2 +- .../caniuse-lite/data/features/avif.js | 2 +- .../data/features/background-attachment.js | 2 +- .../data/features/background-clip-text.js | 2 +- .../data/features/background-img-opts.js | 2 +- .../data/features/background-position-x-y.js | 2 +- .../features/background-repeat-round-space.js | 2 +- .../data/features/background-sync.js | 2 +- .../data/features/battery-status.js | 2 +- .../caniuse-lite/data/features/beacon.js | 2 +- .../data/features/beforeafterprint.js | 2 +- .../caniuse-lite/data/features/bigint.js | 2 +- .../caniuse-lite/data/features/blobbuilder.js | 2 +- .../caniuse-lite/data/features/bloburls.js | 2 +- .../data/features/border-image.js | 2 +- .../data/features/border-radius.js | 2 +- .../data/features/broadcastchannel.js | 2 +- .../caniuse-lite/data/features/brotli.js | 2 +- .../caniuse-lite/data/features/calc.js | 2 +- .../data/features/canvas-blending.js | 2 +- .../caniuse-lite/data/features/canvas-text.js | 2 +- .../caniuse-lite/data/features/canvas.js | 2 +- .../caniuse-lite/data/features/ch-unit.js | 2 +- .../data/features/chacha20-poly1305.js | 2 +- .../data/features/channel-messaging.js | 2 +- .../data/features/childnode-remove.js | 2 +- .../caniuse-lite/data/features/classlist.js | 2 +- .../client-hints-dpr-width-viewport.js | 2 +- .../caniuse-lite/data/features/clipboard.js | 2 +- .../caniuse-lite/data/features/colr-v1.js | 1 + .../caniuse-lite/data/features/colr.js | 2 +- .../data/features/comparedocumentposition.js | 2 +- .../data/features/console-basic.js | 2 +- .../data/features/console-time.js | 2 +- .../caniuse-lite/data/features/const.js | 2 +- .../data/features/constraint-validation.js | 2 +- .../data/features/contenteditable.js | 2 +- .../data/features/contentsecuritypolicy.js | 2 +- .../data/features/contentsecuritypolicy2.js | 2 +- .../data/features/cookie-store-api.js | 2 +- .../caniuse-lite/data/features/cors.js | 2 +- .../data/features/createimagebitmap.js | 2 +- .../data/features/credential-management.js | 2 +- .../data/features/cryptography.js | 2 +- .../caniuse-lite/data/features/css-all.js | 2 +- .../data/features/css-animation.js | 2 +- .../data/features/css-any-link.js | 2 +- .../data/features/css-appearance.js | 2 +- .../data/features/css-apply-rule.js | 1 - .../data/features/css-at-counter-style.js | 2 +- .../data/features/css-autofill.js | 2 +- .../data/features/css-backdrop-filter.js | 2 +- .../data/features/css-background-offsets.js | 2 +- .../data/features/css-backgroundblendmode.js | 2 +- .../data/features/css-boxdecorationbreak.js | 2 +- .../data/features/css-boxshadow.js | 2 +- .../caniuse-lite/data/features/css-canvas.js | 2 +- .../data/features/css-caret-color.js | 2 +- .../data/features/css-cascade-layers.js | 2 +- .../data/features/css-case-insensitive.js | 2 +- .../data/features/css-clip-path.js | 2 +- .../data/features/css-color-adjust.js | 2 +- .../data/features/css-color-function.js | 2 +- .../data/features/css-conic-gradients.js | 2 +- .../data/features/css-container-queries.js | 2 +- .../features/css-container-query-units.js | 1 + .../data/features/css-containment.js | 2 +- .../data/features/css-content-visibility.js | 2 +- .../data/features/css-counters.js | 2 +- .../data/features/css-crisp-edges.js | 2 +- .../data/features/css-cross-fade.js | 2 +- .../data/features/css-default-pseudo.js | 2 +- .../data/features/css-descendant-gtgt.js | 2 +- .../data/features/css-deviceadaptation.js | 2 +- .../data/features/css-dir-pseudo.js | 2 +- .../data/features/css-display-contents.js | 2 +- .../data/features/css-element-function.js | 2 +- .../data/features/css-env-function.js | 2 +- .../data/features/css-exclusions.js | 2 +- .../data/features/css-featurequeries.js | 2 +- .../data/features/css-file-selector-button.js | 2 +- .../data/features/css-filter-function.js | 2 +- .../caniuse-lite/data/features/css-filters.js | 2 +- .../data/features/css-first-letter.js | 2 +- .../data/features/css-first-line.js | 2 +- .../caniuse-lite/data/features/css-fixed.js | 2 +- .../data/features/css-focus-visible.js | 2 +- .../data/features/css-focus-within.js | 2 +- .../data/features/css-font-palette.js | 1 + .../features/css-font-rendering-controls.js | 2 +- .../data/features/css-font-stretch.js | 2 +- .../data/features/css-gencontent.js | 2 +- .../data/features/css-gradients.js | 2 +- .../data/features/css-grid-animation.js | 1 + .../caniuse-lite/data/features/css-grid.js | 2 +- .../data/features/css-hanging-punctuation.js | 2 +- .../caniuse-lite/data/features/css-has.js | 2 +- .../data/features/css-hyphenate.js | 2 +- .../caniuse-lite/data/features/css-hyphens.js | 2 +- .../data/features/css-image-orientation.js | 2 +- .../data/features/css-image-set.js | 2 +- .../data/features/css-in-out-of-range.js | 2 +- .../data/features/css-indeterminate-pseudo.js | 2 +- .../data/features/css-initial-letter.js | 2 +- .../data/features/css-initial-value.js | 2 +- .../caniuse-lite/data/features/css-lch-lab.js | 2 +- .../data/features/css-letter-spacing.js | 2 +- .../data/features/css-line-clamp.js | 2 +- .../data/features/css-logical-props.js | 2 +- .../data/features/css-marker-pseudo.js | 2 +- .../caniuse-lite/data/features/css-masks.js | 2 +- .../data/features/css-matches-pseudo.js | 2 +- .../data/features/css-math-functions.js | 2 +- .../data/features/css-media-interaction.js | 2 +- .../data/features/css-media-resolution.js | 2 +- .../data/features/css-media-scripting.js | 2 +- .../data/features/css-mediaqueries.js | 2 +- .../data/features/css-mixblendmode.js | 2 +- .../data/features/css-motion-paths.js | 2 +- .../data/features/css-namespaces.js | 2 +- .../caniuse-lite/data/features/css-nesting.js | 2 +- .../data/features/css-not-sel-list.js | 2 +- .../data/features/css-nth-child-of.js | 2 +- .../caniuse-lite/data/features/css-opacity.js | 2 +- .../data/features/css-optional-pseudo.js | 2 +- .../data/features/css-overflow-anchor.js | 2 +- .../data/features/css-overflow-overlay.js | 2 +- .../data/features/css-overflow.js | 2 +- .../data/features/css-overscroll-behavior.js | 2 +- .../data/features/css-page-break.js | 2 +- .../data/features/css-paged-media.js | 2 +- .../data/features/css-paint-api.js | 2 +- .../data/features/css-placeholder-shown.js | 2 +- .../data/features/css-placeholder.js | 2 +- .../data/features/css-print-color-adjust.js | 1 + .../data/features/css-read-only-write.js | 2 +- .../data/features/css-rebeccapurple.js | 2 +- .../data/features/css-reflections.js | 2 +- .../caniuse-lite/data/features/css-regions.js | 2 +- .../data/features/css-repeating-gradients.js | 2 +- .../caniuse-lite/data/features/css-resize.js | 2 +- .../data/features/css-revert-value.js | 2 +- .../data/features/css-rrggbbaa.js | 2 +- .../data/features/css-scroll-behavior.js | 2 +- .../data/features/css-scroll-timeline.js | 2 +- .../data/features/css-scrollbar.js | 2 +- .../caniuse-lite/data/features/css-sel2.js | 2 +- .../caniuse-lite/data/features/css-sel3.js | 2 +- .../data/features/css-selection.js | 2 +- .../caniuse-lite/data/features/css-shapes.js | 2 +- .../data/features/css-snappoints.js | 2 +- .../caniuse-lite/data/features/css-sticky.js | 2 +- .../caniuse-lite/data/features/css-subgrid.js | 2 +- .../data/features/css-supports-api.js | 2 +- .../caniuse-lite/data/features/css-table.js | 2 +- .../data/features/css-text-align-last.js | 2 +- .../data/features/css-text-indent.js | 2 +- .../data/features/css-text-justify.js | 2 +- .../data/features/css-text-orientation.js | 2 +- .../data/features/css-text-spacing.js | 2 +- .../data/features/css-textshadow.js | 2 +- .../data/features/css-touch-action-2.js | 2 +- .../data/features/css-touch-action.js | 2 +- .../data/features/css-transitions.js | 2 +- .../data/features/css-unicode-bidi.js | 2 +- .../data/features/css-unset-value.js | 2 +- .../data/features/css-variables.js | 2 +- .../data/features/css-when-else.js | 2 +- .../data/features/css-widows-orphans.js | 2 +- .../data/features/css-width-stretch.js | 2 +- .../data/features/css-writing-mode.js | 2 +- .../caniuse-lite/data/features/css-zoom.js | 2 +- .../caniuse-lite/data/features/css3-attr.js | 2 +- .../data/features/css3-boxsizing.js | 2 +- .../caniuse-lite/data/features/css3-colors.js | 2 +- .../data/features/css3-cursors-grab.js | 2 +- .../data/features/css3-cursors-newer.js | 2 +- .../data/features/css3-cursors.js | 2 +- .../data/features/css3-tabsize.js | 2 +- .../data/features/currentcolor.js | 2 +- .../data/features/custom-elements.js | 2 +- .../data/features/custom-elementsv1.js | 2 +- .../caniuse-lite/data/features/customevent.js | 2 +- .../caniuse-lite/data/features/datalist.js | 2 +- .../caniuse-lite/data/features/dataset.js | 2 +- .../caniuse-lite/data/features/datauri.js | 2 +- .../data/features/date-tolocaledatestring.js | 2 +- .../data/features/declarative-shadow-dom.js | 1 + .../caniuse-lite/data/features/decorators.js | 2 +- .../caniuse-lite/data/features/details.js | 2 +- .../data/features/deviceorientation.js | 2 +- .../data/features/devicepixelratio.js | 2 +- .../caniuse-lite/data/features/dialog.js | 2 +- .../data/features/dispatchevent.js | 2 +- .../caniuse-lite/data/features/dnssec.js | 2 +- .../data/features/do-not-track.js | 2 +- .../data/features/document-currentscript.js | 2 +- .../data/features/document-evaluate-xpath.js | 2 +- .../data/features/document-execcommand.js | 2 +- .../data/features/document-policy.js | 2 +- .../features/document-scrollingelement.js | 2 +- .../data/features/documenthead.js | 2 +- .../data/features/dom-manip-convenience.js | 2 +- .../caniuse-lite/data/features/dom-range.js | 2 +- .../data/features/domcontentloaded.js | 2 +- .../features/domfocusin-domfocusout-events.js | 2 +- .../caniuse-lite/data/features/dommatrix.js | 2 +- .../caniuse-lite/data/features/download.js | 2 +- .../caniuse-lite/data/features/dragndrop.js | 2 +- .../data/features/element-closest.js | 2 +- .../data/features/element-from-point.js | 2 +- .../data/features/element-scroll-methods.js | 2 +- .../caniuse-lite/data/features/eme.js | 2 +- .../caniuse-lite/data/features/eot.js | 2 +- .../caniuse-lite/data/features/es5.js | 2 +- .../caniuse-lite/data/features/es6-class.js | 2 +- .../data/features/es6-generators.js | 2 +- .../features/es6-module-dynamic-import.js | 2 +- .../caniuse-lite/data/features/es6-module.js | 2 +- .../caniuse-lite/data/features/es6-number.js | 2 +- .../data/features/es6-string-includes.js | 2 +- .../caniuse-lite/data/features/es6.js | 2 +- .../caniuse-lite/data/features/eventsource.js | 2 +- .../data/features/extended-system-fonts.js | 2 +- .../data/features/feature-policy.js | 2 +- .../caniuse-lite/data/features/fetch.js | 2 +- .../data/features/fieldset-disabled.js | 2 +- .../caniuse-lite/data/features/fileapi.js | 2 +- .../caniuse-lite/data/features/filereader.js | 2 +- .../data/features/filereadersync.js | 2 +- .../caniuse-lite/data/features/filesystem.js | 2 +- .../caniuse-lite/data/features/flac.js | 2 +- .../caniuse-lite/data/features/flexbox-gap.js | 2 +- .../caniuse-lite/data/features/flexbox.js | 2 +- .../caniuse-lite/data/features/flow-root.js | 2 +- .../data/features/focusin-focusout-events.js | 2 +- .../features/focusoptions-preventscroll.js | 2 +- .../data/features/font-family-system-ui.js | 2 +- .../data/features/font-feature.js | 2 +- .../data/features/font-kerning.js | 2 +- .../data/features/font-loading.js | 2 +- .../data/features/font-metrics-overrides.js | 2 +- .../data/features/font-size-adjust.js | 2 +- .../caniuse-lite/data/features/font-smooth.js | 2 +- .../data/features/font-unicode-range.js | 2 +- .../data/features/font-variant-alternates.js | 2 +- .../data/features/font-variant-east-asian.js | 2 +- .../data/features/font-variant-numeric.js | 2 +- .../caniuse-lite/data/features/fontface.js | 2 +- .../data/features/form-attribute.js | 2 +- .../data/features/form-submit-attributes.js | 2 +- .../data/features/form-validation.js | 2 +- .../caniuse-lite/data/features/forms.js | 2 +- .../caniuse-lite/data/features/fullscreen.js | 2 +- .../caniuse-lite/data/features/gamepad.js | 2 +- .../caniuse-lite/data/features/geolocation.js | 2 +- .../data/features/getboundingclientrect.js | 2 +- .../data/features/getcomputedstyle.js | 2 +- .../data/features/getelementsbyclassname.js | 2 +- .../data/features/getrandomvalues.js | 2 +- .../caniuse-lite/data/features/gyroscope.js | 2 +- .../data/features/hardwareconcurrency.js | 2 +- .../caniuse-lite/data/features/hashchange.js | 2 +- .../caniuse-lite/data/features/heif.js | 2 +- .../caniuse-lite/data/features/hevc.js | 2 +- .../caniuse-lite/data/features/hidden.js | 2 +- .../data/features/high-resolution-time.js | 2 +- .../caniuse-lite/data/features/history.js | 2 +- .../data/features/html-media-capture.js | 2 +- .../data/features/html5semantic.js | 2 +- .../data/features/http-live-streaming.js | 2 +- .../caniuse-lite/data/features/http2.js | 2 +- .../caniuse-lite/data/features/http3.js | 2 +- .../data/features/iframe-sandbox.js | 2 +- .../data/features/iframe-seamless.js | 2 +- .../data/features/iframe-srcdoc.js | 2 +- .../data/features/imagecapture.js | 2 +- .../caniuse-lite/data/features/ime.js | 2 +- .../img-naturalwidth-naturalheight.js | 2 +- .../caniuse-lite/data/features/import-maps.js | 2 +- .../caniuse-lite/data/features/imports.js | 2 +- .../data/features/indeterminate-checkbox.js | 2 +- .../caniuse-lite/data/features/indexeddb.js | 2 +- .../caniuse-lite/data/features/indexeddb2.js | 2 +- .../data/features/inline-block.js | 2 +- .../caniuse-lite/data/features/innertext.js | 2 +- .../data/features/input-autocomplete-onoff.js | 2 +- .../caniuse-lite/data/features/input-color.js | 2 +- .../data/features/input-datetime.js | 2 +- .../data/features/input-email-tel-url.js | 2 +- .../caniuse-lite/data/features/input-event.js | 2 +- .../data/features/input-file-accept.js | 2 +- .../data/features/input-file-directory.js | 2 +- .../data/features/input-file-multiple.js | 2 +- .../data/features/input-inputmode.js | 2 +- .../data/features/input-minlength.js | 2 +- .../data/features/input-number.js | 2 +- .../data/features/input-pattern.js | 2 +- .../data/features/input-placeholder.js | 2 +- .../caniuse-lite/data/features/input-range.js | 2 +- .../data/features/input-search.js | 2 +- .../data/features/input-selection.js | 2 +- .../data/features/insert-adjacent.js | 2 +- .../data/features/insertadjacenthtml.js | 2 +- .../data/features/internationalization.js | 2 +- .../data/features/intersectionobserver-v2.js | 2 +- .../data/features/intersectionobserver.js | 2 +- .../data/features/intl-pluralrules.js | 2 +- .../data/features/intrinsic-width.js | 2 +- .../caniuse-lite/data/features/jpeg2000.js | 2 +- .../caniuse-lite/data/features/jpegxl.js | 2 +- .../caniuse-lite/data/features/jpegxr.js | 2 +- .../data/features/js-regexp-lookbehind.js | 2 +- .../caniuse-lite/data/features/json.js | 2 +- .../features/justify-content-space-evenly.js | 2 +- .../data/features/kerning-pairs-ligatures.js | 2 +- .../data/features/keyboardevent-charcode.js | 2 +- .../data/features/keyboardevent-code.js | 2 +- .../keyboardevent-getmodifierstate.js | 2 +- .../data/features/keyboardevent-key.js | 2 +- .../data/features/keyboardevent-location.js | 2 +- .../data/features/keyboardevent-which.js | 2 +- .../caniuse-lite/data/features/lazyload.js | 2 +- .../caniuse-lite/data/features/let.js | 2 +- .../data/features/link-icon-png.js | 2 +- .../data/features/link-icon-svg.js | 2 +- .../data/features/link-rel-dns-prefetch.js | 2 +- .../data/features/link-rel-modulepreload.js | 2 +- .../data/features/link-rel-preconnect.js | 2 +- .../data/features/link-rel-prefetch.js | 2 +- .../data/features/link-rel-preload.js | 2 +- .../data/features/link-rel-prerender.js | 2 +- .../data/features/loading-lazy-attr.js | 2 +- .../data/features/localecompare.js | 2 +- .../data/features/magnetometer.js | 2 +- .../data/features/matchesselector.js | 2 +- .../caniuse-lite/data/features/matchmedia.js | 2 +- .../caniuse-lite/data/features/mathml.js | 2 +- .../caniuse-lite/data/features/maxlength.js | 2 +- .../data/features/media-attribute.js | 2 +- .../data/features/media-fragments.js | 2 +- .../data/features/media-session-api.js | 2 +- .../data/features/mediacapture-fromelement.js | 2 +- .../data/features/mediarecorder.js | 2 +- .../caniuse-lite/data/features/mediasource.js | 2 +- .../caniuse-lite/data/features/menu.js | 2 +- .../data/features/meta-theme-color.js | 2 +- .../caniuse-lite/data/features/meter.js | 2 +- .../caniuse-lite/data/features/midi.js | 2 +- .../caniuse-lite/data/features/minmaxwh.js | 2 +- .../caniuse-lite/data/features/mp3.js | 2 +- .../caniuse-lite/data/features/mpeg-dash.js | 2 +- .../caniuse-lite/data/features/mpeg4.js | 2 +- .../data/features/multibackgrounds.js | 2 +- .../caniuse-lite/data/features/multicolumn.js | 2 +- .../data/features/mutation-events.js | 2 +- .../data/features/mutationobserver.js | 2 +- .../data/features/namevalue-storage.js | 2 +- .../data/features/native-filesystem-api.js | 2 +- .../caniuse-lite/data/features/nav-timing.js | 2 +- .../data/features/navigator-language.js | 2 +- .../caniuse-lite/data/features/netinfo.js | 2 +- .../data/features/notifications.js | 2 +- .../data/features/object-entries.js | 2 +- .../caniuse-lite/data/features/object-fit.js | 2 +- .../data/features/object-observe.js | 2 +- .../data/features/object-values.js | 2 +- .../caniuse-lite/data/features/objectrtc.js | 2 +- .../data/features/offline-apps.js | 2 +- .../data/features/offscreencanvas.js | 2 +- .../caniuse-lite/data/features/ogg-vorbis.js | 2 +- .../caniuse-lite/data/features/ogv.js | 2 +- .../caniuse-lite/data/features/ol-reversed.js | 2 +- .../data/features/once-event-listener.js | 2 +- .../data/features/online-status.js | 2 +- .../caniuse-lite/data/features/opus.js | 2 +- .../data/features/orientation-sensor.js | 2 +- .../caniuse-lite/data/features/outline.js | 2 +- .../data/features/pad-start-end.js | 2 +- .../data/features/page-transition-events.js | 2 +- .../data/features/pagevisibility.js | 2 +- .../data/features/passive-event-listener.js | 2 +- .../data/features/passwordrules.js | 2 +- .../caniuse-lite/data/features/path2d.js | 2 +- .../data/features/payment-request.js | 2 +- .../caniuse-lite/data/features/pdf-viewer.js | 2 +- .../data/features/permissions-api.js | 2 +- .../data/features/permissions-policy.js | 2 +- .../data/features/picture-in-picture.js | 2 +- .../caniuse-lite/data/features/picture.js | 2 +- .../caniuse-lite/data/features/ping.js | 2 +- .../caniuse-lite/data/features/png-alpha.js | 2 +- .../data/features/pointer-events.js | 2 +- .../caniuse-lite/data/features/pointer.js | 2 +- .../caniuse-lite/data/features/pointerlock.js | 2 +- .../caniuse-lite/data/features/portals.js | 2 +- .../data/features/prefers-color-scheme.js | 2 +- .../data/features/prefers-reduced-motion.js | 2 +- .../data/features/private-class-fields.js | 2 +- .../features/private-methods-and-accessors.js | 2 +- .../caniuse-lite/data/features/progress.js | 2 +- .../data/features/promise-finally.js | 2 +- .../caniuse-lite/data/features/promises.js | 2 +- .../caniuse-lite/data/features/proximity.js | 2 +- .../caniuse-lite/data/features/proxy.js | 2 +- .../data/features/public-class-fields.js | 2 +- .../data/features/publickeypinning.js | 2 +- .../caniuse-lite/data/features/push-api.js | 2 +- .../data/features/queryselector.js | 2 +- .../data/features/readonly-attr.js | 2 +- .../data/features/referrer-policy.js | 2 +- .../data/features/registerprotocolhandler.js | 2 +- .../data/features/rel-noopener.js | 2 +- .../data/features/rel-noreferrer.js | 2 +- .../caniuse-lite/data/features/rellist.js | 2 +- .../caniuse-lite/data/features/rem.js | 2 +- .../data/features/requestanimationframe.js | 2 +- .../data/features/requestidlecallback.js | 2 +- .../data/features/resizeobserver.js | 2 +- .../data/features/resource-timing.js | 2 +- .../data/features/rest-parameters.js | 2 +- .../data/features/rtcpeerconnection.js | 2 +- .../caniuse-lite/data/features/ruby.js | 2 +- .../caniuse-lite/data/features/run-in.js | 2 +- .../features/same-site-cookie-attribute.js | 2 +- .../data/features/screen-orientation.js | 2 +- .../data/features/script-async.js | 2 +- .../data/features/script-defer.js | 2 +- .../data/features/scrollintoview.js | 2 +- .../data/features/scrollintoviewifneeded.js | 2 +- .../caniuse-lite/data/features/sdch.js | 2 +- .../data/features/selection-api.js | 2 +- .../data/features/server-timing.js | 2 +- .../data/features/serviceworkers.js | 2 +- .../data/features/setimmediate.js | 2 +- .../caniuse-lite/data/features/sha-2.js | 2 +- .../caniuse-lite/data/features/shadowdom.js | 2 +- .../caniuse-lite/data/features/shadowdomv1.js | 2 +- .../data/features/sharedarraybuffer.js | 2 +- .../data/features/sharedworkers.js | 2 +- .../caniuse-lite/data/features/sni.js | 2 +- .../caniuse-lite/data/features/spdy.js | 2 +- .../data/features/speech-recognition.js | 2 +- .../data/features/speech-synthesis.js | 2 +- .../data/features/spellcheck-attribute.js | 2 +- .../caniuse-lite/data/features/sql-storage.js | 2 +- .../caniuse-lite/data/features/srcset.js | 2 +- .../caniuse-lite/data/features/stream.js | 2 +- .../caniuse-lite/data/features/streams.js | 2 +- .../data/features/stricttransportsecurity.js | 2 +- .../data/features/style-scoped.js | 2 +- .../data/features/subresource-integrity.js | 2 +- .../caniuse-lite/data/features/svg-css.js | 2 +- .../caniuse-lite/data/features/svg-filters.js | 2 +- .../caniuse-lite/data/features/svg-fonts.js | 2 +- .../data/features/svg-fragment.js | 2 +- .../caniuse-lite/data/features/svg-html.js | 2 +- .../caniuse-lite/data/features/svg-html5.js | 2 +- .../caniuse-lite/data/features/svg-img.js | 2 +- .../caniuse-lite/data/features/svg-smil.js | 2 +- .../caniuse-lite/data/features/svg.js | 2 +- .../caniuse-lite/data/features/sxg.js | 2 +- .../data/features/tabindex-attr.js | 2 +- .../data/features/template-literals.js | 2 +- .../caniuse-lite/data/features/template.js | 2 +- .../caniuse-lite/data/features/temporal.js | 2 +- .../caniuse-lite/data/features/testfeat.js | 2 +- .../data/features/text-decoration.js | 2 +- .../data/features/text-emphasis.js | 2 +- .../data/features/text-overflow.js | 2 +- .../data/features/text-size-adjust.js | 2 +- .../caniuse-lite/data/features/text-stroke.js | 2 +- .../data/features/text-underline-offset.js | 2 +- .../caniuse-lite/data/features/textcontent.js | 2 +- .../caniuse-lite/data/features/textencoder.js | 2 +- .../caniuse-lite/data/features/tls1-1.js | 2 +- .../caniuse-lite/data/features/tls1-2.js | 2 +- .../caniuse-lite/data/features/tls1-3.js | 2 +- .../data/features/token-binding.js | 2 +- .../caniuse-lite/data/features/touch.js | 2 +- .../data/features/transforms2d.js | 2 +- .../data/features/transforms3d.js | 2 +- .../data/features/trusted-types.js | 2 +- .../caniuse-lite/data/features/ttf.js | 2 +- .../caniuse-lite/data/features/typedarrays.js | 2 +- .../caniuse-lite/data/features/u2f.js | 2 +- .../data/features/unhandledrejection.js | 2 +- .../data/features/upgradeinsecurerequests.js | 2 +- .../features/url-scroll-to-text-fragment.js | 2 +- .../caniuse-lite/data/features/url.js | 2 +- .../data/features/urlsearchparams.js | 2 +- .../caniuse-lite/data/features/use-strict.js | 2 +- .../data/features/user-select-none.js | 2 +- .../caniuse-lite/data/features/user-timing.js | 2 +- .../data/features/variable-fonts.js | 2 +- .../data/features/vector-effect.js | 2 +- .../caniuse-lite/data/features/vibration.js | 2 +- .../caniuse-lite/data/features/video.js | 2 +- .../caniuse-lite/data/features/videotracks.js | 2 +- .../data/features/viewport-unit-variants.js | 2 +- .../data/features/viewport-units.js | 2 +- .../caniuse-lite/data/features/wai-aria.js | 2 +- .../caniuse-lite/data/features/wake-lock.js | 2 +- .../caniuse-lite/data/features/wasm.js | 2 +- .../caniuse-lite/data/features/wav.js | 2 +- .../caniuse-lite/data/features/wbr-element.js | 2 +- .../data/features/web-animation.js | 2 +- .../data/features/web-app-manifest.js | 2 +- .../data/features/web-bluetooth.js | 2 +- .../caniuse-lite/data/features/web-serial.js | 2 +- .../caniuse-lite/data/features/web-share.js | 2 +- .../caniuse-lite/data/features/webauthn.js | 2 +- .../caniuse-lite/data/features/webgl.js | 2 +- .../caniuse-lite/data/features/webgl2.js | 2 +- .../caniuse-lite/data/features/webgpu.js | 2 +- .../caniuse-lite/data/features/webhid.js | 2 +- .../data/features/webkit-user-drag.js | 2 +- .../caniuse-lite/data/features/webm.js | 2 +- .../caniuse-lite/data/features/webnfc.js | 2 +- .../caniuse-lite/data/features/webp.js | 2 +- .../caniuse-lite/data/features/websockets.js | 2 +- .../caniuse-lite/data/features/webusb.js | 2 +- .../caniuse-lite/data/features/webvr.js | 2 +- .../caniuse-lite/data/features/webvtt.js | 2 +- .../caniuse-lite/data/features/webworkers.js | 2 +- .../caniuse-lite/data/features/webxr.js | 2 +- .../caniuse-lite/data/features/will-change.js | 2 +- .../caniuse-lite/data/features/woff.js | 2 +- .../caniuse-lite/data/features/woff2.js | 2 +- .../caniuse-lite/data/features/word-break.js | 2 +- .../caniuse-lite/data/features/wordwrap.js | 2 +- .../data/features/x-doc-messaging.js | 2 +- .../data/features/x-frame-options.js | 2 +- .../caniuse-lite/data/features/xhr2.js | 2 +- .../caniuse-lite/data/features/xhtml.js | 2 +- .../caniuse-lite/data/features/xhtmlsmil.js | 2 +- .../data/features/xml-serializer.js | 2 +- node_modules/caniuse-lite/data/regions/AD.js | 2 +- node_modules/caniuse-lite/data/regions/AE.js | 2 +- node_modules/caniuse-lite/data/regions/AF.js | 2 +- node_modules/caniuse-lite/data/regions/AG.js | 2 +- node_modules/caniuse-lite/data/regions/AI.js | 2 +- node_modules/caniuse-lite/data/regions/AL.js | 2 +- node_modules/caniuse-lite/data/regions/AM.js | 2 +- node_modules/caniuse-lite/data/regions/AO.js | 2 +- node_modules/caniuse-lite/data/regions/AR.js | 2 +- node_modules/caniuse-lite/data/regions/AS.js | 2 +- node_modules/caniuse-lite/data/regions/AT.js | 2 +- node_modules/caniuse-lite/data/regions/AU.js | 2 +- node_modules/caniuse-lite/data/regions/AW.js | 2 +- node_modules/caniuse-lite/data/regions/AX.js | 2 +- node_modules/caniuse-lite/data/regions/AZ.js | 2 +- node_modules/caniuse-lite/data/regions/BA.js | 2 +- node_modules/caniuse-lite/data/regions/BB.js | 2 +- node_modules/caniuse-lite/data/regions/BD.js | 2 +- node_modules/caniuse-lite/data/regions/BE.js | 2 +- node_modules/caniuse-lite/data/regions/BF.js | 2 +- node_modules/caniuse-lite/data/regions/BG.js | 2 +- node_modules/caniuse-lite/data/regions/BH.js | 2 +- node_modules/caniuse-lite/data/regions/BI.js | 2 +- node_modules/caniuse-lite/data/regions/BJ.js | 2 +- node_modules/caniuse-lite/data/regions/BM.js | 2 +- node_modules/caniuse-lite/data/regions/BN.js | 2 +- node_modules/caniuse-lite/data/regions/BO.js | 2 +- node_modules/caniuse-lite/data/regions/BR.js | 2 +- node_modules/caniuse-lite/data/regions/BS.js | 2 +- node_modules/caniuse-lite/data/regions/BT.js | 2 +- node_modules/caniuse-lite/data/regions/BW.js | 2 +- node_modules/caniuse-lite/data/regions/BY.js | 2 +- node_modules/caniuse-lite/data/regions/BZ.js | 2 +- node_modules/caniuse-lite/data/regions/CA.js | 2 +- node_modules/caniuse-lite/data/regions/CD.js | 2 +- node_modules/caniuse-lite/data/regions/CF.js | 2 +- node_modules/caniuse-lite/data/regions/CG.js | 2 +- node_modules/caniuse-lite/data/regions/CH.js | 2 +- node_modules/caniuse-lite/data/regions/CI.js | 2 +- node_modules/caniuse-lite/data/regions/CK.js | 2 +- node_modules/caniuse-lite/data/regions/CL.js | 2 +- node_modules/caniuse-lite/data/regions/CM.js | 2 +- node_modules/caniuse-lite/data/regions/CN.js | 2 +- node_modules/caniuse-lite/data/regions/CO.js | 2 +- node_modules/caniuse-lite/data/regions/CR.js | 2 +- node_modules/caniuse-lite/data/regions/CU.js | 2 +- node_modules/caniuse-lite/data/regions/CV.js | 2 +- node_modules/caniuse-lite/data/regions/CX.js | 2 +- node_modules/caniuse-lite/data/regions/CY.js | 2 +- node_modules/caniuse-lite/data/regions/CZ.js | 2 +- node_modules/caniuse-lite/data/regions/DE.js | 2 +- node_modules/caniuse-lite/data/regions/DJ.js | 2 +- node_modules/caniuse-lite/data/regions/DK.js | 2 +- node_modules/caniuse-lite/data/regions/DM.js | 2 +- node_modules/caniuse-lite/data/regions/DO.js | 2 +- node_modules/caniuse-lite/data/regions/DZ.js | 2 +- node_modules/caniuse-lite/data/regions/EC.js | 2 +- node_modules/caniuse-lite/data/regions/EE.js | 2 +- node_modules/caniuse-lite/data/regions/EG.js | 2 +- node_modules/caniuse-lite/data/regions/ER.js | 2 +- node_modules/caniuse-lite/data/regions/ES.js | 2 +- node_modules/caniuse-lite/data/regions/ET.js | 2 +- node_modules/caniuse-lite/data/regions/FI.js | 2 +- node_modules/caniuse-lite/data/regions/FJ.js | 2 +- node_modules/caniuse-lite/data/regions/FK.js | 2 +- node_modules/caniuse-lite/data/regions/FM.js | 2 +- node_modules/caniuse-lite/data/regions/FO.js | 2 +- node_modules/caniuse-lite/data/regions/FR.js | 2 +- node_modules/caniuse-lite/data/regions/GA.js | 2 +- node_modules/caniuse-lite/data/regions/GB.js | 2 +- node_modules/caniuse-lite/data/regions/GD.js | 2 +- node_modules/caniuse-lite/data/regions/GE.js | 2 +- node_modules/caniuse-lite/data/regions/GF.js | 2 +- node_modules/caniuse-lite/data/regions/GG.js | 2 +- node_modules/caniuse-lite/data/regions/GH.js | 2 +- node_modules/caniuse-lite/data/regions/GI.js | 2 +- node_modules/caniuse-lite/data/regions/GL.js | 2 +- node_modules/caniuse-lite/data/regions/GM.js | 2 +- node_modules/caniuse-lite/data/regions/GN.js | 2 +- node_modules/caniuse-lite/data/regions/GP.js | 2 +- node_modules/caniuse-lite/data/regions/GQ.js | 2 +- node_modules/caniuse-lite/data/regions/GR.js | 2 +- node_modules/caniuse-lite/data/regions/GT.js | 2 +- node_modules/caniuse-lite/data/regions/GU.js | 2 +- node_modules/caniuse-lite/data/regions/GW.js | 2 +- node_modules/caniuse-lite/data/regions/GY.js | 2 +- node_modules/caniuse-lite/data/regions/HK.js | 2 +- node_modules/caniuse-lite/data/regions/HN.js | 2 +- node_modules/caniuse-lite/data/regions/HR.js | 2 +- node_modules/caniuse-lite/data/regions/HT.js | 2 +- node_modules/caniuse-lite/data/regions/HU.js | 2 +- node_modules/caniuse-lite/data/regions/ID.js | 2 +- node_modules/caniuse-lite/data/regions/IE.js | 2 +- node_modules/caniuse-lite/data/regions/IL.js | 2 +- node_modules/caniuse-lite/data/regions/IM.js | 2 +- node_modules/caniuse-lite/data/regions/IN.js | 2 +- node_modules/caniuse-lite/data/regions/IQ.js | 2 +- node_modules/caniuse-lite/data/regions/IR.js | 2 +- node_modules/caniuse-lite/data/regions/IS.js | 2 +- node_modules/caniuse-lite/data/regions/IT.js | 2 +- node_modules/caniuse-lite/data/regions/JE.js | 2 +- node_modules/caniuse-lite/data/regions/JM.js | 2 +- node_modules/caniuse-lite/data/regions/JO.js | 2 +- node_modules/caniuse-lite/data/regions/JP.js | 2 +- node_modules/caniuse-lite/data/regions/KE.js | 2 +- node_modules/caniuse-lite/data/regions/KG.js | 2 +- node_modules/caniuse-lite/data/regions/KH.js | 2 +- node_modules/caniuse-lite/data/regions/KI.js | 2 +- node_modules/caniuse-lite/data/regions/KM.js | 2 +- node_modules/caniuse-lite/data/regions/KN.js | 2 +- node_modules/caniuse-lite/data/regions/KP.js | 2 +- node_modules/caniuse-lite/data/regions/KR.js | 2 +- node_modules/caniuse-lite/data/regions/KW.js | 2 +- node_modules/caniuse-lite/data/regions/KY.js | 2 +- node_modules/caniuse-lite/data/regions/KZ.js | 2 +- node_modules/caniuse-lite/data/regions/LA.js | 2 +- node_modules/caniuse-lite/data/regions/LB.js | 2 +- node_modules/caniuse-lite/data/regions/LC.js | 2 +- node_modules/caniuse-lite/data/regions/LI.js | 2 +- node_modules/caniuse-lite/data/regions/LK.js | 2 +- node_modules/caniuse-lite/data/regions/LR.js | 2 +- node_modules/caniuse-lite/data/regions/LS.js | 2 +- node_modules/caniuse-lite/data/regions/LT.js | 2 +- node_modules/caniuse-lite/data/regions/LU.js | 2 +- node_modules/caniuse-lite/data/regions/LV.js | 2 +- node_modules/caniuse-lite/data/regions/LY.js | 2 +- node_modules/caniuse-lite/data/regions/MA.js | 2 +- node_modules/caniuse-lite/data/regions/MC.js | 2 +- node_modules/caniuse-lite/data/regions/MD.js | 2 +- node_modules/caniuse-lite/data/regions/ME.js | 2 +- node_modules/caniuse-lite/data/regions/MG.js | 2 +- node_modules/caniuse-lite/data/regions/MH.js | 2 +- node_modules/caniuse-lite/data/regions/MK.js | 2 +- node_modules/caniuse-lite/data/regions/ML.js | 2 +- node_modules/caniuse-lite/data/regions/MM.js | 2 +- node_modules/caniuse-lite/data/regions/MN.js | 2 +- node_modules/caniuse-lite/data/regions/MO.js | 2 +- node_modules/caniuse-lite/data/regions/MP.js | 2 +- node_modules/caniuse-lite/data/regions/MQ.js | 2 +- node_modules/caniuse-lite/data/regions/MR.js | 2 +- node_modules/caniuse-lite/data/regions/MS.js | 2 +- node_modules/caniuse-lite/data/regions/MT.js | 2 +- node_modules/caniuse-lite/data/regions/MU.js | 2 +- node_modules/caniuse-lite/data/regions/MV.js | 2 +- node_modules/caniuse-lite/data/regions/MW.js | 2 +- node_modules/caniuse-lite/data/regions/MX.js | 2 +- node_modules/caniuse-lite/data/regions/MY.js | 2 +- node_modules/caniuse-lite/data/regions/MZ.js | 2 +- node_modules/caniuse-lite/data/regions/NA.js | 2 +- node_modules/caniuse-lite/data/regions/NC.js | 2 +- node_modules/caniuse-lite/data/regions/NE.js | 2 +- node_modules/caniuse-lite/data/regions/NF.js | 2 +- node_modules/caniuse-lite/data/regions/NG.js | 2 +- node_modules/caniuse-lite/data/regions/NI.js | 2 +- node_modules/caniuse-lite/data/regions/NL.js | 2 +- node_modules/caniuse-lite/data/regions/NO.js | 2 +- node_modules/caniuse-lite/data/regions/NP.js | 2 +- node_modules/caniuse-lite/data/regions/NR.js | 2 +- node_modules/caniuse-lite/data/regions/NU.js | 2 +- node_modules/caniuse-lite/data/regions/NZ.js | 2 +- node_modules/caniuse-lite/data/regions/OM.js | 2 +- node_modules/caniuse-lite/data/regions/PA.js | 2 +- node_modules/caniuse-lite/data/regions/PE.js | 2 +- node_modules/caniuse-lite/data/regions/PF.js | 2 +- node_modules/caniuse-lite/data/regions/PG.js | 2 +- node_modules/caniuse-lite/data/regions/PH.js | 2 +- node_modules/caniuse-lite/data/regions/PK.js | 2 +- node_modules/caniuse-lite/data/regions/PL.js | 2 +- node_modules/caniuse-lite/data/regions/PM.js | 2 +- node_modules/caniuse-lite/data/regions/PN.js | 2 +- node_modules/caniuse-lite/data/regions/PR.js | 2 +- node_modules/caniuse-lite/data/regions/PS.js | 2 +- node_modules/caniuse-lite/data/regions/PT.js | 2 +- node_modules/caniuse-lite/data/regions/PW.js | 2 +- node_modules/caniuse-lite/data/regions/PY.js | 2 +- node_modules/caniuse-lite/data/regions/QA.js | 2 +- node_modules/caniuse-lite/data/regions/RE.js | 2 +- node_modules/caniuse-lite/data/regions/RO.js | 2 +- node_modules/caniuse-lite/data/regions/RS.js | 2 +- node_modules/caniuse-lite/data/regions/RU.js | 2 +- node_modules/caniuse-lite/data/regions/RW.js | 2 +- node_modules/caniuse-lite/data/regions/SA.js | 2 +- node_modules/caniuse-lite/data/regions/SB.js | 2 +- node_modules/caniuse-lite/data/regions/SC.js | 2 +- node_modules/caniuse-lite/data/regions/SD.js | 2 +- node_modules/caniuse-lite/data/regions/SE.js | 2 +- node_modules/caniuse-lite/data/regions/SG.js | 2 +- node_modules/caniuse-lite/data/regions/SH.js | 2 +- node_modules/caniuse-lite/data/regions/SI.js | 2 +- node_modules/caniuse-lite/data/regions/SK.js | 2 +- node_modules/caniuse-lite/data/regions/SL.js | 2 +- node_modules/caniuse-lite/data/regions/SM.js | 2 +- node_modules/caniuse-lite/data/regions/SN.js | 2 +- node_modules/caniuse-lite/data/regions/SO.js | 2 +- node_modules/caniuse-lite/data/regions/SR.js | 2 +- node_modules/caniuse-lite/data/regions/ST.js | 2 +- node_modules/caniuse-lite/data/regions/SV.js | 2 +- node_modules/caniuse-lite/data/regions/SY.js | 2 +- node_modules/caniuse-lite/data/regions/SZ.js | 2 +- node_modules/caniuse-lite/data/regions/TC.js | 2 +- node_modules/caniuse-lite/data/regions/TD.js | 2 +- node_modules/caniuse-lite/data/regions/TG.js | 2 +- node_modules/caniuse-lite/data/regions/TH.js | 2 +- node_modules/caniuse-lite/data/regions/TJ.js | 2 +- node_modules/caniuse-lite/data/regions/TK.js | 2 +- node_modules/caniuse-lite/data/regions/TL.js | 2 +- node_modules/caniuse-lite/data/regions/TM.js | 2 +- node_modules/caniuse-lite/data/regions/TN.js | 2 +- node_modules/caniuse-lite/data/regions/TO.js | 2 +- node_modules/caniuse-lite/data/regions/TR.js | 2 +- node_modules/caniuse-lite/data/regions/TT.js | 2 +- node_modules/caniuse-lite/data/regions/TV.js | 2 +- node_modules/caniuse-lite/data/regions/TW.js | 2 +- node_modules/caniuse-lite/data/regions/TZ.js | 2 +- node_modules/caniuse-lite/data/regions/UA.js | 2 +- node_modules/caniuse-lite/data/regions/UG.js | 2 +- node_modules/caniuse-lite/data/regions/US.js | 2 +- node_modules/caniuse-lite/data/regions/UY.js | 2 +- node_modules/caniuse-lite/data/regions/UZ.js | 2 +- node_modules/caniuse-lite/data/regions/VA.js | 2 +- node_modules/caniuse-lite/data/regions/VC.js | 2 +- node_modules/caniuse-lite/data/regions/VE.js | 2 +- node_modules/caniuse-lite/data/regions/VG.js | 2 +- node_modules/caniuse-lite/data/regions/VI.js | 2 +- node_modules/caniuse-lite/data/regions/VN.js | 2 +- node_modules/caniuse-lite/data/regions/VU.js | 2 +- node_modules/caniuse-lite/data/regions/WF.js | 2 +- node_modules/caniuse-lite/data/regions/WS.js | 2 +- node_modules/caniuse-lite/data/regions/YE.js | 2 +- node_modules/caniuse-lite/data/regions/YT.js | 2 +- node_modules/caniuse-lite/data/regions/ZA.js | 2 +- node_modules/caniuse-lite/data/regions/ZM.js | 2 +- node_modules/caniuse-lite/data/regions/ZW.js | 2 +- .../caniuse-lite/data/regions/alt-af.js | 2 +- .../caniuse-lite/data/regions/alt-an.js | 2 +- .../caniuse-lite/data/regions/alt-as.js | 2 +- .../caniuse-lite/data/regions/alt-eu.js | 2 +- .../caniuse-lite/data/regions/alt-na.js | 2 +- .../caniuse-lite/data/regions/alt-oc.js | 2 +- .../caniuse-lite/data/regions/alt-sa.js | 2 +- .../caniuse-lite/data/regions/alt-ww.js | 2 +- node_modules/caniuse-lite/package.json | 16 +- node_modules/debug/README.md | 3 + node_modules/debug/package.json | 2 +- node_modules/debug/src/common.js | 2 +- .../electron-to-chromium/chromium-versions.js | 7 +- .../chromium-versions.json | 2 +- .../full-chromium-versions.js | 262 +- .../full-chromium-versions.json | 2 +- .../electron-to-chromium/full-versions.js | 196 +- .../electron-to-chromium/full-versions.json | 2 +- .../electron-to-chromium/package.json | 4 +- node_modules/electron-to-chromium/versions.js | 16 +- .../electron-to-chromium/versions.json | 2 +- node_modules/get-intrinsic/.eslintignore | 1 - node_modules/get-intrinsic/.eslintrc | 10 +- node_modules/get-intrinsic/.nycrc | 4 - node_modules/get-intrinsic/CHANGELOG.md | 27 + node_modules/get-intrinsic/README.md | 8 +- node_modules/get-intrinsic/index.js | 4 + node_modules/get-intrinsic/package.json | 34 +- .../get-intrinsic/test/GetIntrinsic.js | 36 +- node_modules/glob/common.js | 2 + node_modules/glob/glob.js | 5 +- node_modules/glob/package.json | 7 +- node_modules/glob/sync.js | 9 +- node_modules/graceful-fs/LICENSE | 2 +- node_modules/graceful-fs/graceful-fs.js | 27 +- node_modules/graceful-fs/package.json | 2 +- node_modules/graceful-fs/polyfills.js | 63 +- node_modules/has-symbols/.eslintignore | 1 - node_modules/has-symbols/.nycrc | 4 - node_modules/has-symbols/CHANGELOG.md | 17 + node_modules/has-symbols/README.md | 6 + node_modules/has-symbols/package.json | 53 +- node_modules/https-proxy-agent/dist/agent.js | 7 +- .../https-proxy-agent/dist/agent.js.map | 2 +- node_modules/https-proxy-agent/package.json | 2 +- node_modules/is-core-module/.eslintrc | 1 + node_modules/is-core-module/CHANGELOG.md | 9 + node_modules/is-core-module/core.json | 1 + node_modules/is-core-module/package.json | 20 +- node_modules/is-core-module/test/index.js | 65 +- node_modules/istanbul-reports/CHANGELOG.md | 7 + .../istanbul-reports/lib/html/annotator.js | 16 + node_modules/istanbul-reports/package.json | 2 +- .../node_modules/semver/CHANGELOG.md | 111 - .../node_modules/semver/README.md | 4 +- .../node_modules/semver/bin/semver.js | 28 +- .../node_modules/semver/classes/comparator.js | 5 +- .../node_modules/semver/classes/index.js | 2 +- .../node_modules/semver/classes/range.js | 53 +- .../node_modules/semver/classes/semver.js | 2 +- .../node_modules/semver/functions/cmp.js | 12 +- .../node_modules/semver/functions/coerce.js | 5 +- .../node_modules/semver/functions/inc.js | 5 +- .../node_modules/semver/functions/parse.js | 2 +- .../node_modules/semver/internal/constants.js | 4 +- .../semver/internal/identifiers.js | 2 +- .../semver/internal/parse-options.js | 6 +- .../node_modules/semver/internal/re.js | 6 +- .../node_modules/semver/package.json | 56 +- .../node_modules/semver/ranges/min-version.js | 3 +- .../node_modules/semver/ranges/outside.js | 2 +- .../node_modules/semver/ranges/simplify.js | 27 +- .../node_modules/semver/ranges/subset.js | 84 +- node_modules/json5/CHANGELOG.md | 362 - node_modules/json5/lib/cli.js | 90 +- node_modules/json5/package.json | 5 +- node_modules/micromatch/CHANGELOG.md | 109 - node_modules/micromatch/README.md | 21 +- node_modules/micromatch/index.js | 6 +- node_modules/micromatch/package.json | 10 +- node_modules/mime-db/HISTORY.md | 8 + node_modules/mime-db/LICENSE | 37 +- node_modules/mime-db/README.md | 2 +- node_modules/mime-db/db.json | 60 +- node_modules/mime-db/index.js | 1 + node_modules/mime-db/package.json | 9 +- node_modules/mime-types/HISTORY.md | 9 + node_modules/mime-types/README.md | 2 +- node_modules/mime-types/package.json | 10 +- node_modules/minimatch/README.md | 23 +- node_modules/minimatch/minimatch.js | 162 +- node_modules/minimatch/package.json | 9 +- .../node_modules/semver/CHANGELOG.md | 111 - .../node_modules/semver/README.md | 4 +- .../node_modules/semver/bin/semver.js | 28 +- .../node_modules/semver/classes/comparator.js | 5 +- .../node_modules/semver/classes/index.js | 2 +- .../node_modules/semver/classes/range.js | 53 +- .../node_modules/semver/classes/semver.js | 2 +- .../node_modules/semver/functions/cmp.js | 12 +- .../node_modules/semver/functions/coerce.js | 5 +- .../node_modules/semver/functions/inc.js | 5 +- .../node_modules/semver/functions/parse.js | 2 +- .../node_modules/semver/internal/constants.js | 4 +- .../semver/internal/identifiers.js | 2 +- .../semver/internal/parse-options.js | 6 +- .../node_modules/semver/internal/re.js | 6 +- .../node_modules/semver/package.json | 56 +- .../node_modules/semver/ranges/min-version.js | 3 +- .../node_modules/semver/ranges/outside.js | 2 +- .../node_modules/semver/ranges/simplify.js | 27 +- .../node_modules/semver/ranges/subset.js | 84 +- .../node-releases/data/processed/envs.json | 2 +- .../release-schedule/release-schedule.json | 2 +- node_modules/node-releases/package.json | 2 +- node_modules/nwsapi/package.json | 17 +- node_modules/nwsapi/src/nwsapi.js | 185 +- node_modules/object-inspect/.eslintignore | 1 - node_modules/object-inspect/CHANGELOG.md | 18 + node_modules/object-inspect/index.js | 13 +- .../object-inspect/package-support.json | 20 + node_modules/object-inspect/package.json | 30 +- node_modules/object-inspect/test/err.js | 6 +- node_modules/object-inspect/test/has.js | 31 +- node_modules/object-inspect/test/inspect.js | 37 + node_modules/object-inspect/test/values.js | 6 +- node_modules/qs/.editorconfig | 3 + node_modules/qs/.eslintrc | 10 +- node_modules/qs/CHANGELOG.md | 158 + node_modules/qs/README.md | 4 +- node_modules/qs/dist/qs.js | 28 +- node_modules/qs/lib/stringify.js | 15 +- node_modules/qs/package.json | 28 +- node_modules/qs/test/parse.js | 14 + node_modules/qs/test/stringify.js | 64 +- node_modules/resolve/appveyor.yml | 76 - node_modules/resolve/lib/async.js | 2 +- node_modules/resolve/lib/core.json | 1 + node_modules/resolve/lib/sync.js | 2 +- node_modules/resolve/package.json | 19 +- node_modules/resolve/test/core.js | 9 +- node_modules/resolve/test/resolver.js | 49 + .../test/resolver/false_main/index.js} | 0 .../test/resolver/false_main/package.json | 4 + node_modules/resolve/test/resolver_sync.js | 83 +- node_modules/signal-exit/index.js | 6 +- node_modules/signal-exit/package.json | 2 +- .../node_modules/yargs-parser/CHANGELOG.md | 263 - .../node_modules/yargs-parser/package.json | 87 - node_modules/typed-rest-client/Handlers.d.ts | 8 +- node_modules/typed-rest-client/Handlers.js | 20 +- .../typed-rest-client/HttpClient.d.ts | 210 +- node_modules/typed-rest-client/HttpClient.js | 1003 +- node_modules/typed-rest-client/Index.d.ts | 2 +- node_modules/typed-rest-client/Index.js | 4 +- .../typed-rest-client/Interfaces.d.ts | 148 +- node_modules/typed-rest-client/Interfaces.js | 10 +- node_modules/typed-rest-client/LICENSE | 78 +- node_modules/typed-rest-client/README.md | 218 +- .../typed-rest-client/RestClient.d.ts | 156 +- node_modules/typed-rest-client/RestClient.js | 434 +- .../typed-rest-client/ThirdPartyNotice.txt | 2636 +- node_modules/typed-rest-client/Util.d.ts | 74 +- node_modules/typed-rest-client/Util.js | 284 +- .../handlers/basiccreds.d.ts | 22 +- .../typed-rest-client/handlers/basiccreds.js | 62 +- .../handlers/bearertoken.d.ts | 20 +- .../typed-rest-client/handlers/bearertoken.js | 60 +- .../typed-rest-client/handlers/ntlm.d.ts | 26 +- .../typed-rest-client/handlers/ntlm.js | 274 +- .../handlers/personalaccesstoken.d.ts | 20 +- .../handlers/personalaccesstoken.js | 60 +- .../opensource/Node-SMB/README.md | 10 +- .../opensource/Node-SMB/lib/common.js | 122 +- .../opensource/Node-SMB/lib/ntlm.js | 440 +- .../opensource/Node-SMB/lib/smbhash.js | 128 +- node_modules/typed-rest-client/package.json | 94 +- node_modules/underscore/LICENSE | 2 +- .../underscore/amd/_collectNonEnumProps.js | 2 +- node_modules/underscore/amd/_setup.js | 6 +- node_modules/underscore/amd/isObject.js | 2 +- node_modules/underscore/amd/max.js | 4 +- node_modules/underscore/amd/min.js | 4 +- node_modules/underscore/amd/unzip.js | 2 +- .../underscore/cjs/_collectNonEnumProps.js | 2 +- node_modules/underscore/cjs/_setup.js | 6 +- node_modules/underscore/cjs/isObject.js | 2 +- node_modules/underscore/cjs/max.js | 4 +- node_modules/underscore/cjs/min.js | 4 +- node_modules/underscore/cjs/unzip.js | 2 +- node_modules/underscore/modules/.eslintrc | 11 +- .../modules/_collectNonEnumProps.js | 2 +- node_modules/underscore/modules/_setup.js | 6 +- node_modules/underscore/modules/index.js | 4 +- node_modules/underscore/modules/isObject.js | 2 +- node_modules/underscore/modules/max.js | 4 +- node_modules/underscore/modules/min.js | 4 +- node_modules/underscore/modules/package.json | 4 +- node_modules/underscore/modules/unzip.js | 2 +- node_modules/underscore/package.json | 10 +- node_modules/underscore/underscore-esm-min.js | 6 +- .../underscore/underscore-esm-min.js.map | 2 +- node_modules/underscore/underscore-esm.js | 24 +- node_modules/underscore/underscore-esm.js.map | 2 +- node_modules/underscore/underscore-min.js | 6 +- node_modules/underscore/underscore-min.js.map | 2 +- node_modules/underscore/underscore-node-f.cjs | 24 +- .../underscore/underscore-node-f.cjs.map | 2 +- node_modules/underscore/underscore-node.cjs | 4 +- node_modules/underscore/underscore-node.mjs | 4 +- node_modules/underscore/underscore-umd-min.js | 6 +- .../underscore/underscore-umd-min.js.map | 2 +- node_modules/underscore/underscore-umd.js | 24 +- node_modules/underscore/underscore-umd.js.map | 2 +- node_modules/underscore/underscore.js | 24 +- node_modules/update-browserslist-db/LICENSE | 20 + node_modules/update-browserslist-db/README.md | 23 + node_modules/update-browserslist-db/cli.js | 41 + .../update-browserslist-db/index.d.ts | 6 + .../index.js} | 235 +- .../update-browserslist-db/package.json | 38 + .../node_modules/source-map/CHANGELOG.md | 344 - .../node_modules/source-map/README.md | 2 +- .../source-map/dist/source-map.js | 3352 +-- .../node_modules/source-map/lib/read-wasm.js | 29 +- .../source-map/lib/source-map-consumer.js | 31 +- .../node_modules/source-map/package.json | 7 +- node_modules/ws/lib/websocket.js | 51 + node_modules/ws/package.json | 2 +- node_modules/yargs-parser/CHANGELOG.md | 528 +- node_modules/yargs-parser/README.md | 215 +- .../node_modules => }/yargs-parser/browser.js | 0 .../yargs-parser/build/index.cjs | 0 .../yargs-parser/build/lib/index.js | 0 .../yargs-parser/build/lib/string-utils.js | 0 .../build/lib/tokenize-arg-string.js | 0 .../build/lib/yargs-parser-types.js | 0 .../yargs-parser/build/lib/yargs-parser.js | 0 node_modules/yargs-parser/package.json | 73 +- .../node_modules/yargs-parser/CHANGELOG.md | 601 + .../node_modules/yargs-parser/LICENSE.txt | 0 .../node_modules/yargs-parser/README.md | 215 +- .../node_modules}/yargs-parser/index.js | 0 .../yargs-parser/lib/tokenize-arg-string.js | 0 .../node_modules/yargs-parser/package.json | 46 + package-lock.json | 22480 ++++++++-------- package.json | 58 +- src/run.test.ts | 477 +- src/run.ts | 320 +- tsconfig.json | 114 +- 1492 files changed, 67053 insertions(+), 66255 deletions(-) create mode 100644 .github/workflows/prettify-code.yml create mode 100644 .prettierignore create mode 100644 .prettierrc.json create mode 100644 node_modules/@actions/core/lib/path-utils.d.ts create mode 100644 node_modules/@actions/core/lib/path-utils.js create mode 100644 node_modules/@actions/core/lib/path-utils.js.map create mode 100644 node_modules/@actions/core/lib/summary.d.ts create mode 100644 node_modules/@actions/core/lib/summary.js create mode 100644 node_modules/@actions/core/lib/summary.js.map delete mode 100644 node_modules/@actions/http-client/RELEASES.md delete mode 100644 node_modules/@actions/http-client/actions.png delete mode 100644 node_modules/@actions/http-client/auth.d.ts delete mode 100644 node_modules/@actions/http-client/auth.js delete mode 100644 node_modules/@actions/http-client/index.js delete mode 100644 node_modules/@actions/http-client/interfaces.d.ts create mode 100644 node_modules/@actions/http-client/lib/auth.d.ts create mode 100644 node_modules/@actions/http-client/lib/auth.js create mode 100644 node_modules/@actions/http-client/lib/auth.js.map rename node_modules/@actions/http-client/{ => lib}/index.d.ts (65%) create mode 100644 node_modules/@actions/http-client/lib/index.js create mode 100644 node_modules/@actions/http-client/lib/index.js.map create mode 100644 node_modules/@actions/http-client/lib/interfaces.d.ts rename node_modules/@actions/http-client/{ => lib}/interfaces.js (66%) create mode 100644 node_modules/@actions/http-client/lib/interfaces.js.map rename node_modules/@actions/http-client/{ => lib}/proxy.d.ts (100%) rename node_modules/@actions/http-client/{ => lib}/proxy.js (63%) create mode 100644 node_modules/@actions/http-client/lib/proxy.js.map create mode 100644 node_modules/@ampproject/remapping/LICENSE create mode 100644 node_modules/@ampproject/remapping/README.md create mode 100644 node_modules/@ampproject/remapping/dist/remapping.mjs create mode 100644 node_modules/@ampproject/remapping/dist/remapping.mjs.map create mode 100644 node_modules/@ampproject/remapping/dist/remapping.umd.js create mode 100644 node_modules/@ampproject/remapping/dist/remapping.umd.js.map create mode 100644 node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts create mode 100644 node_modules/@ampproject/remapping/dist/types/remapping.d.ts create mode 100644 node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts create mode 100644 node_modules/@ampproject/remapping/dist/types/source-map.d.ts create mode 100644 node_modules/@ampproject/remapping/dist/types/types.d.ts create mode 100644 node_modules/@ampproject/remapping/package.json create mode 100644 node_modules/@babel/core/lib/config/helpers/deep-array.js delete mode 100644 node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/@babel/core/node_modules/source-map/LICENSE delete mode 100644 node_modules/@babel/core/node_modules/source-map/README.md delete mode 100644 node_modules/@babel/core/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/lib/util.js delete mode 100644 node_modules/@babel/core/node_modules/source-map/package.json delete mode 100644 node_modules/@babel/core/node_modules/source-map/source-map.js delete mode 100644 node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts delete mode 100644 node_modules/@babel/core/src/transformation/util/clone-deep.ts create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/LICENSE create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/README.md create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/package.json create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts create mode 100644 node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/types.ts delete mode 100644 node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/@babel/generator/node_modules/source-map/LICENSE delete mode 100644 node_modules/@babel/generator/node_modules/source-map/README.md delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/util.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/package.json delete mode 100644 node_modules/@babel/generator/node_modules/source-map/source-map.js delete mode 100644 node_modules/@babel/helper-get-function-arity/LICENSE delete mode 100644 node_modules/@babel/helper-get-function-arity/README.md delete mode 100644 node_modules/@babel/helper-get-function-arity/lib/index.js delete mode 100644 node_modules/@babel/helper-get-function-arity/package.json create mode 100644 node_modules/@babel/helpers/lib/helpers/applyDecs.js create mode 100644 node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js create mode 100644 node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js delete mode 100644 node_modules/@babel/types/lib/builders/builder.js create mode 100644 node_modules/@babel/types/lib/builders/validateNode.js create mode 100644 node_modules/@jridgewell/gen-mapping/LICENSE create mode 100644 node_modules/@jridgewell/gen-mapping/README.md create mode 100644 node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs create mode 100644 node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map create mode 100644 node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js create mode 100644 node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map create mode 100644 node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts create mode 100644 node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts create mode 100644 node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts create mode 100644 node_modules/@jridgewell/gen-mapping/package.json create mode 100644 node_modules/@jridgewell/resolve-uri/LICENSE create mode 100644 node_modules/@jridgewell/resolve-uri/README.md create mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs create mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map create mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js create mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map create mode 100644 node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts create mode 100644 node_modules/@jridgewell/resolve-uri/package.json create mode 100644 node_modules/@jridgewell/resolve-uri/src/resolve-uri.ts create mode 100644 node_modules/@jridgewell/set-array/LICENSE create mode 100644 node_modules/@jridgewell/set-array/README.md create mode 100644 node_modules/@jridgewell/set-array/dist/set-array.mjs create mode 100644 node_modules/@jridgewell/set-array/dist/set-array.mjs.map create mode 100644 node_modules/@jridgewell/set-array/dist/set-array.umd.js create mode 100644 node_modules/@jridgewell/set-array/dist/set-array.umd.js.map create mode 100644 node_modules/@jridgewell/set-array/dist/types/set-array.d.ts create mode 100644 node_modules/@jridgewell/set-array/package.json create mode 100644 node_modules/@jridgewell/set-array/src/set-array.ts create mode 100644 node_modules/@jridgewell/sourcemap-codec/LICENSE create mode 100644 node_modules/@jridgewell/sourcemap-codec/README.md create mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs create mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map create mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js create mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map create mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts create mode 100644 node_modules/@jridgewell/sourcemap-codec/package.json create mode 100644 node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts create mode 100644 node_modules/@jridgewell/trace-mapping/LICENSE create mode 100644 node_modules/@jridgewell/trace-mapping/README.md create mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs create mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map create mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js create mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts create mode 100644 node_modules/@jridgewell/trace-mapping/package.json create mode 100644 node_modules/@jridgewell/trace-mapping/src/any-map.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/binary-search.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/by-source.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/resolve.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/sort.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/strip-filename.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts create mode 100644 node_modules/@jridgewell/trace-mapping/src/types.ts create mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2021.intl.d.ts create mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.array.d.ts create mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.d.ts create mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.error.d.ts create mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.full.d.ts create mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.object.d.ts create mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.string.d.ts delete mode 100644 node_modules/abab/CHANGELOG.md create mode 100644 node_modules/browserslist/parse.js create mode 100644 node_modules/caniuse-lite/data/features/colr-v1.js delete mode 100644 node_modules/caniuse-lite/data/features/css-apply-rule.js create mode 100644 node_modules/caniuse-lite/data/features/css-container-query-units.js create mode 100644 node_modules/caniuse-lite/data/features/css-font-palette.js create mode 100644 node_modules/caniuse-lite/data/features/css-grid-animation.js create mode 100644 node_modules/caniuse-lite/data/features/css-print-color-adjust.js create mode 100644 node_modules/caniuse-lite/data/features/declarative-shadow-dom.js delete mode 100644 node_modules/get-intrinsic/.eslintignore delete mode 100644 node_modules/has-symbols/.eslintignore delete mode 100644 node_modules/jest-snapshot/node_modules/semver/CHANGELOG.md delete mode 100644 node_modules/json5/CHANGELOG.md delete mode 100644 node_modules/micromatch/CHANGELOG.md delete mode 100644 node_modules/node-notifier/node_modules/semver/CHANGELOG.md delete mode 100644 node_modules/object-inspect/.eslintignore create mode 100644 node_modules/object-inspect/package-support.json delete mode 100644 node_modules/resolve/appveyor.yml rename node_modules/{@babel/types/lib/converters/Scope.js => resolve/test/resolver/false_main/index.js} (100%) create mode 100644 node_modules/resolve/test/resolver/false_main/package.json delete mode 100644 node_modules/ts-jest/node_modules/yargs-parser/CHANGELOG.md delete mode 100644 node_modules/ts-jest/node_modules/yargs-parser/package.json create mode 100644 node_modules/update-browserslist-db/LICENSE create mode 100644 node_modules/update-browserslist-db/README.md create mode 100755 node_modules/update-browserslist-db/cli.js create mode 100644 node_modules/update-browserslist-db/index.d.ts rename node_modules/{browserslist/update-db.js => update-browserslist-db/index.js} (50%) create mode 100644 node_modules/update-browserslist-db/package.json delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/CHANGELOG.md rename node_modules/{ts-jest/node_modules => }/yargs-parser/browser.js (100%) rename node_modules/{ts-jest/node_modules => }/yargs-parser/build/index.cjs (100%) rename node_modules/{ts-jest/node_modules => }/yargs-parser/build/lib/index.js (100%) rename node_modules/{ts-jest/node_modules => }/yargs-parser/build/lib/string-utils.js (100%) rename node_modules/{ts-jest/node_modules => }/yargs-parser/build/lib/tokenize-arg-string.js (100%) rename node_modules/{ts-jest/node_modules => }/yargs-parser/build/lib/yargs-parser-types.js (100%) rename node_modules/{ts-jest/node_modules => }/yargs-parser/build/lib/yargs-parser.js (100%) create mode 100644 node_modules/yargs/node_modules/yargs-parser/CHANGELOG.md rename node_modules/{ts-jest => yargs}/node_modules/yargs-parser/LICENSE.txt (100%) rename node_modules/{ts-jest => yargs}/node_modules/yargs-parser/README.md (72%) rename node_modules/{ => yargs/node_modules}/yargs-parser/index.js (100%) rename node_modules/{ => yargs/node_modules}/yargs-parser/lib/tokenize-arg-string.js (100%) create mode 100644 node_modules/yargs/node_modules/yargs-parser/package.json diff --git a/.github/ISSUE_TEMPLATE/issue--bug-report---feature-request.md b/.github/ISSUE_TEMPLATE/issue--bug-report---feature-request.md index 64308e5f..8eb2d863 100644 --- a/.github/ISSUE_TEMPLATE/issue--bug-report---feature-request.md +++ b/.github/ISSUE_TEMPLATE/issue--bug-report---feature-request.md @@ -4,7 +4,4 @@ about: Create a report to help us improve title: '' labels: need-to-triage assignees: '' - --- - - diff --git a/.github/workflows/defaultLabels.yml b/.github/workflows/defaultLabels.yml index 4404d7fe..4a366a50 100644 --- a/.github/workflows/defaultLabels.yml +++ b/.github/workflows/defaultLabels.yml @@ -2,34 +2,34 @@ name: setting-default-labels # Controls when the action will run. on: - schedule: - - cron: "0 0/3 * * *" + schedule: + - cron: '0 0/3 * * *' # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - uses: actions/stale@v3 - name: Setting issue as idle - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: "This issue is idle because it has been open for 14 days with no activity." - stale-issue-label: "idle" - days-before-stale: 14 - days-before-close: -1 - operations-per-run: 100 - exempt-issue-labels: "backlog" + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - uses: actions/stale@v3 + name: Setting issue as idle + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.' + stale-issue-label: 'idle' + days-before-stale: 14 + days-before-close: -1 + operations-per-run: 100 + exempt-issue-labels: 'backlog' - - uses: actions/stale@v3 - name: Setting PR as idle - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-pr-message: "This PR is idle because it has been open for 14 days with no activity." - stale-pr-label: "idle" - days-before-stale: 14 - days-before-close: -1 - operations-per-run: 100 + - uses: actions/stale@v3 + name: Setting PR as idle + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.' + stale-pr-label: 'idle' + days-before-stale: 14 + days-before-close: -1 + operations-per-run: 100 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index a3b1b92f..678f110f 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -1,65 +1,65 @@ -name: "Trigger Integration tests" +name: 'Trigger Integration tests' on: - pull_request: - branches: - - main - - "releases/*" + pull_request: + branches: + - main + - 'releases/*' jobs: - trigger-integration-tests: - name: Trigger Integration tests - runs-on: ubuntu-latest - env: - HELM_3_8_0: "v3.8.0" - HELM_3_7_2: "v3.7.2" - HELM_NO_V: "3.5.0" - PR_BASE_REF: ${{ github.event.pull_request.base.ref }} - steps: - - name: Check out repository - uses: actions/checkout@v2 - - name: npm install and build - id: action-npm-build - run: | - echo $PR_BASE_REF - if [[ $PR_BASE_REF != releases/* ]]; then - npm install - npm run build - fi - - name: Setup helm - uses: ./ - with: - version: ${{ env.HELM_3_8_0 }} - - name: Validate helm 3.8.0 - run: | - if [[ $(helm version) != *$HELM_3_8_0* ]]; then - echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0" - echo "HELM VERSION OUTPUT: $(helm version)" - exit 1 - else - echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY" - fi - - name: Setup helm 3.7.2 - uses: ./ - with: - version: ${{ env.HELM_3_7_2 }} - - name: Validate 3.7.2 - run: | - if [[ $(helm version) != *$HELM_3_7_2* ]]; then - echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2" - echo "HELM VERSION OUTPUT: $(helm version)" - exit 1 - else - echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY" - fi - - name: Setup helm 3.5.0 with no v in version - uses: ./ - with: - version: ${{ env.HELM_NO_V }} - - name: Validate 3.5.0 without v in version - run: | - if [[ $(helm version) != *$HELM_NO_V* ]]; then - echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0" - echo "HELM VERSION OUTPUT: $(helm version)" - exit 1 - else - echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY" - fi + trigger-integration-tests: + name: Trigger Integration tests + runs-on: ubuntu-latest + env: + HELM_3_8_0: 'v3.8.0' + HELM_3_7_2: 'v3.7.2' + HELM_NO_V: '3.5.0' + PR_BASE_REF: ${{ github.event.pull_request.base.ref }} + steps: + - name: Check out repository + uses: actions/checkout@v2 + - name: npm install and build + id: action-npm-build + run: | + echo $PR_BASE_REF + if [[ $PR_BASE_REF != releases/* ]]; then + npm install + npm run build + fi + - name: Setup helm + uses: ./ + with: + version: ${{ env.HELM_3_8_0 }} + - name: Validate helm 3.8.0 + run: | + if [[ $(helm version) != *$HELM_3_8_0* ]]; then + echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0" + echo "HELM VERSION OUTPUT: $(helm version)" + exit 1 + else + echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY" + fi + - name: Setup helm 3.7.2 + uses: ./ + with: + version: ${{ env.HELM_3_7_2 }} + - name: Validate 3.7.2 + run: | + if [[ $(helm version) != *$HELM_3_7_2* ]]; then + echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2" + echo "HELM VERSION OUTPUT: $(helm version)" + exit 1 + else + echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY" + fi + - name: Setup helm 3.5.0 with no v in version + uses: ./ + with: + version: ${{ env.HELM_NO_V }} + - name: Validate 3.5.0 without v in version + run: | + if [[ $(helm version) != *$HELM_NO_V* ]]; then + echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0" + echo "HELM VERSION OUTPUT: $(helm version)" + exit 1 + else + echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY" + fi diff --git a/.github/workflows/prettify-code.yml b/.github/workflows/prettify-code.yml new file mode 100644 index 00000000..e595af41 --- /dev/null +++ b/.github/workflows/prettify-code.yml @@ -0,0 +1,18 @@ +name: 'Run prettify' +on: + pull_request: + push: + branches: [main] + +jobs: + prettier: + name: Prettier Check + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Enforce Prettier + uses: actionsx/prettier@v2 + with: + args: --check . diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index ed7dd03b..bf448990 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -1,14 +1,14 @@ name: Create release PR on: - workflow_dispatch: - inputs: - release: - description: "Define release version (ex: v1, v2, v3)" - required: true + workflow_dispatch: + inputs: + release: + description: 'Define release version (ex: v1, v2, v3)' + required: true jobs: - release-pr: - uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main - with: - release: ${{ github.event.inputs.release }} \ No newline at end of file + release-pr: + uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main + with: + release: ${{ github.event.inputs.release }} diff --git a/.github/workflows/tag-and-draft.yml b/.github/workflows/tag-and-draft.yml index ef653d0e..2869a150 100644 --- a/.github/workflows/tag-and-draft.yml +++ b/.github/workflows/tag-and-draft.yml @@ -1,10 +1,10 @@ name: Tag and create release draft on: - push: - branches: - - releases/* + push: + branches: + - releases/* jobs: - tag-and-release: - uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main \ No newline at end of file + tag-and-release: + uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 6a2f9a64..30afad2c 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,21 +1,21 @@ -name: "Run unit tests." +name: 'Run unit tests.' on: # rebuild any PRs and main branch changes - pull_request: - branches: - - main - - "releases/*" - push: - branches: - - main - - "releases/*" + pull_request: + branches: + - main + - 'releases/*' + push: + branches: + - main + - 'releases/*' jobs: - build: # make sure build/ci works properly - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 + build: # make sure build/ci works properly + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 - - name: Run L0 tests. - run: | - npm install - npm test + - name: Run L0 tests. + run: | + npm install + npm test diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..5d12f0ad --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +# dependencies +/node_modules +coverage +/lib \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 00000000..aca53fb3 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,8 @@ +{ + "trailingComma": "none", + "bracketSpacing": false, + "semi": false, + "tabWidth": 3, + "singleQuote": true, + "printWidth": 80 +} diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index c72a5749..d7321aa5 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,9 +1,9 @@ -# Microsoft Open Source Code of Conduct - -This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). - -Resources: - -- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) -- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) -- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns +# Microsoft Open Source Code of Conduct + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). + +Resources: + +- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) +- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 180de518..989cf9fd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -This project welcomes contributions and suggestions. Most contributions require you to agree to a +This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. diff --git a/README.md b/README.md index 10b8e144..9255b09d 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,33 @@ -# Setup Helm -Install a specific version of helm binary on the runner. -## Example - -Acceptable values are latest or any semantic version string like v3.5.0 Use this action in workflow to define which version of helm will be used. v2 of this action only supports Helm3. - -```yaml -- uses: azure/setup-helm@v1 - with: - version: '' # default is latest stable - id: install -``` - -The cached helm binary path is prepended to the PATH environment variable as well as stored in the helm-path output variable. -Refer to the action metadata file for details about all the inputs https://github.com/Azure/setup-helm/blob/master/action.yml - -# Contributing - -This project welcomes contributions and suggestions. Most contributions require you to agree to a -Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us -the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. - -When you submit a pull request, a CLA bot will automatically determine whether you need to provide -a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions -provided by the bot. You will only need to do this once across all repos using our CLA. - -This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). -For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or -contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. +# Setup Helm + +Install a specific version of helm binary on the runner. + +## Example + +Acceptable values are latest or any semantic version string like v3.5.0 Use this action in workflow to define which version of helm will be used. v2 and v3 of this action only support Helm3. + +```yaml +- uses: azure/setup-helm@v3 + with: + version: '' # default is latest (stable) + id: install +``` + +> Note: When using latest version you might hit the GitHub GraphQL API hourly rate limit of 5,000. The action will then return the hardcoded default stable version (currently v3.9.0). If you rely on a certain version higher than the default, you should use that version instead of latest. + +The cached helm binary path is prepended to the PATH environment variable as well as stored in the helm-path output variable. +Refer to the action metadata file for details about all the inputs https://github.com/Azure/setup-helm/blob/master/action.yml + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a +Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us +the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. + +When you submit a pull request, a CLA bot will automatically determine whether you need to provide +a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions +provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/SECURITY.md b/SECURITY.md index 91a1d053..729db0d5 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,41 +1,41 @@ - - -## Security - -Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [many more](https://opensource.microsoft.com/). - -If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [definition](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)) of a security vulnerability, please report it to us as described below. - -## Reporting Security Issues - -**Please do not report security vulnerabilities through public GitHub issues.** - -Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report). - -If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). - -You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). - -Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: - - * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) - * Full paths of source file(s) related to the manifestation of the issue - * The location of the affected source code (tag/branch/commit or direct URL) - * Any special configuration required to reproduce the issue - * Step-by-step instructions to reproduce the issue - * Proof-of-concept or exploit code (if possible) - * Impact of the issue, including how an attacker might exploit the issue - -This information will help us triage your report more quickly. - -If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs. - -## Preferred Languages - -We prefer all communications to be in English. - -## Policy - -Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). - - + + +## Security + +Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [many more](https://opensource.microsoft.com/). + +If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [definition]() of a security vulnerability, please report it to us as described below. + +## Reporting Security Issues + +**Please do not report security vulnerabilities through public GitHub issues.** + +Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report). + +If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). + +You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). + +Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: + +- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) +- Full paths of source file(s) related to the manifestation of the issue +- The location of the affected source code (tag/branch/commit or direct URL) +- Any special configuration required to reproduce the issue +- Step-by-step instructions to reproduce the issue +- Proof-of-concept or exploit code (if possible) +- Impact of the issue, including how an attacker might exploit the issue + +This information will help us triage your report more quickly. + +If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs. + +## Preferred Languages + +We prefer all communications to be in English. + +## Policy + +Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). + + diff --git a/action.yml b/action.yml index 8746ff0c..f6ed113e 100644 --- a/action.yml +++ b/action.yml @@ -1,15 +1,15 @@ -name: "Helm tool installer" -description: "Install a specific version of helm binary. Acceptable values are latest or any semantic version string like 1.15.0" +name: 'Helm tool installer' +description: 'Install a specific version of helm binary. Acceptable values are latest or any semantic version string like 1.15.0' inputs: - version: - description: "Version of helm" - required: true - default: "latest" + version: + description: 'Version of helm' + required: true + default: 'latest' outputs: - helm-path: - description: "Path to the cached helm binary" + helm-path: + description: 'Path to the cached helm binary' branding: - color: "blue" + color: 'blue' runs: - using: "node16" - main: "lib/index.js" + using: 'node16' + main: 'lib/index.js' diff --git a/jest.config.js b/jest.config.js index 286c3273..ae465cf2 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,18 +1,18 @@ module.exports = { - clearMocks: true, - moduleFileExtensions: ['js', 'ts'], - testEnvironment: 'node', - testMatch: ['**/*.test.ts'], - transform: { - '^.+\\.ts$': 'ts-jest' - }, - verbose: true, - coverageThreshold: { - "global": { - "branches": 0, - "functions": 14, - "lines": 27, - "statements": 27 - } - } -} \ No newline at end of file + clearMocks: true, + moduleFileExtensions: ['js', 'ts'], + testEnvironment: 'node', + testMatch: ['**/*.test.ts'], + transform: { + '^.+\\.ts$': 'ts-jest' + }, + verbose: true, + coverageThreshold: { + global: { + branches: 0, + functions: 14, + lines: 27, + statements: 27 + } + } +} diff --git a/lib/index.js b/lib/index.js index 40c4f886..18ac48c6 100644 --- a/lib/index.js +++ b/lib/index.js @@ -415,6 +415,23 @@ function getIDToken(aud) { }); } exports.getIDToken = getIDToken; +/** + * Summary exports + */ +var summary_1 = __nccwpck_require__(9029); +Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); +/** + * @deprecated use core.summary + */ +var summary_2 = __nccwpck_require__(9029); +Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); +/** + * Path exports + */ +var path_utils_1 = __nccwpck_require__(8064); +Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } })); +Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } })); +Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } })); //# sourceMappingURL=core.js.map /***/ }), @@ -484,8 +501,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OidcClient = void 0; -const http_client_1 = __nccwpck_require__(9628); -const auth_1 = __nccwpck_require__(4946); +const http_client_1 = __nccwpck_require__(2745); +const auth_1 = __nccwpck_require__(2834); const core_1 = __nccwpck_require__(6024); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { @@ -552,6 +569,361 @@ exports.OidcClient = OidcClient; /***/ }), +/***/ 8064: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; +const path = __importStar(__nccwpck_require__(1017)); +/** + * toPosixPath converts the given path to the posix form. On Windows, \\ will be + * replaced with /. + * + * @param pth. Path to transform. + * @return string Posix path. + */ +function toPosixPath(pth) { + return pth.replace(/[\\]/g, '/'); +} +exports.toPosixPath = toPosixPath; +/** + * toWin32Path converts the given path to the win32 form. On Linux, / will be + * replaced with \\. + * + * @param pth. Path to transform. + * @return string Win32 path. + */ +function toWin32Path(pth) { + return pth.replace(/[/]/g, '\\'); +} +exports.toWin32Path = toWin32Path; +/** + * toPlatformPath converts the given path to a platform-specific path. It does + * this by replacing instances of / and \ with the platform-specific path + * separator. + * + * @param pth The path to platformize. + * @return string The platform-specific path. + */ +function toPlatformPath(pth) { + return pth.replace(/[/\\]/g, path.sep); +} +exports.toPlatformPath = toPlatformPath; +//# sourceMappingURL=path-utils.js.map + +/***/ }), + +/***/ 9029: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; +const os_1 = __nccwpck_require__(2037); +const fs_1 = __nccwpck_require__(7147); +const { access, appendFile, writeFile } = fs_1.promises; +exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; +exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; +class Summary { + constructor() { + this._buffer = ''; + } + /** + * Finds the summary file path from the environment, rejects if env var is not found or file does not exist + * Also checks r/w permissions. + * + * @returns step summary file path + */ + filePath() { + return __awaiter(this, void 0, void 0, function* () { + if (this._filePath) { + return this._filePath; + } + const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR]; + if (!pathFromEnv) { + throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`); + } + try { + yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK); + } + catch (_a) { + throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`); + } + this._filePath = pathFromEnv; + return this._filePath; + }); + } + /** + * Wraps content in an HTML tag, adding any HTML attributes + * + * @param {string} tag HTML tag to wrap + * @param {string | null} content content within the tag + * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add + * + * @returns {string} content wrapped in HTML element + */ + wrap(tag, content, attrs = {}) { + const htmlAttrs = Object.entries(attrs) + .map(([key, value]) => ` ${key}="${value}"`) + .join(''); + if (!content) { + return `<${tag}${htmlAttrs}>`; + } + return `<${tag}${htmlAttrs}>${content}`; + } + /** + * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default. + * + * @param {SummaryWriteOptions} [options] (optional) options for write operation + * + * @returns {Promise} summary instance + */ + write(options) { + return __awaiter(this, void 0, void 0, function* () { + const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite); + const filePath = yield this.filePath(); + const writeFunc = overwrite ? writeFile : appendFile; + yield writeFunc(filePath, this._buffer, { encoding: 'utf8' }); + return this.emptyBuffer(); + }); + } + /** + * Clears the summary buffer and wipes the summary file + * + * @returns {Summary} summary instance + */ + clear() { + return __awaiter(this, void 0, void 0, function* () { + return this.emptyBuffer().write({ overwrite: true }); + }); + } + /** + * Returns the current summary buffer as a string + * + * @returns {string} string of summary buffer + */ + stringify() { + return this._buffer; + } + /** + * If the summary buffer is empty + * + * @returns {boolen} true if the buffer is empty + */ + isEmptyBuffer() { + return this._buffer.length === 0; + } + /** + * Resets the summary buffer without writing to summary file + * + * @returns {Summary} summary instance + */ + emptyBuffer() { + this._buffer = ''; + return this; + } + /** + * Adds raw text to the summary buffer + * + * @param {string} text content to add + * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) + * + * @returns {Summary} summary instance + */ + addRaw(text, addEOL = false) { + this._buffer += text; + return addEOL ? this.addEOL() : this; + } + /** + * Adds the operating system-specific end-of-line marker to the buffer + * + * @returns {Summary} summary instance + */ + addEOL() { + return this.addRaw(os_1.EOL); + } + /** + * Adds an HTML codeblock to the summary buffer + * + * @param {string} code content to render within fenced code block + * @param {string} lang (optional) language to syntax highlight code + * + * @returns {Summary} summary instance + */ + addCodeBlock(code, lang) { + const attrs = Object.assign({}, (lang && { lang })); + const element = this.wrap('pre', this.wrap('code', code), attrs); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML list to the summary buffer + * + * @param {string[]} items list of items to render + * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false) + * + * @returns {Summary} summary instance + */ + addList(items, ordered = false) { + const tag = ordered ? 'ol' : 'ul'; + const listItems = items.map(item => this.wrap('li', item)).join(''); + const element = this.wrap(tag, listItems); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML table to the summary buffer + * + * @param {SummaryTableCell[]} rows table rows + * + * @returns {Summary} summary instance + */ + addTable(rows) { + const tableBody = rows + .map(row => { + const cells = row + .map(cell => { + if (typeof cell === 'string') { + return this.wrap('td', cell); + } + const { header, data, colspan, rowspan } = cell; + const tag = header ? 'th' : 'td'; + const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan })); + return this.wrap(tag, data, attrs); + }) + .join(''); + return this.wrap('tr', cells); + }) + .join(''); + const element = this.wrap('table', tableBody); + return this.addRaw(element).addEOL(); + } + /** + * Adds a collapsable HTML details element to the summary buffer + * + * @param {string} label text for the closed state + * @param {string} content collapsable content + * + * @returns {Summary} summary instance + */ + addDetails(label, content) { + const element = this.wrap('details', this.wrap('summary', label) + content); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML image tag to the summary buffer + * + * @param {string} src path to the image you to embed + * @param {string} alt text description of the image + * @param {SummaryImageOptions} options (optional) addition image attributes + * + * @returns {Summary} summary instance + */ + addImage(src, alt, options) { + const { width, height } = options || {}; + const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height })); + const element = this.wrap('img', null, Object.assign({ src, alt }, attrs)); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML section heading element + * + * @param {string} text heading text + * @param {number | string} [level=1] (optional) the heading level, default: 1 + * + * @returns {Summary} summary instance + */ + addHeading(text, level) { + const tag = `h${level}`; + const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag) + ? tag + : 'h1'; + const element = this.wrap(allowedTag, text); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML thematic break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addSeparator() { + const element = this.wrap('hr', null); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML line break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addBreak() { + const element = this.wrap('br', null); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML blockquote to the summary buffer + * + * @param {string} text quote text + * @param {string} cite (optional) citation url + * + * @returns {Summary} summary instance + */ + addQuote(text, cite) { + const attrs = Object.assign({}, (cite && { cite })); + const element = this.wrap('blockquote', text, attrs); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML anchor tag to the summary buffer + * + * @param {string} text link text/content + * @param {string} href hyperlink + * + * @returns {Summary} summary instance + */ + addLink(text, href) { + const element = this.wrap('a', text, { href }); + return this.addRaw(element).addEOL(); + } +} +const _summary = new Summary(); +/** + * @deprecated use `core.summary` + */ +exports.markdownSummary = _summary; +exports.summary = _summary; +//# sourceMappingURL=summary.js.map + +/***/ }), + /***/ 7369: /***/ ((__unused_webpack_module, exports) => { @@ -1334,28 +1706,41 @@ class ExecState extends events.EventEmitter { /***/ }), -/***/ 4946: -/***/ ((__unused_webpack_module, exports) => { +/***/ 2834: +/***/ (function(__unused_webpack_module, exports) { "use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0; class BasicCredentialHandler { constructor(username, password) { this.username = username; this.password = password; } prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + - Buffer.from(this.username + ':' + this.password).toString('base64'); + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`; } // This handler cannot handle 401 - canHandleAuthentication(response) { + canHandleAuthentication() { return false; } - handleAuthentication(httpClient, requestInfo, objs) { - return null; + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); } } exports.BasicCredentialHandler = BasicCredentialHandler; @@ -1366,14 +1751,19 @@ class BearerCredentialHandler { // currently implements pre-authorization // TODO: support preAuth = false where it hooks on 401 prepareRequest(options) { - options.headers['Authorization'] = 'Bearer ' + this.token; + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Bearer ${this.token}`; } // This handler cannot handle 401 - canHandleAuthentication(response) { + canHandleAuthentication() { return false; } - handleAuthentication(httpClient, requestInfo, objs) { - return null; + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); } } exports.BearerCredentialHandler = BearerCredentialHandler; @@ -1384,32 +1774,66 @@ class PersonalAccessTokenCredentialHandler { // currently implements pre-authorization // TODO: support preAuth = false where it hooks on 401 prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64'); + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`; } // This handler cannot handle 401 - canHandleAuthentication(response) { + canHandleAuthentication() { return false; } - handleAuthentication(httpClient, requestInfo, objs) { - return null; + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); } } exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; - +//# sourceMappingURL=auth.js.map /***/ }), -/***/ 9628: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 2745: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; +/* eslint-disable @typescript-eslint/no-explicit-any */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; Object.defineProperty(exports, "__esModule", ({ value: true })); -const http = __nccwpck_require__(3685); -const https = __nccwpck_require__(5687); -const pm = __nccwpck_require__(6305); -let tunnel; +exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; +const http = __importStar(__nccwpck_require__(3685)); +const https = __importStar(__nccwpck_require__(5687)); +const pm = __importStar(__nccwpck_require__(7307)); +const tunnel = __importStar(__nccwpck_require__(9958)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -1454,7 +1878,7 @@ var MediaTypes; * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com */ function getProxyUrl(serverUrl) { - let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); + const proxyUrl = pm.getProxyUrl(new URL(serverUrl)); return proxyUrl ? proxyUrl.href : ''; } exports.getProxyUrl = getProxyUrl; @@ -1487,20 +1911,22 @@ class HttpClientResponse { this.message = message; } readBody() { - return new Promise(async (resolve, reject) => { - let output = Buffer.alloc(0); - this.message.on('data', (chunk) => { - output = Buffer.concat([output, chunk]); - }); - this.message.on('end', () => { - resolve(output.toString()); - }); + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () { + let output = Buffer.alloc(0); + this.message.on('data', (chunk) => { + output = Buffer.concat([output, chunk]); + }); + this.message.on('end', () => { + resolve(output.toString()); + }); + })); }); } } exports.HttpClientResponse = HttpClientResponse; function isHttps(requestUrl) { - let parsedUrl = new URL(requestUrl); + const parsedUrl = new URL(requestUrl); return parsedUrl.protocol === 'https:'; } exports.isHttps = isHttps; @@ -1543,141 +1969,169 @@ class HttpClient { } } options(requestUrl, additionalHeaders) { - return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + return __awaiter(this, void 0, void 0, function* () { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + }); } get(requestUrl, additionalHeaders) { - return this.request('GET', requestUrl, null, additionalHeaders || {}); + return __awaiter(this, void 0, void 0, function* () { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + }); } del(requestUrl, additionalHeaders) { - return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + return __awaiter(this, void 0, void 0, function* () { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + }); } post(requestUrl, data, additionalHeaders) { - return this.request('POST', requestUrl, data, additionalHeaders || {}); + return __awaiter(this, void 0, void 0, function* () { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + }); } patch(requestUrl, data, additionalHeaders) { - return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + return __awaiter(this, void 0, void 0, function* () { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + }); } put(requestUrl, data, additionalHeaders) { - return this.request('PUT', requestUrl, data, additionalHeaders || {}); + return __awaiter(this, void 0, void 0, function* () { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + }); } head(requestUrl, additionalHeaders) { - return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + return __awaiter(this, void 0, void 0, function* () { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + }); } sendStream(verb, requestUrl, stream, additionalHeaders) { - return this.request(verb, requestUrl, stream, additionalHeaders); + return __awaiter(this, void 0, void 0, function* () { + return this.request(verb, requestUrl, stream, additionalHeaders); + }); } /** * Gets a typed object from an endpoint * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise */ - async getJson(requestUrl, additionalHeaders = {}) { - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - let res = await this.get(requestUrl, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async postJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.post(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async putJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.put(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async patchJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.patch(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); + getJson(requestUrl, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + const res = yield this.get(requestUrl, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); } - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - async request(verb, requestUrl, data, headers) { - if (this._disposed) { - throw new Error('Client has already been disposed.'); - } - let parsedUrl = new URL(requestUrl); - let info = this._prepareRequest(verb, parsedUrl, headers); - // Only perform retries on reads since writes may not be idempotent. - let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 - ? this._maxRetries + 1 - : 1; - let numTries = 0; - let response; - while (numTries < maxTries) { - response = await this.requestRaw(info, data); - // Check if it's an authentication challenge - if (response && - response.message && - response.message.statusCode === HttpCodes.Unauthorized) { - let authenticationHandler; - for (let i = 0; i < this.handlers.length; i++) { - if (this.handlers[i].canHandleAuthentication(response)) { - authenticationHandler = this.handlers[i]; - break; - } - } - if (authenticationHandler) { - return authenticationHandler.handleAuthentication(this, info, data); - } - else { - // We have received an unauthorized response but have no handlers to handle it. - // Let the response return to the caller. - return response; - } + postJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.post(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + putJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.put(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + patchJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.patch(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + request(verb, requestUrl, data, headers) { + return __awaiter(this, void 0, void 0, function* () { + if (this._disposed) { + throw new Error('Client has already been disposed.'); } - let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && - this._allowRedirects && - redirectsRemaining > 0) { - const redirectUrl = response.message.headers['location']; - if (!redirectUrl) { - // if there's no location to redirect to, we won't - break; - } - let parsedRedirectUrl = new URL(redirectUrl); - if (parsedUrl.protocol == 'https:' && - parsedUrl.protocol != parsedRedirectUrl.protocol && - !this._allowRedirectDowngrade) { - throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); + const parsedUrl = new URL(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb) + ? this._maxRetries + 1 + : 1; + let numTries = 0; + let response; + do { + response = yield this.requestRaw(info, data); + // Check if it's an authentication challenge + if (response && + response.message && + response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (const handler of this.handlers) { + if (handler.canHandleAuthentication(response)) { + authenticationHandler = handler; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } } - // we need to finish reading the response before reassigning response - // which will leak the open socket. - await response.readBody(); - // strip authorization header if redirected to a different hostname - if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { - for (let header in headers) { - // header names are case insensitive - if (header.toLowerCase() === 'authorization') { - delete headers[header]; + let redirectsRemaining = this._maxRedirects; + while (response.message.statusCode && + HttpRedirectCodes.includes(response.message.statusCode) && + this._allowRedirects && + redirectsRemaining > 0) { + const redirectUrl = response.message.headers['location']; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + const parsedRedirectUrl = new URL(redirectUrl); + if (parsedUrl.protocol === 'https:' && + parsedUrl.protocol !== parsedRedirectUrl.protocol && + !this._allowRedirectDowngrade) { + throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + yield response.readBody(); + // strip authorization header if redirected to a different hostname + if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { + for (const header in headers) { + // header names are case insensitive + if (header.toLowerCase() === 'authorization') { + delete headers[header]; + } } } + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = yield this.requestRaw(info, data); + redirectsRemaining--; } - // let's make the request with the new redirectUrl - info = this._prepareRequest(verb, parsedRedirectUrl, headers); - response = await this.requestRaw(info, data); - redirectsRemaining--; - } - if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { - // If not a retry code, return immediately instead of retrying - return response; - } - numTries += 1; - if (numTries < maxTries) { - await response.readBody(); - await this._performExponentialBackoff(numTries); - } - } - return response; + if (!response.message.statusCode || + !HttpResponseRetryCodes.includes(response.message.statusCode)) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + yield response.readBody(); + yield this._performExponentialBackoff(numTries); + } + } while (numTries < maxTries); + return response; + }); } /** * Needs to be called if keepAlive is set to true in request options. @@ -1694,14 +2148,22 @@ class HttpClient { * @param data */ requestRaw(info, data) { - return new Promise((resolve, reject) => { - let callbackForResult = function (err, res) { - if (err) { - reject(err); + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => { + function callbackForResult(err, res) { + if (err) { + reject(err); + } + else if (!res) { + // If `err` is not passed, then `res` must be passed. + reject(new Error('Unknown error')); + } + else { + resolve(res); + } } - resolve(res); - }; - this.requestRawWithCallback(info, data, callbackForResult); + this.requestRawWithCallback(info, data, callbackForResult); + }); }); } /** @@ -1711,21 +2173,24 @@ class HttpClient { * @param onResult */ requestRawWithCallback(info, data, onResult) { - let socket; if (typeof data === 'string') { + if (!info.options.headers) { + info.options.headers = {}; + } info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); } let callbackCalled = false; - let handleResult = (err, res) => { + function handleResult(err, res) { if (!callbackCalled) { callbackCalled = true; onResult(err, res); } - }; - let req = info.httpModule.request(info.options, (msg) => { - let res = new HttpClientResponse(msg); - handleResult(null, res); + } + const req = info.httpModule.request(info.options, (msg) => { + const res = new HttpClientResponse(msg); + handleResult(undefined, res); }); + let socket; req.on('socket', sock => { socket = sock; }); @@ -1734,12 +2199,12 @@ class HttpClient { if (socket) { socket.end(); } - handleResult(new Error('Request timeout: ' + info.options.path), null); + handleResult(new Error(`Request timeout: ${info.options.path}`)); }); req.on('error', function (err) { // err has statusCode property // res should have headers - handleResult(err, null); + handleResult(err); }); if (data && typeof data === 'string') { req.write(data, 'utf8'); @@ -1760,7 +2225,7 @@ class HttpClient { * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com */ getAgent(serverUrl) { - let parsedUrl = new URL(serverUrl); + const parsedUrl = new URL(serverUrl); return this._getAgent(parsedUrl); } _prepareRequest(method, requestUrl, headers) { @@ -1784,21 +2249,19 @@ class HttpClient { info.options.agent = this._getAgent(info.parsedUrl); // gives handlers an opportunity to participate if (this.handlers) { - this.handlers.forEach(handler => { + for (const handler of this.handlers) { handler.prepareRequest(info.options); - }); + } } return info; } _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); if (this.requestOptions && this.requestOptions.headers) { - return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {})); } return lowercaseKeys(headers || {}); } _getExistingOrDefaultHeader(additionalHeaders, header, _default) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); let clientHeader; if (this.requestOptions && this.requestOptions.headers) { clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; @@ -1807,8 +2270,8 @@ class HttpClient { } _getAgent(parsedUrl) { let agent; - let proxyUrl = pm.getProxyUrl(parsedUrl); - let useProxy = proxyUrl && proxyUrl.hostname; + const proxyUrl = pm.getProxyUrl(parsedUrl); + const useProxy = proxyUrl && proxyUrl.hostname; if (this._keepAlive && useProxy) { agent = this._proxyAgent; } @@ -1816,29 +2279,22 @@ class HttpClient { agent = this._agent; } // if agent is already assigned use that agent. - if (!!agent) { + if (agent) { return agent; } const usingSsl = parsedUrl.protocol === 'https:'; let maxSockets = 100; - if (!!this.requestOptions) { + if (this.requestOptions) { maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; } - if (useProxy) { - // If using proxy, need tunnel - if (!tunnel) { - tunnel = __nccwpck_require__(9958); - } + // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis. + if (proxyUrl && proxyUrl.hostname) { const agentOptions = { - maxSockets: maxSockets, + maxSockets, keepAlive: this._keepAlive, - proxy: { - ...((proxyUrl.username || proxyUrl.password) && { - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` - }), - host: proxyUrl.hostname, - port: proxyUrl.port - } + proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && { + proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` + })), { host: proxyUrl.hostname, port: proxyUrl.port }) }; let tunnelAgent; const overHttps = proxyUrl.protocol === 'https:'; @@ -1853,7 +2309,7 @@ class HttpClient { } // if reusing agent across request and tunneling agent isn't assigned create a new agent if (this._keepAlive && !agent) { - const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; + const options = { keepAlive: this._keepAlive, maxSockets }; agent = usingSsl ? new https.Agent(options) : new http.Agent(options); this._agent = agent; } @@ -1872,109 +2328,117 @@ class HttpClient { return agent; } _performExponentialBackoff(retryNumber) { - retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise(resolve => setTimeout(() => resolve(), ms)); - } - static dateTimeDeserializer(key, value) { - if (typeof value === 'string') { - let a = new Date(value); - if (!isNaN(a.valueOf())) { - return a; - } - } - return value; + return __awaiter(this, void 0, void 0, function* () { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + }); } - async _processResponse(res, options) { - return new Promise(async (resolve, reject) => { - const statusCode = res.message.statusCode; - const response = { - statusCode: statusCode, - result: null, - headers: {} - }; - // not found leads to null obj returned - if (statusCode == HttpCodes.NotFound) { - resolve(response); - } - let obj; - let contents; - // get the result from the body - try { - contents = await res.readBody(); - if (contents && contents.length > 0) { - if (options && options.deserializeDates) { - obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); + _processResponse(res, options) { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + const statusCode = res.message.statusCode || 0; + const response = { + statusCode, + result: null, + headers: {} + }; + // not found leads to null obj returned + if (statusCode === HttpCodes.NotFound) { + resolve(response); + } + // get the result from the body + function dateTimeDeserializer(key, value) { + if (typeof value === 'string') { + const a = new Date(value); + if (!isNaN(a.valueOf())) { + return a; + } } - else { - obj = JSON.parse(contents); + return value; + } + let obj; + let contents; + try { + contents = yield res.readBody(); + if (contents && contents.length > 0) { + if (options && options.deserializeDates) { + obj = JSON.parse(contents, dateTimeDeserializer); + } + else { + obj = JSON.parse(contents); + } + response.result = obj; } - response.result = obj; + response.headers = res.message.headers; } - response.headers = res.message.headers; - } - catch (err) { - // Invalid resource (contents not json); leaving result obj null - } - // note that 3xx redirects are handled by the http layer. - if (statusCode > 299) { - let msg; - // if exception/error in body, attempt to get better error - if (obj && obj.message) { - msg = obj.message; + catch (err) { + // Invalid resource (contents not json); leaving result obj null } - else if (contents && contents.length > 0) { - // it may be the case that the exception is in the body message as string - msg = contents; + // note that 3xx redirects are handled by the http layer. + if (statusCode > 299) { + let msg; + // if exception/error in body, attempt to get better error + if (obj && obj.message) { + msg = obj.message; + } + else if (contents && contents.length > 0) { + // it may be the case that the exception is in the body message as string + msg = contents; + } + else { + msg = `Failed request: (${statusCode})`; + } + const err = new HttpClientError(msg, statusCode); + err.result = response.result; + reject(err); } else { - msg = 'Failed request: (' + statusCode + ')'; + resolve(response); } - let err = new HttpClientError(msg, statusCode); - err.result = response.result; - reject(err); - } - else { - resolve(response); - } + })); }); } } exports.HttpClient = HttpClient; - +const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); +//# sourceMappingURL=index.js.map /***/ }), -/***/ 6305: +/***/ 7307: /***/ ((__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkBypass = exports.getProxyUrl = void 0; function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === 'https:'; - let proxyUrl; + const usingSsl = reqUrl.protocol === 'https:'; if (checkBypass(reqUrl)) { - return proxyUrl; + return undefined; } - let proxyVar; - if (usingSsl) { - proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; + const proxyVar = (() => { + if (usingSsl) { + return process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + return process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + })(); + if (proxyVar) { + return new URL(proxyVar); } else { - proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; - } - if (proxyVar) { - proxyUrl = new URL(proxyVar); + return undefined; } - return proxyUrl; } exports.getProxyUrl = getProxyUrl; function checkBypass(reqUrl) { if (!reqUrl.hostname) { return false; } - let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; if (!noProxy) { return false; } @@ -1990,12 +2454,12 @@ function checkBypass(reqUrl) { reqPort = 443; } // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; + const upperReqHosts = [reqUrl.hostname.toUpperCase()]; if (typeof reqPort === 'number') { upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); } // Compare request host against noproxy - for (let upperNoProxyItem of noProxy + for (const upperNoProxyItem of noProxy .split(',') .map(x => x.trim().toUpperCase()) .filter(x => x)) { @@ -2006,7 +2470,7 @@ function checkBypass(reqUrl) { return false; } exports.checkBypass = checkBypass; - +//# sourceMappingURL=proxy.js.map /***/ }), @@ -2987,4531 +3451,9327 @@ function _evaluateVersions(versions, versionSpec) { /***/ }), -/***/ 4353: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 7509: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -var GetIntrinsic = __nccwpck_require__(4880); +Object.defineProperty(exports, "__esModule", ({ value: true })); -var callBind = __nccwpck_require__(8724); +var isPlainObject = __nccwpck_require__(987); +var universalUserAgent = __nccwpck_require__(7163); -var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); +function lowercaseKeys(object) { + if (!object) { + return {}; + } -module.exports = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = GetIntrinsic(name, !!allowMissing); - if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { - return callBind(intrinsic); - } - return intrinsic; -}; + return Object.keys(object).reduce((newObj, key) => { + newObj[key.toLowerCase()] = object[key]; + return newObj; + }, {}); +} +function mergeDeep(defaults, options) { + const result = Object.assign({}, defaults); + Object.keys(options).forEach(key => { + if (isPlainObject.isPlainObject(options[key])) { + if (!(key in defaults)) Object.assign(result, { + [key]: options[key] + });else result[key] = mergeDeep(defaults[key], options[key]); + } else { + Object.assign(result, { + [key]: options[key] + }); + } + }); + return result; +} -/***/ }), +function removeUndefinedProperties(obj) { + for (const key in obj) { + if (obj[key] === undefined) { + delete obj[key]; + } + } -/***/ 8724: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + return obj; +} -"use strict"; +function merge(defaults, route, options) { + if (typeof route === "string") { + let [method, url] = route.split(" "); + options = Object.assign(url ? { + method, + url + } : { + url: method + }, options); + } else { + options = Object.assign({}, route); + } // lowercase header names before merging with defaults to avoid duplicates -var bind = __nccwpck_require__(795); -var GetIntrinsic = __nccwpck_require__(4880); + options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging -var $apply = GetIntrinsic('%Function.prototype.apply%'); -var $call = GetIntrinsic('%Function.prototype.call%'); -var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + removeUndefinedProperties(options); + removeUndefinedProperties(options.headers); + const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten -var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); -var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); -var $max = GetIntrinsic('%Math.max%'); + if (defaults && defaults.mediaType.previews.length) { + mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews); + } -if ($defineProperty) { - try { - $defineProperty({}, 'a', { value: 1 }); - } catch (e) { - // IE 8 has a broken defineProperty - $defineProperty = null; - } + mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, "")); + return mergedOptions; } -module.exports = function callBind(originalFunction) { - var func = $reflectApply(bind, $call, arguments); - if ($gOPD && $defineProperty) { - var desc = $gOPD(func, 'length'); - if (desc.configurable) { - // original length, plus the receiver, minus any additional arguments (after the receiver) - $defineProperty( - func, - 'length', - { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } - ); - } - } - return func; -}; +function addQueryParameters(url, parameters) { + const separator = /\?/.test(url) ? "&" : "?"; + const names = Object.keys(parameters); -var applyBind = function applyBind() { - return $reflectApply(bind, $apply, arguments); -}; + if (names.length === 0) { + return url; + } -if ($defineProperty) { - $defineProperty(module.exports, 'apply', { value: applyBind }); -} else { - module.exports.apply = applyBind; -} + return url + separator + names.map(name => { + if (name === "q") { + return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); + } + return `${name}=${encodeURIComponent(parameters[name])}`; + }).join("&"); +} -/***/ }), +const urlVariableRegex = /\{[^}]+\}/g; -/***/ 3967: -/***/ ((module) => { +function removeNonChars(variableName) { + return variableName.replace(/^\W+|\W+$/g, "").split(/,/); +} -"use strict"; +function extractUrlVariableNames(url) { + const matches = url.match(urlVariableRegex); + if (!matches) { + return []; + } -/* eslint no-invalid-this: 1 */ + return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); +} -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var slice = Array.prototype.slice; -var toStr = Object.prototype.toString; -var funcType = '[object Function]'; +function omit(object, keysToOmit) { + return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => { + obj[key] = object[key]; + return obj; + }, {}); +} + +// Based on https://github.com/bramstein/url-template, licensed under BSD +// TODO: create separate package. +// +// Copyright (c) 2012-2014, Bram Stein +// All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions +// are met: +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// 3. The name of the author may not be used to endorse or promote products +// derived from this software without specific prior written permission. +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +/* istanbul ignore file */ +function encodeReserved(str) { + return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) { + if (!/%[0-9A-Fa-f]/.test(part)) { + part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); + } + + return part; + }).join(""); +} + +function encodeUnreserved(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); + }); +} -module.exports = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr.call(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); - } - var args = slice.call(arguments, 1); +function encodeValue(operator, value, key) { + value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - } else { - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - } - }; + if (key) { + return encodeUnreserved(key) + "=" + value; + } else { + return value; + } +} - var boundLength = Math.max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push('$' + i); - } +function isDefined(value) { + return value !== undefined && value !== null; +} - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); +function isKeyOperator(operator) { + return operator === ";" || operator === "&" || operator === "?"; +} - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; - } +function getValues(context, operator, key, modifier) { + var value = context[key], + result = []; - return bound; -}; + if (isDefined(value) && value !== "") { + if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { + value = value.toString(); + if (modifier && modifier !== "*") { + value = value.substring(0, parseInt(modifier, 10)); + } -/***/ }), + result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); + } else { + if (modifier === "*") { + if (Array.isArray(value)) { + value.filter(isDefined).forEach(function (value) { + result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); + }); + } else { + Object.keys(value).forEach(function (k) { + if (isDefined(value[k])) { + result.push(encodeValue(operator, value[k], k)); + } + }); + } + } else { + const tmp = []; -/***/ 795: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + if (Array.isArray(value)) { + value.filter(isDefined).forEach(function (value) { + tmp.push(encodeValue(operator, value)); + }); + } else { + Object.keys(value).forEach(function (k) { + if (isDefined(value[k])) { + tmp.push(encodeUnreserved(k)); + tmp.push(encodeValue(operator, value[k].toString())); + } + }); + } -"use strict"; + if (isKeyOperator(operator)) { + result.push(encodeUnreserved(key) + "=" + tmp.join(",")); + } else if (tmp.length !== 0) { + result.push(tmp.join(",")); + } + } + } + } else { + if (operator === ";") { + if (isDefined(value)) { + result.push(encodeUnreserved(key)); + } + } else if (value === "" && (operator === "&" || operator === "?")) { + result.push(encodeUnreserved(key) + "="); + } else if (value === "") { + result.push(""); + } + } + return result; +} -var implementation = __nccwpck_require__(3967); +function parseUrl(template) { + return { + expand: expand.bind(null, template) + }; +} -module.exports = Function.prototype.bind || implementation; +function expand(template, context) { + var operators = ["+", "#", ".", "/", ";", "?", "&"]; + return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { + if (expression) { + let operator = ""; + const values = []; + if (operators.indexOf(expression.charAt(0)) !== -1) { + operator = expression.charAt(0); + expression = expression.substr(1); + } -/***/ }), + expression.split(/,/g).forEach(function (variable) { + var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); + values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); + }); -/***/ 4880: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + if (operator && operator !== "+") { + var separator = ","; -"use strict"; + if (operator === "?") { + separator = "&"; + } else if (operator !== "#") { + separator = operator; + } + return (values.length !== 0 ? operator : "") + values.join(separator); + } else { + return values.join(","); + } + } else { + return encodeReserved(literal); + } + }); +} -var undefined; +function parse(options) { + // https://fetch.spec.whatwg.org/#methods + let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible -var $SyntaxError = SyntaxError; -var $Function = Function; -var $TypeError = TypeError; + let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); + let headers = Object.assign({}, options.headers); + let body; + let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later -// eslint-disable-next-line consistent-return -var getEvalledConstructor = function (expressionSyntax) { - try { - return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); - } catch (e) {} -}; + const urlVariableNames = extractUrlVariableNames(url); + url = parseUrl(url).expand(parameters); -var $gOPD = Object.getOwnPropertyDescriptor; -if ($gOPD) { - try { - $gOPD({}, ''); - } catch (e) { - $gOPD = null; // this is IE 8, which has a broken gOPD - } -} + if (!/^http/.test(url)) { + url = options.baseUrl + url; + } -var throwTypeError = function () { - throw new $TypeError(); -}; -var ThrowTypeError = $gOPD - ? (function () { - try { - // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties - arguments.callee; // IE 8 does not throw here - return throwTypeError; - } catch (calleeThrows) { - try { - // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') - return $gOPD(arguments, 'callee').get; - } catch (gOPDthrows) { - return throwTypeError; - } - } - }()) - : throwTypeError; + const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl"); + const remainingParameters = omit(parameters, omittedParameters); + const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); -var hasSymbols = __nccwpck_require__(407)(); + if (!isBinaryRequest) { + if (options.mediaType.format) { + // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw + headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(","); + } -var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + if (options.mediaType.previews.length) { + const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; + headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => { + const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; + return `application/vnd.github.${preview}-preview${format}`; + }).join(","); + } + } // for GET/HEAD requests, set URL query parameters from remaining parameters + // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters -var needsEval = {}; -var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); + if (["GET", "HEAD"].includes(method)) { + url = addQueryParameters(url, remainingParameters); + } else { + if ("data" in remainingParameters) { + body = remainingParameters.data; + } else { + if (Object.keys(remainingParameters).length) { + body = remainingParameters; + } else { + headers["content-length"] = 0; + } + } + } // default content-type for JSON if body is set -var INTRINSICS = { - '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, - '%Array%': Array, - '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, - '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, - '%AsyncFromSyncIteratorPrototype%': undefined, - '%AsyncFunction%': needsEval, - '%AsyncGenerator%': needsEval, - '%AsyncGeneratorFunction%': needsEval, - '%AsyncIteratorPrototype%': needsEval, - '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, - '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, - '%Boolean%': Boolean, - '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, - '%Date%': Date, - '%decodeURI%': decodeURI, - '%decodeURIComponent%': decodeURIComponent, - '%encodeURI%': encodeURI, - '%encodeURIComponent%': encodeURIComponent, - '%Error%': Error, - '%eval%': eval, // eslint-disable-line no-eval - '%EvalError%': EvalError, - '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, - '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, - '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, - '%Function%': $Function, - '%GeneratorFunction%': needsEval, - '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, - '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, - '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, - '%isFinite%': isFinite, - '%isNaN%': isNaN, - '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, - '%JSON%': typeof JSON === 'object' ? JSON : undefined, - '%Map%': typeof Map === 'undefined' ? undefined : Map, - '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), - '%Math%': Math, - '%Number%': Number, - '%Object%': Object, - '%parseFloat%': parseFloat, - '%parseInt%': parseInt, - '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, - '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, - '%RangeError%': RangeError, - '%ReferenceError%': ReferenceError, - '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, - '%RegExp%': RegExp, - '%Set%': typeof Set === 'undefined' ? undefined : Set, - '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), - '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, - '%String%': String, - '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, - '%Symbol%': hasSymbols ? Symbol : undefined, - '%SyntaxError%': $SyntaxError, - '%ThrowTypeError%': ThrowTypeError, - '%TypedArray%': TypedArray, - '%TypeError%': $TypeError, - '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, - '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, - '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, - '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, - '%URIError%': URIError, - '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, - '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, - '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet -}; -var doEval = function doEval(name) { - var value; - if (name === '%AsyncFunction%') { - value = getEvalledConstructor('async function () {}'); - } else if (name === '%GeneratorFunction%') { - value = getEvalledConstructor('function* () {}'); - } else if (name === '%AsyncGeneratorFunction%') { - value = getEvalledConstructor('async function* () {}'); - } else if (name === '%AsyncGenerator%') { - var fn = doEval('%AsyncGeneratorFunction%'); - if (fn) { - value = fn.prototype; - } - } else if (name === '%AsyncIteratorPrototype%') { - var gen = doEval('%AsyncGenerator%'); - if (gen) { - value = getProto(gen.prototype); - } - } + if (!headers["content-type"] && typeof body !== "undefined") { + headers["content-type"] = "application/json; charset=utf-8"; + } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. + // fetch does not allow to set `content-length` header, but we can set body to an empty string - INTRINSICS[name] = value; - return value; -}; + if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { + body = ""; + } // Only return body/request keys if present -var LEGACY_ALIASES = { - '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], - '%ArrayPrototype%': ['Array', 'prototype'], - '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], - '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], - '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], - '%ArrayProto_values%': ['Array', 'prototype', 'values'], - '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], - '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], - '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], - '%BooleanPrototype%': ['Boolean', 'prototype'], - '%DataViewPrototype%': ['DataView', 'prototype'], - '%DatePrototype%': ['Date', 'prototype'], - '%ErrorPrototype%': ['Error', 'prototype'], - '%EvalErrorPrototype%': ['EvalError', 'prototype'], - '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], - '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], - '%FunctionPrototype%': ['Function', 'prototype'], - '%Generator%': ['GeneratorFunction', 'prototype'], - '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], - '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], - '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], - '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], - '%JSONParse%': ['JSON', 'parse'], - '%JSONStringify%': ['JSON', 'stringify'], - '%MapPrototype%': ['Map', 'prototype'], - '%NumberPrototype%': ['Number', 'prototype'], - '%ObjectPrototype%': ['Object', 'prototype'], - '%ObjProto_toString%': ['Object', 'prototype', 'toString'], - '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], - '%PromisePrototype%': ['Promise', 'prototype'], - '%PromiseProto_then%': ['Promise', 'prototype', 'then'], - '%Promise_all%': ['Promise', 'all'], - '%Promise_reject%': ['Promise', 'reject'], - '%Promise_resolve%': ['Promise', 'resolve'], - '%RangeErrorPrototype%': ['RangeError', 'prototype'], - '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], - '%RegExpPrototype%': ['RegExp', 'prototype'], - '%SetPrototype%': ['Set', 'prototype'], - '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], - '%StringPrototype%': ['String', 'prototype'], - '%SymbolPrototype%': ['Symbol', 'prototype'], - '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], - '%TypedArrayPrototype%': ['TypedArray', 'prototype'], - '%TypeErrorPrototype%': ['TypeError', 'prototype'], - '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], - '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], - '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], - '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], - '%URIErrorPrototype%': ['URIError', 'prototype'], - '%WeakMapPrototype%': ['WeakMap', 'prototype'], - '%WeakSetPrototype%': ['WeakSet', 'prototype'] -}; -var bind = __nccwpck_require__(795); -var hasOwn = __nccwpck_require__(1122); -var $concat = bind.call(Function.call, Array.prototype.concat); -var $spliceApply = bind.call(Function.apply, Array.prototype.splice); -var $replace = bind.call(Function.call, String.prototype.replace); -var $strSlice = bind.call(Function.call, String.prototype.slice); + return Object.assign({ + method, + url, + headers + }, typeof body !== "undefined" ? { + body + } : null, options.request ? { + request: options.request + } : null); +} -/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ -var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; -var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ -var stringToPath = function stringToPath(string) { - var first = $strSlice(string, 0, 1); - var last = $strSlice(string, -1); - if (first === '%' && last !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); - } else if (last === '%' && first !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); - } - var result = []; - $replace(string, rePropName, function (match, number, quote, subString) { - result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; - }); - return result; +function endpointWithDefaults(defaults, route, options) { + return parse(merge(defaults, route, options)); +} + +function withDefaults(oldDefaults, newDefaults) { + const DEFAULTS = merge(oldDefaults, newDefaults); + const endpoint = endpointWithDefaults.bind(null, DEFAULTS); + return Object.assign(endpoint, { + DEFAULTS, + defaults: withDefaults.bind(null, DEFAULTS), + merge: merge.bind(null, DEFAULTS), + parse + }); +} + +const VERSION = "6.0.12"; + +const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. +// So we use RequestParameters and add method as additional required property. + +const DEFAULTS = { + method: "GET", + baseUrl: "https://api.github.com", + headers: { + accept: "application/vnd.github.v3+json", + "user-agent": userAgent + }, + mediaType: { + format: "", + previews: [] + } }; -/* end adaptation */ -var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var intrinsicName = name; - var alias; - if (hasOwn(LEGACY_ALIASES, intrinsicName)) { - alias = LEGACY_ALIASES[intrinsicName]; - intrinsicName = '%' + alias[0] + '%'; - } +const endpoint = withDefaults(null, DEFAULTS); - if (hasOwn(INTRINSICS, intrinsicName)) { - var value = INTRINSICS[intrinsicName]; - if (value === needsEval) { - value = doEval(intrinsicName); - } - if (typeof value === 'undefined' && !allowMissing) { - throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); - } +exports.endpoint = endpoint; +//# sourceMappingURL=index.js.map - return { - alias: alias, - name: intrinsicName, - value: value - }; - } - throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); -}; +/***/ }), -module.exports = function GetIntrinsic(name, allowMissing) { - if (typeof name !== 'string' || name.length === 0) { - throw new $TypeError('intrinsic name must be a non-empty string'); - } - if (arguments.length > 1 && typeof allowMissing !== 'boolean') { - throw new $TypeError('"allowMissing" argument must be a boolean'); - } +/***/ 1660: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - var parts = stringToPath(name); - var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; +"use strict"; - var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); - var intrinsicRealName = intrinsic.name; - var value = intrinsic.value; - var skipFurtherCaching = false; - var alias = intrinsic.alias; - if (alias) { - intrinsicBaseName = alias[0]; - $spliceApply(parts, $concat([0, 1], alias)); - } +Object.defineProperty(exports, "__esModule", ({ value: true })); - for (var i = 1, isOwn = true; i < parts.length; i += 1) { - var part = parts[i]; - var first = $strSlice(part, 0, 1); - var last = $strSlice(part, -1); - if ( - ( - (first === '"' || first === "'" || first === '`') - || (last === '"' || last === "'" || last === '`') - ) - && first !== last - ) { - throw new $SyntaxError('property names with quotes must have matching quotes'); - } - if (part === 'constructor' || !isOwn) { - skipFurtherCaching = true; - } +var request = __nccwpck_require__(2364); +var universalUserAgent = __nccwpck_require__(7163); - intrinsicBaseName += '.' + part; - intrinsicRealName = '%' + intrinsicBaseName + '%'; +const VERSION = "4.8.0"; - if (hasOwn(INTRINSICS, intrinsicRealName)) { - value = INTRINSICS[intrinsicRealName]; - } else if (value != null) { - if (!(part in value)) { - if (!allowMissing) { - throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); - } - return void undefined; - } - if ($gOPD && (i + 1) >= parts.length) { - var desc = $gOPD(value, part); - isOwn = !!desc; +function _buildMessageForResponseErrors(data) { + return `Request failed due to following response errors:\n` + data.errors.map(e => ` - ${e.message}`).join("\n"); +} - // By convention, when a data property is converted to an accessor - // property to emulate a data property that does not suffer from - // the override mistake, that accessor's getter is marked with - // an `originalValue` property. Here, when we detect this, we - // uphold the illusion by pretending to see that original data - // property, i.e., returning the value rather than the getter - // itself. - if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { - value = desc.get; - } else { - value = value[part]; - } - } else { - isOwn = hasOwn(value, part); - value = value[part]; - } +class GraphqlResponseError extends Error { + constructor(request, headers, response) { + super(_buildMessageForResponseErrors(response)); + this.request = request; + this.headers = headers; + this.response = response; + this.name = "GraphqlResponseError"; // Expose the errors and response data in their shorthand properties. - if (isOwn && !skipFurtherCaching) { - INTRINSICS[intrinsicRealName] = value; - } - } - } - return value; -}; + this.errors = response.errors; + this.data = response.data; // Maintains proper stack trace (only available on V8) + /* istanbul ignore next */ -/***/ }), + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + } -/***/ 407: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +} -"use strict"; +const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"]; +const FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; +const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; +function graphql(request, query, options) { + if (options) { + if (typeof query === "string" && "query" in options) { + return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`)); + } + for (const key in options) { + if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue; + return Promise.reject(new Error(`[@octokit/graphql] "${key}" cannot be used as variable name`)); + } + } -var origSymbol = typeof Symbol !== 'undefined' && Symbol; -var hasSymbolSham = __nccwpck_require__(853); + const parsedOptions = typeof query === "string" ? Object.assign({ + query + }, options) : query; + const requestOptions = Object.keys(parsedOptions).reduce((result, key) => { + if (NON_VARIABLE_OPTIONS.includes(key)) { + result[key] = parsedOptions[key]; + return result; + } -module.exports = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } + if (!result.variables) { + result.variables = {}; + } - return hasSymbolSham(); -}; + result.variables[key] = parsedOptions[key]; + return result; + }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix + // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 + const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; -/***/ }), + if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { + requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); + } -/***/ 853: -/***/ ((module) => { + return request(requestOptions).then(response => { + if (response.data.errors) { + const headers = {}; -"use strict"; + for (const key of Object.keys(response.headers)) { + headers[key] = response.headers[key]; + } + throw new GraphqlResponseError(requestOptions, headers, response.data); + } -/* eslint complexity: [2, 18], max-statements: [2, 33] */ -module.exports = function hasSymbols() { - if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } - if (typeof Symbol.iterator === 'symbol') { return true; } + return response.data.data; + }); +} - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - if (typeof sym === 'string') { return false; } +function withDefaults(request$1, newDefaults) { + const newRequest = request$1.defaults(newDefaults); - if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } - if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + const newApi = (query, options) => { + return graphql(newRequest, query, options); + }; - // temp disabled per https://github.com/ljharb/object.assign/issues/17 - // if (sym instanceof Symbol) { return false; } - // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 - // if (!(symObj instanceof Symbol)) { return false; } + return Object.assign(newApi, { + defaults: withDefaults.bind(null, newRequest), + endpoint: request.request.endpoint + }); +} - // if (typeof Symbol.prototype.toString !== 'function') { return false; } - // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } +const graphql$1 = withDefaults(request.request, { + headers: { + "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}` + }, + method: "POST", + url: "/graphql" +}); +function withCustomRequest(customRequest) { + return withDefaults(customRequest, { + method: "POST", + url: "/graphql" + }); +} - var symVal = 42; - obj[sym] = symVal; - for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop - if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } +exports.GraphqlResponseError = GraphqlResponseError; +exports.graphql = graphql$1; +exports.withCustomRequest = withCustomRequest; +//# sourceMappingURL=index.js.map - if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } - var syms = Object.getOwnPropertySymbols(obj); - if (syms.length !== 1 || syms[0] !== sym) { return false; } +/***/ }), - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } +/***/ 1042: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - if (typeof Object.getOwnPropertyDescriptor === 'function') { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } - } +"use strict"; - return true; -}; +Object.defineProperty(exports, "__esModule", ({ value: true })); -/***/ }), +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -/***/ 1122: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var deprecation = __nccwpck_require__(2280); +var once = _interopDefault(__nccwpck_require__(8953)); -"use strict"; +const logOnceCode = once(deprecation => console.warn(deprecation)); +const logOnceHeaders = once(deprecation => console.warn(deprecation)); +/** + * Error with extra properties to help with debugging + */ +class RequestError extends Error { + constructor(message, statusCode, options) { + super(message); // Maintains proper stack trace (only available on V8) -var bind = __nccwpck_require__(795); + /* istanbul ignore next */ -module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + this.name = "HttpError"; + this.status = statusCode; + let headers; -/***/ }), + if ("headers" in options && typeof options.headers !== "undefined") { + headers = options.headers; + } -/***/ 3343: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + if ("response" in options) { + this.response = options.response; + headers = options.response.headers; + } // redact request credentials without mutating original request options -var hasMap = typeof Map === 'function' && Map.prototype; -var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; -var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; -var mapForEach = hasMap && Map.prototype.forEach; -var hasSet = typeof Set === 'function' && Set.prototype; -var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; -var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; -var setForEach = hasSet && Set.prototype.forEach; -var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; -var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; -var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; -var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; -var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; -var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; -var booleanValueOf = Boolean.prototype.valueOf; -var objectToString = Object.prototype.toString; -var functionToString = Function.prototype.toString; -var $match = String.prototype.match; -var $slice = String.prototype.slice; -var $replace = String.prototype.replace; -var $toUpperCase = String.prototype.toUpperCase; -var $toLowerCase = String.prototype.toLowerCase; -var $test = RegExp.prototype.test; -var $concat = Array.prototype.concat; -var $join = Array.prototype.join; -var $arrSlice = Array.prototype.slice; -var $floor = Math.floor; -var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; -var gOPS = Object.getOwnPropertySymbols; -var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; -var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; -// ie, `has-tostringtag/shams -var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') - ? Symbol.toStringTag - : null; -var isEnumerable = Object.prototype.propertyIsEnumerable; -var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( - [].__proto__ === Array.prototype // eslint-disable-line no-proto - ? function (O) { - return O.__proto__; // eslint-disable-line no-proto - } - : null -); + const requestCopy = Object.assign({}, options.request); -function addNumericSeparator(num, str) { - if ( - num === Infinity - || num === -Infinity - || num !== num - || (num && num > -1000 && num < 1000) - || $test.call(/e/, str) - ) { - return str; - } - var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; - if (typeof num === 'number') { - var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) - if (int !== num) { - var intStr = String(int); - var dec = $slice.call(str, intStr.length + 1); - return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); - } + if (options.request.headers.authorization) { + requestCopy.headers = Object.assign({}, options.request.headers, { + authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]") + }); } - return $replace.call(str, sepRegex, '$&_'); + + requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit + // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications + .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended + // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header + .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); + this.request = requestCopy; // deprecations + + Object.defineProperty(this, "code", { + get() { + logOnceCode(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); + return statusCode; + } + + }); + Object.defineProperty(this, "headers", { + get() { + logOnceHeaders(new deprecation.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")); + return headers || {}; + } + + }); + } + } -var inspectCustom = (__nccwpck_require__(5038).custom); -var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null; +exports.RequestError = RequestError; +//# sourceMappingURL=index.js.map -module.exports = function inspect_(obj, options, depth, seen) { - var opts = options || {}; - if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { - throw new TypeError('option "quoteStyle" must be "single" or "double"'); - } - if ( - has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' - ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity - : opts.maxStringLength !== null - ) - ) { - throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); - } - var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; - if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { - throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); - } +/***/ }), - if ( - has(opts, 'indent') - && opts.indent !== null - && opts.indent !== '\t' - && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) - ) { - throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); - } - if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { - throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); - } - var numericSeparator = opts.numericSeparator; +/***/ 2364: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - if (typeof obj === 'undefined') { - return 'undefined'; - } - if (obj === null) { - return 'null'; - } - if (typeof obj === 'boolean') { - return obj ? 'true' : 'false'; - } +"use strict"; - if (typeof obj === 'string') { - return inspectString(obj, opts); - } - if (typeof obj === 'number') { - if (obj === 0) { - return Infinity / obj > 0 ? '0' : '-0'; - } - var str = String(obj); - return numericSeparator ? addNumericSeparator(obj, str) : str; - } - if (typeof obj === 'bigint') { - var bigIntStr = String(obj) + 'n'; - return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; - } - var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; - if (typeof depth === 'undefined') { depth = 0; } - if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { - return isArray(obj) ? '[Array]' : '[Object]'; - } +Object.defineProperty(exports, "__esModule", ({ value: true })); - var indent = getIndent(opts, depth); +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - if (typeof seen === 'undefined') { - seen = []; - } else if (indexOf(seen, obj) >= 0) { - return '[Circular]'; - } +var endpoint = __nccwpck_require__(7509); +var universalUserAgent = __nccwpck_require__(7163); +var isPlainObject = __nccwpck_require__(987); +var nodeFetch = _interopDefault(__nccwpck_require__(2460)); +var requestError = __nccwpck_require__(1042); - function inspect(value, from, noIndent) { - if (from) { - seen = $arrSlice.call(seen); - seen.push(from); - } - if (noIndent) { - var newOpts = { - depth: opts.depth - }; - if (has(opts, 'quoteStyle')) { - newOpts.quoteStyle = opts.quoteStyle; - } - return inspect_(value, newOpts, depth + 1, seen); - } - return inspect_(value, opts, depth + 1, seen); - } +const VERSION = "5.6.3"; - if (typeof obj === 'function') { - var name = nameOf(obj); - var keys = arrObjKeys(obj, inspect); - return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); - } - if (isSymbol(obj)) { - var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); - return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; - } - if (isElement(obj)) { - var s = '<' + $toLowerCase.call(String(obj.nodeName)); - var attrs = obj.attributes || []; - for (var i = 0; i < attrs.length; i++) { - s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); - } - s += '>'; - if (obj.childNodes && obj.childNodes.length) { s += '...'; } - s += ''; - return s; - } - if (isArray(obj)) { - if (obj.length === 0) { return '[]'; } - var xs = arrObjKeys(obj, inspect); - if (indent && !singleLineValues(xs)) { - return '[' + indentedJoin(xs, indent) + ']'; - } - return '[ ' + $join.call(xs, ', ') + ' ]'; - } - if (isError(obj)) { - var parts = arrObjKeys(obj, inspect); - if ('cause' in obj && !isEnumerable.call(obj, 'cause')) { - return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; - } - if (parts.length === 0) { return '[' + String(obj) + ']'; } - return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; - } - if (typeof obj === 'object' && customInspect) { - if (inspectSymbol && typeof obj[inspectSymbol] === 'function') { - return obj[inspectSymbol](); - } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { - return obj.inspect(); - } - } - if (isMap(obj)) { - var mapParts = []; - mapForEach.call(obj, function (value, key) { - mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); - }); - return collectionOf('Map', mapSize.call(obj), mapParts, indent); - } - if (isSet(obj)) { - var setParts = []; - setForEach.call(obj, function (value) { - setParts.push(inspect(value, obj)); - }); - return collectionOf('Set', setSize.call(obj), setParts, indent); - } - if (isWeakMap(obj)) { - return weakCollectionOf('WeakMap'); - } - if (isWeakSet(obj)) { - return weakCollectionOf('WeakSet'); - } - if (isWeakRef(obj)) { - return weakCollectionOf('WeakRef'); - } - if (isNumber(obj)) { - return markBoxed(inspect(Number(obj))); - } - if (isBigInt(obj)) { - return markBoxed(inspect(bigIntValueOf.call(obj))); +function getBufferResponse(response) { + return response.arrayBuffer(); +} + +function fetchWrapper(requestOptions) { + const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console; + + if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { + requestOptions.body = JSON.stringify(requestOptions.body); + } + + let headers = {}; + let status; + let url; + const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch; + return fetch(requestOptions.url, Object.assign({ + method: requestOptions.method, + body: requestOptions.body, + headers: requestOptions.headers, + redirect: requestOptions.redirect + }, // `requestOptions.request.agent` type is incompatible + // see https://github.com/octokit/types.ts/pull/264 + requestOptions.request)).then(async response => { + url = response.url; + status = response.status; + + for (const keyAndValue of response.headers) { + headers[keyAndValue[0]] = keyAndValue[1]; } - if (isBoolean(obj)) { - return markBoxed(booleanValueOf.call(obj)); + + if ("deprecation" in headers) { + const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); + const deprecationLink = matches && matches.pop(); + log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`); } - if (isString(obj)) { - return markBoxed(inspect(String(obj))); + + if (status === 204 || status === 205) { + return; + } // GitHub API returns 200 for HEAD requests + + + if (requestOptions.method === "HEAD") { + if (status < 400) { + return; + } + + throw new requestError.RequestError(response.statusText, status, { + response: { + url, + status, + headers, + data: undefined + }, + request: requestOptions + }); } - if (!isDate(obj) && !isRegExp(obj)) { - var ys = arrObjKeys(obj, inspect); - var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; - var protoTag = obj instanceof Object ? '' : 'null prototype'; - var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; - var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; - var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); - if (ys.length === 0) { return tag + '{}'; } - if (indent) { - return tag + '{' + indentedJoin(ys, indent) + '}'; - } - return tag + '{ ' + $join.call(ys, ', ') + ' }'; + + if (status === 304) { + throw new requestError.RequestError("Not modified", status, { + response: { + url, + status, + headers, + data: await getResponseData(response) + }, + request: requestOptions + }); + } + + if (status >= 400) { + const data = await getResponseData(response); + const error = new requestError.RequestError(toErrorMessage(data), status, { + response: { + url, + status, + headers, + data + }, + request: requestOptions + }); + throw error; } - return String(obj); -}; -function wrapQuotes(s, defaultStyle, opts) { - var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; - return quoteChar + s + quoteChar; + return getResponseData(response); + }).then(data => { + return { + status, + url, + headers, + data + }; + }).catch(error => { + if (error instanceof requestError.RequestError) throw error; + throw new requestError.RequestError(error.message, 500, { + request: requestOptions + }); + }); } -function quote(s) { - return $replace.call(String(s), /"/g, '"'); -} +async function getResponseData(response) { + const contentType = response.headers.get("content-type"); -function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } + if (/application\/json/.test(contentType)) { + return response.json(); + } -// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives -function isSymbol(obj) { - if (hasShammedSymbols) { - return obj && typeof obj === 'object' && obj instanceof Symbol; - } - if (typeof obj === 'symbol') { - return true; - } - if (!obj || typeof obj !== 'object' || !symToString) { - return false; - } - try { - symToString.call(obj); - return true; - } catch (e) {} - return false; + if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { + return response.text(); + } + + return getBufferResponse(response); } -function isBigInt(obj) { - if (!obj || typeof obj !== 'object' || !bigIntValueOf) { - return false; +function toErrorMessage(data) { + if (typeof data === "string") return data; // istanbul ignore else - just in case + + if ("message" in data) { + if (Array.isArray(data.errors)) { + return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; } - try { - bigIntValueOf.call(obj); - return true; - } catch (e) {} - return false; -} -var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; -function has(obj, key) { - return hasOwn.call(obj, key); -} + return data.message; + } // istanbul ignore next - just in case -function toStr(obj) { - return objectToString.call(obj); -} -function nameOf(f) { - if (f.name) { return f.name; } - var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); - if (m) { return m[1]; } - return null; + return `Unknown error: ${JSON.stringify(data)}`; } -function indexOf(xs, x) { - if (xs.indexOf) { return xs.indexOf(x); } - for (var i = 0, l = xs.length; i < l; i++) { - if (xs[i] === x) { return i; } +function withDefaults(oldEndpoint, newDefaults) { + const endpoint = oldEndpoint.defaults(newDefaults); + + const newApi = function (route, parameters) { + const endpointOptions = endpoint.merge(route, parameters); + + if (!endpointOptions.request || !endpointOptions.request.hook) { + return fetchWrapper(endpoint.parse(endpointOptions)); } - return -1; + + const request = (route, parameters) => { + return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); + }; + + Object.assign(request, { + endpoint, + defaults: withDefaults.bind(null, endpoint) + }); + return endpointOptions.request.hook(request, endpointOptions); + }; + + return Object.assign(newApi, { + endpoint, + defaults: withDefaults.bind(null, endpoint) + }); } -function isMap(x) { - if (!mapSize || !x || typeof x !== 'object') { - return false; - } - try { - mapSize.call(x); - try { - setSize.call(x); - } catch (s) { - return true; - } - return x instanceof Map; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} +const request = withDefaults(endpoint.endpoint, { + headers: { + "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}` + } +}); -function isWeakMap(x) { - if (!weakMapHas || !x || typeof x !== 'object') { - return false; - } - try { - weakMapHas.call(x, weakMapHas); - try { - weakSetHas.call(x, weakSetHas); - } catch (s) { - return true; - } - return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} +exports.request = request; +//# sourceMappingURL=index.js.map -function isWeakRef(x) { - if (!weakRefDeref || !x || typeof x !== 'object') { - return false; - } - try { - weakRefDeref.call(x); - return true; - } catch (e) {} - return false; -} -function isSet(x) { - if (!setSize || !x || typeof x !== 'object') { - return false; - } - try { - setSize.call(x); - try { - mapSize.call(x); - } catch (m) { - return true; - } - return x instanceof Set; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} +/***/ }), -function isWeakSet(x) { - if (!weakSetHas || !x || typeof x !== 'object') { - return false; - } - try { - weakSetHas.call(x, weakSetHas); - try { - weakMapHas.call(x, weakMapHas); - } catch (s) { - return true; - } - return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} +/***/ 4353: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -function isElement(x) { - if (!x || typeof x !== 'object') { return false; } - if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { - return true; - } - return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; -} +"use strict"; -function inspectString(str, opts) { - if (str.length > opts.maxStringLength) { - var remaining = str.length - opts.maxStringLength; - var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); - return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; - } - // eslint-disable-next-line no-control-regex - var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); - return wrapQuotes(s, 'single', opts); -} -function lowbyte(c) { - var n = c.charCodeAt(0); - var x = { - 8: 'b', - 9: 't', - 10: 'n', - 12: 'f', - 13: 'r' - }[n]; - if (x) { return '\\' + x; } - return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); -} +var GetIntrinsic = __nccwpck_require__(4880); -function markBoxed(str) { - return 'Object(' + str + ')'; -} +var callBind = __nccwpck_require__(8724); -function weakCollectionOf(type) { - return type + ' { ? }'; -} +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); -function collectionOf(type, size, entries, indent) { - var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); - return type + ' (' + size + ') {' + joinedEntries + '}'; -} +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; -function singleLineValues(xs) { - for (var i = 0; i < xs.length; i++) { - if (indexOf(xs[i], '\n') >= 0) { - return false; - } - } - return true; -} -function getIndent(opts, depth) { - var baseIndent; - if (opts.indent === '\t') { - baseIndent = '\t'; - } else if (typeof opts.indent === 'number' && opts.indent > 0) { - baseIndent = $join.call(Array(opts.indent + 1), ' '); - } else { - return null; - } - return { - base: baseIndent, - prev: $join.call(Array(depth + 1), baseIndent) - }; -} +/***/ }), -function indentedJoin(xs, indent) { - if (xs.length === 0) { return ''; } - var lineJoiner = '\n' + indent.prev + indent.base; - return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +/***/ 8724: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var bind = __nccwpck_require__(795); +var GetIntrinsic = __nccwpck_require__(4880); + +var $apply = GetIntrinsic('%Function.prototype.apply%'); +var $call = GetIntrinsic('%Function.prototype.call%'); +var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); +var $max = GetIntrinsic('%Math.max%'); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } } -function arrObjKeys(obj, inspect) { - var isArr = isArray(obj); - var xs = []; - if (isArr) { - xs.length = obj.length; - for (var i = 0; i < obj.length; i++) { - xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; - } - } - var syms = typeof gOPS === 'function' ? gOPS(obj) : []; - var symMap; - if (hasShammedSymbols) { - symMap = {}; - for (var k = 0; k < syms.length; k++) { - symMap['$' + syms[k]] = syms[k]; - } - } +module.exports = function callBind(originalFunction) { + var func = $reflectApply(bind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; - for (var key in obj) { // eslint-disable-line no-restricted-syntax - if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue - if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue - if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { - // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section - continue; // eslint-disable-line no-restricted-syntax, no-continue - } else if ($test.call(/[^\w$]/, key)) { - xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); - } else { - xs.push(key + ': ' + inspect(obj[key], obj)); - } - } - if (typeof gOPS === 'function') { - for (var j = 0; j < syms.length; j++) { - if (isEnumerable.call(obj, syms[j])) { - xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); - } - } - } - return xs; +var applyBind = function applyBind() { + return $reflectApply(bind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; } /***/ }), -/***/ 5038: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 2280: +/***/ ((__unused_webpack_module, exports) => { -module.exports = __nccwpck_require__(3837).inspect; +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +class Deprecation extends Error { + constructor(message) { + super(message); // Maintains proper stack trace (only available on V8) + + /* istanbul ignore next */ + + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + + this.name = 'Deprecation'; + } + +} + +exports.Deprecation = Deprecation; /***/ }), -/***/ 1466: +/***/ 3967: /***/ ((module) => { "use strict"; -var replace = String.prototype.replace; -var percentTwenties = /%20/g; +/* eslint no-invalid-this: 1 */ -var Format = { - RFC1738: 'RFC1738', - RFC3986: 'RFC3986' -}; +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; -module.exports = { - 'default': Format.RFC3986, - formatters: { - RFC1738: function (value) { - return replace.call(value, percentTwenties, '+'); - }, - RFC3986: function (value) { - return String(value); +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); } - }, - RFC1738: Format.RFC1738, - RFC3986: Format.RFC3986 + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; }; /***/ }), -/***/ 737: +/***/ 795: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; -var stringify = __nccwpck_require__(3769); -var parse = __nccwpck_require__(2061); -var formats = __nccwpck_require__(1466); +var implementation = __nccwpck_require__(3967); -module.exports = { - formats: formats, - parse: parse, - stringify: stringify -}; +module.exports = Function.prototype.bind || implementation; /***/ }), -/***/ 2061: +/***/ 4880: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; -var utils = __nccwpck_require__(3763); - -var has = Object.prototype.hasOwnProperty; -var isArray = Array.isArray; +var undefined; -var defaults = { - allowDots: false, - allowPrototypes: false, - allowSparse: false, - arrayLimit: 20, - charset: 'utf-8', - charsetSentinel: false, - comma: false, - decoder: utils.decode, - delimiter: '&', - depth: 5, - ignoreQueryPrefix: false, - interpretNumericEntities: false, - parameterLimit: 1000, - parseArrays: true, - plainObjects: false, - strictNullHandling: false -}; +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError = TypeError; -var interpretNumericEntities = function (str) { - return str.replace(/&#(\d+);/g, function ($0, numberStr) { - return String.fromCharCode(parseInt(numberStr, 10)); - }); +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} }; -var parseArrayValue = function (val, options) { - if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) { - return val.split(','); - } +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} - return val; +var throwTypeError = function () { + throw new $TypeError(); }; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; -// This is what browsers will submit when the ✓ character occurs in an -// application/x-www-form-urlencoded body and the encoding of the page containing -// the form is iso-8859-1, or when the submitted form has an accept-charset -// attribute of iso-8859-1. Presumably also with other charsets that do not contain -// the ✓ character, such as us-ascii. -var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') - -// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. -var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') +var hasSymbols = __nccwpck_require__(407)(); -var parseValues = function parseQueryStringValues(str, options) { - var obj = {}; - var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; - var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; - var parts = cleanStr.split(options.delimiter, limit); - var skipIndex = -1; // Keep track of where the utf8 sentinel was found - var i; +var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto - var charset = options.charset; - if (options.charsetSentinel) { - for (i = 0; i < parts.length; ++i) { - if (parts[i].indexOf('utf8=') === 0) { - if (parts[i] === charsetSentinel) { - charset = 'utf-8'; - } else if (parts[i] === isoSentinel) { - charset = 'iso-8859-1'; - } - skipIndex = i; - i = parts.length; // The eslint settings do not allow break; - } - } - } +var needsEval = {}; - for (i = 0; i < parts.length; ++i) { - if (i === skipIndex) { - continue; - } - var part = parts[i]; +var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); - var bracketEqualsPos = part.indexOf(']='); - var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; - var key, val; - if (pos === -1) { - key = options.decoder(part, defaults.decoder, charset, 'key'); - val = options.strictNullHandling ? null : ''; - } else { - key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); - val = utils.maybeMap( - parseArrayValue(part.slice(pos + 1), options), - function (encodedVal) { - return options.decoder(encodedVal, defaults.decoder, charset, 'value'); - } - ); - } - - if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { - val = interpretNumericEntities(val); - } - - if (part.indexOf('[]=') > -1) { - val = isArray(val) ? [val] : val; - } +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen) { + value = getProto(gen.prototype); + } + } - if (has.call(obj, key)) { - obj[key] = utils.combine(obj[key], val); - } else { - obj[key] = val; - } - } + INTRINSICS[name] = value; - return obj; + return value; }; -var parseObject = function (chain, val, options, valuesParsed) { - var leaf = valuesParsed ? val : parseArrayValue(val, options); - - for (var i = chain.length - 1; i >= 0; --i) { - var obj; - var root = chain[i]; - - if (root === '[]' && options.parseArrays) { - obj = [].concat(leaf); - } else { - obj = options.plainObjects ? Object.create(null) : {}; - var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; - var index = parseInt(cleanRoot, 10); - if (!options.parseArrays && cleanRoot === '') { - obj = { 0: leaf }; - } else if ( - !isNaN(index) - && root !== cleanRoot - && String(index) === cleanRoot - && index >= 0 - && (options.parseArrays && index <= options.arrayLimit) - ) { - obj = []; - obj[index] = leaf; - } else if (cleanRoot !== '__proto__') { - obj[cleanRoot] = leaf; - } - } +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; - leaf = obj; - } +var bind = __nccwpck_require__(795); +var hasOwn = __nccwpck_require__(1122); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); - return leaf; +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; }; +/* end adaptation */ -var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { - if (!givenKey) { - return; - } - - // Transform dot notation to bracket notation - var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } - // The regex chunks + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } - var brackets = /(\[[^[\]]*])/; - var child = /(\[[^[\]]*])/g; + return { + alias: alias, + name: intrinsicName, + value: value + }; + } - // Get the parent + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; - var segment = options.depth > 0 && brackets.exec(key); - var parent = segment ? key.slice(0, segment.index) : key; +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } - // Stash the parent if it exists + if ($exec(/^%?[^%]*%?$/g, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; - var keys = []; - if (parent) { - // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties - if (!options.plainObjects && has.call(Object.prototype, parent)) { - if (!options.allowPrototypes) { - return; - } - } + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; - keys.push(parent); - } + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } - // Loop through children appending to the array until we hit depth + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } - var i = 0; - while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { - i += 1; - if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { - if (!options.allowPrototypes) { - return; - } - } - keys.push(segment[1]); - } + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; - // If there's a remainder, just add whatever is left + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; - if (segment) { - keys.push('[' + key.slice(segment.index) + ']'); - } + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } - return parseObject(keys, val, options, valuesParsed); + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; }; -var normalizeParseOptions = function normalizeParseOptions(opts) { - if (!opts) { - return defaults; - } - if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { - throw new TypeError('Decoder has to be a function.'); - } +/***/ }), - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } - var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; +/***/ 407: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - return { - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, - allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse, - arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, - decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, - delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, - // eslint-disable-next-line no-implicit-coercion, no-extra-parens - depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, - ignoreQueryPrefix: opts.ignoreQueryPrefix === true, - interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, - parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, - parseArrays: opts.parseArrays !== false, - plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; +"use strict"; + + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = __nccwpck_require__(853); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); }; -module.exports = function (str, opts) { - var options = normalizeParseOptions(opts); - if (str === '' || str === null || typeof str === 'undefined') { - return options.plainObjects ? Object.create(null) : {}; - } +/***/ }), - var tempObj = typeof str === 'string' ? parseValues(str, options) : str; - var obj = options.plainObjects ? Object.create(null) : {}; +/***/ 853: +/***/ ((module) => { - // Iterate over the keys and setup the new object +"use strict"; - var keys = Object.keys(tempObj); - for (var i = 0; i < keys.length; ++i) { - var key = keys[i]; - var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); - obj = utils.merge(obj, newObj, options); - } - if (options.allowSparse === true) { - return obj; - } +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } - return utils.compact(obj); + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; }; /***/ }), -/***/ 3769: +/***/ 1122: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; -var getSideChannel = __nccwpck_require__(3355); -var utils = __nccwpck_require__(3763); -var formats = __nccwpck_require__(1466); -var has = Object.prototype.hasOwnProperty; +var bind = __nccwpck_require__(795); -var arrayPrefixGenerators = { - brackets: function brackets(prefix) { - return prefix + '[]'; - }, - comma: 'comma', - indices: function indices(prefix, key) { - return prefix + '[' + key + ']'; - }, - repeat: function repeat(prefix) { - return prefix; - } -}; +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); -var isArray = Array.isArray; -var split = String.prototype.split; -var push = Array.prototype.push; -var pushToArray = function (arr, valueOrArray) { - push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); -}; -var toISO = Date.prototype.toISOString; +/***/ }), -var defaultFormat = formats['default']; -var defaults = { - addQueryPrefix: false, - allowDots: false, - charset: 'utf-8', - charsetSentinel: false, - delimiter: '&', - encode: true, - encoder: utils.encode, - encodeValuesOnly: false, - format: defaultFormat, - formatter: formats.formatters[defaultFormat], - // deprecated - indices: false, - serializeDate: function serializeDate(date) { - return toISO.call(date); - }, - skipNulls: false, - strictNullHandling: false -}; +/***/ 987: +/***/ ((__unused_webpack_module, exports) => { -var isNonNullishPrimitive = function isNonNullishPrimitive(v) { - return typeof v === 'string' - || typeof v === 'number' - || typeof v === 'boolean' - || typeof v === 'symbol' - || typeof v === 'bigint'; -}; +"use strict"; -var sentinel = {}; -var stringify = function stringify( - object, - prefix, - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - format, - formatter, - encodeValuesOnly, - charset, - sideChannel -) { - var obj = object; +Object.defineProperty(exports, "__esModule", ({ value: true })); - var tmpSc = sideChannel; - var step = 0; - var findFlag = false; - while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { - // Where object last appeared in the ref tree - var pos = tmpSc.get(object); - step += 1; - if (typeof pos !== 'undefined') { - if (pos === step) { - throw new RangeError('Cyclic object value'); - } else { - findFlag = true; // Break while - } - } - if (typeof tmpSc.get(sentinel) === 'undefined') { - step = 0; - } - } +/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ - if (typeof filter === 'function') { - obj = filter(prefix, obj); - } else if (obj instanceof Date) { - obj = serializeDate(obj); - } else if (generateArrayPrefix === 'comma' && isArray(obj)) { - obj = utils.maybeMap(obj, function (value) { - if (value instanceof Date) { - return serializeDate(value); - } - return value; - }); - } +function isObject(o) { + return Object.prototype.toString.call(o) === '[object Object]'; +} - if (obj === null) { - if (strictNullHandling) { - return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix; - } +function isPlainObject(o) { + var ctor,prot; - obj = ''; - } + if (isObject(o) === false) return false; - if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { - if (encoder) { - var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format); - if (generateArrayPrefix === 'comma' && encodeValuesOnly) { - var valuesArray = split.call(String(obj), ','); - var valuesJoined = ''; - for (var i = 0; i < valuesArray.length; ++i) { - valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format)); - } - return [formatter(keyValue) + '=' + valuesJoined]; - } - return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))]; - } - return [formatter(prefix) + '=' + formatter(String(obj))]; - } - - var values = []; + // If has modified constructor + ctor = o.constructor; + if (ctor === undefined) return true; - if (typeof obj === 'undefined') { - return values; - } + // If has modified prototype + prot = ctor.prototype; + if (isObject(prot) === false) return false; - var objKeys; - if (generateArrayPrefix === 'comma' && isArray(obj)) { - // we need to join elements in - objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; - } else if (isArray(filter)) { - objKeys = filter; - } else { - var keys = Object.keys(obj); - objKeys = sort ? keys.sort(sort) : keys; - } + // If constructor does not have an Object-specific method + if (prot.hasOwnProperty('isPrototypeOf') === false) { + return false; + } - for (var j = 0; j < objKeys.length; ++j) { - var key = objKeys[j]; - var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; + // Most likely a plain Object + return true; +} - if (skipNulls && value === null) { - continue; - } +exports.isPlainObject = isPlainObject; - var keyPrefix = isArray(obj) - ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix - : prefix + (allowDots ? '.' + key : '[' + key + ']'); - sideChannel.set(object, step); - var valueSideChannel = getSideChannel(); - valueSideChannel.set(sentinel, sideChannel); - pushToArray(values, stringify( - value, - keyPrefix, - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - format, - formatter, - encodeValuesOnly, - charset, - valueSideChannel - )); - } +/***/ }), - return values; -}; +/***/ 2460: +/***/ ((module, exports, __nccwpck_require__) => { -var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { - if (!opts) { - return defaults; - } +"use strict"; - if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { - throw new TypeError('Encoder has to be a function.'); - } - var charset = opts.charset || defaults.charset; - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } +Object.defineProperty(exports, "__esModule", ({ value: true })); - var format = formats['default']; - if (typeof opts.format !== 'undefined') { - if (!has.call(formats.formatters, opts.format)) { - throw new TypeError('Unknown format option provided.'); - } - format = opts.format; - } - var formatter = formats.formatters[format]; +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } + +var Stream = _interopDefault(__nccwpck_require__(2781)); +var http = _interopDefault(__nccwpck_require__(3685)); +var Url = _interopDefault(__nccwpck_require__(7310)); +var whatwgUrl = _interopDefault(__nccwpck_require__(2752)); +var https = _interopDefault(__nccwpck_require__(5687)); +var zlib = _interopDefault(__nccwpck_require__(9796)); + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream.Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } - var filter = defaults.filter; - if (typeof opts.filter === 'function' || isArray(opts.filter)) { - filter = opts.filter; - } + this[BUFFER] = Buffer.concat(buffers); - return { - addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, - encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, - encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, - encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, - filter: filter, - format: format, - formatter: formatter, - serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, - skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, - sort: typeof opts.sort === 'function' ? opts.sort : null, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; -}; + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); -module.exports = function (object, opts) { - var obj = object; - var options = normalizeStringifyOptions(opts); + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} - var objKeys; - var filter; +Object.defineProperties(Blob.prototype, { + size: { enumerable: true }, + type: { enumerable: true }, + slice: { enumerable: true } +}); - if (typeof options.filter === 'function') { - filter = options.filter; - obj = filter('', obj); - } else if (isArray(options.filter)) { - filter = options.filter; - objKeys = filter; - } +Object.defineProperty(Blob.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: false, + enumerable: false, + configurable: true +}); - var keys = []; +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ - if (typeof obj !== 'object' || obj === null) { - return ''; - } +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); - var arrayFormat; - if (opts && opts.arrayFormat in arrayPrefixGenerators) { - arrayFormat = opts.arrayFormat; - } else if (opts && 'indices' in opts) { - arrayFormat = opts.indices ? 'indices' : 'repeat'; - } else { - arrayFormat = 'indices'; - } + this.message = message; + this.type = type; - var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } - if (!objKeys) { - objKeys = Object.keys(obj); - } + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} - if (options.sort) { - objKeys.sort(options.sort); - } +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; - var sideChannel = getSideChannel(); - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; +let convert; +try { + convert = (__nccwpck_require__(5347).convert); +} catch (e) {} - if (options.skipNulls && obj[key] === null) { - continue; - } - pushToArray(keys, stringify( - obj[key], - key, - generateArrayPrefix, - options.strictNullHandling, - options.skipNulls, - options.encode ? options.encoder : null, - options.filter, - options.sort, - options.allowDots, - options.serializeDate, - options.format, - options.formatter, - options.encodeValuesOnly, - options.charset, - sideChannel - )); - } +const INTERNALS = Symbol('Body internals'); - var joined = keys.join(options.delimiter); - var prefix = options.addQueryPrefix === true ? '?' : ''; +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream.PassThrough; - if (options.charsetSentinel) { - if (options.charset === 'iso-8859-1') { - // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark - prefix += 'utf8=%26%2310003%3B&'; - } else { - // encodeURIComponent('✓') - prefix += 'utf8=%E2%9C%93&'; - } - } +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} - return joined.length > 0 ? prefix + joined : ''; +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } }; +// In browsers, all properties are enumerable. +Object.defineProperties(Body.prototype, { + body: { enumerable: true }, + bodyUsed: { enumerable: true }, + arrayBuffer: { enumerable: true }, + blob: { enumerable: true }, + json: { enumerable: true }, + text: { enumerable: true } +}); -/***/ }), +Body.mixIn = function (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; -/***/ 3763: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; -"use strict"; + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + this[INTERNALS].disturbed = true; -var formats = __nccwpck_require__(1466); + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } -var has = Object.prototype.hasOwnProperty; -var isArray = Array.isArray; + let body = this.body; -var hexTable = (function () { - var array = []; - for (var i = 0; i < 256; ++i) { - array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); - } + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } - return array; -}()); + // body is blob + if (isBlob(body)) { + body = body.stream(); + } -var compactQueue = function compactQueue(queue) { - while (queue.length > 1) { - var item = queue.pop(); - var obj = item.obj[item.prop]; + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } - if (isArray(obj)) { - var compacted = []; + // istanbul ignore if: should never happen + if (!(body instanceof Stream)) { + return Body.Promise.resolve(Buffer.alloc(0)); + } - for (var j = 0; j < obj.length; ++j) { - if (typeof obj[j] !== 'undefined') { - compacted.push(obj[j]); - } - } + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } - item.obj[item.prop] = compacted; - } - } -}; + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); -var arrayToObject = function arrayToObject(source, options) { - var obj = options && options.plainObjects ? Object.create(null) : {}; - for (var i = 0; i < source.length; ++i) { - if (typeof source[i] !== 'undefined') { - obj[i] = source[i]; - } - } + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } - return obj; -}; + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } -var merge = function merge(target, source, options) { - /* eslint no-param-reassign: 0 */ - if (!source) { - return target; - } + accumBytes += chunk.length; + accum.push(chunk); + }); - if (typeof source !== 'object') { - if (isArray(target)) { - target.push(source); - } else if (target && typeof target === 'object') { - if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { - target[source] = true; - } - } else { - return [target, source]; - } + body.on('end', function () { + if (abort) { + return; + } - return target; - } + clearTimeout(resTimeout); - if (!target || typeof target !== 'object') { - return [target].concat(source); - } + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} - var mergeTarget = target; - if (isArray(target) && !isArray(source)) { - mergeTarget = arrayToObject(target, options); - } +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } - if (isArray(target) && isArray(source)) { - source.forEach(function (item, i) { - if (has.call(target, i)) { - var targetItem = target[i]; - if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { - target[i] = merge(targetItem, item, options); - } else { - target.push(item); - } - } else { - target[i] = item; - } - }); - return target; - } + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; - return Object.keys(source).reduce(function (acc, key) { - var value = source[key]; + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } - if (has.call(acc, key)) { - acc[key] = merge(acc[key], value, options); - } else { - acc[key] = value; - } - return acc; - }, mergeTarget); -}; + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); -var assign = function assignSingleSource(target, source) { - return Object.keys(source).reduce(function (acc, key) { - acc[key] = source[key]; - return acc; - }, target); -}; + // html5 + if (!res && str) { + res = /= 0x30 && c <= 0x39) // 0-9 - || (c >= 0x41 && c <= 0x5A) // a-z - || (c >= 0x61 && c <= 0x7A) // A-Z - || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) - ) { - out += string.charAt(i); - continue; - } + // turn raw buffers into a single utf-8 buffer + return convert(buffer, 'UTF-8', charset).toString(); +} - if (c < 0x80) { - out = out + hexTable[c]; - continue; - } +/** + * Detect a URLSearchParams object + * ref: https://github.com/bitinn/node-fetch/issues/296#issuecomment-307598143 + * + * @param Object obj Object to detect by type or brand + * @return String + */ +function isURLSearchParams(obj) { + // Duck-typing as a necessary condition. + if (typeof obj !== 'object' || typeof obj.append !== 'function' || typeof obj.delete !== 'function' || typeof obj.get !== 'function' || typeof obj.getAll !== 'function' || typeof obj.has !== 'function' || typeof obj.set !== 'function') { + return false; + } - if (c < 0x800) { - out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } + // Brand-checking and more duck-typing as optional condition. + return obj.constructor.name === 'URLSearchParams' || Object.prototype.toString.call(obj) === '[object URLSearchParams]' || typeof obj.sort === 'function'; +} - if (c < 0xD800 || c >= 0xE000) { - out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } +/** + * Check if `obj` is a W3C `Blob` object (which `File` inherits from) + * @param {*} obj + * @return {boolean} + */ +function isBlob(obj) { + return typeof obj === 'object' && typeof obj.arrayBuffer === 'function' && typeof obj.type === 'string' && typeof obj.stream === 'function' && typeof obj.constructor === 'function' && typeof obj.constructor.name === 'string' && /^(Blob|File)$/.test(obj.constructor.name) && /^(Blob|File)$/.test(obj[Symbol.toStringTag]); +} - i += 1; - c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); - /* eslint operator-linebreak: [2, "before"] */ - out += hexTable[0xF0 | (c >> 18)] - + hexTable[0x80 | ((c >> 12) & 0x3F)] - + hexTable[0x80 | ((c >> 6) & 0x3F)] - + hexTable[0x80 | (c & 0x3F)]; - } +/** + * Clone body given Res/Req instance + * + * @param Mixed instance Response or Request instance + * @return Mixed + */ +function clone(instance) { + let p1, p2; + let body = instance.body; - return out; -}; + // don't allow cloning a used body + if (instance.bodyUsed) { + throw new Error('cannot clone body after it is used'); + } -var compact = function compact(value) { - var queue = [{ obj: { o: value }, prop: 'o' }]; - var refs = []; + // check that body is a stream and not form-data object + // note: we can't clone the form-data object without having it as a dependency + if (body instanceof Stream && typeof body.getBoundary !== 'function') { + // tee instance body + p1 = new PassThrough(); + p2 = new PassThrough(); + body.pipe(p1); + body.pipe(p2); + // set instance body to teed body and return the other teed body + instance[INTERNALS].body = p1; + body = p2; + } - for (var i = 0; i < queue.length; ++i) { - var item = queue[i]; - var obj = item.obj[item.prop]; + return body; +} - var keys = Object.keys(obj); - for (var j = 0; j < keys.length; ++j) { - var key = keys[j]; - var val = obj[key]; - if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { - queue.push({ obj: obj, prop: key }); - refs.push(val); - } - } - } +/** + * Performs the operation "extract a `Content-Type` value from |object|" as + * specified in the specification: + * https://fetch.spec.whatwg.org/#concept-bodyinit-extract + * + * This function assumes that instance.body is present. + * + * @param Mixed instance Any options.body input + */ +function extractContentType(body) { + if (body === null) { + // body is null + return null; + } else if (typeof body === 'string') { + // body is string + return 'text/plain;charset=UTF-8'; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + return 'application/x-www-form-urlencoded;charset=UTF-8'; + } else if (isBlob(body)) { + // body is blob + return body.type || null; + } else if (Buffer.isBuffer(body)) { + // body is buffer + return null; + } else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + return null; + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + return null; + } else if (typeof body.getBoundary === 'function') { + // detect form data input from form-data module + return `multipart/form-data;boundary=${body.getBoundary()}`; + } else if (body instanceof Stream) { + // body is stream + // can't really do much about this + return null; + } else { + // Body constructor defaults other things to string + return 'text/plain;charset=UTF-8'; + } +} - compactQueue(queue); +/** + * The Fetch Standard treats this as if "total bytes" is a property on the body. + * For us, we have to explicitly get it with a function. + * + * ref: https://fetch.spec.whatwg.org/#concept-body-total-bytes + * + * @param Body instance Instance of Body + * @return Number? Number of bytes, or null if not possible + */ +function getTotalBytes(instance) { + const body = instance.body; + + + if (body === null) { + // body is null + return 0; + } else if (isBlob(body)) { + return body.size; + } else if (Buffer.isBuffer(body)) { + // body is buffer + return body.length; + } else if (body && typeof body.getLengthSync === 'function') { + // detect form data input from form-data module + if (body._lengthRetrievers && body._lengthRetrievers.length == 0 || // 1.x + body.hasKnownLength && body.hasKnownLength()) { + // 2.x + return body.getLengthSync(); + } + return null; + } else { + // body is stream + return null; + } +} - return value; -}; +/** + * Write a Body to a Node.js WritableStream (e.g. http.Request) object. + * + * @param Body instance Instance of Body + * @return Void + */ +function writeToStream(dest, instance) { + const body = instance.body; + + + if (body === null) { + // body is null + dest.end(); + } else if (isBlob(body)) { + body.stream().pipe(dest); + } else if (Buffer.isBuffer(body)) { + // body is buffer + dest.write(body); + dest.end(); + } else { + // body is stream + body.pipe(dest); + } +} -var isRegExp = function isRegExp(obj) { - return Object.prototype.toString.call(obj) === '[object RegExp]'; -}; +// expose Promise +Body.Promise = global.Promise; -var isBuffer = function isBuffer(obj) { - if (!obj || typeof obj !== 'object') { - return false; - } +/** + * headers.js + * + * Headers class offers convenient helpers + */ - return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); -}; +const invalidTokenRegex = /[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/; +const invalidHeaderCharRegex = /[^\t\x20-\x7e\x80-\xff]/; -var combine = function combine(a, b) { - return [].concat(a, b); -}; +function validateName(name) { + name = `${name}`; + if (invalidTokenRegex.test(name) || name === '') { + throw new TypeError(`${name} is not a legal HTTP header name`); + } +} -var maybeMap = function maybeMap(val, fn) { - if (isArray(val)) { - var mapped = []; - for (var i = 0; i < val.length; i += 1) { - mapped.push(fn(val[i])); - } - return mapped; - } - return fn(val); -}; +function validateValue(value) { + value = `${value}`; + if (invalidHeaderCharRegex.test(value)) { + throw new TypeError(`${value} is not a legal HTTP header value`); + } +} -module.exports = { - arrayToObject: arrayToObject, - assign: assign, - combine: combine, - compact: compact, - decode: decode, - encode: encode, - isBuffer: isBuffer, - isRegExp: isRegExp, - maybeMap: maybeMap, - merge: merge -}; +/** + * Find the key in the map object given a header name. + * + * Returns undefined if not found. + * + * @param String name Header name + * @return String|Undefined + */ +function find(map, name) { + name = name.toLowerCase(); + for (const key in map) { + if (key.toLowerCase() === name) { + return key; + } + } + return undefined; +} +const MAP = Symbol('map'); +class Headers { + /** + * Headers class + * + * @param Object headers Response headers + * @return Void + */ + constructor() { + let init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined; -/***/ }), + this[MAP] = Object.create(null); -/***/ 1554: -/***/ ((module, exports) => { + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); -exports = module.exports = SemVer + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } -var debug -/* istanbul ignore next */ -if (typeof process === 'object' && - process.env && - process.env.NODE_DEBUG && - /\bsemver\b/i.test(process.env.NODE_DEBUG)) { - debug = function () { - var args = Array.prototype.slice.call(arguments, 0) - args.unshift('SEMVER') - console.log.apply(console, args) - } -} else { - debug = function () {} -} + return; + } -// Note: this is the semver.org version of the spec that it implements -// Not necessarily the package version of this code. -exports.SEMVER_SPEC_VERSION = '2.0.0' + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } -var MAX_LENGTH = 256 -var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || - /* istanbul ignore next */ 9007199254740991 + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } -// Max safe segment length for coercion. -var MAX_SAFE_COMPONENT_LENGTH = 16 + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } -// The actual regexps go on exports.re -var re = exports.re = [] -var src = exports.src = [] -var t = exports.tokens = {} -var R = 0 + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } -function tok (n) { - t[n] = R++ -} + return this[MAP][key].join(', '); + } -// The following Regular Expressions can be used for tokenizing, -// validating, and parsing SemVer version strings. + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } -// ## Numeric Identifier -// A single `0`, or a non-zero digit followed by zero or more digits. + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } -tok('NUMERICIDENTIFIER') -src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*' -tok('NUMERICIDENTIFIERLOOSE') -src[t.NUMERICIDENTIFIERLOOSE] = '[0-9]+' + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } -// ## Non-numeric Identifier -// Zero or more digits, followed by a letter or hyphen, and then zero or -// more letters, digits, or hyphens. + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } -tok('NONNUMERICIDENTIFIER') -src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*' + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } -// ## Main Version -// Three dot-separated numeric identifiers. + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } -tok('MAINVERSION') -src[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')' + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } -tok('MAINVERSIONLOOSE') -src[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')' + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } -// ## Pre-release Version Identifier -// A numeric identifier, or a non-numeric identifier. + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [Symbol.iterator]() { + return createHeadersIterator(this, 'key+value'); + } +} +Headers.prototype.entries = Headers.prototype[Symbol.iterator]; -tok('PRERELEASEIDENTIFIER') -src[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' +Object.defineProperty(Headers.prototype, Symbol.toStringTag, { + value: 'Headers', + writable: false, + enumerable: false, + configurable: true +}); -tok('PRERELEASEIDENTIFIERLOOSE') -src[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' +Object.defineProperties(Headers.prototype, { + get: { enumerable: true }, + forEach: { enumerable: true }, + set: { enumerable: true }, + append: { enumerable: true }, + has: { enumerable: true }, + delete: { enumerable: true }, + keys: { enumerable: true }, + values: { enumerable: true }, + entries: { enumerable: true } +}); -// ## Pre-release Version -// Hyphen, followed by one or more dot-separated pre-release version -// identifiers. +function getHeaders(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; -tok('PRERELEASE') -src[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))' + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} -tok('PRERELEASELOOSE') -src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))' +const INTERNAL = Symbol('internal'); -// ## Build Metadata Identifier -// Any combination of digits, letters, or hyphens. +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} -tok('BUILDIDENTIFIER') -src[t.BUILDIDENTIFIER] = '[0-9A-Za-z-]+' +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } -// ## Build Metadata -// Plus sign, followed by one or more period-separated build metadata -// identifiers. + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } -tok('BUILD') -src[t.BUILD] = '(?:\\+(' + src[t.BUILDIDENTIFIER] + - '(?:\\.' + src[t.BUILDIDENTIFIER] + ')*))' + this[INTERNAL].index = index + 1; -// ## Full Version String -// A main version, followed optionally by a pre-release version and -// build metadata. + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); -// Note that the only major, minor, patch, and pre-release sections of -// the version string are capturing groups. The build metadata is not a -// capturing group, because it should not ever be used in version -// comparison. +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); -tok('FULL') -tok('FULLPLAIN') -src[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] + - src[t.PRERELEASE] + '?' + - src[t.BUILD] + '?' +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } -src[t.FULL] = '^' + src[t.FULLPLAIN] + '$' + return obj; +} -// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. -// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty -// common in the npm registry. -tok('LOOSEPLAIN') -src[t.LOOSEPLAIN] = '[v=\\s]*' + src[t.MAINVERSIONLOOSE] + - src[t.PRERELEASELOOSE] + '?' + - src[t.BUILD] + '?' +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} -tok('LOOSE') -src[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$' +const INTERNALS$1 = Symbol('Response internals'); -tok('GTLT') -src[t.GTLT] = '((?:<|>)?=?)' +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http.STATUS_CODES; -// Something like "2.*" or "1.2.x". -// Note that "x.x" is a valid xRange identifer, meaning "any version" -// Only the first item is strictly required. -tok('XRANGEIDENTIFIERLOOSE') -src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' -tok('XRANGEIDENTIFIER') -src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\*' +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; -tok('XRANGEPLAIN') -src[t.XRANGEPLAIN] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:' + src[t.PRERELEASE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' + Body.call(this, body, opts); -tok('XRANGEPLAINLOOSE') -src[t.XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:' + src[t.PRERELEASELOOSE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' + const status = opts.status || 200; + const headers = new Headers(opts.headers); -tok('XRANGE') -src[t.XRANGE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAIN] + '$' -tok('XRANGELOOSE') -src[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAINLOOSE] + '$' + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } -// Coercion. -// Extract anything that could conceivably be a part of a valid semver -tok('COERCE') -src[t.COERCE] = '(^|[^\\d])' + - '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:$|[^\\d])' -tok('COERCERTL') -re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g') + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } -// Tilde ranges. -// Meaning is "reasonably at or greater than" -tok('LONETILDE') -src[t.LONETILDE] = '(?:~>?)' + get url() { + return this[INTERNALS$1].url || ''; + } -tok('TILDETRIM') -src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+' -re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g') -var tildeTrimReplace = '$1~' + get status() { + return this[INTERNALS$1].status; + } -tok('TILDE') -src[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$' -tok('TILDELOOSE') -src[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$' + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } -// Caret ranges. -// Meaning is "at least and backwards compatible with" -tok('LONECARET') -src[t.LONECARET] = '(?:\\^)' + get redirected() { + return this[INTERNALS$1].counter > 0; + } -tok('CARETTRIM') -src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+' -re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g') -var caretTrimReplace = '$1^' + get statusText() { + return this[INTERNALS$1].statusText; + } -tok('CARET') -src[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$' -tok('CARETLOOSE') -src[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$' + get headers() { + return this[INTERNALS$1].headers; + } -// A simple gt/lt/eq thing, or just "" to indicate "any version" -tok('COMPARATORLOOSE') -src[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\s*(' + src[t.LOOSEPLAIN] + ')$|^$' -tok('COMPARATOR') -src[t.COMPARATOR] = '^' + src[t.GTLT] + '\\s*(' + src[t.FULLPLAIN] + ')$|^$' + /** + * Clone this response + * + * @return Response + */ + clone() { + return new Response(clone(this), { + url: this.url, + status: this.status, + statusText: this.statusText, + headers: this.headers, + ok: this.ok, + redirected: this.redirected + }); + } +} -// An expression to strip any whitespace between the gtlt and the thing -// it modifies, so that `> 1.2.3` ==> `>1.2.3` -tok('COMPARATORTRIM') -src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] + - '\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')' +Body.mixIn(Response.prototype); -// this one has to use the /g flag -re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g') -var comparatorTrimReplace = '$1$2$3' +Object.defineProperties(Response.prototype, { + url: { enumerable: true }, + status: { enumerable: true }, + ok: { enumerable: true }, + redirected: { enumerable: true }, + statusText: { enumerable: true }, + headers: { enumerable: true }, + clone: { enumerable: true } +}); -// Something like `1.2.3 - 1.2.4` -// Note that these all use the loose form, because they'll be -// checked against either the strict or loose comparator form -// later. -tok('HYPHENRANGE') -src[t.HYPHENRANGE] = '^\\s*(' + src[t.XRANGEPLAIN] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAIN] + ')' + - '\\s*$' +Object.defineProperty(Response.prototype, Symbol.toStringTag, { + value: 'Response', + writable: false, + enumerable: false, + configurable: true +}); -tok('HYPHENRANGELOOSE') -src[t.HYPHENRANGELOOSE] = '^\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s*$' +const INTERNALS$2 = Symbol('Request internals'); +const URL = Url.URL || whatwgUrl.URL; -// Star ranges basically just allow anything at all. -tok('STAR') -src[t.STAR] = '(<|>)?=?\\s*\\*' +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url.parse; +const format_url = Url.format; -// Compile to actual regexp objects. -// All are flag-free, unless they were created above with a flag. -for (var i = 0; i < R; i++) { - debug(i, src[i]) - if (!re[i]) { - re[i] = new RegExp(src[i]) - } +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); } -exports.parse = parse -function parse (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } +const streamDestructionSupported = 'destroy' in Stream.Readable.prototype; - if (version instanceof SemVer) { - return version - } +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} - if (typeof version !== 'string') { - return null - } +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} - if (version.length > MAX_LENGTH) { - return null - } +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } - var r = options.loose ? re[t.LOOSE] : re[t.FULL] - if (!r.test(version)) { - return null - } + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); - try { - return new SemVer(version, options) - } catch (er) { - return null - } -} + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } -exports.valid = valid -function valid (version, options) { - var v = parse(version, options) - return v ? v.version : null -} + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; -exports.clean = clean -function clean (version, options) { - var s = parse(version.trim().replace(/^[=v]+/, ''), options) - return s ? s.version : null + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + clone() { + return new Request(this); + } } -exports.SemVer = SemVer +Body.mixIn(Request.prototype); -function SemVer (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - if (version instanceof SemVer) { - if (version.loose === options.loose) { - return version - } else { - version = version.version - } - } else if (typeof version !== 'string') { - throw new TypeError('Invalid Version: ' + version) - } +Object.defineProperty(Request.prototype, Symbol.toStringTag, { + value: 'Request', + writable: false, + enumerable: false, + configurable: true +}); - if (version.length > MAX_LENGTH) { - throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters') - } +Object.defineProperties(Request.prototype, { + method: { enumerable: true }, + url: { enumerable: true }, + headers: { enumerable: true }, + redirect: { enumerable: true }, + clone: { enumerable: true }, + signal: { enumerable: true } +}); - if (!(this instanceof SemVer)) { - return new SemVer(version, options) - } +/** + * Convert a Request to Node.js http request options. + * + * @param Request A Request instance + * @return Object The options object to be passed to http.request + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); - debug('SemVer', version, options) - this.options = options - this.loose = !!options.loose + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } - var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]) + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } - if (!m) { - throw new TypeError('Invalid Version: ' + version) - } + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } - this.raw = version + if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } - // these are actually numbers - this.major = +m[1] - this.minor = +m[2] - this.patch = +m[3] + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } - if (this.major > MAX_SAFE_INTEGER || this.major < 0) { - throw new TypeError('Invalid major version') - } + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { - throw new TypeError('Invalid minor version') - } + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { - throw new TypeError('Invalid patch version') - } + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } - // numberify any prerelease numeric ids - if (!m[4]) { - this.prerelease = [] - } else { - this.prerelease = m[4].split('.').map(function (id) { - if (/^[0-9]+$/.test(id)) { - var num = +id - if (num >= 0 && num < MAX_SAFE_INTEGER) { - return num - } - } - return id - }) - } + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } - this.build = m[5] ? m[5].split('.') : [] - this.format() -} + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js -SemVer.prototype.format = function () { - this.version = this.major + '.' + this.minor + '.' + this.patch - if (this.prerelease.length) { - this.version += '-' + this.prerelease.join('.') - } - return this.version + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); } -SemVer.prototype.toString = function () { - return this.version -} +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ -SemVer.prototype.compare = function (other) { - debug('SemVer.compare', this.version, this.options, other) - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); - return this.compareMain(other) || this.comparePre(other) + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); } -SemVer.prototype.compareMain = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; - return compareIdentifiers(this.major, other.major) || - compareIdentifiers(this.minor, other.minor) || - compareIdentifiers(this.patch, other.patch) -} +const URL$1 = Url.URL || whatwgUrl.URL; -SemVer.prototype.comparePre = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream.PassThrough; - // NOT having a prerelease is > having one - if (this.prerelease.length && !other.prerelease.length) { - return -1 - } else if (!this.prerelease.length && other.prerelease.length) { - return 1 - } else if (!this.prerelease.length && !other.prerelease.length) { - return 0 - } +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1(original).hostname; + const dest = new URL$1(destination).hostname; - var i = 0 - do { - var a = this.prerelease[i] - var b = other.prerelease[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; -SemVer.prototype.compareBuild = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch(url, opts) { - var i = 0 - do { - var a = this.build[i] - var b = other.build[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} + // allow custom promise + if (!fetch.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } -// preminor will bump the version up to the next minor release, and immediately -// down to pre-release. premajor and prepatch work the same way. -SemVer.prototype.inc = function (release, identifier) { - switch (release) { - case 'premajor': - this.prerelease.length = 0 - this.patch = 0 - this.minor = 0 - this.major++ - this.inc('pre', identifier) - break - case 'preminor': - this.prerelease.length = 0 - this.patch = 0 - this.minor++ - this.inc('pre', identifier) - break - case 'prepatch': - // If this is already a prerelease, it will bump to the next version - // drop any prereleases that might already exist, since they are not - // relevant at this point. - this.prerelease.length = 0 - this.inc('patch', identifier) - this.inc('pre', identifier) - break - // If the input is a non-prerelease version, this acts the same as - // prepatch. - case 'prerelease': - if (this.prerelease.length === 0) { - this.inc('patch', identifier) - } - this.inc('pre', identifier) - break + Body.Promise = fetch.Promise; - case 'major': - // If this is a pre-major version, bump up to the same major version. - // Otherwise increment major. - // 1.0.0-5 bumps to 1.0.0 - // 1.1.0 bumps to 2.0.0 - if (this.minor !== 0 || - this.patch !== 0 || - this.prerelease.length === 0) { - this.major++ - } - this.minor = 0 - this.patch = 0 - this.prerelease = [] - break - case 'minor': - // If this is a pre-minor version, bump up to the same minor version. - // Otherwise increment minor. - // 1.2.0-5 bumps to 1.2.0 - // 1.2.1 bumps to 1.3.0 - if (this.patch !== 0 || this.prerelease.length === 0) { - this.minor++ - } - this.patch = 0 - this.prerelease = [] - break - case 'patch': - // If this is not a pre-release version, it will increment the patch. - // If it is a pre-release it will bump up to the same patch version. - // 1.2.0-5 patches to 1.2.0 - // 1.2.0 patches to 1.2.1 - if (this.prerelease.length === 0) { - this.patch++ - } - this.prerelease = [] - break - // This probably shouldn't be used publicly. - // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction. - case 'pre': - if (this.prerelease.length === 0) { - this.prerelease = [0] - } else { - var i = this.prerelease.length - while (--i >= 0) { - if (typeof this.prerelease[i] === 'number') { - this.prerelease[i]++ - i = -2 - } - } - if (i === -1) { - // didn't increment anything - this.prerelease.push(0) - } - } - if (identifier) { - // 1.2.0-beta.1 bumps to 1.2.0-beta.2, - // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 - if (this.prerelease[0] === identifier) { - if (isNaN(this.prerelease[1])) { - this.prerelease = [identifier, 0] - } - } else { - this.prerelease = [identifier, 0] - } - } - break + // wrap http.request into fetch + return new fetch.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); - default: - throw new Error('invalid increment argument: ' + release) - } - this.format() - this.raw = this.version - return this -} + const send = (options.protocol === 'https:' ? https : http).request; + const signal = request.signal; -exports.inc = inc -function inc (version, release, loose, identifier) { - if (typeof (loose) === 'string') { - identifier = loose - loose = undefined - } + let response = null; - try { - return new SemVer(version, loose).inc(release, identifier).version - } catch (er) { - return null - } -} + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream.Readable) { + request.body.destroy(error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; -exports.diff = diff -function diff (version1, version2) { - if (eq(version1, version2)) { - return null - } else { - var v1 = parse(version1) - var v2 = parse(version2) - var prefix = '' - if (v1.prerelease.length || v2.prerelease.length) { - prefix = 'pre' - var defaultResult = 'prerelease' - } - for (var key in v1) { - if (key === 'major' || key === 'minor' || key === 'patch') { - if (v1[key] !== v2[key]) { - return prefix + key - } - } - } - return defaultResult // may be undefined - } -} + if (signal && signal.aborted) { + abort(); + return; + } -exports.compareIdentifiers = compareIdentifiers + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; -var numeric = /^[0-9]+$/ -function compareIdentifiers (a, b) { - var anum = numeric.test(a) - var bnum = numeric.test(b) + // send request + const req = send(options); + let reqTimeout; - if (anum && bnum) { - a = +a - b = +b - } + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } - return a === b ? 0 - : (anum && !bnum) ? -1 - : (bnum && !anum) ? 1 - : a < b ? -1 - : 1 -} + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } -exports.rcompareIdentifiers = rcompareIdentifiers -function rcompareIdentifiers (a, b) { - return compareIdentifiers(b, a) -} + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } -exports.major = major -function major (a, loose) { - return new SemVer(a, loose).major -} + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + finalize(); + }); + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1(location, request.url).toString(); + } catch (err) { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } -exports.minor = minor -function minor (a, loose) { - return new SemVer(a, loose).minor -} + // HTTP fetch step 5.5 + switch (request.redirect) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + finalize(); + return; + case 'manual': + // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. + if (locationURL !== null) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } -exports.patch = patch -function patch (a, loose) { - return new SemVer(a, loose).patch -} + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } -exports.compare = compare -function compare (a, b, loose) { - return new SemVer(a, loose).compare(new SemVer(b, loose)) -} + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib.Z_SYNC_FLUSH, + finishFlush: zlib.Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib.createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } -exports.compareLoose = compareLoose -function compareLoose (a, b) { - return compare(a, b, true) -} + // for deflate + if (codings == 'deflate' || codings == 'x-deflate') { + // handle the infamous raw deflate response from old servers + // a hack for old IIS and Apache servers + const raw = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib.createInflate()); + } else { + body = body.pipe(zlib.createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + return; + } -exports.compareBuild = compareBuild -function compareBuild (a, b, loose) { - var versionA = new SemVer(a, loose) - var versionB = new SemVer(b, loose) - return versionA.compare(versionB) || versionA.compareBuild(versionB) -} + // for br + if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { + body = body.pipe(zlib.createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } -exports.rcompare = rcompare -function rcompare (a, b, loose) { - return compare(b, a, loose) -} + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); -exports.sort = sort -function sort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) - }) + writeToStream(req, request); + }); } +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; -exports.rsort = rsort -function rsort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) - }) -} +// expose Promise +fetch.Promise = global.Promise; -exports.gt = gt -function gt (a, b, loose) { - return compare(a, b, loose) > 0 -} +module.exports = exports = fetch; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports["default"] = exports; +exports.Headers = Headers; +exports.Request = Request; +exports.Response = Response; +exports.FetchError = FetchError; -exports.lt = lt -function lt (a, b, loose) { - return compare(a, b, loose) < 0 -} -exports.eq = eq -function eq (a, b, loose) { - return compare(a, b, loose) === 0 -} +/***/ }), -exports.neq = neq -function neq (a, b, loose) { - return compare(a, b, loose) !== 0 -} +/***/ 8992: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -exports.gte = gte -function gte (a, b, loose) { - return compare(a, b, loose) >= 0 -} +"use strict"; -exports.lte = lte -function lte (a, b, loose) { - return compare(a, b, loose) <= 0 + +var punycode = __nccwpck_require__(5477); +var mappingTable = __nccwpck_require__(1907); + +var PROCESSING_OPTIONS = { + TRANSITIONAL: 0, + NONTRANSITIONAL: 1 +}; + +function normalize(str) { // fix bug in v8 + return str.split('\u0000').map(function (s) { return s.normalize('NFC'); }).join('\u0000'); } -exports.cmp = cmp -function cmp (a, op, b, loose) { - switch (op) { - case '===': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a === b +function findStatus(val) { + var start = 0; + var end = mappingTable.length - 1; - case '!==': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a !== b - - case '': - case '=': - case '==': - return eq(a, b, loose) - - case '!=': - return neq(a, b, loose) - - case '>': - return gt(a, b, loose) - - case '>=': - return gte(a, b, loose) - - case '<': - return lt(a, b, loose) - - case '<=': - return lte(a, b, loose) - - default: - throw new TypeError('Invalid operator: ' + op) - } -} - -exports.Comparator = Comparator -function Comparator (comp, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } + while (start <= end) { + var mid = Math.floor((start + end) / 2); - if (comp instanceof Comparator) { - if (comp.loose === !!options.loose) { - return comp + var target = mappingTable[mid]; + if (target[0][0] <= val && target[0][1] >= val) { + return target; + } else if (target[0][0] > val) { + end = mid - 1; } else { - comp = comp.value + start = mid + 1; } } - if (!(this instanceof Comparator)) { - return new Comparator(comp, options) - } - - debug('comparator', comp, options) - this.options = options - this.loose = !!options.loose - this.parse(comp) + return null; +} + +var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; + +function countSymbols(string) { + return string + // replace every surrogate pair with a BMP symbol + .replace(regexAstralSymbols, '_') + // then get the length + .length; +} + +function mapChars(domain_name, useSTD3, processing_option) { + var hasError = false; + var processed = ""; + + var len = countSymbols(domain_name); + for (var i = 0; i < len; ++i) { + var codePoint = domain_name.codePointAt(i); + var status = findStatus(codePoint); + + switch (status[1]) { + case "disallowed": + hasError = true; + processed += String.fromCodePoint(codePoint); + break; + case "ignored": + break; + case "mapped": + processed += String.fromCodePoint.apply(String, status[2]); + break; + case "deviation": + if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { + processed += String.fromCodePoint.apply(String, status[2]); + } else { + processed += String.fromCodePoint(codePoint); + } + break; + case "valid": + processed += String.fromCodePoint(codePoint); + break; + case "disallowed_STD3_mapped": + if (useSTD3) { + hasError = true; + processed += String.fromCodePoint(codePoint); + } else { + processed += String.fromCodePoint.apply(String, status[2]); + } + break; + case "disallowed_STD3_valid": + if (useSTD3) { + hasError = true; + } - if (this.semver === ANY) { - this.value = '' - } else { - this.value = this.operator + this.semver.version + processed += String.fromCodePoint(codePoint); + break; + } } - debug('comp', this) + return { + string: processed, + error: hasError + }; } -var ANY = {} -Comparator.prototype.parse = function (comp) { - var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] - var m = comp.match(r) +var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; - if (!m) { - throw new TypeError('Invalid comparator: ' + comp) +function validateLabel(label, processing_option) { + if (label.substr(0, 4) === "xn--") { + label = punycode.toUnicode(label); + processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL; } - this.operator = m[1] !== undefined ? m[1] : '' - if (this.operator === '=') { - this.operator = '' + var error = false; + + if (normalize(label) !== label || + (label[3] === "-" && label[4] === "-") || + label[0] === "-" || label[label.length - 1] === "-" || + label.indexOf(".") !== -1 || + label.search(combiningMarksRegex) === 0) { + error = true; } - // if it literally is just '>' or '' then allow anything. - if (!m[2]) { - this.semver = ANY - } else { - this.semver = new SemVer(m[2], this.options.loose) + var len = countSymbols(label); + for (var i = 0; i < len; ++i) { + var status = findStatus(label.codePointAt(i)); + if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid") || + (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && + status[1] !== "valid" && status[1] !== "deviation")) { + error = true; + break; + } } -} -Comparator.prototype.toString = function () { - return this.value + return { + label: label, + error: error + }; } -Comparator.prototype.test = function (version) { - debug('Comparator.test', version, this.options.loose) - - if (this.semver === ANY || version === ANY) { - return true - } +function processing(domain_name, useSTD3, processing_option) { + var result = mapChars(domain_name, useSTD3, processing_option); + result.string = normalize(result.string); - if (typeof version === 'string') { + var labels = result.string.split("."); + for (var i = 0; i < labels.length; ++i) { try { - version = new SemVer(version, this.options) - } catch (er) { - return false + var validation = validateLabel(labels[i]); + labels[i] = validation.label; + result.error = result.error || validation.error; + } catch(e) { + result.error = true; } } - return cmp(version, this.operator, this.semver, this.options) + return { + string: labels.join("."), + error: result.error + }; } -Comparator.prototype.intersects = function (comp, options) { - if (!(comp instanceof Comparator)) { - throw new TypeError('a Comparator is required') - } - - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false +module.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { + var result = processing(domain_name, useSTD3, processing_option); + var labels = result.string.split("."); + labels = labels.map(function(l) { + try { + return punycode.toASCII(l); + } catch(e) { + result.error = true; + return l; } - } - - var rangeTmp + }); - if (this.operator === '') { - if (this.value === '') { - return true + if (verifyDnsLength) { + var total = labels.slice(0, labels.length - 1).join(".").length; + if (total.length > 253 || total.length === 0) { + result.error = true; } - rangeTmp = new Range(comp.value, options) - return satisfies(this.value, rangeTmp, options) - } else if (comp.operator === '') { - if (comp.value === '') { - return true + + for (var i=0; i < labels.length; ++i) { + if (labels.length > 63 || labels.length === 0) { + result.error = true; + break; + } } - rangeTmp = new Range(this.value, options) - return satisfies(comp.semver, rangeTmp, options) } - var sameDirectionIncreasing = - (this.operator === '>=' || this.operator === '>') && - (comp.operator === '>=' || comp.operator === '>') - var sameDirectionDecreasing = - (this.operator === '<=' || this.operator === '<') && - (comp.operator === '<=' || comp.operator === '<') - var sameSemVer = this.semver.version === comp.semver.version - var differentDirectionsInclusive = - (this.operator === '>=' || this.operator === '<=') && - (comp.operator === '>=' || comp.operator === '<=') - var oppositeDirectionsLessThan = - cmp(this.semver, '<', comp.semver, options) && - ((this.operator === '>=' || this.operator === '>') && - (comp.operator === '<=' || comp.operator === '<')) - var oppositeDirectionsGreaterThan = - cmp(this.semver, '>', comp.semver, options) && - ((this.operator === '<=' || this.operator === '<') && - (comp.operator === '>=' || comp.operator === '>')) + if (result.error) return null; + return labels.join("."); +}; - return sameDirectionIncreasing || sameDirectionDecreasing || - (sameSemVer && differentDirectionsInclusive) || - oppositeDirectionsLessThan || oppositeDirectionsGreaterThan -} +module.exports.toUnicode = function(domain_name, useSTD3) { + var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); -exports.Range = Range -function Range (range, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } + return { + domain: result.string, + error: result.error + }; +}; - if (range instanceof Range) { - if (range.loose === !!options.loose && - range.includePrerelease === !!options.includePrerelease) { - return range - } else { - return new Range(range.raw, options) - } - } +module.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS; - if (range instanceof Comparator) { - return new Range(range.value, options) - } - if (!(this instanceof Range)) { - return new Range(range, options) - } +/***/ }), - this.options = options - this.loose = !!options.loose - this.includePrerelease = !!options.includePrerelease +/***/ 7295: +/***/ ((module) => { - // First, split based on boolean or || - this.raw = range - this.set = range.split(/\s*\|\|\s*/).map(function (range) { - return this.parseRange(range.trim()) - }, this).filter(function (c) { - // throw out any that are not relevant for whatever reason - return c.length - }) +"use strict"; - if (!this.set.length) { - throw new TypeError('Invalid SemVer Range: ' + range) - } - this.format() -} +var conversions = {}; +module.exports = conversions; -Range.prototype.format = function () { - this.range = this.set.map(function (comps) { - return comps.join(' ').trim() - }).join('||').trim() - return this.range +function sign(x) { + return x < 0 ? -1 : 1; } -Range.prototype.toString = function () { - return this.range +function evenRound(x) { + // Round x to the nearest integer, choosing the even integer if it lies halfway between two. + if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor) + return Math.floor(x); + } else { + return Math.round(x); + } } -Range.prototype.parseRange = function (range) { - var loose = this.options.loose - range = range.trim() - // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` - var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE] - range = range.replace(hr, hyphenReplace) - debug('hyphen replace', range) - // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` - range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace) - debug('comparator trim', range, re[t.COMPARATORTRIM]) +function createNumberConversion(bitLength, typeOpts) { + if (!typeOpts.unsigned) { + --bitLength; + } + const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength); + const upperBound = Math.pow(2, bitLength) - 1; - // `~ 1.2.3` => `~1.2.3` - range = range.replace(re[t.TILDETRIM], tildeTrimReplace) + const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength); + const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); - // `^ 1.2.3` => `^1.2.3` - range = range.replace(re[t.CARETTRIM], caretTrimReplace) + return function(V, opts) { + if (!opts) opts = {}; - // normalize spaces - range = range.split(/\s+/).join(' ') + let x = +V; - // At this point, the range is completely trimmed and - // ready to be split into comparators. + if (opts.enforceRange) { + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite number"); + } - var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] - var set = range.split(' ').map(function (comp) { - return parseComparator(comp, this.options) - }, this).join(' ').split(/\s+/) - if (this.options.loose) { - // in loose mode, throw out any that are not valid comparators - set = set.filter(function (comp) { - return !!comp.match(compRe) - }) - } - set = set.map(function (comp) { - return new Comparator(comp, this.options) - }, this) + x = sign(x) * Math.floor(Math.abs(x)); + if (x < lowerBound || x > upperBound) { + throw new TypeError("Argument is not in byte range"); + } - return set -} + return x; + } -Range.prototype.intersects = function (range, options) { - if (!(range instanceof Range)) { - throw new TypeError('a Range is required') - } + if (!isNaN(x) && opts.clamp) { + x = evenRound(x); - return this.set.some(function (thisComparators) { - return ( - isSatisfiable(thisComparators, options) && - range.set.some(function (rangeComparators) { - return ( - isSatisfiable(rangeComparators, options) && - thisComparators.every(function (thisComparator) { - return rangeComparators.every(function (rangeComparator) { - return thisComparator.intersects(rangeComparator, options) - }) - }) - ) - }) - ) - }) -} + if (x < lowerBound) x = lowerBound; + if (x > upperBound) x = upperBound; + return x; + } -// take a set of comparators and determine whether there -// exists a version which can satisfy it -function isSatisfiable (comparators, options) { - var result = true - var remainingComparators = comparators.slice() - var testComparator = remainingComparators.pop() + if (!Number.isFinite(x) || x === 0) { + return 0; + } - while (result && remainingComparators.length) { - result = remainingComparators.every(function (otherComparator) { - return testComparator.intersects(otherComparator, options) - }) + x = sign(x) * Math.floor(Math.abs(x)); + x = x % moduloVal; - testComparator = remainingComparators.pop() - } + if (!typeOpts.unsigned && x >= moduloBound) { + return x - moduloVal; + } else if (typeOpts.unsigned) { + if (x < 0) { + x += moduloVal; + } else if (x === -0) { // don't return negative zero + return 0; + } + } - return result + return x; + } } -// Mostly just for testing and legacy API reasons -exports.toComparators = toComparators -function toComparators (range, options) { - return new Range(range, options).set.map(function (comp) { - return comp.map(function (c) { - return c.value - }).join(' ').trim().split(' ') - }) -} +conversions["void"] = function () { + return undefined; +}; -// comprised of xranges, tildes, stars, and gtlt's at this point. -// already replaced the hyphen ranges -// turn into a set of JUST comparators. -function parseComparator (comp, options) { - debug('comp', comp, options) - comp = replaceCarets(comp, options) - debug('caret', comp) - comp = replaceTildes(comp, options) - debug('tildes', comp) - comp = replaceXRanges(comp, options) - debug('xrange', comp) - comp = replaceStars(comp, options) - debug('stars', comp) - return comp -} +conversions["boolean"] = function (val) { + return !!val; +}; -function isX (id) { - return !id || id.toLowerCase() === 'x' || id === '*' -} +conversions["byte"] = createNumberConversion(8, { unsigned: false }); +conversions["octet"] = createNumberConversion(8, { unsigned: true }); -// ~, ~> --> * (any, kinda silly) -// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0 -// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0 -// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0 -// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0 -// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0 -function replaceTildes (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceTilde(comp, options) - }).join(' ') -} +conversions["short"] = createNumberConversion(16, { unsigned: false }); +conversions["unsigned short"] = createNumberConversion(16, { unsigned: true }); -function replaceTilde (comp, options) { - var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE] - return comp.replace(r, function (_, M, m, p, pr) { - debug('tilde', comp, _, M, m, p, pr) - var ret +conversions["long"] = createNumberConversion(32, { unsigned: false }); +conversions["unsigned long"] = createNumberConversion(32, { unsigned: true }); - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - // ~1.2 == >=1.2.0 <1.3.0 - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else if (pr) { - debug('replaceTilde pr', pr) - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' - } else { - // ~1.2.3 == >=1.2.3 <1.3.0 - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' +conversions["long long"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); +conversions["unsigned long long"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 }); + +conversions["double"] = function (V) { + const x = +V; + + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite floating-point value"); } - debug('tilde return', ret) - return ret - }) -} + return x; +}; -// ^ --> * (any, kinda silly) -// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0 -// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0 -// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0 -// ^1.2.3 --> >=1.2.3 <2.0.0 -// ^1.2.0 --> >=1.2.0 <2.0.0 -function replaceCarets (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceCaret(comp, options) - }).join(' ') -} +conversions["unrestricted double"] = function (V) { + const x = +V; -function replaceCaret (comp, options) { - debug('caret', comp, options) - var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET] - return comp.replace(r, function (_, M, m, p, pr) { - debug('caret', comp, _, M, m, p, pr) - var ret + if (isNaN(x)) { + throw new TypeError("Argument is NaN"); + } - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - if (M === '0') { - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else { - ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0' - } - } else if (pr) { - debug('replaceCaret pr', pr) - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + m + '.' + (+p + 1) - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' + return x; +}; + +// not quite valid, but good enough for JS +conversions["float"] = conversions["double"]; +conversions["unrestricted float"] = conversions["unrestricted double"]; + +conversions["DOMString"] = function (V, opts) { + if (!opts) opts = {}; + + if (opts.treatNullAsEmptyString && V === null) { + return ""; + } + + return String(V); +}; + +conversions["ByteString"] = function (V, opts) { + const x = String(V); + let c = undefined; + for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) { + if (c > 255) { + throw new TypeError("Argument is not a valid bytestring"); } - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + (+M + 1) + '.0.0' - } - } else { - debug('no pr') - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + m + '.' + (+p + 1) + } + + return x; +}; + +conversions["USVString"] = function (V) { + const S = String(V); + const n = S.length; + const U = []; + for (let i = 0; i < n; ++i) { + const c = S.charCodeAt(i); + if (c < 0xD800 || c > 0xDFFF) { + U.push(String.fromCodePoint(c)); + } else if (0xDC00 <= c && c <= 0xDFFF) { + U.push(String.fromCodePoint(0xFFFD)); } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' + if (i === n - 1) { + U.push(String.fromCodePoint(0xFFFD)); + } else { + const d = S.charCodeAt(i + 1); + if (0xDC00 <= d && d <= 0xDFFF) { + const a = c & 0x3FF; + const b = d & 0x3FF; + U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b)); + ++i; + } else { + U.push(String.fromCodePoint(0xFFFD)); + } + } } - } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + (+M + 1) + '.0.0' - } } - debug('caret return', ret) - return ret - }) -} + return U.join(''); +}; -function replaceXRanges (comp, options) { - debug('replaceXRanges', comp, options) - return comp.split(/\s+/).map(function (comp) { - return replaceXRange(comp, options) - }).join(' ') -} +conversions["Date"] = function (V, opts) { + if (!(V instanceof Date)) { + throw new TypeError("Argument is not a Date object"); + } + if (isNaN(V)) { + return undefined; + } -function replaceXRange (comp, options) { - comp = comp.trim() - var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE] - return comp.replace(r, function (ret, gtlt, M, m, p, pr) { - debug('xRange', comp, ret, gtlt, M, m, p, pr) - var xM = isX(M) - var xm = xM || isX(m) - var xp = xm || isX(p) - var anyX = xp + return V; +}; - if (gtlt === '=' && anyX) { - gtlt = '' +conversions["RegExp"] = function (V, opts) { + if (!(V instanceof RegExp)) { + V = new RegExp(V); } - // if we're including prereleases in the match, then we need - // to fix this to -0, the lowest possible prerelease value - pr = options.includePrerelease ? '-0' : '' + return V; +}; - if (xM) { - if (gtlt === '>' || gtlt === '<') { - // nothing is allowed - ret = '<0.0.0-0' - } else { - // nothing is forbidden - ret = '*' - } - } else if (gtlt && anyX) { - // we know patch is an x, because we have any x at all. - // replace X with 0 - if (xm) { - m = 0 - } - p = 0 - if (gtlt === '>') { - // >1 => >=2.0.0 - // >1.2 => >=1.3.0 - // >1.2.3 => >= 1.2.4 - gtlt = '>=' - if (xm) { - M = +M + 1 - m = 0 - p = 0 - } else { - m = +m + 1 - p = 0 - } - } else if (gtlt === '<=') { - // <=0.7.x is actually <0.8.0, since any 0.7.x should - // pass. Similarly, <=7.x is actually <8.0.0, etc. - gtlt = '<' - if (xm) { - M = +M + 1 - } else { - m = +m + 1 - } - } +/***/ }), - ret = gtlt + M + '.' + m + '.' + p + pr - } else if (xm) { - ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr - } else if (xp) { - ret = '>=' + M + '.' + m + '.0' + pr + - ' <' + M + '.' + (+m + 1) + '.0' + pr +/***/ 6125: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +const usm = __nccwpck_require__(7783); + +exports.implementation = class URLImpl { + constructor(constructorArgs) { + const url = constructorArgs[0]; + const base = constructorArgs[1]; + + let parsedBase = null; + if (base !== undefined) { + parsedBase = usm.basicURLParse(base); + if (parsedBase === "failure") { + throw new TypeError("Invalid base URL"); + } } - debug('xRange return', ret) + const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase }); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } - return ret - }) -} + this._url = parsedURL; -// Because * is AND-ed with everything else in the comparator, -// and '' means "any version", just remove the *s entirely. -function replaceStars (comp, options) { - debug('replaceStars', comp, options) - // Looseness is ignored here. star is always as loose as it gets! - return comp.trim().replace(re[t.STAR], '') -} + // TODO: query stuff + } -// This function is passed to string.replace(re[t.HYPHENRANGE]) -// M, m, patch, prerelease, build -// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 -// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do -// 1.2 - 3.4 => >=1.2.0 <3.5.0 -function hyphenReplace ($0, - from, fM, fm, fp, fpr, fb, - to, tM, tm, tp, tpr, tb) { - if (isX(fM)) { - from = '' - } else if (isX(fm)) { - from = '>=' + fM + '.0.0' - } else if (isX(fp)) { - from = '>=' + fM + '.' + fm + '.0' - } else { - from = '>=' + from + get href() { + return usm.serializeURL(this._url); } - if (isX(tM)) { - to = '' - } else if (isX(tm)) { - to = '<' + (+tM + 1) + '.0.0' - } else if (isX(tp)) { - to = '<' + tM + '.' + (+tm + 1) + '.0' - } else if (tpr) { - to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr - } else { - to = '<=' + to + set href(v) { + const parsedURL = usm.basicURLParse(v); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } + + this._url = parsedURL; } - return (from + ' ' + to).trim() -} + get origin() { + return usm.serializeURLOrigin(this._url); + } -// if ANY of the sets match ALL of its comparators, then pass -Range.prototype.test = function (version) { - if (!version) { - return false + get protocol() { + return this._url.scheme + ":"; } - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } + set protocol(v) { + usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" }); } - for (var i = 0; i < this.set.length; i++) { - if (testSet(this.set[i], version, this.options)) { - return true + get username() { + return this._url.username; + } + + set username(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; } + + usm.setTheUsername(this._url, v); } - return false -} -function testSet (set, version, options) { - for (var i = 0; i < set.length; i++) { - if (!set[i].test(version)) { - return false + get password() { + return this._url.password; + } + + set password(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; } + + usm.setThePassword(this._url, v); } - if (version.prerelease.length && !options.includePrerelease) { - // Find the set of versions that are allowed to have prereleases - // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 - // That should allow `1.2.3-pr.2` to pass. - // However, `1.2.4-alpha.notready` should NOT be allowed, - // even though it's within the range set by the comparators. - for (i = 0; i < set.length; i++) { - debug(set[i].semver) - if (set[i].semver === ANY) { - continue - } + get host() { + const url = this._url; - if (set[i].semver.prerelease.length > 0) { - var allowed = set[i].semver - if (allowed.major === version.major && - allowed.minor === version.minor && - allowed.patch === version.patch) { - return true - } - } + if (url.host === null) { + return ""; } - // Version has a -pre, but it's not one of the ones we like. - return false + if (url.port === null) { + return usm.serializeHost(url.host); + } + + return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); } - return true -} + set host(v) { + if (this._url.cannotBeABaseURL) { + return; + } -exports.satisfies = satisfies -function satisfies (version, range, options) { - try { - range = new Range(range, options) - } catch (er) { - return false + usm.basicURLParse(v, { url: this._url, stateOverride: "host" }); } - return range.test(version) -} -exports.maxSatisfying = maxSatisfying -function maxSatisfying (versions, range, options) { - var max = null - var maxSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null + get hostname() { + if (this._url.host === null) { + return ""; + } + + return usm.serializeHost(this._url.host); } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!max || maxSV.compare(v) === -1) { - // compare(max, v, true) - max = v - maxSV = new SemVer(max, options) - } + + set hostname(v) { + if (this._url.cannotBeABaseURL) { + return; } - }) - return max -} -exports.minSatisfying = minSatisfying -function minSatisfying (versions, range, options) { - var min = null - var minSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null + usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" }); } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!min || minSV.compare(v) === 1) { - // compare(min, v, true) - min = v - minSV = new SemVer(min, options) - } + + get port() { + if (this._url.port === null) { + return ""; } - }) - return min -} -exports.minVersion = minVersion -function minVersion (range, loose) { - range = new Range(range, loose) + return usm.serializeInteger(this._url.port); + } - var minver = new SemVer('0.0.0') - if (range.test(minver)) { - return minver + set port(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } + + if (v === "") { + this._url.port = null; + } else { + usm.basicURLParse(v, { url: this._url, stateOverride: "port" }); + } } - minver = new SemVer('0.0.0-0') - if (range.test(minver)) { - return minver + get pathname() { + if (this._url.cannotBeABaseURL) { + return this._url.path[0]; + } + + if (this._url.path.length === 0) { + return ""; + } + + return "/" + this._url.path.join("/"); } - minver = null - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] + set pathname(v) { + if (this._url.cannotBeABaseURL) { + return; + } - comparators.forEach(function (comparator) { - // Clone to avoid manipulating the comparator's semver object. - var compver = new SemVer(comparator.semver.version) - switch (comparator.operator) { - case '>': - if (compver.prerelease.length === 0) { - compver.patch++ - } else { - compver.prerelease.push(0) - } - compver.raw = compver.format() - /* fallthrough */ - case '': - case '>=': - if (!minver || gt(minver, compver)) { - minver = compver - } - break - case '<': - case '<=': - /* Ignore maximum versions */ - break - /* istanbul ignore next */ - default: - throw new Error('Unexpected operation: ' + comparator.operator) - } - }) + this._url.path = []; + usm.basicURLParse(v, { url: this._url, stateOverride: "path start" }); } - if (minver && range.test(minver)) { - return minver + get search() { + if (this._url.query === null || this._url.query === "") { + return ""; + } + + return "?" + this._url.query; } - return null -} + set search(v) { + // TODO: query stuff -exports.validRange = validRange -function validRange (range, options) { - try { - // Return '*' instead of '' so that truthiness works. - // This will throw if it's invalid anyway - return new Range(range, options).range || '*' - } catch (er) { - return null + const url = this._url; + + if (v === "") { + url.query = null; + return; + } + + const input = v[0] === "?" ? v.substring(1) : v; + url.query = ""; + usm.basicURLParse(input, { url, stateOverride: "query" }); } -} -// Determine if version is less than all the versions possible in the range -exports.ltr = ltr -function ltr (version, range, options) { - return outside(version, range, '<', options) -} + get hash() { + if (this._url.fragment === null || this._url.fragment === "") { + return ""; + } -// Determine if version is greater than all the versions possible in the range. -exports.gtr = gtr -function gtr (version, range, options) { - return outside(version, range, '>', options) -} + return "#" + this._url.fragment; + } -exports.outside = outside -function outside (version, range, hilo, options) { - version = new SemVer(version, options) - range = new Range(range, options) + set hash(v) { + if (v === "") { + this._url.fragment = null; + return; + } - var gtfn, ltefn, ltfn, comp, ecomp - switch (hilo) { - case '>': - gtfn = gt - ltefn = lte - ltfn = lt - comp = '>' - ecomp = '>=' - break - case '<': - gtfn = lt - ltefn = gte - ltfn = gt - comp = '<' - ecomp = '<=' - break - default: - throw new TypeError('Must provide a hilo val of "<" or ">"') + const input = v[0] === "#" ? v.substring(1) : v; + this._url.fragment = ""; + usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" }); } - // If it satisifes the range it is not outside - if (satisfies(version, range, options)) { - return false + toJSON() { + return this.href; } +}; - // From now on, variable terms are as if we're in "gtr" mode. - // but note that everything is flipped for the "ltr" function. - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] +/***/ }), - var high = null - var low = null +/***/ 8570: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - comparators.forEach(function (comparator) { - if (comparator.semver === ANY) { - comparator = new Comparator('>=0.0.0') - } - high = high || comparator - low = low || comparator - if (gtfn(comparator.semver, high.semver, options)) { - high = comparator - } else if (ltfn(comparator.semver, low.semver, options)) { - low = comparator - } - }) +"use strict"; - // If the edge version comparator has a operator then our version - // isn't outside it - if (high.operator === comp || high.operator === ecomp) { - return false - } - // If the lowest version comparator has an operator and our version - // is less than it then it isn't higher than the range - if ((!low.operator || low.operator === comp) && - ltefn(version, low.semver)) { - return false - } else if (low.operator === ecomp && ltfn(version, low.semver)) { - return false - } - } - return true -} - -exports.prerelease = prerelease -function prerelease (version, options) { - var parsed = parse(version, options) - return (parsed && parsed.prerelease.length) ? parsed.prerelease : null -} +const conversions = __nccwpck_require__(7295); +const utils = __nccwpck_require__(6048); +const Impl = __nccwpck_require__(6125); -exports.intersects = intersects -function intersects (r1, r2, options) { - r1 = new Range(r1, options) - r2 = new Range(r2, options) - return r1.intersects(r2) -} +const impl = utils.implSymbol; -exports.coerce = coerce -function coerce (version, options) { - if (version instanceof SemVer) { - return version +function URL(url) { + if (!this || this[impl] || !(this instanceof URL)) { + throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); } - - if (typeof version === 'number') { - version = String(version) + if (arguments.length < 1) { + throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); } - - if (typeof version !== 'string') { - return null + const args = []; + for (let i = 0; i < arguments.length && i < 2; ++i) { + args[i] = arguments[i]; + } + args[0] = conversions["USVString"](args[0]); + if (args[1] !== undefined) { + args[1] = conversions["USVString"](args[1]); } - options = options || {} + module.exports.setup(this, args); +} - var match = null - if (!options.rtl) { - match = version.match(re[t.COERCE]) - } else { - // Find the right-most coercible string that does not share - // a terminus with a more left-ward coercible string. - // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' - // - // Walk through the string checking with a /g regexp - // Manually set the index so as to pick up overlapping matches. - // Stop when we get a match that ends at the string end, since no - // coercible string can be more right-ward without the same terminus. - var next - while ((next = re[t.COERCERTL].exec(version)) && - (!match || match.index + match[0].length !== version.length) - ) { - if (!match || - next.index + next[0].length !== match.index + match[0].length) { - match = next - } - re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length - } - // leave it in a clean state - re[t.COERCERTL].lastIndex = -1 +URL.prototype.toJSON = function toJSON() { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); } + const args = []; + for (let i = 0; i < arguments.length && i < 0; ++i) { + args[i] = arguments[i]; + } + return this[impl].toJSON.apply(this[impl], args); +}; +Object.defineProperty(URL.prototype, "href", { + get() { + return this[impl].href; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].href = V; + }, + enumerable: true, + configurable: true +}); - if (match === null) { - return null +URL.prototype.toString = function () { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); } + return this.href; +}; - return parse(match[2] + - '.' + (match[3] || '0') + - '.' + (match[4] || '0'), options) -} +Object.defineProperty(URL.prototype, "origin", { + get() { + return this[impl].origin; + }, + enumerable: true, + configurable: true +}); +Object.defineProperty(URL.prototype, "protocol", { + get() { + return this[impl].protocol; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].protocol = V; + }, + enumerable: true, + configurable: true +}); -/***/ }), +Object.defineProperty(URL.prototype, "username", { + get() { + return this[impl].username; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].username = V; + }, + enumerable: true, + configurable: true +}); -/***/ 3355: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +Object.defineProperty(URL.prototype, "password", { + get() { + return this[impl].password; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].password = V; + }, + enumerable: true, + configurable: true +}); -"use strict"; +Object.defineProperty(URL.prototype, "host", { + get() { + return this[impl].host; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].host = V; + }, + enumerable: true, + configurable: true +}); +Object.defineProperty(URL.prototype, "hostname", { + get() { + return this[impl].hostname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hostname = V; + }, + enumerable: true, + configurable: true +}); -var GetIntrinsic = __nccwpck_require__(4880); -var callBound = __nccwpck_require__(4353); -var inspect = __nccwpck_require__(3343); +Object.defineProperty(URL.prototype, "port", { + get() { + return this[impl].port; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].port = V; + }, + enumerable: true, + configurable: true +}); -var $TypeError = GetIntrinsic('%TypeError%'); -var $WeakMap = GetIntrinsic('%WeakMap%', true); -var $Map = GetIntrinsic('%Map%', true); +Object.defineProperty(URL.prototype, "pathname", { + get() { + return this[impl].pathname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].pathname = V; + }, + enumerable: true, + configurable: true +}); -var $weakMapGet = callBound('WeakMap.prototype.get', true); -var $weakMapSet = callBound('WeakMap.prototype.set', true); -var $weakMapHas = callBound('WeakMap.prototype.has', true); -var $mapGet = callBound('Map.prototype.get', true); -var $mapSet = callBound('Map.prototype.set', true); -var $mapHas = callBound('Map.prototype.has', true); +Object.defineProperty(URL.prototype, "search", { + get() { + return this[impl].search; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].search = V; + }, + enumerable: true, + configurable: true +}); -/* - * This function traverses the list returning the node corresponding to the - * given key. - * - * That node is also moved to the head of the list, so that if it's accessed - * again we don't need to traverse the whole list. By doing so, all the recently - * used nodes can be accessed relatively quickly. - */ -var listGetNode = function (list, key) { // eslint-disable-line consistent-return - for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) { - if (curr.key === key) { - prev.next = curr.next; - curr.next = list.next; - list.next = curr; // eslint-disable-line no-param-reassign - return curr; - } - } -}; +Object.defineProperty(URL.prototype, "hash", { + get() { + return this[impl].hash; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hash = V; + }, + enumerable: true, + configurable: true +}); -var listGet = function (objects, key) { - var node = listGetNode(objects, key); - return node && node.value; -}; -var listSet = function (objects, key, value) { - var node = listGetNode(objects, key); - if (node) { - node.value = value; - } else { - // Prepend the new node to the beginning of the list - objects.next = { // eslint-disable-line no-param-reassign - key: key, - next: objects.next, - value: value - }; - } -}; -var listHas = function (objects, key) { - return !!listGetNode(objects, key); -}; -module.exports = function getSideChannel() { - var $wm; - var $m; - var $o; - var channel = { - assert: function (key) { - if (!channel.has(key)) { - throw new $TypeError('Side channel does not contain ' + inspect(key)); - } - }, - get: function (key) { // eslint-disable-line consistent-return - if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { - if ($wm) { - return $weakMapGet($wm, key); - } - } else if ($Map) { - if ($m) { - return $mapGet($m, key); - } - } else { - if ($o) { // eslint-disable-line no-lonely-if - return listGet($o, key); - } - } - }, - has: function (key) { - if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { - if ($wm) { - return $weakMapHas($wm, key); - } - } else if ($Map) { - if ($m) { - return $mapHas($m, key); - } - } else { - if ($o) { // eslint-disable-line no-lonely-if - return listHas($o, key); - } - } - return false; - }, - set: function (key, value) { - if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { - if (!$wm) { - $wm = new $WeakMap(); - } - $weakMapSet($wm, key, value); - } else if ($Map) { - if (!$m) { - $m = new $Map(); - } - $mapSet($m, key, value); - } else { - if (!$o) { - /* - * Initialize the linked list as an empty node, so that we don't have - * to special-case handling of the first node: we can always refer to - * it as (previous node).next, instead of something like (list).head - */ - $o = { key: {}, next: null }; - } - listSet($o, key, value); - } - } - }; - return channel; +module.exports = { + is(obj) { + return !!obj && obj[impl] instanceof Impl.implementation; + }, + create(constructorArgs, privateData) { + let obj = Object.create(URL.prototype); + this.setup(obj, constructorArgs, privateData); + return obj; + }, + setup(obj, constructorArgs, privateData) { + if (!privateData) privateData = {}; + privateData.wrapper = obj; + + obj[impl] = new Impl.implementation(constructorArgs, privateData); + obj[impl][utils.wrapperSymbol] = obj; + }, + interface: URL, + expose: { + Window: { URL: URL }, + Worker: { URL: URL } + } }; + /***/ }), -/***/ 9958: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 2752: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; -module.exports = __nccwpck_require__(9306); + +exports.URL = __nccwpck_require__(8570)["interface"]; +exports.serializeURL = __nccwpck_require__(7783).serializeURL; +exports.serializeURLOrigin = __nccwpck_require__(7783).serializeURLOrigin; +exports.basicURLParse = __nccwpck_require__(7783).basicURLParse; +exports.setTheUsername = __nccwpck_require__(7783).setTheUsername; +exports.setThePassword = __nccwpck_require__(7783).setThePassword; +exports.serializeHost = __nccwpck_require__(7783).serializeHost; +exports.serializeInteger = __nccwpck_require__(7783).serializeInteger; +exports.parseURL = __nccwpck_require__(7783).parseURL; /***/ }), -/***/ 9306: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 7783: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; + +const punycode = __nccwpck_require__(5477); +const tr46 = __nccwpck_require__(8992); + +const specialSchemes = { + ftp: 21, + file: null, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443 +}; + +const failure = Symbol("failure"); + +function countSymbols(str) { + return punycode.ucs2.decode(str).length; +} + +function at(input, idx) { + const c = input[idx]; + return isNaN(c) ? undefined : String.fromCodePoint(c); +} + +function isASCIIDigit(c) { + return c >= 0x30 && c <= 0x39; +} + +function isASCIIAlpha(c) { + return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); +} + +function isASCIIAlphanumeric(c) { + return isASCIIAlpha(c) || isASCIIDigit(c); +} + +function isASCIIHex(c) { + return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); +} + +function isSingleDot(buffer) { + return buffer === "." || buffer.toLowerCase() === "%2e"; +} + +function isDoubleDot(buffer) { + buffer = buffer.toLowerCase(); + return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; +} + +function isWindowsDriveLetterCodePoints(cp1, cp2) { + return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); +} + +function isWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); +} + +function isNormalizedWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; +} + +function containsForbiddenHostCodePoint(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; +} + +function containsForbiddenHostCodePointExcludingPercent(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; +} + +function isSpecialScheme(scheme) { + return specialSchemes[scheme] !== undefined; +} + +function isSpecial(url) { + return isSpecialScheme(url.scheme); +} + +function defaultPort(scheme) { + return specialSchemes[scheme]; +} + +function percentEncode(c) { + let hex = c.toString(16).toUpperCase(); + if (hex.length === 1) { + hex = "0" + hex; + } + + return "%" + hex; +} + +function utf8PercentEncode(c) { + const buf = new Buffer(c); + + let str = ""; + + for (let i = 0; i < buf.length; ++i) { + str += percentEncode(buf[i]); + } + + return str; +} + +function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (input[i] !== 37) { + output.push(input[i]); + } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { + output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); + i += 2; + } else { + output.push(input[i]); + } + } + return new Buffer(output).toString(); +} + +function isC0ControlPercentEncode(c) { + return c <= 0x1F || c > 0x7E; +} + +const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); +function isPathPercentEncode(c) { + return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); +} + +const extraUserinfoPercentEncodeSet = + new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); +function isUserinfoPercentEncode(c) { + return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); +} + +function percentEncodeChar(c, encodeSetPredicate) { + const cStr = String.fromCodePoint(c); + + if (encodeSetPredicate(c)) { + return utf8PercentEncode(cStr); + } + + return cStr; +} + +function parseIPv4Number(input) { + let R = 10; + + if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { + input = input.substring(2); + R = 16; + } else if (input.length >= 2 && input.charAt(0) === "0") { + input = input.substring(1); + R = 8; + } + + if (input === "") { + return 0; + } + + const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); + if (regex.test(input)) { + return failure; + } + + return parseInt(input, R); +} + +function parseIPv4(input) { + const parts = input.split("."); + if (parts[parts.length - 1] === "") { + if (parts.length > 1) { + parts.pop(); + } + } + + if (parts.length > 4) { + return input; + } + + const numbers = []; + for (const part of parts) { + if (part === "") { + return input; + } + const n = parseIPv4Number(part); + if (n === failure) { + return input; + } + + numbers.push(n); + } + + for (let i = 0; i < numbers.length - 1; ++i) { + if (numbers[i] > 255) { + return failure; + } + } + if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { + return failure; + } + + let ipv4 = numbers.pop(); + let counter = 0; + + for (const n of numbers) { + ipv4 += n * Math.pow(256, 3 - counter); + ++counter; + } + + return ipv4; +} + +function serializeIPv4(address) { + let output = ""; + let n = address; + + for (let i = 1; i <= 4; ++i) { + output = String(n % 256) + output; + if (i !== 4) { + output = "." + output; + } + n = Math.floor(n / 256); + } + + return output; +} + +function parseIPv6(input) { + const address = [0, 0, 0, 0, 0, 0, 0, 0]; + let pieceIndex = 0; + let compress = null; + let pointer = 0; + + input = punycode.ucs2.decode(input); + + if (input[pointer] === 58) { + if (input[pointer + 1] !== 58) { + return failure; + } + + pointer += 2; + ++pieceIndex; + compress = pieceIndex; + } + + while (pointer < input.length) { + if (pieceIndex === 8) { + return failure; + } + + if (input[pointer] === 58) { + if (compress !== null) { + return failure; + } + ++pointer; + ++pieceIndex; + compress = pieceIndex; + continue; + } + + let value = 0; + let length = 0; + + while (length < 4 && isASCIIHex(input[pointer])) { + value = value * 0x10 + parseInt(at(input, pointer), 16); + ++pointer; + ++length; + } + + if (input[pointer] === 46) { + if (length === 0) { + return failure; + } + + pointer -= length; + + if (pieceIndex > 6) { + return failure; + } + + let numbersSeen = 0; + + while (input[pointer] !== undefined) { + let ipv4Piece = null; + + if (numbersSeen > 0) { + if (input[pointer] === 46 && numbersSeen < 4) { + ++pointer; + } else { + return failure; + } + } + + if (!isASCIIDigit(input[pointer])) { + return failure; + } + + while (isASCIIDigit(input[pointer])) { + const number = parseInt(at(input, pointer)); + if (ipv4Piece === null) { + ipv4Piece = number; + } else if (ipv4Piece === 0) { + return failure; + } else { + ipv4Piece = ipv4Piece * 10 + number; + } + if (ipv4Piece > 255) { + return failure; + } + ++pointer; + } + + address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; + + ++numbersSeen; + + if (numbersSeen === 2 || numbersSeen === 4) { + ++pieceIndex; + } + } + + if (numbersSeen !== 4) { + return failure; + } + + break; + } else if (input[pointer] === 58) { + ++pointer; + if (input[pointer] === undefined) { + return failure; + } + } else if (input[pointer] !== undefined) { + return failure; + } + + address[pieceIndex] = value; + ++pieceIndex; + } + + if (compress !== null) { + let swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + const temp = address[compress + swaps - 1]; + address[compress + swaps - 1] = address[pieceIndex]; + address[pieceIndex] = temp; + --pieceIndex; + --swaps; + } + } else if (compress === null && pieceIndex !== 8) { + return failure; + } + + return address; +} + +function serializeIPv6(address) { + let output = ""; + const seqResult = findLongestZeroSequence(address); + const compress = seqResult.idx; + let ignore0 = false; + + for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { + if (ignore0 && address[pieceIndex] === 0) { + continue; + } else if (ignore0) { + ignore0 = false; + } + + if (compress === pieceIndex) { + const separator = pieceIndex === 0 ? "::" : ":"; + output += separator; + ignore0 = true; + continue; + } + + output += address[pieceIndex].toString(16); + + if (pieceIndex !== 7) { + output += ":"; + } + } + + return output; +} + +function parseHost(input, isSpecialArg) { + if (input[0] === "[") { + if (input[input.length - 1] !== "]") { + return failure; + } + + return parseIPv6(input.substring(1, input.length - 1)); + } + + if (!isSpecialArg) { + return parseOpaqueHost(input); + } + + const domain = utf8PercentDecode(input); + const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false); + if (asciiDomain === null) { + return failure; + } + + if (containsForbiddenHostCodePoint(asciiDomain)) { + return failure; + } + + const ipv4Host = parseIPv4(asciiDomain); + if (typeof ipv4Host === "number" || ipv4Host === failure) { + return ipv4Host; + } + + return asciiDomain; +} + +function parseOpaqueHost(input) { + if (containsForbiddenHostCodePointExcludingPercent(input)) { + return failure; + } + + let output = ""; + const decoded = punycode.ucs2.decode(input); + for (let i = 0; i < decoded.length; ++i) { + output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); + } + return output; +} + +function findLongestZeroSequence(arr) { + let maxIdx = null; + let maxLen = 1; // only find elements > 1 + let currStart = null; + let currLen = 0; + + for (let i = 0; i < arr.length; ++i) { + if (arr[i] !== 0) { + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + currStart = null; + currLen = 0; + } else { + if (currStart === null) { + currStart = i; + } + ++currLen; + } + } + + // if trailing zeros + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + return { + idx: maxIdx, + len: maxLen + }; +} + +function serializeHost(host) { + if (typeof host === "number") { + return serializeIPv4(host); + } + + // IPv6 serializer + if (host instanceof Array) { + return "[" + serializeIPv6(host) + "]"; + } + + return host; +} + +function trimControlChars(url) { + return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); +} + +function trimTabAndNewline(url) { + return url.replace(/\u0009|\u000A|\u000D/g, ""); +} + +function shortenPath(url) { + const path = url.path; + if (path.length === 0) { + return; + } + if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { + return; + } + + path.pop(); +} + +function includesCredentials(url) { + return url.username !== "" || url.password !== ""; +} + +function cannotHaveAUsernamePasswordPort(url) { + return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; +} + +function isNormalizedWindowsDriveLetter(string) { + return /^[A-Za-z]:$/.test(string); +} + +function URLStateMachine(input, base, encodingOverride, url, stateOverride) { + this.pointer = 0; + this.input = input; + this.base = base || null; + this.encodingOverride = encodingOverride || "utf-8"; + this.stateOverride = stateOverride; + this.url = url; + this.failure = false; + this.parseError = false; + + if (!this.url) { + this.url = { + scheme: "", + username: "", + password: "", + host: null, + port: null, + path: [], + query: null, + fragment: null, + + cannotBeABaseURL: false + }; + + const res = trimControlChars(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + } + + const res = trimTabAndNewline(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + + this.state = stateOverride || "scheme start"; + + this.buffer = ""; + this.atFlag = false; + this.arrFlag = false; + this.passwordTokenSeenFlag = false; + + this.input = punycode.ucs2.decode(this.input); + + for (; this.pointer <= this.input.length; ++this.pointer) { + const c = this.input[this.pointer]; + const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); + + // exec state machine + const ret = this["parse " + this.state](c, cStr); + if (!ret) { + break; // terminate algorithm + } else if (ret === failure) { + this.failure = true; + break; + } + } +} + +URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { + if (isASCIIAlpha(c)) { + this.buffer += cStr.toLowerCase(); + this.state = "scheme"; + } else if (!this.stateOverride) { + this.state = "no scheme"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { + if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { + this.buffer += cStr.toLowerCase(); + } else if (c === 58) { + if (this.stateOverride) { + if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { + return false; + } + + if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { + return false; + } + + if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { + return false; + } + + if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { + return false; + } + } + this.url.scheme = this.buffer; + this.buffer = ""; + if (this.stateOverride) { + return false; + } + if (this.url.scheme === "file") { + if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { + this.parseError = true; + } + this.state = "file"; + } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { + this.state = "special relative or authority"; + } else if (isSpecial(this.url)) { + this.state = "special authority slashes"; + } else if (this.input[this.pointer + 1] === 47) { + this.state = "path or authority"; + ++this.pointer; + } else { + this.url.cannotBeABaseURL = true; + this.url.path.push(""); + this.state = "cannot-be-a-base-URL path"; + } + } else if (!this.stateOverride) { + this.buffer = ""; + this.state = "no scheme"; + this.pointer = -1; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { + return failure; + } else if (this.base.cannotBeABaseURL && c === 35) { + this.url.scheme = this.base.scheme; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.url.cannotBeABaseURL = true; + this.state = "fragment"; + } else if (this.base.scheme === "file") { + this.state = "file"; + --this.pointer; + } else { + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { + if (c === 47) { + this.state = "authority"; + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + this.url.scheme = this.base.scheme; + if (isNaN(c)) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 47) { + this.state = "relative slash"; + } else if (c === 63) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else if (isSpecial(this.url) && c === 92) { + this.parseError = true; + this.state = "relative slash"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(0, this.base.path.length - 1); + + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { + if (isSpecial(this.url) && (c === 47 || c === 92)) { + if (c === 92) { + this.parseError = true; + } + this.state = "special authority ignore slashes"; + } else if (c === 47) { + this.state = "authority"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "special authority ignore slashes"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = "authority"; + --this.pointer; + } else { + this.parseError = true; + } + + return true; +}; + +URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { + if (c === 64) { + this.parseError = true; + if (this.atFlag) { + this.buffer = "%40" + this.buffer; + } + this.atFlag = true; + + // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars + const len = countSymbols(this.buffer); + for (let pointer = 0; pointer < len; ++pointer) { + const codePoint = this.buffer.codePointAt(pointer); + + if (codePoint === 58 && !this.passwordTokenSeenFlag) { + this.passwordTokenSeenFlag = true; + continue; + } + const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); + if (this.passwordTokenSeenFlag) { + this.url.password += encodedCodePoints; + } else { + this.url.username += encodedCodePoints; + } + } + this.buffer = ""; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + if (this.atFlag && this.buffer === "") { + this.parseError = true; + return failure; + } + this.pointer -= countSymbols(this.buffer) + 1; + this.buffer = ""; + this.state = "host"; + } else { + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse hostname"] = +URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === "file") { + --this.pointer; + this.state = "file host"; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === "") { + this.parseError = true; + return failure; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "port"; + if (this.stateOverride === "hostname") { + return false; + } + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === "") { + this.parseError = true; + return failure; + } else if (this.stateOverride && this.buffer === "" && + (includesCredentials(this.url) || this.url.port !== null)) { + this.parseError = true; + return false; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "path start"; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + if (isASCIIDigit(c)) { + this.buffer += cStr; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride) { + if (this.buffer !== "") { + const port = parseInt(this.buffer); + if (port > Math.pow(2, 16) - 1) { + this.parseError = true; + return failure; + } + this.url.port = port === defaultPort(this.url.scheme) ? null : port; + this.buffer = ""; + } + if (this.stateOverride) { + return false; + } + this.state = "path start"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + +URLStateMachine.prototype["parse file"] = function parseFile(c) { + this.url.scheme = "file"; + + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file slash"; + } else if (this.base !== null && this.base.scheme === "file") { + if (isNaN(c)) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 63) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else { + if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points + !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + shortenPath(this.url); + } else { + this.parseError = true; + } + + this.state = "path"; + --this.pointer; + } + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file host"; + } else { + if (this.base !== null && this.base.scheme === "file") { + if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { + this.url.path.push(this.base.path[0]); + } else { + this.url.host = this.base.host; + } + } + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { + if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { + --this.pointer; + if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { + this.parseError = true; + this.state = "path"; + } else if (this.buffer === "") { + this.url.host = ""; + if (this.stateOverride) { + return false; + } + this.state = "path start"; + } else { + let host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + if (host === "localhost") { + host = ""; + } + this.url.host = host; + + if (this.stateOverride) { + return false; + } + + this.buffer = ""; + this.state = "path start"; + } + } else { + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { + if (isSpecial(this.url)) { + if (c === 92) { + this.parseError = true; + } + this.state = "path"; + + if (c !== 47 && c !== 92) { + --this.pointer; + } + } else if (!this.stateOverride && c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (!this.stateOverride && c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else if (c !== undefined) { + this.state = "path"; + if (c !== 47) { + --this.pointer; + } + } + + return true; +}; + +URLStateMachine.prototype["parse path"] = function parsePath(c) { + if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35))) { + if (isSpecial(this.url) && c === 92) { + this.parseError = true; + } + + if (isDoubleDot(this.buffer)) { + shortenPath(this.url); + if (c !== 47 && !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } + } else if (isSingleDot(this.buffer) && c !== 47 && + !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } else if (!isSingleDot(this.buffer)) { + if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { + if (this.url.host !== "" && this.url.host !== null) { + this.parseError = true; + this.url.host = ""; + } + this.buffer = this.buffer[0] + ":"; + } + this.url.path.push(this.buffer); + } + this.buffer = ""; + if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { + while (this.url.path.length > 1 && this.url.path[0] === "") { + this.parseError = true; + this.url.path.shift(); + } + } + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += percentEncodeChar(c, isPathPercentEncode); + } + + return true; +}; + +URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else { + // TODO: Add: not a URL code point + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + if (!isNaN(c)) { + this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } + } + + return true; +}; + +URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { + this.encodingOverride = "utf-8"; + } + + const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead + for (let i = 0; i < buffer.length; ++i) { + if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || + buffer[i] === 0x3C || buffer[i] === 0x3E) { + this.url.query += percentEncode(buffer[i]); + } else { + this.url.query += String.fromCodePoint(buffer[i]); + } + } + + this.buffer = ""; + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + if (isNaN(c)) { // do nothing + } else if (c === 0x0) { + this.parseError = true; + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); + } + + return true; +}; + +function serializeURL(url, excludeFragment) { + let output = url.scheme + ":"; + if (url.host !== null) { + output += "//"; + + if (url.username !== "" || url.password !== "") { + output += url.username; + if (url.password !== "") { + output += ":" + url.password; + } + output += "@"; + } + + output += serializeHost(url.host); + + if (url.port !== null) { + output += ":" + url.port; + } + } else if (url.host === null && url.scheme === "file") { + output += "//"; + } + + if (url.cannotBeABaseURL) { + output += url.path[0]; + } else { + for (const string of url.path) { + output += "/" + string; + } + } + + if (url.query !== null) { + output += "?" + url.query; + } + + if (!excludeFragment && url.fragment !== null) { + output += "#" + url.fragment; + } + + return output; +} + +function serializeOrigin(tuple) { + let result = tuple.scheme + "://"; + result += serializeHost(tuple.host); + + if (tuple.port !== null) { + result += ":" + tuple.port; + } + + return result; +} + +module.exports.serializeURL = serializeURL; + +module.exports.serializeURLOrigin = function (url) { + // https://url.spec.whatwg.org/#concept-url-origin + switch (url.scheme) { + case "blob": + try { + return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); + } catch (e) { + // serializing an opaque origin returns "null" + return "null"; + } + case "ftp": + case "gopher": + case "http": + case "https": + case "ws": + case "wss": + return serializeOrigin({ + scheme: url.scheme, + host: url.host, + port: url.port + }); + case "file": + // spec says "exercise to the reader", chrome says "file://" + return "file://"; + default: + // serializing an opaque origin returns "null" + return "null"; + } +}; + +module.exports.basicURLParse = function (input, options) { + if (options === undefined) { + options = {}; + } + + const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); + if (usm.failure) { + return "failure"; + } + + return usm.url; +}; + +module.exports.setTheUsername = function (url, username) { + url.username = ""; + const decoded = punycode.ucs2.decode(username); + for (let i = 0; i < decoded.length; ++i) { + url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; + +module.exports.setThePassword = function (url, password) { + url.password = ""; + const decoded = punycode.ucs2.decode(password); + for (let i = 0; i < decoded.length; ++i) { + url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; + +module.exports.serializeHost = serializeHost; + +module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; + +module.exports.serializeInteger = function (integer) { + return String(integer); +}; + +module.exports.parseURL = function (input, options) { + if (options === undefined) { + options = {}; + } + + // We don't handle blobs, so this just delegates: + return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); +}; -var net = __nccwpck_require__(1808); -var tls = __nccwpck_require__(4404); -var http = __nccwpck_require__(3685); -var https = __nccwpck_require__(5687); -var events = __nccwpck_require__(2361); -var assert = __nccwpck_require__(9491); -var util = __nccwpck_require__(3837); +/***/ }), +/***/ 6048: +/***/ ((module) => { -exports.httpOverHttp = httpOverHttp; -exports.httpsOverHttp = httpsOverHttp; -exports.httpOverHttps = httpOverHttps; -exports.httpsOverHttps = httpsOverHttps; +"use strict"; -function httpOverHttp(options) { - var agent = new TunnelingAgent(options); - agent.request = http.request; - return agent; -} +module.exports.mixin = function mixin(target, source) { + const keys = Object.getOwnPropertyNames(source); + for (let i = 0; i < keys.length; ++i) { + Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); + } +}; -function httpsOverHttp(options) { - var agent = new TunnelingAgent(options); - agent.request = http.request; - agent.createSocket = createSecureSocket; - agent.defaultPort = 443; - return agent; -} +module.exports.wrapperSymbol = Symbol("wrapper"); +module.exports.implSymbol = Symbol("impl"); -function httpOverHttps(options) { - var agent = new TunnelingAgent(options); - agent.request = https.request; - return agent; -} +module.exports.wrapperForImpl = function (impl) { + return impl[module.exports.wrapperSymbol]; +}; -function httpsOverHttps(options) { - var agent = new TunnelingAgent(options); - agent.request = https.request; - agent.createSocket = createSecureSocket; - agent.defaultPort = 443; - return agent; -} +module.exports.implForWrapper = function (wrapper) { + return wrapper[module.exports.implSymbol]; +}; -function TunnelingAgent(options) { - var self = this; - self.options = options || {}; - self.proxyOptions = self.options.proxy || {}; - self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets; - self.requests = []; - self.sockets = []; - self.on('free', function onFree(socket, host, port, localAddress) { - var options = toOptions(host, port, localAddress); - for (var i = 0, len = self.requests.length; i < len; ++i) { - var pending = self.requests[i]; - if (pending.host === options.host && pending.port === options.port) { - // Detect the request to connect same origin server, - // reuse the connection. - self.requests.splice(i, 1); - pending.request.onSocket(socket); - return; - } - } - socket.destroy(); - self.removeSocket(socket); - }); -} -util.inherits(TunnelingAgent, events.EventEmitter); +/***/ }), -TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { - var self = this; - var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress)); +/***/ 3343: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - if (self.sockets.length >= this.maxSockets) { - // We are over limit so we'll add it to the queue. - self.requests.push(options); - return; - } +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var functionToString = Function.prototype.toString; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +var gOPS = Object.getOwnPropertySymbols; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; +var isEnumerable = Object.prototype.propertyIsEnumerable; - // If we are under maxSockets create a new one. - self.createSocket(options, function(socket) { - socket.on('free', onFree); - socket.on('close', onCloseOrRemove); - socket.on('agentRemove', onCloseOrRemove); - req.onSocket(socket); +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); - function onFree() { - self.emit('free', socket, options); +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; } - - function onCloseOrRemove(err) { - self.removeSocket(socket); - socket.removeListener('free', onFree); - socket.removeListener('close', onCloseOrRemove); - socket.removeListener('agentRemove', onCloseOrRemove); + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } } - }); -}; - -TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { - var self = this; - var placeholder = {}; - self.sockets.push(placeholder); + return $replace.call(str, sepRegex, '$&_'); +} - var connectOptions = mergeOptions({}, self.proxyOptions, { - method: 'CONNECT', - path: options.host + ':' + options.port, - agent: false, - headers: { - host: options.host + ':' + options.port - } - }); - if (options.localAddress) { - connectOptions.localAddress = options.localAddress; - } - if (connectOptions.proxyAuth) { - connectOptions.headers = connectOptions.headers || {}; - connectOptions.headers['Proxy-Authorization'] = 'Basic ' + - new Buffer(connectOptions.proxyAuth).toString('base64'); - } +var utilInspect = __nccwpck_require__(5038); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; - debug('making CONNECT request'); - var connectReq = self.request(connectOptions); - connectReq.useChunkedEncodingByDefault = false; // for v0.6 - connectReq.once('response', onResponse); // for v0.6 - connectReq.once('upgrade', onUpgrade); // for v0.6 - connectReq.once('connect', onConnect); // for v0.7 or later - connectReq.once('error', onError); - connectReq.end(); +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; - function onResponse(res) { - // Very hacky. This is necessary to avoid http-parser leaks. - res.upgrade = true; - } + if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + if ( + has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' + ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity + : opts.maxStringLength !== null + ) + ) { + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + } + var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); + } - function onUpgrade(res, socket, head) { - // Hacky. - process.nextTick(function() { - onConnect(res, socket, head); - }); - } + if ( + has(opts, 'indent') + && opts.indent !== null + && opts.indent !== '\t' + && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) + ) { + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + } + var numericSeparator = opts.numericSeparator; - function onConnect(res, socket, head) { - connectReq.removeAllListeners(); - socket.removeAllListeners(); + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } - if (res.statusCode !== 200) { - debug('tunneling socket could not be established, statusCode=%d', - res.statusCode); - socket.destroy(); - var error = new Error('tunneling socket could not be established, ' + - 'statusCode=' + res.statusCode); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - return; + if (typeof obj === 'string') { + return inspectString(obj, opts); } - if (head.length > 0) { - debug('got illegal response body from proxy'); - socket.destroy(); - var error = new Error('got illegal response body from proxy'); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - return; + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; + } + if (typeof obj === 'bigint') { + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; } - debug('tunneling connection has established'); - self.sockets[self.sockets.indexOf(placeholder)] = socket; - return cb(socket); - } - function onError(cause) { - connectReq.removeAllListeners(); + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return isArray(obj) ? '[Array]' : '[Object]'; + } - debug('tunneling socket could not be established, cause=%s\n', - cause.message, cause.stack); - var error = new Error('tunneling socket could not be established, ' + - 'cause=' + cause.message); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - } -}; + var indent = getIndent(opts, depth); -TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { - var pos = this.sockets.indexOf(socket) - if (pos === -1) { - return; - } - this.sockets.splice(pos, 1); + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } - var pending = this.requests.shift(); - if (pending) { - // If we have pending requests and a socket gets closed a new one - // needs to be created to take over in the pool for the one that closed. - this.createSocket(pending, function(socket) { - pending.request.onSocket(socket); - }); - } + function inspect(value, from, noIndent) { + if (from) { + seen = $arrSlice.call(seen); + seen.push(from); + } + if (noIndent) { + var newOpts = { + depth: opts.depth + }; + if (has(opts, 'quoteStyle')) { + newOpts.quoteStyle = opts.quoteStyle; + } + return inspect_(value, newOpts, depth + 1, seen); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable + var name = nameOf(obj); + var keys = arrObjKeys(obj, inspect); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); + } + if (isSymbol(obj)) { + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + $toLowerCase.call(String(obj.nodeName)); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += ''; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + var xs = arrObjKeys(obj, inspect); + if (indent && !singleLineValues(xs)) { + return '[' + indentedJoin(xs, indent) + ']'; + } + return '[ ' + $join.call(xs, ', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; + } + if (typeof obj === 'object' && customInspect) { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + return collectionOf('Map', mapSize.call(obj), mapParts, indent); + } + if (isSet(obj)) { + var setParts = []; + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + return collectionOf('Set', setSize.call(obj), setParts, indent); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + if (!isDate(obj) && !isRegExp(obj)) { + var ys = arrObjKeys(obj, inspect); + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } + if (indent) { + return tag + '{' + indentedJoin(ys, indent) + '}'; + } + return tag + '{ ' + $join.call(ys, ', ') + ' }'; + } + return String(obj); }; -function createSecureSocket(options, cb) { - var self = this; - TunnelingAgent.prototype.createSocket.call(self, options, function(socket) { - var hostHeader = options.request.getHeader('host'); - var tlsOptions = mergeOptions({}, self.options, { - socket: socket, - servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host - }); +function wrapQuotes(s, defaultStyle, opts) { + var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; + return quoteChar + s + quoteChar; +} - // 0 is dummy port for v0.6 - var secureSocket = tls.connect(0, tlsOptions); - self.sockets[self.sockets.indexOf(socket)] = secureSocket; - cb(secureSocket); - }); +function quote(s) { + return $replace.call(String(s), /"/g, '"'); } +function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function toOptions(host, port, localAddress) { - if (typeof host === 'string') { // since v0.10 - return { - host: host, - port: port, - localAddress: localAddress - }; - } - return host; // for v0.11 or later +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; } -function mergeOptions(target) { - for (var i = 1, len = arguments.length; i < len; ++i) { - var overrides = arguments[i]; - if (typeof overrides === 'object') { - var keys = Object.keys(overrides); - for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { - var k = keys[j]; - if (overrides[k] !== undefined) { - target[k] = overrides[k]; - } - } +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; } - } - return target; + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; } +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} -var debug; -if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { - debug = function() { - var args = Array.prototype.slice.call(arguments); - if (typeof args[0] === 'string') { - args[0] = 'TUNNEL: ' + args[0]; - } else { - args.unshift('TUNNEL:'); - } - console.error.apply(console, args); - } -} else { - debug = function() {}; +function toStr(obj) { + return objectToString.call(obj); } -exports.debug = debug; // for test +function nameOf(f) { + if (f.name) { return f.name; } + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} -/***/ }), +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} -/***/ 6566: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} -"use strict"; +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", ({ value: true })); -const url = __nccwpck_require__(7310); -const http = __nccwpck_require__(3685); -const https = __nccwpck_require__(5687); -const util = __nccwpck_require__(5235); -let fs; -let tunnel; -var HttpCodes; -(function (HttpCodes) { - HttpCodes[HttpCodes["OK"] = 200] = "OK"; - HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; - HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; - HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; - HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; - HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; - HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; - HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; - HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; - HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; - HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; - HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; - HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; - HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; - HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; - HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; - HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; - HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; - HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; - HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; - HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; - HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; - HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; - HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; - HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; - HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; - HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; -})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); -const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect]; -const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout]; -const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED']; -const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; -const ExponentialBackoffCeiling = 10; -const ExponentialBackoffTimeSlice = 5; -class HttpClientResponse { - constructor(message) { - this.message = message; - } - readBody() { - return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { - let buffer = Buffer.alloc(0); - const encodingCharset = util.obtainContentCharset(this); - // Extract Encoding from header: 'content-encoding' - // Match `gzip`, `gzip, deflate` variations of GZIP encoding - const contentEncoding = this.message.headers['content-encoding'] || ''; - const isGzippedEncoded = new RegExp('(gzip$)|(gzip, *deflate)').test(contentEncoding); - this.message.on('data', function (data) { - const chunk = (typeof data === 'string') ? Buffer.from(data, encodingCharset) : data; - buffer = Buffer.concat([buffer, chunk]); - }).on('end', function () { - return __awaiter(this, void 0, void 0, function* () { - if (isGzippedEncoded) { // Process GZipped Response Body HERE - const gunzippedBody = yield util.decompressGzippedContent(buffer, encodingCharset); - resolve(gunzippedBody); - } - else { - resolve(buffer.toString(encodingCharset)); - } - }); - }).on('error', function (err) { - reject(err); - }); - })); +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; } -exports.HttpClientResponse = HttpClientResponse; -function isHttps(requestUrl) { - let parsedUrl = url.parse(requestUrl); - return parsedUrl.protocol === 'https:'; -} -exports.isHttps = isHttps; -var EnvironmentVariables; -(function (EnvironmentVariables) { - EnvironmentVariables["HTTP_PROXY"] = "HTTP_PROXY"; - EnvironmentVariables["HTTPS_PROXY"] = "HTTPS_PROXY"; - EnvironmentVariables["NO_PROXY"] = "NO_PROXY"; -})(EnvironmentVariables || (EnvironmentVariables = {})); -class HttpClient { - constructor(userAgent, handlers, requestOptions) { - this._ignoreSslError = false; - this._allowRedirects = true; - this._allowRedirectDowngrade = false; - this._maxRedirects = 50; - this._allowRetries = false; - this._maxRetries = 1; - this._keepAlive = false; - this._disposed = false; - this.userAgent = userAgent; - this.handlers = handlers || []; - let no_proxy = process.env[EnvironmentVariables.NO_PROXY]; - if (no_proxy) { - this._httpProxyBypassHosts = []; - no_proxy.split(',').forEach(bypass => { - this._httpProxyBypassHosts.push(util.buildProxyBypassRegexFromEnv(bypass)); - }); - } - this.requestOptions = requestOptions; - if (requestOptions) { - if (requestOptions.ignoreSslError != null) { - this._ignoreSslError = requestOptions.ignoreSslError; - } - this._socketTimeout = requestOptions.socketTimeout; - this._httpProxy = requestOptions.proxy; - if (requestOptions.proxy && requestOptions.proxy.proxyBypassHosts) { - this._httpProxyBypassHosts = []; - requestOptions.proxy.proxyBypassHosts.forEach(bypass => { - this._httpProxyBypassHosts.push(new RegExp(bypass, 'i')); - }); - } - this._certConfig = requestOptions.cert; - if (this._certConfig) { - // If using cert, need fs - fs = __nccwpck_require__(7147); - // cache the cert content into memory, so we don't have to read it from disk every time - if (this._certConfig.caFile && fs.existsSync(this._certConfig.caFile)) { - this._ca = fs.readFileSync(this._certConfig.caFile, 'utf8'); - } - if (this._certConfig.certFile && fs.existsSync(this._certConfig.certFile)) { - this._cert = fs.readFileSync(this._certConfig.certFile, 'utf8'); - } - if (this._certConfig.keyFile && fs.existsSync(this._certConfig.keyFile)) { - this._key = fs.readFileSync(this._certConfig.keyFile, 'utf8'); - } - } - if (requestOptions.allowRedirects != null) { - this._allowRedirects = requestOptions.allowRedirects; - } - if (requestOptions.allowRedirectDowngrade != null) { - this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; - } - if (requestOptions.maxRedirects != null) { - this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); - } - if (requestOptions.keepAlive != null) { - this._keepAlive = requestOptions.keepAlive; - } - if (requestOptions.allowRetries != null) { - this._allowRetries = requestOptions.allowRetries; - } - if (requestOptions.maxRetries != null) { - this._maxRetries = requestOptions.maxRetries; - } - } + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; } - options(requestUrl, additionalHeaders) { - return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; } - get(requestUrl, additionalHeaders) { - return this.request('GET', requestUrl, null, additionalHeaders || {}); + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; } - del(requestUrl, additionalHeaders) { - return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + if (str.length > opts.maxStringLength) { + var remaining = str.length - opts.maxStringLength; + var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; } - post(requestUrl, data, additionalHeaders) { - return this.request('POST', requestUrl, data, additionalHeaders || {}); + // eslint-disable-next-line no-control-regex + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', + 9: 't', + 10: 'n', + 12: 'f', + 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries, indent) { + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); + return type + ' (' + size + ') {' + joinedEntries + '}'; +} + +function singleLineValues(xs) { + for (var i = 0; i < xs.length; i++) { + if (indexOf(xs[i], '\n') >= 0) { + return false; + } } - patch(requestUrl, data, additionalHeaders) { - return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + return true; +} + +function getIndent(opts, depth) { + var baseIndent; + if (opts.indent === '\t') { + baseIndent = '\t'; + } else if (typeof opts.indent === 'number' && opts.indent > 0) { + baseIndent = $join.call(Array(opts.indent + 1), ' '); + } else { + return null; } - put(requestUrl, data, additionalHeaders) { - return this.request('PUT', requestUrl, data, additionalHeaders || {}); + return { + base: baseIndent, + prev: $join.call(Array(depth + 1), baseIndent) + }; +} + +function indentedJoin(xs, indent) { + if (xs.length === 0) { return ''; } + var lineJoiner = '\n' + indent.prev + indent.base; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } } - head(requestUrl, additionalHeaders) { - return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } } - sendStream(verb, requestUrl, stream, additionalHeaders) { - return this.request(verb, requestUrl, stream, additionalHeaders); + + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } } - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - request(verb, requestUrl, data, headers) { - return __awaiter(this, void 0, void 0, function* () { - if (this._disposed) { - throw new Error("Client has already been disposed."); + if (typeof gOPS === 'function') { + for (var j = 0; j < syms.length; j++) { + if (isEnumerable.call(obj, syms[j])) { + xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); } - let parsedUrl = url.parse(requestUrl); - let info = this._prepareRequest(verb, parsedUrl, headers); - // Only perform retries on reads since writes may not be idempotent. - let maxTries = (this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1) ? this._maxRetries + 1 : 1; - let numTries = 0; - let response; - while (numTries < maxTries) { - try { - response = yield this.requestRaw(info, data); - } - catch (err) { - numTries++; - if (err && err.code && NetworkRetryErrors.indexOf(err.code) > -1 && numTries < maxTries) { - yield this._performExponentialBackoff(numTries); - continue; - } - throw err; - } - // Check if it's an authentication challenge - if (response && response.message && response.message.statusCode === HttpCodes.Unauthorized) { - let authenticationHandler; - for (let i = 0; i < this.handlers.length; i++) { - if (this.handlers[i].canHandleAuthentication(response)) { - authenticationHandler = this.handlers[i]; - break; - } - } - if (authenticationHandler) { - return authenticationHandler.handleAuthentication(this, info, data); - } - else { - // We have received an unauthorized response but have no handlers to handle it. - // Let the response return to the caller. - return response; - } - } - let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 - && this._allowRedirects - && redirectsRemaining > 0) { - const redirectUrl = response.message.headers["location"]; - if (!redirectUrl) { - // if there's no location to redirect to, we won't - break; - } - let parsedRedirectUrl = url.parse(redirectUrl); - if (parsedUrl.protocol == 'https:' && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) { - throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true."); - } - // we need to finish reading the response before reassigning response - // which will leak the open socket. - yield response.readBody(); - // let's make the request with the new redirectUrl - info = this._prepareRequest(verb, parsedRedirectUrl, headers); - response = yield this.requestRaw(info, data); - redirectsRemaining--; - } - if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { - // If not a retry code, return immediately instead of retrying - return response; - } - numTries += 1; - if (numTries < maxTries) { - yield response.readBody(); - yield this._performExponentialBackoff(numTries); - } - } - return response; - }); + } } - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose() { - if (this._agent) { - this._agent.destroy(); + return xs; +} + + +/***/ }), + +/***/ 5038: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(3837).inspect; + + +/***/ }), + +/***/ 8953: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var wrappy = __nccwpck_require__(3985) +module.exports = wrappy(once) +module.exports.strict = wrappy(onceStrict) + +once.proto = once(function () { + Object.defineProperty(Function.prototype, 'once', { + value: function () { + return once(this) + }, + configurable: true + }) + + Object.defineProperty(Function.prototype, 'onceStrict', { + value: function () { + return onceStrict(this) + }, + configurable: true + }) +}) + +function once (fn) { + var f = function () { + if (f.called) return f.value + f.called = true + return f.value = fn.apply(this, arguments) + } + f.called = false + return f +} + +function onceStrict (fn) { + var f = function () { + if (f.called) + throw new Error(f.onceError) + f.called = true + return f.value = fn.apply(this, arguments) + } + var name = fn.name || 'Function wrapped with `once`' + f.onceError = name + " shouldn't be called more than once" + f.called = false + return f +} + + +/***/ }), + +/***/ 1466: +/***/ ((module) => { + +"use strict"; + + +var replace = String.prototype.replace; +var percentTwenties = /%20/g; + +var Format = { + RFC1738: 'RFC1738', + RFC3986: 'RFC3986' +}; + +module.exports = { + 'default': Format.RFC3986, + formatters: { + RFC1738: function (value) { + return replace.call(value, percentTwenties, '+'); + }, + RFC3986: function (value) { + return String(value); } - this._disposed = true; + }, + RFC1738: Format.RFC1738, + RFC3986: Format.RFC3986 +}; + + +/***/ }), + +/***/ 737: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var stringify = __nccwpck_require__(3769); +var parse = __nccwpck_require__(2061); +var formats = __nccwpck_require__(1466); + +module.exports = { + formats: formats, + parse: parse, + stringify: stringify +}; + + +/***/ }), + +/***/ 2061: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var utils = __nccwpck_require__(3763); + +var has = Object.prototype.hasOwnProperty; +var isArray = Array.isArray; + +var defaults = { + allowDots: false, + allowPrototypes: false, + allowSparse: false, + arrayLimit: 20, + charset: 'utf-8', + charsetSentinel: false, + comma: false, + decoder: utils.decode, + delimiter: '&', + depth: 5, + ignoreQueryPrefix: false, + interpretNumericEntities: false, + parameterLimit: 1000, + parseArrays: true, + plainObjects: false, + strictNullHandling: false +}; + +var interpretNumericEntities = function (str) { + return str.replace(/&#(\d+);/g, function ($0, numberStr) { + return String.fromCharCode(parseInt(numberStr, 10)); + }); +}; + +var parseArrayValue = function (val, options) { + if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) { + return val.split(','); } - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info, data) { - return new Promise((resolve, reject) => { - let callbackForResult = function (err, res) { - if (err) { - reject(err); + + return val; +}; + +// This is what browsers will submit when the ✓ character occurs in an +// application/x-www-form-urlencoded body and the encoding of the page containing +// the form is iso-8859-1, or when the submitted form has an accept-charset +// attribute of iso-8859-1. Presumably also with other charsets that do not contain +// the ✓ character, such as us-ascii. +var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') + +// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. +var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') + +var parseValues = function parseQueryStringValues(str, options) { + var obj = {}; + var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; + var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; + var parts = cleanStr.split(options.delimiter, limit); + var skipIndex = -1; // Keep track of where the utf8 sentinel was found + var i; + + var charset = options.charset; + if (options.charsetSentinel) { + for (i = 0; i < parts.length; ++i) { + if (parts[i].indexOf('utf8=') === 0) { + if (parts[i] === charsetSentinel) { + charset = 'utf-8'; + } else if (parts[i] === isoSentinel) { + charset = 'iso-8859-1'; } - resolve(res); - }; - this.requestRawWithCallback(info, data, callbackForResult); - }); - } - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info, data, onResult) { - let socket; - if (typeof (data) === 'string') { - info.options.headers["Content-Length"] = Buffer.byteLength(data, 'utf8'); - } - let callbackCalled = false; - let handleResult = (err, res) => { - if (!callbackCalled) { - callbackCalled = true; - onResult(err, res); - } - }; - let req = info.httpModule.request(info.options, (msg) => { - let res = new HttpClientResponse(msg); - handleResult(null, res); - }); - req.on('socket', (sock) => { - socket = sock; - }); - // If we ever get disconnected, we want the socket to timeout eventually - req.setTimeout(this._socketTimeout || 3 * 60000, () => { - if (socket) { - socket.destroy(); + skipIndex = i; + i = parts.length; // The eslint settings do not allow break; } - handleResult(new Error('Request timeout: ' + info.options.path), null); - }); - req.on('error', function (err) { - // err has statusCode property - // res should have headers - handleResult(err, null); - }); - if (data && typeof (data) === 'string') { - req.write(data, 'utf8'); - } - if (data && typeof (data) !== 'string') { - data.on('close', function () { - req.end(); - }); - data.pipe(req); - } - else { - req.end(); } } - _prepareRequest(method, requestUrl, headers) { - const info = {}; - info.parsedUrl = requestUrl; - const usingSsl = info.parsedUrl.protocol === 'https:'; - info.httpModule = usingSsl ? https : http; - const defaultPort = usingSsl ? 443 : 80; - info.options = {}; - info.options.host = info.parsedUrl.hostname; - info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort; - info.options.path = (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); - info.options.method = method; - info.options.timeout = (this.requestOptions && this.requestOptions.socketTimeout) || this._socketTimeout; - this._socketTimeout = info.options.timeout; - info.options.headers = this._mergeHeaders(headers); - if (this.userAgent != null) { - info.options.headers["user-agent"] = this.userAgent; - } - info.options.agent = this._getAgent(info.parsedUrl); - // gives handlers an opportunity to participate - if (this.handlers && !this._isPresigned(url.format(requestUrl))) { - this.handlers.forEach((handler) => { - handler.prepareRequest(info.options); - }); + + for (i = 0; i < parts.length; ++i) { + if (i === skipIndex) { + continue; } - return info; - } - _isPresigned(requestUrl) { - if (this.requestOptions && this.requestOptions.presignedUrlPatterns) { - const patterns = this.requestOptions.presignedUrlPatterns; - for (let i = 0; i < patterns.length; i++) { - if (requestUrl.match(patterns[i])) { - return true; + var part = parts[i]; + + var bracketEqualsPos = part.indexOf(']='); + var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; + + var key, val; + if (pos === -1) { + key = options.decoder(part, defaults.decoder, charset, 'key'); + val = options.strictNullHandling ? null : ''; + } else { + key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); + val = utils.maybeMap( + parseArrayValue(part.slice(pos + 1), options), + function (encodedVal) { + return options.decoder(encodedVal, defaults.decoder, charset, 'value'); } - } - } - return false; - } - _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {}); - if (this.requestOptions && this.requestOptions.headers) { - return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); - } - return lowercaseKeys(headers || {}); - } - _getAgent(parsedUrl) { - let agent; - let proxy = this._getProxy(parsedUrl); - let useProxy = proxy.proxyUrl && proxy.proxyUrl.hostname && !this._isMatchInBypassProxyList(parsedUrl); - if (this._keepAlive && useProxy) { - agent = this._proxyAgent; + ); } - if (this._keepAlive && !useProxy) { - agent = this._agent; + + if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { + val = interpretNumericEntities(val); } - // if agent is already assigned use that agent. - if (!!agent) { - return agent; + + if (part.indexOf('[]=') > -1) { + val = isArray(val) ? [val] : val; } - const usingSsl = parsedUrl.protocol === 'https:'; - let maxSockets = 100; - if (!!this.requestOptions) { - maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + + if (has.call(obj, key)) { + obj[key] = utils.combine(obj[key], val); + } else { + obj[key] = val; } - if (useProxy) { - // If using proxy, need tunnel - if (!tunnel) { - tunnel = __nccwpck_require__(9958); - } - const agentOptions = { - maxSockets: maxSockets, - keepAlive: this._keepAlive, - proxy: { - proxyAuth: proxy.proxyAuth, - host: proxy.proxyUrl.hostname, - port: proxy.proxyUrl.port - }, - }; - let tunnelAgent; - const overHttps = proxy.proxyUrl.protocol === 'https:'; - if (usingSsl) { - tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; - } - else { - tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + + return obj; +}; + +var parseObject = function (chain, val, options, valuesParsed) { + var leaf = valuesParsed ? val : parseArrayValue(val, options); + + for (var i = chain.length - 1; i >= 0; --i) { + var obj; + var root = chain[i]; + + if (root === '[]' && options.parseArrays) { + obj = [].concat(leaf); + } else { + obj = options.plainObjects ? Object.create(null) : {}; + var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; + var index = parseInt(cleanRoot, 10); + if (!options.parseArrays && cleanRoot === '') { + obj = { 0: leaf }; + } else if ( + !isNaN(index) + && root !== cleanRoot + && String(index) === cleanRoot + && index >= 0 + && (options.parseArrays && index <= options.arrayLimit) + ) { + obj = []; + obj[index] = leaf; + } else if (cleanRoot !== '__proto__') { + obj[cleanRoot] = leaf; } - agent = tunnelAgent(agentOptions); - this._proxyAgent = agent; - } - // if reusing agent across request and tunneling agent isn't assigned create a new agent - if (this._keepAlive && !agent) { - const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; - agent = usingSsl ? new https.Agent(options) : new http.Agent(options); - this._agent = agent; - } - // if not using private agent and tunnel agent isn't setup then use global agent - if (!agent) { - agent = usingSsl ? https.globalAgent : http.globalAgent; } - if (usingSsl && this._ignoreSslError) { - // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process - // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options - // we have to cast it to any and change it directly - agent.options = Object.assign(agent.options || {}, { rejectUnauthorized: false }); + + leaf = obj; + } + + return leaf; +}; + +var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { + if (!givenKey) { + return; + } + + // Transform dot notation to bracket notation + var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; + + // The regex chunks + + var brackets = /(\[[^[\]]*])/; + var child = /(\[[^[\]]*])/g; + + // Get the parent + + var segment = options.depth > 0 && brackets.exec(key); + var parent = segment ? key.slice(0, segment.index) : key; + + // Stash the parent if it exists + + var keys = []; + if (parent) { + // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties + if (!options.plainObjects && has.call(Object.prototype, parent)) { + if (!options.allowPrototypes) { + return; + } } - if (usingSsl && this._certConfig) { - agent.options = Object.assign(agent.options || {}, { ca: this._ca, cert: this._cert, key: this._key, passphrase: this._certConfig.passphrase }); + + keys.push(parent); + } + + // Loop through children appending to the array until we hit depth + + var i = 0; + while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { + i += 1; + if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { + if (!options.allowPrototypes) { + return; + } } - return agent; + keys.push(segment[1]); + } + + // If there's a remainder, just add whatever is left + + if (segment) { + keys.push('[' + key.slice(segment.index) + ']'); + } + + return parseObject(keys, val, options, valuesParsed); +}; + +var normalizeParseOptions = function normalizeParseOptions(opts) { + if (!opts) { + return defaults; + } + + if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { + throw new TypeError('Decoder has to be a function.'); + } + + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; + + return { + allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, + allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, + allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse, + arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, + decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, + delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, + // eslint-disable-next-line no-implicit-coercion, no-extra-parens + depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, + ignoreQueryPrefix: opts.ignoreQueryPrefix === true, + interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, + parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, + parseArrays: opts.parseArrays !== false, + plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling + }; +}; + +module.exports = function (str, opts) { + var options = normalizeParseOptions(opts); + + if (str === '' || str === null || typeof str === 'undefined') { + return options.plainObjects ? Object.create(null) : {}; + } + + var tempObj = typeof str === 'string' ? parseValues(str, options) : str; + var obj = options.plainObjects ? Object.create(null) : {}; + + // Iterate over the keys and setup the new object + + var keys = Object.keys(tempObj); + for (var i = 0; i < keys.length; ++i) { + var key = keys[i]; + var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); + obj = utils.merge(obj, newObj, options); + } + + if (options.allowSparse === true) { + return obj; + } + + return utils.compact(obj); +}; + + +/***/ }), + +/***/ 3769: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var getSideChannel = __nccwpck_require__(3355); +var utils = __nccwpck_require__(3763); +var formats = __nccwpck_require__(1466); +var has = Object.prototype.hasOwnProperty; + +var arrayPrefixGenerators = { + brackets: function brackets(prefix) { + return prefix + '[]'; + }, + comma: 'comma', + indices: function indices(prefix, key) { + return prefix + '[' + key + ']'; + }, + repeat: function repeat(prefix) { + return prefix; + } +}; + +var isArray = Array.isArray; +var split = String.prototype.split; +var push = Array.prototype.push; +var pushToArray = function (arr, valueOrArray) { + push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); +}; + +var toISO = Date.prototype.toISOString; + +var defaultFormat = formats['default']; +var defaults = { + addQueryPrefix: false, + allowDots: false, + charset: 'utf-8', + charsetSentinel: false, + delimiter: '&', + encode: true, + encoder: utils.encode, + encodeValuesOnly: false, + format: defaultFormat, + formatter: formats.formatters[defaultFormat], + // deprecated + indices: false, + serializeDate: function serializeDate(date) { + return toISO.call(date); + }, + skipNulls: false, + strictNullHandling: false +}; + +var isNonNullishPrimitive = function isNonNullishPrimitive(v) { + return typeof v === 'string' + || typeof v === 'number' + || typeof v === 'boolean' + || typeof v === 'symbol' + || typeof v === 'bigint'; +}; + +var sentinel = {}; + +var stringify = function stringify( + object, + prefix, + generateArrayPrefix, + commaRoundTrip, + strictNullHandling, + skipNulls, + encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + sideChannel +) { + var obj = object; + + var tmpSc = sideChannel; + var step = 0; + var findFlag = false; + while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { + // Where object last appeared in the ref tree + var pos = tmpSc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } else { + findFlag = true; // Break while + } + } + if (typeof tmpSc.get(sentinel) === 'undefined') { + step = 0; + } + } + + if (typeof filter === 'function') { + obj = filter(prefix, obj); + } else if (obj instanceof Date) { + obj = serializeDate(obj); + } else if (generateArrayPrefix === 'comma' && isArray(obj)) { + obj = utils.maybeMap(obj, function (value) { + if (value instanceof Date) { + return serializeDate(value); + } + return value; + }); + } + + if (obj === null) { + if (strictNullHandling) { + return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix; + } + + obj = ''; + } + + if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { + if (encoder) { + var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format); + if (generateArrayPrefix === 'comma' && encodeValuesOnly) { + var valuesArray = split.call(String(obj), ','); + var valuesJoined = ''; + for (var i = 0; i < valuesArray.length; ++i) { + valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format)); + } + return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined]; + } + return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))]; + } + return [formatter(prefix) + '=' + formatter(String(obj))]; + } + + var values = []; + + if (typeof obj === 'undefined') { + return values; + } + + var objKeys; + if (generateArrayPrefix === 'comma' && isArray(obj)) { + // we need to join elements in + objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; + } else if (isArray(filter)) { + objKeys = filter; + } else { + var keys = Object.keys(obj); + objKeys = sort ? keys.sort(sort) : keys; + } + + var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix; + + for (var j = 0; j < objKeys.length; ++j) { + var key = objKeys[j]; + var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; + + if (skipNulls && value === null) { + continue; + } + + var keyPrefix = isArray(obj) + ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix + : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']'); + + sideChannel.set(object, step); + var valueSideChannel = getSideChannel(); + valueSideChannel.set(sentinel, sideChannel); + pushToArray(values, stringify( + value, + keyPrefix, + generateArrayPrefix, + commaRoundTrip, + strictNullHandling, + skipNulls, + encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + valueSideChannel + )); + } + + return values; +}; + +var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { + if (!opts) { + return defaults; + } + + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { + throw new TypeError('Encoder has to be a function.'); + } + + var charset = opts.charset || defaults.charset; + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + + var format = formats['default']; + if (typeof opts.format !== 'undefined') { + if (!has.call(formats.formatters, opts.format)) { + throw new TypeError('Unknown format option provided.'); + } + format = opts.format; + } + var formatter = formats.formatters[format]; + + var filter = defaults.filter; + if (typeof opts.filter === 'function' || isArray(opts.filter)) { + filter = opts.filter; + } + + return { + addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, + allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, + encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, + encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, + encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, + filter: filter, + format: format, + formatter: formatter, + serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, + skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, + sort: typeof opts.sort === 'function' ? opts.sort : null, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling + }; +}; + +module.exports = function (object, opts) { + var obj = object; + var options = normalizeStringifyOptions(opts); + + var objKeys; + var filter; + + if (typeof options.filter === 'function') { + filter = options.filter; + obj = filter('', obj); + } else if (isArray(options.filter)) { + filter = options.filter; + objKeys = filter; + } + + var keys = []; + + if (typeof obj !== 'object' || obj === null) { + return ''; + } + + var arrayFormat; + if (opts && opts.arrayFormat in arrayPrefixGenerators) { + arrayFormat = opts.arrayFormat; + } else if (opts && 'indices' in opts) { + arrayFormat = opts.indices ? 'indices' : 'repeat'; + } else { + arrayFormat = 'indices'; + } + + var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; + if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { + throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); + } + var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip; + + if (!objKeys) { + objKeys = Object.keys(obj); + } + + if (options.sort) { + objKeys.sort(options.sort); + } + + var sideChannel = getSideChannel(); + for (var i = 0; i < objKeys.length; ++i) { + var key = objKeys[i]; + + if (options.skipNulls && obj[key] === null) { + continue; + } + pushToArray(keys, stringify( + obj[key], + key, + generateArrayPrefix, + commaRoundTrip, + options.strictNullHandling, + options.skipNulls, + options.encode ? options.encoder : null, + options.filter, + options.sort, + options.allowDots, + options.serializeDate, + options.format, + options.formatter, + options.encodeValuesOnly, + options.charset, + sideChannel + )); + } + + var joined = keys.join(options.delimiter); + var prefix = options.addQueryPrefix === true ? '?' : ''; + + if (options.charsetSentinel) { + if (options.charset === 'iso-8859-1') { + // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark + prefix += 'utf8=%26%2310003%3B&'; + } else { + // encodeURIComponent('✓') + prefix += 'utf8=%E2%9C%93&'; + } + } + + return joined.length > 0 ? prefix + joined : ''; +}; + + +/***/ }), + +/***/ 3763: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var formats = __nccwpck_require__(1466); + +var has = Object.prototype.hasOwnProperty; +var isArray = Array.isArray; + +var hexTable = (function () { + var array = []; + for (var i = 0; i < 256; ++i) { + array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); + } + + return array; +}()); + +var compactQueue = function compactQueue(queue) { + while (queue.length > 1) { + var item = queue.pop(); + var obj = item.obj[item.prop]; + + if (isArray(obj)) { + var compacted = []; + + for (var j = 0; j < obj.length; ++j) { + if (typeof obj[j] !== 'undefined') { + compacted.push(obj[j]); + } + } + + item.obj[item.prop] = compacted; + } + } +}; + +var arrayToObject = function arrayToObject(source, options) { + var obj = options && options.plainObjects ? Object.create(null) : {}; + for (var i = 0; i < source.length; ++i) { + if (typeof source[i] !== 'undefined') { + obj[i] = source[i]; + } + } + + return obj; +}; + +var merge = function merge(target, source, options) { + /* eslint no-param-reassign: 0 */ + if (!source) { + return target; + } + + if (typeof source !== 'object') { + if (isArray(target)) { + target.push(source); + } else if (target && typeof target === 'object') { + if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { + target[source] = true; + } + } else { + return [target, source]; + } + + return target; + } + + if (!target || typeof target !== 'object') { + return [target].concat(source); + } + + var mergeTarget = target; + if (isArray(target) && !isArray(source)) { + mergeTarget = arrayToObject(target, options); + } + + if (isArray(target) && isArray(source)) { + source.forEach(function (item, i) { + if (has.call(target, i)) { + var targetItem = target[i]; + if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { + target[i] = merge(targetItem, item, options); + } else { + target.push(item); + } + } else { + target[i] = item; + } + }); + return target; + } + + return Object.keys(source).reduce(function (acc, key) { + var value = source[key]; + + if (has.call(acc, key)) { + acc[key] = merge(acc[key], value, options); + } else { + acc[key] = value; + } + return acc; + }, mergeTarget); +}; + +var assign = function assignSingleSource(target, source) { + return Object.keys(source).reduce(function (acc, key) { + acc[key] = source[key]; + return acc; + }, target); +}; + +var decode = function (str, decoder, charset) { + var strWithoutPlus = str.replace(/\+/g, ' '); + if (charset === 'iso-8859-1') { + // unescape never throws, no try...catch needed: + return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); + } + // utf-8 + try { + return decodeURIComponent(strWithoutPlus); + } catch (e) { + return strWithoutPlus; + } +}; + +var encode = function encode(str, defaultEncoder, charset, kind, format) { + // This code was originally written by Brian White (mscdex) for the io.js core querystring library. + // It has been adapted here for stricter adherence to RFC 3986 + if (str.length === 0) { + return str; + } + + var string = str; + if (typeof str === 'symbol') { + string = Symbol.prototype.toString.call(str); + } else if (typeof str !== 'string') { + string = String(str); + } + + if (charset === 'iso-8859-1') { + return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { + return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; + }); + } + + var out = ''; + for (var i = 0; i < string.length; ++i) { + var c = string.charCodeAt(i); + + if ( + c === 0x2D // - + || c === 0x2E // . + || c === 0x5F // _ + || c === 0x7E // ~ + || (c >= 0x30 && c <= 0x39) // 0-9 + || (c >= 0x41 && c <= 0x5A) // a-z + || (c >= 0x61 && c <= 0x7A) // A-Z + || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) + ) { + out += string.charAt(i); + continue; + } + + if (c < 0x80) { + out = out + hexTable[c]; + continue; + } + + if (c < 0x800) { + out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); + continue; + } + + if (c < 0xD800 || c >= 0xE000) { + out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); + continue; + } + + i += 1; + c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); + /* eslint operator-linebreak: [2, "before"] */ + out += hexTable[0xF0 | (c >> 18)] + + hexTable[0x80 | ((c >> 12) & 0x3F)] + + hexTable[0x80 | ((c >> 6) & 0x3F)] + + hexTable[0x80 | (c & 0x3F)]; + } + + return out; +}; + +var compact = function compact(value) { + var queue = [{ obj: { o: value }, prop: 'o' }]; + var refs = []; + + for (var i = 0; i < queue.length; ++i) { + var item = queue[i]; + var obj = item.obj[item.prop]; + + var keys = Object.keys(obj); + for (var j = 0; j < keys.length; ++j) { + var key = keys[j]; + var val = obj[key]; + if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { + queue.push({ obj: obj, prop: key }); + refs.push(val); + } + } + } + + compactQueue(queue); + + return value; +}; + +var isRegExp = function isRegExp(obj) { + return Object.prototype.toString.call(obj) === '[object RegExp]'; +}; + +var isBuffer = function isBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + + return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); +}; + +var combine = function combine(a, b) { + return [].concat(a, b); +}; + +var maybeMap = function maybeMap(val, fn) { + if (isArray(val)) { + var mapped = []; + for (var i = 0; i < val.length; i += 1) { + mapped.push(fn(val[i])); + } + return mapped; + } + return fn(val); +}; + +module.exports = { + arrayToObject: arrayToObject, + assign: assign, + combine: combine, + compact: compact, + decode: decode, + encode: encode, + isBuffer: isBuffer, + isRegExp: isRegExp, + maybeMap: maybeMap, + merge: merge +}; + + +/***/ }), + +/***/ 1554: +/***/ ((module, exports) => { + +exports = module.exports = SemVer + +var debug +/* istanbul ignore next */ +if (typeof process === 'object' && + process.env && + process.env.NODE_DEBUG && + /\bsemver\b/i.test(process.env.NODE_DEBUG)) { + debug = function () { + var args = Array.prototype.slice.call(arguments, 0) + args.unshift('SEMVER') + console.log.apply(console, args) + } +} else { + debug = function () {} +} + +// Note: this is the semver.org version of the spec that it implements +// Not necessarily the package version of this code. +exports.SEMVER_SPEC_VERSION = '2.0.0' + +var MAX_LENGTH = 256 +var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || + /* istanbul ignore next */ 9007199254740991 + +// Max safe segment length for coercion. +var MAX_SAFE_COMPONENT_LENGTH = 16 + +// The actual regexps go on exports.re +var re = exports.re = [] +var src = exports.src = [] +var t = exports.tokens = {} +var R = 0 + +function tok (n) { + t[n] = R++ +} + +// The following Regular Expressions can be used for tokenizing, +// validating, and parsing SemVer version strings. + +// ## Numeric Identifier +// A single `0`, or a non-zero digit followed by zero or more digits. + +tok('NUMERICIDENTIFIER') +src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*' +tok('NUMERICIDENTIFIERLOOSE') +src[t.NUMERICIDENTIFIERLOOSE] = '[0-9]+' + +// ## Non-numeric Identifier +// Zero or more digits, followed by a letter or hyphen, and then zero or +// more letters, digits, or hyphens. + +tok('NONNUMERICIDENTIFIER') +src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*' + +// ## Main Version +// Three dot-separated numeric identifiers. + +tok('MAINVERSION') +src[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIER] + ')' + +tok('MAINVERSIONLOOSE') +src[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')' + +// ## Pre-release Version Identifier +// A numeric identifier, or a non-numeric identifier. + +tok('PRERELEASEIDENTIFIER') +src[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] + + '|' + src[t.NONNUMERICIDENTIFIER] + ')' + +tok('PRERELEASEIDENTIFIERLOOSE') +src[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] + + '|' + src[t.NONNUMERICIDENTIFIER] + ')' + +// ## Pre-release Version +// Hyphen, followed by one or more dot-separated pre-release version +// identifiers. + +tok('PRERELEASE') +src[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] + + '(?:\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))' + +tok('PRERELEASELOOSE') +src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] + + '(?:\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))' + +// ## Build Metadata Identifier +// Any combination of digits, letters, or hyphens. + +tok('BUILDIDENTIFIER') +src[t.BUILDIDENTIFIER] = '[0-9A-Za-z-]+' + +// ## Build Metadata +// Plus sign, followed by one or more period-separated build metadata +// identifiers. + +tok('BUILD') +src[t.BUILD] = '(?:\\+(' + src[t.BUILDIDENTIFIER] + + '(?:\\.' + src[t.BUILDIDENTIFIER] + ')*))' + +// ## Full Version String +// A main version, followed optionally by a pre-release version and +// build metadata. + +// Note that the only major, minor, patch, and pre-release sections of +// the version string are capturing groups. The build metadata is not a +// capturing group, because it should not ever be used in version +// comparison. + +tok('FULL') +tok('FULLPLAIN') +src[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] + + src[t.PRERELEASE] + '?' + + src[t.BUILD] + '?' + +src[t.FULL] = '^' + src[t.FULLPLAIN] + '$' + +// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. +// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty +// common in the npm registry. +tok('LOOSEPLAIN') +src[t.LOOSEPLAIN] = '[v=\\s]*' + src[t.MAINVERSIONLOOSE] + + src[t.PRERELEASELOOSE] + '?' + + src[t.BUILD] + '?' + +tok('LOOSE') +src[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$' + +tok('GTLT') +src[t.GTLT] = '((?:<|>)?=?)' + +// Something like "2.*" or "1.2.x". +// Note that "x.x" is a valid xRange identifer, meaning "any version" +// Only the first item is strictly required. +tok('XRANGEIDENTIFIERLOOSE') +src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' +tok('XRANGEIDENTIFIER') +src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\*' + +tok('XRANGEPLAIN') +src[t.XRANGEPLAIN] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:' + src[t.PRERELEASE] + ')?' + + src[t.BUILD] + '?' + + ')?)?' + +tok('XRANGEPLAINLOOSE') +src[t.XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:' + src[t.PRERELEASELOOSE] + ')?' + + src[t.BUILD] + '?' + + ')?)?' + +tok('XRANGE') +src[t.XRANGE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAIN] + '$' +tok('XRANGELOOSE') +src[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAINLOOSE] + '$' + +// Coercion. +// Extract anything that could conceivably be a part of a valid semver +tok('COERCE') +src[t.COERCE] = '(^|[^\\d])' + + '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' + + '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + + '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + + '(?:$|[^\\d])' +tok('COERCERTL') +re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g') + +// Tilde ranges. +// Meaning is "reasonably at or greater than" +tok('LONETILDE') +src[t.LONETILDE] = '(?:~>?)' + +tok('TILDETRIM') +src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+' +re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g') +var tildeTrimReplace = '$1~' + +tok('TILDE') +src[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$' +tok('TILDELOOSE') +src[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$' + +// Caret ranges. +// Meaning is "at least and backwards compatible with" +tok('LONECARET') +src[t.LONECARET] = '(?:\\^)' + +tok('CARETTRIM') +src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+' +re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g') +var caretTrimReplace = '$1^' + +tok('CARET') +src[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$' +tok('CARETLOOSE') +src[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$' + +// A simple gt/lt/eq thing, or just "" to indicate "any version" +tok('COMPARATORLOOSE') +src[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\s*(' + src[t.LOOSEPLAIN] + ')$|^$' +tok('COMPARATOR') +src[t.COMPARATOR] = '^' + src[t.GTLT] + '\\s*(' + src[t.FULLPLAIN] + ')$|^$' + +// An expression to strip any whitespace between the gtlt and the thing +// it modifies, so that `> 1.2.3` ==> `>1.2.3` +tok('COMPARATORTRIM') +src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] + + '\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')' + +// this one has to use the /g flag +re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g') +var comparatorTrimReplace = '$1$2$3' + +// Something like `1.2.3 - 1.2.4` +// Note that these all use the loose form, because they'll be +// checked against either the strict or loose comparator form +// later. +tok('HYPHENRANGE') +src[t.HYPHENRANGE] = '^\\s*(' + src[t.XRANGEPLAIN] + ')' + + '\\s+-\\s+' + + '(' + src[t.XRANGEPLAIN] + ')' + + '\\s*$' + +tok('HYPHENRANGELOOSE') +src[t.HYPHENRANGELOOSE] = '^\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' + + '\\s+-\\s+' + + '(' + src[t.XRANGEPLAINLOOSE] + ')' + + '\\s*$' + +// Star ranges basically just allow anything at all. +tok('STAR') +src[t.STAR] = '(<|>)?=?\\s*\\*' + +// Compile to actual regexp objects. +// All are flag-free, unless they were created above with a flag. +for (var i = 0; i < R; i++) { + debug(i, src[i]) + if (!re[i]) { + re[i] = new RegExp(src[i]) + } +} + +exports.parse = parse +function parse (version, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (version instanceof SemVer) { + return version + } + + if (typeof version !== 'string') { + return null + } + + if (version.length > MAX_LENGTH) { + return null + } + + var r = options.loose ? re[t.LOOSE] : re[t.FULL] + if (!r.test(version)) { + return null + } + + try { + return new SemVer(version, options) + } catch (er) { + return null + } +} + +exports.valid = valid +function valid (version, options) { + var v = parse(version, options) + return v ? v.version : null +} + +exports.clean = clean +function clean (version, options) { + var s = parse(version.trim().replace(/^[=v]+/, ''), options) + return s ? s.version : null +} + +exports.SemVer = SemVer + +function SemVer (version, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + if (version instanceof SemVer) { + if (version.loose === options.loose) { + return version + } else { + version = version.version + } + } else if (typeof version !== 'string') { + throw new TypeError('Invalid Version: ' + version) + } + + if (version.length > MAX_LENGTH) { + throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters') + } + + if (!(this instanceof SemVer)) { + return new SemVer(version, options) + } + + debug('SemVer', version, options) + this.options = options + this.loose = !!options.loose + + var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]) + + if (!m) { + throw new TypeError('Invalid Version: ' + version) + } + + this.raw = version + + // these are actually numbers + this.major = +m[1] + this.minor = +m[2] + this.patch = +m[3] + + if (this.major > MAX_SAFE_INTEGER || this.major < 0) { + throw new TypeError('Invalid major version') + } + + if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { + throw new TypeError('Invalid minor version') + } + + if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { + throw new TypeError('Invalid patch version') + } + + // numberify any prerelease numeric ids + if (!m[4]) { + this.prerelease = [] + } else { + this.prerelease = m[4].split('.').map(function (id) { + if (/^[0-9]+$/.test(id)) { + var num = +id + if (num >= 0 && num < MAX_SAFE_INTEGER) { + return num + } + } + return id + }) + } + + this.build = m[5] ? m[5].split('.') : [] + this.format() +} + +SemVer.prototype.format = function () { + this.version = this.major + '.' + this.minor + '.' + this.patch + if (this.prerelease.length) { + this.version += '-' + this.prerelease.join('.') + } + return this.version +} + +SemVer.prototype.toString = function () { + return this.version +} + +SemVer.prototype.compare = function (other) { + debug('SemVer.compare', this.version, this.options, other) + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + return this.compareMain(other) || this.comparePre(other) +} + +SemVer.prototype.compareMain = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + return compareIdentifiers(this.major, other.major) || + compareIdentifiers(this.minor, other.minor) || + compareIdentifiers(this.patch, other.patch) +} + +SemVer.prototype.comparePre = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + // NOT having a prerelease is > having one + if (this.prerelease.length && !other.prerelease.length) { + return -1 + } else if (!this.prerelease.length && other.prerelease.length) { + return 1 + } else if (!this.prerelease.length && !other.prerelease.length) { + return 0 + } + + var i = 0 + do { + var a = this.prerelease[i] + var b = other.prerelease[i] + debug('prerelease compare', i, a, b) + if (a === undefined && b === undefined) { + return 0 + } else if (b === undefined) { + return 1 + } else if (a === undefined) { + return -1 + } else if (a === b) { + continue + } else { + return compareIdentifiers(a, b) + } + } while (++i) +} + +SemVer.prototype.compareBuild = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + var i = 0 + do { + var a = this.build[i] + var b = other.build[i] + debug('prerelease compare', i, a, b) + if (a === undefined && b === undefined) { + return 0 + } else if (b === undefined) { + return 1 + } else if (a === undefined) { + return -1 + } else if (a === b) { + continue + } else { + return compareIdentifiers(a, b) + } + } while (++i) +} + +// preminor will bump the version up to the next minor release, and immediately +// down to pre-release. premajor and prepatch work the same way. +SemVer.prototype.inc = function (release, identifier) { + switch (release) { + case 'premajor': + this.prerelease.length = 0 + this.patch = 0 + this.minor = 0 + this.major++ + this.inc('pre', identifier) + break + case 'preminor': + this.prerelease.length = 0 + this.patch = 0 + this.minor++ + this.inc('pre', identifier) + break + case 'prepatch': + // If this is already a prerelease, it will bump to the next version + // drop any prereleases that might already exist, since they are not + // relevant at this point. + this.prerelease.length = 0 + this.inc('patch', identifier) + this.inc('pre', identifier) + break + // If the input is a non-prerelease version, this acts the same as + // prepatch. + case 'prerelease': + if (this.prerelease.length === 0) { + this.inc('patch', identifier) + } + this.inc('pre', identifier) + break + + case 'major': + // If this is a pre-major version, bump up to the same major version. + // Otherwise increment major. + // 1.0.0-5 bumps to 1.0.0 + // 1.1.0 bumps to 2.0.0 + if (this.minor !== 0 || + this.patch !== 0 || + this.prerelease.length === 0) { + this.major++ + } + this.minor = 0 + this.patch = 0 + this.prerelease = [] + break + case 'minor': + // If this is a pre-minor version, bump up to the same minor version. + // Otherwise increment minor. + // 1.2.0-5 bumps to 1.2.0 + // 1.2.1 bumps to 1.3.0 + if (this.patch !== 0 || this.prerelease.length === 0) { + this.minor++ + } + this.patch = 0 + this.prerelease = [] + break + case 'patch': + // If this is not a pre-release version, it will increment the patch. + // If it is a pre-release it will bump up to the same patch version. + // 1.2.0-5 patches to 1.2.0 + // 1.2.0 patches to 1.2.1 + if (this.prerelease.length === 0) { + this.patch++ + } + this.prerelease = [] + break + // This probably shouldn't be used publicly. + // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction. + case 'pre': + if (this.prerelease.length === 0) { + this.prerelease = [0] + } else { + var i = this.prerelease.length + while (--i >= 0) { + if (typeof this.prerelease[i] === 'number') { + this.prerelease[i]++ + i = -2 + } + } + if (i === -1) { + // didn't increment anything + this.prerelease.push(0) + } + } + if (identifier) { + // 1.2.0-beta.1 bumps to 1.2.0-beta.2, + // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 + if (this.prerelease[0] === identifier) { + if (isNaN(this.prerelease[1])) { + this.prerelease = [identifier, 0] + } + } else { + this.prerelease = [identifier, 0] + } + } + break + + default: + throw new Error('invalid increment argument: ' + release) + } + this.format() + this.raw = this.version + return this +} + +exports.inc = inc +function inc (version, release, loose, identifier) { + if (typeof (loose) === 'string') { + identifier = loose + loose = undefined + } + + try { + return new SemVer(version, loose).inc(release, identifier).version + } catch (er) { + return null + } +} + +exports.diff = diff +function diff (version1, version2) { + if (eq(version1, version2)) { + return null + } else { + var v1 = parse(version1) + var v2 = parse(version2) + var prefix = '' + if (v1.prerelease.length || v2.prerelease.length) { + prefix = 'pre' + var defaultResult = 'prerelease' + } + for (var key in v1) { + if (key === 'major' || key === 'minor' || key === 'patch') { + if (v1[key] !== v2[key]) { + return prefix + key + } + } + } + return defaultResult // may be undefined + } +} + +exports.compareIdentifiers = compareIdentifiers + +var numeric = /^[0-9]+$/ +function compareIdentifiers (a, b) { + var anum = numeric.test(a) + var bnum = numeric.test(b) + + if (anum && bnum) { + a = +a + b = +b + } + + return a === b ? 0 + : (anum && !bnum) ? -1 + : (bnum && !anum) ? 1 + : a < b ? -1 + : 1 +} + +exports.rcompareIdentifiers = rcompareIdentifiers +function rcompareIdentifiers (a, b) { + return compareIdentifiers(b, a) +} + +exports.major = major +function major (a, loose) { + return new SemVer(a, loose).major +} + +exports.minor = minor +function minor (a, loose) { + return new SemVer(a, loose).minor +} + +exports.patch = patch +function patch (a, loose) { + return new SemVer(a, loose).patch +} + +exports.compare = compare +function compare (a, b, loose) { + return new SemVer(a, loose).compare(new SemVer(b, loose)) +} + +exports.compareLoose = compareLoose +function compareLoose (a, b) { + return compare(a, b, true) +} + +exports.compareBuild = compareBuild +function compareBuild (a, b, loose) { + var versionA = new SemVer(a, loose) + var versionB = new SemVer(b, loose) + return versionA.compare(versionB) || versionA.compareBuild(versionB) +} + +exports.rcompare = rcompare +function rcompare (a, b, loose) { + return compare(b, a, loose) +} + +exports.sort = sort +function sort (list, loose) { + return list.sort(function (a, b) { + return exports.compareBuild(a, b, loose) + }) +} + +exports.rsort = rsort +function rsort (list, loose) { + return list.sort(function (a, b) { + return exports.compareBuild(b, a, loose) + }) +} + +exports.gt = gt +function gt (a, b, loose) { + return compare(a, b, loose) > 0 +} + +exports.lt = lt +function lt (a, b, loose) { + return compare(a, b, loose) < 0 +} + +exports.eq = eq +function eq (a, b, loose) { + return compare(a, b, loose) === 0 +} + +exports.neq = neq +function neq (a, b, loose) { + return compare(a, b, loose) !== 0 +} + +exports.gte = gte +function gte (a, b, loose) { + return compare(a, b, loose) >= 0 +} + +exports.lte = lte +function lte (a, b, loose) { + return compare(a, b, loose) <= 0 +} + +exports.cmp = cmp +function cmp (a, op, b, loose) { + switch (op) { + case '===': + if (typeof a === 'object') + a = a.version + if (typeof b === 'object') + b = b.version + return a === b + + case '!==': + if (typeof a === 'object') + a = a.version + if (typeof b === 'object') + b = b.version + return a !== b + + case '': + case '=': + case '==': + return eq(a, b, loose) + + case '!=': + return neq(a, b, loose) + + case '>': + return gt(a, b, loose) + + case '>=': + return gte(a, b, loose) + + case '<': + return lt(a, b, loose) + + case '<=': + return lte(a, b, loose) + + default: + throw new TypeError('Invalid operator: ' + op) + } +} + +exports.Comparator = Comparator +function Comparator (comp, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (comp instanceof Comparator) { + if (comp.loose === !!options.loose) { + return comp + } else { + comp = comp.value + } + } + + if (!(this instanceof Comparator)) { + return new Comparator(comp, options) + } + + debug('comparator', comp, options) + this.options = options + this.loose = !!options.loose + this.parse(comp) + + if (this.semver === ANY) { + this.value = '' + } else { + this.value = this.operator + this.semver.version + } + + debug('comp', this) +} + +var ANY = {} +Comparator.prototype.parse = function (comp) { + var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] + var m = comp.match(r) + + if (!m) { + throw new TypeError('Invalid comparator: ' + comp) + } + + this.operator = m[1] !== undefined ? m[1] : '' + if (this.operator === '=') { + this.operator = '' + } + + // if it literally is just '>' or '' then allow anything. + if (!m[2]) { + this.semver = ANY + } else { + this.semver = new SemVer(m[2], this.options.loose) + } +} + +Comparator.prototype.toString = function () { + return this.value +} + +Comparator.prototype.test = function (version) { + debug('Comparator.test', version, this.options.loose) + + if (this.semver === ANY || version === ANY) { + return true + } + + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options) + } catch (er) { + return false + } + } + + return cmp(version, this.operator, this.semver, this.options) +} + +Comparator.prototype.intersects = function (comp, options) { + if (!(comp instanceof Comparator)) { + throw new TypeError('a Comparator is required') + } + + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + var rangeTmp + + if (this.operator === '') { + if (this.value === '') { + return true + } + rangeTmp = new Range(comp.value, options) + return satisfies(this.value, rangeTmp, options) + } else if (comp.operator === '') { + if (comp.value === '') { + return true + } + rangeTmp = new Range(this.value, options) + return satisfies(comp.semver, rangeTmp, options) + } + + var sameDirectionIncreasing = + (this.operator === '>=' || this.operator === '>') && + (comp.operator === '>=' || comp.operator === '>') + var sameDirectionDecreasing = + (this.operator === '<=' || this.operator === '<') && + (comp.operator === '<=' || comp.operator === '<') + var sameSemVer = this.semver.version === comp.semver.version + var differentDirectionsInclusive = + (this.operator === '>=' || this.operator === '<=') && + (comp.operator === '>=' || comp.operator === '<=') + var oppositeDirectionsLessThan = + cmp(this.semver, '<', comp.semver, options) && + ((this.operator === '>=' || this.operator === '>') && + (comp.operator === '<=' || comp.operator === '<')) + var oppositeDirectionsGreaterThan = + cmp(this.semver, '>', comp.semver, options) && + ((this.operator === '<=' || this.operator === '<') && + (comp.operator === '>=' || comp.operator === '>')) + + return sameDirectionIncreasing || sameDirectionDecreasing || + (sameSemVer && differentDirectionsInclusive) || + oppositeDirectionsLessThan || oppositeDirectionsGreaterThan +} + +exports.Range = Range +function Range (range, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (range instanceof Range) { + if (range.loose === !!options.loose && + range.includePrerelease === !!options.includePrerelease) { + return range + } else { + return new Range(range.raw, options) + } + } + + if (range instanceof Comparator) { + return new Range(range.value, options) + } + + if (!(this instanceof Range)) { + return new Range(range, options) + } + + this.options = options + this.loose = !!options.loose + this.includePrerelease = !!options.includePrerelease + + // First, split based on boolean or || + this.raw = range + this.set = range.split(/\s*\|\|\s*/).map(function (range) { + return this.parseRange(range.trim()) + }, this).filter(function (c) { + // throw out any that are not relevant for whatever reason + return c.length + }) + + if (!this.set.length) { + throw new TypeError('Invalid SemVer Range: ' + range) + } + + this.format() +} + +Range.prototype.format = function () { + this.range = this.set.map(function (comps) { + return comps.join(' ').trim() + }).join('||').trim() + return this.range +} + +Range.prototype.toString = function () { + return this.range +} + +Range.prototype.parseRange = function (range) { + var loose = this.options.loose + range = range.trim() + // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` + var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE] + range = range.replace(hr, hyphenReplace) + debug('hyphen replace', range) + // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` + range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace) + debug('comparator trim', range, re[t.COMPARATORTRIM]) + + // `~ 1.2.3` => `~1.2.3` + range = range.replace(re[t.TILDETRIM], tildeTrimReplace) + + // `^ 1.2.3` => `^1.2.3` + range = range.replace(re[t.CARETTRIM], caretTrimReplace) + + // normalize spaces + range = range.split(/\s+/).join(' ') + + // At this point, the range is completely trimmed and + // ready to be split into comparators. + + var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] + var set = range.split(' ').map(function (comp) { + return parseComparator(comp, this.options) + }, this).join(' ').split(/\s+/) + if (this.options.loose) { + // in loose mode, throw out any that are not valid comparators + set = set.filter(function (comp) { + return !!comp.match(compRe) + }) + } + set = set.map(function (comp) { + return new Comparator(comp, this.options) + }, this) + + return set +} + +Range.prototype.intersects = function (range, options) { + if (!(range instanceof Range)) { + throw new TypeError('a Range is required') + } + + return this.set.some(function (thisComparators) { + return ( + isSatisfiable(thisComparators, options) && + range.set.some(function (rangeComparators) { + return ( + isSatisfiable(rangeComparators, options) && + thisComparators.every(function (thisComparator) { + return rangeComparators.every(function (rangeComparator) { + return thisComparator.intersects(rangeComparator, options) + }) + }) + ) + }) + ) + }) +} + +// take a set of comparators and determine whether there +// exists a version which can satisfy it +function isSatisfiable (comparators, options) { + var result = true + var remainingComparators = comparators.slice() + var testComparator = remainingComparators.pop() + + while (result && remainingComparators.length) { + result = remainingComparators.every(function (otherComparator) { + return testComparator.intersects(otherComparator, options) + }) + + testComparator = remainingComparators.pop() + } + + return result +} + +// Mostly just for testing and legacy API reasons +exports.toComparators = toComparators +function toComparators (range, options) { + return new Range(range, options).set.map(function (comp) { + return comp.map(function (c) { + return c.value + }).join(' ').trim().split(' ') + }) +} + +// comprised of xranges, tildes, stars, and gtlt's at this point. +// already replaced the hyphen ranges +// turn into a set of JUST comparators. +function parseComparator (comp, options) { + debug('comp', comp, options) + comp = replaceCarets(comp, options) + debug('caret', comp) + comp = replaceTildes(comp, options) + debug('tildes', comp) + comp = replaceXRanges(comp, options) + debug('xrange', comp) + comp = replaceStars(comp, options) + debug('stars', comp) + return comp +} + +function isX (id) { + return !id || id.toLowerCase() === 'x' || id === '*' +} + +// ~, ~> --> * (any, kinda silly) +// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0 +// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0 +// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0 +// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0 +// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0 +function replaceTildes (comp, options) { + return comp.trim().split(/\s+/).map(function (comp) { + return replaceTilde(comp, options) + }).join(' ') +} + +function replaceTilde (comp, options) { + var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE] + return comp.replace(r, function (_, M, m, p, pr) { + debug('tilde', comp, _, M, m, p, pr) + var ret + + if (isX(M)) { + ret = '' + } else if (isX(m)) { + ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' + } else if (isX(p)) { + // ~1.2 == >=1.2.0 <1.3.0 + ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' + } else if (pr) { + debug('replaceTilde pr', pr) + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + } else { + // ~1.2.3 == >=1.2.3 <1.3.0 + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + (+m + 1) + '.0' + } + + debug('tilde return', ret) + return ret + }) +} + +// ^ --> * (any, kinda silly) +// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0 +// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0 +// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0 +// ^1.2.3 --> >=1.2.3 <2.0.0 +// ^1.2.0 --> >=1.2.0 <2.0.0 +function replaceCarets (comp, options) { + return comp.trim().split(/\s+/).map(function (comp) { + return replaceCaret(comp, options) + }).join(' ') +} + +function replaceCaret (comp, options) { + debug('caret', comp, options) + var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET] + return comp.replace(r, function (_, M, m, p, pr) { + debug('caret', comp, _, M, m, p, pr) + var ret + + if (isX(M)) { + ret = '' + } else if (isX(m)) { + ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' + } else if (isX(p)) { + if (M === '0') { + ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' + } else { + ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0' + } + } else if (pr) { + debug('replaceCaret pr', pr) + if (M === '0') { + if (m === '0') { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + m + '.' + (+p + 1) + } else { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + } + } else { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + (+M + 1) + '.0.0' + } + } else { + debug('no pr') + if (M === '0') { + if (m === '0') { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + m + '.' + (+p + 1) + } else { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + (+m + 1) + '.0' + } + } else { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + (+M + 1) + '.0.0' + } + } + + debug('caret return', ret) + return ret + }) +} + +function replaceXRanges (comp, options) { + debug('replaceXRanges', comp, options) + return comp.split(/\s+/).map(function (comp) { + return replaceXRange(comp, options) + }).join(' ') +} + +function replaceXRange (comp, options) { + comp = comp.trim() + var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE] + return comp.replace(r, function (ret, gtlt, M, m, p, pr) { + debug('xRange', comp, ret, gtlt, M, m, p, pr) + var xM = isX(M) + var xm = xM || isX(m) + var xp = xm || isX(p) + var anyX = xp + + if (gtlt === '=' && anyX) { + gtlt = '' + } + + // if we're including prereleases in the match, then we need + // to fix this to -0, the lowest possible prerelease value + pr = options.includePrerelease ? '-0' : '' + + if (xM) { + if (gtlt === '>' || gtlt === '<') { + // nothing is allowed + ret = '<0.0.0-0' + } else { + // nothing is forbidden + ret = '*' + } + } else if (gtlt && anyX) { + // we know patch is an x, because we have any x at all. + // replace X with 0 + if (xm) { + m = 0 + } + p = 0 + + if (gtlt === '>') { + // >1 => >=2.0.0 + // >1.2 => >=1.3.0 + // >1.2.3 => >= 1.2.4 + gtlt = '>=' + if (xm) { + M = +M + 1 + m = 0 + p = 0 + } else { + m = +m + 1 + p = 0 + } + } else if (gtlt === '<=') { + // <=0.7.x is actually <0.8.0, since any 0.7.x should + // pass. Similarly, <=7.x is actually <8.0.0, etc. + gtlt = '<' + if (xm) { + M = +M + 1 + } else { + m = +m + 1 + } + } + + ret = gtlt + M + '.' + m + '.' + p + pr + } else if (xm) { + ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr + } else if (xp) { + ret = '>=' + M + '.' + m + '.0' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + pr + } + + debug('xRange return', ret) + + return ret + }) +} + +// Because * is AND-ed with everything else in the comparator, +// and '' means "any version", just remove the *s entirely. +function replaceStars (comp, options) { + debug('replaceStars', comp, options) + // Looseness is ignored here. star is always as loose as it gets! + return comp.trim().replace(re[t.STAR], '') +} + +// This function is passed to string.replace(re[t.HYPHENRANGE]) +// M, m, patch, prerelease, build +// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 +// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do +// 1.2 - 3.4 => >=1.2.0 <3.5.0 +function hyphenReplace ($0, + from, fM, fm, fp, fpr, fb, + to, tM, tm, tp, tpr, tb) { + if (isX(fM)) { + from = '' + } else if (isX(fm)) { + from = '>=' + fM + '.0.0' + } else if (isX(fp)) { + from = '>=' + fM + '.' + fm + '.0' + } else { + from = '>=' + from + } + + if (isX(tM)) { + to = '' + } else if (isX(tm)) { + to = '<' + (+tM + 1) + '.0.0' + } else if (isX(tp)) { + to = '<' + tM + '.' + (+tm + 1) + '.0' + } else if (tpr) { + to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr + } else { + to = '<=' + to + } + + return (from + ' ' + to).trim() +} + +// if ANY of the sets match ALL of its comparators, then pass +Range.prototype.test = function (version) { + if (!version) { + return false + } + + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options) + } catch (er) { + return false + } + } + + for (var i = 0; i < this.set.length; i++) { + if (testSet(this.set[i], version, this.options)) { + return true + } + } + return false +} + +function testSet (set, version, options) { + for (var i = 0; i < set.length; i++) { + if (!set[i].test(version)) { + return false + } + } + + if (version.prerelease.length && !options.includePrerelease) { + // Find the set of versions that are allowed to have prereleases + // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 + // That should allow `1.2.3-pr.2` to pass. + // However, `1.2.4-alpha.notready` should NOT be allowed, + // even though it's within the range set by the comparators. + for (i = 0; i < set.length; i++) { + debug(set[i].semver) + if (set[i].semver === ANY) { + continue + } + + if (set[i].semver.prerelease.length > 0) { + var allowed = set[i].semver + if (allowed.major === version.major && + allowed.minor === version.minor && + allowed.patch === version.patch) { + return true + } + } + } + + // Version has a -pre, but it's not one of the ones we like. + return false + } + + return true +} + +exports.satisfies = satisfies +function satisfies (version, range, options) { + try { + range = new Range(range, options) + } catch (er) { + return false + } + return range.test(version) +} + +exports.maxSatisfying = maxSatisfying +function maxSatisfying (versions, range, options) { + var max = null + var maxSV = null + try { + var rangeObj = new Range(range, options) + } catch (er) { + return null + } + versions.forEach(function (v) { + if (rangeObj.test(v)) { + // satisfies(v, range, options) + if (!max || maxSV.compare(v) === -1) { + // compare(max, v, true) + max = v + maxSV = new SemVer(max, options) + } + } + }) + return max +} + +exports.minSatisfying = minSatisfying +function minSatisfying (versions, range, options) { + var min = null + var minSV = null + try { + var rangeObj = new Range(range, options) + } catch (er) { + return null + } + versions.forEach(function (v) { + if (rangeObj.test(v)) { + // satisfies(v, range, options) + if (!min || minSV.compare(v) === 1) { + // compare(min, v, true) + min = v + minSV = new SemVer(min, options) + } + } + }) + return min +} + +exports.minVersion = minVersion +function minVersion (range, loose) { + range = new Range(range, loose) + + var minver = new SemVer('0.0.0') + if (range.test(minver)) { + return minver + } + + minver = new SemVer('0.0.0-0') + if (range.test(minver)) { + return minver + } + + minver = null + for (var i = 0; i < range.set.length; ++i) { + var comparators = range.set[i] + + comparators.forEach(function (comparator) { + // Clone to avoid manipulating the comparator's semver object. + var compver = new SemVer(comparator.semver.version) + switch (comparator.operator) { + case '>': + if (compver.prerelease.length === 0) { + compver.patch++ + } else { + compver.prerelease.push(0) + } + compver.raw = compver.format() + /* fallthrough */ + case '': + case '>=': + if (!minver || gt(minver, compver)) { + minver = compver + } + break + case '<': + case '<=': + /* Ignore maximum versions */ + break + /* istanbul ignore next */ + default: + throw new Error('Unexpected operation: ' + comparator.operator) + } + }) + } + + if (minver && range.test(minver)) { + return minver + } + + return null +} + +exports.validRange = validRange +function validRange (range, options) { + try { + // Return '*' instead of '' so that truthiness works. + // This will throw if it's invalid anyway + return new Range(range, options).range || '*' + } catch (er) { + return null + } +} + +// Determine if version is less than all the versions possible in the range +exports.ltr = ltr +function ltr (version, range, options) { + return outside(version, range, '<', options) +} + +// Determine if version is greater than all the versions possible in the range. +exports.gtr = gtr +function gtr (version, range, options) { + return outside(version, range, '>', options) +} + +exports.outside = outside +function outside (version, range, hilo, options) { + version = new SemVer(version, options) + range = new Range(range, options) + + var gtfn, ltefn, ltfn, comp, ecomp + switch (hilo) { + case '>': + gtfn = gt + ltefn = lte + ltfn = lt + comp = '>' + ecomp = '>=' + break + case '<': + gtfn = lt + ltefn = gte + ltfn = gt + comp = '<' + ecomp = '<=' + break + default: + throw new TypeError('Must provide a hilo val of "<" or ">"') + } + + // If it satisifes the range it is not outside + if (satisfies(version, range, options)) { + return false + } + + // From now on, variable terms are as if we're in "gtr" mode. + // but note that everything is flipped for the "ltr" function. + + for (var i = 0; i < range.set.length; ++i) { + var comparators = range.set[i] + + var high = null + var low = null + + comparators.forEach(function (comparator) { + if (comparator.semver === ANY) { + comparator = new Comparator('>=0.0.0') + } + high = high || comparator + low = low || comparator + if (gtfn(comparator.semver, high.semver, options)) { + high = comparator + } else if (ltfn(comparator.semver, low.semver, options)) { + low = comparator + } + }) + + // If the edge version comparator has a operator then our version + // isn't outside it + if (high.operator === comp || high.operator === ecomp) { + return false + } + + // If the lowest version comparator has an operator and our version + // is less than it then it isn't higher than the range + if ((!low.operator || low.operator === comp) && + ltefn(version, low.semver)) { + return false + } else if (low.operator === ecomp && ltfn(version, low.semver)) { + return false + } + } + return true +} + +exports.prerelease = prerelease +function prerelease (version, options) { + var parsed = parse(version, options) + return (parsed && parsed.prerelease.length) ? parsed.prerelease : null +} + +exports.intersects = intersects +function intersects (r1, r2, options) { + r1 = new Range(r1, options) + r2 = new Range(r2, options) + return r1.intersects(r2) +} + +exports.coerce = coerce +function coerce (version, options) { + if (version instanceof SemVer) { + return version + } + + if (typeof version === 'number') { + version = String(version) + } + + if (typeof version !== 'string') { + return null + } + + options = options || {} + + var match = null + if (!options.rtl) { + match = version.match(re[t.COERCE]) + } else { + // Find the right-most coercible string that does not share + // a terminus with a more left-ward coercible string. + // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' + // + // Walk through the string checking with a /g regexp + // Manually set the index so as to pick up overlapping matches. + // Stop when we get a match that ends at the string end, since no + // coercible string can be more right-ward without the same terminus. + var next + while ((next = re[t.COERCERTL].exec(version)) && + (!match || match.index + match[0].length !== version.length) + ) { + if (!match || + next.index + next[0].length !== match.index + match[0].length) { + match = next + } + re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length + } + // leave it in a clean state + re[t.COERCERTL].lastIndex = -1 + } + + if (match === null) { + return null + } + + return parse(match[2] + + '.' + (match[3] || '0') + + '.' + (match[4] || '0'), options) +} + + +/***/ }), + +/***/ 3355: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var GetIntrinsic = __nccwpck_require__(4880); +var callBound = __nccwpck_require__(4353); +var inspect = __nccwpck_require__(3343); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $WeakMap = GetIntrinsic('%WeakMap%', true); +var $Map = GetIntrinsic('%Map%', true); + +var $weakMapGet = callBound('WeakMap.prototype.get', true); +var $weakMapSet = callBound('WeakMap.prototype.set', true); +var $weakMapHas = callBound('WeakMap.prototype.has', true); +var $mapGet = callBound('Map.prototype.get', true); +var $mapSet = callBound('Map.prototype.set', true); +var $mapHas = callBound('Map.prototype.has', true); + +/* + * This function traverses the list returning the node corresponding to the + * given key. + * + * That node is also moved to the head of the list, so that if it's accessed + * again we don't need to traverse the whole list. By doing so, all the recently + * used nodes can be accessed relatively quickly. + */ +var listGetNode = function (list, key) { // eslint-disable-line consistent-return + for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) { + if (curr.key === key) { + prev.next = curr.next; + curr.next = list.next; + list.next = curr; // eslint-disable-line no-param-reassign + return curr; + } + } +}; + +var listGet = function (objects, key) { + var node = listGetNode(objects, key); + return node && node.value; +}; +var listSet = function (objects, key, value) { + var node = listGetNode(objects, key); + if (node) { + node.value = value; + } else { + // Prepend the new node to the beginning of the list + objects.next = { // eslint-disable-line no-param-reassign + key: key, + next: objects.next, + value: value + }; + } +}; +var listHas = function (objects, key) { + return !!listGetNode(objects, key); +}; + +module.exports = function getSideChannel() { + var $wm; + var $m; + var $o; + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + get: function (key) { // eslint-disable-line consistent-return + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapGet($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapGet($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listGet($o, key); + } + } + }, + has: function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapHas($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapHas($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listHas($o, key); + } + } + return false; + }, + set: function (key, value) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if (!$wm) { + $wm = new $WeakMap(); + } + $weakMapSet($wm, key, value); + } else if ($Map) { + if (!$m) { + $m = new $Map(); + } + $mapSet($m, key, value); + } else { + if (!$o) { + /* + * Initialize the linked list as an empty node, so that we don't have + * to special-case handling of the first node: we can always refer to + * it as (previous node).next, instead of something like (list).head + */ + $o = { key: {}, next: null }; + } + listSet($o, key, value); + } + } + }; + return channel; +}; + + +/***/ }), + +/***/ 9958: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(9306); + + +/***/ }), + +/***/ 9306: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +var net = __nccwpck_require__(1808); +var tls = __nccwpck_require__(4404); +var http = __nccwpck_require__(3685); +var https = __nccwpck_require__(5687); +var events = __nccwpck_require__(2361); +var assert = __nccwpck_require__(9491); +var util = __nccwpck_require__(3837); + + +exports.httpOverHttp = httpOverHttp; +exports.httpsOverHttp = httpsOverHttp; +exports.httpOverHttps = httpOverHttps; +exports.httpsOverHttps = httpsOverHttps; + + +function httpOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + return agent; +} + +function httpsOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + +function httpOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + return agent; +} + +function httpsOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + + +function TunnelingAgent(options) { + var self = this; + self.options = options || {}; + self.proxyOptions = self.options.proxy || {}; + self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets; + self.requests = []; + self.sockets = []; + + self.on('free', function onFree(socket, host, port, localAddress) { + var options = toOptions(host, port, localAddress); + for (var i = 0, len = self.requests.length; i < len; ++i) { + var pending = self.requests[i]; + if (pending.host === options.host && pending.port === options.port) { + // Detect the request to connect same origin server, + // reuse the connection. + self.requests.splice(i, 1); + pending.request.onSocket(socket); + return; + } + } + socket.destroy(); + self.removeSocket(socket); + }); +} +util.inherits(TunnelingAgent, events.EventEmitter); + +TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { + var self = this; + var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress)); + + if (self.sockets.length >= this.maxSockets) { + // We are over limit so we'll add it to the queue. + self.requests.push(options); + return; + } + + // If we are under maxSockets create a new one. + self.createSocket(options, function(socket) { + socket.on('free', onFree); + socket.on('close', onCloseOrRemove); + socket.on('agentRemove', onCloseOrRemove); + req.onSocket(socket); + + function onFree() { + self.emit('free', socket, options); + } + + function onCloseOrRemove(err) { + self.removeSocket(socket); + socket.removeListener('free', onFree); + socket.removeListener('close', onCloseOrRemove); + socket.removeListener('agentRemove', onCloseOrRemove); + } + }); +}; + +TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { + var self = this; + var placeholder = {}; + self.sockets.push(placeholder); + + var connectOptions = mergeOptions({}, self.proxyOptions, { + method: 'CONNECT', + path: options.host + ':' + options.port, + agent: false, + headers: { + host: options.host + ':' + options.port + } + }); + if (options.localAddress) { + connectOptions.localAddress = options.localAddress; + } + if (connectOptions.proxyAuth) { + connectOptions.headers = connectOptions.headers || {}; + connectOptions.headers['Proxy-Authorization'] = 'Basic ' + + new Buffer(connectOptions.proxyAuth).toString('base64'); + } + + debug('making CONNECT request'); + var connectReq = self.request(connectOptions); + connectReq.useChunkedEncodingByDefault = false; // for v0.6 + connectReq.once('response', onResponse); // for v0.6 + connectReq.once('upgrade', onUpgrade); // for v0.6 + connectReq.once('connect', onConnect); // for v0.7 or later + connectReq.once('error', onError); + connectReq.end(); + + function onResponse(res) { + // Very hacky. This is necessary to avoid http-parser leaks. + res.upgrade = true; + } + + function onUpgrade(res, socket, head) { + // Hacky. + process.nextTick(function() { + onConnect(res, socket, head); + }); + } + + function onConnect(res, socket, head) { + connectReq.removeAllListeners(); + socket.removeAllListeners(); + + if (res.statusCode !== 200) { + debug('tunneling socket could not be established, statusCode=%d', + res.statusCode); + socket.destroy(); + var error = new Error('tunneling socket could not be established, ' + + 'statusCode=' + res.statusCode); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; } - _getProxy(parsedUrl) { - let usingSsl = parsedUrl.protocol === 'https:'; - let proxyConfig = this._httpProxy; - // fallback to http_proxy and https_proxy env - let https_proxy = process.env[EnvironmentVariables.HTTPS_PROXY]; - let http_proxy = process.env[EnvironmentVariables.HTTP_PROXY]; - if (!proxyConfig) { - if (https_proxy && usingSsl) { - proxyConfig = { - proxyUrl: https_proxy - }; - } - else if (http_proxy) { - proxyConfig = { - proxyUrl: http_proxy - }; - } - } - let proxyUrl; - let proxyAuth; - if (proxyConfig) { - if (proxyConfig.proxyUrl.length > 0) { - proxyUrl = url.parse(proxyConfig.proxyUrl); - } - if (proxyConfig.proxyUsername || proxyConfig.proxyPassword) { - proxyAuth = proxyConfig.proxyUsername + ":" + proxyConfig.proxyPassword; - } - } - return { proxyUrl: proxyUrl, proxyAuth: proxyAuth }; + if (head.length > 0) { + debug('got illegal response body from proxy'); + socket.destroy(); + var error = new Error('got illegal response body from proxy'); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; } - _isMatchInBypassProxyList(parsedUrl) { - if (!this._httpProxyBypassHosts) { - return false; + debug('tunneling connection has established'); + self.sockets[self.sockets.indexOf(placeholder)] = socket; + return cb(socket); + } + + function onError(cause) { + connectReq.removeAllListeners(); + + debug('tunneling socket could not be established, cause=%s\n', + cause.message, cause.stack); + var error = new Error('tunneling socket could not be established, ' + + 'cause=' + cause.message); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + } +}; + +TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { + var pos = this.sockets.indexOf(socket) + if (pos === -1) { + return; + } + this.sockets.splice(pos, 1); + + var pending = this.requests.shift(); + if (pending) { + // If we have pending requests and a socket gets closed a new one + // needs to be created to take over in the pool for the one that closed. + this.createSocket(pending, function(socket) { + pending.request.onSocket(socket); + }); + } +}; + +function createSecureSocket(options, cb) { + var self = this; + TunnelingAgent.prototype.createSocket.call(self, options, function(socket) { + var hostHeader = options.request.getHeader('host'); + var tlsOptions = mergeOptions({}, self.options, { + socket: socket, + servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host + }); + + // 0 is dummy port for v0.6 + var secureSocket = tls.connect(0, tlsOptions); + self.sockets[self.sockets.indexOf(socket)] = secureSocket; + cb(secureSocket); + }); +} + + +function toOptions(host, port, localAddress) { + if (typeof host === 'string') { // since v0.10 + return { + host: host, + port: port, + localAddress: localAddress + }; + } + return host; // for v0.11 or later +} + +function mergeOptions(target) { + for (var i = 1, len = arguments.length; i < len; ++i) { + var overrides = arguments[i]; + if (typeof overrides === 'object') { + var keys = Object.keys(overrides); + for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { + var k = keys[j]; + if (overrides[k] !== undefined) { + target[k] = overrides[k]; } - let bypass = false; - this._httpProxyBypassHosts.forEach(bypassHost => { - if (bypassHost.test(parsedUrl.href)) { - bypass = true; - } - }); - return bypass; + } } - _performExponentialBackoff(retryNumber) { - retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise(resolve => setTimeout(() => resolve(), ms)); + } + return target; +} + + +var debug; +if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { + debug = function() { + var args = Array.prototype.slice.call(arguments); + if (typeof args[0] === 'string') { + args[0] = 'TUNNEL: ' + args[0]; + } else { + args.unshift('TUNNEL:'); } + console.error.apply(console, args); + } +} else { + debug = function() {}; } -exports.HttpClient = HttpClient; +exports.debug = debug; // for test + + +/***/ }), + +/***/ 6566: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const url = __nccwpck_require__(7310); +const http = __nccwpck_require__(3685); +const https = __nccwpck_require__(5687); +const util = __nccwpck_require__(5235); +let fs; +let tunnel; +var HttpCodes; +(function (HttpCodes) { + HttpCodes[HttpCodes["OK"] = 200] = "OK"; + HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; + HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; + HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; + HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; + HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; + HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; + HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; + HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; + HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; + HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; + HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; + HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; + HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; + HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; + HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; + HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; + HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; + HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; + HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; + HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; + HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; + HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; + HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; + HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; + HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; + HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; +})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); +const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect]; +const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout]; +const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED']; +const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; +const ExponentialBackoffCeiling = 10; +const ExponentialBackoffTimeSlice = 5; +class HttpClientResponse { + constructor(message) { + this.message = message; + } + readBody() { + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + const chunks = []; + const encodingCharset = util.obtainContentCharset(this); + // Extract Encoding from header: 'content-encoding' + // Match `gzip`, `gzip, deflate` variations of GZIP encoding + const contentEncoding = this.message.headers['content-encoding'] || ''; + const isGzippedEncoded = new RegExp('(gzip$)|(gzip, *deflate)').test(contentEncoding); + this.message.on('data', function (data) { + const chunk = (typeof data === 'string') ? Buffer.from(data, encodingCharset) : data; + chunks.push(chunk); + }).on('end', function () { + return __awaiter(this, void 0, void 0, function* () { + const buffer = Buffer.concat(chunks); + if (isGzippedEncoded) { // Process GZipped Response Body HERE + const gunzippedBody = yield util.decompressGzippedContent(buffer, encodingCharset); + resolve(gunzippedBody); + } + else { + resolve(buffer.toString(encodingCharset)); + } + }); + }).on('error', function (err) { + reject(err); + }); + })); + } +} +exports.HttpClientResponse = HttpClientResponse; +function isHttps(requestUrl) { + let parsedUrl = url.parse(requestUrl); + return parsedUrl.protocol === 'https:'; +} +exports.isHttps = isHttps; +var EnvironmentVariables; +(function (EnvironmentVariables) { + EnvironmentVariables["HTTP_PROXY"] = "HTTP_PROXY"; + EnvironmentVariables["HTTPS_PROXY"] = "HTTPS_PROXY"; + EnvironmentVariables["NO_PROXY"] = "NO_PROXY"; +})(EnvironmentVariables || (EnvironmentVariables = {})); +class HttpClient { + constructor(userAgent, handlers, requestOptions) { + this._ignoreSslError = false; + this._allowRedirects = true; + this._allowRedirectDowngrade = false; + this._maxRedirects = 50; + this._allowRetries = false; + this._maxRetries = 1; + this._keepAlive = false; + this._disposed = false; + this.userAgent = userAgent; + this.handlers = handlers || []; + let no_proxy = process.env[EnvironmentVariables.NO_PROXY]; + if (no_proxy) { + this._httpProxyBypassHosts = []; + no_proxy.split(',').forEach(bypass => { + this._httpProxyBypassHosts.push(util.buildProxyBypassRegexFromEnv(bypass)); + }); + } + this.requestOptions = requestOptions; + if (requestOptions) { + if (requestOptions.ignoreSslError != null) { + this._ignoreSslError = requestOptions.ignoreSslError; + } + this._socketTimeout = requestOptions.socketTimeout; + this._httpProxy = requestOptions.proxy; + if (requestOptions.proxy && requestOptions.proxy.proxyBypassHosts) { + this._httpProxyBypassHosts = []; + requestOptions.proxy.proxyBypassHosts.forEach(bypass => { + this._httpProxyBypassHosts.push(new RegExp(bypass, 'i')); + }); + } + this._certConfig = requestOptions.cert; + if (this._certConfig) { + // If using cert, need fs + fs = __nccwpck_require__(7147); + // cache the cert content into memory, so we don't have to read it from disk every time + if (this._certConfig.caFile && fs.existsSync(this._certConfig.caFile)) { + this._ca = fs.readFileSync(this._certConfig.caFile, 'utf8'); + } + if (this._certConfig.certFile && fs.existsSync(this._certConfig.certFile)) { + this._cert = fs.readFileSync(this._certConfig.certFile, 'utf8'); + } + if (this._certConfig.keyFile && fs.existsSync(this._certConfig.keyFile)) { + this._key = fs.readFileSync(this._certConfig.keyFile, 'utf8'); + } + } + if (requestOptions.allowRedirects != null) { + this._allowRedirects = requestOptions.allowRedirects; + } + if (requestOptions.allowRedirectDowngrade != null) { + this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; + } + if (requestOptions.maxRedirects != null) { + this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); + } + if (requestOptions.keepAlive != null) { + this._keepAlive = requestOptions.keepAlive; + } + if (requestOptions.allowRetries != null) { + this._allowRetries = requestOptions.allowRetries; + } + if (requestOptions.maxRetries != null) { + this._maxRetries = requestOptions.maxRetries; + } + } + } + options(requestUrl, additionalHeaders) { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + } + get(requestUrl, additionalHeaders) { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + } + del(requestUrl, additionalHeaders) { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + } + post(requestUrl, data, additionalHeaders) { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + } + patch(requestUrl, data, additionalHeaders) { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + } + put(requestUrl, data, additionalHeaders) { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + } + head(requestUrl, additionalHeaders) { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + } + sendStream(verb, requestUrl, stream, additionalHeaders) { + return this.request(verb, requestUrl, stream, additionalHeaders); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + request(verb, requestUrl, data, headers) { + return __awaiter(this, void 0, void 0, function* () { + if (this._disposed) { + throw new Error("Client has already been disposed."); + } + let parsedUrl = url.parse(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + let maxTries = (this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1) ? this._maxRetries + 1 : 1; + let numTries = 0; + let response; + while (numTries < maxTries) { + try { + response = yield this.requestRaw(info, data); + } + catch (err) { + numTries++; + if (err && err.code && NetworkRetryErrors.indexOf(err.code) > -1 && numTries < maxTries) { + yield this._performExponentialBackoff(numTries); + continue; + } + throw err; + } + // Check if it's an authentication challenge + if (response && response.message && response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (let i = 0; i < this.handlers.length; i++) { + if (this.handlers[i].canHandleAuthentication(response)) { + authenticationHandler = this.handlers[i]; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } + } + let redirectsRemaining = this._maxRedirects; + while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 + && this._allowRedirects + && redirectsRemaining > 0) { + const redirectUrl = response.message.headers["location"]; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + let parsedRedirectUrl = url.parse(redirectUrl); + if (parsedUrl.protocol == 'https:' && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) { + throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true."); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + yield response.readBody(); + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = yield this.requestRaw(info, data); + redirectsRemaining--; + } + if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + yield response.readBody(); + yield this._performExponentialBackoff(numTries); + } + } + return response; + }); + } + /** + * Needs to be called if keepAlive is set to true in request options. + */ + dispose() { + if (this._agent) { + this._agent.destroy(); + } + this._disposed = true; + } + /** + * Raw request. + * @param info + * @param data + */ + requestRaw(info, data) { + return new Promise((resolve, reject) => { + let callbackForResult = function (err, res) { + if (err) { + reject(err); + } + resolve(res); + }; + this.requestRawWithCallback(info, data, callbackForResult); + }); + } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ + requestRawWithCallback(info, data, onResult) { + let socket; + if (typeof (data) === 'string') { + info.options.headers["Content-Length"] = Buffer.byteLength(data, 'utf8'); + } + let callbackCalled = false; + let handleResult = (err, res) => { + if (!callbackCalled) { + callbackCalled = true; + onResult(err, res); + } + }; + let req = info.httpModule.request(info.options, (msg) => { + let res = new HttpClientResponse(msg); + handleResult(null, res); + }); + req.on('socket', (sock) => { + socket = sock; + }); + // If we ever get disconnected, we want the socket to timeout eventually + req.setTimeout(this._socketTimeout || 3 * 60000, () => { + if (socket) { + socket.destroy(); + } + handleResult(new Error('Request timeout: ' + info.options.path), null); + }); + req.on('error', function (err) { + // err has statusCode property + // res should have headers + handleResult(err, null); + }); + if (data && typeof (data) === 'string') { + req.write(data, 'utf8'); + } + if (data && typeof (data) !== 'string') { + data.on('close', function () { + req.end(); + }); + data.pipe(req); + } + else { + req.end(); + } + } + _prepareRequest(method, requestUrl, headers) { + const info = {}; + info.parsedUrl = requestUrl; + const usingSsl = info.parsedUrl.protocol === 'https:'; + info.httpModule = usingSsl ? https : http; + const defaultPort = usingSsl ? 443 : 80; + info.options = {}; + info.options.host = info.parsedUrl.hostname; + info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort; + info.options.path = (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.method = method; + info.options.timeout = (this.requestOptions && this.requestOptions.socketTimeout) || this._socketTimeout; + this._socketTimeout = info.options.timeout; + info.options.headers = this._mergeHeaders(headers); + if (this.userAgent != null) { + info.options.headers["user-agent"] = this.userAgent; + } + info.options.agent = this._getAgent(info.parsedUrl); + // gives handlers an opportunity to participate + if (this.handlers && !this._isPresigned(url.format(requestUrl))) { + this.handlers.forEach((handler) => { + handler.prepareRequest(info.options); + }); + } + return info; + } + _isPresigned(requestUrl) { + if (this.requestOptions && this.requestOptions.presignedUrlPatterns) { + const patterns = this.requestOptions.presignedUrlPatterns; + for (let i = 0; i < patterns.length; i++) { + if (requestUrl.match(patterns[i])) { + return true; + } + } + } + return false; + } + _mergeHeaders(headers) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {}); + if (this.requestOptions && this.requestOptions.headers) { + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); + } + return lowercaseKeys(headers || {}); + } + _getAgent(parsedUrl) { + let agent; + let proxy = this._getProxy(parsedUrl); + let useProxy = proxy.proxyUrl && proxy.proxyUrl.hostname && !this._isMatchInBypassProxyList(parsedUrl); + if (this._keepAlive && useProxy) { + agent = this._proxyAgent; + } + if (this._keepAlive && !useProxy) { + agent = this._agent; + } + // if agent is already assigned use that agent. + if (!!agent) { + return agent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + let maxSockets = 100; + if (!!this.requestOptions) { + maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + } + if (useProxy) { + // If using proxy, need tunnel + if (!tunnel) { + tunnel = __nccwpck_require__(9958); + } + const agentOptions = { + maxSockets: maxSockets, + keepAlive: this._keepAlive, + proxy: { + proxyAuth: proxy.proxyAuth, + host: proxy.proxyUrl.hostname, + port: proxy.proxyUrl.port + }, + }; + let tunnelAgent; + const overHttps = proxy.proxyUrl.protocol === 'https:'; + if (usingSsl) { + tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; + } + else { + tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + agent = tunnelAgent(agentOptions); + this._proxyAgent = agent; + } + // if reusing agent across request and tunneling agent isn't assigned create a new agent + if (this._keepAlive && !agent) { + const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; + agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + this._agent = agent; + } + // if not using private agent and tunnel agent isn't setup then use global agent + if (!agent) { + agent = usingSsl ? https.globalAgent : http.globalAgent; + } + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + agent.options = Object.assign(agent.options || {}, { rejectUnauthorized: false }); + } + if (usingSsl && this._certConfig) { + agent.options = Object.assign(agent.options || {}, { ca: this._ca, cert: this._cert, key: this._key, passphrase: this._certConfig.passphrase }); + } + return agent; + } + _getProxy(parsedUrl) { + let usingSsl = parsedUrl.protocol === 'https:'; + let proxyConfig = this._httpProxy; + // fallback to http_proxy and https_proxy env + let https_proxy = process.env[EnvironmentVariables.HTTPS_PROXY]; + let http_proxy = process.env[EnvironmentVariables.HTTP_PROXY]; + if (!proxyConfig) { + if (https_proxy && usingSsl) { + proxyConfig = { + proxyUrl: https_proxy + }; + } + else if (http_proxy) { + proxyConfig = { + proxyUrl: http_proxy + }; + } + } + let proxyUrl; + let proxyAuth; + if (proxyConfig) { + if (proxyConfig.proxyUrl.length > 0) { + proxyUrl = url.parse(proxyConfig.proxyUrl); + } + if (proxyConfig.proxyUsername || proxyConfig.proxyPassword) { + proxyAuth = proxyConfig.proxyUsername + ":" + proxyConfig.proxyPassword; + } + } + return { proxyUrl: proxyUrl, proxyAuth: proxyAuth }; + } + _isMatchInBypassProxyList(parsedUrl) { + if (!this._httpProxyBypassHosts) { + return false; + } + let bypass = false; + this._httpProxyBypassHosts.forEach(bypassHost => { + if (bypassHost.test(parsedUrl.href)) { + bypass = true; + } + }); + return bypass; + } + _performExponentialBackoff(retryNumber) { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + } +} +exports.HttpClient = HttpClient; /***/ }), @@ -7520,147 +12780,175 @@ exports.HttpClient = HttpClient; /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const qs = __nccwpck_require__(737); +const url = __nccwpck_require__(7310); +const path = __nccwpck_require__(1017); +const zlib = __nccwpck_require__(9796); +/** + * creates an url from a request url and optional base url (http://server:8080) + * @param {string} resource - a fully qualified url or relative path + * @param {string} baseUrl - an optional baseUrl (http://server:8080) + * @param {IRequestOptions} options - an optional options object, could include QueryParameters e.g. + * @return {string} - resultant url + */ +function getUrl(resource, baseUrl, queryParams) { + const pathApi = path.posix || path; + let requestUrl = ''; + if (!baseUrl) { + requestUrl = resource; + } + else if (!resource) { + requestUrl = baseUrl; + } + else { + const base = url.parse(baseUrl); + const resultantUrl = url.parse(resource); + // resource (specific per request) elements take priority + resultantUrl.protocol = resultantUrl.protocol || base.protocol; + resultantUrl.auth = resultantUrl.auth || base.auth; + resultantUrl.host = resultantUrl.host || base.host; + resultantUrl.pathname = pathApi.resolve(base.pathname, resultantUrl.pathname); + if (!resultantUrl.pathname.endsWith('/') && resource.endsWith('/')) { + resultantUrl.pathname += '/'; + } + requestUrl = url.format(resultantUrl); + } + return queryParams ? + getUrlWithParsedQueryParams(requestUrl, queryParams) : + requestUrl; +} +exports.getUrl = getUrl; +/** + * + * @param {string} requestUrl + * @param {IRequestQueryParams} queryParams + * @return {string} - Request's URL with Query Parameters appended/parsed. + */ +function getUrlWithParsedQueryParams(requestUrl, queryParams) { + const url = requestUrl.replace(/\?$/g, ''); // Clean any extra end-of-string "?" character + const parsedQueryParams = qs.stringify(queryParams.params, buildParamsStringifyOptions(queryParams)); + return `${url}${parsedQueryParams}`; +} +/** + * Build options for QueryParams Stringifying. + * + * @param {IRequestQueryParams} queryParams + * @return {object} + */ +function buildParamsStringifyOptions(queryParams) { + let options = { + addQueryPrefix: true, + delimiter: (queryParams.options || {}).separator || '&', + allowDots: (queryParams.options || {}).shouldAllowDots || false, + arrayFormat: (queryParams.options || {}).arrayFormat || 'repeat', + encodeValuesOnly: (queryParams.options || {}).shouldOnlyEncodeValues || true + }; + return options; +} +/** + * Decompress/Decode gzip encoded JSON + * Using Node.js built-in zlib module + * + * @param {Buffer} buffer + * @param {string} charset? - optional; defaults to 'utf-8' + * @return {Promise} + */ +function decompressGzippedContent(buffer, charset) { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + zlib.gunzip(buffer, function (error, buffer) { + if (error) { + reject(error); + } + else { + resolve(buffer.toString(charset || 'utf-8')); + } + }); + })); + }); +} +exports.decompressGzippedContent = decompressGzippedContent; +/** + * Builds a RegExp to test urls against for deciding + * wether to bypass proxy from an entry of the + * environment variable setting NO_PROXY + * + * @param {string} bypass + * @return {RegExp} + */ +function buildProxyBypassRegexFromEnv(bypass) { + try { + // We need to keep this around for back-compat purposes + return new RegExp(bypass, 'i'); + } + catch (err) { + if (err instanceof SyntaxError && (bypass || "").startsWith("*")) { + let wildcardEscaped = bypass.replace('*', '(.*)'); + return new RegExp(wildcardEscaped, 'i'); + } + throw err; + } +} +exports.buildProxyBypassRegexFromEnv = buildProxyBypassRegexFromEnv; +/** + * Obtain Response's Content Charset. + * Through inspecting `content-type` response header. + * It Returns 'utf-8' if NO charset specified/matched. + * + * @param {IHttpClientResponse} response + * @return {string} - Content Encoding Charset; Default=utf-8 + */ +function obtainContentCharset(response) { + // Find the charset, if specified. + // Search for the `charset=CHARSET` string, not including `;,\r\n` + // Example: content-type: 'application/json;charset=utf-8' + // |__ matches would be ['charset=utf-8', 'utf-8', index: 18, input: 'application/json; charset=utf-8'] + // |_____ matches[1] would have the charset :tada: , in our example it's utf-8 + // However, if the matches Array was empty or no charset found, 'utf-8' would be returned by default. + const nodeSupportedEncodings = ['ascii', 'utf8', 'utf16le', 'ucs2', 'base64', 'binary', 'hex']; + const contentType = response.message.headers['content-type'] || ''; + const matches = contentType.match(/charset=([^;,\r\n]+)/i); + return (matches && matches[1] && nodeSupportedEncodings.indexOf(matches[1]) != -1) ? matches[1] : 'utf-8'; +} +exports.obtainContentCharset = obtainContentCharset; + + +/***/ }), + +/***/ 7163: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; Object.defineProperty(exports, "__esModule", ({ value: true })); -const qs = __nccwpck_require__(737); -const url = __nccwpck_require__(7310); -const path = __nccwpck_require__(1017); -const zlib = __nccwpck_require__(9796); -/** - * creates an url from a request url and optional base url (http://server:8080) - * @param {string} resource - a fully qualified url or relative path - * @param {string} baseUrl - an optional baseUrl (http://server:8080) - * @param {IRequestOptions} options - an optional options object, could include QueryParameters e.g. - * @return {string} - resultant url - */ -function getUrl(resource, baseUrl, queryParams) { - const pathApi = path.posix || path; - let requestUrl = ''; - if (!baseUrl) { - requestUrl = resource; - } - else if (!resource) { - requestUrl = baseUrl; - } - else { - const base = url.parse(baseUrl); - const resultantUrl = url.parse(resource); - // resource (specific per request) elements take priority - resultantUrl.protocol = resultantUrl.protocol || base.protocol; - resultantUrl.auth = resultantUrl.auth || base.auth; - resultantUrl.host = resultantUrl.host || base.host; - resultantUrl.pathname = pathApi.resolve(base.pathname, resultantUrl.pathname); - if (!resultantUrl.pathname.endsWith('/') && resource.endsWith('/')) { - resultantUrl.pathname += '/'; - } - requestUrl = url.format(resultantUrl); - } - return queryParams ? - getUrlWithParsedQueryParams(requestUrl, queryParams) : - requestUrl; -} -exports.getUrl = getUrl; -/** - * - * @param {string} requestUrl - * @param {IRequestQueryParams} queryParams - * @return {string} - Request's URL with Query Parameters appended/parsed. - */ -function getUrlWithParsedQueryParams(requestUrl, queryParams) { - const url = requestUrl.replace(/\?$/g, ''); // Clean any extra end-of-string "?" character - const parsedQueryParams = qs.stringify(queryParams.params, buildParamsStringifyOptions(queryParams)); - return `${url}${parsedQueryParams}`; -} -/** - * Build options for QueryParams Stringifying. - * - * @param {IRequestQueryParams} queryParams - * @return {object} - */ -function buildParamsStringifyOptions(queryParams) { - let options = { - addQueryPrefix: true, - delimiter: (queryParams.options || {}).separator || '&', - allowDots: (queryParams.options || {}).shouldAllowDots || false, - arrayFormat: (queryParams.options || {}).arrayFormat || 'repeat', - encodeValuesOnly: (queryParams.options || {}).shouldOnlyEncodeValues || true - }; - return options; -} -/** - * Decompress/Decode gzip encoded JSON - * Using Node.js built-in zlib module - * - * @param {Buffer} buffer - * @param {string} charset? - optional; defaults to 'utf-8' - * @return {Promise} - */ -function decompressGzippedContent(buffer, charset) { - return __awaiter(this, void 0, void 0, function* () { - return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { - zlib.gunzip(buffer, function (error, buffer) { - if (error) { - reject(error); - } - resolve(buffer.toString(charset || 'utf-8')); - }); - })); - }); -} -exports.decompressGzippedContent = decompressGzippedContent; -/** - * Builds a RegExp to test urls against for deciding - * wether to bypass proxy from an entry of the - * environment variable setting NO_PROXY - * - * @param {string} bypass - * @return {RegExp} - */ -function buildProxyBypassRegexFromEnv(bypass) { - try { - // We need to keep this around for back-compat purposes - return new RegExp(bypass, 'i'); - } - catch (err) { - if (err instanceof SyntaxError && (bypass || "").startsWith("*")) { - let wildcardEscaped = bypass.replace('*', '(.*)'); - return new RegExp(wildcardEscaped, 'i'); - } - throw err; - } -} -exports.buildProxyBypassRegexFromEnv = buildProxyBypassRegexFromEnv; -/** - * Obtain Response's Content Charset. - * Through inspecting `content-type` response header. - * It Returns 'utf-8' if NO charset specified/matched. - * - * @param {IHttpClientResponse} response - * @return {string} - Content Encoding Charset; Default=utf-8 - */ -function obtainContentCharset(response) { - // Find the charset, if specified. - // Search for the `charset=CHARSET` string, not including `;,\r\n` - // Example: content-type: 'application/json;charset=utf-8' - // |__ matches would be ['charset=utf-8', 'utf-8', index: 18, input: 'application/json; charset=utf-8'] - // |_____ matches[1] would have the charset :tada: , in our example it's utf-8 - // However, if the matches Array was empty or no charset found, 'utf-8' would be returned by default. - const nodeSupportedEncodings = ['ascii', 'utf8', 'utf16le', 'ucs2', 'base64', 'binary', 'hex']; - const contentType = response.message.headers['content-type'] || ''; - const matches = contentType.match(/charset=([^;,\r\n]+)/i); - return (matches && matches[1] && nodeSupportedEncodings.indexOf(matches[1]) != -1) ? matches[1] : 'utf-8'; + +function getUserAgent() { + if (typeof navigator === "object" && "userAgent" in navigator) { + return navigator.userAgent; + } + + if (typeof process === "object" && "version" in process) { + return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; + } + + return ""; } -exports.obtainContentCharset = obtainContentCharset; + +exports.getUserAgent = getUserAgent; +//# sourceMappingURL=index.js.map /***/ }), @@ -7747,6 +13035,46 @@ function v4(options, buf, offset) { module.exports = v4; +/***/ }), + +/***/ 3985: +/***/ ((module) => { + +// Returns a wrapper function that returns a wrapped callback +// The wrapper function should do some stuff, and return a +// presumably different callback function. +// This makes sure that own properties are retained, so that +// decorations and such are not lost along the way. +module.exports = wrappy +function wrappy (fn, cb) { + if (fn && cb) return wrappy(fn)(cb) + + if (typeof fn !== 'function') + throw new TypeError('need wrapper function') + + Object.keys(fn).forEach(function (k) { + wrapper[k] = fn[k] + }) + + return wrapper + + function wrapper() { + var args = new Array(arguments.length) + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i] + } + var ret = fn.apply(this, args) + var cb = args[args.length-1] + if (typeof ret === 'function' && ret !== cb) { + Object.keys(cb).forEach(function (k) { + ret[k] = cb[k] + }) + } + return ret + } +} + + /***/ }), /***/ 34: @@ -7774,89 +13102,99 @@ const util = __nccwpck_require__(3837); const fs = __nccwpck_require__(7147); const toolCache = __nccwpck_require__(3594); const core = __nccwpck_require__(6024); -const helmToolName = "helm"; -const stableHelmVersion = "v3.8.0"; -const helmAllReleasesUrl = "https://api.github.com/repos/helm/helm/releases"; +const graphql_1 = __nccwpck_require__(1660); +const helmToolName = 'helm'; +const stableHelmVersion = 'v3.9.0'; function run() { return __awaiter(this, void 0, void 0, function* () { - let version = core.getInput("version", { required: true }); - if (version !== "latest" && version[0] !== "v") { + let version = core.getInput('version', { required: true }); + if (version !== 'latest' && version[0] !== 'v') { + core.info('Getting latest Helm version'); version = getValidVersion(version); } - if (version.toLocaleLowerCase() === "latest") { + if (version.toLocaleLowerCase() === 'latest') { version = yield getLatestHelmVersion(); } - core.debug(util.format("Downloading %s", version)); - let cachedPath = yield downloadHelm(version); + core.startGroup(`Downloading ${version}`); + const cachedPath = yield downloadHelm(version); + core.endGroup(); try { - if (!process.env["PATH"].startsWith(path.dirname(cachedPath))) { + if (!process.env['PATH'].startsWith(path.dirname(cachedPath))) { core.addPath(path.dirname(cachedPath)); } } catch (_a) { //do nothing, set as output variable } - console.log(`Helm tool version: '${version}' has been cached at ${cachedPath}`); - core.setOutput("helm-path", cachedPath); + core.info(`Helm tool version '${version}' has been cached at ${cachedPath}`); + core.setOutput('helm-path', cachedPath); }); } exports.run = run; -//Returns version with proper v before it +// Prefixes version with v function getValidVersion(version) { - return "v" + version; + return 'v' + version; } exports.getValidVersion = getValidVersion; -// Downloads the helm releases JSON and parses all the recent versions of helm from it. -// Defaults to sending stable helm version if none are valid or if it fails +// Gets the latest helm version or returns a default stable if getting latest fails function getLatestHelmVersion() { return __awaiter(this, void 0, void 0, function* () { - const helmJSONPath = yield toolCache.downloadTool(helmAllReleasesUrl); try { - const helmJSON = JSON.parse(fs.readFileSync(helmJSONPath, "utf-8")); - for (let i in helmJSON) { - if (isValidVersion(helmJSON[i].tag_name)) { - return helmJSON[i].tag_name; - } + const { repository } = yield graphql_1.graphql(` + { + repository(name: "helm", owner: "helm") { + releases(last: 100) { + nodes { + tagName + } + } + } } + `); + const releases = repository.releases.nodes.reverse(); + const latestValidRelease = releases.find((release) => isValidVersion(release.tagName)); + if (latestValidRelease) + return latestValidRelease; } catch (err) { - core.warning(util.format("Error while fetching the latest Helm release. Error: %s. Using default Helm version %s", err.toString(), stableHelmVersion)); + core.warning(`Error while fetching latest Helm release: ${err.toString()}. Using default version ${stableHelmVersion}`); return stableHelmVersion; } + core.warning(`Could not find valid release. Using default version ${stableHelmVersion}`); return stableHelmVersion; }); } exports.getLatestHelmVersion = getLatestHelmVersion; // isValidVersion checks if verison is a stable release function isValidVersion(version) { - return version.indexOf("rc") == -1; + return version.indexOf('rc') == -1; } function getExecutableExtension() { if (os.type().match(/^Win/)) { - return ".exe"; + return '.exe'; } - return ""; + return ''; } exports.getExecutableExtension = getExecutableExtension; -const LINUX = "Linux"; -const MAC_OS = "Darwin"; -const WINDOWS = "Windows_NT"; -const ARM64 = "arm64"; +const LINUX = 'Linux'; +const MAC_OS = 'Darwin'; +const WINDOWS = 'Windows_NT'; +const ARM64 = 'arm64'; function getHelmDownloadURL(version) { const arch = os.arch(); const operatingSystem = os.type(); switch (true) { case operatingSystem == LINUX && arch == ARM64: - return util.format("https://get.helm.sh/helm-%s-linux-arm64.zip", version); + return util.format('https://get.helm.sh/helm-%s-linux-arm64.zip', version); case operatingSystem == LINUX: - return util.format("https://get.helm.sh/helm-%s-linux-amd64.zip", version); + return util.format('https://get.helm.sh/helm-%s-linux-amd64.zip', version); case operatingSystem == MAC_OS && arch == ARM64: - return util.format("https://get.helm.sh/helm-%s-darwin-arm64.zip", version); + return util.format('https://get.helm.sh/helm-%s-darwin-arm64.zip', version); case operatingSystem == MAC_OS: - return util.format("https://get.helm.sh/helm-%s-darwin-amd64.zip", version); + return util.format('https://get.helm.sh/helm-%s-darwin-amd64.zip', version); case operatingSystem == WINDOWS: default: - return util.format("https://get.helm.sh/helm-%s-windows-amd64.zip", version); + return util.format('https://get.helm.sh/helm-%s-windows-amd64.zip', version); } } exports.getHelmDownloadURL = getHelmDownloadURL; @@ -7869,27 +13207,27 @@ function downloadHelm(version) { helmDownloadPath = yield toolCache.downloadTool(getHelmDownloadURL(version)); } catch (exception) { - throw new Error(util.format("Failed to download Helm from location", getHelmDownloadURL(version))); + throw new Error(`Failed to download Helm from location ${getHelmDownloadURL(version)}`); } - fs.chmodSync(helmDownloadPath, "777"); + fs.chmodSync(helmDownloadPath, '777'); const unzipedHelmPath = yield toolCache.extractZip(helmDownloadPath); cachedToolpath = yield toolCache.cacheDir(unzipedHelmPath, helmToolName, version); } const helmpath = findHelm(cachedToolpath); if (!helmpath) { - throw new Error(util.format("Helm executable not found in path", cachedToolpath)); + throw new Error(util.format('Helm executable not found in path', cachedToolpath)); } - fs.chmodSync(helmpath, "777"); + fs.chmodSync(helmpath, '777'); return helmpath; }); } exports.downloadHelm = downloadHelm; function findHelm(rootFolder) { - fs.chmodSync(rootFolder, "777"); + fs.chmodSync(rootFolder, '777'); var filelist = []; exports.walkSync(rootFolder, filelist, helmToolName + getExecutableExtension()); if (!filelist || filelist.length == 0) { - throw new Error(util.format("Helm executable not found in path", rootFolder)); + throw new Error(util.format('Helm executable not found in path', rootFolder)); } else { return filelist[0]; @@ -7915,6 +13253,14 @@ exports.walkSync = function (dir, filelist, fileToFind) { run().catch(core.setFailed); +/***/ }), + +/***/ 5347: +/***/ ((module) => { + +module.exports = eval("require")("encoding"); + + /***/ }), /***/ 9491: @@ -7997,6 +13343,22 @@ module.exports = require("path"); /***/ }), +/***/ 5477: +/***/ ((module) => { + +"use strict"; +module.exports = require("punycode"); + +/***/ }), + +/***/ 2781: +/***/ ((module) => { + +"use strict"; +module.exports = require("stream"); + +/***/ }), + /***/ 1576: /***/ ((module) => { @@ -8043,6 +13405,14 @@ module.exports = require("util"); "use strict"; module.exports = require("zlib"); +/***/ }), + +/***/ 1907: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]'); + /***/ }) /******/ }); diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 5097a640..0d917d25 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6240 +1,6314 @@ { - "name": "setuphelm", - "version": "0.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "node_modules/@actions/core": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz", - "integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==", - "dependencies": { - "@actions/http-client": "^1.0.11" - } - }, - "node_modules/@actions/exec": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.0.tgz", - "integrity": "sha512-LImpN9AY0J1R1mEYJjVJfSZWU4zYOlEcwSTgPve1rFQqK5AwrEs6uWW5Rv70gbDIQIAUwI86z6B+9mPK4w9Sbg==", - "dependencies": { - "@actions/io": "^1.0.1" - } - }, - "node_modules/@actions/http-client": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", - "integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==", - "dependencies": { - "tunnel": "0.0.6" - } - }, - "node_modules/@actions/io": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.1.tgz", - "integrity": "sha512-Qi4JoKXjmE0O67wAOH6y0n26QXhMKMFo7GD/4IXNVcrtLjUlGjGuVys6pQgwF3ArfGTQu0XpqaNr0YhED2RaRA==" - }, - "node_modules/@actions/tool-cache": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.1.2.tgz", - "integrity": "sha512-IJczPaZr02ECa3Lgws/TJEVco9tjOujiQSZbO3dHuXXjhd5vrUtfOgGwhmz3/f97L910OraPZ8SknofUk6RvOQ==", - "dependencies": { - "@actions/core": "^1.1.0", - "@actions/exec": "^1.0.1", - "@actions/io": "^1.0.1", - "semver": "^6.1.0", - "typed-rest-client": "^1.4.0", - "uuid": "^3.3.2" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.8.tgz", - "integrity": "sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.16.12", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.12.tgz", - "integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.16.8", - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helpers": "^7.16.7", - "@babel/parser": "^7.16.12", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.10", - "@babel/types": "^7.16.8", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@babel/generator": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.8.tgz", - "integrity": "sha512-1ojZwE9+lOXzcWdWmO6TbUzDfqLD39CmEhN8+2cX9XkDo5yW1OpgfejfliysR2AWLpMamTiOiAp/mtroaymhpw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.8", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/generator/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", - "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.16.4", - "@babel/helper-validator-option": "^7.16.7", - "browserslist": "^4.17.5", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", - "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", - "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", - "dev": true, - "dependencies": { - "@babel/helper-get-function-arity": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-get-function-arity": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", - "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", - "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", - "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz", - "integrity": "sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==", - "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", - "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", - "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", - "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.7.tgz", - "integrity": "sha512-9ZDoqtfY7AuEOt3cxchfii6C7GDyyMBffktR5B2jvWv8u2+efwvpnVKXMWzNehqy68tKgAfSwfdw/lWpthS2bw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.16.10", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", - "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.16.12", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.12.tgz", - "integrity": "sha512-VfaV15po8RiZssrkPweyvbGVSe4x2y+aciFCgn0n0/SJMR22cwofRV1mtnJQYcSB1wUTaA/X1LnA3es66MCO5A==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.16.10", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.10.tgz", - "integrity": "sha512-yzuaYXoRJBGMlBhsMJoUW7G1UmSb/eXr/JHYM/MsOJgavJibLwASijW7oXBdw3NQ6T0bW7Ty5P/VarOs9cHmqw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.16.8", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.16.10", - "@babel/types": "^7.16.8", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.8.tgz", - "integrity": "sha512-smN2DQc5s4M7fntyjGtyIPbRJv6wW4rU/94fmYJ7PKQuZkC0qGMHXJbg6sNGt12JmVr4k5YaptI/XtiLJBnmIg==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, - "node_modules/@cnakazawa/watch": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", - "integrity": "sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==", - "dev": true, - "dependencies": { - "exec-sh": "^0.3.2", - "minimist": "^1.2.0" - }, - "bin": { - "watch": "cli.js" - }, - "engines": { - "node": ">=0.1.95" - } - }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/console": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz", - "integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^26.6.2", - "jest-util": "^26.6.2", - "slash": "^3.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/core": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz", - "integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==", - "dev": true, - "dependencies": { - "@jest/console": "^26.6.2", - "@jest/reporters": "^26.6.2", - "@jest/test-result": "^26.6.2", - "@jest/transform": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.4", - "jest-changed-files": "^26.6.2", - "jest-config": "^26.6.3", - "jest-haste-map": "^26.6.2", - "jest-message-util": "^26.6.2", - "jest-regex-util": "^26.0.0", - "jest-resolve": "^26.6.2", - "jest-resolve-dependencies": "^26.6.3", - "jest-runner": "^26.6.3", - "jest-runtime": "^26.6.3", - "jest-snapshot": "^26.6.2", - "jest-util": "^26.6.2", - "jest-validate": "^26.6.2", - "jest-watcher": "^26.6.2", - "micromatch": "^4.0.2", - "p-each-series": "^2.1.0", - "rimraf": "^3.0.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/environment": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz", - "integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==", - "dev": true, - "dependencies": { - "@jest/fake-timers": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/node": "*", - "jest-mock": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/fake-timers": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz", - "integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "@sinonjs/fake-timers": "^6.0.1", - "@types/node": "*", - "jest-message-util": "^26.6.2", - "jest-mock": "^26.6.2", - "jest-util": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/globals": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz", - "integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==", - "dev": true, - "dependencies": { - "@jest/environment": "^26.6.2", - "@jest/types": "^26.6.2", - "expect": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/reporters": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz", - "integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==", - "dev": true, - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^26.6.2", - "@jest/test-result": "^26.6.2", - "@jest/transform": "^26.6.2", - "@jest/types": "^26.6.2", - "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": "^26.6.2", - "jest-resolve": "^26.6.2", - "jest-util": "^26.6.2", - "jest-worker": "^26.6.2", - "slash": "^3.0.0", - "source-map": "^0.6.0", - "string-length": "^4.0.1", - "terminal-link": "^2.0.0", - "v8-to-istanbul": "^7.0.0" - }, - "engines": { - "node": ">= 10.14.2" - }, - "optionalDependencies": { - "node-notifier": "^8.0.0" - } - }, - "node_modules/@jest/source-map": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz", - "integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0", - "graceful-fs": "^4.2.4", - "source-map": "^0.6.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/test-result": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz", - "integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==", - "dev": true, - "dependencies": { - "@jest/console": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/test-sequencer": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz", - "integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==", - "dev": true, - "dependencies": { - "@jest/test-result": "^26.6.2", - "graceful-fs": "^4.2.4", - "jest-haste-map": "^26.6.2", - "jest-runner": "^26.6.3", - "jest-runtime": "^26.6.3" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/transform": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz", - "integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==", - "dev": true, - "dependencies": { - "@babel/core": "^7.1.0", - "@jest/types": "^26.6.2", - "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": "^26.6.2", - "jest-regex-util": "^26.0.0", - "jest-util": "^26.6.2", - "micromatch": "^4.0.2", - "pirates": "^4.0.1", - "slash": "^3.0.0", - "source-map": "^0.6.1", - "write-file-atomic": "^3.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@jest/types": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz", - "integrity": "sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^15.0.0", - "chalk": "^4.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/@octokit/endpoint": { - "version": "6.0.12", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", - "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", - "dependencies": { - "@octokit/types": "^6.0.3", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/graphql": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", - "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", - "dependencies": { - "@octokit/request": "^5.6.0", - "@octokit/types": "^6.0.3", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/openapi-types": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.2.0.tgz", - "integrity": "sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA==" - }, - "node_modules/@octokit/request": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz", - "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==", - "dependencies": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.1.0", - "@octokit/types": "^6.16.1", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.7", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/request-error": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", - "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", - "dependencies": { - "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" - } - }, - "node_modules/@octokit/types": { - "version": "6.34.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.34.0.tgz", - "integrity": "sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==", - "dependencies": { - "@octokit/openapi-types": "^11.2.0" - } - }, - "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", - "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^1.7.0" - } - }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@types/babel__core": { - "version": "7.1.18", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.18.tgz", - "integrity": "sha512-S7unDjm/C7z2A2R9NzfKCK1I+BAALDtxEmsJBwlB3EzNfb929ykjL++1CK9LO++EIp2fQrC8O+BwjKvz6UeDyQ==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.6.4", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", - "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", - "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.14.2.tgz", - "integrity": "sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.3.0" - } - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", - "integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", - "dev": true - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "*" - } - }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", - "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/@types/jest": { - "version": "26.0.24", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.24.tgz", - "integrity": "sha512-E/X5Vib8BWqZNRlDxj9vYXhsDwPYbPINqKF9BsnSoon4RQ0D9moEuLD8txgyypFLH7J4+Lho9Nr/c8H0Fi+17w==", - "dev": true, - "dependencies": { - "jest-diff": "^26.0.0", - "pretty-format": "^26.0.0" - } - }, - "node_modules/@types/node": { - "version": "12.20.42", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.42.tgz", - "integrity": "sha512-aI3/oo5DzyiI5R/xAhxxRzfZlWlsbbqdgxfTPkqu/Zt+23GXiJvMCyPJT4+xKSXOnLqoL8jJYMLTwvK2M3a5hw==", - "dev": true - }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true - }, - "node_modules/@types/prettier": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.3.tgz", - "integrity": "sha512-QzSuZMBuG5u8HqYz01qtMdg/Jfctlnvj1z/lYnIDXs/golxw0fxtRAHd9KrzjR7Yxz1qVeI00o0kiO3PmVdJ9w==", - "dev": true - }, - "node_modules/@types/stack-utils": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", - "dev": true - }, - "node_modules/@types/yargs": { - "version": "15.0.14", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.14.tgz", - "integrity": "sha512-yEJzHoxf6SyQGhBhIYGXQDSCkJjB6HohDShto7m8vaKg9Yp0Yn8+71J9eakh2bnPg6BfsH9PRMhiRTZnd4eXGQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "20.2.1", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.1.tgz", - "integrity": "sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw==", - "dev": true - }, - "node_modules/@vercel/ncc": { - "version": "0.33.1", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.1.tgz", - "integrity": "sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==", - "dev": true, - "bin": { - "ncc": "dist/ncc/cli.js" - } - }, - "node_modules/abab": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", - "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", - "dev": true - }, - "node_modules/acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-globals": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", - "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", - "dev": true, - "dependencies": { - "acorn": "^7.1.1", - "acorn-walk": "^7.1.1" - } - }, - "node_modules/acorn-globals/node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true, - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/babel-jest": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz", - "integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==", - "dev": true, - "dependencies": { - "@jest/transform": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/babel__core": "^7.1.7", - "babel-plugin-istanbul": "^6.0.0", - "babel-preset-jest": "^26.6.2", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.4", - "slash": "^3.0.0" - }, - "engines": { - "node": ">= 10.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz", - "integrity": "sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz", - "integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.0.0", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", - "dev": true, - "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" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-preset-jest": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz", - "integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==", - "dev": true, - "dependencies": { - "babel-plugin-jest-hoist": "^26.6.2", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": ">= 10.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "dependencies": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browser-process-hrtime": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", - "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", - "dev": true - }, - "node_modules/browserslist": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", - "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", - "dev": true, - "dependencies": { - "caniuse-lite": "^1.0.30001286", - "electron-to-chromium": "^1.4.17", - "escalade": "^3.1.1", - "node-releases": "^2.0.1", - "picocolors": "^1.0.0" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/bs-logger": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", - "dev": true, - "dependencies": { - "fast-json-stable-stringify": "2.x" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "dev": true, - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "dependencies": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001302", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001302.tgz", - "integrity": "sha512-YYTMO+tfwvgUN+1ZnRViE53Ma1S/oETg+J2lISsqi/ZTNThj3ZYBOKP2rHwJc37oCsPqAzJ3w2puZHn0xlLPPw==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/capture-exit": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz", - "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==", - "dev": true, - "dependencies": { - "rsvp": "^4.8.4" - }, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/char-regex": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true - }, - "node_modules/cjs-module-lexer": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz", - "integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==", - "dev": true - }, - "node_modules/class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "node_modules/co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true, - "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" - } - }, - "node_modules/collect-v8-coverage": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", - "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", - "dev": true - }, - "node_modules/collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, - "dependencies": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "node_modules/convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.1" - } - }, - "node_modules/copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cssom": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", - "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", - "dev": true - }, - "node_modules/cssstyle": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", - "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", - "dev": true, - "dependencies": { - "cssom": "~0.3.6" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cssstyle/node_modules/cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", - "dev": true - }, - "node_modules/data-urls": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", - "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", - "dev": true, - "dependencies": { - "abab": "^2.0.3", - "whatwg-mimetype": "^2.3.0", - "whatwg-url": "^8.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decimal.js": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", - "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", - "dev": true - }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/deprecation": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/diff-sequences": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", - "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", - "dev": true, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/domexception": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", - "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", - "dev": true, - "dependencies": { - "webidl-conversions": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/domexception/node_modules/webidl-conversions": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", - "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.4.53", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.53.tgz", - "integrity": "sha512-rFveSKQczlcav+H3zkKqykU6ANseFwXwkl855jOIap5/0gnEcuIhv2ecz6aoTrXavF6I/CEBeRnBnkB51k06ew==", - "dev": true - }, - "node_modules/emittery": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz", - "integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/escodegen": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", - "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", - "dev": true, - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/exec-sh": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.6.tgz", - "integrity": "sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==", - "dev": true - }, - "node_modules/execa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", - "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dev": true, - "dependencies": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/expand-brackets/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/expect": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz", - "integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-styles": "^4.0.0", - "jest-get-type": "^26.3.0", - "jest-matcher-utils": "^26.6.2", - "jest-message-util": "^26.6.2", - "jest-regex-util": "^26.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "dependencies": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, - "node_modules/fb-watchman": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz", - "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==", - "dev": true, - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dev": true, - "dependencies": { - "map-cache": "^0.2.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", - "dev": true - }, - "node_modules/growly": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", - "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", - "dev": true, - "optional": true - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "dev": true, - "dependencies": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/html-encoding-sniffer": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", - "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", - "dev": true, - "dependencies": { - "whatwg-encoding": "^1.0.5" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "dev": true, - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dev": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/human-signals": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", - "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", - "dev": true, - "engines": { - "node": ">=8.12.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", - "dev": true, - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true - }, - "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, - "node_modules/is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "dev": true, - "dependencies": { - "ci-info": "^2.0.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, - "node_modules/is-core-module": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", - "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true, - "optional": true, - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extendable/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-generator-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-potential-custom-element-name": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", - "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", - "dev": true - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, - "optional": true, - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", - "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.7.5", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.0.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", - "dev": true, - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", - "dev": true, - "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-reports": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.3.tgz", - "integrity": "sha512-x9LtDVtfm/t1GFiLl3NffC7hz+I1ragvgX1P/Lg1NlIagifZDKUkuuaAxH/qpwj2IuEfD8G2Bs/UKp+sZ/pKkg==", - "dev": true, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz", - "integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==", - "dev": true, - "dependencies": { - "@jest/core": "^26.6.3", - "import-local": "^3.0.2", - "jest-cli": "^26.6.3" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-changed-files": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz", - "integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "execa": "^4.0.0", - "throat": "^5.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-cli": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz", - "integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==", - "dev": true, - "dependencies": { - "@jest/core": "^26.6.3", - "@jest/test-result": "^26.6.2", - "@jest/types": "^26.6.2", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.4", - "import-local": "^3.0.2", - "is-ci": "^2.0.0", - "jest-config": "^26.6.3", - "jest-util": "^26.6.2", - "jest-validate": "^26.6.2", - "prompts": "^2.0.1", - "yargs": "^15.4.1" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-config": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz", - "integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^26.6.3", - "@jest/types": "^26.6.2", - "babel-jest": "^26.6.3", - "chalk": "^4.0.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.1", - "graceful-fs": "^4.2.4", - "jest-environment-jsdom": "^26.6.2", - "jest-environment-node": "^26.6.2", - "jest-get-type": "^26.3.0", - "jest-jasmine2": "^26.6.3", - "jest-regex-util": "^26.0.0", - "jest-resolve": "^26.6.2", - "jest-util": "^26.6.2", - "jest-validate": "^26.6.2", - "micromatch": "^4.0.2", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - }, - "peerDependencies": { - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "ts-node": { - "optional": true - } - } - }, - "node_modules/jest-diff": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", - "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^26.6.2", - "jest-get-type": "^26.3.0", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-docblock": { - "version": "26.0.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz", - "integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==", - "dev": true, - "dependencies": { - "detect-newline": "^3.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-each": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz", - "integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "chalk": "^4.0.0", - "jest-get-type": "^26.3.0", - "jest-util": "^26.6.2", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-environment-jsdom": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz", - "integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==", - "dev": true, - "dependencies": { - "@jest/environment": "^26.6.2", - "@jest/fake-timers": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/node": "*", - "jest-mock": "^26.6.2", - "jest-util": "^26.6.2", - "jsdom": "^16.4.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-environment-node": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz", - "integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==", - "dev": true, - "dependencies": { - "@jest/environment": "^26.6.2", - "@jest/fake-timers": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/node": "*", - "jest-mock": "^26.6.2", - "jest-util": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-get-type": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz", - "integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==", - "dev": true, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-haste-map": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz", - "integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "@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": "^26.0.0", - "jest-serializer": "^26.6.2", - "jest-util": "^26.6.2", - "jest-worker": "^26.6.2", - "micromatch": "^4.0.2", - "sane": "^4.0.3", - "walker": "^1.0.7" - }, - "engines": { - "node": ">= 10.14.2" - }, - "optionalDependencies": { - "fsevents": "^2.1.2" - } - }, - "node_modules/jest-jasmine2": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz", - "integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==", - "dev": true, - "dependencies": { - "@babel/traverse": "^7.1.0", - "@jest/environment": "^26.6.2", - "@jest/source-map": "^26.6.2", - "@jest/test-result": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "expect": "^26.6.2", - "is-generator-fn": "^2.0.0", - "jest-each": "^26.6.2", - "jest-matcher-utils": "^26.6.2", - "jest-message-util": "^26.6.2", - "jest-runtime": "^26.6.3", - "jest-snapshot": "^26.6.2", - "jest-util": "^26.6.2", - "pretty-format": "^26.6.2", - "throat": "^5.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-leak-detector": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz", - "integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==", - "dev": true, - "dependencies": { - "jest-get-type": "^26.3.0", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-matcher-utils": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz", - "integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^26.6.2", - "jest-get-type": "^26.3.0", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-message-util": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz", - "integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "@jest/types": "^26.6.2", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.4", - "micromatch": "^4.0.2", - "pretty-format": "^26.6.2", - "slash": "^3.0.0", - "stack-utils": "^2.0.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-mock": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz", - "integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "@types/node": "*" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", - "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } - } - }, - "node_modules/jest-regex-util": { - "version": "26.0.0", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz", - "integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==", - "dev": true, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-resolve": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz", - "integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.4", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^26.6.2", - "read-pkg-up": "^7.0.1", - "resolve": "^1.18.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz", - "integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "jest-regex-util": "^26.0.0", - "jest-snapshot": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-runner": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz", - "integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==", - "dev": true, - "dependencies": { - "@jest/console": "^26.6.2", - "@jest/environment": "^26.6.2", - "@jest/test-result": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.7.1", - "exit": "^0.1.2", - "graceful-fs": "^4.2.4", - "jest-config": "^26.6.3", - "jest-docblock": "^26.0.0", - "jest-haste-map": "^26.6.2", - "jest-leak-detector": "^26.6.2", - "jest-message-util": "^26.6.2", - "jest-resolve": "^26.6.2", - "jest-runtime": "^26.6.3", - "jest-util": "^26.6.2", - "jest-worker": "^26.6.2", - "source-map-support": "^0.5.6", - "throat": "^5.0.0" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-runtime": { - "version": "26.6.3", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz", - "integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==", - "dev": true, - "dependencies": { - "@jest/console": "^26.6.2", - "@jest/environment": "^26.6.2", - "@jest/fake-timers": "^26.6.2", - "@jest/globals": "^26.6.2", - "@jest/source-map": "^26.6.2", - "@jest/test-result": "^26.6.2", - "@jest/transform": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/yargs": "^15.0.0", - "chalk": "^4.0.0", - "cjs-module-lexer": "^0.6.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.4", - "jest-config": "^26.6.3", - "jest-haste-map": "^26.6.2", - "jest-message-util": "^26.6.2", - "jest-mock": "^26.6.2", - "jest-regex-util": "^26.0.0", - "jest-resolve": "^26.6.2", - "jest-snapshot": "^26.6.2", - "jest-util": "^26.6.2", - "jest-validate": "^26.6.2", - "slash": "^3.0.0", - "strip-bom": "^4.0.0", - "yargs": "^15.4.1" - }, - "bin": { - "jest-runtime": "bin/jest-runtime.js" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-serializer": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz", - "integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==", - "dev": true, - "dependencies": { - "@types/node": "*", - "graceful-fs": "^4.2.4" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-snapshot": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz", - "integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==", - "dev": true, - "dependencies": { - "@babel/types": "^7.0.0", - "@jest/types": "^26.6.2", - "@types/babel__traverse": "^7.0.4", - "@types/prettier": "^2.0.0", - "chalk": "^4.0.0", - "expect": "^26.6.2", - "graceful-fs": "^4.2.4", - "jest-diff": "^26.6.2", - "jest-get-type": "^26.3.0", - "jest-haste-map": "^26.6.2", - "jest-matcher-utils": "^26.6.2", - "jest-message-util": "^26.6.2", - "jest-resolve": "^26.6.2", - "natural-compare": "^1.4.0", - "pretty-format": "^26.6.2", - "semver": "^7.3.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest-util": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.6.2.tgz", - "integrity": "sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "@types/node": "*", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.4", - "is-ci": "^2.0.0", - "micromatch": "^4.0.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-validate": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz", - "integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "camelcase": "^6.0.0", - "chalk": "^4.0.0", - "jest-get-type": "^26.3.0", - "leven": "^3.1.0", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-watcher": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz", - "integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==", - "dev": true, - "dependencies": { - "@jest/test-result": "^26.6.2", - "@jest/types": "^26.6.2", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "jest-util": "^26.6.2", - "string-length": "^4.0.1" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsdom": { - "version": "16.7.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", - "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", - "dev": true, - "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" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "canvas": "^2.5.0" - }, - "peerDependenciesMeta": { - "canvas": { - "optional": true - } - } - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dev": true, - "dependencies": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dev": true, - "dependencies": { - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", - "dev": true, - "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime-db": { - "version": "1.51.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", - "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.34", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", - "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", - "dev": true, - "dependencies": { - "mime-db": "1.51.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true - }, - "node_modules/mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "dependencies": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", - "dev": true - }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/node-fetch/node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" - }, - "node_modules/node-fetch/node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" - }, - "node_modules/node-fetch/node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=", - "dev": true - }, - "node_modules/node-notifier": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz", - "integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==", - "dev": true, - "optional": true, - "dependencies": { - "growly": "^1.3.0", - "is-wsl": "^2.2.0", - "semver": "^7.3.2", - "shellwords": "^0.1.1", - "uuid": "^8.3.0", - "which": "^2.0.2" - } - }, - "node_modules/node-notifier/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, - "optional": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/node-notifier/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, - "optional": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/node-releases": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", - "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", - "dev": true - }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/normalize-package-data/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nwsapi": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", - "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", - "dev": true - }, - "node_modules/object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, - "dependencies": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", - "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dev": true, - "dependencies": { - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dev": true, - "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" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/p-each-series": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz", - "integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true - }, - "node_modules/pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pirates": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", - "dev": true - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/qs": { - "version": "6.10.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", - "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", - "dev": true - }, - "node_modules/repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", - "dev": true - }, - "node_modules/resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.8.1", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "deprecated": "https://github.com/lydell/resolve-url#deprecated", - "dev": true - }, - "node_modules/ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rsvp": { - "version": "4.8.5", - "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", - "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", - "dev": true, - "engines": { - "node": "6.* || >= 7.*" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dev": true, - "dependencies": { - "ret": "~0.1.10" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "node_modules/sane": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz", - "integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==", - "deprecated": "some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added", - "dev": true, - "dependencies": { - "@cnakazawa/watch": "^1.0.3", - "anymatch": "^2.0.0", - "capture-exit": "^2.0.0", - "exec-sh": "^0.3.2", - "execa": "^1.0.0", - "fb-watchman": "^2.0.0", - "micromatch": "^3.1.4", - "minimist": "^1.1.1", - "walker": "~1.0.5" - }, - "bin": { - "sane": "src/cli.js" - }, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/sane/node_modules/anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", - "dev": true, - "dependencies": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - } - }, - "node_modules/sane/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/sane/node_modules/execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "dev": true, - "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/sane/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/sane/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dev": true, - "dependencies": { - "path-key": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/sane/node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/sane/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/sane/node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dev": true, - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sane/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/saxes": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", - "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", - "dev": true, - "dependencies": { - "xmlchars": "^2.2.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true - }, - "node_modules/set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/shellwords": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", - "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", - "dev": true, - "optional": true - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/signal-exit": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz", - "integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==", - "dev": true - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "dependencies": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "dependencies": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "dependencies": { - "kind-of": "^3.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/snapdragon/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/snapdragon/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", - "dev": true, - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "deprecated": "See https://github.com/lydell/source-map-url#deprecated", - "dev": true - }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", - "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", - "dev": true - }, - "node_modules/split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true - }, - "node_modules/stack-utils": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", - "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dev": true, - "dependencies": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-hyperlinks": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", - "integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/symbol-tree": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", - "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", - "dev": true - }, - "node_modules/terminal-link": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", - "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", - "dev": true, - "dependencies": { - "ansi-escapes": "^4.2.1", - "supports-hyperlinks": "^2.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/throat": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", - "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", - "dev": true - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-object-path/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "dependencies": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", - "dev": true, - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.1.2" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tr46": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", - "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", - "dev": true, - "dependencies": { - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ts-jest": { - "version": "26.5.6", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.5.6.tgz", - "integrity": "sha512-rua+rCP8DxpA8b4DQD/6X2HQS8Zy/xzViVYfEs2OQu68tkCuKLV0Md8pmX55+W24uRIyAsf/BajRfxOs+R2MKA==", - "dev": true, - "dependencies": { - "bs-logger": "0.x", - "buffer-from": "1.x", - "fast-json-stable-stringify": "2.x", - "jest-util": "^26.1.0", - "json5": "2.x", - "lodash": "4.x", - "make-error": "1.x", - "mkdirp": "1.x", - "semver": "7.x", - "yargs-parser": "20.x" - }, - "bin": { - "ts-jest": "cli.js" - }, - "engines": { - "node": ">= 10" - }, - "peerDependencies": { - "jest": ">=26 <27", - "typescript": ">=3.8 <5.0" - } - }, - "node_modules/ts-jest/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ts-jest/node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "engines": { - "node": ">=0.6.11 <=0.7.0 || >=0.7.3" - } - }, - "node_modules/type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "dev": true, - "dependencies": { - "prelude-ls": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typed-rest-client": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.6.tgz", - "integrity": "sha512-xcQpTEAJw2DP7GqVNECh4dD+riS+C1qndXLfBCJ3xk0kqprtGN491P5KlmrDbKdtuW8NEcP/5ChxiJI3S9WYTA==", - "dependencies": { - "qs": "^6.9.1", - "tunnel": "0.0.6", - "underscore": "^1.12.1" - } - }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, - "node_modules/typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/underscore": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz", - "integrity": "sha512-ekY1NhRzq0B08g4bGuX4wd2jZx5GnKz6mKSqFL4nqBlfyMGiG10gDFhDTMEfYmDL6Jy0FUIZp7wiRB+0BP7J2g==" - }, - "node_modules/union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/union-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" - }, - "node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, - "dependencies": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, - "dependencies": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "deprecated": "Please see https://github.com/lydell/urix#deprecated", - "dev": true - }, - "node_modules/use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/v8-to-istanbul": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.2.tgz", - "integrity": "sha512-TxNb7YEUwkLXCQYeudi6lgQ/SZrzNO4kMdlqVxaZPUIUjCv6iSSypUQX70kNBSERpQ8fk48+d61FXk+tgqcWow==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0", - "source-map": "^0.7.3" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/v8-to-istanbul/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/w3c-hr-time": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", - "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", - "dev": true, - "dependencies": { - "browser-process-hrtime": "^1.0.0" - } - }, - "node_modules/w3c-xmlserializer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", - "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", - "dev": true, - "dependencies": { - "xml-name-validator": "^3.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "dev": true, - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/webidl-conversions": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", - "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", - "dev": true, - "engines": { - "node": ">=10.4" - } - }, - "node_modules/whatwg-encoding": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", - "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", - "dev": true, - "dependencies": { - "iconv-lite": "0.4.24" - } - }, - "node_modules/whatwg-mimetype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", - "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", - "dev": true - }, - "node_modules/whatwg-url": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", - "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", - "dev": true, - "dependencies": { - "lodash": "^4.7.0", - "tr46": "^2.1.0", - "webidl-conversions": "^6.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "node_modules/write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "node_modules/ws": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.6.tgz", - "integrity": "sha512-6GLgCqo2cy2A2rjCNFlxQS6ZljG/coZfZXclldI8FB/1G3CCI36Zd8xy2HrFVACi8tfk5XrgLQEk+P0Tnz9UcA==", - "dev": true, - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xml-name-validator": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", - "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", - "dev": true - }, - "node_modules/xmlchars": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", - "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", - "dev": true - }, - "node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "dev": true, - "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - } - } + "name": "setuphelm", + "version": "0.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "node_modules/@actions/core": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.9.0.tgz", + "integrity": "sha512-5pbM693Ih59ZdUhgk+fts+bUWTnIdHV3kwOSr+QIoFHMLg7Gzhwm0cifDY/AG68ekEJAkHnQVpcy4f6GjmzBCA==", + "dependencies": { + "@actions/http-client": "^2.0.1" + } + }, + "node_modules/@actions/exec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "dependencies": { + "@actions/io": "^1.0.1" + } + }, + "node_modules/@actions/http-client": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", + "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", + "dependencies": { + "tunnel": "^0.0.6" + } + }, + "node_modules/@actions/io": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.2.tgz", + "integrity": "sha512-d+RwPlMp+2qmBfeLYPLXuSRykDIFEwdTA0MMxzS9kh4kvP1ftrc/9fzy6pX6qAjthdXruHQ6/6kjT/DNo5ALuw==" + }, + "node_modules/@actions/tool-cache": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.1.2.tgz", + "integrity": "sha512-IJczPaZr02ECa3Lgws/TJEVco9tjOujiQSZbO3dHuXXjhd5vrUtfOgGwhmz3/f97L910OraPZ8SknofUk6RvOQ==", + "dependencies": { + "@actions/core": "^1.1.0", + "@actions/exec": "^1.0.1", + "@actions/io": "^1.0.1", + "semver": "^6.1.0", + "typed-rest-client": "^1.4.0", + "uuid": "^3.3.2" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", + "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.6.tgz", + "integrity": "sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.6.tgz", + "integrity": "sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helpers": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.7.tgz", + "integrity": "sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.7", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.6.tgz", + "integrity": "sha512-vFjbfhNCzqdeAtZflUFrG5YIFqGTqsctrtkZ1D/NB0mDW9TwW3GmmUepYY4G9wCET5rY5ugz4OGTcLd614IzQg==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.18.6", + "@babel/helper-validator-option": "^7.18.6", + "browserslist": "^4.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.6.tgz", + "integrity": "sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.6.tgz", + "integrity": "sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw==", + "dev": true, + "dependencies": { + "@babel/template": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", + "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", + "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.6.tgz", + "integrity": "sha512-L//phhB4al5uucwzlimruukHB3jRd5JGClwRMD/ROrVjXfLqovYnvQrK/JK36WYyVwGGO7OD3kMyVTjx+WVPhw==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-simple-access": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/helper-validator-identifier": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.6.tgz", + "integrity": "sha512-gvZnm1YAAxh13eJdkb9EWHBnF3eAub3XTLCZEehHT2kWxiKVRL64+ae5Y6Ivne0mVHmMYKT+xWgZO+gQhuLUBg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz", + "integrity": "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", + "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz", + "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", + "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.6.tgz", + "integrity": "sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ==", + "dev": true, + "dependencies": { + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.18.6", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/@babel/highlight/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/@babel/highlight/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@babel/highlight/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/parser": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.6.tgz", + "integrity": "sha512-uQVSa9jJUe/G/304lXspfWVpKpK4euFLgGiMQFOCpM/bgcAdeoHwi/OQz23O9GK2osz26ZiXRRV9aV+Yl1O8tw==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.6.tgz", + "integrity": "sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.6.tgz", + "integrity": "sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-function-name": "^7.18.6", + "@babel/helper-hoist-variables": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.7.tgz", + "integrity": "sha512-QG3yxTcTIBoAcQmkCs+wAPYZhu7Dk9rXKacINfNbdJDNERTbLQbHGyVG8q/YGMPeCJRIhSY0+fTc5+xuh6WPSQ==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.18.6", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true + }, + "node_modules/@cnakazawa/watch": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", + "integrity": "sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==", + "dev": true, + "dependencies": { + "exec-sh": "^0.3.2", + "minimist": "^1.2.0" + }, + "bin": { + "watch": "cli.js" + }, + "engines": { + "node": ">=0.1.95" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz", + "integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^26.6.2", + "jest-util": "^26.6.2", + "slash": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/core": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz", + "integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==", + "dev": true, + "dependencies": { + "@jest/console": "^26.6.2", + "@jest/reporters": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "jest-changed-files": "^26.6.2", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-resolve-dependencies": "^26.6.3", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "jest-watcher": "^26.6.2", + "micromatch": "^4.0.2", + "p-each-series": "^2.1.0", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/environment": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz", + "integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==", + "dev": true, + "dependencies": { + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/fake-timers": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz", + "integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@sinonjs/fake-timers": "^6.0.1", + "@types/node": "*", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/globals": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz", + "integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==", + "dev": true, + "dependencies": { + "@jest/environment": "^26.6.2", + "@jest/types": "^26.6.2", + "expect": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/reporters": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz", + "integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==", + "dev": true, + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "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": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^7.0.0" + }, + "engines": { + "node": ">= 10.14.2" + }, + "optionalDependencies": { + "node-notifier": "^8.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz", + "integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.4", + "source-map": "^0.6.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/test-result": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz", + "integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==", + "dev": true, + "dependencies": { + "@jest/console": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/test-sequencer": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz", + "integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==", + "dev": true, + "dependencies": { + "@jest/test-result": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.6.2", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/transform": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz", + "integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==", + "dev": true, + "dependencies": { + "@babel/core": "^7.1.0", + "@jest/types": "^26.6.2", + "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": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-util": "^26.6.2", + "micromatch": "^4.0.2", + "pirates": "^4.0.1", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/types": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz", + "integrity": "sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", + "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.8.tgz", + "integrity": "sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.14", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz", + "integrity": "sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@octokit/endpoint": { + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", + "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", + "dependencies": { + "@octokit/types": "^6.0.3", + "is-plain-object": "^5.0.0", + "universal-user-agent": "^6.0.0" + } + }, + "node_modules/@octokit/graphql": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", + "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", + "dependencies": { + "@octokit/request": "^5.6.0", + "@octokit/types": "^6.0.3", + "universal-user-agent": "^6.0.0" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.6.0.tgz", + "integrity": "sha512-7uS/1woIC7FvIxNSTcY4BLnNFbPtv/iteW041u7EfrZxFrUzB6C402sLyCEezl89HPHRjQet9Q1SHLMe0StITg==" + }, + "node_modules/@octokit/request": { + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz", + "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==", + "dependencies": { + "@octokit/endpoint": "^6.0.1", + "@octokit/request-error": "^2.1.0", + "@octokit/types": "^6.16.1", + "is-plain-object": "^5.0.0", + "node-fetch": "^2.6.7", + "universal-user-agent": "^6.0.0" + } + }, + "node_modules/@octokit/request-error": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", + "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", + "dependencies": { + "@octokit/types": "^6.0.3", + "deprecation": "^2.0.0", + "once": "^1.4.0" + } + }, + "node_modules/@octokit/types": { + "version": "6.38.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.38.1.tgz", + "integrity": "sha512-kWMohLCIvnwApRmxRFDOqve7puiNNdtVfgwdDOm6QyJNorWOgKv2/AodCcGqx63o28kF7Dr4/nJCatrwwqhULg==", + "dependencies": { + "@octokit/openapi-types": "^12.5.0" + } + }, + "node_modules/@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/fake-timers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", + "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "node_modules/@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@types/babel__core": { + "version": "7.1.19", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", + "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", + "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.17.1", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.1.tgz", + "integrity": "sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.3.0" + } + }, + "node_modules/@types/graceful-fs": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", + "integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", + "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "dev": true + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", + "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, + "node_modules/@types/jest": { + "version": "26.0.24", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.24.tgz", + "integrity": "sha512-E/X5Vib8BWqZNRlDxj9vYXhsDwPYbPINqKF9BsnSoon4RQ0D9moEuLD8txgyypFLH7J4+Lho9Nr/c8H0Fi+17w==", + "dev": true, + "dependencies": { + "jest-diff": "^26.0.0", + "pretty-format": "^26.0.0" + } + }, + "node_modules/@types/node": { + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "dev": true + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", + "dev": true + }, + "node_modules/@types/prettier": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.6.3.tgz", + "integrity": "sha512-ymZk3LEC/fsut+/Q5qejp6R9O1rMxz3XaRHDV6kX8MrGAhOSPqVARbDi+EZvInBpw+BnCX3TD240byVkOfQsHg==", + "dev": true + }, + "node_modules/@types/stack-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", + "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "dev": true + }, + "node_modules/@types/yargs": { + "version": "15.0.14", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.14.tgz", + "integrity": "sha512-yEJzHoxf6SyQGhBhIYGXQDSCkJjB6HohDShto7m8vaKg9Yp0Yn8+71J9eakh2bnPg6BfsH9PRMhiRTZnd4eXGQ==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "dev": true + }, + "node_modules/@vercel/ncc": { + "version": "0.34.0", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.34.0.tgz", + "integrity": "sha512-G9h5ZLBJ/V57Ou9vz5hI8pda/YQX5HQszCs3AmIus3XzsmRn/0Ptic5otD3xVST8QLKk7AMk7AqpsyQGN7MZ9A==", + "dev": true, + "bin": { + "ncc": "dist/ncc/cli.js" + } + }, + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "dev": true + }, + "node_modules/acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "dev": true, + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "node_modules/acorn-globals/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true, + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/babel-jest": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz", + "integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==", + "dev": true, + "dependencies": { + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/babel__core": "^7.1.7", + "babel-plugin-istanbul": "^6.0.0", + "babel-preset-jest": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "slash": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz", + "integrity": "sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==", + "dev": true, + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz", + "integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==", + "dev": true, + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.0.0", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "dev": true, + "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" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/babel-preset-jest": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz", + "integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==", + "dev": true, + "dependencies": { + "babel-plugin-jest-hoist": "^26.6.2", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": ">= 10.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", + "dev": true + }, + "node_modules/browserslist": { + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", + "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001359", + "electron-to-chromium": "^1.4.172", + "node-releases": "^2.0.5", + "update-browserslist-db": "^1.0.4" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bs-logger": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001361", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001361.tgz", + "integrity": "sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] + }, + "node_modules/capture-exit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz", + "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==", + "dev": true, + "dependencies": { + "rsvp": "^4.8.4" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, + "node_modules/cjs-module-lexer": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz", + "integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==", + "dev": true + }, + "node_modules/class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true, + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", + "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "dev": true + }, + "node_modules/collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==", + "dev": true, + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssom": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", + "dev": true + }, + "node_modules/cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dev": true, + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true + }, + "node_modules/data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decimal.js": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", + "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", + "dev": true + }, + "node_modules/decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/diff-sequences": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", + "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", + "dev": true, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/domexception": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "dev": true, + "dependencies": { + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/domexception/node_modules/webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.176", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.176.tgz", + "integrity": "sha512-92JdgyRlcNDwuy75MjuFSb3clt6DGJ2IXSpg0MCjKd3JV9eSmuUAIyWiGAp/EtT0z2D4rqbYqThQLV90maH3Zw==", + "dev": true + }, + "node_modules/emittery": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz", + "integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/escodegen": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", + "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", + "dev": true, + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/exec-sh": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.6.tgz", + "integrity": "sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==", + "dev": true + }, + "node_modules/execa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==", + "dev": true, + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/expand-brackets/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/expect": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz", + "integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "ansi-styles": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fb-watchman": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz", + "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==", + "dev": true, + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==", + "dev": true, + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", + "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true + }, + "node_modules/growly": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", + "integrity": "sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==", + "dev": true, + "optional": true + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==", + "dev": true, + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==", + "dev": true, + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/html-encoding-sniffer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", + "dev": true, + "dependencies": { + "whatwg-encoding": "^1.0.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, + "node_modules/http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "dev": true, + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true, + "engines": { + "node": ">=8.12.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/import-local": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "optional": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-extendable/node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", + "dev": true + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "optional": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.4.tgz", + "integrity": "sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw==", + "dev": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz", + "integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==", + "dev": true, + "dependencies": { + "@jest/core": "^26.6.3", + "import-local": "^3.0.2", + "jest-cli": "^26.6.3" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-changed-files": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz", + "integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "execa": "^4.0.0", + "throat": "^5.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-cli": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz", + "integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==", + "dev": true, + "dependencies": { + "@jest/core": "^26.6.3", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "import-local": "^3.0.2", + "is-ci": "^2.0.0", + "jest-config": "^26.6.3", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "prompts": "^2.0.1", + "yargs": "^15.4.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-config": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz", + "integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.1.0", + "@jest/test-sequencer": "^26.6.3", + "@jest/types": "^26.6.2", + "babel-jest": "^26.6.3", + "chalk": "^4.0.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.4", + "jest-environment-jsdom": "^26.6.2", + "jest-environment-node": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-jasmine2": "^26.6.3", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + }, + "peerDependencies": { + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-diff": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", + "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-docblock": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz", + "integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==", + "dev": true, + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-each": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz", + "integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-environment-jsdom": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz", + "integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==", + "dev": true, + "dependencies": { + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2", + "jsdom": "^16.4.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-environment-node": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz", + "integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==", + "dev": true, + "dependencies": { + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-get-type": { + "version": "26.3.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz", + "integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==", + "dev": true, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-haste-map": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz", + "integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@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": "^26.0.0", + "jest-serializer": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "micromatch": "^4.0.2", + "sane": "^4.0.3", + "walker": "^1.0.7" + }, + "engines": { + "node": ">= 10.14.2" + }, + "optionalDependencies": { + "fsevents": "^2.1.2" + } + }, + "node_modules/jest-jasmine2": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz", + "integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.1.0", + "@jest/environment": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "expect": "^26.6.2", + "is-generator-fn": "^2.0.0", + "jest-each": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2", + "throat": "^5.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-leak-detector": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz", + "integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==", + "dev": true, + "dependencies": { + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-matcher-utils": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz", + "integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-message-util": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz", + "integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "@jest/types": "^26.6.2", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.2", + "slash": "^3.0.0", + "stack-utils": "^2.0.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-mock": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz", + "integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@types/node": "*" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-pnp-resolver": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", + "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", + "dev": true, + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } + } + }, + "node_modules/jest-regex-util": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz", + "integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==", + "dev": true, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-resolve": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz", + "integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^26.6.2", + "read-pkg-up": "^7.0.1", + "resolve": "^1.18.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz", + "integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-snapshot": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-runner": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz", + "integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==", + "dev": true, + "dependencies": { + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.7.1", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-docblock": "^26.0.0", + "jest-haste-map": "^26.6.2", + "jest-leak-detector": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "source-map-support": "^0.5.6", + "throat": "^5.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-runtime": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz", + "integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==", + "dev": true, + "dependencies": { + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/globals": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0", + "cjs-module-lexer": "^0.6.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "slash": "^3.0.0", + "strip-bom": "^4.0.0", + "yargs": "^15.4.1" + }, + "bin": { + "jest-runtime": "bin/jest-runtime.js" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-serializer": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz", + "integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==", + "dev": true, + "dependencies": { + "@types/node": "*", + "graceful-fs": "^4.2.4" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-snapshot": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz", + "integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0", + "@jest/types": "^26.6.2", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.0.0", + "chalk": "^4.0.0", + "expect": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-haste-map": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", + "natural-compare": "^1.4.0", + "pretty-format": "^26.6.2", + "semver": "^7.3.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-snapshot/node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-util": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.6.2.tgz", + "integrity": "sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "is-ci": "^2.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-validate": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz", + "integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "camelcase": "^6.0.0", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", + "leven": "^3.1.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-validate/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-watcher": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz", + "integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==", + "dev": true, + "dependencies": { + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^26.6.2", + "string-length": "^4.0.1" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsdom": { + "version": "16.7.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", + "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", + "dev": true, + "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" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "dev": true, + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "node_modules/makeerror": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "dev": true, + "dependencies": { + "tmpl": "1.0.5" + } + }, + "node_modules/map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==", + "dev": true, + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true + }, + "node_modules/mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-fetch/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "node_modules/node-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "node_modules/node-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "dev": true + }, + "node_modules/node-notifier": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz", + "integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==", + "dev": true, + "optional": true, + "dependencies": { + "growly": "^1.3.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", + "shellwords": "^0.1.1", + "uuid": "^8.3.0", + "which": "^2.0.2" + } + }, + "node_modules/node-notifier/node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "optional": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-notifier/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/node-releases": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "dev": true + }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nwsapi": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.1.tgz", + "integrity": "sha512-JYOWTeFoS0Z93587vRJgASD5Ut11fYl5NyihP3KrYBvMe1FRRs6RN7m20SA/16GM4P6hTnZjT+UmDOt38UeXNg==", + "dev": true + }, + "node_modules/object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==", + "dev": true, + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", + "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==", + "dev": true, + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dev": true, + "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" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-each-series": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz", + "integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "node_modules/pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pirates": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", + "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/pretty-format": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", + "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "ansi-regex": "^5.0.0", + "ansi-styles": "^4.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true + }, + "node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==", + "dev": true + }, + "node_modules/repeat-element": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", + "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "node_modules/resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==", + "deprecated": "https://github.com/lydell/resolve-url#deprecated", + "dev": true + }, + "node_modules/ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rsvp": { + "version": "4.8.5", + "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", + "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", + "dev": true, + "engines": { + "node": "6.* || >= 7.*" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", + "dev": true, + "dependencies": { + "ret": "~0.1.10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "node_modules/sane": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz", + "integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==", + "deprecated": "some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added", + "dev": true, + "dependencies": { + "@cnakazawa/watch": "^1.0.3", + "anymatch": "^2.0.0", + "capture-exit": "^2.0.0", + "exec-sh": "^0.3.2", + "execa": "^1.0.0", + "fb-watchman": "^2.0.0", + "micromatch": "^3.1.4", + "minimist": "^1.1.1", + "walker": "~1.0.5" + }, + "bin": { + "sane": "src/cli.js" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/sane/node_modules/anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "dependencies": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "node_modules/sane/node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "node_modules/sane/node_modules/execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "dev": true, + "dependencies": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/sane/node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==", + "dev": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/sane/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==", + "dev": true, + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==", + "dev": true, + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/sane/node_modules/path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/sane/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/sane/node_modules/shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", + "dev": true, + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==", + "dev": true, + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sane/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dev": true, + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "dev": true + }, + "node_modules/set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shellwords": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", + "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", + "dev": true, + "optional": true + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/snapdragon/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/snapdragon/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", + "dev": true, + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", + "deprecated": "See https://github.com/lydell/source-map-url#deprecated", + "dev": true + }, + "node_modules/spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", + "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", + "dev": true + }, + "node_modules/split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true + }, + "node_modules/stack-utils": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", + "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==", + "dev": true, + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-hyperlinks": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", + "integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true + }, + "node_modules/terminal-link": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", + "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/throat": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", + "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", + "dev": true + }, + "node_modules/tmpl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "dev": true + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-object-path/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tough-cookie": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", + "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", + "dev": true, + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.1.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dev": true, + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ts-jest": { + "version": "26.5.6", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.5.6.tgz", + "integrity": "sha512-rua+rCP8DxpA8b4DQD/6X2HQS8Zy/xzViVYfEs2OQu68tkCuKLV0Md8pmX55+W24uRIyAsf/BajRfxOs+R2MKA==", + "dev": true, + "dependencies": { + "bs-logger": "0.x", + "buffer-from": "1.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^26.1.0", + "json5": "2.x", + "lodash": "4.x", + "make-error": "1.x", + "mkdirp": "1.x", + "semver": "7.x", + "yargs-parser": "20.x" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": ">= 10" + }, + "peerDependencies": { + "jest": ">=26 <27", + "typescript": ">=3.8 <5.0" + } + }, + "node_modules/ts-jest/node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "dev": true, + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typed-rest-client": { + "version": "1.8.9", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.9.tgz", + "integrity": "sha512-uSmjE38B80wjL85UFX3sTYEUlvZ1JgCRhsWj/fJ4rZ0FqDUFoIuodtiVeE+cUqiVTOKPdKrp/sdftD15MDek6g==", + "dependencies": { + "qs": "^6.9.1", + "tunnel": "0.0.6", + "underscore": "^1.12.1" + } + }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/typescript": { + "version": "3.9.10", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", + "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/underscore": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.4.tgz", + "integrity": "sha512-BQFnUDuAQ4Yf/cYY5LNrK9NCJFKriaRbD9uR1fTeXnBeoa97W0i41qkZfGO9pSo8I5KzjAcSY2XYtdf0oKd7KQ==" + }, + "node_modules/union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/union-value/node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==", + "dev": true, + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==", + "dev": true, + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", + "dev": true, + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", + "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist-lint": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==", + "deprecated": "Please see https://github.com/lydell/urix#deprecated", + "dev": true + }, + "node_modules/use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/v8-to-istanbul": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.2.tgz", + "integrity": "sha512-TxNb7YEUwkLXCQYeudi6lgQ/SZrzNO4kMdlqVxaZPUIUjCv6iSSypUQX70kNBSERpQ8fk48+d61FXk+tgqcWow==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/v8-to-istanbul/node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "dev": true, + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "node_modules/w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "dev": true, + "dependencies": { + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/walker": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "dev": true, + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true, + "engines": { + "node": ">=10.4" + } + }, + "node_modules/whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "dev": true, + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==", + "dev": true + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/ws": { + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.8.tgz", + "integrity": "sha512-ri1Id1WinAX5Jqn9HejiGb8crfRio0Qgu8+MtL36rlTA6RLsMdWt1Az/19A2Qij6uSHUMphEFaTKa4WG+UNHNw==", + "dev": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xml-name-validator": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", + "dev": true + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true + }, + "node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dev": true, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + } + } } diff --git a/node_modules/@actions/core/README.md b/node_modules/@actions/core/README.md index 8f227a83..3c20c8ea 100644 --- a/node_modules/@actions/core/README.md +++ b/node_modules/@actions/core/README.md @@ -309,4 +309,27 @@ outputs: runs: using: 'node12' main: 'dist/index.js' -``` \ No newline at end of file +``` + +#### Filesystem path helpers + +You can use these methods to manipulate file paths across operating systems. + +The `toPosixPath` function converts input paths to Posix-style (Linux) paths. +The `toWin32Path` function converts input paths to Windows-style paths. These +functions work independently of the underlying runner operating system. + +```js +toPosixPath('\\foo\\bar') // => /foo/bar +toWin32Path('/foo/bar') // => \foo\bar +``` + +The `toPlatformPath` function converts input paths to the expected value on the runner's operating system. + +```js +// On a Windows runner. +toPlatformPath('/foo/bar') // => \foo\bar + +// On a Linux runner. +toPlatformPath('\\foo\\bar') // => /foo/bar +``` diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts index 356872ec..1defb572 100644 --- a/node_modules/@actions/core/lib/core.d.ts +++ b/node_modules/@actions/core/lib/core.d.ts @@ -184,3 +184,15 @@ export declare function saveState(name: string, value: any): void; */ export declare function getState(name: string): string; export declare function getIDToken(aud?: string): Promise; +/** + * Summary exports + */ +export { summary } from './summary'; +/** + * @deprecated use core.summary + */ +export { markdownSummary } from './summary'; +/** + * Path exports + */ +export { toPosixPath, toWin32Path, toPlatformPath } from './path-utils'; diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js index e0ceced1..da14885f 100644 --- a/node_modules/@actions/core/lib/core.js +++ b/node_modules/@actions/core/lib/core.js @@ -309,4 +309,21 @@ function getIDToken(aud) { }); } exports.getIDToken = getIDToken; +/** + * Summary exports + */ +var summary_1 = require("./summary"); +Object.defineProperty(exports, "summary", { enumerable: true, get: function () { return summary_1.summary; } }); +/** + * @deprecated use core.summary + */ +var summary_2 = require("./summary"); +Object.defineProperty(exports, "markdownSummary", { enumerable: true, get: function () { return summary_2.markdownSummary; } }); +/** + * Path exports + */ +var path_utils_1 = require("./path-utils"); +Object.defineProperty(exports, "toPosixPath", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } }); +Object.defineProperty(exports, "toWin32Path", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } }); +Object.defineProperty(exports, "toPlatformPath", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }); //# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map index 087a91d8..337ef9f6 100644 --- a/node_modules/@actions/core/lib/core.js.map +++ b/node_modules/@actions/core/lib/core.js.map @@ -1 +1 @@ -{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAA+D;AAC/D,mCAA2D;AAE3D,uCAAwB;AACxB,2CAA4B;AAE5B,6CAAuC;AAavC;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAuCD,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS,GAAG,qCAAqC,CAAA;QACvD,MAAM,YAAY,GAAG,GAAG,IAAI,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;QACzF,2BAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;KACtC;SAAM;QACL,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,YAAY,CAAC,CAAA;KAC9C;AACH,CAAC;AAZD,wCAYC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;IACjD,IAAI,QAAQ,EAAE;QACZ,2BAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;KACpC;SAAM;QACL,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;KACxC;IACD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AARD,0BAQC;AAED;;;;;;;;GAQG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACrE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,IAAI,OAAO,IAAI,OAAO,CAAC,cAAc,KAAK,KAAK,EAAE;QAC/C,OAAO,GAAG,CAAA;KACX;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AAZD,4BAYC;AAED;;;;;;;GAOG;AACH,SAAgB,iBAAiB,CAC/B,IAAY,EACZ,OAAsB;IAEtB,MAAM,MAAM,GAAa,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;SAC7C,KAAK,CAAC,IAAI,CAAC;SACX,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAA;IAExB,OAAO,MAAM,CAAA;AACf,CAAC;AATD,8CASC;AAED;;;;;;;;;GASG;AACH,SAAgB,eAAe,CAAC,IAAY,EAAE,OAAsB;IAClE,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC1C,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACnC,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAA;IACxC,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAC1C,MAAM,IAAI,SAAS,CACjB,6DAA6D,IAAI,IAAI;QACnE,4EAA4E,CAC/E,CAAA;AACH,CAAC;AAVD,0CAUC;AAED;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAHD,8BAGC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAC7C,eAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;AACvC,CAAC;AAFD,wCAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAuB;IAC/C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IAEnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAJD,8BAIC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAA;AAC5C,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;;GAIG;AACH,SAAgB,KAAK,CACnB,OAAuB,EACvB,aAAmC,EAAE;IAErC,sBAAY,CACV,OAAO,EACP,2BAAmB,CAAC,UAAU,CAAC,EAC/B,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CACxD,CAAA;AACH,CAAC;AATD,sBASC;AAED;;;;GAIG;AACH,SAAgB,OAAO,CACrB,OAAuB,EACvB,aAAmC,EAAE;IAErC,sBAAY,CACV,SAAS,EACT,2BAAmB,CAAC,UAAU,CAAC,EAC/B,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CACxD,CAAA;AACH,CAAC;AATD,0BASC;AAED;;;;GAIG;AACH,SAAgB,MAAM,CACpB,OAAuB,EACvB,aAAmC,EAAE;IAErC,sBAAY,CACV,QAAQ,EACR,2BAAmB,CAAC,UAAU,CAAC,EAC/B,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CACxD,CAAA;AACH,CAAC;AATD,wBASC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,OAAe;IAClC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,oBAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC;AAED,SAAsB,UAAU,CAAC,GAAY;;QAC3C,OAAO,MAAM,uBAAU,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;CAAA;AAFD,gCAEC"} \ No newline at end of file +{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAA+D;AAC/D,mCAA2D;AAE3D,uCAAwB;AACxB,2CAA4B;AAE5B,6CAAuC;AAavC;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAuCD,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS,GAAG,qCAAqC,CAAA;QACvD,MAAM,YAAY,GAAG,GAAG,IAAI,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;QACzF,2BAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;KACtC;SAAM;QACL,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,YAAY,CAAC,CAAA;KAC9C;AACH,CAAC;AAZD,wCAYC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;IACjD,IAAI,QAAQ,EAAE;QACZ,2BAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;KACpC;SAAM;QACL,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;KACxC;IACD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AARD,0BAQC;AAED;;;;;;;;GAQG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACrE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,IAAI,OAAO,IAAI,OAAO,CAAC,cAAc,KAAK,KAAK,EAAE;QAC/C,OAAO,GAAG,CAAA;KACX;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AAZD,4BAYC;AAED;;;;;;;GAOG;AACH,SAAgB,iBAAiB,CAC/B,IAAY,EACZ,OAAsB;IAEtB,MAAM,MAAM,GAAa,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;SAC7C,KAAK,CAAC,IAAI,CAAC;SACX,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAA;IAExB,OAAO,MAAM,CAAA;AACf,CAAC;AATD,8CASC;AAED;;;;;;;;;GASG;AACH,SAAgB,eAAe,CAAC,IAAY,EAAE,OAAsB;IAClE,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC1C,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACnC,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAA;IACxC,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAC1C,MAAM,IAAI,SAAS,CACjB,6DAA6D,IAAI,IAAI;QACnE,4EAA4E,CAC/E,CAAA;AACH,CAAC;AAVD,0CAUC;AAED;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAHD,8BAGC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAC7C,eAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;AACvC,CAAC;AAFD,wCAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAuB;IAC/C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IAEnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAJD,8BAIC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAA;AAC5C,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;;GAIG;AACH,SAAgB,KAAK,CACnB,OAAuB,EACvB,aAAmC,EAAE;IAErC,sBAAY,CACV,OAAO,EACP,2BAAmB,CAAC,UAAU,CAAC,EAC/B,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CACxD,CAAA;AACH,CAAC;AATD,sBASC;AAED;;;;GAIG;AACH,SAAgB,OAAO,CACrB,OAAuB,EACvB,aAAmC,EAAE;IAErC,sBAAY,CACV,SAAS,EACT,2BAAmB,CAAC,UAAU,CAAC,EAC/B,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CACxD,CAAA;AACH,CAAC;AATD,0BASC;AAED;;;;GAIG;AACH,SAAgB,MAAM,CACpB,OAAuB,EACvB,aAAmC,EAAE;IAErC,sBAAY,CACV,QAAQ,EACR,2BAAmB,CAAC,UAAU,CAAC,EAC/B,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CACxD,CAAA;AACH,CAAC;AATD,wBASC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,OAAe;IAClC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,oBAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC;AAED,SAAsB,UAAU,CAAC,GAAY;;QAC3C,OAAO,MAAM,uBAAU,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;CAAA;AAFD,gCAEC;AAED;;GAEG;AACH,qCAAiC;AAAzB,kGAAA,OAAO,OAAA;AAEf;;GAEG;AACH,qCAAyC;AAAjC,0GAAA,eAAe,OAAA;AAEvB;;GAEG;AACH,2CAAqE;AAA7D,yGAAA,WAAW,OAAA;AAAE,yGAAA,WAAW,OAAA;AAAE,4GAAA,cAAc,OAAA"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/oidc-utils.js b/node_modules/@actions/core/lib/oidc-utils.js index 9ee10faf..f7012770 100644 --- a/node_modules/@actions/core/lib/oidc-utils.js +++ b/node_modules/@actions/core/lib/oidc-utils.js @@ -11,7 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge Object.defineProperty(exports, "__esModule", { value: true }); exports.OidcClient = void 0; const http_client_1 = require("@actions/http-client"); -const auth_1 = require("@actions/http-client/auth"); +const auth_1 = require("@actions/http-client/lib/auth"); const core_1 = require("./core"); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { diff --git a/node_modules/@actions/core/lib/oidc-utils.js.map b/node_modules/@actions/core/lib/oidc-utils.js.map index 0ddbca92..284fa1d3 100644 --- a/node_modules/@actions/core/lib/oidc-utils.js.map +++ b/node_modules/@actions/core/lib/oidc-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"oidc-utils.js","sourceRoot":"","sources":["../src/oidc-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,sDAA+C;AAC/C,oDAAiE;AACjE,iCAAuC;AAKvC,MAAa,UAAU;IACb,MAAM,CAAC,gBAAgB,CAC7B,UAAU,GAAG,IAAI,EACjB,QAAQ,GAAG,EAAE;QAEb,MAAM,cAAc,GAAoB;YACtC,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE,QAAQ;SACrB,CAAA;QAED,OAAO,IAAI,wBAAU,CACnB,qBAAqB,EACrB,CAAC,IAAI,8BAAuB,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC,EAC3D,cAAc,CACf,CAAA;IACH,CAAC;IAEO,MAAM,CAAC,eAAe;QAC5B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAA;QAC3D,IAAI,CAAC,KAAK,EAAE;YACV,MAAM,IAAI,KAAK,CACb,2DAA2D,CAC5D,CAAA;SACF;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAEO,MAAM,CAAC,aAAa;QAC1B,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAA;QAC9D,IAAI,CAAC,UAAU,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAA;SAC3E;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;IAEO,MAAM,CAAO,OAAO,CAAC,YAAoB;;;YAC/C,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,EAAE,CAAA;YAEhD,MAAM,GAAG,GAAG,MAAM,UAAU;iBACzB,OAAO,CAAgB,YAAY,CAAC;iBACpC,KAAK,CAAC,KAAK,CAAC,EAAE;gBACb,MAAM,IAAI,KAAK,CACb;uBACa,KAAK,CAAC,UAAU;yBACd,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CACtC,CAAA;YACH,CAAC,CAAC,CAAA;YAEJ,MAAM,QAAQ,SAAG,GAAG,CAAC,MAAM,0CAAE,KAAK,CAAA;YAClC,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;aACjE;YACD,OAAO,QAAQ,CAAA;;KAChB;IAED,MAAM,CAAO,UAAU,CAAC,QAAiB;;YACvC,IAAI;gBACF,gDAAgD;gBAChD,IAAI,YAAY,GAAW,UAAU,CAAC,aAAa,EAAE,CAAA;gBACrD,IAAI,QAAQ,EAAE;oBACZ,MAAM,eAAe,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;oBACpD,YAAY,GAAG,GAAG,YAAY,aAAa,eAAe,EAAE,CAAA;iBAC7D;gBAED,YAAK,CAAC,mBAAmB,YAAY,EAAE,CAAC,CAAA;gBAExC,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;gBACvD,gBAAS,CAAC,QAAQ,CAAC,CAAA;gBACnB,OAAO,QAAQ,CAAA;aAChB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,IAAI,KAAK,CAAC,kBAAkB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;aACnD;QACH,CAAC;KAAA;CACF;AAzED,gCAyEC"} \ No newline at end of file +{"version":3,"file":"oidc-utils.js","sourceRoot":"","sources":["../src/oidc-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,sDAA+C;AAC/C,wDAAqE;AACrE,iCAAuC;AAKvC,MAAa,UAAU;IACb,MAAM,CAAC,gBAAgB,CAC7B,UAAU,GAAG,IAAI,EACjB,QAAQ,GAAG,EAAE;QAEb,MAAM,cAAc,GAAmB;YACrC,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE,QAAQ;SACrB,CAAA;QAED,OAAO,IAAI,wBAAU,CACnB,qBAAqB,EACrB,CAAC,IAAI,8BAAuB,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC,EAC3D,cAAc,CACf,CAAA;IACH,CAAC;IAEO,MAAM,CAAC,eAAe;QAC5B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAA;QAC3D,IAAI,CAAC,KAAK,EAAE;YACV,MAAM,IAAI,KAAK,CACb,2DAA2D,CAC5D,CAAA;SACF;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAEO,MAAM,CAAC,aAAa;QAC1B,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAA;QAC9D,IAAI,CAAC,UAAU,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAA;SAC3E;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;IAEO,MAAM,CAAO,OAAO,CAAC,YAAoB;;;YAC/C,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,EAAE,CAAA;YAEhD,MAAM,GAAG,GAAG,MAAM,UAAU;iBACzB,OAAO,CAAgB,YAAY,CAAC;iBACpC,KAAK,CAAC,KAAK,CAAC,EAAE;gBACb,MAAM,IAAI,KAAK,CACb;uBACa,KAAK,CAAC,UAAU;yBACd,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CACtC,CAAA;YACH,CAAC,CAAC,CAAA;YAEJ,MAAM,QAAQ,SAAG,GAAG,CAAC,MAAM,0CAAE,KAAK,CAAA;YAClC,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;aACjE;YACD,OAAO,QAAQ,CAAA;;KAChB;IAED,MAAM,CAAO,UAAU,CAAC,QAAiB;;YACvC,IAAI;gBACF,gDAAgD;gBAChD,IAAI,YAAY,GAAW,UAAU,CAAC,aAAa,EAAE,CAAA;gBACrD,IAAI,QAAQ,EAAE;oBACZ,MAAM,eAAe,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;oBACpD,YAAY,GAAG,GAAG,YAAY,aAAa,eAAe,EAAE,CAAA;iBAC7D;gBAED,YAAK,CAAC,mBAAmB,YAAY,EAAE,CAAC,CAAA;gBAExC,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;gBACvD,gBAAS,CAAC,QAAQ,CAAC,CAAA;gBACnB,OAAO,QAAQ,CAAA;aAChB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,IAAI,KAAK,CAAC,kBAAkB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;aACnD;QACH,CAAC;KAAA;CACF;AAzED,gCAyEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/path-utils.d.ts b/node_modules/@actions/core/lib/path-utils.d.ts new file mode 100644 index 00000000..1fee9f39 --- /dev/null +++ b/node_modules/@actions/core/lib/path-utils.d.ts @@ -0,0 +1,25 @@ +/** + * toPosixPath converts the given path to the posix form. On Windows, \\ will be + * replaced with /. + * + * @param pth. Path to transform. + * @return string Posix path. + */ +export declare function toPosixPath(pth: string): string; +/** + * toWin32Path converts the given path to the win32 form. On Linux, / will be + * replaced with \\. + * + * @param pth. Path to transform. + * @return string Win32 path. + */ +export declare function toWin32Path(pth: string): string; +/** + * toPlatformPath converts the given path to a platform-specific path. It does + * this by replacing instances of / and \ with the platform-specific path + * separator. + * + * @param pth The path to platformize. + * @return string The platform-specific path. + */ +export declare function toPlatformPath(pth: string): string; diff --git a/node_modules/@actions/core/lib/path-utils.js b/node_modules/@actions/core/lib/path-utils.js new file mode 100644 index 00000000..7251c829 --- /dev/null +++ b/node_modules/@actions/core/lib/path-utils.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; +const path = __importStar(require("path")); +/** + * toPosixPath converts the given path to the posix form. On Windows, \\ will be + * replaced with /. + * + * @param pth. Path to transform. + * @return string Posix path. + */ +function toPosixPath(pth) { + return pth.replace(/[\\]/g, '/'); +} +exports.toPosixPath = toPosixPath; +/** + * toWin32Path converts the given path to the win32 form. On Linux, / will be + * replaced with \\. + * + * @param pth. Path to transform. + * @return string Win32 path. + */ +function toWin32Path(pth) { + return pth.replace(/[/]/g, '\\'); +} +exports.toWin32Path = toWin32Path; +/** + * toPlatformPath converts the given path to a platform-specific path. It does + * this by replacing instances of / and \ with the platform-specific path + * separator. + * + * @param pth The path to platformize. + * @return string The platform-specific path. + */ +function toPlatformPath(pth) { + return pth.replace(/[/\\]/g, path.sep); +} +exports.toPlatformPath = toPlatformPath; +//# sourceMappingURL=path-utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/path-utils.js.map b/node_modules/@actions/core/lib/path-utils.js.map new file mode 100644 index 00000000..7ab1cace --- /dev/null +++ b/node_modules/@actions/core/lib/path-utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"path-utils.js","sourceRoot":"","sources":["../src/path-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/summary.d.ts b/node_modules/@actions/core/lib/summary.d.ts new file mode 100644 index 00000000..bb792555 --- /dev/null +++ b/node_modules/@actions/core/lib/summary.d.ts @@ -0,0 +1,202 @@ +export declare const SUMMARY_ENV_VAR = "GITHUB_STEP_SUMMARY"; +export declare const SUMMARY_DOCS_URL = "https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary"; +export declare type SummaryTableRow = (SummaryTableCell | string)[]; +export interface SummaryTableCell { + /** + * Cell content + */ + data: string; + /** + * Render cell as header + * (optional) default: false + */ + header?: boolean; + /** + * Number of columns the cell extends + * (optional) default: '1' + */ + colspan?: string; + /** + * Number of rows the cell extends + * (optional) default: '1' + */ + rowspan?: string; +} +export interface SummaryImageOptions { + /** + * The width of the image in pixels. Must be an integer without a unit. + * (optional) + */ + width?: string; + /** + * The height of the image in pixels. Must be an integer without a unit. + * (optional) + */ + height?: string; +} +export interface SummaryWriteOptions { + /** + * Replace all existing content in summary file with buffer contents + * (optional) default: false + */ + overwrite?: boolean; +} +declare class Summary { + private _buffer; + private _filePath?; + constructor(); + /** + * Finds the summary file path from the environment, rejects if env var is not found or file does not exist + * Also checks r/w permissions. + * + * @returns step summary file path + */ + private filePath; + /** + * Wraps content in an HTML tag, adding any HTML attributes + * + * @param {string} tag HTML tag to wrap + * @param {string | null} content content within the tag + * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add + * + * @returns {string} content wrapped in HTML element + */ + private wrap; + /** + * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default. + * + * @param {SummaryWriteOptions} [options] (optional) options for write operation + * + * @returns {Promise} summary instance + */ + write(options?: SummaryWriteOptions): Promise; + /** + * Clears the summary buffer and wipes the summary file + * + * @returns {Summary} summary instance + */ + clear(): Promise; + /** + * Returns the current summary buffer as a string + * + * @returns {string} string of summary buffer + */ + stringify(): string; + /** + * If the summary buffer is empty + * + * @returns {boolen} true if the buffer is empty + */ + isEmptyBuffer(): boolean; + /** + * Resets the summary buffer without writing to summary file + * + * @returns {Summary} summary instance + */ + emptyBuffer(): Summary; + /** + * Adds raw text to the summary buffer + * + * @param {string} text content to add + * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) + * + * @returns {Summary} summary instance + */ + addRaw(text: string, addEOL?: boolean): Summary; + /** + * Adds the operating system-specific end-of-line marker to the buffer + * + * @returns {Summary} summary instance + */ + addEOL(): Summary; + /** + * Adds an HTML codeblock to the summary buffer + * + * @param {string} code content to render within fenced code block + * @param {string} lang (optional) language to syntax highlight code + * + * @returns {Summary} summary instance + */ + addCodeBlock(code: string, lang?: string): Summary; + /** + * Adds an HTML list to the summary buffer + * + * @param {string[]} items list of items to render + * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false) + * + * @returns {Summary} summary instance + */ + addList(items: string[], ordered?: boolean): Summary; + /** + * Adds an HTML table to the summary buffer + * + * @param {SummaryTableCell[]} rows table rows + * + * @returns {Summary} summary instance + */ + addTable(rows: SummaryTableRow[]): Summary; + /** + * Adds a collapsable HTML details element to the summary buffer + * + * @param {string} label text for the closed state + * @param {string} content collapsable content + * + * @returns {Summary} summary instance + */ + addDetails(label: string, content: string): Summary; + /** + * Adds an HTML image tag to the summary buffer + * + * @param {string} src path to the image you to embed + * @param {string} alt text description of the image + * @param {SummaryImageOptions} options (optional) addition image attributes + * + * @returns {Summary} summary instance + */ + addImage(src: string, alt: string, options?: SummaryImageOptions): Summary; + /** + * Adds an HTML section heading element + * + * @param {string} text heading text + * @param {number | string} [level=1] (optional) the heading level, default: 1 + * + * @returns {Summary} summary instance + */ + addHeading(text: string, level?: number | string): Summary; + /** + * Adds an HTML thematic break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addSeparator(): Summary; + /** + * Adds an HTML line break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addBreak(): Summary; + /** + * Adds an HTML blockquote to the summary buffer + * + * @param {string} text quote text + * @param {string} cite (optional) citation url + * + * @returns {Summary} summary instance + */ + addQuote(text: string, cite?: string): Summary; + /** + * Adds an HTML anchor tag to the summary buffer + * + * @param {string} text link text/content + * @param {string} href hyperlink + * + * @returns {Summary} summary instance + */ + addLink(text: string, href: string): Summary; +} +/** + * @deprecated use `core.summary` + */ +export declare const markdownSummary: Summary; +export declare const summary: Summary; +export {}; diff --git a/node_modules/@actions/core/lib/summary.js b/node_modules/@actions/core/lib/summary.js new file mode 100644 index 00000000..04a335b8 --- /dev/null +++ b/node_modules/@actions/core/lib/summary.js @@ -0,0 +1,283 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; +const os_1 = require("os"); +const fs_1 = require("fs"); +const { access, appendFile, writeFile } = fs_1.promises; +exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; +exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; +class Summary { + constructor() { + this._buffer = ''; + } + /** + * Finds the summary file path from the environment, rejects if env var is not found or file does not exist + * Also checks r/w permissions. + * + * @returns step summary file path + */ + filePath() { + return __awaiter(this, void 0, void 0, function* () { + if (this._filePath) { + return this._filePath; + } + const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR]; + if (!pathFromEnv) { + throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`); + } + try { + yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK); + } + catch (_a) { + throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`); + } + this._filePath = pathFromEnv; + return this._filePath; + }); + } + /** + * Wraps content in an HTML tag, adding any HTML attributes + * + * @param {string} tag HTML tag to wrap + * @param {string | null} content content within the tag + * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add + * + * @returns {string} content wrapped in HTML element + */ + wrap(tag, content, attrs = {}) { + const htmlAttrs = Object.entries(attrs) + .map(([key, value]) => ` ${key}="${value}"`) + .join(''); + if (!content) { + return `<${tag}${htmlAttrs}>`; + } + return `<${tag}${htmlAttrs}>${content}`; + } + /** + * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default. + * + * @param {SummaryWriteOptions} [options] (optional) options for write operation + * + * @returns {Promise} summary instance + */ + write(options) { + return __awaiter(this, void 0, void 0, function* () { + const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite); + const filePath = yield this.filePath(); + const writeFunc = overwrite ? writeFile : appendFile; + yield writeFunc(filePath, this._buffer, { encoding: 'utf8' }); + return this.emptyBuffer(); + }); + } + /** + * Clears the summary buffer and wipes the summary file + * + * @returns {Summary} summary instance + */ + clear() { + return __awaiter(this, void 0, void 0, function* () { + return this.emptyBuffer().write({ overwrite: true }); + }); + } + /** + * Returns the current summary buffer as a string + * + * @returns {string} string of summary buffer + */ + stringify() { + return this._buffer; + } + /** + * If the summary buffer is empty + * + * @returns {boolen} true if the buffer is empty + */ + isEmptyBuffer() { + return this._buffer.length === 0; + } + /** + * Resets the summary buffer without writing to summary file + * + * @returns {Summary} summary instance + */ + emptyBuffer() { + this._buffer = ''; + return this; + } + /** + * Adds raw text to the summary buffer + * + * @param {string} text content to add + * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) + * + * @returns {Summary} summary instance + */ + addRaw(text, addEOL = false) { + this._buffer += text; + return addEOL ? this.addEOL() : this; + } + /** + * Adds the operating system-specific end-of-line marker to the buffer + * + * @returns {Summary} summary instance + */ + addEOL() { + return this.addRaw(os_1.EOL); + } + /** + * Adds an HTML codeblock to the summary buffer + * + * @param {string} code content to render within fenced code block + * @param {string} lang (optional) language to syntax highlight code + * + * @returns {Summary} summary instance + */ + addCodeBlock(code, lang) { + const attrs = Object.assign({}, (lang && { lang })); + const element = this.wrap('pre', this.wrap('code', code), attrs); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML list to the summary buffer + * + * @param {string[]} items list of items to render + * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false) + * + * @returns {Summary} summary instance + */ + addList(items, ordered = false) { + const tag = ordered ? 'ol' : 'ul'; + const listItems = items.map(item => this.wrap('li', item)).join(''); + const element = this.wrap(tag, listItems); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML table to the summary buffer + * + * @param {SummaryTableCell[]} rows table rows + * + * @returns {Summary} summary instance + */ + addTable(rows) { + const tableBody = rows + .map(row => { + const cells = row + .map(cell => { + if (typeof cell === 'string') { + return this.wrap('td', cell); + } + const { header, data, colspan, rowspan } = cell; + const tag = header ? 'th' : 'td'; + const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan })); + return this.wrap(tag, data, attrs); + }) + .join(''); + return this.wrap('tr', cells); + }) + .join(''); + const element = this.wrap('table', tableBody); + return this.addRaw(element).addEOL(); + } + /** + * Adds a collapsable HTML details element to the summary buffer + * + * @param {string} label text for the closed state + * @param {string} content collapsable content + * + * @returns {Summary} summary instance + */ + addDetails(label, content) { + const element = this.wrap('details', this.wrap('summary', label) + content); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML image tag to the summary buffer + * + * @param {string} src path to the image you to embed + * @param {string} alt text description of the image + * @param {SummaryImageOptions} options (optional) addition image attributes + * + * @returns {Summary} summary instance + */ + addImage(src, alt, options) { + const { width, height } = options || {}; + const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height })); + const element = this.wrap('img', null, Object.assign({ src, alt }, attrs)); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML section heading element + * + * @param {string} text heading text + * @param {number | string} [level=1] (optional) the heading level, default: 1 + * + * @returns {Summary} summary instance + */ + addHeading(text, level) { + const tag = `h${level}`; + const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag) + ? tag + : 'h1'; + const element = this.wrap(allowedTag, text); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML thematic break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addSeparator() { + const element = this.wrap('hr', null); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML line break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addBreak() { + const element = this.wrap('br', null); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML blockquote to the summary buffer + * + * @param {string} text quote text + * @param {string} cite (optional) citation url + * + * @returns {Summary} summary instance + */ + addQuote(text, cite) { + const attrs = Object.assign({}, (cite && { cite })); + const element = this.wrap('blockquote', text, attrs); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML anchor tag to the summary buffer + * + * @param {string} text link text/content + * @param {string} href hyperlink + * + * @returns {Summary} summary instance + */ + addLink(text, href) { + const element = this.wrap('a', text, { href }); + return this.addRaw(element).addEOL(); + } +} +const _summary = new Summary(); +/** + * @deprecated use `core.summary` + */ +exports.markdownSummary = _summary; +exports.summary = _summary; +//# sourceMappingURL=summary.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/summary.js.map b/node_modules/@actions/core/lib/summary.js.map new file mode 100644 index 00000000..d598f264 --- /dev/null +++ b/node_modules/@actions/core/lib/summary.js.map @@ -0,0 +1 @@ +{"version":3,"file":"summary.js","sourceRoot":"","sources":["../src/summary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAAsB;AACtB,2BAAsC;AACtC,MAAM,EAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAC,GAAG,aAAQ,CAAA;AAEnC,QAAA,eAAe,GAAG,qBAAqB,CAAA;AACvC,QAAA,gBAAgB,GAC3B,2GAA2G,CAAA;AA+C7G,MAAM,OAAO;IAIX;QACE,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;IACnB,CAAC;IAED;;;;;OAKG;IACW,QAAQ;;YACpB,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,OAAO,IAAI,CAAC,SAAS,CAAA;aACtB;YAED,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAA;YAChD,IAAI,CAAC,WAAW,EAAE;gBAChB,MAAM,IAAI,KAAK,CACb,4CAA4C,uBAAe,6DAA6D,CACzH,CAAA;aACF;YAED,IAAI;gBACF,MAAM,MAAM,CAAC,WAAW,EAAE,cAAS,CAAC,IAAI,GAAG,cAAS,CAAC,IAAI,CAAC,CAAA;aAC3D;YAAC,WAAM;gBACN,MAAM,IAAI,KAAK,CACb,mCAAmC,WAAW,0DAA0D,CACzG,CAAA;aACF;YAED,IAAI,CAAC,SAAS,GAAG,WAAW,CAAA;YAC5B,OAAO,IAAI,CAAC,SAAS,CAAA;QACvB,CAAC;KAAA;IAED;;;;;;;;OAQG;IACK,IAAI,CACV,GAAW,EACX,OAAsB,EACtB,QAAuC,EAAE;QAEzC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;aACpC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,IAAI,GAAG,KAAK,KAAK,GAAG,CAAC;aAC3C,IAAI,CAAC,EAAE,CAAC,CAAA;QAEX,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,IAAI,GAAG,GAAG,SAAS,GAAG,CAAA;SAC9B;QAED,OAAO,IAAI,GAAG,GAAG,SAAS,IAAI,OAAO,KAAK,GAAG,GAAG,CAAA;IAClD,CAAC;IAED;;;;;;OAMG;IACG,KAAK,CAAC,OAA6B;;YACvC,MAAM,SAAS,GAAG,CAAC,EAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,CAAA,CAAA;YACtC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAA;YACtC,MAAM,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAA;YACpD,MAAM,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAAA;YAC3D,OAAO,IAAI,CAAC,WAAW,EAAE,CAAA;QAC3B,CAAC;KAAA;IAED;;;;OAIG;IACG,KAAK;;YACT,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,EAAC,SAAS,EAAE,IAAI,EAAC,CAAC,CAAA;QACpD,CAAC;KAAA;IAED;;;;OAIG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;IAED;;;;OAIG;IACH,aAAa;QACX,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAA;IAClC,CAAC;IAED;;;;OAIG;IACH,WAAW;QACT,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;QACjB,OAAO,IAAI,CAAA;IACb,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,IAAY,EAAE,MAAM,GAAG,KAAK;QACjC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAA;QACpB,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;IACtC,CAAC;IAED;;;;OAIG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,MAAM,CAAC,QAAG,CAAC,CAAA;IACzB,CAAC;IAED;;;;;;;OAOG;IACH,YAAY,CAAC,IAAY,EAAE,IAAa;QACtC,MAAM,KAAK,qBACN,CAAC,IAAI,IAAI,EAAC,IAAI,EAAC,CAAC,CACpB,CAAA;QACD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,CAAA;QAChE,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,KAAe,EAAE,OAAO,GAAG,KAAK;QACtC,MAAM,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;QACjC,MAAM,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;QACnE,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,IAAuB;QAC9B,MAAM,SAAS,GAAG,IAAI;aACnB,GAAG,CAAC,GAAG,CAAC,EAAE;YACT,MAAM,KAAK,GAAG,GAAG;iBACd,GAAG,CAAC,IAAI,CAAC,EAAE;gBACV,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;oBAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;iBAC7B;gBAED,MAAM,EAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAC,GAAG,IAAI,CAAA;gBAC7C,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;gBAChC,MAAM,KAAK,mCACN,CAAC,OAAO,IAAI,EAAC,OAAO,EAAC,CAAC,GACtB,CAAC,OAAO,IAAI,EAAC,OAAO,EAAC,CAAC,CAC1B,CAAA;gBAED,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,CAAA;YACpC,CAAC,CAAC;iBACD,IAAI,CAAC,EAAE,CAAC,CAAA;YAEX,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;QAC/B,CAAC,CAAC;aACD,IAAI,CAAC,EAAE,CAAC,CAAA;QAEX,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;;;;OAOG;IACH,UAAU,CAAC,KAAa,EAAE,OAAe;QACvC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,CAAA;QAC3E,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,GAAW,EAAE,GAAW,EAAE,OAA6B;QAC9D,MAAM,EAAC,KAAK,EAAE,MAAM,EAAC,GAAG,OAAO,IAAI,EAAE,CAAA;QACrC,MAAM,KAAK,mCACN,CAAC,KAAK,IAAI,EAAC,KAAK,EAAC,CAAC,GAClB,CAAC,MAAM,IAAI,EAAC,MAAM,EAAC,CAAC,CACxB,CAAA;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,kBAAG,GAAG,EAAE,GAAG,IAAK,KAAK,EAAE,CAAA;QAC5D,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;;;;OAOG;IACH,UAAU,CAAC,IAAY,EAAE,KAAuB;QAC9C,MAAM,GAAG,GAAG,IAAI,KAAK,EAAE,CAAA;QACvB,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC;YACnE,CAAC,CAAC,GAAG;YACL,CAAC,CAAC,IAAI,CAAA;QACR,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;OAIG;IACH,YAAY;QACV,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;OAIG;IACH,QAAQ;QACN,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAY,EAAE,IAAa;QAClC,MAAM,KAAK,qBACN,CAAC,IAAI,IAAI,EAAC,IAAI,EAAC,CAAC,CACpB,CAAA;QACD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,KAAK,CAAC,CAAA;QACpD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,IAAY,EAAE,IAAY;QAChC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,EAAC,IAAI,EAAC,CAAC,CAAA;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;IACtC,CAAC;CACF;AAED,MAAM,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;AAE9B;;GAEG;AACU,QAAA,eAAe,GAAG,QAAQ,CAAA;AAC1B,QAAA,OAAO,GAAG,QAAQ,CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json index 8d7a3997..4816c6aa 100644 --- a/node_modules/@actions/core/package.json +++ b/node_modules/@actions/core/package.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.6.0", + "version": "1.9.0", "description": "Actions core lib", "keywords": [ "github", @@ -36,7 +36,7 @@ "url": "https://github.com/actions/toolkit/issues" }, "dependencies": { - "@actions/http-client": "^1.0.11" + "@actions/http-client": "^2.0.1" }, "devDependencies": { "@types/node": "^12.0.2" diff --git a/node_modules/@actions/exec/package.json b/node_modules/@actions/exec/package.json index ff0cebfe..bc4d77a2 100644 --- a/node_modules/@actions/exec/package.json +++ b/node_modules/@actions/exec/package.json @@ -1,6 +1,6 @@ { "name": "@actions/exec", - "version": "1.1.0", + "version": "1.1.1", "description": "Actions exec lib", "keywords": [ "github", diff --git a/node_modules/@actions/http-client/README.md b/node_modules/@actions/http-client/README.md index be61eb35..7e06adeb 100644 --- a/node_modules/@actions/http-client/README.md +++ b/node_modules/@actions/http-client/README.md @@ -1,18 +1,11 @@ +# `@actions/http-client` -

- -

- -# Actions Http-Client - -[![Http Status](https://github.com/actions/http-client/workflows/http-tests/badge.svg)](https://github.com/actions/http-client/actions) - -A lightweight HTTP client optimized for use with actions, TypeScript with generics and async await. +A lightweight HTTP client optimized for building actions. ## Features - HTTP client with TypeScript generics and async/await/Promises - - Typings included so no need to acquire separately (great for intellisense and no versioning drift) + - Typings included! - [Proxy support](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners#using-a-proxy-server-with-self-hosted-runners) just works with actions and the runner - Targets ES2019 (runner runs actions with node 12+). Only supported on node 12+. - Basic, Bearer and PAT Support out of the box. Extensible handlers for others. @@ -28,7 +21,7 @@ npm install @actions/http-client --save ## Samples -See the [HTTP](./__tests__) tests for detailed examples. +See the [tests](./__tests__) for detailed examples. ## Errors @@ -39,13 +32,13 @@ The HTTP client does not throw unless truly exceptional. * A request that successfully executes resulting in a 404, 500 etc... will return a response object with a status code and a body. * Redirects (3xx) will be followed by default. -See [HTTP tests](./__tests__) for detailed examples. +See the [tests](./__tests__) for detailed examples. ## Debugging To enable detailed console logging of all HTTP requests and responses, set the NODE_DEBUG environment varible: -``` +```shell export NODE_DEBUG=http ``` @@ -63,17 +56,18 @@ We welcome PRs. Please create an issue and if applicable, a design before proce once: -```bash -$ npm install +``` +npm install ``` To build: -```bash -$ npm run build +``` +npm run build ``` To run all tests: -```bash -$ npm test + +``` +npm test ``` diff --git a/node_modules/@actions/http-client/RELEASES.md b/node_modules/@actions/http-client/RELEASES.md deleted file mode 100644 index 935178a8..00000000 --- a/node_modules/@actions/http-client/RELEASES.md +++ /dev/null @@ -1,26 +0,0 @@ -## Releases - -## 1.0.10 - -Contains a bug fix where proxy is defined without a user and password. see [PR here](https://github.com/actions/http-client/pull/42) - -## 1.0.9 -Throw HttpClientError instead of a generic Error from the \Json() helper methods when the server responds with a non-successful status code. - -## 1.0.8 -Fixed security issue where a redirect (e.g. 302) to another domain would pass headers. The fix was to strip the authorization header if the hostname was different. More [details in PR #27](https://github.com/actions/http-client/pull/27) - -## 1.0.7 -Update NPM dependencies and add 429 to the list of HttpCodes - -## 1.0.6 -Automatically sends Content-Type and Accept application/json headers for \Json() helper methods if not set in the client or parameters. - -## 1.0.5 -Adds \Json() helper methods for json over http scenarios. - -## 1.0.4 -Started to add \Json() helper methods. Do not use this release for that. Use >= 1.0.5 since there was an issue with types. - -## 1.0.1 to 1.0.3 -Adds proxy support. diff --git a/node_modules/@actions/http-client/actions.png b/node_modules/@actions/http-client/actions.png deleted file mode 100644 index 1857ef375592b5bbce3f2b225865d32428c13acb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33889 zcmdSAWpo|Qt{`fRDQ0Hon3-{RMHd;v*6ILy$;QPLW6i;9yF`M$b-X%*4t`#KA?+ z#Lmjd!v2MbnURT$fsvDeiG_}liJOs~n~j6$UyTGv&B4TsTUk{6U$lUCd?eqTob0$6 z7+hUl>0Mdq0S@L2Ok7+*9Lx;N%yd8qI!AX~Cqp+nTSwA=V-PiUGqpm$->BgQ>Nt zjj64ZBM_G9Kd^S+08RkMZ-D;|>i=~APXvIXm6Q7qjsJEmHa7nu;pimh0%YS~0{L&D z9aY`!Oc|6-9Rbb`#-?H}z+sa9;l_?z#KF|i3E-d#09gNfq7?r>^ zQFH*9Sy%%*9F--6iKN6t*qON4+3A?+nf?w}PL5m3*3rq(*4R`^l#c``9(oH46K)PB zE@o3k7Bf0CP9sJ-RxV=>I!;bjLpoLyBMwt8BMv53HXxzDbH*(SFn0c<1pj{D&H2-K1x1@z5a9-X2WjrdT_W!!FwjlbeFx-a5e++?-#Q2W}n3|CM z>#@cEwFLe_>-x1p?x8CM7DQ>Xvbu>DsQVHXoAhy>gqn z>gjO-V?maH7Jj?#i42M?D)#mzCxD8^MN~)-DP~>fTP~Eaq_D@u-aXHQd^VTk z*#p~?@D6P5-#$zn4QM@GVC$S}5kA}ow(HF`j3C7vn>+O_4d)TbAk)uwf) z8;`w+c_-s`{uq~fjZSKU_(txjUVgLF*r5@ox2}yds~nRvKJyBai8*h+XH2)_>wTS z>l>Cf1-`Q0bUD!G6Sg1=Z<@HccOuqJ)EsrAraGJyemSn=tSgGU-n(ge*Qke?Lon^l z?f1>*6$Tmu5zz`T$xn#I@~f& z)pq!{S}#k>bKTr=N^hC(h);+CEkfc1iXaJ9q0Y#`1A*|Yu1<@p)7(Dd(r7v8b&;db zu$R>JYHJ~4F>}(7bbZ6G1k|A{pfV+U6N2{EUV5Od|Hk>Y#Q${^^64;TR=x9xurQK0 zu3rbGQIv=kNf|UT0AxS>S27VABpwn9p!2)Xnam!MLiW|{D#oal$#a2e-HeZ2dS;se z@`zkYY480XjfMtl^s;#@3L3g9KCgToH`{B56`>S-+msKMuhddBK6q)MI=vtm0uj|~ zNAa+{UxOgkS5+93PuEQTir%EnoqMmh7l8pBU*%fYcygXFQ#fzF)-sOev%*Hr5*l|Qyo3@&8%9t6QQm@_JH{{3oCP_Azu?;k zcAQh%v=Hv zhbCMA5+8oN%C?IdyQ5s%+dW`Cg(lNylrZhV(L{L8{y2;9Oay4)}%s;!3-7zJ-?i zQ6<)XIp58`w70Ia`zp(?I|{RNLM+eit)nk{^19n_n8oUlJVgpOa+^w42j^q?oGB-z4tGyF#M9r(w8^bq_8lF^DllFIQre4Y@tMkw? zkBWO$ZtWG}i&|sX`!(tYK+Z&&3MxZHdHzVPXu6I+DsyBzC{8nLs!R}rg6$oheC0i~ z+h4t)aHA)*nY^!fD6cc$6r*|^y;z4F8Xpbxr`qHCfE+`Q)t}kSBsPg~+orc$jo2Jl5r%Z*sut1@U940uk?wYH?73~ksYH4FLwAS)n)a7$OSL1yPaQje?MRSE`^?ZbodVPvxus+MXIGbB!(vwU6~tN z4V*196SUlB`3oiWMnY4|1dq}4vRT8|4M7n1uoCXE**BlNHrFN_+Db$LthFSf>|Y;? zCJEBiN^0n8YOx>W+h^M|sKC{1#`ueu@7B4iq`$R+#1WJP;&OY`>KwiQN(Tj1Hxscj z&u0OlC)2)i$1YlZuT=I6u16Gn*3OnR!w{i#R~|KkXOuTTalu8^3Q;&6ntO>e1NjS5 zabyBs9HY#zBCKz)*Q60%D7jQ6x!fyB07-n6=En>S@1;@n+~e$LWwA_DB0R;NOKs!6 z4e`v^AMk`3Eg$VBDmZk97qKS~*>O^2SdAN;MFgygqP$n`gi#S={DJ>SxQ2x!L3vw> zlCk=Qm^O3gJ*OgnuwKR}a$9hP7TXR=4thakK^euwzR9rUkEv-b5TKk*z+4!uNfjn~A>jGPV-|pP6~@Twd|@oAm9M3i zlOEL3LR;+}Kd=i@c2baZ&_<%09w|Ze@iF)8O1Iqhm{$nIkSrt$DFfjdA^Qj#tEyY~ zeJJ8bMI5ZljqVD&O>SN@((oc~(zbj}uQq--%R5 zCSCI&DnD~)zpdu);cmQ4hvk0^dI*})1*Hxwugk78Qa9_Qq+4(rR1rRBPW;m8BfPcP z^y6SO{m!&Cy5ZT(&_bL3gE-Mc^!J#4c*rgr{OFk)+#kV;h&Gm zPJiZ_*~qoqVqA@fHfzaZCC{p?;u`%DzgYyOy(s|U-NeT0&O&-uttsk@ODYApq*?vz zo9803%|-XljrV%!?sna;P1szSXySZ)5R+~DXL+2-CZ&xoh zAr!d4g9N1p4i5!#6pVF_Og&Jj=<&I^6w7mb9A;gcOf_uv8=1$-7_xf~4N0%YITI?7 z+#E8k`8MlFb!Jg*zgU?_xRjP*xRUr|LHl0xi9mVVq|Nd?u%K2&yE#y)+ct}0A4#HF zOP2-S9?x$V7?5r(B*X*cI> zWx7wV#oezuAEkM*{#062W)j@(0GpZ*+-&dwcfo~2Zl?fOqXUPaGPcplk5%_t^n{nd zVD9X&fLJ}45sCDDQ$j?%J47_E1oH((d2et^Y!Ms45Vsr3>KiIO(irvlgSVz@_y@x* z5n6SzW9Pgo%0f{ zmI`V@=<~ai$7&J~S}clWX<^>;@SKRTP~Zw(IK*jh$wso=vv4#^Q90EMHGDU)k|jt2 zpFebS`bhrJwchlVNn48AqauE(MasJ6N#k3oa6utNP@X`f<#}2vNe=~=M5Q8_<$}OM zIHqMV2`FSF^e`{gT|NW)RV!+{_&d&g{S&_kg=;x%K2?D3WPyz*>K%(2^IJPySaTzq z@Q^6pMz{XhM^jX>Iv}n%q%XKc`6keK#{8(#ks@@l^SMA}rRJAfT5WLndS@_yhcq&I zq2$8@~RomQQ88|x3}+mCY#^3a01Ev)*k&`@|pJ8LR0uVS5rWJLN)M{AZu>ez}^oKWBmSIh9ZQ`%sT7P`Ok&-}oB zI;p=B^k-Af&| z2_i`$a3KQRmmK_67ESvdjp@-78czdXT?RJQlq!fR8Dh4Ny+!^MzH*CN$}lt>Gezo4Mfdvkn5{KaV?h=O|Mp9I zFYTv2=W@`_=yW(%J1CwQa^z-Ar zn#uvPkWlJ`537bveayM1JX)#PGKPMwKU%|Gl)ne*Sg#J4BL4M-s(4PwmQowY^4fD} zkNinF&&1if9L?@KmeBAJc#_sV?Cq-Hc`1rFQk+S_>RNIJ6U1q7D*1cZNIoa~lPp90 ztF5{F51AJueduyI--5lRVZuM{vEfw8IY<|?KXt6Q*gFdF+=!5`$3EPjMc^Qij*=FL z!Ehl9PEaECA@*>14X#Z77%-08G!Z;}Pb*`gzo;%XTIP@Er0G`w+P&IEzR^OkMfcPm zJq*<9{y$os|9s6Ob5=1+xk~W^e{asut4-uB*kDcHcMF~8HAr$R_E;+MaCAqX;Km+p#6dKhwkaG`>fVpwrX~d(?$7~pV*;cw4$Y}3mF#Se_taq zXO(pTcPQj|L&Sh(H?)X$N?`Wm&yFhM&w?KUBP0>#VC@o?KGnliUpihlaH5tS;slGh zbcN?pLm;%_>n@-iP$cOj7c&Mk-V#_m7NOTD=K=ajIn*Uh9PV@zmg(Z2gBaGFGWHgvJDY-%0&E~|VVtr*k!jq9 z?y6`CJu$Y$cnx1iy6*1I5JQ*itg)Y(5QK{}L^%^E=B>AHlD?*aK671+6YN#s&1yG( zXvEz=UhJlqUS!cEqI|A4SDha(z0*g`M2PwI!_0F80#7E728E|2eN^2c#V@(H!J2?| z9``a~AxE6wmsqyAE|P%9FRmtAl(|nJ(*T&e0IO%f9Cv*(5UCsL7NtVNII%9itlmLG zyH>%O6=+Y~;dBGXG1DH>w|02s6j&*G!gGe5AZo5B1 z2Pq@65Y`n2lQgrruGFc~W;bNB>9z%+N%n^}ifwa7#Y=E69C(bG)h8sm9qDKYQ`}H9 z{{ZI9Hi2Qh%rC>QJ6~&MczARD;vLZ_6JzBm!0Q+lsHJvN_PZK!^;D$TT~XBfRB5zx z#hV(gsIx z2Tg=PAvv{>!jaFN&pOCwj88Rr8c;B{n6`Y~y{BRkas^}HJ;+znb|SB+HT{wlVl}$4 zeQs-G^#g6!R)}#L@Z5Nf%u{h-+@Z>79e+K4IIN1Jz@YK@*^(3QN_=`fl#eq_*QSXJ z9QV^;bAc|I>Ir8Xysn+l99j5v81NP$33bE?LF2(v^6_rsXp4@GnXK?nY=f<5ufnoo z973oxz7fMN*`=@DYOvAiBlo4D?W8V65MA@bC^IQ%aqK?PN^8ZFrqK+JJB|k8=(*=D znWA`oZm*h`tprV*->^mn0y4)x(>d?X+i3BGb^%3aR$5BaeBLEgPM(|}JRw6Y0{`eB z*|Jm-c4)(!K)Rq^>PmEq=K1XaQwBO{s^%JnN4E!IcAGL6YwBmBeV_E@OFLQok#{3) z0?=y&{|yuNL=2+YtVEhk#C;hEr>0Fik+9PEA@6=3SXyGfhevi1fHW4S&Xt-Yb)BN{ zuZbGxy5``2uJPXdI-|o4V};#n9kHl>tU(zU2#^$?&yfI^Fh8i%VxnO~|K7EtMOa!( zZ&&g9iBdBhITAS{VVd`dgn91k$QP7!6u>exW!1B*8!>*3HooO#7pt1*mFb5PCB+b! z3>fzJOq9n2GBqm$AtKk4!WK&Fc?qJ%;MPasnWISB0DAgt6ks;N<8!@fVj}Vt`ec|U zk4Hh1PGmc*^>UT0ZZkc|mN2NYqmJLGOC~>BK%YY1%M1VJO|7LBYWnj$>UAL#?U1a` z2jAQNnH4AFwu+M1z-zi*k?;f_RicT<>e&0#{pgxNZ1Ed2X<>Lk;5OpTsFjR`?=i~d zcVWnj!9rHuw?{?52Wia;TpyKw%#$qh`?gFu+*sg;HbPpS#V)roS!?U1hKADK;&5o$ zh!rlj`#ozwHE&P@{uKYy4o$(2$|p&yEu)fSVEW49@6wLN=?2XP@7+v?wY!m^DOIW8 zKrqai(g-Cx3+5XUc|>khv@Nl4CuDF%@bn{;_+_4yIh(NtBvn?b5dh)ohOR9`bBgPI ze}}(iuQ4i~Ael2I>M8+Y9>@sWs;-UiYd#gbRh`J7d(~srJV9zufm#L|no_F5{uS1= z6d@>YbDAvoEgIUoE_A%cm5X2t^tOM-ra7y2YUJG$hF@9?-8d9}dlQ_&d?Ie(i@Q1e z^VLuu4Xj1SXSA1W*ewJ+4G5rRqW|@y?AA+?RkSiI^)|6MryQmd6p=ygl)tM#4o9G} zcqiQG&niKOgr!W~=B;WH@qf_Vhs8qxKGF*KOntAHg(%(M-fWfXwzRhg;8k6;ImnQ} zkn<*vJ>EjXClPJWtO(4TLr!Y=3WJ4NW{9U}{H<+GytH5}H3w>Kq(8^E%5-tOGr+w> zImL;shJw^%OW!l-@Eq4Rx^&J8QDyT|Qlmlgq(dHkEpo)Fyx3w}X?gxVJHo+b&E&mw zl0H=!V)K)L5;M8uPx_xvTtb4N)|C1#wDU<Y(@RL4IBsb1^-j$$C-CaoyDS7-&)bxDG9z?juL3R6*fu zUkV^Q4X56BH_XkG+Wpn_A4c9Kh-*}+Z)cPn?9ffk<<0vC%xkX@U1t^&#YRdrxkd!E z5P&t1r_XESL={n8D1D+OLGy^`TQL%vK z5qx0$%ixgvX;9qSNHxm|bQ-f6MduOaiL^7=W-B}!Sk4K0nRYy4nkmkbzrMYh4qC6Y{muPK8fhoD)SNSJ!z9!l*KaO5KpBmCTY1%HGKJemUB+Yu0A2~j z{p=^C-p_+ZLP$YKNE*z#gvSXmeR&Eq7g9oc;=K>Kn#pWEdnf`#f>$CgY$jv$t@blaj)>X6+g2hyqWi6_ ziryNNl~fb0xd+3*5r48MExeTc05~fDY*vgE|0Y<=Ye9hs+IKu^o#Jg{V6$_^%snbQ zUE^4$0wSFA4dJ^rY@JbY2vuuTmUWTS-c6Ts|CV{aB|l!co=49~d3F-#b5*v@n#%**);wSf zCb-tQ1|I#DjqJmPhXq03Q@k3S;dSptW_Pi7PgsR@c)weU^C>NMw8Qwty7hkT;;od4 z=~feL<(#XyjAZJRGxb|o=S~r$#i3#nq}mEJ5`DEO3%ke(?Pq?f;iT35*vUCPD>p6^ z4dbB9P)Pt5q3-L8lTFyVdFGGS6XC!eL6YxWPFS_^3Io_ISYL*V;H)x%lk ze60aN?dc3YHdX?EUvltN^IWAHH<JwGY?=EKa6+x0<=1dnX0p17ZI;OA&?hHXrHHBog&b0Or zD}+8WV+yuIT^;qCa!z(_#6Me3^Z$moqUmX_@6ic)RqU zRPL|%7vHLbjx%RRv=I-sEtsR^vZ+zAQ)ZW5&vg!$!p_Y)!x1G)+(owvkECjU{K_4IOMvJynI7e(A?|Jt6;c-I+sPeJWYG-l2>1-as zJM673w!2=OtuD;N4`9IAeSx#kQdL(qLckqAY_-Iz4mW%AOf&-)!95Uw8M7JV5}%Dp zo$hFylKxSrspo@P{Ro zb9Pb|NP)nT)4&Gr3hzVv1-^GMXMv8SSFKRP=k|hit)P`Dzb(K0k{oJ6rcNtZO_#{- z1lmpm_m#|OTI$bgYo;tv4lpAzrLQfM+D{Fsp+$of+PLW!8%oMbt> zLaj=`BpH7+E^@0^6dKxKxW(rZ`PW+V+CpMf>uMih7Jf>}KW3RV_rp*Na zR_FcRx(TMX1z{coprCbMvW%V!`ofid>kP0y($uxq4Qie#wcOk(&ipB=3=>5xGg=$n zng|-=Ek=H(hTUb;#^t+50u6e>NK|(C3@9bTRW!1zXLj2QWnUit?axhGs_^b`+aZp3 zlcH!sNfmy7r&Her#*u*mQ^MXK!0MJc#GyXkM9xiZwGYSB`o=|Er|=B9;^BK0Iy0YK z+ieY7y7(72Qu|Fg+6MnUeoAl?MQ@?G986??UDi*2+RDKblpKb3byA~X2&-hd5Bg&U zZQBSxD;!gO5*QPEBQ2QRC04$YllA0Y=U!sbkFyObeF@DO%ArBanMSB#p7lenB1;}` zH3Uk{7aOUt#(>+RytJQ!=+6oa`QYiB?(vj?*bk4;hnt))Q6&sj(gKB5~#o1+3^(y_s zUdWAy;pEzX$p7Wb@Bto4G4;cfM}#Bl#HJf~$?}&gFCM}KS;Lzp3szQJ@llUv*)-s| zh=HE#6ju^=>&o~5UR>6`N?!A+axAMEu)xL;F4V(@m?NYm86z_$8PBwREO`-YAQO>z z)4+Xk`kOroCf^AiOYYY4+bqZ$NHMFQwifc7@SDe88Wswc>&mx!cD`ATuctj$It5e6 z32NnSV!0&)M^n(Z=jrX8zXr{H60$NW0Z-6PmBfUlMLVY~-}ILv4`-$dM5VP(?P4WB z@mQjyF~DnFYni2C8)eW_2b*R}#J9MV&q==*3KLcGhL;hk;#yEJy$0{NxNsrD*Sre0 zL(*YFtwlHJMTd>~68_8V{t}1Uu?(mdzxO*_GC)V$Fn%VrdV&bv7cUrG*C^! zci2^UiUHQxB_f9kIwuth5NthWoANfV*tH@dqo4YtnmYXQc&RsHxtzi5;?u2bTJ0CR zpl;ePqrl=FP8p0hxN$T={8>rbZ_a2?mv9j6T#>oa0@6sdsG6C0DO=Gy<;7KxVwpX)@%oR?y3FhoiAVdQ`Xat zTfIvvx<=5Jxw)?p>`AD6>*I&8(4qKGS*0x9Pgf6ucOcwU`uG#YJGq(K#C8B%t zKvvkpl%WABA31BU`)o&plV{7*lraqDy|PwcvBG3O8Lm>f3o6-F;1Qs(9=zo?b9g8u zCMIXMZ)+^%Y7Yp7q$aQm>=LO$8lpWI!)CMxHZS@Vb4&GHuhv)gtib7e8LNzuir~_i zKV8Go8R`rZpriP2nM`LuFihyPH@qFv{@Undb#}YGh`fU5Qay8<5LyCr@}C05&Bzd) z?%~{(P3l7US!tkMXQ=xWkGlUZhIZ*vYoT&;t!;O9@jZ8LFd)b?*K(e)u`Rz|G&#!f6WNs&9lPmFp4J`5= zcI7fc{hf^Q(}>!UtFc=EidQqjos2j&&T zlE2CDi2Lk8Jv868&U|o&Y~T{rAPGI zY+wslqAw`y3h0ZjIZ3Vo@6|bcGk2E0)%K5{py(xSXYi<;cXj2zDL$Y%i6&Fy1{n(@ z!ow{^kF#|lf*=7H1v#UUGKw-}yO~=a_Jb?qE9#VQY38^+)Lii4rC*|*t0Sp;vaTdC z=JMJ7E+2g)c6}zHt!DO;*XE`u+agb&h;9DTPbnI%EbUZ{sip>JmE`HBJI^Z04)>jG z7v&MBY}f`aqiv99GfDN#&#q89HzZ@Jkn?e}Xqd303AV()H=9_%FOT|-LLY@1*UOS( zVsY4c?ZO^qDeu}idUas$=1(@+8%IoV-M^twP&~IT*~@$$%GaC2VQBmVszBWQ==^iycY^92kUEE4mmMyw3Zg#hAvx?k^6q2t3GU`U6w}tL^)Wa zv-L(x?5k3u<`rwW-LNM(r_5q58S1bXLG*HPQn>LQe2hFtMy{%^orDJ+=sY;Tw|PVn ze(2XgI=BFmgn)YCeKPe=ta3T0b$C?dkL`Y!J8pye){9Z;E9f=?bcc8JWBoI3G9-_z zHql^QfB198Eq5mIsGGFNK(^*yjkOd99F&Y%wP(HFAtLnOHZuaE$*?z4`+k z8g`?Lt2WibiSnlio| z8Y*wQWJl)>FsXg6cR5V56E?)X$j1i-sP^Y12OGQ2!QzjR&&`Z4L{>FQ@L`0aO%cLn z4ac}pWQ->Zk$W9X(s~AnQkHZ^69DKbrb)pDz?qG!5`W;TuRf7+Mv(-}^H;Y2f@YIU zoQIKDHWGz!NUl&r7qUd|Q*Tgfr)?yi)c#ls{^hlEm(1llgSE1=9Q{)g%wVc7zUvv^ z>Yz)Zrs0+}{n1-L=~t@6>&i#|N3BH2!UyStn+JYq*&zMwcyMk_{a3E9L4xzcaWWM( zi`DBPWu=nTq6Gl#&bnH+%QU6$=X7MOXEjRPIsG}_=m)=Oe->OUoh{;P95oEGWLdhT zmH@NFzky-?UKfJc^e{|t1%A%$8B}UTg_+1y{cE2oUoa?F@m($P{g}W*rT2G)N`ap{ z(Z#t2e54#4H}6Rkn(xoTEmYwONt@6$V>E}ejo;VN-P_S)PEa17?}|z{MjD#0R`hdk+3;6Rp6PLyhEmHhG()rT_9V zwsY~2y;hWkhE=mcePmM?y@k4DM*Lj@EDh8wAxF(~w{I?*OI3sCAjsc(X>4cxti zJU1M{PmwLd3r~h4(Wcyuv31U|gmT;#IkTZhR+1N(K@@cF8U9?;a*=9m$YNWu=-zIS&l`I*!GvXCUoSNTX&p1uzM;| zyheBXcNO||1dRa%fqkHHH1gMO5e%f#n^KXppO@J^8d)Gomt% z4UPRzjahUR;G^ddC{VZ3F`Z3`9mTF$KHbZaH%kg@NRrjQzLC<&3S+3ZRza@>mc80O zc&xb5Z_k-IPg86v3??Rb{ZWKwv(u4NOBSP;IZI#N&;YvuZ5Q*s`Ia)&VQZlPAwg#% zND~!{-YujpJGW*XDR)S5_9%|S!n?*5o_q#}1j^n?0BA81I*q>6lj_s!R5f$qg->}D z`f8TD36}M_L0&Y$&>$}Q6{XGWvW7gHSph8_QdrG!Olr9p91ERX@S0m9e0zK%>Xq!4>Eml&Rpz_)7u52Ug0j;?U#i*7 z{LYP&^p=6&P0zc-WzDhgYX`=&wOHVkvR|L)zRyMDO^7saNVT*l;D?hz91T*4XL^5G zzv#R~x6$7PW9A_oq^~GmDcw&{kkX&N81{cS6r`y%-pNM|(+OzL&*#JurXf4+jlaQS zWh;`h$!zPzUH39NEQ$EFaUFCQnp4et%CR)reC@`qL^y^wU_wC)mQ`!SV}?6#t2(*cSl`U{Vr@dFYT>z$`F*r2 zck2WTQdkh#_dLghl9E1;Y})BuMs6Nw(KU9jkyV7jCS0ZfL-zE$@AG`+)(;jVba<=94LZ%^kxQSFH!y)oEw;aT6Bn9}P*1s2*-zxqNvXk+{-|KAsIybh zX?ji_*Plo~1#!Arp*lGeAv~c(?VM_6L||dFS5zx;H24D+wb(%mecaCH`=t`ibv>@# z)_hJI&G(UFwA4TU4BDR~dCulUVh5OY%|;tfj})tnJQYY$CsNcOz2(1~ z1IK^!xN(tyTGe(e4UyW%PD<{+Z{D32uQ{AYMH&Zr8+sEA-^nTm=(bQ}mIy1Mp=9d0 zk(kQz-eWa^pbkbGK7TL1c}7LtI-AF|&{|sl+{p~Tk-}gw%ajb;Hx{*v#{+Lfb`_#e z8?}6Wrg6YMUvZf@t2;4%zPc;r+R)dZz`vc!trL#;WRrI6d3l zAF%G(8?anCLHYYq-bX(By`z2YCsX(*mjD#=amYo4-`oe=LV*%(1R}}5@c$HTBEz3o zqJNtg&OXwPj?nAMSrCP(!QF3D%nf2S))N*D7RPnDBGjvbPcYiu>UH)+VEtrY30YiP zFXMhx?2XI}EvrKU*z6{$Hrd)1aw5t1_QjNkoo7Yv0t!92k1^x01~EwmT1BpVxVpD zEAzku?#Ub+@4wMLC7H&KXk4ycWC>T7DRW+iT{3ya9o63@Vt;041vvJ0DXuyZ0e9Ozv$RM zfO&liuq|@D!8tx28##&N7mlHUaeQc{=!}bDb?R(ofq;F{Pg6z&^Xhf*35jr<1va)be@+VMsgHyuR>*r zhYIXX!Ml32OR7H5Bg2eAByK|ixdQK8#>sR!rL53?h|rICI5xhD{?BwHUmcV6vBxH! zm>j!)VoXr#oX%WrAS%4=Z%icRH41@7`vs|ZXzz?QzX=aHU6;~-QpoH{F8YWe^9#Di zlP&$SM@2a#hu9v;>BhaEG_W-KF7X_qvYt6l4bhK^z~;P9Dv@aI_I2|0?laEs=x-;? zO+F_&b9nYNR&U0fM#Ds(iIPT$As*X5`70tR=|h22AhDD!OnFD zdgck;%uxJP>RQ@)&#K;e1)IL1Gad#$m{Xx2o|<$>js&&>mFa!^CUfG8+Zqe%QL>Sy z+r`2#kJ)i!b`tS`DR1DttDpZ~!V>wME3vGH#%x$0Gix zi+bpn)dcb`PxO@46k43=PAaD(qYk^R+1pGZ1PQV=4D-5F(IOK2j~8wo^#Y&kV}m`l zD0wNlGYvv&p54T1Td%$EF1a|8s|6jegSev#EpLpDEaX&vV4#re-fP^W(Dy%;a811; znPvtG&Ht&k+Fv$wFxyJX)aEt{uc3igcOKXjfW(3VT09bvo*wK`7NHRzzKLgf@z<}q zz;5!{!S-lm7o7#lx1NSu=;KrQ=)o}zTQ}vOO$+dIm**oFx2G}nIkA6UCzSJz3_I_m zx-u^PDg~t`Z4JBcBqsPB@m!Zu!OdYOhO*s5=#)k8b0zN^Eh3EL)~*fWMiV*n6Oy!f zRG&b}&BZd7M6MzgsX2O`s!SB0yZ9`AH2;QGH>db1M|eTw%hNtSqhI_>w=q|G(~o=2 z4~S3B5kx3+NMTKM3IM&EgRL;CB8V5^)Cq$bRMYqF#4bb z3}mY%Kd}JW${Yyh*LtBFPl5*H3P;8GCfJr>moW)xIM> zDn$eW%rl)v@8(zhcJ@!Mf9s0hR@>dHBhx9wh*j0^+A3r- z_;O`xd0V-~9Ke9rg<}sWItJ6Q^P~HC!K*aUIFAw15vE69=n^)>BV~P?Xw>1xY_?^j zHh5x9T*kH@h2t&rFN3{COJYVxQx)q0bpjrV?* z@uOR=qR%UDn)!MBi$NWa$sXIn#^k|0=#}x|Z7F7Yi$=cXQj~^@_oMI15teheJ1}*Y zH5$;lBfETChI(~08l_7x1{Zr)&9}hji?J6gZCOkx*sFo~i$RR#GpiaM*=H#vVWAS5 z@YDiUt63!sv)YT8whF}EVEyc+=@Ajgy7EBO#?5YSx?R>L_Qtw14&R*J%Qy)URC;dO z4P{O!H7Fj)oApTioF)!)&dj~+Egj(Z5C(sXQ6fqYQRcEjv~%+bZEG-1~{9 zbgXS>Rno=*7`=16r4u0jInkX^lijPEN6fVI^FJ7vW~i2b+C-&&SMhNQ=hzarAxjyCODN`LxTCUwKt(yWIA1C+%_d+!#` zc#eVPT#y84#@q}3oWE<9dOQ8O8uG(*$tNG1q)s!c_vC7vS>`7DH(zB7*Ncwe zX6Id;jLwbc1wLoB@vGCvmz3#;Sl(deG87-=FH!9cKmodSfa1XkgA+47q;6=*;X0Op zipyn>_JBh%0<0RS7xDDMlw1@aYN^Y*Q7kVi=y3S+n*$=oy8fR2864$uydQ1RFAo%5 z(;R}nTb?eS8VOW{X2YxKN^HPbUu>Fq$x!EiRcu3TU0lr}`s@MX1Yr_B8L0=RLD+V1 z%E>j1y@aZOzo<-u(9?d+Ll(uAk(Bu4=%7&kpf1nm74Z~9D>aIfEJI|$ZO#+>`X#mhG4+2Lnuih>Q+ zbJb04uyn~mAOmO({KISL`7ccs^`s;2h}R`?XrobOtZ1kPqd8^mH&L;UzFs4BNfWyg zKg{-K_S%_FxTqFfO0j;&Dh^1X8YSvQ-^HU?KU}8ZLw%%_Idx&?MOG|6g%0(N+DwA# z;U=Ius|{F!MMKDx6Ffbj^LAD;JN1t(zjZC*!5M7VQ;DwEkRIROhAgyI@lP16Jh!ON zVEVlk=?8y7JP3ocEH7}_P+1U}Qua~d+56d~x&X1{Q; zi~6_Uj!0WbBsQhY)fmETFxp5J6eE_-yCO}3)2oGf!7feOCw`M-L%xHxs)!#rF!&1W z)QMkH@Tc{Mp>PjIzBg+iuI`R(KI|T&pn&*EBz{lJgksl4?G_f_2+!h;P}nt2JMb`q->AkMpIj^KG;)G z!TlWSl>br&TfffA%Gj#@TaSHUx^H~TcH2<Db7`gcYd{7r8^Cs;_OT98(uRsoC!?66d~da zD#P4*7L)?TMoLa38dAA~$+mM!M3ANMs8m^pXD&>pw^z8ZrlxHcva{)o=kEL5MzgZV zLQ+9(6lzlfxutBp8Q|AQdjITkeb1LWn5!0#bIPk0v*7RY7$GgJz8;`JPeha^vlxCg zmB@?p)L(WP;xmrsQ3{T>+j~;S(ol=3M*Rm849yt@ioTt5nP**$OKqmL*`26ZANf*3W59;f9_|C*ATw^+QS(Plru<9Y(1% zTrl$i^9Ci>X=ChYcPysy_@cl&8HI^B1d(wWQ>OCHT2S8TK5{LvF@_xaBkw_~Z?e-_ zY=YLT!lb2ECJ=6~58acDGncn>JWmBmuF~t4uk!P^erfR|K6~c)D87*6+_&$F-%!z| zRI1;D-yAGl!bX#`^NUlx~|#Swr$(CjgD<6 zJ5D<6*zDN0(Q(JNZQDG#`?;?7H=O->eVJ>|nzP0jRkhCjLBEe{V)}vCMdyL2E8|kk zKV)sgeE?m{(_YIfb`ov7UG7jWB6-M#f`0fPmuYWMdJgNIChJ5@KK|{N4a_?Pvb- z1|K5>3Ow@p`H1C6$L$It3tDbx2G^wV5rI-}Jw5T+%V~;;oNjg;H6U&0yiKxxZfm>l z1{R7%35BWDJdjsgl-@qP zLqbAxFy}e1@F=tsll|lhx`ZsQjV1LE-8yKJ#4c+m|g@ zW!j&lf=L{mxyKhV1|O>^t+|(9_|i-h!ca==4y}etSk8}>BULL9`V*P#(wje%M636z zGrXAJ>fV(95?Wi3fk}nqJBZDU9eZ3pa>~TK*r}9yDXsnr&4MFaYfMXC801$kP%Q9T z{*jO_zHl1a0x9xB%7MUtrEbySSDHw#06!K;rENBS)5ka|)BP9!$^rZd?YR-G;@j#5e2b{Kxto z&;9CuKU~E`{!;srJ`4+nQ*t>G52L?Wo|%l@njcqHQ5DavOsQ^ixq;Vx%!ZQZ2_^%# zk-)geIVBm=b<1!4=rq9IWWgcy0x3fmP#As3t;TswO>;gF)h$wy;v3;%@(?_WsW$LC zNT}9Ls0S{XMt4+E200LZ)%(=b->TepaOmH=L$0Qytojz2c226aU=+J6!zi0`KtE<; z9_|knaa~_y(;2kJ9S&ls#n#>7*}~?XB;f%N+%zGzrF{aFOKKErjH6CzGeb9^!$ZJX0=@dSWVpsB%-5hV4 zv7l6&NE!mak`-7!=I_#OuQzOg8+X;}cYXyAY{ScPYita-lv*O`WN2&oS#G)Re7t_1 zF}6pJS%m#}cSxA!2>i!fQ~KskG2Nmz61WBA1mF)$yhtYngWv088BJ&Xj)@Ss_le|K z6*v5MY%jDQ?wcv@(*3QmHmGA?G>&2Le=d{>ew=ke&W|2yA@YeXQqdKbNrY{FPS(^s z(OVUou9~^oq^i6fBy_|7xPMmEtkQ{Q_wwtIiJ5%FfQso8^c6fsB#=JSx!Qf1n}`ww z@M!uRzbn?|LfBCcutY{|(O{l$1t&Ha$xY_$vXYCAU`Qbn^^v%<{# z-r7PP)N^<=?Pn=6P*_dy(V$)LWAa%onMd%)^RYN%#6vm5#o&ZUI!zEIHjj+Wg3fzY zO&Of!A6=d0v<;OglJMJ_@}DZ?gs?Q-b&RF=(kcy;OmpJ$s(9nKKGC)O3@E01$JfCl&62| z5rA(8y})X<0kC8C{LPHDaTbCkJ_fOzH}l#Kh$7yo;9*nf_STm_E$Ayf&l9!|2!3Yo z>`6Gk4_MqRMmiYf8FAFeQsGy5prPxr&)hK|c74LIaG-pIjUm%^gSgeXicJneodWO$ zvTzNqw>Da{l+h0iF)I$Jcz#f~;}EuAUN+Gl`QEQb5y|A@jUz}Pr1jrJ7f4ySNUcdE zBd|1_1hoX!h4Qe(N6PYn+XR#PKjcb0cDt%?+;Pn4iKm7y$V8zpVr{>@Xm*@upGLnRm6O%vT_2C?E zlt+DQNLn~Y!i!Sn^6Ryt#lnW;s%Y~Lf2ViZm>Y~QLIy_i2ZvzR`n1X?-7I&X5Y0-4 zunvzEEF2lChGiBjq24{E+v`Q+27vE#aU!V*zwi|N1dXT1f_E7Hd;$`6>eJ+nMS%tu zom~Y;BQMcMdSW)`sG{@i*!z`XP;C1Br*Va5;*U?@-c@}#?B&>)qipgVR$-_@JCkMV zK|QW#bC=uk22|K?)yQGpm9c@%BL6_=rXe27Y&kgeZ&c3H-4Bod^tjc;P08X|PLoKArztsdd zoptqF++c&zef0wKqN4*vq5p22-%gvJ-^XPv>%1Rc446UJHoe+t1v7wAnn*=sG|4G3 zufwP1q6mzBL9Xzj2{-jg;1 zKZ1}z`VHD*_G`0gIOw(Ds|iegI51r%oWWK^$gpR5wCZo@)?`rTHYQPIv_E*R`)$jB- zef16w1*1tVE-}6Yw&@?d54D3$P43V;R!E+1i}vVoW1`}<2dgtnSuG@q9Lu&VIn7`7 zkz@LQ|Lg0U>{M!bo9Wh|7gaR3*nvH*|A$cQ(vDr2+wwp&QE4Wjt((1Cl6XWrDk(N~ z7GZmBZM{XW5tE9sPvv||UOMmyL@|u!YP)BN(F9e#p=;65ep}k5m^hS7zKAIy&`K^Y z^PMq+RZph9{-WZ}j$g1XQx_j5Y)vt8b+Qt5_EwW%eqkx3BC_4)KkuH%?jvHuBt_KA zT5hq(;mH!HRYuU7?XG@sg4H4e2IowTYc|jE`F_g$Oy(Qe!{j}!qJg36iWt?kS(#(( z8q7kM{s@W7UdwKjH|>gppec$Nf*@bgqg4=}Xx=6rsW-<-nb?6mTYT)CPn8VIKSF|e zj0B+JJnqe;805U&A?o{JS2fxniP#@))-8VLJK_ARL?9HiJ2VI3%cvItNz^Z5bz21I z_N8A~!C-3@)7rLFwDcKbd;wKHjSj{niGNkKV!sv$`Qui&oP(^ex*Zp`pqXl!nrF<$~phHiMhn09CeRvAhb8(B#&a+CgB6p8*xH z;ec_@J4jpWJ<`AGzHV{x`_d%e{h<)Uf4oFVDzq<5V@R7@Jm;fJZbM8Kb4pB*_`Li) z*A-e&{WFQshQsnSMoYn`H&826=?eS8)nY=4m%ib0v?L|Wf7!ALIkCBX-tTEcMeYhH zDP8%~3NykMH@H*$&ez?%D7XWRb)V@H>!5N5)Ptc*XRH?u%m-KvYOYtP|oTl014Ez1ut zYJ5`EAGA01aHbBqaQrDinhv7Q{%AOjqNJ@%N7pr0edh^v@2(NUt;j#=pOnV9D(54h ztNRH4Z%(*0FY?kOQsANE*p8f;wlM2xyCZtH2 zPijt6q7jAAkq$(nkk>XqNkR?HBZFW87e3n2rihRzhhnl)g_mlN7S1Fi1b!Sj4x z-+)F)uk|K+QSiMs;D2kghJah9-3w`A%RcN8WS{q=t49hL=mJpnE}0j!G#Q7I60(!1 z(8-&NA{<}oef~KPQHL$?wRm56M0}_;XW4`%37xT#Pa3dkFs~R@ZH0yi(tau}?J<|A`R5EI8tZy@~)U^E6)!!2p>Uawv_OIfE;ia~FLe zJ6|C+s-1>8tV= ztXNnAzY!{ggFd$($jXb2K&lD*Jl@uS1)EmN9lOwCspS&EGff zDO=9NA3ASq^XDzr1xx?QD>tWk#A*!rod1{FU=K@RnBSt)Q-g?%lKQL!c(y4_ti_tH zI9>Kx1@FB#?$75nP~0x}H8$ji*Fw!|+u>YrG(AnH!Z-~I^Ly-NjLHXxpx(rG`X z$YHP~`@t`zWB-V)X_7RJeu#4$u5eCbb8#9Cyl#m?OpqX;UjwePBVf0Tq@|NOUhAcg zj@e(U=`OY5^l5LvO&Rk#c?oxx!_4iiPwWHHpk;JWzQA+Lczn^BtpIO`MG0U~XFS#2 zV0pGX+web}c%2;lSM)@nRGge)1-xd3yejUHuA`DbrWjB%-#OCQf3Ygm)=C{pF{!~+ zB~q=D!~7x6$FOxxFlLE1D*!7OiZ(0}Qibz+!u>t*GFC5KV>qS)gii^ta!i#@XvHm6 zRoiccF_f%fgfLrJ3x_!iJ9JYg6>f4UxDf9BAkwEe8^Qohu7adkq(q;=0Hzlc6cDgm zQP>0F6=;mkRf z|7`&Im&i5PbMy9%9#QLvg&7nh@)xVdSOIsqCd6HRhC6W%FCO}f!gXaEGIxTDyUMpQMY-e=paTv z;zCh~3WfBc=9P#$szB=PpfTuwL=By7>@mwy&j7M+PhocP?R=ccitBwpFixGB>e+{$`;W>ZASmI4@b- z7Q#lb0Tu947Y|!loOLi`L}#fBR<*`SYR| zCcCdEp~$1zzW3$@_*#;r(x5i(f>vWY%ZG`^P^uO`LzAE*)@th&qg-kDs8{n$c$i{* z9wG{7SVsEpal&Js$CfrW?*v>n5I$QUa=UCLY2RyU(vjJAPnWH3^F6AfGJJ{&XSK=n8RKqEMF`5sN5};7+eIinno1cO zu6l+NcSqshWM4xowOgUV5F#k?frut$b*)}A$pvL)c-f&4uD>=W7I{&84oM-{thp%< zq7cTN-2M(3(jWmUo1n(uxH~ubw{;8mZaP_Oql~<7ZyS(Atk6n$b38HPCrCtz9r5ti z1~H*>y*s&L8ph^Jg|L84p8%#a7RSFaA{2>$=+_{)xb$>->guZKv^gTo{Kp4s6RFwI zfX|~Uz=jKXMh;=J*i;6_SJbT#RUQQGw0yJ_5T8Zh2jQX+))x83=8T zIMsm6W)3Wfq)eenff-7YSO-}7SOqF|vDhmd4F1bQhRv*7=_D@P$%%(%SG^h=P7%7i z^zpSg$W?N1qh&`Mx)u&~W219}xZbDizxJrdSsvumXsbkZat!lFQBB8^!kbvHlEWDR zo+#vzDg~nq(R-h)ziKJ&qoR+G3Ki5?e}!2*3k9DqWz3oGtgG|>unwXOgM5^OFR)-x zOs?}iGS^137TV)tov@P;_|T> zv7PKy9;8b^FGWrp9QVrVp$YhEK2vxZ00SjRYM!ZsWd}irvj~kp6bb z4~eBY{RJnu%qjWV|FfTq5T4#WY3($Dc?m2Wpz*f3`@NOxv!m(MZ>Fxbq8Wh+SU~~F z)x^H4Wo{2X{60wj>R^k`Ct}evb%w4djUhxm!+LSCsrYGXuERLap(IM2i3Wx0ydfjH z^Na>OivcyDitL+alGIaZl3(#WLo0mq1l>D7)jSJ z@9rTHom7p}et!0ihg*YKCHRC$!mVRG08(ECX(YVG0?hL5n|H<9<;O?~LB(Ou305M7 z2}L4dxAIM--jp~r1f1W}iu+b$snt3vt*O05&Y{3ho`OAJ_FYVm#dSo{O#Y^Yz9$AbBgO%6aByc?28N*s_FxvjRb$M z7z{tei{HhR*XVA*HQrK*4eU{F+YXkA-Ewzxm`LR_Y|iN$rd^t6>1>eUX8A1f&?& zAg?f|^6BD~;xYUYngNQ=vI}e1p*it~uV22Erj96RT(RR;f)^5kl0sp&F5bwdA@mVr zqhc%zI^I+gHPT8_lUUA#(-U}oCUw|o#^%F@0uXL7Jcz4<2Lrdk?Xzyf2b!Y=ckud2 z%1lQdT|JyW1AOItVw!S4w^h3d5FqV=1@3ltzK5OQ|KJ?`rdOvqxKQ}ZLCD#rOH9jQ z2)nw}ABYtu5BM(vu0ux=mmM`_XvA|ImJAvkrMPqrR82^+aaY@6&gB%-ZDW60+w(_= zz>QwlV8d4O+7IEXaR(D`~ikn-C0^lcRF@)YvgTP+Y<=?`L)wM=gz z%Kha6QUh~y0Oz{{Y%Wdf`y)JM-4Yi3#tFHC>QS!0pZQ4*(6sz}NhSyew~y2zoZ%3r zrurfUlPo~4dYaB-Au#!jZ-IQO(su2AmsfLK*JZJ##`0yA(J%S)fz*%D`+P_9xwDIZ=7a%-PtJQjANj^RW^lpZn$ma(zBcHDhsUaDw`{5~r=$V)iaJX+ zO5p1SLQP)piJuM1h*hrc_ma2n*5T!!b&`Vd8^tG?h2Nv2)wN^gHMN-6L94s;v&A%H zG5`6N%OBmYcyco(;#cD!J8nuRuhW5|y}XWwzvY=db5@q?oK59~6oY*Lsd~EA>swXC;AVpNw=@17$d-r5p+co_Uwb>sdDS8wxvdWw>Q~l8YiGWv? zRUbFE7djg^(@NLy9k6XOJvM6jTyRygBCeJX7nkeDG=e<$1a<+2=`m^!pMYB@Nm$ZnlG>6owirK}ic9RkVZ zHCqnDQkR_jqyO#t3_ZcLYadl*#_~o~&O@Ol?lvUIa(@TMhVwPW;j+hqBjkxwYkgN* zV?ACS$GFB2SAzOZoJiFg?`jjo6QH?$h!!#{Q!uH3%)`JyU^ggb`h7|JzW1<06$nF` zDA4nl{{vB#(APozHpHFtt;^^KjRZ4~8oE;FbaO(^=e;-QI6j)vX51%>N?FueR^Nfk z(7!I9&uwQXrw328vdUt+Q{~-#aSPTVJxn+f(Og(lwtyfaycO4Ydds{sT#%F}_JJ93 zv+EDF z3v-Mmmmg!S&*kxxmoqjBbI=@iCaqJURaSqhP-TP$ii@i`;t0L^t`@5Ua{Wr6%w3dJ z5X{PwQw5m3A1@?h+aZ8|r$nInh;YI|i;(Z3orZ;|s|==Sc60mA3Xd(>GIloE@Inl* z>xhPWpj1r}OMcRDTrK=nwX3V{1@$)a6KTTxj^qBPaQJ}9b>pPSI98r~x1{}^HebURPEU2BC?k&Hp0)Zr?t|TdwVM!61 z1?ijmcpgDAtOZiR8l<_Lg!^mAnZ@6I$3`dfiI7j`bg0|d!sjoW!%WX5_zbj7_O1RJ zV9voHwJxPUn?cl9Pw?~pbu0>-Ew{F2gJ9xzT>I^;rphdM>W>T0{CJQt7ao^*8&~^q z8|_-!7W>JADzRG|dkcl*rtisQ^l5)o;nznpTEDIg6fTnmJL=V+hY5$~&il|a35Cok zJKm1F)yS{DO;#zjb_$Tw4E0^KMt*Ql4!BrzaRpEZ(3)~w~v%{xm zGjjvKi~{X2#I%JfOSG%$&-;%9MXje)Nu_xz)=QtYZk3zb`?5; z4Yw_;!>PqJJ(pDE3qdSYkC&MvCHCkKTsHlYmc)}`)G^Uy196$G+uA<=Ac)>driL7! zm~m*yM4Bog>9qZyu4a36EzyD>ZOK6xKd=GnMM`jd(4YDXsNPv`1*{iC4jp>0W0B-5 zJx+LN;zsw&$Vpf{Fid_gGTIt75||*o8TniLA2y4HZwA{xa;aJ5HZdm_f=>KYxDyny#HLU=mgfzOMF4HoEKVKKA>JMa<#URDgyA zQ^Dv6i?0tEJ<o|v*m)sQf zK()QT@{0hxe|v&iZKo@U8ecbf%|C8&9q3OMV&%^`R2HT)Dnb$WqgQG`#tR z_=8E^F-9lN=98`aUgI9=gH<|?{!t}y0F@?Z(H@lcq^hG$`UWB6s+&T zvXfRiO>_Bqr9|UoitnG7xQ&zWcuu#{9znpyIxW|uS?;U_?gk(P7pS-&FnNZu0eM2y zzb;WQGkqyS@ovb0LgrH~oQZ#S^f+d_;&&iskBm4dmn|W={3{@q5C#QE!f~^F7!DA3YId6VjJy^zZh- zLkTDZzXn}p@S5c>T9H>(P@&nbfPC7`JK8cmt6EYuJ;Qo^W>v})-UIS{BA99^e<`9sm!5qpjPr(bvp-;WgLKnaE)8(o7SU#$?lWVdrXd8p<&3Y z&K!J|i$8OtPkn?=LtcOn?>Z1enSsJ8m{1X=sGw`~szwbG4d6xdT7qPO*i zCwsm7W}mz&9LY;Gz9FaIEtb%ov>wmTR-_n^qr)`rk^(FQ{)W_xXfG zV_h4Va%7*!*L~A|Z8jCs?66}!0ii|Lnt%KY;qE1g!St)H#G5qJp7QjlNbzmYhW8&yb^+)G49(!BAXi(M#0d6pOo5xUJF=$D`6a=(eBa+vPxHe7(F>=w>^^DQIelokO ztIiyLRk5&Nhku={VG+%*gTc)Y$WUnY1e*IITLEm@JjGzvbS3z?^*n4u&UzT&cOMoAZK@Ent&t- z&Y{{pxK}9)j#+hbLqUrz(Vs$w7O{~n8Ch%Dj9IS@Sk*@daGxGiw%lfP2ZaS^s% zNT18&W(wC8XB{Dj2?5p?;ahwkY%1{eL^nhai;)65E(|GahE5;Vc~C%y)0smEeaK?@ z0sI2ns4#Oopy>^ZkM3K;)#~V1*OxBCrsSd_3s2Zuss>LEUDMyiIP~|e`;NG0SRrt| zfaH4~Y=FnZ{H||2d*WxGKBQEi>k*kDtpwLY7nXlGhlVDTiAK)LBMpfC4LTRZzEc^# z=JTqY1cy8Ef|)5^W9VO$_3`BGBH*Vv=P?Re+s^Nky92-ZhkHlP=AK%sn{xQ6`it8u zKe@WSj&w79j9(qYi~!MRx(qL3(%0(u<-=P7z2FP<6`gKGx?RzGp9 z=$645->%rs2#{+qHD_jYwP*@RoK!}O>FJ;EFV%0B8=Jx9zCK%GqKUS4QRG?adrR_J z96vqknOx+A&~2N<%_t;YxBT`NT%BGjzdL#dez?#g3qm#KAziNzg9(Tflczd2dMh($ zI&EMAdT7Ns?p#yuCm_U6rrwRhvBWM%*~hj5Cmsq5=!2fOh(s2DGoZa{h$?zMU?Np1P|&f=#|H*Q4osp$?Np5824UsjhKR7;eM?y$INl@6vdj81AUq`j zfF%P1|9^VyZ{Ha-L6DdPuv?dT{+9aPKE1_*a+KD&!F8yV z+n9k-2d0^H+sbh$vl!=^^7i42X&&%IGxc}Z-_*3YG7Q{VdE zBYbx{`e29n03!8HFB1*KSMPzwtL#qd%Z!~nAxV%)KB4uepu|aSZoe6AkR7Pht!G(~ zX8EOQf!MJ!$<73iF>baJ8dLS~E)wq{&6+OTk)0tz`TEAp7CI_*W7|!x#`dPV-?pk9 z(qkhK@(JoxT=W+mFY7L*_1HcSSNu+g(NA5ij>rZH*2L3IbN;@e!BuZ^Vln(r z!BaS{3Sq7qPVJzapQ8Mf#$h7OMKF^bVM`NOnSwRDRX(}EC5l*Ii%U>P%|}BIXFN?L z+kfh7QaA5VC&xfflOThsz@f|1V7r}X&UaoRtcHZBA z9KE08P$;JN*!csC0e#UvQoWHwAAr{>k#R-LHqA?7uC|y-r$tF7Lt{i`4R7H{>;l;&W~9<3iwk4zKc$#9iLhI&DA<7jwP# zK-?cwU{qO2j9DlJ6A?tR+8@d(2poWEukyMB3SXHbj8)4+Pe1E=Si5N9y_i2)17P&* zuS(|5zhegeeLu~BD|m0)!Dt6!8*NvpnKxYxy$}81 zSf6pU*)EKdKtb;Hu5n8ZWNiMy_IOna-tq6&<-y_C8}#NalSB?g)8RX1s2AxUw2Ma} zhGt*U_mq-!_E_=u#*pa9lw4`)Sruk=WWmigQ*nqKkg65Y-G>gt`;Z0E%E7V+T0#rJTVzunZ%-RjvJg^e{|ZKIsmy<$()2f z-)8t*^$>XMh^?amH@D_674`4%kyMv=`Rj~#K! zpT#wG-%hH)Z!|IhLE%|VTU!NFEdzJC-`Q2>bOItBz8L9MPrVhB2CVoy;Sy-aM<)DQ zyBX$Y7Q#@7SRI*~gceiC0*H_bnCQ#U(B~%$fx;c}uD#;T)Ol?osdoz6I}$KC?f1$o zBhq0fht9;9y(Th^>{ThKvW;(Jf&mZ|3gL7Sn=g%Rwj&y7IjKUPV(;?899a5nKZ|BmY1pKkPw zCn}Ql3!x~~ja@PXWCZr4BqVY6OnkNG9R9kqI*U-&&}c5`@uEmP_{}Kai!E^1uYQ)N zOFz%fbjM^%)W}(7P;WkvLHl3tWeV{dfx2$JPA~`4^Wu@iRcoWy5OWGInjLe6kJ*+& zM!u6^MPw|s@4*$ZIIGXA_-3F(@e?J}^|a772)&neRE^g4D$+nA?7s1(f2xXHhZM+v z680S(C~iID*yMOw5AA*UxxOlUVQY8&>I=*P;RYtx;T*?hx5A4Sr6@S1iBLK|Jtx7Y zH+=kO9)i#~FBS{>dcrKT!rYK|@WxuM=2P6FTl8c-`y>fGLUQMk=? zwLdVbn%G9u!wG>*p&N6^*uJC3VsRBY74%v8c6pP2w^^L1Nq`NeMJcZrvm8*iPKyeC zn9^dFGh}|(6rgb?fD7jB*|l~QHhyH+@58=Wss?h95C6GKnSQDbDuX-?FrOf{4O{6e$ApaMPlFqK{Q_>sgv9N;{VM(cts5%UZ{u zO0LeWvbb8|>@Avkxl9qfIlV~BG2`4*c3-?691*Pz)N~HbURaE8RE{9% zlH-tE^Z$8|kpbt0p(|USUYdlMF^hg86R={2=n;y4vk-GAQb>~}vMaN(9AI#k zm>ApjxEv|V(#F?b?bI)KhE`H%3;6RhuHPzn!bB7f;e^e z9wspzxy6wVB2Ud!d7=38h1Mc|xGkLJe?6vFwD6?V+TE-+zPIHwB^Ee`o>;gLM;>kb zhLf~4{vgGi?|e5A+I2P9X2$)H%1IGu#$^z+9N}+_+HHTN>gRvu8RQS{5vNJ{YaC0& zOIu(G`al`4Vf_3!)U}p?A288*9wQ|K1e6yYAMbiK47e9=W*txiL*AM(QN1n_BI0Pt zP8z5yu?i`xvz)+{CF{*EF1cK|3hvc;e+HL(0teWch1qG{K9alBWt-vVk+T0WEV}mG z{&=E(IOjah{+XJ^`cVuz6{QE58dKBI0P(R7$^o*K++|e@6v)~Xj@Ez@Z0P&KbUtqX z{JPliwoN|3hrGVJ>$+;|INF4zFH*9kY+Tn-69RTZ_{}gFfN5%N9A#>6I$7!@E7xI| zf?cu;&$;ni6%{`@7b*f2jLwKEU)OY98|FYIx9G{GyJM(+4#&}$xkM=J=rvwPlqc3`qu48Y%CD&3ebK-z5ZG-(0Y&beh>0R16ckKyV10NCUU z{AE($hP~sy9?T}4zZ+R`A#aUK$tr#Ifcch27yH#erbKT#Wg1&q8&SW|N7cM+GNR z&rS_!t%Q1Yz3SVMS3rx+3R7|t9Ijc1g(NnVVZ3dw{-i>y@gy@&np*NcOSA@J5qjl% zzbxl=$g8*|_su<=F#$zFZILAb7*Y@zHsWJ4Fj*KOsU^ zM1Y{+>nL%vU2jB^jE{Z_ffNH$U}Mej;IV&{BfcP->hZ1Bl`Dx47li^Qr-wR5>RckG zmnzzp5;ts>LxZDP>@X?WXnJ|>*^0%l3Pn*S3g5Jvvpp*s!89r8Ho5}km3hC`h<#7- zaudUZ2#T|nhX!S+fE+mSE!A;?yJ^u7n(J<3p-2wKj{fVu@jjG*Iwo1fu|rW3a89Dl zkc0vWv{Umbeul7KKiZeiQIX%APjsb9JSS8Ssc}k{gdUO-{0yiK}8fpmb=mMf%pQyMnPLE++7HSYLz%fGOyNj83geSr_lv+xv2x zlk3qtZp#EnP`A>oW?FAJL>-1?&jn2d9D7qNPCNpdo?E3B zJb+z>>m4UJ9#(i?LfHvOm}te*@~81y`B9P^x18zQ+XFkvJ&{g|JQfe2q+zN8Nu<|+ z3uz-u&wJ2x)#BnJr=`3}Z_MSi?bZp#5!>J1YI!9r9$D+fN2|_*&xfzccX)iLrRCjZ z#NOaqs{T*z_qcLr_4au>e}uBCqx|vjEFr*Z+LQxK-Cn-d-LtU(=^|%|p}pF5gb*Pr zhX=GhFRPA&dgj+45g89H2$MXVl`cfv4N-N++h)cR=KFn7C$3`&wklHbFnk5j4w%R< zoM7M&A=2{TlG0IS7hE_X>g1}r6#~%4ETL&yBKezWRcYB?ZjszlIxlzOi!<2J1vs&_ zQNLYAozr-k;#Z&0kh$>eW)2U~0D&CH`ec2HnDYMH1Dl)8*&-eDDer5TtLyNw7`7eA zG^p*#D&JF{?U{gF2BfpV7RX6y^1mU9?RmFGmN;=ErX{xCv;JW~0|f9Im#^yftnqok z(2z{Ucn^dfH|rB+?W$*KOssh$8eU%gbZ8(6h3Mg1fG2sPtz{9?)IwlPQ{o3JJ92Cy+QA zne_AZGQ69wN4ZN2oMq0S27@ZW zl`037`Ti26@6Yvzo=XgK-0%2@gqZIP*mT(uX`?s4b?u2bntO~qr%#7m znh+fvQKC+EB3DyNNtfIG=)y-5H4zH1DS^r_d{@OXeAsf6(B>N1Aplu4P(Czl`&Ouu zGV(h(xGzC(KFRN&U)ZA86-g?NJb2d_soRkgIc%CdXBL?41q}!`;hiFoUVShsKkd?# zvv4jR2uk!39ifO)z!G4FIZdKz4ZPhHY&LFJzzGaAK*`y#()~+n zK`tJ2p6;(cEf+KEPG~>W@vn+uk)#1SNH0KOaVH>Zd@ZPK;KM&2nOlK&AW$w)E= zl5`F3FGk{Bm>|RhUZ^6(mv&*ia|fKRy6YiPGzPhQXG6KSxubrg+?(RsL^2ap=qNG= zh9((!&p%M6obN)E6gUeoEeu9eu*^1&Vsl@>$6M83s% z9}ZRzA617#7b$|zv5dLo`Pt(hZlW`yzFNFo>`EAu!&6wY`-3&TBgl}u!?E0fa3w3% z1~|^yL#b49`s0xF26>9_%{rI$)7tFWbV8i9c%oF#x3!(Crc!&(tPCYxmIezbDZZ|+ zT*zT{Yq{0^vj6sicB%5!BkXd6smUBhqc8T8yoibItntJk|B4iXc*dP9uIh9a9Si7V zV*$&=6v6s{%j3Ci&4BgiU0}&>3bZHXV_1h8E}jg?AyGVCwb0R|=aqZEn`Gi&^NpZE z^f%;a1W7cn$Df_BdOuaArSe1(F+`u9M14g`Y4Be;{PvHV2Vis1Wm6fCDRs4LX@Mo> zdgp;{;>w;%qt1UCPr_et3Ve{!Y$yX7-ANF7WMm6jP$Ci)?)`)uVOf!pSFpeINJ&U^ zOps8J#vjK;J)UaRsqz5yQa$2bqkT3;+NC diff --git a/node_modules/@actions/http-client/auth.d.ts b/node_modules/@actions/http-client/auth.d.ts deleted file mode 100644 index 1094189c..00000000 --- a/node_modules/@actions/http-client/auth.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import ifm = require('./interfaces'); -export declare class BasicCredentialHandler implements ifm.IRequestHandler { - username: string; - password: string; - constructor(username: string, password: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} -export declare class BearerCredentialHandler implements ifm.IRequestHandler { - token: string; - constructor(token: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} -export declare class PersonalAccessTokenCredentialHandler implements ifm.IRequestHandler { - token: string; - constructor(token: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} diff --git a/node_modules/@actions/http-client/auth.js b/node_modules/@actions/http-client/auth.js deleted file mode 100644 index 67a58aa7..00000000 --- a/node_modules/@actions/http-client/auth.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -class BasicCredentialHandler { - constructor(username, password) { - this.username = username; - this.password = password; - } - prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + - Buffer.from(this.username + ':' + this.password).toString('base64'); - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.BasicCredentialHandler = BasicCredentialHandler; -class BearerCredentialHandler { - constructor(token) { - this.token = token; - } - // currently implements pre-authorization - // TODO: support preAuth = false where it hooks on 401 - prepareRequest(options) { - options.headers['Authorization'] = 'Bearer ' + this.token; - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.BearerCredentialHandler = BearerCredentialHandler; -class PersonalAccessTokenCredentialHandler { - constructor(token) { - this.token = token; - } - // currently implements pre-authorization - // TODO: support preAuth = false where it hooks on 401 - prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64'); - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; diff --git a/node_modules/@actions/http-client/index.js b/node_modules/@actions/http-client/index.js deleted file mode 100644 index 43b2b103..00000000 --- a/node_modules/@actions/http-client/index.js +++ /dev/null @@ -1,537 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const http = require("http"); -const https = require("https"); -const pm = require("./proxy"); -let tunnel; -var HttpCodes; -(function (HttpCodes) { - HttpCodes[HttpCodes["OK"] = 200] = "OK"; - HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; - HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; - HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; - HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; - HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; - HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; - HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; - HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; - HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; - HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; - HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; - HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; - HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; - HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; - HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; - HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; - HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; - HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; - HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; - HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; - HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; - HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; - HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; - HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; - HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; - HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; -})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); -var Headers; -(function (Headers) { - Headers["Accept"] = "accept"; - Headers["ContentType"] = "content-type"; -})(Headers = exports.Headers || (exports.Headers = {})); -var MediaTypes; -(function (MediaTypes) { - MediaTypes["ApplicationJson"] = "application/json"; -})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); -/** - * Returns the proxy URL, depending upon the supplied url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ -function getProxyUrl(serverUrl) { - let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); - return proxyUrl ? proxyUrl.href : ''; -} -exports.getProxyUrl = getProxyUrl; -const HttpRedirectCodes = [ - HttpCodes.MovedPermanently, - HttpCodes.ResourceMoved, - HttpCodes.SeeOther, - HttpCodes.TemporaryRedirect, - HttpCodes.PermanentRedirect -]; -const HttpResponseRetryCodes = [ - HttpCodes.BadGateway, - HttpCodes.ServiceUnavailable, - HttpCodes.GatewayTimeout -]; -const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; -const ExponentialBackoffCeiling = 10; -const ExponentialBackoffTimeSlice = 5; -class HttpClientError extends Error { - constructor(message, statusCode) { - super(message); - this.name = 'HttpClientError'; - this.statusCode = statusCode; - Object.setPrototypeOf(this, HttpClientError.prototype); - } -} -exports.HttpClientError = HttpClientError; -class HttpClientResponse { - constructor(message) { - this.message = message; - } - readBody() { - return new Promise(async (resolve, reject) => { - let output = Buffer.alloc(0); - this.message.on('data', (chunk) => { - output = Buffer.concat([output, chunk]); - }); - this.message.on('end', () => { - resolve(output.toString()); - }); - }); - } -} -exports.HttpClientResponse = HttpClientResponse; -function isHttps(requestUrl) { - let parsedUrl = new URL(requestUrl); - return parsedUrl.protocol === 'https:'; -} -exports.isHttps = isHttps; -class HttpClient { - constructor(userAgent, handlers, requestOptions) { - this._ignoreSslError = false; - this._allowRedirects = true; - this._allowRedirectDowngrade = false; - this._maxRedirects = 50; - this._allowRetries = false; - this._maxRetries = 1; - this._keepAlive = false; - this._disposed = false; - this.userAgent = userAgent; - this.handlers = handlers || []; - this.requestOptions = requestOptions; - if (requestOptions) { - if (requestOptions.ignoreSslError != null) { - this._ignoreSslError = requestOptions.ignoreSslError; - } - this._socketTimeout = requestOptions.socketTimeout; - if (requestOptions.allowRedirects != null) { - this._allowRedirects = requestOptions.allowRedirects; - } - if (requestOptions.allowRedirectDowngrade != null) { - this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; - } - if (requestOptions.maxRedirects != null) { - this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); - } - if (requestOptions.keepAlive != null) { - this._keepAlive = requestOptions.keepAlive; - } - if (requestOptions.allowRetries != null) { - this._allowRetries = requestOptions.allowRetries; - } - if (requestOptions.maxRetries != null) { - this._maxRetries = requestOptions.maxRetries; - } - } - } - options(requestUrl, additionalHeaders) { - return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); - } - get(requestUrl, additionalHeaders) { - return this.request('GET', requestUrl, null, additionalHeaders || {}); - } - del(requestUrl, additionalHeaders) { - return this.request('DELETE', requestUrl, null, additionalHeaders || {}); - } - post(requestUrl, data, additionalHeaders) { - return this.request('POST', requestUrl, data, additionalHeaders || {}); - } - patch(requestUrl, data, additionalHeaders) { - return this.request('PATCH', requestUrl, data, additionalHeaders || {}); - } - put(requestUrl, data, additionalHeaders) { - return this.request('PUT', requestUrl, data, additionalHeaders || {}); - } - head(requestUrl, additionalHeaders) { - return this.request('HEAD', requestUrl, null, additionalHeaders || {}); - } - sendStream(verb, requestUrl, stream, additionalHeaders) { - return this.request(verb, requestUrl, stream, additionalHeaders); - } - /** - * Gets a typed object from an endpoint - * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise - */ - async getJson(requestUrl, additionalHeaders = {}) { - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - let res = await this.get(requestUrl, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async postJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.post(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async putJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.put(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async patchJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.patch(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - async request(verb, requestUrl, data, headers) { - if (this._disposed) { - throw new Error('Client has already been disposed.'); - } - let parsedUrl = new URL(requestUrl); - let info = this._prepareRequest(verb, parsedUrl, headers); - // Only perform retries on reads since writes may not be idempotent. - let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 - ? this._maxRetries + 1 - : 1; - let numTries = 0; - let response; - while (numTries < maxTries) { - response = await this.requestRaw(info, data); - // Check if it's an authentication challenge - if (response && - response.message && - response.message.statusCode === HttpCodes.Unauthorized) { - let authenticationHandler; - for (let i = 0; i < this.handlers.length; i++) { - if (this.handlers[i].canHandleAuthentication(response)) { - authenticationHandler = this.handlers[i]; - break; - } - } - if (authenticationHandler) { - return authenticationHandler.handleAuthentication(this, info, data); - } - else { - // We have received an unauthorized response but have no handlers to handle it. - // Let the response return to the caller. - return response; - } - } - let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && - this._allowRedirects && - redirectsRemaining > 0) { - const redirectUrl = response.message.headers['location']; - if (!redirectUrl) { - // if there's no location to redirect to, we won't - break; - } - let parsedRedirectUrl = new URL(redirectUrl); - if (parsedUrl.protocol == 'https:' && - parsedUrl.protocol != parsedRedirectUrl.protocol && - !this._allowRedirectDowngrade) { - throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); - } - // we need to finish reading the response before reassigning response - // which will leak the open socket. - await response.readBody(); - // strip authorization header if redirected to a different hostname - if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { - for (let header in headers) { - // header names are case insensitive - if (header.toLowerCase() === 'authorization') { - delete headers[header]; - } - } - } - // let's make the request with the new redirectUrl - info = this._prepareRequest(verb, parsedRedirectUrl, headers); - response = await this.requestRaw(info, data); - redirectsRemaining--; - } - if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { - // If not a retry code, return immediately instead of retrying - return response; - } - numTries += 1; - if (numTries < maxTries) { - await response.readBody(); - await this._performExponentialBackoff(numTries); - } - } - return response; - } - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose() { - if (this._agent) { - this._agent.destroy(); - } - this._disposed = true; - } - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info, data) { - return new Promise((resolve, reject) => { - let callbackForResult = function (err, res) { - if (err) { - reject(err); - } - resolve(res); - }; - this.requestRawWithCallback(info, data, callbackForResult); - }); - } - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info, data, onResult) { - let socket; - if (typeof data === 'string') { - info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); - } - let callbackCalled = false; - let handleResult = (err, res) => { - if (!callbackCalled) { - callbackCalled = true; - onResult(err, res); - } - }; - let req = info.httpModule.request(info.options, (msg) => { - let res = new HttpClientResponse(msg); - handleResult(null, res); - }); - req.on('socket', sock => { - socket = sock; - }); - // If we ever get disconnected, we want the socket to timeout eventually - req.setTimeout(this._socketTimeout || 3 * 60000, () => { - if (socket) { - socket.end(); - } - handleResult(new Error('Request timeout: ' + info.options.path), null); - }); - req.on('error', function (err) { - // err has statusCode property - // res should have headers - handleResult(err, null); - }); - if (data && typeof data === 'string') { - req.write(data, 'utf8'); - } - if (data && typeof data !== 'string') { - data.on('close', function () { - req.end(); - }); - data.pipe(req); - } - else { - req.end(); - } - } - /** - * Gets an http agent. This function is useful when you need an http agent that handles - * routing through a proxy server - depending upon the url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ - getAgent(serverUrl) { - let parsedUrl = new URL(serverUrl); - return this._getAgent(parsedUrl); - } - _prepareRequest(method, requestUrl, headers) { - const info = {}; - info.parsedUrl = requestUrl; - const usingSsl = info.parsedUrl.protocol === 'https:'; - info.httpModule = usingSsl ? https : http; - const defaultPort = usingSsl ? 443 : 80; - info.options = {}; - info.options.host = info.parsedUrl.hostname; - info.options.port = info.parsedUrl.port - ? parseInt(info.parsedUrl.port) - : defaultPort; - info.options.path = - (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); - info.options.method = method; - info.options.headers = this._mergeHeaders(headers); - if (this.userAgent != null) { - info.options.headers['user-agent'] = this.userAgent; - } - info.options.agent = this._getAgent(info.parsedUrl); - // gives handlers an opportunity to participate - if (this.handlers) { - this.handlers.forEach(handler => { - handler.prepareRequest(info.options); - }); - } - return info; - } - _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - if (this.requestOptions && this.requestOptions.headers) { - return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); - } - return lowercaseKeys(headers || {}); - } - _getExistingOrDefaultHeader(additionalHeaders, header, _default) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - let clientHeader; - if (this.requestOptions && this.requestOptions.headers) { - clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; - } - return additionalHeaders[header] || clientHeader || _default; - } - _getAgent(parsedUrl) { - let agent; - let proxyUrl = pm.getProxyUrl(parsedUrl); - let useProxy = proxyUrl && proxyUrl.hostname; - if (this._keepAlive && useProxy) { - agent = this._proxyAgent; - } - if (this._keepAlive && !useProxy) { - agent = this._agent; - } - // if agent is already assigned use that agent. - if (!!agent) { - return agent; - } - const usingSsl = parsedUrl.protocol === 'https:'; - let maxSockets = 100; - if (!!this.requestOptions) { - maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; - } - if (useProxy) { - // If using proxy, need tunnel - if (!tunnel) { - tunnel = require('tunnel'); - } - const agentOptions = { - maxSockets: maxSockets, - keepAlive: this._keepAlive, - proxy: { - ...((proxyUrl.username || proxyUrl.password) && { - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` - }), - host: proxyUrl.hostname, - port: proxyUrl.port - } - }; - let tunnelAgent; - const overHttps = proxyUrl.protocol === 'https:'; - if (usingSsl) { - tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; - } - else { - tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; - } - agent = tunnelAgent(agentOptions); - this._proxyAgent = agent; - } - // if reusing agent across request and tunneling agent isn't assigned create a new agent - if (this._keepAlive && !agent) { - const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; - agent = usingSsl ? new https.Agent(options) : new http.Agent(options); - this._agent = agent; - } - // if not using private agent and tunnel agent isn't setup then use global agent - if (!agent) { - agent = usingSsl ? https.globalAgent : http.globalAgent; - } - if (usingSsl && this._ignoreSslError) { - // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process - // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options - // we have to cast it to any and change it directly - agent.options = Object.assign(agent.options || {}, { - rejectUnauthorized: false - }); - } - return agent; - } - _performExponentialBackoff(retryNumber) { - retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise(resolve => setTimeout(() => resolve(), ms)); - } - static dateTimeDeserializer(key, value) { - if (typeof value === 'string') { - let a = new Date(value); - if (!isNaN(a.valueOf())) { - return a; - } - } - return value; - } - async _processResponse(res, options) { - return new Promise(async (resolve, reject) => { - const statusCode = res.message.statusCode; - const response = { - statusCode: statusCode, - result: null, - headers: {} - }; - // not found leads to null obj returned - if (statusCode == HttpCodes.NotFound) { - resolve(response); - } - let obj; - let contents; - // get the result from the body - try { - contents = await res.readBody(); - if (contents && contents.length > 0) { - if (options && options.deserializeDates) { - obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); - } - else { - obj = JSON.parse(contents); - } - response.result = obj; - } - response.headers = res.message.headers; - } - catch (err) { - // Invalid resource (contents not json); leaving result obj null - } - // note that 3xx redirects are handled by the http layer. - if (statusCode > 299) { - let msg; - // if exception/error in body, attempt to get better error - if (obj && obj.message) { - msg = obj.message; - } - else if (contents && contents.length > 0) { - // it may be the case that the exception is in the body message as string - msg = contents; - } - else { - msg = 'Failed request: (' + statusCode + ')'; - } - let err = new HttpClientError(msg, statusCode); - err.result = response.result; - reject(err); - } - else { - resolve(response); - } - }); - } -} -exports.HttpClient = HttpClient; diff --git a/node_modules/@actions/http-client/interfaces.d.ts b/node_modules/@actions/http-client/interfaces.d.ts deleted file mode 100644 index 78bd85b3..00000000 --- a/node_modules/@actions/http-client/interfaces.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/// -import http = require('http'); -export interface IHeaders { - [key: string]: any; -} -export interface IHttpClient { - options(requestUrl: string, additionalHeaders?: IHeaders): Promise; - get(requestUrl: string, additionalHeaders?: IHeaders): Promise; - del(requestUrl: string, additionalHeaders?: IHeaders): Promise; - post(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - patch(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - put(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: IHeaders): Promise; - request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: IHeaders): Promise; - requestRaw(info: IRequestInfo, data: string | NodeJS.ReadableStream): Promise; - requestRawWithCallback(info: IRequestInfo, data: string | NodeJS.ReadableStream, onResult: (err: any, res: IHttpClientResponse) => void): void; -} -export interface IRequestHandler { - prepareRequest(options: http.RequestOptions): void; - canHandleAuthentication(response: IHttpClientResponse): boolean; - handleAuthentication(httpClient: IHttpClient, requestInfo: IRequestInfo, objs: any): Promise; -} -export interface IHttpClientResponse { - message: http.IncomingMessage; - readBody(): Promise; -} -export interface IRequestInfo { - options: http.RequestOptions; - parsedUrl: URL; - httpModule: any; -} -export interface IRequestOptions { - headers?: IHeaders; - socketTimeout?: number; - ignoreSslError?: boolean; - allowRedirects?: boolean; - allowRedirectDowngrade?: boolean; - maxRedirects?: number; - maxSockets?: number; - keepAlive?: boolean; - deserializeDates?: boolean; - allowRetries?: boolean; - maxRetries?: number; -} -export interface ITypedResponse { - statusCode: number; - result: T | null; - headers: Object; -} diff --git a/node_modules/@actions/http-client/lib/auth.d.ts b/node_modules/@actions/http-client/lib/auth.d.ts new file mode 100644 index 00000000..8cc9fc3d --- /dev/null +++ b/node_modules/@actions/http-client/lib/auth.d.ts @@ -0,0 +1,26 @@ +/// +import * as http from 'http'; +import * as ifm from './interfaces'; +import { HttpClientResponse } from './index'; +export declare class BasicCredentialHandler implements ifm.RequestHandler { + username: string; + password: string; + constructor(username: string, password: string); + prepareRequest(options: http.RequestOptions): void; + canHandleAuthentication(): boolean; + handleAuthentication(): Promise; +} +export declare class BearerCredentialHandler implements ifm.RequestHandler { + token: string; + constructor(token: string); + prepareRequest(options: http.RequestOptions): void; + canHandleAuthentication(): boolean; + handleAuthentication(): Promise; +} +export declare class PersonalAccessTokenCredentialHandler implements ifm.RequestHandler { + token: string; + constructor(token: string); + prepareRequest(options: http.RequestOptions): void; + canHandleAuthentication(): boolean; + handleAuthentication(): Promise; +} diff --git a/node_modules/@actions/http-client/lib/auth.js b/node_modules/@actions/http-client/lib/auth.js new file mode 100644 index 00000000..2c150a3d --- /dev/null +++ b/node_modules/@actions/http-client/lib/auth.js @@ -0,0 +1,81 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0; +class BasicCredentialHandler { + constructor(username, password) { + this.username = username; + this.password = password; + } + prepareRequest(options) { + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); + } +} +exports.BasicCredentialHandler = BasicCredentialHandler; +class BearerCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Bearer ${this.token}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); + } +} +exports.BearerCredentialHandler = BearerCredentialHandler; +class PersonalAccessTokenCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); + } +} +exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; +//# sourceMappingURL=auth.js.map \ No newline at end of file diff --git a/node_modules/@actions/http-client/lib/auth.js.map b/node_modules/@actions/http-client/lib/auth.js.map new file mode 100644 index 00000000..7d3a18af --- /dev/null +++ b/node_modules/@actions/http-client/lib/auth.js.map @@ -0,0 +1 @@ +{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAa,sBAAsB;IAIjC,YAAY,QAAgB,EAAE,QAAgB;QAC5C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,cAAc,CAAC,OAA4B;QACzC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACpB,MAAM,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC1C;QACD,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACrD,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,CACpC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAA;IACxB,CAAC;IAED,iCAAiC;IACjC,uBAAuB;QACrB,OAAO,KAAK,CAAA;IACd,CAAC;IAEK,oBAAoB;;YACxB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACpC,CAAC;KAAA;CACF;AA1BD,wDA0BC;AAED,MAAa,uBAAuB;IAGlC,YAAY,KAAa;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;IAED,yCAAyC;IACzC,sDAAsD;IACtD,cAAc,CAAC,OAA4B;QACzC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACpB,MAAM,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC1C;QACD,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU,IAAI,CAAC,KAAK,EAAE,CAAA;IAC3D,CAAC;IAED,iCAAiC;IACjC,uBAAuB;QACrB,OAAO,KAAK,CAAA;IACd,CAAC;IAEK,oBAAoB;;YACxB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACpC,CAAC;KAAA;CACF;AAxBD,0DAwBC;AAED,MAAa,oCAAoC;IAI/C,YAAY,KAAa;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;IAED,yCAAyC;IACzC,sDAAsD;IACtD,cAAc,CAAC,OAA4B;QACzC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACpB,MAAM,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC1C;QACD,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACrD,OAAO,IAAI,CAAC,KAAK,EAAE,CACpB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAA;IACxB,CAAC;IAED,iCAAiC;IACjC,uBAAuB;QACrB,OAAO,KAAK,CAAA;IACd,CAAC;IAEK,oBAAoB;;YACxB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACpC,CAAC;KAAA;CACF;AA3BD,oFA2BC"} \ No newline at end of file diff --git a/node_modules/@actions/http-client/index.d.ts b/node_modules/@actions/http-client/lib/index.d.ts similarity index 65% rename from node_modules/@actions/http-client/index.d.ts rename to node_modules/@actions/http-client/lib/index.d.ts index 9583dc72..fe733d14 100644 --- a/node_modules/@actions/http-client/index.d.ts +++ b/node_modules/@actions/http-client/lib/index.d.ts @@ -1,6 +1,6 @@ /// -import http = require('http'); -import ifm = require('./interfaces'); +import * as http from 'http'; +import * as ifm from './interfaces'; export declare enum HttpCodes { OK = 200, MultipleChoices = 300, @@ -47,7 +47,7 @@ export declare class HttpClientError extends Error { statusCode: number; result?: any; } -export declare class HttpClientResponse implements ifm.IHttpClientResponse { +export declare class HttpClientResponse { constructor(message: http.IncomingMessage); message: http.IncomingMessage; readBody(): Promise; @@ -55,8 +55,8 @@ export declare class HttpClientResponse implements ifm.IHttpClientResponse { export declare function isHttps(requestUrl: string): boolean; export declare class HttpClient { userAgent: string | undefined; - handlers: ifm.IRequestHandler[]; - requestOptions: ifm.IRequestOptions; + handlers: ifm.RequestHandler[]; + requestOptions: ifm.RequestOptions | undefined; private _ignoreSslError; private _socketTimeout; private _allowRedirects; @@ -68,29 +68,29 @@ export declare class HttpClient { private _proxyAgent; private _keepAlive; private _disposed; - constructor(userAgent?: string, handlers?: ifm.IRequestHandler[], requestOptions?: ifm.IRequestOptions); - options(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - get(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - del(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - post(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - patch(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - put(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - head(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: ifm.IHeaders): Promise; + constructor(userAgent?: string, handlers?: ifm.RequestHandler[], requestOptions?: ifm.RequestOptions); + options(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + get(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + del(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + post(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + patch(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + put(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + head(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: http.OutgoingHttpHeaders): Promise; /** * Gets a typed object from an endpoint * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise */ - getJson(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise>; - postJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - putJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - patchJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; + getJson(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; + postJson(requestUrl: string, obj: any, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; + putJson(requestUrl: string, obj: any, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; + patchJson(requestUrl: string, obj: any, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; /** * Makes a raw http request. * All other methods such as get, post, patch, and request ultimately call this. * Prefer get, del, post and patch */ - request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: ifm.IHeaders): Promise; + request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream | null, headers?: http.OutgoingHttpHeaders): Promise; /** * Needs to be called if keepAlive is set to true in request options. */ @@ -100,14 +100,14 @@ export declare class HttpClient { * @param info * @param data */ - requestRaw(info: ifm.IRequestInfo, data: string | NodeJS.ReadableStream): Promise; + requestRaw(info: ifm.RequestInfo, data: string | NodeJS.ReadableStream | null): Promise; /** * Raw request with callback. * @param info * @param data * @param onResult */ - requestRawWithCallback(info: ifm.IRequestInfo, data: string | NodeJS.ReadableStream, onResult: (err: any, res: ifm.IHttpClientResponse) => void): void; + requestRawWithCallback(info: ifm.RequestInfo, data: string | NodeJS.ReadableStream | null, onResult: (err?: Error, res?: HttpClientResponse) => void): void; /** * Gets an http agent. This function is useful when you need an http agent that handles * routing through a proxy server - depending upon the url and proxy environment variables. @@ -119,6 +119,5 @@ export declare class HttpClient { private _getExistingOrDefaultHeader; private _getAgent; private _performExponentialBackoff; - private static dateTimeDeserializer; private _processResponse; } diff --git a/node_modules/@actions/http-client/lib/index.js b/node_modules/@actions/http-client/lib/index.js new file mode 100644 index 00000000..a1b7d032 --- /dev/null +++ b/node_modules/@actions/http-client/lib/index.js @@ -0,0 +1,605 @@ +"use strict"; +/* eslint-disable @typescript-eslint/no-explicit-any */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; +const http = __importStar(require("http")); +const https = __importStar(require("https")); +const pm = __importStar(require("./proxy")); +const tunnel = __importStar(require("tunnel")); +var HttpCodes; +(function (HttpCodes) { + HttpCodes[HttpCodes["OK"] = 200] = "OK"; + HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; + HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; + HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; + HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; + HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; + HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; + HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; + HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; + HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; + HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; + HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; + HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; + HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; + HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; + HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; + HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; + HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; + HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; + HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; + HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; + HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; + HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; + HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; + HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; + HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; + HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; +})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); +var Headers; +(function (Headers) { + Headers["Accept"] = "accept"; + Headers["ContentType"] = "content-type"; +})(Headers = exports.Headers || (exports.Headers = {})); +var MediaTypes; +(function (MediaTypes) { + MediaTypes["ApplicationJson"] = "application/json"; +})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); +/** + * Returns the proxy URL, depending upon the supplied url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ +function getProxyUrl(serverUrl) { + const proxyUrl = pm.getProxyUrl(new URL(serverUrl)); + return proxyUrl ? proxyUrl.href : ''; +} +exports.getProxyUrl = getProxyUrl; +const HttpRedirectCodes = [ + HttpCodes.MovedPermanently, + HttpCodes.ResourceMoved, + HttpCodes.SeeOther, + HttpCodes.TemporaryRedirect, + HttpCodes.PermanentRedirect +]; +const HttpResponseRetryCodes = [ + HttpCodes.BadGateway, + HttpCodes.ServiceUnavailable, + HttpCodes.GatewayTimeout +]; +const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; +const ExponentialBackoffCeiling = 10; +const ExponentialBackoffTimeSlice = 5; +class HttpClientError extends Error { + constructor(message, statusCode) { + super(message); + this.name = 'HttpClientError'; + this.statusCode = statusCode; + Object.setPrototypeOf(this, HttpClientError.prototype); + } +} +exports.HttpClientError = HttpClientError; +class HttpClientResponse { + constructor(message) { + this.message = message; + } + readBody() { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () { + let output = Buffer.alloc(0); + this.message.on('data', (chunk) => { + output = Buffer.concat([output, chunk]); + }); + this.message.on('end', () => { + resolve(output.toString()); + }); + })); + }); + } +} +exports.HttpClientResponse = HttpClientResponse; +function isHttps(requestUrl) { + const parsedUrl = new URL(requestUrl); + return parsedUrl.protocol === 'https:'; +} +exports.isHttps = isHttps; +class HttpClient { + constructor(userAgent, handlers, requestOptions) { + this._ignoreSslError = false; + this._allowRedirects = true; + this._allowRedirectDowngrade = false; + this._maxRedirects = 50; + this._allowRetries = false; + this._maxRetries = 1; + this._keepAlive = false; + this._disposed = false; + this.userAgent = userAgent; + this.handlers = handlers || []; + this.requestOptions = requestOptions; + if (requestOptions) { + if (requestOptions.ignoreSslError != null) { + this._ignoreSslError = requestOptions.ignoreSslError; + } + this._socketTimeout = requestOptions.socketTimeout; + if (requestOptions.allowRedirects != null) { + this._allowRedirects = requestOptions.allowRedirects; + } + if (requestOptions.allowRedirectDowngrade != null) { + this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; + } + if (requestOptions.maxRedirects != null) { + this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); + } + if (requestOptions.keepAlive != null) { + this._keepAlive = requestOptions.keepAlive; + } + if (requestOptions.allowRetries != null) { + this._allowRetries = requestOptions.allowRetries; + } + if (requestOptions.maxRetries != null) { + this._maxRetries = requestOptions.maxRetries; + } + } + } + options(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + }); + } + get(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + }); + } + del(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + }); + } + post(requestUrl, data, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + }); + } + patch(requestUrl, data, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + }); + } + put(requestUrl, data, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + }); + } + head(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + }); + } + sendStream(verb, requestUrl, stream, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request(verb, requestUrl, stream, additionalHeaders); + }); + } + /** + * Gets a typed object from an endpoint + * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise + */ + getJson(requestUrl, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + const res = yield this.get(requestUrl, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + postJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.post(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + putJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.put(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + patchJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.patch(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + request(verb, requestUrl, data, headers) { + return __awaiter(this, void 0, void 0, function* () { + if (this._disposed) { + throw new Error('Client has already been disposed.'); + } + const parsedUrl = new URL(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb) + ? this._maxRetries + 1 + : 1; + let numTries = 0; + let response; + do { + response = yield this.requestRaw(info, data); + // Check if it's an authentication challenge + if (response && + response.message && + response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (const handler of this.handlers) { + if (handler.canHandleAuthentication(response)) { + authenticationHandler = handler; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } + } + let redirectsRemaining = this._maxRedirects; + while (response.message.statusCode && + HttpRedirectCodes.includes(response.message.statusCode) && + this._allowRedirects && + redirectsRemaining > 0) { + const redirectUrl = response.message.headers['location']; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + const parsedRedirectUrl = new URL(redirectUrl); + if (parsedUrl.protocol === 'https:' && + parsedUrl.protocol !== parsedRedirectUrl.protocol && + !this._allowRedirectDowngrade) { + throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + yield response.readBody(); + // strip authorization header if redirected to a different hostname + if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { + for (const header in headers) { + // header names are case insensitive + if (header.toLowerCase() === 'authorization') { + delete headers[header]; + } + } + } + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = yield this.requestRaw(info, data); + redirectsRemaining--; + } + if (!response.message.statusCode || + !HttpResponseRetryCodes.includes(response.message.statusCode)) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + yield response.readBody(); + yield this._performExponentialBackoff(numTries); + } + } while (numTries < maxTries); + return response; + }); + } + /** + * Needs to be called if keepAlive is set to true in request options. + */ + dispose() { + if (this._agent) { + this._agent.destroy(); + } + this._disposed = true; + } + /** + * Raw request. + * @param info + * @param data + */ + requestRaw(info, data) { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => { + function callbackForResult(err, res) { + if (err) { + reject(err); + } + else if (!res) { + // If `err` is not passed, then `res` must be passed. + reject(new Error('Unknown error')); + } + else { + resolve(res); + } + } + this.requestRawWithCallback(info, data, callbackForResult); + }); + }); + } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ + requestRawWithCallback(info, data, onResult) { + if (typeof data === 'string') { + if (!info.options.headers) { + info.options.headers = {}; + } + info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); + } + let callbackCalled = false; + function handleResult(err, res) { + if (!callbackCalled) { + callbackCalled = true; + onResult(err, res); + } + } + const req = info.httpModule.request(info.options, (msg) => { + const res = new HttpClientResponse(msg); + handleResult(undefined, res); + }); + let socket; + req.on('socket', sock => { + socket = sock; + }); + // If we ever get disconnected, we want the socket to timeout eventually + req.setTimeout(this._socketTimeout || 3 * 60000, () => { + if (socket) { + socket.end(); + } + handleResult(new Error(`Request timeout: ${info.options.path}`)); + }); + req.on('error', function (err) { + // err has statusCode property + // res should have headers + handleResult(err); + }); + if (data && typeof data === 'string') { + req.write(data, 'utf8'); + } + if (data && typeof data !== 'string') { + data.on('close', function () { + req.end(); + }); + data.pipe(req); + } + else { + req.end(); + } + } + /** + * Gets an http agent. This function is useful when you need an http agent that handles + * routing through a proxy server - depending upon the url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ + getAgent(serverUrl) { + const parsedUrl = new URL(serverUrl); + return this._getAgent(parsedUrl); + } + _prepareRequest(method, requestUrl, headers) { + const info = {}; + info.parsedUrl = requestUrl; + const usingSsl = info.parsedUrl.protocol === 'https:'; + info.httpModule = usingSsl ? https : http; + const defaultPort = usingSsl ? 443 : 80; + info.options = {}; + info.options.host = info.parsedUrl.hostname; + info.options.port = info.parsedUrl.port + ? parseInt(info.parsedUrl.port) + : defaultPort; + info.options.path = + (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.method = method; + info.options.headers = this._mergeHeaders(headers); + if (this.userAgent != null) { + info.options.headers['user-agent'] = this.userAgent; + } + info.options.agent = this._getAgent(info.parsedUrl); + // gives handlers an opportunity to participate + if (this.handlers) { + for (const handler of this.handlers) { + handler.prepareRequest(info.options); + } + } + return info; + } + _mergeHeaders(headers) { + if (this.requestOptions && this.requestOptions.headers) { + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {})); + } + return lowercaseKeys(headers || {}); + } + _getExistingOrDefaultHeader(additionalHeaders, header, _default) { + let clientHeader; + if (this.requestOptions && this.requestOptions.headers) { + clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; + } + return additionalHeaders[header] || clientHeader || _default; + } + _getAgent(parsedUrl) { + let agent; + const proxyUrl = pm.getProxyUrl(parsedUrl); + const useProxy = proxyUrl && proxyUrl.hostname; + if (this._keepAlive && useProxy) { + agent = this._proxyAgent; + } + if (this._keepAlive && !useProxy) { + agent = this._agent; + } + // if agent is already assigned use that agent. + if (agent) { + return agent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + let maxSockets = 100; + if (this.requestOptions) { + maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + } + // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis. + if (proxyUrl && proxyUrl.hostname) { + const agentOptions = { + maxSockets, + keepAlive: this._keepAlive, + proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && { + proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` + })), { host: proxyUrl.hostname, port: proxyUrl.port }) + }; + let tunnelAgent; + const overHttps = proxyUrl.protocol === 'https:'; + if (usingSsl) { + tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; + } + else { + tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + agent = tunnelAgent(agentOptions); + this._proxyAgent = agent; + } + // if reusing agent across request and tunneling agent isn't assigned create a new agent + if (this._keepAlive && !agent) { + const options = { keepAlive: this._keepAlive, maxSockets }; + agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + this._agent = agent; + } + // if not using private agent and tunnel agent isn't setup then use global agent + if (!agent) { + agent = usingSsl ? https.globalAgent : http.globalAgent; + } + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + agent.options = Object.assign(agent.options || {}, { + rejectUnauthorized: false + }); + } + return agent; + } + _performExponentialBackoff(retryNumber) { + return __awaiter(this, void 0, void 0, function* () { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + }); + } + _processResponse(res, options) { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + const statusCode = res.message.statusCode || 0; + const response = { + statusCode, + result: null, + headers: {} + }; + // not found leads to null obj returned + if (statusCode === HttpCodes.NotFound) { + resolve(response); + } + // get the result from the body + function dateTimeDeserializer(key, value) { + if (typeof value === 'string') { + const a = new Date(value); + if (!isNaN(a.valueOf())) { + return a; + } + } + return value; + } + let obj; + let contents; + try { + contents = yield res.readBody(); + if (contents && contents.length > 0) { + if (options && options.deserializeDates) { + obj = JSON.parse(contents, dateTimeDeserializer); + } + else { + obj = JSON.parse(contents); + } + response.result = obj; + } + response.headers = res.message.headers; + } + catch (err) { + // Invalid resource (contents not json); leaving result obj null + } + // note that 3xx redirects are handled by the http layer. + if (statusCode > 299) { + let msg; + // if exception/error in body, attempt to get better error + if (obj && obj.message) { + msg = obj.message; + } + else if (contents && contents.length > 0) { + // it may be the case that the exception is in the body message as string + msg = contents; + } + else { + msg = `Failed request: (${statusCode})`; + } + const err = new HttpClientError(msg, statusCode); + err.result = response.result; + reject(err); + } + else { + resolve(response); + } + })); + }); + } +} +exports.HttpClient = HttpClient; +const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@actions/http-client/lib/index.js.map b/node_modules/@actions/http-client/lib/index.js.map new file mode 100644 index 00000000..ca8ea415 --- /dev/null +++ b/node_modules/@actions/http-client/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,2CAA4B;AAC5B,6CAA8B;AAG9B,4CAA6B;AAC7B,+CAAgC;AAEhC,IAAY,SA4BX;AA5BD,WAAY,SAAS;IACnB,uCAAQ,CAAA;IACR,iEAAqB,CAAA;IACrB,mEAAsB,CAAA;IACtB,6DAAmB,CAAA;IACnB,mDAAc,CAAA;IACd,yDAAiB,CAAA;IACjB,mDAAc,CAAA;IACd,yDAAiB,CAAA;IACjB,qEAAuB,CAAA;IACvB,qEAAuB,CAAA;IACvB,uDAAgB,CAAA;IAChB,2DAAkB,CAAA;IAClB,iEAAqB,CAAA;IACrB,qDAAe,CAAA;IACf,mDAAc,CAAA;IACd,mEAAsB,CAAA;IACtB,6DAAmB,CAAA;IACnB,yFAAiC,CAAA;IACjC,+DAAoB,CAAA;IACpB,mDAAc,CAAA;IACd,2CAAU,CAAA;IACV,iEAAqB,CAAA;IACrB,yEAAyB,CAAA;IACzB,+DAAoB,CAAA;IACpB,uDAAgB,CAAA;IAChB,uEAAwB,CAAA;IACxB,+DAAoB,CAAA;AACtB,CAAC,EA5BW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QA4BpB;AAED,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,4BAAiB,CAAA;IACjB,uCAA4B,CAAA;AAC9B,CAAC,EAHW,OAAO,GAAP,eAAO,KAAP,eAAO,QAGlB;AAED,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,kDAAoC,CAAA;AACtC,CAAC,EAFW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAErB;AAED;;;GAGG;AACH,SAAgB,WAAW,CAAC,SAAiB;IAC3C,MAAM,QAAQ,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC,CAAA;IACnD,OAAO,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAA;AACtC,CAAC;AAHD,kCAGC;AAED,MAAM,iBAAiB,GAAa;IAClC,SAAS,CAAC,gBAAgB;IAC1B,SAAS,CAAC,aAAa;IACvB,SAAS,CAAC,QAAQ;IAClB,SAAS,CAAC,iBAAiB;IAC3B,SAAS,CAAC,iBAAiB;CAC5B,CAAA;AACD,MAAM,sBAAsB,GAAa;IACvC,SAAS,CAAC,UAAU;IACpB,SAAS,CAAC,kBAAkB;IAC5B,SAAS,CAAC,cAAc;CACzB,CAAA;AACD,MAAM,kBAAkB,GAAa,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;AACzE,MAAM,yBAAyB,GAAG,EAAE,CAAA;AACpC,MAAM,2BAA2B,GAAG,CAAC,CAAA;AAErC,MAAa,eAAgB,SAAQ,KAAK;IACxC,YAAY,OAAe,EAAE,UAAkB;QAC7C,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAA;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACxD,CAAC;CAIF;AAVD,0CAUC;AAED,MAAa,kBAAkB;IAC7B,YAAY,OAA6B;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAGK,QAAQ;;YACZ,OAAO,IAAI,OAAO,CAAS,CAAM,OAAO,EAAC,EAAE;gBACzC,IAAI,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;gBAE5B,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAa,EAAE,EAAE;oBACxC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAA;gBACzC,CAAC,CAAC,CAAA;gBAEF,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;oBAC1B,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;gBAC5B,CAAC,CAAC,CAAA;YACJ,CAAC,CAAA,CAAC,CAAA;QACJ,CAAC;KAAA;CACF;AAnBD,gDAmBC;AAED,SAAgB,OAAO,CAAC,UAAkB;IACxC,MAAM,SAAS,GAAQ,IAAI,GAAG,CAAC,UAAU,CAAC,CAAA;IAC1C,OAAO,SAAS,CAAC,QAAQ,KAAK,QAAQ,CAAA;AACxC,CAAC;AAHD,0BAGC;AAED,MAAa,UAAU;IAiBrB,YACE,SAAkB,EAClB,QAA+B,EAC/B,cAAmC;QAf7B,oBAAe,GAAG,KAAK,CAAA;QAEvB,oBAAe,GAAG,IAAI,CAAA;QACtB,4BAAuB,GAAG,KAAK,CAAA;QAC/B,kBAAa,GAAG,EAAE,CAAA;QAClB,kBAAa,GAAG,KAAK,CAAA;QACrB,gBAAW,GAAG,CAAC,CAAA;QAGf,eAAU,GAAG,KAAK,CAAA;QAClB,cAAS,GAAG,KAAK,CAAA;QAOvB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;QAC1B,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAA;QAC9B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,cAAc,EAAE;YAClB,IAAI,cAAc,CAAC,cAAc,IAAI,IAAI,EAAE;gBACzC,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC,cAAc,CAAA;aACrD;YAED,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,aAAa,CAAA;YAElD,IAAI,cAAc,CAAC,cAAc,IAAI,IAAI,EAAE;gBACzC,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC,cAAc,CAAA;aACrD;YAED,IAAI,cAAc,CAAC,sBAAsB,IAAI,IAAI,EAAE;gBACjD,IAAI,CAAC,uBAAuB,GAAG,cAAc,CAAC,sBAAsB,CAAA;aACrE;YAED,IAAI,cAAc,CAAC,YAAY,IAAI,IAAI,EAAE;gBACvC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC,CAAC,CAAA;aAC9D;YAED,IAAI,cAAc,CAAC,SAAS,IAAI,IAAI,EAAE;gBACpC,IAAI,CAAC,UAAU,GAAG,cAAc,CAAC,SAAS,CAAA;aAC3C;YAED,IAAI,cAAc,CAAC,YAAY,IAAI,IAAI,EAAE;gBACvC,IAAI,CAAC,aAAa,GAAG,cAAc,CAAC,YAAY,CAAA;aACjD;YAED,IAAI,cAAc,CAAC,UAAU,IAAI,IAAI,EAAE;gBACrC,IAAI,CAAC,WAAW,GAAG,cAAc,CAAC,UAAU,CAAA;aAC7C;SACF;IACH,CAAC;IAEK,OAAO,CACX,UAAkB,EAClB,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAA;QAC3E,CAAC;KAAA;IAEK,GAAG,CACP,UAAkB,EAClB,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAA;QACvE,CAAC;KAAA;IAEK,GAAG,CACP,UAAkB,EAClB,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAA;QAC1E,CAAC;KAAA;IAEK,IAAI,CACR,UAAkB,EAClB,IAAY,EACZ,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAA;QACxE,CAAC;KAAA;IAEK,KAAK,CACT,UAAkB,EAClB,IAAY,EACZ,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAA;QACzE,CAAC;KAAA;IAEK,GAAG,CACP,UAAkB,EAClB,IAAY,EACZ,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAA;QACvE,CAAC;KAAA;IAEK,IAAI,CACR,UAAkB,EAClB,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAA;QACxE,CAAC;KAAA;IAEK,UAAU,CACd,IAAY,EACZ,UAAkB,EAClB,MAA6B,EAC7B,iBAA4C;;YAE5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,iBAAiB,CAAC,CAAA;QAClE,CAAC;KAAA;IAED;;;OAGG;IACG,OAAO,CACX,UAAkB,EAClB,oBAA8C,EAAE;;YAEhD,iBAAiB,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,2BAA2B,CAClE,iBAAiB,EACjB,OAAO,CAAC,MAAM,EACd,UAAU,CAAC,eAAe,CAC3B,CAAA;YACD,MAAM,GAAG,GAAuB,MAAM,IAAI,CAAC,GAAG,CAC5C,UAAU,EACV,iBAAiB,CAClB,CAAA;YACD,OAAO,IAAI,CAAC,gBAAgB,CAAI,GAAG,EAAE,IAAI,CAAC,cAAc,CAAC,CAAA;QAC3D,CAAC;KAAA;IAEK,QAAQ,CACZ,UAAkB,EAClB,GAAQ,EACR,oBAA8C,EAAE;;YAEhD,MAAM,IAAI,GAAW,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;YACjD,iBAAiB,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,2BAA2B,CAClE,iBAAiB,EACjB,OAAO,CAAC,MAAM,EACd,UAAU,CAAC,eAAe,CAC3B,CAAA;YACD,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,2BAA2B,CACvE,iBAAiB,EACjB,OAAO,CAAC,WAAW,EACnB,UAAU,CAAC,eAAe,CAC3B,CAAA;YACD,MAAM,GAAG,GAAuB,MAAM,IAAI,CAAC,IAAI,CAC7C,UAAU,EACV,IAAI,EACJ,iBAAiB,CAClB,CAAA;YACD,OAAO,IAAI,CAAC,gBAAgB,CAAI,GAAG,EAAE,IAAI,CAAC,cAAc,CAAC,CAAA;QAC3D,CAAC;KAAA;IAEK,OAAO,CACX,UAAkB,EAClB,GAAQ,EACR,oBAA8C,EAAE;;YAEhD,MAAM,IAAI,GAAW,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;YACjD,iBAAiB,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,2BAA2B,CAClE,iBAAiB,EACjB,OAAO,CAAC,MAAM,EACd,UAAU,CAAC,eAAe,CAC3B,CAAA;YACD,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,2BAA2B,CACvE,iBAAiB,EACjB,OAAO,CAAC,WAAW,EACnB,UAAU,CAAC,eAAe,CAC3B,CAAA;YACD,MAAM,GAAG,GAAuB,MAAM,IAAI,CAAC,GAAG,CAC5C,UAAU,EACV,IAAI,EACJ,iBAAiB,CAClB,CAAA;YACD,OAAO,IAAI,CAAC,gBAAgB,CAAI,GAAG,EAAE,IAAI,CAAC,cAAc,CAAC,CAAA;QAC3D,CAAC;KAAA;IAEK,SAAS,CACb,UAAkB,EAClB,GAAQ,EACR,oBAA8C,EAAE;;YAEhD,MAAM,IAAI,GAAW,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;YACjD,iBAAiB,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,2BAA2B,CAClE,iBAAiB,EACjB,OAAO,CAAC,MAAM,EACd,UAAU,CAAC,eAAe,CAC3B,CAAA;YACD,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,2BAA2B,CACvE,iBAAiB,EACjB,OAAO,CAAC,WAAW,EACnB,UAAU,CAAC,eAAe,CAC3B,CAAA;YACD,MAAM,GAAG,GAAuB,MAAM,IAAI,CAAC,KAAK,CAC9C,UAAU,EACV,IAAI,EACJ,iBAAiB,CAClB,CAAA;YACD,OAAO,IAAI,CAAC,gBAAgB,CAAI,GAAG,EAAE,IAAI,CAAC,cAAc,CAAC,CAAA;QAC3D,CAAC;KAAA;IAED;;;;OAIG;IACG,OAAO,CACX,IAAY,EACZ,UAAkB,EAClB,IAA2C,EAC3C,OAAkC;;YAElC,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAA;aACrD;YAED,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,CAAA;YACrC,IAAI,IAAI,GAAoB,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;YAE1E,oEAAoE;YACpE,MAAM,QAAQ,GACZ,IAAI,CAAC,aAAa,IAAI,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC;gBACrD,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,CAAC;gBACtB,CAAC,CAAC,CAAC,CAAA;YACP,IAAI,QAAQ,GAAG,CAAC,CAAA;YAEhB,IAAI,QAAwC,CAAA;YAC5C,GAAG;gBACD,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;gBAE5C,4CAA4C;gBAC5C,IACE,QAAQ;oBACR,QAAQ,CAAC,OAAO;oBAChB,QAAQ,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,YAAY,EACtD;oBACA,IAAI,qBAAqD,CAAA;oBAEzD,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE;wBACnC,IAAI,OAAO,CAAC,uBAAuB,CAAC,QAAQ,CAAC,EAAE;4BAC7C,qBAAqB,GAAG,OAAO,CAAA;4BAC/B,MAAK;yBACN;qBACF;oBAED,IAAI,qBAAqB,EAAE;wBACzB,OAAO,qBAAqB,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;qBACpE;yBAAM;wBACL,+EAA+E;wBAC/E,yCAAyC;wBACzC,OAAO,QAAQ,CAAA;qBAChB;iBACF;gBAED,IAAI,kBAAkB,GAAW,IAAI,CAAC,aAAa,CAAA;gBACnD,OACE,QAAQ,CAAC,OAAO,CAAC,UAAU;oBAC3B,iBAAiB,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC;oBACvD,IAAI,CAAC,eAAe;oBACpB,kBAAkB,GAAG,CAAC,EACtB;oBACA,MAAM,WAAW,GACf,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;oBACtC,IAAI,CAAC,WAAW,EAAE;wBAChB,kDAAkD;wBAClD,MAAK;qBACN;oBACD,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,CAAA;oBAC9C,IACE,SAAS,CAAC,QAAQ,KAAK,QAAQ;wBAC/B,SAAS,CAAC,QAAQ,KAAK,iBAAiB,CAAC,QAAQ;wBACjD,CAAC,IAAI,CAAC,uBAAuB,EAC7B;wBACA,MAAM,IAAI,KAAK,CACb,8KAA8K,CAC/K,CAAA;qBACF;oBAED,qEAAqE;oBACrE,mCAAmC;oBACnC,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAA;oBAEzB,mEAAmE;oBACnE,IAAI,iBAAiB,CAAC,QAAQ,KAAK,SAAS,CAAC,QAAQ,EAAE;wBACrD,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;4BAC5B,oCAAoC;4BACpC,IAAI,MAAM,CAAC,WAAW,EAAE,KAAK,eAAe,EAAE;gCAC5C,OAAO,OAAO,CAAC,MAAM,CAAC,CAAA;6BACvB;yBACF;qBACF;oBAED,kDAAkD;oBAClD,IAAI,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;oBAC7D,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;oBAC5C,kBAAkB,EAAE,CAAA;iBACrB;gBAED,IACE,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU;oBAC5B,CAAC,sBAAsB,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,EAC7D;oBACA,8DAA8D;oBAC9D,OAAO,QAAQ,CAAA;iBAChB;gBAED,QAAQ,IAAI,CAAC,CAAA;gBAEb,IAAI,QAAQ,GAAG,QAAQ,EAAE;oBACvB,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAA;oBACzB,MAAM,IAAI,CAAC,0BAA0B,CAAC,QAAQ,CAAC,CAAA;iBAChD;aACF,QAAQ,QAAQ,GAAG,QAAQ,EAAC;YAE7B,OAAO,QAAQ,CAAA;QACjB,CAAC;KAAA;IAED;;OAEG;IACH,OAAO;QACL,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;SACtB;QAED,IAAI,CAAC,SAAS,GAAG,IAAI,CAAA;IACvB,CAAC;IAED;;;;OAIG;IACG,UAAU,CACd,IAAqB,EACrB,IAA2C;;YAE3C,OAAO,IAAI,OAAO,CAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACzD,SAAS,iBAAiB,CAAC,GAAW,EAAE,GAAwB;oBAC9D,IAAI,GAAG,EAAE;wBACP,MAAM,CAAC,GAAG,CAAC,CAAA;qBACZ;yBAAM,IAAI,CAAC,GAAG,EAAE;wBACf,qDAAqD;wBACrD,MAAM,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC,CAAA;qBACnC;yBAAM;wBACL,OAAO,CAAC,GAAG,CAAC,CAAA;qBACb;gBACH,CAAC;gBAED,IAAI,CAAC,sBAAsB,CAAC,IAAI,EAAE,IAAI,EAAE,iBAAiB,CAAC,CAAA;YAC5D,CAAC,CAAC,CAAA;QACJ,CAAC;KAAA;IAED;;;;;OAKG;IACH,sBAAsB,CACpB,IAAqB,EACrB,IAA2C,EAC3C,QAAyD;QAEzD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;YAC5B,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;gBACzB,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,EAAE,CAAA;aAC1B;YACD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;SACzE;QAED,IAAI,cAAc,GAAG,KAAK,CAAA;QAC1B,SAAS,YAAY,CAAC,GAAW,EAAE,GAAwB;YACzD,IAAI,CAAC,cAAc,EAAE;gBACnB,cAAc,GAAG,IAAI,CAAA;gBACrB,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;aACnB;QACH,CAAC;QAED,MAAM,GAAG,GAAuB,IAAI,CAAC,UAAU,CAAC,OAAO,CACrD,IAAI,CAAC,OAAO,EACZ,CAAC,GAAyB,EAAE,EAAE;YAC5B,MAAM,GAAG,GAAuB,IAAI,kBAAkB,CAAC,GAAG,CAAC,CAAA;YAC3D,YAAY,CAAC,SAAS,EAAE,GAAG,CAAC,CAAA;QAC9B,CAAC,CACF,CAAA;QAED,IAAI,MAAkB,CAAA;QACtB,GAAG,CAAC,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE;YACtB,MAAM,GAAG,IAAI,CAAA;QACf,CAAC,CAAC,CAAA;QAEF,wEAAwE;QACxE,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,GAAG,KAAK,EAAE,GAAG,EAAE;YACpD,IAAI,MAAM,EAAE;gBACV,MAAM,CAAC,GAAG,EAAE,CAAA;aACb;YACD,YAAY,CAAC,IAAI,KAAK,CAAC,oBAAoB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;QAClE,CAAC,CAAC,CAAA;QAEF,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,UAAS,GAAG;YAC1B,8BAA8B;YAC9B,0BAA0B;YAC1B,YAAY,CAAC,GAAG,CAAC,CAAA;QACnB,CAAC,CAAC,CAAA;QAEF,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;YACpC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;SACxB;QAED,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;YACpC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE;gBACf,GAAG,CAAC,GAAG,EAAE,CAAA;YACX,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;SACf;aAAM;YACL,GAAG,CAAC,GAAG,EAAE,CAAA;SACV;IACH,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,SAAiB;QACxB,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,CAAA;QACpC,OAAO,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAA;IAClC,CAAC;IAEO,eAAe,CACrB,MAAc,EACd,UAAe,EACf,OAAkC;QAElC,MAAM,IAAI,GAAqC,EAAE,CAAA;QAEjD,IAAI,CAAC,SAAS,GAAG,UAAU,CAAA;QAC3B,MAAM,QAAQ,GAAY,IAAI,CAAC,SAAS,CAAC,QAAQ,KAAK,QAAQ,CAAA;QAC9D,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA;QACzC,MAAM,WAAW,GAAW,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAA;QAE/C,IAAI,CAAC,OAAO,GAAwB,EAAE,CAAA;QACtC,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAA;QAC3C,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI;YACrC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;YAC/B,CAAC,CAAC,WAAW,CAAA;QACf,IAAI,CAAC,OAAO,CAAC,IAAI;YACf,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,EAAE,CAAC,CAAA;QACjE,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAA;QAC5B,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QAClD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YAC1B,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,SAAS,CAAA;SACpD;QAED,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAEnD,+CAA+C;QAC/C,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACnC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;aACrC;SACF;QAED,OAAO,IAAI,CAAA;IACb,CAAC;IAEO,aAAa,CACnB,OAAkC;QAElC,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE;YACtD,OAAO,MAAM,CAAC,MAAM,CAClB,EAAE,EACF,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAC1C,aAAa,CAAC,OAAO,IAAI,EAAE,CAAC,CAC7B,CAAA;SACF;QAED,OAAO,aAAa,CAAC,OAAO,IAAI,EAAE,CAAC,CAAA;IACrC,CAAC;IAEO,2BAA2B,CACjC,iBAA2C,EAC3C,MAAc,EACd,QAAgB;QAEhB,IAAI,YAAgC,CAAA;QACpC,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE;YACtD,YAAY,GAAG,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;SAClE;QACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,IAAI,YAAY,IAAI,QAAQ,CAAA;IAC9D,CAAC;IAEO,SAAS,CAAC,SAAc;QAC9B,IAAI,KAAK,CAAA;QACT,MAAM,QAAQ,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;QAC1C,MAAM,QAAQ,GAAG,QAAQ,IAAI,QAAQ,CAAC,QAAQ,CAAA;QAE9C,IAAI,IAAI,CAAC,UAAU,IAAI,QAAQ,EAAE;YAC/B,KAAK,GAAG,IAAI,CAAC,WAAW,CAAA;SACzB;QAED,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,QAAQ,EAAE;YAChC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAA;SACpB;QAED,+CAA+C;QAC/C,IAAI,KAAK,EAAE;YACT,OAAO,KAAK,CAAA;SACb;QAED,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,KAAK,QAAQ,CAAA;QAChD,IAAI,UAAU,GAAG,GAAG,CAAA;QACpB,IAAI,IAAI,CAAC,cAAc,EAAE;YACvB,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,CAAA;SAC3E;QAED,sGAAsG;QACtG,IAAI,QAAQ,IAAI,QAAQ,CAAC,QAAQ,EAAE;YACjC,MAAM,YAAY,GAAG;gBACnB,UAAU;gBACV,SAAS,EAAE,IAAI,CAAC,UAAU;gBAC1B,KAAK,kCACA,CAAC,CAAC,QAAQ,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI;oBAC9C,SAAS,EAAE,GAAG,QAAQ,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ,EAAE;iBACvD,CAAC,KACF,IAAI,EAAE,QAAQ,CAAC,QAAQ,EACvB,IAAI,EAAE,QAAQ,CAAC,IAAI,GACpB;aACF,CAAA;YAED,IAAI,WAAqB,CAAA;YACzB,MAAM,SAAS,GAAG,QAAQ,CAAC,QAAQ,KAAK,QAAQ,CAAA;YAChD,IAAI,QAAQ,EAAE;gBACZ,WAAW,GAAG,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAA;aACvE;iBAAM;gBACL,WAAW,GAAG,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAA;aACrE;YAED,KAAK,GAAG,WAAW,CAAC,YAAY,CAAC,CAAA;YACjC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAA;SACzB;QAED,wFAAwF;QACxF,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,KAAK,EAAE;YAC7B,MAAM,OAAO,GAAG,EAAC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,UAAU,EAAC,CAAA;YACxD,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;YACrE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAA;SACpB;QAED,gFAAgF;QAChF,IAAI,CAAC,KAAK,EAAE;YACV,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAA;SACxD;QAED,IAAI,QAAQ,IAAI,IAAI,CAAC,eAAe,EAAE;YACpC,wGAAwG;YACxG,kFAAkF;YAClF,mDAAmD;YACnD,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,EAAE;gBACjD,kBAAkB,EAAE,KAAK;aAC1B,CAAC,CAAA;SACH;QAED,OAAO,KAAK,CAAA;IACd,CAAC;IAEa,0BAA0B,CAAC,WAAmB;;YAC1D,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,yBAAyB,EAAE,WAAW,CAAC,CAAA;YAC9D,MAAM,EAAE,GAAW,2BAA2B,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,CAAC,CAAA;YACzE,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,CAAA;QAChE,CAAC;KAAA;IAEa,gBAAgB,CAC5B,GAAuB,EACvB,OAA4B;;YAE5B,OAAO,IAAI,OAAO,CAAuB,CAAO,OAAO,EAAE,MAAM,EAAE,EAAE;gBACjE,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,UAAU,IAAI,CAAC,CAAA;gBAE9C,MAAM,QAAQ,GAAyB;oBACrC,UAAU;oBACV,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,EAAE;iBACZ,CAAA;gBAED,uCAAuC;gBACvC,IAAI,UAAU,KAAK,SAAS,CAAC,QAAQ,EAAE;oBACrC,OAAO,CAAC,QAAQ,CAAC,CAAA;iBAClB;gBAED,+BAA+B;gBAE/B,SAAS,oBAAoB,CAAC,GAAQ,EAAE,KAAU;oBAChD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;wBAC7B,MAAM,CAAC,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAA;wBACzB,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE;4BACvB,OAAO,CAAC,CAAA;yBACT;qBACF;oBAED,OAAO,KAAK,CAAA;gBACd,CAAC;gBAED,IAAI,GAAQ,CAAA;gBACZ,IAAI,QAA4B,CAAA;gBAEhC,IAAI;oBACF,QAAQ,GAAG,MAAM,GAAG,CAAC,QAAQ,EAAE,CAAA;oBAC/B,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;wBACnC,IAAI,OAAO,IAAI,OAAO,CAAC,gBAAgB,EAAE;4BACvC,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,oBAAoB,CAAC,CAAA;yBACjD;6BAAM;4BACL,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;yBAC3B;wBAED,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAA;qBACtB;oBAED,QAAQ,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,CAAA;iBACvC;gBAAC,OAAO,GAAG,EAAE;oBACZ,iEAAiE;iBAClE;gBAED,yDAAyD;gBACzD,IAAI,UAAU,GAAG,GAAG,EAAE;oBACpB,IAAI,GAAW,CAAA;oBAEf,0DAA0D;oBAC1D,IAAI,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE;wBACtB,GAAG,GAAG,GAAG,CAAC,OAAO,CAAA;qBAClB;yBAAM,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;wBAC1C,yEAAyE;wBACzE,GAAG,GAAG,QAAQ,CAAA;qBACf;yBAAM;wBACL,GAAG,GAAG,oBAAoB,UAAU,GAAG,CAAA;qBACxC;oBAED,MAAM,GAAG,GAAG,IAAI,eAAe,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;oBAChD,GAAG,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAA;oBAE5B,MAAM,CAAC,GAAG,CAAC,CAAA;iBACZ;qBAAM;oBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;iBAClB;YACH,CAAC,CAAA,CAAC,CAAA;QACJ,CAAC;KAAA;CACF;AAlpBD,gCAkpBC;AAED,MAAM,aAAa,GAAG,CAAC,GAA2B,EAAO,EAAE,CACzD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/http-client/lib/interfaces.d.ts b/node_modules/@actions/http-client/lib/interfaces.d.ts new file mode 100644 index 00000000..54fd4a89 --- /dev/null +++ b/node_modules/@actions/http-client/lib/interfaces.d.ts @@ -0,0 +1,44 @@ +/// +import * as http from 'http'; +import * as https from 'https'; +import { HttpClientResponse } from './index'; +export interface HttpClient { + options(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + get(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + del(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + post(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + patch(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + put(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: http.OutgoingHttpHeaders): Promise; + request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: http.OutgoingHttpHeaders): Promise; + requestRaw(info: RequestInfo, data: string | NodeJS.ReadableStream): Promise; + requestRawWithCallback(info: RequestInfo, data: string | NodeJS.ReadableStream, onResult: (err?: Error, res?: HttpClientResponse) => void): void; +} +export interface RequestHandler { + prepareRequest(options: http.RequestOptions): void; + canHandleAuthentication(response: HttpClientResponse): boolean; + handleAuthentication(httpClient: HttpClient, requestInfo: RequestInfo, data: string | NodeJS.ReadableStream | null): Promise; +} +export interface RequestInfo { + options: http.RequestOptions; + parsedUrl: URL; + httpModule: typeof http | typeof https; +} +export interface RequestOptions { + headers?: http.OutgoingHttpHeaders; + socketTimeout?: number; + ignoreSslError?: boolean; + allowRedirects?: boolean; + allowRedirectDowngrade?: boolean; + maxRedirects?: number; + maxSockets?: number; + keepAlive?: boolean; + deserializeDates?: boolean; + allowRetries?: boolean; + maxRetries?: number; +} +export interface TypedResponse { + statusCode: number; + result: T | null; + headers: http.IncomingHttpHeaders; +} diff --git a/node_modules/@actions/http-client/interfaces.js b/node_modules/@actions/http-client/lib/interfaces.js similarity index 66% rename from node_modules/@actions/http-client/interfaces.js rename to node_modules/@actions/http-client/lib/interfaces.js index c8ad2e54..db919115 100644 --- a/node_modules/@actions/http-client/interfaces.js +++ b/node_modules/@actions/http-client/lib/interfaces.js @@ -1,2 +1,3 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=interfaces.js.map \ No newline at end of file diff --git a/node_modules/@actions/http-client/lib/interfaces.js.map b/node_modules/@actions/http-client/lib/interfaces.js.map new file mode 100644 index 00000000..8fb5f7d1 --- /dev/null +++ b/node_modules/@actions/http-client/lib/interfaces.js.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@actions/http-client/proxy.d.ts b/node_modules/@actions/http-client/lib/proxy.d.ts similarity index 100% rename from node_modules/@actions/http-client/proxy.d.ts rename to node_modules/@actions/http-client/lib/proxy.d.ts diff --git a/node_modules/@actions/http-client/proxy.js b/node_modules/@actions/http-client/lib/proxy.js similarity index 63% rename from node_modules/@actions/http-client/proxy.js rename to node_modules/@actions/http-client/lib/proxy.js index 88f00ecd..528ffe40 100644 --- a/node_modules/@actions/http-client/proxy.js +++ b/node_modules/@actions/http-client/lib/proxy.js @@ -1,29 +1,32 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.checkBypass = exports.getProxyUrl = void 0; function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === 'https:'; - let proxyUrl; + const usingSsl = reqUrl.protocol === 'https:'; if (checkBypass(reqUrl)) { - return proxyUrl; + return undefined; } - let proxyVar; - if (usingSsl) { - proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; + const proxyVar = (() => { + if (usingSsl) { + return process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + return process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + })(); + if (proxyVar) { + return new URL(proxyVar); } else { - proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; - } - if (proxyVar) { - proxyUrl = new URL(proxyVar); + return undefined; } - return proxyUrl; } exports.getProxyUrl = getProxyUrl; function checkBypass(reqUrl) { if (!reqUrl.hostname) { return false; } - let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; if (!noProxy) { return false; } @@ -39,12 +42,12 @@ function checkBypass(reqUrl) { reqPort = 443; } // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; + const upperReqHosts = [reqUrl.hostname.toUpperCase()]; if (typeof reqPort === 'number') { upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); } // Compare request host against noproxy - for (let upperNoProxyItem of noProxy + for (const upperNoProxyItem of noProxy .split(',') .map(x => x.trim().toUpperCase()) .filter(x => x)) { @@ -55,3 +58,4 @@ function checkBypass(reqUrl) { return false; } exports.checkBypass = checkBypass; +//# sourceMappingURL=proxy.js.map \ No newline at end of file diff --git a/node_modules/@actions/http-client/lib/proxy.js.map b/node_modules/@actions/http-client/lib/proxy.js.map new file mode 100644 index 00000000..4440de9b --- /dev/null +++ b/node_modules/@actions/http-client/lib/proxy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy.js","sourceRoot":"","sources":["../src/proxy.ts"],"names":[],"mappings":";;;AAAA,SAAgB,WAAW,CAAC,MAAW;IACrC,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,KAAK,QAAQ,CAAA;IAE7C,IAAI,WAAW,CAAC,MAAM,CAAC,EAAE;QACvB,OAAO,SAAS,CAAA;KACjB;IAED,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE;QACrB,IAAI,QAAQ,EAAE;YACZ,OAAO,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;SAChE;aAAM;YACL,OAAO,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;SAC9D;IACH,CAAC,CAAC,EAAE,CAAA;IAEJ,IAAI,QAAQ,EAAE;QACZ,OAAO,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAA;KACzB;SAAM;QACL,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AApBD,kCAoBC;AAED,SAAgB,WAAW,CAAC,MAAW;IACrC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;QACpB,OAAO,KAAK,CAAA;KACb;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA;IACxE,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,KAAK,CAAA;KACb;IAED,6BAA6B;IAC7B,IAAI,OAA2B,CAAA;IAC/B,IAAI,MAAM,CAAC,IAAI,EAAE;QACf,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;KAC9B;SAAM,IAAI,MAAM,CAAC,QAAQ,KAAK,OAAO,EAAE;QACtC,OAAO,GAAG,EAAE,CAAA;KACb;SAAM,IAAI,MAAM,CAAC,QAAQ,KAAK,QAAQ,EAAE;QACvC,OAAO,GAAG,GAAG,CAAA;KACd;IAED,qDAAqD;IACrD,MAAM,aAAa,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAA;IACrD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,aAAa,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,OAAO,EAAE,CAAC,CAAA;KACrD;IAED,uCAAuC;IACvC,KAAK,MAAM,gBAAgB,IAAI,OAAO;SACnC,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;SAChC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;QACjB,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,gBAAgB,CAAC,EAAE;YACnD,OAAO,IAAI,CAAA;SACZ;KACF;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AArCD,kCAqCC"} \ No newline at end of file diff --git a/node_modules/@actions/http-client/package.json b/node_modules/@actions/http-client/package.json index 0c99fd41..c1de2213 100644 --- a/node_modules/@actions/http-client/package.json +++ b/node_modules/@actions/http-client/package.json @@ -1,39 +1,48 @@ { "name": "@actions/http-client", - "version": "1.0.11", + "version": "2.0.1", "description": "Actions Http Client", - "main": "index.js", - "scripts": { - "build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out", - "test": "jest", - "format": "prettier --write *.ts && prettier --write **/*.ts", - "format-check": "prettier --check *.ts && prettier --check **/*.ts", - "audit-check": "npm audit --audit-level=moderate" + "keywords": [ + "github", + "actions", + "http" + ], + "homepage": "https://github.com/actions/toolkit/tree/main/packages/http-client", + "license": "MIT", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "directories": { + "lib": "lib", + "test": "__tests__" + }, + "files": [ + "lib", + "!.DS_Store" + ], + "publishConfig": { + "access": "public" }, "repository": { "type": "git", - "url": "git+https://github.com/actions/http-client.git" + "url": "git+https://github.com/actions/toolkit.git", + "directory": "packages/http-client" + }, + "scripts": { + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", + "test": "echo \"Error: run tests from root\" && exit 1", + "build": "tsc", + "format": "prettier --write **/*.ts", + "format-check": "prettier --check **/*.ts", + "tsc": "tsc" }, - "keywords": [ - "Actions", - "Http" - ], - "author": "GitHub, Inc.", - "license": "MIT", "bugs": { - "url": "https://github.com/actions/http-client/issues" + "url": "https://github.com/actions/toolkit/issues" }, - "homepage": "https://github.com/actions/http-client#readme", "devDependencies": { - "@types/jest": "^25.1.4", - "@types/node": "^12.12.31", - "jest": "^25.1.0", - "prettier": "^2.0.4", - "proxy": "^1.0.1", - "ts-jest": "^25.2.1", - "typescript": "^3.8.3" + "@types/tunnel": "0.0.3", + "proxy": "^1.0.1" }, "dependencies": { - "tunnel": "0.0.6" + "tunnel": "^0.0.6" } } diff --git a/node_modules/@actions/io/package.json b/node_modules/@actions/io/package.json index 114e8e59..5ebc63a4 100644 --- a/node_modules/@actions/io/package.json +++ b/node_modules/@actions/io/package.json @@ -1,6 +1,6 @@ { "name": "@actions/io", - "version": "1.1.1", + "version": "1.1.2", "description": "Actions io lib", "keywords": [ "github", diff --git a/node_modules/@ampproject/remapping/LICENSE b/node_modules/@ampproject/remapping/LICENSE new file mode 100644 index 00000000..f367dfb2 --- /dev/null +++ b/node_modules/@ampproject/remapping/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Google LLC + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@ampproject/remapping/README.md b/node_modules/@ampproject/remapping/README.md new file mode 100644 index 00000000..1463c9f6 --- /dev/null +++ b/node_modules/@ampproject/remapping/README.md @@ -0,0 +1,218 @@ +# @ampproject/remapping + +> Remap sequential sourcemaps through transformations to point at the original source code + +Remapping allows you to take the sourcemaps generated through transforming your code and "remap" +them to the original source locations. Think "my minified code, transformed with babel and bundled +with webpack", all pointing to the correct location in your original source code. + +With remapping, none of your source code transformations need to be aware of the input's sourcemap, +they only need to generate an output sourcemap. This greatly simplifies building custom +transformations (think a find-and-replace). + +## Installation + +```sh +npm install @ampproject/remapping +``` + +## Usage + +```typescript +function remapping( + map: SourceMap | SourceMap[], + loader: (file: string, ctx: LoaderContext) => (SourceMap | null | undefined), + options?: { excludeContent: boolean, decodedMappings: boolean } +): SourceMap; + +// LoaderContext gives the loader the importing sourcemap, tree depth, the ability to override the +// "source" location (where child sources are resolved relative to, or the location of original +// source), and the ability to override the "content" of an original source for inclusion in the +// output sourcemap. +type LoaderContext = { + readonly importer: string; + readonly depth: number; + source: string; + content: string | null | undefined; +} +``` + +`remapping` takes the final output sourcemap, and a `loader` function. For every source file pointer +in the sourcemap, the `loader` will be called with the resolved path. If the path itself represents +a transformed file (it has a sourcmap associated with it), then the `loader` should return that +sourcemap. If not, the path will be treated as an original, untransformed source code. + +```js +// Babel transformed "helloworld.js" into "transformed.js" +const transformedMap = JSON.stringify({ + file: 'transformed.js', + // 1st column of 2nd line of output file translates into the 1st source + // file, line 3, column 2 + mappings: ';CAEE', + sources: ['helloworld.js'], + version: 3, +}); + +// Uglify minified "transformed.js" into "transformed.min.js" +const minifiedTransformedMap = JSON.stringify({ + file: 'transformed.min.js', + // 0th column of 1st line of output file translates into the 1st source + // file, line 2, column 1. + mappings: 'AACC', + names: [], + sources: ['transformed.js'], + version: 3, +}); + +const remapped = remapping( + minifiedTransformedMap, + (file, ctx) => { + + // The "transformed.js" file is an transformed file. + if (file === 'transformed.js') { + // The root importer is empty. + console.assert(ctx.importer === ''); + // The depth in the sourcemap tree we're currently loading. + // The root `minifiedTransformedMap` is depth 0, and its source children are depth 1, etc. + console.assert(ctx.depth === 1); + + return transformedMap; + } + + // Loader will be called to load transformedMap's source file pointers as well. + console.assert(file === 'helloworld.js'); + // `transformed.js`'s sourcemap points into `helloworld.js`. + console.assert(ctx.importer === 'transformed.js'); + // This is a source child of `transformed`, which is a source child of `minifiedTransformedMap`. + console.assert(ctx.depth === 2); + return null; + } +); + +console.log(remapped); +// { +// file: 'transpiled.min.js', +// mappings: 'AAEE', +// sources: ['helloworld.js'], +// version: 3, +// }; +``` + +In this example, `loader` will be called twice: + +1. `"transformed.js"`, the first source file pointer in the `minifiedTransformedMap`. We return the + associated sourcemap for it (its a transformed file, after all) so that sourcemap locations can + be traced through it into the source files it represents. +2. `"helloworld.js"`, our original, unmodified source code. This file does not have a sourcemap, so + we return `null`. + +The `remapped` sourcemap now points from `transformed.min.js` into locations in `helloworld.js`. If +you were to read the `mappings`, it says "0th column of the first line output line points to the 1st +column of the 2nd line of the file `helloworld.js`". + +### Multiple transformations of a file + +As a convenience, if you have multiple single-source transformations of a file, you may pass an +array of sourcemap files in the order of most-recent transformation sourcemap first. Note that this +changes the `importer` and `depth` of each call to our loader. So our above example could have been +written as: + +```js +const remapped = remapping( + [minifiedTransformedMap, transformedMap], + () => null +); + +console.log(remapped); +// { +// file: 'transpiled.min.js', +// mappings: 'AAEE', +// sources: ['helloworld.js'], +// version: 3, +// }; +``` + +### Advanced control of the loading graph + +#### `source` + +The `source` property can overridden to any value to change the location of the current load. Eg, +for an original source file, it allows us to change the location to the original source regardless +of what the sourcemap source entry says. And for transformed files, it allows us to change the +relative resolving location for child sources of the loaded sourcemap. + +```js +const remapped = remapping( + minifiedTransformedMap, + (file, ctx) => { + + if (file === 'transformed.js') { + // We pretend the transformed.js file actually exists in the 'src/' directory. When the nested + // source files are loaded, they will now be relative to `src/`. + ctx.source = 'src/transformed.js'; + return transformedMap; + } + + console.assert(file === 'src/helloworld.js'); + // We could futher change the source of this original file, eg, to be inside a nested directory + // itself. This will be reflected in the remapped sourcemap. + ctx.source = 'src/nested/transformed.js'; + return null; + } +); + +console.log(remapped); +// { +// …, +// sources: ['src/nested/helloworld.js'], +// }; +``` + + +#### `content` + +The `content` property can be overridden when we encounter an original source file. Eg, this allows +you to manually provide the source content of the original file regardless of whether the +`sourcesContent` field is present in the parent sourcemap. It can also be set to `null` to remove +the source content. + +```js +const remapped = remapping( + minifiedTransformedMap, + (file, ctx) => { + + if (file === 'transformed.js') { + // transformedMap does not include a `sourcesContent` field, so usually the remapped sourcemap + // would not include any `sourcesContent` values. + return transformedMap; + } + + console.assert(file === 'helloworld.js'); + // We can read the file to provide the source content. + ctx.content = fs.readFileSync(file, 'utf8'); + return null; + } +); + +console.log(remapped); +// { +// …, +// sourcesContent: [ +// 'console.log("Hello world!")', +// ], +// }; +``` + +### Options + +#### excludeContent + +By default, `excludeContent` is `false`. Passing `{ excludeContent: true }` will exclude the +`sourcesContent` field from the returned sourcemap. This is mainly useful when you want to reduce +the size out the sourcemap. + +#### decodedMappings + +By default, `decodedMappings` is `false`. Passing `{ decodedMappings: true }` will leave the +`mappings` field in a [decoded state](https://github.com/rich-harris/sourcemap-codec) instead of +encoding into a VLQ string. diff --git a/node_modules/@ampproject/remapping/dist/remapping.mjs b/node_modules/@ampproject/remapping/dist/remapping.mjs new file mode 100644 index 00000000..c6e66b76 --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/remapping.mjs @@ -0,0 +1,204 @@ +import { decodedMappings, traceSegment, TraceMap } from '@jridgewell/trace-mapping'; +import { GenMapping, addSegment, setSourceContent, decodedMap, encodedMap } from '@jridgewell/gen-mapping'; + +const SOURCELESS_MAPPING = { + source: null, + column: null, + line: null, + name: null, + content: null, +}; +const EMPTY_SOURCES = []; +function Source(map, sources, source, content) { + return { + map, + sources, + source, + content, + }; +} +/** + * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes + * (which may themselves be SourceMapTrees). + */ +function MapSource(map, sources) { + return Source(map, sources, '', null); +} +/** + * A "leaf" node in the sourcemap tree, representing an original, unmodified source file. Recursive + * segment tracing ends at the `OriginalSource`. + */ +function OriginalSource(source, content) { + return Source(null, EMPTY_SOURCES, source, content); +} +/** + * traceMappings is only called on the root level SourceMapTree, and begins the process of + * resolving each mapping in terms of the original source files. + */ +function traceMappings(tree) { + const gen = new GenMapping({ file: tree.map.file }); + const { sources: rootSources, map } = tree; + const rootNames = map.names; + const rootMappings = decodedMappings(map); + for (let i = 0; i < rootMappings.length; i++) { + const segments = rootMappings[i]; + let lastSource = null; + let lastSourceLine = null; + let lastSourceColumn = null; + for (let j = 0; j < segments.length; j++) { + const segment = segments[j]; + const genCol = segment[0]; + let traced = SOURCELESS_MAPPING; + // 1-length segments only move the current generated column, there's no source information + // to gather from it. + if (segment.length !== 1) { + const source = rootSources[segment[1]]; + traced = originalPositionFor(source, segment[2], segment[3], segment.length === 5 ? rootNames[segment[4]] : ''); + // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a + // respective segment into an original source. + if (traced == null) + continue; + } + // So we traced a segment down into its original source file. Now push a + // new segment pointing to this location. + const { column, line, name, content, source } = traced; + if (line === lastSourceLine && column === lastSourceColumn && source === lastSource) { + continue; + } + lastSourceLine = line; + lastSourceColumn = column; + lastSource = source; + // Sigh, TypeScript can't figure out source/line/column are either all null, or all non-null... + addSegment(gen, i, genCol, source, line, column, name); + if (content != null) + setSourceContent(gen, source, content); + } + } + return gen; +} +/** + * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own + * child SourceMapTrees, until we find the original source map. + */ +function originalPositionFor(source, line, column, name) { + if (!source.map) { + return { column, line, name, source: source.source, content: source.content }; + } + const segment = traceSegment(source.map, line, column); + // If we couldn't find a segment, then this doesn't exist in the sourcemap. + if (segment == null) + return null; + // 1-length segments only move the current generated column, there's no source information + // to gather from it. + if (segment.length === 1) + return SOURCELESS_MAPPING; + return originalPositionFor(source.sources[segment[1]], segment[2], segment[3], segment.length === 5 ? source.map.names[segment[4]] : name); +} + +function asArray(value) { + if (Array.isArray(value)) + return value; + return [value]; +} +/** + * Recursively builds a tree structure out of sourcemap files, with each node + * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of + * `OriginalSource`s and `SourceMapTree`s. + * + * Every sourcemap is composed of a collection of source files and mappings + * into locations of those source files. When we generate a `SourceMapTree` for + * the sourcemap, we attempt to load each source file's own sourcemap. If it + * does not have an associated sourcemap, it is considered an original, + * unmodified source file. + */ +function buildSourceMapTree(input, loader) { + const maps = asArray(input).map((m) => new TraceMap(m, '')); + const map = maps.pop(); + for (let i = 0; i < maps.length; i++) { + if (maps[i].sources.length > 1) { + throw new Error(`Transformation map ${i} must have exactly one source file.\n` + + 'Did you specify these with the most recent transformation maps first?'); + } + } + let tree = build(map, loader, '', 0); + for (let i = maps.length - 1; i >= 0; i--) { + tree = MapSource(maps[i], [tree]); + } + return tree; +} +function build(map, loader, importer, importerDepth) { + const { resolvedSources, sourcesContent } = map; + const depth = importerDepth + 1; + const children = resolvedSources.map((sourceFile, i) => { + // The loading context gives the loader more information about why this file is being loaded + // (eg, from which importer). It also allows the loader to override the location of the loaded + // sourcemap/original source, or to override the content in the sourcesContent field if it's + // an unmodified source file. + const ctx = { + importer, + depth, + source: sourceFile || '', + content: undefined, + }; + // Use the provided loader callback to retrieve the file's sourcemap. + // TODO: We should eventually support async loading of sourcemap files. + const sourceMap = loader(ctx.source, ctx); + const { source, content } = ctx; + // If there is a sourcemap, then we need to recurse into it to load its source files. + if (sourceMap) + return build(new TraceMap(sourceMap, source), loader, source, depth); + // Else, it's an an unmodified source file. + // The contents of this unmodified source file can be overridden via the loader context, + // allowing it to be explicitly null or a string. If it remains undefined, we fall back to + // the importing sourcemap's `sourcesContent` field. + const sourceContent = content !== undefined ? content : sourcesContent ? sourcesContent[i] : null; + return OriginalSource(source, sourceContent); + }); + return MapSource(map, children); +} + +/** + * A SourceMap v3 compatible sourcemap, which only includes fields that were + * provided to it. + */ +class SourceMap { + constructor(map, options) { + const out = options.decodedMappings ? decodedMap(map) : encodedMap(map); + this.version = out.version; // SourceMap spec says this should be first. + this.file = out.file; + this.mappings = out.mappings; + this.names = out.names; + this.sourceRoot = out.sourceRoot; + this.sources = out.sources; + if (!options.excludeContent) { + this.sourcesContent = out.sourcesContent; + } + } + toString() { + return JSON.stringify(this); + } +} + +/** + * Traces through all the mappings in the root sourcemap, through the sources + * (and their sourcemaps), all the way back to the original source location. + * + * `loader` will be called every time we encounter a source file. If it returns + * a sourcemap, we will recurse into that sourcemap to continue the trace. If + * it returns a falsey value, that source file is treated as an original, + * unmodified source file. + * + * Pass `excludeContent` to exclude any self-containing source file content + * from the output sourcemap. + * + * Pass `decodedMappings` to receive a SourceMap with decoded (instead of + * VLQ encoded) mappings. + */ +function remapping(input, loader, options) { + const opts = typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false }; + const tree = buildSourceMapTree(input, loader); + return new SourceMap(traceMappings(tree), opts); +} + +export { remapping as default }; +//# sourceMappingURL=remapping.mjs.map diff --git a/node_modules/@ampproject/remapping/dist/remapping.mjs.map b/node_modules/@ampproject/remapping/dist/remapping.mjs.map new file mode 100644 index 00000000..54066bb5 --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/remapping.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"remapping.mjs","sources":["../../src/source-map-tree.ts","../../src/build-source-map-tree.ts","../../src/source-map.ts","../../src/remapping.ts"],"sourcesContent":[null,null,null,null],"names":[],"mappings":";;;AAqBA,MAAM,kBAAkB,GAAG;AACzB,IAAA,MAAM,EAAE,IAAI;AACZ,IAAA,MAAM,EAAE,IAAI;AACZ,IAAA,IAAI,EAAE,IAAI;AACV,IAAA,IAAI,EAAE,IAAI;AACV,IAAA,OAAO,EAAE,IAAI;CACd,CAAC;AACF,MAAM,aAAa,GAAc,EAAE,CAAC;AAkBpC,SAAS,MAAM,CACb,GAAoB,EACpB,OAAkB,EAClB,MAAc,EACd,OAAsB,EAAA;IAEtB,OAAO;QACL,GAAG;QACH,OAAO;QACP,MAAM;QACN,OAAO;KACD,CAAC;AACX,CAAC;AAED;;;AAGG;AACa,SAAA,SAAS,CAAC,GAAa,EAAE,OAAkB,EAAA;IACzD,OAAO,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;AACxC,CAAC;AAED;;;AAGG;AACa,SAAA,cAAc,CAAC,MAAc,EAAE,OAAsB,EAAA;IACnE,OAAO,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AACtD,CAAC;AAED;;;AAGG;AACG,SAAU,aAAa,CAAC,IAAe,EAAA;AAC3C,IAAA,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;IACpD,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAC3C,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC;AAC5B,IAAA,MAAM,YAAY,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;AAE1C,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC5C,QAAA,MAAM,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;QAEjC,IAAI,UAAU,GAAG,IAAI,CAAC;QACtB,IAAI,cAAc,GAAG,IAAI,CAAC;QAC1B,IAAI,gBAAgB,GAAG,IAAI,CAAC;AAE5B,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACxC,YAAA,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;AAC5B,YAAA,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;YAC1B,IAAI,MAAM,GAAkC,kBAAkB,CAAC;;;AAI/D,YAAA,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;gBACxB,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AACvC,gBAAA,MAAM,GAAG,mBAAmB,CAC1B,MAAM,EACN,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,MAAM,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAClD,CAAC;;;gBAIF,IAAI,MAAM,IAAI,IAAI;oBAAE,SAAS;AAC9B,aAAA;;;AAID,YAAA,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;YACvD,IAAI,IAAI,KAAK,cAAc,IAAI,MAAM,KAAK,gBAAgB,IAAI,MAAM,KAAK,UAAU,EAAE;gBACnF,SAAS;AACV,aAAA;YACD,cAAc,GAAG,IAAI,CAAC;YACtB,gBAAgB,GAAG,MAAM,CAAC;YAC1B,UAAU,GAAG,MAAM,CAAC;;AAGnB,YAAA,UAAkB,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;YAChE,IAAI,OAAO,IAAI,IAAI;AAAE,gBAAA,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAC7D,SAAA;AACF,KAAA;AAED,IAAA,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;;AAGG;AACG,SAAU,mBAAmB,CACjC,MAAe,EACf,IAAY,EACZ,MAAc,EACd,IAAY,EAAA;AAEZ,IAAA,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;AACf,QAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;AAC/E,KAAA;AAED,IAAA,MAAM,OAAO,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;;IAGvD,IAAI,OAAO,IAAI,IAAI;AAAE,QAAA,OAAO,IAAI,CAAC;;;AAGjC,IAAA,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;AAAE,QAAA,OAAO,kBAAkB,CAAC;IAEpD,OAAO,mBAAmB,CACxB,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAC1B,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,MAAM,KAAK,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAC3D,CAAC;AACJ;;AC1JA,SAAS,OAAO,CAAI,KAAc,EAAA;AAChC,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;AAAE,QAAA,OAAO,KAAK,CAAC;IACvC,OAAO,CAAC,KAAK,CAAC,CAAC;AACjB,CAAC;AAED;;;;;;;;;;AAUG;AACW,SAAU,kBAAkB,CACxC,KAAwC,EACxC,MAAuB,EAAA;IAEvB,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AAC5D,IAAA,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAG,CAAC;AAExB,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACpC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;AAC9B,YAAA,MAAM,IAAI,KAAK,CACb,CAAA,mBAAA,EAAsB,CAAC,CAAuC,qCAAA,CAAA;AAC5D,gBAAA,uEAAuE,CAC1E,CAAC;AACH,SAAA;AACF,KAAA;AAED,IAAA,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AACrC,IAAA,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;AACzC,QAAA,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACnC,KAAA;AACD,IAAA,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,KAAK,CACZ,GAAa,EACb,MAAuB,EACvB,QAAgB,EAChB,aAAqB,EAAA;AAErB,IAAA,MAAM,EAAE,eAAe,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC;AAEhD,IAAA,MAAM,KAAK,GAAG,aAAa,GAAG,CAAC,CAAC;IAChC,MAAM,QAAQ,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,UAAyB,EAAE,CAAS,KAAa;;;;;AAKrF,QAAA,MAAM,GAAG,GAAkB;YACzB,QAAQ;YACR,KAAK;YACL,MAAM,EAAE,UAAU,IAAI,EAAE;AACxB,YAAA,OAAO,EAAE,SAAS;SACnB,CAAC;;;QAIF,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE1C,QAAA,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;;AAGhC,QAAA,IAAI,SAAS;AAAE,YAAA,OAAO,KAAK,CAAC,IAAI,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;;;;;QAMpF,MAAM,aAAa,GACjB,OAAO,KAAK,SAAS,GAAG,OAAO,GAAG,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;AAC9E,QAAA,OAAO,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAC/C,KAAC,CAAC,CAAC;AAEH,IAAA,OAAO,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClC;;ACjFA;;;AAGG;AACW,MAAO,SAAS,CAAA;IAS5B,WAAY,CAAA,GAAe,EAAE,OAAgB,EAAA;AAC3C,QAAA,MAAM,GAAG,GAAG,OAAO,CAAC,eAAe,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;AAC3B,QAAA,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;AACrB,QAAA,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAiC,CAAC;AACtD,QAAA,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAA2B,CAAC;AAE7C,QAAA,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC;AAEjC,QAAA,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAA+B,CAAC;AACnD,QAAA,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE;AAC3B,YAAA,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAA6C,CAAC;AACzE,SAAA;KACF;IAED,QAAQ,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;KAC7B;AACF;;ACpBD;;;;;;;;;;;;;;AAcG;AACqB,SAAA,SAAS,CAC/B,KAAwC,EACxC,MAAuB,EACvB,OAA2B,EAAA;IAE3B,MAAM,IAAI,GACR,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,EAAE,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;IAChG,MAAM,IAAI,GAAG,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/C,OAAO,IAAI,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;AAClD;;;;"} \ No newline at end of file diff --git a/node_modules/@ampproject/remapping/dist/remapping.umd.js b/node_modules/@ampproject/remapping/dist/remapping.umd.js new file mode 100644 index 00000000..593c61d0 --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/remapping.umd.js @@ -0,0 +1,209 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@jridgewell/trace-mapping'), require('@jridgewell/gen-mapping')) : + typeof define === 'function' && define.amd ? define(['@jridgewell/trace-mapping', '@jridgewell/gen-mapping'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.remapping = factory(global.traceMapping, global.genMapping)); +})(this, (function (traceMapping, genMapping) { 'use strict'; + + const SOURCELESS_MAPPING = { + source: null, + column: null, + line: null, + name: null, + content: null, + }; + const EMPTY_SOURCES = []; + function Source(map, sources, source, content) { + return { + map, + sources, + source, + content, + }; + } + /** + * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes + * (which may themselves be SourceMapTrees). + */ + function MapSource(map, sources) { + return Source(map, sources, '', null); + } + /** + * A "leaf" node in the sourcemap tree, representing an original, unmodified source file. Recursive + * segment tracing ends at the `OriginalSource`. + */ + function OriginalSource(source, content) { + return Source(null, EMPTY_SOURCES, source, content); + } + /** + * traceMappings is only called on the root level SourceMapTree, and begins the process of + * resolving each mapping in terms of the original source files. + */ + function traceMappings(tree) { + const gen = new genMapping.GenMapping({ file: tree.map.file }); + const { sources: rootSources, map } = tree; + const rootNames = map.names; + const rootMappings = traceMapping.decodedMappings(map); + for (let i = 0; i < rootMappings.length; i++) { + const segments = rootMappings[i]; + let lastSource = null; + let lastSourceLine = null; + let lastSourceColumn = null; + for (let j = 0; j < segments.length; j++) { + const segment = segments[j]; + const genCol = segment[0]; + let traced = SOURCELESS_MAPPING; + // 1-length segments only move the current generated column, there's no source information + // to gather from it. + if (segment.length !== 1) { + const source = rootSources[segment[1]]; + traced = originalPositionFor(source, segment[2], segment[3], segment.length === 5 ? rootNames[segment[4]] : ''); + // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a + // respective segment into an original source. + if (traced == null) + continue; + } + // So we traced a segment down into its original source file. Now push a + // new segment pointing to this location. + const { column, line, name, content, source } = traced; + if (line === lastSourceLine && column === lastSourceColumn && source === lastSource) { + continue; + } + lastSourceLine = line; + lastSourceColumn = column; + lastSource = source; + // Sigh, TypeScript can't figure out source/line/column are either all null, or all non-null... + genMapping.addSegment(gen, i, genCol, source, line, column, name); + if (content != null) + genMapping.setSourceContent(gen, source, content); + } + } + return gen; + } + /** + * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own + * child SourceMapTrees, until we find the original source map. + */ + function originalPositionFor(source, line, column, name) { + if (!source.map) { + return { column, line, name, source: source.source, content: source.content }; + } + const segment = traceMapping.traceSegment(source.map, line, column); + // If we couldn't find a segment, then this doesn't exist in the sourcemap. + if (segment == null) + return null; + // 1-length segments only move the current generated column, there's no source information + // to gather from it. + if (segment.length === 1) + return SOURCELESS_MAPPING; + return originalPositionFor(source.sources[segment[1]], segment[2], segment[3], segment.length === 5 ? source.map.names[segment[4]] : name); + } + + function asArray(value) { + if (Array.isArray(value)) + return value; + return [value]; + } + /** + * Recursively builds a tree structure out of sourcemap files, with each node + * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of + * `OriginalSource`s and `SourceMapTree`s. + * + * Every sourcemap is composed of a collection of source files and mappings + * into locations of those source files. When we generate a `SourceMapTree` for + * the sourcemap, we attempt to load each source file's own sourcemap. If it + * does not have an associated sourcemap, it is considered an original, + * unmodified source file. + */ + function buildSourceMapTree(input, loader) { + const maps = asArray(input).map((m) => new traceMapping.TraceMap(m, '')); + const map = maps.pop(); + for (let i = 0; i < maps.length; i++) { + if (maps[i].sources.length > 1) { + throw new Error(`Transformation map ${i} must have exactly one source file.\n` + + 'Did you specify these with the most recent transformation maps first?'); + } + } + let tree = build(map, loader, '', 0); + for (let i = maps.length - 1; i >= 0; i--) { + tree = MapSource(maps[i], [tree]); + } + return tree; + } + function build(map, loader, importer, importerDepth) { + const { resolvedSources, sourcesContent } = map; + const depth = importerDepth + 1; + const children = resolvedSources.map((sourceFile, i) => { + // The loading context gives the loader more information about why this file is being loaded + // (eg, from which importer). It also allows the loader to override the location of the loaded + // sourcemap/original source, or to override the content in the sourcesContent field if it's + // an unmodified source file. + const ctx = { + importer, + depth, + source: sourceFile || '', + content: undefined, + }; + // Use the provided loader callback to retrieve the file's sourcemap. + // TODO: We should eventually support async loading of sourcemap files. + const sourceMap = loader(ctx.source, ctx); + const { source, content } = ctx; + // If there is a sourcemap, then we need to recurse into it to load its source files. + if (sourceMap) + return build(new traceMapping.TraceMap(sourceMap, source), loader, source, depth); + // Else, it's an an unmodified source file. + // The contents of this unmodified source file can be overridden via the loader context, + // allowing it to be explicitly null or a string. If it remains undefined, we fall back to + // the importing sourcemap's `sourcesContent` field. + const sourceContent = content !== undefined ? content : sourcesContent ? sourcesContent[i] : null; + return OriginalSource(source, sourceContent); + }); + return MapSource(map, children); + } + + /** + * A SourceMap v3 compatible sourcemap, which only includes fields that were + * provided to it. + */ + class SourceMap { + constructor(map, options) { + const out = options.decodedMappings ? genMapping.decodedMap(map) : genMapping.encodedMap(map); + this.version = out.version; // SourceMap spec says this should be first. + this.file = out.file; + this.mappings = out.mappings; + this.names = out.names; + this.sourceRoot = out.sourceRoot; + this.sources = out.sources; + if (!options.excludeContent) { + this.sourcesContent = out.sourcesContent; + } + } + toString() { + return JSON.stringify(this); + } + } + + /** + * Traces through all the mappings in the root sourcemap, through the sources + * (and their sourcemaps), all the way back to the original source location. + * + * `loader` will be called every time we encounter a source file. If it returns + * a sourcemap, we will recurse into that sourcemap to continue the trace. If + * it returns a falsey value, that source file is treated as an original, + * unmodified source file. + * + * Pass `excludeContent` to exclude any self-containing source file content + * from the output sourcemap. + * + * Pass `decodedMappings` to receive a SourceMap with decoded (instead of + * VLQ encoded) mappings. + */ + function remapping(input, loader, options) { + const opts = typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false }; + const tree = buildSourceMapTree(input, loader); + return new SourceMap(traceMappings(tree), opts); + } + + return remapping; + +})); +//# sourceMappingURL=remapping.umd.js.map diff --git a/node_modules/@ampproject/remapping/dist/remapping.umd.js.map b/node_modules/@ampproject/remapping/dist/remapping.umd.js.map new file mode 100644 index 00000000..726f2bcc --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/remapping.umd.js.map @@ -0,0 +1 @@ +{"version":3,"file":"remapping.umd.js","sources":["../../src/source-map-tree.ts","../../src/build-source-map-tree.ts","../../src/source-map.ts","../../src/remapping.ts"],"sourcesContent":[null,null,null,null],"names":["GenMapping","decodedMappings","addSegment","setSourceContent","traceSegment","TraceMap","decodedMap","encodedMap"],"mappings":";;;;;;IAqBA,MAAM,kBAAkB,GAAG;IACzB,IAAA,MAAM,EAAE,IAAI;IACZ,IAAA,MAAM,EAAE,IAAI;IACZ,IAAA,IAAI,EAAE,IAAI;IACV,IAAA,IAAI,EAAE,IAAI;IACV,IAAA,OAAO,EAAE,IAAI;KACd,CAAC;IACF,MAAM,aAAa,GAAc,EAAE,CAAC;IAkBpC,SAAS,MAAM,CACb,GAAoB,EACpB,OAAkB,EAClB,MAAc,EACd,OAAsB,EAAA;QAEtB,OAAO;YACL,GAAG;YACH,OAAO;YACP,MAAM;YACN,OAAO;SACD,CAAC;IACX,CAAC;IAED;;;IAGG;IACa,SAAA,SAAS,CAAC,GAAa,EAAE,OAAkB,EAAA;QACzD,OAAO,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;IAED;;;IAGG;IACa,SAAA,cAAc,CAAC,MAAc,EAAE,OAAsB,EAAA;QACnE,OAAO,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;;IAGG;IACG,SAAU,aAAa,CAAC,IAAe,EAAA;IAC3C,IAAA,MAAM,GAAG,GAAG,IAAIA,qBAAU,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;QACpD,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3C,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC;IAC5B,IAAA,MAAM,YAAY,GAAGC,4BAAe,CAAC,GAAG,CAAC,CAAC;IAE1C,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;IAC5C,QAAA,MAAM,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;YAEjC,IAAI,UAAU,GAAG,IAAI,CAAC;YACtB,IAAI,cAAc,GAAG,IAAI,CAAC;YAC1B,IAAI,gBAAgB,GAAG,IAAI,CAAC;IAE5B,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;IACxC,YAAA,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC5B,YAAA,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;gBAC1B,IAAI,MAAM,GAAkC,kBAAkB,CAAC;;;IAI/D,YAAA,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;oBACxB,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,gBAAA,MAAM,GAAG,mBAAmB,CAC1B,MAAM,EACN,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,MAAM,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAClD,CAAC;;;oBAIF,IAAI,MAAM,IAAI,IAAI;wBAAE,SAAS;IAC9B,aAAA;;;IAID,YAAA,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;gBACvD,IAAI,IAAI,KAAK,cAAc,IAAI,MAAM,KAAK,gBAAgB,IAAI,MAAM,KAAK,UAAU,EAAE;oBACnF,SAAS;IACV,aAAA;gBACD,cAAc,GAAG,IAAI,CAAC;gBACtB,gBAAgB,GAAG,MAAM,CAAC;gBAC1B,UAAU,GAAG,MAAM,CAAC;;IAGnB,YAAAC,qBAAkB,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;gBAChE,IAAI,OAAO,IAAI,IAAI;IAAE,gBAAAC,2BAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7D,SAAA;IACF,KAAA;IAED,IAAA,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;IAGG;IACG,SAAU,mBAAmB,CACjC,MAAe,EACf,IAAY,EACZ,MAAc,EACd,IAAY,EAAA;IAEZ,IAAA,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;IACf,QAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;IAC/E,KAAA;IAED,IAAA,MAAM,OAAO,GAAGC,yBAAY,CAAC,MAAM,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;;QAGvD,IAAI,OAAO,IAAI,IAAI;IAAE,QAAA,OAAO,IAAI,CAAC;;;IAGjC,IAAA,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;IAAE,QAAA,OAAO,kBAAkB,CAAC;QAEpD,OAAO,mBAAmB,CACxB,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAC1B,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,CAAC,CAAC,EACV,OAAO,CAAC,MAAM,KAAK,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAC3D,CAAC;IACJ;;IC1JA,SAAS,OAAO,CAAI,KAAc,EAAA;IAChC,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;IAAE,QAAA,OAAO,KAAK,CAAC;QACvC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAED;;;;;;;;;;IAUG;IACW,SAAU,kBAAkB,CACxC,KAAwC,EACxC,MAAuB,EAAA;QAEvB,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAIC,qBAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IAC5D,IAAA,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAG,CAAC;IAExB,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACpC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;IAC9B,YAAA,MAAM,IAAI,KAAK,CACb,CAAA,mBAAA,EAAsB,CAAC,CAAuC,qCAAA,CAAA;IAC5D,gBAAA,uEAAuE,CAC1E,CAAC;IACH,SAAA;IACF,KAAA;IAED,IAAA,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IACrC,IAAA,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;IACzC,QAAA,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IACnC,KAAA;IACD,IAAA,OAAO,IAAI,CAAC;IACd,CAAC;IAED,SAAS,KAAK,CACZ,GAAa,EACb,MAAuB,EACvB,QAAgB,EAChB,aAAqB,EAAA;IAErB,IAAA,MAAM,EAAE,eAAe,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC;IAEhD,IAAA,MAAM,KAAK,GAAG,aAAa,GAAG,CAAC,CAAC;QAChC,MAAM,QAAQ,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,UAAyB,EAAE,CAAS,KAAa;;;;;IAKrF,QAAA,MAAM,GAAG,GAAkB;gBACzB,QAAQ;gBACR,KAAK;gBACL,MAAM,EAAE,UAAU,IAAI,EAAE;IACxB,YAAA,OAAO,EAAE,SAAS;aACnB,CAAC;;;YAIF,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE1C,QAAA,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;;IAGhC,QAAA,IAAI,SAAS;IAAE,YAAA,OAAO,KAAK,CAAC,IAAIA,qBAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;;;;;YAMpF,MAAM,aAAa,GACjB,OAAO,KAAK,SAAS,GAAG,OAAO,GAAG,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAC9E,QAAA,OAAO,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAC/C,KAAC,CAAC,CAAC;IAEH,IAAA,OAAO,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAClC;;ICjFA;;;IAGG;IACW,MAAO,SAAS,CAAA;QAS5B,WAAY,CAAA,GAAe,EAAE,OAAgB,EAAA;IAC3C,QAAA,MAAM,GAAG,GAAG,OAAO,CAAC,eAAe,GAAGC,qBAAU,CAAC,GAAG,CAAC,GAAGC,qBAAU,CAAC,GAAG,CAAC,CAAC;YACxE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;IAC3B,QAAA,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;IACrB,QAAA,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAiC,CAAC;IACtD,QAAA,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAA2B,CAAC;IAE7C,QAAA,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC;IAEjC,QAAA,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAA+B,CAAC;IACnD,QAAA,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE;IAC3B,YAAA,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAA6C,CAAC;IACzE,SAAA;SACF;QAED,QAAQ,GAAA;IACN,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;SAC7B;IACF;;ICpBD;;;;;;;;;;;;;;IAcG;IACqB,SAAA,SAAS,CAC/B,KAAwC,EACxC,MAAuB,EACvB,OAA2B,EAAA;QAE3B,MAAM,IAAI,GACR,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,EAAE,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;QAChG,MAAM,IAAI,GAAG,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAC/C,OAAO,IAAI,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAClD;;;;;;;;"} \ No newline at end of file diff --git a/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts b/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts new file mode 100644 index 00000000..f87fceab --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts @@ -0,0 +1,14 @@ +import type { MapSource as MapSourceType } from './source-map-tree'; +import type { SourceMapInput, SourceMapLoader } from './types'; +/** + * Recursively builds a tree structure out of sourcemap files, with each node + * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of + * `OriginalSource`s and `SourceMapTree`s. + * + * Every sourcemap is composed of a collection of source files and mappings + * into locations of those source files. When we generate a `SourceMapTree` for + * the sourcemap, we attempt to load each source file's own sourcemap. If it + * does not have an associated sourcemap, it is considered an original, + * unmodified source file. + */ +export default function buildSourceMapTree(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader): MapSourceType; diff --git a/node_modules/@ampproject/remapping/dist/types/remapping.d.ts b/node_modules/@ampproject/remapping/dist/types/remapping.d.ts new file mode 100644 index 00000000..0b58ea9a --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/types/remapping.d.ts @@ -0,0 +1,19 @@ +import SourceMap from './source-map'; +import type { SourceMapInput, SourceMapLoader, Options } from './types'; +export type { SourceMapSegment, EncodedSourceMap, EncodedSourceMap as RawSourceMap, DecodedSourceMap, SourceMapInput, SourceMapLoader, LoaderContext, Options, } from './types'; +/** + * Traces through all the mappings in the root sourcemap, through the sources + * (and their sourcemaps), all the way back to the original source location. + * + * `loader` will be called every time we encounter a source file. If it returns + * a sourcemap, we will recurse into that sourcemap to continue the trace. If + * it returns a falsey value, that source file is treated as an original, + * unmodified source file. + * + * Pass `excludeContent` to exclude any self-containing source file content + * from the output sourcemap. + * + * Pass `decodedMappings` to receive a SourceMap with decoded (instead of + * VLQ encoded) mappings. + */ +export default function remapping(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader, options?: boolean | Options): SourceMap; diff --git a/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts b/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts new file mode 100644 index 00000000..3b6b1bfd --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts @@ -0,0 +1,48 @@ +import { GenMapping } from '@jridgewell/gen-mapping'; +import type { TraceMap } from '@jridgewell/trace-mapping'; +export declare type SourceMapSegmentObject = { + column: number; + line: number; + name: string; + source: string; + content: string | null; +} | { + column: null; + line: null; + name: null; + source: null; + content: null; +}; +export declare type OriginalSource = { + map: TraceMap; + sources: Sources[]; + source: string; + content: string | null; +}; +export declare type MapSource = { + map: TraceMap; + sources: Sources[]; + source: string; + content: string | null; +}; +export declare type Sources = OriginalSource | MapSource; +/** + * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes + * (which may themselves be SourceMapTrees). + */ +export declare function MapSource(map: TraceMap, sources: Sources[]): MapSource; +/** + * A "leaf" node in the sourcemap tree, representing an original, unmodified source file. Recursive + * segment tracing ends at the `OriginalSource`. + */ +export declare function OriginalSource(source: string, content: string | null): OriginalSource; +/** + * traceMappings is only called on the root level SourceMapTree, and begins the process of + * resolving each mapping in terms of the original source files. + */ +export declare function traceMappings(tree: MapSource): GenMapping; +/** + * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own + * child SourceMapTrees, until we find the original source map. + */ +export declare function originalPositionFor(source: Sources, line: number, column: number, name: string): SourceMapSegmentObject | null; diff --git a/node_modules/@ampproject/remapping/dist/types/source-map.d.ts b/node_modules/@ampproject/remapping/dist/types/source-map.d.ts new file mode 100644 index 00000000..ef999b75 --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/types/source-map.d.ts @@ -0,0 +1,17 @@ +import type { GenMapping } from '@jridgewell/gen-mapping'; +import type { DecodedSourceMap, EncodedSourceMap, Options } from './types'; +/** + * A SourceMap v3 compatible sourcemap, which only includes fields that were + * provided to it. + */ +export default class SourceMap { + file?: string | null; + mappings: EncodedSourceMap['mappings'] | DecodedSourceMap['mappings']; + sourceRoot?: string; + names: string[]; + sources: (string | null)[]; + sourcesContent?: (string | null)[]; + version: 3; + constructor(map: GenMapping, options: Options); + toString(): string; +} diff --git a/node_modules/@ampproject/remapping/dist/types/types.d.ts b/node_modules/@ampproject/remapping/dist/types/types.d.ts new file mode 100644 index 00000000..730a9637 --- /dev/null +++ b/node_modules/@ampproject/remapping/dist/types/types.d.ts @@ -0,0 +1,14 @@ +import type { SourceMapInput } from '@jridgewell/trace-mapping'; +export type { SourceMapSegment, DecodedSourceMap, EncodedSourceMap, } from '@jridgewell/trace-mapping'; +export type { SourceMapInput }; +export declare type LoaderContext = { + readonly importer: string; + readonly depth: number; + source: string; + content: string | null | undefined; +}; +export declare type SourceMapLoader = (file: string, ctx: LoaderContext) => SourceMapInput | null | undefined | void; +export declare type Options = { + excludeContent?: boolean; + decodedMappings?: boolean; +}; diff --git a/node_modules/@ampproject/remapping/package.json b/node_modules/@ampproject/remapping/package.json new file mode 100644 index 00000000..bf97a851 --- /dev/null +++ b/node_modules/@ampproject/remapping/package.json @@ -0,0 +1,63 @@ +{ + "name": "@ampproject/remapping", + "version": "2.2.0", + "description": "Remap sequential sourcemaps through transformations to point at the original source code", + "keywords": [ + "source", + "map", + "remap" + ], + "main": "dist/remapping.umd.js", + "module": "dist/remapping.mjs", + "typings": "dist/types/remapping.d.ts", + "files": [ + "dist" + ], + "author": "Justin Ridgewell ", + "repository": { + "type": "git", + "url": "git+https://github.com/ampproject/remapping.git" + }, + "license": "Apache-2.0", + "engines": { + "node": ">=6.0.0" + }, + "scripts": { + "build": "run-s -n build:*", + "build:rollup": "rollup -c rollup.config.js", + "build:ts": "tsc --project tsconfig.build.json", + "lint": "run-s -n lint:*", + "lint:prettier": "npm run test:lint:prettier -- --write", + "lint:ts": "npm run test:lint:ts -- --fix", + "prebuild": "rm -rf dist", + "prepublishOnly": "npm run preversion", + "preversion": "run-s test build", + "test": "run-s -n test:lint test:only", + "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand", + "test:lint": "run-s -n test:lint:*", + "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'", + "test:lint:ts": "eslint '{src,test}/**/*.ts'", + "test:only": "jest --coverage", + "test:watch": "jest --coverage --watch" + }, + "devDependencies": { + "@rollup/plugin-typescript": "8.3.2", + "@types/jest": "27.4.1", + "@typescript-eslint/eslint-plugin": "5.20.0", + "@typescript-eslint/parser": "5.20.0", + "eslint": "8.14.0", + "eslint-config-prettier": "8.5.0", + "jest": "27.5.1", + "jest-config": "27.5.1", + "npm-run-all": "4.1.5", + "prettier": "2.6.2", + "rollup": "2.70.2", + "ts-jest": "27.1.4", + "tslib": "2.4.0", + "typescript": "4.6.3" + }, + "dependencies": { + "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/trace-mapping": "^0.3.9" + } +} diff --git a/node_modules/@babel/code-frame/package.json b/node_modules/@babel/code-frame/package.json index ee1b3820..18d8db12 100644 --- a/node_modules/@babel/code-frame/package.json +++ b/node_modules/@babel/code-frame/package.json @@ -1,6 +1,6 @@ { "name": "@babel/code-frame", - "version": "7.16.7", + "version": "7.18.6", "description": "Generate errors that contain a code frame that point to source locations.", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-code-frame", @@ -16,7 +16,7 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/highlight": "^7.16.7" + "@babel/highlight": "^7.18.6" }, "devDependencies": { "@types/chalk": "^2.0.0", @@ -25,5 +25,6 @@ }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/compat-data/data/corejs2-built-ins.json b/node_modules/@babel/compat-data/data/corejs2-built-ins.json index 72c5f3ad..b9e4cfe3 100644 --- a/node_modules/@babel/compat-data/data/corejs2-built-ins.json +++ b/node_modules/@babel/compat-data/data/corejs2-built-ins.json @@ -17,11 +17,11 @@ "edge": "12", "firefox": "2", "safari": "3.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -90,11 +90,11 @@ "edge": "12", "firefox": "2", "safari": "3.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -114,7 +114,7 @@ "chrome": "47", "opera": "34", "edge": "14", - "firefox": "43", + "firefox": "102", "safari": "10", "node": "6", "ios": "10", @@ -127,11 +127,11 @@ "edge": "12", "firefox": "2", "safari": "3.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -142,11 +142,11 @@ "edge": "12", "firefox": "4", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -169,11 +169,11 @@ "edge": "12", "firefox": "2", "safari": "3.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -207,11 +207,11 @@ "edge": "12", "firefox": "3", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -222,11 +222,11 @@ "edge": "12", "firefox": "3", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -248,11 +248,11 @@ "edge": "12", "firefox": "2", "safari": "3.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -287,11 +287,11 @@ "edge": "12", "firefox": "2", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -302,11 +302,11 @@ "edge": "12", "firefox": "3.5", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -317,7 +317,7 @@ "edge": "12", "firefox": "4", "safari": "10", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "10", @@ -342,11 +342,11 @@ "edge": "12", "firefox": "2", "safari": "3.1", - "node": "0.10", + "node": "0.4", "ie": "10", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -357,11 +357,11 @@ "edge": "12", "firefox": "4", "safari": "5.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -383,10 +383,10 @@ "edge": "14", "firefox": "2", "safari": "4", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -628,6 +628,7 @@ "node": "0.12", "ios": "9", "samsung": "2", + "rhino": "1.7.14", "electron": "0.20" }, "es6.number.is-finite": { @@ -636,7 +637,7 @@ "edge": "12", "firefox": "16", "safari": "9", - "node": "0.12", + "node": "0.8", "android": "4.1", "ios": "9", "samsung": "1.5", @@ -661,7 +662,7 @@ "edge": "12", "firefox": "15", "safari": "9", - "node": "0.12", + "node": "0.8", "android": "4.1", "ios": "9", "samsung": "1.5", @@ -713,6 +714,7 @@ "node": "0.12", "ios": "9", "samsung": "2", + "rhino": "1.7.14", "electron": "0.20" }, "es6.number.parse-int": { @@ -724,6 +726,7 @@ "node": "0.12", "ios": "9", "samsung": "2", + "rhino": "1.7.14", "electron": "0.20" }, "es6.object.assign": { @@ -743,11 +746,11 @@ "edge": "12", "firefox": "4", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -780,11 +783,11 @@ "edge": "12", "firefox": "4", "safari": "5.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -795,11 +798,11 @@ "edge": "12", "firefox": "4", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -813,6 +816,7 @@ "node": "7", "ios": "10.3", "samsung": "6", + "rhino": "1.7.14", "electron": "1.4" }, "es6.object.freeze": { @@ -925,7 +929,7 @@ "edge": "12", "firefox": "22", "safari": "9", - "node": "0.12", + "node": "0.8", "android": "4.1", "ios": "9", "samsung": "1.5", @@ -1014,6 +1018,7 @@ "node": "7", "ios": "10.3", "samsung": "6", + "rhino": "1.7.14", "electron": "1.4" }, "es6.promise": { @@ -1299,11 +1304,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.big": { @@ -1312,11 +1318,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.blink": { @@ -1325,11 +1332,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.bold": { @@ -1338,11 +1346,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.code-point-at": { @@ -1375,11 +1384,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.fontcolor": { @@ -1388,11 +1398,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.fontsize": { @@ -1401,11 +1412,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.from-code-point": { @@ -1438,11 +1450,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.iterator": { @@ -1463,11 +1476,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es7.string.pad-start": { @@ -1503,6 +1517,7 @@ "node": "4", "ios": "9", "samsung": "3.4", + "rhino": "1.7.14", "electron": "0.21" }, "es6.string.repeat": { @@ -1523,11 +1538,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.starts-with": { @@ -1548,11 +1564,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.sub": { @@ -1561,11 +1578,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.sup": { @@ -1574,11 +1592,12 @@ "edge": "12", "firefox": "17", "safari": "6", - "node": "0.10", + "node": "0.4", "android": "4", "ios": "7", - "phantom": "2", + "phantom": "1.9", "samsung": "1", + "rhino": "1.7.14", "electron": "0.20" }, "es6.string.trim": { @@ -1587,11 +1606,11 @@ "edge": "12", "firefox": "3.5", "safari": "4", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -1637,11 +1656,11 @@ "edge": "12", "firefox": "15", "safari": "5.1", - "node": "0.10", + "node": "0.4", "ie": "10", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" diff --git a/node_modules/@babel/compat-data/data/plugin-bugfixes.json b/node_modules/@babel/compat-data/data/plugin-bugfixes.json index dcac5356..a16d707d 100644 --- a/node_modules/@babel/compat-data/data/plugin-bugfixes.json +++ b/node_modules/@babel/compat-data/data/plugin-bugfixes.json @@ -1,15 +1,4 @@ { - "transform-async-to-generator": { - "chrome": "55", - "opera": "42", - "edge": "15", - "firefox": "52", - "safari": "10.1", - "node": "7.6", - "ios": "10.3", - "samsung": "6", - "electron": "1.6" - }, "bugfix/transform-async-arrows-in-class": { "chrome": "55", "opera": "42", @@ -21,17 +10,6 @@ "samsung": "6", "electron": "1.6" }, - "transform-parameters": { - "chrome": "49", - "opera": "36", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, "bugfix/transform-edge-default-parameters": { "chrome": "49", "opera": "36", @@ -43,17 +21,6 @@ "samsung": "5", "electron": "0.37" }, - "transform-function-name": { - "chrome": "51", - "opera": "38", - "edge": "14", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, "bugfix/transform-edge-function-name": { "chrome": "51", "opera": "38", @@ -65,17 +32,6 @@ "samsung": "5", "electron": "1.2" }, - "transform-block-scoping": { - "chrome": "49", - "opera": "36", - "edge": "14", - "firefox": "51", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, "bugfix/transform-safari-block-shadowing": { "chrome": "49", "opera": "36", @@ -108,20 +64,8 @@ "firefox": "2", "node": "6", "samsung": "5", - "rhino": "1.7.13", "electron": "0.37" }, - "transform-template-literals": { - "chrome": "41", - "opera": "28", - "edge": "13", - "firefox": "34", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "electron": "0.21" - }, "bugfix/transform-tagged-template-caching": { "chrome": "41", "opera": "28", @@ -131,8 +75,19 @@ "node": "4", "ios": "13", "samsung": "3.4", + "rhino": "1.7.14", "electron": "0.21" }, + "bugfix/transform-v8-spread-parameters-in-optional-chaining": { + "chrome": "91", + "opera": "77", + "edge": "91", + "firefox": "74", + "safari": "13.1", + "node": "16.9", + "ios": "13.4", + "electron": "13.0" + }, "proposal-optional-chaining": { "chrome": "80", "opera": "67", @@ -144,14 +99,59 @@ "samsung": "13", "electron": "8.0" }, - "bugfix/transform-v8-spread-parameters-in-optional-chaining": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "74", - "safari": "13.1", - "node": "16.9", - "ios": "13.4", - "electron": "13.0" + "transform-parameters": { + "chrome": "49", + "opera": "36", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "transform-async-to-generator": { + "chrome": "55", + "opera": "42", + "edge": "15", + "firefox": "52", + "safari": "10.1", + "node": "7.6", + "ios": "10.3", + "samsung": "6", + "electron": "1.6" + }, + "transform-template-literals": { + "chrome": "41", + "opera": "28", + "edge": "13", + "firefox": "34", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "transform-function-name": { + "chrome": "51", + "opera": "38", + "edge": "14", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "transform-block-scoping": { + "chrome": "49", + "opera": "36", + "edge": "14", + "firefox": "51", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" } } diff --git a/node_modules/@babel/compat-data/data/plugins.json b/node_modules/@babel/compat-data/data/plugins.json index ce3f3f3f..96c64cab 100644 --- a/node_modules/@babel/compat-data/data/plugins.json +++ b/node_modules/@babel/compat-data/data/plugins.json @@ -4,7 +4,8 @@ "opera": "80", "edge": "94", "firefox": "93", - "node": "16.11" + "node": "16.11", + "electron": "15.0" }, "proposal-private-property-in-object": { "chrome": "91", @@ -47,6 +48,7 @@ "node": "12.5", "ios": "13", "samsung": "11", + "rhino": "1.7.14", "electron": "6.0" }, "proposal-logical-assignment-operators": { @@ -90,6 +92,7 @@ "node": "10", "ios": "12", "samsung": "9", + "rhino": "1.7.14", "electron": "3.0" }, "proposal-optional-catch-binding": { @@ -187,6 +190,7 @@ "node": "7", "ios": "10.3", "samsung": "6", + "rhino": "1.7.14", "electron": "1.3" }, "transform-template-literals": { @@ -277,6 +281,7 @@ "node": "4", "ios": "9", "samsung": "4", + "rhino": "1.7.14", "electron": "0.27" }, "transform-duplicate-keys": { @@ -418,11 +423,11 @@ "edge": "12", "firefox": "2", "safari": "5.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -433,11 +438,11 @@ "edge": "12", "firefox": "2", "safari": "5.1", - "node": "0.10", + "node": "0.4", "ie": "9", "android": "4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" @@ -448,11 +453,11 @@ "edge": "12", "firefox": "2", "safari": "3.1", - "node": "0.10", + "node": "0.6", "ie": "9", "android": "4.4", "ios": "6", - "phantom": "2", + "phantom": "1.9", "samsung": "1", "rhino": "1.7.13", "electron": "0.20" diff --git a/node_modules/@babel/compat-data/package.json b/node_modules/@babel/compat-data/package.json index 805e79c1..2bfa7825 100644 --- a/node_modules/@babel/compat-data/package.json +++ b/node_modules/@babel/compat-data/package.json @@ -1,6 +1,6 @@ { "name": "@babel/compat-data", - "version": "7.16.8", + "version": "7.18.6", "author": "The Babel Team (https://babel.dev/team)", "license": "MIT", "description": "", @@ -30,10 +30,11 @@ ], "devDependencies": { "@mdn/browser-compat-data": "^4.0.10", - "core-js-compat": "^3.20.2", - "electron-to-chromium": "^1.3.893" + "core-js-compat": "^3.22.1", + "electron-to-chromium": "^1.4.113" }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/cache-contexts.js b/node_modules/@babel/core/lib/config/cache-contexts.js index e69de29b..d28d24ce 100644 --- a/node_modules/@babel/core/lib/config/cache-contexts.js +++ b/node_modules/@babel/core/lib/config/cache-contexts.js @@ -0,0 +1 @@ +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/caching.js b/node_modules/@babel/core/lib/config/caching.js index 16c6e9ed..22bc72e3 100644 --- a/node_modules/@babel/core/lib/config/caching.js +++ b/node_modules/@babel/core/lib/config/caching.js @@ -322,4 +322,6 @@ class Lock { this._resolve(value); } -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/config-chain.js b/node_modules/@babel/core/lib/config/config-chain.js index aa5c5f22..dce70e1f 100644 --- a/node_modules/@babel/core/lib/config/config-chain.js +++ b/node_modules/@babel/core/lib/config/config-chain.js @@ -561,4 +561,6 @@ function matchPattern(pattern, dirname, pathToTest, context) { } return pattern.test(pathToTest); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/config-descriptors.js b/node_modules/@babel/core/lib/config/config-descriptors.js index 2f0a7a58..82d80b38 100644 --- a/node_modules/@babel/core/lib/config/config-descriptors.js +++ b/node_modules/@babel/core/lib/config/config-descriptors.js @@ -241,4 +241,6 @@ function assertNoDuplicates(items) { nameMap.add(item.name); } -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/configuration.js b/node_modules/@babel/core/lib/config/files/configuration.js index f6cbf0c6..6a4ad781 100644 --- a/node_modules/@babel/core/lib/config/files/configuration.js +++ b/node_modules/@babel/core/lib/config/files/configuration.js @@ -355,4 +355,6 @@ module.exports = function(api) { // Return the value that will be cached. return { }; };`); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/import-meta-resolve.js b/node_modules/@babel/core/lib/config/files/import-meta-resolve.js index 6e1c9056..63e19ad6 100644 --- a/node_modules/@babel/core/lib/config/files/import-meta-resolve.js +++ b/node_modules/@babel/core/lib/config/files/import-meta-resolve.js @@ -38,4 +38,6 @@ function _resolve() { return (yield importMetaResolveP)(specifier, parent); }); return _resolve.apply(this, arguments); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/import.js b/node_modules/@babel/core/lib/config/files/import.js index c0acc2b6..b760227c 100644 --- a/node_modules/@babel/core/lib/config/files/import.js +++ b/node_modules/@babel/core/lib/config/files/import.js @@ -7,4 +7,6 @@ exports.default = import_; function import_(filepath) { return import(filepath); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/index-browser.js b/node_modules/@babel/core/lib/config/files/index-browser.js index c73168bf..023adbe8 100644 --- a/node_modules/@babel/core/lib/config/files/index-browser.js +++ b/node_modules/@babel/core/lib/config/files/index-browser.js @@ -64,4 +64,6 @@ function loadPlugin(name, dirname) { function loadPreset(name, dirname) { throw new Error(`Cannot load preset ${name} relative to ${dirname} in a browser`); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/index.js b/node_modules/@babel/core/lib/config/files/index.js index 075410c0..cc93307c 100644 --- a/node_modules/@babel/core/lib/config/files/index.js +++ b/node_modules/@babel/core/lib/config/files/index.js @@ -83,4 +83,5 @@ exports.resolvePlugin = resolvePlugin; const resolvePreset = _gensync()(plugins.resolvePreset).sync; -exports.resolvePreset = resolvePreset; \ No newline at end of file +exports.resolvePreset = resolvePreset; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/module-types.js b/node_modules/@babel/core/lib/config/files/module-types.js index 35d8220a..dea3354c 100644 --- a/node_modules/@babel/core/lib/config/files/module-types.js +++ b/node_modules/@babel/core/lib/config/files/module-types.js @@ -38,6 +38,16 @@ function _module() { return data; } +function _semver() { + const data = require("semver"); + + _semver = function () { + return data; + }; + + return data; +} + function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -48,7 +58,8 @@ try { import_ = require("./import").default; } catch (_unused) {} -const supportsESM = !!import_; +const supportsESM = _semver().satisfies(process.versions.node, "^12.17 || >=13.2"); + exports.supportsESM = supportsESM; function* loadCjsOrMjsDefault(filepath, asyncError, fallbackToTranspiledModule = false) { @@ -105,4 +116,6 @@ function _loadMjsDefault() { return module.default; }); return _loadMjsDefault.apply(this, arguments); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/package.js b/node_modules/@babel/core/lib/config/files/package.js index 0e08bfe3..c6b7f474 100644 --- a/node_modules/@babel/core/lib/config/files/package.js +++ b/node_modules/@babel/core/lib/config/files/package.js @@ -73,4 +73,5 @@ const readConfigPackage = (0, _utils.makeStaticFileCache)((filepath, content) => dirname: _path().dirname(filepath), options }; -}); \ No newline at end of file +}); +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/plugins.js b/node_modules/@babel/core/lib/config/files/plugins.js index 8af6e495..8cfa436a 100644 --- a/node_modules/@babel/core/lib/config/files/plugins.js +++ b/node_modules/@babel/core/lib/config/files/plugins.js @@ -187,7 +187,7 @@ function _tryImportMetaResolve() { return _tryImportMetaResolve.apply(this, arguments); } -function resolveStandardizedNameForRequrie(type, name, dirname) { +function resolveStandardizedNameForRequire(type, name, dirname) { const it = resolveAlternativesHelper(type, name); let res = it.next(); @@ -221,20 +221,20 @@ function _resolveStandardizedNameForImport() { const resolveStandardizedName = _gensync()({ sync(type, name, dirname = process.cwd()) { - return resolveStandardizedNameForRequrie(type, name, dirname); + return resolveStandardizedNameForRequire(type, name, dirname); }, async(type, name, dirname = process.cwd()) { return _asyncToGenerator(function* () { if (!_moduleTypes.supportsESM) { - return resolveStandardizedNameForRequrie(type, name, dirname); + return resolveStandardizedNameForRequire(type, name, dirname); } try { return yield resolveStandardizedNameForImport(type, name, dirname); } catch (e) { try { - return resolveStandardizedNameForRequrie(type, name, dirname); + return resolveStandardizedNameForRequire(type, name, dirname); } catch (e2) { if (e.type === "MODULE_NOT_FOUND") throw e; if (e2.type === "MODULE_NOT_FOUND") throw e2; @@ -270,4 +270,6 @@ function* requireModule(type, name) { LOADING_MODULES.delete(name); } } -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/types.js b/node_modules/@babel/core/lib/config/files/types.js index e69de29b..d28d24ce 100644 --- a/node_modules/@babel/core/lib/config/files/types.js +++ b/node_modules/@babel/core/lib/config/files/types.js @@ -0,0 +1 @@ +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/utils.js b/node_modules/@babel/core/lib/config/files/utils.js index 6da68c0a..84dbe02b 100644 --- a/node_modules/@babel/core/lib/config/files/utils.js +++ b/node_modules/@babel/core/lib/config/files/utils.js @@ -41,4 +41,6 @@ function fileMtime(filepath) { } return null; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/full.js b/node_modules/@babel/core/lib/config/full.js index a583dd69..cab5fd6c 100644 --- a/node_modules/@babel/core/lib/config/full.js +++ b/node_modules/@babel/core/lib/config/full.js @@ -27,6 +27,8 @@ var _item = require("./item"); var _configChain = require("./config-chain"); +var _deepArray = require("./helpers/deep-array"); + function _traverse() { const data = require("@babel/traverse"); @@ -96,6 +98,7 @@ var _default = _gensync()(function* loadFullConfig(inputOpts) { const initialPluginsDescriptors = plugins.map(toDescriptor); const pluginDescriptorsByPass = [[]]; const passes = []; + const externalDependencies = []; const ignored = yield* enhanceError(context, function* recursePresetDescriptors(rawPresets, pluginDescriptorsPass) { const presets = []; @@ -104,17 +107,7 @@ var _default = _gensync()(function* loadFullConfig(inputOpts) { if (descriptor.options !== false) { try { - if (descriptor.ownPass) { - presets.push({ - preset: yield* loadPresetDescriptor(descriptor, presetContext), - pass: [] - }); - } else { - presets.unshift({ - preset: yield* loadPresetDescriptor(descriptor, presetContext), - pass: pluginDescriptorsPass - }); - } + var preset = yield* loadPresetDescriptor(descriptor, presetContext); } catch (e) { if (e.code === "BABEL_UNKNOWN_OPTION") { (0, _options.checkNoUnwrappedItemOptionPairs)(rawPresets, i, "preset", e); @@ -122,6 +115,20 @@ var _default = _gensync()(function* loadFullConfig(inputOpts) { throw e; } + + externalDependencies.push(preset.externalDependencies); + + if (descriptor.ownPass) { + presets.push({ + preset: preset.chain, + pass: [] + }); + } else { + presets.unshift({ + preset: preset.chain, + pass: pluginDescriptorsPass + }); + } } } @@ -160,7 +167,7 @@ var _default = _gensync()(function* loadFullConfig(inputOpts) { if (descriptor.options !== false) { try { - pass.push(yield* loadPluginDescriptor(descriptor, pluginContext)); + var plugin = yield* loadPluginDescriptor(descriptor, pluginContext); } catch (e) { if (e.code === "BABEL_UNKNOWN_PLUGIN_PROPERTY") { (0, _options.checkNoUnwrappedItemOptionPairs)(descs, i, "plugin", e); @@ -168,6 +175,9 @@ var _default = _gensync()(function* loadFullConfig(inputOpts) { throw e; } + + pass.push(plugin); + externalDependencies.push(plugin.externalDependencies); } } } @@ -179,7 +189,8 @@ var _default = _gensync()(function* loadFullConfig(inputOpts) { opts.passPerPreset = opts.presets.length > 0; return { options: opts, - passes: passes + passes: passes, + externalDependencies: (0, _deepArray.finalize)(externalDependencies) }; }); @@ -207,11 +218,12 @@ const makeDescriptorLoader = apiFactory => (0, _caching.makeWeakCache)(function* }, cache) { if (options === false) throw new Error("Assertion failure"); options = options || {}; + const externalDependencies = []; let item = value; if (typeof value === "function") { const factory = (0, _async.maybeAsync)(value, `You appear to be using an async plugin/preset, but Babel has been called synchronously`); - const api = Object.assign({}, context, apiFactory(cache)); + const api = Object.assign({}, context, apiFactory(cache, externalDependencies)); try { item = yield* factory(api, options, dirname); @@ -233,11 +245,25 @@ const makeDescriptorLoader = apiFactory => (0, _caching.makeWeakCache)(function* throw new Error(`You appear to be using a promise as a plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version. ` + `As an alternative, you can prefix the promise with "await". ` + `(While processing: ${JSON.stringify(alias)})`); } + if (externalDependencies.length > 0 && (!cache.configured() || cache.mode() === "forever")) { + let error = `A plugin/preset has external untracked dependencies ` + `(${externalDependencies[0]}), but the cache `; + + if (!cache.configured()) { + error += `has not been configured to be invalidated when the external dependencies change. `; + } else { + error += ` has been configured to never be invalidated. `; + } + + error += `Plugins/presets should configure their cache to be invalidated when the external ` + `dependencies change, for example using \`api.cache.invalidate(() => ` + `statSync(filepath).mtimeMs)\` or \`api.cache.never()\`\n` + `(While processing: ${JSON.stringify(alias)})`; + throw new Error(error); + } + return { value: item, options, dirname, - alias + alias, + externalDependencies: (0, _deepArray.finalize)(externalDependencies) }; }); @@ -260,7 +286,8 @@ const instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ value, options, dirname, - alias + alias, + externalDependencies }, cache) { const pluginObj = (0, _plugins.validatePluginObject)(value); const plugin = Object.assign({}, pluginObj); @@ -284,15 +311,23 @@ const instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ plugin.post = chain(inherits.post, plugin.post); plugin.manipulateOptions = chain(inherits.manipulateOptions, plugin.manipulateOptions); plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]); + + if (inherits.externalDependencies.length > 0) { + if (externalDependencies.length === 0) { + externalDependencies = inherits.externalDependencies; + } else { + externalDependencies = (0, _deepArray.finalize)([externalDependencies, inherits.externalDependencies]); + } + } } - return new _plugin.default(plugin, options, alias); + return new _plugin.default(plugin, options, alias, externalDependencies); }); const validateIfOptionNeedsFilename = (options, descriptor) => { if (options.test || options.include || options.exclude) { const formattedPresetName = descriptor.name ? `"${descriptor.name}"` : "/* your preset */"; - throw new Error([`Preset ${formattedPresetName} requires a filename to be set when babel is called directly,`, `\`\`\``, `babel.transform(code, { filename: 'file.ts', presets: [${formattedPresetName}] });`, `\`\`\``, `See https://babeljs.io/docs/en/options#filename for more information.`].join("\n")); + throw new Error([`Preset ${formattedPresetName} requires a filename to be set when babel is called directly,`, `\`\`\``, `babel.transformSync(code, { filename: 'file.ts', presets: [${formattedPresetName}] });`, `\`\`\``, `See https://babeljs.io/docs/en/options#filename for more information.`].join("\n")); } }; @@ -312,18 +347,23 @@ const validatePreset = (preset, context, descriptor) => { function* loadPresetDescriptor(descriptor, context) { const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context)); validatePreset(preset, context, descriptor); - return yield* (0, _configChain.buildPresetChain)(preset, context); + return { + chain: yield* (0, _configChain.buildPresetChain)(preset, context), + externalDependencies: preset.externalDependencies + }; } const instantiatePreset = (0, _caching.makeWeakCacheSync)(({ value, dirname, - alias + alias, + externalDependencies }) => { return { options: (0, _options.validate)("preset", value), alias, - dirname + dirname, + externalDependencies }; }); @@ -335,4 +375,6 @@ function chain(a, b) { fn.apply(this, args); } }; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/config-api.js b/node_modules/@babel/core/lib/config/helpers/config-api.js index f1a27629..5fafead7 100644 --- a/node_modules/@babel/core/lib/config/helpers/config-api.js +++ b/node_modules/@babel/core/lib/config/helpers/config-api.js @@ -31,8 +31,7 @@ function makeConfigAPI(cache) { return (0, _caching.assertSimpleType)(value(data.envName)); } - if (!Array.isArray(value)) value = [value]; - return value.some(entry => { + return (Array.isArray(value) ? value : [value]).some(entry => { if (typeof entry !== "string") { throw new Error("Unexpected non-string value"); } @@ -53,18 +52,23 @@ function makeConfigAPI(cache) { }; } -function makePresetAPI(cache) { +function makePresetAPI(cache, externalDependencies) { const targets = () => JSON.parse(cache.using(data => JSON.stringify(data.targets))); + const addExternalDependency = ref => { + externalDependencies.push(ref); + }; + return Object.assign({}, makeConfigAPI(cache), { - targets + targets, + addExternalDependency }); } -function makePluginAPI(cache) { +function makePluginAPI(cache, externalDependencies) { const assumption = name => cache.using(data => data.assumptions[name]); - return Object.assign({}, makePresetAPI(cache), { + return Object.assign({}, makePresetAPI(cache, externalDependencies), { assumption }); } @@ -100,4 +104,6 @@ function assertVersion(range) { version: _.version, range }); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/deep-array.js b/node_modules/@babel/core/lib/config/helpers/deep-array.js new file mode 100644 index 00000000..4aa198c3 --- /dev/null +++ b/node_modules/@babel/core/lib/config/helpers/deep-array.js @@ -0,0 +1,26 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.finalize = finalize; +exports.flattenToSet = flattenToSet; + +function finalize(deepArr) { + return Object.freeze(deepArr); +} + +function flattenToSet(arr) { + const result = new Set(); + const stack = [arr]; + + while (stack.length > 0) { + for (const el of stack.pop()) { + if (Array.isArray(el)) stack.push(el);else result.add(el); + } + } + + return result; +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/environment.js b/node_modules/@babel/core/lib/config/helpers/environment.js index e4bfdbc7..75910a77 100644 --- a/node_modules/@babel/core/lib/config/helpers/environment.js +++ b/node_modules/@babel/core/lib/config/helpers/environment.js @@ -7,4 +7,6 @@ exports.getEnv = getEnv; function getEnv(defaultValue = "development") { return process.env.BABEL_ENV || process.env.NODE_ENV || defaultValue; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/index.js b/node_modules/@babel/core/lib/config/index.js index 696850db..09eb5dc4 100644 --- a/node_modules/@babel/core/lib/config/index.js +++ b/node_modules/@babel/core/lib/config/index.js @@ -72,4 +72,6 @@ function createConfigItem(target, options, callback) { } else { return createConfigItemRunner.sync(target, options); } -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/item.js b/node_modules/@babel/core/lib/config/item.js index 23803546..f0a185ea 100644 --- a/node_modules/@babel/core/lib/config/item.js +++ b/node_modules/@babel/core/lib/config/item.js @@ -73,4 +73,5 @@ class ConfigItem { } -Object.freeze(ConfigItem.prototype); \ No newline at end of file +Object.freeze(ConfigItem.prototype); +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/partial.js b/node_modules/@babel/core/lib/config/partial.js index e8c52e10..2269da2b 100644 --- a/node_modules/@babel/core/lib/config/partial.js +++ b/node_modules/@babel/core/lib/config/partial.js @@ -194,4 +194,5 @@ class PartialConfig { } -Object.freeze(PartialConfig.prototype); \ No newline at end of file +Object.freeze(PartialConfig.prototype); +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/pattern-to-regex.js b/node_modules/@babel/core/lib/config/pattern-to-regex.js index ec5db8fd..f24d955b 100644 --- a/node_modules/@babel/core/lib/config/pattern-to-regex.js +++ b/node_modules/@babel/core/lib/config/pattern-to-regex.js @@ -41,4 +41,6 @@ function pathToPattern(pattern, dirname) { return escapeRegExp(part) + (last ? endSep : sep); })].join("")); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/plugin.js b/node_modules/@babel/core/lib/config/plugin.js index 9cb1656b..e0f2d34e 100644 --- a/node_modules/@babel/core/lib/config/plugin.js +++ b/node_modules/@babel/core/lib/config/plugin.js @@ -5,8 +5,10 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; +var _deepArray = require("./helpers/deep-array"); + class Plugin { - constructor(plugin, options, key) { + constructor(plugin, options, key, externalDependencies = (0, _deepArray.finalize)([])) { this.key = void 0; this.manipulateOptions = void 0; this.post = void 0; @@ -15,6 +17,7 @@ class Plugin { this.parserOverride = void 0; this.generatorOverride = void 0; this.options = void 0; + this.externalDependencies = void 0; this.key = plugin.name || key; this.manipulateOptions = plugin.manipulateOptions; this.post = plugin.post; @@ -23,8 +26,10 @@ class Plugin { this.parserOverride = plugin.parserOverride; this.generatorOverride = plugin.generatorOverride; this.options = options; + this.externalDependencies = externalDependencies; } } -exports.default = Plugin; \ No newline at end of file +exports.default = Plugin; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/printer.js b/node_modules/@babel/core/lib/config/printer.js index 229fd9a3..51d7c1b6 100644 --- a/node_modules/@babel/core/lib/config/printer.js +++ b/node_modules/@babel/core/lib/config/printer.js @@ -81,7 +81,7 @@ function descriptorToConfig(d) { if (typeof d.value === "object") { name = d.value; } else if (typeof d.value === "function") { - name = `[Function: ${d.value.toString().substr(0, 50)} ... ]`; + name = `[Function: ${d.value.toString().slice(0, 50)} ... ]`; } } @@ -136,4 +136,5 @@ class ConfigPrinter { } -exports.ConfigPrinter = ConfigPrinter; \ No newline at end of file +exports.ConfigPrinter = ConfigPrinter; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/resolve-targets-browser.js b/node_modules/@babel/core/lib/config/resolve-targets-browser.js index cc4e5180..1fd3f9e1 100644 --- a/node_modules/@babel/core/lib/config/resolve-targets-browser.js +++ b/node_modules/@babel/core/lib/config/resolve-targets-browser.js @@ -21,22 +21,27 @@ function resolveBrowserslistConfigFile(browserslistConfigFile, configFilePath) { } function resolveTargets(options, root) { - let targets = options.targets; + const optTargets = options.targets; + let targets; - if (typeof targets === "string" || Array.isArray(targets)) { + if (typeof optTargets === "string" || Array.isArray(optTargets)) { targets = { - browsers: targets + browsers: optTargets }; - } - - if (targets && targets.esmodules) { - targets = Object.assign({}, targets, { - esmodules: "intersect" - }); + } else if (optTargets) { + if ("esmodules" in optTargets) { + targets = Object.assign({}, optTargets, { + esmodules: "intersect" + }); + } else { + targets = optTargets; + } } return (0, _helperCompilationTargets().default)(targets, { ignoreBrowserslistConfig: true, browserslistEnv: options.browserslistEnv }); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/resolve-targets.js b/node_modules/@babel/core/lib/config/resolve-targets.js index 973e3d57..585d86bc 100644 --- a/node_modules/@babel/core/lib/config/resolve-targets.js +++ b/node_modules/@babel/core/lib/config/resolve-targets.js @@ -33,18 +33,21 @@ function resolveBrowserslistConfigFile(browserslistConfigFile, configFileDir) { } function resolveTargets(options, root) { - let targets = options.targets; + const optTargets = options.targets; + let targets; - if (typeof targets === "string" || Array.isArray(targets)) { + if (typeof optTargets === "string" || Array.isArray(optTargets)) { targets = { - browsers: targets + browsers: optTargets }; - } - - if (targets && targets.esmodules) { - targets = Object.assign({}, targets, { - esmodules: "intersect" - }); + } else if (optTargets) { + if ("esmodules" in optTargets) { + targets = Object.assign({}, optTargets, { + esmodules: "intersect" + }); + } else { + targets = optTargets; + } } const { @@ -65,4 +68,6 @@ function resolveTargets(options, root) { configPath: root, browserslistEnv: options.browserslistEnv }); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/util.js b/node_modules/@babel/core/lib/config/util.js index 1fc2d3d7..98b58708 100644 --- a/node_modules/@babel/core/lib/config/util.js +++ b/node_modules/@babel/core/lib/config/util.js @@ -28,4 +28,6 @@ function mergeDefaultFields(target, source) { function isIterableIterator(value) { return !!value && typeof value.next === "function" && typeof value[Symbol.iterator] === "function"; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/option-assertions.js b/node_modules/@babel/core/lib/config/validation/option-assertions.js index 9a0b4a47..8761d295 100644 --- a/node_modules/@babel/core/lib/config/validation/option-assertions.js +++ b/node_modules/@babel/core/lib/config/validation/option-assertions.js @@ -349,4 +349,6 @@ function assertAssumptions(loc, value) { } return value; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/options.js b/node_modules/@babel/core/lib/config/validation/options.js index 930278cf..7aa15829 100644 --- a/node_modules/@babel/core/lib/config/validation/options.js +++ b/node_modules/@babel/core/lib/config/validation/options.js @@ -74,7 +74,8 @@ const COMMON_VALIDATORS = { moduleId: _optionAssertions.assertString }); } -const assumptionsNames = new Set(["arrayLikeIsIterable", "constantReexports", "constantSuper", "enumerableModuleMeta", "ignoreFunctionLength", "ignoreToPrimitiveHint", "iterableIsArray", "mutableTemplateObject", "noClassCalls", "noDocumentAll", "noIncompleteNsImportDetection", "noNewArrows", "objectRestNoSymbols", "privateFieldsAsProperties", "pureGetters", "setClassMethods", "setComputedProperties", "setPublicClassFields", "setSpreadProperties", "skipForOfIteratorClosing", "superIsCallableConstructor"]); +const knownAssumptions = ["arrayLikeIsIterable", "constantReexports", "constantSuper", "enumerableModuleMeta", "ignoreFunctionLength", "ignoreToPrimitiveHint", "iterableIsArray", "mutableTemplateObject", "noClassCalls", "noDocumentAll", "noIncompleteNsImportDetection", "noNewArrows", "objectRestNoSymbols", "privateFieldsAsProperties", "pureGetters", "setClassMethods", "setComputedProperties", "setPublicClassFields", "setSpreadProperties", "skipForOfIteratorClosing", "superIsCallableConstructor"]; +const assumptionsNames = new Set(knownAssumptions); exports.assumptionsNames = assumptionsNames; function getSource(loc) { @@ -207,4 +208,6 @@ function checkNoUnwrappedItemOptionPairs(items, index, type, e) { if (lastItem.file && lastItem.options === undefined && typeof thisItem.value === "object") { e.message += `\n- Maybe you meant to use\n` + `"${type}s": [\n ["${lastItem.file.request}", ${JSON.stringify(thisItem.value, undefined, 2)}]\n]\n` + `To be a valid ${type}, its name and options should be wrapped in a pair of brackets`; } -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/plugins.js b/node_modules/@babel/core/lib/config/validation/plugins.js index a70cc676..32c05c22 100644 --- a/node_modules/@babel/core/lib/config/validation/plugins.js +++ b/node_modules/@babel/core/lib/config/validation/plugins.js @@ -68,4 +68,6 @@ function validatePluginObject(obj) { } }); return obj; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/removed.js b/node_modules/@babel/core/lib/config/validation/removed.js index f0fcd7de..2419f2bd 100644 --- a/node_modules/@babel/core/lib/config/validation/removed.js +++ b/node_modules/@babel/core/lib/config/validation/removed.js @@ -63,4 +63,5 @@ var _default = { message: "The `sourceMapTarget` option has been removed because it makes more sense for the tooling " + "that calls Babel to assign `map.file` themselves." } }; -exports.default = _default; \ No newline at end of file +exports.default = _default; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/gensync-utils/async.js b/node_modules/@babel/core/lib/gensync-utils/async.js index 7deb1863..c95aa3b0 100644 --- a/node_modules/@babel/core/lib/gensync-utils/async.js +++ b/node_modules/@babel/core/lib/gensync-utils/async.js @@ -91,4 +91,6 @@ exports.waitFor = waitFor; function isThenable(val) { return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function"; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/gensync-utils/fs.js b/node_modules/@babel/core/lib/gensync-utils/fs.js index 056ae34d..1d393c84 100644 --- a/node_modules/@babel/core/lib/gensync-utils/fs.js +++ b/node_modules/@babel/core/lib/gensync-utils/fs.js @@ -37,4 +37,5 @@ const stat = _gensync()({ errback: _fs().stat }); -exports.stat = stat; \ No newline at end of file +exports.stat = stat; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/index.js b/node_modules/@babel/core/lib/index.js index 1f7860e8..d35bfe9a 100644 --- a/node_modules/@babel/core/lib/index.js +++ b/node_modules/@babel/core/lib/index.js @@ -108,13 +108,13 @@ Object.defineProperty(exports, "resolvePreset", { return _files.resolvePreset; } }); -Object.defineProperty(exports, "template", { +Object.defineProperty((0, exports), "template", { enumerable: true, get: function () { return _template().default; } }); -Object.defineProperty(exports, "tokTypes", { +Object.defineProperty((0, exports), "tokTypes", { enumerable: true, get: function () { return _parser().tokTypes; @@ -174,7 +174,7 @@ Object.defineProperty(exports, "transformSync", { return _transform.transformSync; } }); -Object.defineProperty(exports, "traverse", { +Object.defineProperty((0, exports), "traverse", { enumerable: true, get: function () { return _traverse().default; @@ -200,7 +200,7 @@ function _types() { return data; } -Object.defineProperty(exports, "types", { +Object.defineProperty((0, exports), "types", { enumerable: true, get: function () { return _types(); @@ -247,14 +247,14 @@ var _transformAst = require("./transform-ast"); var _parse = require("./parse"); -const version = "7.16.12"; +const version = "7.18.6"; exports.version = version; const DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]); exports.DEFAULT_EXTENSIONS = DEFAULT_EXTENSIONS; class OptionManager { init(opts) { - return (0, _config.loadOptions)(opts); + return (0, _config.loadOptionsSync)(opts); } } @@ -263,4 +263,6 @@ exports.OptionManager = OptionManager; function Plugin(alias) { throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`); -} \ No newline at end of file +} + +0 && (exports.types = exports.traverse = exports.tokTypes = exports.template = 0); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parse.js b/node_modules/@babel/core/lib/parse.js index 783032ab..feb85157 100644 --- a/node_modules/@babel/core/lib/parse.js +++ b/node_modules/@babel/core/lib/parse.js @@ -37,7 +37,12 @@ const parse = function parse(code, opts, callback) { opts = undefined; } - if (callback === undefined) return parseRunner.sync(code, opts); + if (callback === undefined) { + { + return parseRunner.sync(code, opts); + } + } + parseRunner.errback(code, opts, callback); }; @@ -45,4 +50,5 @@ exports.parse = parse; const parseSync = parseRunner.sync; exports.parseSync = parseSync; const parseAsync = parseRunner.async; -exports.parseAsync = parseAsync; \ No newline at end of file +exports.parseAsync = parseAsync; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parser/index.js b/node_modules/@babel/core/lib/parser/index.js index 254122a1..29fca4ac 100644 --- a/node_modules/@babel/core/lib/parser/index.js +++ b/node_modules/@babel/core/lib/parser/index.js @@ -92,4 +92,6 @@ function* parser(pluginPasses, { throw err; } -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js b/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js index 96d75777..740ff22d 100644 --- a/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +++ b/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js @@ -8,273 +8,283 @@ const pluginNameMap = { asyncDoExpressions: { syntax: { name: "@babel/plugin-syntax-async-do-expressions", - url: "https://git.io/JYer8" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions" } }, classProperties: { syntax: { name: "@babel/plugin-syntax-class-properties", - url: "https://git.io/vb4yQ" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" }, transform: { name: "@babel/plugin-proposal-class-properties", - url: "https://git.io/vb4SL" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-class-properties" } }, classPrivateProperties: { syntax: { name: "@babel/plugin-syntax-class-properties", - url: "https://git.io/vb4yQ" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" }, transform: { name: "@babel/plugin-proposal-class-properties", - url: "https://git.io/vb4SL" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-class-properties" } }, classPrivateMethods: { syntax: { name: "@babel/plugin-syntax-class-properties", - url: "https://git.io/vb4yQ" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" }, transform: { name: "@babel/plugin-proposal-private-methods", - url: "https://git.io/JvpRG" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-private-methods" } }, classStaticBlock: { syntax: { name: "@babel/plugin-syntax-class-static-block", - url: "https://git.io/JTLB6" + url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block" }, transform: { name: "@babel/plugin-proposal-class-static-block", - url: "https://git.io/JTLBP" + url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-static-block" } }, decimal: { syntax: { name: "@babel/plugin-syntax-decimal", - url: "https://git.io/JfKOH" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal" } }, decorators: { syntax: { name: "@babel/plugin-syntax-decorators", - url: "https://git.io/vb4y9" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators" }, transform: { name: "@babel/plugin-proposal-decorators", - url: "https://git.io/vb4ST" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators" } }, doExpressions: { syntax: { name: "@babel/plugin-syntax-do-expressions", - url: "https://git.io/vb4yh" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions" }, transform: { name: "@babel/plugin-proposal-do-expressions", - url: "https://git.io/vb4S3" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions" } }, dynamicImport: { syntax: { name: "@babel/plugin-syntax-dynamic-import", - url: "https://git.io/vb4Sv" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import" } }, exportDefaultFrom: { syntax: { name: "@babel/plugin-syntax-export-default-from", - url: "https://git.io/vb4SO" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from" }, transform: { name: "@babel/plugin-proposal-export-default-from", - url: "https://git.io/vb4yH" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from" } }, exportNamespaceFrom: { syntax: { name: "@babel/plugin-syntax-export-namespace-from", - url: "https://git.io/vb4Sf" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from" }, transform: { name: "@babel/plugin-proposal-export-namespace-from", - url: "https://git.io/vb4SG" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-namespace-from" } }, flow: { syntax: { name: "@babel/plugin-syntax-flow", - url: "https://git.io/vb4yb" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow" }, transform: { name: "@babel/preset-flow", - url: "https://git.io/JfeDn" + url: "https://github.com/babel/babel/tree/main/packages/babel-preset-flow" } }, functionBind: { syntax: { name: "@babel/plugin-syntax-function-bind", - url: "https://git.io/vb4y7" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind" }, transform: { name: "@babel/plugin-proposal-function-bind", - url: "https://git.io/vb4St" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind" } }, functionSent: { syntax: { name: "@babel/plugin-syntax-function-sent", - url: "https://git.io/vb4yN" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent" }, transform: { name: "@babel/plugin-proposal-function-sent", - url: "https://git.io/vb4SZ" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent" } }, importMeta: { syntax: { name: "@babel/plugin-syntax-import-meta", - url: "https://git.io/vbKK6" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta" } }, jsx: { syntax: { name: "@babel/plugin-syntax-jsx", - url: "https://git.io/vb4yA" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx" }, transform: { name: "@babel/preset-react", - url: "https://git.io/JfeDR" + url: "https://github.com/babel/babel/tree/main/packages/babel-preset-react" } }, importAssertions: { syntax: { name: "@babel/plugin-syntax-import-assertions", - url: "https://git.io/JUbkv" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions" } }, moduleStringNames: { syntax: { name: "@babel/plugin-syntax-module-string-names", - url: "https://git.io/JTL8G" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names" } }, numericSeparator: { syntax: { name: "@babel/plugin-syntax-numeric-separator", - url: "https://git.io/vb4Sq" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator" }, transform: { name: "@babel/plugin-proposal-numeric-separator", - url: "https://git.io/vb4yS" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-numeric-separator" } }, optionalChaining: { syntax: { name: "@babel/plugin-syntax-optional-chaining", - url: "https://git.io/vb4Sc" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining" }, transform: { name: "@babel/plugin-proposal-optional-chaining", - url: "https://git.io/vb4Sk" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-optional-chaining" } }, pipelineOperator: { syntax: { name: "@babel/plugin-syntax-pipeline-operator", - url: "https://git.io/vb4yj" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator" }, transform: { name: "@babel/plugin-proposal-pipeline-operator", - url: "https://git.io/vb4SU" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator" } }, privateIn: { syntax: { name: "@babel/plugin-syntax-private-property-in-object", - url: "https://git.io/JfK3q" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object" }, transform: { name: "@babel/plugin-proposal-private-property-in-object", - url: "https://git.io/JfK3O" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-private-property-in-object" } }, recordAndTuple: { syntax: { name: "@babel/plugin-syntax-record-and-tuple", - url: "https://git.io/JvKp3" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple" + } + }, + regexpUnicodeSets: { + syntax: { + name: "@babel/plugin-syntax-unicode-sets-regex", + url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md" + }, + transform: { + name: "@babel/plugin-proposal-unicode-sets-regex", + url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md" } }, throwExpressions: { syntax: { name: "@babel/plugin-syntax-throw-expressions", - url: "https://git.io/vb4SJ" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions" }, transform: { name: "@babel/plugin-proposal-throw-expressions", - url: "https://git.io/vb4yF" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions" } }, typescript: { syntax: { name: "@babel/plugin-syntax-typescript", - url: "https://git.io/vb4SC" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript" }, transform: { name: "@babel/preset-typescript", - url: "https://git.io/JfeDz" + url: "https://github.com/babel/babel/tree/main/packages/babel-preset-typescript" } }, asyncGenerators: { syntax: { name: "@babel/plugin-syntax-async-generators", - url: "https://git.io/vb4SY" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators" }, transform: { name: "@babel/plugin-proposal-async-generator-functions", - url: "https://git.io/vb4yp" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-async-generator-functions" } }, logicalAssignment: { syntax: { name: "@babel/plugin-syntax-logical-assignment-operators", - url: "https://git.io/vAlBp" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators" }, transform: { name: "@babel/plugin-proposal-logical-assignment-operators", - url: "https://git.io/vAlRe" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-logical-assignment-operators" } }, nullishCoalescingOperator: { syntax: { name: "@babel/plugin-syntax-nullish-coalescing-operator", - url: "https://git.io/vb4yx" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator" }, transform: { name: "@babel/plugin-proposal-nullish-coalescing-operator", - url: "https://git.io/vb4Se" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator" } }, objectRestSpread: { syntax: { name: "@babel/plugin-syntax-object-rest-spread", - url: "https://git.io/vb4y5" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread" }, transform: { name: "@babel/plugin-proposal-object-rest-spread", - url: "https://git.io/vb4Ss" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-object-rest-spread" } }, optionalCatchBinding: { syntax: { name: "@babel/plugin-syntax-optional-catch-binding", - url: "https://git.io/vb4Sn" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding" }, transform: { name: "@babel/plugin-proposal-optional-catch-binding", - url: "https://git.io/vb4SI" + url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-optional-catch-binding" } } }; @@ -310,4 +320,6 @@ If you want to leave it as-is, add ${syntaxPluginInfo} to the 'plugins' section } return helpMessage; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/tools/build-external-helpers.js b/node_modules/@babel/core/lib/tools/build-external-helpers.js index 94d85e7e..cdd7214d 100644 --- a/node_modules/@babel/core/lib/tools/build-external-helpers.js +++ b/node_modules/@babel/core/lib/tools/build-external-helpers.js @@ -161,4 +161,6 @@ function _default(allowlist, outputType = "global") { } return (0, _generator().default)(tree).code; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-ast.js b/node_modules/@babel/core/lib/transform-ast.js index 61fb2224..bc88af4a 100644 --- a/node_modules/@babel/core/lib/transform-ast.js +++ b/node_modules/@babel/core/lib/transform-ast.js @@ -26,14 +26,22 @@ const transformFromAstRunner = _gensync()(function* (ast, code, opts) { return yield* (0, _transformation.run)(config, code, ast); }); -const transformFromAst = function transformFromAst(ast, code, opts, callback) { - if (typeof opts === "function") { - callback = opts; +const transformFromAst = function transformFromAst(ast, code, optsOrCallback, maybeCallback) { + let opts; + let callback; + + if (typeof optsOrCallback === "function") { + callback = optsOrCallback; opts = undefined; + } else { + opts = optsOrCallback; + callback = maybeCallback; } if (callback === undefined) { - return transformFromAstRunner.sync(ast, code, opts); + { + return transformFromAstRunner.sync(ast, code, opts); + } } transformFromAstRunner.errback(ast, code, opts, callback); @@ -43,4 +51,5 @@ exports.transformFromAst = transformFromAst; const transformFromAstSync = transformFromAstRunner.sync; exports.transformFromAstSync = transformFromAstSync; const transformFromAstAsync = transformFromAstRunner.async; -exports.transformFromAstAsync = transformFromAstAsync; \ No newline at end of file +exports.transformFromAstAsync = transformFromAstAsync; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-file-browser.js b/node_modules/@babel/core/lib/transform-file-browser.js index 3371a1e7..5912b5c2 100644 --- a/node_modules/@babel/core/lib/transform-file-browser.js +++ b/node_modules/@babel/core/lib/transform-file-browser.js @@ -23,4 +23,6 @@ function transformFileSync() { function transformFileAsync() { return Promise.reject(new Error("Transforming files is not supported in browsers")); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-file.js b/node_modules/@babel/core/lib/transform-file.js index 18075fff..ab992028 100644 --- a/node_modules/@babel/core/lib/transform-file.js +++ b/node_modules/@babel/core/lib/transform-file.js @@ -38,4 +38,5 @@ exports.transformFile = transformFile; const transformFileSync = transformFileRunner.sync; exports.transformFileSync = transformFileSync; const transformFileAsync = transformFileRunner.async; -exports.transformFileAsync = transformFileAsync; \ No newline at end of file +exports.transformFileAsync = transformFileAsync; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform.js b/node_modules/@babel/core/lib/transform.js index 538c3edf..7cc33b33 100644 --- a/node_modules/@babel/core/lib/transform.js +++ b/node_modules/@babel/core/lib/transform.js @@ -25,13 +25,24 @@ const transformRunner = _gensync()(function* transform(code, opts) { return yield* (0, _transformation.run)(config, code); }); -const transform = function transform(code, opts, callback) { - if (typeof opts === "function") { - callback = opts; +const transform = function transform(code, optsOrCallback, maybeCallback) { + let opts; + let callback; + + if (typeof optsOrCallback === "function") { + callback = optsOrCallback; opts = undefined; + } else { + opts = optsOrCallback; + callback = maybeCallback; + } + + if (callback === undefined) { + { + return transformRunner.sync(code, opts); + } } - if (callback === undefined) return transformRunner.sync(code, opts); transformRunner.errback(code, opts, callback); }; @@ -39,4 +50,5 @@ exports.transform = transform; const transformSync = transformRunner.sync; exports.transformSync = transformSync; const transformAsync = transformRunner.async; -exports.transformAsync = transformAsync; \ No newline at end of file +exports.transformAsync = transformAsync; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js b/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js index a3b0b411..cc20fe41 100644 --- a/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +++ b/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js @@ -91,4 +91,5 @@ const blockHoistPlugin = { } } -}; \ No newline at end of file +}; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/file.js b/node_modules/@babel/core/lib/transformation/file/file.js index 3728ec56..22ee007c 100644 --- a/node_modules/@babel/core/lib/transformation/file/file.js +++ b/node_modules/@babel/core/lib/transformation/file/file.js @@ -91,12 +91,12 @@ class File { this._map = new Map(); this.opts = void 0; this.declarations = {}; - this.path = null; - this.ast = {}; + this.path = void 0; + this.ast = void 0; this.scope = void 0; this.metadata = {}; this.code = ""; - this.inputMap = null; + this.inputMap = void 0; this.hub = { file: this, getCode: () => this.code, @@ -251,4 +251,5 @@ class File { } -exports.default = File; \ No newline at end of file +exports.default = File; +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/generate.js b/node_modules/@babel/core/lib/transformation/file/generate.js index 50250d80..9e30d97a 100644 --- a/node_modules/@babel/core/lib/transformation/file/generate.js +++ b/node_modules/@babel/core/lib/transformation/file/generate.js @@ -34,6 +34,9 @@ function generateCode(pluginPasses, file) { code, inputMap } = file; + const { + generatorOpts + } = opts; const results = []; for (const plugins of pluginPasses) { @@ -43,7 +46,7 @@ function generateCode(pluginPasses, file) { } = plugin; if (generatorOverride) { - const result = generatorOverride(ast, opts.generatorOpts, code, _generator().default); + const result = generatorOverride(ast, generatorOpts, code, _generator().default); if (result !== undefined) results.push(result); } } @@ -52,7 +55,7 @@ function generateCode(pluginPasses, file) { let result; if (results.length === 0) { - result = (0, _generator().default)(ast, opts.generatorOpts, code); + result = (0, _generator().default)(ast, generatorOpts, code); } else if (results.length === 1) { result = results[0]; @@ -65,11 +68,15 @@ function generateCode(pluginPasses, file) { let { code: outputCode, - map: outputMap + decodedMap: outputMap = result.map } = result; - if (outputMap && inputMap) { - outputMap = (0, _mergeMap.default)(inputMap.toObject(), outputMap); + if (outputMap) { + if (inputMap) { + outputMap = (0, _mergeMap.default)(inputMap.toObject(), outputMap, generatorOpts.sourceFileName); + } else { + outputMap = result.map; + } } if (opts.sourceMaps === "inline" || opts.sourceMaps === "both") { @@ -84,4 +91,6 @@ function generateCode(pluginPasses, file) { outputCode, outputMap }; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/merge-map.js b/node_modules/@babel/core/lib/transformation/file/merge-map.js index 5cc789f8..9a031191 100644 --- a/node_modules/@babel/core/lib/transformation/file/merge-map.js +++ b/node_modules/@babel/core/lib/transformation/file/merge-map.js @@ -5,241 +5,41 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = mergeSourceMap; -function _sourceMap() { - const data = require("source-map"); +function _remapping() { + const data = require("@ampproject/remapping"); - _sourceMap = function () { + _remapping = function () { return data; }; return data; } -function mergeSourceMap(inputMap, map) { - const input = buildMappingData(inputMap); - const output = buildMappingData(map); - const mergedGenerator = new (_sourceMap().SourceMapGenerator)(); +function mergeSourceMap(inputMap, map, sourceFileName) { + const source = sourceFileName.replace(/\\/g, "/"); + let found = false; - for (const { - source - } of input.sources) { - if (typeof source.content === "string") { - mergedGenerator.setSourceContent(source.path, source.content); + const result = _remapping()(rootless(map), (s, ctx) => { + if (s === source && !found) { + found = true; + ctx.source = ""; + return rootless(inputMap); } - } - - if (output.sources.length === 1) { - const defaultSource = output.sources[0]; - const insertedMappings = new Map(); - eachInputGeneratedRange(input, (generated, original, source) => { - eachOverlappingGeneratedOutputRange(defaultSource, generated, item => { - const key = makeMappingKey(item); - if (insertedMappings.has(key)) return; - insertedMappings.set(key, item); - mergedGenerator.addMapping({ - source: source.path, - original: { - line: original.line, - column: original.columnStart - }, - generated: { - line: item.line, - column: item.columnStart - }, - name: original.name - }); - }); - }); - - for (const item of insertedMappings.values()) { - if (item.columnEnd === Infinity) { - continue; - } - - const clearItem = { - line: item.line, - columnStart: item.columnEnd - }; - const key = makeMappingKey(clearItem); - - if (insertedMappings.has(key)) { - continue; - } - - mergedGenerator.addMapping({ - generated: { - line: clearItem.line, - column: clearItem.columnStart - } - }); - } - } - - const result = mergedGenerator.toJSON(); - - if (typeof input.sourceRoot === "string") { - result.sourceRoot = input.sourceRoot; - } - - return result; -} -function makeMappingKey(item) { - return `${item.line}/${item.columnStart}`; -} - -function eachOverlappingGeneratedOutputRange(outputFile, inputGeneratedRange, callback) { - const overlappingOriginal = filterApplicableOriginalRanges(outputFile, inputGeneratedRange); - - for (const { - generated - } of overlappingOriginal) { - for (const item of generated) { - callback(item); - } - } -} - -function filterApplicableOriginalRanges({ - mappings -}, { - line, - columnStart, - columnEnd -}) { - return filterSortedArray(mappings, ({ - original: outOriginal - }) => { - if (line > outOriginal.line) return -1; - if (line < outOriginal.line) return 1; - if (columnStart >= outOriginal.columnEnd) return -1; - if (columnEnd <= outOriginal.columnStart) return 1; - return 0; + return null; }); -} -function eachInputGeneratedRange(map, callback) { - for (const { - source, - mappings - } of map.sources) { - for (const { - original, - generated - } of mappings) { - for (const item of generated) { - callback(item, original, source); - } - } + if (typeof inputMap.sourceRoot === "string") { + result.sourceRoot = inputMap.sourceRoot; } -} -function buildMappingData(map) { - const consumer = new (_sourceMap().SourceMapConsumer)(Object.assign({}, map, { - sourceRoot: null - })); - const sources = new Map(); - const mappings = new Map(); - let last = null; - consumer.computeColumnSpans(); - consumer.eachMapping(m => { - if (m.originalLine === null) return; - let source = sources.get(m.source); - - if (!source) { - source = { - path: m.source, - content: consumer.sourceContentFor(m.source, true) - }; - sources.set(m.source, source); - } - - let sourceData = mappings.get(source); - - if (!sourceData) { - sourceData = { - source, - mappings: [] - }; - mappings.set(source, sourceData); - } - - const obj = { - line: m.originalLine, - columnStart: m.originalColumn, - columnEnd: Infinity, - name: m.name - }; - - if (last && last.source === source && last.mapping.line === m.originalLine) { - last.mapping.columnEnd = m.originalColumn; - } - - last = { - source, - mapping: obj - }; - sourceData.mappings.push({ - original: obj, - generated: consumer.allGeneratedPositionsFor({ - source: m.source, - line: m.originalLine, - column: m.originalColumn - }).map(item => ({ - line: item.line, - columnStart: item.column, - columnEnd: item.lastColumn + 1 - })) - }); - }, null, _sourceMap().SourceMapConsumer.ORIGINAL_ORDER); - return { - file: map.file, - sourceRoot: map.sourceRoot, - sources: Array.from(mappings.values()) - }; + return Object.assign({}, result); } -function findInsertionLocation(array, callback) { - let left = 0; - let right = array.length; - - while (left < right) { - const mid = Math.floor((left + right) / 2); - const item = array[mid]; - const result = callback(item); - - if (result === 0) { - left = mid; - break; - } - - if (result >= 0) { - right = mid; - } else { - left = mid + 1; - } - } - - let i = left; - - if (i < array.length) { - while (i >= 0 && callback(array[i]) >= 0) { - i--; - } - - return i + 1; - } - - return i; +function rootless(map) { + return Object.assign({}, map, { + sourceRoot: null + }); } -function filterSortedArray(array, callback) { - const start = findInsertionLocation(array, callback); - const results = []; - - for (let i = start; i < array.length && callback(array[i]) === 0; i++) { - results.push(array[i]); - } - - return results; -} \ No newline at end of file +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/index.js b/node_modules/@babel/core/lib/transformation/index.js index 0ac43228..1b78101b 100644 --- a/node_modules/@babel/core/lib/transformation/index.js +++ b/node_modules/@babel/core/lib/transformation/index.js @@ -25,6 +25,8 @@ var _normalizeFile = require("./normalize-file"); var _generate = require("./file/generate"); +var _deepArray = require("../config/helpers/deep-array"); + function* run(config, code, ast) { const file = yield* (0, _normalizeFile.default)(config.passes, (0, _normalizeOpts.default)(config), code, ast); const opts = file.opts; @@ -70,7 +72,8 @@ function* run(config, code, ast) { ast: opts.ast === true ? file.ast : null, code: outputCode === undefined ? null : outputCode, map: outputMap === undefined ? null : outputMap, - sourceType: file.ast.program.sourceType + sourceType: file.ast.program.sourceType, + externalDependencies: (0, _deepArray.flattenToSet)(config.externalDependencies) }; } @@ -121,4 +124,6 @@ function* transformFile(file, pluginPasses) { function isThenable(val) { return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function"; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/normalize-file.js b/node_modules/@babel/core/lib/transformation/normalize-file.js index dc434ed8..51d0ca6d 100644 --- a/node_modules/@babel/core/lib/transformation/normalize-file.js +++ b/node_modules/@babel/core/lib/transformation/normalize-file.js @@ -68,7 +68,7 @@ const { const debug = _debug()("babel:transform:file"); -const LARGE_INPUT_SOURCEMAP_THRESHOLD = 1000000; +const LARGE_INPUT_SOURCEMAP_THRESHOLD = 3000000; function* normalizeFile(pluginPasses, options, code, ast) { code = `${code || ""}`; @@ -164,4 +164,6 @@ function extractComments(regex, ast) { [node.trailingComments, lastComment] = extractCommentsFromList(regex, node.trailingComments, lastComment); }); return lastComment; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/normalize-opts.js b/node_modules/@babel/core/lib/transformation/normalize-opts.js index 6e2cb000..7773d632 100644 --- a/node_modules/@babel/core/lib/transformation/normalize-opts.js +++ b/node_modules/@babel/core/lib/transformation/normalize-opts.js @@ -59,4 +59,6 @@ function normalizeOptions(config) { } return options; -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/plugin-pass.js b/node_modules/@babel/core/lib/transformation/plugin-pass.js index 920558a0..87cfc7fa 100644 --- a/node_modules/@babel/core/lib/transformation/plugin-pass.js +++ b/node_modules/@babel/core/lib/transformation/plugin-pass.js @@ -51,4 +51,5 @@ exports.default = PluginPass; PluginPass.prototype.getModuleName = function getModuleName() { return this.file.getModuleName(); }; -} \ No newline at end of file +} +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js b/node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js deleted file mode 100644 index a42de824..00000000 --- a/node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; -const serialized = "$$ babel internal serialized type" + Math.random(); - -function serialize(key, value) { - if (typeof value !== "bigint") return value; - return { - [serialized]: "BigInt", - value: value.toString() - }; -} - -function revive(key, value) { - if (!value || typeof value !== "object") return value; - if (value[serialized] !== "BigInt") return value; - return BigInt(value.value); -} - -function _default(value) { - return JSON.parse(JSON.stringify(value, serialize), revive); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/util/clone-deep.js b/node_modules/@babel/core/lib/transformation/util/clone-deep.js index 35fbd093..d32505dd 100644 --- a/node_modules/@babel/core/lib/transformation/util/clone-deep.js +++ b/node_modules/@babel/core/lib/transformation/util/clone-deep.js @@ -5,22 +5,37 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = _default; -function _v() { - const data = require("v8"); +function deepClone(value, cache) { + if (value !== null) { + if (cache.has(value)) return cache.get(value); + let cloned; - _v = function () { - return data; - }; + if (Array.isArray(value)) { + cloned = new Array(value.length); - return data; -} + for (let i = 0; i < value.length; i++) { + cloned[i] = typeof value[i] !== "object" ? value[i] : deepClone(value[i], cache); + } + } else { + cloned = {}; + const keys = Object.keys(value); -var _cloneDeepBrowser = require("./clone-deep-browser"); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + cloned[key] = typeof value[key] !== "object" ? value[key] : deepClone(value[key], cache); + } + } -function _default(value) { - if (_v().deserialize && _v().serialize) { - return _v().deserialize(_v().serialize(value)); + cache.set(value, cloned); + return cloned; } - return (0, _cloneDeepBrowser.default)(value); -} \ No newline at end of file + return value; +} + +function _default(value) { + if (typeof value !== "object") return value; + return deepClone(value, new Map()); +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/vendor/import-meta-resolve.js b/node_modules/@babel/core/lib/vendor/import-meta-resolve.js index ce8d403f..f16f1bee 100644 --- a/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +++ b/node_modules/@babel/core/lib/vendor/import-meta-resolve.js @@ -64,13 +64,9 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } -function createCommonjsModule(fn) { - var module = { - exports: {} - }; - return fn(module, module.exports), module.exports; -} - +var re$3 = { + exports: {} +}; const SEMVER_SPEC_VERSION = '2.0.0'; const MAX_LENGTH$2 = 256; const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER || 9007199254740991; @@ -81,12 +77,14 @@ var constants = { MAX_SAFE_INTEGER: MAX_SAFE_INTEGER$1, MAX_SAFE_COMPONENT_LENGTH }; -const debug = typeof process === 'object' && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error('SEMVER', ...args) : () => {}; -var debug_1 = debug; -var re_1 = createCommonjsModule(function (module, exports) { +const debug$1 = typeof process === 'object' && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error('SEMVER', ...args) : () => {}; +var debug_1 = debug$1; + +(function (module, exports) { const { MAX_SAFE_COMPONENT_LENGTH } = constants; + const debug = debug_1; exports = module.exports = {}; const re = exports.re = []; const src = exports.src = []; @@ -95,7 +93,7 @@ var re_1 = createCommonjsModule(function (module, exports) { const createToken = (name, value, isGlobal) => { const index = R++; - debug_1(index, value); + debug(index, value); t[name] = index; src[index] = value; re[index] = new RegExp(value, isGlobal ? 'g' : undefined); @@ -144,17 +142,18 @@ var re_1 = createCommonjsModule(function (module, exports) { createToken('STAR', '(<|>)?=?\\s*\\*'); createToken('GTE0', '^\\s*>=\\s*0\.0\.0\\s*$'); createToken('GTE0PRE', '^\\s*>=\\s*0\.0\.0-0\\s*$'); -}); +})(re$3, re$3.exports); + const opts = ['includePrerelease', 'loose', 'rtl']; -const parseOptions = options => !options ? {} : typeof options !== 'object' ? { +const parseOptions$2 = options => !options ? {} : typeof options !== 'object' ? { loose: true } : opts.filter(k => options[k]).reduce((options, k) => { options[k] = true; return options; }, {}); -var parseOptions_1 = parseOptions; +var parseOptions_1 = parseOptions$2; const numeric = /^[0-9]+$/; const compareIdentifiers$1 = (a, b) => { @@ -175,23 +174,25 @@ var identifiers = { compareIdentifiers: compareIdentifiers$1, rcompareIdentifiers }; +const debug = debug_1; const { MAX_LENGTH: MAX_LENGTH$1, MAX_SAFE_INTEGER } = constants; const { - re: re$4, - t: t$4 -} = re_1; + re: re$2, + t: t$2 +} = re$3.exports; +const parseOptions$1 = parseOptions_1; const { compareIdentifiers } = identifiers; -class SemVer { +class SemVer$c { constructor(version, options) { - options = parseOptions_1(options); + options = parseOptions$1(options); - if (version instanceof SemVer) { + if (version instanceof SemVer$c) { if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) { return version; } else { @@ -205,11 +206,11 @@ class SemVer { throw new TypeError(`version is longer than ${MAX_LENGTH$1} characters`); } - debug_1('SemVer', version, options); + debug('SemVer', version, options); this.options = options; this.loose = !!options.loose; this.includePrerelease = !!options.includePrerelease; - const m = version.trim().match(options.loose ? re$4[t$4.LOOSE] : re$4[t$4.FULL]); + const m = version.trim().match(options.loose ? re$2[t$2.LOOSE] : re$2[t$2.FULL]); if (!m) { throw new TypeError(`Invalid Version: ${version}`); @@ -267,14 +268,14 @@ class SemVer { } compare(other) { - debug_1('SemVer.compare', this.version, this.options, other); + debug('SemVer.compare', this.version, this.options, other); - if (!(other instanceof SemVer)) { + if (!(other instanceof SemVer$c)) { if (typeof other === 'string' && other === this.version) { return 0; } - other = new SemVer(other, this.options); + other = new SemVer$c(other, this.options); } if (other.version === this.version) { @@ -285,16 +286,16 @@ class SemVer { } compareMain(other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options); + if (!(other instanceof SemVer$c)) { + other = new SemVer$c(other, this.options); } return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch); } comparePre(other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options); + if (!(other instanceof SemVer$c)) { + other = new SemVer$c(other, this.options); } if (this.prerelease.length && !other.prerelease.length) { @@ -310,7 +311,7 @@ class SemVer { do { const a = this.prerelease[i]; const b = other.prerelease[i]; - debug_1('prerelease compare', i, a, b); + debug('prerelease compare', i, a, b); if (a === undefined && b === undefined) { return 0; @@ -327,8 +328,8 @@ class SemVer { } compareBuild(other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options); + if (!(other instanceof SemVer$c)) { + other = new SemVer$c(other, this.options); } let i = 0; @@ -336,7 +337,7 @@ class SemVer { do { const a = this.build[i]; const b = other.build[i]; - debug_1('prerelease compare', i, a, b); + debug('prerelease compare', i, a, b); if (a === undefined && b === undefined) { return 0; @@ -451,19 +452,21 @@ class SemVer { } -var semver$1 = SemVer; +var semver$2 = SemVer$c; const { MAX_LENGTH } = constants; const { - re: re$3, - t: t$3 -} = re_1; + re: re$1, + t: t$1 +} = re$3.exports; +const SemVer$b = semver$2; +const parseOptions = parseOptions_1; -const parse = (version, options) => { - options = parseOptions_1(options); +const parse$5 = (version, options) => { + options = parseOptions(options); - if (version instanceof semver$1) { + if (version instanceof SemVer$b) { return version; } @@ -475,34 +478,37 @@ const parse = (version, options) => { return null; } - const r = options.loose ? re$3[t$3.LOOSE] : re$3[t$3.FULL]; + const r = options.loose ? re$1[t$1.LOOSE] : re$1[t$1.FULL]; if (!r.test(version)) { return null; } try { - return new semver$1(version, options); + return new SemVer$b(version, options); } catch (er) { return null; } }; -var parse_1 = parse; +var parse_1 = parse$5; +const parse$4 = parse_1; const valid$1 = (version, options) => { - const v = parse_1(version, options); + const v = parse$4(version, options); return v ? v.version : null; }; var valid_1 = valid$1; +const parse$3 = parse_1; const clean = (version, options) => { - const s = parse_1(version.trim().replace(/^[=v]+/, ''), options); + const s = parse$3(version.trim().replace(/^[=v]+/, ''), options); return s ? s.version : null; }; var clean_1 = clean; +const SemVer$a = semver$2; const inc = (version, release, options, identifier) => { if (typeof options === 'string') { @@ -511,28 +517,32 @@ const inc = (version, release, options, identifier) => { } try { - return new semver$1(version, options).inc(release, identifier).version; + return new SemVer$a(version, options).inc(release, identifier).version; } catch (er) { return null; } }; var inc_1 = inc; +const SemVer$9 = semver$2; -const compare = (a, b, loose) => new semver$1(a, loose).compare(new semver$1(b, loose)); +const compare$a = (a, b, loose) => new SemVer$9(a, loose).compare(new SemVer$9(b, loose)); -var compare_1 = compare; +var compare_1 = compare$a; +const compare$9 = compare_1; -const eq = (a, b, loose) => compare_1(a, b, loose) === 0; +const eq$2 = (a, b, loose) => compare$9(a, b, loose) === 0; -var eq_1 = eq; +var eq_1 = eq$2; +const parse$2 = parse_1; +const eq$1 = eq_1; const diff = (version1, version2) => { - if (eq_1(version1, version2)) { + if (eq$1(version1, version2)) { return null; } else { - const v1 = parse_1(version1); - const v2 = parse_1(version2); + const v1 = parse$2(version1); + const v2 = parse$2(version2); const hasPre = v1.prerelease.length || v2.prerelease.length; const prefix = hasPre ? 'pre' : ''; const defaultResult = hasPre ? 'prerelease' : ''; @@ -550,69 +560,89 @@ const diff = (version1, version2) => { }; var diff_1 = diff; +const SemVer$8 = semver$2; -const major = (a, loose) => new semver$1(a, loose).major; +const major = (a, loose) => new SemVer$8(a, loose).major; var major_1 = major; +const SemVer$7 = semver$2; -const minor = (a, loose) => new semver$1(a, loose).minor; +const minor = (a, loose) => new SemVer$7(a, loose).minor; var minor_1 = minor; +const SemVer$6 = semver$2; -const patch = (a, loose) => new semver$1(a, loose).patch; +const patch = (a, loose) => new SemVer$6(a, loose).patch; var patch_1 = patch; +const parse$1 = parse_1; const prerelease = (version, options) => { - const parsed = parse_1(version, options); + const parsed = parse$1(version, options); return parsed && parsed.prerelease.length ? parsed.prerelease : null; }; var prerelease_1 = prerelease; +const compare$8 = compare_1; -const rcompare = (a, b, loose) => compare_1(b, a, loose); +const rcompare = (a, b, loose) => compare$8(b, a, loose); var rcompare_1 = rcompare; +const compare$7 = compare_1; -const compareLoose = (a, b) => compare_1(a, b, true); +const compareLoose = (a, b) => compare$7(a, b, true); var compareLoose_1 = compareLoose; +const SemVer$5 = semver$2; -const compareBuild = (a, b, loose) => { - const versionA = new semver$1(a, loose); - const versionB = new semver$1(b, loose); +const compareBuild$2 = (a, b, loose) => { + const versionA = new SemVer$5(a, loose); + const versionB = new SemVer$5(b, loose); return versionA.compare(versionB) || versionA.compareBuild(versionB); }; -var compareBuild_1 = compareBuild; +var compareBuild_1 = compareBuild$2; +const compareBuild$1 = compareBuild_1; -const sort = (list, loose) => list.sort((a, b) => compareBuild_1(a, b, loose)); +const sort = (list, loose) => list.sort((a, b) => compareBuild$1(a, b, loose)); var sort_1 = sort; +const compareBuild = compareBuild_1; -const rsort = (list, loose) => list.sort((a, b) => compareBuild_1(b, a, loose)); +const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)); var rsort_1 = rsort; +const compare$6 = compare_1; -const gt = (a, b, loose) => compare_1(a, b, loose) > 0; +const gt$3 = (a, b, loose) => compare$6(a, b, loose) > 0; -var gt_1 = gt; +var gt_1 = gt$3; +const compare$5 = compare_1; -const lt = (a, b, loose) => compare_1(a, b, loose) < 0; +const lt$2 = (a, b, loose) => compare$5(a, b, loose) < 0; -var lt_1 = lt; +var lt_1 = lt$2; +const compare$4 = compare_1; -const neq = (a, b, loose) => compare_1(a, b, loose) !== 0; +const neq$1 = (a, b, loose) => compare$4(a, b, loose) !== 0; -var neq_1 = neq; +var neq_1 = neq$1; +const compare$3 = compare_1; -const gte = (a, b, loose) => compare_1(a, b, loose) >= 0; +const gte$2 = (a, b, loose) => compare$3(a, b, loose) >= 0; -var gte_1 = gte; +var gte_1 = gte$2; +const compare$2 = compare_1; -const lte = (a, b, loose) => compare_1(a, b, loose) <= 0; +const lte$2 = (a, b, loose) => compare$2(a, b, loose) <= 0; -var lte_1 = lte; +var lte_1 = lte$2; +const eq = eq_1; +const neq = neq_1; +const gt$2 = gt_1; +const gte$1 = gte_1; +const lt$1 = lt_1; +const lte$1 = lte_1; const cmp = (a, op, b, loose) => { switch (op) { @@ -629,22 +659,22 @@ const cmp = (a, op, b, loose) => { case '': case '=': case '==': - return eq_1(a, b, loose); + return eq(a, b, loose); case '!=': - return neq_1(a, b, loose); + return neq(a, b, loose); case '>': - return gt_1(a, b, loose); + return gt$2(a, b, loose); case '>=': - return gte_1(a, b, loose); + return gte$1(a, b, loose); case '<': - return lt_1(a, b, loose); + return lt$1(a, b, loose); case '<=': - return lte_1(a, b, loose); + return lte$1(a, b, loose); default: throw new TypeError(`Invalid operator: ${op}`); @@ -652,13 +682,15 @@ const cmp = (a, op, b, loose) => { }; var cmp_1 = cmp; +const SemVer$4 = semver$2; +const parse = parse_1; const { - re: re$2, - t: t$2 -} = re_1; + re, + t +} = re$3.exports; const coerce = (version, options) => { - if (version instanceof semver$1) { + if (version instanceof SemVer$4) { return version; } @@ -674,1345 +706,1405 @@ const coerce = (version, options) => { let match = null; if (!options.rtl) { - match = version.match(re$2[t$2.COERCE]); + match = version.match(re[t.COERCE]); } else { let next; - while ((next = re$2[t$2.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)) { + while ((next = re[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)) { if (!match || next.index + next[0].length !== match.index + match[0].length) { match = next; } - re$2[t$2.COERCERTL].lastIndex = next.index + next[1].length + next[2].length; + re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length; } - re$2[t$2.COERCERTL].lastIndex = -1; + re[t.COERCERTL].lastIndex = -1; } if (match === null) return null; - return parse_1(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options); + return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options); }; var coerce_1 = coerce; +var iterator; +var hasRequiredIterator; -var iterator = function (Yallist) { - Yallist.prototype[Symbol.iterator] = function* () { - for (let walker = this.head; walker; walker = walker.next) { - yield walker.value; - } +function requireIterator() { + if (hasRequiredIterator) return iterator; + hasRequiredIterator = 1; + + iterator = function (Yallist) { + Yallist.prototype[Symbol.iterator] = function* () { + for (let walker = this.head; walker; walker = walker.next) { + yield walker.value; + } + }; }; -}; -var yallist = Yallist; -Yallist.Node = Node; -Yallist.create = Yallist; + return iterator; +} -function Yallist(list) { - var self = this; +var yallist; +var hasRequiredYallist; - if (!(self instanceof Yallist)) { - self = new Yallist(); - } +function requireYallist() { + if (hasRequiredYallist) return yallist; + hasRequiredYallist = 1; + yallist = Yallist; + Yallist.Node = Node; + Yallist.create = Yallist; - self.tail = null; - self.head = null; - self.length = 0; + function Yallist(list) { + var self = this; - if (list && typeof list.forEach === 'function') { - list.forEach(function (item) { - self.push(item); - }); - } else if (arguments.length > 0) { - for (var i = 0, l = arguments.length; i < l; i++) { - self.push(arguments[i]); + if (!(self instanceof Yallist)) { + self = new Yallist(); } - } - return self; -} + self.tail = null; + self.head = null; + self.length = 0; -Yallist.prototype.removeNode = function (node) { - if (node.list !== this) { - throw new Error('removing node which does not belong to this list'); + if (list && typeof list.forEach === 'function') { + list.forEach(function (item) { + self.push(item); + }); + } else if (arguments.length > 0) { + for (var i = 0, l = arguments.length; i < l; i++) { + self.push(arguments[i]); + } + } + + return self; } - var next = node.next; - var prev = node.prev; + Yallist.prototype.removeNode = function (node) { + if (node.list !== this) { + throw new Error('removing node which does not belong to this list'); + } - if (next) { - next.prev = prev; - } + var next = node.next; + var prev = node.prev; - if (prev) { - prev.next = next; - } + if (next) { + next.prev = prev; + } - if (node === this.head) { - this.head = next; - } + if (prev) { + prev.next = next; + } - if (node === this.tail) { - this.tail = prev; - } + if (node === this.head) { + this.head = next; + } - node.list.length--; - node.next = null; - node.prev = null; - node.list = null; - return next; -}; + if (node === this.tail) { + this.tail = prev; + } -Yallist.prototype.unshiftNode = function (node) { - if (node === this.head) { - return; - } + node.list.length--; + node.next = null; + node.prev = null; + node.list = null; + return next; + }; - if (node.list) { - node.list.removeNode(node); - } + Yallist.prototype.unshiftNode = function (node) { + if (node === this.head) { + return; + } - var head = this.head; - node.list = this; - node.next = head; + if (node.list) { + node.list.removeNode(node); + } - if (head) { - head.prev = node; - } + var head = this.head; + node.list = this; + node.next = head; - this.head = node; + if (head) { + head.prev = node; + } - if (!this.tail) { - this.tail = node; - } + this.head = node; - this.length++; -}; + if (!this.tail) { + this.tail = node; + } -Yallist.prototype.pushNode = function (node) { - if (node === this.tail) { - return; - } + this.length++; + }; - if (node.list) { - node.list.removeNode(node); - } + Yallist.prototype.pushNode = function (node) { + if (node === this.tail) { + return; + } - var tail = this.tail; - node.list = this; - node.prev = tail; + if (node.list) { + node.list.removeNode(node); + } - if (tail) { - tail.next = node; - } + var tail = this.tail; + node.list = this; + node.prev = tail; - this.tail = node; + if (tail) { + tail.next = node; + } - if (!this.head) { - this.head = node; - } + this.tail = node; - this.length++; -}; + if (!this.head) { + this.head = node; + } -Yallist.prototype.push = function () { - for (var i = 0, l = arguments.length; i < l; i++) { - push(this, arguments[i]); - } + this.length++; + }; - return this.length; -}; + Yallist.prototype.push = function () { + for (var i = 0, l = arguments.length; i < l; i++) { + push(this, arguments[i]); + } -Yallist.prototype.unshift = function () { - for (var i = 0, l = arguments.length; i < l; i++) { - unshift(this, arguments[i]); - } + return this.length; + }; - return this.length; -}; + Yallist.prototype.unshift = function () { + for (var i = 0, l = arguments.length; i < l; i++) { + unshift(this, arguments[i]); + } -Yallist.prototype.pop = function () { - if (!this.tail) { - return undefined; - } + return this.length; + }; - var res = this.tail.value; - this.tail = this.tail.prev; + Yallist.prototype.pop = function () { + if (!this.tail) { + return undefined; + } - if (this.tail) { - this.tail.next = null; - } else { - this.head = null; - } + var res = this.tail.value; + this.tail = this.tail.prev; - this.length--; - return res; -}; + if (this.tail) { + this.tail.next = null; + } else { + this.head = null; + } -Yallist.prototype.shift = function () { - if (!this.head) { - return undefined; - } + this.length--; + return res; + }; - var res = this.head.value; - this.head = this.head.next; + Yallist.prototype.shift = function () { + if (!this.head) { + return undefined; + } - if (this.head) { - this.head.prev = null; - } else { - this.tail = null; - } + var res = this.head.value; + this.head = this.head.next; - this.length--; - return res; -}; + if (this.head) { + this.head.prev = null; + } else { + this.tail = null; + } -Yallist.prototype.forEach = function (fn, thisp) { - thisp = thisp || this; + this.length--; + return res; + }; - for (var walker = this.head, i = 0; walker !== null; i++) { - fn.call(thisp, walker.value, i, this); - walker = walker.next; - } -}; + Yallist.prototype.forEach = function (fn, thisp) { + thisp = thisp || this; -Yallist.prototype.forEachReverse = function (fn, thisp) { - thisp = thisp || this; + for (var walker = this.head, i = 0; walker !== null; i++) { + fn.call(thisp, walker.value, i, this); + walker = walker.next; + } + }; - for (var walker = this.tail, i = this.length - 1; walker !== null; i--) { - fn.call(thisp, walker.value, i, this); - walker = walker.prev; - } -}; + Yallist.prototype.forEachReverse = function (fn, thisp) { + thisp = thisp || this; -Yallist.prototype.get = function (n) { - for (var i = 0, walker = this.head; walker !== null && i < n; i++) { - walker = walker.next; - } + for (var walker = this.tail, i = this.length - 1; walker !== null; i--) { + fn.call(thisp, walker.value, i, this); + walker = walker.prev; + } + }; - if (i === n && walker !== null) { - return walker.value; - } -}; + Yallist.prototype.get = function (n) { + for (var i = 0, walker = this.head; walker !== null && i < n; i++) { + walker = walker.next; + } -Yallist.prototype.getReverse = function (n) { - for (var i = 0, walker = this.tail; walker !== null && i < n; i++) { - walker = walker.prev; - } + if (i === n && walker !== null) { + return walker.value; + } + }; - if (i === n && walker !== null) { - return walker.value; - } -}; + Yallist.prototype.getReverse = function (n) { + for (var i = 0, walker = this.tail; walker !== null && i < n; i++) { + walker = walker.prev; + } -Yallist.prototype.map = function (fn, thisp) { - thisp = thisp || this; - var res = new Yallist(); + if (i === n && walker !== null) { + return walker.value; + } + }; - for (var walker = this.head; walker !== null;) { - res.push(fn.call(thisp, walker.value, this)); - walker = walker.next; - } + Yallist.prototype.map = function (fn, thisp) { + thisp = thisp || this; + var res = new Yallist(); - return res; -}; + for (var walker = this.head; walker !== null;) { + res.push(fn.call(thisp, walker.value, this)); + walker = walker.next; + } -Yallist.prototype.mapReverse = function (fn, thisp) { - thisp = thisp || this; - var res = new Yallist(); + return res; + }; - for (var walker = this.tail; walker !== null;) { - res.push(fn.call(thisp, walker.value, this)); - walker = walker.prev; - } + Yallist.prototype.mapReverse = function (fn, thisp) { + thisp = thisp || this; + var res = new Yallist(); - return res; -}; + for (var walker = this.tail; walker !== null;) { + res.push(fn.call(thisp, walker.value, this)); + walker = walker.prev; + } -Yallist.prototype.reduce = function (fn, initial) { - var acc; - var walker = this.head; + return res; + }; - if (arguments.length > 1) { - acc = initial; - } else if (this.head) { - walker = this.head.next; - acc = this.head.value; - } else { - throw new TypeError('Reduce of empty list with no initial value'); - } + Yallist.prototype.reduce = function (fn, initial) { + var acc; + var walker = this.head; - for (var i = 0; walker !== null; i++) { - acc = fn(acc, walker.value, i); - walker = walker.next; - } + if (arguments.length > 1) { + acc = initial; + } else if (this.head) { + walker = this.head.next; + acc = this.head.value; + } else { + throw new TypeError('Reduce of empty list with no initial value'); + } - return acc; -}; + for (var i = 0; walker !== null; i++) { + acc = fn(acc, walker.value, i); + walker = walker.next; + } -Yallist.prototype.reduceReverse = function (fn, initial) { - var acc; - var walker = this.tail; + return acc; + }; - if (arguments.length > 1) { - acc = initial; - } else if (this.tail) { - walker = this.tail.prev; - acc = this.tail.value; - } else { - throw new TypeError('Reduce of empty list with no initial value'); - } + Yallist.prototype.reduceReverse = function (fn, initial) { + var acc; + var walker = this.tail; - for (var i = this.length - 1; walker !== null; i--) { - acc = fn(acc, walker.value, i); - walker = walker.prev; - } + if (arguments.length > 1) { + acc = initial; + } else if (this.tail) { + walker = this.tail.prev; + acc = this.tail.value; + } else { + throw new TypeError('Reduce of empty list with no initial value'); + } - return acc; -}; + for (var i = this.length - 1; walker !== null; i--) { + acc = fn(acc, walker.value, i); + walker = walker.prev; + } -Yallist.prototype.toArray = function () { - var arr = new Array(this.length); + return acc; + }; - for (var i = 0, walker = this.head; walker !== null; i++) { - arr[i] = walker.value; - walker = walker.next; - } + Yallist.prototype.toArray = function () { + var arr = new Array(this.length); - return arr; -}; + for (var i = 0, walker = this.head; walker !== null; i++) { + arr[i] = walker.value; + walker = walker.next; + } -Yallist.prototype.toArrayReverse = function () { - var arr = new Array(this.length); + return arr; + }; - for (var i = 0, walker = this.tail; walker !== null; i++) { - arr[i] = walker.value; - walker = walker.prev; - } + Yallist.prototype.toArrayReverse = function () { + var arr = new Array(this.length); - return arr; -}; + for (var i = 0, walker = this.tail; walker !== null; i++) { + arr[i] = walker.value; + walker = walker.prev; + } -Yallist.prototype.slice = function (from, to) { - to = to || this.length; + return arr; + }; - if (to < 0) { - to += this.length; - } + Yallist.prototype.slice = function (from, to) { + to = to || this.length; - from = from || 0; + if (to < 0) { + to += this.length; + } - if (from < 0) { - from += this.length; - } + from = from || 0; - var ret = new Yallist(); + if (from < 0) { + from += this.length; + } - if (to < from || to < 0) { - return ret; - } + var ret = new Yallist(); - if (from < 0) { - from = 0; - } + if (to < from || to < 0) { + return ret; + } - if (to > this.length) { - to = this.length; - } + if (from < 0) { + from = 0; + } - for (var i = 0, walker = this.head; walker !== null && i < from; i++) { - walker = walker.next; - } + if (to > this.length) { + to = this.length; + } - for (; walker !== null && i < to; i++, walker = walker.next) { - ret.push(walker.value); - } + for (var i = 0, walker = this.head; walker !== null && i < from; i++) { + walker = walker.next; + } - return ret; -}; + for (; walker !== null && i < to; i++, walker = walker.next) { + ret.push(walker.value); + } -Yallist.prototype.sliceReverse = function (from, to) { - to = to || this.length; + return ret; + }; - if (to < 0) { - to += this.length; - } + Yallist.prototype.sliceReverse = function (from, to) { + to = to || this.length; - from = from || 0; + if (to < 0) { + to += this.length; + } - if (from < 0) { - from += this.length; - } + from = from || 0; - var ret = new Yallist(); + if (from < 0) { + from += this.length; + } - if (to < from || to < 0) { - return ret; - } + var ret = new Yallist(); - if (from < 0) { - from = 0; - } + if (to < from || to < 0) { + return ret; + } - if (to > this.length) { - to = this.length; - } + if (from < 0) { + from = 0; + } - for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) { - walker = walker.prev; - } + if (to > this.length) { + to = this.length; + } - for (; walker !== null && i > from; i--, walker = walker.prev) { - ret.push(walker.value); - } + for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) { + walker = walker.prev; + } - return ret; -}; + for (; walker !== null && i > from; i--, walker = walker.prev) { + ret.push(walker.value); + } -Yallist.prototype.splice = function (start, deleteCount, ...nodes) { - if (start > this.length) { - start = this.length - 1; - } + return ret; + }; - if (start < 0) { - start = this.length + start; - } + Yallist.prototype.splice = function (start, deleteCount, ...nodes) { + if (start > this.length) { + start = this.length - 1; + } - for (var i = 0, walker = this.head; walker !== null && i < start; i++) { - walker = walker.next; - } + if (start < 0) { + start = this.length + start; + } - var ret = []; + for (var i = 0, walker = this.head; walker !== null && i < start; i++) { + walker = walker.next; + } - for (var i = 0; walker && i < deleteCount; i++) { - ret.push(walker.value); - walker = this.removeNode(walker); - } + var ret = []; - if (walker === null) { - walker = this.tail; - } + for (var i = 0; walker && i < deleteCount; i++) { + ret.push(walker.value); + walker = this.removeNode(walker); + } - if (walker !== this.head && walker !== this.tail) { - walker = walker.prev; - } + if (walker === null) { + walker = this.tail; + } - for (var i = 0; i < nodes.length; i++) { - walker = insert(this, walker, nodes[i]); - } + if (walker !== this.head && walker !== this.tail) { + walker = walker.prev; + } - return ret; -}; + for (var i = 0; i < nodes.length; i++) { + walker = insert(this, walker, nodes[i]); + } -Yallist.prototype.reverse = function () { - var head = this.head; - var tail = this.tail; + return ret; + }; - for (var walker = head; walker !== null; walker = walker.prev) { - var p = walker.prev; - walker.prev = walker.next; - walker.next = p; - } + Yallist.prototype.reverse = function () { + var head = this.head; + var tail = this.tail; - this.head = tail; - this.tail = head; - return this; -}; + for (var walker = head; walker !== null; walker = walker.prev) { + var p = walker.prev; + walker.prev = walker.next; + walker.next = p; + } + + this.head = tail; + this.tail = head; + return this; + }; -function insert(self, node, value) { - var inserted = node === self.head ? new Node(value, null, node, self) : new Node(value, node, node.next, self); + function insert(self, node, value) { + var inserted = node === self.head ? new Node(value, null, node, self) : new Node(value, node, node.next, self); - if (inserted.next === null) { - self.tail = inserted; - } + if (inserted.next === null) { + self.tail = inserted; + } - if (inserted.prev === null) { - self.head = inserted; + if (inserted.prev === null) { + self.head = inserted; + } + + self.length++; + return inserted; } - self.length++; - return inserted; -} + function push(self, item) { + self.tail = new Node(item, self.tail, null, self); -function push(self, item) { - self.tail = new Node(item, self.tail, null, self); + if (!self.head) { + self.head = self.tail; + } - if (!self.head) { - self.head = self.tail; + self.length++; } - self.length++; -} + function unshift(self, item) { + self.head = new Node(item, null, self.head, self); -function unshift(self, item) { - self.head = new Node(item, null, self.head, self); + if (!self.tail) { + self.tail = self.head; + } - if (!self.tail) { - self.tail = self.head; + self.length++; } - self.length++; -} + function Node(value, prev, next, list) { + if (!(this instanceof Node)) { + return new Node(value, prev, next, list); + } -function Node(value, prev, next, list) { - if (!(this instanceof Node)) { - return new Node(value, prev, next, list); - } + this.list = list; + this.value = value; - this.list = list; - this.value = value; + if (prev) { + prev.next = this; + this.prev = prev; + } else { + this.prev = null; + } - if (prev) { - prev.next = this; - this.prev = prev; - } else { - this.prev = null; + if (next) { + next.prev = this; + this.next = next; + } else { + this.next = null; + } } - if (next) { - next.prev = this; - this.next = next; - } else { - this.next = null; - } + try { + requireIterator()(Yallist); + } catch (er) {} + + return yallist; } -try { - iterator(Yallist); -} catch (er) {} - -const MAX = Symbol('max'); -const LENGTH = Symbol('length'); -const LENGTH_CALCULATOR = Symbol('lengthCalculator'); -const ALLOW_STALE = Symbol('allowStale'); -const MAX_AGE = Symbol('maxAge'); -const DISPOSE = Symbol('dispose'); -const NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet'); -const LRU_LIST = Symbol('lruList'); -const CACHE = Symbol('cache'); -const UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet'); - -const naiveLength = () => 1; - -class LRUCache { - constructor(options) { - if (typeof options === 'number') options = { - max: options - }; - if (!options) options = {}; - if (options.max && (typeof options.max !== 'number' || options.max < 0)) throw new TypeError('max must be a non-negative number'); - this[MAX] = options.max || Infinity; - const lc = options.length || naiveLength; - this[LENGTH_CALCULATOR] = typeof lc !== 'function' ? naiveLength : lc; - this[ALLOW_STALE] = options.stale || false; - if (options.maxAge && typeof options.maxAge !== 'number') throw new TypeError('maxAge must be a number'); - this[MAX_AGE] = options.maxAge || 0; - this[DISPOSE] = options.dispose; - this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false; - this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false; - this.reset(); - } +var lruCache; +var hasRequiredLruCache; + +function requireLruCache() { + if (hasRequiredLruCache) return lruCache; + hasRequiredLruCache = 1; + const Yallist = requireYallist(); + const MAX = Symbol('max'); + const LENGTH = Symbol('length'); + const LENGTH_CALCULATOR = Symbol('lengthCalculator'); + const ALLOW_STALE = Symbol('allowStale'); + const MAX_AGE = Symbol('maxAge'); + const DISPOSE = Symbol('dispose'); + const NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet'); + const LRU_LIST = Symbol('lruList'); + const CACHE = Symbol('cache'); + const UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet'); + + const naiveLength = () => 1; + + class LRUCache { + constructor(options) { + if (typeof options === 'number') options = { + max: options + }; + if (!options) options = {}; + if (options.max && (typeof options.max !== 'number' || options.max < 0)) throw new TypeError('max must be a non-negative number'); + this[MAX] = options.max || Infinity; + const lc = options.length || naiveLength; + this[LENGTH_CALCULATOR] = typeof lc !== 'function' ? naiveLength : lc; + this[ALLOW_STALE] = options.stale || false; + if (options.maxAge && typeof options.maxAge !== 'number') throw new TypeError('maxAge must be a number'); + this[MAX_AGE] = options.maxAge || 0; + this[DISPOSE] = options.dispose; + this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false; + this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false; + this.reset(); + } + + set max(mL) { + if (typeof mL !== 'number' || mL < 0) throw new TypeError('max must be a non-negative number'); + this[MAX] = mL || Infinity; + trim(this); + } - set max(mL) { - if (typeof mL !== 'number' || mL < 0) throw new TypeError('max must be a non-negative number'); - this[MAX] = mL || Infinity; - trim(this); - } + get max() { + return this[MAX]; + } - get max() { - return this[MAX]; - } + set allowStale(allowStale) { + this[ALLOW_STALE] = !!allowStale; + } - set allowStale(allowStale) { - this[ALLOW_STALE] = !!allowStale; - } + get allowStale() { + return this[ALLOW_STALE]; + } - get allowStale() { - return this[ALLOW_STALE]; - } + set maxAge(mA) { + if (typeof mA !== 'number') throw new TypeError('maxAge must be a non-negative number'); + this[MAX_AGE] = mA; + trim(this); + } - set maxAge(mA) { - if (typeof mA !== 'number') throw new TypeError('maxAge must be a non-negative number'); - this[MAX_AGE] = mA; - trim(this); - } + get maxAge() { + return this[MAX_AGE]; + } - get maxAge() { - return this[MAX_AGE]; - } + set lengthCalculator(lC) { + if (typeof lC !== 'function') lC = naiveLength; - set lengthCalculator(lC) { - if (typeof lC !== 'function') lC = naiveLength; + if (lC !== this[LENGTH_CALCULATOR]) { + this[LENGTH_CALCULATOR] = lC; + this[LENGTH] = 0; + this[LRU_LIST].forEach(hit => { + hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key); + this[LENGTH] += hit.length; + }); + } - if (lC !== this[LENGTH_CALCULATOR]) { - this[LENGTH_CALCULATOR] = lC; - this[LENGTH] = 0; - this[LRU_LIST].forEach(hit => { - hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key); - this[LENGTH] += hit.length; - }); + trim(this); } - trim(this); - } + get lengthCalculator() { + return this[LENGTH_CALCULATOR]; + } - get lengthCalculator() { - return this[LENGTH_CALCULATOR]; - } + get length() { + return this[LENGTH]; + } - get length() { - return this[LENGTH]; - } + get itemCount() { + return this[LRU_LIST].length; + } - get itemCount() { - return this[LRU_LIST].length; - } + rforEach(fn, thisp) { + thisp = thisp || this; - rforEach(fn, thisp) { - thisp = thisp || this; + for (let walker = this[LRU_LIST].tail; walker !== null;) { + const prev = walker.prev; + forEachStep(this, fn, walker, thisp); + walker = prev; + } + } + + forEach(fn, thisp) { + thisp = thisp || this; - for (let walker = this[LRU_LIST].tail; walker !== null;) { - const prev = walker.prev; - forEachStep(this, fn, walker, thisp); - walker = prev; + for (let walker = this[LRU_LIST].head; walker !== null;) { + const next = walker.next; + forEachStep(this, fn, walker, thisp); + walker = next; + } } - } - forEach(fn, thisp) { - thisp = thisp || this; + keys() { + return this[LRU_LIST].toArray().map(k => k.key); + } - for (let walker = this[LRU_LIST].head; walker !== null;) { - const next = walker.next; - forEachStep(this, fn, walker, thisp); - walker = next; + values() { + return this[LRU_LIST].toArray().map(k => k.value); } - } - keys() { - return this[LRU_LIST].toArray().map(k => k.key); - } + reset() { + if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) { + this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value)); + } - values() { - return this[LRU_LIST].toArray().map(k => k.value); - } + this[CACHE] = new Map(); + this[LRU_LIST] = new Yallist(); + this[LENGTH] = 0; + } - reset() { - if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) { - this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value)); + dump() { + return this[LRU_LIST].map(hit => isStale(this, hit) ? false : { + k: hit.key, + v: hit.value, + e: hit.now + (hit.maxAge || 0) + }).toArray().filter(h => h); } - this[CACHE] = new Map(); - this[LRU_LIST] = new yallist(); - this[LENGTH] = 0; - } + dumpLru() { + return this[LRU_LIST]; + } - dump() { - return this[LRU_LIST].map(hit => isStale(this, hit) ? false : { - k: hit.key, - v: hit.value, - e: hit.now + (hit.maxAge || 0) - }).toArray().filter(h => h); - } + set(key, value, maxAge) { + maxAge = maxAge || this[MAX_AGE]; + if (maxAge && typeof maxAge !== 'number') throw new TypeError('maxAge must be a number'); + const now = maxAge ? Date.now() : 0; + const len = this[LENGTH_CALCULATOR](value, key); - dumpLru() { - return this[LRU_LIST]; - } + if (this[CACHE].has(key)) { + if (len > this[MAX]) { + del(this, this[CACHE].get(key)); + return false; + } - set(key, value, maxAge) { - maxAge = maxAge || this[MAX_AGE]; - if (maxAge && typeof maxAge !== 'number') throw new TypeError('maxAge must be a number'); - const now = maxAge ? Date.now() : 0; - const len = this[LENGTH_CALCULATOR](value, key); + const node = this[CACHE].get(key); + const item = node.value; + + if (this[DISPOSE]) { + if (!this[NO_DISPOSE_ON_SET]) this[DISPOSE](key, item.value); + } - if (this[CACHE].has(key)) { - if (len > this[MAX]) { - del(this, this[CACHE].get(key)); - return false; + item.now = now; + item.maxAge = maxAge; + item.value = value; + this[LENGTH] += len - item.length; + item.length = len; + this.get(key); + trim(this); + return true; } - const node = this[CACHE].get(key); - const item = node.value; + const hit = new Entry(key, value, len, now, maxAge); - if (this[DISPOSE]) { - if (!this[NO_DISPOSE_ON_SET]) this[DISPOSE](key, item.value); + if (hit.length > this[MAX]) { + if (this[DISPOSE]) this[DISPOSE](key, value); + return false; } - item.now = now; - item.maxAge = maxAge; - item.value = value; - this[LENGTH] += len - item.length; - item.length = len; - this.get(key); + this[LENGTH] += hit.length; + this[LRU_LIST].unshift(hit); + this[CACHE].set(key, this[LRU_LIST].head); trim(this); return true; } - const hit = new Entry(key, value, len, now, maxAge); - - if (hit.length > this[MAX]) { - if (this[DISPOSE]) this[DISPOSE](key, value); - return false; + has(key) { + if (!this[CACHE].has(key)) return false; + const hit = this[CACHE].get(key).value; + return !isStale(this, hit); } - this[LENGTH] += hit.length; - this[LRU_LIST].unshift(hit); - this[CACHE].set(key, this[LRU_LIST].head); - trim(this); - return true; - } - - has(key) { - if (!this[CACHE].has(key)) return false; - const hit = this[CACHE].get(key).value; - return !isStale(this, hit); - } - - get(key) { - return get(this, key, true); - } + get(key) { + return get(this, key, true); + } - peek(key) { - return get(this, key, false); - } + peek(key) { + return get(this, key, false); + } - pop() { - const node = this[LRU_LIST].tail; - if (!node) return null; - del(this, node); - return node.value; - } + pop() { + const node = this[LRU_LIST].tail; + if (!node) return null; + del(this, node); + return node.value; + } - del(key) { - del(this, this[CACHE].get(key)); - } + del(key) { + del(this, this[CACHE].get(key)); + } - load(arr) { - this.reset(); - const now = Date.now(); + load(arr) { + this.reset(); + const now = Date.now(); - for (let l = arr.length - 1; l >= 0; l--) { - const hit = arr[l]; - const expiresAt = hit.e || 0; - if (expiresAt === 0) this.set(hit.k, hit.v);else { - const maxAge = expiresAt - now; + for (let l = arr.length - 1; l >= 0; l--) { + const hit = arr[l]; + const expiresAt = hit.e || 0; + if (expiresAt === 0) this.set(hit.k, hit.v);else { + const maxAge = expiresAt - now; - if (maxAge > 0) { - this.set(hit.k, hit.v, maxAge); + if (maxAge > 0) { + this.set(hit.k, hit.v, maxAge); + } } } } - } - prune() { - this[CACHE].forEach((value, key) => get(this, key, false)); - } + prune() { + this[CACHE].forEach((value, key) => get(this, key, false)); + } -} + } -const get = (self, key, doUse) => { - const node = self[CACHE].get(key); + const get = (self, key, doUse) => { + const node = self[CACHE].get(key); - if (node) { - const hit = node.value; + if (node) { + const hit = node.value; - if (isStale(self, hit)) { - del(self, node); - if (!self[ALLOW_STALE]) return undefined; - } else { - if (doUse) { - if (self[UPDATE_AGE_ON_GET]) node.value.now = Date.now(); - self[LRU_LIST].unshiftNode(node); + if (isStale(self, hit)) { + del(self, node); + if (!self[ALLOW_STALE]) return undefined; + } else { + if (doUse) { + if (self[UPDATE_AGE_ON_GET]) node.value.now = Date.now(); + self[LRU_LIST].unshiftNode(node); + } } + + return hit.value; } + }; - return hit.value; - } -}; + const isStale = (self, hit) => { + if (!hit || !hit.maxAge && !self[MAX_AGE]) return false; + const diff = Date.now() - hit.now; + return hit.maxAge ? diff > hit.maxAge : self[MAX_AGE] && diff > self[MAX_AGE]; + }; -const isStale = (self, hit) => { - if (!hit || !hit.maxAge && !self[MAX_AGE]) return false; - const diff = Date.now() - hit.now; - return hit.maxAge ? diff > hit.maxAge : self[MAX_AGE] && diff > self[MAX_AGE]; -}; + const trim = self => { + if (self[LENGTH] > self[MAX]) { + for (let walker = self[LRU_LIST].tail; self[LENGTH] > self[MAX] && walker !== null;) { + const prev = walker.prev; + del(self, walker); + walker = prev; + } + } + }; -const trim = self => { - if (self[LENGTH] > self[MAX]) { - for (let walker = self[LRU_LIST].tail; self[LENGTH] > self[MAX] && walker !== null;) { - const prev = walker.prev; - del(self, walker); - walker = prev; + const del = (self, node) => { + if (node) { + const hit = node.value; + if (self[DISPOSE]) self[DISPOSE](hit.key, hit.value); + self[LENGTH] -= hit.length; + self[CACHE].delete(hit.key); + self[LRU_LIST].removeNode(node); } - } -}; + }; -const del = (self, node) => { - if (node) { - const hit = node.value; - if (self[DISPOSE]) self[DISPOSE](hit.key, hit.value); - self[LENGTH] -= hit.length; - self[CACHE].delete(hit.key); - self[LRU_LIST].removeNode(node); - } -}; + class Entry { + constructor(key, value, length, now, maxAge) { + this.key = key; + this.value = value; + this.length = length; + this.now = now; + this.maxAge = maxAge || 0; + } -class Entry { - constructor(key, value, length, now, maxAge) { - this.key = key; - this.value = value; - this.length = length; - this.now = now; - this.maxAge = maxAge || 0; } -} + const forEachStep = (self, fn, node, thisp) => { + let hit = node.value; + + if (isStale(self, hit)) { + del(self, node); + if (!self[ALLOW_STALE]) hit = undefined; + } -const forEachStep = (self, fn, node, thisp) => { - let hit = node.value; + if (hit) fn.call(thisp, hit.value, hit.key, self); + }; - if (isStale(self, hit)) { - del(self, node); - if (!self[ALLOW_STALE]) hit = undefined; - } + lruCache = LRUCache; + return lruCache; +} - if (hit) fn.call(thisp, hit.value, hit.key, self); -}; +var range; +var hasRequiredRange; -var lruCache = LRUCache; +function requireRange() { + if (hasRequiredRange) return range; + hasRequiredRange = 1; -class Range { - constructor(range, options) { - options = parseOptions_1(options); + class Range { + constructor(range, options) { + options = parseOptions(options); - if (range instanceof Range) { - if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) { - return range; - } else { - return new Range(range.raw, options); + if (range instanceof Range) { + if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) { + return range; + } else { + return new Range(range.raw, options); + } } - } - if (range instanceof comparator) { - this.raw = range.value; - this.set = [[range]]; - this.format(); - return this; - } + if (range instanceof Comparator) { + this.raw = range.value; + this.set = [[range]]; + this.format(); + return this; + } - this.options = options; - this.loose = !!options.loose; - this.includePrerelease = !!options.includePrerelease; - this.raw = range; - this.set = range.split(/\s*\|\|\s*/).map(range => this.parseRange(range.trim())).filter(c => c.length); + this.options = options; + this.loose = !!options.loose; + this.includePrerelease = !!options.includePrerelease; + this.raw = range; + this.set = range.split(/\s*\|\|\s*/).map(range => this.parseRange(range.trim())).filter(c => c.length); - if (!this.set.length) { - throw new TypeError(`Invalid SemVer Range: ${range}`); - } + if (!this.set.length) { + throw new TypeError(`Invalid SemVer Range: ${range}`); + } - if (this.set.length > 1) { - const first = this.set[0]; - this.set = this.set.filter(c => !isNullSet(c[0])); - if (this.set.length === 0) this.set = [first];else if (this.set.length > 1) { - for (const c of this.set) { - if (c.length === 1 && isAny(c[0])) { - this.set = [c]; - break; + if (this.set.length > 1) { + const first = this.set[0]; + this.set = this.set.filter(c => !isNullSet(c[0])); + if (this.set.length === 0) this.set = [first];else if (this.set.length > 1) { + for (const c of this.set) { + if (c.length === 1 && isAny(c[0])) { + this.set = [c]; + break; + } } } } - } - this.format(); - } - - format() { - this.range = this.set.map(comps => { - return comps.join(' ').trim(); - }).join('||').trim(); - return this.range; - } + this.format(); + } - toString() { - return this.range; - } - - parseRange(range) { - range = range.trim(); - const memoOpts = Object.keys(this.options).join(','); - const memoKey = `parseRange:${memoOpts}:${range}`; - const cached = cache.get(memoKey); - if (cached) return cached; - const loose = this.options.loose; - const hr = loose ? re$1[t$1.HYPHENRANGELOOSE] : re$1[t$1.HYPHENRANGE]; - range = range.replace(hr, hyphenReplace(this.options.includePrerelease)); - debug_1('hyphen replace', range); - range = range.replace(re$1[t$1.COMPARATORTRIM], comparatorTrimReplace); - debug_1('comparator trim', range, re$1[t$1.COMPARATORTRIM]); - range = range.replace(re$1[t$1.TILDETRIM], tildeTrimReplace); - range = range.replace(re$1[t$1.CARETTRIM], caretTrimReplace); - range = range.split(/\s+/).join(' '); - const compRe = loose ? re$1[t$1.COMPARATORLOOSE] : re$1[t$1.COMPARATOR]; - const rangeList = range.split(' ').map(comp => parseComparator(comp, this.options)).join(' ').split(/\s+/).map(comp => replaceGTE0(comp, this.options)).filter(this.options.loose ? comp => !!comp.match(compRe) : () => true).map(comp => new comparator(comp, this.options)); - rangeList.length; - const rangeMap = new Map(); - - for (const comp of rangeList) { - if (isNullSet(comp)) return [comp]; - rangeMap.set(comp.value, comp); - } - - if (rangeMap.size > 1 && rangeMap.has('')) rangeMap.delete(''); - const result = [...rangeMap.values()]; - cache.set(memoKey, result); - return result; - } + format() { + this.range = this.set.map(comps => { + return comps.join(' ').trim(); + }).join('||').trim(); + return this.range; + } + + toString() { + return this.range; + } + + parseRange(range) { + range = range.trim(); + const memoOpts = Object.keys(this.options).join(','); + const memoKey = `parseRange:${memoOpts}:${range}`; + const cached = cache.get(memoKey); + if (cached) return cached; + const loose = this.options.loose; + const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]; + range = range.replace(hr, hyphenReplace(this.options.includePrerelease)); + debug('hyphen replace', range); + range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace); + debug('comparator trim', range, re[t.COMPARATORTRIM]); + range = range.replace(re[t.TILDETRIM], tildeTrimReplace); + range = range.replace(re[t.CARETTRIM], caretTrimReplace); + range = range.split(/\s+/).join(' '); + const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]; + const rangeList = range.split(' ').map(comp => parseComparator(comp, this.options)).join(' ').split(/\s+/).map(comp => replaceGTE0(comp, this.options)).filter(this.options.loose ? comp => !!comp.match(compRe) : () => true).map(comp => new Comparator(comp, this.options)); + rangeList.length; + const rangeMap = new Map(); + + for (const comp of rangeList) { + if (isNullSet(comp)) return [comp]; + rangeMap.set(comp.value, comp); + } - intersects(range, options) { - if (!(range instanceof Range)) { - throw new TypeError('a Range is required'); + if (rangeMap.size > 1 && rangeMap.has('')) rangeMap.delete(''); + const result = [...rangeMap.values()]; + cache.set(memoKey, result); + return result; } - return this.set.some(thisComparators => { - return isSatisfiable(thisComparators, options) && range.set.some(rangeComparators => { - return isSatisfiable(rangeComparators, options) && thisComparators.every(thisComparator => { - return rangeComparators.every(rangeComparator => { - return thisComparator.intersects(rangeComparator, options); + intersects(range, options) { + if (!(range instanceof Range)) { + throw new TypeError('a Range is required'); + } + + return this.set.some(thisComparators => { + return isSatisfiable(thisComparators, options) && range.set.some(rangeComparators => { + return isSatisfiable(rangeComparators, options) && thisComparators.every(thisComparator => { + return rangeComparators.every(rangeComparator => { + return thisComparator.intersects(rangeComparator, options); + }); }); }); }); - }); - } - - test(version) { - if (!version) { - return false; } - if (typeof version === 'string') { - try { - version = new semver$1(version, this.options); - } catch (er) { + test(version) { + if (!version) { return false; } - } - for (let i = 0; i < this.set.length; i++) { - if (testSet(this.set[i], version, this.options)) { - return true; + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options); + } catch (er) { + return false; + } + } + + for (let i = 0; i < this.set.length; i++) { + if (testSet(this.set[i], version, this.options)) { + return true; + } } + + return false; } - return false; } -} - -var range = Range; -const cache = new lruCache({ - max: 1000 -}); -const { - re: re$1, - t: t$1, - comparatorTrimReplace, - tildeTrimReplace, - caretTrimReplace -} = re_1; + range = Range; + const LRU = requireLruCache(); + const cache = new LRU({ + max: 1000 + }); + const parseOptions = parseOptions_1; + const Comparator = requireComparator(); + const debug = debug_1; + const SemVer = semver$2; + const { + re, + t, + comparatorTrimReplace, + tildeTrimReplace, + caretTrimReplace + } = re$3.exports; -const isNullSet = c => c.value === '<0.0.0-0'; + const isNullSet = c => c.value === '<0.0.0-0'; -const isAny = c => c.value === ''; + const isAny = c => c.value === ''; -const isSatisfiable = (comparators, options) => { - let result = true; - const remainingComparators = comparators.slice(); - let testComparator = remainingComparators.pop(); + const isSatisfiable = (comparators, options) => { + let result = true; + const remainingComparators = comparators.slice(); + let testComparator = remainingComparators.pop(); - while (result && remainingComparators.length) { - result = remainingComparators.every(otherComparator => { - return testComparator.intersects(otherComparator, options); - }); - testComparator = remainingComparators.pop(); - } + while (result && remainingComparators.length) { + result = remainingComparators.every(otherComparator => { + return testComparator.intersects(otherComparator, options); + }); + testComparator = remainingComparators.pop(); + } - return result; -}; + return result; + }; -const parseComparator = (comp, options) => { - debug_1('comp', comp, options); - comp = replaceCarets(comp, options); - debug_1('caret', comp); - comp = replaceTildes(comp, options); - debug_1('tildes', comp); - comp = replaceXRanges(comp, options); - debug_1('xrange', comp); - comp = replaceStars(comp, options); - debug_1('stars', comp); - return comp; -}; + const parseComparator = (comp, options) => { + debug('comp', comp, options); + comp = replaceCarets(comp, options); + debug('caret', comp); + comp = replaceTildes(comp, options); + debug('tildes', comp); + comp = replaceXRanges(comp, options); + debug('xrange', comp); + comp = replaceStars(comp, options); + debug('stars', comp); + return comp; + }; -const isX = id => !id || id.toLowerCase() === 'x' || id === '*'; - -const replaceTildes = (comp, options) => comp.trim().split(/\s+/).map(comp => { - return replaceTilde(comp, options); -}).join(' '); - -const replaceTilde = (comp, options) => { - const r = options.loose ? re$1[t$1.TILDELOOSE] : re$1[t$1.TILDE]; - return comp.replace(r, (_, M, m, p, pr) => { - debug_1('tilde', comp, _, M, m, p, pr); - let ret; - - if (isX(M)) { - ret = ''; - } else if (isX(m)) { - ret = `>=${M}.0.0 <${+M + 1}.0.0-0`; - } else if (isX(p)) { - ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`; - } else if (pr) { - debug_1('replaceTilde pr', pr); - ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; - } else { - ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`; - } + const isX = id => !id || id.toLowerCase() === 'x' || id === '*'; - debug_1('tilde return', ret); - return ret; - }); -}; + const replaceTildes = (comp, options) => comp.trim().split(/\s+/).map(comp => { + return replaceTilde(comp, options); + }).join(' '); -const replaceCarets = (comp, options) => comp.trim().split(/\s+/).map(comp => { - return replaceCaret(comp, options); -}).join(' '); - -const replaceCaret = (comp, options) => { - debug_1('caret', comp, options); - const r = options.loose ? re$1[t$1.CARETLOOSE] : re$1[t$1.CARET]; - const z = options.includePrerelease ? '-0' : ''; - return comp.replace(r, (_, M, m, p, pr) => { - debug_1('caret', comp, _, M, m, p, pr); - let ret; - - if (isX(M)) { - ret = ''; - } else if (isX(m)) { - ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`; - } else if (isX(p)) { - if (M === '0') { - ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`; + const replaceTilde = (comp, options) => { + const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]; + return comp.replace(r, (_, M, m, p, pr) => { + debug('tilde', comp, _, M, m, p, pr); + let ret; + + if (isX(M)) { + ret = ''; + } else if (isX(m)) { + ret = `>=${M}.0.0 <${+M + 1}.0.0-0`; + } else if (isX(p)) { + ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`; + } else if (pr) { + debug('replaceTilde pr', pr); + ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; } else { - ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`; + ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`; } - } else if (pr) { - debug_1('replaceCaret pr', pr); - if (M === '0') { - if (m === '0') { - ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`; + debug('tilde return', ret); + return ret; + }); + }; + + const replaceCarets = (comp, options) => comp.trim().split(/\s+/).map(comp => { + return replaceCaret(comp, options); + }).join(' '); + + const replaceCaret = (comp, options) => { + debug('caret', comp, options); + const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]; + const z = options.includePrerelease ? '-0' : ''; + return comp.replace(r, (_, M, m, p, pr) => { + debug('caret', comp, _, M, m, p, pr); + let ret; + + if (isX(M)) { + ret = ''; + } else if (isX(m)) { + ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`; + } else if (isX(p)) { + if (M === '0') { + ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`; } else { - ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; + ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`; } - } else { - ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`; - } - } else { - debug_1('no pr'); + } else if (pr) { + debug('replaceCaret pr', pr); - if (M === '0') { - if (m === '0') { - ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`; + if (M === '0') { + if (m === '0') { + ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`; + } else { + ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; + } } else { - ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`; + ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`; } } else { - ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`; - } - } - - debug_1('caret return', ret); - return ret; - }); -}; - -const replaceXRanges = (comp, options) => { - debug_1('replaceXRanges', comp, options); - return comp.split(/\s+/).map(comp => { - return replaceXRange(comp, options); - }).join(' '); -}; + debug('no pr'); -const replaceXRange = (comp, options) => { - comp = comp.trim(); - const r = options.loose ? re$1[t$1.XRANGELOOSE] : re$1[t$1.XRANGE]; - return comp.replace(r, (ret, gtlt, M, m, p, pr) => { - debug_1('xRange', comp, ret, gtlt, M, m, p, pr); - const xM = isX(M); - const xm = xM || isX(m); - const xp = xm || isX(p); - const anyX = xp; + if (M === '0') { + if (m === '0') { + ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`; + } else { + ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`; + } + } else { + ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`; + } + } - if (gtlt === '=' && anyX) { - gtlt = ''; - } + debug('caret return', ret); + return ret; + }); + }; - pr = options.includePrerelease ? '-0' : ''; + const replaceXRanges = (comp, options) => { + debug('replaceXRanges', comp, options); + return comp.split(/\s+/).map(comp => { + return replaceXRange(comp, options); + }).join(' '); + }; - if (xM) { - if (gtlt === '>' || gtlt === '<') { - ret = '<0.0.0-0'; - } else { - ret = '*'; - } - } else if (gtlt && anyX) { - if (xm) { - m = 0; + const replaceXRange = (comp, options) => { + comp = comp.trim(); + const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]; + return comp.replace(r, (ret, gtlt, M, m, p, pr) => { + debug('xRange', comp, ret, gtlt, M, m, p, pr); + const xM = isX(M); + const xm = xM || isX(m); + const xp = xm || isX(p); + const anyX = xp; + + if (gtlt === '=' && anyX) { + gtlt = ''; } - p = 0; + pr = options.includePrerelease ? '-0' : ''; - if (gtlt === '>') { - gtlt = '>='; - - if (xm) { - M = +M + 1; - m = 0; - p = 0; + if (xM) { + if (gtlt === '>' || gtlt === '<') { + ret = '<0.0.0-0'; } else { - m = +m + 1; - p = 0; + ret = '*'; } - } else if (gtlt === '<=') { - gtlt = '<'; - + } else if (gtlt && anyX) { if (xm) { - M = +M + 1; - } else { - m = +m + 1; + m = 0; } - } - if (gtlt === '<') pr = '-0'; - ret = `${gtlt + M}.${m}.${p}${pr}`; - } else if (xm) { - ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`; - } else if (xp) { - ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`; - } + p = 0; - debug_1('xRange return', ret); - return ret; - }); -}; + if (gtlt === '>') { + gtlt = '>='; -const replaceStars = (comp, options) => { - debug_1('replaceStars', comp, options); - return comp.trim().replace(re$1[t$1.STAR], ''); -}; + if (xm) { + M = +M + 1; + m = 0; + p = 0; + } else { + m = +m + 1; + p = 0; + } + } else if (gtlt === '<=') { + gtlt = '<'; -const replaceGTE0 = (comp, options) => { - debug_1('replaceGTE0', comp, options); - return comp.trim().replace(re$1[options.includePrerelease ? t$1.GTE0PRE : t$1.GTE0], ''); -}; + if (xm) { + M = +M + 1; + } else { + m = +m + 1; + } + } -const hyphenReplace = incPr => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => { - if (isX(fM)) { - from = ''; - } else if (isX(fm)) { - from = `>=${fM}.0.0${incPr ? '-0' : ''}`; - } else if (isX(fp)) { - from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`; - } else if (fpr) { - from = `>=${from}`; - } else { - from = `>=${from}${incPr ? '-0' : ''}`; - } - - if (isX(tM)) { - to = ''; - } else if (isX(tm)) { - to = `<${+tM + 1}.0.0-0`; - } else if (isX(tp)) { - to = `<${tM}.${+tm + 1}.0-0`; - } else if (tpr) { - to = `<=${tM}.${tm}.${tp}-${tpr}`; - } else if (incPr) { - to = `<${tM}.${tm}.${+tp + 1}-0`; - } else { - to = `<=${to}`; - } + if (gtlt === '<') pr = '-0'; + ret = `${gtlt + M}.${m}.${p}${pr}`; + } else if (xm) { + ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`; + } else if (xp) { + ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`; + } - return `${from} ${to}`.trim(); -}; + debug('xRange return', ret); + return ret; + }); + }; -const testSet = (set, version, options) => { - for (let i = 0; i < set.length; i++) { - if (!set[i].test(version)) { - return false; + const replaceStars = (comp, options) => { + debug('replaceStars', comp, options); + return comp.trim().replace(re[t.STAR], ''); + }; + + const replaceGTE0 = (comp, options) => { + debug('replaceGTE0', comp, options); + return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], ''); + }; + + const hyphenReplace = incPr => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => { + if (isX(fM)) { + from = ''; + } else if (isX(fm)) { + from = `>=${fM}.0.0${incPr ? '-0' : ''}`; + } else if (isX(fp)) { + from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`; + } else if (fpr) { + from = `>=${from}`; + } else { + from = `>=${from}${incPr ? '-0' : ''}`; + } + + if (isX(tM)) { + to = ''; + } else if (isX(tm)) { + to = `<${+tM + 1}.0.0-0`; + } else if (isX(tp)) { + to = `<${tM}.${+tm + 1}.0-0`; + } else if (tpr) { + to = `<=${tM}.${tm}.${tp}-${tpr}`; + } else if (incPr) { + to = `<${tM}.${tm}.${+tp + 1}-0`; + } else { + to = `<=${to}`; } - } - if (version.prerelease.length && !options.includePrerelease) { - for (let i = 0; i < set.length; i++) { - debug_1(set[i].semver); + return `${from} ${to}`.trim(); + }; - if (set[i].semver === comparator.ANY) { - continue; + const testSet = (set, version, options) => { + for (let i = 0; i < set.length; i++) { + if (!set[i].test(version)) { + return false; } + } - if (set[i].semver.prerelease.length > 0) { - const allowed = set[i].semver; + if (version.prerelease.length && !options.includePrerelease) { + for (let i = 0; i < set.length; i++) { + debug(set[i].semver); - if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) { - return true; + if (set[i].semver === Comparator.ANY) { + continue; + } + + if (set[i].semver.prerelease.length > 0) { + const allowed = set[i].semver; + + if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) { + return true; + } } } - } - return false; - } + return false; + } - return true; -}; + return true; + }; -const ANY$2 = Symbol('SemVer ANY'); + return range; +} -class Comparator { - static get ANY() { - return ANY$2; - } +var comparator; +var hasRequiredComparator; - constructor(comp, options) { - options = parseOptions_1(options); +function requireComparator() { + if (hasRequiredComparator) return comparator; + hasRequiredComparator = 1; + const ANY = Symbol('SemVer ANY'); - if (comp instanceof Comparator) { - if (comp.loose === !!options.loose) { - return comp; - } else { - comp = comp.value; - } + class Comparator { + static get ANY() { + return ANY; } - debug_1('comparator', comp, options); - this.options = options; - this.loose = !!options.loose; - this.parse(comp); + constructor(comp, options) { + options = parseOptions(options); - if (this.semver === ANY$2) { - this.value = ''; - } else { - this.value = this.operator + this.semver.version; - } + if (comp instanceof Comparator) { + if (comp.loose === !!options.loose) { + return comp; + } else { + comp = comp.value; + } + } - debug_1('comp', this); - } + debug('comparator', comp, options); + this.options = options; + this.loose = !!options.loose; + this.parse(comp); - parse(comp) { - const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]; - const m = comp.match(r); + if (this.semver === ANY) { + this.value = ''; + } else { + this.value = this.operator + this.semver.version; + } - if (!m) { - throw new TypeError(`Invalid comparator: ${comp}`); + debug('comp', this); } - this.operator = m[1] !== undefined ? m[1] : ''; + parse(comp) { + const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]; + const m = comp.match(r); - if (this.operator === '=') { - this.operator = ''; - } + if (!m) { + throw new TypeError(`Invalid comparator: ${comp}`); + } - if (!m[2]) { - this.semver = ANY$2; - } else { - this.semver = new semver$1(m[2], this.options.loose); - } - } + this.operator = m[1] !== undefined ? m[1] : ''; - toString() { - return this.value; - } + if (this.operator === '=') { + this.operator = ''; + } - test(version) { - debug_1('Comparator.test', version, this.options.loose); + if (!m[2]) { + this.semver = ANY; + } else { + this.semver = new SemVer(m[2], this.options.loose); + } + } - if (this.semver === ANY$2 || version === ANY$2) { - return true; + toString() { + return this.value; } - if (typeof version === 'string') { - try { - version = new semver$1(version, this.options); - } catch (er) { - return false; + test(version) { + debug('Comparator.test', version, this.options.loose); + + if (this.semver === ANY || version === ANY) { + return true; } - } - return cmp_1(version, this.operator, this.semver, this.options); - } + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options); + } catch (er) { + return false; + } + } - intersects(comp, options) { - if (!(comp instanceof Comparator)) { - throw new TypeError('a Comparator is required'); + return cmp(version, this.operator, this.semver, this.options); } - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - }; - } + intersects(comp, options) { + if (!(comp instanceof Comparator)) { + throw new TypeError('a Comparator is required'); + } - if (this.operator === '') { - if (this.value === '') { - return true; + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + }; } - return new range(comp.value, options).test(this.value); - } else if (comp.operator === '') { - if (comp.value === '') { - return true; + if (this.operator === '') { + if (this.value === '') { + return true; + } + + return new Range(comp.value, options).test(this.value); + } else if (comp.operator === '') { + if (comp.value === '') { + return true; + } + + return new Range(this.value, options).test(comp.semver); } - return new range(this.value, options).test(comp.semver); + const sameDirectionIncreasing = (this.operator === '>=' || this.operator === '>') && (comp.operator === '>=' || comp.operator === '>'); + const sameDirectionDecreasing = (this.operator === '<=' || this.operator === '<') && (comp.operator === '<=' || comp.operator === '<'); + const sameSemVer = this.semver.version === comp.semver.version; + const differentDirectionsInclusive = (this.operator === '>=' || this.operator === '<=') && (comp.operator === '>=' || comp.operator === '<='); + const oppositeDirectionsLessThan = cmp(this.semver, '<', comp.semver, options) && (this.operator === '>=' || this.operator === '>') && (comp.operator === '<=' || comp.operator === '<'); + const oppositeDirectionsGreaterThan = cmp(this.semver, '>', comp.semver, options) && (this.operator === '<=' || this.operator === '<') && (comp.operator === '>=' || comp.operator === '>'); + return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan; } - const sameDirectionIncreasing = (this.operator === '>=' || this.operator === '>') && (comp.operator === '>=' || comp.operator === '>'); - const sameDirectionDecreasing = (this.operator === '<=' || this.operator === '<') && (comp.operator === '<=' || comp.operator === '<'); - const sameSemVer = this.semver.version === comp.semver.version; - const differentDirectionsInclusive = (this.operator === '>=' || this.operator === '<=') && (comp.operator === '>=' || comp.operator === '<='); - const oppositeDirectionsLessThan = cmp_1(this.semver, '<', comp.semver, options) && (this.operator === '>=' || this.operator === '>') && (comp.operator === '<=' || comp.operator === '<'); - const oppositeDirectionsGreaterThan = cmp_1(this.semver, '>', comp.semver, options) && (this.operator === '<=' || this.operator === '<') && (comp.operator === '>=' || comp.operator === '>'); - return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan; } + comparator = Comparator; + const parseOptions = parseOptions_1; + const { + re, + t + } = re$3.exports; + const cmp = cmp_1; + const debug = debug_1; + const SemVer = semver$2; + const Range = requireRange(); + return comparator; } -var comparator = Comparator; -const { - re, - t -} = re_1; +const Range$8 = requireRange(); -const satisfies = (version, range$1, options) => { +const satisfies$3 = (version, range, options) => { try { - range$1 = new range(range$1, options); + range = new Range$8(range, options); } catch (er) { return false; } - return range$1.test(version); + return range.test(version); }; -var satisfies_1 = satisfies; +var satisfies_1 = satisfies$3; +const Range$7 = requireRange(); -const toComparators = (range$1, options) => new range(range$1, options).set.map(comp => comp.map(c => c.value).join(' ').trim().split(' ')); +const toComparators = (range, options) => new Range$7(range, options).set.map(comp => comp.map(c => c.value).join(' ').trim().split(' ')); var toComparators_1 = toComparators; +const SemVer$3 = semver$2; +const Range$6 = requireRange(); -const maxSatisfying = (versions, range$1, options) => { +const maxSatisfying = (versions, range, options) => { let max = null; let maxSV = null; let rangeObj = null; try { - rangeObj = new range(range$1, options); + rangeObj = new Range$6(range, options); } catch (er) { return null; } @@ -2021,7 +2113,7 @@ const maxSatisfying = (versions, range$1, options) => { if (rangeObj.test(v)) { if (!max || maxSV.compare(v) === -1) { max = v; - maxSV = new semver$1(max, options); + maxSV = new SemVer$3(max, options); } } }); @@ -2029,14 +2121,16 @@ const maxSatisfying = (versions, range$1, options) => { }; var maxSatisfying_1 = maxSatisfying; +const SemVer$2 = semver$2; +const Range$5 = requireRange(); -const minSatisfying = (versions, range$1, options) => { +const minSatisfying = (versions, range, options) => { let min = null; let minSV = null; let rangeObj = null; try { - rangeObj = new range(range$1, options); + rangeObj = new Range$5(range, options); } catch (er) { return null; } @@ -2045,7 +2139,7 @@ const minSatisfying = (versions, range$1, options) => { if (rangeObj.test(v)) { if (!min || minSV.compare(v) === 1) { min = v; - minSV = new semver$1(min, options); + minSV = new SemVer$2(min, options); } } }); @@ -2053,28 +2147,31 @@ const minSatisfying = (versions, range$1, options) => { }; var minSatisfying_1 = minSatisfying; +const SemVer$1 = semver$2; +const Range$4 = requireRange(); +const gt$1 = gt_1; -const minVersion = (range$1, loose) => { - range$1 = new range(range$1, loose); - let minver = new semver$1('0.0.0'); +const minVersion = (range, loose) => { + range = new Range$4(range, loose); + let minver = new SemVer$1('0.0.0'); - if (range$1.test(minver)) { + if (range.test(minver)) { return minver; } - minver = new semver$1('0.0.0-0'); + minver = new SemVer$1('0.0.0-0'); - if (range$1.test(minver)) { + if (range.test(minver)) { return minver; } minver = null; - for (let i = 0; i < range$1.set.length; ++i) { - const comparators = range$1.set[i]; + for (let i = 0; i < range.set.length; ++i) { + const comparators = range.set[i]; let setMin = null; comparators.forEach(comparator => { - const compver = new semver$1(comparator.semver.version); + const compver = new SemVer$1(comparator.semver.version); switch (comparator.operator) { case '>': @@ -2088,7 +2185,7 @@ const minVersion = (range$1, loose) => { case '': case '>=': - if (!setMin || gt_1(compver, setMin)) { + if (!setMin || gt$1(compver, setMin)) { setMin = compver; } @@ -2102,10 +2199,10 @@ const minVersion = (range$1, loose) => { throw new Error(`Unexpected operation: ${comparator.operator}`); } }); - if (setMin && (!minver || gt_1(minver, setMin))) minver = setMin; + if (setMin && (!minver || gt$1(minver, setMin))) minver = setMin; } - if (minver && range$1.test(minver)) { + if (minver && range.test(minver)) { return minver; } @@ -2113,38 +2210,47 @@ const minVersion = (range$1, loose) => { }; var minVersion_1 = minVersion; +const Range$3 = requireRange(); -const validRange = (range$1, options) => { +const validRange = (range, options) => { try { - return new range(range$1, options).range || '*'; + return new Range$3(range, options).range || '*'; } catch (er) { return null; } }; var valid = validRange; +const SemVer = semver$2; +const Comparator$1 = requireComparator(); const { ANY: ANY$1 -} = comparator; - -const outside = (version, range$1, hilo, options) => { - version = new semver$1(version, options); - range$1 = new range(range$1, options); +} = Comparator$1; +const Range$2 = requireRange(); +const satisfies$2 = satisfies_1; +const gt = gt_1; +const lt = lt_1; +const lte = lte_1; +const gte = gte_1; + +const outside$2 = (version, range, hilo, options) => { + version = new SemVer(version, options); + range = new Range$2(range, options); let gtfn, ltefn, ltfn, comp, ecomp; switch (hilo) { case '>': - gtfn = gt_1; - ltefn = lte_1; - ltfn = lt_1; + gtfn = gt; + ltefn = lte; + ltfn = lt; comp = '>'; ecomp = '>='; break; case '<': - gtfn = lt_1; - ltefn = gte_1; - ltfn = gt_1; + gtfn = lt; + ltefn = gte; + ltfn = gt; comp = '<'; ecomp = '<='; break; @@ -2153,26 +2259,26 @@ const outside = (version, range$1, hilo, options) => { throw new TypeError('Must provide a hilo val of "<" or ">"'); } - if (satisfies_1(version, range$1, options)) { + if (satisfies$2(version, range, options)) { return false; } - for (let i = 0; i < range$1.set.length; ++i) { - const comparators = range$1.set[i]; + for (let i = 0; i < range.set.length; ++i) { + const comparators = range.set[i]; let high = null; let low = null; - comparators.forEach(comparator$1 => { - if (comparator$1.semver === ANY$1) { - comparator$1 = new comparator('>=0.0.0'); + comparators.forEach(comparator => { + if (comparator.semver === ANY$1) { + comparator = new Comparator$1('>=0.0.0'); } - high = high || comparator$1; - low = low || comparator$1; + high = high || comparator; + low = low || comparator; - if (gtfn(comparator$1.semver, high.semver, options)) { - high = comparator$1; - } else if (ltfn(comparator$1.semver, low.semver, options)) { - low = comparator$1; + if (gtfn(comparator.semver, high.semver, options)) { + high = comparator; + } else if (ltfn(comparator.semver, low.semver, options)) { + low = comparator; } }); @@ -2190,32 +2296,37 @@ const outside = (version, range$1, hilo, options) => { return true; }; -var outside_1 = outside; +var outside_1 = outside$2; +const outside$1 = outside_1; -const gtr = (version, range, options) => outside_1(version, range, '>', options); +const gtr = (version, range, options) => outside$1(version, range, '>', options); var gtr_1 = gtr; +const outside = outside_1; -const ltr = (version, range, options) => outside_1(version, range, '<', options); +const ltr = (version, range, options) => outside(version, range, '<', options); var ltr_1 = ltr; +const Range$1 = requireRange(); const intersects = (r1, r2, options) => { - r1 = new range(r1, options); - r2 = new range(r2, options); + r1 = new Range$1(r1, options); + r2 = new Range$1(r2, options); return r1.intersects(r2); }; var intersects_1 = intersects; +const satisfies$1 = satisfies_1; +const compare$1 = compare_1; var simplify = (versions, range, options) => { const set = []; let min = null; let prev = null; - const v = versions.sort((a, b) => compare_1(a, b, options)); + const v = versions.sort((a, b) => compare$1(a, b, options)); for (const version of v) { - const included = satisfies_1(version, range, options); + const included = satisfies$1(version, range, options); if (included) { prev = version; @@ -2242,14 +2353,18 @@ var simplify = (versions, range, options) => { return simplified.length < original.length ? simplified : range; }; +const Range = requireRange(); +const Comparator = requireComparator(); const { ANY -} = comparator; +} = Comparator; +const satisfies = satisfies_1; +const compare = compare_1; const subset = (sub, dom, options = {}) => { if (sub === dom) return true; - sub = new range(sub, options); - dom = new range(dom, options); + sub = new Range(sub, options); + dom = new Range(dom, options); let sawNonNull = false; OUTER: for (const simpleSub of sub.set) { @@ -2269,11 +2384,11 @@ const simpleSubset = (sub, dom, options) => { if (sub === dom) return true; if (sub.length === 1 && sub[0].semver === ANY) { - if (dom.length === 1 && dom[0].semver === ANY) return true;else if (options.includePrerelease) sub = [new comparator('>=0.0.0-0')];else sub = [new comparator('>=0.0.0')]; + if (dom.length === 1 && dom[0].semver === ANY) return true;else if (options.includePrerelease) sub = [new Comparator('>=0.0.0-0')];else sub = [new Comparator('>=0.0.0')]; } if (dom.length === 1 && dom[0].semver === ANY) { - if (options.includePrerelease) return true;else dom = [new comparator('>=0.0.0')]; + if (options.includePrerelease) return true;else dom = [new Comparator('>=0.0.0')]; } const eqSet = new Set(); @@ -2287,16 +2402,16 @@ const simpleSubset = (sub, dom, options) => { let gtltComp; if (gt && lt) { - gtltComp = compare_1(gt.semver, lt.semver, options); + gtltComp = compare(gt.semver, lt.semver, options); if (gtltComp > 0) return null;else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) return null; } for (const eq of eqSet) { - if (gt && !satisfies_1(eq, String(gt), options)) return null; - if (lt && !satisfies_1(eq, String(lt), options)) return null; + if (gt && !satisfies(eq, String(gt), options)) return null; + if (lt && !satisfies(eq, String(lt), options)) return null; for (const c of dom) { - if (!satisfies_1(eq, String(c), options)) return false; + if (!satisfies(eq, String(c), options)) return false; } return true; @@ -2325,7 +2440,7 @@ const simpleSubset = (sub, dom, options) => { if (c.operator === '>' || c.operator === '>=') { higher = higherGT(gt, c, options); if (higher === c && higher !== gt) return false; - } else if (gt.operator === '>=' && !satisfies_1(gt.semver, String(c), options)) return false; + } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) return false; } if (lt) { @@ -2338,7 +2453,7 @@ const simpleSubset = (sub, dom, options) => { if (c.operator === '<' || c.operator === '<=') { lower = lowerLT(lt, c, options); if (lower === c && lower !== lt) return false; - } else if (lt.operator === '<=' && !satisfies_1(lt.semver, String(c), options)) return false; + } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) return false; } if (!c.operator && (lt || gt) && gtltComp !== 0) return false; @@ -2352,23 +2467,24 @@ const simpleSubset = (sub, dom, options) => { const higherGT = (a, b, options) => { if (!a) return b; - const comp = compare_1(a.semver, b.semver, options); + const comp = compare(a.semver, b.semver, options); return comp > 0 ? a : comp < 0 ? b : b.operator === '>' && a.operator === '>=' ? b : a; }; const lowerLT = (a, b, options) => { if (!a) return b; - const comp = compare_1(a.semver, b.semver, options); + const comp = compare(a.semver, b.semver, options); return comp < 0 ? a : comp > 0 ? b : b.operator === '<' && a.operator === '<=' ? b : a; }; var subset_1 = subset; -var semver = { - re: re_1.re, - src: re_1.src, - tokens: re_1.t, +const internalRe = re$3.exports; +var semver$1 = { + re: internalRe.re, + src: internalRe.src, + tokens: internalRe.t, SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION, - SemVer: semver$1, + SemVer: semver$2, compareIdentifiers: identifiers.compareIdentifiers, rcompareIdentifiers: identifiers.rcompareIdentifiers, parse: parse_1, @@ -2394,8 +2510,8 @@ var semver = { lte: lte_1, cmp: cmp_1, coerce: coerce_1, - Comparator: comparator, - Range: range, + Comparator: requireComparator(), + Range: requireRange(), satisfies: satisfies_1, toComparators: toComparators_1, maxSatisfying: maxSatisfying_1, @@ -2409,6 +2525,7 @@ var semver = { simplifyRange: simplify, subset: subset_1 }; +var semver = semver$1; var builtins = function ({ version = process.version, @@ -3309,4 +3426,6 @@ function _resolve() { } }); return _resolve.apply(this, arguments); -} \ No newline at end of file +} + +0 && 0; \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/source-map/CHANGELOG.md b/node_modules/@babel/core/node_modules/source-map/CHANGELOG.md deleted file mode 100644 index 3a8c066c..00000000 --- a/node_modules/@babel/core/node_modules/source-map/CHANGELOG.md +++ /dev/null @@ -1,301 +0,0 @@ -# Change Log - -## 0.5.6 - -* Fix for regression when people were using numbers as names in source maps. See - #236. - -## 0.5.5 - -* Fix "regression" of unsupported, implementation behavior that half the world - happens to have come to depend on. See #235. - -* Fix regression involving function hoisting in SpiderMonkey. See #233. - -## 0.5.4 - -* Large performance improvements to source-map serialization. See #228 and #229. - -## 0.5.3 - -* Do not include unnecessary distribution files. See - commit ef7006f8d1647e0a83fdc60f04f5a7ca54886f86. - -## 0.5.2 - -* Include browser distributions of the library in package.json's `files`. See - issue #212. - -## 0.5.1 - -* Fix latent bugs in IndexedSourceMapConsumer.prototype._parseMappings. See - ff05274becc9e6e1295ed60f3ea090d31d843379. - -## 0.5.0 - -* Node 0.8 is no longer supported. - -* Use webpack instead of dryice for bundling. - -* Big speedups serializing source maps. See pull request #203. - -* Fix a bug with `SourceMapConsumer.prototype.sourceContentFor` and sources that - explicitly start with the source root. See issue #199. - -## 0.4.4 - -* Fix an issue where using a `SourceMapGenerator` after having created a - `SourceMapConsumer` from it via `SourceMapConsumer.fromSourceMap` failed. See - issue #191. - -* Fix an issue with where `SourceMapGenerator` would mistakenly consider - different mappings as duplicates of each other and avoid generating them. See - issue #192. - -## 0.4.3 - -* A very large number of performance improvements, particularly when parsing - source maps. Collectively about 75% of time shaved off of the source map - parsing benchmark! - -* Fix a bug in `SourceMapConsumer.prototype.allGeneratedPositionsFor` and fuzzy - searching in the presence of a column option. See issue #177. - -* Fix a bug with joining a source and its source root when the source is above - the root. See issue #182. - -* Add the `SourceMapConsumer.prototype.hasContentsOfAllSources` method to - determine when all sources' contents are inlined into the source map. See - issue #190. - -## 0.4.2 - -* Add an `.npmignore` file so that the benchmarks aren't pulled down by - dependent projects. Issue #169. - -* Add an optional `column` argument to - `SourceMapConsumer.prototype.allGeneratedPositionsFor` and better handle lines - with no mappings. Issues #172 and #173. - -## 0.4.1 - -* Fix accidentally defining a global variable. #170. - -## 0.4.0 - -* The default direction for fuzzy searching was changed back to its original - direction. See #164. - -* There is now a `bias` option you can supply to `SourceMapConsumer` to control - the fuzzy searching direction. See #167. - -* About an 8% speed up in parsing source maps. See #159. - -* Added a benchmark for parsing and generating source maps. - -## 0.3.0 - -* Change the default direction that searching for positions fuzzes when there is - not an exact match. See #154. - -* Support for environments using json2.js for JSON serialization. See #156. - -## 0.2.0 - -* Support for consuming "indexed" source maps which do not have any remote - sections. See pull request #127. This introduces a minor backwards - incompatibility if you are monkey patching `SourceMapConsumer.prototype` - methods. - -## 0.1.43 - -* Performance improvements for `SourceMapGenerator` and `SourceNode`. See issue - #148 for some discussion and issues #150, #151, and #152 for implementations. - -## 0.1.42 - -* Fix an issue where `SourceNode`s from different versions of the source-map - library couldn't be used in conjunction with each other. See issue #142. - -## 0.1.41 - -* Fix a bug with getting the source content of relative sources with a "./" - prefix. See issue #145 and [Bug 1090768](bugzil.la/1090768). - -* Add the `SourceMapConsumer.prototype.computeColumnSpans` method to compute the - column span of each mapping. - -* Add the `SourceMapConsumer.prototype.allGeneratedPositionsFor` method to find - all generated positions associated with a given original source and line. - -## 0.1.40 - -* Performance improvements for parsing source maps in SourceMapConsumer. - -## 0.1.39 - -* Fix a bug where setting a source's contents to null before any source content - had been set before threw a TypeError. See issue #131. - -## 0.1.38 - -* Fix a bug where finding relative paths from an empty path were creating - absolute paths. See issue #129. - -## 0.1.37 - -* Fix a bug where if the source root was an empty string, relative source paths - would turn into absolute source paths. Issue #124. - -## 0.1.36 - -* Allow the `names` mapping property to be an empty string. Issue #121. - -## 0.1.35 - -* A third optional parameter was added to `SourceNode.fromStringWithSourceMap` - to specify a path that relative sources in the second parameter should be - relative to. Issue #105. - -* If no file property is given to a `SourceMapGenerator`, then the resulting - source map will no longer have a `null` file property. The property will - simply not exist. Issue #104. - -* Fixed a bug where consecutive newlines were ignored in `SourceNode`s. - Issue #116. - -## 0.1.34 - -* Make `SourceNode` work with windows style ("\r\n") newlines. Issue #103. - -* Fix bug involving source contents and the - `SourceMapGenerator.prototype.applySourceMap`. Issue #100. - -## 0.1.33 - -* Fix some edge cases surrounding path joining and URL resolution. - -* Add a third parameter for relative path to - `SourceMapGenerator.prototype.applySourceMap`. - -* Fix issues with mappings and EOLs. - -## 0.1.32 - -* Fixed a bug where SourceMapConsumer couldn't handle negative relative columns - (issue 92). - -* Fixed test runner to actually report number of failed tests as its process - exit code. - -* Fixed a typo when reporting bad mappings (issue 87). - -## 0.1.31 - -* Delay parsing the mappings in SourceMapConsumer until queried for a source - location. - -* Support Sass source maps (which at the time of writing deviate from the spec - in small ways) in SourceMapConsumer. - -## 0.1.30 - -* Do not join source root with a source, when the source is a data URI. - -* Extend the test runner to allow running single specific test files at a time. - -* Performance improvements in `SourceNode.prototype.walk` and - `SourceMapConsumer.prototype.eachMapping`. - -* Source map browser builds will now work inside Workers. - -* Better error messages when attempting to add an invalid mapping to a - `SourceMapGenerator`. - -## 0.1.29 - -* Allow duplicate entries in the `names` and `sources` arrays of source maps - (usually from TypeScript) we are parsing. Fixes github issue 72. - -## 0.1.28 - -* Skip duplicate mappings when creating source maps from SourceNode; github - issue 75. - -## 0.1.27 - -* Don't throw an error when the `file` property is missing in SourceMapConsumer, - we don't use it anyway. - -## 0.1.26 - -* Fix SourceNode.fromStringWithSourceMap for empty maps. Fixes github issue 70. - -## 0.1.25 - -* Make compatible with browserify - -## 0.1.24 - -* Fix issue with absolute paths and `file://` URIs. See - https://bugzilla.mozilla.org/show_bug.cgi?id=885597 - -## 0.1.23 - -* Fix issue with absolute paths and sourcesContent, github issue 64. - -## 0.1.22 - -* Ignore duplicate mappings in SourceMapGenerator. Fixes github issue 21. - -## 0.1.21 - -* Fixed handling of sources that start with a slash so that they are relative to - the source root's host. - -## 0.1.20 - -* Fixed github issue #43: absolute URLs aren't joined with the source root - anymore. - -## 0.1.19 - -* Using Travis CI to run tests. - -## 0.1.18 - -* Fixed a bug in the handling of sourceRoot. - -## 0.1.17 - -* Added SourceNode.fromStringWithSourceMap. - -## 0.1.16 - -* Added missing documentation. - -* Fixed the generating of empty mappings in SourceNode. - -## 0.1.15 - -* Added SourceMapGenerator.applySourceMap. - -## 0.1.14 - -* The sourceRoot is now handled consistently. - -## 0.1.13 - -* Added SourceMapGenerator.fromSourceMap. - -## 0.1.12 - -* SourceNode now generates empty mappings too. - -## 0.1.11 - -* Added name support to SourceNode. - -## 0.1.10 - -* Added sourcesContent support to the customer and generator. diff --git a/node_modules/@babel/core/node_modules/source-map/LICENSE b/node_modules/@babel/core/node_modules/source-map/LICENSE deleted file mode 100644 index ed1b7cf2..00000000 --- a/node_modules/@babel/core/node_modules/source-map/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ - -Copyright (c) 2009-2011, Mozilla Foundation and contributors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the names of the Mozilla Foundation nor the names of project - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@babel/core/node_modules/source-map/README.md b/node_modules/@babel/core/node_modules/source-map/README.md deleted file mode 100644 index 32813394..00000000 --- a/node_modules/@babel/core/node_modules/source-map/README.md +++ /dev/null @@ -1,729 +0,0 @@ -# Source Map - -[![Build Status](https://travis-ci.org/mozilla/source-map.png?branch=master)](https://travis-ci.org/mozilla/source-map) - -[![NPM](https://nodei.co/npm/source-map.png?downloads=true&downloadRank=true)](https://www.npmjs.com/package/source-map) - -This is a library to generate and consume the source map format -[described here][format]. - -[format]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit - -## Use with Node - - $ npm install source-map - -## Use on the Web - - - --------------------------------------------------------------------------------- - - - - - -## Table of Contents - -- [Examples](#examples) - - [Consuming a source map](#consuming-a-source-map) - - [Generating a source map](#generating-a-source-map) - - [With SourceNode (high level API)](#with-sourcenode-high-level-api) - - [With SourceMapGenerator (low level API)](#with-sourcemapgenerator-low-level-api) -- [API](#api) - - [SourceMapConsumer](#sourcemapconsumer) - - [new SourceMapConsumer(rawSourceMap)](#new-sourcemapconsumerrawsourcemap) - - [SourceMapConsumer.prototype.computeColumnSpans()](#sourcemapconsumerprototypecomputecolumnspans) - - [SourceMapConsumer.prototype.originalPositionFor(generatedPosition)](#sourcemapconsumerprototypeoriginalpositionforgeneratedposition) - - [SourceMapConsumer.prototype.generatedPositionFor(originalPosition)](#sourcemapconsumerprototypegeneratedpositionfororiginalposition) - - [SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition)](#sourcemapconsumerprototypeallgeneratedpositionsfororiginalposition) - - [SourceMapConsumer.prototype.hasContentsOfAllSources()](#sourcemapconsumerprototypehascontentsofallsources) - - [SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing])](#sourcemapconsumerprototypesourcecontentforsource-returnnullonmissing) - - [SourceMapConsumer.prototype.eachMapping(callback, context, order)](#sourcemapconsumerprototypeeachmappingcallback-context-order) - - [SourceMapGenerator](#sourcemapgenerator) - - [new SourceMapGenerator([startOfSourceMap])](#new-sourcemapgeneratorstartofsourcemap) - - [SourceMapGenerator.fromSourceMap(sourceMapConsumer)](#sourcemapgeneratorfromsourcemapsourcemapconsumer) - - [SourceMapGenerator.prototype.addMapping(mapping)](#sourcemapgeneratorprototypeaddmappingmapping) - - [SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent)](#sourcemapgeneratorprototypesetsourcecontentsourcefile-sourcecontent) - - [SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]])](#sourcemapgeneratorprototypeapplysourcemapsourcemapconsumer-sourcefile-sourcemappath) - - [SourceMapGenerator.prototype.toString()](#sourcemapgeneratorprototypetostring) - - [SourceNode](#sourcenode) - - [new SourceNode([line, column, source[, chunk[, name]]])](#new-sourcenodeline-column-source-chunk-name) - - [SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath])](#sourcenodefromstringwithsourcemapcode-sourcemapconsumer-relativepath) - - [SourceNode.prototype.add(chunk)](#sourcenodeprototypeaddchunk) - - [SourceNode.prototype.prepend(chunk)](#sourcenodeprototypeprependchunk) - - [SourceNode.prototype.setSourceContent(sourceFile, sourceContent)](#sourcenodeprototypesetsourcecontentsourcefile-sourcecontent) - - [SourceNode.prototype.walk(fn)](#sourcenodeprototypewalkfn) - - [SourceNode.prototype.walkSourceContents(fn)](#sourcenodeprototypewalksourcecontentsfn) - - [SourceNode.prototype.join(sep)](#sourcenodeprototypejoinsep) - - [SourceNode.prototype.replaceRight(pattern, replacement)](#sourcenodeprototypereplacerightpattern-replacement) - - [SourceNode.prototype.toString()](#sourcenodeprototypetostring) - - [SourceNode.prototype.toStringWithSourceMap([startOfSourceMap])](#sourcenodeprototypetostringwithsourcemapstartofsourcemap) - - - -## Examples - -### Consuming a source map - -```js -var rawSourceMap = { - version: 3, - file: 'min.js', - names: ['bar', 'baz', 'n'], - sources: ['one.js', 'two.js'], - sourceRoot: 'http://example.com/www/js/', - mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA' -}; - -var smc = new SourceMapConsumer(rawSourceMap); - -console.log(smc.sources); -// [ 'http://example.com/www/js/one.js', -// 'http://example.com/www/js/two.js' ] - -console.log(smc.originalPositionFor({ - line: 2, - column: 28 -})); -// { source: 'http://example.com/www/js/two.js', -// line: 2, -// column: 10, -// name: 'n' } - -console.log(smc.generatedPositionFor({ - source: 'http://example.com/www/js/two.js', - line: 2, - column: 10 -})); -// { line: 2, column: 28 } - -smc.eachMapping(function (m) { - // ... -}); -``` - -### Generating a source map - -In depth guide: -[**Compiling to JavaScript, and Debugging with Source Maps**](https://hacks.mozilla.org/2013/05/compiling-to-javascript-and-debugging-with-source-maps/) - -#### With SourceNode (high level API) - -```js -function compile(ast) { - switch (ast.type) { - case 'BinaryExpression': - return new SourceNode( - ast.location.line, - ast.location.column, - ast.location.source, - [compile(ast.left), " + ", compile(ast.right)] - ); - case 'Literal': - return new SourceNode( - ast.location.line, - ast.location.column, - ast.location.source, - String(ast.value) - ); - // ... - default: - throw new Error("Bad AST"); - } -} - -var ast = parse("40 + 2", "add.js"); -console.log(compile(ast).toStringWithSourceMap({ - file: 'add.js' -})); -// { code: '40 + 2', -// map: [object SourceMapGenerator] } -``` - -#### With SourceMapGenerator (low level API) - -```js -var map = new SourceMapGenerator({ - file: "source-mapped.js" -}); - -map.addMapping({ - generated: { - line: 10, - column: 35 - }, - source: "foo.js", - original: { - line: 33, - column: 2 - }, - name: "christopher" -}); - -console.log(map.toString()); -// '{"version":3,"file":"source-mapped.js","sources":["foo.js"],"names":["christopher"],"mappings":";;;;;;;;;mCAgCEA"}' -``` - -## API - -Get a reference to the module: - -```js -// Node.js -var sourceMap = require('source-map'); - -// Browser builds -var sourceMap = window.sourceMap; - -// Inside Firefox -const sourceMap = require("devtools/toolkit/sourcemap/source-map.js"); -``` - -### SourceMapConsumer - -A SourceMapConsumer instance represents a parsed source map which we can query -for information about the original file positions by giving it a file position -in the generated source. - -#### new SourceMapConsumer(rawSourceMap) - -The only parameter is the raw source map (either as a string which can be -`JSON.parse`'d, or an object). According to the spec, source maps have the -following attributes: - -* `version`: Which version of the source map spec this map is following. - -* `sources`: An array of URLs to the original source files. - -* `names`: An array of identifiers which can be referenced by individual - mappings. - -* `sourceRoot`: Optional. The URL root from which all sources are relative. - -* `sourcesContent`: Optional. An array of contents of the original source files. - -* `mappings`: A string of base64 VLQs which contain the actual mappings. - -* `file`: Optional. The generated filename this source map is associated with. - -```js -var consumer = new sourceMap.SourceMapConsumer(rawSourceMapJsonData); -``` - -#### SourceMapConsumer.prototype.computeColumnSpans() - -Compute the last column for each generated mapping. The last column is -inclusive. - -```js -// Before: -consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1 }, -// { line: 2, -// column: 10 }, -// { line: 2, -// column: 20 } ] - -consumer.computeColumnSpans(); - -// After: -consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1, -// lastColumn: 9 }, -// { line: 2, -// column: 10, -// lastColumn: 19 }, -// { line: 2, -// column: 20, -// lastColumn: Infinity } ] - -``` - -#### SourceMapConsumer.prototype.originalPositionFor(generatedPosition) - -Returns the original source, line, and column information for the generated -source's line and column positions provided. The only argument is an object with -the following properties: - -* `line`: The line number in the generated source. - -* `column`: The column number in the generated source. - -* `bias`: Either `SourceMapConsumer.GREATEST_LOWER_BOUND` or - `SourceMapConsumer.LEAST_UPPER_BOUND`. Specifies whether to return the closest - element that is smaller than or greater than the one we are searching for, - respectively, if the exact element cannot be found. Defaults to - `SourceMapConsumer.GREATEST_LOWER_BOUND`. - -and an object is returned with the following properties: - -* `source`: The original source file, or null if this information is not - available. - -* `line`: The line number in the original source, or null if this information is - not available. - -* `column`: The column number in the original source, or null if this - information is not available. - -* `name`: The original identifier, or null if this information is not available. - -```js -consumer.originalPositionFor({ line: 2, column: 10 }) -// { source: 'foo.coffee', -// line: 2, -// column: 2, -// name: null } - -consumer.originalPositionFor({ line: 99999999999999999, column: 999999999999999 }) -// { source: null, -// line: null, -// column: null, -// name: null } -``` - -#### SourceMapConsumer.prototype.generatedPositionFor(originalPosition) - -Returns the generated line and column information for the original source, -line, and column positions provided. The only argument is an object with -the following properties: - -* `source`: The filename of the original source. - -* `line`: The line number in the original source. - -* `column`: The column number in the original source. - -and an object is returned with the following properties: - -* `line`: The line number in the generated source, or null. - -* `column`: The column number in the generated source, or null. - -```js -consumer.generatedPositionFor({ source: "example.js", line: 2, column: 10 }) -// { line: 1, -// column: 56 } -``` - -#### SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition) - -Returns all generated line and column information for the original source, line, -and column provided. If no column is provided, returns all mappings -corresponding to a either the line we are searching for or the next closest line -that has any mappings. Otherwise, returns all mappings corresponding to the -given line and either the column we are searching for or the next closest column -that has any offsets. - -The only argument is an object with the following properties: - -* `source`: The filename of the original source. - -* `line`: The line number in the original source. - -* `column`: Optional. The column number in the original source. - -and an array of objects is returned, each with the following properties: - -* `line`: The line number in the generated source, or null. - -* `column`: The column number in the generated source, or null. - -```js -consumer.allGeneratedpositionsfor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1 }, -// { line: 2, -// column: 10 }, -// { line: 2, -// column: 20 } ] -``` - -#### SourceMapConsumer.prototype.hasContentsOfAllSources() - -Return true if we have the embedded source content for every source listed in -the source map, false otherwise. - -In other words, if this method returns `true`, then -`consumer.sourceContentFor(s)` will succeed for every source `s` in -`consumer.sources`. - -```js -// ... -if (consumer.hasContentsOfAllSources()) { - consumerReadyCallback(consumer); -} else { - fetchSources(consumer, consumerReadyCallback); -} -// ... -``` - -#### SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing]) - -Returns the original source content for the source provided. The only -argument is the URL of the original source file. - -If the source content for the given source is not found, then an error is -thrown. Optionally, pass `true` as the second param to have `null` returned -instead. - -```js -consumer.sources -// [ "my-cool-lib.clj" ] - -consumer.sourceContentFor("my-cool-lib.clj") -// "..." - -consumer.sourceContentFor("this is not in the source map"); -// Error: "this is not in the source map" is not in the source map - -consumer.sourceContentFor("this is not in the source map", true); -// null -``` - -#### SourceMapConsumer.prototype.eachMapping(callback, context, order) - -Iterate over each mapping between an original source/line/column and a -generated line/column in this source map. - -* `callback`: The function that is called with each mapping. Mappings have the - form `{ source, generatedLine, generatedColumn, originalLine, originalColumn, - name }` - -* `context`: Optional. If specified, this object will be the value of `this` - every time that `callback` is called. - -* `order`: Either `SourceMapConsumer.GENERATED_ORDER` or - `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to iterate over - the mappings sorted by the generated file's line/column order or the - original's source/line/column order, respectively. Defaults to - `SourceMapConsumer.GENERATED_ORDER`. - -```js -consumer.eachMapping(function (m) { console.log(m); }) -// ... -// { source: 'illmatic.js', -// generatedLine: 1, -// generatedColumn: 0, -// originalLine: 1, -// originalColumn: 0, -// name: null } -// { source: 'illmatic.js', -// generatedLine: 2, -// generatedColumn: 0, -// originalLine: 2, -// originalColumn: 0, -// name: null } -// ... -``` -### SourceMapGenerator - -An instance of the SourceMapGenerator represents a source map which is being -built incrementally. - -#### new SourceMapGenerator([startOfSourceMap]) - -You may pass an object with the following properties: - -* `file`: The filename of the generated source that this source map is - associated with. - -* `sourceRoot`: A root for all relative URLs in this source map. - -* `skipValidation`: Optional. When `true`, disables validation of mappings as - they are added. This can improve performance but should be used with - discretion, as a last resort. Even then, one should avoid using this flag when - running tests, if possible. - -```js -var generator = new sourceMap.SourceMapGenerator({ - file: "my-generated-javascript-file.js", - sourceRoot: "http://example.com/app/js/" -}); -``` - -#### SourceMapGenerator.fromSourceMap(sourceMapConsumer) - -Creates a new `SourceMapGenerator` from an existing `SourceMapConsumer` instance. - -* `sourceMapConsumer` The SourceMap. - -```js -var generator = sourceMap.SourceMapGenerator.fromSourceMap(consumer); -``` - -#### SourceMapGenerator.prototype.addMapping(mapping) - -Add a single mapping from original source line and column to the generated -source's line and column for this source map being created. The mapping object -should have the following properties: - -* `generated`: An object with the generated line and column positions. - -* `original`: An object with the original line and column positions. - -* `source`: The original source file (relative to the sourceRoot). - -* `name`: An optional original token name for this mapping. - -```js -generator.addMapping({ - source: "module-one.scm", - original: { line: 128, column: 0 }, - generated: { line: 3, column: 456 } -}) -``` - -#### SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent) - -Set the source content for an original source file. - -* `sourceFile` the URL of the original source file. - -* `sourceContent` the content of the source file. - -```js -generator.setSourceContent("module-one.scm", - fs.readFileSync("path/to/module-one.scm")) -``` - -#### SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]]) - -Applies a SourceMap for a source file to the SourceMap. -Each mapping to the supplied source file is rewritten using the -supplied SourceMap. Note: The resolution for the resulting mappings -is the minimum of this map and the supplied map. - -* `sourceMapConsumer`: The SourceMap to be applied. - -* `sourceFile`: Optional. The filename of the source file. - If omitted, sourceMapConsumer.file will be used, if it exists. - Otherwise an error will be thrown. - -* `sourceMapPath`: Optional. The dirname of the path to the SourceMap - to be applied. If relative, it is relative to the SourceMap. - - This parameter is needed when the two SourceMaps aren't in the same - directory, and the SourceMap to be applied contains relative source - paths. If so, those relative source paths need to be rewritten - relative to the SourceMap. - - If omitted, it is assumed that both SourceMaps are in the same directory, - thus not needing any rewriting. (Supplying `'.'` has the same effect.) - -#### SourceMapGenerator.prototype.toString() - -Renders the source map being generated to a string. - -```js -generator.toString() -// '{"version":3,"sources":["module-one.scm"],"names":[],"mappings":"...snip...","file":"my-generated-javascript-file.js","sourceRoot":"http://example.com/app/js/"}' -``` - -### SourceNode - -SourceNodes provide a way to abstract over interpolating and/or concatenating -snippets of generated JavaScript source code, while maintaining the line and -column information associated between those snippets and the original source -code. This is useful as the final intermediate representation a compiler might -use before outputting the generated JS and source map. - -#### new SourceNode([line, column, source[, chunk[, name]]]) - -* `line`: The original line number associated with this source node, or null if - it isn't associated with an original line. - -* `column`: The original column number associated with this source node, or null - if it isn't associated with an original column. - -* `source`: The original source's filename; null if no filename is provided. - -* `chunk`: Optional. Is immediately passed to `SourceNode.prototype.add`, see - below. - -* `name`: Optional. The original identifier. - -```js -var node = new SourceNode(1, 2, "a.cpp", [ - new SourceNode(3, 4, "b.cpp", "extern int status;\n"), - new SourceNode(5, 6, "c.cpp", "std::string* make_string(size_t n);\n"), - new SourceNode(7, 8, "d.cpp", "int main(int argc, char** argv) {}\n"), -]); -``` - -#### SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath]) - -Creates a SourceNode from generated code and a SourceMapConsumer. - -* `code`: The generated code - -* `sourceMapConsumer` The SourceMap for the generated code - -* `relativePath` The optional path that relative sources in `sourceMapConsumer` - should be relative to. - -```js -var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8")); -var node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"), - consumer); -``` - -#### SourceNode.prototype.add(chunk) - -Add a chunk of generated JS to this source node. - -* `chunk`: A string snippet of generated JS code, another instance of - `SourceNode`, or an array where each member is one of those things. - -```js -node.add(" + "); -node.add(otherNode); -node.add([leftHandOperandNode, " + ", rightHandOperandNode]); -``` - -#### SourceNode.prototype.prepend(chunk) - -Prepend a chunk of generated JS to this source node. - -* `chunk`: A string snippet of generated JS code, another instance of - `SourceNode`, or an array where each member is one of those things. - -```js -node.prepend("/** Build Id: f783haef86324gf **/\n\n"); -``` - -#### SourceNode.prototype.setSourceContent(sourceFile, sourceContent) - -Set the source content for a source file. This will be added to the -`SourceMap` in the `sourcesContent` field. - -* `sourceFile`: The filename of the source file - -* `sourceContent`: The content of the source file - -```js -node.setSourceContent("module-one.scm", - fs.readFileSync("path/to/module-one.scm")) -``` - -#### SourceNode.prototype.walk(fn) - -Walk over the tree of JS snippets in this node and its children. The walking -function is called once for each snippet of JS and is passed that snippet and -the its original associated source's line/column location. - -* `fn`: The traversal function. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.walk(function (code, loc) { console.log("WALK:", code, loc); }) -// WALK: uno { source: 'b.js', line: 3, column: 4, name: null } -// WALK: dos { source: 'a.js', line: 1, column: 2, name: null } -// WALK: tres { source: 'a.js', line: 1, column: 2, name: null } -// WALK: quatro { source: 'c.js', line: 5, column: 6, name: null } -``` - -#### SourceNode.prototype.walkSourceContents(fn) - -Walk over the tree of SourceNodes. The walking function is called for each -source file content and is passed the filename and source content. - -* `fn`: The traversal function. - -```js -var a = new SourceNode(1, 2, "a.js", "generated from a"); -a.setSourceContent("a.js", "original a"); -var b = new SourceNode(1, 2, "b.js", "generated from b"); -b.setSourceContent("b.js", "original b"); -var c = new SourceNode(1, 2, "c.js", "generated from c"); -c.setSourceContent("c.js", "original c"); - -var node = new SourceNode(null, null, null, [a, b, c]); -node.walkSourceContents(function (source, contents) { console.log("WALK:", source, ":", contents); }) -// WALK: a.js : original a -// WALK: b.js : original b -// WALK: c.js : original c -``` - -#### SourceNode.prototype.join(sep) - -Like `Array.prototype.join` except for SourceNodes. Inserts the separator -between each of this source node's children. - -* `sep`: The separator. - -```js -var lhs = new SourceNode(1, 2, "a.rs", "my_copy"); -var operand = new SourceNode(3, 4, "a.rs", "="); -var rhs = new SourceNode(5, 6, "a.rs", "orig.clone()"); - -var node = new SourceNode(null, null, null, [ lhs, operand, rhs ]); -var joinedNode = node.join(" "); -``` - -#### SourceNode.prototype.replaceRight(pattern, replacement) - -Call `String.prototype.replace` on the very right-most source snippet. Useful -for trimming white space from the end of a source node, etc. - -* `pattern`: The pattern to replace. - -* `replacement`: The thing to replace the pattern with. - -```js -// Trim trailing white space. -node.replaceRight(/\s*$/, ""); -``` - -#### SourceNode.prototype.toString() - -Return the string representation of this source node. Walks over the tree and -concatenates all the various snippets together to one string. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.toString() -// 'unodostresquatro' -``` - -#### SourceNode.prototype.toStringWithSourceMap([startOfSourceMap]) - -Returns the string representation of this tree of source nodes, plus a -SourceMapGenerator which contains all the mappings between the generated and -original sources. - -The arguments are the same as those to `new SourceMapGenerator`. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.toStringWithSourceMap({ file: "my-output-file.js" }) -// { code: 'unodostresquatro', -// map: [object SourceMapGenerator] } -``` diff --git a/node_modules/@babel/core/node_modules/source-map/dist/source-map.debug.js b/node_modules/@babel/core/node_modules/source-map/dist/source-map.debug.js deleted file mode 100644 index b5ab6382..00000000 --- a/node_modules/@babel/core/node_modules/source-map/dist/source-map.debug.js +++ /dev/null @@ -1,3091 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["sourceMap"] = factory(); - else - root["sourceMap"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ - exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer; - exports.SourceNode = __webpack_require__(10).SourceNode; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var base64VLQ = __webpack_require__(2); - var util = __webpack_require__(4); - var ArraySet = __webpack_require__(5).ArraySet; - var MappingList = __webpack_require__(6).MappingList; - - /** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ - function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; - } - - SourceMapGenerator.prototype._version = 3; - - /** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ - SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - - /** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ - SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - - /** - * Set the source content for a source file. - */ - SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - - /** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ - SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - - /** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ - SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - - /** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ - SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - - SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - - /** - * Externalize the source map. - */ - SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - - /** - * Render the source map being generated to a string. - */ - SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - - exports.SourceMapGenerator = SourceMapGenerator; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - var base64 = __webpack_require__(3); - - // A single base 64 digit can contain 6 bits of data. For the base 64 variable - // length quantities we use in the source map spec, the first bit is the sign, - // the next four bits are the actual value, and the 6th bit is the - // continuation bit. The continuation bit tells us whether there are more - // digits in this value following this digit. - // - // Continuation - // | Sign - // | | - // V V - // 101011 - - var VLQ_BASE_SHIFT = 5; - - // binary: 100000 - var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - - // binary: 011111 - var VLQ_BASE_MASK = VLQ_BASE - 1; - - // binary: 100000 - var VLQ_CONTINUATION_BIT = VLQ_BASE; - - /** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ - function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; - } - - /** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ - function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; - } - - /** - * Returns the base 64 VLQ encoded value. - */ - exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; - }; - - /** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ - exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; - }; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - - /** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ - exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); - }; - - /** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ - exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; - }; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - /** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ - function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } - } - exports.getArg = getArg; - - var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; - var dataUrlRegexp = /^data:.+\,.+$/; - - function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; - } - exports.urlParse = urlParse; - - function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; - } - exports.urlGenerate = urlGenerate; - - /** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ - function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; - } - exports.normalize = normalize; - - /** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ - function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; - } - exports.join = join; - - exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); - }; - - /** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ - function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); - } - exports.relative = relative; - - var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); - }()); - - function identity (s) { - return s; - } - - /** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ - function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; - } - exports.toSetString = supportsNullProto ? identity : toSetString; - - function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; - } - exports.fromSetString = supportsNullProto ? identity : fromSetString; - - function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; - } - - /** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ - function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByOriginalPositions = compareByOriginalPositions; - - /** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ - function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - - function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; - } - - /** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ - function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); - } - exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; - - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var has = Object.prototype.hasOwnProperty; - var hasNativeMap = typeof Map !== "undefined"; - - /** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ - function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); - } - - /** - * Static method for creating ArraySet instances from an existing array. - */ - ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; - }; - - /** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ - ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; - }; - - /** - * Add the given string to this set. - * - * @param String aStr - */ - ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } - }; - - /** - * Is the given string a member of this set? - * - * @param String aStr - */ - ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } - }; - - /** - * What is the index of the given string in the array? - * - * @param String aStr - */ - ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); - }; - - /** - * What is the element at the given index? - * - * @param Number aIdx - */ - ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); - }; - - /** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ - ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); - }; - - exports.ArraySet = ArraySet; - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - - /** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ - function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; - } - - /** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ - function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; - } - - /** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ - MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - - /** - * Add the given source mapping. - * - * @param Object aMapping - */ - MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } - }; - - /** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ - MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; - }; - - exports.MappingList = MappingList; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var binarySearch = __webpack_require__(8); - var ArraySet = __webpack_require__(5).ArraySet; - var base64VLQ = __webpack_require__(2); - var quickSort = __webpack_require__(9).quickSort; - - function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); - } - - SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); - } - - /** - * The version of the source mapping spec that we are consuming. - */ - SourceMapConsumer.prototype._version = 3; - - // `__generatedMappings` and `__originalMappings` are arrays that hold the - // parsed mapping coordinates from the source map's "mappings" attribute. They - // are lazily instantiated, accessed via the `_generatedMappings` and - // `_originalMappings` getters respectively, and we only parse the mappings - // and create these arrays once queried for a source location. We jump through - // these hoops because there can be many thousands of mappings, and parsing - // them is expensive, so we only want to do it if we must. - // - // Each object in the arrays is of the form: - // - // { - // generatedLine: The line number in the generated code, - // generatedColumn: The column number in the generated code, - // source: The path to the original source file that generated this - // chunk of code, - // originalLine: The line number in the original source that - // corresponds to this chunk of generated code, - // originalColumn: The column number in the original source that - // corresponds to this chunk of generated code, - // name: The name of the original symbol which generated this chunk of - // code. - // } - // - // All properties except for `generatedLine` and `generatedColumn` can be - // `null`. - // - // `_generatedMappings` is ordered by the generated positions. - // - // `_originalMappings` is ordered by the original positions. - - SourceMapConsumer.prototype.__generatedMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } - }); - - SourceMapConsumer.prototype.__originalMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } - }); - - SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - - SourceMapConsumer.GENERATED_ORDER = 1; - SourceMapConsumer.ORIGINAL_ORDER = 2; - - SourceMapConsumer.GREATEST_LOWER_BOUND = 1; - SourceMapConsumer.LEAST_UPPER_BOUND = 2; - - /** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ - SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - - /** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - - exports.SourceMapConsumer = SourceMapConsumer; - - /** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ - function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; - } - - BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - - /** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ - BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - - /** - * The version of the source mapping spec that we are consuming. - */ - BasicSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } - }); - - /** - * Provide the JIT with a nice shape / hidden class. - */ - function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; - } - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - - /** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ - BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - - /** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ - BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - - exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - - /** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ - function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); - } - - IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - - /** - * The version of the source mapping spec that we are consuming. - */ - IndexedSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } - }); - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - - exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; - - -/***/ }), -/* 8 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - exports.GREATEST_LOWER_BOUND = 1; - exports.LEAST_UPPER_BOUND = 2; - - /** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ - function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } - } - - /** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ - exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; - }; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - // It turns out that some (most?) JavaScript engines don't self-host - // `Array.prototype.sort`. This makes sense because C++ will likely remain - // faster than JS when doing raw CPU-intensive sorting. However, when using a - // custom comparator function, calling back and forth between the VM's C++ and - // JIT'd JS is rather slow *and* loses JIT type information, resulting in - // worse generated code for the comparator function than would be optimal. In - // fact, when sorting with a comparator, these costs outweigh the benefits of - // sorting in C++. By using our own JS-implemented Quick Sort (below), we get - // a ~3500ms mean speed-up in `bench/bench.html`. - - /** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ - function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; - } - - /** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ - function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); - } - - /** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ - function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } - } - - /** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ - exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); - }; - - -/***/ }), -/* 10 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - var util = __webpack_require__(4); - - // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other - // operating systems these days (capturing the result). - var REGEX_NEWLINE = /(\r?\n)/; - - // Newline character code for charCodeAt() comparisons - var NEWLINE_CODE = 10; - - // Private symbol for identifying `SourceNode`s when multiple versions of - // the source-map library are loaded. This MUST NOT CHANGE across - // versions! - var isSourceNode = "$$$isSourceNode$$$"; - - /** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ - function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); - } - - /** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ - SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - - /** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } - }; - - /** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ - SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; - }; - - /** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ - SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; - }; - - /** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ - SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - - /** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - - /** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ - SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; - }; - - /** - * Returns the string representation of this source node along with a source - * map. - */ - SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; - }; - - exports.SourceNode = SourceNode; - - -/***/ }) -/******/ ]) -}); -; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay91bml2ZXJzYWxNb2R1bGVEZWZpbml0aW9uIiwid2VicGFjazovLy93ZWJwYWNrL2Jvb3RzdHJhcCBlNDczOGZjNzJhN2IyMzAzOTg4OSIsIndlYnBhY2s6Ly8vLi9zb3VyY2UtbWFwLmpzIiwid2VicGFjazovLy8uL2xpYi9zb3VyY2UtbWFwLWdlbmVyYXRvci5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LXZscS5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LmpzIiwid2VicGFjazovLy8uL2xpYi91dGlsLmpzIiwid2VicGFjazovLy8uL2xpYi9hcnJheS1zZXQuanMiLCJ3ZWJwYWNrOi8vLy4vbGliL21hcHBpbmctbGlzdC5qcyIsIndlYnBhY2s6Ly8vLi9saWIvc291cmNlLW1hcC1jb25zdW1lci5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmluYXJ5LXNlYXJjaC5qcyIsIndlYnBhY2s6Ly8vLi9saWIvcXVpY2stc29ydC5qcyIsIndlYnBhY2s6Ly8vLi9saWIvc291cmNlLW5vZGUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsQ0FBQztBQUNELE87QUNWQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSx1QkFBZTtBQUNmO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOzs7QUFHQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBOzs7Ozs7O0FDdENBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Ozs7Ozs7QUNQQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSxNQUFLO0FBQ0w7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxVQUFTO0FBQ1Q7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUEsTUFBSztBQUNMO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxRQUFPO0FBQ1A7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0EsMkNBQTBDLFNBQVM7QUFDbkQ7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxxQkFBb0I7QUFDcEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxNQUFLO0FBQ0w7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOzs7Ozs7O0FDL1pBLGlCQUFnQixvQkFBb0I7QUFDcEM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLDREQUEyRDtBQUMzRCxxQkFBb0I7QUFDcEI7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFHOztBQUVIO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRzs7QUFFSDtBQUNBO0FBQ0E7Ozs7Ozs7QUMzSUEsaUJBQWdCLG9CQUFvQjtBQUNwQztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsaUJBQWdCO0FBQ2hCLGlCQUFnQjs7QUFFaEIsb0JBQW1CO0FBQ25CLHFCQUFvQjs7QUFFcEIsaUJBQWdCO0FBQ2hCLGlCQUFnQjs7QUFFaEIsaUJBQWdCO0FBQ2hCLGtCQUFpQjs7QUFFakI7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7Ozs7Ozs7QUNsRUEsaUJBQWdCLG9CQUFvQjtBQUNwQztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRztBQUNIO0FBQ0EsSUFBRztBQUNIO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0EsK0NBQThDLFFBQVE7QUFDdEQ7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxFQUFDOztBQUVEO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBLDRCQUEyQixRQUFRO0FBQ25DO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7Ozs7Ozs7QUNoYUEsaUJBQWdCLG9CQUFvQjtBQUNwQztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsdUNBQXNDLFNBQVM7QUFDL0M7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRztBQUNIO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFHO0FBQ0g7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7Ozs7OztBQ3hIQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsaUJBQWdCO0FBQ2hCOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLElBQUc7QUFDSDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7Ozs7OztBQzlFQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSx1REFBc0Q7QUFDdEQ7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSxFQUFDOztBQUVEO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsRUFBQzs7QUFFRDtBQUNBO0FBQ0E7QUFDQSxvQkFBbUI7QUFDbkI7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFlBQVc7O0FBRVg7QUFDQTtBQUNBLFFBQU87QUFDUDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsWUFBVzs7QUFFWDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsNEJBQTJCLE1BQU07QUFDakM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSx1REFBc0Q7QUFDdEQ7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7O0FBRUw7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBLHVEQUFzRCxZQUFZO0FBQ2xFO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBLEVBQUM7O0FBRUQ7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0Esb0NBQW1DO0FBQ25DO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSwwQkFBeUIsY0FBYztBQUN2QztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0Esd0JBQXVCLHdDQUF3QztBQUMvRDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsZ0RBQStDLG1CQUFtQixFQUFFO0FBQ3BFOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLGtCQUFpQixvQkFBb0I7QUFDckM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLDhCQUE2QixNQUFNO0FBQ25DO0FBQ0EsUUFBTztBQUNQO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsdURBQXNEO0FBQ3REOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxRQUFPO0FBQ1A7QUFDQTtBQUNBLElBQUc7QUFDSDs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLG9CQUFtQiwyQkFBMkI7QUFDOUMsc0JBQXFCLCtDQUErQztBQUNwRTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsRUFBQzs7QUFFRDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsUUFBTztBQUNQOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0Esb0JBQW1CLDJCQUEyQjtBQUM5Qzs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxvQkFBbUIsMkJBQTJCO0FBQzlDOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLG9CQUFtQiwyQkFBMkI7QUFDOUM7QUFDQTtBQUNBLHNCQUFxQiw0QkFBNEI7QUFDakQ7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBOzs7Ozs7O0FDempDQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxNQUFLO0FBQ0w7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7Ozs7OztBQzlHQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFlBQVcsTUFBTTtBQUNqQjtBQUNBLFlBQVcsT0FBTztBQUNsQjtBQUNBLFlBQVcsT0FBTztBQUNsQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxZQUFXLE1BQU07QUFDakI7QUFDQSxZQUFXLFNBQVM7QUFDcEI7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLG9CQUFtQixPQUFPO0FBQzFCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxZQUFXLE1BQU07QUFDakI7QUFDQSxZQUFXLFNBQVM7QUFDcEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7Ozs7OztBQ2pIQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxNQUFLOztBQUVMOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxrQ0FBaUMsUUFBUTtBQUN6QztBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSw4Q0FBNkMsU0FBUztBQUN0RDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxxQkFBb0I7QUFDcEI7QUFDQTtBQUNBLHVDQUFzQztBQUN0QztBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxnQkFBZSxXQUFXO0FBQzFCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxnREFBK0MsU0FBUztBQUN4RDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBLDBDQUF5QyxTQUFTO0FBQ2xEO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRztBQUNIO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsWUFBVztBQUNYO0FBQ0E7QUFDQTtBQUNBLFlBQVc7QUFDWDtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxNQUFLO0FBQ0w7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQSw2Q0FBNEMsY0FBYztBQUMxRDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsY0FBYTtBQUNiO0FBQ0E7QUFDQTtBQUNBLGNBQWE7QUFDYjtBQUNBLFlBQVc7QUFDWDtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQSxJQUFHO0FBQ0g7QUFDQTtBQUNBLElBQUc7O0FBRUgsV0FBVTtBQUNWOztBQUVBIiwiZmlsZSI6InNvdXJjZS1tYXAuZGVidWcuanMiLCJzb3VyY2VzQ29udGVudCI6WyIoZnVuY3Rpb24gd2VicGFja1VuaXZlcnNhbE1vZHVsZURlZmluaXRpb24ocm9vdCwgZmFjdG9yeSkge1xuXHRpZih0eXBlb2YgZXhwb3J0cyA9PT0gJ29iamVjdCcgJiYgdHlwZW9mIG1vZHVsZSA9PT0gJ29iamVjdCcpXG5cdFx0bW9kdWxlLmV4cG9ydHMgPSBmYWN0b3J5KCk7XG5cdGVsc2UgaWYodHlwZW9mIGRlZmluZSA9PT0gJ2Z1bmN0aW9uJyAmJiBkZWZpbmUuYW1kKVxuXHRcdGRlZmluZShbXSwgZmFjdG9yeSk7XG5cdGVsc2UgaWYodHlwZW9mIGV4cG9ydHMgPT09ICdvYmplY3QnKVxuXHRcdGV4cG9ydHNbXCJzb3VyY2VNYXBcIl0gPSBmYWN0b3J5KCk7XG5cdGVsc2Vcblx0XHRyb290W1wic291cmNlTWFwXCJdID0gZmFjdG9yeSgpO1xufSkodGhpcywgZnVuY3Rpb24oKSB7XG5yZXR1cm4gXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIHdlYnBhY2svdW5pdmVyc2FsTW9kdWxlRGVmaW5pdGlvbiIsIiBcdC8vIFRoZSBtb2R1bGUgY2FjaGVcbiBcdHZhciBpbnN0YWxsZWRNb2R1bGVzID0ge307XG5cbiBcdC8vIFRoZSByZXF1aXJlIGZ1bmN0aW9uXG4gXHRmdW5jdGlvbiBfX3dlYnBhY2tfcmVxdWlyZV9fKG1vZHVsZUlkKSB7XG5cbiBcdFx0Ly8gQ2hlY2sgaWYgbW9kdWxlIGlzIGluIGNhY2hlXG4gXHRcdGlmKGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdKVxuIFx0XHRcdHJldHVybiBpbnN0YWxsZWRNb2R1bGVzW21vZHVsZUlkXS5leHBvcnRzO1xuXG4gXHRcdC8vIENyZWF0ZSBhIG5ldyBtb2R1bGUgKGFuZCBwdXQgaXQgaW50byB0aGUgY2FjaGUpXG4gXHRcdHZhciBtb2R1bGUgPSBpbnN0YWxsZWRNb2R1bGVzW21vZHVsZUlkXSA9IHtcbiBcdFx0XHRleHBvcnRzOiB7fSxcbiBcdFx0XHRpZDogbW9kdWxlSWQsXG4gXHRcdFx0bG9hZGVkOiBmYWxzZVxuIFx0XHR9O1xuXG4gXHRcdC8vIEV4ZWN1dGUgdGhlIG1vZHVsZSBmdW5jdGlvblxuIFx0XHRtb2R1bGVzW21vZHVsZUlkXS5jYWxsKG1vZHVsZS5leHBvcnRzLCBtb2R1bGUsIG1vZHVsZS5leHBvcnRzLCBfX3dlYnBhY2tfcmVxdWlyZV9fKTtcblxuIFx0XHQvLyBGbGFnIHRoZSBtb2R1bGUgYXMgbG9hZGVkXG4gXHRcdG1vZHVsZS5sb2FkZWQgPSB0cnVlO1xuXG4gXHRcdC8vIFJldHVybiB0aGUgZXhwb3J0cyBvZiB0aGUgbW9kdWxlXG4gXHRcdHJldHVybiBtb2R1bGUuZXhwb3J0cztcbiBcdH1cblxuXG4gXHQvLyBleHBvc2UgdGhlIG1vZHVsZXMgb2JqZWN0IChfX3dlYnBhY2tfbW9kdWxlc19fKVxuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5tID0gbW9kdWxlcztcblxuIFx0Ly8gZXhwb3NlIHRoZSBtb2R1bGUgY2FjaGVcbiBcdF9fd2VicGFja19yZXF1aXJlX18uYyA9IGluc3RhbGxlZE1vZHVsZXM7XG5cbiBcdC8vIF9fd2VicGFja19wdWJsaWNfcGF0aF9fXG4gXHRfX3dlYnBhY2tfcmVxdWlyZV9fLnAgPSBcIlwiO1xuXG4gXHQvLyBMb2FkIGVudHJ5IG1vZHVsZSBhbmQgcmV0dXJuIGV4cG9ydHNcbiBcdHJldHVybiBfX3dlYnBhY2tfcmVxdWlyZV9fKDApO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIHdlYnBhY2svYm9vdHN0cmFwIGU0NzM4ZmM3MmE3YjIzMDM5ODg5IiwiLypcbiAqIENvcHlyaWdodCAyMDA5LTIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFLnR4dCBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuZXhwb3J0cy5Tb3VyY2VNYXBHZW5lcmF0b3IgPSByZXF1aXJlKCcuL2xpYi9zb3VyY2UtbWFwLWdlbmVyYXRvcicpLlNvdXJjZU1hcEdlbmVyYXRvcjtcbmV4cG9ydHMuU291cmNlTWFwQ29uc3VtZXIgPSByZXF1aXJlKCcuL2xpYi9zb3VyY2UtbWFwLWNvbnN1bWVyJykuU291cmNlTWFwQ29uc3VtZXI7XG5leHBvcnRzLlNvdXJjZU5vZGUgPSByZXF1aXJlKCcuL2xpYi9zb3VyY2Utbm9kZScpLlNvdXJjZU5vZGU7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NvdXJjZS1tYXAuanNcbi8vIG1vZHVsZSBpZCA9IDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLyogLSotIE1vZGU6IGpzOyBqcy1pbmRlbnQtbGV2ZWw6IDI7IC0qLSAqL1xuLypcbiAqIENvcHlyaWdodCAyMDExIE1vemlsbGEgRm91bmRhdGlvbiBhbmQgY29udHJpYnV0b3JzXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgTmV3IEJTRCBsaWNlbnNlLiBTZWUgTElDRU5TRSBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuXG52YXIgYmFzZTY0VkxRID0gcmVxdWlyZSgnLi9iYXNlNjQtdmxxJyk7XG52YXIgdXRpbCA9IHJlcXVpcmUoJy4vdXRpbCcpO1xudmFyIEFycmF5U2V0ID0gcmVxdWlyZSgnLi9hcnJheS1zZXQnKS5BcnJheVNldDtcbnZhciBNYXBwaW5nTGlzdCA9IHJlcXVpcmUoJy4vbWFwcGluZy1saXN0JykuTWFwcGluZ0xpc3Q7XG5cbi8qKlxuICogQW4gaW5zdGFuY2Ugb2YgdGhlIFNvdXJjZU1hcEdlbmVyYXRvciByZXByZXNlbnRzIGEgc291cmNlIG1hcCB3aGljaCBpc1xuICogYmVpbmcgYnVpbHQgaW5jcmVtZW50YWxseS4gWW91IG1heSBwYXNzIGFuIG9iamVjdCB3aXRoIHRoZSBmb2xsb3dpbmdcbiAqIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGZpbGU6IFRoZSBmaWxlbmFtZSBvZiB0aGUgZ2VuZXJhdGVkIHNvdXJjZS5cbiAqICAgLSBzb3VyY2VSb290OiBBIHJvb3QgZm9yIGFsbCByZWxhdGl2ZSBVUkxzIGluIHRoaXMgc291cmNlIG1hcC5cbiAqL1xuZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yKGFBcmdzKSB7XG4gIGlmICghYUFyZ3MpIHtcbiAgICBhQXJncyA9IHt9O1xuICB9XG4gIHRoaXMuX2ZpbGUgPSB1dGlsLmdldEFyZyhhQXJncywgJ2ZpbGUnLCBudWxsKTtcbiAgdGhpcy5fc291cmNlUm9vdCA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlUm9vdCcsIG51bGwpO1xuICB0aGlzLl9za2lwVmFsaWRhdGlvbiA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc2tpcFZhbGlkYXRpb24nLCBmYWxzZSk7XG4gIHRoaXMuX3NvdXJjZXMgPSBuZXcgQXJyYXlTZXQoKTtcbiAgdGhpcy5fbmFtZXMgPSBuZXcgQXJyYXlTZXQoKTtcbiAgdGhpcy5fbWFwcGluZ3MgPSBuZXcgTWFwcGluZ0xpc3QoKTtcbiAgdGhpcy5fc291cmNlc0NvbnRlbnRzID0gbnVsbDtcbn1cblxuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5fdmVyc2lvbiA9IDM7XG5cbi8qKlxuICogQ3JlYXRlcyBhIG5ldyBTb3VyY2VNYXBHZW5lcmF0b3IgYmFzZWQgb24gYSBTb3VyY2VNYXBDb25zdW1lclxuICpcbiAqIEBwYXJhbSBhU291cmNlTWFwQ29uc3VtZXIgVGhlIFNvdXJjZU1hcC5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLmZyb21Tb3VyY2VNYXAgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBHZW5lcmF0b3JfZnJvbVNvdXJjZU1hcChhU291cmNlTWFwQ29uc3VtZXIpIHtcbiAgICB2YXIgc291cmNlUm9vdCA9IGFTb3VyY2VNYXBDb25zdW1lci5zb3VyY2VSb290O1xuICAgIHZhciBnZW5lcmF0b3IgPSBuZXcgU291cmNlTWFwR2VuZXJhdG9yKHtcbiAgICAgIGZpbGU6IGFTb3VyY2VNYXBDb25zdW1lci5maWxlLFxuICAgICAgc291cmNlUm9vdDogc291cmNlUm9vdFxuICAgIH0pO1xuICAgIGFTb3VyY2VNYXBDb25zdW1lci5lYWNoTWFwcGluZyhmdW5jdGlvbiAobWFwcGluZykge1xuICAgICAgdmFyIG5ld01hcHBpbmcgPSB7XG4gICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgIGxpbmU6IG1hcHBpbmcuZ2VuZXJhdGVkTGluZSxcbiAgICAgICAgICBjb2x1bW46IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uXG4gICAgICAgIH1cbiAgICAgIH07XG5cbiAgICAgIGlmIChtYXBwaW5nLnNvdXJjZSAhPSBudWxsKSB7XG4gICAgICAgIG5ld01hcHBpbmcuc291cmNlID0gbWFwcGluZy5zb3VyY2U7XG4gICAgICAgIGlmIChzb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgICAgICBuZXdNYXBwaW5nLnNvdXJjZSA9IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgbmV3TWFwcGluZy5zb3VyY2UpO1xuICAgICAgICB9XG5cbiAgICAgICAgbmV3TWFwcGluZy5vcmlnaW5hbCA9IHtcbiAgICAgICAgICBsaW5lOiBtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICBjb2x1bW46IG1hcHBpbmcub3JpZ2luYWxDb2x1bW5cbiAgICAgICAgfTtcblxuICAgICAgICBpZiAobWFwcGluZy5uYW1lICE9IG51bGwpIHtcbiAgICAgICAgICBuZXdNYXBwaW5nLm5hbWUgPSBtYXBwaW5nLm5hbWU7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgZ2VuZXJhdG9yLmFkZE1hcHBpbmcobmV3TWFwcGluZyk7XG4gICAgfSk7XG4gICAgYVNvdXJjZU1hcENvbnN1bWVyLnNvdXJjZXMuZm9yRWFjaChmdW5jdGlvbiAoc291cmNlRmlsZSkge1xuICAgICAgdmFyIGNvbnRlbnQgPSBhU291cmNlTWFwQ29uc3VtZXIuc291cmNlQ29udGVudEZvcihzb3VyY2VGaWxlKTtcbiAgICAgIGlmIChjb250ZW50ICE9IG51bGwpIHtcbiAgICAgICAgZ2VuZXJhdG9yLnNldFNvdXJjZUNvbnRlbnQoc291cmNlRmlsZSwgY29udGVudCk7XG4gICAgICB9XG4gICAgfSk7XG4gICAgcmV0dXJuIGdlbmVyYXRvcjtcbiAgfTtcblxuLyoqXG4gKiBBZGQgYSBzaW5nbGUgbWFwcGluZyBmcm9tIG9yaWdpbmFsIHNvdXJjZSBsaW5lIGFuZCBjb2x1bW4gdG8gdGhlIGdlbmVyYXRlZFxuICogc291cmNlJ3MgbGluZSBhbmQgY29sdW1uIGZvciB0aGlzIHNvdXJjZSBtYXAgYmVpbmcgY3JlYXRlZC4gVGhlIG1hcHBpbmdcbiAqIG9iamVjdCBzaG91bGQgaGF2ZSB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGdlbmVyYXRlZDogQW4gb2JqZWN0IHdpdGggdGhlIGdlbmVyYXRlZCBsaW5lIGFuZCBjb2x1bW4gcG9zaXRpb25zLlxuICogICAtIG9yaWdpbmFsOiBBbiBvYmplY3Qgd2l0aCB0aGUgb3JpZ2luYWwgbGluZSBhbmQgY29sdW1uIHBvc2l0aW9ucy5cbiAqICAgLSBzb3VyY2U6IFRoZSBvcmlnaW5hbCBzb3VyY2UgZmlsZSAocmVsYXRpdmUgdG8gdGhlIHNvdXJjZVJvb3QpLlxuICogICAtIG5hbWU6IEFuIG9wdGlvbmFsIG9yaWdpbmFsIHRva2VuIG5hbWUgZm9yIHRoaXMgbWFwcGluZy5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5hZGRNYXBwaW5nID1cbiAgZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yX2FkZE1hcHBpbmcoYUFyZ3MpIHtcbiAgICB2YXIgZ2VuZXJhdGVkID0gdXRpbC5nZXRBcmcoYUFyZ3MsICdnZW5lcmF0ZWQnKTtcbiAgICB2YXIgb3JpZ2luYWwgPSB1dGlsLmdldEFyZyhhQXJncywgJ29yaWdpbmFsJywgbnVsbCk7XG4gICAgdmFyIHNvdXJjZSA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJywgbnVsbCk7XG4gICAgdmFyIG5hbWUgPSB1dGlsLmdldEFyZyhhQXJncywgJ25hbWUnLCBudWxsKTtcblxuICAgIGlmICghdGhpcy5fc2tpcFZhbGlkYXRpb24pIHtcbiAgICAgIHRoaXMuX3ZhbGlkYXRlTWFwcGluZyhnZW5lcmF0ZWQsIG9yaWdpbmFsLCBzb3VyY2UsIG5hbWUpO1xuICAgIH1cblxuICAgIGlmIChzb3VyY2UgIT0gbnVsbCkge1xuICAgICAgc291cmNlID0gU3RyaW5nKHNvdXJjZSk7XG4gICAgICBpZiAoIXRoaXMuX3NvdXJjZXMuaGFzKHNvdXJjZSkpIHtcbiAgICAgICAgdGhpcy5fc291cmNlcy5hZGQoc291cmNlKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAobmFtZSAhPSBudWxsKSB7XG4gICAgICBuYW1lID0gU3RyaW5nKG5hbWUpO1xuICAgICAgaWYgKCF0aGlzLl9uYW1lcy5oYXMobmFtZSkpIHtcbiAgICAgICAgdGhpcy5fbmFtZXMuYWRkKG5hbWUpO1xuICAgICAgfVxuICAgIH1cblxuICAgIHRoaXMuX21hcHBpbmdzLmFkZCh7XG4gICAgICBnZW5lcmF0ZWRMaW5lOiBnZW5lcmF0ZWQubGluZSxcbiAgICAgIGdlbmVyYXRlZENvbHVtbjogZ2VuZXJhdGVkLmNvbHVtbixcbiAgICAgIG9yaWdpbmFsTGluZTogb3JpZ2luYWwgIT0gbnVsbCAmJiBvcmlnaW5hbC5saW5lLFxuICAgICAgb3JpZ2luYWxDb2x1bW46IG9yaWdpbmFsICE9IG51bGwgJiYgb3JpZ2luYWwuY29sdW1uLFxuICAgICAgc291cmNlOiBzb3VyY2UsXG4gICAgICBuYW1lOiBuYW1lXG4gICAgfSk7XG4gIH07XG5cbi8qKlxuICogU2V0IHRoZSBzb3VyY2UgY29udGVudCBmb3IgYSBzb3VyY2UgZmlsZS5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5zZXRTb3VyY2VDb250ZW50ID1cbiAgZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yX3NldFNvdXJjZUNvbnRlbnQoYVNvdXJjZUZpbGUsIGFTb3VyY2VDb250ZW50KSB7XG4gICAgdmFyIHNvdXJjZSA9IGFTb3VyY2VGaWxlO1xuICAgIGlmICh0aGlzLl9zb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgIHNvdXJjZSA9IHV0aWwucmVsYXRpdmUodGhpcy5fc291cmNlUm9vdCwgc291cmNlKTtcbiAgICB9XG5cbiAgICBpZiAoYVNvdXJjZUNvbnRlbnQgIT0gbnVsbCkge1xuICAgICAgLy8gQWRkIHRoZSBzb3VyY2UgY29udGVudCB0byB0aGUgX3NvdXJjZXNDb250ZW50cyBtYXAuXG4gICAgICAvLyBDcmVhdGUgYSBuZXcgX3NvdXJjZXNDb250ZW50cyBtYXAgaWYgdGhlIHByb3BlcnR5IGlzIG51bGwuXG4gICAgICBpZiAoIXRoaXMuX3NvdXJjZXNDb250ZW50cykge1xuICAgICAgICB0aGlzLl9zb3VyY2VzQ29udGVudHMgPSBPYmplY3QuY3JlYXRlKG51bGwpO1xuICAgICAgfVxuICAgICAgdGhpcy5fc291cmNlc0NvbnRlbnRzW3V0aWwudG9TZXRTdHJpbmcoc291cmNlKV0gPSBhU291cmNlQ29udGVudDtcbiAgICB9IGVsc2UgaWYgKHRoaXMuX3NvdXJjZXNDb250ZW50cykge1xuICAgICAgLy8gUmVtb3ZlIHRoZSBzb3VyY2UgZmlsZSBmcm9tIHRoZSBfc291cmNlc0NvbnRlbnRzIG1hcC5cbiAgICAgIC8vIElmIHRoZSBfc291cmNlc0NvbnRlbnRzIG1hcCBpcyBlbXB0eSwgc2V0IHRoZSBwcm9wZXJ0eSB0byBudWxsLlxuICAgICAgZGVsZXRlIHRoaXMuX3NvdXJjZXNDb250ZW50c1t1dGlsLnRvU2V0U3RyaW5nKHNvdXJjZSldO1xuICAgICAgaWYgKE9iamVjdC5rZXlzKHRoaXMuX3NvdXJjZXNDb250ZW50cykubGVuZ3RoID09PSAwKSB7XG4gICAgICAgIHRoaXMuX3NvdXJjZXNDb250ZW50cyA9IG51bGw7XG4gICAgICB9XG4gICAgfVxuICB9O1xuXG4vKipcbiAqIEFwcGxpZXMgdGhlIG1hcHBpbmdzIG9mIGEgc3ViLXNvdXJjZS1tYXAgZm9yIGEgc3BlY2lmaWMgc291cmNlIGZpbGUgdG8gdGhlXG4gKiBzb3VyY2UgbWFwIGJlaW5nIGdlbmVyYXRlZC4gRWFjaCBtYXBwaW5nIHRvIHRoZSBzdXBwbGllZCBzb3VyY2UgZmlsZSBpc1xuICogcmV3cml0dGVuIHVzaW5nIHRoZSBzdXBwbGllZCBzb3VyY2UgbWFwLiBOb3RlOiBUaGUgcmVzb2x1dGlvbiBmb3IgdGhlXG4gKiByZXN1bHRpbmcgbWFwcGluZ3MgaXMgdGhlIG1pbmltaXVtIG9mIHRoaXMgbWFwIGFuZCB0aGUgc3VwcGxpZWQgbWFwLlxuICpcbiAqIEBwYXJhbSBhU291cmNlTWFwQ29uc3VtZXIgVGhlIHNvdXJjZSBtYXAgdG8gYmUgYXBwbGllZC5cbiAqIEBwYXJhbSBhU291cmNlRmlsZSBPcHRpb25hbC4gVGhlIGZpbGVuYW1lIG9mIHRoZSBzb3VyY2UgZmlsZS5cbiAqICAgICAgICBJZiBvbWl0dGVkLCBTb3VyY2VNYXBDb25zdW1lcidzIGZpbGUgcHJvcGVydHkgd2lsbCBiZSB1c2VkLlxuICogQHBhcmFtIGFTb3VyY2VNYXBQYXRoIE9wdGlvbmFsLiBUaGUgZGlybmFtZSBvZiB0aGUgcGF0aCB0byB0aGUgc291cmNlIG1hcFxuICogICAgICAgIHRvIGJlIGFwcGxpZWQuIElmIHJlbGF0aXZlLCBpdCBpcyByZWxhdGl2ZSB0byB0aGUgU291cmNlTWFwQ29uc3VtZXIuXG4gKiAgICAgICAgVGhpcyBwYXJhbWV0ZXIgaXMgbmVlZGVkIHdoZW4gdGhlIHR3byBzb3VyY2UgbWFwcyBhcmVuJ3QgaW4gdGhlIHNhbWVcbiAqICAgICAgICBkaXJlY3RvcnksIGFuZCB0aGUgc291cmNlIG1hcCB0byBiZSBhcHBsaWVkIGNvbnRhaW5zIHJlbGF0aXZlIHNvdXJjZVxuICogICAgICAgIHBhdGhzLiBJZiBzbywgdGhvc2UgcmVsYXRpdmUgc291cmNlIHBhdGhzIG5lZWQgdG8gYmUgcmV3cml0dGVuXG4gKiAgICAgICAgcmVsYXRpdmUgdG8gdGhlIFNvdXJjZU1hcEdlbmVyYXRvci5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5hcHBseVNvdXJjZU1hcCA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl9hcHBseVNvdXJjZU1hcChhU291cmNlTWFwQ29uc3VtZXIsIGFTb3VyY2VGaWxlLCBhU291cmNlTWFwUGF0aCkge1xuICAgIHZhciBzb3VyY2VGaWxlID0gYVNvdXJjZUZpbGU7XG4gICAgLy8gSWYgYVNvdXJjZUZpbGUgaXMgb21pdHRlZCwgd2Ugd2lsbCB1c2UgdGhlIGZpbGUgcHJvcGVydHkgb2YgdGhlIFNvdXJjZU1hcFxuICAgIGlmIChhU291cmNlRmlsZSA9PSBudWxsKSB7XG4gICAgICBpZiAoYVNvdXJjZU1hcENvbnN1bWVyLmZpbGUgPT0gbnVsbCkge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXG4gICAgICAgICAgJ1NvdXJjZU1hcEdlbmVyYXRvci5wcm90b3R5cGUuYXBwbHlTb3VyY2VNYXAgcmVxdWlyZXMgZWl0aGVyIGFuIGV4cGxpY2l0IHNvdXJjZSBmaWxlLCAnICtcbiAgICAgICAgICAnb3IgdGhlIHNvdXJjZSBtYXBcXCdzIFwiZmlsZVwiIHByb3BlcnR5LiBCb3RoIHdlcmUgb21pdHRlZC4nXG4gICAgICAgICk7XG4gICAgICB9XG4gICAgICBzb3VyY2VGaWxlID0gYVNvdXJjZU1hcENvbnN1bWVyLmZpbGU7XG4gICAgfVxuICAgIHZhciBzb3VyY2VSb290ID0gdGhpcy5fc291cmNlUm9vdDtcbiAgICAvLyBNYWtlIFwic291cmNlRmlsZVwiIHJlbGF0aXZlIGlmIGFuIGFic29sdXRlIFVybCBpcyBwYXNzZWQuXG4gICAgaWYgKHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgc291cmNlRmlsZSA9IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgc291cmNlRmlsZSk7XG4gICAgfVxuICAgIC8vIEFwcGx5aW5nIHRoZSBTb3VyY2VNYXAgY2FuIGFkZCBhbmQgcmVtb3ZlIGl0ZW1zIGZyb20gdGhlIHNvdXJjZXMgYW5kXG4gICAgLy8gdGhlIG5hbWVzIGFycmF5LlxuICAgIHZhciBuZXdTb3VyY2VzID0gbmV3IEFycmF5U2V0KCk7XG4gICAgdmFyIG5ld05hbWVzID0gbmV3IEFycmF5U2V0KCk7XG5cbiAgICAvLyBGaW5kIG1hcHBpbmdzIGZvciB0aGUgXCJzb3VyY2VGaWxlXCJcbiAgICB0aGlzLl9tYXBwaW5ncy51bnNvcnRlZEZvckVhY2goZnVuY3Rpb24gKG1hcHBpbmcpIHtcbiAgICAgIGlmIChtYXBwaW5nLnNvdXJjZSA9PT0gc291cmNlRmlsZSAmJiBtYXBwaW5nLm9yaWdpbmFsTGluZSAhPSBudWxsKSB7XG4gICAgICAgIC8vIENoZWNrIGlmIGl0IGNhbiBiZSBtYXBwZWQgYnkgdGhlIHNvdXJjZSBtYXAsIHRoZW4gdXBkYXRlIHRoZSBtYXBwaW5nLlxuICAgICAgICB2YXIgb3JpZ2luYWwgPSBhU291cmNlTWFwQ29uc3VtZXIub3JpZ2luYWxQb3NpdGlvbkZvcih7XG4gICAgICAgICAgbGluZTogbWFwcGluZy5vcmlnaW5hbExpbmUsXG4gICAgICAgICAgY29sdW1uOiBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uXG4gICAgICAgIH0pO1xuICAgICAgICBpZiAob3JpZ2luYWwuc291cmNlICE9IG51bGwpIHtcbiAgICAgICAgICAvLyBDb3B5IG1hcHBpbmdcbiAgICAgICAgICBtYXBwaW5nLnNvdXJjZSA9IG9yaWdpbmFsLnNvdXJjZTtcbiAgICAgICAgICBpZiAoYVNvdXJjZU1hcFBhdGggIT0gbnVsbCkge1xuICAgICAgICAgICAgbWFwcGluZy5zb3VyY2UgPSB1dGlsLmpvaW4oYVNvdXJjZU1hcFBhdGgsIG1hcHBpbmcuc291cmNlKVxuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICAgICAgICBtYXBwaW5nLnNvdXJjZSA9IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgbWFwcGluZy5zb3VyY2UpO1xuICAgICAgICAgIH1cbiAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsTGluZSA9IG9yaWdpbmFsLmxpbmU7XG4gICAgICAgICAgbWFwcGluZy5vcmlnaW5hbENvbHVtbiA9IG9yaWdpbmFsLmNvbHVtbjtcbiAgICAgICAgICBpZiAob3JpZ2luYWwubmFtZSAhPSBudWxsKSB7XG4gICAgICAgICAgICBtYXBwaW5nLm5hbWUgPSBvcmlnaW5hbC5uYW1lO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICB2YXIgc291cmNlID0gbWFwcGluZy5zb3VyY2U7XG4gICAgICBpZiAoc291cmNlICE9IG51bGwgJiYgIW5ld1NvdXJjZXMuaGFzKHNvdXJjZSkpIHtcbiAgICAgICAgbmV3U291cmNlcy5hZGQoc291cmNlKTtcbiAgICAgIH1cblxuICAgICAgdmFyIG5hbWUgPSBtYXBwaW5nLm5hbWU7XG4gICAgICBpZiAobmFtZSAhPSBudWxsICYmICFuZXdOYW1lcy5oYXMobmFtZSkpIHtcbiAgICAgICAgbmV3TmFtZXMuYWRkKG5hbWUpO1xuICAgICAgfVxuXG4gICAgfSwgdGhpcyk7XG4gICAgdGhpcy5fc291cmNlcyA9IG5ld1NvdXJjZXM7XG4gICAgdGhpcy5fbmFtZXMgPSBuZXdOYW1lcztcblxuICAgIC8vIENvcHkgc291cmNlc0NvbnRlbnRzIG9mIGFwcGxpZWQgbWFwLlxuICAgIGFTb3VyY2VNYXBDb25zdW1lci5zb3VyY2VzLmZvckVhY2goZnVuY3Rpb24gKHNvdXJjZUZpbGUpIHtcbiAgICAgIHZhciBjb250ZW50ID0gYVNvdXJjZU1hcENvbnN1bWVyLnNvdXJjZUNvbnRlbnRGb3Ioc291cmNlRmlsZSk7XG4gICAgICBpZiAoY29udGVudCAhPSBudWxsKSB7XG4gICAgICAgIGlmIChhU291cmNlTWFwUGF0aCAhPSBudWxsKSB7XG4gICAgICAgICAgc291cmNlRmlsZSA9IHV0aWwuam9pbihhU291cmNlTWFwUGF0aCwgc291cmNlRmlsZSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICAgIHNvdXJjZUZpbGUgPSB1dGlsLnJlbGF0aXZlKHNvdXJjZVJvb3QsIHNvdXJjZUZpbGUpO1xuICAgICAgICB9XG4gICAgICAgIHRoaXMuc2V0U291cmNlQ29udGVudChzb3VyY2VGaWxlLCBjb250ZW50KTtcbiAgICAgIH1cbiAgICB9LCB0aGlzKTtcbiAgfTtcblxuLyoqXG4gKiBBIG1hcHBpbmcgY2FuIGhhdmUgb25lIG9mIHRoZSB0aHJlZSBsZXZlbHMgb2YgZGF0YTpcbiAqXG4gKiAgIDEuIEp1c3QgdGhlIGdlbmVyYXRlZCBwb3NpdGlvbi5cbiAqICAgMi4gVGhlIEdlbmVyYXRlZCBwb3NpdGlvbiwgb3JpZ2luYWwgcG9zaXRpb24sIGFuZCBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIDMuIEdlbmVyYXRlZCBhbmQgb3JpZ2luYWwgcG9zaXRpb24sIG9yaWdpbmFsIHNvdXJjZSwgYXMgd2VsbCBhcyBhIG5hbWVcbiAqICAgICAgdG9rZW4uXG4gKlxuICogVG8gbWFpbnRhaW4gY29uc2lzdGVuY3ksIHdlIHZhbGlkYXRlIHRoYXQgYW55IG5ldyBtYXBwaW5nIGJlaW5nIGFkZGVkIGZhbGxzXG4gKiBpbiB0byBvbmUgb2YgdGhlc2UgY2F0ZWdvcmllcy5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5fdmFsaWRhdGVNYXBwaW5nID1cbiAgZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yX3ZhbGlkYXRlTWFwcGluZyhhR2VuZXJhdGVkLCBhT3JpZ2luYWwsIGFTb3VyY2UsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYU5hbWUpIHtcbiAgICAvLyBXaGVuIGFPcmlnaW5hbCBpcyB0cnV0aHkgYnV0IGhhcyBlbXB0eSB2YWx1ZXMgZm9yIC5saW5lIGFuZCAuY29sdW1uLFxuICAgIC8vIGl0IGlzIG1vc3QgbGlrZWx5IGEgcHJvZ3JhbW1lciBlcnJvci4gSW4gdGhpcyBjYXNlIHdlIHRocm93IGEgdmVyeVxuICAgIC8vIHNwZWNpZmljIGVycm9yIG1lc3NhZ2UgdG8gdHJ5IHRvIGd1aWRlIHRoZW0gdGhlIHJpZ2h0IHdheS5cbiAgICAvLyBGb3IgZXhhbXBsZTogaHR0cHM6Ly9naXRodWIuY29tL1BvbHltZXIvcG9seW1lci1idW5kbGVyL3B1bGwvNTE5XG4gICAgaWYgKGFPcmlnaW5hbCAmJiB0eXBlb2YgYU9yaWdpbmFsLmxpbmUgIT09ICdudW1iZXInICYmIHR5cGVvZiBhT3JpZ2luYWwuY29sdW1uICE9PSAnbnVtYmVyJykge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXG4gICAgICAgICAgICAnb3JpZ2luYWwubGluZSBhbmQgb3JpZ2luYWwuY29sdW1uIGFyZSBub3QgbnVtYmVycyAtLSB5b3UgcHJvYmFibHkgbWVhbnQgdG8gb21pdCAnICtcbiAgICAgICAgICAgICd0aGUgb3JpZ2luYWwgbWFwcGluZyBlbnRpcmVseSBhbmQgb25seSBtYXAgdGhlIGdlbmVyYXRlZCBwb3NpdGlvbi4gSWYgc28sIHBhc3MgJyArXG4gICAgICAgICAgICAnbnVsbCBmb3IgdGhlIG9yaWdpbmFsIG1hcHBpbmcgaW5zdGVhZCBvZiBhbiBvYmplY3Qgd2l0aCBlbXB0eSBvciBudWxsIHZhbHVlcy4nXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgaWYgKGFHZW5lcmF0ZWQgJiYgJ2xpbmUnIGluIGFHZW5lcmF0ZWQgJiYgJ2NvbHVtbicgaW4gYUdlbmVyYXRlZFxuICAgICAgICAmJiBhR2VuZXJhdGVkLmxpbmUgPiAwICYmIGFHZW5lcmF0ZWQuY29sdW1uID49IDBcbiAgICAgICAgJiYgIWFPcmlnaW5hbCAmJiAhYVNvdXJjZSAmJiAhYU5hbWUpIHtcbiAgICAgIC8vIENhc2UgMS5cbiAgICAgIHJldHVybjtcbiAgICB9XG4gICAgZWxzZSBpZiAoYUdlbmVyYXRlZCAmJiAnbGluZScgaW4gYUdlbmVyYXRlZCAmJiAnY29sdW1uJyBpbiBhR2VuZXJhdGVkXG4gICAgICAgICAgICAgJiYgYU9yaWdpbmFsICYmICdsaW5lJyBpbiBhT3JpZ2luYWwgJiYgJ2NvbHVtbicgaW4gYU9yaWdpbmFsXG4gICAgICAgICAgICAgJiYgYUdlbmVyYXRlZC5saW5lID4gMCAmJiBhR2VuZXJhdGVkLmNvbHVtbiA+PSAwXG4gICAgICAgICAgICAgJiYgYU9yaWdpbmFsLmxpbmUgPiAwICYmIGFPcmlnaW5hbC5jb2x1bW4gPj0gMFxuICAgICAgICAgICAgICYmIGFTb3VyY2UpIHtcbiAgICAgIC8vIENhc2VzIDIgYW5kIDMuXG4gICAgICByZXR1cm47XG4gICAgfVxuICAgIGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdJbnZhbGlkIG1hcHBpbmc6ICcgKyBKU09OLnN0cmluZ2lmeSh7XG4gICAgICAgIGdlbmVyYXRlZDogYUdlbmVyYXRlZCxcbiAgICAgICAgc291cmNlOiBhU291cmNlLFxuICAgICAgICBvcmlnaW5hbDogYU9yaWdpbmFsLFxuICAgICAgICBuYW1lOiBhTmFtZVxuICAgICAgfSkpO1xuICAgIH1cbiAgfTtcblxuLyoqXG4gKiBTZXJpYWxpemUgdGhlIGFjY3VtdWxhdGVkIG1hcHBpbmdzIGluIHRvIHRoZSBzdHJlYW0gb2YgYmFzZSA2NCBWTFFzXG4gKiBzcGVjaWZpZWQgYnkgdGhlIHNvdXJjZSBtYXAgZm9ybWF0LlxuICovXG5Tb3VyY2VNYXBHZW5lcmF0b3IucHJvdG90eXBlLl9zZXJpYWxpemVNYXBwaW5ncyA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl9zZXJpYWxpemVNYXBwaW5ncygpIHtcbiAgICB2YXIgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSAwO1xuICAgIHZhciBwcmV2aW91c0dlbmVyYXRlZExpbmUgPSAxO1xuICAgIHZhciBwcmV2aW91c09yaWdpbmFsQ29sdW1uID0gMDtcbiAgICB2YXIgcHJldmlvdXNPcmlnaW5hbExpbmUgPSAwO1xuICAgIHZhciBwcmV2aW91c05hbWUgPSAwO1xuICAgIHZhciBwcmV2aW91c1NvdXJjZSA9IDA7XG4gICAgdmFyIHJlc3VsdCA9ICcnO1xuICAgIHZhciBuZXh0O1xuICAgIHZhciBtYXBwaW5nO1xuICAgIHZhciBuYW1lSWR4O1xuICAgIHZhciBzb3VyY2VJZHg7XG5cbiAgICB2YXIgbWFwcGluZ3MgPSB0aGlzLl9tYXBwaW5ncy50b0FycmF5KCk7XG4gICAgZm9yICh2YXIgaSA9IDAsIGxlbiA9IG1hcHBpbmdzLmxlbmd0aDsgaSA8IGxlbjsgaSsrKSB7XG4gICAgICBtYXBwaW5nID0gbWFwcGluZ3NbaV07XG4gICAgICBuZXh0ID0gJydcblxuICAgICAgaWYgKG1hcHBpbmcuZ2VuZXJhdGVkTGluZSAhPT0gcHJldmlvdXNHZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgIHByZXZpb3VzR2VuZXJhdGVkQ29sdW1uID0gMDtcbiAgICAgICAgd2hpbGUgKG1hcHBpbmcuZ2VuZXJhdGVkTGluZSAhPT0gcHJldmlvdXNHZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgICAgbmV4dCArPSAnOyc7XG4gICAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRMaW5lKys7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgIGVsc2Uge1xuICAgICAgICBpZiAoaSA+IDApIHtcbiAgICAgICAgICBpZiAoIXV0aWwuY29tcGFyZUJ5R2VuZXJhdGVkUG9zaXRpb25zSW5mbGF0ZWQobWFwcGluZywgbWFwcGluZ3NbaSAtIDFdKSkge1xuICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgfVxuICAgICAgICAgIG5leHQgKz0gJywnO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLmdlbmVyYXRlZENvbHVtblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLSBwcmV2aW91c0dlbmVyYXRlZENvbHVtbik7XG4gICAgICBwcmV2aW91c0dlbmVyYXRlZENvbHVtbiA9IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uO1xuXG4gICAgICBpZiAobWFwcGluZy5zb3VyY2UgIT0gbnVsbCkge1xuICAgICAgICBzb3VyY2VJZHggPSB0aGlzLl9zb3VyY2VzLmluZGV4T2YobWFwcGluZy5zb3VyY2UpO1xuICAgICAgICBuZXh0ICs9IGJhc2U2NFZMUS5lbmNvZGUoc291cmNlSWR4IC0gcHJldmlvdXNTb3VyY2UpO1xuICAgICAgICBwcmV2aW91c1NvdXJjZSA9IHNvdXJjZUlkeDtcblxuICAgICAgICAvLyBsaW5lcyBhcmUgc3RvcmVkIDAtYmFzZWQgaW4gU291cmNlTWFwIHNwZWMgdmVyc2lvbiAzXG4gICAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLm9yaWdpbmFsTGluZSAtIDFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLSBwcmV2aW91c09yaWdpbmFsTGluZSk7XG4gICAgICAgIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gbWFwcGluZy5vcmlnaW5hbExpbmUgLSAxO1xuXG4gICAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLm9yaWdpbmFsQ29sdW1uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0gcHJldmlvdXNPcmlnaW5hbENvbHVtbik7XG4gICAgICAgIHByZXZpb3VzT3JpZ2luYWxDb2x1bW4gPSBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uO1xuXG4gICAgICAgIGlmIChtYXBwaW5nLm5hbWUgIT0gbnVsbCkge1xuICAgICAgICAgIG5hbWVJZHggPSB0aGlzLl9uYW1lcy5pbmRleE9mKG1hcHBpbmcubmFtZSk7XG4gICAgICAgICAgbmV4dCArPSBiYXNlNjRWTFEuZW5jb2RlKG5hbWVJZHggLSBwcmV2aW91c05hbWUpO1xuICAgICAgICAgIHByZXZpb3VzTmFtZSA9IG5hbWVJZHg7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgcmVzdWx0ICs9IG5leHQ7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfTtcblxuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5fZ2VuZXJhdGVTb3VyY2VzQ29udGVudCA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl9nZW5lcmF0ZVNvdXJjZXNDb250ZW50KGFTb3VyY2VzLCBhU291cmNlUm9vdCkge1xuICAgIHJldHVybiBhU291cmNlcy5tYXAoZnVuY3Rpb24gKHNvdXJjZSkge1xuICAgICAgaWYgKCF0aGlzLl9zb3VyY2VzQ29udGVudHMpIHtcbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICB9XG4gICAgICBpZiAoYVNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICBzb3VyY2UgPSB1dGlsLnJlbGF0aXZlKGFTb3VyY2VSb290LCBzb3VyY2UpO1xuICAgICAgfVxuICAgICAgdmFyIGtleSA9IHV0aWwudG9TZXRTdHJpbmcoc291cmNlKTtcbiAgICAgIHJldHVybiBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwodGhpcy5fc291cmNlc0NvbnRlbnRzLCBrZXkpXG4gICAgICAgID8gdGhpcy5fc291cmNlc0NvbnRlbnRzW2tleV1cbiAgICAgICAgOiBudWxsO1xuICAgIH0sIHRoaXMpO1xuICB9O1xuXG4vKipcbiAqIEV4dGVybmFsaXplIHRoZSBzb3VyY2UgbWFwLlxuICovXG5Tb3VyY2VNYXBHZW5lcmF0b3IucHJvdG90eXBlLnRvSlNPTiA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl90b0pTT04oKSB7XG4gICAgdmFyIG1hcCA9IHtcbiAgICAgIHZlcnNpb246IHRoaXMuX3ZlcnNpb24sXG4gICAgICBzb3VyY2VzOiB0aGlzLl9zb3VyY2VzLnRvQXJyYXkoKSxcbiAgICAgIG5hbWVzOiB0aGlzLl9uYW1lcy50b0FycmF5KCksXG4gICAgICBtYXBwaW5nczogdGhpcy5fc2VyaWFsaXplTWFwcGluZ3MoKVxuICAgIH07XG4gICAgaWYgKHRoaXMuX2ZpbGUgIT0gbnVsbCkge1xuICAgICAgbWFwLmZpbGUgPSB0aGlzLl9maWxlO1xuICAgIH1cbiAgICBpZiAodGhpcy5fc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICBtYXAuc291cmNlUm9vdCA9IHRoaXMuX3NvdXJjZVJvb3Q7XG4gICAgfVxuICAgIGlmICh0aGlzLl9zb3VyY2VzQ29udGVudHMpIHtcbiAgICAgIG1hcC5zb3VyY2VzQ29udGVudCA9IHRoaXMuX2dlbmVyYXRlU291cmNlc0NvbnRlbnQobWFwLnNvdXJjZXMsIG1hcC5zb3VyY2VSb290KTtcbiAgICB9XG5cbiAgICByZXR1cm4gbWFwO1xuICB9O1xuXG4vKipcbiAqIFJlbmRlciB0aGUgc291cmNlIG1hcCBiZWluZyBnZW5lcmF0ZWQgdG8gYSBzdHJpbmcuXG4gKi9cblNvdXJjZU1hcEdlbmVyYXRvci5wcm90b3R5cGUudG9TdHJpbmcgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBHZW5lcmF0b3JfdG9TdHJpbmcoKSB7XG4gICAgcmV0dXJuIEpTT04uc3RyaW5naWZ5KHRoaXMudG9KU09OKCkpO1xuICB9O1xuXG5leHBvcnRzLlNvdXJjZU1hcEdlbmVyYXRvciA9IFNvdXJjZU1hcEdlbmVyYXRvcjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbGliL3NvdXJjZS1tYXAtZ2VuZXJhdG9yLmpzXG4vLyBtb2R1bGUgaWQgPSAxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCIsIi8qIC0qLSBNb2RlOiBqczsganMtaW5kZW50LWxldmVsOiAyOyAtKi0gKi9cbi8qXG4gKiBDb3B5cmlnaHQgMjAxMSBNb3ppbGxhIEZvdW5kYXRpb24gYW5kIGNvbnRyaWJ1dG9yc1xuICogTGljZW5zZWQgdW5kZXIgdGhlIE5ldyBCU0QgbGljZW5zZS4gU2VlIExJQ0VOU0Ugb3I6XG4gKiBodHRwOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvQlNELTMtQ2xhdXNlXG4gKlxuICogQmFzZWQgb24gdGhlIEJhc2UgNjQgVkxRIGltcGxlbWVudGF0aW9uIGluIENsb3N1cmUgQ29tcGlsZXI6XG4gKiBodHRwczovL2NvZGUuZ29vZ2xlLmNvbS9wL2Nsb3N1cmUtY29tcGlsZXIvc291cmNlL2Jyb3dzZS90cnVuay9zcmMvY29tL2dvb2dsZS9kZWJ1Z2dpbmcvc291cmNlbWFwL0Jhc2U2NFZMUS5qYXZhXG4gKlxuICogQ29weXJpZ2h0IDIwMTEgVGhlIENsb3N1cmUgQ29tcGlsZXIgQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC5cbiAqIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dFxuICogbW9kaWZpY2F0aW9uLCBhcmUgcGVybWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZVxuICogbWV0OlxuICpcbiAqICAqIFJlZGlzdHJpYnV0aW9ucyBvZiBzb3VyY2UgY29kZSBtdXN0IHJldGFpbiB0aGUgYWJvdmUgY29weXJpZ2h0XG4gKiAgICBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuXG4gKiAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlXG4gKiAgICBjb3B5cmlnaHQgbm90aWNlLCB0aGlzIGxpc3Qgb2YgY29uZGl0aW9ucyBhbmQgdGhlIGZvbGxvd2luZ1xuICogICAgZGlzY2xhaW1lciBpbiB0aGUgZG9jdW1lbnRhdGlvbiBhbmQvb3Igb3RoZXIgbWF0ZXJpYWxzIHByb3ZpZGVkXG4gKiAgICB3aXRoIHRoZSBkaXN0cmlidXRpb24uXG4gKiAgKiBOZWl0aGVyIHRoZSBuYW1lIG9mIEdvb2dsZSBJbmMuIG5vciB0aGUgbmFtZXMgb2YgaXRzXG4gKiAgICBjb250cmlidXRvcnMgbWF5IGJlIHVzZWQgdG8gZW5kb3JzZSBvciBwcm9tb3RlIHByb2R1Y3RzIGRlcml2ZWRcbiAqICAgIGZyb20gdGhpcyBzb2Z0d2FyZSB3aXRob3V0IHNwZWNpZmljIHByaW9yIHdyaXR0ZW4gcGVybWlzc2lvbi5cbiAqXG4gKiBUSElTIFNPRlRXQVJFIElTIFBST1ZJREVEIEJZIFRIRSBDT1BZUklHSFQgSE9MREVSUyBBTkQgQ09OVFJJQlVUT1JTXG4gKiBcIkFTIElTXCIgQU5EIEFOWSBFWFBSRVNTIE9SIElNUExJRUQgV0FSUkFOVElFUywgSU5DTFVESU5HLCBCVVQgTk9UXG4gKiBMSU1JVEVEIFRPLCBUSEUgSU1QTElFRCBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWSBBTkQgRklUTkVTUyBGT1JcbiAqIEEgUEFSVElDVUxBUiBQVVJQT1NFIEFSRSBESVNDTEFJTUVELiBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQ09QWVJJR0hUXG4gKiBPV05FUiBPUiBDT05UUklCVVRPUlMgQkUgTElBQkxFIEZPUiBBTlkgRElSRUNULCBJTkRJUkVDVCwgSU5DSURFTlRBTCxcbiAqIFNQRUNJQUwsIEVYRU1QTEFSWSwgT1IgQ09OU0VRVUVOVElBTCBEQU1BR0VTIChJTkNMVURJTkcsIEJVVCBOT1RcbiAqIExJTUlURUQgVE8sIFBST0NVUkVNRU5UIE9GIFNVQlNUSVRVVEUgR09PRFMgT1IgU0VSVklDRVM7IExPU1MgT0YgVVNFLFxuICogREFUQSwgT1IgUFJPRklUUzsgT1IgQlVTSU5FU1MgSU5URVJSVVBUSU9OKSBIT1dFVkVSIENBVVNFRCBBTkQgT04gQU5ZXG4gKiBUSEVPUlkgT0YgTElBQklMSVRZLCBXSEVUSEVSIElOIENPTlRSQUNULCBTVFJJQ1QgTElBQklMSVRZLCBPUiBUT1JUXG4gKiAoSU5DTFVESU5HIE5FR0xJR0VOQ0UgT1IgT1RIRVJXSVNFKSBBUklTSU5HIElOIEFOWSBXQVkgT1VUIE9GIFRIRSBVU0VcbiAqIE9GIFRISVMgU09GVFdBUkUsIEVWRU4gSUYgQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuXG4gKi9cblxudmFyIGJhc2U2NCA9IHJlcXVpcmUoJy4vYmFzZTY0Jyk7XG5cbi8vIEEgc2luZ2xlIGJhc2UgNjQgZGlnaXQgY2FuIGNvbnRhaW4gNiBiaXRzIG9mIGRhdGEuIEZvciB0aGUgYmFzZSA2NCB2YXJpYWJsZVxuLy8gbGVuZ3RoIHF1YW50aXRpZXMgd2UgdXNlIGluIHRoZSBzb3VyY2UgbWFwIHNwZWMsIHRoZSBmaXJzdCBiaXQgaXMgdGhlIHNpZ24sXG4vLyB0aGUgbmV4dCBmb3VyIGJpdHMgYXJlIHRoZSBhY3R1YWwgdmFsdWUsIGFuZCB0aGUgNnRoIGJpdCBpcyB0aGVcbi8vIGNvbnRpbnVhdGlvbiBiaXQuIFRoZSBjb250aW51YXRpb24gYml0IHRlbGxzIHVzIHdoZXRoZXIgdGhlcmUgYXJlIG1vcmVcbi8vIGRpZ2l0cyBpbiB0aGlzIHZhbHVlIGZvbGxvd2luZyB0aGlzIGRpZ2l0LlxuLy9cbi8vICAgQ29udGludWF0aW9uXG4vLyAgIHwgICAgU2lnblxuLy8gICB8ICAgIHxcbi8vICAgViAgICBWXG4vLyAgIDEwMTAxMVxuXG52YXIgVkxRX0JBU0VfU0hJRlQgPSA1O1xuXG4vLyBiaW5hcnk6IDEwMDAwMFxudmFyIFZMUV9CQVNFID0gMSA8PCBWTFFfQkFTRV9TSElGVDtcblxuLy8gYmluYXJ5OiAwMTExMTFcbnZhciBWTFFfQkFTRV9NQVNLID0gVkxRX0JBU0UgLSAxO1xuXG4vLyBiaW5hcnk6IDEwMDAwMFxudmFyIFZMUV9DT05USU5VQVRJT05fQklUID0gVkxRX0JBU0U7XG5cbi8qKlxuICogQ29udmVydHMgZnJvbSBhIHR3by1jb21wbGVtZW50IHZhbHVlIHRvIGEgdmFsdWUgd2hlcmUgdGhlIHNpZ24gYml0IGlzXG4gKiBwbGFjZWQgaW4gdGhlIGxlYXN0IHNpZ25pZmljYW50IGJpdC4gIEZvciBleGFtcGxlLCBhcyBkZWNpbWFsczpcbiAqICAgMSBiZWNvbWVzIDIgKDEwIGJpbmFyeSksIC0xIGJlY29tZXMgMyAoMTEgYmluYXJ5KVxuICogICAyIGJlY29tZXMgNCAoMTAwIGJpbmFyeSksIC0yIGJlY29tZXMgNSAoMTAxIGJpbmFyeSlcbiAqL1xuZnVuY3Rpb24gdG9WTFFTaWduZWQoYVZhbHVlKSB7XG4gIHJldHVybiBhVmFsdWUgPCAwXG4gICAgPyAoKC1hVmFsdWUpIDw8IDEpICsgMVxuICAgIDogKGFWYWx1ZSA8PCAxKSArIDA7XG59XG5cbi8qKlxuICogQ29udmVydHMgdG8gYSB0d28tY29tcGxlbWVudCB2YWx1ZSBmcm9tIGEgdmFsdWUgd2hlcmUgdGhlIHNpZ24gYml0IGlzXG4gKiBwbGFjZWQgaW4gdGhlIGxlYXN0IHNpZ25pZmljYW50IGJpdC4gIEZvciBleGFtcGxlLCBhcyBkZWNpbWFsczpcbiAqICAgMiAoMTAgYmluYXJ5KSBiZWNvbWVzIDEsIDMgKDExIGJpbmFyeSkgYmVjb21lcyAtMVxuICogICA0ICgxMDAgYmluYXJ5KSBiZWNvbWVzIDIsIDUgKDEwMSBiaW5hcnkpIGJlY29tZXMgLTJcbiAqL1xuZnVuY3Rpb24gZnJvbVZMUVNpZ25lZChhVmFsdWUpIHtcbiAgdmFyIGlzTmVnYXRpdmUgPSAoYVZhbHVlICYgMSkgPT09IDE7XG4gIHZhciBzaGlmdGVkID0gYVZhbHVlID4+IDE7XG4gIHJldHVybiBpc05lZ2F0aXZlXG4gICAgPyAtc2hpZnRlZFxuICAgIDogc2hpZnRlZDtcbn1cblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBiYXNlIDY0IFZMUSBlbmNvZGVkIHZhbHVlLlxuICovXG5leHBvcnRzLmVuY29kZSA9IGZ1bmN0aW9uIGJhc2U2NFZMUV9lbmNvZGUoYVZhbHVlKSB7XG4gIHZhciBlbmNvZGVkID0gXCJcIjtcbiAgdmFyIGRpZ2l0O1xuXG4gIHZhciB2bHEgPSB0b1ZMUVNpZ25lZChhVmFsdWUpO1xuXG4gIGRvIHtcbiAgICBkaWdpdCA9IHZscSAmIFZMUV9CQVNFX01BU0s7XG4gICAgdmxxID4+Pj0gVkxRX0JBU0VfU0hJRlQ7XG4gICAgaWYgKHZscSA+IDApIHtcbiAgICAgIC8vIFRoZXJlIGFyZSBzdGlsbCBtb3JlIGRpZ2l0cyBpbiB0aGlzIHZhbHVlLCBzbyB3ZSBtdXN0IG1ha2Ugc3VyZSB0aGVcbiAgICAgIC8vIGNvbnRpbnVhdGlvbiBiaXQgaXMgbWFya2VkLlxuICAgICAgZGlnaXQgfD0gVkxRX0NPTlRJTlVBVElPTl9CSVQ7XG4gICAgfVxuICAgIGVuY29kZWQgKz0gYmFzZTY0LmVuY29kZShkaWdpdCk7XG4gIH0gd2hpbGUgKHZscSA+IDApO1xuXG4gIHJldHVybiBlbmNvZGVkO1xufTtcblxuLyoqXG4gKiBEZWNvZGVzIHRoZSBuZXh0IGJhc2UgNjQgVkxRIHZhbHVlIGZyb20gdGhlIGdpdmVuIHN0cmluZyBhbmQgcmV0dXJucyB0aGVcbiAqIHZhbHVlIGFuZCB0aGUgcmVzdCBvZiB0aGUgc3RyaW5nIHZpYSB0aGUgb3V0IHBhcmFtZXRlci5cbiAqL1xuZXhwb3J0cy5kZWNvZGUgPSBmdW5jdGlvbiBiYXNlNjRWTFFfZGVjb2RlKGFTdHIsIGFJbmRleCwgYU91dFBhcmFtKSB7XG4gIHZhciBzdHJMZW4gPSBhU3RyLmxlbmd0aDtcbiAgdmFyIHJlc3VsdCA9IDA7XG4gIHZhciBzaGlmdCA9IDA7XG4gIHZhciBjb250aW51YXRpb24sIGRpZ2l0O1xuXG4gIGRvIHtcbiAgICBpZiAoYUluZGV4ID49IHN0ckxlbikge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKFwiRXhwZWN0ZWQgbW9yZSBkaWdpdHMgaW4gYmFzZSA2NCBWTFEgdmFsdWUuXCIpO1xuICAgIH1cblxuICAgIGRpZ2l0ID0gYmFzZTY0LmRlY29kZShhU3RyLmNoYXJDb2RlQXQoYUluZGV4KyspKTtcbiAgICBpZiAoZGlnaXQgPT09IC0xKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoXCJJbnZhbGlkIGJhc2U2NCBkaWdpdDogXCIgKyBhU3RyLmNoYXJBdChhSW5kZXggLSAxKSk7XG4gICAgfVxuXG4gICAgY29udGludWF0aW9uID0gISEoZGlnaXQgJiBWTFFfQ09OVElOVUFUSU9OX0JJVCk7XG4gICAgZGlnaXQgJj0gVkxRX0JBU0VfTUFTSztcbiAgICByZXN1bHQgPSByZXN1bHQgKyAoZGlnaXQgPDwgc2hpZnQpO1xuICAgIHNoaWZ0ICs9IFZMUV9CQVNFX1NISUZUO1xuICB9IHdoaWxlIChjb250aW51YXRpb24pO1xuXG4gIGFPdXRQYXJhbS52YWx1ZSA9IGZyb21WTFFTaWduZWQocmVzdWx0KTtcbiAgYU91dFBhcmFtLnJlc3QgPSBhSW5kZXg7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvYmFzZTY0LXZscS5qc1xuLy8gbW9kdWxlIGlkID0gMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbnZhciBpbnRUb0NoYXJNYXAgPSAnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycuc3BsaXQoJycpO1xuXG4vKipcbiAqIEVuY29kZSBhbiBpbnRlZ2VyIGluIHRoZSByYW5nZSBvZiAwIHRvIDYzIHRvIGEgc2luZ2xlIGJhc2UgNjQgZGlnaXQuXG4gKi9cbmV4cG9ydHMuZW5jb2RlID0gZnVuY3Rpb24gKG51bWJlcikge1xuICBpZiAoMCA8PSBudW1iZXIgJiYgbnVtYmVyIDwgaW50VG9DaGFyTWFwLmxlbmd0aCkge1xuICAgIHJldHVybiBpbnRUb0NoYXJNYXBbbnVtYmVyXTtcbiAgfVxuICB0aHJvdyBuZXcgVHlwZUVycm9yKFwiTXVzdCBiZSBiZXR3ZWVuIDAgYW5kIDYzOiBcIiArIG51bWJlcik7XG59O1xuXG4vKipcbiAqIERlY29kZSBhIHNpbmdsZSBiYXNlIDY0IGNoYXJhY3RlciBjb2RlIGRpZ2l0IHRvIGFuIGludGVnZXIuIFJldHVybnMgLTEgb25cbiAqIGZhaWx1cmUuXG4gKi9cbmV4cG9ydHMuZGVjb2RlID0gZnVuY3Rpb24gKGNoYXJDb2RlKSB7XG4gIHZhciBiaWdBID0gNjU7ICAgICAvLyAnQSdcbiAgdmFyIGJpZ1ogPSA5MDsgICAgIC8vICdaJ1xuXG4gIHZhciBsaXR0bGVBID0gOTc7ICAvLyAnYSdcbiAgdmFyIGxpdHRsZVogPSAxMjI7IC8vICd6J1xuXG4gIHZhciB6ZXJvID0gNDg7ICAgICAvLyAnMCdcbiAgdmFyIG5pbmUgPSA1NzsgICAgIC8vICc5J1xuXG4gIHZhciBwbHVzID0gNDM7ICAgICAvLyAnKydcbiAgdmFyIHNsYXNoID0gNDc7ICAgIC8vICcvJ1xuXG4gIHZhciBsaXR0bGVPZmZzZXQgPSAyNjtcbiAgdmFyIG51bWJlck9mZnNldCA9IDUyO1xuXG4gIC8vIDAgLSAyNTogQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpcbiAgaWYgKGJpZ0EgPD0gY2hhckNvZGUgJiYgY2hhckNvZGUgPD0gYmlnWikge1xuICAgIHJldHVybiAoY2hhckNvZGUgLSBiaWdBKTtcbiAgfVxuXG4gIC8vIDI2IC0gNTE6IGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6XG4gIGlmIChsaXR0bGVBIDw9IGNoYXJDb2RlICYmIGNoYXJDb2RlIDw9IGxpdHRsZVopIHtcbiAgICByZXR1cm4gKGNoYXJDb2RlIC0gbGl0dGxlQSArIGxpdHRsZU9mZnNldCk7XG4gIH1cblxuICAvLyA1MiAtIDYxOiAwMTIzNDU2Nzg5XG4gIGlmICh6ZXJvIDw9IGNoYXJDb2RlICYmIGNoYXJDb2RlIDw9IG5pbmUpIHtcbiAgICByZXR1cm4gKGNoYXJDb2RlIC0gemVybyArIG51bWJlck9mZnNldCk7XG4gIH1cblxuICAvLyA2MjogK1xuICBpZiAoY2hhckNvZGUgPT0gcGx1cykge1xuICAgIHJldHVybiA2MjtcbiAgfVxuXG4gIC8vIDYzOiAvXG4gIGlmIChjaGFyQ29kZSA9PSBzbGFzaCkge1xuICAgIHJldHVybiA2MztcbiAgfVxuXG4gIC8vIEludmFsaWQgYmFzZTY0IGRpZ2l0LlxuICByZXR1cm4gLTE7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvYmFzZTY0LmpzXG4vLyBtb2R1bGUgaWQgPSAzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCIsIi8qIC0qLSBNb2RlOiBqczsganMtaW5kZW50LWxldmVsOiAyOyAtKi0gKi9cbi8qXG4gKiBDb3B5cmlnaHQgMjAxMSBNb3ppbGxhIEZvdW5kYXRpb24gYW5kIGNvbnRyaWJ1dG9yc1xuICogTGljZW5zZWQgdW5kZXIgdGhlIE5ldyBCU0QgbGljZW5zZS4gU2VlIExJQ0VOU0Ugb3I6XG4gKiBodHRwOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvQlNELTMtQ2xhdXNlXG4gKi9cblxuLyoqXG4gKiBUaGlzIGlzIGEgaGVscGVyIGZ1bmN0aW9uIGZvciBnZXR0aW5nIHZhbHVlcyBmcm9tIHBhcmFtZXRlci9vcHRpb25zXG4gKiBvYmplY3RzLlxuICpcbiAqIEBwYXJhbSBhcmdzIFRoZSBvYmplY3Qgd2UgYXJlIGV4dHJhY3RpbmcgdmFsdWVzIGZyb21cbiAqIEBwYXJhbSBuYW1lIFRoZSBuYW1lIG9mIHRoZSBwcm9wZXJ0eSB3ZSBhcmUgZ2V0dGluZy5cbiAqIEBwYXJhbSBkZWZhdWx0VmFsdWUgQW4gb3B0aW9uYWwgdmFsdWUgdG8gcmV0dXJuIGlmIHRoZSBwcm9wZXJ0eSBpcyBtaXNzaW5nXG4gKiBmcm9tIHRoZSBvYmplY3QuIElmIHRoaXMgaXMgbm90IHNwZWNpZmllZCBhbmQgdGhlIHByb3BlcnR5IGlzIG1pc3NpbmcsIGFuXG4gKiBlcnJvciB3aWxsIGJlIHRocm93bi5cbiAqL1xuZnVuY3Rpb24gZ2V0QXJnKGFBcmdzLCBhTmFtZSwgYURlZmF1bHRWYWx1ZSkge1xuICBpZiAoYU5hbWUgaW4gYUFyZ3MpIHtcbiAgICByZXR1cm4gYUFyZ3NbYU5hbWVdO1xuICB9IGVsc2UgaWYgKGFyZ3VtZW50cy5sZW5ndGggPT09IDMpIHtcbiAgICByZXR1cm4gYURlZmF1bHRWYWx1ZTtcbiAgfSBlbHNlIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoJ1wiJyArIGFOYW1lICsgJ1wiIGlzIGEgcmVxdWlyZWQgYXJndW1lbnQuJyk7XG4gIH1cbn1cbmV4cG9ydHMuZ2V0QXJnID0gZ2V0QXJnO1xuXG52YXIgdXJsUmVnZXhwID0gL14oPzooW1xcdytcXC0uXSspOik/XFwvXFwvKD86KFxcdys6XFx3KylAKT8oW1xcdy5dKikoPzo6KFxcZCspKT8oXFxTKikkLztcbnZhciBkYXRhVXJsUmVnZXhwID0gL15kYXRhOi4rXFwsLiskLztcblxuZnVuY3Rpb24gdXJsUGFyc2UoYVVybCkge1xuICB2YXIgbWF0Y2ggPSBhVXJsLm1hdGNoKHVybFJlZ2V4cCk7XG4gIGlmICghbWF0Y2gpIHtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuICByZXR1cm4ge1xuICAgIHNjaGVtZTogbWF0Y2hbMV0sXG4gICAgYXV0aDogbWF0Y2hbMl0sXG4gICAgaG9zdDogbWF0Y2hbM10sXG4gICAgcG9ydDogbWF0Y2hbNF0sXG4gICAgcGF0aDogbWF0Y2hbNV1cbiAgfTtcbn1cbmV4cG9ydHMudXJsUGFyc2UgPSB1cmxQYXJzZTtcblxuZnVuY3Rpb24gdXJsR2VuZXJhdGUoYVBhcnNlZFVybCkge1xuICB2YXIgdXJsID0gJyc7XG4gIGlmIChhUGFyc2VkVXJsLnNjaGVtZSkge1xuICAgIHVybCArPSBhUGFyc2VkVXJsLnNjaGVtZSArICc6JztcbiAgfVxuICB1cmwgKz0gJy8vJztcbiAgaWYgKGFQYXJzZWRVcmwuYXV0aCkge1xuICAgIHVybCArPSBhUGFyc2VkVXJsLmF1dGggKyAnQCc7XG4gIH1cbiAgaWYgKGFQYXJzZWRVcmwuaG9zdCkge1xuICAgIHVybCArPSBhUGFyc2VkVXJsLmhvc3Q7XG4gIH1cbiAgaWYgKGFQYXJzZWRVcmwucG9ydCkge1xuICAgIHVybCArPSBcIjpcIiArIGFQYXJzZWRVcmwucG9ydFxuICB9XG4gIGlmIChhUGFyc2VkVXJsLnBhdGgpIHtcbiAgICB1cmwgKz0gYVBhcnNlZFVybC5wYXRoO1xuICB9XG4gIHJldHVybiB1cmw7XG59XG5leHBvcnRzLnVybEdlbmVyYXRlID0gdXJsR2VuZXJhdGU7XG5cbi8qKlxuICogTm9ybWFsaXplcyBhIHBhdGgsIG9yIHRoZSBwYXRoIHBvcnRpb24gb2YgYSBVUkw6XG4gKlxuICogLSBSZXBsYWNlcyBjb25zZWN1dGl2ZSBzbGFzaGVzIHdpdGggb25lIHNsYXNoLlxuICogLSBSZW1vdmVzIHVubmVjZXNzYXJ5ICcuJyBwYXJ0cy5cbiAqIC0gUmVtb3ZlcyB1bm5lY2Vzc2FyeSAnPGRpcj4vLi4nIHBhcnRzLlxuICpcbiAqIEJhc2VkIG9uIGNvZGUgaW4gdGhlIE5vZGUuanMgJ3BhdGgnIGNvcmUgbW9kdWxlLlxuICpcbiAqIEBwYXJhbSBhUGF0aCBUaGUgcGF0aCBvciB1cmwgdG8gbm9ybWFsaXplLlxuICovXG5mdW5jdGlvbiBub3JtYWxpemUoYVBhdGgpIHtcbiAgdmFyIHBhdGggPSBhUGF0aDtcbiAgdmFyIHVybCA9IHVybFBhcnNlKGFQYXRoKTtcbiAgaWYgKHVybCkge1xuICAgIGlmICghdXJsLnBhdGgpIHtcbiAgICAgIHJldHVybiBhUGF0aDtcbiAgICB9XG4gICAgcGF0aCA9IHVybC5wYXRoO1xuICB9XG4gIHZhciBpc0Fic29sdXRlID0gZXhwb3J0cy5pc0Fic29sdXRlKHBhdGgpO1xuXG4gIHZhciBwYXJ0cyA9IHBhdGguc3BsaXQoL1xcLysvKTtcbiAgZm9yICh2YXIgcGFydCwgdXAgPSAwLCBpID0gcGFydHMubGVuZ3RoIC0gMTsgaSA+PSAwOyBpLS0pIHtcbiAgICBwYXJ0ID0gcGFydHNbaV07XG4gICAgaWYgKHBhcnQgPT09ICcuJykge1xuICAgICAgcGFydHMuc3BsaWNlKGksIDEpO1xuICAgIH0gZWxzZSBpZiAocGFydCA9PT0gJy4uJykge1xuICAgICAgdXArKztcbiAgICB9IGVsc2UgaWYgKHVwID4gMCkge1xuICAgICAgaWYgKHBhcnQgPT09ICcnKSB7XG4gICAgICAgIC8vIFRoZSBmaXJzdCBwYXJ0IGlzIGJsYW5rIGlmIHRoZSBwYXRoIGlzIGFic29sdXRlLiBUcnlpbmcgdG8gZ29cbiAgICAgICAgLy8gYWJvdmUgdGhlIHJvb3QgaXMgYSBuby1vcC4gVGhlcmVmb3JlIHdlIGNhbiByZW1vdmUgYWxsICcuLicgcGFydHNcbiAgICAgICAgLy8gZGlyZWN0bHkgYWZ0ZXIgdGhlIHJvb3QuXG4gICAgICAgIHBhcnRzLnNwbGljZShpICsgMSwgdXApO1xuICAgICAgICB1cCA9IDA7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBwYXJ0cy5zcGxpY2UoaSwgMik7XG4gICAgICAgIHVwLS07XG4gICAgICB9XG4gICAgfVxuICB9XG4gIHBhdGggPSBwYXJ0cy5qb2luKCcvJyk7XG5cbiAgaWYgKHBhdGggPT09ICcnKSB7XG4gICAgcGF0aCA9IGlzQWJzb2x1dGUgPyAnLycgOiAnLic7XG4gIH1cblxuICBpZiAodXJsKSB7XG4gICAgdXJsLnBhdGggPSBwYXRoO1xuICAgIHJldHVybiB1cmxHZW5lcmF0ZSh1cmwpO1xuICB9XG4gIHJldHVybiBwYXRoO1xufVxuZXhwb3J0cy5ub3JtYWxpemUgPSBub3JtYWxpemU7XG5cbi8qKlxuICogSm9pbnMgdHdvIHBhdGhzL1VSTHMuXG4gKlxuICogQHBhcmFtIGFSb290IFRoZSByb290IHBhdGggb3IgVVJMLlxuICogQHBhcmFtIGFQYXRoIFRoZSBwYXRoIG9yIFVSTCB0byBiZSBqb2luZWQgd2l0aCB0aGUgcm9vdC5cbiAqXG4gKiAtIElmIGFQYXRoIGlzIGEgVVJMIG9yIGEgZGF0YSBVUkksIGFQYXRoIGlzIHJldHVybmVkLCB1bmxlc3MgYVBhdGggaXMgYVxuICogICBzY2hlbWUtcmVsYXRpdmUgVVJMOiBUaGVuIHRoZSBzY2hlbWUgb2YgYVJvb3QsIGlmIGFueSwgaXMgcHJlcGVuZGVkXG4gKiAgIGZpcnN0LlxuICogLSBPdGhlcndpc2UgYVBhdGggaXMgYSBwYXRoLiBJZiBhUm9vdCBpcyBhIFVSTCwgdGhlbiBpdHMgcGF0aCBwb3J0aW9uXG4gKiAgIGlzIHVwZGF0ZWQgd2l0aCB0aGUgcmVzdWx0IGFuZCBhUm9vdCBpcyByZXR1cm5lZC4gT3RoZXJ3aXNlIHRoZSByZXN1bHRcbiAqICAgaXMgcmV0dXJuZWQuXG4gKiAgIC0gSWYgYVBhdGggaXMgYWJzb2x1dGUsIHRoZSByZXN1bHQgaXMgYVBhdGguXG4gKiAgIC0gT3RoZXJ3aXNlIHRoZSB0d28gcGF0aHMgYXJlIGpvaW5lZCB3aXRoIGEgc2xhc2guXG4gKiAtIEpvaW5pbmcgZm9yIGV4YW1wbGUgJ2h0dHA6Ly8nIGFuZCAnd3d3LmV4YW1wbGUuY29tJyBpcyBhbHNvIHN1cHBvcnRlZC5cbiAqL1xuZnVuY3Rpb24gam9pbihhUm9vdCwgYVBhdGgpIHtcbiAgaWYgKGFSb290ID09PSBcIlwiKSB7XG4gICAgYVJvb3QgPSBcIi5cIjtcbiAgfVxuICBpZiAoYVBhdGggPT09IFwiXCIpIHtcbiAgICBhUGF0aCA9IFwiLlwiO1xuICB9XG4gIHZhciBhUGF0aFVybCA9IHVybFBhcnNlKGFQYXRoKTtcbiAgdmFyIGFSb290VXJsID0gdXJsUGFyc2UoYVJvb3QpO1xuICBpZiAoYVJvb3RVcmwpIHtcbiAgICBhUm9vdCA9IGFSb290VXJsLnBhdGggfHwgJy8nO1xuICB9XG5cbiAgLy8gYGpvaW4oZm9vLCAnLy93d3cuZXhhbXBsZS5vcmcnKWBcbiAgaWYgKGFQYXRoVXJsICYmICFhUGF0aFVybC5zY2hlbWUpIHtcbiAgICBpZiAoYVJvb3RVcmwpIHtcbiAgICAgIGFQYXRoVXJsLnNjaGVtZSA9IGFSb290VXJsLnNjaGVtZTtcbiAgICB9XG4gICAgcmV0dXJuIHVybEdlbmVyYXRlKGFQYXRoVXJsKTtcbiAgfVxuXG4gIGlmIChhUGF0aFVybCB8fCBhUGF0aC5tYXRjaChkYXRhVXJsUmVnZXhwKSkge1xuICAgIHJldHVybiBhUGF0aDtcbiAgfVxuXG4gIC8vIGBqb2luKCdodHRwOi8vJywgJ3d3dy5leGFtcGxlLmNvbScpYFxuICBpZiAoYVJvb3RVcmwgJiYgIWFSb290VXJsLmhvc3QgJiYgIWFSb290VXJsLnBhdGgpIHtcbiAgICBhUm9vdFVybC5ob3N0ID0gYVBhdGg7XG4gICAgcmV0dXJuIHVybEdlbmVyYXRlKGFSb290VXJsKTtcbiAgfVxuXG4gIHZhciBqb2luZWQgPSBhUGF0aC5jaGFyQXQoMCkgPT09ICcvJ1xuICAgID8gYVBhdGhcbiAgICA6IG5vcm1hbGl6ZShhUm9vdC5yZXBsYWNlKC9cXC8rJC8sICcnKSArICcvJyArIGFQYXRoKTtcblxuICBpZiAoYVJvb3RVcmwpIHtcbiAgICBhUm9vdFVybC5wYXRoID0gam9pbmVkO1xuICAgIHJldHVybiB1cmxHZW5lcmF0ZShhUm9vdFVybCk7XG4gIH1cbiAgcmV0dXJuIGpvaW5lZDtcbn1cbmV4cG9ydHMuam9pbiA9IGpvaW47XG5cbmV4cG9ydHMuaXNBYnNvbHV0ZSA9IGZ1bmN0aW9uIChhUGF0aCkge1xuICByZXR1cm4gYVBhdGguY2hhckF0KDApID09PSAnLycgfHwgISFhUGF0aC5tYXRjaCh1cmxSZWdleHApO1xufTtcblxuLyoqXG4gKiBNYWtlIGEgcGF0aCByZWxhdGl2ZSB0byBhIFVSTCBvciBhbm90aGVyIHBhdGguXG4gKlxuICogQHBhcmFtIGFSb290IFRoZSByb290IHBhdGggb3IgVVJMLlxuICogQHBhcmFtIGFQYXRoIFRoZSBwYXRoIG9yIFVSTCB0byBiZSBtYWRlIHJlbGF0aXZlIHRvIGFSb290LlxuICovXG5mdW5jdGlvbiByZWxhdGl2ZShhUm9vdCwgYVBhdGgpIHtcbiAgaWYgKGFSb290ID09PSBcIlwiKSB7XG4gICAgYVJvb3QgPSBcIi5cIjtcbiAgfVxuXG4gIGFSb290ID0gYVJvb3QucmVwbGFjZSgvXFwvJC8sICcnKTtcblxuICAvLyBJdCBpcyBwb3NzaWJsZSBmb3IgdGhlIHBhdGggdG8gYmUgYWJvdmUgdGhlIHJvb3QuIEluIHRoaXMgY2FzZSwgc2ltcGx5XG4gIC8vIGNoZWNraW5nIHdoZXRoZXIgdGhlIHJvb3QgaXMgYSBwcmVmaXggb2YgdGhlIHBhdGggd29uJ3Qgd29yay4gSW5zdGVhZCwgd2VcbiAgLy8gbmVlZCB0byByZW1vdmUgY29tcG9uZW50cyBmcm9tIHRoZSByb290IG9uZSBieSBvbmUsIHVudGlsIGVpdGhlciB3ZSBmaW5kXG4gIC8vIGEgcHJlZml4IHRoYXQgZml0cywgb3Igd2UgcnVuIG91dCBvZiBjb21wb25lbnRzIHRvIHJlbW92ZS5cbiAgdmFyIGxldmVsID0gMDtcbiAgd2hpbGUgKGFQYXRoLmluZGV4T2YoYVJvb3QgKyAnLycpICE9PSAwKSB7XG4gICAgdmFyIGluZGV4ID0gYVJvb3QubGFzdEluZGV4T2YoXCIvXCIpO1xuICAgIGlmIChpbmRleCA8IDApIHtcbiAgICAgIHJldHVybiBhUGF0aDtcbiAgICB9XG5cbiAgICAvLyBJZiB0aGUgb25seSBwYXJ0IG9mIHRoZSByb290IHRoYXQgaXMgbGVmdCBpcyB0aGUgc2NoZW1lIChpLmUuIGh0dHA6Ly8sXG4gICAgLy8gZmlsZTovLy8sIGV0Yy4pLCBvbmUgb3IgbW9yZSBzbGFzaGVzICgvKSwgb3Igc2ltcGx5IG5vdGhpbmcgYXQgYWxsLCB3ZVxuICAgIC8vIGhhdmUgZXhoYXVzdGVkIGFsbCBjb21wb25lbnRzLCBzbyB0aGUgcGF0aCBpcyBub3QgcmVsYXRpdmUgdG8gdGhlIHJvb3QuXG4gICAgYVJvb3QgPSBhUm9vdC5zbGljZSgwLCBpbmRleCk7XG4gICAgaWYgKGFSb290Lm1hdGNoKC9eKFteXFwvXSs6XFwvKT9cXC8qJC8pKSB7XG4gICAgICByZXR1cm4gYVBhdGg7XG4gICAgfVxuXG4gICAgKytsZXZlbDtcbiAgfVxuXG4gIC8vIE1ha2Ugc3VyZSB3ZSBhZGQgYSBcIi4uL1wiIGZvciBlYWNoIGNvbXBvbmVudCB3ZSByZW1vdmVkIGZyb20gdGhlIHJvb3QuXG4gIHJldHVybiBBcnJheShsZXZlbCArIDEpLmpvaW4oXCIuLi9cIikgKyBhUGF0aC5zdWJzdHIoYVJvb3QubGVuZ3RoICsgMSk7XG59XG5leHBvcnRzLnJlbGF0aXZlID0gcmVsYXRpdmU7XG5cbnZhciBzdXBwb3J0c051bGxQcm90byA9IChmdW5jdGlvbiAoKSB7XG4gIHZhciBvYmogPSBPYmplY3QuY3JlYXRlKG51bGwpO1xuICByZXR1cm4gISgnX19wcm90b19fJyBpbiBvYmopO1xufSgpKTtcblxuZnVuY3Rpb24gaWRlbnRpdHkgKHMpIHtcbiAgcmV0dXJuIHM7XG59XG5cbi8qKlxuICogQmVjYXVzZSBiZWhhdmlvciBnb2VzIHdhY2t5IHdoZW4geW91IHNldCBgX19wcm90b19fYCBvbiBvYmplY3RzLCB3ZVxuICogaGF2ZSB0byBwcmVmaXggYWxsIHRoZSBzdHJpbmdzIGluIG91ciBzZXQgd2l0aCBhbiBhcmJpdHJhcnkgY2hhcmFjdGVyLlxuICpcbiAqIFNlZSBodHRwczovL2dpdGh1Yi5jb20vbW96aWxsYS9zb3VyY2UtbWFwL3B1bGwvMzEgYW5kXG4gKiBodHRwczovL2dpdGh1Yi5jb20vbW96aWxsYS9zb3VyY2UtbWFwL2lzc3Vlcy8zMFxuICpcbiAqIEBwYXJhbSBTdHJpbmcgYVN0clxuICovXG5mdW5jdGlvbiB0b1NldFN0cmluZyhhU3RyKSB7XG4gIGlmIChpc1Byb3RvU3RyaW5nKGFTdHIpKSB7XG4gICAgcmV0dXJuICckJyArIGFTdHI7XG4gIH1cblxuICByZXR1cm4gYVN0cjtcbn1cbmV4cG9ydHMudG9TZXRTdHJpbmcgPSBzdXBwb3J0c051bGxQcm90byA/IGlkZW50aXR5IDogdG9TZXRTdHJpbmc7XG5cbmZ1bmN0aW9uIGZyb21TZXRTdHJpbmcoYVN0cikge1xuICBpZiAoaXNQcm90b1N0cmluZyhhU3RyKSkge1xuICAgIHJldHVybiBhU3RyLnNsaWNlKDEpO1xuICB9XG5cbiAgcmV0dXJuIGFTdHI7XG59XG5leHBvcnRzLmZyb21TZXRTdHJpbmcgPSBzdXBwb3J0c051bGxQcm90byA/IGlkZW50aXR5IDogZnJvbVNldFN0cmluZztcblxuZnVuY3Rpb24gaXNQcm90b1N0cmluZyhzKSB7XG4gIGlmICghcykge1xuICAgIHJldHVybiBmYWxzZTtcbiAgfVxuXG4gIHZhciBsZW5ndGggPSBzLmxlbmd0aDtcblxuICBpZiAobGVuZ3RoIDwgOSAvKiBcIl9fcHJvdG9fX1wiLmxlbmd0aCAqLykge1xuICAgIHJldHVybiBmYWxzZTtcbiAgfVxuXG4gIGlmIChzLmNoYXJDb2RlQXQobGVuZ3RoIC0gMSkgIT09IDk1ICAvKiAnXycgKi8gfHxcbiAgICAgIHMuY2hhckNvZGVBdChsZW5ndGggLSAyKSAhPT0gOTUgIC8qICdfJyAqLyB8fFxuICAgICAgcy5jaGFyQ29kZUF0KGxlbmd0aCAtIDMpICE9PSAxMTEgLyogJ28nICovIHx8XG4gICAgICBzLmNoYXJDb2RlQXQobGVuZ3RoIC0gNCkgIT09IDExNiAvKiAndCcgKi8gfHxcbiAgICAgIHMuY2hhckNvZGVBdChsZW5ndGggLSA1KSAhPT0gMTExIC8qICdvJyAqLyB8fFxuICAgICAgcy5jaGFyQ29kZUF0KGxlbmd0aCAtIDYpICE9PSAxMTQgLyogJ3InICovIHx8XG4gICAgICBzLmNoYXJDb2RlQXQobGVuZ3RoIC0gNykgIT09IDExMiAvKiAncCcgKi8gfHxcbiAgICAgIHMuY2hhckNvZGVBdChsZW5ndGggLSA4KSAhPT0gOTUgIC8qICdfJyAqLyB8fFxuICAgICAgcy5jaGFyQ29kZUF0KGxlbmd0aCAtIDkpICE9PSA5NSAgLyogJ18nICovKSB7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG5cbiAgZm9yICh2YXIgaSA9IGxlbmd0aCAtIDEwOyBpID49IDA7IGktLSkge1xuICAgIGlmIChzLmNoYXJDb2RlQXQoaSkgIT09IDM2IC8qICckJyAqLykge1xuICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiB0cnVlO1xufVxuXG4vKipcbiAqIENvbXBhcmF0b3IgYmV0d2VlbiB0d28gbWFwcGluZ3Mgd2hlcmUgdGhlIG9yaWdpbmFsIHBvc2l0aW9ucyBhcmUgY29tcGFyZWQuXG4gKlxuICogT3B0aW9uYWxseSBwYXNzIGluIGB0cnVlYCBhcyBgb25seUNvbXBhcmVHZW5lcmF0ZWRgIHRvIGNvbnNpZGVyIHR3b1xuICogbWFwcGluZ3Mgd2l0aCB0aGUgc2FtZSBvcmlnaW5hbCBzb3VyY2UvbGluZS9jb2x1bW4sIGJ1dCBkaWZmZXJlbnQgZ2VuZXJhdGVkXG4gKiBsaW5lIGFuZCBjb2x1bW4gdGhlIHNhbWUuIFVzZWZ1bCB3aGVuIHNlYXJjaGluZyBmb3IgYSBtYXBwaW5nIHdpdGggYVxuICogc3R1YmJlZCBvdXQgbWFwcGluZy5cbiAqL1xuZnVuY3Rpb24gY29tcGFyZUJ5T3JpZ2luYWxQb3NpdGlvbnMobWFwcGluZ0EsIG1hcHBpbmdCLCBvbmx5Q29tcGFyZU9yaWdpbmFsKSB7XG4gIHZhciBjbXAgPSBtYXBwaW5nQS5zb3VyY2UgLSBtYXBwaW5nQi5zb3VyY2U7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0Eub3JpZ2luYWxMaW5lIC0gbWFwcGluZ0Iub3JpZ2luYWxMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLm9yaWdpbmFsQ29sdW1uIC0gbWFwcGluZ0Iub3JpZ2luYWxDb2x1bW47XG4gIGlmIChjbXAgIT09IDAgfHwgb25seUNvbXBhcmVPcmlnaW5hbCkge1xuICAgIHJldHVybiBjbXA7XG4gIH1cblxuICBjbXAgPSBtYXBwaW5nQS5nZW5lcmF0ZWRDb2x1bW4gLSBtYXBwaW5nQi5nZW5lcmF0ZWRDb2x1bW47XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0EuZ2VuZXJhdGVkTGluZSAtIG1hcHBpbmdCLmdlbmVyYXRlZExpbmU7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgcmV0dXJuIG1hcHBpbmdBLm5hbWUgLSBtYXBwaW5nQi5uYW1lO1xufVxuZXhwb3J0cy5jb21wYXJlQnlPcmlnaW5hbFBvc2l0aW9ucyA9IGNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zO1xuXG4vKipcbiAqIENvbXBhcmF0b3IgYmV0d2VlbiB0d28gbWFwcGluZ3Mgd2l0aCBkZWZsYXRlZCBzb3VyY2UgYW5kIG5hbWUgaW5kaWNlcyB3aGVyZVxuICogdGhlIGdlbmVyYXRlZCBwb3NpdGlvbnMgYXJlIGNvbXBhcmVkLlxuICpcbiAqIE9wdGlvbmFsbHkgcGFzcyBpbiBgdHJ1ZWAgYXMgYG9ubHlDb21wYXJlR2VuZXJhdGVkYCB0byBjb25zaWRlciB0d29cbiAqIG1hcHBpbmdzIHdpdGggdGhlIHNhbWUgZ2VuZXJhdGVkIGxpbmUgYW5kIGNvbHVtbiwgYnV0IGRpZmZlcmVudFxuICogc291cmNlL25hbWUvb3JpZ2luYWwgbGluZSBhbmQgY29sdW1uIHRoZSBzYW1lLiBVc2VmdWwgd2hlbiBzZWFyY2hpbmcgZm9yIGFcbiAqIG1hcHBpbmcgd2l0aCBhIHN0dWJiZWQgb3V0IG1hcHBpbmcuXG4gKi9cbmZ1bmN0aW9uIGNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0RlZmxhdGVkKG1hcHBpbmdBLCBtYXBwaW5nQiwgb25seUNvbXBhcmVHZW5lcmF0ZWQpIHtcbiAgdmFyIGNtcCA9IG1hcHBpbmdBLmdlbmVyYXRlZExpbmUgLSBtYXBwaW5nQi5nZW5lcmF0ZWRMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLmdlbmVyYXRlZENvbHVtbiAtIG1hcHBpbmdCLmdlbmVyYXRlZENvbHVtbjtcbiAgaWYgKGNtcCAhPT0gMCB8fCBvbmx5Q29tcGFyZUdlbmVyYXRlZCkge1xuICAgIHJldHVybiBjbXA7XG4gIH1cblxuICBjbXAgPSBtYXBwaW5nQS5zb3VyY2UgLSBtYXBwaW5nQi5zb3VyY2U7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0Eub3JpZ2luYWxMaW5lIC0gbWFwcGluZ0Iub3JpZ2luYWxMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLm9yaWdpbmFsQ29sdW1uIC0gbWFwcGluZ0Iub3JpZ2luYWxDb2x1bW47XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgcmV0dXJuIG1hcHBpbmdBLm5hbWUgLSBtYXBwaW5nQi5uYW1lO1xufVxuZXhwb3J0cy5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNEZWZsYXRlZCA9IGNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0RlZmxhdGVkO1xuXG5mdW5jdGlvbiBzdHJjbXAoYVN0cjEsIGFTdHIyKSB7XG4gIGlmIChhU3RyMSA9PT0gYVN0cjIpIHtcbiAgICByZXR1cm4gMDtcbiAgfVxuXG4gIGlmIChhU3RyMSA+IGFTdHIyKSB7XG4gICAgcmV0dXJuIDE7XG4gIH1cblxuICByZXR1cm4gLTE7XG59XG5cbi8qKlxuICogQ29tcGFyYXRvciBiZXR3ZWVuIHR3byBtYXBwaW5ncyB3aXRoIGluZmxhdGVkIHNvdXJjZSBhbmQgbmFtZSBzdHJpbmdzIHdoZXJlXG4gKiB0aGUgZ2VuZXJhdGVkIHBvc2l0aW9ucyBhcmUgY29tcGFyZWQuXG4gKi9cbmZ1bmN0aW9uIGNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0luZmxhdGVkKG1hcHBpbmdBLCBtYXBwaW5nQikge1xuICB2YXIgY21wID0gbWFwcGluZ0EuZ2VuZXJhdGVkTGluZSAtIG1hcHBpbmdCLmdlbmVyYXRlZExpbmU7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0EuZ2VuZXJhdGVkQ29sdW1uIC0gbWFwcGluZ0IuZ2VuZXJhdGVkQ29sdW1uO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IHN0cmNtcChtYXBwaW5nQS5zb3VyY2UsIG1hcHBpbmdCLnNvdXJjZSk7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0Eub3JpZ2luYWxMaW5lIC0gbWFwcGluZ0Iub3JpZ2luYWxMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLm9yaWdpbmFsQ29sdW1uIC0gbWFwcGluZ0Iub3JpZ2luYWxDb2x1bW47XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgcmV0dXJuIHN0cmNtcChtYXBwaW5nQS5uYW1lLCBtYXBwaW5nQi5uYW1lKTtcbn1cbmV4cG9ydHMuY29tcGFyZUJ5R2VuZXJhdGVkUG9zaXRpb25zSW5mbGF0ZWQgPSBjb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNJbmZsYXRlZDtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbGliL3V0aWwuanNcbi8vIG1vZHVsZSBpZCA9IDRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLyogLSotIE1vZGU6IGpzOyBqcy1pbmRlbnQtbGV2ZWw6IDI7IC0qLSAqL1xuLypcbiAqIENvcHlyaWdodCAyMDExIE1vemlsbGEgRm91bmRhdGlvbiBhbmQgY29udHJpYnV0b3JzXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgTmV3IEJTRCBsaWNlbnNlLiBTZWUgTElDRU5TRSBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuXG52YXIgdXRpbCA9IHJlcXVpcmUoJy4vdXRpbCcpO1xudmFyIGhhcyA9IE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHk7XG52YXIgaGFzTmF0aXZlTWFwID0gdHlwZW9mIE1hcCAhPT0gXCJ1bmRlZmluZWRcIjtcblxuLyoqXG4gKiBBIGRhdGEgc3RydWN0dXJlIHdoaWNoIGlzIGEgY29tYmluYXRpb24gb2YgYW4gYXJyYXkgYW5kIGEgc2V0LiBBZGRpbmcgYSBuZXdcbiAqIG1lbWJlciBpcyBPKDEpLCB0ZXN0aW5nIGZvciBtZW1iZXJzaGlwIGlzIE8oMSksIGFuZCBmaW5kaW5nIHRoZSBpbmRleCBvZiBhblxuICogZWxlbWVudCBpcyBPKDEpLiBSZW1vdmluZyBlbGVtZW50cyBmcm9tIHRoZSBzZXQgaXMgbm90IHN1cHBvcnRlZC4gT25seVxuICogc3RyaW5ncyBhcmUgc3VwcG9ydGVkIGZvciBtZW1iZXJzaGlwLlxuICovXG5mdW5jdGlvbiBBcnJheVNldCgpIHtcbiAgdGhpcy5fYXJyYXkgPSBbXTtcbiAgdGhpcy5fc2V0ID0gaGFzTmF0aXZlTWFwID8gbmV3IE1hcCgpIDogT2JqZWN0LmNyZWF0ZShudWxsKTtcbn1cblxuLyoqXG4gKiBTdGF0aWMgbWV0aG9kIGZvciBjcmVhdGluZyBBcnJheVNldCBpbnN0YW5jZXMgZnJvbSBhbiBleGlzdGluZyBhcnJheS5cbiAqL1xuQXJyYXlTZXQuZnJvbUFycmF5ID0gZnVuY3Rpb24gQXJyYXlTZXRfZnJvbUFycmF5KGFBcnJheSwgYUFsbG93RHVwbGljYXRlcykge1xuICB2YXIgc2V0ID0gbmV3IEFycmF5U2V0KCk7XG4gIGZvciAodmFyIGkgPSAwLCBsZW4gPSBhQXJyYXkubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHtcbiAgICBzZXQuYWRkKGFBcnJheVtpXSwgYUFsbG93RHVwbGljYXRlcyk7XG4gIH1cbiAgcmV0dXJuIHNldDtcbn07XG5cbi8qKlxuICogUmV0dXJuIGhvdyBtYW55IHVuaXF1ZSBpdGVtcyBhcmUgaW4gdGhpcyBBcnJheVNldC4gSWYgZHVwbGljYXRlcyBoYXZlIGJlZW5cbiAqIGFkZGVkLCB0aGFuIHRob3NlIGRvIG5vdCBjb3VudCB0b3dhcmRzIHRoZSBzaXplLlxuICpcbiAqIEByZXR1cm5zIE51bWJlclxuICovXG5BcnJheVNldC5wcm90b3R5cGUuc2l6ZSA9IGZ1bmN0aW9uIEFycmF5U2V0X3NpemUoKSB7XG4gIHJldHVybiBoYXNOYXRpdmVNYXAgPyB0aGlzLl9zZXQuc2l6ZSA6IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzKHRoaXMuX3NldCkubGVuZ3RoO1xufTtcblxuLyoqXG4gKiBBZGQgdGhlIGdpdmVuIHN0cmluZyB0byB0aGlzIHNldC5cbiAqXG4gKiBAcGFyYW0gU3RyaW5nIGFTdHJcbiAqL1xuQXJyYXlTZXQucHJvdG90eXBlLmFkZCA9IGZ1bmN0aW9uIEFycmF5U2V0X2FkZChhU3RyLCBhQWxsb3dEdXBsaWNhdGVzKSB7XG4gIHZhciBzU3RyID0gaGFzTmF0aXZlTWFwID8gYVN0ciA6IHV0aWwudG9TZXRTdHJpbmcoYVN0cik7XG4gIHZhciBpc0R1cGxpY2F0ZSA9IGhhc05hdGl2ZU1hcCA/IHRoaXMuaGFzKGFTdHIpIDogaGFzLmNhbGwodGhpcy5fc2V0LCBzU3RyKTtcbiAgdmFyIGlkeCA9IHRoaXMuX2FycmF5Lmxlbmd0aDtcbiAgaWYgKCFpc0R1cGxpY2F0ZSB8fCBhQWxsb3dEdXBsaWNhdGVzKSB7XG4gICAgdGhpcy5fYXJyYXkucHVzaChhU3RyKTtcbiAgfVxuICBpZiAoIWlzRHVwbGljYXRlKSB7XG4gICAgaWYgKGhhc05hdGl2ZU1hcCkge1xuICAgICAgdGhpcy5fc2V0LnNldChhU3RyLCBpZHgpO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLl9zZXRbc1N0cl0gPSBpZHg7XG4gICAgfVxuICB9XG59O1xuXG4vKipcbiAqIElzIHRoZSBnaXZlbiBzdHJpbmcgYSBtZW1iZXIgb2YgdGhpcyBzZXQ/XG4gKlxuICogQHBhcmFtIFN0cmluZyBhU3RyXG4gKi9cbkFycmF5U2V0LnByb3RvdHlwZS5oYXMgPSBmdW5jdGlvbiBBcnJheVNldF9oYXMoYVN0cikge1xuICBpZiAoaGFzTmF0aXZlTWFwKSB7XG4gICAgcmV0dXJuIHRoaXMuX3NldC5oYXMoYVN0cik7XG4gIH0gZWxzZSB7XG4gICAgdmFyIHNTdHIgPSB1dGlsLnRvU2V0U3RyaW5nKGFTdHIpO1xuICAgIHJldHVybiBoYXMuY2FsbCh0aGlzLl9zZXQsIHNTdHIpO1xuICB9XG59O1xuXG4vKipcbiAqIFdoYXQgaXMgdGhlIGluZGV4IG9mIHRoZSBnaXZlbiBzdHJpbmcgaW4gdGhlIGFycmF5P1xuICpcbiAqIEBwYXJhbSBTdHJpbmcgYVN0clxuICovXG5BcnJheVNldC5wcm90b3R5cGUuaW5kZXhPZiA9IGZ1bmN0aW9uIEFycmF5U2V0X2luZGV4T2YoYVN0cikge1xuICBpZiAoaGFzTmF0aXZlTWFwKSB7XG4gICAgdmFyIGlkeCA9IHRoaXMuX3NldC5nZXQoYVN0cik7XG4gICAgaWYgKGlkeCA+PSAwKSB7XG4gICAgICAgIHJldHVybiBpZHg7XG4gICAgfVxuICB9IGVsc2Uge1xuICAgIHZhciBzU3RyID0gdXRpbC50b1NldFN0cmluZyhhU3RyKTtcbiAgICBpZiAoaGFzLmNhbGwodGhpcy5fc2V0LCBzU3RyKSkge1xuICAgICAgcmV0dXJuIHRoaXMuX3NldFtzU3RyXTtcbiAgICB9XG4gIH1cblxuICB0aHJvdyBuZXcgRXJyb3IoJ1wiJyArIGFTdHIgKyAnXCIgaXMgbm90IGluIHRoZSBzZXQuJyk7XG59O1xuXG4vKipcbiAqIFdoYXQgaXMgdGhlIGVsZW1lbnQgYXQgdGhlIGdpdmVuIGluZGV4P1xuICpcbiAqIEBwYXJhbSBOdW1iZXIgYUlkeFxuICovXG5BcnJheVNldC5wcm90b3R5cGUuYXQgPSBmdW5jdGlvbiBBcnJheVNldF9hdChhSWR4KSB7XG4gIGlmIChhSWR4ID49IDAgJiYgYUlkeCA8IHRoaXMuX2FycmF5Lmxlbmd0aCkge1xuICAgIHJldHVybiB0aGlzLl9hcnJheVthSWR4XTtcbiAgfVxuICB0aHJvdyBuZXcgRXJyb3IoJ05vIGVsZW1lbnQgaW5kZXhlZCBieSAnICsgYUlkeCk7XG59O1xuXG4vKipcbiAqIFJldHVybnMgdGhlIGFycmF5IHJlcHJlc2VudGF0aW9uIG9mIHRoaXMgc2V0ICh3aGljaCBoYXMgdGhlIHByb3BlciBpbmRpY2VzXG4gKiBpbmRpY2F0ZWQgYnkgaW5kZXhPZikuIE5vdGUgdGhhdCB0aGlzIGlzIGEgY29weSBvZiB0aGUgaW50ZXJuYWwgYXJyYXkgdXNlZFxuICogZm9yIHN0b3JpbmcgdGhlIG1lbWJlcnMgc28gdGhhdCBubyBvbmUgY2FuIG1lc3Mgd2l0aCBpbnRlcm5hbCBzdGF0ZS5cbiAqL1xuQXJyYXlTZXQucHJvdG90eXBlLnRvQXJyYXkgPSBmdW5jdGlvbiBBcnJheVNldF90b0FycmF5KCkge1xuICByZXR1cm4gdGhpcy5fYXJyYXkuc2xpY2UoKTtcbn07XG5cbmV4cG9ydHMuQXJyYXlTZXQgPSBBcnJheVNldDtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbGliL2FycmF5LXNldC5qc1xuLy8gbW9kdWxlIGlkID0gNVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTQgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbnZhciB1dGlsID0gcmVxdWlyZSgnLi91dGlsJyk7XG5cbi8qKlxuICogRGV0ZXJtaW5lIHdoZXRoZXIgbWFwcGluZ0IgaXMgYWZ0ZXIgbWFwcGluZ0Egd2l0aCByZXNwZWN0IHRvIGdlbmVyYXRlZFxuICogcG9zaXRpb24uXG4gKi9cbmZ1bmN0aW9uIGdlbmVyYXRlZFBvc2l0aW9uQWZ0ZXIobWFwcGluZ0EsIG1hcHBpbmdCKSB7XG4gIC8vIE9wdGltaXplZCBmb3IgbW9zdCBjb21tb24gY2FzZVxuICB2YXIgbGluZUEgPSBtYXBwaW5nQS5nZW5lcmF0ZWRMaW5lO1xuICB2YXIgbGluZUIgPSBtYXBwaW5nQi5nZW5lcmF0ZWRMaW5lO1xuICB2YXIgY29sdW1uQSA9IG1hcHBpbmdBLmdlbmVyYXRlZENvbHVtbjtcbiAgdmFyIGNvbHVtbkIgPSBtYXBwaW5nQi5nZW5lcmF0ZWRDb2x1bW47XG4gIHJldHVybiBsaW5lQiA+IGxpbmVBIHx8IGxpbmVCID09IGxpbmVBICYmIGNvbHVtbkIgPj0gY29sdW1uQSB8fFxuICAgICAgICAgdXRpbC5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNJbmZsYXRlZChtYXBwaW5nQSwgbWFwcGluZ0IpIDw9IDA7XG59XG5cbi8qKlxuICogQSBkYXRhIHN0cnVjdHVyZSB0byBwcm92aWRlIGEgc29ydGVkIHZpZXcgb2YgYWNjdW11bGF0ZWQgbWFwcGluZ3MgaW4gYVxuICogcGVyZm9ybWFuY2UgY29uc2Npb3VzIG1hbm5lci4gSXQgdHJhZGVzIGEgbmVnbGliYWJsZSBvdmVyaGVhZCBpbiBnZW5lcmFsXG4gKiBjYXNlIGZvciBhIGxhcmdlIHNwZWVkdXAgaW4gY2FzZSBvZiBtYXBwaW5ncyBiZWluZyBhZGRlZCBpbiBvcmRlci5cbiAqL1xuZnVuY3Rpb24gTWFwcGluZ0xpc3QoKSB7XG4gIHRoaXMuX2FycmF5ID0gW107XG4gIHRoaXMuX3NvcnRlZCA9IHRydWU7XG4gIC8vIFNlcnZlcyBhcyBpbmZpbXVtXG4gIHRoaXMuX2xhc3QgPSB7Z2VuZXJhdGVkTGluZTogLTEsIGdlbmVyYXRlZENvbHVtbjogMH07XG59XG5cbi8qKlxuICogSXRlcmF0ZSB0aHJvdWdoIGludGVybmFsIGl0ZW1zLiBUaGlzIG1ldGhvZCB0YWtlcyB0aGUgc2FtZSBhcmd1bWVudHMgdGhhdFxuICogYEFycmF5LnByb3RvdHlwZS5mb3JFYWNoYCB0YWtlcy5cbiAqXG4gKiBOT1RFOiBUaGUgb3JkZXIgb2YgdGhlIG1hcHBpbmdzIGlzIE5PVCBndWFyYW50ZWVkLlxuICovXG5NYXBwaW5nTGlzdC5wcm90b3R5cGUudW5zb3J0ZWRGb3JFYWNoID1cbiAgZnVuY3Rpb24gTWFwcGluZ0xpc3RfZm9yRWFjaChhQ2FsbGJhY2ssIGFUaGlzQXJnKSB7XG4gICAgdGhpcy5fYXJyYXkuZm9yRWFjaChhQ2FsbGJhY2ssIGFUaGlzQXJnKTtcbiAgfTtcblxuLyoqXG4gKiBBZGQgdGhlIGdpdmVuIHNvdXJjZSBtYXBwaW5nLlxuICpcbiAqIEBwYXJhbSBPYmplY3QgYU1hcHBpbmdcbiAqL1xuTWFwcGluZ0xpc3QucHJvdG90eXBlLmFkZCA9IGZ1bmN0aW9uIE1hcHBpbmdMaXN0X2FkZChhTWFwcGluZykge1xuICBpZiAoZ2VuZXJhdGVkUG9zaXRpb25BZnRlcih0aGlzLl9sYXN0LCBhTWFwcGluZykpIHtcbiAgICB0aGlzLl9sYXN0ID0gYU1hcHBpbmc7XG4gICAgdGhpcy5fYXJyYXkucHVzaChhTWFwcGluZyk7XG4gIH0gZWxzZSB7XG4gICAgdGhpcy5fc29ydGVkID0gZmFsc2U7XG4gICAgdGhpcy5fYXJyYXkucHVzaChhTWFwcGluZyk7XG4gIH1cbn07XG5cbi8qKlxuICogUmV0dXJucyB0aGUgZmxhdCwgc29ydGVkIGFycmF5IG9mIG1hcHBpbmdzLiBUaGUgbWFwcGluZ3MgYXJlIHNvcnRlZCBieVxuICogZ2VuZXJhdGVkIHBvc2l0aW9uLlxuICpcbiAqIFdBUk5JTkc6IFRoaXMgbWV0aG9kIHJldHVybnMgaW50ZXJuYWwgZGF0YSB3aXRob3V0IGNvcHlpbmcsIGZvclxuICogcGVyZm9ybWFuY2UuIFRoZSByZXR1cm4gdmFsdWUgbXVzdCBOT1QgYmUgbXV0YXRlZCwgYW5kIHNob3VsZCBiZSB0cmVhdGVkIGFzXG4gKiBhbiBpbW11dGFibGUgYm9ycm93LiBJZiB5b3Ugd2FudCB0byB0YWtlIG93bmVyc2hpcCwgeW91IG11c3QgbWFrZSB5b3VyIG93blxuICogY29weS5cbiAqL1xuTWFwcGluZ0xpc3QucHJvdG90eXBlLnRvQXJyYXkgPSBmdW5jdGlvbiBNYXBwaW5nTGlzdF90b0FycmF5KCkge1xuICBpZiAoIXRoaXMuX3NvcnRlZCkge1xuICAgIHRoaXMuX2FycmF5LnNvcnQodXRpbC5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNJbmZsYXRlZCk7XG4gICAgdGhpcy5fc29ydGVkID0gdHJ1ZTtcbiAgfVxuICByZXR1cm4gdGhpcy5fYXJyYXk7XG59O1xuXG5leHBvcnRzLk1hcHBpbmdMaXN0ID0gTWFwcGluZ0xpc3Q7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL2xpYi9tYXBwaW5nLWxpc3QuanNcbi8vIG1vZHVsZSBpZCA9IDZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLyogLSotIE1vZGU6IGpzOyBqcy1pbmRlbnQtbGV2ZWw6IDI7IC0qLSAqL1xuLypcbiAqIENvcHlyaWdodCAyMDExIE1vemlsbGEgRm91bmRhdGlvbiBhbmQgY29udHJpYnV0b3JzXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgTmV3IEJTRCBsaWNlbnNlLiBTZWUgTElDRU5TRSBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuXG52YXIgdXRpbCA9IHJlcXVpcmUoJy4vdXRpbCcpO1xudmFyIGJpbmFyeVNlYXJjaCA9IHJlcXVpcmUoJy4vYmluYXJ5LXNlYXJjaCcpO1xudmFyIEFycmF5U2V0ID0gcmVxdWlyZSgnLi9hcnJheS1zZXQnKS5BcnJheVNldDtcbnZhciBiYXNlNjRWTFEgPSByZXF1aXJlKCcuL2Jhc2U2NC12bHEnKTtcbnZhciBxdWlja1NvcnQgPSByZXF1aXJlKCcuL3F1aWNrLXNvcnQnKS5xdWlja1NvcnQ7XG5cbmZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyKGFTb3VyY2VNYXApIHtcbiAgdmFyIHNvdXJjZU1hcCA9IGFTb3VyY2VNYXA7XG4gIGlmICh0eXBlb2YgYVNvdXJjZU1hcCA9PT0gJ3N0cmluZycpIHtcbiAgICBzb3VyY2VNYXAgPSBKU09OLnBhcnNlKGFTb3VyY2VNYXAucmVwbGFjZSgvXlxcKVxcXVxcfScvLCAnJykpO1xuICB9XG5cbiAgcmV0dXJuIHNvdXJjZU1hcC5zZWN0aW9ucyAhPSBudWxsXG4gICAgPyBuZXcgSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyKHNvdXJjZU1hcClcbiAgICA6IG5ldyBCYXNpY1NvdXJjZU1hcENvbnN1bWVyKHNvdXJjZU1hcCk7XG59XG5cblNvdXJjZU1hcENvbnN1bWVyLmZyb21Tb3VyY2VNYXAgPSBmdW5jdGlvbihhU291cmNlTWFwKSB7XG4gIHJldHVybiBCYXNpY1NvdXJjZU1hcENvbnN1bWVyLmZyb21Tb3VyY2VNYXAoYVNvdXJjZU1hcCk7XG59XG5cbi8qKlxuICogVGhlIHZlcnNpb24gb2YgdGhlIHNvdXJjZSBtYXBwaW5nIHNwZWMgdGhhdCB3ZSBhcmUgY29uc3VtaW5nLlxuICovXG5Tb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3ZlcnNpb24gPSAzO1xuXG4vLyBgX19nZW5lcmF0ZWRNYXBwaW5nc2AgYW5kIGBfX29yaWdpbmFsTWFwcGluZ3NgIGFyZSBhcnJheXMgdGhhdCBob2xkIHRoZVxuLy8gcGFyc2VkIG1hcHBpbmcgY29vcmRpbmF0ZXMgZnJvbSB0aGUgc291cmNlIG1hcCdzIFwibWFwcGluZ3NcIiBhdHRyaWJ1dGUuIFRoZXlcbi8vIGFyZSBsYXppbHkgaW5zdGFudGlhdGVkLCBhY2Nlc3NlZCB2aWEgdGhlIGBfZ2VuZXJhdGVkTWFwcGluZ3NgIGFuZFxuLy8gYF9vcmlnaW5hbE1hcHBpbmdzYCBnZXR0ZXJzIHJlc3BlY3RpdmVseSwgYW5kIHdlIG9ubHkgcGFyc2UgdGhlIG1hcHBpbmdzXG4vLyBhbmQgY3JlYXRlIHRoZXNlIGFycmF5cyBvbmNlIHF1ZXJpZWQgZm9yIGEgc291cmNlIGxvY2F0aW9uLiBXZSBqdW1wIHRocm91Z2hcbi8vIHRoZXNlIGhvb3BzIGJlY2F1c2UgdGhlcmUgY2FuIGJlIG1hbnkgdGhvdXNhbmRzIG9mIG1hcHBpbmdzLCBhbmQgcGFyc2luZ1xuLy8gdGhlbSBpcyBleHBlbnNpdmUsIHNvIHdlIG9ubHkgd2FudCB0byBkbyBpdCBpZiB3ZSBtdXN0LlxuLy9cbi8vIEVhY2ggb2JqZWN0IGluIHRoZSBhcnJheXMgaXMgb2YgdGhlIGZvcm06XG4vL1xuLy8gICAgIHtcbi8vICAgICAgIGdlbmVyYXRlZExpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIGNvZGUsXG4vLyAgICAgICBnZW5lcmF0ZWRDb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgY29kZSxcbi8vICAgICAgIHNvdXJjZTogVGhlIHBhdGggdG8gdGhlIG9yaWdpbmFsIHNvdXJjZSBmaWxlIHRoYXQgZ2VuZXJhdGVkIHRoaXNcbi8vICAgICAgICAgICAgICAgY2h1bmsgb2YgY29kZSxcbi8vICAgICAgIG9yaWdpbmFsTGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UgdGhhdFxuLy8gICAgICAgICAgICAgICAgICAgICBjb3JyZXNwb25kcyB0byB0aGlzIGNodW5rIG9mIGdlbmVyYXRlZCBjb2RlLFxuLy8gICAgICAgb3JpZ2luYWxDb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UgdGhhdFxuLy8gICAgICAgICAgICAgICAgICAgICAgIGNvcnJlc3BvbmRzIHRvIHRoaXMgY2h1bmsgb2YgZ2VuZXJhdGVkIGNvZGUsXG4vLyAgICAgICBuYW1lOiBUaGUgbmFtZSBvZiB0aGUgb3JpZ2luYWwgc3ltYm9sIHdoaWNoIGdlbmVyYXRlZCB0aGlzIGNodW5rIG9mXG4vLyAgICAgICAgICAgICBjb2RlLlxuLy8gICAgIH1cbi8vXG4vLyBBbGwgcHJvcGVydGllcyBleGNlcHQgZm9yIGBnZW5lcmF0ZWRMaW5lYCBhbmQgYGdlbmVyYXRlZENvbHVtbmAgY2FuIGJlXG4vLyBgbnVsbGAuXG4vL1xuLy8gYF9nZW5lcmF0ZWRNYXBwaW5nc2AgaXMgb3JkZXJlZCBieSB0aGUgZ2VuZXJhdGVkIHBvc2l0aW9ucy5cbi8vXG4vLyBgX29yaWdpbmFsTWFwcGluZ3NgIGlzIG9yZGVyZWQgYnkgdGhlIG9yaWdpbmFsIHBvc2l0aW9ucy5cblxuU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLl9fZ2VuZXJhdGVkTWFwcGluZ3MgPSBudWxsO1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZSwgJ19nZW5lcmF0ZWRNYXBwaW5ncycsIHtcbiAgZ2V0OiBmdW5jdGlvbiAoKSB7XG4gICAgaWYgKCF0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3MpIHtcbiAgICAgIHRoaXMuX3BhcnNlTWFwcGluZ3ModGhpcy5fbWFwcGluZ3MsIHRoaXMuc291cmNlUm9vdCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXMuX19nZW5lcmF0ZWRNYXBwaW5ncztcbiAgfVxufSk7XG5cblNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fX29yaWdpbmFsTWFwcGluZ3MgPSBudWxsO1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZSwgJ19vcmlnaW5hbE1hcHBpbmdzJywge1xuICBnZXQ6IGZ1bmN0aW9uICgpIHtcbiAgICBpZiAoIXRoaXMuX19vcmlnaW5hbE1hcHBpbmdzKSB7XG4gICAgICB0aGlzLl9wYXJzZU1hcHBpbmdzKHRoaXMuX21hcHBpbmdzLCB0aGlzLnNvdXJjZVJvb3QpO1xuICAgIH1cblxuICAgIHJldHVybiB0aGlzLl9fb3JpZ2luYWxNYXBwaW5ncztcbiAgfVxufSk7XG5cblNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fY2hhcklzTWFwcGluZ1NlcGFyYXRvciA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX2NoYXJJc01hcHBpbmdTZXBhcmF0b3IoYVN0ciwgaW5kZXgpIHtcbiAgICB2YXIgYyA9IGFTdHIuY2hhckF0KGluZGV4KTtcbiAgICByZXR1cm4gYyA9PT0gXCI7XCIgfHwgYyA9PT0gXCIsXCI7XG4gIH07XG5cbi8qKlxuICogUGFyc2UgdGhlIG1hcHBpbmdzIGluIGEgc3RyaW5nIGluIHRvIGEgZGF0YSBzdHJ1Y3R1cmUgd2hpY2ggd2UgY2FuIGVhc2lseVxuICogcXVlcnkgKHRoZSBvcmRlcmVkIGFycmF5cyBpbiB0aGUgYHRoaXMuX19nZW5lcmF0ZWRNYXBwaW5nc2AgYW5kXG4gKiBgdGhpcy5fX29yaWdpbmFsTWFwcGluZ3NgIHByb3BlcnRpZXMpLlxuICovXG5Tb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3BhcnNlTWFwcGluZ3MgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9wYXJzZU1hcHBpbmdzKGFTdHIsIGFTb3VyY2VSb290KSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFwiU3ViY2xhc3NlcyBtdXN0IGltcGxlbWVudCBfcGFyc2VNYXBwaW5nc1wiKTtcbiAgfTtcblxuU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSID0gMTtcblNvdXJjZU1hcENvbnN1bWVyLk9SSUdJTkFMX09SREVSID0gMjtcblxuU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQgPSAxO1xuU291cmNlTWFwQ29uc3VtZXIuTEVBU1RfVVBQRVJfQk9VTkQgPSAyO1xuXG4vKipcbiAqIEl0ZXJhdGUgb3ZlciBlYWNoIG1hcHBpbmcgYmV0d2VlbiBhbiBvcmlnaW5hbCBzb3VyY2UvbGluZS9jb2x1bW4gYW5kIGFcbiAqIGdlbmVyYXRlZCBsaW5lL2NvbHVtbiBpbiB0aGlzIHNvdXJjZSBtYXAuXG4gKlxuICogQHBhcmFtIEZ1bmN0aW9uIGFDYWxsYmFja1xuICogICAgICAgIFRoZSBmdW5jdGlvbiB0aGF0IGlzIGNhbGxlZCB3aXRoIGVhY2ggbWFwcGluZy5cbiAqIEBwYXJhbSBPYmplY3QgYUNvbnRleHRcbiAqICAgICAgICBPcHRpb25hbC4gSWYgc3BlY2lmaWVkLCB0aGlzIG9iamVjdCB3aWxsIGJlIHRoZSB2YWx1ZSBvZiBgdGhpc2AgZXZlcnlcbiAqICAgICAgICB0aW1lIHRoYXQgYGFDYWxsYmFja2AgaXMgY2FsbGVkLlxuICogQHBhcmFtIGFPcmRlclxuICogICAgICAgIEVpdGhlciBgU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSYCBvclxuICogICAgICAgIGBTb3VyY2VNYXBDb25zdW1lci5PUklHSU5BTF9PUkRFUmAuIFNwZWNpZmllcyB3aGV0aGVyIHlvdSB3YW50IHRvXG4gKiAgICAgICAgaXRlcmF0ZSBvdmVyIHRoZSBtYXBwaW5ncyBzb3J0ZWQgYnkgdGhlIGdlbmVyYXRlZCBmaWxlJ3MgbGluZS9jb2x1bW5cbiAqICAgICAgICBvcmRlciBvciB0aGUgb3JpZ2luYWwncyBzb3VyY2UvbGluZS9jb2x1bW4gb3JkZXIsIHJlc3BlY3RpdmVseS4gRGVmYXVsdHMgdG9cbiAqICAgICAgICBgU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSYC5cbiAqL1xuU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmVhY2hNYXBwaW5nID1cbiAgZnVuY3Rpb24gU291cmNlTWFwQ29uc3VtZXJfZWFjaE1hcHBpbmcoYUNhbGxiYWNrLCBhQ29udGV4dCwgYU9yZGVyKSB7XG4gICAgdmFyIGNvbnRleHQgPSBhQ29udGV4dCB8fCBudWxsO1xuICAgIHZhciBvcmRlciA9IGFPcmRlciB8fCBTb3VyY2VNYXBDb25zdW1lci5HRU5FUkFURURfT1JERVI7XG5cbiAgICB2YXIgbWFwcGluZ3M7XG4gICAgc3dpdGNoIChvcmRlcikge1xuICAgIGNhc2UgU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSOlxuICAgICAgbWFwcGluZ3MgPSB0aGlzLl9nZW5lcmF0ZWRNYXBwaW5ncztcbiAgICAgIGJyZWFrO1xuICAgIGNhc2UgU291cmNlTWFwQ29uc3VtZXIuT1JJR0lOQUxfT1JERVI6XG4gICAgICBtYXBwaW5ncyA9IHRoaXMuX29yaWdpbmFsTWFwcGluZ3M7XG4gICAgICBicmVhaztcbiAgICBkZWZhdWx0OlxuICAgICAgdGhyb3cgbmV3IEVycm9yKFwiVW5rbm93biBvcmRlciBvZiBpdGVyYXRpb24uXCIpO1xuICAgIH1cblxuICAgIHZhciBzb3VyY2VSb290ID0gdGhpcy5zb3VyY2VSb290O1xuICAgIG1hcHBpbmdzLm1hcChmdW5jdGlvbiAobWFwcGluZykge1xuICAgICAgdmFyIHNvdXJjZSA9IG1hcHBpbmcuc291cmNlID09PSBudWxsID8gbnVsbCA6IHRoaXMuX3NvdXJjZXMuYXQobWFwcGluZy5zb3VyY2UpO1xuICAgICAgaWYgKHNvdXJjZSAhPSBudWxsICYmIHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICBzb3VyY2UgPSB1dGlsLmpvaW4oc291cmNlUm9vdCwgc291cmNlKTtcbiAgICAgIH1cbiAgICAgIHJldHVybiB7XG4gICAgICAgIHNvdXJjZTogc291cmNlLFxuICAgICAgICBnZW5lcmF0ZWRMaW5lOiBtYXBwaW5nLmdlbmVyYXRlZExpbmUsXG4gICAgICAgIGdlbmVyYXRlZENvbHVtbjogbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4sXG4gICAgICAgIG9yaWdpbmFsTGluZTogbWFwcGluZy5vcmlnaW5hbExpbmUsXG4gICAgICAgIG9yaWdpbmFsQ29sdW1uOiBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uLFxuICAgICAgICBuYW1lOiBtYXBwaW5nLm5hbWUgPT09IG51bGwgPyBudWxsIDogdGhpcy5fbmFtZXMuYXQobWFwcGluZy5uYW1lKVxuICAgICAgfTtcbiAgICB9LCB0aGlzKS5mb3JFYWNoKGFDYWxsYmFjaywgY29udGV4dCk7XG4gIH07XG5cbi8qKlxuICogUmV0dXJucyBhbGwgZ2VuZXJhdGVkIGxpbmUgYW5kIGNvbHVtbiBpbmZvcm1hdGlvbiBmb3IgdGhlIG9yaWdpbmFsIHNvdXJjZSxcbiAqIGxpbmUsIGFuZCBjb2x1bW4gcHJvdmlkZWQuIElmIG5vIGNvbHVtbiBpcyBwcm92aWRlZCwgcmV0dXJucyBhbGwgbWFwcGluZ3NcbiAqIGNvcnJlc3BvbmRpbmcgdG8gYSBlaXRoZXIgdGhlIGxpbmUgd2UgYXJlIHNlYXJjaGluZyBmb3Igb3IgdGhlIG5leHRcbiAqIGNsb3Nlc3QgbGluZSB0aGF0IGhhcyBhbnkgbWFwcGluZ3MuIE90aGVyd2lzZSwgcmV0dXJucyBhbGwgbWFwcGluZ3NcbiAqIGNvcnJlc3BvbmRpbmcgdG8gdGhlIGdpdmVuIGxpbmUgYW5kIGVpdGhlciB0aGUgY29sdW1uIHdlIGFyZSBzZWFyY2hpbmcgZm9yXG4gKiBvciB0aGUgbmV4dCBjbG9zZXN0IGNvbHVtbiB0aGF0IGhhcyBhbnkgb2Zmc2V0cy5cbiAqXG4gKiBUaGUgb25seSBhcmd1bWVudCBpcyBhbiBvYmplY3Qgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIGZpbGVuYW1lIG9mIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gY29sdW1uOiBPcHRpb25hbC4gdGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIG9yaWdpbmFsIHNvdXJjZS5cbiAqXG4gKiBhbmQgYW4gYXJyYXkgb2Ygb2JqZWN0cyBpcyByZXR1cm5lZCwgZWFjaCB3aXRoIHRoZSBmb2xsb3dpbmcgcHJvcGVydGllczpcbiAqXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLCBvciBudWxsLlxuICogICAtIGNvbHVtbjogVGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIGdlbmVyYXRlZCBzb3VyY2UsIG9yIG51bGwuXG4gKi9cblNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5hbGxHZW5lcmF0ZWRQb3NpdGlvbnNGb3IgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9hbGxHZW5lcmF0ZWRQb3NpdGlvbnNGb3IoYUFyZ3MpIHtcbiAgICB2YXIgbGluZSA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnbGluZScpO1xuXG4gICAgLy8gV2hlbiB0aGVyZSBpcyBubyBleGFjdCBtYXRjaCwgQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX2ZpbmRNYXBwaW5nXG4gICAgLy8gcmV0dXJucyB0aGUgaW5kZXggb2YgdGhlIGNsb3Nlc3QgbWFwcGluZyBsZXNzIHRoYW4gdGhlIG5lZWRsZS4gQnlcbiAgICAvLyBzZXR0aW5nIG5lZWRsZS5vcmlnaW5hbENvbHVtbiB0byAwLCB3ZSB0aHVzIGZpbmQgdGhlIGxhc3QgbWFwcGluZyBmb3JcbiAgICAvLyB0aGUgZ2l2ZW4gbGluZSwgcHJvdmlkZWQgc3VjaCBhIG1hcHBpbmcgZXhpc3RzLlxuICAgIHZhciBuZWVkbGUgPSB7XG4gICAgICBzb3VyY2U6IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJyksXG4gICAgICBvcmlnaW5hbExpbmU6IGxpbmUsXG4gICAgICBvcmlnaW5hbENvbHVtbjogdXRpbC5nZXRBcmcoYUFyZ3MsICdjb2x1bW4nLCAwKVxuICAgIH07XG5cbiAgICBpZiAodGhpcy5zb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgIG5lZWRsZS5zb3VyY2UgPSB1dGlsLnJlbGF0aXZlKHRoaXMuc291cmNlUm9vdCwgbmVlZGxlLnNvdXJjZSk7XG4gICAgfVxuICAgIGlmICghdGhpcy5fc291cmNlcy5oYXMobmVlZGxlLnNvdXJjZSkpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gICAgbmVlZGxlLnNvdXJjZSA9IHRoaXMuX3NvdXJjZXMuaW5kZXhPZihuZWVkbGUuc291cmNlKTtcblxuICAgIHZhciBtYXBwaW5ncyA9IFtdO1xuXG4gICAgdmFyIGluZGV4ID0gdGhpcy5fZmluZE1hcHBpbmcobmVlZGxlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX29yaWdpbmFsTWFwcGluZ3MsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJvcmlnaW5hbExpbmVcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIm9yaWdpbmFsQ29sdW1uXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXRpbC5jb21wYXJlQnlPcmlnaW5hbFBvc2l0aW9ucyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBiaW5hcnlTZWFyY2guTEVBU1RfVVBQRVJfQk9VTkQpO1xuICAgIGlmIChpbmRleCA+PSAwKSB7XG4gICAgICB2YXIgbWFwcGluZyA9IHRoaXMuX29yaWdpbmFsTWFwcGluZ3NbaW5kZXhdO1xuXG4gICAgICBpZiAoYUFyZ3MuY29sdW1uID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgdmFyIG9yaWdpbmFsTGluZSA9IG1hcHBpbmcub3JpZ2luYWxMaW5lO1xuXG4gICAgICAgIC8vIEl0ZXJhdGUgdW50aWwgZWl0aGVyIHdlIHJ1biBvdXQgb2YgbWFwcGluZ3MsIG9yIHdlIHJ1biBpbnRvXG4gICAgICAgIC8vIGEgbWFwcGluZyBmb3IgYSBkaWZmZXJlbnQgbGluZSB0aGFuIHRoZSBvbmUgd2UgZm91bmQuIFNpbmNlXG4gICAgICAgIC8vIG1hcHBpbmdzIGFyZSBzb3J0ZWQsIHRoaXMgaXMgZ3VhcmFudGVlZCB0byBmaW5kIGFsbCBtYXBwaW5ncyBmb3JcbiAgICAgICAgLy8gdGhlIGxpbmUgd2UgZm91bmQuXG4gICAgICAgIHdoaWxlIChtYXBwaW5nICYmIG1hcHBpbmcub3JpZ2luYWxMaW5lID09PSBvcmlnaW5hbExpbmUpIHtcbiAgICAgICAgICBtYXBwaW5ncy5wdXNoKHtcbiAgICAgICAgICAgIGxpbmU6IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRMaW5lJywgbnVsbCksXG4gICAgICAgICAgICBjb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRDb2x1bW4nLCBudWxsKSxcbiAgICAgICAgICAgIGxhc3RDb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdsYXN0R2VuZXJhdGVkQ29sdW1uJywgbnVsbClcbiAgICAgICAgICB9KTtcblxuICAgICAgICAgIG1hcHBpbmcgPSB0aGlzLl9vcmlnaW5hbE1hcHBpbmdzWysraW5kZXhdO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB2YXIgb3JpZ2luYWxDb2x1bW4gPSBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uO1xuXG4gICAgICAgIC8vIEl0ZXJhdGUgdW50aWwgZWl0aGVyIHdlIHJ1biBvdXQgb2YgbWFwcGluZ3MsIG9yIHdlIHJ1biBpbnRvXG4gICAgICAgIC8vIGEgbWFwcGluZyBmb3IgYSBkaWZmZXJlbnQgbGluZSB0aGFuIHRoZSBvbmUgd2Ugd2VyZSBzZWFyY2hpbmcgZm9yLlxuICAgICAgICAvLyBTaW5jZSBtYXBwaW5ncyBhcmUgc29ydGVkLCB0aGlzIGlzIGd1YXJhbnRlZWQgdG8gZmluZCBhbGwgbWFwcGluZ3MgZm9yXG4gICAgICAgIC8vIHRoZSBsaW5lIHdlIGFyZSBzZWFyY2hpbmcgZm9yLlxuICAgICAgICB3aGlsZSAobWFwcGluZyAmJlxuICAgICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbExpbmUgPT09IGxpbmUgJiZcbiAgICAgICAgICAgICAgIG1hcHBpbmcub3JpZ2luYWxDb2x1bW4gPT0gb3JpZ2luYWxDb2x1bW4pIHtcbiAgICAgICAgICBtYXBwaW5ncy5wdXNoKHtcbiAgICAgICAgICAgIGxpbmU6IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRMaW5lJywgbnVsbCksXG4gICAgICAgICAgICBjb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRDb2x1bW4nLCBudWxsKSxcbiAgICAgICAgICAgIGxhc3RDb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdsYXN0R2VuZXJhdGVkQ29sdW1uJywgbnVsbClcbiAgICAgICAgICB9KTtcblxuICAgICAgICAgIG1hcHBpbmcgPSB0aGlzLl9vcmlnaW5hbE1hcHBpbmdzWysraW5kZXhdO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIG1hcHBpbmdzO1xuICB9O1xuXG5leHBvcnRzLlNvdXJjZU1hcENvbnN1bWVyID0gU291cmNlTWFwQ29uc3VtZXI7XG5cbi8qKlxuICogQSBCYXNpY1NvdXJjZU1hcENvbnN1bWVyIGluc3RhbmNlIHJlcHJlc2VudHMgYSBwYXJzZWQgc291cmNlIG1hcCB3aGljaCB3ZSBjYW5cbiAqIHF1ZXJ5IGZvciBpbmZvcm1hdGlvbiBhYm91dCB0aGUgb3JpZ2luYWwgZmlsZSBwb3NpdGlvbnMgYnkgZ2l2aW5nIGl0IGEgZmlsZVxuICogcG9zaXRpb24gaW4gdGhlIGdlbmVyYXRlZCBzb3VyY2UuXG4gKlxuICogVGhlIG9ubHkgcGFyYW1ldGVyIGlzIHRoZSByYXcgc291cmNlIG1hcCAoZWl0aGVyIGFzIGEgSlNPTiBzdHJpbmcsIG9yXG4gKiBhbHJlYWR5IHBhcnNlZCB0byBhbiBvYmplY3QpLiBBY2NvcmRpbmcgdG8gdGhlIHNwZWMsIHNvdXJjZSBtYXBzIGhhdmUgdGhlXG4gKiBmb2xsb3dpbmcgYXR0cmlidXRlczpcbiAqXG4gKiAgIC0gdmVyc2lvbjogV2hpY2ggdmVyc2lvbiBvZiB0aGUgc291cmNlIG1hcCBzcGVjIHRoaXMgbWFwIGlzIGZvbGxvd2luZy5cbiAqICAgLSBzb3VyY2VzOiBBbiBhcnJheSBvZiBVUkxzIHRvIHRoZSBvcmlnaW5hbCBzb3VyY2UgZmlsZXMuXG4gKiAgIC0gbmFtZXM6IEFuIGFycmF5IG9mIGlkZW50aWZpZXJzIHdoaWNoIGNhbiBiZSByZWZlcnJlbmNlZCBieSBpbmRpdmlkdWFsIG1hcHBpbmdzLlxuICogICAtIHNvdXJjZVJvb3Q6IE9wdGlvbmFsLiBUaGUgVVJMIHJvb3QgZnJvbSB3aGljaCBhbGwgc291cmNlcyBhcmUgcmVsYXRpdmUuXG4gKiAgIC0gc291cmNlc0NvbnRlbnQ6IE9wdGlvbmFsLiBBbiBhcnJheSBvZiBjb250ZW50cyBvZiB0aGUgb3JpZ2luYWwgc291cmNlIGZpbGVzLlxuICogICAtIG1hcHBpbmdzOiBBIHN0cmluZyBvZiBiYXNlNjQgVkxRcyB3aGljaCBjb250YWluIHRoZSBhY3R1YWwgbWFwcGluZ3MuXG4gKiAgIC0gZmlsZTogT3B0aW9uYWwuIFRoZSBnZW5lcmF0ZWQgZmlsZSB0aGlzIHNvdXJjZSBtYXAgaXMgYXNzb2NpYXRlZCB3aXRoLlxuICpcbiAqIEhlcmUgaXMgYW4gZXhhbXBsZSBzb3VyY2UgbWFwLCB0YWtlbiBmcm9tIHRoZSBzb3VyY2UgbWFwIHNwZWNbMF06XG4gKlxuICogICAgIHtcbiAqICAgICAgIHZlcnNpb24gOiAzLFxuICogICAgICAgZmlsZTogXCJvdXQuanNcIixcbiAqICAgICAgIHNvdXJjZVJvb3QgOiBcIlwiLFxuICogICAgICAgc291cmNlczogW1wiZm9vLmpzXCIsIFwiYmFyLmpzXCJdLFxuICogICAgICAgbmFtZXM6IFtcInNyY1wiLCBcIm1hcHNcIiwgXCJhcmVcIiwgXCJmdW5cIl0sXG4gKiAgICAgICBtYXBwaW5nczogXCJBQSxBQjs7QUJDREU7XCJcbiAqICAgICB9XG4gKlxuICogWzBdOiBodHRwczovL2RvY3MuZ29vZ2xlLmNvbS9kb2N1bWVudC9kLzFVMVJHQWVoUXdSeXBVVG92RjFLUmxwaU9GemUwYi1fMmdjNmZBSDBLWTBrL2VkaXQ/cGxpPTEjXG4gKi9cbmZ1bmN0aW9uIEJhc2ljU291cmNlTWFwQ29uc3VtZXIoYVNvdXJjZU1hcCkge1xuICB2YXIgc291cmNlTWFwID0gYVNvdXJjZU1hcDtcbiAgaWYgKHR5cGVvZiBhU291cmNlTWFwID09PSAnc3RyaW5nJykge1xuICAgIHNvdXJjZU1hcCA9IEpTT04ucGFyc2UoYVNvdXJjZU1hcC5yZXBsYWNlKC9eXFwpXFxdXFx9Jy8sICcnKSk7XG4gIH1cblxuICB2YXIgdmVyc2lvbiA9IHV0aWwuZ2V0QXJnKHNvdXJjZU1hcCwgJ3ZlcnNpb24nKTtcbiAgdmFyIHNvdXJjZXMgPSB1dGlsLmdldEFyZyhzb3VyY2VNYXAsICdzb3VyY2VzJyk7XG4gIC8vIFNhc3MgMy4zIGxlYXZlcyBvdXQgdGhlICduYW1lcycgYXJyYXksIHNvIHdlIGRldmlhdGUgZnJvbSB0aGUgc3BlYyAod2hpY2hcbiAgLy8gcmVxdWlyZXMgdGhlIGFycmF5KSB0byBwbGF5IG5pY2UgaGVyZS5cbiAgdmFyIG5hbWVzID0gdXRpbC5nZXRBcmcoc291cmNlTWFwLCAnbmFtZXMnLCBbXSk7XG4gIHZhciBzb3VyY2VSb290ID0gdXRpbC5nZXRBcmcoc291cmNlTWFwLCAnc291cmNlUm9vdCcsIG51bGwpO1xuICB2YXIgc291cmNlc0NvbnRlbnQgPSB1dGlsLmdldEFyZyhzb3VyY2VNYXAsICdzb3VyY2VzQ29udGVudCcsIG51bGwpO1xuICB2YXIgbWFwcGluZ3MgPSB1dGlsLmdldEFyZyhzb3VyY2VNYXAsICdtYXBwaW5ncycpO1xuICB2YXIgZmlsZSA9IHV0aWwuZ2V0QXJnKHNvdXJjZU1hcCwgJ2ZpbGUnLCBudWxsKTtcblxuICAvLyBPbmNlIGFnYWluLCBTYXNzIGRldmlhdGVzIGZyb20gdGhlIHNwZWMgYW5kIHN1cHBsaWVzIHRoZSB2ZXJzaW9uIGFzIGFcbiAgLy8gc3RyaW5nIHJhdGhlciB0aGFuIGEgbnVtYmVyLCBzbyB3ZSB1c2UgbG9vc2UgZXF1YWxpdHkgY2hlY2tpbmcgaGVyZS5cbiAgaWYgKHZlcnNpb24gIT0gdGhpcy5fdmVyc2lvbikge1xuICAgIHRocm93IG5ldyBFcnJvcignVW5zdXBwb3J0ZWQgdmVyc2lvbjogJyArIHZlcnNpb24pO1xuICB9XG5cbiAgc291cmNlcyA9IHNvdXJjZXNcbiAgICAubWFwKFN0cmluZylcbiAgICAvLyBTb21lIHNvdXJjZSBtYXBzIHByb2R1Y2UgcmVsYXRpdmUgc291cmNlIHBhdGhzIGxpa2UgXCIuL2Zvby5qc1wiIGluc3RlYWQgb2ZcbiAgICAvLyBcImZvby5qc1wiLiAgTm9ybWFsaXplIHRoZXNlIGZpcnN0IHNvIHRoYXQgZnV0dXJlIGNvbXBhcmlzb25zIHdpbGwgc3VjY2VlZC5cbiAgICAvLyBTZWUgYnVnemlsLmxhLzEwOTA3NjguXG4gICAgLm1hcCh1dGlsLm5vcm1hbGl6ZSlcbiAgICAvLyBBbHdheXMgZW5zdXJlIHRoYXQgYWJzb2x1dGUgc291cmNlcyBhcmUgaW50ZXJuYWxseSBzdG9yZWQgcmVsYXRpdmUgdG9cbiAgICAvLyB0aGUgc291cmNlIHJvb3QsIGlmIHRoZSBzb3VyY2Ugcm9vdCBpcyBhYnNvbHV0ZS4gTm90IGRvaW5nIHRoaXMgd291bGRcbiAgICAvLyBiZSBwYXJ0aWN1bGFybHkgcHJvYmxlbWF0aWMgd2hlbiB0aGUgc291cmNlIHJvb3QgaXMgYSBwcmVmaXggb2YgdGhlXG4gICAgLy8gc291cmNlICh2YWxpZCwgYnV0IHdoeT8/KS4gU2VlIGdpdGh1YiBpc3N1ZSAjMTk5IGFuZCBidWd6aWwubGEvMTE4ODk4Mi5cbiAgICAubWFwKGZ1bmN0aW9uIChzb3VyY2UpIHtcbiAgICAgIHJldHVybiBzb3VyY2VSb290ICYmIHV0aWwuaXNBYnNvbHV0ZShzb3VyY2VSb290KSAmJiB1dGlsLmlzQWJzb2x1dGUoc291cmNlKVxuICAgICAgICA/IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgc291cmNlKVxuICAgICAgICA6IHNvdXJjZTtcbiAgICB9KTtcblxuICAvLyBQYXNzIGB0cnVlYCBiZWxvdyB0byBhbGxvdyBkdXBsaWNhdGUgbmFtZXMgYW5kIHNvdXJjZXMuIFdoaWxlIHNvdXJjZSBtYXBzXG4gIC8vIGFyZSBpbnRlbmRlZCB0byBiZSBjb21wcmVzc2VkIGFuZCBkZWR1cGxpY2F0ZWQsIHRoZSBUeXBlU2NyaXB0IGNvbXBpbGVyXG4gIC8vIHNvbWV0aW1lcyBnZW5lcmF0ZXMgc291cmNlIG1hcHMgd2l0aCBkdXBsaWNhdGVzIGluIHRoZW0uIFNlZSBHaXRodWIgaXNzdWVcbiAgLy8gIzcyIGFuZCBidWd6aWwubGEvODg5NDkyLlxuICB0aGlzLl9uYW1lcyA9IEFycmF5U2V0LmZyb21BcnJheShuYW1lcy5tYXAoU3RyaW5nKSwgdHJ1ZSk7XG4gIHRoaXMuX3NvdXJjZXMgPSBBcnJheVNldC5mcm9tQXJyYXkoc291cmNlcywgdHJ1ZSk7XG5cbiAgdGhpcy5zb3VyY2VSb290ID0gc291cmNlUm9vdDtcbiAgdGhpcy5zb3VyY2VzQ29udGVudCA9IHNvdXJjZXNDb250ZW50O1xuICB0aGlzLl9tYXBwaW5ncyA9IG1hcHBpbmdzO1xuICB0aGlzLmZpbGUgPSBmaWxlO1xufVxuXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZSA9IE9iamVjdC5jcmVhdGUoU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlKTtcbkJhc2ljU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmNvbnN1bWVyID0gU291cmNlTWFwQ29uc3VtZXI7XG5cbi8qKlxuICogQ3JlYXRlIGEgQmFzaWNTb3VyY2VNYXBDb25zdW1lciBmcm9tIGEgU291cmNlTWFwR2VuZXJhdG9yLlxuICpcbiAqIEBwYXJhbSBTb3VyY2VNYXBHZW5lcmF0b3IgYVNvdXJjZU1hcFxuICogICAgICAgIFRoZSBzb3VyY2UgbWFwIHRoYXQgd2lsbCBiZSBjb25zdW1lZC5cbiAqIEByZXR1cm5zIEJhc2ljU291cmNlTWFwQ29uc3VtZXJcbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5mcm9tU291cmNlTWFwID1cbiAgZnVuY3Rpb24gU291cmNlTWFwQ29uc3VtZXJfZnJvbVNvdXJjZU1hcChhU291cmNlTWFwKSB7XG4gICAgdmFyIHNtYyA9IE9iamVjdC5jcmVhdGUoQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUpO1xuXG4gICAgdmFyIG5hbWVzID0gc21jLl9uYW1lcyA9IEFycmF5U2V0LmZyb21BcnJheShhU291cmNlTWFwLl9uYW1lcy50b0FycmF5KCksIHRydWUpO1xuICAgIHZhciBzb3VyY2VzID0gc21jLl9zb3VyY2VzID0gQXJyYXlTZXQuZnJvbUFycmF5KGFTb3VyY2VNYXAuX3NvdXJjZXMudG9BcnJheSgpLCB0cnVlKTtcbiAgICBzbWMuc291cmNlUm9vdCA9IGFTb3VyY2VNYXAuX3NvdXJjZVJvb3Q7XG4gICAgc21jLnNvdXJjZXNDb250ZW50ID0gYVNvdXJjZU1hcC5fZ2VuZXJhdGVTb3VyY2VzQ29udGVudChzbWMuX3NvdXJjZXMudG9BcnJheSgpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc21jLnNvdXJjZVJvb3QpO1xuICAgIHNtYy5maWxlID0gYVNvdXJjZU1hcC5fZmlsZTtcblxuICAgIC8vIEJlY2F1c2Ugd2UgYXJlIG1vZGlmeWluZyB0aGUgZW50cmllcyAoYnkgY29udmVydGluZyBzdHJpbmcgc291cmNlcyBhbmRcbiAgICAvLyBuYW1lcyB0byBpbmRpY2VzIGludG8gdGhlIHNvdXJjZXMgYW5kIG5hbWVzIEFycmF5U2V0cyksIHdlIGhhdmUgdG8gbWFrZVxuICAgIC8vIGEgY29weSBvZiB0aGUgZW50cnkgb3IgZWxzZSBiYWQgdGhpbmdzIGhhcHBlbi4gU2hhcmVkIG11dGFibGUgc3RhdGVcbiAgICAvLyBzdHJpa2VzIGFnYWluISBTZWUgZ2l0aHViIGlzc3VlICMxOTEuXG5cbiAgICB2YXIgZ2VuZXJhdGVkTWFwcGluZ3MgPSBhU291cmNlTWFwLl9tYXBwaW5ncy50b0FycmF5KCkuc2xpY2UoKTtcbiAgICB2YXIgZGVzdEdlbmVyYXRlZE1hcHBpbmdzID0gc21jLl9fZ2VuZXJhdGVkTWFwcGluZ3MgPSBbXTtcbiAgICB2YXIgZGVzdE9yaWdpbmFsTWFwcGluZ3MgPSBzbWMuX19vcmlnaW5hbE1hcHBpbmdzID0gW107XG5cbiAgICBmb3IgKHZhciBpID0gMCwgbGVuZ3RoID0gZ2VuZXJhdGVkTWFwcGluZ3MubGVuZ3RoOyBpIDwgbGVuZ3RoOyBpKyspIHtcbiAgICAgIHZhciBzcmNNYXBwaW5nID0gZ2VuZXJhdGVkTWFwcGluZ3NbaV07XG4gICAgICB2YXIgZGVzdE1hcHBpbmcgPSBuZXcgTWFwcGluZztcbiAgICAgIGRlc3RNYXBwaW5nLmdlbmVyYXRlZExpbmUgPSBzcmNNYXBwaW5nLmdlbmVyYXRlZExpbmU7XG4gICAgICBkZXN0TWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4gPSBzcmNNYXBwaW5nLmdlbmVyYXRlZENvbHVtbjtcblxuICAgICAgaWYgKHNyY01hcHBpbmcuc291cmNlKSB7XG4gICAgICAgIGRlc3RNYXBwaW5nLnNvdXJjZSA9IHNvdXJjZXMuaW5kZXhPZihzcmNNYXBwaW5nLnNvdXJjZSk7XG4gICAgICAgIGRlc3RNYXBwaW5nLm9yaWdpbmFsTGluZSA9IHNyY01hcHBpbmcub3JpZ2luYWxMaW5lO1xuICAgICAgICBkZXN0TWFwcGluZy5vcmlnaW5hbENvbHVtbiA9IHNyY01hcHBpbmcub3JpZ2luYWxDb2x1bW47XG5cbiAgICAgICAgaWYgKHNyY01hcHBpbmcubmFtZSkge1xuICAgICAgICAgIGRlc3RNYXBwaW5nLm5hbWUgPSBuYW1lcy5pbmRleE9mKHNyY01hcHBpbmcubmFtZSk7XG4gICAgICAgIH1cblxuICAgICAgICBkZXN0T3JpZ2luYWxNYXBwaW5ncy5wdXNoKGRlc3RNYXBwaW5nKTtcbiAgICAgIH1cblxuICAgICAgZGVzdEdlbmVyYXRlZE1hcHBpbmdzLnB1c2goZGVzdE1hcHBpbmcpO1xuICAgIH1cblxuICAgIHF1aWNrU29ydChzbWMuX19vcmlnaW5hbE1hcHBpbmdzLCB1dGlsLmNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zKTtcblxuICAgIHJldHVybiBzbWM7XG4gIH07XG5cbi8qKlxuICogVGhlIHZlcnNpb24gb2YgdGhlIHNvdXJjZSBtYXBwaW5nIHNwZWMgdGhhdCB3ZSBhcmUgY29uc3VtaW5nLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fdmVyc2lvbiA9IDM7XG5cbi8qKlxuICogVGhlIGxpc3Qgb2Ygb3JpZ2luYWwgc291cmNlcy5cbiAqL1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KEJhc2ljU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLCAnc291cmNlcycsIHtcbiAgZ2V0OiBmdW5jdGlvbiAoKSB7XG4gICAgcmV0dXJuIHRoaXMuX3NvdXJjZXMudG9BcnJheSgpLm1hcChmdW5jdGlvbiAocykge1xuICAgICAgcmV0dXJuIHRoaXMuc291cmNlUm9vdCAhPSBudWxsID8gdXRpbC5qb2luKHRoaXMuc291cmNlUm9vdCwgcykgOiBzO1xuICAgIH0sIHRoaXMpO1xuICB9XG59KTtcblxuLyoqXG4gKiBQcm92aWRlIHRoZSBKSVQgd2l0aCBhIG5pY2Ugc2hhcGUgLyBoaWRkZW4gY2xhc3MuXG4gKi9cbmZ1bmN0aW9uIE1hcHBpbmcoKSB7XG4gIHRoaXMuZ2VuZXJhdGVkTGluZSA9IDA7XG4gIHRoaXMuZ2VuZXJhdGVkQ29sdW1uID0gMDtcbiAgdGhpcy5zb3VyY2UgPSBudWxsO1xuICB0aGlzLm9yaWdpbmFsTGluZSA9IG51bGw7XG4gIHRoaXMub3JpZ2luYWxDb2x1bW4gPSBudWxsO1xuICB0aGlzLm5hbWUgPSBudWxsO1xufVxuXG4vKipcbiAqIFBhcnNlIHRoZSBtYXBwaW5ncyBpbiBhIHN0cmluZyBpbiB0byBhIGRhdGEgc3RydWN0dXJlIHdoaWNoIHdlIGNhbiBlYXNpbHlcbiAqIHF1ZXJ5ICh0aGUgb3JkZXJlZCBhcnJheXMgaW4gdGhlIGB0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3NgIGFuZFxuICogYHRoaXMuX19vcmlnaW5hbE1hcHBpbmdzYCBwcm9wZXJ0aWVzKS5cbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3BhcnNlTWFwcGluZ3MgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9wYXJzZU1hcHBpbmdzKGFTdHIsIGFTb3VyY2VSb290KSB7XG4gICAgdmFyIGdlbmVyYXRlZExpbmUgPSAxO1xuICAgIHZhciBwcmV2aW91c0dlbmVyYXRlZENvbHVtbiA9IDA7XG4gICAgdmFyIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gMDtcbiAgICB2YXIgcHJldmlvdXNPcmlnaW5hbENvbHVtbiA9IDA7XG4gICAgdmFyIHByZXZpb3VzU291cmNlID0gMDtcbiAgICB2YXIgcHJldmlvdXNOYW1lID0gMDtcbiAgICB2YXIgbGVuZ3RoID0gYVN0ci5sZW5ndGg7XG4gICAgdmFyIGluZGV4ID0gMDtcbiAgICB2YXIgY2FjaGVkU2VnbWVudHMgPSB7fTtcbiAgICB2YXIgdGVtcCA9IHt9O1xuICAgIHZhciBvcmlnaW5hbE1hcHBpbmdzID0gW107XG4gICAgdmFyIGdlbmVyYXRlZE1hcHBpbmdzID0gW107XG4gICAgdmFyIG1hcHBpbmcsIHN0ciwgc2VnbWVudCwgZW5kLCB2YWx1ZTtcblxuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgaWYgKGFTdHIuY2hhckF0KGluZGV4KSA9PT0gJzsnKSB7XG4gICAgICAgIGdlbmVyYXRlZExpbmUrKztcbiAgICAgICAgaW5kZXgrKztcbiAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSAwO1xuICAgICAgfVxuICAgICAgZWxzZSBpZiAoYVN0ci5jaGFyQXQoaW5kZXgpID09PSAnLCcpIHtcbiAgICAgICAgaW5kZXgrKztcbiAgICAgIH1cbiAgICAgIGVsc2Uge1xuICAgICAgICBtYXBwaW5nID0gbmV3IE1hcHBpbmcoKTtcbiAgICAgICAgbWFwcGluZy5nZW5lcmF0ZWRMaW5lID0gZ2VuZXJhdGVkTGluZTtcblxuICAgICAgICAvLyBCZWNhdXNlIGVhY2ggb2Zmc2V0IGlzIGVuY29kZWQgcmVsYXRpdmUgdG8gdGhlIHByZXZpb3VzIG9uZSxcbiAgICAgICAgLy8gbWFueSBzZWdtZW50cyBvZnRlbiBoYXZlIHRoZSBzYW1lIGVuY29kaW5nLiBXZSBjYW4gZXhwbG9pdCB0aGlzXG4gICAgICAgIC8vIGZhY3QgYnkgY2FjaGluZyB0aGUgcGFyc2VkIHZhcmlhYmxlIGxlbmd0aCBmaWVsZHMgb2YgZWFjaCBzZWdtZW50LFxuICAgICAgICAvLyBhbGxvd2luZyB1cyB0byBhdm9pZCBhIHNlY29uZCBwYXJzZSBpZiB3ZSBlbmNvdW50ZXIgdGhlIHNhbWVcbiAgICAgICAgLy8gc2VnbWVudCBhZ2Fpbi5cbiAgICAgICAgZm9yIChlbmQgPSBpbmRleDsgZW5kIDwgbGVuZ3RoOyBlbmQrKykge1xuICAgICAgICAgIGlmICh0aGlzLl9jaGFySXNNYXBwaW5nU2VwYXJhdG9yKGFTdHIsIGVuZCkpIHtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBzdHIgPSBhU3RyLnNsaWNlKGluZGV4LCBlbmQpO1xuXG4gICAgICAgIHNlZ21lbnQgPSBjYWNoZWRTZWdtZW50c1tzdHJdO1xuICAgICAgICBpZiAoc2VnbWVudCkge1xuICAgICAgICAgIGluZGV4ICs9IHN0ci5sZW5ndGg7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgc2VnbWVudCA9IFtdO1xuICAgICAgICAgIHdoaWxlIChpbmRleCA8IGVuZCkge1xuICAgICAgICAgICAgYmFzZTY0VkxRLmRlY29kZShhU3RyLCBpbmRleCwgdGVtcCk7XG4gICAgICAgICAgICB2YWx1ZSA9IHRlbXAudmFsdWU7XG4gICAgICAgICAgICBpbmRleCA9IHRlbXAucmVzdDtcbiAgICAgICAgICAgIHNlZ21lbnQucHVzaCh2YWx1ZSk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAyKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ZvdW5kIGEgc291cmNlLCBidXQgbm8gbGluZSBhbmQgY29sdW1uJyk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAzKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ZvdW5kIGEgc291cmNlIGFuZCBsaW5lLCBidXQgbm8gY29sdW1uJyk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgY2FjaGVkU2VnbWVudHNbc3RyXSA9IHNlZ21lbnQ7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBHZW5lcmF0ZWQgY29sdW1uLlxuICAgICAgICBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbiA9IHByZXZpb3VzR2VuZXJhdGVkQ29sdW1uICsgc2VnbWVudFswXTtcbiAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbjtcblxuICAgICAgICBpZiAoc2VnbWVudC5sZW5ndGggPiAxKSB7XG4gICAgICAgICAgLy8gT3JpZ2luYWwgc291cmNlLlxuICAgICAgICAgIG1hcHBpbmcuc291cmNlID0gcHJldmlvdXNTb3VyY2UgKyBzZWdtZW50WzFdO1xuICAgICAgICAgIHByZXZpb3VzU291cmNlICs9IHNlZ21lbnRbMV07XG5cbiAgICAgICAgICAvLyBPcmlnaW5hbCBsaW5lLlxuICAgICAgICAgIG1hcHBpbmcub3JpZ2luYWxMaW5lID0gcHJldmlvdXNPcmlnaW5hbExpbmUgKyBzZWdtZW50WzJdO1xuICAgICAgICAgIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gbWFwcGluZy5vcmlnaW5hbExpbmU7XG4gICAgICAgICAgLy8gTGluZXMgYXJlIHN0b3JlZCAwLWJhc2VkXG4gICAgICAgICAgbWFwcGluZy5vcmlnaW5hbExpbmUgKz0gMTtcblxuICAgICAgICAgIC8vIE9yaWdpbmFsIGNvbHVtbi5cbiAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uID0gcHJldmlvdXNPcmlnaW5hbENvbHVtbiArIHNlZ21lbnRbM107XG4gICAgICAgICAgcHJldmlvdXNPcmlnaW5hbENvbHVtbiA9IG1hcHBpbmcub3JpZ2luYWxDb2x1bW47XG5cbiAgICAgICAgICBpZiAoc2VnbWVudC5sZW5ndGggPiA0KSB7XG4gICAgICAgICAgICAvLyBPcmlnaW5hbCBuYW1lLlxuICAgICAgICAgICAgbWFwcGluZy5uYW1lID0gcHJldmlvdXNOYW1lICsgc2VnbWVudFs0XTtcbiAgICAgICAgICAgIHByZXZpb3VzTmFtZSArPSBzZWdtZW50WzRdO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGdlbmVyYXRlZE1hcHBpbmdzLnB1c2gobWFwcGluZyk7XG4gICAgICAgIGlmICh0eXBlb2YgbWFwcGluZy5vcmlnaW5hbExpbmUgPT09ICdudW1iZXInKSB7XG4gICAgICAgICAgb3JpZ2luYWxNYXBwaW5ncy5wdXNoKG1hcHBpbmcpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgcXVpY2tTb3J0KGdlbmVyYXRlZE1hcHBpbmdzLCB1dGlsLmNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0RlZmxhdGVkKTtcbiAgICB0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3MgPSBnZW5lcmF0ZWRNYXBwaW5ncztcblxuICAgIHF1aWNrU29ydChvcmlnaW5hbE1hcHBpbmdzLCB1dGlsLmNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zKTtcbiAgICB0aGlzLl9fb3JpZ2luYWxNYXBwaW5ncyA9IG9yaWdpbmFsTWFwcGluZ3M7XG4gIH07XG5cbi8qKlxuICogRmluZCB0aGUgbWFwcGluZyB0aGF0IGJlc3QgbWF0Y2hlcyB0aGUgaHlwb3RoZXRpY2FsIFwibmVlZGxlXCIgbWFwcGluZyB0aGF0XG4gKiB3ZSBhcmUgc2VhcmNoaW5nIGZvciBpbiB0aGUgZ2l2ZW4gXCJoYXlzdGFja1wiIG9mIG1hcHBpbmdzLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fZmluZE1hcHBpbmcgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9maW5kTWFwcGluZyhhTmVlZGxlLCBhTWFwcGluZ3MsIGFMaW5lTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYUNvbHVtbk5hbWUsIGFDb21wYXJhdG9yLCBhQmlhcykge1xuICAgIC8vIFRvIHJldHVybiB0aGUgcG9zaXRpb24gd2UgYXJlIHNlYXJjaGluZyBmb3IsIHdlIG11c3QgZmlyc3QgZmluZCB0aGVcbiAgICAvLyBtYXBwaW5nIGZvciB0aGUgZ2l2ZW4gcG9zaXRpb24gYW5kIHRoZW4gcmV0dXJuIHRoZSBvcHBvc2l0ZSBwb3NpdGlvbiBpdFxuICAgIC8vIHBvaW50cyB0by4gQmVjYXVzZSB0aGUgbWFwcGluZ3MgYXJlIHNvcnRlZCwgd2UgY2FuIHVzZSBiaW5hcnkgc2VhcmNoIHRvXG4gICAgLy8gZmluZCB0aGUgYmVzdCBtYXBwaW5nLlxuXG4gICAgaWYgKGFOZWVkbGVbYUxpbmVOYW1lXSA8PSAwKSB7XG4gICAgICB0aHJvdyBuZXcgVHlwZUVycm9yKCdMaW5lIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRvIDEsIGdvdCAnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICsgYU5lZWRsZVthTGluZU5hbWVdKTtcbiAgICB9XG4gICAgaWYgKGFOZWVkbGVbYUNvbHVtbk5hbWVdIDwgMCkge1xuICAgICAgdGhyb3cgbmV3IFR5cGVFcnJvcignQ29sdW1uIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRvIDAsIGdvdCAnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICsgYU5lZWRsZVthQ29sdW1uTmFtZV0pO1xuICAgIH1cblxuICAgIHJldHVybiBiaW5hcnlTZWFyY2guc2VhcmNoKGFOZWVkbGUsIGFNYXBwaW5ncywgYUNvbXBhcmF0b3IsIGFCaWFzKTtcbiAgfTtcblxuLyoqXG4gKiBDb21wdXRlIHRoZSBsYXN0IGNvbHVtbiBmb3IgZWFjaCBnZW5lcmF0ZWQgbWFwcGluZy4gVGhlIGxhc3QgY29sdW1uIGlzXG4gKiBpbmNsdXNpdmUuXG4gKi9cbkJhc2ljU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmNvbXB1dGVDb2x1bW5TcGFucyA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX2NvbXB1dGVDb2x1bW5TcGFucygpIHtcbiAgICBmb3IgKHZhciBpbmRleCA9IDA7IGluZGV4IDwgdGhpcy5fZ2VuZXJhdGVkTWFwcGluZ3MubGVuZ3RoOyArK2luZGV4KSB7XG4gICAgICB2YXIgbWFwcGluZyA9IHRoaXMuX2dlbmVyYXRlZE1hcHBpbmdzW2luZGV4XTtcblxuICAgICAgLy8gTWFwcGluZ3MgZG8gbm90IGNvbnRhaW4gYSBmaWVsZCBmb3IgdGhlIGxhc3QgZ2VuZXJhdGVkIGNvbHVtbnQuIFdlXG4gICAgICAvLyBjYW4gY29tZSB1cCB3aXRoIGFuIG9wdGltaXN0aWMgZXN0aW1hdGUsIGhvd2V2ZXIsIGJ5IGFzc3VtaW5nIHRoYXRcbiAgICAgIC8vIG1hcHBpbmdzIGFyZSBjb250aWd1b3VzIChpLmUuIGdpdmVuIHR3byBjb25zZWN1dGl2ZSBtYXBwaW5ncywgdGhlXG4gICAgICAvLyBmaXJzdCBtYXBwaW5nIGVuZHMgd2hlcmUgdGhlIHNlY29uZCBvbmUgc3RhcnRzKS5cbiAgICAgIGlmIChpbmRleCArIDEgPCB0aGlzLl9nZW5lcmF0ZWRNYXBwaW5ncy5sZW5ndGgpIHtcbiAgICAgICAgdmFyIG5leHRNYXBwaW5nID0gdGhpcy5fZ2VuZXJhdGVkTWFwcGluZ3NbaW5kZXggKyAxXTtcblxuICAgICAgICBpZiAobWFwcGluZy5nZW5lcmF0ZWRMaW5lID09PSBuZXh0TWFwcGluZy5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgICAgbWFwcGluZy5sYXN0R2VuZXJhdGVkQ29sdW1uID0gbmV4dE1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uIC0gMTtcbiAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAvLyBUaGUgbGFzdCBtYXBwaW5nIGZvciBlYWNoIGxpbmUgc3BhbnMgdGhlIGVudGlyZSBsaW5lLlxuICAgICAgbWFwcGluZy5sYXN0R2VuZXJhdGVkQ29sdW1uID0gSW5maW5pdHk7XG4gICAgfVxuICB9O1xuXG4vKipcbiAqIFJldHVybnMgdGhlIG9yaWdpbmFsIHNvdXJjZSwgbGluZSwgYW5kIGNvbHVtbiBpbmZvcm1hdGlvbiBmb3IgdGhlIGdlbmVyYXRlZFxuICogc291cmNlJ3MgbGluZSBhbmQgY29sdW1uIHBvc2l0aW9ucyBwcm92aWRlZC4gVGhlIG9ubHkgYXJndW1lbnQgaXMgYW4gb2JqZWN0XG4gKiB3aXRoIHRoZSBmb2xsb3dpbmcgcHJvcGVydGllczpcbiAqXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLlxuICogICAtIGNvbHVtbjogVGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIGdlbmVyYXRlZCBzb3VyY2UuXG4gKiAgIC0gYmlhczogRWl0aGVyICdTb3VyY2VNYXBDb25zdW1lci5HUkVBVEVTVF9MT1dFUl9CT1VORCcgb3JcbiAqICAgICAnU291cmNlTWFwQ29uc3VtZXIuTEVBU1RfVVBQRVJfQk9VTkQnLiBTcGVjaWZpZXMgd2hldGhlciB0byByZXR1cm4gdGhlXG4gKiAgICAgY2xvc2VzdCBlbGVtZW50IHRoYXQgaXMgc21hbGxlciB0aGFuIG9yIGdyZWF0ZXIgdGhhbiB0aGUgb25lIHdlIGFyZVxuICogICAgIHNlYXJjaGluZyBmb3IsIHJlc3BlY3RpdmVseSwgaWYgdGhlIGV4YWN0IGVsZW1lbnQgY2Fubm90IGJlIGZvdW5kLlxuICogICAgIERlZmF1bHRzIHRvICdTb3VyY2VNYXBDb25zdW1lci5HUkVBVEVTVF9MT1dFUl9CT1VORCcuXG4gKlxuICogYW5kIGFuIG9iamVjdCBpcyByZXR1cm5lZCB3aXRoIHRoZSBmb2xsb3dpbmcgcHJvcGVydGllczpcbiAqXG4gKiAgIC0gc291cmNlOiBUaGUgb3JpZ2luYWwgc291cmNlIGZpbGUsIG9yIG51bGwuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UsIG9yIG51bGwuXG4gKiAgIC0gY29sdW1uOiBUaGUgY29sdW1uIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLCBvciBudWxsLlxuICogICAtIG5hbWU6IFRoZSBvcmlnaW5hbCBpZGVudGlmaWVyLCBvciBudWxsLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5vcmlnaW5hbFBvc2l0aW9uRm9yID1cbiAgZnVuY3Rpb24gU291cmNlTWFwQ29uc3VtZXJfb3JpZ2luYWxQb3NpdGlvbkZvcihhQXJncykge1xuICAgIHZhciBuZWVkbGUgPSB7XG4gICAgICBnZW5lcmF0ZWRMaW5lOiB1dGlsLmdldEFyZyhhQXJncywgJ2xpbmUnKSxcbiAgICAgIGdlbmVyYXRlZENvbHVtbjogdXRpbC5nZXRBcmcoYUFyZ3MsICdjb2x1bW4nKVxuICAgIH07XG5cbiAgICB2YXIgaW5kZXggPSB0aGlzLl9maW5kTWFwcGluZyhcbiAgICAgIG5lZWRsZSxcbiAgICAgIHRoaXMuX2dlbmVyYXRlZE1hcHBpbmdzLFxuICAgICAgXCJnZW5lcmF0ZWRMaW5lXCIsXG4gICAgICBcImdlbmVyYXRlZENvbHVtblwiLFxuICAgICAgdXRpbC5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNEZWZsYXRlZCxcbiAgICAgIHV0aWwuZ2V0QXJnKGFBcmdzLCAnYmlhcycsIFNvdXJjZU1hcENvbnN1bWVyLkdSRUFURVNUX0xPV0VSX0JPVU5EKVxuICAgICk7XG5cbiAgICBpZiAoaW5kZXggPj0gMCkge1xuICAgICAgdmFyIG1hcHBpbmcgPSB0aGlzLl9nZW5lcmF0ZWRNYXBwaW5nc1tpbmRleF07XG5cbiAgICAgIGlmIChtYXBwaW5nLmdlbmVyYXRlZExpbmUgPT09IG5lZWRsZS5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgIHZhciBzb3VyY2UgPSB1dGlsLmdldEFyZyhtYXBwaW5nLCAnc291cmNlJywgbnVsbCk7XG4gICAgICAgIGlmIChzb3VyY2UgIT09IG51bGwpIHtcbiAgICAgICAgICBzb3VyY2UgPSB0aGlzLl9zb3VyY2VzLmF0KHNvdXJjZSk7XG4gICAgICAgICAgaWYgKHRoaXMuc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICAgICAgICBzb3VyY2UgPSB1dGlsLmpvaW4odGhpcy5zb3VyY2VSb290LCBzb3VyY2UpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB2YXIgbmFtZSA9IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICduYW1lJywgbnVsbCk7XG4gICAgICAgIGlmIChuYW1lICE9PSBudWxsKSB7XG4gICAgICAgICAgbmFtZSA9IHRoaXMuX25hbWVzLmF0KG5hbWUpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgc291cmNlOiBzb3VyY2UsXG4gICAgICAgICAgbGluZTogdXRpbC5nZXRBcmcobWFwcGluZywgJ29yaWdpbmFsTGluZScsIG51bGwpLFxuICAgICAgICAgIGNvbHVtbjogdXRpbC5nZXRBcmcobWFwcGluZywgJ29yaWdpbmFsQ29sdW1uJywgbnVsbCksXG4gICAgICAgICAgbmFtZTogbmFtZVxuICAgICAgICB9O1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAgICBzb3VyY2U6IG51bGwsXG4gICAgICBsaW5lOiBudWxsLFxuICAgICAgY29sdW1uOiBudWxsLFxuICAgICAgbmFtZTogbnVsbFxuICAgIH07XG4gIH07XG5cbi8qKlxuICogUmV0dXJuIHRydWUgaWYgd2UgaGF2ZSB0aGUgc291cmNlIGNvbnRlbnQgZm9yIGV2ZXJ5IHNvdXJjZSBpbiB0aGUgc291cmNlXG4gKiBtYXAsIGZhbHNlIG90aGVyd2lzZS5cbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuaGFzQ29udGVudHNPZkFsbFNvdXJjZXMgPVxuICBmdW5jdGlvbiBCYXNpY1NvdXJjZU1hcENvbnN1bWVyX2hhc0NvbnRlbnRzT2ZBbGxTb3VyY2VzKCkge1xuICAgIGlmICghdGhpcy5zb3VyY2VzQ29udGVudCkge1xuICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5zb3VyY2VzQ29udGVudC5sZW5ndGggPj0gdGhpcy5fc291cmNlcy5zaXplKCkgJiZcbiAgICAgICF0aGlzLnNvdXJjZXNDb250ZW50LnNvbWUoZnVuY3Rpb24gKHNjKSB7IHJldHVybiBzYyA9PSBudWxsOyB9KTtcbiAgfTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBvcmlnaW5hbCBzb3VyY2UgY29udGVudC4gVGhlIG9ubHkgYXJndW1lbnQgaXMgdGhlIHVybCBvZiB0aGVcbiAqIG9yaWdpbmFsIHNvdXJjZSBmaWxlLiBSZXR1cm5zIG51bGwgaWYgbm8gb3JpZ2luYWwgc291cmNlIGNvbnRlbnQgaXNcbiAqIGF2YWlsYWJsZS5cbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuc291cmNlQ29udGVudEZvciA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX3NvdXJjZUNvbnRlbnRGb3IoYVNvdXJjZSwgbnVsbE9uTWlzc2luZykge1xuICAgIGlmICghdGhpcy5zb3VyY2VzQ29udGVudCkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICBhU291cmNlID0gdXRpbC5yZWxhdGl2ZSh0aGlzLnNvdXJjZVJvb3QsIGFTb3VyY2UpO1xuICAgIH1cblxuICAgIGlmICh0aGlzLl9zb3VyY2VzLmhhcyhhU291cmNlKSkge1xuICAgICAgcmV0dXJuIHRoaXMuc291cmNlc0NvbnRlbnRbdGhpcy5fc291cmNlcy5pbmRleE9mKGFTb3VyY2UpXTtcbiAgICB9XG5cbiAgICB2YXIgdXJsO1xuICAgIGlmICh0aGlzLnNvdXJjZVJvb3QgIT0gbnVsbFxuICAgICAgICAmJiAodXJsID0gdXRpbC51cmxQYXJzZSh0aGlzLnNvdXJjZVJvb3QpKSkge1xuICAgICAgLy8gWFhYOiBmaWxlOi8vIFVSSXMgYW5kIGFic29sdXRlIHBhdGhzIGxlYWQgdG8gdW5leHBlY3RlZCBiZWhhdmlvciBmb3JcbiAgICAgIC8vIG1hbnkgdXNlcnMuIFdlIGNhbiBoZWxwIHRoZW0gb3V0IHdoZW4gdGhleSBleHBlY3QgZmlsZTovLyBVUklzIHRvXG4gICAgICAvLyBiZWhhdmUgbGlrZSBpdCB3b3VsZCBpZiB0aGV5IHdlcmUgcnVubmluZyBhIGxvY2FsIEhUVFAgc2VydmVyLiBTZWVcbiAgICAgIC8vIGh0dHBzOi8vYnVnemlsbGEubW96aWxsYS5vcmcvc2hvd19idWcuY2dpP2lkPTg4NTU5Ny5cbiAgICAgIHZhciBmaWxlVXJpQWJzUGF0aCA9IGFTb3VyY2UucmVwbGFjZSgvXmZpbGU6XFwvXFwvLywgXCJcIik7XG4gICAgICBpZiAodXJsLnNjaGVtZSA9PSBcImZpbGVcIlxuICAgICAgICAgICYmIHRoaXMuX3NvdXJjZXMuaGFzKGZpbGVVcmlBYnNQYXRoKSkge1xuICAgICAgICByZXR1cm4gdGhpcy5zb3VyY2VzQ29udGVudFt0aGlzLl9zb3VyY2VzLmluZGV4T2YoZmlsZVVyaUFic1BhdGgpXVxuICAgICAgfVxuXG4gICAgICBpZiAoKCF1cmwucGF0aCB8fCB1cmwucGF0aCA9PSBcIi9cIilcbiAgICAgICAgICAmJiB0aGlzLl9zb3VyY2VzLmhhcyhcIi9cIiArIGFTb3VyY2UpKSB7XG4gICAgICAgIHJldHVybiB0aGlzLnNvdXJjZXNDb250ZW50W3RoaXMuX3NvdXJjZXMuaW5kZXhPZihcIi9cIiArIGFTb3VyY2UpXTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICAvLyBUaGlzIGZ1bmN0aW9uIGlzIHVzZWQgcmVjdXJzaXZlbHkgZnJvbVxuICAgIC8vIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuc291cmNlQ29udGVudEZvci4gSW4gdGhhdCBjYXNlLCB3ZVxuICAgIC8vIGRvbid0IHdhbnQgdG8gdGhyb3cgaWYgd2UgY2FuJ3QgZmluZCB0aGUgc291cmNlIC0gd2UganVzdCB3YW50IHRvXG4gICAgLy8gcmV0dXJuIG51bGwsIHNvIHdlIHByb3ZpZGUgYSBmbGFnIHRvIGV4aXQgZ3JhY2VmdWxseS5cbiAgICBpZiAobnVsbE9uTWlzc2luZykge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdcIicgKyBhU291cmNlICsgJ1wiIGlzIG5vdCBpbiB0aGUgU291cmNlTWFwLicpO1xuICAgIH1cbiAgfTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBnZW5lcmF0ZWQgbGluZSBhbmQgY29sdW1uIGluZm9ybWF0aW9uIGZvciB0aGUgb3JpZ2luYWwgc291cmNlLFxuICogbGluZSwgYW5kIGNvbHVtbiBwb3NpdGlvbnMgcHJvdmlkZWQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIGFuIG9iamVjdCB3aXRoXG4gKiB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIGZpbGVuYW1lIG9mIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gY29sdW1uOiBUaGUgY29sdW1uIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLlxuICogICAtIGJpYXM6IEVpdGhlciAnU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQnIG9yXG4gKiAgICAgJ1NvdXJjZU1hcENvbnN1bWVyLkxFQVNUX1VQUEVSX0JPVU5EJy4gU3BlY2lmaWVzIHdoZXRoZXIgdG8gcmV0dXJuIHRoZVxuICogICAgIGNsb3Nlc3QgZWxlbWVudCB0aGF0IGlzIHNtYWxsZXIgdGhhbiBvciBncmVhdGVyIHRoYW4gdGhlIG9uZSB3ZSBhcmVcbiAqICAgICBzZWFyY2hpbmcgZm9yLCByZXNwZWN0aXZlbHksIGlmIHRoZSBleGFjdCBlbGVtZW50IGNhbm5vdCBiZSBmb3VuZC5cbiAqICAgICBEZWZhdWx0cyB0byAnU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQnLlxuICpcbiAqIGFuZCBhbiBvYmplY3QgaXMgcmV0dXJuZWQgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIHNvdXJjZSwgb3IgbnVsbC5cbiAqICAgLSBjb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLCBvciBudWxsLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5nZW5lcmF0ZWRQb3NpdGlvbkZvciA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX2dlbmVyYXRlZFBvc2l0aW9uRm9yKGFBcmdzKSB7XG4gICAgdmFyIHNvdXJjZSA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJyk7XG4gICAgaWYgKHRoaXMuc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICBzb3VyY2UgPSB1dGlsLnJlbGF0aXZlKHRoaXMuc291cmNlUm9vdCwgc291cmNlKTtcbiAgICB9XG4gICAgaWYgKCF0aGlzLl9zb3VyY2VzLmhhcyhzb3VyY2UpKSB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICBsaW5lOiBudWxsLFxuICAgICAgICBjb2x1bW46IG51bGwsXG4gICAgICAgIGxhc3RDb2x1bW46IG51bGxcbiAgICAgIH07XG4gICAgfVxuICAgIHNvdXJjZSA9IHRoaXMuX3NvdXJjZXMuaW5kZXhPZihzb3VyY2UpO1xuXG4gICAgdmFyIG5lZWRsZSA9IHtcbiAgICAgIHNvdXJjZTogc291cmNlLFxuICAgICAgb3JpZ2luYWxMaW5lOiB1dGlsLmdldEFyZyhhQXJncywgJ2xpbmUnKSxcbiAgICAgIG9yaWdpbmFsQ29sdW1uOiB1dGlsLmdldEFyZyhhQXJncywgJ2NvbHVtbicpXG4gICAgfTtcblxuICAgIHZhciBpbmRleCA9IHRoaXMuX2ZpbmRNYXBwaW5nKFxuICAgICAgbmVlZGxlLFxuICAgICAgdGhpcy5fb3JpZ2luYWxNYXBwaW5ncyxcbiAgICAgIFwib3JpZ2luYWxMaW5lXCIsXG4gICAgICBcIm9yaWdpbmFsQ29sdW1uXCIsXG4gICAgICB1dGlsLmNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zLFxuICAgICAgdXRpbC5nZXRBcmcoYUFyZ3MsICdiaWFzJywgU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQpXG4gICAgKTtcblxuICAgIGlmIChpbmRleCA+PSAwKSB7XG4gICAgICB2YXIgbWFwcGluZyA9IHRoaXMuX29yaWdpbmFsTWFwcGluZ3NbaW5kZXhdO1xuXG4gICAgICBpZiAobWFwcGluZy5zb3VyY2UgPT09IG5lZWRsZS5zb3VyY2UpIHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICBsaW5lOiB1dGlsLmdldEFyZyhtYXBwaW5nLCAnZ2VuZXJhdGVkTGluZScsIG51bGwpLFxuICAgICAgICAgIGNvbHVtbjogdXRpbC5nZXRBcmcobWFwcGluZywgJ2dlbmVyYXRlZENvbHVtbicsIG51bGwpLFxuICAgICAgICAgIGxhc3RDb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdsYXN0R2VuZXJhdGVkQ29sdW1uJywgbnVsbClcbiAgICAgICAgfTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgbGluZTogbnVsbCxcbiAgICAgIGNvbHVtbjogbnVsbCxcbiAgICAgIGxhc3RDb2x1bW46IG51bGxcbiAgICB9O1xuICB9O1xuXG5leHBvcnRzLkJhc2ljU291cmNlTWFwQ29uc3VtZXIgPSBCYXNpY1NvdXJjZU1hcENvbnN1bWVyO1xuXG4vKipcbiAqIEFuIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lciBpbnN0YW5jZSByZXByZXNlbnRzIGEgcGFyc2VkIHNvdXJjZSBtYXAgd2hpY2hcbiAqIHdlIGNhbiBxdWVyeSBmb3IgaW5mb3JtYXRpb24uIEl0IGRpZmZlcnMgZnJvbSBCYXNpY1NvdXJjZU1hcENvbnN1bWVyIGluXG4gKiB0aGF0IGl0IHRha2VzIFwiaW5kZXhlZFwiIHNvdXJjZSBtYXBzIChpLmUuIG9uZXMgd2l0aCBhIFwic2VjdGlvbnNcIiBmaWVsZCkgYXNcbiAqIGlucHV0LlxuICpcbiAqIFRoZSBvbmx5IHBhcmFtZXRlciBpcyBhIHJhdyBzb3VyY2UgbWFwIChlaXRoZXIgYXMgYSBKU09OIHN0cmluZywgb3IgYWxyZWFkeVxuICogcGFyc2VkIHRvIGFuIG9iamVjdCkuIEFjY29yZGluZyB0byB0aGUgc3BlYyBmb3IgaW5kZXhlZCBzb3VyY2UgbWFwcywgdGhleVxuICogaGF2ZSB0aGUgZm9sbG93aW5nIGF0dHJpYnV0ZXM6XG4gKlxuICogICAtIHZlcnNpb246IFdoaWNoIHZlcnNpb24gb2YgdGhlIHNvdXJjZSBtYXAgc3BlYyB0aGlzIG1hcCBpcyBmb2xsb3dpbmcuXG4gKiAgIC0gZmlsZTogT3B0aW9uYWwuIFRoZSBnZW5lcmF0ZWQgZmlsZSB0aGlzIHNvdXJjZSBtYXAgaXMgYXNzb2NpYXRlZCB3aXRoLlxuICogICAtIHNlY3Rpb25zOiBBIGxpc3Qgb2Ygc2VjdGlvbiBkZWZpbml0aW9ucy5cbiAqXG4gKiBFYWNoIHZhbHVlIHVuZGVyIHRoZSBcInNlY3Rpb25zXCIgZmllbGQgaGFzIHR3byBmaWVsZHM6XG4gKiAgIC0gb2Zmc2V0OiBUaGUgb2Zmc2V0IGludG8gdGhlIG9yaWdpbmFsIHNwZWNpZmllZCBhdCB3aGljaCB0aGlzIHNlY3Rpb25cbiAqICAgICAgIGJlZ2lucyB0byBhcHBseSwgZGVmaW5lZCBhcyBhbiBvYmplY3Qgd2l0aCBhIFwibGluZVwiIGFuZCBcImNvbHVtblwiXG4gKiAgICAgICBmaWVsZC5cbiAqICAgLSBtYXA6IEEgc291cmNlIG1hcCBkZWZpbml0aW9uLiBUaGlzIHNvdXJjZSBtYXAgY291bGQgYWxzbyBiZSBpbmRleGVkLFxuICogICAgICAgYnV0IGRvZXNuJ3QgaGF2ZSB0byBiZS5cbiAqXG4gKiBJbnN0ZWFkIG9mIHRoZSBcIm1hcFwiIGZpZWxkLCBpdCdzIGFsc28gcG9zc2libGUgdG8gaGF2ZSBhIFwidXJsXCIgZmllbGRcbiAqIHNwZWNpZnlpbmcgYSBVUkwgdG8gcmV0cmlldmUgYSBzb3VyY2UgbWFwIGZyb20sIGJ1dCB0aGF0J3MgY3VycmVudGx5XG4gKiB1bnN1cHBvcnRlZC5cbiAqXG4gKiBIZXJlJ3MgYW4gZXhhbXBsZSBzb3VyY2UgbWFwLCB0YWtlbiBmcm9tIHRoZSBzb3VyY2UgbWFwIHNwZWNbMF0sIGJ1dFxuICogbW9kaWZpZWQgdG8gb21pdCBhIHNlY3Rpb24gd2hpY2ggdXNlcyB0aGUgXCJ1cmxcIiBmaWVsZC5cbiAqXG4gKiAge1xuICogICAgdmVyc2lvbiA6IDMsXG4gKiAgICBmaWxlOiBcImFwcC5qc1wiLFxuICogICAgc2VjdGlvbnM6IFt7XG4gKiAgICAgIG9mZnNldDoge2xpbmU6MTAwLCBjb2x1bW46MTB9LFxuICogICAgICBtYXA6IHtcbiAqICAgICAgICB2ZXJzaW9uIDogMyxcbiAqICAgICAgICBmaWxlOiBcInNlY3Rpb24uanNcIixcbiAqICAgICAgICBzb3VyY2VzOiBbXCJmb28uanNcIiwgXCJiYXIuanNcIl0sXG4gKiAgICAgICAgbmFtZXM6IFtcInNyY1wiLCBcIm1hcHNcIiwgXCJhcmVcIiwgXCJmdW5cIl0sXG4gKiAgICAgICAgbWFwcGluZ3M6IFwiQUFBQSxFOztBQkNERTtcIlxuICogICAgICB9XG4gKiAgICB9XSxcbiAqICB9XG4gKlxuICogWzBdOiBodHRwczovL2RvY3MuZ29vZ2xlLmNvbS9kb2N1bWVudC9kLzFVMVJHQWVoUXdSeXBVVG92RjFLUmxwaU9GemUwYi1fMmdjNmZBSDBLWTBrL2VkaXQjaGVhZGluZz1oLjUzNWVzM3hlcHJndFxuICovXG5mdW5jdGlvbiBJbmRleGVkU291cmNlTWFwQ29uc3VtZXIoYVNvdXJjZU1hcCkge1xuICB2YXIgc291cmNlTWFwID0gYVNvdXJjZU1hcDtcbiAgaWYgKHR5cGVvZiBhU291cmNlTWFwID09PSAnc3RyaW5nJykge1xuICAgIHNvdXJjZU1hcCA9IEpTT04ucGFyc2UoYVNvdXJjZU1hcC5yZXBsYWNlKC9eXFwpXFxdXFx9Jy8sICcnKSk7XG4gIH1cblxuICB2YXIgdmVyc2lvbiA9IHV0aWwuZ2V0QXJnKHNvdXJjZU1hcCwgJ3ZlcnNpb24nKTtcbiAgdmFyIHNlY3Rpb25zID0gdXRpbC5nZXRBcmcoc291cmNlTWFwLCAnc2VjdGlvbnMnKTtcblxuICBpZiAodmVyc2lvbiAhPSB0aGlzLl92ZXJzaW9uKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKCdVbnN1cHBvcnRlZCB2ZXJzaW9uOiAnICsgdmVyc2lvbik7XG4gIH1cblxuICB0aGlzLl9zb3VyY2VzID0gbmV3IEFycmF5U2V0KCk7XG4gIHRoaXMuX25hbWVzID0gbmV3IEFycmF5U2V0KCk7XG5cbiAgdmFyIGxhc3RPZmZzZXQgPSB7XG4gICAgbGluZTogLTEsXG4gICAgY29sdW1uOiAwXG4gIH07XG4gIHRoaXMuX3NlY3Rpb25zID0gc2VjdGlvbnMubWFwKGZ1bmN0aW9uIChzKSB7XG4gICAgaWYgKHMudXJsKSB7XG4gICAgICAvLyBUaGUgdXJsIGZpZWxkIHdpbGwgcmVxdWlyZSBzdXBwb3J0IGZvciBhc3luY2hyb25pY2l0eS5cbiAgICAgIC8vIFNlZSBodHRwczovL2dpdGh1Yi5jb20vbW96aWxsYS9zb3VyY2UtbWFwL2lzc3Vlcy8xNlxuICAgICAgdGhyb3cgbmV3IEVycm9yKCdTdXBwb3J0IGZvciB1cmwgZmllbGQgaW4gc2VjdGlvbnMgbm90IGltcGxlbWVudGVkLicpO1xuICAgIH1cbiAgICB2YXIgb2Zmc2V0ID0gdXRpbC5nZXRBcmcocywgJ29mZnNldCcpO1xuICAgIHZhciBvZmZzZXRMaW5lID0gdXRpbC5nZXRBcmcob2Zmc2V0LCAnbGluZScpO1xuICAgIHZhciBvZmZzZXRDb2x1bW4gPSB1dGlsLmdldEFyZyhvZmZzZXQsICdjb2x1bW4nKTtcblxuICAgIGlmIChvZmZzZXRMaW5lIDwgbGFzdE9mZnNldC5saW5lIHx8XG4gICAgICAgIChvZmZzZXRMaW5lID09PSBsYXN0T2Zmc2V0LmxpbmUgJiYgb2Zmc2V0Q29sdW1uIDwgbGFzdE9mZnNldC5jb2x1bW4pKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ1NlY3Rpb24gb2Zmc2V0cyBtdXN0IGJlIG9yZGVyZWQgYW5kIG5vbi1vdmVybGFwcGluZy4nKTtcbiAgICB9XG4gICAgbGFzdE9mZnNldCA9IG9mZnNldDtcblxuICAgIHJldHVybiB7XG4gICAgICBnZW5lcmF0ZWRPZmZzZXQ6IHtcbiAgICAgICAgLy8gVGhlIG9mZnNldCBmaWVsZHMgYXJlIDAtYmFzZWQsIGJ1dCB3ZSB1c2UgMS1iYXNlZCBpbmRpY2VzIHdoZW5cbiAgICAgICAgLy8gZW5jb2RpbmcvZGVjb2RpbmcgZnJvbSBWTFEuXG4gICAgICAgIGdlbmVyYXRlZExpbmU6IG9mZnNldExpbmUgKyAxLFxuICAgICAgICBnZW5lcmF0ZWRDb2x1bW46IG9mZnNldENvbHVtbiArIDFcbiAgICAgIH0sXG4gICAgICBjb25zdW1lcjogbmV3IFNvdXJjZU1hcENvbnN1bWVyKHV0aWwuZ2V0QXJnKHMsICdtYXAnKSlcbiAgICB9XG4gIH0pO1xufVxuXG5JbmRleGVkU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZShTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUpO1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5jb25zdHJ1Y3RvciA9IFNvdXJjZU1hcENvbnN1bWVyO1xuXG4vKipcbiAqIFRoZSB2ZXJzaW9uIG9mIHRoZSBzb3VyY2UgbWFwcGluZyBzcGVjIHRoYXQgd2UgYXJlIGNvbnN1bWluZy5cbiAqL1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fdmVyc2lvbiA9IDM7XG5cbi8qKlxuICogVGhlIGxpc3Qgb2Ygb3JpZ2luYWwgc291cmNlcy5cbiAqL1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUsICdzb3VyY2VzJywge1xuICBnZXQ6IGZ1bmN0aW9uICgpIHtcbiAgICB2YXIgc291cmNlcyA9IFtdO1xuICAgIGZvciAodmFyIGkgPSAwOyBpIDwgdGhpcy5fc2VjdGlvbnMubGVuZ3RoOyBpKyspIHtcbiAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgdGhpcy5fc2VjdGlvbnNbaV0uY29uc3VtZXIuc291cmNlcy5sZW5ndGg7IGorKykge1xuICAgICAgICBzb3VyY2VzLnB1c2godGhpcy5fc2VjdGlvbnNbaV0uY29uc3VtZXIuc291cmNlc1tqXSk7XG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiBzb3VyY2VzO1xuICB9XG59KTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBvcmlnaW5hbCBzb3VyY2UsIGxpbmUsIGFuZCBjb2x1bW4gaW5mb3JtYXRpb24gZm9yIHRoZSBnZW5lcmF0ZWRcbiAqIHNvdXJjZSdzIGxpbmUgYW5kIGNvbHVtbiBwb3NpdGlvbnMgcHJvdmlkZWQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIGFuIG9iamVjdFxuICogd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIHNvdXJjZS5cbiAqICAgLSBjb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLlxuICpcbiAqIGFuZCBhbiBvYmplY3QgaXMgcmV0dXJuZWQgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIG9yaWdpbmFsIHNvdXJjZSBmaWxlLCBvciBudWxsLlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLCBvciBudWxsLlxuICogICAtIGNvbHVtbjogVGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIG9yaWdpbmFsIHNvdXJjZSwgb3IgbnVsbC5cbiAqICAgLSBuYW1lOiBUaGUgb3JpZ2luYWwgaWRlbnRpZmllciwgb3IgbnVsbC5cbiAqL1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5vcmlnaW5hbFBvc2l0aW9uRm9yID1cbiAgZnVuY3Rpb24gSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyX29yaWdpbmFsUG9zaXRpb25Gb3IoYUFyZ3MpIHtcbiAgICB2YXIgbmVlZGxlID0ge1xuICAgICAgZ2VuZXJhdGVkTGluZTogdXRpbC5nZXRBcmcoYUFyZ3MsICdsaW5lJyksXG4gICAgICBnZW5lcmF0ZWRDb2x1bW46IHV0aWwuZ2V0QXJnKGFBcmdzLCAnY29sdW1uJylcbiAgICB9O1xuXG4gICAgLy8gRmluZCB0aGUgc2VjdGlvbiBjb250YWluaW5nIHRoZSBnZW5lcmF0ZWQgcG9zaXRpb24gd2UncmUgdHJ5aW5nIHRvIG1hcFxuICAgIC8vIHRvIGFuIG9yaWdpbmFsIHBvc2l0aW9uLlxuICAgIHZhciBzZWN0aW9uSW5kZXggPSBiaW5hcnlTZWFyY2guc2VhcmNoKG5lZWRsZSwgdGhpcy5fc2VjdGlvbnMsXG4gICAgICBmdW5jdGlvbihuZWVkbGUsIHNlY3Rpb24pIHtcbiAgICAgICAgdmFyIGNtcCA9IG5lZWRsZS5nZW5lcmF0ZWRMaW5lIC0gc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZTtcbiAgICAgICAgaWYgKGNtcCkge1xuICAgICAgICAgIHJldHVybiBjbXA7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gKG5lZWRsZS5nZW5lcmF0ZWRDb2x1bW4gLVxuICAgICAgICAgICAgICAgIHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZENvbHVtbik7XG4gICAgICB9KTtcbiAgICB2YXIgc2VjdGlvbiA9IHRoaXMuX3NlY3Rpb25zW3NlY3Rpb25JbmRleF07XG5cbiAgICBpZiAoIXNlY3Rpb24pIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIHNvdXJjZTogbnVsbCxcbiAgICAgICAgbGluZTogbnVsbCxcbiAgICAgICAgY29sdW1uOiBudWxsLFxuICAgICAgICBuYW1lOiBudWxsXG4gICAgICB9O1xuICAgIH1cblxuICAgIHJldHVybiBzZWN0aW9uLmNvbnN1bWVyLm9yaWdpbmFsUG9zaXRpb25Gb3Ioe1xuICAgICAgbGluZTogbmVlZGxlLmdlbmVyYXRlZExpbmUgLVxuICAgICAgICAoc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZSAtIDEpLFxuICAgICAgY29sdW1uOiBuZWVkbGUuZ2VuZXJhdGVkQ29sdW1uIC1cbiAgICAgICAgKHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZExpbmUgPT09IG5lZWRsZS5nZW5lcmF0ZWRMaW5lXG4gICAgICAgICA/IHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZENvbHVtbiAtIDFcbiAgICAgICAgIDogMCksXG4gICAgICBiaWFzOiBhQXJncy5iaWFzXG4gICAgfSk7XG4gIH07XG5cbi8qKlxuICogUmV0dXJuIHRydWUgaWYgd2UgaGF2ZSB0aGUgc291cmNlIGNvbnRlbnQgZm9yIGV2ZXJ5IHNvdXJjZSBpbiB0aGUgc291cmNlXG4gKiBtYXAsIGZhbHNlIG90aGVyd2lzZS5cbiAqL1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5oYXNDb250ZW50c09mQWxsU291cmNlcyA9XG4gIGZ1bmN0aW9uIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lcl9oYXNDb250ZW50c09mQWxsU291cmNlcygpIHtcbiAgICByZXR1cm4gdGhpcy5fc2VjdGlvbnMuZXZlcnkoZnVuY3Rpb24gKHMpIHtcbiAgICAgIHJldHVybiBzLmNvbnN1bWVyLmhhc0NvbnRlbnRzT2ZBbGxTb3VyY2VzKCk7XG4gICAgfSk7XG4gIH07XG5cbi8qKlxuICogUmV0dXJucyB0aGUgb3JpZ2luYWwgc291cmNlIGNvbnRlbnQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIHRoZSB1cmwgb2YgdGhlXG4gKiBvcmlnaW5hbCBzb3VyY2UgZmlsZS4gUmV0dXJucyBudWxsIGlmIG5vIG9yaWdpbmFsIHNvdXJjZSBjb250ZW50IGlzXG4gKiBhdmFpbGFibGUuXG4gKi9cbkluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuc291cmNlQ29udGVudEZvciA9XG4gIGZ1bmN0aW9uIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lcl9zb3VyY2VDb250ZW50Rm9yKGFTb3VyY2UsIG51bGxPbk1pc3NpbmcpIHtcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IHRoaXMuX3NlY3Rpb25zLmxlbmd0aDsgaSsrKSB7XG4gICAgICB2YXIgc2VjdGlvbiA9IHRoaXMuX3NlY3Rpb25zW2ldO1xuXG4gICAgICB2YXIgY29udGVudCA9IHNlY3Rpb24uY29uc3VtZXIuc291cmNlQ29udGVudEZvcihhU291cmNlLCB0cnVlKTtcbiAgICAgIGlmIChjb250ZW50KSB7XG4gICAgICAgIHJldHVybiBjb250ZW50O1xuICAgICAgfVxuICAgIH1cbiAgICBpZiAobnVsbE9uTWlzc2luZykge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdcIicgKyBhU291cmNlICsgJ1wiIGlzIG5vdCBpbiB0aGUgU291cmNlTWFwLicpO1xuICAgIH1cbiAgfTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBnZW5lcmF0ZWQgbGluZSBhbmQgY29sdW1uIGluZm9ybWF0aW9uIGZvciB0aGUgb3JpZ2luYWwgc291cmNlLFxuICogbGluZSwgYW5kIGNvbHVtbiBwb3NpdGlvbnMgcHJvdmlkZWQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIGFuIG9iamVjdCB3aXRoXG4gKiB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIGZpbGVuYW1lIG9mIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gY29sdW1uOiBUaGUgY29sdW1uIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLlxuICpcbiAqIGFuZCBhbiBvYmplY3QgaXMgcmV0dXJuZWQgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIHNvdXJjZSwgb3IgbnVsbC5cbiAqICAgLSBjb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLCBvciBudWxsLlxuICovXG5JbmRleGVkU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmdlbmVyYXRlZFBvc2l0aW9uRm9yID1cbiAgZnVuY3Rpb24gSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyX2dlbmVyYXRlZFBvc2l0aW9uRm9yKGFBcmdzKSB7XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCB0aGlzLl9zZWN0aW9ucy5sZW5ndGg7IGkrKykge1xuICAgICAgdmFyIHNlY3Rpb24gPSB0aGlzLl9zZWN0aW9uc1tpXTtcblxuICAgICAgLy8gT25seSBjb25zaWRlciB0aGlzIHNlY3Rpb24gaWYgdGhlIHJlcXVlc3RlZCBzb3VyY2UgaXMgaW4gdGhlIGxpc3Qgb2ZcbiAgICAgIC8vIHNvdXJjZXMgb2YgdGhlIGNvbnN1bWVyLlxuICAgICAgaWYgKHNlY3Rpb24uY29uc3VtZXIuc291cmNlcy5pbmRleE9mKHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJykpID09PSAtMSkge1xuICAgICAgICBjb250aW51ZTtcbiAgICAgIH1cbiAgICAgIHZhciBnZW5lcmF0ZWRQb3NpdGlvbiA9IHNlY3Rpb24uY29uc3VtZXIuZ2VuZXJhdGVkUG9zaXRpb25Gb3IoYUFyZ3MpO1xuICAgICAgaWYgKGdlbmVyYXRlZFBvc2l0aW9uKSB7XG4gICAgICAgIHZhciByZXQgPSB7XG4gICAgICAgICAgbGluZTogZ2VuZXJhdGVkUG9zaXRpb24ubGluZSArXG4gICAgICAgICAgICAoc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZSAtIDEpLFxuICAgICAgICAgIGNvbHVtbjogZ2VuZXJhdGVkUG9zaXRpb24uY29sdW1uICtcbiAgICAgICAgICAgIChzZWN0aW9uLmdlbmVyYXRlZE9mZnNldC5nZW5lcmF0ZWRMaW5lID09PSBnZW5lcmF0ZWRQb3NpdGlvbi5saW5lXG4gICAgICAgICAgICAgPyBzZWN0aW9uLmdlbmVyYXRlZE9mZnNldC5nZW5lcmF0ZWRDb2x1bW4gLSAxXG4gICAgICAgICAgICAgOiAwKVxuICAgICAgICB9O1xuICAgICAgICByZXR1cm4gcmV0O1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAgICBsaW5lOiBudWxsLFxuICAgICAgY29sdW1uOiBudWxsXG4gICAgfTtcbiAgfTtcblxuLyoqXG4gKiBQYXJzZSB0aGUgbWFwcGluZ3MgaW4gYSBzdHJpbmcgaW4gdG8gYSBkYXRhIHN0cnVjdHVyZSB3aGljaCB3ZSBjYW4gZWFzaWx5XG4gKiBxdWVyeSAodGhlIG9yZGVyZWQgYXJyYXlzIGluIHRoZSBgdGhpcy5fX2dlbmVyYXRlZE1hcHBpbmdzYCBhbmRcbiAqIGB0aGlzLl9fb3JpZ2luYWxNYXBwaW5nc2AgcHJvcGVydGllcykuXG4gKi9cbkluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3BhcnNlTWFwcGluZ3MgPVxuICBmdW5jdGlvbiBJbmRleGVkU291cmNlTWFwQ29uc3VtZXJfcGFyc2VNYXBwaW5ncyhhU3RyLCBhU291cmNlUm9vdCkge1xuICAgIHRoaXMuX19nZW5lcmF0ZWRNYXBwaW5ncyA9IFtdO1xuICAgIHRoaXMuX19vcmlnaW5hbE1hcHBpbmdzID0gW107XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCB0aGlzLl9zZWN0aW9ucy5sZW5ndGg7IGkrKykge1xuICAgICAgdmFyIHNlY3Rpb24gPSB0aGlzLl9zZWN0aW9uc1tpXTtcbiAgICAgIHZhciBzZWN0aW9uTWFwcGluZ3MgPSBzZWN0aW9uLmNvbnN1bWVyLl9nZW5lcmF0ZWRNYXBwaW5ncztcbiAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgc2VjdGlvbk1hcHBpbmdzLmxlbmd0aDsgaisrKSB7XG4gICAgICAgIHZhciBtYXBwaW5nID0gc2VjdGlvbk1hcHBpbmdzW2pdO1xuXG4gICAgICAgIHZhciBzb3VyY2UgPSBzZWN0aW9uLmNvbnN1bWVyLl9zb3VyY2VzLmF0KG1hcHBpbmcuc291cmNlKTtcbiAgICAgICAgaWYgKHNlY3Rpb24uY29uc3VtZXIuc291cmNlUm9vdCAhPT0gbnVsbCkge1xuICAgICAgICAgIHNvdXJjZSA9IHV0aWwuam9pbihzZWN0aW9uLmNvbnN1bWVyLnNvdXJjZVJvb3QsIHNvdXJjZSk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5fc291cmNlcy5hZGQoc291cmNlKTtcbiAgICAgICAgc291cmNlID0gdGhpcy5fc291cmNlcy5pbmRleE9mKHNvdXJjZSk7XG5cbiAgICAgICAgdmFyIG5hbWUgPSBzZWN0aW9uLmNvbnN1bWVyLl9uYW1lcy5hdChtYXBwaW5nLm5hbWUpO1xuICAgICAgICB0aGlzLl9uYW1lcy5hZGQobmFtZSk7XG4gICAgICAgIG5hbWUgPSB0aGlzLl9uYW1lcy5pbmRleE9mKG5hbWUpO1xuXG4gICAgICAgIC8vIFRoZSBtYXBwaW5ncyBjb21pbmcgZnJvbSB0aGUgY29uc3VtZXIgZm9yIHRoZSBzZWN0aW9uIGhhdmVcbiAgICAgICAgLy8gZ2VuZXJhdGVkIHBvc2l0aW9ucyByZWxhdGl2ZSB0byB0aGUgc3RhcnQgb2YgdGhlIHNlY3Rpb24sIHNvIHdlXG4gICAgICAgIC8vIG5lZWQgdG8gb2Zmc2V0IHRoZW0gdG8gYmUgcmVsYXRpdmUgdG8gdGhlIHN0YXJ0IG9mIHRoZSBjb25jYXRlbmF0ZWRcbiAgICAgICAgLy8gZ2VuZXJhdGVkIGZpbGUuXG4gICAgICAgIHZhciBhZGp1c3RlZE1hcHBpbmcgPSB7XG4gICAgICAgICAgc291cmNlOiBzb3VyY2UsXG4gICAgICAgICAgZ2VuZXJhdGVkTGluZTogbWFwcGluZy5nZW5lcmF0ZWRMaW5lICtcbiAgICAgICAgICAgIChzZWN0aW9uLmdlbmVyYXRlZE9mZnNldC5nZW5lcmF0ZWRMaW5lIC0gMSksXG4gICAgICAgICAgZ2VuZXJhdGVkQ29sdW1uOiBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbiArXG4gICAgICAgICAgICAoc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZSA9PT0gbWFwcGluZy5nZW5lcmF0ZWRMaW5lXG4gICAgICAgICAgICA/IHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZENvbHVtbiAtIDFcbiAgICAgICAgICAgIDogMCksXG4gICAgICAgICAgb3JpZ2luYWxMaW5lOiBtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICBvcmlnaW5hbENvbHVtbjogbWFwcGluZy5vcmlnaW5hbENvbHVtbixcbiAgICAgICAgICBuYW1lOiBuYW1lXG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fX2dlbmVyYXRlZE1hcHBpbmdzLnB1c2goYWRqdXN0ZWRNYXBwaW5nKTtcbiAgICAgICAgaWYgKHR5cGVvZiBhZGp1c3RlZE1hcHBpbmcub3JpZ2luYWxMaW5lID09PSAnbnVtYmVyJykge1xuICAgICAgICAgIHRoaXMuX19vcmlnaW5hbE1hcHBpbmdzLnB1c2goYWRqdXN0ZWRNYXBwaW5nKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgIHF1aWNrU29ydCh0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3MsIHV0aWwuY29tcGFyZUJ5R2VuZXJhdGVkUG9zaXRpb25zRGVmbGF0ZWQpO1xuICAgIHF1aWNrU29ydCh0aGlzLl9fb3JpZ2luYWxNYXBwaW5ncywgdXRpbC5jb21wYXJlQnlPcmlnaW5hbFBvc2l0aW9ucyk7XG4gIH07XG5cbmV4cG9ydHMuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyID0gSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvc291cmNlLW1hcC1jb25zdW1lci5qc1xuLy8gbW9kdWxlIGlkID0gN1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbmV4cG9ydHMuR1JFQVRFU1RfTE9XRVJfQk9VTkQgPSAxO1xuZXhwb3J0cy5MRUFTVF9VUFBFUl9CT1VORCA9IDI7XG5cbi8qKlxuICogUmVjdXJzaXZlIGltcGxlbWVudGF0aW9uIG9mIGJpbmFyeSBzZWFyY2guXG4gKlxuICogQHBhcmFtIGFMb3cgSW5kaWNlcyBoZXJlIGFuZCBsb3dlciBkbyBub3QgY29udGFpbiB0aGUgbmVlZGxlLlxuICogQHBhcmFtIGFIaWdoIEluZGljZXMgaGVyZSBhbmQgaGlnaGVyIGRvIG5vdCBjb250YWluIHRoZSBuZWVkbGUuXG4gKiBAcGFyYW0gYU5lZWRsZSBUaGUgZWxlbWVudCBiZWluZyBzZWFyY2hlZCBmb3IuXG4gKiBAcGFyYW0gYUhheXN0YWNrIFRoZSBub24tZW1wdHkgYXJyYXkgYmVpbmcgc2VhcmNoZWQuXG4gKiBAcGFyYW0gYUNvbXBhcmUgRnVuY3Rpb24gd2hpY2ggdGFrZXMgdHdvIGVsZW1lbnRzIGFuZCByZXR1cm5zIC0xLCAwLCBvciAxLlxuICogQHBhcmFtIGFCaWFzIEVpdGhlciAnYmluYXJ5U2VhcmNoLkdSRUFURVNUX0xPV0VSX0JPVU5EJyBvclxuICogICAgICdiaW5hcnlTZWFyY2guTEVBU1RfVVBQRVJfQk9VTkQnLiBTcGVjaWZpZXMgd2hldGhlciB0byByZXR1cm4gdGhlXG4gKiAgICAgY2xvc2VzdCBlbGVtZW50IHRoYXQgaXMgc21hbGxlciB0aGFuIG9yIGdyZWF0ZXIgdGhhbiB0aGUgb25lIHdlIGFyZVxuICogICAgIHNlYXJjaGluZyBmb3IsIHJlc3BlY3RpdmVseSwgaWYgdGhlIGV4YWN0IGVsZW1lbnQgY2Fubm90IGJlIGZvdW5kLlxuICovXG5mdW5jdGlvbiByZWN1cnNpdmVTZWFyY2goYUxvdywgYUhpZ2gsIGFOZWVkbGUsIGFIYXlzdGFjaywgYUNvbXBhcmUsIGFCaWFzKSB7XG4gIC8vIFRoaXMgZnVuY3Rpb24gdGVybWluYXRlcyB3aGVuIG9uZSBvZiB0aGUgZm9sbG93aW5nIGlzIHRydWU6XG4gIC8vXG4gIC8vICAgMS4gV2UgZmluZCB0aGUgZXhhY3QgZWxlbWVudCB3ZSBhcmUgbG9va2luZyBmb3IuXG4gIC8vXG4gIC8vICAgMi4gV2UgZGlkIG5vdCBmaW5kIHRoZSBleGFjdCBlbGVtZW50LCBidXQgd2UgY2FuIHJldHVybiB0aGUgaW5kZXggb2ZcbiAgLy8gICAgICB0aGUgbmV4dC1jbG9zZXN0IGVsZW1lbnQuXG4gIC8vXG4gIC8vICAgMy4gV2UgZGlkIG5vdCBmaW5kIHRoZSBleGFjdCBlbGVtZW50LCBhbmQgdGhlcmUgaXMgbm8gbmV4dC1jbG9zZXN0XG4gIC8vICAgICAgZWxlbWVudCB0aGFuIHRoZSBvbmUgd2UgYXJlIHNlYXJjaGluZyBmb3IsIHNvIHdlIHJldHVybiAtMS5cbiAgdmFyIG1pZCA9IE1hdGguZmxvb3IoKGFIaWdoIC0gYUxvdykgLyAyKSArIGFMb3c7XG4gIHZhciBjbXAgPSBhQ29tcGFyZShhTmVlZGxlLCBhSGF5c3RhY2tbbWlkXSwgdHJ1ZSk7XG4gIGlmIChjbXAgPT09IDApIHtcbiAgICAvLyBGb3VuZCB0aGUgZWxlbWVudCB3ZSBhcmUgbG9va2luZyBmb3IuXG4gICAgcmV0dXJuIG1pZDtcbiAgfVxuICBlbHNlIGlmIChjbXAgPiAwKSB7XG4gICAgLy8gT3VyIG5lZWRsZSBpcyBncmVhdGVyIHRoYW4gYUhheXN0YWNrW21pZF0uXG4gICAgaWYgKGFIaWdoIC0gbWlkID4gMSkge1xuICAgICAgLy8gVGhlIGVsZW1lbnQgaXMgaW4gdGhlIHVwcGVyIGhhbGYuXG4gICAgICByZXR1cm4gcmVjdXJzaXZlU2VhcmNoKG1pZCwgYUhpZ2gsIGFOZWVkbGUsIGFIYXlzdGFjaywgYUNvbXBhcmUsIGFCaWFzKTtcbiAgICB9XG5cbiAgICAvLyBUaGUgZXhhY3QgbmVlZGxlIGVsZW1lbnQgd2FzIG5vdCBmb3VuZCBpbiB0aGlzIGhheXN0YWNrLiBEZXRlcm1pbmUgaWZcbiAgICAvLyB3ZSBhcmUgaW4gdGVybWluYXRpb24gY2FzZSAoMykgb3IgKDIpIGFuZCByZXR1cm4gdGhlIGFwcHJvcHJpYXRlIHRoaW5nLlxuICAgIGlmIChhQmlhcyA9PSBleHBvcnRzLkxFQVNUX1VQUEVSX0JPVU5EKSB7XG4gICAgICByZXR1cm4gYUhpZ2ggPCBhSGF5c3RhY2subGVuZ3RoID8gYUhpZ2ggOiAtMTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIG1pZDtcbiAgICB9XG4gIH1cbiAgZWxzZSB7XG4gICAgLy8gT3VyIG5lZWRsZSBpcyBsZXNzIHRoYW4gYUhheXN0YWNrW21pZF0uXG4gICAgaWYgKG1pZCAtIGFMb3cgPiAxKSB7XG4gICAgICAvLyBUaGUgZWxlbWVudCBpcyBpbiB0aGUgbG93ZXIgaGFsZi5cbiAgICAgIHJldHVybiByZWN1cnNpdmVTZWFyY2goYUxvdywgbWlkLCBhTmVlZGxlLCBhSGF5c3RhY2ssIGFDb21wYXJlLCBhQmlhcyk7XG4gICAgfVxuXG4gICAgLy8gd2UgYXJlIGluIHRlcm1pbmF0aW9uIGNhc2UgKDMpIG9yICgyKSBhbmQgcmV0dXJuIHRoZSBhcHByb3ByaWF0ZSB0aGluZy5cbiAgICBpZiAoYUJpYXMgPT0gZXhwb3J0cy5MRUFTVF9VUFBFUl9CT1VORCkge1xuICAgICAgcmV0dXJuIG1pZDtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIGFMb3cgPCAwID8gLTEgOiBhTG93O1xuICAgIH1cbiAgfVxufVxuXG4vKipcbiAqIFRoaXMgaXMgYW4gaW1wbGVtZW50YXRpb24gb2YgYmluYXJ5IHNlYXJjaCB3aGljaCB3aWxsIGFsd2F5cyB0cnkgYW5kIHJldHVyblxuICogdGhlIGluZGV4IG9mIHRoZSBjbG9zZXN0IGVsZW1lbnQgaWYgdGhlcmUgaXMgbm8gZXhhY3QgaGl0LiBUaGlzIGlzIGJlY2F1c2VcbiAqIG1hcHBpbmdzIGJldHdlZW4gb3JpZ2luYWwgYW5kIGdlbmVyYXRlZCBsaW5lL2NvbCBwYWlycyBhcmUgc2luZ2xlIHBvaW50cyxcbiAqIGFuZCB0aGVyZSBpcyBhbiBpbXBsaWNpdCByZWdpb24gYmV0d2VlbiBlYWNoIG9mIHRoZW0sIHNvIGEgbWlzcyBqdXN0IG1lYW5zXG4gKiB0aGF0IHlvdSBhcmVuJ3Qgb24gdGhlIHZlcnkgc3RhcnQgb2YgYSByZWdpb24uXG4gKlxuICogQHBhcmFtIGFOZWVkbGUgVGhlIGVsZW1lbnQgeW91IGFyZSBsb29raW5nIGZvci5cbiAqIEBwYXJhbSBhSGF5c3RhY2sgVGhlIGFycmF5IHRoYXQgaXMgYmVpbmcgc2VhcmNoZWQuXG4gKiBAcGFyYW0gYUNvbXBhcmUgQSBmdW5jdGlvbiB3aGljaCB0YWtlcyB0aGUgbmVlZGxlIGFuZCBhbiBlbGVtZW50IGluIHRoZVxuICogICAgIGFycmF5IGFuZCByZXR1cm5zIC0xLCAwLCBvciAxIGRlcGVuZGluZyBvbiB3aGV0aGVyIHRoZSBuZWVkbGUgaXMgbGVzc1xuICogICAgIHRoYW4sIGVxdWFsIHRvLCBvciBncmVhdGVyIHRoYW4gdGhlIGVsZW1lbnQsIHJlc3BlY3RpdmVseS5cbiAqIEBwYXJhbSBhQmlhcyBFaXRoZXIgJ2JpbmFyeVNlYXJjaC5HUkVBVEVTVF9MT1dFUl9CT1VORCcgb3JcbiAqICAgICAnYmluYXJ5U2VhcmNoLkxFQVNUX1VQUEVSX0JPVU5EJy4gU3BlY2lmaWVzIHdoZXRoZXIgdG8gcmV0dXJuIHRoZVxuICogICAgIGNsb3Nlc3QgZWxlbWVudCB0aGF0IGlzIHNtYWxsZXIgdGhhbiBvciBncmVhdGVyIHRoYW4gdGhlIG9uZSB3ZSBhcmVcbiAqICAgICBzZWFyY2hpbmcgZm9yLCByZXNwZWN0aXZlbHksIGlmIHRoZSBleGFjdCBlbGVtZW50IGNhbm5vdCBiZSBmb3VuZC5cbiAqICAgICBEZWZhdWx0cyB0byAnYmluYXJ5U2VhcmNoLkdSRUFURVNUX0xPV0VSX0JPVU5EJy5cbiAqL1xuZXhwb3J0cy5zZWFyY2ggPSBmdW5jdGlvbiBzZWFyY2goYU5lZWRsZSwgYUhheXN0YWNrLCBhQ29tcGFyZSwgYUJpYXMpIHtcbiAgaWYgKGFIYXlzdGFjay5sZW5ndGggPT09IDApIHtcbiAgICByZXR1cm4gLTE7XG4gIH1cblxuICB2YXIgaW5kZXggPSByZWN1cnNpdmVTZWFyY2goLTEsIGFIYXlzdGFjay5sZW5ndGgsIGFOZWVkbGUsIGFIYXlzdGFjayxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFDb21wYXJlLCBhQmlhcyB8fCBleHBvcnRzLkdSRUFURVNUX0xPV0VSX0JPVU5EKTtcbiAgaWYgKGluZGV4IDwgMCkge1xuICAgIHJldHVybiAtMTtcbiAgfVxuXG4gIC8vIFdlIGhhdmUgZm91bmQgZWl0aGVyIHRoZSBleGFjdCBlbGVtZW50LCBvciB0aGUgbmV4dC1jbG9zZXN0IGVsZW1lbnQgdGhhblxuICAvLyB0aGUgb25lIHdlIGFyZSBzZWFyY2hpbmcgZm9yLiBIb3dldmVyLCB0aGVyZSBtYXkgYmUgbW9yZSB0aGFuIG9uZSBzdWNoXG4gIC8vIGVsZW1lbnQuIE1ha2Ugc3VyZSB3ZSBhbHdheXMgcmV0dXJuIHRoZSBzbWFsbGVzdCBvZiB0aGVzZS5cbiAgd2hpbGUgKGluZGV4IC0gMSA+PSAwKSB7XG4gICAgaWYgKGFDb21wYXJlKGFIYXlzdGFja1tpbmRleF0sIGFIYXlzdGFja1tpbmRleCAtIDFdLCB0cnVlKSAhPT0gMCkge1xuICAgICAgYnJlYWs7XG4gICAgfVxuICAgIC0taW5kZXg7XG4gIH1cblxuICByZXR1cm4gaW5kZXg7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvYmluYXJ5LXNlYXJjaC5qc1xuLy8gbW9kdWxlIGlkID0gOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbi8vIEl0IHR1cm5zIG91dCB0aGF0IHNvbWUgKG1vc3Q/KSBKYXZhU2NyaXB0IGVuZ2luZXMgZG9uJ3Qgc2VsZi1ob3N0XG4vLyBgQXJyYXkucHJvdG90eXBlLnNvcnRgLiBUaGlzIG1ha2VzIHNlbnNlIGJlY2F1c2UgQysrIHdpbGwgbGlrZWx5IHJlbWFpblxuLy8gZmFzdGVyIHRoYW4gSlMgd2hlbiBkb2luZyByYXcgQ1BVLWludGVuc2l2ZSBzb3J0aW5nLiBIb3dldmVyLCB3aGVuIHVzaW5nIGFcbi8vIGN1c3RvbSBjb21wYXJhdG9yIGZ1bmN0aW9uLCBjYWxsaW5nIGJhY2sgYW5kIGZvcnRoIGJldHdlZW4gdGhlIFZNJ3MgQysrIGFuZFxuLy8gSklUJ2QgSlMgaXMgcmF0aGVyIHNsb3cgKmFuZCogbG9zZXMgSklUIHR5cGUgaW5mb3JtYXRpb24sIHJlc3VsdGluZyBpblxuLy8gd29yc2UgZ2VuZXJhdGVkIGNvZGUgZm9yIHRoZSBjb21wYXJhdG9yIGZ1bmN0aW9uIHRoYW4gd291bGQgYmUgb3B0aW1hbC4gSW5cbi8vIGZhY3QsIHdoZW4gc29ydGluZyB3aXRoIGEgY29tcGFyYXRvciwgdGhlc2UgY29zdHMgb3V0d2VpZ2ggdGhlIGJlbmVmaXRzIG9mXG4vLyBzb3J0aW5nIGluIEMrKy4gQnkgdXNpbmcgb3VyIG93biBKUy1pbXBsZW1lbnRlZCBRdWljayBTb3J0IChiZWxvdyksIHdlIGdldFxuLy8gYSB+MzUwMG1zIG1lYW4gc3BlZWQtdXAgaW4gYGJlbmNoL2JlbmNoLmh0bWxgLlxuXG4vKipcbiAqIFN3YXAgdGhlIGVsZW1lbnRzIGluZGV4ZWQgYnkgYHhgIGFuZCBgeWAgaW4gdGhlIGFycmF5IGBhcnlgLlxuICpcbiAqIEBwYXJhbSB7QXJyYXl9IGFyeVxuICogICAgICAgIFRoZSBhcnJheS5cbiAqIEBwYXJhbSB7TnVtYmVyfSB4XG4gKiAgICAgICAgVGhlIGluZGV4IG9mIHRoZSBmaXJzdCBpdGVtLlxuICogQHBhcmFtIHtOdW1iZXJ9IHlcbiAqICAgICAgICBUaGUgaW5kZXggb2YgdGhlIHNlY29uZCBpdGVtLlxuICovXG5mdW5jdGlvbiBzd2FwKGFyeSwgeCwgeSkge1xuICB2YXIgdGVtcCA9IGFyeVt4XTtcbiAgYXJ5W3hdID0gYXJ5W3ldO1xuICBhcnlbeV0gPSB0ZW1wO1xufVxuXG4vKipcbiAqIFJldHVybnMgYSByYW5kb20gaW50ZWdlciB3aXRoaW4gdGhlIHJhbmdlIGBsb3cgLi4gaGlnaGAgaW5jbHVzaXZlLlxuICpcbiAqIEBwYXJhbSB7TnVtYmVyfSBsb3dcbiAqICAgICAgICBUaGUgbG93ZXIgYm91bmQgb24gdGhlIHJhbmdlLlxuICogQHBhcmFtIHtOdW1iZXJ9IGhpZ2hcbiAqICAgICAgICBUaGUgdXBwZXIgYm91bmQgb24gdGhlIHJhbmdlLlxuICovXG5mdW5jdGlvbiByYW5kb21JbnRJblJhbmdlKGxvdywgaGlnaCkge1xuICByZXR1cm4gTWF0aC5yb3VuZChsb3cgKyAoTWF0aC5yYW5kb20oKSAqIChoaWdoIC0gbG93KSkpO1xufVxuXG4vKipcbiAqIFRoZSBRdWljayBTb3J0IGFsZ29yaXRobS5cbiAqXG4gKiBAcGFyYW0ge0FycmF5fSBhcnlcbiAqICAgICAgICBBbiBhcnJheSB0byBzb3J0LlxuICogQHBhcmFtIHtmdW5jdGlvbn0gY29tcGFyYXRvclxuICogICAgICAgIEZ1bmN0aW9uIHRvIHVzZSB0byBjb21wYXJlIHR3byBpdGVtcy5cbiAqIEBwYXJhbSB7TnVtYmVyfSBwXG4gKiAgICAgICAgU3RhcnQgaW5kZXggb2YgdGhlIGFycmF5XG4gKiBAcGFyYW0ge051bWJlcn0gclxuICogICAgICAgIEVuZCBpbmRleCBvZiB0aGUgYXJyYXlcbiAqL1xuZnVuY3Rpb24gZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCBwLCByKSB7XG4gIC8vIElmIG91ciBsb3dlciBib3VuZCBpcyBsZXNzIHRoYW4gb3VyIHVwcGVyIGJvdW5kLCB3ZSAoMSkgcGFydGl0aW9uIHRoZVxuICAvLyBhcnJheSBpbnRvIHR3byBwaWVjZXMgYW5kICgyKSByZWN1cnNlIG9uIGVhY2ggaGFsZi4gSWYgaXQgaXMgbm90LCB0aGlzIGlzXG4gIC8vIHRoZSBlbXB0eSBhcnJheSBhbmQgb3VyIGJhc2UgY2FzZS5cblxuICBpZiAocCA8IHIpIHtcbiAgICAvLyAoMSkgUGFydGl0aW9uaW5nLlxuICAgIC8vXG4gICAgLy8gVGhlIHBhcnRpdGlvbmluZyBjaG9vc2VzIGEgcGl2b3QgYmV0d2VlbiBgcGAgYW5kIGByYCBhbmQgbW92ZXMgYWxsXG4gICAgLy8gZWxlbWVudHMgdGhhdCBhcmUgbGVzcyB0aGFuIG9yIGVxdWFsIHRvIHRoZSBwaXZvdCB0byB0aGUgYmVmb3JlIGl0LCBhbmRcbiAgICAvLyBhbGwgdGhlIGVsZW1lbnRzIHRoYXQgYXJlIGdyZWF0ZXIgdGhhbiBpdCBhZnRlciBpdC4gVGhlIGVmZmVjdCBpcyB0aGF0XG4gICAgLy8gb25jZSBwYXJ0aXRpb24gaXMgZG9uZSwgdGhlIHBpdm90IGlzIGluIHRoZSBleGFjdCBwbGFjZSBpdCB3aWxsIGJlIHdoZW5cbiAgICAvLyB0aGUgYXJyYXkgaXMgcHV0IGluIHNvcnRlZCBvcmRlciwgYW5kIGl0IHdpbGwgbm90IG5lZWQgdG8gYmUgbW92ZWRcbiAgICAvLyBhZ2Fpbi4gVGhpcyBydW5zIGluIE8obikgdGltZS5cblxuICAgIC8vIEFsd2F5cyBjaG9vc2UgYSByYW5kb20gcGl2b3Qgc28gdGhhdCBhbiBpbnB1dCBhcnJheSB3aGljaCBpcyByZXZlcnNlXG4gICAgLy8gc29ydGVkIGRvZXMgbm90IGNhdXNlIE8obl4yKSBydW5uaW5nIHRpbWUuXG4gICAgdmFyIHBpdm90SW5kZXggPSByYW5kb21JbnRJblJhbmdlKHAsIHIpO1xuICAgIHZhciBpID0gcCAtIDE7XG5cbiAgICBzd2FwKGFyeSwgcGl2b3RJbmRleCwgcik7XG4gICAgdmFyIHBpdm90ID0gYXJ5W3JdO1xuXG4gICAgLy8gSW1tZWRpYXRlbHkgYWZ0ZXIgYGpgIGlzIGluY3JlbWVudGVkIGluIHRoaXMgbG9vcCwgdGhlIGZvbGxvd2luZyBob2xkXG4gICAgLy8gdHJ1ZTpcbiAgICAvL1xuICAgIC8vICAgKiBFdmVyeSBlbGVtZW50IGluIGBhcnlbcCAuLiBpXWAgaXMgbGVzcyB0aGFuIG9yIGVxdWFsIHRvIHRoZSBwaXZvdC5cbiAgICAvL1xuICAgIC8vICAgKiBFdmVyeSBlbGVtZW50IGluIGBhcnlbaSsxIC4uIGotMV1gIGlzIGdyZWF0ZXIgdGhhbiB0aGUgcGl2b3QuXG4gICAgZm9yICh2YXIgaiA9IHA7IGogPCByOyBqKyspIHtcbiAgICAgIGlmIChjb21wYXJhdG9yKGFyeVtqXSwgcGl2b3QpIDw9IDApIHtcbiAgICAgICAgaSArPSAxO1xuICAgICAgICBzd2FwKGFyeSwgaSwgaik7XG4gICAgICB9XG4gICAgfVxuXG4gICAgc3dhcChhcnksIGkgKyAxLCBqKTtcbiAgICB2YXIgcSA9IGkgKyAxO1xuXG4gICAgLy8gKDIpIFJlY3Vyc2Ugb24gZWFjaCBoYWxmLlxuXG4gICAgZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCBwLCBxIC0gMSk7XG4gICAgZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCBxICsgMSwgcik7XG4gIH1cbn1cblxuLyoqXG4gKiBTb3J0IHRoZSBnaXZlbiBhcnJheSBpbi1wbGFjZSB3aXRoIHRoZSBnaXZlbiBjb21wYXJhdG9yIGZ1bmN0aW9uLlxuICpcbiAqIEBwYXJhbSB7QXJyYXl9IGFyeVxuICogICAgICAgIEFuIGFycmF5IHRvIHNvcnQuXG4gKiBAcGFyYW0ge2Z1bmN0aW9ufSBjb21wYXJhdG9yXG4gKiAgICAgICAgRnVuY3Rpb24gdG8gdXNlIHRvIGNvbXBhcmUgdHdvIGl0ZW1zLlxuICovXG5leHBvcnRzLnF1aWNrU29ydCA9IGZ1bmN0aW9uIChhcnksIGNvbXBhcmF0b3IpIHtcbiAgZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCAwLCBhcnkubGVuZ3RoIC0gMSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvcXVpY2stc29ydC5qc1xuLy8gbW9kdWxlIGlkID0gOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbnZhciBTb3VyY2VNYXBHZW5lcmF0b3IgPSByZXF1aXJlKCcuL3NvdXJjZS1tYXAtZ2VuZXJhdG9yJykuU291cmNlTWFwR2VuZXJhdG9yO1xudmFyIHV0aWwgPSByZXF1aXJlKCcuL3V0aWwnKTtcblxuLy8gTWF0Y2hlcyBhIFdpbmRvd3Mtc3R5bGUgYFxcclxcbmAgbmV3bGluZSBvciBhIGBcXG5gIG5ld2xpbmUgdXNlZCBieSBhbGwgb3RoZXJcbi8vIG9wZXJhdGluZyBzeXN0ZW1zIHRoZXNlIGRheXMgKGNhcHR1cmluZyB0aGUgcmVzdWx0KS5cbnZhciBSRUdFWF9ORVdMSU5FID0gLyhcXHI/XFxuKS87XG5cbi8vIE5ld2xpbmUgY2hhcmFjdGVyIGNvZGUgZm9yIGNoYXJDb2RlQXQoKSBjb21wYXJpc29uc1xudmFyIE5FV0xJTkVfQ09ERSA9IDEwO1xuXG4vLyBQcml2YXRlIHN5bWJvbCBmb3IgaWRlbnRpZnlpbmcgYFNvdXJjZU5vZGVgcyB3aGVuIG11bHRpcGxlIHZlcnNpb25zIG9mXG4vLyB0aGUgc291cmNlLW1hcCBsaWJyYXJ5IGFyZSBsb2FkZWQuIFRoaXMgTVVTVCBOT1QgQ0hBTkdFIGFjcm9zc1xuLy8gdmVyc2lvbnMhXG52YXIgaXNTb3VyY2VOb2RlID0gXCIkJCRpc1NvdXJjZU5vZGUkJCRcIjtcblxuLyoqXG4gKiBTb3VyY2VOb2RlcyBwcm92aWRlIGEgd2F5IHRvIGFic3RyYWN0IG92ZXIgaW50ZXJwb2xhdGluZy9jb25jYXRlbmF0aW5nXG4gKiBzbmlwcGV0cyBvZiBnZW5lcmF0ZWQgSmF2YVNjcmlwdCBzb3VyY2UgY29kZSB3aGlsZSBtYWludGFpbmluZyB0aGUgbGluZSBhbmRcbiAqIGNvbHVtbiBpbmZvcm1hdGlvbiBhc3NvY2lhdGVkIHdpdGggdGhlIG9yaWdpbmFsIHNvdXJjZSBjb2RlLlxuICpcbiAqIEBwYXJhbSBhTGluZSBUaGUgb3JpZ2luYWwgbGluZSBudW1iZXIuXG4gKiBAcGFyYW0gYUNvbHVtbiBUaGUgb3JpZ2luYWwgY29sdW1uIG51bWJlci5cbiAqIEBwYXJhbSBhU291cmNlIFRoZSBvcmlnaW5hbCBzb3VyY2UncyBmaWxlbmFtZS5cbiAqIEBwYXJhbSBhQ2h1bmtzIE9wdGlvbmFsLiBBbiBhcnJheSBvZiBzdHJpbmdzIHdoaWNoIGFyZSBzbmlwcGV0cyBvZlxuICogICAgICAgIGdlbmVyYXRlZCBKUywgb3Igb3RoZXIgU291cmNlTm9kZXMuXG4gKiBAcGFyYW0gYU5hbWUgVGhlIG9yaWdpbmFsIGlkZW50aWZpZXIuXG4gKi9cbmZ1bmN0aW9uIFNvdXJjZU5vZGUoYUxpbmUsIGFDb2x1bW4sIGFTb3VyY2UsIGFDaHVua3MsIGFOYW1lKSB7XG4gIHRoaXMuY2hpbGRyZW4gPSBbXTtcbiAgdGhpcy5zb3VyY2VDb250ZW50cyA9IHt9O1xuICB0aGlzLmxpbmUgPSBhTGluZSA9PSBudWxsID8gbnVsbCA6IGFMaW5lO1xuICB0aGlzLmNvbHVtbiA9IGFDb2x1bW4gPT0gbnVsbCA/IG51bGwgOiBhQ29sdW1uO1xuICB0aGlzLnNvdXJjZSA9IGFTb3VyY2UgPT0gbnVsbCA/IG51bGwgOiBhU291cmNlO1xuICB0aGlzLm5hbWUgPSBhTmFtZSA9PSBudWxsID8gbnVsbCA6IGFOYW1lO1xuICB0aGlzW2lzU291cmNlTm9kZV0gPSB0cnVlO1xuICBpZiAoYUNodW5rcyAhPSBudWxsKSB0aGlzLmFkZChhQ2h1bmtzKTtcbn1cblxuLyoqXG4gKiBDcmVhdGVzIGEgU291cmNlTm9kZSBmcm9tIGdlbmVyYXRlZCBjb2RlIGFuZCBhIFNvdXJjZU1hcENvbnN1bWVyLlxuICpcbiAqIEBwYXJhbSBhR2VuZXJhdGVkQ29kZSBUaGUgZ2VuZXJhdGVkIGNvZGVcbiAqIEBwYXJhbSBhU291cmNlTWFwQ29uc3VtZXIgVGhlIFNvdXJjZU1hcCBmb3IgdGhlIGdlbmVyYXRlZCBjb2RlXG4gKiBAcGFyYW0gYVJlbGF0aXZlUGF0aCBPcHRpb25hbC4gVGhlIHBhdGggdGhhdCByZWxhdGl2ZSBzb3VyY2VzIGluIHRoZVxuICogICAgICAgIFNvdXJjZU1hcENvbnN1bWVyIHNob3VsZCBiZSByZWxhdGl2ZSB0by5cbiAqL1xuU291cmNlTm9kZS5mcm9tU3RyaW5nV2l0aFNvdXJjZU1hcCA9XG4gIGZ1bmN0aW9uIFNvdXJjZU5vZGVfZnJvbVN0cmluZ1dpdGhTb3VyY2VNYXAoYUdlbmVyYXRlZENvZGUsIGFTb3VyY2VNYXBDb25zdW1lciwgYVJlbGF0aXZlUGF0aCkge1xuICAgIC8vIFRoZSBTb3VyY2VOb2RlIHdlIHdhbnQgdG8gZmlsbCB3aXRoIHRoZSBnZW5lcmF0ZWQgY29kZVxuICAgIC8vIGFuZCB0aGUgU291cmNlTWFwXG4gICAgdmFyIG5vZGUgPSBuZXcgU291cmNlTm9kZSgpO1xuXG4gICAgLy8gQWxsIGV2ZW4gaW5kaWNlcyBvZiB0aGlzIGFycmF5IGFyZSBvbmUgbGluZSBvZiB0aGUgZ2VuZXJhdGVkIGNvZGUsXG4gICAgLy8gd2hpbGUgYWxsIG9kZCBpbmRpY2VzIGFyZSB0aGUgbmV3bGluZXMgYmV0d2VlbiB0d28gYWRqYWNlbnQgbGluZXNcbiAgICAvLyAoc2luY2UgYFJFR0VYX05FV0xJTkVgIGNhcHR1cmVzIGl0cyBtYXRjaCkuXG4gICAgLy8gUHJvY2Vzc2VkIGZyYWdtZW50cyBhcmUgYWNjZXNzZWQgYnkgY2FsbGluZyBgc2hpZnROZXh0TGluZWAuXG4gICAgdmFyIHJlbWFpbmluZ0xpbmVzID0gYUdlbmVyYXRlZENvZGUuc3BsaXQoUkVHRVhfTkVXTElORSk7XG4gICAgdmFyIHJlbWFpbmluZ0xpbmVzSW5kZXggPSAwO1xuICAgIHZhciBzaGlmdE5leHRMaW5lID0gZnVuY3Rpb24oKSB7XG4gICAgICB2YXIgbGluZUNvbnRlbnRzID0gZ2V0TmV4dExpbmUoKTtcbiAgICAgIC8vIFRoZSBsYXN0IGxpbmUgb2YgYSBmaWxlIG1pZ2h0IG5vdCBoYXZlIGEgbmV3bGluZS5cbiAgICAgIHZhciBuZXdMaW5lID0gZ2V0TmV4dExpbmUoKSB8fCBcIlwiO1xuICAgICAgcmV0dXJuIGxpbmVDb250ZW50cyArIG5ld0xpbmU7XG5cbiAgICAgIGZ1bmN0aW9uIGdldE5leHRMaW5lKCkge1xuICAgICAgICByZXR1cm4gcmVtYWluaW5nTGluZXNJbmRleCA8IHJlbWFpbmluZ0xpbmVzLmxlbmd0aCA/XG4gICAgICAgICAgICByZW1haW5pbmdMaW5lc1tyZW1haW5pbmdMaW5lc0luZGV4KytdIDogdW5kZWZpbmVkO1xuICAgICAgfVxuICAgIH07XG5cbiAgICAvLyBXZSBuZWVkIHRvIHJlbWVtYmVyIHRoZSBwb3NpdGlvbiBvZiBcInJlbWFpbmluZ0xpbmVzXCJcbiAgICB2YXIgbGFzdEdlbmVyYXRlZExpbmUgPSAxLCBsYXN0R2VuZXJhdGVkQ29sdW1uID0gMDtcblxuICAgIC8vIFRoZSBnZW5lcmF0ZSBTb3VyY2VOb2RlcyB3ZSBuZWVkIGEgY29kZSByYW5nZS5cbiAgICAvLyBUbyBleHRyYWN0IGl0IGN1cnJlbnQgYW5kIGxhc3QgbWFwcGluZyBpcyB1c2VkLlxuICAgIC8vIEhlcmUgd2Ugc3RvcmUgdGhlIGxhc3QgbWFwcGluZy5cbiAgICB2YXIgbGFzdE1hcHBpbmcgPSBudWxsO1xuXG4gICAgYVNvdXJjZU1hcENvbnN1bWVyLmVhY2hNYXBwaW5nKGZ1bmN0aW9uIChtYXBwaW5nKSB7XG4gICAgICBpZiAobGFzdE1hcHBpbmcgIT09IG51bGwpIHtcbiAgICAgICAgLy8gV2UgYWRkIHRoZSBjb2RlIGZyb20gXCJsYXN0TWFwcGluZ1wiIHRvIFwibWFwcGluZ1wiOlxuICAgICAgICAvLyBGaXJzdCBjaGVjayBpZiB0aGVyZSBpcyBhIG5ldyBsaW5lIGluIGJldHdlZW4uXG4gICAgICAgIGlmIChsYXN0R2VuZXJhdGVkTGluZSA8IG1hcHBpbmcuZ2VuZXJhdGVkTGluZSkge1xuICAgICAgICAgIC8vIEFzc29jaWF0ZSBmaXJzdCBsaW5lIHdpdGggXCJsYXN0TWFwcGluZ1wiXG4gICAgICAgICAgYWRkTWFwcGluZ1dpdGhDb2RlKGxhc3RNYXBwaW5nLCBzaGlmdE5leHRMaW5lKCkpO1xuICAgICAgICAgIGxhc3RHZW5lcmF0ZWRMaW5lKys7XG4gICAgICAgICAgbGFzdEdlbmVyYXRlZENvbHVtbiA9IDA7XG4gICAgICAgICAgLy8gVGhlIHJlbWFpbmluZyBjb2RlIGlzIGFkZGVkIHdpdGhvdXQgbWFwcGluZ1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIC8vIFRoZXJlIGlzIG5vIG5ldyBsaW5lIGluIGJldHdlZW4uXG4gICAgICAgICAgLy8gQXNzb2NpYXRlIHRoZSBjb2RlIGJldHdlZW4gXCJsYXN0R2VuZXJhdGVkQ29sdW1uXCIgYW5kXG4gICAgICAgICAgLy8gXCJtYXBwaW5nLmdlbmVyYXRlZENvbHVtblwiIHdpdGggXCJsYXN0TWFwcGluZ1wiXG4gICAgICAgICAgdmFyIG5leHRMaW5lID0gcmVtYWluaW5nTGluZXNbcmVtYWluaW5nTGluZXNJbmRleF07XG4gICAgICAgICAgdmFyIGNvZGUgPSBuZXh0TGluZS5zdWJzdHIoMCwgbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4gLVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxhc3RHZW5lcmF0ZWRDb2x1bW4pO1xuICAgICAgICAgIHJlbWFpbmluZ0xpbmVzW3JlbWFpbmluZ0xpbmVzSW5kZXhdID0gbmV4dExpbmUuc3Vic3RyKG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uIC1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYXN0R2VuZXJhdGVkQ29sdW1uKTtcbiAgICAgICAgICBsYXN0R2VuZXJhdGVkQ29sdW1uID0gbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW47XG4gICAgICAgICAgYWRkTWFwcGluZ1dpdGhDb2RlKGxhc3RNYXBwaW5nLCBjb2RlKTtcbiAgICAgICAgICAvLyBObyBtb3JlIHJlbWFpbmluZyBjb2RlLCBjb250aW51ZVxuICAgICAgICAgIGxhc3RNYXBwaW5nID0gbWFwcGluZztcbiAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgIC8vIFdlIGFkZCB0aGUgZ2VuZXJhdGVkIGNvZGUgdW50aWwgdGhlIGZpcnN0IG1hcHBpbmdcbiAgICAgIC8vIHRvIHRoZSBTb3VyY2VOb2RlIHdpdGhvdXQgYW55IG1hcHBpbmcuXG4gICAgICAvLyBFYWNoIGxpbmUgaXMgYWRkZWQgYXMgc2VwYXJhdGUgc3RyaW5nLlxuICAgICAgd2hpbGUgKGxhc3RHZW5lcmF0ZWRMaW5lIDwgbWFwcGluZy5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgIG5vZGUuYWRkKHNoaWZ0TmV4dExpbmUoKSk7XG4gICAgICAgIGxhc3RHZW5lcmF0ZWRMaW5lKys7XG4gICAgICB9XG4gICAgICBpZiAobGFzdEdlbmVyYXRlZENvbHVtbiA8IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uKSB7XG4gICAgICAgIHZhciBuZXh0TGluZSA9IHJlbWFpbmluZ0xpbmVzW3JlbWFpbmluZ0xpbmVzSW5kZXhdO1xuICAgICAgICBub2RlLmFkZChuZXh0TGluZS5zdWJzdHIoMCwgbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4pKTtcbiAgICAgICAgcmVtYWluaW5nTGluZXNbcmVtYWluaW5nTGluZXNJbmRleF0gPSBuZXh0TGluZS5zdWJzdHIobWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4pO1xuICAgICAgICBsYXN0R2VuZXJhdGVkQ29sdW1uID0gbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW47XG4gICAgICB9XG4gICAgICBsYXN0TWFwcGluZyA9IG1hcHBpbmc7XG4gICAgfSwgdGhpcyk7XG4gICAgLy8gV2UgaGF2ZSBwcm9jZXNzZWQgYWxsIG1hcHBpbmdzLlxuICAgIGlmIChyZW1haW5pbmdMaW5lc0luZGV4IDwgcmVtYWluaW5nTGluZXMubGVuZ3RoKSB7XG4gICAgICBpZiAobGFzdE1hcHBpbmcpIHtcbiAgICAgICAgLy8gQXNzb2NpYXRlIHRoZSByZW1haW5pbmcgY29kZSBpbiB0aGUgY3VycmVudCBsaW5lIHdpdGggXCJsYXN0TWFwcGluZ1wiXG4gICAgICAgIGFkZE1hcHBpbmdXaXRoQ29kZShsYXN0TWFwcGluZywgc2hpZnROZXh0TGluZSgpKTtcbiAgICAgIH1cbiAgICAgIC8vIGFuZCBhZGQgdGhlIHJlbWFpbmluZyBsaW5lcyB3aXRob3V0IGFueSBtYXBwaW5nXG4gICAgICBub2RlLmFkZChyZW1haW5pbmdMaW5lcy5zcGxpY2UocmVtYWluaW5nTGluZXNJbmRleCkuam9pbihcIlwiKSk7XG4gICAgfVxuXG4gICAgLy8gQ29weSBzb3VyY2VzQ29udGVudCBpbnRvIFNvdXJjZU5vZGVcbiAgICBhU291cmNlTWFwQ29uc3VtZXIuc291cmNlcy5mb3JFYWNoKGZ1bmN0aW9uIChzb3VyY2VGaWxlKSB7XG4gICAgICB2YXIgY29udGVudCA9IGFTb3VyY2VNYXBDb25zdW1lci5zb3VyY2VDb250ZW50Rm9yKHNvdXJjZUZpbGUpO1xuICAgICAgaWYgKGNvbnRlbnQgIT0gbnVsbCkge1xuICAgICAgICBpZiAoYVJlbGF0aXZlUGF0aCAhPSBudWxsKSB7XG4gICAgICAgICAgc291cmNlRmlsZSA9IHV0aWwuam9pbihhUmVsYXRpdmVQYXRoLCBzb3VyY2VGaWxlKTtcbiAgICAgICAgfVxuICAgICAgICBub2RlLnNldFNvdXJjZUNvbnRlbnQoc291cmNlRmlsZSwgY29udGVudCk7XG4gICAgICB9XG4gICAgfSk7XG5cbiAgICByZXR1cm4gbm9kZTtcblxuICAgIGZ1bmN0aW9uIGFkZE1hcHBpbmdXaXRoQ29kZShtYXBwaW5nLCBjb2RlKSB7XG4gICAgICBpZiAobWFwcGluZyA9PT0gbnVsbCB8fCBtYXBwaW5nLnNvdXJjZSA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgIG5vZGUuYWRkKGNvZGUpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdmFyIHNvdXJjZSA9IGFSZWxhdGl2ZVBhdGhcbiAgICAgICAgICA/IHV0aWwuam9pbihhUmVsYXRpdmVQYXRoLCBtYXBwaW5nLnNvdXJjZSlcbiAgICAgICAgICA6IG1hcHBpbmcuc291cmNlO1xuICAgICAgICBub2RlLmFkZChuZXcgU291cmNlTm9kZShtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbENvbHVtbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXBwaW5nLm5hbWUpKTtcbiAgICAgIH1cbiAgICB9XG4gIH07XG5cbi8qKlxuICogQWRkIGEgY2h1bmsgb2YgZ2VuZXJhdGVkIEpTIHRvIHRoaXMgc291cmNlIG5vZGUuXG4gKlxuICogQHBhcmFtIGFDaHVuayBBIHN0cmluZyBzbmlwcGV0IG9mIGdlbmVyYXRlZCBKUyBjb2RlLCBhbm90aGVyIGluc3RhbmNlIG9mXG4gKiAgICAgICAgU291cmNlTm9kZSwgb3IgYW4gYXJyYXkgd2hlcmUgZWFjaCBtZW1iZXIgaXMgb25lIG9mIHRob3NlIHRoaW5ncy5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUuYWRkID0gZnVuY3Rpb24gU291cmNlTm9kZV9hZGQoYUNodW5rKSB7XG4gIGlmIChBcnJheS5pc0FycmF5KGFDaHVuaykpIHtcbiAgICBhQ2h1bmsuZm9yRWFjaChmdW5jdGlvbiAoY2h1bmspIHtcbiAgICAgIHRoaXMuYWRkKGNodW5rKTtcbiAgICB9LCB0aGlzKTtcbiAgfVxuICBlbHNlIGlmIChhQ2h1bmtbaXNTb3VyY2VOb2RlXSB8fCB0eXBlb2YgYUNodW5rID09PSBcInN0cmluZ1wiKSB7XG4gICAgaWYgKGFDaHVuaykge1xuICAgICAgdGhpcy5jaGlsZHJlbi5wdXNoKGFDaHVuayk7XG4gICAgfVxuICB9XG4gIGVsc2Uge1xuICAgIHRocm93IG5ldyBUeXBlRXJyb3IoXG4gICAgICBcIkV4cGVjdGVkIGEgU291cmNlTm9kZSwgc3RyaW5nLCBvciBhbiBhcnJheSBvZiBTb3VyY2VOb2RlcyBhbmQgc3RyaW5ncy4gR290IFwiICsgYUNodW5rXG4gICAgKTtcbiAgfVxuICByZXR1cm4gdGhpcztcbn07XG5cbi8qKlxuICogQWRkIGEgY2h1bmsgb2YgZ2VuZXJhdGVkIEpTIHRvIHRoZSBiZWdpbm5pbmcgb2YgdGhpcyBzb3VyY2Ugbm9kZS5cbiAqXG4gKiBAcGFyYW0gYUNodW5rIEEgc3RyaW5nIHNuaXBwZXQgb2YgZ2VuZXJhdGVkIEpTIGNvZGUsIGFub3RoZXIgaW5zdGFuY2Ugb2ZcbiAqICAgICAgICBTb3VyY2VOb2RlLCBvciBhbiBhcnJheSB3aGVyZSBlYWNoIG1lbWJlciBpcyBvbmUgb2YgdGhvc2UgdGhpbmdzLlxuICovXG5Tb3VyY2VOb2RlLnByb3RvdHlwZS5wcmVwZW5kID0gZnVuY3Rpb24gU291cmNlTm9kZV9wcmVwZW5kKGFDaHVuaykge1xuICBpZiAoQXJyYXkuaXNBcnJheShhQ2h1bmspKSB7XG4gICAgZm9yICh2YXIgaSA9IGFDaHVuay5sZW5ndGgtMTsgaSA+PSAwOyBpLS0pIHtcbiAgICAgIHRoaXMucHJlcGVuZChhQ2h1bmtbaV0pO1xuICAgIH1cbiAgfVxuICBlbHNlIGlmIChhQ2h1bmtbaXNTb3VyY2VOb2RlXSB8fCB0eXBlb2YgYUNodW5rID09PSBcInN0cmluZ1wiKSB7XG4gICAgdGhpcy5jaGlsZHJlbi51bnNoaWZ0KGFDaHVuayk7XG4gIH1cbiAgZWxzZSB7XG4gICAgdGhyb3cgbmV3IFR5cGVFcnJvcihcbiAgICAgIFwiRXhwZWN0ZWQgYSBTb3VyY2VOb2RlLCBzdHJpbmcsIG9yIGFuIGFycmF5IG9mIFNvdXJjZU5vZGVzIGFuZCBzdHJpbmdzLiBHb3QgXCIgKyBhQ2h1bmtcbiAgICApO1xuICB9XG4gIHJldHVybiB0aGlzO1xufTtcblxuLyoqXG4gKiBXYWxrIG92ZXIgdGhlIHRyZWUgb2YgSlMgc25pcHBldHMgaW4gdGhpcyBub2RlIGFuZCBpdHMgY2hpbGRyZW4uIFRoZVxuICogd2Fsa2luZyBmdW5jdGlvbiBpcyBjYWxsZWQgb25jZSBmb3IgZWFjaCBzbmlwcGV0IG9mIEpTIGFuZCBpcyBwYXNzZWQgdGhhdFxuICogc25pcHBldCBhbmQgdGhlIGl0cyBvcmlnaW5hbCBhc3NvY2lhdGVkIHNvdXJjZSdzIGxpbmUvY29sdW1uIGxvY2F0aW9uLlxuICpcbiAqIEBwYXJhbSBhRm4gVGhlIHRyYXZlcnNhbCBmdW5jdGlvbi5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUud2FsayA9IGZ1bmN0aW9uIFNvdXJjZU5vZGVfd2FsayhhRm4pIHtcbiAgdmFyIGNodW5rO1xuICBmb3IgKHZhciBpID0gMCwgbGVuID0gdGhpcy5jaGlsZHJlbi5sZW5ndGg7IGkgPCBsZW47IGkrKykge1xuICAgIGNodW5rID0gdGhpcy5jaGlsZHJlbltpXTtcbiAgICBpZiAoY2h1bmtbaXNTb3VyY2VOb2RlXSkge1xuICAgICAgY2h1bmsud2FsayhhRm4pO1xuICAgIH1cbiAgICBlbHNlIHtcbiAgICAgIGlmIChjaHVuayAhPT0gJycpIHtcbiAgICAgICAgYUZuKGNodW5rLCB7IHNvdXJjZTogdGhpcy5zb3VyY2UsXG4gICAgICAgICAgICAgICAgICAgICBsaW5lOiB0aGlzLmxpbmUsXG4gICAgICAgICAgICAgICAgICAgICBjb2x1bW46IHRoaXMuY29sdW1uLFxuICAgICAgICAgICAgICAgICAgICAgbmFtZTogdGhpcy5uYW1lIH0pO1xuICAgICAgfVxuICAgIH1cbiAgfVxufTtcblxuLyoqXG4gKiBMaWtlIGBTdHJpbmcucHJvdG90eXBlLmpvaW5gIGV4Y2VwdCBmb3IgU291cmNlTm9kZXMuIEluc2VydHMgYGFTdHJgIGJldHdlZW5cbiAqIGVhY2ggb2YgYHRoaXMuY2hpbGRyZW5gLlxuICpcbiAqIEBwYXJhbSBhU2VwIFRoZSBzZXBhcmF0b3IuXG4gKi9cblNvdXJjZU5vZGUucHJvdG90eXBlLmpvaW4gPSBmdW5jdGlvbiBTb3VyY2VOb2RlX2pvaW4oYVNlcCkge1xuICB2YXIgbmV3Q2hpbGRyZW47XG4gIHZhciBpO1xuICB2YXIgbGVuID0gdGhpcy5jaGlsZHJlbi5sZW5ndGg7XG4gIGlmIChsZW4gPiAwKSB7XG4gICAgbmV3Q2hpbGRyZW4gPSBbXTtcbiAgICBmb3IgKGkgPSAwOyBpIDwgbGVuLTE7IGkrKykge1xuICAgICAgbmV3Q2hpbGRyZW4ucHVzaCh0aGlzLmNoaWxkcmVuW2ldKTtcbiAgICAgIG5ld0NoaWxkcmVuLnB1c2goYVNlcCk7XG4gICAgfVxuICAgIG5ld0NoaWxkcmVuLnB1c2godGhpcy5jaGlsZHJlbltpXSk7XG4gICAgdGhpcy5jaGlsZHJlbiA9IG5ld0NoaWxkcmVuO1xuICB9XG4gIHJldHVybiB0aGlzO1xufTtcblxuLyoqXG4gKiBDYWxsIFN0cmluZy5wcm90b3R5cGUucmVwbGFjZSBvbiB0aGUgdmVyeSByaWdodC1tb3N0IHNvdXJjZSBzbmlwcGV0LiBVc2VmdWxcbiAqIGZvciB0cmltbWluZyB3aGl0ZXNwYWNlIGZyb20gdGhlIGVuZCBvZiBhIHNvdXJjZSBub2RlLCBldGMuXG4gKlxuICogQHBhcmFtIGFQYXR0ZXJuIFRoZSBwYXR0ZXJuIHRvIHJlcGxhY2UuXG4gKiBAcGFyYW0gYVJlcGxhY2VtZW50IFRoZSB0aGluZyB0byByZXBsYWNlIHRoZSBwYXR0ZXJuIHdpdGguXG4gKi9cblNvdXJjZU5vZGUucHJvdG90eXBlLnJlcGxhY2VSaWdodCA9IGZ1bmN0aW9uIFNvdXJjZU5vZGVfcmVwbGFjZVJpZ2h0KGFQYXR0ZXJuLCBhUmVwbGFjZW1lbnQpIHtcbiAgdmFyIGxhc3RDaGlsZCA9IHRoaXMuY2hpbGRyZW5bdGhpcy5jaGlsZHJlbi5sZW5ndGggLSAxXTtcbiAgaWYgKGxhc3RDaGlsZFtpc1NvdXJjZU5vZGVdKSB7XG4gICAgbGFzdENoaWxkLnJlcGxhY2VSaWdodChhUGF0dGVybiwgYVJlcGxhY2VtZW50KTtcbiAgfVxuICBlbHNlIGlmICh0eXBlb2YgbGFzdENoaWxkID09PSAnc3RyaW5nJykge1xuICAgIHRoaXMuY2hpbGRyZW5bdGhpcy5jaGlsZHJlbi5sZW5ndGggLSAxXSA9IGxhc3RDaGlsZC5yZXBsYWNlKGFQYXR0ZXJuLCBhUmVwbGFjZW1lbnQpO1xuICB9XG4gIGVsc2Uge1xuICAgIHRoaXMuY2hpbGRyZW4ucHVzaCgnJy5yZXBsYWNlKGFQYXR0ZXJuLCBhUmVwbGFjZW1lbnQpKTtcbiAgfVxuICByZXR1cm4gdGhpcztcbn07XG5cbi8qKlxuICogU2V0IHRoZSBzb3VyY2UgY29udGVudCBmb3IgYSBzb3VyY2UgZmlsZS4gVGhpcyB3aWxsIGJlIGFkZGVkIHRvIHRoZSBTb3VyY2VNYXBHZW5lcmF0b3JcbiAqIGluIHRoZSBzb3VyY2VzQ29udGVudCBmaWVsZC5cbiAqXG4gKiBAcGFyYW0gYVNvdXJjZUZpbGUgVGhlIGZpbGVuYW1lIG9mIHRoZSBzb3VyY2UgZmlsZVxuICogQHBhcmFtIGFTb3VyY2VDb250ZW50IFRoZSBjb250ZW50IG9mIHRoZSBzb3VyY2UgZmlsZVxuICovXG5Tb3VyY2VOb2RlLnByb3RvdHlwZS5zZXRTb3VyY2VDb250ZW50ID1cbiAgZnVuY3Rpb24gU291cmNlTm9kZV9zZXRTb3VyY2VDb250ZW50KGFTb3VyY2VGaWxlLCBhU291cmNlQ29udGVudCkge1xuICAgIHRoaXMuc291cmNlQ29udGVudHNbdXRpbC50b1NldFN0cmluZyhhU291cmNlRmlsZSldID0gYVNvdXJjZUNvbnRlbnQ7XG4gIH07XG5cbi8qKlxuICogV2FsayBvdmVyIHRoZSB0cmVlIG9mIFNvdXJjZU5vZGVzLiBUaGUgd2Fsa2luZyBmdW5jdGlvbiBpcyBjYWxsZWQgZm9yIGVhY2hcbiAqIHNvdXJjZSBmaWxlIGNvbnRlbnQgYW5kIGlzIHBhc3NlZCB0aGUgZmlsZW5hbWUgYW5kIHNvdXJjZSBjb250ZW50LlxuICpcbiAqIEBwYXJhbSBhRm4gVGhlIHRyYXZlcnNhbCBmdW5jdGlvbi5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUud2Fsa1NvdXJjZUNvbnRlbnRzID1cbiAgZnVuY3Rpb24gU291cmNlTm9kZV93YWxrU291cmNlQ29udGVudHMoYUZuKSB7XG4gICAgZm9yICh2YXIgaSA9IDAsIGxlbiA9IHRoaXMuY2hpbGRyZW4ubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHtcbiAgICAgIGlmICh0aGlzLmNoaWxkcmVuW2ldW2lzU291cmNlTm9kZV0pIHtcbiAgICAgICAgdGhpcy5jaGlsZHJlbltpXS53YWxrU291cmNlQ29udGVudHMoYUZuKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICB2YXIgc291cmNlcyA9IE9iamVjdC5rZXlzKHRoaXMuc291cmNlQ29udGVudHMpO1xuICAgIGZvciAodmFyIGkgPSAwLCBsZW4gPSBzb3VyY2VzLmxlbmd0aDsgaSA8IGxlbjsgaSsrKSB7XG4gICAgICBhRm4odXRpbC5mcm9tU2V0U3RyaW5nKHNvdXJjZXNbaV0pLCB0aGlzLnNvdXJjZUNvbnRlbnRzW3NvdXJjZXNbaV1dKTtcbiAgICB9XG4gIH07XG5cbi8qKlxuICogUmV0dXJuIHRoZSBzdHJpbmcgcmVwcmVzZW50YXRpb24gb2YgdGhpcyBzb3VyY2Ugbm9kZS4gV2Fsa3Mgb3ZlciB0aGUgdHJlZVxuICogYW5kIGNvbmNhdGVuYXRlcyBhbGwgdGhlIHZhcmlvdXMgc25pcHBldHMgdG9nZXRoZXIgdG8gb25lIHN0cmluZy5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUudG9TdHJpbmcgPSBmdW5jdGlvbiBTb3VyY2VOb2RlX3RvU3RyaW5nKCkge1xuICB2YXIgc3RyID0gXCJcIjtcbiAgdGhpcy53YWxrKGZ1bmN0aW9uIChjaHVuaykge1xuICAgIHN0ciArPSBjaHVuaztcbiAgfSk7XG4gIHJldHVybiBzdHI7XG59O1xuXG4vKipcbiAqIFJldHVybnMgdGhlIHN0cmluZyByZXByZXNlbnRhdGlvbiBvZiB0aGlzIHNvdXJjZSBub2RlIGFsb25nIHdpdGggYSBzb3VyY2VcbiAqIG1hcC5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUudG9TdHJpbmdXaXRoU291cmNlTWFwID0gZnVuY3Rpb24gU291cmNlTm9kZV90b1N0cmluZ1dpdGhTb3VyY2VNYXAoYUFyZ3MpIHtcbiAgdmFyIGdlbmVyYXRlZCA9IHtcbiAgICBjb2RlOiBcIlwiLFxuICAgIGxpbmU6IDEsXG4gICAgY29sdW1uOiAwXG4gIH07XG4gIHZhciBtYXAgPSBuZXcgU291cmNlTWFwR2VuZXJhdG9yKGFBcmdzKTtcbiAgdmFyIHNvdXJjZU1hcHBpbmdBY3RpdmUgPSBmYWxzZTtcbiAgdmFyIGxhc3RPcmlnaW5hbFNvdXJjZSA9IG51bGw7XG4gIHZhciBsYXN0T3JpZ2luYWxMaW5lID0gbnVsbDtcbiAgdmFyIGxhc3RPcmlnaW5hbENvbHVtbiA9IG51bGw7XG4gIHZhciBsYXN0T3JpZ2luYWxOYW1lID0gbnVsbDtcbiAgdGhpcy53YWxrKGZ1bmN0aW9uIChjaHVuaywgb3JpZ2luYWwpIHtcbiAgICBnZW5lcmF0ZWQuY29kZSArPSBjaHVuaztcbiAgICBpZiAob3JpZ2luYWwuc291cmNlICE9PSBudWxsXG4gICAgICAgICYmIG9yaWdpbmFsLmxpbmUgIT09IG51bGxcbiAgICAgICAgJiYgb3JpZ2luYWwuY29sdW1uICE9PSBudWxsKSB7XG4gICAgICBpZihsYXN0T3JpZ2luYWxTb3VyY2UgIT09IG9yaWdpbmFsLnNvdXJjZVxuICAgICAgICAgfHwgbGFzdE9yaWdpbmFsTGluZSAhPT0gb3JpZ2luYWwubGluZVxuICAgICAgICAgfHwgbGFzdE9yaWdpbmFsQ29sdW1uICE9PSBvcmlnaW5hbC5jb2x1bW5cbiAgICAgICAgIHx8IGxhc3RPcmlnaW5hbE5hbWUgIT09IG9yaWdpbmFsLm5hbWUpIHtcbiAgICAgICAgbWFwLmFkZE1hcHBpbmcoe1xuICAgICAgICAgIHNvdXJjZTogb3JpZ2luYWwuc291cmNlLFxuICAgICAgICAgIG9yaWdpbmFsOiB7XG4gICAgICAgICAgICBsaW5lOiBvcmlnaW5hbC5saW5lLFxuICAgICAgICAgICAgY29sdW1uOiBvcmlnaW5hbC5jb2x1bW5cbiAgICAgICAgICB9LFxuICAgICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgICAgbGluZTogZ2VuZXJhdGVkLmxpbmUsXG4gICAgICAgICAgICBjb2x1bW46IGdlbmVyYXRlZC5jb2x1bW5cbiAgICAgICAgICB9LFxuICAgICAgICAgIG5hbWU6IG9yaWdpbmFsLm5hbWVcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgICBsYXN0T3JpZ2luYWxTb3VyY2UgPSBvcmlnaW5hbC5zb3VyY2U7XG4gICAgICBsYXN0T3JpZ2luYWxMaW5lID0gb3JpZ2luYWwubGluZTtcbiAgICAgIGxhc3RPcmlnaW5hbENvbHVtbiA9IG9yaWdpbmFsLmNvbHVtbjtcbiAgICAgIGxhc3RPcmlnaW5hbE5hbWUgPSBvcmlnaW5hbC5uYW1lO1xuICAgICAgc291cmNlTWFwcGluZ0FjdGl2ZSA9IHRydWU7XG4gICAgfSBlbHNlIGlmIChzb3VyY2VNYXBwaW5nQWN0aXZlKSB7XG4gICAgICBtYXAuYWRkTWFwcGluZyh7XG4gICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgIGxpbmU6IGdlbmVyYXRlZC5saW5lLFxuICAgICAgICAgIGNvbHVtbjogZ2VuZXJhdGVkLmNvbHVtblxuICAgICAgICB9XG4gICAgICB9KTtcbiAgICAgIGxhc3RPcmlnaW5hbFNvdXJjZSA9IG51bGw7XG4gICAgICBzb3VyY2VNYXBwaW5nQWN0aXZlID0gZmFsc2U7XG4gICAgfVxuICAgIGZvciAodmFyIGlkeCA9IDAsIGxlbmd0aCA9IGNodW5rLmxlbmd0aDsgaWR4IDwgbGVuZ3RoOyBpZHgrKykge1xuICAgICAgaWYgKGNodW5rLmNoYXJDb2RlQXQoaWR4KSA9PT0gTkVXTElORV9DT0RFKSB7XG4gICAgICAgIGdlbmVyYXRlZC5saW5lKys7XG4gICAgICAgIGdlbmVyYXRlZC5jb2x1bW4gPSAwO1xuICAgICAgICAvLyBNYXBwaW5ncyBlbmQgYXQgZW9sXG4gICAgICAgIGlmIChpZHggKyAxID09PSBsZW5ndGgpIHtcbiAgICAgICAgICBsYXN0T3JpZ2luYWxTb3VyY2UgPSBudWxsO1xuICAgICAgICAgIHNvdXJjZU1hcHBpbmdBY3RpdmUgPSBmYWxzZTtcbiAgICAgICAgfSBlbHNlIGlmIChzb3VyY2VNYXBwaW5nQWN0aXZlKSB7XG4gICAgICAgICAgbWFwLmFkZE1hcHBpbmcoe1xuICAgICAgICAgICAgc291cmNlOiBvcmlnaW5hbC5zb3VyY2UsXG4gICAgICAgICAgICBvcmlnaW5hbDoge1xuICAgICAgICAgICAgICBsaW5lOiBvcmlnaW5hbC5saW5lLFxuICAgICAgICAgICAgICBjb2x1bW46IG9yaWdpbmFsLmNvbHVtblxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgICAgICBsaW5lOiBnZW5lcmF0ZWQubGluZSxcbiAgICAgICAgICAgICAgY29sdW1uOiBnZW5lcmF0ZWQuY29sdW1uXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgbmFtZTogb3JpZ2luYWwubmFtZVxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBnZW5lcmF0ZWQuY29sdW1uKys7XG4gICAgICB9XG4gICAgfVxuICB9KTtcbiAgdGhpcy53YWxrU291cmNlQ29udGVudHMoZnVuY3Rpb24gKHNvdXJjZUZpbGUsIHNvdXJjZUNvbnRlbnQpIHtcbiAgICBtYXAuc2V0U291cmNlQ29udGVudChzb3VyY2VGaWxlLCBzb3VyY2VDb250ZW50KTtcbiAgfSk7XG5cbiAgcmV0dXJuIHsgY29kZTogZ2VuZXJhdGVkLmNvZGUsIG1hcDogbWFwIH07XG59O1xuXG5leHBvcnRzLlNvdXJjZU5vZGUgPSBTb3VyY2VOb2RlO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvc291cmNlLW5vZGUuanNcbi8vIG1vZHVsZSBpZCA9IDEwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0= \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/source-map/dist/source-map.js b/node_modules/@babel/core/node_modules/source-map/dist/source-map.js deleted file mode 100644 index 4e630e29..00000000 --- a/node_modules/@babel/core/node_modules/source-map/dist/source-map.js +++ /dev/null @@ -1,3090 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["sourceMap"] = factory(); - else - root["sourceMap"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ - exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer; - exports.SourceNode = __webpack_require__(10).SourceNode; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var base64VLQ = __webpack_require__(2); - var util = __webpack_require__(4); - var ArraySet = __webpack_require__(5).ArraySet; - var MappingList = __webpack_require__(6).MappingList; - - /** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ - function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; - } - - SourceMapGenerator.prototype._version = 3; - - /** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ - SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - - /** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ - SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - - /** - * Set the source content for a source file. - */ - SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - - /** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ - SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - - /** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ - SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - - /** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ - SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - - SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - - /** - * Externalize the source map. - */ - SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - - /** - * Render the source map being generated to a string. - */ - SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - - exports.SourceMapGenerator = SourceMapGenerator; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - var base64 = __webpack_require__(3); - - // A single base 64 digit can contain 6 bits of data. For the base 64 variable - // length quantities we use in the source map spec, the first bit is the sign, - // the next four bits are the actual value, and the 6th bit is the - // continuation bit. The continuation bit tells us whether there are more - // digits in this value following this digit. - // - // Continuation - // | Sign - // | | - // V V - // 101011 - - var VLQ_BASE_SHIFT = 5; - - // binary: 100000 - var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - - // binary: 011111 - var VLQ_BASE_MASK = VLQ_BASE - 1; - - // binary: 100000 - var VLQ_CONTINUATION_BIT = VLQ_BASE; - - /** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ - function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; - } - - /** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ - function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; - } - - /** - * Returns the base 64 VLQ encoded value. - */ - exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; - }; - - /** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ - exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; - }; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - - /** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ - exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); - }; - - /** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ - exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; - }; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - /** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ - function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } - } - exports.getArg = getArg; - - var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; - var dataUrlRegexp = /^data:.+\,.+$/; - - function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; - } - exports.urlParse = urlParse; - - function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; - } - exports.urlGenerate = urlGenerate; - - /** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ - function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; - } - exports.normalize = normalize; - - /** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ - function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; - } - exports.join = join; - - exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); - }; - - /** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ - function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); - } - exports.relative = relative; - - var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); - }()); - - function identity (s) { - return s; - } - - /** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ - function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; - } - exports.toSetString = supportsNullProto ? identity : toSetString; - - function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; - } - exports.fromSetString = supportsNullProto ? identity : fromSetString; - - function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; - } - - /** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ - function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByOriginalPositions = compareByOriginalPositions; - - /** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ - function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - - function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; - } - - /** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ - function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); - } - exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; - - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var has = Object.prototype.hasOwnProperty; - var hasNativeMap = typeof Map !== "undefined"; - - /** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ - function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); - } - - /** - * Static method for creating ArraySet instances from an existing array. - */ - ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; - }; - - /** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ - ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; - }; - - /** - * Add the given string to this set. - * - * @param String aStr - */ - ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } - }; - - /** - * Is the given string a member of this set? - * - * @param String aStr - */ - ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } - }; - - /** - * What is the index of the given string in the array? - * - * @param String aStr - */ - ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); - }; - - /** - * What is the element at the given index? - * - * @param Number aIdx - */ - ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); - }; - - /** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ - ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); - }; - - exports.ArraySet = ArraySet; - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - - /** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ - function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; - } - - /** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ - function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; - } - - /** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ - MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - - /** - * Add the given source mapping. - * - * @param Object aMapping - */ - MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } - }; - - /** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ - MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; - }; - - exports.MappingList = MappingList; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var binarySearch = __webpack_require__(8); - var ArraySet = __webpack_require__(5).ArraySet; - var base64VLQ = __webpack_require__(2); - var quickSort = __webpack_require__(9).quickSort; - - function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); - } - - SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); - } - - /** - * The version of the source mapping spec that we are consuming. - */ - SourceMapConsumer.prototype._version = 3; - - // `__generatedMappings` and `__originalMappings` are arrays that hold the - // parsed mapping coordinates from the source map's "mappings" attribute. They - // are lazily instantiated, accessed via the `_generatedMappings` and - // `_originalMappings` getters respectively, and we only parse the mappings - // and create these arrays once queried for a source location. We jump through - // these hoops because there can be many thousands of mappings, and parsing - // them is expensive, so we only want to do it if we must. - // - // Each object in the arrays is of the form: - // - // { - // generatedLine: The line number in the generated code, - // generatedColumn: The column number in the generated code, - // source: The path to the original source file that generated this - // chunk of code, - // originalLine: The line number in the original source that - // corresponds to this chunk of generated code, - // originalColumn: The column number in the original source that - // corresponds to this chunk of generated code, - // name: The name of the original symbol which generated this chunk of - // code. - // } - // - // All properties except for `generatedLine` and `generatedColumn` can be - // `null`. - // - // `_generatedMappings` is ordered by the generated positions. - // - // `_originalMappings` is ordered by the original positions. - - SourceMapConsumer.prototype.__generatedMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } - }); - - SourceMapConsumer.prototype.__originalMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } - }); - - SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - - SourceMapConsumer.GENERATED_ORDER = 1; - SourceMapConsumer.ORIGINAL_ORDER = 2; - - SourceMapConsumer.GREATEST_LOWER_BOUND = 1; - SourceMapConsumer.LEAST_UPPER_BOUND = 2; - - /** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ - SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - - /** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - - exports.SourceMapConsumer = SourceMapConsumer; - - /** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ - function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; - } - - BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - - /** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ - BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - - /** - * The version of the source mapping spec that we are consuming. - */ - BasicSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } - }); - - /** - * Provide the JIT with a nice shape / hidden class. - */ - function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; - } - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - - /** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ - BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - - /** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ - BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - - exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - - /** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ - function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); - } - - IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - - /** - * The version of the source mapping spec that we are consuming. - */ - IndexedSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } - }); - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - - exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; - - -/***/ }), -/* 8 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - exports.GREATEST_LOWER_BOUND = 1; - exports.LEAST_UPPER_BOUND = 2; - - /** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ - function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } - } - - /** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ - exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; - }; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - // It turns out that some (most?) JavaScript engines don't self-host - // `Array.prototype.sort`. This makes sense because C++ will likely remain - // faster than JS when doing raw CPU-intensive sorting. However, when using a - // custom comparator function, calling back and forth between the VM's C++ and - // JIT'd JS is rather slow *and* loses JIT type information, resulting in - // worse generated code for the comparator function than would be optimal. In - // fact, when sorting with a comparator, these costs outweigh the benefits of - // sorting in C++. By using our own JS-implemented Quick Sort (below), we get - // a ~3500ms mean speed-up in `bench/bench.html`. - - /** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ - function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; - } - - /** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ - function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); - } - - /** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ - function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } - } - - /** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ - exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); - }; - - -/***/ }), -/* 10 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - var util = __webpack_require__(4); - - // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other - // operating systems these days (capturing the result). - var REGEX_NEWLINE = /(\r?\n)/; - - // Newline character code for charCodeAt() comparisons - var NEWLINE_CODE = 10; - - // Private symbol for identifying `SourceNode`s when multiple versions of - // the source-map library are loaded. This MUST NOT CHANGE across - // versions! - var isSourceNode = "$$$isSourceNode$$$"; - - /** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ - function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); - } - - /** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ - SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - - /** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } - }; - - /** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ - SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; - }; - - /** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ - SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; - }; - - /** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ - SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - - /** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - - /** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ - SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; - }; - - /** - * Returns the string representation of this source node along with a source - * map. - */ - SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; - }; - - exports.SourceNode = SourceNode; - - -/***/ }) -/******/ ]) -}); -; \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/source-map/dist/source-map.min.js b/node_modules/@babel/core/node_modules/source-map/dist/source-map.min.js deleted file mode 100644 index f2a46bd0..00000000 --- a/node_modules/@babel/core/node_modules/source-map/dist/source-map.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sourceMap=n():e.sourceMap=n()}(this,function(){return function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={exports:{},id:t,loaded:!1};return e[t].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=e,n.c=r,n.p="",n(0)}([function(e,n,r){n.SourceMapGenerator=r(1).SourceMapGenerator,n.SourceMapConsumer=r(7).SourceMapConsumer,n.SourceNode=r(10).SourceNode},function(e,n,r){function t(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new a,this._sourcesContents=null}var o=r(2),i=r(4),s=r(5).ArraySet,a=r(6).MappingList;t.prototype._version=3,t.fromSourceMap=function(e){var n=e.sourceRoot,r=new t({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=n&&(t.source=i.relative(n,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),r.addMapping(t)}),e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&r.setSourceContent(n,t)}),r},t.prototype.addMapping=function(e){var n=i.getArg(e,"generated"),r=i.getArg(e,"original",null),t=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,t,o),null!=t&&(t=String(t),this._sources.has(t)||this._sources.add(t)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:t,name:o})},t.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},t.prototype.applySourceMap=function(e,n,r){var t=n;if(null==n){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');t=e.file}var o=this._sourceRoot;null!=o&&(t=i.relative(o,t));var a=new s,u=new s;this._mappings.unsortedForEach(function(n){if(n.source===t&&null!=n.originalLine){var s=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=s.source&&(n.source=s.source,null!=r&&(n.source=i.join(r,n.source)),null!=o&&(n.source=i.relative(o,n.source)),n.originalLine=s.line,n.originalColumn=s.column,null!=s.name&&(n.name=s.name))}var l=n.source;null==l||a.has(l)||a.add(l);var c=n.name;null==c||u.has(c)||u.add(c)},this),this._sources=a,this._names=u,e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&(null!=r&&(n=i.join(r,n)),null!=o&&(n=i.relative(o,n)),this.setSourceContent(n,t))},this)},t.prototype._validateMapping=function(e,n,r,t){if(n&&"number"!=typeof n.line&&"number"!=typeof n.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||n||r||t)&&!(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:n,name:t}))},t.prototype._serializeMappings=function(){for(var e,n,r,t,s=0,a=1,u=0,l=0,c=0,g=0,p="",h=this._mappings.toArray(),f=0,d=h.length;f0){if(!i.compareByGeneratedPositionsInflated(n,h[f-1]))continue;e+=","}e+=o.encode(n.generatedColumn-s),s=n.generatedColumn,null!=n.source&&(t=this._sources.indexOf(n.source),e+=o.encode(t-g),g=t,e+=o.encode(n.originalLine-1-l),l=n.originalLine-1,e+=o.encode(n.originalColumn-u),u=n.originalColumn,null!=n.name&&(r=this._names.indexOf(n.name),e+=o.encode(r-c),c=r)),p+=e}return p},t.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=i.relative(n,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},t.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},t.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=t},function(e,n,r){function t(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var n=1===(1&e),r=e>>1;return n?-r:r}var i=r(3),s=5,a=1<>>=s,o>0&&(n|=l),r+=i.encode(n);while(o>0);return r},n.decode=function(e,n,r){var t,a,c=e.length,g=0,p=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(a=i.decode(e.charCodeAt(n++)),a===-1)throw new Error("Invalid base64 digit: "+e.charAt(n-1));t=!!(a&l),a&=u,g+=a<=0;c--)s=u[c],"."===s?u.splice(c,1):".."===s?l++:l>0&&(""===s?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return r=u.join("/"),""===r&&(r=a?"/":"."),i?(i.path=r,o(i)):r}function s(e,n){""===e&&(e="."),""===n&&(n=".");var r=t(n),s=t(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),o(r);if(r||n.match(_))return n;if(s&&!s.host&&!s.path)return s.host=n,o(s);var a="/"===n.charAt(0)?n:i(e.replace(/\/+$/,"")+"/"+n);return s?(s.path=a,o(s)):a}function a(e,n){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==n.indexOf(e+"/");){var t=e.lastIndexOf("/");if(t<0)return n;if(e=e.slice(0,t),e.match(/^([^\/]+:\/)?\/*$/))return n;++r}return Array(r+1).join("../")+n.substr(e.length+1)}function u(e){return e}function l(e){return g(e)?"$"+e:e}function c(e){return g(e)?e.slice(1):e}function g(e){if(!e)return!1;var n=e.length;if(n<9)return!1;if(95!==e.charCodeAt(n-1)||95!==e.charCodeAt(n-2)||111!==e.charCodeAt(n-3)||116!==e.charCodeAt(n-4)||111!==e.charCodeAt(n-5)||114!==e.charCodeAt(n-6)||112!==e.charCodeAt(n-7)||95!==e.charCodeAt(n-8)||95!==e.charCodeAt(n-9))return!1;for(var r=n-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,n,r){var t=e.source-n.source;return 0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t||r?t:(t=e.generatedColumn-n.generatedColumn,0!==t?t:(t=e.generatedLine-n.generatedLine,0!==t?t:e.name-n.name))))}function h(e,n,r){var t=e.generatedLine-n.generatedLine;return 0!==t?t:(t=e.generatedColumn-n.generatedColumn,0!==t||r?t:(t=e.source-n.source,0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t?t:e.name-n.name))))}function f(e,n){return e===n?0:e>n?1:-1}function d(e,n){var r=e.generatedLine-n.generatedLine;return 0!==r?r:(r=e.generatedColumn-n.generatedColumn,0!==r?r:(r=f(e.source,n.source),0!==r?r:(r=e.originalLine-n.originalLine,0!==r?r:(r=e.originalColumn-n.originalColumn,0!==r?r:f(e.name,n.name)))))}n.getArg=r;var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,_=/^data:.+\,.+$/;n.urlParse=t,n.urlGenerate=o,n.normalize=i,n.join=s,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(m)},n.relative=a;var v=function(){var e=Object.create(null);return!("__proto__"in e)}();n.toSetString=v?u:l,n.fromSetString=v?u:c,n.compareByOriginalPositions=p,n.compareByGeneratedPositionsDeflated=h,n.compareByGeneratedPositionsInflated=d},function(e,n,r){function t(){this._array=[],this._set=s?new Map:Object.create(null)}var o=r(4),i=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;t.fromArray=function(e,n){for(var r=new t,o=0,i=e.length;o=0)return n}else{var r=o.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},t.prototype.at=function(e){if(e>=0&&er||t==r&&s>=o||i.compareByGeneratedPositionsInflated(e,n)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=r(4);o.prototype.unsortedForEach=function(e,n){this._array.forEach(e,n)},o.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},function(e,n,r){function t(e){var n=e;return"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=n.sections?new s(n):new o(n)}function o(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),t=a.getArg(n,"sources"),o=a.getArg(n,"names",[]),i=a.getArg(n,"sourceRoot",null),s=a.getArg(n,"sourcesContent",null),u=a.getArg(n,"mappings"),c=a.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);t=t.map(String).map(a.normalize).map(function(e){return i&&a.isAbsolute(i)&&a.isAbsolute(e)?a.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(t,!0),this.sourceRoot=i,this.sourcesContent=s,this._mappings=u,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function s(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),o=a.getArg(n,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=a.getArg(e,"offset"),r=a.getArg(n,"line"),o=a.getArg(n,"column");if(r=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===n&&i.originalColumn==l;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return t},n.SourceMapConsumer=t,o.prototype=Object.create(t.prototype),o.prototype.consumer=t,o.fromSourceMap=function(e){var n=Object.create(o.prototype),r=n._names=l.fromArray(e._names.toArray(),!0),t=n._sources=l.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file;for(var s=e._mappings.toArray().slice(),u=n.__generatedMappings=[],c=n.__originalMappings=[],p=0,h=s.length;p1&&(r.source=d+o[1],d+=o[1],r.originalLine=h+o[2],h=r.originalLine,r.originalLine+=1,r.originalColumn=f+o[3],f=r.originalColumn,o.length>4&&(r.name=m+o[4],m+=o[4])),S.push(r),"number"==typeof r.originalLine&&A.push(r)}g(S,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,g(A,a.compareByOriginalPositions),this.__originalMappings=A},o.prototype._findMapping=function(e,n,r,t,o,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[t]);return u.search(e,n,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var i=a.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=a.join(this.sourceRoot,i)));var s=a.getArg(o,"name",null);return null!==s&&(s=this._names.at(s)),{source:i,line:a.getArg(o,"originalLine",null),column:a.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=a.urlParse(this.sourceRoot))){var t=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var n=a.getArg(e,"source");if(null!=this.sourceRoot&&(n=a.relative(this.sourceRoot,n)),!this._sources.has(n))return{line:null,column:null,lastColumn:null};n=this._sources.indexOf(n);var r={source:n,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",t.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===r.source)return{line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,s.prototype=Object.create(t.prototype),s.prototype.constructor=t,s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){for(var e=[],n=0;n0?t-u>1?r(u,t,o,i,s,a):a==n.LEAST_UPPER_BOUND?t1?r(e,u,o,i,s,a):a==n.LEAST_UPPER_BOUND?u:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var s=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===o(t[s],t[s-1],!0);)--s;return s}},function(e,n){function r(e,n,r){var t=e[n];e[n]=e[r],e[r]=t}function t(e,n){return Math.round(e+Math.random()*(n-e))}function o(e,n,i,s){if(i=0;n--)this.prepend(e[n]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},t.prototype.walk=function(e){for(var n,r=0,t=this.children.length;r0){for(n=[],r=0;r 0 && aGenerated.column >= 0\n\t && !aOriginal && !aSource && !aName) {\n\t // Case 1.\n\t return;\n\t }\n\t else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n\t && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n\t && aGenerated.line > 0 && aGenerated.column >= 0\n\t && aOriginal.line > 0 && aOriginal.column >= 0\n\t && aSource) {\n\t // Cases 2 and 3.\n\t return;\n\t }\n\t else {\n\t throw new Error('Invalid mapping: ' + JSON.stringify({\n\t generated: aGenerated,\n\t source: aSource,\n\t original: aOriginal,\n\t name: aName\n\t }));\n\t }\n\t };\n\t\n\t/**\n\t * Serialize the accumulated mappings in to the stream of base 64 VLQs\n\t * specified by the source map format.\n\t */\n\tSourceMapGenerator.prototype._serializeMappings =\n\t function SourceMapGenerator_serializeMappings() {\n\t var previousGeneratedColumn = 0;\n\t var previousGeneratedLine = 1;\n\t var previousOriginalColumn = 0;\n\t var previousOriginalLine = 0;\n\t var previousName = 0;\n\t var previousSource = 0;\n\t var result = '';\n\t var next;\n\t var mapping;\n\t var nameIdx;\n\t var sourceIdx;\n\t\n\t var mappings = this._mappings.toArray();\n\t for (var i = 0, len = mappings.length; i < len; i++) {\n\t mapping = mappings[i];\n\t next = ''\n\t\n\t if (mapping.generatedLine !== previousGeneratedLine) {\n\t previousGeneratedColumn = 0;\n\t while (mapping.generatedLine !== previousGeneratedLine) {\n\t next += ';';\n\t previousGeneratedLine++;\n\t }\n\t }\n\t else {\n\t if (i > 0) {\n\t if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n\t continue;\n\t }\n\t next += ',';\n\t }\n\t }\n\t\n\t next += base64VLQ.encode(mapping.generatedColumn\n\t - previousGeneratedColumn);\n\t previousGeneratedColumn = mapping.generatedColumn;\n\t\n\t if (mapping.source != null) {\n\t sourceIdx = this._sources.indexOf(mapping.source);\n\t next += base64VLQ.encode(sourceIdx - previousSource);\n\t previousSource = sourceIdx;\n\t\n\t // lines are stored 0-based in SourceMap spec version 3\n\t next += base64VLQ.encode(mapping.originalLine - 1\n\t - previousOriginalLine);\n\t previousOriginalLine = mapping.originalLine - 1;\n\t\n\t next += base64VLQ.encode(mapping.originalColumn\n\t - previousOriginalColumn);\n\t previousOriginalColumn = mapping.originalColumn;\n\t\n\t if (mapping.name != null) {\n\t nameIdx = this._names.indexOf(mapping.name);\n\t next += base64VLQ.encode(nameIdx - previousName);\n\t previousName = nameIdx;\n\t }\n\t }\n\t\n\t result += next;\n\t }\n\t\n\t return result;\n\t };\n\t\n\tSourceMapGenerator.prototype._generateSourcesContent =\n\t function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n\t return aSources.map(function (source) {\n\t if (!this._sourcesContents) {\n\t return null;\n\t }\n\t if (aSourceRoot != null) {\n\t source = util.relative(aSourceRoot, source);\n\t }\n\t var key = util.toSetString(source);\n\t return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n\t ? this._sourcesContents[key]\n\t : null;\n\t }, this);\n\t };\n\t\n\t/**\n\t * Externalize the source map.\n\t */\n\tSourceMapGenerator.prototype.toJSON =\n\t function SourceMapGenerator_toJSON() {\n\t var map = {\n\t version: this._version,\n\t sources: this._sources.toArray(),\n\t names: this._names.toArray(),\n\t mappings: this._serializeMappings()\n\t };\n\t if (this._file != null) {\n\t map.file = this._file;\n\t }\n\t if (this._sourceRoot != null) {\n\t map.sourceRoot = this._sourceRoot;\n\t }\n\t if (this._sourcesContents) {\n\t map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n\t }\n\t\n\t return map;\n\t };\n\t\n\t/**\n\t * Render the source map being generated to a string.\n\t */\n\tSourceMapGenerator.prototype.toString =\n\t function SourceMapGenerator_toString() {\n\t return JSON.stringify(this.toJSON());\n\t };\n\t\n\texports.SourceMapGenerator = SourceMapGenerator;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t *\n\t * Based on the Base 64 VLQ implementation in Closure Compiler:\n\t * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n\t *\n\t * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n\t * Redistribution and use in source and binary forms, with or without\n\t * modification, are permitted provided that the following conditions are\n\t * met:\n\t *\n\t * * Redistributions of source code must retain the above copyright\n\t * notice, this list of conditions and the following disclaimer.\n\t * * Redistributions in binary form must reproduce the above\n\t * copyright notice, this list of conditions and the following\n\t * disclaimer in the documentation and/or other materials provided\n\t * with the distribution.\n\t * * Neither the name of Google Inc. nor the names of its\n\t * contributors may be used to endorse or promote products derived\n\t * from this software without specific prior written permission.\n\t *\n\t * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\t * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\t * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\t * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\t * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\t * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\t * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\t * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\t * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\t * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t */\n\t\n\tvar base64 = __webpack_require__(3);\n\t\n\t// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n\t// length quantities we use in the source map spec, the first bit is the sign,\n\t// the next four bits are the actual value, and the 6th bit is the\n\t// continuation bit. The continuation bit tells us whether there are more\n\t// digits in this value following this digit.\n\t//\n\t// Continuation\n\t// | Sign\n\t// | |\n\t// V V\n\t// 101011\n\t\n\tvar VLQ_BASE_SHIFT = 5;\n\t\n\t// binary: 100000\n\tvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\t\n\t// binary: 011111\n\tvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\t\n\t// binary: 100000\n\tvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\t\n\t/**\n\t * Converts from a two-complement value to a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n\t * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n\t */\n\tfunction toVLQSigned(aValue) {\n\t return aValue < 0\n\t ? ((-aValue) << 1) + 1\n\t : (aValue << 1) + 0;\n\t}\n\t\n\t/**\n\t * Converts to a two-complement value from a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n\t * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n\t */\n\tfunction fromVLQSigned(aValue) {\n\t var isNegative = (aValue & 1) === 1;\n\t var shifted = aValue >> 1;\n\t return isNegative\n\t ? -shifted\n\t : shifted;\n\t}\n\t\n\t/**\n\t * Returns the base 64 VLQ encoded value.\n\t */\n\texports.encode = function base64VLQ_encode(aValue) {\n\t var encoded = \"\";\n\t var digit;\n\t\n\t var vlq = toVLQSigned(aValue);\n\t\n\t do {\n\t digit = vlq & VLQ_BASE_MASK;\n\t vlq >>>= VLQ_BASE_SHIFT;\n\t if (vlq > 0) {\n\t // There are still more digits in this value, so we must make sure the\n\t // continuation bit is marked.\n\t digit |= VLQ_CONTINUATION_BIT;\n\t }\n\t encoded += base64.encode(digit);\n\t } while (vlq > 0);\n\t\n\t return encoded;\n\t};\n\t\n\t/**\n\t * Decodes the next base 64 VLQ value from the given string and returns the\n\t * value and the rest of the string via the out parameter.\n\t */\n\texports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n\t var strLen = aStr.length;\n\t var result = 0;\n\t var shift = 0;\n\t var continuation, digit;\n\t\n\t do {\n\t if (aIndex >= strLen) {\n\t throw new Error(\"Expected more digits in base 64 VLQ value.\");\n\t }\n\t\n\t digit = base64.decode(aStr.charCodeAt(aIndex++));\n\t if (digit === -1) {\n\t throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n\t }\n\t\n\t continuation = !!(digit & VLQ_CONTINUATION_BIT);\n\t digit &= VLQ_BASE_MASK;\n\t result = result + (digit << shift);\n\t shift += VLQ_BASE_SHIFT;\n\t } while (continuation);\n\t\n\t aOutParam.value = fromVLQSigned(result);\n\t aOutParam.rest = aIndex;\n\t};\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\t\n\t/**\n\t * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n\t */\n\texports.encode = function (number) {\n\t if (0 <= number && number < intToCharMap.length) {\n\t return intToCharMap[number];\n\t }\n\t throw new TypeError(\"Must be between 0 and 63: \" + number);\n\t};\n\t\n\t/**\n\t * Decode a single base 64 character code digit to an integer. Returns -1 on\n\t * failure.\n\t */\n\texports.decode = function (charCode) {\n\t var bigA = 65; // 'A'\n\t var bigZ = 90; // 'Z'\n\t\n\t var littleA = 97; // 'a'\n\t var littleZ = 122; // 'z'\n\t\n\t var zero = 48; // '0'\n\t var nine = 57; // '9'\n\t\n\t var plus = 43; // '+'\n\t var slash = 47; // '/'\n\t\n\t var littleOffset = 26;\n\t var numberOffset = 52;\n\t\n\t // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n\t if (bigA <= charCode && charCode <= bigZ) {\n\t return (charCode - bigA);\n\t }\n\t\n\t // 26 - 51: abcdefghijklmnopqrstuvwxyz\n\t if (littleA <= charCode && charCode <= littleZ) {\n\t return (charCode - littleA + littleOffset);\n\t }\n\t\n\t // 52 - 61: 0123456789\n\t if (zero <= charCode && charCode <= nine) {\n\t return (charCode - zero + numberOffset);\n\t }\n\t\n\t // 62: +\n\t if (charCode == plus) {\n\t return 62;\n\t }\n\t\n\t // 63: /\n\t if (charCode == slash) {\n\t return 63;\n\t }\n\t\n\t // Invalid base64 digit.\n\t return -1;\n\t};\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\t/**\n\t * This is a helper function for getting values from parameter/options\n\t * objects.\n\t *\n\t * @param args The object we are extracting values from\n\t * @param name The name of the property we are getting.\n\t * @param defaultValue An optional value to return if the property is missing\n\t * from the object. If this is not specified and the property is missing, an\n\t * error will be thrown.\n\t */\n\tfunction getArg(aArgs, aName, aDefaultValue) {\n\t if (aName in aArgs) {\n\t return aArgs[aName];\n\t } else if (arguments.length === 3) {\n\t return aDefaultValue;\n\t } else {\n\t throw new Error('\"' + aName + '\" is a required argument.');\n\t }\n\t}\n\texports.getArg = getArg;\n\t\n\tvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\n\tvar dataUrlRegexp = /^data:.+\\,.+$/;\n\t\n\tfunction urlParse(aUrl) {\n\t var match = aUrl.match(urlRegexp);\n\t if (!match) {\n\t return null;\n\t }\n\t return {\n\t scheme: match[1],\n\t auth: match[2],\n\t host: match[3],\n\t port: match[4],\n\t path: match[5]\n\t };\n\t}\n\texports.urlParse = urlParse;\n\t\n\tfunction urlGenerate(aParsedUrl) {\n\t var url = '';\n\t if (aParsedUrl.scheme) {\n\t url += aParsedUrl.scheme + ':';\n\t }\n\t url += '//';\n\t if (aParsedUrl.auth) {\n\t url += aParsedUrl.auth + '@';\n\t }\n\t if (aParsedUrl.host) {\n\t url += aParsedUrl.host;\n\t }\n\t if (aParsedUrl.port) {\n\t url += \":\" + aParsedUrl.port\n\t }\n\t if (aParsedUrl.path) {\n\t url += aParsedUrl.path;\n\t }\n\t return url;\n\t}\n\texports.urlGenerate = urlGenerate;\n\t\n\t/**\n\t * Normalizes a path, or the path portion of a URL:\n\t *\n\t * - Replaces consecutive slashes with one slash.\n\t * - Removes unnecessary '.' parts.\n\t * - Removes unnecessary '/..' parts.\n\t *\n\t * Based on code in the Node.js 'path' core module.\n\t *\n\t * @param aPath The path or url to normalize.\n\t */\n\tfunction normalize(aPath) {\n\t var path = aPath;\n\t var url = urlParse(aPath);\n\t if (url) {\n\t if (!url.path) {\n\t return aPath;\n\t }\n\t path = url.path;\n\t }\n\t var isAbsolute = exports.isAbsolute(path);\n\t\n\t var parts = path.split(/\\/+/);\n\t for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n\t part = parts[i];\n\t if (part === '.') {\n\t parts.splice(i, 1);\n\t } else if (part === '..') {\n\t up++;\n\t } else if (up > 0) {\n\t if (part === '') {\n\t // The first part is blank if the path is absolute. Trying to go\n\t // above the root is a no-op. Therefore we can remove all '..' parts\n\t // directly after the root.\n\t parts.splice(i + 1, up);\n\t up = 0;\n\t } else {\n\t parts.splice(i, 2);\n\t up--;\n\t }\n\t }\n\t }\n\t path = parts.join('/');\n\t\n\t if (path === '') {\n\t path = isAbsolute ? '/' : '.';\n\t }\n\t\n\t if (url) {\n\t url.path = path;\n\t return urlGenerate(url);\n\t }\n\t return path;\n\t}\n\texports.normalize = normalize;\n\t\n\t/**\n\t * Joins two paths/URLs.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be joined with the root.\n\t *\n\t * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n\t * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n\t * first.\n\t * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n\t * is updated with the result and aRoot is returned. Otherwise the result\n\t * is returned.\n\t * - If aPath is absolute, the result is aPath.\n\t * - Otherwise the two paths are joined with a slash.\n\t * - Joining for example 'http://' and 'www.example.com' is also supported.\n\t */\n\tfunction join(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\t if (aPath === \"\") {\n\t aPath = \".\";\n\t }\n\t var aPathUrl = urlParse(aPath);\n\t var aRootUrl = urlParse(aRoot);\n\t if (aRootUrl) {\n\t aRoot = aRootUrl.path || '/';\n\t }\n\t\n\t // `join(foo, '//www.example.org')`\n\t if (aPathUrl && !aPathUrl.scheme) {\n\t if (aRootUrl) {\n\t aPathUrl.scheme = aRootUrl.scheme;\n\t }\n\t return urlGenerate(aPathUrl);\n\t }\n\t\n\t if (aPathUrl || aPath.match(dataUrlRegexp)) {\n\t return aPath;\n\t }\n\t\n\t // `join('http://', 'www.example.com')`\n\t if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n\t aRootUrl.host = aPath;\n\t return urlGenerate(aRootUrl);\n\t }\n\t\n\t var joined = aPath.charAt(0) === '/'\n\t ? aPath\n\t : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\t\n\t if (aRootUrl) {\n\t aRootUrl.path = joined;\n\t return urlGenerate(aRootUrl);\n\t }\n\t return joined;\n\t}\n\texports.join = join;\n\t\n\texports.isAbsolute = function (aPath) {\n\t return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n\t};\n\t\n\t/**\n\t * Make a path relative to a URL or another path.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be made relative to aRoot.\n\t */\n\tfunction relative(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\t\n\t aRoot = aRoot.replace(/\\/$/, '');\n\t\n\t // It is possible for the path to be above the root. In this case, simply\n\t // checking whether the root is a prefix of the path won't work. Instead, we\n\t // need to remove components from the root one by one, until either we find\n\t // a prefix that fits, or we run out of components to remove.\n\t var level = 0;\n\t while (aPath.indexOf(aRoot + '/') !== 0) {\n\t var index = aRoot.lastIndexOf(\"/\");\n\t if (index < 0) {\n\t return aPath;\n\t }\n\t\n\t // If the only part of the root that is left is the scheme (i.e. http://,\n\t // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n\t // have exhausted all components, so the path is not relative to the root.\n\t aRoot = aRoot.slice(0, index);\n\t if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n\t return aPath;\n\t }\n\t\n\t ++level;\n\t }\n\t\n\t // Make sure we add a \"../\" for each component we removed from the root.\n\t return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n\t}\n\texports.relative = relative;\n\t\n\tvar supportsNullProto = (function () {\n\t var obj = Object.create(null);\n\t return !('__proto__' in obj);\n\t}());\n\t\n\tfunction identity (s) {\n\t return s;\n\t}\n\t\n\t/**\n\t * Because behavior goes wacky when you set `__proto__` on objects, we\n\t * have to prefix all the strings in our set with an arbitrary character.\n\t *\n\t * See https://github.com/mozilla/source-map/pull/31 and\n\t * https://github.com/mozilla/source-map/issues/30\n\t *\n\t * @param String aStr\n\t */\n\tfunction toSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return '$' + aStr;\n\t }\n\t\n\t return aStr;\n\t}\n\texports.toSetString = supportsNullProto ? identity : toSetString;\n\t\n\tfunction fromSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return aStr.slice(1);\n\t }\n\t\n\t return aStr;\n\t}\n\texports.fromSetString = supportsNullProto ? identity : fromSetString;\n\t\n\tfunction isProtoString(s) {\n\t if (!s) {\n\t return false;\n\t }\n\t\n\t var length = s.length;\n\t\n\t if (length < 9 /* \"__proto__\".length */) {\n\t return false;\n\t }\n\t\n\t if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n\t s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n\t s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n\t s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 9) !== 95 /* '_' */) {\n\t return false;\n\t }\n\t\n\t for (var i = length - 10; i >= 0; i--) {\n\t if (s.charCodeAt(i) !== 36 /* '$' */) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\t/**\n\t * Comparator between two mappings where the original positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same original source/line/column, but different generated\n\t * line and column the same. Useful when searching for a mapping with a\n\t * stubbed out mapping.\n\t */\n\tfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n\t var cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0 || onlyCompareOriginal) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByOriginalPositions = compareByOriginalPositions;\n\t\n\t/**\n\t * Comparator between two mappings with deflated source and name indices where\n\t * the generated positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same generated line and column, but different\n\t * source/name/original line and column the same. Useful when searching for a\n\t * mapping with a stubbed out mapping.\n\t */\n\tfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0 || onlyCompareGenerated) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\t\n\tfunction strcmp(aStr1, aStr2) {\n\t if (aStr1 === aStr2) {\n\t return 0;\n\t }\n\t\n\t if (aStr1 > aStr2) {\n\t return 1;\n\t }\n\t\n\t return -1;\n\t}\n\t\n\t/**\n\t * Comparator between two mappings with inflated source and name strings where\n\t * the generated positions are compared.\n\t */\n\tfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = strcmp(mappingA.source, mappingB.source);\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return strcmp(mappingA.name, mappingB.name);\n\t}\n\texports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar hasNativeMap = typeof Map !== \"undefined\";\n\t\n\t/**\n\t * A data structure which is a combination of an array and a set. Adding a new\n\t * member is O(1), testing for membership is O(1), and finding the index of an\n\t * element is O(1). Removing elements from the set is not supported. Only\n\t * strings are supported for membership.\n\t */\n\tfunction ArraySet() {\n\t this._array = [];\n\t this._set = hasNativeMap ? new Map() : Object.create(null);\n\t}\n\t\n\t/**\n\t * Static method for creating ArraySet instances from an existing array.\n\t */\n\tArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n\t var set = new ArraySet();\n\t for (var i = 0, len = aArray.length; i < len; i++) {\n\t set.add(aArray[i], aAllowDuplicates);\n\t }\n\t return set;\n\t};\n\t\n\t/**\n\t * Return how many unique items are in this ArraySet. If duplicates have been\n\t * added, than those do not count towards the size.\n\t *\n\t * @returns Number\n\t */\n\tArraySet.prototype.size = function ArraySet_size() {\n\t return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n\t};\n\t\n\t/**\n\t * Add the given string to this set.\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n\t var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n\t var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n\t var idx = this._array.length;\n\t if (!isDuplicate || aAllowDuplicates) {\n\t this._array.push(aStr);\n\t }\n\t if (!isDuplicate) {\n\t if (hasNativeMap) {\n\t this._set.set(aStr, idx);\n\t } else {\n\t this._set[sStr] = idx;\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * Is the given string a member of this set?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.has = function ArraySet_has(aStr) {\n\t if (hasNativeMap) {\n\t return this._set.has(aStr);\n\t } else {\n\t var sStr = util.toSetString(aStr);\n\t return has.call(this._set, sStr);\n\t }\n\t};\n\t\n\t/**\n\t * What is the index of the given string in the array?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n\t if (hasNativeMap) {\n\t var idx = this._set.get(aStr);\n\t if (idx >= 0) {\n\t return idx;\n\t }\n\t } else {\n\t var sStr = util.toSetString(aStr);\n\t if (has.call(this._set, sStr)) {\n\t return this._set[sStr];\n\t }\n\t }\n\t\n\t throw new Error('\"' + aStr + '\" is not in the set.');\n\t};\n\t\n\t/**\n\t * What is the element at the given index?\n\t *\n\t * @param Number aIdx\n\t */\n\tArraySet.prototype.at = function ArraySet_at(aIdx) {\n\t if (aIdx >= 0 && aIdx < this._array.length) {\n\t return this._array[aIdx];\n\t }\n\t throw new Error('No element indexed by ' + aIdx);\n\t};\n\t\n\t/**\n\t * Returns the array representation of this set (which has the proper indices\n\t * indicated by indexOf). Note that this is a copy of the internal array used\n\t * for storing the members so that no one can mess with internal state.\n\t */\n\tArraySet.prototype.toArray = function ArraySet_toArray() {\n\t return this._array.slice();\n\t};\n\t\n\texports.ArraySet = ArraySet;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2014 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\t\n\t/**\n\t * Determine whether mappingB is after mappingA with respect to generated\n\t * position.\n\t */\n\tfunction generatedPositionAfter(mappingA, mappingB) {\n\t // Optimized for most common case\n\t var lineA = mappingA.generatedLine;\n\t var lineB = mappingB.generatedLine;\n\t var columnA = mappingA.generatedColumn;\n\t var columnB = mappingB.generatedColumn;\n\t return lineB > lineA || lineB == lineA && columnB >= columnA ||\n\t util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n\t}\n\t\n\t/**\n\t * A data structure to provide a sorted view of accumulated mappings in a\n\t * performance conscious manner. It trades a neglibable overhead in general\n\t * case for a large speedup in case of mappings being added in order.\n\t */\n\tfunction MappingList() {\n\t this._array = [];\n\t this._sorted = true;\n\t // Serves as infimum\n\t this._last = {generatedLine: -1, generatedColumn: 0};\n\t}\n\t\n\t/**\n\t * Iterate through internal items. This method takes the same arguments that\n\t * `Array.prototype.forEach` takes.\n\t *\n\t * NOTE: The order of the mappings is NOT guaranteed.\n\t */\n\tMappingList.prototype.unsortedForEach =\n\t function MappingList_forEach(aCallback, aThisArg) {\n\t this._array.forEach(aCallback, aThisArg);\n\t };\n\t\n\t/**\n\t * Add the given source mapping.\n\t *\n\t * @param Object aMapping\n\t */\n\tMappingList.prototype.add = function MappingList_add(aMapping) {\n\t if (generatedPositionAfter(this._last, aMapping)) {\n\t this._last = aMapping;\n\t this._array.push(aMapping);\n\t } else {\n\t this._sorted = false;\n\t this._array.push(aMapping);\n\t }\n\t};\n\t\n\t/**\n\t * Returns the flat, sorted array of mappings. The mappings are sorted by\n\t * generated position.\n\t *\n\t * WARNING: This method returns internal data without copying, for\n\t * performance. The return value must NOT be mutated, and should be treated as\n\t * an immutable borrow. If you want to take ownership, you must make your own\n\t * copy.\n\t */\n\tMappingList.prototype.toArray = function MappingList_toArray() {\n\t if (!this._sorted) {\n\t this._array.sort(util.compareByGeneratedPositionsInflated);\n\t this._sorted = true;\n\t }\n\t return this._array;\n\t};\n\t\n\texports.MappingList = MappingList;\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\tvar binarySearch = __webpack_require__(8);\n\tvar ArraySet = __webpack_require__(5).ArraySet;\n\tvar base64VLQ = __webpack_require__(2);\n\tvar quickSort = __webpack_require__(9).quickSort;\n\t\n\tfunction SourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t return sourceMap.sections != null\n\t ? new IndexedSourceMapConsumer(sourceMap)\n\t : new BasicSourceMapConsumer(sourceMap);\n\t}\n\t\n\tSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n\t return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n\t}\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tSourceMapConsumer.prototype._version = 3;\n\t\n\t// `__generatedMappings` and `__originalMappings` are arrays that hold the\n\t// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n\t// are lazily instantiated, accessed via the `_generatedMappings` and\n\t// `_originalMappings` getters respectively, and we only parse the mappings\n\t// and create these arrays once queried for a source location. We jump through\n\t// these hoops because there can be many thousands of mappings, and parsing\n\t// them is expensive, so we only want to do it if we must.\n\t//\n\t// Each object in the arrays is of the form:\n\t//\n\t// {\n\t// generatedLine: The line number in the generated code,\n\t// generatedColumn: The column number in the generated code,\n\t// source: The path to the original source file that generated this\n\t// chunk of code,\n\t// originalLine: The line number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// originalColumn: The column number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// name: The name of the original symbol which generated this chunk of\n\t// code.\n\t// }\n\t//\n\t// All properties except for `generatedLine` and `generatedColumn` can be\n\t// `null`.\n\t//\n\t// `_generatedMappings` is ordered by the generated positions.\n\t//\n\t// `_originalMappings` is ordered by the original positions.\n\t\n\tSourceMapConsumer.prototype.__generatedMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n\t get: function () {\n\t if (!this.__generatedMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\t\n\t return this.__generatedMappings;\n\t }\n\t});\n\t\n\tSourceMapConsumer.prototype.__originalMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n\t get: function () {\n\t if (!this.__originalMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\t\n\t return this.__originalMappings;\n\t }\n\t});\n\t\n\tSourceMapConsumer.prototype._charIsMappingSeparator =\n\t function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n\t var c = aStr.charAt(index);\n\t return c === \";\" || c === \",\";\n\t };\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t throw new Error(\"Subclasses must implement _parseMappings\");\n\t };\n\t\n\tSourceMapConsumer.GENERATED_ORDER = 1;\n\tSourceMapConsumer.ORIGINAL_ORDER = 2;\n\t\n\tSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\n\tSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\t\n\t/**\n\t * Iterate over each mapping between an original source/line/column and a\n\t * generated line/column in this source map.\n\t *\n\t * @param Function aCallback\n\t * The function that is called with each mapping.\n\t * @param Object aContext\n\t * Optional. If specified, this object will be the value of `this` every\n\t * time that `aCallback` is called.\n\t * @param aOrder\n\t * Either `SourceMapConsumer.GENERATED_ORDER` or\n\t * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n\t * iterate over the mappings sorted by the generated file's line/column\n\t * order or the original's source/line/column order, respectively. Defaults to\n\t * `SourceMapConsumer.GENERATED_ORDER`.\n\t */\n\tSourceMapConsumer.prototype.eachMapping =\n\t function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n\t var context = aContext || null;\n\t var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\t\n\t var mappings;\n\t switch (order) {\n\t case SourceMapConsumer.GENERATED_ORDER:\n\t mappings = this._generatedMappings;\n\t break;\n\t case SourceMapConsumer.ORIGINAL_ORDER:\n\t mappings = this._originalMappings;\n\t break;\n\t default:\n\t throw new Error(\"Unknown order of iteration.\");\n\t }\n\t\n\t var sourceRoot = this.sourceRoot;\n\t mappings.map(function (mapping) {\n\t var source = mapping.source === null ? null : this._sources.at(mapping.source);\n\t if (source != null && sourceRoot != null) {\n\t source = util.join(sourceRoot, source);\n\t }\n\t return {\n\t source: source,\n\t generatedLine: mapping.generatedLine,\n\t generatedColumn: mapping.generatedColumn,\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: mapping.name === null ? null : this._names.at(mapping.name)\n\t };\n\t }, this).forEach(aCallback, context);\n\t };\n\t\n\t/**\n\t * Returns all generated line and column information for the original source,\n\t * line, and column provided. If no column is provided, returns all mappings\n\t * corresponding to a either the line we are searching for or the next\n\t * closest line that has any mappings. Otherwise, returns all mappings\n\t * corresponding to the given line and either the column we are searching for\n\t * or the next closest column that has any offsets.\n\t *\n\t * The only argument is an object with the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: Optional. the column number in the original source.\n\t *\n\t * and an array of objects is returned, each with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tSourceMapConsumer.prototype.allGeneratedPositionsFor =\n\t function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n\t var line = util.getArg(aArgs, 'line');\n\t\n\t // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n\t // returns the index of the closest mapping less than the needle. By\n\t // setting needle.originalColumn to 0, we thus find the last mapping for\n\t // the given line, provided such a mapping exists.\n\t var needle = {\n\t source: util.getArg(aArgs, 'source'),\n\t originalLine: line,\n\t originalColumn: util.getArg(aArgs, 'column', 0)\n\t };\n\t\n\t if (this.sourceRoot != null) {\n\t needle.source = util.relative(this.sourceRoot, needle.source);\n\t }\n\t if (!this._sources.has(needle.source)) {\n\t return [];\n\t }\n\t needle.source = this._sources.indexOf(needle.source);\n\t\n\t var mappings = [];\n\t\n\t var index = this._findMapping(needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t binarySearch.LEAST_UPPER_BOUND);\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\t\n\t if (aArgs.column === undefined) {\n\t var originalLine = mapping.originalLine;\n\t\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we found. Since\n\t // mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we found.\n\t while (mapping && mapping.originalLine === originalLine) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\t\n\t mapping = this._originalMappings[++index];\n\t }\n\t } else {\n\t var originalColumn = mapping.originalColumn;\n\t\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we were searching for.\n\t // Since mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we are searching for.\n\t while (mapping &&\n\t mapping.originalLine === line &&\n\t mapping.originalColumn == originalColumn) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\t\n\t mapping = this._originalMappings[++index];\n\t }\n\t }\n\t }\n\t\n\t return mappings;\n\t };\n\t\n\texports.SourceMapConsumer = SourceMapConsumer;\n\t\n\t/**\n\t * A BasicSourceMapConsumer instance represents a parsed source map which we can\n\t * query for information about the original file positions by giving it a file\n\t * position in the generated source.\n\t *\n\t * The only parameter is the raw source map (either as a JSON string, or\n\t * already parsed to an object). According to the spec, source maps have the\n\t * following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - sources: An array of URLs to the original source files.\n\t * - names: An array of identifiers which can be referrenced by individual mappings.\n\t * - sourceRoot: Optional. The URL root from which all sources are relative.\n\t * - sourcesContent: Optional. An array of contents of the original source files.\n\t * - mappings: A string of base64 VLQs which contain the actual mappings.\n\t * - file: Optional. The generated file this source map is associated with.\n\t *\n\t * Here is an example source map, taken from the source map spec[0]:\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"out.js\",\n\t * sourceRoot : \"\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AA,AB;;ABCDE;\"\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n\t */\n\tfunction BasicSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t var version = util.getArg(sourceMap, 'version');\n\t var sources = util.getArg(sourceMap, 'sources');\n\t // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n\t // requires the array) to play nice here.\n\t var names = util.getArg(sourceMap, 'names', []);\n\t var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n\t var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n\t var mappings = util.getArg(sourceMap, 'mappings');\n\t var file = util.getArg(sourceMap, 'file', null);\n\t\n\t // Once again, Sass deviates from the spec and supplies the version as a\n\t // string rather than a number, so we use loose equality checking here.\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\t\n\t sources = sources\n\t .map(String)\n\t // Some source maps produce relative source paths like \"./foo.js\" instead of\n\t // \"foo.js\". Normalize these first so that future comparisons will succeed.\n\t // See bugzil.la/1090768.\n\t .map(util.normalize)\n\t // Always ensure that absolute sources are internally stored relative to\n\t // the source root, if the source root is absolute. Not doing this would\n\t // be particularly problematic when the source root is a prefix of the\n\t // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n\t .map(function (source) {\n\t return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n\t ? util.relative(sourceRoot, source)\n\t : source;\n\t });\n\t\n\t // Pass `true` below to allow duplicate names and sources. While source maps\n\t // are intended to be compressed and deduplicated, the TypeScript compiler\n\t // sometimes generates source maps with duplicates in them. See Github issue\n\t // #72 and bugzil.la/889492.\n\t this._names = ArraySet.fromArray(names.map(String), true);\n\t this._sources = ArraySet.fromArray(sources, true);\n\t\n\t this.sourceRoot = sourceRoot;\n\t this.sourcesContent = sourcesContent;\n\t this._mappings = mappings;\n\t this.file = file;\n\t}\n\t\n\tBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\t\n\t/**\n\t * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n\t *\n\t * @param SourceMapGenerator aSourceMap\n\t * The source map that will be consumed.\n\t * @returns BasicSourceMapConsumer\n\t */\n\tBasicSourceMapConsumer.fromSourceMap =\n\t function SourceMapConsumer_fromSourceMap(aSourceMap) {\n\t var smc = Object.create(BasicSourceMapConsumer.prototype);\n\t\n\t var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n\t var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n\t smc.sourceRoot = aSourceMap._sourceRoot;\n\t smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n\t smc.sourceRoot);\n\t smc.file = aSourceMap._file;\n\t\n\t // Because we are modifying the entries (by converting string sources and\n\t // names to indices into the sources and names ArraySets), we have to make\n\t // a copy of the entry or else bad things happen. Shared mutable state\n\t // strikes again! See github issue #191.\n\t\n\t var generatedMappings = aSourceMap._mappings.toArray().slice();\n\t var destGeneratedMappings = smc.__generatedMappings = [];\n\t var destOriginalMappings = smc.__originalMappings = [];\n\t\n\t for (var i = 0, length = generatedMappings.length; i < length; i++) {\n\t var srcMapping = generatedMappings[i];\n\t var destMapping = new Mapping;\n\t destMapping.generatedLine = srcMapping.generatedLine;\n\t destMapping.generatedColumn = srcMapping.generatedColumn;\n\t\n\t if (srcMapping.source) {\n\t destMapping.source = sources.indexOf(srcMapping.source);\n\t destMapping.originalLine = srcMapping.originalLine;\n\t destMapping.originalColumn = srcMapping.originalColumn;\n\t\n\t if (srcMapping.name) {\n\t destMapping.name = names.indexOf(srcMapping.name);\n\t }\n\t\n\t destOriginalMappings.push(destMapping);\n\t }\n\t\n\t destGeneratedMappings.push(destMapping);\n\t }\n\t\n\t quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\t\n\t return smc;\n\t };\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tBasicSourceMapConsumer.prototype._version = 3;\n\t\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t return this._sources.toArray().map(function (s) {\n\t return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n\t }, this);\n\t }\n\t});\n\t\n\t/**\n\t * Provide the JIT with a nice shape / hidden class.\n\t */\n\tfunction Mapping() {\n\t this.generatedLine = 0;\n\t this.generatedColumn = 0;\n\t this.source = null;\n\t this.originalLine = null;\n\t this.originalColumn = null;\n\t this.name = null;\n\t}\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tBasicSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t var generatedLine = 1;\n\t var previousGeneratedColumn = 0;\n\t var previousOriginalLine = 0;\n\t var previousOriginalColumn = 0;\n\t var previousSource = 0;\n\t var previousName = 0;\n\t var length = aStr.length;\n\t var index = 0;\n\t var cachedSegments = {};\n\t var temp = {};\n\t var originalMappings = [];\n\t var generatedMappings = [];\n\t var mapping, str, segment, end, value;\n\t\n\t while (index < length) {\n\t if (aStr.charAt(index) === ';') {\n\t generatedLine++;\n\t index++;\n\t previousGeneratedColumn = 0;\n\t }\n\t else if (aStr.charAt(index) === ',') {\n\t index++;\n\t }\n\t else {\n\t mapping = new Mapping();\n\t mapping.generatedLine = generatedLine;\n\t\n\t // Because each offset is encoded relative to the previous one,\n\t // many segments often have the same encoding. We can exploit this\n\t // fact by caching the parsed variable length fields of each segment,\n\t // allowing us to avoid a second parse if we encounter the same\n\t // segment again.\n\t for (end = index; end < length; end++) {\n\t if (this._charIsMappingSeparator(aStr, end)) {\n\t break;\n\t }\n\t }\n\t str = aStr.slice(index, end);\n\t\n\t segment = cachedSegments[str];\n\t if (segment) {\n\t index += str.length;\n\t } else {\n\t segment = [];\n\t while (index < end) {\n\t base64VLQ.decode(aStr, index, temp);\n\t value = temp.value;\n\t index = temp.rest;\n\t segment.push(value);\n\t }\n\t\n\t if (segment.length === 2) {\n\t throw new Error('Found a source, but no line and column');\n\t }\n\t\n\t if (segment.length === 3) {\n\t throw new Error('Found a source and line, but no column');\n\t }\n\t\n\t cachedSegments[str] = segment;\n\t }\n\t\n\t // Generated column.\n\t mapping.generatedColumn = previousGeneratedColumn + segment[0];\n\t previousGeneratedColumn = mapping.generatedColumn;\n\t\n\t if (segment.length > 1) {\n\t // Original source.\n\t mapping.source = previousSource + segment[1];\n\t previousSource += segment[1];\n\t\n\t // Original line.\n\t mapping.originalLine = previousOriginalLine + segment[2];\n\t previousOriginalLine = mapping.originalLine;\n\t // Lines are stored 0-based\n\t mapping.originalLine += 1;\n\t\n\t // Original column.\n\t mapping.originalColumn = previousOriginalColumn + segment[3];\n\t previousOriginalColumn = mapping.originalColumn;\n\t\n\t if (segment.length > 4) {\n\t // Original name.\n\t mapping.name = previousName + segment[4];\n\t previousName += segment[4];\n\t }\n\t }\n\t\n\t generatedMappings.push(mapping);\n\t if (typeof mapping.originalLine === 'number') {\n\t originalMappings.push(mapping);\n\t }\n\t }\n\t }\n\t\n\t quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t this.__generatedMappings = generatedMappings;\n\t\n\t quickSort(originalMappings, util.compareByOriginalPositions);\n\t this.__originalMappings = originalMappings;\n\t };\n\t\n\t/**\n\t * Find the mapping that best matches the hypothetical \"needle\" mapping that\n\t * we are searching for in the given \"haystack\" of mappings.\n\t */\n\tBasicSourceMapConsumer.prototype._findMapping =\n\t function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n\t aColumnName, aComparator, aBias) {\n\t // To return the position we are searching for, we must first find the\n\t // mapping for the given position and then return the opposite position it\n\t // points to. Because the mappings are sorted, we can use binary search to\n\t // find the best mapping.\n\t\n\t if (aNeedle[aLineName] <= 0) {\n\t throw new TypeError('Line must be greater than or equal to 1, got '\n\t + aNeedle[aLineName]);\n\t }\n\t if (aNeedle[aColumnName] < 0) {\n\t throw new TypeError('Column must be greater than or equal to 0, got '\n\t + aNeedle[aColumnName]);\n\t }\n\t\n\t return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n\t };\n\t\n\t/**\n\t * Compute the last column for each generated mapping. The last column is\n\t * inclusive.\n\t */\n\tBasicSourceMapConsumer.prototype.computeColumnSpans =\n\t function SourceMapConsumer_computeColumnSpans() {\n\t for (var index = 0; index < this._generatedMappings.length; ++index) {\n\t var mapping = this._generatedMappings[index];\n\t\n\t // Mappings do not contain a field for the last generated columnt. We\n\t // can come up with an optimistic estimate, however, by assuming that\n\t // mappings are contiguous (i.e. given two consecutive mappings, the\n\t // first mapping ends where the second one starts).\n\t if (index + 1 < this._generatedMappings.length) {\n\t var nextMapping = this._generatedMappings[index + 1];\n\t\n\t if (mapping.generatedLine === nextMapping.generatedLine) {\n\t mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n\t continue;\n\t }\n\t }\n\t\n\t // The last mapping for each line spans the entire line.\n\t mapping.lastGeneratedColumn = Infinity;\n\t }\n\t };\n\t\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.originalPositionFor =\n\t function SourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t var index = this._findMapping(\n\t needle,\n\t this._generatedMappings,\n\t \"generatedLine\",\n\t \"generatedColumn\",\n\t util.compareByGeneratedPositionsDeflated,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\t\n\t if (index >= 0) {\n\t var mapping = this._generatedMappings[index];\n\t\n\t if (mapping.generatedLine === needle.generatedLine) {\n\t var source = util.getArg(mapping, 'source', null);\n\t if (source !== null) {\n\t source = this._sources.at(source);\n\t if (this.sourceRoot != null) {\n\t source = util.join(this.sourceRoot, source);\n\t }\n\t }\n\t var name = util.getArg(mapping, 'name', null);\n\t if (name !== null) {\n\t name = this._names.at(name);\n\t }\n\t return {\n\t source: source,\n\t line: util.getArg(mapping, 'originalLine', null),\n\t column: util.getArg(mapping, 'originalColumn', null),\n\t name: name\n\t };\n\t }\n\t }\n\t\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t };\n\t\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function BasicSourceMapConsumer_hasContentsOfAllSources() {\n\t if (!this.sourcesContent) {\n\t return false;\n\t }\n\t return this.sourcesContent.length >= this._sources.size() &&\n\t !this.sourcesContent.some(function (sc) { return sc == null; });\n\t };\n\t\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tBasicSourceMapConsumer.prototype.sourceContentFor =\n\t function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t if (!this.sourcesContent) {\n\t return null;\n\t }\n\t\n\t if (this.sourceRoot != null) {\n\t aSource = util.relative(this.sourceRoot, aSource);\n\t }\n\t\n\t if (this._sources.has(aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(aSource)];\n\t }\n\t\n\t var url;\n\t if (this.sourceRoot != null\n\t && (url = util.urlParse(this.sourceRoot))) {\n\t // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n\t // many users. We can help them out when they expect file:// URIs to\n\t // behave like it would if they were running a local HTTP server. See\n\t // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n\t var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n\t if (url.scheme == \"file\"\n\t && this._sources.has(fileUriAbsPath)) {\n\t return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n\t }\n\t\n\t if ((!url.path || url.path == \"/\")\n\t && this._sources.has(\"/\" + aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n\t }\n\t }\n\t\n\t // This function is used recursively from\n\t // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n\t // don't want to throw if we can't find the source - we just want to\n\t // return null, so we provide a flag to exit gracefully.\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\t\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.generatedPositionFor =\n\t function SourceMapConsumer_generatedPositionFor(aArgs) {\n\t var source = util.getArg(aArgs, 'source');\n\t if (this.sourceRoot != null) {\n\t source = util.relative(this.sourceRoot, source);\n\t }\n\t if (!this._sources.has(source)) {\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t }\n\t source = this._sources.indexOf(source);\n\t\n\t var needle = {\n\t source: source,\n\t originalLine: util.getArg(aArgs, 'line'),\n\t originalColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t var index = this._findMapping(\n\t needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\t\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\t\n\t if (mapping.source === needle.source) {\n\t return {\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t };\n\t }\n\t }\n\t\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t };\n\t\n\texports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\t\n\t/**\n\t * An IndexedSourceMapConsumer instance represents a parsed source map which\n\t * we can query for information. It differs from BasicSourceMapConsumer in\n\t * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n\t * input.\n\t *\n\t * The only parameter is a raw source map (either as a JSON string, or already\n\t * parsed to an object). According to the spec for indexed source maps, they\n\t * have the following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - file: Optional. The generated file this source map is associated with.\n\t * - sections: A list of section definitions.\n\t *\n\t * Each value under the \"sections\" field has two fields:\n\t * - offset: The offset into the original specified at which this section\n\t * begins to apply, defined as an object with a \"line\" and \"column\"\n\t * field.\n\t * - map: A source map definition. This source map could also be indexed,\n\t * but doesn't have to be.\n\t *\n\t * Instead of the \"map\" field, it's also possible to have a \"url\" field\n\t * specifying a URL to retrieve a source map from, but that's currently\n\t * unsupported.\n\t *\n\t * Here's an example source map, taken from the source map spec[0], but\n\t * modified to omit a section which uses the \"url\" field.\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"app.js\",\n\t * sections: [{\n\t * offset: {line:100, column:10},\n\t * map: {\n\t * version : 3,\n\t * file: \"section.js\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AAAA,E;;ABCDE;\"\n\t * }\n\t * }],\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n\t */\n\tfunction IndexedSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t var version = util.getArg(sourceMap, 'version');\n\t var sections = util.getArg(sourceMap, 'sections');\n\t\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\t\n\t this._sources = new ArraySet();\n\t this._names = new ArraySet();\n\t\n\t var lastOffset = {\n\t line: -1,\n\t column: 0\n\t };\n\t this._sections = sections.map(function (s) {\n\t if (s.url) {\n\t // The url field will require support for asynchronicity.\n\t // See https://github.com/mozilla/source-map/issues/16\n\t throw new Error('Support for url field in sections not implemented.');\n\t }\n\t var offset = util.getArg(s, 'offset');\n\t var offsetLine = util.getArg(offset, 'line');\n\t var offsetColumn = util.getArg(offset, 'column');\n\t\n\t if (offsetLine < lastOffset.line ||\n\t (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n\t throw new Error('Section offsets must be ordered and non-overlapping.');\n\t }\n\t lastOffset = offset;\n\t\n\t return {\n\t generatedOffset: {\n\t // The offset fields are 0-based, but we use 1-based indices when\n\t // encoding/decoding from VLQ.\n\t generatedLine: offsetLine + 1,\n\t generatedColumn: offsetColumn + 1\n\t },\n\t consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n\t }\n\t });\n\t}\n\t\n\tIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tIndexedSourceMapConsumer.prototype._version = 3;\n\t\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t var sources = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n\t sources.push(this._sections[i].consumer.sources[j]);\n\t }\n\t }\n\t return sources;\n\t }\n\t});\n\t\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.originalPositionFor =\n\t function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t // Find the section containing the generated position we're trying to map\n\t // to an original position.\n\t var sectionIndex = binarySearch.search(needle, this._sections,\n\t function(needle, section) {\n\t var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n\t if (cmp) {\n\t return cmp;\n\t }\n\t\n\t return (needle.generatedColumn -\n\t section.generatedOffset.generatedColumn);\n\t });\n\t var section = this._sections[sectionIndex];\n\t\n\t if (!section) {\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t }\n\t\n\t return section.consumer.originalPositionFor({\n\t line: needle.generatedLine -\n\t (section.generatedOffset.generatedLine - 1),\n\t column: needle.generatedColumn -\n\t (section.generatedOffset.generatedLine === needle.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t bias: aArgs.bias\n\t });\n\t };\n\t\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n\t return this._sections.every(function (s) {\n\t return s.consumer.hasContentsOfAllSources();\n\t });\n\t };\n\t\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tIndexedSourceMapConsumer.prototype.sourceContentFor =\n\t function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t\n\t var content = section.consumer.sourceContentFor(aSource, true);\n\t if (content) {\n\t return content;\n\t }\n\t }\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\t\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.generatedPositionFor =\n\t function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t\n\t // Only consider this section if the requested source is in the list of\n\t // sources of the consumer.\n\t if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n\t continue;\n\t }\n\t var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n\t if (generatedPosition) {\n\t var ret = {\n\t line: generatedPosition.line +\n\t (section.generatedOffset.generatedLine - 1),\n\t column: generatedPosition.column +\n\t (section.generatedOffset.generatedLine === generatedPosition.line\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0)\n\t };\n\t return ret;\n\t }\n\t }\n\t\n\t return {\n\t line: null,\n\t column: null\n\t };\n\t };\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tIndexedSourceMapConsumer.prototype._parseMappings =\n\t function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t this.__generatedMappings = [];\n\t this.__originalMappings = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t var sectionMappings = section.consumer._generatedMappings;\n\t for (var j = 0; j < sectionMappings.length; j++) {\n\t var mapping = sectionMappings[j];\n\t\n\t var source = section.consumer._sources.at(mapping.source);\n\t if (section.consumer.sourceRoot !== null) {\n\t source = util.join(section.consumer.sourceRoot, source);\n\t }\n\t this._sources.add(source);\n\t source = this._sources.indexOf(source);\n\t\n\t var name = section.consumer._names.at(mapping.name);\n\t this._names.add(name);\n\t name = this._names.indexOf(name);\n\t\n\t // The mappings coming from the consumer for the section have\n\t // generated positions relative to the start of the section, so we\n\t // need to offset them to be relative to the start of the concatenated\n\t // generated file.\n\t var adjustedMapping = {\n\t source: source,\n\t generatedLine: mapping.generatedLine +\n\t (section.generatedOffset.generatedLine - 1),\n\t generatedColumn: mapping.generatedColumn +\n\t (section.generatedOffset.generatedLine === mapping.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: name\n\t };\n\t\n\t this.__generatedMappings.push(adjustedMapping);\n\t if (typeof adjustedMapping.originalLine === 'number') {\n\t this.__originalMappings.push(adjustedMapping);\n\t }\n\t }\n\t }\n\t\n\t quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t quickSort(this.__originalMappings, util.compareByOriginalPositions);\n\t };\n\t\n\texports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\texports.GREATEST_LOWER_BOUND = 1;\n\texports.LEAST_UPPER_BOUND = 2;\n\t\n\t/**\n\t * Recursive implementation of binary search.\n\t *\n\t * @param aLow Indices here and lower do not contain the needle.\n\t * @param aHigh Indices here and higher do not contain the needle.\n\t * @param aNeedle The element being searched for.\n\t * @param aHaystack The non-empty array being searched.\n\t * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t */\n\tfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n\t // This function terminates when one of the following is true:\n\t //\n\t // 1. We find the exact element we are looking for.\n\t //\n\t // 2. We did not find the exact element, but we can return the index of\n\t // the next-closest element.\n\t //\n\t // 3. We did not find the exact element, and there is no next-closest\n\t // element than the one we are searching for, so we return -1.\n\t var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n\t var cmp = aCompare(aNeedle, aHaystack[mid], true);\n\t if (cmp === 0) {\n\t // Found the element we are looking for.\n\t return mid;\n\t }\n\t else if (cmp > 0) {\n\t // Our needle is greater than aHaystack[mid].\n\t if (aHigh - mid > 1) {\n\t // The element is in the upper half.\n\t return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\t\n\t // The exact needle element was not found in this haystack. Determine if\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return aHigh < aHaystack.length ? aHigh : -1;\n\t } else {\n\t return mid;\n\t }\n\t }\n\t else {\n\t // Our needle is less than aHaystack[mid].\n\t if (mid - aLow > 1) {\n\t // The element is in the lower half.\n\t return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\t\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return mid;\n\t } else {\n\t return aLow < 0 ? -1 : aLow;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * This is an implementation of binary search which will always try and return\n\t * the index of the closest element if there is no exact hit. This is because\n\t * mappings between original and generated line/col pairs are single points,\n\t * and there is an implicit region between each of them, so a miss just means\n\t * that you aren't on the very start of a region.\n\t *\n\t * @param aNeedle The element you are looking for.\n\t * @param aHaystack The array that is being searched.\n\t * @param aCompare A function which takes the needle and an element in the\n\t * array and returns -1, 0, or 1 depending on whether the needle is less\n\t * than, equal to, or greater than the element, respectively.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n\t */\n\texports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n\t if (aHaystack.length === 0) {\n\t return -1;\n\t }\n\t\n\t var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n\t aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n\t if (index < 0) {\n\t return -1;\n\t }\n\t\n\t // We have found either the exact element, or the next-closest element than\n\t // the one we are searching for. However, there may be more than one such\n\t // element. Make sure we always return the smallest of these.\n\t while (index - 1 >= 0) {\n\t if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n\t break;\n\t }\n\t --index;\n\t }\n\t\n\t return index;\n\t};\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\t// It turns out that some (most?) JavaScript engines don't self-host\n\t// `Array.prototype.sort`. This makes sense because C++ will likely remain\n\t// faster than JS when doing raw CPU-intensive sorting. However, when using a\n\t// custom comparator function, calling back and forth between the VM's C++ and\n\t// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n\t// worse generated code for the comparator function than would be optimal. In\n\t// fact, when sorting with a comparator, these costs outweigh the benefits of\n\t// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n\t// a ~3500ms mean speed-up in `bench/bench.html`.\n\t\n\t/**\n\t * Swap the elements indexed by `x` and `y` in the array `ary`.\n\t *\n\t * @param {Array} ary\n\t * The array.\n\t * @param {Number} x\n\t * The index of the first item.\n\t * @param {Number} y\n\t * The index of the second item.\n\t */\n\tfunction swap(ary, x, y) {\n\t var temp = ary[x];\n\t ary[x] = ary[y];\n\t ary[y] = temp;\n\t}\n\t\n\t/**\n\t * Returns a random integer within the range `low .. high` inclusive.\n\t *\n\t * @param {Number} low\n\t * The lower bound on the range.\n\t * @param {Number} high\n\t * The upper bound on the range.\n\t */\n\tfunction randomIntInRange(low, high) {\n\t return Math.round(low + (Math.random() * (high - low)));\n\t}\n\t\n\t/**\n\t * The Quick Sort algorithm.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t * @param {Number} p\n\t * Start index of the array\n\t * @param {Number} r\n\t * End index of the array\n\t */\n\tfunction doQuickSort(ary, comparator, p, r) {\n\t // If our lower bound is less than our upper bound, we (1) partition the\n\t // array into two pieces and (2) recurse on each half. If it is not, this is\n\t // the empty array and our base case.\n\t\n\t if (p < r) {\n\t // (1) Partitioning.\n\t //\n\t // The partitioning chooses a pivot between `p` and `r` and moves all\n\t // elements that are less than or equal to the pivot to the before it, and\n\t // all the elements that are greater than it after it. The effect is that\n\t // once partition is done, the pivot is in the exact place it will be when\n\t // the array is put in sorted order, and it will not need to be moved\n\t // again. This runs in O(n) time.\n\t\n\t // Always choose a random pivot so that an input array which is reverse\n\t // sorted does not cause O(n^2) running time.\n\t var pivotIndex = randomIntInRange(p, r);\n\t var i = p - 1;\n\t\n\t swap(ary, pivotIndex, r);\n\t var pivot = ary[r];\n\t\n\t // Immediately after `j` is incremented in this loop, the following hold\n\t // true:\n\t //\n\t // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n\t //\n\t // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n\t for (var j = p; j < r; j++) {\n\t if (comparator(ary[j], pivot) <= 0) {\n\t i += 1;\n\t swap(ary, i, j);\n\t }\n\t }\n\t\n\t swap(ary, i + 1, j);\n\t var q = i + 1;\n\t\n\t // (2) Recurse on each half.\n\t\n\t doQuickSort(ary, comparator, p, q - 1);\n\t doQuickSort(ary, comparator, q + 1, r);\n\t }\n\t}\n\t\n\t/**\n\t * Sort the given array in-place with the given comparator function.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t */\n\texports.quickSort = function (ary, comparator) {\n\t doQuickSort(ary, comparator, 0, ary.length - 1);\n\t};\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;\n\tvar util = __webpack_require__(4);\n\t\n\t// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n\t// operating systems these days (capturing the result).\n\tvar REGEX_NEWLINE = /(\\r?\\n)/;\n\t\n\t// Newline character code for charCodeAt() comparisons\n\tvar NEWLINE_CODE = 10;\n\t\n\t// Private symbol for identifying `SourceNode`s when multiple versions of\n\t// the source-map library are loaded. This MUST NOT CHANGE across\n\t// versions!\n\tvar isSourceNode = \"$$$isSourceNode$$$\";\n\t\n\t/**\n\t * SourceNodes provide a way to abstract over interpolating/concatenating\n\t * snippets of generated JavaScript source code while maintaining the line and\n\t * column information associated with the original source code.\n\t *\n\t * @param aLine The original line number.\n\t * @param aColumn The original column number.\n\t * @param aSource The original source's filename.\n\t * @param aChunks Optional. An array of strings which are snippets of\n\t * generated JS, or other SourceNodes.\n\t * @param aName The original identifier.\n\t */\n\tfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n\t this.children = [];\n\t this.sourceContents = {};\n\t this.line = aLine == null ? null : aLine;\n\t this.column = aColumn == null ? null : aColumn;\n\t this.source = aSource == null ? null : aSource;\n\t this.name = aName == null ? null : aName;\n\t this[isSourceNode] = true;\n\t if (aChunks != null) this.add(aChunks);\n\t}\n\t\n\t/**\n\t * Creates a SourceNode from generated code and a SourceMapConsumer.\n\t *\n\t * @param aGeneratedCode The generated code\n\t * @param aSourceMapConsumer The SourceMap for the generated code\n\t * @param aRelativePath Optional. The path that relative sources in the\n\t * SourceMapConsumer should be relative to.\n\t */\n\tSourceNode.fromStringWithSourceMap =\n\t function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n\t // The SourceNode we want to fill with the generated code\n\t // and the SourceMap\n\t var node = new SourceNode();\n\t\n\t // All even indices of this array are one line of the generated code,\n\t // while all odd indices are the newlines between two adjacent lines\n\t // (since `REGEX_NEWLINE` captures its match).\n\t // Processed fragments are accessed by calling `shiftNextLine`.\n\t var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n\t var remainingLinesIndex = 0;\n\t var shiftNextLine = function() {\n\t var lineContents = getNextLine();\n\t // The last line of a file might not have a newline.\n\t var newLine = getNextLine() || \"\";\n\t return lineContents + newLine;\n\t\n\t function getNextLine() {\n\t return remainingLinesIndex < remainingLines.length ?\n\t remainingLines[remainingLinesIndex++] : undefined;\n\t }\n\t };\n\t\n\t // We need to remember the position of \"remainingLines\"\n\t var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\t\n\t // The generate SourceNodes we need a code range.\n\t // To extract it current and last mapping is used.\n\t // Here we store the last mapping.\n\t var lastMapping = null;\n\t\n\t aSourceMapConsumer.eachMapping(function (mapping) {\n\t if (lastMapping !== null) {\n\t // We add the code from \"lastMapping\" to \"mapping\":\n\t // First check if there is a new line in between.\n\t if (lastGeneratedLine < mapping.generatedLine) {\n\t // Associate first line with \"lastMapping\"\n\t addMappingWithCode(lastMapping, shiftNextLine());\n\t lastGeneratedLine++;\n\t lastGeneratedColumn = 0;\n\t // The remaining code is added without mapping\n\t } else {\n\t // There is no new line in between.\n\t // Associate the code between \"lastGeneratedColumn\" and\n\t // \"mapping.generatedColumn\" with \"lastMapping\"\n\t var nextLine = remainingLines[remainingLinesIndex];\n\t var code = nextLine.substr(0, mapping.generatedColumn -\n\t lastGeneratedColumn);\n\t remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n\t lastGeneratedColumn);\n\t lastGeneratedColumn = mapping.generatedColumn;\n\t addMappingWithCode(lastMapping, code);\n\t // No more remaining code, continue\n\t lastMapping = mapping;\n\t return;\n\t }\n\t }\n\t // We add the generated code until the first mapping\n\t // to the SourceNode without any mapping.\n\t // Each line is added as separate string.\n\t while (lastGeneratedLine < mapping.generatedLine) {\n\t node.add(shiftNextLine());\n\t lastGeneratedLine++;\n\t }\n\t if (lastGeneratedColumn < mapping.generatedColumn) {\n\t var nextLine = remainingLines[remainingLinesIndex];\n\t node.add(nextLine.substr(0, mapping.generatedColumn));\n\t remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n\t lastGeneratedColumn = mapping.generatedColumn;\n\t }\n\t lastMapping = mapping;\n\t }, this);\n\t // We have processed all mappings.\n\t if (remainingLinesIndex < remainingLines.length) {\n\t if (lastMapping) {\n\t // Associate the remaining code in the current line with \"lastMapping\"\n\t addMappingWithCode(lastMapping, shiftNextLine());\n\t }\n\t // and add the remaining lines without any mapping\n\t node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n\t }\n\t\n\t // Copy sourcesContent into SourceNode\n\t aSourceMapConsumer.sources.forEach(function (sourceFile) {\n\t var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n\t if (content != null) {\n\t if (aRelativePath != null) {\n\t sourceFile = util.join(aRelativePath, sourceFile);\n\t }\n\t node.setSourceContent(sourceFile, content);\n\t }\n\t });\n\t\n\t return node;\n\t\n\t function addMappingWithCode(mapping, code) {\n\t if (mapping === null || mapping.source === undefined) {\n\t node.add(code);\n\t } else {\n\t var source = aRelativePath\n\t ? util.join(aRelativePath, mapping.source)\n\t : mapping.source;\n\t node.add(new SourceNode(mapping.originalLine,\n\t mapping.originalColumn,\n\t source,\n\t code,\n\t mapping.name));\n\t }\n\t }\n\t };\n\t\n\t/**\n\t * Add a chunk of generated JS to this source node.\n\t *\n\t * @param aChunk A string snippet of generated JS code, another instance of\n\t * SourceNode, or an array where each member is one of those things.\n\t */\n\tSourceNode.prototype.add = function SourceNode_add(aChunk) {\n\t if (Array.isArray(aChunk)) {\n\t aChunk.forEach(function (chunk) {\n\t this.add(chunk);\n\t }, this);\n\t }\n\t else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n\t if (aChunk) {\n\t this.children.push(aChunk);\n\t }\n\t }\n\t else {\n\t throw new TypeError(\n\t \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t );\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Add a chunk of generated JS to the beginning of this source node.\n\t *\n\t * @param aChunk A string snippet of generated JS code, another instance of\n\t * SourceNode, or an array where each member is one of those things.\n\t */\n\tSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n\t if (Array.isArray(aChunk)) {\n\t for (var i = aChunk.length-1; i >= 0; i--) {\n\t this.prepend(aChunk[i]);\n\t }\n\t }\n\t else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n\t this.children.unshift(aChunk);\n\t }\n\t else {\n\t throw new TypeError(\n\t \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t );\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Walk over the tree of JS snippets in this node and its children. The\n\t * walking function is called once for each snippet of JS and is passed that\n\t * snippet and the its original associated source's line/column location.\n\t *\n\t * @param aFn The traversal function.\n\t */\n\tSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n\t var chunk;\n\t for (var i = 0, len = this.children.length; i < len; i++) {\n\t chunk = this.children[i];\n\t if (chunk[isSourceNode]) {\n\t chunk.walk(aFn);\n\t }\n\t else {\n\t if (chunk !== '') {\n\t aFn(chunk, { source: this.source,\n\t line: this.line,\n\t column: this.column,\n\t name: this.name });\n\t }\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n\t * each of `this.children`.\n\t *\n\t * @param aSep The separator.\n\t */\n\tSourceNode.prototype.join = function SourceNode_join(aSep) {\n\t var newChildren;\n\t var i;\n\t var len = this.children.length;\n\t if (len > 0) {\n\t newChildren = [];\n\t for (i = 0; i < len-1; i++) {\n\t newChildren.push(this.children[i]);\n\t newChildren.push(aSep);\n\t }\n\t newChildren.push(this.children[i]);\n\t this.children = newChildren;\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Call String.prototype.replace on the very right-most source snippet. Useful\n\t * for trimming whitespace from the end of a source node, etc.\n\t *\n\t * @param aPattern The pattern to replace.\n\t * @param aReplacement The thing to replace the pattern with.\n\t */\n\tSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n\t var lastChild = this.children[this.children.length - 1];\n\t if (lastChild[isSourceNode]) {\n\t lastChild.replaceRight(aPattern, aReplacement);\n\t }\n\t else if (typeof lastChild === 'string') {\n\t this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n\t }\n\t else {\n\t this.children.push(''.replace(aPattern, aReplacement));\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Set the source content for a source file. This will be added to the SourceMapGenerator\n\t * in the sourcesContent field.\n\t *\n\t * @param aSourceFile The filename of the source file\n\t * @param aSourceContent The content of the source file\n\t */\n\tSourceNode.prototype.setSourceContent =\n\t function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n\t this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n\t };\n\t\n\t/**\n\t * Walk over the tree of SourceNodes. The walking function is called for each\n\t * source file content and is passed the filename and source content.\n\t *\n\t * @param aFn The traversal function.\n\t */\n\tSourceNode.prototype.walkSourceContents =\n\t function SourceNode_walkSourceContents(aFn) {\n\t for (var i = 0, len = this.children.length; i < len; i++) {\n\t if (this.children[i][isSourceNode]) {\n\t this.children[i].walkSourceContents(aFn);\n\t }\n\t }\n\t\n\t var sources = Object.keys(this.sourceContents);\n\t for (var i = 0, len = sources.length; i < len; i++) {\n\t aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n\t }\n\t };\n\t\n\t/**\n\t * Return the string representation of this source node. Walks over the tree\n\t * and concatenates all the various snippets together to one string.\n\t */\n\tSourceNode.prototype.toString = function SourceNode_toString() {\n\t var str = \"\";\n\t this.walk(function (chunk) {\n\t str += chunk;\n\t });\n\t return str;\n\t};\n\t\n\t/**\n\t * Returns the string representation of this source node along with a source\n\t * map.\n\t */\n\tSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n\t var generated = {\n\t code: \"\",\n\t line: 1,\n\t column: 0\n\t };\n\t var map = new SourceMapGenerator(aArgs);\n\t var sourceMappingActive = false;\n\t var lastOriginalSource = null;\n\t var lastOriginalLine = null;\n\t var lastOriginalColumn = null;\n\t var lastOriginalName = null;\n\t this.walk(function (chunk, original) {\n\t generated.code += chunk;\n\t if (original.source !== null\n\t && original.line !== null\n\t && original.column !== null) {\n\t if(lastOriginalSource !== original.source\n\t || lastOriginalLine !== original.line\n\t || lastOriginalColumn !== original.column\n\t || lastOriginalName !== original.name) {\n\t map.addMapping({\n\t source: original.source,\n\t original: {\n\t line: original.line,\n\t column: original.column\n\t },\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t },\n\t name: original.name\n\t });\n\t }\n\t lastOriginalSource = original.source;\n\t lastOriginalLine = original.line;\n\t lastOriginalColumn = original.column;\n\t lastOriginalName = original.name;\n\t sourceMappingActive = true;\n\t } else if (sourceMappingActive) {\n\t map.addMapping({\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t }\n\t });\n\t lastOriginalSource = null;\n\t sourceMappingActive = false;\n\t }\n\t for (var idx = 0, length = chunk.length; idx < length; idx++) {\n\t if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n\t generated.line++;\n\t generated.column = 0;\n\t // Mappings end at eol\n\t if (idx + 1 === length) {\n\t lastOriginalSource = null;\n\t sourceMappingActive = false;\n\t } else if (sourceMappingActive) {\n\t map.addMapping({\n\t source: original.source,\n\t original: {\n\t line: original.line,\n\t column: original.column\n\t },\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t },\n\t name: original.name\n\t });\n\t }\n\t } else {\n\t generated.column++;\n\t }\n\t }\n\t });\n\t this.walkSourceContents(function (sourceFile, sourceContent) {\n\t map.setSourceContent(sourceFile, sourceContent);\n\t });\n\t\n\t return { code: generated.code, map: map };\n\t};\n\t\n\texports.SourceNode = SourceNode;\n\n\n/***/ })\n/******/ ])\n});\n;\n\n\n// WEBPACK FOOTER //\n// source-map.min.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 42c329f865e32e011afb","/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator;\nexports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;\nexports.SourceNode = require('./lib/source-node').SourceNode;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./source-map.js\n// module id = 0\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar base64VLQ = require('./base64-vlq');\nvar util = require('./util');\nvar ArraySet = require('./array-set').ArraySet;\nvar MappingList = require('./mapping-list').MappingList;\n\n/**\n * An instance of the SourceMapGenerator represents a source map which is\n * being built incrementally. You may pass an object with the following\n * properties:\n *\n * - file: The filename of the generated source.\n * - sourceRoot: A root for all relative URLs in this source map.\n */\nfunction SourceMapGenerator(aArgs) {\n if (!aArgs) {\n aArgs = {};\n }\n this._file = util.getArg(aArgs, 'file', null);\n this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n this._skipValidation = util.getArg(aArgs, 'skipValidation', false);\n this._sources = new ArraySet();\n this._names = new ArraySet();\n this._mappings = new MappingList();\n this._sourcesContents = null;\n}\n\nSourceMapGenerator.prototype._version = 3;\n\n/**\n * Creates a new SourceMapGenerator based on a SourceMapConsumer\n *\n * @param aSourceMapConsumer The SourceMap.\n */\nSourceMapGenerator.fromSourceMap =\n function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {\n var sourceRoot = aSourceMapConsumer.sourceRoot;\n var generator = new SourceMapGenerator({\n file: aSourceMapConsumer.file,\n sourceRoot: sourceRoot\n });\n aSourceMapConsumer.eachMapping(function (mapping) {\n var newMapping = {\n generated: {\n line: mapping.generatedLine,\n column: mapping.generatedColumn\n }\n };\n\n if (mapping.source != null) {\n newMapping.source = mapping.source;\n if (sourceRoot != null) {\n newMapping.source = util.relative(sourceRoot, newMapping.source);\n }\n\n newMapping.original = {\n line: mapping.originalLine,\n column: mapping.originalColumn\n };\n\n if (mapping.name != null) {\n newMapping.name = mapping.name;\n }\n }\n\n generator.addMapping(newMapping);\n });\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n generator.setSourceContent(sourceFile, content);\n }\n });\n return generator;\n };\n\n/**\n * Add a single mapping from original source line and column to the generated\n * source's line and column for this source map being created. The mapping\n * object should have the following properties:\n *\n * - generated: An object with the generated line and column positions.\n * - original: An object with the original line and column positions.\n * - source: The original source file (relative to the sourceRoot).\n * - name: An optional original token name for this mapping.\n */\nSourceMapGenerator.prototype.addMapping =\n function SourceMapGenerator_addMapping(aArgs) {\n var generated = util.getArg(aArgs, 'generated');\n var original = util.getArg(aArgs, 'original', null);\n var source = util.getArg(aArgs, 'source', null);\n var name = util.getArg(aArgs, 'name', null);\n\n if (!this._skipValidation) {\n this._validateMapping(generated, original, source, name);\n }\n\n if (source != null) {\n source = String(source);\n if (!this._sources.has(source)) {\n this._sources.add(source);\n }\n }\n\n if (name != null) {\n name = String(name);\n if (!this._names.has(name)) {\n this._names.add(name);\n }\n }\n\n this._mappings.add({\n generatedLine: generated.line,\n generatedColumn: generated.column,\n originalLine: original != null && original.line,\n originalColumn: original != null && original.column,\n source: source,\n name: name\n });\n };\n\n/**\n * Set the source content for a source file.\n */\nSourceMapGenerator.prototype.setSourceContent =\n function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {\n var source = aSourceFile;\n if (this._sourceRoot != null) {\n source = util.relative(this._sourceRoot, source);\n }\n\n if (aSourceContent != null) {\n // Add the source content to the _sourcesContents map.\n // Create a new _sourcesContents map if the property is null.\n if (!this._sourcesContents) {\n this._sourcesContents = Object.create(null);\n }\n this._sourcesContents[util.toSetString(source)] = aSourceContent;\n } else if (this._sourcesContents) {\n // Remove the source file from the _sourcesContents map.\n // If the _sourcesContents map is empty, set the property to null.\n delete this._sourcesContents[util.toSetString(source)];\n if (Object.keys(this._sourcesContents).length === 0) {\n this._sourcesContents = null;\n }\n }\n };\n\n/**\n * Applies the mappings of a sub-source-map for a specific source file to the\n * source map being generated. Each mapping to the supplied source file is\n * rewritten using the supplied source map. Note: The resolution for the\n * resulting mappings is the minimium of this map and the supplied map.\n *\n * @param aSourceMapConsumer The source map to be applied.\n * @param aSourceFile Optional. The filename of the source file.\n * If omitted, SourceMapConsumer's file property will be used.\n * @param aSourceMapPath Optional. The dirname of the path to the source map\n * to be applied. If relative, it is relative to the SourceMapConsumer.\n * This parameter is needed when the two source maps aren't in the same\n * directory, and the source map to be applied contains relative source\n * paths. If so, those relative source paths need to be rewritten\n * relative to the SourceMapGenerator.\n */\nSourceMapGenerator.prototype.applySourceMap =\n function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {\n var sourceFile = aSourceFile;\n // If aSourceFile is omitted, we will use the file property of the SourceMap\n if (aSourceFile == null) {\n if (aSourceMapConsumer.file == null) {\n throw new Error(\n 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +\n 'or the source map\\'s \"file\" property. Both were omitted.'\n );\n }\n sourceFile = aSourceMapConsumer.file;\n }\n var sourceRoot = this._sourceRoot;\n // Make \"sourceFile\" relative if an absolute Url is passed.\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n // Applying the SourceMap can add and remove items from the sources and\n // the names array.\n var newSources = new ArraySet();\n var newNames = new ArraySet();\n\n // Find mappings for the \"sourceFile\"\n this._mappings.unsortedForEach(function (mapping) {\n if (mapping.source === sourceFile && mapping.originalLine != null) {\n // Check if it can be mapped by the source map, then update the mapping.\n var original = aSourceMapConsumer.originalPositionFor({\n line: mapping.originalLine,\n column: mapping.originalColumn\n });\n if (original.source != null) {\n // Copy mapping\n mapping.source = original.source;\n if (aSourceMapPath != null) {\n mapping.source = util.join(aSourceMapPath, mapping.source)\n }\n if (sourceRoot != null) {\n mapping.source = util.relative(sourceRoot, mapping.source);\n }\n mapping.originalLine = original.line;\n mapping.originalColumn = original.column;\n if (original.name != null) {\n mapping.name = original.name;\n }\n }\n }\n\n var source = mapping.source;\n if (source != null && !newSources.has(source)) {\n newSources.add(source);\n }\n\n var name = mapping.name;\n if (name != null && !newNames.has(name)) {\n newNames.add(name);\n }\n\n }, this);\n this._sources = newSources;\n this._names = newNames;\n\n // Copy sourcesContents of applied map.\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aSourceMapPath != null) {\n sourceFile = util.join(aSourceMapPath, sourceFile);\n }\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n this.setSourceContent(sourceFile, content);\n }\n }, this);\n };\n\n/**\n * A mapping can have one of the three levels of data:\n *\n * 1. Just the generated position.\n * 2. The Generated position, original position, and original source.\n * 3. Generated and original position, original source, as well as a name\n * token.\n *\n * To maintain consistency, we validate that any new mapping being added falls\n * in to one of these categories.\n */\nSourceMapGenerator.prototype._validateMapping =\n function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n aName) {\n // When aOriginal is truthy but has empty values for .line and .column,\n // it is most likely a programmer error. In this case we throw a very\n // specific error message to try to guide them the right way.\n // For example: https://github.com/Polymer/polymer-bundler/pull/519\n if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {\n throw new Error(\n 'original.line and original.column are not numbers -- you probably meant to omit ' +\n 'the original mapping entirely and only map the generated position. If so, pass ' +\n 'null for the original mapping instead of an object with empty or null values.'\n );\n }\n\n if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aGenerated.line > 0 && aGenerated.column >= 0\n && !aOriginal && !aSource && !aName) {\n // Case 1.\n return;\n }\n else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n && aGenerated.line > 0 && aGenerated.column >= 0\n && aOriginal.line > 0 && aOriginal.column >= 0\n && aSource) {\n // Cases 2 and 3.\n return;\n }\n else {\n throw new Error('Invalid mapping: ' + JSON.stringify({\n generated: aGenerated,\n source: aSource,\n original: aOriginal,\n name: aName\n }));\n }\n };\n\n/**\n * Serialize the accumulated mappings in to the stream of base 64 VLQs\n * specified by the source map format.\n */\nSourceMapGenerator.prototype._serializeMappings =\n function SourceMapGenerator_serializeMappings() {\n var previousGeneratedColumn = 0;\n var previousGeneratedLine = 1;\n var previousOriginalColumn = 0;\n var previousOriginalLine = 0;\n var previousName = 0;\n var previousSource = 0;\n var result = '';\n var next;\n var mapping;\n var nameIdx;\n var sourceIdx;\n\n var mappings = this._mappings.toArray();\n for (var i = 0, len = mappings.length; i < len; i++) {\n mapping = mappings[i];\n next = ''\n\n if (mapping.generatedLine !== previousGeneratedLine) {\n previousGeneratedColumn = 0;\n while (mapping.generatedLine !== previousGeneratedLine) {\n next += ';';\n previousGeneratedLine++;\n }\n }\n else {\n if (i > 0) {\n if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n continue;\n }\n next += ',';\n }\n }\n\n next += base64VLQ.encode(mapping.generatedColumn\n - previousGeneratedColumn);\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (mapping.source != null) {\n sourceIdx = this._sources.indexOf(mapping.source);\n next += base64VLQ.encode(sourceIdx - previousSource);\n previousSource = sourceIdx;\n\n // lines are stored 0-based in SourceMap spec version 3\n next += base64VLQ.encode(mapping.originalLine - 1\n - previousOriginalLine);\n previousOriginalLine = mapping.originalLine - 1;\n\n next += base64VLQ.encode(mapping.originalColumn\n - previousOriginalColumn);\n previousOriginalColumn = mapping.originalColumn;\n\n if (mapping.name != null) {\n nameIdx = this._names.indexOf(mapping.name);\n next += base64VLQ.encode(nameIdx - previousName);\n previousName = nameIdx;\n }\n }\n\n result += next;\n }\n\n return result;\n };\n\nSourceMapGenerator.prototype._generateSourcesContent =\n function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n return aSources.map(function (source) {\n if (!this._sourcesContents) {\n return null;\n }\n if (aSourceRoot != null) {\n source = util.relative(aSourceRoot, source);\n }\n var key = util.toSetString(source);\n return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n ? this._sourcesContents[key]\n : null;\n }, this);\n };\n\n/**\n * Externalize the source map.\n */\nSourceMapGenerator.prototype.toJSON =\n function SourceMapGenerator_toJSON() {\n var map = {\n version: this._version,\n sources: this._sources.toArray(),\n names: this._names.toArray(),\n mappings: this._serializeMappings()\n };\n if (this._file != null) {\n map.file = this._file;\n }\n if (this._sourceRoot != null) {\n map.sourceRoot = this._sourceRoot;\n }\n if (this._sourcesContents) {\n map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n }\n\n return map;\n };\n\n/**\n * Render the source map being generated to a string.\n */\nSourceMapGenerator.prototype.toString =\n function SourceMapGenerator_toString() {\n return JSON.stringify(this.toJSON());\n };\n\nexports.SourceMapGenerator = SourceMapGenerator;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-map-generator.js\n// module id = 1\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * Based on the Base 64 VLQ implementation in Closure Compiler:\n * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n *\n * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n * * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following\n * disclaimer in the documentation and/or other materials provided\n * with the distribution.\n * * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived\n * from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar base64 = require('./base64');\n\n// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n// length quantities we use in the source map spec, the first bit is the sign,\n// the next four bits are the actual value, and the 6th bit is the\n// continuation bit. The continuation bit tells us whether there are more\n// digits in this value following this digit.\n//\n// Continuation\n// | Sign\n// | |\n// V V\n// 101011\n\nvar VLQ_BASE_SHIFT = 5;\n\n// binary: 100000\nvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n// binary: 011111\nvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\n// binary: 100000\nvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n/**\n * Converts from a two-complement value to a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n */\nfunction toVLQSigned(aValue) {\n return aValue < 0\n ? ((-aValue) << 1) + 1\n : (aValue << 1) + 0;\n}\n\n/**\n * Converts to a two-complement value from a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n */\nfunction fromVLQSigned(aValue) {\n var isNegative = (aValue & 1) === 1;\n var shifted = aValue >> 1;\n return isNegative\n ? -shifted\n : shifted;\n}\n\n/**\n * Returns the base 64 VLQ encoded value.\n */\nexports.encode = function base64VLQ_encode(aValue) {\n var encoded = \"\";\n var digit;\n\n var vlq = toVLQSigned(aValue);\n\n do {\n digit = vlq & VLQ_BASE_MASK;\n vlq >>>= VLQ_BASE_SHIFT;\n if (vlq > 0) {\n // There are still more digits in this value, so we must make sure the\n // continuation bit is marked.\n digit |= VLQ_CONTINUATION_BIT;\n }\n encoded += base64.encode(digit);\n } while (vlq > 0);\n\n return encoded;\n};\n\n/**\n * Decodes the next base 64 VLQ value from the given string and returns the\n * value and the rest of the string via the out parameter.\n */\nexports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n var strLen = aStr.length;\n var result = 0;\n var shift = 0;\n var continuation, digit;\n\n do {\n if (aIndex >= strLen) {\n throw new Error(\"Expected more digits in base 64 VLQ value.\");\n }\n\n digit = base64.decode(aStr.charCodeAt(aIndex++));\n if (digit === -1) {\n throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n }\n\n continuation = !!(digit & VLQ_CONTINUATION_BIT);\n digit &= VLQ_BASE_MASK;\n result = result + (digit << shift);\n shift += VLQ_BASE_SHIFT;\n } while (continuation);\n\n aOutParam.value = fromVLQSigned(result);\n aOutParam.rest = aIndex;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/base64-vlq.js\n// module id = 2\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\n/**\n * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n */\nexports.encode = function (number) {\n if (0 <= number && number < intToCharMap.length) {\n return intToCharMap[number];\n }\n throw new TypeError(\"Must be between 0 and 63: \" + number);\n};\n\n/**\n * Decode a single base 64 character code digit to an integer. Returns -1 on\n * failure.\n */\nexports.decode = function (charCode) {\n var bigA = 65; // 'A'\n var bigZ = 90; // 'Z'\n\n var littleA = 97; // 'a'\n var littleZ = 122; // 'z'\n\n var zero = 48; // '0'\n var nine = 57; // '9'\n\n var plus = 43; // '+'\n var slash = 47; // '/'\n\n var littleOffset = 26;\n var numberOffset = 52;\n\n // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n if (bigA <= charCode && charCode <= bigZ) {\n return (charCode - bigA);\n }\n\n // 26 - 51: abcdefghijklmnopqrstuvwxyz\n if (littleA <= charCode && charCode <= littleZ) {\n return (charCode - littleA + littleOffset);\n }\n\n // 52 - 61: 0123456789\n if (zero <= charCode && charCode <= nine) {\n return (charCode - zero + numberOffset);\n }\n\n // 62: +\n if (charCode == plus) {\n return 62;\n }\n\n // 63: /\n if (charCode == slash) {\n return 63;\n }\n\n // Invalid base64 digit.\n return -1;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/base64.js\n// module id = 3\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n/**\n * This is a helper function for getting values from parameter/options\n * objects.\n *\n * @param args The object we are extracting values from\n * @param name The name of the property we are getting.\n * @param defaultValue An optional value to return if the property is missing\n * from the object. If this is not specified and the property is missing, an\n * error will be thrown.\n */\nfunction getArg(aArgs, aName, aDefaultValue) {\n if (aName in aArgs) {\n return aArgs[aName];\n } else if (arguments.length === 3) {\n return aDefaultValue;\n } else {\n throw new Error('\"' + aName + '\" is a required argument.');\n }\n}\nexports.getArg = getArg;\n\nvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\nvar dataUrlRegexp = /^data:.+\\,.+$/;\n\nfunction urlParse(aUrl) {\n var match = aUrl.match(urlRegexp);\n if (!match) {\n return null;\n }\n return {\n scheme: match[1],\n auth: match[2],\n host: match[3],\n port: match[4],\n path: match[5]\n };\n}\nexports.urlParse = urlParse;\n\nfunction urlGenerate(aParsedUrl) {\n var url = '';\n if (aParsedUrl.scheme) {\n url += aParsedUrl.scheme + ':';\n }\n url += '//';\n if (aParsedUrl.auth) {\n url += aParsedUrl.auth + '@';\n }\n if (aParsedUrl.host) {\n url += aParsedUrl.host;\n }\n if (aParsedUrl.port) {\n url += \":\" + aParsedUrl.port\n }\n if (aParsedUrl.path) {\n url += aParsedUrl.path;\n }\n return url;\n}\nexports.urlGenerate = urlGenerate;\n\n/**\n * Normalizes a path, or the path portion of a URL:\n *\n * - Replaces consecutive slashes with one slash.\n * - Removes unnecessary '.' parts.\n * - Removes unnecessary '/..' parts.\n *\n * Based on code in the Node.js 'path' core module.\n *\n * @param aPath The path or url to normalize.\n */\nfunction normalize(aPath) {\n var path = aPath;\n var url = urlParse(aPath);\n if (url) {\n if (!url.path) {\n return aPath;\n }\n path = url.path;\n }\n var isAbsolute = exports.isAbsolute(path);\n\n var parts = path.split(/\\/+/);\n for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n part = parts[i];\n if (part === '.') {\n parts.splice(i, 1);\n } else if (part === '..') {\n up++;\n } else if (up > 0) {\n if (part === '') {\n // The first part is blank if the path is absolute. Trying to go\n // above the root is a no-op. Therefore we can remove all '..' parts\n // directly after the root.\n parts.splice(i + 1, up);\n up = 0;\n } else {\n parts.splice(i, 2);\n up--;\n }\n }\n }\n path = parts.join('/');\n\n if (path === '') {\n path = isAbsolute ? '/' : '.';\n }\n\n if (url) {\n url.path = path;\n return urlGenerate(url);\n }\n return path;\n}\nexports.normalize = normalize;\n\n/**\n * Joins two paths/URLs.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be joined with the root.\n *\n * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n * first.\n * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n * is updated with the result and aRoot is returned. Otherwise the result\n * is returned.\n * - If aPath is absolute, the result is aPath.\n * - Otherwise the two paths are joined with a slash.\n * - Joining for example 'http://' and 'www.example.com' is also supported.\n */\nfunction join(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n if (aPath === \"\") {\n aPath = \".\";\n }\n var aPathUrl = urlParse(aPath);\n var aRootUrl = urlParse(aRoot);\n if (aRootUrl) {\n aRoot = aRootUrl.path || '/';\n }\n\n // `join(foo, '//www.example.org')`\n if (aPathUrl && !aPathUrl.scheme) {\n if (aRootUrl) {\n aPathUrl.scheme = aRootUrl.scheme;\n }\n return urlGenerate(aPathUrl);\n }\n\n if (aPathUrl || aPath.match(dataUrlRegexp)) {\n return aPath;\n }\n\n // `join('http://', 'www.example.com')`\n if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n aRootUrl.host = aPath;\n return urlGenerate(aRootUrl);\n }\n\n var joined = aPath.charAt(0) === '/'\n ? aPath\n : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\n if (aRootUrl) {\n aRootUrl.path = joined;\n return urlGenerate(aRootUrl);\n }\n return joined;\n}\nexports.join = join;\n\nexports.isAbsolute = function (aPath) {\n return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n};\n\n/**\n * Make a path relative to a URL or another path.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be made relative to aRoot.\n */\nfunction relative(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n\n aRoot = aRoot.replace(/\\/$/, '');\n\n // It is possible for the path to be above the root. In this case, simply\n // checking whether the root is a prefix of the path won't work. Instead, we\n // need to remove components from the root one by one, until either we find\n // a prefix that fits, or we run out of components to remove.\n var level = 0;\n while (aPath.indexOf(aRoot + '/') !== 0) {\n var index = aRoot.lastIndexOf(\"/\");\n if (index < 0) {\n return aPath;\n }\n\n // If the only part of the root that is left is the scheme (i.e. http://,\n // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n // have exhausted all components, so the path is not relative to the root.\n aRoot = aRoot.slice(0, index);\n if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n return aPath;\n }\n\n ++level;\n }\n\n // Make sure we add a \"../\" for each component we removed from the root.\n return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n}\nexports.relative = relative;\n\nvar supportsNullProto = (function () {\n var obj = Object.create(null);\n return !('__proto__' in obj);\n}());\n\nfunction identity (s) {\n return s;\n}\n\n/**\n * Because behavior goes wacky when you set `__proto__` on objects, we\n * have to prefix all the strings in our set with an arbitrary character.\n *\n * See https://github.com/mozilla/source-map/pull/31 and\n * https://github.com/mozilla/source-map/issues/30\n *\n * @param String aStr\n */\nfunction toSetString(aStr) {\n if (isProtoString(aStr)) {\n return '$' + aStr;\n }\n\n return aStr;\n}\nexports.toSetString = supportsNullProto ? identity : toSetString;\n\nfunction fromSetString(aStr) {\n if (isProtoString(aStr)) {\n return aStr.slice(1);\n }\n\n return aStr;\n}\nexports.fromSetString = supportsNullProto ? identity : fromSetString;\n\nfunction isProtoString(s) {\n if (!s) {\n return false;\n }\n\n var length = s.length;\n\n if (length < 9 /* \"__proto__\".length */) {\n return false;\n }\n\n if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n s.charCodeAt(length - 9) !== 95 /* '_' */) {\n return false;\n }\n\n for (var i = length - 10; i >= 0; i--) {\n if (s.charCodeAt(i) !== 36 /* '$' */) {\n return false;\n }\n }\n\n return true;\n}\n\n/**\n * Comparator between two mappings where the original positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same original source/line/column, but different generated\n * line and column the same. Useful when searching for a mapping with a\n * stubbed out mapping.\n */\nfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n var cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0 || onlyCompareOriginal) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByOriginalPositions = compareByOriginalPositions;\n\n/**\n * Comparator between two mappings with deflated source and name indices where\n * the generated positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same generated line and column, but different\n * source/name/original line and column the same. Useful when searching for a\n * mapping with a stubbed out mapping.\n */\nfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0 || onlyCompareGenerated) {\n return cmp;\n }\n\n cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\nfunction strcmp(aStr1, aStr2) {\n if (aStr1 === aStr2) {\n return 0;\n }\n\n if (aStr1 > aStr2) {\n return 1;\n }\n\n return -1;\n}\n\n/**\n * Comparator between two mappings with inflated source and name strings where\n * the generated positions are compared.\n */\nfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/util.js\n// module id = 4\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar has = Object.prototype.hasOwnProperty;\nvar hasNativeMap = typeof Map !== \"undefined\";\n\n/**\n * A data structure which is a combination of an array and a set. Adding a new\n * member is O(1), testing for membership is O(1), and finding the index of an\n * element is O(1). Removing elements from the set is not supported. Only\n * strings are supported for membership.\n */\nfunction ArraySet() {\n this._array = [];\n this._set = hasNativeMap ? new Map() : Object.create(null);\n}\n\n/**\n * Static method for creating ArraySet instances from an existing array.\n */\nArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n var set = new ArraySet();\n for (var i = 0, len = aArray.length; i < len; i++) {\n set.add(aArray[i], aAllowDuplicates);\n }\n return set;\n};\n\n/**\n * Return how many unique items are in this ArraySet. If duplicates have been\n * added, than those do not count towards the size.\n *\n * @returns Number\n */\nArraySet.prototype.size = function ArraySet_size() {\n return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n};\n\n/**\n * Add the given string to this set.\n *\n * @param String aStr\n */\nArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n var idx = this._array.length;\n if (!isDuplicate || aAllowDuplicates) {\n this._array.push(aStr);\n }\n if (!isDuplicate) {\n if (hasNativeMap) {\n this._set.set(aStr, idx);\n } else {\n this._set[sStr] = idx;\n }\n }\n};\n\n/**\n * Is the given string a member of this set?\n *\n * @param String aStr\n */\nArraySet.prototype.has = function ArraySet_has(aStr) {\n if (hasNativeMap) {\n return this._set.has(aStr);\n } else {\n var sStr = util.toSetString(aStr);\n return has.call(this._set, sStr);\n }\n};\n\n/**\n * What is the index of the given string in the array?\n *\n * @param String aStr\n */\nArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n if (hasNativeMap) {\n var idx = this._set.get(aStr);\n if (idx >= 0) {\n return idx;\n }\n } else {\n var sStr = util.toSetString(aStr);\n if (has.call(this._set, sStr)) {\n return this._set[sStr];\n }\n }\n\n throw new Error('\"' + aStr + '\" is not in the set.');\n};\n\n/**\n * What is the element at the given index?\n *\n * @param Number aIdx\n */\nArraySet.prototype.at = function ArraySet_at(aIdx) {\n if (aIdx >= 0 && aIdx < this._array.length) {\n return this._array[aIdx];\n }\n throw new Error('No element indexed by ' + aIdx);\n};\n\n/**\n * Returns the array representation of this set (which has the proper indices\n * indicated by indexOf). Note that this is a copy of the internal array used\n * for storing the members so that no one can mess with internal state.\n */\nArraySet.prototype.toArray = function ArraySet_toArray() {\n return this._array.slice();\n};\n\nexports.ArraySet = ArraySet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/array-set.js\n// module id = 5\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2014 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\n\n/**\n * Determine whether mappingB is after mappingA with respect to generated\n * position.\n */\nfunction generatedPositionAfter(mappingA, mappingB) {\n // Optimized for most common case\n var lineA = mappingA.generatedLine;\n var lineB = mappingB.generatedLine;\n var columnA = mappingA.generatedColumn;\n var columnB = mappingB.generatedColumn;\n return lineB > lineA || lineB == lineA && columnB >= columnA ||\n util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n}\n\n/**\n * A data structure to provide a sorted view of accumulated mappings in a\n * performance conscious manner. It trades a neglibable overhead in general\n * case for a large speedup in case of mappings being added in order.\n */\nfunction MappingList() {\n this._array = [];\n this._sorted = true;\n // Serves as infimum\n this._last = {generatedLine: -1, generatedColumn: 0};\n}\n\n/**\n * Iterate through internal items. This method takes the same arguments that\n * `Array.prototype.forEach` takes.\n *\n * NOTE: The order of the mappings is NOT guaranteed.\n */\nMappingList.prototype.unsortedForEach =\n function MappingList_forEach(aCallback, aThisArg) {\n this._array.forEach(aCallback, aThisArg);\n };\n\n/**\n * Add the given source mapping.\n *\n * @param Object aMapping\n */\nMappingList.prototype.add = function MappingList_add(aMapping) {\n if (generatedPositionAfter(this._last, aMapping)) {\n this._last = aMapping;\n this._array.push(aMapping);\n } else {\n this._sorted = false;\n this._array.push(aMapping);\n }\n};\n\n/**\n * Returns the flat, sorted array of mappings. The mappings are sorted by\n * generated position.\n *\n * WARNING: This method returns internal data without copying, for\n * performance. The return value must NOT be mutated, and should be treated as\n * an immutable borrow. If you want to take ownership, you must make your own\n * copy.\n */\nMappingList.prototype.toArray = function MappingList_toArray() {\n if (!this._sorted) {\n this._array.sort(util.compareByGeneratedPositionsInflated);\n this._sorted = true;\n }\n return this._array;\n};\n\nexports.MappingList = MappingList;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/mapping-list.js\n// module id = 6\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar binarySearch = require('./binary-search');\nvar ArraySet = require('./array-set').ArraySet;\nvar base64VLQ = require('./base64-vlq');\nvar quickSort = require('./quick-sort').quickSort;\n\nfunction SourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n return sourceMap.sections != null\n ? new IndexedSourceMapConsumer(sourceMap)\n : new BasicSourceMapConsumer(sourceMap);\n}\n\nSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n}\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nSourceMapConsumer.prototype._version = 3;\n\n// `__generatedMappings` and `__originalMappings` are arrays that hold the\n// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n// are lazily instantiated, accessed via the `_generatedMappings` and\n// `_originalMappings` getters respectively, and we only parse the mappings\n// and create these arrays once queried for a source location. We jump through\n// these hoops because there can be many thousands of mappings, and parsing\n// them is expensive, so we only want to do it if we must.\n//\n// Each object in the arrays is of the form:\n//\n// {\n// generatedLine: The line number in the generated code,\n// generatedColumn: The column number in the generated code,\n// source: The path to the original source file that generated this\n// chunk of code,\n// originalLine: The line number in the original source that\n// corresponds to this chunk of generated code,\n// originalColumn: The column number in the original source that\n// corresponds to this chunk of generated code,\n// name: The name of the original symbol which generated this chunk of\n// code.\n// }\n//\n// All properties except for `generatedLine` and `generatedColumn` can be\n// `null`.\n//\n// `_generatedMappings` is ordered by the generated positions.\n//\n// `_originalMappings` is ordered by the original positions.\n\nSourceMapConsumer.prototype.__generatedMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n get: function () {\n if (!this.__generatedMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__generatedMappings;\n }\n});\n\nSourceMapConsumer.prototype.__originalMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n get: function () {\n if (!this.__originalMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__originalMappings;\n }\n});\n\nSourceMapConsumer.prototype._charIsMappingSeparator =\n function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n var c = aStr.charAt(index);\n return c === \";\" || c === \",\";\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n throw new Error(\"Subclasses must implement _parseMappings\");\n };\n\nSourceMapConsumer.GENERATED_ORDER = 1;\nSourceMapConsumer.ORIGINAL_ORDER = 2;\n\nSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\nSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\n/**\n * Iterate over each mapping between an original source/line/column and a\n * generated line/column in this source map.\n *\n * @param Function aCallback\n * The function that is called with each mapping.\n * @param Object aContext\n * Optional. If specified, this object will be the value of `this` every\n * time that `aCallback` is called.\n * @param aOrder\n * Either `SourceMapConsumer.GENERATED_ORDER` or\n * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n * iterate over the mappings sorted by the generated file's line/column\n * order or the original's source/line/column order, respectively. Defaults to\n * `SourceMapConsumer.GENERATED_ORDER`.\n */\nSourceMapConsumer.prototype.eachMapping =\n function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n var context = aContext || null;\n var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n var mappings;\n switch (order) {\n case SourceMapConsumer.GENERATED_ORDER:\n mappings = this._generatedMappings;\n break;\n case SourceMapConsumer.ORIGINAL_ORDER:\n mappings = this._originalMappings;\n break;\n default:\n throw new Error(\"Unknown order of iteration.\");\n }\n\n var sourceRoot = this.sourceRoot;\n mappings.map(function (mapping) {\n var source = mapping.source === null ? null : this._sources.at(mapping.source);\n if (source != null && sourceRoot != null) {\n source = util.join(sourceRoot, source);\n }\n return {\n source: source,\n generatedLine: mapping.generatedLine,\n generatedColumn: mapping.generatedColumn,\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: mapping.name === null ? null : this._names.at(mapping.name)\n };\n }, this).forEach(aCallback, context);\n };\n\n/**\n * Returns all generated line and column information for the original source,\n * line, and column provided. If no column is provided, returns all mappings\n * corresponding to a either the line we are searching for or the next\n * closest line that has any mappings. Otherwise, returns all mappings\n * corresponding to the given line and either the column we are searching for\n * or the next closest column that has any offsets.\n *\n * The only argument is an object with the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: Optional. the column number in the original source.\n *\n * and an array of objects is returned, each with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nSourceMapConsumer.prototype.allGeneratedPositionsFor =\n function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n var line = util.getArg(aArgs, 'line');\n\n // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n // returns the index of the closest mapping less than the needle. By\n // setting needle.originalColumn to 0, we thus find the last mapping for\n // the given line, provided such a mapping exists.\n var needle = {\n source: util.getArg(aArgs, 'source'),\n originalLine: line,\n originalColumn: util.getArg(aArgs, 'column', 0)\n };\n\n if (this.sourceRoot != null) {\n needle.source = util.relative(this.sourceRoot, needle.source);\n }\n if (!this._sources.has(needle.source)) {\n return [];\n }\n needle.source = this._sources.indexOf(needle.source);\n\n var mappings = [];\n\n var index = this._findMapping(needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n binarySearch.LEAST_UPPER_BOUND);\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (aArgs.column === undefined) {\n var originalLine = mapping.originalLine;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we found. Since\n // mappings are sorted, this is guaranteed to find all mappings for\n // the line we found.\n while (mapping && mapping.originalLine === originalLine) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n } else {\n var originalColumn = mapping.originalColumn;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we were searching for.\n // Since mappings are sorted, this is guaranteed to find all mappings for\n // the line we are searching for.\n while (mapping &&\n mapping.originalLine === line &&\n mapping.originalColumn == originalColumn) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n }\n }\n\n return mappings;\n };\n\nexports.SourceMapConsumer = SourceMapConsumer;\n\n/**\n * A BasicSourceMapConsumer instance represents a parsed source map which we can\n * query for information about the original file positions by giving it a file\n * position in the generated source.\n *\n * The only parameter is the raw source map (either as a JSON string, or\n * already parsed to an object). According to the spec, source maps have the\n * following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - sources: An array of URLs to the original source files.\n * - names: An array of identifiers which can be referrenced by individual mappings.\n * - sourceRoot: Optional. The URL root from which all sources are relative.\n * - sourcesContent: Optional. An array of contents of the original source files.\n * - mappings: A string of base64 VLQs which contain the actual mappings.\n * - file: Optional. The generated file this source map is associated with.\n *\n * Here is an example source map, taken from the source map spec[0]:\n *\n * {\n * version : 3,\n * file: \"out.js\",\n * sourceRoot : \"\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AA,AB;;ABCDE;\"\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n */\nfunction BasicSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sources = util.getArg(sourceMap, 'sources');\n // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n // requires the array) to play nice here.\n var names = util.getArg(sourceMap, 'names', []);\n var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n var mappings = util.getArg(sourceMap, 'mappings');\n var file = util.getArg(sourceMap, 'file', null);\n\n // Once again, Sass deviates from the spec and supplies the version as a\n // string rather than a number, so we use loose equality checking here.\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n sources = sources\n .map(String)\n // Some source maps produce relative source paths like \"./foo.js\" instead of\n // \"foo.js\". Normalize these first so that future comparisons will succeed.\n // See bugzil.la/1090768.\n .map(util.normalize)\n // Always ensure that absolute sources are internally stored relative to\n // the source root, if the source root is absolute. Not doing this would\n // be particularly problematic when the source root is a prefix of the\n // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n .map(function (source) {\n return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n ? util.relative(sourceRoot, source)\n : source;\n });\n\n // Pass `true` below to allow duplicate names and sources. While source maps\n // are intended to be compressed and deduplicated, the TypeScript compiler\n // sometimes generates source maps with duplicates in them. See Github issue\n // #72 and bugzil.la/889492.\n this._names = ArraySet.fromArray(names.map(String), true);\n this._sources = ArraySet.fromArray(sources, true);\n\n this.sourceRoot = sourceRoot;\n this.sourcesContent = sourcesContent;\n this._mappings = mappings;\n this.file = file;\n}\n\nBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\n/**\n * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n *\n * @param SourceMapGenerator aSourceMap\n * The source map that will be consumed.\n * @returns BasicSourceMapConsumer\n */\nBasicSourceMapConsumer.fromSourceMap =\n function SourceMapConsumer_fromSourceMap(aSourceMap) {\n var smc = Object.create(BasicSourceMapConsumer.prototype);\n\n var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n smc.sourceRoot = aSourceMap._sourceRoot;\n smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n smc.sourceRoot);\n smc.file = aSourceMap._file;\n\n // Because we are modifying the entries (by converting string sources and\n // names to indices into the sources and names ArraySets), we have to make\n // a copy of the entry or else bad things happen. Shared mutable state\n // strikes again! See github issue #191.\n\n var generatedMappings = aSourceMap._mappings.toArray().slice();\n var destGeneratedMappings = smc.__generatedMappings = [];\n var destOriginalMappings = smc.__originalMappings = [];\n\n for (var i = 0, length = generatedMappings.length; i < length; i++) {\n var srcMapping = generatedMappings[i];\n var destMapping = new Mapping;\n destMapping.generatedLine = srcMapping.generatedLine;\n destMapping.generatedColumn = srcMapping.generatedColumn;\n\n if (srcMapping.source) {\n destMapping.source = sources.indexOf(srcMapping.source);\n destMapping.originalLine = srcMapping.originalLine;\n destMapping.originalColumn = srcMapping.originalColumn;\n\n if (srcMapping.name) {\n destMapping.name = names.indexOf(srcMapping.name);\n }\n\n destOriginalMappings.push(destMapping);\n }\n\n destGeneratedMappings.push(destMapping);\n }\n\n quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\n return smc;\n };\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nBasicSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n get: function () {\n return this._sources.toArray().map(function (s) {\n return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n }, this);\n }\n});\n\n/**\n * Provide the JIT with a nice shape / hidden class.\n */\nfunction Mapping() {\n this.generatedLine = 0;\n this.generatedColumn = 0;\n this.source = null;\n this.originalLine = null;\n this.originalColumn = null;\n this.name = null;\n}\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nBasicSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n var generatedLine = 1;\n var previousGeneratedColumn = 0;\n var previousOriginalLine = 0;\n var previousOriginalColumn = 0;\n var previousSource = 0;\n var previousName = 0;\n var length = aStr.length;\n var index = 0;\n var cachedSegments = {};\n var temp = {};\n var originalMappings = [];\n var generatedMappings = [];\n var mapping, str, segment, end, value;\n\n while (index < length) {\n if (aStr.charAt(index) === ';') {\n generatedLine++;\n index++;\n previousGeneratedColumn = 0;\n }\n else if (aStr.charAt(index) === ',') {\n index++;\n }\n else {\n mapping = new Mapping();\n mapping.generatedLine = generatedLine;\n\n // Because each offset is encoded relative to the previous one,\n // many segments often have the same encoding. We can exploit this\n // fact by caching the parsed variable length fields of each segment,\n // allowing us to avoid a second parse if we encounter the same\n // segment again.\n for (end = index; end < length; end++) {\n if (this._charIsMappingSeparator(aStr, end)) {\n break;\n }\n }\n str = aStr.slice(index, end);\n\n segment = cachedSegments[str];\n if (segment) {\n index += str.length;\n } else {\n segment = [];\n while (index < end) {\n base64VLQ.decode(aStr, index, temp);\n value = temp.value;\n index = temp.rest;\n segment.push(value);\n }\n\n if (segment.length === 2) {\n throw new Error('Found a source, but no line and column');\n }\n\n if (segment.length === 3) {\n throw new Error('Found a source and line, but no column');\n }\n\n cachedSegments[str] = segment;\n }\n\n // Generated column.\n mapping.generatedColumn = previousGeneratedColumn + segment[0];\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (segment.length > 1) {\n // Original source.\n mapping.source = previousSource + segment[1];\n previousSource += segment[1];\n\n // Original line.\n mapping.originalLine = previousOriginalLine + segment[2];\n previousOriginalLine = mapping.originalLine;\n // Lines are stored 0-based\n mapping.originalLine += 1;\n\n // Original column.\n mapping.originalColumn = previousOriginalColumn + segment[3];\n previousOriginalColumn = mapping.originalColumn;\n\n if (segment.length > 4) {\n // Original name.\n mapping.name = previousName + segment[4];\n previousName += segment[4];\n }\n }\n\n generatedMappings.push(mapping);\n if (typeof mapping.originalLine === 'number') {\n originalMappings.push(mapping);\n }\n }\n }\n\n quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n this.__generatedMappings = generatedMappings;\n\n quickSort(originalMappings, util.compareByOriginalPositions);\n this.__originalMappings = originalMappings;\n };\n\n/**\n * Find the mapping that best matches the hypothetical \"needle\" mapping that\n * we are searching for in the given \"haystack\" of mappings.\n */\nBasicSourceMapConsumer.prototype._findMapping =\n function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n aColumnName, aComparator, aBias) {\n // To return the position we are searching for, we must first find the\n // mapping for the given position and then return the opposite position it\n // points to. Because the mappings are sorted, we can use binary search to\n // find the best mapping.\n\n if (aNeedle[aLineName] <= 0) {\n throw new TypeError('Line must be greater than or equal to 1, got '\n + aNeedle[aLineName]);\n }\n if (aNeedle[aColumnName] < 0) {\n throw new TypeError('Column must be greater than or equal to 0, got '\n + aNeedle[aColumnName]);\n }\n\n return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n };\n\n/**\n * Compute the last column for each generated mapping. The last column is\n * inclusive.\n */\nBasicSourceMapConsumer.prototype.computeColumnSpans =\n function SourceMapConsumer_computeColumnSpans() {\n for (var index = 0; index < this._generatedMappings.length; ++index) {\n var mapping = this._generatedMappings[index];\n\n // Mappings do not contain a field for the last generated columnt. We\n // can come up with an optimistic estimate, however, by assuming that\n // mappings are contiguous (i.e. given two consecutive mappings, the\n // first mapping ends where the second one starts).\n if (index + 1 < this._generatedMappings.length) {\n var nextMapping = this._generatedMappings[index + 1];\n\n if (mapping.generatedLine === nextMapping.generatedLine) {\n mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n continue;\n }\n }\n\n // The last mapping for each line spans the entire line.\n mapping.lastGeneratedColumn = Infinity;\n }\n };\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nBasicSourceMapConsumer.prototype.originalPositionFor =\n function SourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._generatedMappings,\n \"generatedLine\",\n \"generatedColumn\",\n util.compareByGeneratedPositionsDeflated,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._generatedMappings[index];\n\n if (mapping.generatedLine === needle.generatedLine) {\n var source = util.getArg(mapping, 'source', null);\n if (source !== null) {\n source = this._sources.at(source);\n if (this.sourceRoot != null) {\n source = util.join(this.sourceRoot, source);\n }\n }\n var name = util.getArg(mapping, 'name', null);\n if (name !== null) {\n name = this._names.at(name);\n }\n return {\n source: source,\n line: util.getArg(mapping, 'originalLine', null),\n column: util.getArg(mapping, 'originalColumn', null),\n name: name\n };\n }\n }\n\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n function BasicSourceMapConsumer_hasContentsOfAllSources() {\n if (!this.sourcesContent) {\n return false;\n }\n return this.sourcesContent.length >= this._sources.size() &&\n !this.sourcesContent.some(function (sc) { return sc == null; });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nBasicSourceMapConsumer.prototype.sourceContentFor =\n function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n if (!this.sourcesContent) {\n return null;\n }\n\n if (this.sourceRoot != null) {\n aSource = util.relative(this.sourceRoot, aSource);\n }\n\n if (this._sources.has(aSource)) {\n return this.sourcesContent[this._sources.indexOf(aSource)];\n }\n\n var url;\n if (this.sourceRoot != null\n && (url = util.urlParse(this.sourceRoot))) {\n // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n // many users. We can help them out when they expect file:// URIs to\n // behave like it would if they were running a local HTTP server. See\n // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n if (url.scheme == \"file\"\n && this._sources.has(fileUriAbsPath)) {\n return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n }\n\n if ((!url.path || url.path == \"/\")\n && this._sources.has(\"/\" + aSource)) {\n return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n }\n }\n\n // This function is used recursively from\n // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n // don't want to throw if we can't find the source - we just want to\n // return null, so we provide a flag to exit gracefully.\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nBasicSourceMapConsumer.prototype.generatedPositionFor =\n function SourceMapConsumer_generatedPositionFor(aArgs) {\n var source = util.getArg(aArgs, 'source');\n if (this.sourceRoot != null) {\n source = util.relative(this.sourceRoot, source);\n }\n if (!this._sources.has(source)) {\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n }\n source = this._sources.indexOf(source);\n\n var needle = {\n source: source,\n originalLine: util.getArg(aArgs, 'line'),\n originalColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (mapping.source === needle.source) {\n return {\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n };\n }\n }\n\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n };\n\nexports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\n/**\n * An IndexedSourceMapConsumer instance represents a parsed source map which\n * we can query for information. It differs from BasicSourceMapConsumer in\n * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n * input.\n *\n * The only parameter is a raw source map (either as a JSON string, or already\n * parsed to an object). According to the spec for indexed source maps, they\n * have the following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - file: Optional. The generated file this source map is associated with.\n * - sections: A list of section definitions.\n *\n * Each value under the \"sections\" field has two fields:\n * - offset: The offset into the original specified at which this section\n * begins to apply, defined as an object with a \"line\" and \"column\"\n * field.\n * - map: A source map definition. This source map could also be indexed,\n * but doesn't have to be.\n *\n * Instead of the \"map\" field, it's also possible to have a \"url\" field\n * specifying a URL to retrieve a source map from, but that's currently\n * unsupported.\n *\n * Here's an example source map, taken from the source map spec[0], but\n * modified to omit a section which uses the \"url\" field.\n *\n * {\n * version : 3,\n * file: \"app.js\",\n * sections: [{\n * offset: {line:100, column:10},\n * map: {\n * version : 3,\n * file: \"section.js\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AAAA,E;;ABCDE;\"\n * }\n * }],\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n */\nfunction IndexedSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sections = util.getArg(sourceMap, 'sections');\n\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n this._sources = new ArraySet();\n this._names = new ArraySet();\n\n var lastOffset = {\n line: -1,\n column: 0\n };\n this._sections = sections.map(function (s) {\n if (s.url) {\n // The url field will require support for asynchronicity.\n // See https://github.com/mozilla/source-map/issues/16\n throw new Error('Support for url field in sections not implemented.');\n }\n var offset = util.getArg(s, 'offset');\n var offsetLine = util.getArg(offset, 'line');\n var offsetColumn = util.getArg(offset, 'column');\n\n if (offsetLine < lastOffset.line ||\n (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n throw new Error('Section offsets must be ordered and non-overlapping.');\n }\n lastOffset = offset;\n\n return {\n generatedOffset: {\n // The offset fields are 0-based, but we use 1-based indices when\n // encoding/decoding from VLQ.\n generatedLine: offsetLine + 1,\n generatedColumn: offsetColumn + 1\n },\n consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n }\n });\n}\n\nIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nIndexedSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n get: function () {\n var sources = [];\n for (var i = 0; i < this._sections.length; i++) {\n for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n sources.push(this._sections[i].consumer.sources[j]);\n }\n }\n return sources;\n }\n});\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nIndexedSourceMapConsumer.prototype.originalPositionFor =\n function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n // Find the section containing the generated position we're trying to map\n // to an original position.\n var sectionIndex = binarySearch.search(needle, this._sections,\n function(needle, section) {\n var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n if (cmp) {\n return cmp;\n }\n\n return (needle.generatedColumn -\n section.generatedOffset.generatedColumn);\n });\n var section = this._sections[sectionIndex];\n\n if (!section) {\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n }\n\n return section.consumer.originalPositionFor({\n line: needle.generatedLine -\n (section.generatedOffset.generatedLine - 1),\n column: needle.generatedColumn -\n (section.generatedOffset.generatedLine === needle.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n bias: aArgs.bias\n });\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n return this._sections.every(function (s) {\n return s.consumer.hasContentsOfAllSources();\n });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nIndexedSourceMapConsumer.prototype.sourceContentFor =\n function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n var content = section.consumer.sourceContentFor(aSource, true);\n if (content) {\n return content;\n }\n }\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nIndexedSourceMapConsumer.prototype.generatedPositionFor =\n function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n // Only consider this section if the requested source is in the list of\n // sources of the consumer.\n if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n continue;\n }\n var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n if (generatedPosition) {\n var ret = {\n line: generatedPosition.line +\n (section.generatedOffset.generatedLine - 1),\n column: generatedPosition.column +\n (section.generatedOffset.generatedLine === generatedPosition.line\n ? section.generatedOffset.generatedColumn - 1\n : 0)\n };\n return ret;\n }\n }\n\n return {\n line: null,\n column: null\n };\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nIndexedSourceMapConsumer.prototype._parseMappings =\n function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n this.__generatedMappings = [];\n this.__originalMappings = [];\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n var sectionMappings = section.consumer._generatedMappings;\n for (var j = 0; j < sectionMappings.length; j++) {\n var mapping = sectionMappings[j];\n\n var source = section.consumer._sources.at(mapping.source);\n if (section.consumer.sourceRoot !== null) {\n source = util.join(section.consumer.sourceRoot, source);\n }\n this._sources.add(source);\n source = this._sources.indexOf(source);\n\n var name = section.consumer._names.at(mapping.name);\n this._names.add(name);\n name = this._names.indexOf(name);\n\n // The mappings coming from the consumer for the section have\n // generated positions relative to the start of the section, so we\n // need to offset them to be relative to the start of the concatenated\n // generated file.\n var adjustedMapping = {\n source: source,\n generatedLine: mapping.generatedLine +\n (section.generatedOffset.generatedLine - 1),\n generatedColumn: mapping.generatedColumn +\n (section.generatedOffset.generatedLine === mapping.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: name\n };\n\n this.__generatedMappings.push(adjustedMapping);\n if (typeof adjustedMapping.originalLine === 'number') {\n this.__originalMappings.push(adjustedMapping);\n }\n }\n }\n\n quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n quickSort(this.__originalMappings, util.compareByOriginalPositions);\n };\n\nexports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-map-consumer.js\n// module id = 7\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nexports.GREATEST_LOWER_BOUND = 1;\nexports.LEAST_UPPER_BOUND = 2;\n\n/**\n * Recursive implementation of binary search.\n *\n * @param aLow Indices here and lower do not contain the needle.\n * @param aHigh Indices here and higher do not contain the needle.\n * @param aNeedle The element being searched for.\n * @param aHaystack The non-empty array being searched.\n * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n */\nfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n // This function terminates when one of the following is true:\n //\n // 1. We find the exact element we are looking for.\n //\n // 2. We did not find the exact element, but we can return the index of\n // the next-closest element.\n //\n // 3. We did not find the exact element, and there is no next-closest\n // element than the one we are searching for, so we return -1.\n var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n var cmp = aCompare(aNeedle, aHaystack[mid], true);\n if (cmp === 0) {\n // Found the element we are looking for.\n return mid;\n }\n else if (cmp > 0) {\n // Our needle is greater than aHaystack[mid].\n if (aHigh - mid > 1) {\n // The element is in the upper half.\n return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // The exact needle element was not found in this haystack. Determine if\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return aHigh < aHaystack.length ? aHigh : -1;\n } else {\n return mid;\n }\n }\n else {\n // Our needle is less than aHaystack[mid].\n if (mid - aLow > 1) {\n // The element is in the lower half.\n return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return mid;\n } else {\n return aLow < 0 ? -1 : aLow;\n }\n }\n}\n\n/**\n * This is an implementation of binary search which will always try and return\n * the index of the closest element if there is no exact hit. This is because\n * mappings between original and generated line/col pairs are single points,\n * and there is an implicit region between each of them, so a miss just means\n * that you aren't on the very start of a region.\n *\n * @param aNeedle The element you are looking for.\n * @param aHaystack The array that is being searched.\n * @param aCompare A function which takes the needle and an element in the\n * array and returns -1, 0, or 1 depending on whether the needle is less\n * than, equal to, or greater than the element, respectively.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n */\nexports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n if (aHaystack.length === 0) {\n return -1;\n }\n\n var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n if (index < 0) {\n return -1;\n }\n\n // We have found either the exact element, or the next-closest element than\n // the one we are searching for. However, there may be more than one such\n // element. Make sure we always return the smallest of these.\n while (index - 1 >= 0) {\n if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n break;\n }\n --index;\n }\n\n return index;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/binary-search.js\n// module id = 8\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n// It turns out that some (most?) JavaScript engines don't self-host\n// `Array.prototype.sort`. This makes sense because C++ will likely remain\n// faster than JS when doing raw CPU-intensive sorting. However, when using a\n// custom comparator function, calling back and forth between the VM's C++ and\n// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n// worse generated code for the comparator function than would be optimal. In\n// fact, when sorting with a comparator, these costs outweigh the benefits of\n// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n// a ~3500ms mean speed-up in `bench/bench.html`.\n\n/**\n * Swap the elements indexed by `x` and `y` in the array `ary`.\n *\n * @param {Array} ary\n * The array.\n * @param {Number} x\n * The index of the first item.\n * @param {Number} y\n * The index of the second item.\n */\nfunction swap(ary, x, y) {\n var temp = ary[x];\n ary[x] = ary[y];\n ary[y] = temp;\n}\n\n/**\n * Returns a random integer within the range `low .. high` inclusive.\n *\n * @param {Number} low\n * The lower bound on the range.\n * @param {Number} high\n * The upper bound on the range.\n */\nfunction randomIntInRange(low, high) {\n return Math.round(low + (Math.random() * (high - low)));\n}\n\n/**\n * The Quick Sort algorithm.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n * @param {Number} p\n * Start index of the array\n * @param {Number} r\n * End index of the array\n */\nfunction doQuickSort(ary, comparator, p, r) {\n // If our lower bound is less than our upper bound, we (1) partition the\n // array into two pieces and (2) recurse on each half. If it is not, this is\n // the empty array and our base case.\n\n if (p < r) {\n // (1) Partitioning.\n //\n // The partitioning chooses a pivot between `p` and `r` and moves all\n // elements that are less than or equal to the pivot to the before it, and\n // all the elements that are greater than it after it. The effect is that\n // once partition is done, the pivot is in the exact place it will be when\n // the array is put in sorted order, and it will not need to be moved\n // again. This runs in O(n) time.\n\n // Always choose a random pivot so that an input array which is reverse\n // sorted does not cause O(n^2) running time.\n var pivotIndex = randomIntInRange(p, r);\n var i = p - 1;\n\n swap(ary, pivotIndex, r);\n var pivot = ary[r];\n\n // Immediately after `j` is incremented in this loop, the following hold\n // true:\n //\n // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n //\n // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n for (var j = p; j < r; j++) {\n if (comparator(ary[j], pivot) <= 0) {\n i += 1;\n swap(ary, i, j);\n }\n }\n\n swap(ary, i + 1, j);\n var q = i + 1;\n\n // (2) Recurse on each half.\n\n doQuickSort(ary, comparator, p, q - 1);\n doQuickSort(ary, comparator, q + 1, r);\n }\n}\n\n/**\n * Sort the given array in-place with the given comparator function.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n */\nexports.quickSort = function (ary, comparator) {\n doQuickSort(ary, comparator, 0, ary.length - 1);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/quick-sort.js\n// module id = 9\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;\nvar util = require('./util');\n\n// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n// operating systems these days (capturing the result).\nvar REGEX_NEWLINE = /(\\r?\\n)/;\n\n// Newline character code for charCodeAt() comparisons\nvar NEWLINE_CODE = 10;\n\n// Private symbol for identifying `SourceNode`s when multiple versions of\n// the source-map library are loaded. This MUST NOT CHANGE across\n// versions!\nvar isSourceNode = \"$$$isSourceNode$$$\";\n\n/**\n * SourceNodes provide a way to abstract over interpolating/concatenating\n * snippets of generated JavaScript source code while maintaining the line and\n * column information associated with the original source code.\n *\n * @param aLine The original line number.\n * @param aColumn The original column number.\n * @param aSource The original source's filename.\n * @param aChunks Optional. An array of strings which are snippets of\n * generated JS, or other SourceNodes.\n * @param aName The original identifier.\n */\nfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n this.children = [];\n this.sourceContents = {};\n this.line = aLine == null ? null : aLine;\n this.column = aColumn == null ? null : aColumn;\n this.source = aSource == null ? null : aSource;\n this.name = aName == null ? null : aName;\n this[isSourceNode] = true;\n if (aChunks != null) this.add(aChunks);\n}\n\n/**\n * Creates a SourceNode from generated code and a SourceMapConsumer.\n *\n * @param aGeneratedCode The generated code\n * @param aSourceMapConsumer The SourceMap for the generated code\n * @param aRelativePath Optional. The path that relative sources in the\n * SourceMapConsumer should be relative to.\n */\nSourceNode.fromStringWithSourceMap =\n function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n // The SourceNode we want to fill with the generated code\n // and the SourceMap\n var node = new SourceNode();\n\n // All even indices of this array are one line of the generated code,\n // while all odd indices are the newlines between two adjacent lines\n // (since `REGEX_NEWLINE` captures its match).\n // Processed fragments are accessed by calling `shiftNextLine`.\n var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n var remainingLinesIndex = 0;\n var shiftNextLine = function() {\n var lineContents = getNextLine();\n // The last line of a file might not have a newline.\n var newLine = getNextLine() || \"\";\n return lineContents + newLine;\n\n function getNextLine() {\n return remainingLinesIndex < remainingLines.length ?\n remainingLines[remainingLinesIndex++] : undefined;\n }\n };\n\n // We need to remember the position of \"remainingLines\"\n var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\n // The generate SourceNodes we need a code range.\n // To extract it current and last mapping is used.\n // Here we store the last mapping.\n var lastMapping = null;\n\n aSourceMapConsumer.eachMapping(function (mapping) {\n if (lastMapping !== null) {\n // We add the code from \"lastMapping\" to \"mapping\":\n // First check if there is a new line in between.\n if (lastGeneratedLine < mapping.generatedLine) {\n // Associate first line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n lastGeneratedLine++;\n lastGeneratedColumn = 0;\n // The remaining code is added without mapping\n } else {\n // There is no new line in between.\n // Associate the code between \"lastGeneratedColumn\" and\n // \"mapping.generatedColumn\" with \"lastMapping\"\n var nextLine = remainingLines[remainingLinesIndex];\n var code = nextLine.substr(0, mapping.generatedColumn -\n lastGeneratedColumn);\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n lastGeneratedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n addMappingWithCode(lastMapping, code);\n // No more remaining code, continue\n lastMapping = mapping;\n return;\n }\n }\n // We add the generated code until the first mapping\n // to the SourceNode without any mapping.\n // Each line is added as separate string.\n while (lastGeneratedLine < mapping.generatedLine) {\n node.add(shiftNextLine());\n lastGeneratedLine++;\n }\n if (lastGeneratedColumn < mapping.generatedColumn) {\n var nextLine = remainingLines[remainingLinesIndex];\n node.add(nextLine.substr(0, mapping.generatedColumn));\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n }\n lastMapping = mapping;\n }, this);\n // We have processed all mappings.\n if (remainingLinesIndex < remainingLines.length) {\n if (lastMapping) {\n // Associate the remaining code in the current line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n }\n // and add the remaining lines without any mapping\n node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n }\n\n // Copy sourcesContent into SourceNode\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aRelativePath != null) {\n sourceFile = util.join(aRelativePath, sourceFile);\n }\n node.setSourceContent(sourceFile, content);\n }\n });\n\n return node;\n\n function addMappingWithCode(mapping, code) {\n if (mapping === null || mapping.source === undefined) {\n node.add(code);\n } else {\n var source = aRelativePath\n ? util.join(aRelativePath, mapping.source)\n : mapping.source;\n node.add(new SourceNode(mapping.originalLine,\n mapping.originalColumn,\n source,\n code,\n mapping.name));\n }\n }\n };\n\n/**\n * Add a chunk of generated JS to this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.add = function SourceNode_add(aChunk) {\n if (Array.isArray(aChunk)) {\n aChunk.forEach(function (chunk) {\n this.add(chunk);\n }, this);\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n if (aChunk) {\n this.children.push(aChunk);\n }\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Add a chunk of generated JS to the beginning of this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n if (Array.isArray(aChunk)) {\n for (var i = aChunk.length-1; i >= 0; i--) {\n this.prepend(aChunk[i]);\n }\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n this.children.unshift(aChunk);\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Walk over the tree of JS snippets in this node and its children. The\n * walking function is called once for each snippet of JS and is passed that\n * snippet and the its original associated source's line/column location.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n var chunk;\n for (var i = 0, len = this.children.length; i < len; i++) {\n chunk = this.children[i];\n if (chunk[isSourceNode]) {\n chunk.walk(aFn);\n }\n else {\n if (chunk !== '') {\n aFn(chunk, { source: this.source,\n line: this.line,\n column: this.column,\n name: this.name });\n }\n }\n }\n};\n\n/**\n * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n * each of `this.children`.\n *\n * @param aSep The separator.\n */\nSourceNode.prototype.join = function SourceNode_join(aSep) {\n var newChildren;\n var i;\n var len = this.children.length;\n if (len > 0) {\n newChildren = [];\n for (i = 0; i < len-1; i++) {\n newChildren.push(this.children[i]);\n newChildren.push(aSep);\n }\n newChildren.push(this.children[i]);\n this.children = newChildren;\n }\n return this;\n};\n\n/**\n * Call String.prototype.replace on the very right-most source snippet. Useful\n * for trimming whitespace from the end of a source node, etc.\n *\n * @param aPattern The pattern to replace.\n * @param aReplacement The thing to replace the pattern with.\n */\nSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n var lastChild = this.children[this.children.length - 1];\n if (lastChild[isSourceNode]) {\n lastChild.replaceRight(aPattern, aReplacement);\n }\n else if (typeof lastChild === 'string') {\n this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n }\n else {\n this.children.push(''.replace(aPattern, aReplacement));\n }\n return this;\n};\n\n/**\n * Set the source content for a source file. This will be added to the SourceMapGenerator\n * in the sourcesContent field.\n *\n * @param aSourceFile The filename of the source file\n * @param aSourceContent The content of the source file\n */\nSourceNode.prototype.setSourceContent =\n function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n };\n\n/**\n * Walk over the tree of SourceNodes. The walking function is called for each\n * source file content and is passed the filename and source content.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walkSourceContents =\n function SourceNode_walkSourceContents(aFn) {\n for (var i = 0, len = this.children.length; i < len; i++) {\n if (this.children[i][isSourceNode]) {\n this.children[i].walkSourceContents(aFn);\n }\n }\n\n var sources = Object.keys(this.sourceContents);\n for (var i = 0, len = sources.length; i < len; i++) {\n aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n }\n };\n\n/**\n * Return the string representation of this source node. Walks over the tree\n * and concatenates all the various snippets together to one string.\n */\nSourceNode.prototype.toString = function SourceNode_toString() {\n var str = \"\";\n this.walk(function (chunk) {\n str += chunk;\n });\n return str;\n};\n\n/**\n * Returns the string representation of this source node along with a source\n * map.\n */\nSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n var generated = {\n code: \"\",\n line: 1,\n column: 0\n };\n var map = new SourceMapGenerator(aArgs);\n var sourceMappingActive = false;\n var lastOriginalSource = null;\n var lastOriginalLine = null;\n var lastOriginalColumn = null;\n var lastOriginalName = null;\n this.walk(function (chunk, original) {\n generated.code += chunk;\n if (original.source !== null\n && original.line !== null\n && original.column !== null) {\n if(lastOriginalSource !== original.source\n || lastOriginalLine !== original.line\n || lastOriginalColumn !== original.column\n || lastOriginalName !== original.name) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n lastOriginalSource = original.source;\n lastOriginalLine = original.line;\n lastOriginalColumn = original.column;\n lastOriginalName = original.name;\n sourceMappingActive = true;\n } else if (sourceMappingActive) {\n map.addMapping({\n generated: {\n line: generated.line,\n column: generated.column\n }\n });\n lastOriginalSource = null;\n sourceMappingActive = false;\n }\n for (var idx = 0, length = chunk.length; idx < length; idx++) {\n if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n generated.line++;\n generated.column = 0;\n // Mappings end at eol\n if (idx + 1 === length) {\n lastOriginalSource = null;\n sourceMappingActive = false;\n } else if (sourceMappingActive) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n } else {\n generated.column++;\n }\n }\n });\n this.walkSourceContents(function (sourceFile, sourceContent) {\n map.setSourceContent(sourceFile, sourceContent);\n });\n\n return { code: generated.code, map: map };\n};\n\nexports.SourceNode = SourceNode;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-node.js\n// module id = 10\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/source-map/lib/array-set.js b/node_modules/@babel/core/node_modules/source-map/lib/array-set.js deleted file mode 100644 index fbd5c81c..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/array-set.js +++ /dev/null @@ -1,121 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); -var has = Object.prototype.hasOwnProperty; -var hasNativeMap = typeof Map !== "undefined"; - -/** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ -function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); -} - -/** - * Static method for creating ArraySet instances from an existing array. - */ -ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; -}; - -/** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ -ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; -}; - -/** - * Add the given string to this set. - * - * @param String aStr - */ -ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } -}; - -/** - * Is the given string a member of this set? - * - * @param String aStr - */ -ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } -}; - -/** - * What is the index of the given string in the array? - * - * @param String aStr - */ -ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); -}; - -/** - * What is the element at the given index? - * - * @param Number aIdx - */ -ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); -}; - -/** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ -ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); -}; - -exports.ArraySet = ArraySet; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js b/node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js deleted file mode 100644 index 612b4040..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js +++ /dev/null @@ -1,140 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -var base64 = require('./base64'); - -// A single base 64 digit can contain 6 bits of data. For the base 64 variable -// length quantities we use in the source map spec, the first bit is the sign, -// the next four bits are the actual value, and the 6th bit is the -// continuation bit. The continuation bit tells us whether there are more -// digits in this value following this digit. -// -// Continuation -// | Sign -// | | -// V V -// 101011 - -var VLQ_BASE_SHIFT = 5; - -// binary: 100000 -var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - -// binary: 011111 -var VLQ_BASE_MASK = VLQ_BASE - 1; - -// binary: 100000 -var VLQ_CONTINUATION_BIT = VLQ_BASE; - -/** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ -function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; -} - -/** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ -function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; -} - -/** - * Returns the base 64 VLQ encoded value. - */ -exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; -}; - -/** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ -exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; -}; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/base64.js b/node_modules/@babel/core/node_modules/source-map/lib/base64.js deleted file mode 100644 index 8aa86b30..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/base64.js +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - -/** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ -exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); -}; - -/** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ -exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; -}; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/binary-search.js b/node_modules/@babel/core/node_modules/source-map/lib/binary-search.js deleted file mode 100644 index 010ac941..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/binary-search.js +++ /dev/null @@ -1,111 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -exports.GREATEST_LOWER_BOUND = 1; -exports.LEAST_UPPER_BOUND = 2; - -/** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ -function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } -} - -/** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ -exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; -}; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js b/node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js deleted file mode 100644 index 06d1274a..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/mapping-list.js +++ /dev/null @@ -1,79 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); - -/** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ -function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; -} - -/** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ -function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; -} - -/** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ -MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - -/** - * Add the given source mapping. - * - * @param Object aMapping - */ -MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } -}; - -/** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ -MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; -}; - -exports.MappingList = MappingList; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js b/node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js deleted file mode 100644 index 6a7caadb..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/quick-sort.js +++ /dev/null @@ -1,114 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -// It turns out that some (most?) JavaScript engines don't self-host -// `Array.prototype.sort`. This makes sense because C++ will likely remain -// faster than JS when doing raw CPU-intensive sorting. However, when using a -// custom comparator function, calling back and forth between the VM's C++ and -// JIT'd JS is rather slow *and* loses JIT type information, resulting in -// worse generated code for the comparator function than would be optimal. In -// fact, when sorting with a comparator, these costs outweigh the benefits of -// sorting in C++. By using our own JS-implemented Quick Sort (below), we get -// a ~3500ms mean speed-up in `bench/bench.html`. - -/** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ -function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; -} - -/** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ -function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); -} - -/** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ -function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } -} - -/** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ -exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); -}; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js b/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js deleted file mode 100644 index 6abcc280..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js +++ /dev/null @@ -1,1082 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); -var binarySearch = require('./binary-search'); -var ArraySet = require('./array-set').ArraySet; -var base64VLQ = require('./base64-vlq'); -var quickSort = require('./quick-sort').quickSort; - -function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); -} - -SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); -} - -/** - * The version of the source mapping spec that we are consuming. - */ -SourceMapConsumer.prototype._version = 3; - -// `__generatedMappings` and `__originalMappings` are arrays that hold the -// parsed mapping coordinates from the source map's "mappings" attribute. They -// are lazily instantiated, accessed via the `_generatedMappings` and -// `_originalMappings` getters respectively, and we only parse the mappings -// and create these arrays once queried for a source location. We jump through -// these hoops because there can be many thousands of mappings, and parsing -// them is expensive, so we only want to do it if we must. -// -// Each object in the arrays is of the form: -// -// { -// generatedLine: The line number in the generated code, -// generatedColumn: The column number in the generated code, -// source: The path to the original source file that generated this -// chunk of code, -// originalLine: The line number in the original source that -// corresponds to this chunk of generated code, -// originalColumn: The column number in the original source that -// corresponds to this chunk of generated code, -// name: The name of the original symbol which generated this chunk of -// code. -// } -// -// All properties except for `generatedLine` and `generatedColumn` can be -// `null`. -// -// `_generatedMappings` is ordered by the generated positions. -// -// `_originalMappings` is ordered by the original positions. - -SourceMapConsumer.prototype.__generatedMappings = null; -Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } -}); - -SourceMapConsumer.prototype.__originalMappings = null; -Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } -}); - -SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - -SourceMapConsumer.GENERATED_ORDER = 1; -SourceMapConsumer.ORIGINAL_ORDER = 2; - -SourceMapConsumer.GREATEST_LOWER_BOUND = 1; -SourceMapConsumer.LEAST_UPPER_BOUND = 2; - -/** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ -SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - -/** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - -exports.SourceMapConsumer = SourceMapConsumer; - -/** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ -function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; -} - -BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); -BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - -/** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ -BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - -/** - * The version of the source mapping spec that we are consuming. - */ -BasicSourceMapConsumer.prototype._version = 3; - -/** - * The list of original sources. - */ -Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } -}); - -/** - * Provide the JIT with a nice shape / hidden class. - */ -function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; -} - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - -/** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ -BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - -/** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ -BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - -/** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ -BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - -/** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ -BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - -/** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ -BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - -/** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - -exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - -/** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ -function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); -} - -IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); -IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - -/** - * The version of the source mapping spec that we are consuming. - */ -IndexedSourceMapConsumer.prototype._version = 3; - -/** - * The list of original sources. - */ -Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } -}); - -/** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ -IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - -/** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ -IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - -/** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ -IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - -/** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - -exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js b/node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js deleted file mode 100644 index aff1e7fb..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/source-map-generator.js +++ /dev/null @@ -1,416 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var base64VLQ = require('./base64-vlq'); -var util = require('./util'); -var ArraySet = require('./array-set').ArraySet; -var MappingList = require('./mapping-list').MappingList; - -/** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ -function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; -} - -SourceMapGenerator.prototype._version = 3; - -/** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ -SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - -/** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ -SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - -/** - * Set the source content for a source file. - */ -SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - -/** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ -SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - -/** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ -SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - -/** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ -SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - -SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - -/** - * Externalize the source map. - */ -SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - -/** - * Render the source map being generated to a string. - */ -SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - -exports.SourceMapGenerator = SourceMapGenerator; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/source-node.js b/node_modules/@babel/core/node_modules/source-map/lib/source-node.js deleted file mode 100644 index d196a53f..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/source-node.js +++ /dev/null @@ -1,413 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator; -var util = require('./util'); - -// Matches a Windows-style `\r\n` newline or a `\n` newline used by all other -// operating systems these days (capturing the result). -var REGEX_NEWLINE = /(\r?\n)/; - -// Newline character code for charCodeAt() comparisons -var NEWLINE_CODE = 10; - -// Private symbol for identifying `SourceNode`s when multiple versions of -// the source-map library are loaded. This MUST NOT CHANGE across -// versions! -var isSourceNode = "$$$isSourceNode$$$"; - -/** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ -function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); -} - -/** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ -SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - -/** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ -SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; -}; - -/** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ -SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; -}; - -/** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ -SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } -}; - -/** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ -SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; -}; - -/** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ -SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; -}; - -/** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ -SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - -/** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ -SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - -/** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ -SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; -}; - -/** - * Returns the string representation of this source node along with a source - * map. - */ -SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; -}; - -exports.SourceNode = SourceNode; diff --git a/node_modules/@babel/core/node_modules/source-map/lib/util.js b/node_modules/@babel/core/node_modules/source-map/lib/util.js deleted file mode 100644 index 44e0e452..00000000 --- a/node_modules/@babel/core/node_modules/source-map/lib/util.js +++ /dev/null @@ -1,417 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -/** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ -function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } -} -exports.getArg = getArg; - -var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; -var dataUrlRegexp = /^data:.+\,.+$/; - -function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; -} -exports.urlParse = urlParse; - -function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; -} -exports.urlGenerate = urlGenerate; - -/** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ -function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; -} -exports.normalize = normalize; - -/** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ -function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; -} -exports.join = join; - -exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); -}; - -/** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ -function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); -} -exports.relative = relative; - -var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); -}()); - -function identity (s) { - return s; -} - -/** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ -function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; -} -exports.toSetString = supportsNullProto ? identity : toSetString; - -function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; -} -exports.fromSetString = supportsNullProto ? identity : fromSetString; - -function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; -} - -/** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ -function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; -} -exports.compareByOriginalPositions = compareByOriginalPositions; - -/** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ -function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; -} -exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - -function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; -} - -/** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ -function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); -} -exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; diff --git a/node_modules/@babel/core/node_modules/source-map/package.json b/node_modules/@babel/core/node_modules/source-map/package.json deleted file mode 100644 index 048e3ae8..00000000 --- a/node_modules/@babel/core/node_modules/source-map/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "source-map", - "description": "Generates and consumes source maps", - "version": "0.5.7", - "homepage": "https://github.com/mozilla/source-map", - "author": "Nick Fitzgerald ", - "contributors": [ - "Tobias Koppers ", - "Duncan Beevers ", - "Stephen Crane ", - "Ryan Seddon ", - "Miles Elam ", - "Mihai Bazon ", - "Michael Ficarra ", - "Todd Wolfson ", - "Alexander Solovyov ", - "Felix Gnass ", - "Conrad Irwin ", - "usrbincc ", - "David Glasser ", - "Chase Douglas ", - "Evan Wallace ", - "Heather Arthur ", - "Hugh Kennedy ", - "David Glasser ", - "Simon Lydell ", - "Jmeas Smith ", - "Michael Z Goddard ", - "azu ", - "John Gozde ", - "Adam Kirkton ", - "Chris Montgomery ", - "J. Ryan Stinnett ", - "Jack Herrington ", - "Chris Truter ", - "Daniel Espeset ", - "Jamie Wong ", - "Eddy Bruël ", - "Hawken Rives ", - "Gilad Peleg ", - "djchie ", - "Gary Ye ", - "Nicolas Lalevée " - ], - "repository": { - "type": "git", - "url": "http://github.com/mozilla/source-map.git" - }, - "main": "./source-map.js", - "files": [ - "source-map.js", - "lib/", - "dist/source-map.debug.js", - "dist/source-map.js", - "dist/source-map.min.js", - "dist/source-map.min.js.map" - ], - "engines": { - "node": ">=0.10.0" - }, - "license": "BSD-3-Clause", - "scripts": { - "test": "npm run build && node test/run-tests.js", - "build": "webpack --color", - "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" - }, - "devDependencies": { - "doctoc": "^0.15.0", - "webpack": "^1.12.0" - }, - "typings": "source-map" -} diff --git a/node_modules/@babel/core/node_modules/source-map/source-map.js b/node_modules/@babel/core/node_modules/source-map/source-map.js deleted file mode 100644 index bc88fe82..00000000 --- a/node_modules/@babel/core/node_modules/source-map/source-map.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ -exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; -exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; -exports.SourceNode = require('./lib/source-node').SourceNode; diff --git a/node_modules/@babel/core/package.json b/node_modules/@babel/core/package.json index ce3d9779..35629db7 100644 --- a/node_modules/@babel/core/package.json +++ b/node_modules/@babel/core/package.json @@ -1,6 +1,6 @@ { "name": "@babel/core", - "version": "7.16.12", + "version": "7.18.6", "description": "Babel compiler core.", "main": "./lib/index.js", "author": "The Babel Team (https://babel.dev/team)", @@ -41,36 +41,39 @@ "./lib/config/files/index.js": "./lib/config/files/index-browser.js", "./lib/config/resolve-targets.js": "./lib/config/resolve-targets-browser.js", "./lib/transform-file.js": "./lib/transform-file-browser.js", - "./lib/transformation/util/clone-deep.js": "./lib/transformation/util/clone-deep-browser.js", "./src/config/files/index.ts": "./src/config/files/index-browser.ts", "./src/config/resolve-targets.ts": "./src/config/resolve-targets-browser.ts", - "./src/transform-file.ts": "./src/transform-file-browser.ts", - "./src/transformation/util/clone-deep.ts": "./src/transformation/util/clone-deep-browser.ts" + "./src/transform-file.ts": "./src/transform-file-browser.ts" }, "dependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.16.8", - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helpers": "^7.16.7", - "@babel/parser": "^7.16.12", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.10", - "@babel/types": "^7.16.8", + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helpers": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6", "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" + "json5": "^2.2.1", + "semver": "^6.3.0" }, "devDependencies": { - "@babel/helper-transform-fixture-test-runner": "^7.16.7", - "@babel/plugin-transform-modules-commonjs": "^7.16.8", + "@babel/helper-transform-fixture-test-runner": "^7.18.6", + "@babel/plugin-syntax-flow": "^7.18.6", + "@babel/plugin-transform-flow-strip-types": "^7.18.6", + "@babel/plugin-transform-modules-commonjs": "^7.18.6", + "@babel/preset-env": "^7.18.6", + "@jridgewell/trace-mapping": "^0.3.8", "@types/convert-source-map": "^1.5.1", "@types/debug": "^4.1.0", "@types/resolve": "^1.3.2", "@types/semver": "^5.4.0", - "@types/source-map": "^0.5.0" - } + "rimraf": "^3.0.0" + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/core/src/config/files/index-browser.ts b/node_modules/@babel/core/src/config/files/index-browser.ts index ac615d9a..08f91f6a 100644 --- a/node_modules/@babel/core/src/config/files/index-browser.ts +++ b/node_modules/@babel/core/src/config/files/index-browser.ts @@ -35,7 +35,7 @@ export function* findRelativeConfig( // eslint-disable-next-line @typescript-eslint/no-unused-vars envName: string, // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | void, + caller: CallerMetadata | undefined, ): Handler { return { config: null, ignore: null }; } @@ -47,7 +47,7 @@ export function* findRootConfig( // eslint-disable-next-line @typescript-eslint/no-unused-vars envName: string, // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | void, + caller: CallerMetadata | undefined, ): Handler { return null; } @@ -59,7 +59,7 @@ export function* loadConfig( // eslint-disable-next-line @typescript-eslint/no-unused-vars envName: string, // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | void, + caller: CallerMetadata | undefined, ): Handler { throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`); } @@ -72,7 +72,7 @@ export function* resolveShowConfigPath( return null; } -export const ROOT_CONFIG_FILENAMES = []; +export const ROOT_CONFIG_FILENAMES: string[] = []; // eslint-disable-next-line @typescript-eslint/no-unused-vars export function resolvePlugin(name: string, dirname: string): string | null { diff --git a/node_modules/@babel/core/src/config/resolve-targets-browser.ts b/node_modules/@babel/core/src/config/resolve-targets-browser.ts index 2d91c921..60745dd7 100644 --- a/node_modules/@babel/core/src/config/resolve-targets-browser.ts +++ b/node_modules/@babel/core/src/config/resolve-targets-browser.ts @@ -1,5 +1,7 @@ import type { ValidatedOptions } from "./validation/options"; -import getTargets from "@babel/helper-compilation-targets"; +import getTargets, { + type InputTargets, +} from "@babel/helper-compilation-targets"; import type { Targets } from "@babel/helper-compilation-targets"; @@ -17,13 +19,18 @@ export function resolveTargets( // eslint-disable-next-line @typescript-eslint/no-unused-vars root: string, ): Targets { - // todo(flow->ts) remove any and refactor to not assign different types into same variable - let targets: any = options.targets; - if (typeof targets === "string" || Array.isArray(targets)) { - targets = { browsers: targets }; - } - if (targets && targets.esmodules) { - targets = { ...targets, esmodules: "intersect" }; + const optTargets = options.targets; + let targets: InputTargets; + + if (typeof optTargets === "string" || Array.isArray(optTargets)) { + targets = { browsers: optTargets }; + } else if (optTargets) { + if ("esmodules" in optTargets) { + targets = { ...optTargets, esmodules: "intersect" }; + } else { + // https://github.com/microsoft/TypeScript/issues/17002 + targets = optTargets as InputTargets; + } } return getTargets(targets, { diff --git a/node_modules/@babel/core/src/config/resolve-targets.ts b/node_modules/@babel/core/src/config/resolve-targets.ts index 90a443ed..a7d9a790 100644 --- a/node_modules/@babel/core/src/config/resolve-targets.ts +++ b/node_modules/@babel/core/src/config/resolve-targets.ts @@ -7,7 +7,9 @@ type nodeType = typeof import("./resolve-targets"); import type { ValidatedOptions } from "./validation/options"; import path from "path"; -import getTargets from "@babel/helper-compilation-targets"; +import getTargets, { + type InputTargets, +} from "@babel/helper-compilation-targets"; import type { Targets } from "@babel/helper-compilation-targets"; @@ -22,13 +24,18 @@ export function resolveTargets( options: ValidatedOptions, root: string, ): Targets { - // todo(flow->ts) remove any and refactor to not assign different types into same variable - let targets: any = options.targets; - if (typeof targets === "string" || Array.isArray(targets)) { - targets = { browsers: targets }; - } - if (targets && targets.esmodules) { - targets = { ...targets, esmodules: "intersect" }; + const optTargets = options.targets; + let targets: InputTargets; + + if (typeof optTargets === "string" || Array.isArray(optTargets)) { + targets = { browsers: optTargets }; + } else if (optTargets) { + if ("esmodules" in optTargets) { + targets = { ...optTargets, esmodules: "intersect" }; + } else { + // https://github.com/microsoft/TypeScript/issues/17002 + targets = optTargets as InputTargets; + } } const { browserslistConfigFile } = options; diff --git a/node_modules/@babel/core/src/transform-file-browser.ts b/node_modules/@babel/core/src/transform-file-browser.ts index 1adbcd64..f316cb43 100644 --- a/node_modules/@babel/core/src/transform-file-browser.ts +++ b/node_modules/@babel/core/src/transform-file-browser.ts @@ -1,13 +1,17 @@ // duplicated from transform-file so we do not have to import anything here type TransformFile = { - (filename: string, callback: Function): void; - (filename: string, opts: any, callback: Function): void; + (filename: string, callback: (error: Error, file: null) => void): void; + ( + filename: string, + opts: any, + callback: (error: Error, file: null) => void, + ): void; }; export const transformFile: TransformFile = function transformFile( filename, opts, - callback?, + callback?: (error: Error, file: null) => void, ) { if (typeof opts === "function") { callback = opts; diff --git a/node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts b/node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts deleted file mode 100644 index 78ae53eb..00000000 --- a/node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts +++ /dev/null @@ -1,19 +0,0 @@ -const serialized = "$$ babel internal serialized type" + Math.random(); - -function serialize(key, value) { - if (typeof value !== "bigint") return value; - return { - [serialized]: "BigInt", - value: value.toString(), - }; -} - -function revive(key, value) { - if (!value || typeof value !== "object") return value; - if (value[serialized] !== "BigInt") return value; - return BigInt(value.value); -} - -export default function (value) { - return JSON.parse(JSON.stringify(value, serialize), revive); -} diff --git a/node_modules/@babel/core/src/transformation/util/clone-deep.ts b/node_modules/@babel/core/src/transformation/util/clone-deep.ts deleted file mode 100644 index cc077ce9..00000000 --- a/node_modules/@babel/core/src/transformation/util/clone-deep.ts +++ /dev/null @@ -1,9 +0,0 @@ -import v8 from "v8"; -import cloneDeep from "./clone-deep-browser"; - -export default function (value) { - if (v8.deserialize && v8.serialize) { - return v8.deserialize(v8.serialize(value)); - } - return cloneDeep(value); -} diff --git a/node_modules/@babel/generator/lib/buffer.js b/node_modules/@babel/generator/lib/buffer.js index 14458139..c9c2022e 100644 --- a/node_modules/@babel/generator/lib/buffer.js +++ b/node_modules/@babel/generator/lib/buffer.js @@ -4,6 +4,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; + +function SourcePos() { + return { + identifierName: undefined, + line: undefined, + column: undefined, + filename: undefined + }; +} + const SPACES_RE = /^[ \t]+$/; class Buffer { @@ -16,12 +26,7 @@ class Buffer { line: 1, column: 0 }; - this._sourcePosition = { - identifierName: null, - line: null, - column: null, - filename: null - }; + this._sourcePosition = SourcePos(); this._disallowedPop = null; this._map = map; } @@ -32,29 +37,35 @@ class Buffer { const map = this._map; const result = { code: this._buf.trimRight(), - map: null, - rawMappings: map == null ? void 0 : map.getRawMappings() - }; - - if (map) { - Object.defineProperty(result, "map", { - configurable: true, - enumerable: true, - - get() { - return this.map = map.get(); - }, - - set(value) { - Object.defineProperty(this, "map", { - value, - writable: true - }); - } - - }); - } + decodedMap: map == null ? void 0 : map.getDecoded(), + + get map() { + const resultMap = map ? map.get() : null; + result.map = resultMap; + return resultMap; + }, + + set map(value) { + Object.defineProperty(result, "map", { + value, + writable: true + }); + }, + + get rawMappings() { + const mappings = map == null ? void 0 : map.getRawMappings(); + result.rawMappings = mappings; + return mappings; + }, + + set rawMappings(value) { + Object.defineProperty(result, "rawMappings", { + value, + writable: true + }); + } + }; return result; } @@ -65,11 +76,10 @@ class Buffer { line, column, filename, - identifierName, - force + identifierName } = this._sourcePosition; - this._append(str, line, column, identifierName, filename, force); + this._append(str, line, column, identifierName, filename); } queue(str) { @@ -83,11 +93,14 @@ class Buffer { line, column, filename, - identifierName, - force + identifierName } = this._sourcePosition; - this._queue.unshift([str, line, column, identifierName, filename, force]); + this._queue.unshift([str, line, column, identifierName, filename]); + } + + queueIndentation(str) { + this._queue.unshift([str, undefined, undefined, undefined, undefined]); } _flush() { @@ -98,14 +111,14 @@ class Buffer { } } - _append(str, line, column, identifierName, filename, force) { + _append(str, line, column, identifierName, filename) { this._buf += str; this._last = str.charCodeAt(str.length - 1); let i = str.indexOf("\n"); let last = 0; if (i !== 0) { - this._mark(line, column, identifierName, filename, force); + this._mark(line, column, identifierName, filename); } while (i !== -1) { @@ -114,7 +127,7 @@ class Buffer { last = i + 1; if (last < str.length) { - this._mark(++line, 0, identifierName, filename, force); + this._mark(++line, 0, identifierName, filename); } i = str.indexOf("\n", last); @@ -123,10 +136,10 @@ class Buffer { this._position.column += str.length - last; } - _mark(line, column, identifierName, filename, force) { + _mark(line, column, identifierName, filename) { var _this$_map; - (_this$_map = this._map) == null ? void 0 : _this$_map.mark(this._position.line, this._position.column, line, column, identifierName, filename, force); + (_this$_map = this._map) == null ? void 0 : _this$_map.mark(this._position, line, column, identifierName, filename); } removeTrailingNewline() { @@ -176,17 +189,17 @@ class Buffer { } exactSource(loc, cb) { - this.source("start", loc, true); + this.source("start", loc); cb(); this.source("end", loc); this._disallowPop("start", loc); } - source(prop, loc, force) { + source(prop, loc) { if (prop && !loc) return; - this._normalizePosition(prop, loc, this._sourcePosition, force); + this._normalizePosition(prop, loc, this._sourcePosition); } withSource(prop, loc, cb) { @@ -198,46 +211,26 @@ class Buffer { this.source(prop, loc); cb(); - if ((!this._sourcePosition.force || this._sourcePosition.line !== originalLine || this._sourcePosition.column !== originalColumn || this._sourcePosition.filename !== originalFilename) && (!this._disallowedPop || this._disallowedPop.line !== originalLine || this._disallowedPop.column !== originalColumn || this._disallowedPop.filename !== originalFilename)) { + if (!this._disallowedPop || this._disallowedPop.line !== originalLine || this._disallowedPop.column !== originalColumn || this._disallowedPop.filename !== originalFilename) { this._sourcePosition.line = originalLine; this._sourcePosition.column = originalColumn; this._sourcePosition.filename = originalFilename; this._sourcePosition.identifierName = originalIdentifierName; - this._sourcePosition.force = false; this._disallowedPop = null; } } _disallowPop(prop, loc) { if (prop && !loc) return; - this._disallowedPop = this._normalizePosition(prop, loc); + this._disallowedPop = this._normalizePosition(prop, loc, SourcePos()); } - _normalizePosition(prop, loc, targetObj, force) { + _normalizePosition(prop, loc, targetObj) { const pos = loc ? loc[prop] : null; - - if (targetObj === undefined) { - targetObj = { - identifierName: null, - line: null, - column: null, - filename: null, - force: false - }; - } - - const origLine = targetObj.line; - const origColumn = targetObj.column; - const origFilename = targetObj.filename; - targetObj.identifierName = prop === "start" && (loc == null ? void 0 : loc.identifierName) || null; + targetObj.identifierName = prop === "start" && (loc == null ? void 0 : loc.identifierName) || undefined; targetObj.line = pos == null ? void 0 : pos.line; targetObj.column = pos == null ? void 0 : pos.column; targetObj.filename = loc == null ? void 0 : loc.filename; - - if (force || targetObj.line !== origLine || targetObj.column !== origColumn || targetObj.filename !== origFilename) { - targetObj.force = force; - } - return targetObj; } diff --git a/node_modules/@babel/generator/lib/generators/base.js b/node_modules/@babel/generator/lib/generators/base.js index be9285cc..0b773c34 100644 --- a/node_modules/@babel/generator/lib/generators/base.js +++ b/node_modules/@babel/generator/lib/generators/base.js @@ -63,7 +63,7 @@ const unescapedDoubleQuoteRE = /(?:^|[^\\])(?:\\\\)*"/; function DirectiveLiteral(node) { const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw != null) { + if (!this.format.minified && raw !== undefined) { this.token(raw); return; } diff --git a/node_modules/@babel/generator/lib/generators/classes.js b/node_modules/@babel/generator/lib/generators/classes.js index dac40877..0c2c7c40 100644 --- a/node_modules/@babel/generator/lib/generators/classes.js +++ b/node_modules/@babel/generator/lib/generators/classes.js @@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); +exports.ClassAccessorProperty = ClassAccessorProperty; exports.ClassBody = ClassBody; exports.ClassExpression = exports.ClassDeclaration = ClassDeclaration; exports.ClassMethod = ClassMethod; @@ -20,8 +21,10 @@ const { } = _t; function ClassDeclaration(node, parent) { - if (!this.format.decoratorsBeforeExport || !isExportDefaultDeclaration(parent) && !isExportNamedDeclaration(parent)) { - this.printJoin(node.decorators, node); + { + if (!this.format.decoratorsBeforeExport || !isExportDefaultDeclaration(parent) && !isExportNamedDeclaration(parent)) { + this.printJoin(node.decorators, node); + } } if (node.declare) { @@ -82,7 +85,45 @@ function ClassBody(node) { function ClassProperty(node) { this.printJoin(node.decorators, node); this.source("end", node.key.loc); - this.tsPrintClassMemberModifiers(node, true); + this.tsPrintClassMemberModifiers(node); + + if (node.computed) { + this.token("["); + this.print(node.key, node); + this.token("]"); + } else { + this._variance(node); + + this.print(node.key, node); + } + + if (node.optional) { + this.token("?"); + } + + if (node.definite) { + this.token("!"); + } + + this.print(node.typeAnnotation, node); + + if (node.value) { + this.space(); + this.token("="); + this.space(); + this.print(node.value, node); + } + + this.semicolon(); +} + +function ClassAccessorProperty(node) { + this.printJoin(node.decorators, node); + this.source("end", node.key.loc); + this.tsPrintClassMemberModifiers(node); + this.word("accessor"); + this.printInnerComments(node); + this.space(); if (node.computed) { this.token("["); @@ -152,7 +193,7 @@ function ClassPrivateMethod(node) { function _classMethodHead(node) { this.printJoin(node.decorators, node); this.source("end", node.key.loc); - this.tsPrintClassMemberModifiers(node, false); + this.tsPrintClassMemberModifiers(node); this._methodHead(node); } diff --git a/node_modules/@babel/generator/lib/generators/expressions.js b/node_modules/@babel/generator/lib/generators/expressions.js index aa65c5ca..a9ce0969 100644 --- a/node_modules/@babel/generator/lib/generators/expressions.js +++ b/node_modules/@babel/generator/lib/generators/expressions.js @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.LogicalExpression = exports.BinaryExpression = exports.AssignmentExpression = AssignmentExpression; exports.AssignmentPattern = AssignmentPattern; -exports.AwaitExpression = void 0; +exports.AwaitExpression = AwaitExpression; exports.BindExpression = BindExpression; exports.CallExpression = CallExpression; exports.ConditionalExpression = ConditionalExpression; @@ -28,7 +28,7 @@ exports.ThisExpression = ThisExpression; exports.UnaryExpression = UnaryExpression; exports.UpdateExpression = UpdateExpression; exports.V8IntrinsicIdentifier = V8IntrinsicIdentifier; -exports.YieldExpression = void 0; +exports.YieldExpression = YieldExpression; var _t = require("@babel/types"); @@ -74,9 +74,7 @@ function UpdateExpression(node) { this.token(node.operator); this.print(node.argument, node); } else { - this.startTerminatorless(true); - this.print(node.argument, node); - this.endTerminatorless(); + this.printTerminatorless(node.argument, node, true); this.token(node.operator); } } @@ -128,9 +126,45 @@ function Super() { this.word("super"); } +function isDecoratorMemberExpression(node) { + switch (node.type) { + case "Identifier": + return true; + + case "MemberExpression": + return !node.computed && node.property.type === "Identifier" && isDecoratorMemberExpression(node.object); + + default: + return false; + } +} + +function shouldParenthesizeDecoratorExpression(node) { + if (node.type === "CallExpression") { + node = node.callee; + } + + if (node.type === "ParenthesizedExpression") { + return false; + } + + return !isDecoratorMemberExpression(node); +} + function Decorator(node) { this.token("@"); - this.print(node.expression, node); + const { + expression + } = node; + + if (shouldParenthesizeDecoratorExpression(expression)) { + this.token("("); + this.print(expression, node); + this.token(")"); + } else { + this.print(expression, node); + } + this.newline(); } @@ -191,27 +225,27 @@ function Import() { this.word("import"); } -function buildYieldAwait(keyword) { - return function (node) { - this.word(keyword); +function AwaitExpression(node) { + this.word("await"); - if (node.delegate) { - this.token("*"); - } - - if (node.argument) { - this.space(); - const terminatorState = this.startTerminatorless(); - this.print(node.argument, node); - this.endTerminatorless(terminatorState); - } - }; + if (node.argument) { + this.space(); + this.printTerminatorless(node.argument, node, false); + } } -const YieldExpression = buildYieldAwait("yield"); -exports.YieldExpression = YieldExpression; -const AwaitExpression = buildYieldAwait("await"); -exports.AwaitExpression = AwaitExpression; +function YieldExpression(node) { + this.word("yield"); + + if (node.delegate) { + this.token("*"); + } + + if (node.argument) { + this.space(); + this.printTerminatorless(node.argument, node, false); + } +} function EmptyStatement() { this.semicolon(true); diff --git a/node_modules/@babel/generator/lib/generators/flow.js b/node_modules/@babel/generator/lib/generators/flow.js index 7c0bc7d3..b554bb9f 100644 --- a/node_modules/@babel/generator/lib/generators/flow.js +++ b/node_modules/@babel/generator/lib/generators/flow.js @@ -219,14 +219,14 @@ function DeclareExportDeclaration(node) { this.space(); } - FlowExportDeclaration.apply(this, arguments); + FlowExportDeclaration.call(this, node); } -function DeclareExportAllDeclaration() { +function DeclareExportAllDeclaration(node) { this.word("declare"); this.space(); - _modules.ExportAllDeclaration.apply(this, arguments); + _modules.ExportAllDeclaration.call(this, node); } function EnumDeclaration(node) { diff --git a/node_modules/@babel/generator/lib/generators/jsx.js b/node_modules/@babel/generator/lib/generators/jsx.js index 3c11f59c..bd7c4c59 100644 --- a/node_modules/@babel/generator/lib/generators/jsx.js +++ b/node_modules/@babel/generator/lib/generators/jsx.js @@ -67,7 +67,7 @@ function JSXSpreadChild(node) { function JSXText(node) { const raw = this.getPossibleRaw(node); - if (raw != null) { + if (raw !== undefined) { this.token(raw); } else { this.token(node.value); diff --git a/node_modules/@babel/generator/lib/generators/methods.js b/node_modules/@babel/generator/lib/generators/methods.js index d31e7fad..27fa102e 100644 --- a/node_modules/@babel/generator/lib/generators/methods.js +++ b/node_modules/@babel/generator/lib/generators/methods.js @@ -42,7 +42,11 @@ function _parameters(parameters, parent) { function _param(parameter, parent) { this.printJoin(parameter.decorators, parameter); this.print(parameter, parent); - if (parameter.optional) this.token("?"); + + if (parameter.optional) { + this.token("?"); + } + this.print(parameter.typeAnnotation, parameter); } @@ -111,7 +115,9 @@ function _functionHead(node) { this._params(node); - this._predicate(node); + if (node.type !== "TSDeclareFunction") { + this._predicate(node); + } } function FunctionExpression(node) { diff --git a/node_modules/@babel/generator/lib/generators/modules.js b/node_modules/@babel/generator/lib/generators/modules.js index 7a3cc267..9a918265 100644 --- a/node_modules/@babel/generator/lib/generators/modules.js +++ b/node_modules/@babel/generator/lib/generators/modules.js @@ -93,28 +93,14 @@ function ExportAllDeclaration(node) { } function ExportNamedDeclaration(node) { - if (this.format.decoratorsBeforeExport && isClassDeclaration(node.declaration)) { - this.printJoin(node.declaration.decorators, node); - } - - this.word("export"); - this.space(); - ExportDeclaration.apply(this, arguments); -} - -function ExportDefaultDeclaration(node) { - if (this.format.decoratorsBeforeExport && isClassDeclaration(node.declaration)) { - this.printJoin(node.declaration.decorators, node); + { + if (this.format.decoratorsBeforeExport && isClassDeclaration(node.declaration)) { + this.printJoin(node.declaration.decorators, node); + } } - this.word("export"); this.space(); - this.word("default"); - this.space(); - ExportDeclaration.apply(this, arguments); -} -function ExportDeclaration(node) { if (node.declaration) { const declar = node.declaration; this.print(declar, node); @@ -168,41 +154,61 @@ function ExportDeclaration(node) { } } +function ExportDefaultDeclaration(node) { + { + if (this.format.decoratorsBeforeExport && isClassDeclaration(node.declaration)) { + this.printJoin(node.declaration.decorators, node); + } + } + this.word("export"); + this.space(); + this.word("default"); + this.space(); + const declar = node.declaration; + this.print(declar, node); + if (!isStatement(declar)) this.semicolon(); +} + function ImportDeclaration(node) { this.word("import"); this.space(); + const isTypeKind = node.importKind === "type" || node.importKind === "typeof"; - if (node.importKind === "type" || node.importKind === "typeof") { + if (isTypeKind) { this.word(node.importKind); this.space(); } const specifiers = node.specifiers.slice(0); + const hasSpecifiers = !!specifiers.length; - if (specifiers != null && specifiers.length) { - for (;;) { - const first = specifiers[0]; + while (hasSpecifiers) { + const first = specifiers[0]; - if (isImportDefaultSpecifier(first) || isImportNamespaceSpecifier(first)) { - this.print(specifiers.shift(), node); + if (isImportDefaultSpecifier(first) || isImportNamespaceSpecifier(first)) { + this.print(specifiers.shift(), node); - if (specifiers.length) { - this.token(","); - this.space(); - } - } else { - break; + if (specifiers.length) { + this.token(","); + this.space(); } + } else { + break; } + } - if (specifiers.length) { - this.token("{"); - this.space(); - this.printList(specifiers, node); - this.space(); - this.token("}"); - } + if (specifiers.length) { + this.token("{"); + this.space(); + this.printList(specifiers, node); + this.space(); + this.token("}"); + } else if (isTypeKind && !hasSpecifiers) { + this.token("{"); + this.token("}"); + } + if (hasSpecifiers || isTypeKind) { this.space(); this.word("from"); this.space(); diff --git a/node_modules/@babel/generator/lib/generators/statements.js b/node_modules/@babel/generator/lib/generators/statements.js index 8b7b8fd7..338048e9 100644 --- a/node_modules/@babel/generator/lib/generators/statements.js +++ b/node_modules/@babel/generator/lib/generators/statements.js @@ -3,19 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); -exports.BreakStatement = void 0; +exports.BreakStatement = BreakStatement; exports.CatchClause = CatchClause; -exports.ContinueStatement = void 0; +exports.ContinueStatement = ContinueStatement; exports.DebuggerStatement = DebuggerStatement; exports.DoWhileStatement = DoWhileStatement; exports.ForOfStatement = exports.ForInStatement = void 0; exports.ForStatement = ForStatement; exports.IfStatement = IfStatement; exports.LabeledStatement = LabeledStatement; -exports.ReturnStatement = void 0; +exports.ReturnStatement = ReturnStatement; exports.SwitchCase = SwitchCase; exports.SwitchStatement = SwitchStatement; -exports.ThrowStatement = void 0; +exports.ThrowStatement = ThrowStatement; exports.TryStatement = TryStatement; exports.VariableDeclaration = VariableDeclaration; exports.VariableDeclarator = VariableDeclarator; @@ -72,8 +72,15 @@ function IfStatement(node) { } function getLastStatement(statement) { - if (!isStatement(statement.body)) return statement; - return getLastStatement(statement.body); + const { + body + } = statement; + + if (isStatement(body) === false) { + return statement; + } + + return getLastStatement(body); } function ForStatement(node) { @@ -110,30 +117,29 @@ function WhileStatement(node) { this.printBlock(node); } -const buildForXStatement = function (op) { - return function (node) { - this.word("for"); - this.space(); - - if (op === "of" && node.await) { - this.word("await"); - this.space(); - } +function ForXStatement(node) { + this.word("for"); + this.space(); + const isForOf = node.type === "ForOfStatement"; - this.token("("); - this.print(node.left, node); - this.space(); - this.word(op); + if (isForOf && node.await) { + this.word("await"); this.space(); - this.print(node.right, node); - this.token(")"); - this.printBlock(node); - }; -}; + } + + this.token("("); + this.print(node.left, node); + this.space(); + this.word(isForOf ? "of" : "in"); + this.space(); + this.print(node.right, node); + this.token(")"); + this.printBlock(node); +} -const ForInStatement = buildForXStatement("in"); +const ForInStatement = ForXStatement; exports.ForInStatement = ForInStatement; -const ForOfStatement = buildForXStatement("of"); +const ForOfStatement = ForXStatement; exports.ForOfStatement = ForOfStatement; function DoWhileStatement(node) { @@ -149,31 +155,34 @@ function DoWhileStatement(node) { this.semicolon(); } -function buildLabelStatement(prefix, key = "label") { - return function (node) { - this.word(prefix); - const label = node[key]; - - if (label) { - this.space(); - const isLabel = key == "label"; - const terminatorState = this.startTerminatorless(isLabel); - this.print(label, node); - this.endTerminatorless(terminatorState); - } +function printStatementAfterKeyword(printer, node, parent, isLabel) { + if (node) { + printer.space(); + printer.printTerminatorless(node, parent, isLabel); + } - this.semicolon(); - }; + printer.semicolon(); } -const ContinueStatement = buildLabelStatement("continue"); -exports.ContinueStatement = ContinueStatement; -const ReturnStatement = buildLabelStatement("return", "argument"); -exports.ReturnStatement = ReturnStatement; -const BreakStatement = buildLabelStatement("break"); -exports.BreakStatement = BreakStatement; -const ThrowStatement = buildLabelStatement("throw", "argument"); -exports.ThrowStatement = ThrowStatement; +function BreakStatement(node) { + this.word("break"); + printStatementAfterKeyword(this, node.label, node, true); +} + +function ContinueStatement(node) { + this.word("continue"); + printStatementAfterKeyword(this, node.label, node, true); +} + +function ReturnStatement(node) { + this.word("return"); + printStatementAfterKeyword(this, node.argument, node, false); +} + +function ThrowStatement(node) { + this.word("throw"); + printStatementAfterKeyword(this, node.argument, node, false); +} function LabeledStatement(node) { this.print(node.label, node); diff --git a/node_modules/@babel/generator/lib/generators/types.js b/node_modules/@babel/generator/lib/generators/types.js index 94c8d9ff..0aeb0a1c 100644 --- a/node_modules/@babel/generator/lib/generators/types.js +++ b/node_modules/@babel/generator/lib/generators/types.js @@ -213,7 +213,7 @@ function NumericLiteral(node) { function StringLiteral(node) { const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw != null) { + if (!this.format.minified && raw !== undefined) { this.token(raw); return; } @@ -228,7 +228,7 @@ function StringLiteral(node) { function BigIntLiteral(node) { const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw != null) { + if (!this.format.minified && raw !== undefined) { this.word(raw); return; } @@ -239,7 +239,7 @@ function BigIntLiteral(node) { function DecimalLiteral(node) { const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw != null) { + if (!this.format.minified && raw !== undefined) { this.word(raw); return; } @@ -247,7 +247,7 @@ function DecimalLiteral(node) { this.word(node.value + "m"); } -const validTopicTokenSet = new Set(["^", "%", "#"]); +const validTopicTokenSet = new Set(["^^", "@@", "^", "%", "#"]); function TopicReference() { const { diff --git a/node_modules/@babel/generator/lib/generators/typescript.js b/node_modules/@babel/generator/lib/generators/typescript.js index 010d86d0..bf3f78fa 100644 --- a/node_modules/@babel/generator/lib/generators/typescript.js +++ b/node_modules/@babel/generator/lib/generators/typescript.js @@ -25,6 +25,7 @@ exports.TSImportType = TSImportType; exports.TSIndexSignature = TSIndexSignature; exports.TSIndexedAccessType = TSIndexedAccessType; exports.TSInferType = TSInferType; +exports.TSInstantiationExpression = TSInstantiationExpression; exports.TSInterfaceBody = TSInterfaceBody; exports.TSInterfaceDeclaration = TSInterfaceDeclaration; exports.TSIntersectionType = TSIntersectionType; @@ -65,13 +66,11 @@ exports.TSUndefinedKeyword = TSUndefinedKeyword; exports.TSUnionType = TSUnionType; exports.TSUnknownKeyword = TSUnknownKeyword; exports.TSVoidKeyword = TSVoidKeyword; -exports.tsPrintBraced = tsPrintBraced; exports.tsPrintClassMemberModifiers = tsPrintClassMemberModifiers; exports.tsPrintFunctionOrConstructorType = tsPrintFunctionOrConstructorType; exports.tsPrintPropertyOrMethodName = tsPrintPropertyOrMethodName; exports.tsPrintSignatureDeclarationBase = tsPrintSignatureDeclarationBase; exports.tsPrintTypeLiteralOrInterfaceBody = tsPrintTypeLiteralOrInterfaceBody; -exports.tsPrintUnionOrIntersectionType = tsPrintUnionOrIntersectionType; function TSTypeAnnotation(node) { this.token(":"); @@ -92,6 +91,16 @@ function TSTypeParameterInstantiation(node, parent) { } function TSTypeParameter(node) { + if (node.in) { + this.word("in"); + this.space(); + } + + if (node.out) { + this.word("out"); + this.space(); + } + this.word(node.name); if (node.constraint) { @@ -352,6 +361,10 @@ function TSTypeQuery(node) { this.word("typeof"); this.space(); this.print(node.exprName); + + if (node.typeParameters) { + this.print(node.typeParameters, node); + } } function TSTypeLiteral(node) { @@ -359,25 +372,25 @@ function TSTypeLiteral(node) { } function tsPrintTypeLiteralOrInterfaceBody(members, node) { - this.tsPrintBraced(members, node); + tsPrintBraced(this, members, node); } -function tsPrintBraced(members, node) { - this.token("{"); +function tsPrintBraced(printer, members, node) { + printer.token("{"); if (members.length) { - this.indent(); - this.newline(); + printer.indent(); + printer.newline(); for (const member of members) { - this.print(member, node); - this.newline(); + printer.print(member, node); + printer.newline(); } - this.dedent(); - this.rightBrace(); + printer.dedent(); + printer.rightBrace(); } else { - this.token("}"); + printer.token("}"); } } @@ -411,15 +424,15 @@ function TSNamedTupleMember(node) { } function TSUnionType(node) { - this.tsPrintUnionOrIntersectionType(node, "|"); + tsPrintUnionOrIntersectionType(this, node, "|"); } function TSIntersectionType(node) { - this.tsPrintUnionOrIntersectionType(node, "&"); + tsPrintUnionOrIntersectionType(this, node, "&"); } -function tsPrintUnionOrIntersectionType(node, sep) { - this.printJoin(node.types, node, { +function tsPrintUnionOrIntersectionType(printer, node, sep) { + printer.printJoin(node.types, node, { separator() { this.space(); this.token(sep); @@ -611,6 +624,11 @@ function TSTypeAssertion(node) { this.print(expression, node); } +function TSInstantiationExpression(node) { + this.print(node.expression, node); + this.print(node.typeParameters, node); +} + function TSEnumDeclaration(node) { const { declare, @@ -633,7 +651,7 @@ function TSEnumDeclaration(node) { this.space(); this.print(id, node); this.space(); - this.tsPrintBraced(members, node); + tsPrintBraced(this, members, node); } function TSEnumMember(node) { @@ -689,7 +707,7 @@ function TSModuleDeclaration(node) { } function TSModuleBlock(node) { - this.tsPrintBraced(node.body, node); + tsPrintBraced(this, node.body, node); } function TSImportType(node) { @@ -780,7 +798,9 @@ function tsPrintSignatureDeclarationBase(node) { this.print(returnType, node); } -function tsPrintClassMemberModifiers(node, isField) { +function tsPrintClassMemberModifiers(node) { + const isField = node.type === "ClassAccessorProperty" || node.type === "ClassProperty"; + if (isField && node.declare) { this.word("declare"); this.space(); diff --git a/node_modules/@babel/generator/lib/index.js b/node_modules/@babel/generator/lib/index.js index ca8a0bd7..d5e01434 100644 --- a/node_modules/@babel/generator/lib/index.js +++ b/node_modules/@babel/generator/lib/index.js @@ -41,7 +41,6 @@ function normalizeOptions(code, opts) { style: " ", base: 0 }, - decoratorsBeforeExport: !!opts.decoratorsBeforeExport, jsescOption: Object.assign({ quotes: "double", wrap: true, @@ -51,6 +50,7 @@ function normalizeOptions(code, opts) { topicToken: opts.topicToken }; { + format.decoratorsBeforeExport = !!opts.decoratorsBeforeExport; format.jsonCompatibleStrings = opts.jsonCompatibleStrings; } diff --git a/node_modules/@babel/generator/lib/node/index.js b/node_modules/@babel/generator/lib/node/index.js index b594ae44..41bb6ea4 100644 --- a/node_modules/@babel/generator/lib/node/index.js +++ b/node_modules/@babel/generator/lib/node/index.js @@ -66,7 +66,7 @@ function isOrHasCallExpression(node) { } function needsWhitespace(node, parent, type) { - if (!node) return 0; + if (!node) return false; if (isExpressionStatement(node)) { node = node.expression; @@ -86,10 +86,10 @@ function needsWhitespace(node, parent, type) { } if (typeof linesInfo === "object" && linesInfo !== null) { - return linesInfo[type] || 0; + return linesInfo[type] || false; } - return 0; + return false; } function needsWhitespaceBefore(node, parent) { diff --git a/node_modules/@babel/generator/lib/node/parentheses.js b/node_modules/@babel/generator/lib/node/parentheses.js index 5761a58d..9d2b9918 100644 --- a/node_modules/@babel/generator/lib/node/parentheses.js +++ b/node_modules/@babel/generator/lib/node/parentheses.js @@ -21,6 +21,7 @@ exports.OptionalCallExpression = exports.OptionalMemberExpression = OptionalMemb exports.SequenceExpression = SequenceExpression; exports.TSAsExpression = TSAsExpression; exports.TSInferType = TSInferType; +exports.TSInstantiationExpression = TSInstantiationExpression; exports.TSTypeAssertion = TSTypeAssertion; exports.TSIntersectionType = exports.TSUnionType = TSUnionType; exports.UnaryLike = UnaryLike; @@ -37,8 +38,9 @@ const { isAwaitExpression, isBinary, isBinaryExpression, + isUpdateExpression, isCallExpression, - isClassDeclaration, + isClass, isClassExpression, isConditional, isConditionalExpression, @@ -49,6 +51,7 @@ const { isForInStatement, isForOfStatement, isForStatement, + isFunctionExpression, isIfStatement, isIndexedAccessType, isIntersectionTypeAnnotation, @@ -64,6 +67,7 @@ const { isSwitchStatement, isTSArrayType, isTSAsExpression, + isTSInstantiationExpression, isTSIntersectionType, isTSNonNullExpression, isTSOptionalType, @@ -82,6 +86,7 @@ const { const PRECEDENCE = { "||": 0, "??": 0, + "|>": 0, "&&": 1, "|": 2, "^": 3, @@ -107,7 +112,9 @@ const PRECEDENCE = { "**": 10 }; -const isClassExtendsClause = (node, parent) => (isClassDeclaration(parent) || isClassExpression(parent)) && parent.superClass === node; +const isClassExtendsClause = (node, parent) => isClass(parent, { + superClass: node +}); const hasPostfixPart = (node, parent) => (isMemberExpression(parent) || isOptionalMemberExpression(parent)) && parent.object === node || (isCallExpression(parent) || isOptionalCallExpression(parent) || isNewExpression(parent)) && parent.callee === node || isTaggedTemplateExpression(parent) && parent.tag === node || isTSNonNullExpression(parent); @@ -189,6 +196,10 @@ function TSInferType(node, parent) { return isTSArrayType(parent) || isTSOptionalType(parent); } +function TSInstantiationExpression(node, parent) { + return (isCallExpression(parent) || isOptionalCallExpression(parent) || isNewExpression(parent) || isTSInstantiationExpression(parent)) && !!parent.typeParameters; +} + function BinaryExpression(node, parent) { return node.operator === "in" && (isVariableDeclarator(parent) || isFor(parent)); } @@ -273,6 +284,14 @@ function LogicalExpression(node, parent) { } function Identifier(node, parent, printStack) { + var _node$extra; + + if ((_node$extra = node.extra) != null && _node$extra.parenthesized && isAssignmentExpression(parent, { + left: node + }) && (isFunctionExpression(parent.right) || isClassExpression(parent.right)) && parent.right.id == null) { + return true; + } + if (node.name === "let") { const isFollowedByBracket = isMemberExpression(parent, { object: node, @@ -323,7 +342,7 @@ function isFirstInContext(printStack, { return true; } - if (hasPostfixPart(node, parent) && !isNewExpression(parent) || isSequenceExpression(parent) && parent.expressions[0] === node || isConditional(parent, { + if (hasPostfixPart(node, parent) && !isNewExpression(parent) || isSequenceExpression(parent) && parent.expressions[0] === node || isUpdateExpression(parent) && !parent.prefix || isConditional(parent, { test: node }) || isBinary(parent, { left: node diff --git a/node_modules/@babel/generator/lib/node/whitespace.js b/node_modules/@babel/generator/lib/node/whitespace.js index 80e2da9c..42320303 100644 --- a/node_modules/@babel/generator/lib/node/whitespace.js +++ b/node_modules/@babel/generator/lib/node/whitespace.js @@ -199,16 +199,12 @@ const list = { }; exports.list = list; [["Function", true], ["Class", true], ["Loop", true], ["LabeledStatement", true], ["SwitchStatement", true], ["TryStatement", true]].forEach(function ([type, amounts]) { - if (typeof amounts === "boolean") { - amounts = { - after: amounts, - before: amounts - }; - } - [type].concat(FLIPPED_ALIAS_KEYS[type] || []).forEach(function (type) { nodes[type] = function () { - return amounts; + return { + after: amounts, + before: amounts + }; }; }); }); \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/printer.js b/node_modules/@babel/generator/lib/printer.js index 0decd212..4ece9b30 100644 --- a/node_modules/@babel/generator/lib/printer.js +++ b/node_modules/@babel/generator/lib/printer.js @@ -196,7 +196,7 @@ class Printer { _maybeIndent(str) { if (this._indent && this.endsWith(10) && str.charCodeAt(0) !== 10) { - this._buf.queue(this._getIndent()); + this._buf.queueIndentation(this._getIndent()); } } @@ -253,24 +253,23 @@ class Printer { return this.format.indent.style.repeat(this._indent); } - startTerminatorless(isLabel = false) { + printTerminatorless(node, parent, isLabel) { if (isLabel) { this._noLineTerminator = true; - return null; + this.print(node, parent); + this._noLineTerminator = false; } else { - return this._parenPushNewlineState = { + const terminatorState = { printed: false }; - } - } - - endTerminatorless(state) { - this._noLineTerminator = false; + this._parenPushNewlineState = terminatorState; + this.print(node, parent); - if (state != null && state.printed) { - this.dedent(); - this.newline(); - this.token(")"); + if (terminatorState.printed) { + this.dedent(); + this.newline(); + this.token(")"); + } } } diff --git a/node_modules/@babel/generator/lib/source-map.js b/node_modules/@babel/generator/lib/source-map.js index 99da1def..e6117781 100644 --- a/node_modules/@babel/generator/lib/source-map.js +++ b/node_modules/@babel/generator/lib/source-map.js @@ -5,67 +5,51 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; -var _sourceMap = require("source-map"); +var _genMapping = require("@jridgewell/gen-mapping"); class SourceMap { constructor(opts, code) { - this._cachedMap = void 0; - this._code = void 0; - this._opts = void 0; + var _opts$sourceFileName; + + this._map = void 0; this._rawMappings = void 0; - this._lastGenLine = void 0; - this._lastSourceLine = void 0; - this._lastSourceColumn = void 0; - this._cachedMap = null; - this._code = code; - this._opts = opts; - this._rawMappings = []; + this._sourceFileName = void 0; + this._lastGenLine = 0; + this._lastSourceLine = 0; + this._lastSourceColumn = 0; + const map = this._map = new _genMapping.GenMapping({ + sourceRoot: opts.sourceRoot + }); + this._sourceFileName = (_opts$sourceFileName = opts.sourceFileName) == null ? void 0 : _opts$sourceFileName.replace(/\\/g, "/"); + this._rawMappings = undefined; + + if (typeof code === "string") { + (0, _genMapping.setSourceContent)(map, this._sourceFileName, code); + } else if (typeof code === "object") { + Object.keys(code).forEach(sourceFileName => { + (0, _genMapping.setSourceContent)(map, sourceFileName.replace(/\\/g, "/"), code[sourceFileName]); + }); + } } get() { - if (!this._cachedMap) { - const map = this._cachedMap = new _sourceMap.SourceMapGenerator({ - sourceRoot: this._opts.sourceRoot - }); - const code = this._code; - - if (typeof code === "string") { - map.setSourceContent(this._opts.sourceFileName.replace(/\\/g, "/"), code); - } else if (typeof code === "object") { - Object.keys(code).forEach(sourceFileName => { - map.setSourceContent(sourceFileName.replace(/\\/g, "/"), code[sourceFileName]); - }); - } - - this._rawMappings.forEach(mapping => map.addMapping(mapping), map); - } + return (0, _genMapping.toEncodedMap)(this._map); + } - return this._cachedMap.toJSON(); + getDecoded() { + return (0, _genMapping.toDecodedMap)(this._map); } getRawMappings() { - return this._rawMappings.slice(); + return this._rawMappings || (this._rawMappings = (0, _genMapping.allMappings)(this._map)); } - mark(generatedLine, generatedColumn, line, column, identifierName, filename, force) { - if (this._lastGenLine !== generatedLine && line === null) return; - - if (!force && this._lastGenLine === generatedLine && this._lastSourceLine === line && this._lastSourceColumn === column) { - return; - } - - this._cachedMap = null; - this._lastGenLine = generatedLine; - this._lastSourceLine = line; - this._lastSourceColumn = column; - - this._rawMappings.push({ - name: identifierName || undefined, - generated: { - line: generatedLine, - column: generatedColumn - }, - source: line == null ? undefined : (filename || this._opts.sourceFileName).replace(/\\/g, "/"), + mark(generated, line, column, identifierName, filename) { + this._rawMappings = undefined; + (0, _genMapping.maybeAddMapping)(this._map, { + name: identifierName, + generated, + source: line == null ? undefined : (filename == null ? void 0 : filename.replace(/\\/g, "/")) || this._sourceFileName, original: line == null ? undefined : { line: line, column: column diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/LICENSE b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/LICENSE new file mode 100644 index 00000000..352f0715 --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/LICENSE @@ -0,0 +1,19 @@ +Copyright 2022 Justin Ridgewell + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/README.md b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/README.md new file mode 100644 index 00000000..4066cdbb --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/README.md @@ -0,0 +1,227 @@ +# @jridgewell/gen-mapping + +> Generate source maps + +`gen-mapping` allows you to generate a source map during transpilation or minification. +With a source map, you're able to trace the original location in the source file, either in Chrome's +DevTools or using a library like [`@jridgewell/trace-mapping`][trace-mapping]. + +You may already be familiar with the [`source-map`][source-map] package's `SourceMapGenerator`. This +provides the same `addMapping` and `setSourceContent` API. + +## Installation + +```sh +npm install @jridgewell/gen-mapping +``` + +## Usage + +```typescript +import { GenMapping, addMapping, setSourceContent, toEncodedMap, toDecodedMap } from '@jridgewell/gen-mapping'; + +const map = new GenMapping({ + file: 'output.js', + sourceRoot: 'https://example.com/', +}); + +setSourceContent(map, 'input.js', `function foo() {}`); + +addMapping(map, { + // Lines start at line 1, columns at column 0. + generated: { line: 1, column: 0 }, + source: 'input.js', + original: { line: 1, column: 0 }, +}); + +addMapping(map, { + generated: { line: 1, column: 9 }, + source: 'input.js', + original: { line: 1, column: 9 }, + name: 'foo', +}); + +assert.deepEqual(toDecodedMap(map), { + version: 3, + file: 'output.js', + names: ['foo'], + sourceRoot: 'https://example.com/', + sources: ['input.js'], + sourcesContent: ['function foo() {}'], + mappings: [ + [ [0, 0, 0, 0], [9, 0, 0, 9, 0] ] + ], +}); + +assert.deepEqual(toEncodedMap(map), { + version: 3, + file: 'output.js', + names: ['foo'], + sourceRoot: 'https://example.com/', + sources: ['input.js'], + sourcesContent: ['function foo() {}'], + mappings: 'AAAA,SAASA', +}); +``` + +### Smaller Sourcemaps + +Not everything needs to be added to a sourcemap, and needless markings can cause signficantly +larger file sizes. `gen-mapping` exposes `maybeAddSegment`/`maybeAddMapping` APIs that will +intelligently determine if this marking adds useful information. If not, the marking will be +skipped. + +```typescript +import { maybeAddMapping } from '@jridgewell/gen-mapping'; + +const map = new GenMapping(); + +// Adding a sourceless marking at the beginning of a line isn't useful. +maybeAddMapping(map, { + generated: { line: 1, column: 0 }, +}); + +// Adding a new source marking is useful. +maybeAddMapping(map, { + generated: { line: 1, column: 0 }, + source: 'input.js', + original: { line: 1, column: 0 }, +}); + +// But adding another marking pointing to the exact same original location isn't, even if the +// generated column changed. +maybeAddMapping(map, { + generated: { line: 1, column: 9 }, + source: 'input.js', + original: { line: 1, column: 0 }, +}); + +assert.deepEqual(toEncodedMap(map), { + version: 3, + names: [], + sources: ['input.js'], + sourcesContent: [null], + mappings: 'AAAA', +}); +``` + +## Benchmarks + +``` +node v18.0.0 + +amp.js.map +Memory Usage: +gen-mapping: addSegment 5852872 bytes +gen-mapping: addMapping 7716042 bytes +source-map-js 6143250 bytes +source-map-0.6.1 6124102 bytes +source-map-0.8.0 6121173 bytes +Smallest memory usage is gen-mapping: addSegment + +Adding speed: +gen-mapping: addSegment x 441 ops/sec ±2.07% (90 runs sampled) +gen-mapping: addMapping x 350 ops/sec ±2.40% (86 runs sampled) +source-map-js: addMapping x 169 ops/sec ±2.42% (80 runs sampled) +source-map-0.6.1: addMapping x 167 ops/sec ±2.56% (80 runs sampled) +source-map-0.8.0: addMapping x 168 ops/sec ±2.52% (80 runs sampled) +Fastest is gen-mapping: addSegment + +Generate speed: +gen-mapping: decoded output x 150,824,370 ops/sec ±0.07% (102 runs sampled) +gen-mapping: encoded output x 663 ops/sec ±0.22% (98 runs sampled) +source-map-js: encoded output x 197 ops/sec ±0.45% (84 runs sampled) +source-map-0.6.1: encoded output x 198 ops/sec ±0.33% (85 runs sampled) +source-map-0.8.0: encoded output x 197 ops/sec ±0.06% (93 runs sampled) +Fastest is gen-mapping: decoded output + + +*** + + +babel.min.js.map +Memory Usage: +gen-mapping: addSegment 37578063 bytes +gen-mapping: addMapping 37212897 bytes +source-map-js 47638527 bytes +source-map-0.6.1 47690503 bytes +source-map-0.8.0 47470188 bytes +Smallest memory usage is gen-mapping: addMapping + +Adding speed: +gen-mapping: addSegment x 31.05 ops/sec ±8.31% (43 runs sampled) +gen-mapping: addMapping x 29.83 ops/sec ±7.36% (51 runs sampled) +source-map-js: addMapping x 20.73 ops/sec ±6.22% (38 runs sampled) +source-map-0.6.1: addMapping x 20.03 ops/sec ±10.51% (38 runs sampled) +source-map-0.8.0: addMapping x 19.30 ops/sec ±8.27% (37 runs sampled) +Fastest is gen-mapping: addSegment + +Generate speed: +gen-mapping: decoded output x 381,379,234 ops/sec ±0.29% (96 runs sampled) +gen-mapping: encoded output x 95.15 ops/sec ±2.98% (72 runs sampled) +source-map-js: encoded output x 15.20 ops/sec ±7.41% (33 runs sampled) +source-map-0.6.1: encoded output x 16.36 ops/sec ±10.46% (31 runs sampled) +source-map-0.8.0: encoded output x 16.06 ops/sec ±6.45% (31 runs sampled) +Fastest is gen-mapping: decoded output + + +*** + + +preact.js.map +Memory Usage: +gen-mapping: addSegment 416247 bytes +gen-mapping: addMapping 419824 bytes +source-map-js 1024619 bytes +source-map-0.6.1 1146004 bytes +source-map-0.8.0 1113250 bytes +Smallest memory usage is gen-mapping: addSegment + +Adding speed: +gen-mapping: addSegment x 13,755 ops/sec ±0.15% (98 runs sampled) +gen-mapping: addMapping x 13,013 ops/sec ±0.11% (101 runs sampled) +source-map-js: addMapping x 4,564 ops/sec ±0.21% (98 runs sampled) +source-map-0.6.1: addMapping x 4,562 ops/sec ±0.11% (99 runs sampled) +source-map-0.8.0: addMapping x 4,593 ops/sec ±0.11% (100 runs sampled) +Fastest is gen-mapping: addSegment + +Generate speed: +gen-mapping: decoded output x 379,864,020 ops/sec ±0.23% (93 runs sampled) +gen-mapping: encoded output x 14,368 ops/sec ±4.07% (82 runs sampled) +source-map-js: encoded output x 5,261 ops/sec ±0.21% (99 runs sampled) +source-map-0.6.1: encoded output x 5,124 ops/sec ±0.58% (99 runs sampled) +source-map-0.8.0: encoded output x 5,434 ops/sec ±0.33% (96 runs sampled) +Fastest is gen-mapping: decoded output + + +*** + + +react.js.map +Memory Usage: +gen-mapping: addSegment 975096 bytes +gen-mapping: addMapping 1102981 bytes +source-map-js 2918836 bytes +source-map-0.6.1 2885435 bytes +source-map-0.8.0 2874336 bytes +Smallest memory usage is gen-mapping: addSegment + +Adding speed: +gen-mapping: addSegment x 4,772 ops/sec ±0.15% (100 runs sampled) +gen-mapping: addMapping x 4,456 ops/sec ±0.13% (97 runs sampled) +source-map-js: addMapping x 1,618 ops/sec ±0.24% (97 runs sampled) +source-map-0.6.1: addMapping x 1,622 ops/sec ±0.12% (99 runs sampled) +source-map-0.8.0: addMapping x 1,631 ops/sec ±0.12% (100 runs sampled) +Fastest is gen-mapping: addSegment + +Generate speed: +gen-mapping: decoded output x 379,107,695 ops/sec ±0.07% (99 runs sampled) +gen-mapping: encoded output x 5,421 ops/sec ±1.60% (89 runs sampled) +source-map-js: encoded output x 2,113 ops/sec ±1.81% (98 runs sampled) +source-map-0.6.1: encoded output x 2,126 ops/sec ±0.10% (100 runs sampled) +source-map-0.8.0: encoded output x 2,176 ops/sec ±0.39% (98 runs sampled) +Fastest is gen-mapping: decoded output +``` + +[source-map]: https://www.npmjs.com/package/source-map +[trace-mapping]: https://github.com/jridgewell/trace-mapping diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs new file mode 100644 index 00000000..5aeb5ccc --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs @@ -0,0 +1,230 @@ +import { SetArray, put } from '@jridgewell/set-array'; +import { encode } from '@jridgewell/sourcemap-codec'; +import { TraceMap, decodedMappings } from '@jridgewell/trace-mapping'; + +const COLUMN = 0; +const SOURCES_INDEX = 1; +const SOURCE_LINE = 2; +const SOURCE_COLUMN = 3; +const NAMES_INDEX = 4; + +const NO_NAME = -1; +/** + * A low-level API to associate a generated position with an original source position. Line and + * column here are 0-based, unlike `addMapping`. + */ +let addSegment; +/** + * A high-level API to associate a generated position with an original source position. Line is + * 1-based, but column is 0-based, due to legacy behavior in `source-map` library. + */ +let addMapping; +/** + * Same as `addSegment`, but will only add the segment if it generates useful information in the + * resulting map. This only works correctly if segments are added **in order**, meaning you should + * not add a segment with a lower generated line/column than one that came before. + */ +let maybeAddSegment; +/** + * Same as `addMapping`, but will only add the mapping if it generates useful information in the + * resulting map. This only works correctly if mappings are added **in order**, meaning you should + * not add a mapping with a lower generated line/column than one that came before. + */ +let maybeAddMapping; +/** + * Adds/removes the content of the source file to the source map. + */ +let setSourceContent; +/** + * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ +let toDecodedMap; +/** + * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ +let toEncodedMap; +/** + * Constructs a new GenMapping, using the already present mappings of the input. + */ +let fromMap; +/** + * Returns an array of high-level mapping objects for every recorded segment, which could then be + * passed to the `source-map` library. + */ +let allMappings; +// This split declaration is only so that terser can elminiate the static initialization block. +let addSegmentInternal; +/** + * Provides the state to generate a sourcemap. + */ +class GenMapping { + constructor({ file, sourceRoot } = {}) { + this._names = new SetArray(); + this._sources = new SetArray(); + this._sourcesContent = []; + this._mappings = []; + this.file = file; + this.sourceRoot = sourceRoot; + } +} +(() => { + addSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => { + return addSegmentInternal(false, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content); + }; + maybeAddSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => { + return addSegmentInternal(true, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content); + }; + addMapping = (map, mapping) => { + return addMappingInternal(false, map, mapping); + }; + maybeAddMapping = (map, mapping) => { + return addMappingInternal(true, map, mapping); + }; + setSourceContent = (map, source, content) => { + const { _sources: sources, _sourcesContent: sourcesContent } = map; + sourcesContent[put(sources, source)] = content; + }; + toDecodedMap = (map) => { + const { file, sourceRoot, _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map; + removeEmptyFinalLines(mappings); + return { + version: 3, + file: file || undefined, + names: names.array, + sourceRoot: sourceRoot || undefined, + sources: sources.array, + sourcesContent, + mappings, + }; + }; + toEncodedMap = (map) => { + const decoded = toDecodedMap(map); + return Object.assign(Object.assign({}, decoded), { mappings: encode(decoded.mappings) }); + }; + allMappings = (map) => { + const out = []; + const { _mappings: mappings, _sources: sources, _names: names } = map; + for (let i = 0; i < mappings.length; i++) { + const line = mappings[i]; + for (let j = 0; j < line.length; j++) { + const seg = line[j]; + const generated = { line: i + 1, column: seg[COLUMN] }; + let source = undefined; + let original = undefined; + let name = undefined; + if (seg.length !== 1) { + source = sources.array[seg[SOURCES_INDEX]]; + original = { line: seg[SOURCE_LINE] + 1, column: seg[SOURCE_COLUMN] }; + if (seg.length === 5) + name = names.array[seg[NAMES_INDEX]]; + } + out.push({ generated, source, original, name }); + } + } + return out; + }; + fromMap = (input) => { + const map = new TraceMap(input); + const gen = new GenMapping({ file: map.file, sourceRoot: map.sourceRoot }); + putAll(gen._names, map.names); + putAll(gen._sources, map.sources); + gen._sourcesContent = map.sourcesContent || map.sources.map(() => null); + gen._mappings = decodedMappings(map); + return gen; + }; + // Internal helpers + addSegmentInternal = (skipable, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => { + const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map; + const line = getLine(mappings, genLine); + const index = getColumnIndex(line, genColumn); + if (!source) { + if (skipable && skipSourceless(line, index)) + return; + return insert(line, index, [genColumn]); + } + const sourcesIndex = put(sources, source); + const namesIndex = name ? put(names, name) : NO_NAME; + if (sourcesIndex === sourcesContent.length) + sourcesContent[sourcesIndex] = content !== null && content !== void 0 ? content : null; + if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) { + return; + } + return insert(line, index, name + ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex] + : [genColumn, sourcesIndex, sourceLine, sourceColumn]); + }; +})(); +function getLine(mappings, index) { + for (let i = mappings.length; i <= index; i++) { + mappings[i] = []; + } + return mappings[index]; +} +function getColumnIndex(line, genColumn) { + let index = line.length; + for (let i = index - 1; i >= 0; index = i--) { + const current = line[i]; + if (genColumn >= current[COLUMN]) + break; + } + return index; +} +function insert(array, index, value) { + for (let i = array.length; i > index; i--) { + array[i] = array[i - 1]; + } + array[index] = value; +} +function removeEmptyFinalLines(mappings) { + const { length } = mappings; + let len = length; + for (let i = len - 1; i >= 0; len = i, i--) { + if (mappings[i].length > 0) + break; + } + if (len < length) + mappings.length = len; +} +function putAll(strarr, array) { + for (let i = 0; i < array.length; i++) + put(strarr, array[i]); +} +function skipSourceless(line, index) { + // The start of a line is already sourceless, so adding a sourceless segment to the beginning + // doesn't generate any useful information. + if (index === 0) + return true; + const prev = line[index - 1]; + // If the previous segment is also sourceless, then adding another sourceless segment doesn't + // genrate any new information. Else, this segment will end the source/named segment and point to + // a sourceless position, which is useful. + return prev.length === 1; +} +function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex) { + // A source/named segment at the start of a line gives position at that genColumn + if (index === 0) + return false; + const prev = line[index - 1]; + // If the previous segment is sourceless, then we're transitioning to a source. + if (prev.length === 1) + return false; + // If the previous segment maps to the exact same source position, then this segment doesn't + // provide any new position information. + return (sourcesIndex === prev[SOURCES_INDEX] && + sourceLine === prev[SOURCE_LINE] && + sourceColumn === prev[SOURCE_COLUMN] && + namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME)); +} +function addMappingInternal(skipable, map, mapping) { + const { generated, source, original, name, content } = mapping; + if (!source) { + return addSegmentInternal(skipable, map, generated.line - 1, generated.column, null, null, null, null, null); + } + const s = source; + return addSegmentInternal(skipable, map, generated.line - 1, generated.column, s, original.line - 1, original.column, name, content); +} + +export { GenMapping, addMapping, addSegment, allMappings, fromMap, maybeAddMapping, maybeAddSegment, setSourceContent, toDecodedMap, toEncodedMap }; +//# sourceMappingURL=gen-mapping.mjs.map diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map new file mode 100644 index 00000000..2fee0cd4 --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"gen-mapping.mjs","sources":["../src/sourcemap-segment.ts","../src/gen-mapping.ts"],"sourcesContent":["type GeneratedColumn = number;\ntype SourcesIndex = number;\ntype SourceLine = number;\ntype SourceColumn = number;\ntype NamesIndex = number;\n\nexport type SourceMapSegment =\n | [GeneratedColumn]\n | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn]\n | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex];\n\nexport const COLUMN = 0;\nexport const SOURCES_INDEX = 1;\nexport const SOURCE_LINE = 2;\nexport const SOURCE_COLUMN = 3;\nexport const NAMES_INDEX = 4;\n","import { SetArray, put } from '@jridgewell/set-array';\nimport { encode } from '@jridgewell/sourcemap-codec';\nimport { TraceMap, decodedMappings } from '@jridgewell/trace-mapping';\n\nimport {\n COLUMN,\n SOURCES_INDEX,\n SOURCE_LINE,\n SOURCE_COLUMN,\n NAMES_INDEX,\n} from './sourcemap-segment';\n\nimport type { SourceMapInput } from '@jridgewell/trace-mapping';\nimport type { SourceMapSegment } from './sourcemap-segment';\nimport type { DecodedSourceMap, EncodedSourceMap, Pos, Mapping } from './types';\n\nexport type { DecodedSourceMap, EncodedSourceMap, Mapping };\n\nexport type Options = {\n file?: string | null;\n sourceRoot?: string | null;\n};\n\nconst NO_NAME = -1;\n\n/**\n * A low-level API to associate a generated position with an original source position. Line and\n * column here are 0-based, unlike `addMapping`.\n */\nexport let addSegment: {\n (\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source?: null,\n sourceLine?: null,\n sourceColumn?: null,\n name?: null,\n content?: null,\n ): void;\n (\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source: string,\n sourceLine: number,\n sourceColumn: number,\n name?: null,\n content?: string | null,\n ): void;\n (\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source: string,\n sourceLine: number,\n sourceColumn: number,\n name: string,\n content?: string | null,\n ): void;\n};\n\n/**\n * A high-level API to associate a generated position with an original source position. Line is\n * 1-based, but column is 0-based, due to legacy behavior in `source-map` library.\n */\nexport let addMapping: {\n (\n map: GenMapping,\n mapping: {\n generated: Pos;\n source?: null;\n original?: null;\n name?: null;\n content?: null;\n },\n ): void;\n (\n map: GenMapping,\n mapping: {\n generated: Pos;\n source: string;\n original: Pos;\n name?: null;\n content?: string | null;\n },\n ): void;\n (\n map: GenMapping,\n mapping: {\n generated: Pos;\n source: string;\n original: Pos;\n name: string;\n content?: string | null;\n },\n ): void;\n};\n\n/**\n * Same as `addSegment`, but will only add the segment if it generates useful information in the\n * resulting map. This only works correctly if segments are added **in order**, meaning you should\n * not add a segment with a lower generated line/column than one that came before.\n */\nexport let maybeAddSegment: typeof addSegment;\n\n/**\n * Same as `addMapping`, but will only add the mapping if it generates useful information in the\n * resulting map. This only works correctly if mappings are added **in order**, meaning you should\n * not add a mapping with a lower generated line/column than one that came before.\n */\nexport let maybeAddMapping: typeof addMapping;\n\n/**\n * Adds/removes the content of the source file to the source map.\n */\nexport let setSourceContent: (map: GenMapping, source: string, content: string | null) => void;\n\n/**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\nexport let toDecodedMap: (map: GenMapping) => DecodedSourceMap;\n\n/**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\nexport let toEncodedMap: (map: GenMapping) => EncodedSourceMap;\n\n/**\n * Constructs a new GenMapping, using the already present mappings of the input.\n */\nexport let fromMap: (input: SourceMapInput) => GenMapping;\n\n/**\n * Returns an array of high-level mapping objects for every recorded segment, which could then be\n * passed to the `source-map` library.\n */\nexport let allMappings: (map: GenMapping) => Mapping[];\n\n// This split declaration is only so that terser can elminiate the static initialization block.\nlet addSegmentInternal: (\n skipable: boolean,\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source: S,\n sourceLine: S extends string ? number : null | undefined,\n sourceColumn: S extends string ? number : null | undefined,\n name: S extends string ? string | null | undefined : null | undefined,\n content: S extends string ? string | null | undefined : null | undefined,\n) => void;\n\n/**\n * Provides the state to generate a sourcemap.\n */\nexport class GenMapping {\n private _names = new SetArray();\n private _sources = new SetArray();\n private _sourcesContent: (string | null)[] = [];\n private _mappings: SourceMapSegment[][] = [];\n declare file: string | null | undefined;\n declare sourceRoot: string | null | undefined;\n\n constructor({ file, sourceRoot }: Options = {}) {\n this.file = file;\n this.sourceRoot = sourceRoot;\n }\n\n static {\n addSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => {\n return addSegmentInternal(\n false,\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n );\n };\n\n maybeAddSegment = (\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n ) => {\n return addSegmentInternal(\n true,\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n );\n };\n\n addMapping = (map, mapping) => {\n return addMappingInternal(false, map, mapping as Parameters[2]);\n };\n\n maybeAddMapping = (map, mapping) => {\n return addMappingInternal(true, map, mapping as Parameters[2]);\n };\n\n setSourceContent = (map, source, content) => {\n const { _sources: sources, _sourcesContent: sourcesContent } = map;\n sourcesContent[put(sources, source)] = content;\n };\n\n toDecodedMap = (map) => {\n const {\n file,\n sourceRoot,\n _mappings: mappings,\n _sources: sources,\n _sourcesContent: sourcesContent,\n _names: names,\n } = map;\n removeEmptyFinalLines(mappings);\n\n return {\n version: 3,\n file: file || undefined,\n names: names.array,\n sourceRoot: sourceRoot || undefined,\n sources: sources.array,\n sourcesContent,\n mappings,\n };\n };\n\n toEncodedMap = (map) => {\n const decoded = toDecodedMap(map);\n return {\n ...decoded,\n mappings: encode(decoded.mappings as SourceMapSegment[][]),\n };\n };\n\n allMappings = (map) => {\n const out: Mapping[] = [];\n const { _mappings: mappings, _sources: sources, _names: names } = map;\n\n for (let i = 0; i < mappings.length; i++) {\n const line = mappings[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n\n const generated = { line: i + 1, column: seg[COLUMN] };\n let source: string | undefined = undefined;\n let original: Pos | undefined = undefined;\n let name: string | undefined = undefined;\n\n if (seg.length !== 1) {\n source = sources.array[seg[SOURCES_INDEX]];\n original = { line: seg[SOURCE_LINE] + 1, column: seg[SOURCE_COLUMN] };\n\n if (seg.length === 5) name = names.array[seg[NAMES_INDEX]];\n }\n\n out.push({ generated, source, original, name } as Mapping);\n }\n }\n\n return out;\n };\n\n fromMap = (input) => {\n const map = new TraceMap(input);\n const gen = new GenMapping({ file: map.file, sourceRoot: map.sourceRoot });\n\n putAll(gen._names, map.names);\n putAll(gen._sources, map.sources as string[]);\n gen._sourcesContent = map.sourcesContent || map.sources.map(() => null);\n gen._mappings = decodedMappings(map) as GenMapping['_mappings'];\n\n return gen;\n };\n\n // Internal helpers\n addSegmentInternal = (\n skipable,\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n ) => {\n const {\n _mappings: mappings,\n _sources: sources,\n _sourcesContent: sourcesContent,\n _names: names,\n } = map;\n const line = getLine(mappings, genLine);\n const index = getColumnIndex(line, genColumn);\n\n if (!source) {\n if (skipable && skipSourceless(line, index)) return;\n return insert(line, index, [genColumn]);\n }\n\n // Sigh, TypeScript can't figure out sourceLine and sourceColumn aren't nullish if source\n // isn't nullish.\n assert(sourceLine);\n assert(sourceColumn);\n\n const sourcesIndex = put(sources, source);\n const namesIndex = name ? put(names, name) : NO_NAME;\n if (sourcesIndex === sourcesContent.length) sourcesContent[sourcesIndex] = content ?? null;\n\n if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {\n return;\n }\n\n return insert(\n line,\n index,\n name\n ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex]\n : [genColumn, sourcesIndex, sourceLine, sourceColumn],\n );\n };\n }\n}\n\nfunction assert(_val: unknown): asserts _val is T {\n // noop.\n}\n\nfunction getLine(mappings: SourceMapSegment[][], index: number): SourceMapSegment[] {\n for (let i = mappings.length; i <= index; i++) {\n mappings[i] = [];\n }\n return mappings[index];\n}\n\nfunction getColumnIndex(line: SourceMapSegment[], genColumn: number): number {\n let index = line.length;\n for (let i = index - 1; i >= 0; index = i--) {\n const current = line[i];\n if (genColumn >= current[COLUMN]) break;\n }\n return index;\n}\n\nfunction insert(array: T[], index: number, value: T) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n}\n\nfunction removeEmptyFinalLines(mappings: SourceMapSegment[][]) {\n const { length } = mappings;\n let len = length;\n for (let i = len - 1; i >= 0; len = i, i--) {\n if (mappings[i].length > 0) break;\n }\n if (len < length) mappings.length = len;\n}\n\nfunction putAll(strarr: SetArray, array: string[]) {\n for (let i = 0; i < array.length; i++) put(strarr, array[i]);\n}\n\nfunction skipSourceless(line: SourceMapSegment[], index: number): boolean {\n // The start of a line is already sourceless, so adding a sourceless segment to the beginning\n // doesn't generate any useful information.\n if (index === 0) return true;\n\n const prev = line[index - 1];\n // If the previous segment is also sourceless, then adding another sourceless segment doesn't\n // genrate any new information. Else, this segment will end the source/named segment and point to\n // a sourceless position, which is useful.\n return prev.length === 1;\n}\n\nfunction skipSource(\n line: SourceMapSegment[],\n index: number,\n sourcesIndex: number,\n sourceLine: number,\n sourceColumn: number,\n namesIndex: number,\n): boolean {\n // A source/named segment at the start of a line gives position at that genColumn\n if (index === 0) return false;\n\n const prev = line[index - 1];\n\n // If the previous segment is sourceless, then we're transitioning to a source.\n if (prev.length === 1) return false;\n\n // If the previous segment maps to the exact same source position, then this segment doesn't\n // provide any new position information.\n return (\n sourcesIndex === prev[SOURCES_INDEX] &&\n sourceLine === prev[SOURCE_LINE] &&\n sourceColumn === prev[SOURCE_COLUMN] &&\n namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME)\n );\n}\n\nfunction addMappingInternal(\n skipable: boolean,\n map: GenMapping,\n mapping: {\n generated: Pos;\n source: S;\n original: S extends string ? Pos : null | undefined;\n name: S extends string ? string | null | undefined : null | undefined;\n content: S extends string ? string | null | undefined : null | undefined;\n },\n) {\n const { generated, source, original, name, content } = mapping;\n if (!source) {\n return addSegmentInternal(\n skipable,\n map,\n generated.line - 1,\n generated.column,\n null,\n null,\n null,\n null,\n null,\n );\n }\n const s: string = source;\n assert(original);\n return addSegmentInternal(\n skipable,\n map,\n generated.line - 1,\n generated.column,\n s,\n original.line - 1,\n original.column,\n name,\n content,\n );\n}\n"],"names":[],"mappings":";;;;AAWO,MAAM,MAAM,GAAG,CAAC,CAAC;AACjB,MAAM,aAAa,GAAG,CAAC,CAAC;AACxB,MAAM,WAAW,GAAG,CAAC,CAAC;AACtB,MAAM,aAAa,GAAG,CAAC,CAAC;AACxB,MAAM,WAAW,GAAG,CAAC;;ACQ5B,MAAM,OAAO,GAAG,CAAC,CAAC,CAAC;AAEnB;;;AAGG;AACQ,IAAA,WA+BT;AAEF;;;AAGG;AACQ,IAAA,WA+BT;AAEF;;;;AAIG;AACQ,IAAA,gBAAmC;AAE9C;;;;AAIG;AACQ,IAAA,gBAAmC;AAE9C;;AAEG;AACQ,IAAA,iBAAoF;AAE/F;;;AAGG;AACQ,IAAA,aAAoD;AAE/D;;;AAGG;AACQ,IAAA,aAAoD;AAE/D;;AAEG;AACQ,IAAA,QAA+C;AAE1D;;;AAGG;AACQ,IAAA,YAA4C;AAEvD;AACA,IAAI,kBAUK,CAAC;AAEV;;AAEG;MACU,UAAU,CAAA;AAQrB,IAAA,WAAA,CAAY,EAAE,IAAI,EAAE,UAAU,KAAc,EAAE,EAAA;AAPtC,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC1B,IAAe,CAAA,eAAA,GAAsB,EAAE,CAAC;QACxC,IAAS,CAAA,SAAA,GAAyB,EAAE,CAAC;AAK3C,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACjB,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;KAC9B;AA2KF,CAAA;AAzKC,CAAA,MAAA;AACE,IAAA,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,KAAI;QACxF,OAAO,kBAAkB,CACvB,KAAK,EACL,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,CACR,CAAC;AACJ,KAAC,CAAC;AAEF,IAAA,eAAe,GAAG,CAChB,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,KACL;QACF,OAAO,kBAAkB,CACvB,IAAI,EACJ,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,CACR,CAAC;AACJ,KAAC,CAAC;AAEF,IAAA,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAI;QAC5B,OAAO,kBAAkB,CAAC,KAAK,EAAE,GAAG,EAAE,OAAmD,CAAC,CAAC;AAC7F,KAAC,CAAC;AAEF,IAAA,eAAe,GAAG,CAAC,GAAG,EAAE,OAAO,KAAI;QACjC,OAAO,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,OAAmD,CAAC,CAAC;AAC5F,KAAC,CAAC;IAEF,gBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,KAAI;QAC1C,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC;QACnE,cAAc,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC;AACjD,KAAC,CAAC;AAEF,IAAA,YAAY,GAAG,CAAC,GAAG,KAAI;QACrB,MAAM,EACJ,IAAI,EACJ,UAAU,EACV,SAAS,EAAE,QAAQ,EACnB,QAAQ,EAAE,OAAO,EACjB,eAAe,EAAE,cAAc,EAC/B,MAAM,EAAE,KAAK,GACd,GAAG,GAAG,CAAC;QACR,qBAAqB,CAAC,QAAQ,CAAC,CAAC;QAEhC,OAAO;AACL,YAAA,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,IAAI,IAAI,SAAS;YACvB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,UAAU,EAAE,UAAU,IAAI,SAAS;YACnC,OAAO,EAAE,OAAO,CAAC,KAAK;YACtB,cAAc;YACd,QAAQ;SACT,CAAC;AACJ,KAAC,CAAC;AAEF,IAAA,YAAY,GAAG,CAAC,GAAG,KAAI;AACrB,QAAA,MAAM,OAAO,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;QAClC,OACK,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,OAAO,CACV,EAAA,EAAA,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,QAAgC,CAAC,EAC1D,CAAA,CAAA;AACJ,KAAC,CAAC;AAEF,IAAA,WAAW,GAAG,CAAC,GAAG,KAAI;QACpB,MAAM,GAAG,GAAc,EAAE,CAAC;AAC1B,QAAA,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC;AAEtE,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACxC,YAAA,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;AACzB,YAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACpC,gBAAA,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AAEpB,gBAAA,MAAM,SAAS,GAAG,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;gBACvD,IAAI,MAAM,GAAuB,SAAS,CAAC;gBAC3C,IAAI,QAAQ,GAAoB,SAAS,CAAC;gBAC1C,IAAI,IAAI,GAAuB,SAAS,CAAC;AAEzC,gBAAA,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;oBACpB,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3C,oBAAA,QAAQ,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;AAEtE,oBAAA,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC;wBAAE,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;AAC5D,iBAAA;AAED,gBAAA,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAa,CAAC,CAAC;AAC5D,aAAA;AACF,SAAA;AAED,QAAA,OAAO,GAAG,CAAC;AACb,KAAC,CAAC;AAEF,IAAA,OAAO,GAAG,CAAC,KAAK,KAAI;AAClB,QAAA,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC;AAChC,QAAA,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;QAE3E,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;QAC9B,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,OAAmB,CAAC,CAAC;AAC9C,QAAA,GAAG,CAAC,eAAe,GAAG,GAAG,CAAC,cAAc,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;AACxE,QAAA,GAAG,CAAC,SAAS,GAAG,eAAe,CAAC,GAAG,CAA4B,CAAC;AAEhE,QAAA,OAAO,GAAG,CAAC;AACb,KAAC,CAAC;;IAGF,kBAAkB,GAAG,CACnB,QAAQ,EACR,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,KACL;AACF,QAAA,MAAM,EACJ,SAAS,EAAE,QAAQ,EACnB,QAAQ,EAAE,OAAO,EACjB,eAAe,EAAE,cAAc,EAC/B,MAAM,EAAE,KAAK,GACd,GAAG,GAAG,CAAC;QACR,MAAM,IAAI,GAAG,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACxC,MAAM,KAAK,GAAG,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAE9C,IAAI,CAAC,MAAM,EAAE;AACX,YAAA,IAAI,QAAQ,IAAI,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC;gBAAE,OAAO;YACpD,OAAO,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;AACzC,SAAA;QAOD,MAAM,YAAY,GAAG,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC1C,QAAA,MAAM,UAAU,GAAG,IAAI,GAAG,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,OAAO,CAAC;AACrD,QAAA,IAAI,YAAY,KAAK,cAAc,CAAC,MAAM;YAAE,cAAc,CAAC,YAAY,CAAC,GAAG,OAAO,KAAP,IAAA,IAAA,OAAO,KAAP,KAAA,CAAA,GAAA,OAAO,GAAI,IAAI,CAAC;AAE3F,QAAA,IAAI,QAAQ,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE;YAC3F,OAAO;AACR,SAAA;AAED,QAAA,OAAO,MAAM,CACX,IAAI,EACJ,KAAK,EACL,IAAI;cACA,CAAC,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,CAAC;cAC/D,CAAC,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,CAAC,CACxD,CAAC;AACJ,KAAC,CAAC;AACJ,CAAC,GAAA,CAAA;AAOH,SAAS,OAAO,CAAC,QAA8B,EAAE,KAAa,EAAA;AAC5D,IAAA,KAAK,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,EAAE,EAAE;AAC7C,QAAA,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;AAClB,KAAA;AACD,IAAA,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,cAAc,CAAC,IAAwB,EAAE,SAAiB,EAAA;AACjE,IAAA,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC;AACxB,IAAA,KAAK,IAAI,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE;AAC3C,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AACxB,QAAA,IAAI,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC;YAAE,MAAM;AACzC,KAAA;AACD,IAAA,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,MAAM,CAAI,KAAU,EAAE,KAAa,EAAE,KAAQ,EAAA;AACpD,IAAA,KAAK,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;QACzC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AACzB,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;AACvB,CAAC;AAED,SAAS,qBAAqB,CAAC,QAA8B,EAAA;AAC3D,IAAA,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC;IAC5B,IAAI,GAAG,GAAG,MAAM,CAAC;AACjB,IAAA,KAAK,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;AAC1C,QAAA,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC;YAAE,MAAM;AACnC,KAAA;IACD,IAAI,GAAG,GAAG,MAAM;AAAE,QAAA,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAC;AAC1C,CAAC;AAED,SAAS,MAAM,CAAC,MAAgB,EAAE,KAAe,EAAA;AAC/C,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE;QAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,cAAc,CAAC,IAAwB,EAAE,KAAa,EAAA;;;IAG7D,IAAI,KAAK,KAAK,CAAC;AAAE,QAAA,OAAO,IAAI,CAAC;IAE7B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;;;;AAI7B,IAAA,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;AAC3B,CAAC;AAED,SAAS,UAAU,CACjB,IAAwB,EACxB,KAAa,EACb,YAAoB,EACpB,UAAkB,EAClB,YAAoB,EACpB,UAAkB,EAAA;;IAGlB,IAAI,KAAK,KAAK,CAAC;AAAE,QAAA,OAAO,KAAK,CAAC;IAE9B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;;AAG7B,IAAA,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;AAAE,QAAA,OAAO,KAAK,CAAC;;;AAIpC,IAAA,QACE,YAAY,KAAK,IAAI,CAAC,aAAa,CAAC;AACpC,QAAA,UAAU,KAAK,IAAI,CAAC,WAAW,CAAC;AAChC,QAAA,YAAY,KAAK,IAAI,CAAC,aAAa,CAAC;QACpC,UAAU,MAAM,IAAI,CAAC,MAAM,KAAK,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,EAChE;AACJ,CAAC;AAED,SAAS,kBAAkB,CACzB,QAAiB,EACjB,GAAe,EACf,OAMC,EAAA;AAED,IAAA,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAC/D,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,kBAAkB,CACvB,QAAQ,EACR,GAAG,EACH,SAAS,CAAC,IAAI,GAAG,CAAC,EAClB,SAAS,CAAC,MAAM,EAChB,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,CACL,CAAC;AACH,KAAA;IACD,MAAM,CAAC,GAAW,MAAM,CAAC;AAEzB,IAAA,OAAO,kBAAkB,CACvB,QAAQ,EACR,GAAG,EACH,SAAS,CAAC,IAAI,GAAG,CAAC,EAClB,SAAS,CAAC,MAAM,EAChB,CAAC,EACD,QAAQ,CAAC,IAAI,GAAG,CAAC,EACjB,QAAQ,CAAC,MAAM,EACf,IAAI,EACJ,OAAO,CACR,CAAC;AACJ;;;;"} \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js new file mode 100644 index 00000000..d9fcf5cf --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js @@ -0,0 +1,236 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@jridgewell/set-array'), require('@jridgewell/sourcemap-codec'), require('@jridgewell/trace-mapping')) : + typeof define === 'function' && define.amd ? define(['exports', '@jridgewell/set-array', '@jridgewell/sourcemap-codec', '@jridgewell/trace-mapping'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.genMapping = {}, global.setArray, global.sourcemapCodec, global.traceMapping)); +})(this, (function (exports, setArray, sourcemapCodec, traceMapping) { 'use strict'; + + const COLUMN = 0; + const SOURCES_INDEX = 1; + const SOURCE_LINE = 2; + const SOURCE_COLUMN = 3; + const NAMES_INDEX = 4; + + const NO_NAME = -1; + /** + * A low-level API to associate a generated position with an original source position. Line and + * column here are 0-based, unlike `addMapping`. + */ + exports.addSegment = void 0; + /** + * A high-level API to associate a generated position with an original source position. Line is + * 1-based, but column is 0-based, due to legacy behavior in `source-map` library. + */ + exports.addMapping = void 0; + /** + * Same as `addSegment`, but will only add the segment if it generates useful information in the + * resulting map. This only works correctly if segments are added **in order**, meaning you should + * not add a segment with a lower generated line/column than one that came before. + */ + exports.maybeAddSegment = void 0; + /** + * Same as `addMapping`, but will only add the mapping if it generates useful information in the + * resulting map. This only works correctly if mappings are added **in order**, meaning you should + * not add a mapping with a lower generated line/column than one that came before. + */ + exports.maybeAddMapping = void 0; + /** + * Adds/removes the content of the source file to the source map. + */ + exports.setSourceContent = void 0; + /** + * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ + exports.toDecodedMap = void 0; + /** + * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ + exports.toEncodedMap = void 0; + /** + * Constructs a new GenMapping, using the already present mappings of the input. + */ + exports.fromMap = void 0; + /** + * Returns an array of high-level mapping objects for every recorded segment, which could then be + * passed to the `source-map` library. + */ + exports.allMappings = void 0; + // This split declaration is only so that terser can elminiate the static initialization block. + let addSegmentInternal; + /** + * Provides the state to generate a sourcemap. + */ + class GenMapping { + constructor({ file, sourceRoot } = {}) { + this._names = new setArray.SetArray(); + this._sources = new setArray.SetArray(); + this._sourcesContent = []; + this._mappings = []; + this.file = file; + this.sourceRoot = sourceRoot; + } + } + (() => { + exports.addSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => { + return addSegmentInternal(false, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content); + }; + exports.maybeAddSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => { + return addSegmentInternal(true, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content); + }; + exports.addMapping = (map, mapping) => { + return addMappingInternal(false, map, mapping); + }; + exports.maybeAddMapping = (map, mapping) => { + return addMappingInternal(true, map, mapping); + }; + exports.setSourceContent = (map, source, content) => { + const { _sources: sources, _sourcesContent: sourcesContent } = map; + sourcesContent[setArray.put(sources, source)] = content; + }; + exports.toDecodedMap = (map) => { + const { file, sourceRoot, _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map; + removeEmptyFinalLines(mappings); + return { + version: 3, + file: file || undefined, + names: names.array, + sourceRoot: sourceRoot || undefined, + sources: sources.array, + sourcesContent, + mappings, + }; + }; + exports.toEncodedMap = (map) => { + const decoded = exports.toDecodedMap(map); + return Object.assign(Object.assign({}, decoded), { mappings: sourcemapCodec.encode(decoded.mappings) }); + }; + exports.allMappings = (map) => { + const out = []; + const { _mappings: mappings, _sources: sources, _names: names } = map; + for (let i = 0; i < mappings.length; i++) { + const line = mappings[i]; + for (let j = 0; j < line.length; j++) { + const seg = line[j]; + const generated = { line: i + 1, column: seg[COLUMN] }; + let source = undefined; + let original = undefined; + let name = undefined; + if (seg.length !== 1) { + source = sources.array[seg[SOURCES_INDEX]]; + original = { line: seg[SOURCE_LINE] + 1, column: seg[SOURCE_COLUMN] }; + if (seg.length === 5) + name = names.array[seg[NAMES_INDEX]]; + } + out.push({ generated, source, original, name }); + } + } + return out; + }; + exports.fromMap = (input) => { + const map = new traceMapping.TraceMap(input); + const gen = new GenMapping({ file: map.file, sourceRoot: map.sourceRoot }); + putAll(gen._names, map.names); + putAll(gen._sources, map.sources); + gen._sourcesContent = map.sourcesContent || map.sources.map(() => null); + gen._mappings = traceMapping.decodedMappings(map); + return gen; + }; + // Internal helpers + addSegmentInternal = (skipable, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => { + const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map; + const line = getLine(mappings, genLine); + const index = getColumnIndex(line, genColumn); + if (!source) { + if (skipable && skipSourceless(line, index)) + return; + return insert(line, index, [genColumn]); + } + const sourcesIndex = setArray.put(sources, source); + const namesIndex = name ? setArray.put(names, name) : NO_NAME; + if (sourcesIndex === sourcesContent.length) + sourcesContent[sourcesIndex] = content !== null && content !== void 0 ? content : null; + if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) { + return; + } + return insert(line, index, name + ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex] + : [genColumn, sourcesIndex, sourceLine, sourceColumn]); + }; + })(); + function getLine(mappings, index) { + for (let i = mappings.length; i <= index; i++) { + mappings[i] = []; + } + return mappings[index]; + } + function getColumnIndex(line, genColumn) { + let index = line.length; + for (let i = index - 1; i >= 0; index = i--) { + const current = line[i]; + if (genColumn >= current[COLUMN]) + break; + } + return index; + } + function insert(array, index, value) { + for (let i = array.length; i > index; i--) { + array[i] = array[i - 1]; + } + array[index] = value; + } + function removeEmptyFinalLines(mappings) { + const { length } = mappings; + let len = length; + for (let i = len - 1; i >= 0; len = i, i--) { + if (mappings[i].length > 0) + break; + } + if (len < length) + mappings.length = len; + } + function putAll(strarr, array) { + for (let i = 0; i < array.length; i++) + setArray.put(strarr, array[i]); + } + function skipSourceless(line, index) { + // The start of a line is already sourceless, so adding a sourceless segment to the beginning + // doesn't generate any useful information. + if (index === 0) + return true; + const prev = line[index - 1]; + // If the previous segment is also sourceless, then adding another sourceless segment doesn't + // genrate any new information. Else, this segment will end the source/named segment and point to + // a sourceless position, which is useful. + return prev.length === 1; + } + function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex) { + // A source/named segment at the start of a line gives position at that genColumn + if (index === 0) + return false; + const prev = line[index - 1]; + // If the previous segment is sourceless, then we're transitioning to a source. + if (prev.length === 1) + return false; + // If the previous segment maps to the exact same source position, then this segment doesn't + // provide any new position information. + return (sourcesIndex === prev[SOURCES_INDEX] && + sourceLine === prev[SOURCE_LINE] && + sourceColumn === prev[SOURCE_COLUMN] && + namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME)); + } + function addMappingInternal(skipable, map, mapping) { + const { generated, source, original, name, content } = mapping; + if (!source) { + return addSegmentInternal(skipable, map, generated.line - 1, generated.column, null, null, null, null, null); + } + const s = source; + return addSegmentInternal(skipable, map, generated.line - 1, generated.column, s, original.line - 1, original.column, name, content); + } + + exports.GenMapping = GenMapping; + + Object.defineProperty(exports, '__esModule', { value: true }); + +})); +//# sourceMappingURL=gen-mapping.umd.js.map diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map new file mode 100644 index 00000000..7cc8d149 --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map @@ -0,0 +1 @@ +{"version":3,"file":"gen-mapping.umd.js","sources":["../src/sourcemap-segment.ts","../src/gen-mapping.ts"],"sourcesContent":["type GeneratedColumn = number;\ntype SourcesIndex = number;\ntype SourceLine = number;\ntype SourceColumn = number;\ntype NamesIndex = number;\n\nexport type SourceMapSegment =\n | [GeneratedColumn]\n | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn]\n | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex];\n\nexport const COLUMN = 0;\nexport const SOURCES_INDEX = 1;\nexport const SOURCE_LINE = 2;\nexport const SOURCE_COLUMN = 3;\nexport const NAMES_INDEX = 4;\n","import { SetArray, put } from '@jridgewell/set-array';\nimport { encode } from '@jridgewell/sourcemap-codec';\nimport { TraceMap, decodedMappings } from '@jridgewell/trace-mapping';\n\nimport {\n COLUMN,\n SOURCES_INDEX,\n SOURCE_LINE,\n SOURCE_COLUMN,\n NAMES_INDEX,\n} from './sourcemap-segment';\n\nimport type { SourceMapInput } from '@jridgewell/trace-mapping';\nimport type { SourceMapSegment } from './sourcemap-segment';\nimport type { DecodedSourceMap, EncodedSourceMap, Pos, Mapping } from './types';\n\nexport type { DecodedSourceMap, EncodedSourceMap, Mapping };\n\nexport type Options = {\n file?: string | null;\n sourceRoot?: string | null;\n};\n\nconst NO_NAME = -1;\n\n/**\n * A low-level API to associate a generated position with an original source position. Line and\n * column here are 0-based, unlike `addMapping`.\n */\nexport let addSegment: {\n (\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source?: null,\n sourceLine?: null,\n sourceColumn?: null,\n name?: null,\n content?: null,\n ): void;\n (\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source: string,\n sourceLine: number,\n sourceColumn: number,\n name?: null,\n content?: string | null,\n ): void;\n (\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source: string,\n sourceLine: number,\n sourceColumn: number,\n name: string,\n content?: string | null,\n ): void;\n};\n\n/**\n * A high-level API to associate a generated position with an original source position. Line is\n * 1-based, but column is 0-based, due to legacy behavior in `source-map` library.\n */\nexport let addMapping: {\n (\n map: GenMapping,\n mapping: {\n generated: Pos;\n source?: null;\n original?: null;\n name?: null;\n content?: null;\n },\n ): void;\n (\n map: GenMapping,\n mapping: {\n generated: Pos;\n source: string;\n original: Pos;\n name?: null;\n content?: string | null;\n },\n ): void;\n (\n map: GenMapping,\n mapping: {\n generated: Pos;\n source: string;\n original: Pos;\n name: string;\n content?: string | null;\n },\n ): void;\n};\n\n/**\n * Same as `addSegment`, but will only add the segment if it generates useful information in the\n * resulting map. This only works correctly if segments are added **in order**, meaning you should\n * not add a segment with a lower generated line/column than one that came before.\n */\nexport let maybeAddSegment: typeof addSegment;\n\n/**\n * Same as `addMapping`, but will only add the mapping if it generates useful information in the\n * resulting map. This only works correctly if mappings are added **in order**, meaning you should\n * not add a mapping with a lower generated line/column than one that came before.\n */\nexport let maybeAddMapping: typeof addMapping;\n\n/**\n * Adds/removes the content of the source file to the source map.\n */\nexport let setSourceContent: (map: GenMapping, source: string, content: string | null) => void;\n\n/**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\nexport let toDecodedMap: (map: GenMapping) => DecodedSourceMap;\n\n/**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\nexport let toEncodedMap: (map: GenMapping) => EncodedSourceMap;\n\n/**\n * Constructs a new GenMapping, using the already present mappings of the input.\n */\nexport let fromMap: (input: SourceMapInput) => GenMapping;\n\n/**\n * Returns an array of high-level mapping objects for every recorded segment, which could then be\n * passed to the `source-map` library.\n */\nexport let allMappings: (map: GenMapping) => Mapping[];\n\n// This split declaration is only so that terser can elminiate the static initialization block.\nlet addSegmentInternal: (\n skipable: boolean,\n map: GenMapping,\n genLine: number,\n genColumn: number,\n source: S,\n sourceLine: S extends string ? number : null | undefined,\n sourceColumn: S extends string ? number : null | undefined,\n name: S extends string ? string | null | undefined : null | undefined,\n content: S extends string ? string | null | undefined : null | undefined,\n) => void;\n\n/**\n * Provides the state to generate a sourcemap.\n */\nexport class GenMapping {\n private _names = new SetArray();\n private _sources = new SetArray();\n private _sourcesContent: (string | null)[] = [];\n private _mappings: SourceMapSegment[][] = [];\n declare file: string | null | undefined;\n declare sourceRoot: string | null | undefined;\n\n constructor({ file, sourceRoot }: Options = {}) {\n this.file = file;\n this.sourceRoot = sourceRoot;\n }\n\n static {\n addSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => {\n return addSegmentInternal(\n false,\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n );\n };\n\n maybeAddSegment = (\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n ) => {\n return addSegmentInternal(\n true,\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n );\n };\n\n addMapping = (map, mapping) => {\n return addMappingInternal(false, map, mapping as Parameters[2]);\n };\n\n maybeAddMapping = (map, mapping) => {\n return addMappingInternal(true, map, mapping as Parameters[2]);\n };\n\n setSourceContent = (map, source, content) => {\n const { _sources: sources, _sourcesContent: sourcesContent } = map;\n sourcesContent[put(sources, source)] = content;\n };\n\n toDecodedMap = (map) => {\n const {\n file,\n sourceRoot,\n _mappings: mappings,\n _sources: sources,\n _sourcesContent: sourcesContent,\n _names: names,\n } = map;\n removeEmptyFinalLines(mappings);\n\n return {\n version: 3,\n file: file || undefined,\n names: names.array,\n sourceRoot: sourceRoot || undefined,\n sources: sources.array,\n sourcesContent,\n mappings,\n };\n };\n\n toEncodedMap = (map) => {\n const decoded = toDecodedMap(map);\n return {\n ...decoded,\n mappings: encode(decoded.mappings as SourceMapSegment[][]),\n };\n };\n\n allMappings = (map) => {\n const out: Mapping[] = [];\n const { _mappings: mappings, _sources: sources, _names: names } = map;\n\n for (let i = 0; i < mappings.length; i++) {\n const line = mappings[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n\n const generated = { line: i + 1, column: seg[COLUMN] };\n let source: string | undefined = undefined;\n let original: Pos | undefined = undefined;\n let name: string | undefined = undefined;\n\n if (seg.length !== 1) {\n source = sources.array[seg[SOURCES_INDEX]];\n original = { line: seg[SOURCE_LINE] + 1, column: seg[SOURCE_COLUMN] };\n\n if (seg.length === 5) name = names.array[seg[NAMES_INDEX]];\n }\n\n out.push({ generated, source, original, name } as Mapping);\n }\n }\n\n return out;\n };\n\n fromMap = (input) => {\n const map = new TraceMap(input);\n const gen = new GenMapping({ file: map.file, sourceRoot: map.sourceRoot });\n\n putAll(gen._names, map.names);\n putAll(gen._sources, map.sources as string[]);\n gen._sourcesContent = map.sourcesContent || map.sources.map(() => null);\n gen._mappings = decodedMappings(map) as GenMapping['_mappings'];\n\n return gen;\n };\n\n // Internal helpers\n addSegmentInternal = (\n skipable,\n map,\n genLine,\n genColumn,\n source,\n sourceLine,\n sourceColumn,\n name,\n content,\n ) => {\n const {\n _mappings: mappings,\n _sources: sources,\n _sourcesContent: sourcesContent,\n _names: names,\n } = map;\n const line = getLine(mappings, genLine);\n const index = getColumnIndex(line, genColumn);\n\n if (!source) {\n if (skipable && skipSourceless(line, index)) return;\n return insert(line, index, [genColumn]);\n }\n\n // Sigh, TypeScript can't figure out sourceLine and sourceColumn aren't nullish if source\n // isn't nullish.\n assert(sourceLine);\n assert(sourceColumn);\n\n const sourcesIndex = put(sources, source);\n const namesIndex = name ? put(names, name) : NO_NAME;\n if (sourcesIndex === sourcesContent.length) sourcesContent[sourcesIndex] = content ?? null;\n\n if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {\n return;\n }\n\n return insert(\n line,\n index,\n name\n ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex]\n : [genColumn, sourcesIndex, sourceLine, sourceColumn],\n );\n };\n }\n}\n\nfunction assert(_val: unknown): asserts _val is T {\n // noop.\n}\n\nfunction getLine(mappings: SourceMapSegment[][], index: number): SourceMapSegment[] {\n for (let i = mappings.length; i <= index; i++) {\n mappings[i] = [];\n }\n return mappings[index];\n}\n\nfunction getColumnIndex(line: SourceMapSegment[], genColumn: number): number {\n let index = line.length;\n for (let i = index - 1; i >= 0; index = i--) {\n const current = line[i];\n if (genColumn >= current[COLUMN]) break;\n }\n return index;\n}\n\nfunction insert(array: T[], index: number, value: T) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n}\n\nfunction removeEmptyFinalLines(mappings: SourceMapSegment[][]) {\n const { length } = mappings;\n let len = length;\n for (let i = len - 1; i >= 0; len = i, i--) {\n if (mappings[i].length > 0) break;\n }\n if (len < length) mappings.length = len;\n}\n\nfunction putAll(strarr: SetArray, array: string[]) {\n for (let i = 0; i < array.length; i++) put(strarr, array[i]);\n}\n\nfunction skipSourceless(line: SourceMapSegment[], index: number): boolean {\n // The start of a line is already sourceless, so adding a sourceless segment to the beginning\n // doesn't generate any useful information.\n if (index === 0) return true;\n\n const prev = line[index - 1];\n // If the previous segment is also sourceless, then adding another sourceless segment doesn't\n // genrate any new information. Else, this segment will end the source/named segment and point to\n // a sourceless position, which is useful.\n return prev.length === 1;\n}\n\nfunction skipSource(\n line: SourceMapSegment[],\n index: number,\n sourcesIndex: number,\n sourceLine: number,\n sourceColumn: number,\n namesIndex: number,\n): boolean {\n // A source/named segment at the start of a line gives position at that genColumn\n if (index === 0) return false;\n\n const prev = line[index - 1];\n\n // If the previous segment is sourceless, then we're transitioning to a source.\n if (prev.length === 1) return false;\n\n // If the previous segment maps to the exact same source position, then this segment doesn't\n // provide any new position information.\n return (\n sourcesIndex === prev[SOURCES_INDEX] &&\n sourceLine === prev[SOURCE_LINE] &&\n sourceColumn === prev[SOURCE_COLUMN] &&\n namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME)\n );\n}\n\nfunction addMappingInternal(\n skipable: boolean,\n map: GenMapping,\n mapping: {\n generated: Pos;\n source: S;\n original: S extends string ? Pos : null | undefined;\n name: S extends string ? string | null | undefined : null | undefined;\n content: S extends string ? string | null | undefined : null | undefined;\n },\n) {\n const { generated, source, original, name, content } = mapping;\n if (!source) {\n return addSegmentInternal(\n skipable,\n map,\n generated.line - 1,\n generated.column,\n null,\n null,\n null,\n null,\n null,\n );\n }\n const s: string = source;\n assert(original);\n return addSegmentInternal(\n skipable,\n map,\n generated.line - 1,\n generated.column,\n s,\n original.line - 1,\n original.column,\n name,\n content,\n );\n}\n"],"names":["addSegment","addMapping","maybeAddSegment","maybeAddMapping","setSourceContent","toDecodedMap","toEncodedMap","fromMap","allMappings","SetArray","put","encode","TraceMap","decodedMappings"],"mappings":";;;;;;IAWO,MAAM,MAAM,GAAG,CAAC,CAAC;IACjB,MAAM,aAAa,GAAG,CAAC,CAAC;IACxB,MAAM,WAAW,GAAG,CAAC,CAAC;IACtB,MAAM,aAAa,GAAG,CAAC,CAAC;IACxB,MAAM,WAAW,GAAG,CAAC;;ICQ5B,MAAM,OAAO,GAAG,CAAC,CAAC,CAAC;IAEnB;;;IAGG;AACQA,gCA+BT;IAEF;;;IAGG;AACQC,gCA+BT;IAEF;;;;IAIG;AACQC,qCAAmC;IAE9C;;;;IAIG;AACQC,qCAAmC;IAE9C;;IAEG;AACQC,sCAAoF;IAE/F;;;IAGG;AACQC,kCAAoD;IAE/D;;;IAGG;AACQC,kCAAoD;IAE/D;;IAEG;AACQC,6BAA+C;IAE1D;;;IAGG;AACQC,iCAA4C;IAEvD;IACA,IAAI,kBAUK,CAAC;IAEV;;IAEG;UACU,UAAU,CAAA;IAQrB,IAAA,WAAA,CAAY,EAAE,IAAI,EAAE,UAAU,KAAc,EAAE,EAAA;IAPtC,QAAA,IAAA,CAAA,MAAM,GAAG,IAAIC,iBAAQ,EAAE,CAAC;IACxB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAIA,iBAAQ,EAAE,CAAC;YAC1B,IAAe,CAAA,eAAA,GAAsB,EAAE,CAAC;YACxC,IAAS,CAAA,SAAA,GAAyB,EAAE,CAAC;IAK3C,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACjB,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;SAC9B;IA2KF,CAAA;IAzKC,CAAA,MAAA;IACE,IAAAT,kBAAU,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,KAAI;YACxF,OAAO,kBAAkB,CACvB,KAAK,EACL,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,CACR,CAAC;IACJ,KAAC,CAAC;IAEF,IAAAE,uBAAe,GAAG,CAChB,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,KACL;YACF,OAAO,kBAAkB,CACvB,IAAI,EACJ,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,CACR,CAAC;IACJ,KAAC,CAAC;IAEF,IAAAD,kBAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAI;YAC5B,OAAO,kBAAkB,CAAC,KAAK,EAAE,GAAG,EAAE,OAAmD,CAAC,CAAC;IAC7F,KAAC,CAAC;IAEF,IAAAE,uBAAe,GAAG,CAAC,GAAG,EAAE,OAAO,KAAI;YACjC,OAAO,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,OAAmD,CAAC,CAAC;IAC5F,KAAC,CAAC;QAEFC,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,KAAI;YAC1C,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC;YACnE,cAAc,CAACM,YAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC;IACjD,KAAC,CAAC;IAEF,IAAAL,oBAAY,GAAG,CAAC,GAAG,KAAI;YACrB,MAAM,EACJ,IAAI,EACJ,UAAU,EACV,SAAS,EAAE,QAAQ,EACnB,QAAQ,EAAE,OAAO,EACjB,eAAe,EAAE,cAAc,EAC/B,MAAM,EAAE,KAAK,GACd,GAAG,GAAG,CAAC;YACR,qBAAqB,CAAC,QAAQ,CAAC,CAAC;YAEhC,OAAO;IACL,YAAA,OAAO,EAAE,CAAC;gBACV,IAAI,EAAE,IAAI,IAAI,SAAS;gBACvB,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,UAAU,EAAE,UAAU,IAAI,SAAS;gBACnC,OAAO,EAAE,OAAO,CAAC,KAAK;gBACtB,cAAc;gBACd,QAAQ;aACT,CAAC;IACJ,KAAC,CAAC;IAEF,IAAAC,oBAAY,GAAG,CAAC,GAAG,KAAI;IACrB,QAAA,MAAM,OAAO,GAAGD,oBAAY,CAAC,GAAG,CAAC,CAAC;YAClC,OACK,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,OAAO,CACV,EAAA,EAAA,QAAQ,EAAEM,qBAAM,CAAC,OAAO,CAAC,QAAgC,CAAC,EAC1D,CAAA,CAAA;IACJ,KAAC,CAAC;IAEF,IAAAH,mBAAW,GAAG,CAAC,GAAG,KAAI;YACpB,MAAM,GAAG,GAAc,EAAE,CAAC;IAC1B,QAAA,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC;IAEtE,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;IACxC,YAAA,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACzB,YAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;IACpC,gBAAA,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IAEpB,gBAAA,MAAM,SAAS,GAAG,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;oBACvD,IAAI,MAAM,GAAuB,SAAS,CAAC;oBAC3C,IAAI,QAAQ,GAAoB,SAAS,CAAC;oBAC1C,IAAI,IAAI,GAAuB,SAAS,CAAC;IAEzC,gBAAA,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;wBACpB,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC;IAC3C,oBAAA,QAAQ,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;IAEtE,oBAAA,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC;4BAAE,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;IAC5D,iBAAA;IAED,gBAAA,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAa,CAAC,CAAC;IAC5D,aAAA;IACF,SAAA;IAED,QAAA,OAAO,GAAG,CAAC;IACb,KAAC,CAAC;IAEF,IAAAD,eAAO,GAAG,CAAC,KAAK,KAAI;IAClB,QAAA,MAAM,GAAG,GAAG,IAAIK,qBAAQ,CAAC,KAAK,CAAC,CAAC;IAChC,QAAA,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;YAE3E,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;YAC9B,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,OAAmB,CAAC,CAAC;IAC9C,QAAA,GAAG,CAAC,eAAe,GAAG,GAAG,CAAC,cAAc,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACxE,QAAA,GAAG,CAAC,SAAS,GAAGC,4BAAe,CAAC,GAAG,CAA4B,CAAC;IAEhE,QAAA,OAAO,GAAG,CAAC;IACb,KAAC,CAAC;;QAGF,kBAAkB,GAAG,CACnB,QAAQ,EACR,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,KACL;IACF,QAAA,MAAM,EACJ,SAAS,EAAE,QAAQ,EACnB,QAAQ,EAAE,OAAO,EACjB,eAAe,EAAE,cAAc,EAC/B,MAAM,EAAE,KAAK,GACd,GAAG,GAAG,CAAC;YACR,MAAM,IAAI,GAAG,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YACxC,MAAM,KAAK,GAAG,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;YAE9C,IAAI,CAAC,MAAM,EAAE;IACX,YAAA,IAAI,QAAQ,IAAI,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC;oBAAE,OAAO;gBACpD,OAAO,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IACzC,SAAA;YAOD,MAAM,YAAY,GAAGH,YAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1C,QAAA,MAAM,UAAU,GAAG,IAAI,GAAGA,YAAG,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,OAAO,CAAC;IACrD,QAAA,IAAI,YAAY,KAAK,cAAc,CAAC,MAAM;gBAAE,cAAc,CAAC,YAAY,CAAC,GAAG,OAAO,KAAP,IAAA,IAAA,OAAO,KAAP,KAAA,CAAA,GAAA,OAAO,GAAI,IAAI,CAAC;IAE3F,QAAA,IAAI,QAAQ,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE;gBAC3F,OAAO;IACR,SAAA;IAED,QAAA,OAAO,MAAM,CACX,IAAI,EACJ,KAAK,EACL,IAAI;kBACA,CAAC,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,CAAC;kBAC/D,CAAC,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,CAAC,CACxD,CAAC;IACJ,KAAC,CAAC;IACJ,CAAC,GAAA,CAAA;IAOH,SAAS,OAAO,CAAC,QAA8B,EAAE,KAAa,EAAA;IAC5D,IAAA,KAAK,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,EAAE,EAAE;IAC7C,QAAA,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAClB,KAAA;IACD,IAAA,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,SAAS,cAAc,CAAC,IAAwB,EAAE,SAAiB,EAAA;IACjE,IAAA,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC;IACxB,IAAA,KAAK,IAAI,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE;IAC3C,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACxB,QAAA,IAAI,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC;gBAAE,MAAM;IACzC,KAAA;IACD,IAAA,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,MAAM,CAAI,KAAU,EAAE,KAAa,EAAE,KAAQ,EAAA;IACpD,IAAA,KAAK,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;YACzC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,KAAA;IACD,IAAA,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,SAAS,qBAAqB,CAAC,QAA8B,EAAA;IAC3D,IAAA,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC;QAC5B,IAAI,GAAG,GAAG,MAAM,CAAC;IACjB,IAAA,KAAK,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;IAC1C,QAAA,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC;gBAAE,MAAM;IACnC,KAAA;QACD,IAAI,GAAG,GAAG,MAAM;IAAE,QAAA,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAC;IAC1C,CAAC;IAED,SAAS,MAAM,CAAC,MAAgB,EAAE,KAAe,EAAA;IAC/C,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE;YAAEA,YAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/D,CAAC;IAED,SAAS,cAAc,CAAC,IAAwB,EAAE,KAAa,EAAA;;;QAG7D,IAAI,KAAK,KAAK,CAAC;IAAE,QAAA,OAAO,IAAI,CAAC;QAE7B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;;;;IAI7B,IAAA,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;IAC3B,CAAC;IAED,SAAS,UAAU,CACjB,IAAwB,EACxB,KAAa,EACb,YAAoB,EACpB,UAAkB,EAClB,YAAoB,EACpB,UAAkB,EAAA;;QAGlB,IAAI,KAAK,KAAK,CAAC;IAAE,QAAA,OAAO,KAAK,CAAC;QAE9B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;;IAG7B,IAAA,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;IAAE,QAAA,OAAO,KAAK,CAAC;;;IAIpC,IAAA,QACE,YAAY,KAAK,IAAI,CAAC,aAAa,CAAC;IACpC,QAAA,UAAU,KAAK,IAAI,CAAC,WAAW,CAAC;IAChC,QAAA,YAAY,KAAK,IAAI,CAAC,aAAa,CAAC;YACpC,UAAU,MAAM,IAAI,CAAC,MAAM,KAAK,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,EAChE;IACJ,CAAC;IAED,SAAS,kBAAkB,CACzB,QAAiB,EACjB,GAAe,EACf,OAMC,EAAA;IAED,IAAA,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QAC/D,IAAI,CAAC,MAAM,EAAE;YACX,OAAO,kBAAkB,CACvB,QAAQ,EACR,GAAG,EACH,SAAS,CAAC,IAAI,GAAG,CAAC,EAClB,SAAS,CAAC,MAAM,EAChB,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,CACL,CAAC;IACH,KAAA;QACD,MAAM,CAAC,GAAW,MAAM,CAAC;IAEzB,IAAA,OAAO,kBAAkB,CACvB,QAAQ,EACR,GAAG,EACH,SAAS,CAAC,IAAI,GAAG,CAAC,EAClB,SAAS,CAAC,MAAM,EAChB,CAAC,EACD,QAAQ,CAAC,IAAI,GAAG,CAAC,EACjB,QAAQ,CAAC,MAAM,EACf,IAAI,EACJ,OAAO,CACR,CAAC;IACJ;;;;;;;;;;"} \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts new file mode 100644 index 00000000..d510d74b --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts @@ -0,0 +1,90 @@ +import type { SourceMapInput } from '@jridgewell/trace-mapping'; +import type { DecodedSourceMap, EncodedSourceMap, Pos, Mapping } from './types'; +export type { DecodedSourceMap, EncodedSourceMap, Mapping }; +export declare type Options = { + file?: string | null; + sourceRoot?: string | null; +}; +/** + * A low-level API to associate a generated position with an original source position. Line and + * column here are 0-based, unlike `addMapping`. + */ +export declare let addSegment: { + (map: GenMapping, genLine: number, genColumn: number, source?: null, sourceLine?: null, sourceColumn?: null, name?: null, content?: null): void; + (map: GenMapping, genLine: number, genColumn: number, source: string, sourceLine: number, sourceColumn: number, name?: null, content?: string | null): void; + (map: GenMapping, genLine: number, genColumn: number, source: string, sourceLine: number, sourceColumn: number, name: string, content?: string | null): void; +}; +/** + * A high-level API to associate a generated position with an original source position. Line is + * 1-based, but column is 0-based, due to legacy behavior in `source-map` library. + */ +export declare let addMapping: { + (map: GenMapping, mapping: { + generated: Pos; + source?: null; + original?: null; + name?: null; + content?: null; + }): void; + (map: GenMapping, mapping: { + generated: Pos; + source: string; + original: Pos; + name?: null; + content?: string | null; + }): void; + (map: GenMapping, mapping: { + generated: Pos; + source: string; + original: Pos; + name: string; + content?: string | null; + }): void; +}; +/** + * Same as `addSegment`, but will only add the segment if it generates useful information in the + * resulting map. This only works correctly if segments are added **in order**, meaning you should + * not add a segment with a lower generated line/column than one that came before. + */ +export declare let maybeAddSegment: typeof addSegment; +/** + * Same as `addMapping`, but will only add the mapping if it generates useful information in the + * resulting map. This only works correctly if mappings are added **in order**, meaning you should + * not add a mapping with a lower generated line/column than one that came before. + */ +export declare let maybeAddMapping: typeof addMapping; +/** + * Adds/removes the content of the source file to the source map. + */ +export declare let setSourceContent: (map: GenMapping, source: string, content: string | null) => void; +/** + * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ +export declare let toDecodedMap: (map: GenMapping) => DecodedSourceMap; +/** + * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ +export declare let toEncodedMap: (map: GenMapping) => EncodedSourceMap; +/** + * Constructs a new GenMapping, using the already present mappings of the input. + */ +export declare let fromMap: (input: SourceMapInput) => GenMapping; +/** + * Returns an array of high-level mapping objects for every recorded segment, which could then be + * passed to the `source-map` library. + */ +export declare let allMappings: (map: GenMapping) => Mapping[]; +/** + * Provides the state to generate a sourcemap. + */ +export declare class GenMapping { + private _names; + private _sources; + private _sourcesContent; + private _mappings; + file: string | null | undefined; + sourceRoot: string | null | undefined; + constructor({ file, sourceRoot }?: Options); +} diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts new file mode 100644 index 00000000..e187ba98 --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts @@ -0,0 +1,12 @@ +declare type GeneratedColumn = number; +declare type SourcesIndex = number; +declare type SourceLine = number; +declare type SourceColumn = number; +declare type NamesIndex = number; +export declare type SourceMapSegment = [GeneratedColumn] | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn] | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex]; +export declare const COLUMN = 0; +export declare const SOURCES_INDEX = 1; +export declare const SOURCE_LINE = 2; +export declare const SOURCE_COLUMN = 3; +export declare const NAMES_INDEX = 4; +export {}; diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts new file mode 100644 index 00000000..b309c811 --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts @@ -0,0 +1,35 @@ +import type { SourceMapSegment } from './sourcemap-segment'; +export interface SourceMapV3 { + file?: string | null; + names: readonly string[]; + sourceRoot?: string; + sources: readonly (string | null)[]; + sourcesContent?: readonly (string | null)[]; + version: 3; +} +export interface EncodedSourceMap extends SourceMapV3 { + mappings: string; +} +export interface DecodedSourceMap extends SourceMapV3 { + mappings: readonly SourceMapSegment[][]; +} +export interface Pos { + line: number; + column: number; +} +export declare type Mapping = { + generated: Pos; + source: undefined; + original: undefined; + name: undefined; +} | { + generated: Pos; + source: string; + original: Pos; + name: string; +} | { + generated: Pos; + source: string; + original: Pos; + name: undefined; +}; diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/package.json b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/package.json new file mode 100644 index 00000000..4934de5c --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/package.json @@ -0,0 +1,78 @@ +{ + "name": "@jridgewell/gen-mapping", + "version": "0.3.2", + "description": "Generate source maps", + "keywords": [ + "source", + "map" + ], + "author": "Justin Ridgewell ", + "license": "MIT", + "repository": "https://github.com/jridgewell/gen-mapping", + "main": "dist/gen-mapping.umd.js", + "module": "dist/gen-mapping.mjs", + "typings": "dist/types/gen-mapping.d.ts", + "exports": { + ".": [ + { + "types": "./dist/types/gen-mapping.d.ts", + "browser": "./dist/gen-mapping.umd.js", + "require": "./dist/gen-mapping.umd.js", + "import": "./dist/gen-mapping.mjs" + }, + "./dist/gen-mapping.umd.js" + ], + "./package.json": "./package.json" + }, + "files": [ + "dist", + "src" + ], + "engines": { + "node": ">=6.0.0" + }, + "scripts": { + "benchmark": "run-s build:rollup benchmark:*", + "benchmark:install": "cd benchmark && npm install", + "benchmark:only": "node benchmark/index.mjs", + "prebuild": "rm -rf dist", + "build": "run-s -n build:*", + "build:rollup": "rollup -c rollup.config.js", + "build:ts": "tsc --project tsconfig.build.json", + "lint": "run-s -n lint:*", + "lint:prettier": "npm run test:lint:prettier -- --write", + "lint:ts": "npm run test:lint:ts -- --fix", + "pretest": "run-s build:rollup", + "test": "run-s -n test:lint test:coverage", + "test:debug": "mocha --inspect-brk", + "test:lint": "run-s -n test:lint:*", + "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'", + "test:lint:ts": "eslint '{src,test}/**/*.ts'", + "test:only": "mocha", + "test:coverage": "c8 mocha", + "test:watch": "run-p 'build:rollup -- --watch' 'test:only -- --watch'", + "prepublishOnly": "npm run preversion", + "preversion": "run-s test build" + }, + "devDependencies": { + "@rollup/plugin-typescript": "8.3.2", + "@types/mocha": "9.1.1", + "@types/node": "17.0.29", + "@typescript-eslint/eslint-plugin": "5.21.0", + "@typescript-eslint/parser": "5.21.0", + "benchmark": "2.1.4", + "c8": "7.11.2", + "eslint": "8.14.0", + "eslint-config-prettier": "8.5.0", + "mocha": "9.2.2", + "npm-run-all": "4.1.5", + "prettier": "2.6.2", + "rollup": "2.70.2", + "typescript": "4.6.3" + }, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } +} diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts new file mode 100644 index 00000000..601c745d --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts @@ -0,0 +1,458 @@ +import { SetArray, put } from '@jridgewell/set-array'; +import { encode } from '@jridgewell/sourcemap-codec'; +import { TraceMap, decodedMappings } from '@jridgewell/trace-mapping'; + +import { + COLUMN, + SOURCES_INDEX, + SOURCE_LINE, + SOURCE_COLUMN, + NAMES_INDEX, +} from './sourcemap-segment'; + +import type { SourceMapInput } from '@jridgewell/trace-mapping'; +import type { SourceMapSegment } from './sourcemap-segment'; +import type { DecodedSourceMap, EncodedSourceMap, Pos, Mapping } from './types'; + +export type { DecodedSourceMap, EncodedSourceMap, Mapping }; + +export type Options = { + file?: string | null; + sourceRoot?: string | null; +}; + +const NO_NAME = -1; + +/** + * A low-level API to associate a generated position with an original source position. Line and + * column here are 0-based, unlike `addMapping`. + */ +export let addSegment: { + ( + map: GenMapping, + genLine: number, + genColumn: number, + source?: null, + sourceLine?: null, + sourceColumn?: null, + name?: null, + content?: null, + ): void; + ( + map: GenMapping, + genLine: number, + genColumn: number, + source: string, + sourceLine: number, + sourceColumn: number, + name?: null, + content?: string | null, + ): void; + ( + map: GenMapping, + genLine: number, + genColumn: number, + source: string, + sourceLine: number, + sourceColumn: number, + name: string, + content?: string | null, + ): void; +}; + +/** + * A high-level API to associate a generated position with an original source position. Line is + * 1-based, but column is 0-based, due to legacy behavior in `source-map` library. + */ +export let addMapping: { + ( + map: GenMapping, + mapping: { + generated: Pos; + source?: null; + original?: null; + name?: null; + content?: null; + }, + ): void; + ( + map: GenMapping, + mapping: { + generated: Pos; + source: string; + original: Pos; + name?: null; + content?: string | null; + }, + ): void; + ( + map: GenMapping, + mapping: { + generated: Pos; + source: string; + original: Pos; + name: string; + content?: string | null; + }, + ): void; +}; + +/** + * Same as `addSegment`, but will only add the segment if it generates useful information in the + * resulting map. This only works correctly if segments are added **in order**, meaning you should + * not add a segment with a lower generated line/column than one that came before. + */ +export let maybeAddSegment: typeof addSegment; + +/** + * Same as `addMapping`, but will only add the mapping if it generates useful information in the + * resulting map. This only works correctly if mappings are added **in order**, meaning you should + * not add a mapping with a lower generated line/column than one that came before. + */ +export let maybeAddMapping: typeof addMapping; + +/** + * Adds/removes the content of the source file to the source map. + */ +export let setSourceContent: (map: GenMapping, source: string, content: string | null) => void; + +/** + * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ +export let toDecodedMap: (map: GenMapping) => DecodedSourceMap; + +/** + * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects + * a sourcemap, or to JSON.stringify. + */ +export let toEncodedMap: (map: GenMapping) => EncodedSourceMap; + +/** + * Constructs a new GenMapping, using the already present mappings of the input. + */ +export let fromMap: (input: SourceMapInput) => GenMapping; + +/** + * Returns an array of high-level mapping objects for every recorded segment, which could then be + * passed to the `source-map` library. + */ +export let allMappings: (map: GenMapping) => Mapping[]; + +// This split declaration is only so that terser can elminiate the static initialization block. +let addSegmentInternal: ( + skipable: boolean, + map: GenMapping, + genLine: number, + genColumn: number, + source: S, + sourceLine: S extends string ? number : null | undefined, + sourceColumn: S extends string ? number : null | undefined, + name: S extends string ? string | null | undefined : null | undefined, + content: S extends string ? string | null | undefined : null | undefined, +) => void; + +/** + * Provides the state to generate a sourcemap. + */ +export class GenMapping { + private _names = new SetArray(); + private _sources = new SetArray(); + private _sourcesContent: (string | null)[] = []; + private _mappings: SourceMapSegment[][] = []; + declare file: string | null | undefined; + declare sourceRoot: string | null | undefined; + + constructor({ file, sourceRoot }: Options = {}) { + this.file = file; + this.sourceRoot = sourceRoot; + } + + static { + addSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => { + return addSegmentInternal( + false, + map, + genLine, + genColumn, + source, + sourceLine, + sourceColumn, + name, + content, + ); + }; + + maybeAddSegment = ( + map, + genLine, + genColumn, + source, + sourceLine, + sourceColumn, + name, + content, + ) => { + return addSegmentInternal( + true, + map, + genLine, + genColumn, + source, + sourceLine, + sourceColumn, + name, + content, + ); + }; + + addMapping = (map, mapping) => { + return addMappingInternal(false, map, mapping as Parameters[2]); + }; + + maybeAddMapping = (map, mapping) => { + return addMappingInternal(true, map, mapping as Parameters[2]); + }; + + setSourceContent = (map, source, content) => { + const { _sources: sources, _sourcesContent: sourcesContent } = map; + sourcesContent[put(sources, source)] = content; + }; + + toDecodedMap = (map) => { + const { + file, + sourceRoot, + _mappings: mappings, + _sources: sources, + _sourcesContent: sourcesContent, + _names: names, + } = map; + removeEmptyFinalLines(mappings); + + return { + version: 3, + file: file || undefined, + names: names.array, + sourceRoot: sourceRoot || undefined, + sources: sources.array, + sourcesContent, + mappings, + }; + }; + + toEncodedMap = (map) => { + const decoded = toDecodedMap(map); + return { + ...decoded, + mappings: encode(decoded.mappings as SourceMapSegment[][]), + }; + }; + + allMappings = (map) => { + const out: Mapping[] = []; + const { _mappings: mappings, _sources: sources, _names: names } = map; + + for (let i = 0; i < mappings.length; i++) { + const line = mappings[i]; + for (let j = 0; j < line.length; j++) { + const seg = line[j]; + + const generated = { line: i + 1, column: seg[COLUMN] }; + let source: string | undefined = undefined; + let original: Pos | undefined = undefined; + let name: string | undefined = undefined; + + if (seg.length !== 1) { + source = sources.array[seg[SOURCES_INDEX]]; + original = { line: seg[SOURCE_LINE] + 1, column: seg[SOURCE_COLUMN] }; + + if (seg.length === 5) name = names.array[seg[NAMES_INDEX]]; + } + + out.push({ generated, source, original, name } as Mapping); + } + } + + return out; + }; + + fromMap = (input) => { + const map = new TraceMap(input); + const gen = new GenMapping({ file: map.file, sourceRoot: map.sourceRoot }); + + putAll(gen._names, map.names); + putAll(gen._sources, map.sources as string[]); + gen._sourcesContent = map.sourcesContent || map.sources.map(() => null); + gen._mappings = decodedMappings(map) as GenMapping['_mappings']; + + return gen; + }; + + // Internal helpers + addSegmentInternal = ( + skipable, + map, + genLine, + genColumn, + source, + sourceLine, + sourceColumn, + name, + content, + ) => { + const { + _mappings: mappings, + _sources: sources, + _sourcesContent: sourcesContent, + _names: names, + } = map; + const line = getLine(mappings, genLine); + const index = getColumnIndex(line, genColumn); + + if (!source) { + if (skipable && skipSourceless(line, index)) return; + return insert(line, index, [genColumn]); + } + + // Sigh, TypeScript can't figure out sourceLine and sourceColumn aren't nullish if source + // isn't nullish. + assert(sourceLine); + assert(sourceColumn); + + const sourcesIndex = put(sources, source); + const namesIndex = name ? put(names, name) : NO_NAME; + if (sourcesIndex === sourcesContent.length) sourcesContent[sourcesIndex] = content ?? null; + + if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) { + return; + } + + return insert( + line, + index, + name + ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex] + : [genColumn, sourcesIndex, sourceLine, sourceColumn], + ); + }; + } +} + +function assert(_val: unknown): asserts _val is T { + // noop. +} + +function getLine(mappings: SourceMapSegment[][], index: number): SourceMapSegment[] { + for (let i = mappings.length; i <= index; i++) { + mappings[i] = []; + } + return mappings[index]; +} + +function getColumnIndex(line: SourceMapSegment[], genColumn: number): number { + let index = line.length; + for (let i = index - 1; i >= 0; index = i--) { + const current = line[i]; + if (genColumn >= current[COLUMN]) break; + } + return index; +} + +function insert(array: T[], index: number, value: T) { + for (let i = array.length; i > index; i--) { + array[i] = array[i - 1]; + } + array[index] = value; +} + +function removeEmptyFinalLines(mappings: SourceMapSegment[][]) { + const { length } = mappings; + let len = length; + for (let i = len - 1; i >= 0; len = i, i--) { + if (mappings[i].length > 0) break; + } + if (len < length) mappings.length = len; +} + +function putAll(strarr: SetArray, array: string[]) { + for (let i = 0; i < array.length; i++) put(strarr, array[i]); +} + +function skipSourceless(line: SourceMapSegment[], index: number): boolean { + // The start of a line is already sourceless, so adding a sourceless segment to the beginning + // doesn't generate any useful information. + if (index === 0) return true; + + const prev = line[index - 1]; + // If the previous segment is also sourceless, then adding another sourceless segment doesn't + // genrate any new information. Else, this segment will end the source/named segment and point to + // a sourceless position, which is useful. + return prev.length === 1; +} + +function skipSource( + line: SourceMapSegment[], + index: number, + sourcesIndex: number, + sourceLine: number, + sourceColumn: number, + namesIndex: number, +): boolean { + // A source/named segment at the start of a line gives position at that genColumn + if (index === 0) return false; + + const prev = line[index - 1]; + + // If the previous segment is sourceless, then we're transitioning to a source. + if (prev.length === 1) return false; + + // If the previous segment maps to the exact same source position, then this segment doesn't + // provide any new position information. + return ( + sourcesIndex === prev[SOURCES_INDEX] && + sourceLine === prev[SOURCE_LINE] && + sourceColumn === prev[SOURCE_COLUMN] && + namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME) + ); +} + +function addMappingInternal( + skipable: boolean, + map: GenMapping, + mapping: { + generated: Pos; + source: S; + original: S extends string ? Pos : null | undefined; + name: S extends string ? string | null | undefined : null | undefined; + content: S extends string ? string | null | undefined : null | undefined; + }, +) { + const { generated, source, original, name, content } = mapping; + if (!source) { + return addSegmentInternal( + skipable, + map, + generated.line - 1, + generated.column, + null, + null, + null, + null, + null, + ); + } + const s: string = source; + assert(original); + return addSegmentInternal( + skipable, + map, + generated.line - 1, + generated.column, + s, + original.line - 1, + original.column, + name, + content, + ); +} diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts new file mode 100644 index 00000000..fb296dd3 --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts @@ -0,0 +1,16 @@ +type GeneratedColumn = number; +type SourcesIndex = number; +type SourceLine = number; +type SourceColumn = number; +type NamesIndex = number; + +export type SourceMapSegment = + | [GeneratedColumn] + | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn] + | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex]; + +export const COLUMN = 0; +export const SOURCES_INDEX = 1; +export const SOURCE_LINE = 2; +export const SOURCE_COLUMN = 3; +export const NAMES_INDEX = 4; diff --git a/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/types.ts b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/types.ts new file mode 100644 index 00000000..dd11331b --- /dev/null +++ b/node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping/src/types.ts @@ -0,0 +1,43 @@ +import type { SourceMapSegment } from './sourcemap-segment'; + +export interface SourceMapV3 { + file?: string | null; + names: readonly string[]; + sourceRoot?: string; + sources: readonly (string | null)[]; + sourcesContent?: readonly (string | null)[]; + version: 3; +} + +export interface EncodedSourceMap extends SourceMapV3 { + mappings: string; +} + +export interface DecodedSourceMap extends SourceMapV3 { + mappings: readonly SourceMapSegment[][]; +} + +export interface Pos { + line: number; + column: number; +} + +export type Mapping = + | { + generated: Pos; + source: undefined; + original: undefined; + name: undefined; + } + | { + generated: Pos; + source: string; + original: Pos; + name: string; + } + | { + generated: Pos; + source: string; + original: Pos; + name: undefined; + }; diff --git a/node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md b/node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md deleted file mode 100644 index 3a8c066c..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md +++ /dev/null @@ -1,301 +0,0 @@ -# Change Log - -## 0.5.6 - -* Fix for regression when people were using numbers as names in source maps. See - #236. - -## 0.5.5 - -* Fix "regression" of unsupported, implementation behavior that half the world - happens to have come to depend on. See #235. - -* Fix regression involving function hoisting in SpiderMonkey. See #233. - -## 0.5.4 - -* Large performance improvements to source-map serialization. See #228 and #229. - -## 0.5.3 - -* Do not include unnecessary distribution files. See - commit ef7006f8d1647e0a83fdc60f04f5a7ca54886f86. - -## 0.5.2 - -* Include browser distributions of the library in package.json's `files`. See - issue #212. - -## 0.5.1 - -* Fix latent bugs in IndexedSourceMapConsumer.prototype._parseMappings. See - ff05274becc9e6e1295ed60f3ea090d31d843379. - -## 0.5.0 - -* Node 0.8 is no longer supported. - -* Use webpack instead of dryice for bundling. - -* Big speedups serializing source maps. See pull request #203. - -* Fix a bug with `SourceMapConsumer.prototype.sourceContentFor` and sources that - explicitly start with the source root. See issue #199. - -## 0.4.4 - -* Fix an issue where using a `SourceMapGenerator` after having created a - `SourceMapConsumer` from it via `SourceMapConsumer.fromSourceMap` failed. See - issue #191. - -* Fix an issue with where `SourceMapGenerator` would mistakenly consider - different mappings as duplicates of each other and avoid generating them. See - issue #192. - -## 0.4.3 - -* A very large number of performance improvements, particularly when parsing - source maps. Collectively about 75% of time shaved off of the source map - parsing benchmark! - -* Fix a bug in `SourceMapConsumer.prototype.allGeneratedPositionsFor` and fuzzy - searching in the presence of a column option. See issue #177. - -* Fix a bug with joining a source and its source root when the source is above - the root. See issue #182. - -* Add the `SourceMapConsumer.prototype.hasContentsOfAllSources` method to - determine when all sources' contents are inlined into the source map. See - issue #190. - -## 0.4.2 - -* Add an `.npmignore` file so that the benchmarks aren't pulled down by - dependent projects. Issue #169. - -* Add an optional `column` argument to - `SourceMapConsumer.prototype.allGeneratedPositionsFor` and better handle lines - with no mappings. Issues #172 and #173. - -## 0.4.1 - -* Fix accidentally defining a global variable. #170. - -## 0.4.0 - -* The default direction for fuzzy searching was changed back to its original - direction. See #164. - -* There is now a `bias` option you can supply to `SourceMapConsumer` to control - the fuzzy searching direction. See #167. - -* About an 8% speed up in parsing source maps. See #159. - -* Added a benchmark for parsing and generating source maps. - -## 0.3.0 - -* Change the default direction that searching for positions fuzzes when there is - not an exact match. See #154. - -* Support for environments using json2.js for JSON serialization. See #156. - -## 0.2.0 - -* Support for consuming "indexed" source maps which do not have any remote - sections. See pull request #127. This introduces a minor backwards - incompatibility if you are monkey patching `SourceMapConsumer.prototype` - methods. - -## 0.1.43 - -* Performance improvements for `SourceMapGenerator` and `SourceNode`. See issue - #148 for some discussion and issues #150, #151, and #152 for implementations. - -## 0.1.42 - -* Fix an issue where `SourceNode`s from different versions of the source-map - library couldn't be used in conjunction with each other. See issue #142. - -## 0.1.41 - -* Fix a bug with getting the source content of relative sources with a "./" - prefix. See issue #145 and [Bug 1090768](bugzil.la/1090768). - -* Add the `SourceMapConsumer.prototype.computeColumnSpans` method to compute the - column span of each mapping. - -* Add the `SourceMapConsumer.prototype.allGeneratedPositionsFor` method to find - all generated positions associated with a given original source and line. - -## 0.1.40 - -* Performance improvements for parsing source maps in SourceMapConsumer. - -## 0.1.39 - -* Fix a bug where setting a source's contents to null before any source content - had been set before threw a TypeError. See issue #131. - -## 0.1.38 - -* Fix a bug where finding relative paths from an empty path were creating - absolute paths. See issue #129. - -## 0.1.37 - -* Fix a bug where if the source root was an empty string, relative source paths - would turn into absolute source paths. Issue #124. - -## 0.1.36 - -* Allow the `names` mapping property to be an empty string. Issue #121. - -## 0.1.35 - -* A third optional parameter was added to `SourceNode.fromStringWithSourceMap` - to specify a path that relative sources in the second parameter should be - relative to. Issue #105. - -* If no file property is given to a `SourceMapGenerator`, then the resulting - source map will no longer have a `null` file property. The property will - simply not exist. Issue #104. - -* Fixed a bug where consecutive newlines were ignored in `SourceNode`s. - Issue #116. - -## 0.1.34 - -* Make `SourceNode` work with windows style ("\r\n") newlines. Issue #103. - -* Fix bug involving source contents and the - `SourceMapGenerator.prototype.applySourceMap`. Issue #100. - -## 0.1.33 - -* Fix some edge cases surrounding path joining and URL resolution. - -* Add a third parameter for relative path to - `SourceMapGenerator.prototype.applySourceMap`. - -* Fix issues with mappings and EOLs. - -## 0.1.32 - -* Fixed a bug where SourceMapConsumer couldn't handle negative relative columns - (issue 92). - -* Fixed test runner to actually report number of failed tests as its process - exit code. - -* Fixed a typo when reporting bad mappings (issue 87). - -## 0.1.31 - -* Delay parsing the mappings in SourceMapConsumer until queried for a source - location. - -* Support Sass source maps (which at the time of writing deviate from the spec - in small ways) in SourceMapConsumer. - -## 0.1.30 - -* Do not join source root with a source, when the source is a data URI. - -* Extend the test runner to allow running single specific test files at a time. - -* Performance improvements in `SourceNode.prototype.walk` and - `SourceMapConsumer.prototype.eachMapping`. - -* Source map browser builds will now work inside Workers. - -* Better error messages when attempting to add an invalid mapping to a - `SourceMapGenerator`. - -## 0.1.29 - -* Allow duplicate entries in the `names` and `sources` arrays of source maps - (usually from TypeScript) we are parsing. Fixes github issue 72. - -## 0.1.28 - -* Skip duplicate mappings when creating source maps from SourceNode; github - issue 75. - -## 0.1.27 - -* Don't throw an error when the `file` property is missing in SourceMapConsumer, - we don't use it anyway. - -## 0.1.26 - -* Fix SourceNode.fromStringWithSourceMap for empty maps. Fixes github issue 70. - -## 0.1.25 - -* Make compatible with browserify - -## 0.1.24 - -* Fix issue with absolute paths and `file://` URIs. See - https://bugzilla.mozilla.org/show_bug.cgi?id=885597 - -## 0.1.23 - -* Fix issue with absolute paths and sourcesContent, github issue 64. - -## 0.1.22 - -* Ignore duplicate mappings in SourceMapGenerator. Fixes github issue 21. - -## 0.1.21 - -* Fixed handling of sources that start with a slash so that they are relative to - the source root's host. - -## 0.1.20 - -* Fixed github issue #43: absolute URLs aren't joined with the source root - anymore. - -## 0.1.19 - -* Using Travis CI to run tests. - -## 0.1.18 - -* Fixed a bug in the handling of sourceRoot. - -## 0.1.17 - -* Added SourceNode.fromStringWithSourceMap. - -## 0.1.16 - -* Added missing documentation. - -* Fixed the generating of empty mappings in SourceNode. - -## 0.1.15 - -* Added SourceMapGenerator.applySourceMap. - -## 0.1.14 - -* The sourceRoot is now handled consistently. - -## 0.1.13 - -* Added SourceMapGenerator.fromSourceMap. - -## 0.1.12 - -* SourceNode now generates empty mappings too. - -## 0.1.11 - -* Added name support to SourceNode. - -## 0.1.10 - -* Added sourcesContent support to the customer and generator. diff --git a/node_modules/@babel/generator/node_modules/source-map/LICENSE b/node_modules/@babel/generator/node_modules/source-map/LICENSE deleted file mode 100644 index ed1b7cf2..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ - -Copyright (c) 2009-2011, Mozilla Foundation and contributors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the names of the Mozilla Foundation nor the names of project - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@babel/generator/node_modules/source-map/README.md b/node_modules/@babel/generator/node_modules/source-map/README.md deleted file mode 100644 index 32813394..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/README.md +++ /dev/null @@ -1,729 +0,0 @@ -# Source Map - -[![Build Status](https://travis-ci.org/mozilla/source-map.png?branch=master)](https://travis-ci.org/mozilla/source-map) - -[![NPM](https://nodei.co/npm/source-map.png?downloads=true&downloadRank=true)](https://www.npmjs.com/package/source-map) - -This is a library to generate and consume the source map format -[described here][format]. - -[format]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit - -## Use with Node - - $ npm install source-map - -## Use on the Web - - - --------------------------------------------------------------------------------- - - - - - -## Table of Contents - -- [Examples](#examples) - - [Consuming a source map](#consuming-a-source-map) - - [Generating a source map](#generating-a-source-map) - - [With SourceNode (high level API)](#with-sourcenode-high-level-api) - - [With SourceMapGenerator (low level API)](#with-sourcemapgenerator-low-level-api) -- [API](#api) - - [SourceMapConsumer](#sourcemapconsumer) - - [new SourceMapConsumer(rawSourceMap)](#new-sourcemapconsumerrawsourcemap) - - [SourceMapConsumer.prototype.computeColumnSpans()](#sourcemapconsumerprototypecomputecolumnspans) - - [SourceMapConsumer.prototype.originalPositionFor(generatedPosition)](#sourcemapconsumerprototypeoriginalpositionforgeneratedposition) - - [SourceMapConsumer.prototype.generatedPositionFor(originalPosition)](#sourcemapconsumerprototypegeneratedpositionfororiginalposition) - - [SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition)](#sourcemapconsumerprototypeallgeneratedpositionsfororiginalposition) - - [SourceMapConsumer.prototype.hasContentsOfAllSources()](#sourcemapconsumerprototypehascontentsofallsources) - - [SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing])](#sourcemapconsumerprototypesourcecontentforsource-returnnullonmissing) - - [SourceMapConsumer.prototype.eachMapping(callback, context, order)](#sourcemapconsumerprototypeeachmappingcallback-context-order) - - [SourceMapGenerator](#sourcemapgenerator) - - [new SourceMapGenerator([startOfSourceMap])](#new-sourcemapgeneratorstartofsourcemap) - - [SourceMapGenerator.fromSourceMap(sourceMapConsumer)](#sourcemapgeneratorfromsourcemapsourcemapconsumer) - - [SourceMapGenerator.prototype.addMapping(mapping)](#sourcemapgeneratorprototypeaddmappingmapping) - - [SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent)](#sourcemapgeneratorprototypesetsourcecontentsourcefile-sourcecontent) - - [SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]])](#sourcemapgeneratorprototypeapplysourcemapsourcemapconsumer-sourcefile-sourcemappath) - - [SourceMapGenerator.prototype.toString()](#sourcemapgeneratorprototypetostring) - - [SourceNode](#sourcenode) - - [new SourceNode([line, column, source[, chunk[, name]]])](#new-sourcenodeline-column-source-chunk-name) - - [SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath])](#sourcenodefromstringwithsourcemapcode-sourcemapconsumer-relativepath) - - [SourceNode.prototype.add(chunk)](#sourcenodeprototypeaddchunk) - - [SourceNode.prototype.prepend(chunk)](#sourcenodeprototypeprependchunk) - - [SourceNode.prototype.setSourceContent(sourceFile, sourceContent)](#sourcenodeprototypesetsourcecontentsourcefile-sourcecontent) - - [SourceNode.prototype.walk(fn)](#sourcenodeprototypewalkfn) - - [SourceNode.prototype.walkSourceContents(fn)](#sourcenodeprototypewalksourcecontentsfn) - - [SourceNode.prototype.join(sep)](#sourcenodeprototypejoinsep) - - [SourceNode.prototype.replaceRight(pattern, replacement)](#sourcenodeprototypereplacerightpattern-replacement) - - [SourceNode.prototype.toString()](#sourcenodeprototypetostring) - - [SourceNode.prototype.toStringWithSourceMap([startOfSourceMap])](#sourcenodeprototypetostringwithsourcemapstartofsourcemap) - - - -## Examples - -### Consuming a source map - -```js -var rawSourceMap = { - version: 3, - file: 'min.js', - names: ['bar', 'baz', 'n'], - sources: ['one.js', 'two.js'], - sourceRoot: 'http://example.com/www/js/', - mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA' -}; - -var smc = new SourceMapConsumer(rawSourceMap); - -console.log(smc.sources); -// [ 'http://example.com/www/js/one.js', -// 'http://example.com/www/js/two.js' ] - -console.log(smc.originalPositionFor({ - line: 2, - column: 28 -})); -// { source: 'http://example.com/www/js/two.js', -// line: 2, -// column: 10, -// name: 'n' } - -console.log(smc.generatedPositionFor({ - source: 'http://example.com/www/js/two.js', - line: 2, - column: 10 -})); -// { line: 2, column: 28 } - -smc.eachMapping(function (m) { - // ... -}); -``` - -### Generating a source map - -In depth guide: -[**Compiling to JavaScript, and Debugging with Source Maps**](https://hacks.mozilla.org/2013/05/compiling-to-javascript-and-debugging-with-source-maps/) - -#### With SourceNode (high level API) - -```js -function compile(ast) { - switch (ast.type) { - case 'BinaryExpression': - return new SourceNode( - ast.location.line, - ast.location.column, - ast.location.source, - [compile(ast.left), " + ", compile(ast.right)] - ); - case 'Literal': - return new SourceNode( - ast.location.line, - ast.location.column, - ast.location.source, - String(ast.value) - ); - // ... - default: - throw new Error("Bad AST"); - } -} - -var ast = parse("40 + 2", "add.js"); -console.log(compile(ast).toStringWithSourceMap({ - file: 'add.js' -})); -// { code: '40 + 2', -// map: [object SourceMapGenerator] } -``` - -#### With SourceMapGenerator (low level API) - -```js -var map = new SourceMapGenerator({ - file: "source-mapped.js" -}); - -map.addMapping({ - generated: { - line: 10, - column: 35 - }, - source: "foo.js", - original: { - line: 33, - column: 2 - }, - name: "christopher" -}); - -console.log(map.toString()); -// '{"version":3,"file":"source-mapped.js","sources":["foo.js"],"names":["christopher"],"mappings":";;;;;;;;;mCAgCEA"}' -``` - -## API - -Get a reference to the module: - -```js -// Node.js -var sourceMap = require('source-map'); - -// Browser builds -var sourceMap = window.sourceMap; - -// Inside Firefox -const sourceMap = require("devtools/toolkit/sourcemap/source-map.js"); -``` - -### SourceMapConsumer - -A SourceMapConsumer instance represents a parsed source map which we can query -for information about the original file positions by giving it a file position -in the generated source. - -#### new SourceMapConsumer(rawSourceMap) - -The only parameter is the raw source map (either as a string which can be -`JSON.parse`'d, or an object). According to the spec, source maps have the -following attributes: - -* `version`: Which version of the source map spec this map is following. - -* `sources`: An array of URLs to the original source files. - -* `names`: An array of identifiers which can be referenced by individual - mappings. - -* `sourceRoot`: Optional. The URL root from which all sources are relative. - -* `sourcesContent`: Optional. An array of contents of the original source files. - -* `mappings`: A string of base64 VLQs which contain the actual mappings. - -* `file`: Optional. The generated filename this source map is associated with. - -```js -var consumer = new sourceMap.SourceMapConsumer(rawSourceMapJsonData); -``` - -#### SourceMapConsumer.prototype.computeColumnSpans() - -Compute the last column for each generated mapping. The last column is -inclusive. - -```js -// Before: -consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1 }, -// { line: 2, -// column: 10 }, -// { line: 2, -// column: 20 } ] - -consumer.computeColumnSpans(); - -// After: -consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1, -// lastColumn: 9 }, -// { line: 2, -// column: 10, -// lastColumn: 19 }, -// { line: 2, -// column: 20, -// lastColumn: Infinity } ] - -``` - -#### SourceMapConsumer.prototype.originalPositionFor(generatedPosition) - -Returns the original source, line, and column information for the generated -source's line and column positions provided. The only argument is an object with -the following properties: - -* `line`: The line number in the generated source. - -* `column`: The column number in the generated source. - -* `bias`: Either `SourceMapConsumer.GREATEST_LOWER_BOUND` or - `SourceMapConsumer.LEAST_UPPER_BOUND`. Specifies whether to return the closest - element that is smaller than or greater than the one we are searching for, - respectively, if the exact element cannot be found. Defaults to - `SourceMapConsumer.GREATEST_LOWER_BOUND`. - -and an object is returned with the following properties: - -* `source`: The original source file, or null if this information is not - available. - -* `line`: The line number in the original source, or null if this information is - not available. - -* `column`: The column number in the original source, or null if this - information is not available. - -* `name`: The original identifier, or null if this information is not available. - -```js -consumer.originalPositionFor({ line: 2, column: 10 }) -// { source: 'foo.coffee', -// line: 2, -// column: 2, -// name: null } - -consumer.originalPositionFor({ line: 99999999999999999, column: 999999999999999 }) -// { source: null, -// line: null, -// column: null, -// name: null } -``` - -#### SourceMapConsumer.prototype.generatedPositionFor(originalPosition) - -Returns the generated line and column information for the original source, -line, and column positions provided. The only argument is an object with -the following properties: - -* `source`: The filename of the original source. - -* `line`: The line number in the original source. - -* `column`: The column number in the original source. - -and an object is returned with the following properties: - -* `line`: The line number in the generated source, or null. - -* `column`: The column number in the generated source, or null. - -```js -consumer.generatedPositionFor({ source: "example.js", line: 2, column: 10 }) -// { line: 1, -// column: 56 } -``` - -#### SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition) - -Returns all generated line and column information for the original source, line, -and column provided. If no column is provided, returns all mappings -corresponding to a either the line we are searching for or the next closest line -that has any mappings. Otherwise, returns all mappings corresponding to the -given line and either the column we are searching for or the next closest column -that has any offsets. - -The only argument is an object with the following properties: - -* `source`: The filename of the original source. - -* `line`: The line number in the original source. - -* `column`: Optional. The column number in the original source. - -and an array of objects is returned, each with the following properties: - -* `line`: The line number in the generated source, or null. - -* `column`: The column number in the generated source, or null. - -```js -consumer.allGeneratedpositionsfor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1 }, -// { line: 2, -// column: 10 }, -// { line: 2, -// column: 20 } ] -``` - -#### SourceMapConsumer.prototype.hasContentsOfAllSources() - -Return true if we have the embedded source content for every source listed in -the source map, false otherwise. - -In other words, if this method returns `true`, then -`consumer.sourceContentFor(s)` will succeed for every source `s` in -`consumer.sources`. - -```js -// ... -if (consumer.hasContentsOfAllSources()) { - consumerReadyCallback(consumer); -} else { - fetchSources(consumer, consumerReadyCallback); -} -// ... -``` - -#### SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing]) - -Returns the original source content for the source provided. The only -argument is the URL of the original source file. - -If the source content for the given source is not found, then an error is -thrown. Optionally, pass `true` as the second param to have `null` returned -instead. - -```js -consumer.sources -// [ "my-cool-lib.clj" ] - -consumer.sourceContentFor("my-cool-lib.clj") -// "..." - -consumer.sourceContentFor("this is not in the source map"); -// Error: "this is not in the source map" is not in the source map - -consumer.sourceContentFor("this is not in the source map", true); -// null -``` - -#### SourceMapConsumer.prototype.eachMapping(callback, context, order) - -Iterate over each mapping between an original source/line/column and a -generated line/column in this source map. - -* `callback`: The function that is called with each mapping. Mappings have the - form `{ source, generatedLine, generatedColumn, originalLine, originalColumn, - name }` - -* `context`: Optional. If specified, this object will be the value of `this` - every time that `callback` is called. - -* `order`: Either `SourceMapConsumer.GENERATED_ORDER` or - `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to iterate over - the mappings sorted by the generated file's line/column order or the - original's source/line/column order, respectively. Defaults to - `SourceMapConsumer.GENERATED_ORDER`. - -```js -consumer.eachMapping(function (m) { console.log(m); }) -// ... -// { source: 'illmatic.js', -// generatedLine: 1, -// generatedColumn: 0, -// originalLine: 1, -// originalColumn: 0, -// name: null } -// { source: 'illmatic.js', -// generatedLine: 2, -// generatedColumn: 0, -// originalLine: 2, -// originalColumn: 0, -// name: null } -// ... -``` -### SourceMapGenerator - -An instance of the SourceMapGenerator represents a source map which is being -built incrementally. - -#### new SourceMapGenerator([startOfSourceMap]) - -You may pass an object with the following properties: - -* `file`: The filename of the generated source that this source map is - associated with. - -* `sourceRoot`: A root for all relative URLs in this source map. - -* `skipValidation`: Optional. When `true`, disables validation of mappings as - they are added. This can improve performance but should be used with - discretion, as a last resort. Even then, one should avoid using this flag when - running tests, if possible. - -```js -var generator = new sourceMap.SourceMapGenerator({ - file: "my-generated-javascript-file.js", - sourceRoot: "http://example.com/app/js/" -}); -``` - -#### SourceMapGenerator.fromSourceMap(sourceMapConsumer) - -Creates a new `SourceMapGenerator` from an existing `SourceMapConsumer` instance. - -* `sourceMapConsumer` The SourceMap. - -```js -var generator = sourceMap.SourceMapGenerator.fromSourceMap(consumer); -``` - -#### SourceMapGenerator.prototype.addMapping(mapping) - -Add a single mapping from original source line and column to the generated -source's line and column for this source map being created. The mapping object -should have the following properties: - -* `generated`: An object with the generated line and column positions. - -* `original`: An object with the original line and column positions. - -* `source`: The original source file (relative to the sourceRoot). - -* `name`: An optional original token name for this mapping. - -```js -generator.addMapping({ - source: "module-one.scm", - original: { line: 128, column: 0 }, - generated: { line: 3, column: 456 } -}) -``` - -#### SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent) - -Set the source content for an original source file. - -* `sourceFile` the URL of the original source file. - -* `sourceContent` the content of the source file. - -```js -generator.setSourceContent("module-one.scm", - fs.readFileSync("path/to/module-one.scm")) -``` - -#### SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]]) - -Applies a SourceMap for a source file to the SourceMap. -Each mapping to the supplied source file is rewritten using the -supplied SourceMap. Note: The resolution for the resulting mappings -is the minimum of this map and the supplied map. - -* `sourceMapConsumer`: The SourceMap to be applied. - -* `sourceFile`: Optional. The filename of the source file. - If omitted, sourceMapConsumer.file will be used, if it exists. - Otherwise an error will be thrown. - -* `sourceMapPath`: Optional. The dirname of the path to the SourceMap - to be applied. If relative, it is relative to the SourceMap. - - This parameter is needed when the two SourceMaps aren't in the same - directory, and the SourceMap to be applied contains relative source - paths. If so, those relative source paths need to be rewritten - relative to the SourceMap. - - If omitted, it is assumed that both SourceMaps are in the same directory, - thus not needing any rewriting. (Supplying `'.'` has the same effect.) - -#### SourceMapGenerator.prototype.toString() - -Renders the source map being generated to a string. - -```js -generator.toString() -// '{"version":3,"sources":["module-one.scm"],"names":[],"mappings":"...snip...","file":"my-generated-javascript-file.js","sourceRoot":"http://example.com/app/js/"}' -``` - -### SourceNode - -SourceNodes provide a way to abstract over interpolating and/or concatenating -snippets of generated JavaScript source code, while maintaining the line and -column information associated between those snippets and the original source -code. This is useful as the final intermediate representation a compiler might -use before outputting the generated JS and source map. - -#### new SourceNode([line, column, source[, chunk[, name]]]) - -* `line`: The original line number associated with this source node, or null if - it isn't associated with an original line. - -* `column`: The original column number associated with this source node, or null - if it isn't associated with an original column. - -* `source`: The original source's filename; null if no filename is provided. - -* `chunk`: Optional. Is immediately passed to `SourceNode.prototype.add`, see - below. - -* `name`: Optional. The original identifier. - -```js -var node = new SourceNode(1, 2, "a.cpp", [ - new SourceNode(3, 4, "b.cpp", "extern int status;\n"), - new SourceNode(5, 6, "c.cpp", "std::string* make_string(size_t n);\n"), - new SourceNode(7, 8, "d.cpp", "int main(int argc, char** argv) {}\n"), -]); -``` - -#### SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath]) - -Creates a SourceNode from generated code and a SourceMapConsumer. - -* `code`: The generated code - -* `sourceMapConsumer` The SourceMap for the generated code - -* `relativePath` The optional path that relative sources in `sourceMapConsumer` - should be relative to. - -```js -var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8")); -var node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"), - consumer); -``` - -#### SourceNode.prototype.add(chunk) - -Add a chunk of generated JS to this source node. - -* `chunk`: A string snippet of generated JS code, another instance of - `SourceNode`, or an array where each member is one of those things. - -```js -node.add(" + "); -node.add(otherNode); -node.add([leftHandOperandNode, " + ", rightHandOperandNode]); -``` - -#### SourceNode.prototype.prepend(chunk) - -Prepend a chunk of generated JS to this source node. - -* `chunk`: A string snippet of generated JS code, another instance of - `SourceNode`, or an array where each member is one of those things. - -```js -node.prepend("/** Build Id: f783haef86324gf **/\n\n"); -``` - -#### SourceNode.prototype.setSourceContent(sourceFile, sourceContent) - -Set the source content for a source file. This will be added to the -`SourceMap` in the `sourcesContent` field. - -* `sourceFile`: The filename of the source file - -* `sourceContent`: The content of the source file - -```js -node.setSourceContent("module-one.scm", - fs.readFileSync("path/to/module-one.scm")) -``` - -#### SourceNode.prototype.walk(fn) - -Walk over the tree of JS snippets in this node and its children. The walking -function is called once for each snippet of JS and is passed that snippet and -the its original associated source's line/column location. - -* `fn`: The traversal function. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.walk(function (code, loc) { console.log("WALK:", code, loc); }) -// WALK: uno { source: 'b.js', line: 3, column: 4, name: null } -// WALK: dos { source: 'a.js', line: 1, column: 2, name: null } -// WALK: tres { source: 'a.js', line: 1, column: 2, name: null } -// WALK: quatro { source: 'c.js', line: 5, column: 6, name: null } -``` - -#### SourceNode.prototype.walkSourceContents(fn) - -Walk over the tree of SourceNodes. The walking function is called for each -source file content and is passed the filename and source content. - -* `fn`: The traversal function. - -```js -var a = new SourceNode(1, 2, "a.js", "generated from a"); -a.setSourceContent("a.js", "original a"); -var b = new SourceNode(1, 2, "b.js", "generated from b"); -b.setSourceContent("b.js", "original b"); -var c = new SourceNode(1, 2, "c.js", "generated from c"); -c.setSourceContent("c.js", "original c"); - -var node = new SourceNode(null, null, null, [a, b, c]); -node.walkSourceContents(function (source, contents) { console.log("WALK:", source, ":", contents); }) -// WALK: a.js : original a -// WALK: b.js : original b -// WALK: c.js : original c -``` - -#### SourceNode.prototype.join(sep) - -Like `Array.prototype.join` except for SourceNodes. Inserts the separator -between each of this source node's children. - -* `sep`: The separator. - -```js -var lhs = new SourceNode(1, 2, "a.rs", "my_copy"); -var operand = new SourceNode(3, 4, "a.rs", "="); -var rhs = new SourceNode(5, 6, "a.rs", "orig.clone()"); - -var node = new SourceNode(null, null, null, [ lhs, operand, rhs ]); -var joinedNode = node.join(" "); -``` - -#### SourceNode.prototype.replaceRight(pattern, replacement) - -Call `String.prototype.replace` on the very right-most source snippet. Useful -for trimming white space from the end of a source node, etc. - -* `pattern`: The pattern to replace. - -* `replacement`: The thing to replace the pattern with. - -```js -// Trim trailing white space. -node.replaceRight(/\s*$/, ""); -``` - -#### SourceNode.prototype.toString() - -Return the string representation of this source node. Walks over the tree and -concatenates all the various snippets together to one string. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.toString() -// 'unodostresquatro' -``` - -#### SourceNode.prototype.toStringWithSourceMap([startOfSourceMap]) - -Returns the string representation of this tree of source nodes, plus a -SourceMapGenerator which contains all the mappings between the generated and -original sources. - -The arguments are the same as those to `new SourceMapGenerator`. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.toStringWithSourceMap({ file: "my-output-file.js" }) -// { code: 'unodostresquatro', -// map: [object SourceMapGenerator] } -``` diff --git a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js b/node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js deleted file mode 100644 index b5ab6382..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js +++ /dev/null @@ -1,3091 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["sourceMap"] = factory(); - else - root["sourceMap"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ - exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer; - exports.SourceNode = __webpack_require__(10).SourceNode; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var base64VLQ = __webpack_require__(2); - var util = __webpack_require__(4); - var ArraySet = __webpack_require__(5).ArraySet; - var MappingList = __webpack_require__(6).MappingList; - - /** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ - function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; - } - - SourceMapGenerator.prototype._version = 3; - - /** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ - SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - - /** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ - SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - - /** - * Set the source content for a source file. - */ - SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - - /** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ - SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - - /** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ - SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - - /** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ - SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - - SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - - /** - * Externalize the source map. - */ - SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - - /** - * Render the source map being generated to a string. - */ - SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - - exports.SourceMapGenerator = SourceMapGenerator; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - var base64 = __webpack_require__(3); - - // A single base 64 digit can contain 6 bits of data. For the base 64 variable - // length quantities we use in the source map spec, the first bit is the sign, - // the next four bits are the actual value, and the 6th bit is the - // continuation bit. The continuation bit tells us whether there are more - // digits in this value following this digit. - // - // Continuation - // | Sign - // | | - // V V - // 101011 - - var VLQ_BASE_SHIFT = 5; - - // binary: 100000 - var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - - // binary: 011111 - var VLQ_BASE_MASK = VLQ_BASE - 1; - - // binary: 100000 - var VLQ_CONTINUATION_BIT = VLQ_BASE; - - /** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ - function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; - } - - /** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ - function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; - } - - /** - * Returns the base 64 VLQ encoded value. - */ - exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; - }; - - /** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ - exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; - }; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - - /** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ - exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); - }; - - /** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ - exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; - }; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - /** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ - function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } - } - exports.getArg = getArg; - - var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; - var dataUrlRegexp = /^data:.+\,.+$/; - - function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; - } - exports.urlParse = urlParse; - - function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; - } - exports.urlGenerate = urlGenerate; - - /** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ - function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; - } - exports.normalize = normalize; - - /** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ - function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; - } - exports.join = join; - - exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); - }; - - /** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ - function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); - } - exports.relative = relative; - - var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); - }()); - - function identity (s) { - return s; - } - - /** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ - function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; - } - exports.toSetString = supportsNullProto ? identity : toSetString; - - function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; - } - exports.fromSetString = supportsNullProto ? identity : fromSetString; - - function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; - } - - /** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ - function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByOriginalPositions = compareByOriginalPositions; - - /** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ - function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - - function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; - } - - /** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ - function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); - } - exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; - - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var has = Object.prototype.hasOwnProperty; - var hasNativeMap = typeof Map !== "undefined"; - - /** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ - function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); - } - - /** - * Static method for creating ArraySet instances from an existing array. - */ - ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; - }; - - /** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ - ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; - }; - - /** - * Add the given string to this set. - * - * @param String aStr - */ - ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } - }; - - /** - * Is the given string a member of this set? - * - * @param String aStr - */ - ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } - }; - - /** - * What is the index of the given string in the array? - * - * @param String aStr - */ - ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); - }; - - /** - * What is the element at the given index? - * - * @param Number aIdx - */ - ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); - }; - - /** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ - ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); - }; - - exports.ArraySet = ArraySet; - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - - /** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ - function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; - } - - /** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ - function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; - } - - /** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ - MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - - /** - * Add the given source mapping. - * - * @param Object aMapping - */ - MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } - }; - - /** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ - MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; - }; - - exports.MappingList = MappingList; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var binarySearch = __webpack_require__(8); - var ArraySet = __webpack_require__(5).ArraySet; - var base64VLQ = __webpack_require__(2); - var quickSort = __webpack_require__(9).quickSort; - - function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); - } - - SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); - } - - /** - * The version of the source mapping spec that we are consuming. - */ - SourceMapConsumer.prototype._version = 3; - - // `__generatedMappings` and `__originalMappings` are arrays that hold the - // parsed mapping coordinates from the source map's "mappings" attribute. They - // are lazily instantiated, accessed via the `_generatedMappings` and - // `_originalMappings` getters respectively, and we only parse the mappings - // and create these arrays once queried for a source location. We jump through - // these hoops because there can be many thousands of mappings, and parsing - // them is expensive, so we only want to do it if we must. - // - // Each object in the arrays is of the form: - // - // { - // generatedLine: The line number in the generated code, - // generatedColumn: The column number in the generated code, - // source: The path to the original source file that generated this - // chunk of code, - // originalLine: The line number in the original source that - // corresponds to this chunk of generated code, - // originalColumn: The column number in the original source that - // corresponds to this chunk of generated code, - // name: The name of the original symbol which generated this chunk of - // code. - // } - // - // All properties except for `generatedLine` and `generatedColumn` can be - // `null`. - // - // `_generatedMappings` is ordered by the generated positions. - // - // `_originalMappings` is ordered by the original positions. - - SourceMapConsumer.prototype.__generatedMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } - }); - - SourceMapConsumer.prototype.__originalMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } - }); - - SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - - SourceMapConsumer.GENERATED_ORDER = 1; - SourceMapConsumer.ORIGINAL_ORDER = 2; - - SourceMapConsumer.GREATEST_LOWER_BOUND = 1; - SourceMapConsumer.LEAST_UPPER_BOUND = 2; - - /** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ - SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - - /** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - - exports.SourceMapConsumer = SourceMapConsumer; - - /** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ - function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; - } - - BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - - /** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ - BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - - /** - * The version of the source mapping spec that we are consuming. - */ - BasicSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } - }); - - /** - * Provide the JIT with a nice shape / hidden class. - */ - function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; - } - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - - /** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ - BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - - /** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ - BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - - exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - - /** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ - function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); - } - - IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - - /** - * The version of the source mapping spec that we are consuming. - */ - IndexedSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } - }); - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - - exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; - - -/***/ }), -/* 8 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - exports.GREATEST_LOWER_BOUND = 1; - exports.LEAST_UPPER_BOUND = 2; - - /** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ - function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } - } - - /** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ - exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; - }; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - // It turns out that some (most?) JavaScript engines don't self-host - // `Array.prototype.sort`. This makes sense because C++ will likely remain - // faster than JS when doing raw CPU-intensive sorting. However, when using a - // custom comparator function, calling back and forth between the VM's C++ and - // JIT'd JS is rather slow *and* loses JIT type information, resulting in - // worse generated code for the comparator function than would be optimal. In - // fact, when sorting with a comparator, these costs outweigh the benefits of - // sorting in C++. By using our own JS-implemented Quick Sort (below), we get - // a ~3500ms mean speed-up in `bench/bench.html`. - - /** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ - function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; - } - - /** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ - function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); - } - - /** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ - function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } - } - - /** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ - exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); - }; - - -/***/ }), -/* 10 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - var util = __webpack_require__(4); - - // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other - // operating systems these days (capturing the result). - var REGEX_NEWLINE = /(\r?\n)/; - - // Newline character code for charCodeAt() comparisons - var NEWLINE_CODE = 10; - - // Private symbol for identifying `SourceNode`s when multiple versions of - // the source-map library are loaded. This MUST NOT CHANGE across - // versions! - var isSourceNode = "$$$isSourceNode$$$"; - - /** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ - function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); - } - - /** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ - SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - - /** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } - }; - - /** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ - SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; - }; - - /** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ - SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; - }; - - /** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ - SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - - /** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - - /** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ - SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; - }; - - /** - * Returns the string representation of this source node along with a source - * map. - */ - SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; - }; - - exports.SourceNode = SourceNode; - - -/***/ }) -/******/ ]) -}); -; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay91bml2ZXJzYWxNb2R1bGVEZWZpbml0aW9uIiwid2VicGFjazovLy93ZWJwYWNrL2Jvb3RzdHJhcCBlNDczOGZjNzJhN2IyMzAzOTg4OSIsIndlYnBhY2s6Ly8vLi9zb3VyY2UtbWFwLmpzIiwid2VicGFjazovLy8uL2xpYi9zb3VyY2UtbWFwLWdlbmVyYXRvci5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LXZscS5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LmpzIiwid2VicGFjazovLy8uL2xpYi91dGlsLmpzIiwid2VicGFjazovLy8uL2xpYi9hcnJheS1zZXQuanMiLCJ3ZWJwYWNrOi8vLy4vbGliL21hcHBpbmctbGlzdC5qcyIsIndlYnBhY2s6Ly8vLi9saWIvc291cmNlLW1hcC1jb25zdW1lci5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmluYXJ5LXNlYXJjaC5qcyIsIndlYnBhY2s6Ly8vLi9saWIvcXVpY2stc29ydC5qcyIsIndlYnBhY2s6Ly8vLi9saWIvc291cmNlLW5vZGUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsQ0FBQztBQUNELE87QUNWQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSx1QkFBZTtBQUNmO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOzs7QUFHQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBOzs7Ozs7O0FDdENBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Ozs7Ozs7QUNQQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSxNQUFLO0FBQ0w7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxVQUFTO0FBQ1Q7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUEsTUFBSztBQUNMO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxRQUFPO0FBQ1A7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0EsMkNBQTBDLFNBQVM7QUFDbkQ7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxxQkFBb0I7QUFDcEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxNQUFLO0FBQ0w7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOzs7Ozs7O0FDL1pBLGlCQUFnQixvQkFBb0I7QUFDcEM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLDREQUEyRDtBQUMzRCxxQkFBb0I7QUFDcEI7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFHOztBQUVIO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRzs7QUFFSDtBQUNBO0FBQ0E7Ozs7Ozs7QUMzSUEsaUJBQWdCLG9CQUFvQjtBQUNwQztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsaUJBQWdCO0FBQ2hCLGlCQUFnQjs7QUFFaEIsb0JBQW1CO0FBQ25CLHFCQUFvQjs7QUFFcEIsaUJBQWdCO0FBQ2hCLGlCQUFnQjs7QUFFaEIsaUJBQWdCO0FBQ2hCLGtCQUFpQjs7QUFFakI7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7Ozs7Ozs7QUNsRUEsaUJBQWdCLG9CQUFvQjtBQUNwQztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRztBQUNIO0FBQ0EsSUFBRztBQUNIO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0EsK0NBQThDLFFBQVE7QUFDdEQ7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxFQUFDOztBQUVEO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBLDRCQUEyQixRQUFRO0FBQ25DO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7Ozs7Ozs7QUNoYUEsaUJBQWdCLG9CQUFvQjtBQUNwQztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsdUNBQXNDLFNBQVM7QUFDL0M7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRztBQUNIO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFHO0FBQ0g7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7Ozs7OztBQ3hIQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsaUJBQWdCO0FBQ2hCOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLElBQUc7QUFDSDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7Ozs7OztBQzlFQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSx1REFBc0Q7QUFDdEQ7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSxFQUFDOztBQUVEO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsRUFBQzs7QUFFRDtBQUNBO0FBQ0E7QUFDQSxvQkFBbUI7QUFDbkI7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFlBQVc7O0FBRVg7QUFDQTtBQUNBLFFBQU87QUFDUDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsWUFBVzs7QUFFWDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsNEJBQTJCLE1BQU07QUFDakM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSx1REFBc0Q7QUFDdEQ7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7O0FBRUw7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBLHVEQUFzRCxZQUFZO0FBQ2xFO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDtBQUNBLEVBQUM7O0FBRUQ7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0Esb0NBQW1DO0FBQ25DO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSwwQkFBeUIsY0FBYztBQUN2QztBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0Esd0JBQXVCLHdDQUF3QztBQUMvRDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsZ0RBQStDLG1CQUFtQixFQUFFO0FBQ3BFOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLGtCQUFpQixvQkFBb0I7QUFDckM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLDhCQUE2QixNQUFNO0FBQ25DO0FBQ0EsUUFBTztBQUNQO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsdURBQXNEO0FBQ3REOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxRQUFPO0FBQ1A7QUFDQTtBQUNBLElBQUc7QUFDSDs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLG9CQUFtQiwyQkFBMkI7QUFDOUMsc0JBQXFCLCtDQUErQztBQUNwRTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsRUFBQzs7QUFFRDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsUUFBTztBQUNQOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE1BQUs7QUFDTDs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0Esb0JBQW1CLDJCQUEyQjtBQUM5Qzs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxvQkFBbUIsMkJBQTJCO0FBQzlDOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLG9CQUFtQiwyQkFBMkI7QUFDOUM7QUFDQTtBQUNBLHNCQUFxQiw0QkFBNEI7QUFDakQ7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBOzs7Ozs7O0FDempDQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxNQUFLO0FBQ0w7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7Ozs7OztBQzlHQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFlBQVcsTUFBTTtBQUNqQjtBQUNBLFlBQVcsT0FBTztBQUNsQjtBQUNBLFlBQVcsT0FBTztBQUNsQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxZQUFXLE1BQU07QUFDakI7QUFDQSxZQUFXLFNBQVM7QUFDcEI7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQSxZQUFXLE9BQU87QUFDbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLG9CQUFtQixPQUFPO0FBQzFCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxZQUFXLE1BQU07QUFDakI7QUFDQSxZQUFXLFNBQVM7QUFDcEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7Ozs7OztBQ2pIQSxpQkFBZ0Isb0JBQW9CO0FBQ3BDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxNQUFLOztBQUVMOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsTUFBSztBQUNMO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxrQ0FBaUMsUUFBUTtBQUN6QztBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSw4Q0FBNkMsU0FBUztBQUN0RDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxxQkFBb0I7QUFDcEI7QUFDQTtBQUNBLHVDQUFzQztBQUN0QztBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxnQkFBZSxXQUFXO0FBQzFCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxnREFBK0MsU0FBUztBQUN4RDtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBLDBDQUF5QyxTQUFTO0FBQ2xEO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBRztBQUNIO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsWUFBVztBQUNYO0FBQ0E7QUFDQTtBQUNBLFlBQVc7QUFDWDtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxNQUFLO0FBQ0w7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQSw2Q0FBNEMsY0FBYztBQUMxRDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFVBQVM7QUFDVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsY0FBYTtBQUNiO0FBQ0E7QUFDQTtBQUNBLGNBQWE7QUFDYjtBQUNBLFlBQVc7QUFDWDtBQUNBLFFBQU87QUFDUDtBQUNBO0FBQ0E7QUFDQSxJQUFHO0FBQ0g7QUFDQTtBQUNBLElBQUc7O0FBRUgsV0FBVTtBQUNWOztBQUVBIiwiZmlsZSI6InNvdXJjZS1tYXAuZGVidWcuanMiLCJzb3VyY2VzQ29udGVudCI6WyIoZnVuY3Rpb24gd2VicGFja1VuaXZlcnNhbE1vZHVsZURlZmluaXRpb24ocm9vdCwgZmFjdG9yeSkge1xuXHRpZih0eXBlb2YgZXhwb3J0cyA9PT0gJ29iamVjdCcgJiYgdHlwZW9mIG1vZHVsZSA9PT0gJ29iamVjdCcpXG5cdFx0bW9kdWxlLmV4cG9ydHMgPSBmYWN0b3J5KCk7XG5cdGVsc2UgaWYodHlwZW9mIGRlZmluZSA9PT0gJ2Z1bmN0aW9uJyAmJiBkZWZpbmUuYW1kKVxuXHRcdGRlZmluZShbXSwgZmFjdG9yeSk7XG5cdGVsc2UgaWYodHlwZW9mIGV4cG9ydHMgPT09ICdvYmplY3QnKVxuXHRcdGV4cG9ydHNbXCJzb3VyY2VNYXBcIl0gPSBmYWN0b3J5KCk7XG5cdGVsc2Vcblx0XHRyb290W1wic291cmNlTWFwXCJdID0gZmFjdG9yeSgpO1xufSkodGhpcywgZnVuY3Rpb24oKSB7XG5yZXR1cm4gXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIHdlYnBhY2svdW5pdmVyc2FsTW9kdWxlRGVmaW5pdGlvbiIsIiBcdC8vIFRoZSBtb2R1bGUgY2FjaGVcbiBcdHZhciBpbnN0YWxsZWRNb2R1bGVzID0ge307XG5cbiBcdC8vIFRoZSByZXF1aXJlIGZ1bmN0aW9uXG4gXHRmdW5jdGlvbiBfX3dlYnBhY2tfcmVxdWlyZV9fKG1vZHVsZUlkKSB7XG5cbiBcdFx0Ly8gQ2hlY2sgaWYgbW9kdWxlIGlzIGluIGNhY2hlXG4gXHRcdGlmKGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdKVxuIFx0XHRcdHJldHVybiBpbnN0YWxsZWRNb2R1bGVzW21vZHVsZUlkXS5leHBvcnRzO1xuXG4gXHRcdC8vIENyZWF0ZSBhIG5ldyBtb2R1bGUgKGFuZCBwdXQgaXQgaW50byB0aGUgY2FjaGUpXG4gXHRcdHZhciBtb2R1bGUgPSBpbnN0YWxsZWRNb2R1bGVzW21vZHVsZUlkXSA9IHtcbiBcdFx0XHRleHBvcnRzOiB7fSxcbiBcdFx0XHRpZDogbW9kdWxlSWQsXG4gXHRcdFx0bG9hZGVkOiBmYWxzZVxuIFx0XHR9O1xuXG4gXHRcdC8vIEV4ZWN1dGUgdGhlIG1vZHVsZSBmdW5jdGlvblxuIFx0XHRtb2R1bGVzW21vZHVsZUlkXS5jYWxsKG1vZHVsZS5leHBvcnRzLCBtb2R1bGUsIG1vZHVsZS5leHBvcnRzLCBfX3dlYnBhY2tfcmVxdWlyZV9fKTtcblxuIFx0XHQvLyBGbGFnIHRoZSBtb2R1bGUgYXMgbG9hZGVkXG4gXHRcdG1vZHVsZS5sb2FkZWQgPSB0cnVlO1xuXG4gXHRcdC8vIFJldHVybiB0aGUgZXhwb3J0cyBvZiB0aGUgbW9kdWxlXG4gXHRcdHJldHVybiBtb2R1bGUuZXhwb3J0cztcbiBcdH1cblxuXG4gXHQvLyBleHBvc2UgdGhlIG1vZHVsZXMgb2JqZWN0IChfX3dlYnBhY2tfbW9kdWxlc19fKVxuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5tID0gbW9kdWxlcztcblxuIFx0Ly8gZXhwb3NlIHRoZSBtb2R1bGUgY2FjaGVcbiBcdF9fd2VicGFja19yZXF1aXJlX18uYyA9IGluc3RhbGxlZE1vZHVsZXM7XG5cbiBcdC8vIF9fd2VicGFja19wdWJsaWNfcGF0aF9fXG4gXHRfX3dlYnBhY2tfcmVxdWlyZV9fLnAgPSBcIlwiO1xuXG4gXHQvLyBMb2FkIGVudHJ5IG1vZHVsZSBhbmQgcmV0dXJuIGV4cG9ydHNcbiBcdHJldHVybiBfX3dlYnBhY2tfcmVxdWlyZV9fKDApO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIHdlYnBhY2svYm9vdHN0cmFwIGU0NzM4ZmM3MmE3YjIzMDM5ODg5IiwiLypcbiAqIENvcHlyaWdodCAyMDA5LTIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFLnR4dCBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuZXhwb3J0cy5Tb3VyY2VNYXBHZW5lcmF0b3IgPSByZXF1aXJlKCcuL2xpYi9zb3VyY2UtbWFwLWdlbmVyYXRvcicpLlNvdXJjZU1hcEdlbmVyYXRvcjtcbmV4cG9ydHMuU291cmNlTWFwQ29uc3VtZXIgPSByZXF1aXJlKCcuL2xpYi9zb3VyY2UtbWFwLWNvbnN1bWVyJykuU291cmNlTWFwQ29uc3VtZXI7XG5leHBvcnRzLlNvdXJjZU5vZGUgPSByZXF1aXJlKCcuL2xpYi9zb3VyY2Utbm9kZScpLlNvdXJjZU5vZGU7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NvdXJjZS1tYXAuanNcbi8vIG1vZHVsZSBpZCA9IDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLyogLSotIE1vZGU6IGpzOyBqcy1pbmRlbnQtbGV2ZWw6IDI7IC0qLSAqL1xuLypcbiAqIENvcHlyaWdodCAyMDExIE1vemlsbGEgRm91bmRhdGlvbiBhbmQgY29udHJpYnV0b3JzXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgTmV3IEJTRCBsaWNlbnNlLiBTZWUgTElDRU5TRSBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuXG52YXIgYmFzZTY0VkxRID0gcmVxdWlyZSgnLi9iYXNlNjQtdmxxJyk7XG52YXIgdXRpbCA9IHJlcXVpcmUoJy4vdXRpbCcpO1xudmFyIEFycmF5U2V0ID0gcmVxdWlyZSgnLi9hcnJheS1zZXQnKS5BcnJheVNldDtcbnZhciBNYXBwaW5nTGlzdCA9IHJlcXVpcmUoJy4vbWFwcGluZy1saXN0JykuTWFwcGluZ0xpc3Q7XG5cbi8qKlxuICogQW4gaW5zdGFuY2Ugb2YgdGhlIFNvdXJjZU1hcEdlbmVyYXRvciByZXByZXNlbnRzIGEgc291cmNlIG1hcCB3aGljaCBpc1xuICogYmVpbmcgYnVpbHQgaW5jcmVtZW50YWxseS4gWW91IG1heSBwYXNzIGFuIG9iamVjdCB3aXRoIHRoZSBmb2xsb3dpbmdcbiAqIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGZpbGU6IFRoZSBmaWxlbmFtZSBvZiB0aGUgZ2VuZXJhdGVkIHNvdXJjZS5cbiAqICAgLSBzb3VyY2VSb290OiBBIHJvb3QgZm9yIGFsbCByZWxhdGl2ZSBVUkxzIGluIHRoaXMgc291cmNlIG1hcC5cbiAqL1xuZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yKGFBcmdzKSB7XG4gIGlmICghYUFyZ3MpIHtcbiAgICBhQXJncyA9IHt9O1xuICB9XG4gIHRoaXMuX2ZpbGUgPSB1dGlsLmdldEFyZyhhQXJncywgJ2ZpbGUnLCBudWxsKTtcbiAgdGhpcy5fc291cmNlUm9vdCA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlUm9vdCcsIG51bGwpO1xuICB0aGlzLl9za2lwVmFsaWRhdGlvbiA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc2tpcFZhbGlkYXRpb24nLCBmYWxzZSk7XG4gIHRoaXMuX3NvdXJjZXMgPSBuZXcgQXJyYXlTZXQoKTtcbiAgdGhpcy5fbmFtZXMgPSBuZXcgQXJyYXlTZXQoKTtcbiAgdGhpcy5fbWFwcGluZ3MgPSBuZXcgTWFwcGluZ0xpc3QoKTtcbiAgdGhpcy5fc291cmNlc0NvbnRlbnRzID0gbnVsbDtcbn1cblxuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5fdmVyc2lvbiA9IDM7XG5cbi8qKlxuICogQ3JlYXRlcyBhIG5ldyBTb3VyY2VNYXBHZW5lcmF0b3IgYmFzZWQgb24gYSBTb3VyY2VNYXBDb25zdW1lclxuICpcbiAqIEBwYXJhbSBhU291cmNlTWFwQ29uc3VtZXIgVGhlIFNvdXJjZU1hcC5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLmZyb21Tb3VyY2VNYXAgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBHZW5lcmF0b3JfZnJvbVNvdXJjZU1hcChhU291cmNlTWFwQ29uc3VtZXIpIHtcbiAgICB2YXIgc291cmNlUm9vdCA9IGFTb3VyY2VNYXBDb25zdW1lci5zb3VyY2VSb290O1xuICAgIHZhciBnZW5lcmF0b3IgPSBuZXcgU291cmNlTWFwR2VuZXJhdG9yKHtcbiAgICAgIGZpbGU6IGFTb3VyY2VNYXBDb25zdW1lci5maWxlLFxuICAgICAgc291cmNlUm9vdDogc291cmNlUm9vdFxuICAgIH0pO1xuICAgIGFTb3VyY2VNYXBDb25zdW1lci5lYWNoTWFwcGluZyhmdW5jdGlvbiAobWFwcGluZykge1xuICAgICAgdmFyIG5ld01hcHBpbmcgPSB7XG4gICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgIGxpbmU6IG1hcHBpbmcuZ2VuZXJhdGVkTGluZSxcbiAgICAgICAgICBjb2x1bW46IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uXG4gICAgICAgIH1cbiAgICAgIH07XG5cbiAgICAgIGlmIChtYXBwaW5nLnNvdXJjZSAhPSBudWxsKSB7XG4gICAgICAgIG5ld01hcHBpbmcuc291cmNlID0gbWFwcGluZy5zb3VyY2U7XG4gICAgICAgIGlmIChzb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgICAgICBuZXdNYXBwaW5nLnNvdXJjZSA9IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgbmV3TWFwcGluZy5zb3VyY2UpO1xuICAgICAgICB9XG5cbiAgICAgICAgbmV3TWFwcGluZy5vcmlnaW5hbCA9IHtcbiAgICAgICAgICBsaW5lOiBtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICBjb2x1bW46IG1hcHBpbmcub3JpZ2luYWxDb2x1bW5cbiAgICAgICAgfTtcblxuICAgICAgICBpZiAobWFwcGluZy5uYW1lICE9IG51bGwpIHtcbiAgICAgICAgICBuZXdNYXBwaW5nLm5hbWUgPSBtYXBwaW5nLm5hbWU7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgZ2VuZXJhdG9yLmFkZE1hcHBpbmcobmV3TWFwcGluZyk7XG4gICAgfSk7XG4gICAgYVNvdXJjZU1hcENvbnN1bWVyLnNvdXJjZXMuZm9yRWFjaChmdW5jdGlvbiAoc291cmNlRmlsZSkge1xuICAgICAgdmFyIGNvbnRlbnQgPSBhU291cmNlTWFwQ29uc3VtZXIuc291cmNlQ29udGVudEZvcihzb3VyY2VGaWxlKTtcbiAgICAgIGlmIChjb250ZW50ICE9IG51bGwpIHtcbiAgICAgICAgZ2VuZXJhdG9yLnNldFNvdXJjZUNvbnRlbnQoc291cmNlRmlsZSwgY29udGVudCk7XG4gICAgICB9XG4gICAgfSk7XG4gICAgcmV0dXJuIGdlbmVyYXRvcjtcbiAgfTtcblxuLyoqXG4gKiBBZGQgYSBzaW5nbGUgbWFwcGluZyBmcm9tIG9yaWdpbmFsIHNvdXJjZSBsaW5lIGFuZCBjb2x1bW4gdG8gdGhlIGdlbmVyYXRlZFxuICogc291cmNlJ3MgbGluZSBhbmQgY29sdW1uIGZvciB0aGlzIHNvdXJjZSBtYXAgYmVpbmcgY3JlYXRlZC4gVGhlIG1hcHBpbmdcbiAqIG9iamVjdCBzaG91bGQgaGF2ZSB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGdlbmVyYXRlZDogQW4gb2JqZWN0IHdpdGggdGhlIGdlbmVyYXRlZCBsaW5lIGFuZCBjb2x1bW4gcG9zaXRpb25zLlxuICogICAtIG9yaWdpbmFsOiBBbiBvYmplY3Qgd2l0aCB0aGUgb3JpZ2luYWwgbGluZSBhbmQgY29sdW1uIHBvc2l0aW9ucy5cbiAqICAgLSBzb3VyY2U6IFRoZSBvcmlnaW5hbCBzb3VyY2UgZmlsZSAocmVsYXRpdmUgdG8gdGhlIHNvdXJjZVJvb3QpLlxuICogICAtIG5hbWU6IEFuIG9wdGlvbmFsIG9yaWdpbmFsIHRva2VuIG5hbWUgZm9yIHRoaXMgbWFwcGluZy5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5hZGRNYXBwaW5nID1cbiAgZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yX2FkZE1hcHBpbmcoYUFyZ3MpIHtcbiAgICB2YXIgZ2VuZXJhdGVkID0gdXRpbC5nZXRBcmcoYUFyZ3MsICdnZW5lcmF0ZWQnKTtcbiAgICB2YXIgb3JpZ2luYWwgPSB1dGlsLmdldEFyZyhhQXJncywgJ29yaWdpbmFsJywgbnVsbCk7XG4gICAgdmFyIHNvdXJjZSA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJywgbnVsbCk7XG4gICAgdmFyIG5hbWUgPSB1dGlsLmdldEFyZyhhQXJncywgJ25hbWUnLCBudWxsKTtcblxuICAgIGlmICghdGhpcy5fc2tpcFZhbGlkYXRpb24pIHtcbiAgICAgIHRoaXMuX3ZhbGlkYXRlTWFwcGluZyhnZW5lcmF0ZWQsIG9yaWdpbmFsLCBzb3VyY2UsIG5hbWUpO1xuICAgIH1cblxuICAgIGlmIChzb3VyY2UgIT0gbnVsbCkge1xuICAgICAgc291cmNlID0gU3RyaW5nKHNvdXJjZSk7XG4gICAgICBpZiAoIXRoaXMuX3NvdXJjZXMuaGFzKHNvdXJjZSkpIHtcbiAgICAgICAgdGhpcy5fc291cmNlcy5hZGQoc291cmNlKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAobmFtZSAhPSBudWxsKSB7XG4gICAgICBuYW1lID0gU3RyaW5nKG5hbWUpO1xuICAgICAgaWYgKCF0aGlzLl9uYW1lcy5oYXMobmFtZSkpIHtcbiAgICAgICAgdGhpcy5fbmFtZXMuYWRkKG5hbWUpO1xuICAgICAgfVxuICAgIH1cblxuICAgIHRoaXMuX21hcHBpbmdzLmFkZCh7XG4gICAgICBnZW5lcmF0ZWRMaW5lOiBnZW5lcmF0ZWQubGluZSxcbiAgICAgIGdlbmVyYXRlZENvbHVtbjogZ2VuZXJhdGVkLmNvbHVtbixcbiAgICAgIG9yaWdpbmFsTGluZTogb3JpZ2luYWwgIT0gbnVsbCAmJiBvcmlnaW5hbC5saW5lLFxuICAgICAgb3JpZ2luYWxDb2x1bW46IG9yaWdpbmFsICE9IG51bGwgJiYgb3JpZ2luYWwuY29sdW1uLFxuICAgICAgc291cmNlOiBzb3VyY2UsXG4gICAgICBuYW1lOiBuYW1lXG4gICAgfSk7XG4gIH07XG5cbi8qKlxuICogU2V0IHRoZSBzb3VyY2UgY29udGVudCBmb3IgYSBzb3VyY2UgZmlsZS5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5zZXRTb3VyY2VDb250ZW50ID1cbiAgZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yX3NldFNvdXJjZUNvbnRlbnQoYVNvdXJjZUZpbGUsIGFTb3VyY2VDb250ZW50KSB7XG4gICAgdmFyIHNvdXJjZSA9IGFTb3VyY2VGaWxlO1xuICAgIGlmICh0aGlzLl9zb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgIHNvdXJjZSA9IHV0aWwucmVsYXRpdmUodGhpcy5fc291cmNlUm9vdCwgc291cmNlKTtcbiAgICB9XG5cbiAgICBpZiAoYVNvdXJjZUNvbnRlbnQgIT0gbnVsbCkge1xuICAgICAgLy8gQWRkIHRoZSBzb3VyY2UgY29udGVudCB0byB0aGUgX3NvdXJjZXNDb250ZW50cyBtYXAuXG4gICAgICAvLyBDcmVhdGUgYSBuZXcgX3NvdXJjZXNDb250ZW50cyBtYXAgaWYgdGhlIHByb3BlcnR5IGlzIG51bGwuXG4gICAgICBpZiAoIXRoaXMuX3NvdXJjZXNDb250ZW50cykge1xuICAgICAgICB0aGlzLl9zb3VyY2VzQ29udGVudHMgPSBPYmplY3QuY3JlYXRlKG51bGwpO1xuICAgICAgfVxuICAgICAgdGhpcy5fc291cmNlc0NvbnRlbnRzW3V0aWwudG9TZXRTdHJpbmcoc291cmNlKV0gPSBhU291cmNlQ29udGVudDtcbiAgICB9IGVsc2UgaWYgKHRoaXMuX3NvdXJjZXNDb250ZW50cykge1xuICAgICAgLy8gUmVtb3ZlIHRoZSBzb3VyY2UgZmlsZSBmcm9tIHRoZSBfc291cmNlc0NvbnRlbnRzIG1hcC5cbiAgICAgIC8vIElmIHRoZSBfc291cmNlc0NvbnRlbnRzIG1hcCBpcyBlbXB0eSwgc2V0IHRoZSBwcm9wZXJ0eSB0byBudWxsLlxuICAgICAgZGVsZXRlIHRoaXMuX3NvdXJjZXNDb250ZW50c1t1dGlsLnRvU2V0U3RyaW5nKHNvdXJjZSldO1xuICAgICAgaWYgKE9iamVjdC5rZXlzKHRoaXMuX3NvdXJjZXNDb250ZW50cykubGVuZ3RoID09PSAwKSB7XG4gICAgICAgIHRoaXMuX3NvdXJjZXNDb250ZW50cyA9IG51bGw7XG4gICAgICB9XG4gICAgfVxuICB9O1xuXG4vKipcbiAqIEFwcGxpZXMgdGhlIG1hcHBpbmdzIG9mIGEgc3ViLXNvdXJjZS1tYXAgZm9yIGEgc3BlY2lmaWMgc291cmNlIGZpbGUgdG8gdGhlXG4gKiBzb3VyY2UgbWFwIGJlaW5nIGdlbmVyYXRlZC4gRWFjaCBtYXBwaW5nIHRvIHRoZSBzdXBwbGllZCBzb3VyY2UgZmlsZSBpc1xuICogcmV3cml0dGVuIHVzaW5nIHRoZSBzdXBwbGllZCBzb3VyY2UgbWFwLiBOb3RlOiBUaGUgcmVzb2x1dGlvbiBmb3IgdGhlXG4gKiByZXN1bHRpbmcgbWFwcGluZ3MgaXMgdGhlIG1pbmltaXVtIG9mIHRoaXMgbWFwIGFuZCB0aGUgc3VwcGxpZWQgbWFwLlxuICpcbiAqIEBwYXJhbSBhU291cmNlTWFwQ29uc3VtZXIgVGhlIHNvdXJjZSBtYXAgdG8gYmUgYXBwbGllZC5cbiAqIEBwYXJhbSBhU291cmNlRmlsZSBPcHRpb25hbC4gVGhlIGZpbGVuYW1lIG9mIHRoZSBzb3VyY2UgZmlsZS5cbiAqICAgICAgICBJZiBvbWl0dGVkLCBTb3VyY2VNYXBDb25zdW1lcidzIGZpbGUgcHJvcGVydHkgd2lsbCBiZSB1c2VkLlxuICogQHBhcmFtIGFTb3VyY2VNYXBQYXRoIE9wdGlvbmFsLiBUaGUgZGlybmFtZSBvZiB0aGUgcGF0aCB0byB0aGUgc291cmNlIG1hcFxuICogICAgICAgIHRvIGJlIGFwcGxpZWQuIElmIHJlbGF0aXZlLCBpdCBpcyByZWxhdGl2ZSB0byB0aGUgU291cmNlTWFwQ29uc3VtZXIuXG4gKiAgICAgICAgVGhpcyBwYXJhbWV0ZXIgaXMgbmVlZGVkIHdoZW4gdGhlIHR3byBzb3VyY2UgbWFwcyBhcmVuJ3QgaW4gdGhlIHNhbWVcbiAqICAgICAgICBkaXJlY3RvcnksIGFuZCB0aGUgc291cmNlIG1hcCB0byBiZSBhcHBsaWVkIGNvbnRhaW5zIHJlbGF0aXZlIHNvdXJjZVxuICogICAgICAgIHBhdGhzLiBJZiBzbywgdGhvc2UgcmVsYXRpdmUgc291cmNlIHBhdGhzIG5lZWQgdG8gYmUgcmV3cml0dGVuXG4gKiAgICAgICAgcmVsYXRpdmUgdG8gdGhlIFNvdXJjZU1hcEdlbmVyYXRvci5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5hcHBseVNvdXJjZU1hcCA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl9hcHBseVNvdXJjZU1hcChhU291cmNlTWFwQ29uc3VtZXIsIGFTb3VyY2VGaWxlLCBhU291cmNlTWFwUGF0aCkge1xuICAgIHZhciBzb3VyY2VGaWxlID0gYVNvdXJjZUZpbGU7XG4gICAgLy8gSWYgYVNvdXJjZUZpbGUgaXMgb21pdHRlZCwgd2Ugd2lsbCB1c2UgdGhlIGZpbGUgcHJvcGVydHkgb2YgdGhlIFNvdXJjZU1hcFxuICAgIGlmIChhU291cmNlRmlsZSA9PSBudWxsKSB7XG4gICAgICBpZiAoYVNvdXJjZU1hcENvbnN1bWVyLmZpbGUgPT0gbnVsbCkge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXG4gICAgICAgICAgJ1NvdXJjZU1hcEdlbmVyYXRvci5wcm90b3R5cGUuYXBwbHlTb3VyY2VNYXAgcmVxdWlyZXMgZWl0aGVyIGFuIGV4cGxpY2l0IHNvdXJjZSBmaWxlLCAnICtcbiAgICAgICAgICAnb3IgdGhlIHNvdXJjZSBtYXBcXCdzIFwiZmlsZVwiIHByb3BlcnR5LiBCb3RoIHdlcmUgb21pdHRlZC4nXG4gICAgICAgICk7XG4gICAgICB9XG4gICAgICBzb3VyY2VGaWxlID0gYVNvdXJjZU1hcENvbnN1bWVyLmZpbGU7XG4gICAgfVxuICAgIHZhciBzb3VyY2VSb290ID0gdGhpcy5fc291cmNlUm9vdDtcbiAgICAvLyBNYWtlIFwic291cmNlRmlsZVwiIHJlbGF0aXZlIGlmIGFuIGFic29sdXRlIFVybCBpcyBwYXNzZWQuXG4gICAgaWYgKHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgc291cmNlRmlsZSA9IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgc291cmNlRmlsZSk7XG4gICAgfVxuICAgIC8vIEFwcGx5aW5nIHRoZSBTb3VyY2VNYXAgY2FuIGFkZCBhbmQgcmVtb3ZlIGl0ZW1zIGZyb20gdGhlIHNvdXJjZXMgYW5kXG4gICAgLy8gdGhlIG5hbWVzIGFycmF5LlxuICAgIHZhciBuZXdTb3VyY2VzID0gbmV3IEFycmF5U2V0KCk7XG4gICAgdmFyIG5ld05hbWVzID0gbmV3IEFycmF5U2V0KCk7XG5cbiAgICAvLyBGaW5kIG1hcHBpbmdzIGZvciB0aGUgXCJzb3VyY2VGaWxlXCJcbiAgICB0aGlzLl9tYXBwaW5ncy51bnNvcnRlZEZvckVhY2goZnVuY3Rpb24gKG1hcHBpbmcpIHtcbiAgICAgIGlmIChtYXBwaW5nLnNvdXJjZSA9PT0gc291cmNlRmlsZSAmJiBtYXBwaW5nLm9yaWdpbmFsTGluZSAhPSBudWxsKSB7XG4gICAgICAgIC8vIENoZWNrIGlmIGl0IGNhbiBiZSBtYXBwZWQgYnkgdGhlIHNvdXJjZSBtYXAsIHRoZW4gdXBkYXRlIHRoZSBtYXBwaW5nLlxuICAgICAgICB2YXIgb3JpZ2luYWwgPSBhU291cmNlTWFwQ29uc3VtZXIub3JpZ2luYWxQb3NpdGlvbkZvcih7XG4gICAgICAgICAgbGluZTogbWFwcGluZy5vcmlnaW5hbExpbmUsXG4gICAgICAgICAgY29sdW1uOiBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uXG4gICAgICAgIH0pO1xuICAgICAgICBpZiAob3JpZ2luYWwuc291cmNlICE9IG51bGwpIHtcbiAgICAgICAgICAvLyBDb3B5IG1hcHBpbmdcbiAgICAgICAgICBtYXBwaW5nLnNvdXJjZSA9IG9yaWdpbmFsLnNvdXJjZTtcbiAgICAgICAgICBpZiAoYVNvdXJjZU1hcFBhdGggIT0gbnVsbCkge1xuICAgICAgICAgICAgbWFwcGluZy5zb3VyY2UgPSB1dGlsLmpvaW4oYVNvdXJjZU1hcFBhdGgsIG1hcHBpbmcuc291cmNlKVxuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICAgICAgICBtYXBwaW5nLnNvdXJjZSA9IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgbWFwcGluZy5zb3VyY2UpO1xuICAgICAgICAgIH1cbiAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsTGluZSA9IG9yaWdpbmFsLmxpbmU7XG4gICAgICAgICAgbWFwcGluZy5vcmlnaW5hbENvbHVtbiA9IG9yaWdpbmFsLmNvbHVtbjtcbiAgICAgICAgICBpZiAob3JpZ2luYWwubmFtZSAhPSBudWxsKSB7XG4gICAgICAgICAgICBtYXBwaW5nLm5hbWUgPSBvcmlnaW5hbC5uYW1lO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICB2YXIgc291cmNlID0gbWFwcGluZy5zb3VyY2U7XG4gICAgICBpZiAoc291cmNlICE9IG51bGwgJiYgIW5ld1NvdXJjZXMuaGFzKHNvdXJjZSkpIHtcbiAgICAgICAgbmV3U291cmNlcy5hZGQoc291cmNlKTtcbiAgICAgIH1cblxuICAgICAgdmFyIG5hbWUgPSBtYXBwaW5nLm5hbWU7XG4gICAgICBpZiAobmFtZSAhPSBudWxsICYmICFuZXdOYW1lcy5oYXMobmFtZSkpIHtcbiAgICAgICAgbmV3TmFtZXMuYWRkKG5hbWUpO1xuICAgICAgfVxuXG4gICAgfSwgdGhpcyk7XG4gICAgdGhpcy5fc291cmNlcyA9IG5ld1NvdXJjZXM7XG4gICAgdGhpcy5fbmFtZXMgPSBuZXdOYW1lcztcblxuICAgIC8vIENvcHkgc291cmNlc0NvbnRlbnRzIG9mIGFwcGxpZWQgbWFwLlxuICAgIGFTb3VyY2VNYXBDb25zdW1lci5zb3VyY2VzLmZvckVhY2goZnVuY3Rpb24gKHNvdXJjZUZpbGUpIHtcbiAgICAgIHZhciBjb250ZW50ID0gYVNvdXJjZU1hcENvbnN1bWVyLnNvdXJjZUNvbnRlbnRGb3Ioc291cmNlRmlsZSk7XG4gICAgICBpZiAoY29udGVudCAhPSBudWxsKSB7XG4gICAgICAgIGlmIChhU291cmNlTWFwUGF0aCAhPSBudWxsKSB7XG4gICAgICAgICAgc291cmNlRmlsZSA9IHV0aWwuam9pbihhU291cmNlTWFwUGF0aCwgc291cmNlRmlsZSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICAgIHNvdXJjZUZpbGUgPSB1dGlsLnJlbGF0aXZlKHNvdXJjZVJvb3QsIHNvdXJjZUZpbGUpO1xuICAgICAgICB9XG4gICAgICAgIHRoaXMuc2V0U291cmNlQ29udGVudChzb3VyY2VGaWxlLCBjb250ZW50KTtcbiAgICAgIH1cbiAgICB9LCB0aGlzKTtcbiAgfTtcblxuLyoqXG4gKiBBIG1hcHBpbmcgY2FuIGhhdmUgb25lIG9mIHRoZSB0aHJlZSBsZXZlbHMgb2YgZGF0YTpcbiAqXG4gKiAgIDEuIEp1c3QgdGhlIGdlbmVyYXRlZCBwb3NpdGlvbi5cbiAqICAgMi4gVGhlIEdlbmVyYXRlZCBwb3NpdGlvbiwgb3JpZ2luYWwgcG9zaXRpb24sIGFuZCBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIDMuIEdlbmVyYXRlZCBhbmQgb3JpZ2luYWwgcG9zaXRpb24sIG9yaWdpbmFsIHNvdXJjZSwgYXMgd2VsbCBhcyBhIG5hbWVcbiAqICAgICAgdG9rZW4uXG4gKlxuICogVG8gbWFpbnRhaW4gY29uc2lzdGVuY3ksIHdlIHZhbGlkYXRlIHRoYXQgYW55IG5ldyBtYXBwaW5nIGJlaW5nIGFkZGVkIGZhbGxzXG4gKiBpbiB0byBvbmUgb2YgdGhlc2UgY2F0ZWdvcmllcy5cbiAqL1xuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5fdmFsaWRhdGVNYXBwaW5nID1cbiAgZnVuY3Rpb24gU291cmNlTWFwR2VuZXJhdG9yX3ZhbGlkYXRlTWFwcGluZyhhR2VuZXJhdGVkLCBhT3JpZ2luYWwsIGFTb3VyY2UsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYU5hbWUpIHtcbiAgICAvLyBXaGVuIGFPcmlnaW5hbCBpcyB0cnV0aHkgYnV0IGhhcyBlbXB0eSB2YWx1ZXMgZm9yIC5saW5lIGFuZCAuY29sdW1uLFxuICAgIC8vIGl0IGlzIG1vc3QgbGlrZWx5IGEgcHJvZ3JhbW1lciBlcnJvci4gSW4gdGhpcyBjYXNlIHdlIHRocm93IGEgdmVyeVxuICAgIC8vIHNwZWNpZmljIGVycm9yIG1lc3NhZ2UgdG8gdHJ5IHRvIGd1aWRlIHRoZW0gdGhlIHJpZ2h0IHdheS5cbiAgICAvLyBGb3IgZXhhbXBsZTogaHR0cHM6Ly9naXRodWIuY29tL1BvbHltZXIvcG9seW1lci1idW5kbGVyL3B1bGwvNTE5XG4gICAgaWYgKGFPcmlnaW5hbCAmJiB0eXBlb2YgYU9yaWdpbmFsLmxpbmUgIT09ICdudW1iZXInICYmIHR5cGVvZiBhT3JpZ2luYWwuY29sdW1uICE9PSAnbnVtYmVyJykge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXG4gICAgICAgICAgICAnb3JpZ2luYWwubGluZSBhbmQgb3JpZ2luYWwuY29sdW1uIGFyZSBub3QgbnVtYmVycyAtLSB5b3UgcHJvYmFibHkgbWVhbnQgdG8gb21pdCAnICtcbiAgICAgICAgICAgICd0aGUgb3JpZ2luYWwgbWFwcGluZyBlbnRpcmVseSBhbmQgb25seSBtYXAgdGhlIGdlbmVyYXRlZCBwb3NpdGlvbi4gSWYgc28sIHBhc3MgJyArXG4gICAgICAgICAgICAnbnVsbCBmb3IgdGhlIG9yaWdpbmFsIG1hcHBpbmcgaW5zdGVhZCBvZiBhbiBvYmplY3Qgd2l0aCBlbXB0eSBvciBudWxsIHZhbHVlcy4nXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgaWYgKGFHZW5lcmF0ZWQgJiYgJ2xpbmUnIGluIGFHZW5lcmF0ZWQgJiYgJ2NvbHVtbicgaW4gYUdlbmVyYXRlZFxuICAgICAgICAmJiBhR2VuZXJhdGVkLmxpbmUgPiAwICYmIGFHZW5lcmF0ZWQuY29sdW1uID49IDBcbiAgICAgICAgJiYgIWFPcmlnaW5hbCAmJiAhYVNvdXJjZSAmJiAhYU5hbWUpIHtcbiAgICAgIC8vIENhc2UgMS5cbiAgICAgIHJldHVybjtcbiAgICB9XG4gICAgZWxzZSBpZiAoYUdlbmVyYXRlZCAmJiAnbGluZScgaW4gYUdlbmVyYXRlZCAmJiAnY29sdW1uJyBpbiBhR2VuZXJhdGVkXG4gICAgICAgICAgICAgJiYgYU9yaWdpbmFsICYmICdsaW5lJyBpbiBhT3JpZ2luYWwgJiYgJ2NvbHVtbicgaW4gYU9yaWdpbmFsXG4gICAgICAgICAgICAgJiYgYUdlbmVyYXRlZC5saW5lID4gMCAmJiBhR2VuZXJhdGVkLmNvbHVtbiA+PSAwXG4gICAgICAgICAgICAgJiYgYU9yaWdpbmFsLmxpbmUgPiAwICYmIGFPcmlnaW5hbC5jb2x1bW4gPj0gMFxuICAgICAgICAgICAgICYmIGFTb3VyY2UpIHtcbiAgICAgIC8vIENhc2VzIDIgYW5kIDMuXG4gICAgICByZXR1cm47XG4gICAgfVxuICAgIGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdJbnZhbGlkIG1hcHBpbmc6ICcgKyBKU09OLnN0cmluZ2lmeSh7XG4gICAgICAgIGdlbmVyYXRlZDogYUdlbmVyYXRlZCxcbiAgICAgICAgc291cmNlOiBhU291cmNlLFxuICAgICAgICBvcmlnaW5hbDogYU9yaWdpbmFsLFxuICAgICAgICBuYW1lOiBhTmFtZVxuICAgICAgfSkpO1xuICAgIH1cbiAgfTtcblxuLyoqXG4gKiBTZXJpYWxpemUgdGhlIGFjY3VtdWxhdGVkIG1hcHBpbmdzIGluIHRvIHRoZSBzdHJlYW0gb2YgYmFzZSA2NCBWTFFzXG4gKiBzcGVjaWZpZWQgYnkgdGhlIHNvdXJjZSBtYXAgZm9ybWF0LlxuICovXG5Tb3VyY2VNYXBHZW5lcmF0b3IucHJvdG90eXBlLl9zZXJpYWxpemVNYXBwaW5ncyA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl9zZXJpYWxpemVNYXBwaW5ncygpIHtcbiAgICB2YXIgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSAwO1xuICAgIHZhciBwcmV2aW91c0dlbmVyYXRlZExpbmUgPSAxO1xuICAgIHZhciBwcmV2aW91c09yaWdpbmFsQ29sdW1uID0gMDtcbiAgICB2YXIgcHJldmlvdXNPcmlnaW5hbExpbmUgPSAwO1xuICAgIHZhciBwcmV2aW91c05hbWUgPSAwO1xuICAgIHZhciBwcmV2aW91c1NvdXJjZSA9IDA7XG4gICAgdmFyIHJlc3VsdCA9ICcnO1xuICAgIHZhciBuZXh0O1xuICAgIHZhciBtYXBwaW5nO1xuICAgIHZhciBuYW1lSWR4O1xuICAgIHZhciBzb3VyY2VJZHg7XG5cbiAgICB2YXIgbWFwcGluZ3MgPSB0aGlzLl9tYXBwaW5ncy50b0FycmF5KCk7XG4gICAgZm9yICh2YXIgaSA9IDAsIGxlbiA9IG1hcHBpbmdzLmxlbmd0aDsgaSA8IGxlbjsgaSsrKSB7XG4gICAgICBtYXBwaW5nID0gbWFwcGluZ3NbaV07XG4gICAgICBuZXh0ID0gJydcblxuICAgICAgaWYgKG1hcHBpbmcuZ2VuZXJhdGVkTGluZSAhPT0gcHJldmlvdXNHZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgIHByZXZpb3VzR2VuZXJhdGVkQ29sdW1uID0gMDtcbiAgICAgICAgd2hpbGUgKG1hcHBpbmcuZ2VuZXJhdGVkTGluZSAhPT0gcHJldmlvdXNHZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgICAgbmV4dCArPSAnOyc7XG4gICAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRMaW5lKys7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgIGVsc2Uge1xuICAgICAgICBpZiAoaSA+IDApIHtcbiAgICAgICAgICBpZiAoIXV0aWwuY29tcGFyZUJ5R2VuZXJhdGVkUG9zaXRpb25zSW5mbGF0ZWQobWFwcGluZywgbWFwcGluZ3NbaSAtIDFdKSkge1xuICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgfVxuICAgICAgICAgIG5leHQgKz0gJywnO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLmdlbmVyYXRlZENvbHVtblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLSBwcmV2aW91c0dlbmVyYXRlZENvbHVtbik7XG4gICAgICBwcmV2aW91c0dlbmVyYXRlZENvbHVtbiA9IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uO1xuXG4gICAgICBpZiAobWFwcGluZy5zb3VyY2UgIT0gbnVsbCkge1xuICAgICAgICBzb3VyY2VJZHggPSB0aGlzLl9zb3VyY2VzLmluZGV4T2YobWFwcGluZy5zb3VyY2UpO1xuICAgICAgICBuZXh0ICs9IGJhc2U2NFZMUS5lbmNvZGUoc291cmNlSWR4IC0gcHJldmlvdXNTb3VyY2UpO1xuICAgICAgICBwcmV2aW91c1NvdXJjZSA9IHNvdXJjZUlkeDtcblxuICAgICAgICAvLyBsaW5lcyBhcmUgc3RvcmVkIDAtYmFzZWQgaW4gU291cmNlTWFwIHNwZWMgdmVyc2lvbiAzXG4gICAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLm9yaWdpbmFsTGluZSAtIDFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLSBwcmV2aW91c09yaWdpbmFsTGluZSk7XG4gICAgICAgIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gbWFwcGluZy5vcmlnaW5hbExpbmUgLSAxO1xuXG4gICAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLm9yaWdpbmFsQ29sdW1uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0gcHJldmlvdXNPcmlnaW5hbENvbHVtbik7XG4gICAgICAgIHByZXZpb3VzT3JpZ2luYWxDb2x1bW4gPSBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uO1xuXG4gICAgICAgIGlmIChtYXBwaW5nLm5hbWUgIT0gbnVsbCkge1xuICAgICAgICAgIG5hbWVJZHggPSB0aGlzLl9uYW1lcy5pbmRleE9mKG1hcHBpbmcubmFtZSk7XG4gICAgICAgICAgbmV4dCArPSBiYXNlNjRWTFEuZW5jb2RlKG5hbWVJZHggLSBwcmV2aW91c05hbWUpO1xuICAgICAgICAgIHByZXZpb3VzTmFtZSA9IG5hbWVJZHg7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgcmVzdWx0ICs9IG5leHQ7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfTtcblxuU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS5fZ2VuZXJhdGVTb3VyY2VzQ29udGVudCA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl9nZW5lcmF0ZVNvdXJjZXNDb250ZW50KGFTb3VyY2VzLCBhU291cmNlUm9vdCkge1xuICAgIHJldHVybiBhU291cmNlcy5tYXAoZnVuY3Rpb24gKHNvdXJjZSkge1xuICAgICAgaWYgKCF0aGlzLl9zb3VyY2VzQ29udGVudHMpIHtcbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICB9XG4gICAgICBpZiAoYVNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICBzb3VyY2UgPSB1dGlsLnJlbGF0aXZlKGFTb3VyY2VSb290LCBzb3VyY2UpO1xuICAgICAgfVxuICAgICAgdmFyIGtleSA9IHV0aWwudG9TZXRTdHJpbmcoc291cmNlKTtcbiAgICAgIHJldHVybiBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwodGhpcy5fc291cmNlc0NvbnRlbnRzLCBrZXkpXG4gICAgICAgID8gdGhpcy5fc291cmNlc0NvbnRlbnRzW2tleV1cbiAgICAgICAgOiBudWxsO1xuICAgIH0sIHRoaXMpO1xuICB9O1xuXG4vKipcbiAqIEV4dGVybmFsaXplIHRoZSBzb3VyY2UgbWFwLlxuICovXG5Tb3VyY2VNYXBHZW5lcmF0b3IucHJvdG90eXBlLnRvSlNPTiA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl90b0pTT04oKSB7XG4gICAgdmFyIG1hcCA9IHtcbiAgICAgIHZlcnNpb246IHRoaXMuX3ZlcnNpb24sXG4gICAgICBzb3VyY2VzOiB0aGlzLl9zb3VyY2VzLnRvQXJyYXkoKSxcbiAgICAgIG5hbWVzOiB0aGlzLl9uYW1lcy50b0FycmF5KCksXG4gICAgICBtYXBwaW5nczogdGhpcy5fc2VyaWFsaXplTWFwcGluZ3MoKVxuICAgIH07XG4gICAgaWYgKHRoaXMuX2ZpbGUgIT0gbnVsbCkge1xuICAgICAgbWFwLmZpbGUgPSB0aGlzLl9maWxlO1xuICAgIH1cbiAgICBpZiAodGhpcy5fc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICBtYXAuc291cmNlUm9vdCA9IHRoaXMuX3NvdXJjZVJvb3Q7XG4gICAgfVxuICAgIGlmICh0aGlzLl9zb3VyY2VzQ29udGVudHMpIHtcbiAgICAgIG1hcC5zb3VyY2VzQ29udGVudCA9IHRoaXMuX2dlbmVyYXRlU291cmNlc0NvbnRlbnQobWFwLnNvdXJjZXMsIG1hcC5zb3VyY2VSb290KTtcbiAgICB9XG5cbiAgICByZXR1cm4gbWFwO1xuICB9O1xuXG4vKipcbiAqIFJlbmRlciB0aGUgc291cmNlIG1hcCBiZWluZyBnZW5lcmF0ZWQgdG8gYSBzdHJpbmcuXG4gKi9cblNvdXJjZU1hcEdlbmVyYXRvci5wcm90b3R5cGUudG9TdHJpbmcgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBHZW5lcmF0b3JfdG9TdHJpbmcoKSB7XG4gICAgcmV0dXJuIEpTT04uc3RyaW5naWZ5KHRoaXMudG9KU09OKCkpO1xuICB9O1xuXG5leHBvcnRzLlNvdXJjZU1hcEdlbmVyYXRvciA9IFNvdXJjZU1hcEdlbmVyYXRvcjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbGliL3NvdXJjZS1tYXAtZ2VuZXJhdG9yLmpzXG4vLyBtb2R1bGUgaWQgPSAxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCIsIi8qIC0qLSBNb2RlOiBqczsganMtaW5kZW50LWxldmVsOiAyOyAtKi0gKi9cbi8qXG4gKiBDb3B5cmlnaHQgMjAxMSBNb3ppbGxhIEZvdW5kYXRpb24gYW5kIGNvbnRyaWJ1dG9yc1xuICogTGljZW5zZWQgdW5kZXIgdGhlIE5ldyBCU0QgbGljZW5zZS4gU2VlIExJQ0VOU0Ugb3I6XG4gKiBodHRwOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvQlNELTMtQ2xhdXNlXG4gKlxuICogQmFzZWQgb24gdGhlIEJhc2UgNjQgVkxRIGltcGxlbWVudGF0aW9uIGluIENsb3N1cmUgQ29tcGlsZXI6XG4gKiBodHRwczovL2NvZGUuZ29vZ2xlLmNvbS9wL2Nsb3N1cmUtY29tcGlsZXIvc291cmNlL2Jyb3dzZS90cnVuay9zcmMvY29tL2dvb2dsZS9kZWJ1Z2dpbmcvc291cmNlbWFwL0Jhc2U2NFZMUS5qYXZhXG4gKlxuICogQ29weXJpZ2h0IDIwMTEgVGhlIENsb3N1cmUgQ29tcGlsZXIgQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC5cbiAqIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dFxuICogbW9kaWZpY2F0aW9uLCBhcmUgcGVybWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZVxuICogbWV0OlxuICpcbiAqICAqIFJlZGlzdHJpYnV0aW9ucyBvZiBzb3VyY2UgY29kZSBtdXN0IHJldGFpbiB0aGUgYWJvdmUgY29weXJpZ2h0XG4gKiAgICBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuXG4gKiAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlXG4gKiAgICBjb3B5cmlnaHQgbm90aWNlLCB0aGlzIGxpc3Qgb2YgY29uZGl0aW9ucyBhbmQgdGhlIGZvbGxvd2luZ1xuICogICAgZGlzY2xhaW1lciBpbiB0aGUgZG9jdW1lbnRhdGlvbiBhbmQvb3Igb3RoZXIgbWF0ZXJpYWxzIHByb3ZpZGVkXG4gKiAgICB3aXRoIHRoZSBkaXN0cmlidXRpb24uXG4gKiAgKiBOZWl0aGVyIHRoZSBuYW1lIG9mIEdvb2dsZSBJbmMuIG5vciB0aGUgbmFtZXMgb2YgaXRzXG4gKiAgICBjb250cmlidXRvcnMgbWF5IGJlIHVzZWQgdG8gZW5kb3JzZSBvciBwcm9tb3RlIHByb2R1Y3RzIGRlcml2ZWRcbiAqICAgIGZyb20gdGhpcyBzb2Z0d2FyZSB3aXRob3V0IHNwZWNpZmljIHByaW9yIHdyaXR0ZW4gcGVybWlzc2lvbi5cbiAqXG4gKiBUSElTIFNPRlRXQVJFIElTIFBST1ZJREVEIEJZIFRIRSBDT1BZUklHSFQgSE9MREVSUyBBTkQgQ09OVFJJQlVUT1JTXG4gKiBcIkFTIElTXCIgQU5EIEFOWSBFWFBSRVNTIE9SIElNUExJRUQgV0FSUkFOVElFUywgSU5DTFVESU5HLCBCVVQgTk9UXG4gKiBMSU1JVEVEIFRPLCBUSEUgSU1QTElFRCBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWSBBTkQgRklUTkVTUyBGT1JcbiAqIEEgUEFSVElDVUxBUiBQVVJQT1NFIEFSRSBESVNDTEFJTUVELiBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQ09QWVJJR0hUXG4gKiBPV05FUiBPUiBDT05UUklCVVRPUlMgQkUgTElBQkxFIEZPUiBBTlkgRElSRUNULCBJTkRJUkVDVCwgSU5DSURFTlRBTCxcbiAqIFNQRUNJQUwsIEVYRU1QTEFSWSwgT1IgQ09OU0VRVUVOVElBTCBEQU1BR0VTIChJTkNMVURJTkcsIEJVVCBOT1RcbiAqIExJTUlURUQgVE8sIFBST0NVUkVNRU5UIE9GIFNVQlNUSVRVVEUgR09PRFMgT1IgU0VSVklDRVM7IExPU1MgT0YgVVNFLFxuICogREFUQSwgT1IgUFJPRklUUzsgT1IgQlVTSU5FU1MgSU5URVJSVVBUSU9OKSBIT1dFVkVSIENBVVNFRCBBTkQgT04gQU5ZXG4gKiBUSEVPUlkgT0YgTElBQklMSVRZLCBXSEVUSEVSIElOIENPTlRSQUNULCBTVFJJQ1QgTElBQklMSVRZLCBPUiBUT1JUXG4gKiAoSU5DTFVESU5HIE5FR0xJR0VOQ0UgT1IgT1RIRVJXSVNFKSBBUklTSU5HIElOIEFOWSBXQVkgT1VUIE9GIFRIRSBVU0VcbiAqIE9GIFRISVMgU09GVFdBUkUsIEVWRU4gSUYgQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuXG4gKi9cblxudmFyIGJhc2U2NCA9IHJlcXVpcmUoJy4vYmFzZTY0Jyk7XG5cbi8vIEEgc2luZ2xlIGJhc2UgNjQgZGlnaXQgY2FuIGNvbnRhaW4gNiBiaXRzIG9mIGRhdGEuIEZvciB0aGUgYmFzZSA2NCB2YXJpYWJsZVxuLy8gbGVuZ3RoIHF1YW50aXRpZXMgd2UgdXNlIGluIHRoZSBzb3VyY2UgbWFwIHNwZWMsIHRoZSBmaXJzdCBiaXQgaXMgdGhlIHNpZ24sXG4vLyB0aGUgbmV4dCBmb3VyIGJpdHMgYXJlIHRoZSBhY3R1YWwgdmFsdWUsIGFuZCB0aGUgNnRoIGJpdCBpcyB0aGVcbi8vIGNvbnRpbnVhdGlvbiBiaXQuIFRoZSBjb250aW51YXRpb24gYml0IHRlbGxzIHVzIHdoZXRoZXIgdGhlcmUgYXJlIG1vcmVcbi8vIGRpZ2l0cyBpbiB0aGlzIHZhbHVlIGZvbGxvd2luZyB0aGlzIGRpZ2l0LlxuLy9cbi8vICAgQ29udGludWF0aW9uXG4vLyAgIHwgICAgU2lnblxuLy8gICB8ICAgIHxcbi8vICAgViAgICBWXG4vLyAgIDEwMTAxMVxuXG52YXIgVkxRX0JBU0VfU0hJRlQgPSA1O1xuXG4vLyBiaW5hcnk6IDEwMDAwMFxudmFyIFZMUV9CQVNFID0gMSA8PCBWTFFfQkFTRV9TSElGVDtcblxuLy8gYmluYXJ5OiAwMTExMTFcbnZhciBWTFFfQkFTRV9NQVNLID0gVkxRX0JBU0UgLSAxO1xuXG4vLyBiaW5hcnk6IDEwMDAwMFxudmFyIFZMUV9DT05USU5VQVRJT05fQklUID0gVkxRX0JBU0U7XG5cbi8qKlxuICogQ29udmVydHMgZnJvbSBhIHR3by1jb21wbGVtZW50IHZhbHVlIHRvIGEgdmFsdWUgd2hlcmUgdGhlIHNpZ24gYml0IGlzXG4gKiBwbGFjZWQgaW4gdGhlIGxlYXN0IHNpZ25pZmljYW50IGJpdC4gIEZvciBleGFtcGxlLCBhcyBkZWNpbWFsczpcbiAqICAgMSBiZWNvbWVzIDIgKDEwIGJpbmFyeSksIC0xIGJlY29tZXMgMyAoMTEgYmluYXJ5KVxuICogICAyIGJlY29tZXMgNCAoMTAwIGJpbmFyeSksIC0yIGJlY29tZXMgNSAoMTAxIGJpbmFyeSlcbiAqL1xuZnVuY3Rpb24gdG9WTFFTaWduZWQoYVZhbHVlKSB7XG4gIHJldHVybiBhVmFsdWUgPCAwXG4gICAgPyAoKC1hVmFsdWUpIDw8IDEpICsgMVxuICAgIDogKGFWYWx1ZSA8PCAxKSArIDA7XG59XG5cbi8qKlxuICogQ29udmVydHMgdG8gYSB0d28tY29tcGxlbWVudCB2YWx1ZSBmcm9tIGEgdmFsdWUgd2hlcmUgdGhlIHNpZ24gYml0IGlzXG4gKiBwbGFjZWQgaW4gdGhlIGxlYXN0IHNpZ25pZmljYW50IGJpdC4gIEZvciBleGFtcGxlLCBhcyBkZWNpbWFsczpcbiAqICAgMiAoMTAgYmluYXJ5KSBiZWNvbWVzIDEsIDMgKDExIGJpbmFyeSkgYmVjb21lcyAtMVxuICogICA0ICgxMDAgYmluYXJ5KSBiZWNvbWVzIDIsIDUgKDEwMSBiaW5hcnkpIGJlY29tZXMgLTJcbiAqL1xuZnVuY3Rpb24gZnJvbVZMUVNpZ25lZChhVmFsdWUpIHtcbiAgdmFyIGlzTmVnYXRpdmUgPSAoYVZhbHVlICYgMSkgPT09IDE7XG4gIHZhciBzaGlmdGVkID0gYVZhbHVlID4+IDE7XG4gIHJldHVybiBpc05lZ2F0aXZlXG4gICAgPyAtc2hpZnRlZFxuICAgIDogc2hpZnRlZDtcbn1cblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBiYXNlIDY0IFZMUSBlbmNvZGVkIHZhbHVlLlxuICovXG5leHBvcnRzLmVuY29kZSA9IGZ1bmN0aW9uIGJhc2U2NFZMUV9lbmNvZGUoYVZhbHVlKSB7XG4gIHZhciBlbmNvZGVkID0gXCJcIjtcbiAgdmFyIGRpZ2l0O1xuXG4gIHZhciB2bHEgPSB0b1ZMUVNpZ25lZChhVmFsdWUpO1xuXG4gIGRvIHtcbiAgICBkaWdpdCA9IHZscSAmIFZMUV9CQVNFX01BU0s7XG4gICAgdmxxID4+Pj0gVkxRX0JBU0VfU0hJRlQ7XG4gICAgaWYgKHZscSA+IDApIHtcbiAgICAgIC8vIFRoZXJlIGFyZSBzdGlsbCBtb3JlIGRpZ2l0cyBpbiB0aGlzIHZhbHVlLCBzbyB3ZSBtdXN0IG1ha2Ugc3VyZSB0aGVcbiAgICAgIC8vIGNvbnRpbnVhdGlvbiBiaXQgaXMgbWFya2VkLlxuICAgICAgZGlnaXQgfD0gVkxRX0NPTlRJTlVBVElPTl9CSVQ7XG4gICAgfVxuICAgIGVuY29kZWQgKz0gYmFzZTY0LmVuY29kZShkaWdpdCk7XG4gIH0gd2hpbGUgKHZscSA+IDApO1xuXG4gIHJldHVybiBlbmNvZGVkO1xufTtcblxuLyoqXG4gKiBEZWNvZGVzIHRoZSBuZXh0IGJhc2UgNjQgVkxRIHZhbHVlIGZyb20gdGhlIGdpdmVuIHN0cmluZyBhbmQgcmV0dXJucyB0aGVcbiAqIHZhbHVlIGFuZCB0aGUgcmVzdCBvZiB0aGUgc3RyaW5nIHZpYSB0aGUgb3V0IHBhcmFtZXRlci5cbiAqL1xuZXhwb3J0cy5kZWNvZGUgPSBmdW5jdGlvbiBiYXNlNjRWTFFfZGVjb2RlKGFTdHIsIGFJbmRleCwgYU91dFBhcmFtKSB7XG4gIHZhciBzdHJMZW4gPSBhU3RyLmxlbmd0aDtcbiAgdmFyIHJlc3VsdCA9IDA7XG4gIHZhciBzaGlmdCA9IDA7XG4gIHZhciBjb250aW51YXRpb24sIGRpZ2l0O1xuXG4gIGRvIHtcbiAgICBpZiAoYUluZGV4ID49IHN0ckxlbikge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKFwiRXhwZWN0ZWQgbW9yZSBkaWdpdHMgaW4gYmFzZSA2NCBWTFEgdmFsdWUuXCIpO1xuICAgIH1cblxuICAgIGRpZ2l0ID0gYmFzZTY0LmRlY29kZShhU3RyLmNoYXJDb2RlQXQoYUluZGV4KyspKTtcbiAgICBpZiAoZGlnaXQgPT09IC0xKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoXCJJbnZhbGlkIGJhc2U2NCBkaWdpdDogXCIgKyBhU3RyLmNoYXJBdChhSW5kZXggLSAxKSk7XG4gICAgfVxuXG4gICAgY29udGludWF0aW9uID0gISEoZGlnaXQgJiBWTFFfQ09OVElOVUFUSU9OX0JJVCk7XG4gICAgZGlnaXQgJj0gVkxRX0JBU0VfTUFTSztcbiAgICByZXN1bHQgPSByZXN1bHQgKyAoZGlnaXQgPDwgc2hpZnQpO1xuICAgIHNoaWZ0ICs9IFZMUV9CQVNFX1NISUZUO1xuICB9IHdoaWxlIChjb250aW51YXRpb24pO1xuXG4gIGFPdXRQYXJhbS52YWx1ZSA9IGZyb21WTFFTaWduZWQocmVzdWx0KTtcbiAgYU91dFBhcmFtLnJlc3QgPSBhSW5kZXg7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvYmFzZTY0LXZscS5qc1xuLy8gbW9kdWxlIGlkID0gMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbnZhciBpbnRUb0NoYXJNYXAgPSAnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycuc3BsaXQoJycpO1xuXG4vKipcbiAqIEVuY29kZSBhbiBpbnRlZ2VyIGluIHRoZSByYW5nZSBvZiAwIHRvIDYzIHRvIGEgc2luZ2xlIGJhc2UgNjQgZGlnaXQuXG4gKi9cbmV4cG9ydHMuZW5jb2RlID0gZnVuY3Rpb24gKG51bWJlcikge1xuICBpZiAoMCA8PSBudW1iZXIgJiYgbnVtYmVyIDwgaW50VG9DaGFyTWFwLmxlbmd0aCkge1xuICAgIHJldHVybiBpbnRUb0NoYXJNYXBbbnVtYmVyXTtcbiAgfVxuICB0aHJvdyBuZXcgVHlwZUVycm9yKFwiTXVzdCBiZSBiZXR3ZWVuIDAgYW5kIDYzOiBcIiArIG51bWJlcik7XG59O1xuXG4vKipcbiAqIERlY29kZSBhIHNpbmdsZSBiYXNlIDY0IGNoYXJhY3RlciBjb2RlIGRpZ2l0IHRvIGFuIGludGVnZXIuIFJldHVybnMgLTEgb25cbiAqIGZhaWx1cmUuXG4gKi9cbmV4cG9ydHMuZGVjb2RlID0gZnVuY3Rpb24gKGNoYXJDb2RlKSB7XG4gIHZhciBiaWdBID0gNjU7ICAgICAvLyAnQSdcbiAgdmFyIGJpZ1ogPSA5MDsgICAgIC8vICdaJ1xuXG4gIHZhciBsaXR0bGVBID0gOTc7ICAvLyAnYSdcbiAgdmFyIGxpdHRsZVogPSAxMjI7IC8vICd6J1xuXG4gIHZhciB6ZXJvID0gNDg7ICAgICAvLyAnMCdcbiAgdmFyIG5pbmUgPSA1NzsgICAgIC8vICc5J1xuXG4gIHZhciBwbHVzID0gNDM7ICAgICAvLyAnKydcbiAgdmFyIHNsYXNoID0gNDc7ICAgIC8vICcvJ1xuXG4gIHZhciBsaXR0bGVPZmZzZXQgPSAyNjtcbiAgdmFyIG51bWJlck9mZnNldCA9IDUyO1xuXG4gIC8vIDAgLSAyNTogQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpcbiAgaWYgKGJpZ0EgPD0gY2hhckNvZGUgJiYgY2hhckNvZGUgPD0gYmlnWikge1xuICAgIHJldHVybiAoY2hhckNvZGUgLSBiaWdBKTtcbiAgfVxuXG4gIC8vIDI2IC0gNTE6IGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6XG4gIGlmIChsaXR0bGVBIDw9IGNoYXJDb2RlICYmIGNoYXJDb2RlIDw9IGxpdHRsZVopIHtcbiAgICByZXR1cm4gKGNoYXJDb2RlIC0gbGl0dGxlQSArIGxpdHRsZU9mZnNldCk7XG4gIH1cblxuICAvLyA1MiAtIDYxOiAwMTIzNDU2Nzg5XG4gIGlmICh6ZXJvIDw9IGNoYXJDb2RlICYmIGNoYXJDb2RlIDw9IG5pbmUpIHtcbiAgICByZXR1cm4gKGNoYXJDb2RlIC0gemVybyArIG51bWJlck9mZnNldCk7XG4gIH1cblxuICAvLyA2MjogK1xuICBpZiAoY2hhckNvZGUgPT0gcGx1cykge1xuICAgIHJldHVybiA2MjtcbiAgfVxuXG4gIC8vIDYzOiAvXG4gIGlmIChjaGFyQ29kZSA9PSBzbGFzaCkge1xuICAgIHJldHVybiA2MztcbiAgfVxuXG4gIC8vIEludmFsaWQgYmFzZTY0IGRpZ2l0LlxuICByZXR1cm4gLTE7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvYmFzZTY0LmpzXG4vLyBtb2R1bGUgaWQgPSAzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCIsIi8qIC0qLSBNb2RlOiBqczsganMtaW5kZW50LWxldmVsOiAyOyAtKi0gKi9cbi8qXG4gKiBDb3B5cmlnaHQgMjAxMSBNb3ppbGxhIEZvdW5kYXRpb24gYW5kIGNvbnRyaWJ1dG9yc1xuICogTGljZW5zZWQgdW5kZXIgdGhlIE5ldyBCU0QgbGljZW5zZS4gU2VlIExJQ0VOU0Ugb3I6XG4gKiBodHRwOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvQlNELTMtQ2xhdXNlXG4gKi9cblxuLyoqXG4gKiBUaGlzIGlzIGEgaGVscGVyIGZ1bmN0aW9uIGZvciBnZXR0aW5nIHZhbHVlcyBmcm9tIHBhcmFtZXRlci9vcHRpb25zXG4gKiBvYmplY3RzLlxuICpcbiAqIEBwYXJhbSBhcmdzIFRoZSBvYmplY3Qgd2UgYXJlIGV4dHJhY3RpbmcgdmFsdWVzIGZyb21cbiAqIEBwYXJhbSBuYW1lIFRoZSBuYW1lIG9mIHRoZSBwcm9wZXJ0eSB3ZSBhcmUgZ2V0dGluZy5cbiAqIEBwYXJhbSBkZWZhdWx0VmFsdWUgQW4gb3B0aW9uYWwgdmFsdWUgdG8gcmV0dXJuIGlmIHRoZSBwcm9wZXJ0eSBpcyBtaXNzaW5nXG4gKiBmcm9tIHRoZSBvYmplY3QuIElmIHRoaXMgaXMgbm90IHNwZWNpZmllZCBhbmQgdGhlIHByb3BlcnR5IGlzIG1pc3NpbmcsIGFuXG4gKiBlcnJvciB3aWxsIGJlIHRocm93bi5cbiAqL1xuZnVuY3Rpb24gZ2V0QXJnKGFBcmdzLCBhTmFtZSwgYURlZmF1bHRWYWx1ZSkge1xuICBpZiAoYU5hbWUgaW4gYUFyZ3MpIHtcbiAgICByZXR1cm4gYUFyZ3NbYU5hbWVdO1xuICB9IGVsc2UgaWYgKGFyZ3VtZW50cy5sZW5ndGggPT09IDMpIHtcbiAgICByZXR1cm4gYURlZmF1bHRWYWx1ZTtcbiAgfSBlbHNlIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoJ1wiJyArIGFOYW1lICsgJ1wiIGlzIGEgcmVxdWlyZWQgYXJndW1lbnQuJyk7XG4gIH1cbn1cbmV4cG9ydHMuZ2V0QXJnID0gZ2V0QXJnO1xuXG52YXIgdXJsUmVnZXhwID0gL14oPzooW1xcdytcXC0uXSspOik/XFwvXFwvKD86KFxcdys6XFx3KylAKT8oW1xcdy5dKikoPzo6KFxcZCspKT8oXFxTKikkLztcbnZhciBkYXRhVXJsUmVnZXhwID0gL15kYXRhOi4rXFwsLiskLztcblxuZnVuY3Rpb24gdXJsUGFyc2UoYVVybCkge1xuICB2YXIgbWF0Y2ggPSBhVXJsLm1hdGNoKHVybFJlZ2V4cCk7XG4gIGlmICghbWF0Y2gpIHtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuICByZXR1cm4ge1xuICAgIHNjaGVtZTogbWF0Y2hbMV0sXG4gICAgYXV0aDogbWF0Y2hbMl0sXG4gICAgaG9zdDogbWF0Y2hbM10sXG4gICAgcG9ydDogbWF0Y2hbNF0sXG4gICAgcGF0aDogbWF0Y2hbNV1cbiAgfTtcbn1cbmV4cG9ydHMudXJsUGFyc2UgPSB1cmxQYXJzZTtcblxuZnVuY3Rpb24gdXJsR2VuZXJhdGUoYVBhcnNlZFVybCkge1xuICB2YXIgdXJsID0gJyc7XG4gIGlmIChhUGFyc2VkVXJsLnNjaGVtZSkge1xuICAgIHVybCArPSBhUGFyc2VkVXJsLnNjaGVtZSArICc6JztcbiAgfVxuICB1cmwgKz0gJy8vJztcbiAgaWYgKGFQYXJzZWRVcmwuYXV0aCkge1xuICAgIHVybCArPSBhUGFyc2VkVXJsLmF1dGggKyAnQCc7XG4gIH1cbiAgaWYgKGFQYXJzZWRVcmwuaG9zdCkge1xuICAgIHVybCArPSBhUGFyc2VkVXJsLmhvc3Q7XG4gIH1cbiAgaWYgKGFQYXJzZWRVcmwucG9ydCkge1xuICAgIHVybCArPSBcIjpcIiArIGFQYXJzZWRVcmwucG9ydFxuICB9XG4gIGlmIChhUGFyc2VkVXJsLnBhdGgpIHtcbiAgICB1cmwgKz0gYVBhcnNlZFVybC5wYXRoO1xuICB9XG4gIHJldHVybiB1cmw7XG59XG5leHBvcnRzLnVybEdlbmVyYXRlID0gdXJsR2VuZXJhdGU7XG5cbi8qKlxuICogTm9ybWFsaXplcyBhIHBhdGgsIG9yIHRoZSBwYXRoIHBvcnRpb24gb2YgYSBVUkw6XG4gKlxuICogLSBSZXBsYWNlcyBjb25zZWN1dGl2ZSBzbGFzaGVzIHdpdGggb25lIHNsYXNoLlxuICogLSBSZW1vdmVzIHVubmVjZXNzYXJ5ICcuJyBwYXJ0cy5cbiAqIC0gUmVtb3ZlcyB1bm5lY2Vzc2FyeSAnPGRpcj4vLi4nIHBhcnRzLlxuICpcbiAqIEJhc2VkIG9uIGNvZGUgaW4gdGhlIE5vZGUuanMgJ3BhdGgnIGNvcmUgbW9kdWxlLlxuICpcbiAqIEBwYXJhbSBhUGF0aCBUaGUgcGF0aCBvciB1cmwgdG8gbm9ybWFsaXplLlxuICovXG5mdW5jdGlvbiBub3JtYWxpemUoYVBhdGgpIHtcbiAgdmFyIHBhdGggPSBhUGF0aDtcbiAgdmFyIHVybCA9IHVybFBhcnNlKGFQYXRoKTtcbiAgaWYgKHVybCkge1xuICAgIGlmICghdXJsLnBhdGgpIHtcbiAgICAgIHJldHVybiBhUGF0aDtcbiAgICB9XG4gICAgcGF0aCA9IHVybC5wYXRoO1xuICB9XG4gIHZhciBpc0Fic29sdXRlID0gZXhwb3J0cy5pc0Fic29sdXRlKHBhdGgpO1xuXG4gIHZhciBwYXJ0cyA9IHBhdGguc3BsaXQoL1xcLysvKTtcbiAgZm9yICh2YXIgcGFydCwgdXAgPSAwLCBpID0gcGFydHMubGVuZ3RoIC0gMTsgaSA+PSAwOyBpLS0pIHtcbiAgICBwYXJ0ID0gcGFydHNbaV07XG4gICAgaWYgKHBhcnQgPT09ICcuJykge1xuICAgICAgcGFydHMuc3BsaWNlKGksIDEpO1xuICAgIH0gZWxzZSBpZiAocGFydCA9PT0gJy4uJykge1xuICAgICAgdXArKztcbiAgICB9IGVsc2UgaWYgKHVwID4gMCkge1xuICAgICAgaWYgKHBhcnQgPT09ICcnKSB7XG4gICAgICAgIC8vIFRoZSBmaXJzdCBwYXJ0IGlzIGJsYW5rIGlmIHRoZSBwYXRoIGlzIGFic29sdXRlLiBUcnlpbmcgdG8gZ29cbiAgICAgICAgLy8gYWJvdmUgdGhlIHJvb3QgaXMgYSBuby1vcC4gVGhlcmVmb3JlIHdlIGNhbiByZW1vdmUgYWxsICcuLicgcGFydHNcbiAgICAgICAgLy8gZGlyZWN0bHkgYWZ0ZXIgdGhlIHJvb3QuXG4gICAgICAgIHBhcnRzLnNwbGljZShpICsgMSwgdXApO1xuICAgICAgICB1cCA9IDA7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBwYXJ0cy5zcGxpY2UoaSwgMik7XG4gICAgICAgIHVwLS07XG4gICAgICB9XG4gICAgfVxuICB9XG4gIHBhdGggPSBwYXJ0cy5qb2luKCcvJyk7XG5cbiAgaWYgKHBhdGggPT09ICcnKSB7XG4gICAgcGF0aCA9IGlzQWJzb2x1dGUgPyAnLycgOiAnLic7XG4gIH1cblxuICBpZiAodXJsKSB7XG4gICAgdXJsLnBhdGggPSBwYXRoO1xuICAgIHJldHVybiB1cmxHZW5lcmF0ZSh1cmwpO1xuICB9XG4gIHJldHVybiBwYXRoO1xufVxuZXhwb3J0cy5ub3JtYWxpemUgPSBub3JtYWxpemU7XG5cbi8qKlxuICogSm9pbnMgdHdvIHBhdGhzL1VSTHMuXG4gKlxuICogQHBhcmFtIGFSb290IFRoZSByb290IHBhdGggb3IgVVJMLlxuICogQHBhcmFtIGFQYXRoIFRoZSBwYXRoIG9yIFVSTCB0byBiZSBqb2luZWQgd2l0aCB0aGUgcm9vdC5cbiAqXG4gKiAtIElmIGFQYXRoIGlzIGEgVVJMIG9yIGEgZGF0YSBVUkksIGFQYXRoIGlzIHJldHVybmVkLCB1bmxlc3MgYVBhdGggaXMgYVxuICogICBzY2hlbWUtcmVsYXRpdmUgVVJMOiBUaGVuIHRoZSBzY2hlbWUgb2YgYVJvb3QsIGlmIGFueSwgaXMgcHJlcGVuZGVkXG4gKiAgIGZpcnN0LlxuICogLSBPdGhlcndpc2UgYVBhdGggaXMgYSBwYXRoLiBJZiBhUm9vdCBpcyBhIFVSTCwgdGhlbiBpdHMgcGF0aCBwb3J0aW9uXG4gKiAgIGlzIHVwZGF0ZWQgd2l0aCB0aGUgcmVzdWx0IGFuZCBhUm9vdCBpcyByZXR1cm5lZC4gT3RoZXJ3aXNlIHRoZSByZXN1bHRcbiAqICAgaXMgcmV0dXJuZWQuXG4gKiAgIC0gSWYgYVBhdGggaXMgYWJzb2x1dGUsIHRoZSByZXN1bHQgaXMgYVBhdGguXG4gKiAgIC0gT3RoZXJ3aXNlIHRoZSB0d28gcGF0aHMgYXJlIGpvaW5lZCB3aXRoIGEgc2xhc2guXG4gKiAtIEpvaW5pbmcgZm9yIGV4YW1wbGUgJ2h0dHA6Ly8nIGFuZCAnd3d3LmV4YW1wbGUuY29tJyBpcyBhbHNvIHN1cHBvcnRlZC5cbiAqL1xuZnVuY3Rpb24gam9pbihhUm9vdCwgYVBhdGgpIHtcbiAgaWYgKGFSb290ID09PSBcIlwiKSB7XG4gICAgYVJvb3QgPSBcIi5cIjtcbiAgfVxuICBpZiAoYVBhdGggPT09IFwiXCIpIHtcbiAgICBhUGF0aCA9IFwiLlwiO1xuICB9XG4gIHZhciBhUGF0aFVybCA9IHVybFBhcnNlKGFQYXRoKTtcbiAgdmFyIGFSb290VXJsID0gdXJsUGFyc2UoYVJvb3QpO1xuICBpZiAoYVJvb3RVcmwpIHtcbiAgICBhUm9vdCA9IGFSb290VXJsLnBhdGggfHwgJy8nO1xuICB9XG5cbiAgLy8gYGpvaW4oZm9vLCAnLy93d3cuZXhhbXBsZS5vcmcnKWBcbiAgaWYgKGFQYXRoVXJsICYmICFhUGF0aFVybC5zY2hlbWUpIHtcbiAgICBpZiAoYVJvb3RVcmwpIHtcbiAgICAgIGFQYXRoVXJsLnNjaGVtZSA9IGFSb290VXJsLnNjaGVtZTtcbiAgICB9XG4gICAgcmV0dXJuIHVybEdlbmVyYXRlKGFQYXRoVXJsKTtcbiAgfVxuXG4gIGlmIChhUGF0aFVybCB8fCBhUGF0aC5tYXRjaChkYXRhVXJsUmVnZXhwKSkge1xuICAgIHJldHVybiBhUGF0aDtcbiAgfVxuXG4gIC8vIGBqb2luKCdodHRwOi8vJywgJ3d3dy5leGFtcGxlLmNvbScpYFxuICBpZiAoYVJvb3RVcmwgJiYgIWFSb290VXJsLmhvc3QgJiYgIWFSb290VXJsLnBhdGgpIHtcbiAgICBhUm9vdFVybC5ob3N0ID0gYVBhdGg7XG4gICAgcmV0dXJuIHVybEdlbmVyYXRlKGFSb290VXJsKTtcbiAgfVxuXG4gIHZhciBqb2luZWQgPSBhUGF0aC5jaGFyQXQoMCkgPT09ICcvJ1xuICAgID8gYVBhdGhcbiAgICA6IG5vcm1hbGl6ZShhUm9vdC5yZXBsYWNlKC9cXC8rJC8sICcnKSArICcvJyArIGFQYXRoKTtcblxuICBpZiAoYVJvb3RVcmwpIHtcbiAgICBhUm9vdFVybC5wYXRoID0gam9pbmVkO1xuICAgIHJldHVybiB1cmxHZW5lcmF0ZShhUm9vdFVybCk7XG4gIH1cbiAgcmV0dXJuIGpvaW5lZDtcbn1cbmV4cG9ydHMuam9pbiA9IGpvaW47XG5cbmV4cG9ydHMuaXNBYnNvbHV0ZSA9IGZ1bmN0aW9uIChhUGF0aCkge1xuICByZXR1cm4gYVBhdGguY2hhckF0KDApID09PSAnLycgfHwgISFhUGF0aC5tYXRjaCh1cmxSZWdleHApO1xufTtcblxuLyoqXG4gKiBNYWtlIGEgcGF0aCByZWxhdGl2ZSB0byBhIFVSTCBvciBhbm90aGVyIHBhdGguXG4gKlxuICogQHBhcmFtIGFSb290IFRoZSByb290IHBhdGggb3IgVVJMLlxuICogQHBhcmFtIGFQYXRoIFRoZSBwYXRoIG9yIFVSTCB0byBiZSBtYWRlIHJlbGF0aXZlIHRvIGFSb290LlxuICovXG5mdW5jdGlvbiByZWxhdGl2ZShhUm9vdCwgYVBhdGgpIHtcbiAgaWYgKGFSb290ID09PSBcIlwiKSB7XG4gICAgYVJvb3QgPSBcIi5cIjtcbiAgfVxuXG4gIGFSb290ID0gYVJvb3QucmVwbGFjZSgvXFwvJC8sICcnKTtcblxuICAvLyBJdCBpcyBwb3NzaWJsZSBmb3IgdGhlIHBhdGggdG8gYmUgYWJvdmUgdGhlIHJvb3QuIEluIHRoaXMgY2FzZSwgc2ltcGx5XG4gIC8vIGNoZWNraW5nIHdoZXRoZXIgdGhlIHJvb3QgaXMgYSBwcmVmaXggb2YgdGhlIHBhdGggd29uJ3Qgd29yay4gSW5zdGVhZCwgd2VcbiAgLy8gbmVlZCB0byByZW1vdmUgY29tcG9uZW50cyBmcm9tIHRoZSByb290IG9uZSBieSBvbmUsIHVudGlsIGVpdGhlciB3ZSBmaW5kXG4gIC8vIGEgcHJlZml4IHRoYXQgZml0cywgb3Igd2UgcnVuIG91dCBvZiBjb21wb25lbnRzIHRvIHJlbW92ZS5cbiAgdmFyIGxldmVsID0gMDtcbiAgd2hpbGUgKGFQYXRoLmluZGV4T2YoYVJvb3QgKyAnLycpICE9PSAwKSB7XG4gICAgdmFyIGluZGV4ID0gYVJvb3QubGFzdEluZGV4T2YoXCIvXCIpO1xuICAgIGlmIChpbmRleCA8IDApIHtcbiAgICAgIHJldHVybiBhUGF0aDtcbiAgICB9XG5cbiAgICAvLyBJZiB0aGUgb25seSBwYXJ0IG9mIHRoZSByb290IHRoYXQgaXMgbGVmdCBpcyB0aGUgc2NoZW1lIChpLmUuIGh0dHA6Ly8sXG4gICAgLy8gZmlsZTovLy8sIGV0Yy4pLCBvbmUgb3IgbW9yZSBzbGFzaGVzICgvKSwgb3Igc2ltcGx5IG5vdGhpbmcgYXQgYWxsLCB3ZVxuICAgIC8vIGhhdmUgZXhoYXVzdGVkIGFsbCBjb21wb25lbnRzLCBzbyB0aGUgcGF0aCBpcyBub3QgcmVsYXRpdmUgdG8gdGhlIHJvb3QuXG4gICAgYVJvb3QgPSBhUm9vdC5zbGljZSgwLCBpbmRleCk7XG4gICAgaWYgKGFSb290Lm1hdGNoKC9eKFteXFwvXSs6XFwvKT9cXC8qJC8pKSB7XG4gICAgICByZXR1cm4gYVBhdGg7XG4gICAgfVxuXG4gICAgKytsZXZlbDtcbiAgfVxuXG4gIC8vIE1ha2Ugc3VyZSB3ZSBhZGQgYSBcIi4uL1wiIGZvciBlYWNoIGNvbXBvbmVudCB3ZSByZW1vdmVkIGZyb20gdGhlIHJvb3QuXG4gIHJldHVybiBBcnJheShsZXZlbCArIDEpLmpvaW4oXCIuLi9cIikgKyBhUGF0aC5zdWJzdHIoYVJvb3QubGVuZ3RoICsgMSk7XG59XG5leHBvcnRzLnJlbGF0aXZlID0gcmVsYXRpdmU7XG5cbnZhciBzdXBwb3J0c051bGxQcm90byA9IChmdW5jdGlvbiAoKSB7XG4gIHZhciBvYmogPSBPYmplY3QuY3JlYXRlKG51bGwpO1xuICByZXR1cm4gISgnX19wcm90b19fJyBpbiBvYmopO1xufSgpKTtcblxuZnVuY3Rpb24gaWRlbnRpdHkgKHMpIHtcbiAgcmV0dXJuIHM7XG59XG5cbi8qKlxuICogQmVjYXVzZSBiZWhhdmlvciBnb2VzIHdhY2t5IHdoZW4geW91IHNldCBgX19wcm90b19fYCBvbiBvYmplY3RzLCB3ZVxuICogaGF2ZSB0byBwcmVmaXggYWxsIHRoZSBzdHJpbmdzIGluIG91ciBzZXQgd2l0aCBhbiBhcmJpdHJhcnkgY2hhcmFjdGVyLlxuICpcbiAqIFNlZSBodHRwczovL2dpdGh1Yi5jb20vbW96aWxsYS9zb3VyY2UtbWFwL3B1bGwvMzEgYW5kXG4gKiBodHRwczovL2dpdGh1Yi5jb20vbW96aWxsYS9zb3VyY2UtbWFwL2lzc3Vlcy8zMFxuICpcbiAqIEBwYXJhbSBTdHJpbmcgYVN0clxuICovXG5mdW5jdGlvbiB0b1NldFN0cmluZyhhU3RyKSB7XG4gIGlmIChpc1Byb3RvU3RyaW5nKGFTdHIpKSB7XG4gICAgcmV0dXJuICckJyArIGFTdHI7XG4gIH1cblxuICByZXR1cm4gYVN0cjtcbn1cbmV4cG9ydHMudG9TZXRTdHJpbmcgPSBzdXBwb3J0c051bGxQcm90byA/IGlkZW50aXR5IDogdG9TZXRTdHJpbmc7XG5cbmZ1bmN0aW9uIGZyb21TZXRTdHJpbmcoYVN0cikge1xuICBpZiAoaXNQcm90b1N0cmluZyhhU3RyKSkge1xuICAgIHJldHVybiBhU3RyLnNsaWNlKDEpO1xuICB9XG5cbiAgcmV0dXJuIGFTdHI7XG59XG5leHBvcnRzLmZyb21TZXRTdHJpbmcgPSBzdXBwb3J0c051bGxQcm90byA/IGlkZW50aXR5IDogZnJvbVNldFN0cmluZztcblxuZnVuY3Rpb24gaXNQcm90b1N0cmluZyhzKSB7XG4gIGlmICghcykge1xuICAgIHJldHVybiBmYWxzZTtcbiAgfVxuXG4gIHZhciBsZW5ndGggPSBzLmxlbmd0aDtcblxuICBpZiAobGVuZ3RoIDwgOSAvKiBcIl9fcHJvdG9fX1wiLmxlbmd0aCAqLykge1xuICAgIHJldHVybiBmYWxzZTtcbiAgfVxuXG4gIGlmIChzLmNoYXJDb2RlQXQobGVuZ3RoIC0gMSkgIT09IDk1ICAvKiAnXycgKi8gfHxcbiAgICAgIHMuY2hhckNvZGVBdChsZW5ndGggLSAyKSAhPT0gOTUgIC8qICdfJyAqLyB8fFxuICAgICAgcy5jaGFyQ29kZUF0KGxlbmd0aCAtIDMpICE9PSAxMTEgLyogJ28nICovIHx8XG4gICAgICBzLmNoYXJDb2RlQXQobGVuZ3RoIC0gNCkgIT09IDExNiAvKiAndCcgKi8gfHxcbiAgICAgIHMuY2hhckNvZGVBdChsZW5ndGggLSA1KSAhPT0gMTExIC8qICdvJyAqLyB8fFxuICAgICAgcy5jaGFyQ29kZUF0KGxlbmd0aCAtIDYpICE9PSAxMTQgLyogJ3InICovIHx8XG4gICAgICBzLmNoYXJDb2RlQXQobGVuZ3RoIC0gNykgIT09IDExMiAvKiAncCcgKi8gfHxcbiAgICAgIHMuY2hhckNvZGVBdChsZW5ndGggLSA4KSAhPT0gOTUgIC8qICdfJyAqLyB8fFxuICAgICAgcy5jaGFyQ29kZUF0KGxlbmd0aCAtIDkpICE9PSA5NSAgLyogJ18nICovKSB7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG5cbiAgZm9yICh2YXIgaSA9IGxlbmd0aCAtIDEwOyBpID49IDA7IGktLSkge1xuICAgIGlmIChzLmNoYXJDb2RlQXQoaSkgIT09IDM2IC8qICckJyAqLykge1xuICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiB0cnVlO1xufVxuXG4vKipcbiAqIENvbXBhcmF0b3IgYmV0d2VlbiB0d28gbWFwcGluZ3Mgd2hlcmUgdGhlIG9yaWdpbmFsIHBvc2l0aW9ucyBhcmUgY29tcGFyZWQuXG4gKlxuICogT3B0aW9uYWxseSBwYXNzIGluIGB0cnVlYCBhcyBgb25seUNvbXBhcmVHZW5lcmF0ZWRgIHRvIGNvbnNpZGVyIHR3b1xuICogbWFwcGluZ3Mgd2l0aCB0aGUgc2FtZSBvcmlnaW5hbCBzb3VyY2UvbGluZS9jb2x1bW4sIGJ1dCBkaWZmZXJlbnQgZ2VuZXJhdGVkXG4gKiBsaW5lIGFuZCBjb2x1bW4gdGhlIHNhbWUuIFVzZWZ1bCB3aGVuIHNlYXJjaGluZyBmb3IgYSBtYXBwaW5nIHdpdGggYVxuICogc3R1YmJlZCBvdXQgbWFwcGluZy5cbiAqL1xuZnVuY3Rpb24gY29tcGFyZUJ5T3JpZ2luYWxQb3NpdGlvbnMobWFwcGluZ0EsIG1hcHBpbmdCLCBvbmx5Q29tcGFyZU9yaWdpbmFsKSB7XG4gIHZhciBjbXAgPSBtYXBwaW5nQS5zb3VyY2UgLSBtYXBwaW5nQi5zb3VyY2U7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0Eub3JpZ2luYWxMaW5lIC0gbWFwcGluZ0Iub3JpZ2luYWxMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLm9yaWdpbmFsQ29sdW1uIC0gbWFwcGluZ0Iub3JpZ2luYWxDb2x1bW47XG4gIGlmIChjbXAgIT09IDAgfHwgb25seUNvbXBhcmVPcmlnaW5hbCkge1xuICAgIHJldHVybiBjbXA7XG4gIH1cblxuICBjbXAgPSBtYXBwaW5nQS5nZW5lcmF0ZWRDb2x1bW4gLSBtYXBwaW5nQi5nZW5lcmF0ZWRDb2x1bW47XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0EuZ2VuZXJhdGVkTGluZSAtIG1hcHBpbmdCLmdlbmVyYXRlZExpbmU7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgcmV0dXJuIG1hcHBpbmdBLm5hbWUgLSBtYXBwaW5nQi5uYW1lO1xufVxuZXhwb3J0cy5jb21wYXJlQnlPcmlnaW5hbFBvc2l0aW9ucyA9IGNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zO1xuXG4vKipcbiAqIENvbXBhcmF0b3IgYmV0d2VlbiB0d28gbWFwcGluZ3Mgd2l0aCBkZWZsYXRlZCBzb3VyY2UgYW5kIG5hbWUgaW5kaWNlcyB3aGVyZVxuICogdGhlIGdlbmVyYXRlZCBwb3NpdGlvbnMgYXJlIGNvbXBhcmVkLlxuICpcbiAqIE9wdGlvbmFsbHkgcGFzcyBpbiBgdHJ1ZWAgYXMgYG9ubHlDb21wYXJlR2VuZXJhdGVkYCB0byBjb25zaWRlciB0d29cbiAqIG1hcHBpbmdzIHdpdGggdGhlIHNhbWUgZ2VuZXJhdGVkIGxpbmUgYW5kIGNvbHVtbiwgYnV0IGRpZmZlcmVudFxuICogc291cmNlL25hbWUvb3JpZ2luYWwgbGluZSBhbmQgY29sdW1uIHRoZSBzYW1lLiBVc2VmdWwgd2hlbiBzZWFyY2hpbmcgZm9yIGFcbiAqIG1hcHBpbmcgd2l0aCBhIHN0dWJiZWQgb3V0IG1hcHBpbmcuXG4gKi9cbmZ1bmN0aW9uIGNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0RlZmxhdGVkKG1hcHBpbmdBLCBtYXBwaW5nQiwgb25seUNvbXBhcmVHZW5lcmF0ZWQpIHtcbiAgdmFyIGNtcCA9IG1hcHBpbmdBLmdlbmVyYXRlZExpbmUgLSBtYXBwaW5nQi5nZW5lcmF0ZWRMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLmdlbmVyYXRlZENvbHVtbiAtIG1hcHBpbmdCLmdlbmVyYXRlZENvbHVtbjtcbiAgaWYgKGNtcCAhPT0gMCB8fCBvbmx5Q29tcGFyZUdlbmVyYXRlZCkge1xuICAgIHJldHVybiBjbXA7XG4gIH1cblxuICBjbXAgPSBtYXBwaW5nQS5zb3VyY2UgLSBtYXBwaW5nQi5zb3VyY2U7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0Eub3JpZ2luYWxMaW5lIC0gbWFwcGluZ0Iub3JpZ2luYWxMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLm9yaWdpbmFsQ29sdW1uIC0gbWFwcGluZ0Iub3JpZ2luYWxDb2x1bW47XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgcmV0dXJuIG1hcHBpbmdBLm5hbWUgLSBtYXBwaW5nQi5uYW1lO1xufVxuZXhwb3J0cy5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNEZWZsYXRlZCA9IGNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0RlZmxhdGVkO1xuXG5mdW5jdGlvbiBzdHJjbXAoYVN0cjEsIGFTdHIyKSB7XG4gIGlmIChhU3RyMSA9PT0gYVN0cjIpIHtcbiAgICByZXR1cm4gMDtcbiAgfVxuXG4gIGlmIChhU3RyMSA+IGFTdHIyKSB7XG4gICAgcmV0dXJuIDE7XG4gIH1cblxuICByZXR1cm4gLTE7XG59XG5cbi8qKlxuICogQ29tcGFyYXRvciBiZXR3ZWVuIHR3byBtYXBwaW5ncyB3aXRoIGluZmxhdGVkIHNvdXJjZSBhbmQgbmFtZSBzdHJpbmdzIHdoZXJlXG4gKiB0aGUgZ2VuZXJhdGVkIHBvc2l0aW9ucyBhcmUgY29tcGFyZWQuXG4gKi9cbmZ1bmN0aW9uIGNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0luZmxhdGVkKG1hcHBpbmdBLCBtYXBwaW5nQikge1xuICB2YXIgY21wID0gbWFwcGluZ0EuZ2VuZXJhdGVkTGluZSAtIG1hcHBpbmdCLmdlbmVyYXRlZExpbmU7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0EuZ2VuZXJhdGVkQ29sdW1uIC0gbWFwcGluZ0IuZ2VuZXJhdGVkQ29sdW1uO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IHN0cmNtcChtYXBwaW5nQS5zb3VyY2UsIG1hcHBpbmdCLnNvdXJjZSk7XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgY21wID0gbWFwcGluZ0Eub3JpZ2luYWxMaW5lIC0gbWFwcGluZ0Iub3JpZ2luYWxMaW5lO1xuICBpZiAoY21wICE9PSAwKSB7XG4gICAgcmV0dXJuIGNtcDtcbiAgfVxuXG4gIGNtcCA9IG1hcHBpbmdBLm9yaWdpbmFsQ29sdW1uIC0gbWFwcGluZ0Iub3JpZ2luYWxDb2x1bW47XG4gIGlmIChjbXAgIT09IDApIHtcbiAgICByZXR1cm4gY21wO1xuICB9XG5cbiAgcmV0dXJuIHN0cmNtcChtYXBwaW5nQS5uYW1lLCBtYXBwaW5nQi5uYW1lKTtcbn1cbmV4cG9ydHMuY29tcGFyZUJ5R2VuZXJhdGVkUG9zaXRpb25zSW5mbGF0ZWQgPSBjb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNJbmZsYXRlZDtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbGliL3V0aWwuanNcbi8vIG1vZHVsZSBpZCA9IDRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLyogLSotIE1vZGU6IGpzOyBqcy1pbmRlbnQtbGV2ZWw6IDI7IC0qLSAqL1xuLypcbiAqIENvcHlyaWdodCAyMDExIE1vemlsbGEgRm91bmRhdGlvbiBhbmQgY29udHJpYnV0b3JzXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgTmV3IEJTRCBsaWNlbnNlLiBTZWUgTElDRU5TRSBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuXG52YXIgdXRpbCA9IHJlcXVpcmUoJy4vdXRpbCcpO1xudmFyIGhhcyA9IE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHk7XG52YXIgaGFzTmF0aXZlTWFwID0gdHlwZW9mIE1hcCAhPT0gXCJ1bmRlZmluZWRcIjtcblxuLyoqXG4gKiBBIGRhdGEgc3RydWN0dXJlIHdoaWNoIGlzIGEgY29tYmluYXRpb24gb2YgYW4gYXJyYXkgYW5kIGEgc2V0LiBBZGRpbmcgYSBuZXdcbiAqIG1lbWJlciBpcyBPKDEpLCB0ZXN0aW5nIGZvciBtZW1iZXJzaGlwIGlzIE8oMSksIGFuZCBmaW5kaW5nIHRoZSBpbmRleCBvZiBhblxuICogZWxlbWVudCBpcyBPKDEpLiBSZW1vdmluZyBlbGVtZW50cyBmcm9tIHRoZSBzZXQgaXMgbm90IHN1cHBvcnRlZC4gT25seVxuICogc3RyaW5ncyBhcmUgc3VwcG9ydGVkIGZvciBtZW1iZXJzaGlwLlxuICovXG5mdW5jdGlvbiBBcnJheVNldCgpIHtcbiAgdGhpcy5fYXJyYXkgPSBbXTtcbiAgdGhpcy5fc2V0ID0gaGFzTmF0aXZlTWFwID8gbmV3IE1hcCgpIDogT2JqZWN0LmNyZWF0ZShudWxsKTtcbn1cblxuLyoqXG4gKiBTdGF0aWMgbWV0aG9kIGZvciBjcmVhdGluZyBBcnJheVNldCBpbnN0YW5jZXMgZnJvbSBhbiBleGlzdGluZyBhcnJheS5cbiAqL1xuQXJyYXlTZXQuZnJvbUFycmF5ID0gZnVuY3Rpb24gQXJyYXlTZXRfZnJvbUFycmF5KGFBcnJheSwgYUFsbG93RHVwbGljYXRlcykge1xuICB2YXIgc2V0ID0gbmV3IEFycmF5U2V0KCk7XG4gIGZvciAodmFyIGkgPSAwLCBsZW4gPSBhQXJyYXkubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHtcbiAgICBzZXQuYWRkKGFBcnJheVtpXSwgYUFsbG93RHVwbGljYXRlcyk7XG4gIH1cbiAgcmV0dXJuIHNldDtcbn07XG5cbi8qKlxuICogUmV0dXJuIGhvdyBtYW55IHVuaXF1ZSBpdGVtcyBhcmUgaW4gdGhpcyBBcnJheVNldC4gSWYgZHVwbGljYXRlcyBoYXZlIGJlZW5cbiAqIGFkZGVkLCB0aGFuIHRob3NlIGRvIG5vdCBjb3VudCB0b3dhcmRzIHRoZSBzaXplLlxuICpcbiAqIEByZXR1cm5zIE51bWJlclxuICovXG5BcnJheVNldC5wcm90b3R5cGUuc2l6ZSA9IGZ1bmN0aW9uIEFycmF5U2V0X3NpemUoKSB7XG4gIHJldHVybiBoYXNOYXRpdmVNYXAgPyB0aGlzLl9zZXQuc2l6ZSA6IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzKHRoaXMuX3NldCkubGVuZ3RoO1xufTtcblxuLyoqXG4gKiBBZGQgdGhlIGdpdmVuIHN0cmluZyB0byB0aGlzIHNldC5cbiAqXG4gKiBAcGFyYW0gU3RyaW5nIGFTdHJcbiAqL1xuQXJyYXlTZXQucHJvdG90eXBlLmFkZCA9IGZ1bmN0aW9uIEFycmF5U2V0X2FkZChhU3RyLCBhQWxsb3dEdXBsaWNhdGVzKSB7XG4gIHZhciBzU3RyID0gaGFzTmF0aXZlTWFwID8gYVN0ciA6IHV0aWwudG9TZXRTdHJpbmcoYVN0cik7XG4gIHZhciBpc0R1cGxpY2F0ZSA9IGhhc05hdGl2ZU1hcCA/IHRoaXMuaGFzKGFTdHIpIDogaGFzLmNhbGwodGhpcy5fc2V0LCBzU3RyKTtcbiAgdmFyIGlkeCA9IHRoaXMuX2FycmF5Lmxlbmd0aDtcbiAgaWYgKCFpc0R1cGxpY2F0ZSB8fCBhQWxsb3dEdXBsaWNhdGVzKSB7XG4gICAgdGhpcy5fYXJyYXkucHVzaChhU3RyKTtcbiAgfVxuICBpZiAoIWlzRHVwbGljYXRlKSB7XG4gICAgaWYgKGhhc05hdGl2ZU1hcCkge1xuICAgICAgdGhpcy5fc2V0LnNldChhU3RyLCBpZHgpO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLl9zZXRbc1N0cl0gPSBpZHg7XG4gICAgfVxuICB9XG59O1xuXG4vKipcbiAqIElzIHRoZSBnaXZlbiBzdHJpbmcgYSBtZW1iZXIgb2YgdGhpcyBzZXQ/XG4gKlxuICogQHBhcmFtIFN0cmluZyBhU3RyXG4gKi9cbkFycmF5U2V0LnByb3RvdHlwZS5oYXMgPSBmdW5jdGlvbiBBcnJheVNldF9oYXMoYVN0cikge1xuICBpZiAoaGFzTmF0aXZlTWFwKSB7XG4gICAgcmV0dXJuIHRoaXMuX3NldC5oYXMoYVN0cik7XG4gIH0gZWxzZSB7XG4gICAgdmFyIHNTdHIgPSB1dGlsLnRvU2V0U3RyaW5nKGFTdHIpO1xuICAgIHJldHVybiBoYXMuY2FsbCh0aGlzLl9zZXQsIHNTdHIpO1xuICB9XG59O1xuXG4vKipcbiAqIFdoYXQgaXMgdGhlIGluZGV4IG9mIHRoZSBnaXZlbiBzdHJpbmcgaW4gdGhlIGFycmF5P1xuICpcbiAqIEBwYXJhbSBTdHJpbmcgYVN0clxuICovXG5BcnJheVNldC5wcm90b3R5cGUuaW5kZXhPZiA9IGZ1bmN0aW9uIEFycmF5U2V0X2luZGV4T2YoYVN0cikge1xuICBpZiAoaGFzTmF0aXZlTWFwKSB7XG4gICAgdmFyIGlkeCA9IHRoaXMuX3NldC5nZXQoYVN0cik7XG4gICAgaWYgKGlkeCA+PSAwKSB7XG4gICAgICAgIHJldHVybiBpZHg7XG4gICAgfVxuICB9IGVsc2Uge1xuICAgIHZhciBzU3RyID0gdXRpbC50b1NldFN0cmluZyhhU3RyKTtcbiAgICBpZiAoaGFzLmNhbGwodGhpcy5fc2V0LCBzU3RyKSkge1xuICAgICAgcmV0dXJuIHRoaXMuX3NldFtzU3RyXTtcbiAgICB9XG4gIH1cblxuICB0aHJvdyBuZXcgRXJyb3IoJ1wiJyArIGFTdHIgKyAnXCIgaXMgbm90IGluIHRoZSBzZXQuJyk7XG59O1xuXG4vKipcbiAqIFdoYXQgaXMgdGhlIGVsZW1lbnQgYXQgdGhlIGdpdmVuIGluZGV4P1xuICpcbiAqIEBwYXJhbSBOdW1iZXIgYUlkeFxuICovXG5BcnJheVNldC5wcm90b3R5cGUuYXQgPSBmdW5jdGlvbiBBcnJheVNldF9hdChhSWR4KSB7XG4gIGlmIChhSWR4ID49IDAgJiYgYUlkeCA8IHRoaXMuX2FycmF5Lmxlbmd0aCkge1xuICAgIHJldHVybiB0aGlzLl9hcnJheVthSWR4XTtcbiAgfVxuICB0aHJvdyBuZXcgRXJyb3IoJ05vIGVsZW1lbnQgaW5kZXhlZCBieSAnICsgYUlkeCk7XG59O1xuXG4vKipcbiAqIFJldHVybnMgdGhlIGFycmF5IHJlcHJlc2VudGF0aW9uIG9mIHRoaXMgc2V0ICh3aGljaCBoYXMgdGhlIHByb3BlciBpbmRpY2VzXG4gKiBpbmRpY2F0ZWQgYnkgaW5kZXhPZikuIE5vdGUgdGhhdCB0aGlzIGlzIGEgY29weSBvZiB0aGUgaW50ZXJuYWwgYXJyYXkgdXNlZFxuICogZm9yIHN0b3JpbmcgdGhlIG1lbWJlcnMgc28gdGhhdCBubyBvbmUgY2FuIG1lc3Mgd2l0aCBpbnRlcm5hbCBzdGF0ZS5cbiAqL1xuQXJyYXlTZXQucHJvdG90eXBlLnRvQXJyYXkgPSBmdW5jdGlvbiBBcnJheVNldF90b0FycmF5KCkge1xuICByZXR1cm4gdGhpcy5fYXJyYXkuc2xpY2UoKTtcbn07XG5cbmV4cG9ydHMuQXJyYXlTZXQgPSBBcnJheVNldDtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbGliL2FycmF5LXNldC5qc1xuLy8gbW9kdWxlIGlkID0gNVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTQgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbnZhciB1dGlsID0gcmVxdWlyZSgnLi91dGlsJyk7XG5cbi8qKlxuICogRGV0ZXJtaW5lIHdoZXRoZXIgbWFwcGluZ0IgaXMgYWZ0ZXIgbWFwcGluZ0Egd2l0aCByZXNwZWN0IHRvIGdlbmVyYXRlZFxuICogcG9zaXRpb24uXG4gKi9cbmZ1bmN0aW9uIGdlbmVyYXRlZFBvc2l0aW9uQWZ0ZXIobWFwcGluZ0EsIG1hcHBpbmdCKSB7XG4gIC8vIE9wdGltaXplZCBmb3IgbW9zdCBjb21tb24gY2FzZVxuICB2YXIgbGluZUEgPSBtYXBwaW5nQS5nZW5lcmF0ZWRMaW5lO1xuICB2YXIgbGluZUIgPSBtYXBwaW5nQi5nZW5lcmF0ZWRMaW5lO1xuICB2YXIgY29sdW1uQSA9IG1hcHBpbmdBLmdlbmVyYXRlZENvbHVtbjtcbiAgdmFyIGNvbHVtbkIgPSBtYXBwaW5nQi5nZW5lcmF0ZWRDb2x1bW47XG4gIHJldHVybiBsaW5lQiA+IGxpbmVBIHx8IGxpbmVCID09IGxpbmVBICYmIGNvbHVtbkIgPj0gY29sdW1uQSB8fFxuICAgICAgICAgdXRpbC5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNJbmZsYXRlZChtYXBwaW5nQSwgbWFwcGluZ0IpIDw9IDA7XG59XG5cbi8qKlxuICogQSBkYXRhIHN0cnVjdHVyZSB0byBwcm92aWRlIGEgc29ydGVkIHZpZXcgb2YgYWNjdW11bGF0ZWQgbWFwcGluZ3MgaW4gYVxuICogcGVyZm9ybWFuY2UgY29uc2Npb3VzIG1hbm5lci4gSXQgdHJhZGVzIGEgbmVnbGliYWJsZSBvdmVyaGVhZCBpbiBnZW5lcmFsXG4gKiBjYXNlIGZvciBhIGxhcmdlIHNwZWVkdXAgaW4gY2FzZSBvZiBtYXBwaW5ncyBiZWluZyBhZGRlZCBpbiBvcmRlci5cbiAqL1xuZnVuY3Rpb24gTWFwcGluZ0xpc3QoKSB7XG4gIHRoaXMuX2FycmF5ID0gW107XG4gIHRoaXMuX3NvcnRlZCA9IHRydWU7XG4gIC8vIFNlcnZlcyBhcyBpbmZpbXVtXG4gIHRoaXMuX2xhc3QgPSB7Z2VuZXJhdGVkTGluZTogLTEsIGdlbmVyYXRlZENvbHVtbjogMH07XG59XG5cbi8qKlxuICogSXRlcmF0ZSB0aHJvdWdoIGludGVybmFsIGl0ZW1zLiBUaGlzIG1ldGhvZCB0YWtlcyB0aGUgc2FtZSBhcmd1bWVudHMgdGhhdFxuICogYEFycmF5LnByb3RvdHlwZS5mb3JFYWNoYCB0YWtlcy5cbiAqXG4gKiBOT1RFOiBUaGUgb3JkZXIgb2YgdGhlIG1hcHBpbmdzIGlzIE5PVCBndWFyYW50ZWVkLlxuICovXG5NYXBwaW5nTGlzdC5wcm90b3R5cGUudW5zb3J0ZWRGb3JFYWNoID1cbiAgZnVuY3Rpb24gTWFwcGluZ0xpc3RfZm9yRWFjaChhQ2FsbGJhY2ssIGFUaGlzQXJnKSB7XG4gICAgdGhpcy5fYXJyYXkuZm9yRWFjaChhQ2FsbGJhY2ssIGFUaGlzQXJnKTtcbiAgfTtcblxuLyoqXG4gKiBBZGQgdGhlIGdpdmVuIHNvdXJjZSBtYXBwaW5nLlxuICpcbiAqIEBwYXJhbSBPYmplY3QgYU1hcHBpbmdcbiAqL1xuTWFwcGluZ0xpc3QucHJvdG90eXBlLmFkZCA9IGZ1bmN0aW9uIE1hcHBpbmdMaXN0X2FkZChhTWFwcGluZykge1xuICBpZiAoZ2VuZXJhdGVkUG9zaXRpb25BZnRlcih0aGlzLl9sYXN0LCBhTWFwcGluZykpIHtcbiAgICB0aGlzLl9sYXN0ID0gYU1hcHBpbmc7XG4gICAgdGhpcy5fYXJyYXkucHVzaChhTWFwcGluZyk7XG4gIH0gZWxzZSB7XG4gICAgdGhpcy5fc29ydGVkID0gZmFsc2U7XG4gICAgdGhpcy5fYXJyYXkucHVzaChhTWFwcGluZyk7XG4gIH1cbn07XG5cbi8qKlxuICogUmV0dXJucyB0aGUgZmxhdCwgc29ydGVkIGFycmF5IG9mIG1hcHBpbmdzLiBUaGUgbWFwcGluZ3MgYXJlIHNvcnRlZCBieVxuICogZ2VuZXJhdGVkIHBvc2l0aW9uLlxuICpcbiAqIFdBUk5JTkc6IFRoaXMgbWV0aG9kIHJldHVybnMgaW50ZXJuYWwgZGF0YSB3aXRob3V0IGNvcHlpbmcsIGZvclxuICogcGVyZm9ybWFuY2UuIFRoZSByZXR1cm4gdmFsdWUgbXVzdCBOT1QgYmUgbXV0YXRlZCwgYW5kIHNob3VsZCBiZSB0cmVhdGVkIGFzXG4gKiBhbiBpbW11dGFibGUgYm9ycm93LiBJZiB5b3Ugd2FudCB0byB0YWtlIG93bmVyc2hpcCwgeW91IG11c3QgbWFrZSB5b3VyIG93blxuICogY29weS5cbiAqL1xuTWFwcGluZ0xpc3QucHJvdG90eXBlLnRvQXJyYXkgPSBmdW5jdGlvbiBNYXBwaW5nTGlzdF90b0FycmF5KCkge1xuICBpZiAoIXRoaXMuX3NvcnRlZCkge1xuICAgIHRoaXMuX2FycmF5LnNvcnQodXRpbC5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNJbmZsYXRlZCk7XG4gICAgdGhpcy5fc29ydGVkID0gdHJ1ZTtcbiAgfVxuICByZXR1cm4gdGhpcy5fYXJyYXk7XG59O1xuXG5leHBvcnRzLk1hcHBpbmdMaXN0ID0gTWFwcGluZ0xpc3Q7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL2xpYi9tYXBwaW5nLWxpc3QuanNcbi8vIG1vZHVsZSBpZCA9IDZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLyogLSotIE1vZGU6IGpzOyBqcy1pbmRlbnQtbGV2ZWw6IDI7IC0qLSAqL1xuLypcbiAqIENvcHlyaWdodCAyMDExIE1vemlsbGEgRm91bmRhdGlvbiBhbmQgY29udHJpYnV0b3JzXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgTmV3IEJTRCBsaWNlbnNlLiBTZWUgTElDRU5TRSBvcjpcbiAqIGh0dHA6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9CU0QtMy1DbGF1c2VcbiAqL1xuXG52YXIgdXRpbCA9IHJlcXVpcmUoJy4vdXRpbCcpO1xudmFyIGJpbmFyeVNlYXJjaCA9IHJlcXVpcmUoJy4vYmluYXJ5LXNlYXJjaCcpO1xudmFyIEFycmF5U2V0ID0gcmVxdWlyZSgnLi9hcnJheS1zZXQnKS5BcnJheVNldDtcbnZhciBiYXNlNjRWTFEgPSByZXF1aXJlKCcuL2Jhc2U2NC12bHEnKTtcbnZhciBxdWlja1NvcnQgPSByZXF1aXJlKCcuL3F1aWNrLXNvcnQnKS5xdWlja1NvcnQ7XG5cbmZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyKGFTb3VyY2VNYXApIHtcbiAgdmFyIHNvdXJjZU1hcCA9IGFTb3VyY2VNYXA7XG4gIGlmICh0eXBlb2YgYVNvdXJjZU1hcCA9PT0gJ3N0cmluZycpIHtcbiAgICBzb3VyY2VNYXAgPSBKU09OLnBhcnNlKGFTb3VyY2VNYXAucmVwbGFjZSgvXlxcKVxcXVxcfScvLCAnJykpO1xuICB9XG5cbiAgcmV0dXJuIHNvdXJjZU1hcC5zZWN0aW9ucyAhPSBudWxsXG4gICAgPyBuZXcgSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyKHNvdXJjZU1hcClcbiAgICA6IG5ldyBCYXNpY1NvdXJjZU1hcENvbnN1bWVyKHNvdXJjZU1hcCk7XG59XG5cblNvdXJjZU1hcENvbnN1bWVyLmZyb21Tb3VyY2VNYXAgPSBmdW5jdGlvbihhU291cmNlTWFwKSB7XG4gIHJldHVybiBCYXNpY1NvdXJjZU1hcENvbnN1bWVyLmZyb21Tb3VyY2VNYXAoYVNvdXJjZU1hcCk7XG59XG5cbi8qKlxuICogVGhlIHZlcnNpb24gb2YgdGhlIHNvdXJjZSBtYXBwaW5nIHNwZWMgdGhhdCB3ZSBhcmUgY29uc3VtaW5nLlxuICovXG5Tb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3ZlcnNpb24gPSAzO1xuXG4vLyBgX19nZW5lcmF0ZWRNYXBwaW5nc2AgYW5kIGBfX29yaWdpbmFsTWFwcGluZ3NgIGFyZSBhcnJheXMgdGhhdCBob2xkIHRoZVxuLy8gcGFyc2VkIG1hcHBpbmcgY29vcmRpbmF0ZXMgZnJvbSB0aGUgc291cmNlIG1hcCdzIFwibWFwcGluZ3NcIiBhdHRyaWJ1dGUuIFRoZXlcbi8vIGFyZSBsYXppbHkgaW5zdGFudGlhdGVkLCBhY2Nlc3NlZCB2aWEgdGhlIGBfZ2VuZXJhdGVkTWFwcGluZ3NgIGFuZFxuLy8gYF9vcmlnaW5hbE1hcHBpbmdzYCBnZXR0ZXJzIHJlc3BlY3RpdmVseSwgYW5kIHdlIG9ubHkgcGFyc2UgdGhlIG1hcHBpbmdzXG4vLyBhbmQgY3JlYXRlIHRoZXNlIGFycmF5cyBvbmNlIHF1ZXJpZWQgZm9yIGEgc291cmNlIGxvY2F0aW9uLiBXZSBqdW1wIHRocm91Z2hcbi8vIHRoZXNlIGhvb3BzIGJlY2F1c2UgdGhlcmUgY2FuIGJlIG1hbnkgdGhvdXNhbmRzIG9mIG1hcHBpbmdzLCBhbmQgcGFyc2luZ1xuLy8gdGhlbSBpcyBleHBlbnNpdmUsIHNvIHdlIG9ubHkgd2FudCB0byBkbyBpdCBpZiB3ZSBtdXN0LlxuLy9cbi8vIEVhY2ggb2JqZWN0IGluIHRoZSBhcnJheXMgaXMgb2YgdGhlIGZvcm06XG4vL1xuLy8gICAgIHtcbi8vICAgICAgIGdlbmVyYXRlZExpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIGNvZGUsXG4vLyAgICAgICBnZW5lcmF0ZWRDb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgY29kZSxcbi8vICAgICAgIHNvdXJjZTogVGhlIHBhdGggdG8gdGhlIG9yaWdpbmFsIHNvdXJjZSBmaWxlIHRoYXQgZ2VuZXJhdGVkIHRoaXNcbi8vICAgICAgICAgICAgICAgY2h1bmsgb2YgY29kZSxcbi8vICAgICAgIG9yaWdpbmFsTGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UgdGhhdFxuLy8gICAgICAgICAgICAgICAgICAgICBjb3JyZXNwb25kcyB0byB0aGlzIGNodW5rIG9mIGdlbmVyYXRlZCBjb2RlLFxuLy8gICAgICAgb3JpZ2luYWxDb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UgdGhhdFxuLy8gICAgICAgICAgICAgICAgICAgICAgIGNvcnJlc3BvbmRzIHRvIHRoaXMgY2h1bmsgb2YgZ2VuZXJhdGVkIGNvZGUsXG4vLyAgICAgICBuYW1lOiBUaGUgbmFtZSBvZiB0aGUgb3JpZ2luYWwgc3ltYm9sIHdoaWNoIGdlbmVyYXRlZCB0aGlzIGNodW5rIG9mXG4vLyAgICAgICAgICAgICBjb2RlLlxuLy8gICAgIH1cbi8vXG4vLyBBbGwgcHJvcGVydGllcyBleGNlcHQgZm9yIGBnZW5lcmF0ZWRMaW5lYCBhbmQgYGdlbmVyYXRlZENvbHVtbmAgY2FuIGJlXG4vLyBgbnVsbGAuXG4vL1xuLy8gYF9nZW5lcmF0ZWRNYXBwaW5nc2AgaXMgb3JkZXJlZCBieSB0aGUgZ2VuZXJhdGVkIHBvc2l0aW9ucy5cbi8vXG4vLyBgX29yaWdpbmFsTWFwcGluZ3NgIGlzIG9yZGVyZWQgYnkgdGhlIG9yaWdpbmFsIHBvc2l0aW9ucy5cblxuU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLl9fZ2VuZXJhdGVkTWFwcGluZ3MgPSBudWxsO1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZSwgJ19nZW5lcmF0ZWRNYXBwaW5ncycsIHtcbiAgZ2V0OiBmdW5jdGlvbiAoKSB7XG4gICAgaWYgKCF0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3MpIHtcbiAgICAgIHRoaXMuX3BhcnNlTWFwcGluZ3ModGhpcy5fbWFwcGluZ3MsIHRoaXMuc291cmNlUm9vdCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXMuX19nZW5lcmF0ZWRNYXBwaW5ncztcbiAgfVxufSk7XG5cblNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fX29yaWdpbmFsTWFwcGluZ3MgPSBudWxsO1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZSwgJ19vcmlnaW5hbE1hcHBpbmdzJywge1xuICBnZXQ6IGZ1bmN0aW9uICgpIHtcbiAgICBpZiAoIXRoaXMuX19vcmlnaW5hbE1hcHBpbmdzKSB7XG4gICAgICB0aGlzLl9wYXJzZU1hcHBpbmdzKHRoaXMuX21hcHBpbmdzLCB0aGlzLnNvdXJjZVJvb3QpO1xuICAgIH1cblxuICAgIHJldHVybiB0aGlzLl9fb3JpZ2luYWxNYXBwaW5ncztcbiAgfVxufSk7XG5cblNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fY2hhcklzTWFwcGluZ1NlcGFyYXRvciA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX2NoYXJJc01hcHBpbmdTZXBhcmF0b3IoYVN0ciwgaW5kZXgpIHtcbiAgICB2YXIgYyA9IGFTdHIuY2hhckF0KGluZGV4KTtcbiAgICByZXR1cm4gYyA9PT0gXCI7XCIgfHwgYyA9PT0gXCIsXCI7XG4gIH07XG5cbi8qKlxuICogUGFyc2UgdGhlIG1hcHBpbmdzIGluIGEgc3RyaW5nIGluIHRvIGEgZGF0YSBzdHJ1Y3R1cmUgd2hpY2ggd2UgY2FuIGVhc2lseVxuICogcXVlcnkgKHRoZSBvcmRlcmVkIGFycmF5cyBpbiB0aGUgYHRoaXMuX19nZW5lcmF0ZWRNYXBwaW5nc2AgYW5kXG4gKiBgdGhpcy5fX29yaWdpbmFsTWFwcGluZ3NgIHByb3BlcnRpZXMpLlxuICovXG5Tb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3BhcnNlTWFwcGluZ3MgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9wYXJzZU1hcHBpbmdzKGFTdHIsIGFTb3VyY2VSb290KSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFwiU3ViY2xhc3NlcyBtdXN0IGltcGxlbWVudCBfcGFyc2VNYXBwaW5nc1wiKTtcbiAgfTtcblxuU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSID0gMTtcblNvdXJjZU1hcENvbnN1bWVyLk9SSUdJTkFMX09SREVSID0gMjtcblxuU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQgPSAxO1xuU291cmNlTWFwQ29uc3VtZXIuTEVBU1RfVVBQRVJfQk9VTkQgPSAyO1xuXG4vKipcbiAqIEl0ZXJhdGUgb3ZlciBlYWNoIG1hcHBpbmcgYmV0d2VlbiBhbiBvcmlnaW5hbCBzb3VyY2UvbGluZS9jb2x1bW4gYW5kIGFcbiAqIGdlbmVyYXRlZCBsaW5lL2NvbHVtbiBpbiB0aGlzIHNvdXJjZSBtYXAuXG4gKlxuICogQHBhcmFtIEZ1bmN0aW9uIGFDYWxsYmFja1xuICogICAgICAgIFRoZSBmdW5jdGlvbiB0aGF0IGlzIGNhbGxlZCB3aXRoIGVhY2ggbWFwcGluZy5cbiAqIEBwYXJhbSBPYmplY3QgYUNvbnRleHRcbiAqICAgICAgICBPcHRpb25hbC4gSWYgc3BlY2lmaWVkLCB0aGlzIG9iamVjdCB3aWxsIGJlIHRoZSB2YWx1ZSBvZiBgdGhpc2AgZXZlcnlcbiAqICAgICAgICB0aW1lIHRoYXQgYGFDYWxsYmFja2AgaXMgY2FsbGVkLlxuICogQHBhcmFtIGFPcmRlclxuICogICAgICAgIEVpdGhlciBgU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSYCBvclxuICogICAgICAgIGBTb3VyY2VNYXBDb25zdW1lci5PUklHSU5BTF9PUkRFUmAuIFNwZWNpZmllcyB3aGV0aGVyIHlvdSB3YW50IHRvXG4gKiAgICAgICAgaXRlcmF0ZSBvdmVyIHRoZSBtYXBwaW5ncyBzb3J0ZWQgYnkgdGhlIGdlbmVyYXRlZCBmaWxlJ3MgbGluZS9jb2x1bW5cbiAqICAgICAgICBvcmRlciBvciB0aGUgb3JpZ2luYWwncyBzb3VyY2UvbGluZS9jb2x1bW4gb3JkZXIsIHJlc3BlY3RpdmVseS4gRGVmYXVsdHMgdG9cbiAqICAgICAgICBgU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSYC5cbiAqL1xuU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmVhY2hNYXBwaW5nID1cbiAgZnVuY3Rpb24gU291cmNlTWFwQ29uc3VtZXJfZWFjaE1hcHBpbmcoYUNhbGxiYWNrLCBhQ29udGV4dCwgYU9yZGVyKSB7XG4gICAgdmFyIGNvbnRleHQgPSBhQ29udGV4dCB8fCBudWxsO1xuICAgIHZhciBvcmRlciA9IGFPcmRlciB8fCBTb3VyY2VNYXBDb25zdW1lci5HRU5FUkFURURfT1JERVI7XG5cbiAgICB2YXIgbWFwcGluZ3M7XG4gICAgc3dpdGNoIChvcmRlcikge1xuICAgIGNhc2UgU291cmNlTWFwQ29uc3VtZXIuR0VORVJBVEVEX09SREVSOlxuICAgICAgbWFwcGluZ3MgPSB0aGlzLl9nZW5lcmF0ZWRNYXBwaW5ncztcbiAgICAgIGJyZWFrO1xuICAgIGNhc2UgU291cmNlTWFwQ29uc3VtZXIuT1JJR0lOQUxfT1JERVI6XG4gICAgICBtYXBwaW5ncyA9IHRoaXMuX29yaWdpbmFsTWFwcGluZ3M7XG4gICAgICBicmVhaztcbiAgICBkZWZhdWx0OlxuICAgICAgdGhyb3cgbmV3IEVycm9yKFwiVW5rbm93biBvcmRlciBvZiBpdGVyYXRpb24uXCIpO1xuICAgIH1cblxuICAgIHZhciBzb3VyY2VSb290ID0gdGhpcy5zb3VyY2VSb290O1xuICAgIG1hcHBpbmdzLm1hcChmdW5jdGlvbiAobWFwcGluZykge1xuICAgICAgdmFyIHNvdXJjZSA9IG1hcHBpbmcuc291cmNlID09PSBudWxsID8gbnVsbCA6IHRoaXMuX3NvdXJjZXMuYXQobWFwcGluZy5zb3VyY2UpO1xuICAgICAgaWYgKHNvdXJjZSAhPSBudWxsICYmIHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICBzb3VyY2UgPSB1dGlsLmpvaW4oc291cmNlUm9vdCwgc291cmNlKTtcbiAgICAgIH1cbiAgICAgIHJldHVybiB7XG4gICAgICAgIHNvdXJjZTogc291cmNlLFxuICAgICAgICBnZW5lcmF0ZWRMaW5lOiBtYXBwaW5nLmdlbmVyYXRlZExpbmUsXG4gICAgICAgIGdlbmVyYXRlZENvbHVtbjogbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4sXG4gICAgICAgIG9yaWdpbmFsTGluZTogbWFwcGluZy5vcmlnaW5hbExpbmUsXG4gICAgICAgIG9yaWdpbmFsQ29sdW1uOiBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uLFxuICAgICAgICBuYW1lOiBtYXBwaW5nLm5hbWUgPT09IG51bGwgPyBudWxsIDogdGhpcy5fbmFtZXMuYXQobWFwcGluZy5uYW1lKVxuICAgICAgfTtcbiAgICB9LCB0aGlzKS5mb3JFYWNoKGFDYWxsYmFjaywgY29udGV4dCk7XG4gIH07XG5cbi8qKlxuICogUmV0dXJucyBhbGwgZ2VuZXJhdGVkIGxpbmUgYW5kIGNvbHVtbiBpbmZvcm1hdGlvbiBmb3IgdGhlIG9yaWdpbmFsIHNvdXJjZSxcbiAqIGxpbmUsIGFuZCBjb2x1bW4gcHJvdmlkZWQuIElmIG5vIGNvbHVtbiBpcyBwcm92aWRlZCwgcmV0dXJucyBhbGwgbWFwcGluZ3NcbiAqIGNvcnJlc3BvbmRpbmcgdG8gYSBlaXRoZXIgdGhlIGxpbmUgd2UgYXJlIHNlYXJjaGluZyBmb3Igb3IgdGhlIG5leHRcbiAqIGNsb3Nlc3QgbGluZSB0aGF0IGhhcyBhbnkgbWFwcGluZ3MuIE90aGVyd2lzZSwgcmV0dXJucyBhbGwgbWFwcGluZ3NcbiAqIGNvcnJlc3BvbmRpbmcgdG8gdGhlIGdpdmVuIGxpbmUgYW5kIGVpdGhlciB0aGUgY29sdW1uIHdlIGFyZSBzZWFyY2hpbmcgZm9yXG4gKiBvciB0aGUgbmV4dCBjbG9zZXN0IGNvbHVtbiB0aGF0IGhhcyBhbnkgb2Zmc2V0cy5cbiAqXG4gKiBUaGUgb25seSBhcmd1bWVudCBpcyBhbiBvYmplY3Qgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIGZpbGVuYW1lIG9mIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gY29sdW1uOiBPcHRpb25hbC4gdGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIG9yaWdpbmFsIHNvdXJjZS5cbiAqXG4gKiBhbmQgYW4gYXJyYXkgb2Ygb2JqZWN0cyBpcyByZXR1cm5lZCwgZWFjaCB3aXRoIHRoZSBmb2xsb3dpbmcgcHJvcGVydGllczpcbiAqXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLCBvciBudWxsLlxuICogICAtIGNvbHVtbjogVGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIGdlbmVyYXRlZCBzb3VyY2UsIG9yIG51bGwuXG4gKi9cblNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5hbGxHZW5lcmF0ZWRQb3NpdGlvbnNGb3IgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9hbGxHZW5lcmF0ZWRQb3NpdGlvbnNGb3IoYUFyZ3MpIHtcbiAgICB2YXIgbGluZSA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnbGluZScpO1xuXG4gICAgLy8gV2hlbiB0aGVyZSBpcyBubyBleGFjdCBtYXRjaCwgQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX2ZpbmRNYXBwaW5nXG4gICAgLy8gcmV0dXJucyB0aGUgaW5kZXggb2YgdGhlIGNsb3Nlc3QgbWFwcGluZyBsZXNzIHRoYW4gdGhlIG5lZWRsZS4gQnlcbiAgICAvLyBzZXR0aW5nIG5lZWRsZS5vcmlnaW5hbENvbHVtbiB0byAwLCB3ZSB0aHVzIGZpbmQgdGhlIGxhc3QgbWFwcGluZyBmb3JcbiAgICAvLyB0aGUgZ2l2ZW4gbGluZSwgcHJvdmlkZWQgc3VjaCBhIG1hcHBpbmcgZXhpc3RzLlxuICAgIHZhciBuZWVkbGUgPSB7XG4gICAgICBzb3VyY2U6IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJyksXG4gICAgICBvcmlnaW5hbExpbmU6IGxpbmUsXG4gICAgICBvcmlnaW5hbENvbHVtbjogdXRpbC5nZXRBcmcoYUFyZ3MsICdjb2x1bW4nLCAwKVxuICAgIH07XG5cbiAgICBpZiAodGhpcy5zb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgIG5lZWRsZS5zb3VyY2UgPSB1dGlsLnJlbGF0aXZlKHRoaXMuc291cmNlUm9vdCwgbmVlZGxlLnNvdXJjZSk7XG4gICAgfVxuICAgIGlmICghdGhpcy5fc291cmNlcy5oYXMobmVlZGxlLnNvdXJjZSkpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gICAgbmVlZGxlLnNvdXJjZSA9IHRoaXMuX3NvdXJjZXMuaW5kZXhPZihuZWVkbGUuc291cmNlKTtcblxuICAgIHZhciBtYXBwaW5ncyA9IFtdO1xuXG4gICAgdmFyIGluZGV4ID0gdGhpcy5fZmluZE1hcHBpbmcobmVlZGxlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX29yaWdpbmFsTWFwcGluZ3MsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJvcmlnaW5hbExpbmVcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIm9yaWdpbmFsQ29sdW1uXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXRpbC5jb21wYXJlQnlPcmlnaW5hbFBvc2l0aW9ucyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBiaW5hcnlTZWFyY2guTEVBU1RfVVBQRVJfQk9VTkQpO1xuICAgIGlmIChpbmRleCA+PSAwKSB7XG4gICAgICB2YXIgbWFwcGluZyA9IHRoaXMuX29yaWdpbmFsTWFwcGluZ3NbaW5kZXhdO1xuXG4gICAgICBpZiAoYUFyZ3MuY29sdW1uID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgdmFyIG9yaWdpbmFsTGluZSA9IG1hcHBpbmcub3JpZ2luYWxMaW5lO1xuXG4gICAgICAgIC8vIEl0ZXJhdGUgdW50aWwgZWl0aGVyIHdlIHJ1biBvdXQgb2YgbWFwcGluZ3MsIG9yIHdlIHJ1biBpbnRvXG4gICAgICAgIC8vIGEgbWFwcGluZyBmb3IgYSBkaWZmZXJlbnQgbGluZSB0aGFuIHRoZSBvbmUgd2UgZm91bmQuIFNpbmNlXG4gICAgICAgIC8vIG1hcHBpbmdzIGFyZSBzb3J0ZWQsIHRoaXMgaXMgZ3VhcmFudGVlZCB0byBmaW5kIGFsbCBtYXBwaW5ncyBmb3JcbiAgICAgICAgLy8gdGhlIGxpbmUgd2UgZm91bmQuXG4gICAgICAgIHdoaWxlIChtYXBwaW5nICYmIG1hcHBpbmcub3JpZ2luYWxMaW5lID09PSBvcmlnaW5hbExpbmUpIHtcbiAgICAgICAgICBtYXBwaW5ncy5wdXNoKHtcbiAgICAgICAgICAgIGxpbmU6IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRMaW5lJywgbnVsbCksXG4gICAgICAgICAgICBjb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRDb2x1bW4nLCBudWxsKSxcbiAgICAgICAgICAgIGxhc3RDb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdsYXN0R2VuZXJhdGVkQ29sdW1uJywgbnVsbClcbiAgICAgICAgICB9KTtcblxuICAgICAgICAgIG1hcHBpbmcgPSB0aGlzLl9vcmlnaW5hbE1hcHBpbmdzWysraW5kZXhdO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB2YXIgb3JpZ2luYWxDb2x1bW4gPSBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uO1xuXG4gICAgICAgIC8vIEl0ZXJhdGUgdW50aWwgZWl0aGVyIHdlIHJ1biBvdXQgb2YgbWFwcGluZ3MsIG9yIHdlIHJ1biBpbnRvXG4gICAgICAgIC8vIGEgbWFwcGluZyBmb3IgYSBkaWZmZXJlbnQgbGluZSB0aGFuIHRoZSBvbmUgd2Ugd2VyZSBzZWFyY2hpbmcgZm9yLlxuICAgICAgICAvLyBTaW5jZSBtYXBwaW5ncyBhcmUgc29ydGVkLCB0aGlzIGlzIGd1YXJhbnRlZWQgdG8gZmluZCBhbGwgbWFwcGluZ3MgZm9yXG4gICAgICAgIC8vIHRoZSBsaW5lIHdlIGFyZSBzZWFyY2hpbmcgZm9yLlxuICAgICAgICB3aGlsZSAobWFwcGluZyAmJlxuICAgICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbExpbmUgPT09IGxpbmUgJiZcbiAgICAgICAgICAgICAgIG1hcHBpbmcub3JpZ2luYWxDb2x1bW4gPT0gb3JpZ2luYWxDb2x1bW4pIHtcbiAgICAgICAgICBtYXBwaW5ncy5wdXNoKHtcbiAgICAgICAgICAgIGxpbmU6IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRMaW5lJywgbnVsbCksXG4gICAgICAgICAgICBjb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdnZW5lcmF0ZWRDb2x1bW4nLCBudWxsKSxcbiAgICAgICAgICAgIGxhc3RDb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdsYXN0R2VuZXJhdGVkQ29sdW1uJywgbnVsbClcbiAgICAgICAgICB9KTtcblxuICAgICAgICAgIG1hcHBpbmcgPSB0aGlzLl9vcmlnaW5hbE1hcHBpbmdzWysraW5kZXhdO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIG1hcHBpbmdzO1xuICB9O1xuXG5leHBvcnRzLlNvdXJjZU1hcENvbnN1bWVyID0gU291cmNlTWFwQ29uc3VtZXI7XG5cbi8qKlxuICogQSBCYXNpY1NvdXJjZU1hcENvbnN1bWVyIGluc3RhbmNlIHJlcHJlc2VudHMgYSBwYXJzZWQgc291cmNlIG1hcCB3aGljaCB3ZSBjYW5cbiAqIHF1ZXJ5IGZvciBpbmZvcm1hdGlvbiBhYm91dCB0aGUgb3JpZ2luYWwgZmlsZSBwb3NpdGlvbnMgYnkgZ2l2aW5nIGl0IGEgZmlsZVxuICogcG9zaXRpb24gaW4gdGhlIGdlbmVyYXRlZCBzb3VyY2UuXG4gKlxuICogVGhlIG9ubHkgcGFyYW1ldGVyIGlzIHRoZSByYXcgc291cmNlIG1hcCAoZWl0aGVyIGFzIGEgSlNPTiBzdHJpbmcsIG9yXG4gKiBhbHJlYWR5IHBhcnNlZCB0byBhbiBvYmplY3QpLiBBY2NvcmRpbmcgdG8gdGhlIHNwZWMsIHNvdXJjZSBtYXBzIGhhdmUgdGhlXG4gKiBmb2xsb3dpbmcgYXR0cmlidXRlczpcbiAqXG4gKiAgIC0gdmVyc2lvbjogV2hpY2ggdmVyc2lvbiBvZiB0aGUgc291cmNlIG1hcCBzcGVjIHRoaXMgbWFwIGlzIGZvbGxvd2luZy5cbiAqICAgLSBzb3VyY2VzOiBBbiBhcnJheSBvZiBVUkxzIHRvIHRoZSBvcmlnaW5hbCBzb3VyY2UgZmlsZXMuXG4gKiAgIC0gbmFtZXM6IEFuIGFycmF5IG9mIGlkZW50aWZpZXJzIHdoaWNoIGNhbiBiZSByZWZlcnJlbmNlZCBieSBpbmRpdmlkdWFsIG1hcHBpbmdzLlxuICogICAtIHNvdXJjZVJvb3Q6IE9wdGlvbmFsLiBUaGUgVVJMIHJvb3QgZnJvbSB3aGljaCBhbGwgc291cmNlcyBhcmUgcmVsYXRpdmUuXG4gKiAgIC0gc291cmNlc0NvbnRlbnQ6IE9wdGlvbmFsLiBBbiBhcnJheSBvZiBjb250ZW50cyBvZiB0aGUgb3JpZ2luYWwgc291cmNlIGZpbGVzLlxuICogICAtIG1hcHBpbmdzOiBBIHN0cmluZyBvZiBiYXNlNjQgVkxRcyB3aGljaCBjb250YWluIHRoZSBhY3R1YWwgbWFwcGluZ3MuXG4gKiAgIC0gZmlsZTogT3B0aW9uYWwuIFRoZSBnZW5lcmF0ZWQgZmlsZSB0aGlzIHNvdXJjZSBtYXAgaXMgYXNzb2NpYXRlZCB3aXRoLlxuICpcbiAqIEhlcmUgaXMgYW4gZXhhbXBsZSBzb3VyY2UgbWFwLCB0YWtlbiBmcm9tIHRoZSBzb3VyY2UgbWFwIHNwZWNbMF06XG4gKlxuICogICAgIHtcbiAqICAgICAgIHZlcnNpb24gOiAzLFxuICogICAgICAgZmlsZTogXCJvdXQuanNcIixcbiAqICAgICAgIHNvdXJjZVJvb3QgOiBcIlwiLFxuICogICAgICAgc291cmNlczogW1wiZm9vLmpzXCIsIFwiYmFyLmpzXCJdLFxuICogICAgICAgbmFtZXM6IFtcInNyY1wiLCBcIm1hcHNcIiwgXCJhcmVcIiwgXCJmdW5cIl0sXG4gKiAgICAgICBtYXBwaW5nczogXCJBQSxBQjs7QUJDREU7XCJcbiAqICAgICB9XG4gKlxuICogWzBdOiBodHRwczovL2RvY3MuZ29vZ2xlLmNvbS9kb2N1bWVudC9kLzFVMVJHQWVoUXdSeXBVVG92RjFLUmxwaU9GemUwYi1fMmdjNmZBSDBLWTBrL2VkaXQ/cGxpPTEjXG4gKi9cbmZ1bmN0aW9uIEJhc2ljU291cmNlTWFwQ29uc3VtZXIoYVNvdXJjZU1hcCkge1xuICB2YXIgc291cmNlTWFwID0gYVNvdXJjZU1hcDtcbiAgaWYgKHR5cGVvZiBhU291cmNlTWFwID09PSAnc3RyaW5nJykge1xuICAgIHNvdXJjZU1hcCA9IEpTT04ucGFyc2UoYVNvdXJjZU1hcC5yZXBsYWNlKC9eXFwpXFxdXFx9Jy8sICcnKSk7XG4gIH1cblxuICB2YXIgdmVyc2lvbiA9IHV0aWwuZ2V0QXJnKHNvdXJjZU1hcCwgJ3ZlcnNpb24nKTtcbiAgdmFyIHNvdXJjZXMgPSB1dGlsLmdldEFyZyhzb3VyY2VNYXAsICdzb3VyY2VzJyk7XG4gIC8vIFNhc3MgMy4zIGxlYXZlcyBvdXQgdGhlICduYW1lcycgYXJyYXksIHNvIHdlIGRldmlhdGUgZnJvbSB0aGUgc3BlYyAod2hpY2hcbiAgLy8gcmVxdWlyZXMgdGhlIGFycmF5KSB0byBwbGF5IG5pY2UgaGVyZS5cbiAgdmFyIG5hbWVzID0gdXRpbC5nZXRBcmcoc291cmNlTWFwLCAnbmFtZXMnLCBbXSk7XG4gIHZhciBzb3VyY2VSb290ID0gdXRpbC5nZXRBcmcoc291cmNlTWFwLCAnc291cmNlUm9vdCcsIG51bGwpO1xuICB2YXIgc291cmNlc0NvbnRlbnQgPSB1dGlsLmdldEFyZyhzb3VyY2VNYXAsICdzb3VyY2VzQ29udGVudCcsIG51bGwpO1xuICB2YXIgbWFwcGluZ3MgPSB1dGlsLmdldEFyZyhzb3VyY2VNYXAsICdtYXBwaW5ncycpO1xuICB2YXIgZmlsZSA9IHV0aWwuZ2V0QXJnKHNvdXJjZU1hcCwgJ2ZpbGUnLCBudWxsKTtcblxuICAvLyBPbmNlIGFnYWluLCBTYXNzIGRldmlhdGVzIGZyb20gdGhlIHNwZWMgYW5kIHN1cHBsaWVzIHRoZSB2ZXJzaW9uIGFzIGFcbiAgLy8gc3RyaW5nIHJhdGhlciB0aGFuIGEgbnVtYmVyLCBzbyB3ZSB1c2UgbG9vc2UgZXF1YWxpdHkgY2hlY2tpbmcgaGVyZS5cbiAgaWYgKHZlcnNpb24gIT0gdGhpcy5fdmVyc2lvbikge1xuICAgIHRocm93IG5ldyBFcnJvcignVW5zdXBwb3J0ZWQgdmVyc2lvbjogJyArIHZlcnNpb24pO1xuICB9XG5cbiAgc291cmNlcyA9IHNvdXJjZXNcbiAgICAubWFwKFN0cmluZylcbiAgICAvLyBTb21lIHNvdXJjZSBtYXBzIHByb2R1Y2UgcmVsYXRpdmUgc291cmNlIHBhdGhzIGxpa2UgXCIuL2Zvby5qc1wiIGluc3RlYWQgb2ZcbiAgICAvLyBcImZvby5qc1wiLiAgTm9ybWFsaXplIHRoZXNlIGZpcnN0IHNvIHRoYXQgZnV0dXJlIGNvbXBhcmlzb25zIHdpbGwgc3VjY2VlZC5cbiAgICAvLyBTZWUgYnVnemlsLmxhLzEwOTA3NjguXG4gICAgLm1hcCh1dGlsLm5vcm1hbGl6ZSlcbiAgICAvLyBBbHdheXMgZW5zdXJlIHRoYXQgYWJzb2x1dGUgc291cmNlcyBhcmUgaW50ZXJuYWxseSBzdG9yZWQgcmVsYXRpdmUgdG9cbiAgICAvLyB0aGUgc291cmNlIHJvb3QsIGlmIHRoZSBzb3VyY2Ugcm9vdCBpcyBhYnNvbHV0ZS4gTm90IGRvaW5nIHRoaXMgd291bGRcbiAgICAvLyBiZSBwYXJ0aWN1bGFybHkgcHJvYmxlbWF0aWMgd2hlbiB0aGUgc291cmNlIHJvb3QgaXMgYSBwcmVmaXggb2YgdGhlXG4gICAgLy8gc291cmNlICh2YWxpZCwgYnV0IHdoeT8/KS4gU2VlIGdpdGh1YiBpc3N1ZSAjMTk5IGFuZCBidWd6aWwubGEvMTE4ODk4Mi5cbiAgICAubWFwKGZ1bmN0aW9uIChzb3VyY2UpIHtcbiAgICAgIHJldHVybiBzb3VyY2VSb290ICYmIHV0aWwuaXNBYnNvbHV0ZShzb3VyY2VSb290KSAmJiB1dGlsLmlzQWJzb2x1dGUoc291cmNlKVxuICAgICAgICA/IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgc291cmNlKVxuICAgICAgICA6IHNvdXJjZTtcbiAgICB9KTtcblxuICAvLyBQYXNzIGB0cnVlYCBiZWxvdyB0byBhbGxvdyBkdXBsaWNhdGUgbmFtZXMgYW5kIHNvdXJjZXMuIFdoaWxlIHNvdXJjZSBtYXBzXG4gIC8vIGFyZSBpbnRlbmRlZCB0byBiZSBjb21wcmVzc2VkIGFuZCBkZWR1cGxpY2F0ZWQsIHRoZSBUeXBlU2NyaXB0IGNvbXBpbGVyXG4gIC8vIHNvbWV0aW1lcyBnZW5lcmF0ZXMgc291cmNlIG1hcHMgd2l0aCBkdXBsaWNhdGVzIGluIHRoZW0uIFNlZSBHaXRodWIgaXNzdWVcbiAgLy8gIzcyIGFuZCBidWd6aWwubGEvODg5NDkyLlxuICB0aGlzLl9uYW1lcyA9IEFycmF5U2V0LmZyb21BcnJheShuYW1lcy5tYXAoU3RyaW5nKSwgdHJ1ZSk7XG4gIHRoaXMuX3NvdXJjZXMgPSBBcnJheVNldC5mcm9tQXJyYXkoc291cmNlcywgdHJ1ZSk7XG5cbiAgdGhpcy5zb3VyY2VSb290ID0gc291cmNlUm9vdDtcbiAgdGhpcy5zb3VyY2VzQ29udGVudCA9IHNvdXJjZXNDb250ZW50O1xuICB0aGlzLl9tYXBwaW5ncyA9IG1hcHBpbmdzO1xuICB0aGlzLmZpbGUgPSBmaWxlO1xufVxuXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZSA9IE9iamVjdC5jcmVhdGUoU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlKTtcbkJhc2ljU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmNvbnN1bWVyID0gU291cmNlTWFwQ29uc3VtZXI7XG5cbi8qKlxuICogQ3JlYXRlIGEgQmFzaWNTb3VyY2VNYXBDb25zdW1lciBmcm9tIGEgU291cmNlTWFwR2VuZXJhdG9yLlxuICpcbiAqIEBwYXJhbSBTb3VyY2VNYXBHZW5lcmF0b3IgYVNvdXJjZU1hcFxuICogICAgICAgIFRoZSBzb3VyY2UgbWFwIHRoYXQgd2lsbCBiZSBjb25zdW1lZC5cbiAqIEByZXR1cm5zIEJhc2ljU291cmNlTWFwQ29uc3VtZXJcbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5mcm9tU291cmNlTWFwID1cbiAgZnVuY3Rpb24gU291cmNlTWFwQ29uc3VtZXJfZnJvbVNvdXJjZU1hcChhU291cmNlTWFwKSB7XG4gICAgdmFyIHNtYyA9IE9iamVjdC5jcmVhdGUoQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUpO1xuXG4gICAgdmFyIG5hbWVzID0gc21jLl9uYW1lcyA9IEFycmF5U2V0LmZyb21BcnJheShhU291cmNlTWFwLl9uYW1lcy50b0FycmF5KCksIHRydWUpO1xuICAgIHZhciBzb3VyY2VzID0gc21jLl9zb3VyY2VzID0gQXJyYXlTZXQuZnJvbUFycmF5KGFTb3VyY2VNYXAuX3NvdXJjZXMudG9BcnJheSgpLCB0cnVlKTtcbiAgICBzbWMuc291cmNlUm9vdCA9IGFTb3VyY2VNYXAuX3NvdXJjZVJvb3Q7XG4gICAgc21jLnNvdXJjZXNDb250ZW50ID0gYVNvdXJjZU1hcC5fZ2VuZXJhdGVTb3VyY2VzQ29udGVudChzbWMuX3NvdXJjZXMudG9BcnJheSgpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc21jLnNvdXJjZVJvb3QpO1xuICAgIHNtYy5maWxlID0gYVNvdXJjZU1hcC5fZmlsZTtcblxuICAgIC8vIEJlY2F1c2Ugd2UgYXJlIG1vZGlmeWluZyB0aGUgZW50cmllcyAoYnkgY29udmVydGluZyBzdHJpbmcgc291cmNlcyBhbmRcbiAgICAvLyBuYW1lcyB0byBpbmRpY2VzIGludG8gdGhlIHNvdXJjZXMgYW5kIG5hbWVzIEFycmF5U2V0cyksIHdlIGhhdmUgdG8gbWFrZVxuICAgIC8vIGEgY29weSBvZiB0aGUgZW50cnkgb3IgZWxzZSBiYWQgdGhpbmdzIGhhcHBlbi4gU2hhcmVkIG11dGFibGUgc3RhdGVcbiAgICAvLyBzdHJpa2VzIGFnYWluISBTZWUgZ2l0aHViIGlzc3VlICMxOTEuXG5cbiAgICB2YXIgZ2VuZXJhdGVkTWFwcGluZ3MgPSBhU291cmNlTWFwLl9tYXBwaW5ncy50b0FycmF5KCkuc2xpY2UoKTtcbiAgICB2YXIgZGVzdEdlbmVyYXRlZE1hcHBpbmdzID0gc21jLl9fZ2VuZXJhdGVkTWFwcGluZ3MgPSBbXTtcbiAgICB2YXIgZGVzdE9yaWdpbmFsTWFwcGluZ3MgPSBzbWMuX19vcmlnaW5hbE1hcHBpbmdzID0gW107XG5cbiAgICBmb3IgKHZhciBpID0gMCwgbGVuZ3RoID0gZ2VuZXJhdGVkTWFwcGluZ3MubGVuZ3RoOyBpIDwgbGVuZ3RoOyBpKyspIHtcbiAgICAgIHZhciBzcmNNYXBwaW5nID0gZ2VuZXJhdGVkTWFwcGluZ3NbaV07XG4gICAgICB2YXIgZGVzdE1hcHBpbmcgPSBuZXcgTWFwcGluZztcbiAgICAgIGRlc3RNYXBwaW5nLmdlbmVyYXRlZExpbmUgPSBzcmNNYXBwaW5nLmdlbmVyYXRlZExpbmU7XG4gICAgICBkZXN0TWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4gPSBzcmNNYXBwaW5nLmdlbmVyYXRlZENvbHVtbjtcblxuICAgICAgaWYgKHNyY01hcHBpbmcuc291cmNlKSB7XG4gICAgICAgIGRlc3RNYXBwaW5nLnNvdXJjZSA9IHNvdXJjZXMuaW5kZXhPZihzcmNNYXBwaW5nLnNvdXJjZSk7XG4gICAgICAgIGRlc3RNYXBwaW5nLm9yaWdpbmFsTGluZSA9IHNyY01hcHBpbmcub3JpZ2luYWxMaW5lO1xuICAgICAgICBkZXN0TWFwcGluZy5vcmlnaW5hbENvbHVtbiA9IHNyY01hcHBpbmcub3JpZ2luYWxDb2x1bW47XG5cbiAgICAgICAgaWYgKHNyY01hcHBpbmcubmFtZSkge1xuICAgICAgICAgIGRlc3RNYXBwaW5nLm5hbWUgPSBuYW1lcy5pbmRleE9mKHNyY01hcHBpbmcubmFtZSk7XG4gICAgICAgIH1cblxuICAgICAgICBkZXN0T3JpZ2luYWxNYXBwaW5ncy5wdXNoKGRlc3RNYXBwaW5nKTtcbiAgICAgIH1cblxuICAgICAgZGVzdEdlbmVyYXRlZE1hcHBpbmdzLnB1c2goZGVzdE1hcHBpbmcpO1xuICAgIH1cblxuICAgIHF1aWNrU29ydChzbWMuX19vcmlnaW5hbE1hcHBpbmdzLCB1dGlsLmNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zKTtcblxuICAgIHJldHVybiBzbWM7XG4gIH07XG5cbi8qKlxuICogVGhlIHZlcnNpb24gb2YgdGhlIHNvdXJjZSBtYXBwaW5nIHNwZWMgdGhhdCB3ZSBhcmUgY29uc3VtaW5nLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fdmVyc2lvbiA9IDM7XG5cbi8qKlxuICogVGhlIGxpc3Qgb2Ygb3JpZ2luYWwgc291cmNlcy5cbiAqL1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KEJhc2ljU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLCAnc291cmNlcycsIHtcbiAgZ2V0OiBmdW5jdGlvbiAoKSB7XG4gICAgcmV0dXJuIHRoaXMuX3NvdXJjZXMudG9BcnJheSgpLm1hcChmdW5jdGlvbiAocykge1xuICAgICAgcmV0dXJuIHRoaXMuc291cmNlUm9vdCAhPSBudWxsID8gdXRpbC5qb2luKHRoaXMuc291cmNlUm9vdCwgcykgOiBzO1xuICAgIH0sIHRoaXMpO1xuICB9XG59KTtcblxuLyoqXG4gKiBQcm92aWRlIHRoZSBKSVQgd2l0aCBhIG5pY2Ugc2hhcGUgLyBoaWRkZW4gY2xhc3MuXG4gKi9cbmZ1bmN0aW9uIE1hcHBpbmcoKSB7XG4gIHRoaXMuZ2VuZXJhdGVkTGluZSA9IDA7XG4gIHRoaXMuZ2VuZXJhdGVkQ29sdW1uID0gMDtcbiAgdGhpcy5zb3VyY2UgPSBudWxsO1xuICB0aGlzLm9yaWdpbmFsTGluZSA9IG51bGw7XG4gIHRoaXMub3JpZ2luYWxDb2x1bW4gPSBudWxsO1xuICB0aGlzLm5hbWUgPSBudWxsO1xufVxuXG4vKipcbiAqIFBhcnNlIHRoZSBtYXBwaW5ncyBpbiBhIHN0cmluZyBpbiB0byBhIGRhdGEgc3RydWN0dXJlIHdoaWNoIHdlIGNhbiBlYXNpbHlcbiAqIHF1ZXJ5ICh0aGUgb3JkZXJlZCBhcnJheXMgaW4gdGhlIGB0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3NgIGFuZFxuICogYHRoaXMuX19vcmlnaW5hbE1hcHBpbmdzYCBwcm9wZXJ0aWVzKS5cbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3BhcnNlTWFwcGluZ3MgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9wYXJzZU1hcHBpbmdzKGFTdHIsIGFTb3VyY2VSb290KSB7XG4gICAgdmFyIGdlbmVyYXRlZExpbmUgPSAxO1xuICAgIHZhciBwcmV2aW91c0dlbmVyYXRlZENvbHVtbiA9IDA7XG4gICAgdmFyIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gMDtcbiAgICB2YXIgcHJldmlvdXNPcmlnaW5hbENvbHVtbiA9IDA7XG4gICAgdmFyIHByZXZpb3VzU291cmNlID0gMDtcbiAgICB2YXIgcHJldmlvdXNOYW1lID0gMDtcbiAgICB2YXIgbGVuZ3RoID0gYVN0ci5sZW5ndGg7XG4gICAgdmFyIGluZGV4ID0gMDtcbiAgICB2YXIgY2FjaGVkU2VnbWVudHMgPSB7fTtcbiAgICB2YXIgdGVtcCA9IHt9O1xuICAgIHZhciBvcmlnaW5hbE1hcHBpbmdzID0gW107XG4gICAgdmFyIGdlbmVyYXRlZE1hcHBpbmdzID0gW107XG4gICAgdmFyIG1hcHBpbmcsIHN0ciwgc2VnbWVudCwgZW5kLCB2YWx1ZTtcblxuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgaWYgKGFTdHIuY2hhckF0KGluZGV4KSA9PT0gJzsnKSB7XG4gICAgICAgIGdlbmVyYXRlZExpbmUrKztcbiAgICAgICAgaW5kZXgrKztcbiAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSAwO1xuICAgICAgfVxuICAgICAgZWxzZSBpZiAoYVN0ci5jaGFyQXQoaW5kZXgpID09PSAnLCcpIHtcbiAgICAgICAgaW5kZXgrKztcbiAgICAgIH1cbiAgICAgIGVsc2Uge1xuICAgICAgICBtYXBwaW5nID0gbmV3IE1hcHBpbmcoKTtcbiAgICAgICAgbWFwcGluZy5nZW5lcmF0ZWRMaW5lID0gZ2VuZXJhdGVkTGluZTtcblxuICAgICAgICAvLyBCZWNhdXNlIGVhY2ggb2Zmc2V0IGlzIGVuY29kZWQgcmVsYXRpdmUgdG8gdGhlIHByZXZpb3VzIG9uZSxcbiAgICAgICAgLy8gbWFueSBzZWdtZW50cyBvZnRlbiBoYXZlIHRoZSBzYW1lIGVuY29kaW5nLiBXZSBjYW4gZXhwbG9pdCB0aGlzXG4gICAgICAgIC8vIGZhY3QgYnkgY2FjaGluZyB0aGUgcGFyc2VkIHZhcmlhYmxlIGxlbmd0aCBmaWVsZHMgb2YgZWFjaCBzZWdtZW50LFxuICAgICAgICAvLyBhbGxvd2luZyB1cyB0byBhdm9pZCBhIHNlY29uZCBwYXJzZSBpZiB3ZSBlbmNvdW50ZXIgdGhlIHNhbWVcbiAgICAgICAgLy8gc2VnbWVudCBhZ2Fpbi5cbiAgICAgICAgZm9yIChlbmQgPSBpbmRleDsgZW5kIDwgbGVuZ3RoOyBlbmQrKykge1xuICAgICAgICAgIGlmICh0aGlzLl9jaGFySXNNYXBwaW5nU2VwYXJhdG9yKGFTdHIsIGVuZCkpIHtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBzdHIgPSBhU3RyLnNsaWNlKGluZGV4LCBlbmQpO1xuXG4gICAgICAgIHNlZ21lbnQgPSBjYWNoZWRTZWdtZW50c1tzdHJdO1xuICAgICAgICBpZiAoc2VnbWVudCkge1xuICAgICAgICAgIGluZGV4ICs9IHN0ci5sZW5ndGg7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgc2VnbWVudCA9IFtdO1xuICAgICAgICAgIHdoaWxlIChpbmRleCA8IGVuZCkge1xuICAgICAgICAgICAgYmFzZTY0VkxRLmRlY29kZShhU3RyLCBpbmRleCwgdGVtcCk7XG4gICAgICAgICAgICB2YWx1ZSA9IHRlbXAudmFsdWU7XG4gICAgICAgICAgICBpbmRleCA9IHRlbXAucmVzdDtcbiAgICAgICAgICAgIHNlZ21lbnQucHVzaCh2YWx1ZSk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAyKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ZvdW5kIGEgc291cmNlLCBidXQgbm8gbGluZSBhbmQgY29sdW1uJyk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAzKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ZvdW5kIGEgc291cmNlIGFuZCBsaW5lLCBidXQgbm8gY29sdW1uJyk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgY2FjaGVkU2VnbWVudHNbc3RyXSA9IHNlZ21lbnQ7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBHZW5lcmF0ZWQgY29sdW1uLlxuICAgICAgICBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbiA9IHByZXZpb3VzR2VuZXJhdGVkQ29sdW1uICsgc2VnbWVudFswXTtcbiAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbjtcblxuICAgICAgICBpZiAoc2VnbWVudC5sZW5ndGggPiAxKSB7XG4gICAgICAgICAgLy8gT3JpZ2luYWwgc291cmNlLlxuICAgICAgICAgIG1hcHBpbmcuc291cmNlID0gcHJldmlvdXNTb3VyY2UgKyBzZWdtZW50WzFdO1xuICAgICAgICAgIHByZXZpb3VzU291cmNlICs9IHNlZ21lbnRbMV07XG5cbiAgICAgICAgICAvLyBPcmlnaW5hbCBsaW5lLlxuICAgICAgICAgIG1hcHBpbmcub3JpZ2luYWxMaW5lID0gcHJldmlvdXNPcmlnaW5hbExpbmUgKyBzZWdtZW50WzJdO1xuICAgICAgICAgIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gbWFwcGluZy5vcmlnaW5hbExpbmU7XG4gICAgICAgICAgLy8gTGluZXMgYXJlIHN0b3JlZCAwLWJhc2VkXG4gICAgICAgICAgbWFwcGluZy5vcmlnaW5hbExpbmUgKz0gMTtcblxuICAgICAgICAgIC8vIE9yaWdpbmFsIGNvbHVtbi5cbiAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uID0gcHJldmlvdXNPcmlnaW5hbENvbHVtbiArIHNlZ21lbnRbM107XG4gICAgICAgICAgcHJldmlvdXNPcmlnaW5hbENvbHVtbiA9IG1hcHBpbmcub3JpZ2luYWxDb2x1bW47XG5cbiAgICAgICAgICBpZiAoc2VnbWVudC5sZW5ndGggPiA0KSB7XG4gICAgICAgICAgICAvLyBPcmlnaW5hbCBuYW1lLlxuICAgICAgICAgICAgbWFwcGluZy5uYW1lID0gcHJldmlvdXNOYW1lICsgc2VnbWVudFs0XTtcbiAgICAgICAgICAgIHByZXZpb3VzTmFtZSArPSBzZWdtZW50WzRdO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGdlbmVyYXRlZE1hcHBpbmdzLnB1c2gobWFwcGluZyk7XG4gICAgICAgIGlmICh0eXBlb2YgbWFwcGluZy5vcmlnaW5hbExpbmUgPT09ICdudW1iZXInKSB7XG4gICAgICAgICAgb3JpZ2luYWxNYXBwaW5ncy5wdXNoKG1hcHBpbmcpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgcXVpY2tTb3J0KGdlbmVyYXRlZE1hcHBpbmdzLCB1dGlsLmNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0RlZmxhdGVkKTtcbiAgICB0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3MgPSBnZW5lcmF0ZWRNYXBwaW5ncztcblxuICAgIHF1aWNrU29ydChvcmlnaW5hbE1hcHBpbmdzLCB1dGlsLmNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zKTtcbiAgICB0aGlzLl9fb3JpZ2luYWxNYXBwaW5ncyA9IG9yaWdpbmFsTWFwcGluZ3M7XG4gIH07XG5cbi8qKlxuICogRmluZCB0aGUgbWFwcGluZyB0aGF0IGJlc3QgbWF0Y2hlcyB0aGUgaHlwb3RoZXRpY2FsIFwibmVlZGxlXCIgbWFwcGluZyB0aGF0XG4gKiB3ZSBhcmUgc2VhcmNoaW5nIGZvciBpbiB0aGUgZ2l2ZW4gXCJoYXlzdGFja1wiIG9mIG1hcHBpbmdzLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fZmluZE1hcHBpbmcgPVxuICBmdW5jdGlvbiBTb3VyY2VNYXBDb25zdW1lcl9maW5kTWFwcGluZyhhTmVlZGxlLCBhTWFwcGluZ3MsIGFMaW5lTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYUNvbHVtbk5hbWUsIGFDb21wYXJhdG9yLCBhQmlhcykge1xuICAgIC8vIFRvIHJldHVybiB0aGUgcG9zaXRpb24gd2UgYXJlIHNlYXJjaGluZyBmb3IsIHdlIG11c3QgZmlyc3QgZmluZCB0aGVcbiAgICAvLyBtYXBwaW5nIGZvciB0aGUgZ2l2ZW4gcG9zaXRpb24gYW5kIHRoZW4gcmV0dXJuIHRoZSBvcHBvc2l0ZSBwb3NpdGlvbiBpdFxuICAgIC8vIHBvaW50cyB0by4gQmVjYXVzZSB0aGUgbWFwcGluZ3MgYXJlIHNvcnRlZCwgd2UgY2FuIHVzZSBiaW5hcnkgc2VhcmNoIHRvXG4gICAgLy8gZmluZCB0aGUgYmVzdCBtYXBwaW5nLlxuXG4gICAgaWYgKGFOZWVkbGVbYUxpbmVOYW1lXSA8PSAwKSB7XG4gICAgICB0aHJvdyBuZXcgVHlwZUVycm9yKCdMaW5lIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRvIDEsIGdvdCAnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICsgYU5lZWRsZVthTGluZU5hbWVdKTtcbiAgICB9XG4gICAgaWYgKGFOZWVkbGVbYUNvbHVtbk5hbWVdIDwgMCkge1xuICAgICAgdGhyb3cgbmV3IFR5cGVFcnJvcignQ29sdW1uIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRvIDAsIGdvdCAnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICsgYU5lZWRsZVthQ29sdW1uTmFtZV0pO1xuICAgIH1cblxuICAgIHJldHVybiBiaW5hcnlTZWFyY2guc2VhcmNoKGFOZWVkbGUsIGFNYXBwaW5ncywgYUNvbXBhcmF0b3IsIGFCaWFzKTtcbiAgfTtcblxuLyoqXG4gKiBDb21wdXRlIHRoZSBsYXN0IGNvbHVtbiBmb3IgZWFjaCBnZW5lcmF0ZWQgbWFwcGluZy4gVGhlIGxhc3QgY29sdW1uIGlzXG4gKiBpbmNsdXNpdmUuXG4gKi9cbkJhc2ljU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmNvbXB1dGVDb2x1bW5TcGFucyA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX2NvbXB1dGVDb2x1bW5TcGFucygpIHtcbiAgICBmb3IgKHZhciBpbmRleCA9IDA7IGluZGV4IDwgdGhpcy5fZ2VuZXJhdGVkTWFwcGluZ3MubGVuZ3RoOyArK2luZGV4KSB7XG4gICAgICB2YXIgbWFwcGluZyA9IHRoaXMuX2dlbmVyYXRlZE1hcHBpbmdzW2luZGV4XTtcblxuICAgICAgLy8gTWFwcGluZ3MgZG8gbm90IGNvbnRhaW4gYSBmaWVsZCBmb3IgdGhlIGxhc3QgZ2VuZXJhdGVkIGNvbHVtbnQuIFdlXG4gICAgICAvLyBjYW4gY29tZSB1cCB3aXRoIGFuIG9wdGltaXN0aWMgZXN0aW1hdGUsIGhvd2V2ZXIsIGJ5IGFzc3VtaW5nIHRoYXRcbiAgICAgIC8vIG1hcHBpbmdzIGFyZSBjb250aWd1b3VzIChpLmUuIGdpdmVuIHR3byBjb25zZWN1dGl2ZSBtYXBwaW5ncywgdGhlXG4gICAgICAvLyBmaXJzdCBtYXBwaW5nIGVuZHMgd2hlcmUgdGhlIHNlY29uZCBvbmUgc3RhcnRzKS5cbiAgICAgIGlmIChpbmRleCArIDEgPCB0aGlzLl9nZW5lcmF0ZWRNYXBwaW5ncy5sZW5ndGgpIHtcbiAgICAgICAgdmFyIG5leHRNYXBwaW5nID0gdGhpcy5fZ2VuZXJhdGVkTWFwcGluZ3NbaW5kZXggKyAxXTtcblxuICAgICAgICBpZiAobWFwcGluZy5nZW5lcmF0ZWRMaW5lID09PSBuZXh0TWFwcGluZy5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgICAgbWFwcGluZy5sYXN0R2VuZXJhdGVkQ29sdW1uID0gbmV4dE1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uIC0gMTtcbiAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAvLyBUaGUgbGFzdCBtYXBwaW5nIGZvciBlYWNoIGxpbmUgc3BhbnMgdGhlIGVudGlyZSBsaW5lLlxuICAgICAgbWFwcGluZy5sYXN0R2VuZXJhdGVkQ29sdW1uID0gSW5maW5pdHk7XG4gICAgfVxuICB9O1xuXG4vKipcbiAqIFJldHVybnMgdGhlIG9yaWdpbmFsIHNvdXJjZSwgbGluZSwgYW5kIGNvbHVtbiBpbmZvcm1hdGlvbiBmb3IgdGhlIGdlbmVyYXRlZFxuICogc291cmNlJ3MgbGluZSBhbmQgY29sdW1uIHBvc2l0aW9ucyBwcm92aWRlZC4gVGhlIG9ubHkgYXJndW1lbnQgaXMgYW4gb2JqZWN0XG4gKiB3aXRoIHRoZSBmb2xsb3dpbmcgcHJvcGVydGllczpcbiAqXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLlxuICogICAtIGNvbHVtbjogVGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIGdlbmVyYXRlZCBzb3VyY2UuXG4gKiAgIC0gYmlhczogRWl0aGVyICdTb3VyY2VNYXBDb25zdW1lci5HUkVBVEVTVF9MT1dFUl9CT1VORCcgb3JcbiAqICAgICAnU291cmNlTWFwQ29uc3VtZXIuTEVBU1RfVVBQRVJfQk9VTkQnLiBTcGVjaWZpZXMgd2hldGhlciB0byByZXR1cm4gdGhlXG4gKiAgICAgY2xvc2VzdCBlbGVtZW50IHRoYXQgaXMgc21hbGxlciB0aGFuIG9yIGdyZWF0ZXIgdGhhbiB0aGUgb25lIHdlIGFyZVxuICogICAgIHNlYXJjaGluZyBmb3IsIHJlc3BlY3RpdmVseSwgaWYgdGhlIGV4YWN0IGVsZW1lbnQgY2Fubm90IGJlIGZvdW5kLlxuICogICAgIERlZmF1bHRzIHRvICdTb3VyY2VNYXBDb25zdW1lci5HUkVBVEVTVF9MT1dFUl9CT1VORCcuXG4gKlxuICogYW5kIGFuIG9iamVjdCBpcyByZXR1cm5lZCB3aXRoIHRoZSBmb2xsb3dpbmcgcHJvcGVydGllczpcbiAqXG4gKiAgIC0gc291cmNlOiBUaGUgb3JpZ2luYWwgc291cmNlIGZpbGUsIG9yIG51bGwuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UsIG9yIG51bGwuXG4gKiAgIC0gY29sdW1uOiBUaGUgY29sdW1uIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLCBvciBudWxsLlxuICogICAtIG5hbWU6IFRoZSBvcmlnaW5hbCBpZGVudGlmaWVyLCBvciBudWxsLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5vcmlnaW5hbFBvc2l0aW9uRm9yID1cbiAgZnVuY3Rpb24gU291cmNlTWFwQ29uc3VtZXJfb3JpZ2luYWxQb3NpdGlvbkZvcihhQXJncykge1xuICAgIHZhciBuZWVkbGUgPSB7XG4gICAgICBnZW5lcmF0ZWRMaW5lOiB1dGlsLmdldEFyZyhhQXJncywgJ2xpbmUnKSxcbiAgICAgIGdlbmVyYXRlZENvbHVtbjogdXRpbC5nZXRBcmcoYUFyZ3MsICdjb2x1bW4nKVxuICAgIH07XG5cbiAgICB2YXIgaW5kZXggPSB0aGlzLl9maW5kTWFwcGluZyhcbiAgICAgIG5lZWRsZSxcbiAgICAgIHRoaXMuX2dlbmVyYXRlZE1hcHBpbmdzLFxuICAgICAgXCJnZW5lcmF0ZWRMaW5lXCIsXG4gICAgICBcImdlbmVyYXRlZENvbHVtblwiLFxuICAgICAgdXRpbC5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNEZWZsYXRlZCxcbiAgICAgIHV0aWwuZ2V0QXJnKGFBcmdzLCAnYmlhcycsIFNvdXJjZU1hcENvbnN1bWVyLkdSRUFURVNUX0xPV0VSX0JPVU5EKVxuICAgICk7XG5cbiAgICBpZiAoaW5kZXggPj0gMCkge1xuICAgICAgdmFyIG1hcHBpbmcgPSB0aGlzLl9nZW5lcmF0ZWRNYXBwaW5nc1tpbmRleF07XG5cbiAgICAgIGlmIChtYXBwaW5nLmdlbmVyYXRlZExpbmUgPT09IG5lZWRsZS5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgIHZhciBzb3VyY2UgPSB1dGlsLmdldEFyZyhtYXBwaW5nLCAnc291cmNlJywgbnVsbCk7XG4gICAgICAgIGlmIChzb3VyY2UgIT09IG51bGwpIHtcbiAgICAgICAgICBzb3VyY2UgPSB0aGlzLl9zb3VyY2VzLmF0KHNvdXJjZSk7XG4gICAgICAgICAgaWYgKHRoaXMuc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICAgICAgICBzb3VyY2UgPSB1dGlsLmpvaW4odGhpcy5zb3VyY2VSb290LCBzb3VyY2UpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB2YXIgbmFtZSA9IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICduYW1lJywgbnVsbCk7XG4gICAgICAgIGlmIChuYW1lICE9PSBudWxsKSB7XG4gICAgICAgICAgbmFtZSA9IHRoaXMuX25hbWVzLmF0KG5hbWUpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgc291cmNlOiBzb3VyY2UsXG4gICAgICAgICAgbGluZTogdXRpbC5nZXRBcmcobWFwcGluZywgJ29yaWdpbmFsTGluZScsIG51bGwpLFxuICAgICAgICAgIGNvbHVtbjogdXRpbC5nZXRBcmcobWFwcGluZywgJ29yaWdpbmFsQ29sdW1uJywgbnVsbCksXG4gICAgICAgICAgbmFtZTogbmFtZVxuICAgICAgICB9O1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAgICBzb3VyY2U6IG51bGwsXG4gICAgICBsaW5lOiBudWxsLFxuICAgICAgY29sdW1uOiBudWxsLFxuICAgICAgbmFtZTogbnVsbFxuICAgIH07XG4gIH07XG5cbi8qKlxuICogUmV0dXJuIHRydWUgaWYgd2UgaGF2ZSB0aGUgc291cmNlIGNvbnRlbnQgZm9yIGV2ZXJ5IHNvdXJjZSBpbiB0aGUgc291cmNlXG4gKiBtYXAsIGZhbHNlIG90aGVyd2lzZS5cbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuaGFzQ29udGVudHNPZkFsbFNvdXJjZXMgPVxuICBmdW5jdGlvbiBCYXNpY1NvdXJjZU1hcENvbnN1bWVyX2hhc0NvbnRlbnRzT2ZBbGxTb3VyY2VzKCkge1xuICAgIGlmICghdGhpcy5zb3VyY2VzQ29udGVudCkge1xuICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5zb3VyY2VzQ29udGVudC5sZW5ndGggPj0gdGhpcy5fc291cmNlcy5zaXplKCkgJiZcbiAgICAgICF0aGlzLnNvdXJjZXNDb250ZW50LnNvbWUoZnVuY3Rpb24gKHNjKSB7IHJldHVybiBzYyA9PSBudWxsOyB9KTtcbiAgfTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBvcmlnaW5hbCBzb3VyY2UgY29udGVudC4gVGhlIG9ubHkgYXJndW1lbnQgaXMgdGhlIHVybCBvZiB0aGVcbiAqIG9yaWdpbmFsIHNvdXJjZSBmaWxlLiBSZXR1cm5zIG51bGwgaWYgbm8gb3JpZ2luYWwgc291cmNlIGNvbnRlbnQgaXNcbiAqIGF2YWlsYWJsZS5cbiAqL1xuQmFzaWNTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuc291cmNlQ29udGVudEZvciA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX3NvdXJjZUNvbnRlbnRGb3IoYVNvdXJjZSwgbnVsbE9uTWlzc2luZykge1xuICAgIGlmICghdGhpcy5zb3VyY2VzQ29udGVudCkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICBhU291cmNlID0gdXRpbC5yZWxhdGl2ZSh0aGlzLnNvdXJjZVJvb3QsIGFTb3VyY2UpO1xuICAgIH1cblxuICAgIGlmICh0aGlzLl9zb3VyY2VzLmhhcyhhU291cmNlKSkge1xuICAgICAgcmV0dXJuIHRoaXMuc291cmNlc0NvbnRlbnRbdGhpcy5fc291cmNlcy5pbmRleE9mKGFTb3VyY2UpXTtcbiAgICB9XG5cbiAgICB2YXIgdXJsO1xuICAgIGlmICh0aGlzLnNvdXJjZVJvb3QgIT0gbnVsbFxuICAgICAgICAmJiAodXJsID0gdXRpbC51cmxQYXJzZSh0aGlzLnNvdXJjZVJvb3QpKSkge1xuICAgICAgLy8gWFhYOiBmaWxlOi8vIFVSSXMgYW5kIGFic29sdXRlIHBhdGhzIGxlYWQgdG8gdW5leHBlY3RlZCBiZWhhdmlvciBmb3JcbiAgICAgIC8vIG1hbnkgdXNlcnMuIFdlIGNhbiBoZWxwIHRoZW0gb3V0IHdoZW4gdGhleSBleHBlY3QgZmlsZTovLyBVUklzIHRvXG4gICAgICAvLyBiZWhhdmUgbGlrZSBpdCB3b3VsZCBpZiB0aGV5IHdlcmUgcnVubmluZyBhIGxvY2FsIEhUVFAgc2VydmVyLiBTZWVcbiAgICAgIC8vIGh0dHBzOi8vYnVnemlsbGEubW96aWxsYS5vcmcvc2hvd19idWcuY2dpP2lkPTg4NTU5Ny5cbiAgICAgIHZhciBmaWxlVXJpQWJzUGF0aCA9IGFTb3VyY2UucmVwbGFjZSgvXmZpbGU6XFwvXFwvLywgXCJcIik7XG4gICAgICBpZiAodXJsLnNjaGVtZSA9PSBcImZpbGVcIlxuICAgICAgICAgICYmIHRoaXMuX3NvdXJjZXMuaGFzKGZpbGVVcmlBYnNQYXRoKSkge1xuICAgICAgICByZXR1cm4gdGhpcy5zb3VyY2VzQ29udGVudFt0aGlzLl9zb3VyY2VzLmluZGV4T2YoZmlsZVVyaUFic1BhdGgpXVxuICAgICAgfVxuXG4gICAgICBpZiAoKCF1cmwucGF0aCB8fCB1cmwucGF0aCA9PSBcIi9cIilcbiAgICAgICAgICAmJiB0aGlzLl9zb3VyY2VzLmhhcyhcIi9cIiArIGFTb3VyY2UpKSB7XG4gICAgICAgIHJldHVybiB0aGlzLnNvdXJjZXNDb250ZW50W3RoaXMuX3NvdXJjZXMuaW5kZXhPZihcIi9cIiArIGFTb3VyY2UpXTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICAvLyBUaGlzIGZ1bmN0aW9uIGlzIHVzZWQgcmVjdXJzaXZlbHkgZnJvbVxuICAgIC8vIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuc291cmNlQ29udGVudEZvci4gSW4gdGhhdCBjYXNlLCB3ZVxuICAgIC8vIGRvbid0IHdhbnQgdG8gdGhyb3cgaWYgd2UgY2FuJ3QgZmluZCB0aGUgc291cmNlIC0gd2UganVzdCB3YW50IHRvXG4gICAgLy8gcmV0dXJuIG51bGwsIHNvIHdlIHByb3ZpZGUgYSBmbGFnIHRvIGV4aXQgZ3JhY2VmdWxseS5cbiAgICBpZiAobnVsbE9uTWlzc2luZykge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdcIicgKyBhU291cmNlICsgJ1wiIGlzIG5vdCBpbiB0aGUgU291cmNlTWFwLicpO1xuICAgIH1cbiAgfTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBnZW5lcmF0ZWQgbGluZSBhbmQgY29sdW1uIGluZm9ybWF0aW9uIGZvciB0aGUgb3JpZ2luYWwgc291cmNlLFxuICogbGluZSwgYW5kIGNvbHVtbiBwb3NpdGlvbnMgcHJvdmlkZWQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIGFuIG9iamVjdCB3aXRoXG4gKiB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIGZpbGVuYW1lIG9mIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gY29sdW1uOiBUaGUgY29sdW1uIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLlxuICogICAtIGJpYXM6IEVpdGhlciAnU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQnIG9yXG4gKiAgICAgJ1NvdXJjZU1hcENvbnN1bWVyLkxFQVNUX1VQUEVSX0JPVU5EJy4gU3BlY2lmaWVzIHdoZXRoZXIgdG8gcmV0dXJuIHRoZVxuICogICAgIGNsb3Nlc3QgZWxlbWVudCB0aGF0IGlzIHNtYWxsZXIgdGhhbiBvciBncmVhdGVyIHRoYW4gdGhlIG9uZSB3ZSBhcmVcbiAqICAgICBzZWFyY2hpbmcgZm9yLCByZXNwZWN0aXZlbHksIGlmIHRoZSBleGFjdCBlbGVtZW50IGNhbm5vdCBiZSBmb3VuZC5cbiAqICAgICBEZWZhdWx0cyB0byAnU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQnLlxuICpcbiAqIGFuZCBhbiBvYmplY3QgaXMgcmV0dXJuZWQgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIHNvdXJjZSwgb3IgbnVsbC5cbiAqICAgLSBjb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLCBvciBudWxsLlxuICovXG5CYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5nZW5lcmF0ZWRQb3NpdGlvbkZvciA9XG4gIGZ1bmN0aW9uIFNvdXJjZU1hcENvbnN1bWVyX2dlbmVyYXRlZFBvc2l0aW9uRm9yKGFBcmdzKSB7XG4gICAgdmFyIHNvdXJjZSA9IHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJyk7XG4gICAgaWYgKHRoaXMuc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICBzb3VyY2UgPSB1dGlsLnJlbGF0aXZlKHRoaXMuc291cmNlUm9vdCwgc291cmNlKTtcbiAgICB9XG4gICAgaWYgKCF0aGlzLl9zb3VyY2VzLmhhcyhzb3VyY2UpKSB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICBsaW5lOiBudWxsLFxuICAgICAgICBjb2x1bW46IG51bGwsXG4gICAgICAgIGxhc3RDb2x1bW46IG51bGxcbiAgICAgIH07XG4gICAgfVxuICAgIHNvdXJjZSA9IHRoaXMuX3NvdXJjZXMuaW5kZXhPZihzb3VyY2UpO1xuXG4gICAgdmFyIG5lZWRsZSA9IHtcbiAgICAgIHNvdXJjZTogc291cmNlLFxuICAgICAgb3JpZ2luYWxMaW5lOiB1dGlsLmdldEFyZyhhQXJncywgJ2xpbmUnKSxcbiAgICAgIG9yaWdpbmFsQ29sdW1uOiB1dGlsLmdldEFyZyhhQXJncywgJ2NvbHVtbicpXG4gICAgfTtcblxuICAgIHZhciBpbmRleCA9IHRoaXMuX2ZpbmRNYXBwaW5nKFxuICAgICAgbmVlZGxlLFxuICAgICAgdGhpcy5fb3JpZ2luYWxNYXBwaW5ncyxcbiAgICAgIFwib3JpZ2luYWxMaW5lXCIsXG4gICAgICBcIm9yaWdpbmFsQ29sdW1uXCIsXG4gICAgICB1dGlsLmNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zLFxuICAgICAgdXRpbC5nZXRBcmcoYUFyZ3MsICdiaWFzJywgU291cmNlTWFwQ29uc3VtZXIuR1JFQVRFU1RfTE9XRVJfQk9VTkQpXG4gICAgKTtcblxuICAgIGlmIChpbmRleCA+PSAwKSB7XG4gICAgICB2YXIgbWFwcGluZyA9IHRoaXMuX29yaWdpbmFsTWFwcGluZ3NbaW5kZXhdO1xuXG4gICAgICBpZiAobWFwcGluZy5zb3VyY2UgPT09IG5lZWRsZS5zb3VyY2UpIHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICBsaW5lOiB1dGlsLmdldEFyZyhtYXBwaW5nLCAnZ2VuZXJhdGVkTGluZScsIG51bGwpLFxuICAgICAgICAgIGNvbHVtbjogdXRpbC5nZXRBcmcobWFwcGluZywgJ2dlbmVyYXRlZENvbHVtbicsIG51bGwpLFxuICAgICAgICAgIGxhc3RDb2x1bW46IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdsYXN0R2VuZXJhdGVkQ29sdW1uJywgbnVsbClcbiAgICAgICAgfTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgbGluZTogbnVsbCxcbiAgICAgIGNvbHVtbjogbnVsbCxcbiAgICAgIGxhc3RDb2x1bW46IG51bGxcbiAgICB9O1xuICB9O1xuXG5leHBvcnRzLkJhc2ljU291cmNlTWFwQ29uc3VtZXIgPSBCYXNpY1NvdXJjZU1hcENvbnN1bWVyO1xuXG4vKipcbiAqIEFuIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lciBpbnN0YW5jZSByZXByZXNlbnRzIGEgcGFyc2VkIHNvdXJjZSBtYXAgd2hpY2hcbiAqIHdlIGNhbiBxdWVyeSBmb3IgaW5mb3JtYXRpb24uIEl0IGRpZmZlcnMgZnJvbSBCYXNpY1NvdXJjZU1hcENvbnN1bWVyIGluXG4gKiB0aGF0IGl0IHRha2VzIFwiaW5kZXhlZFwiIHNvdXJjZSBtYXBzIChpLmUuIG9uZXMgd2l0aCBhIFwic2VjdGlvbnNcIiBmaWVsZCkgYXNcbiAqIGlucHV0LlxuICpcbiAqIFRoZSBvbmx5IHBhcmFtZXRlciBpcyBhIHJhdyBzb3VyY2UgbWFwIChlaXRoZXIgYXMgYSBKU09OIHN0cmluZywgb3IgYWxyZWFkeVxuICogcGFyc2VkIHRvIGFuIG9iamVjdCkuIEFjY29yZGluZyB0byB0aGUgc3BlYyBmb3IgaW5kZXhlZCBzb3VyY2UgbWFwcywgdGhleVxuICogaGF2ZSB0aGUgZm9sbG93aW5nIGF0dHJpYnV0ZXM6XG4gKlxuICogICAtIHZlcnNpb246IFdoaWNoIHZlcnNpb24gb2YgdGhlIHNvdXJjZSBtYXAgc3BlYyB0aGlzIG1hcCBpcyBmb2xsb3dpbmcuXG4gKiAgIC0gZmlsZTogT3B0aW9uYWwuIFRoZSBnZW5lcmF0ZWQgZmlsZSB0aGlzIHNvdXJjZSBtYXAgaXMgYXNzb2NpYXRlZCB3aXRoLlxuICogICAtIHNlY3Rpb25zOiBBIGxpc3Qgb2Ygc2VjdGlvbiBkZWZpbml0aW9ucy5cbiAqXG4gKiBFYWNoIHZhbHVlIHVuZGVyIHRoZSBcInNlY3Rpb25zXCIgZmllbGQgaGFzIHR3byBmaWVsZHM6XG4gKiAgIC0gb2Zmc2V0OiBUaGUgb2Zmc2V0IGludG8gdGhlIG9yaWdpbmFsIHNwZWNpZmllZCBhdCB3aGljaCB0aGlzIHNlY3Rpb25cbiAqICAgICAgIGJlZ2lucyB0byBhcHBseSwgZGVmaW5lZCBhcyBhbiBvYmplY3Qgd2l0aCBhIFwibGluZVwiIGFuZCBcImNvbHVtblwiXG4gKiAgICAgICBmaWVsZC5cbiAqICAgLSBtYXA6IEEgc291cmNlIG1hcCBkZWZpbml0aW9uLiBUaGlzIHNvdXJjZSBtYXAgY291bGQgYWxzbyBiZSBpbmRleGVkLFxuICogICAgICAgYnV0IGRvZXNuJ3QgaGF2ZSB0byBiZS5cbiAqXG4gKiBJbnN0ZWFkIG9mIHRoZSBcIm1hcFwiIGZpZWxkLCBpdCdzIGFsc28gcG9zc2libGUgdG8gaGF2ZSBhIFwidXJsXCIgZmllbGRcbiAqIHNwZWNpZnlpbmcgYSBVUkwgdG8gcmV0cmlldmUgYSBzb3VyY2UgbWFwIGZyb20sIGJ1dCB0aGF0J3MgY3VycmVudGx5XG4gKiB1bnN1cHBvcnRlZC5cbiAqXG4gKiBIZXJlJ3MgYW4gZXhhbXBsZSBzb3VyY2UgbWFwLCB0YWtlbiBmcm9tIHRoZSBzb3VyY2UgbWFwIHNwZWNbMF0sIGJ1dFxuICogbW9kaWZpZWQgdG8gb21pdCBhIHNlY3Rpb24gd2hpY2ggdXNlcyB0aGUgXCJ1cmxcIiBmaWVsZC5cbiAqXG4gKiAge1xuICogICAgdmVyc2lvbiA6IDMsXG4gKiAgICBmaWxlOiBcImFwcC5qc1wiLFxuICogICAgc2VjdGlvbnM6IFt7XG4gKiAgICAgIG9mZnNldDoge2xpbmU6MTAwLCBjb2x1bW46MTB9LFxuICogICAgICBtYXA6IHtcbiAqICAgICAgICB2ZXJzaW9uIDogMyxcbiAqICAgICAgICBmaWxlOiBcInNlY3Rpb24uanNcIixcbiAqICAgICAgICBzb3VyY2VzOiBbXCJmb28uanNcIiwgXCJiYXIuanNcIl0sXG4gKiAgICAgICAgbmFtZXM6IFtcInNyY1wiLCBcIm1hcHNcIiwgXCJhcmVcIiwgXCJmdW5cIl0sXG4gKiAgICAgICAgbWFwcGluZ3M6IFwiQUFBQSxFOztBQkNERTtcIlxuICogICAgICB9XG4gKiAgICB9XSxcbiAqICB9XG4gKlxuICogWzBdOiBodHRwczovL2RvY3MuZ29vZ2xlLmNvbS9kb2N1bWVudC9kLzFVMVJHQWVoUXdSeXBVVG92RjFLUmxwaU9GemUwYi1fMmdjNmZBSDBLWTBrL2VkaXQjaGVhZGluZz1oLjUzNWVzM3hlcHJndFxuICovXG5mdW5jdGlvbiBJbmRleGVkU291cmNlTWFwQ29uc3VtZXIoYVNvdXJjZU1hcCkge1xuICB2YXIgc291cmNlTWFwID0gYVNvdXJjZU1hcDtcbiAgaWYgKHR5cGVvZiBhU291cmNlTWFwID09PSAnc3RyaW5nJykge1xuICAgIHNvdXJjZU1hcCA9IEpTT04ucGFyc2UoYVNvdXJjZU1hcC5yZXBsYWNlKC9eXFwpXFxdXFx9Jy8sICcnKSk7XG4gIH1cblxuICB2YXIgdmVyc2lvbiA9IHV0aWwuZ2V0QXJnKHNvdXJjZU1hcCwgJ3ZlcnNpb24nKTtcbiAgdmFyIHNlY3Rpb25zID0gdXRpbC5nZXRBcmcoc291cmNlTWFwLCAnc2VjdGlvbnMnKTtcblxuICBpZiAodmVyc2lvbiAhPSB0aGlzLl92ZXJzaW9uKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKCdVbnN1cHBvcnRlZCB2ZXJzaW9uOiAnICsgdmVyc2lvbik7XG4gIH1cblxuICB0aGlzLl9zb3VyY2VzID0gbmV3IEFycmF5U2V0KCk7XG4gIHRoaXMuX25hbWVzID0gbmV3IEFycmF5U2V0KCk7XG5cbiAgdmFyIGxhc3RPZmZzZXQgPSB7XG4gICAgbGluZTogLTEsXG4gICAgY29sdW1uOiAwXG4gIH07XG4gIHRoaXMuX3NlY3Rpb25zID0gc2VjdGlvbnMubWFwKGZ1bmN0aW9uIChzKSB7XG4gICAgaWYgKHMudXJsKSB7XG4gICAgICAvLyBUaGUgdXJsIGZpZWxkIHdpbGwgcmVxdWlyZSBzdXBwb3J0IGZvciBhc3luY2hyb25pY2l0eS5cbiAgICAgIC8vIFNlZSBodHRwczovL2dpdGh1Yi5jb20vbW96aWxsYS9zb3VyY2UtbWFwL2lzc3Vlcy8xNlxuICAgICAgdGhyb3cgbmV3IEVycm9yKCdTdXBwb3J0IGZvciB1cmwgZmllbGQgaW4gc2VjdGlvbnMgbm90IGltcGxlbWVudGVkLicpO1xuICAgIH1cbiAgICB2YXIgb2Zmc2V0ID0gdXRpbC5nZXRBcmcocywgJ29mZnNldCcpO1xuICAgIHZhciBvZmZzZXRMaW5lID0gdXRpbC5nZXRBcmcob2Zmc2V0LCAnbGluZScpO1xuICAgIHZhciBvZmZzZXRDb2x1bW4gPSB1dGlsLmdldEFyZyhvZmZzZXQsICdjb2x1bW4nKTtcblxuICAgIGlmIChvZmZzZXRMaW5lIDwgbGFzdE9mZnNldC5saW5lIHx8XG4gICAgICAgIChvZmZzZXRMaW5lID09PSBsYXN0T2Zmc2V0LmxpbmUgJiYgb2Zmc2V0Q29sdW1uIDwgbGFzdE9mZnNldC5jb2x1bW4pKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ1NlY3Rpb24gb2Zmc2V0cyBtdXN0IGJlIG9yZGVyZWQgYW5kIG5vbi1vdmVybGFwcGluZy4nKTtcbiAgICB9XG4gICAgbGFzdE9mZnNldCA9IG9mZnNldDtcblxuICAgIHJldHVybiB7XG4gICAgICBnZW5lcmF0ZWRPZmZzZXQ6IHtcbiAgICAgICAgLy8gVGhlIG9mZnNldCBmaWVsZHMgYXJlIDAtYmFzZWQsIGJ1dCB3ZSB1c2UgMS1iYXNlZCBpbmRpY2VzIHdoZW5cbiAgICAgICAgLy8gZW5jb2RpbmcvZGVjb2RpbmcgZnJvbSBWTFEuXG4gICAgICAgIGdlbmVyYXRlZExpbmU6IG9mZnNldExpbmUgKyAxLFxuICAgICAgICBnZW5lcmF0ZWRDb2x1bW46IG9mZnNldENvbHVtbiArIDFcbiAgICAgIH0sXG4gICAgICBjb25zdW1lcjogbmV3IFNvdXJjZU1hcENvbnN1bWVyKHV0aWwuZ2V0QXJnKHMsICdtYXAnKSlcbiAgICB9XG4gIH0pO1xufVxuXG5JbmRleGVkU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZShTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUpO1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5jb25zdHJ1Y3RvciA9IFNvdXJjZU1hcENvbnN1bWVyO1xuXG4vKipcbiAqIFRoZSB2ZXJzaW9uIG9mIHRoZSBzb3VyY2UgbWFwcGluZyBzcGVjIHRoYXQgd2UgYXJlIGNvbnN1bWluZy5cbiAqL1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5fdmVyc2lvbiA9IDM7XG5cbi8qKlxuICogVGhlIGxpc3Qgb2Ygb3JpZ2luYWwgc291cmNlcy5cbiAqL1xuT2JqZWN0LmRlZmluZVByb3BlcnR5KEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUsICdzb3VyY2VzJywge1xuICBnZXQ6IGZ1bmN0aW9uICgpIHtcbiAgICB2YXIgc291cmNlcyA9IFtdO1xuICAgIGZvciAodmFyIGkgPSAwOyBpIDwgdGhpcy5fc2VjdGlvbnMubGVuZ3RoOyBpKyspIHtcbiAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgdGhpcy5fc2VjdGlvbnNbaV0uY29uc3VtZXIuc291cmNlcy5sZW5ndGg7IGorKykge1xuICAgICAgICBzb3VyY2VzLnB1c2godGhpcy5fc2VjdGlvbnNbaV0uY29uc3VtZXIuc291cmNlc1tqXSk7XG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiBzb3VyY2VzO1xuICB9XG59KTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBvcmlnaW5hbCBzb3VyY2UsIGxpbmUsIGFuZCBjb2x1bW4gaW5mb3JtYXRpb24gZm9yIHRoZSBnZW5lcmF0ZWRcbiAqIHNvdXJjZSdzIGxpbmUgYW5kIGNvbHVtbiBwb3NpdGlvbnMgcHJvdmlkZWQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIGFuIG9iamVjdFxuICogd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIHNvdXJjZS5cbiAqICAgLSBjb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLlxuICpcbiAqIGFuZCBhbiBvYmplY3QgaXMgcmV0dXJuZWQgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIG9yaWdpbmFsIHNvdXJjZSBmaWxlLCBvciBudWxsLlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLCBvciBudWxsLlxuICogICAtIGNvbHVtbjogVGhlIGNvbHVtbiBudW1iZXIgaW4gdGhlIG9yaWdpbmFsIHNvdXJjZSwgb3IgbnVsbC5cbiAqICAgLSBuYW1lOiBUaGUgb3JpZ2luYWwgaWRlbnRpZmllciwgb3IgbnVsbC5cbiAqL1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5vcmlnaW5hbFBvc2l0aW9uRm9yID1cbiAgZnVuY3Rpb24gSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyX29yaWdpbmFsUG9zaXRpb25Gb3IoYUFyZ3MpIHtcbiAgICB2YXIgbmVlZGxlID0ge1xuICAgICAgZ2VuZXJhdGVkTGluZTogdXRpbC5nZXRBcmcoYUFyZ3MsICdsaW5lJyksXG4gICAgICBnZW5lcmF0ZWRDb2x1bW46IHV0aWwuZ2V0QXJnKGFBcmdzLCAnY29sdW1uJylcbiAgICB9O1xuXG4gICAgLy8gRmluZCB0aGUgc2VjdGlvbiBjb250YWluaW5nIHRoZSBnZW5lcmF0ZWQgcG9zaXRpb24gd2UncmUgdHJ5aW5nIHRvIG1hcFxuICAgIC8vIHRvIGFuIG9yaWdpbmFsIHBvc2l0aW9uLlxuICAgIHZhciBzZWN0aW9uSW5kZXggPSBiaW5hcnlTZWFyY2guc2VhcmNoKG5lZWRsZSwgdGhpcy5fc2VjdGlvbnMsXG4gICAgICBmdW5jdGlvbihuZWVkbGUsIHNlY3Rpb24pIHtcbiAgICAgICAgdmFyIGNtcCA9IG5lZWRsZS5nZW5lcmF0ZWRMaW5lIC0gc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZTtcbiAgICAgICAgaWYgKGNtcCkge1xuICAgICAgICAgIHJldHVybiBjbXA7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gKG5lZWRsZS5nZW5lcmF0ZWRDb2x1bW4gLVxuICAgICAgICAgICAgICAgIHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZENvbHVtbik7XG4gICAgICB9KTtcbiAgICB2YXIgc2VjdGlvbiA9IHRoaXMuX3NlY3Rpb25zW3NlY3Rpb25JbmRleF07XG5cbiAgICBpZiAoIXNlY3Rpb24pIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIHNvdXJjZTogbnVsbCxcbiAgICAgICAgbGluZTogbnVsbCxcbiAgICAgICAgY29sdW1uOiBudWxsLFxuICAgICAgICBuYW1lOiBudWxsXG4gICAgICB9O1xuICAgIH1cblxuICAgIHJldHVybiBzZWN0aW9uLmNvbnN1bWVyLm9yaWdpbmFsUG9zaXRpb25Gb3Ioe1xuICAgICAgbGluZTogbmVlZGxlLmdlbmVyYXRlZExpbmUgLVxuICAgICAgICAoc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZSAtIDEpLFxuICAgICAgY29sdW1uOiBuZWVkbGUuZ2VuZXJhdGVkQ29sdW1uIC1cbiAgICAgICAgKHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZExpbmUgPT09IG5lZWRsZS5nZW5lcmF0ZWRMaW5lXG4gICAgICAgICA/IHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZENvbHVtbiAtIDFcbiAgICAgICAgIDogMCksXG4gICAgICBiaWFzOiBhQXJncy5iaWFzXG4gICAgfSk7XG4gIH07XG5cbi8qKlxuICogUmV0dXJuIHRydWUgaWYgd2UgaGF2ZSB0aGUgc291cmNlIGNvbnRlbnQgZm9yIGV2ZXJ5IHNvdXJjZSBpbiB0aGUgc291cmNlXG4gKiBtYXAsIGZhbHNlIG90aGVyd2lzZS5cbiAqL1xuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5oYXNDb250ZW50c09mQWxsU291cmNlcyA9XG4gIGZ1bmN0aW9uIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lcl9oYXNDb250ZW50c09mQWxsU291cmNlcygpIHtcbiAgICByZXR1cm4gdGhpcy5fc2VjdGlvbnMuZXZlcnkoZnVuY3Rpb24gKHMpIHtcbiAgICAgIHJldHVybiBzLmNvbnN1bWVyLmhhc0NvbnRlbnRzT2ZBbGxTb3VyY2VzKCk7XG4gICAgfSk7XG4gIH07XG5cbi8qKlxuICogUmV0dXJucyB0aGUgb3JpZ2luYWwgc291cmNlIGNvbnRlbnQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIHRoZSB1cmwgb2YgdGhlXG4gKiBvcmlnaW5hbCBzb3VyY2UgZmlsZS4gUmV0dXJucyBudWxsIGlmIG5vIG9yaWdpbmFsIHNvdXJjZSBjb250ZW50IGlzXG4gKiBhdmFpbGFibGUuXG4gKi9cbkluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuc291cmNlQ29udGVudEZvciA9XG4gIGZ1bmN0aW9uIEluZGV4ZWRTb3VyY2VNYXBDb25zdW1lcl9zb3VyY2VDb250ZW50Rm9yKGFTb3VyY2UsIG51bGxPbk1pc3NpbmcpIHtcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IHRoaXMuX3NlY3Rpb25zLmxlbmd0aDsgaSsrKSB7XG4gICAgICB2YXIgc2VjdGlvbiA9IHRoaXMuX3NlY3Rpb25zW2ldO1xuXG4gICAgICB2YXIgY29udGVudCA9IHNlY3Rpb24uY29uc3VtZXIuc291cmNlQ29udGVudEZvcihhU291cmNlLCB0cnVlKTtcbiAgICAgIGlmIChjb250ZW50KSB7XG4gICAgICAgIHJldHVybiBjb250ZW50O1xuICAgICAgfVxuICAgIH1cbiAgICBpZiAobnVsbE9uTWlzc2luZykge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdcIicgKyBhU291cmNlICsgJ1wiIGlzIG5vdCBpbiB0aGUgU291cmNlTWFwLicpO1xuICAgIH1cbiAgfTtcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBnZW5lcmF0ZWQgbGluZSBhbmQgY29sdW1uIGluZm9ybWF0aW9uIGZvciB0aGUgb3JpZ2luYWwgc291cmNlLFxuICogbGluZSwgYW5kIGNvbHVtbiBwb3NpdGlvbnMgcHJvdmlkZWQuIFRoZSBvbmx5IGFyZ3VtZW50IGlzIGFuIG9iamVjdCB3aXRoXG4gKiB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIHNvdXJjZTogVGhlIGZpbGVuYW1lIG9mIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gbGluZTogVGhlIGxpbmUgbnVtYmVyIGluIHRoZSBvcmlnaW5hbCBzb3VyY2UuXG4gKiAgIC0gY29sdW1uOiBUaGUgY29sdW1uIG51bWJlciBpbiB0aGUgb3JpZ2luYWwgc291cmNlLlxuICpcbiAqIGFuZCBhbiBvYmplY3QgaXMgcmV0dXJuZWQgd2l0aCB0aGUgZm9sbG93aW5nIHByb3BlcnRpZXM6XG4gKlxuICogICAtIGxpbmU6IFRoZSBsaW5lIG51bWJlciBpbiB0aGUgZ2VuZXJhdGVkIHNvdXJjZSwgb3IgbnVsbC5cbiAqICAgLSBjb2x1bW46IFRoZSBjb2x1bW4gbnVtYmVyIGluIHRoZSBnZW5lcmF0ZWQgc291cmNlLCBvciBudWxsLlxuICovXG5JbmRleGVkU291cmNlTWFwQ29uc3VtZXIucHJvdG90eXBlLmdlbmVyYXRlZFBvc2l0aW9uRm9yID1cbiAgZnVuY3Rpb24gSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyX2dlbmVyYXRlZFBvc2l0aW9uRm9yKGFBcmdzKSB7XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCB0aGlzLl9zZWN0aW9ucy5sZW5ndGg7IGkrKykge1xuICAgICAgdmFyIHNlY3Rpb24gPSB0aGlzLl9zZWN0aW9uc1tpXTtcblxuICAgICAgLy8gT25seSBjb25zaWRlciB0aGlzIHNlY3Rpb24gaWYgdGhlIHJlcXVlc3RlZCBzb3VyY2UgaXMgaW4gdGhlIGxpc3Qgb2ZcbiAgICAgIC8vIHNvdXJjZXMgb2YgdGhlIGNvbnN1bWVyLlxuICAgICAgaWYgKHNlY3Rpb24uY29uc3VtZXIuc291cmNlcy5pbmRleE9mKHV0aWwuZ2V0QXJnKGFBcmdzLCAnc291cmNlJykpID09PSAtMSkge1xuICAgICAgICBjb250aW51ZTtcbiAgICAgIH1cbiAgICAgIHZhciBnZW5lcmF0ZWRQb3NpdGlvbiA9IHNlY3Rpb24uY29uc3VtZXIuZ2VuZXJhdGVkUG9zaXRpb25Gb3IoYUFyZ3MpO1xuICAgICAgaWYgKGdlbmVyYXRlZFBvc2l0aW9uKSB7XG4gICAgICAgIHZhciByZXQgPSB7XG4gICAgICAgICAgbGluZTogZ2VuZXJhdGVkUG9zaXRpb24ubGluZSArXG4gICAgICAgICAgICAoc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZSAtIDEpLFxuICAgICAgICAgIGNvbHVtbjogZ2VuZXJhdGVkUG9zaXRpb24uY29sdW1uICtcbiAgICAgICAgICAgIChzZWN0aW9uLmdlbmVyYXRlZE9mZnNldC5nZW5lcmF0ZWRMaW5lID09PSBnZW5lcmF0ZWRQb3NpdGlvbi5saW5lXG4gICAgICAgICAgICAgPyBzZWN0aW9uLmdlbmVyYXRlZE9mZnNldC5nZW5lcmF0ZWRDb2x1bW4gLSAxXG4gICAgICAgICAgICAgOiAwKVxuICAgICAgICB9O1xuICAgICAgICByZXR1cm4gcmV0O1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAgICBsaW5lOiBudWxsLFxuICAgICAgY29sdW1uOiBudWxsXG4gICAgfTtcbiAgfTtcblxuLyoqXG4gKiBQYXJzZSB0aGUgbWFwcGluZ3MgaW4gYSBzdHJpbmcgaW4gdG8gYSBkYXRhIHN0cnVjdHVyZSB3aGljaCB3ZSBjYW4gZWFzaWx5XG4gKiBxdWVyeSAodGhlIG9yZGVyZWQgYXJyYXlzIGluIHRoZSBgdGhpcy5fX2dlbmVyYXRlZE1hcHBpbmdzYCBhbmRcbiAqIGB0aGlzLl9fb3JpZ2luYWxNYXBwaW5nc2AgcHJvcGVydGllcykuXG4gKi9cbkluZGV4ZWRTb3VyY2VNYXBDb25zdW1lci5wcm90b3R5cGUuX3BhcnNlTWFwcGluZ3MgPVxuICBmdW5jdGlvbiBJbmRleGVkU291cmNlTWFwQ29uc3VtZXJfcGFyc2VNYXBwaW5ncyhhU3RyLCBhU291cmNlUm9vdCkge1xuICAgIHRoaXMuX19nZW5lcmF0ZWRNYXBwaW5ncyA9IFtdO1xuICAgIHRoaXMuX19vcmlnaW5hbE1hcHBpbmdzID0gW107XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCB0aGlzLl9zZWN0aW9ucy5sZW5ndGg7IGkrKykge1xuICAgICAgdmFyIHNlY3Rpb24gPSB0aGlzLl9zZWN0aW9uc1tpXTtcbiAgICAgIHZhciBzZWN0aW9uTWFwcGluZ3MgPSBzZWN0aW9uLmNvbnN1bWVyLl9nZW5lcmF0ZWRNYXBwaW5ncztcbiAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgc2VjdGlvbk1hcHBpbmdzLmxlbmd0aDsgaisrKSB7XG4gICAgICAgIHZhciBtYXBwaW5nID0gc2VjdGlvbk1hcHBpbmdzW2pdO1xuXG4gICAgICAgIHZhciBzb3VyY2UgPSBzZWN0aW9uLmNvbnN1bWVyLl9zb3VyY2VzLmF0KG1hcHBpbmcuc291cmNlKTtcbiAgICAgICAgaWYgKHNlY3Rpb24uY29uc3VtZXIuc291cmNlUm9vdCAhPT0gbnVsbCkge1xuICAgICAgICAgIHNvdXJjZSA9IHV0aWwuam9pbihzZWN0aW9uLmNvbnN1bWVyLnNvdXJjZVJvb3QsIHNvdXJjZSk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5fc291cmNlcy5hZGQoc291cmNlKTtcbiAgICAgICAgc291cmNlID0gdGhpcy5fc291cmNlcy5pbmRleE9mKHNvdXJjZSk7XG5cbiAgICAgICAgdmFyIG5hbWUgPSBzZWN0aW9uLmNvbnN1bWVyLl9uYW1lcy5hdChtYXBwaW5nLm5hbWUpO1xuICAgICAgICB0aGlzLl9uYW1lcy5hZGQobmFtZSk7XG4gICAgICAgIG5hbWUgPSB0aGlzLl9uYW1lcy5pbmRleE9mKG5hbWUpO1xuXG4gICAgICAgIC8vIFRoZSBtYXBwaW5ncyBjb21pbmcgZnJvbSB0aGUgY29uc3VtZXIgZm9yIHRoZSBzZWN0aW9uIGhhdmVcbiAgICAgICAgLy8gZ2VuZXJhdGVkIHBvc2l0aW9ucyByZWxhdGl2ZSB0byB0aGUgc3RhcnQgb2YgdGhlIHNlY3Rpb24sIHNvIHdlXG4gICAgICAgIC8vIG5lZWQgdG8gb2Zmc2V0IHRoZW0gdG8gYmUgcmVsYXRpdmUgdG8gdGhlIHN0YXJ0IG9mIHRoZSBjb25jYXRlbmF0ZWRcbiAgICAgICAgLy8gZ2VuZXJhdGVkIGZpbGUuXG4gICAgICAgIHZhciBhZGp1c3RlZE1hcHBpbmcgPSB7XG4gICAgICAgICAgc291cmNlOiBzb3VyY2UsXG4gICAgICAgICAgZ2VuZXJhdGVkTGluZTogbWFwcGluZy5nZW5lcmF0ZWRMaW5lICtcbiAgICAgICAgICAgIChzZWN0aW9uLmdlbmVyYXRlZE9mZnNldC5nZW5lcmF0ZWRMaW5lIC0gMSksXG4gICAgICAgICAgZ2VuZXJhdGVkQ29sdW1uOiBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbiArXG4gICAgICAgICAgICAoc2VjdGlvbi5nZW5lcmF0ZWRPZmZzZXQuZ2VuZXJhdGVkTGluZSA9PT0gbWFwcGluZy5nZW5lcmF0ZWRMaW5lXG4gICAgICAgICAgICA/IHNlY3Rpb24uZ2VuZXJhdGVkT2Zmc2V0LmdlbmVyYXRlZENvbHVtbiAtIDFcbiAgICAgICAgICAgIDogMCksXG4gICAgICAgICAgb3JpZ2luYWxMaW5lOiBtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICBvcmlnaW5hbENvbHVtbjogbWFwcGluZy5vcmlnaW5hbENvbHVtbixcbiAgICAgICAgICBuYW1lOiBuYW1lXG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fX2dlbmVyYXRlZE1hcHBpbmdzLnB1c2goYWRqdXN0ZWRNYXBwaW5nKTtcbiAgICAgICAgaWYgKHR5cGVvZiBhZGp1c3RlZE1hcHBpbmcub3JpZ2luYWxMaW5lID09PSAnbnVtYmVyJykge1xuICAgICAgICAgIHRoaXMuX19vcmlnaW5hbE1hcHBpbmdzLnB1c2goYWRqdXN0ZWRNYXBwaW5nKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgIHF1aWNrU29ydCh0aGlzLl9fZ2VuZXJhdGVkTWFwcGluZ3MsIHV0aWwuY29tcGFyZUJ5R2VuZXJhdGVkUG9zaXRpb25zRGVmbGF0ZWQpO1xuICAgIHF1aWNrU29ydCh0aGlzLl9fb3JpZ2luYWxNYXBwaW5ncywgdXRpbC5jb21wYXJlQnlPcmlnaW5hbFBvc2l0aW9ucyk7XG4gIH07XG5cbmV4cG9ydHMuSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyID0gSW5kZXhlZFNvdXJjZU1hcENvbnN1bWVyO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvc291cmNlLW1hcC1jb25zdW1lci5qc1xuLy8gbW9kdWxlIGlkID0gN1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbmV4cG9ydHMuR1JFQVRFU1RfTE9XRVJfQk9VTkQgPSAxO1xuZXhwb3J0cy5MRUFTVF9VUFBFUl9CT1VORCA9IDI7XG5cbi8qKlxuICogUmVjdXJzaXZlIGltcGxlbWVudGF0aW9uIG9mIGJpbmFyeSBzZWFyY2guXG4gKlxuICogQHBhcmFtIGFMb3cgSW5kaWNlcyBoZXJlIGFuZCBsb3dlciBkbyBub3QgY29udGFpbiB0aGUgbmVlZGxlLlxuICogQHBhcmFtIGFIaWdoIEluZGljZXMgaGVyZSBhbmQgaGlnaGVyIGRvIG5vdCBjb250YWluIHRoZSBuZWVkbGUuXG4gKiBAcGFyYW0gYU5lZWRsZSBUaGUgZWxlbWVudCBiZWluZyBzZWFyY2hlZCBmb3IuXG4gKiBAcGFyYW0gYUhheXN0YWNrIFRoZSBub24tZW1wdHkgYXJyYXkgYmVpbmcgc2VhcmNoZWQuXG4gKiBAcGFyYW0gYUNvbXBhcmUgRnVuY3Rpb24gd2hpY2ggdGFrZXMgdHdvIGVsZW1lbnRzIGFuZCByZXR1cm5zIC0xLCAwLCBvciAxLlxuICogQHBhcmFtIGFCaWFzIEVpdGhlciAnYmluYXJ5U2VhcmNoLkdSRUFURVNUX0xPV0VSX0JPVU5EJyBvclxuICogICAgICdiaW5hcnlTZWFyY2guTEVBU1RfVVBQRVJfQk9VTkQnLiBTcGVjaWZpZXMgd2hldGhlciB0byByZXR1cm4gdGhlXG4gKiAgICAgY2xvc2VzdCBlbGVtZW50IHRoYXQgaXMgc21hbGxlciB0aGFuIG9yIGdyZWF0ZXIgdGhhbiB0aGUgb25lIHdlIGFyZVxuICogICAgIHNlYXJjaGluZyBmb3IsIHJlc3BlY3RpdmVseSwgaWYgdGhlIGV4YWN0IGVsZW1lbnQgY2Fubm90IGJlIGZvdW5kLlxuICovXG5mdW5jdGlvbiByZWN1cnNpdmVTZWFyY2goYUxvdywgYUhpZ2gsIGFOZWVkbGUsIGFIYXlzdGFjaywgYUNvbXBhcmUsIGFCaWFzKSB7XG4gIC8vIFRoaXMgZnVuY3Rpb24gdGVybWluYXRlcyB3aGVuIG9uZSBvZiB0aGUgZm9sbG93aW5nIGlzIHRydWU6XG4gIC8vXG4gIC8vICAgMS4gV2UgZmluZCB0aGUgZXhhY3QgZWxlbWVudCB3ZSBhcmUgbG9va2luZyBmb3IuXG4gIC8vXG4gIC8vICAgMi4gV2UgZGlkIG5vdCBmaW5kIHRoZSBleGFjdCBlbGVtZW50LCBidXQgd2UgY2FuIHJldHVybiB0aGUgaW5kZXggb2ZcbiAgLy8gICAgICB0aGUgbmV4dC1jbG9zZXN0IGVsZW1lbnQuXG4gIC8vXG4gIC8vICAgMy4gV2UgZGlkIG5vdCBmaW5kIHRoZSBleGFjdCBlbGVtZW50LCBhbmQgdGhlcmUgaXMgbm8gbmV4dC1jbG9zZXN0XG4gIC8vICAgICAgZWxlbWVudCB0aGFuIHRoZSBvbmUgd2UgYXJlIHNlYXJjaGluZyBmb3IsIHNvIHdlIHJldHVybiAtMS5cbiAgdmFyIG1pZCA9IE1hdGguZmxvb3IoKGFIaWdoIC0gYUxvdykgLyAyKSArIGFMb3c7XG4gIHZhciBjbXAgPSBhQ29tcGFyZShhTmVlZGxlLCBhSGF5c3RhY2tbbWlkXSwgdHJ1ZSk7XG4gIGlmIChjbXAgPT09IDApIHtcbiAgICAvLyBGb3VuZCB0aGUgZWxlbWVudCB3ZSBhcmUgbG9va2luZyBmb3IuXG4gICAgcmV0dXJuIG1pZDtcbiAgfVxuICBlbHNlIGlmIChjbXAgPiAwKSB7XG4gICAgLy8gT3VyIG5lZWRsZSBpcyBncmVhdGVyIHRoYW4gYUhheXN0YWNrW21pZF0uXG4gICAgaWYgKGFIaWdoIC0gbWlkID4gMSkge1xuICAgICAgLy8gVGhlIGVsZW1lbnQgaXMgaW4gdGhlIHVwcGVyIGhhbGYuXG4gICAgICByZXR1cm4gcmVjdXJzaXZlU2VhcmNoKG1pZCwgYUhpZ2gsIGFOZWVkbGUsIGFIYXlzdGFjaywgYUNvbXBhcmUsIGFCaWFzKTtcbiAgICB9XG5cbiAgICAvLyBUaGUgZXhhY3QgbmVlZGxlIGVsZW1lbnQgd2FzIG5vdCBmb3VuZCBpbiB0aGlzIGhheXN0YWNrLiBEZXRlcm1pbmUgaWZcbiAgICAvLyB3ZSBhcmUgaW4gdGVybWluYXRpb24gY2FzZSAoMykgb3IgKDIpIGFuZCByZXR1cm4gdGhlIGFwcHJvcHJpYXRlIHRoaW5nLlxuICAgIGlmIChhQmlhcyA9PSBleHBvcnRzLkxFQVNUX1VQUEVSX0JPVU5EKSB7XG4gICAgICByZXR1cm4gYUhpZ2ggPCBhSGF5c3RhY2subGVuZ3RoID8gYUhpZ2ggOiAtMTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIG1pZDtcbiAgICB9XG4gIH1cbiAgZWxzZSB7XG4gICAgLy8gT3VyIG5lZWRsZSBpcyBsZXNzIHRoYW4gYUhheXN0YWNrW21pZF0uXG4gICAgaWYgKG1pZCAtIGFMb3cgPiAxKSB7XG4gICAgICAvLyBUaGUgZWxlbWVudCBpcyBpbiB0aGUgbG93ZXIgaGFsZi5cbiAgICAgIHJldHVybiByZWN1cnNpdmVTZWFyY2goYUxvdywgbWlkLCBhTmVlZGxlLCBhSGF5c3RhY2ssIGFDb21wYXJlLCBhQmlhcyk7XG4gICAgfVxuXG4gICAgLy8gd2UgYXJlIGluIHRlcm1pbmF0aW9uIGNhc2UgKDMpIG9yICgyKSBhbmQgcmV0dXJuIHRoZSBhcHByb3ByaWF0ZSB0aGluZy5cbiAgICBpZiAoYUJpYXMgPT0gZXhwb3J0cy5MRUFTVF9VUFBFUl9CT1VORCkge1xuICAgICAgcmV0dXJuIG1pZDtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIGFMb3cgPCAwID8gLTEgOiBhTG93O1xuICAgIH1cbiAgfVxufVxuXG4vKipcbiAqIFRoaXMgaXMgYW4gaW1wbGVtZW50YXRpb24gb2YgYmluYXJ5IHNlYXJjaCB3aGljaCB3aWxsIGFsd2F5cyB0cnkgYW5kIHJldHVyblxuICogdGhlIGluZGV4IG9mIHRoZSBjbG9zZXN0IGVsZW1lbnQgaWYgdGhlcmUgaXMgbm8gZXhhY3QgaGl0LiBUaGlzIGlzIGJlY2F1c2VcbiAqIG1hcHBpbmdzIGJldHdlZW4gb3JpZ2luYWwgYW5kIGdlbmVyYXRlZCBsaW5lL2NvbCBwYWlycyBhcmUgc2luZ2xlIHBvaW50cyxcbiAqIGFuZCB0aGVyZSBpcyBhbiBpbXBsaWNpdCByZWdpb24gYmV0d2VlbiBlYWNoIG9mIHRoZW0sIHNvIGEgbWlzcyBqdXN0IG1lYW5zXG4gKiB0aGF0IHlvdSBhcmVuJ3Qgb24gdGhlIHZlcnkgc3RhcnQgb2YgYSByZWdpb24uXG4gKlxuICogQHBhcmFtIGFOZWVkbGUgVGhlIGVsZW1lbnQgeW91IGFyZSBsb29raW5nIGZvci5cbiAqIEBwYXJhbSBhSGF5c3RhY2sgVGhlIGFycmF5IHRoYXQgaXMgYmVpbmcgc2VhcmNoZWQuXG4gKiBAcGFyYW0gYUNvbXBhcmUgQSBmdW5jdGlvbiB3aGljaCB0YWtlcyB0aGUgbmVlZGxlIGFuZCBhbiBlbGVtZW50IGluIHRoZVxuICogICAgIGFycmF5IGFuZCByZXR1cm5zIC0xLCAwLCBvciAxIGRlcGVuZGluZyBvbiB3aGV0aGVyIHRoZSBuZWVkbGUgaXMgbGVzc1xuICogICAgIHRoYW4sIGVxdWFsIHRvLCBvciBncmVhdGVyIHRoYW4gdGhlIGVsZW1lbnQsIHJlc3BlY3RpdmVseS5cbiAqIEBwYXJhbSBhQmlhcyBFaXRoZXIgJ2JpbmFyeVNlYXJjaC5HUkVBVEVTVF9MT1dFUl9CT1VORCcgb3JcbiAqICAgICAnYmluYXJ5U2VhcmNoLkxFQVNUX1VQUEVSX0JPVU5EJy4gU3BlY2lmaWVzIHdoZXRoZXIgdG8gcmV0dXJuIHRoZVxuICogICAgIGNsb3Nlc3QgZWxlbWVudCB0aGF0IGlzIHNtYWxsZXIgdGhhbiBvciBncmVhdGVyIHRoYW4gdGhlIG9uZSB3ZSBhcmVcbiAqICAgICBzZWFyY2hpbmcgZm9yLCByZXNwZWN0aXZlbHksIGlmIHRoZSBleGFjdCBlbGVtZW50IGNhbm5vdCBiZSBmb3VuZC5cbiAqICAgICBEZWZhdWx0cyB0byAnYmluYXJ5U2VhcmNoLkdSRUFURVNUX0xPV0VSX0JPVU5EJy5cbiAqL1xuZXhwb3J0cy5zZWFyY2ggPSBmdW5jdGlvbiBzZWFyY2goYU5lZWRsZSwgYUhheXN0YWNrLCBhQ29tcGFyZSwgYUJpYXMpIHtcbiAgaWYgKGFIYXlzdGFjay5sZW5ndGggPT09IDApIHtcbiAgICByZXR1cm4gLTE7XG4gIH1cblxuICB2YXIgaW5kZXggPSByZWN1cnNpdmVTZWFyY2goLTEsIGFIYXlzdGFjay5sZW5ndGgsIGFOZWVkbGUsIGFIYXlzdGFjayxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFDb21wYXJlLCBhQmlhcyB8fCBleHBvcnRzLkdSRUFURVNUX0xPV0VSX0JPVU5EKTtcbiAgaWYgKGluZGV4IDwgMCkge1xuICAgIHJldHVybiAtMTtcbiAgfVxuXG4gIC8vIFdlIGhhdmUgZm91bmQgZWl0aGVyIHRoZSBleGFjdCBlbGVtZW50LCBvciB0aGUgbmV4dC1jbG9zZXN0IGVsZW1lbnQgdGhhblxuICAvLyB0aGUgb25lIHdlIGFyZSBzZWFyY2hpbmcgZm9yLiBIb3dldmVyLCB0aGVyZSBtYXkgYmUgbW9yZSB0aGFuIG9uZSBzdWNoXG4gIC8vIGVsZW1lbnQuIE1ha2Ugc3VyZSB3ZSBhbHdheXMgcmV0dXJuIHRoZSBzbWFsbGVzdCBvZiB0aGVzZS5cbiAgd2hpbGUgKGluZGV4IC0gMSA+PSAwKSB7XG4gICAgaWYgKGFDb21wYXJlKGFIYXlzdGFja1tpbmRleF0sIGFIYXlzdGFja1tpbmRleCAtIDFdLCB0cnVlKSAhPT0gMCkge1xuICAgICAgYnJlYWs7XG4gICAgfVxuICAgIC0taW5kZXg7XG4gIH1cblxuICByZXR1cm4gaW5kZXg7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvYmluYXJ5LXNlYXJjaC5qc1xuLy8gbW9kdWxlIGlkID0gOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbi8vIEl0IHR1cm5zIG91dCB0aGF0IHNvbWUgKG1vc3Q/KSBKYXZhU2NyaXB0IGVuZ2luZXMgZG9uJ3Qgc2VsZi1ob3N0XG4vLyBgQXJyYXkucHJvdG90eXBlLnNvcnRgLiBUaGlzIG1ha2VzIHNlbnNlIGJlY2F1c2UgQysrIHdpbGwgbGlrZWx5IHJlbWFpblxuLy8gZmFzdGVyIHRoYW4gSlMgd2hlbiBkb2luZyByYXcgQ1BVLWludGVuc2l2ZSBzb3J0aW5nLiBIb3dldmVyLCB3aGVuIHVzaW5nIGFcbi8vIGN1c3RvbSBjb21wYXJhdG9yIGZ1bmN0aW9uLCBjYWxsaW5nIGJhY2sgYW5kIGZvcnRoIGJldHdlZW4gdGhlIFZNJ3MgQysrIGFuZFxuLy8gSklUJ2QgSlMgaXMgcmF0aGVyIHNsb3cgKmFuZCogbG9zZXMgSklUIHR5cGUgaW5mb3JtYXRpb24sIHJlc3VsdGluZyBpblxuLy8gd29yc2UgZ2VuZXJhdGVkIGNvZGUgZm9yIHRoZSBjb21wYXJhdG9yIGZ1bmN0aW9uIHRoYW4gd291bGQgYmUgb3B0aW1hbC4gSW5cbi8vIGZhY3QsIHdoZW4gc29ydGluZyB3aXRoIGEgY29tcGFyYXRvciwgdGhlc2UgY29zdHMgb3V0d2VpZ2ggdGhlIGJlbmVmaXRzIG9mXG4vLyBzb3J0aW5nIGluIEMrKy4gQnkgdXNpbmcgb3VyIG93biBKUy1pbXBsZW1lbnRlZCBRdWljayBTb3J0IChiZWxvdyksIHdlIGdldFxuLy8gYSB+MzUwMG1zIG1lYW4gc3BlZWQtdXAgaW4gYGJlbmNoL2JlbmNoLmh0bWxgLlxuXG4vKipcbiAqIFN3YXAgdGhlIGVsZW1lbnRzIGluZGV4ZWQgYnkgYHhgIGFuZCBgeWAgaW4gdGhlIGFycmF5IGBhcnlgLlxuICpcbiAqIEBwYXJhbSB7QXJyYXl9IGFyeVxuICogICAgICAgIFRoZSBhcnJheS5cbiAqIEBwYXJhbSB7TnVtYmVyfSB4XG4gKiAgICAgICAgVGhlIGluZGV4IG9mIHRoZSBmaXJzdCBpdGVtLlxuICogQHBhcmFtIHtOdW1iZXJ9IHlcbiAqICAgICAgICBUaGUgaW5kZXggb2YgdGhlIHNlY29uZCBpdGVtLlxuICovXG5mdW5jdGlvbiBzd2FwKGFyeSwgeCwgeSkge1xuICB2YXIgdGVtcCA9IGFyeVt4XTtcbiAgYXJ5W3hdID0gYXJ5W3ldO1xuICBhcnlbeV0gPSB0ZW1wO1xufVxuXG4vKipcbiAqIFJldHVybnMgYSByYW5kb20gaW50ZWdlciB3aXRoaW4gdGhlIHJhbmdlIGBsb3cgLi4gaGlnaGAgaW5jbHVzaXZlLlxuICpcbiAqIEBwYXJhbSB7TnVtYmVyfSBsb3dcbiAqICAgICAgICBUaGUgbG93ZXIgYm91bmQgb24gdGhlIHJhbmdlLlxuICogQHBhcmFtIHtOdW1iZXJ9IGhpZ2hcbiAqICAgICAgICBUaGUgdXBwZXIgYm91bmQgb24gdGhlIHJhbmdlLlxuICovXG5mdW5jdGlvbiByYW5kb21JbnRJblJhbmdlKGxvdywgaGlnaCkge1xuICByZXR1cm4gTWF0aC5yb3VuZChsb3cgKyAoTWF0aC5yYW5kb20oKSAqIChoaWdoIC0gbG93KSkpO1xufVxuXG4vKipcbiAqIFRoZSBRdWljayBTb3J0IGFsZ29yaXRobS5cbiAqXG4gKiBAcGFyYW0ge0FycmF5fSBhcnlcbiAqICAgICAgICBBbiBhcnJheSB0byBzb3J0LlxuICogQHBhcmFtIHtmdW5jdGlvbn0gY29tcGFyYXRvclxuICogICAgICAgIEZ1bmN0aW9uIHRvIHVzZSB0byBjb21wYXJlIHR3byBpdGVtcy5cbiAqIEBwYXJhbSB7TnVtYmVyfSBwXG4gKiAgICAgICAgU3RhcnQgaW5kZXggb2YgdGhlIGFycmF5XG4gKiBAcGFyYW0ge051bWJlcn0gclxuICogICAgICAgIEVuZCBpbmRleCBvZiB0aGUgYXJyYXlcbiAqL1xuZnVuY3Rpb24gZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCBwLCByKSB7XG4gIC8vIElmIG91ciBsb3dlciBib3VuZCBpcyBsZXNzIHRoYW4gb3VyIHVwcGVyIGJvdW5kLCB3ZSAoMSkgcGFydGl0aW9uIHRoZVxuICAvLyBhcnJheSBpbnRvIHR3byBwaWVjZXMgYW5kICgyKSByZWN1cnNlIG9uIGVhY2ggaGFsZi4gSWYgaXQgaXMgbm90LCB0aGlzIGlzXG4gIC8vIHRoZSBlbXB0eSBhcnJheSBhbmQgb3VyIGJhc2UgY2FzZS5cblxuICBpZiAocCA8IHIpIHtcbiAgICAvLyAoMSkgUGFydGl0aW9uaW5nLlxuICAgIC8vXG4gICAgLy8gVGhlIHBhcnRpdGlvbmluZyBjaG9vc2VzIGEgcGl2b3QgYmV0d2VlbiBgcGAgYW5kIGByYCBhbmQgbW92ZXMgYWxsXG4gICAgLy8gZWxlbWVudHMgdGhhdCBhcmUgbGVzcyB0aGFuIG9yIGVxdWFsIHRvIHRoZSBwaXZvdCB0byB0aGUgYmVmb3JlIGl0LCBhbmRcbiAgICAvLyBhbGwgdGhlIGVsZW1lbnRzIHRoYXQgYXJlIGdyZWF0ZXIgdGhhbiBpdCBhZnRlciBpdC4gVGhlIGVmZmVjdCBpcyB0aGF0XG4gICAgLy8gb25jZSBwYXJ0aXRpb24gaXMgZG9uZSwgdGhlIHBpdm90IGlzIGluIHRoZSBleGFjdCBwbGFjZSBpdCB3aWxsIGJlIHdoZW5cbiAgICAvLyB0aGUgYXJyYXkgaXMgcHV0IGluIHNvcnRlZCBvcmRlciwgYW5kIGl0IHdpbGwgbm90IG5lZWQgdG8gYmUgbW92ZWRcbiAgICAvLyBhZ2Fpbi4gVGhpcyBydW5zIGluIE8obikgdGltZS5cblxuICAgIC8vIEFsd2F5cyBjaG9vc2UgYSByYW5kb20gcGl2b3Qgc28gdGhhdCBhbiBpbnB1dCBhcnJheSB3aGljaCBpcyByZXZlcnNlXG4gICAgLy8gc29ydGVkIGRvZXMgbm90IGNhdXNlIE8obl4yKSBydW5uaW5nIHRpbWUuXG4gICAgdmFyIHBpdm90SW5kZXggPSByYW5kb21JbnRJblJhbmdlKHAsIHIpO1xuICAgIHZhciBpID0gcCAtIDE7XG5cbiAgICBzd2FwKGFyeSwgcGl2b3RJbmRleCwgcik7XG4gICAgdmFyIHBpdm90ID0gYXJ5W3JdO1xuXG4gICAgLy8gSW1tZWRpYXRlbHkgYWZ0ZXIgYGpgIGlzIGluY3JlbWVudGVkIGluIHRoaXMgbG9vcCwgdGhlIGZvbGxvd2luZyBob2xkXG4gICAgLy8gdHJ1ZTpcbiAgICAvL1xuICAgIC8vICAgKiBFdmVyeSBlbGVtZW50IGluIGBhcnlbcCAuLiBpXWAgaXMgbGVzcyB0aGFuIG9yIGVxdWFsIHRvIHRoZSBwaXZvdC5cbiAgICAvL1xuICAgIC8vICAgKiBFdmVyeSBlbGVtZW50IGluIGBhcnlbaSsxIC4uIGotMV1gIGlzIGdyZWF0ZXIgdGhhbiB0aGUgcGl2b3QuXG4gICAgZm9yICh2YXIgaiA9IHA7IGogPCByOyBqKyspIHtcbiAgICAgIGlmIChjb21wYXJhdG9yKGFyeVtqXSwgcGl2b3QpIDw9IDApIHtcbiAgICAgICAgaSArPSAxO1xuICAgICAgICBzd2FwKGFyeSwgaSwgaik7XG4gICAgICB9XG4gICAgfVxuXG4gICAgc3dhcChhcnksIGkgKyAxLCBqKTtcbiAgICB2YXIgcSA9IGkgKyAxO1xuXG4gICAgLy8gKDIpIFJlY3Vyc2Ugb24gZWFjaCBoYWxmLlxuXG4gICAgZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCBwLCBxIC0gMSk7XG4gICAgZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCBxICsgMSwgcik7XG4gIH1cbn1cblxuLyoqXG4gKiBTb3J0IHRoZSBnaXZlbiBhcnJheSBpbi1wbGFjZSB3aXRoIHRoZSBnaXZlbiBjb21wYXJhdG9yIGZ1bmN0aW9uLlxuICpcbiAqIEBwYXJhbSB7QXJyYXl9IGFyeVxuICogICAgICAgIEFuIGFycmF5IHRvIHNvcnQuXG4gKiBAcGFyYW0ge2Z1bmN0aW9ufSBjb21wYXJhdG9yXG4gKiAgICAgICAgRnVuY3Rpb24gdG8gdXNlIHRvIGNvbXBhcmUgdHdvIGl0ZW1zLlxuICovXG5leHBvcnRzLnF1aWNrU29ydCA9IGZ1bmN0aW9uIChhcnksIGNvbXBhcmF0b3IpIHtcbiAgZG9RdWlja1NvcnQoYXJ5LCBjb21wYXJhdG9yLCAwLCBhcnkubGVuZ3RoIC0gMSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvcXVpY2stc29ydC5qc1xuLy8gbW9kdWxlIGlkID0gOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiLCIvKiAtKi0gTW9kZToganM7IGpzLWluZGVudC1sZXZlbDogMjsgLSotICovXG4vKlxuICogQ29weXJpZ2h0IDIwMTEgTW96aWxsYSBGb3VuZGF0aW9uIGFuZCBjb250cmlidXRvcnNcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBOZXcgQlNEIGxpY2Vuc2UuIFNlZSBMSUNFTlNFIG9yOlxuICogaHR0cDovL29wZW5zb3VyY2Uub3JnL2xpY2Vuc2VzL0JTRC0zLUNsYXVzZVxuICovXG5cbnZhciBTb3VyY2VNYXBHZW5lcmF0b3IgPSByZXF1aXJlKCcuL3NvdXJjZS1tYXAtZ2VuZXJhdG9yJykuU291cmNlTWFwR2VuZXJhdG9yO1xudmFyIHV0aWwgPSByZXF1aXJlKCcuL3V0aWwnKTtcblxuLy8gTWF0Y2hlcyBhIFdpbmRvd3Mtc3R5bGUgYFxcclxcbmAgbmV3bGluZSBvciBhIGBcXG5gIG5ld2xpbmUgdXNlZCBieSBhbGwgb3RoZXJcbi8vIG9wZXJhdGluZyBzeXN0ZW1zIHRoZXNlIGRheXMgKGNhcHR1cmluZyB0aGUgcmVzdWx0KS5cbnZhciBSRUdFWF9ORVdMSU5FID0gLyhcXHI/XFxuKS87XG5cbi8vIE5ld2xpbmUgY2hhcmFjdGVyIGNvZGUgZm9yIGNoYXJDb2RlQXQoKSBjb21wYXJpc29uc1xudmFyIE5FV0xJTkVfQ09ERSA9IDEwO1xuXG4vLyBQcml2YXRlIHN5bWJvbCBmb3IgaWRlbnRpZnlpbmcgYFNvdXJjZU5vZGVgcyB3aGVuIG11bHRpcGxlIHZlcnNpb25zIG9mXG4vLyB0aGUgc291cmNlLW1hcCBsaWJyYXJ5IGFyZSBsb2FkZWQuIFRoaXMgTVVTVCBOT1QgQ0hBTkdFIGFjcm9zc1xuLy8gdmVyc2lvbnMhXG52YXIgaXNTb3VyY2VOb2RlID0gXCIkJCRpc1NvdXJjZU5vZGUkJCRcIjtcblxuLyoqXG4gKiBTb3VyY2VOb2RlcyBwcm92aWRlIGEgd2F5IHRvIGFic3RyYWN0IG92ZXIgaW50ZXJwb2xhdGluZy9jb25jYXRlbmF0aW5nXG4gKiBzbmlwcGV0cyBvZiBnZW5lcmF0ZWQgSmF2YVNjcmlwdCBzb3VyY2UgY29kZSB3aGlsZSBtYWludGFpbmluZyB0aGUgbGluZSBhbmRcbiAqIGNvbHVtbiBpbmZvcm1hdGlvbiBhc3NvY2lhdGVkIHdpdGggdGhlIG9yaWdpbmFsIHNvdXJjZSBjb2RlLlxuICpcbiAqIEBwYXJhbSBhTGluZSBUaGUgb3JpZ2luYWwgbGluZSBudW1iZXIuXG4gKiBAcGFyYW0gYUNvbHVtbiBUaGUgb3JpZ2luYWwgY29sdW1uIG51bWJlci5cbiAqIEBwYXJhbSBhU291cmNlIFRoZSBvcmlnaW5hbCBzb3VyY2UncyBmaWxlbmFtZS5cbiAqIEBwYXJhbSBhQ2h1bmtzIE9wdGlvbmFsLiBBbiBhcnJheSBvZiBzdHJpbmdzIHdoaWNoIGFyZSBzbmlwcGV0cyBvZlxuICogICAgICAgIGdlbmVyYXRlZCBKUywgb3Igb3RoZXIgU291cmNlTm9kZXMuXG4gKiBAcGFyYW0gYU5hbWUgVGhlIG9yaWdpbmFsIGlkZW50aWZpZXIuXG4gKi9cbmZ1bmN0aW9uIFNvdXJjZU5vZGUoYUxpbmUsIGFDb2x1bW4sIGFTb3VyY2UsIGFDaHVua3MsIGFOYW1lKSB7XG4gIHRoaXMuY2hpbGRyZW4gPSBbXTtcbiAgdGhpcy5zb3VyY2VDb250ZW50cyA9IHt9O1xuICB0aGlzLmxpbmUgPSBhTGluZSA9PSBudWxsID8gbnVsbCA6IGFMaW5lO1xuICB0aGlzLmNvbHVtbiA9IGFDb2x1bW4gPT0gbnVsbCA/IG51bGwgOiBhQ29sdW1uO1xuICB0aGlzLnNvdXJjZSA9IGFTb3VyY2UgPT0gbnVsbCA/IG51bGwgOiBhU291cmNlO1xuICB0aGlzLm5hbWUgPSBhTmFtZSA9PSBudWxsID8gbnVsbCA6IGFOYW1lO1xuICB0aGlzW2lzU291cmNlTm9kZV0gPSB0cnVlO1xuICBpZiAoYUNodW5rcyAhPSBudWxsKSB0aGlzLmFkZChhQ2h1bmtzKTtcbn1cblxuLyoqXG4gKiBDcmVhdGVzIGEgU291cmNlTm9kZSBmcm9tIGdlbmVyYXRlZCBjb2RlIGFuZCBhIFNvdXJjZU1hcENvbnN1bWVyLlxuICpcbiAqIEBwYXJhbSBhR2VuZXJhdGVkQ29kZSBUaGUgZ2VuZXJhdGVkIGNvZGVcbiAqIEBwYXJhbSBhU291cmNlTWFwQ29uc3VtZXIgVGhlIFNvdXJjZU1hcCBmb3IgdGhlIGdlbmVyYXRlZCBjb2RlXG4gKiBAcGFyYW0gYVJlbGF0aXZlUGF0aCBPcHRpb25hbC4gVGhlIHBhdGggdGhhdCByZWxhdGl2ZSBzb3VyY2VzIGluIHRoZVxuICogICAgICAgIFNvdXJjZU1hcENvbnN1bWVyIHNob3VsZCBiZSByZWxhdGl2ZSB0by5cbiAqL1xuU291cmNlTm9kZS5mcm9tU3RyaW5nV2l0aFNvdXJjZU1hcCA9XG4gIGZ1bmN0aW9uIFNvdXJjZU5vZGVfZnJvbVN0cmluZ1dpdGhTb3VyY2VNYXAoYUdlbmVyYXRlZENvZGUsIGFTb3VyY2VNYXBDb25zdW1lciwgYVJlbGF0aXZlUGF0aCkge1xuICAgIC8vIFRoZSBTb3VyY2VOb2RlIHdlIHdhbnQgdG8gZmlsbCB3aXRoIHRoZSBnZW5lcmF0ZWQgY29kZVxuICAgIC8vIGFuZCB0aGUgU291cmNlTWFwXG4gICAgdmFyIG5vZGUgPSBuZXcgU291cmNlTm9kZSgpO1xuXG4gICAgLy8gQWxsIGV2ZW4gaW5kaWNlcyBvZiB0aGlzIGFycmF5IGFyZSBvbmUgbGluZSBvZiB0aGUgZ2VuZXJhdGVkIGNvZGUsXG4gICAgLy8gd2hpbGUgYWxsIG9kZCBpbmRpY2VzIGFyZSB0aGUgbmV3bGluZXMgYmV0d2VlbiB0d28gYWRqYWNlbnQgbGluZXNcbiAgICAvLyAoc2luY2UgYFJFR0VYX05FV0xJTkVgIGNhcHR1cmVzIGl0cyBtYXRjaCkuXG4gICAgLy8gUHJvY2Vzc2VkIGZyYWdtZW50cyBhcmUgYWNjZXNzZWQgYnkgY2FsbGluZyBgc2hpZnROZXh0TGluZWAuXG4gICAgdmFyIHJlbWFpbmluZ0xpbmVzID0gYUdlbmVyYXRlZENvZGUuc3BsaXQoUkVHRVhfTkVXTElORSk7XG4gICAgdmFyIHJlbWFpbmluZ0xpbmVzSW5kZXggPSAwO1xuICAgIHZhciBzaGlmdE5leHRMaW5lID0gZnVuY3Rpb24oKSB7XG4gICAgICB2YXIgbGluZUNvbnRlbnRzID0gZ2V0TmV4dExpbmUoKTtcbiAgICAgIC8vIFRoZSBsYXN0IGxpbmUgb2YgYSBmaWxlIG1pZ2h0IG5vdCBoYXZlIGEgbmV3bGluZS5cbiAgICAgIHZhciBuZXdMaW5lID0gZ2V0TmV4dExpbmUoKSB8fCBcIlwiO1xuICAgICAgcmV0dXJuIGxpbmVDb250ZW50cyArIG5ld0xpbmU7XG5cbiAgICAgIGZ1bmN0aW9uIGdldE5leHRMaW5lKCkge1xuICAgICAgICByZXR1cm4gcmVtYWluaW5nTGluZXNJbmRleCA8IHJlbWFpbmluZ0xpbmVzLmxlbmd0aCA/XG4gICAgICAgICAgICByZW1haW5pbmdMaW5lc1tyZW1haW5pbmdMaW5lc0luZGV4KytdIDogdW5kZWZpbmVkO1xuICAgICAgfVxuICAgIH07XG5cbiAgICAvLyBXZSBuZWVkIHRvIHJlbWVtYmVyIHRoZSBwb3NpdGlvbiBvZiBcInJlbWFpbmluZ0xpbmVzXCJcbiAgICB2YXIgbGFzdEdlbmVyYXRlZExpbmUgPSAxLCBsYXN0R2VuZXJhdGVkQ29sdW1uID0gMDtcblxuICAgIC8vIFRoZSBnZW5lcmF0ZSBTb3VyY2VOb2RlcyB3ZSBuZWVkIGEgY29kZSByYW5nZS5cbiAgICAvLyBUbyBleHRyYWN0IGl0IGN1cnJlbnQgYW5kIGxhc3QgbWFwcGluZyBpcyB1c2VkLlxuICAgIC8vIEhlcmUgd2Ugc3RvcmUgdGhlIGxhc3QgbWFwcGluZy5cbiAgICB2YXIgbGFzdE1hcHBpbmcgPSBudWxsO1xuXG4gICAgYVNvdXJjZU1hcENvbnN1bWVyLmVhY2hNYXBwaW5nKGZ1bmN0aW9uIChtYXBwaW5nKSB7XG4gICAgICBpZiAobGFzdE1hcHBpbmcgIT09IG51bGwpIHtcbiAgICAgICAgLy8gV2UgYWRkIHRoZSBjb2RlIGZyb20gXCJsYXN0TWFwcGluZ1wiIHRvIFwibWFwcGluZ1wiOlxuICAgICAgICAvLyBGaXJzdCBjaGVjayBpZiB0aGVyZSBpcyBhIG5ldyBsaW5lIGluIGJldHdlZW4uXG4gICAgICAgIGlmIChsYXN0R2VuZXJhdGVkTGluZSA8IG1hcHBpbmcuZ2VuZXJhdGVkTGluZSkge1xuICAgICAgICAgIC8vIEFzc29jaWF0ZSBmaXJzdCBsaW5lIHdpdGggXCJsYXN0TWFwcGluZ1wiXG4gICAgICAgICAgYWRkTWFwcGluZ1dpdGhDb2RlKGxhc3RNYXBwaW5nLCBzaGlmdE5leHRMaW5lKCkpO1xuICAgICAgICAgIGxhc3RHZW5lcmF0ZWRMaW5lKys7XG4gICAgICAgICAgbGFzdEdlbmVyYXRlZENvbHVtbiA9IDA7XG4gICAgICAgICAgLy8gVGhlIHJlbWFpbmluZyBjb2RlIGlzIGFkZGVkIHdpdGhvdXQgbWFwcGluZ1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIC8vIFRoZXJlIGlzIG5vIG5ldyBsaW5lIGluIGJldHdlZW4uXG4gICAgICAgICAgLy8gQXNzb2NpYXRlIHRoZSBjb2RlIGJldHdlZW4gXCJsYXN0R2VuZXJhdGVkQ29sdW1uXCIgYW5kXG4gICAgICAgICAgLy8gXCJtYXBwaW5nLmdlbmVyYXRlZENvbHVtblwiIHdpdGggXCJsYXN0TWFwcGluZ1wiXG4gICAgICAgICAgdmFyIG5leHRMaW5lID0gcmVtYWluaW5nTGluZXNbcmVtYWluaW5nTGluZXNJbmRleF07XG4gICAgICAgICAgdmFyIGNvZGUgPSBuZXh0TGluZS5zdWJzdHIoMCwgbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4gLVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxhc3RHZW5lcmF0ZWRDb2x1bW4pO1xuICAgICAgICAgIHJlbWFpbmluZ0xpbmVzW3JlbWFpbmluZ0xpbmVzSW5kZXhdID0gbmV4dExpbmUuc3Vic3RyKG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uIC1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYXN0R2VuZXJhdGVkQ29sdW1uKTtcbiAgICAgICAgICBsYXN0R2VuZXJhdGVkQ29sdW1uID0gbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW47XG4gICAgICAgICAgYWRkTWFwcGluZ1dpdGhDb2RlKGxhc3RNYXBwaW5nLCBjb2RlKTtcbiAgICAgICAgICAvLyBObyBtb3JlIHJlbWFpbmluZyBjb2RlLCBjb250aW51ZVxuICAgICAgICAgIGxhc3RNYXBwaW5nID0gbWFwcGluZztcbiAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgIC8vIFdlIGFkZCB0aGUgZ2VuZXJhdGVkIGNvZGUgdW50aWwgdGhlIGZpcnN0IG1hcHBpbmdcbiAgICAgIC8vIHRvIHRoZSBTb3VyY2VOb2RlIHdpdGhvdXQgYW55IG1hcHBpbmcuXG4gICAgICAvLyBFYWNoIGxpbmUgaXMgYWRkZWQgYXMgc2VwYXJhdGUgc3RyaW5nLlxuICAgICAgd2hpbGUgKGxhc3RHZW5lcmF0ZWRMaW5lIDwgbWFwcGluZy5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgIG5vZGUuYWRkKHNoaWZ0TmV4dExpbmUoKSk7XG4gICAgICAgIGxhc3RHZW5lcmF0ZWRMaW5lKys7XG4gICAgICB9XG4gICAgICBpZiAobGFzdEdlbmVyYXRlZENvbHVtbiA8IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uKSB7XG4gICAgICAgIHZhciBuZXh0TGluZSA9IHJlbWFpbmluZ0xpbmVzW3JlbWFpbmluZ0xpbmVzSW5kZXhdO1xuICAgICAgICBub2RlLmFkZChuZXh0TGluZS5zdWJzdHIoMCwgbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4pKTtcbiAgICAgICAgcmVtYWluaW5nTGluZXNbcmVtYWluaW5nTGluZXNJbmRleF0gPSBuZXh0TGluZS5zdWJzdHIobWFwcGluZy5nZW5lcmF0ZWRDb2x1bW4pO1xuICAgICAgICBsYXN0R2VuZXJhdGVkQ29sdW1uID0gbWFwcGluZy5nZW5lcmF0ZWRDb2x1bW47XG4gICAgICB9XG4gICAgICBsYXN0TWFwcGluZyA9IG1hcHBpbmc7XG4gICAgfSwgdGhpcyk7XG4gICAgLy8gV2UgaGF2ZSBwcm9jZXNzZWQgYWxsIG1hcHBpbmdzLlxuICAgIGlmIChyZW1haW5pbmdMaW5lc0luZGV4IDwgcmVtYWluaW5nTGluZXMubGVuZ3RoKSB7XG4gICAgICBpZiAobGFzdE1hcHBpbmcpIHtcbiAgICAgICAgLy8gQXNzb2NpYXRlIHRoZSByZW1haW5pbmcgY29kZSBpbiB0aGUgY3VycmVudCBsaW5lIHdpdGggXCJsYXN0TWFwcGluZ1wiXG4gICAgICAgIGFkZE1hcHBpbmdXaXRoQ29kZShsYXN0TWFwcGluZywgc2hpZnROZXh0TGluZSgpKTtcbiAgICAgIH1cbiAgICAgIC8vIGFuZCBhZGQgdGhlIHJlbWFpbmluZyBsaW5lcyB3aXRob3V0IGFueSBtYXBwaW5nXG4gICAgICBub2RlLmFkZChyZW1haW5pbmdMaW5lcy5zcGxpY2UocmVtYWluaW5nTGluZXNJbmRleCkuam9pbihcIlwiKSk7XG4gICAgfVxuXG4gICAgLy8gQ29weSBzb3VyY2VzQ29udGVudCBpbnRvIFNvdXJjZU5vZGVcbiAgICBhU291cmNlTWFwQ29uc3VtZXIuc291cmNlcy5mb3JFYWNoKGZ1bmN0aW9uIChzb3VyY2VGaWxlKSB7XG4gICAgICB2YXIgY29udGVudCA9IGFTb3VyY2VNYXBDb25zdW1lci5zb3VyY2VDb250ZW50Rm9yKHNvdXJjZUZpbGUpO1xuICAgICAgaWYgKGNvbnRlbnQgIT0gbnVsbCkge1xuICAgICAgICBpZiAoYVJlbGF0aXZlUGF0aCAhPSBudWxsKSB7XG4gICAgICAgICAgc291cmNlRmlsZSA9IHV0aWwuam9pbihhUmVsYXRpdmVQYXRoLCBzb3VyY2VGaWxlKTtcbiAgICAgICAgfVxuICAgICAgICBub2RlLnNldFNvdXJjZUNvbnRlbnQoc291cmNlRmlsZSwgY29udGVudCk7XG4gICAgICB9XG4gICAgfSk7XG5cbiAgICByZXR1cm4gbm9kZTtcblxuICAgIGZ1bmN0aW9uIGFkZE1hcHBpbmdXaXRoQ29kZShtYXBwaW5nLCBjb2RlKSB7XG4gICAgICBpZiAobWFwcGluZyA9PT0gbnVsbCB8fCBtYXBwaW5nLnNvdXJjZSA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgIG5vZGUuYWRkKGNvZGUpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdmFyIHNvdXJjZSA9IGFSZWxhdGl2ZVBhdGhcbiAgICAgICAgICA/IHV0aWwuam9pbihhUmVsYXRpdmVQYXRoLCBtYXBwaW5nLnNvdXJjZSlcbiAgICAgICAgICA6IG1hcHBpbmcuc291cmNlO1xuICAgICAgICBub2RlLmFkZChuZXcgU291cmNlTm9kZShtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbENvbHVtbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXBwaW5nLm5hbWUpKTtcbiAgICAgIH1cbiAgICB9XG4gIH07XG5cbi8qKlxuICogQWRkIGEgY2h1bmsgb2YgZ2VuZXJhdGVkIEpTIHRvIHRoaXMgc291cmNlIG5vZGUuXG4gKlxuICogQHBhcmFtIGFDaHVuayBBIHN0cmluZyBzbmlwcGV0IG9mIGdlbmVyYXRlZCBKUyBjb2RlLCBhbm90aGVyIGluc3RhbmNlIG9mXG4gKiAgICAgICAgU291cmNlTm9kZSwgb3IgYW4gYXJyYXkgd2hlcmUgZWFjaCBtZW1iZXIgaXMgb25lIG9mIHRob3NlIHRoaW5ncy5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUuYWRkID0gZnVuY3Rpb24gU291cmNlTm9kZV9hZGQoYUNodW5rKSB7XG4gIGlmIChBcnJheS5pc0FycmF5KGFDaHVuaykpIHtcbiAgICBhQ2h1bmsuZm9yRWFjaChmdW5jdGlvbiAoY2h1bmspIHtcbiAgICAgIHRoaXMuYWRkKGNodW5rKTtcbiAgICB9LCB0aGlzKTtcbiAgfVxuICBlbHNlIGlmIChhQ2h1bmtbaXNTb3VyY2VOb2RlXSB8fCB0eXBlb2YgYUNodW5rID09PSBcInN0cmluZ1wiKSB7XG4gICAgaWYgKGFDaHVuaykge1xuICAgICAgdGhpcy5jaGlsZHJlbi5wdXNoKGFDaHVuayk7XG4gICAgfVxuICB9XG4gIGVsc2Uge1xuICAgIHRocm93IG5ldyBUeXBlRXJyb3IoXG4gICAgICBcIkV4cGVjdGVkIGEgU291cmNlTm9kZSwgc3RyaW5nLCBvciBhbiBhcnJheSBvZiBTb3VyY2VOb2RlcyBhbmQgc3RyaW5ncy4gR290IFwiICsgYUNodW5rXG4gICAgKTtcbiAgfVxuICByZXR1cm4gdGhpcztcbn07XG5cbi8qKlxuICogQWRkIGEgY2h1bmsgb2YgZ2VuZXJhdGVkIEpTIHRvIHRoZSBiZWdpbm5pbmcgb2YgdGhpcyBzb3VyY2Ugbm9kZS5cbiAqXG4gKiBAcGFyYW0gYUNodW5rIEEgc3RyaW5nIHNuaXBwZXQgb2YgZ2VuZXJhdGVkIEpTIGNvZGUsIGFub3RoZXIgaW5zdGFuY2Ugb2ZcbiAqICAgICAgICBTb3VyY2VOb2RlLCBvciBhbiBhcnJheSB3aGVyZSBlYWNoIG1lbWJlciBpcyBvbmUgb2YgdGhvc2UgdGhpbmdzLlxuICovXG5Tb3VyY2VOb2RlLnByb3RvdHlwZS5wcmVwZW5kID0gZnVuY3Rpb24gU291cmNlTm9kZV9wcmVwZW5kKGFDaHVuaykge1xuICBpZiAoQXJyYXkuaXNBcnJheShhQ2h1bmspKSB7XG4gICAgZm9yICh2YXIgaSA9IGFDaHVuay5sZW5ndGgtMTsgaSA+PSAwOyBpLS0pIHtcbiAgICAgIHRoaXMucHJlcGVuZChhQ2h1bmtbaV0pO1xuICAgIH1cbiAgfVxuICBlbHNlIGlmIChhQ2h1bmtbaXNTb3VyY2VOb2RlXSB8fCB0eXBlb2YgYUNodW5rID09PSBcInN0cmluZ1wiKSB7XG4gICAgdGhpcy5jaGlsZHJlbi51bnNoaWZ0KGFDaHVuayk7XG4gIH1cbiAgZWxzZSB7XG4gICAgdGhyb3cgbmV3IFR5cGVFcnJvcihcbiAgICAgIFwiRXhwZWN0ZWQgYSBTb3VyY2VOb2RlLCBzdHJpbmcsIG9yIGFuIGFycmF5IG9mIFNvdXJjZU5vZGVzIGFuZCBzdHJpbmdzLiBHb3QgXCIgKyBhQ2h1bmtcbiAgICApO1xuICB9XG4gIHJldHVybiB0aGlzO1xufTtcblxuLyoqXG4gKiBXYWxrIG92ZXIgdGhlIHRyZWUgb2YgSlMgc25pcHBldHMgaW4gdGhpcyBub2RlIGFuZCBpdHMgY2hpbGRyZW4uIFRoZVxuICogd2Fsa2luZyBmdW5jdGlvbiBpcyBjYWxsZWQgb25jZSBmb3IgZWFjaCBzbmlwcGV0IG9mIEpTIGFuZCBpcyBwYXNzZWQgdGhhdFxuICogc25pcHBldCBhbmQgdGhlIGl0cyBvcmlnaW5hbCBhc3NvY2lhdGVkIHNvdXJjZSdzIGxpbmUvY29sdW1uIGxvY2F0aW9uLlxuICpcbiAqIEBwYXJhbSBhRm4gVGhlIHRyYXZlcnNhbCBmdW5jdGlvbi5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUud2FsayA9IGZ1bmN0aW9uIFNvdXJjZU5vZGVfd2FsayhhRm4pIHtcbiAgdmFyIGNodW5rO1xuICBmb3IgKHZhciBpID0gMCwgbGVuID0gdGhpcy5jaGlsZHJlbi5sZW5ndGg7IGkgPCBsZW47IGkrKykge1xuICAgIGNodW5rID0gdGhpcy5jaGlsZHJlbltpXTtcbiAgICBpZiAoY2h1bmtbaXNTb3VyY2VOb2RlXSkge1xuICAgICAgY2h1bmsud2FsayhhRm4pO1xuICAgIH1cbiAgICBlbHNlIHtcbiAgICAgIGlmIChjaHVuayAhPT0gJycpIHtcbiAgICAgICAgYUZuKGNodW5rLCB7IHNvdXJjZTogdGhpcy5zb3VyY2UsXG4gICAgICAgICAgICAgICAgICAgICBsaW5lOiB0aGlzLmxpbmUsXG4gICAgICAgICAgICAgICAgICAgICBjb2x1bW46IHRoaXMuY29sdW1uLFxuICAgICAgICAgICAgICAgICAgICAgbmFtZTogdGhpcy5uYW1lIH0pO1xuICAgICAgfVxuICAgIH1cbiAgfVxufTtcblxuLyoqXG4gKiBMaWtlIGBTdHJpbmcucHJvdG90eXBlLmpvaW5gIGV4Y2VwdCBmb3IgU291cmNlTm9kZXMuIEluc2VydHMgYGFTdHJgIGJldHdlZW5cbiAqIGVhY2ggb2YgYHRoaXMuY2hpbGRyZW5gLlxuICpcbiAqIEBwYXJhbSBhU2VwIFRoZSBzZXBhcmF0b3IuXG4gKi9cblNvdXJjZU5vZGUucHJvdG90eXBlLmpvaW4gPSBmdW5jdGlvbiBTb3VyY2VOb2RlX2pvaW4oYVNlcCkge1xuICB2YXIgbmV3Q2hpbGRyZW47XG4gIHZhciBpO1xuICB2YXIgbGVuID0gdGhpcy5jaGlsZHJlbi5sZW5ndGg7XG4gIGlmIChsZW4gPiAwKSB7XG4gICAgbmV3Q2hpbGRyZW4gPSBbXTtcbiAgICBmb3IgKGkgPSAwOyBpIDwgbGVuLTE7IGkrKykge1xuICAgICAgbmV3Q2hpbGRyZW4ucHVzaCh0aGlzLmNoaWxkcmVuW2ldKTtcbiAgICAgIG5ld0NoaWxkcmVuLnB1c2goYVNlcCk7XG4gICAgfVxuICAgIG5ld0NoaWxkcmVuLnB1c2godGhpcy5jaGlsZHJlbltpXSk7XG4gICAgdGhpcy5jaGlsZHJlbiA9IG5ld0NoaWxkcmVuO1xuICB9XG4gIHJldHVybiB0aGlzO1xufTtcblxuLyoqXG4gKiBDYWxsIFN0cmluZy5wcm90b3R5cGUucmVwbGFjZSBvbiB0aGUgdmVyeSByaWdodC1tb3N0IHNvdXJjZSBzbmlwcGV0LiBVc2VmdWxcbiAqIGZvciB0cmltbWluZyB3aGl0ZXNwYWNlIGZyb20gdGhlIGVuZCBvZiBhIHNvdXJjZSBub2RlLCBldGMuXG4gKlxuICogQHBhcmFtIGFQYXR0ZXJuIFRoZSBwYXR0ZXJuIHRvIHJlcGxhY2UuXG4gKiBAcGFyYW0gYVJlcGxhY2VtZW50IFRoZSB0aGluZyB0byByZXBsYWNlIHRoZSBwYXR0ZXJuIHdpdGguXG4gKi9cblNvdXJjZU5vZGUucHJvdG90eXBlLnJlcGxhY2VSaWdodCA9IGZ1bmN0aW9uIFNvdXJjZU5vZGVfcmVwbGFjZVJpZ2h0KGFQYXR0ZXJuLCBhUmVwbGFjZW1lbnQpIHtcbiAgdmFyIGxhc3RDaGlsZCA9IHRoaXMuY2hpbGRyZW5bdGhpcy5jaGlsZHJlbi5sZW5ndGggLSAxXTtcbiAgaWYgKGxhc3RDaGlsZFtpc1NvdXJjZU5vZGVdKSB7XG4gICAgbGFzdENoaWxkLnJlcGxhY2VSaWdodChhUGF0dGVybiwgYVJlcGxhY2VtZW50KTtcbiAgfVxuICBlbHNlIGlmICh0eXBlb2YgbGFzdENoaWxkID09PSAnc3RyaW5nJykge1xuICAgIHRoaXMuY2hpbGRyZW5bdGhpcy5jaGlsZHJlbi5sZW5ndGggLSAxXSA9IGxhc3RDaGlsZC5yZXBsYWNlKGFQYXR0ZXJuLCBhUmVwbGFjZW1lbnQpO1xuICB9XG4gIGVsc2Uge1xuICAgIHRoaXMuY2hpbGRyZW4ucHVzaCgnJy5yZXBsYWNlKGFQYXR0ZXJuLCBhUmVwbGFjZW1lbnQpKTtcbiAgfVxuICByZXR1cm4gdGhpcztcbn07XG5cbi8qKlxuICogU2V0IHRoZSBzb3VyY2UgY29udGVudCBmb3IgYSBzb3VyY2UgZmlsZS4gVGhpcyB3aWxsIGJlIGFkZGVkIHRvIHRoZSBTb3VyY2VNYXBHZW5lcmF0b3JcbiAqIGluIHRoZSBzb3VyY2VzQ29udGVudCBmaWVsZC5cbiAqXG4gKiBAcGFyYW0gYVNvdXJjZUZpbGUgVGhlIGZpbGVuYW1lIG9mIHRoZSBzb3VyY2UgZmlsZVxuICogQHBhcmFtIGFTb3VyY2VDb250ZW50IFRoZSBjb250ZW50IG9mIHRoZSBzb3VyY2UgZmlsZVxuICovXG5Tb3VyY2VOb2RlLnByb3RvdHlwZS5zZXRTb3VyY2VDb250ZW50ID1cbiAgZnVuY3Rpb24gU291cmNlTm9kZV9zZXRTb3VyY2VDb250ZW50KGFTb3VyY2VGaWxlLCBhU291cmNlQ29udGVudCkge1xuICAgIHRoaXMuc291cmNlQ29udGVudHNbdXRpbC50b1NldFN0cmluZyhhU291cmNlRmlsZSldID0gYVNvdXJjZUNvbnRlbnQ7XG4gIH07XG5cbi8qKlxuICogV2FsayBvdmVyIHRoZSB0cmVlIG9mIFNvdXJjZU5vZGVzLiBUaGUgd2Fsa2luZyBmdW5jdGlvbiBpcyBjYWxsZWQgZm9yIGVhY2hcbiAqIHNvdXJjZSBmaWxlIGNvbnRlbnQgYW5kIGlzIHBhc3NlZCB0aGUgZmlsZW5hbWUgYW5kIHNvdXJjZSBjb250ZW50LlxuICpcbiAqIEBwYXJhbSBhRm4gVGhlIHRyYXZlcnNhbCBmdW5jdGlvbi5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUud2Fsa1NvdXJjZUNvbnRlbnRzID1cbiAgZnVuY3Rpb24gU291cmNlTm9kZV93YWxrU291cmNlQ29udGVudHMoYUZuKSB7XG4gICAgZm9yICh2YXIgaSA9IDAsIGxlbiA9IHRoaXMuY2hpbGRyZW4ubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHtcbiAgICAgIGlmICh0aGlzLmNoaWxkcmVuW2ldW2lzU291cmNlTm9kZV0pIHtcbiAgICAgICAgdGhpcy5jaGlsZHJlbltpXS53YWxrU291cmNlQ29udGVudHMoYUZuKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICB2YXIgc291cmNlcyA9IE9iamVjdC5rZXlzKHRoaXMuc291cmNlQ29udGVudHMpO1xuICAgIGZvciAodmFyIGkgPSAwLCBsZW4gPSBzb3VyY2VzLmxlbmd0aDsgaSA8IGxlbjsgaSsrKSB7XG4gICAgICBhRm4odXRpbC5mcm9tU2V0U3RyaW5nKHNvdXJjZXNbaV0pLCB0aGlzLnNvdXJjZUNvbnRlbnRzW3NvdXJjZXNbaV1dKTtcbiAgICB9XG4gIH07XG5cbi8qKlxuICogUmV0dXJuIHRoZSBzdHJpbmcgcmVwcmVzZW50YXRpb24gb2YgdGhpcyBzb3VyY2Ugbm9kZS4gV2Fsa3Mgb3ZlciB0aGUgdHJlZVxuICogYW5kIGNvbmNhdGVuYXRlcyBhbGwgdGhlIHZhcmlvdXMgc25pcHBldHMgdG9nZXRoZXIgdG8gb25lIHN0cmluZy5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUudG9TdHJpbmcgPSBmdW5jdGlvbiBTb3VyY2VOb2RlX3RvU3RyaW5nKCkge1xuICB2YXIgc3RyID0gXCJcIjtcbiAgdGhpcy53YWxrKGZ1bmN0aW9uIChjaHVuaykge1xuICAgIHN0ciArPSBjaHVuaztcbiAgfSk7XG4gIHJldHVybiBzdHI7XG59O1xuXG4vKipcbiAqIFJldHVybnMgdGhlIHN0cmluZyByZXByZXNlbnRhdGlvbiBvZiB0aGlzIHNvdXJjZSBub2RlIGFsb25nIHdpdGggYSBzb3VyY2VcbiAqIG1hcC5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUudG9TdHJpbmdXaXRoU291cmNlTWFwID0gZnVuY3Rpb24gU291cmNlTm9kZV90b1N0cmluZ1dpdGhTb3VyY2VNYXAoYUFyZ3MpIHtcbiAgdmFyIGdlbmVyYXRlZCA9IHtcbiAgICBjb2RlOiBcIlwiLFxuICAgIGxpbmU6IDEsXG4gICAgY29sdW1uOiAwXG4gIH07XG4gIHZhciBtYXAgPSBuZXcgU291cmNlTWFwR2VuZXJhdG9yKGFBcmdzKTtcbiAgdmFyIHNvdXJjZU1hcHBpbmdBY3RpdmUgPSBmYWxzZTtcbiAgdmFyIGxhc3RPcmlnaW5hbFNvdXJjZSA9IG51bGw7XG4gIHZhciBsYXN0T3JpZ2luYWxMaW5lID0gbnVsbDtcbiAgdmFyIGxhc3RPcmlnaW5hbENvbHVtbiA9IG51bGw7XG4gIHZhciBsYXN0T3JpZ2luYWxOYW1lID0gbnVsbDtcbiAgdGhpcy53YWxrKGZ1bmN0aW9uIChjaHVuaywgb3JpZ2luYWwpIHtcbiAgICBnZW5lcmF0ZWQuY29kZSArPSBjaHVuaztcbiAgICBpZiAob3JpZ2luYWwuc291cmNlICE9PSBudWxsXG4gICAgICAgICYmIG9yaWdpbmFsLmxpbmUgIT09IG51bGxcbiAgICAgICAgJiYgb3JpZ2luYWwuY29sdW1uICE9PSBudWxsKSB7XG4gICAgICBpZihsYXN0T3JpZ2luYWxTb3VyY2UgIT09IG9yaWdpbmFsLnNvdXJjZVxuICAgICAgICAgfHwgbGFzdE9yaWdpbmFsTGluZSAhPT0gb3JpZ2luYWwubGluZVxuICAgICAgICAgfHwgbGFzdE9yaWdpbmFsQ29sdW1uICE9PSBvcmlnaW5hbC5jb2x1bW5cbiAgICAgICAgIHx8IGxhc3RPcmlnaW5hbE5hbWUgIT09IG9yaWdpbmFsLm5hbWUpIHtcbiAgICAgICAgbWFwLmFkZE1hcHBpbmcoe1xuICAgICAgICAgIHNvdXJjZTogb3JpZ2luYWwuc291cmNlLFxuICAgICAgICAgIG9yaWdpbmFsOiB7XG4gICAgICAgICAgICBsaW5lOiBvcmlnaW5hbC5saW5lLFxuICAgICAgICAgICAgY29sdW1uOiBvcmlnaW5hbC5jb2x1bW5cbiAgICAgICAgICB9LFxuICAgICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgICAgbGluZTogZ2VuZXJhdGVkLmxpbmUsXG4gICAgICAgICAgICBjb2x1bW46IGdlbmVyYXRlZC5jb2x1bW5cbiAgICAgICAgICB9LFxuICAgICAgICAgIG5hbWU6IG9yaWdpbmFsLm5hbWVcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgICBsYXN0T3JpZ2luYWxTb3VyY2UgPSBvcmlnaW5hbC5zb3VyY2U7XG4gICAgICBsYXN0T3JpZ2luYWxMaW5lID0gb3JpZ2luYWwubGluZTtcbiAgICAgIGxhc3RPcmlnaW5hbENvbHVtbiA9IG9yaWdpbmFsLmNvbHVtbjtcbiAgICAgIGxhc3RPcmlnaW5hbE5hbWUgPSBvcmlnaW5hbC5uYW1lO1xuICAgICAgc291cmNlTWFwcGluZ0FjdGl2ZSA9IHRydWU7XG4gICAgfSBlbHNlIGlmIChzb3VyY2VNYXBwaW5nQWN0aXZlKSB7XG4gICAgICBtYXAuYWRkTWFwcGluZyh7XG4gICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgIGxpbmU6IGdlbmVyYXRlZC5saW5lLFxuICAgICAgICAgIGNvbHVtbjogZ2VuZXJhdGVkLmNvbHVtblxuICAgICAgICB9XG4gICAgICB9KTtcbiAgICAgIGxhc3RPcmlnaW5hbFNvdXJjZSA9IG51bGw7XG4gICAgICBzb3VyY2VNYXBwaW5nQWN0aXZlID0gZmFsc2U7XG4gICAgfVxuICAgIGZvciAodmFyIGlkeCA9IDAsIGxlbmd0aCA9IGNodW5rLmxlbmd0aDsgaWR4IDwgbGVuZ3RoOyBpZHgrKykge1xuICAgICAgaWYgKGNodW5rLmNoYXJDb2RlQXQoaWR4KSA9PT0gTkVXTElORV9DT0RFKSB7XG4gICAgICAgIGdlbmVyYXRlZC5saW5lKys7XG4gICAgICAgIGdlbmVyYXRlZC5jb2x1bW4gPSAwO1xuICAgICAgICAvLyBNYXBwaW5ncyBlbmQgYXQgZW9sXG4gICAgICAgIGlmIChpZHggKyAxID09PSBsZW5ndGgpIHtcbiAgICAgICAgICBsYXN0T3JpZ2luYWxTb3VyY2UgPSBudWxsO1xuICAgICAgICAgIHNvdXJjZU1hcHBpbmdBY3RpdmUgPSBmYWxzZTtcbiAgICAgICAgfSBlbHNlIGlmIChzb3VyY2VNYXBwaW5nQWN0aXZlKSB7XG4gICAgICAgICAgbWFwLmFkZE1hcHBpbmcoe1xuICAgICAgICAgICAgc291cmNlOiBvcmlnaW5hbC5zb3VyY2UsXG4gICAgICAgICAgICBvcmlnaW5hbDoge1xuICAgICAgICAgICAgICBsaW5lOiBvcmlnaW5hbC5saW5lLFxuICAgICAgICAgICAgICBjb2x1bW46IG9yaWdpbmFsLmNvbHVtblxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgICAgICBsaW5lOiBnZW5lcmF0ZWQubGluZSxcbiAgICAgICAgICAgICAgY29sdW1uOiBnZW5lcmF0ZWQuY29sdW1uXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgbmFtZTogb3JpZ2luYWwubmFtZVxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBnZW5lcmF0ZWQuY29sdW1uKys7XG4gICAgICB9XG4gICAgfVxuICB9KTtcbiAgdGhpcy53YWxrU291cmNlQ29udGVudHMoZnVuY3Rpb24gKHNvdXJjZUZpbGUsIHNvdXJjZUNvbnRlbnQpIHtcbiAgICBtYXAuc2V0U291cmNlQ29udGVudChzb3VyY2VGaWxlLCBzb3VyY2VDb250ZW50KTtcbiAgfSk7XG5cbiAgcmV0dXJuIHsgY29kZTogZ2VuZXJhdGVkLmNvZGUsIG1hcDogbWFwIH07XG59O1xuXG5leHBvcnRzLlNvdXJjZU5vZGUgPSBTb3VyY2VOb2RlO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvc291cmNlLW5vZGUuanNcbi8vIG1vZHVsZSBpZCA9IDEwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0= \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.js b/node_modules/@babel/generator/node_modules/source-map/dist/source-map.js deleted file mode 100644 index 4e630e29..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.js +++ /dev/null @@ -1,3090 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["sourceMap"] = factory(); - else - root["sourceMap"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ - exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer; - exports.SourceNode = __webpack_require__(10).SourceNode; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var base64VLQ = __webpack_require__(2); - var util = __webpack_require__(4); - var ArraySet = __webpack_require__(5).ArraySet; - var MappingList = __webpack_require__(6).MappingList; - - /** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ - function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; - } - - SourceMapGenerator.prototype._version = 3; - - /** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ - SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - - /** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ - SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - - /** - * Set the source content for a source file. - */ - SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - - /** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ - SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - - /** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ - SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - - /** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ - SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - - SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - - /** - * Externalize the source map. - */ - SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - - /** - * Render the source map being generated to a string. - */ - SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - - exports.SourceMapGenerator = SourceMapGenerator; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - var base64 = __webpack_require__(3); - - // A single base 64 digit can contain 6 bits of data. For the base 64 variable - // length quantities we use in the source map spec, the first bit is the sign, - // the next four bits are the actual value, and the 6th bit is the - // continuation bit. The continuation bit tells us whether there are more - // digits in this value following this digit. - // - // Continuation - // | Sign - // | | - // V V - // 101011 - - var VLQ_BASE_SHIFT = 5; - - // binary: 100000 - var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - - // binary: 011111 - var VLQ_BASE_MASK = VLQ_BASE - 1; - - // binary: 100000 - var VLQ_CONTINUATION_BIT = VLQ_BASE; - - /** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ - function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; - } - - /** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ - function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; - } - - /** - * Returns the base 64 VLQ encoded value. - */ - exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; - }; - - /** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ - exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; - }; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - - /** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ - exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); - }; - - /** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ - exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; - }; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - /** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ - function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } - } - exports.getArg = getArg; - - var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; - var dataUrlRegexp = /^data:.+\,.+$/; - - function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; - } - exports.urlParse = urlParse; - - function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; - } - exports.urlGenerate = urlGenerate; - - /** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ - function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; - } - exports.normalize = normalize; - - /** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ - function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; - } - exports.join = join; - - exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); - }; - - /** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ - function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); - } - exports.relative = relative; - - var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); - }()); - - function identity (s) { - return s; - } - - /** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ - function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; - } - exports.toSetString = supportsNullProto ? identity : toSetString; - - function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; - } - exports.fromSetString = supportsNullProto ? identity : fromSetString; - - function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; - } - - /** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ - function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByOriginalPositions = compareByOriginalPositions; - - /** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ - function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - - function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; - } - - /** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ - function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); - } - exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; - - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var has = Object.prototype.hasOwnProperty; - var hasNativeMap = typeof Map !== "undefined"; - - /** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ - function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); - } - - /** - * Static method for creating ArraySet instances from an existing array. - */ - ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; - }; - - /** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ - ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; - }; - - /** - * Add the given string to this set. - * - * @param String aStr - */ - ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } - }; - - /** - * Is the given string a member of this set? - * - * @param String aStr - */ - ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } - }; - - /** - * What is the index of the given string in the array? - * - * @param String aStr - */ - ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); - }; - - /** - * What is the element at the given index? - * - * @param Number aIdx - */ - ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); - }; - - /** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ - ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); - }; - - exports.ArraySet = ArraySet; - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - - /** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ - function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; - } - - /** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ - function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; - } - - /** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ - MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - - /** - * Add the given source mapping. - * - * @param Object aMapping - */ - MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } - }; - - /** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ - MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; - }; - - exports.MappingList = MappingList; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var binarySearch = __webpack_require__(8); - var ArraySet = __webpack_require__(5).ArraySet; - var base64VLQ = __webpack_require__(2); - var quickSort = __webpack_require__(9).quickSort; - - function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); - } - - SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); - } - - /** - * The version of the source mapping spec that we are consuming. - */ - SourceMapConsumer.prototype._version = 3; - - // `__generatedMappings` and `__originalMappings` are arrays that hold the - // parsed mapping coordinates from the source map's "mappings" attribute. They - // are lazily instantiated, accessed via the `_generatedMappings` and - // `_originalMappings` getters respectively, and we only parse the mappings - // and create these arrays once queried for a source location. We jump through - // these hoops because there can be many thousands of mappings, and parsing - // them is expensive, so we only want to do it if we must. - // - // Each object in the arrays is of the form: - // - // { - // generatedLine: The line number in the generated code, - // generatedColumn: The column number in the generated code, - // source: The path to the original source file that generated this - // chunk of code, - // originalLine: The line number in the original source that - // corresponds to this chunk of generated code, - // originalColumn: The column number in the original source that - // corresponds to this chunk of generated code, - // name: The name of the original symbol which generated this chunk of - // code. - // } - // - // All properties except for `generatedLine` and `generatedColumn` can be - // `null`. - // - // `_generatedMappings` is ordered by the generated positions. - // - // `_originalMappings` is ordered by the original positions. - - SourceMapConsumer.prototype.__generatedMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } - }); - - SourceMapConsumer.prototype.__originalMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } - }); - - SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - - SourceMapConsumer.GENERATED_ORDER = 1; - SourceMapConsumer.ORIGINAL_ORDER = 2; - - SourceMapConsumer.GREATEST_LOWER_BOUND = 1; - SourceMapConsumer.LEAST_UPPER_BOUND = 2; - - /** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ - SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - - /** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - - exports.SourceMapConsumer = SourceMapConsumer; - - /** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ - function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; - } - - BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - - /** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ - BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - - /** - * The version of the source mapping spec that we are consuming. - */ - BasicSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } - }); - - /** - * Provide the JIT with a nice shape / hidden class. - */ - function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; - } - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - - /** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ - BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - - /** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ - BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - - exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - - /** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ - function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); - } - - IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - - /** - * The version of the source mapping spec that we are consuming. - */ - IndexedSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } - }); - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - - exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; - - -/***/ }), -/* 8 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - exports.GREATEST_LOWER_BOUND = 1; - exports.LEAST_UPPER_BOUND = 2; - - /** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ - function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } - } - - /** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ - exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; - }; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - // It turns out that some (most?) JavaScript engines don't self-host - // `Array.prototype.sort`. This makes sense because C++ will likely remain - // faster than JS when doing raw CPU-intensive sorting. However, when using a - // custom comparator function, calling back and forth between the VM's C++ and - // JIT'd JS is rather slow *and* loses JIT type information, resulting in - // worse generated code for the comparator function than would be optimal. In - // fact, when sorting with a comparator, these costs outweigh the benefits of - // sorting in C++. By using our own JS-implemented Quick Sort (below), we get - // a ~3500ms mean speed-up in `bench/bench.html`. - - /** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ - function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; - } - - /** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ - function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); - } - - /** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ - function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } - } - - /** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ - exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); - }; - - -/***/ }), -/* 10 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - var util = __webpack_require__(4); - - // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other - // operating systems these days (capturing the result). - var REGEX_NEWLINE = /(\r?\n)/; - - // Newline character code for charCodeAt() comparisons - var NEWLINE_CODE = 10; - - // Private symbol for identifying `SourceNode`s when multiple versions of - // the source-map library are loaded. This MUST NOT CHANGE across - // versions! - var isSourceNode = "$$$isSourceNode$$$"; - - /** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ - function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); - } - - /** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ - SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - - /** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } - }; - - /** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ - SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; - }; - - /** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ - SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; - }; - - /** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ - SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - - /** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - - /** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ - SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; - }; - - /** - * Returns the string representation of this source node along with a source - * map. - */ - SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; - }; - - exports.SourceNode = SourceNode; - - -/***/ }) -/******/ ]) -}); -; \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js b/node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js deleted file mode 100644 index f2a46bd0..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sourceMap=n():e.sourceMap=n()}(this,function(){return function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={exports:{},id:t,loaded:!1};return e[t].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=e,n.c=r,n.p="",n(0)}([function(e,n,r){n.SourceMapGenerator=r(1).SourceMapGenerator,n.SourceMapConsumer=r(7).SourceMapConsumer,n.SourceNode=r(10).SourceNode},function(e,n,r){function t(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new a,this._sourcesContents=null}var o=r(2),i=r(4),s=r(5).ArraySet,a=r(6).MappingList;t.prototype._version=3,t.fromSourceMap=function(e){var n=e.sourceRoot,r=new t({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=n&&(t.source=i.relative(n,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),r.addMapping(t)}),e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&r.setSourceContent(n,t)}),r},t.prototype.addMapping=function(e){var n=i.getArg(e,"generated"),r=i.getArg(e,"original",null),t=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,t,o),null!=t&&(t=String(t),this._sources.has(t)||this._sources.add(t)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:t,name:o})},t.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},t.prototype.applySourceMap=function(e,n,r){var t=n;if(null==n){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');t=e.file}var o=this._sourceRoot;null!=o&&(t=i.relative(o,t));var a=new s,u=new s;this._mappings.unsortedForEach(function(n){if(n.source===t&&null!=n.originalLine){var s=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=s.source&&(n.source=s.source,null!=r&&(n.source=i.join(r,n.source)),null!=o&&(n.source=i.relative(o,n.source)),n.originalLine=s.line,n.originalColumn=s.column,null!=s.name&&(n.name=s.name))}var l=n.source;null==l||a.has(l)||a.add(l);var c=n.name;null==c||u.has(c)||u.add(c)},this),this._sources=a,this._names=u,e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&(null!=r&&(n=i.join(r,n)),null!=o&&(n=i.relative(o,n)),this.setSourceContent(n,t))},this)},t.prototype._validateMapping=function(e,n,r,t){if(n&&"number"!=typeof n.line&&"number"!=typeof n.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||n||r||t)&&!(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:n,name:t}))},t.prototype._serializeMappings=function(){for(var e,n,r,t,s=0,a=1,u=0,l=0,c=0,g=0,p="",h=this._mappings.toArray(),f=0,d=h.length;f0){if(!i.compareByGeneratedPositionsInflated(n,h[f-1]))continue;e+=","}e+=o.encode(n.generatedColumn-s),s=n.generatedColumn,null!=n.source&&(t=this._sources.indexOf(n.source),e+=o.encode(t-g),g=t,e+=o.encode(n.originalLine-1-l),l=n.originalLine-1,e+=o.encode(n.originalColumn-u),u=n.originalColumn,null!=n.name&&(r=this._names.indexOf(n.name),e+=o.encode(r-c),c=r)),p+=e}return p},t.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=i.relative(n,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},t.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},t.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=t},function(e,n,r){function t(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var n=1===(1&e),r=e>>1;return n?-r:r}var i=r(3),s=5,a=1<>>=s,o>0&&(n|=l),r+=i.encode(n);while(o>0);return r},n.decode=function(e,n,r){var t,a,c=e.length,g=0,p=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(a=i.decode(e.charCodeAt(n++)),a===-1)throw new Error("Invalid base64 digit: "+e.charAt(n-1));t=!!(a&l),a&=u,g+=a<=0;c--)s=u[c],"."===s?u.splice(c,1):".."===s?l++:l>0&&(""===s?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return r=u.join("/"),""===r&&(r=a?"/":"."),i?(i.path=r,o(i)):r}function s(e,n){""===e&&(e="."),""===n&&(n=".");var r=t(n),s=t(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),o(r);if(r||n.match(_))return n;if(s&&!s.host&&!s.path)return s.host=n,o(s);var a="/"===n.charAt(0)?n:i(e.replace(/\/+$/,"")+"/"+n);return s?(s.path=a,o(s)):a}function a(e,n){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==n.indexOf(e+"/");){var t=e.lastIndexOf("/");if(t<0)return n;if(e=e.slice(0,t),e.match(/^([^\/]+:\/)?\/*$/))return n;++r}return Array(r+1).join("../")+n.substr(e.length+1)}function u(e){return e}function l(e){return g(e)?"$"+e:e}function c(e){return g(e)?e.slice(1):e}function g(e){if(!e)return!1;var n=e.length;if(n<9)return!1;if(95!==e.charCodeAt(n-1)||95!==e.charCodeAt(n-2)||111!==e.charCodeAt(n-3)||116!==e.charCodeAt(n-4)||111!==e.charCodeAt(n-5)||114!==e.charCodeAt(n-6)||112!==e.charCodeAt(n-7)||95!==e.charCodeAt(n-8)||95!==e.charCodeAt(n-9))return!1;for(var r=n-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,n,r){var t=e.source-n.source;return 0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t||r?t:(t=e.generatedColumn-n.generatedColumn,0!==t?t:(t=e.generatedLine-n.generatedLine,0!==t?t:e.name-n.name))))}function h(e,n,r){var t=e.generatedLine-n.generatedLine;return 0!==t?t:(t=e.generatedColumn-n.generatedColumn,0!==t||r?t:(t=e.source-n.source,0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t?t:e.name-n.name))))}function f(e,n){return e===n?0:e>n?1:-1}function d(e,n){var r=e.generatedLine-n.generatedLine;return 0!==r?r:(r=e.generatedColumn-n.generatedColumn,0!==r?r:(r=f(e.source,n.source),0!==r?r:(r=e.originalLine-n.originalLine,0!==r?r:(r=e.originalColumn-n.originalColumn,0!==r?r:f(e.name,n.name)))))}n.getArg=r;var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,_=/^data:.+\,.+$/;n.urlParse=t,n.urlGenerate=o,n.normalize=i,n.join=s,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(m)},n.relative=a;var v=function(){var e=Object.create(null);return!("__proto__"in e)}();n.toSetString=v?u:l,n.fromSetString=v?u:c,n.compareByOriginalPositions=p,n.compareByGeneratedPositionsDeflated=h,n.compareByGeneratedPositionsInflated=d},function(e,n,r){function t(){this._array=[],this._set=s?new Map:Object.create(null)}var o=r(4),i=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;t.fromArray=function(e,n){for(var r=new t,o=0,i=e.length;o=0)return n}else{var r=o.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},t.prototype.at=function(e){if(e>=0&&er||t==r&&s>=o||i.compareByGeneratedPositionsInflated(e,n)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=r(4);o.prototype.unsortedForEach=function(e,n){this._array.forEach(e,n)},o.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},function(e,n,r){function t(e){var n=e;return"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=n.sections?new s(n):new o(n)}function o(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),t=a.getArg(n,"sources"),o=a.getArg(n,"names",[]),i=a.getArg(n,"sourceRoot",null),s=a.getArg(n,"sourcesContent",null),u=a.getArg(n,"mappings"),c=a.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);t=t.map(String).map(a.normalize).map(function(e){return i&&a.isAbsolute(i)&&a.isAbsolute(e)?a.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(t,!0),this.sourceRoot=i,this.sourcesContent=s,this._mappings=u,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function s(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),o=a.getArg(n,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=a.getArg(e,"offset"),r=a.getArg(n,"line"),o=a.getArg(n,"column");if(r=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===n&&i.originalColumn==l;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return t},n.SourceMapConsumer=t,o.prototype=Object.create(t.prototype),o.prototype.consumer=t,o.fromSourceMap=function(e){var n=Object.create(o.prototype),r=n._names=l.fromArray(e._names.toArray(),!0),t=n._sources=l.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file;for(var s=e._mappings.toArray().slice(),u=n.__generatedMappings=[],c=n.__originalMappings=[],p=0,h=s.length;p1&&(r.source=d+o[1],d+=o[1],r.originalLine=h+o[2],h=r.originalLine,r.originalLine+=1,r.originalColumn=f+o[3],f=r.originalColumn,o.length>4&&(r.name=m+o[4],m+=o[4])),S.push(r),"number"==typeof r.originalLine&&A.push(r)}g(S,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,g(A,a.compareByOriginalPositions),this.__originalMappings=A},o.prototype._findMapping=function(e,n,r,t,o,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[t]);return u.search(e,n,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var i=a.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=a.join(this.sourceRoot,i)));var s=a.getArg(o,"name",null);return null!==s&&(s=this._names.at(s)),{source:i,line:a.getArg(o,"originalLine",null),column:a.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=a.urlParse(this.sourceRoot))){var t=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var n=a.getArg(e,"source");if(null!=this.sourceRoot&&(n=a.relative(this.sourceRoot,n)),!this._sources.has(n))return{line:null,column:null,lastColumn:null};n=this._sources.indexOf(n);var r={source:n,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",t.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===r.source)return{line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,s.prototype=Object.create(t.prototype),s.prototype.constructor=t,s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){for(var e=[],n=0;n0?t-u>1?r(u,t,o,i,s,a):a==n.LEAST_UPPER_BOUND?t1?r(e,u,o,i,s,a):a==n.LEAST_UPPER_BOUND?u:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var s=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===o(t[s],t[s-1],!0);)--s;return s}},function(e,n){function r(e,n,r){var t=e[n];e[n]=e[r],e[r]=t}function t(e,n){return Math.round(e+Math.random()*(n-e))}function o(e,n,i,s){if(i=0;n--)this.prepend(e[n]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},t.prototype.walk=function(e){for(var n,r=0,t=this.children.length;r0){for(n=[],r=0;r 0 && aGenerated.column >= 0\n\t && !aOriginal && !aSource && !aName) {\n\t // Case 1.\n\t return;\n\t }\n\t else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n\t && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n\t && aGenerated.line > 0 && aGenerated.column >= 0\n\t && aOriginal.line > 0 && aOriginal.column >= 0\n\t && aSource) {\n\t // Cases 2 and 3.\n\t return;\n\t }\n\t else {\n\t throw new Error('Invalid mapping: ' + JSON.stringify({\n\t generated: aGenerated,\n\t source: aSource,\n\t original: aOriginal,\n\t name: aName\n\t }));\n\t }\n\t };\n\t\n\t/**\n\t * Serialize the accumulated mappings in to the stream of base 64 VLQs\n\t * specified by the source map format.\n\t */\n\tSourceMapGenerator.prototype._serializeMappings =\n\t function SourceMapGenerator_serializeMappings() {\n\t var previousGeneratedColumn = 0;\n\t var previousGeneratedLine = 1;\n\t var previousOriginalColumn = 0;\n\t var previousOriginalLine = 0;\n\t var previousName = 0;\n\t var previousSource = 0;\n\t var result = '';\n\t var next;\n\t var mapping;\n\t var nameIdx;\n\t var sourceIdx;\n\t\n\t var mappings = this._mappings.toArray();\n\t for (var i = 0, len = mappings.length; i < len; i++) {\n\t mapping = mappings[i];\n\t next = ''\n\t\n\t if (mapping.generatedLine !== previousGeneratedLine) {\n\t previousGeneratedColumn = 0;\n\t while (mapping.generatedLine !== previousGeneratedLine) {\n\t next += ';';\n\t previousGeneratedLine++;\n\t }\n\t }\n\t else {\n\t if (i > 0) {\n\t if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n\t continue;\n\t }\n\t next += ',';\n\t }\n\t }\n\t\n\t next += base64VLQ.encode(mapping.generatedColumn\n\t - previousGeneratedColumn);\n\t previousGeneratedColumn = mapping.generatedColumn;\n\t\n\t if (mapping.source != null) {\n\t sourceIdx = this._sources.indexOf(mapping.source);\n\t next += base64VLQ.encode(sourceIdx - previousSource);\n\t previousSource = sourceIdx;\n\t\n\t // lines are stored 0-based in SourceMap spec version 3\n\t next += base64VLQ.encode(mapping.originalLine - 1\n\t - previousOriginalLine);\n\t previousOriginalLine = mapping.originalLine - 1;\n\t\n\t next += base64VLQ.encode(mapping.originalColumn\n\t - previousOriginalColumn);\n\t previousOriginalColumn = mapping.originalColumn;\n\t\n\t if (mapping.name != null) {\n\t nameIdx = this._names.indexOf(mapping.name);\n\t next += base64VLQ.encode(nameIdx - previousName);\n\t previousName = nameIdx;\n\t }\n\t }\n\t\n\t result += next;\n\t }\n\t\n\t return result;\n\t };\n\t\n\tSourceMapGenerator.prototype._generateSourcesContent =\n\t function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n\t return aSources.map(function (source) {\n\t if (!this._sourcesContents) {\n\t return null;\n\t }\n\t if (aSourceRoot != null) {\n\t source = util.relative(aSourceRoot, source);\n\t }\n\t var key = util.toSetString(source);\n\t return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n\t ? this._sourcesContents[key]\n\t : null;\n\t }, this);\n\t };\n\t\n\t/**\n\t * Externalize the source map.\n\t */\n\tSourceMapGenerator.prototype.toJSON =\n\t function SourceMapGenerator_toJSON() {\n\t var map = {\n\t version: this._version,\n\t sources: this._sources.toArray(),\n\t names: this._names.toArray(),\n\t mappings: this._serializeMappings()\n\t };\n\t if (this._file != null) {\n\t map.file = this._file;\n\t }\n\t if (this._sourceRoot != null) {\n\t map.sourceRoot = this._sourceRoot;\n\t }\n\t if (this._sourcesContents) {\n\t map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n\t }\n\t\n\t return map;\n\t };\n\t\n\t/**\n\t * Render the source map being generated to a string.\n\t */\n\tSourceMapGenerator.prototype.toString =\n\t function SourceMapGenerator_toString() {\n\t return JSON.stringify(this.toJSON());\n\t };\n\t\n\texports.SourceMapGenerator = SourceMapGenerator;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t *\n\t * Based on the Base 64 VLQ implementation in Closure Compiler:\n\t * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n\t *\n\t * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n\t * Redistribution and use in source and binary forms, with or without\n\t * modification, are permitted provided that the following conditions are\n\t * met:\n\t *\n\t * * Redistributions of source code must retain the above copyright\n\t * notice, this list of conditions and the following disclaimer.\n\t * * Redistributions in binary form must reproduce the above\n\t * copyright notice, this list of conditions and the following\n\t * disclaimer in the documentation and/or other materials provided\n\t * with the distribution.\n\t * * Neither the name of Google Inc. nor the names of its\n\t * contributors may be used to endorse or promote products derived\n\t * from this software without specific prior written permission.\n\t *\n\t * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\t * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\t * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\t * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\t * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\t * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\t * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\t * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\t * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\t * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t */\n\t\n\tvar base64 = __webpack_require__(3);\n\t\n\t// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n\t// length quantities we use in the source map spec, the first bit is the sign,\n\t// the next four bits are the actual value, and the 6th bit is the\n\t// continuation bit. The continuation bit tells us whether there are more\n\t// digits in this value following this digit.\n\t//\n\t// Continuation\n\t// | Sign\n\t// | |\n\t// V V\n\t// 101011\n\t\n\tvar VLQ_BASE_SHIFT = 5;\n\t\n\t// binary: 100000\n\tvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\t\n\t// binary: 011111\n\tvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\t\n\t// binary: 100000\n\tvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\t\n\t/**\n\t * Converts from a two-complement value to a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n\t * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n\t */\n\tfunction toVLQSigned(aValue) {\n\t return aValue < 0\n\t ? ((-aValue) << 1) + 1\n\t : (aValue << 1) + 0;\n\t}\n\t\n\t/**\n\t * Converts to a two-complement value from a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n\t * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n\t */\n\tfunction fromVLQSigned(aValue) {\n\t var isNegative = (aValue & 1) === 1;\n\t var shifted = aValue >> 1;\n\t return isNegative\n\t ? -shifted\n\t : shifted;\n\t}\n\t\n\t/**\n\t * Returns the base 64 VLQ encoded value.\n\t */\n\texports.encode = function base64VLQ_encode(aValue) {\n\t var encoded = \"\";\n\t var digit;\n\t\n\t var vlq = toVLQSigned(aValue);\n\t\n\t do {\n\t digit = vlq & VLQ_BASE_MASK;\n\t vlq >>>= VLQ_BASE_SHIFT;\n\t if (vlq > 0) {\n\t // There are still more digits in this value, so we must make sure the\n\t // continuation bit is marked.\n\t digit |= VLQ_CONTINUATION_BIT;\n\t }\n\t encoded += base64.encode(digit);\n\t } while (vlq > 0);\n\t\n\t return encoded;\n\t};\n\t\n\t/**\n\t * Decodes the next base 64 VLQ value from the given string and returns the\n\t * value and the rest of the string via the out parameter.\n\t */\n\texports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n\t var strLen = aStr.length;\n\t var result = 0;\n\t var shift = 0;\n\t var continuation, digit;\n\t\n\t do {\n\t if (aIndex >= strLen) {\n\t throw new Error(\"Expected more digits in base 64 VLQ value.\");\n\t }\n\t\n\t digit = base64.decode(aStr.charCodeAt(aIndex++));\n\t if (digit === -1) {\n\t throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n\t }\n\t\n\t continuation = !!(digit & VLQ_CONTINUATION_BIT);\n\t digit &= VLQ_BASE_MASK;\n\t result = result + (digit << shift);\n\t shift += VLQ_BASE_SHIFT;\n\t } while (continuation);\n\t\n\t aOutParam.value = fromVLQSigned(result);\n\t aOutParam.rest = aIndex;\n\t};\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\t\n\t/**\n\t * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n\t */\n\texports.encode = function (number) {\n\t if (0 <= number && number < intToCharMap.length) {\n\t return intToCharMap[number];\n\t }\n\t throw new TypeError(\"Must be between 0 and 63: \" + number);\n\t};\n\t\n\t/**\n\t * Decode a single base 64 character code digit to an integer. Returns -1 on\n\t * failure.\n\t */\n\texports.decode = function (charCode) {\n\t var bigA = 65; // 'A'\n\t var bigZ = 90; // 'Z'\n\t\n\t var littleA = 97; // 'a'\n\t var littleZ = 122; // 'z'\n\t\n\t var zero = 48; // '0'\n\t var nine = 57; // '9'\n\t\n\t var plus = 43; // '+'\n\t var slash = 47; // '/'\n\t\n\t var littleOffset = 26;\n\t var numberOffset = 52;\n\t\n\t // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n\t if (bigA <= charCode && charCode <= bigZ) {\n\t return (charCode - bigA);\n\t }\n\t\n\t // 26 - 51: abcdefghijklmnopqrstuvwxyz\n\t if (littleA <= charCode && charCode <= littleZ) {\n\t return (charCode - littleA + littleOffset);\n\t }\n\t\n\t // 52 - 61: 0123456789\n\t if (zero <= charCode && charCode <= nine) {\n\t return (charCode - zero + numberOffset);\n\t }\n\t\n\t // 62: +\n\t if (charCode == plus) {\n\t return 62;\n\t }\n\t\n\t // 63: /\n\t if (charCode == slash) {\n\t return 63;\n\t }\n\t\n\t // Invalid base64 digit.\n\t return -1;\n\t};\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\t/**\n\t * This is a helper function for getting values from parameter/options\n\t * objects.\n\t *\n\t * @param args The object we are extracting values from\n\t * @param name The name of the property we are getting.\n\t * @param defaultValue An optional value to return if the property is missing\n\t * from the object. If this is not specified and the property is missing, an\n\t * error will be thrown.\n\t */\n\tfunction getArg(aArgs, aName, aDefaultValue) {\n\t if (aName in aArgs) {\n\t return aArgs[aName];\n\t } else if (arguments.length === 3) {\n\t return aDefaultValue;\n\t } else {\n\t throw new Error('\"' + aName + '\" is a required argument.');\n\t }\n\t}\n\texports.getArg = getArg;\n\t\n\tvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\n\tvar dataUrlRegexp = /^data:.+\\,.+$/;\n\t\n\tfunction urlParse(aUrl) {\n\t var match = aUrl.match(urlRegexp);\n\t if (!match) {\n\t return null;\n\t }\n\t return {\n\t scheme: match[1],\n\t auth: match[2],\n\t host: match[3],\n\t port: match[4],\n\t path: match[5]\n\t };\n\t}\n\texports.urlParse = urlParse;\n\t\n\tfunction urlGenerate(aParsedUrl) {\n\t var url = '';\n\t if (aParsedUrl.scheme) {\n\t url += aParsedUrl.scheme + ':';\n\t }\n\t url += '//';\n\t if (aParsedUrl.auth) {\n\t url += aParsedUrl.auth + '@';\n\t }\n\t if (aParsedUrl.host) {\n\t url += aParsedUrl.host;\n\t }\n\t if (aParsedUrl.port) {\n\t url += \":\" + aParsedUrl.port\n\t }\n\t if (aParsedUrl.path) {\n\t url += aParsedUrl.path;\n\t }\n\t return url;\n\t}\n\texports.urlGenerate = urlGenerate;\n\t\n\t/**\n\t * Normalizes a path, or the path portion of a URL:\n\t *\n\t * - Replaces consecutive slashes with one slash.\n\t * - Removes unnecessary '.' parts.\n\t * - Removes unnecessary '/..' parts.\n\t *\n\t * Based on code in the Node.js 'path' core module.\n\t *\n\t * @param aPath The path or url to normalize.\n\t */\n\tfunction normalize(aPath) {\n\t var path = aPath;\n\t var url = urlParse(aPath);\n\t if (url) {\n\t if (!url.path) {\n\t return aPath;\n\t }\n\t path = url.path;\n\t }\n\t var isAbsolute = exports.isAbsolute(path);\n\t\n\t var parts = path.split(/\\/+/);\n\t for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n\t part = parts[i];\n\t if (part === '.') {\n\t parts.splice(i, 1);\n\t } else if (part === '..') {\n\t up++;\n\t } else if (up > 0) {\n\t if (part === '') {\n\t // The first part is blank if the path is absolute. Trying to go\n\t // above the root is a no-op. Therefore we can remove all '..' parts\n\t // directly after the root.\n\t parts.splice(i + 1, up);\n\t up = 0;\n\t } else {\n\t parts.splice(i, 2);\n\t up--;\n\t }\n\t }\n\t }\n\t path = parts.join('/');\n\t\n\t if (path === '') {\n\t path = isAbsolute ? '/' : '.';\n\t }\n\t\n\t if (url) {\n\t url.path = path;\n\t return urlGenerate(url);\n\t }\n\t return path;\n\t}\n\texports.normalize = normalize;\n\t\n\t/**\n\t * Joins two paths/URLs.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be joined with the root.\n\t *\n\t * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n\t * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n\t * first.\n\t * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n\t * is updated with the result and aRoot is returned. Otherwise the result\n\t * is returned.\n\t * - If aPath is absolute, the result is aPath.\n\t * - Otherwise the two paths are joined with a slash.\n\t * - Joining for example 'http://' and 'www.example.com' is also supported.\n\t */\n\tfunction join(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\t if (aPath === \"\") {\n\t aPath = \".\";\n\t }\n\t var aPathUrl = urlParse(aPath);\n\t var aRootUrl = urlParse(aRoot);\n\t if (aRootUrl) {\n\t aRoot = aRootUrl.path || '/';\n\t }\n\t\n\t // `join(foo, '//www.example.org')`\n\t if (aPathUrl && !aPathUrl.scheme) {\n\t if (aRootUrl) {\n\t aPathUrl.scheme = aRootUrl.scheme;\n\t }\n\t return urlGenerate(aPathUrl);\n\t }\n\t\n\t if (aPathUrl || aPath.match(dataUrlRegexp)) {\n\t return aPath;\n\t }\n\t\n\t // `join('http://', 'www.example.com')`\n\t if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n\t aRootUrl.host = aPath;\n\t return urlGenerate(aRootUrl);\n\t }\n\t\n\t var joined = aPath.charAt(0) === '/'\n\t ? aPath\n\t : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\t\n\t if (aRootUrl) {\n\t aRootUrl.path = joined;\n\t return urlGenerate(aRootUrl);\n\t }\n\t return joined;\n\t}\n\texports.join = join;\n\t\n\texports.isAbsolute = function (aPath) {\n\t return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n\t};\n\t\n\t/**\n\t * Make a path relative to a URL or another path.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be made relative to aRoot.\n\t */\n\tfunction relative(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\t\n\t aRoot = aRoot.replace(/\\/$/, '');\n\t\n\t // It is possible for the path to be above the root. In this case, simply\n\t // checking whether the root is a prefix of the path won't work. Instead, we\n\t // need to remove components from the root one by one, until either we find\n\t // a prefix that fits, or we run out of components to remove.\n\t var level = 0;\n\t while (aPath.indexOf(aRoot + '/') !== 0) {\n\t var index = aRoot.lastIndexOf(\"/\");\n\t if (index < 0) {\n\t return aPath;\n\t }\n\t\n\t // If the only part of the root that is left is the scheme (i.e. http://,\n\t // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n\t // have exhausted all components, so the path is not relative to the root.\n\t aRoot = aRoot.slice(0, index);\n\t if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n\t return aPath;\n\t }\n\t\n\t ++level;\n\t }\n\t\n\t // Make sure we add a \"../\" for each component we removed from the root.\n\t return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n\t}\n\texports.relative = relative;\n\t\n\tvar supportsNullProto = (function () {\n\t var obj = Object.create(null);\n\t return !('__proto__' in obj);\n\t}());\n\t\n\tfunction identity (s) {\n\t return s;\n\t}\n\t\n\t/**\n\t * Because behavior goes wacky when you set `__proto__` on objects, we\n\t * have to prefix all the strings in our set with an arbitrary character.\n\t *\n\t * See https://github.com/mozilla/source-map/pull/31 and\n\t * https://github.com/mozilla/source-map/issues/30\n\t *\n\t * @param String aStr\n\t */\n\tfunction toSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return '$' + aStr;\n\t }\n\t\n\t return aStr;\n\t}\n\texports.toSetString = supportsNullProto ? identity : toSetString;\n\t\n\tfunction fromSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return aStr.slice(1);\n\t }\n\t\n\t return aStr;\n\t}\n\texports.fromSetString = supportsNullProto ? identity : fromSetString;\n\t\n\tfunction isProtoString(s) {\n\t if (!s) {\n\t return false;\n\t }\n\t\n\t var length = s.length;\n\t\n\t if (length < 9 /* \"__proto__\".length */) {\n\t return false;\n\t }\n\t\n\t if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n\t s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n\t s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n\t s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 9) !== 95 /* '_' */) {\n\t return false;\n\t }\n\t\n\t for (var i = length - 10; i >= 0; i--) {\n\t if (s.charCodeAt(i) !== 36 /* '$' */) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\t/**\n\t * Comparator between two mappings where the original positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same original source/line/column, but different generated\n\t * line and column the same. Useful when searching for a mapping with a\n\t * stubbed out mapping.\n\t */\n\tfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n\t var cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0 || onlyCompareOriginal) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByOriginalPositions = compareByOriginalPositions;\n\t\n\t/**\n\t * Comparator between two mappings with deflated source and name indices where\n\t * the generated positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same generated line and column, but different\n\t * source/name/original line and column the same. Useful when searching for a\n\t * mapping with a stubbed out mapping.\n\t */\n\tfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0 || onlyCompareGenerated) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\t\n\tfunction strcmp(aStr1, aStr2) {\n\t if (aStr1 === aStr2) {\n\t return 0;\n\t }\n\t\n\t if (aStr1 > aStr2) {\n\t return 1;\n\t }\n\t\n\t return -1;\n\t}\n\t\n\t/**\n\t * Comparator between two mappings with inflated source and name strings where\n\t * the generated positions are compared.\n\t */\n\tfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = strcmp(mappingA.source, mappingB.source);\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return strcmp(mappingA.name, mappingB.name);\n\t}\n\texports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar hasNativeMap = typeof Map !== \"undefined\";\n\t\n\t/**\n\t * A data structure which is a combination of an array and a set. Adding a new\n\t * member is O(1), testing for membership is O(1), and finding the index of an\n\t * element is O(1). Removing elements from the set is not supported. Only\n\t * strings are supported for membership.\n\t */\n\tfunction ArraySet() {\n\t this._array = [];\n\t this._set = hasNativeMap ? new Map() : Object.create(null);\n\t}\n\t\n\t/**\n\t * Static method for creating ArraySet instances from an existing array.\n\t */\n\tArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n\t var set = new ArraySet();\n\t for (var i = 0, len = aArray.length; i < len; i++) {\n\t set.add(aArray[i], aAllowDuplicates);\n\t }\n\t return set;\n\t};\n\t\n\t/**\n\t * Return how many unique items are in this ArraySet. If duplicates have been\n\t * added, than those do not count towards the size.\n\t *\n\t * @returns Number\n\t */\n\tArraySet.prototype.size = function ArraySet_size() {\n\t return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n\t};\n\t\n\t/**\n\t * Add the given string to this set.\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n\t var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n\t var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n\t var idx = this._array.length;\n\t if (!isDuplicate || aAllowDuplicates) {\n\t this._array.push(aStr);\n\t }\n\t if (!isDuplicate) {\n\t if (hasNativeMap) {\n\t this._set.set(aStr, idx);\n\t } else {\n\t this._set[sStr] = idx;\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * Is the given string a member of this set?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.has = function ArraySet_has(aStr) {\n\t if (hasNativeMap) {\n\t return this._set.has(aStr);\n\t } else {\n\t var sStr = util.toSetString(aStr);\n\t return has.call(this._set, sStr);\n\t }\n\t};\n\t\n\t/**\n\t * What is the index of the given string in the array?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n\t if (hasNativeMap) {\n\t var idx = this._set.get(aStr);\n\t if (idx >= 0) {\n\t return idx;\n\t }\n\t } else {\n\t var sStr = util.toSetString(aStr);\n\t if (has.call(this._set, sStr)) {\n\t return this._set[sStr];\n\t }\n\t }\n\t\n\t throw new Error('\"' + aStr + '\" is not in the set.');\n\t};\n\t\n\t/**\n\t * What is the element at the given index?\n\t *\n\t * @param Number aIdx\n\t */\n\tArraySet.prototype.at = function ArraySet_at(aIdx) {\n\t if (aIdx >= 0 && aIdx < this._array.length) {\n\t return this._array[aIdx];\n\t }\n\t throw new Error('No element indexed by ' + aIdx);\n\t};\n\t\n\t/**\n\t * Returns the array representation of this set (which has the proper indices\n\t * indicated by indexOf). Note that this is a copy of the internal array used\n\t * for storing the members so that no one can mess with internal state.\n\t */\n\tArraySet.prototype.toArray = function ArraySet_toArray() {\n\t return this._array.slice();\n\t};\n\t\n\texports.ArraySet = ArraySet;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2014 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\t\n\t/**\n\t * Determine whether mappingB is after mappingA with respect to generated\n\t * position.\n\t */\n\tfunction generatedPositionAfter(mappingA, mappingB) {\n\t // Optimized for most common case\n\t var lineA = mappingA.generatedLine;\n\t var lineB = mappingB.generatedLine;\n\t var columnA = mappingA.generatedColumn;\n\t var columnB = mappingB.generatedColumn;\n\t return lineB > lineA || lineB == lineA && columnB >= columnA ||\n\t util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n\t}\n\t\n\t/**\n\t * A data structure to provide a sorted view of accumulated mappings in a\n\t * performance conscious manner. It trades a neglibable overhead in general\n\t * case for a large speedup in case of mappings being added in order.\n\t */\n\tfunction MappingList() {\n\t this._array = [];\n\t this._sorted = true;\n\t // Serves as infimum\n\t this._last = {generatedLine: -1, generatedColumn: 0};\n\t}\n\t\n\t/**\n\t * Iterate through internal items. This method takes the same arguments that\n\t * `Array.prototype.forEach` takes.\n\t *\n\t * NOTE: The order of the mappings is NOT guaranteed.\n\t */\n\tMappingList.prototype.unsortedForEach =\n\t function MappingList_forEach(aCallback, aThisArg) {\n\t this._array.forEach(aCallback, aThisArg);\n\t };\n\t\n\t/**\n\t * Add the given source mapping.\n\t *\n\t * @param Object aMapping\n\t */\n\tMappingList.prototype.add = function MappingList_add(aMapping) {\n\t if (generatedPositionAfter(this._last, aMapping)) {\n\t this._last = aMapping;\n\t this._array.push(aMapping);\n\t } else {\n\t this._sorted = false;\n\t this._array.push(aMapping);\n\t }\n\t};\n\t\n\t/**\n\t * Returns the flat, sorted array of mappings. The mappings are sorted by\n\t * generated position.\n\t *\n\t * WARNING: This method returns internal data without copying, for\n\t * performance. The return value must NOT be mutated, and should be treated as\n\t * an immutable borrow. If you want to take ownership, you must make your own\n\t * copy.\n\t */\n\tMappingList.prototype.toArray = function MappingList_toArray() {\n\t if (!this._sorted) {\n\t this._array.sort(util.compareByGeneratedPositionsInflated);\n\t this._sorted = true;\n\t }\n\t return this._array;\n\t};\n\t\n\texports.MappingList = MappingList;\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\tvar binarySearch = __webpack_require__(8);\n\tvar ArraySet = __webpack_require__(5).ArraySet;\n\tvar base64VLQ = __webpack_require__(2);\n\tvar quickSort = __webpack_require__(9).quickSort;\n\t\n\tfunction SourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t return sourceMap.sections != null\n\t ? new IndexedSourceMapConsumer(sourceMap)\n\t : new BasicSourceMapConsumer(sourceMap);\n\t}\n\t\n\tSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n\t return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n\t}\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tSourceMapConsumer.prototype._version = 3;\n\t\n\t// `__generatedMappings` and `__originalMappings` are arrays that hold the\n\t// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n\t// are lazily instantiated, accessed via the `_generatedMappings` and\n\t// `_originalMappings` getters respectively, and we only parse the mappings\n\t// and create these arrays once queried for a source location. We jump through\n\t// these hoops because there can be many thousands of mappings, and parsing\n\t// them is expensive, so we only want to do it if we must.\n\t//\n\t// Each object in the arrays is of the form:\n\t//\n\t// {\n\t// generatedLine: The line number in the generated code,\n\t// generatedColumn: The column number in the generated code,\n\t// source: The path to the original source file that generated this\n\t// chunk of code,\n\t// originalLine: The line number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// originalColumn: The column number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// name: The name of the original symbol which generated this chunk of\n\t// code.\n\t// }\n\t//\n\t// All properties except for `generatedLine` and `generatedColumn` can be\n\t// `null`.\n\t//\n\t// `_generatedMappings` is ordered by the generated positions.\n\t//\n\t// `_originalMappings` is ordered by the original positions.\n\t\n\tSourceMapConsumer.prototype.__generatedMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n\t get: function () {\n\t if (!this.__generatedMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\t\n\t return this.__generatedMappings;\n\t }\n\t});\n\t\n\tSourceMapConsumer.prototype.__originalMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n\t get: function () {\n\t if (!this.__originalMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\t\n\t return this.__originalMappings;\n\t }\n\t});\n\t\n\tSourceMapConsumer.prototype._charIsMappingSeparator =\n\t function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n\t var c = aStr.charAt(index);\n\t return c === \";\" || c === \",\";\n\t };\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t throw new Error(\"Subclasses must implement _parseMappings\");\n\t };\n\t\n\tSourceMapConsumer.GENERATED_ORDER = 1;\n\tSourceMapConsumer.ORIGINAL_ORDER = 2;\n\t\n\tSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\n\tSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\t\n\t/**\n\t * Iterate over each mapping between an original source/line/column and a\n\t * generated line/column in this source map.\n\t *\n\t * @param Function aCallback\n\t * The function that is called with each mapping.\n\t * @param Object aContext\n\t * Optional. If specified, this object will be the value of `this` every\n\t * time that `aCallback` is called.\n\t * @param aOrder\n\t * Either `SourceMapConsumer.GENERATED_ORDER` or\n\t * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n\t * iterate over the mappings sorted by the generated file's line/column\n\t * order or the original's source/line/column order, respectively. Defaults to\n\t * `SourceMapConsumer.GENERATED_ORDER`.\n\t */\n\tSourceMapConsumer.prototype.eachMapping =\n\t function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n\t var context = aContext || null;\n\t var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\t\n\t var mappings;\n\t switch (order) {\n\t case SourceMapConsumer.GENERATED_ORDER:\n\t mappings = this._generatedMappings;\n\t break;\n\t case SourceMapConsumer.ORIGINAL_ORDER:\n\t mappings = this._originalMappings;\n\t break;\n\t default:\n\t throw new Error(\"Unknown order of iteration.\");\n\t }\n\t\n\t var sourceRoot = this.sourceRoot;\n\t mappings.map(function (mapping) {\n\t var source = mapping.source === null ? null : this._sources.at(mapping.source);\n\t if (source != null && sourceRoot != null) {\n\t source = util.join(sourceRoot, source);\n\t }\n\t return {\n\t source: source,\n\t generatedLine: mapping.generatedLine,\n\t generatedColumn: mapping.generatedColumn,\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: mapping.name === null ? null : this._names.at(mapping.name)\n\t };\n\t }, this).forEach(aCallback, context);\n\t };\n\t\n\t/**\n\t * Returns all generated line and column information for the original source,\n\t * line, and column provided. If no column is provided, returns all mappings\n\t * corresponding to a either the line we are searching for or the next\n\t * closest line that has any mappings. Otherwise, returns all mappings\n\t * corresponding to the given line and either the column we are searching for\n\t * or the next closest column that has any offsets.\n\t *\n\t * The only argument is an object with the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: Optional. the column number in the original source.\n\t *\n\t * and an array of objects is returned, each with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tSourceMapConsumer.prototype.allGeneratedPositionsFor =\n\t function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n\t var line = util.getArg(aArgs, 'line');\n\t\n\t // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n\t // returns the index of the closest mapping less than the needle. By\n\t // setting needle.originalColumn to 0, we thus find the last mapping for\n\t // the given line, provided such a mapping exists.\n\t var needle = {\n\t source: util.getArg(aArgs, 'source'),\n\t originalLine: line,\n\t originalColumn: util.getArg(aArgs, 'column', 0)\n\t };\n\t\n\t if (this.sourceRoot != null) {\n\t needle.source = util.relative(this.sourceRoot, needle.source);\n\t }\n\t if (!this._sources.has(needle.source)) {\n\t return [];\n\t }\n\t needle.source = this._sources.indexOf(needle.source);\n\t\n\t var mappings = [];\n\t\n\t var index = this._findMapping(needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t binarySearch.LEAST_UPPER_BOUND);\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\t\n\t if (aArgs.column === undefined) {\n\t var originalLine = mapping.originalLine;\n\t\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we found. Since\n\t // mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we found.\n\t while (mapping && mapping.originalLine === originalLine) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\t\n\t mapping = this._originalMappings[++index];\n\t }\n\t } else {\n\t var originalColumn = mapping.originalColumn;\n\t\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we were searching for.\n\t // Since mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we are searching for.\n\t while (mapping &&\n\t mapping.originalLine === line &&\n\t mapping.originalColumn == originalColumn) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\t\n\t mapping = this._originalMappings[++index];\n\t }\n\t }\n\t }\n\t\n\t return mappings;\n\t };\n\t\n\texports.SourceMapConsumer = SourceMapConsumer;\n\t\n\t/**\n\t * A BasicSourceMapConsumer instance represents a parsed source map which we can\n\t * query for information about the original file positions by giving it a file\n\t * position in the generated source.\n\t *\n\t * The only parameter is the raw source map (either as a JSON string, or\n\t * already parsed to an object). According to the spec, source maps have the\n\t * following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - sources: An array of URLs to the original source files.\n\t * - names: An array of identifiers which can be referrenced by individual mappings.\n\t * - sourceRoot: Optional. The URL root from which all sources are relative.\n\t * - sourcesContent: Optional. An array of contents of the original source files.\n\t * - mappings: A string of base64 VLQs which contain the actual mappings.\n\t * - file: Optional. The generated file this source map is associated with.\n\t *\n\t * Here is an example source map, taken from the source map spec[0]:\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"out.js\",\n\t * sourceRoot : \"\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AA,AB;;ABCDE;\"\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n\t */\n\tfunction BasicSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t var version = util.getArg(sourceMap, 'version');\n\t var sources = util.getArg(sourceMap, 'sources');\n\t // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n\t // requires the array) to play nice here.\n\t var names = util.getArg(sourceMap, 'names', []);\n\t var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n\t var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n\t var mappings = util.getArg(sourceMap, 'mappings');\n\t var file = util.getArg(sourceMap, 'file', null);\n\t\n\t // Once again, Sass deviates from the spec and supplies the version as a\n\t // string rather than a number, so we use loose equality checking here.\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\t\n\t sources = sources\n\t .map(String)\n\t // Some source maps produce relative source paths like \"./foo.js\" instead of\n\t // \"foo.js\". Normalize these first so that future comparisons will succeed.\n\t // See bugzil.la/1090768.\n\t .map(util.normalize)\n\t // Always ensure that absolute sources are internally stored relative to\n\t // the source root, if the source root is absolute. Not doing this would\n\t // be particularly problematic when the source root is a prefix of the\n\t // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n\t .map(function (source) {\n\t return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n\t ? util.relative(sourceRoot, source)\n\t : source;\n\t });\n\t\n\t // Pass `true` below to allow duplicate names and sources. While source maps\n\t // are intended to be compressed and deduplicated, the TypeScript compiler\n\t // sometimes generates source maps with duplicates in them. See Github issue\n\t // #72 and bugzil.la/889492.\n\t this._names = ArraySet.fromArray(names.map(String), true);\n\t this._sources = ArraySet.fromArray(sources, true);\n\t\n\t this.sourceRoot = sourceRoot;\n\t this.sourcesContent = sourcesContent;\n\t this._mappings = mappings;\n\t this.file = file;\n\t}\n\t\n\tBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\t\n\t/**\n\t * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n\t *\n\t * @param SourceMapGenerator aSourceMap\n\t * The source map that will be consumed.\n\t * @returns BasicSourceMapConsumer\n\t */\n\tBasicSourceMapConsumer.fromSourceMap =\n\t function SourceMapConsumer_fromSourceMap(aSourceMap) {\n\t var smc = Object.create(BasicSourceMapConsumer.prototype);\n\t\n\t var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n\t var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n\t smc.sourceRoot = aSourceMap._sourceRoot;\n\t smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n\t smc.sourceRoot);\n\t smc.file = aSourceMap._file;\n\t\n\t // Because we are modifying the entries (by converting string sources and\n\t // names to indices into the sources and names ArraySets), we have to make\n\t // a copy of the entry or else bad things happen. Shared mutable state\n\t // strikes again! See github issue #191.\n\t\n\t var generatedMappings = aSourceMap._mappings.toArray().slice();\n\t var destGeneratedMappings = smc.__generatedMappings = [];\n\t var destOriginalMappings = smc.__originalMappings = [];\n\t\n\t for (var i = 0, length = generatedMappings.length; i < length; i++) {\n\t var srcMapping = generatedMappings[i];\n\t var destMapping = new Mapping;\n\t destMapping.generatedLine = srcMapping.generatedLine;\n\t destMapping.generatedColumn = srcMapping.generatedColumn;\n\t\n\t if (srcMapping.source) {\n\t destMapping.source = sources.indexOf(srcMapping.source);\n\t destMapping.originalLine = srcMapping.originalLine;\n\t destMapping.originalColumn = srcMapping.originalColumn;\n\t\n\t if (srcMapping.name) {\n\t destMapping.name = names.indexOf(srcMapping.name);\n\t }\n\t\n\t destOriginalMappings.push(destMapping);\n\t }\n\t\n\t destGeneratedMappings.push(destMapping);\n\t }\n\t\n\t quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\t\n\t return smc;\n\t };\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tBasicSourceMapConsumer.prototype._version = 3;\n\t\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t return this._sources.toArray().map(function (s) {\n\t return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n\t }, this);\n\t }\n\t});\n\t\n\t/**\n\t * Provide the JIT with a nice shape / hidden class.\n\t */\n\tfunction Mapping() {\n\t this.generatedLine = 0;\n\t this.generatedColumn = 0;\n\t this.source = null;\n\t this.originalLine = null;\n\t this.originalColumn = null;\n\t this.name = null;\n\t}\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tBasicSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t var generatedLine = 1;\n\t var previousGeneratedColumn = 0;\n\t var previousOriginalLine = 0;\n\t var previousOriginalColumn = 0;\n\t var previousSource = 0;\n\t var previousName = 0;\n\t var length = aStr.length;\n\t var index = 0;\n\t var cachedSegments = {};\n\t var temp = {};\n\t var originalMappings = [];\n\t var generatedMappings = [];\n\t var mapping, str, segment, end, value;\n\t\n\t while (index < length) {\n\t if (aStr.charAt(index) === ';') {\n\t generatedLine++;\n\t index++;\n\t previousGeneratedColumn = 0;\n\t }\n\t else if (aStr.charAt(index) === ',') {\n\t index++;\n\t }\n\t else {\n\t mapping = new Mapping();\n\t mapping.generatedLine = generatedLine;\n\t\n\t // Because each offset is encoded relative to the previous one,\n\t // many segments often have the same encoding. We can exploit this\n\t // fact by caching the parsed variable length fields of each segment,\n\t // allowing us to avoid a second parse if we encounter the same\n\t // segment again.\n\t for (end = index; end < length; end++) {\n\t if (this._charIsMappingSeparator(aStr, end)) {\n\t break;\n\t }\n\t }\n\t str = aStr.slice(index, end);\n\t\n\t segment = cachedSegments[str];\n\t if (segment) {\n\t index += str.length;\n\t } else {\n\t segment = [];\n\t while (index < end) {\n\t base64VLQ.decode(aStr, index, temp);\n\t value = temp.value;\n\t index = temp.rest;\n\t segment.push(value);\n\t }\n\t\n\t if (segment.length === 2) {\n\t throw new Error('Found a source, but no line and column');\n\t }\n\t\n\t if (segment.length === 3) {\n\t throw new Error('Found a source and line, but no column');\n\t }\n\t\n\t cachedSegments[str] = segment;\n\t }\n\t\n\t // Generated column.\n\t mapping.generatedColumn = previousGeneratedColumn + segment[0];\n\t previousGeneratedColumn = mapping.generatedColumn;\n\t\n\t if (segment.length > 1) {\n\t // Original source.\n\t mapping.source = previousSource + segment[1];\n\t previousSource += segment[1];\n\t\n\t // Original line.\n\t mapping.originalLine = previousOriginalLine + segment[2];\n\t previousOriginalLine = mapping.originalLine;\n\t // Lines are stored 0-based\n\t mapping.originalLine += 1;\n\t\n\t // Original column.\n\t mapping.originalColumn = previousOriginalColumn + segment[3];\n\t previousOriginalColumn = mapping.originalColumn;\n\t\n\t if (segment.length > 4) {\n\t // Original name.\n\t mapping.name = previousName + segment[4];\n\t previousName += segment[4];\n\t }\n\t }\n\t\n\t generatedMappings.push(mapping);\n\t if (typeof mapping.originalLine === 'number') {\n\t originalMappings.push(mapping);\n\t }\n\t }\n\t }\n\t\n\t quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t this.__generatedMappings = generatedMappings;\n\t\n\t quickSort(originalMappings, util.compareByOriginalPositions);\n\t this.__originalMappings = originalMappings;\n\t };\n\t\n\t/**\n\t * Find the mapping that best matches the hypothetical \"needle\" mapping that\n\t * we are searching for in the given \"haystack\" of mappings.\n\t */\n\tBasicSourceMapConsumer.prototype._findMapping =\n\t function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n\t aColumnName, aComparator, aBias) {\n\t // To return the position we are searching for, we must first find the\n\t // mapping for the given position and then return the opposite position it\n\t // points to. Because the mappings are sorted, we can use binary search to\n\t // find the best mapping.\n\t\n\t if (aNeedle[aLineName] <= 0) {\n\t throw new TypeError('Line must be greater than or equal to 1, got '\n\t + aNeedle[aLineName]);\n\t }\n\t if (aNeedle[aColumnName] < 0) {\n\t throw new TypeError('Column must be greater than or equal to 0, got '\n\t + aNeedle[aColumnName]);\n\t }\n\t\n\t return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n\t };\n\t\n\t/**\n\t * Compute the last column for each generated mapping. The last column is\n\t * inclusive.\n\t */\n\tBasicSourceMapConsumer.prototype.computeColumnSpans =\n\t function SourceMapConsumer_computeColumnSpans() {\n\t for (var index = 0; index < this._generatedMappings.length; ++index) {\n\t var mapping = this._generatedMappings[index];\n\t\n\t // Mappings do not contain a field for the last generated columnt. We\n\t // can come up with an optimistic estimate, however, by assuming that\n\t // mappings are contiguous (i.e. given two consecutive mappings, the\n\t // first mapping ends where the second one starts).\n\t if (index + 1 < this._generatedMappings.length) {\n\t var nextMapping = this._generatedMappings[index + 1];\n\t\n\t if (mapping.generatedLine === nextMapping.generatedLine) {\n\t mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n\t continue;\n\t }\n\t }\n\t\n\t // The last mapping for each line spans the entire line.\n\t mapping.lastGeneratedColumn = Infinity;\n\t }\n\t };\n\t\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.originalPositionFor =\n\t function SourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t var index = this._findMapping(\n\t needle,\n\t this._generatedMappings,\n\t \"generatedLine\",\n\t \"generatedColumn\",\n\t util.compareByGeneratedPositionsDeflated,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\t\n\t if (index >= 0) {\n\t var mapping = this._generatedMappings[index];\n\t\n\t if (mapping.generatedLine === needle.generatedLine) {\n\t var source = util.getArg(mapping, 'source', null);\n\t if (source !== null) {\n\t source = this._sources.at(source);\n\t if (this.sourceRoot != null) {\n\t source = util.join(this.sourceRoot, source);\n\t }\n\t }\n\t var name = util.getArg(mapping, 'name', null);\n\t if (name !== null) {\n\t name = this._names.at(name);\n\t }\n\t return {\n\t source: source,\n\t line: util.getArg(mapping, 'originalLine', null),\n\t column: util.getArg(mapping, 'originalColumn', null),\n\t name: name\n\t };\n\t }\n\t }\n\t\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t };\n\t\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function BasicSourceMapConsumer_hasContentsOfAllSources() {\n\t if (!this.sourcesContent) {\n\t return false;\n\t }\n\t return this.sourcesContent.length >= this._sources.size() &&\n\t !this.sourcesContent.some(function (sc) { return sc == null; });\n\t };\n\t\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tBasicSourceMapConsumer.prototype.sourceContentFor =\n\t function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t if (!this.sourcesContent) {\n\t return null;\n\t }\n\t\n\t if (this.sourceRoot != null) {\n\t aSource = util.relative(this.sourceRoot, aSource);\n\t }\n\t\n\t if (this._sources.has(aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(aSource)];\n\t }\n\t\n\t var url;\n\t if (this.sourceRoot != null\n\t && (url = util.urlParse(this.sourceRoot))) {\n\t // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n\t // many users. We can help them out when they expect file:// URIs to\n\t // behave like it would if they were running a local HTTP server. See\n\t // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n\t var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n\t if (url.scheme == \"file\"\n\t && this._sources.has(fileUriAbsPath)) {\n\t return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n\t }\n\t\n\t if ((!url.path || url.path == \"/\")\n\t && this._sources.has(\"/\" + aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n\t }\n\t }\n\t\n\t // This function is used recursively from\n\t // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n\t // don't want to throw if we can't find the source - we just want to\n\t // return null, so we provide a flag to exit gracefully.\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\t\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.generatedPositionFor =\n\t function SourceMapConsumer_generatedPositionFor(aArgs) {\n\t var source = util.getArg(aArgs, 'source');\n\t if (this.sourceRoot != null) {\n\t source = util.relative(this.sourceRoot, source);\n\t }\n\t if (!this._sources.has(source)) {\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t }\n\t source = this._sources.indexOf(source);\n\t\n\t var needle = {\n\t source: source,\n\t originalLine: util.getArg(aArgs, 'line'),\n\t originalColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t var index = this._findMapping(\n\t needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\t\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\t\n\t if (mapping.source === needle.source) {\n\t return {\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t };\n\t }\n\t }\n\t\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t };\n\t\n\texports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\t\n\t/**\n\t * An IndexedSourceMapConsumer instance represents a parsed source map which\n\t * we can query for information. It differs from BasicSourceMapConsumer in\n\t * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n\t * input.\n\t *\n\t * The only parameter is a raw source map (either as a JSON string, or already\n\t * parsed to an object). According to the spec for indexed source maps, they\n\t * have the following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - file: Optional. The generated file this source map is associated with.\n\t * - sections: A list of section definitions.\n\t *\n\t * Each value under the \"sections\" field has two fields:\n\t * - offset: The offset into the original specified at which this section\n\t * begins to apply, defined as an object with a \"line\" and \"column\"\n\t * field.\n\t * - map: A source map definition. This source map could also be indexed,\n\t * but doesn't have to be.\n\t *\n\t * Instead of the \"map\" field, it's also possible to have a \"url\" field\n\t * specifying a URL to retrieve a source map from, but that's currently\n\t * unsupported.\n\t *\n\t * Here's an example source map, taken from the source map spec[0], but\n\t * modified to omit a section which uses the \"url\" field.\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"app.js\",\n\t * sections: [{\n\t * offset: {line:100, column:10},\n\t * map: {\n\t * version : 3,\n\t * file: \"section.js\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AAAA,E;;ABCDE;\"\n\t * }\n\t * }],\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n\t */\n\tfunction IndexedSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t var version = util.getArg(sourceMap, 'version');\n\t var sections = util.getArg(sourceMap, 'sections');\n\t\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\t\n\t this._sources = new ArraySet();\n\t this._names = new ArraySet();\n\t\n\t var lastOffset = {\n\t line: -1,\n\t column: 0\n\t };\n\t this._sections = sections.map(function (s) {\n\t if (s.url) {\n\t // The url field will require support for asynchronicity.\n\t // See https://github.com/mozilla/source-map/issues/16\n\t throw new Error('Support for url field in sections not implemented.');\n\t }\n\t var offset = util.getArg(s, 'offset');\n\t var offsetLine = util.getArg(offset, 'line');\n\t var offsetColumn = util.getArg(offset, 'column');\n\t\n\t if (offsetLine < lastOffset.line ||\n\t (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n\t throw new Error('Section offsets must be ordered and non-overlapping.');\n\t }\n\t lastOffset = offset;\n\t\n\t return {\n\t generatedOffset: {\n\t // The offset fields are 0-based, but we use 1-based indices when\n\t // encoding/decoding from VLQ.\n\t generatedLine: offsetLine + 1,\n\t generatedColumn: offsetColumn + 1\n\t },\n\t consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n\t }\n\t });\n\t}\n\t\n\tIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tIndexedSourceMapConsumer.prototype._version = 3;\n\t\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t var sources = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n\t sources.push(this._sections[i].consumer.sources[j]);\n\t }\n\t }\n\t return sources;\n\t }\n\t});\n\t\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.originalPositionFor =\n\t function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t // Find the section containing the generated position we're trying to map\n\t // to an original position.\n\t var sectionIndex = binarySearch.search(needle, this._sections,\n\t function(needle, section) {\n\t var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n\t if (cmp) {\n\t return cmp;\n\t }\n\t\n\t return (needle.generatedColumn -\n\t section.generatedOffset.generatedColumn);\n\t });\n\t var section = this._sections[sectionIndex];\n\t\n\t if (!section) {\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t }\n\t\n\t return section.consumer.originalPositionFor({\n\t line: needle.generatedLine -\n\t (section.generatedOffset.generatedLine - 1),\n\t column: needle.generatedColumn -\n\t (section.generatedOffset.generatedLine === needle.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t bias: aArgs.bias\n\t });\n\t };\n\t\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n\t return this._sections.every(function (s) {\n\t return s.consumer.hasContentsOfAllSources();\n\t });\n\t };\n\t\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tIndexedSourceMapConsumer.prototype.sourceContentFor =\n\t function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t\n\t var content = section.consumer.sourceContentFor(aSource, true);\n\t if (content) {\n\t return content;\n\t }\n\t }\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\t\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.generatedPositionFor =\n\t function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t\n\t // Only consider this section if the requested source is in the list of\n\t // sources of the consumer.\n\t if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n\t continue;\n\t }\n\t var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n\t if (generatedPosition) {\n\t var ret = {\n\t line: generatedPosition.line +\n\t (section.generatedOffset.generatedLine - 1),\n\t column: generatedPosition.column +\n\t (section.generatedOffset.generatedLine === generatedPosition.line\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0)\n\t };\n\t return ret;\n\t }\n\t }\n\t\n\t return {\n\t line: null,\n\t column: null\n\t };\n\t };\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tIndexedSourceMapConsumer.prototype._parseMappings =\n\t function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t this.__generatedMappings = [];\n\t this.__originalMappings = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t var sectionMappings = section.consumer._generatedMappings;\n\t for (var j = 0; j < sectionMappings.length; j++) {\n\t var mapping = sectionMappings[j];\n\t\n\t var source = section.consumer._sources.at(mapping.source);\n\t if (section.consumer.sourceRoot !== null) {\n\t source = util.join(section.consumer.sourceRoot, source);\n\t }\n\t this._sources.add(source);\n\t source = this._sources.indexOf(source);\n\t\n\t var name = section.consumer._names.at(mapping.name);\n\t this._names.add(name);\n\t name = this._names.indexOf(name);\n\t\n\t // The mappings coming from the consumer for the section have\n\t // generated positions relative to the start of the section, so we\n\t // need to offset them to be relative to the start of the concatenated\n\t // generated file.\n\t var adjustedMapping = {\n\t source: source,\n\t generatedLine: mapping.generatedLine +\n\t (section.generatedOffset.generatedLine - 1),\n\t generatedColumn: mapping.generatedColumn +\n\t (section.generatedOffset.generatedLine === mapping.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: name\n\t };\n\t\n\t this.__generatedMappings.push(adjustedMapping);\n\t if (typeof adjustedMapping.originalLine === 'number') {\n\t this.__originalMappings.push(adjustedMapping);\n\t }\n\t }\n\t }\n\t\n\t quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t quickSort(this.__originalMappings, util.compareByOriginalPositions);\n\t };\n\t\n\texports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\texports.GREATEST_LOWER_BOUND = 1;\n\texports.LEAST_UPPER_BOUND = 2;\n\t\n\t/**\n\t * Recursive implementation of binary search.\n\t *\n\t * @param aLow Indices here and lower do not contain the needle.\n\t * @param aHigh Indices here and higher do not contain the needle.\n\t * @param aNeedle The element being searched for.\n\t * @param aHaystack The non-empty array being searched.\n\t * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t */\n\tfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n\t // This function terminates when one of the following is true:\n\t //\n\t // 1. We find the exact element we are looking for.\n\t //\n\t // 2. We did not find the exact element, but we can return the index of\n\t // the next-closest element.\n\t //\n\t // 3. We did not find the exact element, and there is no next-closest\n\t // element than the one we are searching for, so we return -1.\n\t var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n\t var cmp = aCompare(aNeedle, aHaystack[mid], true);\n\t if (cmp === 0) {\n\t // Found the element we are looking for.\n\t return mid;\n\t }\n\t else if (cmp > 0) {\n\t // Our needle is greater than aHaystack[mid].\n\t if (aHigh - mid > 1) {\n\t // The element is in the upper half.\n\t return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\t\n\t // The exact needle element was not found in this haystack. Determine if\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return aHigh < aHaystack.length ? aHigh : -1;\n\t } else {\n\t return mid;\n\t }\n\t }\n\t else {\n\t // Our needle is less than aHaystack[mid].\n\t if (mid - aLow > 1) {\n\t // The element is in the lower half.\n\t return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\t\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return mid;\n\t } else {\n\t return aLow < 0 ? -1 : aLow;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * This is an implementation of binary search which will always try and return\n\t * the index of the closest element if there is no exact hit. This is because\n\t * mappings between original and generated line/col pairs are single points,\n\t * and there is an implicit region between each of them, so a miss just means\n\t * that you aren't on the very start of a region.\n\t *\n\t * @param aNeedle The element you are looking for.\n\t * @param aHaystack The array that is being searched.\n\t * @param aCompare A function which takes the needle and an element in the\n\t * array and returns -1, 0, or 1 depending on whether the needle is less\n\t * than, equal to, or greater than the element, respectively.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n\t */\n\texports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n\t if (aHaystack.length === 0) {\n\t return -1;\n\t }\n\t\n\t var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n\t aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n\t if (index < 0) {\n\t return -1;\n\t }\n\t\n\t // We have found either the exact element, or the next-closest element than\n\t // the one we are searching for. However, there may be more than one such\n\t // element. Make sure we always return the smallest of these.\n\t while (index - 1 >= 0) {\n\t if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n\t break;\n\t }\n\t --index;\n\t }\n\t\n\t return index;\n\t};\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\t// It turns out that some (most?) JavaScript engines don't self-host\n\t// `Array.prototype.sort`. This makes sense because C++ will likely remain\n\t// faster than JS when doing raw CPU-intensive sorting. However, when using a\n\t// custom comparator function, calling back and forth between the VM's C++ and\n\t// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n\t// worse generated code for the comparator function than would be optimal. In\n\t// fact, when sorting with a comparator, these costs outweigh the benefits of\n\t// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n\t// a ~3500ms mean speed-up in `bench/bench.html`.\n\t\n\t/**\n\t * Swap the elements indexed by `x` and `y` in the array `ary`.\n\t *\n\t * @param {Array} ary\n\t * The array.\n\t * @param {Number} x\n\t * The index of the first item.\n\t * @param {Number} y\n\t * The index of the second item.\n\t */\n\tfunction swap(ary, x, y) {\n\t var temp = ary[x];\n\t ary[x] = ary[y];\n\t ary[y] = temp;\n\t}\n\t\n\t/**\n\t * Returns a random integer within the range `low .. high` inclusive.\n\t *\n\t * @param {Number} low\n\t * The lower bound on the range.\n\t * @param {Number} high\n\t * The upper bound on the range.\n\t */\n\tfunction randomIntInRange(low, high) {\n\t return Math.round(low + (Math.random() * (high - low)));\n\t}\n\t\n\t/**\n\t * The Quick Sort algorithm.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t * @param {Number} p\n\t * Start index of the array\n\t * @param {Number} r\n\t * End index of the array\n\t */\n\tfunction doQuickSort(ary, comparator, p, r) {\n\t // If our lower bound is less than our upper bound, we (1) partition the\n\t // array into two pieces and (2) recurse on each half. If it is not, this is\n\t // the empty array and our base case.\n\t\n\t if (p < r) {\n\t // (1) Partitioning.\n\t //\n\t // The partitioning chooses a pivot between `p` and `r` and moves all\n\t // elements that are less than or equal to the pivot to the before it, and\n\t // all the elements that are greater than it after it. The effect is that\n\t // once partition is done, the pivot is in the exact place it will be when\n\t // the array is put in sorted order, and it will not need to be moved\n\t // again. This runs in O(n) time.\n\t\n\t // Always choose a random pivot so that an input array which is reverse\n\t // sorted does not cause O(n^2) running time.\n\t var pivotIndex = randomIntInRange(p, r);\n\t var i = p - 1;\n\t\n\t swap(ary, pivotIndex, r);\n\t var pivot = ary[r];\n\t\n\t // Immediately after `j` is incremented in this loop, the following hold\n\t // true:\n\t //\n\t // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n\t //\n\t // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n\t for (var j = p; j < r; j++) {\n\t if (comparator(ary[j], pivot) <= 0) {\n\t i += 1;\n\t swap(ary, i, j);\n\t }\n\t }\n\t\n\t swap(ary, i + 1, j);\n\t var q = i + 1;\n\t\n\t // (2) Recurse on each half.\n\t\n\t doQuickSort(ary, comparator, p, q - 1);\n\t doQuickSort(ary, comparator, q + 1, r);\n\t }\n\t}\n\t\n\t/**\n\t * Sort the given array in-place with the given comparator function.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t */\n\texports.quickSort = function (ary, comparator) {\n\t doQuickSort(ary, comparator, 0, ary.length - 1);\n\t};\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;\n\tvar util = __webpack_require__(4);\n\t\n\t// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n\t// operating systems these days (capturing the result).\n\tvar REGEX_NEWLINE = /(\\r?\\n)/;\n\t\n\t// Newline character code for charCodeAt() comparisons\n\tvar NEWLINE_CODE = 10;\n\t\n\t// Private symbol for identifying `SourceNode`s when multiple versions of\n\t// the source-map library are loaded. This MUST NOT CHANGE across\n\t// versions!\n\tvar isSourceNode = \"$$$isSourceNode$$$\";\n\t\n\t/**\n\t * SourceNodes provide a way to abstract over interpolating/concatenating\n\t * snippets of generated JavaScript source code while maintaining the line and\n\t * column information associated with the original source code.\n\t *\n\t * @param aLine The original line number.\n\t * @param aColumn The original column number.\n\t * @param aSource The original source's filename.\n\t * @param aChunks Optional. An array of strings which are snippets of\n\t * generated JS, or other SourceNodes.\n\t * @param aName The original identifier.\n\t */\n\tfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n\t this.children = [];\n\t this.sourceContents = {};\n\t this.line = aLine == null ? null : aLine;\n\t this.column = aColumn == null ? null : aColumn;\n\t this.source = aSource == null ? null : aSource;\n\t this.name = aName == null ? null : aName;\n\t this[isSourceNode] = true;\n\t if (aChunks != null) this.add(aChunks);\n\t}\n\t\n\t/**\n\t * Creates a SourceNode from generated code and a SourceMapConsumer.\n\t *\n\t * @param aGeneratedCode The generated code\n\t * @param aSourceMapConsumer The SourceMap for the generated code\n\t * @param aRelativePath Optional. The path that relative sources in the\n\t * SourceMapConsumer should be relative to.\n\t */\n\tSourceNode.fromStringWithSourceMap =\n\t function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n\t // The SourceNode we want to fill with the generated code\n\t // and the SourceMap\n\t var node = new SourceNode();\n\t\n\t // All even indices of this array are one line of the generated code,\n\t // while all odd indices are the newlines between two adjacent lines\n\t // (since `REGEX_NEWLINE` captures its match).\n\t // Processed fragments are accessed by calling `shiftNextLine`.\n\t var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n\t var remainingLinesIndex = 0;\n\t var shiftNextLine = function() {\n\t var lineContents = getNextLine();\n\t // The last line of a file might not have a newline.\n\t var newLine = getNextLine() || \"\";\n\t return lineContents + newLine;\n\t\n\t function getNextLine() {\n\t return remainingLinesIndex < remainingLines.length ?\n\t remainingLines[remainingLinesIndex++] : undefined;\n\t }\n\t };\n\t\n\t // We need to remember the position of \"remainingLines\"\n\t var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\t\n\t // The generate SourceNodes we need a code range.\n\t // To extract it current and last mapping is used.\n\t // Here we store the last mapping.\n\t var lastMapping = null;\n\t\n\t aSourceMapConsumer.eachMapping(function (mapping) {\n\t if (lastMapping !== null) {\n\t // We add the code from \"lastMapping\" to \"mapping\":\n\t // First check if there is a new line in between.\n\t if (lastGeneratedLine < mapping.generatedLine) {\n\t // Associate first line with \"lastMapping\"\n\t addMappingWithCode(lastMapping, shiftNextLine());\n\t lastGeneratedLine++;\n\t lastGeneratedColumn = 0;\n\t // The remaining code is added without mapping\n\t } else {\n\t // There is no new line in between.\n\t // Associate the code between \"lastGeneratedColumn\" and\n\t // \"mapping.generatedColumn\" with \"lastMapping\"\n\t var nextLine = remainingLines[remainingLinesIndex];\n\t var code = nextLine.substr(0, mapping.generatedColumn -\n\t lastGeneratedColumn);\n\t remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n\t lastGeneratedColumn);\n\t lastGeneratedColumn = mapping.generatedColumn;\n\t addMappingWithCode(lastMapping, code);\n\t // No more remaining code, continue\n\t lastMapping = mapping;\n\t return;\n\t }\n\t }\n\t // We add the generated code until the first mapping\n\t // to the SourceNode without any mapping.\n\t // Each line is added as separate string.\n\t while (lastGeneratedLine < mapping.generatedLine) {\n\t node.add(shiftNextLine());\n\t lastGeneratedLine++;\n\t }\n\t if (lastGeneratedColumn < mapping.generatedColumn) {\n\t var nextLine = remainingLines[remainingLinesIndex];\n\t node.add(nextLine.substr(0, mapping.generatedColumn));\n\t remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n\t lastGeneratedColumn = mapping.generatedColumn;\n\t }\n\t lastMapping = mapping;\n\t }, this);\n\t // We have processed all mappings.\n\t if (remainingLinesIndex < remainingLines.length) {\n\t if (lastMapping) {\n\t // Associate the remaining code in the current line with \"lastMapping\"\n\t addMappingWithCode(lastMapping, shiftNextLine());\n\t }\n\t // and add the remaining lines without any mapping\n\t node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n\t }\n\t\n\t // Copy sourcesContent into SourceNode\n\t aSourceMapConsumer.sources.forEach(function (sourceFile) {\n\t var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n\t if (content != null) {\n\t if (aRelativePath != null) {\n\t sourceFile = util.join(aRelativePath, sourceFile);\n\t }\n\t node.setSourceContent(sourceFile, content);\n\t }\n\t });\n\t\n\t return node;\n\t\n\t function addMappingWithCode(mapping, code) {\n\t if (mapping === null || mapping.source === undefined) {\n\t node.add(code);\n\t } else {\n\t var source = aRelativePath\n\t ? util.join(aRelativePath, mapping.source)\n\t : mapping.source;\n\t node.add(new SourceNode(mapping.originalLine,\n\t mapping.originalColumn,\n\t source,\n\t code,\n\t mapping.name));\n\t }\n\t }\n\t };\n\t\n\t/**\n\t * Add a chunk of generated JS to this source node.\n\t *\n\t * @param aChunk A string snippet of generated JS code, another instance of\n\t * SourceNode, or an array where each member is one of those things.\n\t */\n\tSourceNode.prototype.add = function SourceNode_add(aChunk) {\n\t if (Array.isArray(aChunk)) {\n\t aChunk.forEach(function (chunk) {\n\t this.add(chunk);\n\t }, this);\n\t }\n\t else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n\t if (aChunk) {\n\t this.children.push(aChunk);\n\t }\n\t }\n\t else {\n\t throw new TypeError(\n\t \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t );\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Add a chunk of generated JS to the beginning of this source node.\n\t *\n\t * @param aChunk A string snippet of generated JS code, another instance of\n\t * SourceNode, or an array where each member is one of those things.\n\t */\n\tSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n\t if (Array.isArray(aChunk)) {\n\t for (var i = aChunk.length-1; i >= 0; i--) {\n\t this.prepend(aChunk[i]);\n\t }\n\t }\n\t else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n\t this.children.unshift(aChunk);\n\t }\n\t else {\n\t throw new TypeError(\n\t \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t );\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Walk over the tree of JS snippets in this node and its children. The\n\t * walking function is called once for each snippet of JS and is passed that\n\t * snippet and the its original associated source's line/column location.\n\t *\n\t * @param aFn The traversal function.\n\t */\n\tSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n\t var chunk;\n\t for (var i = 0, len = this.children.length; i < len; i++) {\n\t chunk = this.children[i];\n\t if (chunk[isSourceNode]) {\n\t chunk.walk(aFn);\n\t }\n\t else {\n\t if (chunk !== '') {\n\t aFn(chunk, { source: this.source,\n\t line: this.line,\n\t column: this.column,\n\t name: this.name });\n\t }\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n\t * each of `this.children`.\n\t *\n\t * @param aSep The separator.\n\t */\n\tSourceNode.prototype.join = function SourceNode_join(aSep) {\n\t var newChildren;\n\t var i;\n\t var len = this.children.length;\n\t if (len > 0) {\n\t newChildren = [];\n\t for (i = 0; i < len-1; i++) {\n\t newChildren.push(this.children[i]);\n\t newChildren.push(aSep);\n\t }\n\t newChildren.push(this.children[i]);\n\t this.children = newChildren;\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Call String.prototype.replace on the very right-most source snippet. Useful\n\t * for trimming whitespace from the end of a source node, etc.\n\t *\n\t * @param aPattern The pattern to replace.\n\t * @param aReplacement The thing to replace the pattern with.\n\t */\n\tSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n\t var lastChild = this.children[this.children.length - 1];\n\t if (lastChild[isSourceNode]) {\n\t lastChild.replaceRight(aPattern, aReplacement);\n\t }\n\t else if (typeof lastChild === 'string') {\n\t this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n\t }\n\t else {\n\t this.children.push(''.replace(aPattern, aReplacement));\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Set the source content for a source file. This will be added to the SourceMapGenerator\n\t * in the sourcesContent field.\n\t *\n\t * @param aSourceFile The filename of the source file\n\t * @param aSourceContent The content of the source file\n\t */\n\tSourceNode.prototype.setSourceContent =\n\t function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n\t this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n\t };\n\t\n\t/**\n\t * Walk over the tree of SourceNodes. The walking function is called for each\n\t * source file content and is passed the filename and source content.\n\t *\n\t * @param aFn The traversal function.\n\t */\n\tSourceNode.prototype.walkSourceContents =\n\t function SourceNode_walkSourceContents(aFn) {\n\t for (var i = 0, len = this.children.length; i < len; i++) {\n\t if (this.children[i][isSourceNode]) {\n\t this.children[i].walkSourceContents(aFn);\n\t }\n\t }\n\t\n\t var sources = Object.keys(this.sourceContents);\n\t for (var i = 0, len = sources.length; i < len; i++) {\n\t aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n\t }\n\t };\n\t\n\t/**\n\t * Return the string representation of this source node. Walks over the tree\n\t * and concatenates all the various snippets together to one string.\n\t */\n\tSourceNode.prototype.toString = function SourceNode_toString() {\n\t var str = \"\";\n\t this.walk(function (chunk) {\n\t str += chunk;\n\t });\n\t return str;\n\t};\n\t\n\t/**\n\t * Returns the string representation of this source node along with a source\n\t * map.\n\t */\n\tSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n\t var generated = {\n\t code: \"\",\n\t line: 1,\n\t column: 0\n\t };\n\t var map = new SourceMapGenerator(aArgs);\n\t var sourceMappingActive = false;\n\t var lastOriginalSource = null;\n\t var lastOriginalLine = null;\n\t var lastOriginalColumn = null;\n\t var lastOriginalName = null;\n\t this.walk(function (chunk, original) {\n\t generated.code += chunk;\n\t if (original.source !== null\n\t && original.line !== null\n\t && original.column !== null) {\n\t if(lastOriginalSource !== original.source\n\t || lastOriginalLine !== original.line\n\t || lastOriginalColumn !== original.column\n\t || lastOriginalName !== original.name) {\n\t map.addMapping({\n\t source: original.source,\n\t original: {\n\t line: original.line,\n\t column: original.column\n\t },\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t },\n\t name: original.name\n\t });\n\t }\n\t lastOriginalSource = original.source;\n\t lastOriginalLine = original.line;\n\t lastOriginalColumn = original.column;\n\t lastOriginalName = original.name;\n\t sourceMappingActive = true;\n\t } else if (sourceMappingActive) {\n\t map.addMapping({\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t }\n\t });\n\t lastOriginalSource = null;\n\t sourceMappingActive = false;\n\t }\n\t for (var idx = 0, length = chunk.length; idx < length; idx++) {\n\t if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n\t generated.line++;\n\t generated.column = 0;\n\t // Mappings end at eol\n\t if (idx + 1 === length) {\n\t lastOriginalSource = null;\n\t sourceMappingActive = false;\n\t } else if (sourceMappingActive) {\n\t map.addMapping({\n\t source: original.source,\n\t original: {\n\t line: original.line,\n\t column: original.column\n\t },\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t },\n\t name: original.name\n\t });\n\t }\n\t } else {\n\t generated.column++;\n\t }\n\t }\n\t });\n\t this.walkSourceContents(function (sourceFile, sourceContent) {\n\t map.setSourceContent(sourceFile, sourceContent);\n\t });\n\t\n\t return { code: generated.code, map: map };\n\t};\n\t\n\texports.SourceNode = SourceNode;\n\n\n/***/ })\n/******/ ])\n});\n;\n\n\n// WEBPACK FOOTER //\n// source-map.min.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 42c329f865e32e011afb","/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator;\nexports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;\nexports.SourceNode = require('./lib/source-node').SourceNode;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./source-map.js\n// module id = 0\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar base64VLQ = require('./base64-vlq');\nvar util = require('./util');\nvar ArraySet = require('./array-set').ArraySet;\nvar MappingList = require('./mapping-list').MappingList;\n\n/**\n * An instance of the SourceMapGenerator represents a source map which is\n * being built incrementally. You may pass an object with the following\n * properties:\n *\n * - file: The filename of the generated source.\n * - sourceRoot: A root for all relative URLs in this source map.\n */\nfunction SourceMapGenerator(aArgs) {\n if (!aArgs) {\n aArgs = {};\n }\n this._file = util.getArg(aArgs, 'file', null);\n this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n this._skipValidation = util.getArg(aArgs, 'skipValidation', false);\n this._sources = new ArraySet();\n this._names = new ArraySet();\n this._mappings = new MappingList();\n this._sourcesContents = null;\n}\n\nSourceMapGenerator.prototype._version = 3;\n\n/**\n * Creates a new SourceMapGenerator based on a SourceMapConsumer\n *\n * @param aSourceMapConsumer The SourceMap.\n */\nSourceMapGenerator.fromSourceMap =\n function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {\n var sourceRoot = aSourceMapConsumer.sourceRoot;\n var generator = new SourceMapGenerator({\n file: aSourceMapConsumer.file,\n sourceRoot: sourceRoot\n });\n aSourceMapConsumer.eachMapping(function (mapping) {\n var newMapping = {\n generated: {\n line: mapping.generatedLine,\n column: mapping.generatedColumn\n }\n };\n\n if (mapping.source != null) {\n newMapping.source = mapping.source;\n if (sourceRoot != null) {\n newMapping.source = util.relative(sourceRoot, newMapping.source);\n }\n\n newMapping.original = {\n line: mapping.originalLine,\n column: mapping.originalColumn\n };\n\n if (mapping.name != null) {\n newMapping.name = mapping.name;\n }\n }\n\n generator.addMapping(newMapping);\n });\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n generator.setSourceContent(sourceFile, content);\n }\n });\n return generator;\n };\n\n/**\n * Add a single mapping from original source line and column to the generated\n * source's line and column for this source map being created. The mapping\n * object should have the following properties:\n *\n * - generated: An object with the generated line and column positions.\n * - original: An object with the original line and column positions.\n * - source: The original source file (relative to the sourceRoot).\n * - name: An optional original token name for this mapping.\n */\nSourceMapGenerator.prototype.addMapping =\n function SourceMapGenerator_addMapping(aArgs) {\n var generated = util.getArg(aArgs, 'generated');\n var original = util.getArg(aArgs, 'original', null);\n var source = util.getArg(aArgs, 'source', null);\n var name = util.getArg(aArgs, 'name', null);\n\n if (!this._skipValidation) {\n this._validateMapping(generated, original, source, name);\n }\n\n if (source != null) {\n source = String(source);\n if (!this._sources.has(source)) {\n this._sources.add(source);\n }\n }\n\n if (name != null) {\n name = String(name);\n if (!this._names.has(name)) {\n this._names.add(name);\n }\n }\n\n this._mappings.add({\n generatedLine: generated.line,\n generatedColumn: generated.column,\n originalLine: original != null && original.line,\n originalColumn: original != null && original.column,\n source: source,\n name: name\n });\n };\n\n/**\n * Set the source content for a source file.\n */\nSourceMapGenerator.prototype.setSourceContent =\n function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {\n var source = aSourceFile;\n if (this._sourceRoot != null) {\n source = util.relative(this._sourceRoot, source);\n }\n\n if (aSourceContent != null) {\n // Add the source content to the _sourcesContents map.\n // Create a new _sourcesContents map if the property is null.\n if (!this._sourcesContents) {\n this._sourcesContents = Object.create(null);\n }\n this._sourcesContents[util.toSetString(source)] = aSourceContent;\n } else if (this._sourcesContents) {\n // Remove the source file from the _sourcesContents map.\n // If the _sourcesContents map is empty, set the property to null.\n delete this._sourcesContents[util.toSetString(source)];\n if (Object.keys(this._sourcesContents).length === 0) {\n this._sourcesContents = null;\n }\n }\n };\n\n/**\n * Applies the mappings of a sub-source-map for a specific source file to the\n * source map being generated. Each mapping to the supplied source file is\n * rewritten using the supplied source map. Note: The resolution for the\n * resulting mappings is the minimium of this map and the supplied map.\n *\n * @param aSourceMapConsumer The source map to be applied.\n * @param aSourceFile Optional. The filename of the source file.\n * If omitted, SourceMapConsumer's file property will be used.\n * @param aSourceMapPath Optional. The dirname of the path to the source map\n * to be applied. If relative, it is relative to the SourceMapConsumer.\n * This parameter is needed when the two source maps aren't in the same\n * directory, and the source map to be applied contains relative source\n * paths. If so, those relative source paths need to be rewritten\n * relative to the SourceMapGenerator.\n */\nSourceMapGenerator.prototype.applySourceMap =\n function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {\n var sourceFile = aSourceFile;\n // If aSourceFile is omitted, we will use the file property of the SourceMap\n if (aSourceFile == null) {\n if (aSourceMapConsumer.file == null) {\n throw new Error(\n 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +\n 'or the source map\\'s \"file\" property. Both were omitted.'\n );\n }\n sourceFile = aSourceMapConsumer.file;\n }\n var sourceRoot = this._sourceRoot;\n // Make \"sourceFile\" relative if an absolute Url is passed.\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n // Applying the SourceMap can add and remove items from the sources and\n // the names array.\n var newSources = new ArraySet();\n var newNames = new ArraySet();\n\n // Find mappings for the \"sourceFile\"\n this._mappings.unsortedForEach(function (mapping) {\n if (mapping.source === sourceFile && mapping.originalLine != null) {\n // Check if it can be mapped by the source map, then update the mapping.\n var original = aSourceMapConsumer.originalPositionFor({\n line: mapping.originalLine,\n column: mapping.originalColumn\n });\n if (original.source != null) {\n // Copy mapping\n mapping.source = original.source;\n if (aSourceMapPath != null) {\n mapping.source = util.join(aSourceMapPath, mapping.source)\n }\n if (sourceRoot != null) {\n mapping.source = util.relative(sourceRoot, mapping.source);\n }\n mapping.originalLine = original.line;\n mapping.originalColumn = original.column;\n if (original.name != null) {\n mapping.name = original.name;\n }\n }\n }\n\n var source = mapping.source;\n if (source != null && !newSources.has(source)) {\n newSources.add(source);\n }\n\n var name = mapping.name;\n if (name != null && !newNames.has(name)) {\n newNames.add(name);\n }\n\n }, this);\n this._sources = newSources;\n this._names = newNames;\n\n // Copy sourcesContents of applied map.\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aSourceMapPath != null) {\n sourceFile = util.join(aSourceMapPath, sourceFile);\n }\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n this.setSourceContent(sourceFile, content);\n }\n }, this);\n };\n\n/**\n * A mapping can have one of the three levels of data:\n *\n * 1. Just the generated position.\n * 2. The Generated position, original position, and original source.\n * 3. Generated and original position, original source, as well as a name\n * token.\n *\n * To maintain consistency, we validate that any new mapping being added falls\n * in to one of these categories.\n */\nSourceMapGenerator.prototype._validateMapping =\n function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n aName) {\n // When aOriginal is truthy but has empty values for .line and .column,\n // it is most likely a programmer error. In this case we throw a very\n // specific error message to try to guide them the right way.\n // For example: https://github.com/Polymer/polymer-bundler/pull/519\n if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {\n throw new Error(\n 'original.line and original.column are not numbers -- you probably meant to omit ' +\n 'the original mapping entirely and only map the generated position. If so, pass ' +\n 'null for the original mapping instead of an object with empty or null values.'\n );\n }\n\n if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aGenerated.line > 0 && aGenerated.column >= 0\n && !aOriginal && !aSource && !aName) {\n // Case 1.\n return;\n }\n else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n && aGenerated.line > 0 && aGenerated.column >= 0\n && aOriginal.line > 0 && aOriginal.column >= 0\n && aSource) {\n // Cases 2 and 3.\n return;\n }\n else {\n throw new Error('Invalid mapping: ' + JSON.stringify({\n generated: aGenerated,\n source: aSource,\n original: aOriginal,\n name: aName\n }));\n }\n };\n\n/**\n * Serialize the accumulated mappings in to the stream of base 64 VLQs\n * specified by the source map format.\n */\nSourceMapGenerator.prototype._serializeMappings =\n function SourceMapGenerator_serializeMappings() {\n var previousGeneratedColumn = 0;\n var previousGeneratedLine = 1;\n var previousOriginalColumn = 0;\n var previousOriginalLine = 0;\n var previousName = 0;\n var previousSource = 0;\n var result = '';\n var next;\n var mapping;\n var nameIdx;\n var sourceIdx;\n\n var mappings = this._mappings.toArray();\n for (var i = 0, len = mappings.length; i < len; i++) {\n mapping = mappings[i];\n next = ''\n\n if (mapping.generatedLine !== previousGeneratedLine) {\n previousGeneratedColumn = 0;\n while (mapping.generatedLine !== previousGeneratedLine) {\n next += ';';\n previousGeneratedLine++;\n }\n }\n else {\n if (i > 0) {\n if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n continue;\n }\n next += ',';\n }\n }\n\n next += base64VLQ.encode(mapping.generatedColumn\n - previousGeneratedColumn);\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (mapping.source != null) {\n sourceIdx = this._sources.indexOf(mapping.source);\n next += base64VLQ.encode(sourceIdx - previousSource);\n previousSource = sourceIdx;\n\n // lines are stored 0-based in SourceMap spec version 3\n next += base64VLQ.encode(mapping.originalLine - 1\n - previousOriginalLine);\n previousOriginalLine = mapping.originalLine - 1;\n\n next += base64VLQ.encode(mapping.originalColumn\n - previousOriginalColumn);\n previousOriginalColumn = mapping.originalColumn;\n\n if (mapping.name != null) {\n nameIdx = this._names.indexOf(mapping.name);\n next += base64VLQ.encode(nameIdx - previousName);\n previousName = nameIdx;\n }\n }\n\n result += next;\n }\n\n return result;\n };\n\nSourceMapGenerator.prototype._generateSourcesContent =\n function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n return aSources.map(function (source) {\n if (!this._sourcesContents) {\n return null;\n }\n if (aSourceRoot != null) {\n source = util.relative(aSourceRoot, source);\n }\n var key = util.toSetString(source);\n return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n ? this._sourcesContents[key]\n : null;\n }, this);\n };\n\n/**\n * Externalize the source map.\n */\nSourceMapGenerator.prototype.toJSON =\n function SourceMapGenerator_toJSON() {\n var map = {\n version: this._version,\n sources: this._sources.toArray(),\n names: this._names.toArray(),\n mappings: this._serializeMappings()\n };\n if (this._file != null) {\n map.file = this._file;\n }\n if (this._sourceRoot != null) {\n map.sourceRoot = this._sourceRoot;\n }\n if (this._sourcesContents) {\n map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n }\n\n return map;\n };\n\n/**\n * Render the source map being generated to a string.\n */\nSourceMapGenerator.prototype.toString =\n function SourceMapGenerator_toString() {\n return JSON.stringify(this.toJSON());\n };\n\nexports.SourceMapGenerator = SourceMapGenerator;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-map-generator.js\n// module id = 1\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * Based on the Base 64 VLQ implementation in Closure Compiler:\n * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n *\n * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n * * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following\n * disclaimer in the documentation and/or other materials provided\n * with the distribution.\n * * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived\n * from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar base64 = require('./base64');\n\n// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n// length quantities we use in the source map spec, the first bit is the sign,\n// the next four bits are the actual value, and the 6th bit is the\n// continuation bit. The continuation bit tells us whether there are more\n// digits in this value following this digit.\n//\n// Continuation\n// | Sign\n// | |\n// V V\n// 101011\n\nvar VLQ_BASE_SHIFT = 5;\n\n// binary: 100000\nvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n// binary: 011111\nvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\n// binary: 100000\nvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n/**\n * Converts from a two-complement value to a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n */\nfunction toVLQSigned(aValue) {\n return aValue < 0\n ? ((-aValue) << 1) + 1\n : (aValue << 1) + 0;\n}\n\n/**\n * Converts to a two-complement value from a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n */\nfunction fromVLQSigned(aValue) {\n var isNegative = (aValue & 1) === 1;\n var shifted = aValue >> 1;\n return isNegative\n ? -shifted\n : shifted;\n}\n\n/**\n * Returns the base 64 VLQ encoded value.\n */\nexports.encode = function base64VLQ_encode(aValue) {\n var encoded = \"\";\n var digit;\n\n var vlq = toVLQSigned(aValue);\n\n do {\n digit = vlq & VLQ_BASE_MASK;\n vlq >>>= VLQ_BASE_SHIFT;\n if (vlq > 0) {\n // There are still more digits in this value, so we must make sure the\n // continuation bit is marked.\n digit |= VLQ_CONTINUATION_BIT;\n }\n encoded += base64.encode(digit);\n } while (vlq > 0);\n\n return encoded;\n};\n\n/**\n * Decodes the next base 64 VLQ value from the given string and returns the\n * value and the rest of the string via the out parameter.\n */\nexports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n var strLen = aStr.length;\n var result = 0;\n var shift = 0;\n var continuation, digit;\n\n do {\n if (aIndex >= strLen) {\n throw new Error(\"Expected more digits in base 64 VLQ value.\");\n }\n\n digit = base64.decode(aStr.charCodeAt(aIndex++));\n if (digit === -1) {\n throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n }\n\n continuation = !!(digit & VLQ_CONTINUATION_BIT);\n digit &= VLQ_BASE_MASK;\n result = result + (digit << shift);\n shift += VLQ_BASE_SHIFT;\n } while (continuation);\n\n aOutParam.value = fromVLQSigned(result);\n aOutParam.rest = aIndex;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/base64-vlq.js\n// module id = 2\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\n/**\n * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n */\nexports.encode = function (number) {\n if (0 <= number && number < intToCharMap.length) {\n return intToCharMap[number];\n }\n throw new TypeError(\"Must be between 0 and 63: \" + number);\n};\n\n/**\n * Decode a single base 64 character code digit to an integer. Returns -1 on\n * failure.\n */\nexports.decode = function (charCode) {\n var bigA = 65; // 'A'\n var bigZ = 90; // 'Z'\n\n var littleA = 97; // 'a'\n var littleZ = 122; // 'z'\n\n var zero = 48; // '0'\n var nine = 57; // '9'\n\n var plus = 43; // '+'\n var slash = 47; // '/'\n\n var littleOffset = 26;\n var numberOffset = 52;\n\n // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n if (bigA <= charCode && charCode <= bigZ) {\n return (charCode - bigA);\n }\n\n // 26 - 51: abcdefghijklmnopqrstuvwxyz\n if (littleA <= charCode && charCode <= littleZ) {\n return (charCode - littleA + littleOffset);\n }\n\n // 52 - 61: 0123456789\n if (zero <= charCode && charCode <= nine) {\n return (charCode - zero + numberOffset);\n }\n\n // 62: +\n if (charCode == plus) {\n return 62;\n }\n\n // 63: /\n if (charCode == slash) {\n return 63;\n }\n\n // Invalid base64 digit.\n return -1;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/base64.js\n// module id = 3\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n/**\n * This is a helper function for getting values from parameter/options\n * objects.\n *\n * @param args The object we are extracting values from\n * @param name The name of the property we are getting.\n * @param defaultValue An optional value to return if the property is missing\n * from the object. If this is not specified and the property is missing, an\n * error will be thrown.\n */\nfunction getArg(aArgs, aName, aDefaultValue) {\n if (aName in aArgs) {\n return aArgs[aName];\n } else if (arguments.length === 3) {\n return aDefaultValue;\n } else {\n throw new Error('\"' + aName + '\" is a required argument.');\n }\n}\nexports.getArg = getArg;\n\nvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\nvar dataUrlRegexp = /^data:.+\\,.+$/;\n\nfunction urlParse(aUrl) {\n var match = aUrl.match(urlRegexp);\n if (!match) {\n return null;\n }\n return {\n scheme: match[1],\n auth: match[2],\n host: match[3],\n port: match[4],\n path: match[5]\n };\n}\nexports.urlParse = urlParse;\n\nfunction urlGenerate(aParsedUrl) {\n var url = '';\n if (aParsedUrl.scheme) {\n url += aParsedUrl.scheme + ':';\n }\n url += '//';\n if (aParsedUrl.auth) {\n url += aParsedUrl.auth + '@';\n }\n if (aParsedUrl.host) {\n url += aParsedUrl.host;\n }\n if (aParsedUrl.port) {\n url += \":\" + aParsedUrl.port\n }\n if (aParsedUrl.path) {\n url += aParsedUrl.path;\n }\n return url;\n}\nexports.urlGenerate = urlGenerate;\n\n/**\n * Normalizes a path, or the path portion of a URL:\n *\n * - Replaces consecutive slashes with one slash.\n * - Removes unnecessary '.' parts.\n * - Removes unnecessary '/..' parts.\n *\n * Based on code in the Node.js 'path' core module.\n *\n * @param aPath The path or url to normalize.\n */\nfunction normalize(aPath) {\n var path = aPath;\n var url = urlParse(aPath);\n if (url) {\n if (!url.path) {\n return aPath;\n }\n path = url.path;\n }\n var isAbsolute = exports.isAbsolute(path);\n\n var parts = path.split(/\\/+/);\n for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n part = parts[i];\n if (part === '.') {\n parts.splice(i, 1);\n } else if (part === '..') {\n up++;\n } else if (up > 0) {\n if (part === '') {\n // The first part is blank if the path is absolute. Trying to go\n // above the root is a no-op. Therefore we can remove all '..' parts\n // directly after the root.\n parts.splice(i + 1, up);\n up = 0;\n } else {\n parts.splice(i, 2);\n up--;\n }\n }\n }\n path = parts.join('/');\n\n if (path === '') {\n path = isAbsolute ? '/' : '.';\n }\n\n if (url) {\n url.path = path;\n return urlGenerate(url);\n }\n return path;\n}\nexports.normalize = normalize;\n\n/**\n * Joins two paths/URLs.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be joined with the root.\n *\n * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n * first.\n * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n * is updated with the result and aRoot is returned. Otherwise the result\n * is returned.\n * - If aPath is absolute, the result is aPath.\n * - Otherwise the two paths are joined with a slash.\n * - Joining for example 'http://' and 'www.example.com' is also supported.\n */\nfunction join(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n if (aPath === \"\") {\n aPath = \".\";\n }\n var aPathUrl = urlParse(aPath);\n var aRootUrl = urlParse(aRoot);\n if (aRootUrl) {\n aRoot = aRootUrl.path || '/';\n }\n\n // `join(foo, '//www.example.org')`\n if (aPathUrl && !aPathUrl.scheme) {\n if (aRootUrl) {\n aPathUrl.scheme = aRootUrl.scheme;\n }\n return urlGenerate(aPathUrl);\n }\n\n if (aPathUrl || aPath.match(dataUrlRegexp)) {\n return aPath;\n }\n\n // `join('http://', 'www.example.com')`\n if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n aRootUrl.host = aPath;\n return urlGenerate(aRootUrl);\n }\n\n var joined = aPath.charAt(0) === '/'\n ? aPath\n : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\n if (aRootUrl) {\n aRootUrl.path = joined;\n return urlGenerate(aRootUrl);\n }\n return joined;\n}\nexports.join = join;\n\nexports.isAbsolute = function (aPath) {\n return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n};\n\n/**\n * Make a path relative to a URL or another path.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be made relative to aRoot.\n */\nfunction relative(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n\n aRoot = aRoot.replace(/\\/$/, '');\n\n // It is possible for the path to be above the root. In this case, simply\n // checking whether the root is a prefix of the path won't work. Instead, we\n // need to remove components from the root one by one, until either we find\n // a prefix that fits, or we run out of components to remove.\n var level = 0;\n while (aPath.indexOf(aRoot + '/') !== 0) {\n var index = aRoot.lastIndexOf(\"/\");\n if (index < 0) {\n return aPath;\n }\n\n // If the only part of the root that is left is the scheme (i.e. http://,\n // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n // have exhausted all components, so the path is not relative to the root.\n aRoot = aRoot.slice(0, index);\n if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n return aPath;\n }\n\n ++level;\n }\n\n // Make sure we add a \"../\" for each component we removed from the root.\n return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n}\nexports.relative = relative;\n\nvar supportsNullProto = (function () {\n var obj = Object.create(null);\n return !('__proto__' in obj);\n}());\n\nfunction identity (s) {\n return s;\n}\n\n/**\n * Because behavior goes wacky when you set `__proto__` on objects, we\n * have to prefix all the strings in our set with an arbitrary character.\n *\n * See https://github.com/mozilla/source-map/pull/31 and\n * https://github.com/mozilla/source-map/issues/30\n *\n * @param String aStr\n */\nfunction toSetString(aStr) {\n if (isProtoString(aStr)) {\n return '$' + aStr;\n }\n\n return aStr;\n}\nexports.toSetString = supportsNullProto ? identity : toSetString;\n\nfunction fromSetString(aStr) {\n if (isProtoString(aStr)) {\n return aStr.slice(1);\n }\n\n return aStr;\n}\nexports.fromSetString = supportsNullProto ? identity : fromSetString;\n\nfunction isProtoString(s) {\n if (!s) {\n return false;\n }\n\n var length = s.length;\n\n if (length < 9 /* \"__proto__\".length */) {\n return false;\n }\n\n if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n s.charCodeAt(length - 9) !== 95 /* '_' */) {\n return false;\n }\n\n for (var i = length - 10; i >= 0; i--) {\n if (s.charCodeAt(i) !== 36 /* '$' */) {\n return false;\n }\n }\n\n return true;\n}\n\n/**\n * Comparator between two mappings where the original positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same original source/line/column, but different generated\n * line and column the same. Useful when searching for a mapping with a\n * stubbed out mapping.\n */\nfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n var cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0 || onlyCompareOriginal) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByOriginalPositions = compareByOriginalPositions;\n\n/**\n * Comparator between two mappings with deflated source and name indices where\n * the generated positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same generated line and column, but different\n * source/name/original line and column the same. Useful when searching for a\n * mapping with a stubbed out mapping.\n */\nfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0 || onlyCompareGenerated) {\n return cmp;\n }\n\n cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\nfunction strcmp(aStr1, aStr2) {\n if (aStr1 === aStr2) {\n return 0;\n }\n\n if (aStr1 > aStr2) {\n return 1;\n }\n\n return -1;\n}\n\n/**\n * Comparator between two mappings with inflated source and name strings where\n * the generated positions are compared.\n */\nfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/util.js\n// module id = 4\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar has = Object.prototype.hasOwnProperty;\nvar hasNativeMap = typeof Map !== \"undefined\";\n\n/**\n * A data structure which is a combination of an array and a set. Adding a new\n * member is O(1), testing for membership is O(1), and finding the index of an\n * element is O(1). Removing elements from the set is not supported. Only\n * strings are supported for membership.\n */\nfunction ArraySet() {\n this._array = [];\n this._set = hasNativeMap ? new Map() : Object.create(null);\n}\n\n/**\n * Static method for creating ArraySet instances from an existing array.\n */\nArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n var set = new ArraySet();\n for (var i = 0, len = aArray.length; i < len; i++) {\n set.add(aArray[i], aAllowDuplicates);\n }\n return set;\n};\n\n/**\n * Return how many unique items are in this ArraySet. If duplicates have been\n * added, than those do not count towards the size.\n *\n * @returns Number\n */\nArraySet.prototype.size = function ArraySet_size() {\n return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n};\n\n/**\n * Add the given string to this set.\n *\n * @param String aStr\n */\nArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n var idx = this._array.length;\n if (!isDuplicate || aAllowDuplicates) {\n this._array.push(aStr);\n }\n if (!isDuplicate) {\n if (hasNativeMap) {\n this._set.set(aStr, idx);\n } else {\n this._set[sStr] = idx;\n }\n }\n};\n\n/**\n * Is the given string a member of this set?\n *\n * @param String aStr\n */\nArraySet.prototype.has = function ArraySet_has(aStr) {\n if (hasNativeMap) {\n return this._set.has(aStr);\n } else {\n var sStr = util.toSetString(aStr);\n return has.call(this._set, sStr);\n }\n};\n\n/**\n * What is the index of the given string in the array?\n *\n * @param String aStr\n */\nArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n if (hasNativeMap) {\n var idx = this._set.get(aStr);\n if (idx >= 0) {\n return idx;\n }\n } else {\n var sStr = util.toSetString(aStr);\n if (has.call(this._set, sStr)) {\n return this._set[sStr];\n }\n }\n\n throw new Error('\"' + aStr + '\" is not in the set.');\n};\n\n/**\n * What is the element at the given index?\n *\n * @param Number aIdx\n */\nArraySet.prototype.at = function ArraySet_at(aIdx) {\n if (aIdx >= 0 && aIdx < this._array.length) {\n return this._array[aIdx];\n }\n throw new Error('No element indexed by ' + aIdx);\n};\n\n/**\n * Returns the array representation of this set (which has the proper indices\n * indicated by indexOf). Note that this is a copy of the internal array used\n * for storing the members so that no one can mess with internal state.\n */\nArraySet.prototype.toArray = function ArraySet_toArray() {\n return this._array.slice();\n};\n\nexports.ArraySet = ArraySet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/array-set.js\n// module id = 5\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2014 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\n\n/**\n * Determine whether mappingB is after mappingA with respect to generated\n * position.\n */\nfunction generatedPositionAfter(mappingA, mappingB) {\n // Optimized for most common case\n var lineA = mappingA.generatedLine;\n var lineB = mappingB.generatedLine;\n var columnA = mappingA.generatedColumn;\n var columnB = mappingB.generatedColumn;\n return lineB > lineA || lineB == lineA && columnB >= columnA ||\n util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n}\n\n/**\n * A data structure to provide a sorted view of accumulated mappings in a\n * performance conscious manner. It trades a neglibable overhead in general\n * case for a large speedup in case of mappings being added in order.\n */\nfunction MappingList() {\n this._array = [];\n this._sorted = true;\n // Serves as infimum\n this._last = {generatedLine: -1, generatedColumn: 0};\n}\n\n/**\n * Iterate through internal items. This method takes the same arguments that\n * `Array.prototype.forEach` takes.\n *\n * NOTE: The order of the mappings is NOT guaranteed.\n */\nMappingList.prototype.unsortedForEach =\n function MappingList_forEach(aCallback, aThisArg) {\n this._array.forEach(aCallback, aThisArg);\n };\n\n/**\n * Add the given source mapping.\n *\n * @param Object aMapping\n */\nMappingList.prototype.add = function MappingList_add(aMapping) {\n if (generatedPositionAfter(this._last, aMapping)) {\n this._last = aMapping;\n this._array.push(aMapping);\n } else {\n this._sorted = false;\n this._array.push(aMapping);\n }\n};\n\n/**\n * Returns the flat, sorted array of mappings. The mappings are sorted by\n * generated position.\n *\n * WARNING: This method returns internal data without copying, for\n * performance. The return value must NOT be mutated, and should be treated as\n * an immutable borrow. If you want to take ownership, you must make your own\n * copy.\n */\nMappingList.prototype.toArray = function MappingList_toArray() {\n if (!this._sorted) {\n this._array.sort(util.compareByGeneratedPositionsInflated);\n this._sorted = true;\n }\n return this._array;\n};\n\nexports.MappingList = MappingList;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/mapping-list.js\n// module id = 6\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar binarySearch = require('./binary-search');\nvar ArraySet = require('./array-set').ArraySet;\nvar base64VLQ = require('./base64-vlq');\nvar quickSort = require('./quick-sort').quickSort;\n\nfunction SourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n return sourceMap.sections != null\n ? new IndexedSourceMapConsumer(sourceMap)\n : new BasicSourceMapConsumer(sourceMap);\n}\n\nSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n}\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nSourceMapConsumer.prototype._version = 3;\n\n// `__generatedMappings` and `__originalMappings` are arrays that hold the\n// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n// are lazily instantiated, accessed via the `_generatedMappings` and\n// `_originalMappings` getters respectively, and we only parse the mappings\n// and create these arrays once queried for a source location. We jump through\n// these hoops because there can be many thousands of mappings, and parsing\n// them is expensive, so we only want to do it if we must.\n//\n// Each object in the arrays is of the form:\n//\n// {\n// generatedLine: The line number in the generated code,\n// generatedColumn: The column number in the generated code,\n// source: The path to the original source file that generated this\n// chunk of code,\n// originalLine: The line number in the original source that\n// corresponds to this chunk of generated code,\n// originalColumn: The column number in the original source that\n// corresponds to this chunk of generated code,\n// name: The name of the original symbol which generated this chunk of\n// code.\n// }\n//\n// All properties except for `generatedLine` and `generatedColumn` can be\n// `null`.\n//\n// `_generatedMappings` is ordered by the generated positions.\n//\n// `_originalMappings` is ordered by the original positions.\n\nSourceMapConsumer.prototype.__generatedMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n get: function () {\n if (!this.__generatedMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__generatedMappings;\n }\n});\n\nSourceMapConsumer.prototype.__originalMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n get: function () {\n if (!this.__originalMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__originalMappings;\n }\n});\n\nSourceMapConsumer.prototype._charIsMappingSeparator =\n function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n var c = aStr.charAt(index);\n return c === \";\" || c === \",\";\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n throw new Error(\"Subclasses must implement _parseMappings\");\n };\n\nSourceMapConsumer.GENERATED_ORDER = 1;\nSourceMapConsumer.ORIGINAL_ORDER = 2;\n\nSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\nSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\n/**\n * Iterate over each mapping between an original source/line/column and a\n * generated line/column in this source map.\n *\n * @param Function aCallback\n * The function that is called with each mapping.\n * @param Object aContext\n * Optional. If specified, this object will be the value of `this` every\n * time that `aCallback` is called.\n * @param aOrder\n * Either `SourceMapConsumer.GENERATED_ORDER` or\n * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n * iterate over the mappings sorted by the generated file's line/column\n * order or the original's source/line/column order, respectively. Defaults to\n * `SourceMapConsumer.GENERATED_ORDER`.\n */\nSourceMapConsumer.prototype.eachMapping =\n function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n var context = aContext || null;\n var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n var mappings;\n switch (order) {\n case SourceMapConsumer.GENERATED_ORDER:\n mappings = this._generatedMappings;\n break;\n case SourceMapConsumer.ORIGINAL_ORDER:\n mappings = this._originalMappings;\n break;\n default:\n throw new Error(\"Unknown order of iteration.\");\n }\n\n var sourceRoot = this.sourceRoot;\n mappings.map(function (mapping) {\n var source = mapping.source === null ? null : this._sources.at(mapping.source);\n if (source != null && sourceRoot != null) {\n source = util.join(sourceRoot, source);\n }\n return {\n source: source,\n generatedLine: mapping.generatedLine,\n generatedColumn: mapping.generatedColumn,\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: mapping.name === null ? null : this._names.at(mapping.name)\n };\n }, this).forEach(aCallback, context);\n };\n\n/**\n * Returns all generated line and column information for the original source,\n * line, and column provided. If no column is provided, returns all mappings\n * corresponding to a either the line we are searching for or the next\n * closest line that has any mappings. Otherwise, returns all mappings\n * corresponding to the given line and either the column we are searching for\n * or the next closest column that has any offsets.\n *\n * The only argument is an object with the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: Optional. the column number in the original source.\n *\n * and an array of objects is returned, each with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nSourceMapConsumer.prototype.allGeneratedPositionsFor =\n function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n var line = util.getArg(aArgs, 'line');\n\n // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n // returns the index of the closest mapping less than the needle. By\n // setting needle.originalColumn to 0, we thus find the last mapping for\n // the given line, provided such a mapping exists.\n var needle = {\n source: util.getArg(aArgs, 'source'),\n originalLine: line,\n originalColumn: util.getArg(aArgs, 'column', 0)\n };\n\n if (this.sourceRoot != null) {\n needle.source = util.relative(this.sourceRoot, needle.source);\n }\n if (!this._sources.has(needle.source)) {\n return [];\n }\n needle.source = this._sources.indexOf(needle.source);\n\n var mappings = [];\n\n var index = this._findMapping(needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n binarySearch.LEAST_UPPER_BOUND);\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (aArgs.column === undefined) {\n var originalLine = mapping.originalLine;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we found. Since\n // mappings are sorted, this is guaranteed to find all mappings for\n // the line we found.\n while (mapping && mapping.originalLine === originalLine) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n } else {\n var originalColumn = mapping.originalColumn;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we were searching for.\n // Since mappings are sorted, this is guaranteed to find all mappings for\n // the line we are searching for.\n while (mapping &&\n mapping.originalLine === line &&\n mapping.originalColumn == originalColumn) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n }\n }\n\n return mappings;\n };\n\nexports.SourceMapConsumer = SourceMapConsumer;\n\n/**\n * A BasicSourceMapConsumer instance represents a parsed source map which we can\n * query for information about the original file positions by giving it a file\n * position in the generated source.\n *\n * The only parameter is the raw source map (either as a JSON string, or\n * already parsed to an object). According to the spec, source maps have the\n * following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - sources: An array of URLs to the original source files.\n * - names: An array of identifiers which can be referrenced by individual mappings.\n * - sourceRoot: Optional. The URL root from which all sources are relative.\n * - sourcesContent: Optional. An array of contents of the original source files.\n * - mappings: A string of base64 VLQs which contain the actual mappings.\n * - file: Optional. The generated file this source map is associated with.\n *\n * Here is an example source map, taken from the source map spec[0]:\n *\n * {\n * version : 3,\n * file: \"out.js\",\n * sourceRoot : \"\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AA,AB;;ABCDE;\"\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n */\nfunction BasicSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sources = util.getArg(sourceMap, 'sources');\n // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n // requires the array) to play nice here.\n var names = util.getArg(sourceMap, 'names', []);\n var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n var mappings = util.getArg(sourceMap, 'mappings');\n var file = util.getArg(sourceMap, 'file', null);\n\n // Once again, Sass deviates from the spec and supplies the version as a\n // string rather than a number, so we use loose equality checking here.\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n sources = sources\n .map(String)\n // Some source maps produce relative source paths like \"./foo.js\" instead of\n // \"foo.js\". Normalize these first so that future comparisons will succeed.\n // See bugzil.la/1090768.\n .map(util.normalize)\n // Always ensure that absolute sources are internally stored relative to\n // the source root, if the source root is absolute. Not doing this would\n // be particularly problematic when the source root is a prefix of the\n // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n .map(function (source) {\n return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n ? util.relative(sourceRoot, source)\n : source;\n });\n\n // Pass `true` below to allow duplicate names and sources. While source maps\n // are intended to be compressed and deduplicated, the TypeScript compiler\n // sometimes generates source maps with duplicates in them. See Github issue\n // #72 and bugzil.la/889492.\n this._names = ArraySet.fromArray(names.map(String), true);\n this._sources = ArraySet.fromArray(sources, true);\n\n this.sourceRoot = sourceRoot;\n this.sourcesContent = sourcesContent;\n this._mappings = mappings;\n this.file = file;\n}\n\nBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\n/**\n * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n *\n * @param SourceMapGenerator aSourceMap\n * The source map that will be consumed.\n * @returns BasicSourceMapConsumer\n */\nBasicSourceMapConsumer.fromSourceMap =\n function SourceMapConsumer_fromSourceMap(aSourceMap) {\n var smc = Object.create(BasicSourceMapConsumer.prototype);\n\n var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n smc.sourceRoot = aSourceMap._sourceRoot;\n smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n smc.sourceRoot);\n smc.file = aSourceMap._file;\n\n // Because we are modifying the entries (by converting string sources and\n // names to indices into the sources and names ArraySets), we have to make\n // a copy of the entry or else bad things happen. Shared mutable state\n // strikes again! See github issue #191.\n\n var generatedMappings = aSourceMap._mappings.toArray().slice();\n var destGeneratedMappings = smc.__generatedMappings = [];\n var destOriginalMappings = smc.__originalMappings = [];\n\n for (var i = 0, length = generatedMappings.length; i < length; i++) {\n var srcMapping = generatedMappings[i];\n var destMapping = new Mapping;\n destMapping.generatedLine = srcMapping.generatedLine;\n destMapping.generatedColumn = srcMapping.generatedColumn;\n\n if (srcMapping.source) {\n destMapping.source = sources.indexOf(srcMapping.source);\n destMapping.originalLine = srcMapping.originalLine;\n destMapping.originalColumn = srcMapping.originalColumn;\n\n if (srcMapping.name) {\n destMapping.name = names.indexOf(srcMapping.name);\n }\n\n destOriginalMappings.push(destMapping);\n }\n\n destGeneratedMappings.push(destMapping);\n }\n\n quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\n return smc;\n };\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nBasicSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n get: function () {\n return this._sources.toArray().map(function (s) {\n return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n }, this);\n }\n});\n\n/**\n * Provide the JIT with a nice shape / hidden class.\n */\nfunction Mapping() {\n this.generatedLine = 0;\n this.generatedColumn = 0;\n this.source = null;\n this.originalLine = null;\n this.originalColumn = null;\n this.name = null;\n}\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nBasicSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n var generatedLine = 1;\n var previousGeneratedColumn = 0;\n var previousOriginalLine = 0;\n var previousOriginalColumn = 0;\n var previousSource = 0;\n var previousName = 0;\n var length = aStr.length;\n var index = 0;\n var cachedSegments = {};\n var temp = {};\n var originalMappings = [];\n var generatedMappings = [];\n var mapping, str, segment, end, value;\n\n while (index < length) {\n if (aStr.charAt(index) === ';') {\n generatedLine++;\n index++;\n previousGeneratedColumn = 0;\n }\n else if (aStr.charAt(index) === ',') {\n index++;\n }\n else {\n mapping = new Mapping();\n mapping.generatedLine = generatedLine;\n\n // Because each offset is encoded relative to the previous one,\n // many segments often have the same encoding. We can exploit this\n // fact by caching the parsed variable length fields of each segment,\n // allowing us to avoid a second parse if we encounter the same\n // segment again.\n for (end = index; end < length; end++) {\n if (this._charIsMappingSeparator(aStr, end)) {\n break;\n }\n }\n str = aStr.slice(index, end);\n\n segment = cachedSegments[str];\n if (segment) {\n index += str.length;\n } else {\n segment = [];\n while (index < end) {\n base64VLQ.decode(aStr, index, temp);\n value = temp.value;\n index = temp.rest;\n segment.push(value);\n }\n\n if (segment.length === 2) {\n throw new Error('Found a source, but no line and column');\n }\n\n if (segment.length === 3) {\n throw new Error('Found a source and line, but no column');\n }\n\n cachedSegments[str] = segment;\n }\n\n // Generated column.\n mapping.generatedColumn = previousGeneratedColumn + segment[0];\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (segment.length > 1) {\n // Original source.\n mapping.source = previousSource + segment[1];\n previousSource += segment[1];\n\n // Original line.\n mapping.originalLine = previousOriginalLine + segment[2];\n previousOriginalLine = mapping.originalLine;\n // Lines are stored 0-based\n mapping.originalLine += 1;\n\n // Original column.\n mapping.originalColumn = previousOriginalColumn + segment[3];\n previousOriginalColumn = mapping.originalColumn;\n\n if (segment.length > 4) {\n // Original name.\n mapping.name = previousName + segment[4];\n previousName += segment[4];\n }\n }\n\n generatedMappings.push(mapping);\n if (typeof mapping.originalLine === 'number') {\n originalMappings.push(mapping);\n }\n }\n }\n\n quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n this.__generatedMappings = generatedMappings;\n\n quickSort(originalMappings, util.compareByOriginalPositions);\n this.__originalMappings = originalMappings;\n };\n\n/**\n * Find the mapping that best matches the hypothetical \"needle\" mapping that\n * we are searching for in the given \"haystack\" of mappings.\n */\nBasicSourceMapConsumer.prototype._findMapping =\n function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n aColumnName, aComparator, aBias) {\n // To return the position we are searching for, we must first find the\n // mapping for the given position and then return the opposite position it\n // points to. Because the mappings are sorted, we can use binary search to\n // find the best mapping.\n\n if (aNeedle[aLineName] <= 0) {\n throw new TypeError('Line must be greater than or equal to 1, got '\n + aNeedle[aLineName]);\n }\n if (aNeedle[aColumnName] < 0) {\n throw new TypeError('Column must be greater than or equal to 0, got '\n + aNeedle[aColumnName]);\n }\n\n return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n };\n\n/**\n * Compute the last column for each generated mapping. The last column is\n * inclusive.\n */\nBasicSourceMapConsumer.prototype.computeColumnSpans =\n function SourceMapConsumer_computeColumnSpans() {\n for (var index = 0; index < this._generatedMappings.length; ++index) {\n var mapping = this._generatedMappings[index];\n\n // Mappings do not contain a field for the last generated columnt. We\n // can come up with an optimistic estimate, however, by assuming that\n // mappings are contiguous (i.e. given two consecutive mappings, the\n // first mapping ends where the second one starts).\n if (index + 1 < this._generatedMappings.length) {\n var nextMapping = this._generatedMappings[index + 1];\n\n if (mapping.generatedLine === nextMapping.generatedLine) {\n mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n continue;\n }\n }\n\n // The last mapping for each line spans the entire line.\n mapping.lastGeneratedColumn = Infinity;\n }\n };\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nBasicSourceMapConsumer.prototype.originalPositionFor =\n function SourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._generatedMappings,\n \"generatedLine\",\n \"generatedColumn\",\n util.compareByGeneratedPositionsDeflated,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._generatedMappings[index];\n\n if (mapping.generatedLine === needle.generatedLine) {\n var source = util.getArg(mapping, 'source', null);\n if (source !== null) {\n source = this._sources.at(source);\n if (this.sourceRoot != null) {\n source = util.join(this.sourceRoot, source);\n }\n }\n var name = util.getArg(mapping, 'name', null);\n if (name !== null) {\n name = this._names.at(name);\n }\n return {\n source: source,\n line: util.getArg(mapping, 'originalLine', null),\n column: util.getArg(mapping, 'originalColumn', null),\n name: name\n };\n }\n }\n\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n function BasicSourceMapConsumer_hasContentsOfAllSources() {\n if (!this.sourcesContent) {\n return false;\n }\n return this.sourcesContent.length >= this._sources.size() &&\n !this.sourcesContent.some(function (sc) { return sc == null; });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nBasicSourceMapConsumer.prototype.sourceContentFor =\n function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n if (!this.sourcesContent) {\n return null;\n }\n\n if (this.sourceRoot != null) {\n aSource = util.relative(this.sourceRoot, aSource);\n }\n\n if (this._sources.has(aSource)) {\n return this.sourcesContent[this._sources.indexOf(aSource)];\n }\n\n var url;\n if (this.sourceRoot != null\n && (url = util.urlParse(this.sourceRoot))) {\n // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n // many users. We can help them out when they expect file:// URIs to\n // behave like it would if they were running a local HTTP server. See\n // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n if (url.scheme == \"file\"\n && this._sources.has(fileUriAbsPath)) {\n return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n }\n\n if ((!url.path || url.path == \"/\")\n && this._sources.has(\"/\" + aSource)) {\n return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n }\n }\n\n // This function is used recursively from\n // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n // don't want to throw if we can't find the source - we just want to\n // return null, so we provide a flag to exit gracefully.\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nBasicSourceMapConsumer.prototype.generatedPositionFor =\n function SourceMapConsumer_generatedPositionFor(aArgs) {\n var source = util.getArg(aArgs, 'source');\n if (this.sourceRoot != null) {\n source = util.relative(this.sourceRoot, source);\n }\n if (!this._sources.has(source)) {\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n }\n source = this._sources.indexOf(source);\n\n var needle = {\n source: source,\n originalLine: util.getArg(aArgs, 'line'),\n originalColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (mapping.source === needle.source) {\n return {\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n };\n }\n }\n\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n };\n\nexports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\n/**\n * An IndexedSourceMapConsumer instance represents a parsed source map which\n * we can query for information. It differs from BasicSourceMapConsumer in\n * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n * input.\n *\n * The only parameter is a raw source map (either as a JSON string, or already\n * parsed to an object). According to the spec for indexed source maps, they\n * have the following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - file: Optional. The generated file this source map is associated with.\n * - sections: A list of section definitions.\n *\n * Each value under the \"sections\" field has two fields:\n * - offset: The offset into the original specified at which this section\n * begins to apply, defined as an object with a \"line\" and \"column\"\n * field.\n * - map: A source map definition. This source map could also be indexed,\n * but doesn't have to be.\n *\n * Instead of the \"map\" field, it's also possible to have a \"url\" field\n * specifying a URL to retrieve a source map from, but that's currently\n * unsupported.\n *\n * Here's an example source map, taken from the source map spec[0], but\n * modified to omit a section which uses the \"url\" field.\n *\n * {\n * version : 3,\n * file: \"app.js\",\n * sections: [{\n * offset: {line:100, column:10},\n * map: {\n * version : 3,\n * file: \"section.js\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AAAA,E;;ABCDE;\"\n * }\n * }],\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n */\nfunction IndexedSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sections = util.getArg(sourceMap, 'sections');\n\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n this._sources = new ArraySet();\n this._names = new ArraySet();\n\n var lastOffset = {\n line: -1,\n column: 0\n };\n this._sections = sections.map(function (s) {\n if (s.url) {\n // The url field will require support for asynchronicity.\n // See https://github.com/mozilla/source-map/issues/16\n throw new Error('Support for url field in sections not implemented.');\n }\n var offset = util.getArg(s, 'offset');\n var offsetLine = util.getArg(offset, 'line');\n var offsetColumn = util.getArg(offset, 'column');\n\n if (offsetLine < lastOffset.line ||\n (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n throw new Error('Section offsets must be ordered and non-overlapping.');\n }\n lastOffset = offset;\n\n return {\n generatedOffset: {\n // The offset fields are 0-based, but we use 1-based indices when\n // encoding/decoding from VLQ.\n generatedLine: offsetLine + 1,\n generatedColumn: offsetColumn + 1\n },\n consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n }\n });\n}\n\nIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nIndexedSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n get: function () {\n var sources = [];\n for (var i = 0; i < this._sections.length; i++) {\n for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n sources.push(this._sections[i].consumer.sources[j]);\n }\n }\n return sources;\n }\n});\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nIndexedSourceMapConsumer.prototype.originalPositionFor =\n function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n // Find the section containing the generated position we're trying to map\n // to an original position.\n var sectionIndex = binarySearch.search(needle, this._sections,\n function(needle, section) {\n var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n if (cmp) {\n return cmp;\n }\n\n return (needle.generatedColumn -\n section.generatedOffset.generatedColumn);\n });\n var section = this._sections[sectionIndex];\n\n if (!section) {\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n }\n\n return section.consumer.originalPositionFor({\n line: needle.generatedLine -\n (section.generatedOffset.generatedLine - 1),\n column: needle.generatedColumn -\n (section.generatedOffset.generatedLine === needle.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n bias: aArgs.bias\n });\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n return this._sections.every(function (s) {\n return s.consumer.hasContentsOfAllSources();\n });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nIndexedSourceMapConsumer.prototype.sourceContentFor =\n function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n var content = section.consumer.sourceContentFor(aSource, true);\n if (content) {\n return content;\n }\n }\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nIndexedSourceMapConsumer.prototype.generatedPositionFor =\n function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n // Only consider this section if the requested source is in the list of\n // sources of the consumer.\n if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n continue;\n }\n var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n if (generatedPosition) {\n var ret = {\n line: generatedPosition.line +\n (section.generatedOffset.generatedLine - 1),\n column: generatedPosition.column +\n (section.generatedOffset.generatedLine === generatedPosition.line\n ? section.generatedOffset.generatedColumn - 1\n : 0)\n };\n return ret;\n }\n }\n\n return {\n line: null,\n column: null\n };\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nIndexedSourceMapConsumer.prototype._parseMappings =\n function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n this.__generatedMappings = [];\n this.__originalMappings = [];\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n var sectionMappings = section.consumer._generatedMappings;\n for (var j = 0; j < sectionMappings.length; j++) {\n var mapping = sectionMappings[j];\n\n var source = section.consumer._sources.at(mapping.source);\n if (section.consumer.sourceRoot !== null) {\n source = util.join(section.consumer.sourceRoot, source);\n }\n this._sources.add(source);\n source = this._sources.indexOf(source);\n\n var name = section.consumer._names.at(mapping.name);\n this._names.add(name);\n name = this._names.indexOf(name);\n\n // The mappings coming from the consumer for the section have\n // generated positions relative to the start of the section, so we\n // need to offset them to be relative to the start of the concatenated\n // generated file.\n var adjustedMapping = {\n source: source,\n generatedLine: mapping.generatedLine +\n (section.generatedOffset.generatedLine - 1),\n generatedColumn: mapping.generatedColumn +\n (section.generatedOffset.generatedLine === mapping.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: name\n };\n\n this.__generatedMappings.push(adjustedMapping);\n if (typeof adjustedMapping.originalLine === 'number') {\n this.__originalMappings.push(adjustedMapping);\n }\n }\n }\n\n quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n quickSort(this.__originalMappings, util.compareByOriginalPositions);\n };\n\nexports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-map-consumer.js\n// module id = 7\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nexports.GREATEST_LOWER_BOUND = 1;\nexports.LEAST_UPPER_BOUND = 2;\n\n/**\n * Recursive implementation of binary search.\n *\n * @param aLow Indices here and lower do not contain the needle.\n * @param aHigh Indices here and higher do not contain the needle.\n * @param aNeedle The element being searched for.\n * @param aHaystack The non-empty array being searched.\n * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n */\nfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n // This function terminates when one of the following is true:\n //\n // 1. We find the exact element we are looking for.\n //\n // 2. We did not find the exact element, but we can return the index of\n // the next-closest element.\n //\n // 3. We did not find the exact element, and there is no next-closest\n // element than the one we are searching for, so we return -1.\n var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n var cmp = aCompare(aNeedle, aHaystack[mid], true);\n if (cmp === 0) {\n // Found the element we are looking for.\n return mid;\n }\n else if (cmp > 0) {\n // Our needle is greater than aHaystack[mid].\n if (aHigh - mid > 1) {\n // The element is in the upper half.\n return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // The exact needle element was not found in this haystack. Determine if\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return aHigh < aHaystack.length ? aHigh : -1;\n } else {\n return mid;\n }\n }\n else {\n // Our needle is less than aHaystack[mid].\n if (mid - aLow > 1) {\n // The element is in the lower half.\n return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return mid;\n } else {\n return aLow < 0 ? -1 : aLow;\n }\n }\n}\n\n/**\n * This is an implementation of binary search which will always try and return\n * the index of the closest element if there is no exact hit. This is because\n * mappings between original and generated line/col pairs are single points,\n * and there is an implicit region between each of them, so a miss just means\n * that you aren't on the very start of a region.\n *\n * @param aNeedle The element you are looking for.\n * @param aHaystack The array that is being searched.\n * @param aCompare A function which takes the needle and an element in the\n * array and returns -1, 0, or 1 depending on whether the needle is less\n * than, equal to, or greater than the element, respectively.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n */\nexports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n if (aHaystack.length === 0) {\n return -1;\n }\n\n var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n if (index < 0) {\n return -1;\n }\n\n // We have found either the exact element, or the next-closest element than\n // the one we are searching for. However, there may be more than one such\n // element. Make sure we always return the smallest of these.\n while (index - 1 >= 0) {\n if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n break;\n }\n --index;\n }\n\n return index;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/binary-search.js\n// module id = 8\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n// It turns out that some (most?) JavaScript engines don't self-host\n// `Array.prototype.sort`. This makes sense because C++ will likely remain\n// faster than JS when doing raw CPU-intensive sorting. However, when using a\n// custom comparator function, calling back and forth between the VM's C++ and\n// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n// worse generated code for the comparator function than would be optimal. In\n// fact, when sorting with a comparator, these costs outweigh the benefits of\n// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n// a ~3500ms mean speed-up in `bench/bench.html`.\n\n/**\n * Swap the elements indexed by `x` and `y` in the array `ary`.\n *\n * @param {Array} ary\n * The array.\n * @param {Number} x\n * The index of the first item.\n * @param {Number} y\n * The index of the second item.\n */\nfunction swap(ary, x, y) {\n var temp = ary[x];\n ary[x] = ary[y];\n ary[y] = temp;\n}\n\n/**\n * Returns a random integer within the range `low .. high` inclusive.\n *\n * @param {Number} low\n * The lower bound on the range.\n * @param {Number} high\n * The upper bound on the range.\n */\nfunction randomIntInRange(low, high) {\n return Math.round(low + (Math.random() * (high - low)));\n}\n\n/**\n * The Quick Sort algorithm.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n * @param {Number} p\n * Start index of the array\n * @param {Number} r\n * End index of the array\n */\nfunction doQuickSort(ary, comparator, p, r) {\n // If our lower bound is less than our upper bound, we (1) partition the\n // array into two pieces and (2) recurse on each half. If it is not, this is\n // the empty array and our base case.\n\n if (p < r) {\n // (1) Partitioning.\n //\n // The partitioning chooses a pivot between `p` and `r` and moves all\n // elements that are less than or equal to the pivot to the before it, and\n // all the elements that are greater than it after it. The effect is that\n // once partition is done, the pivot is in the exact place it will be when\n // the array is put in sorted order, and it will not need to be moved\n // again. This runs in O(n) time.\n\n // Always choose a random pivot so that an input array which is reverse\n // sorted does not cause O(n^2) running time.\n var pivotIndex = randomIntInRange(p, r);\n var i = p - 1;\n\n swap(ary, pivotIndex, r);\n var pivot = ary[r];\n\n // Immediately after `j` is incremented in this loop, the following hold\n // true:\n //\n // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n //\n // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n for (var j = p; j < r; j++) {\n if (comparator(ary[j], pivot) <= 0) {\n i += 1;\n swap(ary, i, j);\n }\n }\n\n swap(ary, i + 1, j);\n var q = i + 1;\n\n // (2) Recurse on each half.\n\n doQuickSort(ary, comparator, p, q - 1);\n doQuickSort(ary, comparator, q + 1, r);\n }\n}\n\n/**\n * Sort the given array in-place with the given comparator function.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n */\nexports.quickSort = function (ary, comparator) {\n doQuickSort(ary, comparator, 0, ary.length - 1);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/quick-sort.js\n// module id = 9\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;\nvar util = require('./util');\n\n// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n// operating systems these days (capturing the result).\nvar REGEX_NEWLINE = /(\\r?\\n)/;\n\n// Newline character code for charCodeAt() comparisons\nvar NEWLINE_CODE = 10;\n\n// Private symbol for identifying `SourceNode`s when multiple versions of\n// the source-map library are loaded. This MUST NOT CHANGE across\n// versions!\nvar isSourceNode = \"$$$isSourceNode$$$\";\n\n/**\n * SourceNodes provide a way to abstract over interpolating/concatenating\n * snippets of generated JavaScript source code while maintaining the line and\n * column information associated with the original source code.\n *\n * @param aLine The original line number.\n * @param aColumn The original column number.\n * @param aSource The original source's filename.\n * @param aChunks Optional. An array of strings which are snippets of\n * generated JS, or other SourceNodes.\n * @param aName The original identifier.\n */\nfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n this.children = [];\n this.sourceContents = {};\n this.line = aLine == null ? null : aLine;\n this.column = aColumn == null ? null : aColumn;\n this.source = aSource == null ? null : aSource;\n this.name = aName == null ? null : aName;\n this[isSourceNode] = true;\n if (aChunks != null) this.add(aChunks);\n}\n\n/**\n * Creates a SourceNode from generated code and a SourceMapConsumer.\n *\n * @param aGeneratedCode The generated code\n * @param aSourceMapConsumer The SourceMap for the generated code\n * @param aRelativePath Optional. The path that relative sources in the\n * SourceMapConsumer should be relative to.\n */\nSourceNode.fromStringWithSourceMap =\n function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n // The SourceNode we want to fill with the generated code\n // and the SourceMap\n var node = new SourceNode();\n\n // All even indices of this array are one line of the generated code,\n // while all odd indices are the newlines between two adjacent lines\n // (since `REGEX_NEWLINE` captures its match).\n // Processed fragments are accessed by calling `shiftNextLine`.\n var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n var remainingLinesIndex = 0;\n var shiftNextLine = function() {\n var lineContents = getNextLine();\n // The last line of a file might not have a newline.\n var newLine = getNextLine() || \"\";\n return lineContents + newLine;\n\n function getNextLine() {\n return remainingLinesIndex < remainingLines.length ?\n remainingLines[remainingLinesIndex++] : undefined;\n }\n };\n\n // We need to remember the position of \"remainingLines\"\n var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\n // The generate SourceNodes we need a code range.\n // To extract it current and last mapping is used.\n // Here we store the last mapping.\n var lastMapping = null;\n\n aSourceMapConsumer.eachMapping(function (mapping) {\n if (lastMapping !== null) {\n // We add the code from \"lastMapping\" to \"mapping\":\n // First check if there is a new line in between.\n if (lastGeneratedLine < mapping.generatedLine) {\n // Associate first line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n lastGeneratedLine++;\n lastGeneratedColumn = 0;\n // The remaining code is added without mapping\n } else {\n // There is no new line in between.\n // Associate the code between \"lastGeneratedColumn\" and\n // \"mapping.generatedColumn\" with \"lastMapping\"\n var nextLine = remainingLines[remainingLinesIndex];\n var code = nextLine.substr(0, mapping.generatedColumn -\n lastGeneratedColumn);\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n lastGeneratedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n addMappingWithCode(lastMapping, code);\n // No more remaining code, continue\n lastMapping = mapping;\n return;\n }\n }\n // We add the generated code until the first mapping\n // to the SourceNode without any mapping.\n // Each line is added as separate string.\n while (lastGeneratedLine < mapping.generatedLine) {\n node.add(shiftNextLine());\n lastGeneratedLine++;\n }\n if (lastGeneratedColumn < mapping.generatedColumn) {\n var nextLine = remainingLines[remainingLinesIndex];\n node.add(nextLine.substr(0, mapping.generatedColumn));\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n }\n lastMapping = mapping;\n }, this);\n // We have processed all mappings.\n if (remainingLinesIndex < remainingLines.length) {\n if (lastMapping) {\n // Associate the remaining code in the current line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n }\n // and add the remaining lines without any mapping\n node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n }\n\n // Copy sourcesContent into SourceNode\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aRelativePath != null) {\n sourceFile = util.join(aRelativePath, sourceFile);\n }\n node.setSourceContent(sourceFile, content);\n }\n });\n\n return node;\n\n function addMappingWithCode(mapping, code) {\n if (mapping === null || mapping.source === undefined) {\n node.add(code);\n } else {\n var source = aRelativePath\n ? util.join(aRelativePath, mapping.source)\n : mapping.source;\n node.add(new SourceNode(mapping.originalLine,\n mapping.originalColumn,\n source,\n code,\n mapping.name));\n }\n }\n };\n\n/**\n * Add a chunk of generated JS to this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.add = function SourceNode_add(aChunk) {\n if (Array.isArray(aChunk)) {\n aChunk.forEach(function (chunk) {\n this.add(chunk);\n }, this);\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n if (aChunk) {\n this.children.push(aChunk);\n }\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Add a chunk of generated JS to the beginning of this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n if (Array.isArray(aChunk)) {\n for (var i = aChunk.length-1; i >= 0; i--) {\n this.prepend(aChunk[i]);\n }\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n this.children.unshift(aChunk);\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Walk over the tree of JS snippets in this node and its children. The\n * walking function is called once for each snippet of JS and is passed that\n * snippet and the its original associated source's line/column location.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n var chunk;\n for (var i = 0, len = this.children.length; i < len; i++) {\n chunk = this.children[i];\n if (chunk[isSourceNode]) {\n chunk.walk(aFn);\n }\n else {\n if (chunk !== '') {\n aFn(chunk, { source: this.source,\n line: this.line,\n column: this.column,\n name: this.name });\n }\n }\n }\n};\n\n/**\n * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n * each of `this.children`.\n *\n * @param aSep The separator.\n */\nSourceNode.prototype.join = function SourceNode_join(aSep) {\n var newChildren;\n var i;\n var len = this.children.length;\n if (len > 0) {\n newChildren = [];\n for (i = 0; i < len-1; i++) {\n newChildren.push(this.children[i]);\n newChildren.push(aSep);\n }\n newChildren.push(this.children[i]);\n this.children = newChildren;\n }\n return this;\n};\n\n/**\n * Call String.prototype.replace on the very right-most source snippet. Useful\n * for trimming whitespace from the end of a source node, etc.\n *\n * @param aPattern The pattern to replace.\n * @param aReplacement The thing to replace the pattern with.\n */\nSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n var lastChild = this.children[this.children.length - 1];\n if (lastChild[isSourceNode]) {\n lastChild.replaceRight(aPattern, aReplacement);\n }\n else if (typeof lastChild === 'string') {\n this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n }\n else {\n this.children.push(''.replace(aPattern, aReplacement));\n }\n return this;\n};\n\n/**\n * Set the source content for a source file. This will be added to the SourceMapGenerator\n * in the sourcesContent field.\n *\n * @param aSourceFile The filename of the source file\n * @param aSourceContent The content of the source file\n */\nSourceNode.prototype.setSourceContent =\n function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n };\n\n/**\n * Walk over the tree of SourceNodes. The walking function is called for each\n * source file content and is passed the filename and source content.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walkSourceContents =\n function SourceNode_walkSourceContents(aFn) {\n for (var i = 0, len = this.children.length; i < len; i++) {\n if (this.children[i][isSourceNode]) {\n this.children[i].walkSourceContents(aFn);\n }\n }\n\n var sources = Object.keys(this.sourceContents);\n for (var i = 0, len = sources.length; i < len; i++) {\n aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n }\n };\n\n/**\n * Return the string representation of this source node. Walks over the tree\n * and concatenates all the various snippets together to one string.\n */\nSourceNode.prototype.toString = function SourceNode_toString() {\n var str = \"\";\n this.walk(function (chunk) {\n str += chunk;\n });\n return str;\n};\n\n/**\n * Returns the string representation of this source node along with a source\n * map.\n */\nSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n var generated = {\n code: \"\",\n line: 1,\n column: 0\n };\n var map = new SourceMapGenerator(aArgs);\n var sourceMappingActive = false;\n var lastOriginalSource = null;\n var lastOriginalLine = null;\n var lastOriginalColumn = null;\n var lastOriginalName = null;\n this.walk(function (chunk, original) {\n generated.code += chunk;\n if (original.source !== null\n && original.line !== null\n && original.column !== null) {\n if(lastOriginalSource !== original.source\n || lastOriginalLine !== original.line\n || lastOriginalColumn !== original.column\n || lastOriginalName !== original.name) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n lastOriginalSource = original.source;\n lastOriginalLine = original.line;\n lastOriginalColumn = original.column;\n lastOriginalName = original.name;\n sourceMappingActive = true;\n } else if (sourceMappingActive) {\n map.addMapping({\n generated: {\n line: generated.line,\n column: generated.column\n }\n });\n lastOriginalSource = null;\n sourceMappingActive = false;\n }\n for (var idx = 0, length = chunk.length; idx < length; idx++) {\n if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n generated.line++;\n generated.column = 0;\n // Mappings end at eol\n if (idx + 1 === length) {\n lastOriginalSource = null;\n sourceMappingActive = false;\n } else if (sourceMappingActive) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n } else {\n generated.column++;\n }\n }\n });\n this.walkSourceContents(function (sourceFile, sourceContent) {\n map.setSourceContent(sourceFile, sourceContent);\n });\n\n return { code: generated.code, map: map };\n};\n\nexports.SourceNode = SourceNode;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-node.js\n// module id = 10\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/array-set.js b/node_modules/@babel/generator/node_modules/source-map/lib/array-set.js deleted file mode 100644 index fbd5c81c..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/array-set.js +++ /dev/null @@ -1,121 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); -var has = Object.prototype.hasOwnProperty; -var hasNativeMap = typeof Map !== "undefined"; - -/** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ -function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); -} - -/** - * Static method for creating ArraySet instances from an existing array. - */ -ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; -}; - -/** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ -ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; -}; - -/** - * Add the given string to this set. - * - * @param String aStr - */ -ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } -}; - -/** - * Is the given string a member of this set? - * - * @param String aStr - */ -ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } -}; - -/** - * What is the index of the given string in the array? - * - * @param String aStr - */ -ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); -}; - -/** - * What is the element at the given index? - * - * @param Number aIdx - */ -ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); -}; - -/** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ -ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); -}; - -exports.ArraySet = ArraySet; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js b/node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js deleted file mode 100644 index 612b4040..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js +++ /dev/null @@ -1,140 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -var base64 = require('./base64'); - -// A single base 64 digit can contain 6 bits of data. For the base 64 variable -// length quantities we use in the source map spec, the first bit is the sign, -// the next four bits are the actual value, and the 6th bit is the -// continuation bit. The continuation bit tells us whether there are more -// digits in this value following this digit. -// -// Continuation -// | Sign -// | | -// V V -// 101011 - -var VLQ_BASE_SHIFT = 5; - -// binary: 100000 -var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - -// binary: 011111 -var VLQ_BASE_MASK = VLQ_BASE - 1; - -// binary: 100000 -var VLQ_CONTINUATION_BIT = VLQ_BASE; - -/** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ -function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; -} - -/** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ -function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; -} - -/** - * Returns the base 64 VLQ encoded value. - */ -exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; -}; - -/** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ -exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/base64.js b/node_modules/@babel/generator/node_modules/source-map/lib/base64.js deleted file mode 100644 index 8aa86b30..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/base64.js +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - -/** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ -exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); -}; - -/** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ -exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js b/node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js deleted file mode 100644 index 010ac941..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js +++ /dev/null @@ -1,111 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -exports.GREATEST_LOWER_BOUND = 1; -exports.LEAST_UPPER_BOUND = 2; - -/** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ -function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } -} - -/** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ -exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js b/node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js deleted file mode 100644 index 06d1274a..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js +++ /dev/null @@ -1,79 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); - -/** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ -function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; -} - -/** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ -function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; -} - -/** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ -MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - -/** - * Add the given source mapping. - * - * @param Object aMapping - */ -MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } -}; - -/** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ -MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; -}; - -exports.MappingList = MappingList; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js b/node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js deleted file mode 100644 index 6a7caadb..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js +++ /dev/null @@ -1,114 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -// It turns out that some (most?) JavaScript engines don't self-host -// `Array.prototype.sort`. This makes sense because C++ will likely remain -// faster than JS when doing raw CPU-intensive sorting. However, when using a -// custom comparator function, calling back and forth between the VM's C++ and -// JIT'd JS is rather slow *and* loses JIT type information, resulting in -// worse generated code for the comparator function than would be optimal. In -// fact, when sorting with a comparator, these costs outweigh the benefits of -// sorting in C++. By using our own JS-implemented Quick Sort (below), we get -// a ~3500ms mean speed-up in `bench/bench.html`. - -/** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ -function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; -} - -/** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ -function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); -} - -/** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ -function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } -} - -/** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ -exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js b/node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js deleted file mode 100644 index 6abcc280..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js +++ /dev/null @@ -1,1082 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); -var binarySearch = require('./binary-search'); -var ArraySet = require('./array-set').ArraySet; -var base64VLQ = require('./base64-vlq'); -var quickSort = require('./quick-sort').quickSort; - -function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); -} - -SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); -} - -/** - * The version of the source mapping spec that we are consuming. - */ -SourceMapConsumer.prototype._version = 3; - -// `__generatedMappings` and `__originalMappings` are arrays that hold the -// parsed mapping coordinates from the source map's "mappings" attribute. They -// are lazily instantiated, accessed via the `_generatedMappings` and -// `_originalMappings` getters respectively, and we only parse the mappings -// and create these arrays once queried for a source location. We jump through -// these hoops because there can be many thousands of mappings, and parsing -// them is expensive, so we only want to do it if we must. -// -// Each object in the arrays is of the form: -// -// { -// generatedLine: The line number in the generated code, -// generatedColumn: The column number in the generated code, -// source: The path to the original source file that generated this -// chunk of code, -// originalLine: The line number in the original source that -// corresponds to this chunk of generated code, -// originalColumn: The column number in the original source that -// corresponds to this chunk of generated code, -// name: The name of the original symbol which generated this chunk of -// code. -// } -// -// All properties except for `generatedLine` and `generatedColumn` can be -// `null`. -// -// `_generatedMappings` is ordered by the generated positions. -// -// `_originalMappings` is ordered by the original positions. - -SourceMapConsumer.prototype.__generatedMappings = null; -Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } -}); - -SourceMapConsumer.prototype.__originalMappings = null; -Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } -}); - -SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - -SourceMapConsumer.GENERATED_ORDER = 1; -SourceMapConsumer.ORIGINAL_ORDER = 2; - -SourceMapConsumer.GREATEST_LOWER_BOUND = 1; -SourceMapConsumer.LEAST_UPPER_BOUND = 2; - -/** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ -SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - -/** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - -exports.SourceMapConsumer = SourceMapConsumer; - -/** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ -function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; -} - -BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); -BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - -/** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ -BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - -/** - * The version of the source mapping spec that we are consuming. - */ -BasicSourceMapConsumer.prototype._version = 3; - -/** - * The list of original sources. - */ -Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } -}); - -/** - * Provide the JIT with a nice shape / hidden class. - */ -function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; -} - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - -/** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ -BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - -/** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ -BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - -/** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ -BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - -/** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ -BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - -/** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ -BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - -/** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - -exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - -/** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ -function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); -} - -IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); -IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - -/** - * The version of the source mapping spec that we are consuming. - */ -IndexedSourceMapConsumer.prototype._version = 3; - -/** - * The list of original sources. - */ -Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } -}); - -/** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ -IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - -/** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ -IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - -/** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ -IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - -/** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - -exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js b/node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js deleted file mode 100644 index aff1e7fb..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js +++ /dev/null @@ -1,416 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var base64VLQ = require('./base64-vlq'); -var util = require('./util'); -var ArraySet = require('./array-set').ArraySet; -var MappingList = require('./mapping-list').MappingList; - -/** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ -function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; -} - -SourceMapGenerator.prototype._version = 3; - -/** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ -SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - -/** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ -SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - -/** - * Set the source content for a source file. - */ -SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - -/** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ -SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - -/** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ -SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - -/** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ -SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - -SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - -/** - * Externalize the source map. - */ -SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - -/** - * Render the source map being generated to a string. - */ -SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - -exports.SourceMapGenerator = SourceMapGenerator; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/source-node.js b/node_modules/@babel/generator/node_modules/source-map/lib/source-node.js deleted file mode 100644 index d196a53f..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/source-node.js +++ /dev/null @@ -1,413 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator; -var util = require('./util'); - -// Matches a Windows-style `\r\n` newline or a `\n` newline used by all other -// operating systems these days (capturing the result). -var REGEX_NEWLINE = /(\r?\n)/; - -// Newline character code for charCodeAt() comparisons -var NEWLINE_CODE = 10; - -// Private symbol for identifying `SourceNode`s when multiple versions of -// the source-map library are loaded. This MUST NOT CHANGE across -// versions! -var isSourceNode = "$$$isSourceNode$$$"; - -/** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ -function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); -} - -/** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ -SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - -/** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ -SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; -}; - -/** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ -SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; -}; - -/** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ -SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } -}; - -/** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ -SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; -}; - -/** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ -SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; -}; - -/** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ -SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - -/** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ -SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - -/** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ -SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; -}; - -/** - * Returns the string representation of this source node along with a source - * map. - */ -SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; -}; - -exports.SourceNode = SourceNode; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/util.js b/node_modules/@babel/generator/node_modules/source-map/lib/util.js deleted file mode 100644 index 44e0e452..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/util.js +++ /dev/null @@ -1,417 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -/** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ -function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } -} -exports.getArg = getArg; - -var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; -var dataUrlRegexp = /^data:.+\,.+$/; - -function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; -} -exports.urlParse = urlParse; - -function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; -} -exports.urlGenerate = urlGenerate; - -/** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ -function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; -} -exports.normalize = normalize; - -/** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ -function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; -} -exports.join = join; - -exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); -}; - -/** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ -function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); -} -exports.relative = relative; - -var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); -}()); - -function identity (s) { - return s; -} - -/** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ -function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; -} -exports.toSetString = supportsNullProto ? identity : toSetString; - -function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; -} -exports.fromSetString = supportsNullProto ? identity : fromSetString; - -function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; -} - -/** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ -function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; -} -exports.compareByOriginalPositions = compareByOriginalPositions; - -/** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ -function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; -} -exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - -function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; -} - -/** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ -function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); -} -exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; diff --git a/node_modules/@babel/generator/node_modules/source-map/package.json b/node_modules/@babel/generator/node_modules/source-map/package.json deleted file mode 100644 index 048e3ae8..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "source-map", - "description": "Generates and consumes source maps", - "version": "0.5.7", - "homepage": "https://github.com/mozilla/source-map", - "author": "Nick Fitzgerald ", - "contributors": [ - "Tobias Koppers ", - "Duncan Beevers ", - "Stephen Crane ", - "Ryan Seddon ", - "Miles Elam ", - "Mihai Bazon ", - "Michael Ficarra ", - "Todd Wolfson ", - "Alexander Solovyov ", - "Felix Gnass ", - "Conrad Irwin ", - "usrbincc ", - "David Glasser ", - "Chase Douglas ", - "Evan Wallace ", - "Heather Arthur ", - "Hugh Kennedy ", - "David Glasser ", - "Simon Lydell ", - "Jmeas Smith ", - "Michael Z Goddard ", - "azu ", - "John Gozde ", - "Adam Kirkton ", - "Chris Montgomery ", - "J. Ryan Stinnett ", - "Jack Herrington ", - "Chris Truter ", - "Daniel Espeset ", - "Jamie Wong ", - "Eddy Bruël ", - "Hawken Rives ", - "Gilad Peleg ", - "djchie ", - "Gary Ye ", - "Nicolas Lalevée " - ], - "repository": { - "type": "git", - "url": "http://github.com/mozilla/source-map.git" - }, - "main": "./source-map.js", - "files": [ - "source-map.js", - "lib/", - "dist/source-map.debug.js", - "dist/source-map.js", - "dist/source-map.min.js", - "dist/source-map.min.js.map" - ], - "engines": { - "node": ">=0.10.0" - }, - "license": "BSD-3-Clause", - "scripts": { - "test": "npm run build && node test/run-tests.js", - "build": "webpack --color", - "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" - }, - "devDependencies": { - "doctoc": "^0.15.0", - "webpack": "^1.12.0" - }, - "typings": "source-map" -} diff --git a/node_modules/@babel/generator/node_modules/source-map/source-map.js b/node_modules/@babel/generator/node_modules/source-map/source-map.js deleted file mode 100644 index bc88fe82..00000000 --- a/node_modules/@babel/generator/node_modules/source-map/source-map.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ -exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; -exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; -exports.SourceNode = require('./lib/source-node').SourceNode; diff --git a/node_modules/@babel/generator/package.json b/node_modules/@babel/generator/package.json index 307cdb5e..bcced683 100644 --- a/node_modules/@babel/generator/package.json +++ b/node_modules/@babel/generator/package.json @@ -1,6 +1,6 @@ { "name": "@babel/generator", - "version": "7.16.8", + "version": "7.18.7", "description": "Turns an AST into code.", "author": "The Babel Team (https://babel.dev/team)", "license": "MIT", @@ -19,18 +19,19 @@ "lib" ], "dependencies": { - "@babel/types": "^7.16.8", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" + "@babel/types": "^7.18.7", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" }, "devDependencies": { - "@babel/helper-fixtures": "^7.16.8", - "@babel/parser": "^7.16.8", + "@babel/helper-fixtures": "^7.18.6", + "@babel/parser": "^7.18.6", + "@jridgewell/trace-mapping": "^0.3.8", "@types/jsesc": "^2.5.0", - "@types/source-map": "^0.5.0", "charcodes": "^0.2.0" }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/index.js b/node_modules/@babel/helper-compilation-targets/lib/index.js index c1865996..1a39ee49 100644 --- a/node_modules/@babel/helper-compilation-targets/lib/index.js +++ b/node_modules/@babel/helper-compilation-targets/lib/index.js @@ -88,31 +88,31 @@ function validateBrowsers(browsers) { function getLowestVersions(browsers) { return browsers.reduce((all, browser) => { const [browserName, browserVersion] = browser.split(" "); - const normalizedBrowserName = _targets.browserNameMap[browserName]; + const target = _targets.browserNameMap[browserName]; - if (!normalizedBrowserName) { + if (!target) { return all; } try { const splitVersion = browserVersion.split("-")[0].toLowerCase(); - const isSplitUnreleased = (0, _utils.isUnreleasedVersion)(splitVersion, browserName); + const isSplitUnreleased = (0, _utils.isUnreleasedVersion)(splitVersion, target); - if (!all[normalizedBrowserName]) { - all[normalizedBrowserName] = isSplitUnreleased ? splitVersion : (0, _utils.semverify)(splitVersion); + if (!all[target]) { + all[target] = isSplitUnreleased ? splitVersion : (0, _utils.semverify)(splitVersion); return all; } - const version = all[normalizedBrowserName]; - const isUnreleased = (0, _utils.isUnreleasedVersion)(version, browserName); + const version = all[target]; + const isUnreleased = (0, _utils.isUnreleasedVersion)(version, target); if (isUnreleased && isSplitUnreleased) { - all[normalizedBrowserName] = (0, _utils.getLowestUnreleased)(version, splitVersion, browserName); + all[target] = (0, _utils.getLowestUnreleased)(version, splitVersion, target); } else if (isUnreleased) { - all[normalizedBrowserName] = (0, _utils.semverify)(splitVersion); + all[target] = (0, _utils.semverify)(splitVersion); } else if (!isUnreleased && !isSplitUnreleased) { const parsedBrowserVersion = (0, _utils.semverify)(splitVersion); - all[normalizedBrowserName] = (0, _utils.semverMin)(version, parsedBrowserVersion); + all[target] = (0, _utils.semverMin)(version, parsedBrowserVersion); } } catch (e) {} @@ -144,18 +144,15 @@ function semverifyTarget(target, value) { } } -const targetParserMap = { - __default(target, value) { - const version = (0, _utils.isUnreleasedVersion)(value, target) ? value.toLowerCase() : semverifyTarget(target, value); - return [target, version]; - }, - - node(target, value) { - const parsed = value === true || value === "current" ? process.versions.node : semverifyTarget(target, value); - return [target, parsed]; - } +function nodeTargetParser(value) { + const parsed = value === true || value === "current" ? process.versions.node : semverifyTarget("node", value); + return ["node", parsed]; +} -}; +function defaultTargetParser(target, value) { + const version = (0, _utils.isUnreleasedVersion)(value, target) ? value.toLowerCase() : semverifyTarget(target, value); + return [target, version]; +} function generateTargets(inputTargets) { const input = Object.assign({}, inputTargets); @@ -174,7 +171,7 @@ function resolveTargets(queries, env) { } function getTargets(inputTargets = {}, options = {}) { - var _browsers; + var _browsers, _browsers2; let { browsers, @@ -209,15 +206,16 @@ function getTargets(inputTargets = {}, options = {}) { esmodules = false; } - if (browsers) { + if ((_browsers2 = browsers) != null && _browsers2.length) { const queryBrowsers = resolveTargets(browsers, options.browserslistEnv); if (esmodules === "intersect") { for (const browser of Object.keys(queryBrowsers)) { const version = queryBrowsers[browser]; + const esmSupportVersion = ESM_SUPPORT[browser]; - if (ESM_SUPPORT[browser]) { - queryBrowsers[browser] = (0, _utils.getHighestUnreleased)(version, (0, _utils.semverify)(ESM_SUPPORT[browser]), browser); + if (esmSupportVersion) { + queryBrowsers[browser] = (0, _utils.getHighestUnreleased)(version, (0, _utils.semverify)(esmSupportVersion), browser); } else { delete queryBrowsers[browser]; } @@ -231,8 +229,6 @@ function getTargets(inputTargets = {}, options = {}) { const decimalWarnings = []; for (const target of Object.keys(targets).sort()) { - var _targetParserMap$targ; - const value = targets[target]; if (typeof value === "number" && value % 1 !== 0) { @@ -242,8 +238,7 @@ function getTargets(inputTargets = {}, options = {}) { }); } - const parser = (_targetParserMap$targ = targetParserMap[target]) != null ? _targetParserMap$targ : targetParserMap.__default; - const [parsedTarget, parsedValue] = parser(target, value); + const [parsedTarget, parsedValue] = target === "node" ? nodeTargetParser(value) : defaultTargetParser(target, value); if (parsedValue) { result[parsedTarget] = parsedValue; diff --git a/node_modules/@babel/helper-compilation-targets/lib/utils.js b/node_modules/@babel/helper-compilation-targets/lib/utils.js index 711a84f4..e14e7f98 100644 --- a/node_modules/@babel/helper-compilation-targets/lib/utils.js +++ b/node_modules/@babel/helper-compilation-targets/lib/utils.js @@ -45,10 +45,13 @@ function isUnreleasedVersion(version, env) { function getLowestUnreleased(a, b, env) { const unreleasedLabel = _targets.unreleasedLabels[env]; - const hasUnreleased = [a, b].some(item => item === unreleasedLabel); - if (hasUnreleased) { - return a === hasUnreleased ? b : a || b; + if (a === unreleasedLabel) { + return b; + } + + if (b === unreleasedLabel) { + return a; } return semverMin(a, b); diff --git a/node_modules/@babel/helper-compilation-targets/package.json b/node_modules/@babel/helper-compilation-targets/package.json index d35c3687..c5d6fb02 100644 --- a/node_modules/@babel/helper-compilation-targets/package.json +++ b/node_modules/@babel/helper-compilation-targets/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-compilation-targets", - "version": "7.16.7", + "version": "7.18.6", "author": "The Babel Team (https://babel.dev/team)", "license": "MIT", "description": "Helper functions on Babel compilation targets", @@ -22,20 +22,21 @@ "babel-plugin" ], "dependencies": { - "@babel/compat-data": "^7.16.4", - "@babel/helper-validator-option": "^7.16.7", - "browserslist": "^4.17.5", + "@babel/compat-data": "^7.18.6", + "@babel/helper-validator-option": "^7.18.6", + "browserslist": "^4.20.2", "semver": "^6.3.0" }, "peerDependencies": { "@babel/core": "^7.0.0" }, "devDependencies": { - "@babel/core": "^7.16.7", - "@babel/helper-plugin-test-runner": "^7.16.7", + "@babel/core": "^7.18.6", + "@babel/helper-plugin-test-runner": "^7.18.6", "@types/semver": "^5.5.0" }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-environment-visitor/lib/index.js b/node_modules/@babel/helper-environment-visitor/lib/index.js index e85bf132..bf1a3038 100644 --- a/node_modules/@babel/helper-environment-visitor/lib/index.js +++ b/node_modules/@babel/helper-environment-visitor/lib/index.js @@ -4,35 +4,56 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; +exports.requeueComputedKeyAndDecorators = requeueComputedKeyAndDecorators; exports.skipAllButComputedKey = skipAllButComputedKey; -var _t = require("@babel/types"); - -const { - VISITOR_KEYS, - staticBlock -} = _t; - function skipAllButComputedKey(path) { - if (!path.node.computed) { - path.skip(); - return; + path.skip(); + + if (path.node.computed) { + path.context.maybeQueue(path.get("key")); } +} - const keys = VISITOR_KEYS[path.type]; +function requeueComputedKeyAndDecorators(path) { + const { + context, + node + } = path; - for (const key of keys) { - if (key !== "key") path.skipKey(key); + if (node.computed) { + context.maybeQueue(path.get("key")); + } + + if (node.decorators) { + for (const decorator of path.get("decorators")) { + context.maybeQueue(decorator); + } } } -const skipKey = (staticBlock ? "StaticBlock|" : "") + "ClassPrivateProperty|TypeAnnotation|FunctionDeclaration|FunctionExpression"; -var _default = { - [skipKey]: path => path.skip(), +const visitor = { + FunctionParent(path) { + if (path.isArrowFunctionExpression()) { + return; + } else { + path.skip(); + + if (path.isMethod()) { + requeueComputedKeyAndDecorators(path); + } + } + }, - "Method|ClassProperty"(path) { - skipAllButComputedKey(path); + Property(path) { + if (path.isObjectProperty()) { + return; + } + + path.skip(); + requeueComputedKeyAndDecorators(path); } }; +var _default = visitor; exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/helper-environment-visitor/package.json b/node_modules/@babel/helper-environment-visitor/package.json index ffc31a3c..0caf5643 100644 --- a/node_modules/@babel/helper-environment-visitor/package.json +++ b/node_modules/@babel/helper-environment-visitor/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-environment-visitor", - "version": "7.16.7", + "version": "7.18.6", "description": "Helper visitor to only visit nodes in the current 'this' context", "repository": { "type": "git", @@ -17,14 +17,13 @@ ".": "./lib/index.js", "./package.json": "./package.json" }, - "dependencies": { - "@babel/types": "^7.16.7" - }, "devDependencies": { - "@babel/traverse": "^7.16.7" + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" }, "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" + "author": "The Babel Team (https://babel.dev/team)", + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-function-name/lib/index.js b/node_modules/@babel/helper-function-name/lib/index.js index 2fa33dcc..2ad73168 100644 --- a/node_modules/@babel/helper-function-name/lib/index.js +++ b/node_modules/@babel/helper-function-name/lib/index.js @@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = _default; -var _helperGetFunctionArity = require("@babel/helper-get-function-arity"); - var _template = require("@babel/template"); var _t = require("@babel/types"); @@ -16,6 +14,7 @@ const { cloneNode, identifier, isAssignmentExpression, + isAssignmentPattern, isFunction, isIdentifier, isLiteral, @@ -23,11 +22,18 @@ const { isObjectMethod, isObjectProperty, isRegExpLiteral, + isRestElement, isTemplateLiteral, isVariableDeclarator, toBindingIdentifierName } = _t; -const buildPropertyMethodAssignmentWrapper = (0, _template.default)(` + +function getFunctionArity(node) { + const count = node.params.findIndex(param => isAssignmentPattern(param) || isRestElement(param)); + return count === -1 ? node.params.length : count; +} + +const buildPropertyMethodAssignmentWrapper = _template.default.statement(` (function (FUNCTION_KEY) { function FUNCTION_ID() { return FUNCTION_KEY.apply(this, arguments); @@ -40,7 +46,8 @@ const buildPropertyMethodAssignmentWrapper = (0, _template.default)(` return FUNCTION_ID; })(FUNCTION) `); -const buildGeneratorPropertyMethodAssignmentWrapper = (0, _template.default)(` + +const buildGeneratorPropertyMethodAssignmentWrapper = _template.default.statement(` (function (FUNCTION_KEY) { function* FUNCTION_ID() { return yield* FUNCTION_KEY.apply(this, arguments); @@ -53,6 +60,7 @@ const buildGeneratorPropertyMethodAssignmentWrapper = (0, _template.default)(` return FUNCTION_ID; })(FUNCTION) `); + const visitor = { "ReferencedIdentifier|BindingIdentifier"(path, state) { if (path.node.name !== state.name) return; @@ -103,7 +111,7 @@ function wrap(state, method, id, scope) { }).expression; const params = template.callee.body.body[0].params; - for (let i = 0, len = (0, _helperGetFunctionArity.default)(method); i < len; i++) { + for (let i = 0, len = getFunctionArity(method); i < len; i++) { params.push(scope.generateUidIdentifier("x")); } @@ -120,7 +128,6 @@ function visit(node, name, scope) { selfAssignment: false, selfReference: false, outerDeclar: scope.getBindingIdentifier(name), - references: [], name: name }; const binding = scope.getOwnBinding(name); @@ -185,8 +192,8 @@ function _default({ } name = toBindingIdentifierName(name); - id = identifier(name); - id[NOT_LOCAL_BINDING] = true; + const newId = identifier(name); + newId[NOT_LOCAL_BINDING] = true; const state = visit(node, name, scope); - return wrap(state, node, id, scope) || node; + return wrap(state, node, newId, scope) || node; } \ No newline at end of file diff --git a/node_modules/@babel/helper-function-name/package.json b/node_modules/@babel/helper-function-name/package.json index 1a46e7ce..44329935 100644 --- a/node_modules/@babel/helper-function-name/package.json +++ b/node_modules/@babel/helper-function-name/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-function-name", - "version": "7.16.7", + "version": "7.18.6", "description": "Helper function to change the property 'name' of every function", "repository": { "type": "git", @@ -14,12 +14,12 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/helper-get-function-arity": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/template": "^7.18.6", + "@babel/types": "^7.18.6" }, "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" + "author": "The Babel Team (https://babel.dev/team)", + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-get-function-arity/LICENSE b/node_modules/@babel/helper-get-function-arity/LICENSE deleted file mode 100644 index f31575ec..00000000 --- a/node_modules/@babel/helper-get-function-arity/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-get-function-arity/README.md b/node_modules/@babel/helper-get-function-arity/README.md deleted file mode 100644 index ca7f8b12..00000000 --- a/node_modules/@babel/helper-get-function-arity/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-get-function-arity - -> Helper function to get function arity - -See our website [@babel/helper-get-function-arity](https://babeljs.io/docs/en/babel-helper-get-function-arity) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-get-function-arity -``` - -or using yarn: - -```sh -yarn add @babel/helper-get-function-arity -``` diff --git a/node_modules/@babel/helper-get-function-arity/lib/index.js b/node_modules/@babel/helper-get-function-arity/lib/index.js deleted file mode 100644 index 61e22edd..00000000 --- a/node_modules/@babel/helper-get-function-arity/lib/index.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; - -var _t = require("@babel/types"); - -const { - isAssignmentPattern, - isRestElement -} = _t; - -function _default(node) { - const params = node.params; - - for (let i = 0; i < params.length; i++) { - const param = params[i]; - - if (isAssignmentPattern(param) || isRestElement(param)) { - return i; - } - } - - return params.length; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-get-function-arity/package.json b/node_modules/@babel/helper-get-function-arity/package.json deleted file mode 100644 index 4ea75623..00000000 --- a/node_modules/@babel/helper-get-function-arity/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@babel/helper-get-function-arity", - "version": "7.16.7", - "description": "Helper function to get function arity", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-get-function-arity" - }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-get-function-arity", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-hoist-variables/package.json b/node_modules/@babel/helper-hoist-variables/package.json index ec99d90e..0d925300 100644 --- a/node_modules/@babel/helper-hoist-variables/package.json +++ b/node_modules/@babel/helper-hoist-variables/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-hoist-variables", - "version": "7.16.7", + "version": "7.18.6", "description": "Helper function to hoist variables", "repository": { "type": "git", @@ -14,14 +14,15 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" }, "TODO": "The @babel/traverse dependency is only needed for the NodePath TS type. We can consider exporting it from @babel/core.", "devDependencies": { - "@babel/traverse": "^7.16.7" + "@babel/traverse": "^7.18.6" }, "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" + "author": "The Babel Team (https://babel.dev/team)", + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/lib/import-builder.js b/node_modules/@babel/helper-module-imports/lib/import-builder.js index 8a1800e6..907f6fd2 100644 --- a/node_modules/@babel/helper-module-imports/lib/import-builder.js +++ b/node_modules/@babel/helper-module-imports/lib/import-builder.js @@ -28,8 +28,6 @@ class ImportBuilder { constructor(importedSource, scope, hub) { this._statements = []; this._resultName = null; - this._scope = null; - this._hub = null; this._importedSource = void 0; this._scope = scope; this._hub = hub; @@ -70,34 +68,38 @@ class ImportBuilder { } default(name) { - name = this._scope.generateUidIdentifier(name); + const id = this._scope.generateUidIdentifier(name); + const statement = this._statements[this._statements.length - 1]; _assert(statement.type === "ImportDeclaration"); _assert(statement.specifiers.length === 0); - statement.specifiers = [importDefaultSpecifier(name)]; - this._resultName = cloneNode(name); + statement.specifiers = [importDefaultSpecifier(id)]; + this._resultName = cloneNode(id); return this; } named(name, importName) { if (importName === "default") return this.default(name); - name = this._scope.generateUidIdentifier(name); + + const id = this._scope.generateUidIdentifier(name); + const statement = this._statements[this._statements.length - 1]; _assert(statement.type === "ImportDeclaration"); _assert(statement.specifiers.length === 0); - statement.specifiers = [importSpecifier(name, identifier(importName))]; - this._resultName = cloneNode(name); + statement.specifiers = [importSpecifier(id, identifier(importName))]; + this._resultName = cloneNode(id); return this; } var(name) { - name = this._scope.generateUidIdentifier(name); + const id = this._scope.generateUidIdentifier(name); + let statement = this._statements[this._statements.length - 1]; if (statement.type !== "ExpressionStatement") { @@ -108,8 +110,8 @@ class ImportBuilder { this._statements.push(statement); } - this._statements[this._statements.length - 1] = variableDeclaration("var", [variableDeclarator(name, statement.expression)]); - this._resultName = cloneNode(name); + this._statements[this._statements.length - 1] = variableDeclaration("var", [variableDeclarator(id, statement.expression)]); + this._resultName = cloneNode(id); return this; } diff --git a/node_modules/@babel/helper-module-imports/lib/import-injector.js b/node_modules/@babel/helper-module-imports/lib/import-injector.js index adb9627e..cb3bf598 100644 --- a/node_modules/@babel/helper-module-imports/lib/import-injector.js +++ b/node_modules/@babel/helper-module-imports/lib/import-injector.js @@ -51,35 +51,25 @@ class ImportInjector { } addSideEffect(importedSourceIn, opts) { - return this._generateImport(this._applyDefaults(importedSourceIn, opts), false); + return this._generateImport(this._applyDefaults(importedSourceIn, opts), void 0); } _applyDefaults(importedSource, opts, isInit = false) { - const optsList = []; + let newOpts; if (typeof importedSource === "string") { - optsList.push({ + newOpts = Object.assign({}, this._defaultOpts, { importedSource - }); - optsList.push(opts); + }, opts); } else { _assert(!opts, "Unexpected secondary arguments."); - optsList.push(importedSource); + newOpts = Object.assign({}, this._defaultOpts, importedSource); } - const newOpts = Object.assign({}, this._defaultOpts); - - for (const opts of optsList) { - if (!opts) continue; - Object.keys(newOpts).forEach(key => { - if (opts[key] !== undefined) newOpts[key] = opts[key]; - }); - - if (!isInit) { - if (opts.nameHint !== undefined) newOpts.nameHint = opts.nameHint; - if (opts.blockHoist !== undefined) newOpts.blockHoist = opts.blockHoist; - } + if (!isInit && opts) { + if (opts.nameHint !== undefined) newOpts.nameHint = opts.nameHint; + if (opts.blockHoist !== undefined) newOpts.blockHoist = opts.blockHoist; } return newOpts; diff --git a/node_modules/@babel/helper-module-imports/package.json b/node_modules/@babel/helper-module-imports/package.json index 7814505e..9301d3e1 100644 --- a/node_modules/@babel/helper-module-imports/package.json +++ b/node_modules/@babel/helper-module-imports/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-module-imports", - "version": "7.16.7", + "version": "7.18.6", "description": "Babel helper functions for inserting module loads", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-helper-module-imports", @@ -15,13 +15,14 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" }, "devDependencies": { - "@babel/core": "^7.16.7", - "@babel/traverse": "^7.16.7" + "@babel/core": "^7.18.6", + "@babel/traverse": "^7.18.6" }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/index.js b/node_modules/@babel/helper-module-transforms/lib/index.js index 34186880..9a4b68d6 100644 --- a/node_modules/@babel/helper-module-transforms/lib/index.js +++ b/node_modules/@babel/helper-module-transforms/lib/index.js @@ -80,6 +80,7 @@ function rewriteModuleStatementsAndPrepareHeader(path, { importInterop = noInterop ? "none" : "babel", lazy, esNamespaceOnly, + filename, constantReexports = loose, enumerableModuleMeta = loose, noIncompleteNsImportDetection @@ -93,7 +94,8 @@ function rewriteModuleStatementsAndPrepareHeader(path, { importInterop, initializeReexports: constantReexports, lazy, - esNamespaceOnly + esNamespaceOnly, + filename }); if (!allowTopLevelThis) { @@ -355,7 +357,11 @@ function buildExportInitializationStatements(programPath, metadata, constantReex } } - initStatements.sort((a, b) => a[0] > b[0] ? 1 : -1); + initStatements.sort(([a], [b]) => { + if (a < b) return -1; + if (b < a) return 1; + return 0; + }); const results = []; if (noIncompleteNsImportDetection) { @@ -365,7 +371,9 @@ function buildExportInitializationStatements(programPath, metadata, constantReex } else { const chunkSize = 100; - for (let i = 0, uninitializedExportNames = []; i < initStatements.length; i += chunkSize) { + for (let i = 0; i < initStatements.length; i += chunkSize) { + let uninitializedExportNames = []; + for (let j = 0; j < chunkSize && i + j < initStatements.length; j++) { const [exportName, initStatement] = initStatements[i + j]; diff --git a/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js b/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js index f98ee95e..5187a30a 100644 --- a/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +++ b/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js @@ -30,9 +30,9 @@ function validateImportInteropOption(importInterop) { return importInterop; } -function resolveImportInterop(importInterop, source) { +function resolveImportInterop(importInterop, source, filename) { if (typeof importInterop === "function") { - return validateImportInteropOption(importInterop(source)); + return validateImportInteropOption(importInterop(source, filename)); } return importInterop; @@ -42,7 +42,8 @@ function normalizeModuleAndLoadMetadata(programPath, exportName, { importInterop, initializeReexports = false, lazy = false, - esNamespaceOnly = false + esNamespaceOnly = false, + filename }) { if (!exportName) { exportName = programPath.scope.generateUidIdentifier("exports").name; @@ -65,7 +66,7 @@ function normalizeModuleAndLoadMetadata(programPath, exportName, { metadata.name = metadata.importsNamespace.values().next().value; } - const resolvedInterop = resolveImportInterop(importInterop, metadata.source); + const resolvedInterop = resolveImportInterop(importInterop, metadata.source, filename); if (resolvedInterop === "none") { metadata.interop = "none"; @@ -269,7 +270,9 @@ function getLocalExportMetadata(programPath, initializeReexports, stringSpecifie if (child.isImportDeclaration()) { kind = "import"; } else { - if (child.isExportDefaultDeclaration()) child = child.get("declaration"); + if (child.isExportDefaultDeclaration()) { + child = child.get("declaration"); + } if (child.isExportNamedDeclaration()) { if (child.node.declaration) { diff --git a/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js b/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js index 8173fd57..cf7cb5ce 100644 --- a/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +++ b/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js @@ -90,7 +90,7 @@ function rewriteLiveReferences(programPath, metadata) { exported }; programPath.traverse(rewriteBindingInitVisitor, rewriteBindingInitVisitorState); - (0, _helperSimpleAccess.default)(programPath, new Set([...Array.from(imported.keys()), ...Array.from(exported.keys())])); + (0, _helperSimpleAccess.default)(programPath, new Set([...Array.from(imported.keys()), ...Array.from(exported.keys())]), false); const rewriteReferencesVisitorState = { seen: new WeakSet(), metadata, @@ -102,7 +102,10 @@ function rewriteLiveReferences(programPath, metadata) { const meta = metadata.source.get(source); if (localName) { - if (meta.lazy) identNode = callExpression(identNode, []); + if (meta.lazy) { + identNode = callExpression(identNode, []); + } + return identNode; } @@ -230,6 +233,47 @@ const rewriteReferencesVisitor = { } }, + UpdateExpression(path) { + const { + scope, + seen, + imported, + exported, + requeueInParent, + buildImportReference + } = this; + if (seen.has(path.node)) return; + seen.add(path.node); + const arg = path.get("argument"); + if (arg.isMemberExpression()) return; + const update = path.node; + + if (arg.isIdentifier()) { + const localName = arg.node.name; + + if (scope.getBinding(localName) !== path.scope.getBinding(localName)) { + return; + } + + const exportedNames = exported.get(localName); + const importData = imported.get(localName); + + if ((exportedNames == null ? void 0 : exportedNames.length) > 0 || importData) { + if (importData) { + path.replaceWith(assignmentExpression(update.operator[0] + "=", buildImportReference(importData, arg.node), buildImportThrow(localName))); + } else if (update.prefix) { + path.replaceWith(buildBindingExportAssignmentExpression(this.metadata, exportedNames, cloneNode(update))); + } else { + const ref = scope.generateDeclaredUidIdentifier(localName); + path.replaceWith(sequenceExpression([assignmentExpression("=", cloneNode(ref), cloneNode(update)), buildBindingExportAssignmentExpression(this.metadata, exportedNames, identifier(localName)), cloneNode(ref)])); + } + } + } + + requeueInParent(path); + path.skip(); + }, + AssignmentExpression: { exit(path) { const { @@ -261,7 +305,7 @@ const rewriteReferencesVisitor = { const assignment = path.node; if (importData) { - assignment.left = buildImportReference(importData, assignment.left); + assignment.left = buildImportReference(importData, left.node); assignment.right = sequenceExpression([assignment.right, buildImportThrow(localName)]); } diff --git a/node_modules/@babel/helper-module-transforms/package.json b/node_modules/@babel/helper-module-transforms/package.json index 3149bddb..11875d4e 100644 --- a/node_modules/@babel/helper-module-transforms/package.json +++ b/node_modules/@babel/helper-module-transforms/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-module-transforms", - "version": "7.16.7", + "version": "7.18.6", "description": "Babel helper functions for implementing ES6 module transformations", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-helper-module-transforms", @@ -15,16 +15,17 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-simple-access": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/helper-validator-identifier": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-plugin-utils/lib/index.js b/node_modules/@babel/helper-plugin-utils/lib/index.js index 0ba1be02..02df6923 100644 --- a/node_modules/@babel/helper-plugin-utils/lib/index.js +++ b/node_modules/@babel/helper-plugin-utils/lib/index.js @@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.declare = declare; +exports.declarePreset = void 0; function declare(builder) { return (api, options, dirname) => { @@ -23,6 +24,8 @@ function declare(builder) { }; } +const declarePreset = declare; +exports.declarePreset = declarePreset; const apiPolyfills = { assertVersion: api => range => { throwVersionError(range, api.version); @@ -30,7 +33,9 @@ const apiPolyfills = { targets: () => () => { return {}; }, - assumption: () => () => {} + assumption: () => () => { + return undefined; + } }; function copyApiObject(api) { diff --git a/node_modules/@babel/helper-plugin-utils/package.json b/node_modules/@babel/helper-plugin-utils/package.json index 740d52ac..f0ec3040 100644 --- a/node_modules/@babel/helper-plugin-utils/package.json +++ b/node_modules/@babel/helper-plugin-utils/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-plugin-utils", - "version": "7.16.7", + "version": "7.18.6", "description": "General utilities for plugins to use", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-helper-plugin-utils", @@ -16,5 +16,6 @@ "main": "./lib/index.js", "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-simple-access/lib/index.js b/node_modules/@babel/helper-simple-access/lib/index.js index 69bacda6..0f19aea7 100644 --- a/node_modules/@babel/helper-simple-access/lib/index.js +++ b/node_modules/@babel/helper-simple-access/lib/index.js @@ -19,11 +19,12 @@ const { unaryExpression } = _t; -function simplifyAccess(path, bindingNames) { +function simplifyAccess(path, bindingNames, includeUpdateExpression = true) { path.traverse(simpleAssignmentVisitor, { scope: path.scope, bindingNames, - seen: new WeakSet() + seen: new WeakSet(), + includeUpdateExpression }); } @@ -32,8 +33,14 @@ const simpleAssignmentVisitor = { exit(path) { const { scope, - bindingNames + bindingNames, + includeUpdateExpression } = this; + + if (!includeUpdateExpression) { + return; + } + const arg = path.get("argument"); if (!arg.isIdentifier()) return; const localName = arg.node.name; diff --git a/node_modules/@babel/helper-simple-access/package.json b/node_modules/@babel/helper-simple-access/package.json index e30c7eda..b360910a 100644 --- a/node_modules/@babel/helper-simple-access/package.json +++ b/node_modules/@babel/helper-simple-access/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-simple-access", - "version": "7.16.7", + "version": "7.18.6", "description": "Babel helper for ensuring that access to a given value is performed through simple accesses", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-helper-simple-access", @@ -15,12 +15,13 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" }, "devDependencies": { - "@babel/traverse": "^7.16.7" + "@babel/traverse": "^7.18.6" }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-split-export-declaration/lib/index.js b/node_modules/@babel/helper-split-export-declaration/lib/index.js index 6007f89c..89cb62fe 100644 --- a/node_modules/@babel/helper-split-export-declaration/lib/index.js +++ b/node_modules/@babel/helper-split-export-declaration/lib/index.js @@ -17,16 +17,13 @@ const { } = _t; function splitExportDeclaration(exportDeclaration) { - if (!exportDeclaration.isExportDeclaration()) { - throw new Error("Only export declarations can be split."); + if (!exportDeclaration.isExportDeclaration() || exportDeclaration.isExportAllDeclaration()) { + throw new Error("Only default and named export declarations can be split."); } - const isDefault = exportDeclaration.isExportDefaultDeclaration(); - const declaration = exportDeclaration.get("declaration"); - const isClassDeclaration = declaration.isClassDeclaration(); - - if (isDefault) { - const standaloneDeclaration = declaration.isFunctionDeclaration() || isClassDeclaration; + if (exportDeclaration.isExportDefaultDeclaration()) { + const declaration = exportDeclaration.get("declaration"); + const standaloneDeclaration = declaration.isFunctionDeclaration() || declaration.isClassDeclaration(); const scope = declaration.isScope() ? declaration.scope.parent : declaration.scope; let id = declaration.node.id; let needBindingRegistration = false; @@ -40,7 +37,7 @@ function splitExportDeclaration(exportDeclaration) { } } - const updatedDeclaration = standaloneDeclaration ? declaration : variableDeclaration("var", [variableDeclarator(cloneNode(id), declaration.node)]); + const updatedDeclaration = standaloneDeclaration ? declaration.node : variableDeclaration("var", [variableDeclarator(cloneNode(id), declaration.node)]); const updatedExportDeclaration = exportNamedDeclaration(null, [exportSpecifier(cloneNode(id), identifier("default"))]); exportDeclaration.insertAfter(updatedExportDeclaration); exportDeclaration.replaceWith(updatedDeclaration); @@ -50,12 +47,11 @@ function splitExportDeclaration(exportDeclaration) { } return exportDeclaration; - } - - if (exportDeclaration.get("specifiers").length > 0) { + } else if (exportDeclaration.get("specifiers").length > 0) { throw new Error("It doesn't make sense to split exported specifiers."); } + const declaration = exportDeclaration.get("declaration"); const bindingIdentifiers = declaration.getOuterBindingIdentifiers(); const specifiers = Object.keys(bindingIdentifiers).map(name => { return exportSpecifier(identifier(name), identifier(name)); diff --git a/node_modules/@babel/helper-split-export-declaration/package.json b/node_modules/@babel/helper-split-export-declaration/package.json index 3836b192..d2edb7fb 100644 --- a/node_modules/@babel/helper-split-export-declaration/package.json +++ b/node_modules/@babel/helper-split-export-declaration/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-split-export-declaration", - "version": "7.16.7", + "version": "7.18.6", "description": "", "repository": { "type": "git", @@ -14,10 +14,11 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" }, "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" + "author": "The Babel Team (https://babel.dev/team)", + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/package.json b/node_modules/@babel/helper-validator-identifier/package.json index 972fdf11..27b388c2 100644 --- a/node_modules/@babel/helper-validator-identifier/package.json +++ b/node_modules/@babel/helper-validator-identifier/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-validator-identifier", - "version": "7.16.7", + "version": "7.18.6", "description": "Validate identifier/keywords name", "repository": { "type": "git", @@ -23,5 +23,6 @@ "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" + "author": "The Babel Team (https://babel.dev/team)", + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-option/package.json b/node_modules/@babel/helper-validator-option/package.json index 1fe2da84..15eb3275 100644 --- a/node_modules/@babel/helper-validator-option/package.json +++ b/node_modules/@babel/helper-validator-option/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-validator-option", - "version": "7.16.7", + "version": "7.18.6", "description": "Validate plugin/preset options", "repository": { "type": "git", @@ -19,5 +19,6 @@ "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" + "author": "The Babel Team (https://babel.dev/team)", + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers-generated.js b/node_modules/@babel/helpers/lib/helpers-generated.js index 20c079f0..29d2c5c1 100644 --- a/node_modules/@babel/helpers/lib/helpers-generated.js +++ b/node_modules/@babel/helpers/lib/helpers-generated.js @@ -10,14 +10,18 @@ var _template = require("@babel/template"); function helper(minVersion, source) { return Object.freeze({ minVersion, - ast: () => _template.default.program.ast(source) + ast: () => _template.default.program.ast(source, { + preserveComments: true + }) }); } var _default = Object.freeze({ + applyDecs: helper("7.17.8", 'function createMetadataMethodsForProperty(metadataMap,kind,property,decoratorFinishedRef){return{getMetadata:function(key){assertNotFinished(decoratorFinishedRef,"getMetadata"),assertMetadataKey(key);var metadataForKey=metadataMap[key];if(void 0!==metadataForKey)if(1===kind){var pub=metadataForKey.public;if(void 0!==pub)return pub[property]}else if(2===kind){var priv=metadataForKey.private;if(void 0!==priv)return priv.get(property)}else if(Object.hasOwnProperty.call(metadataForKey,"constructor"))return metadataForKey.constructor},setMetadata:function(key,value){assertNotFinished(decoratorFinishedRef,"setMetadata"),assertMetadataKey(key);var metadataForKey=metadataMap[key];if(void 0===metadataForKey&&(metadataForKey=metadataMap[key]={}),1===kind){var pub=metadataForKey.public;void 0===pub&&(pub=metadataForKey.public={}),pub[property]=value}else if(2===kind){var priv=metadataForKey.priv;void 0===priv&&(priv=metadataForKey.private=new Map),priv.set(property,value)}else metadataForKey.constructor=value}}}function convertMetadataMapToFinal(obj,metadataMap){var parentMetadataMap=obj[Symbol.metadata||Symbol.for("Symbol.metadata")],metadataKeys=Object.getOwnPropertySymbols(metadataMap);if(0!==metadataKeys.length){for(var i=0;i=0;i--){var newInit;if(void 0!==(newValue=memberDec(decs[i],name,desc,metadataMap,initializers,kind,isStatic,isPrivate,value)))assertValidReturnValue(kind,newValue),0===kind?newInit=newValue:1===kind?(newInit=getInit(newValue),get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue,void 0!==newInit&&(void 0===initializer?initializer=newInit:"function"==typeof initializer?initializer=[initializer,newInit]:initializer.push(newInit))}if(0===kind||1===kind){if(void 0===initializer)initializer=function(instance,init){return init};else if("function"!=typeof initializer){var ownInitializers=initializer;initializer=function(instance,init){for(var value=init,i=0;i3,isStatic=kind>=5;if(isStatic?(base=Class,metadataMap=staticMetadataMap,0!==(kind-=5)&&(initializers=staticInitializers=staticInitializers||[])):(base=Class.prototype,metadataMap=protoMetadataMap,0!==kind&&(initializers=protoInitializers=protoInitializers||[])),0!==kind&&!isPrivate){var existingNonFields=isStatic?existingStaticNonFields:existingProtoNonFields,existingKind=existingNonFields.get(name)||0;if(!0===existingKind||3===existingKind&&4!==kind||4===existingKind&&3!==kind)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+name);!existingKind&&kind>2?existingNonFields.set(name,kind):existingNonFields.set(name,!0)}applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,metadataMap,initializers)}}pushInitializers(ret,protoInitializers),pushInitializers(ret,staticInitializers)}function pushInitializers(ret,initializers){initializers&&ret.push((function(instance){for(var i=0;i0){for(var initializers=[],newClass=targetClass,name=targetClass.name,i=classDecs.length-1;i>=0;i--){var decoratorFinishedRef={v:!1};try{var ctx=Object.assign({kind:"class",name:name,addInitializer:createAddInitializerMethod(initializers,decoratorFinishedRef)},createMetadataMethodsForProperty(metadataMap,0,name,decoratorFinishedRef)),nextNewClass=classDecs[i](newClass,ctx)}finally{decoratorFinishedRef.v=!0}void 0!==nextNewClass&&(assertValidReturnValue(10,nextNewClass),newClass=nextNewClass)}ret.push(newClass,(function(){for(var i=0;i1){for(var childArray=new Array(childrenLength),i=0;i=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=undefined),ContinueSentinel}},exports}'), typeof: helper("7.0.0-beta.0", 'export default function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}'), wrapRegExp: helper("7.2.6", 'import setPrototypeOf from"setPrototypeOf";import inherits from"inherits";export default function _wrapRegExp(){_wrapRegExp=function(re,groups){return new BabelRegExp(re,void 0,groups)};var _super=RegExp.prototype,_groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);return _groups.set(_this,groups||_groups.get(re)),setPrototypeOf(_this,BabelRegExp.prototype)}function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce((function(groups,name){return groups[name]=result[g[name]],groups}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);return result&&(result.groups=buildGroups(result,this)),result},BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if("string"==typeof substitution){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\\$<([^>]+)>/g,(function(_,name){return"$"+groups[name]})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!=typeof args[args.length-1]&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}') }); diff --git a/node_modules/@babel/helpers/lib/helpers.js b/node_modules/@babel/helpers/lib/helpers.js index 78959c0e..50024033 100644 --- a/node_modules/@babel/helpers/lib/helpers.js +++ b/node_modules/@babel/helpers/lib/helpers.js @@ -284,7 +284,7 @@ helpers.defineProperty = helper("7.0.0-beta.0")` `; helpers.extends = helper("7.0.0-beta.0")` export default function _extends() { - _extends = Object.assign || function (target) { + _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { @@ -351,7 +351,7 @@ helpers.inheritsLoose = helper("7.0.0-beta.0")` helpers.getPrototypeOf = helper("7.0.0-beta.0")` export default function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf - ? Object.getPrototypeOf + ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; @@ -360,10 +360,12 @@ helpers.getPrototypeOf = helper("7.0.0-beta.0")` `; helpers.setPrototypeOf = helper("7.0.0-beta.0")` export default function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; + _setPrototypeOf = Object.setPrototypeOf + ? Object.setPrototypeOf.bind() + : function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; return _setPrototypeOf(o, p); } `; @@ -400,7 +402,7 @@ helpers.construct = helper("7.0.0-beta.0")` export default function _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { - _construct = Reflect.construct; + _construct = Reflect.construct.bind(); } else { // NOTE: If Parent !== Class, the correct __proto__ is set *after* // calling the constructor. @@ -630,7 +632,7 @@ helpers.get = helper("7.0.0-beta.0")` export default function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; + _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = superPropBase(target, property); @@ -1951,4 +1953,9 @@ helpers.classPrivateMethodInitSpec = helper("7.14.1")` throw new TypeError("attempted to reassign private method"); } `; -} \ No newline at end of file +} +helpers.identity = helper("7.17.0")` + export default function _identity(x) { + return x; + } +`; \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/applyDecs.js b/node_modules/@babel/helpers/lib/helpers/applyDecs.js new file mode 100644 index 00000000..8808a401 --- /dev/null +++ b/node_modules/@babel/helpers/lib/helpers/applyDecs.js @@ -0,0 +1,530 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = applyDecs; + +function createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { + return { + getMetadata: function (key) { + assertNotFinished(decoratorFinishedRef, "getMetadata"); + assertMetadataKey(key); + var metadataForKey = metadataMap[key]; + if (metadataForKey === void 0) return void 0; + + if (kind === 1) { + var pub = metadataForKey.public; + + if (pub !== void 0) { + return pub[property]; + } + } else if (kind === 2) { + var priv = metadataForKey.private; + + if (priv !== void 0) { + return priv.get(property); + } + } else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) { + return metadataForKey.constructor; + } + }, + setMetadata: function (key, value) { + assertNotFinished(decoratorFinishedRef, "setMetadata"); + assertMetadataKey(key); + var metadataForKey = metadataMap[key]; + + if (metadataForKey === void 0) { + metadataForKey = metadataMap[key] = {}; + } + + if (kind === 1) { + var pub = metadataForKey.public; + + if (pub === void 0) { + pub = metadataForKey.public = {}; + } + + pub[property] = value; + } else if (kind === 2) { + var priv = metadataForKey.priv; + + if (priv === void 0) { + priv = metadataForKey.private = new Map(); + } + + priv.set(property, value); + } else { + metadataForKey.constructor = value; + } + } + }; +} + +function convertMetadataMapToFinal(obj, metadataMap) { + var parentMetadataMap = obj[Symbol.metadata || Symbol.for("Symbol.metadata")]; + var metadataKeys = Object.getOwnPropertySymbols(metadataMap); + if (metadataKeys.length === 0) return; + + for (var i = 0; i < metadataKeys.length; i++) { + var key = metadataKeys[i]; + var metaForKey = metadataMap[key]; + var parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null; + var pub = metaForKey.public; + var parentPub = parentMetaForKey ? parentMetaForKey.public : null; + + if (pub && parentPub) { + Object.setPrototypeOf(pub, parentPub); + } + + var priv = metaForKey.private; + + if (priv) { + var privArr = Array.from(priv.values()); + var parentPriv = parentMetaForKey ? parentMetaForKey.private : null; + + if (parentPriv) { + privArr = privArr.concat(parentPriv); + } + + metaForKey.private = privArr; + } + + if (parentMetaForKey) { + Object.setPrototypeOf(metaForKey, parentMetaForKey); + } + } + + if (parentMetadataMap) { + Object.setPrototypeOf(metadataMap, parentMetadataMap); + } + + obj[Symbol.metadata || Symbol.for("Symbol.metadata")] = metadataMap; +} + +function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function addInitializer(initializer) { + assertNotFinished(decoratorFinishedRef, "addInitializer"); + assertCallable(initializer, "An initializer"); + initializers.push(initializer); + }; +} + +function memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value) { + var kindStr; + + switch (kind) { + case 1: + kindStr = "accessor"; + break; + + case 2: + kindStr = "method"; + break; + + case 3: + kindStr = "getter"; + break; + + case 4: + kindStr = "setter"; + break; + + default: + kindStr = "field"; + } + + var ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + isStatic: isStatic, + isPrivate: isPrivate + }; + var decoratorFinishedRef = { + v: false + }; + + if (kind !== 0) { + ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef); + } + + var metadataKind, metadataName; + + if (isPrivate) { + metadataKind = 2; + metadataName = Symbol(name); + var access = {}; + + if (kind === 0) { + access.get = desc.get; + access.set = desc.set; + } else if (kind === 2) { + access.get = function () { + return desc.value; + }; + } else { + if (kind === 1 || kind === 3) { + access.get = function () { + return desc.get.call(this); + }; + } + + if (kind === 1 || kind === 4) { + access.set = function (v) { + desc.set.call(this, v); + }; + } + } + + ctx.access = access; + } else { + metadataKind = 1; + metadataName = name; + } + + try { + return dec(value, Object.assign(ctx, createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); + } finally { + decoratorFinishedRef.v = true; + } +} + +function assertNotFinished(decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) { + throw new Error("attempted to call " + fnName + " after decoration was finished"); + } +} + +function assertMetadataKey(key) { + if (typeof key !== "symbol") { + throw new TypeError("Metadata keys must be symbols, received: " + key); + } +} + +function assertCallable(fn, hint) { + if (typeof fn !== "function") { + throw new TypeError(hint + " must be a function"); + } +} + +function assertValidReturnValue(kind, value) { + var type = typeof value; + + if (kind === 1) { + if (type !== "object" || value === null) { + throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + } + + if (value.get !== undefined) { + assertCallable(value.get, "accessor.get"); + } + + if (value.set !== undefined) { + assertCallable(value.set, "accessor.set"); + } + + if (value.init !== undefined) { + assertCallable(value.init, "accessor.init"); + } + + if (value.initializer !== undefined) { + assertCallable(value.initializer, "accessor.initializer"); + } + } else if (type !== "function") { + var hint; + + if (kind === 0) { + hint = "field"; + } else if (kind === 10) { + hint = "class"; + } else { + hint = "method"; + } + + throw new TypeError(hint + " decorators must return a function or void 0"); + } +} + +function getInit(desc) { + var initializer; + + if ((initializer = desc.init) == null && (initializer = desc.initializer) && typeof console !== "undefined") { + console.warn(".initializer has been renamed to .init as of March 2022"); + } + + return initializer; +} + +function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { + var decs = decInfo[0]; + var desc, initializer, value; + + if (isPrivate) { + if (kind === 0 || kind === 1) { + desc = { + get: decInfo[3], + set: decInfo[4] + }; + } else if (kind === 3) { + desc = { + get: decInfo[3] + }; + } else if (kind === 4) { + desc = { + set: decInfo[3] + }; + } else { + desc = { + value: decInfo[3] + }; + } + } else if (kind !== 0) { + desc = Object.getOwnPropertyDescriptor(base, name); + } + + if (kind === 1) { + value = { + get: desc.get, + set: desc.set + }; + } else if (kind === 2) { + value = desc.value; + } else if (kind === 3) { + value = desc.get; + } else if (kind === 4) { + value = desc.set; + } + + var newValue, get, set; + + if (typeof decs === "function") { + newValue = memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value); + + if (newValue !== void 0) { + assertValidReturnValue(kind, newValue); + + if (kind === 0) { + initializer = newValue; + } else if (kind === 1) { + initializer = getInit(newValue); + get = newValue.get || value.get; + set = newValue.set || value.set; + value = { + get: get, + set: set + }; + } else { + value = newValue; + } + } + } else { + for (var i = decs.length - 1; i >= 0; i--) { + var dec = decs[i]; + newValue = memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value); + + if (newValue !== void 0) { + assertValidReturnValue(kind, newValue); + var newInit; + + if (kind === 0) { + newInit = newValue; + } else if (kind === 1) { + newInit = getInit(newValue); + get = newValue.get || value.get; + set = newValue.set || value.set; + value = { + get: get, + set: set + }; + } else { + value = newValue; + } + + if (newInit !== void 0) { + if (initializer === void 0) { + initializer = newInit; + } else if (typeof initializer === "function") { + initializer = [initializer, newInit]; + } else { + initializer.push(newInit); + } + } + } + } + } + + if (kind === 0 || kind === 1) { + if (initializer === void 0) { + initializer = function (instance, init) { + return init; + }; + } else if (typeof initializer !== "function") { + var ownInitializers = initializer; + + initializer = function (instance, init) { + var value = init; + + for (var i = 0; i < ownInitializers.length; i++) { + value = ownInitializers[i].call(instance, value); + } + + return value; + }; + } else { + var originalInitializer = initializer; + + initializer = function (instance, init) { + return originalInitializer.call(instance, init); + }; + } + + ret.push(initializer); + } + + if (kind !== 0) { + if (kind === 1) { + desc.get = value.get; + desc.set = value.set; + } else if (kind === 2) { + desc.value = value; + } else if (kind === 3) { + desc.get = value; + } else if (kind === 4) { + desc.set = value; + } + + if (isPrivate) { + if (kind === 1) { + ret.push(function (instance, args) { + return value.get.call(instance, args); + }); + ret.push(function (instance, args) { + return value.set.call(instance, args); + }); + } else if (kind === 2) { + ret.push(value); + } else { + ret.push(function (instance, args) { + return value.call(instance, args); + }); + } + } else { + Object.defineProperty(base, name, desc); + } + } +} + +function applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { + var protoInitializers; + var staticInitializers; + var existingProtoNonFields = new Map(); + var existingStaticNonFields = new Map(); + + for (var i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (!Array.isArray(decInfo)) continue; + var kind = decInfo[1]; + var name = decInfo[2]; + var isPrivate = decInfo.length > 3; + var isStatic = kind >= 5; + var base; + var metadataMap; + var initializers; + + if (isStatic) { + base = Class; + metadataMap = staticMetadataMap; + kind = kind - 5; + + if (kind !== 0) { + staticInitializers = staticInitializers || []; + initializers = staticInitializers; + } + } else { + base = Class.prototype; + metadataMap = protoMetadataMap; + + if (kind !== 0) { + protoInitializers = protoInitializers || []; + initializers = protoInitializers; + } + } + + if (kind !== 0 && !isPrivate) { + var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields; + var existingKind = existingNonFields.get(name) || 0; + + if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) { + throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); + } else if (!existingKind && kind > 2) { + existingNonFields.set(name, kind); + } else { + existingNonFields.set(name, true); + } + } + + applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); + } + + pushInitializers(ret, protoInitializers); + pushInitializers(ret, staticInitializers); +} + +function pushInitializers(ret, initializers) { + if (initializers) { + ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) { + initializers[i].call(instance); + } + + return instance; + }); + } +} + +function applyClassDecs(ret, targetClass, metadataMap, classDecs) { + if (classDecs.length > 0) { + var initializers = []; + var newClass = targetClass; + var name = targetClass.name; + + for (var i = classDecs.length - 1; i >= 0; i--) { + var decoratorFinishedRef = { + v: false + }; + + try { + var ctx = Object.assign({ + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }, createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)); + var nextNewClass = classDecs[i](newClass, ctx); + } finally { + decoratorFinishedRef.v = true; + } + + if (nextNewClass !== undefined) { + assertValidReturnValue(10, nextNewClass); + newClass = nextNewClass; + } + } + + ret.push(newClass, function () { + for (var i = 0; i < initializers.length; i++) { + initializers[i].call(newClass); + } + }); + } +} + +function applyDecs(targetClass, memberDecs, classDecs) { + var ret = []; + var staticMetadataMap = {}; + var protoMetadataMap = {}; + applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs); + convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap); + applyClassDecs(ret, targetClass, staticMetadataMap, classDecs); + convertMetadataMapToFinal(targetClass, staticMetadataMap); + return ret; +} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js b/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js new file mode 100644 index 00000000..225ca44b --- /dev/null +++ b/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js @@ -0,0 +1,587 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _regeneratorRuntime; + +function _regeneratorRuntime() { + "use strict"; + + exports.default = _regeneratorRuntime = function () { + return exports; + }; + + var exports = {}; + var Op = Object.prototype; + var hasOwn = Op.hasOwnProperty; + var undefined; + var $Symbol = typeof Symbol === "function" ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || "@@iterator"; + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + return obj[key]; + } + + try { + define({}, ""); + } catch (err) { + define = function (obj, key, value) { + return obj[key] = value; + }; + } + + function wrap(innerFn, outerFn, self, tryLocsList) { + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; + var generator = Object.create(protoGenerator.prototype); + var context = new Context(tryLocsList || []); + generator._invoke = makeInvokeMethod(innerFn, self, context); + return generator; + } + + exports.wrap = wrap; + + function tryCatch(fn, obj, arg) { + try { + return { + type: "normal", + arg: fn.call(obj, arg) + }; + } catch (err) { + return { + type: "throw", + arg: err + }; + } + } + + var GenStateSuspendedStart = "suspendedStart"; + var GenStateSuspendedYield = "suspendedYield"; + var GenStateExecuting = "executing"; + var GenStateCompleted = "completed"; + var ContinueSentinel = {}; + + function Generator() {} + + function GeneratorFunction() {} + + function GeneratorFunctionPrototype() {} + + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); + var getProto = Object.getPrototypeOf; + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + + if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { + IteratorPrototype = NativeIteratorPrototype; + } + + var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); + GeneratorFunction.prototype = GeneratorFunctionPrototype; + define(Gp, "constructor", GeneratorFunctionPrototype); + define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); + GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); + + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function (method) { + define(prototype, method, function (arg) { + return this._invoke(method, arg); + }); + }); + } + + exports.isGeneratorFunction = function (genFun) { + var ctor = typeof genFun === "function" && genFun.constructor; + return ctor ? ctor === GeneratorFunction || (ctor.displayName || ctor.name) === "GeneratorFunction" : false; + }; + + exports.mark = function (genFun) { + if (Object.setPrototypeOf) { + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); + } else { + genFun.__proto__ = GeneratorFunctionPrototype; + define(genFun, toStringTagSymbol, "GeneratorFunction"); + } + + genFun.prototype = Object.create(Gp); + return genFun; + }; + + exports.awrap = function (arg) { + return { + __await: arg + }; + }; + + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + + if (record.type === "throw") { + reject(record.arg); + } else { + var result = record.arg; + var value = result.value; + + if (value && typeof value === "object" && hasOwn.call(value, "__await")) { + return PromiseImpl.resolve(value.__await).then(function (value) { + invoke("next", value, resolve, reject); + }, function (err) { + invoke("throw", err, resolve, reject); + }); + } + + return PromiseImpl.resolve(value).then(function (unwrapped) { + result.value = unwrapped; + resolve(result); + }, function (error) { + return invoke("throw", error, resolve, reject); + }); + } + } + + var previousPromise; + + function enqueue(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function (resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + + return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); + } + + this._invoke = enqueue; + } + + defineIteratorMethods(AsyncIterator.prototype); + define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }); + exports.AsyncIterator = AsyncIterator; + + exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { + if (PromiseImpl === void 0) PromiseImpl = Promise; + var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); + return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { + return result.done ? result.value : iter.next(); + }); + }; + + function makeInvokeMethod(innerFn, self, context) { + var state = GenStateSuspendedStart; + return function invoke(method, arg) { + if (state === GenStateExecuting) { + throw new Error("Generator is already running"); + } + + if (state === GenStateCompleted) { + if (method === "throw") { + throw arg; + } + + return doneResult(); + } + + context.method = method; + context.arg = arg; + + while (true) { + var delegate = context.delegate; + + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + + if (context.method === "next") { + context.sent = context._sent = context.arg; + } else if (context.method === "throw") { + if (state === GenStateSuspendedStart) { + state = GenStateCompleted; + throw context.arg; + } + + context.dispatchException(context.arg); + } else if (context.method === "return") { + context.abrupt("return", context.arg); + } + + state = GenStateExecuting; + var record = tryCatch(innerFn, self, context); + + if (record.type === "normal") { + state = context.done ? GenStateCompleted : GenStateSuspendedYield; + + if (record.arg === ContinueSentinel) { + continue; + } + + return { + value: record.arg, + done: context.done + }; + } else if (record.type === "throw") { + state = GenStateCompleted; + context.method = "throw"; + context.arg = record.arg; + } + } + }; + } + + function maybeInvokeDelegate(delegate, context) { + var method = delegate.iterator[context.method]; + + if (method === undefined) { + context.delegate = null; + + if (context.method === "throw") { + if (delegate.iterator["return"]) { + context.method = "return"; + context.arg = undefined; + maybeInvokeDelegate(delegate, context); + + if (context.method === "throw") { + return ContinueSentinel; + } + } + + context.method = "throw"; + context.arg = new TypeError("The iterator does not provide a 'throw' method"); + } + + return ContinueSentinel; + } + + var record = tryCatch(method, delegate.iterator, context.arg); + + if (record.type === "throw") { + context.method = "throw"; + context.arg = record.arg; + context.delegate = null; + return ContinueSentinel; + } + + var info = record.arg; + + if (!info) { + context.method = "throw"; + context.arg = new TypeError("iterator result is not an object"); + context.delegate = null; + return ContinueSentinel; + } + + if (info.done) { + context[delegate.resultName] = info.value; + context.next = delegate.nextLoc; + + if (context.method !== "return") { + context.method = "next"; + context.arg = undefined; + } + } else { + return info; + } + + context.delegate = null; + return ContinueSentinel; + } + + defineIteratorMethods(Gp); + define(Gp, toStringTagSymbol, "Generator"); + define(Gp, iteratorSymbol, function () { + return this; + }); + define(Gp, "toString", function () { + return "[object Generator]"; + }); + + function pushTryEntry(locs) { + var entry = { + tryLoc: locs[0] + }; + + if (1 in locs) { + entry.catchLoc = locs[1]; + } + + if (2 in locs) { + entry.finallyLoc = locs[2]; + entry.afterLoc = locs[3]; + } + + this.tryEntries.push(entry); + } + + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal"; + delete record.arg; + entry.completion = record; + } + + function Context(tryLocsList) { + this.tryEntries = [{ + tryLoc: "root" + }]; + tryLocsList.forEach(pushTryEntry, this); + this.reset(true); + } + + exports.keys = function (object) { + var keys = []; + + for (var key in object) { + keys.push(key); + } + + keys.reverse(); + return function next() { + while (keys.length) { + var key = keys.pop(); + + if (key in object) { + next.value = key; + next.done = false; + return next; + } + } + + next.done = true; + return next; + }; + }; + + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + + if (iteratorMethod) { + return iteratorMethod.call(iterable); + } + + if (typeof iterable.next === "function") { + return iterable; + } + + if (!isNaN(iterable.length)) { + var i = -1, + next = function next() { + while (++i < iterable.length) { + if (hasOwn.call(iterable, i)) { + next.value = iterable[i]; + next.done = false; + return next; + } + } + + next.value = undefined; + next.done = true; + return next; + }; + + return next.next = next; + } + } + + return { + next: doneResult + }; + } + + exports.values = values; + + function doneResult() { + return { + value: undefined, + done: true + }; + } + + Context.prototype = { + constructor: Context, + reset: function (skipTempReset) { + this.prev = 0; + this.next = 0; + this.sent = this._sent = undefined; + this.done = false; + this.delegate = null; + this.method = "next"; + this.arg = undefined; + this.tryEntries.forEach(resetTryEntry); + + if (!skipTempReset) { + for (var name in this) { + if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { + this[name] = undefined; + } + } + } + }, + stop: function () { + this.done = true; + var rootEntry = this.tryEntries[0]; + var rootRecord = rootEntry.completion; + + if (rootRecord.type === "throw") { + throw rootRecord.arg; + } + + return this.rval; + }, + dispatchException: function (exception) { + if (this.done) { + throw exception; + } + + var context = this; + + function handle(loc, caught) { + record.type = "throw"; + record.arg = exception; + context.next = loc; + + if (caught) { + context.method = "next"; + context.arg = undefined; + } + + return !!caught; + } + + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + var record = entry.completion; + + if (entry.tryLoc === "root") { + return handle("end"); + } + + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"); + var hasFinally = hasOwn.call(entry, "finallyLoc"); + + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } else if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + } else if (hasCatch) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } + } else if (hasFinally) { + if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + } else { + throw new Error("try statement without catch or finally"); + } + } + } + }, + abrupt: function (type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } + + if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { + finallyEntry = null; + } + + var record = finallyEntry ? finallyEntry.completion : {}; + record.type = type; + record.arg = arg; + + if (finallyEntry) { + this.method = "next"; + this.next = finallyEntry.finallyLoc; + return ContinueSentinel; + } + + return this.complete(record); + }, + complete: function (record, afterLoc) { + if (record.type === "throw") { + throw record.arg; + } + + if (record.type === "break" || record.type === "continue") { + this.next = record.arg; + } else if (record.type === "return") { + this.rval = this.arg = record.arg; + this.method = "return"; + this.next = "end"; + } else if (record.type === "normal" && afterLoc) { + this.next = afterLoc; + } + + return ContinueSentinel; + }, + finish: function (finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.finallyLoc === finallyLoc) { + this.complete(entry.completion, entry.afterLoc); + resetTryEntry(entry); + return ContinueSentinel; + } + } + }, + catch: function (tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + + if (record.type === "throw") { + var thrown = record.arg; + resetTryEntry(entry); + } + + return thrown; + } + } + + throw new Error("illegal catch attempt"); + }, + delegateYield: function (iterable, resultName, nextLoc) { + this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }; + + if (this.method === "next") { + this.arg = undefined; + } + + return ContinueSentinel; + } + }; + return exports; +} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/index.js b/node_modules/@babel/helpers/lib/index.js index 5e793d59..511c6c5b 100644 --- a/node_modules/@babel/helpers/lib/index.js +++ b/node_modules/@babel/helpers/lib/index.js @@ -20,10 +20,8 @@ const { assignmentExpression, cloneNode, expressionStatement, - file: t_file, - identifier, - variableDeclaration, - variableDeclarator + file, + identifier } = _t; function makePath(path) { @@ -37,7 +35,7 @@ function makePath(path) { return parts.reverse().join("."); } -let fileClass = undefined; +let FileClass = undefined; function getHelperMetadata(file) { const globals = new Set(); @@ -68,14 +66,11 @@ function getHelperMetadata(file) { ExportDefaultDeclaration(child) { const decl = child.get("declaration"); - if (decl.isFunctionDeclaration()) { - if (!decl.node.id) { - throw decl.buildCodeFrameError("Helpers should give names to their exported func declaration"); - } - - exportName = decl.node.id.name; + if (!decl.isFunctionDeclaration() || !decl.node.id) { + throw decl.buildCodeFrameError("Helpers can only export named function declarations"); } + exportName = decl.node.id.name; exportPath = makePath(child); }, @@ -132,7 +127,7 @@ function getHelperMetadata(file) { }; (0, _traverse.default)(file.ast, dependencyVisitor, file.scope); (0, _traverse.default)(file.ast, referenceVisitor, file.scope); - if (!exportPath) throw new Error("Helpers must default-export something."); + if (!exportPath) throw new Error("Helpers must have a default export."); exportBindingAssignments.reverse(); return { globals: Array.from(globals), @@ -179,50 +174,37 @@ function permuteHelperAST(file, metadata, id, localBindings, getDependency) { toRename[exportName] = id.name; } - const visitor = { - Program(path) { - const exp = path.get(exportPath); - const imps = importPaths.map(p => path.get(p)); - const impsBindingRefs = importBindingsReferences.map(p => path.get(p)); - const decl = exp.get("declaration"); - - if (id.type === "Identifier") { - if (decl.isFunctionDeclaration()) { - exp.replaceWith(decl); - } else { - exp.replaceWith(variableDeclaration("var", [variableDeclarator(id, decl.node)])); - } - } else if (id.type === "MemberExpression") { - if (decl.isFunctionDeclaration()) { - exportBindingAssignments.forEach(assignPath => { - const assign = path.get(assignPath); - assign.replaceWith(assignmentExpression("=", id, assign.node)); - }); - exp.replaceWith(decl); - path.pushContainer("body", expressionStatement(assignmentExpression("=", id, identifier(exportName)))); - } else { - exp.replaceWith(expressionStatement(assignmentExpression("=", id, decl.node))); - } - } else { - throw new Error("Unexpected helper format."); - } - - Object.keys(toRename).forEach(name => { - path.scope.rename(name, toRename[name]); - }); - - for (const path of imps) path.remove(); + const { + path + } = file; + const exp = path.get(exportPath); + const imps = importPaths.map(p => path.get(p)); + const impsBindingRefs = importBindingsReferences.map(p => path.get(p)); + const decl = exp.get("declaration"); + + if (id.type === "Identifier") { + exp.replaceWith(decl); + } else if (id.type === "MemberExpression") { + exportBindingAssignments.forEach(assignPath => { + const assign = path.get(assignPath); + assign.replaceWith(assignmentExpression("=", id, assign.node)); + }); + exp.replaceWith(decl); + path.pushContainer("body", expressionStatement(assignmentExpression("=", id, identifier(exportName)))); + } else { + throw new Error("Unexpected helper format."); + } - for (const path of impsBindingRefs) { - const node = cloneNode(dependenciesRefs[path.node.name]); - path.replaceWith(node); - } + Object.keys(toRename).forEach(name => { + path.scope.rename(name, toRename[name]); + }); - path.stop(); - } + for (const path of imps) path.remove(); - }; - (0, _traverse.default)(file.ast, visitor, file.scope); + for (const path of impsBindingRefs) { + const node = cloneNode(dependenciesRefs[path.node.name]); + path.replaceWith(node); + } } const helperData = Object.create(null); @@ -239,23 +221,34 @@ function loadHelper(name) { } const fn = () => { - const file = { - ast: t_file(helper.ast()) - }; - - if (fileClass) { - return new fileClass({ - filename: `babel-helper://${name}` - }, file); + { + if (!FileClass) { + const fakeFile = { + ast: file(helper.ast()), + path: null + }; + (0, _traverse.default)(fakeFile.ast, { + Program: path => (fakeFile.path = path).stop() + }); + return fakeFile; + } } - - return file; + return new FileClass({ + filename: `babel-helper://${name}` + }, { + ast: file(helper.ast()), + code: "[internal Babel helper code]", + inputMap: null + }); }; - const metadata = getHelperMetadata(fn()); + let metadata = null; helperData[name] = { + minVersion: helper.minVersion, + build(getDependency, id, localBindings) { const file = fn(); + metadata || (metadata = getHelperMetadata(file)); permuteHelperAST(file, metadata, id, localBindings, getDependency); return { nodes: file.ast.program.body, @@ -263,11 +256,11 @@ function loadHelper(name) { }; }, - minVersion() { - return helper.minVersion; - }, + getDependencies() { + metadata || (metadata = getHelperMetadata(fn())); + return Array.from(metadata.dependencies.values()); + } - dependencies: metadata.dependencies }; } @@ -279,18 +272,15 @@ function get(name, getDependency, id, localBindings) { } function minVersion(name) { - return loadHelper(name).minVersion(); + return loadHelper(name).minVersion; } function getDependencies(name) { - return Array.from(loadHelper(name).dependencies.values()); + return loadHelper(name).getDependencies(); } function ensure(name, newFileClass) { - if (!fileClass) { - fileClass = newFileClass; - } - + FileClass || (FileClass = newFileClass); loadHelper(name); } diff --git a/node_modules/@babel/helpers/package.json b/node_modules/@babel/helpers/package.json index b2ef6167..551043c0 100644 --- a/node_modules/@babel/helpers/package.json +++ b/node_modules/@babel/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helpers", - "version": "7.16.7", + "version": "7.18.6", "description": "Collection of helper functions used by Babel transforms.", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-helpers", @@ -15,15 +15,19 @@ }, "main": "./lib/index.js", "dependencies": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" }, "devDependencies": { - "@babel/helper-plugin-test-runner": "^7.16.7", + "@babel/generator": "^7.18.6", + "@babel/helper-plugin-test-runner": "^7.18.6", + "@babel/parser": "^7.18.6", + "regenerator-runtime": "^0.13.9", "terser": "^5.9.0" }, "engines": { "node": ">=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/helpers/scripts/generate-helpers.js b/node_modules/@babel/helpers/scripts/generate-helpers.js index 1c59746d..e0b37019 100644 --- a/node_modules/@babel/helpers/scripts/generate-helpers.js +++ b/node_modules/@babel/helpers/scripts/generate-helpers.js @@ -1,7 +1,7 @@ import fs from "fs"; import { join } from "path"; import { URL, fileURLToPath } from "url"; -import { minify } from "terser"; // eslint-disable-line +import { minify } from "terser"; // eslint-disable-line import/no-extraneous-dependencies const HELPERS_FOLDER = new URL("../src/helpers", import.meta.url); const IGNORED_FILES = new Set(["package.json"]); @@ -14,10 +14,10 @@ export default async function generateHelpers() { import template from "@babel/template"; -function helper(minVersion, source) { +function helper(minVersion: string, source: string) { return Object.freeze({ minVersion, - ast: () => template.program.ast(source), + ast: () => template.program.ast(source, { preserveComments: true }), }) } diff --git a/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js b/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js new file mode 100644 index 00000000..91694b2c --- /dev/null +++ b/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js @@ -0,0 +1,64 @@ +/* eslint-disable import/no-extraneous-dependencies */ + +import fs from "fs"; +import { createRequire } from "module"; + +const [parse, generate] = await Promise.all([ + import("@babel/parser").then(ns => ns.parse), + import("@babel/generator").then(ns => ns.default.default), +]).catch(error => + Promise.reject( + new Error( + "Before running generate-helpers.js you must compile @babel/parser and @babel/generator.", + { cause: error } + ) + ) +); + +const REGENERATOR_RUNTIME_IN_FILE = fs.readFileSync( + createRequire(import.meta.url).resolve("regenerator-runtime"), + "utf8" +); + +const MIN_VERSION = "7.18.0"; + +const HEADER = `/* @minVersion ${MIN_VERSION} */ +/* + * This file is auto-generated! Do not modify it directly. + * To re-generate, update the regenerator-runtime dependency of + * @babel/helpers and run 'yarn gulp generate-runtime-helpers'. + */ + +/* eslint-disable */ +`; + +const COPYRIGHT = `/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */`; + +export default function generateRegeneratorRuntimeHelper() { + const ast = parse(REGENERATOR_RUNTIME_IN_FILE, { sourceType: "script" }); + + const factoryFunction = ast.program.body[0].declarations[0].init.callee; + factoryFunction.type = "FunctionDeclaration"; + factoryFunction.id = { type: "Identifier", name: "_regeneratorRuntime" }; + factoryFunction.params = []; + factoryFunction.body.body.unshift( + ...stmts(` + ${COPYRIGHT} + _regeneratorRuntime = function () { return exports; }; + var exports = {}; + `) + ); + + const { code } = generate({ + type: "ExportDefaultDeclaration", + declaration: factoryFunction, + }); + + return HEADER + code; +} + +function stmts(code) { + return parse(`function _() { ${code} }`, { + sourceType: "script", + }).program.body[0].body.body; +} diff --git a/node_modules/@babel/highlight/lib/index.js b/node_modules/@babel/highlight/lib/index.js index d323b399..856dfd9f 100644 --- a/node_modules/@babel/highlight/lib/index.js +++ b/node_modules/@babel/highlight/lib/index.js @@ -41,7 +41,7 @@ let tokenize; return "keyword"; } - if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.substr(offset - 2, 2) == "=6.9.0" - } + }, + "type": "commonjs" } \ No newline at end of file diff --git a/node_modules/@babel/parser/lib/index.js b/node_modules/@babel/parser/lib/index.js index d03c941d..134e39e6 100644 --- a/node_modules/@babel/parser/lib/index.js +++ b/node_modules/@babel/parser/lib/index.js @@ -2,6 +2,21 @@ Object.defineProperty(exports, '__esModule', { value: true }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + class Position { constructor(line, col, index) { this.line = void 0; @@ -9,7 +24,7 @@ class Position { this.index = void 0; this.line = line; this.column = col; - indexes.set(this, index); + this.index = index; } } @@ -24,499 +39,414 @@ class SourceLocation { } } -const indexes = new WeakMap(); function createPositionWithColumnOffset(position, columnOffset) { const { line, - column + column, + index } = position; - return new Position(line, column + columnOffset, indexes.get(position) + columnOffset); -} - -class BaseParser { - constructor() { - this.sawUnambiguousESM = false; - this.ambiguousScriptDifferentAst = false; - } - - hasPlugin(pluginConfig) { - if (typeof pluginConfig === "string") { - return this.plugins.has(pluginConfig); - } else { - const [pluginName, pluginOptions] = pluginConfig; - - if (!this.hasPlugin(pluginName)) { - return false; - } - - const actualOptions = this.plugins.get(pluginName); - - for (const key of Object.keys(pluginOptions)) { - if ((actualOptions == null ? void 0 : actualOptions[key]) !== pluginOptions[key]) { - return false; - } - } - - return true; - } - } - - getPluginOption(plugin, name) { - var _this$plugins$get; - - return (_this$plugins$get = this.plugins.get(plugin)) == null ? void 0 : _this$plugins$get[name]; - } - -} - -function setTrailingComments(node, comments) { - if (node.trailingComments === undefined) { - node.trailingComments = comments; - } else { - node.trailingComments.unshift(...comments); - } -} - -function setLeadingComments(node, comments) { - if (node.leadingComments === undefined) { - node.leadingComments = comments; - } else { - node.leadingComments.unshift(...comments); - } + return new Position(line, column + columnOffset, index + columnOffset); } -function setInnerComments(node, comments) { - if (node.innerComments === undefined) { - node.innerComments = comments; - } else { - node.innerComments.unshift(...comments); - } -} +const ParseErrorCodes = Object.freeze({ + SyntaxError: "BABEL_PARSER_SYNTAX_ERROR", + SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED" +}); -function adjustInnerComments(node, elements, commentWS) { - let lastElement = null; - let i = elements.length; +const reflect = (keys, last = keys.length - 1) => ({ + get() { + return keys.reduce((object, key) => object[key], this); + }, - while (lastElement === null && i > 0) { - lastElement = elements[--i]; + set(value) { + keys.reduce((item, key, i) => i === last ? item[key] = value : item[key], this); } - if (lastElement === null || lastElement.start > commentWS.start) { - setInnerComments(node, commentWS.comments); - } else { - setTrailingComments(lastElement, commentWS.comments); - } -} - -class CommentsParser extends BaseParser { - addComment(comment) { - if (this.filename) comment.loc.filename = this.filename; - this.state.comments.push(comment); - } - - processComment(node) { - const { - commentStack - } = this.state; - const commentStackLength = commentStack.length; - if (commentStackLength === 0) return; - let i = commentStackLength - 1; - const lastCommentWS = commentStack[i]; - - if (lastCommentWS.start === node.end) { - lastCommentWS.leadingNode = node; - i--; - } +}); - const { - start: nodeStart - } = node; +const instantiate = (constructor, properties, descriptors) => Object.keys(descriptors).map(key => [key, descriptors[key]]).filter(([, descriptor]) => !!descriptor).map(([key, descriptor]) => [key, typeof descriptor === "function" ? { + value: descriptor, + enumerable: false +} : typeof descriptor.reflect === "string" ? Object.assign({}, descriptor, reflect(descriptor.reflect.split("."))) : descriptor]).reduce((instance, [key, descriptor]) => Object.defineProperty(instance, key, Object.assign({ + configurable: true +}, descriptor)), Object.assign(new constructor(), properties)); - for (; i >= 0; i--) { - const commentWS = commentStack[i]; - const commentEnd = commentWS.end; +var ModuleErrors = (_ => ({ + ImportMetaOutsideModule: _(`import.meta may appear only with 'sourceType: "module"'`, { + code: ParseErrorCodes.SourceTypeModuleError + }), + ImportOutsideModule: _(`'import' and 'export' may appear only with 'sourceType: "module"'`, { + code: ParseErrorCodes.SourceTypeModuleError + }) +})); + +const NodeDescriptions = { + ArrayPattern: "array destructuring pattern", + AssignmentExpression: "assignment expression", + AssignmentPattern: "assignment expression", + ArrowFunctionExpression: "arrow function expression", + ConditionalExpression: "conditional expression", + ForOfStatement: "for-of statement", + ForInStatement: "for-in statement", + ForStatement: "for-loop", + FormalParameters: "function parameter list", + Identifier: "identifier", + ObjectPattern: "object destructuring pattern", + ParenthesizedExpression: "parenthesized expression", + RestElement: "rest element", + UpdateExpression: { + true: "prefix operation", + false: "postfix operation" + }, + VariableDeclarator: "variable declaration", + YieldExpression: "yield expression" +}; - if (commentEnd > nodeStart) { - commentWS.containingNode = node; - this.finalizeComment(commentWS); - commentStack.splice(i, 1); - } else { - if (commentEnd === nodeStart) { - commentWS.trailingNode = node; +const toNodeDescription = ({ + type, + prefix +}) => type === "UpdateExpression" ? NodeDescriptions.UpdateExpression[String(prefix)] : NodeDescriptions[type]; + +var StandardErrors = (_ => ({ + AccessorIsGenerator: _(({ + kind + }) => `A ${kind}ter cannot be a generator.`), + ArgumentsInClass: _("'arguments' is only allowed in functions and class methods."), + AsyncFunctionInSingleStatementContext: _("Async functions can only be declared at the top level or inside a block."), + AwaitBindingIdentifier: _("Can not use 'await' as identifier inside an async function."), + AwaitBindingIdentifierInStaticBlock: _("Can not use 'await' as identifier inside a static block."), + AwaitExpressionFormalParameter: _("'await' is not allowed in async function parameters."), + AwaitNotInAsyncContext: _("'await' is only allowed within async functions and at the top levels of modules."), + AwaitNotInAsyncFunction: _("'await' is only allowed within async functions."), + BadGetterArity: _("A 'get' accesor must not have any formal parameters."), + BadSetterArity: _("A 'set' accesor must have exactly one formal parameter."), + BadSetterRestParameter: _("A 'set' accesor function argument must not be a rest parameter."), + ConstructorClassField: _("Classes may not have a field named 'constructor'."), + ConstructorClassPrivateField: _("Classes may not have a private field named '#constructor'."), + ConstructorIsAccessor: _("Class constructor may not be an accessor."), + ConstructorIsAsync: _("Constructor can't be an async function."), + ConstructorIsGenerator: _("Constructor can't be a generator."), + DeclarationMissingInitializer: _(({ + kind + }) => `Missing initializer in ${kind} declaration.`), + DecoratorBeforeExport: _("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."), + DecoratorConstructor: _("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"), + DecoratorExportClass: _("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."), + DecoratorSemicolon: _("Decorators must not be followed by a semicolon."), + DecoratorStaticBlock: _("Decorators can't be used with a static block."), + DeletePrivateField: _("Deleting a private field is not allowed."), + DestructureNamedImport: _("ES2015 named imports do not destructure. Use another statement for destructuring after the import."), + DuplicateConstructor: _("Duplicate constructor in the same class."), + DuplicateDefaultExport: _("Only one default export allowed per module."), + DuplicateExport: _(({ + exportName + }) => `\`${exportName}\` has already been exported. Exported identifiers must be unique.`), + DuplicateProto: _("Redefinition of __proto__ property."), + DuplicateRegExpFlags: _("Duplicate regular expression flag."), + ElementAfterRest: _("Rest element must be last element."), + EscapedCharNotAnIdentifier: _("Invalid Unicode escape."), + ExportBindingIsString: _(({ + localName, + exportName + }) => `A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${localName}' as '${exportName}' } from 'some-module'\`?`), + ExportDefaultFromAsIdentifier: _("'from' is not allowed as an identifier after 'export default'."), + ForInOfLoopInitializer: _(({ + type + }) => `'${type === "ForInStatement" ? "for-in" : "for-of"}' loop variable declaration may not have an initializer.`), + ForOfAsync: _("The left-hand side of a for-of loop may not be 'async'."), + ForOfLet: _("The left-hand side of a for-of loop may not start with 'let'."), + GeneratorInSingleStatementContext: _("Generators can only be declared at the top level or inside a block."), + IllegalBreakContinue: _(({ + type + }) => `Unsyntactic ${type === "BreakStatement" ? "break" : "continue"}.`), + IllegalLanguageModeDirective: _("Illegal 'use strict' directive in function with non-simple parameter list."), + IllegalReturn: _("'return' outside of function."), + ImportBindingIsString: _(({ + importName + }) => `A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${importName}" as foo }\`?`), + ImportCallArgumentTrailingComma: _("Trailing comma is disallowed inside import(...) arguments."), + ImportCallArity: _(({ + maxArgumentCount + }) => `\`import()\` requires exactly ${maxArgumentCount === 1 ? "one argument" : "one or two arguments"}.`), + ImportCallNotNewExpression: _("Cannot use new with import(...)."), + ImportCallSpreadArgument: _("`...` is not allowed in `import()`."), + ImportJSONBindingNotDefault: _("A JSON module can only be imported with `default`."), + IncompatibleRegExpUVFlags: _("The 'u' and 'v' regular expression flags cannot be enabled at the same time."), + InvalidBigIntLiteral: _("Invalid BigIntLiteral."), + InvalidCodePoint: _("Code point out of bounds."), + InvalidCoverInitializedName: _("Invalid shorthand property initializer."), + InvalidDecimal: _("Invalid decimal."), + InvalidDigit: _(({ + radix + }) => `Expected number in radix ${radix}.`), + InvalidEscapeSequence: _("Bad character escape sequence."), + InvalidEscapeSequenceTemplate: _("Invalid escape sequence in template."), + InvalidEscapedReservedWord: _(({ + reservedWord + }) => `Escape sequence in keyword ${reservedWord}.`), + InvalidIdentifier: _(({ + identifierName + }) => `Invalid identifier ${identifierName}.`), + InvalidLhs: _(({ + ancestor + }) => `Invalid left-hand side in ${toNodeDescription(ancestor)}.`), + InvalidLhsBinding: _(({ + ancestor + }) => `Binding invalid left-hand side in ${toNodeDescription(ancestor)}.`), + InvalidNumber: _("Invalid number."), + InvalidOrMissingExponent: _("Floating-point numbers require a valid exponent after the 'e'."), + InvalidOrUnexpectedToken: _(({ + unexpected + }) => `Unexpected character '${unexpected}'.`), + InvalidParenthesizedAssignment: _("Invalid parenthesized assignment pattern."), + InvalidPrivateFieldResolution: _(({ + identifierName + }) => `Private name #${identifierName} is not defined.`), + InvalidPropertyBindingPattern: _("Binding member expression."), + InvalidRecordProperty: _("Only properties and spread elements are allowed in record definitions."), + InvalidRestAssignmentPattern: _("Invalid rest operator's argument."), + LabelRedeclaration: _(({ + labelName + }) => `Label '${labelName}' is already declared.`), + LetInLexicalBinding: _("'let' is not allowed to be used as a name in 'let' or 'const' declarations."), + LineTerminatorBeforeArrow: _("No line break is allowed before '=>'."), + MalformedRegExpFlags: _("Invalid regular expression flag."), + MissingClassName: _("A class name is required."), + MissingEqInAssignment: _("Only '=' operator can be used for specifying default value."), + MissingSemicolon: _("Missing semicolon."), + MissingPlugin: _(({ + missingPlugin + }) => `This experimental syntax requires enabling the parser plugin: ${missingPlugin.map(name => JSON.stringify(name)).join(", ")}.`), + MissingOneOfPlugins: _(({ + missingPlugin + }) => `This experimental syntax requires enabling one of the following parser plugin(s): ${missingPlugin.map(name => JSON.stringify(name)).join(", ")}.`), + MissingUnicodeEscape: _("Expecting Unicode escape sequence \\uXXXX."), + MixingCoalesceWithLogical: _("Nullish coalescing operator(??) requires parens when mixing with logical operators."), + ModuleAttributeDifferentFromType: _("The only accepted module attribute is `type`."), + ModuleAttributeInvalidValue: _("Only string literals are allowed as module attribute values."), + ModuleAttributesWithDuplicateKeys: _(({ + key + }) => `Duplicate key "${key}" is not allowed in module attributes.`), + ModuleExportNameHasLoneSurrogate: _(({ + surrogateCharCode + }) => `An export name cannot include a lone surrogate, found '\\u${surrogateCharCode.toString(16)}'.`), + ModuleExportUndefined: _(({ + localName + }) => `Export '${localName}' is not defined.`), + MultipleDefaultsInSwitch: _("Multiple default clauses."), + NewlineAfterThrow: _("Illegal newline after throw."), + NoCatchOrFinally: _("Missing catch or finally clause."), + NumberIdentifier: _("Identifier directly after number."), + NumericSeparatorInEscapeSequence: _("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."), + ObsoleteAwaitStar: _("'await*' has been removed from the async functions proposal. Use Promise.all() instead."), + OptionalChainingNoNew: _("Constructors in/after an Optional Chain are not allowed."), + OptionalChainingNoTemplate: _("Tagged Template Literals are not allowed in optionalChain."), + OverrideOnConstructor: _("'override' modifier cannot appear on a constructor declaration."), + ParamDupe: _("Argument name clash."), + PatternHasAccessor: _("Object pattern can't contain getter or setter."), + PatternHasMethod: _("Object pattern can't contain methods."), + PrivateInExpectedIn: _(({ + identifierName + }) => `Private names are only allowed in property accesses (\`obj.#${identifierName}\`) or in \`in\` expressions (\`#${identifierName} in obj\`).`), + PrivateNameRedeclaration: _(({ + identifierName + }) => `Duplicate private name #${identifierName}.`), + RecordExpressionBarIncorrectEndSyntaxType: _("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."), + RecordExpressionBarIncorrectStartSyntaxType: _("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."), + RecordExpressionHashIncorrectStartSyntaxType: _("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."), + RecordNoProto: _("'__proto__' is not allowed in Record expressions."), + RestTrailingComma: _("Unexpected trailing comma after rest element."), + SloppyFunction: _("In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement."), + StaticPrototype: _("Classes may not have static property named prototype."), + SuperNotAllowed: _("`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?"), + SuperPrivateField: _("Private fields can't be accessed on super."), + TrailingDecorator: _("Decorators must be attached to a class element."), + TupleExpressionBarIncorrectEndSyntaxType: _("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."), + TupleExpressionBarIncorrectStartSyntaxType: _("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."), + TupleExpressionHashIncorrectStartSyntaxType: _("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."), + UnexpectedArgumentPlaceholder: _("Unexpected argument placeholder."), + UnexpectedAwaitAfterPipelineBody: _('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'), + UnexpectedDigitAfterHash: _("Unexpected digit after hash token."), + UnexpectedImportExport: _("'import' and 'export' may only appear at the top level."), + UnexpectedKeyword: _(({ + keyword + }) => `Unexpected keyword '${keyword}'.`), + UnexpectedLeadingDecorator: _("Leading decorators must be attached to a class declaration."), + UnexpectedLexicalDeclaration: _("Lexical declaration cannot appear in a single-statement context."), + UnexpectedNewTarget: _("`new.target` can only be used in functions or class properties."), + UnexpectedNumericSeparator: _("A numeric separator is only allowed between two digits."), + UnexpectedPrivateField: _("Unexpected private name."), + UnexpectedReservedWord: _(({ + reservedWord + }) => `Unexpected reserved word '${reservedWord}'.`), + UnexpectedSuper: _("'super' is only allowed in object methods and classes."), + UnexpectedToken: _(({ + expected, + unexpected + }) => `Unexpected token${unexpected ? ` '${unexpected}'.` : ""}${expected ? `, expected "${expected}"` : ""}`), + UnexpectedTokenUnaryExponentiation: _("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."), + UnsupportedBind: _("Binding should be performed on object property."), + UnsupportedDecoratorExport: _("A decorated export must export a class declaration."), + UnsupportedDefaultExport: _("Only expressions, functions or classes are allowed as the `default` export."), + UnsupportedImport: _("`import` can only be used in `import()` or `import.meta`."), + UnsupportedMetaProperty: _(({ + target, + onlyValidPropertyName + }) => `The only valid meta property for ${target} is ${target}.${onlyValidPropertyName}.`), + UnsupportedParameterDecorator: _("Decorators cannot be used to decorate parameters."), + UnsupportedPropertyDecorator: _("Decorators cannot be used to decorate object literal properties."), + UnsupportedSuper: _("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."), + UnterminatedComment: _("Unterminated comment."), + UnterminatedRegExp: _("Unterminated regular expression."), + UnterminatedString: _("Unterminated string constant."), + UnterminatedTemplate: _("Unterminated template."), + VarRedeclaration: _(({ + identifierName + }) => `Identifier '${identifierName}' has already been declared.`), + YieldBindingIdentifier: _("Can not use 'yield' as identifier inside a generator."), + YieldInParameter: _("Yield expression is not allowed in formal parameters."), + ZeroDigitNumericSeparator: _("Numeric separator can not be used after leading 0.") +})); + +var StrictModeErrors = (_ => ({ + StrictDelete: _("Deleting local variable in strict mode."), + StrictEvalArguments: _(({ + referenceName + }) => `Assigning to '${referenceName}' in strict mode.`), + StrictEvalArgumentsBinding: _(({ + bindingName + }) => `Binding '${bindingName}' in strict mode.`), + StrictFunction: _("In strict mode code, functions can only be declared at top level or inside a block."), + StrictNumericEscape: _("The only valid numeric escape in strict mode is '\\0'."), + StrictOctalLiteral: _("Legacy octal literals are not allowed in strict mode."), + StrictWith: _("'with' in strict mode.") +})); + +const UnparenthesizedPipeBodyDescriptions = new Set(["ArrowFunctionExpression", "AssignmentExpression", "ConditionalExpression", "YieldExpression"]); +var PipelineOperatorErrors = (_ => ({ + PipeBodyIsTighter: _("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."), + PipeTopicRequiresHackPipes: _('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'), + PipeTopicUnbound: _("Topic reference is unbound; it must be inside a pipe body."), + PipeTopicUnconfiguredToken: _(({ + token + }) => `Invalid topic token ${token}. In order to use ${token} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${token}" }.`), + PipeTopicUnused: _("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."), + PipeUnparenthesizedBody: _(({ + type + }) => `Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({ + type + })}; please wrap it in parentheses.`), + PipelineBodyNoArrow: _('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'), + PipelineBodySequenceExpression: _("Pipeline body may not be a comma-separated sequence expression."), + PipelineHeadSequenceExpression: _("Pipeline head should not be a comma-separated sequence expression."), + PipelineTopicUnused: _("Pipeline is in topic style but does not use topic reference."), + PrimaryTopicNotAllowed: _("Topic reference was used in a lexical context without topic binding."), + PrimaryTopicRequiresSmartPipeline: _('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.') +})); + +const _excluded$1 = ["toMessage"]; + +function toParseErrorConstructor(_ref) { + let { + toMessage + } = _ref, + properties = _objectWithoutPropertiesLoose(_ref, _excluded$1); + + return function constructor({ + loc, + details + }) { + return instantiate(SyntaxError, Object.assign({}, properties, { + loc + }), { + clone(overrides = {}) { + const loc = overrides.loc || {}; + return constructor({ + loc: new Position("line" in loc ? loc.line : this.loc.line, "column" in loc ? loc.column : this.loc.column, "index" in loc ? loc.index : this.loc.index), + details: Object.assign({}, this.details, overrides.details) + }); + }, + + details: { + value: details, + enumerable: false + }, + message: { + get() { + return `${toMessage(this.details)} (${this.loc.line}:${this.loc.column})`; + }, + + set(value) { + Object.defineProperty(this, "message", { + value + }); } - break; + }, + pos: { + reflect: "loc.index", + enumerable: true + }, + missingPlugin: "missingPlugin" in details && { + reflect: "details.missingPlugin", + enumerable: true } - } - } - - finalizeComment(commentWS) { - const { - comments - } = commentWS; - - if (commentWS.leadingNode !== null || commentWS.trailingNode !== null) { - if (commentWS.leadingNode !== null) { - setTrailingComments(commentWS.leadingNode, comments); - } - - if (commentWS.trailingNode !== null) { - setLeadingComments(commentWS.trailingNode, comments); - } - } else { - const { - containingNode: node, - start: commentStart - } = commentWS; - - if (this.input.charCodeAt(commentStart - 1) === 44) { - switch (node.type) { - case "ObjectExpression": - case "ObjectPattern": - case "RecordExpression": - adjustInnerComments(node, node.properties, commentWS); - break; - - case "CallExpression": - case "OptionalCallExpression": - adjustInnerComments(node, node.arguments, commentWS); - break; - - case "FunctionDeclaration": - case "FunctionExpression": - case "ArrowFunctionExpression": - case "ObjectMethod": - case "ClassMethod": - case "ClassPrivateMethod": - adjustInnerComments(node, node.params, commentWS); - break; - - case "ArrayExpression": - case "ArrayPattern": - case "TupleExpression": - adjustInnerComments(node, node.elements, commentWS); - break; - - case "ExportNamedDeclaration": - case "ImportDeclaration": - adjustInnerComments(node, node.specifiers, commentWS); - break; - - default: - { - setInnerComments(node, comments); - } - } - } else { - setInnerComments(node, comments); - } - } - } - - finalizeRemainingComments() { - const { - commentStack - } = this.state; - - for (let i = commentStack.length - 1; i >= 0; i--) { - this.finalizeComment(commentStack[i]); - } - - this.state.commentStack = []; - } - - resetPreviousNodeTrailingComments(node) { - const { - commentStack - } = this.state; - const { - length - } = commentStack; - if (length === 0) return; - const commentWS = commentStack[length - 1]; + }); + }; +} - if (commentWS.leadingNode === node) { - commentWS.leadingNode = null; - } +function toParseErrorCredentials(toMessageOrMessage, credentials) { + return Object.assign({ + toMessage: typeof toMessageOrMessage === "string" ? () => toMessageOrMessage : toMessageOrMessage + }, credentials); +} +function ParseErrorEnum(argument, syntaxPlugin) { + if (Array.isArray(argument)) { + return toParseErrorCredentialsMap => ParseErrorEnum(toParseErrorCredentialsMap, argument[0]); } - takeSurroundingComments(node, start, end) { - const { - commentStack - } = this.state; - const commentStackLength = commentStack.length; - if (commentStackLength === 0) return; - let i = commentStackLength - 1; - - for (; i >= 0; i--) { - const commentWS = commentStack[i]; - const commentEnd = commentWS.end; - const commentStart = commentWS.start; + const partialCredentials = argument(toParseErrorCredentials); + const ParseErrorConstructors = {}; - if (commentStart === end) { - commentWS.leadingNode = node; - } else if (commentEnd === start) { - commentWS.trailingNode = node; - } else if (commentEnd < start) { - break; - } - } + for (const reasonCode of Object.keys(partialCredentials)) { + ParseErrorConstructors[reasonCode] = toParseErrorConstructor(Object.assign({ + code: ParseErrorCodes.SyntaxError, + reasonCode + }, syntaxPlugin ? { + syntaxPlugin + } : {}, partialCredentials[reasonCode])); } + return ParseErrorConstructors; } +const Errors = Object.assign({}, ParseErrorEnum(ModuleErrors), ParseErrorEnum(StandardErrors), ParseErrorEnum(StrictModeErrors), ParseErrorEnum`pipelineOperator`(PipelineOperatorErrors)); -const ErrorCodes = Object.freeze({ - SyntaxError: "BABEL_PARSER_SYNTAX_ERROR", - SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED" +const { + defineProperty +} = Object; + +const toUnenumerable = (object, key) => defineProperty(object, key, { + enumerable: false, + value: object[key] }); -const ErrorMessages = makeErrorTemplates({ - AccessorIsGenerator: "A %0ter cannot be a generator.", - ArgumentsInClass: "'arguments' is only allowed in functions and class methods.", - AsyncFunctionInSingleStatementContext: "Async functions can only be declared at the top level or inside a block.", - AwaitBindingIdentifier: "Can not use 'await' as identifier inside an async function.", - AwaitBindingIdentifierInStaticBlock: "Can not use 'await' as identifier inside a static block.", - AwaitExpressionFormalParameter: "'await' is not allowed in async function parameters.", - AwaitNotInAsyncContext: "'await' is only allowed within async functions and at the top levels of modules.", - AwaitNotInAsyncFunction: "'await' is only allowed within async functions.", - BadGetterArity: "A 'get' accesor must not have any formal parameters.", - BadSetterArity: "A 'set' accesor must have exactly one formal parameter.", - BadSetterRestParameter: "A 'set' accesor function argument must not be a rest parameter.", - ConstructorClassField: "Classes may not have a field named 'constructor'.", - ConstructorClassPrivateField: "Classes may not have a private field named '#constructor'.", - ConstructorIsAccessor: "Class constructor may not be an accessor.", - ConstructorIsAsync: "Constructor can't be an async function.", - ConstructorIsGenerator: "Constructor can't be a generator.", - DeclarationMissingInitializer: "'%0' require an initialization value.", - DecoratorBeforeExport: "Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.", - DecoratorConstructor: "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?", - DecoratorExportClass: "Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.", - DecoratorSemicolon: "Decorators must not be followed by a semicolon.", - DecoratorStaticBlock: "Decorators can't be used with a static block.", - DeletePrivateField: "Deleting a private field is not allowed.", - DestructureNamedImport: "ES2015 named imports do not destructure. Use another statement for destructuring after the import.", - DuplicateConstructor: "Duplicate constructor in the same class.", - DuplicateDefaultExport: "Only one default export allowed per module.", - DuplicateExport: "`%0` has already been exported. Exported identifiers must be unique.", - DuplicateProto: "Redefinition of __proto__ property.", - DuplicateRegExpFlags: "Duplicate regular expression flag.", - ElementAfterRest: "Rest element must be last element.", - EscapedCharNotAnIdentifier: "Invalid Unicode escape.", - ExportBindingIsString: "A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?", - ExportDefaultFromAsIdentifier: "'from' is not allowed as an identifier after 'export default'.", - ForInOfLoopInitializer: "'%0' loop variable declaration may not have an initializer.", - ForOfAsync: "The left-hand side of a for-of loop may not be 'async'.", - ForOfLet: "The left-hand side of a for-of loop may not start with 'let'.", - GeneratorInSingleStatementContext: "Generators can only be declared at the top level or inside a block.", - IllegalBreakContinue: "Unsyntactic %0.", - IllegalLanguageModeDirective: "Illegal 'use strict' directive in function with non-simple parameter list.", - IllegalReturn: "'return' outside of function.", - ImportBindingIsString: 'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?', - ImportCallArgumentTrailingComma: "Trailing comma is disallowed inside import(...) arguments.", - ImportCallArity: "`import()` requires exactly %0.", - ImportCallNotNewExpression: "Cannot use new with import(...).", - ImportCallSpreadArgument: "`...` is not allowed in `import()`.", - InvalidBigIntLiteral: "Invalid BigIntLiteral.", - InvalidCodePoint: "Code point out of bounds.", - InvalidCoverInitializedName: "Invalid shorthand property initializer.", - InvalidDecimal: "Invalid decimal.", - InvalidDigit: "Expected number in radix %0.", - InvalidEscapeSequence: "Bad character escape sequence.", - InvalidEscapeSequenceTemplate: "Invalid escape sequence in template.", - InvalidEscapedReservedWord: "Escape sequence in keyword %0.", - InvalidIdentifier: "Invalid identifier %0.", - InvalidLhs: "Invalid left-hand side in %0.", - InvalidLhsBinding: "Binding invalid left-hand side in %0.", - InvalidNumber: "Invalid number.", - InvalidOrMissingExponent: "Floating-point numbers require a valid exponent after the 'e'.", - InvalidOrUnexpectedToken: "Unexpected character '%0'.", - InvalidParenthesizedAssignment: "Invalid parenthesized assignment pattern.", - InvalidPrivateFieldResolution: "Private name #%0 is not defined.", - InvalidPropertyBindingPattern: "Binding member expression.", - InvalidRecordProperty: "Only properties and spread elements are allowed in record definitions.", - InvalidRestAssignmentPattern: "Invalid rest operator's argument.", - LabelRedeclaration: "Label '%0' is already declared.", - LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations.", - LineTerminatorBeforeArrow: "No line break is allowed before '=>'.", - MalformedRegExpFlags: "Invalid regular expression flag.", - MissingClassName: "A class name is required.", - MissingEqInAssignment: "Only '=' operator can be used for specifying default value.", - MissingSemicolon: "Missing semicolon.", - MissingUnicodeEscape: "Expecting Unicode escape sequence \\uXXXX.", - MixingCoalesceWithLogical: "Nullish coalescing operator(??) requires parens when mixing with logical operators.", - ModuleAttributeDifferentFromType: "The only accepted module attribute is `type`.", - ModuleAttributeInvalidValue: "Only string literals are allowed as module attribute values.", - ModuleAttributesWithDuplicateKeys: 'Duplicate key "%0" is not allowed in module attributes.', - ModuleExportNameHasLoneSurrogate: "An export name cannot include a lone surrogate, found '\\u%0'.", - ModuleExportUndefined: "Export '%0' is not defined.", - MultipleDefaultsInSwitch: "Multiple default clauses.", - NewlineAfterThrow: "Illegal newline after throw.", - NoCatchOrFinally: "Missing catch or finally clause.", - NumberIdentifier: "Identifier directly after number.", - NumericSeparatorInEscapeSequence: "Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.", - ObsoleteAwaitStar: "'await*' has been removed from the async functions proposal. Use Promise.all() instead.", - OptionalChainingNoNew: "Constructors in/after an Optional Chain are not allowed.", - OptionalChainingNoTemplate: "Tagged Template Literals are not allowed in optionalChain.", - OverrideOnConstructor: "'override' modifier cannot appear on a constructor declaration.", - ParamDupe: "Argument name clash.", - PatternHasAccessor: "Object pattern can't contain getter or setter.", - PatternHasMethod: "Object pattern can't contain methods.", - PipeBodyIsTighter: "Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.", - PipeTopicRequiresHackPipes: 'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.', - PipeTopicUnbound: "Topic reference is unbound; it must be inside a pipe body.", - PipeTopicUnconfiguredToken: 'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.', - PipeTopicUnused: "Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.", - PipeUnparenthesizedBody: "Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.", - PipelineBodyNoArrow: 'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.', - PipelineBodySequenceExpression: "Pipeline body may not be a comma-separated sequence expression.", - PipelineHeadSequenceExpression: "Pipeline head should not be a comma-separated sequence expression.", - PipelineTopicUnused: "Pipeline is in topic style but does not use topic reference.", - PrimaryTopicNotAllowed: "Topic reference was used in a lexical context without topic binding.", - PrimaryTopicRequiresSmartPipeline: 'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.', - PrivateInExpectedIn: "Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).", - PrivateNameRedeclaration: "Duplicate private name #%0.", - RecordExpressionBarIncorrectEndSyntaxType: "Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.", - RecordExpressionBarIncorrectStartSyntaxType: "Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.", - RecordExpressionHashIncorrectStartSyntaxType: "Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.", - RecordNoProto: "'__proto__' is not allowed in Record expressions.", - RestTrailingComma: "Unexpected trailing comma after rest element.", - SloppyFunction: "In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.", - StaticPrototype: "Classes may not have static property named prototype.", - StrictDelete: "Deleting local variable in strict mode.", - StrictEvalArguments: "Assigning to '%0' in strict mode.", - StrictEvalArgumentsBinding: "Binding '%0' in strict mode.", - StrictFunction: "In strict mode code, functions can only be declared at top level or inside a block.", - StrictNumericEscape: "The only valid numeric escape in strict mode is '\\0'.", - StrictOctalLiteral: "Legacy octal literals are not allowed in strict mode.", - StrictWith: "'with' in strict mode.", - SuperNotAllowed: "`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?", - SuperPrivateField: "Private fields can't be accessed on super.", - TrailingDecorator: "Decorators must be attached to a class element.", - TupleExpressionBarIncorrectEndSyntaxType: "Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.", - TupleExpressionBarIncorrectStartSyntaxType: "Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.", - TupleExpressionHashIncorrectStartSyntaxType: "Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.", - UnexpectedArgumentPlaceholder: "Unexpected argument placeholder.", - UnexpectedAwaitAfterPipelineBody: 'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.', - UnexpectedDigitAfterHash: "Unexpected digit after hash token.", - UnexpectedImportExport: "'import' and 'export' may only appear at the top level.", - UnexpectedKeyword: "Unexpected keyword '%0'.", - UnexpectedLeadingDecorator: "Leading decorators must be attached to a class declaration.", - UnexpectedLexicalDeclaration: "Lexical declaration cannot appear in a single-statement context.", - UnexpectedNewTarget: "`new.target` can only be used in functions or class properties.", - UnexpectedNumericSeparator: "A numeric separator is only allowed between two digits.", - UnexpectedPrivateField: "Unexpected private name.", - UnexpectedReservedWord: "Unexpected reserved word '%0'.", - UnexpectedSuper: "'super' is only allowed in object methods and classes.", - UnexpectedToken: "Unexpected token '%0'.", - UnexpectedTokenUnaryExponentiation: "Illegal expression. Wrap left hand side or entire exponentiation in parentheses.", - UnsupportedBind: "Binding should be performed on object property.", - UnsupportedDecoratorExport: "A decorated export must export a class declaration.", - UnsupportedDefaultExport: "Only expressions, functions or classes are allowed as the `default` export.", - UnsupportedImport: "`import` can only be used in `import()` or `import.meta`.", - UnsupportedMetaProperty: "The only valid meta property for %0 is %0.%1.", - UnsupportedParameterDecorator: "Decorators cannot be used to decorate parameters.", - UnsupportedPropertyDecorator: "Decorators cannot be used to decorate object literal properties.", - UnsupportedSuper: "'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).", - UnterminatedComment: "Unterminated comment.", - UnterminatedRegExp: "Unterminated regular expression.", - UnterminatedString: "Unterminated string constant.", - UnterminatedTemplate: "Unterminated template.", - VarRedeclaration: "Identifier '%0' has already been declared.", - YieldBindingIdentifier: "Can not use 'yield' as identifier inside a generator.", - YieldInParameter: "Yield expression is not allowed in formal parameters.", - ZeroDigitNumericSeparator: "Numeric separator can not be used after leading 0." -}, ErrorCodes.SyntaxError); -const SourceTypeModuleErrorMessages = makeErrorTemplates({ - ImportMetaOutsideModule: `import.meta may appear only with 'sourceType: "module"'`, - ImportOutsideModule: `'import' and 'export' may appear only with 'sourceType: "module"'` -}, ErrorCodes.SourceTypeModuleError); - -function keepReasonCodeCompat(reasonCode, syntaxPlugin) { - { - if (syntaxPlugin === "flow" && reasonCode === "PatternIsOptional") { - return "OptionalBindingPattern"; - } - } - return reasonCode; +function toESTreeLocation(node) { + node.loc.start && toUnenumerable(node.loc.start, "index"); + node.loc.end && toUnenumerable(node.loc.end, "index"); + return node; } -function makeErrorTemplates(messages, code, syntaxPlugin) { - const templates = {}; - Object.keys(messages).forEach(reasonCode => { - templates[reasonCode] = Object.freeze({ - code, - reasonCode: keepReasonCodeCompat(reasonCode, syntaxPlugin), - template: messages[reasonCode] - }); - }); - return Object.freeze(templates); -} -class ParserError extends CommentsParser { - raise({ - code, - reasonCode, - template - }, origin, ...params) { - return this.raiseWithData(origin.node ? origin.node.loc.start : origin.at, { - code, - reasonCode - }, template, ...params); - } - - raiseOverwrite(loc, { - code, - template - }, ...params) { - const pos = indexes.get(loc); - const message = template.replace(/%(\d+)/g, (_, i) => params[i]) + ` (${loc.line}:${loc.column})`; - - if (this.options.errorRecovery) { - const errors = this.state.errors; - - for (let i = errors.length - 1; i >= 0; i--) { - const error = errors[i]; +var estree = (superClass => class extends superClass { + parse() { + const file = toESTreeLocation(super.parse()); - if (error.pos === pos) { - return Object.assign(error, { - message - }); - } else if (error.pos < pos) { - break; - } - } + if (this.options.tokens) { + file.tokens = file.tokens.map(toESTreeLocation); } - return this._raise({ - code, - loc, - pos - }, message); - } - - raiseWithData(loc, data, errorTemplate, ...params) { - const pos = indexes.get(loc); - const message = errorTemplate.replace(/%(\d+)/g, (_, i) => params[i]) + ` (${loc.line}:${loc.column})`; - return this._raise(Object.assign({ - loc, - pos - }, data), message); - } - - _raise(errorContext, message) { - const err = new SyntaxError(message); - Object.assign(err, errorContext); - - if (this.options.errorRecovery) { - if (!this.isLookahead) this.state.errors.push(err); - return err; - } else { - throw err; - } + return file; } -} - -var estree = (superClass => class extends superClass { parseRegExpLiteral({ pattern, flags @@ -739,6 +669,10 @@ var estree = (superClass => class extends superClass { return node; } + isValidLVal(type, ...rest) { + return type === "Property" ? "value" : super.isValidLVal(type, ...rest); + } + isAssignable(node, isBinding) { if (node != null && this.isObjectProperty(node)) { return this.isAssignable(node.value, isBinding); @@ -749,24 +683,32 @@ var estree = (superClass => class extends superClass { toAssignable(node, isLHS = false) { if (node != null && this.isObjectProperty(node)) { - this.toAssignable(node.value, isLHS); - return node; - } + const { + key, + value + } = node; - return super.toAssignable(node, isLHS); + if (this.isPrivateName(key)) { + this.classScope.usePrivateName(this.getPrivateNameSV(key), key.loc.start); + } + + this.toAssignable(value, isLHS); + } else { + super.toAssignable(node, isLHS); + } } - toAssignableObjectExpressionProp(prop, ...args) { + toAssignableObjectExpressionProp(prop) { if (prop.kind === "get" || prop.kind === "set") { - this.raise(ErrorMessages.PatternHasAccessor, { - node: prop.key + this.raise(Errors.PatternHasAccessor, { + at: prop.key }); } else if (prop.method) { - this.raise(ErrorMessages.PatternHasMethod, { - node: prop.key + this.raise(Errors.PatternHasMethod, { + at: prop.key }); } else { - super.toAssignableObjectExpressionProp(prop, ...args); + super.toAssignableObjectExpressionProp(...arguments); } } @@ -859,6 +801,20 @@ var estree = (superClass => class extends superClass { return node.method || node.kind === "get" || node.kind === "set"; } + finishNodeAt(node, type, endLoc) { + return toESTreeLocation(super.finishNodeAt(node, type, endLoc)); + } + + resetStartLocation(node, start, startLoc) { + super.resetStartLocation(node, start, startLoc); + toESTreeLocation(node); + } + + resetEndLocation(node, endLoc = this.state.lastTokEndLoc) { + super.resetEndLocation(node, endLoc); + toESTreeLocation(node); + } + }); class TokContext { @@ -992,9 +948,7 @@ const tt = { beforeExpr, startsExpr }), - braceR: createToken("}", { - beforeExpr - }), + braceR: createToken("}"), braceBarR: createToken("|}"), parenL: createToken("(", { beforeExpr, @@ -1079,6 +1033,12 @@ const tt = { prefix, startsExpr }), + doubleCaret: createToken("^^", { + startsExpr + }), + doubleAt: createToken("@@", { + startsExpr + }), pipeline: createBinop("|>", 0), nullishCoalescing: createBinop("??", 1), logicalOR: createBinop("||", 1), @@ -1091,6 +1051,8 @@ const tt = { gt: createBinop("/<=/>=", 7), relational: createBinop("/<=/>=", 7), bitShift: createBinop("<>/>>>", 8), + bitShiftL: createBinop("<>/>>>", 8), + bitShiftR: createBinop("<>/>>>", 8), plusMin: createToken("+/-", { beforeExpr, binop: 9, @@ -1343,16 +1305,16 @@ const tt = { }) }; function tokenIsIdentifier(token) { - return token >= 89 && token <= 124; + return token >= 93 && token <= 128; } function tokenKeywordOrIdentifierIsKeyword(token) { - return token <= 88; + return token <= 92; } function tokenIsKeywordOrIdentifier(token) { - return token >= 54 && token <= 124; + return token >= 58 && token <= 128; } function tokenIsLiteralPropertyName(token) { - return token >= 54 && token <= 128; + return token >= 58 && token <= 132; } function tokenComesBeforeExpression(token) { return tokenBeforeExprs[token]; @@ -1364,16 +1326,16 @@ function tokenIsAssignment(token) { return token >= 29 && token <= 33; } function tokenIsFlowInterfaceOrTypeOrOpaque(token) { - return token >= 121 && token <= 123; + return token >= 125 && token <= 127; } function tokenIsLoop(token) { - return token >= 86 && token <= 88; + return token >= 90 && token <= 92; } function tokenIsKeyword(token) { - return token >= 54 && token <= 88; + return token >= 58 && token <= 92; } function tokenIsOperator(token) { - return token >= 37 && token <= 55; + return token >= 39 && token <= 59; } function tokenIsPostfix(token) { return token === 34; @@ -1382,10 +1344,10 @@ function tokenIsPrefix(token) { return tokenPrefixes[token]; } function tokenIsTSTypeOperator(token) { - return token >= 113 && token <= 115; + return token >= 117 && token <= 119; } function tokenIsTSDeclarationStart(token) { - return token >= 116 && token <= 122; + return token >= 120 && token <= 126; } function tokenLabelName(token) { return tokenLabels[token]; @@ -1394,7 +1356,7 @@ function tokenOperatorPrecedence(token) { return tokenBinops[token]; } function tokenIsRightAssociative(token) { - return token === 53; + return token === 57; } function tokenIsTemplate(token) { return token >= 24 && token <= 25; @@ -1419,7 +1381,7 @@ function getExportedToken(token) { } }; - tokenTypes[134].updateContext = context => { + tokenTypes[138].updateContext = context => { context.push(types.j_expr, types.j_oTag); }; } @@ -1496,8 +1458,8 @@ function isKeyword(word) { return keywords.has(word); } -function isIteratorStart(current, next) { - return current === 64 && next === 64; +function isIteratorStart(current, next, next2) { + return current === 64 && next === 64 && isIdentifierStart(next2); } const reservedWordLikeSet = new Set(["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete", "implements", "interface", "let", "package", "private", "protected", "public", "static", "yield", "eval", "arguments", "enum", "await"]); function canBeReservedWord(word) { @@ -1549,222 +1511,233 @@ const CLASS_ELEMENT_STATIC_GETTER = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_FL CLASS_ELEMENT_INSTANCE_SETTER = CLASS_ELEMENT_KIND_SETTER, CLASS_ELEMENT_OTHER = 0; -class Scope { - constructor(flags) { - this.var = new Set(); - this.lexical = new Set(); - this.functions = new Set(); - this.flags = flags; - } - -} -class ScopeHandler { - constructor(raise, inModule) { - this.scopeStack = []; - this.undefinedExports = new Map(); - this.raise = raise; - this.inModule = inModule; - } - - get inFunction() { - return (this.currentVarScopeFlags() & SCOPE_FUNCTION) > 0; - } - - get allowSuper() { - return (this.currentThisScopeFlags() & SCOPE_SUPER) > 0; - } - - get allowDirectSuper() { - return (this.currentThisScopeFlags() & SCOPE_DIRECT_SUPER) > 0; - } - - get inClass() { - return (this.currentThisScopeFlags() & SCOPE_CLASS) > 0; - } - - get inClassAndNotInNonArrowFunction() { - const flags = this.currentThisScopeFlags(); - return (flags & SCOPE_CLASS) > 0 && (flags & SCOPE_FUNCTION) === 0; +class BaseParser { + constructor() { + this.sawUnambiguousESM = false; + this.ambiguousScriptDifferentAst = false; } - get inStaticBlock() { - for (let i = this.scopeStack.length - 1;; i--) { - const { - flags - } = this.scopeStack[i]; - - if (flags & SCOPE_STATIC_BLOCK) { - return true; - } + hasPlugin(pluginConfig) { + if (typeof pluginConfig === "string") { + return this.plugins.has(pluginConfig); + } else { + const [pluginName, pluginOptions] = pluginConfig; - if (flags & (SCOPE_VAR | SCOPE_CLASS)) { + if (!this.hasPlugin(pluginName)) { return false; } - } - } - - get inNonArrowFunction() { - return (this.currentThisScopeFlags() & SCOPE_FUNCTION) > 0; - } - get treatFunctionsAsVar() { - return this.treatFunctionsAsVarInScope(this.currentScope()); - } + const actualOptions = this.plugins.get(pluginName); - createScope(flags) { - return new Scope(flags); - } + for (const key of Object.keys(pluginOptions)) { + if ((actualOptions == null ? void 0 : actualOptions[key]) !== pluginOptions[key]) { + return false; + } + } - enter(flags) { - this.scopeStack.push(this.createScope(flags)); + return true; + } } - exit() { - this.scopeStack.pop(); - } + getPluginOption(plugin, name) { + var _this$plugins$get; - treatFunctionsAsVarInScope(scope) { - return !!(scope.flags & SCOPE_FUNCTION || !this.inModule && scope.flags & SCOPE_PROGRAM); + return (_this$plugins$get = this.plugins.get(plugin)) == null ? void 0 : _this$plugins$get[name]; } - declareName(name, bindingType, loc) { - let scope = this.currentScope(); - - if (bindingType & BIND_SCOPE_LEXICAL || bindingType & BIND_SCOPE_FUNCTION) { - this.checkRedeclarationInScope(scope, name, bindingType, loc); - - if (bindingType & BIND_SCOPE_FUNCTION) { - scope.functions.add(name); - } else { - scope.lexical.add(name); - } - - if (bindingType & BIND_SCOPE_LEXICAL) { - this.maybeExportDefined(scope, name); - } - } else if (bindingType & BIND_SCOPE_VAR) { - for (let i = this.scopeStack.length - 1; i >= 0; --i) { - scope = this.scopeStack[i]; - this.checkRedeclarationInScope(scope, name, bindingType, loc); - scope.var.add(name); - this.maybeExportDefined(scope, name); - if (scope.flags & SCOPE_VAR) break; - } - } +} - if (this.inModule && scope.flags & SCOPE_PROGRAM) { - this.undefinedExports.delete(name); - } +function setTrailingComments(node, comments) { + if (node.trailingComments === undefined) { + node.trailingComments = comments; + } else { + node.trailingComments.unshift(...comments); } +} - maybeExportDefined(scope, name) { - if (this.inModule && scope.flags & SCOPE_PROGRAM) { - this.undefinedExports.delete(name); - } +function setLeadingComments(node, comments) { + if (node.leadingComments === undefined) { + node.leadingComments = comments; + } else { + node.leadingComments.unshift(...comments); } +} - checkRedeclarationInScope(scope, name, bindingType, loc) { - if (this.isRedeclaredInScope(scope, name, bindingType)) { - this.raise(ErrorMessages.VarRedeclaration, { - at: loc - }, name); - } +function setInnerComments(node, comments) { + if (node.innerComments === undefined) { + node.innerComments = comments; + } else { + node.innerComments.unshift(...comments); } +} - isRedeclaredInScope(scope, name, bindingType) { - if (!(bindingType & BIND_KIND_VALUE)) return false; +function adjustInnerComments(node, elements, commentWS) { + let lastElement = null; + let i = elements.length; - if (bindingType & BIND_SCOPE_LEXICAL) { - return scope.lexical.has(name) || scope.functions.has(name) || scope.var.has(name); - } + while (lastElement === null && i > 0) { + lastElement = elements[--i]; + } - if (bindingType & BIND_SCOPE_FUNCTION) { - return scope.lexical.has(name) || !this.treatFunctionsAsVarInScope(scope) && scope.var.has(name); - } + if (lastElement === null || lastElement.start > commentWS.start) { + setInnerComments(node, commentWS.comments); + } else { + setTrailingComments(lastElement, commentWS.comments); + } +} - return scope.lexical.has(name) && !(scope.flags & SCOPE_SIMPLE_CATCH && scope.lexical.values().next().value === name) || !this.treatFunctionsAsVarInScope(scope) && scope.functions.has(name); +class CommentsParser extends BaseParser { + addComment(comment) { + if (this.filename) comment.loc.filename = this.filename; + this.state.comments.push(comment); } - checkLocalExport(id) { + processComment(node) { const { - name - } = id; - const topLevelScope = this.scopeStack[0]; + commentStack + } = this.state; + const commentStackLength = commentStack.length; + if (commentStackLength === 0) return; + let i = commentStackLength - 1; + const lastCommentWS = commentStack[i]; - if (!topLevelScope.lexical.has(name) && !topLevelScope.var.has(name) && !topLevelScope.functions.has(name)) { - this.undefinedExports.set(name, id.loc.start); + if (lastCommentWS.start === node.end) { + lastCommentWS.leadingNode = node; + i--; } - } - currentScope() { - return this.scopeStack[this.scopeStack.length - 1]; - } + const { + start: nodeStart + } = node; - currentVarScopeFlags() { - for (let i = this.scopeStack.length - 1;; i--) { - const { - flags - } = this.scopeStack[i]; + for (; i >= 0; i--) { + const commentWS = commentStack[i]; + const commentEnd = commentWS.end; - if (flags & SCOPE_VAR) { - return flags; + if (commentEnd > nodeStart) { + commentWS.containingNode = node; + this.finalizeComment(commentWS); + commentStack.splice(i, 1); + } else { + if (commentEnd === nodeStart) { + commentWS.trailingNode = node; + } + + break; } } } - currentThisScopeFlags() { - for (let i = this.scopeStack.length - 1;; i--) { - const { - flags - } = this.scopeStack[i]; + finalizeComment(commentWS) { + const { + comments + } = commentWS; - if (flags & (SCOPE_VAR | SCOPE_CLASS) && !(flags & SCOPE_ARROW)) { - return flags; + if (commentWS.leadingNode !== null || commentWS.trailingNode !== null) { + if (commentWS.leadingNode !== null) { + setTrailingComments(commentWS.leadingNode, comments); } - } - } -} + if (commentWS.trailingNode !== null) { + setLeadingComments(commentWS.trailingNode, comments); + } + } else { + const { + containingNode: node, + start: commentStart + } = commentWS; -class FlowScope extends Scope { - constructor(...args) { - super(...args); - this.declareFunctions = new Set(); - } + if (this.input.charCodeAt(commentStart - 1) === 44) { + switch (node.type) { + case "ObjectExpression": + case "ObjectPattern": + case "RecordExpression": + adjustInnerComments(node, node.properties, commentWS); + break; -} + case "CallExpression": + case "OptionalCallExpression": + adjustInnerComments(node, node.arguments, commentWS); + break; -class FlowScopeHandler extends ScopeHandler { - createScope(flags) { - return new FlowScope(flags); + case "FunctionDeclaration": + case "FunctionExpression": + case "ArrowFunctionExpression": + case "ObjectMethod": + case "ClassMethod": + case "ClassPrivateMethod": + adjustInnerComments(node, node.params, commentWS); + break; + + case "ArrayExpression": + case "ArrayPattern": + case "TupleExpression": + adjustInnerComments(node, node.elements, commentWS); + break; + + case "ExportNamedDeclaration": + case "ImportDeclaration": + adjustInnerComments(node, node.specifiers, commentWS); + break; + + default: + { + setInnerComments(node, comments); + } + } + } else { + setInnerComments(node, comments); + } + } } - declareName(name, bindingType, loc) { - const scope = this.currentScope(); + finalizeRemainingComments() { + const { + commentStack + } = this.state; - if (bindingType & BIND_FLAGS_FLOW_DECLARE_FN) { - this.checkRedeclarationInScope(scope, name, bindingType, loc); - this.maybeExportDefined(scope, name); - scope.declareFunctions.add(name); - return; + for (let i = commentStack.length - 1; i >= 0; i--) { + this.finalizeComment(commentStack[i]); } - super.declareName(...arguments); + this.state.commentStack = []; } - isRedeclaredInScope(scope, name, bindingType) { - if (super.isRedeclaredInScope(...arguments)) return true; + resetPreviousNodeTrailingComments(node) { + const { + commentStack + } = this.state; + const { + length + } = commentStack; + if (length === 0) return; + const commentWS = commentStack[length - 1]; - if (bindingType & BIND_FLAGS_FLOW_DECLARE_FN) { - return !scope.declareFunctions.has(name) && (scope.lexical.has(name) || scope.functions.has(name)); + if (commentWS.leadingNode === node) { + commentWS.leadingNode = null; } - - return false; } - checkLocalExport(id) { - if (!this.scopeStack[0].declareFunctions.has(id.name)) { - super.checkLocalExport(id); + takeSurroundingComments(node, start, end) { + const { + commentStack + } = this.state; + const commentStackLength = commentStack.length; + if (commentStackLength === 0) return; + let i = commentStackLength - 1; + + for (; i >= 0; i--) { + const commentWS = commentStack[i]; + const commentEnd = commentWS.end; + const commentStart = commentWS.start; + + if (commentStart === end) { + commentWS.leadingNode = node; + } else if (commentEnd === start) { + commentWS.trailingNode = node; + } else if (commentEnd < start) { + break; + } } } @@ -1834,6 +1807,7 @@ class State { this.hasFlowComment = false; this.isAmbientContext = false; this.inAbstractClass = false; + this.inDisallowConditionalTypesContext = false; this.topicContext = { maxNumOfResolvableTopics: 0, maxTopicIndex: null @@ -1845,7 +1819,7 @@ class State { this.comments = []; this.commentStack = []; this.pos = 0; - this.type = 131; + this.type = 135; this.value = null; this.start = 0; this.end = 0; @@ -1895,19 +1869,23 @@ class State { } +const _excluded = ["at"], + _excluded2 = ["at"]; + var _isDigit = function isDigit(code) { return code >= 48 && code <= 57; }; -const VALID_REGEX_FLAGS = new Set([103, 109, 115, 105, 121, 117, 100]); +const VALID_REGEX_FLAGS = new Set([103, 109, 115, 105, 121, 117, 100, 118]); const forbiddenNumericSeparatorSiblings = { - decBinOct: [46, 66, 69, 79, 95, 98, 101, 111], - hex: [46, 88, 95, 120] + decBinOct: new Set([46, 66, 69, 79, 95, 98, 101, 111]), + hex: new Set([46, 88, 95, 120]) +}; +const isAllowedNumericSeparatorSibling = { + bin: ch => ch === 48 || ch === 49, + oct: ch => ch >= 48 && ch <= 55, + dec: ch => ch >= 48 && ch <= 57, + hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102 }; -const allowedNumericSeparatorSiblings = {}; -allowedNumericSeparatorSiblings.bin = [48, 49]; -allowedNumericSeparatorSiblings.oct = [...allowedNumericSeparatorSiblings.bin, 50, 51, 52, 53, 54, 55]; -allowedNumericSeparatorSiblings.dec = [...allowedNumericSeparatorSiblings.oct, 56, 57]; -allowedNumericSeparatorSiblings.hex = [...allowedNumericSeparatorSiblings.dec, 65, 66, 67, 68, 69, 70, 97, 98, 99, 100, 101, 102]; class Token { constructor(state) { this.type = state.type; @@ -1918,7 +1896,7 @@ class Token { } } -class Tokenizer extends ParserError { +class Tokenizer extends CommentsParser { constructor(options, input) { super(); this.isLookahead = void 0; @@ -2021,11 +1999,8 @@ class Tokenizer extends ParserError { this.state.strict = strict; if (strict) { - this.state.strictErrors.forEach(({ - message, - loc - }) => this.raise(message, { - at: loc + this.state.strictErrors.forEach(([toParseError, at]) => this.raise(toParseError, { + at })); this.state.strictErrors.clear(); } @@ -2041,7 +2016,7 @@ class Tokenizer extends ParserError { if (!this.isLookahead) this.state.startLoc = this.state.curPosition(); if (this.state.pos >= this.length) { - this.finishToken(131); + this.finishToken(135); return; } @@ -2055,7 +2030,7 @@ class Tokenizer extends ParserError { const end = this.input.indexOf("*/", start + 2); if (end === -1) { - throw this.raise(ErrorMessages.UnterminatedComment, { + throw this.raise(Errors.UnterminatedComment, { at: this.state.curPosition() }); } @@ -2241,7 +2216,7 @@ class Tokenizer extends ParserError { const next = this.codePointAtPos(nextPos); if (next >= 48 && next <= 57) { - throw this.raise(ErrorMessages.UnexpectedDigitAfterHash, { + throw this.raise(Errors.UnexpectedDigitAfterHash, { at: this.state.curPosition() }); } @@ -2250,7 +2225,7 @@ class Tokenizer extends ParserError { this.expectPlugin("recordAndTuple"); if (this.getPluginOption("recordAndTuple", "syntaxType") !== "hash") { - throw this.raise(next === 123 ? ErrorMessages.RecordExpressionHashIncorrectStartSyntaxType : ErrorMessages.TupleExpressionHashIncorrectStartSyntaxType, { + throw this.raise(next === 123 ? Errors.RecordExpressionHashIncorrectStartSyntaxType : Errors.TupleExpressionHashIncorrectStartSyntaxType, { at: this.state.curPosition() }); } @@ -2264,10 +2239,10 @@ class Tokenizer extends ParserError { } } else if (isIdentifierStart(next)) { ++this.state.pos; - this.finishToken(130, this.readWord1(next)); + this.finishToken(134, this.readWord1(next)); } else if (next === 92) { ++this.state.pos; - this.finishToken(130, this.readWord1()); + this.finishToken(134, this.readWord1()); } else { this.finishOp(27, 1); } @@ -2296,7 +2271,7 @@ class Tokenizer extends ParserError { if (next === 61) { this.finishOp(31, 2); } else { - this.finishOp(52, 1); + this.finishOp(56, 1); } } @@ -2317,14 +2292,14 @@ class Tokenizer extends ParserError { } readToken_mult_modulo(code) { - let type = code === 42 ? 51 : 50; + let type = code === 42 ? 55 : 54; let width = 1; let next = this.input.charCodeAt(this.state.pos + 1); if (code === 42 && next === 42) { width++; next = this.input.charCodeAt(this.state.pos + 2); - type = 53; + type = 57; } if (next === 61 && !this.state.inType) { @@ -2342,7 +2317,7 @@ class Tokenizer extends ParserError { if (this.input.charCodeAt(this.state.pos + 2) === 61) { this.finishOp(30, 3); } else { - this.finishOp(code === 124 ? 39 : 40, 2); + this.finishOp(code === 124 ? 41 : 42, 2); } return; @@ -2350,13 +2325,13 @@ class Tokenizer extends ParserError { if (code === 124) { if (next === 62) { - this.finishOp(37, 2); + this.finishOp(39, 2); return; } if (this.hasPlugin("recordAndTuple") && next === 125) { if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { - throw this.raise(ErrorMessages.RecordExpressionBarIncorrectEndSyntaxType, { + throw this.raise(Errors.RecordExpressionBarIncorrectEndSyntaxType, { at: this.state.curPosition() }); } @@ -2368,7 +2343,7 @@ class Tokenizer extends ParserError { if (this.hasPlugin("recordAndTuple") && next === 93) { if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { - throw this.raise(ErrorMessages.TupleExpressionBarIncorrectEndSyntaxType, { + throw this.raise(Errors.TupleExpressionBarIncorrectEndSyntaxType, { at: this.state.curPosition() }); } @@ -2384,7 +2359,7 @@ class Tokenizer extends ParserError { return; } - this.finishOp(code === 124 ? 41 : 43, 1); + this.finishOp(code === 124 ? 43 : 45, 1); } readToken_caret() { @@ -2392,8 +2367,31 @@ class Tokenizer extends ParserError { if (next === 61 && !this.state.inType) { this.finishOp(32, 2); + } else if (next === 94 && this.hasPlugin(["pipelineOperator", { + proposal: "hack", + topicToken: "^^" + }])) { + this.finishOp(37, 2); + const lookaheadCh = this.input.codePointAt(this.state.pos); + + if (lookaheadCh === 94) { + throw this.unexpected(); + } + } else { + this.finishOp(44, 1); + } + } + + readToken_atSign() { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next === 64 && this.hasPlugin(["pipelineOperator", { + proposal: "hack", + topicToken: "@@" + }])) { + this.finishOp(38, 2); } else { - this.finishOp(42, 1); + this.finishOp(26, 1); } } @@ -2408,7 +2406,7 @@ class Tokenizer extends ParserError { if (next === 61) { this.finishOp(30, 2); } else { - this.finishOp(49, 1); + this.finishOp(53, 1); } } @@ -2424,16 +2422,16 @@ class Tokenizer extends ParserError { return; } - this.finishOp(48, 2); + this.finishOp(51, 2); return; } if (next === 61) { - this.finishOp(47, 2); + this.finishOp(49, 2); return; } - this.finishOp(45, 1); + this.finishOp(47, 1); } readToken_gt() { @@ -2450,23 +2448,23 @@ class Tokenizer extends ParserError { return; } - this.finishOp(48, size); + this.finishOp(52, size); return; } if (next === 61) { - this.finishOp(47, 2); + this.finishOp(49, 2); return; } - this.finishOp(46, 1); + this.finishOp(48, 1); } readToken_eq_excl(code) { const next = this.input.charCodeAt(this.state.pos + 1); if (next === 61) { - this.finishOp(44, this.input.charCodeAt(this.state.pos + 2) === 61 ? 3 : 2); + this.finishOp(46, this.input.charCodeAt(this.state.pos + 2) === 61 ? 3 : 2); return; } @@ -2487,7 +2485,7 @@ class Tokenizer extends ParserError { if (next2 === 61) { this.finishOp(30, 3); } else { - this.finishOp(38, 2); + this.finishOp(40, 2); } } else if (next === 46 && !(next2 >= 48 && next2 <= 57)) { this.state.pos += 2; @@ -2527,7 +2525,7 @@ class Tokenizer extends ParserError { case 91: if (this.hasPlugin("recordAndTuple") && this.input.charCodeAt(this.state.pos + 1) === 124) { if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { - throw this.raise(ErrorMessages.TupleExpressionBarIncorrectStartSyntaxType, { + throw this.raise(Errors.TupleExpressionBarIncorrectStartSyntaxType, { at: this.state.curPosition() }); } @@ -2549,7 +2547,7 @@ class Tokenizer extends ParserError { case 123: if (this.hasPlugin("recordAndTuple") && this.input.charCodeAt(this.state.pos + 1) === 124) { if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { - throw this.raise(ErrorMessages.RecordExpressionBarIncorrectStartSyntaxType, { + throw this.raise(Errors.RecordExpressionBarIncorrectStartSyntaxType, { at: this.state.curPosition() }); } @@ -2664,8 +2662,7 @@ class Tokenizer extends ParserError { return; case 64: - ++this.state.pos; - this.finishToken(26); + this.readToken_atSign(); return; case 35: @@ -2684,9 +2681,10 @@ class Tokenizer extends ParserError { } - throw this.raise(ErrorMessages.InvalidOrUnexpectedToken, { - at: this.state.curPosition() - }, String.fromCodePoint(code)); + throw this.raise(Errors.InvalidOrUnexpectedToken, { + at: this.state.curPosition(), + unexpected: String.fromCodePoint(code) + }); } finishOp(type, size) { @@ -2705,7 +2703,7 @@ class Tokenizer extends ParserError { for (;; ++pos) { if (pos >= this.length) { - throw this.raise(ErrorMessages.UnterminatedRegExp, { + throw this.raise(Errors.UnterminatedRegExp, { at: createPositionWithColumnOffset(startLoc, 1) }); } @@ -2713,7 +2711,7 @@ class Tokenizer extends ParserError { const ch = this.input.charCodeAt(pos); if (isNewLine(ch)) { - throw this.raise(ErrorMessages.UnterminatedRegExp, { + throw this.raise(Errors.UnterminatedRegExp, { at: createPositionWithColumnOffset(startLoc, 1) }); } @@ -2737,19 +2735,37 @@ class Tokenizer extends ParserError { ++pos; let mods = ""; + const nextPos = () => createPositionWithColumnOffset(startLoc, pos + 2 - start); + while (pos < this.length) { const cp = this.codePointAtPos(pos); const char = String.fromCharCode(cp); if (VALID_REGEX_FLAGS.has(cp)) { + if (cp === 118) { + this.expectPlugin("regexpUnicodeSets", nextPos()); + + if (mods.includes("u")) { + this.raise(Errors.IncompatibleRegExpUVFlags, { + at: nextPos() + }); + } + } else if (cp === 117) { + if (mods.includes("v")) { + this.raise(Errors.IncompatibleRegExpUVFlags, { + at: nextPos() + }); + } + } + if (mods.includes(char)) { - this.raise(ErrorMessages.DuplicateRegExpFlags, { - at: createPositionWithColumnOffset(startLoc, pos + 2 - start) + this.raise(Errors.DuplicateRegExpFlags, { + at: nextPos() }); } } else if (isIdentifierChar(cp) || cp === 92) { - this.raise(ErrorMessages.MalformedRegExpFlags, { - at: createPositionWithColumnOffset(startLoc, pos + 2 - start) + this.raise(Errors.MalformedRegExpFlags, { + at: nextPos() }); } else { break; @@ -2760,7 +2776,7 @@ class Tokenizer extends ParserError { } this.state.pos = pos; - this.finishToken(129, { + this.finishToken(133, { pattern: content, flags: mods }); @@ -2769,7 +2785,7 @@ class Tokenizer extends ParserError { readInt(radix, len, forceLen, allowNumSeparator = true) { const start = this.state.pos; const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct; - const allowedSiblings = radix === 16 ? allowedNumericSeparatorSiblings.hex : radix === 10 ? allowedNumericSeparatorSiblings.dec : radix === 8 ? allowedNumericSeparatorSiblings.oct : allowedNumericSeparatorSiblings.bin; + const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin; let invalid = false; let total = 0; @@ -2777,22 +2793,16 @@ class Tokenizer extends ParserError { const code = this.input.charCodeAt(this.state.pos); let val; - if (code === 95) { + if (code === 95 && allowNumSeparator !== "bail") { const prev = this.input.charCodeAt(this.state.pos - 1); const next = this.input.charCodeAt(this.state.pos + 1); - if (allowedSiblings.indexOf(next) === -1) { - this.raise(ErrorMessages.UnexpectedNumericSeparator, { - at: this.state.curPosition() - }); - } else if (forbiddenSiblings.indexOf(prev) > -1 || forbiddenSiblings.indexOf(next) > -1 || Number.isNaN(next)) { - this.raise(ErrorMessages.UnexpectedNumericSeparator, { + if (!allowNumSeparator) { + this.raise(Errors.NumericSeparatorInEscapeSequence, { at: this.state.curPosition() }); - } - - if (!allowNumSeparator) { - this.raise(ErrorMessages.NumericSeparatorInEscapeSequence, { + } else if (Number.isNaN(next) || !isAllowedSibling(next) || forbiddenSiblings.has(prev) || forbiddenSiblings.has(next)) { + this.raise(Errors.UnexpectedNumericSeparator, { at: this.state.curPosition() }); } @@ -2814,9 +2824,10 @@ class Tokenizer extends ParserError { if (val >= radix) { if (this.options.errorRecovery && val <= 9) { val = 0; - this.raise(ErrorMessages.InvalidDigit, { - at: this.state.curPosition() - }, radix); + this.raise(Errors.InvalidDigit, { + at: this.state.curPosition(), + radix + }); } else if (forceLen) { val = 0; invalid = true; @@ -2843,9 +2854,10 @@ class Tokenizer extends ParserError { const val = this.readInt(radix); if (val == null) { - this.raise(ErrorMessages.InvalidDigit, { - at: createPositionWithColumnOffset(startLoc, 2) - }, radix); + this.raise(Errors.InvalidDigit, { + at: createPositionWithColumnOffset(startLoc, 2), + radix + }); } const next = this.input.charCodeAt(this.state.pos); @@ -2854,24 +2866,24 @@ class Tokenizer extends ParserError { ++this.state.pos; isBigInt = true; } else if (next === 109) { - throw this.raise(ErrorMessages.InvalidDecimal, { + throw this.raise(Errors.InvalidDecimal, { at: startLoc }); } if (isIdentifierStart(this.codePointAtPos(this.state.pos))) { - throw this.raise(ErrorMessages.NumberIdentifier, { + throw this.raise(Errors.NumberIdentifier, { at: this.state.curPosition() }); } if (isBigInt) { - const str = this.input.slice(indexes.get(startLoc), this.state.pos).replace(/[_n]/g, ""); - this.finishToken(127, str); + const str = this.input.slice(startLoc.index, this.state.pos).replace(/[_n]/g, ""); + this.finishToken(131, str); return; } - this.finishToken(126, val); + this.finishToken(130, val); } readNumber(startsWithDot) { @@ -2884,7 +2896,7 @@ class Tokenizer extends ParserError { let isOctal = false; if (!startsWithDot && this.readInt(10) === null) { - this.raise(ErrorMessages.InvalidNumber, { + this.raise(Errors.InvalidNumber, { at: this.state.curPosition() }); } @@ -2893,13 +2905,15 @@ class Tokenizer extends ParserError { if (hasLeadingZero) { const integer = this.input.slice(start, this.state.pos); - this.recordStrictModeErrors(ErrorMessages.StrictOctalLiteral, startLoc); + this.recordStrictModeErrors(Errors.StrictOctalLiteral, { + at: startLoc + }); if (!this.state.strict) { const underscorePos = integer.indexOf("_"); if (underscorePos > 0) { - this.raise(ErrorMessages.ZeroDigitNumericSeparator, { + this.raise(Errors.ZeroDigitNumericSeparator, { at: createPositionWithColumnOffset(startLoc, underscorePos) }); } @@ -2925,7 +2939,7 @@ class Tokenizer extends ParserError { } if (this.readInt(10) === null) { - this.raise(ErrorMessages.InvalidOrMissingExponent, { + this.raise(Errors.InvalidOrMissingExponent, { at: startLoc }); } @@ -2937,7 +2951,7 @@ class Tokenizer extends ParserError { if (next === 110) { if (isFloat || hasLeadingZero) { - this.raise(ErrorMessages.InvalidBigIntLiteral, { + this.raise(Errors.InvalidBigIntLiteral, { at: startLoc }); } @@ -2950,7 +2964,7 @@ class Tokenizer extends ParserError { this.expectPlugin("decimal", this.state.curPosition()); if (hasExponent || hasLeadingZero) { - this.raise(ErrorMessages.InvalidDecimal, { + this.raise(Errors.InvalidDecimal, { at: startLoc }); } @@ -2960,7 +2974,7 @@ class Tokenizer extends ParserError { } if (isIdentifierStart(this.codePointAtPos(this.state.pos))) { - throw this.raise(ErrorMessages.NumberIdentifier, { + throw this.raise(Errors.NumberIdentifier, { at: this.state.curPosition() }); } @@ -2968,17 +2982,17 @@ class Tokenizer extends ParserError { const str = this.input.slice(start, this.state.pos).replace(/[_mn]/g, ""); if (isBigInt) { - this.finishToken(127, str); + this.finishToken(131, str); return; } if (isDecimal) { - this.finishToken(128, str); + this.finishToken(132, str); return; } const val = isOctal ? parseInt(str, 8) : parseFloat(str); - this.finishToken(126, val); + this.finishToken(130, val); } readCodePoint(throwOnInvalid) { @@ -2992,7 +3006,7 @@ class Tokenizer extends ParserError { if (code !== null && code > 0x10ffff) { if (throwOnInvalid) { - this.raise(ErrorMessages.InvalidCodePoint, { + this.raise(Errors.InvalidCodePoint, { at: this.state.curPosition() }); } else { @@ -3012,7 +3026,7 @@ class Tokenizer extends ParserError { for (;;) { if (this.state.pos >= this.length) { - throw this.raise(ErrorMessages.UnterminatedString, { + throw this.raise(Errors.UnterminatedString, { at: this.state.startLoc }); } @@ -3029,7 +3043,7 @@ class Tokenizer extends ParserError { ++this.state.curLine; this.state.lineStart = this.state.pos; } else if (isNewLine(ch)) { - throw this.raise(ErrorMessages.UnterminatedString, { + throw this.raise(Errors.UnterminatedString, { at: this.state.startLoc }); } else { @@ -3038,7 +3052,7 @@ class Tokenizer extends ParserError { } out += this.input.slice(chunkStart, this.state.pos++); - this.finishToken(125, out); + this.finishToken(129, out); } readTemplateContinuation() { @@ -3058,7 +3072,7 @@ class Tokenizer extends ParserError { for (;;) { if (this.state.pos >= this.length) { - throw this.raise(ErrorMessages.UnterminatedTemplate, { + throw this.raise(Errors.UnterminatedTemplate, { at: createPositionWithColumnOffset(this.state.startLoc, 1) }); } @@ -3118,18 +3132,17 @@ class Tokenizer extends ParserError { } } - recordStrictModeErrors(message, loc) { - const index = indexes.get(loc); + recordStrictModeErrors(toParseError, { + at + }) { + const index = at.index; if (this.state.strict && !this.state.strictErrors.has(index)) { - this.raise(message, { - at: loc + this.raise(toParseError, { + at }); } else { - this.state.strictErrors.set(index, { - loc, - message - }); + this.state.strictErrors.set(index, [toParseError, at]); } } @@ -3160,159 +3173,457 @@ class Tokenizer extends ParserError { case 116: return "\t"; - case 98: - return "\b"; + case 98: + return "\b"; + + case 118: + return "\u000b"; + + case 102: + return "\f"; + + case 13: + if (this.input.charCodeAt(this.state.pos) === 10) { + ++this.state.pos; + } + + case 10: + this.state.lineStart = this.state.pos; + ++this.state.curLine; + + case 8232: + case 8233: + return ""; + + case 56: + case 57: + if (inTemplate) { + return null; + } else { + this.recordStrictModeErrors(Errors.StrictNumericEscape, { + at: createPositionWithColumnOffset(this.state.curPosition(), -1) + }); + } + + default: + if (ch >= 48 && ch <= 55) { + const codePos = createPositionWithColumnOffset(this.state.curPosition(), -1); + const match = this.input.slice(this.state.pos - 1, this.state.pos + 2).match(/^[0-7]+/); + let octalStr = match[0]; + let octal = parseInt(octalStr, 8); + + if (octal > 255) { + octalStr = octalStr.slice(0, -1); + octal = parseInt(octalStr, 8); + } + + this.state.pos += octalStr.length - 1; + const next = this.input.charCodeAt(this.state.pos); + + if (octalStr !== "0" || next === 56 || next === 57) { + if (inTemplate) { + return null; + } else { + this.recordStrictModeErrors(Errors.StrictNumericEscape, { + at: codePos + }); + } + } + + return String.fromCharCode(octal); + } + + return String.fromCharCode(ch); + } + } + + readHexChar(len, forceLen, throwOnInvalid) { + const codeLoc = this.state.curPosition(); + const n = this.readInt(16, len, forceLen, false); + + if (n === null) { + if (throwOnInvalid) { + this.raise(Errors.InvalidEscapeSequence, { + at: codeLoc + }); + } else { + this.state.pos = codeLoc.index - 1; + } + } + + return n; + } + + readWord1(firstCode) { + this.state.containsEsc = false; + let word = ""; + const start = this.state.pos; + let chunkStart = this.state.pos; + + if (firstCode !== undefined) { + this.state.pos += firstCode <= 0xffff ? 1 : 2; + } + + while (this.state.pos < this.length) { + const ch = this.codePointAtPos(this.state.pos); + + if (isIdentifierChar(ch)) { + this.state.pos += ch <= 0xffff ? 1 : 2; + } else if (ch === 92) { + this.state.containsEsc = true; + word += this.input.slice(chunkStart, this.state.pos); + const escStart = this.state.curPosition(); + const identifierCheck = this.state.pos === start ? isIdentifierStart : isIdentifierChar; + + if (this.input.charCodeAt(++this.state.pos) !== 117) { + this.raise(Errors.MissingUnicodeEscape, { + at: this.state.curPosition() + }); + chunkStart = this.state.pos - 1; + continue; + } + + ++this.state.pos; + const esc = this.readCodePoint(true); + + if (esc !== null) { + if (!identifierCheck(esc)) { + this.raise(Errors.EscapedCharNotAnIdentifier, { + at: escStart + }); + } + + word += String.fromCodePoint(esc); + } + + chunkStart = this.state.pos; + } else { + break; + } + } + + return word + this.input.slice(chunkStart, this.state.pos); + } + + readWord(firstCode) { + const word = this.readWord1(firstCode); + const type = keywords$1.get(word); + + if (type !== undefined) { + this.finishToken(type, tokenLabelName(type)); + } else { + this.finishToken(128, word); + } + } + + checkKeywordEscapes() { + const { + type + } = this.state; + + if (tokenIsKeyword(type) && this.state.containsEsc) { + this.raise(Errors.InvalidEscapedReservedWord, { + at: this.state.startLoc, + reservedWord: tokenLabelName(type) + }); + } + } + + raise(toParseError, raiseProperties) { + const { + at + } = raiseProperties, + details = _objectWithoutPropertiesLoose(raiseProperties, _excluded); + + const loc = at instanceof Position ? at : at.loc.start; + const error = toParseError({ + loc, + details + }); + if (!this.options.errorRecovery) throw error; + if (!this.isLookahead) this.state.errors.push(error); + return error; + } + + raiseOverwrite(toParseError, raiseProperties) { + const { + at + } = raiseProperties, + details = _objectWithoutPropertiesLoose(raiseProperties, _excluded2); + + const loc = at instanceof Position ? at : at.loc.start; + const pos = loc.index; + const errors = this.state.errors; + + for (let i = errors.length - 1; i >= 0; i--) { + const error = errors[i]; + + if (error.loc.index === pos) { + return errors[i] = toParseError({ + loc, + details + }); + } + + if (error.loc.index < pos) break; + } + + return this.raise(toParseError, raiseProperties); + } + + updateContext(prevType) {} + + unexpected(loc, type) { + throw this.raise(Errors.UnexpectedToken, { + expected: type ? tokenLabelName(type) : null, + at: loc != null ? loc : this.state.startLoc + }); + } + + expectPlugin(pluginName, loc) { + if (this.hasPlugin(pluginName)) { + return true; + } + + throw this.raise(Errors.MissingPlugin, { + at: loc != null ? loc : this.state.startLoc, + missingPlugin: [pluginName] + }); + } + + expectOnePlugin(pluginNames) { + if (!pluginNames.some(name => this.hasPlugin(name))) { + throw this.raise(Errors.MissingOneOfPlugins, { + at: this.state.startLoc, + missingPlugin: pluginNames + }); + } + } + +} + +class Scope { + constructor(flags) { + this.var = new Set(); + this.lexical = new Set(); + this.functions = new Set(); + this.flags = flags; + } + +} +class ScopeHandler { + constructor(parser, inModule) { + this.parser = void 0; + this.scopeStack = []; + this.inModule = void 0; + this.undefinedExports = new Map(); + this.parser = parser; + this.inModule = inModule; + } + + get inFunction() { + return (this.currentVarScopeFlags() & SCOPE_FUNCTION) > 0; + } + + get allowSuper() { + return (this.currentThisScopeFlags() & SCOPE_SUPER) > 0; + } + + get allowDirectSuper() { + return (this.currentThisScopeFlags() & SCOPE_DIRECT_SUPER) > 0; + } + + get inClass() { + return (this.currentThisScopeFlags() & SCOPE_CLASS) > 0; + } + + get inClassAndNotInNonArrowFunction() { + const flags = this.currentThisScopeFlags(); + return (flags & SCOPE_CLASS) > 0 && (flags & SCOPE_FUNCTION) === 0; + } + + get inStaticBlock() { + for (let i = this.scopeStack.length - 1;; i--) { + const { + flags + } = this.scopeStack[i]; + + if (flags & SCOPE_STATIC_BLOCK) { + return true; + } + + if (flags & (SCOPE_VAR | SCOPE_CLASS)) { + return false; + } + } + } + + get inNonArrowFunction() { + return (this.currentThisScopeFlags() & SCOPE_FUNCTION) > 0; + } + + get treatFunctionsAsVar() { + return this.treatFunctionsAsVarInScope(this.currentScope()); + } + + createScope(flags) { + return new Scope(flags); + } + + enter(flags) { + this.scopeStack.push(this.createScope(flags)); + } + + exit() { + this.scopeStack.pop(); + } + + treatFunctionsAsVarInScope(scope) { + return !!(scope.flags & (SCOPE_FUNCTION | SCOPE_STATIC_BLOCK) || !this.parser.inModule && scope.flags & SCOPE_PROGRAM); + } + + declareName(name, bindingType, loc) { + let scope = this.currentScope(); - case 118: - return "\u000b"; + if (bindingType & BIND_SCOPE_LEXICAL || bindingType & BIND_SCOPE_FUNCTION) { + this.checkRedeclarationInScope(scope, name, bindingType, loc); - case 102: - return "\f"; + if (bindingType & BIND_SCOPE_FUNCTION) { + scope.functions.add(name); + } else { + scope.lexical.add(name); + } - case 13: - if (this.input.charCodeAt(this.state.pos) === 10) { - ++this.state.pos; - } + if (bindingType & BIND_SCOPE_LEXICAL) { + this.maybeExportDefined(scope, name); + } + } else if (bindingType & BIND_SCOPE_VAR) { + for (let i = this.scopeStack.length - 1; i >= 0; --i) { + scope = this.scopeStack[i]; + this.checkRedeclarationInScope(scope, name, bindingType, loc); + scope.var.add(name); + this.maybeExportDefined(scope, name); + if (scope.flags & SCOPE_VAR) break; + } + } - case 10: - this.state.lineStart = this.state.pos; - ++this.state.curLine; + if (this.parser.inModule && scope.flags & SCOPE_PROGRAM) { + this.undefinedExports.delete(name); + } + } - case 8232: - case 8233: - return ""; + maybeExportDefined(scope, name) { + if (this.parser.inModule && scope.flags & SCOPE_PROGRAM) { + this.undefinedExports.delete(name); + } + } - case 56: - case 57: - if (inTemplate) { - return null; - } else { - this.recordStrictModeErrors(ErrorMessages.StrictNumericEscape, createPositionWithColumnOffset(this.state.curPosition(), -1)); - } + checkRedeclarationInScope(scope, name, bindingType, loc) { + if (this.isRedeclaredInScope(scope, name, bindingType)) { + this.parser.raise(Errors.VarRedeclaration, { + at: loc, + identifierName: name + }); + } + } - default: - if (ch >= 48 && ch <= 55) { - const codePos = createPositionWithColumnOffset(this.state.curPosition(), -1); - const match = this.input.substr(this.state.pos - 1, 3).match(/^[0-7]+/); - let octalStr = match[0]; - let octal = parseInt(octalStr, 8); + isRedeclaredInScope(scope, name, bindingType) { + if (!(bindingType & BIND_KIND_VALUE)) return false; - if (octal > 255) { - octalStr = octalStr.slice(0, -1); - octal = parseInt(octalStr, 8); - } + if (bindingType & BIND_SCOPE_LEXICAL) { + return scope.lexical.has(name) || scope.functions.has(name) || scope.var.has(name); + } - this.state.pos += octalStr.length - 1; - const next = this.input.charCodeAt(this.state.pos); + if (bindingType & BIND_SCOPE_FUNCTION) { + return scope.lexical.has(name) || !this.treatFunctionsAsVarInScope(scope) && scope.var.has(name); + } - if (octalStr !== "0" || next === 56 || next === 57) { - if (inTemplate) { - return null; - } else { - this.recordStrictModeErrors(ErrorMessages.StrictNumericEscape, codePos); - } - } + return scope.lexical.has(name) && !(scope.flags & SCOPE_SIMPLE_CATCH && scope.lexical.values().next().value === name) || !this.treatFunctionsAsVarInScope(scope) && scope.functions.has(name); + } - return String.fromCharCode(octal); - } + checkLocalExport(id) { + const { + name + } = id; + const topLevelScope = this.scopeStack[0]; - return String.fromCharCode(ch); + if (!topLevelScope.lexical.has(name) && !topLevelScope.var.has(name) && !topLevelScope.functions.has(name)) { + this.undefinedExports.set(name, id.loc.start); } } - readHexChar(len, forceLen, throwOnInvalid) { - const codeLoc = this.state.curPosition(); - const n = this.readInt(16, len, forceLen, false); + currentScope() { + return this.scopeStack[this.scopeStack.length - 1]; + } - if (n === null) { - if (throwOnInvalid) { - this.raise(ErrorMessages.InvalidEscapeSequence, { - at: codeLoc - }); - } else { - this.state.pos = indexes.get(codeLoc) - 1; + currentVarScopeFlags() { + for (let i = this.scopeStack.length - 1;; i--) { + const { + flags + } = this.scopeStack[i]; + + if (flags & SCOPE_VAR) { + return flags; } } - - return n; } - readWord1(firstCode) { - this.state.containsEsc = false; - let word = ""; - const start = this.state.pos; - let chunkStart = this.state.pos; + currentThisScopeFlags() { + for (let i = this.scopeStack.length - 1;; i--) { + const { + flags + } = this.scopeStack[i]; - if (firstCode !== undefined) { - this.state.pos += firstCode <= 0xffff ? 1 : 2; + if (flags & (SCOPE_VAR | SCOPE_CLASS) && !(flags & SCOPE_ARROW)) { + return flags; + } } + } - while (this.state.pos < this.length) { - const ch = this.codePointAtPos(this.state.pos); - - if (isIdentifierChar(ch)) { - this.state.pos += ch <= 0xffff ? 1 : 2; - } else if (ch === 92) { - this.state.containsEsc = true; - word += this.input.slice(chunkStart, this.state.pos); - const escStart = this.state.curPosition(); - const identifierCheck = this.state.pos === start ? isIdentifierStart : isIdentifierChar; +} - if (this.input.charCodeAt(++this.state.pos) !== 117) { - this.raise(ErrorMessages.MissingUnicodeEscape, { - at: this.state.curPosition() - }); - chunkStart = this.state.pos - 1; - continue; - } +class FlowScope extends Scope { + constructor(...args) { + super(...args); + this.declareFunctions = new Set(); + } - ++this.state.pos; - const esc = this.readCodePoint(true); +} - if (esc !== null) { - if (!identifierCheck(esc)) { - this.raise(ErrorMessages.EscapedCharNotAnIdentifier, { - at: escStart - }); - } +class FlowScopeHandler extends ScopeHandler { + createScope(flags) { + return new FlowScope(flags); + } - word += String.fromCodePoint(esc); - } + declareName(name, bindingType, loc) { + const scope = this.currentScope(); - chunkStart = this.state.pos; - } else { - break; - } + if (bindingType & BIND_FLAGS_FLOW_DECLARE_FN) { + this.checkRedeclarationInScope(scope, name, bindingType, loc); + this.maybeExportDefined(scope, name); + scope.declareFunctions.add(name); + return; } - return word + this.input.slice(chunkStart, this.state.pos); + super.declareName(...arguments); } - readWord(firstCode) { - const word = this.readWord1(firstCode); - const type = keywords$1.get(word); + isRedeclaredInScope(scope, name, bindingType) { + if (super.isRedeclaredInScope(...arguments)) return true; - if (type !== undefined) { - this.finishToken(type, tokenLabelName(type)); - } else { - this.finishToken(124, word); + if (bindingType & BIND_FLAGS_FLOW_DECLARE_FN) { + return !scope.declareFunctions.has(name) && (scope.lexical.has(name) || scope.functions.has(name)); } - } - checkKeywordEscapes() { - const { - type - } = this.state; + return false; + } - if (tokenIsKeyword(type) && this.state.containsEsc) { - this.raise(ErrorMessages.InvalidEscapedReservedWord, { - at: this.state.startLoc - }, tokenLabelName(type)); + checkLocalExport(id) { + if (!this.scopeStack[0].declareFunctions.has(id.name)) { + super.checkLocalExport(id); } } - updateContext(prevType) {} - } class ClassScope { @@ -3324,10 +3635,11 @@ class ClassScope { } class ClassScopeHandler { - constructor(raise) { + constructor(parser) { + this.parser = void 0; this.stack = []; this.undefinedPrivateNames = new Map(); - this.raise = raise; + this.parser = parser; } current() { @@ -3348,9 +3660,10 @@ class ClassScopeHandler { current.undefinedPrivateNames.set(name, loc); } } else { - this.raise(ErrorMessages.InvalidPrivateFieldResolution, { - at: loc - }, name); + this.parser.raise(Errors.InvalidPrivateFieldResolution, { + at: loc, + identifierName: name + }); } } } @@ -3379,9 +3692,10 @@ class ClassScopeHandler { } if (redefined) { - this.raise(ErrorMessages.PrivateNameRedeclaration, { - at: loc - }, name); + this.parser.raise(Errors.PrivateNameRedeclaration, { + at: loc, + identifierName: name + }); } privateNames.add(name); @@ -3398,9 +3712,10 @@ class ClassScopeHandler { if (classScope) { classScope.undefinedPrivateNames.set(name, loc); } else { - this.raise(ErrorMessages.InvalidPrivateFieldResolution, { - at: loc - }, name); + this.parser.raise(Errors.InvalidPrivateFieldResolution, { + at: loc, + identifierName: name + }); } } @@ -3430,30 +3745,31 @@ class ExpressionScope { class ArrowHeadParsingScope extends ExpressionScope { constructor(type) { super(type); - this.errors = new Map(); + this.declarationErrors = new Map(); } - recordDeclarationError(message, loc) { - this.errors.set(indexes.get(loc), { - message, - loc - }); + recordDeclarationError(ParsingErrorClass, { + at + }) { + const index = at.index; + this.declarationErrors.set(index, [ParsingErrorClass, at]); } - clearDeclarationError(loc) { - this.errors.delete(indexes.get(loc)); + clearDeclarationError(index) { + this.declarationErrors.delete(index); } iterateErrors(iterator) { - this.errors.forEach(iterator); + this.declarationErrors.forEach(iterator); } } class ExpressionScopeHandler { - constructor(raise) { + constructor(parser) { + this.parser = void 0; this.stack = [new ExpressionScope()]; - this.raise = raise; + this.parser = parser; } enter(scope) { @@ -3464,7 +3780,12 @@ class ExpressionScopeHandler { this.stack.pop(); } - recordParameterInitializerError(loc, template) { + recordParameterInitializerError(toParseError, { + at: node + }) { + const origin = { + at: node.loc.start + }; const { stack } = this; @@ -3473,7 +3794,7 @@ class ExpressionScopeHandler { while (!scope.isCertainlyParameterDeclaration()) { if (scope.canBeArrowParameterDeclaration()) { - scope.recordDeclarationError(template, loc); + scope.recordDeclarationError(toParseError, origin); } else { return; } @@ -3481,29 +3802,32 @@ class ExpressionScopeHandler { scope = stack[--i]; } - this.raise(template, { - at: loc - }); + this.parser.raise(toParseError, origin); } - recordParenthesizedIdentifierError(template, loc) { + recordArrowParemeterBindingError(error, { + at: node + }) { const { stack } = this; const scope = stack[stack.length - 1]; + const origin = { + at: node.loc.start + }; if (scope.isCertainlyParameterDeclaration()) { - this.raise(template, { - at: loc - }); + this.parser.raise(error, origin); } else if (scope.canBeArrowParameterDeclaration()) { - scope.recordDeclarationError(template, loc); + scope.recordDeclarationError(error, origin); } else { return; } } - recordAsyncArrowParametersError(template, loc) { + recordAsyncArrowParametersError({ + at + }) { const { stack } = this; @@ -3512,7 +3836,9 @@ class ExpressionScopeHandler { while (scope.canBeArrowParameterDeclaration()) { if (scope.type === kMaybeAsyncArrowParameterDeclaration) { - scope.recordDeclarationError(template, loc); + scope.recordDeclarationError(Errors.AwaitBindingIdentifier, { + at + }); } scope = stack[--i]; @@ -3525,18 +3851,15 @@ class ExpressionScopeHandler { } = this; const currentScope = stack[stack.length - 1]; if (!currentScope.canBeArrowParameterDeclaration()) return; - currentScope.iterateErrors(({ - message, - loc - }) => { - this.raise(message, { + currentScope.iterateErrors(([toParseError, loc]) => { + this.parser.raise(toParseError, { at: loc }); let i = stack.length - 2; let scope = stack[i]; while (scope.canBeArrowParameterDeclaration()) { - scope.clearDeclarationError(loc); + scope.clearDeclarationError(loc.index); scope = stack[--i]; } }); @@ -3643,10 +3966,10 @@ class UtilParser extends Tokenizer { return false; } - expectContextual(token, template) { + expectContextual(token, toParseError) { if (!this.eatContextual(token)) { - if (template != null) { - throw this.raise(template, { + if (toParseError != null) { + throw this.raise(toParseError, { at: this.state.startLoc }); } @@ -3656,11 +3979,11 @@ class UtilParser extends Tokenizer { } canInsertSemicolon() { - return this.match(131) || this.match(8) || this.hasPrecedingLineBreak(); + return this.match(135) || this.match(8) || this.hasPrecedingLineBreak(); } hasPrecedingLineBreak() { - return lineBreak.test(this.input.slice(indexes.get(this.state.lastTokEndLoc), this.state.start)); + return lineBreak.test(this.input.slice(this.state.lastTokEndLoc.index, this.state.start)); } hasFollowingLineBreak() { @@ -3674,7 +3997,7 @@ class UtilParser extends Tokenizer { semicolon(allowAsi = true) { if (allowAsi ? this.isLineTerminator() : this.eat(13)) return; - this.raise(ErrorMessages.MissingSemicolon, { + this.raise(Errors.MissingSemicolon, { at: this.state.lastTokEndLoc }); } @@ -3683,56 +4006,6 @@ class UtilParser extends Tokenizer { this.eat(type) || this.unexpected(loc, type); } - assertNoSpace(message = "Unexpected space.") { - if (this.state.start > indexes.get(this.state.lastTokEndLoc)) { - this.raise({ - code: ErrorCodes.SyntaxError, - reasonCode: "UnexpectedSpace", - template: message - }, { - at: this.state.lastTokEndLoc - }); - } - } - - unexpected(loc, type) { - throw this.raise({ - code: ErrorCodes.SyntaxError, - reasonCode: "UnexpectedToken", - template: type != null ? `Unexpected token, expected "${tokenLabelName(type)}"` : "Unexpected token" - }, { - at: loc != null ? loc : this.state.startLoc - }); - } - - getPluginNamesFromConfigs(pluginConfigs) { - return pluginConfigs.map(c => { - if (typeof c === "string") { - return c; - } else { - return c[0]; - } - }); - } - - expectPlugin(pluginConfig, loc) { - if (!this.hasPlugin(pluginConfig)) { - throw this.raiseWithData(loc != null ? loc : this.state.startLoc, { - missingPlugin: this.getPluginNamesFromConfigs([pluginConfig]) - }, `This experimental syntax requires enabling the parser plugin: ${JSON.stringify(pluginConfig)}.`); - } - - return true; - } - - expectOnePlugin(pluginConfigs) { - if (!pluginConfigs.some(c => this.hasPlugin(c))) { - throw this.raiseWithData(this.state.startLoc, { - missingPlugin: this.getPluginNamesFromConfigs(pluginConfigs) - }, `This experimental syntax requires enabling one of the following parser plugin(s): ${pluginConfigs.map(c => JSON.stringify(c)).join(", ")}.`); - } - } - tryParse(fn, oldState = this.state.clone()) { const abortSignal = { node: null @@ -3797,26 +4070,33 @@ class UtilParser extends Tokenizer { const { shorthandAssignLoc, doubleProtoLoc, + privateKeyLoc, optionalParametersLoc } = refExpressionErrors; - const hasErrors = !!shorthandAssignLoc || !!doubleProtoLoc || !!optionalParametersLoc; + const hasErrors = !!shorthandAssignLoc || !!doubleProtoLoc || !!optionalParametersLoc || !!privateKeyLoc; if (!andThrow) { return hasErrors; } if (shorthandAssignLoc != null) { - this.raise(ErrorMessages.InvalidCoverInitializedName, { + this.raise(Errors.InvalidCoverInitializedName, { at: shorthandAssignLoc }); } if (doubleProtoLoc != null) { - this.raise(ErrorMessages.DuplicateProto, { + this.raise(Errors.DuplicateProto, { at: doubleProtoLoc }); } + if (privateKeyLoc != null) { + this.raise(Errors.UnexpectedPrivateField, { + at: privateKeyLoc + }); + } + if (optionalParametersLoc != null) { this.unexpected(optionalParametersLoc); } @@ -3859,13 +4139,13 @@ class UtilParser extends Tokenizer { this.inModule = inModule; const oldScope = this.scope; const ScopeHandler = this.getScopeHandler(); - this.scope = new ScopeHandler(this.raise.bind(this), this.inModule); + this.scope = new ScopeHandler(this, inModule); const oldProdParam = this.prodParam; this.prodParam = new ProductionParameterHandler(); const oldClassScope = this.classScope; - this.classScope = new ClassScopeHandler(this.raise.bind(this)); + this.classScope = new ClassScopeHandler(this); const oldExpressionScope = this.expressionScope; - this.expressionScope = new ExpressionScopeHandler(this.raise.bind(this)); + this.expressionScope = new ExpressionScopeHandler(this); return () => { this.state.labels = oldLabels; this.exportedIdentifiers = oldExportedIdentifiers; @@ -3884,8 +4164,18 @@ class UtilParser extends Tokenizer { paramFlags |= PARAM_AWAIT; } - this.scope.enter(SCOPE_PROGRAM); - this.prodParam.enter(paramFlags); + this.scope.enter(SCOPE_PROGRAM); + this.prodParam.enter(paramFlags); + } + + checkDestructuringPrivate(refExpressionErrors) { + const { + privateKeyLoc + } = refExpressionErrors; + + if (privateKeyLoc !== null) { + this.expectPlugin("destructuringPrivate", privateKeyLoc); + } } } @@ -3893,6 +4183,7 @@ class ExpressionErrors { constructor() { this.shorthandAssignLoc = null; this.doubleProtoLoc = null; + this.privateKeyLoc = null; this.optionalParametersLoc = null; } @@ -4007,9 +4298,9 @@ class NodeUtils extends UtilParser { finishNodeAt(node, type, endLoc) { node.type = type; - node.end = indexes.get(endLoc); + node.end = endLoc.index; node.loc.end = endLoc; - if (this.options.ranges) node.range[1] = node.end; + if (this.options.ranges) node.range[1] = endLoc.index; if (this.options.attachComment) this.processComment(node); return node; } @@ -4021,9 +4312,9 @@ class NodeUtils extends UtilParser { } resetEndLocation(node, endLoc = this.state.lastTokEndLoc) { - node.end = indexes.get(endLoc); + node.end = endLoc.index; node.loc.end = endLoc; - if (this.options.ranges) node.range[1] = node.end; + if (this.options.ranges) node.range[1] = endLoc.index; } resetStartLocationFromNode(node, locationNode) { @@ -4033,55 +4324,96 @@ class NodeUtils extends UtilParser { } const reservedTypes = new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]); -const FlowErrors = makeErrorTemplates({ - AmbiguousConditionalArrow: "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.", - AmbiguousDeclareModuleKind: "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.", - AssignReservedType: "Cannot overwrite reserved type %0.", - DeclareClassElement: "The `declare` modifier can only appear on class fields.", - DeclareClassFieldInitializer: "Initializers are not allowed in fields with the `declare` modifier.", - DuplicateDeclareModuleExports: "Duplicate `declare module.exports` statement.", - EnumBooleanMemberNotInitialized: "Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.", - EnumDuplicateMemberName: "Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.", - EnumInconsistentMemberValues: "Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.", - EnumInvalidExplicitType: "Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.", - EnumInvalidExplicitTypeUnknownSupplied: "Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.", - EnumInvalidMemberInitializerPrimaryType: "Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.", - EnumInvalidMemberInitializerSymbolType: "Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.", - EnumInvalidMemberInitializerUnknownType: "The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.", - EnumInvalidMemberName: "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.", - EnumNumberMemberNotInitialized: "Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.", - EnumStringMemberInconsistentlyInitailized: "String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.", - GetterMayNotHaveThisParam: "A getter cannot have a `this` parameter.", - ImportTypeShorthandOnlyInPureImport: "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.", - InexactInsideExact: "Explicit inexact syntax cannot appear inside an explicit exact object type.", - InexactInsideNonObject: "Explicit inexact syntax cannot appear in class or interface definitions.", - InexactVariance: "Explicit inexact syntax cannot have variance.", - InvalidNonTypeImportInDeclareModule: "Imports within a `declare module` body must always be `import type` or `import typeof`.", - MissingTypeParamDefault: "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", - NestedDeclareModule: "`declare module` cannot be used inside another `declare module`.", - NestedFlowComment: "Cannot have a flow comment inside another flow comment.", - PatternIsOptional: "A binding pattern parameter cannot be optional in an implementation signature.", - SetterMayNotHaveThisParam: "A setter cannot have a `this` parameter.", - SpreadVariance: "Spread properties cannot have variance.", - ThisParamAnnotationRequired: "A type annotation is required for the `this` parameter.", - ThisParamBannedInConstructor: "Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.", - ThisParamMayNotBeOptional: "The `this` parameter cannot be optional.", - ThisParamMustBeFirst: "The `this` parameter must be the first function parameter.", - ThisParamNoDefault: "The `this` parameter may not have a default value.", - TypeBeforeInitializer: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", - TypeCastInPattern: "The type cast expression is expected to be wrapped with parenthesis.", - UnexpectedExplicitInexactInObject: "Explicit inexact syntax must appear at the end of an inexact object.", - UnexpectedReservedType: "Unexpected reserved type %0.", - UnexpectedReservedUnderscore: "`_` is only allowed as a type argument to call or new.", - UnexpectedSpaceBetweenModuloChecks: "Spaces between `%` and `checks` are not allowed here.", - UnexpectedSpreadType: "Spread operator cannot appear in class or interface definitions.", - UnexpectedSubtractionOperand: 'Unexpected token, expected "number" or "bigint".', - UnexpectedTokenAfterTypeParameter: "Expected an arrow function after this type parameter declaration.", - UnexpectedTypeParameterBeforeAsyncArrowFunction: "Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.", - UnsupportedDeclareExportKind: "`declare export %0` is not supported. Use `%1` instead.", - UnsupportedStatementInDeclareModule: "Only declares and type imports are allowed inside declare module.", - UnterminatedFlowComment: "Unterminated flow-comment." -}, ErrorCodes.SyntaxError, "flow"); +const FlowErrors = ParseErrorEnum`flow`(_ => ({ + AmbiguousConditionalArrow: _("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."), + AmbiguousDeclareModuleKind: _("Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module."), + AssignReservedType: _(({ + reservedType + }) => `Cannot overwrite reserved type ${reservedType}.`), + DeclareClassElement: _("The `declare` modifier can only appear on class fields."), + DeclareClassFieldInitializer: _("Initializers are not allowed in fields with the `declare` modifier."), + DuplicateDeclareModuleExports: _("Duplicate `declare module.exports` statement."), + EnumBooleanMemberNotInitialized: _(({ + memberName, + enumName + }) => `Boolean enum members need to be initialized. Use either \`${memberName} = true,\` or \`${memberName} = false,\` in enum \`${enumName}\`.`), + EnumDuplicateMemberName: _(({ + memberName, + enumName + }) => `Enum member names need to be unique, but the name \`${memberName}\` has already been used before in enum \`${enumName}\`.`), + EnumInconsistentMemberValues: _(({ + enumName + }) => `Enum \`${enumName}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`), + EnumInvalidExplicitType: _(({ + invalidEnumType, + enumName + }) => `Enum type \`${invalidEnumType}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${enumName}\`.`), + EnumInvalidExplicitTypeUnknownSupplied: _(({ + enumName + }) => `Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${enumName}\`.`), + EnumInvalidMemberInitializerPrimaryType: _(({ + enumName, + memberName, + explicitType + }) => `Enum \`${enumName}\` has type \`${explicitType}\`, so the initializer of \`${memberName}\` needs to be a ${explicitType} literal.`), + EnumInvalidMemberInitializerSymbolType: _(({ + enumName, + memberName + }) => `Symbol enum members cannot be initialized. Use \`${memberName},\` in enum \`${enumName}\`.`), + EnumInvalidMemberInitializerUnknownType: _(({ + enumName, + memberName + }) => `The enum member initializer for \`${memberName}\` needs to be a literal (either a boolean, number, or string) in enum \`${enumName}\`.`), + EnumInvalidMemberName: _(({ + enumName, + memberName, + suggestion + }) => `Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${memberName}\`, consider using \`${suggestion}\`, in enum \`${enumName}\`.`), + EnumNumberMemberNotInitialized: _(({ + enumName, + memberName + }) => `Number enum members need to be initialized, e.g. \`${memberName} = 1\` in enum \`${enumName}\`.`), + EnumStringMemberInconsistentlyInitailized: _(({ + enumName + }) => `String enum members need to consistently either all use initializers, or use no initializers, in enum \`${enumName}\`.`), + GetterMayNotHaveThisParam: _("A getter cannot have a `this` parameter."), + ImportTypeShorthandOnlyInPureImport: _("The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements."), + InexactInsideExact: _("Explicit inexact syntax cannot appear inside an explicit exact object type."), + InexactInsideNonObject: _("Explicit inexact syntax cannot appear in class or interface definitions."), + InexactVariance: _("Explicit inexact syntax cannot have variance."), + InvalidNonTypeImportInDeclareModule: _("Imports within a `declare module` body must always be `import type` or `import typeof`."), + MissingTypeParamDefault: _("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."), + NestedDeclareModule: _("`declare module` cannot be used inside another `declare module`."), + NestedFlowComment: _("Cannot have a flow comment inside another flow comment."), + PatternIsOptional: _("A binding pattern parameter cannot be optional in an implementation signature.", { + reasonCode: "OptionalBindingPattern" + }), + SetterMayNotHaveThisParam: _("A setter cannot have a `this` parameter."), + SpreadVariance: _("Spread properties cannot have variance."), + ThisParamAnnotationRequired: _("A type annotation is required for the `this` parameter."), + ThisParamBannedInConstructor: _("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."), + ThisParamMayNotBeOptional: _("The `this` parameter cannot be optional."), + ThisParamMustBeFirst: _("The `this` parameter must be the first function parameter."), + ThisParamNoDefault: _("The `this` parameter may not have a default value."), + TypeBeforeInitializer: _("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."), + TypeCastInPattern: _("The type cast expression is expected to be wrapped with parenthesis."), + UnexpectedExplicitInexactInObject: _("Explicit inexact syntax must appear at the end of an inexact object."), + UnexpectedReservedType: _(({ + reservedType + }) => `Unexpected reserved type ${reservedType}.`), + UnexpectedReservedUnderscore: _("`_` is only allowed as a type argument to call or new."), + UnexpectedSpaceBetweenModuloChecks: _("Spaces between `%` and `checks` are not allowed here."), + UnexpectedSpreadType: _("Spread operator cannot appear in class or interface definitions."), + UnexpectedSubtractionOperand: _('Unexpected token, expected "number" or "bigint".'), + UnexpectedTokenAfterTypeParameter: _("Expected an arrow function after this type parameter declaration."), + UnexpectedTypeParameterBeforeAsyncArrowFunction: _("Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`."), + UnsupportedDeclareExportKind: _(({ + unsupportedExportKind, + suggestion + }) => `\`declare export ${unsupportedExportKind}\` is not supported. Use \`${suggestion}\` instead.`), + UnsupportedStatementInDeclareModule: _("Only declares and type imports are allowed inside declare module."), + UnterminatedFlowComment: _("Unterminated flow-comment.") +})); function isEsModuleType(bodyElement) { return bodyElement.type === "DeclareExportAllDeclaration" || bodyElement.type === "DeclareExportDeclaration" && (!bodyElement.declaration || bodyElement.declaration.type !== "TypeAlias" && bodyElement.declaration.type !== "InterfaceDeclaration"); @@ -4092,7 +4424,7 @@ function hasTypeImportKind(node) { } function isMaybeDefaultImport(type) { - return tokenIsKeywordOrIdentifier(type) && type !== 93; + return tokenIsKeywordOrIdentifier(type) && type !== 97; } const exportSuggestions = { @@ -4133,7 +4465,7 @@ var flow = (superClass => class extends superClass { } finishToken(type, val) { - if (type !== 125 && type !== 13 && type !== 28) { + if (type !== 129 && type !== 13 && type !== 28) { if (this.flowPragma === undefined) { this.flowPragma = null; } @@ -4171,9 +4503,9 @@ var flow = (superClass => class extends superClass { const node = this.startNode(); const moduloLoc = this.state.startLoc; this.next(); - this.expectContextual(103); + this.expectContextual(107); - if (this.state.lastTokStart > indexes.get(moduloLoc) + 1) { + if (this.state.lastTokStart > moduloLoc.index + 1) { this.raise(FlowErrors.UnexpectedSpaceBetweenModuloChecks, { at: moduloLoc }); @@ -4195,14 +4527,14 @@ var flow = (superClass => class extends superClass { let type = null; let predicate = null; - if (this.match(50)) { + if (this.match(54)) { this.state.inType = oldInType; predicate = this.flowParsePredicate(); } else { type = this.flowParseType(); this.state.inType = oldInType; - if (this.match(50)) { + if (this.match(54)) { predicate = this.flowParsePredicate(); } } @@ -4222,7 +4554,7 @@ var flow = (superClass => class extends superClass { const typeNode = this.startNode(); const typeContainer = this.startNode(); - if (this.match(45)) { + if (this.match(47)) { typeNode.typeParameters = this.flowParseTypeParameterDeclaration(); } else { typeNode.typeParameters = null; @@ -4244,13 +4576,13 @@ var flow = (superClass => class extends superClass { } flowParseDeclare(node, insideModule) { - if (this.match(76)) { + if (this.match(80)) { return this.flowParseDeclareClass(node); - } else if (this.match(64)) { + } else if (this.match(68)) { return this.flowParseDeclareFunction(node); - } else if (this.match(70)) { + } else if (this.match(74)) { return this.flowParseDeclareVariable(node); - } else if (this.eatContextual(119)) { + } else if (this.eatContextual(123)) { if (this.match(16)) { return this.flowParseDeclareModuleExports(node); } else { @@ -4262,13 +4594,13 @@ var flow = (superClass => class extends superClass { return this.flowParseDeclareModule(node); } - } else if (this.isContextual(122)) { + } else if (this.isContextual(126)) { return this.flowParseDeclareTypeAlias(node); - } else if (this.isContextual(123)) { + } else if (this.isContextual(127)) { return this.flowParseDeclareOpaqueType(node); - } else if (this.isContextual(121)) { + } else if (this.isContextual(125)) { return this.flowParseDeclareInterface(node); - } else if (this.match(78)) { + } else if (this.match(82)) { return this.flowParseDeclareExportDeclaration(node, insideModule); } else { throw this.unexpected(); @@ -4286,7 +4618,7 @@ var flow = (superClass => class extends superClass { flowParseDeclareModule(node) { this.scope.enter(SCOPE_OTHER); - if (this.match(125)) { + if (this.match(129)) { node.id = this.parseExprAtom(); } else { node.id = this.parseIdentifier(); @@ -4299,10 +4631,10 @@ var flow = (superClass => class extends superClass { while (!this.match(8)) { let bodyNode = this.startNode(); - if (this.match(79)) { + if (this.match(83)) { this.next(); - if (!this.isContextual(122) && !this.match(83)) { + if (!this.isContextual(126) && !this.match(87)) { this.raise(FlowErrors.InvalidNonTypeImportInDeclareModule, { at: this.state.lastTokStartLoc }); @@ -4310,7 +4642,7 @@ var flow = (superClass => class extends superClass { this.parseImport(bodyNode); } else { - this.expectContextual(117, FlowErrors.UnsupportedStatementInDeclareModule); + this.expectContextual(121, FlowErrors.UnsupportedStatementInDeclareModule); bodyNode = this.flowParseDeclare(bodyNode, true); } @@ -4326,7 +4658,7 @@ var flow = (superClass => class extends superClass { if (isEsModuleType(bodyElement)) { if (kind === "CommonJS") { this.raise(FlowErrors.AmbiguousDeclareModuleKind, { - node: bodyElement + at: bodyElement }); } @@ -4334,13 +4666,13 @@ var flow = (superClass => class extends superClass { } else if (bodyElement.type === "DeclareModuleExports") { if (hasModuleExport) { this.raise(FlowErrors.DuplicateDeclareModuleExports, { - node: bodyElement + at: bodyElement }); } if (kind === "ES") { this.raise(FlowErrors.AmbiguousDeclareModuleKind, { - node: bodyElement + at: bodyElement }); } @@ -4353,10 +4685,10 @@ var flow = (superClass => class extends superClass { } flowParseDeclareExportDeclaration(node, insideModule) { - this.expect(78); + this.expect(82); - if (this.eat(61)) { - if (this.match(64) || this.match(76)) { + if (this.eat(65)) { + if (this.match(68) || this.match(80)) { node.declaration = this.flowParseDeclare(this.startNode()); } else { node.declaration = this.flowParseType(); @@ -4366,19 +4698,20 @@ var flow = (superClass => class extends superClass { node.default = true; return this.finishNode(node, "DeclareExportDeclaration"); } else { - if (this.match(71) || this.isLet() || (this.isContextual(122) || this.isContextual(121)) && !insideModule) { + if (this.match(75) || this.isLet() || (this.isContextual(126) || this.isContextual(125)) && !insideModule) { const label = this.state.value; - const suggestion = exportSuggestions[label]; throw this.raise(FlowErrors.UnsupportedDeclareExportKind, { - at: this.state.startLoc - }, label, suggestion); + at: this.state.startLoc, + unsupportedExportKind: label, + suggestion: exportSuggestions[label] + }); } - if (this.match(70) || this.match(64) || this.match(76) || this.isContextual(123)) { + if (this.match(74) || this.match(68) || this.match(80) || this.isContextual(127)) { node.declaration = this.flowParseDeclare(this.startNode()); node.default = false; return this.finishNode(node, "DeclareExportDeclaration"); - } else if (this.match(51) || this.match(5) || this.isContextual(121) || this.isContextual(122) || this.isContextual(123)) { + } else if (this.match(55) || this.match(5) || this.isContextual(125) || this.isContextual(126) || this.isContextual(127)) { node = this.parseExport(node); if (node.type === "ExportNamedDeclaration") { @@ -4397,7 +4730,7 @@ var flow = (superClass => class extends superClass { flowParseDeclareModuleExports(node) { this.next(); - this.expectContextual(104); + this.expectContextual(108); node.typeAnnotation = this.flowParseTypeAnnotation(); this.semicolon(); return this.finishNode(node, "DeclareModuleExports"); @@ -4427,7 +4760,7 @@ var flow = (superClass => class extends superClass { node.id = this.flowParseRestrictedIdentifier(!isClass, true); this.scope.declareName(node.id.name, isClass ? BIND_FUNCTION : BIND_LEXICAL, node.id.loc.start); - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterDeclaration(); } else { node.typeParameters = null; @@ -4437,13 +4770,13 @@ var flow = (superClass => class extends superClass { node.implements = []; node.mixins = []; - if (this.eat(77)) { + if (this.eat(81)) { do { node.extends.push(this.flowParseInterfaceExtends()); } while (!isClass && this.eat(12)); } - if (this.isContextual(110)) { + if (this.isContextual(114)) { this.next(); do { @@ -4451,7 +4784,7 @@ var flow = (superClass => class extends superClass { } while (this.eat(12)); } - if (this.isContextual(106)) { + if (this.isContextual(110)) { this.next(); do { @@ -4472,7 +4805,7 @@ var flow = (superClass => class extends superClass { const node = this.startNode(); node.id = this.flowParseQualifiedTypeIdentifier(); - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterInstantiation(); } else { node.typeParameters = null; @@ -4497,8 +4830,9 @@ var flow = (superClass => class extends superClass { checkReservedType(word, startLoc, declaration) { if (!reservedTypes.has(word)) return; this.raise(declaration ? FlowErrors.AssignReservedType : FlowErrors.UnexpectedReservedType, { - at: startLoc - }, word); + at: startLoc, + reservedType: word + }); } flowParseRestrictedIdentifier(liberal, declaration) { @@ -4510,7 +4844,7 @@ var flow = (superClass => class extends superClass { node.id = this.flowParseRestrictedIdentifier(false, true); this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.loc.start); - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterDeclaration(); } else { node.typeParameters = null; @@ -4522,11 +4856,11 @@ var flow = (superClass => class extends superClass { } flowParseOpaqueType(node, declare) { - this.expectContextual(122); + this.expectContextual(126); node.id = this.flowParseRestrictedIdentifier(true, true); this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.loc.start); - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterDeclaration(); } else { node.typeParameters = null; @@ -4577,7 +4911,7 @@ var flow = (superClass => class extends superClass { node.params = []; this.state.inType = true; - if (this.match(45) || this.match(134)) { + if (this.match(47) || this.match(138)) { this.next(); } else { this.unexpected(); @@ -4593,12 +4927,12 @@ var flow = (superClass => class extends superClass { defaultRequired = true; } - if (!this.match(46)) { + if (!this.match(48)) { this.expect(12); } - } while (!this.match(46)); + } while (!this.match(48)); - this.expect(46); + this.expect(48); this.state.inType = oldInType; return this.finishNode(node, "TypeParameterDeclaration"); } @@ -4608,20 +4942,20 @@ var flow = (superClass => class extends superClass { const oldInType = this.state.inType; node.params = []; this.state.inType = true; - this.expect(45); + this.expect(47); const oldNoAnonFunctionType = this.state.noAnonFunctionType; this.state.noAnonFunctionType = false; - while (!this.match(46)) { + while (!this.match(48)) { node.params.push(this.flowParseType()); - if (!this.match(46)) { + if (!this.match(48)) { this.expect(12); } } this.state.noAnonFunctionType = oldNoAnonFunctionType; - this.expect(46); + this.expect(48); this.state.inType = oldInType; return this.finishNode(node, "TypeParameterInstantiation"); } @@ -4631,27 +4965,27 @@ var flow = (superClass => class extends superClass { const oldInType = this.state.inType; node.params = []; this.state.inType = true; - this.expect(45); + this.expect(47); - while (!this.match(46)) { + while (!this.match(48)) { node.params.push(this.flowParseTypeOrImplicitInstantiation()); - if (!this.match(46)) { + if (!this.match(48)) { this.expect(12); } } - this.expect(46); + this.expect(48); this.state.inType = oldInType; return this.finishNode(node, "TypeParameterInstantiation"); } flowParseInterfaceType() { const node = this.startNode(); - this.expectContextual(121); + this.expectContextual(125); node.extends = []; - if (this.eat(77)) { + if (this.eat(81)) { do { node.extends.push(this.flowParseInterfaceExtends()); } while (this.eat(12)); @@ -4668,7 +5002,7 @@ var flow = (superClass => class extends superClass { } flowParseObjectPropertyKey() { - return this.match(126) || this.match(125) ? this.parseExprAtom() : this.parseIdentifier(true); + return this.match(130) || this.match(129) ? this.parseExprAtom() : this.parseIdentifier(true); } flowParseObjectTypeIndexer(node, isStatic, variance) { @@ -4694,7 +5028,7 @@ var flow = (superClass => class extends superClass { this.expect(3); this.expect(3); - if (this.match(45) || this.match(10)) { + if (this.match(47) || this.match(10)) { node.method = true; node.optional = false; node.value = this.flowParseObjectTypeMethodish(this.startNodeAt(node.start, node.loc.start)); @@ -4717,13 +5051,13 @@ var flow = (superClass => class extends superClass { node.typeParameters = null; node.this = null; - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterDeclaration(); } this.expect(10); - if (this.match(74)) { + if (this.match(78)) { node.this = this.flowParseFunctionTypeParam(true); node.this.name = null; @@ -4792,7 +5126,7 @@ var flow = (superClass => class extends superClass { let inexactStartLoc = null; const node = this.startNode(); - if (allowProto && this.isContextual(111)) { + if (allowProto && this.isContextual(115)) { const lookahead = this.lookahead(); if (lookahead.type !== 14 && lookahead.type !== 17) { @@ -4802,7 +5136,7 @@ var flow = (superClass => class extends superClass { } } - if (allowStatic && this.isContextual(100)) { + if (allowStatic && this.isContextual(104)) { const lookahead = this.lookahead(); if (lookahead.type !== 14 && lookahead.type !== 17) { @@ -4827,7 +5161,7 @@ var flow = (superClass => class extends superClass { } else { nodeStart.indexers.push(this.flowParseObjectTypeIndexer(node, isStatic, variance)); } - } else if (this.match(10) || this.match(45)) { + } else if (this.match(10) || this.match(47)) { if (protoStartLoc != null) { this.unexpected(protoStartLoc); } @@ -4840,7 +5174,7 @@ var flow = (superClass => class extends superClass { } else { let kind = "init"; - if (this.isContextual(94) || this.isContextual(99)) { + if (this.isContextual(98) || this.isContextual(103)) { const lookahead = this.lookahead(); if (tokenIsLiteralPropertyName(lookahead.type)) { @@ -4896,7 +5230,7 @@ var flow = (superClass => class extends superClass { if (variance) { this.raise(FlowErrors.InexactVariance, { - node: variance + at: variance }); } @@ -4915,7 +5249,7 @@ var flow = (superClass => class extends superClass { if (variance) { this.raise(FlowErrors.SpreadVariance, { - node: variance + at: variance }); } @@ -4928,7 +5262,7 @@ var flow = (superClass => class extends superClass { node.kind = kind; let optional = false; - if (this.match(45) || this.match(10)) { + if (this.match(47) || this.match(10)) { node.method = true; if (protoStartLoc != null) { @@ -4947,7 +5281,7 @@ var flow = (superClass => class extends superClass { if (!allowSpread && node.key.name === "constructor" && node.value.this) { this.raise(FlowErrors.ThisParamBannedInConstructor, { - node: node.value.this + at: node.value.this }); } } else { @@ -4973,19 +5307,19 @@ var flow = (superClass => class extends superClass { if (property.value.this) { this.raise(property.kind === "get" ? FlowErrors.GetterMayNotHaveThisParam : FlowErrors.SetterMayNotHaveThisParam, { - node: property.value.this + at: property.value.this }); } if (length !== paramCount) { - this.raise(property.kind === "get" ? ErrorMessages.BadGetterArity : ErrorMessages.BadSetterArity, { - node: property + this.raise(property.kind === "get" ? Errors.BadGetterArity : Errors.BadSetterArity, { + at: property }); } if (property.kind === "set" && property.value.rest) { - this.raise(ErrorMessages.BadSetterRestParameter, { - node: property + this.raise(Errors.BadSetterRestParameter, { + at: property }); } } @@ -5016,7 +5350,7 @@ var flow = (superClass => class extends superClass { node.typeParameters = null; node.id = this.flowParseQualifiedTypeIdentifier(startPos, startLoc, id); - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterInstantiation(); } @@ -5025,7 +5359,7 @@ var flow = (superClass => class extends superClass { flowParseTypeofType() { const node = this.startNode(); - this.expect(83); + this.expect(87); node.argument = this.flowParsePrimaryType(); return this.finishNode(node, "TypeofTypeAnnotation"); } @@ -5051,12 +5385,12 @@ var flow = (superClass => class extends superClass { let typeAnnotation = null; const node = this.startNode(); const lh = this.lookahead(); - const isThis = this.state.type === 74; + const isThis = this.state.type === 78; if (lh.type === 14 || lh.type === 17) { if (isThis && !first) { this.raise(FlowErrors.ThisParamMustBeFirst, { - node + at: node }); } @@ -5067,7 +5401,7 @@ var flow = (superClass => class extends superClass { if (isThis) { this.raise(FlowErrors.ThisParamMayNotBeOptional, { - node + at: node }); } } @@ -5095,7 +5429,7 @@ var flow = (superClass => class extends superClass { let rest = null; let _this = null; - if (this.match(74)) { + if (this.match(78)) { _this = this.flowParseFunctionTypeParam(true); _this.name = null; @@ -5187,7 +5521,7 @@ var flow = (superClass => class extends superClass { this.state.noAnonFunctionType = oldNoAnonFunctionType; return type; - case 45: + case 47: node.typeParameters = this.flowParseTypeParameterDeclaration(); this.expect(10); tmp = this.flowParseFunctionTypeParams(); @@ -5203,7 +5537,7 @@ var flow = (superClass => class extends superClass { this.next(); if (!this.match(11) && !this.match(21)) { - if (tokenIsIdentifier(this.state.type) || this.match(74)) { + if (tokenIsIdentifier(this.state.type) || this.match(78)) { const token = this.lookahead().type; isGroupedType = token !== 17 && token !== 14; } else { @@ -5239,24 +5573,24 @@ var flow = (superClass => class extends superClass { node.typeParameters = null; return this.finishNode(node, "FunctionTypeAnnotation"); - case 125: + case 129: return this.parseLiteral(this.state.value, "StringLiteralTypeAnnotation"); - case 81: - case 82: - node.value = this.match(81); + case 85: + case 86: + node.value = this.match(85); this.next(); return this.finishNode(node, "BooleanLiteralTypeAnnotation"); - case 49: + case 53: if (this.state.value === "-") { this.next(); - if (this.match(126)) { + if (this.match(130)) { return this.parseLiteralAtNode(-this.state.value, "NumberLiteralTypeAnnotation", node); } - if (this.match(127)) { + if (this.match(131)) { return this.parseLiteralAtNode(-this.state.value, "BigIntLiteralTypeAnnotation", node); } @@ -5267,29 +5601,29 @@ var flow = (superClass => class extends superClass { throw this.unexpected(); - case 126: + case 130: return this.parseLiteral(this.state.value, "NumberLiteralTypeAnnotation"); - case 127: + case 131: return this.parseLiteral(this.state.value, "BigIntLiteralTypeAnnotation"); - case 84: + case 88: this.next(); return this.finishNode(node, "VoidTypeAnnotation"); - case 80: + case 84: this.next(); return this.finishNode(node, "NullLiteralTypeAnnotation"); - case 74: + case 78: this.next(); return this.finishNode(node, "ThisTypeAnnotation"); - case 51: + case 55: this.next(); return this.finishNode(node, "ExistsTypeAnnotation"); - case 83: + case 87: return this.flowParseTypeofType(); default: @@ -5298,7 +5632,7 @@ var flow = (superClass => class extends superClass { this.next(); return super.createIdentifier(node, label); } else if (tokenIsIdentifier(this.state.type)) { - if (this.isContextual(121)) { + if (this.isContextual(125)) { return this.flowParseInterfaceType(); } @@ -5372,11 +5706,11 @@ var flow = (superClass => class extends superClass { flowParseIntersectionType() { const node = this.startNode(); - this.eat(43); + this.eat(45); const type = this.flowParseAnonFunctionWithoutParens(); node.types = [type]; - while (this.eat(43)) { + while (this.eat(45)) { node.types.push(this.flowParseAnonFunctionWithoutParens()); } @@ -5385,11 +5719,11 @@ var flow = (superClass => class extends superClass { flowParseUnionType() { const node = this.startNode(); - this.eat(41); + this.eat(43); const type = this.flowParseIntersectionType(); node.types = [type]; - while (this.eat(41)) { + while (this.eat(43)) { node.types.push(this.flowParseIntersectionType()); } @@ -5405,7 +5739,7 @@ var flow = (superClass => class extends superClass { } flowParseTypeOrImplicitInstantiation() { - if (this.state.type === 124 && this.state.value === "_") { + if (this.state.type === 128 && this.state.value === "_") { const startPos = this.state.start; const startLoc = this.state.startLoc; const node = this.parseIdentifier(); @@ -5441,7 +5775,7 @@ var flow = (superClass => class extends superClass { flowParseVariance() { let variance = null; - if (this.match(49)) { + if (this.match(53)) { variance = this.startNode(); if (this.state.value === "+") { @@ -5476,7 +5810,7 @@ var flow = (superClass => class extends superClass { } parseStatement(context, topLevel) { - if (this.state.strict && this.isContextual(121)) { + if (this.state.strict && this.isContextual(125)) { const lookahead = this.lookahead(); if (tokenIsKeywordOrIdentifier(lookahead.type)) { @@ -5484,7 +5818,7 @@ var flow = (superClass => class extends superClass { this.next(); return this.flowParseInterface(node); } - } else if (this.shouldParseEnums() && this.isContextual(118)) { + } else if (this.shouldParseEnums() && this.isContextual(122)) { const node = this.startNode(); this.next(); return this.flowParseEnumDeclaration(node); @@ -5502,7 +5836,7 @@ var flow = (superClass => class extends superClass { parseExpressionStatement(node, expr) { if (expr.type === "Identifier") { if (expr.name === "declare") { - if (this.match(76) || tokenIsIdentifier(this.state.type) || this.match(64) || this.match(70) || this.match(78)) { + if (this.match(80) || tokenIsIdentifier(this.state.type) || this.match(68) || this.match(74) || this.match(82)) { return this.flowParseDeclare(node); } } else if (tokenIsIdentifier(this.state.type)) { @@ -5524,7 +5858,7 @@ var flow = (superClass => class extends superClass { type } = this.state; - if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 118) { + if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 122) { return !this.state.containsEsc; } @@ -5536,7 +5870,7 @@ var flow = (superClass => class extends superClass { type } = this.state; - if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 118) { + if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 122) { return this.state.containsEsc; } @@ -5544,7 +5878,7 @@ var flow = (superClass => class extends superClass { } parseExportDefaultExpression() { - if (this.shouldParseEnums() && this.isContextual(118)) { + if (this.shouldParseEnums() && this.isContextual(122)) { const node = this.startNode(); this.next(); return this.flowParseEnumDeclaration(node); @@ -5719,7 +6053,7 @@ var flow = (superClass => class extends superClass { } parseExportDeclaration(node) { - if (this.isContextual(122)) { + if (this.isContextual(126)) { node.exportKind = "type"; const declarationNode = this.startNode(); this.next(); @@ -5731,17 +6065,17 @@ var flow = (superClass => class extends superClass { } else { return this.flowParseTypeAlias(declarationNode); } - } else if (this.isContextual(123)) { + } else if (this.isContextual(127)) { node.exportKind = "type"; const declarationNode = this.startNode(); this.next(); return this.flowParseOpaqueType(declarationNode, false); - } else if (this.isContextual(121)) { + } else if (this.isContextual(125)) { node.exportKind = "type"; const declarationNode = this.startNode(); this.next(); return this.flowParseInterface(declarationNode); - } else if (this.shouldParseEnums() && this.isContextual(118)) { + } else if (this.shouldParseEnums() && this.isContextual(122)) { node.exportKind = "value"; const declarationNode = this.startNode(); this.next(); @@ -5754,7 +6088,7 @@ var flow = (superClass => class extends superClass { eatExportStar(node) { if (super.eatExportStar(...arguments)) return true; - if (this.isContextual(122) && this.lookahead().type === 51) { + if (this.isContextual(126) && this.lookahead().type === 55) { node.exportKind = "type"; this.next(); this.next(); @@ -5780,7 +6114,7 @@ var flow = (superClass => class extends superClass { parseClassId(node, isStatement, optionalId) { super.parseClassId(node, isStatement, optionalId); - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterDeclaration(); } } @@ -5790,7 +6124,7 @@ var flow = (superClass => class extends superClass { startLoc } = this.state; - if (this.isContextual(117)) { + if (this.isContextual(121)) { if (this.parseClassMemberFromModifier(classBody, member)) { return; } @@ -5807,7 +6141,7 @@ var flow = (superClass => class extends superClass { }); } else if (member.value) { this.raise(FlowErrors.DeclareClassFieldInitializer, { - node: member.value + at: member.value }); } } @@ -5822,12 +6156,13 @@ var flow = (superClass => class extends superClass { const fullWord = "@@" + word; if (!this.isIterator(word) || !this.state.inType) { - this.raise(ErrorMessages.InvalidIdentifier, { - at: this.state.curPosition() - }, fullWord); + this.raise(Errors.InvalidIdentifier, { + at: this.state.curPosition(), + identifierName: fullWord + }); } - this.finishToken(124, fullWord); + this.finishToken(128, fullWord); } getTokenFromCode(code) { @@ -5836,14 +6171,14 @@ var flow = (superClass => class extends superClass { if (code === 123 && next === 124) { return this.finishOp(6, 2); } else if (this.state.inType && (code === 62 || code === 60)) { - return this.finishOp(code === 62 ? 46 : 45, 1); + return this.finishOp(code === 62 ? 48 : 47, 1); } else if (this.state.inType && code === 63) { if (next === 46) { return this.finishOp(18, 2); } return this.finishOp(17, 1); - } else if (isIteratorStart(code, next)) { + } else if (isIteratorStart(code, next, this.input.charCodeAt(this.state.pos + 2))) { this.state.pos += 2; return this.readIterator(); } else { @@ -5860,11 +6195,11 @@ var flow = (superClass => class extends superClass { } toAssignable(node, isLHS = false) { - if (node.type === "TypeCastExpression") { - return super.toAssignable(this.typeCastToParameter(node), isLHS); - } else { - return super.toAssignable(node, isLHS); + if (!isLHS && node.type === "AssignmentExpression" && node.left.type === "TypeCastExpression") { + node.left = this.typeCastToParameter(node.left); } + + super.toAssignable(...arguments); } toAssignableList(exprList, trailingCommaLoc, isLHS) { @@ -5876,7 +6211,7 @@ var flow = (superClass => class extends superClass { } } - return super.toAssignableList(exprList, trailingCommaLoc, isLHS); + super.toAssignableList(exprList, trailingCommaLoc, isLHS); } toReferencedList(exprList, isParenthesizedExpr) { @@ -5887,7 +6222,7 @@ var flow = (superClass => class extends superClass { if (expr && expr.type === "TypeCastExpression" && !((_expr$extra = expr.extra) != null && _expr$extra.parenthesized) && (exprList.length > 1 || !isParenthesizedExpr)) { this.raise(FlowErrors.TypeCastInPattern, { - node: expr.typeAnnotation + at: expr.typeAnnotation }); } } @@ -5905,10 +6240,8 @@ var flow = (superClass => class extends superClass { return node; } - checkLVal(expr, ...args) { - if (expr.type !== "TypeCastExpression") { - return super.checkLVal(expr, ...args); - } + isValidLVal(type, ...rest) { + return type === "TypeCastExpression" || super.isValidLVal(type, ...rest); } parseClassProperty(node) { @@ -5928,7 +6261,7 @@ var flow = (superClass => class extends superClass { } isClassMethod() { - return this.match(45) || super.isClassMethod(); + return this.match(47) || super.isClassMethod(); } isClassProperty() { @@ -5946,7 +6279,7 @@ var flow = (superClass => class extends superClass { delete method.variance; - if (this.match(45)) { + if (this.match(47)) { method.typeParameters = this.flowParseTypeParameterDeclaration(); } @@ -5957,7 +6290,7 @@ var flow = (superClass => class extends superClass { if (params.length > 0 && this.isThisParam(params[0])) { this.raise(FlowErrors.ThisParamBannedInConstructor, { - node: method + at: method }); } } else if (method.type === "MethodDefinition" && isConstructor && method.value.params) { @@ -5965,7 +6298,7 @@ var flow = (superClass => class extends superClass { if (params.length > 0 && this.isThisParam(params[0])) { this.raise(FlowErrors.ThisParamBannedInConstructor, { - node: method + at: method }); } } @@ -5978,7 +6311,7 @@ var flow = (superClass => class extends superClass { delete method.variance; - if (this.match(45)) { + if (this.match(47)) { method.typeParameters = this.flowParseTypeParameterDeclaration(); } @@ -5988,11 +6321,11 @@ var flow = (superClass => class extends superClass { parseClassSuper(node) { super.parseClassSuper(node); - if (node.superClass && this.match(45)) { + if (node.superClass && this.match(47)) { node.superTypeParameters = this.flowParseTypeParameterInstantiation(); } - if (this.isContextual(106)) { + if (this.isContextual(110)) { this.next(); const implemented = node.implements = []; @@ -6000,7 +6333,7 @@ var flow = (superClass => class extends superClass { const node = this.startNode(); node.id = this.flowParseRestrictedIdentifier(true); - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.flowParseTypeParameterInstantiation(); } else { node.typeParameters = null; @@ -6020,11 +6353,11 @@ var flow = (superClass => class extends superClass { if (this.isThisParam(param) && method.kind === "get") { this.raise(FlowErrors.GetterMayNotHaveThisParam, { - node: param + at: param }); } else if (this.isThisParam(param)) { this.raise(FlowErrors.SetterMayNotHaveThisParam, { - node: param + at: param }); } } @@ -6042,7 +6375,7 @@ var flow = (superClass => class extends superClass { delete prop.variance; let typeParameters; - if (this.match(45) && !isAccessor) { + if (this.match(47) && !isAccessor) { typeParameters = this.flowParseTypeParameterDeclaration(); if (!this.match(10)) this.unexpected(); } @@ -6058,13 +6391,13 @@ var flow = (superClass => class extends superClass { if (this.eat(17)) { if (param.type !== "Identifier") { this.raise(FlowErrors.PatternIsOptional, { - node: param + at: param }); } if (this.isThisParam(param)) { this.raise(FlowErrors.ThisParamMayNotBeOptional, { - node: param + at: param }); } @@ -6075,13 +6408,13 @@ var flow = (superClass => class extends superClass { param.typeAnnotation = this.flowParseTypeAnnotation(); } else if (this.isThisParam(param)) { this.raise(FlowErrors.ThisParamAnnotationRequired, { - node: param + at: param }); } if (this.match(29) && this.isThisParam(param)) { this.raise(FlowErrors.ThisParamNoDefault, { - node: param + at: param }); } @@ -6094,7 +6427,7 @@ var flow = (superClass => class extends superClass { if (node.type === "AssignmentPattern" && node.typeAnnotation && node.right.start < node.typeAnnotation.start) { this.raise(FlowErrors.TypeBeforeInitializer, { - node: node.typeAnnotation + at: node.typeAnnotation }); } @@ -6109,19 +6442,18 @@ var flow = (superClass => class extends superClass { return isMaybeDefaultImport(this.state.type); } - parseImportSpecifierLocal(node, specifier, type, contextDescription) { + parseImportSpecifierLocal(node, specifier, type) { specifier.local = hasTypeImportKind(node) ? this.flowParseRestrictedIdentifier(true, true) : this.parseIdentifier(); - this.checkLVal(specifier.local, contextDescription, BIND_LEXICAL); - node.specifiers.push(this.finishNode(specifier, type)); + node.specifiers.push(this.finishImportSpecifier(specifier, type)); } maybeParseDefaultImportSpecifier(node) { node.importKind = "value"; let kind = null; - if (this.match(83)) { + if (this.match(87)) { kind = "typeof"; - } else if (this.isContextual(122)) { + } else if (this.isContextual(126)) { kind = "type"; } @@ -6131,11 +6463,11 @@ var flow = (superClass => class extends superClass { type } = lh; - if (kind === "type" && type === 51) { + if (kind === "type" && type === 55) { this.unexpected(null, lh.type); } - if (isMaybeDefaultImport(type) || type === 5 || type === 51) { + if (isMaybeDefaultImport(type) || type === 5 || type === 55) { this.next(); node.importKind = kind; } @@ -6158,7 +6490,7 @@ var flow = (superClass => class extends superClass { let isBinding = false; - if (this.isContextual(89) && !this.isLookaheadContextual("as")) { + if (this.isContextual(93) && !this.isLookaheadContextual("as")) { const as_ident = this.parseIdentifier(true); if (specifierTypeKind !== null && !tokenIsKeywordOrIdentifier(this.state.type)) { @@ -6176,16 +6508,17 @@ var flow = (superClass => class extends superClass { specifier.importKind = specifierTypeKind; } else { if (importedIsString) { - throw this.raise(ErrorMessages.ImportBindingIsString, { - node: specifier - }, firstIdent.value); + throw this.raise(Errors.ImportBindingIsString, { + at: specifier, + importName: firstIdent.value + }); } specifier.imported = firstIdent; specifier.importKind = null; } - if (this.eatContextual(89)) { + if (this.eatContextual(93)) { specifier.local = this.parseIdentifier(); } else { isBinding = true; @@ -6197,7 +6530,7 @@ var flow = (superClass => class extends superClass { if (isInTypeOnlyImport && specifierIsTypeImport) { this.raise(FlowErrors.ImportTypeShorthandOnlyInPureImport, { - node: specifier + at: specifier }); } @@ -6209,13 +6542,12 @@ var flow = (superClass => class extends superClass { this.checkReservedWord(specifier.local.name, specifier.loc.start, true, true); } - this.checkLVal(specifier.local, "import specifier", BIND_LEXICAL); - return this.finishNode(specifier, "ImportSpecifier"); + return this.finishImportSpecifier(specifier, "ImportSpecifier"); } parseBindingAtom() { switch (this.state.type) { - case 74: + case 78: return this.parseIdentifier(true); default: @@ -6226,7 +6558,7 @@ var flow = (superClass => class extends superClass { parseFunctionParams(node, allowModifiers) { const kind = node.kind; - if (kind !== "get" && kind !== "set" && this.match(45)) { + if (kind !== "get" && kind !== "set" && this.match(47)) { node.typeParameters = this.flowParseTypeParameterDeclaration(); } @@ -6263,7 +6595,7 @@ var flow = (superClass => class extends superClass { let state = null; let jsx; - if (this.hasPlugin("jsx") && (this.match(134) || this.match(45))) { + if (this.hasPlugin("jsx") && (this.match(138) || this.match(47))) { state = this.state.clone(); jsx = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse), state); if (!jsx.error) return jsx.node; @@ -6277,7 +6609,7 @@ var flow = (superClass => class extends superClass { } } - if ((_jsx = jsx) != null && _jsx.error || this.match(45)) { + if ((_jsx = jsx) != null && _jsx.error || this.match(47)) { var _jsx2, _jsx3; state = state || this.state.clone(); @@ -6304,7 +6636,7 @@ var flow = (superClass => class extends superClass { if (!arrow.error && !arrow.aborted) { if (arrow.node.async) { this.raise(FlowErrors.UnexpectedTypeParameterBeforeAsyncArrowFunction, { - node: typeParameters + at: typeParameters }); } @@ -6327,7 +6659,7 @@ var flow = (superClass => class extends superClass { if ((_jsx3 = jsx) != null && _jsx3.thrown) throw jsx.error; if (arrow.thrown) throw arrow.error; throw this.raise(FlowErrors.UnexpectedTokenAfterTypeParameter, { - node: typeParameters + at: typeParameters }); } @@ -6374,7 +6706,7 @@ var flow = (superClass => class extends superClass { for (let i = 0; i < node.params.length; i++) { if (this.isThisParam(node.params[i]) && i > 0) { this.raise(FlowErrors.ThisParamMustBeFirst, { - node: node.params[i] + at: node.params[i] }); } } @@ -6393,7 +6725,7 @@ var flow = (superClass => class extends superClass { node.callee = base; node.arguments = this.parseCallExpressionArguments(11, false); base = this.finishNode(node, "CallExpression"); - } else if (base.type === "Identifier" && base.name === "async" && this.match(45)) { + } else if (base.type === "Identifier" && base.name === "async" && this.match(47)) { const state = this.state.clone(); const arrow = this.tryParse(abort => this.parseAsyncArrowWithTypeParameters(startPos, startLoc) || abort(), state); if (!arrow.error && !arrow.aborted) return arrow.node; @@ -6433,7 +6765,7 @@ var flow = (superClass => class extends superClass { node.arguments = this.parseCallExpressionArguments(11, false); node.optional = true; return this.finishCallExpression(node, true); - } else if (!noCalls && this.shouldParseTypes() && this.match(45)) { + } else if (!noCalls && this.shouldParseTypes() && this.match(47)) { const node = this.startNodeAt(startPos, startLoc); node.callee = base; const result = this.tryParse(() => { @@ -6453,15 +6785,15 @@ var flow = (superClass => class extends superClass { return super.parseSubscript(base, startPos, startLoc, noCalls, subscriptState); } - parseNewArguments(node) { + parseNewCallee(node) { + super.parseNewCallee(node); let targs = null; - if (this.shouldParseTypes() && this.match(45)) { + if (this.shouldParseTypes() && this.match(47)) { targs = this.tryParse(() => this.flowParseTypeParameterInstantiationCallOrNew()).node; } node.typeArguments = targs; - super.parseNewArguments(node); } parseAsyncArrowWithTypeParameters(startPos, startLoc) { @@ -6525,7 +6857,7 @@ var flow = (superClass => class extends superClass { const end = this.input.indexOf("*-/", this.state.pos + 2); if (end === -1) { - throw this.raise(ErrorMessages.UnterminatedComment, { + throw this.raise(Errors.UnterminatedComment, { at: this.state.curPosition() }); } @@ -6569,7 +6901,7 @@ var flow = (superClass => class extends superClass { const end = this.input.indexOf("*/", this.state.pos); if (end === -1) { - throw this.raise(ErrorMessages.UnterminatedComment, { + throw this.raise(Errors.UnterminatedComment, { at: this.state.curPosition() }); } @@ -6580,27 +6912,16 @@ var flow = (superClass => class extends superClass { memberName }) { this.raise(FlowErrors.EnumBooleanMemberNotInitialized, { - at: loc - }, memberName, enumName); - } - - flowEnumErrorInvalidExplicitType(loc, { - enumName, - suppliedType - }) { - return this.raise(suppliedType === null ? FlowErrors.EnumInvalidExplicitTypeUnknownSupplied : FlowErrors.EnumInvalidExplicitType, { - at: loc - }, enumName, suppliedType); + at: loc, + memberName, + enumName + }); } - flowEnumErrorInvalidMemberInitializer(loc, { - enumName, - explicitType, - memberName - }) { - return this.raise(explicitType === "boolean" || explicitType === "number" || explicitType === "string" ? FlowErrors.EnumInvalidMemberInitializerPrimaryType : explicitType === "symbol" ? FlowErrors.EnumInvalidMemberInitializerSymbolType : FlowErrors.EnumInvalidMemberInitializerUnknownType, { + flowEnumErrorInvalidMemberInitializer(loc, enumContext) { + return this.raise(!enumContext.explicitType ? FlowErrors.EnumInvalidMemberInitializerUnknownType : enumContext.explicitType === "symbol" ? FlowErrors.EnumInvalidMemberInitializerSymbolType : FlowErrors.EnumInvalidMemberInitializerPrimaryType, Object.assign({ at: loc - }, enumName, memberName, explicitType); + }, enumContext)); } flowEnumErrorNumberMemberNotInitialized(loc, { @@ -6608,16 +6929,19 @@ var flow = (superClass => class extends superClass { memberName }) { this.raise(FlowErrors.EnumNumberMemberNotInitialized, { - at: loc - }, enumName, memberName); + at: loc, + enumName, + memberName + }); } flowEnumErrorStringMemberInconsistentlyInitailized(node, { enumName }) { this.raise(FlowErrors.EnumStringMemberInconsistentlyInitailized, { - node - }, enumName); + at: node, + enumName + }); } flowEnumMemberInit() { @@ -6626,7 +6950,7 @@ var flow = (superClass => class extends superClass { const endOfInit = () => this.match(12) || this.match(8); switch (this.state.type) { - case 126: + case 130: { const literal = this.parseNumericLiteral(this.state.value); @@ -6644,7 +6968,7 @@ var flow = (superClass => class extends superClass { }; } - case 125: + case 129: { const literal = this.parseStringLiteral(this.state.value); @@ -6662,10 +6986,10 @@ var flow = (superClass => class extends superClass { }; } - case 81: - case 82: + case 85: + case 86: { - const literal = this.parseBooleanLiteral(this.match(81)); + const literal = this.parseBooleanLiteral(this.match(85)); if (endOfInit()) { return { @@ -6748,14 +7072,19 @@ var flow = (superClass => class extends superClass { if (/^[a-z]/.test(memberName)) { this.raise(FlowErrors.EnumInvalidMemberName, { - node: id - }, memberName, memberName[0].toUpperCase() + memberName.slice(1), enumName); + at: id, + memberName, + suggestion: memberName[0].toUpperCase() + memberName.slice(1), + enumName + }); } if (seenNames.has(memberName)) { this.raise(FlowErrors.EnumDuplicateMemberName, { - node: id - }, memberName, enumName); + at: id, + memberName, + enumName + }); } seenNames.add(memberName); @@ -6853,30 +7182,29 @@ var flow = (superClass => class extends superClass { flowEnumParseExplicitType({ enumName }) { - if (this.eatContextual(97)) { - if (!tokenIsIdentifier(this.state.type)) { - throw this.flowEnumErrorInvalidExplicitType(this.state.startLoc, { - enumName, - suppliedType: null - }); - } + if (!this.eatContextual(101)) return null; - const { - value - } = this.state; - this.next(); + if (!tokenIsIdentifier(this.state.type)) { + throw this.raise(FlowErrors.EnumInvalidExplicitTypeUnknownSupplied, { + at: this.state.startLoc, + enumName + }); + } - if (value !== "boolean" && value !== "number" && value !== "string" && value !== "symbol") { - this.flowEnumErrorInvalidExplicitType(this.state.startLoc, { - enumName, - suppliedType: value - }); - } + const { + value + } = this.state; + this.next(); - return value; + if (value !== "boolean" && value !== "number" && value !== "string" && value !== "symbol") { + this.raise(FlowErrors.EnumInvalidExplicitType, { + at: this.state.startLoc, + enumName, + invalidEnumType: value + }); } - return null; + return value; } flowEnumBody(node, id) { @@ -6967,8 +7295,9 @@ var flow = (superClass => class extends superClass { return this.finishNode(node, "EnumNumberBody"); } else { this.raise(FlowErrors.EnumInconsistentMemberValues, { - at: nameLoc - }, enumName); + at: nameLoc, + enumName + }); return empty(); } } @@ -7000,6 +7329,7 @@ var flow = (superClass => class extends superClass { }); const entities = { + __proto__: null, quot: "\u0022", amp: "&", apos: "\u0027", @@ -7255,17 +7585,21 @@ const entities = { diams: "\u2666" }; -const HEX_NUMBER = /^[\da-fA-F]+$/; -const DECIMAL_NUMBER = /^\d+$/; -const JsxErrors = makeErrorTemplates({ - AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.", - MissingClosingTagElement: "Expected corresponding JSX closing tag for <%0>.", - MissingClosingTagFragment: "Expected corresponding JSX closing tag for <>.", - UnexpectedSequenceExpression: "Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?", - UnsupportedJsxValue: "JSX value should be either an expression or a quoted JSX text.", - UnterminatedJsxContent: "Unterminated JSX contents.", - UnwrappedAdjacentJSXElements: "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?" -}, ErrorCodes.SyntaxError, "jsx"); +const JsxErrors = ParseErrorEnum`jsx`(_ => ({ + AttributeIsEmpty: _("JSX attributes must only be assigned a non-empty expression."), + MissingClosingTagElement: _(({ + openingTagName + }) => `Expected corresponding JSX closing tag for <${openingTagName}>.`), + MissingClosingTagFragment: _("Expected corresponding JSX closing tag for <>."), + UnexpectedSequenceExpression: _("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"), + UnexpectedToken: _(({ + unexpected, + HTMLEntity + }) => `Unexpected token \`${unexpected}\`. Did you mean \`${HTMLEntity}\` or \`{'${unexpected}'}\`?`), + UnsupportedJsxValue: _("JSX value should be either an expression or a quoted JSX text."), + UnterminatedJsxContent: _("Unterminated JSX contents."), + UnwrappedAdjacentJSXElements: _("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?") +})); function isFragment(object) { return object ? object.type === "JSXOpeningFragment" || object.type === "JSXClosingFragment" : false; @@ -7307,14 +7641,14 @@ var jsx = (superClass => class extends superClass { if (this.state.pos === this.state.start) { if (ch === 60 && this.state.canStartJSXElement) { ++this.state.pos; - return this.finishToken(134); + return this.finishToken(138); } return super.getTokenFromCode(ch); } out += this.input.slice(chunkStart, this.state.pos); - return this.finishToken(133, out); + return this.finishToken(137, out); case 38: out += this.input.slice(chunkStart, this.state.pos); @@ -7361,7 +7695,7 @@ var jsx = (superClass => class extends superClass { for (;;) { if (this.state.pos >= this.length) { - throw this.raise(ErrorMessages.UnterminatedString, { + throw this.raise(Errors.UnterminatedString, { at: this.state.startLoc }); } @@ -7383,50 +7717,48 @@ var jsx = (superClass => class extends superClass { } out += this.input.slice(chunkStart, this.state.pos++); - return this.finishToken(125, out); + return this.finishToken(129, out); } jsxReadEntity() { - let str = ""; - let count = 0; - let entity; - let ch = this.input[this.state.pos]; const startPos = ++this.state.pos; - while (this.state.pos < this.length && count++ < 10) { - ch = this.input[this.state.pos++]; + if (this.codePointAtPos(this.state.pos) === 35) { + ++this.state.pos; + let radix = 10; - if (ch === ";") { - if (str[0] === "#") { - if (str[1] === "x") { - str = str.substr(2); + if (this.codePointAtPos(this.state.pos) === 120) { + radix = 16; + ++this.state.pos; + } - if (HEX_NUMBER.test(str)) { - entity = String.fromCodePoint(parseInt(str, 16)); - } - } else { - str = str.substr(1); + const codePoint = this.readInt(radix, undefined, false, "bail"); - if (DECIMAL_NUMBER.test(str)) { - entity = String.fromCodePoint(parseInt(str, 10)); - } - } - } else { - entity = entities[str]; - } + if (codePoint !== null && this.codePointAtPos(this.state.pos) === 59) { + ++this.state.pos; + return String.fromCodePoint(codePoint); + } + } else { + let count = 0; + let semi = false; - break; + while (count++ < 10 && this.state.pos < this.length && !(semi = this.codePointAtPos(this.state.pos) == 59)) { + ++this.state.pos; } - str += ch; - } + if (semi) { + const desc = this.input.slice(startPos, this.state.pos); + const entity = entities[desc]; + ++this.state.pos; - if (!entity) { - this.state.pos = startPos; - return "&"; + if (entity) { + return entity; + } + } } - return entity; + this.state.pos = startPos; + return "&"; } jsxReadWord() { @@ -7437,13 +7769,13 @@ var jsx = (superClass => class extends superClass { ch = this.input.charCodeAt(++this.state.pos); } while (isIdentifierChar(ch) || ch === 45); - return this.finishToken(132, this.input.slice(start, this.state.pos)); + return this.finishToken(136, this.input.slice(start, this.state.pos)); } jsxParseIdentifier() { const node = this.startNode(); - if (this.match(132)) { + if (this.match(136)) { node.name = this.state.value; } else if (tokenIsKeyword(this.state.type)) { node.name = tokenLabelName(this.state.type); @@ -7497,14 +7829,14 @@ var jsx = (superClass => class extends superClass { if (node.expression.type === "JSXEmptyExpression") { this.raise(JsxErrors.AttributeIsEmpty, { - node + at: node }); } return node; - case 134: - case 125: + case 138: + case 129: return this.parseExprAtom(); default: @@ -7515,7 +7847,7 @@ var jsx = (superClass => class extends superClass { } jsxParseEmptyExpression() { - const node = this.startNodeAt(indexes.get(this.state.lastTokEndLoc), this.state.lastTokEndLoc); + const node = this.startNodeAt(this.state.lastTokEndLoc.index, this.state.lastTokEndLoc); return this.finishNodeAt(node, "JSXEmptyExpression", this.state.startLoc); } @@ -7523,6 +7855,7 @@ var jsx = (superClass => class extends superClass { this.next(); node.expression = this.parseExpression(); this.setContext(types.j_oTag); + this.state.canStartJSXElement = true; this.expect(8); return this.finishNode(node, "JSXSpreadChild"); } @@ -7536,6 +7869,7 @@ var jsx = (superClass => class extends superClass { } this.setContext(previousContext); + this.state.canStartJSXElement = true; this.expect(8); return this.finishNode(node, "JSXExpressionContainer"); } @@ -7549,6 +7883,7 @@ var jsx = (superClass => class extends superClass { this.expect(21); node.argument = this.parseMaybeAssignAllowIn(); this.setContext(types.j_oTag); + this.state.canStartJSXElement = true; this.expect(8); return this.finishNode(node, "JSXSpreadAttribute"); } @@ -7561,8 +7896,7 @@ var jsx = (superClass => class extends superClass { jsxParseOpeningElementAt(startPos, startLoc) { const node = this.startNodeAt(startPos, startLoc); - if (this.match(135)) { - this.expect(135); + if (this.eat(139)) { return this.finishNode(node, "JSXOpeningFragment"); } @@ -7573,26 +7907,25 @@ var jsx = (superClass => class extends superClass { jsxParseOpeningElementAfterName(node) { const attributes = []; - while (!this.match(52) && !this.match(135)) { + while (!this.match(56) && !this.match(139)) { attributes.push(this.jsxParseAttribute()); } node.attributes = attributes; - node.selfClosing = this.eat(52); - this.expect(135); + node.selfClosing = this.eat(56); + this.expect(139); return this.finishNode(node, "JSXOpeningElement"); } jsxParseClosingElementAt(startPos, startLoc) { const node = this.startNodeAt(startPos, startLoc); - if (this.match(135)) { - this.expect(135); + if (this.eat(139)) { return this.finishNode(node, "JSXClosingFragment"); } node.name = this.jsxParseElementName(); - this.expect(135); + this.expect(139); return this.finishNode(node, "JSXClosingElement"); } @@ -7605,12 +7938,12 @@ var jsx = (superClass => class extends superClass { if (!openingElement.selfClosing) { contents: for (;;) { switch (this.state.type) { - case 134: + case 138: startPos = this.state.start; startLoc = this.state.startLoc; this.next(); - if (this.eat(52)) { + if (this.eat(56)) { closingElement = this.jsxParseClosingElementAt(startPos, startLoc); break contents; } @@ -7618,7 +7951,7 @@ var jsx = (superClass => class extends superClass { children.push(this.jsxParseElementAt(startPos, startLoc)); break; - case 133: + case 137: children.push(this.parseExprAtom()); break; @@ -7644,17 +7977,19 @@ var jsx = (superClass => class extends superClass { if (isFragment(openingElement) && !isFragment(closingElement) && closingElement !== null) { this.raise(JsxErrors.MissingClosingTagFragment, { - node: closingElement + at: closingElement }); } else if (!isFragment(openingElement) && isFragment(closingElement)) { this.raise(JsxErrors.MissingClosingTagElement, { - node: closingElement - }, getQualifiedJSXName(openingElement.name)); + at: closingElement, + openingTagName: getQualifiedJSXName(openingElement.name) + }); } else if (!isFragment(openingElement) && !isFragment(closingElement)) { if (getQualifiedJSXName(closingElement.name) !== getQualifiedJSXName(openingElement.name)) { this.raise(JsxErrors.MissingClosingTagElement, { - node: closingElement - }, getQualifiedJSXName(openingElement.name)); + at: closingElement, + openingTagName: getQualifiedJSXName(openingElement.name) + }); } } } @@ -7669,7 +8004,7 @@ var jsx = (superClass => class extends superClass { node.children = children; - if (this.match(45)) { + if (this.match(47)) { throw this.raise(JsxErrors.UnwrappedAdjacentJSXElements, { at: this.state.startLoc }); @@ -7693,12 +8028,12 @@ var jsx = (superClass => class extends superClass { } parseExprAtom(refExpressionErrors) { - if (this.match(133)) { + if (this.match(137)) { return this.parseLiteral(this.state.value, "JSXText"); - } else if (this.match(134)) { + } else if (this.match(138)) { return this.jsxParseElement(); - } else if (this.match(45) && this.input.charCodeAt(this.state.pos) !== 33) { - this.replaceToken(134); + } else if (this.match(47) && this.input.charCodeAt(this.state.pos) !== 33) { + this.replaceToken(138); return this.jsxParseElement(); } else { return super.parseExprAtom(refExpressionErrors); @@ -7724,7 +8059,7 @@ var jsx = (superClass => class extends superClass { if (code === 62) { ++this.state.pos; - return this.finishToken(135); + return this.finishToken(139); } if ((code === 34 || code === 39) && context === types.j_oTag) { @@ -7734,7 +8069,7 @@ var jsx = (superClass => class extends superClass { if (code === 60 && this.state.canStartJSXElement && this.input.charCodeAt(this.state.pos + 1) !== 33) { ++this.state.pos; - return this.finishToken(134); + return this.finishToken(138); } return super.getTokenFromCode(code); @@ -7746,15 +8081,15 @@ var jsx = (superClass => class extends superClass { type } = this.state; - if (type === 52 && prevType === 134) { + if (type === 56 && prevType === 138) { context.splice(-2, 2, types.j_cTag); this.state.canStartJSXElement = false; - } else if (type === 134) { + } else if (type === 138) { context.push(types.j_oTag); - } else if (type === 135) { + } else if (type === 139) { const out = context[context.length - 1]; - if (out === types.j_oTag && prevType === 52 || out === types.j_cTag) { + if (out === types.j_oTag && prevType === 56 || out === types.j_cTag) { context.pop(); this.state.canStartJSXElement = context[context.length - 1] === types.j_expr; } else { @@ -7849,6 +8184,8 @@ class TypeScriptScopeHandler extends ScopeHandler { } +const getOwn$1 = (object, key) => Object.hasOwnProperty.call(object, key) && object[key]; + function nonNull(x) { if (x == null) { throw new Error(`Unexpected ${x} value.`); @@ -7863,61 +8200,100 @@ function assert(x) { } } -const TSErrors = makeErrorTemplates({ - AbstractMethodHasImplementation: "Method '%0' cannot have an implementation because it is marked abstract.", - AbstractPropertyHasInitializer: "Property '%0' cannot have an initializer because it is marked abstract.", - AccesorCannotDeclareThisParameter: "'get' and 'set' accessors cannot declare 'this' parameters.", - AccesorCannotHaveTypeParameters: "An accessor cannot have type parameters.", - ClassMethodHasDeclare: "Class methods cannot have the 'declare' modifier.", - ClassMethodHasReadonly: "Class methods cannot have the 'readonly' modifier.", - ConstructorHasTypeParameters: "Type parameters cannot appear on a constructor declaration.", - DeclareAccessor: "'declare' is not allowed in %0ters.", - DeclareClassFieldHasInitializer: "Initializers are not allowed in ambient contexts.", - DeclareFunctionHasImplementation: "An implementation cannot be declared in ambient contexts.", - DuplicateAccessibilityModifier: "Accessibility modifier already seen.", - DuplicateModifier: "Duplicate modifier: '%0'.", - EmptyHeritageClauseType: "'%0' list cannot be empty.", - EmptyTypeArguments: "Type argument list cannot be empty.", - EmptyTypeParameters: "Type parameter list cannot be empty.", - ExpectedAmbientAfterExportDeclare: "'export declare' must be followed by an ambient declaration.", - ImportAliasHasImportType: "An import alias can not use 'import type'.", - IncompatibleModifiers: "'%0' modifier cannot be used with '%1' modifier.", - IndexSignatureHasAbstract: "Index signatures cannot have the 'abstract' modifier.", - IndexSignatureHasAccessibility: "Index signatures cannot have an accessibility modifier ('%0').", - IndexSignatureHasDeclare: "Index signatures cannot have the 'declare' modifier.", - IndexSignatureHasOverride: "'override' modifier cannot appear on an index signature.", - IndexSignatureHasStatic: "Index signatures cannot have the 'static' modifier.", - InvalidModifierOnTypeMember: "'%0' modifier cannot appear on a type member.", - InvalidModifiersOrder: "'%0' modifier must precede '%1' modifier.", - InvalidTupleMemberLabel: "Tuple members must be labeled with a simple identifier.", - MissingInterfaceName: "'interface' declarations must be followed by an identifier.", - MixedLabeledAndUnlabeledElements: "Tuple members must all have names or all not have names.", - NonAbstractClassHasAbstractMethod: "Abstract methods can only appear within an abstract class.", - NonClassMethodPropertyHasAbstractModifer: "'abstract' modifier can only appear on a class, method, or property declaration.", - OptionalTypeBeforeRequired: "A required element cannot follow an optional element.", - OverrideNotInSubClass: "This member cannot have an 'override' modifier because its containing class does not extend another class.", - PatternIsOptional: "A binding pattern parameter cannot be optional in an implementation signature.", - PrivateElementHasAbstract: "Private elements cannot have the 'abstract' modifier.", - PrivateElementHasAccessibility: "Private elements cannot have an accessibility modifier ('%0').", - ReadonlyForMethodSignature: "'readonly' modifier can only appear on a property declaration or index signature.", - ReservedArrowTypeParam: "This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.", - ReservedTypeAssertion: "This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.", - SetAccesorCannotHaveOptionalParameter: "A 'set' accessor cannot have an optional parameter.", - SetAccesorCannotHaveRestParameter: "A 'set' accessor cannot have rest parameter.", - SetAccesorCannotHaveReturnType: "A 'set' accessor cannot have a return type annotation.", - StaticBlockCannotHaveModifier: "Static class blocks cannot have any modifier.", - TypeAnnotationAfterAssign: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", - TypeImportCannotSpecifyDefaultAndNamed: "A type-only import can specify a default import or named bindings, but not both.", - TypeModifierIsUsedInTypeExports: "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.", - TypeModifierIsUsedInTypeImports: "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.", - UnexpectedParameterModifier: "A parameter property is only allowed in a constructor implementation.", - UnexpectedReadonly: "'readonly' type modifier is only permitted on array and tuple literal types.", - UnexpectedTypeAnnotation: "Did not expect a type annotation here.", - UnexpectedTypeCastInParameter: "Unexpected type cast in parameter position.", - UnsupportedImportTypeArgument: "Argument in a type import must be a string literal.", - UnsupportedParameterPropertyKind: "A parameter property may not be declared using a binding pattern.", - UnsupportedSignatureParameterKind: "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0." -}, ErrorCodes.SyntaxError, "typescript"); +const TSErrors = ParseErrorEnum`typescript`(_ => ({ + AbstractMethodHasImplementation: _(({ + methodName + }) => `Method '${methodName}' cannot have an implementation because it is marked abstract.`), + AbstractPropertyHasInitializer: _(({ + propertyName + }) => `Property '${propertyName}' cannot have an initializer because it is marked abstract.`), + AccesorCannotDeclareThisParameter: _("'get' and 'set' accessors cannot declare 'this' parameters."), + AccesorCannotHaveTypeParameters: _("An accessor cannot have type parameters."), + CannotFindName: _(({ + name + }) => `Cannot find name '${name}'.`), + ClassMethodHasDeclare: _("Class methods cannot have the 'declare' modifier."), + ClassMethodHasReadonly: _("Class methods cannot have the 'readonly' modifier."), + ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference: _("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."), + ConstructorHasTypeParameters: _("Type parameters cannot appear on a constructor declaration."), + DeclareAccessor: _(({ + kind + }) => `'declare' is not allowed in ${kind}ters.`), + DeclareClassFieldHasInitializer: _("Initializers are not allowed in ambient contexts."), + DeclareFunctionHasImplementation: _("An implementation cannot be declared in ambient contexts."), + DuplicateAccessibilityModifier: _(({ + modifier + }) => `Accessibility modifier already seen.`), + DuplicateModifier: _(({ + modifier + }) => `Duplicate modifier: '${modifier}'.`), + EmptyHeritageClauseType: _(({ + token + }) => `'${token}' list cannot be empty.`), + EmptyTypeArguments: _("Type argument list cannot be empty."), + EmptyTypeParameters: _("Type parameter list cannot be empty."), + ExpectedAmbientAfterExportDeclare: _("'export declare' must be followed by an ambient declaration."), + ImportAliasHasImportType: _("An import alias can not use 'import type'."), + IncompatibleModifiers: _(({ + modifiers + }) => `'${modifiers[0]}' modifier cannot be used with '${modifiers[1]}' modifier.`), + IndexSignatureHasAbstract: _("Index signatures cannot have the 'abstract' modifier."), + IndexSignatureHasAccessibility: _(({ + modifier + }) => `Index signatures cannot have an accessibility modifier ('${modifier}').`), + IndexSignatureHasDeclare: _("Index signatures cannot have the 'declare' modifier."), + IndexSignatureHasOverride: _("'override' modifier cannot appear on an index signature."), + IndexSignatureHasStatic: _("Index signatures cannot have the 'static' modifier."), + InitializerNotAllowedInAmbientContext: _("Initializers are not allowed in ambient contexts."), + InvalidModifierOnTypeMember: _(({ + modifier + }) => `'${modifier}' modifier cannot appear on a type member.`), + InvalidModifierOnTypeParameter: _(({ + modifier + }) => `'${modifier}' modifier cannot appear on a type parameter.`), + InvalidModifierOnTypeParameterPositions: _(({ + modifier + }) => `'${modifier}' modifier can only appear on a type parameter of a class, interface or type alias.`), + InvalidModifiersOrder: _(({ + orderedModifiers + }) => `'${orderedModifiers[0]}' modifier must precede '${orderedModifiers[1]}' modifier.`), + InvalidPropertyAccessAfterInstantiationExpression: _("Invalid property access after an instantiation expression. " + "You can either wrap the instantiation expression in parentheses, or delete the type arguments."), + InvalidTupleMemberLabel: _("Tuple members must be labeled with a simple identifier."), + MissingInterfaceName: _("'interface' declarations must be followed by an identifier."), + MixedLabeledAndUnlabeledElements: _("Tuple members must all have names or all not have names."), + NonAbstractClassHasAbstractMethod: _("Abstract methods can only appear within an abstract class."), + NonClassMethodPropertyHasAbstractModifer: _("'abstract' modifier can only appear on a class, method, or property declaration."), + OptionalTypeBeforeRequired: _("A required element cannot follow an optional element."), + OverrideNotInSubClass: _("This member cannot have an 'override' modifier because its containing class does not extend another class."), + PatternIsOptional: _("A binding pattern parameter cannot be optional in an implementation signature."), + PrivateElementHasAbstract: _("Private elements cannot have the 'abstract' modifier."), + PrivateElementHasAccessibility: _(({ + modifier + }) => `Private elements cannot have an accessibility modifier ('${modifier}').`), + ReadonlyForMethodSignature: _("'readonly' modifier can only appear on a property declaration or index signature."), + ReservedArrowTypeParam: _("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`."), + ReservedTypeAssertion: _("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."), + SetAccesorCannotHaveOptionalParameter: _("A 'set' accessor cannot have an optional parameter."), + SetAccesorCannotHaveRestParameter: _("A 'set' accessor cannot have rest parameter."), + SetAccesorCannotHaveReturnType: _("A 'set' accessor cannot have a return type annotation."), + SingleTypeParameterWithoutTrailingComma: _(({ + typeParameterName + }) => `Single type parameter ${typeParameterName} should have a trailing comma. Example usage: <${typeParameterName},>.`), + StaticBlockCannotHaveModifier: _("Static class blocks cannot have any modifier."), + TypeAnnotationAfterAssign: _("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."), + TypeImportCannotSpecifyDefaultAndNamed: _("A type-only import can specify a default import or named bindings, but not both."), + TypeModifierIsUsedInTypeExports: _("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."), + TypeModifierIsUsedInTypeImports: _("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."), + UnexpectedParameterModifier: _("A parameter property is only allowed in a constructor implementation."), + UnexpectedReadonly: _("'readonly' type modifier is only permitted on array and tuple literal types."), + UnexpectedTypeAnnotation: _("Did not expect a type annotation here."), + UnexpectedTypeCastInParameter: _("Unexpected type cast in parameter position."), + UnsupportedImportTypeArgument: _("Argument in a type import must be a string literal."), + UnsupportedParameterPropertyKind: _("A parameter property may not be declared using a binding pattern."), + UnsupportedSignatureParameterKind: _(({ + type + }) => `Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${type}.`) +})); function keywordTypeFromName(value) { switch (value) { @@ -7960,6 +8336,10 @@ function tsIsAccessModifier(modifier) { return modifier === "private" || modifier === "public" || modifier === "protected"; } +function tsIsVarianceAnnotations(modifier) { + return modifier === "in" || modifier === "out"; +} + var typescript = (superClass => class extends superClass { getScopeHandler() { return TypeScriptScopeHandler; @@ -7970,7 +8350,7 @@ var typescript = (superClass => class extends superClass { } tsTokenCanFollowModifier() { - return (this.match(0) || this.match(5) || this.match(51) || this.match(21) || this.match(130) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak(); + return (this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(134) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak(); } tsNextTokenCanFollowModifier() { @@ -7979,7 +8359,7 @@ var typescript = (superClass => class extends superClass { } tsParseModifier(allowedModifiers, stopOnStartOfClassStaticBlock) { - if (!tokenIsIdentifier(this.state.type)) { + if (!tokenIsIdentifier(this.state.type) && this.state.type !== 58) { return undefined; } @@ -7998,20 +8378,28 @@ var typescript = (superClass => class extends superClass { return undefined; } - tsParseModifiers(modified, allowedModifiers, disallowedModifiers, errorTemplate, stopOnStartOfClassStaticBlock) { + tsParseModifiers({ + modified, + allowedModifiers, + disallowedModifiers, + stopOnStartOfClassStaticBlock, + errorTemplate = TSErrors.InvalidModifierOnTypeMember + }) { const enforceOrder = (loc, modifier, before, after) => { if (modifier === before && modified[after]) { this.raise(TSErrors.InvalidModifiersOrder, { - at: loc - }, before, after); + at: loc, + orderedModifiers: [before, after] + }); } }; const incompatible = (loc, modifier, mod1, mod2) => { if (modified[mod1] && modifier === mod2 || modified[mod2] && modifier === mod1) { this.raise(TSErrors.IncompatibleModifiers, { - at: loc - }, mod1, mod2); + at: loc, + modifiers: [mod1, mod2] + }); } }; @@ -8025,7 +8413,8 @@ var typescript = (superClass => class extends superClass { if (tsIsAccessModifier(modifier)) { if (modified.accessibility) { this.raise(TSErrors.DuplicateAccessibilityModifier, { - at: startLoc + at: startLoc, + modifier }); } else { enforceOrder(startLoc, modifier, modifier, "override"); @@ -8033,11 +8422,22 @@ var typescript = (superClass => class extends superClass { enforceOrder(startLoc, modifier, modifier, "readonly"); modified.accessibility = modifier; } + } else if (tsIsVarianceAnnotations(modifier)) { + if (modified[modifier]) { + this.raise(TSErrors.DuplicateModifier, { + at: startLoc, + modifier + }); + } + + modified[modifier] = true; + enforceOrder(startLoc, modifier, "in", "out"); } else { if (Object.hasOwnProperty.call(modified, modifier)) { this.raise(TSErrors.DuplicateModifier, { - at: startLoc - }, modifier); + at: startLoc, + modifier + }); } else { enforceOrder(startLoc, modifier, "static", "readonly"); enforceOrder(startLoc, modifier, "static", "override"); @@ -8052,8 +8452,9 @@ var typescript = (superClass => class extends superClass { if (disallowedModifiers != null && disallowedModifiers.includes(modifier)) { this.raise(errorTemplate, { - at: startLoc - }, modifier); + at: startLoc, + modifier + }); } } } @@ -8071,7 +8472,7 @@ var typescript = (superClass => class extends superClass { return this.match(3); case "TypeParametersOrArguments": - return this.match(46); + return this.match(48); } throw new Error("Unreachable"); @@ -8137,7 +8538,7 @@ var typescript = (superClass => class extends superClass { if (bracket) { this.expect(0); } else { - this.expect(45); + this.expect(47); } } @@ -8146,7 +8547,7 @@ var typescript = (superClass => class extends superClass { if (bracket) { this.expect(3); } else { - this.expect(46); + this.expect(48); } return result; @@ -8154,10 +8555,10 @@ var typescript = (superClass => class extends superClass { tsParseImportType() { const node = this.startNode(); - this.expect(79); + this.expect(83); this.expect(10); - if (!this.match(125)) { + if (!this.match(129)) { this.raise(TSErrors.UnsupportedImportTypeArgument, { at: this.state.startLoc }); @@ -8167,18 +8568,18 @@ var typescript = (superClass => class extends superClass { this.expect(11); if (this.eat(16)) { - node.qualifier = this.tsParseEntityName(true); + node.qualifier = this.tsParseEntityName(); } - if (this.match(45)) { + if (this.match(47)) { node.typeParameters = this.tsParseTypeArguments(); } return this.finishNode(node, "TSImportType"); } - tsParseEntityName(allowReservedWords) { - let entity = this.parseIdentifier(); + tsParseEntityName(allowReservedWords = true) { + let entity = this.parseIdentifier(allowReservedWords); while (this.eat(16)) { const node = this.startNodeAtNode(entity); @@ -8192,9 +8593,9 @@ var typescript = (superClass => class extends superClass { tsParseTypeReference() { const node = this.startNode(); - node.typeName = this.tsParseEntityName(false); + node.typeName = this.tsParseEntityName(); - if (!this.hasPrecedingLineBreak() && this.match(45)) { + if (!this.hasPrecedingLineBreak() && this.match(47)) { node.typeParameters = this.tsParseTypeArguments(); } @@ -8218,35 +8619,58 @@ var typescript = (superClass => class extends superClass { tsParseTypeQuery() { const node = this.startNode(); - this.expect(83); + this.expect(87); - if (this.match(79)) { + if (this.match(83)) { node.exprName = this.tsParseImportType(); } else { - node.exprName = this.tsParseEntityName(true); + node.exprName = this.tsParseEntityName(); + } + + if (!this.hasPrecedingLineBreak() && this.match(47)) { + node.typeParameters = this.tsParseTypeArguments(); } return this.finishNode(node, "TSTypeQuery"); } - tsParseTypeParameter() { + tsParseInOutModifiers(node) { + this.tsParseModifiers({ + modified: node, + allowedModifiers: ["in", "out"], + disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], + errorTemplate: TSErrors.InvalidModifierOnTypeParameter + }); + } + + tsParseNoneModifiers(node) { + this.tsParseModifiers({ + modified: node, + allowedModifiers: [], + disallowedModifiers: ["in", "out"], + errorTemplate: TSErrors.InvalidModifierOnTypeParameterPositions + }); + } + + tsParseTypeParameter(parseModifiers = this.tsParseNoneModifiers.bind(this)) { const node = this.startNode(); + parseModifiers(node); node.name = this.tsParseTypeParameterName(); - node.constraint = this.tsEatThenParseType(77); + node.constraint = this.tsEatThenParseType(81); node.default = this.tsEatThenParseType(29); return this.finishNode(node, "TSTypeParameter"); } - tsTryParseTypeParameters() { - if (this.match(45)) { - return this.tsParseTypeParameters(); + tsTryParseTypeParameters(parseModifiers) { + if (this.match(47)) { + return this.tsParseTypeParameters(parseModifiers); } } - tsParseTypeParameters() { + tsParseTypeParameters(parseModifiers) { const node = this.startNode(); - if (this.match(45) || this.match(134)) { + if (this.match(47) || this.match(138)) { this.next(); } else { this.unexpected(); @@ -8255,11 +8679,11 @@ var typescript = (superClass => class extends superClass { const refTrailingCommaPos = { value: -1 }; - node.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this), false, true, refTrailingCommaPos); + node.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, parseModifiers), false, true, refTrailingCommaPos); if (node.params.length === 0) { this.raise(TSErrors.EmptyTypeParameters, { - node + at: node }); } @@ -8271,12 +8695,18 @@ var typescript = (superClass => class extends superClass { } tsTryNextParseConstantContext() { - if (this.lookahead().type === 71) { - this.next(); - return this.tsParseTypeReference(); + if (this.lookahead().type !== 75) return null; + this.next(); + const typeReference = this.tsParseTypeReference(); + + if (typeReference.typeParameters) { + this.raise(TSErrors.CannotFindName, { + at: typeReference.typeName, + name: "const" + }); } - return null; + return typeReference; } tsFillSignature(returnToken, signature) { @@ -8298,8 +8728,9 @@ var typescript = (superClass => class extends superClass { return this.parseBindingList(11, 41).map(pattern => { if (pattern.type !== "Identifier" && pattern.type !== "RestElement" && pattern.type !== "ObjectPattern" && pattern.type !== "ArrayPattern") { this.raise(TSErrors.UnsupportedSignatureParameterKind, { - node: pattern - }, pattern.type); + at: pattern, + type: pattern.type + }); } return pattern; @@ -8350,16 +8781,16 @@ var typescript = (superClass => class extends superClass { if (this.eat(17)) node.optional = true; const nodeAny = node; - if (this.match(10) || this.match(45)) { + if (this.match(10) || this.match(47)) { if (readonly) { this.raise(TSErrors.ReadonlyForMethodSignature, { - node + at: node }); } const method = nodeAny; - if (method.kind && this.match(45)) { + if (method.kind && this.match(47)) { this.raise(TSErrors.AccesorCannotHaveTypeParameters, { at: this.state.curPosition() }); @@ -8372,7 +8803,7 @@ var typescript = (superClass => class extends superClass { if (method.kind === "get") { if (method[paramsKey].length > 0) { - this.raise(ErrorMessages.BadGetterArity, { + this.raise(Errors.BadGetterArity, { at: this.state.curPosition() }); @@ -8384,7 +8815,7 @@ var typescript = (superClass => class extends superClass { } } else if (method.kind === "set") { if (method[paramsKey].length !== 1) { - this.raise(ErrorMessages.BadSetterArity, { + this.raise(Errors.BadSetterArity, { at: this.state.curPosition() }); } else { @@ -8411,7 +8842,7 @@ var typescript = (superClass => class extends superClass { if (method[returnTypeKey]) { this.raise(TSErrors.SetAccesorCannotHaveReturnType, { - node: method[returnTypeKey] + at: method[returnTypeKey] }); } } else { @@ -8432,15 +8863,15 @@ var typescript = (superClass => class extends superClass { tsParseTypeMember() { const node = this.startNode(); - if (this.match(10) || this.match(45)) { + if (this.match(10) || this.match(47)) { return this.tsParseSignatureMember("TSCallSignatureDeclaration", node); } - if (this.match(73)) { + if (this.match(77)) { const id = this.startNode(); this.next(); - if (this.match(10) || this.match(45)) { + if (this.match(10) || this.match(47)) { return this.tsParseSignatureMember("TSConstructSignatureDeclaration", node); } else { node.key = this.createIdentifier(id, "new"); @@ -8448,7 +8879,11 @@ var typescript = (superClass => class extends superClass { } } - this.tsParseModifiers(node, ["readonly"], ["declare", "abstract", "private", "protected", "public", "static", "override"], TSErrors.InvalidModifierOnTypeMember); + this.tsParseModifiers({ + modified: node, + allowedModifiers: ["readonly"], + disallowedModifiers: ["declare", "abstract", "private", "protected", "public", "static", "override"] + }); const idx = this.tsTryParseIndexSignature(node); if (idx) { @@ -8481,11 +8916,11 @@ var typescript = (superClass => class extends superClass { tsIsStartOfMappedType() { this.next(); - if (this.eat(49)) { - return this.isContextual(114); + if (this.eat(53)) { + return this.isContextual(118); } - if (this.isContextual(114)) { + if (this.isContextual(118)) { this.next(); } @@ -8500,13 +8935,13 @@ var typescript = (superClass => class extends superClass { } this.next(); - return this.match(54); + return this.match(58); } tsParseMappedTypeParameter() { const node = this.startNode(); node.name = this.tsParseTypeParameterName(); - node.constraint = this.tsExpectThenParseType(54); + node.constraint = this.tsExpectThenParseType(58); return this.finishNode(node, "TSTypeParameter"); } @@ -8514,20 +8949,20 @@ var typescript = (superClass => class extends superClass { const node = this.startNode(); this.expect(5); - if (this.match(49)) { + if (this.match(53)) { node.readonly = this.state.value; this.next(); - this.expectContextual(114); - } else if (this.eatContextual(114)) { + this.expectContextual(118); + } else if (this.eatContextual(118)) { node.readonly = true; } this.expect(0); node.typeParameter = this.tsParseMappedTypeParameter(); - node.nameType = this.eatContextual(89) ? this.tsParseType() : null; + node.nameType = this.eatContextual(93) ? this.tsParseType() : null; this.expect(3); - if (this.match(49)) { + if (this.match(53)) { node.optional = this.state.value; this.next(); this.expect(17); @@ -8555,7 +8990,7 @@ var typescript = (superClass => class extends superClass { if (seenOptionalElement && type !== "TSRestType" && type !== "TSOptionalType" && !(type === "TSNamedTupleMember" && elementNode.optional)) { this.raise(TSErrors.OptionalTypeBeforeRequired, { - node: elementNode + at: elementNode }); } @@ -8571,7 +9006,7 @@ var typescript = (superClass => class extends superClass { if (labeledElements !== isLabeled) { this.raise(TSErrors.MixedLabeledAndUnlabeledElements, { - node: elementNode + at: elementNode }); } }); @@ -8596,7 +9031,7 @@ var typescript = (superClass => class extends superClass { labeledNode.label = type.typeName; } else { this.raise(TSErrors.InvalidTupleMemberLabel, { - node: type + at: type }); labeledNode.label = type; } @@ -8635,7 +9070,7 @@ var typescript = (superClass => class extends superClass { this.next(); } - this.tsFillSignature(19, node); + this.tsInAllowConditionalTypesContext(() => this.tsFillSignature(19, node)); return this.finishNode(node, type); } @@ -8644,11 +9079,11 @@ var typescript = (superClass => class extends superClass { node.literal = (() => { switch (this.state.type) { - case 126: - case 127: - case 125: - case 81: - case 82: + case 130: + case 131: + case 129: + case 85: + case 86: return this.parseExprAtom(); default: @@ -8673,7 +9108,7 @@ var typescript = (superClass => class extends superClass { tsParseThisTypeOrThisTypePredicate() { const thisKeyword = this.tsParseThisTypeNode(); - if (this.isContextual(109) && !this.hasPrecedingLineBreak()) { + if (this.isContextual(113) && !this.hasPrecedingLineBreak()) { return this.tsParseThisTypePredicate(thisKeyword); } else { return thisKeyword; @@ -8682,19 +9117,19 @@ var typescript = (superClass => class extends superClass { tsParseNonArrayType() { switch (this.state.type) { - case 125: - case 126: - case 127: - case 81: - case 82: + case 129: + case 130: + case 131: + case 85: + case 86: return this.tsParseLiteralTypeNode(); - case 49: + case 53: if (this.state.value === "-") { const node = this.startNode(); const nextToken = this.lookahead(); - if (nextToken.type !== 126 && nextToken.type !== 127) { + if (nextToken.type !== 130 && nextToken.type !== 131) { throw this.unexpected(); } @@ -8704,13 +9139,13 @@ var typescript = (superClass => class extends superClass { break; - case 74: + case 78: return this.tsParseThisTypeOrThisTypePredicate(); - case 83: + case 87: return this.tsParseTypeQuery(); - case 79: + case 83: return this.tsParseImportType(); case 5: @@ -8732,8 +9167,8 @@ var typescript = (superClass => class extends superClass { type } = this.state; - if (tokenIsIdentifier(type) || type === 84 || type === 80) { - const nodeType = type === 84 ? "TSVoidKeyword" : type === 80 ? "TSNullKeyword" : keywordTypeFromName(this.state.value); + if (tokenIsIdentifier(type) || type === 88 || type === 84) { + const nodeType = type === 88 ? "TSVoidKeyword" : type === 84 ? "TSNullKeyword" : keywordTypeFromName(this.state.value); if (nodeType !== undefined && this.lookaheadCharCode() !== 46) { const node = this.startNode(); @@ -8792,23 +9227,34 @@ var typescript = (superClass => class extends superClass { default: this.raise(TSErrors.UnexpectedReadonly, { - node + at: node }); } } tsParseInferType() { const node = this.startNode(); - this.expectContextual(108); + this.expectContextual(112); const typeParameter = this.startNode(); typeParameter.name = this.tsParseTypeParameterName(); + typeParameter.constraint = this.tsTryParse(() => this.tsParseConstraintForInferType()); node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter"); return this.finishNode(node, "TSInferType"); } + tsParseConstraintForInferType() { + if (this.eat(81)) { + const constraint = this.tsInDisallowConditionalTypesContext(() => this.tsParseType()); + + if (this.state.inDisallowConditionalTypesContext || !this.match(17)) { + return constraint; + } + } + } + tsParseTypeOperatorOrHigher() { const isTypeOperator = tokenIsTSTypeOperator(this.state.type) && !this.state.containsEsc; - return isTypeOperator ? this.tsParseTypeOperator() : this.isContextual(108) ? this.tsParseInferType() : this.tsParseArrayTypeOrHigher(); + return isTypeOperator ? this.tsParseTypeOperator() : this.isContextual(112) ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(() => this.tsParseArrayTypeOrHigher()); } tsParseUnionOrIntersectionType(kind, parseConstituentType, operator) { @@ -8829,15 +9275,15 @@ var typescript = (superClass => class extends superClass { } tsParseIntersectionTypeOrHigher() { - return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), 43); + return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), 45); } tsParseUnionTypeOrHigher() { - return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), 41); + return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), 43); } tsIsStartOfFunctionType() { - if (this.match(45)) { + if (this.match(47)) { return true; } @@ -8845,43 +9291,38 @@ var typescript = (superClass => class extends superClass { } tsSkipParameterStart() { - if (tokenIsIdentifier(this.state.type) || this.match(74)) { + if (tokenIsIdentifier(this.state.type) || this.match(78)) { this.next(); return true; } if (this.match(5)) { - let braceStackCounter = 1; - this.next(); - - while (braceStackCounter > 0) { - if (this.match(5)) { - ++braceStackCounter; - } else if (this.match(8)) { - --braceStackCounter; - } + const { + errors + } = this.state; + const previousErrorCount = errors.length; - this.next(); + try { + this.parseObjectLike(8, true); + return errors.length === previousErrorCount; + } catch (_unused) { + return false; } - - return true; } if (this.match(0)) { - let braceStackCounter = 1; this.next(); + const { + errors + } = this.state; + const previousErrorCount = errors.length; - while (braceStackCounter > 0) { - if (this.match(0)) { - ++braceStackCounter; - } else if (this.match(3)) { - --braceStackCounter; - } - - this.next(); + try { + this.parseBindingList(3, 93, true); + return errors.length === previousErrorCount; + } catch (_unused2) { + return false; } - - return true; } return false; @@ -8918,7 +9359,7 @@ var typescript = (superClass => class extends superClass { const node = this.startNode(); const asserts = !!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this)); - if (asserts && this.match(74)) { + if (asserts && this.match(78)) { let thisTypePredicate = this.tsParseThisTypeOrThisTypePredicate(); if (thisTypePredicate.type === "TSThisType") { @@ -8973,28 +9414,29 @@ var typescript = (superClass => class extends superClass { tsParseTypePredicatePrefix() { const id = this.parseIdentifier(); - if (this.isContextual(109) && !this.hasPrecedingLineBreak()) { + if (this.isContextual(113) && !this.hasPrecedingLineBreak()) { this.next(); return id; } } tsParseTypePredicateAsserts() { - if (this.state.type !== 102) { + if (this.state.type !== 106) { return false; } const containsEsc = this.state.containsEsc; this.next(); - if (!tokenIsIdentifier(this.state.type) && !this.match(74)) { + if (!tokenIsIdentifier(this.state.type) && !this.match(78)) { return false; } if (containsEsc) { - this.raise(ErrorMessages.InvalidEscapedReservedWord, { - at: this.state.lastTokStartLoc - }, "asserts"); + this.raise(Errors.InvalidEscapedReservedWord, { + at: this.state.lastTokStartLoc, + reservedWord: "asserts" + }); } return true; @@ -9012,22 +9454,22 @@ var typescript = (superClass => class extends superClass { assert(this.state.inType); const type = this.tsParseNonConditionalType(); - if (this.hasPrecedingLineBreak() || !this.eat(77)) { + if (this.state.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(81)) { return type; } const node = this.startNodeAtNode(type); node.checkType = type; - node.extendsType = this.tsParseNonConditionalType(); + node.extendsType = this.tsInDisallowConditionalTypesContext(() => this.tsParseNonConditionalType()); this.expect(17); - node.trueType = this.tsParseType(); + node.trueType = this.tsInAllowConditionalTypesContext(() => this.tsParseType()); this.expect(14); - node.falseType = this.tsParseType(); + node.falseType = this.tsInAllowConditionalTypesContext(() => this.tsParseType()); return this.finishNode(node, "TSConditionalType"); } isAbstractConstructorSignature() { - return this.isContextual(116) && this.lookahead().type === 73; + return this.isContextual(120) && this.lookahead().type === 77; } tsParseNonConditionalType() { @@ -9035,7 +9477,7 @@ var typescript = (superClass => class extends superClass { return this.tsParseFunctionOrConstructorType("TSFunctionType"); } - if (this.match(73)) { + if (this.match(77)) { return this.tsParseFunctionOrConstructorType("TSConstructorType"); } else if (this.isAbstractConstructorSignature()) { return this.tsParseFunctionOrConstructorType("TSConstructorType", true); @@ -9056,39 +9498,42 @@ var typescript = (superClass => class extends superClass { const _const = this.tsTryNextParseConstantContext(); node.typeAnnotation = _const || this.tsNextThenParseType(); - this.expect(46); + this.expect(48); node.expression = this.parseMaybeUnary(); return this.finishNode(node, "TSTypeAssertion"); } - tsParseHeritageClause(descriptor) { + tsParseHeritageClause(token) { const originalStartLoc = this.state.startLoc; - const delimitedList = this.tsParseDelimitedList("HeritageClauseElement", this.tsParseExpressionWithTypeArguments.bind(this)); + const delimitedList = this.tsParseDelimitedList("HeritageClauseElement", () => { + const node = this.startNode(); + node.expression = this.tsParseEntityName(); + + if (this.match(47)) { + node.typeParameters = this.tsParseTypeArguments(); + } + + return this.finishNode(node, "TSExpressionWithTypeArguments"); + }); if (!delimitedList.length) { this.raise(TSErrors.EmptyHeritageClauseType, { - at: originalStartLoc - }, descriptor); + at: originalStartLoc, + token + }); } return delimitedList; } - tsParseExpressionWithTypeArguments() { - const node = this.startNode(); - node.expression = this.tsParseEntityName(false); - - if (this.match(45)) { - node.typeParameters = this.tsParseTypeArguments(); - } - - return this.finishNode(node, "TSExpressionWithTypeArguments"); - } + tsParseInterfaceDeclaration(node, properties = {}) { + if (this.hasFollowingLineBreak()) return null; + this.expectContextual(125); + if (properties.declare) node.declare = true; - tsParseInterfaceDeclaration(node) { if (tokenIsIdentifier(this.state.type)) { node.id = this.parseIdentifier(); - this.checkLVal(node.id, "typescript interface declaration", BIND_TS_INTERFACE); + this.checkIdentifier(node.id, BIND_TS_INTERFACE); } else { node.id = null; this.raise(TSErrors.MissingInterfaceName, { @@ -9096,9 +9541,9 @@ var typescript = (superClass => class extends superClass { }); } - node.typeParameters = this.tsTryParseTypeParameters(); + node.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)); - if (this.eat(77)) { + if (this.eat(81)) { node.extends = this.tsParseHeritageClause("extends"); } @@ -9110,12 +9555,12 @@ var typescript = (superClass => class extends superClass { tsParseTypeAliasDeclaration(node) { node.id = this.parseIdentifier(); - this.checkLVal(node.id, "typescript type alias", BIND_TS_TYPE); - node.typeParameters = this.tsTryParseTypeParameters(); + this.checkIdentifier(node.id, BIND_TS_TYPE); node.typeAnnotation = this.tsInType(() => { + node.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)); this.expect(29); - if (this.isContextual(107) && this.lookahead().type !== 16) { + if (this.isContextual(111) && this.lookahead().type !== 16) { const node = this.startNode(); this.next(); return this.finishNode(node, "TSIntrinsicKeyword"); @@ -9149,6 +9594,28 @@ var typescript = (superClass => class extends superClass { } } + tsInDisallowConditionalTypesContext(cb) { + const oldInDisallowConditionalTypesContext = this.state.inDisallowConditionalTypesContext; + this.state.inDisallowConditionalTypesContext = true; + + try { + return cb(); + } finally { + this.state.inDisallowConditionalTypesContext = oldInDisallowConditionalTypesContext; + } + } + + tsInAllowConditionalTypesContext(cb) { + const oldInDisallowConditionalTypesContext = this.state.inDisallowConditionalTypesContext; + this.state.inDisallowConditionalTypesContext = false; + + try { + return cb(); + } finally { + this.state.inDisallowConditionalTypesContext = oldInDisallowConditionalTypesContext; + } + } + tsEatThenParseType(token) { return !this.match(token) ? undefined : this.tsNextThenParseType(); } @@ -9170,7 +9637,7 @@ var typescript = (superClass => class extends superClass { tsParseEnumMember() { const node = this.startNode(); - node.id = this.match(125) ? this.parseExprAtom() : this.parseIdentifier(true); + node.id = this.match(129) ? this.parseExprAtom() : this.parseIdentifier(true); if (this.eat(29)) { node.initializer = this.parseMaybeAssignAllowIn(); @@ -9179,10 +9646,12 @@ var typescript = (superClass => class extends superClass { return this.finishNode(node, "TSEnumMember"); } - tsParseEnumDeclaration(node, isConst) { - if (isConst) node.const = true; + tsParseEnumDeclaration(node, properties = {}) { + if (properties.const) node.const = true; + if (properties.declare) node.declare = true; + this.expectContextual(122); node.id = this.parseIdentifier(); - this.checkLVal(node.id, "typescript enum declaration", isConst ? BIND_TS_CONST_ENUM : BIND_TS_ENUM); + this.checkIdentifier(node.id, node.const ? BIND_TS_CONST_ENUM : BIND_TS_ENUM); this.expect(5); node.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this)); this.expect(8); @@ -9202,7 +9671,7 @@ var typescript = (superClass => class extends superClass { node.id = this.parseIdentifier(); if (!nested) { - this.checkLVal(node.id, "module or namespace declaration", BIND_TS_NAMESPACE); + this.checkIdentifier(node.id, BIND_TS_NAMESPACE); } if (this.eat(16)) { @@ -9221,10 +9690,10 @@ var typescript = (superClass => class extends superClass { } tsParseAmbientExternalModuleDeclaration(node) { - if (this.isContextual(105)) { + if (this.isContextual(109)) { node.global = true; node.id = this.parseIdentifier(); - } else if (this.match(125)) { + } else if (this.match(129)) { node.id = this.parseExprAtom(); } else { this.unexpected(); @@ -9246,13 +9715,13 @@ var typescript = (superClass => class extends superClass { tsParseImportEqualsDeclaration(node, isExport) { node.isExport = isExport || false; node.id = this.parseIdentifier(); - this.checkLVal(node.id, "import equals declaration", BIND_LEXICAL); + this.checkIdentifier(node.id, BIND_LEXICAL); this.expect(29); const moduleReference = this.tsParseModuleReference(); if (node.importKind === "type" && moduleReference.type !== "TSExternalModuleReference") { this.raise(TSErrors.ImportAliasHasImportType, { - node: moduleReference + at: moduleReference }); } @@ -9262,7 +9731,7 @@ var typescript = (superClass => class extends superClass { } tsIsExternalModuleReference() { - return this.isContextual(112) && this.lookaheadCharCode() === 40; + return this.isContextual(116) && this.lookaheadCharCode() === 40; } tsParseModuleReference() { @@ -9271,10 +9740,10 @@ var typescript = (superClass => class extends superClass { tsParseExternalModuleReference() { const node = this.startNode(); - this.expectContextual(112); + this.expectContextual(116); this.expect(10); - if (!this.match(125)) { + if (!this.match(129)) { throw this.unexpected(); } @@ -9317,41 +9786,54 @@ var typescript = (superClass => class extends superClass { let starttype = this.state.type; let kind; - if (this.isContextual(95)) { - starttype = 70; + if (this.isContextual(99)) { + starttype = 74; kind = "let"; } - return this.tsInAmbientContext(() => { - switch (starttype) { - case 64: - nany.declare = true; - return this.parseFunctionStatement(nany, false, true); + return this.tsInAmbientContext(() => { + if (starttype === 68) { + nany.declare = true; + return this.parseFunctionStatement(nany, false, true); + } + + if (starttype === 80) { + nany.declare = true; + return this.parseClass(nany, true, false); + } + + if (starttype === 122) { + return this.tsParseEnumDeclaration(nany, { + declare: true + }); + } + + if (starttype === 109) { + return this.tsParseAmbientExternalModuleDeclaration(nany); + } - case 76: + if (starttype === 75 || starttype === 74) { + if (!this.match(75) || !this.isLookaheadContextual("enum")) { nany.declare = true; - return this.parseClass(nany, true, false); - - case 71: - if (this.match(71) && this.isLookaheadContextual("enum")) { - this.expect(71); - this.expectContextual(118); - return this.tsParseEnumDeclaration(nany, true); - } + return this.parseVarStatement(nany, kind || this.state.value, true); + } - case 70: - kind = kind || this.state.value; - return this.parseVarStatement(nany, kind); + this.expect(75); + return this.tsParseEnumDeclaration(nany, { + const: true, + declare: true + }); + } - case 105: - return this.tsParseAmbientExternalModuleDeclaration(nany); + if (starttype === 125) { + const result = this.tsParseInterfaceDeclaration(nany, { + declare: true + }); + if (result) return result; + } - default: - { - if (tokenIsIdentifier(starttype)) { - return this.tsParseDeclaration(nany, this.state.value, true); - } - } + if (tokenIsIdentifier(starttype)) { + return this.tsParseDeclaration(nany, this.state.value, true); } }); } @@ -9397,30 +9879,15 @@ var typescript = (superClass => class extends superClass { tsParseDeclaration(node, value, next) { switch (value) { case "abstract": - if (this.tsCheckLineTerminator(next) && (this.match(76) || tokenIsIdentifier(this.state.type))) { + if (this.tsCheckLineTerminator(next) && (this.match(80) || tokenIsIdentifier(this.state.type))) { return this.tsParseAbstractDeclaration(node); } break; - case "enum": - if (next || tokenIsIdentifier(this.state.type)) { - if (next) this.next(); - return this.tsParseEnumDeclaration(node, false); - } - - break; - - case "interface": - if (this.tsCheckLineTerminator(next) && tokenIsIdentifier(this.state.type)) { - return this.tsParseInterfaceDeclaration(node); - } - - break; - case "module": if (this.tsCheckLineTerminator(next)) { - if (this.match(125)) { + if (this.match(129)) { return this.tsParseAmbientExternalModuleDeclaration(node); } else if (tokenIsIdentifier(this.state.type)) { return this.tsParseModuleOrNamespaceDeclaration(node); @@ -9456,7 +9923,7 @@ var typescript = (superClass => class extends superClass { } tsTryParseGenericAsyncArrowFunction(startPos, startLoc) { - if (!this.match(45)) { + if (!this.match(47)) { return undefined; } @@ -9479,20 +9946,28 @@ var typescript = (superClass => class extends superClass { return this.parseArrowExpression(res, null, true); } + tsParseTypeArgumentsInExpression() { + if (this.reScan_lt() !== 47) { + return undefined; + } + + return this.tsParseTypeArguments(); + } + tsParseTypeArguments() { const node = this.startNode(); node.params = this.tsInType(() => this.tsInNoContext(() => { - this.expect(45); + this.expect(47); return this.tsParseDelimitedList("TypeParametersOrArguments", this.tsParseType.bind(this)); })); if (node.params.length === 0) { this.raise(TSErrors.EmptyTypeArguments, { - node + at: node }); } - this.expect(46); + this.expect(48); return this.finishNode(node, "TSTypeParameterInstantiation"); } @@ -9514,7 +9989,10 @@ var typescript = (superClass => class extends superClass { if (allowModifiers !== undefined) { const modified = {}; - this.tsParseModifiers(modified, ["public", "private", "protected", "override", "readonly"]); + this.tsParseModifiers({ + modified, + allowedModifiers: ["public", "private", "protected", "override", "readonly"] + }); accessibility = modified.accessibility; override = modified.override; readonly = modified.readonly; @@ -9543,7 +10021,7 @@ var typescript = (superClass => class extends superClass { if (elt.type !== "Identifier" && elt.type !== "AssignmentPattern") { this.raise(TSErrors.UnsupportedParameterPropertyKind, { - node: pp + at: pp }); } @@ -9558,6 +10036,10 @@ var typescript = (superClass => class extends superClass { return elt; } + isSimpleParameter(node) { + return node.type === "TSParameterProperty" && super.isSimpleParameter(node.parameter) || super.isSimpleParameter(node); + } + parseFunctionBodyAndFinish(node, type, isMethod = false) { if (this.match(14)) { node.returnType = this.tsParseTypeOrTypePredicateAnnotation(14); @@ -9572,7 +10054,7 @@ var typescript = (superClass => class extends superClass { if (bodilessType === "TSDeclareFunction" && this.state.isAmbientContext) { this.raise(TSErrors.DeclareFunctionHasImplementation, { - node + at: node }); if (node.declare) { @@ -9586,7 +10068,7 @@ var typescript = (superClass => class extends superClass { registerFunctionStatementId(node) { if (!node.body && node.id) { - this.checkLVal(node.id, "function name", BIND_TS_AMBIENT); + this.checkIdentifier(node.id, BIND_TS_AMBIENT); } else { super.registerFunctionStatementId(...arguments); } @@ -9596,7 +10078,7 @@ var typescript = (superClass => class extends superClass { items.forEach(node => { if ((node == null ? void 0 : node.type) === "TSTypeCastExpression") { this.raise(TSErrors.UnexpectedTypeAnnotation, { - node: node.typeAnnotation + at: node.typeAnnotation }); } }); @@ -9638,7 +10120,7 @@ var typescript = (superClass => class extends superClass { this.next(); } - if (this.match(45)) { + if (this.match(47) || this.match(51)) { let missingParenErrorLoc; const result = this.tsTryParseAndCatch(() => { if (!noCalls && this.atPossibleAsyncArrow(base)) { @@ -9649,64 +10131,80 @@ var typescript = (superClass => class extends superClass { } } - const node = this.startNodeAt(startPos, startLoc); - node.callee = base; - const typeArguments = this.tsParseTypeArguments(); + const typeArguments = this.tsParseTypeArgumentsInExpression(); + if (!typeArguments) return; - if (typeArguments) { - if (isOptionalCall && !this.match(10)) { - missingParenErrorLoc = this.state.curPosition(); - this.unexpected(); - } + if (isOptionalCall && !this.match(10)) { + missingParenErrorLoc = this.state.curPosition(); + return; + } - if (!noCalls && this.eat(10)) { - node.arguments = this.parseCallExpressionArguments(11, false); - this.tsCheckForInvalidTypeCasts(node.arguments); - node.typeParameters = typeArguments; + if (tokenIsTemplate(this.state.type)) { + const result = this.parseTaggedTemplateExpression(base, startPos, startLoc, state); + result.typeParameters = typeArguments; + return result; + } - if (state.optionalChainMember) { - node.optional = isOptionalCall; - } + if (!noCalls && this.eat(10)) { + const node = this.startNodeAt(startPos, startLoc); + node.callee = base; + node.arguments = this.parseCallExpressionArguments(11, false); + this.tsCheckForInvalidTypeCasts(node.arguments); + node.typeParameters = typeArguments; - return this.finishCallExpression(node, state.optionalChainMember); - } else if (tokenIsTemplate(this.state.type)) { - const result = this.parseTaggedTemplateExpression(base, startPos, startLoc, state); - result.typeParameters = typeArguments; - return result; + if (state.optionalChainMember) { + node.optional = isOptionalCall; } + + return this.finishCallExpression(node, state.optionalChainMember); } - this.unexpected(); + const tokenType = this.state.type; + + if (tokenType === 48 || tokenType !== 10 && tokenCanStartExpression(tokenType) && !this.hasPrecedingLineBreak()) { + return; + } + + const node = this.startNodeAt(startPos, startLoc); + node.expression = base; + node.typeParameters = typeArguments; + return this.finishNode(node, "TSInstantiationExpression"); }); if (missingParenErrorLoc) { this.unexpected(missingParenErrorLoc, 10); } - if (result) return result; + if (result) { + if (result.type === "TSInstantiationExpression" && (this.match(16) || this.match(18) && this.lookaheadCharCode() !== 40)) { + this.raise(TSErrors.InvalidPropertyAccessAfterInstantiationExpression, { + at: this.state.startLoc + }); + } + + return result; + } } return super.parseSubscript(base, startPos, startLoc, noCalls, state); } - parseNewArguments(node) { - if (this.match(45)) { - const typeParameters = this.tsTryParseAndCatch(() => { - const args = this.tsParseTypeArguments(); - if (!this.match(10)) this.unexpected(); - return args; - }); + parseNewCallee(node) { + var _callee$extra; - if (typeParameters) { - node.typeParameters = typeParameters; - } - } + super.parseNewCallee(node); + const { + callee + } = node; - super.parseNewArguments(node); + if (callee.type === "TSInstantiationExpression" && !((_callee$extra = callee.extra) != null && _callee$extra.parenthesized)) { + node.typeParameters = callee.typeParameters; + node.callee = callee.expression; + } } parseExprOp(left, leftStartPos, leftStartLoc, minPrec) { - if (tokenOperatorPrecedence(54) > minPrec && !this.hasPrecedingLineBreak() && this.isContextual(89)) { + if (tokenOperatorPrecedence(58) > minPrec && !this.hasPrecedingLineBreak() && this.isContextual(93)) { const node = this.startNodeAt(leftStartPos, leftStartLoc); node.expression = left; @@ -9726,17 +10224,21 @@ var typescript = (superClass => class extends superClass { return super.parseExprOp(left, leftStartPos, leftStartLoc, minPrec); } - checkReservedWord(word, startLoc, checkKeywords, isBinding) {} + checkReservedWord(word, startLoc, checkKeywords, isBinding) { + if (!this.state.isAmbientContext) { + super.checkReservedWord(word, startLoc, checkKeywords, isBinding); + } + } checkDuplicateExports() {} parseImport(node) { node.importKind = "value"; - if (tokenIsIdentifier(this.state.type) || this.match(51) || this.match(5)) { + if (tokenIsIdentifier(this.state.type) || this.match(55) || this.match(5)) { let ahead = this.lookahead(); - if (this.isContextual(122) && ahead.type !== 12 && ahead.type !== 93 && ahead.type !== 29) { + if (this.isContextual(126) && ahead.type !== 12 && ahead.type !== 97 && ahead.type !== 29) { node.importKind = "type"; this.next(); ahead = this.lookahead(); @@ -9751,7 +10253,7 @@ var typescript = (superClass => class extends superClass { if (importNode.importKind === "type" && importNode.specifiers.length > 1 && importNode.specifiers[0].type === "ImportDefaultSpecifier") { this.raise(TSErrors.TypeImportCannotSpecifyDefaultAndNamed, { - node: importNode + at: importNode }); } @@ -9759,10 +10261,10 @@ var typescript = (superClass => class extends superClass { } parseExport(node) { - if (this.match(79)) { + if (this.match(83)) { this.next(); - if (this.isContextual(122) && this.lookaheadCharCode() !== 61) { + if (this.isContextual(126) && this.lookaheadCharCode() !== 61) { node.importKind = "type"; this.next(); } else { @@ -9775,14 +10277,14 @@ var typescript = (superClass => class extends superClass { assign.expression = this.parseExpression(); this.semicolon(); return this.finishNode(assign, "TSExportAssignment"); - } else if (this.eatContextual(89)) { + } else if (this.eatContextual(93)) { const decl = node; - this.expectContextual(120); + this.expectContextual(124); decl.id = this.parseIdentifier(); this.semicolon(); return this.finishNode(decl, "TSNamespaceExportDeclaration"); } else { - if (this.isContextual(122) && this.lookahead().type === 5) { + if (this.isContextual(126) && this.lookahead().type === 5) { this.next(); node.exportKind = "type"; } else { @@ -9794,7 +10296,7 @@ var typescript = (superClass => class extends superClass { } isAbstractClass() { - return this.isContextual(116) && this.lookahead().type === 76; + return this.isContextual(120) && this.lookahead().type === 80; } parseExportDefaultExpression() { @@ -9806,28 +10308,59 @@ var typescript = (superClass => class extends superClass { return cls; } - if (this.match(121)) { - const interfaceNode = this.startNode(); - this.next(); - const result = this.tsParseInterfaceDeclaration(interfaceNode); + if (this.match(125)) { + const result = this.tsParseInterfaceDeclaration(this.startNode()); if (result) return result; } return super.parseExportDefaultExpression(); } - parseStatementContent(context, topLevel) { - if (this.state.type === 71) { - const ahead = this.lookahead(); + parseVarStatement(node, kind, allowMissingInitializer = false) { + const { + isAmbientContext + } = this.state; + const declaration = super.parseVarStatement(node, kind, allowMissingInitializer || isAmbientContext); + if (!isAmbientContext) return declaration; - if (ahead.type === 118) { - const node = this.startNode(); - this.next(); - this.expectContextual(118); - return this.tsParseEnumDeclaration(node, true); + for (const { + id, + init + } of declaration.declarations) { + if (!init) continue; + + if (kind !== "const" || !!id.typeAnnotation) { + this.raise(TSErrors.InitializerNotAllowedInAmbientContext, { + at: init + }); + } else if (init.type !== "StringLiteral" && init.type !== "BooleanLiteral" && init.type !== "NumericLiteral" && init.type !== "BigIntLiteral" && (init.type !== "TemplateLiteral" || init.expressions.length > 0) && !isPossiblyLiteralEnum(init)) { + this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, { + at: init + }); } } + return declaration; + } + + parseStatementContent(context, topLevel) { + if (this.match(75) && this.isLookaheadContextual("enum")) { + const node = this.startNode(); + this.expect(75); + return this.tsParseEnumDeclaration(node, { + const: true + }); + } + + if (this.isContextual(122)) { + return this.tsParseEnumDeclaration(this.startNode()); + } + + if (this.isContextual(125)) { + const result = this.tsParseInterfaceDeclaration(this.startNode()); + if (result) return result; + } + return super.parseStatementContent(context, topLevel); } @@ -9846,12 +10379,18 @@ var typescript = (superClass => class extends superClass { } tsIsStartOfStaticBlocks() { - return this.isContextual(100) && this.lookaheadCharCode() === 123; + return this.isContextual(104) && this.lookaheadCharCode() === 123; } parseClassMember(classBody, member, state) { const modifiers = ["declare", "private", "public", "protected", "override", "abstract", "readonly", "static"]; - this.tsParseModifiers(member, modifiers, undefined, undefined, true); + this.tsParseModifiers({ + modified: member, + allowedModifiers: modifiers, + disallowedModifiers: ["in", "out"], + stopOnStartOfClassStaticBlock: true, + errorTemplate: TSErrors.InvalidModifierOnTypeParameterPositions + }); const callParseClassMemberWithIsStatic = () => { if (this.tsIsStartOfStaticBlocks()) { @@ -9885,25 +10424,26 @@ var typescript = (superClass => class extends superClass { if (member.abstract) { this.raise(TSErrors.IndexSignatureHasAbstract, { - node: member + at: member }); } if (member.accessibility) { this.raise(TSErrors.IndexSignatureHasAccessibility, { - node: member - }, member.accessibility); + at: member, + modifier: member.accessibility + }); } if (member.declare) { this.raise(TSErrors.IndexSignatureHasDeclare, { - node: member + at: member }); } if (member.override) { this.raise(TSErrors.IndexSignatureHasOverride, { - node: member + at: member }); } @@ -9912,14 +10452,14 @@ var typescript = (superClass => class extends superClass { if (!this.state.inAbstractClass && member.abstract) { this.raise(TSErrors.NonAbstractClassHasAbstractMethod, { - node: member + at: member }); } if (member.override) { if (!state.hadSuperClass) { this.raise(TSErrors.OverrideNotInSubClass, { - node: member + at: member }); } } @@ -9933,13 +10473,13 @@ var typescript = (superClass => class extends superClass { if (methodOrProp.readonly && this.match(10)) { this.raise(TSErrors.ClassMethodHasReadonly, { - node: methodOrProp + at: methodOrProp }); } if (methodOrProp.declare && this.match(10)) { this.raise(TSErrors.ClassMethodHasDeclare, { - node: methodOrProp + at: methodOrProp }); } } @@ -9992,31 +10532,29 @@ var typescript = (superClass => class extends superClass { } parseExportDeclaration(node) { + if (!this.state.isAmbientContext && this.isContextual(121)) { + return this.tsInAmbientContext(() => this.parseExportDeclaration(node)); + } + const startPos = this.state.start; const startLoc = this.state.startLoc; - const isDeclare = this.eatContextual(117); + const isDeclare = this.eatContextual(121); - if (isDeclare && (this.isContextual(117) || !this.shouldParseExportDeclaration())) { + if (isDeclare && (this.isContextual(121) || !this.shouldParseExportDeclaration())) { throw this.raise(TSErrors.ExpectedAmbientAfterExportDeclare, { at: this.state.startLoc }); } - let declaration; - - if (tokenIsIdentifier(this.state.type)) { - declaration = this.tsTryParseExportDeclaration(); - } - - if (!declaration) { - declaration = super.parseExportDeclaration(node); - } + const isIdentifier = tokenIsIdentifier(this.state.type); + const declaration = isIdentifier && this.tsTryParseExportDeclaration() || super.parseExportDeclaration(node); + if (!declaration) return null; - if (declaration && (declaration.type === "TSInterfaceDeclaration" || declaration.type === "TSTypeAliasDeclaration" || isDeclare)) { + if (declaration.type === "TSInterfaceDeclaration" || declaration.type === "TSTypeAliasDeclaration" || isDeclare) { node.exportKind = "type"; } - if (declaration && isDeclare) { + if (isDeclare) { this.resetStartLocation(declaration, startPos, startLoc); declaration.declare = true; } @@ -10025,12 +10563,12 @@ var typescript = (superClass => class extends superClass { } parseClassId(node, isStatement, optionalId) { - if ((!isStatement || optionalId) && this.isContextual(106)) { + if ((!isStatement || optionalId) && this.isContextual(110)) { return; } super.parseClassId(node, isStatement, optionalId, node.declare ? BIND_TS_AMBIENT : BIND_CLASS); - const typeParameters = this.tsTryParseTypeParameters(); + const typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)); if (typeParameters) node.typeParameters = typeParameters; } @@ -10057,8 +10595,9 @@ var typescript = (superClass => class extends superClass { key } = node; this.raise(TSErrors.AbstractPropertyHasInitializer, { - at: this.state.startLoc - }, key.type === "Identifier" && !node.computed ? key.name : `[${this.input.slice(key.start, key.end)}]`); + at: this.state.startLoc, + propertyName: key.type === "Identifier" && !node.computed ? key.name : `[${this.input.slice(key.start, key.end)}]` + }); } return super.parseClassProperty(node); @@ -10067,14 +10606,15 @@ var typescript = (superClass => class extends superClass { parseClassPrivateProperty(node) { if (node.abstract) { this.raise(TSErrors.PrivateElementHasAbstract, { - node + at: node }); } if (node.accessibility) { this.raise(TSErrors.PrivateElementHasAccessibility, { - node - }, node.accessibility); + at: node, + modifier: node.accessibility + }); } this.parseClassPropertyAnnotation(node); @@ -10086,14 +10626,20 @@ var typescript = (superClass => class extends superClass { if (typeParameters && isConstructor) { this.raise(TSErrors.ConstructorHasTypeParameters, { - node: typeParameters + at: typeParameters }); } - if (method.declare && (method.kind === "get" || method.kind === "set")) { + const { + declare = false, + kind + } = method; + + if (declare && (kind === "get" || kind === "set")) { this.raise(TSErrors.DeclareAccessor, { - node: method - }, method.kind); + at: method, + kind + }); } if (typeParameters) method.typeParameters = typeParameters; @@ -10115,11 +10661,11 @@ var typescript = (superClass => class extends superClass { parseClassSuper(node) { super.parseClassSuper(node); - if (node.superClass && this.match(45)) { - node.superTypeParameters = this.tsParseTypeArguments(); + if (node.superClass && (this.match(47) || this.match(51))) { + node.superTypeParameters = this.tsParseTypeArgumentsInExpression(); } - if (this.eatContextual(106)) { + if (this.eatContextual(110)) { node.implements = this.tsParseHeritageClause("implements"); } } @@ -10166,7 +10712,7 @@ var typescript = (superClass => class extends superClass { let jsx; let typeCast; - if (this.hasPlugin("jsx") && (this.match(134) || this.match(45))) { + if (this.hasPlugin("jsx") && (this.match(138) || this.match(47))) { state = this.state.clone(); jsx = this.tryParse(() => super.parseMaybeAssign(...args), state); if (!jsx.error) return jsx.node; @@ -10180,12 +10726,12 @@ var typescript = (superClass => class extends superClass { } } - if (!((_jsx = jsx) != null && _jsx.error) && !this.match(45)) { + if (!((_jsx = jsx) != null && _jsx.error) && !this.match(47)) { return super.parseMaybeAssign(...args); } + if (!state || state === this.state) state = this.state.clone(); let typeParameters; - state = state || this.state.clone(); const arrow = this.tryParse(abort => { var _expr$extra, _typeParameters; @@ -10242,13 +10788,13 @@ var typescript = (superClass => class extends superClass { if (node.params.length === 1 && !((_node$extra = node.extra) != null && _node$extra.trailingComma) && this.getPluginOption("typescript", "disallowAmbiguousJSXLike")) { this.raise(TSErrors.ReservedArrowTypeParam, { - node + at: node }); } } parseMaybeUnary(refExpressionErrors) { - if (!this.hasPlugin("jsx") && this.match(45)) { + if (!this.hasPlugin("jsx") && this.match(47)) { return this.tsParseTypeAssertion(); } else { return super.parseMaybeUnary(refExpressionErrors); @@ -10277,7 +10823,7 @@ var typescript = (superClass => class extends superClass { if (this.eat(17)) { if (param.type !== "Identifier" && !this.state.isAmbientContext && !this.state.inType) { this.raise(TSErrors.PatternIsOptional, { - node: param + at: param }); } @@ -10305,23 +10851,33 @@ var typescript = (superClass => class extends superClass { toAssignable(node, isLHS = false) { switch (node.type) { - case "TSTypeCastExpression": - return super.toAssignable(this.typeCastToParameter(node), isLHS); - - case "TSParameterProperty": - return super.toAssignable(node, isLHS); - case "ParenthesizedExpression": - return this.toAssignableParenthesizedExpression(node, isLHS); + this.toAssignableParenthesizedExpression(node, isLHS); + break; case "TSAsExpression": case "TSNonNullExpression": case "TSTypeAssertion": - node.expression = this.toAssignable(node.expression, isLHS); - return node; + if (isLHS) { + this.expressionScope.recordArrowParemeterBindingError(TSErrors.UnexpectedTypeCastInParameter, { + at: node + }); + } else { + this.raise(TSErrors.UnexpectedTypeCastInParameter, { + at: node + }); + } + + this.toAssignable(node.expression, isLHS); + break; + + case "AssignmentExpression": + if (!isLHS && node.left.type === "TSTypeCastExpression") { + node.left = this.typeCastToParameter(node.left); + } default: - return super.toAssignable(node, isLHS); + super.toAssignable(node, isLHS); } } @@ -10331,50 +10887,40 @@ var typescript = (superClass => class extends superClass { case "TSNonNullExpression": case "TSTypeAssertion": case "ParenthesizedExpression": - node.expression = this.toAssignable(node.expression, isLHS); - return node; + this.toAssignable(node.expression, isLHS); + break; default: - return super.toAssignable(node, isLHS); + super.toAssignable(node, isLHS); } } - checkLVal(expr, contextDescription, ...args) { - var _expr$extra2; - - switch (expr.type) { - case "TSTypeCastExpression": - return; - - case "TSParameterProperty": - this.checkLVal(expr.parameter, "parameter property", ...args); - return; - + checkToRestConversion(node, allowPattern) { + switch (node.type) { case "TSAsExpression": case "TSTypeAssertion": - if (!args[0] && contextDescription !== "parenthesized expression" && !((_expr$extra2 = expr.extra) != null && _expr$extra2.parenthesized)) { - this.raise(ErrorMessages.InvalidLhs, { - node: expr - }, contextDescription); - break; - } - - this.checkLVal(expr.expression, "parenthesized expression", ...args); - return; - case "TSNonNullExpression": - this.checkLVal(expr.expression, contextDescription, ...args); - return; + this.checkToRestConversion(node.expression, false); + break; default: - super.checkLVal(expr, contextDescription, ...args); - return; + super.checkToRestConversion(node, allowPattern); } } + isValidLVal(type, isUnparenthesizedInAssign, binding) { + return getOwn$1({ + TSTypeCastExpression: true, + TSParameterProperty: "parameter", + TSNonNullExpression: "expression", + TSAsExpression: (binding !== BIND_NONE || !isUnparenthesizedInAssign) && ["expression", true], + TSTypeAssertion: (binding !== BIND_NONE || !isUnparenthesizedInAssign) && ["expression", true] + }, type) || super.isValidLVal(type, isUnparenthesizedInAssign, binding); + } + parseBindingAtom() { switch (this.state.type) { - case 74: + case 78: return this.parseIdentifier(true); default: @@ -10383,8 +10929,8 @@ var typescript = (superClass => class extends superClass { } parseMaybeDecoratorArguments(expr) { - if (this.match(45)) { - const typeArguments = this.tsParseTypeArguments(); + if (this.match(47) || this.match(51)) { + const typeArguments = this.tsParseTypeArgumentsInExpression(); if (this.match(10)) { const call = super.parseMaybeDecoratorArguments(expr); @@ -10408,7 +10954,7 @@ var typescript = (superClass => class extends superClass { } isClassMethod() { - return this.match(45) || super.isClassMethod(); + return this.match(47) || super.isClassMethod(); } isClassProperty() { @@ -10420,7 +10966,7 @@ var typescript = (superClass => class extends superClass { if (node.type === "AssignmentPattern" && node.typeAnnotation && node.right.start < node.typeAnnotation.start) { this.raise(TSErrors.TypeAnnotationAfterAssign, { - node: node.typeAnnotation + at: node.typeAnnotation }); } @@ -10430,11 +10976,11 @@ var typescript = (superClass => class extends superClass { getTokenFromCode(code) { if (this.state.inType) { if (code === 62) { - return this.finishOp(46, 1); + return this.finishOp(48, 1); } if (code === 60) { - return this.finishOp(45, 1); + return this.finishOp(47, 1); } } @@ -10446,40 +10992,39 @@ var typescript = (superClass => class extends superClass { type } = this.state; - if (type === 45) { + if (type === 47) { this.state.pos -= 1; this.readToken_lt(); - } else if (type === 46) { + } else if (type === 48) { this.state.pos -= 1; this.readToken_gt(); } } + reScan_lt() { + const { + type + } = this.state; + + if (type === 51) { + this.state.pos -= 2; + this.finishOp(47, 1); + return 47; + } + + return type; + } + toAssignableList(exprList) { for (let i = 0; i < exprList.length; i++) { const expr = exprList[i]; - if (!expr) continue; - - switch (expr.type) { - case "TSTypeCastExpression": - exprList[i] = this.typeCastToParameter(expr); - break; - case "TSAsExpression": - case "TSTypeAssertion": - if (!this.state.maybeInArrowParameters) { - exprList[i] = this.typeCastToParameter(expr); - } else { - this.raise(TSErrors.UnexpectedTypeCastInParameter, { - node: expr - }); - } - - break; + if ((expr == null ? void 0 : expr.type) === "TSTypeCastExpression") { + exprList[i] = this.typeCastToParameter(expr); } } - return super.toAssignableList(...arguments); + super.toAssignableList(...arguments); } typeCastToParameter(node) { @@ -10505,8 +11050,8 @@ var typescript = (superClass => class extends superClass { } jsxParseOpeningElementAfterName(node) { - if (this.match(45)) { - const typeArguments = this.tsTryParseAndCatch(() => this.tsParseTypeArguments()); + if (this.match(47) || this.match(51)) { + const typeArguments = this.tsTryParseAndCatch(() => this.tsParseTypeArgumentsInExpression()); if (typeArguments) node.typeParameters = typeArguments; } @@ -10556,20 +11101,19 @@ var typescript = (superClass => class extends superClass { } tsParseAbstractDeclaration(node) { - if (this.match(76)) { + if (this.match(80)) { node.abstract = true; return this.parseClass(node, true, false); - } else if (this.isContextual(121)) { + } else if (this.isContextual(125)) { if (!this.hasFollowingLineBreak()) { node.abstract = true; this.raise(TSErrors.NonClassMethodPropertyHasAbstractModifer, { - node + at: node }); - this.next(); return this.tsParseInterfaceDeclaration(node); } } else { - this.unexpected(null, 76); + this.unexpected(null, 80); } } @@ -10584,8 +11128,9 @@ var typescript = (superClass => class extends superClass { key } = method; this.raise(TSErrors.AbstractMethodHasImplementation, { - node: method - }, key.type === "Identifier" && !method.computed ? key.name : `[${this.input.slice(key.start, key.end)}]`); + at: method, + methodName: key.type === "Identifier" && !method.computed ? key.name : `[${this.input.slice(key.start, key.end)}]` + }); } } @@ -10646,16 +11191,16 @@ var typescript = (superClass => class extends superClass { let canParseAsKeyword = true; const loc = leftOfAs.loc.start; - if (this.isContextual(89)) { + if (this.isContextual(93)) { const firstAs = this.parseIdentifier(); - if (this.isContextual(89)) { + if (this.isContextual(93)) { const secondAs = this.parseIdentifier(); if (tokenIsKeywordOrIdentifier(this.state.type)) { hasTypeSpecifier = true; leftOfAs = firstAs; - rightOfAs = this.parseIdentifier(); + rightOfAs = isImport ? this.parseIdentifier() : this.parseModuleExportName(); canParseAsKeyword = false; } else { rightOfAs = secondAs; @@ -10663,14 +11208,23 @@ var typescript = (superClass => class extends superClass { } } else if (tokenIsKeywordOrIdentifier(this.state.type)) { canParseAsKeyword = false; - rightOfAs = this.parseIdentifier(); + rightOfAs = isImport ? this.parseIdentifier() : this.parseModuleExportName(); } else { hasTypeSpecifier = true; leftOfAs = firstAs; } } else if (tokenIsKeywordOrIdentifier(this.state.type)) { hasTypeSpecifier = true; - leftOfAs = this.parseIdentifier(); + + if (isImport) { + leftOfAs = this.parseIdentifier(true); + + if (!this.isContextual(93)) { + this.checkReservedWord(leftOfAs.name, leftOfAs.loc.start, true, true); + } + } else { + leftOfAs = this.parseModuleExportName(); + } } if (hasTypeSpecifier && isInTypeOnlyImportExport) { @@ -10684,7 +11238,7 @@ var typescript = (superClass => class extends superClass { const kindKey = isImport ? "importKind" : "exportKind"; node[kindKey] = hasTypeSpecifier ? "type" : "value"; - if (canParseAsKeyword && this.eatContextual(89)) { + if (canParseAsKeyword && this.eatContextual(93)) { node[rightOfAsKey] = isImport ? this.parseIdentifier() : this.parseModuleExportName(); } @@ -10693,24 +11247,46 @@ var typescript = (superClass => class extends superClass { } if (isImport) { - this.checkLVal(node[rightOfAsKey], "import specifier", BIND_LEXICAL); + this.checkIdentifier(node[rightOfAsKey], BIND_LEXICAL); } } }); -const PlaceholderErrors = makeErrorTemplates({ - ClassNameIsRequired: "A class name is required." -}, ErrorCodes.SyntaxError, "placeholders"); +function isPossiblyLiteralEnum(expression) { + if (expression.type !== "MemberExpression") return false; + const { + computed, + property + } = expression; + + if (computed && property.type !== "StringLiteral" && (property.type !== "TemplateLiteral" || property.expressions.length > 0)) { + return false; + } + + return isUncomputedMemberExpressionChain(expression.object); +} + +function isUncomputedMemberExpressionChain(expression) { + if (expression.type === "Identifier") return true; + if (expression.type !== "MemberExpression") return false; + if (expression.computed) return false; + return isUncomputedMemberExpressionChain(expression.object); +} + +const PlaceholderErrors = ParseErrorEnum`placeholders`(_ => ({ + ClassNameIsRequired: _("A class name is required."), + UnexpectedSpace: _("Unexpected space in placeholder.") +})); var placeholders = (superClass => class extends superClass { parsePlaceholder(expectedNode) { - if (this.match(136)) { + if (this.match(140)) { const node = this.startNode(); this.next(); - this.assertNoSpace("Unexpected space in placeholder."); + this.assertNoSpace(); node.name = super.parseIdentifier(true); - this.assertNoSpace("Unexpected space in placeholder."); - this.expect(136); + this.assertNoSpace(); + this.expect(140); return this.finishPlaceholder(node, expectedNode); } } @@ -10723,7 +11299,7 @@ var placeholders = (superClass => class extends superClass { getTokenFromCode(code) { if (code === 37 && this.input.charCodeAt(this.state.pos + 1) === 37) { - return this.finishOp(136, 2); + return this.finishOp(140, 2); } return super.getTokenFromCode(...arguments); @@ -10745,17 +11321,16 @@ var placeholders = (superClass => class extends superClass { return this.parsePlaceholder("Pattern") || super.parseBindingAtom(...arguments); } - checkLVal(expr) { - if (expr.type !== "Placeholder") super.checkLVal(...arguments); + isValidLVal(type, ...rest) { + return type === "Placeholder" || super.isValidLVal(type, ...rest); } toAssignable(node) { if (node && node.type === "Placeholder" && node.expectedNode === "Expression") { node.expectedNode = "Pattern"; - return node; + } else { + super.toAssignable(...arguments); } - - return super.toAssignable(...arguments); } isLet(context) { @@ -10763,14 +11338,14 @@ var placeholders = (superClass => class extends superClass { return true; } - if (!this.isContextual(95)) { + if (!this.isContextual(99)) { return false; } if (context) return false; const nextToken = this.lookahead(); - if (nextToken.type === 136) { + if (nextToken.type === 140) { return true; } @@ -10816,7 +11391,7 @@ var placeholders = (superClass => class extends superClass { const placeholder = this.parsePlaceholder("Identifier"); if (placeholder) { - if (this.match(77) || this.match(136) || this.match(5)) { + if (this.match(81) || this.match(140) || this.match(5)) { node.id = placeholder; } else if (optionalId || !isStatement) { node.id = null; @@ -10840,7 +11415,7 @@ var placeholders = (superClass => class extends superClass { const placeholder = this.parsePlaceholder("Identifier"); if (!placeholder) return super.parseExport(...arguments); - if (!this.isContextual(93) && !this.match(12)) { + if (!this.isContextual(97) && !this.match(12)) { node.specifiers = []; node.source = null; node.declaration = this.finishPlaceholder(placeholder, "Declaration"); @@ -10855,11 +11430,11 @@ var placeholders = (superClass => class extends superClass { } isExportDefaultSpecifier() { - if (this.match(61)) { + if (this.match(65)) { const next = this.nextTokenStart(); if (this.isUnparsedContextual(next, "from")) { - if (this.input.startsWith(tokenLabelName(136), this.nextTokenStartSince(next + 4))) { + if (this.input.startsWith(tokenLabelName(140), this.nextTokenStartSince(next + 4))) { return true; } } @@ -10894,7 +11469,7 @@ var placeholders = (superClass => class extends superClass { if (!placeholder) return super.parseImport(...arguments); node.specifiers = []; - if (!this.isContextual(93) && !this.match(12)) { + if (!this.isContextual(97) && !this.match(12)) { node.source = this.finishPlaceholder(placeholder, "StringLiteral"); this.semicolon(); return this.finishNode(node, "ImportDeclaration"); @@ -10910,7 +11485,7 @@ var placeholders = (superClass => class extends superClass { if (!hasStarImport) this.parseNamedImportSpecifiers(node); } - this.expectContextual(93); + this.expectContextual(97); node.source = this.parseImportSource(); this.semicolon(); return this.finishNode(node, "ImportDeclaration"); @@ -10920,11 +11495,19 @@ var placeholders = (superClass => class extends superClass { return this.parsePlaceholder("StringLiteral") || super.parseImportSource(...arguments); } + assertNoSpace() { + if (this.state.start > this.state.lastTokEndLoc.index) { + this.raise(PlaceholderErrors.UnexpectedSpace, { + at: this.state.lastTokEndLoc + }); + } + } + }); var v8intrinsic = (superClass => class extends superClass { parseV8Intrinsic() { - if (this.match(50)) { + if (this.match(54)) { const v8IntrinsicStartLoc = this.state.startLoc; const node = this.startNode(); this.next(); @@ -10989,7 +11572,7 @@ function getPluginOption(plugins, name, option) { return null; } const PIPELINE_PROPOSALS = ["minimal", "fsharp", "hack", "smart"]; -const TOPIC_TOKENS = ["^", "%", "#"]; +const TOPIC_TOKENS = ["^^", "@@", "^", "%", "#"]; const RECORD_AND_TUPLE_SYNTAX_TYPES = ["hash", "bar"]; function validatePlugins(plugins) { if (hasPlugin(plugins, "decorators")) { @@ -11056,9 +11639,9 @@ function validatePlugins(plugins) { throw new Error("Cannot combine importAssertions and moduleAttributes plugins."); } - const moduleAttributesVerionPluginOption = getPluginOption(plugins, "moduleAttributes", "version"); + const moduleAttributesVersionPluginOption = getPluginOption(plugins, "moduleAttributes", "version"); - if (moduleAttributesVerionPluginOption !== "may-2020") { + if (moduleAttributesVersionPluginOption !== "may-2020") { throw new Error("The 'moduleAttributes' plugin requires a 'version' option," + " representing the last proposal update. Currently, the" + " only supported value is 'may-2020'."); } } @@ -11112,6 +11695,8 @@ function getOptions(opts) { return options; } +const getOwn = (object, key) => Object.hasOwnProperty.call(object, key) && object[key]; + const unwrapParenthesizedExpression = node => { return node.type === "ParenthesizedExpression" ? unwrapParenthesizedExpression(node.expression) : node; }; @@ -11127,15 +11712,17 @@ class LValParser extends NodeUtils { if (isLHS) { if (parenthesized.type === "Identifier") { - this.expressionScope.recordParenthesizedIdentifierError(ErrorMessages.InvalidParenthesizedAssignment, node.loc.start); + this.expressionScope.recordArrowParemeterBindingError(Errors.InvalidParenthesizedAssignment, { + at: node + }); } else if (parenthesized.type !== "MemberExpression") { - this.raise(ErrorMessages.InvalidParenthesizedAssignment, { - node + this.raise(Errors.InvalidParenthesizedAssignment, { + at: node }); } } else { - this.raise(ErrorMessages.InvalidParenthesizedAssignment, { - node + this.raise(Errors.InvalidParenthesizedAssignment, { + at: node }); } } @@ -11159,7 +11746,7 @@ class LValParser extends NodeUtils { this.toAssignableObjectExpressionProp(prop, isLast, isLHS); if (isLast && prop.type === "RestElement" && (_node$extra2 = node.extra) != null && _node$extra2.trailingCommaLoc) { - this.raise(ErrorMessages.RestTrailingComma, { + this.raise(Errors.RestTrailingComma, { at: node.extra.trailingCommaLoc }); } @@ -11168,16 +11755,23 @@ class LValParser extends NodeUtils { break; case "ObjectProperty": - this.toAssignable(node.value, isLHS); - break; + { + const { + key, + value + } = node; + + if (this.isPrivateName(key)) { + this.classScope.usePrivateName(this.getPrivateNameSV(key), key.loc.start); + } + + this.toAssignable(value, isLHS); + break; + } case "SpreadElement": { - this.checkToRestConversion(node); - node.type = "RestElement"; - const arg = node.argument; - this.toAssignable(arg, isLHS); - break; + throw new Error("Internal @babel/parser error (this is a bug, please report it)." + " SpreadElement should be converted by .toAssignable's caller."); } case "ArrayExpression": @@ -11187,7 +11781,7 @@ class LValParser extends NodeUtils { case "AssignmentExpression": if (node.operator !== "=") { - this.raise(ErrorMessages.MissingEqInAssignment, { + this.raise(Errors.MissingEqInAssignment, { at: node.left.loc.end }); } @@ -11201,67 +11795,57 @@ class LValParser extends NodeUtils { this.toAssignable(parenthesized, isLHS); break; } - - return node; } toAssignableObjectExpressionProp(prop, isLast, isLHS) { if (prop.type === "ObjectMethod") { - this.raise(prop.kind === "get" || prop.kind === "set" ? ErrorMessages.PatternHasAccessor : ErrorMessages.PatternHasMethod, { - node: prop.key - }); - } else if (prop.type === "SpreadElement" && !isLast) { - this.raise(ErrorMessages.RestTrailingComma, { - node: prop + this.raise(prop.kind === "get" || prop.kind === "set" ? Errors.PatternHasAccessor : Errors.PatternHasMethod, { + at: prop.key }); + } else if (prop.type === "SpreadElement") { + prop.type = "RestElement"; + const arg = prop.argument; + this.checkToRestConversion(arg, false); + this.toAssignable(arg, isLHS); + + if (!isLast) { + this.raise(Errors.RestTrailingComma, { + at: prop + }); + } } else { this.toAssignable(prop, isLHS); } } toAssignableList(exprList, trailingCommaLoc, isLHS) { - let end = exprList.length; - - if (end) { - const last = exprList[end - 1]; - - if ((last == null ? void 0 : last.type) === "RestElement") { - --end; - } else if ((last == null ? void 0 : last.type) === "SpreadElement") { - last.type = "RestElement"; - let arg = last.argument; - this.toAssignable(arg, isLHS); - arg = unwrapParenthesizedExpression(arg); - - if (arg.type !== "Identifier" && arg.type !== "MemberExpression" && arg.type !== "ArrayPattern" && arg.type !== "ObjectPattern") { - this.unexpected(arg.start); - } - - if (trailingCommaLoc) { - this.raise(ErrorMessages.RestTrailingComma, { - at: trailingCommaLoc - }); - } + const end = exprList.length - 1; - --end; - } - } - - for (let i = 0; i < end; i++) { + for (let i = 0; i <= end; i++) { const elt = exprList[i]; + if (!elt) continue; - if (elt) { + if (elt.type === "SpreadElement") { + elt.type = "RestElement"; + const arg = elt.argument; + this.checkToRestConversion(arg, true); + this.toAssignable(arg, isLHS); + } else { this.toAssignable(elt, isLHS); + } - if (elt.type === "RestElement") { - this.raise(ErrorMessages.RestTrailingComma, { - node: elt + if (elt.type === "RestElement") { + if (i < end) { + this.raise(Errors.RestTrailingComma, { + at: elt + }); + } else if (trailingCommaLoc) { + this.raise(Errors.RestTrailingComma, { + at: trailingCommaLoc }); } } } - - return exprList; } isAssignable(node, isBinding) { @@ -11376,7 +11960,7 @@ class LValParser extends NodeUtils { const decorators = []; if (this.match(26) && this.hasPlugin("decorators")) { - this.raise(ErrorMessages.UnsupportedParameterDecorator, { + this.raise(Errors.UnsupportedParameterDecorator, { at: this.state.startLoc }); } @@ -11409,6 +11993,10 @@ class LValParser extends NodeUtils { if (type === 21) { return this.parseBindingRestProperty(prop); + } else if (type === 134) { + this.expectPlugin("destructuringPrivate", startLoc); + this.classScope.usePrivateName(this.state.value, startLoc); + prop.key = this.parsePrivateName(); } else { this.parsePropertyName(prop); } @@ -11447,95 +12035,141 @@ class LValParser extends NodeUtils { return this.finishNode(node, "AssignmentPattern"); } - checkLVal(expr, contextDescription, bindingType = BIND_NONE, checkClashes, disallowLetBinding, strictModeChanged = false) { - switch (expr.type) { - case "Identifier": - { - const { - name - } = expr; - - if (this.state.strict && (strictModeChanged ? isStrictBindReservedWord(name, this.inModule) : isStrictBindOnlyReservedWord(name))) { - this.raise(bindingType === BIND_NONE ? ErrorMessages.StrictEvalArguments : ErrorMessages.StrictEvalArgumentsBinding, { - node: expr - }, name); - } + isValidLVal(type, isUnparenthesizedInAssign, binding) { + return getOwn({ + AssignmentPattern: "left", + RestElement: "argument", + ObjectProperty: "value", + ParenthesizedExpression: "expression", + ArrayPattern: "elements", + ObjectPattern: "properties" + }, type); + } + + checkLVal(expression, { + in: ancestor, + binding = BIND_NONE, + checkClashes = false, + strictModeChanged = false, + allowingSloppyLetBinding = !(binding & BIND_SCOPE_LEXICAL), + hasParenthesizedAncestor = false + }) { + var _expression$extra; - if (checkClashes) { - if (checkClashes.has(name)) { - this.raise(ErrorMessages.ParamDupe, { - node: expr - }); - } else { - checkClashes.add(name); - } - } + const type = expression.type; + if (this.isObjectMethod(expression)) return; - if (disallowLetBinding && name === "let") { - this.raise(ErrorMessages.LetInLexicalBinding, { - node: expr - }); - } + if (type === "MemberExpression") { + if (binding !== BIND_NONE) { + this.raise(Errors.InvalidPropertyBindingPattern, { + at: expression + }); + } - if (!(bindingType & BIND_NONE)) { - this.scope.declareName(name, bindingType, expr.loc.start); - } + return; + } - break; - } + if (expression.type === "Identifier") { + this.checkIdentifier(expression, binding, strictModeChanged, allowingSloppyLetBinding); + const { + name + } = expression; - case "MemberExpression": - if (bindingType !== BIND_NONE) { - this.raise(ErrorMessages.InvalidPropertyBindingPattern, { - node: expr + if (checkClashes) { + if (checkClashes.has(name)) { + this.raise(Errors.ParamDupe, { + at: expression }); + } else { + checkClashes.add(name); } + } - break; + return; + } - case "ObjectPattern": - for (let prop of expr.properties) { - if (this.isObjectProperty(prop)) prop = prop.value;else if (this.isObjectMethod(prop)) continue; - this.checkLVal(prop, "object destructuring pattern", bindingType, checkClashes, disallowLetBinding); + const validity = this.isValidLVal(expression.type, !(hasParenthesizedAncestor || (_expression$extra = expression.extra) != null && _expression$extra.parenthesized) && ancestor.type === "AssignmentExpression", binding); + if (validity === true) return; + + if (validity === false) { + const ParseErrorClass = binding === BIND_NONE ? Errors.InvalidLhs : Errors.InvalidLhsBinding; + this.raise(ParseErrorClass, { + at: expression, + ancestor: ancestor.type === "UpdateExpression" ? { + type: "UpdateExpression", + prefix: ancestor.prefix + } : { + type: ancestor.type } + }); + return; + } + + const [key, isParenthesizedExpression] = Array.isArray(validity) ? validity : [validity, type === "ParenthesizedExpression"]; + const nextAncestor = expression.type === "ArrayPattern" || expression.type === "ObjectPattern" || expression.type === "ParenthesizedExpression" ? expression : ancestor; + + for (const child of [].concat(expression[key])) { + if (child) { + this.checkLVal(child, { + in: nextAncestor, + binding, + checkClashes, + allowingSloppyLetBinding, + strictModeChanged, + hasParenthesizedAncestor: isParenthesizedExpression + }); + } + } + } - break; + checkIdentifier(at, bindingType, strictModeChanged = false, allowLetBinding = !(bindingType & BIND_SCOPE_LEXICAL)) { + if (this.state.strict && (strictModeChanged ? isStrictBindReservedWord(at.name, this.inModule) : isStrictBindOnlyReservedWord(at.name))) { + if (bindingType === BIND_NONE) { + this.raise(Errors.StrictEvalArguments, { + at, + referenceName: at.name + }); + } else { + this.raise(Errors.StrictEvalArgumentsBinding, { + at, + bindingName: at.name + }); + } + } - case "ArrayPattern": - for (const elem of expr.elements) { - if (elem) { - this.checkLVal(elem, "array destructuring pattern", bindingType, checkClashes, disallowLetBinding); - } - } + if (!allowLetBinding && at.name === "let") { + this.raise(Errors.LetInLexicalBinding, { + at + }); + } - break; + if (!(bindingType & BIND_NONE)) { + this.declareNameFromIdentifier(at, bindingType); + } + } - case "AssignmentPattern": - this.checkLVal(expr.left, "assignment pattern", bindingType, checkClashes); - break; + declareNameFromIdentifier(identifier, binding) { + this.scope.declareName(identifier.name, binding, identifier.loc.start); + } - case "RestElement": - this.checkLVal(expr.argument, "rest element", bindingType, checkClashes); + checkToRestConversion(node, allowPattern) { + switch (node.type) { + case "ParenthesizedExpression": + this.checkToRestConversion(node.expression, allowPattern); break; - case "ParenthesizedExpression": - this.checkLVal(expr.expression, "parenthesized expression", bindingType, checkClashes); + case "Identifier": + case "MemberExpression": break; - default: - { - this.raise(bindingType === BIND_NONE ? ErrorMessages.InvalidLhs : ErrorMessages.InvalidLhsBinding, { - node: expr - }, contextDescription); - } - } - } + case "ArrayExpression": + case "ObjectExpression": + if (allowPattern) break; - checkToRestConversion(node) { - if (node.argument.type !== "Identifier" && node.argument.type !== "MemberExpression") { - this.raise(ErrorMessages.InvalidRestAssignmentPattern, { - node: node.argument - }); + default: + this.raise(Errors.InvalidRestAssignmentPattern, { + at: node + }); } } @@ -11544,7 +12178,7 @@ class LValParser extends NodeUtils { return false; } - this.raise(this.lookaheadCharCode() === close ? ErrorMessages.RestTrailingComma : ErrorMessages.ElementAfterRest, { + this.raise(this.lookaheadCharCode() === close ? Errors.RestTrailingComma : Errors.ElementAfterRest, { at: this.state.startLoc }); return true; @@ -11552,7 +12186,6 @@ class LValParser extends NodeUtils { } -const invalidHackPipeBodies = new Map([["ArrowFunctionExpression", "arrow function"], ["AssignmentExpression", "assignment"], ["ConditionalExpression", "conditional"], ["YieldExpression", "yield"]]); class ExpressionParser extends LValParser { checkProto(prop, isRecord, protoRef, refExpressionErrors) { if (prop.type === "SpreadElement" || this.isObjectMethod(prop) || prop.computed || prop.shorthand) { @@ -11564,8 +12197,8 @@ class ExpressionParser extends LValParser { if (name === "__proto__") { if (isRecord) { - this.raise(ErrorMessages.RecordNoProto, { - node: key + this.raise(Errors.RecordNoProto, { + at: key }); return; } @@ -11576,8 +12209,8 @@ class ExpressionParser extends LValParser { refExpressionErrors.doubleProtoLoc = key.loc.start; } } else { - this.raise(ErrorMessages.DuplicateProto, { - node: key + this.raise(Errors.DuplicateProto, { + at: key }); } } @@ -11595,7 +12228,7 @@ class ExpressionParser extends LValParser { this.nextToken(); const expr = this.parseExpression(); - if (!this.match(131)) { + if (!this.match(135)) { this.unexpected(); } @@ -11656,7 +12289,7 @@ class ExpressionParser extends LValParser { const startPos = this.state.start; const startLoc = this.state.startLoc; - if (this.isContextual(101)) { + if (this.isContextual(105)) { if (this.prodParam.hasYield) { let left = this.parseYield(); @@ -11697,23 +12330,31 @@ class ExpressionParser extends LValParser { node.operator = operator; if (this.match(29)) { - node.left = this.toAssignable(left, true); + this.toAssignable(left, true); + node.left = left; - if (refExpressionErrors.doubleProtoLoc != null && indexes.get(refExpressionErrors.doubleProtoLoc) >= startPos) { + if (refExpressionErrors.doubleProtoLoc != null && refExpressionErrors.doubleProtoLoc.index >= startPos) { refExpressionErrors.doubleProtoLoc = null; } - if (refExpressionErrors.shorthandAssignLoc != null && indexes.get(refExpressionErrors.shorthandAssignLoc) >= startPos) { + if (refExpressionErrors.shorthandAssignLoc != null && refExpressionErrors.shorthandAssignLoc.index >= startPos) { refExpressionErrors.shorthandAssignLoc = null; } + + if (refExpressionErrors.privateKeyLoc != null && refExpressionErrors.privateKeyLoc.index >= startPos) { + this.checkDestructuringPrivate(refExpressionErrors); + refExpressionErrors.privateKeyLoc = null; + } } else { node.left = left; } - this.checkLVal(left, "assignment expression"); this.next(); node.right = this.parseMaybeAssign(); - return this.finishNode(node, "AssignmentExpression"); + this.checkLVal(left, { + in: this.finishNode(node, "AssignmentExpression") + }); + return node; } else if (ownExpressionErrors) { this.checkExpressionErrors(refExpressionErrors, true); } @@ -11748,7 +12389,7 @@ class ExpressionParser extends LValParser { } parseMaybeUnaryOrPrivate(refExpressionErrors) { - return this.match(130) ? this.parsePrivateName() : this.parseMaybeUnary(refExpressionErrors); + return this.match(134) ? this.parsePrivateName() : this.parseMaybeUnary(refExpressionErrors); } parseExprOps(refExpressionErrors) { @@ -11768,10 +12409,11 @@ class ExpressionParser extends LValParser { if (this.isPrivateName(left)) { const value = this.getPrivateNameSV(left); - if (minPrec >= tokenOperatorPrecedence(54) || !this.prodParam.hasIn || !this.match(54)) { - this.raise(ErrorMessages.PrivateInExpectedIn, { - node: left - }, value); + if (minPrec >= tokenOperatorPrecedence(58) || !this.prodParam.hasIn || !this.match(58)) { + this.raise(Errors.PrivateInExpectedIn, { + at: left, + identifierName: value + }); } this.classScope.usePrivateName(value, left.loc.start); @@ -11779,11 +12421,11 @@ class ExpressionParser extends LValParser { const op = this.state.type; - if (tokenIsOperator(op) && (this.prodParam.hasIn || !this.match(54))) { + if (tokenIsOperator(op) && (this.prodParam.hasIn || !this.match(58))) { let prec = tokenOperatorPrecedence(op); if (prec > minPrec) { - if (op === 37) { + if (op === 39) { this.expectPlugin("pipelineOperator"); if (this.state.inFSharpPipelineDirectBody) { @@ -11796,20 +12438,20 @@ class ExpressionParser extends LValParser { const node = this.startNodeAt(leftStartPos, leftStartLoc); node.left = left; node.operator = this.state.value; - const logical = op === 39 || op === 40; - const coalesce = op === 38; + const logical = op === 41 || op === 42; + const coalesce = op === 40; if (coalesce) { - prec = tokenOperatorPrecedence(40); + prec = tokenOperatorPrecedence(42); } this.next(); - if (op === 37 && this.hasPlugin(["pipelineOperator", { + if (op === 39 && this.hasPlugin(["pipelineOperator", { proposal: "minimal" }])) { - if (this.state.type === 92 && this.prodParam.hasAwait) { - throw this.raise(ErrorMessages.UnexpectedAwaitAfterPipelineBody, { + if (this.state.type === 96 && this.prodParam.hasAwait) { + throw this.raise(Errors.UnexpectedAwaitAfterPipelineBody, { at: this.state.startLoc }); } @@ -11819,8 +12461,8 @@ class ExpressionParser extends LValParser { this.finishNode(node, logical || coalesce ? "LogicalExpression" : "BinaryExpression"); const nextOp = this.state.type; - if (coalesce && (nextOp === 39 || nextOp === 40) || logical && nextOp === 38) { - throw this.raise(ErrorMessages.MixingCoalesceWithLogical, { + if (coalesce && (nextOp === 41 || nextOp === 42) || logical && nextOp === 40) { + throw this.raise(Errors.MixingCoalesceWithLogical, { at: this.state.startLoc }); } @@ -11837,7 +12479,7 @@ class ExpressionParser extends LValParser { const startLoc = this.state.startLoc; switch (op) { - case 37: + case 39: switch (this.getPluginOption("pipelineOperator", "proposal")) { case "hack": return this.withTopicBindingContext(() => { @@ -11846,10 +12488,10 @@ class ExpressionParser extends LValParser { case "smart": return this.withTopicBindingContext(() => { - if (this.prodParam.hasYield && this.isContextual(101)) { - throw this.raise(ErrorMessages.PipeBodyIsTighter, { + if (this.prodParam.hasYield && this.isContextual(105)) { + throw this.raise(Errors.PipeBodyIsTighter, { at: this.state.startLoc - }, this.state.value); + }); } return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(op, prec), startPos, startLoc); @@ -11879,15 +12521,17 @@ class ExpressionParser extends LValParser { startLoc } = this.state; const body = this.parseMaybeAssign(); + const requiredParentheses = UnparenthesizedPipeBodyDescriptions.has(body.type); - if (invalidHackPipeBodies.has(body.type) && !((_body$extra = body.extra) != null && _body$extra.parenthesized)) { - this.raise(ErrorMessages.PipeUnparenthesizedBody, { - at: startLoc - }, invalidHackPipeBodies.get(body.type)); + if (requiredParentheses && !((_body$extra = body.extra) != null && _body$extra.parenthesized)) { + this.raise(Errors.PipeUnparenthesizedBody, { + at: startLoc, + type: body.type + }); } if (!this.topicReferenceWasUsedInCurrentContext()) { - this.raise(ErrorMessages.PipeTopicUnused, { + this.raise(Errors.PipeTopicUnused, { at: startLoc }); } @@ -11896,9 +12540,9 @@ class ExpressionParser extends LValParser { } checkExponentialAfterUnary(node) { - if (this.match(53)) { - this.raise(ErrorMessages.UnexpectedTokenUnaryExponentiation, { - node: node.argument + if (this.match(57)) { + this.raise(Errors.UnexpectedTokenUnaryExponentiation, { + at: node.argument }); } } @@ -11906,7 +12550,7 @@ class ExpressionParser extends LValParser { parseMaybeUnary(refExpressionErrors, sawUnary) { const startPos = this.state.start; const startLoc = this.state.startLoc; - const isAwait = this.isContextual(92); + const isAwait = this.isContextual(96); if (isAwait && this.isAwaitAllowed()) { this.next(); @@ -11922,11 +12566,11 @@ class ExpressionParser extends LValParser { node.operator = this.state.value; node.prefix = true; - if (this.match(68)) { + if (this.match(72)) { this.expectPlugin("throwExpressions"); } - const isDelete = this.match(85); + const isDelete = this.match(89); this.next(); node.argument = this.parseMaybeUnary(null, true); this.checkExpressionErrors(refExpressionErrors, true); @@ -11935,12 +12579,12 @@ class ExpressionParser extends LValParser { const arg = node.argument; if (arg.type === "Identifier") { - this.raise(ErrorMessages.StrictDelete, { - node + this.raise(Errors.StrictDelete, { + at: node }); } else if (this.hasPropertyAsPrivateName(arg)) { - this.raise(ErrorMessages.DeletePrivateField, { - node + this.raise(Errors.DeletePrivateField, { + at: node }); } } @@ -11957,10 +12601,12 @@ class ExpressionParser extends LValParser { const { type } = this.state; - const startsExpr = this.hasPlugin("v8intrinsic") ? tokenCanStartExpression(type) : tokenCanStartExpression(type) && !this.match(50); + const startsExpr = this.hasPlugin("v8intrinsic") ? tokenCanStartExpression(type) : tokenCanStartExpression(type) && !this.match(54); if (startsExpr && !this.isAmbiguousAwait()) { - this.raiseOverwrite(startLoc, ErrorMessages.AwaitNotInAsyncContext); + this.raiseOverwrite(Errors.AwaitNotInAsyncContext, { + at: startLoc + }); return this.parseAwait(startPos, startLoc); } } @@ -11970,8 +12616,10 @@ class ExpressionParser extends LValParser { parseUpdate(node, update, refExpressionErrors) { if (update) { - this.checkLVal(node.argument, "prefix operation"); - return this.finishNode(node, "UpdateExpression"); + this.checkLVal(node.argument, { + in: this.finishNode(node, "UpdateExpression") + }); + return node; } const startPos = this.state.start; @@ -11984,9 +12632,10 @@ class ExpressionParser extends LValParser { node.operator = this.state.value; node.prefix = false; node.argument = expr; - this.checkLVal(expr, "postfix operation"); this.next(); - expr = this.finishNode(node, "UpdateExpression"); + this.checkLVal(expr, { + in: expr = this.finishNode(node, "UpdateExpression") + }); } return expr; @@ -12065,9 +12714,9 @@ class ExpressionParser extends LValParser { if (computed) { node.property = this.parseExpression(); this.expect(3); - } else if (this.match(130)) { + } else if (this.match(134)) { if (base.type === "Super") { - this.raise(ErrorMessages.SuperPrivateField, { + this.raise(Errors.SuperPrivateField, { at: startLoc }); } @@ -12102,13 +12751,17 @@ class ExpressionParser extends LValParser { this.next(); let node = this.startNodeAt(startPos, startLoc); node.callee = base; + const { + maybeAsyncArrow, + optionalChainMember + } = state; - if (state.maybeAsyncArrow) { + if (maybeAsyncArrow) { this.expressionScope.enter(newAsyncArrowScope()); refExpressionErrors = new ExpressionErrors(); } - if (state.optionalChainMember) { + if (optionalChainMember) { node.optional = optional; } @@ -12118,15 +12771,16 @@ class ExpressionParser extends LValParser { node.arguments = this.parseCallExpressionArguments(11, base.type === "Import", base.type !== "Super", node, refExpressionErrors); } - this.finishCallExpression(node, state.optionalChainMember); + this.finishCallExpression(node, optionalChainMember); - if (state.maybeAsyncArrow && this.shouldParseAsyncArrow() && !optional) { + if (maybeAsyncArrow && this.shouldParseAsyncArrow() && !optional) { state.stop = true; + this.checkDestructuringPrivate(refExpressionErrors); this.expressionScope.validateAsPattern(); this.expressionScope.exit(); node = this.parseAsyncArrowFromCallExpression(this.startNodeAt(startPos, startLoc), node); } else { - if (state.maybeAsyncArrow) { + if (maybeAsyncArrow) { this.checkExpressionErrors(refExpressionErrors, true); this.expressionScope.exit(); } @@ -12148,7 +12802,7 @@ class ExpressionParser extends LValParser { node.quasi = this.parseTemplate(true); if (state.optionalChainMember) { - this.raise(ErrorMessages.OptionalChainingNoTemplate, { + this.raise(Errors.OptionalChainingNoTemplate, { at: startLoc }); } @@ -12157,7 +12811,7 @@ class ExpressionParser extends LValParser { } atPossibleAsyncArrow(base) { - return base.type === "Identifier" && base.name === "async" && indexes.get(this.state.lastTokEndLoc) === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 && base.start === this.state.potentialArrowAt; + return base.type === "Identifier" && base.name === "async" && this.state.lastTokEndLoc.index === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 && base.start === this.state.potentialArrowAt; } finishCallExpression(node, optional) { @@ -12171,14 +12825,15 @@ class ExpressionParser extends LValParser { } if (node.arguments.length === 0 || node.arguments.length > 2) { - this.raise(ErrorMessages.ImportCallArity, { - node - }, this.hasPlugin("importAssertions") || this.hasPlugin("moduleAttributes") ? "one or two arguments" : "one argument"); + this.raise(Errors.ImportCallArity, { + at: node, + maxArgumentCount: this.hasPlugin("importAssertions") || this.hasPlugin("moduleAttributes") ? 2 : 1 + }); } else { for (const arg of node.arguments) { if (arg.type === "SpreadElement") { - this.raise(ErrorMessages.ImportCallSpreadArgument, { - node: arg + this.raise(Errors.ImportCallSpreadArgument, { + at: arg }); } } @@ -12202,7 +12857,7 @@ class ExpressionParser extends LValParser { if (this.match(close)) { if (dynamicImport && !this.hasPlugin("importAssertions") && !this.hasPlugin("moduleAttributes")) { - this.raise(ErrorMessages.ImportCallArgumentTrailingComma, { + this.raise(Errors.ImportCallArgumentTrailingComma, { at: this.state.lastTokStartLoc }); } @@ -12258,10 +12913,10 @@ class ExpressionParser extends LValParser { } = this.state; switch (type) { - case 75: + case 79: return this.parseSuper(); - case 79: + case 83: node = this.startNode(); this.next(); @@ -12270,49 +12925,49 @@ class ExpressionParser extends LValParser { } if (!this.match(10)) { - this.raise(ErrorMessages.UnsupportedImport, { + this.raise(Errors.UnsupportedImport, { at: this.state.lastTokStartLoc }); } return this.finishNode(node, "Import"); - case 74: + case 78: node = this.startNode(); this.next(); return this.finishNode(node, "ThisExpression"); - case 86: + case 90: { return this.parseDo(this.startNode(), false); } - case 52: + case 56: case 31: { this.readRegexp(); return this.parseRegExpLiteral(this.state.value); } - case 126: + case 130: return this.parseNumericLiteral(this.state.value); - case 127: + case 131: return this.parseBigIntLiteral(this.state.value); - case 128: + case 132: return this.parseDecimalLiteral(this.state.value); - case 125: + case 129: return this.parseStringLiteral(this.state.value); - case 80: + case 84: return this.parseNullLiteral(); - case 81: + case 85: return this.parseBooleanLiteral(true); - case 82: + case 86: return this.parseBooleanLiteral(false); case 10: @@ -12343,18 +12998,18 @@ class ExpressionParser extends LValParser { return this.parseObjectLike(8, false, false, refExpressionErrors); } - case 64: + case 68: return this.parseFunctionOrFunctionSent(); case 26: this.parseDecorators(); - case 76: + case 80: node = this.startNode(); this.takeDecorators(node); return this.parseClass(node, false); - case 73: + case 77: return this.parseNewOrNewTarget(); case 25: @@ -12371,32 +13026,39 @@ class ExpressionParser extends LValParser { if (callee.type === "MemberExpression") { return this.finishNode(node, "BindExpression"); } else { - throw this.raise(ErrorMessages.UnsupportedBind, { - node: callee + throw this.raise(Errors.UnsupportedBind, { + at: callee }); } } - case 130: + case 134: { - this.raise(ErrorMessages.PrivateInExpectedIn, { - at: this.state.startLoc - }, this.state.value); + this.raise(Errors.PrivateInExpectedIn, { + at: this.state.startLoc, + identifierName: this.state.value + }); return this.parsePrivateName(); } case 33: { - return this.parseTopicReferenceThenEqualsSign(50, "%"); + return this.parseTopicReferenceThenEqualsSign(54, "%"); } case 32: { - return this.parseTopicReferenceThenEqualsSign(42, "^"); + return this.parseTopicReferenceThenEqualsSign(44, "^"); } - case 42: - case 50: + case 37: + case 38: + { + return this.parseTopicReference("hack"); + } + + case 44: + case 54: case 27: { const pipeProposal = this.getPluginOption("pipelineOperator", "proposal"); @@ -12408,7 +13070,7 @@ class ExpressionParser extends LValParser { } } - case 45: + case 47: { const lookaheadCh = this.input.codePointAt(this.nextTokenStart()); @@ -12422,7 +13084,7 @@ class ExpressionParser extends LValParser { default: if (tokenIsIdentifier(type)) { - if (this.isContextual(119) && this.lookaheadCharCode() === 123 && !this.hasFollowingLineBreak()) { + if (this.isContextual(123) && this.lookaheadCharCode() === 123 && !this.hasFollowingLineBreak()) { return this.parseModuleExpression(); } @@ -12435,7 +13097,7 @@ class ExpressionParser extends LValParser { type } = this.state; - if (type === 64) { + if (type === 68) { this.resetPreviousNodeTrailingComments(id); this.next(); return this.parseFunction(this.startNodeAtNode(id), undefined, true); @@ -12445,7 +13107,7 @@ class ExpressionParser extends LValParser { } else { return id; } - } else if (type === 86) { + } else if (type === 90) { this.resetPreviousNodeTrailingComments(id); return this.parseDo(this.startNodeAtNode(id), true); } @@ -12492,7 +13154,7 @@ class ExpressionParser extends LValParser { const nodeType = pipeProposal === "smart" ? "PipelinePrimaryTopicReference" : "TopicReference"; if (!this.topicReferenceIsAllowedInCurrentContext()) { - this.raise(pipeProposal === "smart" ? ErrorMessages.PrimaryTopicNotAllowed : ErrorMessages.PipeTopicUnbound, { + this.raise(pipeProposal === "smart" ? Errors.PrimaryTopicNotAllowed : Errors.PipeTopicUnbound, { at: startLoc }); } @@ -12500,9 +13162,10 @@ class ExpressionParser extends LValParser { this.registerTopicReference(); return this.finishNode(node, nodeType); } else { - throw this.raise(ErrorMessages.PipeTopicUnconfiguredToken, { - at: startLoc - }, tokenLabelName(tokenType)); + throw this.raise(Errors.PipeTopicUnconfiguredToken, { + at: startLoc, + token: tokenLabelName(tokenType) + }); } } @@ -12519,7 +13182,7 @@ class ExpressionParser extends LValParser { return tokenType === 27; default: - throw this.raise(ErrorMessages.PipeTopicRequiresHackPipes, { + throw this.raise(Errors.PipeTopicRequiresHackPipes, { at: startLoc }); } @@ -12531,7 +13194,7 @@ class ExpressionParser extends LValParser { this.prodParam.exit(); if (this.hasPrecedingLineBreak()) { - this.raise(ErrorMessages.LineTerminatorBeforeArrow, { + this.raise(Errors.LineTerminatorBeforeArrow, { at: this.state.curPosition() }); } @@ -12570,18 +13233,18 @@ class ExpressionParser extends LValParser { this.next(); if (this.match(10) && !this.scope.allowDirectSuper && !this.options.allowSuperOutsideMethod) { - this.raise(ErrorMessages.SuperNotAllowed, { - node + this.raise(Errors.SuperNotAllowed, { + at: node }); } else if (!this.scope.allowSuper && !this.options.allowSuperOutsideMethod) { - this.raise(ErrorMessages.UnexpectedSuper, { - node + this.raise(Errors.UnexpectedSuper, { + at: node }); } if (!this.match(10) && !this.match(0) && !this.match(16)) { - this.raise(ErrorMessages.UnsupportedSuper, { - node + this.raise(Errors.UnsupportedSuper, { + at: node }); } @@ -12605,7 +13268,7 @@ class ExpressionParser extends LValParser { const meta = this.createIdentifier(this.startNodeAtNode(node), "function"); this.next(); - if (this.match(98)) { + if (this.match(102)) { this.expectPlugin("functionSent"); } else if (!this.hasPlugin("functionSent")) { this.unexpected(); @@ -12623,9 +13286,11 @@ class ExpressionParser extends LValParser { node.property = this.parseIdentifier(true); if (node.property.name !== propertyName || containsEsc) { - this.raise(ErrorMessages.UnsupportedMetaProperty, { - node: node.property - }, meta.name, propertyName); + this.raise(Errors.UnsupportedMetaProperty, { + at: node.property, + target: meta.name, + onlyValidPropertyName: propertyName + }); } return this.finishNode(node, "MetaProperty"); @@ -12635,10 +13300,10 @@ class ExpressionParser extends LValParser { const id = this.createIdentifier(this.startNodeAtNode(node), "import"); this.next(); - if (this.isContextual(96)) { + if (this.isContextual(100)) { if (!this.inModule) { - this.raise(SourceTypeModuleErrorMessages.ImportMetaOutsideModule, { - node: id + this.raise(Errors.ImportMetaOutsideModule, { + at: id }); } @@ -12748,6 +13413,7 @@ class ExpressionParser extends LValParser { let arrowNode = this.startNodeAt(startPos, startLoc); if (canBeArrow && this.shouldParseArrow(exprList) && (arrowNode = this.parseArrow(arrowNode))) { + this.checkDestructuringPrivate(refExpressionErrors); this.expressionScope.validateAsPattern(); this.expressionScope.exit(); this.parseArrowExpression(arrowNode, exprList, false); @@ -12774,15 +13440,19 @@ class ExpressionParser extends LValParser { val = exprList[0]; } + return this.wrapParenthesis(startPos, startLoc, val); + } + + wrapParenthesis(startPos, startLoc, expression) { if (!this.options.createParenthesizedExpressions) { - this.addExtra(val, "parenthesized", true); - this.addExtra(val, "parenStart", startPos); - this.takeSurroundingComments(val, startPos, indexes.get(this.state.lastTokEndLoc)); - return val; + this.addExtra(expression, "parenthesized", true); + this.addExtra(expression, "parenStart", startPos); + this.takeSurroundingComments(expression, startPos, this.state.lastTokEndLoc.index); + return expression; } const parenExpression = this.startNodeAt(startPos, startLoc); - parenExpression.expression = val; + parenExpression.expression = expression; this.finishNode(parenExpression, "ParenthesizedExpression"); return parenExpression; } @@ -12811,8 +13481,8 @@ class ExpressionParser extends LValParser { const metaProp = this.parseMetaProperty(node, meta, "target"); if (!this.scope.inNonArrowFunction && !this.scope.inClass) { - this.raise(ErrorMessages.UnexpectedNewTarget, { - node: metaProp + this.raise(Errors.UnexpectedNewTarget, { + at: metaProp }); } @@ -12823,34 +13493,35 @@ class ExpressionParser extends LValParser { } parseNew(node) { + this.parseNewCallee(node); + + if (this.eat(10)) { + const args = this.parseExprList(11); + this.toReferencedList(args); + node.arguments = args; + } else { + node.arguments = []; + } + + return this.finishNode(node, "NewExpression"); + } + + parseNewCallee(node) { node.callee = this.parseNoCallExpr(); if (node.callee.type === "Import") { - this.raise(ErrorMessages.ImportCallNotNewExpression, { - node: node.callee + this.raise(Errors.ImportCallNotNewExpression, { + at: node.callee }); } else if (this.isOptionalChain(node.callee)) { - this.raise(ErrorMessages.OptionalChainingNoNew, { + this.raise(Errors.OptionalChainingNoNew, { at: this.state.lastTokEndLoc }); } else if (this.eat(18)) { - this.raise(ErrorMessages.OptionalChainingNoNew, { + this.raise(Errors.OptionalChainingNoNew, { at: this.state.startLoc }); } - - this.parseNewArguments(node); - return this.finishNode(node, "NewExpression"); - } - - parseNewArguments(node) { - if (this.eat(10)) { - const args = this.parseExprList(11); - this.toReferencedList(args); - node.arguments = args; - } else { - node.arguments = []; - } } parseTemplateElement(isTagged) { @@ -12865,7 +13536,7 @@ class ExpressionParser extends LValParser { if (value === null) { if (!isTagged) { - this.raise(ErrorMessages.InvalidEscapeSequenceTemplate, { + this.raise(Errors.InvalidEscapeSequenceTemplate, { at: createPositionWithColumnOffset(startLoc, 2) }); } @@ -12939,8 +13610,8 @@ class ExpressionParser extends LValParser { } if (isRecord && !this.isObjectProperty(prop) && prop.type !== "SpreadElement") { - this.raise(ErrorMessages.InvalidRecordProperty, { - node: prop + this.raise(Errors.InvalidRecordProperty, { + at: prop }); } @@ -12970,7 +13641,7 @@ class ExpressionParser extends LValParser { } maybeAsyncOrAccessorProp(prop) { - return !prop.computed && prop.key.type === "Identifier" && (this.isLiteralPropertyName() || this.match(0) || this.match(51)); + return !prop.computed && prop.key.type === "Identifier" && (this.isLiteralPropertyName() || this.match(0) || this.match(55)); } parsePropertyDefinition(refExpressionErrors) { @@ -12978,7 +13649,7 @@ class ExpressionParser extends LValParser { if (this.match(26)) { if (this.hasPlugin("decorators")) { - this.raise(ErrorMessages.UnsupportedPropertyDecorator, { + this.raise(Errors.UnsupportedPropertyDecorator, { at: this.state.startLoc }); } @@ -13011,10 +13682,10 @@ class ExpressionParser extends LValParser { startLoc = this.state.startLoc; } - let isGenerator = this.eat(51); + let isGenerator = this.eat(55); this.parsePropertyNamePrefixOperator(prop); const containsEsc = this.state.containsEsc; - const key = this.parsePropertyName(prop); + const key = this.parsePropertyName(prop, refExpressionErrors); if (!isGenerator && !containsEsc && this.maybeAsyncOrAccessorProp(prop)) { const keyName = key.name; @@ -13022,7 +13693,7 @@ class ExpressionParser extends LValParser { if (keyName === "async" && !this.hasPrecedingLineBreak()) { isAsync = true; this.resetPreviousNodeTrailingComments(key); - isGenerator = this.eat(51); + isGenerator = this.eat(55); this.parsePropertyName(prop); } @@ -13031,11 +13702,12 @@ class ExpressionParser extends LValParser { this.resetPreviousNodeTrailingComments(key); prop.kind = keyName; - if (this.match(51)) { + if (this.match(55)) { isGenerator = true; - this.raise(ErrorMessages.AccessorIsGenerator, { - at: this.state.curPosition() - }, keyName); + this.raise(Errors.AccessorIsGenerator, { + at: this.state.curPosition(), + kind: keyName + }); this.next(); } @@ -13062,14 +13734,14 @@ class ExpressionParser extends LValParser { const params = this.getObjectOrClassMethodParams(method); if (params.length !== paramCount) { - this.raise(method.kind === "get" ? ErrorMessages.BadGetterArity : ErrorMessages.BadSetterArity, { - node: method + this.raise(method.kind === "get" ? Errors.BadGetterArity : Errors.BadSetterArity, { + at: method }); } if (method.kind === "set" && ((_params = params[params.length - 1]) == null ? void 0 : _params.type) === "RestElement") { - this.raise(ErrorMessages.BadSetterRestParameter, { - node: method + this.raise(Errors.BadSetterRestParameter, { + at: method }); } } @@ -13110,7 +13782,7 @@ class ExpressionParser extends LValParser { refExpressionErrors.shorthandAssignLoc = shorthandAssignLoc; } } else { - this.raise(ErrorMessages.InvalidCoverInitializedName, { + this.raise(Errors.InvalidCoverInitializedName, { at: shorthandAssignLoc }); } @@ -13131,7 +13803,7 @@ class ExpressionParser extends LValParser { return node; } - parsePropertyName(prop) { + parsePropertyName(prop, refExpressionErrors) { if (this.eat(0)) { prop.computed = true; prop.key = this.parseMaybeAssignAllowIn(); @@ -13147,27 +13819,36 @@ class ExpressionParser extends LValParser { key = this.parseIdentifier(true); } else { switch (type) { - case 126: + case 130: key = this.parseNumericLiteral(value); break; - case 125: + case 129: key = this.parseStringLiteral(value); break; - case 127: + case 131: key = this.parseBigIntLiteral(value); break; - case 128: + case 132: key = this.parseDecimalLiteral(value); break; - case 130: + case 134: { - this.raise(ErrorMessages.UnexpectedPrivateField, { - at: createPositionWithColumnOffset(this.state.startLoc, 1) - }); + const privateKeyLoc = this.state.startLoc; + + if (refExpressionErrors != null) { + if (refExpressionErrors.privateKeyLoc === null) { + refExpressionErrors.privateKeyLoc = privateKeyLoc; + } + } else { + this.raise(Errors.UnexpectedPrivateField, { + at: privateKeyLoc + }); + } + key = this.parsePrivateName(); break; } @@ -13179,7 +13860,7 @@ class ExpressionParser extends LValParser { prop.key = key; - if (type !== 130) { + if (type !== 134) { prop.computed = false; } } @@ -13246,7 +13927,8 @@ class ExpressionParser extends LValParser { } setArrowFunctionParameters(node, params, trailingCommaLoc) { - node.params = this.toAssignableList(params, trailingCommaLoc, false); + this.toAssignableList(params, trailingCommaLoc, false); + node.params = params; } parseFunctionBodyAndFinish(node, type, isMethod = false) { @@ -13270,19 +13952,16 @@ class ExpressionParser extends LValParser { const nonSimple = !this.isSimpleParamList(node.params); if (hasStrictModeDirective && nonSimple) { - const errorOrigin = (node.kind === "method" || node.kind === "constructor") && !!node.key ? { - at: node.key.loc.end - } : { - node - }; - this.raise(ErrorMessages.IllegalLanguageModeDirective, errorOrigin); + this.raise(Errors.IllegalLanguageModeDirective, { + at: (node.kind === "method" || node.kind === "constructor") && !!node.key ? node.key.loc.end : node + }); } const strictModeChanged = !oldStrict && this.state.strict; this.checkParams(node, !this.state.strict && !allowExpression && !isMethod && !nonSimple, allowExpression, strictModeChanged); if (this.state.strict && node.id) { - this.checkLVal(node.id, "function name", BIND_OUTSIDE, undefined, undefined, strictModeChanged); + this.checkIdentifier(node.id, BIND_OUTSIDE, strictModeChanged); } }); this.prodParam.exit(); @@ -13292,19 +13971,31 @@ class ExpressionParser extends LValParser { this.expressionScope.exit(); } + isSimpleParameter(node) { + return node.type === "Identifier"; + } + isSimpleParamList(params) { for (let i = 0, len = params.length; i < len; i++) { - if (params[i].type !== "Identifier") return false; + if (!this.isSimpleParameter(params[i])) return false; } return true; } checkParams(node, allowDuplicates, isArrowFunction, strictModeChanged = true) { - const checkClashes = new Set(); + const checkClashes = !allowDuplicates && new Set(); + const formalParameters = { + type: "FormalParameters" + }; for (const param of node.params) { - this.checkLVal(param, "function parameter list", BIND_VAR, allowDuplicates ? null : checkClashes, undefined, strictModeChanged); + this.checkLVal(param, { + in: formalParameters, + binding: BIND_VAR, + checkClashes, + strictModeChanged + }); } } @@ -13339,9 +14030,10 @@ class ExpressionParser extends LValParser { if (this.match(12)) { if (!allowEmpty) { - this.raise(ErrorMessages.UnexpectedToken, { - at: this.state.curPosition() - }, ","); + this.raise(Errors.UnexpectedToken, { + at: this.state.curPosition(), + unexpected: "," + }); } elt = null; @@ -13353,7 +14045,7 @@ class ExpressionParser extends LValParser { this.expectPlugin("partialApplication"); if (!allowPlaceholder) { - this.raise(ErrorMessages.UnexpectedArgumentPlaceholder, { + this.raise(Errors.UnexpectedArgumentPlaceholder, { at: this.state.startLoc }); } @@ -13397,7 +14089,7 @@ class ExpressionParser extends LValParser { if (liberal) { if (tokenIsKeyword) { - this.replaceToken(124); + this.replaceToken(128); } } else { this.checkReservedWord(name, startLoc, tokenIsKeyword, false); @@ -13418,30 +14110,32 @@ class ExpressionParser extends LValParser { if (word === "yield") { if (this.prodParam.hasYield) { - this.raise(ErrorMessages.YieldBindingIdentifier, { + this.raise(Errors.YieldBindingIdentifier, { at: startLoc }); return; } } else if (word === "await") { if (this.prodParam.hasAwait) { - this.raise(ErrorMessages.AwaitBindingIdentifier, { + this.raise(Errors.AwaitBindingIdentifier, { at: startLoc }); return; } if (this.scope.inStaticBlock) { - this.raise(ErrorMessages.AwaitBindingIdentifierInStaticBlock, { + this.raise(Errors.AwaitBindingIdentifierInStaticBlock, { at: startLoc }); return; } - this.expressionScope.recordAsyncArrowParametersError(ErrorMessages.AwaitBindingIdentifier, startLoc); + this.expressionScope.recordAsyncArrowParametersError({ + at: startLoc + }); } else if (word === "arguments") { if (this.scope.inClassAndNotInNonArrowFunction) { - this.raise(ErrorMessages.ArgumentsInClass, { + this.raise(Errors.ArgumentsInClass, { at: startLoc }); return; @@ -13449,18 +14143,20 @@ class ExpressionParser extends LValParser { } if (checkKeywords && isKeyword(word)) { - this.raise(ErrorMessages.UnexpectedKeyword, { - at: startLoc - }, word); + this.raise(Errors.UnexpectedKeyword, { + at: startLoc, + keyword: word + }); return; } const reservedTest = !this.state.strict ? isReservedWord : isBinding ? isStrictBindReservedWord : isStrictReservedWord; if (reservedTest(word, this.inModule)) { - this.raise(ErrorMessages.UnexpectedReservedWord, { - at: startLoc - }, word); + this.raise(Errors.UnexpectedReservedWord, { + at: startLoc, + reservedWord: word + }); } } @@ -13476,11 +14172,13 @@ class ExpressionParser extends LValParser { parseAwait(startPos, startLoc) { const node = this.startNodeAt(startPos, startLoc); - this.expressionScope.recordParameterInitializerError(node.loc.start, ErrorMessages.AwaitExpressionFormalParameter); + this.expressionScope.recordParameterInitializerError(Errors.AwaitExpressionFormalParameter, { + at: node + }); - if (this.eat(51)) { - this.raise(ErrorMessages.ObsoleteAwaitStar, { - node + if (this.eat(55)) { + this.raise(Errors.ObsoleteAwaitStar, { + at: node }); } @@ -13504,22 +14202,24 @@ class ExpressionParser extends LValParser { const { type } = this.state; - return type === 49 || type === 10 || type === 0 || tokenIsTemplate(type) || type === 129 || type === 52 || this.hasPlugin("v8intrinsic") && type === 50; + return type === 53 || type === 10 || type === 0 || tokenIsTemplate(type) || type === 133 || type === 56 || this.hasPlugin("v8intrinsic") && type === 54; } parseYield() { const node = this.startNode(); - this.expressionScope.recordParameterInitializerError(node.loc.start, ErrorMessages.YieldInParameter); + this.expressionScope.recordParameterInitializerError(Errors.YieldInParameter, { + at: node + }); this.next(); let delegating = false; let argument = null; if (!this.hasPrecedingLineBreak()) { - delegating = this.eat(51); + delegating = this.eat(55); switch (this.state.type) { case 13: - case 131: + case 135: case 8: case 11: case 3: @@ -13543,7 +14243,7 @@ class ExpressionParser extends LValParser { proposal: "smart" }])) { if (left.type === "SequenceExpression") { - this.raise(ErrorMessages.PipelineHeadSequenceExpression, { + this.raise(Errors.PipelineHeadSequenceExpression, { at: leftStartLoc }); } @@ -13578,13 +14278,13 @@ class ExpressionParser extends LValParser { checkSmartPipeTopicBodyEarlyErrors(startLoc) { if (this.match(19)) { - throw this.raise(ErrorMessages.PipelineBodyNoArrow, { + throw this.raise(Errors.PipelineBodyNoArrow, { at: this.state.startLoc }); } if (!this.topicReferenceWasUsedInCurrentContext()) { - this.raise(ErrorMessages.PipelineTopicUnused, { + this.raise(Errors.PipelineTopicUnused, { at: startLoc }); } @@ -13737,7 +14437,7 @@ function babel7CompatTokens(tokens, input) { if (typeof type === "number") { { - if (type === 130) { + if (type === 134) { const { loc, start, @@ -13754,7 +14454,7 @@ function babel7CompatTokens(tokens, input) { startLoc: loc.start, endLoc: hashEndLoc }), new Token({ - type: getExportedToken(124), + type: getExportedToken(128), value: value, start: hashEndPos, end: end, @@ -13855,16 +14555,17 @@ class StatementParser extends ExpressionParser { return this.finishNode(file, "File"); } - parseProgram(program, end = 131, sourceType = this.options.sourceType) { + parseProgram(program, end = 135, sourceType = this.options.sourceType) { program.sourceType = sourceType; program.interpreter = this.parseInterpreterDirective(); this.parseBlockBody(program, true, true, end); if (this.inModule && !this.options.allowUndeclaredExports && this.scope.undefinedExports.size > 0) { - for (const [name, loc] of Array.from(this.scope.undefinedExports)) { - this.raise(ErrorMessages.ModuleExportUndefined, { - at: loc - }, name); + for (const [localName, at] of Array.from(this.scope.undefinedExports)) { + this.raise(Errors.ModuleExportUndefined, { + at, + localName + }); } } @@ -13899,7 +14600,7 @@ class StatementParser extends ExpressionParser { } isLet(context) { - if (!this.isContextual(95)) { + if (!this.isContextual(99)) { return false; } @@ -13948,36 +14649,36 @@ class StatementParser extends ExpressionParser { let kind; if (this.isLet(context)) { - starttype = 70; + starttype = 74; kind = "let"; } switch (starttype) { - case 56: + case 60: return this.parseBreakContinueStatement(node, true); - case 59: + case 63: return this.parseBreakContinueStatement(node, false); - case 60: + case 64: return this.parseDebuggerStatement(node); - case 86: + case 90: return this.parseDoStatement(node); - case 87: + case 91: return this.parseForStatement(node); - case 64: + case 68: if (this.lookaheadCharCode() === 46) break; if (context) { if (this.state.strict) { - this.raise(ErrorMessages.StrictFunction, { + this.raise(Errors.StrictFunction, { at: this.state.startLoc }); } else if (context !== "if" && context !== "label") { - this.raise(ErrorMessages.SloppyFunction, { + this.raise(Errors.SloppyFunction, { at: this.state.startLoc }); } @@ -13985,41 +14686,41 @@ class StatementParser extends ExpressionParser { return this.parseFunctionStatement(node, false, !context); - case 76: + case 80: if (context) this.unexpected(); return this.parseClass(node, true); - case 65: + case 69: return this.parseIfStatement(node); - case 66: + case 70: return this.parseReturnStatement(node); - case 67: + case 71: return this.parseSwitchStatement(node); - case 68: + case 72: return this.parseThrowStatement(node); - case 69: + case 73: return this.parseTryStatement(node); - case 71: - case 70: + case 75: + case 74: kind = kind || this.state.value; if (context && kind !== "var") { - this.raise(ErrorMessages.UnexpectedLexicalDeclaration, { + this.raise(Errors.UnexpectedLexicalDeclaration, { at: this.state.startLoc }); } return this.parseVarStatement(node, kind); - case 88: + case 92: return this.parseWhileStatement(node); - case 72: + case 76: return this.parseWithStatement(node); case 5: @@ -14028,7 +14729,7 @@ class StatementParser extends ExpressionParser { case 13: return this.parseEmptyStatement(node); - case 79: + case 83: { const nextTokenCharCode = this.lookaheadCharCode(); @@ -14037,10 +14738,10 @@ class StatementParser extends ExpressionParser { } } - case 78: + case 82: { if (!this.options.allowImportExportEverywhere && !topLevel) { - this.raise(ErrorMessages.UnexpectedImportExport, { + this.raise(Errors.UnexpectedImportExport, { at: this.state.startLoc }); } @@ -14048,7 +14749,7 @@ class StatementParser extends ExpressionParser { this.next(); let result; - if (starttype === 79) { + if (starttype === 83) { result = this.parseImport(node); if (result.type === "ImportDeclaration" && (!result.importKind || result.importKind === "value")) { @@ -14070,7 +14771,7 @@ class StatementParser extends ExpressionParser { { if (this.isAsyncFunction()) { if (context) { - this.raise(ErrorMessages.AsyncFunctionInSingleStatementContext, { + this.raise(Errors.AsyncFunctionInSingleStatementContext, { at: this.state.startLoc }); } @@ -14093,8 +14794,8 @@ class StatementParser extends ExpressionParser { assertModuleNodeAllowed(node) { if (!this.options.allowImportExportEverywhere && !this.inModule) { - this.raise(SourceTypeModuleErrorMessages.ImportOutsideModule, { - node + this.raise(Errors.ImportOutsideModule, { + at: node }); } } @@ -14110,7 +14811,7 @@ class StatementParser extends ExpressionParser { } canHaveLeadingDecorator() { - return this.match(76); + return this.match(80); } parseDecorators(allowExport) { @@ -14121,18 +14822,18 @@ class StatementParser extends ExpressionParser { currentContextDecorators.push(decorator); } - if (this.match(78)) { + if (this.match(82)) { if (!allowExport) { this.unexpected(); } if (this.hasPlugin("decorators") && !this.getPluginOption("decorators", "decoratorsBeforeExport")) { - this.raise(ErrorMessages.DecoratorExportClass, { + this.raise(Errors.DecoratorExportClass, { at: this.state.startLoc }); } } else if (!this.canHaveLeadingDecorator()) { - throw this.raise(ErrorMessages.UnexpectedLeadingDecorator, { + throw this.raise(Errors.UnexpectedLeadingDecorator, { at: this.state.startLoc }); } @@ -14149,9 +14850,13 @@ class StatementParser extends ExpressionParser { const startLoc = this.state.startLoc; let expr; - if (this.eat(10)) { + if (this.match(10)) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + this.next(); expr = this.parseExpression(); this.expect(11); + expr = this.wrapParenthesis(startPos, startLoc, expr); } else { expr = this.parseIdentifier(false); @@ -14212,9 +14917,11 @@ class StatementParser extends ExpressionParser { } if (i === this.state.labels.length) { - this.raise(ErrorMessages.IllegalBreakContinue, { - node - }, isBreak ? "break" : "continue"); + const type = isBreak ? "BreakStatement" : "ContinueStatement"; + this.raise(Errors.IllegalBreakContinue, { + at: node, + type + }); } } @@ -14236,7 +14943,7 @@ class StatementParser extends ExpressionParser { this.state.labels.push(loopLabel); node.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement("do")); this.state.labels.pop(); - this.expect(88); + this.expect(92); node.test = this.parseHeaderExpression(); this.eat(13); return this.finishNode(node, "DoWhileStatement"); @@ -14247,7 +14954,7 @@ class StatementParser extends ExpressionParser { this.state.labels.push(loopLabel); let awaitAt = null; - if (this.isAwaitAllowed() && this.eatContextual(92)) { + if (this.isAwaitAllowed() && this.eatContextual(96)) { awaitAt = this.state.lastTokStartLoc; } @@ -14262,17 +14969,17 @@ class StatementParser extends ExpressionParser { return this.parseFor(node, null); } - const startsWithLet = this.isContextual(95); + const startsWithLet = this.isContextual(99); const isLet = startsWithLet && this.isLetKeyword(); - if (this.match(70) || this.match(71) || isLet) { + if (this.match(74) || this.match(75) || isLet) { const init = this.startNode(); const kind = isLet ? "let" : this.state.value; this.next(); this.parseVar(init, true, kind); this.finishNode(init, "VariableDeclaration"); - if ((this.match(54) || this.isContextual(97)) && init.declarations.length === 1) { + if ((this.match(58) || this.isContextual(101)) && init.declarations.length === 1) { return this.parseForIn(node, init, awaitAt); } @@ -14283,29 +14990,34 @@ class StatementParser extends ExpressionParser { return this.parseFor(node, init); } - const startsWithAsync = this.isContextual(91); + const startsWithAsync = this.isContextual(95); const refExpressionErrors = new ExpressionErrors(); const init = this.parseExpression(true, refExpressionErrors); - const isForOf = this.isContextual(97); + const isForOf = this.isContextual(101); if (isForOf) { if (startsWithLet) { - this.raise(ErrorMessages.ForOfLet, { - node: init + this.raise(Errors.ForOfLet, { + at: init }); } if (awaitAt === null && startsWithAsync && init.type === "Identifier") { - this.raise(ErrorMessages.ForOfAsync, { - node: init + this.raise(Errors.ForOfAsync, { + at: init }); } } - if (isForOf || this.match(54)) { + if (isForOf || this.match(58)) { + this.checkDestructuringPrivate(refExpressionErrors); this.toAssignable(init, true); - const description = isForOf ? "for-of statement" : "for-in statement"; - this.checkLVal(init, description); + const type = isForOf ? "ForOfStatement" : "ForInStatement"; + this.checkLVal(init, { + in: { + type + } + }); return this.parseForIn(node, init, awaitAt); } else { this.checkExpressionErrors(refExpressionErrors, true); @@ -14327,13 +15039,13 @@ class StatementParser extends ExpressionParser { this.next(); node.test = this.parseHeaderExpression(); node.consequent = this.parseStatement("if"); - node.alternate = this.eat(62) ? this.parseStatement("if") : null; + node.alternate = this.eat(66) ? this.parseStatement("if") : null; return this.finishNode(node, "IfStatement"); } parseReturnStatement(node) { if (!this.prodParam.hasReturn && !this.options.allowReturnOutsideFunction) { - this.raise(ErrorMessages.IllegalReturn, { + this.raise(Errors.IllegalReturn, { at: this.state.startLoc }); } @@ -14360,8 +15072,8 @@ class StatementParser extends ExpressionParser { let cur; for (let sawDefault; !this.match(8);) { - if (this.match(57) || this.match(61)) { - const isCase = this.match(57); + if (this.match(61) || this.match(65)) { + const isCase = this.match(61); if (cur) this.finishNode(cur, "SwitchCase"); cases.push(cur = this.startNode()); cur.consequent = []; @@ -14371,7 +15083,7 @@ class StatementParser extends ExpressionParser { cur.test = this.parseExpression(); } else { if (sawDefault) { - this.raise(ErrorMessages.MultipleDefaultsInSwitch, { + this.raise(Errors.MultipleDefaultsInSwitch, { at: this.state.lastTokStartLoc }); } @@ -14401,7 +15113,7 @@ class StatementParser extends ExpressionParser { this.next(); if (this.hasPrecedingLineBreak()) { - this.raise(ErrorMessages.NewlineAfterThrow, { + this.raise(Errors.NewlineAfterThrow, { at: this.state.lastTokEndLoc }); } @@ -14415,7 +15127,13 @@ class StatementParser extends ExpressionParser { const param = this.parseBindingAtom(); const simple = param.type === "Identifier"; this.scope.enter(simple ? SCOPE_SIMPLE_CATCH : 0); - this.checkLVal(param, "catch clause", BIND_LEXICAL); + this.checkLVal(param, { + in: { + type: "CatchClause" + }, + binding: BIND_LEXICAL, + allowingSloppyLetBinding: true + }); return param; } @@ -14424,7 +15142,7 @@ class StatementParser extends ExpressionParser { node.block = this.parseBlock(); node.handler = null; - if (this.match(58)) { + if (this.match(62)) { const clause = this.startNode(); this.next(); @@ -14442,20 +15160,20 @@ class StatementParser extends ExpressionParser { node.handler = this.finishNode(clause, "CatchClause"); } - node.finalizer = this.eat(63) ? this.parseBlock() : null; + node.finalizer = this.eat(67) ? this.parseBlock() : null; if (!node.handler && !node.finalizer) { - this.raise(ErrorMessages.NoCatchOrFinally, { - node + this.raise(Errors.NoCatchOrFinally, { + at: node }); } return this.finishNode(node, "TryStatement"); } - parseVarStatement(node, kind) { + parseVarStatement(node, kind, allowMissingInitializer = false) { this.next(); - this.parseVar(node, false, kind); + this.parseVar(node, false, kind, allowMissingInitializer); this.semicolon(); return this.finishNode(node, "VariableDeclaration"); } @@ -14471,7 +15189,7 @@ class StatementParser extends ExpressionParser { parseWithStatement(node) { if (this.state.strict) { - this.raise(ErrorMessages.StrictWith, { + this.raise(Errors.StrictWith, { at: this.state.startLoc }); } @@ -14490,13 +15208,14 @@ class StatementParser extends ExpressionParser { parseLabeledStatement(node, maybeName, expr, context) { for (const label of this.state.labels) { if (label.name === maybeName) { - this.raise(ErrorMessages.LabelRedeclaration, { - node: expr - }, maybeName); + this.raise(Errors.LabelRedeclaration, { + at: expr, + labelName: maybeName + }); } } - const kind = tokenIsLoop(this.state.type) ? "loop" : this.match(67) ? "switch" : null; + const kind = tokenIsLoop(this.state.type) ? "loop" : this.match(71) ? "switch" : null; for (let i = this.state.labels.length - 1; i >= 0; i--) { const label = this.state.labels[i]; @@ -14611,7 +15330,7 @@ class StatementParser extends ExpressionParser { } parseForIn(node, init, awaitAt) { - const isForIn = this.match(54); + const isForIn = this.match(58); this.next(); if (isForIn) { @@ -14621,15 +15340,19 @@ class StatementParser extends ExpressionParser { } if (init.type === "VariableDeclaration" && init.declarations[0].init != null && (!isForIn || this.state.strict || init.kind !== "var" || init.declarations[0].id.type !== "Identifier")) { - this.raise(ErrorMessages.ForInOfLoopInitializer, { - node: init - }, isForIn ? "for-in" : "for-of"); + this.raise(Errors.ForInOfLoopInitializer, { + at: init, + type: isForIn ? "ForInStatement" : "ForOfStatement" + }); } if (init.type === "AssignmentPattern") { - this.raise(ErrorMessages.InvalidLhs, { - node: init - }, "for-loop"); + this.raise(Errors.InvalidLhs, { + at: init, + ancestor: { + type: "ForStatement" + } + }); } node.left = init; @@ -14641,31 +15364,27 @@ class StatementParser extends ExpressionParser { return this.finishNode(node, isForIn ? "ForInStatement" : "ForOfStatement"); } - parseVar(node, isFor, kind) { + parseVar(node, isFor, kind, allowMissingInitializer = false) { const declarations = node.declarations = []; - const isTypescript = this.hasPlugin("typescript"); node.kind = kind; for (;;) { const decl = this.startNode(); this.parseVarId(decl, kind); + decl.init = !this.eat(29) ? null : isFor ? this.parseMaybeAssignDisallowIn() : this.parseMaybeAssignAllowIn(); - if (this.eat(29)) { - decl.init = isFor ? this.parseMaybeAssignDisallowIn() : this.parseMaybeAssignAllowIn(); - } else { - if (kind === "const" && !(this.match(54) || this.isContextual(97))) { - if (!isTypescript) { - this.raise(ErrorMessages.DeclarationMissingInitializer, { - at: this.state.lastTokEndLoc - }, "Const declarations"); - } - } else if (decl.id.type !== "Identifier" && !(isFor && (this.match(54) || this.isContextual(97)))) { - this.raise(ErrorMessages.DeclarationMissingInitializer, { - at: this.state.lastTokEndLoc - }, "Complex binding patterns"); + if (decl.init === null && !allowMissingInitializer) { + if (decl.id.type !== "Identifier" && !(isFor && (this.match(58) || this.isContextual(101)))) { + this.raise(Errors.DeclarationMissingInitializer, { + at: this.state.lastTokEndLoc, + kind: "destructuring" + }); + } else if (kind === "const" && !(this.match(58) || this.isContextual(101))) { + this.raise(Errors.DeclarationMissingInitializer, { + at: this.state.lastTokEndLoc, + kind: "const" + }); } - - decl.init = null; } declarations.push(this.finishNode(decl, "VariableDeclarator")); @@ -14677,7 +15396,12 @@ class StatementParser extends ExpressionParser { parseVarId(decl, kind) { decl.id = this.parseBindingAtom(); - this.checkLVal(decl.id, "variable declaration", kind === "var" ? BIND_VAR : BIND_LEXICAL, undefined, kind !== "var"); + this.checkLVal(decl.id, { + in: { + type: "VariableDeclarator" + }, + binding: kind === "var" ? BIND_VAR : BIND_LEXICAL + }); } parseFunction(node, statement = FUNC_NO_FLAGS, isAsync = false) { @@ -14686,13 +15410,13 @@ class StatementParser extends ExpressionParser { const requireId = !!isStatement && !(statement & FUNC_NULLABLE_ID); this.initFunction(node, isAsync); - if (this.match(51) && isHangingStatement) { - this.raise(ErrorMessages.GeneratorInSingleStatementContext, { + if (this.match(55) && isHangingStatement) { + this.raise(Errors.GeneratorInSingleStatementContext, { at: this.state.startLoc }); } - node.generator = this.eat(51); + node.generator = this.eat(55); if (isStatement) { node.id = this.parseFunctionId(requireId); @@ -14775,7 +15499,7 @@ class StatementParser extends ExpressionParser { while (!this.match(8)) { if (this.eat(13)) { if (decorators.length > 0) { - throw this.raise(ErrorMessages.DecoratorSemicolon, { + throw this.raise(Errors.DecoratorSemicolon, { at: this.state.lastTokEndLoc }); } @@ -14799,8 +15523,8 @@ class StatementParser extends ExpressionParser { this.parseClassMember(classBody, member, state); if (member.kind === "constructor" && member.decorators && member.decorators.length > 0) { - this.raise(ErrorMessages.DecoratorConstructor, { - node: member + this.raise(Errors.DecoratorConstructor, { + at: member }); } } @@ -14809,7 +15533,7 @@ class StatementParser extends ExpressionParser { this.next(); if (decorators.length) { - throw this.raise(ErrorMessages.TrailingDecorator, { + throw this.raise(Errors.TrailingDecorator, { at: this.state.startLoc }); } @@ -14843,7 +15567,7 @@ class StatementParser extends ExpressionParser { } parseClassMember(classBody, member, state) { - const isStatic = this.isContextual(100); + const isStatic = this.isContextual(104); if (isStatic) { if (this.parseClassMemberFromModifier(classBody, member)) { @@ -14864,14 +15588,15 @@ class StatementParser extends ExpressionParser { const privateMethod = member; const publicProp = member; const privateProp = member; + const accessorProp = member; const method = publicMethod; const publicMember = publicMethod; member.static = isStatic; this.parsePropertyNamePrefixOperator(member); - if (this.eat(51)) { + if (this.eat(55)) { method.kind = "method"; - const isPrivateName = this.match(130); + const isPrivateName = this.match(134); this.parseClassElementName(method); if (isPrivateName) { @@ -14880,8 +15605,8 @@ class StatementParser extends ExpressionParser { } if (this.isNonstaticConstructor(publicMethod)) { - this.raise(ErrorMessages.ConstructorIsGenerator, { - node: publicMethod.key + this.raise(Errors.ConstructorIsGenerator, { + at: publicMethod.key }); } @@ -14890,7 +15615,7 @@ class StatementParser extends ExpressionParser { } const isContextual = tokenIsIdentifier(this.state.type) && !this.state.containsEsc; - const isPrivate = this.match(130); + const isPrivate = this.match(134); const key = this.parseClassElementName(member); const maybeQuestionTokenStartLoc = this.state.startLoc; this.parsePostMemberNameModifiers(publicMember); @@ -14910,14 +15635,14 @@ class StatementParser extends ExpressionParser { publicMethod.kind = "constructor"; if (state.hadConstructor && !this.hasPlugin("typescript")) { - this.raise(ErrorMessages.DuplicateConstructor, { - node: key + this.raise(Errors.DuplicateConstructor, { + at: key }); } if (isConstructor && this.hasPlugin("typescript") && member.override) { - this.raise(ErrorMessages.OverrideOnConstructor, { - node: key + this.raise(Errors.OverrideOnConstructor, { + at: key }); } @@ -14934,14 +15659,14 @@ class StatementParser extends ExpressionParser { } } else if (isContextual && key.name === "async" && !this.isLineTerminator()) { this.resetPreviousNodeTrailingComments(key); - const isGenerator = this.eat(51); + const isGenerator = this.eat(55); if (publicMember.optional) { this.unexpected(maybeQuestionTokenStartLoc); } method.kind = "method"; - const isPrivate = this.match(130); + const isPrivate = this.match(134); this.parseClassElementName(method); this.parsePostMemberNameModifiers(publicMember); @@ -14949,25 +15674,25 @@ class StatementParser extends ExpressionParser { this.pushClassPrivateMethod(classBody, privateMethod, isGenerator, true); } else { if (this.isNonstaticConstructor(publicMethod)) { - this.raise(ErrorMessages.ConstructorIsAsync, { - node: publicMethod.key + this.raise(Errors.ConstructorIsAsync, { + at: publicMethod.key }); } this.pushClassMethod(classBody, publicMethod, isGenerator, true, false, false); } - } else if (isContextual && (key.name === "get" || key.name === "set") && !(this.match(51) && this.isLineTerminator())) { + } else if (isContextual && (key.name === "get" || key.name === "set") && !(this.match(55) && this.isLineTerminator())) { this.resetPreviousNodeTrailingComments(key); method.kind = key.name; - const isPrivate = this.match(130); + const isPrivate = this.match(134); this.parseClassElementName(publicMethod); if (isPrivate) { this.pushClassPrivateMethod(classBody, privateMethod, false, false); } else { if (this.isNonstaticConstructor(publicMethod)) { - this.raise(ErrorMessages.ConstructorIsAccessor, { - node: publicMethod.key + this.raise(Errors.ConstructorIsAccessor, { + at: publicMethod.key }); } @@ -14975,6 +15700,12 @@ class StatementParser extends ExpressionParser { } this.checkGetterSetterParams(publicMethod); + } else if (isContextual && key.name === "accessor" && !this.isLineTerminator()) { + this.expectPlugin("decoratorAutoAccessors"); + this.resetPreviousNodeTrailingComments(key); + const isPrivate = this.match(134); + this.parseClassElementName(publicProp); + this.pushClassAccessorProperty(classBody, accessorProp, isPrivate); } else if (this.isLineTerminator()) { if (isPrivate) { this.pushClassPrivateProperty(classBody, privateProp); @@ -14992,15 +15723,15 @@ class StatementParser extends ExpressionParser { value } = this.state; - if ((type === 124 || type === 125) && member.static && value === "prototype") { - this.raise(ErrorMessages.StaticPrototype, { + if ((type === 128 || type === 129) && member.static && value === "prototype") { + this.raise(Errors.StaticPrototype, { at: this.state.startLoc }); } - if (type === 130) { + if (type === 134) { if (value === "constructor") { - this.raise(ErrorMessages.ConstructorClassPrivateField, { + this.raise(Errors.ConstructorClassPrivateField, { at: this.state.startLoc }); } @@ -15028,16 +15759,16 @@ class StatementParser extends ExpressionParser { classBody.body.push(this.finishNode(member, "StaticBlock")); if ((_member$decorators = member.decorators) != null && _member$decorators.length) { - this.raise(ErrorMessages.DecoratorStaticBlock, { - node: member + this.raise(Errors.DecoratorStaticBlock, { + at: member }); } } pushClassProperty(classBody, prop) { if (!prop.computed && (prop.key.name === "constructor" || prop.key.value === "constructor")) { - this.raise(ErrorMessages.ConstructorClassField, { - node: prop.key + this.raise(Errors.ConstructorClassField, { + at: prop.key }); } @@ -15050,6 +15781,25 @@ class StatementParser extends ExpressionParser { this.classScope.declarePrivateName(this.getPrivateNameSV(node.key), CLASS_ELEMENT_OTHER, node.key.loc.start); } + pushClassAccessorProperty(classBody, prop, isPrivate) { + if (!isPrivate && !prop.computed) { + const key = prop.key; + + if (key.name === "constructor" || key.value === "constructor") { + this.raise(Errors.ConstructorClassField, { + at: key + }); + } + } + + const node = this.parseClassAccessorProperty(prop); + classBody.body.push(node); + + if (isPrivate) { + this.classScope.declarePrivateName(this.getPrivateNameSV(node.key), CLASS_ELEMENT_OTHER, node.key.loc.start); + } + } + pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) { classBody.body.push(this.parseMethod(method, isGenerator, isAsync, isConstructor, allowsDirectSuper, "ClassMethod", true)); } @@ -15079,6 +15829,12 @@ class StatementParser extends ExpressionParser { return this.finishNode(node, "ClassProperty"); } + parseClassAccessorProperty(node) { + this.parseInitializer(node); + this.semicolon(); + return this.finishNode(node, "ClassAccessorProperty"); + } + parseInitializer(node) { this.scope.enter(SCOPE_CLASS | SCOPE_SUPER); this.expressionScope.enter(newExpressionScope()); @@ -15094,13 +15850,13 @@ class StatementParser extends ExpressionParser { node.id = this.parseIdentifier(); if (isStatement) { - this.checkLVal(node.id, "class name", bindingType); + this.declareNameFromIdentifier(node.id, bindingType); } } else { if (optionalId || !isStatement) { node.id = null; } else { - throw this.raise(ErrorMessages.MissingClassName, { + throw this.raise(Errors.MissingClassName, { at: this.state.startLoc }); } @@ -15108,7 +15864,7 @@ class StatementParser extends ExpressionParser { } parseClassSuper(node) { - node.superClass = this.eat(77) ? this.parseExprSubscripts() : null; + node.superClass = this.eat(81) ? this.parseExprSubscripts() : null; } parseExport(node) { @@ -15145,7 +15901,7 @@ class StatementParser extends ExpressionParser { return this.finishNode(node, "ExportNamedDeclaration"); } - if (this.eat(61)) { + if (this.eat(65)) { node.declaration = this.parseExportDefaultExpression(); this.checkExport(node, true, true); return this.finishNode(node, "ExportDefaultDeclaration"); @@ -15155,7 +15911,7 @@ class StatementParser extends ExpressionParser { } eatExportStar(node) { - return this.eat(51); + return this.eat(55); } maybeParseExportDefaultSpecifier(node) { @@ -15171,7 +15927,7 @@ class StatementParser extends ExpressionParser { } maybeParseExportNamespaceSpecifier(node) { - if (this.isContextual(89)) { + if (this.isContextual(93)) { if (!node.specifiers) node.specifiers = []; const specifier = this.startNodeAt(this.state.lastTokStart, this.state.lastTokStartLoc); this.next(); @@ -15218,7 +15974,7 @@ class StatementParser extends ExpressionParser { } isAsyncFunction() { - if (!this.isContextual(91)) return false; + if (!this.isContextual(95)) return false; const next = this.nextTokenStart(); return !lineBreak.test(this.input.slice(this.state.pos, next)) && this.isUnparsedContextual(next, "function"); } @@ -15227,7 +15983,7 @@ class StatementParser extends ExpressionParser { const expr = this.startNode(); const isAsync = this.isAsyncFunction(); - if (this.match(64) || isAsync) { + if (this.match(68) || isAsync) { this.next(); if (isAsync) { @@ -15237,13 +15993,13 @@ class StatementParser extends ExpressionParser { return this.parseFunction(expr, FUNC_STATEMENT | FUNC_NULLABLE_ID, isAsync); } - if (this.match(76)) { + if (this.match(80)) { return this.parseClass(expr, true, true); } if (this.match(26)) { if (this.hasPlugin("decorators") && this.getPluginOption("decorators", "decoratorsBeforeExport")) { - this.raise(ErrorMessages.DecoratorBeforeExport, { + this.raise(Errors.DecoratorBeforeExport, { at: this.state.startLoc }); } @@ -15252,8 +16008,8 @@ class StatementParser extends ExpressionParser { return this.parseClass(expr, true, true); } - if (this.match(71) || this.match(70) || this.isLet()) { - throw this.raise(ErrorMessages.UnsupportedDefaultExport, { + if (this.match(75) || this.match(74) || this.isLet()) { + throw this.raise(Errors.UnsupportedDefaultExport, { at: this.state.startLoc }); } @@ -15273,21 +16029,21 @@ class StatementParser extends ExpressionParser { } = this.state; if (tokenIsIdentifier(type)) { - if (type === 91 && !this.state.containsEsc || type === 95) { + if (type === 95 && !this.state.containsEsc || type === 99) { return false; } - if ((type === 122 || type === 121) && !this.state.containsEsc) { + if ((type === 126 || type === 125) && !this.state.containsEsc) { const { type: nextType } = this.lookahead(); - if (tokenIsIdentifier(nextType) && nextType !== 93 || nextType === 5) { + if (tokenIsIdentifier(nextType) && nextType !== 97 || nextType === 5) { this.expectOnePlugin(["flow", "typescript"]); return false; } } - } else if (!this.match(61)) { + } else if (!this.match(65)) { return false; } @@ -15298,7 +16054,7 @@ class StatementParser extends ExpressionParser { return true; } - if (this.match(61) && hasFrom) { + if (this.match(65) && hasFrom) { const nextAfterFrom = this.input.charCodeAt(this.nextTokenStartSince(next + 4)); return nextAfterFrom === 34 || nextAfterFrom === 39; } @@ -15307,13 +16063,14 @@ class StatementParser extends ExpressionParser { } parseExportFrom(node, expect) { - if (this.eatContextual(93)) { + if (this.eatContextual(97)) { node.source = this.parseImportSource(); this.checkExport(node); const assertions = this.maybeParseImportAssertions(); if (assertions) { node.assertions = assertions; + this.checkJSONModuleImport(node); } } else if (expect) { this.unexpected(); @@ -15332,7 +16089,7 @@ class StatementParser extends ExpressionParser { if (this.hasPlugin("decorators")) { if (this.getPluginOption("decorators", "decoratorsBeforeExport")) { - throw this.raise(ErrorMessages.DecoratorBeforeExport, { + throw this.raise(Errors.DecoratorBeforeExport, { at: this.state.startLoc }); } @@ -15341,7 +16098,7 @@ class StatementParser extends ExpressionParser { } } - return type === 70 || type === 71 || type === 64 || type === 76 || this.isLet() || this.isAsyncFunction(); + return type === 74 || type === 75 || type === 68 || type === 80 || this.isLet() || this.isAsyncFunction(); } checkExport(node, checkNames, isDefault, isFrom) { @@ -15355,8 +16112,8 @@ class StatementParser extends ExpressionParser { const declaration = node.declaration; if (declaration.type === "Identifier" && declaration.name === "from" && declaration.end - declaration.start === 4 && !((_declaration$extra = declaration.extra) != null && _declaration$extra.parenthesized)) { - this.raise(ErrorMessages.ExportDefaultFromAsIdentifier, { - node: declaration + this.raise(Errors.ExportDefaultFromAsIdentifier, { + at: declaration }); } } @@ -15365,8 +16122,8 @@ class StatementParser extends ExpressionParser { const { exported } = specifier; - const exportedName = exported.type === "Identifier" ? exported.name : exported.value; - this.checkDuplicateExports(specifier, exportedName); + const exportName = exported.type === "Identifier" ? exported.name : exported.value; + this.checkDuplicateExports(specifier, exportName); if (!isFrom && specifier.local) { const { @@ -15374,9 +16131,11 @@ class StatementParser extends ExpressionParser { } = specifier; if (local.type !== "Identifier") { - this.raise(ErrorMessages.ExportBindingIsString, { - node: specifier - }, local.value, exportedName); + this.raise(Errors.ExportBindingIsString, { + at: specifier, + localName: local.value, + exportName + }); } else { this.checkReservedWord(local.name, local.loc.start, true, false); this.scope.checkLocalExport(local); @@ -15399,8 +16158,8 @@ class StatementParser extends ExpressionParser { const currentContextDecorators = this.state.decoratorStack[this.state.decoratorStack.length - 1]; if (currentContextDecorators.length) { - throw this.raise(ErrorMessages.UnsupportedDecoratorExport, { - node + throw this.raise(Errors.UnsupportedDecoratorExport, { + at: node }); } } @@ -15427,14 +16186,21 @@ class StatementParser extends ExpressionParser { } } - checkDuplicateExports(node, name) { - if (this.exportedIdentifiers.has(name)) { - this.raise(name === "default" ? ErrorMessages.DuplicateDefaultExport : ErrorMessages.DuplicateExport, { - node - }, name); + checkDuplicateExports(node, exportName) { + if (this.exportedIdentifiers.has(exportName)) { + if (exportName === "default") { + this.raise(Errors.DuplicateDefaultExport, { + at: node + }); + } else { + this.raise(Errors.DuplicateExport, { + at: node, + exportName + }); + } } - this.exportedIdentifiers.add(name); + this.exportedIdentifiers.add(exportName); } parseExportSpecifiers(isInTypeExport) { @@ -15450,8 +16216,8 @@ class StatementParser extends ExpressionParser { if (this.eat(8)) break; } - const isMaybeTypeOnly = this.isContextual(122); - const isString = this.match(125); + const isMaybeTypeOnly = this.isContextual(126); + const isString = this.match(129); const node = this.startNode(); node.local = this.parseModuleExportName(); nodes.push(this.parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly)); @@ -15461,7 +16227,7 @@ class StatementParser extends ExpressionParser { } parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly) { - if (this.eatContextual(89)) { + if (this.eatContextual(93)) { node.exported = this.parseModuleExportName(); } else if (isString) { node.exported = cloneStringLiteral(node.local); @@ -15473,14 +16239,15 @@ class StatementParser extends ExpressionParser { } parseModuleExportName() { - if (this.match(125)) { + if (this.match(129)) { const result = this.parseStringLiteral(this.state.value); const surrogate = result.value.match(loneSurrogate); if (surrogate) { - this.raise(ErrorMessages.ModuleExportNameHasLoneSurrogate, { - node: result - }, surrogate[0].charCodeAt(0).toString(16)); + this.raise(Errors.ModuleExportNameHasLoneSurrogate, { + at: result, + surrogateCharCode: surrogate[0].charCodeAt(0) + }); } return result; @@ -15489,15 +16256,58 @@ class StatementParser extends ExpressionParser { return this.parseIdentifier(true); } + isJSONModuleImport(node) { + if (node.assertions != null) { + return node.assertions.some(({ + key, + value + }) => { + return value.value === "json" && (key.type === "Identifier" ? key.name === "type" : key.value === "type"); + }); + } + + return false; + } + + checkJSONModuleImport(node) { + if (this.isJSONModuleImport(node) && node.type !== "ExportAllDeclaration") { + const { + specifiers + } = node; + + if (node.specifiers != null) { + const nonDefaultNamedSpecifier = specifiers.find(specifier => { + let imported; + + if (specifier.type === "ExportSpecifier") { + imported = specifier.local; + } else if (specifier.type === "ImportSpecifier") { + imported = specifier.imported; + } + + if (imported !== undefined) { + return imported.type === "Identifier" ? imported.name !== "default" : imported.value !== "default"; + } + }); + + if (nonDefaultNamedSpecifier !== undefined) { + this.raise(Errors.ImportJSONBindingNotDefault, { + at: nonDefaultNamedSpecifier.loc.start + }); + } + } + } + } + parseImport(node) { node.specifiers = []; - if (!this.match(125)) { + if (!this.match(129)) { const hasDefault = this.maybeParseDefaultImportSpecifier(node); const parseNext = !hasDefault || this.eat(12); const hasStar = parseNext && this.maybeParseStarImportSpecifier(node); if (parseNext && !hasStar) this.parseNamedImportSpecifiers(node); - this.expectContextual(93); + this.expectContextual(97); } node.source = this.parseImportSource(); @@ -15513,12 +16323,13 @@ class StatementParser extends ExpressionParser { } } + this.checkJSONModuleImport(node); this.semicolon(); return this.finishNode(node, "ImportDeclaration"); } parseImportSource() { - if (!this.match(125)) this.unexpected(); + if (!this.match(129)) this.unexpected(); return this.parseExprAtom(); } @@ -15526,10 +16337,17 @@ class StatementParser extends ExpressionParser { return tokenIsIdentifier(this.state.type); } - parseImportSpecifierLocal(node, specifier, type, contextDescription) { + parseImportSpecifierLocal(node, specifier, type) { specifier.local = this.parseIdentifier(); - this.checkLVal(specifier.local, contextDescription, BIND_LEXICAL); - node.specifiers.push(this.finishNode(specifier, type)); + node.specifiers.push(this.finishImportSpecifier(specifier, type)); + } + + finishImportSpecifier(specifier, type) { + this.checkLVal(specifier.local, { + in: specifier, + binding: BIND_LEXICAL + }); + return this.finishNode(specifier, type); } parseAssertEntries() { @@ -15545,14 +16363,15 @@ class StatementParser extends ExpressionParser { const keyName = this.state.value; if (attrNames.has(keyName)) { - this.raise(ErrorMessages.ModuleAttributesWithDuplicateKeys, { - at: this.state.startLoc - }, keyName); + this.raise(Errors.ModuleAttributesWithDuplicateKeys, { + at: this.state.startLoc, + key: keyName + }); } attrNames.add(keyName); - if (this.match(125)) { + if (this.match(129)) { node.key = this.parseStringLiteral(keyName); } else { node.key = this.parseIdentifier(true); @@ -15560,8 +16379,8 @@ class StatementParser extends ExpressionParser { this.expect(14); - if (!this.match(125)) { - throw this.raise(ErrorMessages.ModuleAttributeInvalidValue, { + if (!this.match(129)) { + throw this.raise(Errors.ModuleAttributeInvalidValue, { at: this.state.startLoc }); } @@ -15575,7 +16394,7 @@ class StatementParser extends ExpressionParser { } maybeParseModuleAttributes() { - if (this.match(72) && !this.hasPrecedingLineBreak()) { + if (this.match(76) && !this.hasPrecedingLineBreak()) { this.expectPlugin("moduleAttributes"); this.next(); } else { @@ -15591,22 +16410,23 @@ class StatementParser extends ExpressionParser { node.key = this.parseIdentifier(true); if (node.key.name !== "type") { - this.raise(ErrorMessages.ModuleAttributeDifferentFromType, { - node: node.key - }, node.key.name); + this.raise(Errors.ModuleAttributeDifferentFromType, { + at: node.key + }); } if (attributes.has(node.key.name)) { - this.raise(ErrorMessages.ModuleAttributesWithDuplicateKeys, { - node: node.key - }, node.key.name); + this.raise(Errors.ModuleAttributesWithDuplicateKeys, { + at: node.key, + key: node.key.name + }); } attributes.add(node.key.name); this.expect(14); - if (!this.match(125)) { - throw this.raise(ErrorMessages.ModuleAttributeInvalidValue, { + if (!this.match(129)) { + throw this.raise(Errors.ModuleAttributeInvalidValue, { at: this.state.startLoc }); } @@ -15620,7 +16440,7 @@ class StatementParser extends ExpressionParser { } maybeParseImportAssertions() { - if (this.isContextual(90) && !this.hasPrecedingLineBreak()) { + if (this.isContextual(94) && !this.hasPrecedingLineBreak()) { this.expectPlugin("importAssertions"); this.next(); } else { @@ -15636,7 +16456,7 @@ class StatementParser extends ExpressionParser { maybeParseDefaultImportSpecifier(node) { if (this.shouldParseDefaultImport(node)) { - this.parseImportSpecifierLocal(node, this.startNode(), "ImportDefaultSpecifier", "default import specifier"); + this.parseImportSpecifierLocal(node, this.startNode(), "ImportDefaultSpecifier"); return true; } @@ -15644,11 +16464,11 @@ class StatementParser extends ExpressionParser { } maybeParseStarImportSpecifier(node) { - if (this.match(51)) { + if (this.match(55)) { const specifier = this.startNode(); this.next(); - this.expectContextual(89); - this.parseImportSpecifierLocal(node, specifier, "ImportNamespaceSpecifier", "import namespace specifier"); + this.expectContextual(93); + this.parseImportSpecifierLocal(node, specifier, "ImportNamespaceSpecifier"); return true; } @@ -15664,7 +16484,7 @@ class StatementParser extends ExpressionParser { first = false; } else { if (this.eat(14)) { - throw this.raise(ErrorMessages.DestructureNamedImport, { + throw this.raise(Errors.DestructureNamedImport, { at: this.state.startLoc }); } @@ -15674,8 +16494,8 @@ class StatementParser extends ExpressionParser { } const specifier = this.startNode(); - const importedIsString = this.match(125); - const isMaybeTypeOnly = this.isContextual(122); + const importedIsString = this.match(129); + const isMaybeTypeOnly = this.isContextual(126); specifier.imported = this.parseModuleExportName(); const importSpecifier = this.parseImportSpecifier(specifier, importedIsString, node.importKind === "type" || node.importKind === "typeof", isMaybeTypeOnly); node.specifiers.push(importSpecifier); @@ -15683,7 +16503,7 @@ class StatementParser extends ExpressionParser { } parseImportSpecifier(specifier, importedIsString, isInTypeOnlyImport, isMaybeTypeOnly) { - if (this.eatContextual(89)) { + if (this.eatContextual(93)) { specifier.local = this.parseIdentifier(); } else { const { @@ -15691,9 +16511,10 @@ class StatementParser extends ExpressionParser { } = specifier; if (importedIsString) { - throw this.raise(ErrorMessages.ImportBindingIsString, { - node: specifier - }, imported.value); + throw this.raise(Errors.ImportBindingIsString, { + at: specifier, + importName: imported.value + }); } this.checkReservedWord(imported.name, specifier.loc.start, true, true); @@ -15703,8 +16524,7 @@ class StatementParser extends ExpressionParser { } } - this.checkLVal(specifier.local, "import specifier", BIND_LEXICAL); - return this.finishNode(specifier, "ImportSpecifier"); + return this.finishImportSpecifier(specifier, "ImportSpecifier"); } isThisParam(param) { diff --git a/node_modules/@babel/parser/lib/index.js.map b/node_modules/@babel/parser/lib/index.js.map index cf531664..bb550418 100644 --- a/node_modules/@babel/parser/lib/index.js.map +++ b/node_modules/@babel/parser/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../src/util/location.js","../src/parser/base.js","../src/parser/comments.js","../src/parser/error-codes.js","../src/parser/error-message.js","../src/parser/error.js","../src/plugins/estree.js","../src/tokenizer/context.js","../src/tokenizer/types.js","../../babel-helper-validator-identifier/src/identifier.ts","../../babel-helper-validator-identifier/src/keyword.ts","../src/util/identifier.js","../src/util/scopeflags.js","../src/util/scope.js","../src/plugins/flow/scope.js","../src/util/whitespace.js","../src/tokenizer/state.js","../src/tokenizer/index.js","../src/util/class-scope.js","../src/util/expression-scope.js","../src/util/production-parameter.js","../src/parser/util.js","../src/parser/node.js","../src/plugins/flow/index.js","../src/plugins/jsx/xhtml.js","../src/plugins/jsx/index.js","../src/plugins/typescript/scope.js","../src/plugins/typescript/index.js","../src/plugins/placeholders.js","../src/plugins/v8intrinsic.js","../src/plugin-utils.js","../src/options.js","../src/parser/lval.js","../src/parser/expression.js","../src/parser/statement.js","../src/parser/index.js","../src/index.js"],"sourcesContent":["// @flow\n\nexport type Pos = {\n start: number,\n};\n\n// These are used when `options.locations` is on, for the\n// `startLoc` and `endLoc` properties.\n\nexport class Position {\n line: number;\n column: number;\n index: number;\n\n constructor(line: number, col: number, index: number) {\n this.line = line;\n this.column = col;\n\n // this.index = index;\n // Object.defineProperty(this, \"index\", { enumerable: false, value: index });\n indexes.set(this, index);\n }\n}\n\nexport class SourceLocation {\n start: Position;\n end: Position;\n filename: string;\n identifierName: ?string;\n\n constructor(start: Position, end?: Position) {\n this.start = start;\n // $FlowIgnore (may start as null, but initialized later)\n this.end = end;\n }\n}\n\nexport const indexes: WeakMap = new WeakMap();\n\n/**\n * creates a new position with a non-zero column offset from the given position.\n * This function should be only be used when we create AST node out of the token\n * boundaries, such as TemplateElement ends before tt.templateNonTail. This\n * function does not skip whitespaces.\n *\n * @export\n * @param {Position} position\n * @param {number} columnOffset\n * @returns {Position}\n */\nexport function createPositionWithColumnOffset(\n position: Position,\n columnOffset: number,\n) {\n const { line, column } = position;\n return new Position(\n line,\n column + columnOffset,\n indexes.get(position) + columnOffset,\n );\n}\n","// @flow\n\nimport type { Options } from \"../options\";\nimport type State from \"../tokenizer/state\";\nimport type { PluginsMap } from \"./index\";\nimport type ScopeHandler from \"../util/scope\";\nimport type ExpressionScopeHandler from \"../util/expression-scope\";\nimport type ClassScopeHandler from \"../util/class-scope\";\nimport type ProductionParameterHandler from \"../util/production-parameter\";\n\nexport default class BaseParser {\n // Properties set by constructor in index.js\n declare options: Options;\n declare inModule: boolean;\n declare scope: ScopeHandler<*>;\n declare classScope: ClassScopeHandler;\n declare prodParam: ProductionParameterHandler;\n declare expressionScope: ExpressionScopeHandler;\n declare plugins: PluginsMap;\n declare filename: ?string;\n // Names of exports store. `default` is stored as a name for both\n // `export default foo;` and `export { foo as default };`.\n declare exportedIdentifiers: Set;\n sawUnambiguousESM: boolean = false;\n ambiguousScriptDifferentAst: boolean = false;\n\n // Initialized by Tokenizer\n declare state: State;\n // input and length are not in state as they are constant and we do\n // not want to ever copy them, which happens if state gets cloned\n declare input: string;\n declare length: number;\n\n // This method accepts either a string (plugin name) or an array pair\n // (plugin name and options object). If an options object is given,\n // then each value is non-recursively checked for identity with that\n // plugin’s actual option value.\n hasPlugin(pluginConfig: PluginConfig): boolean {\n if (typeof pluginConfig === \"string\") {\n return this.plugins.has(pluginConfig);\n } else {\n const [pluginName, pluginOptions] = pluginConfig;\n if (!this.hasPlugin(pluginName)) {\n return false;\n }\n const actualOptions = this.plugins.get(pluginName);\n for (const key of Object.keys(pluginOptions)) {\n if (actualOptions?.[key] !== pluginOptions[key]) {\n return false;\n }\n }\n return true;\n }\n }\n\n getPluginOption(plugin: string, name: string) {\n return this.plugins.get(plugin)?.[name];\n }\n}\n\nexport type PluginConfig = string | [string, { [string]: any }];\n","// @flow\n\n/*:: declare var invariant; */\n\nimport BaseParser from \"./base\";\nimport type { Comment, Node } from \"../types\";\nimport * as charCodes from \"charcodes\";\n\n/**\n * A whitespace token containing comments\n * @typedef CommentWhitespace\n * @type {object}\n * @property {number} start - the start of the whitespace token.\n * @property {number} end - the end of the whitespace token.\n * @property {Array} comments - the containing comments\n * @property {Node | null} leadingNode - the immediately preceding AST node of the whitespace token\n * @property {Node | null} trailingNode - the immediately following AST node of the whitespace token\n * @property {Node | null} containingNode - the innermost AST node containing the whitespace\n * with minimal size (|end - start|)\n */\nexport type CommentWhitespace = {\n start: number,\n end: number,\n comments: Array,\n leadingNode: Node | null,\n trailingNode: Node | null,\n containingNode: Node | null,\n};\n\n/**\n * Merge comments with node's trailingComments or assign comments to be\n * trailingComments. New comments will be placed before old comments\n * because the commentStack is enumerated reversely.\n *\n * @param {Node} node\n * @param {Array} comments\n */\nfunction setTrailingComments(node: Node, comments: Array) {\n if (node.trailingComments === undefined) {\n node.trailingComments = comments;\n } else {\n node.trailingComments.unshift(...comments);\n }\n}\n\n/**\n * Merge comments with node's leadingComments or assign comments to be\n * leadingComments. New comments will be placed before old comments\n * because the commentStack is enumerated reversely.\n *\n * @param {Node} node\n * @param {Array} comments\n */\nfunction setLeadingComments(node: Node, comments: Array) {\n if (node.leadingComments === undefined) {\n node.leadingComments = comments;\n } else {\n node.leadingComments.unshift(...comments);\n }\n}\n\n/**\n * Merge comments with node's innerComments or assign comments to be\n * innerComments. New comments will be placed before old comments\n * because the commentStack is enumerated reversely.\n *\n * @param {Node} node\n * @param {Array} comments\n */\nexport function setInnerComments(node: Node, comments: Array) {\n if (node.innerComments === undefined) {\n node.innerComments = comments;\n } else {\n node.innerComments.unshift(...comments);\n }\n}\n\n/**\n * Given node and elements array, if elements has non-null element,\n * merge comments to its trailingComments, otherwise merge comments\n * to node's innerComments\n *\n * @param {Node} node\n * @param {Array} elements\n * @param {Array} comments\n */\nfunction adjustInnerComments(\n node: Node,\n elements: Array,\n commentWS: CommentWhitespace,\n) {\n let lastElement = null;\n let i = elements.length;\n while (lastElement === null && i > 0) {\n lastElement = elements[--i];\n }\n if (lastElement === null || lastElement.start > commentWS.start) {\n setInnerComments(node, commentWS.comments);\n } else {\n setTrailingComments(lastElement, commentWS.comments);\n }\n}\n\n/** @class CommentsParser */\nexport default class CommentsParser extends BaseParser {\n addComment(comment: Comment): void {\n if (this.filename) comment.loc.filename = this.filename;\n this.state.comments.push(comment);\n }\n\n /**\n * Given a newly created AST node _n_, attach _n_ to a comment whitespace _w_ if applicable\n * {@see {@link CommentWhitespace}}\n *\n * @param {Node} node\n * @returns {void}\n * @memberof CommentsParser\n */\n processComment(node: Node): void {\n const { commentStack } = this.state;\n const commentStackLength = commentStack.length;\n if (commentStackLength === 0) return;\n let i = commentStackLength - 1;\n const lastCommentWS = commentStack[i];\n\n if (lastCommentWS.start === node.end) {\n lastCommentWS.leadingNode = node;\n i--;\n }\n\n const { start: nodeStart } = node;\n // invariant: for all 0 <= j <= i, let c = commentStack[j], c must satisfy c.end < node.end\n for (; i >= 0; i--) {\n const commentWS = commentStack[i];\n const commentEnd = commentWS.end;\n if (commentEnd > nodeStart) {\n // by definition of commentWhiteSpace, this implies commentWS.start > nodeStart\n // so node can be a containingNode candidate. At this time we can finalize the comment\n // whitespace, because\n // 1) its leadingNode or trailingNode, if exists, will not change\n // 2) its containingNode have been assigned and will not change because it is the\n // innermost minimal-sized AST node\n commentWS.containingNode = node;\n this.finalizeComment(commentWS);\n commentStack.splice(i, 1);\n } else {\n if (commentEnd === nodeStart) {\n commentWS.trailingNode = node;\n }\n // stop the loop when commentEnd <= nodeStart\n break;\n }\n }\n }\n\n /**\n * Assign the comments of comment whitespaces to related AST nodes.\n * Also adjust innerComments following trailing comma.\n *\n * @memberof CommentsParser\n */\n finalizeComment(commentWS: CommentWhitespace) {\n const { comments } = commentWS;\n if (commentWS.leadingNode !== null || commentWS.trailingNode !== null) {\n if (commentWS.leadingNode !== null) {\n setTrailingComments(commentWS.leadingNode, comments);\n }\n if (commentWS.trailingNode !== null) {\n setLeadingComments(commentWS.trailingNode, comments);\n }\n } else {\n /*:: invariant(commentWS.containingNode !== null) */\n const { containingNode: node, start: commentStart } = commentWS;\n if (this.input.charCodeAt(commentStart - 1) === charCodes.comma) {\n // If a commentWhitespace follows a comma and the containingNode allows\n // list structures with trailing comma, merge it to the trailingComment\n // of the last non-null list element\n switch (node.type) {\n case \"ObjectExpression\":\n case \"ObjectPattern\":\n case \"RecordExpression\":\n adjustInnerComments(node, node.properties, commentWS);\n break;\n case \"CallExpression\":\n case \"OptionalCallExpression\":\n adjustInnerComments(node, node.arguments, commentWS);\n break;\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n case \"ArrowFunctionExpression\":\n case \"ObjectMethod\":\n case \"ClassMethod\":\n case \"ClassPrivateMethod\":\n adjustInnerComments(node, node.params, commentWS);\n break;\n case \"ArrayExpression\":\n case \"ArrayPattern\":\n case \"TupleExpression\":\n adjustInnerComments(node, node.elements, commentWS);\n break;\n case \"ExportNamedDeclaration\":\n case \"ImportDeclaration\":\n adjustInnerComments(node, node.specifiers, commentWS);\n break;\n default: {\n setInnerComments(node, comments);\n }\n }\n } else {\n setInnerComments(node, comments);\n }\n }\n }\n\n /**\n * Drains remaning commentStack and applies finalizeComment\n * to each comment whitespace. Used only in parseExpression\n * where the top level AST node is _not_ Program\n * {@see {@link CommentsParser#finalizeComment}}\n *\n * @memberof CommentsParser\n */\n finalizeRemainingComments() {\n const { commentStack } = this.state;\n for (let i = commentStack.length - 1; i >= 0; i--) {\n this.finalizeComment(commentStack[i]);\n }\n this.state.commentStack = [];\n }\n\n /**\n * Reset previous node trailing comments. Used in object / class\n * property parsing. We parse `async`, `static`, `set` and `get`\n * as an identifier but may reinterepret it into an async/static/accessor\n * method later. In this case the identifier is not part of the AST and we\n * should sync the knowledge to commentStacks\n *\n * For example, when parsing */\n // async /* 1 */ function f() {}\n /*\n * the comment whitespace \"* 1 *\" has leading node Identifier(async). When\n * we see the function token, we create a Function node and mark \"* 1 *\" as\n * inner comments. So \"* 1 *\" should be detached from the Identifier node.\n *\n * @param {N.Node} node the last finished AST node _before_ current token\n * @returns\n * @memberof CommentsParser\n */\n resetPreviousNodeTrailingComments(node: Node) {\n const { commentStack } = this.state;\n const { length } = commentStack;\n if (length === 0) return;\n const commentWS = commentStack[length - 1];\n if (commentWS.leadingNode === node) {\n commentWS.leadingNode = null;\n }\n }\n\n /**\n * Attach a node to the comment whitespaces right before/after\n * the given range.\n *\n * This is used to properly attach comments around parenthesized\n * expressions as leading/trailing comments of the inner expression.\n *\n * @param {Node} node\n * @param {number} start\n * @param {number} end\n */\n takeSurroundingComments(node: Node, start: number, end: number) {\n const { commentStack } = this.state;\n const commentStackLength = commentStack.length;\n if (commentStackLength === 0) return;\n let i = commentStackLength - 1;\n\n for (; i >= 0; i--) {\n const commentWS = commentStack[i];\n const commentEnd = commentWS.end;\n const commentStart = commentWS.start;\n\n if (commentStart === end) {\n commentWS.leadingNode = node;\n } else if (commentEnd === start) {\n commentWS.trailingNode = node;\n } else if (commentEnd < start) {\n break;\n }\n }\n }\n}\n","// @flow\n\nexport const ErrorCodes = Object.freeze({\n SyntaxError: \"BABEL_PARSER_SYNTAX_ERROR\",\n SourceTypeModuleError: \"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED\",\n});\n\nexport type ErrorCode = $Values;\n","// @flow\n\nimport { makeErrorTemplates, ErrorCodes } from \"./error\";\n\n/* eslint sort-keys: \"error\" */\n\n/**\n * @module parser/error-message\n */\n\n// The Errors key follows https://cs.chromium.org/chromium/src/v8/src/common/message-template.h unless it does not exist\nexport const ErrorMessages = makeErrorTemplates(\n {\n AccessorIsGenerator: \"A %0ter cannot be a generator.\",\n ArgumentsInClass:\n \"'arguments' is only allowed in functions and class methods.\",\n AsyncFunctionInSingleStatementContext:\n \"Async functions can only be declared at the top level or inside a block.\",\n AwaitBindingIdentifier:\n \"Can not use 'await' as identifier inside an async function.\",\n AwaitBindingIdentifierInStaticBlock:\n \"Can not use 'await' as identifier inside a static block.\",\n AwaitExpressionFormalParameter:\n \"'await' is not allowed in async function parameters.\",\n AwaitNotInAsyncContext:\n \"'await' is only allowed within async functions and at the top levels of modules.\",\n AwaitNotInAsyncFunction: \"'await' is only allowed within async functions.\",\n BadGetterArity: \"A 'get' accesor must not have any formal parameters.\",\n BadSetterArity: \"A 'set' accesor must have exactly one formal parameter.\",\n BadSetterRestParameter:\n \"A 'set' accesor function argument must not be a rest parameter.\",\n ConstructorClassField: \"Classes may not have a field named 'constructor'.\",\n ConstructorClassPrivateField:\n \"Classes may not have a private field named '#constructor'.\",\n ConstructorIsAccessor: \"Class constructor may not be an accessor.\",\n ConstructorIsAsync: \"Constructor can't be an async function.\",\n ConstructorIsGenerator: \"Constructor can't be a generator.\",\n DeclarationMissingInitializer: \"'%0' require an initialization value.\",\n DecoratorBeforeExport:\n \"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.\",\n DecoratorConstructor:\n \"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?\",\n DecoratorExportClass:\n \"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.\",\n DecoratorSemicolon: \"Decorators must not be followed by a semicolon.\",\n DecoratorStaticBlock: \"Decorators can't be used with a static block.\",\n DeletePrivateField: \"Deleting a private field is not allowed.\",\n DestructureNamedImport:\n \"ES2015 named imports do not destructure. Use another statement for destructuring after the import.\",\n DuplicateConstructor: \"Duplicate constructor in the same class.\",\n DuplicateDefaultExport: \"Only one default export allowed per module.\",\n DuplicateExport:\n \"`%0` has already been exported. Exported identifiers must be unique.\",\n DuplicateProto: \"Redefinition of __proto__ property.\",\n DuplicateRegExpFlags: \"Duplicate regular expression flag.\",\n ElementAfterRest: \"Rest element must be last element.\",\n EscapedCharNotAnIdentifier: \"Invalid Unicode escape.\",\n ExportBindingIsString:\n \"A string literal cannot be used as an exported binding without `from`.\\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?\",\n ExportDefaultFromAsIdentifier:\n \"'from' is not allowed as an identifier after 'export default'.\",\n ForInOfLoopInitializer:\n \"'%0' loop variable declaration may not have an initializer.\",\n ForOfAsync: \"The left-hand side of a for-of loop may not be 'async'.\",\n ForOfLet: \"The left-hand side of a for-of loop may not start with 'let'.\",\n GeneratorInSingleStatementContext:\n \"Generators can only be declared at the top level or inside a block.\",\n IllegalBreakContinue: \"Unsyntactic %0.\",\n IllegalLanguageModeDirective:\n \"Illegal 'use strict' directive in function with non-simple parameter list.\",\n IllegalReturn: \"'return' outside of function.\",\n ImportBindingIsString:\n 'A string literal cannot be used as an imported binding.\\n- Did you mean `import { \"%0\" as foo }`?',\n ImportCallArgumentTrailingComma:\n \"Trailing comma is disallowed inside import(...) arguments.\",\n ImportCallArity: \"`import()` requires exactly %0.\",\n ImportCallNotNewExpression: \"Cannot use new with import(...).\",\n ImportCallSpreadArgument: \"`...` is not allowed in `import()`.\",\n InvalidBigIntLiteral: \"Invalid BigIntLiteral.\",\n InvalidCodePoint: \"Code point out of bounds.\",\n InvalidCoverInitializedName: \"Invalid shorthand property initializer.\",\n InvalidDecimal: \"Invalid decimal.\",\n InvalidDigit: \"Expected number in radix %0.\",\n InvalidEscapeSequence: \"Bad character escape sequence.\",\n InvalidEscapeSequenceTemplate: \"Invalid escape sequence in template.\",\n InvalidEscapedReservedWord: \"Escape sequence in keyword %0.\",\n InvalidIdentifier: \"Invalid identifier %0.\",\n InvalidLhs: \"Invalid left-hand side in %0.\",\n InvalidLhsBinding: \"Binding invalid left-hand side in %0.\",\n InvalidNumber: \"Invalid number.\",\n InvalidOrMissingExponent:\n \"Floating-point numbers require a valid exponent after the 'e'.\",\n InvalidOrUnexpectedToken: \"Unexpected character '%0'.\",\n InvalidParenthesizedAssignment: \"Invalid parenthesized assignment pattern.\",\n InvalidPrivateFieldResolution: \"Private name #%0 is not defined.\",\n InvalidPropertyBindingPattern: \"Binding member expression.\",\n InvalidRecordProperty:\n \"Only properties and spread elements are allowed in record definitions.\",\n InvalidRestAssignmentPattern: \"Invalid rest operator's argument.\",\n LabelRedeclaration: \"Label '%0' is already declared.\",\n LetInLexicalBinding:\n \"'let' is not allowed to be used as a name in 'let' or 'const' declarations.\",\n LineTerminatorBeforeArrow: \"No line break is allowed before '=>'.\",\n MalformedRegExpFlags: \"Invalid regular expression flag.\",\n MissingClassName: \"A class name is required.\",\n MissingEqInAssignment:\n \"Only '=' operator can be used for specifying default value.\",\n MissingSemicolon: \"Missing semicolon.\",\n MissingUnicodeEscape: \"Expecting Unicode escape sequence \\\\uXXXX.\",\n MixingCoalesceWithLogical:\n \"Nullish coalescing operator(??) requires parens when mixing with logical operators.\",\n ModuleAttributeDifferentFromType:\n \"The only accepted module attribute is `type`.\",\n ModuleAttributeInvalidValue:\n \"Only string literals are allowed as module attribute values.\",\n ModuleAttributesWithDuplicateKeys:\n 'Duplicate key \"%0\" is not allowed in module attributes.',\n ModuleExportNameHasLoneSurrogate:\n \"An export name cannot include a lone surrogate, found '\\\\u%0'.\",\n ModuleExportUndefined: \"Export '%0' is not defined.\",\n MultipleDefaultsInSwitch: \"Multiple default clauses.\",\n NewlineAfterThrow: \"Illegal newline after throw.\",\n NoCatchOrFinally: \"Missing catch or finally clause.\",\n NumberIdentifier: \"Identifier directly after number.\",\n NumericSeparatorInEscapeSequence:\n \"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.\",\n ObsoleteAwaitStar:\n \"'await*' has been removed from the async functions proposal. Use Promise.all() instead.\",\n OptionalChainingNoNew:\n \"Constructors in/after an Optional Chain are not allowed.\",\n OptionalChainingNoTemplate:\n \"Tagged Template Literals are not allowed in optionalChain.\",\n OverrideOnConstructor:\n \"'override' modifier cannot appear on a constructor declaration.\",\n ParamDupe: \"Argument name clash.\",\n PatternHasAccessor: \"Object pattern can't contain getter or setter.\",\n PatternHasMethod: \"Object pattern can't contain methods.\",\n // This error is only used by the smart-mix proposal\n PipeBodyIsTighter:\n \"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.\",\n PipeTopicRequiresHackPipes:\n 'Topic reference is used, but the pipelineOperator plugin was not passed a \"proposal\": \"hack\" or \"smart\" option.',\n PipeTopicUnbound:\n \"Topic reference is unbound; it must be inside a pipe body.\",\n PipeTopicUnconfiguredToken:\n 'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { \"proposal\": \"hack\", \"topicToken\": \"%0\" }.',\n PipeTopicUnused:\n \"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.\",\n PipeUnparenthesizedBody:\n \"Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.\",\n\n // Messages whose codes start with “Pipeline” or “PrimaryTopic”\n // are retained for backwards compatibility\n // with the deprecated smart-mix pipe operator proposal plugin.\n // They are subject to removal in a future major version.\n PipelineBodyNoArrow:\n 'Unexpected arrow \"=>\" after pipeline body; arrow function in pipeline body must be parenthesized.',\n PipelineBodySequenceExpression:\n \"Pipeline body may not be a comma-separated sequence expression.\",\n PipelineHeadSequenceExpression:\n \"Pipeline head should not be a comma-separated sequence expression.\",\n PipelineTopicUnused:\n \"Pipeline is in topic style but does not use topic reference.\",\n PrimaryTopicNotAllowed:\n \"Topic reference was used in a lexical context without topic binding.\",\n PrimaryTopicRequiresSmartPipeline:\n 'Topic reference is used, but the pipelineOperator plugin was not passed a \"proposal\": \"hack\" or \"smart\" option.',\n\n PrivateInExpectedIn:\n \"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).\",\n PrivateNameRedeclaration: \"Duplicate private name #%0.\",\n RecordExpressionBarIncorrectEndSyntaxType:\n \"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",\n RecordExpressionBarIncorrectStartSyntaxType:\n \"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",\n RecordExpressionHashIncorrectStartSyntaxType:\n \"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.\",\n RecordNoProto: \"'__proto__' is not allowed in Record expressions.\",\n RestTrailingComma: \"Unexpected trailing comma after rest element.\",\n SloppyFunction:\n \"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.\",\n StaticPrototype: \"Classes may not have static property named prototype.\",\n StrictDelete: \"Deleting local variable in strict mode.\",\n StrictEvalArguments: \"Assigning to '%0' in strict mode.\",\n StrictEvalArgumentsBinding: \"Binding '%0' in strict mode.\",\n StrictFunction:\n \"In strict mode code, functions can only be declared at top level or inside a block.\",\n StrictNumericEscape:\n \"The only valid numeric escape in strict mode is '\\\\0'.\",\n StrictOctalLiteral: \"Legacy octal literals are not allowed in strict mode.\",\n StrictWith: \"'with' in strict mode.\",\n SuperNotAllowed:\n \"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?\",\n SuperPrivateField: \"Private fields can't be accessed on super.\",\n TrailingDecorator: \"Decorators must be attached to a class element.\",\n TupleExpressionBarIncorrectEndSyntaxType:\n \"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",\n TupleExpressionBarIncorrectStartSyntaxType:\n \"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.\",\n TupleExpressionHashIncorrectStartSyntaxType:\n \"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.\",\n UnexpectedArgumentPlaceholder: \"Unexpected argument placeholder.\",\n UnexpectedAwaitAfterPipelineBody:\n 'Unexpected \"await\" after pipeline body; await must have parentheses in minimal proposal.',\n UnexpectedDigitAfterHash: \"Unexpected digit after hash token.\",\n UnexpectedImportExport:\n \"'import' and 'export' may only appear at the top level.\",\n UnexpectedKeyword: \"Unexpected keyword '%0'.\",\n UnexpectedLeadingDecorator:\n \"Leading decorators must be attached to a class declaration.\",\n UnexpectedLexicalDeclaration:\n \"Lexical declaration cannot appear in a single-statement context.\",\n UnexpectedNewTarget:\n \"`new.target` can only be used in functions or class properties.\",\n UnexpectedNumericSeparator:\n \"A numeric separator is only allowed between two digits.\",\n UnexpectedPrivateField: \"Unexpected private name.\",\n UnexpectedReservedWord: \"Unexpected reserved word '%0'.\",\n UnexpectedSuper: \"'super' is only allowed in object methods and classes.\",\n UnexpectedToken: \"Unexpected token '%0'.\",\n UnexpectedTokenUnaryExponentiation:\n \"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.\",\n UnsupportedBind: \"Binding should be performed on object property.\",\n UnsupportedDecoratorExport:\n \"A decorated export must export a class declaration.\",\n UnsupportedDefaultExport:\n \"Only expressions, functions or classes are allowed as the `default` export.\",\n UnsupportedImport:\n \"`import` can only be used in `import()` or `import.meta`.\",\n UnsupportedMetaProperty: \"The only valid meta property for %0 is %0.%1.\",\n UnsupportedParameterDecorator:\n \"Decorators cannot be used to decorate parameters.\",\n UnsupportedPropertyDecorator:\n \"Decorators cannot be used to decorate object literal properties.\",\n UnsupportedSuper:\n \"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).\",\n UnterminatedComment: \"Unterminated comment.\",\n UnterminatedRegExp: \"Unterminated regular expression.\",\n UnterminatedString: \"Unterminated string constant.\",\n UnterminatedTemplate: \"Unterminated template.\",\n VarRedeclaration: \"Identifier '%0' has already been declared.\",\n YieldBindingIdentifier:\n \"Can not use 'yield' as identifier inside a generator.\",\n YieldInParameter: \"Yield expression is not allowed in formal parameters.\",\n ZeroDigitNumericSeparator:\n \"Numeric separator can not be used after leading 0.\",\n },\n /* code */ ErrorCodes.SyntaxError,\n);\n\nexport const SourceTypeModuleErrorMessages = makeErrorTemplates(\n {\n ImportMetaOutsideModule: `import.meta may appear only with 'sourceType: \"module\"'`,\n ImportOutsideModule: `'import' and 'export' may appear only with 'sourceType: \"module\"'`,\n },\n /* code */ ErrorCodes.SourceTypeModuleError,\n);\n","// @flow\n/* eslint sort-keys: \"error\" */\nimport { type Position, indexes } from \"../util/location\";\nimport CommentsParser from \"./comments\";\nimport { type ErrorCode, ErrorCodes } from \"./error-codes\";\nimport { type Node } from \"../types\";\n\n// This function is used to raise exceptions on parse errors. It\n// takes an offset integer (into the current `input`) to indicate\n// the location of the error, attaches the position to the end\n// of the error message, and then raises a `SyntaxError` with that\n// message.\n\ntype ErrorContext = {\n pos: number,\n loc: Position,\n missingPlugin?: Array,\n code?: string,\n reasonCode?: String,\n};\nexport type ParsingError = SyntaxError & ErrorContext;\n\nexport type ErrorTemplate = {\n code: ErrorCode,\n template: string,\n reasonCode: string,\n};\nexport type ErrorTemplates = {\n [key: string]: ErrorTemplate,\n};\n\ntype Origin = {| node: Node |} | {| at: Position |};\n\ntype SyntaxPlugin =\n | \"flow\"\n | \"typescript\"\n | \"jsx\"\n | \"placeholders\"\n | typeof undefined;\n\nfunction keepReasonCodeCompat(reasonCode: string, syntaxPlugin: SyntaxPlugin) {\n if (!process.env.BABEL_8_BREAKING) {\n // For consistency in TypeScript and Flow error codes\n if (syntaxPlugin === \"flow\" && reasonCode === \"PatternIsOptional\") {\n return \"OptionalBindingPattern\";\n }\n }\n return reasonCode;\n}\n\nexport function makeErrorTemplates(\n messages: {\n [key: string]: string,\n },\n code: ErrorCode,\n syntaxPlugin?: SyntaxPlugin,\n): ErrorTemplates {\n const templates: ErrorTemplates = {};\n Object.keys(messages).forEach(reasonCode => {\n templates[reasonCode] = Object.freeze({\n code,\n reasonCode: keepReasonCodeCompat(reasonCode, syntaxPlugin),\n template: messages[reasonCode],\n });\n });\n return Object.freeze(templates);\n}\n\nexport { ErrorCodes };\nexport {\n ErrorMessages as Errors,\n SourceTypeModuleErrorMessages as SourceTypeModuleErrors,\n} from \"./error-message\";\n\nexport type raiseFunction = (ErrorTemplate, Origin, ...any) => void;\nexport type ErrorData = {| message: ErrorTemplate, loc: Position |};\n\nexport default class ParserError extends CommentsParser {\n // Forward-declaration: defined in tokenizer/index.js\n /*::\n +isLookahead: boolean;\n */\n\n raise(\n { code, reasonCode, template }: ErrorTemplate,\n origin: Origin,\n ...params: any\n ): Error | empty {\n return this.raiseWithData(\n origin.node ? origin.node.loc.start : origin.at,\n { code, reasonCode },\n template,\n ...params,\n );\n }\n\n /**\n * Raise a parsing error on given position pos. If errorRecovery is true,\n * it will first search current errors and overwrite the error thrown on the exact\n * position before with the new error message. If errorRecovery is false, it\n * fallbacks to `raise`.\n *\n * @param {number} pos\n * @param {string} errorTemplate\n * @param {...any} params\n * @returns {(Error | empty)}\n * @memberof ParserError\n */\n raiseOverwrite(\n loc: Position,\n { code, template }: ErrorTemplate,\n ...params: any\n ): Error | empty {\n // $FlowIgnore[incompatible-type] We know this exists, so it can't be undefined.\n const pos: number = indexes.get(loc);\n const message =\n template.replace(/%(\\d+)/g, (_, i: number) => params[i]) +\n ` (${loc.line}:${loc.column})`;\n if (this.options.errorRecovery) {\n const errors = this.state.errors;\n for (let i = errors.length - 1; i >= 0; i--) {\n const error = errors[i];\n if (error.pos === pos) {\n return Object.assign(error, { message });\n } else if (error.pos < pos) {\n break;\n }\n }\n }\n return this._raise({ code, loc, pos }, message);\n }\n\n raiseWithData(\n loc: Position,\n data?: {\n missingPlugin?: Array,\n code?: string,\n },\n errorTemplate: string,\n ...params: any\n ): Error | empty {\n const pos = indexes.get(loc);\n const message =\n errorTemplate.replace(/%(\\d+)/g, (_, i: number) => params[i]) +\n ` (${loc.line}:${loc.column})`;\n return this._raise(Object.assign(({ loc, pos }: Object), data), message);\n }\n\n _raise(errorContext: ErrorContext, message: string): Error | empty {\n // $FlowIgnore\n const err: SyntaxError & ErrorContext = new SyntaxError(message);\n Object.assign(err, errorContext);\n if (this.options.errorRecovery) {\n if (!this.isLookahead) this.state.errors.push(err);\n return err;\n } else {\n throw err;\n }\n }\n}\n","// @flow\n\nimport { type TokenType } from \"../tokenizer/types\";\nimport type Parser from \"../parser\";\nimport type { ExpressionErrors } from \"../parser/util\";\nimport * as N from \"../types\";\nimport type { Position } from \"../util/location\";\nimport { Errors } from \"../parser/error\";\n\nexport default (superClass: Class): Class =>\n class extends superClass {\n parseRegExpLiteral({ pattern, flags }): N.Node {\n let regex = null;\n try {\n regex = new RegExp(pattern, flags);\n } catch (e) {\n // In environments that don't support these flags value will\n // be null as the regex can't be represented natively.\n }\n const node = this.estreeParseLiteral(regex);\n node.regex = { pattern, flags };\n\n return node;\n }\n\n parseBigIntLiteral(value: any): N.Node {\n // https://github.com/estree/estree/blob/master/es2020.md#bigintliteral\n let bigInt;\n try {\n // $FlowIgnore\n bigInt = BigInt(value);\n } catch {\n bigInt = null;\n }\n const node = this.estreeParseLiteral(bigInt);\n node.bigint = String(node.value || value);\n\n return node;\n }\n\n parseDecimalLiteral(value: any): N.Node {\n // https://github.com/estree/estree/blob/master/experimental/decimal.md\n // todo: use BigDecimal when node supports it.\n const decimal = null;\n const node = this.estreeParseLiteral(decimal);\n node.decimal = String(node.value || value);\n\n return node;\n }\n\n estreeParseLiteral(value: any) {\n return this.parseLiteral(value, \"Literal\");\n }\n\n parseStringLiteral(value: any): N.Node {\n return this.estreeParseLiteral(value);\n }\n\n parseNumericLiteral(value: any): any {\n return this.estreeParseLiteral(value);\n }\n\n parseNullLiteral(): N.Node {\n return this.estreeParseLiteral(null);\n }\n\n parseBooleanLiteral(value: boolean): N.BooleanLiteral {\n return this.estreeParseLiteral(value);\n }\n\n directiveToStmt(directive: N.Directive): N.ExpressionStatement {\n const directiveLiteral = directive.value;\n\n const stmt = this.startNodeAt(directive.start, directive.loc.start);\n const expression = this.startNodeAt(\n directiveLiteral.start,\n directiveLiteral.loc.start,\n );\n\n expression.value = directiveLiteral.extra.expressionValue;\n expression.raw = directiveLiteral.extra.raw;\n\n stmt.expression = this.finishNodeAt(\n expression,\n \"Literal\",\n directiveLiteral.loc.end,\n );\n stmt.directive = directiveLiteral.extra.raw.slice(1, -1);\n\n return this.finishNodeAt(stmt, \"ExpressionStatement\", directive.loc.end);\n }\n\n // ==================================\n // Overrides\n // ==================================\n\n initFunction(\n node: N.BodilessFunctionOrMethodBase,\n isAsync: ?boolean,\n ): void {\n super.initFunction(node, isAsync);\n node.expression = false;\n }\n\n checkDeclaration(node: N.Pattern | N.ObjectProperty): void {\n if (node != null && this.isObjectProperty(node)) {\n this.checkDeclaration(((node: any): N.EstreeProperty).value);\n } else {\n super.checkDeclaration(node);\n }\n }\n\n getObjectOrClassMethodParams(method: N.ObjectMethod | N.ClassMethod) {\n return ((method: any): N.EstreeProperty | N.EstreeMethodDefinition).value\n .params;\n }\n\n isValidDirective(stmt: N.Statement): boolean {\n return (\n stmt.type === \"ExpressionStatement\" &&\n stmt.expression.type === \"Literal\" &&\n typeof stmt.expression.value === \"string\" &&\n !stmt.expression.extra?.parenthesized\n );\n }\n\n parseBlockBody(\n node: N.BlockStatementLike,\n ...args: [?boolean, boolean, TokenType, void | (boolean => void)]\n ): void {\n super.parseBlockBody(node, ...args);\n\n const directiveStatements = node.directives.map(d =>\n this.directiveToStmt(d),\n );\n node.body = directiveStatements.concat(node.body);\n // $FlowIgnore - directives isn't optional in the type definition\n delete node.directives;\n }\n\n pushClassMethod(\n classBody: N.ClassBody,\n method: N.ClassMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowsDirectSuper: boolean,\n ): void {\n this.parseMethod(\n method,\n isGenerator,\n isAsync,\n isConstructor,\n allowsDirectSuper,\n \"ClassMethod\",\n true,\n );\n if (method.typeParameters) {\n // $FlowIgnore\n method.value.typeParameters = method.typeParameters;\n delete method.typeParameters;\n }\n classBody.body.push(method);\n }\n\n parsePrivateName(): any {\n const node = super.parsePrivateName();\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return node;\n }\n }\n return this.convertPrivateNameToPrivateIdentifier(node);\n }\n\n convertPrivateNameToPrivateIdentifier(\n node: N.PrivateName,\n ): N.EstreePrivateIdentifier {\n const name = super.getPrivateNameSV(node);\n node = (node: any);\n delete node.id;\n node.name = name;\n node.type = \"PrivateIdentifier\";\n return node;\n }\n\n isPrivateName(node: N.Node): boolean {\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return super.isPrivateName(node);\n }\n }\n return node.type === \"PrivateIdentifier\";\n }\n\n getPrivateNameSV(node: N.Node): string {\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return super.getPrivateNameSV(node);\n }\n }\n return node.name;\n }\n\n parseLiteral(value: any, type: $ElementType): T {\n const node = super.parseLiteral(value, type);\n node.raw = node.extra.raw;\n delete node.extra;\n\n return node;\n }\n\n parseFunctionBody(\n node: N.Function,\n allowExpression: ?boolean,\n isMethod?: boolean = false,\n ): void {\n super.parseFunctionBody(node, allowExpression, isMethod);\n node.expression = node.body.type !== \"BlockStatement\";\n }\n\n parseMethod(\n node: T,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowDirectSuper: boolean,\n type: string,\n inClassScope: boolean = false,\n ): T {\n let funcNode = this.startNode();\n funcNode.kind = node.kind; // provide kind, so super method correctly sets state\n funcNode = super.parseMethod(\n funcNode,\n isGenerator,\n isAsync,\n isConstructor,\n allowDirectSuper,\n type,\n inClassScope,\n );\n funcNode.type = \"FunctionExpression\";\n delete funcNode.kind;\n // $FlowIgnore\n node.value = funcNode;\n if (type === \"ClassPrivateMethod\") {\n // $FlowIgnore\n node.computed = false;\n }\n type = \"MethodDefinition\";\n return this.finishNode(node, type);\n }\n\n parseClassProperty(...args: [N.ClassProperty]): any {\n const propertyNode = (super.parseClassProperty(...args): any);\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return (propertyNode: N.EstreePropertyDefinition);\n }\n }\n propertyNode.type = \"PropertyDefinition\";\n return (propertyNode: N.EstreePropertyDefinition);\n }\n\n parseClassPrivateProperty(...args: [N.ClassPrivateProperty]): any {\n const propertyNode = (super.parseClassPrivateProperty(...args): any);\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return (propertyNode: N.EstreePropertyDefinition);\n }\n }\n propertyNode.type = \"PropertyDefinition\";\n propertyNode.computed = false;\n return (propertyNode: N.EstreePropertyDefinition);\n }\n\n parseObjectMethod(\n prop: N.ObjectMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isPattern: boolean,\n isAccessor: boolean,\n ): ?N.ObjectMethod {\n const node: N.EstreeProperty = (super.parseObjectMethod(\n prop,\n isGenerator,\n isAsync,\n isPattern,\n isAccessor,\n ): any);\n\n if (node) {\n node.type = \"Property\";\n if (((node: any): N.ClassMethod).kind === \"method\") node.kind = \"init\";\n node.shorthand = false;\n }\n\n return (node: any);\n }\n\n parseObjectProperty(\n prop: N.ObjectProperty,\n startPos: ?number,\n startLoc: ?Position,\n isPattern: boolean,\n refExpressionErrors: ?ExpressionErrors,\n ): ?N.ObjectProperty {\n const node: N.EstreeProperty = (super.parseObjectProperty(\n prop,\n startPos,\n startLoc,\n isPattern,\n refExpressionErrors,\n ): any);\n\n if (node) {\n node.kind = \"init\";\n node.type = \"Property\";\n }\n\n return (node: any);\n }\n\n isAssignable(node: N.Node, isBinding?: boolean): boolean {\n if (node != null && this.isObjectProperty(node)) {\n return this.isAssignable(node.value, isBinding);\n }\n return super.isAssignable(node, isBinding);\n }\n\n toAssignable(node: N.Node, isLHS: boolean = false): N.Node {\n if (node != null && this.isObjectProperty(node)) {\n this.toAssignable(node.value, isLHS);\n\n return node;\n }\n\n return super.toAssignable(node, isLHS);\n }\n\n toAssignableObjectExpressionProp(prop: N.Node, ...args) {\n if (prop.kind === \"get\" || prop.kind === \"set\") {\n this.raise(Errors.PatternHasAccessor, { node: prop.key });\n } else if (prop.method) {\n this.raise(Errors.PatternHasMethod, { node: prop.key });\n } else {\n super.toAssignableObjectExpressionProp(prop, ...args);\n }\n }\n\n finishCallExpression(\n node: T,\n optional: boolean,\n ): N.Expression {\n super.finishCallExpression(node, optional);\n\n if (node.callee.type === \"Import\") {\n ((node: N.Node): N.EstreeImportExpression).type = \"ImportExpression\";\n ((node: N.Node): N.EstreeImportExpression).source = node.arguments[0];\n if (this.hasPlugin(\"importAssertions\")) {\n ((node: N.Node): N.EstreeImportExpression).attributes =\n node.arguments[1] ?? null;\n }\n // $FlowIgnore - arguments isn't optional in the type definition\n delete node.arguments;\n // $FlowIgnore - callee isn't optional in the type definition\n delete node.callee;\n }\n\n return node;\n }\n\n toReferencedArguments(\n node:\n | N.CallExpression\n | N.OptionalCallExpression\n | N.EstreeImportExpression,\n /* isParenthesizedExpr?: boolean, */\n ) {\n // ImportExpressions do not have an arguments array.\n if (node.type === \"ImportExpression\") {\n return;\n }\n\n super.toReferencedArguments(node);\n }\n\n parseExport(node: N.Node) {\n super.parseExport(node);\n\n switch (node.type) {\n case \"ExportAllDeclaration\":\n node.exported = null;\n break;\n\n case \"ExportNamedDeclaration\":\n if (\n node.specifiers.length === 1 &&\n node.specifiers[0].type === \"ExportNamespaceSpecifier\"\n ) {\n node.type = \"ExportAllDeclaration\";\n node.exported = node.specifiers[0].exported;\n delete node.specifiers;\n }\n\n break;\n }\n\n return node;\n }\n\n parseSubscript(\n base: N.Expression,\n startPos: number,\n startLoc: Position,\n noCalls: ?boolean,\n state: N.ParseSubscriptState,\n ) {\n const node = super.parseSubscript(\n base,\n startPos,\n startLoc,\n noCalls,\n state,\n );\n\n if (state.optionalChainMember) {\n // https://github.com/estree/estree/blob/master/es2020.md#chainexpression\n if (\n node.type === \"OptionalMemberExpression\" ||\n node.type === \"OptionalCallExpression\"\n ) {\n node.type = node.type.substring(8); // strip Optional prefix\n }\n if (state.stop) {\n const chain = this.startNodeAtNode(node);\n chain.expression = node;\n return this.finishNode(chain, \"ChainExpression\");\n }\n } else if (\n node.type === \"MemberExpression\" ||\n node.type === \"CallExpression\"\n ) {\n node.optional = false;\n }\n\n return node;\n }\n\n hasPropertyAsPrivateName(node: N.Node): boolean {\n if (node.type === \"ChainExpression\") {\n node = node.expression;\n }\n return super.hasPropertyAsPrivateName(node);\n }\n\n isOptionalChain(node: N.Node): boolean {\n return node.type === \"ChainExpression\";\n }\n\n isObjectProperty(node: N.Node): boolean {\n return node.type === \"Property\" && node.kind === \"init\" && !node.method;\n }\n\n isObjectMethod(node: N.Node): boolean {\n return node.method || node.kind === \"get\" || node.kind === \"set\";\n }\n };\n","// @flow\n\n// The token context is used in JSX plugin to track\n// jsx tag / jsx text / normal JavaScript expression\n\nexport class TokContext {\n constructor(token: string, preserveSpace?: boolean) {\n this.token = token;\n this.preserveSpace = !!preserveSpace;\n }\n\n token: string;\n preserveSpace: boolean;\n}\n\nconst types: {\n [key: string]: TokContext,\n} = {\n brace: new TokContext(\"{\"), // normal JavaScript expression\n j_oTag: new TokContext(\"...\", true), // JSX expressions\n};\n\nif (!process.env.BABEL_8_BREAKING) {\n types.template = new TokContext(\"`\", true);\n}\n\nexport { types };\n","// @flow\nimport { types as tc, type TokContext } from \"./context\";\n// ## Token types\n\n// The assignment of fine-grained, information-carrying type objects\n// allows the tokenizer to store the information it has about a\n// token in a way that is very cheap for the parser to look up.\n\n// All token type variables start with an underscore, to make them\n// easy to recognize.\n\n// The `beforeExpr` property is used to disambiguate between 1) binary\n// expression (<) and JSX Tag start (); 2) object literal and JSX\n// texts. It is set on the `updateContext` function in the JSX plugin.\n\n// The `startsExpr` property is used to determine whether an expression\n// may be the “argument” subexpression of a `yield` expression or\n// `yield` statement. It is set on all token types that may be at the\n// start of a subexpression.\n\n// `isLoop` marks a keyword as starting a loop, which is important\n// to know when parsing a label, in order to allow or disallow\n// continue jumps to that label.\n\nconst beforeExpr = true;\nconst startsExpr = true;\nconst isLoop = true;\nconst isAssign = true;\nconst prefix = true;\nconst postfix = true;\n\ntype TokenOptions = {\n keyword?: string,\n beforeExpr?: boolean,\n startsExpr?: boolean,\n rightAssociative?: boolean,\n isLoop?: boolean,\n isAssign?: boolean,\n prefix?: boolean,\n postfix?: boolean,\n binop?: ?number,\n};\n\n// Internally the tokenizer stores token as a number\nexport opaque type TokenType = number;\n\n// The `ExportedTokenType` is exported via `tokTypes` and accessible\n// when `tokens: true` is enabled. Unlike internal token type, it provides\n// metadata of the tokens.\nexport class ExportedTokenType {\n label: string;\n keyword: ?string;\n beforeExpr: boolean;\n startsExpr: boolean;\n rightAssociative: boolean;\n isLoop: boolean;\n isAssign: boolean;\n prefix: boolean;\n postfix: boolean;\n binop: ?number;\n // todo(Babel 8): remove updateContext from exposed token layout\n declare updateContext: ?(context: Array) => void;\n\n constructor(label: string, conf: TokenOptions = {}) {\n this.label = label;\n this.keyword = conf.keyword;\n this.beforeExpr = !!conf.beforeExpr;\n this.startsExpr = !!conf.startsExpr;\n this.rightAssociative = !!conf.rightAssociative;\n this.isLoop = !!conf.isLoop;\n this.isAssign = !!conf.isAssign;\n this.prefix = !!conf.prefix;\n this.postfix = !!conf.postfix;\n this.binop = conf.binop != null ? conf.binop : null;\n if (!process.env.BABEL_8_BREAKING) {\n this.updateContext = null;\n }\n }\n}\n\n// A map from keyword/keyword-like string value to the token type\nexport const keywords = new Map();\n\nfunction createKeyword(name: string, options: TokenOptions = {}): TokenType {\n options.keyword = name;\n const token = createToken(name, options);\n keywords.set(name, token);\n return token;\n}\n\nfunction createBinop(name: string, binop: number) {\n return createToken(name, { beforeExpr, binop });\n}\n\nlet tokenTypeCounter = -1;\nexport const tokenTypes: ExportedTokenType[] = [];\nconst tokenLabels: string[] = [];\nconst tokenBinops: number[] = [];\nconst tokenBeforeExprs: boolean[] = [];\nconst tokenStartsExprs: boolean[] = [];\nconst tokenPrefixes: boolean[] = [];\n\nfunction createToken(name: string, options: TokenOptions = {}): TokenType {\n ++tokenTypeCounter;\n tokenLabels.push(name);\n tokenBinops.push(options.binop ?? -1);\n tokenBeforeExprs.push(options.beforeExpr ?? false);\n tokenStartsExprs.push(options.startsExpr ?? false);\n tokenPrefixes.push(options.prefix ?? false);\n tokenTypes.push(new ExportedTokenType(name, options));\n\n return tokenTypeCounter;\n}\n\nfunction createKeywordLike(\n name: string,\n options: TokenOptions = {},\n): TokenType {\n ++tokenTypeCounter;\n keywords.set(name, tokenTypeCounter);\n tokenLabels.push(name);\n tokenBinops.push(options.binop ?? -1);\n tokenBeforeExprs.push(options.beforeExpr ?? false);\n tokenStartsExprs.push(options.startsExpr ?? false);\n tokenPrefixes.push(options.prefix ?? false);\n // In the exported token type, we set the label as \"name\" for backward compatibility with Babel 7\n tokenTypes.push(new ExportedTokenType(\"name\", options));\n\n return tokenTypeCounter;\n}\n\n// For performance the token type helpers depend on the following declarations order.\n// When adding new token types, please also check if the token helpers need update.\n\nexport const tt: { [name: string]: TokenType } = {\n // Punctuation token types.\n bracketL: createToken(\"[\", { beforeExpr, startsExpr }),\n bracketHashL: createToken(\"#[\", { beforeExpr, startsExpr }),\n bracketBarL: createToken(\"[|\", { beforeExpr, startsExpr }),\n bracketR: createToken(\"]\"),\n bracketBarR: createToken(\"|]\"),\n braceL: createToken(\"{\", { beforeExpr, startsExpr }),\n braceBarL: createToken(\"{|\", { beforeExpr, startsExpr }),\n braceHashL: createToken(\"#{\", { beforeExpr, startsExpr }),\n braceR: createToken(\"}\", { beforeExpr }),\n braceBarR: createToken(\"|}\"),\n parenL: createToken(\"(\", { beforeExpr, startsExpr }),\n parenR: createToken(\")\"),\n comma: createToken(\",\", { beforeExpr }),\n semi: createToken(\";\", { beforeExpr }),\n colon: createToken(\":\", { beforeExpr }),\n doubleColon: createToken(\"::\", { beforeExpr }),\n dot: createToken(\".\"),\n question: createToken(\"?\", { beforeExpr }),\n questionDot: createToken(\"?.\"),\n arrow: createToken(\"=>\", { beforeExpr }),\n template: createToken(\"template\"),\n ellipsis: createToken(\"...\", { beforeExpr }),\n backQuote: createToken(\"`\", { startsExpr }),\n dollarBraceL: createToken(\"${\", { beforeExpr, startsExpr }),\n // start: isTemplate\n templateTail: createToken(\"...`\", { startsExpr }),\n templateNonTail: createToken(\"...${\", { beforeExpr, startsExpr }),\n // end: isTemplate\n at: createToken(\"@\"),\n hash: createToken(\"#\", { startsExpr }),\n\n // Special hashbang token.\n interpreterDirective: createToken(\"#!...\"),\n\n // Operators. These carry several kinds of properties to help the\n // parser use them properly (the presence of these properties is\n // what categorizes them as operators).\n //\n // `binop`, when present, specifies that this operator is a binary\n // operator, and will refer to its precedence.\n //\n // `prefix` and `postfix` mark the operator as a prefix or postfix\n // unary operator.\n //\n // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as\n // binary operators with a very low precedence, that should result\n // in AssignmentExpression nodes.\n\n // start: isAssign\n eq: createToken(\"=\", { beforeExpr, isAssign }),\n assign: createToken(\"_=\", { beforeExpr, isAssign }),\n slashAssign: createToken(\"_=\", { beforeExpr, isAssign }),\n // These are only needed to support % and ^ as a Hack-pipe topic token. When the\n // proposal settles on a token, the others can be merged with tt.assign.\n xorAssign: createToken(\"_=\", { beforeExpr, isAssign }),\n moduloAssign: createToken(\"_=\", { beforeExpr, isAssign }),\n // end: isAssign\n\n incDec: createToken(\"++/--\", { prefix, postfix, startsExpr }),\n bang: createToken(\"!\", { beforeExpr, prefix, startsExpr }),\n tilde: createToken(\"~\", { beforeExpr, prefix, startsExpr }),\n // start: isBinop\n pipeline: createBinop(\"|>\", 0),\n nullishCoalescing: createBinop(\"??\", 1),\n logicalOR: createBinop(\"||\", 1),\n logicalAND: createBinop(\"&&\", 2),\n bitwiseOR: createBinop(\"|\", 3),\n bitwiseXOR: createBinop(\"^\", 4),\n bitwiseAND: createBinop(\"&\", 5),\n equality: createBinop(\"==/!=/===/!==\", 6),\n lt: createBinop(\"/<=/>=\", 7),\n gt: createBinop(\"/<=/>=\", 7),\n relational: createBinop(\"/<=/>=\", 7),\n bitShift: createBinop(\"<>/>>>\", 8),\n plusMin: createToken(\"+/-\", { beforeExpr, binop: 9, prefix, startsExpr }),\n // startsExpr: required by v8intrinsic plugin\n modulo: createToken(\"%\", { binop: 10, startsExpr }),\n // unset `beforeExpr` as it can be `function *`\n star: createToken(\"*\", { binop: 10 }),\n slash: createBinop(\"/\", 10),\n exponent: createToken(\"**\", {\n beforeExpr,\n binop: 11,\n rightAssociative: true,\n }),\n\n // Keywords\n // Don't forget to update packages/babel-helper-validator-identifier/src/keyword.js\n // when new keywords are added\n // start: isLiteralPropertyName\n // start: isKeyword\n _in: createKeyword(\"in\", { beforeExpr, binop: 7 }),\n _instanceof: createKeyword(\"instanceof\", { beforeExpr, binop: 7 }),\n // end: isBinop\n _break: createKeyword(\"break\"),\n _case: createKeyword(\"case\", { beforeExpr }),\n _catch: createKeyword(\"catch\"),\n _continue: createKeyword(\"continue\"),\n _debugger: createKeyword(\"debugger\"),\n _default: createKeyword(\"default\", { beforeExpr }),\n _else: createKeyword(\"else\", { beforeExpr }),\n _finally: createKeyword(\"finally\"),\n _function: createKeyword(\"function\", { startsExpr }),\n _if: createKeyword(\"if\"),\n _return: createKeyword(\"return\", { beforeExpr }),\n _switch: createKeyword(\"switch\"),\n _throw: createKeyword(\"throw\", { beforeExpr, prefix, startsExpr }),\n _try: createKeyword(\"try\"),\n _var: createKeyword(\"var\"),\n _const: createKeyword(\"const\"),\n _with: createKeyword(\"with\"),\n _new: createKeyword(\"new\", { beforeExpr, startsExpr }),\n _this: createKeyword(\"this\", { startsExpr }),\n _super: createKeyword(\"super\", { startsExpr }),\n _class: createKeyword(\"class\", { startsExpr }),\n _extends: createKeyword(\"extends\", { beforeExpr }),\n _export: createKeyword(\"export\"),\n _import: createKeyword(\"import\", { startsExpr }),\n _null: createKeyword(\"null\", { startsExpr }),\n _true: createKeyword(\"true\", { startsExpr }),\n _false: createKeyword(\"false\", { startsExpr }),\n _typeof: createKeyword(\"typeof\", { beforeExpr, prefix, startsExpr }),\n _void: createKeyword(\"void\", { beforeExpr, prefix, startsExpr }),\n _delete: createKeyword(\"delete\", { beforeExpr, prefix, startsExpr }),\n // start: isLoop\n _do: createKeyword(\"do\", { isLoop, beforeExpr }),\n _for: createKeyword(\"for\", { isLoop }),\n _while: createKeyword(\"while\", { isLoop }),\n // end: isLoop\n // end: isKeyword\n\n // Primary literals\n // start: isIdentifier\n _as: createKeywordLike(\"as\", { startsExpr }),\n _assert: createKeywordLike(\"assert\", { startsExpr }),\n _async: createKeywordLike(\"async\", { startsExpr }),\n _await: createKeywordLike(\"await\", { startsExpr }),\n _from: createKeywordLike(\"from\", { startsExpr }),\n _get: createKeywordLike(\"get\", { startsExpr }),\n _let: createKeywordLike(\"let\", { startsExpr }),\n _meta: createKeywordLike(\"meta\", { startsExpr }),\n _of: createKeywordLike(\"of\", { startsExpr }),\n _sent: createKeywordLike(\"sent\", { startsExpr }),\n _set: createKeywordLike(\"set\", { startsExpr }),\n _static: createKeywordLike(\"static\", { startsExpr }),\n _yield: createKeywordLike(\"yield\", { startsExpr }),\n\n // Flow and TypeScript Keywordlike\n _asserts: createKeywordLike(\"asserts\", { startsExpr }),\n _checks: createKeywordLike(\"checks\", { startsExpr }),\n _exports: createKeywordLike(\"exports\", { startsExpr }),\n _global: createKeywordLike(\"global\", { startsExpr }),\n _implements: createKeywordLike(\"implements\", { startsExpr }),\n _intrinsic: createKeywordLike(\"intrinsic\", { startsExpr }),\n _infer: createKeywordLike(\"infer\", { startsExpr }),\n _is: createKeywordLike(\"is\", { startsExpr }),\n _mixins: createKeywordLike(\"mixins\", { startsExpr }),\n _proto: createKeywordLike(\"proto\", { startsExpr }),\n _require: createKeywordLike(\"require\", { startsExpr }),\n // start: isTSTypeOperator\n _keyof: createKeywordLike(\"keyof\", { startsExpr }),\n _readonly: createKeywordLike(\"readonly\", { startsExpr }),\n _unique: createKeywordLike(\"unique\", { startsExpr }),\n // end: isTSTypeOperator\n // start: isTSDeclarationStart\n _abstract: createKeywordLike(\"abstract\", { startsExpr }),\n _declare: createKeywordLike(\"declare\", { startsExpr }),\n _enum: createKeywordLike(\"enum\", { startsExpr }),\n _module: createKeywordLike(\"module\", { startsExpr }),\n _namespace: createKeywordLike(\"namespace\", { startsExpr }),\n // start: isFlowInterfaceOrTypeOrOpaque\n _interface: createKeywordLike(\"interface\", { startsExpr }),\n _type: createKeywordLike(\"type\", { startsExpr }),\n // end: isTSDeclarationStart\n _opaque: createKeywordLike(\"opaque\", { startsExpr }),\n // end: isFlowInterfaceOrTypeOrOpaque\n name: createToken(\"name\", { startsExpr }),\n // end: isIdentifier\n\n string: createToken(\"string\", { startsExpr }),\n num: createToken(\"num\", { startsExpr }),\n bigint: createToken(\"bigint\", { startsExpr }),\n decimal: createToken(\"decimal\", { startsExpr }),\n // end: isLiteralPropertyName\n regexp: createToken(\"regexp\", { startsExpr }),\n privateName: createToken(\"#name\", { startsExpr }),\n eof: createToken(\"eof\"),\n\n // jsx plugin\n jsxName: createToken(\"jsxName\"),\n jsxText: createToken(\"jsxText\", { beforeExpr: true }),\n jsxTagStart: createToken(\"jsxTagStart\", { startsExpr: true }),\n jsxTagEnd: createToken(\"jsxTagEnd\"),\n\n // placeholder plugin\n placeholder: createToken(\"%%\", { startsExpr: true }),\n};\n\nexport function tokenIsIdentifier(token: TokenType): boolean {\n return token >= tt._as && token <= tt.name;\n}\n\nexport function tokenKeywordOrIdentifierIsKeyword(token: TokenType): boolean {\n // we can remove the token >= tt._in check when we\n // know a token is either keyword or identifier\n return token <= tt._while;\n}\n\nexport function tokenIsKeywordOrIdentifier(token: TokenType): boolean {\n return token >= tt._in && token <= tt.name;\n}\n\nexport function tokenIsLiteralPropertyName(token: TokenType): boolean {\n return token >= tt._in && token <= tt.decimal;\n}\n\nexport function tokenComesBeforeExpression(token: TokenType): boolean {\n return tokenBeforeExprs[token];\n}\n\nexport function tokenCanStartExpression(token: TokenType): boolean {\n return tokenStartsExprs[token];\n}\n\nexport function tokenIsAssignment(token: TokenType): boolean {\n return token >= tt.eq && token <= tt.moduloAssign;\n}\n\nexport function tokenIsFlowInterfaceOrTypeOrOpaque(token: TokenType): boolean {\n return token >= tt._interface && token <= tt._opaque;\n}\n\nexport function tokenIsLoop(token: TokenType): boolean {\n return token >= tt._do && token <= tt._while;\n}\n\nexport function tokenIsKeyword(token: TokenType): boolean {\n return token >= tt._in && token <= tt._while;\n}\n\nexport function tokenIsOperator(token: TokenType): boolean {\n return token >= tt.pipeline && token <= tt._instanceof;\n}\n\nexport function tokenIsPostfix(token: TokenType): boolean {\n return token === tt.incDec;\n}\n\nexport function tokenIsPrefix(token: TokenType): boolean {\n return tokenPrefixes[token];\n}\n\nexport function tokenIsTSTypeOperator(token: TokenType): boolean {\n return token >= tt._keyof && token <= tt._unique;\n}\n\nexport function tokenIsTSDeclarationStart(token: TokenType): boolean {\n return token >= tt._abstract && token <= tt._type;\n}\n\nexport function tokenLabelName(token: TokenType): string {\n return tokenLabels[token];\n}\n\nexport function tokenOperatorPrecedence(token: TokenType): number {\n return tokenBinops[token];\n}\n\nexport function tokenIsRightAssociative(token: TokenType): boolean {\n return token === tt.exponent;\n}\n\nexport function tokenIsTemplate(token: TokenType): boolean {\n return token >= tt.templateTail && token <= tt.templateNonTail;\n}\n\nexport function getExportedToken(token: TokenType): ExportedTokenType {\n return tokenTypes[token];\n}\n\nexport function isTokenType(obj: any): boolean {\n return typeof obj === \"number\";\n}\n\nif (!process.env.BABEL_8_BREAKING) {\n tokenTypes[tt.braceR].updateContext = context => {\n context.pop();\n };\n\n tokenTypes[tt.braceL].updateContext =\n tokenTypes[tt.braceHashL].updateContext =\n tokenTypes[tt.dollarBraceL].updateContext =\n context => {\n context.push(tc.brace);\n };\n\n tokenTypes[tt.backQuote].updateContext = context => {\n if (context[context.length - 1] === tc.template) {\n context.pop();\n } else {\n context.push(tc.template);\n }\n };\n\n tokenTypes[tt.jsxTagStart].updateContext = context => {\n context.push(tc.j_expr, tc.j_oTag);\n };\n}\n","import * as charCodes from \"charcodes\";\n\n// ## Character categories\n\n// Big ugly regular expressions that match characters in the\n// whitespace, identifier, and identifier-start categories. These\n// are only applied when a character is found to actually have a\n// code point between 0x80 and 0xffff.\n// Generated by `scripts/generate-identifier-regex.js`.\n\n/* prettier-ignore */\nlet nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u037f\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u052f\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05d0-\\u05ea\\u05ef-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086a\\u0870-\\u0887\\u0889-\\u088e\\u08a0-\\u08c9\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u09fc\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0af9\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c39\\u0c3d\\u0c58-\\u0c5a\\u0c5d\\u0c60\\u0c61\\u0c80\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cdd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d04-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d54-\\u0d56\\u0d5f-\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e86-\\u0e8a\\u0e8c-\\u0ea3\\u0ea5\\u0ea7-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f5\\u13f8-\\u13fd\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f8\\u1700-\\u1711\\u171f-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1878\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191e\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4c\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1c80-\\u1c88\\u1c90-\\u1cba\\u1cbd-\\u1cbf\\u1ce9-\\u1cec\\u1cee-\\u1cf3\\u1cf5\\u1cf6\\u1cfa\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2118-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309b-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u31a0-\\u31bf\\u31f0-\\u31ff\\u3400-\\u4dbf\\u4e00-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua69d\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua7ca\\ua7d0\\ua7d1\\ua7d3\\ua7d5-\\ua7d9\\ua7f2-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua8fd\\ua8fe\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\ua9e0-\\ua9e4\\ua9e6-\\ua9ef\\ua9fa-\\ua9fe\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa7e-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uab30-\\uab5a\\uab5c-\\uab69\\uab70-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\n/* prettier-ignore */\nlet nonASCIIidentifierChars = \"\\u200c\\u200d\\xb7\\u0300-\\u036f\\u0387\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u07fd\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u0898-\\u089f\\u08ca-\\u08e1\\u08e3-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u09fe\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0afa-\\u0aff\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b55-\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c00-\\u0c04\\u0c3c\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c81-\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d00-\\u0d03\\u0d3b\\u0d3c\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d81-\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0de6-\\u0def\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1369-\\u1371\\u1712-\\u1715\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u180f-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19d0-\\u19da\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1ab0-\\u1abd\\u1abf-\\u1ace\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf4\\u1cf7-\\u1cf9\\u1dc0-\\u1dff\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69e\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua82c\\ua880\\ua881\\ua8b4-\\ua8c5\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua8ff-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\ua9e5\\ua9f0-\\ua9f9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b-\\uaa7d\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe2f\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n\nconst nonASCIIidentifierStart = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + \"]\",\n);\nconst nonASCIIidentifier = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\",\n);\n\nnonASCIIidentifierStartChars = nonASCIIidentifierChars = null;\n\n// These are a run-length and offset-encoded representation of the\n// >0xffff code points that are a valid part of identifiers. The\n// offset starts at 0x10000, and each pair of numbers represents an\n// offset to the next range, and then a size of the range. They were\n// generated by `scripts/generate-identifier-regex.js`.\n/* prettier-ignore */\nconst astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];\n/* prettier-ignore */\nconst astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];\n\n// This has a complexity linear to the value of the code. The\n// assumption is that looking up astral identifier characters is\n// rare.\nfunction isInAstralSet(code: number, set: readonly number[]): boolean {\n let pos = 0x10000;\n for (let i = 0, length = set.length; i < length; i += 2) {\n pos += set[i];\n if (pos > code) return false;\n\n pos += set[i + 1];\n if (pos >= code) return true;\n }\n return false;\n}\n\n// Test whether a given character code starts an identifier.\n\nexport function isIdentifierStart(code: number): boolean {\n if (code < charCodes.uppercaseA) return code === charCodes.dollarSign;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return (\n code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code))\n );\n }\n return isInAstralSet(code, astralIdentifierStartCodes);\n}\n\n// Test whether a given character is part of an identifier.\n\nexport function isIdentifierChar(code: number): boolean {\n if (code < charCodes.digit0) return code === charCodes.dollarSign;\n if (code < charCodes.colon) return true;\n if (code < charCodes.uppercaseA) return false;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n }\n return (\n isInAstralSet(code, astralIdentifierStartCodes) ||\n isInAstralSet(code, astralIdentifierCodes)\n );\n}\n\n// Test whether a given string is a valid identifier name\n\nexport function isIdentifierName(name: string): boolean {\n let isFirst = true;\n for (let i = 0; i < name.length; i++) {\n // The implementation is based on\n // https://source.chromium.org/chromium/chromium/src/+/master:v8/src/builtins/builtins-string-gen.cc;l=1455;drc=221e331b49dfefadbc6fa40b0c68e6f97606d0b3;bpv=0;bpt=1\n // We reimplement `codePointAt` because `codePointAt` is a V8 builtin which is not inlined by TurboFan (as of M91)\n // since `name` is mostly ASCII, an inlined `charCodeAt` wins here\n let cp = name.charCodeAt(i);\n if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) {\n const trail = name.charCodeAt(++i);\n if ((trail & 0xfc00) === 0xdc00) {\n cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);\n }\n }\n if (isFirst) {\n isFirst = false;\n if (!isIdentifierStart(cp)) {\n return false;\n }\n } else if (!isIdentifierChar(cp)) {\n return false;\n }\n }\n return !isFirst;\n}\n","const reservedWords = {\n keyword: [\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"debugger\",\n \"default\",\n \"do\",\n \"else\",\n \"finally\",\n \"for\",\n \"function\",\n \"if\",\n \"return\",\n \"switch\",\n \"throw\",\n \"try\",\n \"var\",\n \"const\",\n \"while\",\n \"with\",\n \"new\",\n \"this\",\n \"super\",\n \"class\",\n \"extends\",\n \"export\",\n \"import\",\n \"null\",\n \"true\",\n \"false\",\n \"in\",\n \"instanceof\",\n \"typeof\",\n \"void\",\n \"delete\",\n ],\n strict: [\n \"implements\",\n \"interface\",\n \"let\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"static\",\n \"yield\",\n ],\n strictBind: [\"eval\", \"arguments\"],\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\n\n/**\n * Checks if word is a reserved word in non-strict mode\n */\nexport function isReservedWord(word: string, inModule: boolean): boolean {\n return (inModule && word === \"await\") || word === \"enum\";\n}\n\n/**\n * Checks if word is a reserved word in non-binding strict mode\n *\n * Includes non-strict reserved words\n */\nexport function isStrictReservedWord(word: string, inModule: boolean): boolean {\n return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode, but it is allowed as\n * a normal identifier.\n */\nexport function isStrictBindOnlyReservedWord(word: string): boolean {\n return reservedWordsStrictBindSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode\n *\n * Includes non-strict reserved words and non-binding strict reserved words\n */\nexport function isStrictBindReservedWord(\n word: string,\n inModule: boolean,\n): boolean {\n return (\n isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word)\n );\n}\n\nexport function isKeyword(word: string): boolean {\n return keywords.has(word);\n}\n","/* eslint max-len: 0 */\n\n// @flow\n\nimport * as charCodes from \"charcodes\";\n\nexport {\n isIdentifierStart,\n isIdentifierChar,\n isReservedWord,\n isStrictBindOnlyReservedWord,\n isStrictBindReservedWord,\n isStrictReservedWord,\n isKeyword,\n} from \"@babel/helper-validator-identifier\";\n\nexport const keywordRelationalOperator = /^in(stanceof)?$/;\n\n// Test whether a current state character code and next character code is @\n\nexport function isIteratorStart(current: number, next: number): boolean {\n return current === charCodes.atSign && next === charCodes.atSign;\n}\n\n// This is the comprehensive set of JavaScript reserved words\n// If a word is in this set, it could be a reserved word,\n// depending on sourceType/strictMode/binding info. In other words\n// if a word is not in this set, it is not a reserved word under\n// any circumstance.\nconst reservedWordLikeSet = new Set([\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"debugger\",\n \"default\",\n \"do\",\n \"else\",\n \"finally\",\n \"for\",\n \"function\",\n \"if\",\n \"return\",\n \"switch\",\n \"throw\",\n \"try\",\n \"var\",\n \"const\",\n \"while\",\n \"with\",\n \"new\",\n \"this\",\n \"super\",\n \"class\",\n \"extends\",\n \"export\",\n \"import\",\n \"null\",\n \"true\",\n \"false\",\n \"in\",\n \"instanceof\",\n \"typeof\",\n \"void\",\n \"delete\",\n // strict\n \"implements\",\n \"interface\",\n \"let\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"static\",\n \"yield\",\n // strictBind\n \"eval\",\n \"arguments\",\n // reservedWorkLike\n \"enum\",\n \"await\",\n]);\n\nexport function canBeReservedWord(word: string): boolean {\n return reservedWordLikeSet.has(word);\n}\n","// @flow\n\n// Each scope gets a bitset that may contain these flags\n// prettier-ignore\nexport const SCOPE_OTHER = 0b000000000,\n SCOPE_PROGRAM = 0b000000001,\n SCOPE_FUNCTION = 0b000000010,\n SCOPE_ARROW = 0b000000100,\n SCOPE_SIMPLE_CATCH = 0b000001000,\n SCOPE_SUPER = 0b000010000,\n SCOPE_DIRECT_SUPER = 0b000100000,\n SCOPE_CLASS = 0b001000000,\n SCOPE_STATIC_BLOCK = 0b010000000,\n SCOPE_TS_MODULE = 0b100000000,\n SCOPE_VAR = SCOPE_PROGRAM | SCOPE_FUNCTION | SCOPE_TS_MODULE;\n\nexport type ScopeFlags =\n | typeof SCOPE_OTHER\n | typeof SCOPE_PROGRAM\n | typeof SCOPE_FUNCTION\n | typeof SCOPE_VAR\n | typeof SCOPE_ARROW\n | typeof SCOPE_SIMPLE_CATCH\n | typeof SCOPE_SUPER\n | typeof SCOPE_DIRECT_SUPER\n | typeof SCOPE_CLASS\n | typeof SCOPE_STATIC_BLOCK;\n\n// These flags are meant to be _only_ used inside the Scope class (or subclasses).\n// prettier-ignore\nexport const BIND_KIND_VALUE = 0b000000_0000_01,\n BIND_KIND_TYPE = 0b000000_0000_10,\n // Used in checkLVal and declareName to determine the type of a binding\n BIND_SCOPE_VAR = 0b000000_0001_00, // Var-style binding\n BIND_SCOPE_LEXICAL = 0b000000_0010_00, // Let- or const-style binding\n BIND_SCOPE_FUNCTION = 0b000000_0100_00, // Function declaration\n BIND_SCOPE_OUTSIDE = 0b000000_1000_00, // Special case for function names as\n // bound inside the function\n // Misc flags\n BIND_FLAGS_NONE = 0b000001_0000_00,\n BIND_FLAGS_CLASS = 0b000010_0000_00,\n BIND_FLAGS_TS_ENUM = 0b000100_0000_00,\n BIND_FLAGS_TS_CONST_ENUM = 0b001000_0000_00,\n BIND_FLAGS_TS_EXPORT_ONLY = 0b010000_0000_00,\n BIND_FLAGS_FLOW_DECLARE_FN = 0b100000_0000_00;\n\n// These flags are meant to be _only_ used by Scope consumers\n// prettier-ignore\n/* = is value? | is type? | scope | misc flags */\nexport const BIND_CLASS = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_FLAGS_CLASS ,\n BIND_LEXICAL = BIND_KIND_VALUE | 0 | BIND_SCOPE_LEXICAL | 0 ,\n BIND_VAR = BIND_KIND_VALUE | 0 | BIND_SCOPE_VAR | 0 ,\n BIND_FUNCTION = BIND_KIND_VALUE | 0 | BIND_SCOPE_FUNCTION | 0 ,\n BIND_TS_INTERFACE = 0 | BIND_KIND_TYPE | 0 | BIND_FLAGS_CLASS ,\n BIND_TS_TYPE = 0 | BIND_KIND_TYPE | 0 | 0 ,\n BIND_TS_ENUM = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_FLAGS_TS_ENUM,\n BIND_TS_AMBIENT = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY,\n // These bindings don't introduce anything in the scope. They are used for assignments and\n // function expressions IDs.\n BIND_NONE = 0 | 0 | 0 | BIND_FLAGS_NONE ,\n BIND_OUTSIDE = BIND_KIND_VALUE | 0 | 0 | BIND_FLAGS_NONE ,\n\n BIND_TS_CONST_ENUM = BIND_TS_ENUM | BIND_FLAGS_TS_CONST_ENUM,\n BIND_TS_NAMESPACE = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY,\n\n BIND_FLOW_DECLARE_FN = BIND_FLAGS_FLOW_DECLARE_FN;\n\nexport type BindingTypes =\n | typeof BIND_NONE\n | typeof BIND_OUTSIDE\n | typeof BIND_VAR\n | typeof BIND_LEXICAL\n | typeof BIND_CLASS\n | typeof BIND_FUNCTION\n | typeof BIND_TS_INTERFACE\n | typeof BIND_TS_TYPE\n | typeof BIND_TS_ENUM\n | typeof BIND_TS_AMBIENT\n | typeof BIND_TS_NAMESPACE;\n\n// prettier-ignore\nexport const CLASS_ELEMENT_FLAG_STATIC = 0b1_00,\n CLASS_ELEMENT_KIND_GETTER = 0b0_10,\n CLASS_ELEMENT_KIND_SETTER = 0b0_01,\n CLASS_ELEMENT_KIND_ACCESSOR = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_KIND_SETTER;\n\n// prettier-ignore\nexport const CLASS_ELEMENT_STATIC_GETTER = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_FLAG_STATIC,\n CLASS_ELEMENT_STATIC_SETTER = CLASS_ELEMENT_KIND_SETTER | CLASS_ELEMENT_FLAG_STATIC,\n CLASS_ELEMENT_INSTANCE_GETTER = CLASS_ELEMENT_KIND_GETTER,\n CLASS_ELEMENT_INSTANCE_SETTER = CLASS_ELEMENT_KIND_SETTER,\n CLASS_ELEMENT_OTHER = 0;\n\nexport type ClassElementTypes =\n | typeof CLASS_ELEMENT_STATIC_GETTER\n | typeof CLASS_ELEMENT_STATIC_SETTER\n | typeof CLASS_ELEMENT_INSTANCE_GETTER\n | typeof CLASS_ELEMENT_INSTANCE_SETTER\n | typeof CLASS_ELEMENT_OTHER;\n","// @flow\nimport {\n SCOPE_ARROW,\n SCOPE_DIRECT_SUPER,\n SCOPE_FUNCTION,\n SCOPE_SIMPLE_CATCH,\n SCOPE_SUPER,\n SCOPE_PROGRAM,\n SCOPE_VAR,\n SCOPE_CLASS,\n SCOPE_STATIC_BLOCK,\n BIND_SCOPE_FUNCTION,\n BIND_SCOPE_VAR,\n BIND_SCOPE_LEXICAL,\n BIND_KIND_VALUE,\n type ScopeFlags,\n type BindingTypes,\n} from \"./scopeflags\";\nimport { Position } from \"./location\";\nimport * as N from \"../types\";\nimport { Errors, type raiseFunction } from \"../parser/error\";\n\n// Start an AST node, attaching a start offset.\nexport class Scope {\n declare flags: ScopeFlags;\n // A set of var-declared names in the current lexical scope\n var: Set = new Set();\n // A set of lexically-declared names in the current lexical scope\n lexical: Set = new Set();\n // A set of lexically-declared FunctionDeclaration names in the current lexical scope\n functions: Set = new Set();\n\n constructor(flags: ScopeFlags) {\n this.flags = flags;\n }\n}\n\n// The functions in this module keep track of declared variables in the\n// current scope in order to detect duplicate variable names.\nexport default class ScopeHandler {\n scopeStack: Array = [];\n declare raise: raiseFunction;\n declare inModule: boolean;\n undefinedExports: Map = new Map();\n\n constructor(raise: raiseFunction, inModule: boolean) {\n this.raise = raise;\n this.inModule = inModule;\n }\n\n get inFunction() {\n return (this.currentVarScopeFlags() & SCOPE_FUNCTION) > 0;\n }\n get allowSuper() {\n return (this.currentThisScopeFlags() & SCOPE_SUPER) > 0;\n }\n get allowDirectSuper() {\n return (this.currentThisScopeFlags() & SCOPE_DIRECT_SUPER) > 0;\n }\n get inClass() {\n return (this.currentThisScopeFlags() & SCOPE_CLASS) > 0;\n }\n get inClassAndNotInNonArrowFunction() {\n const flags = this.currentThisScopeFlags();\n return (flags & SCOPE_CLASS) > 0 && (flags & SCOPE_FUNCTION) === 0;\n }\n get inStaticBlock() {\n for (let i = this.scopeStack.length - 1; ; i--) {\n const { flags } = this.scopeStack[i];\n if (flags & SCOPE_STATIC_BLOCK) {\n return true;\n }\n if (flags & (SCOPE_VAR | SCOPE_CLASS)) {\n // function body, module body, class property initializers\n return false;\n }\n }\n }\n get inNonArrowFunction() {\n return (this.currentThisScopeFlags() & SCOPE_FUNCTION) > 0;\n }\n get treatFunctionsAsVar() {\n return this.treatFunctionsAsVarInScope(this.currentScope());\n }\n\n createScope(flags: ScopeFlags): Scope {\n return new Scope(flags);\n }\n // This method will be overwritten by subclasses\n /*:: +createScope: (flags: ScopeFlags) => IScope; */\n\n enter(flags: ScopeFlags) {\n this.scopeStack.push(this.createScope(flags));\n }\n\n exit() {\n this.scopeStack.pop();\n }\n\n // The spec says:\n // > At the top level of a function, or script, function declarations are\n // > treated like var declarations rather than like lexical declarations.\n treatFunctionsAsVarInScope(scope: IScope): boolean {\n return !!(\n scope.flags & SCOPE_FUNCTION ||\n (!this.inModule && scope.flags & SCOPE_PROGRAM)\n );\n }\n\n declareName(name: string, bindingType: BindingTypes, loc: Position) {\n let scope = this.currentScope();\n if (bindingType & BIND_SCOPE_LEXICAL || bindingType & BIND_SCOPE_FUNCTION) {\n this.checkRedeclarationInScope(scope, name, bindingType, loc);\n\n if (bindingType & BIND_SCOPE_FUNCTION) {\n scope.functions.add(name);\n } else {\n scope.lexical.add(name);\n }\n\n if (bindingType & BIND_SCOPE_LEXICAL) {\n this.maybeExportDefined(scope, name);\n }\n } else if (bindingType & BIND_SCOPE_VAR) {\n for (let i = this.scopeStack.length - 1; i >= 0; --i) {\n scope = this.scopeStack[i];\n this.checkRedeclarationInScope(scope, name, bindingType, loc);\n scope.var.add(name);\n this.maybeExportDefined(scope, name);\n\n if (scope.flags & SCOPE_VAR) break;\n }\n }\n if (this.inModule && scope.flags & SCOPE_PROGRAM) {\n this.undefinedExports.delete(name);\n }\n }\n\n maybeExportDefined(scope: IScope, name: string) {\n if (this.inModule && scope.flags & SCOPE_PROGRAM) {\n this.undefinedExports.delete(name);\n }\n }\n\n checkRedeclarationInScope(\n scope: IScope,\n name: string,\n bindingType: BindingTypes,\n loc: Position,\n ) {\n if (this.isRedeclaredInScope(scope, name, bindingType)) {\n this.raise(Errors.VarRedeclaration, { at: loc }, name);\n }\n }\n\n isRedeclaredInScope(\n scope: IScope,\n name: string,\n bindingType: BindingTypes,\n ): boolean {\n if (!(bindingType & BIND_KIND_VALUE)) return false;\n\n if (bindingType & BIND_SCOPE_LEXICAL) {\n return (\n scope.lexical.has(name) ||\n scope.functions.has(name) ||\n scope.var.has(name)\n );\n }\n\n if (bindingType & BIND_SCOPE_FUNCTION) {\n return (\n scope.lexical.has(name) ||\n (!this.treatFunctionsAsVarInScope(scope) && scope.var.has(name))\n );\n }\n\n return (\n (scope.lexical.has(name) &&\n !(\n scope.flags & SCOPE_SIMPLE_CATCH &&\n scope.lexical.values().next().value === name\n )) ||\n (!this.treatFunctionsAsVarInScope(scope) && scope.functions.has(name))\n );\n }\n\n checkLocalExport(id: N.Identifier) {\n const { name } = id;\n const topLevelScope = this.scopeStack[0];\n if (\n !topLevelScope.lexical.has(name) &&\n !topLevelScope.var.has(name) &&\n // In strict mode, scope.functions will always be empty.\n // Modules are strict by default, but the `scriptMode` option\n // can overwrite this behavior.\n !topLevelScope.functions.has(name)\n ) {\n this.undefinedExports.set(name, id.loc.start);\n }\n }\n\n currentScope(): IScope {\n return this.scopeStack[this.scopeStack.length - 1];\n }\n\n // $FlowIgnore\n currentVarScopeFlags(): ScopeFlags {\n for (let i = this.scopeStack.length - 1; ; i--) {\n const { flags } = this.scopeStack[i];\n if (flags & SCOPE_VAR) {\n return flags;\n }\n }\n }\n\n // Could be useful for `arguments`, `this`, `new.target`, `super()`, `super.property`, and `super[property]`.\n // $FlowIgnore\n currentThisScopeFlags(): ScopeFlags {\n for (let i = this.scopeStack.length - 1; ; i--) {\n const { flags } = this.scopeStack[i];\n if (flags & (SCOPE_VAR | SCOPE_CLASS) && !(flags & SCOPE_ARROW)) {\n return flags;\n }\n }\n }\n}\n","// @flow\n\nimport { Position } from \"../../util/location\";\nimport ScopeHandler, { Scope } from \"../../util/scope\";\nimport {\n BIND_FLAGS_FLOW_DECLARE_FN,\n type ScopeFlags,\n type BindingTypes,\n} from \"../../util/scopeflags\";\nimport * as N from \"../../types\";\n\n// Reference implementation: https://github.com/facebook/flow/blob/23aeb2a2ef6eb4241ce178fde5d8f17c5f747fb5/src/typing/env.ml#L536-L584\nclass FlowScope extends Scope {\n // declare function foo(): type;\n declareFunctions: Set = new Set();\n}\n\nexport default class FlowScopeHandler extends ScopeHandler {\n createScope(flags: ScopeFlags): FlowScope {\n return new FlowScope(flags);\n }\n\n declareName(name: string, bindingType: BindingTypes, loc: Position) {\n const scope = this.currentScope();\n if (bindingType & BIND_FLAGS_FLOW_DECLARE_FN) {\n this.checkRedeclarationInScope(scope, name, bindingType, loc);\n this.maybeExportDefined(scope, name);\n scope.declareFunctions.add(name);\n return;\n }\n\n super.declareName(...arguments);\n }\n\n isRedeclaredInScope(\n scope: FlowScope,\n name: string,\n bindingType: BindingTypes,\n ): boolean {\n if (super.isRedeclaredInScope(...arguments)) return true;\n\n if (bindingType & BIND_FLAGS_FLOW_DECLARE_FN) {\n return (\n !scope.declareFunctions.has(name) &&\n (scope.lexical.has(name) || scope.functions.has(name))\n );\n }\n\n return false;\n }\n\n checkLocalExport(id: N.Identifier) {\n if (!this.scopeStack[0].declareFunctions.has(id.name)) {\n super.checkLocalExport(id);\n }\n }\n}\n","// @flow\n\nimport * as charCodes from \"charcodes\";\n\n// Matches a whole line break (where CRLF is considered a single\n// line break). Used to count lines.\nexport const lineBreak = /\\r\\n?|[\\n\\u2028\\u2029]/;\nexport const lineBreakG = new RegExp(lineBreak.source, \"g\");\n\n// https://tc39.github.io/ecma262/#sec-line-terminators\nexport function isNewLine(code: number): boolean {\n switch (code) {\n case charCodes.lineFeed:\n case charCodes.carriageReturn:\n case charCodes.lineSeparator:\n case charCodes.paragraphSeparator:\n return true;\n\n default:\n return false;\n }\n}\n\nexport const skipWhiteSpace = /(?:\\s|\\/\\/.*|\\/\\*[^]*?\\*\\/)*/g;\n\nexport const skipWhiteSpaceInLine =\n /(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*/y;\n\n// Skip whitespace and single-line comments, including /* no newline here */.\n// After this RegExp matches, its lastIndex points to a line terminator, or\n// the start of multi-line comment (which is effectively a line terminator),\n// or the end of string.\nexport const skipWhiteSpaceToLineBreak = new RegExp(\n // Unfortunately JS doesn't support Perl's atomic /(?>pattern)/ or\n // possessive quantifiers, so we use a trick to prevent backtracking\n // when the look-ahead for line terminator fails.\n \"(?=(\" +\n // Capture the whitespace and comments that should be skipped inside\n // a look-ahead assertion, and then re-match the group as a unit.\n skipWhiteSpaceInLine.source +\n \"))\\\\1\" +\n // Look-ahead for either line terminator, start of multi-line comment,\n // or end of string.\n /(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)/.source,\n \"y\", // sticky\n);\n\n// https://tc39.github.io/ecma262/#sec-white-space\nexport function isWhitespace(code: number): boolean {\n switch (code) {\n case 0x0009: // CHARACTER TABULATION\n case 0x000b: // LINE TABULATION\n case 0x000c: // FORM FEED\n case charCodes.space:\n case charCodes.nonBreakingSpace:\n case charCodes.oghamSpaceMark:\n case 0x2000: // EN QUAD\n case 0x2001: // EM QUAD\n case 0x2002: // EN SPACE\n case 0x2003: // EM SPACE\n case 0x2004: // THREE-PER-EM SPACE\n case 0x2005: // FOUR-PER-EM SPACE\n case 0x2006: // SIX-PER-EM SPACE\n case 0x2007: // FIGURE SPACE\n case 0x2008: // PUNCTUATION SPACE\n case 0x2009: // THIN SPACE\n case 0x200a: // HAIR SPACE\n case 0x202f: // NARROW NO-BREAK SPACE\n case 0x205f: // MEDIUM MATHEMATICAL SPACE\n case 0x3000: // IDEOGRAPHIC SPACE\n case 0xfeff: // ZERO WIDTH NO-BREAK SPACE\n return true;\n\n default:\n return false;\n }\n}\n","// @flow\n\nimport type { Options } from \"../options\";\nimport * as N from \"../types\";\nimport type { CommentWhitespace } from \"../parser/comments\";\nimport { Position } from \"../util/location\";\n\nimport { types as ct, type TokContext } from \"./context\";\nimport { tt, type TokenType } from \"./types\";\nimport type { ErrorData, ParsingError } from \"../parser/error\";\n\ntype TopicContextState = {\n // When a topic binding has been currently established,\n // then this is 1. Otherwise, it is 0. This is forwards compatible\n // with a future plugin for multiple lexical topics.\n maxNumOfResolvableTopics: number,\n\n // When a topic binding has been currently established, and if that binding\n // has been used as a topic reference `#`, then this is 0. Otherwise, it is\n // `null`. This is forwards compatible with a future plugin for multiple\n // lexical topics.\n maxTopicIndex: null | 0,\n};\n\nexport default class State {\n strict: boolean;\n curLine: number;\n lineStart: number;\n\n // And, if locations are used, the {line, column} object\n // corresponding to those offsets\n startLoc: Position;\n endLoc: Position;\n\n init({ strictMode, sourceType, startLine, startColumn }: Options): void {\n this.strict =\n strictMode === false\n ? false\n : strictMode === true\n ? true\n : sourceType === \"module\";\n\n this.curLine = startLine;\n this.lineStart = -startColumn;\n this.startLoc = this.endLoc = new Position(startLine, startColumn, 0);\n }\n\n errors: ParsingError[] = [];\n\n // Used to signify the start of a potential arrow function\n potentialArrowAt: number = -1;\n\n // Used to signify the start of an expression which looks like a\n // typed arrow function, but it isn't\n // e.g. a ? (b) : c => d\n // ^\n noArrowAt: number[] = [];\n\n // Used to signify the start of an expression whose params, if it looks like\n // an arrow function, shouldn't be converted to assignable nodes.\n // This is used to defer the validation of typed arrow functions inside\n // conditional expressions.\n // e.g. a ? (b) : c => d\n // ^\n noArrowParamsConversionAt: number[] = [];\n\n // Flags to track\n maybeInArrowParameters: boolean = false;\n inType: boolean = false;\n noAnonFunctionType: boolean = false;\n hasFlowComment: boolean = false;\n isAmbientContext: boolean = false;\n inAbstractClass: boolean = false;\n\n // For the Hack-style pipelines plugin\n topicContext: TopicContextState = {\n maxNumOfResolvableTopics: 0,\n maxTopicIndex: null,\n };\n\n // For the F#-style pipelines plugin\n soloAwait: boolean = false;\n inFSharpPipelineDirectBody: boolean = false;\n\n // Labels in scope.\n labels: Array<{\n kind: ?(\"loop\" | \"switch\"),\n name?: ?string,\n statementStart?: number,\n }> = [];\n\n // Leading decorators. Last element of the stack represents the decorators in current context.\n // Supports nesting of decorators, e.g. @foo(@bar class inner {}) class outer {}\n // where @foo belongs to the outer class and @bar to the inner\n decoratorStack: Array> = [[]];\n\n // Comment store for Program.comments\n comments: Array = [];\n\n // Comment attachment store\n commentStack: Array = [];\n\n // The current position of the tokenizer in the input.\n pos: number = 0;\n\n // Properties of the current token:\n // Its type\n type: TokenType = tt.eof;\n\n // For tokens that include more information than their type, the value\n value: any = null;\n\n // Its start and end offset\n start: number = 0;\n end: number = 0;\n\n // Position information for the previous token\n // $FlowIgnore this is initialized when generating the second token.\n lastTokEndLoc: Position = null;\n // $FlowIgnore this is initialized when generating the second token.\n lastTokStartLoc: Position = null;\n lastTokStart: number = 0;\n\n // The context stack is used to track whether the apostrophe \"`\" starts\n // or ends a string template\n context: Array = [ct.brace];\n // Used to track whether a JSX element is allowed to form\n canStartJSXElement: boolean = true;\n\n // Used to signal to callers of `readWord1` whether the word\n // contained any escape sequences. This is needed because words with\n // escape sequences must not be interpreted as keywords.\n containsEsc: boolean = false;\n\n // This property is used to track the following errors\n // - StrictNumericEscape\n // - StrictOctalLiteral\n //\n // in a literal that occurs prior to/immediately after a \"use strict\" directive.\n\n // todo(JLHwung): set strictErrors to null and avoid recording string errors\n // after a non-directive is parsed\n strictErrors: Map = new Map();\n\n // Tokens length in token store\n tokensLength: number = 0;\n\n curPosition(): Position {\n return new Position(this.curLine, this.pos - this.lineStart, this.pos);\n }\n\n clone(skipArrays?: boolean): State {\n const state = new State();\n const keys = Object.keys(this);\n for (let i = 0, length = keys.length; i < length; i++) {\n const key = keys[i];\n // $FlowIgnore\n let val = this[key];\n\n if (!skipArrays && Array.isArray(val)) {\n val = val.slice();\n }\n\n // $FlowIgnore\n state[key] = val;\n }\n\n return state;\n }\n}\n\nexport type LookaheadState = {\n pos: number,\n value: any,\n type: TokenType,\n start: number,\n end: number,\n /* Used only in readToken_mult_modulo */\n inType: boolean,\n};\n","// @flow\n\n/*:: declare var invariant; */\n\nimport type { Options } from \"../options\";\nimport {\n indexes,\n Position,\n createPositionWithColumnOffset,\n} from \"../util/location\";\nimport * as N from \"../types\";\nimport * as charCodes from \"charcodes\";\nimport { isIdentifierStart, isIdentifierChar } from \"../util/identifier\";\nimport {\n tokenIsKeyword,\n tokenLabelName,\n tt,\n keywords as keywordTypes,\n type TokenType,\n} from \"./types\";\nimport { type TokContext } from \"./context\";\nimport ParserErrors, { Errors, type ErrorTemplate } from \"../parser/error\";\nimport { SourceLocation } from \"../util/location\";\nimport {\n lineBreakG,\n isNewLine,\n isWhitespace,\n skipWhiteSpace,\n} from \"../util/whitespace\";\nimport State from \"./state\";\nimport type { LookaheadState } from \"./state\";\n\nconst VALID_REGEX_FLAGS = new Set([\n charCodes.lowercaseG,\n charCodes.lowercaseM,\n charCodes.lowercaseS,\n charCodes.lowercaseI,\n charCodes.lowercaseY,\n charCodes.lowercaseU,\n charCodes.lowercaseD,\n]);\n\n// The following character codes are forbidden from being\n// an immediate sibling of NumericLiteralSeparator _\n\nconst forbiddenNumericSeparatorSiblings = {\n decBinOct: [\n charCodes.dot,\n charCodes.uppercaseB,\n charCodes.uppercaseE,\n charCodes.uppercaseO,\n charCodes.underscore, // multiple separators are not allowed\n charCodes.lowercaseB,\n charCodes.lowercaseE,\n charCodes.lowercaseO,\n ],\n hex: [\n charCodes.dot,\n charCodes.uppercaseX,\n charCodes.underscore, // multiple separators are not allowed\n charCodes.lowercaseX,\n ],\n};\n\nconst allowedNumericSeparatorSiblings = {};\nallowedNumericSeparatorSiblings.bin = [\n // 0 - 1\n charCodes.digit0,\n charCodes.digit1,\n];\nallowedNumericSeparatorSiblings.oct = [\n // 0 - 7\n ...allowedNumericSeparatorSiblings.bin,\n\n charCodes.digit2,\n charCodes.digit3,\n charCodes.digit4,\n charCodes.digit5,\n charCodes.digit6,\n charCodes.digit7,\n];\nallowedNumericSeparatorSiblings.dec = [\n // 0 - 9\n ...allowedNumericSeparatorSiblings.oct,\n\n charCodes.digit8,\n charCodes.digit9,\n];\n\nallowedNumericSeparatorSiblings.hex = [\n // 0 - 9, A - F, a - f,\n ...allowedNumericSeparatorSiblings.dec,\n\n charCodes.uppercaseA,\n charCodes.uppercaseB,\n charCodes.uppercaseC,\n charCodes.uppercaseD,\n charCodes.uppercaseE,\n charCodes.uppercaseF,\n\n charCodes.lowercaseA,\n charCodes.lowercaseB,\n charCodes.lowercaseC,\n charCodes.lowercaseD,\n charCodes.lowercaseE,\n charCodes.lowercaseF,\n];\n\n// Object type used to represent tokens. Note that normally, tokens\n// simply exist as properties on the parser object. This is only\n// used for the onToken callback and the external tokenizer.\n\nexport class Token {\n constructor(state: State) {\n this.type = state.type;\n this.value = state.value;\n this.start = state.start;\n this.end = state.end;\n this.loc = new SourceLocation(state.startLoc, state.endLoc);\n }\n\n declare type: TokenType;\n declare value: any;\n declare start: number;\n declare end: number;\n declare loc: SourceLocation;\n}\n\n// ## Tokenizer\n\nexport default class Tokenizer extends ParserErrors {\n // Forward-declarations\n // parser/util.js\n /*::\n +hasPrecedingLineBreak: () => boolean;\n +unexpected: (loc?: ?Position, type?: TokenType) => empty;\n +expectPlugin: (name: string, loc?: Position) => true;\n */\n\n isLookahead: boolean;\n\n // Token store.\n tokens: Array = [];\n\n constructor(options: Options, input: string) {\n super();\n this.state = new State();\n this.state.init(options);\n this.input = input;\n this.length = input.length;\n this.isLookahead = false;\n }\n\n pushToken(token: Token | N.Comment) {\n // Pop out invalid tokens trapped by try-catch parsing.\n // Those parsing branches are mainly created by typescript and flow plugins.\n this.tokens.length = this.state.tokensLength;\n this.tokens.push(token);\n ++this.state.tokensLength;\n }\n\n // Move to the next token\n\n next(): void {\n this.checkKeywordEscapes();\n if (this.options.tokens) {\n this.pushToken(new Token(this.state));\n }\n\n this.state.lastTokStart = this.state.start;\n this.state.lastTokEndLoc = this.state.endLoc;\n this.state.lastTokStartLoc = this.state.startLoc;\n this.nextToken();\n }\n\n // TODO\n\n eat(type: TokenType): boolean {\n if (this.match(type)) {\n this.next();\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * Whether current token matches given type\n *\n * @param {TokenType} type\n * @returns {boolean}\n * @memberof Tokenizer\n */\n match(type: TokenType): boolean {\n return this.state.type === type;\n }\n\n /**\n * Create a LookaheadState from current parser state\n *\n * @param {State} state\n * @returns {LookaheadState}\n * @memberof Tokenizer\n */\n createLookaheadState(state: State): LookaheadState {\n return {\n pos: state.pos,\n value: null,\n type: state.type,\n start: state.start,\n end: state.end,\n context: [this.curContext()],\n inType: state.inType,\n startLoc: state.startLoc,\n lastTokEndLoc: state.lastTokEndLoc,\n curLine: state.curLine,\n lineStart: state.lineStart,\n curPosition: state.curPosition,\n };\n }\n\n /**\n * lookahead peeks the next token, skipping changes to token context and\n * comment stack. For performance it returns a limited LookaheadState\n * instead of full parser state.\n *\n * The { column, line } Loc info is not included in lookahead since such usage\n * is rare. Although it may return other location properties e.g. `curLine` and\n * `lineStart`, these properties are not listed in the LookaheadState interface\n * and thus the returned value is _NOT_ reliable.\n *\n * The tokenizer should make best efforts to avoid using any parser state\n * other than those defined in LookaheadState\n *\n * @returns {LookaheadState}\n * @memberof Tokenizer\n */\n lookahead(): LookaheadState {\n const old = this.state;\n // For performance we use a simpified tokenizer state structure\n // $FlowIgnore\n this.state = this.createLookaheadState(old);\n\n this.isLookahead = true;\n this.nextToken();\n this.isLookahead = false;\n\n const curr = this.state;\n this.state = old;\n return curr;\n }\n\n nextTokenStart(): number {\n return this.nextTokenStartSince(this.state.pos);\n }\n\n nextTokenStartSince(pos: number): number {\n skipWhiteSpace.lastIndex = pos;\n return skipWhiteSpace.test(this.input) ? skipWhiteSpace.lastIndex : pos;\n }\n\n lookaheadCharCode(): number {\n return this.input.charCodeAt(this.nextTokenStart());\n }\n\n codePointAtPos(pos: number): number {\n // The implementation is based on\n // https://source.chromium.org/chromium/chromium/src/+/master:v8/src/builtins/builtins-string-gen.cc;l=1455;drc=221e331b49dfefadbc6fa40b0c68e6f97606d0b3;bpv=0;bpt=1\n // We reimplement `codePointAt` because `codePointAt` is a V8 builtin which is not inlined by TurboFan (as of M91)\n // since `input` is mostly ASCII, an inlined `charCodeAt` wins here\n let cp = this.input.charCodeAt(pos);\n if ((cp & 0xfc00) === 0xd800 && ++pos < this.input.length) {\n const trail = this.input.charCodeAt(pos);\n if ((trail & 0xfc00) === 0xdc00) {\n cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff);\n }\n }\n return cp;\n }\n\n // Toggle strict mode. Re-reads the next number or string to please\n // pedantic tests (`\"use strict\"; 010;` should fail).\n\n setStrict(strict: boolean): void {\n this.state.strict = strict;\n if (strict) {\n // Throw an error for any string decimal escape found before/immediately\n // after a \"use strict\" directive. Strict mode will be set at parse\n // time for any literals that occur after the next node of the strict\n // directive.\n this.state.strictErrors.forEach(({ message, loc }) =>\n /* eslint-disable @babel/development-internal/dry-error-messages */\n this.raise(message, { at: loc }),\n );\n this.state.strictErrors.clear();\n }\n }\n\n curContext(): TokContext {\n return this.state.context[this.state.context.length - 1];\n }\n\n // Read a single token, updating the parser object's token-related\n // properties.\n\n nextToken(): void {\n this.skipSpace();\n this.state.start = this.state.pos;\n if (!this.isLookahead) this.state.startLoc = this.state.curPosition();\n if (this.state.pos >= this.length) {\n this.finishToken(tt.eof);\n return;\n }\n\n this.getTokenFromCode(this.codePointAtPos(this.state.pos));\n }\n\n skipBlockComment(): N.CommentBlock | void {\n let startLoc;\n if (!this.isLookahead) startLoc = this.state.curPosition();\n const start = this.state.pos;\n const end = this.input.indexOf(\"*/\", start + 2);\n if (end === -1) {\n // We have to call this again here because startLoc may not be set...\n // This seems to be for performance reasons:\n // https://github.com/babel/babel/commit/acf2a10899f696a8aaf34df78bf9725b5ea7f2da\n throw this.raise(Errors.UnterminatedComment, {\n at: this.state.curPosition(),\n });\n }\n\n this.state.pos = end + 2;\n lineBreakG.lastIndex = start + 2;\n while (lineBreakG.test(this.input) && lineBreakG.lastIndex <= end) {\n ++this.state.curLine;\n this.state.lineStart = lineBreakG.lastIndex;\n }\n\n // If we are doing a lookahead right now we need to advance the position (above code)\n // but we do not want to push the comment to the state.\n if (this.isLookahead) return;\n /*:: invariant(startLoc) */\n\n const comment = {\n type: \"CommentBlock\",\n value: this.input.slice(start + 2, end),\n start,\n end: end + 2,\n loc: new SourceLocation(startLoc, this.state.curPosition()),\n };\n if (this.options.tokens) this.pushToken(comment);\n return comment;\n }\n\n skipLineComment(startSkip: number): N.CommentLine | void {\n const start = this.state.pos;\n let startLoc;\n if (!this.isLookahead) startLoc = this.state.curPosition();\n let ch = this.input.charCodeAt((this.state.pos += startSkip));\n if (this.state.pos < this.length) {\n while (!isNewLine(ch) && ++this.state.pos < this.length) {\n ch = this.input.charCodeAt(this.state.pos);\n }\n }\n\n // If we are doing a lookahead right now we need to advance the position (above code)\n // but we do not want to push the comment to the state.\n if (this.isLookahead) return;\n /*:: invariant(startLoc) */\n\n const end = this.state.pos;\n const value = this.input.slice(start + startSkip, end);\n\n const comment = {\n type: \"CommentLine\",\n value,\n start,\n end,\n loc: new SourceLocation(startLoc, this.state.curPosition()),\n };\n if (this.options.tokens) this.pushToken(comment);\n return comment;\n }\n\n // Called at the start of the parse and after every token. Skips\n // whitespace and comments, and.\n\n skipSpace(): void {\n const spaceStart = this.state.pos;\n const comments = [];\n loop: while (this.state.pos < this.length) {\n const ch = this.input.charCodeAt(this.state.pos);\n switch (ch) {\n case charCodes.space:\n case charCodes.nonBreakingSpace:\n case charCodes.tab:\n ++this.state.pos;\n break;\n case charCodes.carriageReturn:\n if (\n this.input.charCodeAt(this.state.pos + 1) === charCodes.lineFeed\n ) {\n ++this.state.pos;\n }\n // fall through\n case charCodes.lineFeed:\n case charCodes.lineSeparator:\n case charCodes.paragraphSeparator:\n ++this.state.pos;\n ++this.state.curLine;\n this.state.lineStart = this.state.pos;\n break;\n\n case charCodes.slash:\n switch (this.input.charCodeAt(this.state.pos + 1)) {\n case charCodes.asterisk: {\n const comment = this.skipBlockComment();\n if (comment !== undefined) {\n this.addComment(comment);\n if (this.options.attachComment) comments.push(comment);\n }\n break;\n }\n\n case charCodes.slash: {\n const comment = this.skipLineComment(2);\n if (comment !== undefined) {\n this.addComment(comment);\n if (this.options.attachComment) comments.push(comment);\n }\n break;\n }\n\n default:\n break loop;\n }\n break;\n\n default:\n if (isWhitespace(ch)) {\n ++this.state.pos;\n } else if (ch === charCodes.dash && !this.inModule) {\n const pos = this.state.pos;\n if (\n this.input.charCodeAt(pos + 1) === charCodes.dash &&\n this.input.charCodeAt(pos + 2) === charCodes.greaterThan &&\n (spaceStart === 0 || this.state.lineStart > spaceStart)\n ) {\n // A `-->` line comment\n const comment = this.skipLineComment(3);\n if (comment !== undefined) {\n this.addComment(comment);\n if (this.options.attachComment) comments.push(comment);\n }\n } else {\n break loop;\n }\n } else if (ch === charCodes.lessThan && !this.inModule) {\n const pos = this.state.pos;\n if (\n this.input.charCodeAt(pos + 1) === charCodes.exclamationMark &&\n this.input.charCodeAt(pos + 2) === charCodes.dash &&\n this.input.charCodeAt(pos + 3) === charCodes.dash\n ) {\n // `` line comment\n const comment = this.skipLineComment(3);\n if (comment !== undefined) {\n this.addComment(comment);\n if (this.options.attachComment) comments.push(comment);\n }\n } else {\n break loop;\n }\n } else if (ch === charCodes.lessThan && !this.inModule) {\n const pos = this.state.pos;\n if (\n this.input.charCodeAt(pos + 1) === charCodes.exclamationMark &&\n this.input.charCodeAt(pos + 2) === charCodes.dash &&\n this.input.charCodeAt(pos + 3) === charCodes.dash\n ) {\n // `S>`z`z|@SWJ|*rYXF_j~cJV`bslfj04- zH5|?N9t->+zPE~RX3yo?KZ-VMLQm;EKKV)f;3(@{IksK==;)g$-Jt#~ezNN6FT&3; z{}Szv{T6=e{zd$3O=woXa_tWBFGpDeOZ`>+;wUR&ss9!oj`kVOG(RE+-+}BR= zZ%0`h%dx+U-yCIyEcHL4)2gR$2+te*A%3@puQjLkjO-Hsag-&qT>nq;hodZp> zIm-H4s*wLU$|_r`#GKKYGiE}w)|RRy=AgG{L0NH2#RYm+J$(?q=D|5ssjLb8x^U_F4xbNSyr*{3qK?Fm;I~>&5~S>%#qoSvM`rAK=yZ(<+)TX za~x%nE;UyUaFnIG)PYhv%7R_$Aen0wKf%GYJUP&@C#KT|%R$zJ{=WAoI7H@I#j#76 zYN#A+O=#Bga{Xa)h*g{o3O~;bmqV@LqJjQB_h^J1X4TUNOyt@lC4Sq?{+xF0-TEjw z!YZEA;a+C69BEBx7W;DjF>;inEcvC5m7}eC`tfk@Gfs}NCN!&mIdZ%l>nLl0sT1Tl zt2j#En>JC7wpEOr0zzI?B>u>J&N2s;7_MgBFvMt>Ig%-p`ZU$SGDm zz3xnooGN3Eof_ISxs5fUSvAa&zMSePYlo@RLR(oQ5GXp7t4i?vLuiuSDC%J>8tZ?So zo#l>>vd)>hi`>akRy$L7l{;JY^hwKTyUAS~J0U#pzPsGj8mU1T;#?k)FpY|#m{HF7VoJa4pr`NO=uQQQxB2{ILh*A>cR3rM_EKo zT`Lc=>gjp&X@|&zt>KZoxo6~|a;>AM#e4KHd5EK|t>!HpE)TVebKAIh7iUuCVb+9Z znKkuDdAL6P99-RXjWWPkCI1P#a=##wqCBYhW%mhC#Iw2QI4_%n`4iW>m6kw zHuYF}v{mFkh<2Pj#v0x`#`laoULI=|$Fkvh&=cfw)`VtxHrGE<9&gptOM1?t$`h<% z-`jhXd9pmws;B$x$+b_BCt1T~U#Xt-r^=HZW$8A@o+eMR>gglG?>|qMr&<%5RoonT zhCI!xr*~XI+aOQ3CNvAWsT<`PjIHI>qo4PFTT&>`ca*i^9DAX>z)@C+Q!kQ*Ry{p^9_?azp<_RsM~lmgtl_HL z@L~s?N0k>l%DQomy+p z9bMY{-gm7`I?5V!j=fG^V-=V1;rbAqPnFj?b{#HB$JtbQoi(9ZlTN)smRQB7>G0>W zSzd1qXLx&GEv51XM_HuK^>37$9c8IH^(I+r)zbyxC(WDXjn;%_)jCI}t>H6e@5qPb z16Dn~?KIwIm3+{#mEnDVSUzM8pOOdlZ08YKW!2N=i@Elr@?mTE-KySC8P)O;M<4%B zPtM2WqmB;B>ABU%WwoO$r|0cHAs=&;MfKDg`M9Gjt*1UIpKz1~_SC0jjiW5Hr#>y8 zboA=pGoQ8cDM#y1@41C%3759s^{f% zj#V7bwO^2Rj*UKm_M&{=n$TAc@7Yehe8ExH=X2~!@Gu%6F zk?&Z;S>4`u&G+QHj&c$JuK&K=V%5_-gvY!e$oH(_s?OfC!cFphM>$OZ*Z)v{U=?Q| za8)nPsmdm6`2J(Jo-KVWKeX!UAHrjSX8Dn0*YC@!#U+Yd$#kbY_^JX-{Eoe zXYv!ro(rFoE%H-q*jx1OLqC_FIm(F$xTP;-i=&*BfcmBU+$zorg~vgy@(XK1bE*Q4 z{7Qc5D5ou;el1(AdU`{6boh<@${LQ1_v#tBReo*N({bDjY}M1N!t+NR@?X~QbMF0_{3?I3ir;|^_v`XQF)l+!lwR{xZLILav;sDH^WM>(AX^>6v7qnz4-+AaTbl+!#=|11A?lv6%X z|0lbx;`dd;a}xi^|2npCEysE4f7b9Gc398aLjB_?r-$HJsXUcAD~Dg_noUzmIMz3O zU+klB^3^Px0)dbh>uliZ_ z^zGs2q8ycN4M*UWJtGIG{#NnsAD(;GD#seW9qv6&$W;Rzoq0gd{T!&YRZpJ~emgfv zBjI{l)-9{W9Nk_hp0Sj_=S$}B6D1mss=kcqxYvdObv0A6J9X= za5dCXPJTfhp@v!Y^x9Rlk!rX#p*bZ6b(9+6D5uAuj#eWbmSGZ%`+z ziB@qTfB4Fuq9$1rn$vM`WK2!A>gl23xvXu}6l+3rk`9iXs$!0E!Vc;*wT+{kyo2hi zsa8FGQFxAVx|(JUS3KU@bE|>!t>T)c6S(#aHQllA!gFaeRbWkMPWi!+v(yYnIsFIK zsF_yrKD>lBTg|eDJ>+FQ>(5cfQBDxTv2)dIM>$ytb)K4I6<3CZ-w(`Ja~%u9XYT?v z&zjJjOoVGMRP!C>#3Iy1YJsCa_Wtx2tA&no!V!*Lq82&I$w#P5)ncoj{$LetnOb5E z*Aex8rrlO8wTjPv;W5{8wal8(oT!BBuTa}M%1KM8+o|P_asm_TO0~k#J99F>s#aPPnp2!mSF7zEHT6CBUP~70M>!=5b!WAs zRlL^2vl6?gogCXaJjU5o?Q9Kax_ZBP*-h=@D5p>1ZSJmib(B-7Q1?)~S;aNn;b+=C z)$WdUh2PrmrS`CfqmkZsj=j~MRz3Yk_-?*N?PX19PQb$L?4$N}l#{Vg_f>1G;y1>_ zpXz>UA8W|e`)Oc*wXdU`u7&F#p!Rc=Q@2nLRQo&1X!@^l-!=R*Qp~M<-{>u|0s2&qnt#Bx?ZhwloQHOk5)%n_4I4u6>`U@_118ONbh_4 zvFd26p1yAY*FH`iV@+sIK0`fT9qTA3qM@Fkj&pQF@73`qs^hJCdRZ<WkG$**Bo}o^2 zl#|_1H>lGc<-|ACjp__XISCH+OtryLPKZN2OKo(tqW9T)wmQ>MPL#v3`RXi3IcW~{ z9Cfx;oIeS_yFORtTf_Ciy`N~#Q|CB(P46qSK%ML8E_e0Z>LzubqnvJs+d5wrILfJa zs28YBjwXBGT?*Ctj*b^SkHUrO0!KML4{zZjRp=Y-k&E_9UB_E6*MB1bue54A{L z>?o)6pZPj4QBLziO{hy8<&;0v%haWga{3?Y)byZmkH7DqYt5yzIPTOH*zNYvZaZH{tEBs%$m@g2#OnFQYh+^>Ip|VK@{~VRbv&uiy0ozKdqj$ zhSzWJ6+5-+DMvYl6xV-7J?$u`lcGMWY8~a&QqPEN)3Us5kR%89C|FROY-IcXL374?#% zoWP3Opk8*AlUY$;Rj*j}^gpv`uc-!WLUW2M>g(!NM>*XUHLYHAlv7_(-%zhR%4x8u zZ>qFa6n>mZdrQ4x4WCnc&k!}LHy!0fSseSeddsS(zYmZ7-cgO#gy!^F9Qm$#+p4EO zKaaLWy<<&iPO3$HPrd6XC)lFCueLbK$+oB;sP`P@#9P!R^}eH=gp2y2`oK|6$VL4~ zH95-3xu_qj53PFox$qoav--%I(44Z1BR^3eTg7iKheu?es%FO;!tdigQ=eE9np1jl z?H2W^RZou#&%}PNKC_17$=>&dFI0=8ob-$9f2lsV>gfe}v{v`uy^s{var __webpack_modules__={28440:E=>{function webpackEmptyContext(E){var R=new Error("Cannot find module '"+E+"'");R.code="MODULE_NOT_FOUND";throw R}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},70797:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(R,"numberLiteralFromRaw",{enumerable:true,get:function get(){return q.numberLiteralFromRaw}});Object.defineProperty(R,"withLoc",{enumerable:true,get:function get(){return q.withLoc}});Object.defineProperty(R,"withRaw",{enumerable:true,get:function get(){return q.withRaw}});Object.defineProperty(R,"funcParam",{enumerable:true,get:function get(){return q.funcParam}});Object.defineProperty(R,"indexLiteral",{enumerable:true,get:function get(){return q.indexLiteral}});Object.defineProperty(R,"memIndexLiteral",{enumerable:true,get:function get(){return q.memIndexLiteral}});Object.defineProperty(R,"instruction",{enumerable:true,get:function get(){return q.instruction}});Object.defineProperty(R,"objectInstruction",{enumerable:true,get:function get(){return q.objectInstruction}});Object.defineProperty(R,"traverse",{enumerable:true,get:function get(){return G.traverse}});Object.defineProperty(R,"signatures",{enumerable:true,get:function get(){return ie.signatures}});Object.defineProperty(R,"cloneNode",{enumerable:true,get:function get(){return le.cloneNode}});Object.defineProperty(R,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return _e.moduleContextFromModuleAST}});var j=N(52696);Object.keys(j).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,E))return;Object.defineProperty(R,E,{enumerable:true,get:function get(){return j[E]}})}));var q=N(11891);var G=N(22056);var ie=N(75769);var ae=N(91764);Object.keys(ae).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,E))return;Object.defineProperty(R,E,{enumerable:true,get:function get(){return ae[E]}})}));var le=N(70797);var _e=N(5499)},11891:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.numberLiteralFromRaw=numberLiteralFromRaw;R.instruction=instruction;R.objectInstruction=objectInstruction;R.withLoc=withLoc;R.withRaw=withRaw;R.funcParam=funcParam;R.indexLiteral=indexLiteral;R.memIndexLiteral=memIndexLiteral;var $=N(80853);var j=N(52696);function numberLiteralFromRaw(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var N=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,j.numberLiteral)(E,String(N))}else{switch(R){case"i32":{return(0,j.numberLiteral)((0,$.parse32I)(E),String(N))}case"u32":{return(0,j.numberLiteral)((0,$.parseU32)(E),String(N))}case"i64":{return(0,j.longNumberLiteral)((0,$.parse64I)(E),String(N))}case"f32":{return(0,j.floatLiteral)((0,$.parse32F)(E),(0,$.isNanLiteral)(E),(0,$.isInfLiteral)(E),String(N))}default:{return(0,j.floatLiteral)((0,$.parse64F)(E),(0,$.isNanLiteral)(E),(0,$.isInfLiteral)(E),String(N))}}}}function instruction(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,j.instr)(E,undefined,R,N)}function objectInstruction(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,j.instr)(E,R,N,$)}function withLoc(E,R,N){var $={start:N,end:R};E.loc=$;return E}function withRaw(E,R){E.raw=R;return E}function funcParam(E,R){return{id:R,valtype:E}}function indexLiteral(E){var R=numberLiteralFromRaw(E,"u32");return R}function memIndexLiteral(E){var R=numberLiteralFromRaw(E,"u32");return R}},46166:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var R=1;R2&&arguments[2]!==undefined?arguments[2]:0;if(!$){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ie=j.node[q];var ae=ie.findIndex((function(E){return E===N}));ie.splice(ae+G,0,R)}function remove(E){var R=E.node,N=E.parentKey,$=E.parentPath;if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var j=$.node;var q=j[N];if(Array.isArray(q)){j[N]=q.filter((function(E){return E!==R}))}else{delete j[N]}R._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,R){var N=E.parentPath.node;var $=N[E.parentKey];if(Array.isArray($)){var j=$.findIndex((function(R){return R===E.node}));$.splice(j,1,R)}else{N[E.parentKey]=R}E.node._deleted=true;E.node=R}function bindNodeOperations(E,R){var N=Object.keys(E);var $={};N.forEach((function(N){$[N]=E[N].bind(null,R)}));return $}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var R=_extends({},E);Object.assign(R,createPathOperations(R));return R}},52696:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.module=_module;R.moduleMetadata=moduleMetadata;R.moduleNameMetadata=moduleNameMetadata;R.functionNameMetadata=functionNameMetadata;R.localNameMetadata=localNameMetadata;R.binaryModule=binaryModule;R.quoteModule=quoteModule;R.sectionMetadata=sectionMetadata;R.producersSectionMetadata=producersSectionMetadata;R.producerMetadata=producerMetadata;R.producerMetadataVersionedName=producerMetadataVersionedName;R.loopInstruction=loopInstruction;R.instr=instr;R.ifInstruction=ifInstruction;R.stringLiteral=stringLiteral;R.numberLiteral=numberLiteral;R.longNumberLiteral=longNumberLiteral;R.floatLiteral=floatLiteral;R.elem=elem;R.indexInFuncSection=indexInFuncSection;R.valtypeLiteral=valtypeLiteral;R.typeInstruction=typeInstruction;R.start=start;R.globalType=globalType;R.leadingComment=leadingComment;R.blockComment=blockComment;R.data=data;R.global=global;R.table=table;R.memory=memory;R.funcImportDescr=funcImportDescr;R.moduleImport=moduleImport;R.moduleExportDescr=moduleExportDescr;R.moduleExport=moduleExport;R.limit=limit;R.signature=signature;R.program=program;R.identifier=identifier;R.blockInstruction=blockInstruction;R.callInstruction=callInstruction;R.callIndirectInstruction=callIndirectInstruction;R.byteArray=byteArray;R.func=func;R.internalBrUnless=internalBrUnless;R.internalGoto=internalGoto;R.internalCallExtern=internalCallExtern;R.internalEndAndReturn=internalEndAndReturn;R.assertInternalCallExtern=R.assertInternalGoto=R.assertInternalBrUnless=R.assertFunc=R.assertByteArray=R.assertCallIndirectInstruction=R.assertCallInstruction=R.assertBlockInstruction=R.assertIdentifier=R.assertProgram=R.assertSignature=R.assertLimit=R.assertModuleExport=R.assertModuleExportDescr=R.assertModuleImport=R.assertFuncImportDescr=R.assertMemory=R.assertTable=R.assertGlobal=R.assertData=R.assertBlockComment=R.assertLeadingComment=R.assertGlobalType=R.assertStart=R.assertTypeInstruction=R.assertValtypeLiteral=R.assertIndexInFuncSection=R.assertElem=R.assertFloatLiteral=R.assertLongNumberLiteral=R.assertNumberLiteral=R.assertStringLiteral=R.assertIfInstruction=R.assertInstr=R.assertLoopInstruction=R.assertProducerMetadataVersionedName=R.assertProducerMetadata=R.assertProducersSectionMetadata=R.assertSectionMetadata=R.assertQuoteModule=R.assertBinaryModule=R.assertLocalNameMetadata=R.assertFunctionNameMetadata=R.assertModuleNameMetadata=R.assertModuleMetadata=R.assertModule=R.isIntrinsic=R.isImportDescr=R.isNumericLiteral=R.isExpression=R.isInstruction=R.isBlock=R.isNode=R.isInternalEndAndReturn=R.isInternalCallExtern=R.isInternalGoto=R.isInternalBrUnless=R.isFunc=R.isByteArray=R.isCallIndirectInstruction=R.isCallInstruction=R.isBlockInstruction=R.isIdentifier=R.isProgram=R.isSignature=R.isLimit=R.isModuleExport=R.isModuleExportDescr=R.isModuleImport=R.isFuncImportDescr=R.isMemory=R.isTable=R.isGlobal=R.isData=R.isBlockComment=R.isLeadingComment=R.isGlobalType=R.isStart=R.isTypeInstruction=R.isValtypeLiteral=R.isIndexInFuncSection=R.isElem=R.isFloatLiteral=R.isLongNumberLiteral=R.isNumberLiteral=R.isStringLiteral=R.isIfInstruction=R.isInstr=R.isLoopInstruction=R.isProducerMetadataVersionedName=R.isProducerMetadata=R.isProducersSectionMetadata=R.isSectionMetadata=R.isQuoteModule=R.isBinaryModule=R.isLocalNameMetadata=R.isFunctionNameMetadata=R.isModuleNameMetadata=R.isModuleMetadata=R.isModule=void 0;R.nodeAndUnionTypes=R.unionTypesMap=R.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(R){return R.type===E}}function assertTypeOf(E){return function(R){return function(){if(!(R.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,R,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Module",id:E,fields:R};if(typeof N!=="undefined"){$.metadata=N}return $}function moduleMetadata(E,R,N,$){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"ModuleMetadata",sections:E};if(typeof R!=="undefined"&&R.length>0){j.functionNames=R}if(typeof N!=="undefined"&&N.length>0){j.localNames=N}if(typeof $!=="undefined"&&$.length>0){j.producers=$}return j}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleNameMetadata",value:E};return R}function functionNameMetadata(E,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(R)||0))}var N={type:"FunctionNameMetadata",value:E,index:R};return N}function localNameMetadata(E,R,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(R)||0))}if(!(typeof N==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(N)||0))}var $={type:"LocalNameMetadata",value:E,localIndex:R,functionIndex:N};return $}function binaryModule(E,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"BinaryModule",id:E,blob:R};return N}function quoteModule(E,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"QuoteModule",id:E,string:R};return N}function sectionMetadata(E,R,N,$){if(!(typeof R==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(R)||0))}var j={type:"SectionMetadata",section:E,startOffset:R,size:N,vectorOfSize:$};return j}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ProducersSectionMetadata",producers:E};return R}function producerMetadata(E,R,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"ProducerMetadata",language:E,processedBy:R,sdk:N};return $}function producerMetadataVersionedName(E,R){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(R)||0))}var N={type:"ProducerMetadataVersionedName",name:E,version:R};return N}function loopInstruction(E,R,N){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"LoopInstruction",id:"loop",label:E,resulttype:R,instr:N};return $}function instr(E,R,N,$){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Instr",id:E,args:N};if(typeof R!=="undefined"){j.object=R}if(typeof $!=="undefined"&&Object.keys($).length!==0){j.namedArgs=$}return j}function ifInstruction(E,R,N,$,j){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var q={type:"IfInstruction",id:"if",testLabel:E,test:R,result:N,consequent:$,alternate:j};return q}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"StringLiteral",value:E};return R}function numberLiteral(E,R){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var N={type:"NumberLiteral",value:E,raw:R};return N}function longNumberLiteral(E,R){if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var N={type:"LongNumberLiteral",value:E,raw:R};return N}function floatLiteral(E,R,N,$){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(R)||0))}}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(N)||0))}}if(!(typeof $==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof($)||0))}var j={type:"FloatLiteral",value:E,raw:$};if(R===true){j.nan=true}if(N===true){j.inf=true}return j}function elem(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Elem",table:E,offset:R,funcs:N};return $}function indexInFuncSection(E){var R={type:"IndexInFuncSection",index:E};return R}function valtypeLiteral(E){var R={type:"ValtypeLiteral",name:E};return R}function typeInstruction(E,R){var N={type:"TypeInstruction",id:E,functype:R};return N}function start(E){var R={type:"Start",index:E};return R}function globalType(E,R){var N={type:"GlobalType",valtype:E,mutability:R};return N}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"LeadingComment",value:E};return R}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"BlockComment",value:E};return R}function data(E,R,N){var $={type:"Data",memoryIndex:E,offset:R,init:N};return $}function global(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Global",globalType:E,init:R,name:N};return $}function table(E,R,N,$){if(!(R.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+R.type||0))}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"Table",elementType:E,limits:R,name:N};if(typeof $!=="undefined"&&$.length>0){j.elements=$}return j}function memory(E,R){var N={type:"Memory",limits:E,id:R};return N}function funcImportDescr(E,R){var N={type:"FuncImportDescr",id:E,signature:R};return N}function moduleImport(E,R,N){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(R)||0))}var $={type:"ModuleImport",module:E,name:R,descr:N};return $}function moduleExportDescr(E,R){var N={type:"ModuleExportDescr",exportType:E,id:R};return N}function moduleExport(E,R){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var N={type:"ModuleExport",name:E,descr:R};return N}function limit(E,R,N){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(R)||0))}}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(N)||0))}}var $={type:"Limit",min:E};if(typeof R!=="undefined"){$.max=R}if(N===true){$.shared=true}return $}function signature(E,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Signature",params:E,results:R};return N}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Program",body:E};return R}function identifier(E,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}}var N={type:"Identifier",value:E};if(typeof R!=="undefined"){N.raw=R}return N}function blockInstruction(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"BlockInstruction",id:"block",label:E,instr:R,result:N};return $}function callInstruction(E,R,N){if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"CallInstruction",id:"call",index:E};if(typeof R!=="undefined"&&R.length>0){$.instrArgs=R}if(typeof N!=="undefined"){$.numeric=N}return $}function callIndirectInstruction(E,R){if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var N={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof R!=="undefined"&&R.length>0){N.intrs=R}return N}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ByteArray",values:E};return R}function func(E,R,N,$,j){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if($!==null&&$!==undefined){if(!(typeof $==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof($)||0))}}var q={type:"Func",name:E,signature:R,body:N};if($===true){q.isExternal=true}if(typeof j!=="undefined"){q.metadata=j}return q}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalBrUnless",target:E};return R}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalGoto",target:E};return R}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalCallExtern",target:E};return R}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var N=isTypeOf("Module");R.isModule=N;var $=isTypeOf("ModuleMetadata");R.isModuleMetadata=$;var j=isTypeOf("ModuleNameMetadata");R.isModuleNameMetadata=j;var q=isTypeOf("FunctionNameMetadata");R.isFunctionNameMetadata=q;var G=isTypeOf("LocalNameMetadata");R.isLocalNameMetadata=G;var ie=isTypeOf("BinaryModule");R.isBinaryModule=ie;var ae=isTypeOf("QuoteModule");R.isQuoteModule=ae;var le=isTypeOf("SectionMetadata");R.isSectionMetadata=le;var _e=isTypeOf("ProducersSectionMetadata");R.isProducersSectionMetadata=_e;var Ee=isTypeOf("ProducerMetadata");R.isProducerMetadata=Ee;var we=isTypeOf("ProducerMetadataVersionedName");R.isProducerMetadataVersionedName=we;var Ie=isTypeOf("LoopInstruction");R.isLoopInstruction=Ie;var Me=isTypeOf("Instr");R.isInstr=Me;var Te=isTypeOf("IfInstruction");R.isIfInstruction=Te;var Ne=isTypeOf("StringLiteral");R.isStringLiteral=Ne;var Be=isTypeOf("NumberLiteral");R.isNumberLiteral=Be;var Le=isTypeOf("LongNumberLiteral");R.isLongNumberLiteral=Le;var je=isTypeOf("FloatLiteral");R.isFloatLiteral=je;var ze=isTypeOf("Elem");R.isElem=ze;var Ue=isTypeOf("IndexInFuncSection");R.isIndexInFuncSection=Ue;var qe=isTypeOf("ValtypeLiteral");R.isValtypeLiteral=qe;var Ge=isTypeOf("TypeInstruction");R.isTypeInstruction=Ge;var He=isTypeOf("Start");R.isStart=He;var We=isTypeOf("GlobalType");R.isGlobalType=We;var Ve=isTypeOf("LeadingComment");R.isLeadingComment=Ve;var Ke=isTypeOf("BlockComment");R.isBlockComment=Ke;var Qe=isTypeOf("Data");R.isData=Qe;var Je=isTypeOf("Global");R.isGlobal=Je;var Xe=isTypeOf("Table");R.isTable=Xe;var Ye=isTypeOf("Memory");R.isMemory=Ye;var Ze=isTypeOf("FuncImportDescr");R.isFuncImportDescr=Ze;var et=isTypeOf("ModuleImport");R.isModuleImport=et;var tt=isTypeOf("ModuleExportDescr");R.isModuleExportDescr=tt;var nt=isTypeOf("ModuleExport");R.isModuleExport=nt;var rt=isTypeOf("Limit");R.isLimit=rt;var st=isTypeOf("Signature");R.isSignature=st;var it=isTypeOf("Program");R.isProgram=it;var ot=isTypeOf("Identifier");R.isIdentifier=ot;var lt=isTypeOf("BlockInstruction");R.isBlockInstruction=lt;var ct=isTypeOf("CallInstruction");R.isCallInstruction=ct;var ut=isTypeOf("CallIndirectInstruction");R.isCallIndirectInstruction=ut;var pt=isTypeOf("ByteArray");R.isByteArray=pt;var dt=isTypeOf("Func");R.isFunc=dt;var ft=isTypeOf("InternalBrUnless");R.isInternalBrUnless=ft;var ht=isTypeOf("InternalGoto");R.isInternalGoto=ht;var mt=isTypeOf("InternalCallExtern");R.isInternalCallExtern=mt;var gt=isTypeOf("InternalEndAndReturn");R.isInternalEndAndReturn=gt;var yt=function isNode(E){return N(E)||$(E)||j(E)||q(E)||G(E)||ie(E)||ae(E)||le(E)||_e(E)||Ee(E)||we(E)||Ie(E)||Me(E)||Te(E)||Ne(E)||Be(E)||Le(E)||je(E)||ze(E)||Ue(E)||qe(E)||Ge(E)||He(E)||We(E)||Ve(E)||Ke(E)||Qe(E)||Je(E)||Xe(E)||Ye(E)||Ze(E)||et(E)||tt(E)||nt(E)||rt(E)||st(E)||it(E)||ot(E)||lt(E)||ct(E)||ut(E)||pt(E)||dt(E)||ft(E)||ht(E)||mt(E)||gt(E)};R.isNode=yt;var vt=function isBlock(E){return Ie(E)||lt(E)||dt(E)};R.isBlock=vt;var bt=function isInstruction(E){return Ie(E)||Me(E)||Te(E)||Ge(E)||lt(E)||ct(E)||ut(E)};R.isInstruction=bt;var _t=function isExpression(E){return Me(E)||Ne(E)||Be(E)||Le(E)||je(E)||qe(E)||ot(E)};R.isExpression=_t;var xt=function isNumericLiteral(E){return Be(E)||Le(E)||je(E)};R.isNumericLiteral=xt;var kt=function isImportDescr(E){return We(E)||Xe(E)||Ye(E)||Ze(E)};R.isImportDescr=kt;var Et=function isIntrinsic(E){return ft(E)||ht(E)||mt(E)||gt(E)};R.isIntrinsic=Et;var wt=assertTypeOf("Module");R.assertModule=wt;var St=assertTypeOf("ModuleMetadata");R.assertModuleMetadata=St;var At=assertTypeOf("ModuleNameMetadata");R.assertModuleNameMetadata=At;var Ct=assertTypeOf("FunctionNameMetadata");R.assertFunctionNameMetadata=Ct;var Dt=assertTypeOf("LocalNameMetadata");R.assertLocalNameMetadata=Dt;var It=assertTypeOf("BinaryModule");R.assertBinaryModule=It;var Mt=assertTypeOf("QuoteModule");R.assertQuoteModule=Mt;var Pt=assertTypeOf("SectionMetadata");R.assertSectionMetadata=Pt;var Tt=assertTypeOf("ProducersSectionMetadata");R.assertProducersSectionMetadata=Tt;var Ot=assertTypeOf("ProducerMetadata");R.assertProducerMetadata=Ot;var Rt=assertTypeOf("ProducerMetadataVersionedName");R.assertProducerMetadataVersionedName=Rt;var Ft=assertTypeOf("LoopInstruction");R.assertLoopInstruction=Ft;var Nt=assertTypeOf("Instr");R.assertInstr=Nt;var Bt=assertTypeOf("IfInstruction");R.assertIfInstruction=Bt;var Lt=assertTypeOf("StringLiteral");R.assertStringLiteral=Lt;var $t=assertTypeOf("NumberLiteral");R.assertNumberLiteral=$t;var jt=assertTypeOf("LongNumberLiteral");R.assertLongNumberLiteral=jt;var zt=assertTypeOf("FloatLiteral");R.assertFloatLiteral=zt;var Ut=assertTypeOf("Elem");R.assertElem=Ut;var qt=assertTypeOf("IndexInFuncSection");R.assertIndexInFuncSection=qt;var Gt=assertTypeOf("ValtypeLiteral");R.assertValtypeLiteral=Gt;var Ht=assertTypeOf("TypeInstruction");R.assertTypeInstruction=Ht;var Wt=assertTypeOf("Start");R.assertStart=Wt;var Vt=assertTypeOf("GlobalType");R.assertGlobalType=Vt;var Kt=assertTypeOf("LeadingComment");R.assertLeadingComment=Kt;var Qt=assertTypeOf("BlockComment");R.assertBlockComment=Qt;var Jt=assertTypeOf("Data");R.assertData=Jt;var Xt=assertTypeOf("Global");R.assertGlobal=Xt;var Yt=assertTypeOf("Table");R.assertTable=Yt;var Zt=assertTypeOf("Memory");R.assertMemory=Zt;var en=assertTypeOf("FuncImportDescr");R.assertFuncImportDescr=en;var tn=assertTypeOf("ModuleImport");R.assertModuleImport=tn;var nn=assertTypeOf("ModuleExportDescr");R.assertModuleExportDescr=nn;var rn=assertTypeOf("ModuleExport");R.assertModuleExport=rn;var sn=assertTypeOf("Limit");R.assertLimit=sn;var on=assertTypeOf("Signature");R.assertSignature=on;var an=assertTypeOf("Program");R.assertProgram=an;var ln=assertTypeOf("Identifier");R.assertIdentifier=ln;var cn=assertTypeOf("BlockInstruction");R.assertBlockInstruction=cn;var un=assertTypeOf("CallInstruction");R.assertCallInstruction=un;var pn=assertTypeOf("CallIndirectInstruction");R.assertCallIndirectInstruction=pn;var dn=assertTypeOf("ByteArray");R.assertByteArray=dn;var hn=assertTypeOf("Func");R.assertFunc=hn;var mn=assertTypeOf("InternalBrUnless");R.assertInternalBrUnless=mn;var gn=assertTypeOf("InternalGoto");R.assertInternalGoto=gn;var yn=assertTypeOf("InternalCallExtern");R.assertInternalCallExtern=yn;var vn=assertTypeOf("InternalEndAndReturn");R.assertInternalEndAndReturn=vn;var bn={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};R.unionTypesMap=bn;var _n=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];R.nodeAndUnionTypes=_n},75769:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.signatures=void 0;function sign(E,R){return[E,R]}var N="u32";var $="i32";var j="i64";var q="f32";var G="f64";var ie=function vector(E){var R=[E];R.vector=true;return R};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([N],[]),br_if:sign([N],[]),br_table:sign(ie(N),[]),return:sign([],[]),call:sign([N],[]),call_indirect:sign([N],[])};var le={drop:sign([],[]),select:sign([],[])};var _e={get_local:sign([N],[]),set_local:sign([N],[]),tee_local:sign([N],[]),get_global:sign([N],[]),set_global:sign([N],[])};var Ee={"i32.load":sign([N,N],[$]),"i64.load":sign([N,N],[]),"f32.load":sign([N,N],[]),"f64.load":sign([N,N],[]),"i32.load8_s":sign([N,N],[$]),"i32.load8_u":sign([N,N],[$]),"i32.load16_s":sign([N,N],[$]),"i32.load16_u":sign([N,N],[$]),"i64.load8_s":sign([N,N],[j]),"i64.load8_u":sign([N,N],[j]),"i64.load16_s":sign([N,N],[j]),"i64.load16_u":sign([N,N],[j]),"i64.load32_s":sign([N,N],[j]),"i64.load32_u":sign([N,N],[j]),"i32.store":sign([N,N],[]),"i64.store":sign([N,N],[]),"f32.store":sign([N,N],[]),"f64.store":sign([N,N],[]),"i32.store8":sign([N,N],[]),"i32.store16":sign([N,N],[]),"i64.store8":sign([N,N],[]),"i64.store16":sign([N,N],[]),"i64.store32":sign([N,N],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var we={"i32.const":sign([$],[$]),"i64.const":sign([j],[j]),"f32.const":sign([q],[q]),"f64.const":sign([G],[G]),"i32.eqz":sign([$],[$]),"i32.eq":sign([$,$],[$]),"i32.ne":sign([$,$],[$]),"i32.lt_s":sign([$,$],[$]),"i32.lt_u":sign([$,$],[$]),"i32.gt_s":sign([$,$],[$]),"i32.gt_u":sign([$,$],[$]),"i32.le_s":sign([$,$],[$]),"i32.le_u":sign([$,$],[$]),"i32.ge_s":sign([$,$],[$]),"i32.ge_u":sign([$,$],[$]),"i64.eqz":sign([j],[j]),"i64.eq":sign([j,j],[$]),"i64.ne":sign([j,j],[$]),"i64.lt_s":sign([j,j],[$]),"i64.lt_u":sign([j,j],[$]),"i64.gt_s":sign([j,j],[$]),"i64.gt_u":sign([j,j],[$]),"i64.le_s":sign([j,j],[$]),"i64.le_u":sign([j,j],[$]),"i64.ge_s":sign([j,j],[$]),"i64.ge_u":sign([j,j],[$]),"f32.eq":sign([q,q],[$]),"f32.ne":sign([q,q],[$]),"f32.lt":sign([q,q],[$]),"f32.gt":sign([q,q],[$]),"f32.le":sign([q,q],[$]),"f32.ge":sign([q,q],[$]),"f64.eq":sign([G,G],[$]),"f64.ne":sign([G,G],[$]),"f64.lt":sign([G,G],[$]),"f64.gt":sign([G,G],[$]),"f64.le":sign([G,G],[$]),"f64.ge":sign([G,G],[$]),"i32.clz":sign([$],[$]),"i32.ctz":sign([$],[$]),"i32.popcnt":sign([$],[$]),"i32.add":sign([$,$],[$]),"i32.sub":sign([$,$],[$]),"i32.mul":sign([$,$],[$]),"i32.div_s":sign([$,$],[$]),"i32.div_u":sign([$,$],[$]),"i32.rem_s":sign([$,$],[$]),"i32.rem_u":sign([$,$],[$]),"i32.and":sign([$,$],[$]),"i32.or":sign([$,$],[$]),"i32.xor":sign([$,$],[$]),"i32.shl":sign([$,$],[$]),"i32.shr_s":sign([$,$],[$]),"i32.shr_u":sign([$,$],[$]),"i32.rotl":sign([$,$],[$]),"i32.rotr":sign([$,$],[$]),"i64.clz":sign([j],[j]),"i64.ctz":sign([j],[j]),"i64.popcnt":sign([j],[j]),"i64.add":sign([j,j],[j]),"i64.sub":sign([j,j],[j]),"i64.mul":sign([j,j],[j]),"i64.div_s":sign([j,j],[j]),"i64.div_u":sign([j,j],[j]),"i64.rem_s":sign([j,j],[j]),"i64.rem_u":sign([j,j],[j]),"i64.and":sign([j,j],[j]),"i64.or":sign([j,j],[j]),"i64.xor":sign([j,j],[j]),"i64.shl":sign([j,j],[j]),"i64.shr_s":sign([j,j],[j]),"i64.shr_u":sign([j,j],[j]),"i64.rotl":sign([j,j],[j]),"i64.rotr":sign([j,j],[j]),"f32.abs":sign([q],[q]),"f32.neg":sign([q],[q]),"f32.ceil":sign([q],[q]),"f32.floor":sign([q],[q]),"f32.trunc":sign([q],[q]),"f32.nearest":sign([q],[q]),"f32.sqrt":sign([q],[q]),"f32.add":sign([q,q],[q]),"f32.sub":sign([q,q],[q]),"f32.mul":sign([q,q],[q]),"f32.div":sign([q,q],[q]),"f32.min":sign([q,q],[q]),"f32.max":sign([q,q],[q]),"f32.copysign":sign([q,q],[q]),"f64.abs":sign([G],[G]),"f64.neg":sign([G],[G]),"f64.ceil":sign([G],[G]),"f64.floor":sign([G],[G]),"f64.trunc":sign([G],[G]),"f64.nearest":sign([G],[G]),"f64.sqrt":sign([G],[G]),"f64.add":sign([G,G],[G]),"f64.sub":sign([G,G],[G]),"f64.mul":sign([G,G],[G]),"f64.div":sign([G,G],[G]),"f64.min":sign([G,G],[G]),"f64.max":sign([G,G],[G]),"f64.copysign":sign([G,G],[G]),"i32.wrap/i64":sign([j],[$]),"i32.trunc_s/f32":sign([q],[$]),"i32.trunc_u/f32":sign([q],[$]),"i32.trunc_s/f64":sign([q],[$]),"i32.trunc_u/f64":sign([G],[$]),"i64.extend_s/i32":sign([$],[j]),"i64.extend_u/i32":sign([$],[j]),"i64.trunc_s/f32":sign([q],[j]),"i64.trunc_u/f32":sign([q],[j]),"i64.trunc_s/f64":sign([G],[j]),"i64.trunc_u/f64":sign([G],[j]),"f32.convert_s/i32":sign([$],[q]),"f32.convert_u/i32":sign([$],[q]),"f32.convert_s/i64":sign([j],[q]),"f32.convert_u/i64":sign([j],[q]),"f32.demote/f64":sign([G],[q]),"f64.convert_s/i32":sign([$],[G]),"f64.convert_u/i32":sign([$],[G]),"f64.convert_s/i64":sign([j],[G]),"f64.convert_u/i64":sign([j],[G]),"f64.promote/f32":sign([q],[G]),"i32.reinterpret/f32":sign([q],[$]),"i64.reinterpret/f64":sign([G],[j]),"f32.reinterpret/i32":sign([$],[q]),"f64.reinterpret/i64":sign([j],[G])};var Ie=Object.assign({},ae,le,_e,Ee,we);R.signatures=Ie},5499:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.moduleContextFromModuleAST=moduleContextFromModuleAST;R.ModuleContext=void 0;var $=N(52696);function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,R){for(var N=0;NE&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var R=E.globalType.valtype;var N=E.globalType.mutability;this.globals.push({type:R,mutability:N});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,R){this.globals.push({type:E,mutability:R})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,R){this.mems.push({min:E,max:R})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();R.ModuleContext=j},22056:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.traverse=traverse;var $=N(46166);var j=N(52696);function walk(E,R){var N=false;function innerWalk(E,R){if(N){return}var j=E.node;if(j===undefined){console.warn("traversing with an empty context");return}if(j._deleted===true){return}var q=(0,$.createPath)(E);R(j.type,q);if(q.shouldStop){N=true;return}Object.keys(j).forEach((function(E){var N=j[E];if(N===null||N===undefined){return}var $=Array.isArray(N)?N:[N];$.forEach((function($){if(typeof $.type==="string"){var j={node:$,parentKey:E,parentPath:q,shouldStop:false,inList:Array.isArray(N)};innerWalk(j,R)}}))}))}innerWalk(E,R)}var q=function noop(){};function traverse(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:q;var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:q;Object.keys(R).forEach((function(E){if(!j.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var G={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(G,(function(E,q){if(typeof R[E]==="function"){N(E,q);R[E](q);$(E,q)}var G=j.unionTypesMap[E];if(!G){throw new Error("Unexpected node type ".concat(E))}G.forEach((function(E){if(typeof R[E]==="function"){N(E,q);R[E](q);$(E,q)}}))}))}},91764:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.isAnonymous=isAnonymous;R.getSectionMetadata=getSectionMetadata;R.getSectionMetadatas=getSectionMetadatas;R.sortSectionMetadata=sortSectionMetadata;R.orderedInsertNode=orderedInsertNode;R.assertHasLoc=assertHasLoc;R.getEndOfSection=getEndOfSection;R.shiftLoc=shiftLoc;R.shiftSection=shiftSection;R.signatureForOpcode=signatureForOpcode;R.getUniqueNameGenerator=getUniqueNameGenerator;R.getStartByteOffset=getStartByteOffset;R.getEndByteOffset=getEndByteOffset;R.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;R.getEndBlockByteOffset=getEndBlockByteOffset;R.getStartBlockByteOffset=getStartBlockByteOffset;var $=N(75769);var j=N(22056);var q=_interopRequireWildcard(N(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"]!=null)G["return"]()}finally{if(j)throw q}}return N}function _slicedToArray(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,R){var N;(0,j.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(R){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var $=E.node;if($.section===R){N=$}}))});return N}function getSectionMetadatas(E,R){var N=[];(0,j.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(R){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var $=E.node;if($.section===R){N.push($)}}))});return N}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,R){var N=q.default.sections[E.section];var $=q.default.sections[R.section];if(typeof N!=="number"||typeof $!=="number"){throw new Error("Section id not found")}return N-$}))}function orderedInsertNode(E,R){assertHasLoc(R);var N=false;if(R.type==="ModuleExport"){E.fields.push(R);return}E.fields=E.fields.reduce((function(E,$){var j=Infinity;if($.loc!=null){j=$.loc.end.column}if(N===false&&R.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(R in E)){E[R]=0}else{E[R]=E[R]+1}return R+"_"+E[R]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var R=_slicedToArray(E.body,1),N=R[0];return getStartByteOffset(N)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var R;if(E.instr){R=E.instr[E.instr.length-1]}if(E.body){R=E.body[E.body.length-1]}if(!(_typeof(R)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(R)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var R;if(E.instr){var N=_slicedToArray(E.instr,1);R=N[0]}if(E.body){var $=_slicedToArray(E.body,1);R=$[0]}if(!(_typeof(R)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(R)}},18083:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=parse;function parse(E){E=E.toUpperCase();var R=E.indexOf("P");var N,$;if(R!==-1){N=E.substring(0,R);$=parseInt(E.substring(R+1))}else{N=E;$=0}var j=N.indexOf(".");if(j!==-1){var q=parseInt(N.substring(0,j),16);var G=Math.sign(q);q=G*q;var ie=N.length-j-1;var ae=parseInt(N.substring(j+1),16);var le=ie>0?ae/Math.pow(16,ie):0;if(G===0){if(le===0){N=G}else{if(Object.is(G,-0)){N=-le}else{N=le}}}else{N=G*(q+le)}}else{N=parseInt(N,16)}return N*(R!==-1?Math.pow(2,$):1)}},35866:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.LinkError=R.CompileError=R.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,R){if(R&&(_typeof(R)==="object"||typeof R==="function")){return R}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,R){if(typeof R!=="function"&&R!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(R&&R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(R)Object.setPrototypeOf?Object.setPrototypeOf(E,R):E.__proto__=R}var N=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);R.RuntimeError=N;var $=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);R.CompileError=$;var j=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);R.LinkError=j},3104:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.overrideBytesInBuffer=overrideBytesInBuffer;R.makeBuffer=makeBuffer;R.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.parse32F=parse32F;R.parse64F=parse64F;R.parse32I=parse32I;R.parseU32=parseU32;R.parse64I=parse64I;R.isInfLiteral=isInfLiteral;R.isNanLiteral=isNanLiteral;var $=_interopRequireDefault(N(11174));var j=_interopRequireDefault(N(18083));var q=N(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,j.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,j.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,j.default)(E)}return parseFloat(E)}function parse32I(E){var R=0;if(isHexLiteral(E)){R=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{R=parseInt(E,10)}return R}function parseU32(E){var R=parse32I(E);if(R<0){throw new q.CompileError("Illegal value for u32: "+E)}return R}function parse64I(E){var R;if(isHexLiteral(E)){R=$.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{R=$.default.fromString(E)}return{high:R.high,low:R.low}}var G=/^\+?-?nan/;var ie=/^\+?-?inf/;function isInfLiteral(E){return ie.test(E.toLowerCase())}function isNanLiteral(E){return G.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"getSectionForNode",{enumerable:true,get:function get(){return $.getSectionForNode}});R["default"]=void 0;var $=N(55474);var j="illegal";var q=[0,97,115,109];var G=[1,0,0,0];function invertMap(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var N={};var $=Object.keys(E);for(var j=0,q=$.length;j2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:R,numberOfArgs:N}}function createSymbol(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:R}}var ie={func:96,result:64};var ae={0:"Func",1:"Table",2:"Mem",3:"Global"};var le=invertMap(ae);var _e={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var Ee=invertMap(_e);var we={112:"anyfunc"};var Ie=Object.assign({},_e,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Me={0:"const",1:"var"};var Te=invertMap(Me);var Ne={0:"func",1:"table",2:"mem",3:"global"};var Be={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Le={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:j,7:j,8:j,9:j,10:j,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:j,19:j,20:j,21:j,22:j,23:j,24:j,25:j,26:createSymbol("drop"),27:createSymbol("select"),28:j,29:j,30:j,31:j,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:j,38:j,39:j,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var je=invertMap(Le,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var ze={symbolsByByte:Le,sections:Be,magicModuleHeader:q,moduleVersion:G,types:ie,valtypes:_e,exportTypes:ae,blockTypes:Ie,tableTypes:we,globalTypes:Me,importTypes:Ne,valtypesByString:Ee,globalTypesByString:Te,exportTypesByName:le,symbolsByName:je};R["default"]=ze},55474:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.createEmptySection=createEmptySection;var $=N(44166);var j=N(3104);var q=_interopRequireDefault(N(3930));var G=_interopRequireWildcard(N(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,R){var N=q.default.sections[R];var $=E.body[0].metadata.sections;var j;var G=0;for(var ie=0,ae=$.length;ieG&&N<_e){return j}G=_e;j=le}return j}function createEmptySection(E,R,N){var q=findLastSection(E,N);var ie,ae;if(q==null||q.section==="custom"){ie=8;ae=ie}else{ie=q.startOffset+q.size.value+1;ae=ie}ie+=1;var le={line:-1,column:ie};var _e={line:-1,column:ie+1};var Ee=G.withLoc(G.numberLiteralFromRaw(1),_e,le);var we={line:-1,column:_e.column};var Ie={line:-1,column:_e.column+1};var Me=G.withLoc(G.numberLiteralFromRaw(0),Ie,we);var Te=G.sectionMetadata(N,ie,Ee,Me);var Ne=(0,$.encodeNode)(Te);R=(0,j.overrideBytesInBuffer)(R,ie-1,ae,Ne);if(_typeof(E.body[0].metadata)==="object"){E.body[0].metadata.sections.push(Te);G.sortSectionMetadata(E.body[0])}var Be=+Ne.length;var Le=false;G.traverse(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){Le=true;return}if(Le===true){G.shiftSection(E,R.node,Be)}}});return{uint8Buffer:R,sectionMetadata:Te}}},77246:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"resizeSectionByteSize",{enumerable:true,get:function get(){return $.resizeSectionByteSize}});Object.defineProperty(R,"resizeSectionVecSize",{enumerable:true,get:function get(){return $.resizeSectionVecSize}});Object.defineProperty(R,"createEmptySection",{enumerable:true,get:function get(){return j.createEmptySection}});Object.defineProperty(R,"removeSections",{enumerable:true,get:function get(){return q.removeSections}});var $=N(35369);var j=N(97961);var q=N(96744)},96744:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.removeSections=removeSections;var $=N(98093);var j=N(3104);function removeSections(E,R,N){var q=(0,$.getSectionMetadatas)(E,N);if(q.length===0){throw new Error("Section metadata not found")}return q.reverse().reduce((function(R,q){var G=q.startOffset-1;var ie=N==="start"?q.size.loc.end.column+1:q.startOffset+q.size.value+1;var ae=-(ie-G);var le=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){le=true;return R.remove()}if(le===true){(0,$.shiftSection)(E,R.node,ae)}}});var _e=[];return(0,j.overrideBytesInBuffer)(R,G,ie,_e)}),R)}},35369:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.resizeSectionByteSize=resizeSectionByteSize;R.resizeSectionVecSize=resizeSectionVecSize;var $=N(44166);var j=N(98093);var q=N(3104);function resizeSectionByteSize(E,R,N,G){var ie=(0,j.getSectionMetadata)(E,N);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.size.loc==="undefined"){throw new Error("SectionMetadata "+N+" has no loc")}var ae=ie.size.loc.start.column;var le=ie.size.loc.end.column;var _e=ie.size.value+G;var Ee=(0,$.encodeU32)(_e);ie.size.value=_e;var we=le-ae;var Ie=Ee.length;if(Ie!==we){var Me=Ie-we;ie.size.loc.end.column=ae+Ie;G+=Me;ie.vectorOfSize.loc.start.column+=Me;ie.vectorOfSize.loc.end.column+=Me}var Te=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){Te=true;return}if(Te===true){(0,j.shiftSection)(E,R.node,G)}}});return(0,q.overrideBytesInBuffer)(R,ae,le,Ee)}function resizeSectionVecSize(E,R,N,G){var ie=(0,j.getSectionMetadata)(E,N);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+N+" has no loc")}if(ie.vectorOfSize.value===-1){return R}var ae=ie.vectorOfSize.loc.start.column;var le=ie.vectorOfSize.loc.end.column;var _e=ie.vectorOfSize.value+G;var Ee=(0,$.encodeU32)(_e);ie.vectorOfSize.value=_e;ie.vectorOfSize.loc.end.column=ae+Ee.length;return(0,q.overrideBytesInBuffer)(R,ae,le,Ee)}},48:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeF32=encodeF32;R.encodeF64=encodeF64;R.decodeF32=decodeF32;R.decodeF64=decodeF64;R.DOUBLE_PRECISION_MANTISSA=R.SINGLE_PRECISION_MANTISSA=R.NUMBER_OF_BYTE_F64=R.NUMBER_OF_BYTE_F32=void 0;var $=N(3158);var j=4;R.NUMBER_OF_BYTE_F32=j;var q=8;R.NUMBER_OF_BYTE_F64=q;var G=23;R.SINGLE_PRECISION_MANTISSA=G;var ie=52;R.DOUBLE_PRECISION_MANTISSA=ie;function encodeF32(E){var R=[];(0,$.write)(R,E,0,true,G,j);return R}function encodeF64(E){var R=[];(0,$.write)(R,E,0,true,ie,q);return R}function decodeF32(E){var R=Buffer.from(E);return(0,$.read)(R,0,true,G,j)}function decodeF64(E){var R=Buffer.from(E);return(0,$.read)(R,0,true,ie,q)}},90683:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.extract=extract;R.inject=inject;R.getSign=getSign;R.highOrder=highOrder;function extract(E,R,N,$){if(N<0||N>32){throw new Error("Bad value for bitLength.")}if($===undefined){$=0}else if($!==0&&$!==1){throw new Error("Bad value for defaultBit.")}var j=$*255;var q=0;var G=R+N;var ie=Math.floor(R/8);var ae=R%8;var le=Math.floor(G/8);var _e=G%8;if(_e!==0){q=get(le)&(1<<_e)-1}while(le>ie){le--;q=q<<8|get(le)}q>>>=ae;return q;function get(R){var N=E[R];return N===undefined?j:N}}function inject(E,R,N,$){if(N<0||N>32){throw new Error("Bad value for bitLength.")}var j=Math.floor((R+N-1)/8);if(R<0||j>=E.length){throw new Error("Index out of range.")}var q=Math.floor(R/8);var G=R%8;while(N>0){if($&1){E[q]|=1<>=1;N--;G=(G+1)%8;if(G===0){q++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,R){var N=R.length;var $=(E^1)*255;while(N>0&&R[N-1]===$){N--}if(N===0){return-1}var j=R[N-1];var q=N*8-1;for(var G=7;G>0;G--){if((j>>G&1)===E){break}q--}return q}},1779:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.alloc=alloc;R.free=free;R.resize=resize;R.readInt=readInt;R.readUInt=readUInt;R.writeInt64=writeInt64;R.writeUInt64=writeUInt64;var N=[];var $=20;var j=-0x8000000000000000;var q=0x7ffffffffffffc00;var G=0xfffffffffffff800;var ie=4294967296;var ae=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,R){if(R===0){return false}var N=lowestBit(R);var $=E+N;if($===E){return true}if($-N!==E){return true}return false}function alloc(E){var R=N[E];if(R){N[E]=undefined}else{R=new Buffer(E)}R.fill(0);return R}function free(E){var R=E.length;if(R<$){N[R]=E}}function resize(E,R){if(R===E.length){return E}var N=alloc(R);E.copy(N);free(E);return N}function readInt(E){var R=E.length;var N=E[R-1]<128;var $=N?0:-1;var j=false;if(R<7){for(var q=R-1;q>=0;q--){$=$*256+E[q]}}else{for(var G=R-1;G>=0;G--){var ie=E[G];$*=256;if(isLossyToAdd($,ie)){j=true}$+=ie}}return{value:$,lossy:j}}function readUInt(E){var R=E.length;var N=0;var $=false;if(R<7){for(var j=R-1;j>=0;j--){N=N*256+E[j]}}else{for(var q=R-1;q>=0;q--){var G=E[q];N*=256;if(isLossyToAdd(N,G)){$=true}N+=G}}return{value:N,lossy:$}}function writeInt64(E,R){if(Eq){throw new Error("Value out of range.")}if(E<0){E+=ae}writeUInt64(E,R)}function writeUInt64(E,R){if(E<0||E>G){throw new Error("Value out of range.")}var N=E%ie;var $=Math.floor(E/ie);R.writeUInt32LE(N,0);R.writeUInt32LE($,4)}},39784:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decodeInt64=decodeInt64;R.decodeUInt64=decodeUInt64;R.decodeInt32=decodeInt32;R.decodeUInt32=decodeUInt32;R.encodeU32=encodeU32;R.encodeI32=encodeI32;R.encodeI64=encodeI64;R.MAX_NUMBER_OF_BYTE_U64=R.MAX_NUMBER_OF_BYTE_U32=void 0;var $=_interopRequireDefault(N(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var j=5;R.MAX_NUMBER_OF_BYTE_U32=j;var q=10;R.MAX_NUMBER_OF_BYTE_U64=q;function decodeInt64(E,R){return $.default.decodeInt64(E,R)}function decodeUInt64(E,R){return $.default.decodeUInt64(E,R)}function decodeInt32(E,R){return $.default.decodeInt32(E,R)}function decodeUInt32(E,R){return $.default.decodeUInt32(E,R)}function encodeU32(E){return $.default.encodeUInt32(E)}function encodeI32(E){return $.default.encodeInt32(E)}function encodeI64(E){return $.default.encodeInt64(E)}},83082:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(11174));var j=_interopRequireWildcard(N(90683));var q=_interopRequireWildcard(N(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var G=-2147483648;var ie=2147483647;var ae=4294967295;function signedBitCount(E){return j.highOrder(j.getSign(E)^1,E)+2}function unsignedBitCount(E){var R=j.highOrder(1,E)+1;return R?R:1}function encodeBufferCommon(E,R){var N;var $;if(R){N=j.getSign(E);$=signedBitCount(E)}else{N=0;$=unsignedBitCount(E)}var G=Math.ceil($/7);var ie=q.alloc(G);for(var ae=0;ae=128){N++}N++;if(R+N>E.length){}return N}function decodeBufferCommon(E,R,N){R=R===undefined?0:R;var $=encodedLength(E,R);var G=$*7;var ie=Math.ceil(G/8);var ae=q.alloc(ie);var le=0;while($>0){j.inject(ae,le,7,E[R]);le+=7;R++;$--}var _e;var Ee;if(N){var we=ae[ie-1];var Ie=le%8;if(Ie!==0){var Me=32-Ie;we=ae[ie-1]=we<>Me&255}_e=we>>7;Ee=_e*255}else{_e=0;Ee=0}while(ie>1&&ae[ie-1]===Ee&&(!N||ae[ie-2]>>7===_e)){ie--}ae=q.resize(ae,ie);return{value:ae,nextIndex:R}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,R){return decodeBufferCommon(E,R,true)}function encodeInt32(E){var R=q.alloc(4);R.writeInt32LE(E,0);var N=encodeIntBuffer(R);q.free(R);return N}function decodeInt32(E,R){var N=decodeIntBuffer(E,R);var $=q.readInt(N.value);var j=$.value;q.free(N.value);if(jie){throw new Error("integer too large")}return{value:j,nextIndex:N.nextIndex}}function encodeInt64(E){var R=q.alloc(8);q.writeInt64(E,R);var N=encodeIntBuffer(R);q.free(R);return N}function decodeInt64(E,R){var N=decodeIntBuffer(E,R);var j=$.default.fromBytesLE(N.value,false);q.free(N.value);return{value:j,nextIndex:N.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,R){return decodeBufferCommon(E,R,false)}function encodeUInt32(E){var R=q.alloc(4);R.writeUInt32LE(E,0);var N=encodeUIntBuffer(R);q.free(R);return N}function decodeUInt32(E,R){var N=decodeUIntBuffer(E,R);var $=q.readUInt(N.value);var j=$.value;q.free(N.value);if(j>ae){throw new Error("integer too large")}return{value:j,nextIndex:N.nextIndex}}function encodeUInt64(E){var R=q.alloc(8);q.writeUInt64(E,R);var N=encodeUIntBuffer(R);q.free(R);return N}function decodeUInt64(E,R){var N=decodeUIntBuffer(E,R);var j=$.default.fromBytesLE(N.value,true);q.free(N.value);return{value:j,nextIndex:N.nextIndex,lossy:false}}var le={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};R["default"]=le},85589:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R=65536){throw new Error("invalid UTF-8 encoding")}else{return R}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var R=_toArray(E),N=R[0],$=R.slice(1);if(N<128){return[code(0,N)].concat(_toConsumableArray(_decode($)))}if(N<192){throw new Error("invalid UTF-8 encoding")}}{var j=_toArray(E),q=j[0],G=j[1],ie=j.slice(2);if(q<224){return[code(128,((q&31)<<6)+con(G))].concat(_toConsumableArray(_decode(ie)))}}{var ae=_toArray(E),le=ae[0],_e=ae[1],Ee=ae[2],we=ae.slice(3);if(le<240){return[code(2048,((le&15)<<12)+(con(_e)<<6)+con(Ee))].concat(_toConsumableArray(_decode(we)))}}{var Ie=_toArray(E),Me=Ie[0],Te=Ie[1],Ne=Ie[2],Be=Ie[3],Le=Ie.slice(4);if(Me<248){return[code(65536,(((Me&7)<<18)+con(Te)<<12)+(con(Ne)<<6)+con(Be))].concat(_toConsumableArray(_decode(Le)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R>>6,con(N)].concat(_toConsumableArray(_encode($)))}if(N<65536){return[224|N>>>12,con(N>>>6),con(N)].concat(_toConsumableArray(_encode($)))}if(N<1114112){return[240|N>>>18,con(N>>>12),con(N>>>6),con(N)].concat(_toConsumableArray(_encode($)))}throw new Error("utf8")}},38040:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"decode",{enumerable:true,get:function get(){return $.decode}});Object.defineProperty(R,"encode",{enumerable:true,get:function get(){return j.encode}});var $=N(85589);var j=N(56264)},17467:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.applyOperations=applyOperations;var $=N(44166);var j=N(77445);var q=N(98093);var G=N(77246);var ie=N(3104);var ae=N(3930);function _sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"]!=null)G["return"]()}finally{if(j)throw q}}return N}function _slicedToArray(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,R){(0,q.assertHasLoc)(E);E.loc.start.column+=R;E.loc.end.column+=R}function applyUpdate(E,R,N){var G=_slicedToArray(N,2),le=G[0],_e=G[1];var Ee=0;(0,q.assertHasLoc)(le);var we=(0,ae.getSectionForNode)(_e);var Ie=(0,$.encodeNode)(_e);R=(0,ie.overrideBytesInBuffer)(R,le.loc.start.column,le.loc.end.column,Ie);if(we==="code"){(0,q.traverse)(E,{Func:function Func(E){var N=E.node;var G=N.body.find((function(E){return E===_e}))!==undefined;if(G===true){(0,q.assertHasLoc)(N);var ae=(0,$.encodeNode)(le).length;var Ee=Ie.length-ae;if(Ee!==0){var we=N.metadata.bodySize+Ee;var Me=(0,j.encodeU32)(we);var Te=N.loc.start.column;var Ne=Te+1;R=(0,ie.overrideBytesInBuffer)(R,Te,Ne,Me)}}}})}var Me=Ie.length-(le.loc.end.column-le.loc.start.column);_e.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};_e.loc.start.column=le.loc.start.column;_e.loc.end.column=le.loc.start.column+Ie.length;return{uint8Buffer:R,deltaBytes:Me,deltaElements:Ee}}function applyDelete(E,R,N){var $=-1;(0,q.assertHasLoc)(N);var j=(0,ae.getSectionForNode)(N);if(j==="start"){var le=(0,q.getSectionMetadata)(E,"start");R=(0,G.removeSections)(E,R,"start");var _e=-(le.size.value+1);return{uint8Buffer:R,deltaBytes:_e,deltaElements:$}}var Ee=[];R=(0,ie.overrideBytesInBuffer)(R,N.loc.start.column,N.loc.end.column,Ee);var we=-(N.loc.end.column-N.loc.start.column);return{uint8Buffer:R,deltaBytes:we,deltaElements:$}}function applyAdd(E,R,N){var j=+1;var le=(0,ae.getSectionForNode)(N);var _e=(0,q.getSectionMetadata)(E,le);if(typeof _e==="undefined"){var Ee=(0,G.createEmptySection)(E,R,le);R=Ee.uint8Buffer;_e=Ee.sectionMetadata}if((0,q.isFunc)(N)){var we=N.body;if(we.length===0||we[we.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,q.isGlobal)(N)){var we=N.init;if(we.length===0||we[we.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Ie=(0,$.encodeNode)(N);var Me=(0,q.getEndOfSection)(_e);var Te=Me;var Ne=Ie.length;R=(0,ie.overrideBytesInBuffer)(R,Me,Te,Ie);N.loc={start:{line:-1,column:Me},end:{line:-1,column:Me+Ne}};if(N.type==="Func"){var Be=Ie[0];N.metadata={bodySize:Be}}if(N.type!=="IndexInFuncSection"){(0,q.orderedInsertNode)(E.body[0],N)}return{uint8Buffer:R,deltaBytes:Ne,deltaElements:j}}function applyOperations(E,R,N){N.forEach((function($){var j;var q;switch($.kind){case"update":j=applyUpdate(E,R,[$.oldNode,$.node]);q=(0,ae.getSectionForNode)($.node);break;case"delete":j=applyDelete(E,R,$.node);q=(0,ae.getSectionForNode)($.node);break;case"add":j=applyAdd(E,R,$.node);q=(0,ae.getSectionForNode)($.node);break;default:throw new Error("Unknown operation")}if(j.deltaElements!==0&&q!=="start"){var ie=j.uint8Buffer.length;j.uint8Buffer=(0,G.resizeSectionVecSize)(E,j.uint8Buffer,q,j.deltaElements);j.deltaBytes+=j.uint8Buffer.length-ie}if(j.deltaBytes!==0&&q!=="start"){var le=j.uint8Buffer.length;j.uint8Buffer=(0,G.resizeSectionByteSize)(E,j.uint8Buffer,q,j.deltaBytes);j.deltaBytes+=j.uint8Buffer.length-le}if(j.deltaBytes!==0){N.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,j.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,j.deltaBytes);break}}))}R=j.uint8Buffer}));return R}},226:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.edit=edit;R.editWithAST=editWithAST;R.add=add;R.addWithAST=addWithAST;var $=N(73432);var j=N(98093);var q=N(70797);var G=N(53620);var ie=_interopRequireWildcard(N(3930));var ae=N(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var R=(0,G.shrinkPaddedLEB128)(new Uint8Array(E));return R.buffer}function sortBySectionOrder(E){var R=new Map;var N=true;var $=false;var j=undefined;try{for(var q=E[Symbol.iterator](),G;!(N=(G=q.next()).done);N=true){var ae=G.value;R.set(ae,R.size)}}catch(E){$=true;j=E}finally{try{if(!N&&q.return!=null){q.return()}}finally{if($){throw j}}}E.sort((function(E,N){var $=(0,ie.getSectionForNode)(E);var j=(0,ie.getSectionForNode)(N);var q=ie.default.sections[$];var G=ie.default.sections[j];if(typeof q!=="number"||typeof G!=="number"){throw new Error("Section id not found")}if(q===G){return R.get(E)-R.get(N)}return q-G}))}function edit(E,R){E=preprocess(E);var N=(0,$.decode)(E);return editWithAST(N,E,R)}function editWithAST(E,R,N){var $=[];var G=new Uint8Array(R);var ie;function before(E,R){ie=(0,q.cloneNode)(R.node)}function after(E,R){if(R.node._deleted===true){$.push({kind:"delete",node:R.node})}else if(hashNode(ie)!==hashNode(R.node)){$.push({kind:"update",oldNode:ie,node:R.node})}}(0,j.traverse)(E,N,before,after);G=(0,ae.applyOperations)(E,G,$);return G.buffer}function add(E,R){E=preprocess(E);var N=(0,$.decode)(E);return addWithAST(N,E,R)}function addWithAST(E,R,N){sortBySectionOrder(N);var $=new Uint8Array(R);var j=N.map((function(E){return{kind:"add",node:E}}));$=(0,ae.applyOperations)(E,$,j);return $.buffer}},77445:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeVersion=encodeVersion;R.encodeHeader=encodeHeader;R.encodeU32=encodeU32;R.encodeI32=encodeI32;R.encodeI64=encodeI64;R.encodeVec=encodeVec;R.encodeValtype=encodeValtype;R.encodeMutability=encodeMutability;R.encodeUTF8Vec=encodeUTF8Vec;R.encodeLimits=encodeLimits;R.encodeModuleImport=encodeModuleImport;R.encodeSectionMetadata=encodeSectionMetadata;R.encodeCallInstruction=encodeCallInstruction;R.encodeCallIndirectInstruction=encodeCallIndirectInstruction;R.encodeModuleExport=encodeModuleExport;R.encodeTypeInstruction=encodeTypeInstruction;R.encodeInstr=encodeInstr;R.encodeStringLiteral=encodeStringLiteral;R.encodeGlobal=encodeGlobal;R.encodeFuncBody=encodeFuncBody;R.encodeIndexInFuncSection=encodeIndexInFuncSection;R.encodeElem=encodeElem;var $=_interopRequireWildcard(N(39784));var j=_interopRequireWildcard(N(48));var q=_interopRequireWildcard(N(38040));var G=_interopRequireDefault(N(3930));var ie=N(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeNode=encodeNode;R.encodeU32=void 0;var $=_interopRequireWildcard(N(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function encodeNode(E){switch(E.type){case"ModuleImport":return $.encodeModuleImport(E);case"SectionMetadata":return $.encodeSectionMetadata(E);case"CallInstruction":return $.encodeCallInstruction(E);case"CallIndirectInstruction":return $.encodeCallIndirectInstruction(E);case"TypeInstruction":return $.encodeTypeInstruction(E);case"Instr":return $.encodeInstr(E);case"ModuleExport":return $.encodeModuleExport(E);case"Global":return $.encodeGlobal(E);case"Func":return $.encodeFuncBody(E);case"IndexInFuncSection":return $.encodeIndexInFuncSection(E);case"StringLiteral":return $.encodeStringLiteral(E);case"Elem":return $.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var j=$.encodeU32;R.encodeU32=j},53620:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=N(73432);var j=N(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,R){if(R&&(_typeof(R)==="object"||typeof R==="function")){return R}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,R){if(typeof R!=="function"&&R!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(R&&R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(R)Object.setPrototypeOf?Object.setPrototypeOf(E,R):E.__proto__=R}var q=function(E){_inherits(OptimizerError,E);function OptimizerError(E,R){var N;_classCallCheck(this,OptimizerError);N=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+R.message));N.stack=R.stack;return N}return OptimizerError}(Error);var G={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var R=(0,$.decode)(E.buffer,G);return(0,j.shrinkPaddedLEB128)(R,E)}catch(E){throw new q("shrinkPaddedLEB128",E)}}},25688:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=N(98093);var j=N(77445);var q=N(3104);function shiftFollowingSections(E,R,N){var j=R.section;var q=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===j){q=true;return}if(q===true){(0,$.shiftSection)(E,R.node,N)}}})}function shrinkPaddedLEB128(E,R){(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(N){var $=N.node;{var G=(0,j.encodeU32)($.size.value);var ie=G.length;var ae=$.size.loc.start.column;var le=$.size.loc.end.column;var _e=le-ae;if(ie!==_e){var Ee=_e-ie;R=(0,q.overrideBytesInBuffer)(R,ae,le,G);shiftFollowingSections(E,$,-Ee)}}}});return R}},13975:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;var $=N(35866);var j=_interopRequireWildcard(N(48));var q=_interopRequireWildcard(N(38040));var G=_interopRequireWildcard(N(98093));var ie=N(39784);var ae=_interopRequireDefault(N(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R=N.length}function eatBytes(E){_e=_e+E}function readBytesAtOffset(E,R){var $=[];for(var j=0;j>7?-1:1;var $=0;for(var q=0;q>7?-1:1;var $=0;for(var q=0;qN.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.magicModuleHeader,E)===false){throw new $.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||_e+4>N.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.moduleVersion,E)===false){throw new $.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var R=readU32();var N=R.value;eatBytes(R.nextIndex);dump([N],"number");if(N===0){return[]}var j=[];for(var q=0;q=40&&j<=64){if(q.name==="grow_memory"||q.name==="current_memory"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var _t=readU32();var xt=_t.value;eatBytes(_t.nextIndex);dump([xt],"align");var kt=readU32();var Et=kt.value;eatBytes(kt.nextIndex);dump([Et],"offset")}}else if(j>=65&&j<=68){if(q.object==="i32"){var wt=read32();var St=wt.value;eatBytes(wt.nextIndex);dump([St],"i32 value");_e.push(G.numberLiteralFromRaw(St))}if(q.object==="u32"){var At=readU32();var Ct=At.value;eatBytes(At.nextIndex);dump([Ct],"u32 value");_e.push(G.numberLiteralFromRaw(Ct))}if(q.object==="i64"){var Dt=read64();var It=Dt.value;eatBytes(Dt.nextIndex);dump([Number(It.toString())],"i64 value");var Mt=It.high,Pt=It.low;var Tt={type:"LongNumberLiteral",value:{high:Mt,low:Pt}};_e.push(Tt)}if(q.object==="u64"){var Ot=readU64();var Rt=Ot.value;eatBytes(Ot.nextIndex);dump([Number(Rt.toString())],"u64 value");var Ft=Rt.high,Nt=Rt.low;var Bt={type:"LongNumberLiteral",value:{high:Ft,low:Nt}};_e.push(Bt)}if(q.object==="f32"){var Lt=readF32();var $t=Lt.value;eatBytes(Lt.nextIndex);dump([$t],"f32 value");_e.push(G.floatLiteral($t,Lt.nan,Lt.inf,String($t)))}if(q.object==="f64"){var jt=readF64();var zt=jt.value;eatBytes(jt.nextIndex);dump([zt],"f64 value");_e.push(G.floatLiteral(zt,jt.nan,jt.inf,String(zt)))}}else if(j>=65024&&j<=65279){var Ut=readU32();var qt=Ut.value;eatBytes(Ut.nextIndex);dump([qt],"align");var Gt=readU32();var Ht=Gt.value;eatBytes(Gt.nextIndex);dump([Ht],"offset")}else{for(var Wt=0;Wt=E||E===ae.default.sections.custom){E=N+1}else{if(N!==ae.default.sections.custom)throw new $.CompileError("Unexpected section: "+toHex(N))}var j=E;var q=_e;var ie=getPosition();var le=readU32();var Ee=le.value;eatBytes(le.nextIndex);var we=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ee),E,ie)}();switch(N){case ae.default.sections.type:{dumpSep("section Type");dump([N],"section code");dump([Ee],"section size");var Ie=getPosition();var Me=readU32();var Te=Me.value;eatBytes(Me.nextIndex);var Ne=G.sectionMetadata("type",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Te),E,Ie)}());var Be=parseTypeSection(Te);return{nodes:Be,metadata:Ne,nextSectionIndex:j}}case ae.default.sections.table:{dumpSep("section Table");dump([N],"section code");dump([Ee],"section size");var Le=getPosition();var je=readU32();var ze=je.value;eatBytes(je.nextIndex);dump([ze],"num tables");var Ue=G.sectionMetadata("table",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(ze),E,Le)}());var qe=parseTableSection(ze);return{nodes:qe,metadata:Ue,nextSectionIndex:j}}case ae.default.sections.import:{dumpSep("section Import");dump([N],"section code");dump([Ee],"section size");var Ge=getPosition();var He=readU32();var We=He.value;eatBytes(He.nextIndex);dump([We],"number of imports");var Ve=G.sectionMetadata("import",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(We),E,Ge)}());var Ke=parseImportSection(We);return{nodes:Ke,metadata:Ve,nextSectionIndex:j}}case ae.default.sections.func:{dumpSep("section Function");dump([N],"section code");dump([Ee],"section size");var Qe=getPosition();var Je=readU32();var Xe=Je.value;eatBytes(Je.nextIndex);var Ye=G.sectionMetadata("func",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Xe),E,Qe)}());parseFuncSection(Xe);var Ze=[];return{nodes:Ze,metadata:Ye,nextSectionIndex:j}}case ae.default.sections.export:{dumpSep("section Export");dump([N],"section code");dump([Ee],"section size");var et=getPosition();var tt=readU32();var nt=tt.value;eatBytes(tt.nextIndex);var rt=G.sectionMetadata("export",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(nt),E,et)}());parseExportSection(nt);var st=[];return{nodes:st,metadata:rt,nextSectionIndex:j}}case ae.default.sections.code:{dumpSep("section Code");dump([N],"section code");dump([Ee],"section size");var it=getPosition();var ot=readU32();var lt=ot.value;eatBytes(ot.nextIndex);var ct=G.sectionMetadata("code",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(lt),E,it)}());if(R.ignoreCodeSection===true){var ut=Ee-ot.nextIndex;eatBytes(ut)}else{parseCodeSection(lt)}var pt=[];return{nodes:pt,metadata:ct,nextSectionIndex:j}}case ae.default.sections.start:{dumpSep("section Start");dump([N],"section code");dump([Ee],"section size");var dt=G.sectionMetadata("start",q,we);var ft=[parseStartSection()];return{nodes:ft,metadata:dt,nextSectionIndex:j}}case ae.default.sections.element:{dumpSep("section Element");dump([N],"section code");dump([Ee],"section size");var ht=getPosition();var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);var yt=G.sectionMetadata("element",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(gt),E,ht)}());var vt=parseElemSection(gt);return{nodes:vt,metadata:yt,nextSectionIndex:j}}case ae.default.sections.global:{dumpSep("section Global");dump([N],"section code");dump([Ee],"section size");var bt=getPosition();var _t=readU32();var xt=_t.value;eatBytes(_t.nextIndex);var kt=G.sectionMetadata("global",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(xt),E,bt)}());var Et=parseGlobalSection(xt);return{nodes:Et,metadata:kt,nextSectionIndex:j}}case ae.default.sections.memory:{dumpSep("section Memory");dump([N],"section code");dump([Ee],"section size");var wt=getPosition();var St=readU32();var At=St.value;eatBytes(St.nextIndex);var Ct=G.sectionMetadata("memory",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(At),E,wt)}());var Dt=parseMemorySection(At);return{nodes:Dt,metadata:Ct,nextSectionIndex:j}}case ae.default.sections.data:{dumpSep("section Data");dump([N],"section code");dump([Ee],"section size");var It=G.sectionMetadata("data",q,we);var Mt=getPosition();var Pt=readU32();var Tt=Pt.value;eatBytes(Pt.nextIndex);It.vectorOfSize=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Tt),E,Mt)}();if(R.ignoreDataSection===true){var Ot=Ee-Pt.nextIndex;eatBytes(Ot);dumpSep("ignore data ("+Ee+" bytes)");return{nodes:[],metadata:It,nextSectionIndex:j}}else{var Rt=parseDataSection(Tt);return{nodes:Rt,metadata:It,nextSectionIndex:j}}}case ae.default.sections.custom:{dumpSep("section Custom");dump([N],"section code");dump([Ee],"section size");var Ft=[G.sectionMetadata("custom",q,we)];var Nt=readUTF8String();eatBytes(Nt.nextIndex);dump([],"section name (".concat(Nt.value,")"));var Bt=Ee-Nt.nextIndex;if(Nt.value==="name"){var Lt=_e;try{Ft.push.apply(Ft,_toConsumableArray(parseNameSection(Bt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(_e,"; ignoring (").concat(E.message,")."));eatBytes(_e-(Lt+Bt))}}else if(Nt.value==="producers"){var $t=_e;try{Ft.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(_e,"; ignoring (").concat(E.message,")."));eatBytes(_e-($t+Bt))}}else{eatBytes(Bt);dumpSep("ignore custom "+JSON.stringify(Nt.value)+" section ("+Bt+" bytes)")}return{nodes:[],metadata:Ft,nextSectionIndex:j}}}throw new $.CompileError("Unexpected section: "+toHex(N))}parseModuleHeader();parseVersion();var we=[];var Ie=0;var Me={sections:[],functionNames:[],localNames:[],producers:[]};while(_e{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;var $=_interopRequireWildcard(N(13975));var j=_interopRequireWildcard(N(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}var q={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var R=[];j.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var N=E.node;R.push({name:N.value,index:N.index})}});if(R.length===0){return}j.traverse(E,{Func:function(E){function Func(R){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var N=E.node;var $=N.name;var j=$.value;var q=Number(j.replace("func_",""));var G=R.find((function(E){return E.index===q}));if(G){var ie=$.value;$.value=G.name;$.numeric=ie;delete $.raw}})),ModuleExport:function(E){function ModuleExport(R){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var N=E.node;if(N.descr.exportType==="Func"){var $=N.descr.id;var q=$.value;var G=R.find((function(E){return E.index===q}));if(G){N.descr.id=j.identifier(G.name)}}})),ModuleImport:function(E){function ModuleImport(R){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var N=E.node;if(N.descr.type==="FuncImportDescr"){var $=N.descr.id;var q=Number($.replace("func_",""));var G=R.find((function(E){return E.index===q}));if(G){N.descr.id=j.identifier(G.name)}}})),CallInstruction:function(E){function CallInstruction(R){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var N=E.node;var $=N.index.value;var q=R.find((function(E){return E.index===$}));if(q){var G=N.index;N.index=j.identifier(q.name);N.numeric=G;delete N.raw}}))})}function restoreLocalNames(E){var R=[];j.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var N=E.node;R.push({name:N.value,localIndex:N.localIndex,functionIndex:N.functionIndex})}});if(R.length===0){return}j.traverse(E,{Func:function(E){function Func(R){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var N=E.node;var $=N.signature;if($.type!=="Signature"){return}var j=N.name;var q=j.value;var G=Number(q.replace("func_",""));$.params.forEach((function(E,N){var $=R.find((function(E){return E.localIndex===N&&E.functionIndex===G}));if($&&$.name!==""){E.id=$.name}}))}))})}function restoreModuleName(E){j.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(R){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(R){j.traverse(E,{Module:function(E){function Module(R){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var N=E.node;var $=R.node.value;if($===""){$=null}N.id=$}))})}))})}function decode(E,R){var N=Object.assign({},q,R);var j=$.decode(E,N);if(N.ignoreCustomNameSection===false){restoreFunctionNames(j);restoreLocalNames(j);restoreModuleName(j)}return j}},3158:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.read=read;R.write=write;function read(E,R,N,$,j){var q,G;var ie=j*8-$-1;var ae=(1<>1;var _e=-7;var Ee=N?j-1:0;var we=N?-1:1;var Ie=E[R+Ee];Ee+=we;q=Ie&(1<<-_e)-1;Ie>>=-_e;_e+=ie;for(;_e>0;q=q*256+E[R+Ee],Ee+=we,_e-=8){}G=q&(1<<-_e)-1;q>>=-_e;_e+=$;for(;_e>0;G=G*256+E[R+Ee],Ee+=we,_e-=8){}if(q===0){q=1-le}else if(q===ae){return G?NaN:(Ie?-1:1)*Infinity}else{G=G+Math.pow(2,$);q=q-le}return(Ie?-1:1)*G*Math.pow(2,q-$)}function write(E,R,N,$,j,q){var G,ie,ae;var le=q*8-j-1;var _e=(1<>1;var we=j===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Ie=$?0:q-1;var Me=$?1:-1;var Te=R<0||R===0&&1/R<0?1:0;R=Math.abs(R);if(isNaN(R)||R===Infinity){ie=isNaN(R)?1:0;G=_e}else{G=Math.floor(Math.log(R)/Math.LN2);if(R*(ae=Math.pow(2,-G))<1){G--;ae*=2}if(G+Ee>=1){R+=we/ae}else{R+=we*Math.pow(2,1-Ee)}if(R*ae>=2){G++;ae/=2}if(G+Ee>=_e){ie=0;G=_e}else if(G+Ee>=1){ie=(R*ae-1)*Math.pow(2,j);G=G+Ee}else{ie=R*Math.pow(2,Ee-1)*Math.pow(2,j);G=0}}for(;j>=8;E[N+Ie]=ie&255,Ie+=Me,ie/=256,j-=8){}G=G<0;E[N+Ie]=G&255,Ie+=Me,G/=256,le-=8){}E[N+Ie-Me]|=Te*128}},11174:E=>{E.exports=Long;var R=null;try{R=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,R,N){this.low=E|0;this.high=R|0;this.unsigned=!!N}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var N={};var $={};function fromInt(E,R){var j,q,G;if(R){E>>>=0;if(G=0<=E&&E<256){q=$[E];if(q)return q}j=fromBits(E,(E|0)<0?-1:0,true);if(G)$[E]=j;return j}else{E|=0;if(G=-128<=E&&E<128){q=N[E];if(q)return q}j=fromBits(E,E<0?-1:0,false);if(G)N[E]=j;return j}}Long.fromInt=fromInt;function fromNumber(E,R){if(isNaN(E))return R?we:Ee;if(R){if(E<0)return we;if(E>=ae)return Be}else{if(E<=-le)return Le;if(E+1>=le)return Ne}if(E<0)return fromNumber(-E,R).neg();return fromBits(E%ie|0,E/ie|0,R)}Long.fromNumber=fromNumber;function fromBits(E,R,N){return new Long(E,R,N)}Long.fromBits=fromBits;var j=Math.pow;function fromString(E,R,N){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return Ee;if(typeof R==="number"){N=R,R=false}else{R=!!R}N=N||10;if(N<2||360)throw Error("interior hyphen");else if($===0){return fromString(E.substring(1),R,N).neg()}var q=fromNumber(j(N,8));var G=Ee;for(var ie=0;ie>>0:this.low};je.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ie+(this.low>>>0);return this.high*ie+(this.low>>>0)};je.toString=function toString(E){E=E||10;if(E<2||36>>0,_e=le.toString(E);G=ae;if(G.isZero())return _e+ie;else{while(_e.length<6)_e="0"+_e;ie=""+_e+ie}}};je.getHighBits=function getHighBits(){return this.high};je.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};je.getLowBits=function getLowBits(){return this.low};je.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};je.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Le)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var R=31;R>0;R--)if((E&1<=0};je.isOdd=function isOdd(){return(this.low&1)===1};je.isEven=function isEven(){return(this.low&1)===0};je.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};je.eq=je.equals;je.notEquals=function notEquals(E){return!this.eq(E)};je.neq=je.notEquals;je.ne=je.notEquals;je.lessThan=function lessThan(E){return this.comp(E)<0};je.lt=je.lessThan;je.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};je.lte=je.lessThanOrEqual;je.le=je.lessThanOrEqual;je.greaterThan=function greaterThan(E){return this.comp(E)>0};je.gt=je.greaterThan;je.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};je.gte=je.greaterThanOrEqual;je.ge=je.greaterThanOrEqual;je.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var R=this.isNegative(),N=E.isNegative();if(R&&!N)return-1;if(!R&&N)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};je.comp=je.compare;je.negate=function negate(){if(!this.unsigned&&this.eq(Le))return Le;return this.not().add(Ie)};je.neg=je.negate;je.add=function add(E){if(!isLong(E))E=fromValue(E);var R=this.high>>>16;var N=this.high&65535;var $=this.low>>>16;var j=this.low&65535;var q=E.high>>>16;var G=E.high&65535;var ie=E.low>>>16;var ae=E.low&65535;var le=0,_e=0,Ee=0,we=0;we+=j+ae;Ee+=we>>>16;we&=65535;Ee+=$+ie;_e+=Ee>>>16;Ee&=65535;_e+=N+G;le+=_e>>>16;_e&=65535;le+=R+q;le&=65535;return fromBits(Ee<<16|we,le<<16|_e,this.unsigned)};je.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};je.sub=je.subtract;je.multiply=function multiply(E){if(this.isZero())return Ee;if(!isLong(E))E=fromValue(E);if(R){var N=R["mul"](this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}if(E.isZero())return Ee;if(this.eq(Le))return E.isOdd()?Le:Ee;if(E.eq(Le))return this.isOdd()?Le:Ee;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(_e)&&E.lt(_e))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var $=this.high>>>16;var j=this.high&65535;var q=this.low>>>16;var G=this.low&65535;var ie=E.high>>>16;var ae=E.high&65535;var le=E.low>>>16;var we=E.low&65535;var Ie=0,Me=0,Te=0,Ne=0;Ne+=G*we;Te+=Ne>>>16;Ne&=65535;Te+=q*we;Me+=Te>>>16;Te&=65535;Te+=G*le;Me+=Te>>>16;Te&=65535;Me+=j*we;Ie+=Me>>>16;Me&=65535;Me+=q*le;Ie+=Me>>>16;Me&=65535;Me+=G*ae;Ie+=Me>>>16;Me&=65535;Ie+=$*we+j*le+q*ae+G*ie;Ie&=65535;return fromBits(Te<<16|Ne,Ie<<16|Me,this.unsigned)};je.mul=je.multiply;je.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(R){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var N=(this.unsigned?R["div_u"]:R["div_s"])(this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?we:Ee;var $,q,G;if(!this.unsigned){if(this.eq(Le)){if(E.eq(Ie)||E.eq(Te))return Le;else if(E.eq(Le))return Ie;else{var ie=this.shr(1);$=ie.div(E).shl(1);if($.eq(Ee)){return E.isNegative()?Ie:Te}else{q=this.sub(E.mul($));G=$.add(q.div(E));return G}}}else if(E.eq(Le))return this.unsigned?we:Ee;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();G=Ee}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return we;if(E.gt(this.shru(1)))return Me;G=we}q=this;while(q.gte(E)){$=Math.max(1,Math.floor(q.toNumber()/E.toNumber()));var ae=Math.ceil(Math.log($)/Math.LN2),le=ae<=48?1:j(2,ae-48),_e=fromNumber($),Ne=_e.mul(E);while(Ne.isNegative()||Ne.gt(q)){$-=le;_e=fromNumber($,this.unsigned);Ne=_e.mul(E)}if(_e.isZero())_e=Ie;G=G.add(_e);q=q.sub(Ne)}return G};je.div=je.divide;je.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(R){var N=(this.unsigned?R["rem_u"]:R["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};je.mod=je.modulo;je.rem=je.modulo;je.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};je.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};je.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};je.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};je.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<>>32-E,this.unsigned);else return fromBits(0,this.low<>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};je.shr=je.shiftRight;je.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};je.shru=je.shiftRightUnsigned;je.shr_u=je.shiftRightUnsigned;je.rotateLeft=function rotateLeft(E){var R;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){R=32-E;return fromBits(this.low<>>R,this.high<>>R,this.unsigned)}E-=32;R=32-E;return fromBits(this.high<>>R,this.low<>>R,this.unsigned)};je.rotl=je.rotateLeft;je.rotateRight=function rotateRight(E){var R;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){R=32-E;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)}E-=32;R=32-E;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)};je.rotr=je.rotateRight;je.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};je.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};je.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};je.toBytesLE=function toBytesLE(){var E=this.high,R=this.low;return[R&255,R>>>8&255,R>>>16&255,R>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};je.toBytesBE=function toBytesBE(){var E=this.high,R=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,R>>>24,R>>>16&255,R>>>8&255,R&255]};Long.fromBytes=function fromBytes(E,R,N){return N?Long.fromBytesLE(E,R):Long.fromBytesBE(E,R)};Long.fromBytesLE=function fromBytesLE(E,R){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,R)};Long.fromBytesBE=function fromBytesBE(E,R){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],R)}},20976:function(E,R){(function(E,N){true?N(R):0})(this,(function(E){"use strict";var R={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var N="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var $={5:N,"5module":N+" export import",6:N+" const class extends export import super"};var j=/^in(stanceof)?$/;var q="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var G="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ie=new RegExp("["+q+"]");var ae=new RegExp("["+q+G+"]");q=G=null;var le=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var _e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,R){var N=65536;for(var $=0;$E){return false}N+=R[$+1];if(N>=E){return true}}}function isIdentifierStart(E,R){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)}function isIdentifierChar(E,R){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)||isInAstralSet(E,_e)}var Ee=function TokenType(E,R){if(R===void 0)R={};this.label=E;this.keyword=R.keyword;this.beforeExpr=!!R.beforeExpr;this.startsExpr=!!R.startsExpr;this.isLoop=!!R.isLoop;this.isAssign=!!R.isAssign;this.prefix=!!R.prefix;this.postfix=!!R.postfix;this.binop=R.binop||null;this.updateContext=null};function binop(E,R){return new Ee(E,{beforeExpr:true,binop:R})}var we={beforeExpr:true},Ie={startsExpr:true};var Me={};function kw(E,R){if(R===void 0)R={};R.keyword=E;return Me[E]=new Ee(E,R)}var Te={num:new Ee("num",Ie),regexp:new Ee("regexp",Ie),string:new Ee("string",Ie),name:new Ee("name",Ie),eof:new Ee("eof"),bracketL:new Ee("[",{beforeExpr:true,startsExpr:true}),bracketR:new Ee("]"),braceL:new Ee("{",{beforeExpr:true,startsExpr:true}),braceR:new Ee("}"),parenL:new Ee("(",{beforeExpr:true,startsExpr:true}),parenR:new Ee(")"),comma:new Ee(",",we),semi:new Ee(";",we),colon:new Ee(":",we),dot:new Ee("."),question:new Ee("?",we),questionDot:new Ee("?."),arrow:new Ee("=>",we),template:new Ee("template"),invalidTemplate:new Ee("invalidTemplate"),ellipsis:new Ee("...",we),backQuote:new Ee("`",Ie),dollarBraceL:new Ee("${",{beforeExpr:true,startsExpr:true}),eq:new Ee("=",{beforeExpr:true,isAssign:true}),assign:new Ee("_=",{beforeExpr:true,isAssign:true}),incDec:new Ee("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new Ee("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Ee("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Ee("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",we),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",we),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",we),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ie),_if:kw("if"),_return:kw("return",we),_switch:kw("switch"),_throw:kw("throw",we),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ie),_super:kw("super",Ie),_class:kw("class",Ie),_extends:kw("extends",we),_export:kw("export"),_import:kw("import",Ie),_null:kw("null",Ie),_true:kw("true",Ie),_false:kw("false",Ie),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Be=new RegExp(Ne.source,"g");function isNewLine(E,R){return E===10||E===13||!R&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var ze=Object.prototype;var Ue=ze.hasOwnProperty;var qe=ze.toString;function has(E,R){return Ue.call(E,R)}var Ge=Array.isArray||function(E){return qe.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var He=function Position(E,R){this.line=E;this.column=R};He.prototype.offset=function offset(E){return new He(this.line,this.column+E)};var We=function SourceLocation(E,R,N){this.start=R;this.end=N;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,R){for(var N=1,$=0;;){Be.lastIndex=$;var j=Be.exec(E);if(j&&j.index=2015){R.ecmaVersion-=2009}if(R.allowReserved==null){R.allowReserved=R.ecmaVersion<5}if(Ge(R.onToken)){var $=R.onToken;R.onToken=function(E){return $.push(E)}}if(Ge(R.onComment)){R.onComment=pushComment(R,R.onComment)}return R}function pushComment(E,R){return function(N,$,j,q,G,ie){var ae={type:N?"Block":"Line",value:$,start:j,end:q};if(E.locations){ae.loc=new We(this,G,ie)}if(E.ranges){ae.range=[j,q]}R.push(ae)}}var Ke=1,Qe=2,Je=Ke|Qe,Xe=4,Ye=8,Ze=16,et=32,tt=64,nt=128;function functionFlags(E,R){return Qe|(E?Xe:0)|(R?Ye:0)}var rt=0,st=1,it=2,ot=3,lt=4,ct=5;var ut=function Parser(E,N,j){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp($[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){for(var G=E.ecmaVersion;;G--){if(q=R[G]){break}}if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var ie=(q?q+" ":"")+R.strict;this.reservedWordsStrict=wordsRegexp(ie);this.reservedWordsStrictBind=wordsRegexp(ie+" "+R.strictBind);this.input=String(N);this.containsEsc=false;if(j){this.pos=j;this.lineStart=this.input.lastIndexOf("\n",j-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Te.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Ke);this.regexpState=null};var pt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};ut.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};pt.inFunction.get=function(){return(this.currentVarScope().flags&Qe)>0};pt.inGenerator.get=function(){return(this.currentVarScope().flags&Ye)>0};pt.inAsync.get=function(){return(this.currentVarScope().flags&Xe)>0};pt.allowSuper.get=function(){return(this.currentThisScope().flags&tt)>0};pt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&nt)>0};pt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ut.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&Qe)>0};ut.extend=function extend(){var E=[],R=arguments.length;while(R--)E[R]=arguments[R];var N=this;for(var $=0;$=,?^&]/.test(j)||j==="!"&&this.input.charAt($+1)==="=")}E+=R[0].length;je.lastIndex=E;E+=je.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};dt.eat=function(E){if(this.type===E){this.next();return true}else{return false}};dt.isContextual=function(E){return this.type===Te.name&&this.value===E&&!this.containsEsc};dt.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};dt.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};dt.canInsertSemicolon=function(){return this.type===Te.eof||this.type===Te.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};dt.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};dt.semicolon=function(){if(!this.eat(Te.semi)&&!this.insertSemicolon()){this.unexpected()}};dt.afterTrailingComma=function(E,R){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!R){this.next()}return true}};dt.expect=function(E){this.eat(E)||this.unexpected()};dt.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}dt.checkPatternErrors=function(E,R){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var N=R?E.parenthesizedAssign:E.parenthesizedBind;if(N>-1){this.raiseRecoverable(N,"Parenthesized pattern")}};dt.checkExpressionErrors=function(E,R){if(!E){return false}var N=E.shorthandAssign;var $=E.doubleProto;if(!R){return N>=0||$>=0}if(N>=0){this.raise(N,"Shorthand property assignments are valid only in destructuring patterns")}if($>=0){this.raiseRecoverable($,"Redefinition of __proto__ property")}};dt.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(j,false,!E);case Te._class:if(E){this.unexpected()}return this.parseClass(j,true);case Te._if:return this.parseIfStatement(j);case Te._return:return this.parseReturnStatement(j);case Te._switch:return this.parseSwitchStatement(j);case Te._throw:return this.parseThrowStatement(j);case Te._try:return this.parseTryStatement(j);case Te._const:case Te._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement(j,q);case Te._while:return this.parseWhileStatement(j);case Te._with:return this.parseWithStatement(j);case Te.braceL:return this.parseBlock(true,j);case Te.semi:return this.parseEmptyStatement(j);case Te._export:case Te._import:if(this.options.ecmaVersion>10&&$===Te._import){je.lastIndex=this.pos;var G=je.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement(j,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!R){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return $===Te._import?this.parseImport(j):this.parseExport(j,N);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement(j,true,!E)}var le=this.value,_e=this.parseExpression();if($===Te.name&&_e.type==="Identifier"&&this.eat(Te.colon)){return this.parseLabeledStatement(j,le,_e,E)}else{return this.parseExpressionStatement(j,_e)}}};ht.parseBreakContinueStatement=function(E,R){var N=R==="break";this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Te.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var $=0;for(;$=6){this.eat(Te.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};ht.parseForStatement=function(E){this.next();var R=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(mt);this.enterScope(0);this.expect(Te.parenL);if(this.type===Te.semi){if(R>-1){this.unexpected(R)}return this.parseFor(E,null)}var N=this.isLet();if(this.type===Te._var||this.type===Te._const||N){var $=this.startNode(),j=N?"let":this.value;this.next();this.parseVar($,true,j);this.finishNode($,"VariableDeclaration");if((this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&$.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}return this.parseForIn(E,$)}if(R>-1){this.unexpected(R)}return this.parseFor(E,$)}var q=new DestructuringErrors;var G=this.parseExpression(true,q);if(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}this.toAssignable(G,false,q);this.checkLVal(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(R>-1){this.unexpected(R)}return this.parseFor(E,G)};ht.parseFunctionStatement=function(E,R,N){this.next();return this.parseFunction(E,vt|(N?0:bt),false,R)};ht.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Te._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};ht.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};ht.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Te.braceL);this.labels.push(gt);this.enterScope(0);var R;for(var N=false;this.type!==Te.braceR;){if(this.type===Te._case||this.type===Te._default){var $=this.type===Te._case;if(R){this.finishNode(R,"SwitchCase")}E.cases.push(R=this.startNode());R.consequent=[];this.next();if($){R.test=this.parseExpression()}else{if(N){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}N=true;R.test=null}this.expect(Te.colon)}else{if(!R){this.unexpected()}R.consequent.push(this.parseStatement(null))}}this.exitScope();if(R){this.finishNode(R,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};ht.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var yt=[];ht.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Te._catch){var R=this.startNode();this.next();if(this.eat(Te.parenL)){R.param=this.parseBindingAtom();var N=R.param.type==="Identifier";this.enterScope(N?et:0);this.checkLVal(R.param,N?lt:it);this.expect(Te.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}R.param=null;this.enterScope(0)}R.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(R,"CatchClause")}E.finalizer=this.eat(Te._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};ht.parseVarStatement=function(E,R){this.next();this.parseVar(E,false,R);this.semicolon();return this.finishNode(E,"VariableDeclaration")};ht.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(mt);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};ht.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};ht.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};ht.parseLabeledStatement=function(E,R,N,$){for(var j=0,q=this.labels;j=0;ae--){var le=this.labels[ae];if(le.statementStart===E.start){le.statementStart=this.start;le.kind=ie}else{break}}this.labels.push({name:R,kind:ie,statementStart:this.start});E.body=this.parseStatement($?$.indexOf("label")===-1?$+"label":$:"label");this.labels.pop();E.label=N;return this.finishNode(E,"LabeledStatement")};ht.parseExpressionStatement=function(E,R){E.expression=R;this.semicolon();return this.finishNode(E,"ExpressionStatement")};ht.parseBlock=function(E,R,N){if(E===void 0)E=true;if(R===void 0)R=this.startNode();R.body=[];this.expect(Te.braceL);if(E){this.enterScope(0)}while(this.type!==Te.braceR){var $=this.parseStatement(null);R.body.push($)}if(N){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(R,"BlockStatement")};ht.parseFor=function(E,R){E.init=R;this.expect(Te.semi);E.test=this.type===Te.semi?null:this.parseExpression();this.expect(Te.semi);E.update=this.type===Te.parenR?null:this.parseExpression();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};ht.parseForIn=function(E,R){var N=this.type===Te._in;this.next();if(R.type==="VariableDeclaration"&&R.declarations[0].init!=null&&(!N||this.options.ecmaVersion<8||this.strict||R.kind!=="var"||R.declarations[0].id.type!=="Identifier")){this.raise(R.start,(N?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(R.type==="AssignmentPattern"){this.raise(R.start,"Invalid left-hand side in for-loop")}E.left=R;E.right=N?this.parseExpression():this.parseMaybeAssign();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,N?"ForInStatement":"ForOfStatement")};ht.parseVar=function(E,R,N){E.declarations=[];E.kind=N;for(;;){var $=this.startNode();this.parseVarId($,N);if(this.eat(Te.eq)){$.init=this.parseMaybeAssign(R)}else if(N==="const"&&!(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if($.id.type!=="Identifier"&&!(R&&(this.type===Te._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{$.init=null}E.declarations.push(this.finishNode($,"VariableDeclarator"));if(!this.eat(Te.comma)){break}}return E};ht.parseVarId=function(E,R){E.id=this.parseBindingAtom();this.checkLVal(E.id,R==="var"?st:it,false)};var vt=1,bt=2,_t=4;ht.parseFunction=function(E,R,N,$){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!$){if(this.type===Te.star&&R&bt){this.unexpected()}E.generator=this.eat(Te.star)}if(this.options.ecmaVersion>=8){E.async=!!$}if(R&vt){E.id=R&_t&&this.type!==Te.name?null:this.parseIdent();if(E.id&&!(R&bt)){this.checkLVal(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?st:it:ot)}}var j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(R&vt)){E.id=this.type===Te.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,N,false);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,R&vt?"FunctionDeclaration":"FunctionExpression")};ht.parseFunctionParams=function(E){this.expect(Te.parenL);E.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ht.parseClass=function(E,R){this.next();var N=this.strict;this.strict=true;this.parseClassId(E,R);this.parseClassSuper(E);var $=this.startNode();var j=false;$.body=[];this.expect(Te.braceL);while(this.type!==Te.braceR){var q=this.parseClassElement(E.superClass!==null);if(q){$.body.push(q);if(q.type==="MethodDefinition"&&q.kind==="constructor"){if(j){this.raise(q.start,"Duplicate constructor in the same class")}j=true}}}this.strict=N;this.next();E.body=this.finishNode($,"ClassBody");return this.finishNode(E,R?"ClassDeclaration":"ClassExpression")};ht.parseClassElement=function(E){var R=this;if(this.eat(Te.semi)){return null}var N=this.startNode();var tryContextual=function(E,$){if($===void 0)$=false;var j=R.start,q=R.startLoc;if(!R.eatContextual(E)){return false}if(R.type!==Te.parenL&&(!$||!R.canInsertSemicolon())){return true}if(N.key){R.unexpected()}N.computed=false;N.key=R.startNodeAt(j,q);N.key.name=E;R.finishNode(N.key,"Identifier");return false};N.kind="method";N.static=tryContextual("static");var $=this.eat(Te.star);var j=false;if(!$){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){j=true;$=this.options.ecmaVersion>=9&&this.eat(Te.star)}else if(tryContextual("get")){N.kind="get"}else if(tryContextual("set")){N.kind="set"}}if(!N.key){this.parsePropertyName(N)}var q=N.key;var G=false;if(!N.computed&&!N.static&&(q.type==="Identifier"&&q.name==="constructor"||q.type==="Literal"&&q.value==="constructor")){if(N.kind!=="method"){this.raise(q.start,"Constructor can't have get/set modifier")}if($){this.raise(q.start,"Constructor can't be a generator")}if(j){this.raise(q.start,"Constructor can't be an async method")}N.kind="constructor";G=E}else if(N.static&&q.type==="Identifier"&&q.name==="prototype"){this.raise(q.start,"Classes may not have a static property named prototype")}this.parseClassMethod(N,$,j,G);if(N.kind==="get"&&N.value.params.length!==0){this.raiseRecoverable(N.value.start,"getter should have no params")}if(N.kind==="set"&&N.value.params.length!==1){this.raiseRecoverable(N.value.start,"setter should have exactly one param")}if(N.kind==="set"&&N.value.params[0].type==="RestElement"){this.raiseRecoverable(N.value.params[0].start,"Setter cannot use rest params")}return N};ht.parseClassMethod=function(E,R,N,$){E.value=this.parseMethod(R,N,$);return this.finishNode(E,"MethodDefinition")};ht.parseClassId=function(E,R){if(this.type===Te.name){E.id=this.parseIdent();if(R){this.checkLVal(E.id,it,false)}}else{if(R===true){this.unexpected()}E.id=null}};ht.parseClassSuper=function(E){E.superClass=this.eat(Te._extends)?this.parseExprSubscripts():null};ht.parseExport=function(E,R){this.next();if(this.eat(Te.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Te._default)){this.checkExport(R,"default",this.lastTokStart);var N;if(this.type===Te._function||(N=this.isAsyncFunction())){var $=this.startNode();this.next();if(N){this.next()}E.declaration=this.parseFunction($,vt|_t,false,N)}else if(this.type===Te._class){var j=this.startNode();E.declaration=this.parseClass(j,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(N){this.checkPatternErrors(N,true)}for(var $=0,j=E.properties;$=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Te._function)){return this.parseFunction(this.startNodeAt($,j),0,false,true)}if(N&&!this.canInsertSemicolon()){if(this.eat(Te.arrow)){return this.parseArrowExpression(this.startNodeAt($,j),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Te.name&&!q){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Te.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt($,j),[G],true)}}return G;case Te.regexp:var ie=this.value;R=this.parseLiteral(ie.value);R.regex={pattern:ie.pattern,flags:ie.flags};return R;case Te.num:case Te.string:return this.parseLiteral(this.value);case Te._null:case Te._true:case Te._false:R=this.startNode();R.value=this.type===Te._null?null:this.type===Te._true;R.raw=this.type.keyword;this.next();return this.finishNode(R,"Literal");case Te.parenL:var ae=this.start,le=this.parseParenAndDistinguishExpression(N);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(le)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return le;case Te.bracketL:R=this.startNode();this.next();R.elements=this.parseExprList(Te.bracketR,true,true,E);return this.finishNode(R,"ArrayExpression");case Te.braceL:return this.parseObj(false,E);case Te._function:R=this.startNode();this.next();return this.parseFunction(R,0);case Te._class:return this.parseClass(this.startNode(),false);case Te._new:return this.parseNew();case Te.backQuote:return this.parseTemplate();case Te._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};kt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var R=this.parseIdent(true);switch(this.type){case Te.parenL:return this.parseDynamicImport(E);case Te.dot:E.meta=R;return this.parseImportMeta(E);default:this.unexpected()}};kt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Te.parenR)){var R=this.start;if(this.eat(Te.comma)&&this.eat(Te.parenR)){this.raiseRecoverable(R,"Trailing comma is not allowed in import()")}else{this.unexpected(R)}}return this.finishNode(E,"ImportExpression")};kt.parseImportMeta=function(E){this.next();var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(R){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};kt.parseLiteral=function(E){var R=this.startNode();R.value=E;R.raw=this.input.slice(this.start,this.end);if(R.raw.charCodeAt(R.raw.length-1)===110){R.bigint=R.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(R,"Literal")};kt.parseParenExpression=function(){this.expect(Te.parenL);var E=this.parseExpression();this.expect(Te.parenR);return E};kt.parseParenAndDistinguishExpression=function(E){var R=this.start,N=this.startLoc,$,j=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,le=false;var _e=new DestructuringErrors,Ee=this.yieldPos,we=this.awaitPos,Ie;this.yieldPos=0;this.awaitPos=0;while(this.type!==Te.parenR){ae?ae=false:this.expect(Te.comma);if(j&&this.afterTrailingComma(Te.parenR,true)){le=true;break}else if(this.type===Te.ellipsis){Ie=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,_e,this.parseParenItem))}}var Me=this.start,Ne=this.startLoc;this.expect(Te.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Te.arrow)){this.checkPatternErrors(_e,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=Ee;this.awaitPos=we;return this.parseParenArrowList(R,N,ie)}if(!ie.length||le){this.unexpected(this.lastTokStart)}if(Ie){this.unexpected(Ie)}this.checkExpressionErrors(_e,true);this.yieldPos=Ee||this.yieldPos;this.awaitPos=we||this.awaitPos;if(ie.length>1){$=this.startNodeAt(q,G);$.expressions=ie;this.finishNodeAt($,"SequenceExpression",Me,Ne)}else{$=ie[0]}}else{$=this.parseParenExpression()}if(this.options.preserveParens){var Be=this.startNodeAt(R,N);Be.expression=$;return this.finishNode(Be,"ParenthesizedExpression")}else{return $}};kt.parseParenItem=function(E){return E};kt.parseParenArrowList=function(E,R,N){return this.parseArrowExpression(this.startNodeAt(E,R),N)};var Et=[];kt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var R=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Te.dot)){E.meta=R;var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(N){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var $=this.start,j=this.startLoc,q=this.type===Te._import;E.callee=this.parseSubscripts(this.parseExprAtom(),$,j,true);if(q&&E.callee.type==="ImportExpression"){this.raise($,"Cannot use new with import()")}if(this.eat(Te.parenL)){E.arguments=this.parseExprList(Te.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=Et}return this.finishNode(E,"NewExpression")};kt.parseTemplateElement=function(E){var R=E.isTagged;var N=this.startNode();if(this.type===Te.invalidTemplate){if(!R){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}N.value={raw:this.value,cooked:null}}else{N.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();N.tail=this.type===Te.backQuote;return this.finishNode(N,"TemplateElement")};kt.parseTemplate=function(E){if(E===void 0)E={};var R=E.isTagged;if(R===void 0)R=false;var N=this.startNode();this.next();N.expressions=[];var $=this.parseTemplateElement({isTagged:R});N.quasis=[$];while(!$.tail){if(this.type===Te.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Te.dollarBraceL);N.expressions.push(this.parseExpression());this.expect(Te.braceR);N.quasis.push($=this.parseTemplateElement({isTagged:R}))}this.next();return this.finishNode(N,"TemplateLiteral")};kt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Te.name||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Te.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};kt.parseObj=function(E,R){var N=this.startNode(),$=true,j={};N.properties=[];this.next();while(!this.eat(Te.braceR)){if(!$){this.expect(Te.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Te.braceR)){break}}else{$=false}var q=this.parseProperty(E,R);if(!E){this.checkPropClash(q,j,R)}N.properties.push(q)}return this.finishNode(N,E?"ObjectPattern":"ObjectExpression")};kt.parseProperty=function(E,R){var N=this.startNode(),$,j,q,G;if(this.options.ecmaVersion>=9&&this.eat(Te.ellipsis)){if(E){N.argument=this.parseIdent(false);if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(N,"RestElement")}if(this.type===Te.parenL&&R){if(R.parenthesizedAssign<0){R.parenthesizedAssign=this.start}if(R.parenthesizedBind<0){R.parenthesizedBind=this.start}}N.argument=this.parseMaybeAssign(false,R);if(this.type===Te.comma&&R&&R.trailingComma<0){R.trailingComma=this.start}return this.finishNode(N,"SpreadElement")}if(this.options.ecmaVersion>=6){N.method=false;N.shorthand=false;if(E||R){q=this.start;G=this.startLoc}if(!E){$=this.eat(Te.star)}}var ie=this.containsEsc;this.parsePropertyName(N);if(!E&&!ie&&this.options.ecmaVersion>=8&&!$&&this.isAsyncProp(N)){j=true;$=this.options.ecmaVersion>=9&&this.eat(Te.star);this.parsePropertyName(N,R)}else{j=false}this.parsePropertyValue(N,E,$,j,q,G,R,ie);return this.finishNode(N,"Property")};kt.parsePropertyValue=function(E,R,N,$,j,q,G,ie){if((N||$)&&this.type===Te.colon){this.unexpected()}if(this.eat(Te.colon)){E.value=R?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Te.parenL){if(R){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(N,$)}else if(!R&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Te.comma&&this.type!==Te.braceR&&this.type!==Te.eq)){if(N||$){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var le=E.value.start;if(E.kind==="get"){this.raiseRecoverable(le,"getter should have no params")}else{this.raiseRecoverable(le,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(N||$){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=j}E.kind="init";if(R){E.value=this.parseMaybeDefault(j,q,E.key)}else if(this.type===Te.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault(j,q,E.key)}else{E.value=E.key}E.shorthand=true}else{this.unexpected()}};kt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Te.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Te.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Te.num||this.type===Te.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};kt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};kt.parseMethod=function(E,R,N){var $=this.startNode(),j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction($);if(this.options.ecmaVersion>=6){$.generator=E}if(this.options.ecmaVersion>=8){$.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(R,$.generator)|tt|(N?nt:0));this.expect(Te.parenL);$.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody($,false,true);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode($,"FunctionExpression")};kt.parseArrowExpression=function(E,R,N){var $=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(N,false)|Ze);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(R,true);this.parseFunctionBody(E,true,false);this.yieldPos=$;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};kt.parseFunctionBody=function(E,R,N){var $=R&&this.type!==Te.braceL;var j=this.strict,q=false;if($){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!j||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!j&&!q&&!R&&!N&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLVal(E.id,ct)}E.body=this.parseBlock(false,undefined,q&&!j);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};kt.isSimpleParamList=function(E){for(var R=0,N=E;R-1||j.functions.indexOf(E)>-1||j.var.indexOf(E)>-1;j.lexical.push(E);if(this.inModule&&j.flags&Ke){delete this.undefinedExports[E]}}else if(R===lt){var q=this.currentScope();q.lexical.push(E)}else if(R===ot){var G=this.currentScope();if(this.treatFunctionsAsVar){$=G.lexical.indexOf(E)>-1}else{$=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&et&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){$=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Ke){delete this.undefinedExports[E]}if(ae.flags&Je){break}}}if($){this.raiseRecoverable(N,"Identifier '"+E+"' has already been declared")}};St.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};St.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};St.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Je){return R}}};St.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Je&&!(R.flags&Ze)){return R}}};var Ct=function Node(E,R,N){this.type="";this.start=R;this.end=0;if(E.options.locations){this.loc=new We(E,N)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[R,0]}};var Dt=ut.prototype;Dt.startNode=function(){return new Ct(this,this.start,this.startLoc)};Dt.startNodeAt=function(E,R){return new Ct(this,E,R)};function finishNodeAt(E,R,N,$){E.type=R;E.end=N;if(this.options.locations){E.loc.end=$}if(this.options.ranges){E.range[1]=N}return E}Dt.finishNode=function(E,R){return finishNodeAt.call(this,E,R,this.lastTokEnd,this.lastTokEndLoc)};Dt.finishNodeAt=function(E,R,N,$){return finishNodeAt.call(this,E,R,N,$)};var It=function TokContext(E,R,N,$,j){this.token=E;this.isExpr=!!R;this.preserveSpace=!!N;this.override=$;this.generator=!!j};var Mt={b_stat:new It("{",false),b_expr:new It("{",true),b_tmpl:new It("${",false),p_stat:new It("(",false),p_expr:new It("(",true),q_tmpl:new It("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new It("function",false),f_expr:new It("function",true),f_expr_gen:new It("function",true,false,null,true),f_gen:new It("function",false,false,null,true)};var Pt=ut.prototype;Pt.initialContext=function(){return[Mt.b_stat]};Pt.braceIsBlock=function(E){var R=this.curContext();if(R===Mt.f_expr||R===Mt.f_stat){return true}if(E===Te.colon&&(R===Mt.b_stat||R===Mt.b_expr)){return!R.isExpr}if(E===Te._return||E===Te.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Te._else||E===Te.semi||E===Te.eof||E===Te.parenR||E===Te.arrow){return true}if(E===Te.braceL){return R===Mt.b_stat}if(E===Te._var||E===Te._const||E===Te.name){return false}return!this.exprAllowed};Pt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var R=this.context[E];if(R.token==="function"){return R.generator}}return false};Pt.updateContext=function(E){var R,N=this.type;if(N.keyword&&E===Te.dot){this.exprAllowed=false}else if(R=N.updateContext){R.call(this,E)}else{this.exprAllowed=N.beforeExpr}};Te.parenR.updateContext=Te.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===Mt.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Te.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?Mt.b_stat:Mt.b_expr);this.exprAllowed=true};Te.dollarBraceL.updateContext=function(){this.context.push(Mt.b_tmpl);this.exprAllowed=true};Te.parenL.updateContext=function(E){var R=E===Te._if||E===Te._for||E===Te._with||E===Te._while;this.context.push(R?Mt.p_stat:Mt.p_expr);this.exprAllowed=true};Te.incDec.updateContext=function(){};Te._function.updateContext=Te._class.updateContext=function(E){if(E.beforeExpr&&E!==Te.semi&&E!==Te._else&&!(E===Te._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Te.colon||E===Te.braceL)&&this.curContext()===Mt.b_stat)){this.context.push(Mt.f_expr)}else{this.context.push(Mt.f_stat)}this.exprAllowed=false};Te.backQuote.updateContext=function(){if(this.curContext()===Mt.q_tmpl){this.context.pop()}else{this.context.push(Mt.q_tmpl)}this.exprAllowed=false};Te.star.updateContext=function(E){if(E===Te._function){var R=this.context.length-1;if(this.context[R]===Mt.f_expr){this.context[R]=Mt.f_expr_gen}else{this.context[R]=Mt.f_gen}}this.exprAllowed=true};Te.name.updateContext=function(E){var R=false;if(this.options.ecmaVersion>=6&&E!==Te.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){R=true}}this.exprAllowed=R};var Tt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Ot=Tt+" Extended_Pictographic";var Rt=Ot;var Ft={9:Tt,10:Ot,11:Rt};var Nt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Bt="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Lt=Bt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var $t=Lt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var jt={9:Bt,10:Lt,11:$t};var zt={};function buildUnicodeData(E){var R=zt[E]={binary:wordsRegexp(Ft[E]+" "+Nt),nonBinary:{General_Category:wordsRegexp(Nt),Script:wordsRegexp(jt[E])}};R.nonBinary.Script_Extensions=R.nonBinary.Script;R.nonBinary.gc=R.nonBinary.General_Category;R.nonBinary.sc=R.nonBinary.Script;R.nonBinary.scx=R.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var Ut=ut.prototype;var qt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"");this.unicodeProperties=zt[E.options.ecmaVersion>=11?11:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};qt.prototype.reset=function reset(E,R,N){var $=N.indexOf("u")!==-1;this.start=E|0;this.source=R+"";this.flags=N;this.switchU=$&&this.parser.options.ecmaVersion>=6;this.switchN=$&&this.parser.options.ecmaVersion>=9};qt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};qt.prototype.at=function at(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return-1}var j=N.charCodeAt(E);if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$){return j}var q=N.charCodeAt(E+1);return q>=56320&&q<=57343?(j<<10)+q-56613888:j};qt.prototype.nextIndex=function nextIndex(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return $}var j=N.charCodeAt(E),q;if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$||(q=N.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};qt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};qt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};qt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};qt.prototype.eat=function eat(E,R){if(R===void 0)R=false;if(this.current(R)===E){this.advance(R);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Ut.validateRegExpFlags=function(E){var R=E.validFlags;var N=E.flags;for(var $=0;$-1){this.raise(E.start,"Duplicate regular expression flag")}}};Ut.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};Ut.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var R=0,N=E.backReferenceNames;R=9){N=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!N;return true}}E.pos=R;return false};Ut.regexp_eatQuantifier=function(E,R){if(R===void 0)R=false;if(this.regexp_eatQuantifierPrefix(E,R)){E.eat(63);return true}return false};Ut.regexp_eatQuantifierPrefix=function(E,R){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,R)};Ut.regexp_eatBracedQuantifier=function(E,R){var N=E.pos;if(E.eat(123)){var $=0,j=-1;if(this.regexp_eatDecimalDigits(E)){$=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){j=E.lastIntValue}if(E.eat(125)){if(j!==-1&&j<$&&!R){E.raise("numbers out of order in {} quantifier")}return true}}if(E.switchU&&!R){E.raise("Incomplete quantifier")}E.pos=N}return false};Ut.regexp_eatAtom=function(E){return this.regexp_eatPatternCharacters(E)||E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)};Ut.regexp_eatReverseSolidusAtomEscape=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatAtomEscape(E)){return true}E.pos=R}return false};Ut.regexp_eatUncapturingGroup=function(E){var R=E.pos;if(E.eat(40)){if(E.eat(63)&&E.eat(58)){this.regexp_disjunction(E);if(E.eat(41)){return true}E.raise("Unterminated group")}E.pos=R}return false};Ut.regexp_eatCapturingGroup=function(E){if(E.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};Ut.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};Ut.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};Ut.regexp_eatSyntaxCharacter=function(E){var R=E.current();if(isSyntaxCharacter(R)){E.lastIntValue=R;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}Ut.regexp_eatPatternCharacters=function(E){var R=E.pos;var N=0;while((N=E.current())!==-1&&!isSyntaxCharacter(N)){E.advance()}return E.pos!==R};Ut.regexp_eatExtendedPatternCharacter=function(E){var R=E.current();if(R!==-1&&R!==36&&!(R>=40&&R<=43)&&R!==46&&R!==63&&R!==91&&R!==94&&R!==124){E.advance();return true}return false};Ut.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};Ut.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};Ut.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};Ut.regexp_eatRegExpIdentifierStart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierStart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}Ut.regexp_eatRegExpIdentifierPart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierPart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}Ut.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};Ut.regexp_eatBackReference=function(E){var R=E.pos;if(this.regexp_eatDecimalEscape(E)){var N=E.lastIntValue;if(E.switchU){if(N>E.maxBackReference){E.maxBackReference=N}return true}if(N<=E.numCapturingParens){return true}E.pos=R}return false};Ut.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};Ut.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};Ut.regexp_eatCControlLetter=function(E){var R=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=R}return false};Ut.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};Ut.regexp_eatControlEscape=function(E){var R=E.current();if(R===116){E.lastIntValue=9;E.advance();return true}if(R===110){E.lastIntValue=10;E.advance();return true}if(R===118){E.lastIntValue=11;E.advance();return true}if(R===102){E.lastIntValue=12;E.advance();return true}if(R===114){E.lastIntValue=13;E.advance();return true}return false};Ut.regexp_eatControlLetter=function(E){var R=E.current();if(isControlLetter(R)){E.lastIntValue=R%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}Ut.regexp_eatRegExpUnicodeEscapeSequence=function(E,R){if(R===void 0)R=false;var N=E.pos;var $=R||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var j=E.lastIntValue;if($&&j>=55296&&j<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=(j-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=j}return true}if($&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if($){E.raise("Invalid unicode escape")}E.pos=N}return false};function isValidUnicode(E){return E>=0&&E<=1114111}Ut.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var R=E.current();if(R!==99&&(!E.switchN||R!==107)){E.lastIntValue=R;E.advance();return true}return false};Ut.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var R=E.current();if(R>=49&&R<=57){do{E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}while((R=E.current())>=48&&R<=57);return true}return false};Ut.regexp_eatCharacterClassEscape=function(E){var R=E.current();if(isCharacterClassEscape(R)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(R===80||R===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}Ut.regexp_eatUnicodePropertyValueExpression=function(E){var R=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var N=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,N,$);return true}}E.pos=R;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,j);return true}return false};Ut.regexp_validateUnicodePropertyNameAndValue=function(E,R,N){if(!has(E.unicodeProperties.nonBinary,R)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[R].test(N)){E.raise("Invalid property value")}};Ut.regexp_validateUnicodePropertyNameOrValue=function(E,R){if(!E.unicodeProperties.binary.test(R)){E.raise("Invalid property name")}};Ut.regexp_eatUnicodePropertyName=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}Ut.regexp_eatUnicodePropertyValue=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}Ut.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};Ut.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};Ut.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.switchU&&(R===-1||N===-1)){E.raise("Invalid character class")}if(R!==-1&&N!==-1&&R>N){E.raise("Range out of order in character class")}}}};Ut.regexp_eatClassAtom=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var N=E.current();if(N===99||isOctalDigit(N)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=R}var $=E.current();if($!==93){E.lastIntValue=$;E.advance();return true}return false};Ut.regexp_eatClassEscape=function(E){var R=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=R}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};Ut.regexp_eatClassControlLetter=function(E){var R=E.current();if(isDecimalDigit(R)||R===95){E.lastIntValue=R%32;E.advance();return true}return false};Ut.regexp_eatHexEscapeSequence=function(E){var R=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=R}return false};Ut.regexp_eatDecimalDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isDecimalDigit(N=E.current())){E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}return E.pos!==R};function isDecimalDigit(E){return E>=48&&E<=57}Ut.regexp_eatHexDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isHexDigit(N=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(N);E.advance()}return E.pos!==R};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}Ut.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(R<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=R*64+N*8+E.lastIntValue}else{E.lastIntValue=R*8+N}}else{E.lastIntValue=R}return true}return false};Ut.regexp_eatOctalDigit=function(E){var R=E.current();if(isOctalDigit(R)){E.lastIntValue=R-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}Ut.regexp_eatFixedHexDigits=function(E,R){var N=E.pos;E.lastIntValue=0;for(var $=0;$=this.input.length){return this.finishToken(Te.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Ht.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Ht.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=57344){return E}var R=this.input.charCodeAt(this.pos+1);return(E<<10)+R-56613888};Ht.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var R=this.pos,N=this.input.indexOf("*/",this.pos+=2);if(N===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=N+2;if(this.options.locations){Be.lastIndex=R;var $;while(($=Be.exec(this.input))&&$.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Ht.finishToken=function(E,R){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var N=this.type;this.type=E;this.value=R;this.updateContext(N)};Ht.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var R=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&R===46){this.pos+=3;return this.finishToken(Te.ellipsis)}else{++this.pos;return this.finishToken(Te.dot)}};Ht.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.slash,1)};Ht.readToken_mult_modulo_exp=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;var $=E===42?Te.star:Te.modulo;if(this.options.ecmaVersion>=7&&E===42&&R===42){++N;$=Te.starstar;R=this.input.charCodeAt(this.pos+2)}if(R===61){return this.finishOp(Te.assign,N+1)}return this.finishOp($,N)};Ht.readToken_pipe_amp=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(this.options.ecmaVersion>=12){var N=this.input.charCodeAt(this.pos+2);if(N===61){return this.finishOp(Te.assign,3)}}return this.finishOp(E===124?Te.logicalOR:Te.logicalAND,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(E===124?Te.bitwiseOR:Te.bitwiseAND,1)};Ht.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.bitwiseXOR,1)};Ht.readToken_plus_min=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(R===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Te.incDec,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.plusMin,1)};Ht.readToken_lt_gt=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;if(R===E){N=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+N)===61){return this.finishOp(Te.assign,N+1)}return this.finishOp(Te.bitShift,N)}if(R===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(R===61){N=2}return this.finishOp(Te.relational,N)};Ht.readToken_eq_excl=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===61){return this.finishOp(Te.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&R===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Te.arrow)}return this.finishOp(E===61?Te.eq:Te.prefix,1)};Ht.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var R=this.input.charCodeAt(this.pos+1);if(R===46){var N=this.input.charCodeAt(this.pos+2);if(N<48||N>57){return this.finishOp(Te.questionDot,2)}}if(R===63){if(E>=12){var $=this.input.charCodeAt(this.pos+2);if($===61){return this.finishOp(Te.assign,3)}}return this.finishOp(Te.coalesce,2)}}return this.finishOp(Te.question,1)};Ht.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Te.parenL);case 41:++this.pos;return this.finishToken(Te.parenR);case 59:++this.pos;return this.finishToken(Te.semi);case 44:++this.pos;return this.finishToken(Te.comma);case 91:++this.pos;return this.finishToken(Te.bracketL);case 93:++this.pos;return this.finishToken(Te.bracketR);case 123:++this.pos;return this.finishToken(Te.braceL);case 125:++this.pos;return this.finishToken(Te.braceR);case 58:++this.pos;return this.finishToken(Te.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Te.backQuote);case 48:var R=this.input.charCodeAt(this.pos+1);if(R===120||R===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(R===111||R===79){return this.readRadixNumber(8)}if(R===98||R===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Te.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Ht.finishOp=function(E,R){var N=this.input.slice(this.pos,this.pos+R);this.pos+=R;return this.finishToken(E,N)};Ht.readRegexp=function(){var E,R,N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(N,"Unterminated regular expression")}var $=this.input.charAt(this.pos);if(Ne.test($)){this.raise(N,"Unterminated regular expression")}if(!E){if($==="["){R=true}else if($==="]"&&R){R=false}else if($==="/"&&!R){break}E=$==="\\"}else{E=false}++this.pos}var j=this.input.slice(N,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new qt(this));ie.reset(N,j,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp(j,G)}catch(E){}return this.finishToken(Te.regexp,{pattern:j,flags:G,value:ae})};Ht.readInt=function(E,R,N){var $=this.options.ecmaVersion>=12&&R===undefined;var j=N&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,le=R==null?Infinity:R;ae=97){Ee=_e-97+10}else if(_e>=65){Ee=_e-65+10}else if(_e>=48&&_e<=57){Ee=_e-48}else{Ee=Infinity}if(Ee>=E){break}ie=_e;G=G*E+Ee}if($&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||R!=null&&this.pos-q!==R){return null}return G};function stringToNumber(E,R){if(R){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Ht.readRadixNumber=function(E){var R=this.pos;this.pos+=2;var N=this.readInt(E);if(N==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){N=stringToBigInt(this.input.slice(R,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,N)};Ht.readNumber=function(E){var R=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(R,"Invalid number")}var N=this.pos-R>=2&&this.input.charCodeAt(R)===48;if(N&&this.strict){this.raise(R,"Invalid number")}var $=this.input.charCodeAt(this.pos);if(!N&&!E&&this.options.ecmaVersion>=11&&$===110){var j=stringToBigInt(this.input.slice(R,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,j)}if(N&&/[89]/.test(this.input.slice(R,this.pos))){N=false}if($===46&&!N){++this.pos;this.readInt(10);$=this.input.charCodeAt(this.pos)}if(($===69||$===101)&&!N){$=this.input.charCodeAt(++this.pos);if($===43||$===45){++this.pos}if(this.readInt(10)===null){this.raise(R,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(R,this.pos),N);return this.finishToken(Te.num,q)};Ht.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),R;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var N=++this.pos;R=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(R>1114111){this.invalidStringToken(N,"Code point out of bounds")}}else{R=this.readHexChar(4)}return R};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Ht.readString=function(E){var R="",N=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var $=this.input.charCodeAt(this.pos);if($===E){break}if($===92){R+=this.input.slice(N,this.pos);R+=this.readEscapedChar(false);N=this.pos}else{if(isNewLine($,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}R+=this.input.slice(N,this.pos++);return this.finishToken(Te.string,R)};var Wt={};Ht.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Wt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Ht.invalidStringToken=function(E,R){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Wt}else{this.raise(E,R)}};Ht.readTmplToken=function(){var E="",R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var N=this.input.charCodeAt(this.pos);if(N===96||N===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Te.template||this.type===Te.invalidTemplate)){if(N===36){this.pos+=2;return this.finishToken(Te.dollarBraceL)}else{++this.pos;return this.finishToken(Te.backQuote)}}E+=this.input.slice(R,this.pos);return this.finishToken(Te.template,E)}if(N===92){E+=this.input.slice(R,this.pos);E+=this.readEscapedChar(true);R=this.pos}else if(isNewLine(N)){E+=this.input.slice(R,this.pos);++this.pos;switch(N){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(N);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}R=this.pos}else{++this.pos}}};Ht.readInvalidTemplateToken=function(){for(;this.pos=48&&R<=55){var $=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var j=parseInt($,8);if(j>255){$=$.slice(0,-1);j=parseInt($,8)}this.pos+=$.length-1;R=this.input.charCodeAt(this.pos);if(($!=="0"||R===56||R===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-$.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(j)}if(isNewLine(R)){return""}return String.fromCharCode(R)}};Ht.readHexChar=function(E){var R=this.pos;var N=this.readInt(16,E);if(N===null){this.invalidStringToken(R,"Bad character escape sequence")}return N};Ht.readWord1=function(){this.containsEsc=false;var E="",R=true,N=this.pos;var $=this.options.ecmaVersion>=6;while(this.pos{"use strict";var $=N(62310);E.exports=defineKeywords;function defineKeywords(E,R){if(Array.isArray(R)){for(var N=0;N{"use strict";var $=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var j=/t|\s/i;var q={date:compareDate,time:compareTime,"date-time":compareDateTime};var G={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var R="format"+E;return function defFunc($){defFunc.definition={type:"string",inline:N(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},G]}};$.addKeyword(R,defFunc.definition);$.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},G]}});extendFormats($);return $}};function extendFormats(E){var R=E._formats;for(var N in q){var $=R[N];if(typeof $!="object"||$ instanceof RegExp||!$.validate)$=R[N]={validate:$};if(!$.compare)$.compare=q[N]}}function compareDate(E,R){if(!(E&&R))return;if(E>R)return 1;if(ER)return 1;if(E{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var R="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var N=E._opts.defaultMeta;if(typeof N=="string")return{$ref:N};if(E.getSchema(R))return{$ref:R};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,R){if(!E)return true;var N=Object.keys(R.properties);if(N.length==0)return true;return{required:N}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var R=E.map((function(E){return{required:[E]}}));return{anyOf:R}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var R=[];for(var N in E)R.push(getSchema(N,E[N]));return{allOf:R}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:$.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,R){var N=E.split("/");var $={};var j=$;for(var q=1;q{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,R,N){var $="";for(var j=0;j{"use strict";E.exports=function generate__formatLimit(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we="valid"+j;$+="var "+we+" = undefined;";if(E.opts.format===false){$+=" "+we+" = true; ";return $}var Ie=E.schema.format,Me=E.opts.$data&&Ie.$data,Te="";if(Me){var Ne=E.util.getData(Ie.$data,q,E.dataPathArr),Be="format"+j,Le="compare"+j;$+=" var "+Be+" = formats["+Ne+"] , "+Le+" = "+Be+" && "+Be+".compare;"}else{var Be=E.formats[Ie];if(!(Be&&Be.compare)){$+=" "+we+" = true; ";return $}var Le="formats"+E.util.getProperty(Ie)+".compare"}var je=R=="formatMaximum",ze="formatExclusive"+(je?"Maximum":"Minimum"),Ue=E.schema[ze],qe=E.opts.$data&&Ue&&Ue.$data,Ge=je?"<":">",He="result"+j;var We=E.opts.$data&&G&&G.$data,Ve;if(We){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ve="schema"+j}else{Ve=G}if(qe){var Ke=E.util.getData(Ue.$data,q,E.dataPathArr),Qe="exclusive"+j,Je="op"+j,Xe="' + "+Je+" + '";$+=" var schemaExcl"+j+" = "+Ke+"; ";Ke="schemaExcl"+j;$+=" if (typeof "+Ke+" != 'boolean' && "+Ke+" !== undefined) { "+we+" = false; ";var _e=ze;var Ye=Ye||[];Ye.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: '"+ze+" should be boolean' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ze=$;$=Ye.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ze+"]); "}else{$+=" validate.errors = ["+Ze+"]; return false; "}}else{$+=" var err = "+Ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){Te+="}";$+=" else { "}if(We){$+=" if ("+Ve+" === undefined) "+we+" = true; else if (typeof "+Ve+" != 'string') "+we+" = false; else { ";Te+="}"}if(Me){$+=" if (!"+Le+") "+we+" = true; else { ";Te+="}"}$+=" var "+He+" = "+Le+"("+Ee+", ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" ); if ("+He+" === undefined) "+we+" = false; var "+Qe+" = "+Ke+" === true; if ("+we+" === undefined) { "+we+" = "+Qe+" ? "+He+" "+Ge+" 0 : "+He+" "+Ge+"= 0; } if (!"+we+") var op"+j+" = "+Qe+" ? '"+Ge+"' : '"+Ge+"=';"}else{var Qe=Ue===true,Xe=Ge;if(!Qe)Xe+="=";var Je="'"+Xe+"'";if(We){$+=" if ("+Ve+" === undefined) "+we+" = true; else if (typeof "+Ve+" != 'string') "+we+" = false; else { ";Te+="}"}if(Me){$+=" if (!"+Le+") "+we+" = true; else { ";Te+="}"}$+=" var "+He+" = "+Le+"("+Ee+", ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" ); if ("+He+" === undefined) "+we+" = false; if ("+we+" === undefined) "+we+" = "+He+" "+Ge;if(!Qe){$+="="}$+=" 0;"}$+=""+Te+"if (!"+we+") { ";var _e=R;var Ye=Ye||[];Ye.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Je+", limit: ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" , exclusive: "+Qe+" } ";if(E.opts.messages!==false){$+=" , message: 'should be "+Xe+' "';if(We){$+="' + "+Ve+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(We){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ze=$;$=Ye.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ze+"]); "}else{$+=" validate.errors = ["+Ze+"]; return false; "}}else{$+=" var err = "+Ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="}";return $}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="key"+j,Ie="idx"+j,Me="patternMatched"+j,Te="dataProperties"+j,Ne="",Be=E.opts.ownProperties;$+="var "+Ee+" = true;";if(Be){$+=" var "+Te+" = undefined;"}var Le=G;if(Le){var je,ze=-1,Ue=Le.length-1;while(ze{"use strict";E.exports=function generate_switch(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne="ifPassed"+E.level,Be=Ie.baseId,Le;$+="var "+Ne+";";var je=G;if(je){var ze,Ue=-1,qe=je.length-1;while(Ue0:E.util.schemaHasRules(ze.if,E.RULES.all))){$+=" var "+we+" = errors; ";var Ge=E.compositeRule;E.compositeRule=Ie.compositeRule=true;Ie.createErrors=false;Ie.schema=ze.if;Ie.schemaPath=ie+"["+Ue+"].if";Ie.errSchemaPath=ae+"/"+Ue+"/if";$+=" "+E.validate(Ie)+" ";Ie.baseId=Be;Ie.createErrors=true;E.compositeRule=Ie.compositeRule=Ge;$+=" "+Ne+" = "+Te+"; if ("+Ne+") { ";if(typeof ze.then=="boolean"){if(ze.then===false){var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}$+=" var "+Te+" = "+ze.then+"; "}else{Ie.schema=ze.then;Ie.schemaPath=ie+"["+Ue+"].then";Ie.errSchemaPath=ae+"/"+Ue+"/then";$+=" "+E.validate(Ie)+" ";Ie.baseId=Be}$+=" } else { errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } } "}else{$+=" "+Ne+" = true; ";if(typeof ze.then=="boolean"){if(ze.then===false){var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}$+=" var "+Te+" = "+ze.then+"; "}else{Ie.schema=ze.then;Ie.schemaPath=ie+"["+Ue+"].then";Ie.errSchemaPath=ae+"/"+Ue+"/then";$+=" "+E.validate(Ie)+" ";Ie.baseId=Be}}Le=ze.continue}}$+=""+Me+"var "+Ee+" = "+Te+";";return $}},41835:E=>{"use strict";var R={};var N={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var R=E&&E.max||2;return function(){return Math.floor(Math.random()*R)}},seq:function(E){var N=E&&E.name||"";R[N]=R[N]||0;return function(){return R[N]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,R,N){var $={};for(var j in E){var q=E[j];var G=getDefault(typeof q=="string"?q:q.func);$[j]=G.length?G(q.args):G}return N.opts.useDefaults&&!N.compositeRule?assignDefaults:noop;function assignDefaults(R){for(var j in E){if(R[j]===undefined||N.opts.useDefaults=="empty"&&(R[j]===null||R[j]===""))R[j]=$[j]()}return true}function noop(){return true}},DEFAULTS:N,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var R=N[E];if(R)return R;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,R,N)=>{"use strict";E.exports=N(87113)("Maximum")},50581:(E,R,N)=>{"use strict";E.exports=N(87113)("Minimum")},62310:(E,R,N)=>{"use strict";E.exports={instanceof:N(94236),range:N(5332),regexp:N(85829),typeof:N(77189),dynamicDefaults:N(41835),allRequired:N(96216),anyRequired:N(1611),oneRequired:N(82233),prohibited:N(47431),uniqueItemProperties:N(69536),deepProperties:N(49494),deepRequired:N(23023),formatMinimum:N(50581),formatMaximum:N(69513),patternRequired:N(89042),switch:N(65305),select:N(9821),transform:N(62111)}},94236:E=>{"use strict";var R={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")R.Buffer=Buffer;if(typeof Promise!="undefined")R.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var R=getConstructor(E);return function(E){return E instanceof R}}var N=E.map(getConstructor);return function(E){for(var R=0;R{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var R=E.map((function(E){return{required:[E]}}));return{oneOf:R}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,R,N)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:N(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var R=E.map((function(E){return{required:[E]}}));return{not:{anyOf:R}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,R){var N=E[0],$=E[1],j=R.exclusiveRange;validateRangeSchema(N,$,j);return j===true?{exclusiveMinimum:N,exclusiveMaximum:$}:{minimum:N,maximum:$}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,R,N){if(N!==undefined&&typeof N!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>R||N&&E==R)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,R,N){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof N=="object")return new RegExp(N.pattern,N.flags);var E=N.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",N,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var R=$.metaSchemaRef(E);var N=[];defFunc.definition={validate:function v(E,R,N){if(N.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var $=getCompiledSchemas(N,false);var j=$.cases[E];if(j===undefined)j=$.default;if(typeof j=="boolean")return j;var q=j(R);if(!q)v.errors=j.errors;return q},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,R){var N=getCompiledSchemas(R);for(var $ in E)N.cases[$]=compileOrBoolean(E[$]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:R}});E.addKeyword("selectDefault",{compile:function(E,R){var N=getCompiledSchemas(R);N.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:R});return E;function getCompiledSchemas(E,R){var $;N.some((function(R){if(R.parentSchema===E){$=R;return true}}));if(!$&&R!==false){$={parentSchema:E,cases:{},default:true};N.push($)}return $}function compileOrBoolean(R){return typeof R=="boolean"?R:E.compile(R)}}},65305:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var R=$.metaSchemaRef(E);defFunc.definition={inline:N(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:R,then:{anyOf:[{type:"boolean"},R]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var R={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,R){return R.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,N){var $;if(E.indexOf("toEnumCase")!==-1){$={hash:{}};if(!N.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var j=N.enum.length;j--;j){var q=N.enum[j];if(typeof q!=="string")continue;var G=makeHashTableKey(q);if($.hash[G])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');$.hash[G]=q}}return function(N,j,q,G){if(!q)return;for(var ie=0,ae=E.length;ie{"use strict";var R=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,R,N){var $="data"+(E.dataLevel||"");if(typeof N=="string")return"typeof "+$+' == "'+N+'"';N="validate.schema"+E.schemaPath+"."+R;return N+".indexOf(typeof "+$+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:R},{type:"array",items:{type:"string",enum:R}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var R=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,R,N){var $=N.util.equal;var j=getScalarKeys(E,R);return function(R){if(R.length>1){for(var N=0;N=0}))}},33866:(E,R,N)=>{"use strict";var $=N(69579),j=N(82253),q=N(32183),G=N(38868),ie=N(75986),ae=N(10698),le=N(75041),_e=N(30398),Ee=N(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=N(18840);var we=N(3811);Ajv.prototype.addKeyword=we.add;Ajv.prototype.getKeyword=we.get;Ajv.prototype.removeKeyword=we.remove;Ajv.prototype.validateKeyword=we.validate;var Ie=N(29411);Ajv.ValidationError=Ie.Validation;Ajv.MissingRefError=Ie.MissingRef;Ajv.$dataMetaSchema=_e;var Me="http://json-schema.org/draft-07/schema";var Te=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Ne=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=Ee.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=ae(E.format);this._cache=E.cache||new q;this._loadingSchemas={};this._compilations=[];this.RULES=le();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ie;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,R){var N;if(typeof E=="string"){N=this.getSchema(E);if(!N)throw new Error('no schema with key or ref "'+E+'"')}else{var $=this._addSchema(E);N=$.validate||this._compile($)}var j=N(R);if(N.$async!==true)this.errors=N.errors;return j}function compile(E,R){var N=this._addSchema(E,undefined,R);return N.validate||this._compile(N)}function addSchema(E,R,N,$){if(Array.isArray(E)){for(var q=0;q{"use strict";var R=E.exports=function Cache(){this._cache={}};R.prototype.put=function Cache_put(E,R){this._cache[E]=R};R.prototype.get=function Cache_get(E){return this._cache[E]};R.prototype.del=function Cache_del(E){delete this._cache[E]};R.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,R,N)=>{"use strict";var $=N(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,R,N){var j=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof R=="function"){N=R;R=undefined}var q=loadMetaSchemaOf(E).then((function(){var N=j._addSchema(E,undefined,R);return N.validate||_compileAsync(N)}));if(N){q.then((function(E){N(null,E)}),N)}return q;function loadMetaSchemaOf(E){var R=E.$schema;return R&&!j.getSchema(R)?compileAsync.call(j,{$ref:R},true):Promise.resolve()}function _compileAsync(E){try{return j._compile(E)}catch(E){if(E instanceof $)return loadMissingSchema(E);throw E}function loadMissingSchema(N){var $=N.missingSchema;if(added($))throw new Error("Schema "+$+" is loaded but "+N.missingRef+" cannot be resolved");var q=j._loadingSchemas[$];if(!q){q=j._loadingSchemas[$]=j._opts.loadSchema($);q.then(removePromise,removePromise)}return q.then((function(E){if(!added($)){return loadMetaSchemaOf(E).then((function(){if(!added($))j.addSchema(E,$,undefined,R)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete j._loadingSchemas[$]}function added(E){return j._refs[E]||j._schemas[E]}}}}},29411:(E,R,N)=>{"use strict";var $=N(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,R){return"can't resolve reference "+R+" from id "+E};function MissingRefError(E,R,N){this.message=N||MissingRefError.message(E,R);this.missingRef=$.url(E,R);this.missingSchema=$.normalizeId($.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,R,N)=>{"use strict";var $=N(778);var j=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var q=[0,31,28,31,30,31,30,31,31,30,31,30,31];var G=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var le=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var _e=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var Ee=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var we=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Ie=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var Me=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Te=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return $.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":_e,url:Ee,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:we,"json-pointer":Ie,"json-pointer-uri-fragment":Me,"relative-json-pointer":Te};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":le,"uri-template":_e,url:Ee,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:we,"json-pointer":Ie,"json-pointer-uri-fragment":Me,"relative-json-pointer":Te};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var R=E.match(j);if(!R)return false;var N=+R[1];var $=+R[2];var G=+R[3];return $>=1&&$<=12&&G>=1&&G<=($==2&&isLeapYear(N)?29:q[$])}function time(E,R){var N=E.match(G);if(!N)return false;var $=N[1];var j=N[2];var q=N[3];var ie=N[5];return($<=23&&j<=59&&q<=59||$==23&&j==59&&q==60)&&(!R||ie)}var Ne=/t|\s/i;function date_time(E){var R=E.split(Ne);return R.length==2&&date(R[0])&&time(R[1],true)}var Be=/\/|:/;function uri(E){return Be.test(E)&&ae.test(E)}var Le=/[^\\]\\Z/;function regex(E){if(Le.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,R,N)=>{"use strict";var $=N(82253),j=N(778),q=N(29411),G=N(75986);var ie=N(85061);var ae=j.ucs2length;var le=N(55245);var _e=q.Validation;E.exports=compile;function compile(E,R,N,Ee){var we=this,Ie=this._opts,Me=[undefined],Te={},Ne=[],Be={},Le=[],je={},ze=[];R=R||{schema:E,refVal:Me,refs:Te};var Ue=checkCompiling.call(this,E,R,Ee);var qe=this._compilations[Ue.index];if(Ue.compiling)return qe.callValidate=callValidate;var Ge=this._formats;var He=this.RULES;try{var We=localCompile(E,R,N,Ee);qe.validate=We;var Ve=qe.callValidate;if(Ve){Ve.schema=We.schema;Ve.errors=null;Ve.refs=We.refs;Ve.refVal=We.refVal;Ve.root=We.root;Ve.$async=We.$async;if(Ie.sourceCode)Ve.source=We.source}return We}finally{endCompiling.call(this,E,R,Ee)}function callValidate(){var E=qe.validate;var R=E.apply(this,arguments);callValidate.errors=E.errors;return R}function localCompile(E,N,G,Ee){var Be=!N||N&&N.schema==E;if(N.schema!=R.schema)return compile.call(we,E,N,G,Ee);var je=E.$async===true;var Ue=ie({isTop:true,schema:E,isRoot:Be,baseId:Ee,root:N,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:He,validate:ie,util:j,resolve:$,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Ie,formats:Ge,logger:we.logger,self:we});Ue=vars(Me,refValCode)+vars(Ne,patternCode)+vars(Le,defaultCode)+vars(ze,customRuleCode)+Ue;if(Ie.processCode)Ue=Ie.processCode(Ue,E);var qe;try{var We=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Ue);qe=We(we,He,Ge,R,Me,Le,ze,le,ae,_e);Me[0]=qe}catch(E){we.logger.error("Error compiling schema, function code:",Ue);throw E}qe.schema=E;qe.errors=null;qe.refs=Te;qe.refVal=Me;qe.root=Be?qe:N;if(je)qe.$async=true;if(Ie.sourceCode===true){qe.source={code:Ue,patterns:Ne,defaults:Le}}return qe}function resolveRef(E,j,q){j=$.url(E,j);var G=Te[j];var ie,ae;if(G!==undefined){ie=Me[G];ae="refVal["+G+"]";return resolvedRef(ie,ae)}if(!q&&R.refs){var le=R.refs[j];if(le!==undefined){ie=R.refVal[le];ae=addLocalRef(j,ie);return resolvedRef(ie,ae)}}ae=addLocalRef(j);var _e=$.call(we,localCompile,R,j);if(_e===undefined){var Ee=N&&N[j];if(Ee){_e=$.inlineRef(Ee,Ie.inlineRefs)?Ee:compile.call(we,Ee,R,N,E)}}if(_e===undefined){removeLocalRef(j)}else{replaceLocalRef(j,_e);return resolvedRef(_e,ae)}}function addLocalRef(E,R){var N=Me.length;Me[N]=R;Te[E]=N;return"refVal"+N}function removeLocalRef(E){delete Te[E]}function replaceLocalRef(E,R){var N=Te[E];Me[N]=R}function resolvedRef(E,R){return typeof E=="object"||typeof E=="boolean"?{code:R,schema:E,inline:true}:{code:R,$async:E&&!!E.$async}}function usePattern(E){var R=Be[E];if(R===undefined){R=Be[E]=Ne.length;Ne[R]=E}return"pattern"+R}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return j.toQuotedString(E);case"object":if(E===null)return"null";var R=G(E);var N=je[R];if(N===undefined){N=je[R]=Le.length;Le[N]=E}return"default"+N}}function useCustomRule(E,R,N,$){if(we._opts.validateSchema!==false){var j=E.definition.dependencies;if(j&&!j.every((function(E){return Object.prototype.hasOwnProperty.call(N,E)})))throw new Error("parent schema must have all required keywords: "+j.join(","));var q=E.definition.validateSchema;if(q){var G=q(R);if(!G){var ie="keyword schema is invalid: "+we.errorsText(q.errors);if(we._opts.validateSchema=="log")we.logger.error(ie);else throw new Error(ie)}}}var ae=E.definition.compile,le=E.definition.inline,_e=E.definition.macro;var Ee;if(ae){Ee=ae.call(we,R,N,$)}else if(_e){Ee=_e.call(we,R,N,$);if(Ie.validateSchema!==false)we.validateSchema(Ee,true)}else if(le){Ee=le.call(we,$,E.keyword,R,N)}else{Ee=E.definition.validate;if(!Ee)return}if(Ee===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var Me=ze.length;ze[Me]=Ee;return{code:"customRule"+Me,validate:Ee}}}function checkCompiling(E,R,N){var $=compIndex.call(this,E,R,N);if($>=0)return{index:$,compiling:true};$=this._compilations.length;this._compilations[$]={schema:E,root:R,baseId:N};return{index:$,compiling:false}}function endCompiling(E,R,N){var $=compIndex.call(this,E,R,N);if($>=0)this._compilations.splice($,1)}function compIndex(E,R,N){for(var $=0;${"use strict";var $=N(30823),j=N(55245),q=N(778),G=N(38868),ie=N(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,R,N){var $=this._refs[N];if(typeof $=="string"){if(this._refs[$])$=this._refs[$];else return resolve.call(this,E,R,$)}$=$||this._schemas[N];if($ instanceof G){return inlineRef($.schema,this._opts.inlineRefs)?$.schema:$.validate||this._compile($)}var j=resolveSchema.call(this,R,N);var q,ie,ae;if(j){q=j.schema;R=j.root;ae=j.baseId}if(q instanceof G){ie=q.validate||E.call(this,q.schema,R,undefined,ae)}else if(q!==undefined){ie=inlineRef(q,this._opts.inlineRefs)?q:E.call(this,q,R,undefined,ae)}return ie}function resolveSchema(E,R){var N=$.parse(R),j=_getFullPath(N),q=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||j!==q){var ie=normalizeId(j);var ae=this._refs[ie];if(typeof ae=="string"){return resolveRecursive.call(this,E,ae,N)}else if(ae instanceof G){if(!ae.validate)this._compile(ae);E=ae}else{ae=this._schemas[ie];if(ae instanceof G){if(!ae.validate)this._compile(ae);if(ie==normalizeId(R))return{schema:ae,root:E,baseId:q};E=ae}else{return}}if(!E.schema)return;q=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,N,q,E.schema,E)}function resolveRecursive(E,R,N){var $=resolveSchema.call(this,E,R);if($){var j=$.schema;var q=$.baseId;E=$.root;var G=this._getId(j);if(G)q=resolveUrl(q,G);return getJsonPointer.call(this,N,q,j,E)}}var ae=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,R,N,$){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var j=E.fragment.split("/");for(var G=1;G{"use strict";var $=N(71001),j=N(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var R=["type","$comment"];var N=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var q=["number","integer","string","array","object","boolean","null"];E.all=j(R);E.types=j(q);E.forEach((function(N){N.rules=N.rules.map((function(N){var j;if(typeof N=="object"){var q=Object.keys(N)[0];j=N[q];N=q;j.forEach((function(N){R.push(N);E.all[N]=true}))}R.push(N);var G=E.all[N]={keyword:N,code:$[N],implements:j};return G}));E.all.$comment={keyword:"$comment",code:$.$comment};if(N.type)E.types[N.type]=N}));E.keywords=j(R.concat(N));E.custom={};return E}},38868:(E,R,N)=>{"use strict";var $=N(778);E.exports=SchemaObject;function SchemaObject(E){$.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var R=0,N=E.length,$=0,j;while($=55296&&j<=56319&&${"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:N(55245),ucs2length:N(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,R){R=R||{};for(var N in E)R[N]=E[N];return R}function checkDataType(E,R,N,$){var j=$?" !== ":" === ",q=$?" || ":" && ",G=$?"!":"",ie=$?"":"!";switch(E){case"null":return R+j+"null";case"array":return G+"Array.isArray("+R+")";case"object":return"("+G+R+q+"typeof "+R+j+'"object"'+q+ie+"Array.isArray("+R+"))";case"integer":return"(typeof "+R+j+'"number"'+q+ie+"("+R+" % 1)"+q+R+j+R+(N?q+G+"isFinite("+R+")":"")+")";case"number":return"(typeof "+R+j+'"'+E+'"'+(N?q+G+"isFinite("+R+")":"")+")";default:return"typeof "+R+j+'"'+E+'"'}}function checkDataTypes(E,R,N){switch(E.length){case 1:return checkDataType(E[0],R,N,true);default:var $="";var j=toHash(E);if(j.array&&j.object){$=j.null?"(":"(!"+R+" || ";$+="typeof "+R+' !== "object")';delete j.null;delete j.array;delete j.object}if(j.number)delete j.integer;for(var q in j)$+=($?" && ":"")+checkDataType(q,R,N,true);return $}}var $=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,R){if(Array.isArray(R)){var N=[];for(var j=0;j=R)throw new Error("Cannot access property/index "+$+" levels up, current level is "+R);return N[R-$]}if($>R)throw new Error("Cannot access data "+$+" levels up, current level is "+R);q="data"+(R-$||"");if(!j)return q}var le=q;var _e=j.split("/");for(var Ee=0;Ee<_e.length;Ee++){var we=_e[Ee];if(we){q+=getProperty(unescapeJsonPointer(we));le+=" && "+q}}return le}function joinPaths(E,R){if(E=='""')return R;return(E+" + "+R).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(E){return unescapeJsonPointer(decodeURIComponent(E))}function escapeFragment(E){return encodeURIComponent(escapeJsonPointer(E))}function escapeJsonPointer(E){return E.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(E){return E.replace(/~1/g,"/").replace(/~0/g,"~")}},30398:E=>{"use strict";var R=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,N){for(var $=0;${"use strict";var $=N(6680);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:$.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:$.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}var Me=R=="maximum",Te=Me?"exclusiveMaximum":"exclusiveMinimum",Ne=E.schema[Te],Be=E.opts.$data&&Ne&&Ne.$data,Le=Me?"<":">",je=Me?">":"<",_e=undefined;if(!(we||typeof G=="number"||G===undefined)){throw new Error(R+" must be number")}if(!(Be||Ne===undefined||typeof Ne=="number"||typeof Ne=="boolean")){throw new Error(Te+" must be number or boolean")}if(Be){var ze=E.util.getData(Ne.$data,q,E.dataPathArr),Ue="exclusive"+j,qe="exclType"+j,Ge="exclIsNumber"+j,He="op"+j,We="' + "+He+" + '";$+=" var schemaExcl"+j+" = "+ze+"; ";ze="schemaExcl"+j;$+=" var "+Ue+"; var "+qe+" = typeof "+ze+"; if ("+qe+" != 'boolean' && "+qe+" != 'undefined' && "+qe+" != 'number') { ";var _e=Te;var Ve=Ve||[];Ve.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: '"+Te+" should be boolean' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ke=$;$=Ve.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ke+"]); "}else{$+=" validate.errors = ["+Ke+"]; return false; "}}else{$+=" var err = "+Ke+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" "+qe+" == 'number' ? ( ("+Ue+" = "+Ie+" === undefined || "+ze+" "+Le+"= "+Ie+") ? "+Ee+" "+je+"= "+ze+" : "+Ee+" "+je+" "+Ie+" ) : ( ("+Ue+" = "+ze+" === true) ? "+Ee+" "+je+"= "+Ie+" : "+Ee+" "+je+" "+Ie+" ) || "+Ee+" !== "+Ee+") { var op"+j+" = "+Ue+" ? '"+Le+"' : '"+Le+"='; ";if(G===undefined){_e=Te;ae=E.errSchemaPath+"/"+Te;Ie=ze;we=Be}}else{var Ge=typeof Ne=="number",We=Le;if(Ge&&we){var He="'"+We+"'";$+=" if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" ( "+Ie+" === undefined || "+Ne+" "+Le+"= "+Ie+" ? "+Ee+" "+je+"= "+Ne+" : "+Ee+" "+je+" "+Ie+" ) || "+Ee+" !== "+Ee+") { "}else{if(Ge&&G===undefined){Ue=true;_e=Te;ae=E.errSchemaPath+"/"+Te;Ie=Ne;je+="="}else{if(Ge)Ie=Math[Me?"min":"max"](Ne,G);if(Ne===(Ge?Ie:true)){Ue=true;_e=Te;ae=E.errSchemaPath+"/"+Te;je+="="}else{Ue=false;We+="="}}var He="'"+We+"'";$+=" if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" "+Ee+" "+je+" "+Ie+" || "+Ee+" !== "+Ee+") { "}}_e=_e||R;var Ve=Ve||[];Ve.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+He+", limit: "+Ie+", exclusive: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should be "+We+" ";if(we){$+="' + "+Ie}else{$+=""+Ie+"'"}}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ke=$;$=Ve.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ke+"]); "}else{$+=" validate.errors = ["+Ke+"]; return false; "}}else{$+=" var err = "+Ke+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}return $}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Me=R=="maxItems"?">":"<";$+="if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" "+Ee+".length "+Me+" "+Ie+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ie+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have ";if(R=="maxItems"){$+="more"}else{$+="fewer"}$+=" than ";if(we){$+="' + "+Ie+" + '"}else{$+=""+G}$+=" items' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Me=R=="maxLength"?">":"<";$+="if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}if(E.opts.unicode===false){$+=" "+Ee+".length "}else{$+=" ucs2length("+Ee+") "}$+=" "+Me+" "+Ie+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ie+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT be ";if(R=="maxLength"){$+="longer"}else{$+="shorter"}$+=" than ";if(we){$+="' + "+Ie+" + '"}else{$+=""+G}$+=" characters' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Me=R=="maxProperties"?">":"<";$+="if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" Object.keys("+Ee+").length "+Me+" "+Ie+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ie+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have ";if(R=="maxProperties"){$+="more"}else{$+="fewer"}$+=" than ";if(we){$+="' + "+Ie+" + '"}else{$+=""+G}$+=" properties' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},30081:E=>{"use strict";E.exports=function generate_allOf(E,R,N){var $=" ";var j=E.schema[R];var q=E.schemaPath+E.util.getProperty(R);var G=E.errSchemaPath+"/"+R;var ie=!E.opts.allErrors;var ae=E.util.copy(E);var le="";ae.level++;var _e="valid"+ae.level;var Ee=ae.baseId,we=true;var Ie=j;if(Ie){var Me,Te=-1,Ne=Ie.length-1;while(Te0||Me===false:E.util.schemaHasRules(Me,E.RULES.all)){we=false;ae.schema=Me;ae.schemaPath=q+"["+Te+"]";ae.errSchemaPath=G+"/"+Te;$+=" "+E.validate(ae)+" ";ae.baseId=Ee;if(ie){$+=" if ("+_e+") { ";le+="}"}}}}if(ie){if(we){$+=" if (true) { "}else{$+=" "+le.slice(0,-1)+" "}}return $}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne=G.every((function(R){return E.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===false:E.util.schemaHasRules(R,E.RULES.all)}));if(Ne){var Be=Ie.baseId;$+=" var "+we+" = errors; var "+Ee+" = false; ";var Le=E.compositeRule;E.compositeRule=Ie.compositeRule=true;var je=G;if(je){var ze,Ue=-1,qe=je.length-1;while(Ue{"use strict";E.exports=function generate_comment(E,R,N){var $=" ";var j=E.schema[R];var q=E.errSchemaPath+"/"+R;var G=!E.opts.allErrors;var ie=E.util.toQuotedString(j);if(E.opts.$comment===true){$+=" console.log("+ie+");"}else if(typeof E.opts.$comment=="function"){$+=" self._opts.$comment("+ie+", "+E.util.toQuotedString(q)+", validate.root.schema);"}return $}},23404:E=>{"use strict";E.exports=function generate_const(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!we){$+=" var schema"+j+" = validate.schema"+ie+";"}$+="var "+Ee+" = equal("+_e+", schema"+j+"); if (!"+Ee+") { ";var Me=Me||[];Me.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValue: schema"+j+" } ";if(E.opts.messages!==false){$+=" , message: 'should be equal to constant' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Te=$;$=Me.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Te+"]); "}else{$+=" validate.errors = ["+Te+"]; return false; "}}else{$+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" }";if(le){$+=" else { "}return $}},33224:E=>{"use strict";E.exports=function generate_contains(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne="i"+j,Be=Ie.dataLevel=E.dataLevel+1,Le="data"+Be,je=E.baseId,ze=E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all);$+="var "+we+" = errors;var "+Ee+";";if(ze){var Ue=E.compositeRule;E.compositeRule=Ie.compositeRule=true;Ie.schema=G;Ie.schemaPath=ie;Ie.errSchemaPath=ae;$+=" var "+Te+" = false; for (var "+Ne+" = 0; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Ie.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var qe=_e+"["+Ne+"]";Ie.dataPathArr[Be]=Ne;var Ge=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Ge,Le)<2){$+=" "+E.util.varReplace(Ge,Le,qe)+" "}else{$+=" var "+Le+" = "+qe+"; "+Ge+" "}$+=" if ("+Te+") break; } ";E.compositeRule=Ie.compositeRule=Ue;$+=" "+Me+" if (!"+Te+") {"}else{$+=" if ("+_e+".length == 0) {"}var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should contain a valid item' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { ";if(ze){$+=" errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } "}if(E.opts.allErrors){$+=" } "}return $}},99819:E=>{"use strict";E.exports=function generate_custom(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we="valid"+j;var Ie="errs__"+j;var Me=E.opts.$data&&G&&G.$data,Te;if(Me){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+j}else{Te=G}var Ne=this,Be="definition"+j,Le=Ne.definition,je="";var ze,Ue,qe,Ge,He;if(Me&&Le.$data){He="keywordValidate"+j;var We=Le.validateSchema;$+=" var "+Be+" = RULES.custom['"+R+"'].definition; var "+He+" = "+Be+".validate;"}else{Ge=E.useCustomRule(Ne,G,E.schema,E);if(!Ge)return;Te="validate.schema"+ie;He=Ge.code;ze=Le.compile;Ue=Le.inline;qe=Le.macro}var Ve=He+".errors",Ke="i"+j,Qe="ruleErr"+j,Je=Le.async;if(Je&&!E.async)throw new Error("async keyword in sync schema");if(!(Ue||qe)){$+=""+Ve+" = null;"}$+="var "+Ie+" = errors;var "+we+";";if(Me&&Le.$data){je+="}";$+=" if ("+Te+" === undefined) { "+we+" = true; } else { ";if(We){je+="}";$+=" "+we+" = "+Be+".validateSchema("+Te+"); if ("+we+") { "}}if(Ue){if(Le.statements){$+=" "+Ge.validate+" "}else{$+=" "+we+" = "+Ge.validate+"; "}}else if(qe){var Xe=E.util.copy(E);var je="";Xe.level++;var Ye="valid"+Xe.level;Xe.schema=Ge.validate;Xe.schemaPath="";var Ze=E.compositeRule;E.compositeRule=Xe.compositeRule=true;var et=E.validate(Xe).replace(/validate\.schema/g,He);E.compositeRule=Xe.compositeRule=Ze;$+=" "+et}else{var tt=tt||[];tt.push($);$="";$+=" "+He+".call( ";if(E.opts.passContext){$+="this"}else{$+="self"}if(ze||Le.schema===false){$+=" , "+Ee+" "}else{$+=" , "+Te+" , "+Ee+" , validate.schema"+E.schemaPath+" "}$+=" , (dataPath || '')";if(E.errorPath!='""'){$+=" + "+E.errorPath}var nt=q?"data"+(q-1||""):"parentData",rt=q?E.dataPathArr[q]:"parentDataProperty";$+=" , "+nt+" , "+rt+" , rootData ) ";var st=$;$=tt.pop();if(Le.errors===false){$+=" "+we+" = ";if(Je){$+="await "}$+=""+st+"; "}else{if(Je){Ve="customErrors"+j;$+=" var "+Ve+" = null; try { "+we+" = await "+st+"; } catch (e) { "+we+" = false; if (e instanceof ValidationError) "+Ve+" = e.errors; else throw e; } "}else{$+=" "+Ve+" = null; "+we+" = "+st+"; "}}}if(Le.modifying){$+=" if ("+nt+") "+Ee+" = "+nt+"["+rt+"];"}$+=""+je;if(Le.valid){if(le){$+=" if (true) { "}}else{$+=" if ( ";if(Le.valid===undefined){$+=" !";if(qe){$+=""+Ye}else{$+=""+we}}else{$+=" "+!Le.valid+" "}$+=") { ";_e=Ne.keyword;var tt=tt||[];tt.push($);$="";var tt=tt||[];tt.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){$+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var it=$;$=tt.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+it+"]); "}else{$+=" validate.errors = ["+it+"]; return false; "}}else{$+=" var err = "+it+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var ot=$;$=tt.pop();if(Ue){if(Le.errors){if(Le.errors!="full"){$+=" for (var "+Ke+"="+Ie+"; "+Ke+"{"use strict";E.exports=function generate_dependencies(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Ie="";we.level++;var Me="valid"+we.level;var Te={},Ne={},Be=E.opts.ownProperties;for(Ue in G){if(Ue=="__proto__")continue;var Le=G[Ue];var je=Array.isArray(Le)?Ne:Te;je[Ue]=Le}$+="var "+Ee+" = errors;";var ze=E.errorPath;$+="var missing"+j+";";for(var Ue in Ne){je=Ne[Ue];if(je.length){$+=" if ( "+_e+E.util.getProperty(Ue)+" !== undefined ";if(Be){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(Ue)+"') "}if(le){$+=" && ( ";var qe=je;if(qe){var Ge,He=-1,We=qe.length-1;while(He0||Le===false:E.util.schemaHasRules(Le,E.RULES.all)){$+=" "+Me+" = true; if ( "+_e+E.util.getProperty(Ue)+" !== undefined ";if(Be){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(Ue)+"') "}$+=") { ";we.schema=Le;we.schemaPath=ie+E.util.getProperty(Ue);we.errSchemaPath=ae+"/"+E.util.escapeFragment(Ue);$+=" "+E.validate(we)+" ";we.baseId=nt;$+=" } ";if(le){$+=" if ("+Me+") { ";Ie+="}"}}}if(le){$+=" "+Ie+" if ("+Ee+" == errors) {"}return $}},20489:E=>{"use strict";E.exports=function generate_enum(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}var Me="i"+j,Te="schema"+j;if(!we){$+=" var "+Te+" = validate.schema"+ie+";"}$+="var "+Ee+";";if(we){$+=" if (schema"+j+" === undefined) "+Ee+" = true; else if (!Array.isArray(schema"+j+")) "+Ee+" = false; else {"}$+=""+Ee+" = false;for (var "+Me+"=0; "+Me+"<"+Te+".length; "+Me+"++) if (equal("+_e+", "+Te+"["+Me+"])) { "+Ee+" = true; break; }";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Ne=Ne||[];Ne.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValues: schema"+j+" } ";if(E.opts.messages!==false){$+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Be=$;$=Ne.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Be+"]); "}else{$+=" validate.errors = ["+Be+"]; return false; "}}else{$+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" }";if(le){$+=" else { "}return $}},69090:E=>{"use strict";E.exports=function generate_format(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");if(E.opts.format===false){if(le){$+=" if (true) { "}return $}var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}var Ie=E.opts.unknownFormats,Me=Array.isArray(Ie);if(Ee){var Te="format"+j,Ne="isObject"+j,Be="formatType"+j;$+=" var "+Te+" = formats["+we+"]; var "+Ne+" = typeof "+Te+" == 'object' && !("+Te+" instanceof RegExp) && "+Te+".validate; var "+Be+" = "+Ne+" && "+Te+".type || 'string'; if ("+Ne+") { ";if(E.async){$+=" var async"+j+" = "+Te+".async; "}$+=" "+Te+" = "+Te+".validate; } if ( ";if(Ee){$+=" ("+we+" !== undefined && typeof "+we+" != 'string') || "}$+=" (";if(Ie!="ignore"){$+=" ("+we+" && !"+Te+" ";if(Me){$+=" && self._opts.unknownFormats.indexOf("+we+") == -1 "}$+=") || "}$+=" ("+Te+" && "+Be+" == '"+N+"' && !(typeof "+Te+" == 'function' ? ";if(E.async){$+=" (async"+j+" ? await "+Te+"("+_e+") : "+Te+"("+_e+")) "}else{$+=" "+Te+"("+_e+") "}$+=" : "+Te+".test("+_e+"))))) {"}else{var Te=E.formats[G];if(!Te){if(Ie=="ignore"){E.logger.warn('unknown format "'+G+'" ignored in schema at path "'+E.errSchemaPath+'"');if(le){$+=" if (true) { "}return $}else if(Me&&Ie.indexOf(G)>=0){if(le){$+=" if (true) { "}return $}else{throw new Error('unknown format "'+G+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Ne=typeof Te=="object"&&!(Te instanceof RegExp)&&Te.validate;var Be=Ne&&Te.type||"string";if(Ne){var Le=Te.async===true;Te=Te.validate}if(Be!=N){if(le){$+=" if (true) { "}return $}if(Le){if(!E.async)throw new Error("async format in sync schema");var je="formats"+E.util.getProperty(G)+".validate";$+=" if (!(await "+je+"("+_e+"))) { "}else{$+=" if (! ";var je="formats"+E.util.getProperty(G);if(Ne)je+=".validate";if(typeof Te=="function"){$+=" "+je+"("+_e+") "}else{$+=" "+je+".test("+_e+") "}$+=") { "}}var ze=ze||[];ze.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { format: ";if(Ee){$+=""+we}else{$+=""+E.util.toQuotedString(G)}$+=" } ";if(E.opts.messages!==false){$+=" , message: 'should match format \"";if(Ee){$+="' + "+we+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Ue=$;$=ze.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ue+"]); "}else{$+=" validate.errors = ["+Ue+"]; return false; "}}else{$+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}return $}},1636:E=>{"use strict";E.exports=function generate_if(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);Ie.level++;var Me="valid"+Ie.level;var Te=E.schema["then"],Ne=E.schema["else"],Be=Te!==undefined&&(E.opts.strictKeywords?typeof Te=="object"&&Object.keys(Te).length>0||Te===false:E.util.schemaHasRules(Te,E.RULES.all)),Le=Ne!==undefined&&(E.opts.strictKeywords?typeof Ne=="object"&&Object.keys(Ne).length>0||Ne===false:E.util.schemaHasRules(Ne,E.RULES.all)),je=Ie.baseId;if(Be||Le){var ze;Ie.createErrors=false;Ie.schema=G;Ie.schemaPath=ie;Ie.errSchemaPath=ae;$+=" var "+we+" = errors; var "+Ee+" = true; ";var Ue=E.compositeRule;E.compositeRule=Ie.compositeRule=true;$+=" "+E.validate(Ie)+" ";Ie.baseId=je;Ie.createErrors=true;$+=" errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } ";E.compositeRule=Ie.compositeRule=Ue;if(Be){$+=" if ("+Me+") { ";Ie.schema=E.schema["then"];Ie.schemaPath=E.schemaPath+".then";Ie.errSchemaPath=E.errSchemaPath+"/then";$+=" "+E.validate(Ie)+" ";Ie.baseId=je;$+=" "+Ee+" = "+Me+"; ";if(Be&&Le){ze="ifClause"+j;$+=" var "+ze+" = 'then'; "}else{ze="'then'"}$+=" } ";if(Le){$+=" else { "}}else{$+=" if (!"+Me+") { "}if(Le){Ie.schema=E.schema["else"];Ie.schemaPath=E.schemaPath+".else";Ie.errSchemaPath=E.errSchemaPath+"/else";$+=" "+E.validate(Ie)+" ";Ie.baseId=je;$+=" "+Ee+" = "+Me+"; ";if(Be&&Le){ze="ifClause"+j;$+=" var "+ze+" = 'else'; "}else{ze="'else'"}$+=" } "}$+=" if (!"+Ee+") { var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { failingKeyword: "+ze+" } ";if(E.opts.messages!==false){$+=" , message: 'should match \"' + "+ze+" + '\" schema' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(vErrors); "}else{$+=" validate.errors = vErrors; return false; "}}$+=" } ";if(le){$+=" else { "}}else{if(le){$+=" if (true) { "}}return $}},71001:(E,R,N)=>{"use strict";E.exports={$ref:N(41944),allOf:N(30081),anyOf:N(70019),$comment:N(79878),const:N(23404),contains:N(33224),dependencies:N(19493),enum:N(20489),format:N(69090),if:N(1636),items:N(6060),maximum:N(70507),minimum:N(70507),maxItems:N(6958),minItems:N(6958),maxLength:N(41363),minLength:N(41363),maxProperties:N(25569),minProperties:N(25569),multipleOf:N(54841),not:N(74881),oneOf:N(77675),pattern:N(98676),properties:N(99306),propertyNames:N(28014),required:N(16372),uniqueItems:N(37270),validate:N(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne="i"+j,Be=Ie.dataLevel=E.dataLevel+1,Le="data"+Be,je=E.baseId;$+="var "+we+" = errors;var "+Ee+";";if(Array.isArray(G)){var ze=E.schema.additionalItems;if(ze===false){$+=" "+Ee+" = "+_e+".length <= "+G.length+"; ";var Ue=ae;ae=E.errSchemaPath+"/additionalItems";$+=" if (!"+Ee+") { ";var qe=qe||[];qe.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+G.length+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have more than "+G.length+" items' "}if(E.opts.verbose){$+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Ge=$;$=qe.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ge+"]); "}else{$+=" validate.errors = ["+Ge+"]; return false; "}}else{$+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";ae=Ue;if(le){Me+="}";$+=" else { "}}var He=G;if(He){var We,Ve=-1,Ke=He.length-1;while(Ve0||We===false:E.util.schemaHasRules(We,E.RULES.all)){$+=" "+Te+" = true; if ("+_e+".length > "+Ve+") { ";var Qe=_e+"["+Ve+"]";Ie.schema=We;Ie.schemaPath=ie+"["+Ve+"]";Ie.errSchemaPath=ae+"/"+Ve;Ie.errorPath=E.util.getPathExpr(E.errorPath,Ve,E.opts.jsonPointers,true);Ie.dataPathArr[Be]=Ve;var Je=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}$+=" } ";if(le){$+=" if ("+Te+") { ";Me+="}"}}}}if(typeof ze=="object"&&(E.opts.strictKeywords?typeof ze=="object"&&Object.keys(ze).length>0||ze===false:E.util.schemaHasRules(ze,E.RULES.all))){Ie.schema=ze;Ie.schemaPath=E.schemaPath+".additionalItems";Ie.errSchemaPath=E.errSchemaPath+"/additionalItems";$+=" "+Te+" = true; if ("+_e+".length > "+G.length+") { for (var "+Ne+" = "+G.length+"; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Ie.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Qe=_e+"["+Ne+"]";Ie.dataPathArr[Be]=Ne;var Je=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}if(le){$+=" if (!"+Te+") break; "}$+=" } } ";if(le){$+=" if ("+Te+") { ";Me+="}"}}}else if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ie.schema=G;Ie.schemaPath=ie;Ie.errSchemaPath=ae;$+=" for (var "+Ne+" = "+0+"; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Ie.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Qe=_e+"["+Ne+"]";Ie.dataPathArr[Be]=Ne;var Je=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}if(le){$+=" if (!"+Te+") break; "}$+=" }"}if(le){$+=" "+Me+" if ("+we+" == errors) {"}return $}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}if(!(Ee||typeof G=="number")){throw new Error(R+" must be number")}$+="var division"+j+";if (";if(Ee){$+=" "+we+" !== undefined && ( typeof "+we+" != 'number' || "}$+=" (division"+j+" = "+_e+" / "+we+", ";if(E.opts.multipleOfPrecision){$+=" Math.abs(Math.round(division"+j+") - division"+j+") > 1e-"+E.opts.multipleOfPrecision+" "}else{$+=" division"+j+" !== parseInt(division"+j+") "}$+=" ) ";if(Ee){$+=" ) "}$+=" ) { ";var Ie=Ie||[];Ie.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { multipleOf: "+we+" } ";if(E.opts.messages!==false){$+=" , message: 'should be multiple of ";if(Ee){$+="' + "+we}else{$+=""+we+"'"}}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Me=$;$=Ie.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Me+"]); "}else{$+=" validate.errors = ["+Me+"]; return false; "}}else{$+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},74881:E=>{"use strict";E.exports=function generate_not(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);we.level++;var Ie="valid"+we.level;if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){we.schema=G;we.schemaPath=ie;we.errSchemaPath=ae;$+=" var "+Ee+" = errors; ";var Me=E.compositeRule;E.compositeRule=we.compositeRule=true;we.createErrors=false;var Te;if(we.opts.allErrors){Te=we.opts.allErrors;we.opts.allErrors=false}$+=" "+E.validate(we)+" ";we.createErrors=true;if(Te)we.opts.allErrors=Te;E.compositeRule=we.compositeRule=Me;$+=" if ("+Ie+") { ";var Ne=Ne||[];Ne.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should NOT be valid' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Be=$;$=Ne.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Be+"]); "}else{$+=" validate.errors = ["+Be+"]; return false; "}}else{$+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } ";if(E.opts.allErrors){$+=" } "}}else{$+=" var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should NOT be valid' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(le){$+=" if (false) { "}}return $}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne=Ie.baseId,Be="prevValid"+j,Le="passingSchemas"+j;$+="var "+we+" = errors , "+Be+" = false , "+Ee+" = false , "+Le+" = null; ";var je=E.compositeRule;E.compositeRule=Ie.compositeRule=true;var ze=G;if(ze){var Ue,qe=-1,Ge=ze.length-1;while(qe0||Ue===false:E.util.schemaHasRules(Ue,E.RULES.all)){Ie.schema=Ue;Ie.schemaPath=ie+"["+qe+"]";Ie.errSchemaPath=ae+"/"+qe;$+=" "+E.validate(Ie)+" ";Ie.baseId=Ne}else{$+=" var "+Te+" = true; "}if(qe){$+=" if ("+Te+" && "+Be+") { "+Ee+" = false; "+Le+" = ["+Le+", "+qe+"]; } else { ";Me+="}"}$+=" if ("+Te+") { "+Ee+" = "+Be+" = true; "+Le+" = "+qe+"; }"}}E.compositeRule=Ie.compositeRule=je;$+=""+Me+"if (!"+Ee+") { var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { passingSchemas: "+Le+" } ";if(E.opts.messages!==false){$+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(vErrors); "}else{$+=" validate.errors = vErrors; return false; "}}$+="} else { errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; }";if(E.opts.allErrors){$+=" } "}return $}},98676:E=>{"use strict";E.exports=function generate_pattern(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}var Ie=Ee?"(new RegExp("+we+"))":E.usePattern(G);$+="if ( ";if(Ee){$+=" ("+we+" !== undefined && typeof "+we+" != 'string') || "}$+=" !"+Ie+".test("+_e+") ) { ";var Me=Me||[];Me.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { pattern: ";if(Ee){$+=""+we}else{$+=""+E.util.toQuotedString(G)}$+=" } ";if(E.opts.messages!==false){$+=" , message: 'should match pattern \"";if(Ee){$+="' + "+we+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Te=$;$=Me.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Te+"]); "}else{$+=" validate.errors = ["+Te+"]; return false; "}}else{$+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},99306:E=>{"use strict";E.exports=function generate_properties(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Ie="";we.level++;var Me="valid"+we.level;var Te="key"+j,Ne="idx"+j,Be=we.dataLevel=E.dataLevel+1,Le="data"+Be,je="dataProperties"+j;var ze=Object.keys(G||{}).filter(notProto),Ue=E.schema.patternProperties||{},qe=Object.keys(Ue).filter(notProto),Ge=E.schema.additionalProperties,He=ze.length||qe.length,We=Ge===false,Ve=typeof Ge=="object"&&Object.keys(Ge).length,Ke=E.opts.removeAdditional,Qe=We||Ve||Ke,Je=E.opts.ownProperties,Xe=E.baseId;var Ye=E.schema.required;if(Ye&&!(E.opts.$data&&Ye.$data)&&Ye.length8){$+=" || validate.schema"+ie+".hasOwnProperty("+Te+") "}else{var et=ze;if(et){var tt,nt=-1,rt=et.length-1;while(nt0||xt===false:E.util.schemaHasRules(xt,E.RULES.all)){var kt=E.util.getProperty(tt),mt=_e+kt,Et=yt&&xt.default!==undefined;we.schema=xt;we.schemaPath=ie+kt;we.errSchemaPath=ae+"/"+E.util.escapeFragment(tt);we.errorPath=E.util.getPath(E.errorPath,tt,E.opts.jsonPointers);we.dataPathArr[Be]=E.util.toQuotedString(tt);var gt=E.validate(we);we.baseId=Xe;if(E.util.varOccurences(gt,Le)<2){gt=E.util.varReplace(gt,Le,mt);var wt=mt}else{var wt=Le;$+=" var "+Le+" = "+mt+"; "}if(Et){$+=" "+gt+" "}else{if(Ze&&Ze[tt]){$+=" if ( "+wt+" === undefined ";if(Je){$+=" || ! Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=") { "+Me+" = false; ";var ct=E.errorPath,pt=ae,St=E.util.escapeQuotes(tt);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(ct,tt,E.opts.jsonPointers)}ae=E.errSchemaPath+"/required";var dt=dt||[];dt.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+St+"' } ";if(E.opts.messages!==false){$+=" , message: '";if(E.opts._errorDataPathProperty){$+="is a required property"}else{$+="should have required property \\'"+St+"\\'"}$+="' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var ft=$;$=dt.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+ft+"]); "}else{$+=" validate.errors = ["+ft+"]; return false; "}}else{$+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=pt;E.errorPath=ct;$+=" } else { "}else{if(le){$+=" if ( "+wt+" === undefined ";if(Je){$+=" || ! Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=") { "+Me+" = true; } else { "}else{$+=" if ("+wt+" !== undefined ";if(Je){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=" ) { "}}$+=" "+gt+" } "}}if(le){$+=" if ("+Me+") { ";Ie+="}"}}}}if(qe.length){var At=qe;if(At){var it,Ct=-1,Dt=At.length-1;while(Ct0||xt===false:E.util.schemaHasRules(xt,E.RULES.all)){we.schema=xt;we.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(it);we.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(it);if(Je){$+=" "+je+" = "+je+" || Object.keys("+_e+"); for (var "+Ne+"=0; "+Ne+"<"+je+".length; "+Ne+"++) { var "+Te+" = "+je+"["+Ne+"]; "}else{$+=" for (var "+Te+" in "+_e+") { "}$+=" if ("+E.usePattern(it)+".test("+Te+")) { ";we.errorPath=E.util.getPathExpr(E.errorPath,Te,E.opts.jsonPointers);var mt=_e+"["+Te+"]";we.dataPathArr[Be]=Te;var gt=E.validate(we);we.baseId=Xe;if(E.util.varOccurences(gt,Le)<2){$+=" "+E.util.varReplace(gt,Le,mt)+" "}else{$+=" var "+Le+" = "+mt+"; "+gt+" "}if(le){$+=" if (!"+Me+") break; "}$+=" } ";if(le){$+=" else "+Me+" = true; "}$+=" } ";if(le){$+=" if ("+Me+") { ";Ie+="}"}}}}}if(le){$+=" "+Ie+" if ("+Ee+" == errors) {"}return $}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Ie="";we.level++;var Me="valid"+we.level;$+="var "+Ee+" = errors;";if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){we.schema=G;we.schemaPath=ie;we.errSchemaPath=ae;var Te="key"+j,Ne="idx"+j,Be="i"+j,Le="' + "+Te+" + '",je=we.dataLevel=E.dataLevel+1,ze="data"+je,Ue="dataProperties"+j,qe=E.opts.ownProperties,Ge=E.baseId;if(qe){$+=" var "+Ue+" = undefined; "}if(qe){$+=" "+Ue+" = "+Ue+" || Object.keys("+_e+"); for (var "+Ne+"=0; "+Ne+"<"+Ue+".length; "+Ne+"++) { var "+Te+" = "+Ue+"["+Ne+"]; "}else{$+=" for (var "+Te+" in "+_e+") { "}$+=" var startErrs"+j+" = errors; ";var He=Te;var We=E.compositeRule;E.compositeRule=we.compositeRule=true;var Ve=E.validate(we);we.baseId=Ge;if(E.util.varOccurences(Ve,ze)<2){$+=" "+E.util.varReplace(Ve,ze,He)+" "}else{$+=" var "+ze+" = "+He+"; "+Ve+" "}E.compositeRule=we.compositeRule=We;$+=" if (!"+Me+") { for (var "+Be+"=startErrs"+j+"; "+Be+"{"use strict";E.exports=function generate_ref(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.errSchemaPath+"/"+R;var ae=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+j;var Ee,we;if(G=="#"||G=="#/"){if(E.isRoot){Ee=E.async;we="validate"}else{Ee=E.root.schema.$async===true;we="root.refVal[0]"}}else{var Ie=E.resolveRef(E.baseId,G,E.isRoot);if(Ie===undefined){var Me=E.MissingRefError.message(E.baseId,G);if(E.opts.missingRefs=="fail"){E.logger.error(Me);var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ie)+" , params: { ref: '"+E.util.escapeQuotes(G)+"' } ";if(E.opts.messages!==false){$+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(G)+"' "}if(E.opts.verbose){$+=" , schema: "+E.util.toQuotedString(G)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&ae){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(ae){$+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(Me);if(ae){$+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,G,Me)}}else if(Ie.inline){var Be=E.util.copy(E);Be.level++;var Le="valid"+Be.level;Be.schema=Ie.schema;Be.schemaPath="";Be.errSchemaPath=G;var je=E.validate(Be).replace(/validate\.schema/g,Ie.code);$+=" "+je+" ";if(ae){$+=" if ("+Le+") { "}}else{Ee=Ie.$async===true||E.async&&Ie.$async!==false;we=Ie.code}}if(we){var Te=Te||[];Te.push($);$="";if(E.opts.passContext){$+=" "+we+".call(this, "}else{$+=" "+we+"( "}$+=" "+le+", (dataPath || '')";if(E.errorPath!='""'){$+=" + "+E.errorPath}var ze=q?"data"+(q-1||""):"parentData",Ue=q?E.dataPathArr[q]:"parentDataProperty";$+=" , "+ze+" , "+Ue+", rootData) ";var qe=$;$=Te.pop();if(Ee){if(!E.async)throw new Error("async schema referenced by sync schema");if(ae){$+=" var "+_e+"; "}$+=" try { await "+qe+"; ";if(ae){$+=" "+_e+" = true; "}$+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(ae){$+=" "+_e+" = false; "}$+=" } ";if(ae){$+=" if ("+_e+") { "}}else{$+=" if (!"+qe+") { if (vErrors === null) vErrors = "+we+".errors; else vErrors = vErrors.concat("+we+".errors); errors = vErrors.length; } ";if(ae){$+=" else { "}}}return $}},16372:E=>{"use strict";E.exports=function generate_required(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}var Me="schema"+j;if(!we){if(G.length0||ze===false:E.util.schemaHasRules(ze,E.RULES.all)))){Te[Te.length]=Be}}}}else{var Te=G}}if(we||Te.length){var Ue=E.errorPath,qe=we||Te.length>=E.opts.loopRequired,Ge=E.opts.ownProperties;if(le){$+=" var missing"+j+"; ";if(qe){if(!we){$+=" var "+Me+" = validate.schema"+ie+"; "}var He="i"+j,We="schema"+j+"["+He+"]",Ve="' + "+We+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,We,E.opts.jsonPointers)}$+=" var "+Ee+" = true; ";if(we){$+=" if (schema"+j+" === undefined) "+Ee+" = true; else if (!Array.isArray(schema"+j+")) "+Ee+" = false; else {"}$+=" for (var "+He+" = 0; "+He+" < "+Me+".length; "+He+"++) { "+Ee+" = "+_e+"["+Me+"["+He+"]] !== undefined ";if(Ge){$+=" && Object.prototype.hasOwnProperty.call("+_e+", "+Me+"["+He+"]) "}$+="; if (!"+Ee+") break; } ";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Ke=Ke||[];Ke.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+Ve+"' } ";if(E.opts.messages!==false){$+=" , message: '";if(E.opts._errorDataPathProperty){$+="is a required property"}else{$+="should have required property \\'"+Ve+"\\'"}$+="' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Qe=$;$=Ke.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Qe+"]); "}else{$+=" validate.errors = ["+Qe+"]; return false; "}}else{$+=" var err = "+Qe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { "}else{$+=" if ( ";var Je=Te;if(Je){var Xe,He=-1,Ye=Je.length-1;while(He{"use strict";E.exports=function generate_uniqueItems(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if((G||we)&&E.opts.uniqueItems!==false){if(we){$+=" var "+Ee+"; if ("+Ie+" === false || "+Ie+" === undefined) "+Ee+" = true; else if (typeof "+Ie+" != 'boolean') "+Ee+" = false; else { "}$+=" var i = "+_e+".length , "+Ee+" = true , j; if (i > 1) { ";var Me=E.schema.items&&E.schema.items.type,Te=Array.isArray(Me);if(!Me||Me=="object"||Me=="array"||Te&&(Me.indexOf("object")>=0||Me.indexOf("array")>=0)){$+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+_e+"[i], "+_e+"[j])) { "+Ee+" = false; break outer; } } } "}else{$+=" var itemIndices = {}, item; for (;i--;) { var item = "+_e+"[i]; ";var Ne="checkDataType"+(Te?"s":"");$+=" if ("+E.util[Ne](Me,"item",E.opts.strictNumbers,true)+") continue; ";if(Te){$+=" if (typeof item == 'string') item = '\"' + item; "}$+=" if (typeof itemIndices[item] == 'number') { "+Ee+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}$+=" } ";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Be=Be||[];Be.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Le=$;$=Be.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Le+"]); "}else{$+=" validate.errors = ["+Le+"]; return false; "}}else{$+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}}else{if(le){$+=" if (true) { "}}return $}},85061:E=>{"use strict";E.exports=function generate_validate(E,R,N){var $="";var j=E.schema.$async===true,q=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),G=E.self._getId(E.schema);if(E.opts.strictKeywords){var ie=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ie){var ae="unknown keyword: "+ie;if(E.opts.strictKeywords==="log")E.logger.warn(ae);else throw new Error(ae)}}if(E.isTop){$+=" var validate = ";if(j){E.async=true;$+="async "}$+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(G&&(E.opts.sourceCode||E.opts.processCode)){$+=" "+("/*# sourceURL="+G+" */")+" "}}if(typeof E.schema=="boolean"||!(q||E.schema.$ref)){var R="false schema";var le=E.level;var _e=E.dataLevel;var Ee=E.schema[R];var we=E.schemaPath+E.util.getProperty(R);var Ie=E.errSchemaPath+"/"+R;var Me=!E.opts.allErrors;var Te;var Ne="data"+(_e||"");var Be="valid"+le;if(E.schema===false){if(E.isTop){Me=true}else{$+=" var "+Be+" = false; "}var Le=Le||[];Le.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(Te||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Ie)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'boolean schema is false' "}if(E.opts.verbose){$+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}$+=" } "}else{$+=" {} "}var je=$;$=Le.pop();if(!E.compositeRule&&Me){if(E.async){$+=" throw new ValidationError(["+je+"]); "}else{$+=" validate.errors = ["+je+"]; return false; "}}else{$+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if(j){$+=" return data; "}else{$+=" validate.errors = null; return true; "}}else{$+=" var "+Be+" = true; "}}if(E.isTop){$+=" }; return validate; "}return $}if(E.isTop){var ze=E.isTop,le=E.level=0,_e=E.dataLevel=0,Ne="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Ue="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}$+=" var vErrors = null; ";$+=" var errors = 0; ";$+=" if (rootData === undefined) rootData = data; "}else{var le=E.level,_e=E.dataLevel,Ne="data"+(_e||"");if(G)E.baseId=E.resolve.url(E.baseId,G);if(j&&!E.async)throw new Error("async schema in sync schema");$+=" var errs_"+le+" = errors;"}var Be="valid"+le,Me=!E.opts.allErrors,qe="",Ge="";var Te;var He=E.schema.type,We=Array.isArray(He);if(He&&E.opts.nullable&&E.schema.nullable===true){if(We){if(He.indexOf("null")==-1)He=He.concat("null")}else if(He!="null"){He=[He,"null"];We=true}}if(We&&He.length==1){He=He[0];We=false}if(E.schema.$ref&&q){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){q=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){$+=" "+E.RULES.all.$comment.code(E,"$comment")}if(He){if(E.opts.coerceTypes){var Ve=E.util.coerceToTypes(E.opts.coerceTypes,He)}var Ke=E.RULES.types[He];if(Ve||We||Ke===true||Ke&&!$shouldUseGroup(Ke)){var we=E.schemaPath+".type",Ie=E.errSchemaPath+"/type";var we=E.schemaPath+".type",Ie=E.errSchemaPath+"/type",Qe=We?"checkDataTypes":"checkDataType";$+=" if ("+E.util[Qe](He,Ne,E.opts.strictNumbers,true)+") { ";if(Ve){var Je="dataType"+le,Xe="coerced"+le;$+=" var "+Je+" = typeof "+Ne+"; var "+Xe+" = undefined; ";if(E.opts.coerceTypes=="array"){$+=" if ("+Je+" == 'object' && Array.isArray("+Ne+") && "+Ne+".length == 1) { "+Ne+" = "+Ne+"[0]; "+Je+" = typeof "+Ne+"; if ("+E.util.checkDataType(E.schema.type,Ne,E.opts.strictNumbers)+") "+Xe+" = "+Ne+"; } "}$+=" if ("+Xe+" !== undefined) ; ";var Ye=Ve;if(Ye){var Ze,et=-1,tt=Ye.length-1;while(et{"use strict";var $=/^[a-z_$][a-z0-9_$-]*$/i;var j=N(99819);var q=N(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,R){var N=this.RULES;if(N.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!$.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(R){this.validateKeyword(R,true);var q=R.type;if(Array.isArray(q)){for(var G=0;G{"use strict";E=N.nmd(E);const wrapAnsi16=(E,R)=>(...N)=>{const $=E(...N);return`[${$+R}m`};const wrapAnsi256=(E,R)=>(...N)=>{const $=E(...N);return`[${38+R};5;${$}m`};const wrapAnsi16m=(E,R)=>(...N)=>{const $=E(...N);return`[${38+R};2;${$[0]};${$[1]};${$[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,R,N)=>[E,R,N];const setLazyProperty=(E,R,N)=>{Object.defineProperty(E,R,{get:()=>{const $=N();Object.defineProperty(E,R,{value:$,enumerable:true,configurable:true});return $},enumerable:true,configurable:true})};let $;const makeDynamicStyles=(E,R,j,q)=>{if($===undefined){$=N(76843)}const G=q?10:0;const ie={};for(const[N,q]of Object.entries($)){const $=N==="ansi16"?"ansi":N;if(N===R){ie[$]=E(j,G)}else if(typeof q==="object"){ie[$]=E(q[R],G)}}return ie};function assembleStyles(){const E=new Map;const R={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};R.color.gray=R.color.blackBright;R.bgColor.bgGray=R.bgColor.bgBlackBright;R.color.grey=R.color.blackBright;R.bgColor.bgGrey=R.bgColor.bgBlackBright;for(const[N,$]of Object.entries(R)){for(const[N,j]of Object.entries($)){R[N]={open:`[${j[0]}m`,close:`[${j[1]}m`};$[N]=R[N];E.set(j[0],j[1])}Object.defineProperty(R,N,{value:$,enumerable:false})}Object.defineProperty(R,"codes",{value:E,enumerable:false});R.color.close="";R.bgColor.close="";setLazyProperty(R.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(R.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(R.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(R.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(R.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(R.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return R}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},33775:(E,R,N)=>{const $=N(24253);const j={};for(const E of Object.keys($)){j[$[E]]=E}const q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};E.exports=q;for(const E of Object.keys(q)){if(!("channels"in q[E])){throw new Error("missing channels property: "+E)}if(!("labels"in q[E])){throw new Error("missing channel labels property: "+E)}if(q[E].labels.length!==q[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:R,labels:N}=q[E];delete q[E].channels;delete q[E].labels;Object.defineProperty(q[E],"channels",{value:R});Object.defineProperty(q[E],"labels",{value:N})}q.rgb.hsl=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.min(R,N,$);const q=Math.max(R,N,$);const G=q-j;let ie;let ae;if(q===j){ie=0}else if(R===q){ie=(N-$)/G}else if(N===q){ie=2+($-R)/G}else if($===q){ie=4+(R-N)/G}ie=Math.min(ie*60,360);if(ie<0){ie+=360}const le=(j+q)/2;if(q===j){ae=0}else if(le<=.5){ae=G/(q+j)}else{ae=G/(2-q-j)}return[ie,ae*100,le*100]};q.rgb.hsv=function(E){let R;let N;let $;let j;let q;const G=E[0]/255;const ie=E[1]/255;const ae=E[2]/255;const le=Math.max(G,ie,ae);const _e=le-Math.min(G,ie,ae);const diffc=function(E){return(le-E)/6/_e+1/2};if(_e===0){j=0;q=0}else{q=_e/le;R=diffc(G);N=diffc(ie);$=diffc(ae);if(G===le){j=$-N}else if(ie===le){j=1/3+R-$}else if(ae===le){j=2/3+N-R}if(j<0){j+=1}else if(j>1){j-=1}}return[j*360,q*100,le*100]};q.rgb.hwb=function(E){const R=E[0];const N=E[1];let $=E[2];const j=q.rgb.hsl(E)[0];const G=1/255*Math.min(R,Math.min(N,$));$=1-1/255*Math.max(R,Math.max(N,$));return[j,G*100,$*100]};q.rgb.cmyk=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.min(1-R,1-N,1-$);const q=(1-R-j)/(1-j)||0;const G=(1-N-j)/(1-j)||0;const ie=(1-$-j)/(1-j)||0;return[q*100,G*100,ie*100,j*100]};function comparativeDistance(E,R){return(E[0]-R[0])**2+(E[1]-R[1])**2+(E[2]-R[2])**2}q.rgb.keyword=function(E){const R=j[E];if(R){return R}let N=Infinity;let q;for(const R of Object.keys($)){const j=$[R];const G=comparativeDistance(E,j);if(G.04045?((R+.055)/1.055)**2.4:R/12.92;N=N>.04045?((N+.055)/1.055)**2.4:N/12.92;$=$>.04045?(($+.055)/1.055)**2.4:$/12.92;const j=R*.4124+N*.3576+$*.1805;const q=R*.2126+N*.7152+$*.0722;const G=R*.0193+N*.1192+$*.9505;return[j*100,q*100,G*100]};q.rgb.lab=function(E){const R=q.rgb.xyz(E);let N=R[0];let $=R[1];let j=R[2];N/=95.047;$/=100;j/=108.883;N=N>.008856?N**(1/3):7.787*N+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;const G=116*$-16;const ie=500*(N-$);const ae=200*($-j);return[G,ie,ae]};q.hsl.rgb=function(E){const R=E[0]/360;const N=E[1]/100;const $=E[2]/100;let j;let q;let G;if(N===0){G=$*255;return[G,G,G]}if($<.5){j=$*(1+N)}else{j=$+N-$*N}const ie=2*$-j;const ae=[0,0,0];for(let E=0;E<3;E++){q=R+1/3*-(E-1);if(q<0){q++}if(q>1){q--}if(6*q<1){G=ie+(j-ie)*6*q}else if(2*q<1){G=j}else if(3*q<2){G=ie+(j-ie)*(2/3-q)*6}else{G=ie}ae[E]=G*255}return ae};q.hsl.hsv=function(E){const R=E[0];let N=E[1]/100;let $=E[2]/100;let j=N;const q=Math.max($,.01);$*=2;N*=$<=1?$:2-$;j*=q<=1?q:2-q;const G=($+N)/2;const ie=$===0?2*j/(q+j):2*N/($+N);return[R,ie*100,G*100]};q.hsv.rgb=function(E){const R=E[0]/60;const N=E[1]/100;let $=E[2]/100;const j=Math.floor(R)%6;const q=R-Math.floor(R);const G=255*$*(1-N);const ie=255*$*(1-N*q);const ae=255*$*(1-N*(1-q));$*=255;switch(j){case 0:return[$,ae,G];case 1:return[ie,$,G];case 2:return[G,$,ae];case 3:return[G,ie,$];case 4:return[ae,G,$];case 5:return[$,G,ie]}};q.hsv.hsl=function(E){const R=E[0];const N=E[1]/100;const $=E[2]/100;const j=Math.max($,.01);let q;let G;G=(2-N)*$;const ie=(2-N)*j;q=N*j;q/=ie<=1?ie:2-ie;q=q||0;G/=2;return[R,q*100,G*100]};q.hwb.rgb=function(E){const R=E[0]/360;let N=E[1]/100;let $=E[2]/100;const j=N+$;let q;if(j>1){N/=j;$/=j}const G=Math.floor(6*R);const ie=1-$;q=6*R-G;if((G&1)!==0){q=1-q}const ae=N+q*(ie-N);let le;let _e;let Ee;switch(G){default:case 6:case 0:le=ie;_e=ae;Ee=N;break;case 1:le=ae;_e=ie;Ee=N;break;case 2:le=N;_e=ie;Ee=ae;break;case 3:le=N;_e=ae;Ee=ie;break;case 4:le=ae;_e=N;Ee=ie;break;case 5:le=ie;_e=N;Ee=ae;break}return[le*255,_e*255,Ee*255]};q.cmyk.rgb=function(E){const R=E[0]/100;const N=E[1]/100;const $=E[2]/100;const j=E[3]/100;const q=1-Math.min(1,R*(1-j)+j);const G=1-Math.min(1,N*(1-j)+j);const ie=1-Math.min(1,$*(1-j)+j);return[q*255,G*255,ie*255]};q.xyz.rgb=function(E){const R=E[0]/100;const N=E[1]/100;const $=E[2]/100;let j;let q;let G;j=R*3.2406+N*-1.5372+$*-.4986;q=R*-.9689+N*1.8758+$*.0415;G=R*.0557+N*-.204+$*1.057;j=j>.0031308?1.055*j**(1/2.4)-.055:j*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;G=G>.0031308?1.055*G**(1/2.4)-.055:G*12.92;j=Math.min(Math.max(0,j),1);q=Math.min(Math.max(0,q),1);G=Math.min(Math.max(0,G),1);return[j*255,q*255,G*255]};q.xyz.lab=function(E){let R=E[0];let N=E[1];let $=E[2];R/=95.047;N/=100;$/=108.883;R=R>.008856?R**(1/3):7.787*R+16/116;N=N>.008856?N**(1/3):7.787*N+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;const j=116*N-16;const q=500*(R-N);const G=200*(N-$);return[j,q,G]};q.lab.xyz=function(E){const R=E[0];const N=E[1];const $=E[2];let j;let q;let G;q=(R+16)/116;j=N/500+q;G=q-$/200;const ie=q**3;const ae=j**3;const le=G**3;q=ie>.008856?ie:(q-16/116)/7.787;j=ae>.008856?ae:(j-16/116)/7.787;G=le>.008856?le:(G-16/116)/7.787;j*=95.047;q*=100;G*=108.883;return[j,q,G]};q.lab.lch=function(E){const R=E[0];const N=E[1];const $=E[2];let j;const q=Math.atan2($,N);j=q*360/2/Math.PI;if(j<0){j+=360}const G=Math.sqrt(N*N+$*$);return[R,G,j]};q.lch.lab=function(E){const R=E[0];const N=E[1];const $=E[2];const j=$/360*2*Math.PI;const q=N*Math.cos(j);const G=N*Math.sin(j);return[R,q,G]};q.rgb.ansi16=function(E,R=null){const[N,$,j]=E;let G=R===null?q.rgb.hsv(E)[2]:R;G=Math.round(G/50);if(G===0){return 30}let ie=30+(Math.round(j/255)<<2|Math.round($/255)<<1|Math.round(N/255));if(G===2){ie+=60}return ie};q.hsv.ansi16=function(E){return q.rgb.ansi16(q.hsv.rgb(E),E[2])};q.rgb.ansi256=function(E){const R=E[0];const N=E[1];const $=E[2];if(R===N&&N===$){if(R<8){return 16}if(R>248){return 231}return Math.round((R-8)/247*24)+232}const j=16+36*Math.round(R/255*5)+6*Math.round(N/255*5)+Math.round($/255*5);return j};q.ansi16.rgb=function(E){let R=E%10;if(R===0||R===7){if(E>50){R+=3.5}R=R/10.5*255;return[R,R,R]}const N=(~~(E>50)+1)*.5;const $=(R&1)*N*255;const j=(R>>1&1)*N*255;const q=(R>>2&1)*N*255;return[$,j,q]};q.ansi256.rgb=function(E){if(E>=232){const R=(E-232)*10+8;return[R,R,R]}E-=16;let R;const N=Math.floor(E/36)/5*255;const $=Math.floor((R=E%36)/6)/5*255;const j=R%6/5*255;return[N,$,j]};q.rgb.hex=function(E){const R=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const N=R.toString(16).toUpperCase();return"000000".substring(N.length)+N};q.hex.rgb=function(E){const R=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!R){return[0,0,0]}let N=R[0];if(R[0].length===3){N=N.split("").map((E=>E+E)).join("")}const $=parseInt(N,16);const j=$>>16&255;const q=$>>8&255;const G=$&255;return[j,q,G]};q.rgb.hcg=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.max(Math.max(R,N),$);const q=Math.min(Math.min(R,N),$);const G=j-q;let ie;let ae;if(G<1){ie=q/(1-G)}else{ie=0}if(G<=0){ae=0}else if(j===R){ae=(N-$)/G%6}else if(j===N){ae=2+($-R)/G}else{ae=4+(R-N)/G}ae/=6;ae%=1;return[ae*360,G*100,ie*100]};q.hsl.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=N<.5?2*R*N:2*R*(1-N);let j=0;if($<1){j=(N-.5*$)/(1-$)}return[E[0],$*100,j*100]};q.hsv.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=R*N;let j=0;if($<1){j=(N-$)/(1-$)}return[E[0],$*100,j*100]};q.hcg.rgb=function(E){const R=E[0]/360;const N=E[1]/100;const $=E[2]/100;if(N===0){return[$*255,$*255,$*255]}const j=[0,0,0];const q=R%1*6;const G=q%1;const ie=1-G;let ae=0;switch(Math.floor(q)){case 0:j[0]=1;j[1]=G;j[2]=0;break;case 1:j[0]=ie;j[1]=1;j[2]=0;break;case 2:j[0]=0;j[1]=1;j[2]=G;break;case 3:j[0]=0;j[1]=ie;j[2]=1;break;case 4:j[0]=G;j[1]=0;j[2]=1;break;default:j[0]=1;j[1]=0;j[2]=ie}ae=(1-N)*$;return[(N*j[0]+ae)*255,(N*j[1]+ae)*255,(N*j[2]+ae)*255]};q.hcg.hsv=function(E){const R=E[1]/100;const N=E[2]/100;const $=R+N*(1-R);let j=0;if($>0){j=R/$}return[E[0],j*100,$*100]};q.hcg.hsl=function(E){const R=E[1]/100;const N=E[2]/100;const $=N*(1-R)+.5*R;let j=0;if($>0&&$<.5){j=R/(2*$)}else if($>=.5&&$<1){j=R/(2*(1-$))}return[E[0],j*100,$*100]};q.hcg.hwb=function(E){const R=E[1]/100;const N=E[2]/100;const $=R+N*(1-R);return[E[0],($-R)*100,(1-$)*100]};q.hwb.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=1-N;const j=$-R;let q=0;if(j<1){q=($-j)/(1-j)}return[E[0],j*100,q*100]};q.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};q.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};q.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};q.gray.hsl=function(E){return[0,0,E[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(E){return[0,100,E[0]]};q.gray.cmyk=function(E){return[0,0,0,E[0]]};q.gray.lab=function(E){return[E[0],0,0]};q.gray.hex=function(E){const R=Math.round(E[0]/100*255)&255;const N=(R<<16)+(R<<8)+R;const $=N.toString(16).toUpperCase();return"000000".substring($.length)+$};q.rgb.gray=function(E){const R=(E[0]+E[1]+E[2])/3;return[R/255*100]}},76843:(E,R,N)=>{const $=N(33775);const j=N(2581);const q={};const G=Object.keys($);function wrapRaw(E){const wrappedFn=function(...R){const N=R[0];if(N===undefined||N===null){return N}if(N.length>1){R=N}return E(R)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...R){const N=R[0];if(N===undefined||N===null){return N}if(N.length>1){R=N}const $=E(R);if(typeof $==="object"){for(let E=$.length,R=0;R{q[E]={};Object.defineProperty(q[E],"channels",{value:$[E].channels});Object.defineProperty(q[E],"labels",{value:$[E].labels});const R=j(E);const N=Object.keys(R);N.forEach((N=>{const $=R[N];q[E][N]=wrapRounded($);q[E][N].raw=wrapRaw($)}))}));E.exports=q},2581:(E,R,N)=>{const $=N(33775);function buildGraph(){const E={};const R=Object.keys($);for(let N=R.length,$=0;${function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,R,N)=>{var $=N(76052);var j=N(92406).D;var q=N(78864);var G=N(71017);var ie=N(46233);var ae=N(72464);var le=N(81886);var _e=365.259641*24*60*60*1e3;var Ee=37;var we=1;var Ie=2;function isVersionsMatch(E,R){return(E+".").indexOf(R+".")===0}function isEolReleased(E){var R=E.slice(1);return $.some((function(E){return isVersionsMatch(E.version,R)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var R=E;if(E.split(".").length===3){R=E.split(".").slice(0,-1).join(".")}return R}function nameMapper(E){return function mapName(R){return E+" "+R}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,R){if(E.length===0)return[];var N=uniq(E.map(getMajor));var $=N[N.length-R];if(!$){return E}var j=[];for(var q=E.length-1;q>=0;q--){if($>getMajor(E[q]))break;j.unshift(E[q])}return j}function uniq(E){var R=[];for(var N=0;N"){return function(E){return parseFloat(E)>R}}else if(E===">="){return function(E){return parseFloat(E)>=R}}else if(E==="<"){return function(E){return parseFloat(E)"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,R)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,R)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(R,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(R,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,R){if(ER)return+1;return 0}function compareSemver(E,R){return compare(parseInt(E[0]),parseInt(R[0]))||compare(parseInt(E[1]||"0"),parseInt(R[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(R[2]||"0"))}function semverFilterLoose(E,R){R=R.split(".").map(parseSimpleInt);if(typeof R[1]==="undefined"){R[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,R)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,R)>=0}}}function compareSemverLoose(E,R){if(E[0]!==R[0]){return E[0]=E}));return N.concat(q.map(nameMapper(j.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,R){E.versions=E.versions.map((function(E){return R[E]||E}));E.released=E.versions.map((function(E){return R[E]||E}));var N={};for(var $ in E.releaseDate){N[R[$]||$]=E.releaseDate[$]}E.releaseDate=N;return E}function byName(E,R){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(R.mobileToDesktop&&browserslist.desktopNames[E]){var N=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),N)}else{var $=cloneData(N);$.name=E;if(E==="op_mob"){$=mapVersions($,{"10.0-10.1":"10"})}return $}}return browserslist.data[E]}function normalizeAndroidVersions(E,R){var N=Ee;var $=R[R.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(R.slice(N-$-1))}function normalizeAndroidData(E,R){E.released=normalizeAndroidVersions(E.released,R.released);E.versions=normalizeAndroidVersions(E.versions,R.versions);return E}function checkName(E,R){var N=byName(E,R);if(!N)throw new ae("Unknown browser "+E);return N}function unknownQuery(E){return new ae("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,R,N){if(N.mobileToDesktop)return E;var $=browserslist.data.android.released;var j=$[$.length-1];var q=j-Ee-R;if(q>0){return E.slice(-1)}else{return E.slice(q-1)}}function resolve(E,R){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,N,$){var j=N.queryString;var q=j.indexOf("not ")===0;if(q){if($===0){throw new ae("Write any browsers query (for instance, `defaults`) "+"before `"+j+"`")}j=j.slice(4)}for(var G=0;G 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=le.clearCaches;browserslist.parseConfig=le.parseConfig;browserslist.readConfig=le.readConfig;browserslist.findConfig=le.findConfig;browserslist.loadConfig=le.loadConfig;browserslist.coverage=function(E,R){var N;if(typeof R==="undefined"){N=browserslist.usage.global}else if(R==="my stats"){var $={};$.path=G.resolve?G.resolve("."):".";var j=le.getStat($);if(!j){throw new ae("Custom usage statistics was not provided")}N={};for(var q in j){fillUsage(N,q,j[q])}}else if(typeof R==="string"){if(R.length>2){R=R.toLowerCase()}else{R=R.toUpperCase()}le.loadCountry(browserslist.usage,R,browserslist.data);N=browserslist.usage[R]}else{if("dataByBrowser"in R){R=R.dataByBrowser}N={};for(var ie in R){for(var _e in R[ie]){N[ie+" "+_e]=R[ie][_e]}}}return E.reduce((function(E,R){var $=N[R];if($===undefined){$=N[R.replace(/ \S+$/," 0")]}return E+($||0)}),0)};function nodeQuery(E,R){var N=$.filter((function(E){return E.name==="nodejs"}));var j=N.filter((function(E){return isVersionsMatch(E.version,R)}));if(j.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+R+" of Node.js")}}return["node "+j[j.length-1].version]}function sinceQuery(E,R,N,$){R=parseInt(R);N=parseInt(N||"01")-1;$=parseInt($||"01");return filterByYear(Date.UTC(R,N,$,0,0,0),E)}function coverQuery(E,R,N){R=parseFloat(R);var $=browserslist.usage.global;if(N){if(N.match(/^my\s+stats$/)){if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}$=E.customUsage}else{var j;if(N.length===2){j=N.toUpperCase()}else{j=N.toLowerCase()}le.loadCountry(browserslist.usage,j,browserslist.data);$=browserslist.usage[j]}}var q=Object.keys($).sort((function(E,R){return $[R]-$[E]}));var G=0;var ie=[];var _e;for(var Ee=0;Ee<=q.length;Ee++){_e=q[Ee];if($[_e]===0)break;G+=$[_e];ie.push(_e);if(G>=R)break}return ie}var Te=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,R){return Object.keys(j).reduce((function(N,$){var j=byName($,E);if(!j)return N;var q=getMajorVersions(j.released,R);q=q.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,R,E)}return N.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,R){return Object.keys(j).reduce((function(N,$){var j=byName($,E);if(!j)return N;var q=j.released.slice(-R);q=q.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,R,E)}return N.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,R){var N=getMajorVersions(Object.keys(ie),R);return N.map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,R,N){var $=checkName(N,E);var j=getMajorVersions($.released,R);var q=j.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,R,E)}return q}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,R){return Object.keys(ie).slice(-R).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,R,N){var $=checkName(N,E);var j=$.released.slice(-R).map(nameMapper($.name));if($.name==="android"){j=filterAndroid(j,R,E)}return j}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys(j).reduce((function(R,N){var $=byName(N,E);if(!$)return R;var j=$.versions.filter((function(E){return $.released.indexOf(E)===-1}));j=j.map(nameMapper($.name));return R.concat(j)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,R){var N=checkName(R,E);return N.versions.filter((function(E){return N.released.indexOf(E)===-1})).map(nameMapper(N.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,R){return filterByYear(Date.now()-_e*R,E)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(E,R,N){N=parseFloat(N);var $=browserslist.usage.global;return Object.keys($).reduce((function(E,j){if(R===">"){if($[j]>N){E.push(j)}}else if(R==="<"){if($[j]=N){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(E,R,N){N=parseFloat(N);if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var $=E.customUsage;return Object.keys($).reduce((function(E,j){if(R===">"){if($[j]>N){E.push(j)}}else if(R==="<"){if($[j]=N){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,R,N,$){N=parseFloat(N);var j=le.loadStat(E,$,browserslist.data);if(j){E.customUsage={};for(var q in j){fillUsage(E.customUsage,q,j[q])}}if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var G=E.customUsage;return Object.keys(G).reduce((function(E,$){if(R===">"){if(G[$]>N){E.push($)}}else if(R==="<"){if(G[$]=N){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,R,N,$){N=parseFloat(N);if($.length===2){$=$.toUpperCase()}else{$=$.toLowerCase()}le.loadCountry(browserslist.usage,$,browserslist.data);var j=browserslist.usage[$];return Object.keys(j).reduce((function(E,$){if(R===">"){if(j[$]>N){E.push($)}}else if(R==="<"){if(j[$]=N){E.push($)}return E}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(E,R){le.loadFeature(browserslist.cache,R);var N=browserslist.cache[R];return Object.keys(N).reduce((function(E,R){var $=N[R];if($.indexOf("y")>=0||$.indexOf("a")>=0){E.push(R)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N){var $=normalizeElectron(R);var j=normalizeElectron(N);if(!ie[$]){throw new ae("Unknown version "+R+" of electron")}if(!ie[j]){throw new ae("Unknown version "+N+" of electron")}R=parseFloat(R);N=parseFloat(N);return Object.keys(ie).filter((function(E){var $=parseFloat(E);return $>=R&&$<=N})).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N){var j=$.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return j.filter(semverFilterLoose(">=",R)).filter(semverFilterLoose("<=",N)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N,$){var j=checkName(R,E);N=parseFloat(normalizeVersion(j,N)||N);$=parseFloat(normalizeVersion(j,$)||$);function filter(E){var R=parseFloat(E);return R>=N&&R<=$}return j.released.filter(filter).map(nameMapper(j.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,R,N){var $=normalizeElectron(N);return Object.keys(ie).filter(generateFilter(R,$)).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,R,N){var j=$.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return j.filter(generateSemverFilter(R,N)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,R,N,$){var j=checkName(R,E);var q=browserslist.versionAliases[j.name][$];if(q){$=q}return j.released.filter(generateFilter(N,$)).map((function(E){return j.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,R){var N=normalizeElectron(R);var $=ie[N];if(!$){throw new ae("Unknown version "+R+" of electron")}return["chrome "+$]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(E){return[le.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var R=Date.now();var N=Object.keys(q).filter((function(E){return RDate.parse(q[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(N,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,R,N){if(/^tp$/i.test(N))N="TP";var $=checkName(R,E);var j=normalizeVersion($,N);if(j){N=j}else{if(N.indexOf(".")===-1){j=N+".0"}else{j=N.replace(/\.0$/,"")}j=normalizeVersion($,j);if(j){N=j}else if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+N+" of "+R)}}return[$.name+" "+N]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,R){return resolve(le.loadQueries(E,R),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var R=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(R,E)}},{regexp:/^(\w+)$/i,select:function(E,R){if(byName(R,E)){throw new ae("Specify versions in Browserslist query for browser "+R)}else{throw unknownQuery(R)}}}];(function(){for(var E in j){var R=j[E];browserslist.data[E]={name:E,versions:normalize(j[E].versions),released:normalize(j[E].versions.slice(0,-3)),releaseDate:j[E].release_date};fillUsage(browserslist.usage.global,E,R.usage_global);browserslist.versionAliases[E]={};for(var N=0;N{var $=N(30048)["default"];var j=N(24356)["default"];var q=N(71017);var G=N(57147);var ie=N(72464);var ae=/^\s*\[(.+)]\s*$/;var le=/^browserslist-config-/;var _e=/@[^/]+\/browserslist-config(-|$|\/)/;var Ee=6*30*24*60*60*1e3;var we="Browserslist config should be a string or an array "+"of strings with browser queries";var Ie=false;var Me={};var Te={};function checkExtend(E){var R=" Use `dangerousExtend` option to disable.";if(!le.test(E)&&!_e.test(E)){throw new ie("Browserslist config needs `browserslist-config-` prefix. "+R)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ie("`.` not allowed in Browserslist config name. "+R)}if(E.indexOf("node_modules")!==-1){throw new ie("`node_modules` not allowed in Browserslist config."+R)}}function isFile(E){if(E in Me){return Me[E]}var R=G.existsSync(E)&&G.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){Me[E]=R}return R}function eachParent(E,R){var N=isFile(E)?q.dirname(E):E;var $=q.resolve(N);do{var j=R($);if(typeof j!=="undefined")return j}while($!==($=q.dirname($)));return undefined}function check(E){if(Array.isArray(E)){for(var R=0;R{E.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.058856,1:.004204,2:.004204,3:.004525,4:.004271,5:.008408,6:.004538,7:.004267,8:.004204,9:.071468,hB:.012813,YB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,ZB:.004204,GB:.008408,aB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,VB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","YB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,hB:1161648e3,YB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,ZB:1520985600,GB:1525824e3,aB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,VB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{0:.008408,1:.004465,2:.004642,3:.004891,4:.008408,5:.02102,6:.214404,7:.004204,8:.016816,9:.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,ZB:.008408,GB:.016816,aB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,VB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,ZB:1496707200,GB:1500940800,aB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,VB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,WB:.058856,XB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","WB","C","XB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,WB:1522281600,C:1537142400,XB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{0:.008542,1:.004227,2:.004725,3:.008408,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,VB:0,wB:.00685,xB:0,yB:.008392,zB:.004706,WB:.006229,eB:.004879,"0B":.008786,XB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","WB","eB","0B","C","XB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,WB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,XB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3,VB:1623715200},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",WB:"o",eB:"o","0B":"o",XB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{YB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","YB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,YB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,WB:0,eB:0,XB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","WB","eB","C","XB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,WB:1314835200,eB:1318291200,C:1330300800,XB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"77",WB:"11.1",XB:"12.1",YB:"3",ZB:"59",aB:"61",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:E=>{E.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:E=>{E.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,R,N)=>{const{browsers:$}=N(59307);const j=N(57917).browserVersions;const q=N(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce(((R,N)=>{R[j[N]]=E[N];return R}),{})}E.exports.D=Object.keys(q).reduce(((E,R)=>{let N=q[R];E[$[R]]=Object.keys(N).reduce(((E,R)=>{if(R==="A"){E.usage_global=unpackBrowserVersions(N[R])}else if(R==="C"){E.versions=N[R].reduce(((E,R)=>{if(R===""){E.push(null)}else{E.push(j[R])}return E}),[])}else if(R==="D"){E.prefix_exceptions=unpackBrowserVersions(N[R])}else if(R==="E"){E.browser=N[R]}else if(R==="F"){E.release_date=Object.keys(N[R]).reduce(((E,$)=>{E[j[$]]=N[R][$];return E}),{})}else{E.prefix=N[R]}return E}),{});return E}),{})},57917:(E,R,N)=>{E.exports.browserVersions=N(5682)},59307:(E,R,N)=>{E.exports.browsers=N(73238)},30048:(E,R,N)=>{const $=N(54994);const j=N(44909);const{browsers:q}=N(59307);const G=N(57917).browserVersions;const ie=Math.log(2);function unpackSupport(E){let R=Object.keys(j).reduce(((R,N)=>{if(E&j[N])R.push(N);return R}),[]);let N=E>>7;let $=[];while(N){let E=Math.floor(Math.log(N)/ie)+1;$.unshift(`#${E}`);N-=Math.pow(2,E-1)}return R.concat($).join(" ")}function unpackFeature(E){let R={status:$[E.B],title:E.C};R.stats=Object.keys(E.A).reduce(((R,N)=>{let $=E.A[N];R[q[N]]=Object.keys($).reduce(((E,R)=>{let N=$[R].split(" ");let j=unpackSupport(R);N.forEach((R=>E[G[R]]=j));return E}),{});return R}),{});return R}E.exports=unpackFeature;E.exports["default"]=unpackFeature},24356:(E,R,N)=>{const{browsers:$}=N(59307);function unpackRegion(E){return Object.keys(E).reduce(((R,N)=>{let j=E[N];R[$[N]]=Object.keys(j).reduce(((E,R)=>{let N=j[R];if(R==="_"){N.split(" ").forEach((R=>E[R]=null))}else{E[R]=N}return E}),{});return R}),{})}E.exports=unpackRegion;E.exports["default"]=unpackRegion},57347:(E,R,N)=>{"use strict";const $=N(11207);const{stdout:j,stderr:q}=N(96204);const{stringReplaceAll:G,stringEncaseCRLFWithFirstIndex:ie}=N(88445);const{isArray:ae}=Array;const le=["ansi","ansi","ansi256","ansi16m"];const _e=Object.create(null);const applyOptions=(E,R={})=>{if(R.level&&!(Number.isInteger(R.level)&&R.level>=0&&R.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const N=j?j.level:0;E.level=R.level===undefined?N:R.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const R={};applyOptions(R,E);R.template=(...E)=>chalkTag(R.template,...E);Object.setPrototypeOf(R,Chalk.prototype);Object.setPrototypeOf(R.template,R);R.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};R.template.Instance=ChalkClass;return R.template};function Chalk(E){return chalkFactory(E)}for(const[E,R]of Object.entries($)){_e[E]={get(){const N=createBuilder(this,createStyler(R.open,R.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:N});return N}}}_e.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const Ee=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of Ee){_e[E]={get(){const{level:R}=this;return function(...N){const j=createStyler($.color[le[R]][E](...N),$.color.close,this._styler);return createBuilder(this,j,this._isEmpty)}}}}for(const E of Ee){const R="bg"+E[0].toUpperCase()+E.slice(1);_e[R]={get(){const{level:R}=this;return function(...N){const j=createStyler($.bgColor[le[R]][E](...N),$.bgColor.close,this._styler);return createBuilder(this,j,this._isEmpty)}}}}const we=Object.defineProperties((()=>{}),{..._e,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,R,N)=>{let $;let j;if(N===undefined){$=E;j=R}else{$=N.openAll+E;j=R+N.closeAll}return{open:E,close:R,openAll:$,closeAll:j,parent:N}};const createBuilder=(E,R,N)=>{const builder=(...E)=>{if(ae(E[0])&&ae(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,we);builder._generator=E;builder._styler=R;builder._isEmpty=N;return builder};const applyStyle=(E,R)=>{if(E.level<=0||!R){return E._isEmpty?"":R}let N=E._styler;if(N===undefined){return R}const{openAll:$,closeAll:j}=N;if(R.indexOf("")!==-1){while(N!==undefined){R=G(R,N.close,N.open);N=N.parent}}const q=R.indexOf("\n");if(q!==-1){R=ie(R,j,$,q)}return $+R+j};let Ie;const chalkTag=(E,...R)=>{const[$]=R;if(!ae($)||!ae($.raw)){return R.join(" ")}const j=R.slice(1);const q=[$.raw[0]];for(let E=1;E<$.length;E++){q.push(String(j[E-1]).replace(/[{}\\]/g,"\\$&"),String($.raw[E]))}if(Ie===undefined){Ie=N(35702)}return Ie(E,q.join(""))};Object.defineProperties(Chalk.prototype,_e);const Me=Chalk();Me.supportsColor=j;Me.stderr=Chalk({level:q?q.level:0});Me.stderr.supportsColor=q;E.exports=Me},35702:E=>{"use strict";const R=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const N=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const $=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const j=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const q=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const R=E[0]==="u";const N=E[1]==="{";if(R&&!N&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(R&&N){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return q.get(E)||E}function parseArguments(E,R){const N=[];const q=R.trim().split(/\s*,\s*/g);let G;for(const R of q){const q=Number(R);if(!Number.isNaN(q)){N.push(q)}else if(G=R.match($)){N.push(G[2].replace(j,((E,R,N)=>R?unescape(R):N)))}else{throw new Error(`Invalid Chalk template style argument: ${R} (in style '${E}')`)}}return N}function parseStyle(E){N.lastIndex=0;const R=[];let $;while(($=N.exec(E))!==null){const E=$[1];if($[2]){const N=parseArguments(E,$[2]);R.push([E].concat(N))}else{R.push([E])}}return R}function buildStyle(E,R){const N={};for(const E of R){for(const R of E.styles){N[R[0]]=E.inverse?null:R.slice(1)}}let $=E;for(const[E,R]of Object.entries(N)){if(!Array.isArray(R)){continue}if(!(E in $)){throw new Error(`Unknown Chalk style: ${E}`)}$=R.length>0?$[E](...R):$[E]}return $}E.exports=(E,N)=>{const $=[];const j=[];let q=[];N.replace(R,((R,N,G,ie,ae,le)=>{if(N){q.push(unescape(N))}else if(ie){const R=q.join("");q=[];j.push($.length===0?R:buildStyle(E,$)(R));$.push({inverse:G,styles:parseStyle(ie)})}else if(ae){if($.length===0){throw new Error("Found extraneous } in Chalk template literal")}j.push(buildStyle(E,$)(q.join("")));q=[];$.pop()}else{q.push(le)}}));j.push(q.join(""));if($.length>0){const E=`Chalk template literal is missing ${$.length} closing bracket${$.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return j.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,R,N)=>{let $=E.indexOf(R);if($===-1){return E}const j=R.length;let q=0;let G="";do{G+=E.substr(q,$-q)+R+N;q=$+j;$=E.indexOf(R,q)}while($!==-1);G+=E.substr(q);return G};const stringEncaseCRLFWithFirstIndex=(E,R,N,$)=>{let j=0;let q="";do{const G=E[$-1]==="\r";q+=E.substr(j,(G?$-1:$)-j)+R+(G?"\r\n":"\n")+N;j=$+1;$=E.indexOf("\n",j)}while($!==-1);q+=E.substr(j);return q};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(5115);var j=N(12781);function evCommon(){var E=process.hrtime();var R=E[0]*1e6+Math.round(E[1]/1e3);return{ts:R,pid:process.pid,tid:process.pid}}var q=function(E){$.__extends(Tracer,E);function Tracer(R){if(R===void 0){R={}}var N=E.call(this)||this;N.noStream=false;N.events=[];if(typeof R!=="object"){throw new Error("Invalid options passed (must be an object)")}if(R.parent!=null&&typeof R.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(R.fields!=null&&typeof R.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(R.objectMode!=null&&(R.objectMode!==true&&R.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}N.noStream=R.noStream||false;N.parent=R.parent;if(N.parent){N.fields=Object.assign({},R.parent&&R.parent.fields)}else{N.fields={}}if(R.fields){Object.assign(N.fields,R.fields)}if(!N.fields.cat){N.fields.cat="default"}else if(Array.isArray(N.fields.cat)){N.fields.cat=N.fields.cat.join(",")}if(!N.fields.args){N.fields.args={}}if(N.parent){N._push=N.parent._push.bind(N.parent)}else{N._objectMode=Boolean(R.objectMode);var $={objectMode:N._objectMode};if(N._objectMode){N._push=N.push}else{N._push=N._pushString;$.encoding="utf8"}j.Readable.call(N,$)}return N}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,R=this.events;E{"use strict";E.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},93349:(E,R)=>{function isArray(E){if(Array.isArray){return Array.isArray(E)}return objectToString(E)==="[object Array]"}R.isArray=isArray;function isBoolean(E){return typeof E==="boolean"}R.isBoolean=isBoolean;function isNull(E){return E===null}R.isNull=isNull;function isNullOrUndefined(E){return E==null}R.isNullOrUndefined=isNullOrUndefined;function isNumber(E){return typeof E==="number"}R.isNumber=isNumber;function isString(E){return typeof E==="string"}R.isString=isString;function isSymbol(E){return typeof E==="symbol"}R.isSymbol=isSymbol;function isUndefined(E){return E===void 0}R.isUndefined=isUndefined;function isRegExp(E){return objectToString(E)==="[object RegExp]"}R.isRegExp=isRegExp;function isObject(E){return typeof E==="object"&&E!==null}R.isObject=isObject;function isDate(E){return objectToString(E)==="[object Date]"}R.isDate=isDate;function isError(E){return objectToString(E)==="[object Error]"||E instanceof Error}R.isError=isError;function isFunction(E){return typeof E==="function"}R.isFunction=isFunction;function isPrimitive(E){return E===null||typeof E==="boolean"||typeof E==="number"||typeof E==="string"||typeof E==="symbol"||typeof E==="undefined"}R.isPrimitive=isPrimitive;R.isBuffer=Buffer.isBuffer;function objectToString(E){return Object.prototype.toString.call(E)}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"91",13.1:"91","14.0":"93"}},57235:(E,R,N)=>{"use strict";const $=N(83881);const j=N(22471);E.exports=class AliasFieldPlugin{constructor(E,R,N){this.source=E;this.field=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((N,q,G)=>{if(!N.descriptionFileData)return G();const ie=j(E,N);if(!ie)return G();const ae=$.getField(N.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const le=ae[ie];const _e=ae[ie.replace(/^\.\//,"")];const Ee=typeof le!=="undefined"?le:_e;if(Ee===ie)return G();if(Ee===undefined)return G();if(Ee===false){const E={...N,path:false};return G(null,E)}const we={...N,path:N.descriptionFileRoot,request:Ee,fullySpecified:false};E.doResolve(R,we,"aliased from description file "+N.descriptionFilePath+" with mapping '"+ie+"' to '"+Ee+"'",q,((E,R)=>{if(E)return G(E);if(R===undefined)return G(null,null);G(null,R)}))}))}}},22002:(E,R,N)=>{"use strict";const $=N(43556);E.exports=class AliasPlugin{constructor(E,R,N){this.source=E;this.options=Array.isArray(R)?R:[R];this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasPlugin",((N,j,q)=>{const G=N.request||N.path;if(!G)return q();$(this.options,((q,ie)=>{let ae=false;if(G===q.name||!q.onlyModule&&G.startsWith(q.name+"/")){const le=G.substr(q.name.length);const resolveWithAlias=($,ie)=>{if($===false){const E={...N,path:false};return ie(null,E)}if(G!==$&&!G.startsWith($+"/")){ae=true;const G=$+le;const _e={...N,request:G,fullySpecified:false};return E.doResolve(R,_e,"aliased with mapping '"+q.name+"': '"+$+"' to '"+G+"'",j,((E,R)=>{if(E)return ie(E);if(R)return ie(null,R);return ie()}))}return ie()};const stoppingCallback=(E,R)=>{if(E)return ie(E);if(R)return ie(null,R);if(ae)return ie(null,null);return ie()};if(Array.isArray(q.alias)){return $(q.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(q.alias,stoppingCallback)}}return ie()}),q)}))}}},40803:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,R,N){this.source=E;this.appending=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((N,$,j)=>{const q={...N,path:N.path+this.appending,relativePath:N.relativePath&&N.relativePath+this.appending};E.doResolve(R,q,this.appending,$,j)}))}}},67703:(E,R,N)=>{"use strict";const $=N(77282).nextTick;const dirname=E=>{let R=E.length-1;while(R>=0){const N=E.charCodeAt(R);if(N===47||N===92)break;R--}if(R<0)return"";return E.slice(0,R)};const runCallbacks=(E,R,N)=>{if(E.length===1){E[0](R,N);E.length=0;return}let $;for(const j of E){try{j(R,N)}catch(E){if(!$)$=E}}E.length=0;if($)throw $};class OperationMergerBackend{constructor(E,R,N){this._provider=E;this._syncProvider=R;this._providerContext=N;this._activeAsyncOperations=new Map;this.provide=this._provider?(R,N,$)=>{if(typeof N==="function"){$=N;N=undefined}if(N){return this._provider.call(this._providerContext,R,N,$)}if(typeof R!=="string"){$(new TypeError("path must be a string"));return}let j=this._activeAsyncOperations.get(R);if(j){j.push($);return}this._activeAsyncOperations.set(R,j=[$]);E(R,((E,N)=>{this._activeAsyncOperations.delete(R);runCallbacks(j,E,N)}))}:null;this.provideSync=this._syncProvider?(E,R)=>this._syncProvider.call(this._providerContext,E,R):null}purge(){}purgeParent(){}}const j=0;const q=1;const G=2;class CacheBackend{constructor(E,R,N,$){this._duration=E;this._provider=R;this._syncProvider=N;this._providerContext=$;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let R=5e3;R{this._activeAsyncOperations.delete(E);this._storeResult(E,R,N);this._enterAsyncMode();runCallbacks(G,R,N)}))}provideSync(E,R){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(R){return this._syncProvider.call(this._providerContext,E,R)}if(this._mode===q){this._runDecays()}let N=this._data.get(E);if(N!==undefined){if(N.err)throw N.err;return N.result}const $=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let j;try{j=this._syncProvider.call(this._providerContext,E)}catch(R){this._storeResult(E,R,undefined);this._enterSyncModeWhenIdle();if($)runCallbacks($,R,undefined);throw R}this._storeResult(E,undefined,j);this._enterSyncModeWhenIdle();if($)runCallbacks($,undefined,j);return j}purge(E){if(!E){if(this._mode!==j){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[R,N]of this._data){if(R.startsWith(E)){this._data.delete(R);N.level.delete(R)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[R,N]of this._data){for(const $ of E){if(R.startsWith($)){this._data.delete(R);N.level.delete(R);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const R=new Set;for(const N of E){R.add(dirname(N))}this.purge(R)}}_storeResult(E,R,N){if(this._data.has(E))return;const $=this._levels[this._currentLevel];this._data.set(E,{err:R,result:N,level:$});$.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const R=this._levels[E];this._currentLevel=E;for(let E of R){this._data.delete(E)}R.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==j){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case G:return;case j:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case q:this._runDecays();if(this._mode===j)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=G;const R=setTimeout((()=>{this._mode=q;this._runDecays()}),E);if(R.unref)R.unref();this._timeout=R}_enterSyncModeWhenIdle(){if(this._mode===j){this._mode=q;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=j;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,R,N,$)=>{if(E>0){return new CacheBackend(E,R,N,$)}return new OperationMergerBackend(R,N,$)};E.exports=class CachedInputFileSystem{constructor(E,R){this.fileSystem=E;this._lstatBackend=createBackend(R,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const N=this._lstatBackend.provide;this.lstat=N;const $=this._lstatBackend.provideSync;this.lstatSync=$;this._statBackend=createBackend(R,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const j=this._statBackend.provide;this.stat=j;const q=this._statBackend.provideSync;this.statSync=q;this._readdirBackend=createBackend(R,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const G=this._readdirBackend.provide;this.readdir=G;const ie=this._readdirBackend.provideSync;this.readdirSync=ie;this._readFileBackend=createBackend(R,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const le=this._readFileBackend.provideSync;this.readFileSync=le;this._readJsonBackend=createBackend(R,this.fileSystem.readJson||this.readFile&&((E,R)=>{this.readFile(E,((E,N)=>{if(E)return R(E);if(!N||N.length===0)return R(new Error("No file content"));let $;try{$=JSON.parse(N.toString("utf-8"))}catch(E){return R(E)}R(null,$)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const R=this.readFileSync(E);const N=JSON.parse(R.toString("utf-8"));return N}),this.fileSystem);const _e=this._readJsonBackend.provide;this.readJson=_e;const Ee=this._readJsonBackend.provideSync;this.readJsonSync=Ee;this._readlinkBackend=createBackend(R,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const we=this._readlinkBackend.provide;this.readlink=we;const Ie=this._readlinkBackend.provideSync;this.readlinkSync=Ie}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},94511:(E,R,N)=>{"use strict";const $=N(69835).basename;E.exports=class CloneBasenamePlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((N,j,q)=>{const G=$(N.path);const ie=E.join(N.path,G);const ae={...N,path:ie,relativePath:N.relativePath&&E.join(N.relativePath,G)};E.doResolve(R,ae,"using path: "+ie,j,q)}))}}},61770:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,R,N,$,j){this.source=E;this.test=R;this.message=N;this.allowAlternatives=$;this.target=j}apply(E){const R=E.ensureHook(this.target);const{test:N,message:$,allowAlternatives:j}=this;const q=Object.keys(N);E.getHook(this.source).tapAsync("ConditionalPlugin",((G,ie,ae)=>{for(const E of q){if(G[E]!==N[E])return ae()}E.doResolve(R,G,$,ie,j?ae:(E,R)=>{if(E)return ae(E);if(R===undefined)return ae(null,null);ae(null,R)})}))}}},65943:(E,R,N)=>{"use strict";const $=N(83881);E.exports=class DescriptionFilePlugin{constructor(E,R,N,$){this.source=E;this.filenames=R;this.pathIsFile=N;this.target=$}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((N,j,q)=>{const G=N.path;if(!G)return q();const ie=this.pathIsFile?$.cdUp(G):G;if(!ie)return q();$.loadDescriptionFile(E,ie,this.filenames,N.descriptionFilePath?{path:N.descriptionFilePath,content:N.descriptionFileData,directory:N.descriptionFileRoot}:undefined,j,(($,ae)=>{if($)return q($);if(!ae){if(j.log)j.log(`No description file found in ${ie} or above`);return q()}const le="."+G.substr(ae.directory.length).replace(/\\/g,"/");const _e={...N,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:le};E.doResolve(R,_e,"using description file: "+ae.path+" (relative path: "+le+")",j,((E,R)=>{if(E)return q(E);if(R===undefined)return q(null,null);q(null,R)}))}))}))}}},83881:(E,R,N)=>{"use strict";const $=N(43556);function loadDescriptionFile(E,R,N,j,q,G){(function findDescriptionFile(){if(j&&j.directory===R){return G(null,j)}$(N,((N,$)=>{const j=E.join(R,N);if(E.fileSystem.readJson){E.fileSystem.readJson(j,((E,R)=>{if(E){if(typeof E.code!=="undefined"){if(q.missingDependencies){q.missingDependencies.add(j)}return $()}if(q.fileDependencies){q.fileDependencies.add(j)}return onJson(E)}if(q.fileDependencies){q.fileDependencies.add(j)}onJson(null,R)}))}else{E.fileSystem.readFile(j,((E,R)=>{if(E){if(q.missingDependencies){q.missingDependencies.add(j)}return $()}if(q.fileDependencies){q.fileDependencies.add(j)}let N;if(R){try{N=JSON.parse(R.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,N)}))}function onJson(E,N){if(E){if(q.log)q.log(j+" (directory description file): "+E);else E.message=j+" (directory description file): "+E;return $(E)}$(null,{content:N,directory:R,path:j})}}),((E,N)=>{if(E)return G(E);if(N){return G(null,N)}else{const E=cdUp(R);if(!E){return G()}else{R=E;return findDescriptionFile()}}}))})()}function getField(E,R){if(!E)return undefined;if(Array.isArray(R)){let N=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((N,$,j)=>{const q=E.fileSystem;const G=N.path;if(!G)return j();q.stat(G,((q,ie)=>{if(q||!ie){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" doesn't exist");return j()}if(!ie.isDirectory()){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" is not a directory");return j()}if($.fileDependencies)$.fileDependencies.add(G);E.doResolve(R,N,`existing directory ${G}`,$,j)}))}))}}},5109:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=N(43556);const{processExportsField:G}=N(4077);const{parseIdentifier:ie}=N(48366);const{checkExportsFieldTarget:ae}=N(67411);E.exports=class ExportsFieldPlugin{constructor(E,R,N,$){this.source=E;this.target=$;this.conditionNames=R;this.fieldName=N;this.fieldProcessorCache=new WeakMap}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((N,le,_e)=>{if(!N.descriptionFilePath)return _e();if(N.relativePath!=="."||N.request===undefined)return _e();const Ee=N.query||N.fragment?(N.request==="."?"./":N.request)+N.query+N.fragment:N.request;const we=j.getField(N.descriptionFileData,this.fieldName);if(!we)return _e();if(N.directory){return _e(new Error(`Resolving to directories is not possible with the exports field (request was ${Ee}/)`))}let Ie;try{let E=this.fieldProcessorCache.get(N.descriptionFileData);if(E===undefined){E=G(we);this.fieldProcessorCache.set(N.descriptionFileData,E)}Ie=E(Ee,this.conditionNames)}catch(E){if(le.log){le.log(`Exports field in ${N.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(Ie.length===0){return _e(new Error(`Package path ${Ee} is not exported from package ${N.descriptionFileRoot} (see exports field in ${N.descriptionFilePath})`))}q(Ie,((j,q)=>{const G=ie(j);if(!G)return q();const[_e,Ee,we]=G;const Ie=ae(_e);if(Ie){return q(Ie)}const Me={...N,request:undefined,path:$.join(N.descriptionFileRoot,_e),relativePath:_e,query:Ee,fragment:we};E.doResolve(R,Me,"using exports field: "+j,le,q)}),((E,R)=>_e(E,R||null)))}))}}},87876:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);const N=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",(($,j,q)=>{const G=$.path;if(!G)return q();N.stat(G,((N,ie)=>{if(N||!ie){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" doesn't exist");return q()}if(!ie.isFile()){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" is not a file");return q()}if(j.fileDependencies)j.fileDependencies.add(G);E.doResolve(R,$,"existing file: "+G,j,q)}))}))}}},1825:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=N(43556);const{processImportsField:G}=N(4077);const{parseIdentifier:ie}=N(48366);const ae=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,R,N,$,j){this.source=E;this.targetFile=$;this.targetPackage=j;this.conditionNames=R;this.fieldName=N;this.fieldProcessorCache=new WeakMap}apply(E){const R=E.ensureHook(this.targetFile);const N=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((le,_e,Ee)=>{if(!le.descriptionFilePath||le.request===undefined){return Ee()}const we=le.request+le.query+le.fragment;const Ie=j.getField(le.descriptionFileData,this.fieldName);if(!Ie)return Ee();if(le.directory){return Ee(new Error(`Resolving to directories is not possible with the imports field (request was ${we}/)`))}let Me;try{let E=this.fieldProcessorCache.get(le.descriptionFileData);if(E===undefined){E=G(Ie);this.fieldProcessorCache.set(le.descriptionFileData,E)}Me=E(we,this.conditionNames)}catch(E){if(_e.log){_e.log(`Imports field in ${le.descriptionFilePath} can't be processed: ${E}`)}return Ee(E)}if(Me.length===0){return Ee(new Error(`Package import ${we} is not imported from package ${le.descriptionFileRoot} (see imports field in ${le.descriptionFilePath})`))}q(Me,((j,q)=>{const G=ie(j);if(!G)return q();const[Ee,we,Ie]=G;switch(Ee.charCodeAt(0)){case ae:{const N={...le,request:undefined,path:$.join(le.descriptionFileRoot,Ee),relativePath:Ee,query:we,fragment:Ie};E.doResolve(R,N,"using imports field: "+j,_e,q);break}default:{const R={...le,request:Ee,relativePath:Ee,fullySpecified:true,query:we,fragment:Ie};E.doResolve(N,R,"using imports field: "+j,_e,q)}}}),((E,R)=>Ee(E,R||null)))}))}}},91521:E=>{"use strict";const R="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",(($,j,q)=>{const G=$.request||"";let ie=G.indexOf("/",3);if(ie>=0&&G.charCodeAt(2)===R){ie=G.indexOf("/",ie+1)}let ae,le,_e;if(ie<0){ae=G;le=".";_e=false}else{ae=G.slice(0,ie);le="."+G.slice(ie);_e=$.fullySpecified}const Ee={...$,path:E.join($.path,ae),relativePath:$.relativePath&&E.join($.relativePath,ae),request:le,fullySpecified:_e};E.doResolve(N,Ee,null,j,q)}))}}},88277:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((N,$,j)=>{const q={...N,path:E.join(N.path,N.request),relativePath:N.relativePath&&E.join(N.relativePath,N.request),request:undefined};E.doResolve(R,q,null,$,j)}))}}},74934:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const R=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,N,$)=>{if(!N.log)return $();const j=N.log;const q="["+R+"] ";if(E.path)j(q+"Resolving in directory: "+E.path);if(E.request)j(q+"Resolving request: "+E.request);if(E.module)j(q+"Request is an module request.");if(E.directory)j(q+"Request is a directory request.");if(E.query)j(q+"Resolving request query: "+E.query);if(E.fragment)j(q+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)j(q+"Has description data from "+E.descriptionFilePath);if(E.relativePath)j(q+"Relative path from description file is: "+E.relativePath);$()}))}}},26713:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,R,N){this.source=E;this.options=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((N,G,ie)=>{if(N.path!==N.descriptionFileRoot||N[q]===N.descriptionFilePath||!N.descriptionFilePath)return ie();const ae=$.basename(N.descriptionFilePath);let le=j.getField(N.descriptionFileData,this.options.name);if(!le||typeof le!=="string"||le==="."||le==="./"){return ie()}if(this.options.forceRelative&&!/^\.\.?\//.test(le))le="./"+le;const _e={...N,request:le,module:false,directory:le.endsWith("/"),[q]:N.descriptionFilePath};return E.doResolve(R,_e,"use "+le+" from "+this.options.name+" in "+ae,G,ie)}))}}},76067:(E,R,N)=>{"use strict";const $=N(43556);const j=N(69835);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,R,N){this.source=E;this.directories=[].concat(R);this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((N,q,G)=>{const ie=E.fileSystem;const ae=j(N.path).paths.map((R=>this.directories.map((N=>E.join(R,N))))).reduce(((E,R)=>{E.push.apply(E,R);return E}),[]);$(ae,(($,j)=>{ie.stat($,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G={...N,path:$,request:"./"+N.request,module:false};const ie="looking for modules in "+$;return E.doResolve(R,G,ie,q,j)}if(q.log)q.log($+" doesn't exist or is not a directory");if(q.missingDependencies)q.missingDependencies.add($);return j()}))}),G)}))}}},22433:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,R,N){this.source=E;this.path=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((N,$,j)=>{const q={...N,path:this.path,request:"./"+N.request,module:false};E.doResolve(R,q,"looking for modules in "+this.path,$,j)}))}}},12276:E=>{"use strict";E.exports=class NextPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((N,$,j)=>{E.doResolve(R,N,null,$,j)}))}}},71121:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,R,N){this.source=E;this.requestOptions=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((N,$,j)=>{const q=E.parse(N.request);const G={...N,...q,...this.requestOptions};if(N.query&&!q.query){G.query=N.query}if(N.fragment&&!q.fragment){G.fragment=N.fragment}if(q&&$.log){if(q.module)$.log("Parsed request is a module");if(q.directory)$.log("Parsed request is a directory")}if(G.request&&!G.query&&G.fragment){const N=G.fragment.endsWith("/");const q={...G,directory:N,request:G.request+(G.directory?"/":"")+(N?G.fragment.slice(0,-1):G.fragment),fragment:""};E.doResolve(R,q,null,$,((N,q)=>{if(N)return j(N);if(q)return j(null,q);E.doResolve(R,G,null,$,j)}));return}E.doResolve(R,G,null,$,j)}))}}},10232:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,R,N){this.source=E;this.pnpApi=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((N,$,j)=>{const q=N.request;if(!q)return j();const G=`${N.path}/`;const ie=/^(@[^/]+\/)?[^/]+/.exec(q);if(!ie)return j();const ae=ie[0];const le=`.${q.slice(ae.length)}`;let _e;let Ee;try{_e=this.pnpApi.resolveToUnqualified(ae,G,{considerBuiltins:false});if($.fileDependencies){Ee=this.pnpApi.resolveToUnqualified("pnpapi",G,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if($.log){$.log(`request is not managed by the pnpapi`);for(const R of E.message.split("\n").filter(Boolean))$.log(` ${R}`)}return j()}return j(E)}if(_e===ae)return j();if(Ee&&$.fileDependencies){$.fileDependencies.add(Ee)}const we={...N,path:_e,request:le,ignoreSymlinks:true,fullySpecified:N.fullySpecified&&le!=="."};E.doResolve(R,we,`resolved by pnp to ${_e}`,$,((E,R)=>{if(E)return j(E);if(R)return j(null,R);return j(null,null)}))}))}}},33679:(E,R,N)=>{"use strict";const{AsyncSeriesBailHook:$,AsyncSeriesHook:j,SyncHook:q}=N(92960);const G=N(52227);const{parseIdentifier:ie}=N(48366);const{normalize:ae,cachedJoin:le,getType:_e,PathType:Ee}=N(67411);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,R){return E.name+": ("+R.path+") "+(R.request||"")+(R.query||"")+(R.fragment||"")+(R.directory?" directory":"")+(R.module?" module":"")}constructor(E,R){this.fileSystem=E;this.options=R;this.hooks={resolveStep:new q(["hook","request"],"resolveStep"),noResolve:new q(["request","error"],"noResolve"),resolve:new $(["request","resolveContext"],"resolve"),result:new j(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const R=this.hooks[E];if(!R){return this.hooks[E]=new $(["request","resolveContext"],E)}return R}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const R=this.hooks[E];if(!R){throw new Error(`Hook ${E} doesn't exist`)}return R}resolveSync(E,R,N){let $=undefined;let j=undefined;let q=false;this.resolve(E,R,N,{},((E,R)=>{$=E;j=R;q=true}));if(!q){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if($)throw $;if(j===undefined)throw new Error("No result");return j}resolve(E,R,N,$,j){if(!E||typeof E!=="object")return j(new Error("context argument is not an object"));if(typeof R!=="string")return j(new Error("path argument is not a string"));if(typeof N!=="string")return j(new Error("path argument is not a string"));if(!$)return j(new Error("resolveContext argument is not set"));const q={context:E,path:R,request:N};const G=`resolve '${N}' in '${R}'`;const finishResolved=E=>j(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const R=new Error("Can't "+G);R.details=E.join("\n");this.hooks.noResolve.call(q,R);return j(R)};if($.log){const E=$.log;const R=[];return this.doResolve(this.hooks.resolve,q,G,{log:N=>{E(N);R.push(N)},fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((E,N)=>{if(E)return j(E);if(N)return finishResolved(N);return finishWithoutResolve(R)}))}else{return this.doResolve(this.hooks.resolve,q,G,{log:undefined,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((E,R)=>{if(E)return j(E);if(R)return finishResolved(R);const N=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>N.push(E),stack:$.stack},((E,R)=>{if(E)return j(E);return finishWithoutResolve(N)}))}))}}doResolve(E,R,N,$,j){const q=Resolver.createStackEntry(E,R);let ie;if($.stack){ie=new Set($.stack);if($.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ie).join("\n "));E.recursion=true;if($.log)$.log("abort resolving because of recursion");return j(E)}ie.add(q)}else{ie=new Set([q])}this.hooks.resolveStep.call(E,R);if(E.isUsed()){const q=G({log:$.log,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:ie},N);return E.callAsync(R,q,((E,R)=>{if(E)return j(E);if(R)return j(null,R);j()}))}else{j()}}parse(E){const R={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const N=ie(E);if(!N)return R;[R.request,R.query,R.fragment]=N;if(R.request.length>0){R.internal=this.isPrivate(E);R.module=this.isModule(R.request);R.directory=this.isDirectory(R.request);if(R.directory){R.request=R.request.substr(0,R.request.length-1)}}return R}isModule(E){return _e(E)===Ee.Normal}isPrivate(E){return _e(E)===Ee.Internal}isDirectory(E){return E.endsWith("/")}join(E,R){return le(E,R)}normalize(E){return ae(E)}}E.exports=Resolver},57934:(E,R,N)=>{"use strict";const $=N(77282).versions;const j=N(33679);const{getType:q,PathType:G}=N(67411);const ie=N(64407);const ae=N(57235);const le=N(22002);const _e=N(40803);const Ee=N(61770);const we=N(65943);const Ie=N(32575);const Me=N(5109);const Te=N(87876);const Ne=N(1825);const Be=N(91521);const Le=N(88277);const je=N(26713);const ze=N(76067);const Ue=N(22433);const qe=N(12276);const Ge=N(71121);const He=N(10232);const We=N(77398);const Ve=N(46182);const Ke=N(89609);const Qe=N(68285);const Je=N(44362);const Xe=N(68029);const Ye=N(62216);const Ze=N(55187);function processPnpApiOption(E){if(E===undefined&&$.pnp){return N(35125)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((R=>{const N={name:R,onlyModule:false,alias:E[R]};if(/\$$/.test(R)){N.onlyModule=true;N.name=R.substr(0,R.length-1)}return N})):E||[]}function createOptions(E){const R=new Set(E.mainFields||["main"]);const N=[];for(const E of R){if(typeof E==="string"){N.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){N.push({name:E,forceRelative:true})}else{N.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ie(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const R=q(E);return R===G.Normal||R===G.Relative})),mainFields:N,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}R.createResolver=function(E){const R=createOptions(E);const{alias:N,fallback:$,aliasFields:q,cachePredicate:G,cacheWithContext:ie,conditionNames:et,descriptionFiles:tt,enforceExtension:nt,exportsFields:rt,importsFields:st,extensions:it,fileSystem:ot,fullySpecified:lt,mainFields:ct,mainFiles:ut,modules:pt,plugins:dt,pnpApi:ft,resolveToContext:ht,preferRelative:mt,preferAbsolute:gt,symlinks:yt,unsafeCache:vt,resolver:bt,restrictions:_t,roots:xt}=R;const kt=dt.slice();const Et=bt?bt:new j(ot,R);Et.ensureHook("resolve");Et.ensureHook("internalResolve");Et.ensureHook("newInteralResolve");Et.ensureHook("parsedResolve");Et.ensureHook("describedResolve");Et.ensureHook("internal");Et.ensureHook("rawModule");Et.ensureHook("module");Et.ensureHook("resolveAsModule");Et.ensureHook("undescribedResolveInPackage");Et.ensureHook("resolveInPackage");Et.ensureHook("resolveInExistingDirectory");Et.ensureHook("relative");Et.ensureHook("describedRelative");Et.ensureHook("directory");Et.ensureHook("undescribedExistingDirectory");Et.ensureHook("existingDirectory");Et.ensureHook("undescribedRawFile");Et.ensureHook("rawFile");Et.ensureHook("file");Et.ensureHook("finalFile");Et.ensureHook("existingFile");Et.ensureHook("resolved");for(const{source:E,resolveOptions:R}of[{source:"resolve",resolveOptions:{fullySpecified:lt}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(vt){kt.push(new Ye(E,G,vt,ie,`new-${E}`));kt.push(new Ge(`new-${E}`,R,"parsed-resolve"))}else{kt.push(new Ge(E,R,"parsed-resolve"))}}kt.push(new we("parsed-resolve",tt,false,"described-resolve"));kt.push(new qe("after-parsed-resolve","described-resolve"));kt.push(new qe("described-resolve","normal-resolve"));if($.length>0){kt.push(new le("described-resolve",$,"internal-resolve"))}if(N.length>0)kt.push(new le("normal-resolve",N,"internal-resolve"));q.forEach((E=>{kt.push(new ae("normal-resolve",E,"internal-resolve"))}));if(mt){kt.push(new Le("after-normal-resolve","relative"))}kt.push(new Ee("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));kt.push(new Ee("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(gt){kt.push(new Le("after-normal-resolve","relative"))}if(xt.size>0){kt.push(new Ke("after-normal-resolve",xt,"relative"))}if(!mt&&!gt){kt.push(new Le("after-normal-resolve","relative"))}st.forEach((E=>{kt.push(new Ne("internal",et,E,"relative","internal-resolve"))}));rt.forEach((E=>{kt.push(new Qe("raw-module",E,"resolve-as-module"))}));pt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&ft){kt.push(new ze("raw-module",E.filter((E=>E!=="node_modules")),"module"));kt.push(new He("raw-module",ft,"undescribed-resolve-in-package"))}else{kt.push(new ze("raw-module",E,"module"))}}else{kt.push(new Ue("raw-module",E,"module"))}}));kt.push(new Be("module","resolve-as-module"));if(!ht){kt.push(new Ee("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}kt.push(new Ie("resolve-as-module","undescribed-resolve-in-package"));kt.push(new we("undescribed-resolve-in-package",tt,false,"resolve-in-package"));kt.push(new qe("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((E=>{kt.push(new Me("resolve-in-package",et,E,"relative"))}));kt.push(new qe("resolve-in-package","resolve-in-existing-directory"));kt.push(new Le("resolve-in-existing-directory","relative"));kt.push(new we("relative",tt,true,"described-relative"));kt.push(new qe("after-relative","described-relative"));if(ht){kt.push(new qe("described-relative","directory"))}else{kt.push(new Ee("described-relative",{directory:false},null,true,"raw-file"));kt.push(new Ee("described-relative",{fullySpecified:false},"as directory",true,"directory"))}kt.push(new Ie("directory","undescribed-existing-directory"));if(ht){kt.push(new qe("undescribed-existing-directory","resolved"))}else{kt.push(new we("undescribed-existing-directory",tt,false,"existing-directory"));ut.forEach((E=>{kt.push(new Ze("undescribed-existing-directory",E,"undescribed-raw-file"))}));ct.forEach((E=>{kt.push(new je("existing-directory",E,"resolve-in-existing-directory"))}));ut.forEach((E=>{kt.push(new Ze("existing-directory",E,"undescribed-raw-file"))}));kt.push(new we("undescribed-raw-file",tt,true,"raw-file"));kt.push(new qe("after-undescribed-raw-file","raw-file"));kt.push(new Ee("raw-file",{fullySpecified:true},null,false,"file"));if(!nt){kt.push(new Xe("raw-file","no extension","file"))}it.forEach((E=>{kt.push(new _e("raw-file",E,"file"))}));if(N.length>0)kt.push(new le("file",N,"internal-resolve"));q.forEach((E=>{kt.push(new ae("file",E,"internal-resolve"))}));kt.push(new qe("file","final-file"));kt.push(new Te("final-file","existing-file"));if(yt)kt.push(new Je("existing-file","existing-file"));kt.push(new qe("existing-file","resolved"))}if(_t.size>0){kt.push(new We(Et.hooks.resolved,_t))}kt.push(new Ve(Et.hooks.resolved));for(const E of kt){if(typeof E==="function"){E.call(Et,Et)}else{E.apply(Et)}}return Et};function mergeFilteredToArray(E,R){const N=[];const $=new Set(E);for(const E of $){if(R(E)){const R=N.length>0?N[N.length-1]:undefined;if(Array.isArray(R)){R.push(E)}else{N.push([E])}}else{N.push(E)}}return N}},77398:E=>{"use strict";const R="/".charCodeAt(0);const N="\\".charCodeAt(0);const isInside=(E,$)=>{if(!E.startsWith($))return false;if(E.length===$.length)return true;const j=E.charCodeAt($.length);return j===R||j===N};E.exports=class RestrictionsPlugin{constructor(E,R){this.source=E;this.restrictions=R}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,R,N)=>{if(typeof E.path==="string"){const $=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside($,E)){if(R.log){R.log(`${$} is not inside of the restriction ${E}`)}return N(null,null)}}else if(!E.test($)){if(R.log){R.log(`${$} doesn't match the restriction ${E}`)}return N(null,null)}}}N()}))}}},46182:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((R,N,$)=>{const j={...R};if(N.log)N.log("reporting result "+j.path);E.hooks.result.callAsync(j,N,(E=>{if(E)return $(E);$(null,j)}))}))}}},89609:(E,R,N)=>{"use strict";const $=N(43556);class RootsPlugin{constructor(E,R,N){this.roots=Array.from(R);this.source=E;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((N,j,q)=>{const G=N.request;if(!G)return q();if(!G.startsWith("/"))return q();$(this.roots,(($,q)=>{const ie=E.join($,G.slice(1));const ae={...N,path:ie,relativePath:N.relativePath&&ie};E.doResolve(R,ae,`root path ${$}`,j,q)}),q)}))}}E.exports=RootsPlugin},68285:(E,R,N)=>{"use strict";const $=N(83881);const j="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,R,N){this.source=E;this.target=N;this.fieldName=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((N,q,G)=>{if(!N.descriptionFilePath)return G();const ie=N.request;if(!ie)return G();const ae=$.getField(N.descriptionFileData,this.fieldName);if(!ae)return G();const le=$.getField(N.descriptionFileData,"name");if(typeof le!=="string")return G();if(ie.startsWith(le)&&(ie.length===le.length||ie.charCodeAt(le.length)===j)){const $=`.${ie.slice(le.length)}`;const j={...N,request:$,path:N.descriptionFileRoot,relativePath:"."};E.doResolve(R,j,"self reference",q,G)}else{return G()}}))}}},44362:(E,R,N)=>{"use strict";const $=N(43556);const j=N(69835);const{getType:q,PathType:G}=N(67411);E.exports=class SymlinkPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);const N=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ie,ae,le)=>{if(ie.ignoreSymlinks)return le();const _e=j(ie.path);const Ee=_e.seqments;const we=_e.paths;let Ie=false;let Me=-1;$(we,((E,R)=>{Me++;if(ae.fileDependencies)ae.fileDependencies.add(E);N.readlink(E,((E,N)=>{if(!E&&N){Ee[Me]=N;Ie=true;const E=q(N.toString());if(E===G.AbsoluteWin||E===G.AbsolutePosix){return R(null,Me)}}R()}))}),((N,$)=>{if(!Ie)return le();const j=typeof $==="number"?Ee.slice(0,$+1):Ee.slice();const q=j.reduceRight(((R,N)=>E.join(R,N)));const G={...ie,path:q};E.doResolve(R,G,"resolved symlink to "+q,ae,le)}))}))}}},64407:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const R=E.lstatSync;if(R){this.lstat=(N,$,j)=>{let q;try{q=R.call(E,N)}catch(E){return(j||$)(E)}(j||$)(null,q)};this.lstatSync=(N,$)=>R.call(E,N,$)}this.stat=(R,N,$)=>{let j;try{j=$?E.statSync(R,N):E.statSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.statSync=(R,N)=>E.statSync(R,N);this.readdir=(R,N,$)=>{let j;try{j=E.readdirSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readdirSync=(R,N)=>E.readdirSync(R,N);this.readFile=(R,N,$)=>{let j;try{j=E.readFileSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readFileSync=(R,N)=>E.readFileSync(R,N);this.readlink=(R,N,$)=>{let j;try{j=E.readlinkSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readlinkSync=(R,N)=>E.readlinkSync(R,N);this.readJson=undefined;this.readJsonSync=undefined;const N=E.readJsonSync;if(N){this.readJson=(R,$,j)=>{let q;try{q=N.call(E,R)}catch(E){return(j||$)(E)}(j||$)(null,q)};this.readJsonSync=(R,$)=>N.call(E,R,$)}}E.exports=SyncAsyncFileSystemDecorator},68029:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,R,N){this.source=E;this.message=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((N,$,j)=>{E.doResolve(R,N,this.message,$,j)}))}}},62216:E=>{"use strict";function getCacheId(E,R){return JSON.stringify({context:R?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,R,N,$,j){this.source=E;this.filterPredicate=R;this.withContext=$;this.cache=N;this.target=j}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((N,$,j)=>{if(!this.filterPredicate(N))return j();const q=getCacheId(N,this.withContext);const G=this.cache[q];if(G){return j(null,G)}E.doResolve(R,N,null,$,((E,R)=>{if(E)return j(E);if(R)return j(null,this.cache[q]=R);j()}))}))}}},55187:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,R,N){this.source=E;this.filename=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((N,$,j)=>{const q=E.join(N.path,this.filename);const G={...N,path:q,relativePath:N.relativePath&&E.join(N.relativePath,this.filename)};E.doResolve(R,G,"using path: "+q,$,j)}))}}},52227:E=>{"use strict";E.exports=function createInnerContext(E,R,N){let $=false;let j=undefined;if(E.log){if(R){j=N=>{if(!$){E.log(R);$=true}E.log(" "+N)}}else{j=E.log}}const q={log:j,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return q}},43556:E=>{"use strict";E.exports=function forEachBail(E,R,N){if(E.length===0)return N();let $=0;const next=()=>{let j=undefined;R(E[$++],((R,q)=>{if(R||q!==undefined||$>=E.length){return N(R,q)}if(j===false)while(next());j=true}));if(!j)j=false;return j};while(next());}},22471:E=>{"use strict";E.exports=function getInnerRequest(E,R){if(typeof R.__innerRequest==="string"&&R.__innerRequest_request===R.request&&R.__innerRequest_relativePath===R.relativePath)return R.__innerRequest;let N;if(R.request){N=R.request;if(/^\.\.?(?:\/|$)/.test(N)&&R.relativePath){N=E.join(R.relativePath,N)}}else{N=R.relativePath}R.__innerRequest_request=R.request;R.__innerRequest_relativePath=R.relativePath;return R.__innerRequest=N}},69835:E=>{"use strict";E.exports=function getPaths(E){const R=E.split(/(.*?[\\/]+)/);const N=[E];const $=[R[R.length-1]];let j=R[R.length-1];E=E.substr(0,E.length-j.length-1);for(let q=R.length-2;q>2;q-=2){N.push(E);j=R[q];E=E.substr(0,E.length-j.length)||"/";$.push(j.substr(0,j.length-1))}j=R[1];$.push(j);N.push(j);return{paths:N,seqments:$}};E.exports.basename=function basename(E){const R=E.lastIndexOf("/"),N=E.lastIndexOf("\\");const $=R<0?N:N<0?R:R{"use strict";const $=N(15808);const j=N(67703);const q=N(57934);const G=new j($,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:G});function resolve(E,R,N,$,j){if(typeof E==="string"){j=$;$=N;N=R;R=E;E=ie}if(typeof j!=="function"){j=$}ae.resolve(E,R,N,$,j)}const le=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});function resolveSync(E,R,N){if(typeof E==="string"){N=R;R=E;E=ie}return le.resolveSync(E,R,N)}function create(E){E={fileSystem:G,...E};const R=q.createResolver(E);return function(E,N,$,j,q){if(typeof E==="string"){q=j;j=$;$=N;N=E;E=ie}if(typeof q!=="function"){q=j}R.resolve(E,N,$,j,q)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:G,...E};const R=q.createResolver(E);return function(E,N,$){if(typeof E==="string"){$=N;N=E;E=ie}return R.resolveSync(E,N,$)}}const mergeExports=(E,R)=>{const N=Object.getOwnPropertyDescriptors(R);Object.defineProperties(E,N);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:q,CachedInputFileSystem:j,get CloneBasenamePlugin(){return N(94511)},get LogInfoPlugin(){return N(74934)},get forEachBail(){return N(43556)}})},4077:E=>{"use strict";const R="/".charCodeAt(0);const N=".".charCodeAt(0);const $="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,R,N){return function fieldProcessor($,j){$=R($);const q=findMatch($,E);if(q===null)return[];const[G,ie]=q;let ae=null;if(isConditionalMapping(G)){ae=conditionalMapping(G,j);if(ae===null)return[]}else{ae=G}const le=ie===$.length+1?undefined:ie<0?$.slice(-ie-1):$.slice(ie);return directMapping(le,ie<0,ae,j,N)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==N){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==R){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===R){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==$){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===R){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===R){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,$){if(E.charCodeAt(0)===R||E.charCodeAt(0)===N&&E.charCodeAt(1)!==R){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const j=E.charCodeAt(E.length-1)===R;if(j!==$){throw new Error($?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,N){const $=E.charCodeAt(E.length-1)===R;if($!==N){throw new Error(N?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,R){if(E.length===0){const E=R.files.get("");return E?[E,1]:null}if(R.children===null&&R.folder===null&&R.wildcards===null){const N=R.files.get(E);return N?[N,E.length+1]:null}let N=R;let $=0;let j=E.indexOf("/",0);let q=null;const applyFolderMapping=()=>{const E=N.folder;if(E){if(q){q[0]=E;q[1]=-$-1}else{q=[E,-$-1]}}};const applyWildcardMappings=(E,R)=>{if(E){for(const[N,j]of E){if(R.startsWith(N)){if(!q){q=[j,$+N.length]}else if(q[1]<$+N.length){q[0]=j;q[1]=$+N.length}}}}};while(j!==-1){applyFolderMapping();const R=N.wildcards;if(!R&&N.children===null)return q;const G=E.slice($,j);applyWildcardMappings(R,G);if(N.children===null)return q;const ie=N.children.get(G);if(!ie){return q}N=ie;$=j+1;j=E.indexOf("/",$)}const G=$>0?E.slice($):E;const ie=N.files.get(G);if(ie){return[ie,E.length+1]}applyFolderMapping();applyWildcardMappings(N.wildcards,G);return q}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,R,N,$,j){if(N===null)return[];if(typeof N==="string"){return[targetMapping(E,R,N,j)]}const q=[];for(const G of N){if(typeof G==="string"){q.push(targetMapping(E,R,G,j));continue}const N=conditionalMapping(G,$);if(!N)continue;const ie=directMapping(E,R,N,$,j);for(const E of ie){q.push(E)}}return q}function targetMapping(E,R,N,$){if(E===undefined){$(N,false);return N}if(R){$(N,true);return N+E}$(N,false);return N.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,R){let N=[[E,Object.keys(E),0]];e:while(N.length>0){const[E,$,j]=N[N.length-1];const q=$.length-1;for(let G=j;G<$.length;G++){const j=$[G];if(G!==q){if(j==="default"){throw new Error("Default condition should be last one")}}else if(j==="default"){const R=E[j];if(isConditionalMapping(R)){const E=R;N[N.length-1][2]=G+1;N.push([E,Object.keys(E),0]);continue e}return R}if(R.has(j)){const R=E[j];if(isConditionalMapping(R)){const E=R;N[N.length-1][2]=G+1;N.push([E,Object.keys(E),0]);continue e}return R}}N.pop()}return null}function createNode(){return{children:null,folder:null,wildcards:null,files:new Map}}function walkPath(E,R,N){if(R.length===0){E.folder=N;return}let $=E;let j=0;let q=R.indexOf("/",0);while(q!==-1){const E=R.slice(j,q);let N;if($.children===null){N=createNode();$.children=new Map;$.children.set(E,N)}else{N=$.children.get(E);if(!N){N=createNode();$.children.set(E,N)}}$=N;j=q+1;q=R.indexOf("/",j)}if(j>=R.length){$.folder=N}else{const E=j>0?R.slice(j):R;if(E.endsWith("*")){if($.wildcards===null)$.wildcards=new Map;$.wildcards.set(E.slice(0,-1),N)}else{$.files.set(E,N)}}}function buildExportsFieldPathTree(E){const $=createNode();if(typeof E==="string"){$.files.set("",E);return $}else if(Array.isArray(E)){$.files.set("",E.slice());return $}const j=Object.keys(E);for(let q=0;q{"use strict";const R=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const N=R.exec(E);if(!N)return null;return[N[1].replace(/\0(.)/g,"$1"),N[2]?N[2].replace(/\0(.)/g,"$1"):"",N[3]||""]}E.exports.parseIdentifier=parseIdentifier},67411:(E,R,N)=>{"use strict";const $=N(71017);const j="#".charCodeAt(0);const q="/".charCodeAt(0);const G="\\".charCodeAt(0);const ie="A".charCodeAt(0);const ae="Z".charCodeAt(0);const le="a".charCodeAt(0);const _e="z".charCodeAt(0);const Ee=".".charCodeAt(0);const we=":".charCodeAt(0);const Ie=$.posix.normalize;const Me=$.win32.normalize;const Te=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});R.PathType=Te;const getType=E=>{switch(E.length){case 0:return Te.Empty;case 1:{const R=E.charCodeAt(0);switch(R){case Ee:return Te.Relative;case q:return Te.AbsolutePosix;case j:return Te.Internal}return Te.Normal}case 2:{const R=E.charCodeAt(0);switch(R){case Ee:{const R=E.charCodeAt(1);switch(R){case Ee:case q:return Te.Relative}return Te.Normal}case q:return Te.AbsolutePosix;case j:return Te.Internal}const N=E.charCodeAt(1);if(N===we){if(R>=ie&&R<=ae||R>=le&&R<=_e){return Te.AbsoluteWin}}return Te.Normal}}const R=E.charCodeAt(0);switch(R){case Ee:{const R=E.charCodeAt(1);switch(R){case q:return Te.Relative;case Ee:{const R=E.charCodeAt(2);if(R===q)return Te.Relative;return Te.Normal}}return Te.Normal}case q:return Te.AbsolutePosix;case j:return Te.Internal}const N=E.charCodeAt(1);if(N===we){const N=E.charCodeAt(2);if((N===G||N===q)&&(R>=ie&&R<=ae||R>=le&&R<=_e)){return Te.AbsoluteWin}}return Te.Normal};R.getType=getType;const normalize=E=>{switch(getType(E)){case Te.Empty:return E;case Te.AbsoluteWin:return Me(E);case Te.Relative:{const R=Ie(E);return getType(R)===Te.Relative?R:`./${R}`}}return Ie(E)};R.normalize=normalize;const join=(E,R)=>{if(!R)return normalize(E);const N=getType(R);switch(N){case Te.AbsolutePosix:return Ie(R);case Te.AbsoluteWin:return Me(R)}switch(getType(E)){case Te.Normal:case Te.Relative:case Te.AbsolutePosix:return Ie(`${E}/${R}`);case Te.AbsoluteWin:return Me(`${E}\\${R}`)}switch(N){case Te.Empty:return E;case Te.Relative:{const R=Ie(E);return getType(R)===Te.Relative?R:`./${R}`}}return Ie(E)};R.join=join;const Ne=new Map;const cachedJoin=(E,R)=>{let N;let $=Ne.get(E);if($===undefined){Ne.set(E,$=new Map)}else{N=$.get(R);if(N!==undefined)return N}N=join(E,R);$.set(R,N);return N};R.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let R=2;let N=E.indexOf("/",2);let $=0;while(N!==-1){const j=E.slice(R,N);switch(j){case"..":{$--;if($<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:$++;break}R=N+1;N=E.indexOf("/",R)}};R.checkExportsFieldTarget=checkExportsFieldTarget},54448:(E,R,N)=>{var $=N(55757);function init(E,R,N){if(!!R&&typeof R!="string"){R=R.message||R.name}$(this,{type:E,name:E,cause:typeof R!="string"?R:N,message:R},"ewr")}function CustomError(E,R){Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);init.call(this,"CustomError",E,R)}CustomError.prototype=new Error;function createError(E,R,N){var err=function(N,$){init.call(this,R,N,$);if(R=="FilesystemError"){this.code=this.cause.code;this.path=this.cause.path;this.errno=this.cause.errno;this.message=(E.errno[this.cause.errno]?E.errno[this.cause.errno].description:this.cause.message)+(this.cause.path?" ["+this.cause.path+"]":"")}Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,err)};err.prototype=!!N?new N:new CustomError;return err}E.exports=function(E){var ce=function(R,N){return createError(E,R,N)};return{CustomError:CustomError,FilesystemError:ce("FilesystemError"),createError:ce}}},80713:(E,R,N)=>{var $=E.exports.all=[{errno:-2,code:"ENOENT",description:"no such file or directory"},{errno:-1,code:"UNKNOWN",description:"unknown error"},{errno:0,code:"OK",description:"success"},{errno:1,code:"EOF",description:"end of file"},{errno:2,code:"EADDRINFO",description:"getaddrinfo error"},{errno:3,code:"EACCES",description:"permission denied"},{errno:4,code:"EAGAIN",description:"resource temporarily unavailable"},{errno:5,code:"EADDRINUSE",description:"address already in use"},{errno:6,code:"EADDRNOTAVAIL",description:"address not available"},{errno:7,code:"EAFNOSUPPORT",description:"address family not supported"},{errno:8,code:"EALREADY",description:"connection already in progress"},{errno:9,code:"EBADF",description:"bad file descriptor"},{errno:10,code:"EBUSY",description:"resource busy or locked"},{errno:11,code:"ECONNABORTED",description:"software caused connection abort"},{errno:12,code:"ECONNREFUSED",description:"connection refused"},{errno:13,code:"ECONNRESET",description:"connection reset by peer"},{errno:14,code:"EDESTADDRREQ",description:"destination address required"},{errno:15,code:"EFAULT",description:"bad address in system call argument"},{errno:16,code:"EHOSTUNREACH",description:"host is unreachable"},{errno:17,code:"EINTR",description:"interrupted system call"},{errno:18,code:"EINVAL",description:"invalid argument"},{errno:19,code:"EISCONN",description:"socket is already connected"},{errno:20,code:"EMFILE",description:"too many open files"},{errno:21,code:"EMSGSIZE",description:"message too long"},{errno:22,code:"ENETDOWN",description:"network is down"},{errno:23,code:"ENETUNREACH",description:"network is unreachable"},{errno:24,code:"ENFILE",description:"file table overflow"},{errno:25,code:"ENOBUFS",description:"no buffer space available"},{errno:26,code:"ENOMEM",description:"not enough memory"},{errno:27,code:"ENOTDIR",description:"not a directory"},{errno:28,code:"EISDIR",description:"illegal operation on a directory"},{errno:29,code:"ENONET",description:"machine is not on the network"},{errno:31,code:"ENOTCONN",description:"socket is not connected"},{errno:32,code:"ENOTSOCK",description:"socket operation on non-socket"},{errno:33,code:"ENOTSUP",description:"operation not supported on socket"},{errno:34,code:"ENOENT",description:"no such file or directory"},{errno:35,code:"ENOSYS",description:"function not implemented"},{errno:36,code:"EPIPE",description:"broken pipe"},{errno:37,code:"EPROTO",description:"protocol error"},{errno:38,code:"EPROTONOSUPPORT",description:"protocol not supported"},{errno:39,code:"EPROTOTYPE",description:"protocol wrong type for socket"},{errno:40,code:"ETIMEDOUT",description:"connection timed out"},{errno:41,code:"ECHARSET",description:"invalid Unicode character"},{errno:42,code:"EAIFAMNOSUPPORT",description:"address family for hostname not supported"},{errno:44,code:"EAISERVICE",description:"servname not supported for ai_socktype"},{errno:45,code:"EAISOCKTYPE",description:"ai_socktype not supported"},{errno:46,code:"ESHUTDOWN",description:"cannot send after transport endpoint shutdown"},{errno:47,code:"EEXIST",description:"file already exists"},{errno:48,code:"ESRCH",description:"no such process"},{errno:49,code:"ENAMETOOLONG",description:"name too long"},{errno:50,code:"EPERM",description:"operation not permitted"},{errno:51,code:"ELOOP",description:"too many symbolic links encountered"},{errno:52,code:"EXDEV",description:"cross-device link not permitted"},{errno:53,code:"ENOTEMPTY",description:"directory not empty"},{errno:54,code:"ENOSPC",description:"no space left on device"},{errno:55,code:"EIO",description:"i/o error"},{errno:56,code:"EROFS",description:"read-only file system"},{errno:57,code:"ENODEV",description:"no such device"},{errno:58,code:"ESPIPE",description:"invalid seek"},{errno:59,code:"ECANCELED",description:"operation canceled"}];E.exports.errno={};E.exports.code={};$.forEach((function(R){E.exports.errno[R.errno]=R;E.exports.code[R.code]=R}));E.exports.custom=N(54448)(E.exports);E.exports.create=E.exports.custom.createError},16950:(E,R,N)=>{"use strict";const $=N(78120);class Definition{constructor(E,R,N,$,j,q){this.type=E;this.name=R;this.node=N;this.parent=$;this.index=j;this.kind=q}}class ParameterDefinition extends Definition{constructor(E,R,N,j){super($.Parameter,E,R,null,N,null);this.rest=j}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,R,N)=>{"use strict";const $=N(39491);const j=N(60018);const q=N(36337);const G=N(24552);const ie=N(78120);const ae=N(98699).Scope;const le=N(83196).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,R){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const N in R){if(Object.prototype.hasOwnProperty.call(R,N)){const $=R[N];if(isHashObject($)){if(isHashObject(E[N])){updateDeeply(E[N],$)}else{E[N]=updateDeeply({},$)}}else{E[N]=$}}}return E}function analyze(E,R){const N=updateDeeply(defaultOptions(),R);const G=new j(N);const ie=new q(N,G);ie.visit(E);$(G.__currentScope===null,"currentScope should be null.");return G}E.exports={version:le,Reference:G,Variable:ie,Scope:ae,ScopeManager:j,analyze:analyze}},29630:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends j.Visitor{static isPattern(E){const R=E.type;return R===$.Identifier||R===$.ObjectPattern||R===$.ArrayPattern||R===$.SpreadElement||R===$.RestElement||R===$.AssignmentPattern}constructor(E,R,N){super(null,E);this.rootPattern=R;this.callback=N;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const R=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:R!==null&&R!==undefined&&R.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let R=0,N=E.elements.length;R{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const R=1;const N=2;const $=R|N;class Reference{constructor(E,R,N,$,j,q,G){this.identifier=E;this.from=R;this.tainted=false;this.resolved=null;this.flag=N;if(this.isWrite()){this.writeExpr=$;this.partial=q;this.init=G}this.__maybeImplicitGlobal=j}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=R;Reference.WRITE=N;Reference.RW=$;E.exports=Reference},36337:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(49112);const q=N(24552);const G=N(78120);const ie=N(29630);const ae=N(16950);const le=N(39491);const _e=ae.ParameterDefinition;const Ee=ae.Definition;function traverseIdentifierInPattern(E,R,N,$){const j=new ie(E,R,$);j.visit(R);if(N!==null&&N!==undefined){j.rightHandNodes.forEach(N.visit,N)}}class Importer extends j.Visitor{constructor(E,R){super(null,R.options);this.declaration=E;this.referencer=R}visitImport(E,R){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new Ee(G.ImportBinding,E,R,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const R=E.local||E.id;if(R){this.visitImport(R,E)}}ImportDefaultSpecifier(E){const R=E.local||E.id;this.visitImport(R,E)}ImportSpecifier(E){const R=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(R,E)}}}class Referencer extends j.Visitor{constructor(E,R){super(null,E);this.options=E;this.scopeManager=R;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const R=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return R}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,R,N,$){const j=this.currentScope();R.forEach((R=>{j.__referencing(E,q.WRITE,R.right,N,E!==R.left,$)}))}visitPattern(E,R,N){let $=R;let j=N;if(typeof R==="function"){j=R;$={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,$.processRightHandNodes?this:null,j)}visitFunction(E){let R,N;if(E.type===$.FunctionDeclaration){this.currentScope().__define(E.id,new Ee(G.FunctionName,E.id,E,null,null,null))}if(E.type===$.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const j=this;function visitPatternCallback(N,$){j.currentScope().__define(N,new _e(N,E,R,$.rest));j.referencingDefaultValue(N,$.assignments,null,true)}for(R=0,N=E.params.length;R{this.currentScope().__define(R,new _e(R,E,E.params.length,true))}))}if(E.body){if(E.body.type===$.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===$.ClassDeclaration){this.currentScope().__define(E.id,new Ee(G.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new Ee(G.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let R;if(E.computed){this.visit(E.key)}const N=E.type===$.MethodDefinition;if(N){R=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(N){this.popInnerMethodDefinition(R)}}visitForIn(E){if(E.left.type===$.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===$.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(R=>{this.currentScope().__referencing(R,q.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((R,N)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:R,node:E}}this.referencingDefaultValue(R,N.assignments,$,false);this.currentScope().__referencing(R,q.WRITE,E.right,$,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,R,N,$){const j=N.declarations[$];const G=j.init;this.visitPattern(j.id,{processRightHandNodes:true},((ie,ae)=>{E.__define(ie,new Ee(R,ie,j,N,$,N.kind));this.referencingDefaultValue(ie,ae.assignments,null,true);if(G){this.currentScope().__referencing(ie,q.WRITE,G,null,!ae.topLevel,true)}}))}AssignmentExpression(E){if(ie.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((R,N)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:R,node:E}}this.referencingDefaultValue(R,N.assignments,$,false);this.currentScope().__referencing(R,q.WRITE,E.right,$,!N.topLevel,false)}))}else{this.currentScope().__referencing(E.left,q.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((R,N)=>{this.currentScope().__define(R,new Ee(G.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(R,N.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ie.isPattern(E.argument)){this.currentScope().__referencing(E.argument,q.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===$.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===$.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const R=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let N=0,$=E.declarations.length;N<$;++N){const $=E.declarations[N];this.visitVariableDeclaration(R,G.Variable,E,N);if($.init){this.visit($.init)}}}SwitchStatement(E){this.visit(E.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(E)}for(let R=0,N=E.cases.length;R{"use strict";const $=N(98699);const j=N(39491);const q=$.GlobalScope;const G=$.CatchScope;const ie=$.WithScope;const ae=$.ModuleScope;const le=$.ClassScope;const _e=$.SwitchScope;const Ee=$.FunctionScope;const we=$.ForScope;const Ie=$.FunctionExpressionNameScope;const Me=$.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,R){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const N=this.__get(E);if(!N||N.length===0){return null}if(N.length===1){return N[0]}if(R){for(let E=N.length-1;E>=0;--E){const R=N[E];if(predicate(R)){return R}}}else{for(let E=0,R=N.length;E=6}}E.exports=ScopeManager},98699:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(24552);const q=N(78120);const G=N(16950).Definition;const ie=N(39491);function isStrictScope(E,R,N,j){let q;if(E.upper&&E.upper.isStrict){return true}if(N){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(R.type===$.ArrowFunctionExpression&&R.body.type!==$.BlockStatement){return false}if(R.type===$.Program){q=R}else{q=R.body}if(!q){return false}}else if(E.type==="global"){q=R}else{return false}if(j){for(let E=0,R=q.body.length;E0&&$.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let R=this;do{R.through.push(E);R=R.upper}while(R)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let R;if(this.__shouldStaticallyClose(E)){R=this.__staticCloseRef}else if(this.type!=="global"){R=this.__dynamicCloseRef}else{R=this.__globalCloseRef}for(let E=0,N=this.__left.length;EE.name.range[0]>=N)))}}class ForScope extends Scope{constructor(E,R,N){super(E,"for",R,N,false)}}class ClassScope extends Scope{constructor(E,R,N){super(E,"class",R,N,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,R){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=R}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,R,N)=>{(function(){"use strict";var E=N(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(R,N){return(R===E.Syntax.ObjectExpression||R===E.Syntax.ObjectPattern)&&N==="properties"}function Visitor(R,N){N=N||{};this.__visitor=R||this;this.__childVisitorKeys=N.childVisitorKeys?Object.assign({},E.VisitorKeys,N.childVisitorKeys):E.VisitorKeys;if(N.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof N.fallback==="function"){this.__fallback=N.fallback}}Visitor.prototype.visitChildren=function(R){var N,$,j,q,G,ie,ae;if(R==null){return}N=R.type||E.Syntax.Property;$=this.__childVisitorKeys[N];if(!$){if(this.__fallback){$=this.__fallback(R)}else{throw new Error("Unknown node type "+N+".")}}for(j=0,q=$.length;j{(function clone(E){"use strict";var R,N,$,j,q,G;function deepCopy(E){var R={},N,$;for(N in E){if(E.hasOwnProperty(N)){$=E[N];if(typeof $==="object"&&$!==null){R[N]=deepCopy($)}else{R[N]=$}}}return R}function upperBound(E,R){var N,$,j,q;$=E.length;j=0;while($){N=$>>>1;q=j+N;if(R(E[q])){$=N}else{j=q+1;$-=N+1}}return j}R={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};j={};q={};G={};N={Break:j,Skip:q,Remove:G};function Reference(E,R){this.parent=E;this.key=R}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,R,N,$){this.node=E;this.path=R;this.wrap=N;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var E,R,N,$,j,q;function addToPath(E,R){if(Array.isArray(R)){for(N=0,$=R.length;N<$;++N){E.push(R[N])}}else{E.push(R)}}if(!this.__current.path){return null}j=[];for(E=2,R=this.__leavelist.length;E=0;--N){if(E[N].node===R){return true}}return false}Controller.prototype.traverse=function traverse(E,R){var N,$,G,ie,ae,le,_e,Ee,we,Ie,Me,Te;this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;N.push(new Element(E,null,null,null));$.push(new Element(null,null,null,null));while(N.length){G=N.pop();if(G===Te){G=$.pop();le=this.__execute(R.leave,G);if(this.__state===j||le===j){return}continue}if(G.node){le=this.__execute(R.enter,G);if(this.__state===j||le===j){return}N.push(Te);$.push(G);if(this.__state===q||le===q){continue}ie=G.node;ae=ie.type||G.wrap;Ie=this.__keys[ae];if(!Ie){if(this.__fallback){Ie=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Ie.length;while((Ee-=1)>=0){_e=Ie[Ee];Me=ie[_e];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(candidateExistsInLeaveList($,Me[we])){continue}if(isProperty(ae,Ie[Ee])){G=new Element(Me[we],[_e,we],"Property",null)}else if(isNode(Me[we])){G=new Element(Me[we],[_e,we],null,null)}else{continue}N.push(G)}}else if(isNode(Me)){if(candidateExistsInLeaveList($,Me)){continue}N.push(new Element(Me,_e,null,null))}}}}};Controller.prototype.replace=function replace(E,R){var N,$,ie,ae,le,_e,Ee,we,Ie,Me,Te,Ne,Be;function removeElem(E){var R,$,j,q;if(E.ref.remove()){$=E.ref.key;q=E.ref.parent;R=N.length;while(R--){j=N[R];if(j.ref&&j.ref.parent===q){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;Ne={root:E};_e=new Element(E,null,null,new Reference(Ne,"root"));N.push(_e);$.push(_e);while(N.length){_e=N.pop();if(_e===Te){_e=$.pop();le=this.__execute(R.leave,_e);if(le!==undefined&&le!==j&&le!==q&&le!==G){_e.ref.replace(le)}if(this.__state===G||le===G){removeElem(_e)}if(this.__state===j||le===j){return Ne.root}continue}le=this.__execute(R.enter,_e);if(le!==undefined&&le!==j&&le!==q&&le!==G){_e.ref.replace(le);_e.node=le}if(this.__state===G||le===G){removeElem(_e);_e.node=null}if(this.__state===j||le===j){return Ne.root}ie=_e.node;if(!ie){continue}N.push(Te);$.push(_e);if(this.__state===q||le===q){continue}ae=ie.type||_e.wrap;Ie=this.__keys[ae];if(!Ie){if(this.__fallback){Ie=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Ie.length;while((Ee-=1)>=0){Be=Ie[Ee];Me=ie[Be];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(isProperty(ae,Ie[Ee])){_e=new Element(Me[we],[Be,we],"Property",new Reference(Me,we))}else if(isNode(Me[we])){_e=new Element(Me[we],[Be,we],null,new Reference(Me,we))}else{continue}N.push(_e)}}else if(isNode(Me)){N.push(new Element(Me,Be,null,new Reference(ie,Be)))}}}return Ne.root};function traverse(E,R){var N=new Controller;return N.traverse(E,R)}function replace(E,R){var N=new Controller;return N.replace(E,R)}function extendCommentRange(E,R){var N;N=upperBound(R,(function search(R){return R.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(N!==R.length){E.extendedRange[1]=R[N].range[0]}N-=1;if(N>=0){E.extendedRange[0]=R[N].range[1]}return E}function attachComments(E,R,$){var j=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!$.length){if(R.length){for(ie=0,G=R.length;ieE.range[0]){break}if(R.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(R);j.splice(ae,1)}else{ae+=1}}if(ae===j.length){return N.Break}if(j[ae].extendedRange[0]>E.range[1]){return N.Skip}}});ae=0;traverse(E,{leave:function(E){var R;while(aeE.range[1]){return N.Skip}}});return E}E.Syntax=R;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=$;E.VisitorOption=N;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(R)},92105:(E,R,N)=>{(function clone(E){"use strict";var R,$,j,q,G,ie;function deepCopy(E){var R={},N,$;for(N in E){if(E.hasOwnProperty(N)){$=E[N];if(typeof $==="object"&&$!==null){R[N]=deepCopy($)}else{R[N]=$}}}return R}function upperBound(E,R){var N,$,j,q;$=E.length;j=0;while($){N=$>>>1;q=j+N;if(R(E[q])){$=N}else{j=q+1;$-=N+1}}return j}R={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};q={};G={};ie={};$={Break:q,Skip:G,Remove:ie};function Reference(E,R){this.parent=E;this.key=R}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,R,N,$){this.node=E;this.path=R;this.wrap=N;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var E,R,N,$,j,q;function addToPath(E,R){if(Array.isArray(R)){for(N=0,$=R.length;N<$;++N){E.push(R[N])}}else{E.push(R)}}if(!this.__current.path){return null}j=[];for(E=2,R=this.__leavelist.length;E=0){_e=Ie[Ee];Me=ie[_e];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(isProperty(ae,Ie[Ee])){j=new Element(Me[we],[_e,we],"Property",null)}else if(isNode(Me[we])){j=new Element(Me[we],[_e,we],null,null)}else{continue}N.push(j)}}else if(isNode(Me)){N.push(new Element(Me,_e,null,null))}}}}};Controller.prototype.replace=function replace(E,R){var N,$,j,ae,le,_e,Ee,we,Ie,Me,Te,Ne,Be;function removeElem(E){var R,$,j,q;if(E.ref.remove()){$=E.ref.key;q=E.ref.parent;R=N.length;while(R--){j=N[R];if(j.ref&&j.ref.parent===q){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;Ne={root:E};_e=new Element(E,null,null,new Reference(Ne,"root"));N.push(_e);$.push(_e);while(N.length){_e=N.pop();if(_e===Te){_e=$.pop();le=this.__execute(R.leave,_e);if(le!==undefined&&le!==q&&le!==G&&le!==ie){_e.ref.replace(le)}if(this.__state===ie||le===ie){removeElem(_e)}if(this.__state===q||le===q){return Ne.root}continue}le=this.__execute(R.enter,_e);if(le!==undefined&&le!==q&&le!==G&&le!==ie){_e.ref.replace(le);_e.node=le}if(this.__state===ie||le===ie){removeElem(_e);_e.node=null}if(this.__state===q||le===q){return Ne.root}j=_e.node;if(!j){continue}N.push(Te);$.push(_e);if(this.__state===G||le===G){continue}ae=j.type||_e.wrap;Ie=this.__keys[ae];if(!Ie){if(this.__fallback){Ie=this.__fallback(j)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Ie.length;while((Ee-=1)>=0){Be=Ie[Ee];Me=j[Be];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(isProperty(ae,Ie[Ee])){_e=new Element(Me[we],[Be,we],"Property",new Reference(Me,we))}else if(isNode(Me[we])){_e=new Element(Me[we],[Be,we],null,new Reference(Me,we))}else{continue}N.push(_e)}}else if(isNode(Me)){N.push(new Element(Me,Be,null,new Reference(j,Be)))}}}return Ne.root};function traverse(E,R){var N=new Controller;return N.traverse(E,R)}function replace(E,R){var N=new Controller;return N.replace(E,R)}function extendCommentRange(E,R){var N;N=upperBound(R,(function search(R){return R.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(N!==R.length){E.extendedRange[1]=R[N].range[0]}N-=1;if(N>=0){E.extendedRange[0]=R[N].range[1]}return E}function attachComments(E,R,N){var j=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!N.length){if(R.length){for(ie=0,G=R.length;ieE.range[0]){break}if(R.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(R);j.splice(ae,1)}else{ae+=1}}if(ae===j.length){return $.Break}if(j[ae].extendedRange[0]>E.range[1]){return $.Skip}}});ae=0;traverse(E,{leave:function(E){var R;while(aeE.range[1]){return $.Skip}}});return E}E.version=N(42600).i8;E.Syntax=R;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=j;E.VisitorOption=$;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(R)},55245:E=>{"use strict";E.exports=function equal(E,R){if(E===R)return true;if(E&&R&&typeof E=="object"&&typeof R=="object"){if(E.constructor!==R.constructor)return false;var N,$,j;if(Array.isArray(E)){N=E.length;if(N!=R.length)return false;for($=N;$--!==0;)if(!equal(E[$],R[$]))return false;return true}if(E.constructor===RegExp)return E.source===R.source&&E.flags===R.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===R.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===R.toString();j=Object.keys(E);N=j.length;if(N!==Object.keys(R).length)return false;for($=N;$--!==0;)if(!Object.prototype.hasOwnProperty.call(R,j[$]))return false;for($=N;$--!==0;){var q=j[$];if(!equal(E[q],R[q]))return false}return true}return E!==E&&R!==R}},75986:E=>{"use strict";E.exports=function(E,R){if(!R)R={};if(typeof R==="function")R={cmp:R};var N=typeof R.cycles==="boolean"?R.cycles:false;var $=R.cmp&&function(E){return function(R){return function(N,$){var j={key:N,value:R[N]};var q={key:$,value:R[$]};return E(j,q)}}}(R.cmp);var j=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var R,q;if(Array.isArray(E)){q="[";for(R=0;R{"use strict";var R="Function.prototype.bind called on incompatible ";var N=Array.prototype.slice;var $=Object.prototype.toString;var j="[object Function]";E.exports=function bind(E){var q=this;if(typeof q!=="function"||$.call(q)!==j){throw new TypeError(R+q)}var G=N.call(arguments,1);var ie;var binder=function(){if(this instanceof ie){var R=q.apply(this,G.concat(N.call(arguments)));if(Object(R)===R){return R}return this}else{return q.apply(E,G.concat(N.call(arguments)))}};var ae=Math.max(0,q.length-G.length);var le=[];for(var _e=0;_e{"use strict";var $=N(5426);E.exports=Function.prototype.bind||$},70554:E=>{E.exports=function(E,R){if(typeof E!=="string"){throw new TypeError("Expected a string")}var N=String(E);var $="";var j=R?!!R.extended:false;var q=R?!!R.globstar:false;var G=false;var ie=R&&typeof R.flags==="string"?R.flags:"";var ae;for(var le=0,_e=N.length;le<_e;le++){ae=N[le];switch(ae){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":$+="\\"+ae;break;case"?":if(j){$+=".";break}case"[":case"]":if(j){$+=ae;break}case"{":if(j){G=true;$+="(";break}case"}":if(j){G=false;$+=")";break}case",":if(G){$+="|";break}$+="\\"+ae;break;case"*":var Ee=N[le-1];var we=1;while(N[le+1]==="*"){we++;le++}var Ie=N[le+1];if(!q){$+=".*"}else{var Me=we>1&&(Ee==="/"||Ee===undefined)&&(Ie==="/"||Ie===undefined);if(Me){$+="((?:[^/]*(?:/|$))*)";le++}else{$+="([^/]*)"}}break;default:$+=ae}}if(!ie||!~ie.indexOf("g")){$="^"+$+"$"}return new RegExp($,ie)}},40858:E=>{"use strict";E.exports=clone;var R=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var N={__proto__:R(E)};else var N=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(R){Object.defineProperty(N,R,Object.getOwnPropertyDescriptor(E,R))}));return N}},15808:(E,R,N)=>{var $=N(57147);var j=N(82444);var q=N(94073);var G=N(40858);var ie=N(73837);var ae;var le;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");le=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";le="___graceful-fs.previous"}function noop(){}function publishQueue(E,R){Object.defineProperty(E,ae,{get:function(){return R}})}var _e=noop;if(ie.debuglog)_e=ie.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))_e=function(){var E=ie.format.apply(ie,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!$[ae]){var Ee=global[ae]||[];publishQueue($,Ee);$.close=function(E){function close(R,N){return E.call($,R,(function(E){if(!E){resetQueue()}if(typeof N==="function")N.apply(this,arguments)}))}Object.defineProperty(close,le,{value:E});return close}($.close);$.closeSync=function(E){function closeSync(R){E.apply($,arguments);resetQueue()}Object.defineProperty(closeSync,le,{value:E});return closeSync}($.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){_e($[ae]);N(39491).equal($[ae].length,0)}))}}if(!global[ae]){publishQueue(global,$[ae])}E.exports=patch(G($));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!$.__patched){E.exports=patch($);$.__patched=true}function patch(E){j(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var R=E.readFile;E.readFile=readFile;function readFile(E,N,$){if(typeof N==="function")$=N,N=null;return go$readFile(E,N,$);function go$readFile(E,N,$,j){return R(E,N,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$readFile,[E,N,$],R,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var N=E.writeFile;E.writeFile=writeFile;function writeFile(E,R,$,j){if(typeof $==="function")j=$,$=null;return go$writeFile(E,R,$,j);function go$writeFile(E,R,$,j,q){return N(E,R,$,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$writeFile,[E,R,$,j],N,q||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var $=E.appendFile;if($)E.appendFile=appendFile;function appendFile(E,R,N,j){if(typeof N==="function")j=N,N=null;return go$appendFile(E,R,N,j);function go$appendFile(E,R,N,j,q){return $(E,R,N,(function($){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$appendFile,[E,R,N,j],$,q||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var G=E.copyFile;if(G)E.copyFile=copyFile;function copyFile(E,R,N,$){if(typeof N==="function"){$=N;N=0}return go$copyFile(E,R,N,$);function go$copyFile(E,R,N,$,j){return G(E,R,N,(function(q){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$copyFile,[E,R,N,$],q,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var ie=E.readdir;E.readdir=readdir;function readdir(E,R,N){if(typeof R==="function")N=R,R=null;return go$readdir(E,R,N);function go$readdir(E,R,N,$){return ie(E,R,(function(j,q){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$readdir,[E,R,N],j,$||Date.now(),Date.now()]);else{if(q&&q.sort)q.sort();if(typeof N==="function")N.call(this,j,q)}}))}}if(process.version.substr(0,4)==="v0.8"){var ae=q(E);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var le=E.ReadStream;if(le){ReadStream.prototype=Object.create(le.prototype);ReadStream.prototype.open=ReadStream$open}var _e=E.WriteStream;if(_e){WriteStream.prototype=Object.create(_e.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var Ee=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return Ee},set:function(E){Ee=E},enumerable:true,configurable:true});var we=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return we},set:function(E){we=E},enumerable:true,configurable:true});function ReadStream(E,R){if(this instanceof ReadStream)return le.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(R,N){if(R){if(E.autoClose)E.destroy();E.emit("error",R)}else{E.fd=N;E.emit("open",N);E.read()}}))}function WriteStream(E,R){if(this instanceof WriteStream)return _e.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(R,N){if(R){E.destroy();E.emit("error",R)}else{E.fd=N;E.emit("open",N)}}))}function createReadStream(R,N){return new E.ReadStream(R,N)}function createWriteStream(R,N){return new E.WriteStream(R,N)}var Ie=E.open;E.open=open;function open(E,R,N,$){if(typeof N==="function")$=N,N=null;return go$open(E,R,N,$);function go$open(E,R,N,$,j){return Ie(E,R,N,(function(q,G){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$open,[E,R,N,$],q,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}return E}function enqueue(E){_e("ENQUEUE",E[0].name,E[1]);$[ae].push(E);retry()}var we;function resetQueue(){var E=Date.now();for(var R=0;R<$[ae].length;++R){if($[ae][R].length>2){$[ae][R][3]=E;$[ae][R][4]=E}}retry()}function retry(){clearTimeout(we);we=undefined;if($[ae].length===0)return;var E=$[ae].shift();var R=E[0];var N=E[1];var j=E[2];var q=E[3];var G=E[4];if(q===undefined){_e("RETRY",R.name,N);R.apply(null,N)}else if(Date.now()-q>=6e4){_e("TIMEOUT",R.name,N);var ie=N.pop();if(typeof ie==="function")ie.call(null,j)}else{var le=Date.now()-G;var Ee=Math.max(G-q,1);var Ie=Math.min(Ee*1.2,100);if(le>=Ie){_e("RETRY",R.name,N);R.apply(null,N.concat([q]))}else{$[ae].push(E)}}if(we===undefined){we=setTimeout(retry,0)}}},94073:(E,R,N)=>{var $=N(12781).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(R,N){if(!(this instanceof ReadStream))return new ReadStream(R,N);$.call(this);var j=this;this.path=R;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;N=N||{};var q=Object.keys(N);for(var G=0,ie=q.length;Gthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){j._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,R){if(E){j.emit("error",E);j.readable=false;return}j.fd=R;j.emit("open",R);j._read()}))}function WriteStream(R,N){if(!(this instanceof WriteStream))return new WriteStream(R,N);$.call(this);this.path=R;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;N=N||{};var j=Object.keys(N);for(var q=0,G=j.length;q= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,R,N)=>{var $=N(22057);var j=process.cwd;var q=null;var G=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!q)q=j.call(process);return q};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ie=process.chdir;process.chdir=function(E){q=null;ie.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ie)}E.exports=patch;function patch(E){if($.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,R,N){if(N)process.nextTick(N)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,R,N,$){if($)process.nextTick($)};E.lchownSync=function(){}}if(G==="win32"){E.rename=function(R){return function(N,$,j){var q=Date.now();var G=0;R(N,$,(function CB(ie){if(ie&&(ie.code==="EACCES"||ie.code==="EPERM")&&Date.now()-q<6e4){setTimeout((function(){E.stat($,(function(E,q){if(E&&E.code==="ENOENT")R(N,$,CB);else j(ie)}))}),G);if(G<100)G+=10;return}if(j)j(ie)}))}}(E.rename)}E.read=function(R){function read(N,$,j,q,G,ie){var ae;if(ie&&typeof ie==="function"){var le=0;ae=function(_e,Ee,we){if(_e&&_e.code==="EAGAIN"&&le<10){le++;return R.call(E,N,$,j,q,G,ae)}ie.apply(this,arguments)}}return R.call(E,N,$,j,q,G,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,R);return read}(E.read);E.readSync=function(R){return function(N,$,j,q,G){var ie=0;while(true){try{return R.call(E,N,$,j,q,G)}catch(E){if(E.code==="EAGAIN"&&ie<10){ie++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(R,N,j){E.open(R,$.O_WRONLY|$.O_SYMLINK,N,(function(R,$){if(R){if(j)j(R);return}E.fchmod($,N,(function(R){E.close($,(function(E){if(j)j(R||E)}))}))}))};E.lchmodSync=function(R,N){var j=E.openSync(R,$.O_WRONLY|$.O_SYMLINK,N);var q=true;var G;try{G=E.fchmodSync(j,N);q=false}finally{if(q){try{E.closeSync(j)}catch(E){}}else{E.closeSync(j)}}return G}}function patchLutimes(E){if($.hasOwnProperty("O_SYMLINK")){E.lutimes=function(R,N,j,q){E.open(R,$.O_SYMLINK,(function(R,$){if(R){if(q)q(R);return}E.futimes($,N,j,(function(R){E.close($,(function(E){if(q)q(R||E)}))}))}))};E.lutimesSync=function(R,N,j){var q=E.openSync(R,$.O_SYMLINK);var G;var ie=true;try{G=E.futimesSync(q,N,j);ie=false}finally{if(ie){try{E.closeSync(q)}catch(E){}}else{E.closeSync(q)}}return G}}else{E.lutimes=function(E,R,N,$){if($)process.nextTick($)};E.lutimesSync=function(){}}}function chmodFix(R){if(!R)return R;return function(N,$,j){return R.call(E,N,$,(function(E){if(chownErOk(E))E=null;if(j)j.apply(this,arguments)}))}}function chmodFixSync(R){if(!R)return R;return function(N,$){try{return R.call(E,N,$)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(R){if(!R)return R;return function(N,$,j,q){return R.call(E,N,$,j,(function(E){if(chownErOk(E))E=null;if(q)q.apply(this,arguments)}))}}function chownFixSync(R){if(!R)return R;return function(N,$,j){try{return R.call(E,N,$,j)}catch(E){if(!chownErOk(E))throw E}}}function statFix(R){if(!R)return R;return function(N,$,j){if(typeof $==="function"){j=$;$=null}function callback(E,R){if(R){if(R.uid<0)R.uid+=4294967296;if(R.gid<0)R.gid+=4294967296}if(j)j.apply(this,arguments)}return $?R.call(E,N,$,callback):R.call(E,N,callback)}}function statFixSync(R){if(!R)return R;return function(N,$){var j=$?R.call(E,N,$):R.call(E,N);if(j.uid<0)j.uid+=4294967296;if(j.gid<0)j.gid+=4294967296;return j}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var R=!process.getuid||process.getuid()!==0;if(R){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,R=process.argv)=>{const N=E.startsWith("-")?"":E.length===1?"-":"--";const $=R.indexOf(N+E);const j=R.indexOf("--");return $!==-1&&(j===-1||${"use strict";var $=N(9120);E.exports=$.call(Function.call,Object.prototype.hasOwnProperty)},28309:(E,R,N)=>{try{var $=N(73837);if(typeof $.inherits!=="function")throw"";E.exports=$.inherits}catch(R){E.exports=N(70474)}},70474:E=>{if(typeof Object.create==="function"){E.exports=function inherits(E,R){if(R){E.super_=R;E.prototype=Object.create(R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}})}}}else{E.exports=function inherits(E,R){if(R){E.super_=R;var TempCtor=function(){};TempCtor.prototype=R.prototype;E.prototype=new TempCtor;E.prototype.constructor=E}}}},13747:(E,R,N)=>{"use strict";var $=N(79946);function specifierIncluded(E,R){var N=E.split(".");var $=R.split(" ");var j=$.length>1?$[0]:"=";var q=($.length>1?$[1]:$[0]).split(".");for(var G=0;G<3;++G){var ie=parseInt(N[G]||0,10);var ae=parseInt(q[G]||0,10);if(ie===ae){continue}if(j==="<"){return ie="){return ie>=ae}return false}return j===">="}function matchesRange(E,R){var N=R.split(/ ?&& ?/);if(N.length===0){return false}for(var $=0;${var R={}.toString;E.exports=Array.isArray||function(E){return R.call(E)=="[object Array]"}},15986:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(62483));var j=N(42195);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class Farm{constructor(E,R,N={}){var j,q;this._numOfWorkers=E;this._callback=R;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=N.computeWorkerKey;this._workerSchedulingPolicy=(j=N.workerSchedulingPolicy)!==null&&j!==void 0?j:"round-robin";this._taskQueue=(q=N.taskQueue)!==null&&q!==void 0?q:new $.default}doWork(E,...R){const N=new Set;const addCustomMessageListener=E=>{N.add(E);return()=>{N.delete(E)}};const onCustomMessage=E=>{N.forEach((R=>R(E)))};const $=new Promise(((R,$,q)=>{const G=this._computeWorkerKey;const ie=[j.CHILD_MESSAGE_CALL,false,E,R];let ae=null;let le=null;if(G){le=G.call(this,E,...R);ae=le==null?null:this._cacheKeys[le]}const onStart=E=>{if(le!=null){this._cacheKeys[le]=E}};const onEnd=(E,R)=>{N.clear();if(E){q(E)}else{$(R)}};const _e={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ie};if(ae){this._taskQueue.enqueue(_e,ae.getWorkerId());this._process(ae.getWorkerId())}else{this._push(_e)}}).bind(null,R));$.UNSTABLE_onCustomMessage=addCustomMessageListener;return $}_process(E){if(this._isLocked(E)){return this}const R=this._taskQueue.dequeue(E);if(!R){return this}if(R.request[1]){throw new Error("Queue implementation returned processed task")}const N=R.onEnd;const onEnd=(R,$)=>{N(R,$);this._unlock(E);this._process(E)};R.request[1]=true;this._lock(E);this._callback(E,R.request,R.onStart,onEnd,R.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const R=this._getNextWorkerOffset();for(let N=0;N{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,R){if(R==null){this._sharedQueue.enqueue(E);return}let N=this._workerQueues[R];if(N==null){N=this._workerQueues[R]=new InternalQueue}const $=this._sharedQueue.peekLast();const j={previousSharedTask:$,task:E};N.enqueue(j)}dequeue(E){var R,N,$;const j=(R=this._workerQueues[E])===null||R===void 0?void 0:R.peek();const q=(N=j===null||j===void 0?void 0:($=j.previousSharedTask)===null||$===void 0?void 0:$.request[1])!==null&&N!==void 0?N:true;if(j!=null&&q){var G,ie,ae;return(G=(ie=this._workerQueues[E])===null||ie===void 0?void 0:(ae=ie.dequeue())===null||ae===void 0?void 0:ae.task)!==null&&G!==void 0?G:null}return this._sharedQueue.dequeue()}}R["default"]=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const R={next:null,value:E};if(this._last==null){this._head=R}else{this._last.next=R}this._last=R}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,R;return(E=(R=this._head)===null||R===void 0?void 0:R.value)!==null&&E!==void 0?E:null}peekLast(){var E,R;return(E=(R=this._last)===null||R===void 0?void 0:R.value)!==null&&E!==void 0?E:null}}},25739:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,R){if(R==null){this._enqueue(E,this._sharedQueue)}else{const N=this._getWorkerQueue(R);this._enqueue(E,N)}}_enqueue(E,R){const N={priority:this._computePriority(E.request[2],...E.request[3]),task:E};R.add(N)}dequeue(E){const R=this._getWorkerQueue(E);const N=R.peek();const $=this._sharedQueue.peek();if($==null||N!=null&&N.priority<=$.priority){var j,q;return(j=(q=R.poll())===null||q===void 0?void 0:q.task)!==null&&j!==void 0?j:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let R=this._queue[E];if(R==null){R=this._queue[E]=new MinHeap}return R}}R["default"]=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const R=this._heap;R.push(E);if(R.length===1){return}let N=R.length-1;while(N>0){const $=Math.floor((N+1)/2)-1;const j=R[$];if(j.priority<=E.priority){break}R[N]=j;R[$]=E;N=$}}poll(){const E=this._heap;const R=E[0];const N=E.pop();if(R==null||E.length===0){return R!==null&&R!==void 0?R:null}let $=0;E[0]=N!==null&&N!==void 0?N:null;const j=E[0];while(true){let R=null;const N=($+1)*2;const q=N-1;const G=E[N];const ie=E[q];if(ie!=null&&ie.priority{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(68189));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{N(71267);return true}catch{return false}};class WorkerPool extends $.default{send(E,R,N,$,j){this.getWorkerById(E).send(R,N,$,j)}createWorker(E){let R;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){R=N(12295).Z}else{R=N(17164).Z}return new R(E)}}var j=WorkerPool;R["default"]=j},68189:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function path(){const E=_interopRequireWildcard(N(71017));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _types(){const E=N(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}const $=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,R){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=R;this._workers=new Array(R.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const N=(0,_mergeStream().default)();const $=(0,_mergeStream().default)();const{forkOptions:j,maxRetries:q,resourceLimits:G,setupArgs:ie}=R;for(let ae=0;ae{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let R=false;const N=setTimeout((()=>{E.forceExit();R=true}),$);await E.waitForExit();clearTimeout(N);return R}));const R=await Promise.all(E);return R.reduce(((E,R)=>({forceExited:E.forceExited||R})),{forceExited:false})}}R["default"]=BaseWorkerPool},69419:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"PriorityQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(R,"FifoQueue",{enumerable:true,get:function(){return G.default}});Object.defineProperty(R,"messageParent",{enumerable:true,get:function(){return ie.default}});R.Worker=void 0;function _os(){const E=N(22037);_os=function(){return E};return E}var $=_interopRequireDefault(N(15986));var j=_interopRequireDefault(N(61315));var q=_interopRequireDefault(N(25739));var G=_interopRequireDefault(N(62483));var ie=_interopRequireDefault(N(27008));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}function getExposedMethods(E,R){let N=R.exposedMethods;if(!N){const R=require(E);N=Object.keys(R).filter((E=>typeof R[E]==="function"));if(typeof R==="function"){N=[...N,"default"]}}return N}class Worker{constructor(E,R){var N,q,G,ie,ae,le;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...R};this._ending=false;const _e={enableWorkerThreads:(N=this._options.enableWorkerThreads)!==null&&N!==void 0?N:false,forkOptions:(q=this._options.forkOptions)!==null&&q!==void 0?q:{},maxRetries:(G=this._options.maxRetries)!==null&&G!==void 0?G:3,numWorkers:(ie=this._options.numWorkers)!==null&&ie!==void 0?ie:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(ae=this._options.resourceLimits)!==null&&ae!==void 0?ae:{},setupArgs:(le=this._options.setupArgs)!==null&&le!==void 0?le:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,_e)}else{this._workerPool=new j.default(E,_e)}this._farm=new $.default(_e.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,R){getExposedMethods(E,R).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...R){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...R)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}R.Worker=Worker},42195:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PARENT_MESSAGE_CUSTOM=R.PARENT_MESSAGE_SETUP_ERROR=R.PARENT_MESSAGE_CLIENT_ERROR=R.PARENT_MESSAGE_OK=R.CHILD_MESSAGE_END=R.CHILD_MESSAGE_CALL=R.CHILD_MESSAGE_INITIALIZE=void 0;const N=0;R.CHILD_MESSAGE_INITIALIZE=N;const $=1;R.CHILD_MESSAGE_CALL=$;const j=2;R.CHILD_MESSAGE_END=j;const q=0;R.PARENT_MESSAGE_OK=q;const G=1;R.PARENT_MESSAGE_CLIENT_ERROR=G;const ie=2;R.PARENT_MESSAGE_SETUP_ERROR=ie;const ae=3;R.PARENT_MESSAGE_CUSTOM=ae},17164:(E,R,N)=>{"use strict";var $;$={value:true};R.Z=void 0;function _child_process(){const E=N(32081);_child_process=function(){return E};return E}function _stream(){const E=N(12781);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=N(24467);_supportsColor=function(){return E};return E}function _types(){const E=N(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}const j=128;const q=j+9;const G=j+15;const ie=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const R=(0,_child_process().fork)(N.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(R.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(R.stdout)}if(R.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(R.stderr)}R.on("message",this._onMessage.bind(this));R.on("exit",this._onExit.bind(this));R.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=R;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let R;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:R=E[4];if(R!=null&&typeof R==="object"){const N=R;const $=global[E[1]];const j=typeof $==="function"?$:Error;R=new j(E[2]);R.type=E[1];R.stack=E[3];for(const E in N){R[E]=N[E]}}this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:R=new Error("Error when calling setup: "+E[2]);R.type=E[1];R.stack=E[3];this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==G&&E!==q){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,R,N,$){R(this);this._onProcessEnd=(...E)=>{this._request=null;return N(...E)};this._onCustomMessage=(...E)=>$(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ie);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}R.Z=ChildProcessWorker},12295:(E,R,N)=>{"use strict";var $;$={value:true};R.Z=void 0;function path(){const E=_interopRequireWildcard(N(71017));path=function(){return E};return E}function _stream(){const E=N(12781);_stream=function(){return E};return E}function _worker_threads(){const E=N(71267);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _types(){const E=N(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let R;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:R=E[4];if(R!=null&&typeof R==="object"){const N=R;const $=global[E[1]];const j=typeof $==="function"?$:Error;R=new j(E[2]);R.type=E[1];R.stack=E[3];for(const E in N){R[E]=N[E]}}this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:R=new Error("Error when calling setup: "+E[2]);R.type=E[1];R.stack=E[3];this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,R,N,$){R(this);this._onProcessEnd=(...E)=>{var R;this._request=null;const $=(R=N)===null||R===void 0?void 0:R(...E);N=null;return $};this._onCustomMessage=(...E)=>$(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}R.Z=ExperimentalWorker},27008:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=messageParent;function _types(){const E=N(42195);_types=function(){return E};return E}const $=(()=>{try{const{isMainThread:E,parentPort:R}=N(71267);return!E&&R!=null}catch{return false}})();function messageParent(E,R=process){if($){const{parentPort:R}=N(71267);R.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof R.send==="function"){R.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},24467:(E,R,N)=>{"use strict";const $=N(22037);const j=N(76224);const q=N(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}function envForceColor(){if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){return 1}if(G.FORCE_COLOR==="false"){return 0}return G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:R,sniffFlags:N=true}={}){const j=envForceColor();if(j!==undefined){ie=j}const ae=N?ie:j;if(ae===0){return 0}if(N){if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}}if(E&&!R&&ae===undefined){return 0}const le=ae||0;if(G.TERM==="dumb"){return le}if(process.platform==="win32"){const E=$.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return le}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return le}function getSupportLevel(E,R={}){const N=supportsColor(E,{streamIsTTY:E&&E.isTTY,...R});return translateLevel(N)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:j.isatty(1)}),stderr:getSupportLevel({isTTY:j.isatty(2)})}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,R,N){N=N||20;try{return JSON.parse(E,R)}catch(R){if(typeof E!=="string"){const R=Array.isArray(E)&&E.length===0;const N="Cannot parse "+(R?"an empty array":String(E));throw new TypeError(N)}const $=R.message.match(/^Unexpected token.*position\s+(\d+)/i);const j=$?+$[1]:R.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if(j!=null){const $=j<=N?0:j-N;const q=j+N>=E.length?E.length:j+N;R.message+=` while parsing near '${$===0?"":"..."}${E.slice($,q)}${q===E.length?"":"..."}'`}else{R.message+=` while parsing '${E.slice(0,N*2)}'`}throw R}}},46833:E=>{"use strict";var R=E.exports=function(E,R,N){if(typeof R=="function"){N=R;R={}}N=R.cb||N;var $=typeof N=="function"?N:N.pre||function(){};var j=N.post||function(){};_traverse(R,$,j,E,"",E)};R.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};R.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};R.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};R.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,N,$,j,q,G,ie,ae,le,_e){if(j&&typeof j=="object"&&!Array.isArray(j)){N(j,q,G,ie,ae,le,_e);for(var Ee in j){var we=j[Ee];if(Array.isArray(we)){if(Ee in R.arrayKeywords){for(var Ie=0;Ie{const $=N(14465);const j=N(59977);const q={parse:$,stringify:j};E.exports=q},14465:(E,R,N)=>{const $=N(58034);let j;let q;let G;let ie;let ae;let le;let _e;let Ee;let we;E.exports=function parse(E,R){j=String(E);q="start";G=[];ie=0;ae=1;le=0;_e=undefined;Ee=undefined;we=undefined;do{_e=lex();je[q]()}while(_e.type!=="eof");if(typeof R==="function"){return internalize({"":we},"",R)}return we};function internalize(E,R,N){const $=E[R];if($!=null&&typeof $==="object"){for(const E in $){const R=internalize($,E,N);if(R===undefined){delete $[E]}else{$[E]=R}}}return N.call(E,R,$)}let Ie;let Me;let Te;let Ne;let Be;function lex(){Ie="default";Me="";Te=false;Ne=1;for(;;){Be=peek();const E=Le[Ie]();if(E){return E}}}function peek(){if(j[ie]){return String.fromCodePoint(j.codePointAt(ie))}}function read(){const E=peek();if(E==="\n"){ae++;le=0}else if(E){le+=E.length}else{le++}if(E){ie+=E.length}return E}const Le={default(){switch(Be){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Ie="comment";return;case undefined:read();return newToken("eof")}if($.isSpaceSeparator(Be)){read();return}return Le[q]()},comment(){switch(Be){case"*":read();Ie="multiLineComment";return;case"/":read();Ie="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(Be){case"*":read();Ie="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(Be){case"*":read();return;case"/":read();Ie="default";return;case undefined:throw invalidChar(read())}read();Ie="multiLineComment"},singleLineComment(){switch(Be){case"\n":case"\r":case"\u2028":case"\u2029":read();Ie="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(Be){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){Ne=-1}Ie="sign";return;case".":Me=read();Ie="decimalPointLeading";return;case"0":Me=read();Ie="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Me=read();Ie="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Te=read()==='"';Me="";Ie="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(Be!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":break;default:if(!$.isIdStartChar(E)){throw invalidIdentifier()}break}Me+=E;Ie="identifierName"},identifierName(){switch(Be){case"$":case"_":case"‌":case"‍":Me+=read();return;case"\\":read();Ie="identifierNameEscape";return}if($.isIdContinueChar(Be)){Me+=read();return}return newToken("identifier",Me)},identifierNameEscape(){if(Be!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":case"‌":case"‍":break;default:if(!$.isIdContinueChar(E)){throw invalidIdentifier()}break}Me+=E;Ie="identifierName"},sign(){switch(Be){case".":Me=read();Ie="decimalPointLeading";return;case"0":Me=read();Ie="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Me=read();Ie="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Ne*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(Be){case".":Me+=read();Ie="decimalPoint";return;case"e":case"E":Me+=read();Ie="decimalExponent";return;case"x":case"X":Me+=read();Ie="hexadecimal";return}return newToken("numeric",Ne*0)},decimalInteger(){switch(Be){case".":Me+=read();Ie="decimalPoint";return;case"e":case"E":Me+=read();Ie="decimalExponent";return}if($.isDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},decimalPointLeading(){if($.isDigit(Be)){Me+=read();Ie="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(Be){case"e":case"E":Me+=read();Ie="decimalExponent";return}if($.isDigit(Be)){Me+=read();Ie="decimalFraction";return}return newToken("numeric",Ne*Number(Me))},decimalFraction(){switch(Be){case"e":case"E":Me+=read();Ie="decimalExponent";return}if($.isDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},decimalExponent(){switch(Be){case"+":case"-":Me+=read();Ie="decimalExponentSign";return}if($.isDigit(Be)){Me+=read();Ie="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if($.isDigit(Be)){Me+=read();Ie="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if($.isDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},hexadecimal(){if($.isHexDigit(Be)){Me+=read();Ie="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if($.isHexDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},string(){switch(Be){case"\\":read();Me+=escape();return;case'"':if(Te){read();return newToken("string",Me)}Me+=read();return;case"'":if(!Te){read();return newToken("string",Me)}Me+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(Be);break;case undefined:throw invalidChar(read())}Me+=read()},start(){switch(Be){case"{":case"[":return newToken("punctuator",read())}Ie="value"},beforePropertyName(){switch(Be){case"$":case"_":Me=read();Ie="identifierName";return;case"\\":read();Ie="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Te=read()==='"';Ie="string";return}if($.isIdStartChar(Be)){Me+=read();Ie="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(Be===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){Ie="value"},afterPropertyValue(){switch(Be){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(Be==="]"){return newToken("punctuator",read())}Ie="value"},afterArrayValue(){switch(Be){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(E,R){return{type:E,value:R,line:ae,column:le}}function literal(E){for(const R of E){const E=peek();if(E!==R){throw invalidChar(read())}read()}}function escape(){const E=peek();switch(E){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if($.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let E="";let R=peek();if(!$.isHexDigit(R)){throw invalidChar(read())}E+=read();R=peek();if(!$.isHexDigit(R)){throw invalidChar(read())}E+=read();return String.fromCodePoint(parseInt(E,16))}function unicodeEscape(){let E="";let R=4;while(R-- >0){const R=peek();if(!$.isHexDigit(R)){throw invalidChar(read())}E+=read()}return String.fromCodePoint(parseInt(E,16))}const je={start(){if(_e.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(_e.type){case"identifier":case"string":Ee=_e.value;q="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(_e.type==="eof"){throw invalidEOF()}q="beforePropertyValue"},beforePropertyValue(){if(_e.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(_e.type==="eof"){throw invalidEOF()}if(_e.type==="punctuator"&&_e.value==="]"){pop();return}push()},afterPropertyValue(){if(_e.type==="eof"){throw invalidEOF()}switch(_e.value){case",":q="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(_e.type==="eof"){throw invalidEOF()}switch(_e.value){case",":q="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let E;switch(_e.type){case"punctuator":switch(_e.value){case"{":E={};break;case"[":E=[];break}break;case"null":case"boolean":case"numeric":case"string":E=_e.value;break}if(we===undefined){we=E}else{const R=G[G.length-1];if(Array.isArray(R)){R.push(E)}else{R[Ee]=E}}if(E!==null&&typeof E==="object"){G.push(E);if(Array.isArray(E)){q="beforeArrayValue"}else{q="beforePropertyName"}}else{const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}}function pop(){G.pop();const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}function invalidChar(E){if(E===undefined){return syntaxError(`JSON5: invalid end of input at ${ae}:${le}`)}return syntaxError(`JSON5: invalid character '${formatChar(E)}' at ${ae}:${le}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${ae}:${le}`)}function invalidIdentifier(){le-=5;return syntaxError(`JSON5: invalid identifier character at ${ae}:${le}`)}function separatorChar(E){console.warn(`JSON5: '${formatChar(E)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(E){const R={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(R[E]){return R[E]}if(E<" "){const R=E.charCodeAt(0).toString(16);return"\\x"+("00"+R).substring(R.length)}return E}function syntaxError(E){const R=new SyntaxError(E);R.lineNumber=ae;R.columnNumber=le;return R}},59977:(E,R,N)=>{const $=N(58034);E.exports=function stringify(E,R,N){const j=[];let q="";let G;let ie;let ae="";let le;if(R!=null&&typeof R==="object"&&!Array.isArray(R)){N=R.space;le=R.quote;R=R.replacer}if(typeof R==="function"){ie=R}else if(Array.isArray(R)){G=[];for(const E of R){let R;if(typeof E==="string"){R=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){R=String(E)}if(R!==undefined&&G.indexOf(R)<0){G.push(R)}}}if(N instanceof Number){N=Number(N)}else if(N instanceof String){N=String(N)}if(typeof N==="number"){if(N>0){N=Math.min(10,Math.floor(N));ae=" ".substr(0,N)}}else if(typeof N==="string"){ae=N.substr(0,10)}return serializeProperty("",{"":E});function serializeProperty(E,R){let N=R[E];if(N!=null){if(typeof N.toJSON5==="function"){N=N.toJSON5(E)}else if(typeof N.toJSON==="function"){N=N.toJSON(E)}}if(ie){N=ie.call(R,E,N)}if(N instanceof Number){N=Number(N)}else if(N instanceof String){N=String(N)}else if(N instanceof Boolean){N=N.valueOf()}switch(N){case null:return"null";case true:return"true";case false:return"false"}if(typeof N==="string"){return quoteString(N,false)}if(typeof N==="number"){return String(N)}if(typeof N==="object"){return Array.isArray(N)?serializeArray(N):serializeObject(N)}return undefined}function quoteString(E){const R={"'":.1,'"':.2};const N={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let j="";for(let q=0;qR[E]=0){throw TypeError("Converting circular structure to JSON5")}j.push(E);let R=q;q=q+ae;let N=G||Object.keys(E);let $=[];for(const R of N){const N=serializeProperty(R,E);if(N!==undefined){let E=serializeKey(R)+":";if(ae!==""){E+=" "}E+=N;$.push(E)}}let ie;if($.length===0){ie="{}"}else{let E;if(ae===""){E=$.join(",");ie="{"+E+"}"}else{let N=",\n"+q;E=$.join(N);ie="{\n"+q+E+",\n"+R+"}"}}j.pop();q=R;return ie}function serializeKey(E){if(E.length===0){return quoteString(E,true)}const R=String.fromCodePoint(E.codePointAt(0));if(!$.isIdStartChar(R)){return quoteString(E,true)}for(let N=R.length;N=0){throw TypeError("Converting circular structure to JSON5")}j.push(E);let R=q;q=q+ae;let N=[];for(let R=0;R{E.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;E.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;E.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},58034:(E,R,N)=>{const $=N(14059);E.exports={isSpaceSeparator(E){return typeof E==="string"&&$.Space_Separator.test(E)},isIdStartChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E==="$"||E==="_"||$.ID_Start.test(E))},isIdContinueChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E>="0"&&E<="9"||E==="$"||E==="_"||E==="‌"||E==="‍"||$.ID_Continue.test(E))},isDigit(E){return typeof E==="string"&&/[0-9]/.test(E)},isHexDigit(E){return typeof E==="string"&&/[0-9A-Fa-f]/.test(E)}}},64055:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.ChunkIncludeExcludeTester=void 0;var N=function(){function ChunkIncludeExcludeTester(E){this.includeExcludeTest=E}ChunkIncludeExcludeTester.prototype.isIncluded=function(E){if(typeof this.includeExcludeTest==="function"){return this.includeExcludeTest(E)}if(this.includeExcludeTest.include&&!this.includeExcludeTest.exclude){return this.includeExcludeTest.include.indexOf(E)>-1}if(this.includeExcludeTest.exclude&&!this.includeExcludeTest.include){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)}if(this.includeExcludeTest.include&&this.includeExcludeTest.exclude){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)&&this.includeExcludeTest.include.indexOf(E)>-1}return true};return ChunkIncludeExcludeTester}();R.ChunkIncludeExcludeTester=N},50980:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.LicenseTextReader=void 0;var $=function(){function LicenseTextReader(E,R,N,$,j,q){this.logger=E;this.fileSystem=R;this.fileOverrides=N;this.textOverrides=$;this.templateDir=j;this.handleMissingLicenseText=q}LicenseTextReader.prototype.readLicense=function(E,R,N){if(this.textOverrides[R.name]){return this.textOverrides[R.name]}if(this.fileOverrides[R.name]){return this.readText(R.directory,this.fileOverrides[R.name])}if(N&&N.indexOf("SEE LICENSE IN ")===0){var $=N.split(" ")[3];return this.fileSystem.isFileInDirectory($,R.directory)?this.readText(R.directory,$):null}var j=this.fileSystem.listPaths(R.directory);var q=this.guessLicenseFilename(j,R.directory);if(q!==null){return this.readText(R.directory,q)}if(this.templateDir){var G=N+".txt";var ie=this.fileSystem.join(this.templateDir,G);if(this.fileSystem.isFileInDirectory(ie,this.templateDir)){return this.fileSystem.readFileAsUtf8(ie).replace(/\r\n/g,"\n")}}this.logger.warn(E,"could not find any license file for "+R.name+". Use the licenseTextOverrides option to add the license text if desired.");return this.handleMissingLicenseText(R.name,N)};LicenseTextReader.prototype.readText=function(E,R){return this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,R)).replace(/\r\n/g,"\n")};LicenseTextReader.prototype.guessLicenseFilename=function(E,R){var $,j;try{for(var q=N(E),G=q.next();!G.done;G=q.next()){var ie=G.value;var ae=this.fileSystem.join(R,ie);if(/^licen[cs]e/i.test(ie)&&!this.fileSystem.isDirectory(ae)){return ie}}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}return null};return LicenseTextReader}();R.LicenseTextReader=$},85768:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.LicenseWebpackPlugin=void 0;var $=N(64055);var j=N(27519);var q=N(35183);var G=N(41728);var ie=N(55933);var ae=N(50980);var le=N(85777);var _e=N(98707);var Ee=N(81778);var we=N(13957);var Ie=N(2058);var Me=N(29728);var Te=N(99801);var Ne=N(39225);var Be=function(){function LicenseWebpackPlugin(E){if(E===void 0){E={}}this.pluginOptions=E}LicenseWebpackPlugin.prototype.apply=function(E){var R=new G.WebpackFileSystem(E.inputFileSystem);var N=new Te.PluginOptionsReader(E.context);var Be=N.readOptions(this.pluginOptions);var Le=new Ne.Logger(Be.stats);var je=new q.PluginFileHandler(R,Be.buildRoot,Be.modulesDirectories,Be.excludedPackageTest);var ze=new ie.PluginLicenseTypeIdentifier(Le,Be.licenseTypeOverrides,Be.preferredLicenseTypes,Be.handleLicenseAmbiguity,Be.handleMissingLicenseType);var Ue=new ae.LicenseTextReader(Le,R,Be.licenseFileOverrides,Be.licenseTextOverrides,Be.licenseTemplateDir,Be.handleMissingLicenseText);var qe=new Me.PluginLicenseTestRunner(Be.licenseInclusionTest);var Ge=new Me.PluginLicenseTestRunner(Be.unacceptableLicenseTest);var He=new Ie.PluginLicensePolicy(qe,Ge,Be.handleUnacceptableLicense,Be.handleMissingLicenseText);var We=new j.PluginChunkReadHandler(Le,je,ze,Ue,He,R);var Ve=new we.PluginLicensesRenderer(Be.renderLicenses,Be.renderBanner);var Ke=new _e.PluginModuleCache;var Qe=new Ee.WebpackAssetManager(Be.outputFilename,Ve);var Je=new $.ChunkIncludeExcludeTester(Be.chunkIncludeExcludeTest);var Xe=new le.WebpackCompilerHandler(Je,We,Qe,Ke,Be.addBanner,Be.perChunkOutput,Be.additionalChunkModules,Be.additionalModules,Be.skipChildCompilers);Xe.handleCompiler(E)};return LicenseWebpackPlugin}();R.LicenseWebpackPlugin=Be},39225:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.Logger=void 0;var N=function(){function Logger(E){this.stats=E}Logger.prototype.warn=function(E,R){if(this.stats.warnings){E.warnings.push(""+Logger.LOG_PREFIX+R)}};Logger.prototype.error=function(E,R){if(this.stats.errors){E.errors.push(""+Logger.LOG_PREFIX+R)}};Logger.LOG_PREFIX="license-webpack-plugin: ";return Logger}();R.Logger=N},27519:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginChunkReadHandler=void 0;var $=N(39900);var j=N(20456);var q=function(){function PluginChunkReadHandler(E,R,N,q,G,ie){this.logger=E;this.fileHandler=R;this.licenseTypeIdentifier=N;this.licenseTextReader=q;this.licensePolicy=G;this.fileSystem=ie;this.moduleIterator=new $.WebpackChunkModuleIterator;this.fileIterator=new j.WebpackModuleFileIterator(require.resolve)}PluginChunkReadHandler.prototype.processChunk=function(E,R,N,$){var j=this;this.moduleIterator.iterateModules(E,R,$,(function($){j.fileIterator.iterateFiles($,(function($){var q=j.fileHandler.getModule($);j.processModule(E,R,N,q)}))}))};PluginChunkReadHandler.prototype.getPackageJson=function(E){var R=""+E+this.fileSystem.pathSeparator+"package.json";return JSON.parse(this.fileSystem.readFileAsUtf8(R))};PluginChunkReadHandler.prototype.processModule=function(E,R,N,$){var j;if($&&!N.alreadySeenForChunk(R.name,$.name)){var q=N.getModule($.name);if(q!==null){N.registerModule(R.name,q)}else{var G=(j=$.packageJson)!==null&&j!==void 0?j:this.getPackageJson($.directory);var ie=this.licenseTypeIdentifier.findLicenseIdentifier(E,$.name,G);if(this.licensePolicy.isLicenseUnacceptableFor(ie)){this.logger.error(E,"unacceptable license found for "+$.name+": "+ie);this.licensePolicy.handleUnacceptableLicense($.name,ie)}if(this.licensePolicy.isLicenseWrittenFor(ie)){var ae=this.licenseTextReader.readLicense(E,$,ie);N.registerModule(R.name,{licenseText:ae,packageJson:G,name:$.name,directory:$.directory,licenseId:ie})}}N.markSeenForChunk(R.name,$.name)}};return PluginChunkReadHandler}();R.PluginChunkReadHandler=q},35183:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.PluginFileHandler=void 0;var $=function(){function PluginFileHandler(E,R,N,$){this.fileSystem=E;this.buildRoot=R;this.modulesDirectories=N;this.excludedPackageTest=$;this.cache={}}PluginFileHandler.prototype.getModule=function(E){return this.cache[E]===undefined?this.cache[E]=this.getModuleInternal(E):this.cache[E]};PluginFileHandler.prototype.getModuleInternal=function(E){var R,$;if(E===null||E===undefined){return null}if(this.modulesDirectories!==null){var j=false;try{for(var q=N(this.modulesDirectories),G=q.next();!G.done;G=q.next()){var ie=G.value;if(this.fileSystem.resolvePath(E).startsWith(this.fileSystem.resolvePath(ie))){j=true}}}catch(E){R={error:E}}finally{try{if(G&&!G.done&&($=q.return))$.call(q)}finally{if(R)throw R.error}}if(!j){return null}}var ae=this.findModuleDir(E);if(ae!==null&&this.excludedPackageTest(ae.name)){return null}return ae};PluginFileHandler.prototype.findModuleDir=function(E){var R=this.fileSystem.pathSeparator;var N=E.substring(0,E.lastIndexOf(R));var $=null;while(!this.dirContainsValidPackageJson(N)){$=N;N=this.fileSystem.resolvePath(""+N+R+".."+R);if($===N){return null}}if(this.buildRoot===N){return null}var j=this.parsePackageJson(N);return{packageJson:j,name:j.name,directory:N}};PluginFileHandler.prototype.parsePackageJson=function(E){var R=this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON));var N=JSON.parse(R);return N};PluginFileHandler.prototype.dirContainsValidPackageJson=function(E){if(!this.fileSystem.pathExists(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON))){return false}var R=this.parsePackageJson(E);return!!R.name};PluginFileHandler.PACKAGE_JSON="package.json";return PluginFileHandler}();R.PluginFileHandler=$},2058:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicensePolicy=void 0;var N=function(){function PluginLicensePolicy(E,R,N,$){this.licenseTester=E;this.unacceptableLicenseTester=R;this.unacceptableLicenseHandler=N;this.missingLicenseTextHandler=$}PluginLicensePolicy.prototype.isLicenseWrittenFor=function(E){return this.licenseTester.test(E)};PluginLicensePolicy.prototype.isLicenseUnacceptableFor=function(E){return this.unacceptableLicenseTester.test(E)};PluginLicensePolicy.prototype.handleUnacceptableLicense=function(E,R){this.unacceptableLicenseHandler(E,R)};PluginLicensePolicy.prototype.handleMissingLicenseText=function(E,R){this.missingLicenseTextHandler(E,R)};return PluginLicensePolicy}();R.PluginLicensePolicy=N},29728:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicenseTestRunner=void 0;var N=function(){function PluginLicenseTestRunner(E){this.licenseTest=E}PluginLicenseTestRunner.prototype.test=function(E){return this.licenseTest(E)};return PluginLicenseTestRunner}();R.PluginLicenseTestRunner=N},55933:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.PluginLicenseTypeIdentifier=void 0;var $=function(){function PluginLicenseTypeIdentifier(E,R,N,$,j){this.logger=E;this.licenseTypeOverrides=R;this.preferredLicenseTypes=N;this.handleLicenseAmbiguity=$;this.handleMissingLicenseType=j}PluginLicenseTypeIdentifier.prototype.findLicenseIdentifier=function(E,R,N){if(this.licenseTypeOverrides&&this.licenseTypeOverrides[R]){return this.licenseTypeOverrides[R]}var $=N.license;if($){return typeof $==="string"?$:$.type}if(Array.isArray(N.licenses)&&N.licenses.length>0){if(N.licenses.length===1){return N.licenses[0].type}var j=N.licenses.map((function(E){return E.type}));var q=this.findPreferredLicense(j,this.preferredLicenseTypes);if(q!==null){return q}var G=this.handleLicenseAmbiguity(R,N.licenses);this.logger.warn(E,R+" specifies multiple licenses: "+j+". Automatically selected "+G+". Use the preferredLicenseTypes or the licenseTypeOverrides option to resolve this warning.");return G}this.logger.warn(E,"could not find any license type for "+R+" in its package.json");return this.handleMissingLicenseType(R)};PluginLicenseTypeIdentifier.prototype.findPreferredLicense=function(E,R){var $,j,q,G;try{for(var ie=N(R),ae=ie.next();!ae.done;ae=ie.next()){var le=ae.value;try{for(var _e=(q=void 0,N(E)),Ee=_e.next();!Ee.done;Ee=_e.next()){var we=Ee.value;if(le===we){return le}}}catch(E){q={error:E}}finally{try{if(Ee&&!Ee.done&&(G=_e.return))G.call(_e)}finally{if(q)throw q.error}}}}catch(E){$={error:E}}finally{try{if(ae&&!ae.done&&(j=ie.return))j.call(ie)}finally{if($)throw $.error}}return null};return PluginLicenseTypeIdentifier}();R.PluginLicenseTypeIdentifier=$},13957:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicensesRenderer=void 0;var N=function(){function PluginLicensesRenderer(E,R){this.renderLicenses=E;this.renderBanner=R}return PluginLicensesRenderer}();R.PluginLicensesRenderer=N},98707:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginModuleCache=void 0;var N=function(){function PluginModuleCache(){this.totalCache={};this.chunkCache={};this.chunkSeenCache={}}PluginModuleCache.prototype.registerModule=function(E,R){this.totalCache[R.name]=R;if(!this.chunkCache[E]){this.chunkCache[E]={}}this.chunkCache[E][R.name]=R};PluginModuleCache.prototype.getModule=function(E){return this.totalCache[E]||null};PluginModuleCache.prototype.markSeenForChunk=function(E,R){if(!this.chunkSeenCache[E]){this.chunkSeenCache[E]={}}this.chunkSeenCache[E][R]=true};PluginModuleCache.prototype.alreadySeenForChunk=function(E,R){return!!(this.chunkSeenCache[E]&&this.chunkSeenCache[E][R])};PluginModuleCache.prototype.getAllModulesForChunk=function(E){var R=[];var N=this.chunkCache[E];if(N){Object.keys(N).forEach((function(E){R.push(N[E])}))}return R};PluginModuleCache.prototype.getAllModules=function(){var E=this;var R=[];Object.keys(this.totalCache).forEach((function(N){R.push(E.totalCache[N])}));return R};return PluginModuleCache}();R.PluginModuleCache=N},99801:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginOptionsReader=void 0;var N=function(){function PluginOptionsReader(E){this.context=E}PluginOptionsReader.prototype.readOptions=function(E){var R=E.licenseInclusionTest||function(){return true};var N=E.unacceptableLicenseTest||function(){return false};var $=E.perChunkOutput===undefined||E.perChunkOutput;var j=E.licenseTemplateDir;var q=E.licenseTextOverrides||{};var G=E.licenseTypeOverrides||{};var ie=E.handleUnacceptableLicense||function(){};var ae=E.handleMissingLicenseText||function(){return null};var le=E.renderLicenses||function(E){return E.sort((function(E,R){return E.name{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.WebpackAssetManager=void 0;var $=N(2991);var j=function(){function WebpackAssetManager(E,R){this.outputFilename=E;this.licensesRenderer=R}WebpackAssetManager.prototype.writeChunkLicenses=function(E,R,N){var j=this.licensesRenderer.renderLicenses(E);if(j&&j.trim()){var q=R.getPath(this.outputFilename,{chunk:N});R.assets[q]=new $.RawSource(j)}};WebpackAssetManager.prototype.writeChunkBanners=function(E,R,N){var j=R.getPath(this.outputFilename,{chunk:N});var q=this.licensesRenderer.renderBanner(j,E);if(q&&q.trim()){var G=N.files instanceof Set?Array.from(N.files):N.files;G.filter((function(E){return/\.js$/.test(E)})).forEach((function(E){R.assets[E]=new $.ConcatSource(q,R.assets[E])}))}};WebpackAssetManager.prototype.writeAllLicenses=function(E,R){var N=this.licensesRenderer.renderLicenses(E);if(N){var j=R.getPath(this.outputFilename,R);R.assets[j]=new $.RawSource(N)}};return WebpackAssetManager}();R.WebpackAssetManager=j},39900:function(E,R,N){"use strict";var $=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackChunkModuleIterator=void 0;var j=N(7425);var q=function(){function WebpackChunkModuleIterator(){this.statsIterator=new j.WebpackStatsIterator}WebpackChunkModuleIterator.prototype.iterateModules=function(E,R,N,j){var q,G,ie,ae,le,_e,Ee,we;if(typeof E.chunkGraph!=="undefined"&&typeof N!=="undefined"){try{for(var Ie=$(E.chunkGraph.getChunkModulesIterable(R)),Me=Ie.next();!Me.done;Me=Ie.next()){var Te=Me.value;j(Te)}}catch(E){q={error:E}}finally{try{if(Me&&!Me.done&&(G=Ie.return))G.call(Ie)}finally{if(q)throw q.error}}var Ne=this.statsIterator.collectModules(N,R.name);try{for(var Be=$(Ne),Le=Be.next();!Le.done;Le=Be.next()){var je=Le.value;j(je)}}catch(E){ie={error:E}}finally{try{if(Le&&!Le.done&&(ae=Be.return))ae.call(Be)}finally{if(ie)throw ie.error}}}else if(typeof R.modulesIterable!=="undefined"){try{for(var ze=$(R.modulesIterable),Ue=ze.next();!Ue.done;Ue=ze.next()){var qe=Ue.value;j(qe)}}catch(E){le={error:E}}finally{try{if(Ue&&!Ue.done&&(_e=ze.return))_e.call(ze)}finally{if(le)throw le.error}}}else if(typeof R.forEachModule==="function"){R.forEachModule(j)}else if(Array.isArray(R.modules)){R.modules.forEach(j)}if(typeof E.chunkGraph!=="undefined"){try{for(var Ge=$(E.chunkGraph.getChunkEntryModulesIterable(R)),He=Ge.next();!He.done;He=Ge.next()){var We=He.value;j(We)}}catch(E){Ee={error:E}}finally{try{if(He&&!He.done&&(we=Ge.return))we.call(Ge)}finally{if(Ee)throw Ee.error}}}else if(R.entryModule){j(R.entryModule)}};return WebpackChunkModuleIterator}();R.WebpackChunkModuleIterator=q},85777:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackCompilerHandler=void 0;var $=function(){function WebpackCompilerHandler(E,R,N,$,j,q,G,ie,ae){this.chunkIncludeTester=E;this.chunkHandler=R;this.assetManager=N;this.moduleCache=$;this.addBanner=j;this.perChunkOutput=q;this.additionalChunkModules=G;this.additionalModules=ie;this.skipChildCompilers=ae}WebpackCompilerHandler.prototype.handleCompiler=function(E){var R=this;if(typeof E.hooks!=="undefined"){var N=this.skipChildCompilers?"thisCompilation":"compilation";E.hooks[N].tap("LicenseWebpackPlugin",(function(E){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT},(function(){var N=E.getStats().toJson({all:false,chunks:true,chunkModules:true,nestedModules:true,dependentModules:true,cachedModules:true});R.iterateChunks(E,E.chunks,N)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(N){R.iterateChunks(E,N)}))}if(R.addBanner){R.iterateChunksForBanner(E)}}));if(!this.perChunkOutput){E.hooks[N].tap("LicenseWebpackPlugin",(function(E){if(!E.compiler.isChild()){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT+1},(function(){R.assetManager.writeAllLicenses(R.moduleCache.getAllModules(),E)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(){R.assetManager.writeAllLicenses(R.moduleCache.getAllModules(),E)}))}}}))}}else if(typeof E.plugin!=="undefined"){E.plugin("compilation",(function(E){if(typeof E.plugin!=="undefined"){E.plugin("optimize-chunk-assets",(function(N,$){R.iterateChunks(E,N);$()}))}}))}};WebpackCompilerHandler.prototype.iterateChunksForBanner=function(E){var R=this;if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS},(function(){var $,j;try{for(var q=N(E.chunks),G=q.next();!G.done;G=q.next()){var ie=G.value;if(R.chunkIncludeTester.isIncluded(ie.name)){R.assetManager.writeChunkBanners(R.moduleCache.getAllModulesForChunk(ie.name),E,ie)}}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}}))}};WebpackCompilerHandler.prototype.iterateChunks=function(E,R,$){var j,q;var G=this;var _loop_1=function(R){if(ie.chunkIncludeTester.isIncluded(R.name)){ie.chunkHandler.processChunk(E,R,ie.moduleCache,$);if(ie.additionalChunkModules[R.name]){ie.additionalChunkModules[R.name].forEach((function(N){return G.chunkHandler.processModule(E,R,G.moduleCache,N)}))}if(ie.additionalModules.length>0){ie.additionalModules.forEach((function(N){return G.chunkHandler.processModule(E,R,G.moduleCache,N)}))}if(ie.perChunkOutput){ie.assetManager.writeChunkLicenses(ie.moduleCache.getAllModulesForChunk(R.name),E,R)}if(ie.addBanner&&typeof E.hooks.processAssets==="undefined"){ie.assetManager.writeChunkBanners(ie.moduleCache.getAllModulesForChunk(R.name),E,R)}}};var ie=this;try{for(var ae=N(R),le=ae.next();!le.done;le=ae.next()){var _e=le.value;_loop_1(_e)}}catch(E){j={error:E}}finally{try{if(le&&!le.done&&(q=ae.return))q.call(ae)}finally{if(j)throw j.error}}};WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS=-100;WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT=5e3;return WebpackCompilerHandler}();R.WebpackCompilerHandler=$},41728:function(E,R,N){"use strict";var $=this&&this.__createBinding||(Object.create?function(E,R,N,$){if($===undefined)$=N;Object.defineProperty(E,$,{enumerable:true,get:function(){return R[N]}})}:function(E,R,N,$){if($===undefined)$=N;E[$]=R[N]});var j=this&&this.__setModuleDefault||(Object.create?function(E,R){Object.defineProperty(E,"default",{enumerable:true,value:R})}:function(E,R){E["default"]=R});var q=this&&this.__importStar||function(E){if(E&&E.__esModule)return E;var R={};if(E!=null)for(var N in E)if(N!=="default"&&Object.hasOwnProperty.call(E,N))$(R,E,N);j(R,E);return R};var G=this&&this.__read||function(E,R){var N=typeof Symbol==="function"&&E[Symbol.iterator];if(!N)return E;var $=N.call(E),j,q=[],G;try{while((R===void 0||R-- >0)&&!(j=$.next()).done)q.push(j.value)}catch(E){G={error:E}}finally{try{if(j&&!j.done&&(N=$["return"]))N.call($)}finally{if(G)throw G.error}}return q};var ie=this&&this.__spread||function(){for(var E=[],R=0;R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.WebpackModuleFileIterator=void 0;var N=function(){function WebpackModuleFileIterator(E){this.requireResolve=E}WebpackModuleFileIterator.prototype.iterateFiles=function(E,R){var N=this.internalCallback.bind(this,R);N(E.resource||E.rootModule&&E.rootModule.resource);if(Array.isArray(E.fileDependencies)){var $=E.fileDependencies;$.forEach(N)}if(Array.isArray(E.dependencies)){E.dependencies.forEach((function(E){return N(E.originModule&&E.originModule.resource)}))}};WebpackModuleFileIterator.prototype.internalCallback=function(E,R){var N=this.getActualFilename(R);if(N){E(N)}};WebpackModuleFileIterator.prototype.getActualFilename=function(E){if(!E||E.indexOf("external ")===0||E.indexOf("container entry ")===0||E.indexOf("ignored|")===0||E.indexOf("remote ")===0||E.indexOf("data:")===0){return null}if(E.indexOf("webpack/runtime")===0){return this.requireResolve("webpack")}if(E.indexOf("!")>-1){var R=E.split("!");return R[R.length-1]}if(E.indexOf("provide module")===0){return E.split("=")[1].trim()}if(E.indexOf("consume-shared-module")===0){var R=E.split("|");var N=R[R.length-3];if(N==="undefined"){return null}return N}return E};return WebpackModuleFileIterator}();R.WebpackModuleFileIterator=N},7425:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackStatsIterator=void 0;var $=function(){function WebpackStatsIterator(){}WebpackStatsIterator.prototype.collectModules=function(E,R){var $,j;var q=[];try{for(var G=N(E.chunks),ie=G.next();!ie.done;ie=G.next()){var ae=ie.value;if(ae.names[0]===R){this.traverseModules(ae.modules,q)}}}catch(E){$={error:E}}finally{try{if(ie&&!ie.done&&(j=G.return))j.call(G)}finally{if($)throw $.error}}return q};WebpackStatsIterator.prototype.traverseModules=function(E,R){var $,j;if(!E){return}try{for(var q=N(E),G=q.next();!G.done;G=q.next()){var ie=G.value;R.push({resource:ie.identifier});this.traverseModules(ie.modules,R)}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}};return WebpackStatsIterator}();R.WebpackStatsIterator=$},58907:(E,R,N)=>{"use strict";var $;$={value:true};R.s=void 0;var j=N(85768);Object.defineProperty(R,"s",{enumerable:true,get:function(){return j.LicenseWebpackPlugin}})},11638:E=>{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,R,N)=>{var $=N(57147);var j=$.readFile.bind($);var q=N(45658);function utf8BufferToString(E){var R=E.toString("utf-8");if(R.charCodeAt(0)===65279){return R.substr(1)}else{return R}}const G=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var R=G.exec(E);return{path:R[1].replace(/\0(.)/g,"$1"),query:R[2]?R[2].replace(/\0(.)/g,"$1"):"",fragment:R[3]||""}}function dirname(E){if(E==="/")return"/";var R=E.lastIndexOf("/");var N=E.lastIndexOf("\\");var $=E.indexOf("/");var j=E.indexOf("\\");var q=R>N?R:N;var G=R>N?$:j;if(q<0)return E;if(q===G)return E.substr(0,q+1);return E.substr(0,q)}function createLoaderObject(E){var R={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(R,"request",{enumerable:true,get:function(){return R.path.replace(/#/g,"\0#")+R.query.replace(/#/g,"\0#")+R.fragment},set:function(E){if(typeof E==="string"){var N=parsePathQueryFragment(E);R.path=N.path;R.query=N.query;R.fragment=N.fragment;R.options=undefined;R.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");R.path=E.loader;R.fragment=E.fragment||"";R.type=E.type;R.options=E.options;R.ident=E.ident;if(R.options===null)R.query="";else if(R.options===undefined)R.query="";else if(typeof R.options==="string")R.query="?"+R.options;else if(R.ident)R.query="??"+R.ident;else if(typeof R.options==="object"&&R.options.ident)R.query="??"+R.options.ident;else R.query="?"+JSON.stringify(R.options)}}});R.request=E;if(Object.preventExtensions){Object.preventExtensions(R)}return R}function runSyncOrAsync(E,R,N,$){var j=true;var q=false;var G=false;var ie=false;R.async=function async(){if(q){if(ie)return;throw new Error("async(): The callback was already called.")}j=false;return ae};var ae=R.callback=function(){if(q){if(ie)return;throw new Error("callback(): The callback was already called.")}q=true;j=false;try{$.apply(null,arguments)}catch(E){G=true;throw E}};try{var le=function LOADER_EXECUTION(){return E.apply(R,N)}();if(j){q=true;if(le===undefined)return $();if(le&&typeof le==="object"&&typeof le.then==="function"){return le.then((function(E){$(null,E)}),$)}return $(null,le)}}catch(E){if(G)throw E;if(q){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}q=true;ie=true;$(E)}}function convertArgs(E,R){if(!R&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(R&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,R,N){if(R.loaderIndex>=R.loaders.length)return processResource(E,R,N);var $=R.loaders[R.loaderIndex];if($.pitchExecuted){R.loaderIndex++;return iteratePitchingLoaders(E,R,N)}q($,(function(j){if(j){R.cacheable(false);return N(j)}var q=$.pitch;$.pitchExecuted=true;if(!q)return iteratePitchingLoaders(E,R,N);runSyncOrAsync(q,R,[R.remainingRequest,R.previousRequest,$.data={}],(function($){if($)return N($);var j=Array.prototype.slice.call(arguments,1);var q=j.some((function(E){return E!==undefined}));if(q){R.loaderIndex--;iterateNormalLoaders(E,R,j,N)}else{iteratePitchingLoaders(E,R,N)}}))}))}function processResource(E,R,N){R.loaderIndex=R.loaders.length-1;var $=R.resourcePath;if($){E.processResource(R,$,(function($,j){if($)return N($);E.resourceBuffer=j;iterateNormalLoaders(E,R,[j],N)}))}else{iterateNormalLoaders(E,R,[null],N)}}function iterateNormalLoaders(E,R,N,$){if(R.loaderIndex<0)return $(null,N);var j=R.loaders[R.loaderIndex];if(j.normalExecuted){R.loaderIndex--;return iterateNormalLoaders(E,R,N,$)}var q=j.normal;j.normalExecuted=true;if(!q){return iterateNormalLoaders(E,R,N,$)}convertArgs(N,j.raw);runSyncOrAsync(q,R,N,(function(N){if(N)return $(N);var j=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,R,j,$)}))}R.getContext=function getContext(E){var R=parsePathQueryFragment(E).path;return dirname(R)};R.runLoaders=function runLoaders(E,R){var N=E.resource||"";var $=E.loaders||[];var q=E.context||{};var G=E.processResource||((E,R,N,$)=>{R.addDependency(N);E(N,$)}).bind(null,E.readResource||j);var ie=N&&parsePathQueryFragment(N);var ae=ie?ie.path:undefined;var le=ie?ie.query:undefined;var _e=ie?ie.fragment:undefined;var Ee=ae?dirname(ae):null;var we=true;var Ie=[];var Me=[];var Te=[];$=$.map(createLoaderObject);q.context=Ee;q.loaderIndex=0;q.loaders=$;q.resourcePath=ae;q.resourceQuery=le;q.resourceFragment=_e;q.async=null;q.callback=null;q.cacheable=function cacheable(E){if(E===false){we=false}};q.dependency=q.addDependency=function addDependency(E){Ie.push(E)};q.addContextDependency=function addContextDependency(E){Me.push(E)};q.addMissingDependency=function addMissingDependency(E){Te.push(E)};q.getDependencies=function getDependencies(){return Ie.slice()};q.getContextDependencies=function getContextDependencies(){return Me.slice()};q.getMissingDependencies=function getMissingDependencies(){return Te.slice()};q.clearDependencies=function clearDependencies(){Ie.length=0;Me.length=0;Te.length=0;we=true};Object.defineProperty(q,"resource",{enumerable:true,get:function(){if(q.resourcePath===undefined)return undefined;return q.resourcePath.replace(/#/g,"\0#")+q.resourceQuery.replace(/#/g,"\0#")+q.resourceFragment},set:function(E){var R=E&&parsePathQueryFragment(E);q.resourcePath=R?R.path:undefined;q.resourceQuery=R?R.query:undefined;q.resourceFragment=R?R.fragment:undefined}});Object.defineProperty(q,"request",{enumerable:true,get:function(){return q.loaders.map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"remainingRequest",{enumerable:true,get:function(){if(q.loaderIndex>=q.loaders.length-1&&!q.resource)return"";return q.loaders.slice(q.loaderIndex+1).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"currentRequest",{enumerable:true,get:function(){return q.loaders.slice(q.loaderIndex).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"previousRequest",{enumerable:true,get:function(){return q.loaders.slice(0,q.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(q,"query",{enumerable:true,get:function(){var E=q.loaders[q.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(q,"data",{enumerable:true,get:function(){return q.loaders[q.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(q)}var Ne={resourceBuffer:null,processResource:G};iteratePitchingLoaders(Ne,q,(function(E,N){if(E){return R(E,{cacheable:we,fileDependencies:Ie,contextDependencies:Me,missingDependencies:Te})}R(null,{result:N,resourceBuffer:Ne.resourceBuffer,cacheable:we,fileDependencies:Ie,contextDependencies:Me,missingDependencies:Te})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,R,N){if(typeof R!=="function"&&typeof R!=="object"){return N(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof R==="function"?R:R.default;E.pitch=R.pitch;E.raw=R.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return N(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}N()}},56342:(E,R,N)=>{"use strict";const $=N(48333);const j=N(89987);const q=N(62680);const G=N(80713);const ie=N(32453);const ae=ie.Readable;const le=ie.Writable;function isDir(E){if(typeof E!=="object")return false;return E[""]===true}function isFile(E){if(typeof E!=="object")return false;return!E[""]}function pathToArray(E){E=$(E);const R=/^\//.test(E);if(!R){if(!/^[A-Za-z]:/.test(E)){throw new q(G.code.EINVAL,E)}E=E.replace(/[\\\/]+/g,"\\");E=E.split(/[\\\/]/);E[0]=E[0].toUpperCase()}else{E=E.replace(/\/+/g,"/");E=E.substr(1).split("/")}if(!E[E.length-1])E.pop();return E}function trueFn(){return true}function falseFn(){return false}class MemoryFileSystem{constructor(E){this.data=E||{};this.join=j;this.pathToArray=pathToArray;this.normalize=$}meta(E){const R=pathToArray(E);let N=this.data;let $=0;for(;${N.push(R);$+=R.length;this.writeFile(E,Buffer.concat(N,$),q)};return R}exists(E,R){return R(this.existsSync(E))}writeFile(E,R,N,$){if(!$){$=N;N=undefined}try{this.writeFileSync(E,R,N)}catch(E){return $(E)}return $()}}["stat","readdir","mkdirp","rmdir","unlink","readlink"].forEach((function(E){MemoryFileSystem.prototype[E]=function(R,N){let $;try{$=this[E+"Sync"](R)}catch(E){setImmediate((function(){N(E)}));return}setImmediate((function(){N(null,$)}))}}));["mkdir","readFile"].forEach((function(E){MemoryFileSystem.prototype[E]=function(R,N,$){if(!$){$=N;N=undefined}let j;try{j=this[E+"Sync"](R,N)}catch(E){setImmediate((function(){$(E)}));return}setImmediate((function(){$(null,j)}))}}));E.exports=MemoryFileSystem},62680:E=>{"use strict";class MemoryFileSystemError extends Error{constructor(E,R,N){super(E,R);this.name=this.constructor.name;var $=[`${E.code}:`,`${E.description},`];if(N){$.push(N)}$.push(`'${R}'`);this.message=$.join(" ");this.code=E.code;this.errno=E.errno;this.path=R;this.operation=N;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}E.exports=MemoryFileSystemError},89987:(E,R,N)=>{"use strict";const $=N(48333);const j=/^[A-Z]:([\\\/]|$)/i;const q=/^\//i;E.exports=function join(E,R){if(!R)return $(E);if(j.test(R))return $(R.replace(/\//g,"\\"));if(q.test(R))return $(R);if(E=="/")return $(E+R);if(j.test(E))return $(E.replace(/\//g,"\\")+"\\"+R.replace(/\//g,"\\"));if(q.test(E))return $(E+"/"+R);return $(E+"/"+R)}},48333:E=>{"use strict";E.exports=function normalize(E){var R=E.split(/(\\+|\/+)/);if(R.length===1)return E;var N=[];var $=0;for(var j=0,q=false;j{"use strict";const{PassThrough:$}=N(12781);E.exports=function(){var E=[];var R=new $({objectMode:true});R.setMaxListeners(0);R.add=add;R.isEmpty=isEmpty;R.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return R;function add(N){if(Array.isArray(N)){N.forEach(add);return this}E.push(N);N.once("end",remove.bind(null,N));N.once("error",R.emit.bind(R,"error"));N.pipe(R,{end:false});return this}function isEmpty(){return E.length==0}function remove(N){E=E.filter((function(E){return E!==N}));if(!E.length&&R.readable){R.end()}}}},22198:(E,R,N)=>{ +(()=>{var __webpack_modules__={28440:E=>{function webpackEmptyContext(E){var R=new Error("Cannot find module '"+E+"'");R.code="MODULE_NOT_FOUND";throw R}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},70797:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(R,"numberLiteralFromRaw",{enumerable:true,get:function get(){return q.numberLiteralFromRaw}});Object.defineProperty(R,"withLoc",{enumerable:true,get:function get(){return q.withLoc}});Object.defineProperty(R,"withRaw",{enumerable:true,get:function get(){return q.withRaw}});Object.defineProperty(R,"funcParam",{enumerable:true,get:function get(){return q.funcParam}});Object.defineProperty(R,"indexLiteral",{enumerable:true,get:function get(){return q.indexLiteral}});Object.defineProperty(R,"memIndexLiteral",{enumerable:true,get:function get(){return q.memIndexLiteral}});Object.defineProperty(R,"instruction",{enumerable:true,get:function get(){return q.instruction}});Object.defineProperty(R,"objectInstruction",{enumerable:true,get:function get(){return q.objectInstruction}});Object.defineProperty(R,"traverse",{enumerable:true,get:function get(){return G.traverse}});Object.defineProperty(R,"signatures",{enumerable:true,get:function get(){return ie.signatures}});Object.defineProperty(R,"cloneNode",{enumerable:true,get:function get(){return le.cloneNode}});Object.defineProperty(R,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return _e.moduleContextFromModuleAST}});var j=N(52696);Object.keys(j).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,E))return;Object.defineProperty(R,E,{enumerable:true,get:function get(){return j[E]}})}));var q=N(11891);var G=N(22056);var ie=N(75769);var ae=N(91764);Object.keys(ae).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,E))return;Object.defineProperty(R,E,{enumerable:true,get:function get(){return ae[E]}})}));var le=N(70797);var _e=N(5499)},11891:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.numberLiteralFromRaw=numberLiteralFromRaw;R.instruction=instruction;R.objectInstruction=objectInstruction;R.withLoc=withLoc;R.withRaw=withRaw;R.funcParam=funcParam;R.indexLiteral=indexLiteral;R.memIndexLiteral=memIndexLiteral;var $=N(80853);var j=N(52696);function numberLiteralFromRaw(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var N=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,j.numberLiteral)(E,String(N))}else{switch(R){case"i32":{return(0,j.numberLiteral)((0,$.parse32I)(E),String(N))}case"u32":{return(0,j.numberLiteral)((0,$.parseU32)(E),String(N))}case"i64":{return(0,j.longNumberLiteral)((0,$.parse64I)(E),String(N))}case"f32":{return(0,j.floatLiteral)((0,$.parse32F)(E),(0,$.isNanLiteral)(E),(0,$.isInfLiteral)(E),String(N))}default:{return(0,j.floatLiteral)((0,$.parse64F)(E),(0,$.isNanLiteral)(E),(0,$.isInfLiteral)(E),String(N))}}}}function instruction(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,j.instr)(E,undefined,R,N)}function objectInstruction(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,j.instr)(E,R,N,$)}function withLoc(E,R,N){var $={start:N,end:R};E.loc=$;return E}function withRaw(E,R){E.raw=R;return E}function funcParam(E,R){return{id:R,valtype:E}}function indexLiteral(E){var R=numberLiteralFromRaw(E,"u32");return R}function memIndexLiteral(E){var R=numberLiteralFromRaw(E,"u32");return R}},46166:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var R=1;R2&&arguments[2]!==undefined?arguments[2]:0;if(!$){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ie=j.node[q];var ae=ie.findIndex((function(E){return E===N}));ie.splice(ae+G,0,R)}function remove(E){var R=E.node,N=E.parentKey,$=E.parentPath;if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var j=$.node;var q=j[N];if(Array.isArray(q)){j[N]=q.filter((function(E){return E!==R}))}else{delete j[N]}R._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,R){var N=E.parentPath.node;var $=N[E.parentKey];if(Array.isArray($)){var j=$.findIndex((function(R){return R===E.node}));$.splice(j,1,R)}else{N[E.parentKey]=R}E.node._deleted=true;E.node=R}function bindNodeOperations(E,R){var N=Object.keys(E);var $={};N.forEach((function(N){$[N]=E[N].bind(null,R)}));return $}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var R=_extends({},E);Object.assign(R,createPathOperations(R));return R}},52696:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.module=_module;R.moduleMetadata=moduleMetadata;R.moduleNameMetadata=moduleNameMetadata;R.functionNameMetadata=functionNameMetadata;R.localNameMetadata=localNameMetadata;R.binaryModule=binaryModule;R.quoteModule=quoteModule;R.sectionMetadata=sectionMetadata;R.producersSectionMetadata=producersSectionMetadata;R.producerMetadata=producerMetadata;R.producerMetadataVersionedName=producerMetadataVersionedName;R.loopInstruction=loopInstruction;R.instr=instr;R.ifInstruction=ifInstruction;R.stringLiteral=stringLiteral;R.numberLiteral=numberLiteral;R.longNumberLiteral=longNumberLiteral;R.floatLiteral=floatLiteral;R.elem=elem;R.indexInFuncSection=indexInFuncSection;R.valtypeLiteral=valtypeLiteral;R.typeInstruction=typeInstruction;R.start=start;R.globalType=globalType;R.leadingComment=leadingComment;R.blockComment=blockComment;R.data=data;R.global=global;R.table=table;R.memory=memory;R.funcImportDescr=funcImportDescr;R.moduleImport=moduleImport;R.moduleExportDescr=moduleExportDescr;R.moduleExport=moduleExport;R.limit=limit;R.signature=signature;R.program=program;R.identifier=identifier;R.blockInstruction=blockInstruction;R.callInstruction=callInstruction;R.callIndirectInstruction=callIndirectInstruction;R.byteArray=byteArray;R.func=func;R.internalBrUnless=internalBrUnless;R.internalGoto=internalGoto;R.internalCallExtern=internalCallExtern;R.internalEndAndReturn=internalEndAndReturn;R.assertInternalCallExtern=R.assertInternalGoto=R.assertInternalBrUnless=R.assertFunc=R.assertByteArray=R.assertCallIndirectInstruction=R.assertCallInstruction=R.assertBlockInstruction=R.assertIdentifier=R.assertProgram=R.assertSignature=R.assertLimit=R.assertModuleExport=R.assertModuleExportDescr=R.assertModuleImport=R.assertFuncImportDescr=R.assertMemory=R.assertTable=R.assertGlobal=R.assertData=R.assertBlockComment=R.assertLeadingComment=R.assertGlobalType=R.assertStart=R.assertTypeInstruction=R.assertValtypeLiteral=R.assertIndexInFuncSection=R.assertElem=R.assertFloatLiteral=R.assertLongNumberLiteral=R.assertNumberLiteral=R.assertStringLiteral=R.assertIfInstruction=R.assertInstr=R.assertLoopInstruction=R.assertProducerMetadataVersionedName=R.assertProducerMetadata=R.assertProducersSectionMetadata=R.assertSectionMetadata=R.assertQuoteModule=R.assertBinaryModule=R.assertLocalNameMetadata=R.assertFunctionNameMetadata=R.assertModuleNameMetadata=R.assertModuleMetadata=R.assertModule=R.isIntrinsic=R.isImportDescr=R.isNumericLiteral=R.isExpression=R.isInstruction=R.isBlock=R.isNode=R.isInternalEndAndReturn=R.isInternalCallExtern=R.isInternalGoto=R.isInternalBrUnless=R.isFunc=R.isByteArray=R.isCallIndirectInstruction=R.isCallInstruction=R.isBlockInstruction=R.isIdentifier=R.isProgram=R.isSignature=R.isLimit=R.isModuleExport=R.isModuleExportDescr=R.isModuleImport=R.isFuncImportDescr=R.isMemory=R.isTable=R.isGlobal=R.isData=R.isBlockComment=R.isLeadingComment=R.isGlobalType=R.isStart=R.isTypeInstruction=R.isValtypeLiteral=R.isIndexInFuncSection=R.isElem=R.isFloatLiteral=R.isLongNumberLiteral=R.isNumberLiteral=R.isStringLiteral=R.isIfInstruction=R.isInstr=R.isLoopInstruction=R.isProducerMetadataVersionedName=R.isProducerMetadata=R.isProducersSectionMetadata=R.isSectionMetadata=R.isQuoteModule=R.isBinaryModule=R.isLocalNameMetadata=R.isFunctionNameMetadata=R.isModuleNameMetadata=R.isModuleMetadata=R.isModule=void 0;R.nodeAndUnionTypes=R.unionTypesMap=R.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(R){return R.type===E}}function assertTypeOf(E){return function(R){return function(){if(!(R.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,R,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Module",id:E,fields:R};if(typeof N!=="undefined"){$.metadata=N}return $}function moduleMetadata(E,R,N,$){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"ModuleMetadata",sections:E};if(typeof R!=="undefined"&&R.length>0){j.functionNames=R}if(typeof N!=="undefined"&&N.length>0){j.localNames=N}if(typeof $!=="undefined"&&$.length>0){j.producers=$}return j}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleNameMetadata",value:E};return R}function functionNameMetadata(E,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(R)||0))}var N={type:"FunctionNameMetadata",value:E,index:R};return N}function localNameMetadata(E,R,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(R)||0))}if(!(typeof N==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(N)||0))}var $={type:"LocalNameMetadata",value:E,localIndex:R,functionIndex:N};return $}function binaryModule(E,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"BinaryModule",id:E,blob:R};return N}function quoteModule(E,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"QuoteModule",id:E,string:R};return N}function sectionMetadata(E,R,N,$){if(!(typeof R==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(R)||0))}var j={type:"SectionMetadata",section:E,startOffset:R,size:N,vectorOfSize:$};return j}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ProducersSectionMetadata",producers:E};return R}function producerMetadata(E,R,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"ProducerMetadata",language:E,processedBy:R,sdk:N};return $}function producerMetadataVersionedName(E,R){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(R)||0))}var N={type:"ProducerMetadataVersionedName",name:E,version:R};return N}function loopInstruction(E,R,N){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"LoopInstruction",id:"loop",label:E,resulttype:R,instr:N};return $}function instr(E,R,N,$){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Instr",id:E,args:N};if(typeof R!=="undefined"){j.object=R}if(typeof $!=="undefined"&&Object.keys($).length!==0){j.namedArgs=$}return j}function ifInstruction(E,R,N,$,j){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var q={type:"IfInstruction",id:"if",testLabel:E,test:R,result:N,consequent:$,alternate:j};return q}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"StringLiteral",value:E};return R}function numberLiteral(E,R){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var N={type:"NumberLiteral",value:E,raw:R};return N}function longNumberLiteral(E,R){if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var N={type:"LongNumberLiteral",value:E,raw:R};return N}function floatLiteral(E,R,N,$){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(R)||0))}}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(N)||0))}}if(!(typeof $==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof($)||0))}var j={type:"FloatLiteral",value:E,raw:$};if(R===true){j.nan=true}if(N===true){j.inf=true}return j}function elem(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Elem",table:E,offset:R,funcs:N};return $}function indexInFuncSection(E){var R={type:"IndexInFuncSection",index:E};return R}function valtypeLiteral(E){var R={type:"ValtypeLiteral",name:E};return R}function typeInstruction(E,R){var N={type:"TypeInstruction",id:E,functype:R};return N}function start(E){var R={type:"Start",index:E};return R}function globalType(E,R){var N={type:"GlobalType",valtype:E,mutability:R};return N}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"LeadingComment",value:E};return R}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"BlockComment",value:E};return R}function data(E,R,N){var $={type:"Data",memoryIndex:E,offset:R,init:N};return $}function global(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Global",globalType:E,init:R,name:N};return $}function table(E,R,N,$){if(!(R.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+R.type||0))}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"Table",elementType:E,limits:R,name:N};if(typeof $!=="undefined"&&$.length>0){j.elements=$}return j}function memory(E,R){var N={type:"Memory",limits:E,id:R};return N}function funcImportDescr(E,R){var N={type:"FuncImportDescr",id:E,signature:R};return N}function moduleImport(E,R,N){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(R)||0))}var $={type:"ModuleImport",module:E,name:R,descr:N};return $}function moduleExportDescr(E,R){var N={type:"ModuleExportDescr",exportType:E,id:R};return N}function moduleExport(E,R){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var N={type:"ModuleExport",name:E,descr:R};return N}function limit(E,R,N){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(R)||0))}}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(N)||0))}}var $={type:"Limit",min:E};if(typeof R!=="undefined"){$.max=R}if(N===true){$.shared=true}return $}function signature(E,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Signature",params:E,results:R};return N}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Program",body:E};return R}function identifier(E,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}}var N={type:"Identifier",value:E};if(typeof R!=="undefined"){N.raw=R}return N}function blockInstruction(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"BlockInstruction",id:"block",label:E,instr:R,result:N};return $}function callInstruction(E,R,N){if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"CallInstruction",id:"call",index:E};if(typeof R!=="undefined"&&R.length>0){$.instrArgs=R}if(typeof N!=="undefined"){$.numeric=N}return $}function callIndirectInstruction(E,R){if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var N={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof R!=="undefined"&&R.length>0){N.intrs=R}return N}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ByteArray",values:E};return R}function func(E,R,N,$,j){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if($!==null&&$!==undefined){if(!(typeof $==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof($)||0))}}var q={type:"Func",name:E,signature:R,body:N};if($===true){q.isExternal=true}if(typeof j!=="undefined"){q.metadata=j}return q}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalBrUnless",target:E};return R}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalGoto",target:E};return R}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalCallExtern",target:E};return R}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var N=isTypeOf("Module");R.isModule=N;var $=isTypeOf("ModuleMetadata");R.isModuleMetadata=$;var j=isTypeOf("ModuleNameMetadata");R.isModuleNameMetadata=j;var q=isTypeOf("FunctionNameMetadata");R.isFunctionNameMetadata=q;var G=isTypeOf("LocalNameMetadata");R.isLocalNameMetadata=G;var ie=isTypeOf("BinaryModule");R.isBinaryModule=ie;var ae=isTypeOf("QuoteModule");R.isQuoteModule=ae;var le=isTypeOf("SectionMetadata");R.isSectionMetadata=le;var _e=isTypeOf("ProducersSectionMetadata");R.isProducersSectionMetadata=_e;var Ee=isTypeOf("ProducerMetadata");R.isProducerMetadata=Ee;var we=isTypeOf("ProducerMetadataVersionedName");R.isProducerMetadataVersionedName=we;var Me=isTypeOf("LoopInstruction");R.isLoopInstruction=Me;var Ie=isTypeOf("Instr");R.isInstr=Ie;var Te=isTypeOf("IfInstruction");R.isIfInstruction=Te;var Ne=isTypeOf("StringLiteral");R.isStringLiteral=Ne;var Be=isTypeOf("NumberLiteral");R.isNumberLiteral=Be;var Le=isTypeOf("LongNumberLiteral");R.isLongNumberLiteral=Le;var je=isTypeOf("FloatLiteral");R.isFloatLiteral=je;var ze=isTypeOf("Elem");R.isElem=ze;var Ue=isTypeOf("IndexInFuncSection");R.isIndexInFuncSection=Ue;var qe=isTypeOf("ValtypeLiteral");R.isValtypeLiteral=qe;var Ge=isTypeOf("TypeInstruction");R.isTypeInstruction=Ge;var He=isTypeOf("Start");R.isStart=He;var We=isTypeOf("GlobalType");R.isGlobalType=We;var Ve=isTypeOf("LeadingComment");R.isLeadingComment=Ve;var Ke=isTypeOf("BlockComment");R.isBlockComment=Ke;var Qe=isTypeOf("Data");R.isData=Qe;var Je=isTypeOf("Global");R.isGlobal=Je;var Xe=isTypeOf("Table");R.isTable=Xe;var Ye=isTypeOf("Memory");R.isMemory=Ye;var Ze=isTypeOf("FuncImportDescr");R.isFuncImportDescr=Ze;var et=isTypeOf("ModuleImport");R.isModuleImport=et;var tt=isTypeOf("ModuleExportDescr");R.isModuleExportDescr=tt;var nt=isTypeOf("ModuleExport");R.isModuleExport=nt;var rt=isTypeOf("Limit");R.isLimit=rt;var st=isTypeOf("Signature");R.isSignature=st;var it=isTypeOf("Program");R.isProgram=it;var ot=isTypeOf("Identifier");R.isIdentifier=ot;var lt=isTypeOf("BlockInstruction");R.isBlockInstruction=lt;var ct=isTypeOf("CallInstruction");R.isCallInstruction=ct;var ut=isTypeOf("CallIndirectInstruction");R.isCallIndirectInstruction=ut;var pt=isTypeOf("ByteArray");R.isByteArray=pt;var dt=isTypeOf("Func");R.isFunc=dt;var ft=isTypeOf("InternalBrUnless");R.isInternalBrUnless=ft;var ht=isTypeOf("InternalGoto");R.isInternalGoto=ht;var mt=isTypeOf("InternalCallExtern");R.isInternalCallExtern=mt;var gt=isTypeOf("InternalEndAndReturn");R.isInternalEndAndReturn=gt;var yt=function isNode(E){return N(E)||$(E)||j(E)||q(E)||G(E)||ie(E)||ae(E)||le(E)||_e(E)||Ee(E)||we(E)||Me(E)||Ie(E)||Te(E)||Ne(E)||Be(E)||Le(E)||je(E)||ze(E)||Ue(E)||qe(E)||Ge(E)||He(E)||We(E)||Ve(E)||Ke(E)||Qe(E)||Je(E)||Xe(E)||Ye(E)||Ze(E)||et(E)||tt(E)||nt(E)||rt(E)||st(E)||it(E)||ot(E)||lt(E)||ct(E)||ut(E)||pt(E)||dt(E)||ft(E)||ht(E)||mt(E)||gt(E)};R.isNode=yt;var vt=function isBlock(E){return Me(E)||lt(E)||dt(E)};R.isBlock=vt;var bt=function isInstruction(E){return Me(E)||Ie(E)||Te(E)||Ge(E)||lt(E)||ct(E)||ut(E)};R.isInstruction=bt;var _t=function isExpression(E){return Ie(E)||Ne(E)||Be(E)||Le(E)||je(E)||qe(E)||ot(E)};R.isExpression=_t;var kt=function isNumericLiteral(E){return Be(E)||Le(E)||je(E)};R.isNumericLiteral=kt;var xt=function isImportDescr(E){return We(E)||Xe(E)||Ye(E)||Ze(E)};R.isImportDescr=xt;var Et=function isIntrinsic(E){return ft(E)||ht(E)||mt(E)||gt(E)};R.isIntrinsic=Et;var wt=assertTypeOf("Module");R.assertModule=wt;var St=assertTypeOf("ModuleMetadata");R.assertModuleMetadata=St;var At=assertTypeOf("ModuleNameMetadata");R.assertModuleNameMetadata=At;var Ct=assertTypeOf("FunctionNameMetadata");R.assertFunctionNameMetadata=Ct;var Dt=assertTypeOf("LocalNameMetadata");R.assertLocalNameMetadata=Dt;var Mt=assertTypeOf("BinaryModule");R.assertBinaryModule=Mt;var It=assertTypeOf("QuoteModule");R.assertQuoteModule=It;var Pt=assertTypeOf("SectionMetadata");R.assertSectionMetadata=Pt;var Ot=assertTypeOf("ProducersSectionMetadata");R.assertProducersSectionMetadata=Ot;var Tt=assertTypeOf("ProducerMetadata");R.assertProducerMetadata=Tt;var Rt=assertTypeOf("ProducerMetadataVersionedName");R.assertProducerMetadataVersionedName=Rt;var Ft=assertTypeOf("LoopInstruction");R.assertLoopInstruction=Ft;var Nt=assertTypeOf("Instr");R.assertInstr=Nt;var Bt=assertTypeOf("IfInstruction");R.assertIfInstruction=Bt;var Lt=assertTypeOf("StringLiteral");R.assertStringLiteral=Lt;var $t=assertTypeOf("NumberLiteral");R.assertNumberLiteral=$t;var jt=assertTypeOf("LongNumberLiteral");R.assertLongNumberLiteral=jt;var zt=assertTypeOf("FloatLiteral");R.assertFloatLiteral=zt;var Ut=assertTypeOf("Elem");R.assertElem=Ut;var qt=assertTypeOf("IndexInFuncSection");R.assertIndexInFuncSection=qt;var Gt=assertTypeOf("ValtypeLiteral");R.assertValtypeLiteral=Gt;var Ht=assertTypeOf("TypeInstruction");R.assertTypeInstruction=Ht;var Wt=assertTypeOf("Start");R.assertStart=Wt;var Vt=assertTypeOf("GlobalType");R.assertGlobalType=Vt;var Kt=assertTypeOf("LeadingComment");R.assertLeadingComment=Kt;var Qt=assertTypeOf("BlockComment");R.assertBlockComment=Qt;var Jt=assertTypeOf("Data");R.assertData=Jt;var Xt=assertTypeOf("Global");R.assertGlobal=Xt;var Yt=assertTypeOf("Table");R.assertTable=Yt;var Zt=assertTypeOf("Memory");R.assertMemory=Zt;var en=assertTypeOf("FuncImportDescr");R.assertFuncImportDescr=en;var tn=assertTypeOf("ModuleImport");R.assertModuleImport=tn;var nn=assertTypeOf("ModuleExportDescr");R.assertModuleExportDescr=nn;var rn=assertTypeOf("ModuleExport");R.assertModuleExport=rn;var sn=assertTypeOf("Limit");R.assertLimit=sn;var on=assertTypeOf("Signature");R.assertSignature=on;var an=assertTypeOf("Program");R.assertProgram=an;var ln=assertTypeOf("Identifier");R.assertIdentifier=ln;var cn=assertTypeOf("BlockInstruction");R.assertBlockInstruction=cn;var un=assertTypeOf("CallInstruction");R.assertCallInstruction=un;var pn=assertTypeOf("CallIndirectInstruction");R.assertCallIndirectInstruction=pn;var dn=assertTypeOf("ByteArray");R.assertByteArray=dn;var hn=assertTypeOf("Func");R.assertFunc=hn;var mn=assertTypeOf("InternalBrUnless");R.assertInternalBrUnless=mn;var gn=assertTypeOf("InternalGoto");R.assertInternalGoto=gn;var yn=assertTypeOf("InternalCallExtern");R.assertInternalCallExtern=yn;var vn=assertTypeOf("InternalEndAndReturn");R.assertInternalEndAndReturn=vn;var bn={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};R.unionTypesMap=bn;var _n=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];R.nodeAndUnionTypes=_n},75769:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.signatures=void 0;function sign(E,R){return[E,R]}var N="u32";var $="i32";var j="i64";var q="f32";var G="f64";var ie=function vector(E){var R=[E];R.vector=true;return R};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([N],[]),br_if:sign([N],[]),br_table:sign(ie(N),[]),return:sign([],[]),call:sign([N],[]),call_indirect:sign([N],[])};var le={drop:sign([],[]),select:sign([],[])};var _e={get_local:sign([N],[]),set_local:sign([N],[]),tee_local:sign([N],[]),get_global:sign([N],[]),set_global:sign([N],[])};var Ee={"i32.load":sign([N,N],[$]),"i64.load":sign([N,N],[]),"f32.load":sign([N,N],[]),"f64.load":sign([N,N],[]),"i32.load8_s":sign([N,N],[$]),"i32.load8_u":sign([N,N],[$]),"i32.load16_s":sign([N,N],[$]),"i32.load16_u":sign([N,N],[$]),"i64.load8_s":sign([N,N],[j]),"i64.load8_u":sign([N,N],[j]),"i64.load16_s":sign([N,N],[j]),"i64.load16_u":sign([N,N],[j]),"i64.load32_s":sign([N,N],[j]),"i64.load32_u":sign([N,N],[j]),"i32.store":sign([N,N],[]),"i64.store":sign([N,N],[]),"f32.store":sign([N,N],[]),"f64.store":sign([N,N],[]),"i32.store8":sign([N,N],[]),"i32.store16":sign([N,N],[]),"i64.store8":sign([N,N],[]),"i64.store16":sign([N,N],[]),"i64.store32":sign([N,N],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var we={"i32.const":sign([$],[$]),"i64.const":sign([j],[j]),"f32.const":sign([q],[q]),"f64.const":sign([G],[G]),"i32.eqz":sign([$],[$]),"i32.eq":sign([$,$],[$]),"i32.ne":sign([$,$],[$]),"i32.lt_s":sign([$,$],[$]),"i32.lt_u":sign([$,$],[$]),"i32.gt_s":sign([$,$],[$]),"i32.gt_u":sign([$,$],[$]),"i32.le_s":sign([$,$],[$]),"i32.le_u":sign([$,$],[$]),"i32.ge_s":sign([$,$],[$]),"i32.ge_u":sign([$,$],[$]),"i64.eqz":sign([j],[j]),"i64.eq":sign([j,j],[$]),"i64.ne":sign([j,j],[$]),"i64.lt_s":sign([j,j],[$]),"i64.lt_u":sign([j,j],[$]),"i64.gt_s":sign([j,j],[$]),"i64.gt_u":sign([j,j],[$]),"i64.le_s":sign([j,j],[$]),"i64.le_u":sign([j,j],[$]),"i64.ge_s":sign([j,j],[$]),"i64.ge_u":sign([j,j],[$]),"f32.eq":sign([q,q],[$]),"f32.ne":sign([q,q],[$]),"f32.lt":sign([q,q],[$]),"f32.gt":sign([q,q],[$]),"f32.le":sign([q,q],[$]),"f32.ge":sign([q,q],[$]),"f64.eq":sign([G,G],[$]),"f64.ne":sign([G,G],[$]),"f64.lt":sign([G,G],[$]),"f64.gt":sign([G,G],[$]),"f64.le":sign([G,G],[$]),"f64.ge":sign([G,G],[$]),"i32.clz":sign([$],[$]),"i32.ctz":sign([$],[$]),"i32.popcnt":sign([$],[$]),"i32.add":sign([$,$],[$]),"i32.sub":sign([$,$],[$]),"i32.mul":sign([$,$],[$]),"i32.div_s":sign([$,$],[$]),"i32.div_u":sign([$,$],[$]),"i32.rem_s":sign([$,$],[$]),"i32.rem_u":sign([$,$],[$]),"i32.and":sign([$,$],[$]),"i32.or":sign([$,$],[$]),"i32.xor":sign([$,$],[$]),"i32.shl":sign([$,$],[$]),"i32.shr_s":sign([$,$],[$]),"i32.shr_u":sign([$,$],[$]),"i32.rotl":sign([$,$],[$]),"i32.rotr":sign([$,$],[$]),"i64.clz":sign([j],[j]),"i64.ctz":sign([j],[j]),"i64.popcnt":sign([j],[j]),"i64.add":sign([j,j],[j]),"i64.sub":sign([j,j],[j]),"i64.mul":sign([j,j],[j]),"i64.div_s":sign([j,j],[j]),"i64.div_u":sign([j,j],[j]),"i64.rem_s":sign([j,j],[j]),"i64.rem_u":sign([j,j],[j]),"i64.and":sign([j,j],[j]),"i64.or":sign([j,j],[j]),"i64.xor":sign([j,j],[j]),"i64.shl":sign([j,j],[j]),"i64.shr_s":sign([j,j],[j]),"i64.shr_u":sign([j,j],[j]),"i64.rotl":sign([j,j],[j]),"i64.rotr":sign([j,j],[j]),"f32.abs":sign([q],[q]),"f32.neg":sign([q],[q]),"f32.ceil":sign([q],[q]),"f32.floor":sign([q],[q]),"f32.trunc":sign([q],[q]),"f32.nearest":sign([q],[q]),"f32.sqrt":sign([q],[q]),"f32.add":sign([q,q],[q]),"f32.sub":sign([q,q],[q]),"f32.mul":sign([q,q],[q]),"f32.div":sign([q,q],[q]),"f32.min":sign([q,q],[q]),"f32.max":sign([q,q],[q]),"f32.copysign":sign([q,q],[q]),"f64.abs":sign([G],[G]),"f64.neg":sign([G],[G]),"f64.ceil":sign([G],[G]),"f64.floor":sign([G],[G]),"f64.trunc":sign([G],[G]),"f64.nearest":sign([G],[G]),"f64.sqrt":sign([G],[G]),"f64.add":sign([G,G],[G]),"f64.sub":sign([G,G],[G]),"f64.mul":sign([G,G],[G]),"f64.div":sign([G,G],[G]),"f64.min":sign([G,G],[G]),"f64.max":sign([G,G],[G]),"f64.copysign":sign([G,G],[G]),"i32.wrap/i64":sign([j],[$]),"i32.trunc_s/f32":sign([q],[$]),"i32.trunc_u/f32":sign([q],[$]),"i32.trunc_s/f64":sign([q],[$]),"i32.trunc_u/f64":sign([G],[$]),"i64.extend_s/i32":sign([$],[j]),"i64.extend_u/i32":sign([$],[j]),"i64.trunc_s/f32":sign([q],[j]),"i64.trunc_u/f32":sign([q],[j]),"i64.trunc_s/f64":sign([G],[j]),"i64.trunc_u/f64":sign([G],[j]),"f32.convert_s/i32":sign([$],[q]),"f32.convert_u/i32":sign([$],[q]),"f32.convert_s/i64":sign([j],[q]),"f32.convert_u/i64":sign([j],[q]),"f32.demote/f64":sign([G],[q]),"f64.convert_s/i32":sign([$],[G]),"f64.convert_u/i32":sign([$],[G]),"f64.convert_s/i64":sign([j],[G]),"f64.convert_u/i64":sign([j],[G]),"f64.promote/f32":sign([q],[G]),"i32.reinterpret/f32":sign([q],[$]),"i64.reinterpret/f64":sign([G],[j]),"f32.reinterpret/i32":sign([$],[q]),"f64.reinterpret/i64":sign([j],[G])};var Me=Object.assign({},ae,le,_e,Ee,we);R.signatures=Me},5499:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.moduleContextFromModuleAST=moduleContextFromModuleAST;R.ModuleContext=void 0;var $=N(52696);function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,R){for(var N=0;NE&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var R=E.globalType.valtype;var N=E.globalType.mutability;this.globals.push({type:R,mutability:N});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,R){this.globals.push({type:E,mutability:R})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,R){this.mems.push({min:E,max:R})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();R.ModuleContext=j},22056:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.traverse=traverse;var $=N(46166);var j=N(52696);function walk(E,R){var N=false;function innerWalk(E,R){if(N){return}var j=E.node;if(j===undefined){console.warn("traversing with an empty context");return}if(j._deleted===true){return}var q=(0,$.createPath)(E);R(j.type,q);if(q.shouldStop){N=true;return}Object.keys(j).forEach((function(E){var N=j[E];if(N===null||N===undefined){return}var $=Array.isArray(N)?N:[N];$.forEach((function($){if(typeof $.type==="string"){var j={node:$,parentKey:E,parentPath:q,shouldStop:false,inList:Array.isArray(N)};innerWalk(j,R)}}))}))}innerWalk(E,R)}var q=function noop(){};function traverse(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:q;var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:q;Object.keys(R).forEach((function(E){if(!j.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var G={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(G,(function(E,q){if(typeof R[E]==="function"){N(E,q);R[E](q);$(E,q)}var G=j.unionTypesMap[E];if(!G){throw new Error("Unexpected node type ".concat(E))}G.forEach((function(E){if(typeof R[E]==="function"){N(E,q);R[E](q);$(E,q)}}))}))}},91764:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.isAnonymous=isAnonymous;R.getSectionMetadata=getSectionMetadata;R.getSectionMetadatas=getSectionMetadatas;R.sortSectionMetadata=sortSectionMetadata;R.orderedInsertNode=orderedInsertNode;R.assertHasLoc=assertHasLoc;R.getEndOfSection=getEndOfSection;R.shiftLoc=shiftLoc;R.shiftSection=shiftSection;R.signatureForOpcode=signatureForOpcode;R.getUniqueNameGenerator=getUniqueNameGenerator;R.getStartByteOffset=getStartByteOffset;R.getEndByteOffset=getEndByteOffset;R.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;R.getEndBlockByteOffset=getEndBlockByteOffset;R.getStartBlockByteOffset=getStartBlockByteOffset;var $=N(75769);var j=N(22056);var q=_interopRequireWildcard(N(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"]!=null)G["return"]()}finally{if(j)throw q}}return N}function _slicedToArray(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,R){var N;(0,j.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(R){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var $=E.node;if($.section===R){N=$}}))});return N}function getSectionMetadatas(E,R){var N=[];(0,j.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(R){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var $=E.node;if($.section===R){N.push($)}}))});return N}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,R){var N=q.default.sections[E.section];var $=q.default.sections[R.section];if(typeof N!=="number"||typeof $!=="number"){throw new Error("Section id not found")}return N-$}))}function orderedInsertNode(E,R){assertHasLoc(R);var N=false;if(R.type==="ModuleExport"){E.fields.push(R);return}E.fields=E.fields.reduce((function(E,$){var j=Infinity;if($.loc!=null){j=$.loc.end.column}if(N===false&&R.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(R in E)){E[R]=0}else{E[R]=E[R]+1}return R+"_"+E[R]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var R=_slicedToArray(E.body,1),N=R[0];return getStartByteOffset(N)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var R;if(E.instr){R=E.instr[E.instr.length-1]}if(E.body){R=E.body[E.body.length-1]}if(!(_typeof(R)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(R)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var R;if(E.instr){var N=_slicedToArray(E.instr,1);R=N[0]}if(E.body){var $=_slicedToArray(E.body,1);R=$[0]}if(!(_typeof(R)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(R)}},18083:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=parse;function parse(E){E=E.toUpperCase();var R=E.indexOf("P");var N,$;if(R!==-1){N=E.substring(0,R);$=parseInt(E.substring(R+1))}else{N=E;$=0}var j=N.indexOf(".");if(j!==-1){var q=parseInt(N.substring(0,j),16);var G=Math.sign(q);q=G*q;var ie=N.length-j-1;var ae=parseInt(N.substring(j+1),16);var le=ie>0?ae/Math.pow(16,ie):0;if(G===0){if(le===0){N=G}else{if(Object.is(G,-0)){N=-le}else{N=le}}}else{N=G*(q+le)}}else{N=parseInt(N,16)}return N*(R!==-1?Math.pow(2,$):1)}},35866:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.LinkError=R.CompileError=R.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,R){if(R&&(_typeof(R)==="object"||typeof R==="function")){return R}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,R){if(typeof R!=="function"&&R!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(R&&R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(R)Object.setPrototypeOf?Object.setPrototypeOf(E,R):E.__proto__=R}var N=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);R.RuntimeError=N;var $=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);R.CompileError=$;var j=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);R.LinkError=j},3104:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.overrideBytesInBuffer=overrideBytesInBuffer;R.makeBuffer=makeBuffer;R.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.parse32F=parse32F;R.parse64F=parse64F;R.parse32I=parse32I;R.parseU32=parseU32;R.parse64I=parse64I;R.isInfLiteral=isInfLiteral;R.isNanLiteral=isNanLiteral;var $=_interopRequireDefault(N(11174));var j=_interopRequireDefault(N(18083));var q=N(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,j.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,j.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,j.default)(E)}return parseFloat(E)}function parse32I(E){var R=0;if(isHexLiteral(E)){R=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{R=parseInt(E,10)}return R}function parseU32(E){var R=parse32I(E);if(R<0){throw new q.CompileError("Illegal value for u32: "+E)}return R}function parse64I(E){var R;if(isHexLiteral(E)){R=$.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{R=$.default.fromString(E)}return{high:R.high,low:R.low}}var G=/^\+?-?nan/;var ie=/^\+?-?inf/;function isInfLiteral(E){return ie.test(E.toLowerCase())}function isNanLiteral(E){return G.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"getSectionForNode",{enumerable:true,get:function get(){return $.getSectionForNode}});R["default"]=void 0;var $=N(55474);var j="illegal";var q=[0,97,115,109];var G=[1,0,0,0];function invertMap(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var N={};var $=Object.keys(E);for(var j=0,q=$.length;j2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:R,numberOfArgs:N}}function createSymbol(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:R}}var ie={func:96,result:64};var ae={0:"Func",1:"Table",2:"Mem",3:"Global"};var le=invertMap(ae);var _e={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var Ee=invertMap(_e);var we={112:"anyfunc"};var Me=Object.assign({},_e,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Ie={0:"const",1:"var"};var Te=invertMap(Ie);var Ne={0:"func",1:"table",2:"mem",3:"global"};var Be={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Le={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:j,7:j,8:j,9:j,10:j,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:j,19:j,20:j,21:j,22:j,23:j,24:j,25:j,26:createSymbol("drop"),27:createSymbol("select"),28:j,29:j,30:j,31:j,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:j,38:j,39:j,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var je=invertMap(Le,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var ze={symbolsByByte:Le,sections:Be,magicModuleHeader:q,moduleVersion:G,types:ie,valtypes:_e,exportTypes:ae,blockTypes:Me,tableTypes:we,globalTypes:Ie,importTypes:Ne,valtypesByString:Ee,globalTypesByString:Te,exportTypesByName:le,symbolsByName:je};R["default"]=ze},55474:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.createEmptySection=createEmptySection;var $=N(44166);var j=N(3104);var q=_interopRequireDefault(N(3930));var G=_interopRequireWildcard(N(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,R){var N=q.default.sections[R];var $=E.body[0].metadata.sections;var j;var G=0;for(var ie=0,ae=$.length;ieG&&N<_e){return j}G=_e;j=le}return j}function createEmptySection(E,R,N){var q=findLastSection(E,N);var ie,ae;if(q==null||q.section==="custom"){ie=8;ae=ie}else{ie=q.startOffset+q.size.value+1;ae=ie}ie+=1;var le={line:-1,column:ie};var _e={line:-1,column:ie+1};var Ee=G.withLoc(G.numberLiteralFromRaw(1),_e,le);var we={line:-1,column:_e.column};var Me={line:-1,column:_e.column+1};var Ie=G.withLoc(G.numberLiteralFromRaw(0),Me,we);var Te=G.sectionMetadata(N,ie,Ee,Ie);var Ne=(0,$.encodeNode)(Te);R=(0,j.overrideBytesInBuffer)(R,ie-1,ae,Ne);if(_typeof(E.body[0].metadata)==="object"){E.body[0].metadata.sections.push(Te);G.sortSectionMetadata(E.body[0])}var Be=+Ne.length;var Le=false;G.traverse(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){Le=true;return}if(Le===true){G.shiftSection(E,R.node,Be)}}});return{uint8Buffer:R,sectionMetadata:Te}}},77246:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"resizeSectionByteSize",{enumerable:true,get:function get(){return $.resizeSectionByteSize}});Object.defineProperty(R,"resizeSectionVecSize",{enumerable:true,get:function get(){return $.resizeSectionVecSize}});Object.defineProperty(R,"createEmptySection",{enumerable:true,get:function get(){return j.createEmptySection}});Object.defineProperty(R,"removeSections",{enumerable:true,get:function get(){return q.removeSections}});var $=N(35369);var j=N(97961);var q=N(96744)},96744:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.removeSections=removeSections;var $=N(98093);var j=N(3104);function removeSections(E,R,N){var q=(0,$.getSectionMetadatas)(E,N);if(q.length===0){throw new Error("Section metadata not found")}return q.reverse().reduce((function(R,q){var G=q.startOffset-1;var ie=N==="start"?q.size.loc.end.column+1:q.startOffset+q.size.value+1;var ae=-(ie-G);var le=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){le=true;return R.remove()}if(le===true){(0,$.shiftSection)(E,R.node,ae)}}});var _e=[];return(0,j.overrideBytesInBuffer)(R,G,ie,_e)}),R)}},35369:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.resizeSectionByteSize=resizeSectionByteSize;R.resizeSectionVecSize=resizeSectionVecSize;var $=N(44166);var j=N(98093);var q=N(3104);function resizeSectionByteSize(E,R,N,G){var ie=(0,j.getSectionMetadata)(E,N);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.size.loc==="undefined"){throw new Error("SectionMetadata "+N+" has no loc")}var ae=ie.size.loc.start.column;var le=ie.size.loc.end.column;var _e=ie.size.value+G;var Ee=(0,$.encodeU32)(_e);ie.size.value=_e;var we=le-ae;var Me=Ee.length;if(Me!==we){var Ie=Me-we;ie.size.loc.end.column=ae+Me;G+=Ie;ie.vectorOfSize.loc.start.column+=Ie;ie.vectorOfSize.loc.end.column+=Ie}var Te=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){Te=true;return}if(Te===true){(0,j.shiftSection)(E,R.node,G)}}});return(0,q.overrideBytesInBuffer)(R,ae,le,Ee)}function resizeSectionVecSize(E,R,N,G){var ie=(0,j.getSectionMetadata)(E,N);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+N+" has no loc")}if(ie.vectorOfSize.value===-1){return R}var ae=ie.vectorOfSize.loc.start.column;var le=ie.vectorOfSize.loc.end.column;var _e=ie.vectorOfSize.value+G;var Ee=(0,$.encodeU32)(_e);ie.vectorOfSize.value=_e;ie.vectorOfSize.loc.end.column=ae+Ee.length;return(0,q.overrideBytesInBuffer)(R,ae,le,Ee)}},48:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeF32=encodeF32;R.encodeF64=encodeF64;R.decodeF32=decodeF32;R.decodeF64=decodeF64;R.DOUBLE_PRECISION_MANTISSA=R.SINGLE_PRECISION_MANTISSA=R.NUMBER_OF_BYTE_F64=R.NUMBER_OF_BYTE_F32=void 0;var $=N(3158);var j=4;R.NUMBER_OF_BYTE_F32=j;var q=8;R.NUMBER_OF_BYTE_F64=q;var G=23;R.SINGLE_PRECISION_MANTISSA=G;var ie=52;R.DOUBLE_PRECISION_MANTISSA=ie;function encodeF32(E){var R=[];(0,$.write)(R,E,0,true,G,j);return R}function encodeF64(E){var R=[];(0,$.write)(R,E,0,true,ie,q);return R}function decodeF32(E){var R=Buffer.from(E);return(0,$.read)(R,0,true,G,j)}function decodeF64(E){var R=Buffer.from(E);return(0,$.read)(R,0,true,ie,q)}},90683:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.extract=extract;R.inject=inject;R.getSign=getSign;R.highOrder=highOrder;function extract(E,R,N,$){if(N<0||N>32){throw new Error("Bad value for bitLength.")}if($===undefined){$=0}else if($!==0&&$!==1){throw new Error("Bad value for defaultBit.")}var j=$*255;var q=0;var G=R+N;var ie=Math.floor(R/8);var ae=R%8;var le=Math.floor(G/8);var _e=G%8;if(_e!==0){q=get(le)&(1<<_e)-1}while(le>ie){le--;q=q<<8|get(le)}q>>>=ae;return q;function get(R){var N=E[R];return N===undefined?j:N}}function inject(E,R,N,$){if(N<0||N>32){throw new Error("Bad value for bitLength.")}var j=Math.floor((R+N-1)/8);if(R<0||j>=E.length){throw new Error("Index out of range.")}var q=Math.floor(R/8);var G=R%8;while(N>0){if($&1){E[q]|=1<>=1;N--;G=(G+1)%8;if(G===0){q++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,R){var N=R.length;var $=(E^1)*255;while(N>0&&R[N-1]===$){N--}if(N===0){return-1}var j=R[N-1];var q=N*8-1;for(var G=7;G>0;G--){if((j>>G&1)===E){break}q--}return q}},1779:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.alloc=alloc;R.free=free;R.resize=resize;R.readInt=readInt;R.readUInt=readUInt;R.writeInt64=writeInt64;R.writeUInt64=writeUInt64;var N=[];var $=20;var j=-0x8000000000000000;var q=0x7ffffffffffffc00;var G=0xfffffffffffff800;var ie=4294967296;var ae=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,R){if(R===0){return false}var N=lowestBit(R);var $=E+N;if($===E){return true}if($-N!==E){return true}return false}function alloc(E){var R=N[E];if(R){N[E]=undefined}else{R=new Buffer(E)}R.fill(0);return R}function free(E){var R=E.length;if(R<$){N[R]=E}}function resize(E,R){if(R===E.length){return E}var N=alloc(R);E.copy(N);free(E);return N}function readInt(E){var R=E.length;var N=E[R-1]<128;var $=N?0:-1;var j=false;if(R<7){for(var q=R-1;q>=0;q--){$=$*256+E[q]}}else{for(var G=R-1;G>=0;G--){var ie=E[G];$*=256;if(isLossyToAdd($,ie)){j=true}$+=ie}}return{value:$,lossy:j}}function readUInt(E){var R=E.length;var N=0;var $=false;if(R<7){for(var j=R-1;j>=0;j--){N=N*256+E[j]}}else{for(var q=R-1;q>=0;q--){var G=E[q];N*=256;if(isLossyToAdd(N,G)){$=true}N+=G}}return{value:N,lossy:$}}function writeInt64(E,R){if(Eq){throw new Error("Value out of range.")}if(E<0){E+=ae}writeUInt64(E,R)}function writeUInt64(E,R){if(E<0||E>G){throw new Error("Value out of range.")}var N=E%ie;var $=Math.floor(E/ie);R.writeUInt32LE(N,0);R.writeUInt32LE($,4)}},39784:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decodeInt64=decodeInt64;R.decodeUInt64=decodeUInt64;R.decodeInt32=decodeInt32;R.decodeUInt32=decodeUInt32;R.encodeU32=encodeU32;R.encodeI32=encodeI32;R.encodeI64=encodeI64;R.MAX_NUMBER_OF_BYTE_U64=R.MAX_NUMBER_OF_BYTE_U32=void 0;var $=_interopRequireDefault(N(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var j=5;R.MAX_NUMBER_OF_BYTE_U32=j;var q=10;R.MAX_NUMBER_OF_BYTE_U64=q;function decodeInt64(E,R){return $.default.decodeInt64(E,R)}function decodeUInt64(E,R){return $.default.decodeUInt64(E,R)}function decodeInt32(E,R){return $.default.decodeInt32(E,R)}function decodeUInt32(E,R){return $.default.decodeUInt32(E,R)}function encodeU32(E){return $.default.encodeUInt32(E)}function encodeI32(E){return $.default.encodeInt32(E)}function encodeI64(E){return $.default.encodeInt64(E)}},83082:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(11174));var j=_interopRequireWildcard(N(90683));var q=_interopRequireWildcard(N(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var G=-2147483648;var ie=2147483647;var ae=4294967295;function signedBitCount(E){return j.highOrder(j.getSign(E)^1,E)+2}function unsignedBitCount(E){var R=j.highOrder(1,E)+1;return R?R:1}function encodeBufferCommon(E,R){var N;var $;if(R){N=j.getSign(E);$=signedBitCount(E)}else{N=0;$=unsignedBitCount(E)}var G=Math.ceil($/7);var ie=q.alloc(G);for(var ae=0;ae=128){N++}N++;if(R+N>E.length){}return N}function decodeBufferCommon(E,R,N){R=R===undefined?0:R;var $=encodedLength(E,R);var G=$*7;var ie=Math.ceil(G/8);var ae=q.alloc(ie);var le=0;while($>0){j.inject(ae,le,7,E[R]);le+=7;R++;$--}var _e;var Ee;if(N){var we=ae[ie-1];var Me=le%8;if(Me!==0){var Ie=32-Me;we=ae[ie-1]=we<>Ie&255}_e=we>>7;Ee=_e*255}else{_e=0;Ee=0}while(ie>1&&ae[ie-1]===Ee&&(!N||ae[ie-2]>>7===_e)){ie--}ae=q.resize(ae,ie);return{value:ae,nextIndex:R}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,R){return decodeBufferCommon(E,R,true)}function encodeInt32(E){var R=q.alloc(4);R.writeInt32LE(E,0);var N=encodeIntBuffer(R);q.free(R);return N}function decodeInt32(E,R){var N=decodeIntBuffer(E,R);var $=q.readInt(N.value);var j=$.value;q.free(N.value);if(jie){throw new Error("integer too large")}return{value:j,nextIndex:N.nextIndex}}function encodeInt64(E){var R=q.alloc(8);q.writeInt64(E,R);var N=encodeIntBuffer(R);q.free(R);return N}function decodeInt64(E,R){var N=decodeIntBuffer(E,R);var j=$.default.fromBytesLE(N.value,false);q.free(N.value);return{value:j,nextIndex:N.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,R){return decodeBufferCommon(E,R,false)}function encodeUInt32(E){var R=q.alloc(4);R.writeUInt32LE(E,0);var N=encodeUIntBuffer(R);q.free(R);return N}function decodeUInt32(E,R){var N=decodeUIntBuffer(E,R);var $=q.readUInt(N.value);var j=$.value;q.free(N.value);if(j>ae){throw new Error("integer too large")}return{value:j,nextIndex:N.nextIndex}}function encodeUInt64(E){var R=q.alloc(8);q.writeUInt64(E,R);var N=encodeUIntBuffer(R);q.free(R);return N}function decodeUInt64(E,R){var N=decodeUIntBuffer(E,R);var j=$.default.fromBytesLE(N.value,true);q.free(N.value);return{value:j,nextIndex:N.nextIndex,lossy:false}}var le={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};R["default"]=le},85589:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R=65536){throw new Error("invalid UTF-8 encoding")}else{return R}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var R=_toArray(E),N=R[0],$=R.slice(1);if(N<128){return[code(0,N)].concat(_toConsumableArray(_decode($)))}if(N<192){throw new Error("invalid UTF-8 encoding")}}{var j=_toArray(E),q=j[0],G=j[1],ie=j.slice(2);if(q<224){return[code(128,((q&31)<<6)+con(G))].concat(_toConsumableArray(_decode(ie)))}}{var ae=_toArray(E),le=ae[0],_e=ae[1],Ee=ae[2],we=ae.slice(3);if(le<240){return[code(2048,((le&15)<<12)+(con(_e)<<6)+con(Ee))].concat(_toConsumableArray(_decode(we)))}}{var Me=_toArray(E),Ie=Me[0],Te=Me[1],Ne=Me[2],Be=Me[3],Le=Me.slice(4);if(Ie<248){return[code(65536,(((Ie&7)<<18)+con(Te)<<12)+(con(Ne)<<6)+con(Be))].concat(_toConsumableArray(_decode(Le)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R>>6,con(N)].concat(_toConsumableArray(_encode($)))}if(N<65536){return[224|N>>>12,con(N>>>6),con(N)].concat(_toConsumableArray(_encode($)))}if(N<1114112){return[240|N>>>18,con(N>>>12),con(N>>>6),con(N)].concat(_toConsumableArray(_encode($)))}throw new Error("utf8")}},38040:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"decode",{enumerable:true,get:function get(){return $.decode}});Object.defineProperty(R,"encode",{enumerable:true,get:function get(){return j.encode}});var $=N(85589);var j=N(56264)},17467:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.applyOperations=applyOperations;var $=N(44166);var j=N(77445);var q=N(98093);var G=N(77246);var ie=N(3104);var ae=N(3930);function _sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"]!=null)G["return"]()}finally{if(j)throw q}}return N}function _slicedToArray(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,R){(0,q.assertHasLoc)(E);E.loc.start.column+=R;E.loc.end.column+=R}function applyUpdate(E,R,N){var G=_slicedToArray(N,2),le=G[0],_e=G[1];var Ee=0;(0,q.assertHasLoc)(le);var we=(0,ae.getSectionForNode)(_e);var Me=(0,$.encodeNode)(_e);R=(0,ie.overrideBytesInBuffer)(R,le.loc.start.column,le.loc.end.column,Me);if(we==="code"){(0,q.traverse)(E,{Func:function Func(E){var N=E.node;var G=N.body.find((function(E){return E===_e}))!==undefined;if(G===true){(0,q.assertHasLoc)(N);var ae=(0,$.encodeNode)(le).length;var Ee=Me.length-ae;if(Ee!==0){var we=N.metadata.bodySize+Ee;var Ie=(0,j.encodeU32)(we);var Te=N.loc.start.column;var Ne=Te+1;R=(0,ie.overrideBytesInBuffer)(R,Te,Ne,Ie)}}}})}var Ie=Me.length-(le.loc.end.column-le.loc.start.column);_e.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};_e.loc.start.column=le.loc.start.column;_e.loc.end.column=le.loc.start.column+Me.length;return{uint8Buffer:R,deltaBytes:Ie,deltaElements:Ee}}function applyDelete(E,R,N){var $=-1;(0,q.assertHasLoc)(N);var j=(0,ae.getSectionForNode)(N);if(j==="start"){var le=(0,q.getSectionMetadata)(E,"start");R=(0,G.removeSections)(E,R,"start");var _e=-(le.size.value+1);return{uint8Buffer:R,deltaBytes:_e,deltaElements:$}}var Ee=[];R=(0,ie.overrideBytesInBuffer)(R,N.loc.start.column,N.loc.end.column,Ee);var we=-(N.loc.end.column-N.loc.start.column);return{uint8Buffer:R,deltaBytes:we,deltaElements:$}}function applyAdd(E,R,N){var j=+1;var le=(0,ae.getSectionForNode)(N);var _e=(0,q.getSectionMetadata)(E,le);if(typeof _e==="undefined"){var Ee=(0,G.createEmptySection)(E,R,le);R=Ee.uint8Buffer;_e=Ee.sectionMetadata}if((0,q.isFunc)(N)){var we=N.body;if(we.length===0||we[we.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,q.isGlobal)(N)){var we=N.init;if(we.length===0||we[we.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Me=(0,$.encodeNode)(N);var Ie=(0,q.getEndOfSection)(_e);var Te=Ie;var Ne=Me.length;R=(0,ie.overrideBytesInBuffer)(R,Ie,Te,Me);N.loc={start:{line:-1,column:Ie},end:{line:-1,column:Ie+Ne}};if(N.type==="Func"){var Be=Me[0];N.metadata={bodySize:Be}}if(N.type!=="IndexInFuncSection"){(0,q.orderedInsertNode)(E.body[0],N)}return{uint8Buffer:R,deltaBytes:Ne,deltaElements:j}}function applyOperations(E,R,N){N.forEach((function($){var j;var q;switch($.kind){case"update":j=applyUpdate(E,R,[$.oldNode,$.node]);q=(0,ae.getSectionForNode)($.node);break;case"delete":j=applyDelete(E,R,$.node);q=(0,ae.getSectionForNode)($.node);break;case"add":j=applyAdd(E,R,$.node);q=(0,ae.getSectionForNode)($.node);break;default:throw new Error("Unknown operation")}if(j.deltaElements!==0&&q!=="start"){var ie=j.uint8Buffer.length;j.uint8Buffer=(0,G.resizeSectionVecSize)(E,j.uint8Buffer,q,j.deltaElements);j.deltaBytes+=j.uint8Buffer.length-ie}if(j.deltaBytes!==0&&q!=="start"){var le=j.uint8Buffer.length;j.uint8Buffer=(0,G.resizeSectionByteSize)(E,j.uint8Buffer,q,j.deltaBytes);j.deltaBytes+=j.uint8Buffer.length-le}if(j.deltaBytes!==0){N.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,j.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,j.deltaBytes);break}}))}R=j.uint8Buffer}));return R}},226:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.edit=edit;R.editWithAST=editWithAST;R.add=add;R.addWithAST=addWithAST;var $=N(73432);var j=N(98093);var q=N(70797);var G=N(53620);var ie=_interopRequireWildcard(N(3930));var ae=N(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var R=(0,G.shrinkPaddedLEB128)(new Uint8Array(E));return R.buffer}function sortBySectionOrder(E){var R=new Map;var N=true;var $=false;var j=undefined;try{for(var q=E[Symbol.iterator](),G;!(N=(G=q.next()).done);N=true){var ae=G.value;R.set(ae,R.size)}}catch(E){$=true;j=E}finally{try{if(!N&&q.return!=null){q.return()}}finally{if($){throw j}}}E.sort((function(E,N){var $=(0,ie.getSectionForNode)(E);var j=(0,ie.getSectionForNode)(N);var q=ie.default.sections[$];var G=ie.default.sections[j];if(typeof q!=="number"||typeof G!=="number"){throw new Error("Section id not found")}if(q===G){return R.get(E)-R.get(N)}return q-G}))}function edit(E,R){E=preprocess(E);var N=(0,$.decode)(E);return editWithAST(N,E,R)}function editWithAST(E,R,N){var $=[];var G=new Uint8Array(R);var ie;function before(E,R){ie=(0,q.cloneNode)(R.node)}function after(E,R){if(R.node._deleted===true){$.push({kind:"delete",node:R.node})}else if(hashNode(ie)!==hashNode(R.node)){$.push({kind:"update",oldNode:ie,node:R.node})}}(0,j.traverse)(E,N,before,after);G=(0,ae.applyOperations)(E,G,$);return G.buffer}function add(E,R){E=preprocess(E);var N=(0,$.decode)(E);return addWithAST(N,E,R)}function addWithAST(E,R,N){sortBySectionOrder(N);var $=new Uint8Array(R);var j=N.map((function(E){return{kind:"add",node:E}}));$=(0,ae.applyOperations)(E,$,j);return $.buffer}},77445:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeVersion=encodeVersion;R.encodeHeader=encodeHeader;R.encodeU32=encodeU32;R.encodeI32=encodeI32;R.encodeI64=encodeI64;R.encodeVec=encodeVec;R.encodeValtype=encodeValtype;R.encodeMutability=encodeMutability;R.encodeUTF8Vec=encodeUTF8Vec;R.encodeLimits=encodeLimits;R.encodeModuleImport=encodeModuleImport;R.encodeSectionMetadata=encodeSectionMetadata;R.encodeCallInstruction=encodeCallInstruction;R.encodeCallIndirectInstruction=encodeCallIndirectInstruction;R.encodeModuleExport=encodeModuleExport;R.encodeTypeInstruction=encodeTypeInstruction;R.encodeInstr=encodeInstr;R.encodeStringLiteral=encodeStringLiteral;R.encodeGlobal=encodeGlobal;R.encodeFuncBody=encodeFuncBody;R.encodeIndexInFuncSection=encodeIndexInFuncSection;R.encodeElem=encodeElem;var $=_interopRequireWildcard(N(39784));var j=_interopRequireWildcard(N(48));var q=_interopRequireWildcard(N(38040));var G=_interopRequireDefault(N(3930));var ie=N(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeNode=encodeNode;R.encodeU32=void 0;var $=_interopRequireWildcard(N(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function encodeNode(E){switch(E.type){case"ModuleImport":return $.encodeModuleImport(E);case"SectionMetadata":return $.encodeSectionMetadata(E);case"CallInstruction":return $.encodeCallInstruction(E);case"CallIndirectInstruction":return $.encodeCallIndirectInstruction(E);case"TypeInstruction":return $.encodeTypeInstruction(E);case"Instr":return $.encodeInstr(E);case"ModuleExport":return $.encodeModuleExport(E);case"Global":return $.encodeGlobal(E);case"Func":return $.encodeFuncBody(E);case"IndexInFuncSection":return $.encodeIndexInFuncSection(E);case"StringLiteral":return $.encodeStringLiteral(E);case"Elem":return $.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var j=$.encodeU32;R.encodeU32=j},53620:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=N(73432);var j=N(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,R){if(R&&(_typeof(R)==="object"||typeof R==="function")){return R}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,R){if(typeof R!=="function"&&R!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(R&&R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(R)Object.setPrototypeOf?Object.setPrototypeOf(E,R):E.__proto__=R}var q=function(E){_inherits(OptimizerError,E);function OptimizerError(E,R){var N;_classCallCheck(this,OptimizerError);N=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+R.message));N.stack=R.stack;return N}return OptimizerError}(Error);var G={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var R=(0,$.decode)(E.buffer,G);return(0,j.shrinkPaddedLEB128)(R,E)}catch(E){throw new q("shrinkPaddedLEB128",E)}}},25688:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=N(98093);var j=N(77445);var q=N(3104);function shiftFollowingSections(E,R,N){var j=R.section;var q=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===j){q=true;return}if(q===true){(0,$.shiftSection)(E,R.node,N)}}})}function shrinkPaddedLEB128(E,R){(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(N){var $=N.node;{var G=(0,j.encodeU32)($.size.value);var ie=G.length;var ae=$.size.loc.start.column;var le=$.size.loc.end.column;var _e=le-ae;if(ie!==_e){var Ee=_e-ie;R=(0,q.overrideBytesInBuffer)(R,ae,le,G);shiftFollowingSections(E,$,-Ee)}}}});return R}},13975:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;var $=N(35866);var j=_interopRequireWildcard(N(48));var q=_interopRequireWildcard(N(38040));var G=_interopRequireWildcard(N(98093));var ie=N(39784);var ae=_interopRequireDefault(N(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R=N.length}function eatBytes(E){_e=_e+E}function readBytesAtOffset(E,R){var $=[];for(var j=0;j>7?-1:1;var $=0;for(var q=0;q>7?-1:1;var $=0;for(var q=0;qN.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.magicModuleHeader,E)===false){throw new $.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||_e+4>N.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.moduleVersion,E)===false){throw new $.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var R=readU32();var N=R.value;eatBytes(R.nextIndex);dump([N],"number");if(N===0){return[]}var j=[];for(var q=0;q=40&&j<=64){if(q.name==="grow_memory"||q.name==="current_memory"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var _t=readU32();var kt=_t.value;eatBytes(_t.nextIndex);dump([kt],"align");var xt=readU32();var Et=xt.value;eatBytes(xt.nextIndex);dump([Et],"offset")}}else if(j>=65&&j<=68){if(q.object==="i32"){var wt=read32();var St=wt.value;eatBytes(wt.nextIndex);dump([St],"i32 value");_e.push(G.numberLiteralFromRaw(St))}if(q.object==="u32"){var At=readU32();var Ct=At.value;eatBytes(At.nextIndex);dump([Ct],"u32 value");_e.push(G.numberLiteralFromRaw(Ct))}if(q.object==="i64"){var Dt=read64();var Mt=Dt.value;eatBytes(Dt.nextIndex);dump([Number(Mt.toString())],"i64 value");var It=Mt.high,Pt=Mt.low;var Ot={type:"LongNumberLiteral",value:{high:It,low:Pt}};_e.push(Ot)}if(q.object==="u64"){var Tt=readU64();var Rt=Tt.value;eatBytes(Tt.nextIndex);dump([Number(Rt.toString())],"u64 value");var Ft=Rt.high,Nt=Rt.low;var Bt={type:"LongNumberLiteral",value:{high:Ft,low:Nt}};_e.push(Bt)}if(q.object==="f32"){var Lt=readF32();var $t=Lt.value;eatBytes(Lt.nextIndex);dump([$t],"f32 value");_e.push(G.floatLiteral($t,Lt.nan,Lt.inf,String($t)))}if(q.object==="f64"){var jt=readF64();var zt=jt.value;eatBytes(jt.nextIndex);dump([zt],"f64 value");_e.push(G.floatLiteral(zt,jt.nan,jt.inf,String(zt)))}}else if(j>=65024&&j<=65279){var Ut=readU32();var qt=Ut.value;eatBytes(Ut.nextIndex);dump([qt],"align");var Gt=readU32();var Ht=Gt.value;eatBytes(Gt.nextIndex);dump([Ht],"offset")}else{for(var Wt=0;Wt=E||E===ae.default.sections.custom){E=N+1}else{if(N!==ae.default.sections.custom)throw new $.CompileError("Unexpected section: "+toHex(N))}var j=E;var q=_e;var ie=getPosition();var le=readU32();var Ee=le.value;eatBytes(le.nextIndex);var we=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ee),E,ie)}();switch(N){case ae.default.sections.type:{dumpSep("section Type");dump([N],"section code");dump([Ee],"section size");var Me=getPosition();var Ie=readU32();var Te=Ie.value;eatBytes(Ie.nextIndex);var Ne=G.sectionMetadata("type",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Te),E,Me)}());var Be=parseTypeSection(Te);return{nodes:Be,metadata:Ne,nextSectionIndex:j}}case ae.default.sections.table:{dumpSep("section Table");dump([N],"section code");dump([Ee],"section size");var Le=getPosition();var je=readU32();var ze=je.value;eatBytes(je.nextIndex);dump([ze],"num tables");var Ue=G.sectionMetadata("table",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(ze),E,Le)}());var qe=parseTableSection(ze);return{nodes:qe,metadata:Ue,nextSectionIndex:j}}case ae.default.sections.import:{dumpSep("section Import");dump([N],"section code");dump([Ee],"section size");var Ge=getPosition();var He=readU32();var We=He.value;eatBytes(He.nextIndex);dump([We],"number of imports");var Ve=G.sectionMetadata("import",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(We),E,Ge)}());var Ke=parseImportSection(We);return{nodes:Ke,metadata:Ve,nextSectionIndex:j}}case ae.default.sections.func:{dumpSep("section Function");dump([N],"section code");dump([Ee],"section size");var Qe=getPosition();var Je=readU32();var Xe=Je.value;eatBytes(Je.nextIndex);var Ye=G.sectionMetadata("func",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Xe),E,Qe)}());parseFuncSection(Xe);var Ze=[];return{nodes:Ze,metadata:Ye,nextSectionIndex:j}}case ae.default.sections.export:{dumpSep("section Export");dump([N],"section code");dump([Ee],"section size");var et=getPosition();var tt=readU32();var nt=tt.value;eatBytes(tt.nextIndex);var rt=G.sectionMetadata("export",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(nt),E,et)}());parseExportSection(nt);var st=[];return{nodes:st,metadata:rt,nextSectionIndex:j}}case ae.default.sections.code:{dumpSep("section Code");dump([N],"section code");dump([Ee],"section size");var it=getPosition();var ot=readU32();var lt=ot.value;eatBytes(ot.nextIndex);var ct=G.sectionMetadata("code",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(lt),E,it)}());if(R.ignoreCodeSection===true){var ut=Ee-ot.nextIndex;eatBytes(ut)}else{parseCodeSection(lt)}var pt=[];return{nodes:pt,metadata:ct,nextSectionIndex:j}}case ae.default.sections.start:{dumpSep("section Start");dump([N],"section code");dump([Ee],"section size");var dt=G.sectionMetadata("start",q,we);var ft=[parseStartSection()];return{nodes:ft,metadata:dt,nextSectionIndex:j}}case ae.default.sections.element:{dumpSep("section Element");dump([N],"section code");dump([Ee],"section size");var ht=getPosition();var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);var yt=G.sectionMetadata("element",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(gt),E,ht)}());var vt=parseElemSection(gt);return{nodes:vt,metadata:yt,nextSectionIndex:j}}case ae.default.sections.global:{dumpSep("section Global");dump([N],"section code");dump([Ee],"section size");var bt=getPosition();var _t=readU32();var kt=_t.value;eatBytes(_t.nextIndex);var xt=G.sectionMetadata("global",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(kt),E,bt)}());var Et=parseGlobalSection(kt);return{nodes:Et,metadata:xt,nextSectionIndex:j}}case ae.default.sections.memory:{dumpSep("section Memory");dump([N],"section code");dump([Ee],"section size");var wt=getPosition();var St=readU32();var At=St.value;eatBytes(St.nextIndex);var Ct=G.sectionMetadata("memory",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(At),E,wt)}());var Dt=parseMemorySection(At);return{nodes:Dt,metadata:Ct,nextSectionIndex:j}}case ae.default.sections.data:{dumpSep("section Data");dump([N],"section code");dump([Ee],"section size");var Mt=G.sectionMetadata("data",q,we);var It=getPosition();var Pt=readU32();var Ot=Pt.value;eatBytes(Pt.nextIndex);Mt.vectorOfSize=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ot),E,It)}();if(R.ignoreDataSection===true){var Tt=Ee-Pt.nextIndex;eatBytes(Tt);dumpSep("ignore data ("+Ee+" bytes)");return{nodes:[],metadata:Mt,nextSectionIndex:j}}else{var Rt=parseDataSection(Ot);return{nodes:Rt,metadata:Mt,nextSectionIndex:j}}}case ae.default.sections.custom:{dumpSep("section Custom");dump([N],"section code");dump([Ee],"section size");var Ft=[G.sectionMetadata("custom",q,we)];var Nt=readUTF8String();eatBytes(Nt.nextIndex);dump([],"section name (".concat(Nt.value,")"));var Bt=Ee-Nt.nextIndex;if(Nt.value==="name"){var Lt=_e;try{Ft.push.apply(Ft,_toConsumableArray(parseNameSection(Bt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(_e,"; ignoring (").concat(E.message,")."));eatBytes(_e-(Lt+Bt))}}else if(Nt.value==="producers"){var $t=_e;try{Ft.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(_e,"; ignoring (").concat(E.message,")."));eatBytes(_e-($t+Bt))}}else{eatBytes(Bt);dumpSep("ignore custom "+JSON.stringify(Nt.value)+" section ("+Bt+" bytes)")}return{nodes:[],metadata:Ft,nextSectionIndex:j}}}throw new $.CompileError("Unexpected section: "+toHex(N))}parseModuleHeader();parseVersion();var we=[];var Me=0;var Ie={sections:[],functionNames:[],localNames:[],producers:[]};while(_e{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;var $=_interopRequireWildcard(N(13975));var j=_interopRequireWildcard(N(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}var q={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var R=[];j.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var N=E.node;R.push({name:N.value,index:N.index})}});if(R.length===0){return}j.traverse(E,{Func:function(E){function Func(R){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var N=E.node;var $=N.name;var j=$.value;var q=Number(j.replace("func_",""));var G=R.find((function(E){return E.index===q}));if(G){var ie=$.value;$.value=G.name;$.numeric=ie;delete $.raw}})),ModuleExport:function(E){function ModuleExport(R){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var N=E.node;if(N.descr.exportType==="Func"){var $=N.descr.id;var q=$.value;var G=R.find((function(E){return E.index===q}));if(G){N.descr.id=j.identifier(G.name)}}})),ModuleImport:function(E){function ModuleImport(R){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var N=E.node;if(N.descr.type==="FuncImportDescr"){var $=N.descr.id;var q=Number($.replace("func_",""));var G=R.find((function(E){return E.index===q}));if(G){N.descr.id=j.identifier(G.name)}}})),CallInstruction:function(E){function CallInstruction(R){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var N=E.node;var $=N.index.value;var q=R.find((function(E){return E.index===$}));if(q){var G=N.index;N.index=j.identifier(q.name);N.numeric=G;delete N.raw}}))})}function restoreLocalNames(E){var R=[];j.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var N=E.node;R.push({name:N.value,localIndex:N.localIndex,functionIndex:N.functionIndex})}});if(R.length===0){return}j.traverse(E,{Func:function(E){function Func(R){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var N=E.node;var $=N.signature;if($.type!=="Signature"){return}var j=N.name;var q=j.value;var G=Number(q.replace("func_",""));$.params.forEach((function(E,N){var $=R.find((function(E){return E.localIndex===N&&E.functionIndex===G}));if($&&$.name!==""){E.id=$.name}}))}))})}function restoreModuleName(E){j.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(R){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(R){j.traverse(E,{Module:function(E){function Module(R){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var N=E.node;var $=R.node.value;if($===""){$=null}N.id=$}))})}))})}function decode(E,R){var N=Object.assign({},q,R);var j=$.decode(E,N);if(N.ignoreCustomNameSection===false){restoreFunctionNames(j);restoreLocalNames(j);restoreModuleName(j)}return j}},3158:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.read=read;R.write=write;function read(E,R,N,$,j){var q,G;var ie=j*8-$-1;var ae=(1<>1;var _e=-7;var Ee=N?j-1:0;var we=N?-1:1;var Me=E[R+Ee];Ee+=we;q=Me&(1<<-_e)-1;Me>>=-_e;_e+=ie;for(;_e>0;q=q*256+E[R+Ee],Ee+=we,_e-=8){}G=q&(1<<-_e)-1;q>>=-_e;_e+=$;for(;_e>0;G=G*256+E[R+Ee],Ee+=we,_e-=8){}if(q===0){q=1-le}else if(q===ae){return G?NaN:(Me?-1:1)*Infinity}else{G=G+Math.pow(2,$);q=q-le}return(Me?-1:1)*G*Math.pow(2,q-$)}function write(E,R,N,$,j,q){var G,ie,ae;var le=q*8-j-1;var _e=(1<>1;var we=j===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Me=$?0:q-1;var Ie=$?1:-1;var Te=R<0||R===0&&1/R<0?1:0;R=Math.abs(R);if(isNaN(R)||R===Infinity){ie=isNaN(R)?1:0;G=_e}else{G=Math.floor(Math.log(R)/Math.LN2);if(R*(ae=Math.pow(2,-G))<1){G--;ae*=2}if(G+Ee>=1){R+=we/ae}else{R+=we*Math.pow(2,1-Ee)}if(R*ae>=2){G++;ae/=2}if(G+Ee>=_e){ie=0;G=_e}else if(G+Ee>=1){ie=(R*ae-1)*Math.pow(2,j);G=G+Ee}else{ie=R*Math.pow(2,Ee-1)*Math.pow(2,j);G=0}}for(;j>=8;E[N+Me]=ie&255,Me+=Ie,ie/=256,j-=8){}G=G<0;E[N+Me]=G&255,Me+=Ie,G/=256,le-=8){}E[N+Me-Ie]|=Te*128}},11174:E=>{E.exports=Long;var R=null;try{R=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,R,N){this.low=E|0;this.high=R|0;this.unsigned=!!N}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var N={};var $={};function fromInt(E,R){var j,q,G;if(R){E>>>=0;if(G=0<=E&&E<256){q=$[E];if(q)return q}j=fromBits(E,(E|0)<0?-1:0,true);if(G)$[E]=j;return j}else{E|=0;if(G=-128<=E&&E<128){q=N[E];if(q)return q}j=fromBits(E,E<0?-1:0,false);if(G)N[E]=j;return j}}Long.fromInt=fromInt;function fromNumber(E,R){if(isNaN(E))return R?we:Ee;if(R){if(E<0)return we;if(E>=ae)return Be}else{if(E<=-le)return Le;if(E+1>=le)return Ne}if(E<0)return fromNumber(-E,R).neg();return fromBits(E%ie|0,E/ie|0,R)}Long.fromNumber=fromNumber;function fromBits(E,R,N){return new Long(E,R,N)}Long.fromBits=fromBits;var j=Math.pow;function fromString(E,R,N){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return Ee;if(typeof R==="number"){N=R,R=false}else{R=!!R}N=N||10;if(N<2||360)throw Error("interior hyphen");else if($===0){return fromString(E.substring(1),R,N).neg()}var q=fromNumber(j(N,8));var G=Ee;for(var ie=0;ie>>0:this.low};je.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ie+(this.low>>>0);return this.high*ie+(this.low>>>0)};je.toString=function toString(E){E=E||10;if(E<2||36>>0,_e=le.toString(E);G=ae;if(G.isZero())return _e+ie;else{while(_e.length<6)_e="0"+_e;ie=""+_e+ie}}};je.getHighBits=function getHighBits(){return this.high};je.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};je.getLowBits=function getLowBits(){return this.low};je.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};je.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Le)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var R=31;R>0;R--)if((E&1<=0};je.isOdd=function isOdd(){return(this.low&1)===1};je.isEven=function isEven(){return(this.low&1)===0};je.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};je.eq=je.equals;je.notEquals=function notEquals(E){return!this.eq(E)};je.neq=je.notEquals;je.ne=je.notEquals;je.lessThan=function lessThan(E){return this.comp(E)<0};je.lt=je.lessThan;je.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};je.lte=je.lessThanOrEqual;je.le=je.lessThanOrEqual;je.greaterThan=function greaterThan(E){return this.comp(E)>0};je.gt=je.greaterThan;je.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};je.gte=je.greaterThanOrEqual;je.ge=je.greaterThanOrEqual;je.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var R=this.isNegative(),N=E.isNegative();if(R&&!N)return-1;if(!R&&N)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};je.comp=je.compare;je.negate=function negate(){if(!this.unsigned&&this.eq(Le))return Le;return this.not().add(Me)};je.neg=je.negate;je.add=function add(E){if(!isLong(E))E=fromValue(E);var R=this.high>>>16;var N=this.high&65535;var $=this.low>>>16;var j=this.low&65535;var q=E.high>>>16;var G=E.high&65535;var ie=E.low>>>16;var ae=E.low&65535;var le=0,_e=0,Ee=0,we=0;we+=j+ae;Ee+=we>>>16;we&=65535;Ee+=$+ie;_e+=Ee>>>16;Ee&=65535;_e+=N+G;le+=_e>>>16;_e&=65535;le+=R+q;le&=65535;return fromBits(Ee<<16|we,le<<16|_e,this.unsigned)};je.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};je.sub=je.subtract;je.multiply=function multiply(E){if(this.isZero())return Ee;if(!isLong(E))E=fromValue(E);if(R){var N=R["mul"](this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}if(E.isZero())return Ee;if(this.eq(Le))return E.isOdd()?Le:Ee;if(E.eq(Le))return this.isOdd()?Le:Ee;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(_e)&&E.lt(_e))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var $=this.high>>>16;var j=this.high&65535;var q=this.low>>>16;var G=this.low&65535;var ie=E.high>>>16;var ae=E.high&65535;var le=E.low>>>16;var we=E.low&65535;var Me=0,Ie=0,Te=0,Ne=0;Ne+=G*we;Te+=Ne>>>16;Ne&=65535;Te+=q*we;Ie+=Te>>>16;Te&=65535;Te+=G*le;Ie+=Te>>>16;Te&=65535;Ie+=j*we;Me+=Ie>>>16;Ie&=65535;Ie+=q*le;Me+=Ie>>>16;Ie&=65535;Ie+=G*ae;Me+=Ie>>>16;Ie&=65535;Me+=$*we+j*le+q*ae+G*ie;Me&=65535;return fromBits(Te<<16|Ne,Me<<16|Ie,this.unsigned)};je.mul=je.multiply;je.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(R){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var N=(this.unsigned?R["div_u"]:R["div_s"])(this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?we:Ee;var $,q,G;if(!this.unsigned){if(this.eq(Le)){if(E.eq(Me)||E.eq(Te))return Le;else if(E.eq(Le))return Me;else{var ie=this.shr(1);$=ie.div(E).shl(1);if($.eq(Ee)){return E.isNegative()?Me:Te}else{q=this.sub(E.mul($));G=$.add(q.div(E));return G}}}else if(E.eq(Le))return this.unsigned?we:Ee;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();G=Ee}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return we;if(E.gt(this.shru(1)))return Ie;G=we}q=this;while(q.gte(E)){$=Math.max(1,Math.floor(q.toNumber()/E.toNumber()));var ae=Math.ceil(Math.log($)/Math.LN2),le=ae<=48?1:j(2,ae-48),_e=fromNumber($),Ne=_e.mul(E);while(Ne.isNegative()||Ne.gt(q)){$-=le;_e=fromNumber($,this.unsigned);Ne=_e.mul(E)}if(_e.isZero())_e=Me;G=G.add(_e);q=q.sub(Ne)}return G};je.div=je.divide;je.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(R){var N=(this.unsigned?R["rem_u"]:R["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};je.mod=je.modulo;je.rem=je.modulo;je.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};je.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};je.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};je.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};je.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<>>32-E,this.unsigned);else return fromBits(0,this.low<>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};je.shr=je.shiftRight;je.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};je.shru=je.shiftRightUnsigned;je.shr_u=je.shiftRightUnsigned;je.rotateLeft=function rotateLeft(E){var R;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){R=32-E;return fromBits(this.low<>>R,this.high<>>R,this.unsigned)}E-=32;R=32-E;return fromBits(this.high<>>R,this.low<>>R,this.unsigned)};je.rotl=je.rotateLeft;je.rotateRight=function rotateRight(E){var R;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){R=32-E;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)}E-=32;R=32-E;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)};je.rotr=je.rotateRight;je.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};je.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};je.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};je.toBytesLE=function toBytesLE(){var E=this.high,R=this.low;return[R&255,R>>>8&255,R>>>16&255,R>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};je.toBytesBE=function toBytesBE(){var E=this.high,R=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,R>>>24,R>>>16&255,R>>>8&255,R&255]};Long.fromBytes=function fromBytes(E,R,N){return N?Long.fromBytesLE(E,R):Long.fromBytesBE(E,R)};Long.fromBytesLE=function fromBytesLE(E,R){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,R)};Long.fromBytesBE=function fromBytesBE(E,R){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],R)}},71066:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.importAssertions=importAssertions;var $=_interopRequireWildcard(N(20976));function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}const j="{".charCodeAt(0);const q=" ".charCodeAt(0);const G="assert";const ie=1,ae=2,le=4;function importAssertions(E){const R=E.acorn||$;const{tokTypes:N,TokenType:ae}=R;return class extends E{constructor(...E){super(...E);this.assertToken=new ae(G)}_codeAt(E){return this.input.charCodeAt(E)}_eat(E){if(this.type!==E){this.unexpected()}this.next()}readToken(E){let R=0;for(;R=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==N.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const R=this.parseImportAssertions();if(R){E.assertions=R}}this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(N._default)){this.checkExport(R,"default",this.lastTokStart);var $;if(this.type===N._function||($=this.isAsyncFunction())){var j=this.startNode();this.next();if($){this.next()}E.declaration=this.parseFunction(j,ie|le,false,$)}else if(this.type===N._class){var q=this.startNode();E.declaration=this.parseClass(q,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==N.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const R=this.parseImportAssertions();if(R){E.assertions=R}}}else{for(var G=0,ae=E.specifiers;GE){return false}N+=R[$+1];if(N>=E){return true}}}function isIdentifierStart(E,R){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)}function isIdentifierChar(E,R){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)||isInAstralSet(E,_e)}var Ee=function TokenType(E,R){if(R===void 0)R={};this.label=E;this.keyword=R.keyword;this.beforeExpr=!!R.beforeExpr;this.startsExpr=!!R.startsExpr;this.isLoop=!!R.isLoop;this.isAssign=!!R.isAssign;this.prefix=!!R.prefix;this.postfix=!!R.postfix;this.binop=R.binop||null;this.updateContext=null};function binop(E,R){return new Ee(E,{beforeExpr:true,binop:R})}var we={beforeExpr:true},Me={startsExpr:true};var Ie={};function kw(E,R){if(R===void 0)R={};R.keyword=E;return Ie[E]=new Ee(E,R)}var Te={num:new Ee("num",Me),regexp:new Ee("regexp",Me),string:new Ee("string",Me),name:new Ee("name",Me),privateId:new Ee("privateId",Me),eof:new Ee("eof"),bracketL:new Ee("[",{beforeExpr:true,startsExpr:true}),bracketR:new Ee("]"),braceL:new Ee("{",{beforeExpr:true,startsExpr:true}),braceR:new Ee("}"),parenL:new Ee("(",{beforeExpr:true,startsExpr:true}),parenR:new Ee(")"),comma:new Ee(",",we),semi:new Ee(";",we),colon:new Ee(":",we),dot:new Ee("."),question:new Ee("?",we),questionDot:new Ee("?."),arrow:new Ee("=>",we),template:new Ee("template"),invalidTemplate:new Ee("invalidTemplate"),ellipsis:new Ee("...",we),backQuote:new Ee("`",Me),dollarBraceL:new Ee("${",{beforeExpr:true,startsExpr:true}),eq:new Ee("=",{beforeExpr:true,isAssign:true}),assign:new Ee("_=",{beforeExpr:true,isAssign:true}),incDec:new Ee("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new Ee("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Ee("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Ee("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",we),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",we),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",we),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Me),_if:kw("if"),_return:kw("return",we),_switch:kw("switch"),_throw:kw("throw",we),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Me),_super:kw("super",Me),_class:kw("class",Me),_extends:kw("extends",we),_export:kw("export"),_import:kw("import",Me),_null:kw("null",Me),_true:kw("true",Me),_false:kw("false",Me),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Be=new RegExp(Ne.source,"g");function isNewLine(E){return E===10||E===13||E===8232||E===8233}function nextLineBreak(E,R,N){if(N===void 0)N=E.length;for(var $=R;$=2015){R.ecmaVersion-=2009}if(R.allowReserved==null){R.allowReserved=R.ecmaVersion<5}if(He(R.onToken)){var $=R.onToken;R.onToken=function(E){return $.push(E)}}if(He(R.onComment)){R.onComment=pushComment(R,R.onComment)}return R}function pushComment(E,R){return function(N,$,j,q,G,ie){var ae={type:N?"Block":"Line",value:$,start:j,end:q};if(E.locations){ae.loc=new Ke(this,G,ie)}if(E.ranges){ae.range=[j,q]}R.push(ae)}}var Xe=1,Ye=2,Ze=4,et=8,tt=16,nt=32,rt=64,st=128,it=256,ot=Xe|Ye|it;function functionFlags(E,R){return Ye|(E?Ze:0)|(R?et:0)}var lt=0,ct=1,ut=2,pt=3,dt=4,ft=5;var ht=function Parser(E,N,j){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp($[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){q=R[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var G=(q?q+" ":"")+R.strict;this.reservedWordsStrict=wordsRegexp(G);this.reservedWordsStrictBind=wordsRegexp(G+" "+R.strictBind);this.input=String(N);this.containsEsc=false;if(j){this.pos=j;this.lineStart=this.input.lastIndexOf("\n",j-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Te.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Xe);this.regexpState=null;this.privateNameStack=[]};var mt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};ht.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};mt.inFunction.get=function(){return(this.currentVarScope().flags&Ye)>0};mt.inGenerator.get=function(){return(this.currentVarScope().flags&et)>0&&!this.currentVarScope().inClassFieldInit};mt.inAsync.get=function(){return(this.currentVarScope().flags&Ze)>0&&!this.currentVarScope().inClassFieldInit};mt.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var R=this.scopeStack[E];if(R.inClassFieldInit||R.flags&it){return false}if(R.flags&Ye){return(R.flags&Ze)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};mt.allowSuper.get=function(){var E=this.currentThisScope();var R=E.flags;var N=E.inClassFieldInit;return(R&rt)>0||N||this.options.allowSuperOutsideMethod};mt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&st)>0};mt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};mt.allowNewDotTarget.get=function(){var E=this.currentThisScope();var R=E.flags;var N=E.inClassFieldInit;return(R&(Ye|it))>0||N};mt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&it)>0};ht.extend=function extend(){var E=[],R=arguments.length;while(R--)E[R]=arguments[R];var N=this;for(var $=0;$=,?^&]/.test(j)||j==="!"&&this.input.charAt($+1)==="=")}E+=R[0].length;je.lastIndex=E;E+=je.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};gt.eat=function(E){if(this.type===E){this.next();return true}else{return false}};gt.isContextual=function(E){return this.type===Te.name&&this.value===E&&!this.containsEsc};gt.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};gt.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};gt.canInsertSemicolon=function(){return this.type===Te.eof||this.type===Te.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};gt.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};gt.semicolon=function(){if(!this.eat(Te.semi)&&!this.insertSemicolon()){this.unexpected()}};gt.afterTrailingComma=function(E,R){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!R){this.next()}return true}};gt.expect=function(E){this.eat(E)||this.unexpected()};gt.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}gt.checkPatternErrors=function(E,R){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var N=R?E.parenthesizedAssign:E.parenthesizedBind;if(N>-1){this.raiseRecoverable(N,"Parenthesized pattern")}};gt.checkExpressionErrors=function(E,R){if(!E){return false}var N=E.shorthandAssign;var $=E.doubleProto;if(!R){return N>=0||$>=0}if(N>=0){this.raise(N,"Shorthand property assignments are valid only in destructuring patterns")}if($>=0){this.raiseRecoverable($,"Redefinition of __proto__ property")}};gt.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&$<56320){return true}if(E){return false}if($===123){return true}if(isIdentifierStart($,true)){var q=N+1;while(isIdentifierChar($=this.input.charCodeAt(q),true)){++q}if($===92||$>55295&&$<56320){return true}var G=this.input.slice(N,q);if(!j.test(G)){return true}}return false};vt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}je.lastIndex=this.pos;var E=je.exec(this.input);var R=this.pos+E[0].length,N;return!Ne.test(this.input.slice(this.pos,R))&&this.input.slice(R,R+8)==="function"&&(R+8===this.input.length||!(isIdentifierChar(N=this.input.charCodeAt(R+8))||N>55295&&N<56320))};vt.parseStatement=function(E,R,N){var $=this.type,j=this.startNode(),q;if(this.isLet(E)){$=Te._var;q="let"}switch($){case Te._break:case Te._continue:return this.parseBreakContinueStatement(j,$.keyword);case Te._debugger:return this.parseDebuggerStatement(j);case Te._do:return this.parseDoStatement(j);case Te._for:return this.parseForStatement(j);case Te._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(j,false,!E);case Te._class:if(E){this.unexpected()}return this.parseClass(j,true);case Te._if:return this.parseIfStatement(j);case Te._return:return this.parseReturnStatement(j);case Te._switch:return this.parseSwitchStatement(j);case Te._throw:return this.parseThrowStatement(j);case Te._try:return this.parseTryStatement(j);case Te._const:case Te._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement(j,q);case Te._while:return this.parseWhileStatement(j);case Te._with:return this.parseWithStatement(j);case Te.braceL:return this.parseBlock(true,j);case Te.semi:return this.parseEmptyStatement(j);case Te._export:case Te._import:if(this.options.ecmaVersion>10&&$===Te._import){je.lastIndex=this.pos;var G=je.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement(j,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!R){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return $===Te._import?this.parseImport(j):this.parseExport(j,N);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement(j,true,!E)}var le=this.value,_e=this.parseExpression();if($===Te.name&&_e.type==="Identifier"&&this.eat(Te.colon)){return this.parseLabeledStatement(j,le,_e,E)}else{return this.parseExpressionStatement(j,_e)}}};vt.parseBreakContinueStatement=function(E,R){var N=R==="break";this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Te.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var $=0;for(;$=6){this.eat(Te.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};vt.parseForStatement=function(E){this.next();var R=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(bt);this.enterScope(0);this.expect(Te.parenL);if(this.type===Te.semi){if(R>-1){this.unexpected(R)}return this.parseFor(E,null)}var N=this.isLet();if(this.type===Te._var||this.type===Te._const||N){var $=this.startNode(),j=N?"let":this.value;this.next();this.parseVar($,true,j);this.finishNode($,"VariableDeclaration");if((this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&$.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}return this.parseForIn(E,$)}if(R>-1){this.unexpected(R)}return this.parseFor(E,$)}var q=this.isContextual("let"),G=false;var ie=new DestructuringErrors;var ae=this.parseExpression(R>-1?"await":true,ie);if(this.type===Te._in||(G=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}if(q&&G){this.raise(ae.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(ae,false,ie);this.checkLValPattern(ae);return this.parseForIn(E,ae)}else{this.checkExpressionErrors(ie,true)}if(R>-1){this.unexpected(R)}return this.parseFor(E,ae)};vt.parseFunctionStatement=function(E,R,N){this.next();return this.parseFunction(E,xt|(N?0:Et),false,R)};vt.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Te._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};vt.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};vt.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Te.braceL);this.labels.push(_t);this.enterScope(0);var R;for(var N=false;this.type!==Te.braceR;){if(this.type===Te._case||this.type===Te._default){var $=this.type===Te._case;if(R){this.finishNode(R,"SwitchCase")}E.cases.push(R=this.startNode());R.consequent=[];this.next();if($){R.test=this.parseExpression()}else{if(N){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}N=true;R.test=null}this.expect(Te.colon)}else{if(!R){this.unexpected()}R.consequent.push(this.parseStatement(null))}}this.exitScope();if(R){this.finishNode(R,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};vt.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var kt=[];vt.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Te._catch){var R=this.startNode();this.next();if(this.eat(Te.parenL)){R.param=this.parseBindingAtom();var N=R.param.type==="Identifier";this.enterScope(N?nt:0);this.checkLValPattern(R.param,N?dt:ut);this.expect(Te.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}R.param=null;this.enterScope(0)}R.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(R,"CatchClause")}E.finalizer=this.eat(Te._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};vt.parseVarStatement=function(E,R){this.next();this.parseVar(E,false,R);this.semicolon();return this.finishNode(E,"VariableDeclaration")};vt.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(bt);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};vt.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};vt.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};vt.parseLabeledStatement=function(E,R,N,$){for(var j=0,q=this.labels;j=0;ae--){var le=this.labels[ae];if(le.statementStart===E.start){le.statementStart=this.start;le.kind=ie}else{break}}this.labels.push({name:R,kind:ie,statementStart:this.start});E.body=this.parseStatement($?$.indexOf("label")===-1?$+"label":$:"label");this.labels.pop();E.label=N;return this.finishNode(E,"LabeledStatement")};vt.parseExpressionStatement=function(E,R){E.expression=R;this.semicolon();return this.finishNode(E,"ExpressionStatement")};vt.parseBlock=function(E,R,N){if(E===void 0)E=true;if(R===void 0)R=this.startNode();R.body=[];this.expect(Te.braceL);if(E){this.enterScope(0)}while(this.type!==Te.braceR){var $=this.parseStatement(null);R.body.push($)}if(N){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(R,"BlockStatement")};vt.parseFor=function(E,R){E.init=R;this.expect(Te.semi);E.test=this.type===Te.semi?null:this.parseExpression();this.expect(Te.semi);E.update=this.type===Te.parenR?null:this.parseExpression();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};vt.parseForIn=function(E,R){var N=this.type===Te._in;this.next();if(R.type==="VariableDeclaration"&&R.declarations[0].init!=null&&(!N||this.options.ecmaVersion<8||this.strict||R.kind!=="var"||R.declarations[0].id.type!=="Identifier")){this.raise(R.start,(N?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=R;E.right=N?this.parseExpression():this.parseMaybeAssign();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,N?"ForInStatement":"ForOfStatement")};vt.parseVar=function(E,R,N){E.declarations=[];E.kind=N;for(;;){var $=this.startNode();this.parseVarId($,N);if(this.eat(Te.eq)){$.init=this.parseMaybeAssign(R)}else if(N==="const"&&!(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if($.id.type!=="Identifier"&&!(R&&(this.type===Te._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{$.init=null}E.declarations.push(this.finishNode($,"VariableDeclarator"));if(!this.eat(Te.comma)){break}}return E};vt.parseVarId=function(E,R){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,R==="var"?ct:ut,false)};var xt=1,Et=2,wt=4;vt.parseFunction=function(E,R,N,$,j){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!$){if(this.type===Te.star&&R&Et){this.unexpected()}E.generator=this.eat(Te.star)}if(this.options.ecmaVersion>=8){E.async=!!$}if(R&xt){E.id=R&wt&&this.type!==Te.name?null:this.parseIdent();if(E.id&&!(R&Et)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?ct:ut:pt)}}var q=this.yieldPos,G=this.awaitPos,ie=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(R&xt)){E.id=this.type===Te.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,N,false,j);this.yieldPos=q;this.awaitPos=G;this.awaitIdentPos=ie;return this.finishNode(E,R&xt?"FunctionDeclaration":"FunctionExpression")};vt.parseFunctionParams=function(E){this.expect(Te.parenL);E.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};vt.parseClass=function(E,R){this.next();var N=this.strict;this.strict=true;this.parseClassId(E,R);this.parseClassSuper(E);var $=this.enterClassBody();var j=this.startNode();var q=false;j.body=[];this.expect(Te.braceL);while(this.type!==Te.braceR){var G=this.parseClassElement(E.superClass!==null);if(G){j.body.push(G);if(G.type==="MethodDefinition"&&G.kind==="constructor"){if(q){this.raise(G.start,"Duplicate constructor in the same class")}q=true}else if(G.key&&G.key.type==="PrivateIdentifier"&&isPrivateNameConflicted($,G)){this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared")}}}this.strict=N;this.next();E.body=this.finishNode(j,"ClassBody");this.exitClassBody();return this.finishNode(E,R?"ClassDeclaration":"ClassExpression")};vt.parseClassElement=function(E){if(this.eat(Te.semi)){return null}var R=this.options.ecmaVersion;var N=this.startNode();var $="";var j=false;var q=false;var G="method";var ie=false;if(this.eatContextual("static")){if(R>=13&&this.eat(Te.braceL)){this.parseClassStaticBlock(N);return N}if(this.isClassElementNameStart()||this.type===Te.star){ie=true}else{$="static"}}N.static=ie;if(!$&&R>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Te.star)&&!this.canInsertSemicolon()){q=true}else{$="async"}}if(!$&&(R>=9||!q)&&this.eat(Te.star)){j=true}if(!$&&!q&&!j){var ae=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){G=ae}else{$=ae}}}if($){N.computed=false;N.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);N.key.name=$;this.finishNode(N.key,"Identifier")}else{this.parseClassElementName(N)}if(R<13||this.type===Te.parenL||G!=="method"||j||q){var le=!N.static&&checkKeyName(N,"constructor");var _e=le&&E;if(le&&G!=="method"){this.raise(N.key.start,"Constructor can't have get/set modifier")}N.kind=le?"constructor":G;this.parseClassMethod(N,j,q,_e)}else{this.parseClassField(N)}return N};vt.isClassElementNameStart=function(){return this.type===Te.name||this.type===Te.privateId||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword};vt.parseClassElementName=function(E){if(this.type===Te.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};vt.parseClassMethod=function(E,R,N,$){var j=E.key;if(E.kind==="constructor"){if(R){this.raise(j.start,"Constructor can't be a generator")}if(N){this.raise(j.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise(j.start,"Classes may not have a static property named prototype")}var q=E.value=this.parseMethod(R,N,$);if(E.kind==="get"&&q.params.length!==0){this.raiseRecoverable(q.start,"getter should have no params")}if(E.kind==="set"&&q.params.length!==1){this.raiseRecoverable(q.start,"setter should have exactly one param")}if(E.kind==="set"&&q.params[0].type==="RestElement"){this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};vt.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Te.eq)){var R=this.currentThisScope();var N=R.inClassFieldInit;R.inClassFieldInit=true;E.value=this.parseMaybeAssign();R.inClassFieldInit=N}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};vt.parseClassStaticBlock=function(E){E.body=[];var R=this.labels;this.labels=[];this.enterScope(it|rt);while(this.type!==Te.braceR){var N=this.parseStatement(null);E.body.push(N)}this.next();this.exitScope();this.labels=R;return this.finishNode(E,"StaticBlock")};vt.parseClassId=function(E,R){if(this.type===Te.name){E.id=this.parseIdent();if(R){this.checkLValSimple(E.id,ut,false)}}else{if(R===true){this.unexpected()}E.id=null}};vt.parseClassSuper=function(E){E.superClass=this.eat(Te._extends)?this.parseExprSubscripts(false):null};vt.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};vt.exitClassBody=function(){var E=this.privateNameStack.pop();var R=E.declared;var N=E.used;var $=this.privateNameStack.length;var j=$===0?null:this.privateNameStack[$-1];for(var q=0;q=11){if(this.eatContextual("as")){E.exported=this.parseModuleExportName();this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Te._default)){this.checkExport(R,"default",this.lastTokStart);var N;if(this.type===Te._function||(N=this.isAsyncFunction())){var $=this.startNode();this.next();if(N){this.next()}E.declaration=this.parseFunction($,xt|wt,false,N)}else if(this.type===Te._class){var j=this.startNode();E.declaration=this.parseClass(j,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=13&&this.type===Te.string){var E=this.parseLiteral(this.value);if(We.test(E.value)){this.raise(E.start,"An export name cannot include a lone surrogate.")}return E}return this.parseIdent(true)};vt.adaptDirectivePrologue=function(E){for(var R=0;R=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(N){this.checkPatternErrors(N,true)}for(var $=0,j=E.properties;$=8&&!G&&ie.name==="async"&&!this.canInsertSemicolon()&&this.eat(Te._function)){this.overrideContext(Ct.f_expr);return this.parseFunction(this.startNodeAt(j,q),0,false,true,R)}if($&&!this.canInsertSemicolon()){if(this.eat(Te.arrow)){return this.parseArrowExpression(this.startNodeAt(j,q),[ie],false,R)}if(this.options.ecmaVersion>=8&&ie.name==="async"&&this.type===Te.name&&!G&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){ie=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Te.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(j,q),[ie],true,R)}}return ie;case Te.regexp:var ae=this.value;N=this.parseLiteral(ae.value);N.regex={pattern:ae.pattern,flags:ae.flags};return N;case Te.num:case Te.string:return this.parseLiteral(this.value);case Te._null:case Te._true:case Te._false:N=this.startNode();N.value=this.type===Te._null?null:this.type===Te._true;N.raw=this.type.keyword;this.next();return this.finishNode(N,"Literal");case Te.parenL:var le=this.start,_e=this.parseParenAndDistinguishExpression($,R);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(_e)){E.parenthesizedAssign=le}if(E.parenthesizedBind<0){E.parenthesizedBind=le}}return _e;case Te.bracketL:N=this.startNode();this.next();N.elements=this.parseExprList(Te.bracketR,true,true,E);return this.finishNode(N,"ArrayExpression");case Te.braceL:this.overrideContext(Ct.b_expr);return this.parseObj(false,E);case Te._function:N=this.startNode();this.next();return this.parseFunction(N,0);case Te._class:return this.parseClass(this.startNode(),false);case Te._new:return this.parseNew();case Te.backQuote:return this.parseTemplate();case Te._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Mt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var R=this.parseIdent(true);switch(this.type){case Te.parenL:return this.parseDynamicImport(E);case Te.dot:E.meta=R;return this.parseImportMeta(E);default:this.unexpected()}};Mt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Te.parenR)){var R=this.start;if(this.eat(Te.comma)&&this.eat(Te.parenR)){this.raiseRecoverable(R,"Trailing comma is not allowed in import()")}else{this.unexpected(R)}}return this.finishNode(E,"ImportExpression")};Mt.parseImportMeta=function(E){this.next();var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(R){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Mt.parseLiteral=function(E){var R=this.startNode();R.value=E;R.raw=this.input.slice(this.start,this.end);if(R.raw.charCodeAt(R.raw.length-1)===110){R.bigint=R.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(R,"Literal")};Mt.parseParenExpression=function(){this.expect(Te.parenL);var E=this.parseExpression();this.expect(Te.parenR);return E};Mt.parseParenAndDistinguishExpression=function(E,R){var N=this.start,$=this.startLoc,j,q=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var G=this.start,ie=this.startLoc;var ae=[],le=true,_e=false;var Ee=new DestructuringErrors,we=this.yieldPos,Me=this.awaitPos,Ie;this.yieldPos=0;this.awaitPos=0;while(this.type!==Te.parenR){le?le=false:this.expect(Te.comma);if(q&&this.afterTrailingComma(Te.parenR,true)){_e=true;break}else if(this.type===Te.ellipsis){Ie=this.start;ae.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ae.push(this.parseMaybeAssign(false,Ee,this.parseParenItem))}}var Ne=this.lastTokEnd,Be=this.lastTokEndLoc;this.expect(Te.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Te.arrow)){this.checkPatternErrors(Ee,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=we;this.awaitPos=Me;return this.parseParenArrowList(N,$,ae,R)}if(!ae.length||_e){this.unexpected(this.lastTokStart)}if(Ie){this.unexpected(Ie)}this.checkExpressionErrors(Ee,true);this.yieldPos=we||this.yieldPos;this.awaitPos=Me||this.awaitPos;if(ae.length>1){j=this.startNodeAt(G,ie);j.expressions=ae;this.finishNodeAt(j,"SequenceExpression",Ne,Be)}else{j=ae[0]}}else{j=this.parseParenExpression()}if(this.options.preserveParens){var Le=this.startNodeAt(N,$);Le.expression=j;return this.finishNode(Le,"ParenthesizedExpression")}else{return j}};Mt.parseParenItem=function(E){return E};Mt.parseParenArrowList=function(E,R,N,$){return this.parseArrowExpression(this.startNodeAt(E,R),N,false,$)};var It=[];Mt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var R=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Te.dot)){E.meta=R;var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(N){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.allowNewDotTarget){this.raiseRecoverable(E.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(E,"MetaProperty")}var $=this.start,j=this.startLoc,q=this.type===Te._import;E.callee=this.parseSubscripts(this.parseExprAtom(),$,j,true,false);if(q&&E.callee.type==="ImportExpression"){this.raise($,"Cannot use new with import()")}if(this.eat(Te.parenL)){E.arguments=this.parseExprList(Te.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=It}return this.finishNode(E,"NewExpression")};Mt.parseTemplateElement=function(E){var R=E.isTagged;var N=this.startNode();if(this.type===Te.invalidTemplate){if(!R){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}N.value={raw:this.value,cooked:null}}else{N.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();N.tail=this.type===Te.backQuote;return this.finishNode(N,"TemplateElement")};Mt.parseTemplate=function(E){if(E===void 0)E={};var R=E.isTagged;if(R===void 0)R=false;var N=this.startNode();this.next();N.expressions=[];var $=this.parseTemplateElement({isTagged:R});N.quasis=[$];while(!$.tail){if(this.type===Te.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Te.dollarBraceL);N.expressions.push(this.parseExpression());this.expect(Te.braceR);N.quasis.push($=this.parseTemplateElement({isTagged:R}))}this.next();return this.finishNode(N,"TemplateLiteral")};Mt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Te.name||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Te.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Mt.parseObj=function(E,R){var N=this.startNode(),$=true,j={};N.properties=[];this.next();while(!this.eat(Te.braceR)){if(!$){this.expect(Te.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Te.braceR)){break}}else{$=false}var q=this.parseProperty(E,R);if(!E){this.checkPropClash(q,j,R)}N.properties.push(q)}return this.finishNode(N,E?"ObjectPattern":"ObjectExpression")};Mt.parseProperty=function(E,R){var N=this.startNode(),$,j,q,G;if(this.options.ecmaVersion>=9&&this.eat(Te.ellipsis)){if(E){N.argument=this.parseIdent(false);if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(N,"RestElement")}if(this.type===Te.parenL&&R){if(R.parenthesizedAssign<0){R.parenthesizedAssign=this.start}if(R.parenthesizedBind<0){R.parenthesizedBind=this.start}}N.argument=this.parseMaybeAssign(false,R);if(this.type===Te.comma&&R&&R.trailingComma<0){R.trailingComma=this.start}return this.finishNode(N,"SpreadElement")}if(this.options.ecmaVersion>=6){N.method=false;N.shorthand=false;if(E||R){q=this.start;G=this.startLoc}if(!E){$=this.eat(Te.star)}}var ie=this.containsEsc;this.parsePropertyName(N);if(!E&&!ie&&this.options.ecmaVersion>=8&&!$&&this.isAsyncProp(N)){j=true;$=this.options.ecmaVersion>=9&&this.eat(Te.star);this.parsePropertyName(N,R)}else{j=false}this.parsePropertyValue(N,E,$,j,q,G,R,ie);return this.finishNode(N,"Property")};Mt.parsePropertyValue=function(E,R,N,$,j,q,G,ie){if((N||$)&&this.type===Te.colon){this.unexpected()}if(this.eat(Te.colon)){E.value=R?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Te.parenL){if(R){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(N,$)}else if(!R&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Te.comma&&this.type!==Te.braceR&&this.type!==Te.eq)){if(N||$){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var le=E.value.start;if(E.kind==="get"){this.raiseRecoverable(le,"getter should have no params")}else{this.raiseRecoverable(le,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(N||$){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=j}E.kind="init";if(R){E.value=this.parseMaybeDefault(j,q,this.copyNode(E.key))}else if(this.type===Te.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault(j,q,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};Mt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Te.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Te.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Te.num||this.type===Te.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Mt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Mt.parseMethod=function(E,R,N){var $=this.startNode(),j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction($);if(this.options.ecmaVersion>=6){$.generator=E}if(this.options.ecmaVersion>=8){$.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(R,$.generator)|rt|(N?st:0));this.expect(Te.parenL);$.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody($,false,true,false);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode($,"FunctionExpression")};Mt.parseArrowExpression=function(E,R,N,$){var j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.enterScope(functionFlags(N,false)|tt);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(R,true);this.parseFunctionBody(E,true,false,$);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,"ArrowFunctionExpression")};Mt.parseFunctionBody=function(E,R,N,$){var j=R&&this.type!==Te.braceL;var q=this.strict,G=false;if(j){E.body=this.parseMaybeAssign($);E.expression=true;this.checkParams(E,false)}else{var ie=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!q||ie){G=this.strictDirective(this.end);if(G&&ie){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ae=this.labels;this.labels=[];if(G){this.strict=true}this.checkParams(E,!q&&!G&&!R&&!N&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,ft)}E.body=this.parseBlock(false,undefined,G&&!q);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ae}this.exitScope()};Mt.isSimpleParamList=function(E){for(var R=0,N=E;R-1||j.functions.indexOf(E)>-1||j.var.indexOf(E)>-1;j.lexical.push(E);if(this.inModule&&j.flags&Xe){delete this.undefinedExports[E]}}else if(R===dt){var q=this.currentScope();q.lexical.push(E)}else if(R===pt){var G=this.currentScope();if(this.treatFunctionsAsVar){$=G.lexical.indexOf(E)>-1}else{$=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&nt&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){$=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Xe){delete this.undefinedExports[E]}if(ae.flags&ot){break}}}if($){this.raiseRecoverable(N,"Identifier '"+E+"' has already been declared")}};Ot.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Ot.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ot.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&ot){return R}}};Ot.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&ot&&!(R.flags&tt)){return R}}};var Rt=function Node(E,R,N){this.type="";this.start=R;this.end=0;if(E.options.locations){this.loc=new Ke(E,N)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[R,0]}};var Ft=ht.prototype;Ft.startNode=function(){return new Rt(this,this.start,this.startLoc)};Ft.startNodeAt=function(E,R){return new Rt(this,E,R)};function finishNodeAt(E,R,N,$){E.type=R;E.end=N;if(this.options.locations){E.loc.end=$}if(this.options.ranges){E.range[1]=N}return E}Ft.finishNode=function(E,R){return finishNodeAt.call(this,E,R,this.lastTokEnd,this.lastTokEndLoc)};Ft.finishNodeAt=function(E,R,N,$){return finishNodeAt.call(this,E,R,N,$)};Ft.copyNode=function(E){var R=new Rt(this,E.start,this.startLoc);for(var N in E){R[N]=E[N]}return R};var Nt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Bt=Nt+" Extended_Pictographic";var Lt=Bt;var $t=Lt+" EBase EComp EMod EPres ExtPict";var jt=$t;var zt={9:Nt,10:Bt,11:Lt,12:$t,13:jt};var Ut="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var qt="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Gt=qt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ht=Gt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Wt=Ht+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Vt=Wt+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Kt={9:qt,10:Gt,11:Ht,12:Wt,13:Vt};var Qt={};function buildUnicodeData(E){var R=Qt[E]={binary:wordsRegexp(zt[E]+" "+Ut),nonBinary:{General_Category:wordsRegexp(Ut),Script:wordsRegexp(Kt[E])}};R.nonBinary.Script_Extensions=R.nonBinary.Script;R.nonBinary.gc=R.nonBinary.General_Category;R.nonBinary.sc=R.nonBinary.Script;R.nonBinary.scx=R.nonBinary.Script_Extensions}for(var Jt=0,Xt=[9,10,11,12,13];Jt=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Qt[E.options.ecmaVersion>=13?13:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};en.prototype.reset=function reset(E,R,N){var $=N.indexOf("u")!==-1;this.start=E|0;this.source=R+"";this.flags=N;this.switchU=$&&this.parser.options.ecmaVersion>=6;this.switchN=$&&this.parser.options.ecmaVersion>=9};en.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};en.prototype.at=function at(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return-1}var j=N.charCodeAt(E);if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$){return j}var q=N.charCodeAt(E+1);return q>=56320&&q<=57343?(j<<10)+q-56613888:j};en.prototype.nextIndex=function nextIndex(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return $}var j=N.charCodeAt(E),q;if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$||(q=N.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};en.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};en.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};en.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};en.prototype.eat=function eat(E,R){if(R===void 0)R=false;if(this.current(R)===E){this.advance(R);return true}return false};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Zt.validateRegExpFlags=function(E){var R=E.validFlags;var N=E.flags;for(var $=0;$-1){this.raise(E.start,"Duplicate regular expression flag")}}};Zt.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};Zt.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var R=0,N=E.backReferenceNames;R=9){N=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!N;return true}}E.pos=R;return false};Zt.regexp_eatQuantifier=function(E,R){if(R===void 0)R=false;if(this.regexp_eatQuantifierPrefix(E,R)){E.eat(63);return true}return false};Zt.regexp_eatQuantifierPrefix=function(E,R){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,R)};Zt.regexp_eatBracedQuantifier=function(E,R){var N=E.pos;if(E.eat(123)){var $=0,j=-1;if(this.regexp_eatDecimalDigits(E)){$=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){j=E.lastIntValue}if(E.eat(125)){if(j!==-1&&j<$&&!R){E.raise("numbers out of order in {} quantifier")}return true}}if(E.switchU&&!R){E.raise("Incomplete quantifier")}E.pos=N}return false};Zt.regexp_eatAtom=function(E){return this.regexp_eatPatternCharacters(E)||E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)};Zt.regexp_eatReverseSolidusAtomEscape=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatAtomEscape(E)){return true}E.pos=R}return false};Zt.regexp_eatUncapturingGroup=function(E){var R=E.pos;if(E.eat(40)){if(E.eat(63)&&E.eat(58)){this.regexp_disjunction(E);if(E.eat(41)){return true}E.raise("Unterminated group")}E.pos=R}return false};Zt.regexp_eatCapturingGroup=function(E){if(E.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};Zt.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};Zt.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};Zt.regexp_eatSyntaxCharacter=function(E){var R=E.current();if(isSyntaxCharacter(R)){E.lastIntValue=R;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}Zt.regexp_eatPatternCharacters=function(E){var R=E.pos;var N=0;while((N=E.current())!==-1&&!isSyntaxCharacter(N)){E.advance()}return E.pos!==R};Zt.regexp_eatExtendedPatternCharacter=function(E){var R=E.current();if(R!==-1&&R!==36&&!(R>=40&&R<=43)&&R!==46&&R!==63&&R!==91&&R!==94&&R!==124){E.advance();return true}return false};Zt.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};Zt.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};Zt.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString$1(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString$1(E.lastIntValue)}return true}return false};Zt.regexp_eatRegExpIdentifierStart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierStart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}Zt.regexp_eatRegExpIdentifierPart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierPart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}Zt.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};Zt.regexp_eatBackReference=function(E){var R=E.pos;if(this.regexp_eatDecimalEscape(E)){var N=E.lastIntValue;if(E.switchU){if(N>E.maxBackReference){E.maxBackReference=N}return true}if(N<=E.numCapturingParens){return true}E.pos=R}return false};Zt.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};Zt.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};Zt.regexp_eatCControlLetter=function(E){var R=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=R}return false};Zt.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};Zt.regexp_eatControlEscape=function(E){var R=E.current();if(R===116){E.lastIntValue=9;E.advance();return true}if(R===110){E.lastIntValue=10;E.advance();return true}if(R===118){E.lastIntValue=11;E.advance();return true}if(R===102){E.lastIntValue=12;E.advance();return true}if(R===114){E.lastIntValue=13;E.advance();return true}return false};Zt.regexp_eatControlLetter=function(E){var R=E.current();if(isControlLetter(R)){E.lastIntValue=R%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}Zt.regexp_eatRegExpUnicodeEscapeSequence=function(E,R){if(R===void 0)R=false;var N=E.pos;var $=R||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var j=E.lastIntValue;if($&&j>=55296&&j<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=(j-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=j}return true}if($&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if($){E.raise("Invalid unicode escape")}E.pos=N}return false};function isValidUnicode(E){return E>=0&&E<=1114111}Zt.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var R=E.current();if(R!==99&&(!E.switchN||R!==107)){E.lastIntValue=R;E.advance();return true}return false};Zt.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var R=E.current();if(R>=49&&R<=57){do{E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}while((R=E.current())>=48&&R<=57);return true}return false};Zt.regexp_eatCharacterClassEscape=function(E){var R=E.current();if(isCharacterClassEscape(R)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(R===80||R===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}Zt.regexp_eatUnicodePropertyValueExpression=function(E){var R=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var N=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,N,$);return true}}E.pos=R;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,j);return true}return false};Zt.regexp_validateUnicodePropertyNameAndValue=function(E,R,N){if(!Ge(E.unicodeProperties.nonBinary,R)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[R].test(N)){E.raise("Invalid property value")}};Zt.regexp_validateUnicodePropertyNameOrValue=function(E,R){if(!E.unicodeProperties.binary.test(R)){E.raise("Invalid property name")}};Zt.regexp_eatUnicodePropertyName=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(R=E.current())){E.lastStringValue+=codePointToString$1(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}Zt.regexp_eatUnicodePropertyValue=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(R=E.current())){E.lastStringValue+=codePointToString$1(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}Zt.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};Zt.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};Zt.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.switchU&&(R===-1||N===-1)){E.raise("Invalid character class")}if(R!==-1&&N!==-1&&R>N){E.raise("Range out of order in character class")}}}};Zt.regexp_eatClassAtom=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var N=E.current();if(N===99||isOctalDigit(N)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=R}var $=E.current();if($!==93){E.lastIntValue=$;E.advance();return true}return false};Zt.regexp_eatClassEscape=function(E){var R=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=R}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};Zt.regexp_eatClassControlLetter=function(E){var R=E.current();if(isDecimalDigit(R)||R===95){E.lastIntValue=R%32;E.advance();return true}return false};Zt.regexp_eatHexEscapeSequence=function(E){var R=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=R}return false};Zt.regexp_eatDecimalDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isDecimalDigit(N=E.current())){E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}return E.pos!==R};function isDecimalDigit(E){return E>=48&&E<=57}Zt.regexp_eatHexDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isHexDigit(N=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(N);E.advance()}return E.pos!==R};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}Zt.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(R<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=R*64+N*8+E.lastIntValue}else{E.lastIntValue=R*8+N}}else{E.lastIntValue=R}return true}return false};Zt.regexp_eatOctalDigit=function(E){var R=E.current();if(isOctalDigit(R)){E.lastIntValue=R-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}Zt.regexp_eatFixedHexDigits=function(E,R){var N=E.pos;E.lastIntValue=0;for(var $=0;$=this.input.length){return this.finishToken(Te.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};nn.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};nn.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var R=this.input.charCodeAt(this.pos+1);return R<=56319||R>=57344?E:(E<<10)+R-56613888};nn.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var R=this.pos,N=this.input.indexOf("*/",this.pos+=2);if(N===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=N+2;if(this.options.locations){for(var $=void 0,j=R;($=nextLineBreak(this.input,j,this.pos))>-1;){++this.curLine;j=this.lineStart=$}}if(this.options.onComment){this.options.onComment(true,this.input.slice(R+2,N),R,this.pos,E,this.curPosition())}};nn.skipLineComment=function(E){var R=this.pos;var N=this.options.onComment&&this.curPosition();var $=this.input.charCodeAt(this.pos+=E);while(this.pos8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};nn.finishToken=function(E,R){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var N=this.type;this.type=E;this.value=R;this.updateContext(N)};nn.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var R=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&R===46){this.pos+=3;return this.finishToken(Te.ellipsis)}else{++this.pos;return this.finishToken(Te.dot)}};nn.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.slash,1)};nn.readToken_mult_modulo_exp=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;var $=E===42?Te.star:Te.modulo;if(this.options.ecmaVersion>=7&&E===42&&R===42){++N;$=Te.starstar;R=this.input.charCodeAt(this.pos+2)}if(R===61){return this.finishOp(Te.assign,N+1)}return this.finishOp($,N)};nn.readToken_pipe_amp=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(this.options.ecmaVersion>=12){var N=this.input.charCodeAt(this.pos+2);if(N===61){return this.finishOp(Te.assign,3)}}return this.finishOp(E===124?Te.logicalOR:Te.logicalAND,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(E===124?Te.bitwiseOR:Te.bitwiseAND,1)};nn.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.bitwiseXOR,1)};nn.readToken_plus_min=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(R===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Te.incDec,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.plusMin,1)};nn.readToken_lt_gt=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;if(R===E){N=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+N)===61){return this.finishOp(Te.assign,N+1)}return this.finishOp(Te.bitShift,N)}if(R===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(R===61){N=2}return this.finishOp(Te.relational,N)};nn.readToken_eq_excl=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===61){return this.finishOp(Te.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&R===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Te.arrow)}return this.finishOp(E===61?Te.eq:Te.prefix,1)};nn.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var R=this.input.charCodeAt(this.pos+1);if(R===46){var N=this.input.charCodeAt(this.pos+2);if(N<48||N>57){return this.finishOp(Te.questionDot,2)}}if(R===63){if(E>=12){var $=this.input.charCodeAt(this.pos+2);if($===61){return this.finishOp(Te.assign,3)}}return this.finishOp(Te.coalesce,2)}}return this.finishOp(Te.question,1)};nn.readToken_numberSign=function(){var E=this.options.ecmaVersion;var R=35;if(E>=13){++this.pos;R=this.fullCharCodeAtPos();if(isIdentifierStart(R,true)||R===92){return this.finishToken(Te.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(R)+"'")};nn.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Te.parenL);case 41:++this.pos;return this.finishToken(Te.parenR);case 59:++this.pos;return this.finishToken(Te.semi);case 44:++this.pos;return this.finishToken(Te.comma);case 91:++this.pos;return this.finishToken(Te.bracketL);case 93:++this.pos;return this.finishToken(Te.bracketR);case 123:++this.pos;return this.finishToken(Te.braceL);case 125:++this.pos;return this.finishToken(Te.braceR);case 58:++this.pos;return this.finishToken(Te.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Te.backQuote);case 48:var R=this.input.charCodeAt(this.pos+1);if(R===120||R===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(R===111||R===79){return this.readRadixNumber(8)}if(R===98||R===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Te.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(E)+"'")};nn.finishOp=function(E,R){var N=this.input.slice(this.pos,this.pos+R);this.pos+=R;return this.finishToken(E,N)};nn.readRegexp=function(){var E,R,N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(N,"Unterminated regular expression")}var $=this.input.charAt(this.pos);if(Ne.test($)){this.raise(N,"Unterminated regular expression")}if(!E){if($==="["){R=true}else if($==="]"&&R){R=false}else if($==="/"&&!R){break}E=$==="\\"}else{E=false}++this.pos}var j=this.input.slice(N,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new en(this));ie.reset(N,j,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp(j,G)}catch(E){}return this.finishToken(Te.regexp,{pattern:j,flags:G,value:ae})};nn.readInt=function(E,R,N){var $=this.options.ecmaVersion>=12&&R===undefined;var j=N&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,le=R==null?Infinity:R;ae=97){Ee=_e-97+10}else if(_e>=65){Ee=_e-65+10}else if(_e>=48&&_e<=57){Ee=_e-48}else{Ee=Infinity}if(Ee>=E){break}ie=_e;G=G*E+Ee}if($&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||R!=null&&this.pos-q!==R){return null}return G};function stringToNumber(E,R){if(R){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}nn.readRadixNumber=function(E){var R=this.pos;this.pos+=2;var N=this.readInt(E);if(N==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){N=stringToBigInt(this.input.slice(R,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,N)};nn.readNumber=function(E){var R=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(R,"Invalid number")}var N=this.pos-R>=2&&this.input.charCodeAt(R)===48;if(N&&this.strict){this.raise(R,"Invalid number")}var $=this.input.charCodeAt(this.pos);if(!N&&!E&&this.options.ecmaVersion>=11&&$===110){var j=stringToBigInt(this.input.slice(R,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,j)}if(N&&/[89]/.test(this.input.slice(R,this.pos))){N=false}if($===46&&!N){++this.pos;this.readInt(10);$=this.input.charCodeAt(this.pos)}if(($===69||$===101)&&!N){$=this.input.charCodeAt(++this.pos);if($===43||$===45){++this.pos}if(this.readInt(10)===null){this.raise(R,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(R,this.pos),N);return this.finishToken(Te.num,q)};nn.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),R;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var N=++this.pos;R=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(R>1114111){this.invalidStringToken(N,"Code point out of bounds")}}else{R=this.readHexChar(4)}return R};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}nn.readString=function(E){var R="",N=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var $=this.input.charCodeAt(this.pos);if($===E){break}if($===92){R+=this.input.slice(N,this.pos);R+=this.readEscapedChar(false);N=this.pos}else if($===8232||$===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine($)){this.raise(this.start,"Unterminated string constant")}++this.pos}}R+=this.input.slice(N,this.pos++);return this.finishToken(Te.string,R)};var rn={};nn.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===rn){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};nn.invalidStringToken=function(E,R){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw rn}else{this.raise(E,R)}};nn.readTmplToken=function(){var E="",R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var N=this.input.charCodeAt(this.pos);if(N===96||N===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Te.template||this.type===Te.invalidTemplate)){if(N===36){this.pos+=2;return this.finishToken(Te.dollarBraceL)}else{++this.pos;return this.finishToken(Te.backQuote)}}E+=this.input.slice(R,this.pos);return this.finishToken(Te.template,E)}if(N===92){E+=this.input.slice(R,this.pos);E+=this.readEscapedChar(true);R=this.pos}else if(isNewLine(N)){E+=this.input.slice(R,this.pos);++this.pos;switch(N){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(N);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}R=this.pos}else{++this.pos}}};nn.readInvalidTemplateToken=function(){for(;this.pos=48&&R<=55){var $=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var j=parseInt($,8);if(j>255){$=$.slice(0,-1);j=parseInt($,8)}this.pos+=$.length-1;R=this.input.charCodeAt(this.pos);if(($!=="0"||R===56||R===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-$.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(j)}if(isNewLine(R)){return""}return String.fromCharCode(R)}};nn.readHexChar=function(E){var R=this.pos;var N=this.readInt(16,E);if(N===null){this.invalidStringToken(R,"Bad character escape sequence")}return N};nn.readWord1=function(){this.containsEsc=false;var E="",R=true,N=this.pos;var $=this.options.ecmaVersion>=6;while(this.pos{"use strict";var $=N(62310);E.exports=defineKeywords;function defineKeywords(E,R){if(Array.isArray(R)){for(var N=0;N{"use strict";var $=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var j=/t|\s/i;var q={date:compareDate,time:compareTime,"date-time":compareDateTime};var G={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var R="format"+E;return function defFunc($){defFunc.definition={type:"string",inline:N(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},G]}};$.addKeyword(R,defFunc.definition);$.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},G]}});extendFormats($);return $}};function extendFormats(E){var R=E._formats;for(var N in q){var $=R[N];if(typeof $!="object"||$ instanceof RegExp||!$.validate)$=R[N]={validate:$};if(!$.compare)$.compare=q[N]}}function compareDate(E,R){if(!(E&&R))return;if(E>R)return 1;if(ER)return 1;if(E{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var R="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var N=E._opts.defaultMeta;if(typeof N=="string")return{$ref:N};if(E.getSchema(R))return{$ref:R};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,R){if(!E)return true;var N=Object.keys(R.properties);if(N.length==0)return true;return{required:N}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var R=E.map((function(E){return{required:[E]}}));return{anyOf:R}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var R=[];for(var N in E)R.push(getSchema(N,E[N]));return{allOf:R}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:$.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,R){var N=E.split("/");var $={};var j=$;for(var q=1;q{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,R,N){var $="";for(var j=0;j{"use strict";E.exports=function generate__formatLimit(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we="valid"+j;$+="var "+we+" = undefined;";if(E.opts.format===false){$+=" "+we+" = true; ";return $}var Me=E.schema.format,Ie=E.opts.$data&&Me.$data,Te="";if(Ie){var Ne=E.util.getData(Me.$data,q,E.dataPathArr),Be="format"+j,Le="compare"+j;$+=" var "+Be+" = formats["+Ne+"] , "+Le+" = "+Be+" && "+Be+".compare;"}else{var Be=E.formats[Me];if(!(Be&&Be.compare)){$+=" "+we+" = true; ";return $}var Le="formats"+E.util.getProperty(Me)+".compare"}var je=R=="formatMaximum",ze="formatExclusive"+(je?"Maximum":"Minimum"),Ue=E.schema[ze],qe=E.opts.$data&&Ue&&Ue.$data,Ge=je?"<":">",He="result"+j;var We=E.opts.$data&&G&&G.$data,Ve;if(We){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ve="schema"+j}else{Ve=G}if(qe){var Ke=E.util.getData(Ue.$data,q,E.dataPathArr),Qe="exclusive"+j,Je="op"+j,Xe="' + "+Je+" + '";$+=" var schemaExcl"+j+" = "+Ke+"; ";Ke="schemaExcl"+j;$+=" if (typeof "+Ke+" != 'boolean' && "+Ke+" !== undefined) { "+we+" = false; ";var _e=ze;var Ye=Ye||[];Ye.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: '"+ze+" should be boolean' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ze=$;$=Ye.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ze+"]); "}else{$+=" validate.errors = ["+Ze+"]; return false; "}}else{$+=" var err = "+Ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){Te+="}";$+=" else { "}if(We){$+=" if ("+Ve+" === undefined) "+we+" = true; else if (typeof "+Ve+" != 'string') "+we+" = false; else { ";Te+="}"}if(Ie){$+=" if (!"+Le+") "+we+" = true; else { ";Te+="}"}$+=" var "+He+" = "+Le+"("+Ee+", ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" ); if ("+He+" === undefined) "+we+" = false; var "+Qe+" = "+Ke+" === true; if ("+we+" === undefined) { "+we+" = "+Qe+" ? "+He+" "+Ge+" 0 : "+He+" "+Ge+"= 0; } if (!"+we+") var op"+j+" = "+Qe+" ? '"+Ge+"' : '"+Ge+"=';"}else{var Qe=Ue===true,Xe=Ge;if(!Qe)Xe+="=";var Je="'"+Xe+"'";if(We){$+=" if ("+Ve+" === undefined) "+we+" = true; else if (typeof "+Ve+" != 'string') "+we+" = false; else { ";Te+="}"}if(Ie){$+=" if (!"+Le+") "+we+" = true; else { ";Te+="}"}$+=" var "+He+" = "+Le+"("+Ee+", ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" ); if ("+He+" === undefined) "+we+" = false; if ("+we+" === undefined) "+we+" = "+He+" "+Ge;if(!Qe){$+="="}$+=" 0;"}$+=""+Te+"if (!"+we+") { ";var _e=R;var Ye=Ye||[];Ye.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Je+", limit: ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" , exclusive: "+Qe+" } ";if(E.opts.messages!==false){$+=" , message: 'should be "+Xe+' "';if(We){$+="' + "+Ve+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(We){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ze=$;$=Ye.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ze+"]); "}else{$+=" validate.errors = ["+Ze+"]; return false; "}}else{$+=" var err = "+Ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="}";return $}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="key"+j,Me="idx"+j,Ie="patternMatched"+j,Te="dataProperties"+j,Ne="",Be=E.opts.ownProperties;$+="var "+Ee+" = true;";if(Be){$+=" var "+Te+" = undefined;"}var Le=G;if(Le){var je,ze=-1,Ue=Le.length-1;while(ze{"use strict";E.exports=function generate_switch(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Me=E.util.copy(E);var Ie="";Me.level++;var Te="valid"+Me.level;var Ne="ifPassed"+E.level,Be=Me.baseId,Le;$+="var "+Ne+";";var je=G;if(je){var ze,Ue=-1,qe=je.length-1;while(Ue0:E.util.schemaHasRules(ze.if,E.RULES.all))){$+=" var "+we+" = errors; ";var Ge=E.compositeRule;E.compositeRule=Me.compositeRule=true;Me.createErrors=false;Me.schema=ze.if;Me.schemaPath=ie+"["+Ue+"].if";Me.errSchemaPath=ae+"/"+Ue+"/if";$+=" "+E.validate(Me)+" ";Me.baseId=Be;Me.createErrors=true;E.compositeRule=Me.compositeRule=Ge;$+=" "+Ne+" = "+Te+"; if ("+Ne+") { ";if(typeof ze.then=="boolean"){if(ze.then===false){var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}$+=" var "+Te+" = "+ze.then+"; "}else{Me.schema=ze.then;Me.schemaPath=ie+"["+Ue+"].then";Me.errSchemaPath=ae+"/"+Ue+"/then";$+=" "+E.validate(Me)+" ";Me.baseId=Be}$+=" } else { errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } } "}else{$+=" "+Ne+" = true; ";if(typeof ze.then=="boolean"){if(ze.then===false){var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}$+=" var "+Te+" = "+ze.then+"; "}else{Me.schema=ze.then;Me.schemaPath=ie+"["+Ue+"].then";Me.errSchemaPath=ae+"/"+Ue+"/then";$+=" "+E.validate(Me)+" ";Me.baseId=Be}}Le=ze.continue}}$+=""+Ie+"var "+Ee+" = "+Te+";";return $}},41835:E=>{"use strict";var R={};var N={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var R=E&&E.max||2;return function(){return Math.floor(Math.random()*R)}},seq:function(E){var N=E&&E.name||"";R[N]=R[N]||0;return function(){return R[N]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,R,N){var $={};for(var j in E){var q=E[j];var G=getDefault(typeof q=="string"?q:q.func);$[j]=G.length?G(q.args):G}return N.opts.useDefaults&&!N.compositeRule?assignDefaults:noop;function assignDefaults(R){for(var j in E){if(R[j]===undefined||N.opts.useDefaults=="empty"&&(R[j]===null||R[j]===""))R[j]=$[j]()}return true}function noop(){return true}},DEFAULTS:N,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var R=N[E];if(R)return R;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,R,N)=>{"use strict";E.exports=N(87113)("Maximum")},50581:(E,R,N)=>{"use strict";E.exports=N(87113)("Minimum")},62310:(E,R,N)=>{"use strict";E.exports={instanceof:N(94236),range:N(5332),regexp:N(85829),typeof:N(77189),dynamicDefaults:N(41835),allRequired:N(96216),anyRequired:N(1611),oneRequired:N(82233),prohibited:N(47431),uniqueItemProperties:N(69536),deepProperties:N(49494),deepRequired:N(23023),formatMinimum:N(50581),formatMaximum:N(69513),patternRequired:N(89042),switch:N(65305),select:N(9821),transform:N(62111)}},94236:E=>{"use strict";var R={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")R.Buffer=Buffer;if(typeof Promise!="undefined")R.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var R=getConstructor(E);return function(E){return E instanceof R}}var N=E.map(getConstructor);return function(E){for(var R=0;R{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var R=E.map((function(E){return{required:[E]}}));return{oneOf:R}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,R,N)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:N(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var R=E.map((function(E){return{required:[E]}}));return{not:{anyOf:R}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,R){var N=E[0],$=E[1],j=R.exclusiveRange;validateRangeSchema(N,$,j);return j===true?{exclusiveMinimum:N,exclusiveMaximum:$}:{minimum:N,maximum:$}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,R,N){if(N!==undefined&&typeof N!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>R||N&&E==R)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,R,N){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof N=="object")return new RegExp(N.pattern,N.flags);var E=N.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",N,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var R=$.metaSchemaRef(E);var N=[];defFunc.definition={validate:function v(E,R,N){if(N.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var $=getCompiledSchemas(N,false);var j=$.cases[E];if(j===undefined)j=$.default;if(typeof j=="boolean")return j;var q=j(R);if(!q)v.errors=j.errors;return q},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,R){var N=getCompiledSchemas(R);for(var $ in E)N.cases[$]=compileOrBoolean(E[$]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:R}});E.addKeyword("selectDefault",{compile:function(E,R){var N=getCompiledSchemas(R);N.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:R});return E;function getCompiledSchemas(E,R){var $;N.some((function(R){if(R.parentSchema===E){$=R;return true}}));if(!$&&R!==false){$={parentSchema:E,cases:{},default:true};N.push($)}return $}function compileOrBoolean(R){return typeof R=="boolean"?R:E.compile(R)}}},65305:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var R=$.metaSchemaRef(E);defFunc.definition={inline:N(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:R,then:{anyOf:[{type:"boolean"},R]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var R={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,R){return R.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,N){var $;if(E.indexOf("toEnumCase")!==-1){$={hash:{}};if(!N.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var j=N.enum.length;j--;j){var q=N.enum[j];if(typeof q!=="string")continue;var G=makeHashTableKey(q);if($.hash[G])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');$.hash[G]=q}}return function(N,j,q,G){if(!q)return;for(var ie=0,ae=E.length;ie{"use strict";var R=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,R,N){var $="data"+(E.dataLevel||"");if(typeof N=="string")return"typeof "+$+' == "'+N+'"';N="validate.schema"+E.schemaPath+"."+R;return N+".indexOf(typeof "+$+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:R},{type:"array",items:{type:"string",enum:R}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var R=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,R,N){var $=N.util.equal;var j=getScalarKeys(E,R);return function(R){if(R.length>1){for(var N=0;N=0}))}},33866:(E,R,N)=>{"use strict";var $=N(69579),j=N(82253),q=N(32183),G=N(38868),ie=N(75986),ae=N(10698),le=N(75041),_e=N(30398),Ee=N(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=N(18840);var we=N(3811);Ajv.prototype.addKeyword=we.add;Ajv.prototype.getKeyword=we.get;Ajv.prototype.removeKeyword=we.remove;Ajv.prototype.validateKeyword=we.validate;var Me=N(29411);Ajv.ValidationError=Me.Validation;Ajv.MissingRefError=Me.MissingRef;Ajv.$dataMetaSchema=_e;var Ie="http://json-schema.org/draft-07/schema";var Te=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Ne=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=Ee.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=ae(E.format);this._cache=E.cache||new q;this._loadingSchemas={};this._compilations=[];this.RULES=le();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ie;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,R){var N;if(typeof E=="string"){N=this.getSchema(E);if(!N)throw new Error('no schema with key or ref "'+E+'"')}else{var $=this._addSchema(E);N=$.validate||this._compile($)}var j=N(R);if(N.$async!==true)this.errors=N.errors;return j}function compile(E,R){var N=this._addSchema(E,undefined,R);return N.validate||this._compile(N)}function addSchema(E,R,N,$){if(Array.isArray(E)){for(var q=0;q{"use strict";var R=E.exports=function Cache(){this._cache={}};R.prototype.put=function Cache_put(E,R){this._cache[E]=R};R.prototype.get=function Cache_get(E){return this._cache[E]};R.prototype.del=function Cache_del(E){delete this._cache[E]};R.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,R,N)=>{"use strict";var $=N(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,R,N){var j=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof R=="function"){N=R;R=undefined}var q=loadMetaSchemaOf(E).then((function(){var N=j._addSchema(E,undefined,R);return N.validate||_compileAsync(N)}));if(N){q.then((function(E){N(null,E)}),N)}return q;function loadMetaSchemaOf(E){var R=E.$schema;return R&&!j.getSchema(R)?compileAsync.call(j,{$ref:R},true):Promise.resolve()}function _compileAsync(E){try{return j._compile(E)}catch(E){if(E instanceof $)return loadMissingSchema(E);throw E}function loadMissingSchema(N){var $=N.missingSchema;if(added($))throw new Error("Schema "+$+" is loaded but "+N.missingRef+" cannot be resolved");var q=j._loadingSchemas[$];if(!q){q=j._loadingSchemas[$]=j._opts.loadSchema($);q.then(removePromise,removePromise)}return q.then((function(E){if(!added($)){return loadMetaSchemaOf(E).then((function(){if(!added($))j.addSchema(E,$,undefined,R)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete j._loadingSchemas[$]}function added(E){return j._refs[E]||j._schemas[E]}}}}},29411:(E,R,N)=>{"use strict";var $=N(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,R){return"can't resolve reference "+R+" from id "+E};function MissingRefError(E,R,N){this.message=N||MissingRefError.message(E,R);this.missingRef=$.url(E,R);this.missingSchema=$.normalizeId($.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,R,N)=>{"use strict";var $=N(778);var j=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var q=[0,31,28,31,30,31,30,31,31,30,31,30,31];var G=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var le=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var _e=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var Ee=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var we=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Me=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var Ie=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Te=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return $.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":_e,url:Ee,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:we,"json-pointer":Me,"json-pointer-uri-fragment":Ie,"relative-json-pointer":Te};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":le,"uri-template":_e,url:Ee,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:we,"json-pointer":Me,"json-pointer-uri-fragment":Ie,"relative-json-pointer":Te};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var R=E.match(j);if(!R)return false;var N=+R[1];var $=+R[2];var G=+R[3];return $>=1&&$<=12&&G>=1&&G<=($==2&&isLeapYear(N)?29:q[$])}function time(E,R){var N=E.match(G);if(!N)return false;var $=N[1];var j=N[2];var q=N[3];var ie=N[5];return($<=23&&j<=59&&q<=59||$==23&&j==59&&q==60)&&(!R||ie)}var Ne=/t|\s/i;function date_time(E){var R=E.split(Ne);return R.length==2&&date(R[0])&&time(R[1],true)}var Be=/\/|:/;function uri(E){return Be.test(E)&&ae.test(E)}var Le=/[^\\]\\Z/;function regex(E){if(Le.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,R,N)=>{"use strict";var $=N(82253),j=N(778),q=N(29411),G=N(75986);var ie=N(85061);var ae=j.ucs2length;var le=N(55245);var _e=q.Validation;E.exports=compile;function compile(E,R,N,Ee){var we=this,Me=this._opts,Ie=[undefined],Te={},Ne=[],Be={},Le=[],je={},ze=[];R=R||{schema:E,refVal:Ie,refs:Te};var Ue=checkCompiling.call(this,E,R,Ee);var qe=this._compilations[Ue.index];if(Ue.compiling)return qe.callValidate=callValidate;var Ge=this._formats;var He=this.RULES;try{var We=localCompile(E,R,N,Ee);qe.validate=We;var Ve=qe.callValidate;if(Ve){Ve.schema=We.schema;Ve.errors=null;Ve.refs=We.refs;Ve.refVal=We.refVal;Ve.root=We.root;Ve.$async=We.$async;if(Me.sourceCode)Ve.source=We.source}return We}finally{endCompiling.call(this,E,R,Ee)}function callValidate(){var E=qe.validate;var R=E.apply(this,arguments);callValidate.errors=E.errors;return R}function localCompile(E,N,G,Ee){var Be=!N||N&&N.schema==E;if(N.schema!=R.schema)return compile.call(we,E,N,G,Ee);var je=E.$async===true;var Ue=ie({isTop:true,schema:E,isRoot:Be,baseId:Ee,root:N,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:He,validate:ie,util:j,resolve:$,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Me,formats:Ge,logger:we.logger,self:we});Ue=vars(Ie,refValCode)+vars(Ne,patternCode)+vars(Le,defaultCode)+vars(ze,customRuleCode)+Ue;if(Me.processCode)Ue=Me.processCode(Ue,E);var qe;try{var We=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Ue);qe=We(we,He,Ge,R,Ie,Le,ze,le,ae,_e);Ie[0]=qe}catch(E){we.logger.error("Error compiling schema, function code:",Ue);throw E}qe.schema=E;qe.errors=null;qe.refs=Te;qe.refVal=Ie;qe.root=Be?qe:N;if(je)qe.$async=true;if(Me.sourceCode===true){qe.source={code:Ue,patterns:Ne,defaults:Le}}return qe}function resolveRef(E,j,q){j=$.url(E,j);var G=Te[j];var ie,ae;if(G!==undefined){ie=Ie[G];ae="refVal["+G+"]";return resolvedRef(ie,ae)}if(!q&&R.refs){var le=R.refs[j];if(le!==undefined){ie=R.refVal[le];ae=addLocalRef(j,ie);return resolvedRef(ie,ae)}}ae=addLocalRef(j);var _e=$.call(we,localCompile,R,j);if(_e===undefined){var Ee=N&&N[j];if(Ee){_e=$.inlineRef(Ee,Me.inlineRefs)?Ee:compile.call(we,Ee,R,N,E)}}if(_e===undefined){removeLocalRef(j)}else{replaceLocalRef(j,_e);return resolvedRef(_e,ae)}}function addLocalRef(E,R){var N=Ie.length;Ie[N]=R;Te[E]=N;return"refVal"+N}function removeLocalRef(E){delete Te[E]}function replaceLocalRef(E,R){var N=Te[E];Ie[N]=R}function resolvedRef(E,R){return typeof E=="object"||typeof E=="boolean"?{code:R,schema:E,inline:true}:{code:R,$async:E&&!!E.$async}}function usePattern(E){var R=Be[E];if(R===undefined){R=Be[E]=Ne.length;Ne[R]=E}return"pattern"+R}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return j.toQuotedString(E);case"object":if(E===null)return"null";var R=G(E);var N=je[R];if(N===undefined){N=je[R]=Le.length;Le[N]=E}return"default"+N}}function useCustomRule(E,R,N,$){if(we._opts.validateSchema!==false){var j=E.definition.dependencies;if(j&&!j.every((function(E){return Object.prototype.hasOwnProperty.call(N,E)})))throw new Error("parent schema must have all required keywords: "+j.join(","));var q=E.definition.validateSchema;if(q){var G=q(R);if(!G){var ie="keyword schema is invalid: "+we.errorsText(q.errors);if(we._opts.validateSchema=="log")we.logger.error(ie);else throw new Error(ie)}}}var ae=E.definition.compile,le=E.definition.inline,_e=E.definition.macro;var Ee;if(ae){Ee=ae.call(we,R,N,$)}else if(_e){Ee=_e.call(we,R,N,$);if(Me.validateSchema!==false)we.validateSchema(Ee,true)}else if(le){Ee=le.call(we,$,E.keyword,R,N)}else{Ee=E.definition.validate;if(!Ee)return}if(Ee===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var Ie=ze.length;ze[Ie]=Ee;return{code:"customRule"+Ie,validate:Ee}}}function checkCompiling(E,R,N){var $=compIndex.call(this,E,R,N);if($>=0)return{index:$,compiling:true};$=this._compilations.length;this._compilations[$]={schema:E,root:R,baseId:N};return{index:$,compiling:false}}function endCompiling(E,R,N){var $=compIndex.call(this,E,R,N);if($>=0)this._compilations.splice($,1)}function compIndex(E,R,N){for(var $=0;${"use strict";var $=N(30823),j=N(55245),q=N(778),G=N(38868),ie=N(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,R,N){var $=this._refs[N];if(typeof $=="string"){if(this._refs[$])$=this._refs[$];else return resolve.call(this,E,R,$)}$=$||this._schemas[N];if($ instanceof G){return inlineRef($.schema,this._opts.inlineRefs)?$.schema:$.validate||this._compile($)}var j=resolveSchema.call(this,R,N);var q,ie,ae;if(j){q=j.schema;R=j.root;ae=j.baseId}if(q instanceof G){ie=q.validate||E.call(this,q.schema,R,undefined,ae)}else if(q!==undefined){ie=inlineRef(q,this._opts.inlineRefs)?q:E.call(this,q,R,undefined,ae)}return ie}function resolveSchema(E,R){var N=$.parse(R),j=_getFullPath(N),q=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||j!==q){var ie=normalizeId(j);var ae=this._refs[ie];if(typeof ae=="string"){return resolveRecursive.call(this,E,ae,N)}else if(ae instanceof G){if(!ae.validate)this._compile(ae);E=ae}else{ae=this._schemas[ie];if(ae instanceof G){if(!ae.validate)this._compile(ae);if(ie==normalizeId(R))return{schema:ae,root:E,baseId:q};E=ae}else{return}}if(!E.schema)return;q=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,N,q,E.schema,E)}function resolveRecursive(E,R,N){var $=resolveSchema.call(this,E,R);if($){var j=$.schema;var q=$.baseId;E=$.root;var G=this._getId(j);if(G)q=resolveUrl(q,G);return getJsonPointer.call(this,N,q,j,E)}}var ae=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,R,N,$){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var j=E.fragment.split("/");for(var G=1;G{"use strict";var $=N(71001),j=N(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var R=["type","$comment"];var N=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var q=["number","integer","string","array","object","boolean","null"];E.all=j(R);E.types=j(q);E.forEach((function(N){N.rules=N.rules.map((function(N){var j;if(typeof N=="object"){var q=Object.keys(N)[0];j=N[q];N=q;j.forEach((function(N){R.push(N);E.all[N]=true}))}R.push(N);var G=E.all[N]={keyword:N,code:$[N],implements:j};return G}));E.all.$comment={keyword:"$comment",code:$.$comment};if(N.type)E.types[N.type]=N}));E.keywords=j(R.concat(N));E.custom={};return E}},38868:(E,R,N)=>{"use strict";var $=N(778);E.exports=SchemaObject;function SchemaObject(E){$.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var R=0,N=E.length,$=0,j;while($=55296&&j<=56319&&${"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:N(55245),ucs2length:N(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,R){R=R||{};for(var N in E)R[N]=E[N];return R}function checkDataType(E,R,N,$){var j=$?" !== ":" === ",q=$?" || ":" && ",G=$?"!":"",ie=$?"":"!";switch(E){case"null":return R+j+"null";case"array":return G+"Array.isArray("+R+")";case"object":return"("+G+R+q+"typeof "+R+j+'"object"'+q+ie+"Array.isArray("+R+"))";case"integer":return"(typeof "+R+j+'"number"'+q+ie+"("+R+" % 1)"+q+R+j+R+(N?q+G+"isFinite("+R+")":"")+")";case"number":return"(typeof "+R+j+'"'+E+'"'+(N?q+G+"isFinite("+R+")":"")+")";default:return"typeof "+R+j+'"'+E+'"'}}function checkDataTypes(E,R,N){switch(E.length){case 1:return checkDataType(E[0],R,N,true);default:var $="";var j=toHash(E);if(j.array&&j.object){$=j.null?"(":"(!"+R+" || ";$+="typeof "+R+' !== "object")';delete j.null;delete j.array;delete j.object}if(j.number)delete j.integer;for(var q in j)$+=($?" && ":"")+checkDataType(q,R,N,true);return $}}var $=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,R){if(Array.isArray(R)){var N=[];for(var j=0;j=R)throw new Error("Cannot access property/index "+$+" levels up, current level is "+R);return N[R-$]}if($>R)throw new Error("Cannot access data "+$+" levels up, current level is "+R);q="data"+(R-$||"");if(!j)return q}var le=q;var _e=j.split("/");for(var Ee=0;Ee<_e.length;Ee++){var we=_e[Ee];if(we){q+=getProperty(unescapeJsonPointer(we));le+=" && "+q}}return le}function joinPaths(E,R){if(E=='""')return R;return(E+" + "+R).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(E){return unescapeJsonPointer(decodeURIComponent(E))}function escapeFragment(E){return encodeURIComponent(escapeJsonPointer(E))}function escapeJsonPointer(E){return E.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(E){return E.replace(/~1/g,"/").replace(/~0/g,"~")}},30398:E=>{"use strict";var R=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,N){for(var $=0;${"use strict";var $=N(6680);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:$.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:$.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}var Ie=R=="maximum",Te=Ie?"exclusiveMaximum":"exclusiveMinimum",Ne=E.schema[Te],Be=E.opts.$data&&Ne&&Ne.$data,Le=Ie?"<":">",je=Ie?">":"<",_e=undefined;if(!(we||typeof G=="number"||G===undefined)){throw new Error(R+" must be number")}if(!(Be||Ne===undefined||typeof Ne=="number"||typeof Ne=="boolean")){throw new Error(Te+" must be number or boolean")}if(Be){var ze=E.util.getData(Ne.$data,q,E.dataPathArr),Ue="exclusive"+j,qe="exclType"+j,Ge="exclIsNumber"+j,He="op"+j,We="' + "+He+" + '";$+=" var schemaExcl"+j+" = "+ze+"; ";ze="schemaExcl"+j;$+=" var "+Ue+"; var "+qe+" = typeof "+ze+"; if ("+qe+" != 'boolean' && "+qe+" != 'undefined' && "+qe+" != 'number') { ";var _e=Te;var Ve=Ve||[];Ve.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: '"+Te+" should be boolean' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ke=$;$=Ve.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ke+"]); "}else{$+=" validate.errors = ["+Ke+"]; return false; "}}else{$+=" var err = "+Ke+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else if ( ";if(we){$+=" ("+Me+" !== undefined && typeof "+Me+" != 'number') || "}$+=" "+qe+" == 'number' ? ( ("+Ue+" = "+Me+" === undefined || "+ze+" "+Le+"= "+Me+") ? "+Ee+" "+je+"= "+ze+" : "+Ee+" "+je+" "+Me+" ) : ( ("+Ue+" = "+ze+" === true) ? "+Ee+" "+je+"= "+Me+" : "+Ee+" "+je+" "+Me+" ) || "+Ee+" !== "+Ee+") { var op"+j+" = "+Ue+" ? '"+Le+"' : '"+Le+"='; ";if(G===undefined){_e=Te;ae=E.errSchemaPath+"/"+Te;Me=ze;we=Be}}else{var Ge=typeof Ne=="number",We=Le;if(Ge&&we){var He="'"+We+"'";$+=" if ( ";if(we){$+=" ("+Me+" !== undefined && typeof "+Me+" != 'number') || "}$+=" ( "+Me+" === undefined || "+Ne+" "+Le+"= "+Me+" ? "+Ee+" "+je+"= "+Ne+" : "+Ee+" "+je+" "+Me+" ) || "+Ee+" !== "+Ee+") { "}else{if(Ge&&G===undefined){Ue=true;_e=Te;ae=E.errSchemaPath+"/"+Te;Me=Ne;je+="="}else{if(Ge)Me=Math[Ie?"min":"max"](Ne,G);if(Ne===(Ge?Me:true)){Ue=true;_e=Te;ae=E.errSchemaPath+"/"+Te;je+="="}else{Ue=false;We+="="}}var He="'"+We+"'";$+=" if ( ";if(we){$+=" ("+Me+" !== undefined && typeof "+Me+" != 'number') || "}$+=" "+Ee+" "+je+" "+Me+" || "+Ee+" !== "+Ee+") { "}}_e=_e||R;var Ve=Ve||[];Ve.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+He+", limit: "+Me+", exclusive: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should be "+We+" ";if(we){$+="' + "+Me}else{$+=""+Me+"'"}}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ke=$;$=Ve.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ke+"]); "}else{$+=" validate.errors = ["+Ke+"]; return false; "}}else{$+=" var err = "+Ke+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}return $}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Ie=R=="maxItems"?">":"<";$+="if ( ";if(we){$+=" ("+Me+" !== undefined && typeof "+Me+" != 'number') || "}$+=" "+Ee+".length "+Ie+" "+Me+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Me+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have ";if(R=="maxItems"){$+="more"}else{$+="fewer"}$+=" than ";if(we){$+="' + "+Me+" + '"}else{$+=""+G}$+=" items' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Ie=R=="maxLength"?">":"<";$+="if ( ";if(we){$+=" ("+Me+" !== undefined && typeof "+Me+" != 'number') || "}if(E.opts.unicode===false){$+=" "+Ee+".length "}else{$+=" ucs2length("+Ee+") "}$+=" "+Ie+" "+Me+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Me+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT be ";if(R=="maxLength"){$+="longer"}else{$+="shorter"}$+=" than ";if(we){$+="' + "+Me+" + '"}else{$+=""+G}$+=" characters' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Ie=R=="maxProperties"?">":"<";$+="if ( ";if(we){$+=" ("+Me+" !== undefined && typeof "+Me+" != 'number') || "}$+=" Object.keys("+Ee+").length "+Ie+" "+Me+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Me+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have ";if(R=="maxProperties"){$+="more"}else{$+="fewer"}$+=" than ";if(we){$+="' + "+Me+" + '"}else{$+=""+G}$+=" properties' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},30081:E=>{"use strict";E.exports=function generate_allOf(E,R,N){var $=" ";var j=E.schema[R];var q=E.schemaPath+E.util.getProperty(R);var G=E.errSchemaPath+"/"+R;var ie=!E.opts.allErrors;var ae=E.util.copy(E);var le="";ae.level++;var _e="valid"+ae.level;var Ee=ae.baseId,we=true;var Me=j;if(Me){var Ie,Te=-1,Ne=Me.length-1;while(Te0||Ie===false:E.util.schemaHasRules(Ie,E.RULES.all)){we=false;ae.schema=Ie;ae.schemaPath=q+"["+Te+"]";ae.errSchemaPath=G+"/"+Te;$+=" "+E.validate(ae)+" ";ae.baseId=Ee;if(ie){$+=" if ("+_e+") { ";le+="}"}}}}if(ie){if(we){$+=" if (true) { "}else{$+=" "+le.slice(0,-1)+" "}}return $}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Me=E.util.copy(E);var Ie="";Me.level++;var Te="valid"+Me.level;var Ne=G.every((function(R){return E.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===false:E.util.schemaHasRules(R,E.RULES.all)}));if(Ne){var Be=Me.baseId;$+=" var "+we+" = errors; var "+Ee+" = false; ";var Le=E.compositeRule;E.compositeRule=Me.compositeRule=true;var je=G;if(je){var ze,Ue=-1,qe=je.length-1;while(Ue{"use strict";E.exports=function generate_comment(E,R,N){var $=" ";var j=E.schema[R];var q=E.errSchemaPath+"/"+R;var G=!E.opts.allErrors;var ie=E.util.toQuotedString(j);if(E.opts.$comment===true){$+=" console.log("+ie+");"}else if(typeof E.opts.$comment=="function"){$+=" self._opts.$comment("+ie+", "+E.util.toQuotedString(q)+", validate.root.schema);"}return $}},23404:E=>{"use strict";E.exports=function generate_const(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}if(!we){$+=" var schema"+j+" = validate.schema"+ie+";"}$+="var "+Ee+" = equal("+_e+", schema"+j+"); if (!"+Ee+") { ";var Ie=Ie||[];Ie.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValue: schema"+j+" } ";if(E.opts.messages!==false){$+=" , message: 'should be equal to constant' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Te=$;$=Ie.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Te+"]); "}else{$+=" validate.errors = ["+Te+"]; return false; "}}else{$+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" }";if(le){$+=" else { "}return $}},33224:E=>{"use strict";E.exports=function generate_contains(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Me=E.util.copy(E);var Ie="";Me.level++;var Te="valid"+Me.level;var Ne="i"+j,Be=Me.dataLevel=E.dataLevel+1,Le="data"+Be,je=E.baseId,ze=E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all);$+="var "+we+" = errors;var "+Ee+";";if(ze){var Ue=E.compositeRule;E.compositeRule=Me.compositeRule=true;Me.schema=G;Me.schemaPath=ie;Me.errSchemaPath=ae;$+=" var "+Te+" = false; for (var "+Ne+" = 0; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Me.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var qe=_e+"["+Ne+"]";Me.dataPathArr[Be]=Ne;var Ge=E.validate(Me);Me.baseId=je;if(E.util.varOccurences(Ge,Le)<2){$+=" "+E.util.varReplace(Ge,Le,qe)+" "}else{$+=" var "+Le+" = "+qe+"; "+Ge+" "}$+=" if ("+Te+") break; } ";E.compositeRule=Me.compositeRule=Ue;$+=" "+Ie+" if (!"+Te+") {"}else{$+=" if ("+_e+".length == 0) {"}var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should contain a valid item' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { ";if(ze){$+=" errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } "}if(E.opts.allErrors){$+=" } "}return $}},99819:E=>{"use strict";E.exports=function generate_custom(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we="valid"+j;var Me="errs__"+j;var Ie=E.opts.$data&&G&&G.$data,Te;if(Ie){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+j}else{Te=G}var Ne=this,Be="definition"+j,Le=Ne.definition,je="";var ze,Ue,qe,Ge,He;if(Ie&&Le.$data){He="keywordValidate"+j;var We=Le.validateSchema;$+=" var "+Be+" = RULES.custom['"+R+"'].definition; var "+He+" = "+Be+".validate;"}else{Ge=E.useCustomRule(Ne,G,E.schema,E);if(!Ge)return;Te="validate.schema"+ie;He=Ge.code;ze=Le.compile;Ue=Le.inline;qe=Le.macro}var Ve=He+".errors",Ke="i"+j,Qe="ruleErr"+j,Je=Le.async;if(Je&&!E.async)throw new Error("async keyword in sync schema");if(!(Ue||qe)){$+=""+Ve+" = null;"}$+="var "+Me+" = errors;var "+we+";";if(Ie&&Le.$data){je+="}";$+=" if ("+Te+" === undefined) { "+we+" = true; } else { ";if(We){je+="}";$+=" "+we+" = "+Be+".validateSchema("+Te+"); if ("+we+") { "}}if(Ue){if(Le.statements){$+=" "+Ge.validate+" "}else{$+=" "+we+" = "+Ge.validate+"; "}}else if(qe){var Xe=E.util.copy(E);var je="";Xe.level++;var Ye="valid"+Xe.level;Xe.schema=Ge.validate;Xe.schemaPath="";var Ze=E.compositeRule;E.compositeRule=Xe.compositeRule=true;var et=E.validate(Xe).replace(/validate\.schema/g,He);E.compositeRule=Xe.compositeRule=Ze;$+=" "+et}else{var tt=tt||[];tt.push($);$="";$+=" "+He+".call( ";if(E.opts.passContext){$+="this"}else{$+="self"}if(ze||Le.schema===false){$+=" , "+Ee+" "}else{$+=" , "+Te+" , "+Ee+" , validate.schema"+E.schemaPath+" "}$+=" , (dataPath || '')";if(E.errorPath!='""'){$+=" + "+E.errorPath}var nt=q?"data"+(q-1||""):"parentData",rt=q?E.dataPathArr[q]:"parentDataProperty";$+=" , "+nt+" , "+rt+" , rootData ) ";var st=$;$=tt.pop();if(Le.errors===false){$+=" "+we+" = ";if(Je){$+="await "}$+=""+st+"; "}else{if(Je){Ve="customErrors"+j;$+=" var "+Ve+" = null; try { "+we+" = await "+st+"; } catch (e) { "+we+" = false; if (e instanceof ValidationError) "+Ve+" = e.errors; else throw e; } "}else{$+=" "+Ve+" = null; "+we+" = "+st+"; "}}}if(Le.modifying){$+=" if ("+nt+") "+Ee+" = "+nt+"["+rt+"];"}$+=""+je;if(Le.valid){if(le){$+=" if (true) { "}}else{$+=" if ( ";if(Le.valid===undefined){$+=" !";if(qe){$+=""+Ye}else{$+=""+we}}else{$+=" "+!Le.valid+" "}$+=") { ";_e=Ne.keyword;var tt=tt||[];tt.push($);$="";var tt=tt||[];tt.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){$+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var it=$;$=tt.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+it+"]); "}else{$+=" validate.errors = ["+it+"]; return false; "}}else{$+=" var err = "+it+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var ot=$;$=tt.pop();if(Ue){if(Le.errors){if(Le.errors!="full"){$+=" for (var "+Ke+"="+Me+"; "+Ke+"{"use strict";E.exports=function generate_dependencies(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Me="";we.level++;var Ie="valid"+we.level;var Te={},Ne={},Be=E.opts.ownProperties;for(Ue in G){if(Ue=="__proto__")continue;var Le=G[Ue];var je=Array.isArray(Le)?Ne:Te;je[Ue]=Le}$+="var "+Ee+" = errors;";var ze=E.errorPath;$+="var missing"+j+";";for(var Ue in Ne){je=Ne[Ue];if(je.length){$+=" if ( "+_e+E.util.getProperty(Ue)+" !== undefined ";if(Be){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(Ue)+"') "}if(le){$+=" && ( ";var qe=je;if(qe){var Ge,He=-1,We=qe.length-1;while(He0||Le===false:E.util.schemaHasRules(Le,E.RULES.all)){$+=" "+Ie+" = true; if ( "+_e+E.util.getProperty(Ue)+" !== undefined ";if(Be){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(Ue)+"') "}$+=") { ";we.schema=Le;we.schemaPath=ie+E.util.getProperty(Ue);we.errSchemaPath=ae+"/"+E.util.escapeFragment(Ue);$+=" "+E.validate(we)+" ";we.baseId=nt;$+=" } ";if(le){$+=" if ("+Ie+") { ";Me+="}"}}}if(le){$+=" "+Me+" if ("+Ee+" == errors) {"}return $}},20489:E=>{"use strict";E.exports=function generate_enum(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}var Ie="i"+j,Te="schema"+j;if(!we){$+=" var "+Te+" = validate.schema"+ie+";"}$+="var "+Ee+";";if(we){$+=" if (schema"+j+" === undefined) "+Ee+" = true; else if (!Array.isArray(schema"+j+")) "+Ee+" = false; else {"}$+=""+Ee+" = false;for (var "+Ie+"=0; "+Ie+"<"+Te+".length; "+Ie+"++) if (equal("+_e+", "+Te+"["+Ie+"])) { "+Ee+" = true; break; }";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Ne=Ne||[];Ne.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValues: schema"+j+" } ";if(E.opts.messages!==false){$+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Be=$;$=Ne.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Be+"]); "}else{$+=" validate.errors = ["+Be+"]; return false; "}}else{$+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" }";if(le){$+=" else { "}return $}},69090:E=>{"use strict";E.exports=function generate_format(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");if(E.opts.format===false){if(le){$+=" if (true) { "}return $}var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}var Me=E.opts.unknownFormats,Ie=Array.isArray(Me);if(Ee){var Te="format"+j,Ne="isObject"+j,Be="formatType"+j;$+=" var "+Te+" = formats["+we+"]; var "+Ne+" = typeof "+Te+" == 'object' && !("+Te+" instanceof RegExp) && "+Te+".validate; var "+Be+" = "+Ne+" && "+Te+".type || 'string'; if ("+Ne+") { ";if(E.async){$+=" var async"+j+" = "+Te+".async; "}$+=" "+Te+" = "+Te+".validate; } if ( ";if(Ee){$+=" ("+we+" !== undefined && typeof "+we+" != 'string') || "}$+=" (";if(Me!="ignore"){$+=" ("+we+" && !"+Te+" ";if(Ie){$+=" && self._opts.unknownFormats.indexOf("+we+") == -1 "}$+=") || "}$+=" ("+Te+" && "+Be+" == '"+N+"' && !(typeof "+Te+" == 'function' ? ";if(E.async){$+=" (async"+j+" ? await "+Te+"("+_e+") : "+Te+"("+_e+")) "}else{$+=" "+Te+"("+_e+") "}$+=" : "+Te+".test("+_e+"))))) {"}else{var Te=E.formats[G];if(!Te){if(Me=="ignore"){E.logger.warn('unknown format "'+G+'" ignored in schema at path "'+E.errSchemaPath+'"');if(le){$+=" if (true) { "}return $}else if(Ie&&Me.indexOf(G)>=0){if(le){$+=" if (true) { "}return $}else{throw new Error('unknown format "'+G+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Ne=typeof Te=="object"&&!(Te instanceof RegExp)&&Te.validate;var Be=Ne&&Te.type||"string";if(Ne){var Le=Te.async===true;Te=Te.validate}if(Be!=N){if(le){$+=" if (true) { "}return $}if(Le){if(!E.async)throw new Error("async format in sync schema");var je="formats"+E.util.getProperty(G)+".validate";$+=" if (!(await "+je+"("+_e+"))) { "}else{$+=" if (! ";var je="formats"+E.util.getProperty(G);if(Ne)je+=".validate";if(typeof Te=="function"){$+=" "+je+"("+_e+") "}else{$+=" "+je+".test("+_e+") "}$+=") { "}}var ze=ze||[];ze.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { format: ";if(Ee){$+=""+we}else{$+=""+E.util.toQuotedString(G)}$+=" } ";if(E.opts.messages!==false){$+=" , message: 'should match format \"";if(Ee){$+="' + "+we+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Ue=$;$=ze.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ue+"]); "}else{$+=" validate.errors = ["+Ue+"]; return false; "}}else{$+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}return $}},1636:E=>{"use strict";E.exports=function generate_if(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Me=E.util.copy(E);Me.level++;var Ie="valid"+Me.level;var Te=E.schema["then"],Ne=E.schema["else"],Be=Te!==undefined&&(E.opts.strictKeywords?typeof Te=="object"&&Object.keys(Te).length>0||Te===false:E.util.schemaHasRules(Te,E.RULES.all)),Le=Ne!==undefined&&(E.opts.strictKeywords?typeof Ne=="object"&&Object.keys(Ne).length>0||Ne===false:E.util.schemaHasRules(Ne,E.RULES.all)),je=Me.baseId;if(Be||Le){var ze;Me.createErrors=false;Me.schema=G;Me.schemaPath=ie;Me.errSchemaPath=ae;$+=" var "+we+" = errors; var "+Ee+" = true; ";var Ue=E.compositeRule;E.compositeRule=Me.compositeRule=true;$+=" "+E.validate(Me)+" ";Me.baseId=je;Me.createErrors=true;$+=" errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } ";E.compositeRule=Me.compositeRule=Ue;if(Be){$+=" if ("+Ie+") { ";Me.schema=E.schema["then"];Me.schemaPath=E.schemaPath+".then";Me.errSchemaPath=E.errSchemaPath+"/then";$+=" "+E.validate(Me)+" ";Me.baseId=je;$+=" "+Ee+" = "+Ie+"; ";if(Be&&Le){ze="ifClause"+j;$+=" var "+ze+" = 'then'; "}else{ze="'then'"}$+=" } ";if(Le){$+=" else { "}}else{$+=" if (!"+Ie+") { "}if(Le){Me.schema=E.schema["else"];Me.schemaPath=E.schemaPath+".else";Me.errSchemaPath=E.errSchemaPath+"/else";$+=" "+E.validate(Me)+" ";Me.baseId=je;$+=" "+Ee+" = "+Ie+"; ";if(Be&&Le){ze="ifClause"+j;$+=" var "+ze+" = 'else'; "}else{ze="'else'"}$+=" } "}$+=" if (!"+Ee+") { var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { failingKeyword: "+ze+" } ";if(E.opts.messages!==false){$+=" , message: 'should match \"' + "+ze+" + '\" schema' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(vErrors); "}else{$+=" validate.errors = vErrors; return false; "}}$+=" } ";if(le){$+=" else { "}}else{if(le){$+=" if (true) { "}}return $}},71001:(E,R,N)=>{"use strict";E.exports={$ref:N(41944),allOf:N(30081),anyOf:N(70019),$comment:N(79878),const:N(23404),contains:N(33224),dependencies:N(19493),enum:N(20489),format:N(69090),if:N(1636),items:N(6060),maximum:N(70507),minimum:N(70507),maxItems:N(6958),minItems:N(6958),maxLength:N(41363),minLength:N(41363),maxProperties:N(25569),minProperties:N(25569),multipleOf:N(54841),not:N(74881),oneOf:N(77675),pattern:N(98676),properties:N(99306),propertyNames:N(28014),required:N(16372),uniqueItems:N(37270),validate:N(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Me=E.util.copy(E);var Ie="";Me.level++;var Te="valid"+Me.level;var Ne="i"+j,Be=Me.dataLevel=E.dataLevel+1,Le="data"+Be,je=E.baseId;$+="var "+we+" = errors;var "+Ee+";";if(Array.isArray(G)){var ze=E.schema.additionalItems;if(ze===false){$+=" "+Ee+" = "+_e+".length <= "+G.length+"; ";var Ue=ae;ae=E.errSchemaPath+"/additionalItems";$+=" if (!"+Ee+") { ";var qe=qe||[];qe.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+G.length+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have more than "+G.length+" items' "}if(E.opts.verbose){$+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Ge=$;$=qe.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ge+"]); "}else{$+=" validate.errors = ["+Ge+"]; return false; "}}else{$+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";ae=Ue;if(le){Ie+="}";$+=" else { "}}var He=G;if(He){var We,Ve=-1,Ke=He.length-1;while(Ve0||We===false:E.util.schemaHasRules(We,E.RULES.all)){$+=" "+Te+" = true; if ("+_e+".length > "+Ve+") { ";var Qe=_e+"["+Ve+"]";Me.schema=We;Me.schemaPath=ie+"["+Ve+"]";Me.errSchemaPath=ae+"/"+Ve;Me.errorPath=E.util.getPathExpr(E.errorPath,Ve,E.opts.jsonPointers,true);Me.dataPathArr[Be]=Ve;var Je=E.validate(Me);Me.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}$+=" } ";if(le){$+=" if ("+Te+") { ";Ie+="}"}}}}if(typeof ze=="object"&&(E.opts.strictKeywords?typeof ze=="object"&&Object.keys(ze).length>0||ze===false:E.util.schemaHasRules(ze,E.RULES.all))){Me.schema=ze;Me.schemaPath=E.schemaPath+".additionalItems";Me.errSchemaPath=E.errSchemaPath+"/additionalItems";$+=" "+Te+" = true; if ("+_e+".length > "+G.length+") { for (var "+Ne+" = "+G.length+"; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Me.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Qe=_e+"["+Ne+"]";Me.dataPathArr[Be]=Ne;var Je=E.validate(Me);Me.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}if(le){$+=" if (!"+Te+") break; "}$+=" } } ";if(le){$+=" if ("+Te+") { ";Ie+="}"}}}else if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Me.schema=G;Me.schemaPath=ie;Me.errSchemaPath=ae;$+=" for (var "+Ne+" = "+0+"; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Me.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Qe=_e+"["+Ne+"]";Me.dataPathArr[Be]=Ne;var Je=E.validate(Me);Me.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}if(le){$+=" if (!"+Te+") break; "}$+=" }"}if(le){$+=" "+Ie+" if ("+we+" == errors) {"}return $}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}if(!(Ee||typeof G=="number")){throw new Error(R+" must be number")}$+="var division"+j+";if (";if(Ee){$+=" "+we+" !== undefined && ( typeof "+we+" != 'number' || "}$+=" (division"+j+" = "+_e+" / "+we+", ";if(E.opts.multipleOfPrecision){$+=" Math.abs(Math.round(division"+j+") - division"+j+") > 1e-"+E.opts.multipleOfPrecision+" "}else{$+=" division"+j+" !== parseInt(division"+j+") "}$+=" ) ";if(Ee){$+=" ) "}$+=" ) { ";var Me=Me||[];Me.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { multipleOf: "+we+" } ";if(E.opts.messages!==false){$+=" , message: 'should be multiple of ";if(Ee){$+="' + "+we}else{$+=""+we+"'"}}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Ie=$;$=Me.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ie+"]); "}else{$+=" validate.errors = ["+Ie+"]; return false; "}}else{$+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},74881:E=>{"use strict";E.exports=function generate_not(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);we.level++;var Me="valid"+we.level;if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){we.schema=G;we.schemaPath=ie;we.errSchemaPath=ae;$+=" var "+Ee+" = errors; ";var Ie=E.compositeRule;E.compositeRule=we.compositeRule=true;we.createErrors=false;var Te;if(we.opts.allErrors){Te=we.opts.allErrors;we.opts.allErrors=false}$+=" "+E.validate(we)+" ";we.createErrors=true;if(Te)we.opts.allErrors=Te;E.compositeRule=we.compositeRule=Ie;$+=" if ("+Me+") { ";var Ne=Ne||[];Ne.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should NOT be valid' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Be=$;$=Ne.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Be+"]); "}else{$+=" validate.errors = ["+Be+"]; return false; "}}else{$+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } ";if(E.opts.allErrors){$+=" } "}}else{$+=" var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should NOT be valid' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(le){$+=" if (false) { "}}return $}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Me=E.util.copy(E);var Ie="";Me.level++;var Te="valid"+Me.level;var Ne=Me.baseId,Be="prevValid"+j,Le="passingSchemas"+j;$+="var "+we+" = errors , "+Be+" = false , "+Ee+" = false , "+Le+" = null; ";var je=E.compositeRule;E.compositeRule=Me.compositeRule=true;var ze=G;if(ze){var Ue,qe=-1,Ge=ze.length-1;while(qe0||Ue===false:E.util.schemaHasRules(Ue,E.RULES.all)){Me.schema=Ue;Me.schemaPath=ie+"["+qe+"]";Me.errSchemaPath=ae+"/"+qe;$+=" "+E.validate(Me)+" ";Me.baseId=Ne}else{$+=" var "+Te+" = true; "}if(qe){$+=" if ("+Te+" && "+Be+") { "+Ee+" = false; "+Le+" = ["+Le+", "+qe+"]; } else { ";Ie+="}"}$+=" if ("+Te+") { "+Ee+" = "+Be+" = true; "+Le+" = "+qe+"; }"}}E.compositeRule=Me.compositeRule=je;$+=""+Ie+"if (!"+Ee+") { var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { passingSchemas: "+Le+" } ";if(E.opts.messages!==false){$+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(vErrors); "}else{$+=" validate.errors = vErrors; return false; "}}$+="} else { errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; }";if(E.opts.allErrors){$+=" } "}return $}},98676:E=>{"use strict";E.exports=function generate_pattern(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}var Me=Ee?"(new RegExp("+we+"))":E.usePattern(G);$+="if ( ";if(Ee){$+=" ("+we+" !== undefined && typeof "+we+" != 'string') || "}$+=" !"+Me+".test("+_e+") ) { ";var Ie=Ie||[];Ie.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { pattern: ";if(Ee){$+=""+we}else{$+=""+E.util.toQuotedString(G)}$+=" } ";if(E.opts.messages!==false){$+=" , message: 'should match pattern \"";if(Ee){$+="' + "+we+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Te=$;$=Ie.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Te+"]); "}else{$+=" validate.errors = ["+Te+"]; return false; "}}else{$+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},99306:E=>{"use strict";E.exports=function generate_properties(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Me="";we.level++;var Ie="valid"+we.level;var Te="key"+j,Ne="idx"+j,Be=we.dataLevel=E.dataLevel+1,Le="data"+Be,je="dataProperties"+j;var ze=Object.keys(G||{}).filter(notProto),Ue=E.schema.patternProperties||{},qe=Object.keys(Ue).filter(notProto),Ge=E.schema.additionalProperties,He=ze.length||qe.length,We=Ge===false,Ve=typeof Ge=="object"&&Object.keys(Ge).length,Ke=E.opts.removeAdditional,Qe=We||Ve||Ke,Je=E.opts.ownProperties,Xe=E.baseId;var Ye=E.schema.required;if(Ye&&!(E.opts.$data&&Ye.$data)&&Ye.length8){$+=" || validate.schema"+ie+".hasOwnProperty("+Te+") "}else{var et=ze;if(et){var tt,nt=-1,rt=et.length-1;while(nt0||kt===false:E.util.schemaHasRules(kt,E.RULES.all)){var xt=E.util.getProperty(tt),mt=_e+xt,Et=yt&&kt.default!==undefined;we.schema=kt;we.schemaPath=ie+xt;we.errSchemaPath=ae+"/"+E.util.escapeFragment(tt);we.errorPath=E.util.getPath(E.errorPath,tt,E.opts.jsonPointers);we.dataPathArr[Be]=E.util.toQuotedString(tt);var gt=E.validate(we);we.baseId=Xe;if(E.util.varOccurences(gt,Le)<2){gt=E.util.varReplace(gt,Le,mt);var wt=mt}else{var wt=Le;$+=" var "+Le+" = "+mt+"; "}if(Et){$+=" "+gt+" "}else{if(Ze&&Ze[tt]){$+=" if ( "+wt+" === undefined ";if(Je){$+=" || ! Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=") { "+Ie+" = false; ";var ct=E.errorPath,pt=ae,St=E.util.escapeQuotes(tt);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(ct,tt,E.opts.jsonPointers)}ae=E.errSchemaPath+"/required";var dt=dt||[];dt.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+St+"' } ";if(E.opts.messages!==false){$+=" , message: '";if(E.opts._errorDataPathProperty){$+="is a required property"}else{$+="should have required property \\'"+St+"\\'"}$+="' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var ft=$;$=dt.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+ft+"]); "}else{$+=" validate.errors = ["+ft+"]; return false; "}}else{$+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=pt;E.errorPath=ct;$+=" } else { "}else{if(le){$+=" if ( "+wt+" === undefined ";if(Je){$+=" || ! Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=") { "+Ie+" = true; } else { "}else{$+=" if ("+wt+" !== undefined ";if(Je){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=" ) { "}}$+=" "+gt+" } "}}if(le){$+=" if ("+Ie+") { ";Me+="}"}}}}if(qe.length){var At=qe;if(At){var it,Ct=-1,Dt=At.length-1;while(Ct0||kt===false:E.util.schemaHasRules(kt,E.RULES.all)){we.schema=kt;we.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(it);we.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(it);if(Je){$+=" "+je+" = "+je+" || Object.keys("+_e+"); for (var "+Ne+"=0; "+Ne+"<"+je+".length; "+Ne+"++) { var "+Te+" = "+je+"["+Ne+"]; "}else{$+=" for (var "+Te+" in "+_e+") { "}$+=" if ("+E.usePattern(it)+".test("+Te+")) { ";we.errorPath=E.util.getPathExpr(E.errorPath,Te,E.opts.jsonPointers);var mt=_e+"["+Te+"]";we.dataPathArr[Be]=Te;var gt=E.validate(we);we.baseId=Xe;if(E.util.varOccurences(gt,Le)<2){$+=" "+E.util.varReplace(gt,Le,mt)+" "}else{$+=" var "+Le+" = "+mt+"; "+gt+" "}if(le){$+=" if (!"+Ie+") break; "}$+=" } ";if(le){$+=" else "+Ie+" = true; "}$+=" } ";if(le){$+=" if ("+Ie+") { ";Me+="}"}}}}}if(le){$+=" "+Me+" if ("+Ee+" == errors) {"}return $}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Me="";we.level++;var Ie="valid"+we.level;$+="var "+Ee+" = errors;";if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){we.schema=G;we.schemaPath=ie;we.errSchemaPath=ae;var Te="key"+j,Ne="idx"+j,Be="i"+j,Le="' + "+Te+" + '",je=we.dataLevel=E.dataLevel+1,ze="data"+je,Ue="dataProperties"+j,qe=E.opts.ownProperties,Ge=E.baseId;if(qe){$+=" var "+Ue+" = undefined; "}if(qe){$+=" "+Ue+" = "+Ue+" || Object.keys("+_e+"); for (var "+Ne+"=0; "+Ne+"<"+Ue+".length; "+Ne+"++) { var "+Te+" = "+Ue+"["+Ne+"]; "}else{$+=" for (var "+Te+" in "+_e+") { "}$+=" var startErrs"+j+" = errors; ";var He=Te;var We=E.compositeRule;E.compositeRule=we.compositeRule=true;var Ve=E.validate(we);we.baseId=Ge;if(E.util.varOccurences(Ve,ze)<2){$+=" "+E.util.varReplace(Ve,ze,He)+" "}else{$+=" var "+ze+" = "+He+"; "+Ve+" "}E.compositeRule=we.compositeRule=We;$+=" if (!"+Ie+") { for (var "+Be+"=startErrs"+j+"; "+Be+"{"use strict";E.exports=function generate_ref(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.errSchemaPath+"/"+R;var ae=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+j;var Ee,we;if(G=="#"||G=="#/"){if(E.isRoot){Ee=E.async;we="validate"}else{Ee=E.root.schema.$async===true;we="root.refVal[0]"}}else{var Me=E.resolveRef(E.baseId,G,E.isRoot);if(Me===undefined){var Ie=E.MissingRefError.message(E.baseId,G);if(E.opts.missingRefs=="fail"){E.logger.error(Ie);var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ie)+" , params: { ref: '"+E.util.escapeQuotes(G)+"' } ";if(E.opts.messages!==false){$+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(G)+"' "}if(E.opts.verbose){$+=" , schema: "+E.util.toQuotedString(G)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&ae){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(ae){$+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(Ie);if(ae){$+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,G,Ie)}}else if(Me.inline){var Be=E.util.copy(E);Be.level++;var Le="valid"+Be.level;Be.schema=Me.schema;Be.schemaPath="";Be.errSchemaPath=G;var je=E.validate(Be).replace(/validate\.schema/g,Me.code);$+=" "+je+" ";if(ae){$+=" if ("+Le+") { "}}else{Ee=Me.$async===true||E.async&&Me.$async!==false;we=Me.code}}if(we){var Te=Te||[];Te.push($);$="";if(E.opts.passContext){$+=" "+we+".call(this, "}else{$+=" "+we+"( "}$+=" "+le+", (dataPath || '')";if(E.errorPath!='""'){$+=" + "+E.errorPath}var ze=q?"data"+(q-1||""):"parentData",Ue=q?E.dataPathArr[q]:"parentDataProperty";$+=" , "+ze+" , "+Ue+", rootData) ";var qe=$;$=Te.pop();if(Ee){if(!E.async)throw new Error("async schema referenced by sync schema");if(ae){$+=" var "+_e+"; "}$+=" try { await "+qe+"; ";if(ae){$+=" "+_e+" = true; "}$+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(ae){$+=" "+_e+" = false; "}$+=" } ";if(ae){$+=" if ("+_e+") { "}}else{$+=" if (!"+qe+") { if (vErrors === null) vErrors = "+we+".errors; else vErrors = vErrors.concat("+we+".errors); errors = vErrors.length; } ";if(ae){$+=" else { "}}}return $}},16372:E=>{"use strict";E.exports=function generate_required(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}var Ie="schema"+j;if(!we){if(G.length0||ze===false:E.util.schemaHasRules(ze,E.RULES.all)))){Te[Te.length]=Be}}}}else{var Te=G}}if(we||Te.length){var Ue=E.errorPath,qe=we||Te.length>=E.opts.loopRequired,Ge=E.opts.ownProperties;if(le){$+=" var missing"+j+"; ";if(qe){if(!we){$+=" var "+Ie+" = validate.schema"+ie+"; "}var He="i"+j,We="schema"+j+"["+He+"]",Ve="' + "+We+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,We,E.opts.jsonPointers)}$+=" var "+Ee+" = true; ";if(we){$+=" if (schema"+j+" === undefined) "+Ee+" = true; else if (!Array.isArray(schema"+j+")) "+Ee+" = false; else {"}$+=" for (var "+He+" = 0; "+He+" < "+Ie+".length; "+He+"++) { "+Ee+" = "+_e+"["+Ie+"["+He+"]] !== undefined ";if(Ge){$+=" && Object.prototype.hasOwnProperty.call("+_e+", "+Ie+"["+He+"]) "}$+="; if (!"+Ee+") break; } ";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Ke=Ke||[];Ke.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+Ve+"' } ";if(E.opts.messages!==false){$+=" , message: '";if(E.opts._errorDataPathProperty){$+="is a required property"}else{$+="should have required property \\'"+Ve+"\\'"}$+="' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Qe=$;$=Ke.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Qe+"]); "}else{$+=" validate.errors = ["+Qe+"]; return false; "}}else{$+=" var err = "+Qe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { "}else{$+=" if ( ";var Je=Te;if(Je){var Xe,He=-1,Ye=Je.length-1;while(He{"use strict";E.exports=function generate_uniqueItems(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Me;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Me="schema"+j}else{Me=G}if((G||we)&&E.opts.uniqueItems!==false){if(we){$+=" var "+Ee+"; if ("+Me+" === false || "+Me+" === undefined) "+Ee+" = true; else if (typeof "+Me+" != 'boolean') "+Ee+" = false; else { "}$+=" var i = "+_e+".length , "+Ee+" = true , j; if (i > 1) { ";var Ie=E.schema.items&&E.schema.items.type,Te=Array.isArray(Ie);if(!Ie||Ie=="object"||Ie=="array"||Te&&(Ie.indexOf("object")>=0||Ie.indexOf("array")>=0)){$+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+_e+"[i], "+_e+"[j])) { "+Ee+" = false; break outer; } } } "}else{$+=" var itemIndices = {}, item; for (;i--;) { var item = "+_e+"[i]; ";var Ne="checkDataType"+(Te?"s":"");$+=" if ("+E.util[Ne](Ie,"item",E.opts.strictNumbers,true)+") continue; ";if(Te){$+=" if (typeof item == 'string') item = '\"' + item; "}$+=" if (typeof itemIndices[item] == 'number') { "+Ee+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}$+=" } ";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Be=Be||[];Be.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Le=$;$=Be.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Le+"]); "}else{$+=" validate.errors = ["+Le+"]; return false; "}}else{$+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}}else{if(le){$+=" if (true) { "}}return $}},85061:E=>{"use strict";E.exports=function generate_validate(E,R,N){var $="";var j=E.schema.$async===true,q=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),G=E.self._getId(E.schema);if(E.opts.strictKeywords){var ie=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ie){var ae="unknown keyword: "+ie;if(E.opts.strictKeywords==="log")E.logger.warn(ae);else throw new Error(ae)}}if(E.isTop){$+=" var validate = ";if(j){E.async=true;$+="async "}$+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(G&&(E.opts.sourceCode||E.opts.processCode)){$+=" "+("/*# sourceURL="+G+" */")+" "}}if(typeof E.schema=="boolean"||!(q||E.schema.$ref)){var R="false schema";var le=E.level;var _e=E.dataLevel;var Ee=E.schema[R];var we=E.schemaPath+E.util.getProperty(R);var Me=E.errSchemaPath+"/"+R;var Ie=!E.opts.allErrors;var Te;var Ne="data"+(_e||"");var Be="valid"+le;if(E.schema===false){if(E.isTop){Ie=true}else{$+=" var "+Be+" = false; "}var Le=Le||[];Le.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(Te||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Me)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'boolean schema is false' "}if(E.opts.verbose){$+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}$+=" } "}else{$+=" {} "}var je=$;$=Le.pop();if(!E.compositeRule&&Ie){if(E.async){$+=" throw new ValidationError(["+je+"]); "}else{$+=" validate.errors = ["+je+"]; return false; "}}else{$+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if(j){$+=" return data; "}else{$+=" validate.errors = null; return true; "}}else{$+=" var "+Be+" = true; "}}if(E.isTop){$+=" }; return validate; "}return $}if(E.isTop){var ze=E.isTop,le=E.level=0,_e=E.dataLevel=0,Ne="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Ue="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}$+=" var vErrors = null; ";$+=" var errors = 0; ";$+=" if (rootData === undefined) rootData = data; "}else{var le=E.level,_e=E.dataLevel,Ne="data"+(_e||"");if(G)E.baseId=E.resolve.url(E.baseId,G);if(j&&!E.async)throw new Error("async schema in sync schema");$+=" var errs_"+le+" = errors;"}var Be="valid"+le,Ie=!E.opts.allErrors,qe="",Ge="";var Te;var He=E.schema.type,We=Array.isArray(He);if(He&&E.opts.nullable&&E.schema.nullable===true){if(We){if(He.indexOf("null")==-1)He=He.concat("null")}else if(He!="null"){He=[He,"null"];We=true}}if(We&&He.length==1){He=He[0];We=false}if(E.schema.$ref&&q){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){q=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){$+=" "+E.RULES.all.$comment.code(E,"$comment")}if(He){if(E.opts.coerceTypes){var Ve=E.util.coerceToTypes(E.opts.coerceTypes,He)}var Ke=E.RULES.types[He];if(Ve||We||Ke===true||Ke&&!$shouldUseGroup(Ke)){var we=E.schemaPath+".type",Me=E.errSchemaPath+"/type";var we=E.schemaPath+".type",Me=E.errSchemaPath+"/type",Qe=We?"checkDataTypes":"checkDataType";$+=" if ("+E.util[Qe](He,Ne,E.opts.strictNumbers,true)+") { ";if(Ve){var Je="dataType"+le,Xe="coerced"+le;$+=" var "+Je+" = typeof "+Ne+"; var "+Xe+" = undefined; ";if(E.opts.coerceTypes=="array"){$+=" if ("+Je+" == 'object' && Array.isArray("+Ne+") && "+Ne+".length == 1) { "+Ne+" = "+Ne+"[0]; "+Je+" = typeof "+Ne+"; if ("+E.util.checkDataType(E.schema.type,Ne,E.opts.strictNumbers)+") "+Xe+" = "+Ne+"; } "}$+=" if ("+Xe+" !== undefined) ; ";var Ye=Ve;if(Ye){var Ze,et=-1,tt=Ye.length-1;while(et{"use strict";var $=/^[a-z_$][a-z0-9_$-]*$/i;var j=N(99819);var q=N(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,R){var N=this.RULES;if(N.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!$.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(R){this.validateKeyword(R,true);var q=R.type;if(Array.isArray(q)){for(var G=0;G{"use strict";E=N.nmd(E);const wrapAnsi16=(E,R)=>(...N)=>{const $=E(...N);return`[${$+R}m`};const wrapAnsi256=(E,R)=>(...N)=>{const $=E(...N);return`[${38+R};5;${$}m`};const wrapAnsi16m=(E,R)=>(...N)=>{const $=E(...N);return`[${38+R};2;${$[0]};${$[1]};${$[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,R,N)=>[E,R,N];const setLazyProperty=(E,R,N)=>{Object.defineProperty(E,R,{get:()=>{const $=N();Object.defineProperty(E,R,{value:$,enumerable:true,configurable:true});return $},enumerable:true,configurable:true})};let $;const makeDynamicStyles=(E,R,j,q)=>{if($===undefined){$=N(76843)}const G=q?10:0;const ie={};for(const[N,q]of Object.entries($)){const $=N==="ansi16"?"ansi":N;if(N===R){ie[$]=E(j,G)}else if(typeof q==="object"){ie[$]=E(q[R],G)}}return ie};function assembleStyles(){const E=new Map;const R={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};R.color.gray=R.color.blackBright;R.bgColor.bgGray=R.bgColor.bgBlackBright;R.color.grey=R.color.blackBright;R.bgColor.bgGrey=R.bgColor.bgBlackBright;for(const[N,$]of Object.entries(R)){for(const[N,j]of Object.entries($)){R[N]={open:`[${j[0]}m`,close:`[${j[1]}m`};$[N]=R[N];E.set(j[0],j[1])}Object.defineProperty(R,N,{value:$,enumerable:false})}Object.defineProperty(R,"codes",{value:E,enumerable:false});R.color.close="";R.bgColor.close="";setLazyProperty(R.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(R.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(R.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(R.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(R.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(R.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return R}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},33775:(E,R,N)=>{const $=N(24253);const j={};for(const E of Object.keys($)){j[$[E]]=E}const q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};E.exports=q;for(const E of Object.keys(q)){if(!("channels"in q[E])){throw new Error("missing channels property: "+E)}if(!("labels"in q[E])){throw new Error("missing channel labels property: "+E)}if(q[E].labels.length!==q[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:R,labels:N}=q[E];delete q[E].channels;delete q[E].labels;Object.defineProperty(q[E],"channels",{value:R});Object.defineProperty(q[E],"labels",{value:N})}q.rgb.hsl=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.min(R,N,$);const q=Math.max(R,N,$);const G=q-j;let ie;let ae;if(q===j){ie=0}else if(R===q){ie=(N-$)/G}else if(N===q){ie=2+($-R)/G}else if($===q){ie=4+(R-N)/G}ie=Math.min(ie*60,360);if(ie<0){ie+=360}const le=(j+q)/2;if(q===j){ae=0}else if(le<=.5){ae=G/(q+j)}else{ae=G/(2-q-j)}return[ie,ae*100,le*100]};q.rgb.hsv=function(E){let R;let N;let $;let j;let q;const G=E[0]/255;const ie=E[1]/255;const ae=E[2]/255;const le=Math.max(G,ie,ae);const _e=le-Math.min(G,ie,ae);const diffc=function(E){return(le-E)/6/_e+1/2};if(_e===0){j=0;q=0}else{q=_e/le;R=diffc(G);N=diffc(ie);$=diffc(ae);if(G===le){j=$-N}else if(ie===le){j=1/3+R-$}else if(ae===le){j=2/3+N-R}if(j<0){j+=1}else if(j>1){j-=1}}return[j*360,q*100,le*100]};q.rgb.hwb=function(E){const R=E[0];const N=E[1];let $=E[2];const j=q.rgb.hsl(E)[0];const G=1/255*Math.min(R,Math.min(N,$));$=1-1/255*Math.max(R,Math.max(N,$));return[j,G*100,$*100]};q.rgb.cmyk=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.min(1-R,1-N,1-$);const q=(1-R-j)/(1-j)||0;const G=(1-N-j)/(1-j)||0;const ie=(1-$-j)/(1-j)||0;return[q*100,G*100,ie*100,j*100]};function comparativeDistance(E,R){return(E[0]-R[0])**2+(E[1]-R[1])**2+(E[2]-R[2])**2}q.rgb.keyword=function(E){const R=j[E];if(R){return R}let N=Infinity;let q;for(const R of Object.keys($)){const j=$[R];const G=comparativeDistance(E,j);if(G.04045?((R+.055)/1.055)**2.4:R/12.92;N=N>.04045?((N+.055)/1.055)**2.4:N/12.92;$=$>.04045?(($+.055)/1.055)**2.4:$/12.92;const j=R*.4124+N*.3576+$*.1805;const q=R*.2126+N*.7152+$*.0722;const G=R*.0193+N*.1192+$*.9505;return[j*100,q*100,G*100]};q.rgb.lab=function(E){const R=q.rgb.xyz(E);let N=R[0];let $=R[1];let j=R[2];N/=95.047;$/=100;j/=108.883;N=N>.008856?N**(1/3):7.787*N+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;const G=116*$-16;const ie=500*(N-$);const ae=200*($-j);return[G,ie,ae]};q.hsl.rgb=function(E){const R=E[0]/360;const N=E[1]/100;const $=E[2]/100;let j;let q;let G;if(N===0){G=$*255;return[G,G,G]}if($<.5){j=$*(1+N)}else{j=$+N-$*N}const ie=2*$-j;const ae=[0,0,0];for(let E=0;E<3;E++){q=R+1/3*-(E-1);if(q<0){q++}if(q>1){q--}if(6*q<1){G=ie+(j-ie)*6*q}else if(2*q<1){G=j}else if(3*q<2){G=ie+(j-ie)*(2/3-q)*6}else{G=ie}ae[E]=G*255}return ae};q.hsl.hsv=function(E){const R=E[0];let N=E[1]/100;let $=E[2]/100;let j=N;const q=Math.max($,.01);$*=2;N*=$<=1?$:2-$;j*=q<=1?q:2-q;const G=($+N)/2;const ie=$===0?2*j/(q+j):2*N/($+N);return[R,ie*100,G*100]};q.hsv.rgb=function(E){const R=E[0]/60;const N=E[1]/100;let $=E[2]/100;const j=Math.floor(R)%6;const q=R-Math.floor(R);const G=255*$*(1-N);const ie=255*$*(1-N*q);const ae=255*$*(1-N*(1-q));$*=255;switch(j){case 0:return[$,ae,G];case 1:return[ie,$,G];case 2:return[G,$,ae];case 3:return[G,ie,$];case 4:return[ae,G,$];case 5:return[$,G,ie]}};q.hsv.hsl=function(E){const R=E[0];const N=E[1]/100;const $=E[2]/100;const j=Math.max($,.01);let q;let G;G=(2-N)*$;const ie=(2-N)*j;q=N*j;q/=ie<=1?ie:2-ie;q=q||0;G/=2;return[R,q*100,G*100]};q.hwb.rgb=function(E){const R=E[0]/360;let N=E[1]/100;let $=E[2]/100;const j=N+$;let q;if(j>1){N/=j;$/=j}const G=Math.floor(6*R);const ie=1-$;q=6*R-G;if((G&1)!==0){q=1-q}const ae=N+q*(ie-N);let le;let _e;let Ee;switch(G){default:case 6:case 0:le=ie;_e=ae;Ee=N;break;case 1:le=ae;_e=ie;Ee=N;break;case 2:le=N;_e=ie;Ee=ae;break;case 3:le=N;_e=ae;Ee=ie;break;case 4:le=ae;_e=N;Ee=ie;break;case 5:le=ie;_e=N;Ee=ae;break}return[le*255,_e*255,Ee*255]};q.cmyk.rgb=function(E){const R=E[0]/100;const N=E[1]/100;const $=E[2]/100;const j=E[3]/100;const q=1-Math.min(1,R*(1-j)+j);const G=1-Math.min(1,N*(1-j)+j);const ie=1-Math.min(1,$*(1-j)+j);return[q*255,G*255,ie*255]};q.xyz.rgb=function(E){const R=E[0]/100;const N=E[1]/100;const $=E[2]/100;let j;let q;let G;j=R*3.2406+N*-1.5372+$*-.4986;q=R*-.9689+N*1.8758+$*.0415;G=R*.0557+N*-.204+$*1.057;j=j>.0031308?1.055*j**(1/2.4)-.055:j*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;G=G>.0031308?1.055*G**(1/2.4)-.055:G*12.92;j=Math.min(Math.max(0,j),1);q=Math.min(Math.max(0,q),1);G=Math.min(Math.max(0,G),1);return[j*255,q*255,G*255]};q.xyz.lab=function(E){let R=E[0];let N=E[1];let $=E[2];R/=95.047;N/=100;$/=108.883;R=R>.008856?R**(1/3):7.787*R+16/116;N=N>.008856?N**(1/3):7.787*N+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;const j=116*N-16;const q=500*(R-N);const G=200*(N-$);return[j,q,G]};q.lab.xyz=function(E){const R=E[0];const N=E[1];const $=E[2];let j;let q;let G;q=(R+16)/116;j=N/500+q;G=q-$/200;const ie=q**3;const ae=j**3;const le=G**3;q=ie>.008856?ie:(q-16/116)/7.787;j=ae>.008856?ae:(j-16/116)/7.787;G=le>.008856?le:(G-16/116)/7.787;j*=95.047;q*=100;G*=108.883;return[j,q,G]};q.lab.lch=function(E){const R=E[0];const N=E[1];const $=E[2];let j;const q=Math.atan2($,N);j=q*360/2/Math.PI;if(j<0){j+=360}const G=Math.sqrt(N*N+$*$);return[R,G,j]};q.lch.lab=function(E){const R=E[0];const N=E[1];const $=E[2];const j=$/360*2*Math.PI;const q=N*Math.cos(j);const G=N*Math.sin(j);return[R,q,G]};q.rgb.ansi16=function(E,R=null){const[N,$,j]=E;let G=R===null?q.rgb.hsv(E)[2]:R;G=Math.round(G/50);if(G===0){return 30}let ie=30+(Math.round(j/255)<<2|Math.round($/255)<<1|Math.round(N/255));if(G===2){ie+=60}return ie};q.hsv.ansi16=function(E){return q.rgb.ansi16(q.hsv.rgb(E),E[2])};q.rgb.ansi256=function(E){const R=E[0];const N=E[1];const $=E[2];if(R===N&&N===$){if(R<8){return 16}if(R>248){return 231}return Math.round((R-8)/247*24)+232}const j=16+36*Math.round(R/255*5)+6*Math.round(N/255*5)+Math.round($/255*5);return j};q.ansi16.rgb=function(E){let R=E%10;if(R===0||R===7){if(E>50){R+=3.5}R=R/10.5*255;return[R,R,R]}const N=(~~(E>50)+1)*.5;const $=(R&1)*N*255;const j=(R>>1&1)*N*255;const q=(R>>2&1)*N*255;return[$,j,q]};q.ansi256.rgb=function(E){if(E>=232){const R=(E-232)*10+8;return[R,R,R]}E-=16;let R;const N=Math.floor(E/36)/5*255;const $=Math.floor((R=E%36)/6)/5*255;const j=R%6/5*255;return[N,$,j]};q.rgb.hex=function(E){const R=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const N=R.toString(16).toUpperCase();return"000000".substring(N.length)+N};q.hex.rgb=function(E){const R=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!R){return[0,0,0]}let N=R[0];if(R[0].length===3){N=N.split("").map((E=>E+E)).join("")}const $=parseInt(N,16);const j=$>>16&255;const q=$>>8&255;const G=$&255;return[j,q,G]};q.rgb.hcg=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.max(Math.max(R,N),$);const q=Math.min(Math.min(R,N),$);const G=j-q;let ie;let ae;if(G<1){ie=q/(1-G)}else{ie=0}if(G<=0){ae=0}else if(j===R){ae=(N-$)/G%6}else if(j===N){ae=2+($-R)/G}else{ae=4+(R-N)/G}ae/=6;ae%=1;return[ae*360,G*100,ie*100]};q.hsl.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=N<.5?2*R*N:2*R*(1-N);let j=0;if($<1){j=(N-.5*$)/(1-$)}return[E[0],$*100,j*100]};q.hsv.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=R*N;let j=0;if($<1){j=(N-$)/(1-$)}return[E[0],$*100,j*100]};q.hcg.rgb=function(E){const R=E[0]/360;const N=E[1]/100;const $=E[2]/100;if(N===0){return[$*255,$*255,$*255]}const j=[0,0,0];const q=R%1*6;const G=q%1;const ie=1-G;let ae=0;switch(Math.floor(q)){case 0:j[0]=1;j[1]=G;j[2]=0;break;case 1:j[0]=ie;j[1]=1;j[2]=0;break;case 2:j[0]=0;j[1]=1;j[2]=G;break;case 3:j[0]=0;j[1]=ie;j[2]=1;break;case 4:j[0]=G;j[1]=0;j[2]=1;break;default:j[0]=1;j[1]=0;j[2]=ie}ae=(1-N)*$;return[(N*j[0]+ae)*255,(N*j[1]+ae)*255,(N*j[2]+ae)*255]};q.hcg.hsv=function(E){const R=E[1]/100;const N=E[2]/100;const $=R+N*(1-R);let j=0;if($>0){j=R/$}return[E[0],j*100,$*100]};q.hcg.hsl=function(E){const R=E[1]/100;const N=E[2]/100;const $=N*(1-R)+.5*R;let j=0;if($>0&&$<.5){j=R/(2*$)}else if($>=.5&&$<1){j=R/(2*(1-$))}return[E[0],j*100,$*100]};q.hcg.hwb=function(E){const R=E[1]/100;const N=E[2]/100;const $=R+N*(1-R);return[E[0],($-R)*100,(1-$)*100]};q.hwb.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=1-N;const j=$-R;let q=0;if(j<1){q=($-j)/(1-j)}return[E[0],j*100,q*100]};q.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};q.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};q.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};q.gray.hsl=function(E){return[0,0,E[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(E){return[0,100,E[0]]};q.gray.cmyk=function(E){return[0,0,0,E[0]]};q.gray.lab=function(E){return[E[0],0,0]};q.gray.hex=function(E){const R=Math.round(E[0]/100*255)&255;const N=(R<<16)+(R<<8)+R;const $=N.toString(16).toUpperCase();return"000000".substring($.length)+$};q.rgb.gray=function(E){const R=(E[0]+E[1]+E[2])/3;return[R/255*100]}},76843:(E,R,N)=>{const $=N(33775);const j=N(2581);const q={};const G=Object.keys($);function wrapRaw(E){const wrappedFn=function(...R){const N=R[0];if(N===undefined||N===null){return N}if(N.length>1){R=N}return E(R)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...R){const N=R[0];if(N===undefined||N===null){return N}if(N.length>1){R=N}const $=E(R);if(typeof $==="object"){for(let E=$.length,R=0;R{q[E]={};Object.defineProperty(q[E],"channels",{value:$[E].channels});Object.defineProperty(q[E],"labels",{value:$[E].labels});const R=j(E);const N=Object.keys(R);N.forEach((N=>{const $=R[N];q[E][N]=wrapRounded($);q[E][N].raw=wrapRaw($)}))}));E.exports=q},2581:(E,R,N)=>{const $=N(33775);function buildGraph(){const E={};const R=Object.keys($);for(let N=R.length,$=0;${function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,R,N)=>{var $=N(76052);var j=N(92406).D;var q=N(78864);var G=N(71017);var ie=N(46233);var ae=N(72464);var le=N(81886);var _e=365.259641*24*60*60*1e3;var Ee=37;var we=1;var Me=2;function isVersionsMatch(E,R){return(E+".").indexOf(R+".")===0}function isEolReleased(E){var R=E.slice(1);return $.some((function(E){return isVersionsMatch(E.version,R)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var R=E;if(E.split(".").length===3){R=E.split(".").slice(0,-1).join(".")}return R}function nameMapper(E){return function mapName(R){return E+" "+R}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,R){if(E.length===0)return[];var N=uniq(E.map(getMajor));var $=N[N.length-R];if(!$){return E}var j=[];for(var q=E.length-1;q>=0;q--){if($>getMajor(E[q]))break;j.unshift(E[q])}return j}function uniq(E){var R=[];for(var N=0;N"){return function(E){return parseFloat(E)>R}}else if(E===">="){return function(E){return parseFloat(E)>=R}}else if(E==="<"){return function(E){return parseFloat(E)"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,R)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,R)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(R,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(R,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,R){if(ER)return+1;return 0}function compareSemver(E,R){return compare(parseInt(E[0]),parseInt(R[0]))||compare(parseInt(E[1]||"0"),parseInt(R[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(R[2]||"0"))}function semverFilterLoose(E,R){R=R.split(".").map(parseSimpleInt);if(typeof R[1]==="undefined"){R[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,R)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,R)>=0}}}function compareSemverLoose(E,R){if(E[0]!==R[0]){return E[0]=E}));return N.concat(q.map(nameMapper(j.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,R){E.versions=E.versions.map((function(E){return R[E]||E}));E.released=E.versions.map((function(E){return R[E]||E}));var N={};for(var $ in E.releaseDate){N[R[$]||$]=E.releaseDate[$]}E.releaseDate=N;return E}function byName(E,R){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(R.mobileToDesktop&&browserslist.desktopNames[E]){var N=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),N)}else{var $=cloneData(N);$.name=E;if(E==="op_mob"){$=mapVersions($,{"10.0-10.1":"10"})}return $}}return browserslist.data[E]}function normalizeAndroidVersions(E,R){var N=Ee;var $=R[R.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(R.slice(N-$-1))}function normalizeAndroidData(E,R){E.released=normalizeAndroidVersions(E.released,R.released);E.versions=normalizeAndroidVersions(E.versions,R.versions);return E}function checkName(E,R){var N=byName(E,R);if(!N)throw new ae("Unknown browser "+E);return N}function unknownQuery(E){return new ae("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,R,N){if(N.mobileToDesktop)return E;var $=browserslist.data.android.released;var j=$[$.length-1];var q=j-Ee-R;if(q>0){return E.slice(-1)}else{return E.slice(q-1)}}function resolve(E,R){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,N,$){var j=N.queryString;var q=j.indexOf("not ")===0;if(q){if($===0){throw new ae("Write any browsers query (for instance, `defaults`) "+"before `"+j+"`")}j=j.slice(4)}for(var G=0;G 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=le.clearCaches;browserslist.parseConfig=le.parseConfig;browserslist.readConfig=le.readConfig;browserslist.findConfig=le.findConfig;browserslist.loadConfig=le.loadConfig;browserslist.coverage=function(E,R){var N;if(typeof R==="undefined"){N=browserslist.usage.global}else if(R==="my stats"){var $={};$.path=G.resolve?G.resolve("."):".";var j=le.getStat($);if(!j){throw new ae("Custom usage statistics was not provided")}N={};for(var q in j){fillUsage(N,q,j[q])}}else if(typeof R==="string"){if(R.length>2){R=R.toLowerCase()}else{R=R.toUpperCase()}le.loadCountry(browserslist.usage,R,browserslist.data);N=browserslist.usage[R]}else{if("dataByBrowser"in R){R=R.dataByBrowser}N={};for(var ie in R){for(var _e in R[ie]){N[ie+" "+_e]=R[ie][_e]}}}return E.reduce((function(E,R){var $=N[R];if($===undefined){$=N[R.replace(/ \S+$/," 0")]}return E+($||0)}),0)};function nodeQuery(E,R){var N=$.filter((function(E){return E.name==="nodejs"}));var j=N.filter((function(E){return isVersionsMatch(E.version,R)}));if(j.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+R+" of Node.js")}}return["node "+j[j.length-1].version]}function sinceQuery(E,R,N,$){R=parseInt(R);N=parseInt(N||"01")-1;$=parseInt($||"01");return filterByYear(Date.UTC(R,N,$,0,0,0),E)}function coverQuery(E,R,N){R=parseFloat(R);var $=browserslist.usage.global;if(N){if(N.match(/^my\s+stats$/)){if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}$=E.customUsage}else{var j;if(N.length===2){j=N.toUpperCase()}else{j=N.toLowerCase()}le.loadCountry(browserslist.usage,j,browserslist.data);$=browserslist.usage[j]}}var q=Object.keys($).sort((function(E,R){return $[R]-$[E]}));var G=0;var ie=[];var _e;for(var Ee=0;Ee<=q.length;Ee++){_e=q[Ee];if($[_e]===0)break;G+=$[_e];ie.push(_e);if(G>=R)break}return ie}var Te=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,R){return Object.keys(j).reduce((function(N,$){var j=byName($,E);if(!j)return N;var q=getMajorVersions(j.released,R);q=q.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,R,E)}return N.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,R){return Object.keys(j).reduce((function(N,$){var j=byName($,E);if(!j)return N;var q=j.released.slice(-R);q=q.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,R,E)}return N.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,R){var N=getMajorVersions(Object.keys(ie),R);return N.map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,R,N){var $=checkName(N,E);var j=getMajorVersions($.released,R);var q=j.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,R,E)}return q}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,R){return Object.keys(ie).slice(-R).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,R,N){var $=checkName(N,E);var j=$.released.slice(-R).map(nameMapper($.name));if($.name==="android"){j=filterAndroid(j,R,E)}return j}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys(j).reduce((function(R,N){var $=byName(N,E);if(!$)return R;var j=$.versions.filter((function(E){return $.released.indexOf(E)===-1}));j=j.map(nameMapper($.name));return R.concat(j)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,R){var N=checkName(R,E);return N.versions.filter((function(E){return N.released.indexOf(E)===-1})).map(nameMapper(N.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,R){return filterByYear(Date.now()-_e*R,E)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(E,R,N){N=parseFloat(N);var $=browserslist.usage.global;return Object.keys($).reduce((function(E,j){if(R===">"){if($[j]>N){E.push(j)}}else if(R==="<"){if($[j]=N){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(E,R,N){N=parseFloat(N);if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var $=E.customUsage;return Object.keys($).reduce((function(E,j){if(R===">"){if($[j]>N){E.push(j)}}else if(R==="<"){if($[j]=N){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,R,N,$){N=parseFloat(N);var j=le.loadStat(E,$,browserslist.data);if(j){E.customUsage={};for(var q in j){fillUsage(E.customUsage,q,j[q])}}if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var G=E.customUsage;return Object.keys(G).reduce((function(E,$){if(R===">"){if(G[$]>N){E.push($)}}else if(R==="<"){if(G[$]=N){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,R,N,$){N=parseFloat(N);if($.length===2){$=$.toUpperCase()}else{$=$.toLowerCase()}le.loadCountry(browserslist.usage,$,browserslist.data);var j=browserslist.usage[$];return Object.keys(j).reduce((function(E,$){if(R===">"){if(j[$]>N){E.push($)}}else if(R==="<"){if(j[$]=N){E.push($)}return E}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(E,R){le.loadFeature(browserslist.cache,R);var N=browserslist.cache[R];return Object.keys(N).reduce((function(E,R){var $=N[R];if($.indexOf("y")>=0||$.indexOf("a")>=0){E.push(R)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N){var $=normalizeElectron(R);var j=normalizeElectron(N);if(!ie[$]){throw new ae("Unknown version "+R+" of electron")}if(!ie[j]){throw new ae("Unknown version "+N+" of electron")}R=parseFloat(R);N=parseFloat(N);return Object.keys(ie).filter((function(E){var $=parseFloat(E);return $>=R&&$<=N})).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N){var j=$.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return j.filter(semverFilterLoose(">=",R)).filter(semverFilterLoose("<=",N)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N,$){var j=checkName(R,E);N=parseFloat(normalizeVersion(j,N)||N);$=parseFloat(normalizeVersion(j,$)||$);function filter(E){var R=parseFloat(E);return R>=N&&R<=$}return j.released.filter(filter).map(nameMapper(j.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,R,N){var $=normalizeElectron(N);return Object.keys(ie).filter(generateFilter(R,$)).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,R,N){var j=$.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return j.filter(generateSemverFilter(R,N)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,R,N,$){var j=checkName(R,E);var q=browserslist.versionAliases[j.name][$];if(q){$=q}return j.released.filter(generateFilter(N,$)).map((function(E){return j.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,R){var N=normalizeElectron(R);var $=ie[N];if(!$){throw new ae("Unknown version "+R+" of electron")}return["chrome "+$]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(E){return[le.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var R=Date.now();var N=Object.keys(q).filter((function(E){return RDate.parse(q[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(N,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,R,N){if(/^tp$/i.test(N))N="TP";var $=checkName(R,E);var j=normalizeVersion($,N);if(j){N=j}else{if(N.indexOf(".")===-1){j=N+".0"}else{j=N.replace(/\.0$/,"")}j=normalizeVersion($,j);if(j){N=j}else if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+N+" of "+R)}}return[$.name+" "+N]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,R){return resolve(le.loadQueries(E,R),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var R=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(R,E)}},{regexp:/^(\w+)$/i,select:function(E,R){if(byName(R,E)){throw new ae("Specify versions in Browserslist query for browser "+R)}else{throw unknownQuery(R)}}}];(function(){for(var E in j){var R=j[E];browserslist.data[E]={name:E,versions:normalize(j[E].versions),released:normalize(j[E].versions.slice(0,-3)),releaseDate:j[E].release_date};fillUsage(browserslist.usage.global,E,R.usage_global);browserslist.versionAliases[E]={};for(var N=0;N{var $=N(30048)["default"];var j=N(24356)["default"];var q=N(71017);var G=N(57147);var ie=N(72464);var ae=/^\s*\[(.+)]\s*$/;var le=/^browserslist-config-/;var _e=/@[^/]+\/browserslist-config(-|$|\/)/;var Ee=6*30*24*60*60*1e3;var we="Browserslist config should be a string or an array "+"of strings with browser queries";var Me=false;var Ie={};var Te={};function checkExtend(E){var R=" Use `dangerousExtend` option to disable.";if(!le.test(E)&&!_e.test(E)){throw new ie("Browserslist config needs `browserslist-config-` prefix. "+R)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ie("`.` not allowed in Browserslist config name. "+R)}if(E.indexOf("node_modules")!==-1){throw new ie("`node_modules` not allowed in Browserslist config."+R)}}function isFile(E){if(E in Ie){return Ie[E]}var R=G.existsSync(E)&&G.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){Ie[E]=R}return R}function eachParent(E,R){var N=isFile(E)?q.dirname(E):E;var $=q.resolve(N);do{var j=R($);if(typeof j!=="undefined")return j}while($!==($=q.dirname($)));return undefined}function check(E){if(Array.isArray(E)){for(var R=0;R{E.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.058856,1:.004204,2:.004204,3:.004525,4:.004271,5:.008408,6:.004538,7:.004267,8:.004204,9:.071468,hB:.012813,YB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,ZB:.004204,GB:.008408,aB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,VB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","YB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,hB:1161648e3,YB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,ZB:1520985600,GB:1525824e3,aB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,VB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{0:.008408,1:.004465,2:.004642,3:.004891,4:.008408,5:.02102,6:.214404,7:.004204,8:.016816,9:.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,ZB:.008408,GB:.016816,aB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,VB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,ZB:1496707200,GB:1500940800,aB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,VB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,WB:.058856,XB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","WB","C","XB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,WB:1522281600,C:1537142400,XB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{0:.008542,1:.004227,2:.004725,3:.008408,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,VB:0,wB:.00685,xB:0,yB:.008392,zB:.004706,WB:.006229,eB:.004879,"0B":.008786,XB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","WB","eB","0B","C","XB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,WB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,XB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3,VB:1623715200},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",WB:"o",eB:"o","0B":"o",XB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{YB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","YB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,YB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,WB:0,eB:0,XB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","WB","eB","C","XB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,WB:1314835200,eB:1318291200,C:1330300800,XB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"77",WB:"11.1",XB:"12.1",YB:"3",ZB:"59",aB:"61",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:E=>{E.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:E=>{E.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,R,N)=>{const{browsers:$}=N(59307);const j=N(57917).browserVersions;const q=N(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce(((R,N)=>{R[j[N]]=E[N];return R}),{})}E.exports.D=Object.keys(q).reduce(((E,R)=>{let N=q[R];E[$[R]]=Object.keys(N).reduce(((E,R)=>{if(R==="A"){E.usage_global=unpackBrowserVersions(N[R])}else if(R==="C"){E.versions=N[R].reduce(((E,R)=>{if(R===""){E.push(null)}else{E.push(j[R])}return E}),[])}else if(R==="D"){E.prefix_exceptions=unpackBrowserVersions(N[R])}else if(R==="E"){E.browser=N[R]}else if(R==="F"){E.release_date=Object.keys(N[R]).reduce(((E,$)=>{E[j[$]]=N[R][$];return E}),{})}else{E.prefix=N[R]}return E}),{});return E}),{})},57917:(E,R,N)=>{E.exports.browserVersions=N(5682)},59307:(E,R,N)=>{E.exports.browsers=N(73238)},30048:(E,R,N)=>{const $=N(54994);const j=N(44909);const{browsers:q}=N(59307);const G=N(57917).browserVersions;const ie=Math.log(2);function unpackSupport(E){let R=Object.keys(j).reduce(((R,N)=>{if(E&j[N])R.push(N);return R}),[]);let N=E>>7;let $=[];while(N){let E=Math.floor(Math.log(N)/ie)+1;$.unshift(`#${E}`);N-=Math.pow(2,E-1)}return R.concat($).join(" ")}function unpackFeature(E){let R={status:$[E.B],title:E.C};R.stats=Object.keys(E.A).reduce(((R,N)=>{let $=E.A[N];R[q[N]]=Object.keys($).reduce(((E,R)=>{let N=$[R].split(" ");let j=unpackSupport(R);N.forEach((R=>E[G[R]]=j));return E}),{});return R}),{});return R}E.exports=unpackFeature;E.exports["default"]=unpackFeature},24356:(E,R,N)=>{const{browsers:$}=N(59307);function unpackRegion(E){return Object.keys(E).reduce(((R,N)=>{let j=E[N];R[$[N]]=Object.keys(j).reduce(((E,R)=>{let N=j[R];if(R==="_"){N.split(" ").forEach((R=>E[R]=null))}else{E[R]=N}return E}),{});return R}),{})}E.exports=unpackRegion;E.exports["default"]=unpackRegion},57347:(E,R,N)=>{"use strict";const $=N(11207);const{stdout:j,stderr:q}=N(96204);const{stringReplaceAll:G,stringEncaseCRLFWithFirstIndex:ie}=N(88445);const{isArray:ae}=Array;const le=["ansi","ansi","ansi256","ansi16m"];const _e=Object.create(null);const applyOptions=(E,R={})=>{if(R.level&&!(Number.isInteger(R.level)&&R.level>=0&&R.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const N=j?j.level:0;E.level=R.level===undefined?N:R.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const R={};applyOptions(R,E);R.template=(...E)=>chalkTag(R.template,...E);Object.setPrototypeOf(R,Chalk.prototype);Object.setPrototypeOf(R.template,R);R.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};R.template.Instance=ChalkClass;return R.template};function Chalk(E){return chalkFactory(E)}for(const[E,R]of Object.entries($)){_e[E]={get(){const N=createBuilder(this,createStyler(R.open,R.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:N});return N}}}_e.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const Ee=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of Ee){_e[E]={get(){const{level:R}=this;return function(...N){const j=createStyler($.color[le[R]][E](...N),$.color.close,this._styler);return createBuilder(this,j,this._isEmpty)}}}}for(const E of Ee){const R="bg"+E[0].toUpperCase()+E.slice(1);_e[R]={get(){const{level:R}=this;return function(...N){const j=createStyler($.bgColor[le[R]][E](...N),$.bgColor.close,this._styler);return createBuilder(this,j,this._isEmpty)}}}}const we=Object.defineProperties((()=>{}),{..._e,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,R,N)=>{let $;let j;if(N===undefined){$=E;j=R}else{$=N.openAll+E;j=R+N.closeAll}return{open:E,close:R,openAll:$,closeAll:j,parent:N}};const createBuilder=(E,R,N)=>{const builder=(...E)=>{if(ae(E[0])&&ae(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,we);builder._generator=E;builder._styler=R;builder._isEmpty=N;return builder};const applyStyle=(E,R)=>{if(E.level<=0||!R){return E._isEmpty?"":R}let N=E._styler;if(N===undefined){return R}const{openAll:$,closeAll:j}=N;if(R.indexOf("")!==-1){while(N!==undefined){R=G(R,N.close,N.open);N=N.parent}}const q=R.indexOf("\n");if(q!==-1){R=ie(R,j,$,q)}return $+R+j};let Me;const chalkTag=(E,...R)=>{const[$]=R;if(!ae($)||!ae($.raw)){return R.join(" ")}const j=R.slice(1);const q=[$.raw[0]];for(let E=1;E<$.length;E++){q.push(String(j[E-1]).replace(/[{}\\]/g,"\\$&"),String($.raw[E]))}if(Me===undefined){Me=N(35702)}return Me(E,q.join(""))};Object.defineProperties(Chalk.prototype,_e);const Ie=Chalk();Ie.supportsColor=j;Ie.stderr=Chalk({level:q?q.level:0});Ie.stderr.supportsColor=q;E.exports=Ie},35702:E=>{"use strict";const R=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const N=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const $=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const j=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const q=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const R=E[0]==="u";const N=E[1]==="{";if(R&&!N&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(R&&N){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return q.get(E)||E}function parseArguments(E,R){const N=[];const q=R.trim().split(/\s*,\s*/g);let G;for(const R of q){const q=Number(R);if(!Number.isNaN(q)){N.push(q)}else if(G=R.match($)){N.push(G[2].replace(j,((E,R,N)=>R?unescape(R):N)))}else{throw new Error(`Invalid Chalk template style argument: ${R} (in style '${E}')`)}}return N}function parseStyle(E){N.lastIndex=0;const R=[];let $;while(($=N.exec(E))!==null){const E=$[1];if($[2]){const N=parseArguments(E,$[2]);R.push([E].concat(N))}else{R.push([E])}}return R}function buildStyle(E,R){const N={};for(const E of R){for(const R of E.styles){N[R[0]]=E.inverse?null:R.slice(1)}}let $=E;for(const[E,R]of Object.entries(N)){if(!Array.isArray(R)){continue}if(!(E in $)){throw new Error(`Unknown Chalk style: ${E}`)}$=R.length>0?$[E](...R):$[E]}return $}E.exports=(E,N)=>{const $=[];const j=[];let q=[];N.replace(R,((R,N,G,ie,ae,le)=>{if(N){q.push(unescape(N))}else if(ie){const R=q.join("");q=[];j.push($.length===0?R:buildStyle(E,$)(R));$.push({inverse:G,styles:parseStyle(ie)})}else if(ae){if($.length===0){throw new Error("Found extraneous } in Chalk template literal")}j.push(buildStyle(E,$)(q.join("")));q=[];$.pop()}else{q.push(le)}}));j.push(q.join(""));if($.length>0){const E=`Chalk template literal is missing ${$.length} closing bracket${$.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return j.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,R,N)=>{let $=E.indexOf(R);if($===-1){return E}const j=R.length;let q=0;let G="";do{G+=E.substr(q,$-q)+R+N;q=$+j;$=E.indexOf(R,q)}while($!==-1);G+=E.substr(q);return G};const stringEncaseCRLFWithFirstIndex=(E,R,N,$)=>{let j=0;let q="";do{const G=E[$-1]==="\r";q+=E.substr(j,(G?$-1:$)-j)+R+(G?"\r\n":"\n")+N;j=$+1;$=E.indexOf("\n",j)}while($!==-1);q+=E.substr(j);return q};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(5115);var j=N(12781);function evCommon(){var E=process.hrtime();var R=E[0]*1e6+Math.round(E[1]/1e3);return{ts:R,pid:process.pid,tid:process.pid}}var q=function(E){$.__extends(Tracer,E);function Tracer(R){if(R===void 0){R={}}var N=E.call(this)||this;N.noStream=false;N.events=[];if(typeof R!=="object"){throw new Error("Invalid options passed (must be an object)")}if(R.parent!=null&&typeof R.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(R.fields!=null&&typeof R.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(R.objectMode!=null&&(R.objectMode!==true&&R.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}N.noStream=R.noStream||false;N.parent=R.parent;if(N.parent){N.fields=Object.assign({},R.parent&&R.parent.fields)}else{N.fields={}}if(R.fields){Object.assign(N.fields,R.fields)}if(!N.fields.cat){N.fields.cat="default"}else if(Array.isArray(N.fields.cat)){N.fields.cat=N.fields.cat.join(",")}if(!N.fields.args){N.fields.args={}}if(N.parent){N._push=N.parent._push.bind(N.parent)}else{N._objectMode=Boolean(R.objectMode);var $={objectMode:N._objectMode};if(N._objectMode){N._push=N.push}else{N._push=N._pushString;$.encoding="utf8"}j.Readable.call(N,$)}return N}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,R=this.events;E{"use strict";E.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},93349:(E,R)=>{function isArray(E){if(Array.isArray){return Array.isArray(E)}return objectToString(E)==="[object Array]"}R.isArray=isArray;function isBoolean(E){return typeof E==="boolean"}R.isBoolean=isBoolean;function isNull(E){return E===null}R.isNull=isNull;function isNullOrUndefined(E){return E==null}R.isNullOrUndefined=isNullOrUndefined;function isNumber(E){return typeof E==="number"}R.isNumber=isNumber;function isString(E){return typeof E==="string"}R.isString=isString;function isSymbol(E){return typeof E==="symbol"}R.isSymbol=isSymbol;function isUndefined(E){return E===void 0}R.isUndefined=isUndefined;function isRegExp(E){return objectToString(E)==="[object RegExp]"}R.isRegExp=isRegExp;function isObject(E){return typeof E==="object"&&E!==null}R.isObject=isObject;function isDate(E){return objectToString(E)==="[object Date]"}R.isDate=isDate;function isError(E){return objectToString(E)==="[object Error]"||E instanceof Error}R.isError=isError;function isFunction(E){return typeof E==="function"}R.isFunction=isFunction;function isPrimitive(E){return E===null||typeof E==="boolean"||typeof E==="number"||typeof E==="string"||typeof E==="symbol"||typeof E==="undefined"}R.isPrimitive=isPrimitive;R.isBuffer=Buffer.isBuffer;function objectToString(E){return Object.prototype.toString.call(E)}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"91",13.1:"91","14.0":"93"}},57235:(E,R,N)=>{"use strict";const $=N(83881);const j=N(22471);E.exports=class AliasFieldPlugin{constructor(E,R,N){this.source=E;this.field=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((N,q,G)=>{if(!N.descriptionFileData)return G();const ie=j(E,N);if(!ie)return G();const ae=$.getField(N.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const le=Object.prototype.hasOwnProperty.call(ae,ie)?ae[ie]:ie.startsWith("./")?ae[ie.slice(2)]:undefined;if(le===ie)return G();if(le===undefined)return G();if(le===false){const E={...N,path:false};if(typeof q.yield==="function"){q.yield(E);return G(null,null)}return G(null,E)}const _e={...N,path:N.descriptionFileRoot,request:le,fullySpecified:false};E.doResolve(R,_e,"aliased from description file "+N.descriptionFilePath+" with mapping '"+ie+"' to '"+le+"'",q,((E,R)=>{if(E)return G(E);if(R===undefined)return G(null,null);G(null,R)}))}))}}},22002:(E,R,N)=>{"use strict";const $=N(43556);const{PathType:j,getType:q}=N(67411);E.exports=class AliasPlugin{constructor(E,R,N){this.source=E;this.options=Array.isArray(R)?R:[R];this.target=N}apply(E){const R=E.ensureHook(this.target);const getAbsolutePathWithSlashEnding=R=>{const N=q(R);if(N===j.AbsolutePosix||N===j.AbsoluteWin){return E.join(R,"_").slice(0,-1)}return null};const isSubPath=(E,R)=>{const N=getAbsolutePathWithSlashEnding(R);if(!N)return false;return E.startsWith(N)};E.getHook(this.source).tapAsync("AliasPlugin",((N,j,q)=>{const G=N.request||N.path;if(!G)return q();$(this.options,((q,ie)=>{let ae=false;if(G===q.name||!q.onlyModule&&(N.request?G.startsWith(`${q.name}/`):isSubPath(G,q.name))){const le=G.substr(q.name.length);const resolveWithAlias=($,ie)=>{if($===false){const E={...N,path:false};if(typeof j.yield==="function"){j.yield(E);return ie(null,null)}return ie(null,E)}if(G!==$&&!G.startsWith($+"/")){ae=true;const G=$+le;const _e={...N,request:G,fullySpecified:false};return E.doResolve(R,_e,"aliased with mapping '"+q.name+"': '"+$+"' to '"+G+"'",j,((E,R)=>{if(E)return ie(E);if(R)return ie(null,R);return ie()}))}return ie()};const stoppingCallback=(E,R)=>{if(E)return ie(E);if(R)return ie(null,R);if(ae)return ie(null,null);return ie()};if(Array.isArray(q.alias)){return $(q.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(q.alias,stoppingCallback)}}return ie()}),q)}))}}},40803:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,R,N){this.source=E;this.appending=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((N,$,j)=>{const q={...N,path:N.path+this.appending,relativePath:N.relativePath&&N.relativePath+this.appending};E.doResolve(R,q,this.appending,$,j)}))}}},67703:(E,R,N)=>{"use strict";const $=N(77282).nextTick;const dirname=E=>{let R=E.length-1;while(R>=0){const N=E.charCodeAt(R);if(N===47||N===92)break;R--}if(R<0)return"";return E.slice(0,R)};const runCallbacks=(E,R,N)=>{if(E.length===1){E[0](R,N);E.length=0;return}let $;for(const j of E){try{j(R,N)}catch(E){if(!$)$=E}}E.length=0;if($)throw $};class OperationMergerBackend{constructor(E,R,N){this._provider=E;this._syncProvider=R;this._providerContext=N;this._activeAsyncOperations=new Map;this.provide=this._provider?(R,N,$)=>{if(typeof N==="function"){$=N;N=undefined}if(N){return this._provider.call(this._providerContext,R,N,$)}if(typeof R!=="string"){$(new TypeError("path must be a string"));return}let j=this._activeAsyncOperations.get(R);if(j){j.push($);return}this._activeAsyncOperations.set(R,j=[$]);E(R,((E,N)=>{this._activeAsyncOperations.delete(R);runCallbacks(j,E,N)}))}:null;this.provideSync=this._syncProvider?(E,R)=>this._syncProvider.call(this._providerContext,E,R):null}purge(){}purgeParent(){}}const j=0;const q=1;const G=2;class CacheBackend{constructor(E,R,N,$){this._duration=E;this._provider=R;this._syncProvider=N;this._providerContext=$;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let R=5e3;R{this._activeAsyncOperations.delete(E);this._storeResult(E,R,N);this._enterAsyncMode();runCallbacks(G,R,N)}))}provideSync(E,R){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(R){return this._syncProvider.call(this._providerContext,E,R)}if(this._mode===q){this._runDecays()}let N=this._data.get(E);if(N!==undefined){if(N.err)throw N.err;return N.result}const $=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let j;try{j=this._syncProvider.call(this._providerContext,E)}catch(R){this._storeResult(E,R,undefined);this._enterSyncModeWhenIdle();if($)runCallbacks($,R,undefined);throw R}this._storeResult(E,undefined,j);this._enterSyncModeWhenIdle();if($)runCallbacks($,undefined,j);return j}purge(E){if(!E){if(this._mode!==j){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[R,N]of this._data){if(R.startsWith(E)){this._data.delete(R);N.level.delete(R)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[R,N]of this._data){for(const $ of E){if(R.startsWith($)){this._data.delete(R);N.level.delete(R);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const R=new Set;for(const N of E){R.add(dirname(N))}this.purge(R)}}_storeResult(E,R,N){if(this._data.has(E))return;const $=this._levels[this._currentLevel];this._data.set(E,{err:R,result:N,level:$});$.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const R=this._levels[E];this._currentLevel=E;for(let E of R){this._data.delete(E)}R.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==j){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case G:return;case j:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case q:this._runDecays();if(this._mode===j)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=G;const R=setTimeout((()=>{this._mode=q;this._runDecays()}),E);if(R.unref)R.unref();this._timeout=R}_enterSyncModeWhenIdle(){if(this._mode===j){this._mode=q;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=j;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,R,N,$)=>{if(E>0){return new CacheBackend(E,R,N,$)}return new OperationMergerBackend(R,N,$)};E.exports=class CachedInputFileSystem{constructor(E,R){this.fileSystem=E;this._lstatBackend=createBackend(R,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const N=this._lstatBackend.provide;this.lstat=N;const $=this._lstatBackend.provideSync;this.lstatSync=$;this._statBackend=createBackend(R,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const j=this._statBackend.provide;this.stat=j;const q=this._statBackend.provideSync;this.statSync=q;this._readdirBackend=createBackend(R,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const G=this._readdirBackend.provide;this.readdir=G;const ie=this._readdirBackend.provideSync;this.readdirSync=ie;this._readFileBackend=createBackend(R,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const le=this._readFileBackend.provideSync;this.readFileSync=le;this._readJsonBackend=createBackend(R,this.fileSystem.readJson||this.readFile&&((E,R)=>{this.readFile(E,((E,N)=>{if(E)return R(E);if(!N||N.length===0)return R(new Error("No file content"));let $;try{$=JSON.parse(N.toString("utf-8"))}catch(E){return R(E)}R(null,$)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const R=this.readFileSync(E);const N=JSON.parse(R.toString("utf-8"));return N}),this.fileSystem);const _e=this._readJsonBackend.provide;this.readJson=_e;const Ee=this._readJsonBackend.provideSync;this.readJsonSync=Ee;this._readlinkBackend=createBackend(R,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const we=this._readlinkBackend.provide;this.readlink=we;const Me=this._readlinkBackend.provideSync;this.readlinkSync=Me}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},94511:(E,R,N)=>{"use strict";const $=N(69835).basename;E.exports=class CloneBasenamePlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((N,j,q)=>{const G=$(N.path);const ie=E.join(N.path,G);const ae={...N,path:ie,relativePath:N.relativePath&&E.join(N.relativePath,G)};E.doResolve(R,ae,"using path: "+ie,j,q)}))}}},61770:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,R,N,$,j){this.source=E;this.test=R;this.message=N;this.allowAlternatives=$;this.target=j}apply(E){const R=E.ensureHook(this.target);const{test:N,message:$,allowAlternatives:j}=this;const q=Object.keys(N);E.getHook(this.source).tapAsync("ConditionalPlugin",((G,ie,ae)=>{for(const E of q){if(G[E]!==N[E])return ae()}E.doResolve(R,G,$,ie,j?ae:(E,R)=>{if(E)return ae(E);if(R===undefined)return ae(null,null);ae(null,R)})}))}}},65943:(E,R,N)=>{"use strict";const $=N(83881);E.exports=class DescriptionFilePlugin{constructor(E,R,N,$){this.source=E;this.filenames=R;this.pathIsFile=N;this.target=$}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((N,j,q)=>{const G=N.path;if(!G)return q();const ie=this.pathIsFile?$.cdUp(G):G;if(!ie)return q();$.loadDescriptionFile(E,ie,this.filenames,N.descriptionFilePath?{path:N.descriptionFilePath,content:N.descriptionFileData,directory:N.descriptionFileRoot}:undefined,j,(($,ae)=>{if($)return q($);if(!ae){if(j.log)j.log(`No description file found in ${ie} or above`);return q()}const le="."+G.substr(ae.directory.length).replace(/\\/g,"/");const _e={...N,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:le};E.doResolve(R,_e,"using description file: "+ae.path+" (relative path: "+le+")",j,((E,R)=>{if(E)return q(E);if(R===undefined)return q(null,null);q(null,R)}))}))}))}}},83881:(E,R,N)=>{"use strict";const $=N(43556);function loadDescriptionFile(E,R,N,j,q,G){(function findDescriptionFile(){if(j&&j.directory===R){return G(null,j)}$(N,((N,$)=>{const j=E.join(R,N);if(E.fileSystem.readJson){E.fileSystem.readJson(j,((E,R)=>{if(E){if(typeof E.code!=="undefined"){if(q.missingDependencies){q.missingDependencies.add(j)}return $()}if(q.fileDependencies){q.fileDependencies.add(j)}return onJson(E)}if(q.fileDependencies){q.fileDependencies.add(j)}onJson(null,R)}))}else{E.fileSystem.readFile(j,((E,R)=>{if(E){if(q.missingDependencies){q.missingDependencies.add(j)}return $()}if(q.fileDependencies){q.fileDependencies.add(j)}let N;if(R){try{N=JSON.parse(R.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,N)}))}function onJson(E,N){if(E){if(q.log)q.log(j+" (directory description file): "+E);else E.message=j+" (directory description file): "+E;return $(E)}$(null,{content:N,directory:R,path:j})}}),((E,N)=>{if(E)return G(E);if(N){return G(null,N)}else{const E=cdUp(R);if(!E){return G()}else{R=E;return findDescriptionFile()}}}))})()}function getField(E,R){if(!E)return undefined;if(Array.isArray(R)){let N=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((N,$,j)=>{const q=E.fileSystem;const G=N.path;if(!G)return j();q.stat(G,((q,ie)=>{if(q||!ie){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" doesn't exist");return j()}if(!ie.isDirectory()){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" is not a directory");return j()}if($.fileDependencies)$.fileDependencies.add(G);E.doResolve(R,N,`existing directory ${G}`,$,j)}))}))}}},5109:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=N(43556);const{processExportsField:G}=N(4077);const{parseIdentifier:ie}=N(48366);const{checkExportsFieldTarget:ae}=N(67411);E.exports=class ExportsFieldPlugin{constructor(E,R,N,$){this.source=E;this.target=$;this.conditionNames=R;this.fieldName=N;this.fieldProcessorCache=new WeakMap}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((N,le,_e)=>{if(!N.descriptionFilePath)return _e();if(N.relativePath!=="."||N.request===undefined)return _e();const Ee=N.query||N.fragment?(N.request==="."?"./":N.request)+N.query+N.fragment:N.request;const we=j.getField(N.descriptionFileData,this.fieldName);if(!we)return _e();if(N.directory){return _e(new Error(`Resolving to directories is not possible with the exports field (request was ${Ee}/)`))}let Me;try{let E=this.fieldProcessorCache.get(N.descriptionFileData);if(E===undefined){E=G(we);this.fieldProcessorCache.set(N.descriptionFileData,E)}Me=E(Ee,this.conditionNames)}catch(E){if(le.log){le.log(`Exports field in ${N.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(Me.length===0){return _e(new Error(`Package path ${Ee} is not exported from package ${N.descriptionFileRoot} (see exports field in ${N.descriptionFilePath})`))}q(Me,((j,q)=>{const G=ie(j);if(!G)return q();const[_e,Ee,we]=G;const Me=ae(_e);if(Me){return q(Me)}const Ie={...N,request:undefined,path:$.join(N.descriptionFileRoot,_e),relativePath:_e,query:Ee,fragment:we};E.doResolve(R,Ie,"using exports field: "+j,le,q)}),((E,R)=>_e(E,R||null)))}))}}},87876:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);const N=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",(($,j,q)=>{const G=$.path;if(!G)return q();N.stat(G,((N,ie)=>{if(N||!ie){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" doesn't exist");return q()}if(!ie.isFile()){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" is not a file");return q()}if(j.fileDependencies)j.fileDependencies.add(G);E.doResolve(R,$,"existing file: "+G,j,q)}))}))}}},1825:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=N(43556);const{processImportsField:G}=N(4077);const{parseIdentifier:ie}=N(48366);const ae=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,R,N,$,j){this.source=E;this.targetFile=$;this.targetPackage=j;this.conditionNames=R;this.fieldName=N;this.fieldProcessorCache=new WeakMap}apply(E){const R=E.ensureHook(this.targetFile);const N=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((le,_e,Ee)=>{if(!le.descriptionFilePath||le.request===undefined){return Ee()}const we=le.request+le.query+le.fragment;const Me=j.getField(le.descriptionFileData,this.fieldName);if(!Me)return Ee();if(le.directory){return Ee(new Error(`Resolving to directories is not possible with the imports field (request was ${we}/)`))}let Ie;try{let E=this.fieldProcessorCache.get(le.descriptionFileData);if(E===undefined){E=G(Me);this.fieldProcessorCache.set(le.descriptionFileData,E)}Ie=E(we,this.conditionNames)}catch(E){if(_e.log){_e.log(`Imports field in ${le.descriptionFilePath} can't be processed: ${E}`)}return Ee(E)}if(Ie.length===0){return Ee(new Error(`Package import ${we} is not imported from package ${le.descriptionFileRoot} (see imports field in ${le.descriptionFilePath})`))}q(Ie,((j,q)=>{const G=ie(j);if(!G)return q();const[Ee,we,Me]=G;switch(Ee.charCodeAt(0)){case ae:{const N={...le,request:undefined,path:$.join(le.descriptionFileRoot,Ee),relativePath:Ee,query:we,fragment:Me};E.doResolve(R,N,"using imports field: "+j,_e,q);break}default:{const R={...le,request:Ee,relativePath:Ee,fullySpecified:true,query:we,fragment:Me};E.doResolve(N,R,"using imports field: "+j,_e,q)}}}),((E,R)=>Ee(E,R||null)))}))}}},91521:E=>{"use strict";const R="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",(($,j,q)=>{const G=$.request||"";let ie=G.indexOf("/",3);if(ie>=0&&G.charCodeAt(2)===R){ie=G.indexOf("/",ie+1)}let ae,le,_e;if(ie<0){ae=G;le=".";_e=false}else{ae=G.slice(0,ie);le="."+G.slice(ie);_e=$.fullySpecified}const Ee={...$,path:E.join($.path,ae),relativePath:$.relativePath&&E.join($.relativePath,ae),request:le,fullySpecified:_e};E.doResolve(N,Ee,null,j,q)}))}}},88277:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((N,$,j)=>{const q={...N,path:E.join(N.path,N.request),relativePath:N.relativePath&&E.join(N.relativePath,N.request),request:undefined};E.doResolve(R,q,null,$,j)}))}}},74934:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const R=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,N,$)=>{if(!N.log)return $();const j=N.log;const q="["+R+"] ";if(E.path)j(q+"Resolving in directory: "+E.path);if(E.request)j(q+"Resolving request: "+E.request);if(E.module)j(q+"Request is an module request.");if(E.directory)j(q+"Request is a directory request.");if(E.query)j(q+"Resolving request query: "+E.query);if(E.fragment)j(q+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)j(q+"Has description data from "+E.descriptionFilePath);if(E.relativePath)j(q+"Relative path from description file is: "+E.relativePath);$()}))}}},26713:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,R,N){this.source=E;this.options=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((N,G,ie)=>{if(N.path!==N.descriptionFileRoot||N[q]===N.descriptionFilePath||!N.descriptionFilePath)return ie();const ae=$.basename(N.descriptionFilePath);let le=j.getField(N.descriptionFileData,this.options.name);if(!le||typeof le!=="string"||le==="."||le==="./"){return ie()}if(this.options.forceRelative&&!/^\.\.?\//.test(le))le="./"+le;const _e={...N,request:le,module:false,directory:le.endsWith("/"),[q]:N.descriptionFilePath};return E.doResolve(R,_e,"use "+le+" from "+this.options.name+" in "+ae,G,ie)}))}}},53191:(E,R,N)=>{"use strict";const $=N(43556);const j=N(69835);E.exports=class ModulesInHierarchicalDirectoriesPlugin{constructor(E,R,N){this.source=E;this.directories=[].concat(R);this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",((N,q,G)=>{const ie=E.fileSystem;const ae=j(N.path).paths.map((R=>this.directories.map((N=>E.join(R,N))))).reduce(((E,R)=>{E.push.apply(E,R);return E}),[]);$(ae,(($,j)=>{ie.stat($,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G={...N,path:$,request:"./"+N.request,module:false};const ie="looking for modules in "+$;return E.doResolve(R,G,ie,q,j)}if(q.log)q.log($+" doesn't exist or is not a directory");if(q.missingDependencies)q.missingDependencies.add($);return j()}))}),G)}))}}},22433:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,R,N){this.source=E;this.path=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((N,$,j)=>{const q={...N,path:this.path,request:"./"+N.request,module:false};E.doResolve(R,q,"looking for modules in "+this.path,$,j)}))}}},12276:E=>{"use strict";E.exports=class NextPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((N,$,j)=>{E.doResolve(R,N,null,$,j)}))}}},71121:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,R,N){this.source=E;this.requestOptions=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((N,$,j)=>{const q=E.parse(N.request);const G={...N,...q,...this.requestOptions};if(N.query&&!q.query){G.query=N.query}if(N.fragment&&!q.fragment){G.fragment=N.fragment}if(q&&$.log){if(q.module)$.log("Parsed request is a module");if(q.directory)$.log("Parsed request is a directory")}if(G.request&&!G.query&&G.fragment){const N=G.fragment.endsWith("/");const q={...G,directory:N,request:G.request+(G.directory?"/":"")+(N?G.fragment.slice(0,-1):G.fragment),fragment:""};E.doResolve(R,q,null,$,((N,q)=>{if(N)return j(N);if(q)return j(null,q);E.doResolve(R,G,null,$,j)}));return}E.doResolve(R,G,null,$,j)}))}}},10232:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,R,N){this.source=E;this.pnpApi=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((N,$,j)=>{const q=N.request;if(!q)return j();const G=`${N.path}/`;const ie=/^(@[^/]+\/)?[^/]+/.exec(q);if(!ie)return j();const ae=ie[0];const le=`.${q.slice(ae.length)}`;let _e;let Ee;try{_e=this.pnpApi.resolveToUnqualified(ae,G,{considerBuiltins:false});if($.fileDependencies){Ee=this.pnpApi.resolveToUnqualified("pnpapi",G,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if($.log){$.log(`request is not managed by the pnpapi`);for(const R of E.message.split("\n").filter(Boolean))$.log(` ${R}`)}return j()}return j(E)}if(_e===ae)return j();if(Ee&&$.fileDependencies){$.fileDependencies.add(Ee)}const we={...N,path:_e,request:le,ignoreSymlinks:true,fullySpecified:N.fullySpecified&&le!=="."};E.doResolve(R,we,`resolved by pnp to ${_e}`,$,((E,R)=>{if(E)return j(E);if(R)return j(null,R);return j(null,null)}))}))}}},33679:(E,R,N)=>{"use strict";const{AsyncSeriesBailHook:$,AsyncSeriesHook:j,SyncHook:q}=N(92960);const G=N(52227);const{parseIdentifier:ie}=N(48366);const{normalize:ae,cachedJoin:le,getType:_e,PathType:Ee}=N(67411);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,R){return E.name+": ("+R.path+") "+(R.request||"")+(R.query||"")+(R.fragment||"")+(R.directory?" directory":"")+(R.module?" module":"")}constructor(E,R){this.fileSystem=E;this.options=R;this.hooks={resolveStep:new q(["hook","request"],"resolveStep"),noResolve:new q(["request","error"],"noResolve"),resolve:new $(["request","resolveContext"],"resolve"),result:new j(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const R=this.hooks[E];if(!R){return this.hooks[E]=new $(["request","resolveContext"],E)}return R}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const R=this.hooks[E];if(!R){throw new Error(`Hook ${E} doesn't exist`)}return R}resolveSync(E,R,N){let $=undefined;let j=undefined;let q=false;this.resolve(E,R,N,{},((E,R)=>{$=E;j=R;q=true}));if(!q){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if($)throw $;if(j===undefined)throw new Error("No result");return j}resolve(E,R,N,$,j){if(!E||typeof E!=="object")return j(new Error("context argument is not an object"));if(typeof R!=="string")return j(new Error("path argument is not a string"));if(typeof N!=="string")return j(new Error("path argument is not a string"));if(!$)return j(new Error("resolveContext argument is not set"));const q={context:E,path:R,request:N};let G;let ie=false;let ae;if(typeof $.yield==="function"){const E=$.yield;G=R=>{E(R);ie=true};ae=E=>{if(E)G(E);j(null)}}const le=`resolve '${N}' in '${R}'`;const finishResolved=E=>j(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const R=new Error("Can't "+le);R.details=E.join("\n");this.hooks.noResolve.call(q,R);return j(R)};if($.log){const E=$.log;const R=[];return this.doResolve(this.hooks.resolve,q,le,{log:N=>{E(N);R.push(N)},yield:G,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((E,N)=>{if(E)return j(E);if(ie||N&&G)return ae(N);if(N)return finishResolved(N);return finishWithoutResolve(R)}))}else{return this.doResolve(this.hooks.resolve,q,le,{log:undefined,yield:G,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((E,R)=>{if(E)return j(E);if(ie||R&&G)return ae(R);if(R)return finishResolved(R);const N=[];return this.doResolve(this.hooks.resolve,q,le,{log:E=>N.push(E),yield:G,stack:$.stack},((E,R)=>{if(E)return j(E);if(ie||R&&G)return ae(R);return finishWithoutResolve(N)}))}))}}doResolve(E,R,N,$,j){const q=Resolver.createStackEntry(E,R);let ie;if($.stack){ie=new Set($.stack);if($.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ie).join("\n "));E.recursion=true;if($.log)$.log("abort resolving because of recursion");return j(E)}ie.add(q)}else{ie=new Set([q])}this.hooks.resolveStep.call(E,R);if(E.isUsed()){const q=G({log:$.log,yield:$.yield,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:ie},N);return E.callAsync(R,q,((E,R)=>{if(E)return j(E);if(R)return j(null,R);j()}))}else{j()}}parse(E){const R={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const N=ie(E);if(!N)return R;[R.request,R.query,R.fragment]=N;if(R.request.length>0){R.internal=this.isPrivate(E);R.module=this.isModule(R.request);R.directory=this.isDirectory(R.request);if(R.directory){R.request=R.request.substr(0,R.request.length-1)}}return R}isModule(E){return _e(E)===Ee.Normal}isPrivate(E){return _e(E)===Ee.Internal}isDirectory(E){return E.endsWith("/")}join(E,R){return le(E,R)}normalize(E){return ae(E)}}E.exports=Resolver},57934:(E,R,N)=>{"use strict";const $=N(77282).versions;const j=N(33679);const{getType:q,PathType:G}=N(67411);const ie=N(64407);const ae=N(57235);const le=N(22002);const _e=N(40803);const Ee=N(61770);const we=N(65943);const Me=N(32575);const Ie=N(5109);const Te=N(87876);const Ne=N(1825);const Be=N(91521);const Le=N(88277);const je=N(26713);const ze=N(53191);const Ue=N(22433);const qe=N(12276);const Ge=N(71121);const He=N(10232);const We=N(77398);const Ve=N(46182);const Ke=N(89609);const Qe=N(68285);const Je=N(44362);const Xe=N(68029);const Ye=N(62216);const Ze=N(55187);function processPnpApiOption(E){if(E===undefined&&$.pnp){return N(35125)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((R=>{const N={name:R,onlyModule:false,alias:E[R]};if(/\$$/.test(R)){N.onlyModule=true;N.name=R.substr(0,R.length-1)}return N})):E||[]}function createOptions(E){const R=new Set(E.mainFields||["main"]);const N=[];for(const E of R){if(typeof E==="string"){N.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){N.push({name:E,forceRelative:true})}else{N.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ie(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const R=q(E);return R===G.Normal||R===G.Relative})),mainFields:N,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}R.createResolver=function(E){const R=createOptions(E);const{alias:N,fallback:$,aliasFields:q,cachePredicate:G,cacheWithContext:ie,conditionNames:et,descriptionFiles:tt,enforceExtension:nt,exportsFields:rt,importsFields:st,extensions:it,fileSystem:ot,fullySpecified:lt,mainFields:ct,mainFiles:ut,modules:pt,plugins:dt,pnpApi:ft,resolveToContext:ht,preferRelative:mt,preferAbsolute:gt,symlinks:yt,unsafeCache:vt,resolver:bt,restrictions:_t,roots:kt}=R;const xt=dt.slice();const Et=bt?bt:new j(ot,R);Et.ensureHook("resolve");Et.ensureHook("internalResolve");Et.ensureHook("newInternalResolve");Et.ensureHook("parsedResolve");Et.ensureHook("describedResolve");Et.ensureHook("internal");Et.ensureHook("rawModule");Et.ensureHook("module");Et.ensureHook("resolveAsModule");Et.ensureHook("undescribedResolveInPackage");Et.ensureHook("resolveInPackage");Et.ensureHook("resolveInExistingDirectory");Et.ensureHook("relative");Et.ensureHook("describedRelative");Et.ensureHook("directory");Et.ensureHook("undescribedExistingDirectory");Et.ensureHook("existingDirectory");Et.ensureHook("undescribedRawFile");Et.ensureHook("rawFile");Et.ensureHook("file");Et.ensureHook("finalFile");Et.ensureHook("existingFile");Et.ensureHook("resolved");Et.hooks.newInteralResolve=Et.hooks.newInternalResolve;for(const{source:E,resolveOptions:R}of[{source:"resolve",resolveOptions:{fullySpecified:lt}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(vt){xt.push(new Ye(E,G,vt,ie,`new-${E}`));xt.push(new Ge(`new-${E}`,R,"parsed-resolve"))}else{xt.push(new Ge(E,R,"parsed-resolve"))}}xt.push(new we("parsed-resolve",tt,false,"described-resolve"));xt.push(new qe("after-parsed-resolve","described-resolve"));xt.push(new qe("described-resolve","normal-resolve"));if($.length>0){xt.push(new le("described-resolve",$,"internal-resolve"))}if(N.length>0)xt.push(new le("normal-resolve",N,"internal-resolve"));q.forEach((E=>{xt.push(new ae("normal-resolve",E,"internal-resolve"))}));if(mt){xt.push(new Le("after-normal-resolve","relative"))}xt.push(new Ee("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));xt.push(new Ee("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(gt){xt.push(new Le("after-normal-resolve","relative"))}if(kt.size>0){xt.push(new Ke("after-normal-resolve",kt,"relative"))}if(!mt&&!gt){xt.push(new Le("after-normal-resolve","relative"))}st.forEach((E=>{xt.push(new Ne("internal",et,E,"relative","internal-resolve"))}));rt.forEach((E=>{xt.push(new Qe("raw-module",E,"resolve-as-module"))}));pt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&ft){xt.push(new ze("raw-module",E.filter((E=>E!=="node_modules")),"module"));xt.push(new He("raw-module",ft,"undescribed-resolve-in-package"))}else{xt.push(new ze("raw-module",E,"module"))}}else{xt.push(new Ue("raw-module",E,"module"))}}));xt.push(new Be("module","resolve-as-module"));if(!ht){xt.push(new Ee("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}xt.push(new Me("resolve-as-module","undescribed-resolve-in-package"));xt.push(new we("undescribed-resolve-in-package",tt,false,"resolve-in-package"));xt.push(new qe("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((E=>{xt.push(new Ie("resolve-in-package",et,E,"relative"))}));xt.push(new qe("resolve-in-package","resolve-in-existing-directory"));xt.push(new Le("resolve-in-existing-directory","relative"));xt.push(new we("relative",tt,true,"described-relative"));xt.push(new qe("after-relative","described-relative"));if(ht){xt.push(new qe("described-relative","directory"))}else{xt.push(new Ee("described-relative",{directory:false},null,true,"raw-file"));xt.push(new Ee("described-relative",{fullySpecified:false},"as directory",true,"directory"))}xt.push(new Me("directory","undescribed-existing-directory"));if(ht){xt.push(new qe("undescribed-existing-directory","resolved"))}else{xt.push(new we("undescribed-existing-directory",tt,false,"existing-directory"));ut.forEach((E=>{xt.push(new Ze("undescribed-existing-directory",E,"undescribed-raw-file"))}));ct.forEach((E=>{xt.push(new je("existing-directory",E,"resolve-in-existing-directory"))}));ut.forEach((E=>{xt.push(new Ze("existing-directory",E,"undescribed-raw-file"))}));xt.push(new we("undescribed-raw-file",tt,true,"raw-file"));xt.push(new qe("after-undescribed-raw-file","raw-file"));xt.push(new Ee("raw-file",{fullySpecified:true},null,false,"file"));if(!nt){xt.push(new Xe("raw-file","no extension","file"))}it.forEach((E=>{xt.push(new _e("raw-file",E,"file"))}));if(N.length>0)xt.push(new le("file",N,"internal-resolve"));q.forEach((E=>{xt.push(new ae("file",E,"internal-resolve"))}));xt.push(new qe("file","final-file"));xt.push(new Te("final-file","existing-file"));if(yt)xt.push(new Je("existing-file","existing-file"));xt.push(new qe("existing-file","resolved"))}if(_t.size>0){xt.push(new We(Et.hooks.resolved,_t))}xt.push(new Ve(Et.hooks.resolved));for(const E of xt){if(typeof E==="function"){E.call(Et,Et)}else{E.apply(Et)}}return Et};function mergeFilteredToArray(E,R){const N=[];const $=new Set(E);for(const E of $){if(R(E)){const R=N.length>0?N[N.length-1]:undefined;if(Array.isArray(R)){R.push(E)}else{N.push([E])}}else{N.push(E)}}return N}},77398:E=>{"use strict";const R="/".charCodeAt(0);const N="\\".charCodeAt(0);const isInside=(E,$)=>{if(!E.startsWith($))return false;if(E.length===$.length)return true;const j=E.charCodeAt($.length);return j===R||j===N};E.exports=class RestrictionsPlugin{constructor(E,R){this.source=E;this.restrictions=R}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,R,N)=>{if(typeof E.path==="string"){const $=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside($,E)){if(R.log){R.log(`${$} is not inside of the restriction ${E}`)}return N(null,null)}}else if(!E.test($)){if(R.log){R.log(`${$} doesn't match the restriction ${E}`)}return N(null,null)}}}N()}))}}},46182:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((R,N,$)=>{const j={...R};if(N.log)N.log("reporting result "+j.path);E.hooks.result.callAsync(j,N,(E=>{if(E)return $(E);if(typeof N.yield==="function"){N.yield(j);$(null,null)}else{$(null,j)}}))}))}}},89609:(E,R,N)=>{"use strict";const $=N(43556);class RootsPlugin{constructor(E,R,N){this.roots=Array.from(R);this.source=E;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((N,j,q)=>{const G=N.request;if(!G)return q();if(!G.startsWith("/"))return q();$(this.roots,(($,q)=>{const ie=E.join($,G.slice(1));const ae={...N,path:ie,relativePath:N.relativePath&&ie};E.doResolve(R,ae,`root path ${$}`,j,q)}),q)}))}}E.exports=RootsPlugin},68285:(E,R,N)=>{"use strict";const $=N(83881);const j="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,R,N){this.source=E;this.target=N;this.fieldName=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((N,q,G)=>{if(!N.descriptionFilePath)return G();const ie=N.request;if(!ie)return G();const ae=$.getField(N.descriptionFileData,this.fieldName);if(!ae)return G();const le=$.getField(N.descriptionFileData,"name");if(typeof le!=="string")return G();if(ie.startsWith(le)&&(ie.length===le.length||ie.charCodeAt(le.length)===j)){const $=`.${ie.slice(le.length)}`;const j={...N,request:$,path:N.descriptionFileRoot,relativePath:"."};E.doResolve(R,j,"self reference",q,G)}else{return G()}}))}}},44362:(E,R,N)=>{"use strict";const $=N(43556);const j=N(69835);const{getType:q,PathType:G}=N(67411);E.exports=class SymlinkPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);const N=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ie,ae,le)=>{if(ie.ignoreSymlinks)return le();const _e=j(ie.path);const Ee=_e.segments;const we=_e.paths;let Me=false;let Ie=-1;$(we,((E,R)=>{Ie++;if(ae.fileDependencies)ae.fileDependencies.add(E);N.readlink(E,((E,N)=>{if(!E&&N){Ee[Ie]=N;Me=true;const E=q(N.toString());if(E===G.AbsoluteWin||E===G.AbsolutePosix){return R(null,Ie)}}R()}))}),((N,$)=>{if(!Me)return le();const j=typeof $==="number"?Ee.slice(0,$+1):Ee.slice();const q=j.reduceRight(((R,N)=>E.join(R,N)));const G={...ie,path:q};E.doResolve(R,G,"resolved symlink to "+q,ae,le)}))}))}}},64407:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const R=E.lstatSync;if(R){this.lstat=(N,$,j)=>{let q;try{q=R.call(E,N)}catch(E){return(j||$)(E)}(j||$)(null,q)};this.lstatSync=(N,$)=>R.call(E,N,$)}this.stat=(R,N,$)=>{let j;try{j=$?E.statSync(R,N):E.statSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.statSync=(R,N)=>E.statSync(R,N);this.readdir=(R,N,$)=>{let j;try{j=E.readdirSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readdirSync=(R,N)=>E.readdirSync(R,N);this.readFile=(R,N,$)=>{let j;try{j=E.readFileSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readFileSync=(R,N)=>E.readFileSync(R,N);this.readlink=(R,N,$)=>{let j;try{j=E.readlinkSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readlinkSync=(R,N)=>E.readlinkSync(R,N);this.readJson=undefined;this.readJsonSync=undefined;const N=E.readJsonSync;if(N){this.readJson=(R,$,j)=>{let q;try{q=N.call(E,R)}catch(E){return(j||$)(E)}(j||$)(null,q)};this.readJsonSync=(R,$)=>N.call(E,R,$)}}E.exports=SyncAsyncFileSystemDecorator},68029:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,R,N){this.source=E;this.message=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((N,$,j)=>{E.doResolve(R,N,this.message,$,j)}))}}},62216:E=>{"use strict";function getCacheId(E,R,N){return JSON.stringify({type:E,context:N?R.context:"",path:R.path,query:R.query,fragment:R.fragment,request:R.request})}E.exports=class UnsafeCachePlugin{constructor(E,R,N,$,j){this.source=E;this.filterPredicate=R;this.withContext=$;this.cache=N;this.target=j}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((N,$,j)=>{if(!this.filterPredicate(N))return j();const q=typeof $.yield==="function";const G=getCacheId(q?"yield":"default",N,this.withContext);const ie=this.cache[G];if(ie){if(q){const E=$.yield;if(Array.isArray(ie)){for(const R of ie)E(R)}else{E(ie)}return j(null,null)}return j(null,ie)}let ae;let le;const _e=[];if(q){ae=$.yield;le=E=>{_e.push(E)}}E.doResolve(R,N,null,le?{...$,yield:le}:$,((E,R)=>{if(E)return j(E);if(q){if(R)_e.push(R);for(const E of _e)ae(E);this.cache[G]=_e;return j(null,null)}if(R)return j(null,this.cache[G]=R);j()}))}))}}},55187:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,R,N){this.source=E;this.filename=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((N,$,j)=>{const q=E.join(N.path,this.filename);const G={...N,path:q,relativePath:N.relativePath&&E.join(N.relativePath,this.filename)};E.doResolve(R,G,"using path: "+q,$,j)}))}}},52227:E=>{"use strict";E.exports=function createInnerContext(E,R,N){let $=false;let j=undefined;if(E.log){if(R){j=N=>{if(!$){E.log(R);$=true}E.log(" "+N)}}else{j=E.log}}const q={log:j,yield:E.yield,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return q}},43556:E=>{"use strict";E.exports=function forEachBail(E,R,N){if(E.length===0)return N();let $=0;const next=()=>{let j=undefined;R(E[$++],((R,q)=>{if(R||q!==undefined||$>=E.length){return N(R,q)}if(j===false)while(next());j=true}));if(!j)j=false;return j};while(next());}},22471:E=>{"use strict";E.exports=function getInnerRequest(E,R){if(typeof R.__innerRequest==="string"&&R.__innerRequest_request===R.request&&R.__innerRequest_relativePath===R.relativePath)return R.__innerRequest;let N;if(R.request){N=R.request;if(/^\.\.?(?:\/|$)/.test(N)&&R.relativePath){N=E.join(R.relativePath,N)}}else{N=R.relativePath}R.__innerRequest_request=R.request;R.__innerRequest_relativePath=R.relativePath;return R.__innerRequest=N}},69835:E=>{"use strict";E.exports=function getPaths(E){if(E==="/")return{paths:["/"],segments:[""]};const R=E.split(/(.*?[\\/]+)/);const N=[E];const $=[R[R.length-1]];let j=R[R.length-1];E=E.substr(0,E.length-j.length-1);for(let q=R.length-2;q>2;q-=2){N.push(E);j=R[q];E=E.substr(0,E.length-j.length)||"/";$.push(j.substr(0,j.length-1))}j=R[1];$.push(j);N.push(j);return{paths:N,segments:$}};E.exports.basename=function basename(E){const R=E.lastIndexOf("/"),N=E.lastIndexOf("\\");const $=R<0?N:N<0?R:R{"use strict";const $=N(15808);const j=N(67703);const q=N(57934);const G=new j($,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:G});function resolve(E,R,N,$,j){if(typeof E==="string"){j=$;$=N;N=R;R=E;E=ie}if(typeof j!=="function"){j=$}ae.resolve(E,R,N,$,j)}const le=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});function resolveSync(E,R,N){if(typeof E==="string"){N=R;R=E;E=ie}return le.resolveSync(E,R,N)}function create(E){E={fileSystem:G,...E};const R=q.createResolver(E);return function(E,N,$,j,q){if(typeof E==="string"){q=j;j=$;$=N;N=E;E=ie}if(typeof q!=="function"){q=j}R.resolve(E,N,$,j,q)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:G,...E};const R=q.createResolver(E);return function(E,N,$){if(typeof E==="string"){$=N;N=E;E=ie}return R.resolveSync(E,N,$)}}const mergeExports=(E,R)=>{const N=Object.getOwnPropertyDescriptors(R);Object.defineProperties(E,N);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:q,CachedInputFileSystem:j,get CloneBasenamePlugin(){return N(94511)},get LogInfoPlugin(){return N(74934)},get forEachBail(){return N(43556)}})},4077:E=>{"use strict";const R="/".charCodeAt(0);const N=".".charCodeAt(0);const $="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,R,N){return function fieldProcessor($,j){$=R($);const q=findMatch($,E);if(q===null)return[];const[G,ie]=q;let ae=null;if(isConditionalMapping(G)){ae=conditionalMapping(G,j);if(ae===null)return[]}else{ae=G}const le=ie===$.length+1?undefined:ie<0?$.slice(-ie-1):$.slice(ie);return directMapping(le,ie<0,ae,j,N)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==N){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==R){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===R){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==$){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===R){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===R){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,$){if(E.charCodeAt(0)===R||E.charCodeAt(0)===N&&E.charCodeAt(1)!==R){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const j=E.charCodeAt(E.length-1)===R;if(j!==$){throw new Error($?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,N){const $=E.charCodeAt(E.length-1)===R;if($!==N){throw new Error(N?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,R){if(E.length===0){const E=R.files.get("");return E?[E,1]:null}if(R.children===null&&R.folder===null&&R.wildcards===null){const N=R.files.get(E);return N?[N,E.length+1]:null}let N=R;let $=0;let j=E.indexOf("/",0);let q=null;const applyFolderMapping=()=>{const E=N.folder;if(E){if(q){q[0]=E;q[1]=-$-1}else{q=[E,-$-1]}}};const applyWildcardMappings=(E,R)=>{if(E){for(const[N,j]of E){if(R.startsWith(N)){if(!q){q=[j,$+N.length]}else if(q[1]<$+N.length){q[0]=j;q[1]=$+N.length}}}}};while(j!==-1){applyFolderMapping();const R=N.wildcards;if(!R&&N.children===null)return q;const G=E.slice($,j);applyWildcardMappings(R,G);if(N.children===null)return q;const ie=N.children.get(G);if(!ie){return q}N=ie;$=j+1;j=E.indexOf("/",$)}const G=$>0?E.slice($):E;const ie=N.files.get(G);if(ie){return[ie,E.length+1]}applyFolderMapping();applyWildcardMappings(N.wildcards,G);return q}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,R,N,$,j){if(N===null)return[];if(typeof N==="string"){return[targetMapping(E,R,N,j)]}const q=[];for(const G of N){if(typeof G==="string"){q.push(targetMapping(E,R,G,j));continue}const N=conditionalMapping(G,$);if(!N)continue;const ie=directMapping(E,R,N,$,j);for(const E of ie){q.push(E)}}return q}function targetMapping(E,R,N,$){if(E===undefined){$(N,false);return N}if(R){$(N,true);return N+E}$(N,false);return N.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,R){let N=[[E,Object.keys(E),0]];e:while(N.length>0){const[E,$,j]=N[N.length-1];const q=$.length-1;for(let G=j;G<$.length;G++){const j=$[G];if(G!==q){if(j==="default"){throw new Error("Default condition should be last one")}}else if(j==="default"){const R=E[j];if(isConditionalMapping(R)){const E=R;N[N.length-1][2]=G+1;N.push([E,Object.keys(E),0]);continue e}return R}if(R.has(j)){const R=E[j];if(isConditionalMapping(R)){const E=R;N[N.length-1][2]=G+1;N.push([E,Object.keys(E),0]);continue e}return R}}N.pop()}return null}function createNode(){return{children:null,folder:null,wildcards:null,files:new Map}}function walkPath(E,R,N){if(R.length===0){E.folder=N;return}let $=E;let j=0;let q=R.indexOf("/",0);while(q!==-1){const E=R.slice(j,q);let N;if($.children===null){N=createNode();$.children=new Map;$.children.set(E,N)}else{N=$.children.get(E);if(!N){N=createNode();$.children.set(E,N)}}$=N;j=q+1;q=R.indexOf("/",j)}if(j>=R.length){$.folder=N}else{const E=j>0?R.slice(j):R;if(E.endsWith("*")){if($.wildcards===null)$.wildcards=new Map;$.wildcards.set(E.slice(0,-1),N)}else{$.files.set(E,N)}}}function buildExportsFieldPathTree(E){const $=createNode();if(typeof E==="string"){$.files.set("",E);return $}else if(Array.isArray(E)){$.files.set("",E.slice());return $}const j=Object.keys(E);for(let q=0;q{"use strict";const R=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const N=R.exec(E);if(!N)return null;return[N[1].replace(/\0(.)/g,"$1"),N[2]?N[2].replace(/\0(.)/g,"$1"):"",N[3]||""]}E.exports.parseIdentifier=parseIdentifier},67411:(E,R,N)=>{"use strict";const $=N(71017);const j="#".charCodeAt(0);const q="/".charCodeAt(0);const G="\\".charCodeAt(0);const ie="A".charCodeAt(0);const ae="Z".charCodeAt(0);const le="a".charCodeAt(0);const _e="z".charCodeAt(0);const Ee=".".charCodeAt(0);const we=":".charCodeAt(0);const Me=$.posix.normalize;const Ie=$.win32.normalize;const Te=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});R.PathType=Te;const getType=E=>{switch(E.length){case 0:return Te.Empty;case 1:{const R=E.charCodeAt(0);switch(R){case Ee:return Te.Relative;case q:return Te.AbsolutePosix;case j:return Te.Internal}return Te.Normal}case 2:{const R=E.charCodeAt(0);switch(R){case Ee:{const R=E.charCodeAt(1);switch(R){case Ee:case q:return Te.Relative}return Te.Normal}case q:return Te.AbsolutePosix;case j:return Te.Internal}const N=E.charCodeAt(1);if(N===we){if(R>=ie&&R<=ae||R>=le&&R<=_e){return Te.AbsoluteWin}}return Te.Normal}}const R=E.charCodeAt(0);switch(R){case Ee:{const R=E.charCodeAt(1);switch(R){case q:return Te.Relative;case Ee:{const R=E.charCodeAt(2);if(R===q)return Te.Relative;return Te.Normal}}return Te.Normal}case q:return Te.AbsolutePosix;case j:return Te.Internal}const N=E.charCodeAt(1);if(N===we){const N=E.charCodeAt(2);if((N===G||N===q)&&(R>=ie&&R<=ae||R>=le&&R<=_e)){return Te.AbsoluteWin}}return Te.Normal};R.getType=getType;const normalize=E=>{switch(getType(E)){case Te.Empty:return E;case Te.AbsoluteWin:return Ie(E);case Te.Relative:{const R=Me(E);return getType(R)===Te.Relative?R:`./${R}`}}return Me(E)};R.normalize=normalize;const join=(E,R)=>{if(!R)return normalize(E);const N=getType(R);switch(N){case Te.AbsolutePosix:return Me(R);case Te.AbsoluteWin:return Ie(R)}switch(getType(E)){case Te.Normal:case Te.Relative:case Te.AbsolutePosix:return Me(`${E}/${R}`);case Te.AbsoluteWin:return Ie(`${E}\\${R}`)}switch(N){case Te.Empty:return E;case Te.Relative:{const R=Me(E);return getType(R)===Te.Relative?R:`./${R}`}}return Me(E)};R.join=join;const Ne=new Map;const cachedJoin=(E,R)=>{let N;let $=Ne.get(E);if($===undefined){Ne.set(E,$=new Map)}else{N=$.get(R);if(N!==undefined)return N}N=join(E,R);$.set(R,N);return N};R.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let R=2;let N=E.indexOf("/",2);let $=0;while(N!==-1){const j=E.slice(R,N);switch(j){case"..":{$--;if($<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:$++;break}R=N+1;N=E.indexOf("/",R)}};R.checkExportsFieldTarget=checkExportsFieldTarget},54448:(E,R,N)=>{var $=N(55757);function init(E,R,N){if(!!R&&typeof R!="string"){R=R.message||R.name}$(this,{type:E,name:E,cause:typeof R!="string"?R:N,message:R},"ewr")}function CustomError(E,R){Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);init.call(this,"CustomError",E,R)}CustomError.prototype=new Error;function createError(E,R,N){var err=function(N,$){init.call(this,R,N,$);if(R=="FilesystemError"){this.code=this.cause.code;this.path=this.cause.path;this.errno=this.cause.errno;this.message=(E.errno[this.cause.errno]?E.errno[this.cause.errno].description:this.cause.message)+(this.cause.path?" ["+this.cause.path+"]":"")}Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,err)};err.prototype=!!N?new N:new CustomError;return err}E.exports=function(E){var ce=function(R,N){return createError(E,R,N)};return{CustomError:CustomError,FilesystemError:ce("FilesystemError"),createError:ce}}},80713:(E,R,N)=>{var $=E.exports.all=[{errno:-2,code:"ENOENT",description:"no such file or directory"},{errno:-1,code:"UNKNOWN",description:"unknown error"},{errno:0,code:"OK",description:"success"},{errno:1,code:"EOF",description:"end of file"},{errno:2,code:"EADDRINFO",description:"getaddrinfo error"},{errno:3,code:"EACCES",description:"permission denied"},{errno:4,code:"EAGAIN",description:"resource temporarily unavailable"},{errno:5,code:"EADDRINUSE",description:"address already in use"},{errno:6,code:"EADDRNOTAVAIL",description:"address not available"},{errno:7,code:"EAFNOSUPPORT",description:"address family not supported"},{errno:8,code:"EALREADY",description:"connection already in progress"},{errno:9,code:"EBADF",description:"bad file descriptor"},{errno:10,code:"EBUSY",description:"resource busy or locked"},{errno:11,code:"ECONNABORTED",description:"software caused connection abort"},{errno:12,code:"ECONNREFUSED",description:"connection refused"},{errno:13,code:"ECONNRESET",description:"connection reset by peer"},{errno:14,code:"EDESTADDRREQ",description:"destination address required"},{errno:15,code:"EFAULT",description:"bad address in system call argument"},{errno:16,code:"EHOSTUNREACH",description:"host is unreachable"},{errno:17,code:"EINTR",description:"interrupted system call"},{errno:18,code:"EINVAL",description:"invalid argument"},{errno:19,code:"EISCONN",description:"socket is already connected"},{errno:20,code:"EMFILE",description:"too many open files"},{errno:21,code:"EMSGSIZE",description:"message too long"},{errno:22,code:"ENETDOWN",description:"network is down"},{errno:23,code:"ENETUNREACH",description:"network is unreachable"},{errno:24,code:"ENFILE",description:"file table overflow"},{errno:25,code:"ENOBUFS",description:"no buffer space available"},{errno:26,code:"ENOMEM",description:"not enough memory"},{errno:27,code:"ENOTDIR",description:"not a directory"},{errno:28,code:"EISDIR",description:"illegal operation on a directory"},{errno:29,code:"ENONET",description:"machine is not on the network"},{errno:31,code:"ENOTCONN",description:"socket is not connected"},{errno:32,code:"ENOTSOCK",description:"socket operation on non-socket"},{errno:33,code:"ENOTSUP",description:"operation not supported on socket"},{errno:34,code:"ENOENT",description:"no such file or directory"},{errno:35,code:"ENOSYS",description:"function not implemented"},{errno:36,code:"EPIPE",description:"broken pipe"},{errno:37,code:"EPROTO",description:"protocol error"},{errno:38,code:"EPROTONOSUPPORT",description:"protocol not supported"},{errno:39,code:"EPROTOTYPE",description:"protocol wrong type for socket"},{errno:40,code:"ETIMEDOUT",description:"connection timed out"},{errno:41,code:"ECHARSET",description:"invalid Unicode character"},{errno:42,code:"EAIFAMNOSUPPORT",description:"address family for hostname not supported"},{errno:44,code:"EAISERVICE",description:"servname not supported for ai_socktype"},{errno:45,code:"EAISOCKTYPE",description:"ai_socktype not supported"},{errno:46,code:"ESHUTDOWN",description:"cannot send after transport endpoint shutdown"},{errno:47,code:"EEXIST",description:"file already exists"},{errno:48,code:"ESRCH",description:"no such process"},{errno:49,code:"ENAMETOOLONG",description:"name too long"},{errno:50,code:"EPERM",description:"operation not permitted"},{errno:51,code:"ELOOP",description:"too many symbolic links encountered"},{errno:52,code:"EXDEV",description:"cross-device link not permitted"},{errno:53,code:"ENOTEMPTY",description:"directory not empty"},{errno:54,code:"ENOSPC",description:"no space left on device"},{errno:55,code:"EIO",description:"i/o error"},{errno:56,code:"EROFS",description:"read-only file system"},{errno:57,code:"ENODEV",description:"no such device"},{errno:58,code:"ESPIPE",description:"invalid seek"},{errno:59,code:"ECANCELED",description:"operation canceled"}];E.exports.errno={};E.exports.code={};$.forEach((function(R){E.exports.errno[R.errno]=R;E.exports.code[R.code]=R}));E.exports.custom=N(54448)(E.exports);E.exports.create=E.exports.custom.createError},16950:(E,R,N)=>{"use strict";const $=N(78120);class Definition{constructor(E,R,N,$,j,q){this.type=E;this.name=R;this.node=N;this.parent=$;this.index=j;this.kind=q}}class ParameterDefinition extends Definition{constructor(E,R,N,j){super($.Parameter,E,R,null,N,null);this.rest=j}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,R,N)=>{"use strict";const $=N(39491);const j=N(60018);const q=N(36337);const G=N(24552);const ie=N(78120);const ae=N(98699).Scope;const le=N(83196).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,R){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const N in R){if(Object.prototype.hasOwnProperty.call(R,N)){const $=R[N];if(isHashObject($)){if(isHashObject(E[N])){updateDeeply(E[N],$)}else{E[N]=updateDeeply({},$)}}else{E[N]=$}}}return E}function analyze(E,R){const N=updateDeeply(defaultOptions(),R);const G=new j(N);const ie=new q(N,G);ie.visit(E);$(G.__currentScope===null,"currentScope should be null.");return G}E.exports={version:le,Reference:G,Variable:ie,Scope:ae,ScopeManager:j,analyze:analyze}},29630:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends j.Visitor{static isPattern(E){const R=E.type;return R===$.Identifier||R===$.ObjectPattern||R===$.ArrayPattern||R===$.SpreadElement||R===$.RestElement||R===$.AssignmentPattern}constructor(E,R,N){super(null,E);this.rootPattern=R;this.callback=N;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const R=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:R!==null&&R!==undefined&&R.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let R=0,N=E.elements.length;R{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const R=1;const N=2;const $=R|N;class Reference{constructor(E,R,N,$,j,q,G){this.identifier=E;this.from=R;this.tainted=false;this.resolved=null;this.flag=N;if(this.isWrite()){this.writeExpr=$;this.partial=q;this.init=G}this.__maybeImplicitGlobal=j}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=R;Reference.WRITE=N;Reference.RW=$;E.exports=Reference},36337:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(49112);const q=N(24552);const G=N(78120);const ie=N(29630);const ae=N(16950);const le=N(39491);const _e=ae.ParameterDefinition;const Ee=ae.Definition;function traverseIdentifierInPattern(E,R,N,$){const j=new ie(E,R,$);j.visit(R);if(N!==null&&N!==undefined){j.rightHandNodes.forEach(N.visit,N)}}class Importer extends j.Visitor{constructor(E,R){super(null,R.options);this.declaration=E;this.referencer=R}visitImport(E,R){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new Ee(G.ImportBinding,E,R,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const R=E.local||E.id;if(R){this.visitImport(R,E)}}ImportDefaultSpecifier(E){const R=E.local||E.id;this.visitImport(R,E)}ImportSpecifier(E){const R=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(R,E)}}}class Referencer extends j.Visitor{constructor(E,R){super(null,E);this.options=E;this.scopeManager=R;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const R=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return R}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,R,N,$){const j=this.currentScope();R.forEach((R=>{j.__referencing(E,q.WRITE,R.right,N,E!==R.left,$)}))}visitPattern(E,R,N){let $=R;let j=N;if(typeof R==="function"){j=R;$={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,$.processRightHandNodes?this:null,j)}visitFunction(E){let R,N;if(E.type===$.FunctionDeclaration){this.currentScope().__define(E.id,new Ee(G.FunctionName,E.id,E,null,null,null))}if(E.type===$.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const j=this;function visitPatternCallback(N,$){j.currentScope().__define(N,new _e(N,E,R,$.rest));j.referencingDefaultValue(N,$.assignments,null,true)}for(R=0,N=E.params.length;R{this.currentScope().__define(R,new _e(R,E,E.params.length,true))}))}if(E.body){if(E.body.type===$.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===$.ClassDeclaration){this.currentScope().__define(E.id,new Ee(G.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new Ee(G.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let R;if(E.computed){this.visit(E.key)}const N=E.type===$.MethodDefinition;if(N){R=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(N){this.popInnerMethodDefinition(R)}}visitForIn(E){if(E.left.type===$.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===$.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(R=>{this.currentScope().__referencing(R,q.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((R,N)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:R,node:E}}this.referencingDefaultValue(R,N.assignments,$,false);this.currentScope().__referencing(R,q.WRITE,E.right,$,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,R,N,$){const j=N.declarations[$];const G=j.init;this.visitPattern(j.id,{processRightHandNodes:true},((ie,ae)=>{E.__define(ie,new Ee(R,ie,j,N,$,N.kind));this.referencingDefaultValue(ie,ae.assignments,null,true);if(G){this.currentScope().__referencing(ie,q.WRITE,G,null,!ae.topLevel,true)}}))}AssignmentExpression(E){if(ie.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((R,N)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:R,node:E}}this.referencingDefaultValue(R,N.assignments,$,false);this.currentScope().__referencing(R,q.WRITE,E.right,$,!N.topLevel,false)}))}else{this.currentScope().__referencing(E.left,q.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((R,N)=>{this.currentScope().__define(R,new Ee(G.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(R,N.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ie.isPattern(E.argument)){this.currentScope().__referencing(E.argument,q.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===$.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===$.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const R=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let N=0,$=E.declarations.length;N<$;++N){const $=E.declarations[N];this.visitVariableDeclaration(R,G.Variable,E,N);if($.init){this.visit($.init)}}}SwitchStatement(E){this.visit(E.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(E)}for(let R=0,N=E.cases.length;R{"use strict";const $=N(98699);const j=N(39491);const q=$.GlobalScope;const G=$.CatchScope;const ie=$.WithScope;const ae=$.ModuleScope;const le=$.ClassScope;const _e=$.SwitchScope;const Ee=$.FunctionScope;const we=$.ForScope;const Me=$.FunctionExpressionNameScope;const Ie=$.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,R){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const N=this.__get(E);if(!N||N.length===0){return null}if(N.length===1){return N[0]}if(R){for(let E=N.length-1;E>=0;--E){const R=N[E];if(predicate(R)){return R}}}else{for(let E=0,R=N.length;E=6}}E.exports=ScopeManager},98699:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(24552);const q=N(78120);const G=N(16950).Definition;const ie=N(39491);function isStrictScope(E,R,N,j){let q;if(E.upper&&E.upper.isStrict){return true}if(N){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(R.type===$.ArrowFunctionExpression&&R.body.type!==$.BlockStatement){return false}if(R.type===$.Program){q=R}else{q=R.body}if(!q){return false}}else if(E.type==="global"){q=R}else{return false}if(j){for(let E=0,R=q.body.length;E0&&$.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let R=this;do{R.through.push(E);R=R.upper}while(R)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let R;if(this.__shouldStaticallyClose(E)){R=this.__staticCloseRef}else if(this.type!=="global"){R=this.__dynamicCloseRef}else{R=this.__globalCloseRef}for(let E=0,N=this.__left.length;EE.name.range[0]>=N)))}}class ForScope extends Scope{constructor(E,R,N){super(E,"for",R,N,false)}}class ClassScope extends Scope{constructor(E,R,N){super(E,"class",R,N,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,R){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=R}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,R,N)=>{(function(){"use strict";var E=N(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(R,N){return(R===E.Syntax.ObjectExpression||R===E.Syntax.ObjectPattern)&&N==="properties"}function Visitor(R,N){N=N||{};this.__visitor=R||this;this.__childVisitorKeys=N.childVisitorKeys?Object.assign({},E.VisitorKeys,N.childVisitorKeys):E.VisitorKeys;if(N.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof N.fallback==="function"){this.__fallback=N.fallback}}Visitor.prototype.visitChildren=function(R){var N,$,j,q,G,ie,ae;if(R==null){return}N=R.type||E.Syntax.Property;$=this.__childVisitorKeys[N];if(!$){if(this.__fallback){$=this.__fallback(R)}else{throw new Error("Unknown node type "+N+".")}}for(j=0,q=$.length;j{(function clone(E){"use strict";var R,N,$,j,q,G;function deepCopy(E){var R={},N,$;for(N in E){if(E.hasOwnProperty(N)){$=E[N];if(typeof $==="object"&&$!==null){R[N]=deepCopy($)}else{R[N]=$}}}return R}function upperBound(E,R){var N,$,j,q;$=E.length;j=0;while($){N=$>>>1;q=j+N;if(R(E[q])){$=N}else{j=q+1;$-=N+1}}return j}R={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};j={};q={};G={};N={Break:j,Skip:q,Remove:G};function Reference(E,R){this.parent=E;this.key=R}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,R,N,$){this.node=E;this.path=R;this.wrap=N;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var E,R,N,$,j,q;function addToPath(E,R){if(Array.isArray(R)){for(N=0,$=R.length;N<$;++N){E.push(R[N])}}else{E.push(R)}}if(!this.__current.path){return null}j=[];for(E=2,R=this.__leavelist.length;E=0;--N){if(E[N].node===R){return true}}return false}Controller.prototype.traverse=function traverse(E,R){var N,$,G,ie,ae,le,_e,Ee,we,Me,Ie,Te;this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;N.push(new Element(E,null,null,null));$.push(new Element(null,null,null,null));while(N.length){G=N.pop();if(G===Te){G=$.pop();le=this.__execute(R.leave,G);if(this.__state===j||le===j){return}continue}if(G.node){le=this.__execute(R.enter,G);if(this.__state===j||le===j){return}N.push(Te);$.push(G);if(this.__state===q||le===q){continue}ie=G.node;ae=ie.type||G.wrap;Me=this.__keys[ae];if(!Me){if(this.__fallback){Me=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Me.length;while((Ee-=1)>=0){_e=Me[Ee];Ie=ie[_e];if(!Ie){continue}if(Array.isArray(Ie)){we=Ie.length;while((we-=1)>=0){if(!Ie[we]){continue}if(candidateExistsInLeaveList($,Ie[we])){continue}if(isProperty(ae,Me[Ee])){G=new Element(Ie[we],[_e,we],"Property",null)}else if(isNode(Ie[we])){G=new Element(Ie[we],[_e,we],null,null)}else{continue}N.push(G)}}else if(isNode(Ie)){if(candidateExistsInLeaveList($,Ie)){continue}N.push(new Element(Ie,_e,null,null))}}}}};Controller.prototype.replace=function replace(E,R){var N,$,ie,ae,le,_e,Ee,we,Me,Ie,Te,Ne,Be;function removeElem(E){var R,$,j,q;if(E.ref.remove()){$=E.ref.key;q=E.ref.parent;R=N.length;while(R--){j=N[R];if(j.ref&&j.ref.parent===q){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;Ne={root:E};_e=new Element(E,null,null,new Reference(Ne,"root"));N.push(_e);$.push(_e);while(N.length){_e=N.pop();if(_e===Te){_e=$.pop();le=this.__execute(R.leave,_e);if(le!==undefined&&le!==j&&le!==q&&le!==G){_e.ref.replace(le)}if(this.__state===G||le===G){removeElem(_e)}if(this.__state===j||le===j){return Ne.root}continue}le=this.__execute(R.enter,_e);if(le!==undefined&&le!==j&&le!==q&&le!==G){_e.ref.replace(le);_e.node=le}if(this.__state===G||le===G){removeElem(_e);_e.node=null}if(this.__state===j||le===j){return Ne.root}ie=_e.node;if(!ie){continue}N.push(Te);$.push(_e);if(this.__state===q||le===q){continue}ae=ie.type||_e.wrap;Me=this.__keys[ae];if(!Me){if(this.__fallback){Me=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Me.length;while((Ee-=1)>=0){Be=Me[Ee];Ie=ie[Be];if(!Ie){continue}if(Array.isArray(Ie)){we=Ie.length;while((we-=1)>=0){if(!Ie[we]){continue}if(isProperty(ae,Me[Ee])){_e=new Element(Ie[we],[Be,we],"Property",new Reference(Ie,we))}else if(isNode(Ie[we])){_e=new Element(Ie[we],[Be,we],null,new Reference(Ie,we))}else{continue}N.push(_e)}}else if(isNode(Ie)){N.push(new Element(Ie,Be,null,new Reference(ie,Be)))}}}return Ne.root};function traverse(E,R){var N=new Controller;return N.traverse(E,R)}function replace(E,R){var N=new Controller;return N.replace(E,R)}function extendCommentRange(E,R){var N;N=upperBound(R,(function search(R){return R.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(N!==R.length){E.extendedRange[1]=R[N].range[0]}N-=1;if(N>=0){E.extendedRange[0]=R[N].range[1]}return E}function attachComments(E,R,$){var j=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!$.length){if(R.length){for(ie=0,G=R.length;ieE.range[0]){break}if(R.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(R);j.splice(ae,1)}else{ae+=1}}if(ae===j.length){return N.Break}if(j[ae].extendedRange[0]>E.range[1]){return N.Skip}}});ae=0;traverse(E,{leave:function(E){var R;while(aeE.range[1]){return N.Skip}}});return E}E.Syntax=R;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=$;E.VisitorOption=N;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(R)},92105:(E,R,N)=>{(function clone(E){"use strict";var R,$,j,q,G,ie;function deepCopy(E){var R={},N,$;for(N in E){if(E.hasOwnProperty(N)){$=E[N];if(typeof $==="object"&&$!==null){R[N]=deepCopy($)}else{R[N]=$}}}return R}function upperBound(E,R){var N,$,j,q;$=E.length;j=0;while($){N=$>>>1;q=j+N;if(R(E[q])){$=N}else{j=q+1;$-=N+1}}return j}R={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};q={};G={};ie={};$={Break:q,Skip:G,Remove:ie};function Reference(E,R){this.parent=E;this.key=R}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,R,N,$){this.node=E;this.path=R;this.wrap=N;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var E,R,N,$,j,q;function addToPath(E,R){if(Array.isArray(R)){for(N=0,$=R.length;N<$;++N){E.push(R[N])}}else{E.push(R)}}if(!this.__current.path){return null}j=[];for(E=2,R=this.__leavelist.length;E=0){_e=Me[Ee];Ie=ie[_e];if(!Ie){continue}if(Array.isArray(Ie)){we=Ie.length;while((we-=1)>=0){if(!Ie[we]){continue}if(isProperty(ae,Me[Ee])){j=new Element(Ie[we],[_e,we],"Property",null)}else if(isNode(Ie[we])){j=new Element(Ie[we],[_e,we],null,null)}else{continue}N.push(j)}}else if(isNode(Ie)){N.push(new Element(Ie,_e,null,null))}}}}};Controller.prototype.replace=function replace(E,R){var N,$,j,ae,le,_e,Ee,we,Me,Ie,Te,Ne,Be;function removeElem(E){var R,$,j,q;if(E.ref.remove()){$=E.ref.key;q=E.ref.parent;R=N.length;while(R--){j=N[R];if(j.ref&&j.ref.parent===q){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;Ne={root:E};_e=new Element(E,null,null,new Reference(Ne,"root"));N.push(_e);$.push(_e);while(N.length){_e=N.pop();if(_e===Te){_e=$.pop();le=this.__execute(R.leave,_e);if(le!==undefined&&le!==q&&le!==G&&le!==ie){_e.ref.replace(le)}if(this.__state===ie||le===ie){removeElem(_e)}if(this.__state===q||le===q){return Ne.root}continue}le=this.__execute(R.enter,_e);if(le!==undefined&&le!==q&&le!==G&&le!==ie){_e.ref.replace(le);_e.node=le}if(this.__state===ie||le===ie){removeElem(_e);_e.node=null}if(this.__state===q||le===q){return Ne.root}j=_e.node;if(!j){continue}N.push(Te);$.push(_e);if(this.__state===G||le===G){continue}ae=j.type||_e.wrap;Me=this.__keys[ae];if(!Me){if(this.__fallback){Me=this.__fallback(j)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Me.length;while((Ee-=1)>=0){Be=Me[Ee];Ie=j[Be];if(!Ie){continue}if(Array.isArray(Ie)){we=Ie.length;while((we-=1)>=0){if(!Ie[we]){continue}if(isProperty(ae,Me[Ee])){_e=new Element(Ie[we],[Be,we],"Property",new Reference(Ie,we))}else if(isNode(Ie[we])){_e=new Element(Ie[we],[Be,we],null,new Reference(Ie,we))}else{continue}N.push(_e)}}else if(isNode(Ie)){N.push(new Element(Ie,Be,null,new Reference(j,Be)))}}}return Ne.root};function traverse(E,R){var N=new Controller;return N.traverse(E,R)}function replace(E,R){var N=new Controller;return N.replace(E,R)}function extendCommentRange(E,R){var N;N=upperBound(R,(function search(R){return R.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(N!==R.length){E.extendedRange[1]=R[N].range[0]}N-=1;if(N>=0){E.extendedRange[0]=R[N].range[1]}return E}function attachComments(E,R,N){var j=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!N.length){if(R.length){for(ie=0,G=R.length;ieE.range[0]){break}if(R.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(R);j.splice(ae,1)}else{ae+=1}}if(ae===j.length){return $.Break}if(j[ae].extendedRange[0]>E.range[1]){return $.Skip}}});ae=0;traverse(E,{leave:function(E){var R;while(aeE.range[1]){return $.Skip}}});return E}E.version=N(42600).i8;E.Syntax=R;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=j;E.VisitorOption=$;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(R)},55245:E=>{"use strict";E.exports=function equal(E,R){if(E===R)return true;if(E&&R&&typeof E=="object"&&typeof R=="object"){if(E.constructor!==R.constructor)return false;var N,$,j;if(Array.isArray(E)){N=E.length;if(N!=R.length)return false;for($=N;$--!==0;)if(!equal(E[$],R[$]))return false;return true}if(E.constructor===RegExp)return E.source===R.source&&E.flags===R.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===R.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===R.toString();j=Object.keys(E);N=j.length;if(N!==Object.keys(R).length)return false;for($=N;$--!==0;)if(!Object.prototype.hasOwnProperty.call(R,j[$]))return false;for($=N;$--!==0;){var q=j[$];if(!equal(E[q],R[q]))return false}return true}return E!==E&&R!==R}},75986:E=>{"use strict";E.exports=function(E,R){if(!R)R={};if(typeof R==="function")R={cmp:R};var N=typeof R.cycles==="boolean"?R.cycles:false;var $=R.cmp&&function(E){return function(R){return function(N,$){var j={key:N,value:R[N]};var q={key:$,value:R[$]};return E(j,q)}}}(R.cmp);var j=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var R,q;if(Array.isArray(E)){q="[";for(R=0;R{"use strict";var R="Function.prototype.bind called on incompatible ";var N=Array.prototype.slice;var $=Object.prototype.toString;var j="[object Function]";E.exports=function bind(E){var q=this;if(typeof q!=="function"||$.call(q)!==j){throw new TypeError(R+q)}var G=N.call(arguments,1);var ie;var binder=function(){if(this instanceof ie){var R=q.apply(this,G.concat(N.call(arguments)));if(Object(R)===R){return R}return this}else{return q.apply(E,G.concat(N.call(arguments)))}};var ae=Math.max(0,q.length-G.length);var le=[];for(var _e=0;_e{"use strict";var $=N(5426);E.exports=Function.prototype.bind||$},70554:E=>{E.exports=function(E,R){if(typeof E!=="string"){throw new TypeError("Expected a string")}var N=String(E);var $="";var j=R?!!R.extended:false;var q=R?!!R.globstar:false;var G=false;var ie=R&&typeof R.flags==="string"?R.flags:"";var ae;for(var le=0,_e=N.length;le<_e;le++){ae=N[le];switch(ae){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":$+="\\"+ae;break;case"?":if(j){$+=".";break}case"[":case"]":if(j){$+=ae;break}case"{":if(j){G=true;$+="(";break}case"}":if(j){G=false;$+=")";break}case",":if(G){$+="|";break}$+="\\"+ae;break;case"*":var Ee=N[le-1];var we=1;while(N[le+1]==="*"){we++;le++}var Me=N[le+1];if(!q){$+=".*"}else{var Ie=we>1&&(Ee==="/"||Ee===undefined)&&(Me==="/"||Me===undefined);if(Ie){$+="((?:[^/]*(?:/|$))*)";le++}else{$+="([^/]*)"}}break;default:$+=ae}}if(!ie||!~ie.indexOf("g")){$="^"+$+"$"}return new RegExp($,ie)}},40858:E=>{"use strict";E.exports=clone;var R=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var N={__proto__:R(E)};else var N=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(R){Object.defineProperty(N,R,Object.getOwnPropertyDescriptor(E,R))}));return N}},15808:(E,R,N)=>{var $=N(57147);var j=N(82444);var q=N(94073);var G=N(40858);var ie=N(73837);var ae;var le;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");le=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";le="___graceful-fs.previous"}function noop(){}function publishQueue(E,R){Object.defineProperty(E,ae,{get:function(){return R}})}var _e=noop;if(ie.debuglog)_e=ie.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))_e=function(){var E=ie.format.apply(ie,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!$[ae]){var Ee=global[ae]||[];publishQueue($,Ee);$.close=function(E){function close(R,N){return E.call($,R,(function(E){if(!E){resetQueue()}if(typeof N==="function")N.apply(this,arguments)}))}Object.defineProperty(close,le,{value:E});return close}($.close);$.closeSync=function(E){function closeSync(R){E.apply($,arguments);resetQueue()}Object.defineProperty(closeSync,le,{value:E});return closeSync}($.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){_e($[ae]);N(39491).equal($[ae].length,0)}))}}if(!global[ae]){publishQueue(global,$[ae])}E.exports=patch(G($));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!$.__patched){E.exports=patch($);$.__patched=true}function patch(E){j(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var R=E.readFile;E.readFile=readFile;function readFile(E,N,$){if(typeof N==="function")$=N,N=null;return go$readFile(E,N,$);function go$readFile(E,N,$,j){return R(E,N,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$readFile,[E,N,$],R,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var N=E.writeFile;E.writeFile=writeFile;function writeFile(E,R,$,j){if(typeof $==="function")j=$,$=null;return go$writeFile(E,R,$,j);function go$writeFile(E,R,$,j,q){return N(E,R,$,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$writeFile,[E,R,$,j],N,q||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var $=E.appendFile;if($)E.appendFile=appendFile;function appendFile(E,R,N,j){if(typeof N==="function")j=N,N=null;return go$appendFile(E,R,N,j);function go$appendFile(E,R,N,j,q){return $(E,R,N,(function($){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$appendFile,[E,R,N,j],$,q||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var G=E.copyFile;if(G)E.copyFile=copyFile;function copyFile(E,R,N,$){if(typeof N==="function"){$=N;N=0}return go$copyFile(E,R,N,$);function go$copyFile(E,R,N,$,j){return G(E,R,N,(function(q){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$copyFile,[E,R,N,$],q,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var ie=E.readdir;E.readdir=readdir;function readdir(E,R,N){if(typeof R==="function")N=R,R=null;return go$readdir(E,R,N);function go$readdir(E,R,N,$){return ie(E,R,(function(j,q){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$readdir,[E,R,N],j,$||Date.now(),Date.now()]);else{if(q&&q.sort)q.sort();if(typeof N==="function")N.call(this,j,q)}}))}}if(process.version.substr(0,4)==="v0.8"){var ae=q(E);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var le=E.ReadStream;if(le){ReadStream.prototype=Object.create(le.prototype);ReadStream.prototype.open=ReadStream$open}var _e=E.WriteStream;if(_e){WriteStream.prototype=Object.create(_e.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var Ee=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return Ee},set:function(E){Ee=E},enumerable:true,configurable:true});var we=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return we},set:function(E){we=E},enumerable:true,configurable:true});function ReadStream(E,R){if(this instanceof ReadStream)return le.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(R,N){if(R){if(E.autoClose)E.destroy();E.emit("error",R)}else{E.fd=N;E.emit("open",N);E.read()}}))}function WriteStream(E,R){if(this instanceof WriteStream)return _e.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(R,N){if(R){E.destroy();E.emit("error",R)}else{E.fd=N;E.emit("open",N)}}))}function createReadStream(R,N){return new E.ReadStream(R,N)}function createWriteStream(R,N){return new E.WriteStream(R,N)}var Me=E.open;E.open=open;function open(E,R,N,$){if(typeof N==="function")$=N,N=null;return go$open(E,R,N,$);function go$open(E,R,N,$,j){return Me(E,R,N,(function(q,G){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$open,[E,R,N,$],q,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}return E}function enqueue(E){_e("ENQUEUE",E[0].name,E[1]);$[ae].push(E);retry()}var we;function resetQueue(){var E=Date.now();for(var R=0;R<$[ae].length;++R){if($[ae][R].length>2){$[ae][R][3]=E;$[ae][R][4]=E}}retry()}function retry(){clearTimeout(we);we=undefined;if($[ae].length===0)return;var E=$[ae].shift();var R=E[0];var N=E[1];var j=E[2];var q=E[3];var G=E[4];if(q===undefined){_e("RETRY",R.name,N);R.apply(null,N)}else if(Date.now()-q>=6e4){_e("TIMEOUT",R.name,N);var ie=N.pop();if(typeof ie==="function")ie.call(null,j)}else{var le=Date.now()-G;var Ee=Math.max(G-q,1);var Me=Math.min(Ee*1.2,100);if(le>=Me){_e("RETRY",R.name,N);R.apply(null,N.concat([q]))}else{$[ae].push(E)}}if(we===undefined){we=setTimeout(retry,0)}}},94073:(E,R,N)=>{var $=N(12781).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(R,N){if(!(this instanceof ReadStream))return new ReadStream(R,N);$.call(this);var j=this;this.path=R;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;N=N||{};var q=Object.keys(N);for(var G=0,ie=q.length;Gthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){j._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,R){if(E){j.emit("error",E);j.readable=false;return}j.fd=R;j.emit("open",R);j._read()}))}function WriteStream(R,N){if(!(this instanceof WriteStream))return new WriteStream(R,N);$.call(this);this.path=R;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;N=N||{};var j=Object.keys(N);for(var q=0,G=j.length;q= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,R,N)=>{var $=N(22057);var j=process.cwd;var q=null;var G=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!q)q=j.call(process);return q};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ie=process.chdir;process.chdir=function(E){q=null;ie.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ie)}E.exports=patch;function patch(E){if($.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,R,N){if(N)process.nextTick(N)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,R,N,$){if($)process.nextTick($)};E.lchownSync=function(){}}if(G==="win32"){E.rename=function(R){return function(N,$,j){var q=Date.now();var G=0;R(N,$,(function CB(ie){if(ie&&(ie.code==="EACCES"||ie.code==="EPERM")&&Date.now()-q<6e4){setTimeout((function(){E.stat($,(function(E,q){if(E&&E.code==="ENOENT")R(N,$,CB);else j(ie)}))}),G);if(G<100)G+=10;return}if(j)j(ie)}))}}(E.rename)}E.read=function(R){function read(N,$,j,q,G,ie){var ae;if(ie&&typeof ie==="function"){var le=0;ae=function(_e,Ee,we){if(_e&&_e.code==="EAGAIN"&&le<10){le++;return R.call(E,N,$,j,q,G,ae)}ie.apply(this,arguments)}}return R.call(E,N,$,j,q,G,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,R);return read}(E.read);E.readSync=function(R){return function(N,$,j,q,G){var ie=0;while(true){try{return R.call(E,N,$,j,q,G)}catch(E){if(E.code==="EAGAIN"&&ie<10){ie++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(R,N,j){E.open(R,$.O_WRONLY|$.O_SYMLINK,N,(function(R,$){if(R){if(j)j(R);return}E.fchmod($,N,(function(R){E.close($,(function(E){if(j)j(R||E)}))}))}))};E.lchmodSync=function(R,N){var j=E.openSync(R,$.O_WRONLY|$.O_SYMLINK,N);var q=true;var G;try{G=E.fchmodSync(j,N);q=false}finally{if(q){try{E.closeSync(j)}catch(E){}}else{E.closeSync(j)}}return G}}function patchLutimes(E){if($.hasOwnProperty("O_SYMLINK")){E.lutimes=function(R,N,j,q){E.open(R,$.O_SYMLINK,(function(R,$){if(R){if(q)q(R);return}E.futimes($,N,j,(function(R){E.close($,(function(E){if(q)q(R||E)}))}))}))};E.lutimesSync=function(R,N,j){var q=E.openSync(R,$.O_SYMLINK);var G;var ie=true;try{G=E.futimesSync(q,N,j);ie=false}finally{if(ie){try{E.closeSync(q)}catch(E){}}else{E.closeSync(q)}}return G}}else{E.lutimes=function(E,R,N,$){if($)process.nextTick($)};E.lutimesSync=function(){}}}function chmodFix(R){if(!R)return R;return function(N,$,j){return R.call(E,N,$,(function(E){if(chownErOk(E))E=null;if(j)j.apply(this,arguments)}))}}function chmodFixSync(R){if(!R)return R;return function(N,$){try{return R.call(E,N,$)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(R){if(!R)return R;return function(N,$,j,q){return R.call(E,N,$,j,(function(E){if(chownErOk(E))E=null;if(q)q.apply(this,arguments)}))}}function chownFixSync(R){if(!R)return R;return function(N,$,j){try{return R.call(E,N,$,j)}catch(E){if(!chownErOk(E))throw E}}}function statFix(R){if(!R)return R;return function(N,$,j){if(typeof $==="function"){j=$;$=null}function callback(E,R){if(R){if(R.uid<0)R.uid+=4294967296;if(R.gid<0)R.gid+=4294967296}if(j)j.apply(this,arguments)}return $?R.call(E,N,$,callback):R.call(E,N,callback)}}function statFixSync(R){if(!R)return R;return function(N,$){var j=$?R.call(E,N,$):R.call(E,N);if(j.uid<0)j.uid+=4294967296;if(j.gid<0)j.gid+=4294967296;return j}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var R=!process.getuid||process.getuid()!==0;if(R){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,R=process.argv)=>{const N=E.startsWith("-")?"":E.length===1?"-":"--";const $=R.indexOf(N+E);const j=R.indexOf("--");return $!==-1&&(j===-1||${"use strict";var $=N(9120);E.exports=$.call(Function.call,Object.prototype.hasOwnProperty)},28309:(E,R,N)=>{try{var $=N(73837);if(typeof $.inherits!=="function")throw"";E.exports=$.inherits}catch(R){E.exports=N(70474)}},70474:E=>{if(typeof Object.create==="function"){E.exports=function inherits(E,R){if(R){E.super_=R;E.prototype=Object.create(R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}})}}}else{E.exports=function inherits(E,R){if(R){E.super_=R;var TempCtor=function(){};TempCtor.prototype=R.prototype;E.prototype=new TempCtor;E.prototype.constructor=E}}}},13747:(E,R,N)=>{"use strict";var $=N(79946);function specifierIncluded(E,R){var N=E.split(".");var $=R.split(" ");var j=$.length>1?$[0]:"=";var q=($.length>1?$[1]:$[0]).split(".");for(var G=0;G<3;++G){var ie=parseInt(N[G]||0,10);var ae=parseInt(q[G]||0,10);if(ie===ae){continue}if(j==="<"){return ie="){return ie>=ae}return false}return j===">="}function matchesRange(E,R){var N=R.split(/ ?&& ?/);if(N.length===0){return false}for(var $=0;${var R={}.toString;E.exports=Array.isArray||function(E){return R.call(E)=="[object Array]"}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,R,N){N=N||20;try{return JSON.parse(E,R)}catch(R){if(typeof E!=="string"){const R=Array.isArray(E)&&E.length===0;const N="Cannot parse "+(R?"an empty array":String(E));throw new TypeError(N)}const $=R.message.match(/^Unexpected token.*position\s+(\d+)/i);const j=$?+$[1]:R.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if(j!=null){const $=j<=N?0:j-N;const q=j+N>=E.length?E.length:j+N;R.message+=` while parsing near '${$===0?"":"..."}${E.slice($,q)}${q===E.length?"":"..."}'`}else{R.message+=` while parsing '${E.slice(0,N*2)}'`}throw R}}},46833:E=>{"use strict";var R=E.exports=function(E,R,N){if(typeof R=="function"){N=R;R={}}N=R.cb||N;var $=typeof N=="function"?N:N.pre||function(){};var j=N.post||function(){};_traverse(R,$,j,E,"",E)};R.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};R.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};R.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};R.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,N,$,j,q,G,ie,ae,le,_e){if(j&&typeof j=="object"&&!Array.isArray(j)){N(j,q,G,ie,ae,le,_e);for(var Ee in j){var we=j[Ee];if(Array.isArray(we)){if(Ee in R.arrayKeywords){for(var Me=0;Me{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.ChunkIncludeExcludeTester=void 0;var N=function(){function ChunkIncludeExcludeTester(E){this.includeExcludeTest=E}ChunkIncludeExcludeTester.prototype.isIncluded=function(E){if(typeof this.includeExcludeTest==="function"){return this.includeExcludeTest(E)}if(this.includeExcludeTest.include&&!this.includeExcludeTest.exclude){return this.includeExcludeTest.include.indexOf(E)>-1}if(this.includeExcludeTest.exclude&&!this.includeExcludeTest.include){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)}if(this.includeExcludeTest.include&&this.includeExcludeTest.exclude){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)&&this.includeExcludeTest.include.indexOf(E)>-1}return true};return ChunkIncludeExcludeTester}();R.ChunkIncludeExcludeTester=N},50980:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.LicenseTextReader=void 0;var $=function(){function LicenseTextReader(E,R,N,$,j,q){this.logger=E;this.fileSystem=R;this.fileOverrides=N;this.textOverrides=$;this.templateDir=j;this.handleMissingLicenseText=q}LicenseTextReader.prototype.readLicense=function(E,R,N){if(this.textOverrides[R.name]){return this.textOverrides[R.name]}if(this.fileOverrides[R.name]){return this.readText(R.directory,this.fileOverrides[R.name])}if(N&&N.indexOf("SEE LICENSE IN ")===0){var $=N.split(" ")[3];return this.fileSystem.isFileInDirectory($,R.directory)?this.readText(R.directory,$):null}var j=this.fileSystem.listPaths(R.directory);var q=this.guessLicenseFilename(j,R.directory);if(q!==null){return this.readText(R.directory,q)}if(this.templateDir){var G=N+".txt";var ie=this.fileSystem.join(this.templateDir,G);if(this.fileSystem.isFileInDirectory(ie,this.templateDir)){return this.fileSystem.readFileAsUtf8(ie).replace(/\r\n/g,"\n")}}this.logger.warn(E,"could not find any license file for "+R.name+". Use the licenseTextOverrides option to add the license text if desired.");return this.handleMissingLicenseText(R.name,N)};LicenseTextReader.prototype.readText=function(E,R){return this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,R)).replace(/\r\n/g,"\n")};LicenseTextReader.prototype.guessLicenseFilename=function(E,R){var $,j;try{for(var q=N(E),G=q.next();!G.done;G=q.next()){var ie=G.value;var ae=this.fileSystem.join(R,ie);if(/^licen[cs]e/i.test(ie)&&!this.fileSystem.isDirectory(ae)){return ie}}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}return null};return LicenseTextReader}();R.LicenseTextReader=$},85768:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.LicenseWebpackPlugin=void 0;var $=N(64055);var j=N(27519);var q=N(35183);var G=N(41728);var ie=N(55933);var ae=N(50980);var le=N(85777);var _e=N(98707);var Ee=N(81778);var we=N(13957);var Me=N(2058);var Ie=N(29728);var Te=N(99801);var Ne=N(39225);var Be=function(){function LicenseWebpackPlugin(E){if(E===void 0){E={}}this.pluginOptions=E}LicenseWebpackPlugin.prototype.apply=function(E){var R=new G.WebpackFileSystem(E.inputFileSystem);var N=new Te.PluginOptionsReader(E.context);var Be=N.readOptions(this.pluginOptions);var Le=new Ne.Logger(Be.stats);var je=new q.PluginFileHandler(R,Be.buildRoot,Be.modulesDirectories,Be.excludedPackageTest);var ze=new ie.PluginLicenseTypeIdentifier(Le,Be.licenseTypeOverrides,Be.preferredLicenseTypes,Be.handleLicenseAmbiguity,Be.handleMissingLicenseType);var Ue=new ae.LicenseTextReader(Le,R,Be.licenseFileOverrides,Be.licenseTextOverrides,Be.licenseTemplateDir,Be.handleMissingLicenseText);var qe=new Ie.PluginLicenseTestRunner(Be.licenseInclusionTest);var Ge=new Ie.PluginLicenseTestRunner(Be.unacceptableLicenseTest);var He=new Me.PluginLicensePolicy(qe,Ge,Be.handleUnacceptableLicense,Be.handleMissingLicenseText);var We=new j.PluginChunkReadHandler(Le,je,ze,Ue,He,R);var Ve=new we.PluginLicensesRenderer(Be.renderLicenses,Be.renderBanner);var Ke=new _e.PluginModuleCache;var Qe=new Ee.WebpackAssetManager(Be.outputFilename,Ve);var Je=new $.ChunkIncludeExcludeTester(Be.chunkIncludeExcludeTest);var Xe=new le.WebpackCompilerHandler(Je,We,Qe,Ke,Be.addBanner,Be.perChunkOutput,Be.additionalChunkModules,Be.additionalModules,Be.skipChildCompilers);Xe.handleCompiler(E)};return LicenseWebpackPlugin}();R.LicenseWebpackPlugin=Be},39225:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.Logger=void 0;var N=function(){function Logger(E){this.stats=E}Logger.prototype.warn=function(E,R){if(this.stats.warnings){E.warnings.push(""+Logger.LOG_PREFIX+R)}};Logger.prototype.error=function(E,R){if(this.stats.errors){E.errors.push(""+Logger.LOG_PREFIX+R)}};Logger.LOG_PREFIX="license-webpack-plugin: ";return Logger}();R.Logger=N},27519:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginChunkReadHandler=void 0;var $=N(39900);var j=N(36839);var q=function(){function PluginChunkReadHandler(E,R,N,q,G,ie){this.logger=E;this.fileHandler=R;this.licenseTypeIdentifier=N;this.licenseTextReader=q;this.licensePolicy=G;this.fileSystem=ie;this.moduleIterator=new $.WebpackChunkModuleIterator;this.innerModuleIterator=new j.WebpackInnerModuleIterator(require.resolve)}PluginChunkReadHandler.prototype.processChunk=function(E,R,N,$){var j=this;this.moduleIterator.iterateModules(E,R,$,(function($){j.innerModuleIterator.iterateModules($,(function($){var q=j.extractIdentifiedModule($)||j.fileHandler.getModule($.resource);if(q){j.processModule(E,R,N,q)}}))}))};PluginChunkReadHandler.prototype.extractIdentifiedModule=function(E){var R=E.resourceResolveData;if(!R)return undefined;var N=R.descriptionFileRoot,$=R.descriptionFileData;if(N&&$&&$.name&&this.fileHandler.isInModuleDirectory(N)&&!this.fileHandler.isBuildRoot(N)&&!this.fileHandler.excludedPackageTest($.name)){return{directory:N,packageJson:$,name:$.name}}return undefined};PluginChunkReadHandler.prototype.getPackageJson=function(E){var R=""+E+this.fileSystem.pathSeparator+"package.json";return JSON.parse(this.fileSystem.readFileAsUtf8(R))};PluginChunkReadHandler.prototype.processModule=function(E,R,N,$){var j;if(!N.alreadySeenForChunk(R.name,$.name)){var q=N.getModule($.name);if(q!==null){N.registerModule(R.name,q)}else{var G=(j=$.packageJson)!==null&&j!==void 0?j:this.getPackageJson($.directory);var ie=this.licenseTypeIdentifier.findLicenseIdentifier(E,$.name,G);if(this.licensePolicy.isLicenseUnacceptableFor(ie)){this.logger.error(E,"unacceptable license found for "+$.name+": "+ie);this.licensePolicy.handleUnacceptableLicense($.name,ie)}if(this.licensePolicy.isLicenseWrittenFor(ie)){var ae=this.licenseTextReader.readLicense(E,$,ie);N.registerModule(R.name,{licenseText:ae,packageJson:G,name:$.name,directory:$.directory,licenseId:ie})}}N.markSeenForChunk(R.name,$.name)}};return PluginChunkReadHandler}();R.PluginChunkReadHandler=q},35183:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.PluginFileHandler=void 0;var $=function(){function PluginFileHandler(E,R,N,$){this.fileSystem=E;this.buildRoot=R;this.modulesDirectories=N;this.excludedPackageTest=$;this.cache={}}PluginFileHandler.prototype.getModule=function(E){return this.cache[E]===undefined?this.cache[E]=this.getModuleInternal(E):this.cache[E]};PluginFileHandler.prototype.isInModuleDirectory=function(E){var R,$;if(this.modulesDirectories===null)return true;if(E===null||E===undefined)return false;var j=false;var q=this.fileSystem.resolvePath(E);try{for(var G=N(this.modulesDirectories),ie=G.next();!ie.done;ie=G.next()){var ae=ie.value;if(q.startsWith(this.fileSystem.resolvePath(ae))){j=true}}}catch(E){R={error:E}}finally{try{if(ie&&!ie.done&&($=G.return))$.call(G)}finally{if(R)throw R.error}}return j};PluginFileHandler.prototype.isBuildRoot=function(E){return this.buildRoot===E};PluginFileHandler.prototype.getModuleInternal=function(E){if(E===null||E===undefined)return null;if(!this.isInModuleDirectory(E))return null;var R=this.findModuleDir(E);if(R!==null&&this.excludedPackageTest(R.name)){return null}return R};PluginFileHandler.prototype.findModuleDir=function(E){var R=this.fileSystem.pathSeparator;var N=E.substring(0,E.lastIndexOf(R));var $=null;while(!this.dirContainsValidPackageJson(N)){$=N;N=this.fileSystem.resolvePath(""+N+R+".."+R);if($===N){return null}}if(this.isBuildRoot(N)){return null}var j=this.parsePackageJson(N);return{packageJson:j,name:j.name,directory:N}};PluginFileHandler.prototype.parsePackageJson=function(E){var R=this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON));var N=JSON.parse(R);return N};PluginFileHandler.prototype.dirContainsValidPackageJson=function(E){if(!this.fileSystem.pathExists(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON))){return false}var R=this.parsePackageJson(E);return!!R.name};PluginFileHandler.PACKAGE_JSON="package.json";return PluginFileHandler}();R.PluginFileHandler=$},2058:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicensePolicy=void 0;var N=function(){function PluginLicensePolicy(E,R,N,$){this.licenseTester=E;this.unacceptableLicenseTester=R;this.unacceptableLicenseHandler=N;this.missingLicenseTextHandler=$}PluginLicensePolicy.prototype.isLicenseWrittenFor=function(E){return this.licenseTester.test(E)};PluginLicensePolicy.prototype.isLicenseUnacceptableFor=function(E){return this.unacceptableLicenseTester.test(E)};PluginLicensePolicy.prototype.handleUnacceptableLicense=function(E,R){this.unacceptableLicenseHandler(E,R)};PluginLicensePolicy.prototype.handleMissingLicenseText=function(E,R){this.missingLicenseTextHandler(E,R)};return PluginLicensePolicy}();R.PluginLicensePolicy=N},29728:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicenseTestRunner=void 0;var N=function(){function PluginLicenseTestRunner(E){this.licenseTest=E}PluginLicenseTestRunner.prototype.test=function(E){return this.licenseTest(E)};return PluginLicenseTestRunner}();R.PluginLicenseTestRunner=N},55933:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.PluginLicenseTypeIdentifier=void 0;var $=function(){function PluginLicenseTypeIdentifier(E,R,N,$,j){this.logger=E;this.licenseTypeOverrides=R;this.preferredLicenseTypes=N;this.handleLicenseAmbiguity=$;this.handleMissingLicenseType=j}PluginLicenseTypeIdentifier.prototype.findLicenseIdentifier=function(E,R,N){if(this.licenseTypeOverrides&&this.licenseTypeOverrides[R]){return this.licenseTypeOverrides[R]}var $=N.license;if($){return typeof $==="string"?$:$.type}if(Array.isArray(N.licenses)&&N.licenses.length>0){if(N.licenses.length===1){return N.licenses[0].type}var j=N.licenses.map((function(E){return E.type}));var q=this.findPreferredLicense(j,this.preferredLicenseTypes);if(q!==null){return q}var G=this.handleLicenseAmbiguity(R,N.licenses);this.logger.warn(E,R+" specifies multiple licenses: "+j+". Automatically selected "+G+". Use the preferredLicenseTypes or the licenseTypeOverrides option to resolve this warning.");return G}this.logger.warn(E,"could not find any license type for "+R+" in its package.json");return this.handleMissingLicenseType(R)};PluginLicenseTypeIdentifier.prototype.findPreferredLicense=function(E,R){var $,j,q,G;try{for(var ie=N(R),ae=ie.next();!ae.done;ae=ie.next()){var le=ae.value;try{for(var _e=(q=void 0,N(E)),Ee=_e.next();!Ee.done;Ee=_e.next()){var we=Ee.value;if(le===we){return le}}}catch(E){q={error:E}}finally{try{if(Ee&&!Ee.done&&(G=_e.return))G.call(_e)}finally{if(q)throw q.error}}}}catch(E){$={error:E}}finally{try{if(ae&&!ae.done&&(j=ie.return))j.call(ie)}finally{if($)throw $.error}}return null};return PluginLicenseTypeIdentifier}();R.PluginLicenseTypeIdentifier=$},13957:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicensesRenderer=void 0;var N=function(){function PluginLicensesRenderer(E,R){this.renderLicenses=E;this.renderBanner=R}return PluginLicensesRenderer}();R.PluginLicensesRenderer=N},98707:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginModuleCache=void 0;var N=function(){function PluginModuleCache(){this.totalCache={};this.chunkCache={};this.chunkSeenCache={}}PluginModuleCache.prototype.registerModule=function(E,R){this.totalCache[R.name]=R;if(!this.chunkCache[E]){this.chunkCache[E]={}}this.chunkCache[E][R.name]=R};PluginModuleCache.prototype.getModule=function(E){return this.totalCache[E]||null};PluginModuleCache.prototype.markSeenForChunk=function(E,R){if(!this.chunkSeenCache[E]){this.chunkSeenCache[E]={}}this.chunkSeenCache[E][R]=true};PluginModuleCache.prototype.alreadySeenForChunk=function(E,R){return!!(this.chunkSeenCache[E]&&this.chunkSeenCache[E][R])};PluginModuleCache.prototype.getAllModulesForChunk=function(E){var R=[];var N=this.chunkCache[E];if(N){Object.keys(N).forEach((function(E){R.push(N[E])}))}return R};PluginModuleCache.prototype.getAllModules=function(){var E=this;var R=[];Object.keys(this.totalCache).forEach((function(N){R.push(E.totalCache[N])}));return R};return PluginModuleCache}();R.PluginModuleCache=N},99801:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginOptionsReader=void 0;var N=function(){function PluginOptionsReader(E){this.context=E}PluginOptionsReader.prototype.readOptions=function(E){var R=E.licenseInclusionTest||function(){return true};var N=E.unacceptableLicenseTest||function(){return false};var $=E.perChunkOutput===undefined||E.perChunkOutput;var j=E.licenseTemplateDir;var q=E.licenseTextOverrides||{};var G=E.licenseTypeOverrides||{};var ie=E.handleUnacceptableLicense||function(){};var ae=E.handleMissingLicenseText||function(){return null};var le=E.renderLicenses||function(E){return E.sort((function(E,R){return E.name{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.WebpackAssetManager=void 0;var $=N(2991);var j=function(){function WebpackAssetManager(E,R){this.outputFilename=E;this.licensesRenderer=R}WebpackAssetManager.prototype.writeChunkLicenses=function(E,R,N){var j=this.licensesRenderer.renderLicenses(E);if(j&&j.trim()){var q=R.getPath(this.outputFilename,{chunk:N});R.assets[q]=new $.RawSource(j)}};WebpackAssetManager.prototype.writeChunkBanners=function(E,R,N){var j=R.getPath(this.outputFilename,{chunk:N});var q=this.licensesRenderer.renderBanner(j,E);if(q&&q.trim()){var G=N.files instanceof Set?Array.from(N.files):N.files;G.filter((function(E){return/\.js$/.test(E)})).forEach((function(E){R.assets[E]=new $.ConcatSource(q,R.assets[E])}))}};WebpackAssetManager.prototype.writeAllLicenses=function(E,R){var N=this.licensesRenderer.renderLicenses(E);if(N){var j=R.getPath(this.outputFilename,R);R.assets[j]=new $.RawSource(N)}};return WebpackAssetManager}();R.WebpackAssetManager=j},39900:function(E,R,N){"use strict";var $=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackChunkModuleIterator=void 0;var j=N(7425);var q=function(){function WebpackChunkModuleIterator(){this.statsIterator=new j.WebpackStatsIterator}WebpackChunkModuleIterator.prototype.iterateModules=function(E,R,N,j){var q,G,ie,ae,le,_e,Ee,we;if(typeof E.chunkGraph!=="undefined"&&typeof N!=="undefined"){try{for(var Me=$(E.chunkGraph.getChunkModulesIterable(R)),Ie=Me.next();!Ie.done;Ie=Me.next()){var Te=Ie.value;j(Te)}}catch(E){q={error:E}}finally{try{if(Ie&&!Ie.done&&(G=Me.return))G.call(Me)}finally{if(q)throw q.error}}var Ne=this.statsIterator.collectModules(N,R.name);try{for(var Be=$(Ne),Le=Be.next();!Le.done;Le=Be.next()){var je=Le.value;j(je)}}catch(E){ie={error:E}}finally{try{if(Le&&!Le.done&&(ae=Be.return))ae.call(Be)}finally{if(ie)throw ie.error}}}else if(typeof R.modulesIterable!=="undefined"){try{for(var ze=$(R.modulesIterable),Ue=ze.next();!Ue.done;Ue=ze.next()){var qe=Ue.value;j(qe)}}catch(E){le={error:E}}finally{try{if(Ue&&!Ue.done&&(_e=ze.return))_e.call(ze)}finally{if(le)throw le.error}}}else if(typeof R.forEachModule==="function"){R.forEachModule(j)}else if(Array.isArray(R.modules)){R.modules.forEach(j)}if(typeof E.chunkGraph!=="undefined"){try{for(var Ge=$(E.chunkGraph.getChunkEntryModulesIterable(R)),He=Ge.next();!He.done;He=Ge.next()){var We=He.value;j(We)}}catch(E){Ee={error:E}}finally{try{if(He&&!He.done&&(we=Ge.return))we.call(Ge)}finally{if(Ee)throw Ee.error}}}else if(R.entryModule){j(R.entryModule)}};return WebpackChunkModuleIterator}();R.WebpackChunkModuleIterator=q},85777:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackCompilerHandler=void 0;var $=function(){function WebpackCompilerHandler(E,R,N,$,j,q,G,ie,ae){this.chunkIncludeTester=E;this.chunkHandler=R;this.assetManager=N;this.moduleCache=$;this.addBanner=j;this.perChunkOutput=q;this.additionalChunkModules=G;this.additionalModules=ie;this.skipChildCompilers=ae}WebpackCompilerHandler.prototype.handleCompiler=function(E){var R=this;if(typeof E.hooks!=="undefined"){var N=this.skipChildCompilers?"thisCompilation":"compilation";E.hooks[N].tap("LicenseWebpackPlugin",(function(E){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT},(function(){var N=E.getStats().toJson({all:false,chunks:true,chunkModules:true,nestedModules:true,dependentModules:true,cachedModules:true});R.iterateChunks(E,E.chunks,N)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(N){R.iterateChunks(E,N)}))}if(R.addBanner){R.iterateChunksForBanner(E)}}));if(!this.perChunkOutput){E.hooks[N].tap("LicenseWebpackPlugin",(function(E){if(!E.compiler.isChild()){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT+1},(function(){R.assetManager.writeAllLicenses(R.moduleCache.getAllModules(),E)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(){R.assetManager.writeAllLicenses(R.moduleCache.getAllModules(),E)}))}}}))}}else if(typeof E.plugin!=="undefined"){E.plugin("compilation",(function(E){if(typeof E.plugin!=="undefined"){E.plugin("optimize-chunk-assets",(function(N,$){R.iterateChunks(E,N);$()}))}}))}};WebpackCompilerHandler.prototype.iterateChunksForBanner=function(E){var R=this;if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS},(function(){var $,j;try{for(var q=N(E.chunks),G=q.next();!G.done;G=q.next()){var ie=G.value;if(R.chunkIncludeTester.isIncluded(ie.name)){R.assetManager.writeChunkBanners(R.moduleCache.getAllModulesForChunk(ie.name),E,ie)}}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}}))}};WebpackCompilerHandler.prototype.iterateChunks=function(E,R,$){var j,q;var G=this;var _loop_1=function(R){if(ie.chunkIncludeTester.isIncluded(R.name)){ie.chunkHandler.processChunk(E,R,ie.moduleCache,$);if(ie.additionalChunkModules[R.name]){ie.additionalChunkModules[R.name].forEach((function(N){return G.chunkHandler.processModule(E,R,G.moduleCache,N)}))}if(ie.additionalModules.length>0){ie.additionalModules.forEach((function(N){return G.chunkHandler.processModule(E,R,G.moduleCache,N)}))}if(ie.perChunkOutput){ie.assetManager.writeChunkLicenses(ie.moduleCache.getAllModulesForChunk(R.name),E,R)}if(ie.addBanner&&typeof E.hooks.processAssets==="undefined"){ie.assetManager.writeChunkBanners(ie.moduleCache.getAllModulesForChunk(R.name),E,R)}}};var ie=this;try{for(var ae=N(R),le=ae.next();!le.done;le=ae.next()){var _e=le.value;_loop_1(_e)}}catch(E){j={error:E}}finally{try{if(le&&!le.done&&(q=ae.return))q.call(ae)}finally{if(j)throw j.error}}};WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS=-100;WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT=5e3;return WebpackCompilerHandler}();R.WebpackCompilerHandler=$},41728:function(E,R,N){"use strict";var $=this&&this.__createBinding||(Object.create?function(E,R,N,$){if($===undefined)$=N;Object.defineProperty(E,$,{enumerable:true,get:function(){return R[N]}})}:function(E,R,N,$){if($===undefined)$=N;E[$]=R[N]});var j=this&&this.__setModuleDefault||(Object.create?function(E,R){Object.defineProperty(E,"default",{enumerable:true,value:R})}:function(E,R){E["default"]=R});var q=this&&this.__importStar||function(E){if(E&&E.__esModule)return E;var R={};if(E!=null)for(var N in E)if(N!=="default"&&Object.hasOwnProperty.call(E,N))$(R,E,N);j(R,E);return R};var G=this&&this.__read||function(E,R){var N=typeof Symbol==="function"&&E[Symbol.iterator];if(!N)return E;var $=N.call(E),j,q=[],G;try{while((R===void 0||R-- >0)&&!(j=$.next()).done)q.push(j.value)}catch(E){G={error:E}}finally{try{if(j&&!j.done&&(N=$["return"]))N.call($)}finally{if(G)throw G.error}}return q};var ie=this&&this.__spread||function(){for(var E=[],R=0;R-1){var R=E.split("!");return R[R.length-1]}if(E.indexOf("provide module")===0){return E.split("=")[1].trim()}if(E.indexOf("consume-shared-module")===0){var R=E.split("|");var N=R[R.length-3];if(N==="undefined"){return null}return N}return E};return WebpackInnerModuleIterator}();R.WebpackInnerModuleIterator=$},7425:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackStatsIterator=void 0;var $=function(){function WebpackStatsIterator(){}WebpackStatsIterator.prototype.collectModules=function(E,R){var $,j;var q=[];try{for(var G=N(E.chunks),ie=G.next();!ie.done;ie=G.next()){var ae=ie.value;if(ae.names[0]===R){this.traverseModules(ae.modules,q)}}}catch(E){$={error:E}}finally{try{if(ie&&!ie.done&&(j=G.return))j.call(G)}finally{if($)throw $.error}}return q};WebpackStatsIterator.prototype.traverseModules=function(E,R){var $,j;if(!E){return}try{for(var q=N(E),G=q.next();!G.done;G=q.next()){var ie=G.value;R.push({resource:ie.identifier});this.traverseModules(ie.modules,R)}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}};return WebpackStatsIterator}();R.WebpackStatsIterator=$},58907:(E,R,N)=>{"use strict";var $;$={value:true};R.s=void 0;var j=N(85768);Object.defineProperty(R,"s",{enumerable:true,get:function(){return j.LicenseWebpackPlugin}})},11638:E=>{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,R,N)=>{var $=N(57147);var j=$.readFile.bind($);var q=N(45658);function utf8BufferToString(E){var R=E.toString("utf-8");if(R.charCodeAt(0)===65279){return R.substr(1)}else{return R}}const G=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var R=G.exec(E);return{path:R[1].replace(/\0(.)/g,"$1"),query:R[2]?R[2].replace(/\0(.)/g,"$1"):"",fragment:R[3]||""}}function dirname(E){if(E==="/")return"/";var R=E.lastIndexOf("/");var N=E.lastIndexOf("\\");var $=E.indexOf("/");var j=E.indexOf("\\");var q=R>N?R:N;var G=R>N?$:j;if(q<0)return E;if(q===G)return E.substr(0,q+1);return E.substr(0,q)}function createLoaderObject(E){var R={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(R,"request",{enumerable:true,get:function(){return R.path.replace(/#/g,"\0#")+R.query.replace(/#/g,"\0#")+R.fragment},set:function(E){if(typeof E==="string"){var N=parsePathQueryFragment(E);R.path=N.path;R.query=N.query;R.fragment=N.fragment;R.options=undefined;R.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");R.path=E.loader;R.fragment=E.fragment||"";R.type=E.type;R.options=E.options;R.ident=E.ident;if(R.options===null)R.query="";else if(R.options===undefined)R.query="";else if(typeof R.options==="string")R.query="?"+R.options;else if(R.ident)R.query="??"+R.ident;else if(typeof R.options==="object"&&R.options.ident)R.query="??"+R.options.ident;else R.query="?"+JSON.stringify(R.options)}}});R.request=E;if(Object.preventExtensions){Object.preventExtensions(R)}return R}function runSyncOrAsync(E,R,N,$){var j=true;var q=false;var G=false;var ie=false;R.async=function async(){if(q){if(ie)return;throw new Error("async(): The callback was already called.")}j=false;return ae};var ae=R.callback=function(){if(q){if(ie)return;throw new Error("callback(): The callback was already called.")}q=true;j=false;try{$.apply(null,arguments)}catch(E){G=true;throw E}};try{var le=function LOADER_EXECUTION(){return E.apply(R,N)}();if(j){q=true;if(le===undefined)return $();if(le&&typeof le==="object"&&typeof le.then==="function"){return le.then((function(E){$(null,E)}),$)}return $(null,le)}}catch(E){if(G)throw E;if(q){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}q=true;ie=true;$(E)}}function convertArgs(E,R){if(!R&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(R&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,R,N){if(R.loaderIndex>=R.loaders.length)return processResource(E,R,N);var $=R.loaders[R.loaderIndex];if($.pitchExecuted){R.loaderIndex++;return iteratePitchingLoaders(E,R,N)}q($,(function(j){if(j){R.cacheable(false);return N(j)}var q=$.pitch;$.pitchExecuted=true;if(!q)return iteratePitchingLoaders(E,R,N);runSyncOrAsync(q,R,[R.remainingRequest,R.previousRequest,$.data={}],(function($){if($)return N($);var j=Array.prototype.slice.call(arguments,1);var q=j.some((function(E){return E!==undefined}));if(q){R.loaderIndex--;iterateNormalLoaders(E,R,j,N)}else{iteratePitchingLoaders(E,R,N)}}))}))}function processResource(E,R,N){R.loaderIndex=R.loaders.length-1;var $=R.resourcePath;if($){E.processResource(R,$,(function($,j){if($)return N($);E.resourceBuffer=j;iterateNormalLoaders(E,R,[j],N)}))}else{iterateNormalLoaders(E,R,[null],N)}}function iterateNormalLoaders(E,R,N,$){if(R.loaderIndex<0)return $(null,N);var j=R.loaders[R.loaderIndex];if(j.normalExecuted){R.loaderIndex--;return iterateNormalLoaders(E,R,N,$)}var q=j.normal;j.normalExecuted=true;if(!q){return iterateNormalLoaders(E,R,N,$)}convertArgs(N,j.raw);runSyncOrAsync(q,R,N,(function(N){if(N)return $(N);var j=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,R,j,$)}))}R.getContext=function getContext(E){var R=parsePathQueryFragment(E).path;return dirname(R)};R.runLoaders=function runLoaders(E,R){var N=E.resource||"";var $=E.loaders||[];var q=E.context||{};var G=E.processResource||((E,R,N,$)=>{R.addDependency(N);E(N,$)}).bind(null,E.readResource||j);var ie=N&&parsePathQueryFragment(N);var ae=ie?ie.path:undefined;var le=ie?ie.query:undefined;var _e=ie?ie.fragment:undefined;var Ee=ae?dirname(ae):null;var we=true;var Me=[];var Ie=[];var Te=[];$=$.map(createLoaderObject);q.context=Ee;q.loaderIndex=0;q.loaders=$;q.resourcePath=ae;q.resourceQuery=le;q.resourceFragment=_e;q.async=null;q.callback=null;q.cacheable=function cacheable(E){if(E===false){we=false}};q.dependency=q.addDependency=function addDependency(E){Me.push(E)};q.addContextDependency=function addContextDependency(E){Ie.push(E)};q.addMissingDependency=function addMissingDependency(E){Te.push(E)};q.getDependencies=function getDependencies(){return Me.slice()};q.getContextDependencies=function getContextDependencies(){return Ie.slice()};q.getMissingDependencies=function getMissingDependencies(){return Te.slice()};q.clearDependencies=function clearDependencies(){Me.length=0;Ie.length=0;Te.length=0;we=true};Object.defineProperty(q,"resource",{enumerable:true,get:function(){if(q.resourcePath===undefined)return undefined;return q.resourcePath.replace(/#/g,"\0#")+q.resourceQuery.replace(/#/g,"\0#")+q.resourceFragment},set:function(E){var R=E&&parsePathQueryFragment(E);q.resourcePath=R?R.path:undefined;q.resourceQuery=R?R.query:undefined;q.resourceFragment=R?R.fragment:undefined}});Object.defineProperty(q,"request",{enumerable:true,get:function(){return q.loaders.map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"remainingRequest",{enumerable:true,get:function(){if(q.loaderIndex>=q.loaders.length-1&&!q.resource)return"";return q.loaders.slice(q.loaderIndex+1).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"currentRequest",{enumerable:true,get:function(){return q.loaders.slice(q.loaderIndex).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"previousRequest",{enumerable:true,get:function(){return q.loaders.slice(0,q.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(q,"query",{enumerable:true,get:function(){var E=q.loaders[q.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(q,"data",{enumerable:true,get:function(){return q.loaders[q.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(q)}var Ne={resourceBuffer:null,processResource:G};iteratePitchingLoaders(Ne,q,(function(E,N){if(E){return R(E,{cacheable:we,fileDependencies:Me,contextDependencies:Ie,missingDependencies:Te})}R(null,{result:N,resourceBuffer:Ne.resourceBuffer,cacheable:we,fileDependencies:Me,contextDependencies:Ie,missingDependencies:Te})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,R,N){if(typeof R!=="function"&&typeof R!=="object"){return N(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof R==="function"?R:R.default;E.pitch=R.pitch;E.raw=R.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return N(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}N()}},56342:(E,R,N)=>{"use strict";const $=N(48333);const j=N(89987);const q=N(62680);const G=N(80713);const ie=N(32453);const ae=ie.Readable;const le=ie.Writable;function isDir(E){if(typeof E!=="object")return false;return E[""]===true}function isFile(E){if(typeof E!=="object")return false;return!E[""]}function pathToArray(E){E=$(E);const R=/^\//.test(E);if(!R){if(!/^[A-Za-z]:/.test(E)){throw new q(G.code.EINVAL,E)}E=E.replace(/[\\\/]+/g,"\\");E=E.split(/[\\\/]/);E[0]=E[0].toUpperCase()}else{E=E.replace(/\/+/g,"/");E=E.substr(1).split("/")}if(!E[E.length-1])E.pop();return E}function trueFn(){return true}function falseFn(){return false}class MemoryFileSystem{constructor(E){this.data=E||{};this.join=j;this.pathToArray=pathToArray;this.normalize=$}meta(E){const R=pathToArray(E);let N=this.data;let $=0;for(;${N.push(R);$+=R.length;this.writeFile(E,Buffer.concat(N,$),q)};return R}exists(E,R){return R(this.existsSync(E))}writeFile(E,R,N,$){if(!$){$=N;N=undefined}try{this.writeFileSync(E,R,N)}catch(E){return $(E)}return $()}}["stat","readdir","mkdirp","rmdir","unlink","readlink"].forEach((function(E){MemoryFileSystem.prototype[E]=function(R,N){let $;try{$=this[E+"Sync"](R)}catch(E){setImmediate((function(){N(E)}));return}setImmediate((function(){N(null,$)}))}}));["mkdir","readFile"].forEach((function(E){MemoryFileSystem.prototype[E]=function(R,N,$){if(!$){$=N;N=undefined}let j;try{j=this[E+"Sync"](R,N)}catch(E){setImmediate((function(){$(E)}));return}setImmediate((function(){$(null,j)}))}}));E.exports=MemoryFileSystem},62680:E=>{"use strict";class MemoryFileSystemError extends Error{constructor(E,R,N){super(E,R);this.name=this.constructor.name;var $=[`${E.code}:`,`${E.description},`];if(N){$.push(N)}$.push(`'${R}'`);this.message=$.join(" ");this.code=E.code;this.errno=E.errno;this.path=R;this.operation=N;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}E.exports=MemoryFileSystemError},89987:(E,R,N)=>{"use strict";const $=N(48333);const j=/^[A-Z]:([\\\/]|$)/i;const q=/^\//i;E.exports=function join(E,R){if(!R)return $(E);if(j.test(R))return $(R.replace(/\//g,"\\"));if(q.test(R))return $(R);if(E=="/")return $(E+R);if(j.test(E))return $(E.replace(/\//g,"\\")+"\\"+R.replace(/\//g,"\\"));if(q.test(E))return $(E+"/"+R);return $(E+"/"+R)}},48333:E=>{"use strict";E.exports=function normalize(E){var R=E.split(/(\\+|\/+)/);if(R.length===1)return E;var N=[];var $=0;for(var j=0,q=false;j{"use strict";const{PassThrough:$}=N(12781);E.exports=function(){var E=[];var R=new $({objectMode:true});R.setMaxListeners(0);R.add=add;R.isEmpty=isEmpty;R.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return R;function add(N){if(Array.isArray(N)){N.forEach(add);return this}E.push(N);N.once("end",remove.bind(null,N));N.once("error",R.emit.bind(R,"error"));N.pipe(R,{end:false});return this}function isEmpty(){return E.length==0}function remove(N){E=E.filter((function(E){return E!==N}));if(!E.length&&R.readable){R.end()}}}},22198:(E,R,N)=>{ /*! * mime-db * Copyright(c) 2014 Jonathan Ong @@ -10,14 +10,14 @@ E.exports=N(53765)},50007:(E,R,N)=>{"use strict"; * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed - */var $=N(22198);var j=N(71017).extname;var q=/^\s*([^;\s]*)(?:;|\s|$)/;var G=/^text\//i;R.charset=charset;R.charsets={lookup:charset};R.contentType=contentType;R.extension=extension;R.extensions=Object.create(null);R.lookup=lookup;R.types=Object.create(null);populateMaps(R.extensions,R.types);function charset(E){if(!E||typeof E!=="string"){return false}var R=q.exec(E);var N=R&&$[R[1].toLowerCase()];if(N&&N.charset){return N.charset}if(R&&G.test(R[1])){return"UTF-8"}return false}function contentType(E){if(!E||typeof E!=="string"){return false}var N=E.indexOf("/")===-1?R.lookup(E):E;if(!N){return false}if(N.indexOf("charset")===-1){var $=R.charset(N);if($)N+="; charset="+$.toLowerCase()}return N}function extension(E){if(!E||typeof E!=="string"){return false}var N=q.exec(E);var $=N&&R.extensions[N[1].toLowerCase()];if(!$||!$.length){return false}return $[0]}function lookup(E){if(!E||typeof E!=="string"){return false}var N=j("x."+E).toLowerCase().substr(1);if(!N){return false}return R.types[N]||false}function populateMaps(E,R){var N=["nginx","apache",undefined,"iana"];Object.keys($).forEach((function forEachMimeType(j){var q=$[j];var G=q.extensions;if(!G||!G.length){return}E[j]=G;for(var ie=0;ie_e||le===_e&&R[ae].substr(0,12)==="application/")){continue}}R[ae]=j}}))}},40535:E=>{E.exports=function(E,R){if(!R)R={};var N={bools:{},strings:{},unknownFn:null};if(typeof R["unknown"]==="function"){N.unknownFn=R["unknown"]}if(typeof R["boolean"]==="boolean"&&R["boolean"]){N.allBools=true}else{[].concat(R["boolean"]).filter(Boolean).forEach((function(E){N.bools[E]=true}))}var $={};Object.keys(R.alias||{}).forEach((function(E){$[E]=[].concat(R.alias[E]);$[E].forEach((function(R){$[R]=[E].concat($[E].filter((function(E){return R!==E})))}))}));[].concat(R.string).filter(Boolean).forEach((function(E){N.strings[E]=true;if($[E]){N.strings[$[E]]=true}}));var j=R["default"]||{};var q={_:[]};Object.keys(N.bools).forEach((function(E){setArg(E,j[E]===undefined?false:j[E])}));var G=[];if(E.indexOf("--")!==-1){G=E.slice(E.indexOf("--")+1);E=E.slice(0,E.indexOf("--"))}function argDefined(E,R){return N.allBools&&/^--[^=]+$/.test(R)||N.strings[E]||N.bools[E]||$[E]}function setArg(E,R,j){if(j&&N.unknownFn&&!argDefined(E,j)){if(N.unknownFn(j)===false)return}var G=!N.strings[E]&&isNumber(R)?Number(R):R;setKey(q,E.split("."),G);($[E]||[]).forEach((function(E){setKey(q,E.split("."),G)}))}function setKey(E,R,$){var j=E;for(var q=0;q=R&&E[G]>=$){G--}if(q>G){break}swap(E,j,q++,G--)}return q}function swap(E,R,N,$){var j=E[N];E[N]=E[$];E[$]=j;var q=R[N];R[N]=R[$];R[$]=q}function quickSort(E,R,N,$){if(R===N){return}var j=R;while(++j<=N&&E[R]===E[j]){var q=j-1;if($[q]>$[j]){var G=$[q];$[q]=$[j];$[j]=G}}if(j>N){return}var ie=E[R]>E[j]?R:j;j=partition(E,R,N,E[ie],$);quickSort(E,R,j-1,$);quickSort(E,j,N,$)}function makeConcatResult(E){var N=[];arrayEachSync(E,(function(E){if(E===R){return}if(ie(E)){le.apply(N,E)}else{N.push(E)}}));return N}function arrayEach(E,R,N){var $=-1;var j=E.length;if(R.length===3){while(++$we?we:j,je);function arrayIterator(){Ie=qe++;if(Iele?le:$,Be);function arrayIterator(){if(jele?le:$,Le);function arrayIterator(){we=ze++;if(wele?le:$,Be);function arrayIterator(){we=ze++;if(wewe?we:j,je);function arrayIterator(){Ie=Ue++;if(Iewe?we:j,je);function arrayIterator(){Ie=qe++;if(Iele?le:N,Be);function arrayIterator(){we=ze++;if(wele?le:$,ze);function arrayIterator(){if(qe=2){le.apply(Le,slice(arguments,1))}if(E){j(E,Le)}else if(++je===G){Ne=N;j(null,Le)}else if(Be){Ee(Ne)}else{Be=true;Ne()}Be=false}}function concatLimit(E,$,j,G){G=G||R;var le,we,Ie,Me,Te,Ne;var Be=false;var Le=0;var je=0;if(ie(E)){le=E.length;Te=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(_e&&E[_e]){le=Infinity;Ne=[];Ie=E[_e]();Te=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){var ze=ae(E);le=ze.length;Te=j.length===3?objectIteratorWithKey:objectIterator}if(!le||isNaN($)||$<1){return G(null,[])}Ne=Ne||Array(le);timesSync($>le?le:$,Te);function arrayIterator(){if(Lele?le:$,Le);function arrayIterator(){if(zeG?G:$,Me);function arrayIterator(){le=Ne++;if(le1){var $=slice(arguments,1);return go.apply(this,$)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var R=E.prev;var N=E.next;if(R){R.next=N}else{this.head=N}if(N){N.prev=R}else{this.tail=R}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,R){R.prev=E.prev;R.next=E;if(E.prev){E.prev.next=R}else{this.head=R}E.prev=R;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var R=this.tail;if(R){E.prev=R;E.next=R.next;this.tail=E;R.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var R;var N=[];while(E--&&(R=this.shift())){N.push(R)}return N};DLL.prototype.remove=function(E){var R=this.head;while(R){if(E(R)){this._removeLink(R)}R=R.next}return this};function baseQueue(E,$,j,q){if(j===undefined){j=1}else if(isNaN(j)||j<1){throw new Error("Concurrency must not be zero")}var G=0;var ae=[];var _e,we;var Ie={_tasks:new DLL,concurrency:j,payload:q,saturated:R,unsaturated:R,buffer:j/4,empty:R,drain:R,error:R,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:$};return Ie;function push(E,R){_insert(E,R)}function unshift(E,R){_insert(E,R,true)}function _exec(E){var R={data:E,callback:_e};if(we){Ie._tasks.unshift(R)}else{Ie._tasks.push(R)}Ee(Ie.process)}function _insert(E,N,$){if(N==null){N=R}else if(typeof N!=="function"){throw new Error("task callback must be a function")}Ie.started=true;var j=ie(E)?E:[E];if(E===undefined||!j.length){if(Ie.idle()){Ee(Ie.drain)}return}we=$;_e=N;arrayEachSync(j,_exec);_e=undefined}function kill(){Ie.drain=R;Ie._tasks.empty()}function _next(E,R){var $=false;return function done(j,q){if($){N()}$=true;G--;var ie;var le=-1;var _e=ae.length;var Ee=-1;var we=R.length;var Ie=arguments.length>2;var Me=Ie&&createArray(arguments);while(++Ee=le.priority){le=le.next}while(ae--){var _e={data:q[ae],priority:N,callback:j};if(le){$._tasks.insertBefore(le,_e)}else{$._tasks.push(_e)}Ee($.process)}}}function cargo(E,R){return baseQueue(false,E,1,R)}function auto(E,$,j){if(typeof $===G){j=$;$=null}var q=ae(E);var le=q.length;var _e={};if(le===0){return j(null,_e)}var Ee=0;var we=new DLL;var Ie=Object.create(null);j=onlyOnce(j||R);$=$||le;baseEachSync(E,iterator,q);proceedQueue();function iterator(E,$){var G,ae;if(!ie(E)){G=E;ae=0;we.push([G,ae,done]);return}var Me=E.length-1;G=E[Me];ae=Me;if(Me===0){we.push([G,ae,done]);return}var Te=-1;while(++Te=E){j(null,q);j=N}else if(G){Ee(iterate)}else{G=true;iterate()}G=false}}function timesLimit(E,$,j,q){q=q||R;E=+E;if(isNaN(E)||E<1||isNaN($)||$<1){return q(null,[])}var G=Array(E);var ie=false;var ae=0;var le=0;timesSync($>E?E:$,iterate);function iterate(){var R=ae++;if(R=E){q(null,G);q=N}else if(ie){Ee(iterate)}else{ie=true;iterate()}ie=false}}}function race(E,N){N=once(N||R);var $,j;var G=-1;if(ie(E)){$=E.length;while(++G<$){E[G](N)}}else if(E&&typeof E===q){j=ae(E);$=j.length;while(++G<$){E[j[G]](N)}}else{return N(new TypeError("First argument to race must be a collection of functions"))}if(!$){N(null)}}function memoize(E,R){R=R||function(E){return E};var N={};var $={};var memoized=function(){var j=createArray(arguments);var q=j.pop();var G=R.apply(null,j);if(has(N,G)){Ee((function(){q.apply(null,N[G])}));return}if(has($,G)){return $[G].push(q)}$[G]=[q];j.push(done);E.apply(null,j);function done(E){var R=createArray(arguments);if(!E){N[G]=R}var j=$[G];delete $[G];var q=-1;var ie=j.length;while(++q2){N=slice(arguments,1)}R(null,{value:N})}}}function reflectAll(E){var R,N;if(ie(E)){R=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===q){N=ae(E);R={};baseEachSync(E,iterate,N)}return R;function iterate(E,N){R[N]=reflect(E)}}function createLogger(E){return function(E){var R=slice(arguments,1);R.push(done);E.apply(null,R)};function done(R){if(typeof console===q){if(R){if(console.error){console.error(R)}return}if(console[E]){var N=slice(arguments,1);arrayEachSync(N,(function(R){console[E](R)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},75522:E=>{"use strict";var R=process.platform==="win32";var N=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var $={};function win32SplitPath(E){return N.exec(E).slice(1)}$.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var R=win32SplitPath(E);if(!R||R.length!==5){throw new TypeError("Invalid path '"+E+"'")}return{root:R[1],dir:R[0]===R[1]?R[0]:R[0].slice(0,-1),base:R[2],ext:R[4],name:R[3]}};var j=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var q={};function posixSplitPath(E){return j.exec(E).slice(1)}q.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var R=posixSplitPath(E);if(!R||R.length!==5){throw new TypeError("Invalid path '"+E+"'")}return{root:R[1],dir:R[0].slice(0,-1),base:R[2],ext:R[4],name:R[3]}};if(R)E.exports=$.parse;else E.exports=q.parse;E.exports.posix=q.parse;E.exports.win32=$.parse},50411:E=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){E.exports={nextTick:nextTick}}else{E.exports=process}function nextTick(E,R,N,$){if(typeof E!=="function"){throw new TypeError('"callback" argument must be a function')}var j=arguments.length;var q,G;switch(j){case 0:case 1:return process.nextTick(E);case 2:return process.nextTick((function afterTickOne(){E.call(null,R)}));case 3:return process.nextTick((function afterTickTwo(){E.call(null,R,N)}));case 4:return process.nextTick((function afterTickThree(){E.call(null,R,N,$)}));default:q=new Array(j-1);G=0;while(G_e||le===_e&&R[ae].substr(0,12)==="application/")){continue}}R[ae]=j}}))}},40535:E=>{E.exports=function(E,R){if(!R)R={};var N={bools:{},strings:{},unknownFn:null};if(typeof R["unknown"]==="function"){N.unknownFn=R["unknown"]}if(typeof R["boolean"]==="boolean"&&R["boolean"]){N.allBools=true}else{[].concat(R["boolean"]).filter(Boolean).forEach((function(E){N.bools[E]=true}))}var $={};Object.keys(R.alias||{}).forEach((function(E){$[E]=[].concat(R.alias[E]);$[E].forEach((function(R){$[R]=[E].concat($[E].filter((function(E){return R!==E})))}))}));[].concat(R.string).filter(Boolean).forEach((function(E){N.strings[E]=true;if($[E]){N.strings[$[E]]=true}}));var j=R["default"]||{};var q={_:[]};Object.keys(N.bools).forEach((function(E){setArg(E,j[E]===undefined?false:j[E])}));var G=[];if(E.indexOf("--")!==-1){G=E.slice(E.indexOf("--")+1);E=E.slice(0,E.indexOf("--"))}function argDefined(E,R){return N.allBools&&/^--[^=]+$/.test(R)||N.strings[E]||N.bools[E]||$[E]}function setArg(E,R,j){if(j&&N.unknownFn&&!argDefined(E,j)){if(N.unknownFn(j)===false)return}var G=!N.strings[E]&&isNumber(R)?Number(R):R;setKey(q,E.split("."),G);($[E]||[]).forEach((function(E){setKey(q,E.split("."),G)}))}function setKey(E,R,$){var j=E;for(var q=0;q=R&&E[G]>=$){G--}if(q>G){break}swap(E,j,q++,G--)}return q}function swap(E,R,N,$){var j=E[N];E[N]=E[$];E[$]=j;var q=R[N];R[N]=R[$];R[$]=q}function quickSort(E,R,N,$){if(R===N){return}var j=R;while(++j<=N&&E[R]===E[j]){var q=j-1;if($[q]>$[j]){var G=$[q];$[q]=$[j];$[j]=G}}if(j>N){return}var ie=E[R]>E[j]?R:j;j=partition(E,R,N,E[ie],$);quickSort(E,R,j-1,$);quickSort(E,j,N,$)}function makeConcatResult(E){var N=[];arrayEachSync(E,(function(E){if(E===R){return}if(ie(E)){le.apply(N,E)}else{N.push(E)}}));return N}function arrayEach(E,R,N){var $=-1;var j=E.length;if(R.length===3){while(++$we?we:j,je);function arrayIterator(){Me=qe++;if(Mele?le:$,Be);function arrayIterator(){if(jele?le:$,Le);function arrayIterator(){we=ze++;if(wele?le:$,Be);function arrayIterator(){we=ze++;if(wewe?we:j,je);function arrayIterator(){Me=Ue++;if(Mewe?we:j,je);function arrayIterator(){Me=qe++;if(Mele?le:N,Be);function arrayIterator(){we=ze++;if(wele?le:$,ze);function arrayIterator(){if(qe=2){le.apply(Le,slice(arguments,1))}if(E){j(E,Le)}else if(++je===G){Ne=N;j(null,Le)}else if(Be){Ee(Ne)}else{Be=true;Ne()}Be=false}}function concatLimit(E,$,j,G){G=G||R;var le,we,Me,Ie,Te,Ne;var Be=false;var Le=0;var je=0;if(ie(E)){le=E.length;Te=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(_e&&E[_e]){le=Infinity;Ne=[];Me=E[_e]();Te=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){var ze=ae(E);le=ze.length;Te=j.length===3?objectIteratorWithKey:objectIterator}if(!le||isNaN($)||$<1){return G(null,[])}Ne=Ne||Array(le);timesSync($>le?le:$,Te);function arrayIterator(){if(Lele?le:$,Le);function arrayIterator(){if(zeG?G:$,Ie);function arrayIterator(){le=Ne++;if(le1){var $=slice(arguments,1);return go.apply(this,$)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var R=E.prev;var N=E.next;if(R){R.next=N}else{this.head=N}if(N){N.prev=R}else{this.tail=R}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,R){R.prev=E.prev;R.next=E;if(E.prev){E.prev.next=R}else{this.head=R}E.prev=R;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var R=this.tail;if(R){E.prev=R;E.next=R.next;this.tail=E;R.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var R;var N=[];while(E--&&(R=this.shift())){N.push(R)}return N};DLL.prototype.remove=function(E){var R=this.head;while(R){if(E(R)){this._removeLink(R)}R=R.next}return this};function baseQueue(E,$,j,q){if(j===undefined){j=1}else if(isNaN(j)||j<1){throw new Error("Concurrency must not be zero")}var G=0;var ae=[];var _e,we;var Me={_tasks:new DLL,concurrency:j,payload:q,saturated:R,unsaturated:R,buffer:j/4,empty:R,drain:R,error:R,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:$};return Me;function push(E,R){_insert(E,R)}function unshift(E,R){_insert(E,R,true)}function _exec(E){var R={data:E,callback:_e};if(we){Me._tasks.unshift(R)}else{Me._tasks.push(R)}Ee(Me.process)}function _insert(E,N,$){if(N==null){N=R}else if(typeof N!=="function"){throw new Error("task callback must be a function")}Me.started=true;var j=ie(E)?E:[E];if(E===undefined||!j.length){if(Me.idle()){Ee(Me.drain)}return}we=$;_e=N;arrayEachSync(j,_exec);_e=undefined}function kill(){Me.drain=R;Me._tasks.empty()}function _next(E,R){var $=false;return function done(j,q){if($){N()}$=true;G--;var ie;var le=-1;var _e=ae.length;var Ee=-1;var we=R.length;var Me=arguments.length>2;var Ie=Me&&createArray(arguments);while(++Ee=le.priority){le=le.next}while(ae--){var _e={data:q[ae],priority:N,callback:j};if(le){$._tasks.insertBefore(le,_e)}else{$._tasks.push(_e)}Ee($.process)}}}function cargo(E,R){return baseQueue(false,E,1,R)}function auto(E,$,j){if(typeof $===G){j=$;$=null}var q=ae(E);var le=q.length;var _e={};if(le===0){return j(null,_e)}var Ee=0;var we=new DLL;var Me=Object.create(null);j=onlyOnce(j||R);$=$||le;baseEachSync(E,iterator,q);proceedQueue();function iterator(E,$){var G,ae;if(!ie(E)){G=E;ae=0;we.push([G,ae,done]);return}var Ie=E.length-1;G=E[Ie];ae=Ie;if(Ie===0){we.push([G,ae,done]);return}var Te=-1;while(++Te=E){j(null,q);j=N}else if(G){Ee(iterate)}else{G=true;iterate()}G=false}}function timesLimit(E,$,j,q){q=q||R;E=+E;if(isNaN(E)||E<1||isNaN($)||$<1){return q(null,[])}var G=Array(E);var ie=false;var ae=0;var le=0;timesSync($>E?E:$,iterate);function iterate(){var R=ae++;if(R=E){q(null,G);q=N}else if(ie){Ee(iterate)}else{ie=true;iterate()}ie=false}}}function race(E,N){N=once(N||R);var $,j;var G=-1;if(ie(E)){$=E.length;while(++G<$){E[G](N)}}else if(E&&typeof E===q){j=ae(E);$=j.length;while(++G<$){E[j[G]](N)}}else{return N(new TypeError("First argument to race must be a collection of functions"))}if(!$){N(null)}}function memoize(E,R){R=R||function(E){return E};var N={};var $={};var memoized=function(){var j=createArray(arguments);var q=j.pop();var G=R.apply(null,j);if(has(N,G)){Ee((function(){q.apply(null,N[G])}));return}if(has($,G)){return $[G].push(q)}$[G]=[q];j.push(done);E.apply(null,j);function done(E){var R=createArray(arguments);if(!E){N[G]=R}var j=$[G];delete $[G];var q=-1;var ie=j.length;while(++q2){N=slice(arguments,1)}R(null,{value:N})}}}function reflectAll(E){var R,N;if(ie(E)){R=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===q){N=ae(E);R={};baseEachSync(E,iterate,N)}return R;function iterate(E,N){R[N]=reflect(E)}}function createLogger(E){return function(E){var R=slice(arguments,1);R.push(done);E.apply(null,R)};function done(R){if(typeof console===q){if(R){if(console.error){console.error(R)}return}if(console[E]){var N=slice(arguments,1);arrayEachSync(N,(function(R){console[E](R)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},75522:E=>{"use strict";var R=process.platform==="win32";var N=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var $={};function win32SplitPath(E){return N.exec(E).slice(1)}$.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var R=win32SplitPath(E);if(!R||R.length!==5){throw new TypeError("Invalid path '"+E+"'")}return{root:R[1],dir:R[0]===R[1]?R[0]:R[0].slice(0,-1),base:R[2],ext:R[4],name:R[3]}};var j=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var q={};function posixSplitPath(E){return j.exec(E).slice(1)}q.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var R=posixSplitPath(E);if(!R||R.length!==5){throw new TypeError("Invalid path '"+E+"'")}return{root:R[1],dir:R[0].slice(0,-1),base:R[2],ext:R[4],name:R[3]}};if(R)E.exports=$.parse;else E.exports=q.parse;E.exports.posix=q.parse;E.exports.win32=$.parse},50411:E=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){E.exports={nextTick:nextTick}}else{E.exports=process}function nextTick(E,R,N,$){if(typeof E!=="function"){throw new TypeError('"callback" argument must be a function')}var j=arguments.length;var q,G;switch(j){case 0:case 1:return process.nextTick(E);case 2:return process.nextTick((function afterTickOne(){E.call(null,R)}));case 3:return process.nextTick((function afterTickTwo(){E.call(null,R,N)}));case 4:return process.nextTick((function afterTickThree(){E.call(null,R,N,$)}));default:q=new Array(j-1);G=0;while(G * https://github.com/rvagg/prr * License: MIT */ -(function(R,N,$){if(true&&E.exports)E.exports=$();else N[R]=$()})("prr",this,(function(){var E=typeof Object.defineProperty=="function"?function(E,R,N){Object.defineProperty(E,R,N);return E}:function(E,R,N){E[R]=N.value;return E},makeOptions=function(E,R){var N=typeof R=="object",$=!N&&typeof R=="string",op=function(E){return N?!!R[E]:$?R.indexOf(E[0])>-1:false};return{enumerable:op("enumerable"),configurable:op("configurable"),writable:op("writable"),value:E}},prr=function(R,N,$,j){var q;j=makeOptions($,j);if(typeof N=="object"){for(q in N){if(Object.hasOwnProperty.call(N,q)){j.value=N[q];E(R,q,j)}}return R}return E(R,N,j)};return prr}))},31998:(E,R,N)=>{E.exports=N(6113).randomBytes},81959:(E,R,N)=>{"use strict";var $=N(50411);var j=Object.keys||function(E){var R=[];for(var N in E){R.push(N)}return R};E.exports=Duplex;var q=Object.create(N(93349));q.inherits=N(28309);var G=N(97469);var ie=N(97867);q.inherits(Duplex,G);{var ae=j(ie.prototype);for(var le=0;le{"use strict";E.exports=PassThrough;var $=N(77837);var j=Object.create(N(93349));j.inherits=N(28309);j.inherits(PassThrough,$);function PassThrough(E){if(!(this instanceof PassThrough))return new PassThrough(E);$.call(this,E)}PassThrough.prototype._transform=function(E,R,N){N(null,E)}},97469:(E,R,N)=>{"use strict";var $=N(50411);E.exports=Readable;var j=N(27523);var q;Readable.ReadableState=ReadableState;var G=N(82361).EventEmitter;var EElistenerCount=function(E,R){return E.listeners(R).length};var ie=N(99837);var ae=N(22560).Buffer;var le=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return ae.from(E)}function _isUint8Array(E){return ae.isBuffer(E)||E instanceof le}var _e=Object.create(N(93349));_e.inherits=N(28309);var Ee=N(73837);var we=void 0;if(Ee&&Ee.debuglog){we=Ee.debuglog("stream")}else{we=function(){}}var Ie=N(24220);var Me=N(22535);var Te;_e.inherits(Readable,ie);var Ne=["error","close","destroy","pause","resume"];function prependListener(E,R,N){if(typeof E.prependListener==="function")return E.prependListener(R,N);if(!E._events||!E._events[R])E.on(R,N);else if(j(E._events[R]))E._events[R].unshift(N);else E._events[R]=[N,E._events[R]]}function ReadableState(E,R){q=q||N(81959);E=E||{};var $=R instanceof q;this.objectMode=!!E.objectMode;if($)this.objectMode=this.objectMode||!!E.readableObjectMode;var j=E.highWaterMark;var G=E.readableHighWaterMark;var ie=this.objectMode?16:16*1024;if(j||j===0)this.highWaterMark=j;else if($&&(G||G===0))this.highWaterMark=G;else this.highWaterMark=ie;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new Ie;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=E.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(E.encoding){if(!Te)Te=N(80147).s;this.decoder=new Te(E.encoding);this.encoding=E.encoding}}function Readable(E){q=q||N(81959);if(!(this instanceof Readable))return new Readable(E);this._readableState=new ReadableState(E,this);this.readable=true;if(E){if(typeof E.read==="function")this._read=E.read;if(typeof E.destroy==="function")this._destroy=E.destroy}ie.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(E){if(!this._readableState){return}this._readableState.destroyed=E}});Readable.prototype.destroy=Me.destroy;Readable.prototype._undestroy=Me.undestroy;Readable.prototype._destroy=function(E,R){this.push(null);R(E)};Readable.prototype.push=function(E,R){var N=this._readableState;var $;if(!N.objectMode){if(typeof E==="string"){R=R||N.defaultEncoding;if(R!==N.encoding){E=ae.from(E,R);R=""}$=true}}else{$=true}return readableAddChunk(this,E,R,false,$)};Readable.prototype.unshift=function(E){return readableAddChunk(this,E,null,true,false)};function readableAddChunk(E,R,N,$,j){var q=E._readableState;if(R===null){q.reading=false;onEofChunk(E,q)}else{var G;if(!j)G=chunkInvalid(q,R);if(G){E.emit("error",G)}else if(q.objectMode||R&&R.length>0){if(typeof R!=="string"&&!q.objectMode&&Object.getPrototypeOf(R)!==ae.prototype){R=_uint8ArrayToBuffer(R)}if($){if(q.endEmitted)E.emit("error",new Error("stream.unshift() after end event"));else addChunk(E,q,R,true)}else if(q.ended){E.emit("error",new Error("stream.push() after EOF"))}else{q.reading=false;if(q.decoder&&!N){R=q.decoder.write(R);if(q.objectMode||R.length!==0)addChunk(E,q,R,false);else maybeReadMore(E,q)}else{addChunk(E,q,R,false)}}}else if(!$){q.reading=false}}return needMoreData(q)}function addChunk(E,R,N,$){if(R.flowing&&R.length===0&&!R.sync){E.emit("data",N);E.read(0)}else{R.length+=R.objectMode?1:N.length;if($)R.buffer.unshift(N);else R.buffer.push(N);if(R.needReadable)emitReadable(E)}maybeReadMore(E,R)}function chunkInvalid(E,R){var N;if(!_isUint8Array(R)&&typeof R!=="string"&&R!==undefined&&!E.objectMode){N=new TypeError("Invalid non-string/buffer chunk")}return N}function needMoreData(E){return!E.ended&&(E.needReadable||E.length=Be){E=Be}else{E--;E|=E>>>1;E|=E>>>2;E|=E>>>4;E|=E>>>8;E|=E>>>16;E++}return E}function howMuchToRead(E,R){if(E<=0||R.length===0&&R.ended)return 0;if(R.objectMode)return 1;if(E!==E){if(R.flowing&&R.length)return R.buffer.head.data.length;else return R.length}if(E>R.highWaterMark)R.highWaterMark=computeNewHighWaterMark(E);if(E<=R.length)return E;if(!R.ended){R.needReadable=true;return 0}return R.length}Readable.prototype.read=function(E){we("read",E);E=parseInt(E,10);var R=this._readableState;var N=E;if(E!==0)R.emittedReadable=false;if(E===0&&R.needReadable&&(R.length>=R.highWaterMark||R.ended)){we("read: emitReadable",R.length,R.ended);if(R.length===0&&R.ended)endReadable(this);else emitReadable(this);return null}E=howMuchToRead(E,R);if(E===0&&R.ended){if(R.length===0)endReadable(this);return null}var $=R.needReadable;we("need readable",$);if(R.length===0||R.length-E0)j=fromList(E,R);else j=null;if(j===null){R.needReadable=true;E=0}else{R.length-=E}if(R.length===0){if(!R.ended)R.needReadable=true;if(N!==E&&R.ended)endReadable(this)}if(j!==null)this.emit("data",j);return j};function onEofChunk(E,R){if(R.ended)return;if(R.decoder){var N=R.decoder.end();if(N&&N.length){R.buffer.push(N);R.length+=R.objectMode?1:N.length}}R.ended=true;emitReadable(E)}function emitReadable(E){var R=E._readableState;R.needReadable=false;if(!R.emittedReadable){we("emitReadable",R.flowing);R.emittedReadable=true;if(R.sync)$.nextTick(emitReadable_,E);else emitReadable_(E)}}function emitReadable_(E){we("emit readable");E.emit("readable");flow(E)}function maybeReadMore(E,R){if(!R.readingMore){R.readingMore=true;$.nextTick(maybeReadMore_,E,R)}}function maybeReadMore_(E,R){var N=R.length;while(!R.reading&&!R.flowing&&!R.ended&&R.length1&&indexOf(j.pipes,E)!==-1)&&!ae){we("false write response, pause",N._readableState.awaitDrain);N._readableState.awaitDrain++;le=true}N.pause()}}function onerror(R){we("onerror",R);unpipe();E.removeListener("error",onerror);if(EElistenerCount(E,"error")===0)E.emit("error",R)}prependListener(E,"error",onerror);function onclose(){E.removeListener("finish",onfinish);unpipe()}E.once("close",onclose);function onfinish(){we("onfinish");E.removeListener("close",onclose);unpipe()}E.once("finish",onfinish);function unpipe(){we("unpipe");N.unpipe(E)}E.emit("pipe",N);if(!j.flowing){we("pipe resume");N.resume()}return E};function pipeOnDrain(E){return function(){var R=E._readableState;we("pipeOnDrain",R.awaitDrain);if(R.awaitDrain)R.awaitDrain--;if(R.awaitDrain===0&&EElistenerCount(E,"data")){R.flowing=true;flow(E)}}}Readable.prototype.unpipe=function(E){var R=this._readableState;var N={hasUnpiped:false};if(R.pipesCount===0)return this;if(R.pipesCount===1){if(E&&E!==R.pipes)return this;if(!E)E=R.pipes;R.pipes=null;R.pipesCount=0;R.flowing=false;if(E)E.emit("unpipe",this,N);return this}if(!E){var $=R.pipes;var j=R.pipesCount;R.pipes=null;R.pipesCount=0;R.flowing=false;for(var q=0;q=R.length){if(R.decoder)N=R.buffer.join("");else if(R.buffer.length===1)N=R.buffer.head.data;else N=R.buffer.concat(R.length);R.buffer.clear()}else{N=fromListPartial(E,R.buffer,R.decoder)}return N}function fromListPartial(E,R,N){var $;if(Eq.length?q.length:E;if(G===q.length)j+=q;else j+=q.slice(0,E);E-=G;if(E===0){if(G===q.length){++$;if(N.next)R.head=N.next;else R.head=R.tail=null}else{R.head=N;N.data=q.slice(G)}break}++$}R.length-=$;return j}function copyFromBuffer(E,R){var N=ae.allocUnsafe(E);var $=R.head;var j=1;$.data.copy(N);E-=$.data.length;while($=$.next){var q=$.data;var G=E>q.length?q.length:E;q.copy(N,N.length-E,0,G);E-=G;if(E===0){if(G===q.length){++j;if($.next)R.head=$.next;else R.head=R.tail=null}else{R.head=$;$.data=q.slice(G)}break}++j}R.length-=j;return N}function endReadable(E){var R=E._readableState;if(R.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!R.endEmitted){R.ended=true;$.nextTick(endReadableNT,R,E)}}function endReadableNT(E,R){if(!E.endEmitted&&E.length===0){E.endEmitted=true;R.readable=false;R.emit("end")}}function indexOf(E,R){for(var N=0,$=E.length;N<$;N++){if(E[N]===R)return N}return-1}},77837:(E,R,N)=>{"use strict";E.exports=Transform;var $=N(81959);var j=Object.create(N(93349));j.inherits=N(28309);j.inherits(Transform,$);function afterTransform(E,R){var N=this._transformState;N.transforming=false;var $=N.writecb;if(!$){return this.emit("error",new Error("write callback called multiple times"))}N.writechunk=null;N.writecb=null;if(R!=null)this.push(R);$(E);var j=this._readableState;j.reading=false;if(j.needReadable||j.length{"use strict";var $=N(50411);E.exports=Writable;function WriteReq(E,R,N){this.chunk=E;this.encoding=R;this.callback=N;this.next=null}function CorkedRequest(E){var R=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(R,E)}}var j=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:$.nextTick;var q;Writable.WritableState=WritableState;var G=Object.create(N(93349));G.inherits=N(28309);var ie={deprecate:N(95791)};var ae=N(99837);var le=N(22560).Buffer;var _e=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return le.from(E)}function _isUint8Array(E){return le.isBuffer(E)||E instanceof _e}var Ee=N(22535);G.inherits(Writable,ae);function nop(){}function WritableState(E,R){q=q||N(81959);E=E||{};var $=R instanceof q;this.objectMode=!!E.objectMode;if($)this.objectMode=this.objectMode||!!E.writableObjectMode;var j=E.highWaterMark;var G=E.writableHighWaterMark;var ie=this.objectMode?16:16*1024;if(j||j===0)this.highWaterMark=j;else if($&&(G||G===0))this.highWaterMark=G;else this.highWaterMark=ie;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var ae=E.decodeStrings===false;this.decodeStrings=!ae;this.defaultEncoding=E.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(E){onwrite(R,E)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var E=this.bufferedRequest;var R=[];while(E){R.push(E);E=E.next}return R};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:ie.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(E){}})();var we;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){we=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(E){if(we.call(this,E))return true;if(this!==Writable)return false;return E&&E._writableState instanceof WritableState}})}else{we=function(E){return E instanceof this}}function Writable(E){q=q||N(81959);if(!we.call(Writable,this)&&!(this instanceof q)){return new Writable(E)}this._writableState=new WritableState(E,this);this.writable=true;if(E){if(typeof E.write==="function")this._write=E.write;if(typeof E.writev==="function")this._writev=E.writev;if(typeof E.destroy==="function")this._destroy=E.destroy;if(typeof E.final==="function")this._final=E.final}ae.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(E,R){var N=new Error("write after end");E.emit("error",N);$.nextTick(R,N)}function validChunk(E,R,N,j){var q=true;var G=false;if(N===null){G=new TypeError("May not write null values to stream")}else if(typeof N!=="string"&&N!==undefined&&!R.objectMode){G=new TypeError("Invalid non-string/buffer chunk")}if(G){E.emit("error",G);$.nextTick(j,G);q=false}return q}Writable.prototype.write=function(E,R,N){var $=this._writableState;var j=false;var q=!$.objectMode&&_isUint8Array(E);if(q&&!le.isBuffer(E)){E=_uint8ArrayToBuffer(E)}if(typeof R==="function"){N=R;R=null}if(q)R="buffer";else if(!R)R=$.defaultEncoding;if(typeof N!=="function")N=nop;if($.ended)writeAfterEnd(this,N);else if(q||validChunk(this,$,E,N)){$.pendingcb++;j=writeOrBuffer(this,$,q,E,R,N)}return j};Writable.prototype.cork=function(){var E=this._writableState;E.corked++};Writable.prototype.uncork=function(){var E=this._writableState;if(E.corked){E.corked--;if(!E.writing&&!E.corked&&!E.finished&&!E.bufferProcessing&&E.bufferedRequest)clearBuffer(this,E)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(E){if(typeof E==="string")E=E.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((E+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+E);this._writableState.defaultEncoding=E;return this};function decodeChunk(E,R,N){if(!E.objectMode&&E.decodeStrings!==false&&typeof R==="string"){R=le.from(R,N)}return R}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(E,R,N,$,j,q){if(!N){var G=decodeChunk(R,$,j);if($!==G){N=true;j="buffer";$=G}}var ie=R.objectMode?1:$.length;R.length+=ie;var ae=R.length{"use strict";function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}var $=N(22560).Buffer;var j=N(73837);function copyBuffer(E,R,N){E.copy(R,N)}E.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(E){var R={data:E,next:null};if(this.length>0)this.tail.next=R;else this.head=R;this.tail=R;++this.length};BufferList.prototype.unshift=function unshift(E){var R={data:E,next:this.head};if(this.length===0)this.tail=R;this.head=R;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var E=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return E};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(E){if(this.length===0)return"";var R=this.head;var N=""+R.data;while(R=R.next){N+=E+R.data}return N};BufferList.prototype.concat=function concat(E){if(this.length===0)return $.alloc(0);if(this.length===1)return this.head.data;var R=$.allocUnsafe(E>>>0);var N=this.head;var j=0;while(N){copyBuffer(N.data,R,j);j+=N.data.length;N=N.next}return R};return BufferList}();if(j&&j.inspect&&j.inspect.custom){E.exports.prototype[j.inspect.custom]=function(){var E=j.inspect({length:this.length});return this.constructor.name+" "+E}}},22535:(E,R,N)=>{"use strict";var $=N(50411);function destroy(E,R){var N=this;var j=this._readableState&&this._readableState.destroyed;var q=this._writableState&&this._writableState.destroyed;if(j||q){if(R){R(E)}else if(E&&(!this._writableState||!this._writableState.errorEmitted)){$.nextTick(emitErrorNT,this,E)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(E||null,(function(E){if(!R&&E){$.nextTick(emitErrorNT,N,E);if(N._writableState){N._writableState.errorEmitted=true}}else if(R){R(E)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(E,R){E.emit("error",R)}E.exports={destroy:destroy,undestroy:undestroy}},99837:(E,R,N)=>{E.exports=N(12781)},22560:(E,R,N)=>{var $=N(14300);var j=$.Buffer;function copyProps(E,R){for(var N in E){R[N]=E[N]}}if(j.from&&j.alloc&&j.allocUnsafe&&j.allocUnsafeSlow){E.exports=$}else{copyProps($,R);R.Buffer=SafeBuffer}function SafeBuffer(E,R,N){return j(E,R,N)}copyProps(j,SafeBuffer);SafeBuffer.from=function(E,R,N){if(typeof E==="number"){throw new TypeError("Argument must not be a number")}return j(E,R,N)};SafeBuffer.alloc=function(E,R,N){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}var $=j(E);if(R!==undefined){if(typeof N==="string"){$.fill(R,N)}else{$.fill(R)}}else{$.fill(0)}return $};SafeBuffer.allocUnsafe=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return j(E)};SafeBuffer.allocUnsafeSlow=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return $.SlowBuffer(E)}},80147:(E,R,N)=>{"use strict";var $=N(22560).Buffer;var j=$.isEncoding||function(E){E=""+E;switch(E&&E.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(E){if(!E)return"utf8";var R;while(true){switch(E){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return E;default:if(R)return;E=(""+E).toLowerCase();R=true}}}function normalizeEncoding(E){var R=_normalizeEncoding(E);if(typeof R!=="string"&&($.isEncoding===j||!j(E)))throw new Error("Unknown encoding: "+E);return R||E}R.s=StringDecoder;function StringDecoder(E){this.encoding=normalizeEncoding(E);var R;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;R=4;break;case"utf8":this.fillLast=utf8FillLast;R=4;break;case"base64":this.text=base64Text;this.end=base64End;R=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=$.allocUnsafe(R)}StringDecoder.prototype.write=function(E){if(E.length===0)return"";var R;var N;if(this.lastNeed){R=this.fillLast(E);if(R===undefined)return"";N=this.lastNeed;this.lastNeed=0}else{N=0}if(N>5===6)return 2;else if(E>>4===14)return 3;else if(E>>3===30)return 4;return E>>6===2?-1:-2}function utf8CheckIncomplete(E,R,N){var $=R.length-1;if($=0){if(j>0)E.lastNeed=j-1;return j}if(--$=0){if(j>0)E.lastNeed=j-2;return j}if(--$=0){if(j>0){if(j===2)j=0;else E.lastNeed=j-3}return j}return 0}function utf8CheckExtraBytes(E,R,N){if((R[0]&192)!==128){E.lastNeed=0;return"�"}if(E.lastNeed>1&&R.length>1){if((R[1]&192)!==128){E.lastNeed=1;return"�"}if(E.lastNeed>2&&R.length>2){if((R[2]&192)!==128){E.lastNeed=2;return"�"}}}}function utf8FillLast(E){var R=this.lastTotal-this.lastNeed;var N=utf8CheckExtraBytes(this,E,R);if(N!==undefined)return N;if(this.lastNeed<=E.length){E.copy(this.lastChar,R,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}E.copy(this.lastChar,R,0,E.length);this.lastNeed-=E.length}function utf8Text(E,R){var N=utf8CheckIncomplete(this,E,R);if(!this.lastNeed)return E.toString("utf8",R);this.lastTotal=N;var $=E.length-(N-this.lastNeed);E.copy(this.lastChar,0,$);return E.toString("utf8",R,$)}function utf8End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed)return R+"�";return R}function utf16Text(E,R){if((E.length-R)%2===0){var N=E.toString("utf16le",R);if(N){var $=N.charCodeAt(N.length-1);if($>=55296&&$<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1];return N.slice(0,-1)}}return N}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=E[E.length-1];return E.toString("utf16le",R,E.length-1)}function utf16End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed){var N=this.lastTotal-this.lastNeed;return R+this.lastChar.toString("utf16le",0,N)}return R}function base64Text(E,R){var N=(E.length-R)%3;if(N===0)return E.toString("base64",R);this.lastNeed=3-N;this.lastTotal=3;if(N===1){this.lastChar[0]=E[E.length-1]}else{this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1]}return E.toString("base64",R,E.length-N)}function base64End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed)return R+this.lastChar.toString("base64",0,3-this.lastNeed);return R}function simpleWrite(E){return E.toString(this.encoding)}function simpleEnd(E){return E&&E.length?this.write(E):""}},32453:(E,R,N)=>{var $=N(12781);if(process.env.READABLE_STREAM==="disable"&&$){E.exports=$;R=E.exports=$.Readable;R.Readable=$.Readable;R.Writable=$.Writable;R.Duplex=$.Duplex;R.Transform=$.Transform;R.PassThrough=$.PassThrough;R.Stream=$}else{R=E.exports=N(97469);R.Stream=$||R;R.Readable=R;R.Writable=N(97867);R.Duplex=N(81959);R.Transform=N(77837);R.PassThrough=N(54021)}},47030:(E,R,N)=>{var $=N(42911);$.core=N(54800);$.isCore=N(80280);$.sync=N(4893);E.exports=$},42911:(E,R,N)=>{var $=N(57147);var j=N(71017);var q=N(25297);var G=N(1680);var ie=N(83034);var ae=N(13747);var le=$.realpath&&typeof $.realpath.native==="function"?$.realpath.native:$.realpath;var _e=function isFile(E,R){$.stat(E,(function(E,N){if(!E){return R(null,N.isFile()||N.isFIFO())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return R(null,false);return R(E)}))};var Ee=function isDirectory(E,R){$.stat(E,(function(E,N){if(!E){return R(null,N.isDirectory())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return R(null,false);return R(E)}))};var we=function realpath(E,R){le(E,(function(N,$){if(N&&N.code!=="ENOENT")R(N);else R(null,N?E:$)}))};var Ie=function maybeRealpath(E,R,N,$){if(N&&N.preserveSymlinks===false){E(R,$)}else{$(null,R)}};var Me=function defaultReadPackage(E,R,N){E(R,(function(E,R){if(E)N(E);else{try{var $=JSON.parse(R);N(null,$)}catch(E){N(null)}}}))};var Te=function getPackageCandidates(E,R,N){var $=G(R,N,E);for(var q=0;q<$.length;q++){$[q]=j.join($[q],E)}return $};E.exports=function resolve(E,R,N){var G=N;var le=R;if(typeof R==="function"){G=le;le={}}if(typeof E!=="string"){var Ne=new TypeError("Path must be a string.");return process.nextTick((function(){G(Ne)}))}le=ie(E,le);var Be=le.isFile||_e;var Le=le.isDirectory||Ee;var je=le.readFile||$.readFile;var ze=le.realpath||we;var Ue=le.readPackage||Me;if(le.readFile&&le.readPackage){var qe=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){G(qe)}))}var Ge=le.packageIterator;var He=le.extensions||[".js"];var We=le.includeCoreModules!==false;var Ve=le.basedir||j.dirname(q());var Ke=le.filename||Ve;le.paths=le.paths||[];var Qe=j.resolve(Ve);Ie(ze,Qe,le,(function(E,R){if(E)G(E);else init(R)}));var Je;function init(R){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(E)){Je=j.resolve(R,E);if(E==="."||E===".."||E.slice(-1)==="/")Je+="/";if(/\/$/.test(E)&&Je===R){loadAsDirectory(Je,le.package,onfile)}else loadAsFile(Je,le.package,onfile)}else if(We&&ae(E)){return G(null,E)}else loadNodeModules(E,R,(function(R,N,$){if(R)G(R);else if(N){return Ie(ze,N,le,(function(E,R){if(E){G(E)}else{G(null,R,$)}}))}else{var j=new Error("Cannot find module '"+E+"' from '"+Ke+"'");j.code="MODULE_NOT_FOUND";G(j)}}))}function onfile(R,N,$){if(R)G(R);else if(N)G(null,N,$);else loadAsDirectory(Je,(function(R,N,$){if(R)G(R);else if(N){Ie(ze,N,le,(function(E,R){if(E){G(E)}else{G(null,R,$)}}))}else{var j=new Error("Cannot find module '"+E+"' from '"+Ke+"'");j.code="MODULE_NOT_FOUND";G(j)}}))}function loadAsFile(E,R,N){var $=R;var q=N;if(typeof $==="function"){q=$;$=undefined}var G=[""].concat(He);load(G,E,$);function load(E,R,N){if(E.length===0)return q(null,undefined,N);var $=R+E[0];var G=N;if(G)onpkg(null,G);else loadpkg(j.dirname($),onpkg);function onpkg(N,ie,ae){G=ie;if(N)return q(N);if(ae&&G&&le.pathFilter){var _e=j.relative(ae,$);var Ee=_e.slice(0,_e.length-E[0].length);var we=le.pathFilter(G,R,Ee);if(we)return load([""].concat(He.slice()),j.resolve(ae,we),G)}Be($,onex)}function onex(N,j){if(N)return q(N);if(j)return q(null,$,G);load(E.slice(1),R,G)}}}function loadpkg(E,R){if(E===""||E==="/")return R(null);if(process.platform==="win32"&&/^\w:[/\\]*$/.test(E)){return R(null)}if(/[/\\]node_modules[/\\]*$/.test(E))return R(null);Ie(ze,E,le,(function(N,$){if(N)return loadpkg(j.dirname(E),R);var q=j.join($,"package.json");Be(q,(function(N,$){if(!$)return loadpkg(j.dirname(E),R);Ue(je,q,(function(N,$){if(N)R(N);var j=$;if(j&&le.packageFilter){j=le.packageFilter(j,q)}R(null,j,E)}))}))}))}function loadAsDirectory(E,R,N){var $=N;var q=R;if(typeof q==="function"){$=q;q=le.package}Ie(ze,E,le,(function(R,N){if(R)return $(R);var G=j.join(N,"package.json");Be(G,(function(R,N){if(R)return $(R);if(!N)return loadAsFile(j.join(E,"index"),q,$);Ue(je,G,(function(R,N){if(R)return $(R);var q=N;if(q&&le.packageFilter){q=le.packageFilter(q,G)}if(q&&q.main){if(typeof q.main!=="string"){var ie=new TypeError("package “"+q.name+"” `main` must be a string");ie.code="INVALID_PACKAGE_MAIN";return $(ie)}if(q.main==="."||q.main==="./"){q.main="index"}loadAsFile(j.resolve(E,q.main),q,(function(R,N,q){if(R)return $(R);if(N)return $(null,N,q);if(!q)return loadAsFile(j.join(E,"index"),q,$);var G=j.resolve(E,q.main);loadAsDirectory(G,q,(function(R,N,q){if(R)return $(R);if(N)return $(null,N,q);loadAsFile(j.join(E,"index"),q,$)}))}));return}loadAsFile(j.join(E,"/index"),q,$)}))}))}))}function processDirs(E,R){if(R.length===0)return E(null,undefined);var N=R[0];Le(j.dirname(N),isdir);function isdir($,j){if($)return E($);if(!j)return processDirs(E,R.slice(1));loadAsFile(N,le.package,onfile)}function onfile(R,$,j){if(R)return E(R);if($)return E(null,$,j);loadAsDirectory(N,le.package,ondir)}function ondir(N,$,j){if(N)return E(N);if($)return E(null,$,j);processDirs(E,R.slice(1))}}function loadNodeModules(E,R,N){var thunk=function(){return Te(E,R,le)};processDirs(N,Ge?Ge(E,R,thunk,le):thunk())}}},25297:E=>{E.exports=function(){var E=Error.prepareStackTrace;Error.prepareStackTrace=function(E,R){return R};var R=(new Error).stack;Error.prepareStackTrace=E;return R[2].getFileName()}},54800:(E,R,N)=>{var $=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(E){var R=E.split(" ");var N=R.length>1?R[0]:"=";var j=(R.length>1?R[1]:R[0]).split(".");for(var q=0;q<3;++q){var G=parseInt($[q]||0,10);var ie=parseInt(j[q]||0,10);if(G===ie){continue}if(N==="<"){return G="){return G>=ie}else{return false}}return N===">="}function matchesRange(E){var R=E.split(/ ?&& ?/);if(R.length===0){return false}for(var N=0;N{var $=N(13747);E.exports=function isCore(E){return $(E)}},1680:(E,R,N)=>{var $=N(71017);var j=$.parse||N(75522);var q=function getNodeModulesDirs(E,R){var N="/";if(/^([A-Za-z]:)/.test(E)){N=""}else if(/^\\\\/.test(E)){N="\\\\"}var q=[E];var G=j(E);while(G.dir!==q[q.length-1]){q.push(G.dir);G=j(G.dir)}return q.reduce((function(E,j){return E.concat(R.map((function(E){return $.resolve(N,j,E)})))}),[])};E.exports=function nodeModulesPaths(E,R,N){var $=R&&R.moduleDirectory?[].concat(R.moduleDirectory):["node_modules"];if(R&&typeof R.paths==="function"){return R.paths(N,E,(function(){return q(E,$)}),R)}var j=q(E,$);return R&&R.paths?j.concat(R.paths):j}},83034:E=>{E.exports=function(E,R){return R||{}}},4893:(E,R,N)=>{var $=N(13747);var j=N(57147);var q=N(71017);var G=N(25297);var ie=N(1680);var ae=N(83034);var le=j.realpathSync&&typeof j.realpathSync.native==="function"?j.realpathSync.native:j.realpathSync;var _e=function isFile(E){try{var R=j.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return R.isFile()||R.isFIFO()};var Ee=function isDirectory(E){try{var R=j.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return R.isDirectory()};var we=function realpathSync(E){try{return le(E)}catch(E){if(E.code!=="ENOENT"){throw E}}return E};var Ie=function maybeRealpathSync(E,R,N){if(N&&N.preserveSymlinks===false){return E(R)}return R};var Me=function defaultReadPackageSync(E,R){var N=E(R);try{var $=JSON.parse(N);return $}catch(E){}};var Te=function getPackageCandidates(E,R,N){var $=ie(R,N,E);for(var j=0;j<$.length;j++){$[j]=q.join($[j],E)}return $};E.exports=function resolveSync(E,R){if(typeof E!=="string"){throw new TypeError("Path must be a string.")}var N=ae(E,R);var ie=N.isFile||_e;var le=N.readFileSync||j.readFileSync;var Ne=N.isDirectory||Ee;var Be=N.realpathSync||we;var Le=N.readPackageSync||Me;if(N.readFileSync&&N.readPackageSync){throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.")}var je=N.packageIterator;var ze=N.extensions||[".js"];var Ue=N.includeCoreModules!==false;var qe=N.basedir||q.dirname(G());var Ge=N.filename||qe;N.paths=N.paths||[];var He=Ie(Be,q.resolve(qe),N);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(E)){var We=q.resolve(He,E);if(E==="."||E===".."||E.slice(-1)==="/")We+="/";var Ve=loadAsFileSync(We)||loadAsDirectorySync(We);if(Ve)return Ie(Be,Ve,N)}else if(Ue&&$(E)){return E}else{var Ke=loadNodeModulesSync(E,He);if(Ke)return Ie(Be,Ke,N)}var Qe=new Error("Cannot find module '"+E+"' from '"+Ge+"'");Qe.code="MODULE_NOT_FOUND";throw Qe;function loadAsFileSync(E){var R=loadpkg(q.dirname(E));if(R&&R.dir&&R.pkg&&N.pathFilter){var $=q.relative(R.dir,E);var j=N.pathFilter(R.pkg,E,$);if(j){E=q.resolve(R.dir,j)}}if(ie(E)){return E}for(var G=0;G{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;const{stringHints:$,numberHints:j}=N(47961);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,R){const N=E.reduce(((E,N)=>Math.max(E,R(N))),0);return E.filter((E=>R(E)===N))}function filterChildren(E){let R=E;R=filterMax(R,(E=>E.dataPath?E.dataPath.length:0));R=filterMax(R,(E=>q[E.keyword]||2));return R}function findAllChildren(E,R){let N=E.length-1;const predicate=R=>E[N].schemaPath.indexOf(R)!==0;while(N>-1&&!R.every(predicate)){if(E[N].keyword==="anyOf"||E[N].keyword==="oneOf"){const R=extractRefs(E[N]);const $=findAllChildren(E.slice(0,N),R.concat(E[N].schemaPath));N=$-1}else{N-=1}}return N+1}function extractRefs(E){const{schema:R}=E;if(!Array.isArray(R)){return[]}return R.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const R=[];let N=E.length-1;while(N>0){const $=E[N];if($.keyword==="anyOf"||$.keyword==="oneOf"){const j=extractRefs($);const q=findAllChildren(E.slice(0,N),j.concat($.schemaPath));if(q!==N){R.push(Object.assign({},$,{children:E.slice(q,N)}));N=q}else{R.push($)}}else{R.push($)}N-=1}if(N===0){R.push(E[N])}return R.reverse()}function indent(E,R){return E.replace(/\n(?!$)/g,`\n${R}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const R=findFirstTypedSchema(E);return likeNumber(R)||likeInteger(R)||likeString(R)||likeNull(R)||likeBoolean(R)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,R){if(likeNumber(E)||likeInteger(E)){return j(E,R)}else if(likeString(E)){return $(E,R)}return[]}class ValidationError extends Error{constructor(E,R,N={}){super();this.name="ValidationError";this.errors=E;this.schema=R;let $;let j;if(R.title&&(!N.name||!N.baseDataPath)){const E=R.title.match(/^(.+) (.+)$/);if(E){if(!N.name){[,$]=E}if(!N.baseDataPath){[,,j]=E}}}this.headerName=N.name||$||"Object";this.baseDataPath=N.baseDataPath||j||"configuration";this.postFormatter=N.postFormatter||null;const q=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${q}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const R=E.split("/");let N=this.schema;for(let E=1;E{if(!j){return this.formatSchema(R,$,N)}if(N.includes(R)){return"(recursive)"}return this.formatSchema(R,$,N.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){$=!R;return formatInnerSchema(E.not)}const N=!E.not.not;const j=R?"":"non ";$=!R;return N?j+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:R}=E;const N=!Array.isArray(R)?[R]:R;return N.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:R,then:N,else:$}=E;return`${R?`if ${formatInnerSchema(R)}`:""}${N?` then ${formatInnerSchema(N)}`:""}${$?` else ${formatInnerSchema($)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[N,...$]=getHints(E,R);const j=`${N}${$.length>0?` ${formatHints($)}`:""}`;return R?j:$.length>0?`non-${N} | ${j}`:`non-${N}`}if(likeString(E)){const[N,...$]=getHints(E,R);const j=`${N}${$.length>0?` ${formatHints($)}`:""}`;return R?j:j==="string"?"non-string":`non-string | ${j}`}if(likeBoolean(E)){return`${R?"":"non-"}boolean`}if(likeArray(E)){$=true;const R=[];if(typeof E.minItems==="number"){R.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){R.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){R.push("should not have duplicate items")}const N=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let j="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){j=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(N){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){R.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){j=`${formatInnerSchema(E.items)}`}else{j="any"}}else{j="any"}if(E.contains&&Object.keys(E.contains).length>0){R.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${j}${N?", ...":""}]${R.length>0?` (${R.join(", ")})`:""}`}if(likeObject(E)){$=true;const R=[];if(typeof E.minProperties==="number"){R.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){R.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const N=Object.keys(E.patternProperties);R.push(`additional property names should match pattern${N.length>1?"s":""} ${N.map((E=>JSON.stringify(E))).join(" | ")}`)}const N=E.properties?Object.keys(E.properties):[];const j=E.required?E.required:[];const q=[...new Set([].concat(j).concat(N))];const G=q.map((E=>{const R=j.includes(E);return`${E}${R?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ie,propertyNames:ae,patternRequired:le}=E;if(ie){Object.keys(ie).forEach((E=>{const N=ie[E];if(Array.isArray(N)){R.push(`should have ${N.length>1?"properties":"property"} ${N.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{R.push(`should be valid according to the schema ${formatInnerSchema(N)} when property '${E}' is present`)}}))}if(ae&&Object.keys(ae).length>0){R.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(le&&le.length>0){R.push(`should have property matching pattern ${le.map((E=>JSON.stringify(E)))}`)}return`object {${G?` ${G} `:""}}${R.length>0?` (${R.join(", ")})`:""}`}if(likeNull(E)){return`${R?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,R,N=false,$=true){if(!E){return""}if(Array.isArray(R)){for(let N=0;N ${E.description}`}if(E.link){j+=`\n-> Read more at ${E.link}`}return j}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}let R="";if(E.description){R+=`\n-> ${E.description}`}if(E.link){R+=`\n-> Read more at ${E.link}`}return R}formatValidationError(E){const{keyword:R,dataPath:N}=E;const $=`${this.baseDataPath}${N}`;switch(R){case"type":{const{parentSchema:R,params:N}=E;switch(N.type){case"number":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"integer":return`${$} should be an ${this.getSchemaPartText(R,false,true)}`;case"string":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"boolean":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"array":return`${$} should be an array:\n${this.getSchemaPartText(R)}`;case"object":return`${$} should be an object:\n${this.getSchemaPartText(R)}`;case"null":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;default:return`${$} should be:\n${this.getSchemaPartText(R)}`}}case"instanceof":{const{parentSchema:R}=E;return`${$} should be an instance of ${this.getSchemaPartText(R,false,true)}`}case"pattern":{const{params:R,parentSchema:N}=E;const{pattern:j}=R;return`${$} should match pattern ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"format":{const{params:R,parentSchema:N}=E;const{format:j}=R;return`${$} should match format ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"formatMinimum":case"formatMaximum":{const{params:R,parentSchema:N}=E;const{comparison:j,limit:q}=R;return`${$} should be ${j} ${JSON.stringify(q)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:R,params:N}=E;const{comparison:j,limit:q}=N;const[,...G]=getHints(R,true);if(G.length===0){G.push(`should be ${j} ${q}`)}return`${$} ${G.join(" ")}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"multipleOf":{const{params:R,parentSchema:N}=E;const{multipleOf:j}=R;return`${$} should be multiple of ${j}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"patternRequired":{const{params:R,parentSchema:N}=E;const{missingPattern:j}=R;return`${$} should have property matching pattern ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minLength":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty string${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}const q=j-1;return`${$} should be longer than ${q} character${q>1?"s":""}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty array${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}return`${$} should not have fewer than ${j} items${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minProperties":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty object${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}return`${$} should not have fewer than ${j} properties${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxLength":{const{params:R,parentSchema:N}=E;const{limit:j}=R;const q=j+1;return`${$} should be shorter than ${q} character${q>1?"s":""}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} items${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxProperties":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} properties${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"uniqueItems":{const{params:R,parentSchema:N}=E;const{i:j}=R;return`${$} should not contain the item '${E.data[j]}' twice${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"additionalItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} items${getSchemaNonTypes(N)}. These items are valid:\n${this.getSchemaPartText(N)}`}case"contains":{const{parentSchema:R}=E;return`${$} should contains at least one ${this.getSchemaPartText(R,["contains"])} item${getSchemaNonTypes(R)}.`}case"required":{const{parentSchema:R,params:N}=E;const j=N.missingProperty.replace(/^\./,"");const q=R&&Boolean(R.properties&&R.properties[j]);return`${$} misses the property '${j}'${getSchemaNonTypes(R)}.${q?` Should be:\n${this.getSchemaPartText(R,["properties",j])}`:this.getSchemaPartDescription(R)}`}case"additionalProperties":{const{params:R,parentSchema:N}=E;const{additionalProperty:j}=R;return`${$} has an unknown property '${j}'${getSchemaNonTypes(N)}. These properties are valid:\n${this.getSchemaPartText(N)}`}case"dependencies":{const{params:R,parentSchema:N}=E;const{property:j,deps:q}=R;const G=q.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${$} should have properties ${G} when property '${j}' is present${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"propertyNames":{const{params:R,parentSchema:N,schema:j}=E;const{propertyName:q}=R;return`${$} property name '${q}' is invalid${getSchemaNonTypes(N)}. Property names should be match format ${JSON.stringify(j.format)}.${this.getSchemaPartDescription(N)}`}case"enum":{const{parentSchema:R}=E;if(R&&R.enum&&R.enum.length===1){return`${$} should be ${this.getSchemaPartText(R,false,true)}`}return`${$} should be one of these:\n${this.getSchemaPartText(R)}`}case"const":{const{parentSchema:R}=E;return`${$} should be equal to constant ${this.getSchemaPartText(R,false,true)}`}case"not":{const R=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const N=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${$} should be any ${N}${R}.`}const{schema:j,parentSchema:q}=E;return`${$} should not be ${this.getSchemaPartText(j,false,true)}${q&&likeObject(q)?`\n${this.getSchemaPartText(q)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:R,children:N}=E;if(N&&N.length>0){if(E.schema.length===1){const E=N[N.length-1];const $=N.slice(0,N.length-1);return this.formatValidationError(Object.assign({},E,{children:$,parentSchema:Object.assign({},R,E.parentSchema)}))}let j=filterChildren(N);if(j.length===1){return this.formatValidationError(j[0])}j=groupChildrenByFirstChild(j);return`${$} should be one of these:\n${this.getSchemaPartText(R)}\nDetails:\n${j.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${$} should be one of these:\n${this.getSchemaPartText(R)}`}case"if":{const{params:R,parentSchema:N}=E;const{failingKeyword:j}=R;return`${$} should match "${j}" schema:\n${this.getSchemaPartText(N,[j])}`}case"absolutePath":{const{message:R,parentSchema:N}=E;return`${$}: ${R}${this.getSchemaPartDescription(N)}`}default:{const{message:R,parentSchema:N}=E;const j=JSON.stringify(E,null,2);return`${$} ${R} (${j}).\n${this.getSchemaPartText(N,false)}`}}}formatValidationErrors(E){return E.map((E=>{let R=this.formatValidationError(E);if(this.postFormatter){R=this.postFormatter(R,E)}return` - ${indent(R," ")}`})).join("\n")}}var G=ValidationError;R["default"]=G},15235:(E,R,N)=>{"use strict";const{validate:$,ValidationError:j}=N(18110);E.exports={validate:$,ValidationError:j}},77102:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function errorMessage(E,R,N){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:N},message:E,parentSchema:R}}function getErrorFor(E,R,N){const $=E?`The provided value ${JSON.stringify(N)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(N)} is an absolute path!`;return errorMessage($,R,N)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,R){const callback=N=>{let $=true;const j=N.includes("!");if(j){callback.errors=[errorMessage(`The provided value ${JSON.stringify(N)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,R,N)];$=false}const q=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(N);if(!q){callback.errors=[getErrorFor(E,R,N)];$=false}return $};callback.errors=[];return callback}});return E}var N=addAbsolutePathKeyword;R["default"]=N},95855:E=>{"use strict";class Range{static getOperator(E,R){if(E==="left"){return R?">":">="}return R?"<":"<="}static formatRight(E,R,N){if(R===false){return Range.formatLeft(E,!R,!N)}return`should be ${Range.getOperator("right",N)} ${E}`}static formatLeft(E,R,N){if(R===false){return Range.formatRight(E,!R,!N)}return`should be ${Range.getOperator("left",N)} ${E}`}static formatRange(E,R,N,$,j){let q="should be";q+=` ${Range.getOperator(j?"left":"right",j?N:!N)} ${E} `;q+=j?"and":"or";q+=` ${Range.getOperator(j?"right":"left",j?$:!$)} ${R}`;return q}static getRangeValue(E,R){let N=R?Infinity:-Infinity;let $=-1;const j=R?([E])=>E<=N:([E])=>E>=N;for(let R=0;R-1){return E[$]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,R=false){this._left.push([E,R])}right(E,R=false){this._right.push([E,R])}format(E=true){const[R,N]=Range.getRangeValue(this._left,E);const[$,j]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(R)&&!Number.isFinite($)){return""}const q=N?R+1:R;const G=j?$-1:$;if(q===G){return`should be ${E?"":"!"}= ${q}`}if(Number.isFinite(R)&&!Number.isFinite($)){return Range.formatLeft(R,E,N)}if(!Number.isFinite(R)&&Number.isFinite($)){return Range.formatRight($,E,j)}return Range.formatRange(R,$,N,j,E)}}E.exports=Range},47961:(E,R,N)=>{"use strict";const $=N(95855);E.exports.stringHints=function stringHints(E,R){const N=[];let $="string";const j={...E};if(!R){const E=j.minLength;const R=j.formatMinimum;const N=j.formatExclusiveMaximum;j.minLength=j.maxLength;j.maxLength=E;j.formatMinimum=j.formatMaximum;j.formatMaximum=R;j.formatExclusiveMaximum=!j.formatExclusiveMinimum;j.formatExclusiveMinimum=!N}if(typeof j.minLength==="number"){if(j.minLength===1){$="non-empty string"}else{const E=Math.max(j.minLength-1,0);N.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof j.maxLength==="number"){if(j.maxLength===0){$="empty string"}else{const E=j.maxLength+1;N.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if(j.pattern){N.push(`should${R?"":" not"} match pattern ${JSON.stringify(j.pattern)}`)}if(j.format){N.push(`should${R?"":" not"} match format ${JSON.stringify(j.format)}`)}if(j.formatMinimum){N.push(`should be ${j.formatExclusiveMinimum?">":">="} ${JSON.stringify(j.formatMinimum)}`)}if(j.formatMaximum){N.push(`should be ${j.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(j.formatMaximum)}`)}return[$].concat(N)};E.exports.numberHints=function numberHints(E,R){const N=[E.type==="integer"?"integer":"number"];const j=new $;if(typeof E.minimum==="number"){j.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){j.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){j.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){j.right(E.exclusiveMaximum,true)}const q=j.format(R);if(q){N.push(q)}if(typeof E.multipleOf==="number"){N.push(`should${R?"":" not"} be multiple of ${E.multipleOf}`)}return N}},18110:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.validate=validate;Object.defineProperty(R,"ValidationError",{enumerable:true,get:function(){return j.default}});var $=_interopRequireDefault(N(77102));var j=_interopRequireDefault(N(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const q=N(33866);const G=N(35525);const ie=new q({allErrors:true,verbose:true,$data:true});G(ie,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,$.default)(ie);function validate(E,R,N){let $=[];if(Array.isArray(R)){$=Array.from(R,(R=>validateObject(E,R)));$.forEach(((E,R)=>{const applyPrefix=E=>{E.dataPath=`[${R}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));$=$.reduce(((E,R)=>{E.push(...R);return E}),[])}else{$=validateObject(E,R)}if($.length>0){throw new j.default($,E,N)}}function validateObject(E,R){const N=ie.compile(E);const $=N(R);if($)return[];return N.errors?filterErrors(N.errors):[]}function filterErrors(E){let R=[];for(const N of E){const{dataPath:E}=N;let $=[];R=R.filter((R=>{if(R.dataPath.includes(E)){if(R.children){$=$.concat(R.children.slice(0))}R.children=undefined;$.push(R);return false}return true}));if($.length){N.children=$}R.push(N)}return R}},27746:(E,R,N)=>{"use strict";const $=N(1226).y;const j=N(1226).P;class CodeNode{constructor(E){this.generatedCode=E}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(E){const R=$(this.generatedCode);const N=Array(R+1).join(";");if(R>0){E.unfinishedGeneratedLine=j(this.generatedCode);if(E.unfinishedGeneratedLine>0){return N+"A"}else{return N}}else{const R=E.unfinishedGeneratedLine;E.unfinishedGeneratedLine+=j(this.generatedCode);if(R===0&&E.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(E){this.generatedCode+=E}mapGeneratedCode(E){const R=E(this.generatedCode);return new CodeNode(R)}getNormalizedNodes(){return[this]}merge(E){if(E instanceof CodeNode){this.generatedCode+=E.generatedCode;return this}return false}}E.exports=CodeNode},30047:E=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(E,R){let N=this.sourcesIndices.get(E);if(typeof N==="number"){return N}N=this.sourcesIndices.size;this.sourcesIndices.set(E,N);this.sourcesContent.set(E,R);if(typeof R==="string")this.hasSourceContent=true;return N}getArrays(){const E=[];const R=[];for(const N of this.sourcesContent){E.push(N[0]);R.push(N[1])}return{sources:E,sourcesContent:R}}}E.exports=MappingsContext},86979:(E,R,N)=>{"use strict";const $=N(37788);const j=N(1226).y;const q=N(1226).P;const G=";AAAA";class SingleLineNode{constructor(E,R,N,$){this.generatedCode=E;this.originalSource=N;this.source=R;this.line=$||1;this._numberOfLines=j(this.generatedCode);this._endsWithNewLine=E[E.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(E){if(!this.generatedCode)return"";const R=this._numberOfLines;const N=E.ensureSource(this.source,this.originalSource);let j="A";if(E.unfinishedGeneratedLine)j=","+$.encode(E.unfinishedGeneratedLine);j+=$.encode(N-E.currentSource);j+=$.encode(this.line-E.currentOriginalLine);j+="A";E.currentSource=N;E.currentOriginalLine=this.line;const ie=E.unfinishedGeneratedLine=q(this.generatedCode);j+=Array(R).join(G);if(ie===0){j+=";"}else{if(R!==0)j+=G}return j}getNormalizedNodes(){return[this]}mapGeneratedCode(E){const R=E(this.generatedCode);return new SingleLineNode(R,this.source,this.originalSource,this.line)}merge(E){if(E instanceof SingleLineNode){return this.mergeSingleLineNode(E)}return false}mergeSingleLineNode(E){if(this.source===E.source&&this.originalSource===E.originalSource){if(this.line===E.line){this.generatedCode+=E.generatedCode;this._numberOfLines+=E._numberOfLines;this._endsWithNewLine=E._endsWithNewLine;return this}else if(this.line+1===E.line&&this._endsWithNewLine&&this._numberOfLines===1&&E._numberOfLines<=1){return new ie(this.generatedCode+E.generatedCode,this.source,this.originalSource,this.line)}}return false}}E.exports=SingleLineNode;const ie=N(49043)},53273:(E,R,N)=>{"use strict";const $=N(27746);const j=N(49043);const q=N(30047);const G=N(1226).y;class SourceListMap{constructor(E,R,N){if(Array.isArray(E)){this.children=E}else{this.children=[];if(E||R)this.add(E,R,N)}}add(E,R,N){if(typeof E==="string"){if(R){this.children.push(new j(E,R,N))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof $){this.children[this.children.length-1].addGeneratedCode(E)}else{this.children.push(new $(E))}}else if(E.getMappings&&E.getGeneratedCode){this.children.push(E)}else if(E.children){E.children.forEach((function(E){this.children.push(E)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(E,R,N){if(typeof E==="string"){if(R){this.children.unshift(new j(E,R,N))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(E)}else{this.children.unshift(new $(E))}}else if(E.getMappings&&E.getGeneratedCode){this.children.unshift(E)}else if(E.children){E.children.slice().reverse().forEach((function(E){this.children.unshift(E)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(E){const R=[];this.children.forEach((function(E){E.getNormalizedNodes().forEach((function(E){R.push(E)}))}));const N=[];R.forEach((function(R){R=R.mapGeneratedCode(E);if(N.length===0){N.push(R)}else{const E=N[N.length-1];const $=E.merge(R);if($){N[N.length-1]=$}else{N.push(R)}}}));return new SourceListMap(N)}toString(){return this.children.map((function(E){return E.getGeneratedCode()})).join("")}toStringWithSourceMap(E){const R=new q;const N=this.children.map((function(E){return E.getGeneratedCode()})).join("");const $=this.children.map((function(E){return E.getMappings(R)})).join("");const j=R.getArrays();return{source:N,map:{version:3,file:E&&E.file,sources:j.sources,sourcesContent:R.hasSourceContent?j.sourcesContent:undefined,mappings:$}}}}E.exports=SourceListMap},49043:(E,R,N)=>{"use strict";const $=N(37788);const j=N(1226).y;const q=N(1226).P;const G=";AACA";class SourceNode{constructor(E,R,N,$){this.generatedCode=E;this.originalSource=N;this.source=R;this.startingLine=$||1;this._numberOfLines=j(this.generatedCode);this._endsWithNewLine=E[E.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(E){this.generatedCode+=E;this._numberOfLines+=j(E);this._endsWithNewLine=E[E.length-1]==="\n"}getMappings(E){if(!this.generatedCode)return"";const R=this._numberOfLines;const N=E.ensureSource(this.source,this.originalSource);let j="A";if(E.unfinishedGeneratedLine)j=","+$.encode(E.unfinishedGeneratedLine);j+=$.encode(N-E.currentSource);j+=$.encode(this.startingLine-E.currentOriginalLine);j+="A";E.currentSource=N;E.currentOriginalLine=this.startingLine+R-1;const ie=E.unfinishedGeneratedLine=q(this.generatedCode);j+=Array(R).join(G);if(ie===0){j+=";"}else{if(R!==0){j+=G}E.currentOriginalLine++}return j}mapGeneratedCode(E){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var E=[];var R=this.startingLine;var N=this.generatedCode;var $=0;var j=N.length;while(${var N={};var $={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach((function(E,R){N[E]=R;$[R]=E}));var j={};j.encode=function base64_encode(E){if(E in $){return $[E]}throw new TypeError("Must be between 0 and 63: "+E)};j.decode=function base64_decode(E){if(E in N){return N[E]}throw new TypeError("Not a valid base 64 digit: "+E)};var q=5;var G=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){var R="";var N;var $=toVLQSigned(E);do{N=$&ie;$>>>=q;if($>0){N|=ae}R+=j.encode(N)}while($>0);return R};R.decode=function base64VLQ_decode(E,R){var N=0;var $=E.length;var G=0;var le=0;var _e,Ee;do{if(N>=$){throw new Error("Expected more digits in base 64 VLQ value.")}Ee=j.decode(E.charAt(N++));_e=!!(Ee&ae);Ee&=ie;G=G+(Ee<{"use strict";const $=N(37788);const j=N(49043);const q=N(27746);const G=N(53273);E.exports=function fromStringWithSourceMap(E,R){const N=R.sources;const ie=R.sourcesContent;const ae=R.mappings.split(";");const le=E.split("\n");const _e=[];let Ee=null;let we=1;let Ie=0;let Me;function addCode(E){if(Ee&&Ee instanceof q){Ee.addGeneratedCode(E)}else if(Ee&&Ee instanceof j&&!E.trim()){Ee.addGeneratedCode(E);Me++}else{Ee=new q(E);_e.push(Ee)}}function addSource(E,R,N,$){if(Ee&&Ee instanceof j&&Ee.source===R&&Me===$){Ee.addGeneratedCode(E);Me++}else{Ee=new j(E,R,N,$);Me=$+1;_e.push(Ee)}}ae.forEach((function(E,R){let N=le[R];if(typeof N==="undefined")return;if(R!==le.length-1)N+="\n";if(!E)return addCode(N);E={value:0,rest:E};let $=false;while(E.rest)$=processMapping(E,N,$)||$;if(!$)addCode(N)}));if(ae.length{"use strict";R.y=function getNumberOfLines(E){let R=-1;let N=-1;do{R++;N=E.indexOf("\n",N+1)}while(N>=0);return R};R.P=function getUnfinishedLine(E){const R=E.lastIndexOf("\n");if(R===-1)return E.length;else return E.length-R-1}},6900:(E,R,N)=>{R.SourceListMap=N(53273);N(49043);N(86979);N(27746);N(30047);R.fromStringWithSourceMap=N(88494)},26837:(E,R,N)=>{var $=N(31983);var j=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,R){var N=new ArraySet;for(var $=0,j=E.length;$=0){return R}}else{var N=$.toSetString(E);if(j.call(this._set,N)){return this._set[N]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var $=N(96537);var j=5;var q=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){var R="";var N;var q=toVLQSigned(E);do{N=q&G;q>>>=j;if(q>0){N|=ie}R+=$.encode(N)}while(q>0);return R};R.decode=function base64VLQ_decode(E,R,N){var q=E.length;var ae=0;var le=0;var _e,Ee;do{if(R>=q){throw new Error("Expected more digits in base 64 VLQ value.")}Ee=$.decode(E.charCodeAt(R++));if(Ee===-1){throw new Error("Invalid base64 digit: "+E.charAt(R-1))}_e=!!(Ee&ie);Ee&=G;ae=ae+(Ee<{var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");R.encode=function(E){if(0<=E&&E{R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;function recursiveSearch(E,N,$,j,q,G){var ie=Math.floor((N-E)/2)+E;var ae=q($,j[ie],true);if(ae===0){return ie}else if(ae>0){if(N-ie>1){return recursiveSearch(ie,N,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return N1){return recursiveSearch(E,ie,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}R.search=function search(E,N,$,j){if(N.length===0){return-1}var q=recursiveSearch(-1,N.length,E,N,$,j||R.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if($(N[q],N[q-1],true)!==0){break}--q}return q}},91740:(E,R,N)=>{var $=N(31983);function generatedPositionAfter(E,R){var N=E.generatedLine;var j=R.generatedLine;var q=E.generatedColumn;var G=R.generatedColumn;return j>N||j==N&&G>=q||$.compareByGeneratedPositionsInflated(E,R)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,R){this._array.forEach(E,R)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort($.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};R.H=MappingList},68226:(E,R)=>{function swap(E,R,N){var $=E[R];E[R]=E[N];E[N]=$}function randomIntInRange(E,R){return Math.round(E+Math.random()*(R-E))}function doQuickSort(E,R,N,$){if(N<$){var j=randomIntInRange(N,$);var q=N-1;swap(E,j,$);var G=E[$];for(var ie=N;ie<$;ie++){if(R(E[ie],G)<=0){q+=1;swap(E,q,ie)}}swap(E,q+1,ie);var ae=q+1;doQuickSort(E,R,N,ae-1);doQuickSort(E,R,ae+1,$)}}R.U=function(E,R){doQuickSort(E,R,0,E.length-1)}},86327:(E,R,N)=>{var $;var j=N(31983);var q=N(53164);var G=N(26837).I;var ie=N(4215);var ae=N(68226).U;function SourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}return N.sections!=null?new IndexedSourceMapConsumer(N,R):new BasicSourceMapConsumer(N,R)}SourceMapConsumer.fromSourceMap=function(E,R){return BasicSourceMapConsumer.fromSourceMap(E,R)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,R){var N=E.charAt(R);return N===";"||N===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,R){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,R,N){var $=R||null;var q=N||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var R=E.source===null?null:this._sources.at(E.source);R=j.computeSourceURL(ie,R,this._sourceMapURL);return{source:R,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,$)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var R=j.getArg(E,"line");var N={source:j.getArg(E,"source"),originalLine:R,originalColumn:j.getArg(E,"column",0)};N.source=this._findSourceIndex(N.source);if(N.source<0){return[]}var $=[];var G=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){$.push({line:j.getArg(ie,"generatedLine",null),column:j.getArg(ie,"generatedColumn",null),lastColumn:j.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var le=ie.originalColumn;while(ie&&ie.originalLine===R&&ie.originalColumn==le){$.push({line:j.getArg(ie,"generatedLine",null),column:j.getArg(ie,"generatedColumn",null),lastColumn:j.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return $};R.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}var $=j.getArg(N,"version");var q=j.getArg(N,"sources");var ie=j.getArg(N,"names",[]);var ae=j.getArg(N,"sourceRoot",null);var le=j.getArg(N,"sourcesContent",null);var _e=j.getArg(N,"mappings");var Ee=j.getArg(N,"file",null);if($!=this._version){throw new Error("Unsupported version: "+$)}if(ae){ae=j.normalize(ae)}q=q.map(String).map(j.normalize).map((function(E){return ae&&j.isAbsolute(ae)&&j.isAbsolute(E)?j.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return j.computeSourceURL(ae,E,R)}));this.sourceRoot=ae;this.sourcesContent=le;this._mappings=_e;this._sourceMapURL=R;this.file=Ee}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var R=E;if(this.sourceRoot!=null){R=j.relative(this.sourceRoot,R)}if(this._sources.has(R)){return this._sources.indexOf(R)}var N;for(N=0;N1){Be.source=le+je[1];le+=je[1];Be.originalLine=q+je[2];q=Be.originalLine;Be.originalLine+=1;Be.originalColumn=G+je[3];G=Be.originalColumn;if(je.length>4){Be.name=_e+je[4];_e+=je[4]}}Ne.push(Be);if(typeof Be.originalLine==="number"){Te.push(Be)}}}ae(Ne,j.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Te,j.compareByOriginalPositions);this.__originalMappings=Te};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,R,N,$,j,G){if(E[N]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[N])}if(E[$]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[$])}return q.search(E,R,j,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var $=this._generatedMappings[N];if($.generatedLine===R.generatedLine){var q=j.getArg($,"source",null);if(q!==null){q=this._sources.at(q);q=j.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=j.getArg($,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:j.getArg($,"originalLine",null),column:j.getArg($,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,R){if(!this.sourcesContent){return null}var N=this._findSourceIndex(E);if(N>=0){return this.sourcesContent[N]}var $=E;if(this.sourceRoot!=null){$=j.relative(this.sourceRoot,$)}var q;if(this.sourceRoot!=null&&(q=j.urlParse(this.sourceRoot))){var G=$.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+$)){return this.sourcesContent[this._sources.indexOf("/"+$)]}}if(R){return null}else{throw new Error('"'+$+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var R=j.getArg(E,"source");R=this._findSourceIndex(R);if(R<0){return{line:null,column:null,lastColumn:null}}var N={source:R,originalLine:j.getArg(E,"line"),originalColumn:j.getArg(E,"column")};var $=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if($>=0){var q=this._originalMappings[$];if(q.source===N.source){return{line:j.getArg(q,"generatedLine",null),column:j.getArg(q,"generatedColumn",null),lastColumn:j.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};$=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}var $=j.getArg(N,"version");var q=j.getArg(N,"sections");if($!=this._version){throw new Error("Unsupported version: "+$)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var N=j.getArg(E,"offset");var $=j.getArg(N,"line");var q=j.getArg(N,"column");if(${var $=N(4215);var j=N(31983);var q=N(26837).I;var G=N(91740).H;function SourceMapGenerator(E){if(!E){E={}}this._file=j.getArg(E,"file",null);this._sourceRoot=j.getArg(E,"sourceRoot",null);this._skipValidation=j.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var R=E.sourceRoot;var N=new SourceMapGenerator({file:E.file,sourceRoot:R});E.eachMapping((function(E){var $={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){$.source=E.source;if(R!=null){$.source=j.relative(R,$.source)}$.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){$.name=E.name}}N.addMapping($)}));E.sources.forEach((function($){var q=$;if(R!==null){q=j.relative(R,$)}if(!N._sources.has(q)){N._sources.add(q)}var G=E.sourceContentFor($);if(G!=null){N.setSourceContent($,G)}}));return N};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var R=j.getArg(E,"generated");var N=j.getArg(E,"original",null);var $=j.getArg(E,"source",null);var q=j.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(R,N,$,q)}if($!=null){$=String($);if(!this._sources.has($)){this._sources.add($)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:R.line,generatedColumn:R.column,originalLine:N!=null&&N.line,originalColumn:N!=null&&N.column,source:$,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,R){var N=E;if(this._sourceRoot!=null){N=j.relative(this._sourceRoot,N)}if(R!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[j.toSetString(N)]=R}else if(this._sourcesContents){delete this._sourcesContents[j.toSetString(N)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,R,N){var $=R;if(R==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}$=E.file}var G=this._sourceRoot;if(G!=null){$=j.relative(G,$)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(R){if(R.source===$&&R.originalLine!=null){var q=E.originalPositionFor({line:R.originalLine,column:R.originalColumn});if(q.source!=null){R.source=q.source;if(N!=null){R.source=j.join(N,R.source)}if(G!=null){R.source=j.relative(G,R.source)}R.originalLine=q.line;R.originalColumn=q.column;if(q.name!=null){R.name=q.name}}}var le=R.source;if(le!=null&&!ie.has(le)){ie.add(le)}var _e=R.name;if(_e!=null&&!ae.has(_e)){ae.add(_e)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(R){var $=E.sourceContentFor(R);if($!=null){if(N!=null){R=j.join(N,R)}if(G!=null){R=j.relative(G,R)}this.setSourceContent(R,$)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,R,N,$){if(R&&typeof R.line!=="number"&&typeof R.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!R&&!N&&!$){return}else if(E&&"line"in E&&"column"in E&&R&&"line"in R&&"column"in R&&E.line>0&&E.column>=0&&R.line>0&&R.column>=0&&N){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:N,original:R,name:$}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var R=1;var N=0;var q=0;var G=0;var ie=0;var ae="";var le;var _e;var Ee;var we;var Ie=this._mappings.toArray();for(var Me=0,Te=Ie.length;Me0){if(!j.compareByGeneratedPositionsInflated(_e,Ie[Me-1])){continue}le+=","}}le+=$.encode(_e.generatedColumn-E);E=_e.generatedColumn;if(_e.source!=null){we=this._sources.indexOf(_e.source);le+=$.encode(we-ie);ie=we;le+=$.encode(_e.originalLine-1-q);q=_e.originalLine-1;le+=$.encode(_e.originalColumn-N);N=_e.originalColumn;if(_e.name!=null){Ee=this._names.indexOf(_e.name);le+=$.encode(Ee-G);G=Ee}}ae+=le}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,R){return E.map((function(E){if(!this._sourcesContents){return null}if(R!=null){E=j.relative(R,E)}var N=j.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,N)?this._sourcesContents[N]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};R.SourceMapGenerator=SourceMapGenerator},9990:(E,R,N)=>{var $=N(11341).SourceMapGenerator;var j=N(31983);var q=/(\r?\n)/;var G=10;var ie="$$$isSourceNode$$$";function SourceNode(E,R,N,$,j){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=R==null?null:R;this.source=N==null?null:N;this.name=j==null?null:j;this[ie]=true;if($!=null)this.add($)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,R,N){var $=new SourceNode;var G=E.split(q);var ie=0;var shiftNextLine=function(){var E=getNextLine();var R=getNextLine()||"";return E+R;function getNextLine(){return ie=0;R--){this.prepend(E[R])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var R;for(var N=0,$=this.children.length;N<$;N++){R=this.children[N];if(R[ie]){R.walk(E)}else{if(R!==""){E(R,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(E){var R;var N;var $=this.children.length;if($>0){R=[];for(N=0;N<$-1;N++){R.push(this.children[N]);R.push(E)}R.push(this.children[N]);this.children=R}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(E,R){var N=this.children[this.children.length-1];if(N[ie]){N.replaceRight(E,R)}else if(typeof N==="string"){this.children[this.children.length-1]=N.replace(E,R)}else{this.children.push("".replace(E,R))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(E,R){this.sourceContents[j.toSetString(E)]=R};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(E){for(var R=0,N=this.children.length;R{function getArg(E,R,N){if(R in E){return E[R]}else if(arguments.length===3){return N}else{throw new Error('"'+R+'" is a required argument.')}}R.getArg=getArg;var N=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var $=/^data:.+\,.+$/;function urlParse(E){var R=E.match(N);if(!R){return null}return{scheme:R[1],auth:R[2],host:R[3],port:R[4],path:R[5]}}R.urlParse=urlParse;function urlGenerate(E){var R="";if(E.scheme){R+=E.scheme+":"}R+="//";if(E.auth){R+=E.auth+"@"}if(E.host){R+=E.host}if(E.port){R+=":"+E.port}if(E.path){R+=E.path}return R}R.urlGenerate=urlGenerate;function normalize(E){var N=E;var $=urlParse(E);if($){if(!$.path){return E}N=$.path}var j=R.isAbsolute(N);var q=N.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}N=q.join("/");if(N===""){N=j?"/":"."}if($){$.path=N;return urlGenerate($)}return N}R.normalize=normalize;function join(E,R){if(E===""){E="."}if(R===""){R="."}var N=urlParse(R);var j=urlParse(E);if(j){E=j.path||"/"}if(N&&!N.scheme){if(j){N.scheme=j.scheme}return urlGenerate(N)}if(N||R.match($)){return R}if(j&&!j.host&&!j.path){j.host=R;return urlGenerate(j)}var q=R.charAt(0)==="/"?R:normalize(E.replace(/\/+$/,"")+"/"+R);if(j){j.path=q;return urlGenerate(j)}return q}R.join=join;R.isAbsolute=function(E){return E.charAt(0)==="/"||N.test(E)};function relative(E,R){if(E===""){E="."}E=E.replace(/\/$/,"");var N=0;while(R.indexOf(E+"/")!==0){var $=E.lastIndexOf("/");if($<0){return R}E=E.slice(0,$);if(E.match(/^([^\/]+:\/)?\/*$/)){return R}++N}return Array(N+1).join("../")+R.substr(E.length+1)}R.relative=relative;var j=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}R.toSetString=j?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}R.fromSetString=j?identity:fromSetString;function isProtoString(E){if(!E){return false}var R=E.length;if(R<9){return false}if(E.charCodeAt(R-1)!==95||E.charCodeAt(R-2)!==95||E.charCodeAt(R-3)!==111||E.charCodeAt(R-4)!==116||E.charCodeAt(R-5)!==111||E.charCodeAt(R-6)!==114||E.charCodeAt(R-7)!==112||E.charCodeAt(R-8)!==95||E.charCodeAt(R-9)!==95){return false}for(var N=R-10;N>=0;N--){if(E.charCodeAt(N)!==36){return false}}return true}function compareByOriginalPositions(E,R,N){var $=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0||N){return $}$=E.generatedColumn-R.generatedColumn;if($!==0){return $}$=E.generatedLine-R.generatedLine;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,R,N){var $=E.generatedLine-R.generatedLine;if($!==0){return $}$=E.generatedColumn-R.generatedColumn;if($!==0||N){return $}$=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,R){if(E===R){return 0}if(E===null){return 1}if(R===null){return-1}if(E>R){return 1}return-1}function compareByGeneratedPositionsInflated(E,R){var N=E.generatedLine-R.generatedLine;if(N!==0){return N}N=E.generatedColumn-R.generatedColumn;if(N!==0){return N}N=strcmp(E.source,R.source);if(N!==0){return N}N=E.originalLine-R.originalLine;if(N!==0){return N}N=E.originalColumn-R.originalColumn;if(N!==0){return N}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}R.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,R,N){R=R||"";if(E){if(E[E.length-1]!=="/"&&R[0]!=="/"){E+="/"}R=E+R}if(N){var $=urlParse(N);if(!$){throw new Error("sourceMapURL could not be parsed")}if($.path){var j=$.path.lastIndexOf("/");if(j>=0){$.path=$.path.substring(0,j+1)}}R=join(urlGenerate($),R)}return normalize(R)}R.computeSourceURL=computeSourceURL},99596:(E,R,N)=>{R.SourceMapGenerator=N(11341).SourceMapGenerator;R.SourceMapConsumer=N(86327).SourceMapConsumer;R.SourceNode=N(9990).SourceNode},72679:E=>{"use strict";E.exports=E=>{if(typeof E!=="string"){throw new TypeError("Expected a string, got "+typeof E)}if(E.charCodeAt(0)===65279){return E.slice(1)}return E}},96204:(E,R,N)=>{"use strict";const $=N(22037);const j=N(76224);const q=N(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){ie=1}else if(G.FORCE_COLOR==="false"){ie=0}else{ie=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,R){if(ie===0){return 0}if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}if(E&&!R&&ie===undefined){return 0}const N=ie||0;if(G.TERM==="dumb"){return N}if(process.platform==="win32"){const E=$.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return N}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return N}function getSupportLevel(E){const R=supportsColor(E,E&&E.isTTY);return translateLevel(R)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,j.isatty(1))),stderr:translateLevel(supportsColor(true,j.isatty(2)))}},78802:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncParallelBailHookCodeFactory extends j{content({onError:E,onResult:R,onDone:N}){let $="";$+=`var _results = new Array(${this.options.taps.length});\n`;$+="var _checkDone = function() {\n";$+="for(var i = 0; i < _results.length; i++) {\n";$+="var item = _results[i];\n";$+="if(item === undefined) return false;\n";$+="if(item.result !== undefined) {\n";$+=R("item.result");$+="return true;\n";$+="}\n";$+="if(item.error) {\n";$+=E("item.error");$+="return true;\n";$+="}\n";$+="}\n";$+="return false;\n";$+="}\n";$+=this.callTapsParallel({onError:(E,R,N,$)=>{let j="";j+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${R} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=N();j+="}\n";return j},onResult:(E,R,N,$)=>{let j="";j+=`if(${E} < _results.length && (${R} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${R} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=N();j+="}\n";return j},onTap:(E,R,N,$)=>{let j="";if(E>0){j+=`if(${E} >= _results.length) {\n`;j+=N();j+="} else {\n"}j+=R();if(E>0)j+="}\n";return j},onDone:N});return $}}const q=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncParallelBailHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncParallelHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsParallel({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncParallelHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncParallelHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesBailHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,onDone:$}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onResult:(E,N,$)=>`if(${N} !== undefined) {\n${R(N)}\n} else {\n${$()}}\n`,resultReturns:N,onDone:$})}}const q=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesBailHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesLoopHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsLooping({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesLoopHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesLoopHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesWaterfallHookCodeFactory extends j{content({onError:E,onResult:R,onDone:N}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onResult:(E,R,N)=>{let $="";$+=`if(${R} !== undefined) {\n`;$+=`${this._args[0]} = ${R};\n`;$+=`}\n`;$+=N();return $},onDone:()=>R(this._args[0])})}}const q=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesWaterfallHook(E=[],R=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const N=new $(E,R);N.constructor=AsyncSeriesWaterfallHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,R,N)=>{"use strict";const $=N(73837);const j=$.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],R=undefined){this._args=E;this.name=R;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,R,N){if(typeof R==="string"){R={name:R.trim()}}else if(typeof R!=="object"||R===null){throw new Error("Invalid tap options")}if(typeof R.name!=="string"||R.name===""){throw new Error("Missing name for tap")}if(typeof R.context!=="undefined"){j()}R=Object.assign({type:E,fn:N},R);R=this._runRegisterInterceptors(R);this._insert(R)}tap(E,R){this._tap("sync",E,R)}tapAsync(E,R){this._tap("async",E,R)}tapPromise(E,R){this._tap("promise",E,R)}_runRegisterInterceptors(E){for(const R of this.interceptors){if(R.register){const N=R.register(E);if(N!==undefined){E=N}}}return E}withOptions(E){const mergeOptions=R=>Object.assign({},E,typeof R==="string"?{name:R}:R);return{name:this.name,tap:(E,R)=>this.tap(mergeOptions(E),R),tapAsync:(E,R)=>this.tapAsync(mergeOptions(E),R),tapPromise:(E,R)=>this.tapPromise(mergeOptions(E),R),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let R=0;R0){$--;const E=this.taps[$];this.taps[$+1]=E;const j=E.stage||0;if(R){if(R.has(E.name)){R.delete(E.name);continue}if(R.size>0){continue}}if(j>N){continue}$++;break}this.taps[$]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let R;switch(this.options.type){case"sync":R=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":R=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const N=this.contentWithInterceptors({onError:R=>{E=true;return`_error(${R});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let $="";$+='"use strict";\n';$+=this.header();$+="return new Promise((function(_resolve, _reject) {\n";if(E){$+="var _sync = true;\n";$+="function _error(_err) {\n";$+="if(_sync)\n";$+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";$+="else\n";$+="_reject(_err);\n";$+="};\n"}$+=N;if(E){$+="_sync = false;\n"}$+="}));\n";R=new Function(this.args(),$);break}this.deinit();return R}setup(E,R){E._x=R.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const R=E.onError;const N=E.onResult;const $=E.onDone;let j="";for(let E=0;E{let N="";for(let R=0;R{let R="";for(let N=0;N{let E="";for(let R=0;R0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:R,onResult:N,onDone:$,rethrowIfPossible:j}){let q="";let G=false;for(let R=0;RE.type!=="sync"));const ie=N||j;let ae="";let le=$;let _e=0;for(let N=this.options.taps.length-1;N>=0;N--){const j=N;const Ee=le!==$&&(this.options.taps[j].type!=="sync"||_e++>20);if(Ee){_e=0;ae+=`function _next${j}() {\n`;ae+=le();ae+=`}\n`;le=()=>`${ie?"return ":""}_next${j}();\n`}const we=le;const doneBreak=E=>{if(E)return"";return $()};const Ie=this.callTap(j,{onError:R=>E(j,R,we,doneBreak),onResult:R&&(E=>R(j,E,we,doneBreak)),onDone:!R&&we,rethrowIfPossible:q&&(G<0||jIe}ae+=le();return ae}callTapsLooping({onError:E,onDone:R,rethrowIfPossible:N}){if(this.options.taps.length===0)return R();const $=this.options.taps.every((E=>E.type==="sync"));let j="";if(!$){j+="var _looper = (function() {\n";j+="var _loopAsync = false;\n"}j+="var _loop;\n";j+="do {\n";j+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${R} !== undefined) {\n`;q+="_loop = true;\n";if(!$)q+="if(_loopAsync) _looper();\n";q+=j(true);q+=`} else {\n`;q+=N();q+=`}\n`;return q},onDone:R&&(()=>{let E="";E+="if(!_loop) {\n";E+=R();E+="}\n";return E}),rethrowIfPossible:N&&$});j+="} while(_loop);\n";if(!$){j+="_loopAsync = true;\n";j+="});\n";j+="_looper();\n"}return j}callTapsParallel({onError:E,onResult:R,onDone:N,rethrowIfPossible:$,onTap:j=((E,R)=>R())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:R,onDone:N,rethrowIfPossible:$})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(N){q+="var _done = (function() {\n";q+=N();q+="});\n"}for(let G=0;G{if(N)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!N)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=j(G,(()=>this.callTap(G,{onError:R=>{let N="";N+="if(_counter > 0) {\n";N+=E(G,R,done,doneBreak);N+="}\n";return N},onResult:R&&(E=>{let N="";N+="if(_counter > 0) {\n";N+=R(G,E,done,doneBreak);N+="}\n";return N}),onDone:!R&&(()=>done()),rethrowIfPossible:$})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:R}={}){let N=this._args;if(E)N=[E].concat(N);if(R)N=N.concat(R);if(N.length===0){return""}else{return N.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,R,N)=>{"use strict";const $=N(73837);const defaultFactory=(E,R)=>R;class HookMap{constructor(E,R=undefined){this._map=new Map;this.name=R;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const R=this.get(E);if(R!==undefined){return R}let N=this._factory(E);const $=this._interceptors;for(let R=0;R<$.length;R++){N=$[R].factory(E,N)}this._map.set(E,N);return N}intercept(E){this._interceptors.push(Object.assign({factory:defaultFactory},E))}}HookMap.prototype.tap=$.deprecate((function(E,R,N){return this.for(E).tap(R,N)}),"HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.");HookMap.prototype.tapAsync=$.deprecate((function(E,R,N){return this.for(E).tapAsync(R,N)}),"HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.");HookMap.prototype.tapPromise=$.deprecate((function(E,R,N){return this.for(E).tapPromise(R,N)}),"HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.");E.exports=HookMap},20937:(E,R,N)=>{"use strict";const $=N(67332);class MultiHook{constructor(E,R=undefined){this.hooks=E;this.name=R}tap(E,R){for(const N of this.hooks){N.tap(E,R)}}tapAsync(E,R){for(const N of this.hooks){N.tapAsync(E,R)}}tapPromise(E,R){for(const N of this.hooks){N.tapPromise(E,R)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const R of this.hooks){R.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((R=>R.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncBailHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,onDone:$,rethrowIfPossible:j}){return this.callTapsSeries({onError:(R,N)=>E(N),onResult:(E,N,$)=>`if(${N} !== undefined) {\n${R(N)};\n} else {\n${$()}}\n`,resultReturns:N,onDone:$,rethrowIfPossible:j})}}const q=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncBailHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncHookCodeFactory extends j{content({onError:E,onDone:R,rethrowIfPossible:N}){return this.callTapsSeries({onError:(R,N)=>E(N),onDone:R,rethrowIfPossible:N})}}const q=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncLoopHookCodeFactory extends j{content({onError:E,onDone:R,rethrowIfPossible:N}){return this.callTapsLooping({onError:(R,N)=>E(N),onDone:R,rethrowIfPossible:N})}}const q=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncLoopHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncLoopHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncWaterfallHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,rethrowIfPossible:$}){return this.callTapsSeries({onError:(R,N)=>E(N),onResult:(E,R,N)=>{let $="";$+=`if(${R} !== undefined) {\n`;$+=`${this._args[0]} = ${R};\n`;$+=`}\n`;$+=N();return $},onDone:()=>R(this._args[0]),doneReturns:N,rethrowIfPossible:$})}}const q=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncWaterfallHook(E=[],R=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const N=new $(E,R);N.constructor=SyncWaterfallHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,R,N)=>{"use strict";R.__esModule=true;R.SyncHook=N(6728);R.SyncBailHook=N(3334);R.SyncWaterfallHook=N(81934);R.SyncLoopHook=N(52332);R.AsyncParallelHook=N(3350);R.AsyncParallelBailHook=N(78802);R.AsyncSeriesHook=N(68152);R.AsyncSeriesBailHook=N(4953);R.AsyncSeriesLoopHook=N(25810);R.AsyncSeriesWaterfallHook=N(66760);R.HookMap=N(28636);R.MultiHook=N(20937)},96013:(E,R,N)=>{"use strict";const $=N(98225);E.exports=$.default},98225:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireWildcard(N(71017));var j=_interopRequireWildcard(N(22037));var q=N(99596);var G=N(15235);var ie=_interopRequireDefault(N(35764));var ae=_interopRequireWildcard(N(54703));var le=_interopRequireDefault(N(97909));var _e=N(69419);var Ee=_interopRequireWildcard(N(11519));var we=N(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}class TerserPlugin{constructor(E={}){(0,G.validate)(Ee,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:R,terserOptions:N={},test:$=/\.[cm]?js(\?.*)?$/i,extractComments:j=true,parallel:q=true,include:ie,exclude:ae}=E;this.options={test:$,extractComments:j,parallel:q,include:ie,exclude:ae,minify:R,terserOptions:N}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,R,N,$){if(E.line){const j=$&&$.originalPositionFor({line:E.line,column:E.col});if(j&&j.source&&N){return new Error(`${R} from Terser\n${E.message} [${N.shorten(j.source)}:${j.line},${j.column}][${R}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${R} from Terser\n${E.message} [${R}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${R} from Terser\n${E.stack}`)}return new Error(`${R} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const R=j.cpus()||{length:1};return E===true?R.length-1:Math.min(Number(E)||0,R.length-1)}async optimize(E,R,j,G){const ae=R.getCache("TerserWebpackPlugin");let Ee=0;const Ie=await Promise.all(Object.keys(j).filter((N=>{const{info:$}=R.getAsset(N);if($.minimized||$.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(N)){return false}return true})).map((async E=>{const{info:N,source:$}=R.getAsset(E);const j=ae.getLazyHashedEtag($);const q=ae.getItemCache(E,j);const G=await q.getPromise();if(!G){Ee+=1}return{name:E,info:N,inputSource:$,output:G,cacheItem:q}})));let Me;let Te;let Ne;if(G.availableNumberOfCores>0){Ne=Math.min(Ee,G.availableNumberOfCores);Me=()=>{if(Te){return Te}Te=new _e.Worker(N.ab+"minify.js",{numWorkers:Ne,enableWorkerThreads:true});const E=Te.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const R=Te.getStderr();if(R){R.on("data",(E=>process.stderr.write(E)))}return Te}}const Be=(0,le.default)(Me&&Ee>0?Ne:Infinity);const{SourceMapSource:Le,ConcatSource:je,RawSource:ze}=E.webpack.sources;const Ue=new Map;const qe=[];for(const E of Ie){qe.push(Be((async()=>{const{name:N,inputSource:j,info:G,cacheItem:ae}=E;let{output:le}=E;if(!le){let E;let _e;const{source:Ee,map:Ie}=j.sourceAndMap();E=Ee;if(Ie){if(TerserPlugin.isSourceMap(Ie)){_e=Ie}else{_e=Ie;R.warnings.push(new Error(`${N} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Te={name:N,input:E,inputSourceMap:_e,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Te.minifyOptions.module==="undefined"){if(typeof G.javascriptModule!=="undefined"){Te.minifyOptions.module=G.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(N)){Te.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(N)){Te.minifyOptions.module=false}}try{le=await(Me?Me().transform((0,ie.default)(Te)):(0,we.minify)(Te))}catch(E){const $=_e&&TerserPlugin.isSourceMap(_e);R.errors.push(TerserPlugin.buildError(E,N,$?R.requestShortener:undefined,$?new q.SourceMapConsumer(_e):undefined));return}let Ne;if(this.options.extractComments.banner!==false&&le.extractedComments&&le.extractedComments.length>0&&le.code.startsWith("#!")){const E=le.code.indexOf("\n");Ne=le.code.substring(0,E);le.code=le.code.substring(E+1)}if(le.map){le.source=new Le(le.code,N,le.map,E,_e,true)}else{le.source=new ze(le.code)}if(le.extractedComments&&le.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let j="";let q=N;const G=q.indexOf("?");if(G>=0){j=q.substr(G);q=q.substr(0,G)}const ie=q.lastIndexOf("/");const ae=ie===-1?q:q.substr(ie+1);const _e={filename:q,basename:ae,query:j};le.commentsFilename=R.getPath(E,_e);let Ee;if(this.options.extractComments.banner!==false){Ee=this.options.extractComments.banner||`For license information please see ${$.relative($.dirname(N),le.commentsFilename).replace(/\\/g,"/")}`;if(typeof Ee==="function"){Ee=Ee(le.commentsFilename)}if(Ee){le.source=new je(Ne?`${Ne}\n`:"",`/*! ${Ee} */\n`,le.source)}}const we=le.extractedComments.sort().join("\n\n");le.extractedCommentsSource=new ze(`${we}\n`)}await ae.storePromise({source:le.source,commentsFilename:le.commentsFilename,extractedCommentsSource:le.extractedCommentsSource})}const _e={minimized:true};const{source:Ee,extractedCommentsSource:Ie}=le;if(Ie){const{commentsFilename:E}=le;_e.related={license:E};Ue.set(N,{extractedCommentsSource:Ie,commentsFilename:E})}R.updateAsset(N,Ee,_e)})))}await Promise.all(qe);if(Te){await Te.end()}await Array.from(Ue).sort().reduce((async(E,[N,$])=>{const j=await E;const{commentsFilename:q,extractedCommentsSource:G}=$;if(j&&j.commentsFilename===q){const{from:E,source:$}=j;const ie=`${E}|${N}`;const le=`${q}|${ie}`;const _e=[$,G].map((E=>ae.getLazyHashedEtag(E))).reduce(((E,R)=>ae.mergeEtags(E,R)));let Ee=await ae.getPromise(le,_e);if(!Ee){Ee=new je(Array.from(new Set([...$.source().split("\n\n"),...G.source().split("\n\n")])).join("\n\n"));await ae.storePromise(le,_e,Ee)}R.updateAsset(q,Ee);return{source:Ee,commentsFilename:q,from:ie}}const ie=R.getAsset(q);if(ie){return{source:ie.source,commentsFilename:q,from:q}}R.emitAsset(q,G,{extractedComments:true});return{source:G,commentsFilename:q,from:N}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:R}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(R.environment||{})}const N=this.constructor.name;const $=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(N,(R=>{const j=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(R);const q=(0,ie.default)({terser:ae.version,terserOptions:this.options.terserOptions});j.chunkHash.tap(N,((E,R)=>{R.update("TerserPlugin");R.update(q)}));R.hooks.processAssets.tapPromise({name:N,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(N=>this.optimize(E,R,N,{availableNumberOfCores:$})));R.hooks.statsPrinter.tap(N,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:R,formatFlag:N})=>E?R(N("minimized")):""))}))}))}}var Ie=TerserPlugin;R["default"]=Ie},6218:(E,R,N)=>{"use strict";E=N.nmd(E);const{minify:$}=N(44858);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const R=typeof E;return E!=null&&(R==="object"||R==="function")}function buildComments(E,R,N){const $={};let j;if(R.format){({comments:j}=R.format)}else if(R.output){({comments:j}=R.output)}$.preserve=typeof j!=="undefined"?j:false;if(typeof E==="boolean"&&E){$.extract="some"}else if(typeof E==="string"||E instanceof RegExp){$.extract=E}else if(typeof E==="function"){$.extract=E}else if(E&&isObject(E)){$.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{$.preserve=typeof j!=="undefined"?j:"some";$.extract=false}["preserve","extract"].forEach((E=>{let R;let N;switch(typeof $[E]){case"boolean":$[E]=$[E]?()=>true:()=>false;break;case"function":break;case"string":if($[E]==="all"){$[E]=()=>true;break}if($[E]==="some"){$[E]=(E,R)=>(R.type==="comment2"||R.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(R.value);break}R=$[E];$[E]=(E,N)=>new RegExp(R).test(N.value);break;default:N=$[E];$[E]=(E,R)=>N.test(R.value)}}));return(E,R)=>{if($.extract(E,R)){const E=R.type==="comment2"?`/*${R.value}*/`:`//${R.value}`;if(!N.includes(E)){N.push(E)}}return $.preserve(E,R)}}async function minify(E){const{name:R,input:N,inputSourceMap:j,minify:q,minifyOptions:G}=E;if(q){return q({[R]:N},j,G)}const ie=buildTerserOptions(G);if(j){ie.sourceMap={asObject:true}}const ae=[];const{extractComments:le}=E;if(ie.output){ie.output.comments=buildComments(le,ie,ae)}else if(ie.format){ie.format.comments=buildComments(le,ie,ae)}const _e=await $({[R]:N},ie);return{..._e,extractedComments:ae}}function transform(N){const $=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${N}`)(R,require,E,__filename,__dirname);return minify($)}E.exports.minify=minify;E.exports.transform=transform},97909:(E,R,N)=>{"use strict";const $=N(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const R=new $;let N=0;const next=()=>{N--;if(R.size>0){R.dequeue()()}};const run=async(E,R,...$)=>{N++;const j=(async()=>E(...$))();R(j);try{await j}catch{}next()};const enqueue=($,j,...q)=>{R.enqueue(run.bind(null,$,j,...q));(async()=>{await Promise.resolve();if(N0){R.dequeue()()}})()};const generator=(E,...R)=>new Promise((N=>{enqueue(E,N,...R)}));Object.defineProperties(generator,{activeCount:{get:()=>N},pendingCount:{get:()=>R.size},clearQueue:{value:()=>{R.clear()}}});return generator};E.exports=pLimit},35764:(E,R,N)=>{"use strict";var $=N(31998);var j=16;var q=generateUID();var G=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+q+'-(\\d+)__@"',"g");var ie=/\{\s*\[native code\]\s*\}/g;var ae=/function.*?\(/;var le=/.*?=>.*?/;var _e=/[<>\/\u2028\u2029]/g;var Ee=["*","async"];var we={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return we[E]}function generateUID(){var E=$(j);var R="";for(var N=0;N0}));var j=$.filter((function(E){return Ee.indexOf(E)===-1}));if(j.length>0){return($.indexOf("async")>-1?"async ":"")+"function"+($.join("").indexOf("*")>-1?"*":"")+R.substr(N)}return R}if(R.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var je;if(R.isJSON&&!R.space){je=JSON.stringify(E)}else{je=JSON.stringify(E,R.isJSON?null:replacer,R.space)}if(typeof je!=="string"){return String(je)}if(R.unsafe!==true){je=je.replace(_e,escapeUnsafeChars)}if(N.length===0&&$.length===0&&j.length===0&&we.length===0&&Ie.length===0&&Me.length===0&&Te.length===0&&Ne.length===0&&Be.length===0&&Le.length===0){return je}return je.replace(G,(function(E,q,G,ie){if(q){return E}if(G==="D"){return'new Date("'+j[ie].toISOString()+'")'}if(G==="R"){return"new RegExp("+serialize($[ie].source)+', "'+$[ie].flags+'")'}if(G==="M"){return"new Map("+serialize(Array.from(we[ie].entries()),R)+")"}if(G==="S"){return"new Set("+serialize(Array.from(Ie[ie].values()),R)+")"}if(G==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:Me[ie].length},Me[ie]),R)+")"}if(G==="U"){return"undefined"}if(G==="I"){return Ne[ie]}if(G==="B"){return'BigInt("'+Be[ie]+'")'}if(G==="L"){return'new URL("'+Le[ie].toString()+'")'}var ae=N[ie];return serializeFunc(ae)}))}},85431:(E,R)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,R){const N=new ArraySet;for(let $=0,j=E.length;$=0){return R}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const $=N(45210);const j=5;const q=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){let R="";let N;let q=toVLQSigned(E);do{N=q&G;q>>>=j;if(q>0){N|=ie}R+=$.encode(N)}while(q>0);return R}},45210:(E,R)=>{const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");R.encode=function(E){if(0<=E&&E{R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;function recursiveSearch(E,N,$,j,q,G){const ie=Math.floor((N-E)/2)+E;const ae=q($,j[ie],true);if(ae===0){return ie}else if(ae>0){if(N-ie>1){return recursiveSearch(ie,N,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return N1){return recursiveSearch(E,ie,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return ie}return E<0?-1:E}R.search=function search(E,N,$,j){if(N.length===0){return-1}let q=recursiveSearch(-1,N.length,E,N,$,j||R.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if($(N[q],N[q-1],true)!==0){break}--q}return q}},48935:(E,R,N)=>{const $=N(53033);function generatedPositionAfter(E,R){const N=E.generatedLine;const j=R.generatedLine;const q=E.generatedColumn;const G=R.generatedColumn;return j>N||j==N&&G>=q||$.compareByGeneratedPositionsInflated(E,R)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,R){this._array.forEach(E,R)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort($.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}R.H=MappingList},92256:(E,R,N)=>{if(typeof fetch==="function"){let R=null;E.exports=function readWasm(){if(typeof R!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(R).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>R=E}else{const R=N(57147);const $=N(71017);E.exports=function readWasm(){return new Promise(((E,$)=>{const j=N.ab+"mappings.wasm";R.readFile(N.ab+"mappings.wasm",null,((R,N)=>{if(R){$(R);return}E(N.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,R,N)=>{var $;const j=N(53033);const q=N(31850);const G=N(85431).I;const ie=N(2635);const ae=N(92256);const le=N(7059);const _e=Symbol("smcInternal");class SourceMapConsumer{constructor(E,R){if(E==_e){return Promise.resolve(this)}return _factory(E,R)}static initialize(E){ae.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,R){return _factoryBSM(E,R)}static with(E,R,N){let $=null;const j=new SourceMapConsumer(E,R);return j.then((E=>{$=E;return N(E)})).then((E=>{if($){$.destroy()}return E}),(E=>{if($){$.destroy()}throw E}))}_parseMappings(E,R){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,R,N){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;R.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,R){return super(_e).then((N=>{let $=E;if(typeof E==="string"){$=j.parseSourceMapInput(E)}const q=j.getArg($,"version");let ie=j.getArg($,"sources");const ae=j.getArg($,"names",[]);let _e=j.getArg($,"sourceRoot",null);const Ee=j.getArg($,"sourcesContent",null);const we=j.getArg($,"mappings");const Ie=j.getArg($,"file",null);if(q!=N._version){throw new Error("Unsupported version: "+q)}if(_e){_e=j.normalize(_e)}ie=ie.map(String).map(j.normalize).map((function(E){return _e&&j.isAbsolute(_e)&&j.isAbsolute(E)?j.relative(_e,E):E}));N._names=G.fromArray(ae.map(String),true);N._sources=G.fromArray(ie,true);N._absoluteSources=N._sources.toArray().map((function(E){return j.computeSourceURL(_e,E,R)}));N.sourceRoot=_e;N.sourcesContent=Ee;N._mappings=we;N._sourceMapURL=R;N.file=Ie;N._computedColumnSpans=false;N._mappingsPtr=0;N._wasm=null;return le().then((E=>{N._wasm=E;return N}))}))}_findSourceIndex(E){let R=E;if(this.sourceRoot!=null){R=j.relative(this.sourceRoot,R)}if(this._sources.has(R)){return this._sources.indexOf(R)}for(let R=0;R{if(R.source!==null){R.source=this._sources.at(R.source);R.source=j.computeSourceURL(G,R.source,this._sourceMapURL);if(R.name!==null){R.name=this._names.at(R.name)}}E.call($,R)}),(()=>{switch(q){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let R=j.getArg(E,"source");const N=j.getArg(E,"line");const $=E.column||0;R=this._findSourceIndex(R);if(R<0){return[]}if(N<1){throw new Error("Line numbers must be >= 1")}if($<0){throw new Error("Column numbers must be >= 0")}const q=[];this._wasm.withMappingCallback((E=>{let R=E.lastGeneratedColumn;if(this._computedColumnSpans&&R===null){R=Infinity}q.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:R})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),R,N-1,"column"in E,$)}));return q}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const R={generatedLine:j.getArg(E,"line"),generatedColumn:j.getArg(E,"column")};if(R.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(R.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let N=j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(N==null){N=SourceMapConsumer.GREATEST_LOWER_BOUND}let $;this._wasm.withMappingCallback((E=>$=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),R.generatedLine-1,R.generatedColumn,N)}));if($){if($.generatedLine===R.generatedLine){let E=j.getArg($,"source",null);if(E!==null){E=this._sources.at(E);E=j.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let R=j.getArg($,"name",null);if(R!==null){R=this._names.at(R)}return{source:E,line:j.getArg($,"originalLine",null),column:j.getArg($,"originalColumn",null),name:R}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,R){if(!this.sourcesContent){return null}const N=this._findSourceIndex(E);if(N>=0){return this.sourcesContent[N]}let $=E;if(this.sourceRoot!=null){$=j.relative(this.sourceRoot,$)}let q;if(this.sourceRoot!=null&&(q=j.urlParse(this.sourceRoot))){const E=$.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!q.path||q.path=="/")&&this._sources.has("/"+$)){return this.sourcesContent[this._sources.indexOf("/"+$)]}}if(R){return null}throw new Error('"'+$+'" is not in the SourceMap.')}generatedPositionFor(E){let R=j.getArg(E,"source");R=this._findSourceIndex(R);if(R<0){return{line:null,column:null,lastColumn:null}}const N={source:R,originalLine:j.getArg(E,"line"),originalColumn:j.getArg(E,"column")};if(N.originalLine<1){throw new Error("Line numbers must be >= 1")}if(N.originalColumn<0){throw new Error("Column numbers must be >= 0")}let $=j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if($==null){$=SourceMapConsumer.GREATEST_LOWER_BOUND}let q;this._wasm.withMappingCallback((E=>q=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),N.source,N.originalLine-1,N.originalColumn,$)}));if(q){if(q.source===N.source){let E=q.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:j.getArg(q,"generatedLine",null),column:j.getArg(q,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;$=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,R){return super(_e).then((N=>{let $=E;if(typeof E==="string"){$=j.parseSourceMapInput(E)}const q=j.getArg($,"version");const ie=j.getArg($,"sections");if(q!=N._version){throw new Error("Unsupported version: "+q)}N._sources=new G;N._names=new G;N.__generatedMappings=null;N.__originalMappings=null;N.__generatedMappingsUnsorted=null;N.__originalMappingsUnsorted=null;let ae={line:-1,column:0};return Promise.all(ie.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const N=j.getArg(E,"offset");const $=j.getArg(N,"line");const q=j.getArg(N,"column");if($({generatedOffset:{generatedLine:$+1,generatedColumn:q+1},consumer:E})))}))).then((E=>{N._sections=E;return N}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort(j.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort(j.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let R=0;Rq.push(E)));for(let E=0;E= 1")}if(N.originalColumn<0){throw new Error("Column numbers must be >= 0")}const $=[];let G=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){let N=this._originalMappings[G];if(E.column===undefined){const E=N.originalLine;while(N&&N.originalLine===E){let E=N.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}$.push({line:j.getArg(N,"generatedLine",null),column:j.getArg(N,"generatedColumn",null),lastColumn:E});N=this._originalMappings[++G]}}else{const E=N.originalColumn;while(N&&N.originalLine===R&&N.originalColumn==E){let E=N.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}$.push({line:j.getArg(N,"generatedLine",null),column:j.getArg(N,"generatedColumn",null),lastColumn:E});N=this._originalMappings[++G]}}}return $}destroy(){for(let E=0;E{const $=N(2635);const j=N(53033);const q=N(85431).I;const G=N(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=j.getArg(E,"file",null);this._sourceRoot=j.getArg(E,"sourceRoot",null);this._skipValidation=j.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}static fromSourceMap(E){const R=E.sourceRoot;const N=new SourceMapGenerator({file:E.file,sourceRoot:R});E.eachMapping((function(E){const $={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){$.source=E.source;if(R!=null){$.source=j.relative(R,$.source)}$.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){$.name=E.name}}N.addMapping($)}));E.sources.forEach((function($){let q=$;if(R!==null){q=j.relative(R,$)}if(!N._sources.has(q)){N._sources.add(q)}const G=E.sourceContentFor($);if(G!=null){N.setSourceContent($,G)}}));return N}addMapping(E){const R=j.getArg(E,"generated");const N=j.getArg(E,"original",null);let $=j.getArg(E,"source",null);let q=j.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(R,N,$,q)}if($!=null){$=String($);if(!this._sources.has($)){this._sources.add($)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:R.line,generatedColumn:R.column,originalLine:N!=null&&N.line,originalColumn:N!=null&&N.column,source:$,name:q})}setSourceContent(E,R){let N=E;if(this._sourceRoot!=null){N=j.relative(this._sourceRoot,N)}if(R!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[j.toSetString(N)]=R}else if(this._sourcesContents){delete this._sourcesContents[j.toSetString(N)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,R,N){let $=R;if(R==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}$=E.file}const G=this._sourceRoot;if(G!=null){$=j.relative(G,$)}const ie=this._mappings.toArray().length>0?new q:this._sources;const ae=new q;this._mappings.unsortedForEach((function(R){if(R.source===$&&R.originalLine!=null){const $=E.originalPositionFor({line:R.originalLine,column:R.originalColumn});if($.source!=null){R.source=$.source;if(N!=null){R.source=j.join(N,R.source)}if(G!=null){R.source=j.relative(G,R.source)}R.originalLine=$.line;R.originalColumn=$.column;if($.name!=null){R.name=$.name}}}const q=R.source;if(q!=null&&!ie.has(q)){ie.add(q)}const le=R.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(R){const $=E.sourceContentFor(R);if($!=null){if(N!=null){R=j.join(N,R)}if(G!=null){R=j.relative(G,R)}this.setSourceContent(R,$)}}),this)}_validateMapping(E,R,N,$){if(R&&typeof R.line!=="number"&&typeof R.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!R&&!N&&!$){}else if(E&&"line"in E&&"column"in E&&R&&"line"in R&&"column"in R&&E.line>0&&E.column>=0&&R.line>0&&R.column>=0&&N){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:N,original:R,name:$}))}}_serializeMappings(){let E=0;let R=1;let N=0;let q=0;let G=0;let ie=0;let ae="";let le;let _e;let Ee;let we;const Ie=this._mappings.toArray();for(let Me=0,Te=Ie.length;Me0){if(!j.compareByGeneratedPositionsInflated(_e,Ie[Me-1])){continue}le+=","}le+=$.encode(_e.generatedColumn-E);E=_e.generatedColumn;if(_e.source!=null){we=this._sources.indexOf(_e.source);le+=$.encode(we-ie);ie=we;le+=$.encode(_e.originalLine-1-q);q=_e.originalLine-1;le+=$.encode(_e.originalColumn-N);N=_e.originalColumn;if(_e.name!=null){Ee=this._names.indexOf(_e.name);le+=$.encode(Ee-G);G=Ee}}ae+=le}return ae}_generateSourcesContent(E,R){return E.map((function(E){if(!this._sourcesContents){return null}if(R!=null){E=j.relative(R,E)}const N=j.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,N)?this._sourcesContents[N]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;R.SourceMapGenerator=SourceMapGenerator},98160:(E,R,N)=>{const $=N(69010).SourceMapGenerator;const j=N(53033);const q=/(\r?\n)/;const G=10;const ie="$$$isSourceNode$$$";class SourceNode{constructor(E,R,N,$,j){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=R==null?null:R;this.source=N==null?null:N;this.name=j==null?null:j;this[ie]=true;if($!=null)this.add($)}static fromStringWithSourceMap(E,R,N){const $=new SourceNode;const G=E.split(q);let ie=0;const shiftNextLine=function(){const E=getNextLine();const R=getNextLine()||"";return E+R;function getNextLine(){return ie=0;R--){this.prepend(E[R])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let R;for(let N=0,$=this.children.length;N<$;N++){R=this.children[N];if(R[ie]){R.walk(E)}else if(R!==""){E(R,{source:this.source,line:this.line,column:this.column,name:this.name})}}}join(E){let R;let N;const $=this.children.length;if($>0){R=[];for(N=0;N<$-1;N++){R.push(this.children[N]);R.push(E)}R.push(this.children[N]);this.children=R}return this}replaceRight(E,R){const N=this.children[this.children.length-1];if(N[ie]){N.replaceRight(E,R)}else if(typeof N==="string"){this.children[this.children.length-1]=N.replace(E,R)}else{this.children.push("".replace(E,R))}return this}setSourceContent(E,R){this.sourceContents[j.toSetString(E)]=R}walkSourceContents(E){for(let R=0,N=this.children.length;R{function getArg(E,R,N){if(R in E){return E[R]}else if(arguments.length===3){return N}throw new Error('"'+R+'" is a required argument.')}R.getArg=getArg;const N=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const $=/^data:.+\,.+$/;function urlParse(E){const R=E.match(N);if(!R){return null}return{scheme:R[1],auth:R[2],host:R[3],port:R[4],path:R[5]}}R.urlParse=urlParse;function urlGenerate(E){let R="";if(E.scheme){R+=E.scheme+":"}R+="//";if(E.auth){R+=E.auth+"@"}if(E.host){R+=E.host}if(E.port){R+=":"+E.port}if(E.path){R+=E.path}return R}R.urlGenerate=urlGenerate;const j=32;function lruMemoize(E){const R=[];return function(N){for(let E=0;Ej){R.pop()}return $}}const q=lruMemoize((function normalize(E){let N=E;const $=urlParse(E);if($){if(!$.path){return E}N=$.path}const j=R.isAbsolute(N);const q=[];let G=0;let ie=0;while(true){G=ie;ie=N.indexOf("/",G);if(ie===-1){q.push(N.slice(G));break}else{q.push(N.slice(G,ie));while(ie=0;ie--){const E=q[ie];if(E==="."){q.splice(ie,1)}else if(E===".."){ae++}else if(ae>0){if(E===""){q.splice(ie+1,ae);ae=0}else{q.splice(ie,2);ae--}}}N=q.join("/");if(N===""){N=j?"/":"."}if($){$.path=N;return urlGenerate($)}return N}));R.normalize=q;function join(E,R){if(E===""){E="."}if(R===""){R="."}const N=urlParse(R);const j=urlParse(E);if(j){E=j.path||"/"}if(N&&!N.scheme){if(j){N.scheme=j.scheme}return urlGenerate(N)}if(N||R.match($)){return R}if(j&&!j.host&&!j.path){j.host=R;return urlGenerate(j)}const G=R.charAt(0)==="/"?R:q(E.replace(/\/+$/,"")+"/"+R);if(j){j.path=G;return urlGenerate(j)}return G}R.join=join;R.isAbsolute=function(E){return E.charAt(0)==="/"||N.test(E)};function relative(E,R){if(E===""){E="."}E=E.replace(/\/$/,"");let N=0;while(R.indexOf(E+"/")!==0){const $=E.lastIndexOf("/");if($<0){return R}E=E.slice(0,$);if(E.match(/^([^\/]+:\/)?\/*$/)){return R}++N}return Array(N+1).join("../")+R.substr(E.length+1)}R.relative=relative;const G=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}R.toSetString=G?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}R.fromSetString=G?identity:fromSetString;function isProtoString(E){if(!E){return false}const R=E.length;if(R<9){return false}if(E.charCodeAt(R-1)!==95||E.charCodeAt(R-2)!==95||E.charCodeAt(R-3)!==111||E.charCodeAt(R-4)!==116||E.charCodeAt(R-5)!==111||E.charCodeAt(R-6)!==114||E.charCodeAt(R-7)!==112||E.charCodeAt(R-8)!==95||E.charCodeAt(R-9)!==95){return false}for(let N=R-10;N>=0;N--){if(E.charCodeAt(N)!==36){return false}}return true}function compareByOriginalPositions(E,R,N){let $=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0||N){return $}$=E.generatedColumn-R.generatedColumn;if($!==0){return $}$=E.generatedLine-R.generatedLine;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,R,N){let $=E.generatedLine-R.generatedLine;if($!==0){return $}$=E.generatedColumn-R.generatedColumn;if($!==0||N){return $}$=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,R){if(E===R){return 0}if(E===null){return 1}if(R===null){return-1}if(E>R){return 1}return-1}function compareByGeneratedPositionsInflated(E,R){let N=E.generatedLine-R.generatedLine;if(N!==0){return N}N=E.generatedColumn-R.generatedColumn;if(N!==0){return N}N=strcmp(E.source,R.source);if(N!==0){return N}N=E.originalLine-R.originalLine;if(N!==0){return N}N=E.originalColumn-R.originalColumn;if(N!==0){return N}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}R.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,R,N){R=R||"";if(E){if(E[E.length-1]!=="/"&&R[0]!=="/"){E+="/"}R=E+R}if(N){const E=urlParse(N);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const R=E.path.lastIndexOf("/");if(R>=0){E.path=E.path.substring(0,R+1)}}R=join(urlGenerate(E),R)}return q(R)}R.computeSourceURL=computeSourceURL},7059:(E,R,N)=>{const $=N(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let j=null;E.exports=function wasm(){if(j){return j}const E=[];j=$().then((R=>WebAssembly.instantiate(R,{env:{mapping_callback(R,N,$,j,q,G,ie,ae,le,_e){const Ee=new Mapping;Ee.generatedLine=R+1;Ee.generatedColumn=N;if($){Ee.lastGeneratedColumn=j-1}if(q){Ee.source=G;Ee.originalLine=ie+1;Ee.originalColumn=ae;if(le){Ee.name=_e}}E[E.length-1](Ee)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((R=>({exports:R.instance.exports,withMappingCallback:(R,N)=>{E.push(R);try{N()}finally{E.pop()}}}))).then(null,(E=>{j=null;throw E}));return j}},37362:(E,R,N)=>{R.SourceMapGenerator=N(69010).SourceMapGenerator;R.SourceMapConsumer=N(47532).SourceMapConsumer;R.SourceNode=N(98160).SourceNode},96217:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.TsconfigPathsPlugin=void 0;var $=N(2895);Object.defineProperty(R,"TsconfigPathsPlugin",{enumerable:true,get:function(){return $.TsconfigPathsPlugin}});const j=N(2895);R["default"]=j.TsconfigPathsPlugin;const q=N(2895).TsconfigPathsPlugin;q.TsconfigPathsPlugin=j.TsconfigPathsPlugin;q.default=j.TsconfigPathsPlugin;E.exports=q},96028:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.makeLogger=void 0;const $=N(96206);var j;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})(j||(j={}));const q=new $.Console(process.stderr);const G=new $.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,R)=>{}:(E,R)=>E.log(R);const makeExternalLogger=(E,R)=>N=>R(E.logInfoToStdOut?G:q,N);const makeLogInfo=(E,R,N)=>j[E.logLevel]<=j.INFO?$=>R(E.logInfoToStdOut?G:q,N($)):doNothingLogger;const makeLogError=(E,R,N)=>j[E.logLevel]<=j.ERROR?E=>R(q,N(E)):doNothingLogger;const makeLogWarning=(E,R,N)=>j[E.logLevel]<=j.WARN?E=>R(q,N(E)):doNothingLogger;function makeLogger(E,R){const N=makeLoggerFunc(E);return{log:makeExternalLogger(E,N),logInfo:makeLogInfo(E,N,R.green),logWarning:makeLogWarning(E,N,R.yellow),logError:makeLogError(E,N,R.red)}}R.makeLogger=makeLogger},59929:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.getOptions=void 0;const N=["configFile","extensions","baseUrl","silent","logLevel","logInfoToStdOut","context","mainFields"];function getOptions(E){validateOptions(E);const R=makeOptions(E);return R}R.getOptions=getOptions;function validateOptions(E){const R=Object.keys(E);for(let E=0;E{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.TsconfigPathsPlugin=void 0;const $=N(57347);const j=N(46543);const q=N(71017);const G=N(59929);const ie=N(96028);const ae=N(22471);class TsconfigPathsPlugin{constructor(E={}){this.source="described-resolve";this.target="resolve";const R=G.getOptions(E);this.extensions=R.extensions;this.log=ie.makeLogger(R,new $.Instance({level:R.colors?undefined:0}));const N=R.context||process.cwd();const ae=R.configFile||N;const le=j.loadConfig(ae);if(le.resultType==="failed"){this.log.logError(`Failed to load ${ae}: ${le.message}`)}else{this.log.logInfo(`tsconfig-paths-webpack-plugin: Using config file at ${le.configFileAbsolutePath}`);this.baseUrl=R.baseUrl||le.baseUrl;this.absoluteBaseUrl=R.baseUrl?q.resolve(R.baseUrl):le.absoluteBaseUrl;this.matchPath=j.createMatchPathAsync(this.absoluteBaseUrl,le.paths,R.mainFields)}}apply(E){if(!E){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no resolver, not applying tsconfig-paths-webpack-plugin");return}const{baseUrl:R}=this;if(!R){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no baseUrl in tsconfig.json, not applying tsconfig-paths-webpack-plugin");return}if(!("fileSystem"in E)){this.log.logWarning("tsconfig-paths-webpack-plugin: No file system found on resolver."+" Please make sure you've placed the plugin in the correct part of the configuration."+" This plugin is a resolver plugin and should be placed in the resolve part of the Webpack configuration.");return}if("getHook"in E&&typeof E.getHook==="function"){E.getHook(this.source).tapAsync({name:"TsconfigPathsPlugin"},createPluginCallback(this.matchPath,E,this.absoluteBaseUrl,E.getHook(this.target),this.extensions))}else if("plugin"in E){const R=E;R.plugin(this.source,createPluginLegacy(this.matchPath,E,this.absoluteBaseUrl,this.target,this.extensions))}}}R.TsconfigPathsPlugin=TsconfigPathsPlugin;function createPluginCallback(E,R,$,j,q){const G=createFileExistAsync(R.fileSystem);const ie=createReadJsonAsync(R.fileSystem);return(le,_e,Ee)=>{const we=ae(R,le);if(!we||we.startsWith(".")||we.startsWith("..")){return Ee()}E(we,ie,G,q,((E,q)=>{if(E){return Ee(E)}if(!q){return Ee()}const G=Object.assign(Object.assign({},le),{request:q,path:$});const ie=N(52227);return R.doResolve(j,G,`Resolved request '${we}' to '${q}' using tsconfig.json paths mapping`,ie(Object.assign({},_e)),((E,R)=>{if(E){return Ee(E)}if(R===undefined){return Ee(undefined,undefined)}Ee(undefined,R)}))}))}}function createPluginLegacy(E,R,$,j,q){const G=createFileExistAsync(R.fileSystem);const ie=createReadJsonAsync(R.fileSystem);return(le,_e)=>{const Ee=ae(R,le);if(!Ee||Ee.startsWith(".")||Ee.startsWith("..")){return _e()}E(Ee,ie,G,q,((E,q)=>{if(E){return _e(E)}if(!q){return _e()}const G=Object.assign(Object.assign({},le),{request:q,path:$});const ie=N(92915);return R.doResolve(j,G,`Resolved request '${Ee}' to '${q}' using tsconfig.json paths mapping`,ie((function(E,R){if(arguments.length>0){return _e(E,R)}_e(undefined,undefined)}),_e))}))}}function readJson(E,R,N){if("readJson"in E&&E.readJson){return E.readJson(R,N)}E.readFile(R,((E,R)=>{if(E){return N(E)}let $;try{$=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}return N(undefined,$)}))}function createReadJsonAsync(E){return(R,N)=>{readJson(E,R,((E,R)=>{if(E||!R){N();return}N(undefined,R)}))}}function createFileExistAsync(E){return(R,N)=>{E.stat(R,((E,R)=>{if(E){N(undefined,false);return}N(undefined,R?R.isFile():false)}))}}},36674:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(9492);var j=N(71017);var q=N(26872);function loadConfig(E){if(E===void 0){E=q.options.cwd}return configLoader({cwd:E})}R.loadConfig=loadConfig;function configLoader(E){var R=E.cwd,N=E.explicitParams,q=E.tsConfigLoader,G=q===void 0?$.tsConfigLoader:q;if(N){var ie=j.isAbsolute(N.baseUrl)?N.baseUrl:j.join(R,N.baseUrl);return{resultType:"success",configFileAbsolutePath:"",baseUrl:N.baseUrl,absoluteBaseUrl:ie,paths:N.paths,mainFields:N.mainFields,addMatchAll:N.addMatchAll}}var ae=G({cwd:R,getEnv:function(E){return process.env[E]}});if(!ae.tsConfigPath){return{resultType:"failed",message:"Couldn't find tsconfig.json"}}if(!ae.baseUrl){return{resultType:"failed",message:"Missing baseUrl in compilerOptions"}}var le=j.dirname(ae.tsConfigPath);var _e=j.join(le,ae.baseUrl);return{resultType:"success",configFileAbsolutePath:ae.tsConfigPath,baseUrl:ae.baseUrl,absoluteBaseUrl:_e,paths:ae.paths||{}}}R.configLoader=configLoader},89711:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(57147);function fileExistsSync(E){try{var R=$.statSync(E);return R.isFile()}catch(E){return false}}R.fileExistsSync=fileExistsSync;function readJsonFromDiskSync(E){if(!$.existsSync(E)){return undefined}return require(E)}R.readJsonFromDiskSync=readJsonFromDiskSync;function readJsonFromDiskAsync(E,R){$.readFile(E,"utf8",(function(E,N){if(E||!N){return R()}var $=JSON.parse(N);return R(undefined,$)}))}R.readJsonFromDiskAsync=readJsonFromDiskAsync;function fileExistsAsync(E,R){$.stat(E,(function(E,N){if(E){return R(undefined,false)}R(undefined,N?N.isFile():false)}))}R.fileExistsAsync=fileExistsAsync;function removeExtension(E){return E.substring(0,E.lastIndexOf("."))||E}R.removeExtension=removeExtension},46543:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(12317);R.createMatchPath=$.createMatchPath;R.matchFromAbsolutePaths=$.matchFromAbsolutePaths;var j=N(5339);R.createMatchPathAsync=j.createMatchPathAsync;R.matchFromAbsolutePathsAsync=j.matchFromAbsolutePathsAsync;var q=N(7897);R.register=q.register;var G=N(36674);R.loadConfig=G.loadConfig},98191:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);function getAbsoluteMappingEntries(E,R,N){var j=sortByLongestPrefix(Object.keys(R));var q=[];for(var G=0,ie=j;G{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);var j=N(58455);var q=N(98191);var G=N(89711);function createMatchPathAsync(E,R,N,$){if(N===void 0){N=["main"]}if($===void 0){$=true}var j=q.getAbsoluteMappingEntries(E,R,$);return function(E,R,$,q,G){return matchFromAbsolutePathsAsync(j,E,R,$,q,G,N)}}R.createMatchPathAsync=createMatchPathAsync;function matchFromAbsolutePathsAsync(E,R,N,$,q,ie,ae){if(N===void 0){N=G.readJsonFromDiskAsync}if($===void 0){$=G.fileExistsAsync}if(q===void 0){q=Object.keys(require.extensions)}if(ae===void 0){ae=["main"]}var le=j.getPathsToTry(q,E,R);if(!le){return ie()}findFirstExistingPath(le,N,$,ie,0,ae)}R.matchFromAbsolutePathsAsync=matchFromAbsolutePathsAsync;function findFirstExistingMainFieldMappedFile(E,R,N,j,q,G){if(G===void 0){G=0}if(G>=R.length){return q(undefined,undefined)}var tryNext=function(){return findFirstExistingMainFieldMappedFile(E,R,N,j,q,G+1)};var ie=E[R[G]];if(typeof ie!=="string"){return tryNext()}var ae=$.join($.dirname(N),ie);j(ae,(function(E,R){if(E){return q(E)}if(R){return q(undefined,ae)}return tryNext()}))}function findFirstExistingPath(E,R,N,$,q,ie){if(q===void 0){q=0}if(ie===void 0){ie=["main"]}var ae=E[q];if(ae.type==="file"||ae.type==="extension"||ae.type==="index"){N(ae.path,(function(G,le){if(G){return $(G)}if(le){return $(undefined,j.getStrippedPath(ae))}if(q===E.length-1){return $()}return findFirstExistingPath(E,R,N,$,q+1,ie)}))}else if(ae.type==="package"){R(ae.path,(function(j,le){if(j){return $(j)}if(le){return findFirstExistingMainFieldMappedFile(le,ie,ae.path,N,(function(j,ae){if(j){return $(j)}if(ae){return $(undefined,G.removeExtension(ae))}return findFirstExistingPath(E,R,N,$,q+1,ie)}))}return findFirstExistingPath(E,R,N,$,q+1,ie)}))}else{j.exhaustiveTypeException(ae.type)}}},12317:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);var j=N(89711);var q=N(98191);var G=N(58455);function createMatchPath(E,R,N,$){if(N===void 0){N=["main"]}if($===void 0){$=true}var j=q.getAbsoluteMappingEntries(E,R,$);return function(E,R,$,q){return matchFromAbsolutePaths(j,E,R,$,q,N)}}R.createMatchPath=createMatchPath;function matchFromAbsolutePaths(E,R,N,$,q,ie){if(N===void 0){N=j.readJsonFromDiskSync}if($===void 0){$=j.fileExistsSync}if(q===void 0){q=Object.keys(require.extensions)}if(ie===void 0){ie=["main"]}var ae=G.getPathsToTry(q,E,R);if(!ae){return undefined}return findFirstExistingPath(ae,N,$,ie)}R.matchFromAbsolutePaths=matchFromAbsolutePaths;function findFirstExistingMainFieldMappedFile(E,R,N,j){for(var q=0;q{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(40535);var j=$(process.argv.slice(2),{string:["project"],alias:{project:["P"]}});var q=j&&j.project;R.options={cwd:q||process.cwd()}},7897:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(12317);var j=N(36674);var q=N(26872);var noOp=function(){return void 0};function getCoreModules(E){E=E||["assert","buffer","child_process","cluster","crypto","dgram","dns","domain","events","fs","http","https","net","os","path","punycode","querystring","readline","stream","string_decoder","tls","tty","url","util","v8","vm","zlib"];var R={};for(var N=0,$=E;N<$.length;N++){var j=$[N];R[j]=true}return R}function register(E){var R=j.configLoader({cwd:q.options.cwd,explicitParams:E});if(R.resultType==="failed"){console.warn(R.message+". tsconfig-paths will be skipped");return noOp}var G=$.createMatchPath(R.absoluteBaseUrl,R.paths,R.mainFields,R.addMatchAll);var ie=N(98188);var ae=ie._resolveFilename;var le=getCoreModules(ie.builtinModules);ie._resolveFilename=function(E,R){var N=le.hasOwnProperty(E);if(!N){var $=G(E);if($){var j=[$].concat([].slice.call(arguments,1));return ae.apply(this,j)}}return ae.apply(this,arguments)};return function(){ie._resolveFilename=ae}}R.register=register},58455:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);var j=N(71017);var q=N(89711);function getPathsToTry(E,R,N){if(!R||!N||N[0]==="."||N[0]===$.sep){return undefined}var j=[];for(var q=0,G=R;q{ +(function(R,N,$){if(true&&E.exports)E.exports=$();else N[R]=$()})("prr",this,(function(){var E=typeof Object.defineProperty=="function"?function(E,R,N){Object.defineProperty(E,R,N);return E}:function(E,R,N){E[R]=N.value;return E},makeOptions=function(E,R){var N=typeof R=="object",$=!N&&typeof R=="string",op=function(E){return N?!!R[E]:$?R.indexOf(E[0])>-1:false};return{enumerable:op("enumerable"),configurable:op("configurable"),writable:op("writable"),value:E}},prr=function(R,N,$,j){var q;j=makeOptions($,j);if(typeof N=="object"){for(q in N){if(Object.hasOwnProperty.call(N,q)){j.value=N[q];E(R,q,j)}}return R}return E(R,N,j)};return prr}))},31998:(E,R,N)=>{E.exports=N(6113).randomBytes},81959:(E,R,N)=>{"use strict";var $=N(50411);var j=Object.keys||function(E){var R=[];for(var N in E){R.push(N)}return R};E.exports=Duplex;var q=Object.create(N(93349));q.inherits=N(28309);var G=N(97469);var ie=N(97867);q.inherits(Duplex,G);{var ae=j(ie.prototype);for(var le=0;le{"use strict";E.exports=PassThrough;var $=N(77837);var j=Object.create(N(93349));j.inherits=N(28309);j.inherits(PassThrough,$);function PassThrough(E){if(!(this instanceof PassThrough))return new PassThrough(E);$.call(this,E)}PassThrough.prototype._transform=function(E,R,N){N(null,E)}},97469:(E,R,N)=>{"use strict";var $=N(50411);E.exports=Readable;var j=N(27523);var q;Readable.ReadableState=ReadableState;var G=N(82361).EventEmitter;var EElistenerCount=function(E,R){return E.listeners(R).length};var ie=N(99837);var ae=N(22560).Buffer;var le=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return ae.from(E)}function _isUint8Array(E){return ae.isBuffer(E)||E instanceof le}var _e=Object.create(N(93349));_e.inherits=N(28309);var Ee=N(73837);var we=void 0;if(Ee&&Ee.debuglog){we=Ee.debuglog("stream")}else{we=function(){}}var Me=N(24220);var Ie=N(22535);var Te;_e.inherits(Readable,ie);var Ne=["error","close","destroy","pause","resume"];function prependListener(E,R,N){if(typeof E.prependListener==="function")return E.prependListener(R,N);if(!E._events||!E._events[R])E.on(R,N);else if(j(E._events[R]))E._events[R].unshift(N);else E._events[R]=[N,E._events[R]]}function ReadableState(E,R){q=q||N(81959);E=E||{};var $=R instanceof q;this.objectMode=!!E.objectMode;if($)this.objectMode=this.objectMode||!!E.readableObjectMode;var j=E.highWaterMark;var G=E.readableHighWaterMark;var ie=this.objectMode?16:16*1024;if(j||j===0)this.highWaterMark=j;else if($&&(G||G===0))this.highWaterMark=G;else this.highWaterMark=ie;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new Me;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=E.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(E.encoding){if(!Te)Te=N(80147).s;this.decoder=new Te(E.encoding);this.encoding=E.encoding}}function Readable(E){q=q||N(81959);if(!(this instanceof Readable))return new Readable(E);this._readableState=new ReadableState(E,this);this.readable=true;if(E){if(typeof E.read==="function")this._read=E.read;if(typeof E.destroy==="function")this._destroy=E.destroy}ie.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(E){if(!this._readableState){return}this._readableState.destroyed=E}});Readable.prototype.destroy=Ie.destroy;Readable.prototype._undestroy=Ie.undestroy;Readable.prototype._destroy=function(E,R){this.push(null);R(E)};Readable.prototype.push=function(E,R){var N=this._readableState;var $;if(!N.objectMode){if(typeof E==="string"){R=R||N.defaultEncoding;if(R!==N.encoding){E=ae.from(E,R);R=""}$=true}}else{$=true}return readableAddChunk(this,E,R,false,$)};Readable.prototype.unshift=function(E){return readableAddChunk(this,E,null,true,false)};function readableAddChunk(E,R,N,$,j){var q=E._readableState;if(R===null){q.reading=false;onEofChunk(E,q)}else{var G;if(!j)G=chunkInvalid(q,R);if(G){E.emit("error",G)}else if(q.objectMode||R&&R.length>0){if(typeof R!=="string"&&!q.objectMode&&Object.getPrototypeOf(R)!==ae.prototype){R=_uint8ArrayToBuffer(R)}if($){if(q.endEmitted)E.emit("error",new Error("stream.unshift() after end event"));else addChunk(E,q,R,true)}else if(q.ended){E.emit("error",new Error("stream.push() after EOF"))}else{q.reading=false;if(q.decoder&&!N){R=q.decoder.write(R);if(q.objectMode||R.length!==0)addChunk(E,q,R,false);else maybeReadMore(E,q)}else{addChunk(E,q,R,false)}}}else if(!$){q.reading=false}}return needMoreData(q)}function addChunk(E,R,N,$){if(R.flowing&&R.length===0&&!R.sync){E.emit("data",N);E.read(0)}else{R.length+=R.objectMode?1:N.length;if($)R.buffer.unshift(N);else R.buffer.push(N);if(R.needReadable)emitReadable(E)}maybeReadMore(E,R)}function chunkInvalid(E,R){var N;if(!_isUint8Array(R)&&typeof R!=="string"&&R!==undefined&&!E.objectMode){N=new TypeError("Invalid non-string/buffer chunk")}return N}function needMoreData(E){return!E.ended&&(E.needReadable||E.length=Be){E=Be}else{E--;E|=E>>>1;E|=E>>>2;E|=E>>>4;E|=E>>>8;E|=E>>>16;E++}return E}function howMuchToRead(E,R){if(E<=0||R.length===0&&R.ended)return 0;if(R.objectMode)return 1;if(E!==E){if(R.flowing&&R.length)return R.buffer.head.data.length;else return R.length}if(E>R.highWaterMark)R.highWaterMark=computeNewHighWaterMark(E);if(E<=R.length)return E;if(!R.ended){R.needReadable=true;return 0}return R.length}Readable.prototype.read=function(E){we("read",E);E=parseInt(E,10);var R=this._readableState;var N=E;if(E!==0)R.emittedReadable=false;if(E===0&&R.needReadable&&(R.length>=R.highWaterMark||R.ended)){we("read: emitReadable",R.length,R.ended);if(R.length===0&&R.ended)endReadable(this);else emitReadable(this);return null}E=howMuchToRead(E,R);if(E===0&&R.ended){if(R.length===0)endReadable(this);return null}var $=R.needReadable;we("need readable",$);if(R.length===0||R.length-E0)j=fromList(E,R);else j=null;if(j===null){R.needReadable=true;E=0}else{R.length-=E}if(R.length===0){if(!R.ended)R.needReadable=true;if(N!==E&&R.ended)endReadable(this)}if(j!==null)this.emit("data",j);return j};function onEofChunk(E,R){if(R.ended)return;if(R.decoder){var N=R.decoder.end();if(N&&N.length){R.buffer.push(N);R.length+=R.objectMode?1:N.length}}R.ended=true;emitReadable(E)}function emitReadable(E){var R=E._readableState;R.needReadable=false;if(!R.emittedReadable){we("emitReadable",R.flowing);R.emittedReadable=true;if(R.sync)$.nextTick(emitReadable_,E);else emitReadable_(E)}}function emitReadable_(E){we("emit readable");E.emit("readable");flow(E)}function maybeReadMore(E,R){if(!R.readingMore){R.readingMore=true;$.nextTick(maybeReadMore_,E,R)}}function maybeReadMore_(E,R){var N=R.length;while(!R.reading&&!R.flowing&&!R.ended&&R.length1&&indexOf(j.pipes,E)!==-1)&&!ae){we("false write response, pause",N._readableState.awaitDrain);N._readableState.awaitDrain++;le=true}N.pause()}}function onerror(R){we("onerror",R);unpipe();E.removeListener("error",onerror);if(EElistenerCount(E,"error")===0)E.emit("error",R)}prependListener(E,"error",onerror);function onclose(){E.removeListener("finish",onfinish);unpipe()}E.once("close",onclose);function onfinish(){we("onfinish");E.removeListener("close",onclose);unpipe()}E.once("finish",onfinish);function unpipe(){we("unpipe");N.unpipe(E)}E.emit("pipe",N);if(!j.flowing){we("pipe resume");N.resume()}return E};function pipeOnDrain(E){return function(){var R=E._readableState;we("pipeOnDrain",R.awaitDrain);if(R.awaitDrain)R.awaitDrain--;if(R.awaitDrain===0&&EElistenerCount(E,"data")){R.flowing=true;flow(E)}}}Readable.prototype.unpipe=function(E){var R=this._readableState;var N={hasUnpiped:false};if(R.pipesCount===0)return this;if(R.pipesCount===1){if(E&&E!==R.pipes)return this;if(!E)E=R.pipes;R.pipes=null;R.pipesCount=0;R.flowing=false;if(E)E.emit("unpipe",this,N);return this}if(!E){var $=R.pipes;var j=R.pipesCount;R.pipes=null;R.pipesCount=0;R.flowing=false;for(var q=0;q=R.length){if(R.decoder)N=R.buffer.join("");else if(R.buffer.length===1)N=R.buffer.head.data;else N=R.buffer.concat(R.length);R.buffer.clear()}else{N=fromListPartial(E,R.buffer,R.decoder)}return N}function fromListPartial(E,R,N){var $;if(Eq.length?q.length:E;if(G===q.length)j+=q;else j+=q.slice(0,E);E-=G;if(E===0){if(G===q.length){++$;if(N.next)R.head=N.next;else R.head=R.tail=null}else{R.head=N;N.data=q.slice(G)}break}++$}R.length-=$;return j}function copyFromBuffer(E,R){var N=ae.allocUnsafe(E);var $=R.head;var j=1;$.data.copy(N);E-=$.data.length;while($=$.next){var q=$.data;var G=E>q.length?q.length:E;q.copy(N,N.length-E,0,G);E-=G;if(E===0){if(G===q.length){++j;if($.next)R.head=$.next;else R.head=R.tail=null}else{R.head=$;$.data=q.slice(G)}break}++j}R.length-=j;return N}function endReadable(E){var R=E._readableState;if(R.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!R.endEmitted){R.ended=true;$.nextTick(endReadableNT,R,E)}}function endReadableNT(E,R){if(!E.endEmitted&&E.length===0){E.endEmitted=true;R.readable=false;R.emit("end")}}function indexOf(E,R){for(var N=0,$=E.length;N<$;N++){if(E[N]===R)return N}return-1}},77837:(E,R,N)=>{"use strict";E.exports=Transform;var $=N(81959);var j=Object.create(N(93349));j.inherits=N(28309);j.inherits(Transform,$);function afterTransform(E,R){var N=this._transformState;N.transforming=false;var $=N.writecb;if(!$){return this.emit("error",new Error("write callback called multiple times"))}N.writechunk=null;N.writecb=null;if(R!=null)this.push(R);$(E);var j=this._readableState;j.reading=false;if(j.needReadable||j.length{"use strict";var $=N(50411);E.exports=Writable;function WriteReq(E,R,N){this.chunk=E;this.encoding=R;this.callback=N;this.next=null}function CorkedRequest(E){var R=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(R,E)}}var j=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:$.nextTick;var q;Writable.WritableState=WritableState;var G=Object.create(N(93349));G.inherits=N(28309);var ie={deprecate:N(95791)};var ae=N(99837);var le=N(22560).Buffer;var _e=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return le.from(E)}function _isUint8Array(E){return le.isBuffer(E)||E instanceof _e}var Ee=N(22535);G.inherits(Writable,ae);function nop(){}function WritableState(E,R){q=q||N(81959);E=E||{};var $=R instanceof q;this.objectMode=!!E.objectMode;if($)this.objectMode=this.objectMode||!!E.writableObjectMode;var j=E.highWaterMark;var G=E.writableHighWaterMark;var ie=this.objectMode?16:16*1024;if(j||j===0)this.highWaterMark=j;else if($&&(G||G===0))this.highWaterMark=G;else this.highWaterMark=ie;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var ae=E.decodeStrings===false;this.decodeStrings=!ae;this.defaultEncoding=E.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(E){onwrite(R,E)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var E=this.bufferedRequest;var R=[];while(E){R.push(E);E=E.next}return R};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:ie.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(E){}})();var we;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){we=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(E){if(we.call(this,E))return true;if(this!==Writable)return false;return E&&E._writableState instanceof WritableState}})}else{we=function(E){return E instanceof this}}function Writable(E){q=q||N(81959);if(!we.call(Writable,this)&&!(this instanceof q)){return new Writable(E)}this._writableState=new WritableState(E,this);this.writable=true;if(E){if(typeof E.write==="function")this._write=E.write;if(typeof E.writev==="function")this._writev=E.writev;if(typeof E.destroy==="function")this._destroy=E.destroy;if(typeof E.final==="function")this._final=E.final}ae.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(E,R){var N=new Error("write after end");E.emit("error",N);$.nextTick(R,N)}function validChunk(E,R,N,j){var q=true;var G=false;if(N===null){G=new TypeError("May not write null values to stream")}else if(typeof N!=="string"&&N!==undefined&&!R.objectMode){G=new TypeError("Invalid non-string/buffer chunk")}if(G){E.emit("error",G);$.nextTick(j,G);q=false}return q}Writable.prototype.write=function(E,R,N){var $=this._writableState;var j=false;var q=!$.objectMode&&_isUint8Array(E);if(q&&!le.isBuffer(E)){E=_uint8ArrayToBuffer(E)}if(typeof R==="function"){N=R;R=null}if(q)R="buffer";else if(!R)R=$.defaultEncoding;if(typeof N!=="function")N=nop;if($.ended)writeAfterEnd(this,N);else if(q||validChunk(this,$,E,N)){$.pendingcb++;j=writeOrBuffer(this,$,q,E,R,N)}return j};Writable.prototype.cork=function(){var E=this._writableState;E.corked++};Writable.prototype.uncork=function(){var E=this._writableState;if(E.corked){E.corked--;if(!E.writing&&!E.corked&&!E.finished&&!E.bufferProcessing&&E.bufferedRequest)clearBuffer(this,E)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(E){if(typeof E==="string")E=E.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((E+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+E);this._writableState.defaultEncoding=E;return this};function decodeChunk(E,R,N){if(!E.objectMode&&E.decodeStrings!==false&&typeof R==="string"){R=le.from(R,N)}return R}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(E,R,N,$,j,q){if(!N){var G=decodeChunk(R,$,j);if($!==G){N=true;j="buffer";$=G}}var ie=R.objectMode?1:$.length;R.length+=ie;var ae=R.length{"use strict";function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}var $=N(22560).Buffer;var j=N(73837);function copyBuffer(E,R,N){E.copy(R,N)}E.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(E){var R={data:E,next:null};if(this.length>0)this.tail.next=R;else this.head=R;this.tail=R;++this.length};BufferList.prototype.unshift=function unshift(E){var R={data:E,next:this.head};if(this.length===0)this.tail=R;this.head=R;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var E=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return E};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(E){if(this.length===0)return"";var R=this.head;var N=""+R.data;while(R=R.next){N+=E+R.data}return N};BufferList.prototype.concat=function concat(E){if(this.length===0)return $.alloc(0);if(this.length===1)return this.head.data;var R=$.allocUnsafe(E>>>0);var N=this.head;var j=0;while(N){copyBuffer(N.data,R,j);j+=N.data.length;N=N.next}return R};return BufferList}();if(j&&j.inspect&&j.inspect.custom){E.exports.prototype[j.inspect.custom]=function(){var E=j.inspect({length:this.length});return this.constructor.name+" "+E}}},22535:(E,R,N)=>{"use strict";var $=N(50411);function destroy(E,R){var N=this;var j=this._readableState&&this._readableState.destroyed;var q=this._writableState&&this._writableState.destroyed;if(j||q){if(R){R(E)}else if(E&&(!this._writableState||!this._writableState.errorEmitted)){$.nextTick(emitErrorNT,this,E)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(E||null,(function(E){if(!R&&E){$.nextTick(emitErrorNT,N,E);if(N._writableState){N._writableState.errorEmitted=true}}else if(R){R(E)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(E,R){E.emit("error",R)}E.exports={destroy:destroy,undestroy:undestroy}},99837:(E,R,N)=>{E.exports=N(12781)},22560:(E,R,N)=>{var $=N(14300);var j=$.Buffer;function copyProps(E,R){for(var N in E){R[N]=E[N]}}if(j.from&&j.alloc&&j.allocUnsafe&&j.allocUnsafeSlow){E.exports=$}else{copyProps($,R);R.Buffer=SafeBuffer}function SafeBuffer(E,R,N){return j(E,R,N)}copyProps(j,SafeBuffer);SafeBuffer.from=function(E,R,N){if(typeof E==="number"){throw new TypeError("Argument must not be a number")}return j(E,R,N)};SafeBuffer.alloc=function(E,R,N){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}var $=j(E);if(R!==undefined){if(typeof N==="string"){$.fill(R,N)}else{$.fill(R)}}else{$.fill(0)}return $};SafeBuffer.allocUnsafe=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return j(E)};SafeBuffer.allocUnsafeSlow=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return $.SlowBuffer(E)}},80147:(E,R,N)=>{"use strict";var $=N(22560).Buffer;var j=$.isEncoding||function(E){E=""+E;switch(E&&E.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(E){if(!E)return"utf8";var R;while(true){switch(E){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return E;default:if(R)return;E=(""+E).toLowerCase();R=true}}}function normalizeEncoding(E){var R=_normalizeEncoding(E);if(typeof R!=="string"&&($.isEncoding===j||!j(E)))throw new Error("Unknown encoding: "+E);return R||E}R.s=StringDecoder;function StringDecoder(E){this.encoding=normalizeEncoding(E);var R;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;R=4;break;case"utf8":this.fillLast=utf8FillLast;R=4;break;case"base64":this.text=base64Text;this.end=base64End;R=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=$.allocUnsafe(R)}StringDecoder.prototype.write=function(E){if(E.length===0)return"";var R;var N;if(this.lastNeed){R=this.fillLast(E);if(R===undefined)return"";N=this.lastNeed;this.lastNeed=0}else{N=0}if(N>5===6)return 2;else if(E>>4===14)return 3;else if(E>>3===30)return 4;return E>>6===2?-1:-2}function utf8CheckIncomplete(E,R,N){var $=R.length-1;if($=0){if(j>0)E.lastNeed=j-1;return j}if(--$=0){if(j>0)E.lastNeed=j-2;return j}if(--$=0){if(j>0){if(j===2)j=0;else E.lastNeed=j-3}return j}return 0}function utf8CheckExtraBytes(E,R,N){if((R[0]&192)!==128){E.lastNeed=0;return"�"}if(E.lastNeed>1&&R.length>1){if((R[1]&192)!==128){E.lastNeed=1;return"�"}if(E.lastNeed>2&&R.length>2){if((R[2]&192)!==128){E.lastNeed=2;return"�"}}}}function utf8FillLast(E){var R=this.lastTotal-this.lastNeed;var N=utf8CheckExtraBytes(this,E,R);if(N!==undefined)return N;if(this.lastNeed<=E.length){E.copy(this.lastChar,R,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}E.copy(this.lastChar,R,0,E.length);this.lastNeed-=E.length}function utf8Text(E,R){var N=utf8CheckIncomplete(this,E,R);if(!this.lastNeed)return E.toString("utf8",R);this.lastTotal=N;var $=E.length-(N-this.lastNeed);E.copy(this.lastChar,0,$);return E.toString("utf8",R,$)}function utf8End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed)return R+"�";return R}function utf16Text(E,R){if((E.length-R)%2===0){var N=E.toString("utf16le",R);if(N){var $=N.charCodeAt(N.length-1);if($>=55296&&$<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1];return N.slice(0,-1)}}return N}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=E[E.length-1];return E.toString("utf16le",R,E.length-1)}function utf16End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed){var N=this.lastTotal-this.lastNeed;return R+this.lastChar.toString("utf16le",0,N)}return R}function base64Text(E,R){var N=(E.length-R)%3;if(N===0)return E.toString("base64",R);this.lastNeed=3-N;this.lastTotal=3;if(N===1){this.lastChar[0]=E[E.length-1]}else{this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1]}return E.toString("base64",R,E.length-N)}function base64End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed)return R+this.lastChar.toString("base64",0,3-this.lastNeed);return R}function simpleWrite(E){return E.toString(this.encoding)}function simpleEnd(E){return E&&E.length?this.write(E):""}},32453:(E,R,N)=>{var $=N(12781);if(process.env.READABLE_STREAM==="disable"&&$){E.exports=$;R=E.exports=$.Readable;R.Readable=$.Readable;R.Writable=$.Writable;R.Duplex=$.Duplex;R.Transform=$.Transform;R.PassThrough=$.PassThrough;R.Stream=$}else{R=E.exports=N(97469);R.Stream=$||R;R.Readable=R;R.Writable=N(97867);R.Duplex=N(81959);R.Transform=N(77837);R.PassThrough=N(54021)}},47030:(E,R,N)=>{var $=N(42911);$.core=N(54800);$.isCore=N(80280);$.sync=N(4893);E.exports=$},42911:(E,R,N)=>{var $=N(57147);var j=N(71017);var q=N(25297);var G=N(1680);var ie=N(83034);var ae=N(13747);var le=$.realpath&&typeof $.realpath.native==="function"?$.realpath.native:$.realpath;var _e=function isFile(E,R){$.stat(E,(function(E,N){if(!E){return R(null,N.isFile()||N.isFIFO())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return R(null,false);return R(E)}))};var Ee=function isDirectory(E,R){$.stat(E,(function(E,N){if(!E){return R(null,N.isDirectory())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return R(null,false);return R(E)}))};var we=function realpath(E,R){le(E,(function(N,$){if(N&&N.code!=="ENOENT")R(N);else R(null,N?E:$)}))};var Me=function maybeRealpath(E,R,N,$){if(N&&N.preserveSymlinks===false){E(R,$)}else{$(null,R)}};var Ie=function defaultReadPackage(E,R,N){E(R,(function(E,R){if(E)N(E);else{try{var $=JSON.parse(R);N(null,$)}catch(E){N(null)}}}))};var Te=function getPackageCandidates(E,R,N){var $=G(R,N,E);for(var q=0;q<$.length;q++){$[q]=j.join($[q],E)}return $};E.exports=function resolve(E,R,N){var G=N;var le=R;if(typeof R==="function"){G=le;le={}}if(typeof E!=="string"){var Ne=new TypeError("Path must be a string.");return process.nextTick((function(){G(Ne)}))}le=ie(E,le);var Be=le.isFile||_e;var Le=le.isDirectory||Ee;var je=le.readFile||$.readFile;var ze=le.realpath||we;var Ue=le.readPackage||Ie;if(le.readFile&&le.readPackage){var qe=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){G(qe)}))}var Ge=le.packageIterator;var He=le.extensions||[".js"];var We=le.includeCoreModules!==false;var Ve=le.basedir||j.dirname(q());var Ke=le.filename||Ve;le.paths=le.paths||[];var Qe=j.resolve(Ve);Me(ze,Qe,le,(function(E,R){if(E)G(E);else init(R)}));var Je;function init(R){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(E)){Je=j.resolve(R,E);if(E==="."||E===".."||E.slice(-1)==="/")Je+="/";if(/\/$/.test(E)&&Je===R){loadAsDirectory(Je,le.package,onfile)}else loadAsFile(Je,le.package,onfile)}else if(We&&ae(E)){return G(null,E)}else loadNodeModules(E,R,(function(R,N,$){if(R)G(R);else if(N){return Me(ze,N,le,(function(E,R){if(E){G(E)}else{G(null,R,$)}}))}else{var j=new Error("Cannot find module '"+E+"' from '"+Ke+"'");j.code="MODULE_NOT_FOUND";G(j)}}))}function onfile(R,N,$){if(R)G(R);else if(N)G(null,N,$);else loadAsDirectory(Je,(function(R,N,$){if(R)G(R);else if(N){Me(ze,N,le,(function(E,R){if(E){G(E)}else{G(null,R,$)}}))}else{var j=new Error("Cannot find module '"+E+"' from '"+Ke+"'");j.code="MODULE_NOT_FOUND";G(j)}}))}function loadAsFile(E,R,N){var $=R;var q=N;if(typeof $==="function"){q=$;$=undefined}var G=[""].concat(He);load(G,E,$);function load(E,R,N){if(E.length===0)return q(null,undefined,N);var $=R+E[0];var G=N;if(G)onpkg(null,G);else loadpkg(j.dirname($),onpkg);function onpkg(N,ie,ae){G=ie;if(N)return q(N);if(ae&&G&&le.pathFilter){var _e=j.relative(ae,$);var Ee=_e.slice(0,_e.length-E[0].length);var we=le.pathFilter(G,R,Ee);if(we)return load([""].concat(He.slice()),j.resolve(ae,we),G)}Be($,onex)}function onex(N,j){if(N)return q(N);if(j)return q(null,$,G);load(E.slice(1),R,G)}}}function loadpkg(E,R){if(E===""||E==="/")return R(null);if(process.platform==="win32"&&/^\w:[/\\]*$/.test(E)){return R(null)}if(/[/\\]node_modules[/\\]*$/.test(E))return R(null);Me(ze,E,le,(function(N,$){if(N)return loadpkg(j.dirname(E),R);var q=j.join($,"package.json");Be(q,(function(N,$){if(!$)return loadpkg(j.dirname(E),R);Ue(je,q,(function(N,$){if(N)R(N);var j=$;if(j&&le.packageFilter){j=le.packageFilter(j,q)}R(null,j,E)}))}))}))}function loadAsDirectory(E,R,N){var $=N;var q=R;if(typeof q==="function"){$=q;q=le.package}Me(ze,E,le,(function(R,N){if(R)return $(R);var G=j.join(N,"package.json");Be(G,(function(R,N){if(R)return $(R);if(!N)return loadAsFile(j.join(E,"index"),q,$);Ue(je,G,(function(R,N){if(R)return $(R);var q=N;if(q&&le.packageFilter){q=le.packageFilter(q,G)}if(q&&q.main){if(typeof q.main!=="string"){var ie=new TypeError("package “"+q.name+"” `main` must be a string");ie.code="INVALID_PACKAGE_MAIN";return $(ie)}if(q.main==="."||q.main==="./"){q.main="index"}loadAsFile(j.resolve(E,q.main),q,(function(R,N,q){if(R)return $(R);if(N)return $(null,N,q);if(!q)return loadAsFile(j.join(E,"index"),q,$);var G=j.resolve(E,q.main);loadAsDirectory(G,q,(function(R,N,q){if(R)return $(R);if(N)return $(null,N,q);loadAsFile(j.join(E,"index"),q,$)}))}));return}loadAsFile(j.join(E,"/index"),q,$)}))}))}))}function processDirs(E,R){if(R.length===0)return E(null,undefined);var N=R[0];Le(j.dirname(N),isdir);function isdir($,j){if($)return E($);if(!j)return processDirs(E,R.slice(1));loadAsFile(N,le.package,onfile)}function onfile(R,$,j){if(R)return E(R);if($)return E(null,$,j);loadAsDirectory(N,le.package,ondir)}function ondir(N,$,j){if(N)return E(N);if($)return E(null,$,j);processDirs(E,R.slice(1))}}function loadNodeModules(E,R,N){var thunk=function(){return Te(E,R,le)};processDirs(N,Ge?Ge(E,R,thunk,le):thunk())}}},25297:E=>{E.exports=function(){var E=Error.prepareStackTrace;Error.prepareStackTrace=function(E,R){return R};var R=(new Error).stack;Error.prepareStackTrace=E;return R[2].getFileName()}},54800:(E,R,N)=>{var $=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(E){var R=E.split(" ");var N=R.length>1?R[0]:"=";var j=(R.length>1?R[1]:R[0]).split(".");for(var q=0;q<3;++q){var G=parseInt($[q]||0,10);var ie=parseInt(j[q]||0,10);if(G===ie){continue}if(N==="<"){return G="){return G>=ie}else{return false}}return N===">="}function matchesRange(E){var R=E.split(/ ?&& ?/);if(R.length===0){return false}for(var N=0;N{var $=N(13747);E.exports=function isCore(E){return $(E)}},1680:(E,R,N)=>{var $=N(71017);var j=$.parse||N(75522);var q=function getNodeModulesDirs(E,R){var N="/";if(/^([A-Za-z]:)/.test(E)){N=""}else if(/^\\\\/.test(E)){N="\\\\"}var q=[E];var G=j(E);while(G.dir!==q[q.length-1]){q.push(G.dir);G=j(G.dir)}return q.reduce((function(E,j){return E.concat(R.map((function(E){return $.resolve(N,j,E)})))}),[])};E.exports=function nodeModulesPaths(E,R,N){var $=R&&R.moduleDirectory?[].concat(R.moduleDirectory):["node_modules"];if(R&&typeof R.paths==="function"){return R.paths(N,E,(function(){return q(E,$)}),R)}var j=q(E,$);return R&&R.paths?j.concat(R.paths):j}},83034:E=>{E.exports=function(E,R){return R||{}}},4893:(E,R,N)=>{var $=N(13747);var j=N(57147);var q=N(71017);var G=N(25297);var ie=N(1680);var ae=N(83034);var le=j.realpathSync&&typeof j.realpathSync.native==="function"?j.realpathSync.native:j.realpathSync;var _e=function isFile(E){try{var R=j.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return R.isFile()||R.isFIFO()};var Ee=function isDirectory(E){try{var R=j.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return R.isDirectory()};var we=function realpathSync(E){try{return le(E)}catch(E){if(E.code!=="ENOENT"){throw E}}return E};var Me=function maybeRealpathSync(E,R,N){if(N&&N.preserveSymlinks===false){return E(R)}return R};var Ie=function defaultReadPackageSync(E,R){var N=E(R);try{var $=JSON.parse(N);return $}catch(E){}};var Te=function getPackageCandidates(E,R,N){var $=ie(R,N,E);for(var j=0;j<$.length;j++){$[j]=q.join($[j],E)}return $};E.exports=function resolveSync(E,R){if(typeof E!=="string"){throw new TypeError("Path must be a string.")}var N=ae(E,R);var ie=N.isFile||_e;var le=N.readFileSync||j.readFileSync;var Ne=N.isDirectory||Ee;var Be=N.realpathSync||we;var Le=N.readPackageSync||Ie;if(N.readFileSync&&N.readPackageSync){throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.")}var je=N.packageIterator;var ze=N.extensions||[".js"];var Ue=N.includeCoreModules!==false;var qe=N.basedir||q.dirname(G());var Ge=N.filename||qe;N.paths=N.paths||[];var He=Me(Be,q.resolve(qe),N);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(E)){var We=q.resolve(He,E);if(E==="."||E===".."||E.slice(-1)==="/")We+="/";var Ve=loadAsFileSync(We)||loadAsDirectorySync(We);if(Ve)return Me(Be,Ve,N)}else if(Ue&&$(E)){return E}else{var Ke=loadNodeModulesSync(E,He);if(Ke)return Me(Be,Ke,N)}var Qe=new Error("Cannot find module '"+E+"' from '"+Ge+"'");Qe.code="MODULE_NOT_FOUND";throw Qe;function loadAsFileSync(E){var R=loadpkg(q.dirname(E));if(R&&R.dir&&R.pkg&&N.pathFilter){var $=q.relative(R.dir,E);var j=N.pathFilter(R.pkg,E,$);if(j){E=q.resolve(R.dir,j)}}if(ie(E)){return E}for(var G=0;G{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;const{stringHints:$,numberHints:j}=N(47961);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,R){const N=E.reduce(((E,N)=>Math.max(E,R(N))),0);return E.filter((E=>R(E)===N))}function filterChildren(E){let R=E;R=filterMax(R,(E=>E.dataPath?E.dataPath.length:0));R=filterMax(R,(E=>q[E.keyword]||2));return R}function findAllChildren(E,R){let N=E.length-1;const predicate=R=>E[N].schemaPath.indexOf(R)!==0;while(N>-1&&!R.every(predicate)){if(E[N].keyword==="anyOf"||E[N].keyword==="oneOf"){const R=extractRefs(E[N]);const $=findAllChildren(E.slice(0,N),R.concat(E[N].schemaPath));N=$-1}else{N-=1}}return N+1}function extractRefs(E){const{schema:R}=E;if(!Array.isArray(R)){return[]}return R.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const R=[];let N=E.length-1;while(N>0){const $=E[N];if($.keyword==="anyOf"||$.keyword==="oneOf"){const j=extractRefs($);const q=findAllChildren(E.slice(0,N),j.concat($.schemaPath));if(q!==N){R.push(Object.assign({},$,{children:E.slice(q,N)}));N=q}else{R.push($)}}else{R.push($)}N-=1}if(N===0){R.push(E[N])}return R.reverse()}function indent(E,R){return E.replace(/\n(?!$)/g,`\n${R}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const R=findFirstTypedSchema(E);return likeNumber(R)||likeInteger(R)||likeString(R)||likeNull(R)||likeBoolean(R)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,R){if(likeNumber(E)||likeInteger(E)){return j(E,R)}else if(likeString(E)){return $(E,R)}return[]}class ValidationError extends Error{constructor(E,R,N={}){super();this.name="ValidationError";this.errors=E;this.schema=R;let $;let j;if(R.title&&(!N.name||!N.baseDataPath)){const E=R.title.match(/^(.+) (.+)$/);if(E){if(!N.name){[,$]=E}if(!N.baseDataPath){[,,j]=E}}}this.headerName=N.name||$||"Object";this.baseDataPath=N.baseDataPath||j||"configuration";this.postFormatter=N.postFormatter||null;const q=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${q}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const R=E.split("/");let N=this.schema;for(let E=1;E{if(!j){return this.formatSchema(R,$,N)}if(N.includes(R)){return"(recursive)"}return this.formatSchema(R,$,N.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){$=!R;return formatInnerSchema(E.not)}const N=!E.not.not;const j=R?"":"non ";$=!R;return N?j+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:R}=E;const N=!Array.isArray(R)?[R]:R;return N.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:R,then:N,else:$}=E;return`${R?`if ${formatInnerSchema(R)}`:""}${N?` then ${formatInnerSchema(N)}`:""}${$?` else ${formatInnerSchema($)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[N,...$]=getHints(E,R);const j=`${N}${$.length>0?` ${formatHints($)}`:""}`;return R?j:$.length>0?`non-${N} | ${j}`:`non-${N}`}if(likeString(E)){const[N,...$]=getHints(E,R);const j=`${N}${$.length>0?` ${formatHints($)}`:""}`;return R?j:j==="string"?"non-string":`non-string | ${j}`}if(likeBoolean(E)){return`${R?"":"non-"}boolean`}if(likeArray(E)){$=true;const R=[];if(typeof E.minItems==="number"){R.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){R.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){R.push("should not have duplicate items")}const N=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let j="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){j=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(N){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){R.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){j=`${formatInnerSchema(E.items)}`}else{j="any"}}else{j="any"}if(E.contains&&Object.keys(E.contains).length>0){R.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${j}${N?", ...":""}]${R.length>0?` (${R.join(", ")})`:""}`}if(likeObject(E)){$=true;const R=[];if(typeof E.minProperties==="number"){R.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){R.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const N=Object.keys(E.patternProperties);R.push(`additional property names should match pattern${N.length>1?"s":""} ${N.map((E=>JSON.stringify(E))).join(" | ")}`)}const N=E.properties?Object.keys(E.properties):[];const j=E.required?E.required:[];const q=[...new Set([].concat(j).concat(N))];const G=q.map((E=>{const R=j.includes(E);return`${E}${R?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ie,propertyNames:ae,patternRequired:le}=E;if(ie){Object.keys(ie).forEach((E=>{const N=ie[E];if(Array.isArray(N)){R.push(`should have ${N.length>1?"properties":"property"} ${N.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{R.push(`should be valid according to the schema ${formatInnerSchema(N)} when property '${E}' is present`)}}))}if(ae&&Object.keys(ae).length>0){R.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(le&&le.length>0){R.push(`should have property matching pattern ${le.map((E=>JSON.stringify(E)))}`)}return`object {${G?` ${G} `:""}}${R.length>0?` (${R.join(", ")})`:""}`}if(likeNull(E)){return`${R?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,R,N=false,$=true){if(!E){return""}if(Array.isArray(R)){for(let N=0;N ${E.description}`}if(E.link){j+=`\n-> Read more at ${E.link}`}return j}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}let R="";if(E.description){R+=`\n-> ${E.description}`}if(E.link){R+=`\n-> Read more at ${E.link}`}return R}formatValidationError(E){const{keyword:R,dataPath:N}=E;const $=`${this.baseDataPath}${N}`;switch(R){case"type":{const{parentSchema:R,params:N}=E;switch(N.type){case"number":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"integer":return`${$} should be an ${this.getSchemaPartText(R,false,true)}`;case"string":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"boolean":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"array":return`${$} should be an array:\n${this.getSchemaPartText(R)}`;case"object":return`${$} should be an object:\n${this.getSchemaPartText(R)}`;case"null":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;default:return`${$} should be:\n${this.getSchemaPartText(R)}`}}case"instanceof":{const{parentSchema:R}=E;return`${$} should be an instance of ${this.getSchemaPartText(R,false,true)}`}case"pattern":{const{params:R,parentSchema:N}=E;const{pattern:j}=R;return`${$} should match pattern ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"format":{const{params:R,parentSchema:N}=E;const{format:j}=R;return`${$} should match format ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"formatMinimum":case"formatMaximum":{const{params:R,parentSchema:N}=E;const{comparison:j,limit:q}=R;return`${$} should be ${j} ${JSON.stringify(q)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:R,params:N}=E;const{comparison:j,limit:q}=N;const[,...G]=getHints(R,true);if(G.length===0){G.push(`should be ${j} ${q}`)}return`${$} ${G.join(" ")}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"multipleOf":{const{params:R,parentSchema:N}=E;const{multipleOf:j}=R;return`${$} should be multiple of ${j}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"patternRequired":{const{params:R,parentSchema:N}=E;const{missingPattern:j}=R;return`${$} should have property matching pattern ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minLength":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty string${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}const q=j-1;return`${$} should be longer than ${q} character${q>1?"s":""}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty array${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}return`${$} should not have fewer than ${j} items${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minProperties":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty object${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}return`${$} should not have fewer than ${j} properties${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxLength":{const{params:R,parentSchema:N}=E;const{limit:j}=R;const q=j+1;return`${$} should be shorter than ${q} character${q>1?"s":""}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} items${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxProperties":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} properties${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"uniqueItems":{const{params:R,parentSchema:N}=E;const{i:j}=R;return`${$} should not contain the item '${E.data[j]}' twice${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"additionalItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} items${getSchemaNonTypes(N)}. These items are valid:\n${this.getSchemaPartText(N)}`}case"contains":{const{parentSchema:R}=E;return`${$} should contains at least one ${this.getSchemaPartText(R,["contains"])} item${getSchemaNonTypes(R)}.`}case"required":{const{parentSchema:R,params:N}=E;const j=N.missingProperty.replace(/^\./,"");const q=R&&Boolean(R.properties&&R.properties[j]);return`${$} misses the property '${j}'${getSchemaNonTypes(R)}.${q?` Should be:\n${this.getSchemaPartText(R,["properties",j])}`:this.getSchemaPartDescription(R)}`}case"additionalProperties":{const{params:R,parentSchema:N}=E;const{additionalProperty:j}=R;return`${$} has an unknown property '${j}'${getSchemaNonTypes(N)}. These properties are valid:\n${this.getSchemaPartText(N)}`}case"dependencies":{const{params:R,parentSchema:N}=E;const{property:j,deps:q}=R;const G=q.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${$} should have properties ${G} when property '${j}' is present${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"propertyNames":{const{params:R,parentSchema:N,schema:j}=E;const{propertyName:q}=R;return`${$} property name '${q}' is invalid${getSchemaNonTypes(N)}. Property names should be match format ${JSON.stringify(j.format)}.${this.getSchemaPartDescription(N)}`}case"enum":{const{parentSchema:R}=E;if(R&&R.enum&&R.enum.length===1){return`${$} should be ${this.getSchemaPartText(R,false,true)}`}return`${$} should be one of these:\n${this.getSchemaPartText(R)}`}case"const":{const{parentSchema:R}=E;return`${$} should be equal to constant ${this.getSchemaPartText(R,false,true)}`}case"not":{const R=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const N=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${$} should be any ${N}${R}.`}const{schema:j,parentSchema:q}=E;return`${$} should not be ${this.getSchemaPartText(j,false,true)}${q&&likeObject(q)?`\n${this.getSchemaPartText(q)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:R,children:N}=E;if(N&&N.length>0){if(E.schema.length===1){const E=N[N.length-1];const $=N.slice(0,N.length-1);return this.formatValidationError(Object.assign({},E,{children:$,parentSchema:Object.assign({},R,E.parentSchema)}))}let j=filterChildren(N);if(j.length===1){return this.formatValidationError(j[0])}j=groupChildrenByFirstChild(j);return`${$} should be one of these:\n${this.getSchemaPartText(R)}\nDetails:\n${j.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${$} should be one of these:\n${this.getSchemaPartText(R)}`}case"if":{const{params:R,parentSchema:N}=E;const{failingKeyword:j}=R;return`${$} should match "${j}" schema:\n${this.getSchemaPartText(N,[j])}`}case"absolutePath":{const{message:R,parentSchema:N}=E;return`${$}: ${R}${this.getSchemaPartDescription(N)}`}default:{const{message:R,parentSchema:N}=E;const j=JSON.stringify(E,null,2);return`${$} ${R} (${j}).\n${this.getSchemaPartText(N,false)}`}}}formatValidationErrors(E){return E.map((E=>{let R=this.formatValidationError(E);if(this.postFormatter){R=this.postFormatter(R,E)}return` - ${indent(R," ")}`})).join("\n")}}var G=ValidationError;R["default"]=G},15235:(E,R,N)=>{"use strict";const{validate:$,ValidationError:j}=N(18110);E.exports={validate:$,ValidationError:j}},77102:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function errorMessage(E,R,N){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:N},message:E,parentSchema:R}}function getErrorFor(E,R,N){const $=E?`The provided value ${JSON.stringify(N)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(N)} is an absolute path!`;return errorMessage($,R,N)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,R){const callback=N=>{let $=true;const j=N.includes("!");if(j){callback.errors=[errorMessage(`The provided value ${JSON.stringify(N)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,R,N)];$=false}const q=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(N);if(!q){callback.errors=[getErrorFor(E,R,N)];$=false}return $};callback.errors=[];return callback}});return E}var N=addAbsolutePathKeyword;R["default"]=N},95855:E=>{"use strict";class Range{static getOperator(E,R){if(E==="left"){return R?">":">="}return R?"<":"<="}static formatRight(E,R,N){if(R===false){return Range.formatLeft(E,!R,!N)}return`should be ${Range.getOperator("right",N)} ${E}`}static formatLeft(E,R,N){if(R===false){return Range.formatRight(E,!R,!N)}return`should be ${Range.getOperator("left",N)} ${E}`}static formatRange(E,R,N,$,j){let q="should be";q+=` ${Range.getOperator(j?"left":"right",j?N:!N)} ${E} `;q+=j?"and":"or";q+=` ${Range.getOperator(j?"right":"left",j?$:!$)} ${R}`;return q}static getRangeValue(E,R){let N=R?Infinity:-Infinity;let $=-1;const j=R?([E])=>E<=N:([E])=>E>=N;for(let R=0;R-1){return E[$]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,R=false){this._left.push([E,R])}right(E,R=false){this._right.push([E,R])}format(E=true){const[R,N]=Range.getRangeValue(this._left,E);const[$,j]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(R)&&!Number.isFinite($)){return""}const q=N?R+1:R;const G=j?$-1:$;if(q===G){return`should be ${E?"":"!"}= ${q}`}if(Number.isFinite(R)&&!Number.isFinite($)){return Range.formatLeft(R,E,N)}if(!Number.isFinite(R)&&Number.isFinite($)){return Range.formatRight($,E,j)}return Range.formatRange(R,$,N,j,E)}}E.exports=Range},47961:(E,R,N)=>{"use strict";const $=N(95855);E.exports.stringHints=function stringHints(E,R){const N=[];let $="string";const j={...E};if(!R){const E=j.minLength;const R=j.formatMinimum;const N=j.formatExclusiveMaximum;j.minLength=j.maxLength;j.maxLength=E;j.formatMinimum=j.formatMaximum;j.formatMaximum=R;j.formatExclusiveMaximum=!j.formatExclusiveMinimum;j.formatExclusiveMinimum=!N}if(typeof j.minLength==="number"){if(j.minLength===1){$="non-empty string"}else{const E=Math.max(j.minLength-1,0);N.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof j.maxLength==="number"){if(j.maxLength===0){$="empty string"}else{const E=j.maxLength+1;N.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if(j.pattern){N.push(`should${R?"":" not"} match pattern ${JSON.stringify(j.pattern)}`)}if(j.format){N.push(`should${R?"":" not"} match format ${JSON.stringify(j.format)}`)}if(j.formatMinimum){N.push(`should be ${j.formatExclusiveMinimum?">":">="} ${JSON.stringify(j.formatMinimum)}`)}if(j.formatMaximum){N.push(`should be ${j.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(j.formatMaximum)}`)}return[$].concat(N)};E.exports.numberHints=function numberHints(E,R){const N=[E.type==="integer"?"integer":"number"];const j=new $;if(typeof E.minimum==="number"){j.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){j.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){j.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){j.right(E.exclusiveMaximum,true)}const q=j.format(R);if(q){N.push(q)}if(typeof E.multipleOf==="number"){N.push(`should${R?"":" not"} be multiple of ${E.multipleOf}`)}return N}},18110:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.validate=validate;Object.defineProperty(R,"ValidationError",{enumerable:true,get:function(){return j.default}});var $=_interopRequireDefault(N(77102));var j=_interopRequireDefault(N(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const q=N(33866);const G=N(35525);const ie=new q({allErrors:true,verbose:true,$data:true});G(ie,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,$.default)(ie);function validate(E,R,N){let $=[];if(Array.isArray(R)){$=Array.from(R,(R=>validateObject(E,R)));$.forEach(((E,R)=>{const applyPrefix=E=>{E.dataPath=`[${R}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));$=$.reduce(((E,R)=>{E.push(...R);return E}),[])}else{$=validateObject(E,R)}if($.length>0){throw new j.default($,E,N)}}function validateObject(E,R){const N=ie.compile(E);const $=N(R);if($)return[];return N.errors?filterErrors(N.errors):[]}function filterErrors(E){let R=[];for(const N of E){const{dataPath:E}=N;let $=[];R=R.filter((R=>{if(R.dataPath.includes(E)){if(R.children){$=$.concat(R.children.slice(0))}R.children=undefined;$.push(R);return false}return true}));if($.length){N.children=$}R.push(N)}return R}},72679:E=>{"use strict";E.exports=E=>{if(typeof E!=="string"){throw new TypeError("Expected a string, got "+typeof E)}if(E.charCodeAt(0)===65279){return E.slice(1)}return E}},96204:(E,R,N)=>{"use strict";const $=N(22037);const j=N(76224);const q=N(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){ie=1}else if(G.FORCE_COLOR==="false"){ie=0}else{ie=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,R){if(ie===0){return 0}if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}if(E&&!R&&ie===undefined){return 0}const N=ie||0;if(G.TERM==="dumb"){return N}if(process.platform==="win32"){const E=$.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return N}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return N}function getSupportLevel(E){const R=supportsColor(E,E&&E.isTTY);return translateLevel(R)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,j.isatty(1))),stderr:translateLevel(supportsColor(true,j.isatty(2)))}},78802:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncParallelBailHookCodeFactory extends j{content({onError:E,onResult:R,onDone:N}){let $="";$+=`var _results = new Array(${this.options.taps.length});\n`;$+="var _checkDone = function() {\n";$+="for(var i = 0; i < _results.length; i++) {\n";$+="var item = _results[i];\n";$+="if(item === undefined) return false;\n";$+="if(item.result !== undefined) {\n";$+=R("item.result");$+="return true;\n";$+="}\n";$+="if(item.error) {\n";$+=E("item.error");$+="return true;\n";$+="}\n";$+="}\n";$+="return false;\n";$+="}\n";$+=this.callTapsParallel({onError:(E,R,N,$)=>{let j="";j+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${R} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=N();j+="}\n";return j},onResult:(E,R,N,$)=>{let j="";j+=`if(${E} < _results.length && (${R} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${R} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=N();j+="}\n";return j},onTap:(E,R,N,$)=>{let j="";if(E>0){j+=`if(${E} >= _results.length) {\n`;j+=N();j+="} else {\n"}j+=R();if(E>0)j+="}\n";return j},onDone:N});return $}}const q=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncParallelBailHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncParallelHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsParallel({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncParallelHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncParallelHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesBailHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,onDone:$}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onResult:(E,N,$)=>`if(${N} !== undefined) {\n${R(N)}\n} else {\n${$()}}\n`,resultReturns:N,onDone:$})}}const q=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesBailHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesLoopHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsLooping({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesLoopHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesLoopHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesWaterfallHookCodeFactory extends j{content({onError:E,onResult:R,onDone:N}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onResult:(E,R,N)=>{let $="";$+=`if(${R} !== undefined) {\n`;$+=`${this._args[0]} = ${R};\n`;$+=`}\n`;$+=N();return $},onDone:()=>R(this._args[0])})}}const q=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesWaterfallHook(E=[],R=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const N=new $(E,R);N.constructor=AsyncSeriesWaterfallHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,R,N)=>{"use strict";const $=N(73837);const j=$.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],R=undefined){this._args=E;this.name=R;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,R,N){if(typeof R==="string"){R={name:R.trim()}}else if(typeof R!=="object"||R===null){throw new Error("Invalid tap options")}if(typeof R.name!=="string"||R.name===""){throw new Error("Missing name for tap")}if(typeof R.context!=="undefined"){j()}R=Object.assign({type:E,fn:N},R);R=this._runRegisterInterceptors(R);this._insert(R)}tap(E,R){this._tap("sync",E,R)}tapAsync(E,R){this._tap("async",E,R)}tapPromise(E,R){this._tap("promise",E,R)}_runRegisterInterceptors(E){for(const R of this.interceptors){if(R.register){const N=R.register(E);if(N!==undefined){E=N}}}return E}withOptions(E){const mergeOptions=R=>Object.assign({},E,typeof R==="string"?{name:R}:R);return{name:this.name,tap:(E,R)=>this.tap(mergeOptions(E),R),tapAsync:(E,R)=>this.tapAsync(mergeOptions(E),R),tapPromise:(E,R)=>this.tapPromise(mergeOptions(E),R),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let R=0;R0){$--;const E=this.taps[$];this.taps[$+1]=E;const j=E.stage||0;if(R){if(R.has(E.name)){R.delete(E.name);continue}if(R.size>0){continue}}if(j>N){continue}$++;break}this.taps[$]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let R;switch(this.options.type){case"sync":R=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":R=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const N=this.contentWithInterceptors({onError:R=>{E=true;return`_error(${R});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let $="";$+='"use strict";\n';$+=this.header();$+="return new Promise((function(_resolve, _reject) {\n";if(E){$+="var _sync = true;\n";$+="function _error(_err) {\n";$+="if(_sync)\n";$+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";$+="else\n";$+="_reject(_err);\n";$+="};\n"}$+=N;if(E){$+="_sync = false;\n"}$+="}));\n";R=new Function(this.args(),$);break}this.deinit();return R}setup(E,R){E._x=R.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const R=E.onError;const N=E.onResult;const $=E.onDone;let j="";for(let E=0;E{let N="";for(let R=0;R{let R="";for(let N=0;N{let E="";for(let R=0;R0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:R,onResult:N,onDone:$,rethrowIfPossible:j}){let q="";let G=false;for(let R=0;RE.type!=="sync"));const ie=N||j;let ae="";let le=$;let _e=0;for(let N=this.options.taps.length-1;N>=0;N--){const j=N;const Ee=le!==$&&(this.options.taps[j].type!=="sync"||_e++>20);if(Ee){_e=0;ae+=`function _next${j}() {\n`;ae+=le();ae+=`}\n`;le=()=>`${ie?"return ":""}_next${j}();\n`}const we=le;const doneBreak=E=>{if(E)return"";return $()};const Me=this.callTap(j,{onError:R=>E(j,R,we,doneBreak),onResult:R&&(E=>R(j,E,we,doneBreak)),onDone:!R&&we,rethrowIfPossible:q&&(G<0||jMe}ae+=le();return ae}callTapsLooping({onError:E,onDone:R,rethrowIfPossible:N}){if(this.options.taps.length===0)return R();const $=this.options.taps.every((E=>E.type==="sync"));let j="";if(!$){j+="var _looper = (function() {\n";j+="var _loopAsync = false;\n"}j+="var _loop;\n";j+="do {\n";j+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${R} !== undefined) {\n`;q+="_loop = true;\n";if(!$)q+="if(_loopAsync) _looper();\n";q+=j(true);q+=`} else {\n`;q+=N();q+=`}\n`;return q},onDone:R&&(()=>{let E="";E+="if(!_loop) {\n";E+=R();E+="}\n";return E}),rethrowIfPossible:N&&$});j+="} while(_loop);\n";if(!$){j+="_loopAsync = true;\n";j+="});\n";j+="_looper();\n"}return j}callTapsParallel({onError:E,onResult:R,onDone:N,rethrowIfPossible:$,onTap:j=((E,R)=>R())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:R,onDone:N,rethrowIfPossible:$})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(N){q+="var _done = (function() {\n";q+=N();q+="});\n"}for(let G=0;G{if(N)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!N)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=j(G,(()=>this.callTap(G,{onError:R=>{let N="";N+="if(_counter > 0) {\n";N+=E(G,R,done,doneBreak);N+="}\n";return N},onResult:R&&(E=>{let N="";N+="if(_counter > 0) {\n";N+=R(G,E,done,doneBreak);N+="}\n";return N}),onDone:!R&&(()=>done()),rethrowIfPossible:$})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:R}={}){let N=this._args;if(E)N=[E].concat(N);if(R)N=N.concat(R);if(N.length===0){return""}else{return N.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,R,N)=>{"use strict";const $=N(73837);const defaultFactory=(E,R)=>R;class HookMap{constructor(E,R=undefined){this._map=new Map;this.name=R;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const R=this.get(E);if(R!==undefined){return R}let N=this._factory(E);const $=this._interceptors;for(let R=0;R<$.length;R++){N=$[R].factory(E,N)}this._map.set(E,N);return N}intercept(E){this._interceptors.push(Object.assign({factory:defaultFactory},E))}}HookMap.prototype.tap=$.deprecate((function(E,R,N){return this.for(E).tap(R,N)}),"HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.");HookMap.prototype.tapAsync=$.deprecate((function(E,R,N){return this.for(E).tapAsync(R,N)}),"HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.");HookMap.prototype.tapPromise=$.deprecate((function(E,R,N){return this.for(E).tapPromise(R,N)}),"HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.");E.exports=HookMap},20937:(E,R,N)=>{"use strict";const $=N(67332);class MultiHook{constructor(E,R=undefined){this.hooks=E;this.name=R}tap(E,R){for(const N of this.hooks){N.tap(E,R)}}tapAsync(E,R){for(const N of this.hooks){N.tapAsync(E,R)}}tapPromise(E,R){for(const N of this.hooks){N.tapPromise(E,R)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const R of this.hooks){R.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((R=>R.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncBailHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,onDone:$,rethrowIfPossible:j}){return this.callTapsSeries({onError:(R,N)=>E(N),onResult:(E,N,$)=>`if(${N} !== undefined) {\n${R(N)};\n} else {\n${$()}}\n`,resultReturns:N,onDone:$,rethrowIfPossible:j})}}const q=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncBailHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncHookCodeFactory extends j{content({onError:E,onDone:R,rethrowIfPossible:N}){return this.callTapsSeries({onError:(R,N)=>E(N),onDone:R,rethrowIfPossible:N})}}const q=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncLoopHookCodeFactory extends j{content({onError:E,onDone:R,rethrowIfPossible:N}){return this.callTapsLooping({onError:(R,N)=>E(N),onDone:R,rethrowIfPossible:N})}}const q=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncLoopHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncLoopHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncWaterfallHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,rethrowIfPossible:$}){return this.callTapsSeries({onError:(R,N)=>E(N),onResult:(E,R,N)=>{let $="";$+=`if(${R} !== undefined) {\n`;$+=`${this._args[0]} = ${R};\n`;$+=`}\n`;$+=N();return $},onDone:()=>R(this._args[0]),doneReturns:N,rethrowIfPossible:$})}}const q=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncWaterfallHook(E=[],R=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const N=new $(E,R);N.constructor=SyncWaterfallHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,R,N)=>{"use strict";R.__esModule=true;R.SyncHook=N(6728);R.SyncBailHook=N(3334);R.SyncWaterfallHook=N(81934);R.SyncLoopHook=N(52332);R.AsyncParallelHook=N(3350);R.AsyncParallelBailHook=N(78802);R.AsyncSeriesHook=N(68152);R.AsyncSeriesBailHook=N(4953);R.AsyncSeriesLoopHook=N(25810);R.AsyncSeriesWaterfallHook=N(66760);R.HookMap=N(28636);R.MultiHook=N(20937)},96013:(E,R,N)=>{"use strict";const $=N(98225);E.exports=$.default},98225:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireWildcard(N(71017));var j=_interopRequireWildcard(N(22037));var q=N(63703);var G=N(15235);var ie=_interopRequireDefault(N(35764));var ae=_interopRequireWildcard(N(54703));var le=_interopRequireDefault(N(97909));var _e=N(78605);var Ee=_interopRequireWildcard(N(11519));var we=N(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}class TerserPlugin{constructor(E={}){(0,G.validate)(Ee,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:R,terserOptions:N={},test:$=/\.[cm]?js(\?.*)?$/i,extractComments:j=true,parallel:q=true,include:ie,exclude:ae}=E;this.options={test:$,extractComments:j,parallel:q,include:ie,exclude:ae,minify:R,terserOptions:N}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,R,N,$){if(E.line){const j=$&&$.originalPositionFor({line:E.line,column:E.col});if(j&&j.source&&N){return new Error(`${R} from Terser\n${E.message} [${N.shorten(j.source)}:${j.line},${j.column}][${R}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${R} from Terser\n${E.message} [${R}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${R} from Terser\n${E.stack}`)}return new Error(`${R} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const R=j.cpus()||{length:1};return E===true?R.length-1:Math.min(Number(E)||0,R.length-1)}async optimize(E,R,j,G){const ae=R.getCache("TerserWebpackPlugin");let Ee=0;const Me=await Promise.all(Object.keys(j).filter((N=>{const{info:$}=R.getAsset(N);if($.minimized||$.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(N)){return false}return true})).map((async E=>{const{info:N,source:$}=R.getAsset(E);const j=ae.getLazyHashedEtag($);const q=ae.getItemCache(E,j);const G=await q.getPromise();if(!G){Ee+=1}return{name:E,info:N,inputSource:$,output:G,cacheItem:q}})));let Ie;let Te;let Ne;if(G.availableNumberOfCores>0){Ne=Math.min(Ee,G.availableNumberOfCores);Ie=()=>{if(Te){return Te}Te=new _e.Worker(N.ab+"minify.js",{numWorkers:Ne,enableWorkerThreads:true});const E=Te.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const R=Te.getStderr();if(R){R.on("data",(E=>process.stderr.write(E)))}return Te}}const Be=(0,le.default)(Ie&&Ee>0?Ne:Infinity);const{SourceMapSource:Le,ConcatSource:je,RawSource:ze}=E.webpack.sources;const Ue=new Map;const qe=[];for(const E of Me){qe.push(Be((async()=>{const{name:N,inputSource:j,info:G,cacheItem:ae}=E;let{output:le}=E;if(!le){let E;let _e;const{source:Ee,map:Me}=j.sourceAndMap();E=Ee;if(Me){if(TerserPlugin.isSourceMap(Me)){_e=Me}else{_e=Me;R.warnings.push(new Error(`${N} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Te={name:N,input:E,inputSourceMap:_e,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Te.minifyOptions.module==="undefined"){if(typeof G.javascriptModule!=="undefined"){Te.minifyOptions.module=G.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(N)){Te.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(N)){Te.minifyOptions.module=false}}try{le=await(Ie?Ie().transform((0,ie.default)(Te)):(0,we.minify)(Te))}catch(E){const $=_e&&TerserPlugin.isSourceMap(_e);R.errors.push(TerserPlugin.buildError(E,N,$?R.requestShortener:undefined,$?new q.SourceMapConsumer(_e):undefined));return}let Ne;if(this.options.extractComments.banner!==false&&le.extractedComments&&le.extractedComments.length>0&&le.code.startsWith("#!")){const E=le.code.indexOf("\n");Ne=le.code.substring(0,E);le.code=le.code.substring(E+1)}if(le.map){le.source=new Le(le.code,N,le.map,E,_e,true)}else{le.source=new ze(le.code)}if(le.extractedComments&&le.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let j="";let q=N;const G=q.indexOf("?");if(G>=0){j=q.substr(G);q=q.substr(0,G)}const ie=q.lastIndexOf("/");const ae=ie===-1?q:q.substr(ie+1);const _e={filename:q,basename:ae,query:j};le.commentsFilename=R.getPath(E,_e);let Ee;if(this.options.extractComments.banner!==false){Ee=this.options.extractComments.banner||`For license information please see ${$.relative($.dirname(N),le.commentsFilename).replace(/\\/g,"/")}`;if(typeof Ee==="function"){Ee=Ee(le.commentsFilename)}if(Ee){le.source=new je(Ne?`${Ne}\n`:"",`/*! ${Ee} */\n`,le.source)}}const we=le.extractedComments.sort().join("\n\n");le.extractedCommentsSource=new ze(`${we}\n`)}await ae.storePromise({source:le.source,commentsFilename:le.commentsFilename,extractedCommentsSource:le.extractedCommentsSource})}const _e={minimized:true};const{source:Ee,extractedCommentsSource:Me}=le;if(Me){const{commentsFilename:E}=le;_e.related={license:E};Ue.set(N,{extractedCommentsSource:Me,commentsFilename:E})}R.updateAsset(N,Ee,_e)})))}await Promise.all(qe);if(Te){await Te.end()}await Array.from(Ue).sort().reduce((async(E,[N,$])=>{const j=await E;const{commentsFilename:q,extractedCommentsSource:G}=$;if(j&&j.commentsFilename===q){const{from:E,source:$}=j;const ie=`${E}|${N}`;const le=`${q}|${ie}`;const _e=[$,G].map((E=>ae.getLazyHashedEtag(E))).reduce(((E,R)=>ae.mergeEtags(E,R)));let Ee=await ae.getPromise(le,_e);if(!Ee){Ee=new je(Array.from(new Set([...$.source().split("\n\n"),...G.source().split("\n\n")])).join("\n\n"));await ae.storePromise(le,_e,Ee)}R.updateAsset(q,Ee);return{source:Ee,commentsFilename:q,from:ie}}const ie=R.getAsset(q);if(ie){return{source:ie.source,commentsFilename:q,from:q}}R.emitAsset(q,G,{extractedComments:true});return{source:G,commentsFilename:q,from:N}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:R}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(R.environment||{})}const N=this.constructor.name;const $=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(N,(R=>{const j=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(R);const q=(0,ie.default)({terser:ae.version,terserOptions:this.options.terserOptions});j.chunkHash.tap(N,((E,R)=>{R.update("TerserPlugin");R.update(q)}));R.hooks.processAssets.tapPromise({name:N,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(N=>this.optimize(E,R,N,{availableNumberOfCores:$})));R.hooks.statsPrinter.tap(N,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:R,formatFlag:N})=>E?R(N("minimized")):""))}))}))}}var Me=TerserPlugin;R["default"]=Me},6218:(E,R,N)=>{"use strict";E=N.nmd(E);const{minify:$}=N(44858);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const R=typeof E;return E!=null&&(R==="object"||R==="function")}function buildComments(E,R,N){const $={};let j;if(R.format){({comments:j}=R.format)}else if(R.output){({comments:j}=R.output)}$.preserve=typeof j!=="undefined"?j:false;if(typeof E==="boolean"&&E){$.extract="some"}else if(typeof E==="string"||E instanceof RegExp){$.extract=E}else if(typeof E==="function"){$.extract=E}else if(E&&isObject(E)){$.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{$.preserve=typeof j!=="undefined"?j:"some";$.extract=false}["preserve","extract"].forEach((E=>{let R;let N;switch(typeof $[E]){case"boolean":$[E]=$[E]?()=>true:()=>false;break;case"function":break;case"string":if($[E]==="all"){$[E]=()=>true;break}if($[E]==="some"){$[E]=(E,R)=>(R.type==="comment2"||R.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(R.value);break}R=$[E];$[E]=(E,N)=>new RegExp(R).test(N.value);break;default:N=$[E];$[E]=(E,R)=>N.test(R.value)}}));return(E,R)=>{if($.extract(E,R)){const E=R.type==="comment2"?`/*${R.value}*/`:`//${R.value}`;if(!N.includes(E)){N.push(E)}}return $.preserve(E,R)}}async function minify(E){const{name:R,input:N,inputSourceMap:j,minify:q,minifyOptions:G}=E;if(q){return q({[R]:N},j,G)}const ie=buildTerserOptions(G);if(j){ie.sourceMap={asObject:true}}const ae=[];const{extractComments:le}=E;if(ie.output){ie.output.comments=buildComments(le,ie,ae)}else if(ie.format){ie.format.comments=buildComments(le,ie,ae)}const _e=await $({[R]:N},ie);return{..._e,extractedComments:ae}}function transform(N){const $=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${N}`)(R,require,E,__filename,__dirname);return minify($)}E.exports.minify=minify;E.exports.transform=transform},73840:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(79801));var j=N(80261);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class Farm{constructor(E,R,N={}){var j,q;this._numOfWorkers=E;this._callback=R;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=N.computeWorkerKey;this._workerSchedulingPolicy=(j=N.workerSchedulingPolicy)!==null&&j!==void 0?j:"round-robin";this._taskQueue=(q=N.taskQueue)!==null&&q!==void 0?q:new $.default}doWork(E,...R){const N=new Set;const addCustomMessageListener=E=>{N.add(E);return()=>{N.delete(E)}};const onCustomMessage=E=>{N.forEach((R=>R(E)))};const $=new Promise(((R,$,q)=>{const G=this._computeWorkerKey;const ie=[j.CHILD_MESSAGE_CALL,false,E,R];let ae=null;let le=null;if(G){le=G.call(this,E,...R);ae=le==null?null:this._cacheKeys[le]}const onStart=E=>{if(le!=null){this._cacheKeys[le]=E}};const onEnd=(E,R)=>{N.clear();if(E){q(E)}else{$(R)}};const _e={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ie};if(ae){this._taskQueue.enqueue(_e,ae.getWorkerId());this._process(ae.getWorkerId())}else{this._push(_e)}}).bind(null,R));$.UNSTABLE_onCustomMessage=addCustomMessageListener;return $}_process(E){if(this._isLocked(E)){return this}const R=this._taskQueue.dequeue(E);if(!R){return this}if(R.request[1]){throw new Error("Queue implementation returned processed task")}const N=R.onEnd;const onEnd=(R,$)=>{N(R,$);this._unlock(E);this._process(E)};R.request[1]=true;this._lock(E);this._callback(E,R.request,R.onStart,onEnd,R.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const R=this._getNextWorkerOffset();for(let N=0;N{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,R){if(R==null){this._sharedQueue.enqueue(E);return}let N=this._workerQueues[R];if(N==null){N=this._workerQueues[R]=new InternalQueue}const $=this._sharedQueue.peekLast();const j={previousSharedTask:$,task:E};N.enqueue(j)}dequeue(E){var R,N,$;const j=(R=this._workerQueues[E])===null||R===void 0?void 0:R.peek();const q=(N=j===null||j===void 0?void 0:($=j.previousSharedTask)===null||$===void 0?void 0:$.request[1])!==null&&N!==void 0?N:true;if(j!=null&&q){var G,ie,ae;return(G=(ie=this._workerQueues[E])===null||ie===void 0?void 0:(ae=ie.dequeue())===null||ae===void 0?void 0:ae.task)!==null&&G!==void 0?G:null}return this._sharedQueue.dequeue()}}R["default"]=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const R={next:null,value:E};if(this._last==null){this._head=R}else{this._last.next=R}this._last=R}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,R;return(E=(R=this._head)===null||R===void 0?void 0:R.value)!==null&&E!==void 0?E:null}peekLast(){var E,R;return(E=(R=this._last)===null||R===void 0?void 0:R.value)!==null&&E!==void 0?E:null}}},89381:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,R){if(R==null){this._enqueue(E,this._sharedQueue)}else{const N=this._getWorkerQueue(R);this._enqueue(E,N)}}_enqueue(E,R){const N={priority:this._computePriority(E.request[2],...E.request[3]),task:E};R.add(N)}dequeue(E){const R=this._getWorkerQueue(E);const N=R.peek();const $=this._sharedQueue.peek();if($==null||N!=null&&N.priority<=$.priority){var j,q;return(j=(q=R.poll())===null||q===void 0?void 0:q.task)!==null&&j!==void 0?j:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let R=this._queue[E];if(R==null){R=this._queue[E]=new MinHeap}return R}}R["default"]=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const R=this._heap;R.push(E);if(R.length===1){return}let N=R.length-1;while(N>0){const $=Math.floor((N+1)/2)-1;const j=R[$];if(j.priority<=E.priority){break}R[N]=j;R[$]=E;N=$}}poll(){const E=this._heap;const R=E[0];const N=E.pop();if(R==null||E.length===0){return R!==null&&R!==void 0?R:null}let $=0;E[0]=N!==null&&N!==void 0?N:null;const j=E[0];while(true){let R=null;const N=($+1)*2;const q=N-1;const G=E[N];const ie=E[q];if(ie!=null&&ie.priority{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(60697));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{N(71267);return true}catch{return false}};class WorkerPool extends $.default{send(E,R,N,$,j){this.getWorkerById(E).send(R,N,$,j)}createWorker(E){let R;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){R=N(79084).Z}else{R=N(65164).Z}return new R(E)}}var j=WorkerPool;R["default"]=j},60697:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function path(){const E=_interopRequireWildcard(N(71017));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _types(){const E=N(80261);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}const $=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,R){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=R;this._workers=new Array(R.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const N=(0,_mergeStream().default)();const $=(0,_mergeStream().default)();const{forkOptions:j,maxRetries:q,resourceLimits:G,setupArgs:ie}=R;for(let ae=0;ae{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let R=false;const N=setTimeout((()=>{E.forceExit();R=true}),$);await E.waitForExit();clearTimeout(N);return R}));const R=await Promise.all(E);return R.reduce(((E,R)=>({forceExited:E.forceExited||R})),{forceExited:false})}}R["default"]=BaseWorkerPool},78605:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"PriorityQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(R,"FifoQueue",{enumerable:true,get:function(){return G.default}});Object.defineProperty(R,"messageParent",{enumerable:true,get:function(){return ie.default}});R.Worker=void 0;function _os(){const E=N(22037);_os=function(){return E};return E}var $=_interopRequireDefault(N(73840));var j=_interopRequireDefault(N(25265));var q=_interopRequireDefault(N(89381));var G=_interopRequireDefault(N(79801));var ie=_interopRequireDefault(N(65210));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}function getExposedMethods(E,R){let N=R.exposedMethods;if(!N){const R=require(E);N=Object.keys(R).filter((E=>typeof R[E]==="function"));if(typeof R==="function"){N=[...N,"default"]}}return N}class Worker{constructor(E,R){var N,q,G,ie,ae,le;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...R};this._ending=false;const _e={enableWorkerThreads:(N=this._options.enableWorkerThreads)!==null&&N!==void 0?N:false,forkOptions:(q=this._options.forkOptions)!==null&&q!==void 0?q:{},maxRetries:(G=this._options.maxRetries)!==null&&G!==void 0?G:3,numWorkers:(ie=this._options.numWorkers)!==null&&ie!==void 0?ie:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(ae=this._options.resourceLimits)!==null&&ae!==void 0?ae:{},setupArgs:(le=this._options.setupArgs)!==null&&le!==void 0?le:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,_e)}else{this._workerPool=new j.default(E,_e)}this._farm=new $.default(_e.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,R){getExposedMethods(E,R).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...R){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...R)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}R.Worker=Worker},80261:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PARENT_MESSAGE_CUSTOM=R.PARENT_MESSAGE_SETUP_ERROR=R.PARENT_MESSAGE_CLIENT_ERROR=R.PARENT_MESSAGE_OK=R.CHILD_MESSAGE_END=R.CHILD_MESSAGE_CALL=R.CHILD_MESSAGE_INITIALIZE=void 0;const N=0;R.CHILD_MESSAGE_INITIALIZE=N;const $=1;R.CHILD_MESSAGE_CALL=$;const j=2;R.CHILD_MESSAGE_END=j;const q=0;R.PARENT_MESSAGE_OK=q;const G=1;R.PARENT_MESSAGE_CLIENT_ERROR=G;const ie=2;R.PARENT_MESSAGE_SETUP_ERROR=ie;const ae=3;R.PARENT_MESSAGE_CUSTOM=ae},65164:(E,R,N)=>{"use strict";var $;$={value:true};R.Z=void 0;function _child_process(){const E=N(32081);_child_process=function(){return E};return E}function _stream(){const E=N(12781);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=N(22384);_supportsColor=function(){return E};return E}function _types(){const E=N(80261);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}const j=128;const q=j+9;const G=j+15;const ie=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const R=(0,_child_process().fork)(N.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(R.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(R.stdout)}if(R.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(R.stderr)}R.on("message",this._onMessage.bind(this));R.on("exit",this._onExit.bind(this));R.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=R;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let R;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:R=E[4];if(R!=null&&typeof R==="object"){const N=R;const $=global[E[1]];const j=typeof $==="function"?$:Error;R=new j(E[2]);R.type=E[1];R.stack=E[3];for(const E in N){R[E]=N[E]}}this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:R=new Error("Error when calling setup: "+E[2]);R.type=E[1];R.stack=E[3];this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==G&&E!==q){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,R,N,$){R(this);this._onProcessEnd=(...E)=>{this._request=null;return N(...E)};this._onCustomMessage=(...E)=>$(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ie);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}R.Z=ChildProcessWorker},79084:(E,R,N)=>{"use strict";var $;$={value:true};R.Z=void 0;function path(){const E=_interopRequireWildcard(N(71017));path=function(){return E};return E}function _stream(){const E=N(12781);_stream=function(){return E};return E}function _worker_threads(){const E=N(71267);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _types(){const E=N(80261);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let R;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:R=E[4];if(R!=null&&typeof R==="object"){const N=R;const $=global[E[1]];const j=typeof $==="function"?$:Error;R=new j(E[2]);R.type=E[1];R.stack=E[3];for(const E in N){R[E]=N[E]}}this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:R=new Error("Error when calling setup: "+E[2]);R.type=E[1];R.stack=E[3];this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,R,N,$){R(this);this._onProcessEnd=(...E)=>{var R;this._request=null;const $=(R=N)===null||R===void 0?void 0:R(...E);N=null;return $};this._onCustomMessage=(...E)=>$(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}R.Z=ExperimentalWorker},65210:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=messageParent;function _types(){const E=N(80261);_types=function(){return E};return E}const $=(()=>{try{const{isMainThread:E,parentPort:R}=N(71267);return!E&&R!=null}catch{return false}})();function messageParent(E,R=process){if($){const{parentPort:R}=N(71267);R.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof R.send==="function"){R.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},97909:(E,R,N)=>{"use strict";const $=N(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const R=new $;let N=0;const next=()=>{N--;if(R.size>0){R.dequeue()()}};const run=async(E,R,...$)=>{N++;const j=(async()=>E(...$))();R(j);try{await j}catch{}next()};const enqueue=($,j,...q)=>{R.enqueue(run.bind(null,$,j,...q));(async()=>{await Promise.resolve();if(N0){R.dequeue()()}})()};const generator=(E,...R)=>new Promise((N=>{enqueue(E,N,...R)}));Object.defineProperties(generator,{activeCount:{get:()=>N},pendingCount:{get:()=>R.size},clearQueue:{value:()=>{R.clear()}}});return generator};E.exports=pLimit},35764:(E,R,N)=>{"use strict";var $=N(31998);var j=16;var q=generateUID();var G=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+q+'-(\\d+)__@"',"g");var ie=/\{\s*\[native code\]\s*\}/g;var ae=/function.*?\(/;var le=/.*?=>.*?/;var _e=/[<>\/\u2028\u2029]/g;var Ee=["*","async"];var we={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return we[E]}function generateUID(){var E=$(j);var R="";for(var N=0;N0}));var j=$.filter((function(E){return Ee.indexOf(E)===-1}));if(j.length>0){return($.indexOf("async")>-1?"async ":"")+"function"+($.join("").indexOf("*")>-1?"*":"")+R.substr(N)}return R}if(R.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var je;if(R.isJSON&&!R.space){je=JSON.stringify(E)}else{je=JSON.stringify(E,R.isJSON?null:replacer,R.space)}if(typeof je!=="string"){return String(je)}if(R.unsafe!==true){je=je.replace(_e,escapeUnsafeChars)}if(N.length===0&&$.length===0&&j.length===0&&we.length===0&&Me.length===0&&Ie.length===0&&Te.length===0&&Ne.length===0&&Be.length===0&&Le.length===0){return je}return je.replace(G,(function(E,q,G,ie){if(q){return E}if(G==="D"){return'new Date("'+j[ie].toISOString()+'")'}if(G==="R"){return"new RegExp("+serialize($[ie].source)+', "'+$[ie].flags+'")'}if(G==="M"){return"new Map("+serialize(Array.from(we[ie].entries()),R)+")"}if(G==="S"){return"new Set("+serialize(Array.from(Me[ie].values()),R)+")"}if(G==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:Ie[ie].length},Ie[ie]),R)+")"}if(G==="U"){return"undefined"}if(G==="I"){return Ne[ie]}if(G==="B"){return'BigInt("'+Be[ie]+'")'}if(G==="L"){return'new URL("'+Le[ie].toString()+'")'}var ae=N[ie];return serializeFunc(ae)}))}},79956:(E,R,N)=>{var $=N(47384);var j=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,R){var N=new ArraySet;for(var $=0,j=E.length;$=0){return R}}else{var N=$.toSetString(E);if(j.call(this._set,N)){return this._set[N]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var $=N(31662);var j=5;var q=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){var R="";var N;var q=toVLQSigned(E);do{N=q&G;q>>>=j;if(q>0){N|=ie}R+=$.encode(N)}while(q>0);return R};R.decode=function base64VLQ_decode(E,R,N){var q=E.length;var ae=0;var le=0;var _e,Ee;do{if(R>=q){throw new Error("Expected more digits in base 64 VLQ value.")}Ee=$.decode(E.charCodeAt(R++));if(Ee===-1){throw new Error("Invalid base64 digit: "+E.charAt(R-1))}_e=!!(Ee&ie);Ee&=G;ae=ae+(Ee<{var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");R.encode=function(E){if(0<=E&&E{R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;function recursiveSearch(E,N,$,j,q,G){var ie=Math.floor((N-E)/2)+E;var ae=q($,j[ie],true);if(ae===0){return ie}else if(ae>0){if(N-ie>1){return recursiveSearch(ie,N,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return N1){return recursiveSearch(E,ie,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}R.search=function search(E,N,$,j){if(N.length===0){return-1}var q=recursiveSearch(-1,N.length,E,N,$,j||R.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if($(N[q],N[q-1],true)!==0){break}--q}return q}},77818:(E,R,N)=>{var $=N(47384);function generatedPositionAfter(E,R){var N=E.generatedLine;var j=R.generatedLine;var q=E.generatedColumn;var G=R.generatedColumn;return j>N||j==N&&G>=q||$.compareByGeneratedPositionsInflated(E,R)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,R){this._array.forEach(E,R)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort($.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};R.H=MappingList},72124:(E,R)=>{function swap(E,R,N){var $=E[R];E[R]=E[N];E[N]=$}function randomIntInRange(E,R){return Math.round(E+Math.random()*(R-E))}function doQuickSort(E,R,N,$){if(N<$){var j=randomIntInRange(N,$);var q=N-1;swap(E,j,$);var G=E[$];for(var ie=N;ie<$;ie++){if(R(E[ie],G)<=0){q+=1;swap(E,q,ie)}}swap(E,q+1,ie);var ae=q+1;doQuickSort(E,R,N,ae-1);doQuickSort(E,R,ae+1,$)}}R.U=function(E,R){doQuickSort(E,R,0,E.length-1)}},50257:(E,R,N)=>{var $;var j=N(47384);var q=N(81010);var G=N(79956).I;var ie=N(62225);var ae=N(72124).U;function SourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}return N.sections!=null?new IndexedSourceMapConsumer(N,R):new BasicSourceMapConsumer(N,R)}SourceMapConsumer.fromSourceMap=function(E,R){return BasicSourceMapConsumer.fromSourceMap(E,R)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,R){var N=E.charAt(R);return N===";"||N===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,R){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,R,N){var $=R||null;var q=N||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var R=E.source===null?null:this._sources.at(E.source);R=j.computeSourceURL(ie,R,this._sourceMapURL);return{source:R,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,$)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var R=j.getArg(E,"line");var N={source:j.getArg(E,"source"),originalLine:R,originalColumn:j.getArg(E,"column",0)};N.source=this._findSourceIndex(N.source);if(N.source<0){return[]}var $=[];var G=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){$.push({line:j.getArg(ie,"generatedLine",null),column:j.getArg(ie,"generatedColumn",null),lastColumn:j.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var le=ie.originalColumn;while(ie&&ie.originalLine===R&&ie.originalColumn==le){$.push({line:j.getArg(ie,"generatedLine",null),column:j.getArg(ie,"generatedColumn",null),lastColumn:j.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return $};R.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}var $=j.getArg(N,"version");var q=j.getArg(N,"sources");var ie=j.getArg(N,"names",[]);var ae=j.getArg(N,"sourceRoot",null);var le=j.getArg(N,"sourcesContent",null);var _e=j.getArg(N,"mappings");var Ee=j.getArg(N,"file",null);if($!=this._version){throw new Error("Unsupported version: "+$)}if(ae){ae=j.normalize(ae)}q=q.map(String).map(j.normalize).map((function(E){return ae&&j.isAbsolute(ae)&&j.isAbsolute(E)?j.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return j.computeSourceURL(ae,E,R)}));this.sourceRoot=ae;this.sourcesContent=le;this._mappings=_e;this._sourceMapURL=R;this.file=Ee}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var R=E;if(this.sourceRoot!=null){R=j.relative(this.sourceRoot,R)}if(this._sources.has(R)){return this._sources.indexOf(R)}var N;for(N=0;N1){Be.source=le+je[1];le+=je[1];Be.originalLine=q+je[2];q=Be.originalLine;Be.originalLine+=1;Be.originalColumn=G+je[3];G=Be.originalColumn;if(je.length>4){Be.name=_e+je[4];_e+=je[4]}}Ne.push(Be);if(typeof Be.originalLine==="number"){Te.push(Be)}}}ae(Ne,j.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Te,j.compareByOriginalPositions);this.__originalMappings=Te};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,R,N,$,j,G){if(E[N]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[N])}if(E[$]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[$])}return q.search(E,R,j,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var $=this._generatedMappings[N];if($.generatedLine===R.generatedLine){var q=j.getArg($,"source",null);if(q!==null){q=this._sources.at(q);q=j.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=j.getArg($,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:j.getArg($,"originalLine",null),column:j.getArg($,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,R){if(!this.sourcesContent){return null}var N=this._findSourceIndex(E);if(N>=0){return this.sourcesContent[N]}var $=E;if(this.sourceRoot!=null){$=j.relative(this.sourceRoot,$)}var q;if(this.sourceRoot!=null&&(q=j.urlParse(this.sourceRoot))){var G=$.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+$)){return this.sourcesContent[this._sources.indexOf("/"+$)]}}if(R){return null}else{throw new Error('"'+$+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var R=j.getArg(E,"source");R=this._findSourceIndex(R);if(R<0){return{line:null,column:null,lastColumn:null}}var N={source:R,originalLine:j.getArg(E,"line"),originalColumn:j.getArg(E,"column")};var $=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if($>=0){var q=this._originalMappings[$];if(q.source===N.source){return{line:j.getArg(q,"generatedLine",null),column:j.getArg(q,"generatedColumn",null),lastColumn:j.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};$=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}var $=j.getArg(N,"version");var q=j.getArg(N,"sections");if($!=this._version){throw new Error("Unsupported version: "+$)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var N=j.getArg(E,"offset");var $=j.getArg(N,"line");var q=j.getArg(N,"column");if(${var $=N(62225);var j=N(47384);var q=N(79956).I;var G=N(77818).H;function SourceMapGenerator(E){if(!E){E={}}this._file=j.getArg(E,"file",null);this._sourceRoot=j.getArg(E,"sourceRoot",null);this._skipValidation=j.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var R=E.sourceRoot;var N=new SourceMapGenerator({file:E.file,sourceRoot:R});E.eachMapping((function(E){var $={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){$.source=E.source;if(R!=null){$.source=j.relative(R,$.source)}$.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){$.name=E.name}}N.addMapping($)}));E.sources.forEach((function($){var q=$;if(R!==null){q=j.relative(R,$)}if(!N._sources.has(q)){N._sources.add(q)}var G=E.sourceContentFor($);if(G!=null){N.setSourceContent($,G)}}));return N};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var R=j.getArg(E,"generated");var N=j.getArg(E,"original",null);var $=j.getArg(E,"source",null);var q=j.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(R,N,$,q)}if($!=null){$=String($);if(!this._sources.has($)){this._sources.add($)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:R.line,generatedColumn:R.column,originalLine:N!=null&&N.line,originalColumn:N!=null&&N.column,source:$,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,R){var N=E;if(this._sourceRoot!=null){N=j.relative(this._sourceRoot,N)}if(R!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[j.toSetString(N)]=R}else if(this._sourcesContents){delete this._sourcesContents[j.toSetString(N)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,R,N){var $=R;if(R==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}$=E.file}var G=this._sourceRoot;if(G!=null){$=j.relative(G,$)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(R){if(R.source===$&&R.originalLine!=null){var q=E.originalPositionFor({line:R.originalLine,column:R.originalColumn});if(q.source!=null){R.source=q.source;if(N!=null){R.source=j.join(N,R.source)}if(G!=null){R.source=j.relative(G,R.source)}R.originalLine=q.line;R.originalColumn=q.column;if(q.name!=null){R.name=q.name}}}var le=R.source;if(le!=null&&!ie.has(le)){ie.add(le)}var _e=R.name;if(_e!=null&&!ae.has(_e)){ae.add(_e)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(R){var $=E.sourceContentFor(R);if($!=null){if(N!=null){R=j.join(N,R)}if(G!=null){R=j.relative(G,R)}this.setSourceContent(R,$)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,R,N,$){if(R&&typeof R.line!=="number"&&typeof R.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!R&&!N&&!$){return}else if(E&&"line"in E&&"column"in E&&R&&"line"in R&&"column"in R&&E.line>0&&E.column>=0&&R.line>0&&R.column>=0&&N){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:N,original:R,name:$}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var R=1;var N=0;var q=0;var G=0;var ie=0;var ae="";var le;var _e;var Ee;var we;var Me=this._mappings.toArray();for(var Ie=0,Te=Me.length;Ie0){if(!j.compareByGeneratedPositionsInflated(_e,Me[Ie-1])){continue}le+=","}}le+=$.encode(_e.generatedColumn-E);E=_e.generatedColumn;if(_e.source!=null){we=this._sources.indexOf(_e.source);le+=$.encode(we-ie);ie=we;le+=$.encode(_e.originalLine-1-q);q=_e.originalLine-1;le+=$.encode(_e.originalColumn-N);N=_e.originalColumn;if(_e.name!=null){Ee=this._names.indexOf(_e.name);le+=$.encode(Ee-G);G=Ee}}ae+=le}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,R){return E.map((function(E){if(!this._sourcesContents){return null}if(R!=null){E=j.relative(R,E)}var N=j.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,N)?this._sourcesContents[N]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};R.SourceMapGenerator=SourceMapGenerator},29445:(E,R,N)=>{var $=N(52713).SourceMapGenerator;var j=N(47384);var q=/(\r?\n)/;var G=10;var ie="$$$isSourceNode$$$";function SourceNode(E,R,N,$,j){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=R==null?null:R;this.source=N==null?null:N;this.name=j==null?null:j;this[ie]=true;if($!=null)this.add($)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,R,N){var $=new SourceNode;var G=E.split(q);var ie=0;var shiftNextLine=function(){var E=getNextLine();var R=getNextLine()||"";return E+R;function getNextLine(){return ie=0;R--){this.prepend(E[R])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var R;for(var N=0,$=this.children.length;N<$;N++){R=this.children[N];if(R[ie]){R.walk(E)}else{if(R!==""){E(R,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(E){var R;var N;var $=this.children.length;if($>0){R=[];for(N=0;N<$-1;N++){R.push(this.children[N]);R.push(E)}R.push(this.children[N]);this.children=R}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(E,R){var N=this.children[this.children.length-1];if(N[ie]){N.replaceRight(E,R)}else if(typeof N==="string"){this.children[this.children.length-1]=N.replace(E,R)}else{this.children.push("".replace(E,R))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(E,R){this.sourceContents[j.toSetString(E)]=R};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(E){for(var R=0,N=this.children.length;R{function getArg(E,R,N){if(R in E){return E[R]}else if(arguments.length===3){return N}else{throw new Error('"'+R+'" is a required argument.')}}R.getArg=getArg;var N=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var $=/^data:.+\,.+$/;function urlParse(E){var R=E.match(N);if(!R){return null}return{scheme:R[1],auth:R[2],host:R[3],port:R[4],path:R[5]}}R.urlParse=urlParse;function urlGenerate(E){var R="";if(E.scheme){R+=E.scheme+":"}R+="//";if(E.auth){R+=E.auth+"@"}if(E.host){R+=E.host}if(E.port){R+=":"+E.port}if(E.path){R+=E.path}return R}R.urlGenerate=urlGenerate;function normalize(E){var N=E;var $=urlParse(E);if($){if(!$.path){return E}N=$.path}var j=R.isAbsolute(N);var q=N.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}N=q.join("/");if(N===""){N=j?"/":"."}if($){$.path=N;return urlGenerate($)}return N}R.normalize=normalize;function join(E,R){if(E===""){E="."}if(R===""){R="."}var N=urlParse(R);var j=urlParse(E);if(j){E=j.path||"/"}if(N&&!N.scheme){if(j){N.scheme=j.scheme}return urlGenerate(N)}if(N||R.match($)){return R}if(j&&!j.host&&!j.path){j.host=R;return urlGenerate(j)}var q=R.charAt(0)==="/"?R:normalize(E.replace(/\/+$/,"")+"/"+R);if(j){j.path=q;return urlGenerate(j)}return q}R.join=join;R.isAbsolute=function(E){return E.charAt(0)==="/"||N.test(E)};function relative(E,R){if(E===""){E="."}E=E.replace(/\/$/,"");var N=0;while(R.indexOf(E+"/")!==0){var $=E.lastIndexOf("/");if($<0){return R}E=E.slice(0,$);if(E.match(/^([^\/]+:\/)?\/*$/)){return R}++N}return Array(N+1).join("../")+R.substr(E.length+1)}R.relative=relative;var j=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}R.toSetString=j?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}R.fromSetString=j?identity:fromSetString;function isProtoString(E){if(!E){return false}var R=E.length;if(R<9){return false}if(E.charCodeAt(R-1)!==95||E.charCodeAt(R-2)!==95||E.charCodeAt(R-3)!==111||E.charCodeAt(R-4)!==116||E.charCodeAt(R-5)!==111||E.charCodeAt(R-6)!==114||E.charCodeAt(R-7)!==112||E.charCodeAt(R-8)!==95||E.charCodeAt(R-9)!==95){return false}for(var N=R-10;N>=0;N--){if(E.charCodeAt(N)!==36){return false}}return true}function compareByOriginalPositions(E,R,N){var $=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0||N){return $}$=E.generatedColumn-R.generatedColumn;if($!==0){return $}$=E.generatedLine-R.generatedLine;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,R,N){var $=E.generatedLine-R.generatedLine;if($!==0){return $}$=E.generatedColumn-R.generatedColumn;if($!==0||N){return $}$=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,R){if(E===R){return 0}if(E===null){return 1}if(R===null){return-1}if(E>R){return 1}return-1}function compareByGeneratedPositionsInflated(E,R){var N=E.generatedLine-R.generatedLine;if(N!==0){return N}N=E.generatedColumn-R.generatedColumn;if(N!==0){return N}N=strcmp(E.source,R.source);if(N!==0){return N}N=E.originalLine-R.originalLine;if(N!==0){return N}N=E.originalColumn-R.originalColumn;if(N!==0){return N}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}R.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,R,N){R=R||"";if(E){if(E[E.length-1]!=="/"&&R[0]!=="/"){E+="/"}R=E+R}if(N){var $=urlParse(N);if(!$){throw new Error("sourceMapURL could not be parsed")}if($.path){var j=$.path.lastIndexOf("/");if(j>=0){$.path=$.path.substring(0,j+1)}}R=join(urlGenerate($),R)}return normalize(R)}R.computeSourceURL=computeSourceURL},63703:(E,R,N)=>{R.SourceMapGenerator=N(52713).SourceMapGenerator;R.SourceMapConsumer=N(50257).SourceMapConsumer;R.SourceNode=N(29445).SourceNode},22384:(E,R,N)=>{"use strict";const $=N(22037);const j=N(76224);const q=N(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}function envForceColor(){if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){return 1}if(G.FORCE_COLOR==="false"){return 0}return G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:R,sniffFlags:N=true}={}){const j=envForceColor();if(j!==undefined){ie=j}const ae=N?ie:j;if(ae===0){return 0}if(N){if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}}if(E&&!R&&ae===undefined){return 0}const le=ae||0;if(G.TERM==="dumb"){return le}if(process.platform==="win32"){const E=$.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return le}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return le}function getSupportLevel(E,R={}){const N=supportsColor(E,{streamIsTTY:E&&E.isTTY,...R});return translateLevel(N)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:j.isatty(1)}),stderr:getSupportLevel({isTTY:j.isatty(2)})}},85431:(E,R)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,R){const N=new ArraySet;for(let $=0,j=E.length;$=0){return R}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const $=N(45210);const j=5;const q=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){let R="";let N;let q=toVLQSigned(E);do{N=q&G;q>>>=j;if(q>0){N|=ie}R+=$.encode(N)}while(q>0);return R}},45210:(E,R)=>{const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");R.encode=function(E){if(0<=E&&E{R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;function recursiveSearch(E,N,$,j,q,G){const ie=Math.floor((N-E)/2)+E;const ae=q($,j[ie],true);if(ae===0){return ie}else if(ae>0){if(N-ie>1){return recursiveSearch(ie,N,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return N1){return recursiveSearch(E,ie,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return ie}return E<0?-1:E}R.search=function search(E,N,$,j){if(N.length===0){return-1}let q=recursiveSearch(-1,N.length,E,N,$,j||R.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if($(N[q],N[q-1],true)!==0){break}--q}return q}},48935:(E,R,N)=>{const $=N(53033);function generatedPositionAfter(E,R){const N=E.generatedLine;const j=R.generatedLine;const q=E.generatedColumn;const G=R.generatedColumn;return j>N||j==N&&G>=q||$.compareByGeneratedPositionsInflated(E,R)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,R){this._array.forEach(E,R)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort($.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}R.H=MappingList},92256:(E,R,N)=>{if(typeof fetch==="function"){let R=null;E.exports=function readWasm(){if(typeof R!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(R).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>R=E}else{const R=N(57147);const $=N(71017);E.exports=function readWasm(){return new Promise(((E,$)=>{const j=N.ab+"mappings.wasm";R.readFile(N.ab+"mappings.wasm",null,((R,N)=>{if(R){$(R);return}E(N.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,R,N)=>{var $;const j=N(53033);const q=N(31850);const G=N(85431).I;const ie=N(2635);const ae=N(92256);const le=N(7059);const _e=Symbol("smcInternal");class SourceMapConsumer{constructor(E,R){if(E==_e){return Promise.resolve(this)}return _factory(E,R)}static initialize(E){ae.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,R){return _factoryBSM(E,R)}static with(E,R,N){let $=null;const j=new SourceMapConsumer(E,R);return j.then((E=>{$=E;return N(E)})).then((E=>{if($){$.destroy()}return E}),(E=>{if($){$.destroy()}throw E}))}_parseMappings(E,R){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,R,N){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;R.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,R){return super(_e).then((N=>{let $=E;if(typeof E==="string"){$=j.parseSourceMapInput(E)}const q=j.getArg($,"version");let ie=j.getArg($,"sources");const ae=j.getArg($,"names",[]);let _e=j.getArg($,"sourceRoot",null);const Ee=j.getArg($,"sourcesContent",null);const we=j.getArg($,"mappings");const Me=j.getArg($,"file",null);if(q!=N._version){throw new Error("Unsupported version: "+q)}if(_e){_e=j.normalize(_e)}ie=ie.map(String).map(j.normalize).map((function(E){return _e&&j.isAbsolute(_e)&&j.isAbsolute(E)?j.relative(_e,E):E}));N._names=G.fromArray(ae.map(String),true);N._sources=G.fromArray(ie,true);N._absoluteSources=N._sources.toArray().map((function(E){return j.computeSourceURL(_e,E,R)}));N.sourceRoot=_e;N.sourcesContent=Ee;N._mappings=we;N._sourceMapURL=R;N.file=Me;N._computedColumnSpans=false;N._mappingsPtr=0;N._wasm=null;return le().then((E=>{N._wasm=E;return N}))}))}_findSourceIndex(E){let R=E;if(this.sourceRoot!=null){R=j.relative(this.sourceRoot,R)}if(this._sources.has(R)){return this._sources.indexOf(R)}for(let R=0;R{if(R.source!==null){R.source=this._sources.at(R.source);R.source=j.computeSourceURL(G,R.source,this._sourceMapURL);if(R.name!==null){R.name=this._names.at(R.name)}}E.call($,R)}),(()=>{switch(q){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let R=j.getArg(E,"source");const N=j.getArg(E,"line");const $=E.column||0;R=this._findSourceIndex(R);if(R<0){return[]}if(N<1){throw new Error("Line numbers must be >= 1")}if($<0){throw new Error("Column numbers must be >= 0")}const q=[];this._wasm.withMappingCallback((E=>{let R=E.lastGeneratedColumn;if(this._computedColumnSpans&&R===null){R=Infinity}q.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:R})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),R,N-1,"column"in E,$)}));return q}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const R={generatedLine:j.getArg(E,"line"),generatedColumn:j.getArg(E,"column")};if(R.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(R.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let N=j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(N==null){N=SourceMapConsumer.GREATEST_LOWER_BOUND}let $;this._wasm.withMappingCallback((E=>$=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),R.generatedLine-1,R.generatedColumn,N)}));if($){if($.generatedLine===R.generatedLine){let E=j.getArg($,"source",null);if(E!==null){E=this._sources.at(E);E=j.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let R=j.getArg($,"name",null);if(R!==null){R=this._names.at(R)}return{source:E,line:j.getArg($,"originalLine",null),column:j.getArg($,"originalColumn",null),name:R}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,R){if(!this.sourcesContent){return null}const N=this._findSourceIndex(E);if(N>=0){return this.sourcesContent[N]}let $=E;if(this.sourceRoot!=null){$=j.relative(this.sourceRoot,$)}let q;if(this.sourceRoot!=null&&(q=j.urlParse(this.sourceRoot))){const E=$.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!q.path||q.path=="/")&&this._sources.has("/"+$)){return this.sourcesContent[this._sources.indexOf("/"+$)]}}if(R){return null}throw new Error('"'+$+'" is not in the SourceMap.')}generatedPositionFor(E){let R=j.getArg(E,"source");R=this._findSourceIndex(R);if(R<0){return{line:null,column:null,lastColumn:null}}const N={source:R,originalLine:j.getArg(E,"line"),originalColumn:j.getArg(E,"column")};if(N.originalLine<1){throw new Error("Line numbers must be >= 1")}if(N.originalColumn<0){throw new Error("Column numbers must be >= 0")}let $=j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if($==null){$=SourceMapConsumer.GREATEST_LOWER_BOUND}let q;this._wasm.withMappingCallback((E=>q=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),N.source,N.originalLine-1,N.originalColumn,$)}));if(q){if(q.source===N.source){let E=q.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:j.getArg(q,"generatedLine",null),column:j.getArg(q,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;$=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,R){return super(_e).then((N=>{let $=E;if(typeof E==="string"){$=j.parseSourceMapInput(E)}const q=j.getArg($,"version");const ie=j.getArg($,"sections");if(q!=N._version){throw new Error("Unsupported version: "+q)}N._sources=new G;N._names=new G;N.__generatedMappings=null;N.__originalMappings=null;N.__generatedMappingsUnsorted=null;N.__originalMappingsUnsorted=null;let ae={line:-1,column:0};return Promise.all(ie.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const N=j.getArg(E,"offset");const $=j.getArg(N,"line");const q=j.getArg(N,"column");if($({generatedOffset:{generatedLine:$+1,generatedColumn:q+1},consumer:E})))}))).then((E=>{N._sections=E;return N}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort(j.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort(j.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let R=0;Rq.push(E)));for(let E=0;E= 1")}if(N.originalColumn<0){throw new Error("Column numbers must be >= 0")}const $=[];let G=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){let N=this._originalMappings[G];if(E.column===undefined){const E=N.originalLine;while(N&&N.originalLine===E){let E=N.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}$.push({line:j.getArg(N,"generatedLine",null),column:j.getArg(N,"generatedColumn",null),lastColumn:E});N=this._originalMappings[++G]}}else{const E=N.originalColumn;while(N&&N.originalLine===R&&N.originalColumn==E){let E=N.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}$.push({line:j.getArg(N,"generatedLine",null),column:j.getArg(N,"generatedColumn",null),lastColumn:E});N=this._originalMappings[++G]}}}return $}destroy(){for(let E=0;E{const $=N(2635);const j=N(53033);const q=N(85431).I;const G=N(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=j.getArg(E,"file",null);this._sourceRoot=j.getArg(E,"sourceRoot",null);this._skipValidation=j.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}static fromSourceMap(E){const R=E.sourceRoot;const N=new SourceMapGenerator({file:E.file,sourceRoot:R});E.eachMapping((function(E){const $={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){$.source=E.source;if(R!=null){$.source=j.relative(R,$.source)}$.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){$.name=E.name}}N.addMapping($)}));E.sources.forEach((function($){let q=$;if(R!==null){q=j.relative(R,$)}if(!N._sources.has(q)){N._sources.add(q)}const G=E.sourceContentFor($);if(G!=null){N.setSourceContent($,G)}}));return N}addMapping(E){const R=j.getArg(E,"generated");const N=j.getArg(E,"original",null);let $=j.getArg(E,"source",null);let q=j.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(R,N,$,q)}if($!=null){$=String($);if(!this._sources.has($)){this._sources.add($)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:R.line,generatedColumn:R.column,originalLine:N!=null&&N.line,originalColumn:N!=null&&N.column,source:$,name:q})}setSourceContent(E,R){let N=E;if(this._sourceRoot!=null){N=j.relative(this._sourceRoot,N)}if(R!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[j.toSetString(N)]=R}else if(this._sourcesContents){delete this._sourcesContents[j.toSetString(N)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,R,N){let $=R;if(R==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}$=E.file}const G=this._sourceRoot;if(G!=null){$=j.relative(G,$)}const ie=this._mappings.toArray().length>0?new q:this._sources;const ae=new q;this._mappings.unsortedForEach((function(R){if(R.source===$&&R.originalLine!=null){const $=E.originalPositionFor({line:R.originalLine,column:R.originalColumn});if($.source!=null){R.source=$.source;if(N!=null){R.source=j.join(N,R.source)}if(G!=null){R.source=j.relative(G,R.source)}R.originalLine=$.line;R.originalColumn=$.column;if($.name!=null){R.name=$.name}}}const q=R.source;if(q!=null&&!ie.has(q)){ie.add(q)}const le=R.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(R){const $=E.sourceContentFor(R);if($!=null){if(N!=null){R=j.join(N,R)}if(G!=null){R=j.relative(G,R)}this.setSourceContent(R,$)}}),this)}_validateMapping(E,R,N,$){if(R&&typeof R.line!=="number"&&typeof R.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!R&&!N&&!$){}else if(E&&"line"in E&&"column"in E&&R&&"line"in R&&"column"in R&&E.line>0&&E.column>=0&&R.line>0&&R.column>=0&&N){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:N,original:R,name:$}))}}_serializeMappings(){let E=0;let R=1;let N=0;let q=0;let G=0;let ie=0;let ae="";let le;let _e;let Ee;let we;const Me=this._mappings.toArray();for(let Ie=0,Te=Me.length;Ie0){if(!j.compareByGeneratedPositionsInflated(_e,Me[Ie-1])){continue}le+=","}le+=$.encode(_e.generatedColumn-E);E=_e.generatedColumn;if(_e.source!=null){we=this._sources.indexOf(_e.source);le+=$.encode(we-ie);ie=we;le+=$.encode(_e.originalLine-1-q);q=_e.originalLine-1;le+=$.encode(_e.originalColumn-N);N=_e.originalColumn;if(_e.name!=null){Ee=this._names.indexOf(_e.name);le+=$.encode(Ee-G);G=Ee}}ae+=le}return ae}_generateSourcesContent(E,R){return E.map((function(E){if(!this._sourcesContents){return null}if(R!=null){E=j.relative(R,E)}const N=j.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,N)?this._sourcesContents[N]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;R.SourceMapGenerator=SourceMapGenerator},98160:(E,R,N)=>{const $=N(69010).SourceMapGenerator;const j=N(53033);const q=/(\r?\n)/;const G=10;const ie="$$$isSourceNode$$$";class SourceNode{constructor(E,R,N,$,j){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=R==null?null:R;this.source=N==null?null:N;this.name=j==null?null:j;this[ie]=true;if($!=null)this.add($)}static fromStringWithSourceMap(E,R,N){const $=new SourceNode;const G=E.split(q);let ie=0;const shiftNextLine=function(){const E=getNextLine();const R=getNextLine()||"";return E+R;function getNextLine(){return ie=0;R--){this.prepend(E[R])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let R;for(let N=0,$=this.children.length;N<$;N++){R=this.children[N];if(R[ie]){R.walk(E)}else if(R!==""){E(R,{source:this.source,line:this.line,column:this.column,name:this.name})}}}join(E){let R;let N;const $=this.children.length;if($>0){R=[];for(N=0;N<$-1;N++){R.push(this.children[N]);R.push(E)}R.push(this.children[N]);this.children=R}return this}replaceRight(E,R){const N=this.children[this.children.length-1];if(N[ie]){N.replaceRight(E,R)}else if(typeof N==="string"){this.children[this.children.length-1]=N.replace(E,R)}else{this.children.push("".replace(E,R))}return this}setSourceContent(E,R){this.sourceContents[j.toSetString(E)]=R}walkSourceContents(E){for(let R=0,N=this.children.length;R{function getArg(E,R,N){if(R in E){return E[R]}else if(arguments.length===3){return N}throw new Error('"'+R+'" is a required argument.')}R.getArg=getArg;const N=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const $=/^data:.+\,.+$/;function urlParse(E){const R=E.match(N);if(!R){return null}return{scheme:R[1],auth:R[2],host:R[3],port:R[4],path:R[5]}}R.urlParse=urlParse;function urlGenerate(E){let R="";if(E.scheme){R+=E.scheme+":"}R+="//";if(E.auth){R+=E.auth+"@"}if(E.host){R+=E.host}if(E.port){R+=":"+E.port}if(E.path){R+=E.path}return R}R.urlGenerate=urlGenerate;const j=32;function lruMemoize(E){const R=[];return function(N){for(let E=0;Ej){R.pop()}return $}}const q=lruMemoize((function normalize(E){let N=E;const $=urlParse(E);if($){if(!$.path){return E}N=$.path}const j=R.isAbsolute(N);const q=[];let G=0;let ie=0;while(true){G=ie;ie=N.indexOf("/",G);if(ie===-1){q.push(N.slice(G));break}else{q.push(N.slice(G,ie));while(ie=0;ie--){const E=q[ie];if(E==="."){q.splice(ie,1)}else if(E===".."){ae++}else if(ae>0){if(E===""){q.splice(ie+1,ae);ae=0}else{q.splice(ie,2);ae--}}}N=q.join("/");if(N===""){N=j?"/":"."}if($){$.path=N;return urlGenerate($)}return N}));R.normalize=q;function join(E,R){if(E===""){E="."}if(R===""){R="."}const N=urlParse(R);const j=urlParse(E);if(j){E=j.path||"/"}if(N&&!N.scheme){if(j){N.scheme=j.scheme}return urlGenerate(N)}if(N||R.match($)){return R}if(j&&!j.host&&!j.path){j.host=R;return urlGenerate(j)}const G=R.charAt(0)==="/"?R:q(E.replace(/\/+$/,"")+"/"+R);if(j){j.path=G;return urlGenerate(j)}return G}R.join=join;R.isAbsolute=function(E){return E.charAt(0)==="/"||N.test(E)};function relative(E,R){if(E===""){E="."}E=E.replace(/\/$/,"");let N=0;while(R.indexOf(E+"/")!==0){const $=E.lastIndexOf("/");if($<0){return R}E=E.slice(0,$);if(E.match(/^([^\/]+:\/)?\/*$/)){return R}++N}return Array(N+1).join("../")+R.substr(E.length+1)}R.relative=relative;const G=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}R.toSetString=G?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}R.fromSetString=G?identity:fromSetString;function isProtoString(E){if(!E){return false}const R=E.length;if(R<9){return false}if(E.charCodeAt(R-1)!==95||E.charCodeAt(R-2)!==95||E.charCodeAt(R-3)!==111||E.charCodeAt(R-4)!==116||E.charCodeAt(R-5)!==111||E.charCodeAt(R-6)!==114||E.charCodeAt(R-7)!==112||E.charCodeAt(R-8)!==95||E.charCodeAt(R-9)!==95){return false}for(let N=R-10;N>=0;N--){if(E.charCodeAt(N)!==36){return false}}return true}function compareByOriginalPositions(E,R,N){let $=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0||N){return $}$=E.generatedColumn-R.generatedColumn;if($!==0){return $}$=E.generatedLine-R.generatedLine;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,R,N){let $=E.generatedLine-R.generatedLine;if($!==0){return $}$=E.generatedColumn-R.generatedColumn;if($!==0||N){return $}$=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,R){if(E===R){return 0}if(E===null){return 1}if(R===null){return-1}if(E>R){return 1}return-1}function compareByGeneratedPositionsInflated(E,R){let N=E.generatedLine-R.generatedLine;if(N!==0){return N}N=E.generatedColumn-R.generatedColumn;if(N!==0){return N}N=strcmp(E.source,R.source);if(N!==0){return N}N=E.originalLine-R.originalLine;if(N!==0){return N}N=E.originalColumn-R.originalColumn;if(N!==0){return N}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}R.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,R,N){R=R||"";if(E){if(E[E.length-1]!=="/"&&R[0]!=="/"){E+="/"}R=E+R}if(N){const E=urlParse(N);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const R=E.path.lastIndexOf("/");if(R>=0){E.path=E.path.substring(0,R+1)}}R=join(urlGenerate(E),R)}return q(R)}R.computeSourceURL=computeSourceURL},7059:(E,R,N)=>{const $=N(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let j=null;E.exports=function wasm(){if(j){return j}const E=[];j=$().then((R=>WebAssembly.instantiate(R,{env:{mapping_callback(R,N,$,j,q,G,ie,ae,le,_e){const Ee=new Mapping;Ee.generatedLine=R+1;Ee.generatedColumn=N;if($){Ee.lastGeneratedColumn=j-1}if(q){Ee.source=G;Ee.originalLine=ie+1;Ee.originalColumn=ae;if(le){Ee.name=_e}}E[E.length-1](Ee)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((R=>({exports:R.instance.exports,withMappingCallback:(R,N)=>{E.push(R);try{N()}finally{E.pop()}}}))).then(null,(E=>{j=null;throw E}));return j}},37362:(E,R,N)=>{R.SourceMapGenerator=N(69010).SourceMapGenerator;R.SourceMapConsumer=N(47532).SourceMapConsumer;R.SourceNode=N(98160).SourceNode},96217:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.TsconfigPathsPlugin=void 0;var $=N(2895);Object.defineProperty(R,"TsconfigPathsPlugin",{enumerable:true,get:function(){return $.TsconfigPathsPlugin}});const j=N(2895);R["default"]=j.TsconfigPathsPlugin;const q=N(2895).TsconfigPathsPlugin;q.TsconfigPathsPlugin=j.TsconfigPathsPlugin;q.default=j.TsconfigPathsPlugin;E.exports=q},96028:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.makeLogger=void 0;const $=N(96206);var j;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})(j||(j={}));const q=new $.Console(process.stderr);const G=new $.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,R)=>{}:(E,R)=>E.log(R);const makeExternalLogger=(E,R)=>N=>R(E.logInfoToStdOut?G:q,N);const makeLogInfo=(E,R,N)=>j[E.logLevel]<=j.INFO?$=>R(E.logInfoToStdOut?G:q,N($)):doNothingLogger;const makeLogError=(E,R,N)=>j[E.logLevel]<=j.ERROR?E=>R(q,N(E)):doNothingLogger;const makeLogWarning=(E,R,N)=>j[E.logLevel]<=j.WARN?E=>R(q,N(E)):doNothingLogger;function makeLogger(E,R){const N=makeLoggerFunc(E);return{log:makeExternalLogger(E,N),logInfo:makeLogInfo(E,N,R.green),logWarning:makeLogWarning(E,N,R.yellow),logError:makeLogError(E,N,R.red)}}R.makeLogger=makeLogger},59929:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.getOptions=void 0;const N=["configFile","extensions","baseUrl","silent","logLevel","logInfoToStdOut","context","mainFields"];function getOptions(E){validateOptions(E);const R=makeOptions(E);return R}R.getOptions=getOptions;function validateOptions(E){const R=Object.keys(E);for(let E=0;E{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.TsconfigPathsPlugin=void 0;const $=N(57347);const j=N(46543);const q=N(71017);const G=N(59929);const ie=N(96028);const ae=N(22471);class TsconfigPathsPlugin{constructor(E={}){this.source="described-resolve";this.target="resolve";const R=G.getOptions(E);this.extensions=R.extensions;this.log=ie.makeLogger(R,new $.Instance({level:R.colors?undefined:0}));const N=R.context||process.cwd();const ae=R.configFile||N;const le=j.loadConfig(ae);if(le.resultType==="failed"){this.log.logError(`Failed to load ${ae}: ${le.message}`)}else{this.log.logInfo(`tsconfig-paths-webpack-plugin: Using config file at ${le.configFileAbsolutePath}`);this.baseUrl=R.baseUrl||le.baseUrl;this.absoluteBaseUrl=R.baseUrl?q.resolve(R.baseUrl):le.absoluteBaseUrl;this.matchPath=j.createMatchPathAsync(this.absoluteBaseUrl,le.paths,R.mainFields)}}apply(E){if(!E){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no resolver, not applying tsconfig-paths-webpack-plugin");return}const{baseUrl:R}=this;if(!R){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no baseUrl in tsconfig.json, not applying tsconfig-paths-webpack-plugin");return}if(!("fileSystem"in E)){this.log.logWarning("tsconfig-paths-webpack-plugin: No file system found on resolver."+" Please make sure you've placed the plugin in the correct part of the configuration."+" This plugin is a resolver plugin and should be placed in the resolve part of the Webpack configuration.");return}if("getHook"in E&&typeof E.getHook==="function"){E.getHook(this.source).tapAsync({name:"TsconfigPathsPlugin"},createPluginCallback(this.matchPath,E,this.absoluteBaseUrl,E.getHook(this.target),this.extensions))}else if("plugin"in E){const R=E;R.plugin(this.source,createPluginLegacy(this.matchPath,E,this.absoluteBaseUrl,this.target,this.extensions))}}}R.TsconfigPathsPlugin=TsconfigPathsPlugin;function createPluginCallback(E,R,$,j,q){const G=createFileExistAsync(R.fileSystem);const ie=createReadJsonAsync(R.fileSystem);return(le,_e,Ee)=>{const we=ae(R,le);if(!we||we.startsWith(".")||we.startsWith("..")){return Ee()}E(we,ie,G,q,((E,q)=>{if(E){return Ee(E)}if(!q){return Ee()}const G=Object.assign(Object.assign({},le),{request:q,path:$});const ie=N(52227);return R.doResolve(j,G,`Resolved request '${we}' to '${q}' using tsconfig.json paths mapping`,ie(Object.assign({},_e)),((E,R)=>{if(E){return Ee(E)}if(R===undefined){return Ee(undefined,undefined)}Ee(undefined,R)}))}))}}function createPluginLegacy(E,R,$,j,q){const G=createFileExistAsync(R.fileSystem);const ie=createReadJsonAsync(R.fileSystem);return(le,_e)=>{const Ee=ae(R,le);if(!Ee||Ee.startsWith(".")||Ee.startsWith("..")){return _e()}E(Ee,ie,G,q,((E,q)=>{if(E){return _e(E)}if(!q){return _e()}const G=Object.assign(Object.assign({},le),{request:q,path:$});const ie=N(92915);return R.doResolve(j,G,`Resolved request '${Ee}' to '${q}' using tsconfig.json paths mapping`,ie((function(E,R){if(arguments.length>0){return _e(E,R)}_e(undefined,undefined)}),_e))}))}}function readJson(E,R,N){if("readJson"in E&&E.readJson){return E.readJson(R,N)}E.readFile(R,((E,R)=>{if(E){return N(E)}let $;try{$=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}return N(undefined,$)}))}function createReadJsonAsync(E){return(R,N)=>{readJson(E,R,((E,R)=>{if(E||!R){N();return}N(undefined,R)}))}}function createFileExistAsync(E){return(R,N)=>{E.stat(R,((E,R)=>{if(E){N(undefined,false);return}N(undefined,R?R.isFile():false)}))}}},36674:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.configLoader=R.loadConfig=void 0;var $=N(9492);var j=N(71017);var q=N(26872);function loadConfig(E){if(E===void 0){E=q.options.cwd}return configLoader({cwd:E})}R.loadConfig=loadConfig;function configLoader(E){var R=E.cwd,N=E.explicitParams,q=E.tsConfigLoader,G=q===void 0?$.tsConfigLoader:q;if(N){var ie=j.isAbsolute(N.baseUrl)?N.baseUrl:j.join(R,N.baseUrl);return{resultType:"success",configFileAbsolutePath:"",baseUrl:N.baseUrl,absoluteBaseUrl:ie,paths:N.paths,mainFields:N.mainFields,addMatchAll:N.addMatchAll}}var ae=G({cwd:R,getEnv:function(E){return process.env[E]}});if(!ae.tsConfigPath){return{resultType:"failed",message:"Couldn't find tsconfig.json"}}if(!ae.baseUrl){return{resultType:"failed",message:"Missing baseUrl in compilerOptions"}}var le=j.dirname(ae.tsConfigPath);var _e=j.join(le,ae.baseUrl);return{resultType:"success",configFileAbsolutePath:ae.tsConfigPath,baseUrl:ae.baseUrl,absoluteBaseUrl:_e,paths:ae.paths||{}}}R.configLoader=configLoader},89711:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.removeExtension=R.fileExistsAsync=R.readJsonFromDiskAsync=R.readJsonFromDiskSync=R.fileExistsSync=void 0;var $=N(57147);function fileExistsSync(E){try{var R=$.statSync(E);return R.isFile()}catch(E){return false}}R.fileExistsSync=fileExistsSync;function readJsonFromDiskSync(E){if(!$.existsSync(E)){return undefined}return require(E)}R.readJsonFromDiskSync=readJsonFromDiskSync;function readJsonFromDiskAsync(E,R){$.readFile(E,"utf8",(function(E,N){if(E||!N){return R()}var $=JSON.parse(N);return R(undefined,$)}))}R.readJsonFromDiskAsync=readJsonFromDiskAsync;function fileExistsAsync(E,R){$.stat(E,(function(E,N){if(E){return R(undefined,false)}R(undefined,N?N.isFile():false)}))}R.fileExistsAsync=fileExistsAsync;function removeExtension(E){return E.substring(0,E.lastIndexOf("."))||E}R.removeExtension=removeExtension},46543:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.loadConfig=R.register=R.matchFromAbsolutePathsAsync=R.createMatchPathAsync=R.matchFromAbsolutePaths=R.createMatchPath=void 0;var $=N(12317);Object.defineProperty(R,"createMatchPath",{enumerable:true,get:function(){return $.createMatchPath}});Object.defineProperty(R,"matchFromAbsolutePaths",{enumerable:true,get:function(){return $.matchFromAbsolutePaths}});var j=N(5339);Object.defineProperty(R,"createMatchPathAsync",{enumerable:true,get:function(){return j.createMatchPathAsync}});Object.defineProperty(R,"matchFromAbsolutePathsAsync",{enumerable:true,get:function(){return j.matchFromAbsolutePathsAsync}});var q=N(7897);Object.defineProperty(R,"register",{enumerable:true,get:function(){return q.register}});var G=N(36674);Object.defineProperty(R,"loadConfig",{enumerable:true,get:function(){return G.loadConfig}})},98191:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.getAbsoluteMappingEntries=void 0;var $=N(71017);function getAbsoluteMappingEntries(E,R,N){var j=sortByLongestPrefix(Object.keys(R));var q=[];for(var G=0,ie=j;G{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.matchFromAbsolutePathsAsync=R.createMatchPathAsync=void 0;var $=N(71017);var j=N(58455);var q=N(98191);var G=N(89711);function createMatchPathAsync(E,R,N,$){if(N===void 0){N=["main"]}if($===void 0){$=true}var j=q.getAbsoluteMappingEntries(E,R,$);return function(E,R,$,q,G){return matchFromAbsolutePathsAsync(j,E,R,$,q,G,N)}}R.createMatchPathAsync=createMatchPathAsync;function matchFromAbsolutePathsAsync(E,R,N,$,q,ie,ae){if(N===void 0){N=G.readJsonFromDiskAsync}if($===void 0){$=G.fileExistsAsync}if(q===void 0){q=Object.keys(require.extensions)}if(ae===void 0){ae=["main"]}var le=j.getPathsToTry(q,E,R);if(!le){return ie()}findFirstExistingPath(le,N,$,ie,0,ae)}R.matchFromAbsolutePathsAsync=matchFromAbsolutePathsAsync;function findFirstExistingMainFieldMappedFile(E,R,N,j,q,G){if(G===void 0){G=0}if(G>=R.length){return q(undefined,undefined)}var tryNext=function(){return findFirstExistingMainFieldMappedFile(E,R,N,j,q,G+1)};var ie=E[R[G]];if(typeof ie!=="string"){return tryNext()}var ae=$.join($.dirname(N),ie);j(ae,(function(E,R){if(E){return q(E)}if(R){return q(undefined,ae)}return tryNext()}))}function findFirstExistingPath(E,R,N,$,q,G){if(q===void 0){q=0}if(G===void 0){G=["main"]}var ie=E[q];if(ie.type==="file"||ie.type==="extension"||ie.type==="index"){N(ie.path,(function(ae,le){if(ae){return $(ae)}if(le){return $(undefined,j.getStrippedPath(ie))}if(q===E.length-1){return $()}return findFirstExistingPath(E,R,N,$,q+1,G)}))}else if(ie.type==="package"){R(ie.path,(function(j,ae){if(j){return $(j)}if(ae){return findFirstExistingMainFieldMappedFile(ae,G,ie.path,N,(function(j,ie){if(j){return $(j)}if(ie){return $(undefined,ie)}return findFirstExistingPath(E,R,N,$,q+1,G)}))}return findFirstExistingPath(E,R,N,$,q+1,G)}))}else{j.exhaustiveTypeException(ie.type)}}},12317:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.matchFromAbsolutePaths=R.createMatchPath=void 0;var $=N(71017);var j=N(89711);var q=N(98191);var G=N(58455);function createMatchPath(E,R,N,$){if(N===void 0){N=["main"]}if($===void 0){$=true}var j=q.getAbsoluteMappingEntries(E,R,$);return function(E,R,$,q){return matchFromAbsolutePaths(j,E,R,$,q,N)}}R.createMatchPath=createMatchPath;function matchFromAbsolutePaths(E,R,N,$,q,ie){if(N===void 0){N=j.readJsonFromDiskSync}if($===void 0){$=j.fileExistsSync}if(q===void 0){q=Object.keys(require.extensions)}if(ie===void 0){ie=["main"]}var ae=G.getPathsToTry(q,E,R);if(!ae){return undefined}return findFirstExistingPath(ae,N,$,ie)}R.matchFromAbsolutePaths=matchFromAbsolutePaths;function findFirstExistingMainFieldMappedFile(E,R,N,j){for(var q=0;q{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.options=void 0;var $=N(40535);var j=$(process.argv.slice(2),{string:["project"],alias:{project:["P"]}});var q=j&&j.project;R.options={cwd:q||process.cwd()}},7897:function(E,R,N){"use strict";var $=this&&this.__spreadArray||function(E,R,N){if(N||arguments.length===2)for(var $=0,j=R.length,q;${"use strict";Object.defineProperty(R,"__esModule",{value:true});R.exhaustiveTypeException=R.getStrippedPath=R.getPathsToTry=void 0;var $=N(71017);var j=N(71017);var q=N(89711);function getPathsToTry(E,R,N){if(!R||!N||N[0]==="."){return undefined}var j=[];for(var q=0,G=R;q{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(32721);var j=_interopRequireDefault($);var q=N(34760);var G=_interopRequireDefault(q);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}R["default"]={parse:j.default,stringify:G.default};E.exports=R["default"]},32721:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E};R["default"]=parse;var j=N(69616);var q=_interopRequireWildcard(j);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N))R[N]=E[N]}}R.default=E;return R}}var G=void 0;var ie=void 0;var ae=void 0;var le=void 0;var _e=void 0;var Ee=void 0;var we=void 0;var Me=void 0;var Ie=void 0;function parse(E,R){G=String(E);ie="start";ae=[];le=0;_e=1;Ee=0;we=undefined;Me=undefined;Ie=undefined;do{we=lex();Ue[ie]()}while(we.type!=="eof");if(typeof R==="function"){return internalize({"":Ie},"",R)}return Ie}function internalize(E,R,N){var j=E[R];if(j!=null&&(typeof j==="undefined"?"undefined":$(j))==="object"){for(var q in j){var G=internalize(j,q,N);if(G===undefined){delete j[q]}else{j[q]=G}}}return N.call(E,R,j)}var Te=void 0;var Ne=void 0;var Be=void 0;var Le=void 0;var je=void 0;function lex(){Te="default";Ne="";Be=false;Le=1;for(;;){je=peek();var E=ze[Te]();if(E){return E}}}function peek(){if(G[le]){return String.fromCodePoint(G.codePointAt(le))}}function read(){var E=peek();if(E==="\n"){_e++;Ee=0}else if(E){Ee+=E.length}else{Ee++}if(E){le+=E.length}return E}var ze={default:function _default(){switch(je){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Te="comment";return;case undefined:read();return newToken("eof")}if(q.isSpaceSeparator(je)){read();return}return ze[ie]()},comment:function comment(){switch(je){case"*":read();Te="multiLineComment";return;case"/":read();Te="singleLineComment";return}throw invalidChar(read())},multiLineComment:function multiLineComment(){switch(je){case"*":read();Te="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk:function multiLineCommentAsterisk(){switch(je){case"*":read();return;case"/":read();Te="default";return;case undefined:throw invalidChar(read())}read();Te="multiLineComment"},singleLineComment:function singleLineComment(){switch(je){case"\n":case"\r":case"\u2028":case"\u2029":read();Te="default";return;case undefined:read();return newToken("eof")}read()},value:function value(){switch(je){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){Le=-1}Te="sign";return;case".":Ne=read();Te="decimalPointLeading";return;case"0":Ne=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Ne=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Be=read()==='"';Ne="";Te="string";return}throw invalidChar(read())},identifierNameStartEscape:function identifierNameStartEscape(){if(je!=="u"){throw invalidChar(read())}read();var E=unicodeEscape();switch(E){case"$":case"_":break;default:if(!q.isIdStartChar(E)){throw invalidIdentifier()}break}Ne+=E;Te="identifierName"},identifierName:function identifierName(){switch(je){case"$":case"_":case"‌":case"‍":Ne+=read();return;case"\\":read();Te="identifierNameEscape";return}if(q.isIdContinueChar(je)){Ne+=read();return}return newToken("identifier",Ne)},identifierNameEscape:function identifierNameEscape(){if(je!=="u"){throw invalidChar(read())}read();var E=unicodeEscape();switch(E){case"$":case"_":case"‌":case"‍":break;default:if(!q.isIdContinueChar(E)){throw invalidIdentifier()}break}Ne+=E;Te="identifierName"},sign:function sign(){switch(je){case".":Ne=read();Te="decimalPointLeading";return;case"0":Ne=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Ne=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Le*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero:function zero(){switch(je){case".":Ne+=read();Te="decimalPoint";return;case"e":case"E":Ne+=read();Te="decimalExponent";return;case"x":case"X":Ne+=read();Te="hexadecimal";return}return newToken("numeric",Le*0)},decimalInteger:function decimalInteger(){switch(je){case".":Ne+=read();Te="decimalPoint";return;case"e":case"E":Ne+=read();Te="decimalExponent";return}if(q.isDigit(je)){Ne+=read();return}return newToken("numeric",Le*Number(Ne))},decimalPointLeading:function decimalPointLeading(){if(q.isDigit(je)){Ne+=read();Te="decimalFraction";return}throw invalidChar(read())},decimalPoint:function decimalPoint(){switch(je){case"e":case"E":Ne+=read();Te="decimalExponent";return}if(q.isDigit(je)){Ne+=read();Te="decimalFraction";return}return newToken("numeric",Le*Number(Ne))},decimalFraction:function decimalFraction(){switch(je){case"e":case"E":Ne+=read();Te="decimalExponent";return}if(q.isDigit(je)){Ne+=read();return}return newToken("numeric",Le*Number(Ne))},decimalExponent:function decimalExponent(){switch(je){case"+":case"-":Ne+=read();Te="decimalExponentSign";return}if(q.isDigit(je)){Ne+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign:function decimalExponentSign(){if(q.isDigit(je)){Ne+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger:function decimalExponentInteger(){if(q.isDigit(je)){Ne+=read();return}return newToken("numeric",Le*Number(Ne))},hexadecimal:function hexadecimal(){if(q.isHexDigit(je)){Ne+=read();Te="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger:function hexadecimalInteger(){if(q.isHexDigit(je)){Ne+=read();return}return newToken("numeric",Le*Number(Ne))},string:function string(){switch(je){case"\\":read();Ne+=escape();return;case'"':if(Be){read();return newToken("string",Ne)}Ne+=read();return;case"'":if(!Be){read();return newToken("string",Ne)}Ne+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(je);break;case undefined:throw invalidChar(read())}Ne+=read()},start:function start(){switch(je){case"{":case"[":return newToken("punctuator",read())}Te="value"},beforePropertyName:function beforePropertyName(){switch(je){case"$":case"_":Ne=read();Te="identifierName";return;case"\\":read();Te="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Be=read()==='"';Te="string";return}if(q.isIdStartChar(je)){Ne+=read();Te="identifierName";return}throw invalidChar(read())},afterPropertyName:function afterPropertyName(){if(je===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue:function beforePropertyValue(){Te="value"},afterPropertyValue:function afterPropertyValue(){switch(je){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue:function beforeArrayValue(){if(je==="]"){return newToken("punctuator",read())}Te="value"},afterArrayValue:function afterArrayValue(){switch(je){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end:function end(){throw invalidChar(read())}};function newToken(E,R){return{type:E,value:R,line:_e,column:Ee}}function literal(E){var R=true;var N=false;var $=undefined;try{for(var j=E[Symbol.iterator](),q;!(R=(q=j.next()).done);R=true){var G=q.value;var ie=peek();if(ie!==G){throw invalidChar(read())}read()}}catch(E){N=true;$=E}finally{try{if(!R&&j.return){j.return()}}finally{if(N){throw $}}}}function escape(){var E=peek();switch(E){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(q.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){var E="";var R=peek();if(!q.isHexDigit(R)){throw invalidChar(read())}E+=read();R=peek();if(!q.isHexDigit(R)){throw invalidChar(read())}E+=read();return String.fromCodePoint(parseInt(E,16))}function unicodeEscape(){var E="";var R=4;while(R-- >0){var N=peek();if(!q.isHexDigit(N)){throw invalidChar(read())}E+=read()}return String.fromCodePoint(parseInt(E,16))}var Ue={start:function start(){if(we.type==="eof"){throw invalidEOF()}push()},beforePropertyName:function beforePropertyName(){switch(we.type){case"identifier":case"string":Me=we.value;ie="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName:function afterPropertyName(){if(we.type==="eof"){throw invalidEOF()}ie="beforePropertyValue"},beforePropertyValue:function beforePropertyValue(){if(we.type==="eof"){throw invalidEOF()}push()},beforeArrayValue:function beforeArrayValue(){if(we.type==="eof"){throw invalidEOF()}if(we.type==="punctuator"&&we.value==="]"){pop();return}push()},afterPropertyValue:function afterPropertyValue(){if(we.type==="eof"){throw invalidEOF()}switch(we.value){case",":ie="beforePropertyName";return;case"}":pop()}},afterArrayValue:function afterArrayValue(){if(we.type==="eof"){throw invalidEOF()}switch(we.value){case",":ie="beforeArrayValue";return;case"]":pop()}},end:function end(){}};function push(){var E=void 0;switch(we.type){case"punctuator":switch(we.value){case"{":E={};break;case"[":E=[];break}break;case"null":case"boolean":case"numeric":case"string":E=we.value;break}if(Ie===undefined){Ie=E}else{var R=ae[ae.length-1];if(Array.isArray(R)){R.push(E)}else{R[Me]=E}}if(E!==null&&(typeof E==="undefined"?"undefined":$(E))==="object"){ae.push(E);if(Array.isArray(E)){ie="beforeArrayValue"}else{ie="beforePropertyName"}}else{var N=ae[ae.length-1];if(N==null){ie="end"}else if(Array.isArray(N)){ie="afterArrayValue"}else{ie="afterPropertyValue"}}}function pop(){ae.pop();var E=ae[ae.length-1];if(E==null){ie="end"}else if(Array.isArray(E)){ie="afterArrayValue"}else{ie="afterPropertyValue"}}function invalidChar(E){if(E===undefined){return syntaxError("JSON5: invalid end of input at "+_e+":"+Ee)}return syntaxError("JSON5: invalid character '"+formatChar(E)+"' at "+_e+":"+Ee)}function invalidEOF(){return syntaxError("JSON5: invalid end of input at "+_e+":"+Ee)}function invalidIdentifier(){Ee-=5;return syntaxError("JSON5: invalid identifier character at "+_e+":"+Ee)}function separatorChar(E){console.warn("JSON5: '"+E+"' is not valid ECMAScript; consider escaping")}function formatChar(E){var R={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(R[E]){return R[E]}if(E<" "){var N=E.charCodeAt(0).toString(16);return"\\x"+("00"+N).substring(N.length)}return E}function syntaxError(E){var R=new SyntaxError(E);R.lineNumber=_e;R.columnNumber=Ee;return R}E.exports=R["default"]},34760:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E};R["default"]=stringify;var j=N(69616);var q=_interopRequireWildcard(j);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N))R[N]=E[N]}}R.default=E;return R}}function stringify(E,R,N){var j=[];var G="";var ie=void 0;var ae=void 0;var le="";var _e=void 0;if(R!=null&&(typeof R==="undefined"?"undefined":$(R))==="object"&&!Array.isArray(R)){N=R.space;_e=R.quote;R=R.replacer}if(typeof R==="function"){ae=R}else if(Array.isArray(R)){ie=[];var Ee=true;var we=false;var Me=undefined;try{for(var Ie=R[Symbol.iterator](),Te;!(Ee=(Te=Ie.next()).done);Ee=true){var Ne=Te.value;var Be=void 0;if(typeof Ne==="string"){Be=Ne}else if(typeof Ne==="number"||Ne instanceof String||Ne instanceof Number){Be=String(Ne)}if(Be!==undefined&&ie.indexOf(Be)<0){ie.push(Be)}}}catch(E){we=true;Me=E}finally{try{if(!Ee&&Ie.return){Ie.return()}}finally{if(we){throw Me}}}}if(N instanceof Number){N=Number(N)}else if(N instanceof String){N=String(N)}if(typeof N==="number"){if(N>0){N=Math.min(10,Math.floor(N));le=" ".substr(0,N)}}else if(typeof N==="string"){le=N.substr(0,10)}return serializeProperty("",{"":E});function serializeProperty(E,R){var N=R[E];if(N!=null){if(typeof N.toJSON5==="function"){N=N.toJSON5(E)}else if(typeof N.toJSON==="function"){N=N.toJSON(E)}}if(ae){N=ae.call(R,E,N)}if(N instanceof Number){N=Number(N)}else if(N instanceof String){N=String(N)}else if(N instanceof Boolean){N=N.valueOf()}switch(N){case null:return"null";case true:return"true";case false:return"false"}if(typeof N==="string"){return quoteString(N,false)}if(typeof N==="number"){return String(N)}if((typeof N==="undefined"?"undefined":$(N))==="object"){return Array.isArray(N)?serializeArray(N):serializeObject(N)}return undefined}function quoteString(E){var R={"'":.1,'"':.2};var N={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var $="";var j=true;var q=false;var G=undefined;try{for(var ie=E[Symbol.iterator](),ae;!(j=(ae=ie.next()).done);j=true){var le=ae.value;switch(le){case"'":case'"':R[le]++;$+=le;continue}if(N[le]){$+=N[le];continue}if(le<" "){var Ee=le.charCodeAt(0).toString(16);$+="\\x"+("00"+Ee).substring(Ee.length);continue}$+=le}}catch(E){q=true;G=E}finally{try{if(!j&&ie.return){ie.return()}}finally{if(q){throw G}}}var we=_e||Object.keys(R).reduce((function(E,N){return R[E]=0){throw TypeError("Converting circular structure to JSON5")}j.push(E);var R=G;G=G+le;var N=ie||Object.keys(E);var $=[];var q=true;var ae=false;var _e=undefined;try{for(var Ee=N[Symbol.iterator](),we;!(q=(we=Ee.next()).done);q=true){var Me=we.value;var Ie=serializeProperty(Me,E);if(Ie!==undefined){var Te=serializeKey(Me)+":";if(le!==""){Te+=" "}Te+=Ie;$.push(Te)}}}catch(E){ae=true;_e=E}finally{try{if(!q&&Ee.return){Ee.return()}}finally{if(ae){throw _e}}}var Ne=void 0;if($.length===0){Ne="{}"}else{var Be=void 0;if(le===""){Be=$.join(",");Ne="{"+Be+"}"}else{var Le=",\n"+G;Be=$.join(Le);Ne="{\n"+G+Be+",\n"+R+"}"}}j.pop();G=R;return Ne}function serializeKey(E){if(E.length===0){return quoteString(E,true)}var R=String.fromCodePoint(E.codePointAt(0));if(!q.isIdStartChar(R)){return quoteString(E,true)}for(var N=R.length;N=0){throw TypeError("Converting circular structure to JSON5")}j.push(E);var R=G;G=G+le;var N=[];for(var $=0;${"use strict";Object.defineProperty(R,"__esModule",{value:true});var N=R.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var $=R.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;var j=R.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},69616:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.isSpaceSeparator=isSpaceSeparator;R.isIdStartChar=isIdStartChar;R.isIdContinueChar=isIdContinueChar;R.isDigit=isDigit;R.isHexDigit=isHexDigit;var $=N(48330);var j=_interopRequireWildcard($);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N))R[N]=E[N]}}R.default=E;return R}}function isSpaceSeparator(E){return j.Space_Separator.test(E)}function isIdStartChar(E){return E>="a"&&E<="z"||E>="A"&&E<="Z"||E==="$"||E==="_"||j.ID_Start.test(E)}function isIdContinueChar(E){return E>="a"&&E<="z"||E>="A"&&E<="Z"||E>="0"&&E<="9"||E==="$"||E==="_"||E==="‌"||E==="‍"||j.ID_Continue.test(E)}function isDigit(E){return/[0-9]/.test(E)}function isHexDigit(E){return/[0-9A-Fa-f]/.test(E)}},5115:E=>{ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -32,6 +32,6 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var R;var N;var $;var j;var q;var G;var ie;var ae;var le;var _e;var Ee;var we;var Ie;var Me;var Te;var Ne;var Be;var Le;var je;var ze;var Ue;var qe;var Ge;(function(R){var N=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){R(createExporter(N,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){R(createExporter(N,createExporter(E.exports)))}else{R(createExporter(N))}function createExporter(E,R){if(E!==N){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(N,$){return E[N]=R?R(N,$):$}}})((function(E){var He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,R){E.__proto__=R}||function(E,R){for(var N in R)if(R.hasOwnProperty(N))E[N]=R[N]};R=function(E,R){He(E,R);function __(){this.constructor=E}E.prototype=R===null?Object.create(R):(__.prototype=R.prototype,new __)};N=Object.assign||function(E){for(var R,N=1,$=arguments.length;N<$;N++){R=arguments[N];for(var j in R)if(Object.prototype.hasOwnProperty.call(R,j))E[j]=R[j]}return E};$=function(E,R){var N={};for(var $ in E)if(Object.prototype.hasOwnProperty.call(E,$)&&R.indexOf($)<0)N[$]=E[$];if(E!=null&&typeof Object.getOwnPropertySymbols==="function")for(var j=0,$=Object.getOwnPropertySymbols(E);j<$.length;j++){if(R.indexOf($[j])<0&&Object.prototype.propertyIsEnumerable.call(E,$[j]))N[$[j]]=E[$[j]]}return N};j=function(E,R,N,$){var j=arguments.length,q=j<3?R:$===null?$=Object.getOwnPropertyDescriptor(R,N):$,G;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")q=Reflect.decorate(E,R,N,$);else for(var ie=E.length-1;ie>=0;ie--)if(G=E[ie])q=(j<3?G(q):j>3?G(R,N,q):G(R,N))||q;return j>3&&q&&Object.defineProperty(R,N,q),q};q=function(E,R){return function(N,$){R(N,$,E)}};G=function(E,R){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,R)};ie=function(E,R,N,$){function adopt(E){return E instanceof N?E:new N((function(R){R(E)}))}return new(N||(N=Promise))((function(N,j){function fulfilled(E){try{step($.next(E))}catch(E){j(E)}}function rejected(E){try{step($["throw"](E))}catch(E){j(E)}}function step(E){E.done?N(E.value):adopt(E.value).then(fulfilled,rejected)}step(($=$.apply(E,R||[])).next())}))};ae=function(E,R){var N={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},$,j,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(R){return step([E,R])}}function step(G){if($)throw new TypeError("Generator is already executing.");while(N)try{if($=1,j&&(q=G[0]&2?j["return"]:G[0]?j["throw"]||((q=j["return"])&&q.call(j),0):j.next)&&!(q=q.call(j,G[1])).done)return q;if(j=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:N.label++;return{value:G[1],done:false};case 5:N.label++;j=G[1];G=[0];continue;case 7:G=N.ops.pop();N.trys.pop();continue;default:if(!(q=N.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){N=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Ee=function(E,R){var N=typeof Symbol==="function"&&E[Symbol.iterator];if(!N)return E;var $=N.call(E),j,q=[],G;try{while((R===void 0||R-- >0)&&!(j=$.next()).done)q.push(j.value)}catch(E){G={error:E}}finally{try{if(j&&!j.done&&(N=$["return"]))N.call($)}finally{if(G)throw G.error}}return q};we=function(){for(var E=[],R=0;R1||resume(E,R)}))}}function resume(E,R){try{step($[E](R))}catch(E){settle(q[0][3],E)}}function step(E){E.value instanceof Me?Promise.resolve(E.value.v).then(fulfill,reject):settle(q[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,R){if(E(R),q.shift(),q.length)resume(q[0][0],q[0][1])}};Ne=function(E){var R,N;return R={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),R[Symbol.iterator]=function(){return this},R;function verb($,j){R[$]=E[$]?function(R){return(N=!N)?{value:Me(E[$](R)),done:$==="return"}:j?j(R):R}:j}};Be=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R=E[Symbol.asyncIterator],N;return R?R.call(E):(E=typeof _e==="function"?_e(E):E[Symbol.iterator](),N={},verb("next"),verb("throw"),verb("return"),N[Symbol.asyncIterator]=function(){return this},N);function verb(R){N[R]=E[R]&&function(N){return new Promise((function($,j){N=E[R](N),settle($,j,N.done,N.value)}))}}function settle(E,R,N,$){Promise.resolve($).then((function(R){E({value:R,done:N})}),R)}};Le=function(E,R){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:R})}else{E.raw=R}return E};je=function(E){if(E&&E.__esModule)return E;var R={};if(E!=null)for(var N in E)if(Object.hasOwnProperty.call(E,N))R[N]=E[N];R["default"]=E;return R};ze=function(E){return E&&E.__esModule?E:{default:E}};Ue=function(E,R){if(!R.has(E)){throw new TypeError("attempted to get private field on non-instance")}return R.get(E)};qe=function(E,R,N){if(!R.has(E)){throw new TypeError("attempted to set private field on non-instance")}R.set(E,N);return N};E("__extends",R);E("__assign",N);E("__rest",$);E("__decorate",j);E("__param",q);E("__metadata",G);E("__awaiter",ie);E("__generator",ae);E("__exportStar",le);E("__createBinding",Ge);E("__values",_e);E("__read",Ee);E("__spread",we);E("__spreadArrays",Ie);E("__await",Me);E("__asyncGenerator",Te);E("__asyncDelegator",Ne);E("__asyncValues",Be);E("__makeTemplateObject",Le);E("__importStar",je);E("__importDefault",ze);E("__classPrivateFieldGet",Ue);E("__classPrivateFieldSet",qe)}))},30823:function(E,R){ +var R;var N;var $;var j;var q;var G;var ie;var ae;var le;var _e;var Ee;var we;var Me;var Ie;var Te;var Ne;var Be;var Le;var je;var ze;var Ue;var qe;var Ge;(function(R){var N=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){R(createExporter(N,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){R(createExporter(N,createExporter(E.exports)))}else{R(createExporter(N))}function createExporter(E,R){if(E!==N){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(N,$){return E[N]=R?R(N,$):$}}})((function(E){var He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,R){E.__proto__=R}||function(E,R){for(var N in R)if(R.hasOwnProperty(N))E[N]=R[N]};R=function(E,R){He(E,R);function __(){this.constructor=E}E.prototype=R===null?Object.create(R):(__.prototype=R.prototype,new __)};N=Object.assign||function(E){for(var R,N=1,$=arguments.length;N<$;N++){R=arguments[N];for(var j in R)if(Object.prototype.hasOwnProperty.call(R,j))E[j]=R[j]}return E};$=function(E,R){var N={};for(var $ in E)if(Object.prototype.hasOwnProperty.call(E,$)&&R.indexOf($)<0)N[$]=E[$];if(E!=null&&typeof Object.getOwnPropertySymbols==="function")for(var j=0,$=Object.getOwnPropertySymbols(E);j<$.length;j++){if(R.indexOf($[j])<0&&Object.prototype.propertyIsEnumerable.call(E,$[j]))N[$[j]]=E[$[j]]}return N};j=function(E,R,N,$){var j=arguments.length,q=j<3?R:$===null?$=Object.getOwnPropertyDescriptor(R,N):$,G;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")q=Reflect.decorate(E,R,N,$);else for(var ie=E.length-1;ie>=0;ie--)if(G=E[ie])q=(j<3?G(q):j>3?G(R,N,q):G(R,N))||q;return j>3&&q&&Object.defineProperty(R,N,q),q};q=function(E,R){return function(N,$){R(N,$,E)}};G=function(E,R){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,R)};ie=function(E,R,N,$){function adopt(E){return E instanceof N?E:new N((function(R){R(E)}))}return new(N||(N=Promise))((function(N,j){function fulfilled(E){try{step($.next(E))}catch(E){j(E)}}function rejected(E){try{step($["throw"](E))}catch(E){j(E)}}function step(E){E.done?N(E.value):adopt(E.value).then(fulfilled,rejected)}step(($=$.apply(E,R||[])).next())}))};ae=function(E,R){var N={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},$,j,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(R){return step([E,R])}}function step(G){if($)throw new TypeError("Generator is already executing.");while(N)try{if($=1,j&&(q=G[0]&2?j["return"]:G[0]?j["throw"]||((q=j["return"])&&q.call(j),0):j.next)&&!(q=q.call(j,G[1])).done)return q;if(j=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:N.label++;return{value:G[1],done:false};case 5:N.label++;j=G[1];G=[0];continue;case 7:G=N.ops.pop();N.trys.pop();continue;default:if(!(q=N.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){N=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Ee=function(E,R){var N=typeof Symbol==="function"&&E[Symbol.iterator];if(!N)return E;var $=N.call(E),j,q=[],G;try{while((R===void 0||R-- >0)&&!(j=$.next()).done)q.push(j.value)}catch(E){G={error:E}}finally{try{if(j&&!j.done&&(N=$["return"]))N.call($)}finally{if(G)throw G.error}}return q};we=function(){for(var E=[],R=0;R1||resume(E,R)}))}}function resume(E,R){try{step($[E](R))}catch(E){settle(q[0][3],E)}}function step(E){E.value instanceof Ie?Promise.resolve(E.value.v).then(fulfill,reject):settle(q[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,R){if(E(R),q.shift(),q.length)resume(q[0][0],q[0][1])}};Ne=function(E){var R,N;return R={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),R[Symbol.iterator]=function(){return this},R;function verb($,j){R[$]=E[$]?function(R){return(N=!N)?{value:Ie(E[$](R)),done:$==="return"}:j?j(R):R}:j}};Be=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R=E[Symbol.asyncIterator],N;return R?R.call(E):(E=typeof _e==="function"?_e(E):E[Symbol.iterator](),N={},verb("next"),verb("throw"),verb("return"),N[Symbol.asyncIterator]=function(){return this},N);function verb(R){N[R]=E[R]&&function(N){return new Promise((function($,j){N=E[R](N),settle($,j,N.done,N.value)}))}}function settle(E,R,N,$){Promise.resolve($).then((function(R){E({value:R,done:N})}),R)}};Le=function(E,R){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:R})}else{E.raw=R}return E};je=function(E){if(E&&E.__esModule)return E;var R={};if(E!=null)for(var N in E)if(Object.hasOwnProperty.call(E,N))R[N]=E[N];R["default"]=E;return R};ze=function(E){return E&&E.__esModule?E:{default:E}};Ue=function(E,R){if(!R.has(E)){throw new TypeError("attempted to get private field on non-instance")}return R.get(E)};qe=function(E,R,N){if(!R.has(E)){throw new TypeError("attempted to set private field on non-instance")}R.set(E,N);return N};E("__extends",R);E("__assign",N);E("__rest",$);E("__decorate",j);E("__param",q);E("__metadata",G);E("__awaiter",ie);E("__generator",ae);E("__exportStar",le);E("__createBinding",Ge);E("__values",_e);E("__read",Ee);E("__spread",we);E("__spreadArrays",Me);E("__await",Ie);E("__asyncGenerator",Te);E("__asyncDelegator",Ne);E("__asyncValues",Be);E("__makeTemplateObject",Le);E("__importStar",je);E("__importDefault",ze);E("__classPrivateFieldGet",Ue);E("__classPrivateFieldSet",qe)}))},30823:function(E,R){ /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ -(function(E,N){true?N(R):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,R=Array(E),N=0;N1){R[0]=R[0].slice(0,-1);var $=R.length-1;for(var j=1;j<$;++j){R[j]=R[j].slice(1,-1)}R[$]=R[$].slice(1);return R.join("")}else{return R[0]}}function subexp(E){return"(?:"+E+")"}function typeOf(E){return E===undefined?"undefined":E===null?"null":Object.prototype.toString.call(E).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(E){return E.toUpperCase()}function toArray(E){return E!==undefined&&E!==null?E instanceof Array?E:typeof E.length!=="number"||E.split||E.setInterval||E.call?[E]:Array.prototype.slice.call(E):[]}function assign(E,R){var N=E;if(R){for(var $ in R){N[$]=R[$]}}return N}function buildExps(E){var R="[A-Za-z]",N="[\\x0D]",$="[0-9]",j="[\\x22]",q=merge($,"[A-Fa-f]"),G="[\\x0A]",ie="[\\x20]",ae=subexp(subexp("%[EFef]"+q+"%"+q+q+"%"+q+q)+"|"+subexp("%[89A-Fa-f]"+q+"%"+q+q)+"|"+subexp("%"+q+q)),le="[\\:\\/\\?\\#\\[\\]\\@]",_e="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Ee=merge(le,_e),we=E?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Ie=E?"[\\uE000-\\uF8FF]":"[]",Me=merge(R,$,"[\\-\\.\\_\\~]",we),Te=subexp(R+merge(R,$,"[\\+\\-\\.]")+"*"),Ne=subexp(subexp(ae+"|"+merge(Me,_e,"[\\:]"))+"*"),Be=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+$)+"|"+subexp("1"+$+$)+"|"+subexp("[1-9]"+$)+"|"+$),Le=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+$)+"|"+subexp("1"+$+$)+"|"+subexp("0?[1-9]"+$)+"|0?0?"+$),je=subexp(Le+"\\."+Le+"\\."+Le+"\\."+Le),ze=subexp(q+"{1,4}"),Ue=subexp(subexp(ze+"\\:"+ze)+"|"+je),qe=subexp(subexp(ze+"\\:")+"{6}"+Ue),Ge=subexp("\\:\\:"+subexp(ze+"\\:")+"{5}"+Ue),He=subexp(subexp(ze)+"?\\:\\:"+subexp(ze+"\\:")+"{4}"+Ue),We=subexp(subexp(subexp(ze+"\\:")+"{0,1}"+ze)+"?\\:\\:"+subexp(ze+"\\:")+"{3}"+Ue),Ve=subexp(subexp(subexp(ze+"\\:")+"{0,2}"+ze)+"?\\:\\:"+subexp(ze+"\\:")+"{2}"+Ue),Ke=subexp(subexp(subexp(ze+"\\:")+"{0,3}"+ze)+"?\\:\\:"+ze+"\\:"+Ue),Qe=subexp(subexp(subexp(ze+"\\:")+"{0,4}"+ze)+"?\\:\\:"+Ue),Je=subexp(subexp(subexp(ze+"\\:")+"{0,5}"+ze)+"?\\:\\:"+ze),Xe=subexp(subexp(subexp(ze+"\\:")+"{0,6}"+ze)+"?\\:\\:"),Ye=subexp([qe,Ge,He,We,Ve,Ke,Qe,Je,Xe].join("|")),Ze=subexp(subexp(Me+"|"+ae)+"+"),et=subexp(Ye+"\\%25"+Ze),tt=subexp(Ye+subexp("\\%25|\\%(?!"+q+"{2})")+Ze),nt=subexp("[vV]"+q+"+\\."+merge(Me,_e,"[\\:]")+"+"),rt=subexp("\\["+subexp(tt+"|"+Ye+"|"+nt)+"\\]"),st=subexp(subexp(ae+"|"+merge(Me,_e))+"*"),it=subexp(rt+"|"+je+"(?!"+st+")"+"|"+st),ot=subexp($+"*"),lt=subexp(subexp(Ne+"@")+"?"+it+subexp("\\:"+ot)+"?"),ct=subexp(ae+"|"+merge(Me,_e,"[\\:\\@]")),ut=subexp(ct+"*"),pt=subexp(ct+"+"),dt=subexp(subexp(ae+"|"+merge(Me,_e,"[\\@]"))+"+"),ft=subexp(subexp("\\/"+ut)+"*"),ht=subexp("\\/"+subexp(pt+ft)+"?"),mt=subexp(dt+ft),gt=subexp(pt+ft),yt="(?!"+ct+")",vt=subexp(ft+"|"+ht+"|"+mt+"|"+gt+"|"+yt),bt=subexp(subexp(ct+"|"+merge("[\\/\\?]",Ie))+"*"),_t=subexp(subexp(ct+"|[\\/\\?]")+"*"),xt=subexp(subexp("\\/\\/"+lt+ft)+"|"+ht+"|"+gt+"|"+yt),kt=subexp(Te+"\\:"+xt+subexp("\\?"+bt)+"?"+subexp("\\#"+_t)+"?"),Et=subexp(subexp("\\/\\/"+lt+ft)+"|"+ht+"|"+mt+"|"+yt),wt=subexp(Et+subexp("\\?"+bt)+"?"+subexp("\\#"+_t)+"?"),St=subexp(kt+"|"+wt),At=subexp(Te+"\\:"+xt+subexp("\\?"+bt)+"?"),Ct="^("+Te+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+gt+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+_t+")")+"?$",Dt="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+mt+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+_t+")")+"?$",It="^("+Te+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+gt+"|"+yt+")")+subexp("\\?("+bt+")")+"?$",Mt="^"+subexp("\\#("+_t+")")+"?$",Pt="^"+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",R,$,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",Me,_e),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",Me,_e),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",Me,_e),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",Me,_e),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",Me,_e,"[\\:\\@\\/\\?]",Ie),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",Me,_e,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",Me,_e),"g"),UNRESERVED:new RegExp(Me,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",Me,Ee),"g"),PCT_ENCODED:new RegExp(ae,"g"),IPV4ADDRESS:new RegExp("^("+je+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Ye+")"+subexp(subexp("\\%25|\\%(?!"+q+"{2})")+"("+Ze+")")+"?\\]?$")}}var R=buildExps(false);var N=buildExps(true);var $=function(){function sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"])G["return"]()}finally{if(j)throw q}}return N}return function(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(E){if(Array.isArray(E)){for(var R=0,N=Array(E.length);R= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Be=q-G;var Le=Math.floor;var je=String.fromCharCode;function error$1(E){throw new RangeError(Ne[E])}function map(E,R){var N=[];var $=E.length;while($--){N[$]=R(E[$])}return N}function mapDomain(E,R){var N=E.split("@");var $="";if(N.length>1){$=N[0]+"@";E=N[1]}E=E.replace(Te,".");var j=E.split(".");var q=map(j,R).join(".");return $+q}function ucs2decode(E){var R=[];var N=0;var $=E.length;while(N<$){var j=E.charCodeAt(N++);if(j>=55296&&j<=56319&&N<$){var q=E.charCodeAt(N++);if((q&64512)==56320){R.push(((j&1023)<<10)+(q&1023)+65536)}else{R.push(j);N--}}else{R.push(j)}}return R}var ze=function ucs2encode(E){return String.fromCodePoint.apply(String,toConsumableArray(E))};var Ue=function basicToDigit(E){if(E-48<10){return E-22}if(E-65<26){return E-65}if(E-97<26){return E-97}return q};var qe=function digitToBasic(E,R){return E+22+75*(E<26)-((R!=0)<<5)};var Ge=function adapt(E,R,N){var $=0;E=N?Le(E/le):E>>1;E+=Le(E/R);for(;E>Be*ie>>1;$+=q){E=Le(E/Be)}return Le($+(Be+1)*E/(E+ae))};var He=function decode(E){var R=[];var N=E.length;var $=0;var ae=Ee;var le=_e;var Ie=E.lastIndexOf(we);if(Ie<0){Ie=0}for(var Me=0;Me=128){error$1("not-basic")}R.push(E.charCodeAt(Me))}for(var Te=Ie>0?Ie+1:0;Te=N){error$1("invalid-input")}var ze=Ue(E.charCodeAt(Te++));if(ze>=q||ze>Le((j-$)/Be)){error$1("overflow")}$+=ze*Be;var qe=je<=le?G:je>=le+ie?ie:je-le;if(zeLe(j/He)){error$1("overflow")}Be*=He}var We=R.length+1;le=Ge($-Ne,We,Ne==0);if(Le($/We)>j-ae){error$1("overflow")}ae+=Le($/We);$%=We;R.splice($++,0,ae)}return String.fromCodePoint.apply(String,R)};var We=function encode(E){var R=[];E=ucs2decode(E);var N=E.length;var $=Ee;var ae=0;var le=_e;var Ie=true;var Me=false;var Te=undefined;try{for(var Ne=E[Symbol.iterator](),Be;!(Ie=(Be=Ne.next()).done);Ie=true){var ze=Be.value;if(ze<128){R.push(je(ze))}}}catch(E){Me=true;Te=E}finally{try{if(!Ie&&Ne.return){Ne.return()}}finally{if(Me){throw Te}}}var Ue=R.length;var He=Ue;if(Ue){R.push(we)}while(He=$&&YeLe((j-ae)/Ze)){error$1("overflow")}ae+=(We-$)*Ze;$=We;var et=true;var tt=false;var nt=undefined;try{for(var rt=E[Symbol.iterator](),st;!(et=(st=rt.next()).done);et=true){var it=st.value;if(it<$&&++ae>j){error$1("overflow")}if(it==$){var ot=ae;for(var lt=q;;lt+=q){var ct=lt<=le?G:lt>=le+ie?ie:lt-le;if(ot>6|192).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase();else N="%"+(R>>12|224).toString(16).toUpperCase()+"%"+(R>>6&63|128).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase();return N}function pctDecChars(E){var R="";var N=0;var $=E.length;while(N<$){var j=parseInt(E.substr(N+1,2),16);if(j<128){R+=String.fromCharCode(j);N+=3}else if(j>=194&&j<224){if($-N>=6){var q=parseInt(E.substr(N+4,2),16);R+=String.fromCharCode((j&31)<<6|q&63)}else{R+=E.substr(N,6)}N+=6}else if(j>=224){if($-N>=9){var G=parseInt(E.substr(N+4,2),16);var ie=parseInt(E.substr(N+7,2),16);R+=String.fromCharCode((j&15)<<12|(G&63)<<6|ie&63)}else{R+=E.substr(N,9)}N+=9}else{R+=E.substr(N,3);N+=3}}return R}function _normalizeComponentEncoding(E,R){function decodeUnreserved(E){var N=pctDecChars(E);return!N.match(R.UNRESERVED)?E:N}if(E.scheme)E.scheme=String(E.scheme).replace(R.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(R.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_USERINFO,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(R.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(R.NOT_HOST,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(R.PCT_ENCODED,decodeUnreserved).replace(E.scheme?R.NOT_PATH:R.NOT_PATH_NOSCHEME,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_QUERY,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_FRAGMENT,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,R){var N=E.match(R.IPV4ADDRESS)||[];var j=$(N,2),q=j[1];if(q){return q.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,R){var N=E.match(R.IPV6ADDRESS)||[];var j=$(N,3),q=j[1],G=j[2];if(q){var ie=q.toLowerCase().split("::").reverse(),ae=$(ie,2),le=ae[0],_e=ae[1];var Ee=_e?_e.split(":").map(_stripLeadingZeros):[];var we=le.split(":").map(_stripLeadingZeros);var Ie=R.IPV4ADDRESS.test(we[we.length-1]);var Me=Ie?7:8;var Te=we.length-Me;var Ne=Array(Me);for(var Be=0;Be1){var Ue=Ne.slice(0,je.index);var qe=Ne.slice(je.index+je.length);ze=Ue.join(":")+"::"+qe.join(":")}else{ze=Ne.join(":")}if(G){ze+="%"+G}return ze}else{return E}}var Xe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Ye="".match(/(){0}/)[1]===undefined;function parse(E){var $=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var j={};var q=$.iri!==false?N:R;if($.reference==="suffix")E=($.scheme?$.scheme+":":"")+"//"+E;var G=E.match(Xe);if(G){if(Ye){j.scheme=G[1];j.userinfo=G[3];j.host=G[4];j.port=parseInt(G[5],10);j.path=G[6]||"";j.query=G[7];j.fragment=G[8];if(isNaN(j.port)){j.port=G[5]}}else{j.scheme=G[1]||undefined;j.userinfo=E.indexOf("@")!==-1?G[3]:undefined;j.host=E.indexOf("//")!==-1?G[4]:undefined;j.port=parseInt(G[5],10);j.path=G[6]||"";j.query=E.indexOf("?")!==-1?G[7]:undefined;j.fragment=E.indexOf("#")!==-1?G[8]:undefined;if(isNaN(j.port)){j.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?G[4]:undefined}}if(j.host){j.host=_normalizeIPv6(_normalizeIPv4(j.host,q),q)}if(j.scheme===undefined&&j.userinfo===undefined&&j.host===undefined&&j.port===undefined&&!j.path&&j.query===undefined){j.reference="same-document"}else if(j.scheme===undefined){j.reference="relative"}else if(j.fragment===undefined){j.reference="absolute"}else{j.reference="uri"}if($.reference&&$.reference!=="suffix"&&$.reference!==j.reference){j.error=j.error||"URI is not a "+$.reference+" reference."}var ie=Je[($.scheme||j.scheme||"").toLowerCase()];if(!$.unicodeSupport&&(!ie||!ie.unicodeSupport)){if(j.host&&($.domainHost||ie&&ie.domainHost)){try{j.host=Qe.toASCII(j.host.replace(q.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){j.error=j.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding(j,R)}else{_normalizeComponentEncoding(j,q)}if(ie&&ie.parse){ie.parse(j,$)}}else{j.error=j.error||"URI can not be parsed."}return j}function _recomposeAuthority(E,$){var j=$.iri!==false?N:R;var q=[];if(E.userinfo!==undefined){q.push(E.userinfo);q.push("@")}if(E.host!==undefined){q.push(_normalizeIPv6(_normalizeIPv4(String(E.host),j),j).replace(j.IPV6ADDRESS,(function(E,R,N){return"["+R+(N?"%25"+N:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){q.push(":");q.push(String(E.port))}return q.length?q.join(""):undefined}var Ze=/^\.\.?\//;var et=/^\/\.(\/|$)/;var tt=/^\/\.\.(\/|$)/;var nt=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var R=[];while(E.length){if(E.match(Ze)){E=E.replace(Ze,"")}else if(E.match(et)){E=E.replace(et,"/")}else if(E.match(tt)){E=E.replace(tt,"/");R.pop()}else if(E==="."||E===".."){E=""}else{var N=E.match(nt);if(N){var $=N[0];E=E.slice($.length);R.push($)}else{throw new Error("Unexpected dot segment condition")}}}return R.join("")}function serialize(E){var $=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var j=$.iri?N:R;var q=[];var G=Je[($.scheme||E.scheme||"").toLowerCase()];if(G&&G.serialize)G.serialize(E,$);if(E.host){if(j.IPV6ADDRESS.test(E.host)){}else if($.domainHost||G&&G.domainHost){try{E.host=!$.iri?Qe.toASCII(E.host.replace(j.PCT_ENCODED,pctDecChars).toLowerCase()):Qe.toUnicode(E.host)}catch(R){E.error=E.error||"Host's domain name can not be converted to "+(!$.iri?"ASCII":"Unicode")+" via punycode: "+R}}}_normalizeComponentEncoding(E,j);if($.reference!=="suffix"&&E.scheme){q.push(E.scheme);q.push(":")}var ie=_recomposeAuthority(E,$);if(ie!==undefined){if($.reference!=="suffix"){q.push("//")}q.push(ie);if(E.path&&E.path.charAt(0)!=="/"){q.push("/")}}if(E.path!==undefined){var ae=E.path;if(!$.absolutePath&&(!G||!G.absolutePath)){ae=removeDotSegments(ae)}if(ie===undefined){ae=ae.replace(/^\/\//,"/%2F")}q.push(ae)}if(E.query!==undefined){q.push("?");q.push(E.query)}if(E.fragment!==undefined){q.push("#");q.push(E.fragment)}return q.join("")}function resolveComponents(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var $=arguments[3];var j={};if(!$){E=parse(serialize(E,N),N);R=parse(serialize(R,N),N)}N=N||{};if(!N.tolerant&&R.scheme){j.scheme=R.scheme;j.userinfo=R.userinfo;j.host=R.host;j.port=R.port;j.path=removeDotSegments(R.path||"");j.query=R.query}else{if(R.userinfo!==undefined||R.host!==undefined||R.port!==undefined){j.userinfo=R.userinfo;j.host=R.host;j.port=R.port;j.path=removeDotSegments(R.path||"");j.query=R.query}else{if(!R.path){j.path=E.path;if(R.query!==undefined){j.query=R.query}else{j.query=E.query}}else{if(R.path.charAt(0)==="/"){j.path=removeDotSegments(R.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){j.path="/"+R.path}else if(!E.path){j.path=R.path}else{j.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+R.path}j.path=removeDotSegments(j.path)}j.query=R.query}j.userinfo=E.userinfo;j.host=E.host;j.port=E.port}j.scheme=E.scheme}j.fragment=R.fragment;return j}function resolve(E,R,N){var $=assign({scheme:"null"},N);return serialize(resolveComponents(parse(E,$),parse(R,$),$,true),$)}function normalize(E,R){if(typeof E==="string"){E=serialize(parse(E,R),R)}else if(typeOf(E)==="object"){E=parse(serialize(E,R),R)}return E}function equal(E,R,N){if(typeof E==="string"){E=serialize(parse(E,N),N)}else if(typeOf(E)==="object"){E=serialize(E,N)}if(typeof R==="string"){R=serialize(parse(R,N),N)}else if(typeOf(R)==="object"){R=serialize(R,N)}return E===R}function escapeComponent(E,$){return E&&E.toString().replace(!$||!$.iri?R.ESCAPE:N.ESCAPE,pctEncChar)}function unescapeComponent(E,$){return E&&E.toString().replace(!$||!$.iri?R.PCT_ENCODED:N.PCT_ENCODED,pctDecChars)}var rt={scheme:"http",domainHost:true,parse:function parse(E,R){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,R){var N=String(E.scheme).toLowerCase()==="https";if(E.port===(N?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var st={scheme:"https",domainHost:rt.domainHost,parse:rt.parse,serialize:rt.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var it={scheme:"ws",domainHost:true,parse:function parse(E,R){var N=E;N.secure=isSecure(N);N.resourceName=(N.path||"/")+(N.query?"?"+N.query:"");N.path=undefined;N.query=undefined;return N},serialize:function serialize(E,R){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var N=E.resourceName.split("?"),j=$(N,2),q=j[0],G=j[1];E.path=q&&q!=="/"?q:undefined;E.query=G;E.resourceName=undefined}E.fragment=undefined;return E}};var ot={scheme:"wss",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};var lt={};var ct=true;var ut="[A-Za-z0-9\\-\\.\\_\\~"+(ct?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var pt="[0-9A-Fa-f]";var dt=subexp(subexp("%[EFef]"+pt+"%"+pt+pt+"%"+pt+pt)+"|"+subexp("%[89A-Fa-f]"+pt+"%"+pt+pt)+"|"+subexp("%"+pt+pt));var ft="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var ht="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var mt=merge(ht,'[\\"\\\\]');var gt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var yt=new RegExp(ut,"g");var vt=new RegExp(dt,"g");var bt=new RegExp(merge("[^]",ft,"[\\.]",'[\\"]',mt),"g");var _t=new RegExp(merge("[^]",ut,gt),"g");var xt=_t;function decodeUnreserved(E){var R=pctDecChars(E);return!R.match(yt)?E:R}var kt={scheme:"mailto",parse:function parse$$1(E,R){var N=E;var $=N.to=N.path?N.path.split(","):[];N.path=undefined;if(N.query){var j=false;var q={};var G=N.query.split("&");for(var ie=0,ae=G.length;ie{E.exports=N(73837).deprecate},56755:(E,R,N)=>{"use strict";const $=N(82361).EventEmitter;const j=N(15808);const q=N(71017);const G=N(68862);const ie=Object.freeze({});let ae=1e3;const le=N(22037).platform()==="darwin";const _e=process.env.WATCHPACK_POLLING;const Ee=`${+_e}`===_e?+_e:!!_e&&_e!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,R){return function(){if(--E===0){return R()}}}class Watcher extends ${constructor(E,R,N){super();this.directoryWatcher=E;this.path=R;this.startTime=N&&+N;this._cachedTimeInfoEntries=undefined}checkStartTime(E,R){const N=this.startTime;if(typeof N!=="number")return!R;return N<=E}close(){this.emit("closed")}}class DirectoryWatcher extends ${constructor(E,R,N){super();if(Ee){N.poll=Ee}this.watcherManager=E;this.options=N;this.path=R;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=N.ignored;this.nestedWatching=false;this.polledWatching=typeof N.poll==="number"?N.poll:N.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(E){if(!this.ignored)return false;E=E.replace(/\\/g,"/");return this.ignored.test(E)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(le){this.watchInParentDirectory()}this.watcher=G.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,R){const N=this.watchers.get(withoutCase(E));if(N!==undefined){for(const E of N){R(E)}}}setMissing(E,R,N){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(E)}const $=this.directories.get(E);if($){if(this.nestedWatching)$.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",N)));if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,null,N,R)))}}const j=this.files.get(E);if(j){this.files.delete(E);const $=withoutCase(E);const j=this.filesWithoutCase.get($)-1;if(j<=0){this.filesWithoutCase.delete($);this.forEachWatcher(E,(E=>E.emit("remove",N)))}else{this.filesWithoutCase.set($,j)}if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,null,N,R)))}}}setFileTime(E,R,N,$,j){const q=Date.now();if(this.checkIgnore(E))return;const G=this.files.get(E);let ie,le;if(N){ie=Math.min(q,R)+ae;le=ae}else{ie=q;le=0;if(G&&G.timestamp===R&&R+ae{if(!N||E.checkStartTime(ie,N)){E.emit("change",R,j)}}))}else if(!N){this.forEachWatcher(E,(E=>E.emit("change",R,j)))}this.forEachWatcher(this.path,(R=>{if(!N||R.checkStartTime(ie,N)){R.emit("change",E,ie,j,N)}}))}setDirectory(E,R,N,$){if(this.checkIgnore(E))return;if(E===this.path){if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,R,$,N)))}}else{const j=this.directories.get(E);if(!j){const j=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let q;if(N){q=Math.min(j,R)+ae}else{q=j}this.forEachWatcher(E,(E=>{if(!N||E.checkStartTime(q,false)){E.emit("change",R,$)}}));this.forEachWatcher(this.path,(R=>{if(!N||R.checkStartTime(q,N)){R.emit("change",E,q,$,N)}}))}}}createNestedWatcher(E){const R=this.watcherManager.watchDirectory(E,1);R.on("change",((E,R,N,$)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,(j=>{if(!$||j.checkStartTime(R,$)){j.emit("change",E,R,N,$)}}))}));this.directories.set(E,R)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,R]of this.directories){R.close();this.directories.set(E,true)}}}}watch(E,R){const N=withoutCase(E);let $=this.watchers.get(N);if($===undefined){$=new Set;this.watchers.set(N,$)}this.refs++;const j=new Watcher(this,E,R);j.on("closed",(()=>{if(--this.refs<=0){this.close();return}$.delete(j);if($.size===0){this.watchers.delete(N);if(this.path===E)this.setNestedWatching(false)}}));$.add(j);let q;if(E===this.path){this.setNestedWatching(true);q=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);q=Math.max(q,E.safeTime)}}else{const R=this.files.get(E);if(R){fixupEntryAccuracy(R);q=R.safeTime}else{q=0}}if(q){if(q>=R){process.nextTick((()=>{if(this.closed)return;if(E===this.path){j.emit("change",E,q,"watch (outdated on attach)",true)}else{j.emit("change",q,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;j.emit("remove")}))}}else if(!this.directories.has(E)&&j.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;j.emit("initial-missing","watch (missing on attach)")}))}return j}onWatchEvent(E,R){if(this.closed)return;if(!R){this.doScan(false);return}const N=q.join(this.path,R);if(this.checkIgnore(N))return;if(this._activeEvents.get(R)===undefined){this._activeEvents.set(R,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(R,false);j.lstat(N,(($,G)=>{if(this.closed)return;if(this._activeEvents.get(R)===true){process.nextTick(checkStats);return}this._activeEvents.delete(R);if($){if($.code!=="ENOENT"&&$.code!=="EPERM"&&$.code!=="EBUSY"){this.onStatsError($)}else{if(R===q.basename(this.path)){if(!j.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!G){this.setMissing(N,false,E)}else if(G.isDirectory()){this.setDirectory(N,+G.birthtime||1,false,E)}else if(G.isFile()||G.isSymbolicLink()){if(G.mtime){ensureFsAccuracy(G.mtime)}this.setFileTime(N,+G.mtime||+G.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(R,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const R=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,R)}for(const E of this.files.keys()){this.setMissing(E,null,R)}}watchInParentDirectory(){if(!this.parentWatcher){const E=q.dirname(this.path);if(q.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,R)=>{if(this.closed)return;if((!le||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(N=>N.emit("change",this.path,E,R,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;j.readdir(this.path,((R,N)=>{if(this.closed)return;if(R){if(R.code==="ENOENT"||R.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(R)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const R of E){if(R.checkStartTime(this.initialScanFinished,false)){R.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const $=new Set(N.map((E=>q.join(this.path,E.normalize("NFC")))));for(const R of this.files.keys()){if(!$.has(R)){this.setMissing(R,E,"scan (missing)")}}for(const R of this.directories.keys()){if(!$.has(R)){this.setMissing(R,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const G=needCalls($.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const R of $){E.delete(withoutCase(R))}for(const R of E.values()){for(const E of R){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const R of $){j.lstat(R,((N,$)=>{if(this.closed)return;if(N){if(N.code==="ENOENT"||N.code==="EPERM"||N.code==="EBUSY"){this.setMissing(R,E,"scan ("+N.code+")")}else{this.onScanError(N)}G();return}if($.isFile()||$.isSymbolicLink()){if($.mtime){ensureFsAccuracy($.mtime)}this.setFileTime(R,+$.mtime||+$.ctime||1,E,true,"scan (file)")}else if($.isDirectory()){if(!E||!this.directories.has(R))this.setDirectory(R,+$.birthtime||1,E,"scan (dir)")}G()}))}G()}))}))}getTimes(){const E=Object.create(null);let R=this.lastWatchEvent;for(const[N,$]of this.files){fixupEntryAccuracy($);R=Math.max(R,$.safeTime);E[N]=Math.max($.safeTime,$.timestamp)}if(this.nestedWatching){for(const N of this.directories.values()){const $=N.directoryWatcher.getTimes();for(const N of Object.keys($)){const j=$[N];R=Math.max(R,j);E[N]=j}}E[this.path]=R}if(!this.initialScan){for(const R of this.watchers.values()){for(const N of R){const R=N.path;if(!Object.prototype.hasOwnProperty.call(E,R)){E[R]=null}}}}return E}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const E=new Map;let R=this.lastWatchEvent;for(const[N,$]of this.files){fixupEntryAccuracy($);R=Math.max(R,$.safeTime);E.set(N,$)}if(this.nestedWatching){for(const N of this.directories.values()){const $=N.directoryWatcher.getTimeInfoEntries();for(const[N,j]of $){if(j){R=Math.max(R,j.safeTime)}E.set(N,j)}}E.set(this.path,{safeTime:R})}else{for(const R of this.directories.keys()){E.set(R,ie)}E.set(this.path,ie)}if(!this.initialScan){for(const R of this.watchers.values()){for(const N of R){const R=N.path;if(!E.has(R)){E.set(R,null)}}}this._cachedTimeInfoEntries=E}return E}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ie;function fixupEntryAccuracy(E){if(E.accuracy>ae){E.safeTime=E.safeTime-E.accuracy+ae;E.accuracy=ae}}function ensureFsAccuracy(E){if(!E)return;if(ae>1&&E%1!==0)ae=1;else if(ae>10&&E%10!==0)ae=10;else if(ae>100&&E%100!==0)ae=100}},99181:(E,R,N)=>{"use strict";const $=N(57147);const j=N(71017);const q=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")q.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const R=this.cache.get(E);if(R!==undefined){return R}const N=j.dirname(E);if(N===E){const R=Object.freeze([E]);this.cache.set(E,R);return R}const G=this.resolve(N);let ie=E;if(G[0]!==N){const R=j.basename(E);ie=j.resolve(G[0],R)}try{const R=$.readlinkSync(ie);const N=j.resolve(G[0],R);const q=this.resolve(N);let ae;if(q.length>1&&G.length>1){const E=new Set(q);E.add(ie);for(let R=1;R1){ae=G.slice();ae[0]=q[0];ae.push(ie);Object.freeze(ae)}else if(q.length>1){ae=q.slice();ae.push(ie);Object.freeze(ae)}else{ae=Object.freeze([q[0],ie])}this.cache.set(E,ae);return ae}catch(R){if(!q.has(R.code)){throw R}const N=G.slice();N[0]=ie;Object.freeze(N);this.cache.set(E,N);return N}}}E.exports=LinkResolver},53982:(E,R,N)=>{"use strict";const $=N(71017);const j=N(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const R=this.directoryWatchers.get(E);if(R===undefined){const R=new j(this,E,this.options);this.directoryWatchers.set(E,R);R.on("closed",(()=>{this.directoryWatchers.delete(E)}));return R}return R}watchFile(E,R){const N=$.dirname(E);if(N===E)return null;return this.getDirectoryWatcher(N).watch(E,R)}watchDirectory(E,R){return this.getDirectoryWatcher(E).watch(E,R)}}const q=new WeakMap;E.exports=E=>{const R=q.get(E);if(R!==undefined)return R;const N=new WatcherManager(E);q.set(E,N);return N};E.exports.WatcherManager=WatcherManager},27601:(E,R,N)=>{"use strict";const $=N(71017);E.exports=(E,R)=>{const N=new Map;for(const[R,$]of E){N.set(R,{filePath:R,parent:undefined,children:undefined,entries:1,active:true,value:$})}let j=N.size;for(const E of N.values()){const R=$.dirname(E.filePath);if(R!==E.filePath){let $=N.get(R);if($===undefined){$={filePath:R,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};N.set(R,$);E.parent=$}else{E.parent=$;if($.children===undefined){$.children=[E]}else{$.children.push(E)}do{$.entries+=E.entries;$=$.parent}while($)}}}while(j>R){const E=j-R;let $=undefined;let q=Infinity;for(const j of N.values()){if(j.entries<=1||!j.children||!j.parent)continue;if(j.children.length===0)continue;if(j.children.length===1&&!j.value)continue;const N=j.entries-1>=E?j.entries-1-E:E-j.entries+1+R*.3;if(N{"use strict";const $=N(57147);const j=N(71017);const{EventEmitter:q}=N(82361);const G=N(27601);const ie=N(22037).platform()==="darwin";const ae=N(22037).platform()==="win32";const le=ie||ae;const _e=+process.env.WATCHPACK_WATCHER_LIMIT||(ie?2e3:1e4);const Ee=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let we=false;let Ie=0;const Me=new Map;const Te=new Map;const Ne=new Map;const Be=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const R=$.watch(E);this.watcher=R;R.on("change",((E,R)=>{for(const N of this.watchers){N.emit("change",E,R)}}));R.on("error",(E=>{for(const R of this.watchers){R.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const R of this.watchers){R.emit("error",E)}}))}Ie++}add(E){Be.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Ne.delete(this.filePath);Ie--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const R=$.watch(E,{recursive:true});this.watcher=R;R.on("change",((E,R)=>{if(!R){if(Ee){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const R of this.mapWatcherToPath.keys()){R.emit("change",E)}}else{const N=j.dirname(R);const $=this.mapPathToWatchers.get(N);if(Ee){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${R}' to ${$?$.size:0} watchers\n`)}if($===undefined)return;for(const N of $){N.emit("change",E,j.basename(R))}}}));R.on("error",(E=>{for(const R of this.mapWatcherToPath.keys()){R.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const R of this.mapWatcherToPath.keys()){R.emit("error",E)}}))}Ie++;if(Ee){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,R){Be.set(R,this);const N=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(R,N);const $=this.mapPathToWatchers.get(N);if($===undefined){const E=new Set;E.add(R);this.mapPathToWatchers.set(N,E)}else{$.add(R)}}remove(E){const R=this.mapWatcherToPath.get(E);if(!R)return;this.mapWatcherToPath.delete(E);const N=this.mapPathToWatchers.get(R);N.delete(E);if(N.size===0){this.mapPathToWatchers.delete(R)}if(this.mapWatcherToPath.size===0){Te.delete(this.rootPath);Ie--;if(this.watcher)this.watcher.close();if(Ee){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends q{close(){if(Me.has(this)){Me.delete(this);return}const E=Be.get(this);E.remove(this);Be.delete(this)}}const createDirectWatcher=E=>{const R=Ne.get(E);if(R!==undefined)return R;const N=new DirectWatcher(E);Ne.set(E,N);return N};const createRecursiveWatcher=E=>{const R=Te.get(E);if(R!==undefined)return R;const N=new RecursiveWatcher(E);Te.set(E,N);return N};const execute=()=>{const E=new Map;const addWatcher=(R,N)=>{const $=E.get(N);if($===undefined){E.set(N,R)}else if(Array.isArray($)){$.push(R)}else{E.set(N,[$,R])}};for(const[E,R]of Me){addWatcher(E,R)}Me.clear();if(!le||_e-Ie>=E.size){for(const[R,N]of E){const E=createDirectWatcher(R);if(Array.isArray(N)){for(const R of N)E.add(R)}else{E.add(N)}}return}for(const E of Te.values()){for(const[R,N]of E.getWatchers()){addWatcher(R,j.join(E.rootPath,N))}}for(const E of Ne.values()){for(const R of E.getWatchers()){addWatcher(R,E.filePath)}}const R=G(E,_e*.9);for(const[E,N]of R){if(N.size===1){for(const[E,R]of N){const N=createDirectWatcher(R);const $=Be.get(E);if($===N)continue;N.add(E);if($!==undefined)$.remove(E)}}else{const R=new Set(N.values());if(R.size>1){const R=createRecursiveWatcher(E);for(const[E,$]of N){const N=Be.get(E);if(N===R)continue;R.add($,E);if(N!==undefined)N.remove(E)}}else{for(const E of R){const R=createDirectWatcher(E);for(const E of N.keys()){const N=Be.get(E);if(N===R)continue;R.add(E);if(N!==undefined)N.remove(E)}}}}}};R.watch=E=>{const R=new Watcher;const N=Ne.get(E);if(N!==undefined){N.add(R);return R}let $=E;for(;;){const N=Te.get($);if(N!==undefined){N.add(E,R);return R}const q=j.dirname($);if(q===$)break;$=q}Me.set(R,E);if(!we)execute();return R};R.batch=E=>{we=true;try{E()}finally{we=false;execute()}};R.getNumberOfWatchers=()=>Ie},92512:(E,R,N)=>{"use strict";const $=N(53982);const j=N(99181);const q=N(82361).EventEmitter;const G=N(70554);const ie=N(68862);let ae;const le=[];const _e={};function addWatchersToSet(E,R){for(const N of E){if(N!==true&&!R.has(N.directoryWatcher)){R.add(N.directoryWatcher);addWatchersToSet(N.directoryWatcher.directories.values(),R)}}}const stringToRegexp=E=>{const R=G(E,{globstar:true,extended:true}).source;const N=R.slice(0,R.length-1)+"(?:$|\\/)";return N};const ignoredToRegexp=E=>{if(Array.isArray(E)){return new RegExp(E.map((E=>stringToRegexp(E))).join("|"))}else if(typeof E==="string"){return new RegExp(stringToRegexp(E))}else if(E instanceof RegExp){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return undefined}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToRegexp(E.ignored),poll:E.poll});const Ee=new WeakMap;const cachedNormalizeOptions=E=>{const R=Ee.get(E);if(R!==undefined)return R;const N=normalizeOptions(E);Ee.set(E,N);return N};class Watchpack extends q{constructor(E){super();if(!E)E=_e;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=$(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,R,N){let $,q,G,ae;if(!R){({files:$=le,directories:q=le,missing:G=le,startTime:ae}=E)}else{$=E;q=R;G=le;ae=N}this.paused=false;const _e=this.fileWatchers;const Ee=this.directoryWatchers;const we=this.watcherOptions.ignored;const Ie=we?E=>!we.test(E.replace(/\\/g,"/")):()=>true;const addToMap=(E,R,N)=>{const $=E.get(R);if($===undefined){E.set(R,[N])}else{$.push(N)}};const Me=new Map;const Te=new Map;const Ne=new Set;if(this.watcherOptions.followSymlinks){const E=new j;for(const R of $){if(Ie(R)){for(const N of E.resolve(R)){if(R===N||Ie(N)){addToMap(Me,N,R)}}}}for(const R of G){if(Ie(R)){for(const N of E.resolve(R)){if(R===N||Ie(N)){Ne.add(R);addToMap(Me,N,R)}}}}for(const R of q){if(Ie(R)){let N=true;for(const $ of E.resolve(R)){if(Ie($)){addToMap(N?Te:Me,$,R)}N=false}}}}else{for(const E of $){if(Ie(E)){addToMap(Me,E,E)}}for(const E of G){if(Ie(E)){Ne.add(E);addToMap(Me,E,E)}}for(const E of q){if(Ie(E)){addToMap(Te,E,E)}}}const Be=new Map;const Le=new Map;const setupFileWatcher=(E,R,N)=>{E.on("initial-missing",(E=>{for(const R of N){if(!Ne.has(R))this._onRemove(R,R,E)}}));E.on("change",((E,R)=>{for(const $ of N){this._onChange($,E,$,R)}}));E.on("remove",(E=>{for(const R of N){this._onRemove(R,R,E)}}));Be.set(R,E)};const setupDirectoryWatcher=(E,R,N)=>{E.on("initial-missing",(E=>{for(const R of N){this._onRemove(R,R,E)}}));E.on("change",((E,R,$)=>{for(const j of N){this._onChange(j,R,E,$)}}));E.on("remove",(E=>{for(const R of N){this._onRemove(R,R,E)}}));Le.set(R,E)};const je=[];const ze=[];for(const[E,R]of _e){if(!Me.has(E)){R.close()}else{je.push(R)}}for(const[E,R]of Ee){if(!Te.has(E)){R.close()}else{ze.push(R)}}ie.batch((()=>{for(const[E,R]of Me){const N=this.watcherManager.watchFile(E,ae);if(N){setupFileWatcher(N,E,R)}}for(const[E,R]of Te){const N=this.watcherManager.watchDirectory(E,ae);if(N){setupDirectoryWatcher(N,E,R)}}}));for(const E of je)E.close();for(const E of ze)E.close();this.fileWatchers=Be;this.directoryWatchers=Le;this.startTime=ae}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const R=Object.create(null);for(const N of E){const E=N.getTimes();for(const N of Object.keys(E))R[N]=E[N]}return R}getTimeInfoEntries(){if(ae===undefined){ae=N(56755).EXISTANCE_ONLY_TIME_ENTRY}const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const R=new Map;for(const N of E){const E=N.getTimeInfoEntries();for(const[N,$]of E){if(R.has(N)){if($===ae)continue;const E=R.get(N);if(E===$)continue;if(E!==ae){R.set(N,Object.assign({},E,$));continue}}R.set(N,$)}}return R}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const R=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:R}}_onChange(E,R,N,$){N=N||E;if(!this.paused){this.emit("change",N,R,$);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,R,N){R=R||E;if(!this.paused){this.emit("remove",R,N);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const R=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,R)}}E.exports=Watchpack},70417:(E,R,N)=>{"use strict";const $=N(12112);class CachedSource extends ${constructor(E){super();this._source=E;this._cachedSource=undefined;this._cachedSize=undefined;this._cachedMaps={};if(E.node)this.node=function(E){return this._source.node(E)};if(E.listMap)this.listMap=function(E){return this._source.listMap(E)}}source(){if(typeof this._cachedSource!=="undefined")return this._cachedSource;return this._cachedSource=this._source.source()}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){if(Buffer.from.length===1)return new Buffer(this._cachedSource).length;return this._cachedSize=Buffer.byteLength(this._cachedSource)}return this._cachedSize=this._source.size()}sourceAndMap(E){const R=JSON.stringify(E);if(typeof this._cachedSource!=="undefined"&&R in this._cachedMaps)return{source:this._cachedSource,map:this._cachedMaps[R]};else if(typeof this._cachedSource!=="undefined"){return{source:this._cachedSource,map:this._cachedMaps[R]=this._source.map(E)}}else if(R in this._cachedMaps){return{source:this._cachedSource=this._source.source(),map:this._cachedMaps[R]}}const N=this._source.sourceAndMap(E);this._cachedSource=N.source;this._cachedMaps[R]=N.map;return{source:this._cachedSource,map:this._cachedMaps[R]}}map(E){if(!E)E={};const R=JSON.stringify(E);if(R in this._cachedMaps)return this._cachedMaps[R];return this._cachedMaps[R]=this._source.map()}updateHash(E){this._source.updateHash(E)}}E.exports=CachedSource},52388:(E,R,N)=>{"use strict";const $=N(99596).SourceNode;const j=N(6900).SourceListMap;const q=N(12112);class ConcatSource extends q{constructor(){super();this.children=[];for(var E=0;E{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var q=N(6900).SourceListMap;var G=N(12112);class LineToLineMappedSource extends G{constructor(E,R,N){super();this._value=E;this._name=R;this._originalSource=N}source(){return this._value}node(E){var R=this._value;var N=this._name;var j=R.split("\n");var q=new $(null,null,null,j.map((function(E,R){return new $(R+1,0,N,E+(R!=j.length-1?"\n":""))})));q.setSourceContent(N,this._originalSource);return q}listMap(E){return new q(this._value,this._name,this._originalSource)}updateHash(E){E.update(this._value);E.update(this._originalSource)}}N(93020)(LineToLineMappedSource.prototype);E.exports=LineToLineMappedSource},57579:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var q=N(6900).SourceListMap;var G=N(12112);var ie=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(E){return E.match(ie)||[]}class OriginalSource extends G{constructor(E,R){super();this._value=E;this._name=R}source(){return this._value}node(E){E=E||{};var R=this._sourceMap;var N=this._value;var j=this._name;var q=N.split("\n");var G=new $(null,null,null,q.map((function(R,N){var G=0;if(E.columns===false){var ie=R+(N!=q.length-1?"\n":"");return new $(N+1,0,j,ie)}return new $(null,null,null,_splitCode(R+(N!=q.length-1?"\n":"")).map((function(E){if(/^\s*$/.test(E)){G+=E.length;return E}var R=new $(N+1,G,j,E);G+=E.length;return R})))})));G.setSourceContent(j,N);return G}listMap(E){return new q(this._value,this._name,this._value)}updateHash(E){E.update(this._value)}}N(93020)(OriginalSource.prototype);E.exports=OriginalSource},69852:(E,R,N)=>{"use strict";var $=N(12112);var j=N(99596).SourceNode;var q=/\n(?=.|\s)/g;function cloneAndPrefix(E,R,N){if(typeof E==="string"){var $=E.replace(q,"\n"+R);if(N.length>0)$=N.pop()+$;if(/\n$/.test(E))N.push(R);return $}else{var G=new j(E.line,E.column,E.source,E.children.map((function(E){return cloneAndPrefix(E,R,N)})),E.name);G.sourceContents=E.sourceContents;return G}}class PrefixSource extends ${constructor(E,R){super();this._source=R;this._prefix=E}source(){var E=typeof this._source==="string"?this._source:this._source.source();var R=this._prefix;return R+E.replace(q,"\n"+R)}node(E){var R=this._source.node(E);var N=this._prefix;var $=[];var q=new j;R.walkSourceContents((function(E,R){q.setSourceContent(E,R)}));var G=true;R.walk((function(E,R){var q=E.split(/(\n)/);for(var ie=0;ie{"use strict";var $=N(12112);var j=N(99596).SourceNode;var q=N(6900).SourceListMap;class RawSource extends ${constructor(E){super();this._value=E}source(){return this._value}map(E){return null}node(E){return new j(null,null,null,this._value)}listMap(E){return new q(this._value)}updateHash(E){E.update(this._value)}}E.exports=RawSource},1324:(E,R,N)=>{"use strict";var $=N(12112);var j=N(99596).SourceNode;class Replacement{constructor(E,R,N,$,j){this.start=E;this.end=R;this.content=N;this.insertIndex=$;this.name=j}}class ReplaceSource extends ${constructor(E,R){super();this._source=E;this._name=R;this.replacements=[]}replace(E,R,N,$){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N);this.replacements.push(new Replacement(E,R,N,this.replacements.length,$))}insert(E,R,N){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R+": "+R);this.replacements.push(new Replacement(E,E-1,R,this.replacements.length,N))}source(E){return this._replaceString(this._source.source())}original(){return this._source}_sortReplacements(){this.replacements.sort((function(E,R){var N=R.end-E.end;if(N!==0)return N;N=R.start-E.start;if(N!==0)return N;return R.insertIndex-E.insertIndex}))}_replaceString(E){if(typeof E!=="string")throw new Error("str must be a string, but is a "+typeof E+": "+E);this._sortReplacements();var R=[E];this.replacements.forEach((function(E){var N=R.pop();var $=this._splitString(N,Math.floor(E.end+1));var j=this._splitString($[0],Math.floor(E.start));R.push($[1],E.content,j[0])}),this);let N="";for(let E=R.length-1;E>=0;--E){N+=R[E]}return N}node(E){var R=this._source.node(E);if(this.replacements.length===0){return R}this._sortReplacements();var N=new ReplacementEnumerator(this.replacements);var $=[];var q=0;var G=Object.create(null);var ie=Object.create(null);var ae=new j;R.walkSourceContents((function(E,R){ae.setSourceContent(E,R);G["$"+E]=R}));var le=this._replaceInStringNode.bind(this,$,N,(function getOriginalSource(E){var R="$"+E.source;var N=ie[R];if(!N){var $=G[R];if(!$)return null;N=$.split("\n").map((function(E){return E+"\n"}));ie[R]=N}if(E.line>N.length)return null;var j=N[E.line-1];return j.substr(E.column)}));R.walk((function(E,R){q=le(E,q,R)}));var _e=N.footer();if(_e){$.push(_e)}ae.add($);return ae}listMap(E){this._sortReplacements();var R=this._source.listMap(E);var N=0;var $=this.replacements;var j=$.length-1;var q=0;R=R.mapGeneratedCode((function(E){var R=N+E.length;if(q>E.length){q-=E.length;E=""}else{if(q>0){E=E.substr(q);N+=q;q=0}var G="";while(j>=0&&$[j].start=0){G+=$[j].content;j--}if(G){R.add(G)}return R}_splitString(E,R){return R<=0?["",E]:[E.substr(0,R),E.substr(R)]}_replaceInStringNode(E,R,N,$,q,G){var ie=undefined;do{var ae=R.position-q;if(ae<0){ae=0}if(ae>=$.length||R.done){if(R.emit){var le=new j(G.line,G.column,G.source,$,G.name);E.push(le)}return q+$.length}var _e=G.column;var Ee;if(ae>0){Ee=$.slice(0,ae);if(ie===undefined){ie=N(G)}if(ie&&ie.length>=ae&&ie.startsWith(Ee)){G.column+=ae;ie=ie.substr(ae)}}var we=R.next();if(!we){if(ae>0){var Ie=new j(G.line,_e,G.source,Ee,G.name);E.push(Ie)}if(R.value){E.push(new j(G.line,G.column,G.source,R.value,G.name||R.name))}}$=$.substr(ae);q+=ae}while(true)}}class ReplacementEnumerator{constructor(E){this.replacements=E||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){var E=this.replacements[this.index];var R=Math.floor(E.end+1);this.position=R;this.value=E.content;this.name=E.name}else{this.index--;if(this.index<0){this.done=true}else{var N=this.replacements[this.index];var $=Math.floor(N.start);this.position=$}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{var E="";for(var R=this.index;R>=0;R--){var N=this.replacements[R];E+=N.content}return E}}}N(93020)(ReplaceSource.prototype);E.exports=ReplaceSource},12112:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;class Source{source(){throw new Error("Abstract")}size(){if(Buffer.from.length===1)return new Buffer(this.source()).length;return Buffer.byteLength(this.source())}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map()}}node(){throw new Error("Abstract")}listNode(){throw new Error("Abstract")}updateHash(E){var R=this.source();E.update(R||"")}}E.exports=Source},93020:E=>{"use strict";E.exports=function mixinSourceAndMap(E){E.map=function(E){E=E||{};if(E.columns===false){return this.listMap(E).toStringWithSourceMap({file:"x"}).map}return this.node(E).toStringWithSourceMap({file:"x"}).map.toJSON()};E.sourceAndMap=function(E){E=E||{};if(E.columns===false){return this.listMap(E).toStringWithSourceMap({file:"x"})}var R=this.node(E).toStringWithSourceMap({file:"x"});return{source:R.code,map:R.map.toJSON()}}}},84172:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var q=N(99596).SourceMapGenerator;var G=N(6900).SourceListMap;var ie=N(6900).fromStringWithSourceMap;var ae=N(12112);var le=N(22368);class SourceMapSource extends ae{constructor(E,R,N,$,j,q){super();this._value=E;this._name=R;this._sourceMap=N;this._originalSource=$;this._innerSourceMap=j;this._removeOriginalSource=q}source(){return this._value}node(E){var R=this._sourceMap;var N=$.fromStringWithSourceMap(this._value,new j(R));N.setSourceContent(this._name,this._originalSource);var q=this._innerSourceMap;if(q){N=le(N,new j(q),this._name,this._removeOriginalSource)}return N}listMap(E){E=E||{};if(E.module===false)return new G(this._value,this._name,this._value);return ie(this._value,typeof this._sourceMap==="string"?JSON.parse(this._sourceMap):this._sourceMap)}updateHash(E){E.update(this._value);if(this._originalSource)E.update(this._originalSource)}}N(93020)(SourceMapSource.prototype);E.exports=SourceMapSource},22368:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var applySourceMap=function(E,R,N,q){var G=new $;var ie=[];var ae={};var le={};var _e={};var Ee={};R.eachMapping((function(E){(le[E.generatedLine]=le[E.generatedLine]||[]).push(E)}),null,j.GENERATED_ORDER);E.walkSourceContents((function(E,R){ae["$"+E]=R}));var we=ae["$"+N];var Ie=we?we.split("\n"):undefined;E.walk((function(E,j){var we;if(j.source===N&&j.line&&le[j.line]){var Me;var Te=le[j.line];for(var Ne=0;Ne0){var He=Le.slice(Me.generatedColumn,j.column);var We=qe.slice(Me.originalColumn,Me.originalColumn+Ge);if(He===We){Me=Object.assign({},Me,{originalColumn:Me.originalColumn+Ge,generatedColumn:j.column})}}if(!Me.name&&j.name){Be=qe.slice(Me.originalColumn,Me.originalColumn+j.name.length)===j.name}}}we=Me.source;ie.push(new $(Me.originalLine,Me.originalColumn,we,E,Be?j.name:Me.name));if(!("$"+we in _e)){_e["$"+we]=true;var Ve=R.sourceContentFor(we,true);if(Ve){G.setSourceContent(we,Ve)}}return}}if(q&&j.source===N||!j.source){ie.push(E);return}we=j.source;ie.push(new $(j.line,j.column,we,E,j.name));if("$"+we in ae){if(!("$"+we in _e)){G.setSourceContent(we,ae["$"+we]);delete ae["$"+we]}}}));G.add(ie);return G};E.exports=applySourceMap},2991:(E,R,N)=>{R.Source=N(12112);R.RawSource=N(57902);R.OriginalSource=N(57579);R.SourceMapSource=N(84172);R.LineToLineMappedSource=N(32631);R.CachedSource=N(70417);R.ConcatSource=N(52388);R.ReplaceSource=N(1324);R.PrefixSource=N(69852)},32323:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const q=N(66298);const G=N(87250);const{toConstantDependency:ie,evaluateToString:ae}=N(48472);const le=N(64255);const _e=N(75948);const Ee={__webpack_require__:{expr:$.require,req:[$.require],type:"function",assign:false},__webpack_public_path__:{expr:$.publicPath,req:[$.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:$.baseURI,req:[$.baseURI],type:"string",assign:true},__webpack_modules__:{expr:$.moduleFactories,req:[$.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:$.ensureChunk,req:[$.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:$.scriptNonce,req:[$.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${$.getFullHash}()`,req:[$.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:$.chunkName,req:[$.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:$.getChunkScriptFilename,req:[$.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:$.runtimeId,req:[$.runtimeId],assign:false},"require.onError":{expr:$.uncaughtErrorHandler,req:[$.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:$.systemContext,req:[$.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:$.shareScopeMap,req:[$.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:$.initializeSharing,req:[$.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);E.hooks.runtimeRequirementInTree.for($.chunkName).tap("APIPlugin",(R=>{E.addRuntimeModule(R,new le(R.name));return true}));E.hooks.runtimeRequirementInTree.for($.getFullHash).tap("APIPlugin",((R,N)=>{E.addRuntimeModule(R,new _e);return true}));const handler=E=>{Object.keys(Ee).forEach((R=>{const N=Ee[R];E.hooks.expression.for(R).tap("APIPlugin",ie(E,N.expr,N.req));if(N.assign===false){E.hooks.assign.for(R).tap("APIPlugin",(E=>{const N=new j(`${R} must not be assigned`);N.loc=E.loc;throw N}))}if(N.type){E.hooks.evaluateTypeof.for(R).tap("APIPlugin",ae(N.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(R=>{const N=new q(JSON.stringify(E.state.module.layer),R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(R=>(E.state.module.layer===null?(new G).setNull():(new G).setString(E.state.module.layer)).setRange(R.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(R=>(new G).setString(E.state.module.layer===null?"object":"string").setRange(R.range)))};R.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);R.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,R,N)=>{"use strict";const $=N(81627);const j=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match(j);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends ${constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,R,N)=>{"use strict";const $=N(32448);const j=N(56202);class AsyncDependenciesBlock extends ${constructor(E,R,N){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=R;this.request=N;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){if(this.groupOptions.name!==E){this.groupOptions.name=E;this._stringifiedGroupOptions=undefined}}updateHash(E,R){const{chunkGraph:N}=R;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const $=N.getBlockChunkGroup(this);E.update(`${this._stringifiedGroupOptions}${$?$.id:""}`);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.groupOptions);R(this.loc);R(this.request);super.serialize(E)}deserialize(E){const{read:R}=E;this.groupOptions=R();this.loc=R();this.request=R();super.deserialize(E)}}j(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,R,N)=>{"use strict";const $=N(81627);class AsyncDependencyToInitialChunkError extends ${constructor(E,R,N){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=R;this.loc=N}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,R,N)=>{"use strict";const $=N(62355);const j=N(53520);const q=N(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R)}));let R=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{R=[];for(const N of E.modules){if(N instanceof j){R.push({context:N.context,request:N.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((N,j)=>{if(!R)return j();$.forEach(R,((R,$)=>{N.addModuleChain(R.context||E.context,new q(`!!${R.request}`),$)}),(E=>{R=null;j(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(3080);const q=N(70354);const G=N(58159);const ie=N(35817);const ae=ie(N(50879),(()=>N(87298)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return G.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}ae(E);this.options=E;const R=E.banner;if(typeof R==="function"){const E=R;this.banner=this.options.raw?E:R=>wrapComment(E(R))}else{const E=this.options.raw?R:wrapComment(R);this.banner=()=>E}}apply(E){const R=this.options;const N=this.banner;const G=q.matchObject.bind(undefined,R);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:j.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const j of E.chunks){if(R.entryOnly&&!j.canBeInitial()){continue}for(const R of j.files){if(!G(R)){continue}const q={chunk:j,filename:R};const ie=E.getPath(N,q);E.updateAsset(R,(E=>new $(ie,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,R,N)=>{"use strict";const{AsyncParallelHook:$,AsyncSeriesBailHook:j,SyncHook:q}=N(92960);const{makeWebpackError:G,makeWebpackErrorCallback:ie}=N(3728);const needCalls=(E,R)=>N=>{if(--E===0){return R(N)}if(N&&E>0){E=0;return R(N)}};class Cache{constructor(){this.hooks={get:new j(["identifier","etag","gotHandlers"]),store:new $(["identifier","etag","data"]),storeBuildDependencies:new $(["dependencies"]),beginIdle:new q([]),endIdle:new $([]),shutdown:new $([])}}get(E,R,N){const $=[];this.hooks.get.callAsync(E,R,$,((E,R)=>{if(E){N(G(E,"Cache.hooks.get"));return}if(R===null){R=undefined}if($.length>1){const E=needCalls($.length,(()=>N(null,R)));for(const N of $){N(R,E)}}else if($.length===1){$[0](R,(()=>N(null,R)))}else{N(null,R)}}))}store(E,R,N,$){this.hooks.store.callAsync(E,R,N,ie($,"Cache.hooks.store"))}storeBuildDependencies(E,R){this.hooks.storeBuildDependencies.callAsync(E,ie(R,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ie(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ie(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,R,N)=>{"use strict";const $=N(62355);const j=N(77034);const q=N(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=R=>{this._items[R].get(((N,$)=>{if(N)return E(N);if($!==undefined)return E(null,$);if(++R>=this._items.length)return E();next(R)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((R=>{if(R!==undefined)return R;if(++ER.store(E,N)),R)}storePromise(E){return Promise.all(this._items.map((R=>R.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,R,N){this._cache=E;this._name=R;this._etag=N}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,R)=>{this._cache.get(this._name,this._etag,((N,$)=>{if(N){R(N)}else{E($)}}))}))}store(E,R){this._cache.store(this._name,this._etag,E,R)}storePromise(E){return new Promise(((R,N)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){N(E)}else{R()}}))}))}provide(E,R){this.get(((N,$)=>{if(N)return R(N);if($!==undefined)return $;E(((E,N)=>{if(E)return R(E);this.store(N,(E=>{if(E)return R(E);R(null,N)}))}))}))}async providePromise(E){const R=await this.getPromise();if(R!==undefined)return R;const N=await E();await this.storePromise(N);return N}}class CacheFacade{constructor(E,R,N){this._cache=E;this._name=R;this._hashFunction=N}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`,this._hashFunction)}getItemCache(E,R){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,R)}getLazyHashedEtag(E){return j(E,this._hashFunction)}mergeEtags(E,R){return q(E,R)}get(E,R,N){this._cache.get(`${this._name}|${E}`,R,N)}getPromise(E,R){return new Promise(((N,$)=>{this._cache.get(`${this._name}|${E}`,R,((E,R)=>{if(E){$(E)}else{N(R)}}))}))}store(E,R,N,$){this._cache.store(`${this._name}|${E}`,R,N,$)}storePromise(E,R,N){return new Promise((($,j)=>{this._cache.store(`${this._name}|${E}`,R,N,(E=>{if(E){j(E)}else{$()}}))}))}provide(E,R,N,$){this.get(E,R,((j,q)=>{if(j)return $(j);if(q!==undefined)return q;N(((N,j)=>{if(N)return $(N);this.store(E,R,j,(E=>{if(E)return $(E);$(null,j)}))}))}))}async providePromise(E,R,N){const $=await this.getPromise(E,R);if($!==undefined)return $;const j=await N();await this.storePromise(E,R,j);return j}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,R,N)=>{"use strict";const $=N(81627);const sortModules=E=>E.sort(((E,R)=>{const N=E.identifier();const $=R.identifier();if(N<$)return-1;if(N>$)return 1;return 0}));const createModulesListMessage=(E,R)=>E.map((E=>{let N=`* ${E.identifier()}`;const $=Array.from(R.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if($.length>0){N+=`\n Used by ${$.length} module(s), i. e.`;N+=`\n ${$[0].identifier()}`}return N})).join("\n");class CaseSensitiveModulesWarning extends ${constructor(E,R){const N=sortModules(Array.from(E));const $=createModulesListMessage(N,R);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${$}`);this.name="CaseSensitiveModulesWarning";this.module=N[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,R,N)=>{"use strict";const $=N(45137);const j=N(71452);const{intersect:q}=N(26221);const G=N(16102);const ie=N(14146);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:le,compareModulesById:_e}=N(68673);const{createArrayToSetDeprecationSet:Ee}=N(16595);const{mergeRuntime:we}=N(37416);const Ie=Ee("chunk.files");let Me=1e3;class Chunk{constructor(E,R=true){this.id=null;this.ids=null;this.debugId=Me++;this.name=E;this.idNameHints=new G;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new G(undefined,le);this.runtime=undefined;this.files=R?new Ie:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from($.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return $.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const R=$.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(R.isModuleInChunk(E,this))return false;R.connectChunkAndModule(this,E);return true}removeModule(E){$.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return $.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=$.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,ae)}compareTo(E){const R=$.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return R.compareChunks(this,E)}containsModule(E){return $.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return $.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=$.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");N.disconnectChunkAndModule(this,E);N.connectChunkAndModule(R,E)}integrate(E){const R=$.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(R.canChunksBeIntegrated(this,E)){R.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const R=$.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return R.canChunksBeIntegrated(this,E)}isEmpty(){const E=$.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=$.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const R=$.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return R.getChunkSize(this,E)}integratedSize(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return N.getIntegratedChunksSize(this,E,R)}getChunkModuleMaps(E){const R=$.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const N=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){let q;for(const G of R.getOrderedChunkModulesIterable($,_e(R))){if(E(G)){if(q===undefined){q=[];N[$.id]=q}const E=R.getModuleId(G);q.push(E);j[E]=R.getRenderedModuleHash(G,undefined)}}}return{id:N,hash:j}}hasModuleInGraph(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return N.hasModuleInGraph(this,E,R)}getChunkMaps(E){const R=Object.create(null);const N=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){R[j.id]=E?j.hash:j.renderedHash;for(const E of Object.keys(j.contentHash)){if(!N[E]){N[E]=Object.create(null)}N[E][j.id]=j.contentHash[E]}if(j.name){$[j.id]=j.name}}return{hash:R,contentHash:N,name:$}}hasRuntime(){for(const E of this._groups){if(E instanceof j&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof j){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const R of this._groups){R.insertChunk(E,this);E.addGroup(R)}for(const R of this.idNameHints){E.idNameHints.add(R)}E.runtime=we(E.runtime,this.runtime)}updateHash(E,R){E.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const N=new ie;for(const E of R.getChunkModulesIterable(this)){N.add(R.getModuleHash(E,this.runtime))}N.updateHash(E);const $=R.getChunkEntryModulesWithChunkGroupIterable(this);for(const[N,j]of $){E.update(`entry${R.getModuleId(N)}${j.id}`)}}getAllAsyncChunks(){const E=new Set;const R=new Set;const N=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const $=new Set(this.groupsIterable);for(const R of $){for(const N of R.childrenIterable){if(N instanceof j){$.add(N)}else{E.add(N)}}}for(const $ of E){for(const E of $.chunks){if(!N.has(E)){R.add(E)}}for(const R of $.childrenIterable){E.add(R)}}return R}getAllInitialChunks(){const E=new Set;const R=new Set(this.groupsIterable);for(const N of R){if(N.isInitial()){for(const R of N.chunks)E.add(R);for(const E of N.childrenIterable)R.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const R=new Set;for(const N of E){for(const E of N.chunks){R.add(E)}for(const R of N.childrenIterable){E.add(R)}}return R}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const R=new Set;for(const N of E){for(const E of N.asyncEntrypointsIterable){R.add(E)}for(const R of N.childrenIterable){E.add(R)}}return R}hasAsyncChunks(){const E=new Set;const R=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const R of this.groupsIterable){for(const N of R.childrenIterable){E.add(N)}}for(const N of E){for(const E of N.chunks){if(!R.has(E)){return true}}for(const R of N.childrenIterable){E.add(R)}}return false}getChildIdsByOrders(E,R){const N=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const R of E.childrenIterable){for(const E of Object.keys(R.options)){if(E.endsWith("Order")){const $=E.substr(0,E.length-"Order".length);let j=N.get($);if(j===undefined){j=[];N.set($,j)}j.push({order:R.options[E],group:R})}}}}}const $=Object.create(null);for(const[j,q]of N){q.sort(((R,N)=>{const $=N.order-R.order;if($!==0)return $;return R.group.compareTo(E,N.group)}));const N=new Set;for(const $ of q){for(const j of $.group.chunks){if(R&&!R(j,E))continue;N.add(j.id)}}if(N.size>0){$[j]=Array.from(N)}}return $}getChildrenOfTypeInOrder(E,R){const N=[];for(const E of this.groupsIterable){for(const $ of E.childrenIterable){const j=$.options[R];if(j===undefined)continue;N.push({order:j,group:E,childGroup:$})}}if(N.length===0)return undefined;N.sort(((R,N)=>{const $=N.order-R.order;if($!==0)return $;return R.group.compareTo(E,N.group)}));const $=[];let j;for(const{group:E,childGroup:R}of N){if(j&&j.onChunks===E.chunks){for(const E of R.chunks){j.chunks.add(E)}}else{$.push(j={onChunks:E.chunks,chunks:new Set(R.chunks)})}}return $}getChildIdsByOrdersMap(E,R,N){const $=Object.create(null);const addChildIdsByOrdersToMap=R=>{const j=R.getChildIdsByOrders(E,N);for(const E of Object.keys(j)){let N=$[E];if(N===undefined){$[E]=N=Object.create(null)}N[R.id]=j[E]}};if(R){const E=new Set;for(const R of this.groupsIterable){for(const N of R.chunks){E.add(N)}}for(const R of E){addChildIdsByOrdersToMap(R)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return $}}E.exports=Chunk},45137:(E,R,N)=>{"use strict";const $=N(73837);const j=N(71452);const q=N(79900);const{first:G}=N(26221);const ie=N(16102);const{compareModulesById:ae,compareIterables:le,compareModulesByIdentifier:_e,concatComparators:Ee,compareSelect:we,compareIds:Ie}=N(68673);const Me=N(35891);const Te=N(62598);const{RuntimeSpecMap:Ne,RuntimeSpecSet:Be,runtimeToString:Le,mergeRuntime:je,forEachRuntime:ze}=N(37416);const Ue=new Set;const qe=BigInt(0);const Ge=le(_e);class ModuleHashInfo{constructor(E,R){this.hash=E;this.renderedHash=R}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const R=new Be;for(const N of E){R.add(N.runtime)}return R};const modulesBySourceType=E=>{const R=new Map;for(const N of E){for(const E of N.getSourceTypes()){let $=R.get(E);if($===undefined){$=new ie;R.set(E,$)}$.add(N)}}for(const[N,$]of R){if($.size===E.size){R.set(N,E)}}return R};const He=new WeakMap;const createOrderedArrayFunction=E=>{let R=He.get(E);if(R!==undefined)return R;R=R=>{R.sortWith(E);return Array.from(R)};He.set(E,R);return R};const getModulesSize=E=>{let R=0;for(const N of E){for(const E of N.getSourceTypes()){R+=N.size(E)}}return R};const getModulesSizes=E=>{let R=Object.create(null);for(const N of E){for(const E of N.getSourceTypes()){R[E]=(R[E]||0)+N.size(E)}}return R};const isAvailableChunk=(E,R)=>{const N=new Set(R.groupsIterable);for(const R of N){if(E.isInGroup(R))continue;if(R.isInitial())return false;for(const E of R.parentsIterable){N.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ie;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ie;this.entryModules=new Map;this.runtimeModules=new ie;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E,R="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._hashFunction=R;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(E){let R=this._modules.get(E);if(R===undefined){R=new ChunkGraphModule;this._modules.set(E,R)}return R}_getChunkGraphChunk(E){let R=this._chunks.get(E);if(R===undefined){R=new ChunkGraphChunk;this._chunks.set(E,R)}return R}_getGraphRoots(E){const{moduleGraph:R}=this;return Array.from(Te(E,(E=>{const N=new Set;const addDependencies=E=>{for(const $ of R.getOutgoingConnections(E)){if(!$.module)continue;const E=$.getActiveState(undefined);if(E===false)continue;if(E===q.TRANSITIVE_ONLY){addDependencies($.module);continue}N.add($.module)}};addDependencies(E);return N}))).sort(_e)}connectChunkAndModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.chunks.add(E);$.modules.add(R)}disconnectChunkAndModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);$.modules.delete(R);N.chunks.delete(E)}disconnectChunk(E){const R=this._getChunkGraphChunk(E);for(const N of R.modules){const R=this._getChunkGraphModule(N);R.chunks.delete(E)}R.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,R){const N=this._getChunkGraphChunk(E);for(const E of R){N.modules.add(E)}}attachRuntimeModules(E,R){const N=this._getChunkGraphChunk(E);for(const E of R){N.runtimeModules.add(E)}}attachFullHashModules(E,R){const N=this._getChunkGraphChunk(E);if(N.fullHashModules===undefined)N.fullHashModules=new Set;for(const E of R){N.fullHashModules.add(E)}}attachDependentHashModules(E,R){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)N.dependentHashModules=new Set;for(const E of R){N.dependentHashModules.add(E)}}replaceModule(E,R){const N=this._getChunkGraphModule(E);const $=this._getChunkGraphModule(R);for(const j of N.chunks){const N=this._getChunkGraphChunk(j);N.modules.delete(E);N.modules.add(R);$.chunks.add(j)}N.chunks.clear();if(N.entryInChunks!==undefined){if($.entryInChunks===undefined){$.entryInChunks=new Set}for(const j of N.entryInChunks){const N=this._getChunkGraphChunk(j);const q=N.entryModules.get(E);const G=new Map;for(const[$,j]of N.entryModules){if($===E){G.set(R,q)}else{G.set($,j)}}N.entryModules=G;$.entryInChunks.add(j)}N.entryInChunks=undefined}if(N.runtimeInChunks!==undefined){if($.runtimeInChunks===undefined){$.runtimeInChunks=new Set}for(const j of N.runtimeInChunks){const N=this._getChunkGraphChunk(j);N.runtimeModules.delete(E);N.runtimeModules.add(R);$.runtimeInChunks.add(j);if(N.fullHashModules!==undefined&&N.fullHashModules.has(E)){N.fullHashModules.delete(E);N.fullHashModules.add(R)}if(N.dependentHashModules!==undefined&&N.dependentHashModules.has(E)){N.dependentHashModules.delete(E);N.dependentHashModules.add(R)}}N.runtimeInChunks=undefined}}isModuleInChunk(E,R){const N=this._getChunkGraphChunk(R);return N.modules.has(E)}isModuleInChunkGroup(E,R){for(const N of R.chunks){if(this.isModuleInChunk(E,N))return true}return false}isEntryModule(E){const R=this._getChunkGraphModule(E);return R.entryInChunks!==undefined}getModuleChunksIterable(E){const R=this._getChunkGraphModule(E);return R.chunks}getOrderedModuleChunksIterable(E,R){const N=this._getChunkGraphModule(E);N.chunks.sortWith(R);return N.chunks}getModuleChunks(E){const R=this._getChunkGraphModule(E);return R.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const R=this._getChunkGraphModule(E);return R.chunks.size}getModuleRuntimes(E){const R=this._getChunkGraphModule(E);return R.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const R=this._getChunkGraphChunk(E);return R.modules.size}getNumberOfChunkFullHashModules(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules===undefined?0:R.fullHashModules.size}getChunkModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.modules}getChunkModulesIterableBySourceType(E,R){const N=this._getChunkGraphChunk(E);const $=N.modules.getFromUnorderedCache(modulesBySourceType).get(R);return $}getOrderedChunkModulesIterable(E,R){const N=this._getChunkGraphChunk(E);N.modules.sortWith(R);return N.modules}getOrderedChunkModulesIterableBySourceType(E,R,N){const $=this._getChunkGraphChunk(E);const j=$.modules.getFromUnorderedCache(modulesBySourceType).get(R);if(j===undefined)return undefined;j.sortWith(N);return j}getChunkModules(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,R){const N=this._getChunkGraphChunk(E);const $=createOrderedArrayFunction(R);return N.modules.getFromUnorderedCache($)}getChunkModuleIdMap(E,R,N=false){const $=Object.create(null);for(const j of N?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const N of this.getOrderedChunkModulesIterable(j,ae(this))){if(R(N)){if(E===undefined){E=[];$[j.id]=E}const R=this.getModuleId(N);E.push(R)}}}return $}getChunkModuleRenderedHashMap(E,R,N=0,$=false){const j=Object.create(null);for(const q of $?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const $ of this.getOrderedChunkModulesIterable(q,ae(this))){if(R($)){if(E===undefined){E=Object.create(null);j[q.id]=E}const R=this.getModuleId($);const G=this.getRenderedModuleHash($,q.runtime);E[R]=N?G.slice(0,N):G}}}return j}getChunkConditionMap(E,R){const N=Object.create(null);for(const $ of E.getAllReferencedChunks()){N[$.id]=R($,this)}return N}hasModuleInGraph(E,R,N){const $=new Set(E.groupsIterable);const j=new Set;for(const E of $){for(const $ of E.chunks){if(!j.has($)){j.add($);if(!N||N($,this)){for(const E of this.getChunkModulesIterable($)){if(R(E)){return true}}}}}for(const R of E.childrenIterable){$.add(R)}}return false}compareChunks(E,R){const N=this._getChunkGraphChunk(E);const $=this._getChunkGraphChunk(R);if(N.modules.size>$.modules.size)return-1;if(N.modules.size<$.modules.size)return 1;N.modules.sortWith(_e);$.modules.sortWith(_e);return Ge(N.modules,$.modules)}getChunkModulesSize(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getModulesSize)}getChunkModulesSizes(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getModulesSizes)}getChunkRootModules(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(this._getGraphRoots)}getChunkSize(E,R={}){const N=this._getChunkGraphChunk(E);const $=N.modules.getFromUnorderedCache(getModulesSize);const j=typeof R.chunkOverhead==="number"?R.chunkOverhead:1e4;const q=typeof R.entryChunkMultiplicator==="number"?R.entryChunkMultiplicator:10;return j+$*(E.canBeInitial()?q:1)}getIntegratedChunksSize(E,R,N={}){const $=this._getChunkGraphChunk(E);const j=this._getChunkGraphChunk(R);const q=new Set($.modules);for(const E of j.modules)q.add(E);let G=getModulesSize(q);const ie=typeof N.chunkOverhead==="number"?N.chunkOverhead:1e4;const ae=typeof N.entryChunkMultiplicator==="number"?N.entryChunkMultiplicator:10;return ie+G*(E.canBeInitial()||R.canBeInitial()?ae:1)}canChunksBeIntegrated(E,R){if(E.preventIntegration||R.preventIntegration){return false}const N=E.hasRuntime();const $=R.hasRuntime();if(N!==$){if(N){return isAvailableChunk(E,R)}else if($){return isAvailableChunk(R,E)}else{return false}}if(this.getNumberOfEntryModules(E)>0||this.getNumberOfEntryModules(R)>0){return false}return true}integrateChunks(E,R){if(E.name&&R.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(R)>0){if(E.name.length!==R.name.length){E.name=E.name.length0){E.name=R.name}}else if(R.name){E.name=R.name}for(const N of R.idNameHints){E.idNameHints.add(N)}E.runtime=je(E.runtime,R.runtime);for(const N of this.getChunkModules(R)){this.disconnectChunkAndModule(R,N);this.connectChunkAndModule(E,N)}for(const[N,$]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(R))){this.disconnectChunkAndEntryModule(R,N);this.connectChunkAndEntryModule(E,N,$)}for(const N of R.groupsIterable){N.replaceChunk(R,E);E.addGroup(N);R.removeGroup(N)}ChunkGraph.clearChunkGraphForChunk(R)}upgradeDependentToFullHashModules(E){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)return;if(R.fullHashModules===undefined){R.fullHashModules=R.dependentHashModules}else{for(const E of R.dependentHashModules){R.fullHashModules.add(E)}R.dependentHashModules=undefined}}isEntryModuleInChunk(E,R){const N=this._getChunkGraphChunk(R);return N.entryModules.has(E)}connectChunkAndEntryModule(E,R,N){const $=this._getChunkGraphModule(R);const j=this._getChunkGraphChunk(E);if($.entryInChunks===undefined){$.entryInChunks=new Set}$.entryInChunks.add(E);j.entryModules.set(R,N)}connectChunkAndRuntimeModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);if(N.runtimeInChunks===undefined){N.runtimeInChunks=new Set}N.runtimeInChunks.add(E);$.runtimeModules.add(R)}addFullHashModuleToChunk(E,R){const N=this._getChunkGraphChunk(E);if(N.fullHashModules===undefined)N.fullHashModules=new Set;N.fullHashModules.add(R)}addDependentHashModuleToChunk(E,R){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)N.dependentHashModules=new Set;N.dependentHashModules.add(R)}disconnectChunkAndEntryModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.entryInChunks.delete(E);if(N.entryInChunks.size===0){N.entryInChunks=undefined}$.entryModules.delete(R)}disconnectChunkAndRuntimeModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.runtimeInChunks.delete(E);if(N.runtimeInChunks.size===0){N.runtimeInChunks=undefined}$.runtimeModules.delete(R)}disconnectEntryModule(E){const R=this._getChunkGraphModule(E);for(const N of R.entryInChunks){const R=this._getChunkGraphChunk(N);R.entryModules.delete(E)}R.entryInChunks=undefined}disconnectEntries(E){const R=this._getChunkGraphChunk(E);for(const N of R.entryModules.keys()){const R=this._getChunkGraphModule(N);R.entryInChunks.delete(E);if(R.entryInChunks.size===0){R.entryInChunks=undefined}}R.entryModules.clear()}getNumberOfEntryModules(E){const R=this._getChunkGraphChunk(E);return R.entryModules.size}getNumberOfRuntimeModules(E){const R=this._getChunkGraphChunk(E);return R.runtimeModules.size}getChunkEntryModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const R=new Set;for(const N of E.groupsIterable){if(N instanceof j){const $=N.getEntrypointChunk();const j=this._getChunkGraphChunk($);for(const N of j.entryModules.values()){for(const j of N.chunks){if(j!==E&&j!==$&&!j.hasRuntime()){R.add(j)}}}}}return R}hasChunkEntryDependentChunks(E){const R=this._getChunkGraphChunk(E);for(const N of R.entryModules.values()){for(const R of N.chunks){if(R!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.runtimeModules}getChunkRuntimeModulesInOrder(E){const R=this._getChunkGraphChunk(E);const N=Array.from(R.runtimeModules);N.sort(Ee(we((E=>E.stage),Ie),_e));return N}getChunkFullHashModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules}getChunkFullHashModulesSet(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules}getChunkDependentHashModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const R=this._getChunkGraphChunk(E);return R.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,R){this._blockChunkGroups.set(E,R);R.addBlock(E)}disconnectChunkGroup(E){for(const R of E.blocksIterable){this._blockChunkGroups.delete(R)}E._blocks.clear()}getModuleId(E){const R=this._getChunkGraphModule(E);return R.id}setModuleId(E,R){const N=this._getChunkGraphModule(E);N.id=R}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,R){this._runtimeIds.set(E,R)}_getModuleHashInfo(E,R,N){if(!R){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(N)} (hashes not set at all)`)}else if(N===undefined){const N=new Set(R.values());if(N.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>Le(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return G(N)}else{const $=R.get(N);if(!$){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(N)} (available runtimes ${Array.from(R.keys(),Le).join(", ")})`)}return $}}hasModuleHashes(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return $&&$.has(R)}getModuleHash(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return this._getModuleHashInfo(E,$,R).hash}getRenderedModuleHash(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return this._getModuleHashInfo(E,$,R).renderedHash}setModuleHashes(E,R,N,$){const j=this._getChunkGraphModule(E);if(j.hashes===undefined){j.hashes=new Ne}j.hashes.set(R,new ModuleHashInfo(N,$))}addModuleRuntimeRequirements(E,R,N,$=true){const j=this._getChunkGraphModule(E);const q=j.runtimeRequirements;if(q===undefined){const E=new Ne;E.set(R,$?N:new Set(N));j.runtimeRequirements=E;return}q.update(R,(E=>{if(E===undefined){return $?N:new Set(N)}else if(!$||E.size>=N.size){for(const R of N)E.add(R);return E}else{for(const R of E)N.add(R);return N}}))}addChunkRuntimeRequirements(E,R){const N=this._getChunkGraphChunk(E);const $=N.runtimeRequirements;if($===undefined){N.runtimeRequirements=R}else if($.size>=R.size){for(const E of R)$.add(E)}else{for(const E of $)R.add(E);N.runtimeRequirements=R}}addTreeRuntimeRequirements(E,R){const N=this._getChunkGraphChunk(E);const $=N.runtimeRequirementsInTree;for(const E of R)$.add(E)}getModuleRuntimeRequirements(E,R){const N=this._getChunkGraphModule(E);const $=N.runtimeRequirements&&N.runtimeRequirements.get(R);return $===undefined?Ue:$}getChunkRuntimeRequirements(E){const R=this._getChunkGraphChunk(E);const N=R.runtimeRequirements;return N===undefined?Ue:N}getModuleGraphHash(E,R,N=true){const $=this._getChunkGraphModule(E);return N?this._getModuleGraphHashWithConnections($,E,R):this._getModuleGraphHashBigInt($,E,R).toString(16)}getModuleGraphHashBigInt(E,R,N=true){const $=this._getChunkGraphModule(E);return N?BigInt(`0x${this._getModuleGraphHashWithConnections($,E,R)}`):this._getModuleGraphHashBigInt($,E,R)}_getModuleGraphHashBigInt(E,R,N){if(E.graphHashes===undefined){E.graphHashes=new Ne}const $=E.graphHashes.provide(N,(()=>{const $=Me(this._hashFunction);$.update(`${E.id}${this.moduleGraph.isAsync(R)}`);this.moduleGraph.getExportsInfo(R).updateHash($,N);return BigInt(`0x${$.digest("hex")}`)}));return $}_getModuleGraphHashWithConnections(E,R,N){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Ne}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===q.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const $=R.buildMeta&&R.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(N,(()=>{const j=this._getModuleGraphHashBigInt(E,R,N).toString(16);const q=this.moduleGraph.getOutgoingConnections(R);const ie=new Set;const ae=new Map;const processConnection=(E,R)=>{const N=E.module;R+=N.getExportsType(this.moduleGraph,$);if(R==="Tnamespace")ie.add(N);else{const E=ae.get(R);if(E===undefined){ae.set(R,N)}else if(E instanceof Set){E.add(N)}else if(E!==N){ae.set(R,new Set([E,N]))}}};if(N===undefined||typeof N==="string"){for(const E of q){const R=E.getActiveState(N);if(R===false)continue;processConnection(E,R===true?"T":"O")}}else{for(const E of q){const R=new Set;let $="";ze(N,(N=>{const j=E.getActiveState(N);R.add(j);$+=activeStateToString(j)+N}),true);if(R.size===1){const E=G(R);if(E===false)continue;$=activeStateToString(E)}processConnection(E,$)}}if(ie.size===0&&ae.size===0)return j;const le=ae.size>1?Array.from(ae).sort((([E],[R])=>E{_e.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,N).toString(16))};const addModulesToHash=E=>{let R=qe;for(const $ of E){R=R^this._getModuleGraphHashBigInt(this._getChunkGraphModule($),$,N)}_e.update(R.toString(16))};if(ie.size===1)addModuleToHash(ie.values().next().value);else if(ie.size>1)addModulesToHash(ie);for(const[E,R]of le){_e.update(E);if(R instanceof Set){addModulesToHash(R)}else{addModuleToHash(R)}}_e.update(j);return _e.digest("hex")}))}getTreeRuntimeRequirements(E){const R=this._getChunkGraphChunk(E);return R.runtimeRequirementsInTree}static getChunkGraphForModule(E,R,N){const j=Ke.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=We.get(E);if(!N)throw new Error(R+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return N}),R+": Use new ChunkGraph API",N);Ke.set(R,q);return q(E)}static setChunkGraphForModule(E,R){We.set(E,R)}static clearChunkGraphForModule(E){We.delete(E)}static getChunkGraphForChunk(E,R,N){const j=Qe.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=Ve.get(E);if(!N)throw new Error(R+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return N}),R+": Use new ChunkGraph API",N);Qe.set(R,q);return q(E)}static setChunkGraphForChunk(E,R){Ve.set(E,R)}static clearChunkGraphForChunk(E){Ve.delete(E)}}const We=new WeakMap;const Ve=new WeakMap;const Ke=new Map;const Qe=new Map;E.exports=ChunkGraph},84558:(E,R,N)=>{"use strict";const $=N(73837);const j=N(16102);const{compareLocations:q,compareChunks:G,compareIterables:ie}=N(68673);let ae=5e3;const getArray=E=>Array.from(E);const sortById=(E,R)=>{if(E.id{const N=E.module?E.module.identifier():"";const $=R.module?R.module.identifier():"";if(N<$)return-1;if(N>$)return 1;return q(E.loc,R.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=ae++;this.options=E;this._children=new j(undefined,sortById);this._parents=new j(undefined,sortById);this._asyncEntrypoints=new j(undefined,sortById);this._blocks=new j;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const R of Object.keys(E)){if(this.options[R]===undefined){this.options[R]=E[R]}else if(this.options[R]!==E[R]){if(R.endsWith("Order")){this.options[R]=Math.max(this.options[R],E[R])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${R}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const R=this.chunks.indexOf(E);if(R>0){this.chunks.splice(R,1);this.chunks.unshift(E)}else if(R<0){this.chunks.unshift(E);return true}return false}insertChunk(E,R){const N=this.chunks.indexOf(E);const $=this.chunks.indexOf(R);if($<0){throw new Error("before chunk not found")}if(N>=0&&N>$){this.chunks.splice(N,1);this.chunks.splice($,0,E)}else if(N<0){this.chunks.splice($,0,E);return true}return false}pushChunk(E){const R=this.chunks.indexOf(E);if(R>=0){return false}this.chunks.push(E);return true}replaceChunk(E,R){const N=this.chunks.indexOf(E);if(N<0)return false;const $=this.chunks.indexOf(R);if($<0){this.chunks[N]=R;return true}if($=0){this.chunks.splice(R,1);return true}return false}isInitial(){return false}addChild(E){const R=this._children.size;this._children.add(E);return R!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const R=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return R!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,R,N){this.origins.push({module:E,loc:R,request:N})}getFiles(){const E=new Set;for(const R of this.chunks){for(const N of R.files){E.add(N)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const R of this._children){R.addParent(E);E.addChild(R)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,R){if(this.chunks.length>R.chunks.length)return-1;if(this.chunks.length{const $=N.order-E.order;if($!==0)return $;return E.group.compareTo(R,N.group)}));$[E]=j.map((E=>E.group))}return $}setModulePreOrderIndex(E,R){this._modulePreOrderIndices.set(E,R)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,R){this._modulePostOrderIndices.set(E,R)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const R of E._children){if(!R._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${R.debugId}`)}}for(const R of E._parents){if(!R._children.has(E)){throw new Error(`checkConstraints: parent missing child ${R.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=$.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=$.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,R,N)=>{"use strict";const $=N(81627);class ChunkRenderError extends ${constructor(E,R,N){super();this.name="ChunkRenderError";this.error=N;this.message=N.message;this.details=N.stack;this.file=R;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,R,N)=>{"use strict";const $=N(73837);const j=N(91671);const q=j((()=>N(18161)));class ChunkTemplate{constructor(E,R){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((E,N)=>{R.hooks.renderManifest.tap(E,((E,R)=>{if(R.chunk.hasRuntime())return E;return N(E,R)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderChunk.tap(E,((E,$)=>N(E,R.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderChunk.tap(E,((E,$)=>N(E,R.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).render.tap(E,((E,R)=>{if(R.chunkGraph.getNumberOfEntryModules(R.chunk)===0||R.chunk.hasRuntime()){return E}return N(E,R.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:$.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).chunkHash.tap(E,((E,R,$)=>{if(E.hasRuntime())return;N(R,E,$)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,R,N)=>{"use strict";const $=N(62355);const{SyncBailHook:j}=N(92960);const q=N(3080);const G=N(35817);const{join:ie}=N(95396);const ae=N(2117);const le=G(undefined,(()=>{const{definitions:E}=N(46312);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,R,N,j)=>{const q=new Set;for(const E of N){q.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of q){q.add(E.replace(/(^|\/)[^/]*$/,""))}const G=new Set;$.forEachLimit(q,10,(($,j)=>{E.readdir(ie(E,R,$),((E,R)=>{if(E){if(E.code==="ENOENT")return j();if(E.code==="ENOTDIR"){G.add($);return j()}return j(E)}for(const E of R){const R=E;const j=$?`${$}/${R}`:R;if(!q.has(j)&&!N.has(j)){G.add(j)}}j()}))}),(E=>{if(E)return j(E);j(null,G)}))};const getDiffToOldAssets=(E,R)=>{const N=new Set;for(const $ of R){if(!E.has($))N.add($)}return N};const applyDiff=(E,R,N,$,j,q,G)=>{const log=E=>{if(N){$.info(E)}else{$.log(E)}};const le=Array.from(j,(E=>({type:"check",filename:E,parent:undefined})));ae(le,10,(({type:j,filename:G,parent:ae},le,_e)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${G} was removed during cleaning by something else`);handleParent();return _e()}return _e(E)};const handleParent=()=>{if(ae&&--ae.remaining===0)le(ae.job)};const Ee=ie(E,R,G);switch(j){case"check":if(q(G)){log(`${G} will be kept`);return process.nextTick(_e)}E.stat(Ee,((R,N)=>{if(R)return handleError(R);if(!N.isDirectory()){le({type:"unlink",filename:G,parent:ae});return _e()}E.readdir(Ee,((E,R)=>{if(E)return handleError(E);const N={type:"rmdir",filename:G,parent:ae};if(R.length===0){le(N)}else{const E={remaining:R.length,job:N};for(const N of R){const R=N;if(R.startsWith(".")){log(`${G} will be kept (dot-files will never be removed)`);continue}le({type:"check",filename:`${G}/${R}`,parent:E})}}return _e()}))}));break;case"rmdir":log(`${G} will be removed`);if(N){handleParent();return process.nextTick(_e)}if(!E.rmdir){$.warn(`${G} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(_e)}E.rmdir(Ee,(E=>{if(E)return handleError(E);handleParent();_e()}));break;case"unlink":log(`${G} will be removed`);if(N){handleParent();return process.nextTick(_e)}if(!E.unlink){$.warn(`${G} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(_e)}E.unlink(Ee,(E=>{if(E)return handleError(E);handleParent();_e()}));break}}),G)};const _e=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=_e.get(E);if(R===undefined){R={keep:new j(["ignore"])};_e.set(E,R)}return R}constructor(E={}){le(E);this.options={dry:false,...E}}apply(E){const{dry:R,keep:N}=this.options;const $=typeof N==="function"?N:typeof N==="string"?E=>E.startsWith(N):typeof N==="object"&&N.test?E=>N.test(E):()=>false;let j;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((N,q)=>{const G=CleanPlugin.getCompilationHooks(N);const ie=N.getLogger("webpack.CleanPlugin");const ae=E.outputFileSystem;if(!ae.readdir){return q(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const le=new Set;for(const E of Object.keys(N.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let R;let N=E.replace(/\\/g,"/");do{R=N;N=R.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(N!==R);if(R.startsWith("../"))continue;le.add(R)}const _e=N.getPath(E.outputPath,{});const isKept=E=>{const R=G.keep.call(E);if(R!==undefined)return R;return $(E)};const diffCallback=(E,N)=>{if(E){j=undefined;return q(E)}applyDiff(ae,_e,R,ie,N,isKept,(E=>{if(E){j=undefined}else{j=le}q(E)}))};if(j){diffCallback(null,getDiffToOldAssets(le,j))}else{getDiffToFs(ae,_e,le,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,R,N)=>{"use strict";const $=N(81627);class CodeGenerationError extends ${constructor(E,R){super();this.name="CodeGenerationError";this.error=R;this.message=R.message;this.details=R.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,R,N)=>{"use strict";const{provide:$}=N(67585);const{first:j}=N(26221);const q=N(35891);const{runtimeToString:G,RuntimeSpecMap:ie}=N(37416);class CodeGenerationResults{constructor(E="md4"){this.map=new Map;this._hashFunction=E}get(E,R){const N=this.map.get(E);if(N===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(R===undefined){if(N.size>1){const R=new Set(N.values());if(R.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>G(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return j(R)}return N.values().next().value}const $=N.get(R);if($===undefined){throw new Error(`No code generation entry for runtime ${G(R)} for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>G(E))).join(", ")})`)}return $}has(E,R){const N=this.map.get(E);if(N===undefined){return false}if(R!==undefined){return N.has(R)}else if(N.size>1){const E=new Set(N.values());return E.size===1}else{return N.size===1}}getSource(E,R,N){return this.get(E,R).sources.get(N)}getRuntimeRequirements(E,R){return this.get(E,R).runtimeRequirements}getData(E,R,N){const $=this.get(E,R).data;return $===undefined?undefined:$.get(N)}getHash(E,R){const N=this.get(E,R);if(N.hash!==undefined)return N.hash;const $=q(this._hashFunction);for(const[E,R]of N.sources){$.update(E);R.updateHash($)}if(N.runtimeRequirements){for(const E of N.runtimeRequirements)$.update(E)}return N.hash=$.digest("hex")}add(E,R,N){const j=$(this.map,E,(()=>new ie));j.set(R,N)}}E.exports=CodeGenerationResults},47207:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class CommentCompilationWarning extends ${constructor(E,R){super(E);this.name="CommentCompilationWarning";this.loc=R}}j(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,R,N)=>{"use strict";const $=N(66298);const j=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set($,new $.Template);R.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,R)=>{if(R.browserify!==undefined&&!R.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(R=>{if(R.arguments.length!==2)return;const N=E.evaluateExpression(R.arguments[1]);if(!N.isBoolean())return;if(N.asBool()!==true)return;const j=new $("require",R.callee.range);j.loc=R.loc;if(E.state.current.dependencies.length>0){const R=E.state.current.dependencies[E.state.current.dependencies.length-1];if(R.critical&&R.options&&R.options.request==="."&&R.userRequest==="."&&R.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency(j);return true}))}));const handler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(R=>{if(R.type==="FunctionDeclaration"&&R.id&&R.id.name==="__webpack_require__"){const N=`__nested_webpack_require_${R.range[0]}__`;E.tagVariable(R.id.name,j,{name:N,declaration:{updated:false,loc:R.id.loc,range:R.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(R=>{const N=`__nested_webpack_require_${R.range[0]}__`;E.tagVariable(R.name,j,{name:N,declaration:{updated:false,loc:R.loc,range:R.range}});return true}));E.hooks.expression.for(j).tap("CompatibilityPlugin",(R=>{const{name:N,declaration:j}=E.currentTagData;if(!j.updated){const R=new $(N,j.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R);j.updated=true}const q=new $(N,R.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}));E.hooks.program.tap("CompatibilityPlugin",((R,N)=>{if(N.length===0)return;const j=N[0];if(j.type==="Line"&&j.range[0]===0){if(E.state.source.slice(0,2).toString()!=="#!")return;const R=new $("//",0);R.loc=j.loc;E.state.module.addPresentationalDependency(R)}}))};R.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);R.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}E.exports=CompatibilityPlugin},3080:(E,R,N)=>{"use strict";const $=N(62355);const{HookMap:j,SyncHook:q,SyncBailHook:G,SyncWaterfallHook:ie,AsyncSeriesHook:ae,AsyncSeriesBailHook:le,AsyncParallelHook:_e}=N(92960);const Ee=N(73837);const{CachedSource:we}=N(48135);const{MultiItemCache:Ie}=N(6503);const Me=N(62433);const Te=N(45137);const Ne=N(84558);const Be=N(44445);const Le=N(13454);const je=N(93010);const ze=N(53840);const Ue=N(28706);const qe=N(46828);const Ge=N(71452);const He=N(50717);const We=N(22996);const{connectChunkGroupAndChunk:Ve,connectChunkGroupParentAndChild:Ke}=N(4642);const{makeWebpackError:Qe,tryRunOrWebpackError:Je}=N(3728);const Xe=N(73694);const Ye=N(53453);const Ze=N(82811);const et=N(23280);const tt=N(75412);const nt=N(54032);const rt=N(99869);const st=N(2210);const it=N(31467);const ot=N(68661);const lt=N(76150);const ct=N(37130);const ut=N(10140);const pt=N(81627);const dt=N(25457);const ft=N(44547);const{Logger:ht,LogType:mt}=N(78539);const gt=N(87279);const yt=N(30533);const{equals:vt}=N(73910);const bt=N(9738);const _t=N(83379);const{provide:xt}=N(67585);const kt=N(4396);const{cachedCleverMerge:Et}=N(90149);const{compareLocations:wt,concatComparators:St,compareSelect:At,compareIds:Ct,compareStringsNumeric:Dt,compareModulesByIdentifier:It}=N(68673);const Mt=N(35891);const{arrayToSetDeprecation:Pt,soonFrozenObjectDeprecation:Tt,createFakeHook:Ot}=N(16595);const Rt=N(2117);const{getRuntimeKey:Ft}=N(37416);const{isSourceEqual:Nt}=N(13559);const Bt=Object.freeze({});const Lt="esm";const $t=Ee.deprecate((E=>N(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const jt=At((E=>E.id),Ct);const zt=St(At((E=>E.name),Ct),At((E=>E.fullHash),Ct));const Ut=At((E=>`${E.message}`),Dt);const qt=At((E=>E.module&&E.module.identifier()||""),Dt);const Gt=At((E=>E.loc),wt);const Ht=St(qt,Gt,Ut);const Wt=new WeakMap;const Vt=new WeakMap;class Compilation{constructor(E,R){this._backCompat=E._backCompat;const getNormalModuleLoader=()=>$t(this);const N=new ae(["assets"]);let $=new Set;const popNewAssets=E=>{let R=undefined;for(const N of Object.keys(E)){if($.has(N))continue;if(R===undefined){R=Object.create(null)}R[N]=E[N];$.add(N)}return R};N.intercept({name:"Compilation",call:()=>{$=new Set(Object.keys(this.assets))},register:E=>{const{type:R,name:N}=E;const{fn:$,additionalAssets:j,...q}=E;const G=j===true?$:j;const ie=G?new WeakSet:undefined;switch(R){case"sync":if(G){this.hooks.processAdditionalAssets.tap(N,(E=>{if(ie.has(this.assets))G(E)}))}return{...q,type:"async",fn:(E,R)=>{try{$(E)}catch(E){return R(E)}if(ie!==undefined)ie.add(this.assets);const N=popNewAssets(E);if(N!==undefined){this.hooks.processAdditionalAssets.callAsync(N,R);return}R()}};case"async":if(G){this.hooks.processAdditionalAssets.tapAsync(N,((E,R)=>{if(ie.has(this.assets))return G(E,R);R()}))}return{...q,fn:(E,R)=>{$(E,(N=>{if(N)return R(N);if(ie!==undefined)ie.add(this.assets);const $=popNewAssets(E);if($!==undefined){this.hooks.processAdditionalAssets.callAsync($,R);return}R()}))}};case"promise":if(G){this.hooks.processAdditionalAssets.tapPromise(N,(E=>{if(ie.has(this.assets))return G(E);return Promise.resolve()}))}return{...q,fn:E=>{const R=$(E);if(!R||!R.then)return R;return R.then((()=>{if(ie!==undefined)ie.add(this.assets);const R=popNewAssets(E);if(R!==undefined){return this.hooks.processAdditionalAssets.promise(R)}}))}}}}});const we=new q(["assets"]);const createProcessAssetsHook=(E,R,$,j)=>{if(!this._backCompat&&j)return undefined;const errorMessage=R=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${R}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:R}};return Ot({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,R)=>{N.tap(getOptions(E),(()=>R(...$())))},tapAsync:(E,R)=>{N.tapAsync(getOptions(E),((E,N)=>R(...$(),N)))},tapPromise:(E,R)=>{N.tapPromise(getOptions(E),(()=>R(...$())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,j)};this.hooks=Object.freeze({buildModule:new q(["module"]),rebuildModule:new q(["module"]),failedModule:new q(["module","error"]),succeedModule:new q(["module"]),stillValidModule:new q(["module"]),addEntry:new q(["entry","options"]),failedEntry:new q(["entry","options","error"]),succeedEntry:new q(["entry","options","module"]),dependencyReferencedExports:new ie(["referencedExports","dependency","runtime"]),executeModule:new q(["options","context"]),prepareModuleExecution:new _e(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new q([]),seal:new q([]),beforeChunks:new q([]),afterChunks:new q(["chunks"]),optimizeDependencies:new G(["modules"]),afterOptimizeDependencies:new q(["modules"]),optimize:new q([]),optimizeModules:new G(["modules"]),afterOptimizeModules:new q(["modules"]),optimizeChunks:new G(["chunks","chunkGroups"]),afterOptimizeChunks:new q(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new q(["chunks","modules"]),optimizeChunkModules:new le(["chunks","modules"]),afterOptimizeChunkModules:new q(["chunks","modules"]),shouldRecord:new G([]),additionalChunkRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new j((()=>new G(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new q(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new j((()=>new G(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new j((()=>new G(["chunk","runtimeRequirements","context"]))),runtimeModule:new q(["module","chunk"]),reviveModules:new q(["modules","records"]),beforeModuleIds:new q(["modules"]),moduleIds:new q(["modules"]),optimizeModuleIds:new q(["modules"]),afterOptimizeModuleIds:new q(["modules"]),reviveChunks:new q(["chunks","records"]),beforeChunkIds:new q(["chunks"]),chunkIds:new q(["chunks"]),optimizeChunkIds:new q(["chunks"]),afterOptimizeChunkIds:new q(["chunks"]),recordModules:new q(["modules","records"]),recordChunks:new q(["chunks","records"]),optimizeCodeGeneration:new q(["modules"]),beforeModuleHash:new q([]),afterModuleHash:new q([]),beforeCodeGeneration:new q([]),afterCodeGeneration:new q([]),beforeRuntimeRequirements:new q([]),afterRuntimeRequirements:new q([]),beforeHash:new q([]),contentHash:new q(["chunk"]),afterHash:new q([]),recordHash:new q(["records"]),record:new q(["compilation","records"]),beforeModuleAssets:new q([]),shouldGenerateChunkAssets:new G([]),beforeChunkAssets:new q([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:N,afterOptimizeAssets:we,processAssets:N,afterProcessAssets:we,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new G([]),afterSeal:new ae([]),renderManifest:new ie(["result","options"]),fullHash:new q(["hash"]),chunkHash:new q(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new q(["module","filename"]),chunkAsset:new q(["chunk","filename"]),assetPath:new ie(["path","options","assetInfo"]),needAdditionalPass:new G([]),childCompiler:new q(["childCompiler","compilerName","compilerIndex"]),log:new G(["origin","logEntry"]),processWarnings:new ie(["warnings"]),processErrors:new ie(["errors"]),statsPreset:new j((()=>new q(["options","context"]))),statsNormalize:new q(["options","context"]),statsFactory:new q(["statsFactory","options"]),statsPrinter:new q(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new We(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps,true)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const Ie=E.options;this.options=Ie;this.outputOptions=Ie&&Ie.output;this.bail=Ie&&Ie.bail||false;this.profile=Ie&&Ie.profile||false;this.params=R;this.mainTemplate=new Xe(this.outputOptions,this);this.chunkTemplate=new Le(this.outputOptions,this);this.runtimeTemplate=new ct(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ot(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new tt;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new bt({name:"processDependencies",parallelism:Ie.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new bt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new bt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new bt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new bt({name:"rebuild",parallelism:Ie.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){Pt(this.chunks,"Compilation.chunks");Pt(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new qe;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new _t;this.contextDependencies=new _t;this.missingDependencies=new _t;this.buildDependencies=new _t;this.compilationDependencies={add:Ee.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const Me=Ie.module.unsafeCache;this._unsafeCache=!!Me;this._unsafeCachePredicate=typeof Me==="function"?Me:()=>true}getStats(){return new ut(this)}createStatsOptions(E,R={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const N={};for(const R in E){N[R]=E[R]}if(N.preset!==undefined){this.hooks.statsPreset.for(N.preset).call(N,R)}this.hooks.statsNormalize.call(N,R);return N}else{const E={};this.hooks.statsNormalize.call(E,R);return E}}createStatsFactory(E){const R=new gt;this.hooks.statsFactory.call(R,E);return R}createStatsPrinter(E){const R=new yt;this.hooks.statsPrinter.call(R,E);return R}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let R;return new ht(((N,$)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let j;switch(N){case mt.warn:case mt.error:case mt.trace:j=He.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const q={time:Date.now(),type:N,args:$,trace:j};if(this.hooks.log.call(E,q)===undefined){if(q.type===mt.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${q.args[0]}`)}}if(R===undefined){R=this.logging.get(E);if(R===undefined){R=[];this.logging.set(E,R)}}R.push(q);if(q.type===mt.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${q.args[0]}`)}}}}),(R=>{if(typeof E==="function"){if(typeof R==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}}else{if(typeof R==="function"){return this.getLogger((()=>{if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getLogger(`${E}/${R}`)}}}))}addModule(E,R){this.addModuleQueue.add(E,R)}_addModule(E,R){const N=E.identifier();const $=this._modules.get(N);if($){return R(null,$)}const j=this.profile?this.moduleGraph.getProfile(E):undefined;if(j!==undefined){j.markRestoringStart()}this._modulesCache.get(N,null,(($,q)=>{if($)return R(new st(E,$));if(j!==undefined){j.markRestoringEnd();j.markIntegrationStart()}if(q){q.updateCacheModule(E);E=q}this._modules.set(N,E);this.modules.add(E);if(this._backCompat)tt.setModuleGraphForModule(E,this.moduleGraph);if(j!==undefined){j.markIntegrationEnd()}R(null,E)}))}getModule(E){const R=E.identifier();return this._modules.get(R)}findModule(E){return this._modules.get(E)}buildModule(E,R){this.buildQueue.add(E,R)}_buildModule(E,R){const N=this.profile?this.moduleGraph.getProfile(E):undefined;if(N!==undefined){N.markBuildingStart()}E.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},(($,j)=>{if($)return R($);if(!j){if(N!==undefined){N.markBuildingEnd()}this.hooks.stillValidModule.call(E);return R()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,($=>{if(N!==undefined){N.markBuildingEnd()}if($){this.hooks.failedModule.call(E,$);return R($)}if(N!==undefined){N.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,($=>{if(N!==undefined){N.markStoringEnd()}if($){this.hooks.failedModule.call(E,$);return R(new it(E,$))}this.hooks.succeedModule.call(E);return R()}))}))}))}processModuleDependencies(E,R){this.processDependenciesQueue.add(E,R)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=R=>{if(R.dependencies){let N=0;for(const $ of R.dependencies){this.moduleGraph.setParents($,R,E,N++)}}if(R.blocks){for(const E of R.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,R){const N=[];let $;let j;let q;let G;let ie;let ae;let le;let _e;let Ee=1;let we=1;const onDependenciesSorted=E=>{if(E)return R(E);if(N.length===0&&we===1){return R()}this.processDependenciesQueue.increaseParallelism();for(const E of N){we++;this.handleModuleCreation(E,(E=>{if(E&&this.bail){if(we<=0)return;we=-1;E.stack=E.stack;onTransitiveTasksFinished(E);return}if(--we===0)onTransitiveTasksFinished()}))}if(--we===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=E=>{if(E)return R(E);this.processDependenciesQueue.decreaseParallelism();return R()};const processDependency=(R,N)=>{this.moduleGraph.setParents(R,$,E,N);if(this._unsafeCache){try{const N=Wt.get(R);if(N===null)return;if(N!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(N)){this._handleExistingModuleFromUnsafeCache(E,R,N);return}const $=N.identifier();const j=this._restoredUnsafeCacheEntries.get($);if(j!==undefined){Wt.set(R,j);this._handleExistingModuleFromUnsafeCache(E,R,j);return}Ee++;this._modulesCache.get($,null,((j,q)=>{if(j){if(Ee<=0)return;Ee=-1;onDependenciesSorted(j);return}try{if(!this._restoredUnsafeCacheEntries.has($)){const j=Vt.get(q);if(j===undefined){processDependencyForResolving(R);if(--Ee===0)onDependenciesSorted();return}if(q!==N){Wt.set(R,q)}q.restoreFromUnsafeCache(j,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set($,q);this._restoredUnsafeCacheModuleEntries.add(q);if(!this.modules.has(q)){we++;this._handleNewModuleFromUnsafeCache(E,R,q,(E=>{if(E){if(we<=0)return;we=-1;onTransitiveTasksFinished(E)}if(--we===0)return onTransitiveTasksFinished()}));if(--Ee===0)onDependenciesSorted();return}}if(N!==q){Wt.set(R,q)}this._handleExistingModuleFromUnsafeCache(E,R,q)}catch(j){if(Ee<=0)return;Ee=-1;onDependenciesSorted(j);return}if(--Ee===0)onDependenciesSorted()}));return}}catch(E){console.error(E)}}processDependencyForResolving(R)};const processDependencyForResolving=R=>{const $=R.getResourceIdentifier();if($!==undefined&&$!==null){const Ee=R.category;const we=R.constructor;if(q===we){if(ae===Ee&&le===$){_e.push(R);return}}else{const E=this.dependencyFactories.get(we);if(E===undefined){throw new Error(`No module factory available for dependency type: ${we.name}`)}if(G===E){q=we;if(ae===Ee&&le===$){_e.push(R);return}}else{if(G!==undefined){if(j===undefined)j=new Map;j.set(G,ie);ie=j.get(E);if(ie===undefined){ie=new Map}}else{ie=new Map}q=we;G=E}}const Ie=Ee===Lt?$:`${Ee}${$}`;let Me=ie.get(Ie);if(Me===undefined){ie.set(Ie,Me=[]);N.push({factory:G,dependencies:Me,originModule:E})}Me.push(R);ae=Ee;le=$;_e=Me}};try{const R=[E];do{const E=R.pop();if(E.dependencies){$=E;let R=0;for(const N of E.dependencies)processDependency(N,R++)}if(E.blocks){for(const N of E.blocks)R.push(N)}}while(R.length!==0)}catch(E){return R(E)}if(--Ee===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(E,R,N,$){const j=this.moduleGraph;j.setResolvedModule(E,R,N);j.setIssuerIfUnset(N,E!==undefined?E:null);this._modules.set(N.identifier(),N);this.modules.add(N);if(this._backCompat)tt.setModuleGraphForModule(N,this.moduleGraph);this._handleModuleBuildAndDependencies(E,N,true,$)}_handleExistingModuleFromUnsafeCache(E,R,N){const $=this.moduleGraph;$.setResolvedModule(E,R,N)}handleModuleCreation({factory:E,dependencies:R,originModule:N,contextInfo:$,context:j,recursive:q=true,connectOrigin:G=q},ie){const ae=this.moduleGraph;const le=this.profile?new rt:undefined;this.factorizeModule({currentProfile:le,factory:E,dependencies:R,factoryResult:true,originModule:N,contextInfo:$,context:j},((E,$)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:E,contextDependencies:R,missingDependencies:N}=$;if(E){this.fileDependencies.addAll(E)}if(R){this.contextDependencies.addAll(R)}if(N){this.missingDependencies.addAll(N)}};if(E){if($)applyFactoryResultDependencies();if(R.every((E=>E.optional))){this.warnings.push(E);return ie()}else{this.errors.push(E);return ie(E)}}const j=$.module;if(!j){applyFactoryResultDependencies();return ie()}if(le!==undefined){ae.setProfile(j,le)}this.addModule(j,((E,_e)=>{if(E){applyFactoryResultDependencies();if(!E.module){E.module=_e}this.errors.push(E);return ie(E)}if(this._unsafeCache&&$.cacheable!==false&&_e.restoreFromUnsafeCache&&this._unsafeCachePredicate(_e)){const E=_e;for(let $=0;${if(j!==undefined){j.delete(R)}if(E){if(!E.module){E.module=R}this.errors.push(E);return $(E)}if(!N){this.processModuleDependenciesNonRecursive(R);$(null,R);return}if(this.processDependenciesQueue.isProcessing(R)){return $()}this.processModuleDependencies(R,(E=>{if(E){return $(E)}$(null,R)}))}))}_factorizeModule({currentProfile:E,factory:R,dependencies:N,originModule:$,factoryResult:j,contextInfo:q,context:G},ie){if(E!==undefined){E.markFactoryStart()}R.create({contextInfo:{issuer:$?$.nameForCondition():"",issuerLayer:$?$.layer:null,compiler:this.compiler.name,...q},resolveOptions:$?$.resolveOptions:undefined,context:G?G:$?$.context:this.compiler.context,dependencies:N},((R,q)=>{if(q){if(q.module===undefined&&q instanceof Ye){q={module:q}}if(!j){const{fileDependencies:E,contextDependencies:R,missingDependencies:N}=q;if(E){this.fileDependencies.addAll(E)}if(R){this.contextDependencies.addAll(R)}if(N){this.missingDependencies.addAll(N)}}}if(R){const E=new nt($,R,N.map((E=>E.loc)).filter(Boolean)[0]);return ie(E,j?q:undefined)}if(!q){return ie()}if(E!==undefined){E.markFactoryEnd()}ie(null,j?q:q.module)}))}addModuleChain(E,R,N){return this.addModuleTree({context:E,dependency:R},N)}addModuleTree({context:E,dependency:R,contextInfo:N},$){if(typeof R!=="object"||R===null||!R.constructor){return $(new pt("Parameter 'dependency' must be a Dependency"))}const j=R.constructor;const q=this.dependencyFactories.get(j);if(!q){return $(new pt(`No dependency factory available for this dependency type: ${R.constructor.name}`))}this.handleModuleCreation({factory:q,dependencies:[R],originModule:null,contextInfo:N,context:E},((E,R)=>{if(E&&this.bail){$(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!E&&R){$(null,R)}else{$()}}))}addEntry(E,R,N,$){const j=typeof N==="object"?N:{name:N};this._addEntryItem(E,R,"dependencies",j,$)}addInclude(E,R,N,$){this._addEntryItem(E,R,"includeDependencies",N,$)}_addEntryItem(E,R,N,$,j){const{name:q}=$;let G=q!==undefined?this.entries.get(q):this.globalEntry;if(G===undefined){G={dependencies:[],includeDependencies:[],options:{name:undefined,...$}};G[N].push(R);this.entries.set(q,G)}else{G[N].push(R);for(const E of Object.keys($)){if($[E]===undefined)continue;if(G.options[E]===$[E])continue;if(Array.isArray(G.options[E])&&Array.isArray($[E])&&vt(G.options[E],$[E])){continue}if(G.options[E]===undefined){G.options[E]=$[E]}else{return j(new pt(`Conflicting entry option ${E} = ${G.options[E]} vs ${$[E]}`))}}}this.hooks.addEntry.call(R,$);this.addModuleTree({context:E,dependency:R,contextInfo:G.options.layer?{issuerLayer:G.options.layer}:undefined},((E,N)=>{if(E){this.hooks.failedEntry.call(R,$,E);return j(E)}this.hooks.succeedEntry.call(R,$,N);return j(null,N)}))}rebuildModule(E,R){this.rebuildQueue.add(E,R)}_rebuildModule(E,R){this.hooks.rebuildModule.call(E);const N=E.dependencies.slice();const $=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,(j=>{if(j){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){R(Qe(E,"Compilation.hooks.finishRebuildingModule"));return}R(j)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,(j=>{if(j)return R(j);this.removeReasonsOfDependencyBlock(E,{dependencies:N,blocks:$});this.hooks.finishRebuildingModule.callAsync(E,(N=>{if(N){R(Qe(N,"Compilation.hooks.finishRebuildingModule"));return}R(null,E)}))}))}))}_computeAffectedModules(E){const R=this.compiler.moduleMemCaches;if(!R)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:N,moduleMemCaches:$}=this;const j=new Set;const q=new Set;let G=0;let ie=0;let ae=0;let le=0;let _e=0;const computeReferences=E=>{let R=undefined;for(const $ of N.getOutgoingConnections(E)){const E=$.dependency;const N=$.module;if(!E||!N||Wt.has(E))continue;if(R===undefined)R=new WeakMap;R.set(E,N)}return R};const compareReferences=(E,R)=>{if(R===undefined)return true;for(const $ of N.getOutgoingConnections(E)){const E=$.dependency;if(!E)continue;const N=R.get(E);if(N===undefined)continue;if(N!==$.module)return false}return true};const Ee=new Set(E);for(const[E,N]of R){if(Ee.has(E)){const G=E.buildInfo;if(G){if(N.buildInfo!==G){const R=new kt;$.set(E,R);j.add(E);N.buildInfo=G;N.references=computeReferences(E);N.memCache=R;ie++}else if(!compareReferences(E,N.references)){const R=new kt;$.set(E,R);j.add(E);N.references=computeReferences(E);N.memCache=R;le++}else{$.set(E,N.memCache);ae++}}else{q.add(E);R.delete(E);_e++}Ee.delete(E)}else{R.delete(E)}}for(const E of Ee){const N=E.buildInfo;if(N){const q=new kt;R.set(E,{buildInfo:N,references:computeReferences(E),memCache:q});$.set(E,q);j.add(E);G++}else{q.add(E);_e++}}const reduceAffectType=E=>{let R=false;for(const{dependency:N}of E){if(!N)continue;const E=N.couldAffectReferencingModule();if(E===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(E===false)continue;R=true}return R};const we=new Set;for(const E of q){for(const[R,$]of N.getIncomingConnectionsByOriginModule(E)){if(!R)continue;if(q.has(R))continue;const E=reduceAffectType($);if(!E)continue;if(E===true){we.add(R)}else{q.add(R)}}}for(const E of we)q.add(E);const Ie=new Set;for(const E of j){for(const[G,ie]of N.getIncomingConnectionsByOriginModule(E)){if(!G)continue;if(q.has(G))continue;if(j.has(G))continue;const E=reduceAffectType(ie);if(!E)continue;if(E===true){Ie.add(G)}else{j.add(G)}const N=new kt;const ae=R.get(G);ae.memCache=N;$.set(G,N)}}for(const E of Ie)j.add(E);this.logger.log(`${Math.round(100*(j.size+q.size)/this.modules.size)}% (${j.size} affected + ${q.size} infected of ${this.modules.size}) modules flagged as affected (${G} new modules, ${ie} changed, ${le} references changed, ${ae} unchanged, ${_e} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:E}=this;if(!E)return;const R=this.moduleMemCaches2=new Map;const{moduleGraph:N,chunkGraph:$}=this;const j="memCache2";let q=0;let G=0;let ie=0;const computeReferences=E=>{let R=undefined;let j=undefined;const q=N.getOutgoingConnectionsByModule(E);if(q!==undefined){for(const E of q.keys()){if(!E)continue;if(R===undefined)R=new Map;R.set(E,$.getModuleId(E))}}if(E.blocks.length>0){j=[];const R=Array.from(E.blocks);for(const E of R){const N=$.getBlockChunkGroup(E);if(N){for(const E of N.chunks){j.push(E.id)}}else{j.push(null)}R.push.apply(R,E.blocks)}}return{modules:R,blocks:j}};const compareReferences=(E,{modules:R,blocks:N})=>{if(R!==undefined){for(const[E,N]of R){if($.getModuleId(E)!==N)return false}}if(N!==undefined){const R=Array.from(E.blocks);let j=0;for(const E of R){const q=$.getBlockChunkGroup(E);if(q){for(const E of q.chunks){if(j>=N.length||N[j++]!==E.id)return false}}else{if(j>=N.length||N[j++]!==null)return false}R.push.apply(R,E.blocks)}if(j!==N.length)return false}return true};for(const[N,$]of E){const E=$.get(j);if(E===undefined){const E=new kt;$.set(j,{references:computeReferences(N),memCache:E});R.set(N,E);ie++}else if(!compareReferences(N,E.references)){const $=new kt;E.references=computeReferences(N);E.memCache=$;R.set(N,$);G++}else{R.set(N,E.memCache);q++}}this.logger.log(`${Math.round(100*G/(ie+G+q))}% modules flagged as affected by chunk graph (${ie} new modules, ${G} changed, ${q} unchanged)`)}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=N(382);const R=new E;const $=this.moduleGraph;const j=new Map;for(const E of this.modules){const N=$.getProfile(E);if(!N)continue;j.set(E,N);R.range(N.buildingStartTime,N.buildingEndTime,(E=>N.buildingParallelismFactor=E));R.range(N.factoryStartTime,N.factoryEndTime,(E=>N.factoryParallelismFactor=E));R.range(N.integrationStartTime,N.integrationEndTime,(E=>N.integrationParallelismFactor=E));R.range(N.storingStartTime,N.storingEndTime,(E=>N.storingParallelismFactor=E));R.range(N.restoringStartTime,N.restoringEndTime,(E=>N.restoringParallelismFactor=E));if(N.additionalFactoryTimes){for(const{start:E,end:$}of N.additionalFactoryTimes){const j=($-E)/N.additionalFactories;R.range(E,$,(E=>N.additionalFactoriesParallelismFactor+=E*j))}}}R.calculate();const q=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,R)=>{if(E>1e3){q.error(R)}else if(E>500){q.warn(R)}else if(E>200){q.info(R)}else if(E>30){q.log(R)}else{q.debug(R)}};const logNormalSummary=(E,R,N)=>{let $=0;let q=0;for(const[G,ie]of j){const j=N(ie);const ae=R(ie);if(ae===0||j===0)continue;const le=ae/j;$+=le;if(le<=10)continue;logByValue(le,` | ${Math.round(le)} ms${j>=1.1?` (parallelism ${Math.round(j*10)/10})`:""} ${E} > ${G.readableIdentifier(this.requestShortener)}`);q=Math.max(q,le)}if($<=10)return;logByValue(Math.max($/10,q),`${Math.round($)} ms ${E}`)};const logByLoadersSummary=(E,R,N)=>{const $=new Map;for(const[E,R]of j){const N=xt($,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));N.push({module:E,profile:R})}let q=0;let G=0;for(const[j,ie]of $){let $=0;let ae=0;for(const{module:j,profile:q}of ie){const G=N(q);const ie=R(q);if(ie===0||G===0)continue;const le=ie/G;$+=le;if(le<=10)continue;logByValue(le,` | | ${Math.round(le)} ms${G>=1.1?` (parallelism ${Math.round(G*10)/10})`:""} ${E} > ${j.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,le)}q+=$;if($<=10)continue;const le=j.indexOf("!");const _e=j.slice(le+1);const Ee=j.slice(0,le);const we=Math.max($/10,ae);logByValue(we,` | ${Math.round($)} ms ${E} > ${_e?`${ie.length} x ${Ee} with ${this.requestShortener.shorten(_e)}`:`${ie.length} x ${Ee}`}`);G=Math.max(G,we)}if(q<=10)return;logByValue(Math.max(q/10,G),`${Math.round(q)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:R,moduleMemCaches:$}=this;this.hooks.finishModules.callAsync(R,(N=>{this.logger.timeEnd("finish modules");if(N)return E(N);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const E of R){const R=$&&$.get(E);if(R&&R.get("noWarningsOrErrors"))continue;let N=this.reportDependencyErrorsAndWarnings(E,[E]);const j=E.getErrors();if(j!==undefined){for(const R of j){if(!R.module){R.module=E}this.errors.push(R);N=true}}const q=E.getWarnings();if(q!==undefined){for(const R of q){if(!R.module){R.module=E}this.warnings.push(R);N=true}}if(!N&&R)R.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(E){const finalCallback=R=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(R)};const R=new Te(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=R;if(this._backCompat){for(const E of this.modules){Te.setChunkGraphForModule(E,R)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const N=new Map;for(const[E,{dependencies:$,includeDependencies:j,options:q}]of this.entries){const G=this.addChunk(E);if(q.filename){G.filenameTemplate=q.filename}const ie=new Ge(q);if(!q.dependOn&&!q.runtime){ie.setRuntimeChunk(G)}ie.setEntrypointChunk(G);this.namedChunkGroups.set(E,ie);this.entrypoints.set(E,ie);this.chunkGroups.push(ie);Ve(ie,G);const ae=new Set;for(const j of[...this.globalEntry.dependencies,...$]){ie.addOrigin(null,{name:E},j.request);const $=this.moduleGraph.getModule(j);if($){R.connectChunkAndEntryModule(G,$,ie);ae.add($);const E=N.get(ie);if(E===undefined){N.set(ie,[$])}else{E.push($)}}}this.assignDepths(ae);const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(It);const le=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(j)];let _e=N.get(ie);if(_e===undefined){N.set(ie,_e=[])}for(const E of le){this.assignDepth(E);_e.push(E)}}const $=new Set;e:for(const[E,{options:{dependOn:R,runtime:N}}]of this.entries){if(R&&N){const R=new pt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const N=this.entrypoints.get(E);R.chunk=N.getEntrypointChunk();this.errors.push(R)}if(R){const N=this.entrypoints.get(E);const $=N.getEntrypointChunk().getAllReferencedChunks();const j=[];for(const q of R){const R=this.entrypoints.get(q);if(!R){throw new Error(`Entry ${E} depends on ${q}, but this entry was not found`)}if($.has(R.getEntrypointChunk())){const R=new pt(`Entrypoints '${E}' and '${q}' use 'dependOn' to depend on each other in a circular way.`);const $=N.getEntrypointChunk();R.chunk=$;this.errors.push(R);N.setRuntimeChunk($);continue e}j.push(R)}for(const E of j){Ke(E,N)}}else if(N){const R=this.entrypoints.get(E);let j=this.namedChunks.get(N);if(j){if(!$.has(j)){const $=new pt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${N}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(N)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${N}'? For this '${N}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${N}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const j=R.getEntrypointChunk();$.chunk=j;this.errors.push($);R.setRuntimeChunk(j);continue}}else{j=this.addChunk(N);j.preventIntegration=true;$.add(j)}R.unshiftChunk(j);j.addGroup(R);R.setRuntimeChunk(j)}}dt(this,N);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const N=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(N){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((R=>{if(R){return finalCallback(R)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const $=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs($,(R=>{if(R){return finalCallback(R)}if(N){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Tt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(N){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(Qe(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,R){let N=false;for(let $=0;$1){const j=new Map;for(const q of $){const $=R.getModuleHash(E,q);const G=j.get($);if(G===undefined){const R={module:E,hash:$,runtime:q,runtimes:[q]};N.push(R);j.set($,R)}else{G.runtimes.push(q)}}}}this._runCodeGenerationJobs(N,E)}_runCodeGenerationJobs(E,R){let N=0;let j=0;const{chunkGraph:q,moduleGraph:G,dependencyTemplates:ie,runtimeTemplate:ae}=this;const le=this.codeGenerationResults;const _e=[];$.eachLimit(E,this.options.parallelism,(({module:E,hash:R,runtime:$,runtimes:Ee},we)=>{this._codeGenerationModule(E,$,Ee,R,ie,q,G,ae,_e,le,((E,R)=>{if(R)j++;else N++;we(E)}))}),(E=>{if(E)return R(E);if(_e.length>0){_e.sort(At((E=>E.module),It));for(const E of _e){this.errors.push(E)}}this.logger.log(`${Math.round(100*j/(j+N))}% code generated (${j} generated, ${N} from cache)`);R()}))}_codeGenerationModule(E,R,N,$,j,q,G,ie,ae,le,_e){let Ee=false;const we=new Ie(N.map((R=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${Ft(R)}`,`${$}|${j.getHash()}`))));we.get((($,Ie)=>{if($)return _e($);let Me;if(!Ie){try{Ee=true;this.codeGeneratedModules.add(E);Me=E.codeGeneration({chunkGraph:q,moduleGraph:G,dependencyTemplates:j,runtimeTemplate:ie,runtime:R})}catch($){ae.push(new je(E,$));Me=Ie={sources:new Map,runtimeRequirements:null}}}else{Me=Ie}for(const R of N){le.add(E,R,Me)}if(!Ie){we.store(Me,(E=>_e(E,Ee)))}else{_e(null,Ee)}}))}_getChunkGraphEntries(){const E=new Set;for(const R of this.entrypoints.values()){const N=R.getRuntimeChunk();if(N)E.add(N)}for(const R of this.asyncEntrypoints){const N=R.getRuntimeChunk();if(N)E.add(N)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:R=this.modules,chunks:N=this.chunks,codeGenerationResults:$=this.codeGenerationResults,chunkGraphEntries:j=this._getChunkGraphEntries()}={}){const q={chunkGraph:E,codeGenerationResults:$};const{moduleMemCaches2:G}=this;this.logger.time("runtime requirements.modules");const ie=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const N of R){if(E.getNumberOfModuleChunks(N)>0){const R=G&&G.get(N);for(const j of E.getModuleRuntimes(N)){if(R){const $=R.get(`moduleRuntimeRequirements-${Ft(j)}`);if($!==undefined){if($!==null){E.addModuleRuntimeRequirements(N,j,$,false)}continue}}let G;const le=$.getRuntimeRequirements(N,j);if(le&&le.size>0){G=new Set(le)}else if(ie.isUsed()){G=new Set}else{if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,null)}continue}ie.call(N,G,q);for(const E of G){const R=ae.get(E);if(R!==undefined)R.call(N,G,q)}if(G.size===0){if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,null)}}else{if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,G);E.addModuleRuntimeRequirements(N,j,G,false)}else{E.addModuleRuntimeRequirements(N,j,G)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const R of N){const N=new Set;for(const $ of E.getChunkModulesIterable(R)){const j=E.getModuleRuntimeRequirements($,R.runtime);for(const E of j)N.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(R,N,q);for(const E of N){this.hooks.runtimeRequirementInChunk.for(E).call(R,N,q)}E.addChunkRuntimeRequirements(R,N)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const R of j){const N=new Set;for(const $ of R.getAllReferencedChunks()){const R=E.getChunkRuntimeRequirements($);for(const E of R)N.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(R,N,q);for(const E of N){this.hooks.runtimeRequirementInTree.for(E).call(R,N,q)}E.addTreeRuntimeRequirements(R,N)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(E,R,N=this.chunkGraph){if(this._backCompat)tt.setModuleGraphForModule(R,this.moduleGraph);this.modules.add(R);this._modules.set(R.identifier(),R);N.connectChunkAndModule(E,R);N.connectChunkAndRuntimeModule(E,R);if(R.fullHash){N.addFullHashModuleToChunk(E,R)}else if(R.dependentHash){N.addDependentHashModuleToChunk(E,R)}R.attach(this,E,N);const $=this.moduleGraph.getExportsInfo(R);$.setHasProvideInfo();if(typeof E.runtime==="string"){$.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){$.setUsedForSideEffectsOnly(undefined)}else{for(const R of E.runtime){$.setUsedForSideEffectsOnly(R)}}N.addModuleRuntimeRequirements(R,E.runtime,new Set([lt.requireScope]));N.setModuleId(R,"");this.hooks.runtimeModule.call(R,E)}addChunkInGroup(E,R,N,$){if(typeof E==="string"){E={name:E}}const j=E.name;if(j){const q=this.namedChunkGroups.get(j);if(q!==undefined){q.addOptions(E);if(R){q.addOrigin(R,N,$)}return q}}const q=new Ne(E);if(R)q.addOrigin(R,N,$);const G=this.addChunk(j);Ve(q,G);this.chunkGroups.push(q);if(j){this.namedChunkGroups.set(j,q)}return q}addAsyncEntrypoint(E,R,N,$){const j=E.name;if(j){const E=this.namedChunkGroups.get(j);if(E instanceof Ge){if(E!==undefined){if(R){E.addOrigin(R,N,$)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${j}', because there is already an chunk group with this name`)}}const q=this.addChunk(j);if(E.filename){q.filenameTemplate=E.filename}const G=new Ge(E,false);G.setRuntimeChunk(q);G.setEntrypointChunk(q);if(j){this.namedChunkGroups.set(j,G)}this.chunkGroups.push(G);this.asyncEntrypoints.push(G);Ve(G,q);if(R){G.addOrigin(R,N,$)}return G}addChunk(E){if(E){const R=this.namedChunks.get(E);if(R!==undefined){return R}}const R=new Me(E,this._backCompat);this.chunks.add(R);if(this._backCompat)Te.setChunkGraphForChunk(R,this.chunkGraph);if(E){this.namedChunks.set(E,R)}return R}assignDepth(E){const R=this.moduleGraph;const N=new Set([E]);let $;R.setDepth(E,0);const processModule=E=>{if(!R.setDepthIfLower(E,$))return;N.add(E)};for(E of N){N.delete(E);$=R.getDepth(E)+1;for(const N of R.getOutgoingConnections(E)){const E=N.module;if(E){processModule(E)}}}}assignDepths(E){const R=this.moduleGraph;const N=new Set(E);N.add(1);let $=0;let j=0;for(const E of N){j++;if(typeof E==="number"){$=E;if(N.size===j)return;N.add($+1)}else{R.setDepth(E,$);for(const{module:$}of R.getOutgoingConnections(E)){if($){N.add($)}}}}}getDependencyReferencedExports(E,R){const N=E.getReferencedExports(this.moduleGraph,R);return this.hooks.dependencyReferencedExports.call(N,E,R)}removeReasonsOfDependencyBlock(E,R){if(R.blocks){for(const N of R.blocks){this.removeReasonsOfDependencyBlock(E,N)}}if(R.dependencies){for(const E of R.dependencies){const R=this.moduleGraph.getModule(E);if(R){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(R)){this.patchChunksAfterReasonRemoval(R,E)}}}}}}patchChunksAfterReasonRemoval(E,R){if(!E.hasReasons(this.moduleGraph,R.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(R,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,R)){this.chunkGraph.disconnectChunkAndModule(R,E);this.removeChunkFromDependencies(E,R)}}}removeChunkFromDependencies(E,R){const iteratorDependency=E=>{const N=this.moduleGraph.getModule(E);if(!N){return}this.patchChunksAfterReasonRemoval(N,R)};const N=E.blocks;for(let R=0;R{const N=R.options.runtime||R.name;const $=R.getRuntimeChunk();E.setRuntimeId(N,$.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(Ht);this.warnings.sort(Ht);this.children.sort(zt)}summarizeDependencies(){for(let E=0;E0){this.logger.time("hashing: hash child compilations");for(const E of this.children){G.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ie=[];const ae=[];for(const E of this.chunks){if(E.hasRuntime()){ie.push(E)}else{ae.push(E)}}ie.sort(jt);ae.sort(jt);const le=new Map;for(const E of ie){le.set(E,{chunk:E,referencedBy:[],remaining:0})}let _e=0;for(const E of le.values()){for(const R of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const N=le.get(R);N.referencedBy.push(E);E.remaining++;_e++}}const Ee=[];for(const E of le.values()){if(E.remaining===0){Ee.push(E.chunk)}}if(_e>0){const R=[];for(const N of Ee){const $=E.getNumberOfChunkFullHashModules(N)!==0;const j=le.get(N);for(const N of j.referencedBy){if($){E.upgradeDependentToFullHashModules(N.chunk)}_e--;if(--N.remaining===0){R.push(N.chunk)}}if(R.length>0){R.sort(jt);for(const E of R)Ee.push(E);R.length=0}}}if(_e>0){let E=[];for(const R of le.values()){if(R.remaining!==0){E.push(R)}}E.sort(At((E=>E.chunk),jt));const R=new pt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);R.chunk=E[0].chunk;this.warnings.push(R);for(const R of E)Ee.push(R.chunk)}this.logger.timeEnd("hashing: sort chunks");const we=new Set;const Ie=[];const Me=new Map;const processChunk=ie=>{this.logger.time("hashing: hash runtime modules");const ae=ie.runtime;for(const N of E.getChunkModulesIterable(ie)){if(!E.hasModuleHashes(N,ae)){const G=this._createModuleHash(N,E,ae,$,R,j,q);let ie=Me.get(G);if(ie){const E=ie.get(N);if(E){E.runtimes.push(ae);continue}}else{ie=new Map;Me.set(G,ie)}const le={module:N,hash:G,runtime:ae,runtimes:[ae]};ie.set(N,le);Ie.push(le)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const le=Mt($);try{if(N.hashSalt){le.update(N.hashSalt)}ie.updateHash(le,E);this.hooks.chunkHash.call(ie,le,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const R=le.digest(j);G.update(R);ie.hash=R;ie.renderedHash=ie.hash.substr(0,q);const $=E.getChunkFullHashModulesIterable(ie);if($){we.add(ie)}else{this.hooks.contentHash.call(ie)}}catch(E){this.errors.push(new Be(ie,"",E))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const E of Ee)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(G);this.fullHash=G.digest(j);this.hash=this.fullHash.substr(0,q);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const N of we){for(const G of E.getChunkFullHashModulesIterable(N)){const ie=Mt($);G.updateHash(ie,{chunkGraph:E,runtime:N.runtime,runtimeTemplate:R});const ae=ie.digest(j);const le=E.getModuleHash(G,N.runtime);E.setModuleHashes(G,N.runtime,ae,ae.substr(0,q));Me.get(le).get(G).hash=ae}const G=Mt($);G.update(N.hash);G.update(this.hash);const ie=G.digest(j);N.hash=ie;N.renderedHash=N.hash.substr(0,q);this.hooks.contentHash.call(N)}this.logger.timeEnd("hashing: process full hash modules");return Ie}emitAsset(E,R,N={}){if(this.assets[E]){if(!Nt(this.assets[E],R)){this.errors.push(new pt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=R;this._setAssetInfo(E,N);return}const $=this.assetsInfo.get(E);const j=Object.assign({},$,N);this._setAssetInfo(E,j,$);return}this.assets[E]=R;this._setAssetInfo(E,N,undefined)}_setAssetInfo(E,R,N=this.assetsInfo.get(E)){if(R===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,R)}const $=N&&N.related;const j=R&&R.related;if($){for(const R of Object.keys($)){const remove=N=>{const $=this._assetsRelatedIn.get(N);if($===undefined)return;const j=$.get(R);if(j===undefined)return;j.delete(E);if(j.size!==0)return;$.delete(R);if($.size===0)this._assetsRelatedIn.delete(N)};const N=$[R];if(Array.isArray(N)){N.forEach(remove)}else if(N){remove(N)}}}if(j){for(const R of Object.keys(j)){const add=N=>{let $=this._assetsRelatedIn.get(N);if($===undefined){this._assetsRelatedIn.set(N,$=new Map)}let j=$.get(R);if(j===undefined){$.set(R,j=new Set)}j.add(E)};const N=j[R];if(Array.isArray(N)){N.forEach(add)}else if(N){add(N)}}}}updateAsset(E,R,N=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof R==="function"){this.assets[E]=R(this.assets[E])}else{this.assets[E]=R}if(N!==undefined){const R=this.assetsInfo.get(E)||Bt;if(typeof N==="function"){this._setAssetInfo(E,N(R),R)}else{this._setAssetInfo(E,Et(R,N),R)}}}renameAsset(E,R){const N=this.assets[E];if(!N){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[R]){if(!Nt(this.assets[E],N)){this.errors.push(new pt(`Conflict: Called Compilation.renameAsset for already existing filename ${R} with different content`))}}const $=this.assetsInfo.get(E);const j=this._assetsRelatedIn.get(E);if(j){for(const[N,$]of j){for(const j of $){const $=this.assetsInfo.get(j);if(!$)continue;const q=$.related;if(!q)continue;const G=q[N];let ie;if(Array.isArray(G)){ie=G.map((N=>N===E?R:N))}else if(G===E){ie=R}else continue;this.assetsInfo.set(j,{...$,related:{...q,[N]:ie}})}}}this._setAssetInfo(E,undefined,$);this._setAssetInfo(R,$);delete this.assets[E];this.assets[R]=N;for(const N of this.chunks){{const $=N.files.size;N.files.delete(E);if($!==N.files.size){N.files.add(R)}}{const $=N.auxiliaryFiles.size;N.auxiliaryFiles.delete(E);if($!==N.auxiliaryFiles.size){N.auxiliaryFiles.add(R)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const R=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,R);const N=R&&R.related;if(N){for(const E of Object.keys(N)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const R=N[E];if(Array.isArray(R)){R.forEach(checkUsedAndDelete)}else if(R){checkUsedAndDelete(R)}}}for(const R of this.chunks){R.files.delete(E);R.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const R of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,R)){E.push({name:R,source:this.assets[R],info:this.assetsInfo.get(R)||Bt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Bt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const R of this.modules){if(R.buildInfo.assets){const N=R.buildInfo.assetsInfo;for(const $ of Object.keys(R.buildInfo.assets)){const j=this.getPath($,{chunkGraph:this.chunkGraph,module:R});for(const N of E.getModuleChunksIterable(R)){N.auxiliaryFiles.add(j)}this.emitAsset(j,R.buildInfo.assets[$],N?N.get($):undefined);this.hooks.moduleAsset.call(R,j)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const R=this.outputOptions;const N=new WeakMap;const j=new Map;$.forEachLimit(this.chunks,15,((E,q)=>{let G;try{G=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:R,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(R){this.errors.push(new Be(E,"",R));return q()}$.forEach(G,((R,$)=>{const q=R.identifier;const G=R.hash;const ie=this._assetsCache.getItemCache(q,G);ie.get(((q,ae)=>{let le;let _e;let Ee;let Ie=true;const errorAndCallback=R=>{const N=_e||(typeof _e==="string"?_e:typeof le==="string"?le:"");this.errors.push(new Be(E,N,R));Ie=false;return $()};try{if("filename"in R){_e=R.filename;Ee=R.info}else{le=R.filenameTemplate;const E=this.getPathWithInfo(le,R.pathOptions);_e=E.path;Ee=R.info?{...E.info,...R.info}:E.info}if(q){return errorAndCallback(q)}let Me=ae;const Te=j.get(_e);if(Te!==undefined){if(Te.hash!==G){Ie=false;return $(new pt(`Conflict: Multiple chunks emit assets to the same filename ${_e}`+` (chunks ${Te.chunk.id} and ${E.id})`))}else{Me=Te.source}}else if(!Me){Me=R.render();if(!(Me instanceof we)){const E=N.get(Me);if(E){Me=E}else{const E=new we(Me);N.set(Me,E);Me=E}}}this.emitAsset(_e,Me,Ee);if(R.auxiliary){E.auxiliaryFiles.add(_e)}else{E.files.add(_e)}this.hooks.chunkAsset.call(E,_e);j.set(_e,{hash:G,source:Me,chunk:E});if(Me!==ae){ie.store(Me,(E=>{if(E)return errorAndCallback(E);Ie=false;return $()}))}else{Ie=false;$()}}catch(q){if(!Ie)throw q;errorAndCallback(q)}}))}),q)}),E)}getPath(E,R={}){if(!R.hash){R={hash:this.hash,...R}}return this.getAssetPath(E,R)}getPathWithInfo(E,R={}){if(!R.hash){R={hash:this.hash,...R}}return this.getAssetPathWithInfo(E,R)}getAssetPath(E,R){return this.hooks.assetPath.call(typeof E==="function"?E(R):E,R,undefined)}getAssetPathWithInfo(E,R){const N={};const $=this.hooks.assetPath.call(typeof E==="function"?E(R,N):E,R,N);return{path:$,info:N}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,R,N){const $=this.childrenCounters[E]||0;this.childrenCounters[E]=$+1;return this.compiler.createChildCompiler(this,E,$,R,N)}executeModule(E,R,N){const j=new Set([E]);Rt(j,10,((E,R,N)=>{this.buildQueue.waitFor(E,($=>{if($)return N($);this.processDependenciesQueue.waitFor(E,($=>{if($)return N($);for(const{module:N}of this.moduleGraph.getOutgoingConnections(E)){const E=j.size;j.add(N);if(j.size!==E)R(N)}N()}))}))}),(q=>{if(q)return N(q);const G=new Te(this.moduleGraph,this.outputOptions.hashFunction);const ie="build time";const{hashFunction:ae,hashDigest:le,hashDigestLength:_e}=this.outputOptions;const Ee=this.runtimeTemplate;const we=new Me("build time chunk",this._backCompat);we.id=we.name;we.ids=[we.id];we.runtime=ie;const Ie=new Ge({runtime:ie,chunkLoading:false,...R.entryOptions});G.connectChunkAndEntryModule(we,E,Ie);Ve(Ie,we);Ie.setRuntimeChunk(we);Ie.setEntrypointChunk(we);const Ne=new Set([we]);for(const E of j){const R=E.identifier();G.setModuleId(E,R);G.connectChunkAndModule(we,E)}for(const E of j){this._createModuleHash(E,G,ie,ae,Ee,le,_e)}const Be=new ze(this.outputOptions.hashFunction);const Le=[];const codeGen=(E,R)=>{this._codeGenerationModule(E,ie,[ie],G.getModuleHash(E,ie),this.dependencyTemplates,G,this.moduleGraph,Ee,Le,Be,((E,N)=>{R(E)}))};const reportErrors=()=>{if(Le.length>0){Le.sort(At((E=>E.module),It));for(const E of Le){this.errors.push(E)}Le.length=0}};$.eachLimit(j,10,codeGen,(R=>{if(R)return N(R);reportErrors();const q=this.chunkGraph;this.chunkGraph=G;this.processRuntimeRequirements({chunkGraph:G,modules:j,chunks:Ne,codeGenerationResults:Be,chunkGraphEntries:Ne});this.chunkGraph=q;const Ie=G.getChunkRuntimeModulesIterable(we);for(const E of Ie){j.add(E);this._createModuleHash(E,G,ie,ae,Ee,le,_e)}$.eachLimit(Ie,10,codeGen,(R=>{if(R)return N(R);reportErrors();const q=new Map;const ae=new Map;const le=new _t;const _e=new _t;const Ee=new _t;const Ie=new _t;const Me=new Map;let Te=true;const Ne={assets:Me,__webpack_require__:undefined,chunk:we,chunkGraph:G};$.eachLimit(j,10,((E,R)=>{const N=Be.get(E,ie);const $={module:E,codeGenerationResult:N,preparedInfo:undefined,moduleObject:undefined};q.set(E,$);ae.set(E.identifier(),$);E.addCacheDependencies(le,_e,Ee,Ie);if(E.buildInfo.cacheable===false){Te=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:R,assetsInfo:N}=E.buildInfo;for(const E of Object.keys(R)){Me.set(E,{source:R[E],info:N?N.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync($,Ne,R)}),(R=>{if(R)return N(R);let $;try{const{strictModuleErrorHandling:R,strictModuleExceptionHandling:N}=this.outputOptions;const __nested_webpack_require_150631__=E=>{const R=ie[E];if(R!==undefined){if(R.error)throw R.error;return R.exports}const N=ae.get(E);return __webpack_require_module__(N,E)};const j=__nested_webpack_require_150631__[lt.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ie=__nested_webpack_require_150631__[lt.moduleCache.replace("__webpack_require__.","")]={};Ne.__webpack_require__=__nested_webpack_require_150631__;const __webpack_require_module__=(E,$)=>{var q={id:$,module:{id:$,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_150631__};j.forEach((E=>E(q)));const G=E.module;this.buildTimeExecutedModules.add(G);const ae=q.module;E.moduleObject=ae;try{if($)ie[$]=ae;Je((()=>this.hooks.executeModule.call(E,Ne)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(E){if(N){if($)delete ie[$]}else if(R){ae.error=E}if(!E.module)E.module=G;throw E}};for(const E of G.getChunkRuntimeModulesInOrder(we)){__webpack_require_module__(q.get(E))}$=__nested_webpack_require_150631__(E.identifier())}catch(R){const $=new pt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${R.message}`);$.stack=R.stack;$.module=R.module;return N($)}N(null,{exports:$,assets:Me,cacheable:Te,fileDependencies:le,contextDependencies:_e,missingDependencies:Ee,buildDependencies:Ie})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const R=new Set;for(const N of this.modules){if(N.type==="runtime")continue;const $=E.getModuleId(N);if($===null)continue;if(R.has($)){throw new Error(`checkConstraints: duplicate module id ${$}`)}R.add($)}for(const R of this.chunks){for(const N of E.getChunkModulesIterable(R)){if(!this.modules.has(N)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${R.debugId} ${N.debugId}`)}}for(const N of E.getChunkEntryModulesIterable(R)){if(!this.modules.has(N)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${R.debugId} ${N.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}Compilation.prototype.factorizeModule=function(E,R){this.factorizeQueue.add(E,R)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:Ee.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:Ee.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,R,N)=>{"use strict";const $=N(78688);const j=N(62355);const{SyncHook:q,SyncBailHook:G,AsyncParallelHook:ie,AsyncSeriesHook:ae}=N(92960);const{SizeOnlySource:le}=N(48135);const _e=N(86443);const Ee=N(54725);const we=N(6503);const Ie=N(45137);const Me=N(3080);const Te=N(27310);const Ne=N(89869);const Be=N(75412);const Le=N(43229);const je=N(80910);const ze=N(1819);const Ue=N(10140);const qe=N(84693);const Ge=N(81627);const{Logger:He}=N(78539);const{join:We,dirname:Ve,mkdirp:Ke}=N(95396);const{makePathsRelative:Qe}=N(49197);const{isSourceEqual:Je}=N(13559);const isSorted=E=>{for(let R=1;RE[R])return false}return true};const sortObject=(E,R)=>{const N={};for(const $ of R.sort()){N[$]=E[$]}return N};const includesHash=(E,R)=>{if(!R)return false;if(Array.isArray(R)){return R.some((R=>E.includes(R)))}else{return E.includes(R)}};class Compiler{constructor(E,R={}){this.hooks=Object.freeze({initialize:new q([]),shouldEmit:new G(["compilation"]),done:new ae(["stats"]),afterDone:new q(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new q(["compilation","params"]),compilation:new q(["compilation","params"]),normalModuleFactory:new q(["normalModuleFactory"]),contextModuleFactory:new q(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new q(["params"]),make:new ie(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),watchRun:new ae(["compiler"]),failed:new q(["error"]),invalid:new q(["filename","changeTime"]),watchClose:new q([]),shutdown:new ae([]),infrastructureLog:new G(["origin","type","args"]),environment:new q([]),afterEnvironment:new q([]),afterPlugins:new q(["compiler"]),afterResolvers:new q(["compiler"]),entryOption:new G(["context","entry"])});this.webpack=_e;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new ze;this.infrastructureLogger=undefined;this.options=R;this.context=E;this.requestShortener=new je(E,this.root);this.cache=new Ee;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new we(this.cache,`${this.compilerPath}${E}`,this.options.output.hashFunction)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new He(((R,N)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,R,N)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,R,N)}}}),(R=>{if(typeof E==="function"){if(typeof R==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}}else{if(typeof R==="function"){return this.getInfrastructureLogger((()=>{if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getInfrastructureLogger(`${E}/${R}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Ie.clearChunkGraphForModule(E);Be.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Ie.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,R){if(this.running){return R(new Te)}this.running=true;this.watchMode=true;this.watching=new qe(this,E,R);return this.watching}run(E){if(this.running){return E(new Te)}let R;const finalCallback=(N,$)=>{if(R)R.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(R)R.timeEnd("beginIdle");this.running=false;if(N){this.hooks.failed.call(N)}if(E!==undefined)E(N,$);this.hooks.afterDone.call($)};const N=Date.now();this.running=true;const onCompiled=(E,$)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call($)===false){$.startTime=N;$.endTime=Date.now();const E=new Ue($);this.hooks.done.callAsync(E,(R=>{if(R)return finalCallback(R);return finalCallback(null,E)}));return}process.nextTick((()=>{R=$.getLogger("webpack.Compiler");R.time("emitAssets");this.emitAssets($,(E=>{R.timeEnd("emitAssets");if(E)return finalCallback(E);if($.hooks.needAdditionalPass.call()){$.needAdditionalPass=true;$.startTime=N;$.endTime=Date.now();R.time("done hook");const E=new Ue($);this.hooks.done.callAsync(E,(E=>{R.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}R.time("emitRecords");this.emitRecords((E=>{R.timeEnd("emitRecords");if(E)return finalCallback(E);$.startTime=N;$.endTime=Date.now();R.time("done hook");const j=new Ue($);this.hooks.done.callAsync(j,(E=>{R.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies($.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,j)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const R=Date.now();this.compile(((N,$)=>{if(N)return E(N);this.parentCompilation.children.push($);for(const{name:E,source:R,info:N}of $.getAssets()){this.parentCompilation.emitAsset(E,R,N)}const j=[];for(const E of $.entrypoints.values()){j.push(...E.chunks)}$.startTime=R;$.endTime=Date.now();return E(null,j,$)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,R){let N;const emitFiles=$=>{if($)return R($);const q=E.getAssets();E.assets={...E.assets};const G=new Map;const ie=new Set;j.forEachLimit(q,15,(({name:R,source:$,info:j},q)=>{let ae=R;let _e=j.immutable;const Ee=ae.indexOf("?");if(Ee>=0){ae=ae.substr(0,Ee);_e=_e&&(includesHash(ae,j.contenthash)||includesHash(ae,j.chunkhash)||includesHash(ae,j.modulehash)||includesHash(ae,j.fullhash))}const writeOut=j=>{if(j)return q(j);const Ee=We(this.outputFileSystem,N,ae);ie.add(Ee);const we=this._assetEmittingWrittenFiles.get(Ee);let Ie=this._assetEmittingSourceCache.get($);if(Ie===undefined){Ie={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set($,Ie)}let Me;const checkSimilarFile=()=>{const E=Ee.toLowerCase();Me=G.get(E);if(Me!==undefined){const{path:E,source:N}=Me;if(Je(N,$)){if(Me.size!==undefined){updateWithReplacementSource(Me.size)}else{if(!Me.waiting)Me.waiting=[];Me.waiting.push({file:R,cacheEntry:Ie})}alreadyWritten()}else{const N=new Ge(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${Ee}\n${E}`);N.file=R;q(N)}return true}else{G.set(E,Me={path:Ee,source:$,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof $.buffer==="function"){return $.buffer()}else{const E=$.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(we===undefined){const E=1;this._assetEmittingWrittenFiles.set(Ee,E);Ie.writtenTo.set(Ee,E)}else{Ie.writtenTo.set(Ee,we)}q()};const doWrite=j=>{this.outputFileSystem.writeFile(Ee,j,(G=>{if(G)return q(G);E.emittedAssets.add(R);const ie=we===undefined?1:we+1;Ie.writtenTo.set(Ee,ie);this._assetEmittingWrittenFiles.set(Ee,ie);this.hooks.assetEmitted.callAsync(R,{content:j,source:$,outputPath:N,compilation:E,targetPath:Ee},q)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(R,Ie,E);Me.size=E;if(Me.waiting!==undefined){for(const{file:R,cacheEntry:N}of Me.waiting){updateFileWithReplacementSource(R,N,E)}}};const updateFileWithReplacementSource=(R,N,$)=>{if(!N.sizeOnlySource){N.sizeOnlySource=new le($)}E.updateAsset(R,N.sizeOnlySource,{size:$})};const processExistingFile=N=>{if(_e){updateWithReplacementSource(N.size);return alreadyWritten()}const $=getContent();updateWithReplacementSource($.length);if($.length===N.size){E.comparedForEmitAssets.add(R);return this.outputFileSystem.readFile(Ee,((E,R)=>{if(E||!$.equals(R)){return doWrite($)}else{return alreadyWritten()}}))}return doWrite($)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(we!==undefined){const N=Ie.writtenTo.get(Ee);if(N===we){if(this._assetEmittingPreviousFiles.has(Ee)){E.updateAsset(R,Ie.sizeOnlySource,{size:Ie.sizeOnlySource.size()});return q()}else{_e=true}}else if(!_e){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(Ee,((E,R)=>{const N=!E&&R.isFile();if(N){processExistingFile(R)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const E=this.outputFileSystem;const R=Ve(E,We(E,N,ae));Ke(E,R,writeOut)}else{writeOut()}}),(N=>{G.clear();if(N){this._assetEmittingPreviousFiles.clear();return R(N)}this._assetEmittingPreviousFiles=ie;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return R(E);return R()}))}))};this.hooks.emit.callAsync(E,($=>{if($)return R($);N=E.getPath(this.outputPath,{});Ke(this.outputFileSystem,N,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,R)=>{if(typeof R==="object"&&R!==null&&!Array.isArray(R)){const E=Object.keys(R);if(!isSorted(E)){return sortObject(R,E)}}return R}),2),E)};const R=Ve(this.outputFileSystem,this.recordsOutputPath);if(!R){return writeFile()}Ke(this.outputFileSystem,R,(R=>{if(R)return E(R);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(R=>{if(R)return E();this.inputFileSystem.readFile(this.recordsInputPath,((R,N)=>{if(R)return E(R);try{this.records=$(N.toString("utf-8"))}catch(R){R.message="Cannot parse records: "+R.message;return E(R)}return E()}))}))}createChildCompiler(E,R,N,$,j){const q=new Compiler(this.context,{...this.options,output:{...this.options.output,...$}});q.name=R;q.outputPath=this.outputPath;q.inputFileSystem=this.inputFileSystem;q.outputFileSystem=null;q.resolverFactory=this.resolverFactory;q.modifiedFiles=this.modifiedFiles;q.removedFiles=this.removedFiles;q.fileTimestamps=this.fileTimestamps;q.contextTimestamps=this.contextTimestamps;q.fsStartTime=this.fsStartTime;q.cache=this.cache;q.compilerPath=`${this.compilerPath}${R}|${N}|`;q._backCompat=this._backCompat;const G=Qe(this.context,R,this.root);if(!this.records[G]){this.records[G]=[]}if(this.records[G][N]){q.records=this.records[G][N]}else{this.records[G].push(q.records={})}q.parentCompilation=E;q.root=this.root;if(Array.isArray(j)){for(const E of j){E.apply(q)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(q.hooks[E]){q.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(q,R,N);return q}isChild(){return!!this.parentCompilation}createCompilation(E){this._cleanupLastCompilation();return this._lastCompilation=new Me(this,E)}newCompilation(E){const R=this.createCompilation(E);R.name=this.name;R.records=this.records;this.hooks.thisCompilation.call(R,E);this.hooks.compilation.call(R,E);return R}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Le({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Ne(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const R=this.newCompilationParams();this.hooks.beforeCompile.callAsync(R,(N=>{if(N)return E(N);this.hooks.compile.call(R);const $=this.newCompilation(R);const j=$.getLogger("webpack.Compiler");j.time("make hook");this.hooks.make.callAsync($,(R=>{j.timeEnd("make hook");if(R)return E(R);j.time("finish make hook");this.hooks.finishMake.callAsync($,(R=>{j.timeEnd("finish make hook");if(R)return E(R);process.nextTick((()=>{j.time("finish compilation");$.finish((R=>{j.timeEnd("finish compilation");if(R)return E(R);j.time("seal compilation");$.seal((R=>{j.timeEnd("seal compilation");if(R)return E(R);j.time("afterCompile hook");this.hooks.afterCompile.callAsync($,(R=>{j.timeEnd("afterCompile hook");if(R)return E(R);return E(null,$)}))}))}))}))}))}))}))}close(E){if(this.watching){this.watching.close((R=>{this.close(E)}));return}this.hooks.shutdown.callAsync((R=>{if(R)return E(R);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const R=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const N="__WEBPACK_DEFAULT_EXPORT__";const $="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,R){this._currentModule=R;if(Array.isArray(E)){const R=new Map;for(const N of E){R.set(N.module,N)}E=R}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,R){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,R)}}registerRawExport(E,R){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,R)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:R=undefined,call:N=false,directImport:$=false,asiSafe:j=false}){const q=this._modulesMap.get(E);const G=N?"_call":"";const ie=$?"_directImport":"";const ae=j?"_asiSafe1":j===false?"_asiSafe0":"";const le=R?Buffer.from(JSON.stringify(R),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${q.index}_${le}${G}${ie}${ae}__._`}static isModuleReference(E){return R.test(E)}static matchModuleReference(E){const N=R.exec(E);if(!N)return null;const $=+N[1];const j=N[5];return{index:$,ids:N[2]==="ns"?[]:JSON.parse(Buffer.from(N[2],"hex").toString("utf-8")),call:!!N[3],directImport:!!N[4],asiSafe:j?j==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=N;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=$;E.exports=ConcatenationScope},27310:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class ConcurrentCompilationError extends ${constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j}=N(48135);const q=N(63272);const G=N(58159);const{mergeRuntime:ie}=N(37416);const wrapInCondition=(E,R)=>{if(typeof R==="string"){return G.asString([`if (${E}) {`,G.indent(R),"}",""])}else{return new $(`if (${E}) {\n`,new j("\t",R),"}\n")}};class ConditionalInitFragment extends q{constructor(E,R,N,$,j=true,q){super(E,R,N,$,q);this.runtimeCondition=j}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const R=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(R==="true")return this.content;return wrapInCondition(R,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const R=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(R==="true")return this.endContent;return wrapInCondition(R,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const R=ie(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,R,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,R,N)=>{"use strict";const $=N(59455);const j=N(66298);const{evaluateToString:q}=N(48472);const{parseResource:G}=N(49197);const collectDeclaration=(E,R)=>{const N=[R];while(N.length>0){const R=N.pop();switch(R.type){case"Identifier":E.add(R.name);break;case"ArrayPattern":for(const E of R.elements){if(E){N.push(E)}}break;case"AssignmentPattern":N.push(R.left);break;case"ObjectPattern":for(const E of R.properties){N.push(E.value)}break;case"RestElement":N.push(R.argument);break}}};const getHoistedDeclarations=(E,R)=>{const N=new Set;const $=[E];while($.length>0){const E=$.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const R of E.body){$.push(R)}break;case"IfStatement":$.push(E.consequent);$.push(E.alternate);break;case"ForStatement":$.push(E.init);$.push(E.body);break;case"ForInStatement":case"ForOfStatement":$.push(E.left);$.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":$.push(E.body);break;case"SwitchStatement":for(const R of E.cases){for(const E of R.consequent){$.push(E)}}break;case"TryStatement":$.push(E.block);if(E.handler){$.push(E.handler.body)}$.push(E.finalizer);break;case"FunctionDeclaration":if(R){collectDeclaration(N,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const R of E.declarations){collectDeclaration(N,R.id)}}break}}return Array.from(N)};class ConstPlugin{apply(E){const R=G.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;const N=E.evaluateExpression(R.test);const $=N.asBool();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()){const q=new j(`${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.test)}const q=$?R.alternate:R.consequent;if(q){let R;if(E.scope.isStrict){R=getHoistedDeclarations(q,false)}else{R=getHoistedDeclarations(q,true)}let N;if(R.length>0){N=`{ var ${R.join(", ")}; }`}else{N="{}"}const $=new j(N,q.range);$.loc=q.loc;E.state.module.addPresentationalDependency($)}return $}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;const N=E.evaluateExpression(R.test);const $=N.asBool();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()){const q=new j(` ${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.test)}const q=$?R.alternate:R.consequent;const G=new j("0",q.range);G.loc=q.loc;E.state.module.addPresentationalDependency(G);return $}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(R.operator==="&&"||R.operator==="||"){const N=E.evaluateExpression(R.left);const $=N.asBool();if(typeof $==="boolean"){const q=R.operator==="&&"&&$||R.operator==="||"&&!$;if(!N.couldHaveSideEffects()&&(N.isBoolean()||q)){const q=new j(` ${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.left)}if(!q){const N=new j("0",R.right.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N)}return q}}else if(R.operator==="??"){const N=E.evaluateExpression(R.left);const $=N&&N.asNullish();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()&&$){const $=new j(" null",N.range);$.loc=R.loc;E.state.module.addPresentationalDependency($)}else{const N=new j("0",R.right.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);E.walkExpression(R.left)}return $}}}));E.hooks.optionalChaining.tap("ConstPlugin",(R=>{const N=[];let $=R.expression;while($.type==="MemberExpression"||$.type==="CallExpression"){if($.type==="MemberExpression"){if($.optional){N.push($.object)}$=$.object}else{if($.optional){N.push($.callee)}$=$.callee}}while(N.length){const $=N.pop();const q=E.evaluateExpression($);if(q&&q.asNullish()){const N=new j(" undefined",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(R(E.state.module.resource).query)(N)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const j=new $(JSON.stringify(R(E.state.module.resource).query),N.range,"__resourceQuery");j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(R(E.state.module.resource).fragment)(N)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const j=new $(JSON.stringify(R(E.state.module.resource).fragment),N.range,"__resourceFragment");j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}))};N.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(98221);const{makeWebpackError:G}=N(3728);const ie=N(53453);const ae=N(76150);const le=N(58159);const _e=N(81627);const{compareLocations:Ee,concatComparators:we,compareSelect:Ie,keepOriginalOrder:Me,compareModulesById:Te}=N(68673);const{contextify:Ne,parseResource:Be}=N(49197);const Le=N(56202);const je={timestamp:true};const ze=new Set(["javascript"]);class ContextModule extends ie{constructor(E,R){const N=Be(R?R.resource:"");const $=N.path;const j=R&&R.resourceQuery||N.query;const q=R&&R.resourceFragment||N.fragment;super("javascript/dynamic",$);this.resolveDependencies=E;this.options={...R,resource:$,resourceQuery:j,resourceFragment:q};if(R&&R.resolveOptions!==undefined){this.resolveOptions=R.resolveOptions}if(R&&typeof R.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return ze}updateCacheModule(E){const R=E;this.resolveDependencies=R.resolveDependencies;this.options=R.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let R=E.shorten(this.context)+"/";if(this.options.resourceQuery){R+=` ${this.options.resourceQuery}`}if(this.options.mode){R+=` ${this.options.mode}`}if(!this.options.recursive){R+=" nonrecursive"}if(this.options.addon){R+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){R+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){R+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){R+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){R+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){R+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const N of Object.keys(E)){R+=` ${N}: ${E[N]}`}}if(this.options.namespaceObject==="strict"){R+=" strict namespace object"}else if(this.options.namespaceObject){R+=" namespace object"}return R}libIdent(E){let R=Ne(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){R+=` ${this.options.mode}`}if(this.options.recursive){R+=" recursive"}if(this.options.addon){R+=` ${Ne(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){R+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){R+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){R+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){R+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return R}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},R){if(this._forceBuild)return R(null,true);if(!this.buildInfo.snapshot)return R(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,N)=>{R(E,!N)}))}build(E,R,N,$,j){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ie=Date.now();this.resolveDependencies($,this.options,((E,N)=>{if(E){return j(G(E,"ContextModule.resolveDependencies"))}if(!N){j();return}for(const E of N){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}N.sort(we(Ie((E=>E.loc),Ee),Me(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=N}else if(this.options.mode==="lazy-once"){if(N.length>0){const E=new q({...this.options.groupOptions,name:this.options.chunkName});for(const R of N){E.addDependency(R)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of N){E.weak=true}this.dependencies=N}else if(this.options.mode==="lazy"){let E=0;for(const R of N){let N=this.options.chunkName;if(N){if(!/\[(index|request)\]/.test(N)){N+="[index]"}N=N.replace(/\[index\]/g,`${E++}`);N=N.replace(/\[request\]/g,le.toPath(R.userRequest))}const $=new q({...this.options.groupOptions,name:N},R.loc,R.userRequest);$.addDependency(R);this.addBlock($)}}else{j(new _e(`Unsupported mode "${this.options.mode}" in context`));return}R.fileSystemInfo.createSnapshot(ie,null,[this.context],null,je,((E,R)=>{if(E)return j(E);this.buildInfo.snapshot=R;j()}))}))}addCacheDependencies(E,R,N,$){R.add(this.context)}getUserRequestMap(E,R){const N=R.moduleGraph;const $=E.filter((E=>N.getModule(E))).sort(((E,R)=>{if(E.userRequest===R.userRequest){return 0}return E.userRequestN.getModule(E))).filter(Boolean).sort(j);const G=Object.create(null);for(const E of q){const j=E.getExportsType(N,this.options.namespaceObject==="strict");const q=R.getModuleId(E);switch(j){case"namespace":G[q]=9;$|=1;break;case"dynamic":G[q]=7;$|=2;break;case"default-only":G[q]=1;$|=4;break;case"default-with-named":G[q]=3;$|=8;break;default:throw new Error(`Unexpected exports type ${j}`)}}if($===1){return 9}if($===2){return 7}if($===4){return 1}if($===8){return 3}if($===0){return 9}return G}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,R){if(E===9){return"__webpack_require__(id)"}return`${ae.createFakeNamespaceObject}(id, ${E}${R?" | 16":""})`}getReturnModuleObjectSource(E,R,N="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,R)};`}return`return ${ae.createFakeNamespaceObject}(id, ${N}${R?" | 16":""})`}getSyncSource(E,R,N){const $=this.getUserRequestMap(E,N);const j=this.getFakeMap(E,N);const q=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(R)};`}getWeakSyncSource(E,R,N){const $=this.getUserRequestMap(E,N);const j=this.getFakeMap(E,N);const q=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=$.supportsArrowFunction();const q=this.getUserRequestMap(E,N);const G=this.getFakeMap(E,N);const ie=this.getReturnModuleObjectSource(G,true);return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${j?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ie}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=$.supportsArrowFunction();const q=this.getUserRequestMap(E,N);const G=this.getFakeMap(E,N);const ie=G!==9?`${j?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(G)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ie});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,R,N,{runtimeTemplate:$,chunkGraph:j}){const q=$.blockPromise({chunkGraph:j,block:E,message:"lazy-once context",runtimeRequirements:new Set});const G=$.supportsArrowFunction();const ie=this.getUserRequestMap(R,j);const le=this.getFakeMap(R,j);const _e=le!==9?`${G?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(le,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ie,null,"\t")};\n${this.getFakeMapInitStatement(le)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${_e});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${q}.then(${G?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=N.moduleGraph;const q=$.supportsArrowFunction();let G=false;let ie=true;const le=this.getFakeMap(E.map((E=>E.dependencies[0])),N);const _e=typeof le==="object";const Ee=E.map((E=>{const R=E.dependencies[0];return{dependency:R,module:j.getModule(R),block:E,userRequest:R.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of Ee){const R=N.getBlockChunkGroup(E.block);const $=R&&R.chunks||[];E.chunks=$;if($.length>0){ie=false}if($.length!==1){G=true}}const we=ie&&!_e;const Ie=Ee.sort(((E,R)=>{if(E.userRequest===R.userRequest)return 0;return E.userRequestE.id)))}}const Te=_e?2:1;const Ne=ie?"Promise.resolve()":G?`Promise.all(ids.slice(${Te}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Te}])`;const Be=this.getReturnModuleObjectSource(le,true,we?"invalid":"ids[1]");const Le=Ne==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${we?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Be}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Ne}.then(${q?"() =>":"function()"} {\n\t\t${Be}\n\t});\n}`;return`var map = ${JSON.stringify(Me,null,"\t")};\n${Le}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,R){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${R.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,R){const N=R.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${R.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:R,chunkGraph:N}){const $=N.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,$,{runtimeTemplate:R,chunkGraph:N})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,$,{chunkGraph:N,runtimeTemplate:R})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,$,{runtimeTemplate:R,chunkGraph:N})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,$,{chunkGraph:N,runtimeTemplate:R})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,$,N)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,$,N)}return this.getSourceForEmptyContext($,R)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new $(E,this.identifier())}return new j(E)}codeGeneration(E){const{chunkGraph:R}=E;const N=new Map;N.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const $=new Set;const j=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));$.add(ae.module);$.add(ae.hasOwnProperty);if(j.length>0){const E=this.options.mode;$.add(ae.require);if(E==="weak"){$.add(ae.moduleFactories)}else if(E==="async-weak"){$.add(ae.moduleFactories);$.add(ae.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){$.add(ae.ensureChunk)}if(this.getFakeMap(j,R)!==9){$.add(ae.createFakeNamespaceObject)}}return{sources:N,runtimeRequirements:$}}size(E){let R=160;for(const E of this.dependencies){const N=E;R+=5+N.userRequest.length}return R}serialize(E){const{write:R}=E;R(this._identifier);R(this._forceBuild);super.serialize(E)}deserialize(E){const{read:R}=E;this._identifier=R();this._forceBuild=R();super.deserialize(E)}}Le(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,R,N)=>{"use strict";const $=N(62355);const{AsyncSeriesWaterfallHook:j,SyncWaterfallHook:q}=N(92960);const G=N(58126);const ie=N(40674);const ae=N(90872);const le=N(83379);const{cachedSetProperty:_e}=N(90149);const{createFakeHook:Ee}=N(16595);const{join:we}=N(95396);const Ie={};E.exports=class ContextModuleFactory extends ie{constructor(E){super();const R=new j(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new j(["data"]),afterResolve:new j(["data"]),contextModuleFiles:new q(["files"]),alternatives:Ee({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,N)=>{R.tap(E,N)},tapAsync:(E,N)=>{R.tapAsync(E,((E,R,$)=>N(E,$)))},tapPromise:(E,N)=>{R.tapPromise(E,N)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:R});this.resolverFactory=E}create(E,R){const N=E.context;const j=E.dependencies;const q=E.resolveOptions;const ie=j[0];const ae=new le;const Ee=new le;const we=new le;this.hooks.beforeResolve.callAsync({context:N,dependencies:j,resolveOptions:q,fileDependencies:ae,missingDependencies:Ee,contextDependencies:we,...ie.options},((E,N)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}if(!N){return R(null,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}const q=N.context;const ie=N.request;const le=N.resolveOptions;let Me,Te,Ne="";const Be=ie.lastIndexOf("!");if(Be>=0){let E=ie.substr(0,Be+1);let R;for(R=0;R0?_e(le||Ie,"dependencyType",j[0].category):le);const je=this.resolverFactory.get("loader");$.parallel([E=>{Le.resolve({},q,Te,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we},((R,N)=>{if(R)return E(R);E(null,N)}))},E=>{$.map(Me,((E,R)=>{je.resolve({},q,E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we},((E,N)=>{if(E)return R(E);R(null,N)}))}),E)}],((E,$)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}this.hooks.afterResolve.callAsync({addon:Ne+$[1].join("!")+($[1].length>0?"!":""),resource:$[0],resolveDependencies:this.resolveDependencies.bind(this),...N},((E,N)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}if(!N){return R(null,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}return R(null,{module:new G(N.resolveDependencies,N),fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}))}))}))}resolveDependencies(E,R,N){const j=this;const{resource:q,resourceQuery:G,resourceFragment:ie,recursive:le,regExp:_e,include:Ee,exclude:Ie,referencedExports:Me,category:Te,typePrefix:Ne}=R;if(!_e||!q)return N(null,[]);const addDirectoryChecked=(R,N,$)=>{E.realpath(R,((E,j)=>{if(E)return $(E);if(N.has(j))return $(null,[]);let q;addDirectory(R,((E,R)=>{if(q===undefined){q=new Set(N);q.add(j)}addDirectoryChecked(E,q,R)}),$)}))};const addDirectory=(N,Be,Le)=>{E.readdir(N,((je,ze)=>{if(je)return Le(je);const Ue=j.hooks.contextModuleFiles.call(ze.map((E=>E.normalize("NFC"))));if(!Ue||Ue.length===0)return Le(null,[]);$.map(Ue.filter((E=>E.indexOf(".")!==0)),(($,j)=>{const Le=we(E,N,$);if(!Ie||!Le.match(Ie)){E.stat(Le,((E,N)=>{if(E){if(E.code==="ENOENT"){return j()}else{return j(E)}}if(N.isDirectory()){if(!le)return j();Be(Le,j)}else if(N.isFile()&&(!Ee||Le.match(Ee))){const E={context:q,request:"."+Le.substr(q.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],R,((E,R)=>{if(E)return j(E);R=R.filter((E=>_e.test(E.request))).map((E=>{const R=new ae(E.request+G+ie,E.request,Ne,Te,Me);R.optional=true;return R}));j(null,R)}))}else{j()}}))}else{j()}}),((E,R)=>{if(E)return Le(E);if(!R)return Le(null,[]);const N=[];for(const E of R){if(E)N.push(...E)}Le(null,N)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(q,new Set,N)}else{const addSubDirectory=(E,R)=>addDirectory(E,addSubDirectory,R);addDirectory(q,addSubDirectory,N)}}}},26552:(E,R,N)=>{"use strict";const $=N(90872);const{join:j}=N(95396);class ContextReplacementPlugin{constructor(E,R,N,$){this.resourceRegExp=E;if(typeof R==="function"){this.newContentCallback=R}else if(typeof R==="string"&&typeof N==="object"){this.newContentResource=R;this.newContentCreateContextMap=(E,R)=>{R(null,N)}}else if(typeof R==="string"&&typeof N==="function"){this.newContentResource=R;this.newContentCreateContextMap=N}else{if(typeof R!=="string"){$=N;N=R;R=undefined}if(typeof N!=="boolean"){$=N;N=undefined}this.newContentResource=R;this.newContentRecursive=N;this.newContentRegExp=$}}apply(E){const R=this.resourceRegExp;const N=this.newContentCallback;const $=this.newContentResource;const q=this.newContentRecursive;const G=this.newContentRegExp;const ie=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(R.test(E.request)){if($!==undefined){E.request=$}if(q!==undefined){E.recursive=q}if(G!==undefined){E.regExp=G}if(typeof N==="function"){N(E)}else{for(const R of E.dependencies){if(R.critical)R.critical=false}}}return E}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(R.test(ae.resource)){if($!==undefined){if($.startsWith("/")||$.length>1&&$[1]===":"){ae.resource=$}else{ae.resource=j(E.inputFileSystem,ae.resource,$)}}if(q!==undefined){ae.recursive=q}if(G!==undefined){ae.regExp=G}if(typeof ie==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(ie)}if(typeof N==="function"){const R=ae.resource;N(ae);if(ae.resource!==R&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=j(E.inputFileSystem,R,ae.resource)}}else{for(const E of ae.dependencies){if(E.critical)E.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(R,N,j)=>{E(R,((E,R)=>{if(E)return j(E);const q=Object.keys(R).map((E=>new $(R[E]+N.resourceQuery+N.resourceFragment,E,N.category,N.referencedExports)));j(null,q)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const q=N(66298);const G=N(87250);const{evaluateToString:ie,toConstantDependency:ae}=N(48472);const le=N(35891);class RuntimeValue{constructor(E,R){this.fn=E;if(Array.isArray(R)){R={fileDependencies:R}}this.options=R||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,R,N){const $=E.state.module.buildInfo;if(this.options===true){$.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){$.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){$.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){$.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){$.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:N,get version(){return R.get(_e+N)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,R,N,$,j,q)=>{let G;let ie=Array.isArray(E);if(ie){G=`[${E.map((E=>toCode(E,R,N,$,j,null))).join(",")}]`}else{G=`{${Object.keys(E).map(($=>{const q=E[$];return JSON.stringify($)+":"+toCode(q,R,N,$,j,null)})).join(",")}}`}switch(q){case null:return G;case true:return ie?G:`(${G})`;case false:return ie?`;${G}`:`;(${G})`;default:return`/*#__PURE__*/Object(${G})`}};const toCode=(E,R,N,$,j,q)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(R,N,$),R,N,$,j,q)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,R,N,$,j,q)}if(typeof E==="bigint"){return j.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const R=Object.keys(E).map((R=>({key:R,value:toCacheVersion(E[R])})));if(R.some((({value:E})=>E===undefined)))return undefined;return`{${R.map((({key:E,value:R})=>`${E}: ${R}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const _e="webpack/DefinePlugin ";const Ee="webpack/DefinePlugin_hash";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,R){return new RuntimeValue(E,R)}apply(E){const R=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);const{runtimeTemplate:we}=E;const Ie=le(E.outputOptions.hashFunction);Ie.update(E.valueCacheVersions.get(Ee)||"");const handler=N=>{const j=E.valueCacheVersions.get(Ee);N.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=N.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(Ee,j)}));const addValueDependency=R=>{const{buildInfo:$}=N.state.module;$.valueDependencies.set(_e+R,E.valueCacheVersions.get(_e+R))};const withValueDependency=(E,R)=>(...N)=>{addValueDependency(E);return R(...N)};const walkDefinitions=(E,R)=>{Object.keys(E).forEach((N=>{const $=E[N];if($&&typeof $==="object"&&!($ instanceof RuntimeValue)&&!($ instanceof RegExp)){walkDefinitions($,R+N+".");applyObjectDefine(R+N,$);return}applyDefineKey(R,N);applyDefine(R+N,$)}))};const applyDefineKey=(E,R)=>{const $=R.split(".");$.slice(1).forEach(((j,q)=>{const G=E+$.slice(0,q+1).join(".");N.hooks.canRename.for(G).tap("DefinePlugin",(()=>{addValueDependency(R);return true}))}))};const applyDefine=(R,j)=>{const q=R;const G=/^typeof\s+/.test(R);if(G)R=R.replace(/^typeof\s+/,"");let ie=false;let le=false;if(!G){N.hooks.canRename.for(R).tap("DefinePlugin",(()=>{addValueDependency(q);return true}));N.hooks.evaluateIdentifier.for(R).tap("DefinePlugin",($=>{if(ie)return;addValueDependency(q);ie=true;const G=N.evaluate(toCode(j,N,E.valueCacheVersions,R,we,null));ie=false;G.setRange($.range);return G}));N.hooks.expression.for(R).tap("DefinePlugin",(R=>{addValueDependency(q);const G=toCode(j,N,E.valueCacheVersions,q,we,!N.isAsiPosition(R.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(N,G,[$.require])(R)}else if(/__webpack_require__/.test(G)){return ae(N,G,[$.requireScope])(R)}else{return ae(N,G)(R)}}))}N.hooks.evaluateTypeof.for(R).tap("DefinePlugin",(R=>{if(le)return;le=true;addValueDependency(q);const $=toCode(j,N,E.valueCacheVersions,q,we,null);const ie=G?$:"typeof ("+$+")";const ae=N.evaluate(ie);le=false;ae.setRange(R.range);return ae}));N.hooks.typeof.for(R).tap("DefinePlugin",(R=>{addValueDependency(q);const $=toCode(j,N,E.valueCacheVersions,q,we,null);const ie=G?$:"typeof ("+$+")";const le=N.evaluate(ie);if(!le.isString())return;return ae(N,JSON.stringify(le.string)).bind(N)(R)}))};const applyObjectDefine=(R,j)=>{N.hooks.canRename.for(R).tap("DefinePlugin",(()=>{addValueDependency(R);return true}));N.hooks.evaluateIdentifier.for(R).tap("DefinePlugin",(E=>{addValueDependency(R);return(new G).setTruthy().setSideEffects(false).setRange(E.range)}));N.hooks.evaluateTypeof.for(R).tap("DefinePlugin",withValueDependency(R,ie("object")));N.hooks.expression.for(R).tap("DefinePlugin",(q=>{addValueDependency(R);const G=stringifyObj(j,N,E.valueCacheVersions,R,we,!N.isAsiPosition(q.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(N,G,[$.require])(q)}else if(/__webpack_require__/.test(G)){return ae(N,G,[$.requireScope])(q)}else{return ae(N,G)(q)}}));N.hooks.typeof.for(R).tap("DefinePlugin",withValueDependency(R,ae(N,JSON.stringify("object"))))};walkDefinitions(R,"")};N.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);N.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(R,N)=>{Object.keys(R).forEach(($=>{const q=R[$];const G=toCacheVersion(q);const ie=_e+N+$;Ie.update("|"+N+$);const ae=E.valueCacheVersions.get(ie);if(ae===undefined){E.valueCacheVersions.set(ie,G)}else if(ae!==G){const R=new j(`DefinePlugin\nConflicting values for '${N+$}'`);R.details=`'${ae}' !== '${G}'`;R.hideStack=true;E.warnings.push(R)}if(q&&typeof q==="object"&&!(q instanceof RuntimeValue)&&!(q instanceof RegExp)){walkDefinitionsForValues(q,N+$+".")}}))};walkDefinitionsForValues(R,"");E.valueCacheVersions.set(Ee,Ie.digest("hex").slice(0,8))}))}}E.exports=DefinePlugin},3955:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(53453);const G=N(76150);const ie=N(49422);const ae=N(96076);const le=N(56202);const _e=new Set(["javascript"]);const Ee=new Set([G.module,G.require]);class DelegatedModule extends q{constructor(E,R,N,$,j){super("javascript/dynamic",null);this.sourceRequest=E;this.request=R.id;this.delegationType=N;this.userRequest=$;this.originalRequest=j;this.delegateData=R;this.delegatedSourceDependency=undefined}getSourceTypes(){return _e}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ie(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(this.delegateData.exports||true,false));j()}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const q=this.dependencies[0];const G=R.getModule(q);let ie;if(!G){ie=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ie=`module.exports = (${E.moduleExports({module:G,chunkGraph:N,request:q.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ie+=`(${JSON.stringify(this.request)})`;break;case"object":ie+=`[${JSON.stringify(this.request)}]`;break}ie+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new $(ie,this.identifier()))}else{ae.set("javascript",new j(ie))}return{sources:ae,runtimeRequirements:Ee}}size(E){return 42}updateHash(E,R){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.sourceRequest);R(this.delegateData);R(this.delegationType);R(this.userRequest);R(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new DelegatedModule(R(),R(),R(),R(),R());N.deserialize(E);return N}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.delegationType=R.delegationType;this.userRequest=R.userRequest;this.originalRequest=R.originalRequest;this.delegateData=R.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}le(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,R,N)=>{"use strict";const $=N(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const R=this.options.scope;if(R){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,N)=>{const[j]=E.dependencies;const{request:q}=j;if(q&&q.startsWith(`${R}/`)){const E="."+q.substr(R.length);let j;if(E in this.options.content){j=this.options.content[E];return N(null,new $(this.options.source,j,this.options.type,E,q))}for(let R=0;R{const R=E.libIdent(this.options);if(R){if(R in this.options.content){const N=this.options.content[R];return new $(this.options.source,N,this.options.type,R,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,R,N)=>{"use strict";const $=N(56396);const j=N(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,R)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:R})=>{new $({associatedObjectForCache:E.root,...this.options}).apply(R)}))}}E.exports=DelegatedPlugin},32448:(E,R,N)=>{"use strict";const $=N(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let E=this;while(E.parent)E=E.parent;return E}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const R=this.dependencies.indexOf(E);if(R>=0){this.dependencies.splice(R,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,R){for(const N of this.dependencies){N.updateHash(E,R)}for(const N of this.blocks){N.updateHash(E,R)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}$(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,R,N)=>{"use strict";const $=N(91671);const j=Symbol("transitive");const q=$((()=>{const E=N(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}couldAffectReferencingModule(){return j}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,R){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,R){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return q()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=j;E.exports=Dependency},84304:(E,R,N)=>{"use strict";class DependencyTemplate{apply(E,R,$){const j=N(75884);throw new j}}E.exports=DependencyTemplate},46828:(E,R,N)=>{"use strict";const $=N(35891);class DependencyTemplates{constructor(E="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=E}get(E){return this._map.get(E)}set(E,R){this._map.set(E,R)}updateHash(E){const R=$(this._hashFunction);R.update(`${this._hash}${E}`);this._hash=R.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,R,N)=>{"use strict";const $=N(80419);const j=N(95189);const q=N(66583);class DllEntryPlugin{constructor(E,R,N){this.context=E;this.entries=R;this.options=N}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:R})=>{const N=new $;E.dependencyFactories.set(j,N);E.dependencyFactories.set(q,R)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,R)=>{E.addEntry(this.context,new j(this.entries.map(((E,R)=>{const N=new q(E);N.loc={name:this.options.name,index:R};return N})),this.options.name),this.options,R)}))}}E.exports=DllEntryPlugin},44593:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(53453);const q=N(76150);const G=N(56202);const ie=new Set(["javascript"]);const ae=new Set([q.require,q.module]);class DllModule extends j{constructor(E,R,N){super("javascript/dynamic",E);this.dependencies=R;this.name=N}getSourceTypes(){return ie}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={};return j()}codeGeneration(E){const R=new Map;R.set("javascript",new $("module.exports = __webpack_require__;"));return{sources:R,runtimeRequirements:ae}}needBuild(E,R){return R(null,!this.buildMeta)}size(E){return 12}updateHash(E,R){E.update(`dll module${this.name||""}`);super.updateHash(E,R)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}G(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,R,N)=>{"use strict";const $=N(44593);const j=N(40674);class DllModuleFactory extends j{constructor(){super();this.hooks=Object.freeze({})}create(E,R){const N=E.dependencies[0];R(null,{module:new $(E.context,N.dependencies,N.name)})}}E.exports=DllModuleFactory},73887:(E,R,N)=>{"use strict";const $=N(9013);const j=N(6283);const q=N(77750);const G=N(35817);const ie=G(N(43548),(()=>N(28991)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ie(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((R,N)=>{if(typeof N!=="function"){for(const j of Object.keys(N)){const q={name:j,filename:N.filename};new $(R,N[j].import,q).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new q(this.options).apply(E);if(!this.options.entryOnly){new j("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,R,N)=>{"use strict";const $=N(78688);const j=N(56396);const q=N(59084);const G=N(81627);const ie=N(49422);const ae=N(35817);const le=N(49197).makePathsRelative;const _e=ae(N(69744),(()=>N(67138)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){_e(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(ie,R)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((R,N)=>{if("manifest"in this.options){const j=this.options.manifest;if(typeof j==="string"){E.inputFileSystem.readFile(j,((q,G)=>{if(q)return N(q);const ie={path:j,data:undefined,error:undefined};try{ie.data=$(G.toString("utf-8"))}catch(R){const N=le(E.options.context,j,E.root);ie.error=new DllManifestError(N,R.message)}this._compilationData.set(R,ie);return N()}));return}}return N()}));E.hooks.compile.tap("DllReferencePlugin",(R=>{let N=this.options.name;let $=this.options.sourceType;let G="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let j;if(typeof E==="string"){const E=this._compilationData.get(R);if(E.error){return}j=E.data}else{j=E}if(j){if(!N)N=j.name;if(!$)$=j.type;if(!G)G=j.content}}const ie={};const ae="dll-reference "+N;ie[ae]=N;const le=R.normalModuleFactory;new q($||"var",ie).apply(le);new j({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:G,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(le)}));E.hooks.compilation.tap("DllReferencePlugin",((E,R)=>{if("manifest"in this.options){let N=this.options.manifest;if(typeof N==="string"){const $=this._compilationData.get(R);if($.error){E.errors.push($.error)}E.fileDependencies.add(N)}}}))}}class DllManifestError extends G{constructor(E,R){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${R}`}}E.exports=DllReferencePlugin},85227:(E,R,N)=>{"use strict";const $=N(64699);const j=N(59674);const q=N(66583);class DynamicEntryPlugin{constructor(E,R){this.context=E;this.entry=R}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((R,N)=>Promise.resolve(this.entry()).then((N=>{const q=[];for(const G of Object.keys(N)){const ie=N[G];const ae=$.entryDescriptionToOptions(E,G,ie);for(const E of ie.import){q.push(new Promise(((N,$)=>{R.addEntry(this.context,j.createDependency(E,ae),ae,(E=>{if(E)return $(E);N()}))})))}}return Promise.all(q)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,R,N)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((R,N)=>{EntryOptionPlugin.applyEntryOption(E,R,N);return true}))}static applyEntryOption(E,R,$){if(typeof $==="function"){const j=N(85227);new j(R,$).apply(E)}else{const j=N(59674);for(const N of Object.keys($)){const q=$[N];const G=EntryOptionPlugin.entryDescriptionToOptions(E,N,q);for(const N of q.import){new j(R,N,G).apply(E)}}}}static entryDescriptionToOptions(E,R,$){const j={name:R,filename:$.filename,runtime:$.runtime,layer:$.layer,dependOn:$.dependOn,publicPath:$.publicPath,chunkLoading:$.chunkLoading,wasmLoading:$.wasmLoading,library:$.library};if($.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if($.chunkLoading){const R=N(50369);R.checkEnabled(E,$.chunkLoading)}if($.wasmLoading){const R=N(69085);R.checkEnabled(E,$.wasmLoading)}if($.library){const R=N(13984);R.checkEnabled(E,$.library.type)}return j}}E.exports=EntryOptionPlugin},59674:(E,R,N)=>{"use strict";const $=N(66583);class EntryPlugin{constructor(E,R,N){this.context=E;this.entry=R;this.options=N||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R)}));const{entry:R,options:N,context:j}=this;const q=EntryPlugin.createDependency(R,N);E.hooks.make.tapAsync("EntryPlugin",((E,R)=>{E.addEntry(j,q,N,(E=>{R(E)}))}))}static createDependency(E,R){const N=new $(E);N.loc={name:typeof R==="object"?R.name:R};return N}}E.exports=EntryPlugin},71452:(E,R,N)=>{"use strict";const $=N(84558);class Entrypoint extends ${constructor(E,R=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=R}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,R){if(this._runtimeChunk===E)this._runtimeChunk=R;if(this._entrypointChunk===E)this._entrypointChunk=R;return super.replaceChunk(E,R)}}E.exports=Entrypoint},64856:(E,R,N)=>{"use strict";const $=N(24820);const j=N(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const R={};for(const N of this.keys){const $=process.env[N]!==undefined?process.env[N]:this.defaultValues[N];if($===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const R=new j(`EnvironmentPlugin - ${N} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");R.name="EnvVariableNotDefinedError";E.errors.push(R)}))}R[`process.env.${N}`]=$===undefined?"undefined":JSON.stringify($)}new $(R).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,R)=>{"use strict";const N="LOADER_EXECUTION";const $="WEBPACK_OPTIONS";R.cutOffByFlag=(E,R)=>{E=E.split("\n");for(let N=0;NR.cutOffByFlag(E,N);R.cutOffWebpackOptions=E=>R.cutOffByFlag(E,$);R.cutOffMultilineMessage=(E,R)=>{E=E.split("\n");R=R.split("\n");const N=[];E.forEach(((E,$)=>{if(!E.includes(R[$]))N.push(E)}));return N.join("\n")};R.cutOffMessage=(E,R)=>{const N=E.indexOf("\n");if(N===-1){return E===R?"":E}else{const $=E.substr(0,N);return $===R?E.substr(N+1):E}};R.cleanUp=(E,N)=>{E=R.cutOffLoaderExecution(E);E=R.cutOffMessage(E,N);return E};R.cleanUpWebpackOptions=(E,N)=>{E=R.cutOffWebpackOptions(E);E=R.cutOffMultilineMessage(E,N);return E}},91331:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const q=N(16734);const G=N(70354);const ie=N(18161);const ae=new WeakMap;const le=new j(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const R=ie.getCompilationHooks(E);R.renderModuleContent.tap("EvalDevToolModulePlugin",((R,N,{runtimeTemplate:$,chunkGraph:ie})=>{const le=ae.get(R);if(le!==undefined)return le;if(N instanceof q){ae.set(R,R);return R}const _e=R.source();const Ee=G.createFilename(N,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:$.requestShortener,chunkGraph:ie,hashFunction:E.outputOptions.hashFunction});const we="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(Ee).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Ie=new j(`eval(${JSON.stringify(_e+we)});`);ae.set(R,Ie);return Ie}));R.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));R.render.tap("EvalDevToolModulePlugin",(E=>new $(le,E)));R.chunkHash.tap("EvalDevToolModulePlugin",((E,R)=>{R.update("EvalDevToolModulePlugin");R.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const q=N(70354);const G=N(53520);const ie=N(26867);const ae=N(18161);const le=N(95734);const{makePathsAbsolute:_e}=N(49197);const Ee=new WeakMap;const we=new j(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let R;if(typeof E==="string"){R={append:E}}else{R=E}this.sourceMapComment=R.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=R.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=R.namespace||"";this.options=R}apply(E){const R=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(N=>{const Ie=ae.getCompilationHooks(N);new ie(R).apply(N);const Me=q.matchObject.bind(q,R);Ie.renderModuleContent.tap("EvalSourceMapDevToolPlugin",(($,ie,{runtimeTemplate:ae,chunkGraph:we})=>{const Ie=Ee.get($);if(Ie!==undefined){return Ie}const result=E=>{Ee.set($,E);return E};if(ie instanceof G){const E=ie;if(!Me(E.resource)){return result($)}}else if(ie instanceof le){const E=ie;if(E.rootModule instanceof G){const R=E.rootModule;if(!Me(R.resource)){return result($)}}else{return result($)}}else{return result($)}let Te;let Ne;if($.sourceAndMap){const E=$.sourceAndMap(R);Te=E.map;Ne=E.source}else{Te=$.map(R);Ne=$.source()}if(!Te){return result($)}Te={...Te};const Be=E.options.context;const Le=E.root;const je=Te.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=_e(Be,E.slice(10),Le);const R=N.findModule(E);return R||E}));let ze=je.map((E=>q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:we,hashFunction:N.outputOptions.hashFunction})));ze=q.replaceDuplicates(ze,((E,R,N)=>{for(let R=0;R"the eval-source-map devtool is used."));Ie.render.tap("EvalSourceMapDevToolPlugin",(E=>new $(we,E)));Ie.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,R)=>{R.update("EvalSourceMapDevToolPlugin");R.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,R,N)=>{"use strict";const{equals:$}=N(73910);const j=N(16102);const q=N(56202);const{forEachRuntime:G}=N(37416);const ie=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(E,R,N,$){this.exports=E;this.otherProvided=R;this.otherCanMangleProvide=N;this.otherTerminalBinding=$}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}q(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[R,N]of this._exports){E.set(R,N)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[R,N]of this._exports){E.set(R,N)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const R=[];for(const N of E.values()){R.push(N.name)}R.sort();let N=0;for(const $ of E.values()){const E=R[N];if($.name!==E)break;N++}for(;N0){const R=this.getReadOnlyExportInfo(E[0]);if(!R.exportsInfo)return undefined;return R.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,R,N,$,j){let q=false;if(R){for(const E of R){this.getExportInfo(E)}}for(const j of this._exports.values()){if(R&&R.has(j.name))continue;if(j.provided!==true&&j.provided!==null){j.provided=null;q=true}if(!E&&j.canMangleProvide!==false){j.canMangleProvide=false;q=true}if(N){j.setTarget(N,$,[j.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,R,N,$,j)){q=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;q=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;q=true}if(N){this._otherExportsInfo.setTarget(N,$,undefined,j)}}return q}setUsedInUnknownWay(E){let R=false;for(const N of this._exports.values()){if(N.setUsedInUnknownWay(E)){R=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){R=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>EE===ie.Unused),ie.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ie.Unused){return true}}for(const R of this._exports.values()){if(R.getUsed(E)!==ie.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ie.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:case ie.OnlyPropertiesUsed:case ie.Used:return true}}const R=[];if(!this._exportsAreOrdered)this._sortExports();for(const N of this._exports.values()){switch(N.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:return true;case ie.OnlyPropertiesUsed:case ie.Used:R.push(N.name)}}if(this._redirectTo!==undefined){const N=this._redirectTo.getUsedExports(E);if(N===null)return null;if(N===true)return true;if(N!==false){for(const E of N){R.push(E)}}}if(R.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unused:return false}}return new j(R)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const R of this._exports.values()){switch(R.provided){case undefined:return null;case null:return true;case true:E.push(R.name)}}if(this._redirectTo!==undefined){const R=this._redirectTo.getProvidedExports();if(R===null)return null;if(R===true)return true;for(const N of R){if(!E.includes(N)){E.push(N)}}}return E}getRelevantExports(E){const R=[];for(const N of this._exports.values()){const $=N.getUsed(E);if($===ie.Unused)continue;if(N.provided===false)continue;R.push(N)}if(this._redirectTo!==undefined){for(const N of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(N.name))R.push(N)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ie.Unused){R.push(this._otherExportsInfo)}return R}isExportProvided(E){if(Array.isArray(E)){const R=this.getReadOnlyExportInfo(E[0]);if(R.exportsInfo&&E.length>1){return R.exportsInfo.isExportProvided(E.slice(1))}return R.provided}const R=this.getReadOnlyExportInfo(E);return R.provided}getUsageKey(E){const R=[];if(this._redirectTo!==undefined){R.push(this._redirectTo.getUsageKey(E))}else{R.push(this._otherExportsInfo.getUsed(E))}R.push(this._sideEffectsOnlyInfo.getUsed(E));for(const N of this.orderedOwnedExports){R.push(N.getUsed(E))}return R.join("|")}isEquallyUsed(E,R){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,R))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(R)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(R)){return false}for(const N of this.ownedExports){if(N.getUsed(E)!==N.getUsed(R))return false}return true}getUsed(E,R){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(R);let N=this.getReadOnlyExportInfo(E[0]);if(N.exportsInfo&&E.length>1){return N.exportsInfo.getUsed(E.slice(1),R)}return N.getUsed(R)}let N=this.getReadOnlyExportInfo(E);return N.getUsed(R)}getUsedName(E,R){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(R))return false;return E}let N=this.getReadOnlyExportInfo(E[0]);const $=N.getUsedName(E[0],R);if($===false)return false;const j=$===E[0]&&E.length===1?E:[$];if(E.length===1){return j}if(N.exportsInfo&&N.getUsed(R)===ie.OnlyPropertiesUsed){const $=N.exportsInfo.getUsedName(E.slice(1),R);if(!$)return false;return j.concat($)}else{return j.concat(E.slice(1))}}else{let N=this.getReadOnlyExportInfo(E);const $=N.getUsedName(E,R);return $}}updateHash(E,R){this._updateHash(E,R,new Set)}_updateHash(E,R,N){const $=new Set(N);$.add(this);for(const N of this.orderedExports){if(N.hasInfo(this._otherExportsInfo,R)){N._updateHash(E,R,$)}}this._sideEffectsOnlyInfo._updateHash(E,R,$);this._otherExportsInfo._updateHash(E,R,$);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,R,$)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const R=this._otherExportsInfo.canMangleProvide;const N=this._otherExportsInfo.terminalBinding;const $=[];for(const j of this.orderedExports){if(j.provided!==E||j.canMangleProvide!==R||j.terminalBinding!==N||j.exportsInfoOwned){$.push({name:j.name,provided:j.provided,canMangleProvide:j.canMangleProvide,terminalBinding:j.terminalBinding,exportsInfo:j.exportsInfoOwned?j.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData($,E,R,N)}restoreProvided({otherProvided:E,otherCanMangleProvide:R,otherTerminalBinding:N,exports:$}){let j=true;for(const $ of this._exports.values()){j=false;$.provided=E;$.canMangleProvide=R;$.terminalBinding=N}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=R;this._otherExportsInfo.terminalBinding=N;for(const E of $){const R=this.getExportInfo(E.name);R.provided=E.provided;R.canMangleProvide=E.canMangleProvide;R.terminalBinding=E.terminalBinding;if(E.exportsInfo){const N=R.createNestedExportsInfo();N.restoreProvided(E.exportsInfo)}}if(j)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,R){this.name=E;this._usedName=R?R._usedName:null;this._globalUsed=R?R._globalUsed:undefined;this._usedInRuntime=R&&R._usedInRuntime?new Map(R._usedInRuntime):undefined;this._hasUseInRuntimeInfo=R?R._hasUseInRuntimeInfo:false;this.provided=R?R.provided:undefined;this.terminalBinding=R?R.terminalBinding:false;this.canMangleProvide=R?R.canMangleProvide:undefined;this.canMangleUse=R?R.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(R&&R._target){this._target=new Map;for(const[N,$]of R._target){this._target.set(N,{connection:$.connection,export:$.export||[E],priority:$.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let R=false;if(this.setUsedConditionally((E=>Ethis._usedInRuntime.set(E,R)));return true}}else{let $=false;G(N,(N=>{let j=this._usedInRuntime.get(N);if(j===undefined)j=ie.Unused;if(R!==j&&E(j)){if(R===ie.Unused){this._usedInRuntime.delete(N)}else{this._usedInRuntime.set(N,R)}$=true}}));if($){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,R){if(R===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ie.Unused){this._usedInRuntime=new Map;G(R,(R=>this._usedInRuntime.set(R,E)));return true}}else{let N=false;G(R,(R=>{let $=this._usedInRuntime.get(R);if($===undefined)$=ie.Unused;if(E!==$){if(E===ie.Unused){this._usedInRuntime.delete(R)}else{this._usedInRuntime.set(R,E)}N=true}}));if(N){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,R,N,j=0){if(N)N=[...N];if(!this._target){this._target=new Map;this._target.set(E,{connection:R,export:N,priority:j});return true}const q=this._target.get(E);if(!q){if(q===null&&!R)return false;this._target.set(E,{connection:R,export:N,priority:j});this._maxTarget=undefined;return true}if(q.connection!==R||q.priority!==j||(N?!q.export||!$(q.export,N):q.export)){q.connection=R;q.export=N;q.priority=j;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ie.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ie.Unused}else if(typeof E==="string"){const R=this._usedInRuntime.get(E);return R===undefined?ie.Unused:R}else if(E===undefined){let E=ie.Unused;for(const R of this._usedInRuntime.values()){if(R===ie.Used){return ie.Used}if(E!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,R=RETURNS_TRUE){if(this.terminalBinding)return this;const N=this.getTarget(E,R);if(!N)return undefined;const $=E.getExportsInfo(N.module);if(!N.export)return $;return $.getReadOnlyExportInfoRecursive(N.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let R=Infinity;for(const{priority:N}of this._target.values()){if(EN)R=N}if(E===R)return this._maxTarget=this._target;const N=new Map;for(const[R,$]of this._target){if(E===$.priority){N.set(R,$)}}this._maxTarget=N;return N}findTarget(E,R){return this._findTarget(E,R,new Set)}_findTarget(E,R,N){if(!this._target||this._target.size===0)return undefined;let $=this._getMaxTarget().values().next().value;if(!$)return undefined;let j={module:$.connection.module,export:$.export};for(;;){if(R(j.module))return j;const $=E.getExportsInfo(j.module);const q=$.getExportInfo(j.export[0]);if(N.has(q))return null;const G=q._findTarget(E,R,N);if(!G)return false;if(j.export.length===1){j=G}else{j={module:G.module,export:G.export?G.export.concat(j.export.slice(1)):j.export.slice(1)}}}}getTarget(E,R=RETURNS_TRUE){const N=this._getTarget(E,R,undefined);if(N===ae)return undefined;return N}_getTarget(E,R,N){const resolveTarget=(N,$)=>{if(!N)return null;if(!N.export){return{module:N.connection.module,connection:N.connection,export:undefined}}let j={module:N.connection.module,connection:N.connection,export:N.export};if(!R(j))return j;let q=false;for(;;){const N=E.getExportsInfo(j.module);const G=N.getExportInfo(j.export[0]);if(!G)return j;if($.has(G))return ae;const ie=G._getTarget(E,R,$);if(ie===ae)return ae;if(!ie)return j;if(j.export.length===1){j=ie;if(!j.export)return j}else{j={module:ie.module,connection:ie.connection,export:ie.export?ie.export.concat(j.export.slice(1)):j.export.slice(1)}}if(!R(j))return j;if(!q){$=new Set($);q=true}$.add(G)}};if(!this._target||this._target.size===0)return undefined;if(N&&N.has(this))return ae;const j=new Set(N);j.add(this);const q=this._getMaxTarget().values();const G=resolveTarget(q.next().value,j);if(G===ae)return ae;if(G===null)return undefined;let ie=q.next();while(!ie.done){const E=resolveTarget(ie.value,j);if(E===ae)return ae;if(E===null)return undefined;if(E.module!==G.module)return undefined;if(!E.export!==!G.export)return undefined;if(G.export&&!$(E.export,G.export))return undefined;ie=q.next()}return G}moveTarget(E,R,N){const $=this._getTarget(E,R,undefined);if($===ae)return undefined;if(!$)return undefined;const j=this._getMaxTarget().values().next().value;if(j.connection===$.connection&&j.export===$.export){return undefined}this._target.clear();this._target.set(undefined,{connection:N?N($):$.connection,export:$.export,priority:0});return $}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,R){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(R)!==E.getUsed(R)}updateHash(E,R){this._updateHash(E,R,new Set)}_updateHash(E,R,N){E.update(`${this._usedName||this.name}${this.getUsed(R)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!N.has(this.exportsInfo)){this.exportsInfo._updateHash(E,R,N)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ie.Unused:return"unused";case ie.NoInfo:return"no usage info";case ie.Unknown:return"maybe used (runtime-defined)";case ie.Used:return"used";case ie.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[R,N]of this._usedInRuntime){const $=E.get(N);if($!==undefined)$.push(R);else E.set(N,[R])}const R=Array.from(E,(([E,R])=>{switch(E){case ie.NoInfo:return`no usage info in ${R.join(", ")}`;case ie.Unknown:return`maybe used in ${R.join(", ")} (runtime-defined)`;case ie.Used:return`used in ${R.join(", ")}`;case ie.OnlyPropertiesUsed:return`only properties used in ${R.join(", ")}`}}));if(R.length>0){return R.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ie},29672:(E,R,N)=>{"use strict";const $=N(66298);const j=N(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((R,N)=>{const $=N.length>=2?new j(R.range,N.slice(0,-1),N[N.length-1]):new j(R.range,null,N[0]);$.loc=R.loc;E.state.module.addDependency($);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(R=>{const N=new $("true",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}))};R.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(77294);const{UsageState:G}=N(76632);const ie=N(63272);const ae=N(53453);const le=N(76150);const _e=N(58159);const Ee=N(96076);const we=N(35891);const Ie=N(10004);const Me=N(56202);const Te=N(68038);const{register:Ne}=N(24568);const Be=new Set(["javascript"]);const Le=new Set([le.module]);const je=new Set([le.loadScript]);const ze=new Set([le.definePropertyGetters]);const Ue=new Set([]);const getSourceForGlobalVariableExternal=(E,R)=>{if(!Array.isArray(E)){E=[E]}const N=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:R==="this",expression:`${R}${N}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const R=E[0];return{expression:`require(${JSON.stringify(R)})${Te(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const R=[new ie('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ie.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:R}}const N=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(N)})${Te(E,1)}`,chunkInitFragments:R}};const getSourceForImportExternal=(E,R)=>{const N=R.outputOptions.importFunctionName;if(!R.supportsDynamicImport()&&N==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${N}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${N}(${JSON.stringify(E[0])});`}}const $=E[0];return{expression:`${N}(${JSON.stringify($)}).then(${R.returningFunction(`module${Te(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ie{constructor(E,R,N="md4"){if(R===undefined){R=_e.toIdentifier(E);if(R!==E){R+=`_${we(N).update(E).digest("hex").slice(0,8)}`}}const $=`__WEBPACK_EXTERNAL_MODULE_${R}__`;super(`import * as ${$} from ${JSON.stringify(E)};\n`,ie.STAGE_HARMONY_IMPORTS,0,`external module import ${R}`);this._ident=R;this._identifier=$;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ne(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:R}){R(E._request);R(E._ident)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,R,N)=>{if(R.otherExportsInfo.getUsed(N)===G.Unused){const $=[];for(const j of R.orderedExports){const R=j.getUsedName(j.name,N);if(!R)continue;const q=j.getNestedExportsInfo();if(q){const N=generateModuleRemapping(`${E}${Te([j.name])}`,q);if(N){$.push(`[${JSON.stringify(R)}]: y(${N})`);continue}}$.push(`[${JSON.stringify(R)}]: () => ${E}${Te([j.name])}`)}return`x({ ${$.join(", ")} })`}};const getSourceForModuleExternal=(E,R,N,$)=>{if(!Array.isArray(E))E=[E];const j=new ModuleExternalInitFragment(E[0],undefined,$);const q=`${j.getNamespaceIdentifier()}${Te(E,1)}`;const G=generateModuleRemapping(q,R,N);let ie=G||q;return{expression:ie,init:`var x = y => { var x = {}; ${le.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:G?ze:undefined,chunkInitFragments:[j]}};const getSourceForScriptExternal=(E,R)=>{if(typeof E==="string"){E=Ie(E)}const N=E[0];const $=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${R.basicFunction("resolve, reject",[`if(typeof ${$} !== "undefined") return resolve();`,`${le.loadScript}(${JSON.stringify(N)}, ${R.basicFunction("event",[`if(typeof ${$} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify($)});`])}).then(${R.returningFunction(`${$}${Te(E,2)}`)})`,runtimeRequirements:je}};const checkExternalVariable=(E,R,N)=>`if(typeof ${E} === 'undefined') { ${N.throwMissingModuleErrorBlock({request:R})} }\n`;const getSourceForAmdOrUmdExternal=(E,R,N,$)=>{const j=`__WEBPACK_EXTERNAL_MODULE_${_e.toIdentifier(`${E}`)}__`;return{init:R?checkExternalVariable(j,Array.isArray(N)?N.join("."):N,$):undefined,expression:j}};const getSourceForDefaultCase=(E,R,N)=>{if(!Array.isArray(R)){R=[R]}const $=R[0];const j=Te(R,1);return{init:E?checkExternalVariable($,R.join("."),N):undefined,expression:`${$}${j}`}};class ExternalModule extends ae{constructor(E,R,N){super("javascript/dynamic",null);this.request=E;this.externalType=R;this.userRequest=N}getSourceTypes(){return Be}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:R}){return R.getNumberOfEntryModules(E)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:R.outputOptions.module};const{request:q,externalType:G}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ie=false;this.clearDependenciesAndBlocks();switch(G){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}}else{this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}break}this.addDependency(new Ee(true,ie));j()}restoreFromUnsafeCache(E,R){this._restoreFromUnsafeCache(E,R)}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:R}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[R];return{request:E,externalType:R}}_getSourceData(E,R,N,$){const{request:j,externalType:q}=this._getRequestAndExternalType();switch(q){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(j,this.externalType);case"global":return getSourceForGlobalVariableExternal(j,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal(j);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule(j):getSourceForCommonJsExternal(j);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const $=N.getModuleId(this);return getSourceForAmdOrUmdExternal($!==null?$:this.identifier(),this.isOptional(R),j,E)}case"import":return getSourceForImportExternal(j,E);case"script":return getSourceForScriptExternal(j,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal(j,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal(j,R.getExportsInfo(this),$,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(R),j,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N,runtime:G,concatenationScope:ie}){const ae=this._getSourceData(E,R,N,G);let _e=ae.expression;if(ae.iife)_e=`(function() { return ${_e}; }())`;if(ie){_e=`${E.supportsConst()?"const":"var"} ${q.NAMESPACE_OBJECT_EXPORT} = ${_e};`;ie.registerNamespaceExport(q.NAMESPACE_OBJECT_EXPORT)}else{_e=`module.exports = ${_e};`}if(ae.init)_e=`${ae.init}\n${_e}`;let Ee=undefined;if(ae.chunkInitFragments){Ee=new Map;Ee.set("chunkInitFragments",ae.chunkInitFragments)}const we=new Map;if(this.useSourceMap||this.useSimpleSourceMap){we.set("javascript",new $(_e,this.identifier()))}else{we.set("javascript",new j(_e))}let Ie=ae.runtimeRequirements;if(!ie){if(!Ie){Ie=Le}else{const E=new Set(Ie);E.add(le.module);Ie=E}}return{sources:we,runtimeRequirements:Ie||Ue,data:Ee}}size(E){return 42}updateHash(E,R){const{chunkGraph:N}=R;E.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(N.moduleGraph)}`);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.request);R(this.externalType);R(this.userRequest);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.externalType=R();this.userRequest=R();super.deserialize(E)}}Me(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,R,N)=>{"use strict";const $=N(73837);const j=N(16734);const{resolveByProperty:q,cachedSetProperty:G}=N(90149);const ie=/^[a-z0-9-]+ /;const ae={};const le=$.deprecate(((E,R,N,$)=>{E.call(null,R,N,$)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const _e=new WeakMap;const resolveLayer=(E,R)=>{let N=_e.get(E);if(N===undefined){N=new Map;_e.set(E,N)}else{const E=N.get(R);if(E!==undefined)return E}const $=q(E,"byLayer",R);N.set(R,$);return $};class ExternalModuleFactoryPlugin{constructor(E,R){this.type=E;this.externals=R}apply(E){const R=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((N,$)=>{const q=N.context;const _e=N.contextInfo;const Ee=N.dependencies[0];const we=N.dependencyType;const handleExternal=(E,N,$)=>{if(E===false){return $()}let q;if(E===true){q=Ee.request}else{q=E}if(N===undefined){if(typeof q==="string"&&ie.test(q)){const E=q.indexOf(" ");N=q.substr(0,E);q=q.substr(E+1)}else if(Array.isArray(q)&&q.length>0&&ie.test(q[0])){const E=q[0];const R=E.indexOf(" ");N=E.substr(0,R);q=[E.substr(R+1),...q.slice(1)]}}$(null,new j(q,N||R,Ee.request))};const handleExternals=(R,$)=>{if(typeof R==="string"){if(R===Ee.request){return handleExternal(Ee.request,undefined,$)}}else if(Array.isArray(R)){let E=0;const next=()=>{let N;const handleExternalsAndCallback=(E,R)=>{if(E)return $(E);if(!R){if(N){N=false;return}return next()}$(null,R)};do{N=true;if(E>=R.length)return $();handleExternals(R[E++],handleExternalsAndCallback)}while(!N);N=false};next();return}else if(R instanceof RegExp){if(R.test(Ee.request)){return handleExternal(Ee.request,undefined,$)}}else if(typeof R==="function"){const cb=(E,R,N)=>{if(E)return $(E);if(R!==undefined){handleExternal(R,N,$)}else{$()}};if(R.length===3){le(R,q,Ee.request,cb)}else{const $=R({context:q,request:Ee.request,dependencyType:we,contextInfo:_e,getResolve:R=>($,j,q)=>{const ie={fileDependencies:N.fileDependencies,missingDependencies:N.missingDependencies,contextDependencies:N.contextDependencies};let le=E.getResolver("normal",we?G(N.resolveOptions||ae,"dependencyType",we):N.resolveOptions);if(R)le=le.withOptions(R);if(q){le.resolve({},$,j,ie,q)}else{return new Promise(((E,R)=>{le.resolve({},$,j,ie,((N,$)=>{if(N)R(N);else E($)}))}))}}},cb);if($&&$.then)$.then((E=>cb(null,E)),cb)}return}else if(typeof R==="object"){const E=resolveLayer(R,_e.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,Ee.request)){return handleExternal(E[Ee.request],undefined,$)}}$()};handleExternals(this.externals,$)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,R,N)=>{"use strict";const $=N(59084);class ExternalsPlugin{constructor(E,R){this.type=E;this.externals=R}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new $(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,R,N)=>{"use strict";const{create:$}=N(17583);const j=N(62355);const q=N(9738);const G=N(37269);const ie=N(35891);const{join:ae,dirname:le,relative:_e,lstatReadlinkAbsolute:Ee}=N(95396);const we=N(56202);const Ie=N(2117);const Me=+process.versions.modules>=83;let Te=2e3;const Ne=new Set;const Be=0;const Le=1;const je=2;const ze=3;const Ue=4;const qe=5;const Ge=6;const He=7;const We=8;const Ve=9;const Ke=Symbol("invalid");const Qe=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,R){this.snapshot=E;this.getMaps=R}[Symbol.iterator](){let E=0;let R;let N;let $;let j;let q;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:j=this.snapshot;N=this.getMaps;$=N(j);E=1;case 1:if($.length>0){const N=$.pop();if(N!==undefined){R=N.keys();E=2}else{break}}else{E=3;break}case 2:{const N=R.next();if(!N.done)return N;E=1;break}case 3:{const R=j.children;if(R!==undefined){if(R.size===1){for(const E of R)j=E;$=N(j);E=1;break}if(q===undefined)q=[];for(const E of R){q.push(E)}}if(q!==undefined&&q.length>0){j=q.pop();$=N(j);E=1;break}else{E=4}}case 4:return Qe}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,R){if(E){if(R.hasStartTime()){this.setStartTime(Math.min(E,R.startTime))}else{this.setStartTime(E)}}else{if(R.hasStartTime())this.setStartTime(R.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}we(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Je=3;class SnapshotOptimization{constructor(E,R,N,$=true,j=false){this._has=E;this._get=R;this._set=N;this._useStartTime=$;this._isSet=j;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(E,R){const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=E=>{for(const N of E.snapshotContent){const $=this._map.get(N);if($.shared0){if(this._useStartTime&&E.startTime&&(!$.startTime||$.startTime>E.startTime)){continue}const j=new Set;const q=N.snapshotContent;const G=this._get($);for(const E of q){if(!R.has(E)){if(!G.has(E)){continue e}j.add(E);continue}}if(j.size===0){E.addChild($);increaseSharedAndStoreOptimizationEntry(N);this._statReusedSharedSnapshots++}else{const R=q.size-j.size;if(R{if(Te>1&&E%2!==0)Te=1;else if(Te>10&&E%20!==0)Te=10;else if(Te>100&&E%200!==0)Te=100;else if(Te>1e3&&E%2e3!==0)Te=1e3};const mergeMaps=(E,R)=>{if(!R||R.size===0)return E;if(!E||E.size===0)return R;const N=new Map(E);for(const[E,$]of R){N.set(E,$)}return N};const mergeSets=(E,R)=>{if(!R||R.size===0)return E;if(!E||E.size===0)return R;const N=new Set(E);for(const E of R){N.add(E)}return N};const getManagedItem=(E,R)=>{let N=E.length;let $=1;let j=true;e:while(N=N+13&&R.charCodeAt(N+1)===110&&R.charCodeAt(N+2)===111&&R.charCodeAt(N+3)===100&&R.charCodeAt(N+4)===101&&R.charCodeAt(N+5)===95&&R.charCodeAt(N+6)===109&&R.charCodeAt(N+7)===111&&R.charCodeAt(N+8)===100&&R.charCodeAt(N+9)===117&&R.charCodeAt(N+10)===108&&R.charCodeAt(N+11)===101&&R.charCodeAt(N+12)===115){if(R.length===N+13){return R}const E=R.charCodeAt(N+13);if(E===47||E===92){return getManagedItem(R.slice(0,N+14),R)}}return R.slice(0,N)};const getResolvedTimestamp=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E:undefined};const getResolvedHash=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E.hash:undefined};const addAll=(E,R)=>{for(const N of E)R.add(N)};class FileSystemInfo{constructor(E,{managedPaths:R=[],immutablePaths:N=[],logger:$,hashFunction:j="md4"}={}){this.fs=E;this.logger=$;this._remainingLogs=$?40:0;this._loggedPaths=$?new Set:undefined;this._hashFunction=j;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,R)=>E.setFileTimestamps(R)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,R)=>E.setFileHashes(R)),false);this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,R)=>E.setFileTshs(R)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,R)=>E.setContextTimestamps(R)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,R)=>E.setContextHashes(R)),false);this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,R)=>E.setContextTshs(R)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,R)=>E.setMissingExistence(R)),false);this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,R)=>E.setManagedItemInfo(R)),false);this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,R)=>E.setManagedFiles(R)),false,true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,R)=>E.setManagedContexts(R)),false,true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,R)=>E.setManagedMissing(R)),false,true);this._fileTimestamps=new G;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new G;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(R);this.managedPathsWithSlash=this.managedPaths.filter((E=>typeof E==="string")).map((R=>ae(E,R,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((E=>typeof E!=="string"));this.immutablePaths=Array.from(N);this.immutablePathsWithSlash=this.immutablePaths.filter((E=>typeof E==="string")).map((R=>ae(E,R,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((E=>typeof E!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,R)=>{if(R){this.logger.log(`${E}: ${R}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,R,...N){const $=E+R;if(this._loggedPaths.has($))return;this._loggedPaths.add($);this.logger.debug(`${E} invalidated because ${R}`,...N);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E,R){this._fileTimestamps.addAll(E,R);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E,R){this._contextTimestamps.addAll(E,R);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,R){const N=this._fileTimestamps.get(E);if(N!==undefined)return R(null,N);this.fileTimestampQueue.add(E,R)}getContextTimestamp(E,R){const N=this._contextTimestamps.get(E);if(N!==undefined){if(N==="ignore")return R(null,"ignore");const E=getResolvedTimestamp(N);if(E!==undefined)return R(null,E);return this._resolveContextTimestamp(N,R)}this.contextTimestampQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedTimestamp(N);if($!==undefined)return R(null,$);this._resolveContextTimestamp(N,R)}))}_getUnresolvedContextTimestamp(E,R){const N=this._contextTimestamps.get(E);if(N!==undefined)return R(null,N);this.contextTimestampQueue.add(E,R)}getFileHash(E,R){const N=this._fileHashes.get(E);if(N!==undefined)return R(null,N);this.fileHashQueue.add(E,R)}getContextHash(E,R){const N=this._contextHashes.get(E);if(N!==undefined){const E=getResolvedHash(N);if(E!==undefined)return R(null,E);return this._resolveContextHash(N,R)}this.contextHashQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedHash(N);if($!==undefined)return R(null,$);this._resolveContextHash(N,R)}))}_getUnresolvedContextHash(E,R){const N=this._contextHashes.get(E);if(N!==undefined)return R(null,N);this.contextHashQueue.add(E,R)}getContextTsh(E,R){const N=this._contextTshs.get(E);if(N!==undefined){const E=getResolvedTimestamp(N);if(E!==undefined)return R(null,E);return this._resolveContextTsh(N,R)}this.contextTshQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedTimestamp(N);if($!==undefined)return R(null,$);this._resolveContextTsh(N,R)}))}_getUnresolvedContextTsh(E,R){const N=this._contextTshs.get(E);if(N!==undefined)return R(null,N);this.contextTshQueue.add(E,R)}_createBuildDependenciesResolvers(){const E=$({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const R=$({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const N=$({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const j=$({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:j,resolveCjs:R,resolveCjsAsChild:N}}resolveBuildDependencies(E,R,$){const{resolveContext:j,resolveEsm:q,resolveCjs:G,resolveCjsAsChild:ie}=this._createBuildDependenciesResolvers();const Ee=new Set;const we=new Set;const Te=new Set;const Ne=new Set;const Ke=new Set;const Qe=new Set;const Je=new Set;const Xe=new Set;const Ye=new Map;const Ze=new Set;const et={fileDependencies:Qe,contextDependencies:Je,missingDependencies:Xe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Be:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Le:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case je:return`resolve directory ${E.path}`;case ze:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case qe:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case Ge:return`directory ${E.path}`;case He:return`file ${E.path}`;case We:return`directory dependencies ${E.path}`;case Ve:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let R=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){R+=`\n at ${jobToString(E)}`;E=E.issuer}return R};Ie(Array.from(R,(R=>({type:Be,context:E,path:R,expected:undefined,issuer:undefined}))),20,((E,R,$)=>{const{type:Ie,context:Ke,path:Je,expected:tt}=E;const resolveDirectory=N=>{const q=`d\n${Ke}\n${N}`;if(Ye.has(q)){return $()}Ye.set(q,undefined);j(Ke,N,et,((j,G,ie)=>{if(j){if(tt===false){Ye.set(q,false);return $()}Ze.add(q);j.message+=`\nwhile resolving '${N}' in ${Ke} to a directory`;return $(j)}const ae=ie.path;Ye.set(q,ae);R({type:Ge,context:undefined,path:ae,expected:undefined,issuer:E});$()}))};const resolveFile=(N,j,q)=>{const G=`${j}\n${Ke}\n${N}`;if(Ye.has(G)){return $()}Ye.set(G,undefined);q(Ke,N,et,((j,q,ie)=>{if(typeof tt==="string"){if(!j&&ie&&ie.path===tt){Ye.set(G,ie.path)}else{Ze.add(G);this.logger.warn(`Resolving '${N}' in ${Ke} for build dependencies doesn't lead to expected result '${tt}', but to '${j||ie&&ie.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if(j){if(tt===false){Ye.set(G,false);return $()}Ze.add(G);j.message+=`\nwhile resolving '${N}' in ${Ke} as file\n${pathToString(E)}`;return $(j)}const q=ie.path;Ye.set(G,q);R({type:He,context:undefined,path:q,expected:undefined,issuer:E})}$()}))};switch(Ie){case Be:{const E=/[\\/]$/.test(Je);if(E){resolveDirectory(Je.slice(0,Je.length-1))}else{resolveFile(Je,"f",G)}break}case Le:{const E=/[\\/]$/.test(Je);if(E){resolveDirectory(Je.slice(0,Je.length-1))}else{resolveFile(Je)}break}case je:{resolveDirectory(Je);break}case ze:{resolveFile(Je,"f",G);break}case Ue:{resolveFile(Je,"c",ie);break}case qe:{resolveFile(Je,"e",q);break}case He:{if(Ee.has(Je)){$();break}Ee.add(Je);this.fs.realpath(Je,((N,j)=>{if(N)return $(N);const q=j;if(q!==Je){we.add(Je);Qe.add(Je);if(Ee.has(q))return $();Ee.add(q)}R({type:Ve,context:undefined,path:q,expected:undefined,issuer:E});$()}));break}case Ge:{if(Te.has(Je)){$();break}Te.add(Je);this.fs.realpath(Je,((N,j)=>{if(N)return $(N);const q=j;if(q!==Je){Ne.add(Je);Qe.add(Je);if(Te.has(q))return $();Te.add(q)}R({type:We,context:undefined,path:q,expected:undefined,issuer:E});$()}));break}case Ve:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Je)){process.nextTick($);break}const j=require.cache[Je];if(j&&Array.isArray(j.children)){e:for(const N of j.children){let $=N.filename;if($){R({type:He,context:undefined,path:$,expected:undefined,issuer:E});const q=le(this.fs,Je);for(const G of j.paths){if($.startsWith(G)){let j=$.slice(G.length+1);const ie=/^(@[^\\/]+[\\/])[^\\/]+/.exec(j);if(ie){R({type:He,context:undefined,path:G+$[G.length]+ie[0]+$[G.length]+"package.json",expected:false,issuer:E})}let ae=j.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);R({type:Ue,context:q,path:ae,expected:N.filename,issuer:E});continue e}}let G=_e(this.fs,q,$);if(G.endsWith(".js"))G=G.slice(0,-3);G=G.replace(/\\/g,"/");if(!G.startsWith("../"))G=`./${G}`;R({type:ze,context:q,path:G,expected:N.filename,issuer:E})}}}else if(Me&&/\.m?js$/.test(Je)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const j=N(76218);j.init.then((()=>{this.fs.readFile(Je,((N,q)=>{if(N)return $(N);try{const N=le(this.fs,Je);const $=q.toString();const[G]=j.parse($);for(const j of G){try{let q;if(j.d===-1){q=JSON.parse($.substring(j.s-1,j.e+1))}else if(j.d>-1){let E=$.substring(j.s,j.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;q=JSON.parse(E)}else{continue}R({type:qe,context:N,path:q,expected:undefined,issuer:E})}catch(R){this.logger.warn(`Parsing of ${Je} for build dependencies failed at 'import(${$.substring(j.s,j.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(R.stack)}}}catch(R){this.logger.warn(`Parsing of ${Je} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(R.stack)}process.nextTick($)}))}),$);break}else{this.logger.log(`Assuming ${Je} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick($);break}case We:{const N=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Je);const j=N?N[1]:Je;const q=ae(this.fs,j,"package.json");this.fs.readFile(q,((N,G)=>{if(N){if(N.code==="ENOENT"){Xe.add(q);const N=le(this.fs,j);if(N!==j){R({type:We,context:undefined,path:N,expected:undefined,issuer:E})}$();return}return $(N)}Qe.add(q);let ie;try{ie=JSON.parse(G.toString("utf-8"))}catch(E){return $(E)}const ae=ie.dependencies;const _e=ie.optionalDependencies;const Ee=new Set;const we=new Set;if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){Ee.add(E)}}if(typeof _e==="object"&&_e){for(const E of Object.keys(_e)){Ee.add(E);we.add(E)}}for(const N of Ee){R({type:je,context:j,path:N,expected:!we.has(N),issuer:E})}$()}));break}}}),(E=>{if(E)return $(E);for(const E of we)Ee.delete(E);for(const E of Ne)Te.delete(E);for(const E of Ze)Ye.delete(E);$(null,{files:Ee,directories:Te,missing:Ke,resolveResults:Ye,resolveDependencies:{files:Qe,directories:Je,missing:Xe}})}))}checkResolveResultsValid(E,R){const{resolveCjs:N,resolveCjsAsChild:$,resolveEsm:q,resolveContext:G}=this._createBuildDependenciesResolvers();j.eachLimit(E,20,(([E,R],j)=>{const[ie,ae,le]=E.split("\n");switch(ie){case"d":G(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"f":N(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"c":$(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"e":q(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;default:j(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===Ke){return R(null,false)}if(E){return R(E)}return R(null,true)}))}createSnapshot(E,R,N,$,j,q){const G=new Map;const ie=new Map;const ae=new Map;const le=new Map;const _e=new Map;const Ee=new Map;const we=new Map;const Ie=new Map;const Me=new Set;const Te=new Set;const Ne=new Set;const Be=new Set;const Le=new Snapshot;if(E)Le.setStartTime(E);const je=new Set;const ze=j&&j.hash?j.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){if(G.size!==0){Le.setFileTimestamps(G)}if(ie.size!==0){Le.setFileHashes(ie)}if(ae.size!==0){Le.setFileTshs(ae)}if(le.size!==0){Le.setContextTimestamps(le)}if(_e.size!==0){Le.setContextHashes(_e)}if(Ee.size!==0){Le.setContextTshs(Ee)}if(we.size!==0){Le.setMissingExistence(we)}if(Ie.size!==0){Le.setManagedItemInfo(Ie)}this._managedFilesOptimization.optimize(Le,Me);if(Me.size!==0){Le.setManagedFiles(Me)}this._managedContextsOptimization.optimize(Le,Te);if(Te.size!==0){Le.setManagedContexts(Te)}this._managedMissingOptimization.optimize(Le,Ne);if(Ne.size!==0){Le.setManagedMissing(Ne)}if(Be.size!==0){Le.setChildren(Be)}this._snapshotCache.set(Le,true);this._statCreatedSnapshots++;q(null,Le)}};const jobError=()=>{if(Ue>0){Ue=-1e8;q(null,null)}};const checkManaged=(E,R)=>{for(const N of this.immutablePathsRegExps){if(N.test(E)){R.add(E);return true}}for(const N of this.immutablePathsWithSlash){if(E.startsWith(N)){R.add(E);return true}}for(const N of this.managedPathsRegExps){const $=N.exec(E);if($){const N=getManagedItem($[1],E);if(N){je.add(N);R.add(E);return true}}}for(const N of this.managedPathsWithSlash){if(E.startsWith(N)){const $=getManagedItem(N,E);if($){je.add($);R.add(E);return true}}}return false};const captureNonManaged=(E,R)=>{const N=new Set;for(const $ of E){if(!checkManaged($,R))N.add($)}return N};if(R){const E=captureNonManaged(R,Me);switch(ze){case 3:this._fileTshsOptimization.optimize(Le,E);for(const R of E){const E=this._fileTshs.get(R);if(E!==undefined){ae.set(R,E)}else{Ue++;this._getFileTimestampAndHash(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${R}: ${E.stack}`)}jobError()}else{ae.set(R,N);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Le,E);for(const R of E){const E=this._fileHashes.get(R);if(E!==undefined){ie.set(R,E)}else{Ue++;this.fileHashQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${R}: ${E.stack}`)}jobError()}else{ie.set(R,N);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Le,E);for(const R of E){const E=this._fileTimestamps.get(R);if(E!==undefined){if(E!=="ignore"){G.set(R,E)}}else{Ue++;this.fileTimestampQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${R}: ${E.stack}`)}jobError()}else{G.set(R,N);jobDone()}}))}}break}}if(N){const E=captureNonManaged(N,Te);switch(ze){case 3:this._contextTshsOptimization.optimize(Le,E);for(const R of E){const E=this._contextTshs.get(R);let N;if(E!==undefined&&(N=getResolvedTimestamp(E))!==undefined){Ee.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${R}: ${E.stack}`)}jobError()}else{Ee.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextTsh(E,callback)}else{this.getContextTsh(R,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Le,E);for(const R of E){const E=this._contextHashes.get(R);let N;if(E!==undefined&&(N=getResolvedHash(E))!==undefined){_e.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${R}: ${E.stack}`)}jobError()}else{_e.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(R,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Le,E);for(const R of E){const E=this._contextTimestamps.get(R);if(E==="ignore")continue;let N;if(E!==undefined&&(N=getResolvedTimestamp(E))!==undefined){le.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${R}: ${E.stack}`)}jobError()}else{le.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextTimestamp(E,callback)}else{this.getContextTimestamp(R,callback)}}}break}}if($){const E=captureNonManaged($,Ne);this._missingExistenceOptimization.optimize(Le,E);for(const R of E){const E=this._fileTimestamps.get(R);if(E!==undefined){if(E!=="ignore"){we.set(R,Boolean(E))}}else{Ue++;this.fileTimestampQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${R}: ${E.stack}`)}jobError()}else{we.set(R,Boolean(N));jobDone()}}))}}}this._managedItemInfoOptimization.optimize(Le,je);for(const E of je){const R=this._managedItems.get(E);if(R!==undefined){Ie.set(E,R)}else{Ue++;this.managedItemQueue.add(E,((R,N)=>{if(R){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${R.stack}`)}jobError()}else{Ie.set(E,N);jobDone()}}))}}jobDone()}mergeSnapshots(E,R){const N=new Snapshot;if(E.hasStartTime()&&R.hasStartTime())N.setStartTime(Math.min(E.startTime,R.startTime));else if(R.hasStartTime())N.startTime=R.startTime;else if(E.hasStartTime())N.startTime=E.startTime;if(E.hasFileTimestamps()||R.hasFileTimestamps()){N.setFileTimestamps(mergeMaps(E.fileTimestamps,R.fileTimestamps))}if(E.hasFileHashes()||R.hasFileHashes()){N.setFileHashes(mergeMaps(E.fileHashes,R.fileHashes))}if(E.hasFileTshs()||R.hasFileTshs()){N.setFileTshs(mergeMaps(E.fileTshs,R.fileTshs))}if(E.hasContextTimestamps()||R.hasContextTimestamps()){N.setContextTimestamps(mergeMaps(E.contextTimestamps,R.contextTimestamps))}if(E.hasContextHashes()||R.hasContextHashes()){N.setContextHashes(mergeMaps(E.contextHashes,R.contextHashes))}if(E.hasContextTshs()||R.hasContextTshs()){N.setContextTshs(mergeMaps(E.contextTshs,R.contextTshs))}if(E.hasMissingExistence()||R.hasMissingExistence()){N.setMissingExistence(mergeMaps(E.missingExistence,R.missingExistence))}if(E.hasManagedItemInfo()||R.hasManagedItemInfo()){N.setManagedItemInfo(mergeMaps(E.managedItemInfo,R.managedItemInfo))}if(E.hasManagedFiles()||R.hasManagedFiles()){N.setManagedFiles(mergeSets(E.managedFiles,R.managedFiles))}if(E.hasManagedContexts()||R.hasManagedContexts()){N.setManagedContexts(mergeSets(E.managedContexts,R.managedContexts))}if(E.hasManagedMissing()||R.hasManagedMissing()){N.setManagedMissing(mergeSets(E.managedMissing,R.managedMissing))}if(E.hasChildren()||R.hasChildren()){N.setChildren(mergeSets(E.children,R.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(R)===true){this._snapshotCache.set(N,true)}return N}checkSnapshotValid(E,R){const N=this._snapshotCache.get(E);if(N!==undefined){this._statTestedSnapshotsCached++;if(typeof N==="boolean"){R(null,N)}else{N.push(R)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,R)}_checkSnapshotValidNoCache(E,R){let N=undefined;if(E.hasStartTime()){N=E.startTime}let $=1;const jobDone=()=>{if(--$===0){this._snapshotCache.set(E,true);R(null,true)}};const invalid=()=>{if($>0){$=-1e8;this._snapshotCache.set(E,false);R(null,false)}};const invalidWithError=(E,R)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,R)}invalid()};const checkHash=(E,R,N)=>{if(R!==N){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,R,N)}return false}return true};const checkExistence=(E,R,N)=>{if(!R!==!N){if(this._remainingLogs>0){this._log(E,R?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,R,$,j=true)=>{if(R===$)return true;if(!checkExistence(E,Boolean(R),Boolean($)))return false;if(R){if(typeof N==="number"&&R.safeTime>N){if(j&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,R.safeTime,N)}return false}if($.timestamp!==undefined&&R.timestamp!==$.timestamp){if(j&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,R.timestamp,$.timestamp)}return false}}return true};const checkContext=(E,R,$,j=true)=>{if(R===$)return true;if(!checkExistence(E,Boolean(R),Boolean($)))return false;if(R){if(typeof N==="number"&&R.safeTime>N){if(j&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,R.safeTime,N)}return false}if($.timestampHash!==undefined&&R.timestampHash!==$.timestampHash){if(j&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,R.timestampHash,$.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,R)=>{if(E||!R)return invalid();else jobDone()};for(const R of E.children){const E=this._snapshotCache.get(R);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{$++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;$++;this._checkSnapshotValidNoCache(R,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._fileTimestamps.get(E);if(R!==undefined){if(R!=="ignore"&&!checkFile(E,R,N)){invalid();return}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkFile(E,$,N)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,R)=>{const N=this._fileHashes.get(E);if(N!==undefined){if(N!=="ignore"&&!checkHash(E,N,R)){invalid();return}}else{$++;this.fileHashQueue.add(E,((N,$)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,$,R)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){processFileHashSnapshot(E,N)}}if(E.hasFileTshs()){const{fileTshs:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){if(typeof N==="string"){processFileHashSnapshot(E,N)}else{const R=this._fileTimestamps.get(E);if(R!==undefined){if(R==="ignore"||!checkFile(E,R,N,false)){processFileHashSnapshot(E,N&&N.hash)}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkFile(E,$,N,false)){processFileHashSnapshot(E,N&&N.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._contextTimestamps.get(E);if(R==="ignore")continue;let j;if(R!==undefined&&(j=getResolvedTimestamp(R))!==undefined){if(!checkContext(E,j,N)){invalid();return}}else{$++;const callback=(R,$)=>{if(R)return invalidWithError(E,R);if(!checkContext(E,$,N)){invalid()}else{jobDone()}};if(R!==undefined){this._resolveContextTimestamp(R,callback)}else{this.getContextTimestamp(E,callback)}}}}const processContextHashSnapshot=(E,R)=>{const N=this._contextHashes.get(E);let j;if(N!==undefined&&(j=getResolvedHash(N))!==undefined){if(!checkHash(E,j,R)){invalid();return}}else{$++;const callback=(N,$)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,$,R)){invalid()}else{jobDone()}};if(N!==undefined){this._resolveContextHash(N,callback)}else{this.getContextHash(E,callback)}}};if(E.hasContextHashes()){const{contextHashes:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){processContextHashSnapshot(E,N)}}if(E.hasContextTshs()){const{contextTshs:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){if(typeof N==="string"){processContextHashSnapshot(E,N)}else{const R=this._contextTimestamps.get(E);if(R==="ignore")continue;let j;if(R!==undefined&&(j=getResolvedTimestamp(R))!==undefined){if(!checkContext(E,j,N,false)){processContextHashSnapshot(E,N&&N.hash)}}else{$++;const callback=(R,$)=>{if(R)return invalidWithError(E,R);if(!checkContext(E,$,N,false)){processContextHashSnapshot(E,N&&N.hash)}jobDone()};if(R!==undefined){this._resolveContextTimestamp(R,callback)}else{this.getContextTimestamp(E,callback)}}}}}if(E.hasMissingExistence()){const{missingExistence:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._fileTimestamps.get(E);if(R!==undefined){if(R!=="ignore"&&!checkExistence(E,Boolean(R),Boolean(N))){invalid();return}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkExistence(E,Boolean($),Boolean(N))){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._managedItems.get(E);if(R!==undefined){if(!checkHash(E,R,N)){invalid();return}}else{$++;this.managedItemQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,$,N)){invalid()}else{jobDone()}}))}}}jobDone();if($>0){const N=[R];R=(E,R)=>{for(const $ of N)$(E,R)};this._snapshotCache.set(E,N)}}_readFileTimestamp(E,R){this.fs.stat(E,((N,$)=>{if(N){if(N.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return R(null,null)}return R(N)}let j;if($.isDirectory()){j={safeTime:0,timestamp:undefined}}else{const E=+$.mtime;if(E)applyMtime(E);j={safeTime:E?E+Te:Infinity,timestamp:E}}this._fileTimestamps.set(E,j);this._cachedDeprecatedFileTimestamps=undefined;R(null,j)}))}_readFileHash(E,R){this.fs.readFile(E,((N,$)=>{if(N){if(N.code==="EISDIR"){this._fileHashes.set(E,"directory");return R(null,"directory")}if(N.code==="ENOENT"){this._fileHashes.set(E,null);return R(null,null)}if(N.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return R(null,"too large")}return R(N)}const j=ie(this._hashFunction);j.update($);const q=j.digest("hex");this._fileHashes.set(E,q);R(null,q)}))}_getFileTimestampAndHash(E,R){const continueWithHash=N=>{const $=this._fileTimestamps.get(E);if($!==undefined){if($!=="ignore"){const j={...$,hash:N};this._fileTshs.set(E,j);return R(null,j)}else{this._fileTshs.set(E,N);return R(null,N)}}else{this.fileTimestampQueue.add(E,(($,j)=>{if($){return R($)}const q={...j,hash:N};this._fileTshs.set(E,q);return R(null,q)}))}};const N=this._fileHashes.get(E);if(N!==undefined){continueWithHash(N)}else{this.fileHashQueue.add(E,((E,N)=>{if(E){return R(E)}continueWithHash(N)}))}}_readContext({path:E,fromImmutablePath:R,fromManagedItem:N,fromSymlink:$,fromFile:q,fromDirectory:G,reduce:ie},le){this.fs.readdir(E,((_e,we)=>{if(_e){if(_e.code==="ENOENT"){return le(null,null)}return le(_e)}const Ie=we.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();j.map(Ie,((j,ie)=>{const le=ae(this.fs,E,j);for(const N of this.immutablePathsRegExps){if(N.test(E)){return ie(null,R(E))}}for(const N of this.immutablePathsWithSlash){if(E.startsWith(N)){return ie(null,R(E))}}for(const R of this.managedPathsRegExps){const $=R.exec(E);if($){const R=getManagedItem($[1],E);if(R){return this.managedItemQueue.add(R,((E,R)=>{if(E)return ie(E);return ie(null,N(R))}))}}}for(const R of this.managedPathsWithSlash){if(E.startsWith(R)){const E=getManagedItem(R,le);if(E){return this.managedItemQueue.add(E,((E,R)=>{if(E)return ie(E);return ie(null,N(R))}))}}}Ee(this.fs,le,((E,R)=>{if(E)return ie(E);if(typeof R==="string"){return $(le,R,ie)}if(R.isFile()){return q(le,R,ie)}if(R.isDirectory()){return G(le,R,ie)}ie(null,null)}))}),((E,R)=>{if(E)return le(E);const N=ie(Ie,R);le(null,N)}))}))}_readContextTimestamp(E,R){this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E}),fromSymlink:(E,R,N)=>{N(null,{timestampHash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>{const $=this._fileTimestamps.get(E);if($!==undefined)return N(null,$==="ignore"?null:$);const j=+R.mtime;if(j)applyMtime(j);const q={safeTime:j?j+Te:Infinity,timestamp:j};this._fileTimestamps.set(E,q);this._cachedDeprecatedFileTimestamps=undefined;N(null,q)},fromDirectory:(E,R,N)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(E,((E,R)=>{this.contextTimestampQueue.decreaseParallelism();N(E,R)}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);for(const R of E)$.update(R);let j=0;for(const E of R){if(!E){$.update("n");continue}if(E.timestamp){$.update("f");$.update(`${E.timestamp}`)}else if(E.timestampHash){$.update("d");$.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(N===undefined)N=new Set;addAll(E.symlinks,N)}if(E.safeTime){j=Math.max(j,E.safeTime)}}const q=$.digest("hex");const G={safeTime:j,timestampHash:q};if(N)G.symlinks=N;return G}},((N,$)=>{if(N)return R(N);this._contextTimestamps.set(E,$);this._cachedDeprecatedContextTimestamps=undefined;R(null,$)}))}_resolveContextTimestamp(E,R){const N=[];let $=0;Ie(E.symlinks,10,((E,R,j)=>{this._getUnresolvedContextTimestamp(E,((E,q)=>{if(E)return j(E);if(q&&q!=="ignore"){N.push(q.timestampHash);if(q.safeTime){$=Math.max($,q.safeTime)}if(q.symlinks!==undefined){for(const E of q.symlinks)R(E)}}j()}))}),(j=>{if(j)return R(j);const q=ie(this._hashFunction);q.update(E.timestampHash);if(E.safeTime){$=Math.max($,E.safeTime)}N.sort();for(const E of N){q.update(E)}R(null,E.resolved={safeTime:$,timestampHash:q.digest("hex")})}))}_readContextHash(E,R){this._readContext({path:E,fromImmutablePath:()=>"",fromManagedItem:E=>E||"",fromSymlink:(E,R,N)=>{N(null,{hash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>this.getFileHash(E,((E,R)=>{N(E,R||"")})),fromDirectory:(E,R,N)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(E,((E,R)=>{this.contextHashQueue.decreaseParallelism();N(E,R||"")}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);for(const R of E)$.update(R);for(const E of R){if(typeof E==="string"){$.update(E)}else{$.update(E.hash);if(E.symlinks){if(N===undefined)N=new Set;addAll(E.symlinks,N)}}}const j={hash:$.digest("hex")};if(N)j.symlinks=N;return j}},((N,$)=>{if(N)return R(N);this._contextHashes.set(E,$);return R(null,$)}))}_resolveContextHash(E,R){const N=[];Ie(E.symlinks,10,((E,R,$)=>{this._getUnresolvedContextHash(E,((E,j)=>{if(E)return $(E);if(j){N.push(j.hash);if(j.symlinks!==undefined){for(const E of j.symlinks)R(E)}}$()}))}),($=>{if($)return R($);const j=ie(this._hashFunction);j.update(E.hash);N.sort();for(const E of N){j.update(E)}R(null,E.resolved=j.digest("hex"))}))}_readContextTimestampAndHash(E,R){const finalize=(N,$)=>{const j=N==="ignore"?$:{...N,...$};this._contextTshs.set(E,j);R(null,j)};const N=this._contextHashes.get(E);const $=this._contextTimestamps.get(E);if(N!==undefined){if($!==undefined){finalize($,N)}else{this.contextTimestampQueue.add(E,((E,$)=>{if(E)return R(E);finalize($,N)}))}}else{if($!==undefined){this.contextHashQueue.add(E,((E,N)=>{if(E)return R(E);finalize($,N)}))}else{this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E,hash:E||""}),fromSymlink:(E,R,N)=>{N(null,{timestampHash:R,hash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>{this._getFileTimestampAndHash(E,N)},fromDirectory:(E,R,N)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(E,((E,R)=>{this.contextTshQueue.decreaseParallelism();N(E,R)}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);const j=ie(this._hashFunction);for(const R of E){$.update(R);j.update(R)}let q=0;for(const E of R){if(!E){$.update("n");continue}if(typeof E==="string"){$.update("n");j.update(E);continue}if(E.timestamp){$.update("f");$.update(`${E.timestamp}`)}else if(E.timestampHash){$.update("d");$.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(N===undefined)N=new Set;addAll(E.symlinks,N)}if(E.safeTime){q=Math.max(q,E.safeTime)}j.update(E.hash)}const G={safeTime:q,timestampHash:$.digest("hex"),hash:j.digest("hex")};if(N)G.symlinks=N;return G}},((N,$)=>{if(N)return R(N);this._contextTshs.set(E,$);return R(null,$)}))}}}_resolveContextTsh(E,R){const N=[];const $=[];let j=0;Ie(E.symlinks,10,((E,R,q)=>{this._getUnresolvedContextTsh(E,((E,G)=>{if(E)return q(E);if(G){N.push(G.hash);if(G.timestampHash)$.push(G.timestampHash);if(G.safeTime){j=Math.max(j,G.safeTime)}if(G.symlinks!==undefined){for(const E of G.symlinks)R(E)}}q()}))}),(q=>{if(q)return R(q);const G=ie(this._hashFunction);const ae=ie(this._hashFunction);G.update(E.hash);if(E.timestampHash)ae.update(E.timestampHash);if(E.safeTime){j=Math.max(j,E.safeTime)}N.sort();for(const E of N){G.update(E)}$.sort();for(const E of $){ae.update(E)}R(null,E.resolved={safeTime:j,timestampHash:ae.digest("hex"),hash:G.digest("hex")})}))}_getManagedItemDirectoryInfo(E,R){this.fs.readdir(E,((N,$)=>{if(N){if(N.code==="ENOENT"||N.code==="ENOTDIR"){return R(null,Ne)}return R(N)}const j=new Set($.map((R=>ae(this.fs,E,R))));R(null,j)}))}_getManagedItemInfo(E,R){const N=le(this.fs,E);this.managedItemDirectoryQueue.add(N,((N,$)=>{if(N){return R(N)}if(!$.has(E)){this._managedItems.set(E,"missing");return R(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return R(null,"exists")}const j=ae(this.fs,E,"package.json");this.fs.readFile(j,((N,$)=>{if(N){if(N.code==="ENOENT"||N.code==="ENOTDIR"){this.fs.readdir(E,((N,$)=>{if(!N&&$.length===1&&$[0]==="node_modules"){this._managedItems.set(E,"nested");return R(null,"nested")}const j=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn(j);return R(new Error(j))}));return}return R(N)}let j;try{j=JSON.parse($.toString("utf-8"))}catch(E){return R(E)}const q=`${j.name||""}@${j.version||""}`;this._managedItems.set(E,q);R(null,q)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[R,N]of this._fileTimestamps){if(N)E.set(R,typeof N==="object"?N.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[R,N]of this._contextTimestamps){if(N)E.set(R,typeof N==="object"?N.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,R,N)=>{"use strict";const{getEntryRuntime:$,mergeRuntimeOwned:j}=N(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(N=>{let q=undefined;for(const[R,{options:N}]of E.entries){q=j(q,$(E,R,N))}for(const E of N){const N=R.getExportsInfo(E);N.setUsedInUnknownWay(q);R.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,R,N)=>{"use strict";const $=N(62355);const j=N(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const R=E.moduleGraph;const N=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((q,G)=>{const ie=E.getLogger("webpack.FlagDependencyExportsPlugin");let ae=0;let le=0;let _e=0;let Ee=0;let we=0;let Ie=0;const{moduleMemCaches:Me}=E;const Te=new j;ie.time("restore cached provided exports");$.each(q,((E,$)=>{const j=R.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if(j.otherExportsInfo.provided!==null){_e++;j.setHasProvideInfo();j.setUnknownExportsProvided();return $()}}if(typeof E.buildInfo.hash!=="string"){Ee++;Te.enqueue(E);j.setHasProvideInfo();return $()}const q=Me&&Me.get(E);const G=q&&q.get(this);if(G!==undefined){ae++;j.restoreProvided(G);return $()}N.get(E.identifier(),E.buildInfo.hash,((R,N)=>{if(R)return $(R);if(N!==undefined){le++;j.restoreProvided(N)}else{we++;Te.enqueue(E);j.setHasProvideInfo()}$()}))}),(E=>{ie.timeEnd("restore cached provided exports");if(E)return G(E);const j=new Set;const q=new Map;let Ne;let Be;const Le=new Map;let je=true;let ze=false;const processDependenciesBlock=E=>{for(const R of E.dependencies){processDependency(R)}for(const R of E.blocks){processDependenciesBlock(R)}};const processDependency=E=>{const N=E.getExports(R);if(!N)return;Le.set(E,N)};const processExportsSpec=(E,N)=>{const $=N.exports;const j=N.canMangle;const G=N.from;const ie=N.priority;const ae=N.terminalBinding||false;const le=N.dependencies;if(N.hideExports){for(const R of N.hideExports){const N=Be.getExportInfo(R);N.unsetTarget(E)}}if($===true){if(Be.setUnknownExportsProvided(j,N.excludeExports,G&&E,G,ie)){ze=true}}else if(Array.isArray($)){const mergeExports=(N,$)=>{for(const le of $){let $;let _e=j;let Ee=ae;let we=undefined;let Ie=G;let Me=undefined;let Te=ie;let Be=false;if(typeof le==="string"){$=le}else{$=le.name;if(le.canMangle!==undefined)_e=le.canMangle;if(le.export!==undefined)Me=le.export;if(le.exports!==undefined)we=le.exports;if(le.from!==undefined)Ie=le.from;if(le.priority!==undefined)Te=le.priority;if(le.terminalBinding!==undefined)Ee=le.terminalBinding;if(le.hidden!==undefined)Be=le.hidden}const Le=N.getExportInfo($);if(Le.provided===false||Le.provided===null){Le.provided=true;ze=true}if(Le.canMangleProvide!==false&&_e===false){Le.canMangleProvide=false;ze=true}if(Ee&&!Le.terminalBinding){Le.terminalBinding=true;ze=true}if(we){const E=Le.createNestedExportsInfo();mergeExports(E,we)}if(Ie&&(Be?Le.unsetTarget(E):Le.setTarget(E,Ie,Me===undefined?[$]:Me,Te))){ze=true}const je=Le.getTarget(R);let Ue=undefined;if(je){const E=R.getExportsInfo(je.module);Ue=E.getNestedExportsInfo(je.export);const N=q.get(je.module);if(N===undefined){q.set(je.module,new Set([Ne]))}else{N.add(Ne)}}if(Le.exportsInfoOwned){if(Le.exportsInfo.setRedirectNamedTo(Ue)){ze=true}}else if(Le.exportsInfo!==Ue){Le.exportsInfo=Ue;ze=true}}};mergeExports(Be,$)}if(le){je=false;for(const E of le){const R=q.get(E);if(R===undefined){q.set(E,new Set([Ne]))}else{R.add(Ne)}}}};const notifyDependencies=()=>{const E=q.get(Ne);if(E!==undefined){for(const R of E){Te.enqueue(R)}}};ie.time("figure out provided exports");while(Te.length>0){Ne=Te.dequeue();Ie++;Be=R.getExportsInfo(Ne);je=true;ze=false;Le.clear();R.freeze();processDependenciesBlock(Ne);R.unfreeze();for(const[E,R]of Le){processExportsSpec(E,R)}if(je){j.add(Ne)}if(ze){notifyDependencies()}}ie.timeEnd("figure out provided exports");ie.log(`${Math.round(100*(Ee+we)/(ae+le+we+Ee+_e))}% of exports of modules have been determined (${_e} no declared exports, ${we} not cached, ${Ee} flagged uncacheable, ${le} from cache, ${ae} from mem cache, ${Ie-we-Ee} additional calculations due to dependencies)`);ie.time("store provided exports into cache");$.each(j,((E,$)=>{if(typeof E.buildInfo.hash!=="string"){return $()}const j=R.getExportsInfo(E).getRestoreProvidedData();const q=Me&&Me.get(E);if(q){q.set(this,j)}N.store(E.identifier(),E.buildInfo.hash,j,$)}),(E=>{ie.timeEnd("store provided exports into cache");G(E)}))}))}));const q=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{q.set(E,R.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{R.getExportsInfo(E).restoreProvided(q.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(79900);const{STAGE_DEFAULT:G}=N(82414);const ie=N(56561);const ae=N(34194);const{getEntryRuntime:le,mergeRuntimeOwned:_e}=N(37416);const{NO_EXPORTS_REFERENCED:Ee,EXPORTS_OBJECT_REFERENCED:we}=$;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:G},(N=>{if(E.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const $=E.getLogger("webpack.FlagDependencyUsagePlugin");const G=new Map;const Ie=new ae;const processReferencedModule=(E,N,$,q)=>{const ie=R.getExportsInfo(E);if(N.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ie.setUsedWithoutInfo($)){Ie.enqueue(E,$)}return}for(const R of N){let N;let q=true;if(Array.isArray(R)){N=R}else{N=R.name;q=R.canMangle!==false}if(N.length===0){if(ie.setUsedInUnknownWay($)){Ie.enqueue(E,$)}}else{let R=ie;for(let ae=0;aeE===j.Unused),j.OnlyPropertiesUsed,$)){const N=R===ie?E:G.get(R);if(N){Ie.enqueue(N,$)}}R=N;continue}}if(le.setUsedConditionally((E=>E!==j.Used),j.Used,$)){const N=R===ie?E:G.get(R);if(N){Ie.enqueue(N,$)}}break}}}}else{if(!q&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ie.setUsedForSideEffectsOnly($)){Ie.enqueue(E,$)}}};const processModule=(N,$,j)=>{const G=new Map;const ae=new ie;ae.enqueue(N);for(;;){const N=ae.dequeue();if(N===undefined)break;for(const E of N.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(E)}}for(const j of N.dependencies){const N=R.getConnection(j);if(!N||!N.module){continue}const ie=N.getActiveState($);if(ie===false)continue;const{module:ae}=N;if(ie===q.TRANSITIVE_ONLY){processModule(ae,$,false);continue}const le=G.get(ae);if(le===we){continue}const _e=E.getDependencyReferencedExports(j,$);if(le===undefined||le===Ee||_e===we){G.set(ae,_e)}else if(le!==undefined&&_e===Ee){continue}else{let E;if(Array.isArray(le)){E=new Map;for(const R of le){if(Array.isArray(R)){E.set(R.join("\n"),R)}else{E.set(R.name.join("\n"),R)}}G.set(ae,E)}else{E=le}for(const R of _e){if(Array.isArray(R)){const N=R.join("\n");const $=E.get(N);if($===undefined){E.set(N,R)}}else{const N=R.name.join("\n");const $=E.get(N);if($===undefined||Array.isArray($)){E.set(N,R)}else{E.set(N,{name:R.name,canMangle:R.canMangle&&$.canMangle})}}}}}}for(const[E,R]of G){if(Array.isArray(R)){processReferencedModule(E,R,$,j)}else{processReferencedModule(E,Array.from(R.values()),$,j)}}};$.time("initialize exports usage");for(const E of N){const N=R.getExportsInfo(E);G.set(N,E);N.setHasUseInfo()}$.timeEnd("initialize exports usage");$.time("trace exports usage in graph");const processEntryDependency=(E,N)=>{const $=R.getModule(E);if($){processReferencedModule($,Ee,N,true)}};let Me=undefined;for(const[R,{dependencies:N,includeDependencies:$,options:j}]of E.entries){const q=this.global?undefined:le(E,R,j);for(const E of N){processEntryDependency(E,q)}for(const E of $){processEntryDependency(E,q)}Me=_e(Me,q)}for(const R of E.globalEntry.dependencies){processEntryDependency(R,Me)}for(const R of E.globalEntry.includeDependencies){processEntryDependency(R,Me)}while(Ie.length){const[E,R]=Ie.dequeue();processModule(E,R,false)}$.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,R,N)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const R=N(75884);throw new R}getSize(E,R){const $=N(75884);throw new $}generate(E,{dependencyTemplates:R,runtimeTemplate:$,moduleGraph:j,type:q}){const G=N(75884);throw new G}getConcatenationBailoutReason(E,R){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:R,runtime:N}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,R){const N=R||"javascript";const $=this.map[N];return $?$.getSize(E,N):0}generate(E,R){const N=R.type;const $=this.map[N];if(!$){throw new Error(`Generator.byType: no generator specified for ${N}`)}return $.generate(E,R)}}E.exports=Generator},4642:(E,R)=>{"use strict";const connectChunkGroupAndChunk=(E,R)=>{if(E.pushChunk(R)){R.addGroup(E)}};const connectChunkGroupParentAndChild=(E,R)=>{if(E.addChild(R)){R.addParent(E)}};R.connectChunkGroupAndChunk=connectChunkGroupAndChunk;R.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class HarmonyLinkingError extends ${constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,R,N)=>{"use strict";const $=N(81627);class HookWebpackError extends ${constructor(E,R){super(E.message);this.name="HookWebpackError";this.hook=R;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${R}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,R)=>{if(E instanceof $)return E;return new HookWebpackError(E,R)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,R)=>(N,j)=>{if(N){if(N instanceof $){E(N);return}E(new HookWebpackError(N,R));return}E(null,j)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,R)=>{let N;try{N=E()}catch(E){if(E instanceof $){throw E}throw new HookWebpackError(E,R)}return N};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,R,N)=>{"use strict";const{SyncBailHook:$}=N(92960);const{RawSource:j}=N(48135);const q=N(45137);const G=N(3080);const ie=N(22352);const ae=N(53520);const le=N(76150);const _e=N(81627);const Ee=N(66298);const we=N(76302);const Ie=N(5389);const Me=N(21809);const Te=N(73158);const Ne=N(79838);const Be=N(3711);const{evaluateToIdentifier:Le}=N(48472);const{find:je,isSubset:ze}=N(26221);const Ue=N(86949);const{compareModulesById:qe}=N(68673);const{getRuntimeKey:Ge,keyToRuntime:He,forEachRuntime:We,mergeRuntimeOwned:Ve,subtractRuntime:Ke,intersectRuntime:Qe}=N(37416);const Je=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Be)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let R=Je.get(E);if(R===undefined){R={hotAcceptCallback:new $(["expression","requests"]),hotAcceptWithoutCallback:new $(["expression","requests"])};Je.set(E,R)}return R}constructor(E){this.options=E||{}}apply(E){const{_backCompat:R}=E;if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const N=[le.module];const createAcceptHandler=(E,R)=>{const{hotAcceptCallback:$,hotAcceptWithoutCallback:j}=HotModuleReplacementPlugin.getParserHooks(E);return q=>{const G=E.state.module;const ie=new Ee(`${G.moduleArgument}.hot.accept`,q.callee.range,N);ie.loc=q.loc;G.addPresentationalDependency(ie);G.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(q.arguments.length>=1){const N=E.evaluateExpression(q.arguments[0]);let ie=[];let ae=[];if(N.isString()){ie=[N]}else if(N.isArray()){ie=N.items.filter((E=>E.isString()))}if(ie.length>0){ie.forEach(((E,N)=>{const $=E.string;const j=new R($,E.range);j.optional=true;j.loc=Object.create(q.loc);j.loc.index=N;G.addDependency(j);ae.push($)}));if(q.arguments.length>1){$.call(q.arguments[1],ae);for(let R=1;R$=>{const j=E.state.module;const q=new Ee(`${j.moduleArgument}.hot.decline`,$.callee.range,N);q.loc=$.loc;j.addPresentationalDependency(q);j.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if($.arguments.length===1){const N=E.evaluateExpression($.arguments[0]);let q=[];if(N.isString()){q=[N]}else if(N.isArray()){q=N.items.filter((E=>E.isString()))}q.forEach(((E,N)=>{const q=new R(E.string,E.range);q.optional=true;q.loc=Object.create($.loc);q.loc.index=N;j.addDependency(q)}))}return true};const createHMRExpressionHandler=E=>R=>{const $=E.state.module;const j=new Ee(`${$.moduleArgument}.hot`,R.range,N);j.loc=R.loc;$.addPresentationalDependency(j);$.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Le("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,Me));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Te));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Le("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ie));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((N,{normalModuleFactory:$})=>{if(N.compiler!==E)return;N.dependencyFactories.set(Me,$);N.dependencyTemplates.set(Me,new Me.Template);N.dependencyFactories.set(Te,$);N.dependencyTemplates.set(Te,new Te.Template);N.dependencyFactories.set(we,$);N.dependencyTemplates.set(we,new we.Template);N.dependencyFactories.set(Ie,$);N.dependencyTemplates.set(Ie,new Ie.Template);let Ee=0;const Be={};const Le={};N.hooks.record.tap("HotModuleReplacementPlugin",((E,R)=>{if(R.hash===E.hash)return;const N=E.chunkGraph;R.hash=E.hash;R.hotIndex=Ee;R.fullHashChunkModuleHashes=Be;R.chunkModuleHashes=Le;R.chunkHashes={};R.chunkRuntime={};for(const N of E.chunks){R.chunkHashes[N.id]=N.hash;R.chunkRuntime[N.id]=Ge(N.runtime)}R.chunkModuleIds={};for(const $ of E.chunks){R.chunkModuleIds[$.id]=Array.from(N.getOrderedChunkModulesIterable($,qe(N)),(E=>N.getModuleId(E)))}}));const Je=new Ue;const Xe=new Ue;const Ye=new Ue;N.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const R=N.chunkGraph;const $=N.records;for(const E of N.chunks){const getModuleHash=$=>{if(N.codeGenerationResults.has($,E.runtime)){return N.codeGenerationResults.getHash($,E.runtime)}else{Ye.add($,E.runtime);return R.getModuleHash($,E.runtime)}};const j=R.getChunkFullHashModulesSet(E);if(j!==undefined){for(const R of j){Xe.add(R,E)}}const q=R.getChunkModulesIterable(E);if(q!==undefined){if($.chunkModuleHashes){if(j!==undefined){for(const R of q){const N=`${E.id}|${R.identifier()}`;const q=getModuleHash(R);if(j.has(R)){if($.fullHashChunkModuleHashes[N]!==q){Je.add(R,E)}Be[N]=q}else{if($.chunkModuleHashes[N]!==q){Je.add(R,E)}Le[N]=q}}}else{for(const R of q){const N=`${E.id}|${R.identifier()}`;const j=getModuleHash(R);if($.chunkModuleHashes[N]!==j){Je.add(R,E)}Le[N]=j}}}else{if(j!==undefined){for(const R of q){const N=`${E.id}|${R.identifier()}`;const $=getModuleHash(R);if(j.has(R)){Be[N]=$}else{Le[N]=$}}}else{for(const R of q){const N=`${E.id}|${R.identifier()}`;const $=getModuleHash(R);Le[N]=$}}}}}Ee=$.hotIndex||0;if(Je.size>0)Ee++;E.update(`${Ee}`)}));N.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:G.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=N.chunkGraph;const $=N.records;if($.hash===N.hash)return;if(!$.chunkModuleHashes||!$.chunkHashes||!$.chunkModuleIds){return}for(const[R,j]of Xe){const q=`${j.id}|${R.identifier()}`;const G=Ye.has(R,j.runtime)?E.getModuleHash(R,j.runtime):N.codeGenerationResults.getHash(R,j.runtime);if($.chunkModuleHashes[q]!==G){Je.add(R,j)}Le[q]=G}const G=new Map;let ae;for(const E of Object.keys($.chunkRuntime)){const R=He($.chunkRuntime[E]);ae=Ve(ae,R)}We(ae,(E=>{const{path:R,info:j}=N.getPathWithInfo(N.outputOptions.hotUpdateMainFilename,{hash:$.hash,runtime:E});G.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:R,assetInfo:j})}));if(G.size===0)return;const le=new Map;for(const R of N.modules){const N=E.getModuleId(R);le.set(N,R)}const Ee=new Set;for(const j of Object.keys($.chunkHashes)){const _e=He($.chunkRuntime[j]);const we=[];for(const E of $.chunkModuleIds[j]){const R=le.get(E);if(R===undefined){Ee.add(E)}else{we.push(R)}}let Ie;let Me;let Te;let Ne;let Be;let Le;let ze;const Ue=je(N.chunks,(E=>`${E.id}`===j));if(Ue){Ie=Ue.id;Le=Qe(Ue.runtime,ae);if(Le===undefined)continue;Me=E.getChunkModules(Ue).filter((E=>Je.has(E,Ue)));Te=Array.from(E.getChunkRuntimeModulesIterable(Ue)).filter((E=>Je.has(E,Ue)));const R=E.getChunkFullHashModulesIterable(Ue);Ne=R&&Array.from(R).filter((E=>Je.has(E,Ue)));const N=E.getChunkDependentHashModulesIterable(Ue);Be=N&&Array.from(N).filter((E=>Je.has(E,Ue)));ze=Ke(_e,Le)}else{Ie=`${+j}`===j?+j:j;ze=_e;Le=_e}if(ze){We(ze,(E=>{G.get(E).removedChunkIds.add(Ie)}));for(const R of we){const q=`${j}|${R.identifier()}`;const ie=$.chunkModuleHashes[q];const ae=E.getModuleRuntimes(R);if(_e===Le&&ae.has(Le)){const $=Ye.has(R,Le)?E.getModuleHash(R,Le):N.codeGenerationResults.getHash(R,Le);if($!==ie){if(R.type==="runtime"){Te=Te||[];Te.push(R)}else{Me=Me||[];Me.push(R)}}}else{We(ze,(E=>{for(const R of ae){if(typeof R==="string"){if(R===E)return}else if(R!==undefined){if(R.has(E))return}}G.get(E).removedModules.add(R)}))}}}if(Me&&Me.length>0||Te&&Te.length>0){const j=new ie;if(R)q.setChunkGraphForChunk(j,E);j.id=Ie;j.runtime=Le;if(Ue){for(const E of Ue.groupsIterable)j.addGroup(E)}E.attachModules(j,Me||[]);E.attachRuntimeModules(j,Te||[]);if(Ne){E.attachFullHashModules(j,Ne)}if(Be){E.attachDependentHashModules(j,Be)}const ae=N.getRenderManifest({chunk:j,hash:$.hash,fullHash:$.hash,outputOptions:N.outputOptions,moduleTemplates:N.moduleTemplates,dependencyTemplates:N.dependencyTemplates,codeGenerationResults:N.codeGenerationResults,runtimeTemplate:N.runtimeTemplate,moduleGraph:N.moduleGraph,chunkGraph:E});for(const E of ae){let R;let $;if("filename"in E){R=E.filename;$=E.info}else{({path:R,info:$}=N.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const j=E.render();N.additionalChunkAssets.push(R);N.emitAsset(R,j,{hotModuleReplacement:true,...$});if(Ue){Ue.files.add(R);N.hooks.chunkAsset.call(Ue,R)}}We(Le,(E=>{G.get(E).updatedChunkIds.add(Ie)}))}}const we=Array.from(Ee);const Ie=new Map;for(const{removedChunkIds:E,removedModules:R,updatedChunkIds:$,filename:j,assetInfo:q}of G.values()){const G=Ie.get(j);if(G&&(!ze(G.removedChunkIds,E)||!ze(G.removedModules,R)||!ze(G.updatedChunkIds,$))){N.warnings.push(new _e(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const R of E)G.removedChunkIds.add(R);for(const E of R)G.removedModules.add(E);for(const E of $)G.updatedChunkIds.add(E);continue}Ie.set(j,{removedChunkIds:E,removedModules:R,updatedChunkIds:$,assetInfo:q})}for(const[R,{removedChunkIds:$,removedModules:q,updatedChunkIds:G,assetInfo:ie}]of Ie){const ae={c:Array.from(G),r:Array.from($),m:q.size===0?we:we.concat(Array.from(q,(R=>E.getModuleId(R))))};const le=new j(JSON.stringify(ae));N.emitAsset(R,le,{hotModuleReplacement:true,...ie})}}));N.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,R)=>{R.add(le.hmrDownloadManifest);R.add(le.hmrDownloadUpdateHandlers);R.add(le.interceptModuleExecution);R.add(le.moduleCache);N.addRuntimeModule(E,new Ne)}));$.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));$.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));$.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));ae.getCompilationHooks(N).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,R,N)=>{"use strict";const $=N(62433);class HotUpdateChunk extends ${constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,R,N)=>{"use strict";const $=N(40674);class IgnoreErrorModuleFactory extends ${constructor(E){super();this.normalModuleFactory=E}create(E,R){this.normalModuleFactory.create(E,((E,N)=>R(null,N)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,R,N)=>{"use strict";const $=N(35817);const j=$(N(44194),(()=>N(8679)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){j(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(R=>R.filter((R=>!this._ignoreWarnings.some((N=>N(R,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(56202);const extractFragmentIndex=(E,R)=>[E,R];const sortFragmentWithIndex=([E,R],[N,$])=>{const j=E.stage-N.stage;if(j!==0)return j;const q=E.position-N.position;if(q!==0)return q;return R-$};class InitFragment{constructor(E,R,N,$,j){this.content=E;this.stage=R;this.position=N;this.key=$;this.endContent=j}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,R,N){if(R.length>0){const j=R.map(extractFragmentIndex).sort(sortFragmentWithIndex);const q=new Map;for(const[E]of j){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const R=q.get(E.key);if(R===undefined){q.set(E.key,E)}else if(Array.isArray(R)){R.push(E)}else{q.set(E.key,[R,E])}continue}else if(typeof E.merge==="function"){const R=q.get(E.key);if(R!==undefined){q.set(E.key,E.merge(R));continue}}q.set(E.key||Symbol(),E)}const G=new $;const ie=[];for(let E of q.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}G.add(E.getContent(N));const R=E.getEndContent(N);if(R){ie.push(R)}}G.add(E);for(const E of ie.reverse()){G.add(E)}return G}else{return E}}serialize(E){const{write:R}=E;R(this.content);R(this.stage);R(this.position);R(this.key);R(this.endContent)}deserialize(E){const{read:R}=E;this.content=R();this.stage=R();this.position=R();this.key=R();this.endContent=R()}}j(InitFragment,"webpack/lib/InitFragment");InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class InvalidDependenciesModuleWarning extends ${constructor(E,R){const N=R?Array.from(R).sort():[];const $=N.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${$.slice(0,3).join("\n")}${$.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=$.slice(3).join("\n");this.module=E}}j(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,R,N)=>{"use strict";const $=N(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:R})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;const R=$.getTopLevelSymbol(E.state);if(R){$.addUsage(E.state,null,R)}else{$.bailout(E.state)}}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let R=E.state.module.buildInfo.topLevelDeclarations;if(R===undefined){R=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const N of E.scope.definitions.asSet()){const $=E.getFreeInfoFromVariable(N);if($===undefined){R.add(N)}}}))};R.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);R.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,R,N)=>{"use strict";const $=N(62355);const j=N(66583);const{someInIterable:q}=N(11539);const{compareModulesById:G}=N(68673);const{dirname:ie,mkdirp:ae}=N(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((R,N)=>{const le=R.moduleGraph;$.forEach(Array.from(R.chunks),((N,$)=>{if(!N.canBeInitial()){$();return}const _e=R.chunkGraph;const Ee=R.getPath(this.options.path,{chunk:N});const we=this.options.name&&R.getPath(this.options.name,{chunk:N});const Ie=Object.create(null);for(const R of _e.getOrderedChunkModulesIterable(N,G(_e))){if(this.options.entryOnly&&!q(le.getIncomingConnections(R),(E=>E.dependency instanceof j))){continue}const N=R.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(N){const E=le.getExportsInfo(R);const $=E.getProvidedExports();const j={id:_e.getModuleId(R),buildMeta:R.buildMeta,exports:Array.isArray($)?$:undefined};Ie[N]=j}}const Me={name:we,type:this.options.type,content:Ie};const Te=this.options.format?JSON.stringify(Me,null,2):JSON.stringify(Me);const Ne=Buffer.from(Te,"utf8");ae(E.intermediateFileSystem,ie(E.intermediateFileSystem,Ee),(R=>{if(R)return $(R);E.intermediateFileSystem.writeFile(Ee,Ne,$)}))}),N)}))}}E.exports=LibManifestPlugin},43351:(E,R,N)=>{"use strict";const $=N(13984);class LibraryTemplatePlugin{constructor(E,R,N,$,j){this.library={type:R||"var",name:E,umdNamedDefine:N,auxiliaryComment:$,export:j}}apply(E){const{output:R}=E.options;R.library=this.library;new $(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,R,N)=>{"use strict";const $=N(70354);const j=N(53520);const q=N(35817);const G=q(N(80274),(()=>N(30685)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){G(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{j.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,N)=>{const j=N.resource;if(!j)return;const q=j.indexOf("?");if($.matchObject(R,q<0?j:j.substr(0,q))){for(const N of Object.keys(R)){if(N==="include"||N==="exclude"||N==="test"){continue}E[N]=R[N]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,R,N)=>{"use strict";const $=N(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{$.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(73837);const q=N(76150);const G=N(91671);const ie=G((()=>N(18161)));const ae=G((()=>N(58421)));const le=G((()=>N(67104)));class MainTemplate{constructor(E,R){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:j.deprecate(((E,N)=>{R.hooks.renderManifest.tap(E,((E,R)=>{if(!R.chunk.hasRuntime())return E;return N(E,R)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).renderRequire.tap(E,N)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).render.tap(E,((E,$)=>{if($.chunkGraph.getNumberOfEntryModules($.chunk)===0||!$.chunk.hasRuntime()){return E}return N(E,$.chunk,R.hash,R.moduleTemplates.javascript,R.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).render.tap(E,((E,$)=>{if($.chunkGraph.getNumberOfEntryModules($.chunk)===0||!$.chunk.hasRuntime()){return E}return N(E,$.chunk,R.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:j.deprecate(((E,N)=>{R.hooks.assetPath.tap(E,N)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:j.deprecate(((E,N)=>R.getAssetPath(E,N)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:j.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).chunkHash.tap(E,((E,R)=>{if(!E.hasRuntime())return;return N(R,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:j.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:j.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new $(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new $(["source","chunk","hash"]),requireExtensions:new $(["source","chunk","hash"]),requireEnsure:new $(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=le().getCompilationHooks(R);return E.createScript},get linkPrefetch(){const E=ae().getCompilationHooks(R);return E.linkPrefetch},get linkPreload(){const E=ae().getCompilationHooks(R);return E.linkPreload}});this.renderCurrentHashCode=j.deprecate(((E,R)=>{if(R){return`${q.getFullHash} ? ${q.getFullHash}().slice(0, ${R}) : ${E.slice(0,R)}`}return`${q.getFullHash} ? ${q.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=j.deprecate((E=>R.getAssetPath(R.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=j.deprecate(((E,N)=>R.getAssetPath(E,N)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=j.deprecate(((E,N)=>R.getAssetPathWithInfo(E,N)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:j.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:j.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,R,N)=>{"use strict";const $=N(73837);const j=N(45137);const q=N(32448);const G=N(75412);const ie=N(76150);const{first:ae}=N(26221);const{compareChunksById:le}=N(68673);const _e=N(56202);const Ee={};let we=1e3;const Ie=new Set(["unknown"]);const Me=new Set(["javascript"]);const Te=$.deprecate(((E,R)=>E.needRebuild(R.fileSystemInfo.getDeprecatedFileTimestamps(),R.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends q{constructor(E,R=null,N=null){super();this.type=E;this.context=R;this.layer=N;this.needId=true;this.debugId=we++;this.resolveOptions=Ee;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return j.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}j.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return j.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return j.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return G.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(G.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const R=j.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(R.isModuleInChunk(this,E))return false;R.connectChunkAndModule(E,this);return true}removeChunk(E){return j.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return j.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return j.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return j.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return j.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return j.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,le)}isProvided(E){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,R){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return R?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return R?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(R)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const N=E.getReadOnlyExportInfo(this,"__esModule");if(N.provided===false){return handleDefault()}const $=N.getTarget(E);if(!$||!$.export||$.export.length!==1||$.export[0]!=="__esModule"){return"dynamic"}switch($.module.buildMeta&&$.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return R?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let R=false;for(const N of E.getIncomingConnections(this)){if(!N.dependency||!N.dependency.optional||!N.isTargetActive(undefined)){return false}R=true}return R}isAccessibleInChunk(E,R,N){for(const N of R.groupsIterable){if(!this.isAccessibleInChunkGroup(E,N))return false}return true}isAccessibleInChunkGroup(E,R,N){const $=new Set([R]);e:for(const j of $){for(const R of j.chunks){if(R!==N&&E.isModuleInChunk(this,R))continue e}if(R.isInitial())return false;for(const E of R.parentsIterable)$.add(E)}return true}hasReasonForChunk(E,R,N){for(const[$,j]of R.getIncomingConnectionsByOriginModule(this)){if(!j.some((R=>R.isTargetActive(E.runtime))))continue;for(const R of N.getModuleChunksIterable($)){if(!this.isAccessibleInChunk(N,R,E))return true}}return false}hasReasons(E,R){for(const N of E.getIncomingConnections(this)){if(N.isTargetActive(R))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,R){R(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Te(this,E))}needRebuild(E,R){return true}updateHash(E,R={chunkGraph:j.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:N,runtime:$}=R;E.update(N.getModuleGraphHash(this,$));if(this.presentationalDependencies!==undefined){for(const N of this.presentationalDependencies){N.updateHash(E,R)}}super.updateHash(E,R)}invalidateBuild(){}identifier(){const E=N(75884);throw new E}readableIdentifier(E){const R=N(75884);throw new R}build(E,R,$,j,q){const G=N(75884);throw new G}getSourceTypes(){if(this.source===Module.prototype.source){return Ie}else{return Me}}source(E,R,$="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=N(75884);throw new E}const q=j.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const G={dependencyTemplates:E,runtimeTemplate:R,moduleGraph:q.moduleGraph,chunkGraph:q,runtime:undefined};const ie=this.codeGeneration(G).sources;return $?ie.get($):ie.get(ae(this.getSourceTypes()))}size(E){const R=N(75884);throw new R}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const R=new Map;for(const N of this.getSourceTypes()){if(N!=="unknown"){R.set(N,this.source(E.dependencyTemplates,E.runtimeTemplate,N))}}return{sources:R,runtimeRequirements:new Set([ie.module,ie.exports,ie.require])}}chunkCondition(E,R){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,R){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,R,N,$){}serialize(E){const{write:R}=E;R(this.type);R(this.layer);R(this.context);R(this.resolveOptions);R(this.factoryMeta);R(this.useSourceMap);R(this.useSimpleSourceMap);R(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);R(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);R(this.buildMeta);R(this.buildInfo);R(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:R}=E;this.type=R();this.layer=R();this.context=R();this.resolveOptions=R();this.factoryMeta=R();this.useSourceMap=R();this.useSimpleSourceMap=R();this._warnings=R();this._errors=R();this.buildMeta=R();this.buildInfo=R();this.presentationalDependencies=R();super.deserialize(E)}}_e(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:$.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:$.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,R,N)=>{"use strict";const{cutOffLoaderExecution:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleBuildError extends j{constructor(E,{from:R=null}={}){let N="Module build failed";let j=undefined;if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const R=$(E.stack);if(!E.hideStack){N+=R}else{j=R;if(typeof E.message==="string"&&E.message){N+=E.message}else{N+=E}}}else if(typeof E.message==="string"&&E.message){N+=E.message}else{N+=String(E)}}else{N+=String(E)}super(N);this.name="ModuleBuildError";this.details=j;this.error=E}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}q(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,R,N)=>{"use strict";const $=N(81627);class ModuleDependencyError extends ${constructor(E,R,N){super(R.message);this.name="ModuleDependencyError";this.details=R&&!R.hideStack?R.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=N;this.error=R;if(R&&R.hideStack){this.stack=R.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class ModuleDependencyWarning extends ${constructor(E,R,N){super(R?R.message:"");this.name="ModuleDependencyWarning";this.details=R&&!R.hideStack?R.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=N;this.error=R;if(R&&R.hideStack){this.stack=R.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}j(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,R,N)=>{"use strict";const{cleanUp:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleError extends j{constructor(E,{from:R=null}={}){let N="Module Error";if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E&&typeof E==="object"&&E.message){N+=E.message}else if(E){N+=E}super(N);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?$(E.stack,this.message):undefined}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}q(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,R,N)=>{"use strict";class ModuleFactory{create(E,R){const $=N(75884);throw new $}}E.exports=ModuleFactory},70354:(E,R,N)=>{"use strict";const $=N(35891);const j=N(91671);const q=R;q.ALL_LOADERS_RESOURCE="[all-loaders][resource]";q.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;q.LOADERS_RESOURCE="[loaders][resource]";q.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;q.RESOURCE="[resource]";q.REGEXP_RESOURCE=/\[resource\]/gi;q.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";q.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;q.RESOURCE_PATH="[resource-path]";q.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;q.ALL_LOADERS="[all-loaders]";q.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;q.LOADERS="[loaders]";q.REGEXP_LOADERS=/\[loaders\]/gi;q.QUERY="[query]";q.REGEXP_QUERY=/\[query\]/gi;q.ID="[id]";q.REGEXP_ID=/\[id\]/gi;q.HASH="[hash]";q.REGEXP_HASH=/\[hash\]/gi;q.NAMESPACE="[namespace]";q.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,R)=>()=>{const N=E();const $=N.indexOf(R);return $<0?"":N.substr($)};const getBefore=(E,R)=>()=>{const N=E();const $=N.lastIndexOf(R);return $<0?"":N.substr(0,$)};const getHash=(E,R)=>()=>{const N=$(R);N.update(E());const j=N.digest("hex");return j.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const R={};for(const N of Object.keys(E)){const $=E[N];Object.defineProperty(R,N,{get:()=>$(),set:E=>{Object.defineProperty(R,N,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return R};const G=/\[\\*([\w-]+)\\*\]/gi;q.createFilename=(E="",R,{requestShortener:N,chunkGraph:$,hashFunction:ie="md4"})=>{const ae={namespace:"",moduleFilenameTemplate:"",...typeof R==="object"?R:{moduleFilenameTemplate:R}};let le;let _e;let Ee;let we;let Ie;if(typeof E==="string"){Ie=j((()=>N.shorten(E)));Ee=Ie;we=()=>"";le=()=>E.split("!").pop();_e=getHash(Ee,ie)}else{Ie=j((()=>E.readableIdentifier(N)));Ee=j((()=>N.shorten(E.identifier())));we=()=>$.getModuleId(E);le=()=>E.identifier().split("!").pop();_e=getHash(Ee,ie)}const Me=j((()=>Ie().split("!").pop()));const Te=getBefore(Ie,"!");const Ne=getBefore(Ee,"!");const Be=getAfter(Me,"?");const resourcePath=()=>{const E=Be().length;return E===0?Me():Me().slice(0,-E)};if(typeof ae.moduleFilenameTemplate==="function"){return ae.moduleFilenameTemplate(lazyObject({identifier:Ee,shortIdentifier:Ie,resource:Me,resourcePath:j(resourcePath),absoluteResourcePath:j(le),allLoaders:j(Ne),query:j(Be),moduleId:j(we),hash:j(_e),namespace:()=>ae.namespace}))}const Le=new Map([["identifier",Ee],["short-identifier",Ie],["resource",Me],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",le],["abs-resource-path",le],["absoluteresource-path",le],["absresource-path",le],["absolute-resourcepath",le],["abs-resourcepath",le],["absoluteresourcepath",le],["absresourcepath",le],["all-loaders",Ne],["allloaders",Ne],["loaders",Te],["query",Be],["id",we],["hash",_e],["namespace",()=>ae.namespace]]);return ae.moduleFilenameTemplate.replace(q.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(q.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(G,((E,R)=>{if(R.length+2===E.length){const E=Le.get(R.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};q.replaceDuplicates=(E,R,N)=>{const $=Object.create(null);const j=Object.create(null);E.forEach(((E,R)=>{$[E]=$[E]||[];$[E].push(R);j[E]=0}));if(N){Object.keys($).forEach((E=>{$[E].sort(N)}))}return E.map(((E,q)=>{if($[E].length>1){if(N&&$[E][0]===q)return E;return R(E,q,j[E]++)}else{return E}}))};q.matchPart=(E,R)=>{if(!R)return true;R=asRegExp(R);if(Array.isArray(R)){return R.map(asRegExp).some((R=>R.test(E)))}else{return R.test(E)}};q.matchObject=(E,R)=>{if(E.test){if(!q.matchPart(R,E.test)){return false}}if(E.include){if(!q.matchPart(R,E.include)){return false}}if(E.exclude){if(q.matchPart(R,E.exclude)){return false}}return true}},75412:(E,R,N)=>{"use strict";const $=N(73837);const j=N(76632);const q=N(79900);const G=N(16102);const ie=N(4396);const ae=new Set;const getConnectionsByOriginModule=E=>{const R=new Map;let N=0;let $=undefined;for(const j of E){const{originModule:E}=j;if(N===E){$.push(j)}else{N=E;const q=R.get(E);if(q!==undefined){$=q;q.push(j)}else{const N=[j];$=N;R.set(E,N)}}}return R};const getConnectionsByModule=E=>{const R=new Map;let N=0;let $=undefined;for(const j of E){const{module:E}=j;if(N===E){$.push(j)}else{N=E;const q=R.get(E);if(q!==undefined){$=q;q.push(j)}else{const N=[j];$=N;R.set(E,N)}}}return R};class ModuleGraphModule{constructor(){this.incomingConnections=new G;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new j;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined}_getModuleGraphModule(E){let R=this._moduleMap.get(E);if(R===undefined){R=new ModuleGraphModule;this._moduleMap.set(E,R)}return R}setParents(E,R,N,$=-1){E._parentDependenciesBlockIndex=$;E._parentDependenciesBlock=R;E._parentModule=N}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}getParentBlockIndex(E){return E._parentDependenciesBlockIndex}setResolvedModule(E,R,N){const $=new q(E,R,N,undefined,R.weak,R.getCondition(this));const j=this._getModuleGraphModule(N).incomingConnections;j.add($);if(E){const R=this._getModuleGraphModule(E);if(R._unassignedConnections===undefined){R._unassignedConnections=[]}R._unassignedConnections.push($);if(R.outgoingConnections===undefined){R.outgoingConnections=new G}R.outgoingConnections.add($)}else{this._dependencyMap.set(R,$)}}updateModule(E,R){const N=this.getConnection(E);if(N.module===R)return;const $=N.clone();$.module=R;this._dependencyMap.set(E,$);N.setActive(false);const j=this._getModuleGraphModule(N.originModule);j.outgoingConnections.add($);const q=this._getModuleGraphModule(R);q.incomingConnections.add($)}removeConnection(E){const R=this.getConnection(E);const N=this._getModuleGraphModule(R.module);N.incomingConnections.delete(R);const $=this._getModuleGraphModule(R.originModule);$.outgoingConnections.delete(R);this._dependencyMap.set(E,null)}addExplanation(E,R){const N=this.getConnection(E);N.addExplanation(R)}cloneModuleAttributes(E,R){const N=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(R);$.postOrderIndex=N.postOrderIndex;$.preOrderIndex=N.preOrderIndex;$.depth=N.depth;$.exports=N.exports;$.async=N.async}removeModuleAttributes(E){const R=this._getModuleGraphModule(E);R.postOrderIndex=null;R.preOrderIndex=null;R.depth=null;R.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,R,N){if(E===R)return;const $=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(R);const q=$.outgoingConnections;if(q!==undefined){if(j.outgoingConnections===undefined){j.outgoingConnections=new G}const E=j.outgoingConnections;for(const $ of q){if(N($)){$.originModule=R;E.add($);q.delete($)}}}const ie=$.incomingConnections;const ae=j.incomingConnections;for(const E of ie){if(N(E)){E.module=R;ae.add(E);ie.delete(E)}}}copyOutgoingModuleConnections(E,R,N){if(E===R)return;const $=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(R);const q=$.outgoingConnections;if(q!==undefined){if(j.outgoingConnections===undefined){j.outgoingConnections=new G}const E=j.outgoingConnections;for(const $ of q){if(N($)){const N=$.clone();N.originModule=R;E.add(N);if(N.module!==undefined){const E=this._getModuleGraphModule(N.module);E.incomingConnections.add(N)}}}}}addExtraReason(E,R){const N=this._getModuleGraphModule(E).incomingConnections;N.add(new q(null,null,E,R))}getResolvedModule(E){const R=this.getConnection(E);return R!==undefined?R.resolvedModule:null}getConnection(E){const R=this._dependencyMap.get(E);if(R===undefined){const R=this.getParentModule(E);if(R!==undefined){const N=this._getModuleGraphModule(R);if(N._unassignedConnections&&N._unassignedConnections.length!==0){let R;for(const $ of N._unassignedConnections){this._dependencyMap.set($.dependency,$);if($.dependency===E)R=$}N._unassignedConnections.length=0;if(R!==undefined){return R}}}this._dependencyMap.set(E,null);return undefined}return R===null?undefined:R}getModule(E){const R=this.getConnection(E);return R!==undefined?R.module:null}getOrigin(E){const R=this.getConnection(E);return R!==undefined?R.originModule:null}getResolvedOrigin(E){const R=this.getConnection(E);return R!==undefined?R.resolvedOriginModule:null}getIncomingConnections(E){const R=this._getModuleGraphModule(E).incomingConnections;return R}getOutgoingConnections(E){const R=this._getModuleGraphModule(E).outgoingConnections;return R===undefined?ae:R}getIncomingConnectionsByOriginModule(E){const R=this._getModuleGraphModule(E).incomingConnections;return R.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(E){const R=this._getModuleGraphModule(E).outgoingConnections;return R===undefined?undefined:R.getFromUnorderedCache(getConnectionsByModule)}getProfile(E){const R=this._getModuleGraphModule(E);return R.profile}setProfile(E,R){const N=this._getModuleGraphModule(E);N.profile=R}getIssuer(E){const R=this._getModuleGraphModule(E);return R.issuer}setIssuer(E,R){const N=this._getModuleGraphModule(E);N.issuer=R}setIssuerIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.issuer===undefined)N.issuer=R}getOptimizationBailout(E){const R=this._getModuleGraphModule(E);return R.optimizationBailout}getProvidedExports(E){const R=this._getModuleGraphModule(E);return R.exports.getProvidedExports()}isExportProvided(E,R){const N=this._getModuleGraphModule(E);const $=N.exports.isExportProvided(R);return $===undefined?null:$}getExportsInfo(E){const R=this._getModuleGraphModule(E);return R.exports}getExportInfo(E,R){const N=this._getModuleGraphModule(E);return N.exports.getExportInfo(R)}getReadOnlyExportInfo(E,R){const N=this._getModuleGraphModule(E);return N.exports.getReadOnlyExportInfo(R)}getUsedExports(E,R){const N=this._getModuleGraphModule(E);return N.exports.getUsedExports(R)}getPreOrderIndex(E){const R=this._getModuleGraphModule(E);return R.preOrderIndex}getPostOrderIndex(E){const R=this._getModuleGraphModule(E);return R.postOrderIndex}setPreOrderIndex(E,R){const N=this._getModuleGraphModule(E);N.preOrderIndex=R}setPreOrderIndexIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.preOrderIndex===null){N.preOrderIndex=R;return true}return false}setPostOrderIndex(E,R){const N=this._getModuleGraphModule(E);N.postOrderIndex=R}setPostOrderIndexIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.postOrderIndex===null){N.postOrderIndex=R;return true}return false}getDepth(E){const R=this._getModuleGraphModule(E);return R.depth}setDepth(E,R){const N=this._getModuleGraphModule(E);N.depth=R}setDepthIfLower(E,R){const N=this._getModuleGraphModule(E);if(N.depth===null||N.depth>R){N.depth=R;return true}return false}isAsync(E){const R=this._getModuleGraphModule(E);return R.async}setAsync(E){const R=this._getModuleGraphModule(E);R.async=true}getMeta(E){let R=this._metaMap.get(E);if(R===undefined){R=Object.create(null);this._metaMap.set(E,R)}return R}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(E){this._cache=new ie;this._cacheStage=E}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(E,...R){if(this._cache===undefined)return E(this,...R);return this._cache.provide(E,...R,(()=>E(this,...R)))}setModuleMemCaches(E){this._moduleMemCaches=E}dependencyCacheProvide(E,...R){const N=R.pop();if(this._moduleMemCaches&&this._cacheStage){const $=this._moduleMemCaches.get(this.getParentModule(E));if($!==undefined){return $.provide(E,this._cacheStage,...R,(()=>N(this,E,...R)))}}if(this._cache===undefined)return N(this,E,...R);return this._cache.provide(E,...R,(()=>N(this,E,...R)))}static getModuleGraphForModule(E,R,N){const j=_e.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=le.get(E);if(!N)throw new Error(R+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return N}),R+": Use new ModuleGraph API",N);_e.set(R,q);return q(E)}static setModuleGraphForModule(E,R){le.set(E,R)}static clearModuleGraphForModule(E){le.delete(E)}}const le=new WeakMap;const _e=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=q},79900:E=>{"use strict";const R=Symbol("transitive only");const N=Symbol("circular connection");const addConnectionStates=(E,N)=>{if(E===true||N===true)return true;if(E===false)return N;if(N===false)return E;if(E===R)return N;if(N===R)return E;return E};const intersectConnectionStates=(E,R)=>{if(E===false||R===false)return false;if(E===true)return R;if(R===true)return E;if(E===N)return R;if(R===N)return E;return E};class ModuleGraphConnection{constructor(E,R,N,$,j=false,q=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=R;this.resolvedModule=N;this.module=N;this.weak=j;this.conditional=!!q;this._active=q!==false;this.condition=q||undefined;this.explanations=undefined;if($){this.explanations=new Set;this.explanations.add($)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const R=this.condition;this.condition=(N,$)=>intersectConnectionStates(R(N,$),E(N,$))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=R;E.exports.CIRCULAR_CONNECTION=N},21542:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j,CachedSource:q}=N(48135);const{UsageState:G}=N(76632);const ie=N(58159);const ae=N(18161);const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const printExportsInfoToSource=(E,R,N,$,j,q=new Set)=>{const ae=N.otherExportsInfo;let le=0;const _e=[];for(const E of N.orderedExports){if(!q.has(E)){q.add(E);_e.push(E)}else{le++}}let Ee=false;if(!q.has(ae)){q.add(ae);Ee=true}else{le++}for(const N of _e){const G=N.getTarget($);E.add(ie.toComment(`${R}export ${JSON.stringify(N.name).slice(1,-1)} [${N.getProvidedInfo()}] [${N.getUsedInfo()}] [${N.getRenameInfo()}]${G?` -> ${G.module.readableIdentifier(j)}${G.export?` .${G.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(N.exportsInfo){printExportsInfoToSource(E,R+" ",N.exportsInfo,$,j,q)}}if(le){E.add(ie.toComment(`${R}... (${le} already listed exports)`)+"\n")}if(Ee){const N=ae.getTarget($);if(N||ae.provided!==false||ae.getUsed(undefined)!==G.Unused){const $=_e.length>0||le>0?"other exports":"exports";E.add(ie.toComment(`${R}${$} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${N?` -> ${N.module.readableIdentifier(j)}`:""}`)+"\n")}}};const le=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:R}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const N=ae.getCompilationHooks(E);N.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,N,{chunk:G,chunkGraph:ae,moduleGraph:_e,runtimeTemplate:Ee})=>{const{requestShortener:we}=Ee;let Ie;let Me=le.get(we);if(Me===undefined){le.set(we,Me=new WeakMap);Me.set(N,Ie={header:undefined,full:new WeakMap})}else{Ie=Me.get(N);if(Ie===undefined){Me.set(N,Ie={header:undefined,full:new WeakMap})}else if(!R){const R=Ie.full.get(E);if(R!==undefined)return R}}const Te=new $;let Ne=Ie.header;if(Ne===undefined){const E=N.readableIdentifier(we);const R=E.replace(/\*\//g,"*_/");const $="*".repeat(R.length);const q=`/*!****${$}****!*\\\n !*** ${R} ***!\n \\****${$}****/\n`;Ne=new j(q);Ie.header=Ne}Te.add(Ne);if(R){const R=N.buildMeta.exportsType;Te.add(ie.toComment(R?`${R} exports`:"unknown exports (runtime-defined)")+"\n");if(R){const E=_e.getExportsInfo(N);printExportsInfoToSource(Te,"",E,_e,we)}Te.add(ie.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(N,G.runtime))}`)+"\n");const $=_e.getOptimizationBailout(N);if($){for(const E of $){let R;if(typeof E==="function"){R=E(we)}else{R=E}Te.add(ie.toComment(`${R}`)+"\n")}}Te.add(E);return Te}else{Te.add(E);const R=new q(Te);Ie.full.set(E,R);return R}}));N.chunkHash.tap("ModuleInfoHeaderPlugin",((E,R)=>{R.update("ModuleInfoHeaderPlugin");R.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,R,N)=>{"use strict";const $=N(81627);const j={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends ${constructor(E,R,N){let $=`Module not found: ${R.toString()}`;const q=R.message.match(/Can't resolve '([^']+)'/);if(q){const E=q[1];const R=j[E];if(R){const N=R.indexOf("/");const j=N>0?R.slice(0,N):R;$+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";$+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${R}") }'\n`+`\t- install '${j}'\n`;$+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super($);this.name="ModuleNotFoundError";this.details=R.details;this.module=E;this.error=R;this.loc=N}}E.exports=ModuleNotFoundError},14489:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);const q=Buffer.from([0,97,115,109]);class ModuleParseError extends ${constructor(E,R,N,$){let j="Module parse failed: "+(R&&R.message);let G=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(q)||typeof E==="string"&&/^\0asm/.test(E))&&!$.startsWith("webassembly")){j+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";j+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";j+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";j+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!N){j+="\nYou may need an appropriate loader to handle this file type."}else if(N.length>=1){j+=`\nFile was processed with these loaders:${N.map((E=>`\n * ${E}`)).join("")}`;j+="\nYou may need an additional loader to handle the result of these loaders."}else{j+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(R&&R.loc&&typeof R.loc==="object"&&typeof R.loc.line==="number"){var ie=R.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){j+="\n(Source code omitted for this binary file)"}else{const R=E.split(/\r?\n/);const N=Math.max(0,ie-3);const $=R.slice(N,ie-1);const q=R[ie-1];const G=R.slice(ie,ie+2);j+=$.map((E=>`\n| ${E}`)).join("")+`\n> ${q}`+G.map((E=>`\n| ${E}`)).join("")}G={start:R.loc}}else if(R&&R.stack){j+="\n"+R.stack}super(j);this.name="ModuleParseError";this.loc=G;this.error=R}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}j(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,R,N)=>{"use strict";const $=N(81627);class ModuleRestoreError extends ${constructor(E,R){let N="Module restore failed: ";let $=undefined;if(R!==null&&typeof R==="object"){if(typeof R.stack==="string"&&R.stack){const E=R.stack;N+=E}else if(typeof R.message==="string"&&R.message){N+=R.message}else{N+=R}}else{N+=String(R)}super(N);this.name="ModuleRestoreError";this.details=$;this.module=E;this.error=R}}E.exports=ModuleRestoreError},31467:(E,R,N)=>{"use strict";const $=N(81627);class ModuleStoreError extends ${constructor(E,R){let N="Module storing failed: ";let $=undefined;if(R!==null&&typeof R==="object"){if(typeof R.stack==="string"&&R.stack){const E=R.stack;N+=E}else if(typeof R.message==="string"&&R.message){N+=R.message}else{N+=R}}else{N+=String(R)}super(N);this.name="ModuleStoreError";this.details=$;this.module=E;this.error=R}}E.exports=ModuleStoreError},68661:(E,R,N)=>{"use strict";const $=N(73837);const j=N(91671);const q=j((()=>N(18161)));class ModuleTemplate{constructor(E,R){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContent.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContent.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContainer.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModulePackage.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:$.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:$.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,R,N)=>{"use strict";const{cleanUp:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleWarning extends j{constructor(E,{from:R=null}={}){let N="Module Warning";if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E&&typeof E==="object"&&E.message){N+=E.message}else if(E){N+=String(E)}super(N);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?$(E.stack,this.message):undefined}serialize(E){const{write:R}=E;R(this.warning);super.serialize(E)}deserialize(E){const{read:R}=E;this.warning=R();super.deserialize(E)}}q(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,R,N)=>{"use strict";const $=N(62355);const{SyncHook:j,MultiHook:q}=N(92960);const G=N(27310);const ie=N(34884);const ae=N(10869);const le=N(56561);E.exports=class MultiCompiler{constructor(E,R){if(!Array.isArray(E)){E=Object.keys(E).map((R=>{E[R].name=R;return E[R]}))}this.hooks=Object.freeze({done:new j(["stats"]),invalid:new q(E.map((E=>E.hooks.invalid))),run:new q(E.map((E=>E.hooks.run))),watchClose:new j([]),watchRun:new q(E.map((E=>E.hooks.watchRun))),infrastructureLog:new q(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:R.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const N=this.compilers.map((()=>null));let $=0;for(let E=0;E{if(!q){q=true;$++}N[j]=E;if($===this.compilers.length){this.hooks.done.call(new ie(N))}}));R.hooks.invalid.tap("MultiCompiler",(()=>{if(q){q=false;$--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const R of this.compilers){while(R.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const R of this.compilers){R.inputFileSystem=E}}set outputFileSystem(E){for(const R of this.compilers){R.outputFileSystem=E}}set watchFileSystem(E){for(const R of this.compilers){R.watchFileSystem=E}}set intermediateFileSystem(E){for(const R of this.compilers){R.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,R){this.dependencies.set(E,R)}validateDependencies(E){const R=new Set;const N=[];const targetFound=E=>{for(const N of R){if(N.target===E){return true}}return false};const sortEdges=(E,R)=>E.source.name.localeCompare(R.source.name)||E.target.name.localeCompare(R.target.name);for(const E of this.compilers){const $=this.dependencies.get(E);if($){for(const j of $){const $=this.compilers.find((E=>E.name===j));if(!$){N.push(j)}else{R.add({source:E,target:$})}}}}const $=N.map((E=>`Compiler dependency \`${E}\` not found.`));const j=this.compilers.filter((E=>!targetFound(E)));while(j.length>0){const E=j.pop();for(const N of R){if(N.source===E){R.delete(N);const E=N.target;if(!targetFound(E)){j.push(E)}}}}if(R.size>0){const E=Array.from(R).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");$.unshift(E.join("\n"))}if($.length>0){const R=$.join("\n");E(new Error(R));return false}return true}runWithDependencies(E,R,N){const j=new Set;let q=E;const isDependencyFulfilled=E=>j.has(E);const getReadyCompilers=()=>{let E=[];let R=q;q=[];for(const N of R){const R=this.dependencies.get(N);const $=!R||R.every(isDependencyFulfilled);if($){E.push(N)}else{q.push(N)}}return E};const runCompilers=E=>{if(q.length===0)return E();$.map(getReadyCompilers(),((E,N)=>{R(E,(R=>{if(R)return N(R);j.add(E.name);runCompilers(N)}))}),E)};runCompilers(N)}_runGraph(E,R,N){const j=this.compilers.map((E=>({compiler:E,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const q=new Map;for(const E of j)q.set(E.compiler.name,E);for(const E of j){const R=this.dependencies.get(E.compiler);if(!R)continue;for(const N of R){const R=q.get(N);E.parents.push(R);R.children.push(E)}}const G=new le;for(const E of j){if(E.parents.length===0){E.state="queued";G.enqueue(E)}}let ae=false;let _e=0;const Ee=this._options.parallelism;const nodeDone=(E,R,q)=>{if(ae)return;if(R){ae=true;return $.each(j,((E,R)=>{if(E.compiler.watching){E.compiler.watching.close(R)}else{R()}}),(()=>N(R)))}E.result=q;_e--;if(E.state==="running"){E.state="done";for(const R of E.children){if(R.state==="blocked")G.enqueue(R)}}else if(E.state==="running-outdated"){E.state="blocked";G.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const R of E.children){nodeInvalidFromParent(R)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const R of E.children){nodeInvalidFromParent(R)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){G.enqueue(E);processQueue()}};const we=[];j.forEach(((R,N)=>{we.push(R.setupResult=E(R.compiler,N,nodeDone.bind(null,R),(()=>R.state!=="starting"&&R.state!=="running"),(()=>nodeChange(R)),(()=>nodeInvalid(R))))}));let Ie=true;const processQueue=()=>{if(Ie)return;Ie=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(_e0&&!ae){const E=G.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){_e++;E.state="starting";R(E.compiler,E.setupResult,nodeDone.bind(null,E));E.state="running"}}Ie=false;if(!ae&&_e===0&&j.every((E=>E.state==="done"))){const E=[];for(const R of j){const N=R.result;if(N){R.result=undefined;E.push(N)}}if(E.length>0){N(null,new ie(E))}}};processQueueWorker();return we}watch(E,R){if(this.running){return R(new G)}this.running=true;if(this.validateDependencies(R)){const N=this._runGraph(((R,N,$,j,q,G)=>{const ie=R.watch(Array.isArray(E)?E[N]:E,$);if(ie){ie._onInvalid=G;ie._onChange=q;ie._isBlocked=j}return ie}),((E,R,N)=>{if(E.watching!==R)return;if(!R.running)R.invalidate()}),R);return new ae(N,this)}return new ae([],this)}run(E){if(this.running){return E(new G)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,R,N)=>E.run(N)),((R,N)=>{this.running=false;if(E!==undefined){return E(R,N)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){$.each(this.compilers,((E,R)=>{E.close(R)}),E)}}},34884:(E,R,N)=>{"use strict";const $=N(49197);const indent=(E,R)=>{const N=E.replace(/\n([^\n])/g,"\n"+R+"$1");return R+N};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,R){if(!E){E={}}const{children:N=undefined,...$}=typeof E==="string"?{preset:E}:E;const j=this.stats.map(((E,j)=>{const q=Array.isArray(N)?N[j]:N;return E.compilation.createStatsOptions({...$,...typeof q==="string"?{preset:q}:q&&typeof q==="object"?q:undefined},R)}));return{version:j.every((E=>E.version)),hash:j.every((E=>E.hash)),errorsCount:j.every((E=>E.errorsCount)),warningsCount:j.every((E=>E.warningsCount)),errors:j.every((E=>E.errors)),warnings:j.every((E=>E.warnings)),children:j}}toJson(E){E=this._createChildOptions(E,{forToString:false});const R={};R.children=this.stats.map(((R,N)=>{const j=R.toJson(E.children[N]);const q=R.compilation.name;const G=q&&$.makePathsRelative(E.context,q,R.compilation.compiler.root);j.name=G;return j}));if(E.version){R.version=R.children[0].version}if(E.hash){R.hash=R.children.map((E=>E.hash)).join("")}const mapError=(E,R)=>({...R,compilerPath:R.compilerPath?`${E.name}.${R.compilerPath}`:E.name});if(E.errors){R.errors=[];for(const E of R.children){for(const N of E.errors){R.errors.push(mapError(E,N))}}}if(E.warnings){R.warnings=[];for(const E of R.children){for(const N of E.warnings){R.warnings.push(mapError(E,N))}}}if(E.errorsCount){R.errorsCount=0;for(const E of R.children){R.errorsCount+=E.errorsCount}}if(E.warningsCount){R.warningsCount=0;for(const E of R.children){R.warningsCount+=E.warningsCount}}return R}toString(E){E=this._createChildOptions(E,{forToString:true});const R=this.stats.map(((R,N)=>{const j=R.toString(E.children[N]);const q=R.compilation.name;const G=q&&$.makePathsRelative(E.context,q,R.compilation.compiler.root).replace(/\|/g," ");if(!j)return j;return G?`${G}:\n${indent(j," ")}`:j}));return R.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,R,N)=>{"use strict";const $=N(62355);class MultiWatching{constructor(E,R){this.watchings=E;this.compiler=R}invalidate(E){if(E){$.each(this.watchings,((E,R)=>E.invalidate(R)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){$.forEach(this.watchings,((E,R)=>{E.close(R)}),(R=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(R)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class NoModeWarning extends ${constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},39960:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class NodeStuffInWebError extends ${constructor(E,R,N){super(`${JSON.stringify(R)} has been used, it will be undefined in next major version.\n${N}`);this.name="NodeStuffInWebError";this.loc=E}}j(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");E.exports=NodeStuffInWebError},32125:(E,R,N)=>{"use strict";const $=N(39960);const j=N(76150);const q=N(59455);const G=N(66298);const{evaluateToString:ie,expressionIsUnsupported:ae}=N(48472);const{relative:le}=N(95396);const{parseResource:_e}=N(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((N,{normalModuleFactory:Ee})=>{const handler=(N,Ee)=>{if(Ee.node===false)return;let we=R;if(Ee.node){we={...we,...Ee.node}}if(we.global!==false){const E=we.global==="warn";N.hooks.expression.for("global").tap("NodeStuffPlugin",(R=>{const q=new G(j.global,R.range,[j.global]);q.loc=R.loc;N.state.module.addPresentationalDependency(q);if(E){N.state.module.addWarning(new $(q.loc,"global","The global namespace object is Node.js feature and doesn't present in browser."))}}))}const setModuleConstant=(E,R,j)=>{N.hooks.expression.for(E).tap("NodeStuffPlugin",(G=>{const ie=new q(JSON.stringify(R(N.state.module)),G.range,E);ie.loc=G.loc;N.state.module.addPresentationalDependency(ie);if(j){N.state.module.addWarning(new $(ie.loc,E,j))}return true}))};const setConstant=(E,R,N)=>setModuleConstant(E,(()=>R),N);const Ie=E.context;if(we.__filename){switch(we.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","The __filename is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__filename",(R=>le(E.inputFileSystem,Ie,R.resource)));break}N.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!N.state.module)return;const R=_e(N.state.module.resource);return ie(R.path)(E)}))}if(we.__dirname){switch(we.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","The __dirname is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__dirname",(R=>le(E.inputFileSystem,Ie,R.context)));break}N.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!N.state.module)return;return ie(N.state.module.context)(E)}))}N.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ae(N,"require.extensions is not supported by webpack. Use a loader instead."))};Ee.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);Ee.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,R,N)=>{"use strict";const $=N(78688);const{getContext:j,runLoaders:q}=N(60425);const G=N(63477);const{HookMap:ie,SyncHook:ae,AsyncSeriesBailHook:le}=N(92960);const{CachedSource:_e,OriginalSource:Ee,RawSource:we,SourceMapSource:Ie}=N(48135);const Me=N(3080);const Te=N(3728);const Ne=N(53453);const Be=N(26509);const Le=N(91613);const je=N(79900);const ze=N(14489);const Ue=N(8893);const qe=N(76150);const Ge=N(77090);const He=N(81627);const We=N(72380);const Ve=N(83379);const{isSubset:Ke}=N(26221);const{getScheme:Qe}=N(45754);const{compareLocations:Je,concatComparators:Xe,compareSelect:Ye,keepOriginalOrder:Ze}=N(68673);const et=N(35891);const{createFakeHook:tt}=N(16595);const{join:nt}=N(95396);const{contextify:rt,absolutify:st,makePathsRelative:it}=N(49197);const ot=N(56202);const lt=N(91671);const ct=lt((()=>N(49619)));const ut=lt((()=>N(15235).validate));const pt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,R,N)=>{if(R.startsWith("webpack://"))return R;return`webpack://${it(E,R,N)}`};const contextifySourceMap=(E,R,N)=>{if(!Array.isArray(R.sources))return R;const{sourceRoot:$}=R;const j=!$?E=>E:$.endsWith("/")?E=>E.startsWith("/")?`${$.slice(0,-1)}${E}`:`${$}${E}`:E=>E.startsWith("/")?`${$}${E}`:`${$}/${E}`;const q=R.sources.map((R=>contextifySourceUrl(E,j(R),N)));return{...R,file:"x",sourceRoot:undefined,sources:q}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends He{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}ot(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const dt=new WeakMap;class NormalModule extends Ne{static getCompilationHooks(E){if(!(E instanceof Me)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=dt.get(E);if(R===undefined){R={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new ie((E=>{const N=R.readResource.for(E);return tt({tap:(E,R)=>N.tap(E,(E=>R(E.resource,E._module))),tapAsync:(E,R)=>N.tapAsync(E,((E,N)=>R(E.resource,E._module,N))),tapPromise:(E,R)=>N.tapPromise(E,(E=>R(E.resource,E._module)))})})),readResource:new ie((()=>new le(["loaderContext"]))),needBuild:new le(["module","context"])};dt.set(E,R)}return R}constructor({layer:E,type:R,request:N,userRequest:$,rawRequest:q,loaders:G,resource:ie,resourceResolveData:ae,context:le,matchResource:_e,parser:Ee,parserOptions:we,generator:Ie,generatorOptions:Me,resolveOptions:Te}){super(R,le||j(ie),E);this.request=N;this.userRequest=$;this.rawRequest=q;this.binary=/^(asset|webassembly)\b/.test(R);this.parser=Ee;this.parserOptions=we;this.generator=Ie;this.generatorOptions=Me;this.resource=ie;this.resourceResolveData=ae;this.matchResource=_e;this.loaders=G;if(Te!==undefined){this.resolveOptions=Te}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){if(this.type==="javascript/auto"){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return rt(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const R=E.indexOf("?");if(R>=0)return E.substr(0,R);return E}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.binary=R.binary;this.request=R.request;this.userRequest=R.userRequest;this.rawRequest=R.rawRequest;this.parser=R.parser;this.parserOptions=R.parserOptions;this.generator=R.generator;this.generatorOptions=R.generatorOptions;this.resource=R.resource;this.resourceResolveData=R.resourceResolveData;this.context=R.context;this.matchResource=R.matchResource;this.loaders=R.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,R){this._restoreFromUnsafeCache(E,R)}_restoreFromUnsafeCache(E,R){super._restoreFromUnsafeCache(E,R);this.parserOptions=E.parserOptions;this.parser=R.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=R.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,R,N,$,j){if($){if(typeof $==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new Ee(N,contextifySourceUrl(E,$,j))}if(this.useSourceMap){return new Ie(N,R,contextifySourceMap(E,$,j))}}return new we(N)}_createLoaderContext(E,R,N,j,q){const{requestShortener:ie}=N.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(Ie);if(!E)return"(not in loader scope)";return ie.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>Ie.addDependency(E)},contextDependencies:{add:E=>Ie.addContextDependency(E)},missingDependencies:{add:E=>Ie.addMissingDependency(E)}});const ae=lt((()=>st.bindCache(N.compiler.root)));const le=lt((()=>st.bindContextCache(this.context,N.compiler.root)));const _e=lt((()=>rt.bindCache(N.compiler.root)));const Ee=lt((()=>rt.bindContextCache(this.context,N.compiler.root)));const we={absolutify:(E,R)=>E===this.context?le()(R):ae()(E,R),contextify:(E,R)=>E===this.context?Ee()(R):_e()(E,R),createHash:E=>et(E||N.outputOptions.hashFunction)};const Ie={version:2,getOptions:E=>{const R=this.getCurrentLoader(Ie);let{options:N}=R;if(typeof N==="string"){if(N.substr(0,1)==="{"&&N.substr(-1)==="}"){try{N=$(N)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{N=G.parse(N,"&","=",{maxKeys:0})}}if(N===null||N===undefined){N={}}if(E){let R="Loader";let $="options";let j;if(E.title&&(j=/^(.+) (.+)$/.exec(E.title))){[,R,$]=j}ut()(E,N,{name:R,baseDataPath:$})}return N},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Ue(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Le(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const R=this.getCurrentLoader(Ie);return N.getLogger((()=>[R&&R.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(R,N,$){E.resolve({},R,N,getResolveContext(),$)},getResolve(R){const N=R?E.withOptions(R):E;return(E,R,$)=>{if($){N.resolve({},E,R,getResolveContext(),$)}else{return new Promise((($,j)=>{N.resolve({},E,R,getResolveContext(),((E,R)=>{if(E)j(E);else $(R)}))}))}}},emitFile:(E,$,j,q)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(R.context,E,$,j,N.compiler.root);this.buildInfo.assetsInfo.set(E,q)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new Ve}this.buildInfo.buildDependencies.add(E)},utils:we,rootContext:R.context,webpack:true,sourceMap:!!this.useSourceMap,mode:R.mode||"production",_module:this,_compilation:N,_compiler:N.compiler,fs:j};Object.assign(Ie,R.loader);q.loader.call(Ie,this);return Ie}getCurrentLoader(E,R=E.loaderIndex){if(this.loaders&&this.loaders.length&&R=0&&this.loaders[R]){return this.loaders[R]}return null}createSource(E,R,N,$){if(Buffer.isBuffer(R)){return new we(R)}if(!this.identifier){return new we(R)}const j=this.identifier();if(this.useSourceMap&&N){return new Ie(R,contextifySourceUrl(E,j,$),contextifySourceMap(E,N,$))}if(this.useSourceMap||this.useSimpleSourceMap){return new Ee(R,contextifySourceUrl(E,j,$))}return new we(R)}_doBuild(E,R,N,$,j,G){const ie=this._createLoaderContext(N,E,R,$,j);const processResult=(N,$)=>{if(N){if(!(N instanceof Error)){N=new NonErrorEmittedError(N)}const E=this.getCurrentLoader(ie);const $=new Be(N,{from:E&&R.runtimeTemplate.requestShortener.shorten(E.loader)});return G($)}const j=$[0];const q=$.length>=1?$[1]:null;const ae=$.length>=2?$[2]:null;if(!Buffer.isBuffer(j)&&typeof j!=="string"){const E=this.getCurrentLoader(ie,0);const N=new Error(`Final loader (${E?R.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const $=new Be(N);return G($)}this._source=this.createSource(E.context,this.binary?asBuffer(j):asString(j),q,R.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return G()};this.buildInfo.fileDependencies=new Ve;this.buildInfo.contextDependencies=new Ve;this.buildInfo.missingDependencies=new Ve;this.buildInfo.cacheable=true;try{j.beforeLoaders.call(this.loaders,this,ie)}catch(E){processResult(E);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new Ve}q({resource:this.resource,loaders:this.loaders,context:ie,processResource:(E,R,N)=>{const $=E.resource;const q=Qe($);j.readResource.for(q).callAsync(E,((E,R)=>{if(E)return N(E);if(typeof R!=="string"&&!R){return N(new Ge(q,$))}return N(null,R)}))}},((E,R)=>{ie._compilation=ie._compiler=ie._module=ie.fs=undefined;if(!R){this.buildInfo.cacheable=false;return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(R.fileDependencies);this.buildInfo.contextDependencies.addAll(R.contextDependencies);this.buildInfo.missingDependencies.addAll(R.missingDependencies);for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&R.cacheable;processResult(E,R.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,R){if(typeof E==="string"){return R.startsWith(E)}if(typeof E==="function"){return E(R)}return E.test(R)}shouldPreventParsing(E,R){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,R)}for(let N=0;N{if(N){this.markModuleAsErrored(N);this._initBuildHash(R);return j()}const handleParseError=N=>{const $=this._source.source();const q=this.loaders.map((N=>rt(E.context,N.loader,R.compiler.root)));const G=new ze($,N,q,this.type);this.markModuleAsErrored(G);this._initBuildHash(R);return j()};const handleParseResult=E=>{this.dependencies.sort(Xe(Ye((E=>E.loc),Je),Ze(this.dependencies)));this._initBuildHash(R);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{G.beforeSnapshot.call(this)}catch(E){this.markModuleAsErrored(E);return j()}const E=R.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return j()}let N=undefined;const checkDependencies=E=>{for(const $ of E){if(!pt.test($)){if(N===undefined)N=new Set;N.add($);E.delete($);try{const N=$.replace(/[\\/]?\*.*$/,"");const j=nt(R.fileSystemInfo.fs,this.context,N);if(j!==$&&pt.test(j)){(N!==$?this.buildInfo.contextDependencies:E).add(j)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(N!==undefined){const E=ct();this.addWarning(new E(this,N))}R.fileSystemInfo.createSnapshot(q,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,R)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=R;return j()}))};try{G.beforeParse.call(this)}catch(N){this.markModuleAsErrored(N);this._initBuildHash(R);return j()}const $=E.module&&E.module.noParse;if(this.shouldPreventParsing($,this.request)){this.buildInfo.parsed=false;this._initBuildHash(R);return handleBuildDone()}let ie;try{const N=this._source.source();ie=this.parser.parse(this._ast||N,{source:N,current:this,module:this,compilation:R,options:E})}catch(E){handleParseError(E);return}handleParseResult(ie)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return je.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let R=false;for(const N of this.dependencies){const $=N.getModuleEvaluationSideEffectsState(E);if($===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${N.type}) with side effects at ${We(N.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if($!==je.CIRCULAR_CONNECTION){R=je.addConnectionStates(R,$)}}this._isEvaluatingSideEffects=false;return R}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtime:j,concatenationScope:q}){const G=new Set;if(!this.buildInfo.parsed){G.add(qe.module);G.add(qe.exports);G.add(qe.thisAsExports)}let ie;const getData=()=>{if(ie===undefined)ie=new Map;return ie};const ae=new Map;for(const ie of this.generator.getTypes(this)){const le=this.error?new we("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtimeRequirements:G,runtime:j,concatenationScope:q,getData:getData,type:ie});if(le){ae.set(ie,new _e(le))}}const le={sources:ae,runtimeRequirements:G,data:ie};return le}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(E,R){const{fileSystemInfo:N,compilation:$,valueCacheVersions:j}=E;if(this._forceBuild)return R(null,true);if(this.error)return R(null,true);if(!this.buildInfo.cacheable)return R(null,true);if(!this.buildInfo.snapshot)return R(null,true);const q=this.buildInfo.valueDependencies;if(q){if(!j)return R(null,true);for(const[E,N]of q){if(N===undefined)return R(null,true);const $=j.get(E);if(N!==$&&(typeof N==="string"||typeof $==="string"||$===undefined||!Ke(N,$))){return R(null,true)}}}N.checkSnapshotValid(this.buildInfo.snapshot,((N,j)=>{if(N)return R(N);if(!j)return R(null,true);const q=NormalModule.getCompilationHooks($);q.needBuild.callAsync(this,E,((E,N)=>{if(E){return R(Te.makeWebpackError(E,"NormalModule.getCompilationHooks().needBuild"))}R(null,!!N)}))}))}size(E){const R=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(R!==undefined){return R}const N=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,N);return N}addCacheDependencies(E,R,N,$){const{snapshot:j,buildDependencies:q}=this.buildInfo;if(j){E.addAll(j.getFileIterable());R.addAll(j.getContextIterable());N.addAll(j.getMissingIterable())}else{const{fileDependencies:$,contextDependencies:j,missingDependencies:q}=this.buildInfo;if($!==undefined)E.addAll($);if(j!==undefined)R.addAll(j);if(q!==undefined)N.addAll(q)}if(q!==undefined){$.addAll(q)}}updateHash(E,R){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...R});super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this._source);R(this.error);R(this._lastSuccessfulBuildMeta);R(this._forceBuild);super.serialize(E)}static deserialize(E){const R=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});R.deserialize(E);return R}deserialize(E){const{read:R}=E;this._source=R();this.error=R();this._lastSuccessfulBuildMeta=R();this._forceBuild=R();super.deserialize(E)}}ot(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,R,N)=>{"use strict";const{getContext:$}=N(60425);const j=N(62355);const{AsyncSeriesBailHook:q,SyncWaterfallHook:G,SyncBailHook:ie,SyncHook:ae,HookMap:le}=N(92960);const _e=N(45137);const Ee=N(53453);const we=N(40674);const Ie=N(75412);const Me=N(53520);const Te=N(94288);const Ne=N(1976);const Be=N(95020);const Le=N(73817);const je=N(19311);const ze=N(83379);const{getScheme:Ue}=N(45754);const{cachedCleverMerge:qe,cachedSetProperty:Ge}=N(90149);const{join:He}=N(95396);const{parseResource:We}=N(49197);const Ve={};const Ke={};const Qe={};const Je=[];const Xe=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,R)=>{let N="";for(const R of E){N+=loaderToIdent(R)+"!"}return N+R};const identToLoaderRequest=E=>{const R=E.indexOf("?");if(R>=0){const N=E.substr(0,R);const $=E.substr(R+1);return{loader:N,options:$}}else{return{loader:E,options:undefined}}};const needCalls=(E,R)=>N=>{if(--E===0){return R(N)}if(N&&E>0){E=NaN;return R(N)}};const mergeGlobalOptions=(E,R,N)=>{const $=R.split("/");let j;let q="";for(const R of $){q=q?`${q}/${R}`:R;const N=E[q];if(typeof N==="object"){if(j===undefined){j=N}else{j=qe(j,N)}}}if(j===undefined){return N}else{return qe(j,N)}};const deprecationChangedHookMessage=(E,R)=>{const N=R.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${N}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Ye=new Le([new Ne("test","resource"),new Ne("scheme"),new Ne("mimetype"),new Ne("dependency"),new Ne("include","resource"),new Ne("exclude","resource",true),new Ne("resource"),new Ne("resourceQuery"),new Ne("resourceFragment"),new Ne("realResource"),new Ne("issuer"),new Ne("compiler"),new Ne("issuerLayer"),new Be("assert","assertions"),new Be("descriptionData"),new Te("type"),new Te("sideEffects"),new Te("parser"),new Te("resolve"),new Te("generator"),new Te("layer"),new je]);class NormalModuleFactory extends we{constructor({context:E,fs:R,resolverFactory:N,options:j,associatedObjectForCache:_e,layers:we=false}){super();this.hooks=Object.freeze({resolve:new q(["resolveData"]),resolveForScheme:new le((()=>new q(["resourceData","resolveData"]))),resolveInScheme:new le((()=>new q(["resourceData","resolveData"]))),factorize:new q(["resolveData"]),beforeResolve:new q(["resolveData"]),afterResolve:new q(["resolveData"]),createModule:new q(["createData","resolveData"]),module:new G(["module","createData","resolveData"]),createParser:new le((()=>new ie(["parserOptions"]))),parser:new le((()=>new ae(["parser","parserOptions"]))),createGenerator:new le((()=>new ie(["generatorOptions"]))),generator:new le((()=>new ae(["generator","generatorOptions"])))});this.resolverFactory=N;this.ruleSet=Ye.compile([{rules:j.defaultRules},{rules:j.rules}]);this.context=E||"";this.fs=R;this._globalParserOptions=j.parser;this._globalGeneratorOptions=j.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const Ie=We.bindCache(_e);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,R)=>{this.hooks.resolve.callAsync(E,((N,$)=>{if(N)return R(N);if($===false)return R();if($ instanceof Ee)return R(null,$);if(typeof $==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((N,$)=>{if(N)return R(N);if(typeof $==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if($===false)return R();const j=E.createData;this.hooks.createModule.callAsync(j,E,((N,$)=>{if(!$){if(!E.request){return R(new Error("Empty dependency (no request)"))}$=new Me(j)}$=this.hooks.module.call($,j,E);return R(null,$)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,R)=>{const{contextInfo:N,context:j,dependencies:q,dependencyType:G,request:ie,assertions:ae,resolveOptions:le,fileDependencies:_e,missingDependencies:Ee,contextDependencies:Me}=E;const Te=this.getResolver("loader");let Ne=undefined;let Be;let Le;let je=false;let ze=false;let We=false;const Ke=Ue(j);let Qe=Ue(ie);if(!Qe){let E=ie;const R=Xe.exec(ie);if(R){let N=R[1];if(N.charCodeAt(0)===46){const E=N.charCodeAt(1);if(E===47||E===46&&N.charCodeAt(2)===47){N=He(this.fs,j,N)}}Ne={resource:N,...Ie(N)};E=ie.substr(R[0].length)}Qe=Ue(E);if(!Qe&&!Ke){const R=E.charCodeAt(0);const N=E.charCodeAt(1);je=R===45&&N===33;ze=je||R===33;We=R===33&&N===33;const $=E.slice(je||We?2:ze?1:0).split(/!+/);Be=$.pop();Le=$.map(identToLoaderRequest);Qe=Ue(Be)}else{Be=E;Le=Je}}else{Be=ie;Le=Je}const Ye={fileDependencies:_e,missingDependencies:Ee,contextDependencies:Me};let Ze;let et;const tt=needCalls(2,(le=>{if(le)return R(le);try{for(const E of et){if(typeof E.options==="string"&&E.options[0]==="?"){const R=E.options.substr(1);if(R==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(R);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=R}}}catch(E){return R(E)}if(!Ze){return R(null,q[0].createIgnoredModule(j))}const _e=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(et,Ze.resource);const Ee={};const Ie=[];const Me=[];const Be=[];let Le;let Ue;if(Ne&&typeof(Le=Ne.resource)==="string"&&(Ue=/\.webpack\[([^\]]+)\]$/.exec(Le))){Ee.type=Ue[1];Ne.resource=Ne.resource.slice(0,-Ee.type.length-10)}else{Ee.type="javascript/auto";const E=Ne||Ze;const R=this.ruleSet.exec({resource:E.path,realResource:Ze.path,resourceQuery:E.query,resourceFragment:E.fragment,scheme:Qe,assertions:ae,mimetype:Ne?"":Ze.data.mimetype||"",dependency:G,descriptionData:Ne?undefined:Ze.data.descriptionFileData,issuer:N.issuer,compiler:N.compiler,issuerLayer:N.issuerLayer||""});for(const E of R){if(E.type==="use"){if(!ze&&!We){Me.push(E.value)}}else if(E.type==="use-post"){if(!We){Ie.push(E.value)}}else if(E.type==="use-pre"){if(!je&&!We){Be.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof Ee[E.type]==="object"&&Ee[E.type]!==null){Ee[E.type]=qe(Ee[E.type],E.value)}else{Ee[E.type]=E.value}}}let Ge,He,Ve;const Ke=needCalls(3,(j=>{if(j){return R(j)}const q=Ge;if(Ne===undefined){for(const E of et)q.push(E);for(const E of He)q.push(E)}else{for(const E of He)q.push(E);for(const E of et)q.push(E)}for(const E of Ve)q.push(E);let G=Ee.type;const ae=Ee.resolve;const le=Ee.layer;if(le!==undefined&&!we){return R(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:le===undefined?N.issuerLayer||null:le,request:stringifyLoadersAndResource(q,Ze.resource),userRequest:_e,rawRequest:ie,loaders:q,resource:Ze.resource,context:Ze.context||$(Ze.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:Ze.data,settings:Ee,type:G,parser:this.getParser(G,Ee.parser),parserOptions:Ee.parser,generator:this.getGenerator(G,Ee.generator),generatorOptions:Ee.generator,resolveOptions:ae})}catch(E){return R(E)}R()}));this.resolveRequestArray(N,this.context,Ie,Te,Ye,((E,R)=>{Ge=R;Ke(E)}));this.resolveRequestArray(N,this.context,Me,Te,Ye,((E,R)=>{He=R;Ke(E)}));this.resolveRequestArray(N,this.context,Be,Te,Ye,((E,R)=>{Ve=R;Ke(E)}))}));this.resolveRequestArray(N,Ke?this.context:j,Le,Te,Ye,((E,R)=>{if(E)return tt(E);et=R;tt()}));const defaultResolve=E=>{if(/^($|\?)/.test(Be)){Ze={resource:Be,data:{},...Ie(Be)};tt()}else{const R=this.getResolver("normal",G?Ge(le||Ve,"dependencyType",G):le);this.resolveResource(N,E,Be,R,Ye,((E,R,N)=>{if(E)return tt(E);if(R!==false){Ze={resource:R,data:N,...Ie(R)}}tt()}))}};if(Qe){Ze={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Qe).callAsync(Ze,E,(E=>{if(E)return tt(E);tt()}))}else if(Ke){Ze={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(Ke).callAsync(Ze,E,((E,R)=>{if(E)return tt(E);if(!R)return defaultResolve(this.context);tt()}))}else defaultResolve(j)}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){_e.clearChunkGraphForModule(E);Ie.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,R){const N=E.dependencies;const $=E.context||this.context;const j=E.resolveOptions||Ve;const q=N[0];const G=q.request;const ie=q.assertions;const ae=E.contextInfo;const le=new ze;const _e=new ze;const Ee=new ze;const we=N.length>0&&N[0].category||"";const Ie={contextInfo:ae,resolveOptions:j,context:$,request:G,assertions:ie,dependencies:N,dependencyType:we,fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(Ie,((E,N)=>{if(E){return R(E,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:false})}if(N===false){return R(null,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:Ie.cacheable})}if(typeof N==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(Ie,((E,N)=>{if(E){return R(E,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:false})}const $={module:N,fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:Ie.cacheable};R(null,$)}))}))}resolveResource(E,R,N,$,j,q){$.resolve(E,R,N,j,((G,ie,ae)=>{if(G){return this._resolveResourceErrorHints(G,E,R,N,$,j,((E,R)=>{if(E){G.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;G.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return q(G)}if(R&&R.length>0){G.message+=`\n${R.join("\n\n")}`}q(G)}))}q(G,ie,ae)}))}_resolveResourceErrorHints(E,R,N,$,q,G,ie){j.parallel([E=>{if(!q.options.fullySpecified)return E();q.withOptions({fullySpecified:false}).resolve(R,N,$,G,((R,N)=>{if(!R&&N){const R=We(N).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${R}'?\nBREAKING CHANGE: The request '${$}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!q.options.enforceExtension)return E();q.withOptions({enforceExtension:false,extensions:[]}).resolve(R,N,$,G,((R,N)=>{if(!R&&N){let R="";const N=/(\.[^.]+)(\?|$)/.exec($);if(N){const E=$.replace(/(\.[^.]+)(\?|$)/,"$2");if(q.options.extensions.has(N[1])){R=`Did you mean '${E}'?`}else{R=`Did you mean '${E}'? Also note that '${N[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{R=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${$}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${R}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test($)||q.options.preferRelative){return E()}q.resolve(R,N,`./${$}`,G,((R,N)=>{if(R||!N)return E();const j=q.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${$}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${j}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,R)=>{if(E)return ie(E);ie(null,R.filter(Boolean))}))}resolveRequestArray(E,R,N,$,q,G){if(N.length===0)return G(null,N);j.map(N,((N,j)=>{$.resolve(E,R,N.loader,q,((G,ie)=>{if(G&&/^[^/]*$/.test(N.loader)&&!/-loader$/.test(N.loader)){return $.resolve(E,R,N.loader+"-loader",q,(E=>{if(!E){G.message=G.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${N.loader}-loader' instead of '${N.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}j(G)}))}if(G)return j(G);const ae=identToLoaderRequest(ie);const le={loader:ae.loader,options:N.options===undefined?ae.options:N.options,ident:N.options===undefined?undefined:N.ident};return j(null,le)}))}),G)}getParser(E,R=Ke){let N=this.parserCache.get(E);if(N===undefined){N=new WeakMap;this.parserCache.set(E,N)}let $=N.get(R);if($===undefined){$=this.createParser(E,R);N.set(R,$)}return $}createParser(E,R={}){R=mergeGlobalOptions(this._globalParserOptions,E,R);const N=this.hooks.createParser.for(E).call(R);if(!N){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(N,R);return N}getGenerator(E,R=Qe){let N=this.generatorCache.get(E);if(N===undefined){N=new WeakMap;this.generatorCache.set(E,N)}let $=N.get(R);if($===undefined){$=this.createGenerator(E,R);N.set(R,$)}return $}createGenerator(E,R={}){R=mergeGlobalOptions(this._globalGeneratorOptions,E,R);const N=this.hooks.createGenerator.for(E).call(R);if(!N){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(N,R);return N}getResolver(E,R){return this.resolverFactory.get(E,R)}}E.exports=NormalModuleFactory},92234:(E,R,N)=>{"use strict";const{join:$,dirname:j}=N(95396);class NormalModuleReplacementPlugin{constructor(E,R){this.resourceRegExp=E;this.newResource=R}apply(E){const R=this.resourceRegExp;const N=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(q=>{q.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(R.test(E.request)){if(typeof N==="function"){N(E)}else{E.request=N}}}));q.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(q=>{const G=q.createData;if(R.test(G.resource)){if(typeof N==="function"){N(q)}else{const R=E.inputFileSystem;if(N.startsWith("/")||N.length>1&&N[1]===":"){G.resource=N}else{G.resource=$(R,j(R,G.resource),N)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,R)=>{"use strict";R.STAGE_BASIC=-10;R.STAGE_DEFAULT=0;R.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,R){}}E.exports=OptionsApply},2172:(E,R,N)=>{"use strict";class Parser{parse(E,R){const $=N(75884);throw new $}}E.exports=Parser},13125:(E,R,N)=>{"use strict";const $=N(88281);class PrefetchPlugin{constructor(E,R){if(R){this.context=E;this.request=R}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R)}));E.hooks.make.tapAsync("PrefetchPlugin",((R,N)=>{R.addModuleChain(this.context||E.context,new $(this.request),(E=>{N(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,R,N)=>{"use strict";const $=N(63076);const j=N(63433);const q=N(53520);const G=N(35817);const{contextify:ie}=N(49197);const ae=G(N(73971),(()=>N(43691)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,R,N)=>E+R+N-Math.max(E,R,N)-Math.min(E,R,N);const createDefaultHandler=(E,R)=>{const N=[];const defaultHandler=($,j,...q)=>{if(E){if($===0){N.length=0}const E=[j,...q];const G=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ie=Date.now();const ae=Math.max(G.length,N.length);for(let E=ae;E>=0;E--){const $=E0){$=N[E-1].value+" > "+$}const G=`${" | ".repeat(E)}${q} ms ${$}`;const ie=q;{if(ie>1e4){R.error(G)}else if(ie>1e3){R.warn(G)}else if(ie>10){R.info(G)}else if(ie>5){R.log(G)}else{R.debug(G)}}}if($===undefined){N.length=E}else{j.value=$;j.time=ie;N.length=E+1}}}else{N[E]={value:$,time:ie}}}}R.status(`${Math.floor($*100)}%`,j,...q);if($===1||!j&&q.length===0)R.status()};return defaultHandler};const le=new WeakMap;class ProgressPlugin{static getReporter(E){return le.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}ae(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const R=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof j){this._applyOnMultiCompiler(E,R)}else if(E instanceof $){this._applyOnCompiler(E,R)}}_applyOnMultiCompiler(E,R){const N=E.compilers.map((()=>[0]));E.compilers.forEach(((E,$)=>{new ProgressPlugin(((E,j,...q)=>{N[$]=[E,j,...q];let G=0;for(const[E]of N)G+=E;R(G/N.length,`[${$}] ${j}`,...q)})).apply(E)}))}_applyOnCompiler(E,R){const N=this.showEntries;const $=this.showModules;const j=this.showDependencies;const q=this.showActiveModules;let G="";let ae="";let _e=0;let Ee=0;let we=0;let Ie=0;let Me=0;let Te=1;let Ne=0;let Be=0;let Le=0;const je=new Set;let ze=0;const updateThrottled=()=>{if(ze+500{const le=[];const Ue=Ne/Math.max(_e||this.modulesCount||1,Ie);const qe=Le/Math.max(we||this.dependenciesCount||1,Te);const Ge=Be/Math.max(Ee||1,Me);let He;switch(this.percentBy){case"entries":He=qe;break;case"dependencies":He=Ge;break;case"modules":He=Ue;break;default:He=median3(Ue,qe,Ge)}const We=.1+He*.55;if(ae){le.push(`import loader ${ie(E.context,ae,E.root)}`)}else{const E=[];if(N){E.push(`${Le}/${Te} entries`)}if(j){E.push(`${Be}/${Me} dependencies`)}if($){E.push(`${Ne}/${Ie} modules`)}if(q){E.push(`${je.size} active`)}if(E.length>0){le.push(E.join(" "))}if(q){le.push(G)}}R(We,"building",...le);ze=Date.now()};const factorizeAdd=()=>{Me++;if(Me<50||Me%100===0)updateThrottled()};const factorizeDone=()=>{Be++;if(Be<50||Be%100===0)updateThrottled()};const moduleAdd=()=>{Ie++;if(Ie<50||Ie%100===0)updateThrottled()};const moduleBuild=E=>{const R=E.identifier();if(R){je.add(R);G=R;update()}};const entryAdd=(E,R)=>{Te++;if(Te<5||Te%10===0)updateThrottled()};const moduleDone=E=>{Ne++;if(q){const R=E.identifier();if(R){je.delete(R);if(G===R){G="";for(const E of je){G=E}update();return}}}if(Ne<50||Ne%100===0)updateThrottled()};const entryDone=(E,R)=>{Le++;update()};const Ue=E.getCache("ProgressPlugin").getItemCache("counts",null);let qe;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!qe){qe=Ue.getPromise().then((E=>{if(E){_e=_e||E.modulesCount;Ee=Ee||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return qe.then((async E=>{if(!E||E.modulesCount!==Ie||E.dependenciesCount!==Me){await Ue.storePromise({modulesCount:Ie,dependenciesCount:Me})}}))}));E.hooks.compilation.tap("ProgressPlugin",(N=>{if(N.compiler.isChild())return;_e=Ie;we=Te;Ee=Me;Ie=Me=Te=0;Ne=Be=Le=0;N.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);N.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);N.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);N.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(q){N.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}N.hooks.addEntry.tap("ProgressPlugin",entryAdd);N.hooks.failedEntry.tap("ProgressPlugin",entryDone);N.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const $={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const j=Object.keys($).length;Object.keys($).forEach(((q,G)=>{const ie=$[q];const ae=G/j*.25+.7;N.hooks[q].intercept({name:"ProgressPlugin",call(){R(ae,"sealing",ie)},done(){le.set(E,undefined);R(ae,"sealing",ie)},result(){R(ae,"sealing",ie)},error(){R(ae,"sealing",ie)},tap(E){le.set(N.compiler,((N,...$)=>{R(ae,"sealing",ie,E.name,...$)}));R(ae,"sealing",ie,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){R(.1,"building")},done(){R(.65,"building")}});const interceptHook=(N,$,j,q)=>{N.intercept({name:"ProgressPlugin",call(){R($,j,q)},done(){le.set(E,undefined);R($,j,q)},result(){R($,j,q)},error(){R($,j,q)},tap(N){le.set(E,((E,...G)=>{R($,j,q,N.name,...G)}));R($,j,q,N.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){R(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){R(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){R(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){R(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){R(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,R,N)=>{"use strict";const $=N(66298);const j=N(1335);const{approve:q}=N(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const R=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{Object.keys(R).forEach((N=>{const $=[].concat(R[N]);const G=N.split(".");if(G.length>0){G.slice(1).forEach(((R,N)=>{const $=G.slice(0,N+1).join(".");E.hooks.canRename.for($).tap("ProvidePlugin",q)}))}E.hooks.expression.for(N).tap("ProvidePlugin",(R=>{const q=N.includes(".")?`__webpack_provided_${N.replace(/\./g,"_dot_")}`:N;const G=new j($[0],q,$.slice(1),R.range);G.loc=R.loc;E.state.module.addDependency(G);return true}));E.hooks.call.for(N).tap("ProvidePlugin",(R=>{const q=N.includes(".")?`__webpack_provided_${N.replace(/\./g,"_dot_")}`:N;const G=new j($[0],q,$.slice(1),R.callee.range);G.loc=R.callee.loc;E.state.module.addDependency(G);E.walkExpressions(R.arguments);return true}))}))};N.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);N.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(53453);const G=N(56202);const ie=new Set(["javascript"]);class RawModule extends q{constructor(E,R,N,$){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=R||this.sourceStr;this.readableIdentifierStr=N||this.identifierStr;this.runtimeRequirements=$||null}getSourceTypes(){return ie}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={cacheable:true};j()}codeGeneration(E){const R=new Map;if(this.useSourceMap||this.useSimpleSourceMap){R.set("javascript",new $(this.sourceStr,this.identifier()))}else{R.set("javascript",new j(this.sourceStr))}return{sources:R,runtimeRequirements:this.runtimeRequirements}}updateHash(E,R){E.update(this.sourceStr);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.sourceStr);R(this.identifierStr);R(this.readableIdentifierStr);R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.sourceStr=R();this.identifierStr=R();this.readableIdentifierStr=R();this.runtimeRequirements=R();super.deserialize(E)}}G(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,R,N)=>{"use strict";const{compareNumbers:$}=N(68673);const j=N(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const R=this.options.portableIds;const N=j.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(R){return N(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((R,N)=>{const j=E.chunkGraph;if(!N.modules)N.modules={};if(!N.modules.byIdentifier)N.modules.byIdentifier={};const q=new Set;for(const E of R){const R=j.getModuleId(E);if(typeof R!=="number")continue;const $=getModuleIdentifier(E);N.modules.byIdentifier[$]=R;q.add(R)}N.modules.usedIds=Array.from(q).sort($)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((R,N)=>{if(!N.modules)return;if(N.modules.byIdentifier){const $=E.chunkGraph;const j=new Set;for(const E of R){const R=$.getModuleId(E);if(R!==null)continue;const q=getModuleIdentifier(E);const G=N.modules.byIdentifier[q];if(G===undefined)continue;if(j.has(G))continue;j.add(G);$.setModuleId(E,G)}}if(Array.isArray(N.modules.usedIds)){E.usedModuleIds=new Set(N.modules.usedIds)}}));const getChunkSources=E=>{const R=[];for(const N of E.groupsIterable){const $=N.chunks.indexOf(E);if(N.name){R.push(`${$} ${N.name}`)}else{for(const E of N.origins){if(E.module){if(E.request){R.push(`${$} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){R.push(`${$} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){R.push(`${$} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return R};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,R)=>{if(!R.chunks)R.chunks={};if(!R.chunks.byName)R.chunks.byName={};if(!R.chunks.bySource)R.chunks.bySource={};const N=new Set;for(const $ of E){if(typeof $.id!=="number")continue;const E=$.name;if(E)R.chunks.byName[E]=$.id;const j=getChunkSources($);for(const E of j){R.chunks.bySource[E]=$.id}N.add($.id)}R.chunks.usedIds=Array.from(N).sort($)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((R,N)=>{if(!N.chunks)return;const $=new Set;if(N.chunks.byName){for(const E of R){if(E.id!==null)continue;if(!E.name)continue;const R=N.chunks.byName[E.name];if(R===undefined)continue;if($.has(R))continue;$.add(R);E.id=R;E.ids=[R]}}if(N.chunks.bySource){for(const E of R){if(E.id!==null)continue;const R=getChunkSources(E);for(const j of R){const R=N.chunks.bySource[j];if(R===undefined)continue;if($.has(R))continue;$.add(R);E.id=R;E.ids=[R];break}}}if(Array.isArray(N.chunks.usedIds)){E.usedChunkIds=new Set(N.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,R,N)=>{"use strict";const{contextify:$}=N(49197);class RequestShortener{constructor(E,R){this.contextify=$.bindContextCache(E,R)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66298);const{toConstantDependency:q}=N(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);const handler=(E,R)=>{if(R.requireJs===undefined||!R.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",q(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",q(E,$.uncaughtErrorHandler,[$.uncaughtErrorHandler]))};R.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,R,N)=>{"use strict";const $=N(17583).ResolverFactory;const{HookMap:j,SyncHook:q,SyncWaterfallHook:G}=N(92960);const{cachedCleverMerge:ie,removeOperations:ae,resolveByProperty:le}=N(90149);const _e={};const convertToResolveOptions=E=>{const{dependencyType:R,plugins:N,...$}=E;const j={...$,plugins:N&&N.filter((E=>E!=="..."))};if(!j.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const q=j;return ae(le(q,"byDependency",R))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new j((()=>new G(["resolveOptions"]))),resolver:new j((()=>new q(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,R=_e){let N=this.cache.get(E);if(!N){N={direct:new WeakMap,stringified:new Map};this.cache.set(E,N)}const $=N.direct.get(R);if($){return $}const j=JSON.stringify(R);const q=N.stringified.get(j);if(q){N.direct.set(R,q);return q}const G=this._create(E,R);N.direct.set(R,G);N.stringified.set(j,G);return G}_create(E,R){const N={...R};const j=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(R));const q=$.createResolver(j);if(!q){throw new Error("No resolver created")}const G=new WeakMap;q.withOptions=R=>{const $=G.get(R);if($!==undefined)return $;const j=ie(N,R);const q=this.get(E,j);G.set(R,q);return q};this.hooks.resolver.for(E).call(q,j,N);return q}}},76150:(E,R)=>{"use strict";R.require="__webpack_require__";R.requireScope="__webpack_require__.*";R.exports="__webpack_exports__";R.thisAsExports="top-level-this-exports";R.returnExportsFromRuntime="return-exports-from-runtime";R.module="module";R.moduleId="module.id";R.moduleLoaded="module.loaded";R.publicPath="__webpack_require__.p";R.entryModuleId="__webpack_require__.s";R.moduleCache="__webpack_require__.c";R.moduleFactories="__webpack_require__.m";R.moduleFactoriesAddOnly="__webpack_require__.m (add only)";R.ensureChunk="__webpack_require__.e";R.ensureChunkHandlers="__webpack_require__.f";R.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";R.prefetchChunk="__webpack_require__.E";R.prefetchChunkHandlers="__webpack_require__.F";R.preloadChunk="__webpack_require__.G";R.preloadChunkHandlers="__webpack_require__.H";R.definePropertyGetters="__webpack_require__.d";R.makeNamespaceObject="__webpack_require__.r";R.createFakeNamespaceObject="__webpack_require__.t";R.compatGetDefaultExport="__webpack_require__.n";R.harmonyModuleDecorator="__webpack_require__.hmd";R.nodeModuleDecorator="__webpack_require__.nmd";R.getFullHash="__webpack_require__.h";R.wasmInstances="__webpack_require__.w";R.instantiateWasm="__webpack_require__.v";R.uncaughtErrorHandler="__webpack_require__.oe";R.scriptNonce="__webpack_require__.nc";R.loadScript="__webpack_require__.l";R.createScriptUrl="__webpack_require__.tu";R.chunkName="__webpack_require__.cn";R.runtimeId="__webpack_require__.j";R.getChunkScriptFilename="__webpack_require__.u";R.getChunkUpdateScriptFilename="__webpack_require__.hu";R.startup="__webpack_require__.x";R.startupNoDefault="__webpack_require__.x (no default handler)";R.startupOnlyAfter="__webpack_require__.x (only after)";R.startupOnlyBefore="__webpack_require__.x (only before)";R.chunkCallback="webpackChunk";R.startupEntrypoint="__webpack_require__.X";R.onChunksLoaded="__webpack_require__.O";R.externalInstallChunk="__webpack_require__.C";R.interceptModuleExecution="__webpack_require__.i";R.global="__webpack_require__.g";R.shareScopeMap="__webpack_require__.S";R.initializeSharing="__webpack_require__.I";R.currentRemoteGetScope="__webpack_require__.R";R.getUpdateManifestFilename="__webpack_require__.hmrF";R.hmrDownloadManifest="__webpack_require__.hmrM";R.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";R.hmrModuleData="__webpack_require__.hmrD";R.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";R.hmrRuntimeStatePrefix="__webpack_require__.hmrS";R.amdDefine="__webpack_require__.amdD";R.amdOptions="__webpack_require__.amdO";R.system="__webpack_require__.System";R.hasOwnProperty="__webpack_require__.o";R.systemContext="__webpack_require__.y";R.baseURI="__webpack_require__.b";R.relativeUrl="__webpack_require__.U";R.asyncModule="__webpack_require__.a"},66804:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(48135).OriginalSource;const q=N(53453);const G=new Set(["runtime"]);class RuntimeModule extends q{constructor(E,R=0){super("runtime");this.name=E;this.stage=R;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(E,R,N=E.chunkGraph){this.compilation=E;this.chunk=R;this.chunkGraph=N}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,R){return R(null,false)}build(E,R,N,$,j){j()}updateHash(E,R){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(R){E.update(R.message)}super.updateHash(E,R)}getSourceTypes(){return G}codeGeneration(E){const R=new Map;const N=this.getGeneratedCode();if(N){R.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new j(N,this.identifier()):new $(N))}return{sources:R,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=N(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,R,N)=>{"use strict";const $=N(76150);const j=N(35424);const q=N(18161);const G=N(84997);const ie=N(31164);const ae=N(90202);const le=N(16710);const _e=N(3236);const Ee=N(44160);const we=N(58957);const Ie=N(59179);const Me=N(9609);const Te=N(36100);const Ne=N(13376);const Be=N(37522);const Le=N(67104);const je=N(14676);const ze=N(8299);const Ue=N(48977);const qe=N(21355);const Ge=N(41982);const He=N(76752);const We=N(54825);const Ve=N(14146);const Ke=[$.chunkName,$.runtimeId,$.compatGetDefaultExport,$.createFakeNamespaceObject,$.createScriptUrl,$.definePropertyGetters,$.ensureChunk,$.entryModuleId,$.getFullHash,$.global,$.makeNamespaceObject,$.moduleCache,$.moduleFactories,$.moduleFactoriesAddOnly,$.interceptModuleExecution,$.publicPath,$.baseURI,$.relativeUrl,$.scriptNonce,$.uncaughtErrorHandler,$.asyncModule,$.wasmInstances,$.instantiateWasm,$.shareScopeMap,$.initializeSharing,$.loadScript,$.systemContext,$.onChunksLoaded];const Qe={[$.moduleLoaded]:[$.module],[$.moduleId]:[$.module]};const Je={[$.definePropertyGetters]:[$.hasOwnProperty],[$.compatGetDefaultExport]:[$.definePropertyGetters],[$.createFakeNamespaceObject]:[$.definePropertyGetters,$.makeNamespaceObject,$.require],[$.initializeSharing]:[$.shareScopeMap],[$.shareScopeMap]:[$.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set(j,new j.Template);for(const R of Ke){E.hooks.runtimeRequirementInModule.for(R).tap("RuntimePlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for(R).tap("RuntimePlugin",((E,R)=>{R.add($.requireScope)}))}for(const R of Object.keys(Je)){const N=Je[R];E.hooks.runtimeRequirementInTree.for(R).tap("RuntimePlugin",((E,R)=>{for(const E of N)R.add(E)}))}for(const R of Object.keys(Qe)){const N=Qe[R];E.hooks.runtimeRequirementInModule.for(R).tap("RuntimePlugin",((E,R)=>{for(const E of N)R.add(E)}))}E.hooks.runtimeRequirementInTree.for($.definePropertyGetters).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new we);return true}));E.hooks.runtimeRequirementInTree.for($.makeNamespaceObject).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new je);return true}));E.hooks.runtimeRequirementInTree.for($.createFakeNamespaceObject).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new _e);return true}));E.hooks.runtimeRequirementInTree.for($.hasOwnProperty).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Be);return true}));E.hooks.runtimeRequirementInTree.for($.compatGetDefaultExport).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new ae);return true}));E.hooks.runtimeRequirementInTree.for($.runtimeId).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Ge);return true}));E.hooks.runtimeRequirementInTree.for($.publicPath).tap("RuntimePlugin",((R,N)=>{const{outputOptions:j}=E;const{publicPath:q,scriptType:G}=j;const ae=R.getEntryOptions();const le=ae&&ae.publicPath!==undefined?ae.publicPath:q;if(le==="auto"){const j=new ie;if(G!=="module")N.add($.global);E.addRuntimeModule(R,j)}else{const N=new Ue(le);if(typeof le!=="string"||/\[(full)?hash\]/.test(le)){N.fullHash=true}E.addRuntimeModule(R,N)}return true}));E.hooks.runtimeRequirementInTree.for($.global).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Ne);return true}));E.hooks.runtimeRequirementInTree.for($.asyncModule).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new G);return true}));E.hooks.runtimeRequirementInTree.for($.systemContext).tap("RuntimePlugin",(R=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(R,new He)}return true}));E.hooks.runtimeRequirementInTree.for($.getChunkScriptFilename).tap("RuntimePlugin",((R,N)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){N.add($.getFullHash)}E.addRuntimeModule(R,new Me("javascript","javascript",$.getChunkScriptFilename,(R=>R.filenameTemplate||(R.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for($.getChunkUpdateScriptFilename).tap("RuntimePlugin",((R,N)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))N.add($.getFullHash);E.addRuntimeModule(R,new Me("javascript","javascript update",$.getChunkUpdateScriptFilename,(R=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for($.getUpdateManifestFilename).tap("RuntimePlugin",((R,N)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){N.add($.getFullHash)}E.addRuntimeModule(R,new Te("update manifest",$.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunk).tap("RuntimePlugin",((R,N)=>{const j=R.hasAsyncChunks();if(j){N.add($.ensureChunkHandlers)}E.addRuntimeModule(R,new Ie(N));return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,R)=>{R.add($.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for($.shareScopeMap).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new We);return true}));E.hooks.runtimeRequirementInTree.for($.loadScript).tap("RuntimePlugin",((R,N)=>{const j=!!E.outputOptions.trustedTypes;if(j){N.add($.createScriptUrl)}E.addRuntimeModule(R,new Le(j));return true}));E.hooks.runtimeRequirementInTree.for($.createScriptUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new Ee);return true}));E.hooks.runtimeRequirementInTree.for($.relativeUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new qe);return true}));E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new ze);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((R,N)=>{const{mainTemplate:$}=E;if($.hooks.bootstrap.isUsed()||$.hooks.localVars.isUsed()||$.hooks.requireEnsure.isUsed()||$.hooks.requireExtensions.isUsed()){E.addRuntimeModule(R,new le)}}));q.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,R,{chunkGraph:N})=>{const $=new Ve;for(const R of N.getChunkRuntimeModulesIterable(E)){$.add(N.getModuleHash(R,E.runtime))}$.updateHash(R)}))}))}}E.exports=RuntimePlugin},37130:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const q=N(58159);const{equals:G}=N(73910);const ie=N(87274);const ae=N(68038);const{forEachRuntime:le,subtractRuntime:_e}=N(37416);const noModuleIdErrorMessage=(E,R)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(R.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(R.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,R,N){this.compilation=E;this.outputOptions=R||{};this.requestShortener=N}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,R=""){return this.supportsArrowFunction()?`(${R}) => (${E})`:`function(${R}) { return ${E}; }`}basicFunction(E,R){return this.supportsArrowFunction()?`(${E}) => {\n${q.indent(R)}\n}`:`function(${E}) {\n${q.indent(R)}\n}`}expressionFunction(E,R=""){return this.supportsArrowFunction()?`(${R}) => (${E})`:`function(${R}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,R){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${R};`:q.asString(E.map(((E,N)=>`var ${E} = ${R}[${N}];`)))}destructureObject(E,R){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${R};`:q.asString(E.map((E=>`var ${E} = ${R}${ae([E])};`)))}iife(E,R){return`(${this.basicFunction(E,R)})()`}forEach(E,R,N){return this.supportsForOf()?`for(const ${E} of ${R}) {\n${q.indent(N)}\n}`:`${R}.forEach(function(${E}) {\n${q.indent(N)}\n});`}comment({request:E,chunkName:R,chunkReason:N,message:$,exportName:j}){let G;if(this.outputOptions.pathinfo){G=[$,E,R,N].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{G=[$,R,N].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!G)return"";if(this.outputOptions.pathinfo){return q.toComment(G)+" "}else{return q.toNormalComment(G)+" "}}throwMissingModuleErrorBlock({request:E}){const R=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(R)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:R,request:N,idExpr:$,type:j}){const G=R.getModuleId(E);const ie=G===null?JSON.stringify("Module is not available (weak dependency)"):$?`"Module '" + ${$} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${G}' is not available (weak dependency)`);const ae=N?q.toNormalComment(N)+" ":"";const le=`var e = new Error(${ie}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(j){case"statements":return le;case"promise":return`Promise.resolve().then(${this.basicFunction("",le)})`;case"expression":return this.iife("",le)}}moduleId({module:E,chunkGraph:R,request:N,weak:$}){if(!E){return this.missingModule({request:N})}const j=R.getModuleId(E);if(j===null){if($){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,R)}`)}return`${this.comment({request:N})}${JSON.stringify(j)}`}moduleRaw({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:q}){if(!E){return this.missingModule({request:N})}const G=R.getModuleId(E);if(G===null){if($){return this.weakError({module:E,chunkGraph:R,request:N,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,R)}`)}q.add(j.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:R,request:N,weak:$})})`}moduleExports({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:j}){return this.moduleRaw({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:j})}moduleNamespace({module:E,chunkGraph:R,request:N,strict:$,weak:q,runtimeRequirements:G}){if(!E){return this.missingModule({request:N})}if(R.getModuleId(E)===null){if(q){return this.weakError({module:E,chunkGraph:R,request:N,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,R)}`)}const ie=this.moduleId({module:E,chunkGraph:R,request:N,weak:q});const ae=E.getExportsType(R.moduleGraph,$);switch(ae){case"namespace":return this.moduleRaw({module:E,chunkGraph:R,request:N,weak:q,runtimeRequirements:G});case"default-with-named":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 3)`;case"default-only":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 1)`;case"dynamic":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:R,module:N,request:$,message:q,strict:G,weak:ie,runtimeRequirements:ae}){if(!N){return this.missingModulePromise({request:$})}const le=E.getModuleId(N);if(le===null){if(ie){return this.weakError({module:N,chunkGraph:E,request:$,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(N,E)}`)}const _e=this.blockPromise({chunkGraph:E,block:R,message:q,runtimeRequirements:ae});let Ee;let we=JSON.stringify(E.getModuleId(N));const Ie=this.comment({request:$});let Me="";if(ie){if(we.length>8){Me+=`var id = ${we}; `;we="id"}ae.add(j.moduleFactories);Me+=`if(!${j.moduleFactories}[${we}]) { ${this.weakError({module:N,chunkGraph:E,request:$,idExpr:we,type:"statements"})} } `}const Te=this.moduleId({module:N,chunkGraph:E,request:$,weak:ie});const Ne=N.getExportsType(E.moduleGraph,G);let Be=16;switch(Ne){case"namespace":if(Me){const R=this.moduleRaw({module:N,chunkGraph:E,request:$,weak:ie,runtimeRequirements:ae});Ee=`.then(${this.basicFunction("",`${Me}return ${R};`)})`}else{ae.add(j.require);Ee=`.then(__webpack_require__.bind(__webpack_require__, ${Ie}${we}))`}break;case"dynamic":Be|=4;case"default-with-named":Be|=2;case"default-only":ae.add(j.createFakeNamespaceObject);if(E.moduleGraph.isAsync(N)){if(Me){const R=this.moduleRaw({module:N,chunkGraph:E,request:$,weak:ie,runtimeRequirements:ae});Ee=`.then(${this.basicFunction("",`${Me}return ${R};`)})`}else{ae.add(j.require);Ee=`.then(__webpack_require__.bind(__webpack_require__, ${Ie}${we}))`}Ee+=`.then(${this.returningFunction(`${j.createFakeNamespaceObject}(m, ${Be})`,"m")})`}else{Be|=1;if(Me){const E=`${j.createFakeNamespaceObject}(${Te}, ${Be})`;Ee=`.then(${this.basicFunction("",`${Me}return ${E};`)})`}else{Ee=`.then(${j.createFakeNamespaceObject}.bind(__webpack_require__, ${Ie}${we}, ${Be}))`}}break}return`${_e||"Promise.resolve()"}${Ee}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:R,runtime:N,runtimeRequirements:$}){if(R===undefined)return"true";if(typeof R==="boolean")return`${R}`;const q=new Set;le(R,(R=>q.add(`${E.getRuntimeId(R)}`)));const G=new Set;le(_e(N,R),(R=>G.add(`${E.getRuntimeId(R)}`)));$.add(j.runtimeId);return ie.fromLists(Array.from(q),Array.from(G))(j.runtimeId)}importStatement({update:E,module:R,chunkGraph:N,request:$,importVar:q,originModule:G,weak:ie,runtimeRequirements:ae}){if(!R){return[this.missingModuleStatement({request:$}),""]}if(N.getModuleId(R)===null){if(ie){return[this.weakError({module:R,chunkGraph:N,request:$,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(R,N)}`)}const le=this.moduleId({module:R,chunkGraph:N,request:$,weak:ie});const _e=E?"":"var ";const Ee=R.getExportsType(N.moduleGraph,G.buildMeta.strictHarmonyModule);ae.add(j.require);const we=`/* harmony import */ ${_e}${q} = __webpack_require__(${le});\n`;if(Ee==="dynamic"){ae.add(j.compatGetDefaultExport);return[we,`/* harmony import */ ${_e}${q}_default = /*#__PURE__*/${j.compatGetDefaultExport}(${q});\n`]}return[we,""]}exportFromImport({moduleGraph:E,module:R,request:N,exportName:ie,originModule:le,asiSafe:_e,isCall:Ee,callContext:we,defaultInterop:Ie,importVar:Me,initFragments:Te,runtime:Ne,runtimeRequirements:Be}){if(!R){return this.missingModule({request:N})}if(!Array.isArray(ie)){ie=ie?[ie]:[]}const Le=R.getExportsType(E,le.buildMeta.strictHarmonyModule);if(Ie){if(ie.length>0&&ie[0]==="default"){switch(Le){case"dynamic":if(Ee){return`${Me}_default()${ae(ie,1)}`}else{return _e?`(${Me}_default()${ae(ie,1)})`:_e===false?`;(${Me}_default()${ae(ie,1)})`:`${Me}_default.a${ae(ie,1)}`}case"default-only":case"default-with-named":ie=ie.slice(1);break}}else if(ie.length>0){if(Le==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(ie,1)}else if(Le!=="namespace"&&ie[0]==="__esModule"){return"/* __esModule */true"}}else if(Le==="default-only"||Le==="default-with-named"){Be.add(j.createFakeNamespaceObject);Te.push(new $(`var ${Me}_namespace_cache;\n`,$.STAGE_CONSTANTS,-1,`${Me}_namespace_cache`));return`/*#__PURE__*/ ${_e?"":_e===false?";":"Object"}(${Me}_namespace_cache || (${Me}_namespace_cache = ${j.createFakeNamespaceObject}(${Me}${Le==="default-only"?"":", 2"})))`}}if(ie.length>0){const N=E.getExportsInfo(R);const $=N.getUsedName(ie,Ne);if(!$){const E=q.toNormalComment(`unused export ${ae(ie)}`);return`${E} undefined`}const j=G($,ie)?"":q.toNormalComment(ae(ie))+" ";const le=`${Me}${j}${ae($)}`;if(Ee&&we===false){return _e?`(0,${le})`:_e===false?`;(0,${le})`:`/*#__PURE__*/Object(${le})`}return le}else{return Me}}blockPromise({block:E,message:R,chunkGraph:N,runtimeRequirements:$}){if(!E){const E=this.comment({message:R});return`Promise.resolve(${E.trim()})`}const q=N.getBlockChunkGroup(E);if(!q||q.chunks.length===0){const E=this.comment({message:R});return`Promise.resolve(${E.trim()})`}const G=q.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ie=this.comment({message:R,chunkName:E.chunkName});if(G.length===1){const E=JSON.stringify(G[0].id);$.add(j.ensureChunk);return`${j.ensureChunk}(${ie}${E})`}else if(G.length>0){$.add(j.ensureChunk);const requireChunkId=E=>`${j.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ie.trim()}[${G.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ie.trim()})`}}asyncModuleFactory({block:E,chunkGraph:R,runtimeRequirements:N,request:$}){const j=E.dependencies[0];const q=R.moduleGraph.getModule(j);const G=this.blockPromise({block:E,message:"",chunkGraph:R,runtimeRequirements:N});const ie=this.returningFunction(this.moduleRaw({module:q,chunkGraph:R,request:$,runtimeRequirements:N}));return this.returningFunction(G.startsWith("Promise.resolve(")?`${ie}`:`${G}.then(${this.returningFunction(ie)})`)}syncModuleFactory({dependency:E,chunkGraph:R,runtimeRequirements:N,request:$}){const j=R.moduleGraph.getModule(E);const q=this.returningFunction(this.moduleRaw({module:j,chunkGraph:R,request:$,runtimeRequirements:N}));return this.returningFunction(q)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:R}){R.add(j.makeNamespaceObject);R.add(j.exports);return`${j.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,R){const N=this.moduleGraph.getParentModule(E.dependencies[0]);R(null,{module:N})}}E.exports=SelfModuleFactory},9192:(E,R)=>{"use strict";R.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const R=["bytes","KiB","MiB","GiB"];const N=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,N)).toPrecision(3)} ${R[N]}`}},26867:(E,R,N)=>{"use strict";const $=N(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const R=this.options;if(R.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}$.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,R,N)=>{"use strict";const $=N(62355);const{ConcatSource:j,RawSource:q}=N(48135);const G=N(3080);const ie=N(70354);const ae=N(52923);const le=N(26867);const _e=N(35817);const Ee=N(35891);const{relative:we,dirname:Ie}=N(95396);const{makePathsAbsolute:Me}=N(49197);const Te=_e(N(68337),(()=>N(78061)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,R,N,$,j,q)=>{let G;let ie;if(R.sourceAndMap){const E=R.sourceAndMap($);ie=E.map;G=E.source}else{ie=R.map($);G=R.source()}if(!ie||typeof G!=="string")return;const ae=j.options.context;const le=j.compiler.root;const _e=Me.bindContextCache(ae,le);const Ee=ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=_e(E.slice(10));const R=j.findModule(E);return R||E}));return{file:E,asset:R,source:G,assetInfo:N,sourceMap:ie,modules:Ee,cacheItem:q}};class SourceMapDevToolPlugin{constructor(E={}){Te(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const R=E.outputFileSystem;const N=this.sourceMapFilename;const _e=this.sourceMappingURLComment;const Me=this.moduleFilenameTemplate;const Te=this.namespace;const Ne=this.fallbackModuleFilenameTemplate;const Be=E.requestShortener;const Le=this.options;Le.test=Le.test||/\.((c|m)?js|css)($|\?)/i;const je=ie.matchObject.bind(undefined,Le);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new le(Le).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:G.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((G,le)=>{const ze=E.chunkGraph;const Ue=E.getCache("SourceMapDevToolPlugin");const qe=new Map;const Ge=ae.getReporter(E.compiler)||(()=>{});const He=new Map;for(const R of E.chunks){for(const E of R.files){He.set(E,R)}for(const E of R.auxiliaryFiles){He.set(E,R)}}const We=[];for(const E of Object.keys(G)){if(je(E)){We.push(E)}}Ge(0);const Ve=[];let Ke=0;$.each(We,((R,N)=>{const $=E.getAsset(R);if($.info.related&&$.info.related.sourceMap){Ke++;return N()}const j=Ue.getItemCache(R,Ue.mergeEtags(Ue.getLazyHashedEtag($.source),Te));j.get(((q,G)=>{if(q){return N(q)}if(G){const{assets:$,assetsInfo:j}=G;for(const N of Object.keys($)){if(N===R){E.updateAsset(N,$[N],j[N])}else{E.emitAsset(N,$[N],j[N])}if(N!==R){const E=He.get(R);if(E!==undefined)E.auxiliaryFiles.add(N)}}Ge(.5*++Ke/We.length,R,"restored cached SourceMap");return N()}Ge(.5*Ke/We.length,R,"generate SourceMap");const ae=getTaskForFile(R,$.source,$.info,{module:Le.module,columns:Le.columns},E,j);if(ae){const R=ae.modules;for(let N=0;N{if(G){return le(G)}Ge(.5,"resolve sources");const ae=new Set(qe.values());const Me=new Set;const je=Array.from(qe.keys()).sort(((E,R)=>{const N=typeof E==="string"?E:E.identifier();const $=typeof R==="string"?R:R.identifier();return N.length-$.length}));for(let R=0;R{const ie=Object.create(null);const ae=Object.create(null);const le=$.file;const Me=He.get(le);const Te=$.sourceMap;const Ne=$.source;const Be=$.modules;Ge(.5+.5*Ue/Ve.length,le,"attach SourceMap");const je=Be.map((E=>qe.get(E)));Te.sources=je;if(Le.noSources){Te.sourcesContent=undefined}Te.sourceRoot=Le.sourceRoot||"";Te.file=le;const ze=N&&/\[contenthash(:\w+)?\]/.test(N);if(ze&&$.assetInfo.contenthash){const E=$.assetInfo.contenthash;let R;if(Array.isArray(E)){R=E.map(quoteMeta).join("|")}else{R=quoteMeta(E)}Te.file=Te.file.replace(new RegExp(R,"g"),(E=>"x".repeat(E.length)))}let We=_e;if(We!==false&&/\.css($|\?)/i.test(le)){We=We.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const Ke=JSON.stringify(Te);if(N){let $=le;const G=ze&&Ee(E.outputOptions.hashFunction).update(Ke).digest("hex");const _e={chunk:Me,filename:Le.fileContext?we(R,`/${Le.fileContext}`,`/${$}`):$,contentHash:G};const{path:Te,info:Be}=E.getPathWithInfo(N,_e);const je=Le.publicPath?Le.publicPath+Te:we(R,Ie(R,`/${le}`),`/${Te}`);let Ue=new q(Ne);if(We!==false){Ue=new j(Ue,E.getPath(We,Object.assign({url:je},_e)))}const qe={related:{sourceMap:Te}};ie[le]=Ue;ae[le]=qe;E.updateAsset(le,Ue,qe);const Ge=new q(Ke);const He={...Be,development:true};ie[Te]=Ge;ae[Te]=He;E.emitAsset(Te,Ge,He);if(Me!==undefined)Me.auxiliaryFiles.add(Te)}else{if(We===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const R=new j(new q(Ne),We.replace(/\[map\]/g,(()=>Ke)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(Ke,"utf-8").toString("base64")}`)));ie[le]=R;ae[le]=undefined;E.updateAsset(le,R)}$.cacheItem.store({assets:ie,assetsInfo:ae},(E=>{Ge(.5+.5*++Ue/Ve.length,$.file,"attached SourceMap");if(E){return G(E)}G()}))}),(E=>{Ge(1);le(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const R=this.compilation.createStatsFactory(E);return R.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const R=this.compilation.createStatsFactory(E);const N=this.compilation.createStatsPrinter(E);const $=R.create("compilation",this.compilation,{compilation:this.compilation});const j=N.print("compilation",$);return j===undefined?"":j}}E.exports=Stats},58159:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j}=N(48135);const q="a".charCodeAt(0);const G="A".charCodeAt(0);const ie="z".charCodeAt(0)-q+1;const ae=ie*2+2;const le=ae+10;const _e=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const Ee=/^\t/gm;const we=/\r?\n/g;const Ie=/^([^a-zA-Z$_])/;const Me=/[^a-zA-Z0-9$]+/g;const Te=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Be=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(_e,"").replace(Ee,"").replace(we,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Ie,"_$1").replace(Me,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Te,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Te,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Ne,"-").replace(Be,"")}static numberToIdentifier(E){if(E>=ae){return Template.numberToIdentifier(E%ae)+Template.numberToIdentifierContinuation(Math.floor(E/ae))}if(E=le){return Template.numberToIdentifierContinuation(E%le)+Template.numberToIdentifierContinuation(Math.floor(E/le))}if(EE)N=E}if(N<16+(""+N).length){N=0}let $=-1;for(const R of E){$+=`${R.id}`.length+2}const j=N===0?R:16+`${N}`.length+R;return j<$?[N,R]:false}static renderChunkModules(E,R,N,j=""){const{chunkGraph:q}=E;var G=new $;if(R.length===0){return null}const ie=R.map((E=>({id:q.getModuleId(E),source:N(E)||"false"})));const ae=Template.getModulesArrayBounds(ie);if(ae){const E=ae[0];const R=ae[1];if(E!==0){G.add(`Array(${E}).concat(`)}G.add("[\n");const N=new Map;for(const E of ie){N.set(E.id,E)}for(let $=E;$<=R;$++){const R=N.get($);if($!==E){G.add(",\n")}G.add(`/* ${$} */`);if(R){G.add("\n");G.add(R.source)}}G.add("\n"+j+"]");if(E!==0){G.add(")")}}else{G.add("{\n");for(let E=0;E {\n");N.add(new j("\t",q));N.add("\n})();\n\n")}else{N.add("!function() {\n");N.add(new j("\t",q));N.add("\n}();\n\n")}}}return N}static renderChunkRuntimeModules(E,R){return new j("/******/ ",new $("function(__webpack_require__) { // webpackRuntimeModules\n",this.renderRuntimeModules(E,R),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=ae;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=le},30337:(E,R,N)=>{"use strict";const{basename:$,extname:j}=N(71017);const q=N(73837);const G=N(62433);const ie=N(53453);const{parseResource:ae}=N(49197);const le=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const R=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${R[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,R,N,$)=>{const fn=(j,q,G)=>{let ie;const ae=q&&parseInt(q,10);if(ae&&R){ie=R(ae)}else{const R=E(j,q,G);ie=ae?R.slice(0,ae):R}if(N){N.immutable=true;if(Array.isArray(N[$])){N[$]=[...N[$],ie]}else if(N[$]){N[$]=[N[$],ie]}else{N[$]=ie}}return ie};return fn};const replacer=(E,R)=>{const fn=(N,$,j)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!R){throw new Error(`Path variable ${N} not implemented in this context: ${j}`)}return""}else{return`${E}`}};return fn};const _e=new Map;const Ee=(()=>()=>{})();const deprecated=(E,R,N)=>{let $=_e.get(R);if($===undefined){$=q.deprecate(Ee,R,N);_e.set(R,$)}return(...R)=>{$();return E(...R)}};const replacePathVariables=(E,R,N)=>{const q=R.chunkGraph;const _e=new Map;if(typeof R.filename==="string"){const{path:E,query:N,fragment:q}=ae(R.filename);const G=j(E);const ie=$(E);const le=ie.slice(0,ie.length-G.length);const Ee=E.slice(0,E.length-ie.length);_e.set("file",replacer(E));_e.set("query",replacer(N,true));_e.set("fragment",replacer(q,true));_e.set("path",replacer(Ee,true));_e.set("base",replacer(ie));_e.set("name",replacer(le));_e.set("ext",replacer(G,true));_e.set("filebase",deprecated(replacer(ie),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(R.hash){const E=hashLength(replacer(R.hash),R.hashWithLength,N,"fullhash");_e.set("fullhash",E);_e.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(R.chunk){const E=R.chunk;const $=R.contentHashType;const j=replacer(E.id);const q=replacer(E.name||E.id);const ie=hashLength(replacer(E instanceof G?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,N,"chunkhash");const ae=hashLength(replacer(R.contentHash||$&&E.contentHash&&E.contentHash[$]),R.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[$]:undefined),N,"contenthash");_e.set("id",j);_e.set("name",q);_e.set("chunkhash",ie);_e.set("contenthash",ae)}if(R.module){const E=R.module;const $=replacer((()=>prepareId(E instanceof ie?q.getModuleId(E):E.id)));const j=hashLength(replacer((()=>E instanceof ie?q.getRenderedModuleHash(E,R.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,N,"modulehash");const G=hashLength(replacer(R.contentHash),undefined,N,"contenthash");_e.set("id",$);_e.set("modulehash",j);_e.set("contenthash",G);_e.set("hash",R.contentHash?G:j);_e.set("moduleid",deprecated($,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(R.url){_e.set("url",replacer(R.url))}if(typeof R.runtime==="string"){_e.set("runtime",replacer((()=>prepareId(R.runtime))))}else{_e.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(R,N)}E=E.replace(le,((R,N)=>{if(N.length+2===R.length){const $=/^(\w+)(?::(\w+))?$/.exec(N);if(!$)return R;const[,j,q]=$;const G=_e.get(j);if(G!==undefined){return G(R,q,E)}}else if(R.startsWith("[\\")&&R.endsWith("\\]")){return`[${R.slice(2,-2)}]`}return R}));return E};const we="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(we,(E=>{E.hooks.assetPath.tap(we,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class UnhandledSchemeError extends ${constructor(E,R){super(`Reading from "${R}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=R;this.name="UnhandledSchemeError"}}j(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class UnsupportedFeatureWarning extends ${constructor(E,R){super(E);this.name="UnsupportedFeatureWarning";this.loc=R;this.hideStack=true}}j(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,R,N)=>{"use strict";const $=N(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:R})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(R=>{const N=R.body[0];if(N&&N.type==="ExpressionStatement"&&N.expression.type==="Literal"&&N.expression.value==="use strict"){const R=new $("",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);E.state.module.buildInfo.strict=true}}))};R.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);R.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,R,N)=>{"use strict";const $=N(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const R=new Map;for(const N of E.modules){const E=N.identifier();const $=E.toLowerCase();let j=R.get($);if(j===undefined){j=new Map;R.set($,j)}j.set(E,N)}for(const N of R){const R=N[1];if(R.size>1){E.warnings.push(new $(R.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,R,N)=>{"use strict";const $=N(81627);class WarnDeprecatedOptionPlugin{constructor(E,R,N){this.option=E;this.value=R;this.suggestion=N}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends ${constructor(E,R,N){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${R}' for option '${E}' is deprecated. `+`Use '${N}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,R,N)=>{"use strict";const $=N(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new $)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,R,N)=>{"use strict";const $=N(35817);const j=$(N(12798),(()=>N(91014)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const q="ignore";class IgnoringWatchFileSystem{constructor(E,R){this.wfs=E;this.paths=R}watch(E,R,N,$,j,G,ie){E=Array.from(E);R=Array.from(R);const ignored=E=>this.paths.some((R=>R instanceof RegExp?R.test(E):E.indexOf(R)===0));const notIgnored=E=>!ignored(E);const ae=E.filter(ignored);const le=R.filter(ignored);const _e=this.wfs.watch(E.filter(notIgnored),R.filter(notIgnored),N,$,j,((E,R,N,$,j)=>{if(E)return G(E);for(const E of ae){R.set(E,q)}for(const E of le){N.set(E,q)}G(E,R,N,$,j)}),ie);return{close:()=>_e.close(),pause:()=>_e.pause(),getContextTimeInfoEntries:()=>{const E=_e.getContextTimeInfoEntries();for(const R of le){E.set(R,q)}return E},getFileTimeInfoEntries:()=>{const E=_e.getFileTimeInfoEntries();for(const R of ae){E.set(R,q)}return E}}}}class WatchIgnorePlugin{constructor(E){j(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,R,N)=>{"use strict";const $=N(10140);class Watching{constructor(E,R,N){this.startTime=null;this.invalid=false;this.handler=N;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof R==="number"){this.watchOptions={aggregateTimeout:R}}else if(R&&typeof R==="object"){this.watchOptions={...R}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,R){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(R)}else{for(const R of E){this._collectedChangedFiles.add(R);this._collectedRemovedFiles.delete(R)}for(const E of R){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,R,N,j){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(N||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=j||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=R||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,R)=>{if(E)return this._done(E,R);if(this.invalid)return this._done(null,R);if(this.compiler.hooks.shouldEmit.call(R)===false){return this._done(null,R)}process.nextTick((()=>{const E=R.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(R,(N=>{E.timeEnd("emitAssets");if(N)return this._done(N,R);if(this.invalid)return this._done(null,R);E.time("emitRecords");this.compiler.emitRecords((N=>{E.timeEnd("emitRecords");if(N)return this._done(N,R);if(R.hooks.needAdditionalPass.call()){R.needAdditionalPass=true;R.startTime=this.startTime;R.endTime=Date.now();E.time("done hook");const N=new $(R);this.compiler.hooks.done.callAsync(N,(N=>{E.timeEnd("done hook");if(N)return this._done(N,R);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,R);this.compiler.compile(onCompiled)}))}));return}return this._done(null,R)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const R=new $(E);return R}_done(E,R){this.running=false;const N=R&&R.getLogger("webpack.Watching");let j=null;const handleError=(E,R)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,j);if(!R){R=this.callbacks;this.callbacks=[]}for(const N of R)N(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(R){N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(E=>{N.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(R){R.startTime=this.startTime;R.endTime=Date.now();j=new $(R)}this.startTime=null;if(E)return handleError(E);const q=this.callbacks;this.callbacks=[];N.time("done hook");this.compiler.hooks.done.callAsync(j,(E=>{N.timeEnd("done hook");if(E)return handleError(E,q);this.handler(null,j);N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(E=>{N.timeEnd("storeBuildDependencies");if(E)return handleError(E,q);N.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;N.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(R.fileDependencies,R.contextDependencies,R.missingDependencies)}}));for(const E of q)E(null);this.compiler.hooks.afterDone.call(j)}))}))}watch(E,R,N){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,R,N,this.lastWatcherStartTime,this.watchOptions,((E,R,N,$,j)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(R,N,$,j);this._onChange()}),((E,R)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,R)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,R,N,$){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(N,$);return}if(this.running){this._mergeWithCollected(N,$);this.invalid=true}else{this._go(E,R,N,$)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,R)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=E=>{this.compiler.hooks.watchClose.call();const R=this._closeCallbacks;this._closeCallbacks=undefined;for(const N of R)N(E)};if(R){const N=R.getLogger("webpack.Watching");N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(R=>{N.timeEnd("storeBuildDependencies");shutdown(E||R)}))}else{shutdown(E)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,R,N)=>{"use strict";const $=N(73837).inspect.custom;const j=N(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[$](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}j(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,R,N)=>{"use strict";const $=N(16761);const j=N(46715);const{toConstantDependency:q}=N(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,new $(R));E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(R=>{if(R.type!=="CallExpression"||R.arguments.length!==1||R.arguments[0].type==="SpreadElement")return;const N=E.evaluateExpression(R.arguments[0]);if(!N.isString())return;const $=new j(N.string,R.range);$.loc=R.loc;E.state.module.addDependency($);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",q(E,JSON.stringify("function")))};R.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);R.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,R,N)=>{"use strict";const $=N(97614);const j=N(75076);const q=N(18161);const G=N(9483);const ie=N(5538);const ae=N(64699);const le=N(43806);const _e=N(89818);const Ee=N(32323);const we=N(97489);const Ie=N(40552);const Me=N(29672);const Te=N(57694);const Ne=N(30337);const Be=N(79050);const Le=N(12510);const je=N(68495);const ze=N(99184);const Ue=N(13653);const qe=N(91630);const Ge=N(26165);const He=N(38586);const We=N(54975);const Ve=N(2451);const Ke=N(67634);const Qe=N(51727);const Je=N(3085);const Xe=N(62630);const Ye=N(65577);const Ze=N(76373);const et=N(68778);const tt=N(82527);const nt=N(9054);const rt=N(7391);const st=N(61762);const{cleverMerge:it}=N(90149);class WebpackOptionsApply extends ${constructor(){super()}process(E,R){R.outputPath=E.output.path;R.recordsInputPath=E.recordsInputPath||null;R.recordsOutputPath=E.recordsOutputPath||null;R.name=E.name;if(E.externals){const $=N(61050);new $(E.externalsType,E.externals).apply(R)}if(E.externalsPresets.node){const E=N(84980);(new E).apply(R)}if(E.externalsPresets.electronMain){const E=N(25726);new E("main").apply(R)}if(E.externalsPresets.electronPreload){const E=N(25726);new E("preload").apply(R)}if(E.externalsPresets.electronRenderer){const E=N(25726);new E("renderer").apply(R)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=N(25726);(new E).apply(R)}if(E.externalsPresets.nwjs){const E=N(61050);new E("node-commonjs","nw.gui").apply(R)}if(E.externalsPresets.webAsync){const E=N(61050);new E("import",/^(https?:\/\/|std:)/).apply(R)}else if(E.externalsPresets.web){const E=N(61050);new E("module",/^(https?:\/\/|std:)/).apply(R)}(new ie).apply(R);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=N(41113);(new E).apply(R);break}case"commonjs":{const E=N(77314);(new E).apply(R);break}case"module":{const E=N(57378);(new E).apply(R);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const $ of E.output.enabledChunkLoadingTypes){const E=N(50369);new E($).apply(R)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const $ of E.output.enabledWasmLoadingTypes){const E=N(69085);new E($).apply(R)}}if(E.output.enabledLibraryTypes.length>0){for(const $ of E.output.enabledLibraryTypes){const E=N(13984);new E($).apply(R)}}if(E.output.pathinfo){const $=N(21542);new $(E.output.pathinfo!==true).apply(R)}if(E.output.clean){const $=N(61666);new $(E.output.clean===true?{}:E.output.clean).apply(R)}if(E.devtool){if(E.devtool.includes("source-map")){const $=E.devtool.includes("hidden");const j=E.devtool.includes("inline");const q=E.devtool.includes("eval");const G=E.devtool.includes("cheap");const ie=E.devtool.includes("module");const ae=E.devtool.includes("nosources");const le=q?N(23641):N(2e4);new le({filename:j?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:$?false:undefined,module:ie?true:G?false:true,columns:G?false:true,noSources:ae,namespace:E.output.devtoolNamespace}).apply(R)}else if(E.devtool.includes("eval")){const $=N(91331);new $({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(R)}}(new q).apply(R);(new G).apply(R);(new j).apply(R);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const $=N(84387);new $({mangleImports:E.optimization.mangleWasmImports}).apply(R)}if(E.experiments.asyncWebAssembly){const $=N(82422);new $({mangleImports:E.optimization.mangleWasmImports}).apply(R)}if(E.experiments.lazyCompilation){const $=N(10639);const j=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new $({backend:typeof j.backend==="function"?j.backend:N(64244)({...j.backend,client:j.backend&&j.backend.client||E.externalsPresets.node?N.ab+"lazy-compilation-node.js":N.ab+"lazy-compilation-web.js"}),entries:!j||j.entries!==false,imports:!j||j.imports!==false,test:j&&j.test||undefined}).apply(R)}if(E.experiments.buildHttp){const $=N(7201);const j=E.experiments.buildHttp;new $(j).apply(R)}(new ae).apply(R);R.hooks.entryOption.call(E.context,E.entry);(new _e).apply(R);(new et).apply(R);(new je).apply(R);(new ze).apply(R);(new we).apply(R);new Ge({topLevelAwait:E.experiments.topLevelAwait}).apply(R);if(E.amd!==false){const $=N(19765);const j=N(10830);new $(E.amd||{}).apply(R);(new j).apply(R)}(new qe).apply(R);new Ve({}).apply(R);if(E.node!==false){const $=N(32125);new $(E.node).apply(R)}(new Ee).apply(R);(new Me).apply(R);(new Te).apply(R);(new Ie).apply(R);(new Be).apply(R);(new Je).apply(R);(new Qe).apply(R);(new Ke).apply(R);(new We).apply(R);(new Xe).apply(R);(new He).apply(R);(new Ye).apply(R);new Ze(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(R);(new nt).apply(R);(new rt).apply(R);(new st).apply(R);(new tt).apply(R);if(typeof E.mode!=="string"){const E=N(67586);(new E).apply(R)}const $=N(38173);(new $).apply(R);if(E.optimization.removeAvailableModules){const E=N(78016);(new E).apply(R)}if(E.optimization.removeEmptyChunks){const E=N(62665);(new E).apply(R)}if(E.optimization.mergeDuplicateChunks){const E=N(70026);(new E).apply(R)}if(E.optimization.flagIncludedChunks){const E=N(76627);(new E).apply(R)}if(E.optimization.sideEffects){const $=N(63410);new $(E.optimization.sideEffects===true).apply(R)}if(E.optimization.providedExports){const E=N(95629);(new E).apply(R)}if(E.optimization.usedExports){const $=N(1596);new $(E.optimization.usedExports==="global").apply(R)}if(E.optimization.innerGraph){const E=N(10032);(new E).apply(R)}if(E.optimization.mangleExports){const $=N(41694);new $(E.optimization.mangleExports!=="size").apply(R)}if(E.optimization.concatenateModules){const E=N(35442);(new E).apply(R)}if(E.optimization.splitChunks){const $=N(40051);new $(E.optimization.splitChunks).apply(R)}if(E.optimization.runtimeChunk){const $=N(4674);new $(E.optimization.runtimeChunk).apply(R)}if(!E.optimization.emitOnErrors){const E=N(66962);(new E).apply(R)}if(E.optimization.realContentHash){const $=N(30699);new $({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(R)}if(E.optimization.checkWasmTypes){const E=N(8576);(new E).apply(R)}const ot=E.optimization.moduleIds;if(ot){switch(ot){case"natural":{const E=N(97781);(new E).apply(R);break}case"named":{const E=N(9297);(new E).apply(R);break}case"hashed":{const $=N(3571);const j=N(35853);new $("optimization.moduleIds","hashed","deterministic").apply(R);new j({hashFunction:E.output.hashFunction}).apply(R);break}case"deterministic":{const E=N(35579);(new E).apply(R);break}case"size":{const E=N(76059);new E({prioritiseInitial:true}).apply(R);break}default:throw new Error(`webpack bug: moduleIds: ${ot} is not implemented`)}}const lt=E.optimization.chunkIds;if(lt){switch(lt){case"natural":{const E=N(18298);(new E).apply(R);break}case"named":{const E=N(64779);(new E).apply(R);break}case"deterministic":{const E=N(90444);(new E).apply(R);break}case"size":{const E=N(86169);new E({prioritiseInitial:true}).apply(R);break}case"total-size":{const E=N(86169);new E({prioritiseInitial:false}).apply(R);break}default:throw new Error(`webpack bug: chunkIds: ${lt} is not implemented`)}}if(E.optimization.nodeEnv){const $=N(24820);new $({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(R)}if(E.optimization.minimize){for(const N of E.optimization.minimizer){if(typeof N==="function"){N.call(R,R)}else if(N!=="..."){N.apply(R)}}}if(E.performance){const $=N(20625);new $(E.performance).apply(R)}(new Ne).apply(R);new le({portableIds:E.optimization.portableRecords}).apply(R);(new Le).apply(R);const ct=N(46584);new ct(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(R);if(E.cache&&typeof E.cache==="object"){const $=E.cache;switch($.type){case"memory":{if(isFinite($.maxGenerations)){const E=N(71162);new E({maxGenerations:$.maxGenerations}).apply(R)}else{const E=N(47786);(new E).apply(R)}if($.cacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}R.moduleMemCaches=new Map}break}case"filesystem":{const j=N(38016);for(const E in $.buildDependencies){const N=$.buildDependencies[E];new j(N).apply(R)}if(!isFinite($.maxMemoryGenerations)){const E=N(47786);(new E).apply(R)}else if($.maxMemoryGenerations!==0){const E=N(71162);new E({maxGenerations:$.maxMemoryGenerations}).apply(R)}if($.memoryCacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}R.moduleMemCaches=new Map}switch($.store){case"pack":{const j=N(66620);const q=N(83793);new j(new q({compiler:R,fs:R.intermediateFileSystem,context:E.context,cacheLocation:$.cacheLocation,version:$.version,logger:R.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:$.maxAge,profile:$.profile,allowCollectingMemory:$.allowCollectingMemory,compression:$.compression}),$.idleTimeout,$.idleTimeoutForInitialStore,$.idleTimeoutAfterLargeChanges).apply(R);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${$.type}`)}}(new Ue).apply(R);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const $=N(89056);new $(E.ignoreWarnings).apply(R)}R.hooks.afterPlugins.call(R);if(!R.inputFileSystem){throw new Error("No input filesystem provided")}R.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(N=>{N=it(E.resolve,N);N.fileSystem=R.inputFileSystem;return N}));R.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(N=>{N=it(E.resolve,N);N.fileSystem=R.inputFileSystem;N.resolveToContext=true;return N}));R.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(N=>{N=it(E.resolveLoader,N);N.fileSystem=R.inputFileSystem;return N}));R.hooks.afterResolvers.call(R);return E}}E.exports=WebpackOptionsApply},94820:(E,R,N)=>{"use strict";const{applyWebpackOptionsDefaults:$}=N(54411);const{getNormalizedWebpackOptions:j}=N(96590);class WebpackOptionsDefaulter{process(E){E=j(E);$(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,R,N)=>{"use strict";const $=N(50007);const j=N(71017);const{RawSource:q}=N(48135);const G=N(36253);const ie=N(76150);const ae=N(35891);const{makePathsRelative:le}=N(49197);const mergeMaybeArrays=(E,R)=>{const N=new Set;if(Array.isArray(E))for(const R of E)N.add(R);else N.add(E);if(Array.isArray(R))for(const E of R)N.add(E);else N.add(R);return Array.from(N)};const mergeAssetInfo=(E,R)=>{const N={...E,...R};for(const $ of Object.keys(E)){if($ in R){if(E[$]===R[$])continue;switch($){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":N[$]=mergeMaybeArrays(E[$],R[$]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":N[$]=E[$]||R[$];break;case"related":N[$]=mergeRelatedInfo(E[$],R[$]);break;default:throw new Error(`Can't handle conflicting asset info for ${$}`)}}}return N};const mergeRelatedInfo=(E,R)=>{const N={...E,...R};for(const $ of Object.keys(E)){if($ in R){if(E[$]===R[$])continue;N[$]=mergeMaybeArrays(E[$],R[$])}}return N};const _e=new Set(["javascript"]);const Ee=new Set(["javascript","asset"]);class AssetGenerator extends G{constructor(E,R,N,$){super();this.dataUrlOptions=E;this.filename=R;this.publicPath=N;this.emit=$}generate(E,{runtime:R,chunkGraph:N,runtimeTemplate:G,runtimeRequirements:_e,type:Ee,getData:we}){switch(Ee){case"asset":return E.originalSource();default:{_e.add(ie.module);const Ee=E.originalSource();if(E.buildInfo.dataUrl){let R;if(typeof this.dataUrlOptions==="function"){R=this.dataUrlOptions.call(null,Ee.source(),{filename:E.matchResource||E.resource,module:E})}else{let N=this.dataUrlOptions.encoding;if(N===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){N=E.resourceResolveData.encoding}}if(N===undefined){N="base64"}let q;let G=this.dataUrlOptions.mimetype;if(G===undefined){q=j.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){G=E.resourceResolveData.mimetype+E.resourceResolveData.parameters}else if(q){G=$.lookup(q)}}if(typeof G!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${q}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ie;if(E.resourceResolveData&&E.resourceResolveData.encoding===N){ie=E.resourceResolveData.encodedContent}else{switch(N){case"base64":{ie=Ee.buffer().toString("base64");break}case false:{const E=Ee.source();if(typeof E!=="string"){ie=E.toString("utf-8")}ie=encodeURIComponent(ie).replace(/[!'()*]/g,(E=>"%"+E.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${N}'`)}}R=`data:${G}${N?`;${N}`:""},${ie}`}return new q(`${ie.module}.exports = ${JSON.stringify(R)};`)}else{const $=this.filename||G.outputOptions.assetModuleFilename;const j=ae(G.outputOptions.hashFunction);if(G.outputOptions.hashSalt){j.update(G.outputOptions.hashSalt)}j.update(Ee.buffer());const Ie=j.digest(G.outputOptions.hashDigest);const Me=Ie.slice(0,G.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Ie;const Te=le(G.compilation.compiler.context,E.matchResource||E.resource,G.compilation.compiler.root).replace(/^\.\//,"");let{path:Ne,info:Be}=G.compilation.getAssetPathWithInfo($,{module:E,runtime:R,filename:Te,chunkGraph:N,contentHash:Me});let Le;if(this.publicPath!==undefined){const{path:$,info:j}=G.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:R,filename:Te,chunkGraph:N,contentHash:Me});Le=JSON.stringify($);Be=mergeAssetInfo(Be,j)}else{Le=ie.publicPath;_e.add(ie.publicPath)}Be={sourceFilename:Te,...Be};E.buildInfo.filename=Ne;E.buildInfo.assetInfo=Be;if(we){const E=we();E.set("fullContentHash",Ie);E.set("filename",Ne);E.set("assetInfo",Be)}return new q(`${ie.module}.exports = ${Le} + ${JSON.stringify(Ne)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return _e}else{return Ee}}getSize(E,R){switch(R){case"asset":{const R=E.originalSource();if(!R){return 0}return R.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const R=E.originalSource();if(!R){return 0}return R.size()*1.34+36}else{return 42}}}updateHash(E,{module:R}){E.update(R.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,R,N)=>{"use strict";const{cleverMerge:$}=N(90149);const{compareModulesByIdentifier:j}=N(68673);const q=N(35817);const G=N(91671);const getSchema=E=>{const{definitions:R}=N(46312);return{definitions:R,oneOf:[{$ref:`#/definitions/${E}`}]}};const ie={name:"Asset Modules Plugin",baseDataPath:"generator"};const ae={asset:q(N(68707),(()=>getSchema("AssetGeneratorOptions")),ie),"asset/resource":q(N(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ie),"asset/inline":q(N(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ie)};const le=q(N(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const _e=G((()=>N(20882)));const Ee=G((()=>N(74795)));const we=G((()=>N(20139)));const Ie=G((()=>N(54685)));const Me="asset";const Te="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Te,((R,{normalModuleFactory:N})=>{N.hooks.createParser.for("asset").tap(Te,(R=>{le(R);R=$(E.options.module.parser.asset,R);let N=R.dataUrlCondition;if(!N||typeof N==="object"){N={maxSize:8096,...N}}const j=Ee();return new j(N)}));N.hooks.createParser.for("asset/inline").tap(Te,(E=>{const R=Ee();return new R(true)}));N.hooks.createParser.for("asset/resource").tap(Te,(E=>{const R=Ee();return new R(false)}));N.hooks.createParser.for("asset/source").tap(Te,(E=>{const R=we();return new R}));for(const E of["asset","asset/inline","asset/resource"]){N.hooks.createGenerator.for(E).tap(Te,(R=>{ae[E](R);let N=undefined;if(E!=="asset/resource"){N=R.dataUrl;if(!N||typeof N==="object"){N={encoding:undefined,mimetype:undefined,...N}}}let $=undefined;let j=undefined;if(E!=="asset/inline"){$=R.filename;j=R.publicPath}const q=_e();return new q(N,$,j,R.emit!==false)}))}N.hooks.createGenerator.for("asset/source").tap(Te,(()=>{const E=Ie();return new E}));R.hooks.renderManifest.tap(Te,((E,N)=>{const{chunkGraph:$}=R;const{chunk:q,codeGenerationResults:G}=N;const ie=$.getOrderedChunkModulesIterableBySourceType(q,"asset",j);if(ie){for(const R of ie){try{const N=G.get(R,q.runtime);E.push({render:()=>N.sources.get(Me),filename:R.buildInfo.filename||N.data.get("filename"),info:R.buildInfo.assetInfo||N.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${$.getModuleId(R)}`,hash:R.buildInfo.fullContentHash||N.data.get("fullContentHash")})}catch(E){E.message+=`\nduring rendering of asset ${R.identifier()}`;throw E}}}return E}));R.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,R)=>{const{codeGenerationResult:N}=E;const $=N.sources.get("asset");if($===undefined)return;R.assets.set(N.data.get("filename"),{source:$,info:N.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,R,N)=>{"use strict";const $=N(2172);class AssetParser extends ${constructor(E){super();this.dataUrlCondition=E}parse(E,R){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){R.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:R.module.matchResource||R.module.resource,module:R.module})}else if(typeof this.dataUrlCondition==="boolean"){R.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){R.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return R}}E.exports=AssetParser},54685:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(36253);const q=N(76150);const G=new Set(["javascript"]);class AssetSourceGenerator extends j{generate(E,{chunkGraph:R,runtimeTemplate:N,runtimeRequirements:j}){j.add(q.module);const G=E.originalSource();if(!G){return new $("")}const ie=G.source();let ae;if(typeof ie==="string"){ae=ie}else{ae=ie.toString("utf-8")}return new $(`${q.module}.exports = ${JSON.stringify(ae)};`)}getTypes(E){return G}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()+12}}E.exports=AssetSourceGenerator},20139:(E,R,N)=>{"use strict";const $=N(2172);class AssetSourceParser extends ${parse(E,R){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:N}=R;N.buildInfo.strict=true;N.buildMeta.exportsType="default";return R}}E.exports=AssetSourceParser},10813:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const q=N(58159);class AwaitDependenciesInitFragment extends ${constructor(E){super(undefined,$.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const R=new Set(this.promises);for(const N of E.promises){R.add(N)}return new AwaitDependenciesInitFragment(R)}getContent({runtimeRequirements:E}){E.add(j.module);const R=this.promises;if(R.size===0){return""}if(R.size===1){for(const E of R){return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const N=Array.from(R).join(", ");return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${N}]);`,`([${N}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,R,N)=>{"use strict";const $=N(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:R}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const N=new Set;for(const R of E){if(R.buildMeta&&R.buildMeta.async){N.add(R)}}for(const E of N){R.setAsync(E);for(const[j,q]of R.getIncomingConnectionsByOriginModule(E)){if(q.some((E=>E.dependency instanceof $&&E.isTargetActive(undefined)))){N.add(j)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,R,N)=>{"use strict";const $=N(21357);const{connectChunkGroupParentAndChild:j}=N(4642);const q=N(79900);const{getEntryRuntime:G,mergeRuntime:ie}=N(37416);const ae=new Set;ae.plus=ae;const bySetSize=(E,R)=>R.size+R.plus.size-E.size-E.plus.size;const extractBlockModules=(E,R,N,$)=>{let j;let G;const ie=[];const ae=[E];while(ae.length>0){const E=ae.pop();const R=[];ie.push(R);$.set(E,R);for(const R of E.blocks){ae.push(R)}}for(const q of R.getOutgoingConnections(E)){const E=q.dependency;if(!E)continue;const ie=q.module;if(!ie)continue;if(q.weak)continue;const ae=q.getActiveState(N);if(ae===false)continue;const le=R.getParentBlock(E);let _e=R.getParentBlockIndex(E);if(_e<0){_e=le.dependencies.indexOf(E)}if(j!==le){G=$.get(j=le)}const Ee=_e<<2;G[Ee]=ie;G[Ee+1]=ae}for(const E of ie){if(E.length===0)continue;let R;let N=0;e:for(let $=0;$30){R=new Map;for(let $=0;${const{moduleGraph:Ee,chunkGraph:we,moduleMemCaches:Ie}=R;const Me=new Map;let Te=false;let Ne;const getBlockModules=(R,N)=>{if(Te!==N){Ne=Me.get(N);if(Ne===undefined){Ne=new Map;Me.set(N,Ne)}}let $=Ne.get(R);if($!==undefined)return $;const j=R.getRootBlock();const q=Ie&&Ie.get(j);if(q!==undefined){const $=q.provide("bundleChunkGraph.blockModules",N,(()=>{E.time("visitModules: prepare");const R=new Map;extractBlockModules(j,Ee,N,R);E.timeAggregate("visitModules: prepare");return R}));for(const[E,R]of $)Ne.set(E,R);return $.get(R)}else{E.time("visitModules: prepare");extractBlockModules(j,Ee,N,Ne);$=Ne.get(R);E.timeAggregate("visitModules: prepare");return $}};let Be=0;let Le=0;let je=0;let ze=0;let Ue=0;let qe=0;let Ge=0;let He=0;let We=0;let Ve=0;let Ke=0;let Qe=0;let Je=0;let Xe=0;let Ye=0;let Ze=0;const et=new Map;const tt=new Map;const nt=new Map;const rt=0;const st=1;const it=2;const ot=3;const lt=4;const ct=5;let ut=[];const pt=new Map;const dt=new Set;for(const[E,$]of N){const N=G(R,E.name,E.options);const q={chunkGroup:E,runtime:N,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=Xe++;if(E.getNumberOfParents()>0){const E=new Set;for(const R of $){E.add(R)}q.skippedItems=E;dt.add(q)}else{q.minAvailableModules=ae;const R=E.getEntrypointChunk();for(const N of $){ut.push({action:st,block:N,module:N,chunk:R,chunkGroup:E,chunkGroupInfo:q})}}j.set(E,q);if(E.name){tt.set(E.name,q)}}for(const E of dt){const{chunkGroup:R}=E;E.availableSources=new Set;for(const N of R.parentsIterable){const R=j.get(N);E.availableSources.add(R);if(R.availableChildren===undefined){R.availableChildren=new Set}R.availableChildren.add(E)}}ut.reverse();const ft=new Set;const ht=new Set;let mt=[];const gt=[];const yt=[];const vt=[];let bt;let _t;let xt;let kt;let Et;const iteratorBlock=E=>{let N=et.get(E);let G;let ie;const le=E.groupOptions&&E.groupOptions.entryOptions;if(N===undefined){const Ee=E.groupOptions&&E.groupOptions.name||E.chunkName;if(le){N=nt.get(Ee);if(!N){ie=R.addAsyncEntrypoint(le,bt,E.loc,E.request);ie.index=Xe++;N={chunkGroup:ie,runtime:ie.options.runtime||ie.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};j.set(ie,N);we.connectBlockAndChunkGroup(E,ie);if(Ee){nt.set(Ee,N)}}else{ie=N.chunkGroup;ie.addOrigin(bt,E.loc,E.request);we.connectBlockAndChunkGroup(E,ie)}mt.push({action:lt,block:E,module:bt,chunk:ie.chunks[0],chunkGroup:ie,chunkGroupInfo:N})}else{N=tt.get(Ee);if(!N){G=R.addChunkInGroup(E.groupOptions||E.chunkName,bt,E.loc,E.request);G.index=Xe++;N={chunkGroup:G,runtime:Et.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};_e.add(G);j.set(G,N);if(Ee){tt.set(Ee,N)}}else{G=N.chunkGroup;if(G.isInitial()){R.errors.push(new $(Ee,bt,E.loc));G=xt}G.addOptions(E.groupOptions);G.addOrigin(bt,E.loc,E.request)}q.set(E,[])}et.set(E,N)}else if(le){ie=N.chunkGroup}else{G=N.chunkGroup}if(G!==undefined){q.get(E).push({originChunkGroupInfo:Et,chunkGroup:G});let R=pt.get(Et);if(R===undefined){R=new Set;pt.set(Et,R)}R.add(N);mt.push({action:ot,block:E,module:bt,chunk:G.chunks[0],chunkGroup:G,chunkGroupInfo:N})}else{Et.chunkGroup.addAsyncEntrypoint(ie)}};const processBlock=E=>{Le++;const R=getBlockModules(E,Et.runtime);if(R!==undefined){const{minAvailableModules:E}=Et;for(let N=0;N0){let{skippedModuleConnections:E}=Et;if(E===undefined){Et.skippedModuleConnections=E=new Set}for(let R=gt.length-1;R>=0;R--){E.add(gt[R])}gt.length=0}if(yt.length>0){let{skippedItems:E}=Et;if(E===undefined){Et.skippedItems=E=new Set}for(let R=yt.length-1;R>=0;R--){E.add(yt[R])}yt.length=0}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const R of E.blocks){iteratorBlock(R)}if(E.blocks.length>0&&bt!==E){le.add(E)}};const processEntryBlock=E=>{Le++;const R=getBlockModules(E,Et.runtime);if(R!==undefined){for(let E=0;E0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const R of E.blocks){iteratorBlock(R)}if(E.blocks.length>0&&bt!==E){le.add(E)}};const processQueue=()=>{while(ut.length){Be++;const E=ut.pop();bt=E.module;kt=E.block;_t=E.chunk;xt=E.chunkGroup;Et=E.chunkGroupInfo;switch(E.action){case rt:we.connectChunkAndEntryModule(_t,bt,xt);case st:{if(we.isModuleInChunk(bt,_t)){break}we.connectChunkAndModule(_t,bt)}case it:{const R=xt.getModulePreOrderIndex(bt);if(R===undefined){xt.setModulePreOrderIndex(bt,Et.preOrderIndex++)}if(Ee.setPreOrderIndexIfUnset(bt,Ye)){Ye++}E.action=ct;ut.push(E)}case ot:{processBlock(kt);break}case lt:{processEntryBlock(kt);break}case ct:{const E=xt.getModulePostOrderIndex(bt);if(E===undefined){xt.setModulePostOrderIndex(bt,Et.postOrderIndex++)}if(Ee.setPostOrderIndexIfUnset(bt,Ze)){Ze++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const R=E.minAvailableModules;let N;if(R.size>R.plus.size){N=new Set;for(const E of R.plus)R.add(E);R.plus=ae;N.plus=R;E.minAvailableModulesOwned=false}else{N=new Set(R);N.plus=R.plus}for(const R of E.chunkGroup.chunks){for(const E of we.getChunkModulesIterable(R)){N.add(E)}}return E.resultingAvailableModules=N};const processConnectQueue=()=>{for(const[E,R]of pt){if(E.children===undefined){E.children=R}else{for(const N of R){E.children.add(N)}}const N=calculateResultingAvailableModules(E);const $=E.runtime;for(const E of R){E.availableModulesToBeMerged.push(N);ht.add(E);const R=E.runtime;const j=ie(R,$);if(R!==j){E.runtime=j;ft.add(E)}}je+=R.size}pt.clear()};const processChunkGroupsForMerging=()=>{ze+=ht.size;for(const E of ht){const R=E.availableModulesToBeMerged;let N=E.minAvailableModules;Ue+=R.length;if(R.length>1){R.sort(bySetSize)}let $=false;e:for(const j of R){if(N===undefined){N=j;E.minAvailableModules=N;E.minAvailableModulesOwned=false;$=true}else{if(E.minAvailableModulesOwned){if(N.plus===j.plus){for(const E of N){if(!j.has(E)){N.delete(E);$=true}}}else{for(const E of N){if(!j.has(E)&&!j.plus.has(E)){N.delete(E);$=true}}for(const E of N.plus){if(!j.has(E)&&!j.plus.has(E)){const R=N.plus[Symbol.iterator]();let q;while(!(q=R.next()).done){const R=q.value;if(R===E)break;N.add(R)}while(!(q=R.next()).done){const R=q.value;if(j.has(R)||j.plus.has(E)){N.add(R)}}N.plus=ae;$=true;continue e}}}}else if(N.plus===j.plus){if(j.size{for(const E of dt){for(const R of E.availableSources){if(!R.minAvailableModules){dt.delete(E);break}}}for(const E of dt){const R=new Set;R.plus=ae;const mergeSet=E=>{if(E.size>R.plus.size){for(const E of R.plus)R.add(E);R.plus=E}else{for(const N of E)R.add(N)}};for(const R of E.availableSources){const E=calculateResultingAvailableModules(R);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=R;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;ft.add(E)}dt.clear()};const processOutdatedChunkGroupInfo=()=>{Qe+=ft.size;for(const E of ft){if(E.skippedItems!==undefined){const{minAvailableModules:R}=E;for(const N of E.skippedItems){if(!R.has(N)&&!R.plus.has(N)){ut.push({action:st,block:N,module:N,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(N)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:R}=E;for(const N of E.skippedModuleConnections){const[$,j]=N;if(j===false)continue;if(j===true){E.skippedModuleConnections.delete(N)}if(j===true&&(R.has($)||R.plus.has($))){E.skippedItems.add($);continue}ut.push({action:j===true?st:ot,block:$,module:$,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){Je+=E.children.size;for(const R of E.children){let N=pt.get(E);if(N===undefined){N=new Set;pt.set(E,N)}N.add(R)}}if(E.availableChildren!==undefined){for(const R of E.availableChildren){dt.add(R)}}}ft.clear()};while(ut.length||pt.size){E.time("visitModules: visiting");processQueue();E.timeAggregateEnd("visitModules: prepare");E.timeEnd("visitModules: visiting");if(dt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(pt.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(ht.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(ft.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const E=ut;ut=mt.reverse();mt=E}}E.log(`${Be} queue items processed (${Le} blocks)`);E.log(`${je} chunk groups connected`);E.log(`${ze} chunk groups processed for merging (${Ue} module sets, ${qe} forked, ${Ge} + ${He} modules forked, ${We} + ${Ve} modules merged into fork, ${Ke} resulting modules)`);E.log(`${Qe} chunk group info updated (${Je} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,R,N,$)=>{const{chunkGraph:q}=E;const areModulesAvailable=(E,R)=>{for(const N of E.chunks){for(const E of q.getChunkModulesIterable(N)){if(!R.has(E)&&!R.plus.has(E))return false}}return true};for(const[E,$]of N){if(!R.has(E)&&$.every((({chunkGroup:E,originChunkGroupInfo:R})=>areModulesAvailable(E,R.resultingAvailableModules)))){continue}for(let R=0;R<$.length;R++){const{chunkGroup:N,originChunkGroupInfo:G}=$[R];q.connectBlockAndChunkGroup(E,N);j(G.chunkGroup,N)}}};const cleanupUnconnectedGroups=(E,R)=>{const{chunkGraph:N}=E;for(const $ of R){if($.getNumberOfParents()===0){for(const R of $.chunks){E.chunks.delete(R);N.disconnectChunk(R)}N.disconnectChunkGroup($);$.remove()}}};const buildChunkGraph=(E,R)=>{const N=E.getLogger("webpack.buildChunkGraph");const $=new Map;const j=new Set;const q=new Map;const G=new Set;N.time("visitModules");visitModules(N,E,R,q,$,G,j);N.timeEnd("visitModules");N.time("connectChunkGroups");connectChunkGroups(E,G,$,q);N.timeEnd("connectChunkGroups");for(const[E,R]of q){for(const N of E.chunks)N.runtime=ie(N.runtime,R.runtime)}N.time("cleanup");cleanupUnconnectedGroups(E,j);N.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,R){this.managedPaths=new Set(E);this.immutablePaths=new Set(R)}apply(E){for(const R of this.managedPaths){E.managedPaths.add(R)}for(const R of this.immutablePaths){E.immutablePaths.add(R)}}}E.exports=AddManagedPathsPlugin},66620:(E,R,N)=>{"use strict";const $=N(54725);const j=N(52923);const q=Symbol();class IdleFileCachePlugin{constructor(E,R,N,$){this.strategy=E;this.idleTimeout=R;this.idleTimeoutForInitialStore=N;this.idleTimeoutAfterLargeChanges=$}apply(E){let R=this.strategy;const N=this.idleTimeout;const G=Math.min(N,this.idleTimeoutForInitialStore);const ie=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let le=0;let _e=0;let Ee=0;const we=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},((E,N,$)=>{we.set(E,(()=>R.store(E,N,$)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},((E,N,$)=>{const restore=()=>R.restore(E,N).then((j=>{if(j===undefined){$.push((($,j)=>{if($!==undefined){we.set(E,(()=>R.store(E,N,$)))}j()}))}else{return j}}));const j=we.get(E);if(j!==undefined){we.delete(E);return j().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(E=>{we.set(q,(()=>R.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}Me=false;const N=j.getReporter(E);const $=Array.from(we.values());if(N)N(0,"process pending cache items");const q=$.map((E=>E()));we.clear();q.push(Ie);const G=Promise.all(q);Ie=G.then((()=>R.afterAllStored()));if(N){Ie=Ie.then((()=>{N(1,`stored`)}))}return Ie.then((()=>{if(R.clear)R.clear()}))}));let Ie=ae;let Me=false;let Te=true;const processIdleTasks=()=>{if(Me){const N=Date.now();if(we.size>0){const E=[Ie];const R=N+100;let $=100;for(const[N,j]of we){we.delete(N);E.push(j());if($--<=0||Date.now()>R)break}Ie=Promise.all(E);Ie.then((()=>{_e+=Date.now()-N;Ne=setTimeout(processIdleTasks,0);Ne.unref()}));return}Ie=Ie.then((async()=>{await R.afterAllStored();_e+=Date.now()-N;Ee=Math.max(Ee,_e)*.9+_e*.1;_e=0;le=0})).catch((R=>{const N=E.getInfrastructureLogger("IdleFileCachePlugin");N.warn(`Background tasks during idle failed: ${R.message}`);N.debug(R.stack)}));Te=false}};let Ne=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{const R=le>Ee*2;if(Te&&G{Ne=undefined;Me=true;ae.then(processIdleTasks)}),Math.min(Te?G:Infinity,R?ie:Infinity,N));Ne.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}Me=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{le*=.9;le+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,R,N)=>{"use strict";const $=N(54725);class MemoryCachePlugin{apply(E){const R=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},((E,N,$)=>{R.set(E,{etag:N,data:$})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},((E,N,$)=>{const j=R.get(E);if(j===null){return null}else if(j!==undefined){return j.etag===N?j.data:null}$.push((($,j)=>{if($===undefined){R.set(E,null)}else{R.set(E,{etag:N,data:$})}return j()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},(()=>{R.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,R,N)=>{"use strict";const $=N(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const R=this._maxGenerations;const N=new Map;const j=new Map;let q=0;let G=0;const ie=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{q++;let E=0;let $;for(const[R,G]of j){if(G.until>q)break;j.delete(R);if(N.get(R)===undefined){N.delete(R);E++;$=R}}if(E>0||j.size>0){ie.log(`${N.size-j.size} active entries, ${j.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${$}`:""}`)}let ae=N.size/R|0;let le=G>=N.size?0:G;G=le+ae;for(const[E,$]of N){if(le!==0){le--;continue}if($!==undefined){N.set(E,undefined);j.delete(E);j.set(E,{entry:$,until:q+R});if(ae--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},((E,R,$)=>{N.set(E,{etag:R,data:$})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},((E,R,$)=>{const q=N.get(E);if(q===null){return null}else if(q!==undefined){return q.etag===R?q.data:null}const G=j.get(E);if(G!==undefined){const $=G.entry;if($===null){j.delete(E);N.set(E,$);return null}else{if($.etag!==R)return null;j.delete(E);N.set(E,$);return $.data}}$.push((($,j)=>{if($===undefined){N.set(E,null)}else{N.set(E,{etag:R,data:$})}return j()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},(()=>{N.clear();j.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,R,N)=>{"use strict";const $=N(22996);const j=N(52923);const{formatSize:q}=N(9192);const G=N(43065);const ie=N(83379);const ae=N(56202);const le=N(91671);const{createFileSerializer:_e,NOT_SERIALIZABLE:Ee}=N(24568);class PackContainer{constructor(E,R,N,$,j,q){this.data=E;this.version=R;this.buildSnapshot=N;this.buildDependencies=$;this.resolveResults=j;this.resolveBuildDependenciesSnapshot=q}serialize({write:E,writeLazy:R}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);R(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const we=1024*1024;const Ie=10;const Me=100;const Te=5e4;const Ne=1*60*1e3;class PackItemInfo{constructor(E,R,N){this.identifier=E;this.etag=R;this.location=-1;this.lastAccess=Date.now();this.freshValue=N}}class Pack{constructor(E,R){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=R}_addRequest(E){this.requests.push(E);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Ne);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(E,R){const N=this.itemInfo.get(E);this._addRequest(E);if(N===undefined){return undefined}if(N.etag!==R)return null;N.lastAccess=Date.now();const $=N.location;if($===-1){return N.freshValue}else{if(!this.content[$]){return undefined}return this.content[$].get(E)}}set(E,R,N){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const $=this.itemInfo.get(E);if($===undefined){const $=new PackItemInfo(E,R,N);this.itemInfo.set(E,$);this._addRequest(E);this.freshContent.set(E,$)}else{const j=$.location;if(j>=0){this._addRequest(E);this.freshContent.set(E,$);const R=this.content[j];R.delete(E);if(R.items.size===0){this.content[j]=undefined;this.logger.debug("Pack %d got empty and is removed",j)}}$.freshValue=N;$.lastAccess=Date.now();$.etag=R;$.location=-1}}getContentStats(){let E=0;let R=0;for(const N of this.content){if(N!==undefined){E++;const $=N.getSize();if($>0){R+=$}}}return{count:E,size:R}}_findLocation(){let E;for(E=0;Ethis.maxAge){this.itemInfo.delete(G);E.delete(G);R.delete(G);$++;j=G}else{ie.location=N}}if($>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",$,N,E.size,j)}}_persistFreshContent(){const E=this.freshContent.size;if(E>0){const R=Math.ceil(E/Te);const N=Math.ceil(E/R);const $=[];let j=0;let q=false;const createNextPack=()=>{const E=this._findLocation();this.content[E]=null;const R={items:new Set,map:new Map,loc:E};$.push(R);return R};let G=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const E of this.requests){if(E===undefined){if(q){q=false}else if(G.items.size>=Me){j=0;G=createNextPack()}continue}const R=this.freshContent.get(E);if(R===undefined)continue;G.items.add(E);G.map.set(E,R.freshValue);R.location=G.loc;R.freshValue=undefined;this.freshContent.delete(E);if(++j>N){j=0;G=createNextPack();q=true}}this.requests.length=0;for(const E of $){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}this.logger.log(`${E} fresh items in cache put into pack ${$.length>1?$.map((E=>`${E.loc} (${E.items.size} items)`)).join(", "):$[0].loc}`)}}_optimizeSmallContent(){const E=[];let R=0;const N=[];let $=0;for(let j=0;jwe)continue;if(q.used.size>0){E.push(j);R+=G}else{N.push(j);$+=G}}let j;if(E.length>=Ie||R>we){j=E}else if(N.length>=Ie||$>we){j=N}else return;const q=[];for(const E of j){q.push(this.content[E]);this.content[E]=undefined}const G=new Set;const ie=new Set;const ae=[];for(const E of q){for(const R of E.items){G.add(R)}for(const R of E.used){ie.add(R)}ae.push((async R=>{await E.unpack("it should be merged with other small pack contents");for(const[N,$]of E.content){R.set(N,$)}}))}const _e=this._findLocation();this._gcAndUpdateLocation(G,ie,_e);if(G.size>0){this.content[_e]=new PackContent(G,ie,le((async()=>{const E=new Map;await Promise.all(ae.map((R=>R(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",q.length,G.size,_e)}}_optimizeUnusedContent(){for(let E=0;E0&&$0){this.content[$]=new PackContent(N,new Set(N),(async()=>{await R.unpack("it should be splitted into used and unused items");const E=new Map;for(const $ of N){E.set($,R.content.get($))}return new PackContentItems(E)}))}const j=new Set(R.items);const q=new Set;for(const E of N){j.delete(E)}const G=this._findLocation();this._gcAndUpdateLocation(j,q,G);if(j.size>0){this.content[G]=new PackContent(j,q,(async()=>{await R.unpack("it should be splitted into used and unused items");const E=new Map;for(const N of j){E.set(N,R.content.get(N))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,$,N.size,G,j.size);return}}}_gcOldestContent(){let E=undefined;for(const R of this.itemInfo.values()){if(E===undefined||R.lastAccessthis.maxAge){const R=E.location;if(R<0)return;const N=this.content[R];const $=new Set(N.items);const j=new Set(N.used);this._gcAndUpdateLocation($,j,R);this.content[R]=$.size>0?new PackContent($,j,(async()=>{await N.unpack("it contains old items that should be garbage collected");const E=new Map;for(const R of $){E.set(R,N.content.get(R))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:R}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const R of this.itemInfo.keys()){E(R)}E(null);for(const R of this.itemInfo.values()){E(R.etag)}for(const R of this.itemInfo.values()){E(R.lastAccess)}for(let N=0;NR(E,{name:`${N}`})))}else{E(undefined)}}E(null)}deserialize({read:E,logger:R}){this.logger=R;{const R=[];let N=E();while(N!==null){R.push(N);N=E()}this.itemInfo.clear();const $=R.map((E=>{const R=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,R);return R}));for(const R of $){R.etag=E()}for(const R of $){R.lastAccess=E()}}this.content.length=0;let N=E();while(N!==null){if(N===undefined){this.content.push(N)}else{const $=this.content.length;const j=E();this.content.push(new PackContent(N,new Set,j,R,`${this.content.length}`));for(const E of N){this.itemInfo.get(E).location=$}}N=E()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:R,rollback:N,logger:$,profile:j}){if(j){E(false);for(const[j,q]of this.map){const G=R();try{E(j);const R=process.hrtime();E(q);const N=process.hrtime(R);const G=N[0]*1e3+N[1]/1e6;if(G>1){if(G>500)$.error(`Serialization of '${j}': ${G} ms`);else if(G>50)$.warn(`Serialization of '${j}': ${G} ms`);else if(G>10)$.info(`Serialization of '${j}': ${G} ms`);else if(G>5)$.log(`Serialization of '${j}': ${G} ms`);else $.debug(`Serialization of '${j}': ${G} ms`)}}catch(E){N(G);if(E===Ee)continue;$.warn(`Skipped not serializable cache item '${j}': ${E.message}`);$.debug(E.stack)}}E(null);return}const q=R();try{E(true);E(this.map)}catch(j){N(q);E(false);for(const[j,q]of this.map){const G=R();try{E(j);E(q)}catch(E){N(G);if(E===Ee)continue;$.warn(`Skipped not serializable cache item '${j}': ${E.message}`);$.debug(E.stack)}}E(null)}}deserialize({read:E,logger:R,profile:N}){if(E()){this.map=E()}else if(N){const N=new Map;let $=E();while($!==null){const j=process.hrtime();const q=E();const G=process.hrtime(j);const ie=G[0]*1e3+G[1]/1e6;if(ie>1){if(ie>100)R.error(`Deserialization of '${$}': ${ie} ms`);else if(ie>20)R.warn(`Deserialization of '${$}': ${ie} ms`);else if(ie>5)R.info(`Deserialization of '${$}': ${ie} ms`);else if(ie>2)R.log(`Deserialization of '${$}': ${ie} ms`);else R.debug(`Deserialization of '${$}': ${ie} ms`)}N.set($,q);$=E()}this.map=N}else{const R=new Map;let N=E();while(N!==null){R.set(N,E());N=E()}this.map=R}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,R,N,$,j){this.items=E;this.lazy=typeof N==="function"?N:undefined;this.content=typeof N==="function"?undefined:N.map;this.outdated=false;this.used=R;this.logger=$;this.lazyName=j}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`restore cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to restore cache content ${R} (${q(this.getSize())}) because of request to: ${E}`);this.logger.time(N)}const $=this.lazy();if("then"in $){return $.then((R=>{const $=R.map;if(N){this.logger.timeEnd(N)}this.content=$;this.lazy=G.unMemoizeLazy(this.lazy);return $.get(E)}))}else{const R=$.map;if(N){this.logger.timeEnd(N)}this.content=R;this.lazy=G.unMemoizeLazy(this.lazy);return R.get(E)}}unpack(E){if(this.content)return;if(this.lazy){const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`unpack cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${R} (${q(this.getSize())}) because ${E}`);this.logger.time(N)}const $=this.lazy();if("then"in $){return $.then((E=>{if(N){this.logger.timeEnd(N)}this.content=E.map}))}else{if(N){this.logger.timeEnd(N)}this.content=$.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const R=E.size;if(typeof R!=="number")return-1;return R}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}writeLazy(E){if(!this.outdated&&this.lazy){E(this.lazy);return}if(!this.outdated&&this.content){const R=new Map(this.content);this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(R))));return}if(this.content){const R=new Map;for(const E of this.items){R.set(E,this.content.get(E))}this.outdated=false;this.content=R;this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(R))));return}const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`unpack cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${R} (${q(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(N)}const $=this.lazy();this.outdated=false;if("then"in $){this.lazy=E((()=>$.then((E=>{if(N){this.logger.timeEnd(N)}const R=E.map;const $=new Map;for(const E of this.items){$.set(E,R.get(E))}this.content=$;this.lazy=G.unMemoizeLazy(this.lazy);return new PackContentItems($)}))))}else{if(N){this.logger.timeEnd(N)}const R=$.map;const j=new Map;for(const E of this.items){j.set(E,R.get(E))}this.content=j;this.lazy=E((()=>new PackContentItems(j)))}}}const allowCollectingMemory=E=>{const R=E.buffer.byteLength-E.byteLength;if(R>8192&&(R>1048576||R>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:R,context:N,cacheLocation:j,version:q,logger:G,snapshot:ae,maxAge:le,profile:Ee,allowCollectingMemory:we,compression:Ie}){this.fileSerializer=_e(R,E.options.output.hashFunction);this.fileSystemInfo=new $(R,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:G.getChildLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});this.compiler=E;this.context=N;this.cacheLocation=j;this.version=q;this.logger=G;this.maxAge=le;this.profile=Ee;this.allowCollectingMemory=we;this.compression=Ie;this._extension=Ie==="brotli"?".pack.br":Ie==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new ie;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:R,cacheLocation:N,version:$}=this;let j;let q;let G;let ie;let ae;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${N}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:R,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((R=>{if(R.code!=="ENOENT"){E.warn(`Restoring pack failed from ${N}${this._extension}: ${R}`);E.debug(R.stack)}else{E.debug(`No pack exists at ${N}${this._extension}: ${R}`)}return undefined})).then((R=>{E.timeEnd("restore cache container");if(!R)return undefined;if(!(R instanceof PackContainer)){E.warn(`Restored pack from ${N}${this._extension}, but contained content is unexpected.`,R);return undefined}if(R.version!==$){E.log(`Restored pack from ${N}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise((($,q)=>{this.fileSystemInfo.checkSnapshotValid(R.buildSnapshot,((q,G)=>{if(q){E.log(`Restored pack from ${N}${this._extension}, but checking snapshot of build dependencies errored: ${q}.`);E.debug(q.stack);return $(false)}if(!G){E.log(`Restored pack from ${N}${this._extension}, but build dependencies have changed.`);return $(false)}j=R.buildSnapshot;return $(true)}))})),new Promise((($,j)=>{this.fileSystemInfo.checkSnapshotValid(R.resolveBuildDependenciesSnapshot,((j,le)=>{if(j){E.log(`Restored pack from ${N}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${j}.`);E.debug(j.stack);return $(false)}if(le){ie=R.resolveBuildDependenciesSnapshot;q=R.buildDependencies;ae=R.resolveResults;return $(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(R.resolveResults,((j,q)=>{if(j){E.log(`Restored pack from ${N}${this._extension}, but resolving of build dependencies errored: ${j}.`);E.debug(j.stack);return $(false)}if(q){G=R.buildDependencies;ae=R.resolveResults;return $(true)}E.log(`Restored pack from ${N}${this._extension}, but build dependencies resolve to different locations.`);return $(false)}))}))}))]).catch((R=>{E.timeEnd("check build dependencies");throw R})).then((([N,$])=>{E.timeEnd("check build dependencies");if(N&&$){E.time("restore cache content metadata");const N=R.data();E.timeEnd("restore cache content metadata");return N}return undefined}))})).then((R=>{if(R){R.maxAge=this.maxAge;this.buildSnapshot=j;if(q)this.buildDependencies=q;if(G)this.newBuildDependencies.addAll(G);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=ie;return R}return new Pack(E,this.maxAge)})).catch((R=>{this.logger.warn(`Restoring pack from ${N}${this._extension} failed: ${R}`);this.logger.debug(R.stack);return new Pack(E,this.maxAge)}))}store(E,R,N){return this._getPack().then(($=>{$.set(E,R===null?null:R.toString(),N)}))}restore(E,R){return this._getPack().then((N=>N.get(E,R===null?null:R.toString()))).catch((R=>{if(R&&R.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${R}`);this.logger.debug(R.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const R=j.getReporter(this.compiler);return this.storePromise=E.then((E=>{E.stopCapturingRequests();if(!E.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let N;const $=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){$.add(E)}}if($.size>0||!this.buildSnapshot){if(R)R(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from($).join(", ")})`);N=new Promise(((E,N)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,$,(($,j)=>{this.logger.timeEnd("resolve build dependencies");if($)return N($);this.logger.time("snapshot build dependencies");const{files:q,directories:G,missing:ie,resolveResults:ae,resolveDependencies:le}=j;if(this.resolveResults){for(const[E,R]of ae){this.resolveResults.set(E,R)}}else{this.resolveResults=ae}if(R){R(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,le.files,le.directories,le.missing,this.snapshot.resolveBuildDependencies,(($,j)=>{if($){this.logger.timeEnd("snapshot build dependencies");return N($)}if(!j){this.logger.timeEnd("snapshot build dependencies");return N(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,j)}else{this.resolveBuildDependenciesSnapshot=j}if(R){R(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,q,G,ie,this.snapshot.buildDependencies,((R,$)=>{this.logger.timeEnd("snapshot build dependencies");if(R)return N(R);if(!$){return N(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,$)}else{this.buildSnapshot=$}E()}))}))}))}))}else{N=Promise.resolve()}return N.then((()=>{if(R)R(.8,"serialize pack");this.logger.time(`store pack`);const N=new Set(this.buildDependencies);for(const E of $){N.add(E)}const j=new PackContainer(E,this.version,this.buildSnapshot,N,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(j,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of $){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const R=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,R.count,Math.round(R.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,R,N)=>{"use strict";const $=N(83379);const j=N(56202);class CacheEntry{constructor(E,R){this.result=E;this.snapshot=R}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}j(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,R)=>{if(E instanceof $){E.addAll(R)}else{for(const N of R){E.add(N)}}};const objectToString=(E,R)=>{let N="";for(const $ in E){if(R&&$==="context")continue;const j=E[$];if(typeof j==="object"&&j!==null){N+=`|${$}=[${objectToString(j,false)}|]`}else{N+=`|${$}=|${j}`}}return N};class ResolverCachePlugin{apply(E){const R=E.getCache("ResolverCachePlugin");let N;let j;let q=0;let G=0;let ie=0;let ae=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{j=E.options.snapshot.resolve;N=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(q+G>0){const R=E.getLogger("webpack.ResolverCachePlugin");R.log(`${Math.round(100*q/(q+G))}% really resolved (${q} real resolves with ${ie} cached but invalid, ${G} cached valid, ${ae} concurrent)`);q=0;G=0;ie=0;ae=0}}))}));const doRealResolve=(E,R,G,ie,ae)=>{q++;const le={_ResolverCachePluginCacheMiss:true,...ie};const _e={...G,stack:new Set,missingDependencies:new $,fileDependencies:new $,contextDependencies:new $};const propagate=E=>{if(G[E]){addAllToSet(G[E],_e[E])}};const Ee=Date.now();R.doResolve(R.hooks.resolve,le,"Cache miss",_e,((R,$)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(R)return ae(R);const q=_e.fileDependencies;const G=_e.contextDependencies;const ie=_e.missingDependencies;N.createSnapshot(Ee,q,G,ie,j,((R,N)=>{if(R)return ae(R);if(!N){if($)return ae(null,$);return ae()}E.store(new CacheEntry($,N),(E=>{if(E)return ae(E);if($)return ae(null,$);ae()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,$){const j=new Map;$.tap("ResolverCachePlugin",(($,q,ae)=>{if(q.cache!==true)return;const le=objectToString(ae,false);const _e=q.cacheWithContext!==undefined?q.cacheWithContext:false;$.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((q,ae,Ee)=>{if(q._ResolverCachePluginCacheMiss||!N){return Ee()}const we=`${E}${le}${objectToString(q,!_e)}`;const Ie=j.get(we);if(Ie){Ie.push(Ee);return}const Me=R.getItemCache(we,null);let Te;const done=(E,R)=>{if(Te===undefined){Ee(E,R);Te=false}else{for(const N of Te){N(E,R)}j.delete(we);Te=false}};const processCacheResult=(E,R)=>{if(E)return done(E);if(R){const{snapshot:E,result:j}=R;N.checkSnapshotValid(E,((R,N)=>{if(R||!N){ie++;return doRealResolve(Me,$,ae,q,done)}G++;if(ae.missingDependencies){addAllToSet(ae.missingDependencies,E.getMissingIterable())}if(ae.fileDependencies){addAllToSet(ae.fileDependencies,E.getFileIterable())}if(ae.contextDependencies){addAllToSet(ae.contextDependencies,E.getContextIterable())}done(null,j)}))}else{doRealResolve(Me,$,ae,q,done)}};Me.get(processCacheResult);if(Te===undefined){Te=[Ee];j.set(we,Te)}}))}));return $}})}}E.exports=ResolverCachePlugin},77034:(E,R,N)=>{"use strict";const $=N(35891);class LazyHashedEtag{constructor(E,R="md4"){this._obj=E;this._hash=undefined;this._hashFunction=R}toString(){if(this._hash===undefined){const E=$(this._hashFunction);this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const j=new Map;const q=new WeakMap;const getter=(E,R="md4")=>{let N;if(typeof R==="string"){N=j.get(R);if(N===undefined){const $=new LazyHashedEtag(E,R);N=new WeakMap;N.set(E,$);j.set(R,N);return $}}else{N=q.get(R);if(N===undefined){const $=new LazyHashedEtag(E,R);N=new WeakMap;N.set(E,$);q.set(R,N);return $}}const $=N.get(E);if($!==undefined)return $;const G=new LazyHashedEtag(E,R);N.set(E,G);return G};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,R){this.a=E;this.b=R}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const R=new WeakMap;const N=new WeakMap;const mergeEtags=(E,$)=>{if(typeof E==="string"){if(typeof $==="string"){return`${E}|${$}`}else{const R=$;$=E;E=R}}else{if(typeof $!=="string"){let N=R.get(E);if(N===undefined){R.set(E,N=new WeakMap)}const j=N.get($);if(j===undefined){const R=new MergedEtag(E,$);N.set($,R);return R}else{return j}}}let j=N.get(E);if(j===undefined){N.set(E,j=new Map)}const q=j.get($);if(q===undefined){const R=new MergedEtag(E,$);j.set($,R);return R}else{return q}};E.exports=mergeEtags},61634:(E,R,N)=>{"use strict";const $=N(71017);const j=N(46312);const getArguments=(E=j)=>{const R={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=R=>{const N=R.split("/");let $=E;for(let E=1;E{for(const{schema:R}of E){if(R.cli&&R.cli.helper)continue;if(R.description)return R.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const N=E[0].path;const $=pathToArgumentName(`${N}.reset`);const j=getDescription(E);R[$]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${N}' configuration. ${j}`,path:N}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,N)=>{const $=schemaToArgumentConfig(E[0].schema);if(!$)return 0;const j=pathToArgumentName(E[0].path);const q={...$,multiple:N,description:getDescription(E),path:E[0].path};if(!R[j]){R[j]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(R[j].configs.some((E=>JSON.stringify(E)===JSON.stringify(q)))){return 0}if(R[j].configs.some((E=>E.type===q.type&&E.multiple!==N))){if(N){throw new Error(`Conflicting schema for ${E[0].path} with ${q.type} type (array type must be before single item type)`)}return 0}R[j].configs.push(q);return 1};const traverse=(E,R="",N=[],$=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const j=N.filter((({schema:R})=>R===E));if(j.length>=2||j.some((({path:E})=>E===R))){return 0}if(E.cli&&E.cli.exclude)return 0;const q=[{schema:E,path:R},...N];let G=0;G+=addFlag(q,!!$);if(E.type==="object"){if(E.properties){for(const N of Object.keys(E.properties)){G+=traverse(E.properties[N],R?`${R}.${N}`:N,q,$)}}return G}if(E.type==="array"){if($){return 0}if(Array.isArray(E.items)){let N=0;for(const $ of E.items){G+=traverse($,`${R}.${N}`,q,R)}return G}G+=traverse(E.items,`${R}[]`,q,R);if(G>0){addResetFlag(q);G++}return G}const ie=E.oneOf||E.anyOf||E.allOf;if(ie){const E=ie;for(let N=0;N{if(!E)return R;if(!R)return E;if(E.includes(R))return E;return`${E} ${R}`}),undefined);N.simpleType=N.configs.reduce(((E,R)=>{let N="string";switch(R.type){case"number":N="number";break;case"reset":case"boolean":N="boolean";break;case"enum":if(R.values.every((E=>typeof E==="boolean")))N="boolean";if(R.values.every((E=>typeof E==="number")))N="number";break}if(E===undefined)return N;return E===N?E:"string"}),undefined);N.multiple=N.configs.some((E=>E.multiple))}return R};const q=new WeakMap;const getObjectAndProperty=(E,R,N=0)=>{if(!R)return{value:E};const $=R.split(".");let j=$.pop();let G=E;let ie=0;for(const E of $){const R=E.endsWith("[]");const j=R?E.slice(0,-2):E;let ae=G[j];if(R){if(ae===undefined){ae={};G[j]=[...Array.from({length:N}),ae];q.set(G[j],N+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:$.slice(0,ie).join(".")}}}else{let E=q.get(ae)||0;while(E<=N){ae.push(undefined);E++}q.set(ae,E);const R=ae.length-E+N;if(ae[R]===undefined){ae[R]={}}else if(ae[R]===null||typeof ae[R]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:$.slice(0,ie).join(".")}}}ae=ae[R]}}else{if(ae===undefined){ae=G[j]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:$.slice(0,ie).join(".")}}}}G=ae;ie++}let ae=G[j];if(j.endsWith("[]")){const E=j.slice(0,-2);const $=G[E];if($===undefined){G[E]=[...Array.from({length:N}),undefined];q.set(G[E],N+1);return{object:G[E],property:N,value:undefined}}else if(!Array.isArray($)){G[E]=[$,...Array.from({length:N}),undefined];q.set(G[E],N+1);return{object:G[E],property:N+1,value:undefined}}else{let E=q.get($)||0;while(E<=N){$.push(undefined);E++}q.set($,E);const j=$.length-E+N;if($[j]===undefined){$[j]={}}else if($[j]===null||typeof $[j]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:R}}}return{object:$,property:j,value:$[j]}}}return{object:G,property:j,value:ae}};const setValue=(E,R,N,$)=>{const{problem:j,object:q,property:G}=getObjectAndProperty(E,R,$);if(j)return j;q[G]=N;return null};const processArgumentConfig=(E,R,N,$)=>{if($!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const j=parseValueForArgumentConfig(E,N);if(j===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const q=setValue(R,E.path,j,$);if(q)return q;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,R)=>{switch(E.type){case"string":if(typeof R==="string"){return R}break;case"path":if(typeof R==="string"){return $.resolve(R)}break;case"number":if(typeof R==="number")return R;if(typeof R==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+R;if(!isNaN(E))return E}break;case"boolean":if(typeof R==="boolean")return R;if(R==="true")return true;if(R==="false")return false;break;case"RegExp":if(R instanceof RegExp)return R;if(typeof R==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(R);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(R))return R;for(const N of E.values){if(`${N}`===R)return N}break;case"reset":if(R===true)return[];break}};const processArguments=(E,R,N)=>{const $=[];for(const j of Object.keys(N)){const q=E[j];if(!q){$.push({type:"unknown-argument",path:"",argument:j});continue}const processValue=(E,N)=>{const G=[];for(const $ of q.configs){const q=processArgumentConfig($,R,E,N);if(!q){return}G.push({...q,argument:j,value:E,index:N})}$.push(...G)};let G=N[j];if(Array.isArray(G)){for(let E=0;E{"use strict";const $=N(69328);const j=N(71017);const q=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,R)=>{if(!E){return{}}if(j.isAbsolute(E)){const[,R,N]=q.exec(E)||[];return{configPath:R,env:N}}const N=$.findConfig(R);if(N&&Object.keys(N).includes(E)){return{env:E}}return{query:E}};const load=(E,R)=>{const{configPath:N,env:j,query:q}=parse(E,R);const G=q?q:N?$.loadConfig({config:N,env:j}):$.loadConfig({path:R,env:j});if(!G)return null;return $(G)};const resolve=E=>{const rawChecker=R=>E.every((E=>{const[N,$]=E.split(" ");if(!N)return false;const j=R[N];if(!j)return false;const[q,G]=$==="TP"?[Infinity,Infinity]:$.split(".");if(typeof j==="number"){return+q>=j}return j[0]===+q?+G>=j[1]:+q>j[0]}));const R=E.some((E=>/^node /.test(E)));const N=E.some((E=>/^(?!node)/.test(E)));const $=!N?false:R?null:true;const j=!R?false:N?null:true;const q=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:q,dynamicImportInWorker:q&&!R,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:$,electron:false,node:j,nwjs:false,web:$,webworker:false,document:$,fetchWasm:$,global:j,importScripts:false,importScriptsInWorker:true,nodeBuiltins:j,require:j}};E.exports={resolve:resolve,load:load}},54411:(E,R,N)=>{"use strict";const $=N(57147);const j=N(71017);const q=N(58159);const{cleverMerge:G}=N(90149);const{getTargetsProperties:ie,getTargetProperties:ae,getDefaultTarget:le}=N(71322);const _e=/[\\/]node_modules[\\/]/i;const D=(E,R,N)=>{if(E[R]===undefined){E[R]=N}};const F=(E,R,N)=>{if(E[R]===undefined){E[R]=N()}};const A=(E,R,N)=>{const $=E[R];if($===undefined){E[R]=N()}else if(Array.isArray($)){let j=undefined;for(let q=0;q<$.length;q++){const G=$[q];if(G==="..."){if(j===undefined){j=$.slice(0,q);E[R]=j}const G=N();if(G!==undefined){for(const E of G){j.push(E)}}}else if(j!==undefined){j.push(G)}}}};const applyWebpackOptionsBaseDefaults=E=>{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>le(E.context)));const{mode:R,name:$,target:j}=E;let q=j===false?false:typeof j==="string"?ae(j,E.context):ie(j,E.context);const _e=R==="development";const Ee=R==="production"||!R;if(typeof E.entry!=="function"){for(const R of Object.keys(E.entry)){F(E.entry[R],"import",(()=>["./src"]))}}F(E,"devtool",(()=>_e?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);applyExperimentsDefaults(E.experiments,{production:Ee,development:_e});const we=E.experiments.futureDefaults;F(E,"cache",(()=>_e?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:$||"default",mode:R||"production",development:_e,cacheUnaffected:E.experiments.cacheUnaffected});const Ie=!!E.cache;applySnapshotDefaults(E.snapshot,{production:Ee,futureDefaults:we});applyModuleDefaults(E.module,{cache:Ie,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:q,isAffectedByBrowserslist:j===undefined||typeof j==="string"&&j.startsWith("browserslist")||Array.isArray(j)&&j.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:_e,entry:E.entry,module:E.module,futureDefaults:we});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:q,buildHttp:!!E.experiments.buildHttp});applyLoaderDefaults(E.loader,{targetProperties:q});F(E,"externalsType",(()=>{const R=N(46312).definitions.ExternalsType["enum"];return E.output.library&&R.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{futureDefaults:E.experiments.futureDefaults,targetProperties:q});F(E,"performance",(()=>Ee&&q&&(q.browser||q.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:Ee});applyOptimizationDefaults(E.optimization,{development:_e,production:Ee,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=G(getResolveDefaults({cache:Ie,context:E.context,targetProperties:q,mode:E.mode}),E.resolve);E.resolveLoader=G(getResolveLoaderDefaults({cache:Ie}),E.resolveLoader)};const applyExperimentsDefaults=(E,{production:R,development:N})=>{D(E,"futureDefaults",false);D(E,"backCompat",!E.futureDefaults);D(E,"topLevelAwait",E.futureDefaults);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",E.futureDefaults);D(E,"outputModule",false);D(E,"layers",false);D(E,"lazyCompilation",undefined);D(E,"buildHttp",undefined);D(E,"cacheUnaffected",E.futureDefaults);if(typeof E.buildHttp==="object"){D(E.buildHttp,"frozen",R);D(E.buildHttp,"upgrade",false)}};const applyCacheDefaults=(E,{name:R,mode:N,development:q,cacheUnaffected:G})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>R+"-"+N));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let R=E;for(;;){try{if($.statSync(j.join(R,"package.json")).isFile())break}catch(E){}const E=j.dirname(R);if(R===E){R=undefined;break}R=E}if(!R){return j.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return j.resolve(R,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return j.resolve(R,".yarn/.cache/webpack")}else{return j.resolve(R,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>j.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",false);D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",q?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",q);D(E,"memoryCacheUnaffected",q&&G);D(E.buildDependencies,"defaultWebpack",[j.resolve(__dirname,"..")+j.sep]);break;case"memory":D(E,"maxGenerations",Infinity);D(E,"cacheUnaffected",q&&G);break}};const applySnapshotDefaults=(E,{production:R,futureDefaults:N})=>{if(N){F(E,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(E,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[j.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}))}F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>R?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>R?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:R,syncWebAssembly:N,asyncWebAssembly:$})=>{if(R){D(E,"unsafeCache",(E=>{const R=E.nameForCondition();return R&&_e.test(R)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const R={type:"javascript/dynamic"};const j=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...R},{test:/\.js$/i,descriptionData:{type:"commonjs"},...R},{mimetype:{or:["text/javascript","application/javascript"]},...E}];if($){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};j.push({test:/\.wasm$/i,...E});j.push({mimetype:"application/wasm",...E})}else if(N){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};j.push({test:/\.wasm$/i,...E});j.push({mimetype:"application/wasm",...E})}j.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:"json"});return j}))};const applyOutputDefaults=(E,{context:R,targetProperties:N,isAffectedByBrowserslist:G,outputModule:ie,development:ae,entry:le,module:_e,futureDefaults:Ee})=>{const getLibraryName=E=>{const R=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(R)){return R.join(".")}else if(typeof R==="object"){return getLibraryName(R.root)}else if(typeof R==="string"){return R}return""};F(E,"uniqueName",(()=>{const N=getLibraryName(E.library);if(N)return N;const q=j.resolve(R,"package.json");try{const E=JSON.parse($.readFileSync(q,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${q}`;throw E}return""}}));F(E,"module",(()=>!!ie));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const R=E.filename;if(typeof R!=="function"){const E=R.includes("[name]");const N=R.includes("[id]");const $=R.includes("[chunkhash]");const j=R.includes("[contenthash]");if($||j||E||N)return R;return R.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>q.toIdentifier("webpackHotUpdate"+q.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>q.toIdentifier("webpackChunk"+q.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(N){if(N.global)return"global";if(N.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(N){const R=G?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(N.dynamicImport)return"module";if(N.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+R)}else{if(N.document)return"array-push";if(N.require)return"commonjs";if(N.nodeBuiltins)return"commonjs";if(N.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+R)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(N){switch(E.chunkFormat){case"array-push":if(N.document)return"jsonp";if(N.importScripts)return"import-scripts";break;case"commonjs":if(N.require)return"require";if(N.nodeBuiltins)return"async-node";break;case"module":if(N.dynamicImport)return"import";break}if(N.require===null||N.nodeBuiltins===null||N.document===null||N.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(N){switch(E.chunkFormat){case"array-push":if(N.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(N.require)return"require";if(N.nodeBuiltins)return"async-node";break;case"module":if(N.dynamicImportInWorker)return"import";break}if(N.require===null||N.nodeBuiltins===null||N.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(N){if(N.fetchWasm)return"fetch";if(N.nodeBuiltins)return E.module?"async-node-module":"async-node";if(N.nodeBuiltins===null||N.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>j.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>ae));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",N&&(N.document||N.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction",Ee?"xxhash64":"md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>N&&optimistic(N.arrowFunction)));F(E.environment,"const",(()=>N&&optimistic(N.const)));F(E.environment,"destructuring",(()=>N&&optimistic(N.destructuring)));F(E.environment,"forOf",(()=>N&&optimistic(N.forOf)));F(E.environment,"bigIntLiteral",(()=>N&&N.bigIntLiteral));F(E.environment,"dynamicImport",(()=>N&&N.dynamicImport));F(E.environment,"module",(()=>N&&N.module));const{trustedTypes:we}=E;if(we){F(we,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const R of Object.keys(le)){E(le[R])}};A(E,"enabledLibraryTypes",(()=>{const R=[];if(E.library){R.push(E.library.type)}forEachEntry((E=>{if(E.library){R.push(E.library.type)}}));return R}));A(E,"enabledChunkLoadingTypes",(()=>{const R=new Set;if(E.chunkLoading){R.add(E.chunkLoading)}if(E.workerChunkLoading){R.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){R.add(E.chunkLoading)}}));return Array.from(R)}));A(E,"enabledWasmLoadingTypes",(()=>{const R=new Set;if(E.wasmLoading){R.add(E.wasmLoading)}if(E.workerWasmLoading){R.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){R.add(E.wasmLoading)}}));return Array.from(R)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:R,buildHttp:N})=>{D(E,"web",!N&&R&&R.web);D(E,"node",R&&R.node);D(E,"nwjs",R&&R.nwjs);D(E,"electron",R&&R.electron);D(E,"electronMain",R&&R.electron&&R.electronMain);D(E,"electronPreload",R&&R.electron&&R.electronPreload);D(E,"electronRenderer",R&&R.electron&&R.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:R})=>{F(E,"target",(()=>{if(R){if(R.electron){if(R.electronMain)return"electron-main";if(R.electronPreload)return"electron-preload";if(R.electronRenderer)return"electron-renderer";return"electron"}if(R.nwjs)return"nwjs";if(R.node)return"node";if(R.web)return"web"}}))};const applyNodeDefaults=(E,{futureDefaults:R,targetProperties:N})=>{if(E===false)return;F(E,"global",(()=>{if(N&&N.global)return false;return R?"warn":true}));F(E,"__filename",(()=>{if(N&&N.node)return"eval-only";return R?"warn-mock":"mock"}));F(E,"__dirname",(()=>{if(N&&N.node)return"eval-only";return R?"warn-mock":"mock"}))};const applyPerformanceDefaults=(E,{production:R})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>R?"warning":false))};const applyOptimizationDefaults=(E,{production:R,development:$,records:j})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",R);F(E,"moduleIds",(()=>{if(R)return"deterministic";if($)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(R)return"deterministic";if($)return"named";return"natural"}));F(E,"sideEffects",(()=>R?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",R);D(E,"innerGraph",R);D(E,"mangleExports",R);D(E,"concatenateModules",R);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!R);D(E,"checkWasmTypes",R);D(E,"mangleWasmImports",false);D(E,"portableRecords",j);D(E,"realContentHash",R);D(E,"minimize",R);A(E,"minimizer",(()=>[{apply:E=>{const R=N(96013);new R({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(R)return"production";if($)return"development";return false}));const{splitChunks:q}=E;if(q){A(q,"defaultSizeTypes",(()=>["javascript","unknown"]));D(q,"hidePathInfo",R);D(q,"chunks","async");D(q,"usedExports",E.usedExports===true);D(q,"minChunks",1);F(q,"minSize",(()=>R?2e4:1e4));F(q,"minRemainingSize",(()=>$?0:undefined));F(q,"enforceSizeThreshold",(()=>R?5e4:3e4));F(q,"maxAsyncRequests",(()=>R?30:Infinity));F(q,"maxInitialRequests",(()=>R?30:Infinity));D(q,"automaticNameDelimiter","-");const{cacheGroups:N}=q;F(N,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(N,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:_e,priority:-10})))}};const getResolveDefaults=({cache:E,context:R,targetProperties:N,mode:$})=>{const j=["webpack"];j.push($==="development"?"development":"production");if(N){if(N.webworker)j.push("worker");if(N.node)j.push("node");if(N.web)j.push("browser");if(N.electron)j.push("electron");if(N.nwjs)j.push("nwjs")}const q=[".js",".json",".wasm"];const G=N;const ie=G&&G.web&&(!G.node||G.electron&&G.electronRenderer);const cjsDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...q]});const esmDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...q]});const ae={cache:E,modules:["node_modules"],conditionNames:j,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[R],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:E})=>{const R={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return R};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const R=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",R);D(E,"appendOnly",!R)};R.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;R.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,R,N)=>{"use strict";const $=N(73837);const j=$.deprecate(((E,R)=>{if(R!==undefined&&!E===!R){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,R)=>E===undefined?R({}):R(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,R)=>E===undefined?undefined:R(E);const nestedArray=(E,R)=>Array.isArray(E)?R(E):R([]);const optionalNestedArray=(E,R)=>Array.isArray(E)?R(E):undefined;const keyedNestedConfig=(E,R,N)=>{const $=E===undefined?{}:Object.keys(E).reduce((($,j)=>($[j]=(N&&j in N?N[j]:R)(E[j]),$)),{});if(N){for(const E of Object.keys(N)){if(!(E in $)){$[E]=N[E]({})}}}return $};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:nestedConfig(E.experiments,(E=>({...E,buildHttp:optionalNestedConfig(E.buildHttp,(E=>Array.isArray(E)?{allowedUris:E}:E)),lazyCompilation:optionalNestedConfig(E.lazyCompilation,(E=>E===true?{}:E===false?undefined:E))}))),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const R=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:N})=>{if(!R.message&&!R.module&&!R.file)return false;if(R.message&&!R.message.test(E.message)){return false}if(R.module&&(!E.module||!R.module.test(E.module.readableIdentifier(N)))){return false}if(R.file&&(!E.file||!R.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:R=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...R})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?j(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:R}=E;const N=R;const $=typeof R==="object"&&R&&!Array.isArray(R)&&"type"in R?R:N||E.libraryTarget?{name:N}:undefined;const j={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:$&&{type:E.libraryTarget!==undefined?E.libraryTarget:$.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:$.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:$.export,name:$.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:$.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return j})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const R={};for(const N of Object.keys(E)){const $=E[N];if(typeof $==="string"){R[N]={import:[$]}}else if(Array.isArray($)){R[N]={import:$}}else{R[N]={import:$.import&&(Array.isArray($.import)?$.import:[$.import]),filename:$.filename,layer:$.layer,runtime:$.runtime,publicPath:$.publicPath,chunkLoading:$.chunkLoading,wasmLoading:$.wasmLoading,dependOn:$.dependOn&&(Array.isArray($.dependOn)?$.dependOn:[$.dependOn]),library:$.library}}}return R};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:R}=E;return{name:typeof R==="function"?R:()=>R}};R.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,R,N)=>{"use strict";const $=N(91671);const j=$((()=>N(27509)));const getDefaultTarget=E=>{const R=j().load(null,E);return R?"browserslist":"web"};const versionDependent=(E,R)=>{if(!E)return()=>undefined;E=+E;R=R?+R:0;return(N,$=0)=>E>N||E===N&&R>=$};const q=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,R)=>{const N=j();const $=N.load(E?E.trim():null,R);if(!$){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return N.resolve($)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,R,N)=>{const $=versionDependent(R,N);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:$(12),const:$(6),arrowFunction:$(6),forOf:$(5),destructuring:$(6),bigIntLiteral:$(10,4),dynamicImport:$(12,17),dynamicImportInWorker:R?false:undefined,module:$(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,R,N)=>{const $=versionDependent(E,R);return{node:true,electron:true,web:N!=="main",webworker:false,browser:false,nwjs:false,electronMain:N==="main",electronPreload:N==="preload",electronRenderer:N==="renderer",global:true,nodeBuiltins:true,require:true,document:N==="renderer",fetchWasm:N==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:$(5),const:$(1,1),arrowFunction:$(1,1),forOf:$(0,36),destructuring:$(1,1),bigIntLiteral:$(4),dynamicImport:$(11),dynamicImportInWorker:E?false:undefined,module:$(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,R)=>{const N=versionDependent(E,R);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:N(0,43),const:N(0,15),arrowFunction:N(0,15),forOf:N(0,13),destructuring:N(0,15),bigIntLiteral:N(0,32),dynamicImport:N(0,43),dynamicImportInWorker:E?false:undefined,module:N(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let R=+E;if(R<1e3)R=R+2009;return{const:R>=2015,arrowFunction:R>=2015,forOf:R>=2015,destructuring:R>=2015,module:R>=2015,globalThis:R>=2020,bigIntLiteral:R>=2020,dynamicImport:R>=2020,dynamicImportInWorker:R>=2020}}]];const getTargetProperties=(E,R)=>{for(const[,,N,$]of q){const j=N.exec(E);if(j){const[,...E]=j;const N=$(...E,R);if(N)return N}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${q.map((([E,R])=>`* ${E}: ${R}`)).join("\n")}`)};const mergeTargetProperties=E=>{const R=new Set;for(const N of E){for(const E of Object.keys(N)){R.add(E)}}const N={};for(const $ of R){let R=false;let j=false;for(const N of E){const E=N[$];switch(E){case true:R=true;break;case false:j=true;break}}if(R||j)N[$]=j&&R?null:R?true:false}return N};const getTargetsProperties=(E,R)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,R))));R.getDefaultTarget=getDefaultTarget;R.getTargetProperties=getTargetProperties;R.getTargetsProperties=getTargetsProperties},76041:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class ContainerEntryDependency extends ${constructor(E,R,N){super();this.name=E;this.exposes=R;this.shareScope=N}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}j(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(98221);const G=N(53453);const ie=N(76150);const ae=N(58159);const le=N(56202);const _e=N(4523);const Ee=new Set(["javascript"]);class ContainerEntryModule extends G{constructor(E,R,N){super("javascript/dynamic",null);this._name=E;this._exposes=R;this._shareScope=N}getSourceTypes(){return Ee}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,R]of this._exposes){const N=new q({name:R.name},{name:E},R.import[R.import.length-1]);let $=0;for(const j of R.import){const R=new _e(E,j);R.loc={name:E,index:$++};N.addDependency(R)}this.addBlock(N)}j()}codeGeneration({moduleGraph:E,chunkGraph:R,runtimeTemplate:N}){const q=new Map;const G=new Set([ie.definePropertyGetters,ie.hasOwnProperty,ie.exports]);const le=[];for(const $ of this.blocks){const{dependencies:j}=$;const q=j.map((R=>{const N=R;return{name:N.exposedName,module:E.getModule(N),request:N.userRequest}}));let ie;if(q.some((E=>!E.module))){ie=N.throwMissingModuleErrorBlock({request:q.map((E=>E.request)).join(", ")})}else{ie=`return ${N.blockPromise({block:$,message:"",chunkGraph:R,runtimeRequirements:G})}.then(${N.returningFunction(N.returningFunction(`(${q.map((({module:E,request:$})=>N.moduleRaw({module:E,chunkGraph:R,request:$,weak:false,runtimeRequirements:G}))).join(", ")})`))});`}le.push(`${JSON.stringify(q[0].name)}: ${N.basicFunction("",ie)}`)}const _e=ae.asString([`var moduleMap = {`,ae.indent(le.join(",\n")),"};",`var get = ${N.basicFunction("module, getScope",[`${ie.currentRemoteGetScope} = getScope;`,"getScope = (",ae.indent([`${ie.hasOwnProperty}(moduleMap, module)`,ae.indent(["? moduleMap[module]()",`: Promise.resolve().then(${N.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ie.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${N.basicFunction("shareScope, initScope",[`if (!${ie.shareScopeMap}) return;`,`var oldScope = ${ie.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ie.shareScopeMap}[name] = shareScope;`,`return ${ie.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ie.definePropertyGetters}(exports, {`,ae.indent([`get: ${N.returningFunction("get")},`,`init: ${N.returningFunction("init")}`]),"});"]);q.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new $(_e,"webpack/container-entry"):new j(_e));return{sources:q,runtimeRequirements:G}}size(E){return 42}serialize(E){const{write:R}=E;R(this._name);R(this._exposes);R(this._shareScope);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ContainerEntryModule(R(),R(),R());N.deserialize(E);return N}}le(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,R,N)=>{"use strict";const $=N(40674);const j=N(89591);E.exports=class ContainerEntryModuleFactory extends ${create({dependencies:[E]},R){const N=E;R(null,{module:new j(N.name,N.exposes,N.shareScope)})}}},4523:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ContainerExposedDependency extends ${constructor(E,R){super(R);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}j(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,R,N)=>{"use strict";const $=N(35817);const j=N(76041);const q=N(76912);const G=N(4523);const{parseOptions:ie}=N(97264);const ae=$(N(28633),(()=>N(93944)),{name:"Container Plugin",baseDataPath:"options"});const le="ContainerPlugin";class ContainerPlugin{constructor(E){ae(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ie(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:R,exposes:N,shareScope:$,filename:ie,library:ae,runtime:_e}=this._options;E.options.output.enabledLibraryTypes.push(ae.type);E.hooks.make.tapAsync(le,((E,q)=>{const G=new j(R,N,$);G.loc={name:R};E.addEntry(E.options.context,G,{name:R,filename:ie,runtime:_e,library:ae},(E=>{if(E)return q(E);q()}))}));E.hooks.thisCompilation.tap(le,((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,new q);E.dependencyFactories.set(G,R)}))}}E.exports=ContainerPlugin},68839:(E,R,N)=>{"use strict";const $=N(61050);const j=N(76150);const q=N(35817);const G=N(27426);const ie=N(55525);const ae=N(68005);const le=N(68679);const _e=N(31122);const Ee=N(44742);const{parseOptions:we}=N(97264);const Ie=q(N(12e3),(()=>N(38279)),{name:"Container Reference Plugin",baseDataPath:"options"});const Me="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Ie(E);this._remoteType=E.remoteType;this._remotes=we(E.remotes,(R=>({external:Array.isArray(R)?R:[R],shareScope:E.shareScope||"default"})),(R=>({external:Array.isArray(R.external)?R.external:[R.external],shareScope:R.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:R,_remoteType:N}=this;const q={};for(const[E,N]of R){let R=0;for(const $ of N.external){if($.startsWith("internal "))continue;q[`webpack/container/reference/${E}${R?`/fallback-${R}`:""}`]=$;R++}}new $(N,q).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(Ee,N);E.dependencyFactories.set(ie,N);E.dependencyFactories.set(G,new ae);N.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[N,$]of R){if(E.request.startsWith(`${N}`)&&(E.request.length===N.length||E.request.charCodeAt(N.length)===Me)){return new le(E.request,$.external.map(((E,R)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${N}${R?`/fallback-${R}`:""}`)),`.${E.request.slice(N.length)}`,$.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ContainerReferencePlugin",((R,N)=>{N.add(j.module);N.add(j.moduleFactoriesAddOnly);N.add(j.hasOwnProperty);N.add(j.initializeSharing);N.add(j.shareScopeMap);E.addRuntimeModule(R,new _e)}))}))}}E.exports=ContainerReferencePlugin},27426:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class FallbackDependency extends ${constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:R}=E;R(this.requests);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new FallbackDependency(R());N.deserialize(E);return N}}j(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class FallbackItemDependency extends ${constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}j(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(53453);const q=N(76150);const G=N(58159);const ie=N(56202);const ae=N(55525);const le=new Set(["javascript"]);const _e=new Set([q.module]);class FallbackModule extends j{constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:R}){return R.getNumberOfEntryModules(E)>0}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new ae(E));j()}size(E){return this.requests.length*5+42}getSourceTypes(){return le}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const j=this.dependencies.map((E=>N.getModuleId(R.getModule(E))));const q=G.asString([`var ids = ${JSON.stringify(j)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",G.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ie=new Map;ie.set("javascript",new $(q));return{sources:ie,runtimeRequirements:_e}}serialize(E){const{write:R}=E;R(this.requests);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new FallbackModule(R());N.deserialize(E);return N}}ie(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,R,N)=>{"use strict";const $=N(40674);const j=N(13386);E.exports=class FallbackModuleFactory extends ${create({dependencies:[E]},R){const N=E;R(null,{module:new j(N.requests)})}}},8019:(E,R,N)=>{"use strict";const $=N(92483);const j=N(16471);const q=N(35817);const G=N(10419);const ie=N(68839);const ae=q(N(43329),(()=>N(85195)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){ae(E);this._options=E}apply(E){const{_options:R}=this;const N=R.library||{type:"var",name:R.name};const q=R.remoteType||(R.library&&$(R.library.type)?R.library.type:"script");if(N&&!E.options.output.enabledLibraryTypes.includes(N.type)){E.options.output.enabledLibraryTypes.push(N.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(R.exposes&&(Array.isArray(R.exposes)?R.exposes.length>0:Object.keys(R.exposes).length>0)){new G({name:R.name,library:N,filename:R.filename,runtime:R.runtime,exposes:R.exposes}).apply(E)}if(R.remotes&&(Array.isArray(R.remotes)?R.remotes.length>0:Object.keys(R.remotes).length>0)){new ie({remoteType:q,remotes:R.remotes}).apply(E)}if(R.shared){new j({shared:R.shared,shareScope:R.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(53453);const q=N(76150);const G=N(56202);const ie=N(27426);const ae=N(44742);const le=new Set(["remote","share-init"]);const _e=new Set([q.module]);class RemoteModule extends j{constructor(E,R,N,$){super("remote-module");this.request=E;this.externalRequests=R;this.internalRequest=N;this.shareScope=$;this._identifier=`remote (${$}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new ae(this.externalRequests[0]))}else{this.addDependency(new ie(this.externalRequests))}j()}size(E){return 6}getSourceTypes(){return le}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const j=R.getModule(this.dependencies[0]);const q=j&&N.getModuleId(j);const G=new Map;G.set("remote",new $(""));const ie=new Map;ie.set("share-init",[{shareScope:this.shareScope,initStage:20,init:q===undefined?"":`initExternal(${JSON.stringify(q)});`}]);return{sources:G,data:ie,runtimeRequirements:_e}}serialize(E){const{write:R}=E;R(this.request);R(this.externalRequests);R(this.internalRequest);R(this.shareScope);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new RemoteModule(R(),R(),R(),R());N.deserialize(E);return N}}G(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class RemoteRuntimeModule extends j{constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,moduleGraph:j}=E;const G={};const ie={};for(const E of this.chunk.getAllAsyncChunks()){const N=R.getChunkModulesIterableBySourceType(E,"remote");if(!N)continue;const $=G[E.id]=[];for(const E of N){const N=E;const q=N.internalRequest;const G=R.getModuleId(N);const ae=N.shareScope;const le=N.dependencies[0];const _e=j.getModule(le);const Ee=_e&&R.getModuleId(_e);$.push(G);ie[G]=[ae,q,Ee]}}return q.asString([`var chunkMapping = ${JSON.stringify(G,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ie,null,"\t")};`,`${$.ensureChunkHandlers}.remotes = ${N.basicFunction("chunkId, promises",[`if(${$.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${N.basicFunction("id",[`var getScope = ${$.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${N.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',q.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${N.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${N.basicFunction("fn, arg1, arg2, d, next, first",["try {",q.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",q.indent([`var p = promise.then(${N.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",q.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",q.indent(["onError(error);"]),"}"])}`,`var onExternal = ${N.returningFunction(`external ? handleFunction(${$.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${N.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${N.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${N.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class RemoteToExternalDependency extends ${constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}j(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,R)=>{"use strict";const process=(E,R,N,$)=>{const array=E=>{for(const N of E){if(typeof N==="string"){$(N,R(N,N))}else if(N&&typeof N==="object"){object(N)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[j,q]of Object.entries(E)){if(typeof q==="string"||Array.isArray(q)){$(j,R(q,j))}else{$(j,N(q,j))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,R,N)=>{const $=[];process(E,R,N,((E,R)=>{$.push([E,R])}));return $};const scope=(E,R)=>{const N={};process(R,(E=>E),(E=>E),((R,$)=>{N[R.startsWith("./")?`${E}${R.slice(1)}`:`${E}/${R}`]=$}));return N};R.parseOptions=parseOptions;R.scope=scope},26802:(E,R,N)=>{"use strict";const{Tracer:$}=N(25954);const j=N(35817);const{dirname:q,mkdirpSync:G}=N(95396);const ie=j(N(2282),(()=>N(78555)),{name:"Profiling Plugin",baseDataPath:"options"});let ae=undefined;try{ae=N(31405)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new ae.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,R){if(this.hasSession()){return new Promise(((N,$)=>this.session.post(E,R,((E,R)=>{if(E!==null){$(E)}else{N(R)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const R=process.hrtime();const N=R[0]*1e6+Math.round(R[1]/1e3);if(E.startTimeN){const R=E.endTime-E.startTime;const $=N-this._startTime;const j=Math.max(0,$-R);E.startTime=this._startTime+j/2;E.endTime=N-j/2}return{profile:E}}))}}const createTrace=(E,R)=>{const N=new $({noStream:true});const j=new Profiler(ae);if(/\/|\\/.test(R)){const N=q(E,R);G(E,N)}const ie=E.createWriteStream(R);let le=0;N.pipe(ie);N.instantEvent({name:"TracingStartedInPage",id:++le,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});N.instantEvent({name:"TracingStartedInBrowser",id:++le,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:N,counter:le,profiler:j,end:E=>{ie.on("close",(()=>{E()}));N.push(null)}}};const le="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ie(E);this.outputPath=E.outputPath||"events.json"}apply(E){const R=createTrace(E.intermediateFileSystem,this.outputPath);R.profiler.startProfiling();Object.keys(E.hooks).forEach((N=>{E.hooks[N].intercept(makeInterceptorFor("Compiler",R)(N))}));Object.keys(E.resolverFactory.hooks).forEach((N=>{E.resolverFactory.hooks[N].intercept(makeInterceptorFor("Resolver",R)(N))}));E.hooks.compilation.tap(le,((E,{normalModuleFactory:N,contextModuleFactory:$})=>{interceptAllHooksFor(E,R,"Compilation");interceptAllHooksFor(N,R,"Normal Module Factory");interceptAllHooksFor($,R,"Context Module Factory");interceptAllParserHooks(N,R);interceptAllJavascriptModulesPluginHooks(E,R)}));E.hooks.done.tapAsync({name:le,stage:Infinity},((E,N)=>{R.profiler.stopProfiling().then((E=>{if(E===undefined){R.profiler.destroy();R.trace.flush();R.end(N);return}const $=E.profile.startTime;const j=E.profile.endTime;R.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++R.counter,cat:["toplevel"],ts:$,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});R.trace.completeEvent({name:"EvaluateScript",id:++R.counter,cat:["devtools.timeline"],ts:$,dur:j-$,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});R.trace.instantEvent({name:"CpuProfile",id:++R.counter,cat:["disabled-by-default-devtools.timeline"],ts:j,args:{data:{cpuProfile:E.profile}}});R.profiler.destroy();R.trace.flush();R.end(N)}))}))}}const interceptAllHooksFor=(E,R,N)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach(($=>{const j=E.hooks[$];if(!j._fakeHook){j.intercept(makeInterceptorFor(N,R)($))}}))}};const interceptAllParserHooks=(E,R)=>{const N=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];N.forEach((N=>{E.hooks.parser.for(N).tap("ProfilingPlugin",((E,N)=>{interceptAllHooksFor(E,R,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,R)=>{interceptAllHooksFor({hooks:N(18161).getCompilationHooks(E)},R,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,R)=>E=>({register:({name:N,type:$,context:j,fn:q})=>{const G=makeNewProfiledTapFn(E,R,{name:N,type:$,fn:q});return{name:N,type:$,context:j,fn:G}}});const makeNewProfiledTapFn=(E,R,{name:N,type:$,fn:j})=>{const q=["blink.user_timing"];switch($){case"promise":return(...E)=>{const $=++R.counter;R.trace.begin({name:N,id:$,cat:q});const G=j(...E);return G.then((E=>{R.trace.end({name:N,id:$,cat:q});return E}))};case"async":return(...E)=>{const $=++R.counter;R.trace.begin({name:N,id:$,cat:q});const G=E.pop();j(...E,((...E)=>{R.trace.end({name:N,id:$,cat:q});G(...E)}))};case"sync":return(...E)=>{const $=++R.counter;if(N===le){return j(...E)}R.trace.begin({name:N,id:$,cat:q});let G;try{G=j(...E)}catch(E){R.trace.end({name:N,id:$,cat:q});throw E}R.trace.end({name:N,id:$,cat:q});return G};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);const G={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.require,$.exports,$.module]},o:{definition:"",content:"!(module.exports = #)",requests:[$.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.require,$.exports,$.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.exports,$.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[$.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.exports,$.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[$.require,$.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[$.require,$.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends q{constructor(E,R,N,$,j){super();this.range=E;this.arrayRange=R;this.functionRange=N;this.objectRange=$;this.namedModule=j;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:R}=E;R(this.range);R(this.arrayRange);R(this.functionRange);R(this.objectRange);R(this.namedModule);R(this.localModule);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.arrayRange=R();this.functionRange=R();this.objectRange=R();this.namedModule=R();this.localModule=R();super.deserialize(E)}}j(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const $=E;const j=this.branch($);const{definition:q,content:ie,requests:ae}=G[j];for(const E of ae){N.add(E)}this.replace($,R,q,ie)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const R=this.localModuleVar(E)?"l":"";const N=E.arrayRange?"a":"";const $=E.objectRange?"o":"";const j=E.functionRange?"f":"";return R+N+$+j}replace(E,R,N,$){const j=this.localModuleVar(E);if(j){$=$.replace(/XXX/g,j.replace(/\$/g,"$$$$"));N=N.replace(/XXX/g,j.replace(/\$/g,"$$$$"))}if(E.namedModule){$=$.replace(/YYY/g,JSON.stringify(E.namedModule))}const q=$.split("#");if(N)R.insert(0,N);let G=E.range[0];if(E.arrayRange){R.replace(G,E.arrayRange[0]-1,q.shift());G=E.arrayRange[1]}if(E.objectRange){R.replace(G,E.objectRange[0]-1,q.shift());G=E.objectRange[1]}else if(E.functionRange){R.replace(G,E.functionRange[0]-1,q.shift());G=E.functionRange[1]}R.replace(G,E.range[1]-1,q.shift());if(q.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,R,N)=>{"use strict";const $=N(76150);const j=N(46960);const q=N(95715);const G=N(38145);const ie=N(29022);const ae=N(66298);const le=N(95601);const _e=N(28140);const Ee=N(14229);const{addLocalModule:we,getLocalModule:Ie}=N(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,R,N,$,j){if(N.isArray()){N.items.forEach(((N,q)=>{if(N.isString()&&["require","module","exports"].includes(N.string))$[q]=N.string;const G=this.processItem(E,R,N,j);if(G===undefined){this.processContext(E,R,N)}}));return true}else if(N.isConstArray()){const j=[];N.array.forEach(((N,q)=>{let G;let ie;if(N==="require"){$[q]=N;G="__webpack_require__"}else if(["exports","module"].includes(N)){$[q]=N;G=N}else if(ie=Ie(E.state,N)){ie.flagUsed();G=new Ee(ie,undefined,false);G.loc=R.loc;E.state.module.addPresentationalDependency(G)}else{G=this.newRequireItemDependency(N);G.loc=R.loc;G.optional=!!E.scope.inTry;E.state.current.addDependency(G)}j.push(G)}));const q=this.newRequireArrayDependency(j,N.range);q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(q);return true}}processItem(E,R,N,j){if(N.isConditional()){N.options.forEach((N=>{const $=this.processItem(E,R,N);if($===undefined){this.processContext(E,R,N)}}));return true}else if(N.isString()){let q,G;if(N.string==="require"){q=new ae("__webpack_require__",N.range,[$.require])}else if(N.string==="exports"){q=new ae("exports",N.range,[$.exports])}else if(N.string==="module"){q=new ae("module",N.range,[$.module])}else if(G=Ie(E.state,N.string,j)){G.flagUsed();q=new Ee(G,N.range,false)}else{q=this.newRequireItemDependency(N.string,N.range);q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true}q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}}processContext(E,R,N){const $=le.create(G,N.range,N,R,this.options,{category:"amd"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}processCallDefine(E,R){let N,$,j,q;switch(R.arguments.length){case 1:if(isCallable(R.arguments[0])){$=R.arguments[0]}else if(R.arguments[0].type==="ObjectExpression"){j=R.arguments[0]}else{j=$=R.arguments[0]}break;case 2:if(R.arguments[0].type==="Literal"){q=R.arguments[0].value;if(isCallable(R.arguments[1])){$=R.arguments[1]}else if(R.arguments[1].type==="ObjectExpression"){j=R.arguments[1]}else{j=$=R.arguments[1]}}else{N=R.arguments[0];if(isCallable(R.arguments[1])){$=R.arguments[1]}else if(R.arguments[1].type==="ObjectExpression"){j=R.arguments[1]}else{j=$=R.arguments[1]}}break;case 3:q=R.arguments[0].value;N=R.arguments[1];if(isCallable(R.arguments[2])){$=R.arguments[2]}else if(R.arguments[2].type==="ObjectExpression"){j=R.arguments[2]}else{j=$=R.arguments[2]}break;default:return}_e.bailout(E.state);let G=null;let ie=0;if($){if(isUnboundFunctionExpression($)){G=$.params}else if(isBoundFunctionExpression($)){G=$.callee.object.params;ie=$.arguments.length-1;if(ie<0){ie=0}}}let ae=new Map;if(N){const $={};const j=E.evaluateExpression(N);const le=this.processArray(E,R,j,$,q);if(!le)return;if(G){G=G.slice(ie).filter(((R,N)=>{if($[N]){ae.set(R.name,E.getVariableInfo($[N]));return false}return true}))}}else{const R=["require","exports","module"];if(G){G=G.slice(ie).filter(((N,$)=>{if(R[$]){ae.set(N.name,E.getVariableInfo(R[$]));return false}return true}))}}let le;if($&&isUnboundFunctionExpression($)){le=E.scope.inTry;E.inScope(G,(()=>{for(const[R,N]of ae){E.setVariable(R,N)}E.scope.inTry=le;if($.body.type==="BlockStatement"){E.detectMode($.body.body);const R=E.prevStatement;E.preWalkStatement($.body);E.prevStatement=R;E.walkStatement($.body)}else{E.walkExpression($.body)}}))}else if($&&isBoundFunctionExpression($)){le=E.scope.inTry;E.inScope($.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[R,N]of ae){E.setVariable(R,N)}E.scope.inTry=le;if($.callee.object.body.type==="BlockStatement"){E.detectMode($.callee.object.body.body);const R=E.prevStatement;E.preWalkStatement($.callee.object.body);E.prevStatement=R;E.walkStatement($.callee.object.body)}else{E.walkExpression($.callee.object.body)}}));if($.arguments){E.walkExpressions($.arguments)}}else if($||j){E.walkExpression($||j)}const Ee=this.newDefineDependency(R.range,N?N.range:null,$?$.range:null,j?j.range:null,q?q:null);Ee.loc=R.loc;if(q){Ee.localModule=we(E.state,q)}E.state.module.addPresentationalDependency(Ee);return true}newDefineDependency(E,R,N,$,q){return new j(E,R,N,$,q)}newRequireArrayDependency(E,R){return new q(E,R)}newRequireItemDependency(E,R){return new ie(E,R)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,R,N)=>{"use strict";const $=N(76150);const{approve:j,evaluateToIdentifier:q,evaluateToString:G,toConstantDependency:ie}=N(48472);const ae=N(46960);const le=N(98915);const _e=N(95715);const Ee=N(38145);const we=N(19041);const Ie=N(45167);const Me=N(29022);const{AMDDefineRuntimeModule:Te,AMDOptionsRuntimeModule:Ne}=N(29035);const Be=N(66298);const Le=N(14229);const je=N(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const R=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:N,normalModuleFactory:ze})=>{E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(Me,ze);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,N);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(je,new je.Template);E.dependencyTemplates.set(Le,new Le.Template);E.hooks.runtimeRequirementInModule.for($.amdDefine).tap("AMDPlugin",((E,R)=>{R.add($.require)}));E.hooks.runtimeRequirementInModule.for($.amdOptions).tap("AMDPlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.amdDefine).tap("AMDPlugin",((R,N)=>{E.addRuntimeModule(R,new Te)}));E.hooks.runtimeRequirementInTree.for($.amdOptions).tap("AMDPlugin",((N,$)=>{E.addRuntimeModule(N,new Ne(R))}));const handler=(E,R)=>{if(R.amd!==undefined&&!R.amd)return;const tapOptionsHooks=(R,N,j)=>{E.hooks.expression.for(R).tap("AMDPlugin",ie(E,$.amdOptions,[$.amdOptions]));E.hooks.evaluateIdentifier.for(R).tap("AMDPlugin",q(R,N,j,true));E.hooks.evaluateTypeof.for(R).tap("AMDPlugin",G("object"));E.hooks.typeof.for(R).tap("AMDPlugin",ie(E,JSON.stringify("object")))};new we(R).apply(E);new le(R).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(R=>{const N=new Be($.amdDefine,R.range,[$.amdDefine]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",G("function"));E.hooks.canRename.for("define").tap("AMDPlugin",j);E.hooks.rename.for("define").tap("AMDPlugin",(R=>{const N=new Be($.amdDefine,R.range,[$.amdDefine]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",G("function"))};ze.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);ze.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,R,N)=>{"use strict";const $=N(84304);const j=N(56202);const q=N(12197);class AMDRequireArrayDependency extends q{constructor(E,R){super();this.depsArray=E;this.range=R}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.depsArray);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.depsArray=R();this.range=R();super.deserialize(E)}}j(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends ${apply(E,R,N){const $=E;const j=this.getContent($,N);R.replace($.range[0],$.range[1]-1,j)}getContent(E,R){const N=E.depsArray.map((E=>this.contentForDependency(E,R)));return`[${N.join(", ")}]`}contentForDependency(E,{runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtimeRequirements:j}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return R.moduleExports({module:N.getModule(E),chunkGraph:$,request:E.request,runtimeRequirements:j})}}};E.exports=AMDRequireArrayDependency},38145:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);class AMDRequireContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=N(42740);E.exports=AMDRequireContextDependency},83842:(E,R,N)=>{"use strict";const $=N(98221);const j=N(56202);class AMDRequireDependenciesBlock extends ${constructor(E,R){super(null,E,R)}}j(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,R,N)=>{"use strict";const $=N(76150);const j=N(53558);const q=N(95715);const G=N(38145);const ie=N(83842);const ae=N(45167);const le=N(29022);const _e=N(66298);const Ee=N(95601);const we=N(14229);const{getLocalModule:Ie}=N(61701);const Me=N(12584);const Te=N(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,R){let N=true;const $=Te(R);if($){E.inScope($.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if($.fn.body.type==="BlockStatement"){E.walkStatement($.fn.body)}else{E.walkExpression($.fn.body)}}));E.walkExpressions($.expressions);if($.needThis===false){N=false}}else{E.walkExpression(R)}return N}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,R,N){if(N.isArray()){for(const $ of N.items){const N=this.processItem(E,R,$);if(N===undefined){this.processContext(E,R,$)}}return true}else if(N.isConstArray()){const $=[];for(const j of N.array){let N,q;if(j==="require"){N="__webpack_require__"}else if(["exports","module"].includes(j)){N=j}else if(q=Ie(E.state,j)){q.flagUsed();N=new we(q,undefined,false);N.loc=R.loc;E.state.module.addPresentationalDependency(N)}else{N=this.newRequireItemDependency(j);N.loc=R.loc;N.optional=!!E.scope.inTry;E.state.current.addDependency(N)}$.push(N)}const j=this.newRequireArrayDependency($,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(j);return true}}processItem(E,R,N){if(N.isConditional()){for(const $ of N.options){const N=this.processItem(E,R,$);if(N===undefined){this.processContext(E,R,$)}}return true}else if(N.isString()){let j,q;if(N.string==="require"){j=new _e("__webpack_require__",N.string,[$.require])}else if(N.string==="module"){j=new _e(E.state.module.buildInfo.moduleArgument,N.range,[$.module])}else if(N.string==="exports"){j=new _e(E.state.module.buildInfo.exportsArgument,N.range,[$.exports])}else if(q=Ie(E.state,N.string)){q.flagUsed();j=new we(q,N.range,false)}else{j=this.newRequireItemDependency(N.string,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}j.loc=R.loc;E.state.module.addPresentationalDependency(j);return true}}processContext(E,R,N){const $=Ee.create(G,N.range,N,R,this.options,{category:"amd"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}processArrayForRequestString(E){if(E.isArray()){const R=E.items.map((E=>this.processItemForRequestString(E)));if(R.every(Boolean))return R.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const R=E.options.map((E=>this.processItemForRequestString(E)));if(R.every(Boolean))return R.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,R){let N;let $;let q;let G;const ie=E.state.current;if(R.arguments.length>=1){N=E.evaluateExpression(R.arguments[0]);$=this.newRequireDependenciesBlock(R.loc,this.processArrayForRequestString(N));q=this.newRequireDependency(R.range,N.range,R.arguments.length>1?R.arguments[1].range:null,R.arguments.length>2?R.arguments[2].range:null);q.loc=R.loc;$.addDependency(q);E.state.current=$}if(R.arguments.length===1){E.inScope([],(()=>{G=this.processArray(E,R,N)}));E.state.current=ie;if(!G)return;E.state.current.addBlock($);return true}if(R.arguments.length===2||R.arguments.length===3){try{E.inScope([],(()=>{G=this.processArray(E,R,N)}));if(!G){const N=new Me("unsupported",R.range);ie.addPresentationalDependency(N);if(E.state.module){E.state.module.addError(new j("Cannot statically analyse 'require(…, …)' in line "+R.loc.start.line,R.loc))}$=null;return true}q.functionBindThis=this.processFunctionArgument(E,R.arguments[1]);if(R.arguments.length===3){q.errorCallbackBindThis=this.processFunctionArgument(E,R.arguments[2])}}finally{E.state.current=ie;if($)E.state.current.addBlock($)}return true}}newRequireDependenciesBlock(E,R){return new ie(E,R)}newRequireDependency(E,R,N,$){return new ae(E,R,N,$)}newRequireItemDependency(E,R){return new le(E,R)}newRequireArrayDependency(E,R){return new q(E,R)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class AMDRequireDependency extends q{constructor(E,R,N,$){super();this.outerRange=E;this.arrayRange=R;this.functionRange=N;this.errorCallbackRange=$;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.outerRange);R(this.arrayRange);R(this.functionRange);R(this.errorCallbackRange);R(this.functionBindThis);R(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:R}=E;this.outerRange=R();this.arrayRange=R();this.functionRange=R();this.errorCallbackRange=R();this.functionBindThis=R();this.errorCallbackBindThis=R();super.deserialize(E)}}j(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.blockPromise({chunkGraph:q,block:ae,message:"AMD require",runtimeRequirements:G});if(ie.arrayRange&&!ie.functionRange){const E=`${le}.then(function() {`;const N=`;})['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.replace(ie.arrayRange[1],ie.outerRange[1]-1,N);return}if(ie.functionRange&&!ie.arrayRange){const E=`${le}.then((`;const N=`).bind(exports, __webpack_require__, exports, module))['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.functionRange[0]-1,E);R.replace(ie.functionRange[1],ie.outerRange[1]-1,N);return}if(ie.arrayRange&&ie.functionRange&&ie.errorCallbackRange){const E=`${le}.then(function() { `;const N=`}${ie.functionBindThis?".bind(this)":""})['catch'](`;const $=`${ie.errorCallbackBindThis?".bind(this)":""})`;R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");R.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");R.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");R.replace(ie.functionRange[1],ie.errorCallbackRange[0]-1,N);R.replace(ie.errorCallbackRange[1],ie.outerRange[1]-1,$);return}if(ie.arrayRange&&ie.functionRange){const E=`${le}.then(function() { `;const N=`}${ie.functionBindThis?".bind(this)":""})['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");R.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");R.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");R.replace(ie.functionRange[1],ie.outerRange[1]-1,N)}}};E.exports=AMDRequireDependency},29022:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(87283);class AMDRequireItemDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"amd require"}get category(){return"amd"}}$(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=q;E.exports=AMDRequireItemDependency},29035:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class AMDDefineRuntimeModule extends j{constructor(){super("amd define")}generate(){return q.asString([`${$.amdDefine} = function () {`,q.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends j{constructor(E){super("amd options");this.options=E}generate(){return q.asString([`${$.amdOptions} = ${JSON.stringify(this.options)};`])}}R.AMDDefineRuntimeModule=AMDDefineRuntimeModule;R.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,R,N)=>{"use strict";const $=N(84304);const j=N(63272);const q=N(56202);const G=N(12197);class CachedConstDependency extends G{constructor(E,R,N){super();this.expression=E;this.range=R;this.identifier=N;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.expression);R(this.range);R(this.identifier);super.serialize(E)}deserialize(E){const{read:R}=E;this.expression=R();this.range=R();this.identifier=R();super.deserialize(E)}}q(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends ${apply(E,R,{runtimeTemplate:N,dependencyTemplates:$,initFragments:q}){const G=E;q.push(new j(`var ${G.identifier} = ${G.expression};\n`,j.STAGE_CONSTANTS,0,`const ${G.identifier}`));if(typeof G.range==="number"){R.insert(G.range,G.identifier);return}R.replace(G.range[0],G.range[1]-1,G.identifier)}};E.exports=CachedConstDependency},73456:(E,R,N)=>{"use strict";const $=N(76150);R.handleDependencyBase=(E,R,N)=>{let j=undefined;let q;switch(E){case"exports":N.add($.exports);j=R.exportsArgument;q="expression";break;case"module.exports":N.add($.module);j=`${R.moduleArgument}.exports`;q="expression";break;case"this":N.add($.thisAsExports);j="this";q="expression";break;case"Object.defineProperty(exports)":N.add($.exports);j=R.exportsArgument;q="Object.defineProperty";break;case"Object.defineProperty(module.exports)":N.add($.module);j=`${R.moduleArgument}.exports`;q="Object.defineProperty";break;case"Object.defineProperty(this)":N.add($.thisAsExports);j="this";q="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[q,j]}},1248:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(58159);const{equals:G}=N(73910);const ie=N(56202);const ae=N(68038);const{handleDependencyBase:le}=N(73456);const _e=N(79983);const Ee=N(18971);const we=Symbol("CommonJsExportRequireDependency.ids");const Ie={};class CommonJsExportRequireDependency extends _e{constructor(E,R,N,$,j,q,G){super(j);this.range=E;this.valueRange=R;this.base=N;this.names=$;this.ids=q;this.resultUsed=G;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return $.TRANSITIVE}getIds(E){return E.getMeta(this)[we]||this.ids}setIds(E,R){E.getMeta(this)[we]=R}getReferencedExports(E,R){const N=this.getIds(E);const getFullResult=()=>{if(N.length===0){return $.EXPORTS_OBJECT_REFERENCED}else{return[{name:N,canMangle:false}]}};if(this.resultUsed)return getFullResult();let q=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const N=q.getReadOnlyExportInfo(E);const G=N.getUsed(R);if(G===j.Unused)return $.NO_EXPORTS_REFERENCED;if(G!==j.OnlyPropertiesUsed)return getFullResult();q=N.exportsInfo;if(!q)return getFullResult()}if(q.otherExportsInfo.getUsed(R)!==j.Unused){return getFullResult()}const G=[];for(const E of q.orderedExports){Ee(R,G,N.concat(E.name),E,false)}return G.map((E=>({name:E,canMangle:false})))}getExports(E){const R=this.getIds(E);if(this.names.length===1){const N=this.names[0];const $=E.getConnection(this);if(!$)return;return{exports:[{name:N,from:$,export:R.length===0?null:R,canMangle:!(N in Ie)&&false}],dependencies:[$.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Ie)&&false}],dependencies:undefined}}else{const N=E.getConnection(this);if(!N)return;const $=this.getStarReexports(E,undefined,N.module);if($){return{exports:Array.from($.exports,(E=>({name:E,from:N,export:R.concat(E),canMangle:!(E in Ie)&&false}))),dependencies:[N.module]}}else{return{exports:true,from:R.length===0?N:undefined,canMangle:false,dependencies:[N.module]}}}}getStarReexports(E,R,N=E.getModule(this)){let $=E.getExportsInfo(N);const q=this.getIds(E);if(q.length>0)$=$.getNestedExportsInfo(q);let G=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)G=G.getNestedExportsInfo(this.names);const ie=$&&$.otherExportsInfo.provided===false;const ae=G&&G.otherExportsInfo.getUsed(R)===j.Unused;if(!ie&&!ae){return}const le=N.getExportsType(E,false)==="namespace";const _e=new Set;const Ee=new Set;if(ae){for(const E of G.orderedExports){const N=E.name;if(E.getUsed(R)===j.Unused)continue;if(N==="__esModule"&&le){_e.add(N)}else if($){const E=$.getReadOnlyExportInfo(N);if(E.provided===false)continue;_e.add(N);if(E.provided===true)continue;Ee.add(N)}else{_e.add(N);Ee.add(N)}}}else if(ie){for(const E of $.orderedExports){const N=E.name;if(E.provided===false)continue;if(G){const E=G.getReadOnlyExportInfo(N);if(E.getUsed(R)===j.Unused)continue}_e.add(N);if(E.provided===true)continue;Ee.add(N)}if(le){_e.add("__esModule");Ee.delete("__esModule")}}return{exports:_e,checked:Ee}}serialize(E){const{write:R}=E;R(this.asiSafe);R(this.range);R(this.valueRange);R(this.base);R(this.names);R(this.ids);R(this.resultUsed);super.serialize(E)}deserialize(E){const{read:R}=E;this.asiSafe=R();this.range=R();this.valueRange=R();this.base=R();this.names=R();this.ids=R();this.resultUsed=R();super.deserialize(E)}}ie(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends _e.Template{apply(E,R,{module:N,runtimeTemplate:$,chunkGraph:j,moduleGraph:ie,runtimeRequirements:_e,runtime:Ee}){const we=E;const Ie=ie.getExportsInfo(N).getUsedName(we.names,Ee);const[Me,Te]=le(we.base,N,_e);const Ne=ie.getModule(we);let Be=$.moduleExports({module:Ne,chunkGraph:j,request:we.request,weak:we.weak,runtimeRequirements:_e});if(Ne){const E=we.getIds(ie);const R=ie.getExportsInfo(Ne).getUsedName(E,Ee);if(R){const N=G(R,E)?"":q.toNormalComment(ae(E))+" ";Be+=`${N}${ae(R)}`}}switch(Me){case"expression":R.replace(we.range[0],we.range[1]-1,Ie?`${Te}${ae(Ie)} = ${Be}`:`/* unused reexport */ ${Be}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,R,N)=>{"use strict";const $=N(63272);const j=N(56202);const q=N(68038);const{handleDependencyBase:G}=N(73456);const ie=N(12197);const ae={};class CommonJsExportsDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.valueRange=R;this.base=N;this.names=$}get type(){return"cjs exports"}getExports(E){const R=this.names[0];return{exports:[{name:R,canMangle:!(R in ae)}],dependencies:undefined}}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);R(this.base);R(this.names);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();this.base=R();this.names=R();super.deserialize(E)}}j(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:j,initFragments:ie,runtimeRequirements:ae,runtime:le}){const _e=E;const Ee=j.getExportsInfo(N).getUsedName(_e.names,le);const[we,Ie]=G(_e.base,N,ae);switch(we){case"expression":if(!Ee){ie.push(new $("var __webpack_unused_export__;\n",$.STAGE_CONSTANTS,0,"__webpack_unused_export__"));R.replace(_e.range[0],_e.range[1]-1,"__webpack_unused_export__");return}R.replace(_e.range[0],_e.range[1]-1,`${Ie}${q(Ee)}`);return;case"Object.defineProperty":if(!Ee){ie.push(new $("var __webpack_unused_export__;\n",$.STAGE_CONSTANTS,0,"__webpack_unused_export__"));R.replace(_e.range[0],_e.valueRange[0]-1,"__webpack_unused_export__ = (");R.replace(_e.valueRange[1],_e.range[1]-1,")");return}R.replace(_e.range[0],_e.valueRange[0]-1,`Object.defineProperty(${Ie}${q(Ee.slice(0,-1))}, ${JSON.stringify(Ee[Ee.length-1])}, (`);R.replace(_e.valueRange[1],_e.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,R,N)=>{"use strict";const $=N(76150);const j=N(72380);const{evaluateToString:q}=N(48472);const G=N(68038);const ie=N(1248);const ae=N(26702);const le=N(94147);const _e=N(28140);const Ee=N(25702);const we=N(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const R of E.properties){if(R.computed)continue;const E=R.key;if(E.type!=="Identifier"||E.name!=="value")continue;return R.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,R)=>{const N=[];while(R.type==="MemberExpression"){if(R.object.type==="Super")return;if(!R.property)return;const E=R.property;if(R.computed){if(E.type!=="Literal")return;N.push(`${E.value}`)}else{if(E.type!=="Identifier")return;N.push(E.name)}R=R.object}if(R.type!=="CallExpression"||R.arguments.length!==1)return;const $=R.callee;if($.type!=="Identifier"||E.getVariableInfo($.name)!=="require"){return}const j=R.arguments[0];if(j.type==="SpreadElement")return;const q=E.evaluateExpression(j);return{argument:q,ids:N.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{_e.enable(E.state)};const checkNamespace=(R,N,$)=>{if(!_e.isEnabled(E.state))return;if(N.length>0&&N[0]==="__esModule"){if($&&isTruthyLiteral($)&&R){_e.setFlagged(E.state)}else{_e.setDynamic(E.state)}}};const bailout=R=>{_e.bailout(E.state);if(R)bailoutHint(R)};const bailoutHint=R=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${R}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",q("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",q("object"));const handleAssignExport=(R,N,$)=>{if(Ee.isEnabled(E.state))return;const j=parseRequireCall(E,R.right);if(j&&j.argument.isString()&&($.length===0||$[0]!=="__esModule")){enableStructuredExports();if($.length===0)_e.setDynamic(E.state);const q=new ie(R.range,null,N,$,j.argument.string,j.ids,!E.isStatementLevelExpression(R));q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.module.addDependency(q);return true}if($.length===0)return;enableStructuredExports();const q=$;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(R),q,R.right);const G=new ae(R.left.range,null,N,q);G.loc=R.loc;E.state.module.addDependency(G);E.walkExpression(R.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAssignExport(E,"exports",R)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(R,"this",N)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAssignExport(E,"module.exports",R.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(R=>{const N=R;if(!E.isStatementLevelExpression(N))return;if(N.arguments.length!==3)return;if(N.arguments[0].type==="SpreadElement")return;if(N.arguments[1].type==="SpreadElement")return;if(N.arguments[2].type==="SpreadElement")return;const $=E.evaluateExpression(N.arguments[0]);if(!$||!$.isIdentifier())return;if($.identifier!=="exports"&&$.identifier!=="module.exports"&&($.identifier!=="this"||!E.scope.topLevelScope)){return}const j=E.evaluateExpression(N.arguments[1]);if(!j)return;const q=j.asString();if(typeof q!=="string")return;enableStructuredExports();const G=N.arguments[2];checkNamespace(E.statementPath.length===1,[q],getValueOfPropertyDescription(G));const ie=new ae(N.range,N.arguments[2].range,`Object.defineProperty(${$.identifier})`,[q]);ie.loc=N.loc;E.state.module.addDependency(ie);E.walkExpression(N.arguments[2]);return true}));const handleAccessExport=(R,N,$,q=undefined)=>{if(Ee.isEnabled(E.state))return;if($.length===0){bailout(`${N} is used directly at ${j(R.loc)}`)}if(q&&$.length===1){bailoutHint(`${N}${G($)}(...) prevents optimization as ${N} is passed as call context at ${j(R.loc)}`)}const ie=new le(R.range,N,$,!!q);ie.loc=R.loc;E.state.module.addDependency(ie);if(q){E.walkExpressions(q.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAccessExport(E.callee,"exports",R,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAccessExport(E,"exports",R)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",R.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAccessExport(E,"module.exports",R.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R.callee,"this",N,R)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R,"this",N)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(R=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(R=>{bailout();const N=Ee.isEnabled(E.state);const j=new we(N?$.harmonyModuleDecorator:$.nodeModuleDecorator,!N);j.loc=R.loc;E.state.module.addDependency(j);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,R,N)=>{"use strict";const $=N(58159);const{equals:j}=N(73910);const q=N(56202);const G=N(68038);const ie=N(79983);class CommonJsFullRequireDependency extends ie{constructor(E,R,N){super(E);this.range=R;this.names=N;this.call=false;this.asiSafe=undefined}getReferencedExports(E,R){if(this.call){const R=E.getModule(this);if(!R||R.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:R}=E;R(this.names);R(this.call);R(this.asiSafe);super.serialize(E)}deserialize(E){const{read:R}=E;this.names=R();this.call=R();this.asiSafe=R();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ie.Template{apply(E,R,{module:N,runtimeTemplate:q,moduleGraph:ie,chunkGraph:ae,runtimeRequirements:le,runtime:_e,initFragments:Ee}){const we=E;if(!we.range)return;const Ie=ie.getModule(we);let Me=q.moduleExports({module:Ie,chunkGraph:ae,request:we.request,weak:we.weak,runtimeRequirements:le});if(Ie){const E=we.names;const R=ie.getExportsInfo(Ie).getUsedName(E,_e);if(R){const N=j(R,E)?"":$.toNormalComment(G(E))+" ";const q=`${N}${G(R)}`;Me=we.asiSafe===true?`(${Me}${q})`:`${Me}${q}`}}R.replace(we.range[0],we.range[1]-1,Me)}};q(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,R,N)=>{"use strict";const $=N(47207);const j=N(76150);const q=N(53558);const{evaluateToIdentifier:G,evaluateToString:ie,expressionIsUnsupported:ae,toConstantDependency:le}=N(48472);const _e=N(87519);const Ee=N(51454);const we=N(37313);const Ie=N(66298);const Me=N(95601);const Te=N(14229);const{getLocalModule:Ne}=N(61701);const Be=N(70340);const Le=N(84817);const je=N(76913);const ze=N(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const R=this.options;const tapRequireExpression=(R,N)=>{E.hooks.typeof.for(R).tap("CommonJsPlugin",le(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(R).tap("CommonJsPlugin",ie("function"));E.hooks.evaluateIdentifier.for(R).tap("CommonJsPlugin",G(R,"require",N,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(R=>{const N=new Ie("var require;",0);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(R=>{const N=new Ie("undefined",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",le(E,j.moduleCache,[j.moduleCache,j.moduleId,j.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(N=>{const $=new Ee({request:R.unknownContextRequest,recursive:R.unknownContextRecursive,regExp:R.unknownContextRegExp,mode:"sync"},N.range,undefined,E.scope.inShorthand);$.critical=R.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}));const processRequireItem=(R,N)=>{if(N.isString()){const $=new we(N.string,N.range);$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}};const processRequireContext=(N,$)=>{const j=Me.create(Ee,N.range,$,N,R,{category:"commonjs"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true};const createRequireHandler=N=>j=>{if(R.commonjsMagicComments){const{options:R,errors:N}=E.parseCommentOptions(j.range);if(N){for(const R of N){const{comment:N}=R;E.state.module.addWarning(new $(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${R.message}`,N.loc))}}if(R){if(R.webpackIgnore!==undefined){if(typeof R.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${R.webpackIgnore}.`,j.loc))}else{if(R.webpackIgnore){return true}}}}}if(j.arguments.length!==1)return;let G;const ie=E.evaluateExpression(j.arguments[0]);if(ie.isConditional()){let R=false;for(const E of ie.options){const N=processRequireItem(j,E);if(N===undefined){R=true}}if(!R){const R=new Be(j.callee.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R);return true}}if(ie.isString()&&(G=Ne(E.state,ie.string))){G.flagUsed();const R=new Te(G,j.range,N);R.loc=j.loc;E.state.module.addPresentationalDependency(R);return true}else{const R=processRequireItem(j,ie);if(R===undefined){processRequireContext(j,ie)}else{const R=new Be(j.callee.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(R,N,$,j)=>{if($.arguments.length!==1)return;const q=E.evaluateExpression($.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const N=new _e(q.string,R.range,j);N.asiSafe=!E.isAsiPosition(R.range[0]);N.optional=!!E.scope.inTry;N.loc=R.loc;E.state.module.addDependency(N);return true}};const callChainHandler=(R,N,$,j)=>{if($.arguments.length!==1)return;const q=E.evaluateExpression($.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const N=new _e(q.string,R.callee.range,j);N.call=true;N.asiSafe=!E.isAsiPosition(R.range[0]);N.optional=!!E.scope.inTry;N.loc=R.callee.loc;E.state.module.addDependency(N);E.walkExpressions(R.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(R,N)=>{if(R.arguments.length!==1)return;const $=E.evaluateExpression(R.arguments[0]);if($.isConditional()){for(const E of $.options){const $=processResolveItem(R,E,N);if($===undefined){processResolveContext(R,E,N)}}const j=new ze(R.callee.range);j.loc=R.loc;E.state.module.addPresentationalDependency(j);return true}else{const j=processResolveItem(R,$,N);if(j===undefined){processResolveContext(R,$,N)}const q=new ze(R.callee.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}};const processResolveItem=(R,N,$)=>{if(N.isString()){const j=new je(N.string,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;j.weak=$;E.state.current.addDependency(j);return true}};const processResolveContext=(N,$,j)=>{const q=Me.create(Le,$.range,$,N,R,{category:"commonjs",mode:j?"weak":"sync"},E);if(!q)return;q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(31141);const G=N(58159);const ie=N(26702);const ae=N(87519);const le=N(51454);const _e=N(37313);const Ee=N(94147);const we=N(2706);const Ie=N(70340);const Me=N(84817);const Te=N(76913);const Ne=N(23380);const Be=N(35424);const Le=N(48235);const je=N(42218);const{evaluateToIdentifier:ze,toConstantDependency:Ue}=N(48472);const qe=N(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:R,normalModuleFactory:N})=>{E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(ae,N);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(le,R);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(Te,N);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyFactories.set(Me,R);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyTemplates.set(Ne,new Ne.Template);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(qe,N);E.dependencyTemplates.set(qe,new qe.Template);const j=new q(E.moduleGraph);E.dependencyFactories.set(Ee,j);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyFactories.set(we,j);E.dependencyTemplates.set(we,new we.Template);E.hooks.runtimeRequirementInModule.for($.harmonyModuleDecorator).tap("CommonJsPlugin",((E,R)=>{R.add($.module);R.add($.requireScope)}));E.hooks.runtimeRequirementInModule.for($.nodeModuleDecorator).tap("CommonJsPlugin",((E,R)=>{R.add($.module);R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.harmonyModuleDecorator).tap("CommonJsPlugin",((R,N)=>{E.addRuntimeModule(R,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for($.nodeModuleDecorator).tap("CommonJsPlugin",((R,N)=>{E.addRuntimeModule(R,new NodeModuleDecoratorRuntimeModule)}));const handler=(R,N)=>{if(N.commonjs!==undefined&&!N.commonjs)return;R.hooks.typeof.for("module").tap("CommonJsPlugin",Ue(R,JSON.stringify("object")));R.hooks.expression.for("require.main").tap("CommonJsPlugin",Ue(R,`${$.moduleCache}[${$.entryModuleId}]`,[$.moduleCache,$.entryModuleId]));R.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{R.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const N=new Be([$.moduleLoaded]);N.loc=E.loc;R.state.module.addPresentationalDependency(N);return true}));R.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{R.state.module.buildInfo.moduleConcatenationBailout="module.id";const N=new Be([$.moduleId]);N.loc=E.loc;R.state.module.addPresentationalDependency(N);return true}));R.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",ze("module.hot","module",(()=>["hot"]),null));new je(N).apply(R);new Le(E.moduleGraph).apply(R)};N.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends j{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${$.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",G.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends j{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${$.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(42740);class CommonJsRequireContextDependency extends j{constructor(E,R,N,$){super(E);this.range=R;this.valueRange=N;this.inShorthand=$}get type(){return"cjs require context"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);R(this.inShorthand);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();this.inShorthand=R();super.deserialize(E)}}$(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=q;E.exports=CommonJsRequireContextDependency},37313:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class CommonJsRequireDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=q;$(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,R,N)=>{"use strict";const $=N(76150);const{equals:j}=N(73910);const q=N(56202);const G=N(68038);const ie=N(12197);class CommonJsSelfReferenceDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.base=R;this.names=N;this.call=$}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,R){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:R}=E;R(this.range);R(this.base);R(this.names);R(this.call);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.base=R();this.names=R();this.call=R();super.deserialize(E)}}q(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:q,runtime:ie,runtimeRequirements:ae}){const le=E;let _e;if(le.names.length===0){_e=le.names}else{_e=q.getExportsInfo(N).getUsedName(le.names,ie)}if(!_e){throw new Error("Self-reference dependency has unused export name: This should not happen")}let Ee=undefined;switch(le.base){case"exports":ae.add($.exports);Ee=N.exportsArgument;break;case"module.exports":ae.add($.module);Ee=`${N.moduleArgument}.exports`;break;case"this":ae.add($.thisAsExports);Ee="this";break;default:throw new Error(`Unsupported base ${le.base}`)}if(Ee===le.base&&j(_e,le.names)){return}R.replace(le.range[0],le.range[1]-1,`${Ee}${G(_e)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class ConstDependency extends j{constructor(E,R,N){super();this.expression=E;this.range=R;this.runtimeRequirements=N?new Set(N):null;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){let E=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const R of this.runtimeRequirements){E+="|";E+=R}}this._hashUpdate=E}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.expression);R(this.range);R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.expression=R();this.range=R();this.runtimeRequirements=R();super.deserialize(E)}}$(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends j.Template{apply(E,R,N){const $=E;if($.runtimeRequirements){for(const E of $.runtimeRequirements){N.runtimeRequirements.add(E)}}if(typeof $.range==="number"){R.insert($.range,$.expression);return}R.replace($.range[0],$.range[1]-1,$.expression)}};E.exports=ConstDependency},400:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);const q=N(56202);const G=N(91671);const ie=G((()=>N(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends ${constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.inShorthand=undefined;this.replaces=undefined}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let R=super.getWarnings(E);if(this.critical){if(!R)R=[];const E=ie();R.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!R)R=[];const E=ie();R.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return R}serialize(E){const{write:R}=E;R(this.options);R(this.userRequest);R(this.critical);R(this.hadGlobalOrStickyRegExp);R(this.request);R(this.range);R(this.valueRange);R(this.prepend);R(this.replaces);super.serialize(E)}deserialize(E){const{read:R}=E;this.options=R();this.userRequest=R();this.critical=R();this.hadGlobalOrStickyRegExp=R();this.request=R();this.range=R();this.valueRange=R();this.prepend=R();this.replaces=R();super.deserialize(E)}}q(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=j;E.exports=ContextDependency},95601:(E,R,N)=>{"use strict";const{parseResource:$}=N(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const R=E.lastIndexOf("/");let N=".";if(R>=0){N=E.substr(0,R);E=`.${E.substr(R)}`}return{context:N,prefix:E}};R.create=(E,R,N,j,q,G,ie)=>{if(N.isTemplateString()){let ae=N.quasis[0].string;let le=N.quasis.length>1?N.quasis[N.quasis.length-1].string:"";const _e=N.range;const{context:Ee,prefix:we}=splitContextFromPrefix(ae);const{path:Ie,query:Me,fragment:Te}=$(le,ie);const Ne=N.quasis.slice(1,N.quasis.length-1);const Be=q.wrappedContextRegExp.source+Ne.map((E=>quoteMeta(E.string)+q.wrappedContextRegExp.source)).join("");const Le=new RegExp(`^${quoteMeta(we)}${Be}${quoteMeta(Ie)}$`);const je=new E({request:Ee+Me+Te,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},R,_e);je.loc=j.loc;const ze=[];N.parts.forEach(((E,R)=>{if(R%2===0){let $=E.range;let j=E.string;if(N.templateStringKind==="cooked"){j=JSON.stringify(j);j=j.slice(1,j.length-1)}if(R===0){j=we;$=[N.range[0],E.range[1]];j=(N.templateStringKind==="cooked"?"`":"String.raw`")+j}else if(R===N.parts.length-1){j=Ie;$=[E.range[0],N.range[1]];j=j+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===j){return}ze.push({range:$,value:j})}else{ie.walkExpression(E.expression)}}));je.replaces=ze;je.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";return je}else if(N.isWrapped()&&(N.prefix&&N.prefix.isString()||N.postfix&&N.postfix.isString())){let ae=N.prefix&&N.prefix.isString()?N.prefix.string:"";let le=N.postfix&&N.postfix.isString()?N.postfix.string:"";const _e=N.prefix&&N.prefix.isString()?N.prefix.range:null;const Ee=N.postfix&&N.postfix.isString()?N.postfix.range:null;const we=N.range;const{context:Ie,prefix:Me}=splitContextFromPrefix(ae);const{path:Te,query:Ne,fragment:Be}=$(le,ie);const Le=new RegExp(`^${quoteMeta(Me)}${q.wrappedContextRegExp.source}${quoteMeta(Te)}$`);const je=new E({request:Ie+Ne+Be,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},R,we);je.loc=j.loc;const ze=[];if(_e){ze.push({range:_e,value:JSON.stringify(Me)})}if(Ee){ze.push({range:Ee,value:JSON.stringify(Te)})}je.replaces=ze;je.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ie&&N.wrappedInnerExpressions){for(const E of N.wrappedInnerExpressions){if(E.expression)ie.walkExpression(E.expression)}}return je}else{const $=new E({request:q.exprContextRequest,recursive:q.exprContextRecursive,regExp:q.exprContextRegExp,mode:"sync",...G},R,N.range);$.loc=j.loc;$.critical=q.exprContextCritical&&"the request of a dependency is an expression";ie.walkExpression(N.expression);return $}}},94148:(E,R,N)=>{"use strict";const $=N(400);class ContextDependencyTemplateAsId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;const ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,weak:G.weak,runtimeRequirements:q});if($.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const $=N(400);class ContextDependencyTemplateAsRequireCall extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;let ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,runtimeRequirements:q});if(G.inShorthand){ie=`${G.inShorthand}: ${ie}`}if($.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class ContextElementDependency extends q{constructor(E,R,N,$,j){super(E);this.referencedExports=j;this._typePrefix=N;this._category=$;if(R){this.userRequest=R}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,R){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):$.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}j(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class CreateScriptUrlDependency extends q{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const j=E;N.add($.createScriptUrl);R.insert(j.range[0],`${$.createScriptUrl}(`);R.insert(j.range[1],")")}};j(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class CriticalDependencyWarning extends ${constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}j(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);class DelegatedSourceDependency extends j{constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}$(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class DllEntryDependency extends ${constructor(E,R){super();this.dependencies=E;this.name=R}get type(){return"dll entry"}serialize(E){const{write:R}=E;R(this.dependencies);R(this.name);super.serialize(E)}deserialize(E){const{read:R}=E;this.dependencies=R();this.name=R();super.deserialize(E)}}j(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,R)=>{"use strict";const N=new WeakMap;R.bailout=E=>{const R=N.get(E);N.set(E,false);if(R===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};R.enable=E=>{const R=N.get(E);if(R===false)return;N.set(E,true);if(R!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};R.setFlagged=E=>{const R=N.get(E);if(R!==true)return;const $=E.module.buildMeta;if($.exportsType==="dynamic")return;$.exportsType="flagged"};R.setDynamic=E=>{const R=N.get(E);if(R!==true)return;E.module.buildMeta.exportsType="dynamic"};R.isEnabled=E=>{const R=N.get(E);return R===true}},66583:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);class EntryDependency extends j{constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}$(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(56202);const q=N(12197);const getProperty=(E,R,N,j,q)=>{if(!N){switch(j){case"usedExports":{const N=E.getExportsInfo(R).getUsedExports(q);if(typeof N==="boolean"||N===undefined||N===null){return N}return Array.from(N).sort()}}}switch(j){case"used":return E.getExportsInfo(R).getUsed(N,q)!==$.Unused;case"useInfo":{const j=E.getExportsInfo(R).getUsed(N,q);switch(j){case $.Used:case $.OnlyPropertiesUsed:return true;case $.Unused:return false;case $.NoInfo:return undefined;case $.Unknown:return null;default:throw new Error(`Unexpected UsageState ${j}`)}}case"provideInfo":return E.getExportsInfo(R).isExportProvided(N)}return undefined};class ExportsInfoDependency extends q{constructor(E,R,N){super();this.range=E;this.exportName=R;this.property=N}serialize(E){const{write:R}=E;R(this.range);R(this.exportName);R(this.property);super.serialize(E)}static deserialize(E){const R=new ExportsInfoDependency(E.read(),E.read(),E.read());R.deserialize(E);return R}}j(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends q.Template{apply(E,R,{module:N,moduleGraph:$,runtime:j}){const q=E;const G=getProperty($,N,q.exportName,q.property,j);R.replace(q.range[0],q.range[1]-1,G===undefined?"undefined":JSON.stringify(G))}};E.exports=ExportsInfoDependency},27790:(E,R,N)=>{"use strict";const $=N(58159);const j=N(56202);const q=N(37359);const G=N(12197);class HarmonyAcceptDependency extends G{constructor(E,R,N){super();this.range=E;this.dependencies=R;this.hasCallback=N}get type(){return"accepted harmony modules"}serialize(E){const{write:R}=E;R(this.range);R(this.dependencies);R(this.hasCallback);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.dependencies=R();this.hasCallback=R();super.deserialize(E)}}j(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends G.Template{apply(E,R,N){const j=E;const{module:G,runtime:ie,runtimeRequirements:ae,runtimeTemplate:le,moduleGraph:_e,chunkGraph:Ee}=N;const we=j.dependencies.map((E=>{const R=_e.getModule(E);return{dependency:E,runtimeCondition:R?q.Template.getImportEmittedRuntime(G,R):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:R})=>{const j=le.runtimeConditionExpression({chunkGraph:Ee,runtime:ie,runtimeCondition:R,runtimeRequirements:ae});const q=E.getImportStatement(true,N);const G=q[0]+q[1];if(j!=="true"){return`if (${j}) {\n${$.indent(G)}\n}\n`}return G})).join("");if(j.hasCallback){if(le.supportsArrowFunction()){R.insert(j.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${we}(`);R.insert(j.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{R.insert(j.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${we}(`);R.insert(j.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Ie=le.supportsArrowFunction();R.insert(j.range[1]-.5,`, ${Ie?"() =>":"function()"} { ${we} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,R,N)=>{"use strict";const $=N(56202);const j=N(37359);class HarmonyAcceptImportDependency extends j{constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}$(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends j.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(63272);const q=N(76150);const G=N(56202);const ie=N(12197);class HarmonyCompatibilityDependency extends ie{get type(){return"harmony export header"}}G(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,R,{module:N,runtimeTemplate:G,moduleGraph:ie,initFragments:ae,runtimeRequirements:le,runtime:_e,concatenationScope:Ee}){if(Ee)return;const we=ie.getExportsInfo(N);if(we.getReadOnlyExportInfo("__esModule").getUsed(_e)!==$.Unused){const E=G.defineEsModuleFlagStatement({exportsArgument:N.exportsArgument,runtimeRequirements:le});ae.push(new j(E,j.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ie.isAsync(N)){le.add(q.module);le.add(q.asyncModule);ae.push(new j(G.supportsArrowFunction()?`${q.asyncModule}(${N.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${q.asyncModule}(${N.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,j.STAGE_ASYNC_BOUNDARY,0,undefined,N.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,R,N)=>{"use strict";const $=N(28140);const j=N(54290);const q=N(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:R=false}=E||{};this.topLevelAwait=R}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(R=>{const N=E.state.module.type==="javascript/esm";const G=N||R.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(G){const R=E.state.module;const G=new j;G.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};R.addPresentationalDependency(G);$.bailout(E.state);q.enable(E.state,N);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const R=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!q.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}R.buildMeta.async=true}));const skipInHarmony=()=>{if(q.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(q.isEnabled(E.state)){return null}};const R=["define","exports"];for(const N of R){E.hooks.evaluateTypeof.for(N).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(N).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,R,N)=>{"use strict";const $=N(58018);const j=N(66298);const q=N(55037);const G=N(48752);const ie=N(44576);const ae=N(14696);const{ExportPresenceModes:le}=N(37359);const{harmonySpecifierTag:_e,getAssertions:Ee}=N(29381);const we=N(69707);const{HarmonyStarExportsList:Ie}=ie;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.reexportExportPresence!==undefined?le.fromUserOption(E.reexportExportPresence):E.exportPresence!==undefined?le.fromUserOption(E.exportPresence):E.strictExportPresence?le.ERROR:le.AUTO}apply(E){const{exportPresenceMode:R}=this;E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(R=>{const N=new G(R.declaration&&R.declaration.range,R.range);N.loc=Object.create(R.loc);N.loc.index=-1;E.state.module.addPresentationalDependency(N);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((R,N)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const $=new j("",R.range);$.loc=Object.create(R.loc);$.loc.index=-1;E.state.module.addPresentationalDependency($);const q=new we(N,E.state.lastHarmonyImportOrder,Ee(R));q.loc=Object.create(R.loc);q.loc.index=-1;E.state.current.addDependency(q);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((R,N)=>{const j=N.type==="FunctionDeclaration";const G=E.getComments([R.range[0],N.range[0]]);const ie=new q(N.range,R.range,G.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),N.type.endsWith("Declaration")&&N.id?N.id.name:j?{id:N.id?N.id.name:undefined,range:[N.range[0],N.params.length>0?N.params[0].range[0]:N.body.range[0]],prefix:`${N.async?"async ":""}function${N.generator?"*":""} `,suffix:`(${N.params.length>0?"":") "}`}:undefined);ie.loc=Object.create(R.loc);ie.loc.index=-1;E.state.current.addDependency(ie);$.addVariableUsage(E,N.type.endsWith("Declaration")&&N.id?N.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((N,j,q,G)=>{const le=E.getTagData(j,_e);let Ee;const we=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;we.add(q);$.addVariableUsage(E,j,q);if(le){Ee=new ie(le.source,le.sourceOrder,le.ids,q,we,null,R,null,le.assertions)}else{Ee=new ae(j,q)}Ee.loc=Object.create(N.loc);Ee.loc.index=G;E.state.current.addDependency(Ee);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((N,$,j,q,G)=>{const ae=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let le=null;if(q){ae.add(q)}else{le=E.state.harmonyStarExports=E.state.harmonyStarExports||new Ie}const _e=new ie($,E.state.lastHarmonyImportOrder,j?[j]:[],q,ae,le&&le.slice(),R,le);if(le){le.push(_e)}_e.loc=Object.create(N.loc);_e.loc.index=G;E.state.current.addDependency(_e);return true}))}}},55037:(E,R,N)=>{"use strict";const $=N(77294);const j=N(76150);const q=N(56202);const G=N(82296);const ie=N(12197);class HarmonyExportExpressionDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.rangeStatement=R;this.prefix=N;this.declarationId=$}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.range);R(this.rangeStatement);R(this.prefix);R(this.declarationId);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.rangeStatement=R();this.prefix=R();this.declarationId=R();super.deserialize(E)}}q(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:q,runtimeTemplate:ie,runtimeRequirements:ae,initFragments:le,runtime:_e,concatenationScope:Ee}){const we=E;const{declarationId:Ie}=we;const Me=N.exportsArgument;if(Ie){let E;if(typeof Ie==="string"){E=Ie}else{E=$.DEFAULT_EXPORT;R.replace(Ie.range[0],Ie.range[1]-1,`${Ie.prefix}${E}${Ie.suffix}`)}if(Ee){Ee.registerExport("default",E)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){const N=new Map;N.set(R,`/* export default binding */ ${E}`);le.push(new G(Me,N))}}R.replace(we.rangeStatement[0],we.range[0]-1,`/* harmony default export */ ${we.prefix}`)}else{let E;const Ie=$.DEFAULT_EXPORT;if(ie.supportsConst()){E=`/* harmony default export */ const ${Ie} = `;if(Ee){Ee.registerExport("default",Ie)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){ae.add(j.exports);const E=new Map;E.set(R,Ie);le.push(new G(Me,E))}else{E=`/* unused harmony default export */ var ${Ie} = `}}}else if(Ee){E=`/* harmony default export */ var ${Ie} = `;Ee.registerExport("default",Ie)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){ae.add(j.exports);E=`/* harmony default export */ ${Me}[${JSON.stringify(R)}] = `}else{E=`/* unused harmony default export */ var ${Ie} = `}}if(we.range){R.replace(we.rangeStatement[0],we.range[0]-1,E+"("+we.prefix);R.replace(we.range[1],we.rangeStatement[1]-.5,");");return}R.replace(we.rangeStatement[0],we.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class HarmonyExportHeaderDependency extends j{constructor(E,R){super();this.range=E;this.rangeStatement=R}get type(){return"harmony export header"}serialize(E){const{write:R}=E;R(this.range);R(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.rangeStatement=R();super.deserialize(E)}}$(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends j.Template{apply(E,R,N){const $=E;const j="";const q=$.range?$.range[0]-1:$.rangeStatement[1]-1;R.replace($.rangeStatement[0],q,j)}};E.exports=HarmonyExportHeaderDependency},44576:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(36756);const G=N(63272);const ie=N(76150);const ae=N(58159);const{countIterable:le}=N(11539);const{first:_e,combine:Ee}=N(26221);const we=N(56202);const Ie=N(68038);const{getRuntimeKey:Me,keyToRuntime:Te}=N(37416);const Ne=N(82296);const Be=N(37359);const Le=N(18971);const{ExportPresenceModes:je}=Be;const ze=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,R,N,$,j){this.name=E;this.ids=R;this.exportInfo=N;this.checked=$;this.hidden=j}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,R,N)=>{const $=new Set;const j=[];if(N){R=R.concat(N)}for(const N of R){const R=j.length;j[R]=$.size;const q=E.getModule(N);if(q){const N=E.getExportsInfo(q);for(const E of N.exports){if(E.provided===true&&E.name!=="default"&&!$.has(E.name)){$.add(E.name);j[R]=$.size}}}}j.push($.size);return{names:Array.from($),dependencyIndices:j}};const findDependencyForName=({names:E,dependencyIndices:R},N,$)=>{const j=$[Symbol.iterator]();const q=R[Symbol.iterator]();let G=j.next();let ie=q.next();if(ie.done)return;for(let R=0;R=ie.value){G=j.next();ie=q.next();if(ie.done)return}if(E[R]===N)return G.value}return undefined};const getMode=(E,R,N)=>{const $=E.getModule(R);if(!$){const E=new ExportMode("missing");E.userRequest=R.userRequest;return E}const q=R.name;const G=Te(N);const ie=E.getParentModule(R);const ae=E.getExportsInfo(ie);if(q?ae.getUsed(q,G)===j.Unused:ae.isUsed(G)===false){const E=new ExportMode("unused");E.name=q||"*";return E}const le=$.getExportsType(E,ie.buildMeta.strictHarmonyModule);const _e=R.getIds(E);if(q&&_e.length>0&&_e[0]==="default"){switch(le){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=q;return E}case"default-only":case"default-with-named":{const E=ae.getReadOnlyExportInfo(q);const R=new ExportMode("reexport-named-default");R.name=q;R.partialNamespaceExportInfo=E;return R}}}if(q){let E;const R=ae.getReadOnlyExportInfo(q);if(_e.length>0){switch(le){case"default-only":E=new ExportMode("reexport-undefined");E.name=q;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(q,_e,R,false,false)];break}}else{switch(le){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=R;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=R;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=q;E.partialNamespaceExportInfo=R}}return E}const{ignoredExports:Ee,exports:we,checked:Ie,hidden:Me}=R.getStarReexports(E,G,ae,$);if(!we){const E=new ExportMode("dynamic-reexport");E.ignored=Ee;E.hidden=Me;return E}if(we.size===0){const E=new ExportMode("empty-star");E.hidden=Me;return E}const Ne=new ExportMode("normal-reexport");Ne.items=Array.from(we,(E=>new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),Ie.has(E),false)));if(Me!==undefined){for(const E of Me){Ne.items.push(new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),false,true))}}return Ne};class HarmonyExportImportedSpecifierDependency extends Be{constructor(E,R,N,$,j,q,G,ie,ae){super(E,R,ae);this.ids=N;this.name=$;this.activeExports=j;this.otherStarExports=q;this.exportPresenceMode=G;this.allStarExports=ie}couldAffectReferencingModule(){return $.TRANSITIVE}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[ze]||this.ids}setIds(E,R){E.getMeta(this)[ze]=R}getMode(E,R){return E.dependencyCacheProvide(this,Me(R),getMode)}getStarReexports(E,R,N=E.getExportsInfo(E.getParentModule(this)),$=E.getModule(this)){const q=E.getExportsInfo($);const G=q.otherExportsInfo.provided===false;const ie=N.otherExportsInfo.getUsed(R)===j.Unused;const ae=new Set(["default",...this.activeExports]);let le=undefined;const _e=this._discoverActiveExportsFromOtherStarExports(E);if(_e!==undefined){le=new Set;for(let E=0;E<_e.namesSlice;E++){le.add(_e.names[E])}for(const E of ae)le.delete(E)}if(!G&&!ie){return{ignoredExports:ae,hidden:le}}const Ee=new Set;const we=new Set;const Ie=le!==undefined?new Set:undefined;if(ie){for(const E of N.orderedExports){const N=E.name;if(ae.has(N))continue;if(E.getUsed(R)===j.Unused)continue;const $=q.getReadOnlyExportInfo(N);if($.provided===false)continue;if(le!==undefined&&le.has(N)){Ie.add(N);continue}Ee.add(N);if($.provided===true)continue;we.add(N)}}else if(G){for(const E of q.orderedExports){const $=E.name;if(ae.has($))continue;if(E.provided===false)continue;const q=N.getReadOnlyExportInfo($);if(q.getUsed(R)===j.Unused)continue;if(le!==undefined&&le.has($)){Ie.add($);continue}Ee.add($);if(E.provided===true)continue;we.add($)}}return{ignoredExports:ae,exports:Ee,checked:we,hidden:Ie}}getCondition(E){return(R,N)=>{const $=this.getMode(E,N);return $.type!=="unused"&&$.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,R){const N=this.getMode(E,R);switch(N.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return $.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return $.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!N.partialNamespaceExportInfo)return $.EXPORTS_OBJECT_REFERENCED;const E=[];Le(R,E,[],N.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!N.partialNamespaceExportInfo)return $.EXPORTS_OBJECT_REFERENCED;const E=[];Le(R,E,[],N.partialNamespaceExportInfo,N.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return $.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:$,exportInfo:j,hidden:q}of N.items){if(q)continue;Le(R,E,$,j,false)}return E}default:throw new Error(`Unknown mode ${N.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const R="length"in this.otherStarExports?this.otherStarExports.length:le(this.otherStarExports);if(R===0)return undefined;if(this.allStarExports){const{names:N,dependencyIndices:$}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:N,namesSlice:$[R-1],dependencyIndices:$,dependencyIndex:R}}const{names:N,dependencyIndices:$}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:N,namesSlice:$[R-1],dependencyIndices:$,dependencyIndex:R}}getExports(E){const R=this.getMode(E,undefined);switch(R.type){case"missing":return undefined;case"dynamic-reexport":{const N=E.getConnection(this);return{exports:true,from:N,canMangle:false,excludeExports:R.hidden?Ee(R.ignored,R.hidden):R.ignored,hideExports:R.hidden,dependencies:[N.module]}}case"empty-star":return{exports:[],hideExports:R.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const N=E.getConnection(this);return{exports:Array.from(R.items,(E=>({name:E.name,from:N,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[N.module]}}case"reexport-dynamic-default":{{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:["default"]}],priority:1,dependencies:[N.module]}}}case"reexport-undefined":return{exports:[R.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:null,exports:[{name:"default",canMangle:false,from:N,export:null}]}],priority:1,dependencies:[N.module]}}case"reexport-namespace-object":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:null}],priority:1,dependencies:[N.module]}}case"reexport-named-default":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:["default"]}],priority:1,dependencies:[N.module]}}default:throw new Error(`Unknown mode ${R.type}`)}}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==je.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?je.ERROR:je.WARN}getWarnings(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===je.WARN){return this._getErrors(E)}return null}getErrors(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===je.ERROR){return this._getErrors(E)}return null}_getErrors(E){const R=this.getIds(E);let N=this.getLinkingErrors(E,R,`(reexported as '${this.name}')`);if(R.length===0&&this.name===null){const R=this._discoverActiveExportsFromOtherStarExports(E);if(R&&R.namesSlice>0){const $=new Set(R.names.slice(R.namesSlice,R.dependencyIndices[R.dependencyIndex]));const j=E.getModule(this);if(j){const G=E.getExportsInfo(j);const ie=new Map;for(const N of G.orderedExports){if(N.provided!==true)continue;if(N.name==="default")continue;if(this.activeExports.has(N.name))continue;if($.has(N.name))continue;const q=findDependencyForName(R,N.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!q)continue;const G=N.getTerminalBinding(E);if(!G)continue;const ae=E.getModule(q);if(ae===j)continue;const le=E.getExportInfo(ae,N.name);const _e=le.getTerminalBinding(E);if(!_e)continue;if(G===_e)continue;const Ee=ie.get(q.request);if(Ee===undefined){ie.set(q.request,[N.name])}else{Ee.push(N.name)}}for(const[E,R]of ie){if(!N)N=[];N.push(new q(`The requested module '${this.request}' contains conflicting star exports for the ${R.length>1?"names":"name"} ${R.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return N}serialize(E){const{write:R,setCircularReference:N}=E;N(this);R(this.ids);R(this.name);R(this.activeExports);R(this.otherStarExports);R(this.exportPresenceMode);R(this.allStarExports);super.serialize(E)}deserialize(E){const{read:R,setCircularReference:N}=E;N(this);this.ids=R();this.name=R();this.activeExports=R();this.otherStarExports=R();this.exportPresenceMode=R();this.allStarExports=R();super.deserialize(E)}}we(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Be.Template{apply(E,R,N){const{moduleGraph:$,runtime:j,concatenationScope:q}=N;const G=E;const ie=G.getMode($,j);if(q){switch(ie.type){case"reexport-undefined":q.registerRawExport(ie.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ie.type!=="unused"&&ie.type!=="empty-star"){super.apply(E,R,N);this._addExportFragments(N.initFragments,G,ie,N.module,$,j,N.runtimeTemplate,N.runtimeRequirements)}}_addExportFragments(E,R,N,$,j,q,le,we){const Ie=j.getModule(R);const Me=R.getImportVar(j);switch(N.type){case"missing":case"empty-star":E.push(new G("/* empty/unused harmony star reexport */\n",G.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new G(`${ae.toNormalComment(`unused harmony reexport ${N.name}`)}\n`,G.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment($,"reexport default from dynamic",j.getExportsInfo($).getUsedName(N.name,q),Me,null,we));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments($,j.getExportsInfo($).getUsedName(N.name,q),Me,N.fakeType,we));break;case"reexport-undefined":E.push(this.getReexportFragment($,"reexport non-default export from non-harmony",j.getExportsInfo($).getUsedName(N.name,q),"undefined","",we));break;case"reexport-named-default":E.push(this.getReexportFragment($,"reexport default export from named module",j.getExportsInfo($).getUsedName(N.name,q),Me,"",we));break;case"reexport-namespace-object":E.push(this.getReexportFragment($,"reexport module object",j.getExportsInfo($).getUsedName(N.name,q),Me,"",we));break;case"normal-reexport":for(const{name:ie,ids:ae,checked:le,hidden:_e}of N.items){if(_e)continue;if(le){E.push(new G("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement($,ie,Me,ae,we),j.isAsync(Ie)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,R.sourceOrder))}else{E.push(this.getReexportFragment($,"reexport safe",j.getExportsInfo($).getUsedName(ie,q),Me,j.getExportsInfo(Ie).getUsedName(ae,q),we))}}break;case"dynamic-reexport":{const q=N.hidden?Ee(N.ignored,N.hidden):N.ignored;const ae=le.supportsConst()&&le.supportsArrowFunction();let Te="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${Me}) `;if(q.size>1){Te+="if("+JSON.stringify(Array.from(q))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(q.size===1){Te+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(_e(q))}) `}Te+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Te+=`() => ${Me}[__WEBPACK_IMPORT_KEY__]`}else{Te+=`function(key) { return ${Me}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}we.add(ie.exports);we.add(ie.definePropertyGetters);const Ne=$.exportsArgument;E.push(new G(`${Te}\n/* harmony reexport (unknown) */ ${ie.definePropertyGetters}(${Ne}, __WEBPACK_REEXPORT_OBJECT__);\n`,j.isAsync(Ie)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,R.sourceOrder));break}default:throw new Error(`Unknown mode ${N.type}`)}}getReexportFragment(E,R,N,$,j,q){const G=this.getReturnValue($,j);q.add(ie.exports);q.add(ie.definePropertyGetters);const ae=new Map;ae.set(N,`/* ${R} */ ${G}`);return new Ne(E.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(E,R,N,$,j){j.add(ie.exports);j.add(ie.definePropertyGetters);j.add(ie.createFakeNamespaceObject);const q=new Map;q.set(R,`/* reexport fake namespace object from non-harmony */ ${N}_namespace_cache || (${N}_namespace_cache = ${ie.createFakeNamespaceObject}(${N}${$?`, ${$}`:""}))`);return[new G(`var ${N}_namespace_cache;\n`,G.STAGE_CONSTANTS,-1,`${N}_namespace_cache`),new Ne(E.exportsArgument,q)]}getConditionalReexportStatement(E,R,N,$,j){if($===false){return"/* unused export */\n"}const q=E.exportsArgument;const G=this.getReturnValue(N,$);j.add(ie.exports);j.add(ie.definePropertyGetters);j.add(ie.hasOwnProperty);return`if(${ie.hasOwnProperty}(${N}, ${JSON.stringify($[0])})) ${ie.definePropertyGetters}(${q}, { ${JSON.stringify(R)}: function() { return ${G}; } });\n`}getReturnValue(E,R){if(R===null){return`${E}_default.a`}if(R===""){return E}if(R===false){return"/* unused export */ undefined"}return`${E}${Ie(R)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:R}){R(this);E(this.dependencies)}deserialize({read:E,setCircularReference:R}){R(this);this.dependencies=E()}}we(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const{first:q}=N(26221);const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const G=new Map;const ie=new Set;class HarmonyExportInitFragment extends ${constructor(E,R=G,N=ie){super(undefined,$.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=R;this.unusedExports=N}mergeAll(E){let R;let N=false;let $;let j=false;for(const q of E){if(q.exportMap.size!==0){if(R===undefined){R=q.exportMap;N=false}else{if(!N){R=new Map(R);N=true}for(const[E,N]of q.exportMap){if(!R.has(E))R.set(E,N)}}}if(q.unusedExports.size!==0){if($===undefined){$=q.unusedExports;j=false}else{if(!j){$=new Set($);j=true}for(const E of q.unusedExports){$.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,R,$)}merge(E){let R;if(this.exportMap.size===0){R=E.exportMap}else if(E.exportMap.size===0){R=this.exportMap}else{R=new Map(E.exportMap);for(const[E,N]of this.exportMap){if(!R.has(E))R.set(E,N)}}let N;if(this.unusedExports.size===0){N=E.unusedExports}else if(E.unusedExports.size===0){N=this.unusedExports}else{N=new Set(E.unusedExports);for(const E of this.unusedExports){N.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,R,N)}getContent({runtimeTemplate:E,runtimeRequirements:R}){R.add(j.exports);R.add(j.definePropertyGetters);const N=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${q(this.unusedExports)} */\n`:"";const $=[];for(const[R,N]of this.exportMap){$.push(`\n/* harmony export */ ${JSON.stringify(R)}: ${E.returningFunction(N)}`)}const G=this.exportMap.size>0?`/* harmony export */ ${j.definePropertyGetters}(${this.exportsArgument}, {${$.join(",")}\n/* harmony export */ });\n`:"";return`${G}${N}`}}E.exports=HarmonyExportInitFragment},14696:(E,R,N)=>{"use strict";const $=N(56202);const j=N(82296);const q=N(12197);class HarmonyExportSpecifierDependency extends q{constructor(E,R){super();this.id=E;this.name=R}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.id);R(this.name);super.serialize(E)}deserialize(E){const{read:R}=E;this.id=R();this.name=R();super.deserialize(E)}}$(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends q.Template{apply(E,R,{module:N,moduleGraph:$,initFragments:q,runtime:G,concatenationScope:ie}){const ae=E;if(ie){ie.registerExport(ae.name,ae.id);return}const le=$.getExportsInfo(N).getUsedName(ae.name,G);if(!le){const E=new Set;E.add(ae.name||"namespace");q.push(new j(N.exportsArgument,undefined,E));return}const _e=new Map;_e.set(le,`/* binding */ ${ae.id}`);q.push(new j(N.exportsArgument,_e,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,R)=>{"use strict";const N=new WeakMap;R.enable=(E,R)=>{const $=N.get(E);if($===false)return;N.set(E,true);if($!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(R){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};R.isEnabled=E=>{const R=N.get(E);return R===true}},37359:(E,R,N)=>{"use strict";const $=N(11518);const j=N(28706);const q=N(36756);const G=N(63272);const ie=N(58159);const ae=N(10813);const{filterRuntime:le,mergeRuntime:_e}=N(37416);const Ee=N(79983);const we={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(E){switch(E){case"error":return we.ERROR;case"warn":return we.WARN;case false:return we.NONE;default:throw new Error(`Invalid export presence value ${E}`)}}};class HarmonyImportDependency extends Ee{constructor(E,R,N){super(E);this.sourceOrder=R;this.assertions=N}get category(){return"esm"}getReferencedExports(E,R){return j.NO_EXPORTS_REFERENCED}getImportVar(E){const R=E.getParentModule(this);const N=E.getMeta(R);let $=N.importVarMap;if(!$)N.importVarMap=$=new Map;let j=$.get(E.getModule(this));if(j)return j;j=`${ie.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${$.size}__`;$.set(E.getModule(this),j);return j}getImportStatement(E,{runtimeTemplate:R,module:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){return R.importStatement({update:E,module:$.getModule(this),chunkGraph:j,importVar:this.getImportVar($),request:this.request,originModule:N,runtimeRequirements:q})}getLinkingErrors(E,R,N){const $=E.getModule(this);if(!$||$.getNumberOfErrors()>0){return}const j=E.getParentModule(this);const G=$.getExportsType(E,j.buildMeta.strictHarmonyModule);if(G==="namespace"||G==="default-with-named"){if(R.length===0){return}if((G!=="default-with-named"||R[0]!=="default")&&E.isExportProvided($,R)===false){let j=0;let G=E.getExportsInfo($);while(j`'${E}'`)).join(".")} ${N} was not found in '${this.userRequest}'${$}`)]}G=$.getNestedExportsInfo()}return[new q(`export ${R.map((E=>`'${E}'`)).join(".")} ${N} was not found in '${this.userRequest}'`)]}}switch(G){case"default-only":if(R.length>0&&R[0]!=="default"){return[new q(`Can't import the named export ${R.map((E=>`'${E}'`)).join(".")} ${N} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(R.length>0&&R[0]!=="default"&&$.buildMeta.defaultObject==="redirect-warn"){return[new q(`Should not import the named export ${R.map((E=>`'${E}'`)).join(".")} ${N} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:R}=E;R(this.sourceOrder);R(this.assertions);super.serialize(E)}deserialize(E){const{read:R}=E;this.sourceOrder=R();this.assertions=R();super.deserialize(E)}}E.exports=HarmonyImportDependency;const Ie=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends Ee.Template{apply(E,R,N){const j=E;const{module:q,chunkGraph:ie,moduleGraph:Ee,runtime:we}=N;const Me=Ee.getConnection(j);if(Me&&!Me.isTargetActive(we))return;const Te=Me&&Me.module;if(Me&&Me.weak&&Te&&ie.getModuleId(Te)===null){return}const Ne=Te?Te.identifier():j.request;const Be=`harmony import ${Ne}`;const Le=j.weak?false:Me?le(we,(E=>Me.isTargetActive(E))):true;if(q&&Te){let E=Ie.get(q);if(E===undefined){E=new WeakMap;Ie.set(q,E)}let R=Le;const N=E.get(Te)||false;if(N!==false&&R!==true){if(R===false||N===true){R=N}else{R=_e(N,R)}}E.set(Te,R)}const je=j.getImportStatement(false,N);if(Te&&N.moduleGraph.isAsync(Te)){N.initFragments.push(new $(je[0],G.STAGE_HARMONY_IMPORTS,j.sourceOrder,Be,Le));N.initFragments.push(new ae(new Set([j.getImportVar(N.moduleGraph)])));N.initFragments.push(new $(je[1],G.STAGE_ASYNC_HARMONY_IMPORTS,j.sourceOrder,Be+" compat",Le))}else{N.initFragments.push(new $(je[0]+je[1],G.STAGE_HARMONY_IMPORTS,j.sourceOrder,Be,Le))}}static getImportEmittedRuntime(E,R){const N=Ie.get(E);if(N===undefined)return false;return N.get(R)||false}};E.exports.ExportPresenceModes=we},29381:(E,R,N)=>{"use strict";const $=N(79972);const j=N(58018);const q=N(66298);const G=N(27790);const ie=N(80654);const ae=N(25702);const{ExportPresenceModes:le}=N(37359);const _e=N(69707);const Ee=N(2230);const we=Symbol("harmony import");function getAssertions(E){const R=E.assertions;if(R===undefined){return undefined}const N={};for(const E of R){const R=E.key.type==="Identifier"?E.key.name:E.key.value;N[R]=E.value.value}return N}E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.importExportPresence!==undefined?le.fromUserOption(E.importExportPresence):E.exportPresence!==undefined?le.fromUserOption(E.exportPresence):E.strictExportPresence?le.ERROR:le.AUTO;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){const{exportPresenceMode:R}=this;E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(R=>{const N=R;if(E.isVariableDefined(N.name)||E.getTagData(N.name,we)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const $=new q(E.isAsiPosition(R.range[0])?";":"",R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);E.unsetAsiPosition(R.range[1]);const j=getAssertions(R);const G=new _e(N,E.state.lastHarmonyImportOrder,j);G.loc=R.loc;E.state.module.addDependency(G);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((R,N,$,j)=>{const q=$===null?[]:[$];E.tagVariable(j,we,{name:j,source:N,ids:q,sourceOrder:E.state.lastHarmonyImportOrder,assertions:getAssertions(R)});return true}));E.hooks.expression.for(we).tap("HarmonyImportDependencyParserPlugin",(N=>{const $=E.currentTagData;const q=new Ee($.source,$.sourceOrder,$.ids,$.name,N.range,R,$.assertions);q.shorthand=E.scope.inShorthand;q.directImport=true;q.asiSafe=!E.isAsiPosition(N.range[0]);q.loc=N.loc;E.state.module.addDependency(q);j.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(we).tap("HarmonyImportDependencyParserPlugin",((N,$)=>{const q=E.currentTagData;const G=q.ids.concat($);const ie=new Ee(q.source,q.sourceOrder,G,q.name,N.range,R,q.assertions);ie.asiSafe=!E.isAsiPosition(N.range[0]);ie.loc=N.loc;E.state.module.addDependency(ie);j.onUsage(E.state,(E=>ie.usedByExports=E));return true}));E.hooks.callMemberChain.for(we).tap("HarmonyImportDependencyParserPlugin",((N,$)=>{const{arguments:q,callee:G}=N;const ie=E.currentTagData;const ae=ie.ids.concat($);const le=new Ee(ie.source,ie.sourceOrder,ae,ie.name,G.range,R,ie.assertions);le.directImport=$.length===0;le.call=true;le.asiSafe=!E.isAsiPosition(G.range[0]);le.namespaceObjectAsContext=$.length>0&&this.strictThisContextOnImports;le.loc=G.loc;E.state.module.addDependency(le);if(q)E.walkExpressions(q);j.onUsage(E.state,(E=>le.usedByExports=E));return true}));const{hotAcceptCallback:N,hotAcceptWithoutCallback:le}=$.getParserHooks(E);N.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{if(!ae.isEnabled(E.state)){return}const $=N.map((N=>{const $=new ie(N);$.loc=R.loc;E.state.module.addDependency($);return $}));if($.length>0){const N=new G(R.range,$,true);N.loc=R.loc;E.state.module.addDependency(N)}}));le.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{if(!ae.isEnabled(E.state)){return}const $=N.map((N=>{const $=new ie(N);$.loc=R.loc;E.state.module.addDependency($);return $}));if($.length>0){const N=new G(R.range,$,false);N.loc=R.loc;E.state.module.addDependency(N)}}))}};E.exports.harmonySpecifierTag=we;E.exports.getAssertions=getAssertions},69707:(E,R,N)=>{"use strict";const $=N(56202);const j=N(37359);class HarmonyImportSideEffectDependency extends j{constructor(E,R,N){super(E,R,N)}get type(){return"harmony side effect evaluation"}getCondition(E){return R=>{const N=R.resolvedModule;if(!N)return true;return N.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const R=E.getModule(this);if(!R)return true;return R.getSideEffectsConnectionState(E)}}$(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends j.Template{apply(E,R,N){const{moduleGraph:$,concatenationScope:j}=N;if(j){const R=$.getModule(E);if(j.isModuleInScope(R)){return}}super.apply(E,R,N)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,R,N)=>{"use strict";const $=N(28706);const{getDependencyUsedByExportsCondition:j}=N(58018);const q=N(56202);const G=N(68038);const ie=N(37359);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:le}=ie;class HarmonyImportSpecifierDependency extends ie{constructor(E,R,N,$,j,q,G){super(E,R,G);this.ids=N;this.name=$;this.range=j;this.exportPresenceMode=q;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const R=E.getMetaIfExisting(this);if(R===undefined)return this.ids;const N=R[ae];return N!==undefined?N:this.ids}setIds(E,R){E.getMeta(this)[ae]=R}getCondition(E){return j(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,R){let N=this.getIds(E);if(N.length===0)return $.EXPORTS_OBJECT_REFERENCED;let j=this.namespaceObjectAsContext;if(N[0]==="default"){const R=E.getParentModule(this);const q=E.getModule(this);switch(q.getExportsType(E,R.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(N.length===1)return $.EXPORTS_OBJECT_REFERENCED;N=N.slice(1);j=true;break;case"dynamic":return $.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(j||N.length>1)){if(N.length===1)return $.EXPORTS_OBJECT_REFERENCED;N=N.slice(0,-1)}return[N]}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==le.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?le.ERROR:le.WARN}getWarnings(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===le.WARN){return this._getErrors(E)}return null}getErrors(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===le.ERROR){return this._getErrors(E)}return null}_getErrors(E){const R=this.getIds(E);return this.getLinkingErrors(E,R,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:R}=E;R(this.ids);R(this.name);R(this.range);R(this.exportPresenceMode);R(this.namespaceObjectAsContext);R(this.call);R(this.directImport);R(this.shorthand);R(this.asiSafe);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.ids=R();this.name=R();this.range=R();this.exportPresenceMode=R();this.namespaceObjectAsContext=R();this.call=R();this.directImport=R();this.shorthand=R();this.asiSafe=R();this.usedByExports=R();super.deserialize(E)}}q(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ie.Template{apply(E,R,N){const $=E;const{moduleGraph:j,module:q,runtime:ie,concatenationScope:ae}=N;const le=j.getConnection($);if(le&&!le.isTargetActive(ie))return;const _e=$.getIds(j);let Ee;if(le&&ae&&ae.isModuleInScope(le.module)){if(_e.length===0){Ee=ae.createModuleReference(le.module,{asiSafe:$.asiSafe})}else if($.namespaceObjectAsContext&&_e.length===1){Ee=ae.createModuleReference(le.module,{asiSafe:$.asiSafe})+G(_e)}else{Ee=ae.createModuleReference(le.module,{ids:_e,call:$.call,directImport:$.directImport,asiSafe:$.asiSafe})}}else{super.apply(E,R,N);const{runtimeTemplate:G,initFragments:ae,runtimeRequirements:le}=N;Ee=G.exportFromImport({moduleGraph:j,module:j.getModule($),request:$.request,exportName:_e,originModule:q,asiSafe:$.shorthand?true:$.asiSafe,isCall:$.call,callContext:!$.directImport,defaultInterop:true,importVar:$.getImportVar(j),initFragments:ae,runtime:ie,runtimeRequirements:le})}if($.shorthand){R.insert($.range[1],`: ${Ee}`)}else{R.replace($.range[0],$.range[1]-1,Ee)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,R,N)=>{"use strict";const $=N(27790);const j=N(80654);const q=N(54290);const G=N(55037);const ie=N(48752);const ae=N(44576);const le=N(14696);const _e=N(69707);const Ee=N(2230);const we=N(11720);const Ie=N(16081);const Me=N(29381);const Te=N(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(_e,R);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,R);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyTemplates.set(G,new G.Template);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(ae,R);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(j,R);E.dependencyTemplates.set(j,new j.Template);const handler=(E,R)=>{if(R.harmony!==undefined&&!R.harmony)return;new we(this.options).apply(E);new Me(R).apply(E);new Ie(R).apply(E);(new Te).apply(E)};R.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);R.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,R,N)=>{"use strict";const $=N(66298);const j=N(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(R=>{if(!E.scope.topLevelScope)return;if(j.isEnabled(E.state)){const N=new $("undefined",R.range,null);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(42740);class ImportContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=q;E.exports=ImportContextDependency},20013:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class ImportDependency extends q{constructor(E,R,N){super(E);this.range=R;this.referencedExports=N}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,R){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):$.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}j(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.moduleNamespacePromise({chunkGraph:q,block:ae,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,le)}};E.exports=ImportDependency},75708:(E,R,N)=>{"use strict";const $=N(56202);const j=N(20013);class ImportEagerDependency extends j{constructor(E,R,N){super(E,R,N)}get type(){return"import() eager"}get category(){return"esm"}}$(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=N.moduleNamespacePromise({chunkGraph:q,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportEagerDependency},76302:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ImportMetaHotAcceptDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}$(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=q;E.exports=ImportMetaHotAcceptDependency},5389:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ImportMetaHotDeclineDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}$(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=q;E.exports=ImportMetaHotDeclineDependency},38586:(E,R,N)=>{"use strict";const{pathToFileURL:$}=N(57310);const j=N(23280);const q=N(58159);const G=N(87250);const{evaluateToIdentifier:ie,toConstantDependency:ae,evaluateToString:le,evaluateToNumber:_e}=N(48472);const Ee=N(91671);const we=N(68038);const Ie=N(66298);const Me=Ee((()=>N(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:R})=>{const getUrl=E=>$(E.resource).toString();const parserHandler=(E,R)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",ae(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(R=>{const N=Me();E.state.module.addWarning(new j(E.state.module,new N("Accessing import.meta directly is unsupported (only property access is supported)"),R.loc));const $=new Ie(`${E.isAsiPosition(R.range[0])?";":""}({})`,R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",le("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ie("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",ae(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(R=>{const N=new Ie(JSON.stringify(getUrl(E.state.module)),R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",le("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(R=>(new G).setString(getUrl(E.state.module)).setRange(R.range)));const $=parseInt(N(37589).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify($)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",le("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",_e($));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((R,N)=>{const $=new Ie(`${q.toNormalComment("unsupported import.meta."+N.join("."))} undefined${we(N,1)}`,R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const R=E;if(R.object.type==="MetaProperty"&&R.object.meta.name==="import"&&R.object.property.name==="meta"&&R.property.type===(R.computed?"Literal":"Identifier")){return(new G).setUndefined().setRange(R.range)}}))};R.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);R.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,R,N)=>{"use strict";const $=N(98221);const j=N(47207);const q=N(53558);const G=N(95601);const ie=N(4828);const ae=N(20013);const le=N(75708);const _e=N(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(R=>{const N=E.evaluateExpression(R.source);let Ee=null;let we="lazy";let Ie=null;let Me=null;let Te=null;const Ne={};const{options:Be,errors:Le}=E.parseCommentOptions(R.range);if(Le){for(const R of Le){const{comment:N}=R;E.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${R.message}`,N.loc))}}if(Be){if(Be.webpackIgnore!==undefined){if(typeof Be.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`,R.loc))}else{if(Be.webpackIgnore){return false}}}if(Be.webpackChunkName!==undefined){if(typeof Be.webpackChunkName!=="string"){E.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`,R.loc))}else{Ee=Be.webpackChunkName}}if(Be.webpackMode!==undefined){if(typeof Be.webpackMode!=="string"){E.state.module.addWarning(new q(`\`webpackMode\` expected a string, but received: ${Be.webpackMode}.`,R.loc))}else{we=Be.webpackMode}}if(Be.webpackPrefetch!==undefined){if(Be.webpackPrefetch===true){Ne.prefetchOrder=0}else if(typeof Be.webpackPrefetch==="number"){Ne.prefetchOrder=Be.webpackPrefetch}else{E.state.module.addWarning(new q(`\`webpackPrefetch\` expected true or a number, but received: ${Be.webpackPrefetch}.`,R.loc))}}if(Be.webpackPreload!==undefined){if(Be.webpackPreload===true){Ne.preloadOrder=0}else if(typeof Be.webpackPreload==="number"){Ne.preloadOrder=Be.webpackPreload}else{E.state.module.addWarning(new q(`\`webpackPreload\` expected true or a number, but received: ${Be.webpackPreload}.`,R.loc))}}if(Be.webpackInclude!==undefined){if(!Be.webpackInclude||Be.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackInclude\` expected a regular expression, but received: ${Be.webpackInclude}.`,R.loc))}else{Ie=new RegExp(Be.webpackInclude)}}if(Be.webpackExclude!==undefined){if(!Be.webpackExclude||Be.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackExclude\` expected a regular expression, but received: ${Be.webpackExclude}.`,R.loc))}else{Me=new RegExp(Be.webpackExclude)}}if(Be.webpackExports!==undefined){if(!(typeof Be.webpackExports==="string"||Array.isArray(Be.webpackExports)&&Be.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new q(`\`webpackExports\` expected a string or an array of strings, but received: ${Be.webpackExports}.`,R.loc))}else{if(typeof Be.webpackExports==="string"){Te=[[Be.webpackExports]]}else{Te=Array.from(Be.webpackExports,(E=>[E]))}}}}if(N.isString()){if(we!=="lazy"&&we!=="eager"&&we!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${we}.`,R.loc))}if(we==="eager"){const $=new le(N.string,R.range,Te);E.state.current.addDependency($)}else if(we==="weak"){const $=new _e(N.string,R.range,Te);E.state.current.addDependency($)}else{const j=new $({...Ne,name:Ee},R.loc,N.string);const q=new ae(N.string,R.range,Te);q.loc=R.loc;j.addDependency(q);E.state.current.addBlock(j)}return true}else{if(we!=="lazy"&&we!=="lazy-once"&&we!=="eager"&&we!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${we}.`,R.loc));we="lazy"}if(we==="weak"){we="async-weak"}const $=G.create(ie,R.range,N,R,this.options,{chunkName:Ee,groupOptions:Ne,include:Ie,exclude:Me,mode:we,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Te},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}}))}}E.exports=ImportParserPlugin},54975:(E,R,N)=>{"use strict";const $=N(4828);const j=N(20013);const q=N(75708);const G=N(81467);const ie=N(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:R,normalModuleFactory:N})=>{E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set(q,N);E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(ie,N);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.import!==undefined&&!R.import)return;new G(R).apply(E)};N.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,R,N)=>{"use strict";const $=N(56202);const j=N(20013);class ImportWeakDependency extends j{constructor(E,R,N){super(E,R,N);this.weak=true}get type(){return"import() weak"}}$(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=N.moduleNamespacePromise({chunkGraph:q,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportWeakDependency},38895:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,R)=>({name:`${R}`,canMangle:true,exports:getExportsFromData(E)})))}else{const R=[];for(const N of Object.keys(E)){R.push({name:N,canMangle:true,exports:getExportsFromData(E[N])})}return R}}return undefined};class JsonExportsDependency extends j{constructor(E){super();this.exports=E;this._hashUpdate=undefined}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.exports?JSON.stringify(this.exports):"undefined"}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.exports);super.serialize(E)}deserialize(E){const{read:R}=E;this.exports=R();super.deserialize(E)}}$(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,R,N)=>{"use strict";const $=N(79983);class LoaderDependency extends ${constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,R,N)=>{"use strict";const $=N(79983);class LoaderImportDependency extends ${constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,R,N)=>{"use strict";const $=N(53520);const j=N(83379);const q=N(32876);const G=N(79486);class LoaderPlugin{constructor(E={}){}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyFactories.set(G,R)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const R=E.moduleGraph;$.getCompilationHooks(E).loader.tap("LoaderPlugin",(N=>{N.loadModule=($,G)=>{const ie=new q($);ie.loc={name:$};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return G(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:N._module,context:N.context,recursive:false},($=>{E.buildQueue.decreaseParallelism();if($){return G($)}const q=R.getModule(ie);if(!q){return G(new Error("Cannot load the module"))}if(q.getNumberOfErrors()>0){return G(new Error("The loaded module contains errors"))}const ae=q.originalSource();if(!ae){return G(new Error("The module created for a LoaderDependency must have an original source"))}let le,_e;if(ae.sourceAndMap){const E=ae.sourceAndMap();_e=E.map;le=E.source}else{_e=ae.map();le=ae.source()}const Ee=new j;const we=new j;const Ie=new j;const Me=new j;q.addCacheDependencies(Ee,we,Ie,Me);for(const E of Ee){N.addDependency(E)}for(const E of we){N.addContextDependency(E)}for(const E of Ie){N.addMissingDependency(E)}for(const E of Me){N.addBuildDependency(E)}return G(null,le,_e,q)}))};const importModule=($,j,q)=>{const ie=new G($);ie.loc={name:$};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return q(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:N._module,contextInfo:{issuerLayer:j.layer},context:N.context,connectOrigin:false},($=>{E.buildQueue.decreaseParallelism();if($){return q($)}const G=R.getModule(ie);if(!G){return q(new Error("Cannot load the module"))}E.executeModule(G,{entryOptions:{publicPath:j.publicPath}},((E,R)=>{if(E)return q(E);for(const E of R.fileDependencies){N.addDependency(E)}for(const E of R.contextDependencies){N.addContextDependency(E)}for(const E of R.missingDependencies){N.addMissingDependency(E)}for(const E of R.buildDependencies){N.addBuildDependency(E)}if(R.cacheable===false)N.cacheable(false);for(const[E,{source:$,info:j}]of R.assets){const{buildInfo:R}=N._module;if(!R.assets){R.assets=Object.create(null);R.assetsInfo=new Map}R.assets[E]=$;R.assetsInfo.set(E,j)}q(null,R.exports)}))}))};N.importModule=(E,R,N)=>{if(!N){return new Promise(((N,$)=>{importModule(E,R||{},((E,R)=>{if(E)$(E);else N(R)}))}))}return importModule(E,R||{},N)}}))}))}}E.exports=LoaderPlugin},77230:(E,R,N)=>{"use strict";const $=N(56202);class LocalModule{constructor(E,R){this.name=E;this.idx=R;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:R}=E;R(this.name);R(this.idx);R(this.used)}deserialize(E){const{read:R}=E;this.name=R();this.idx=R();this.used=R()}}$(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class LocalModuleDependency extends j{constructor(E,R,N){super();this.localModule=E;this.range=R;this.callNew=N}serialize(E){const{write:R}=E;R(this.localModule);R(this.range);R(this.callNew);super.serialize(E)}deserialize(E){const{read:R}=E;this.localModule=R();this.range=R();this.callNew=R();super.deserialize(E)}}$(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends j.Template{apply(E,R,N){const $=E;if(!$.range)return;const j=$.callNew?`new (function () { return ${$.localModule.variableName()}; })()`:$.localModule.variableName();R.replace($.range[0],$.range[1]-1,j)}};E.exports=LocalModuleDependency},61701:(E,R,N)=>{"use strict";const $=N(77230);const lookup=(E,R)=>{if(R.charAt(0)!==".")return R;var N=E.split("/");var $=R.split("/");N.pop();for(let E=0;E<$.length;E++){const R=$[E];if(R===".."){N.pop()}else if(R!=="."){N.push(R)}}return N.join("/")};R.addLocalModule=(E,R)=>{if(!E.localModules){E.localModules=[]}const N=new $(R,E.localModules.length);E.localModules.push(N);return N};R.getLocalModule=(E,R,N)=>{if(!E.localModules)return null;if(N){R=lookup(N,R)}for(let N=0;N{"use strict";const $=N(28706);const j=N(63272);const q=N(76150);const G=N(56202);const ie=N(12197);class ModuleDecoratorDependency extends ie{constructor(E,R){super();this.decorator=E;this.allowExportsAccess=R;this._hashUpdate=undefined}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,R){return this.allowExportsAccess?$.EXPORTS_OBJECT_REFERENCED:$.NO_EXPORTS_REFERENCED}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=`${this.decorator}${this.allowExportsAccess}`}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.decorator);R(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:R}=E;this.decorator=R();this.allowExportsAccess=R();super.deserialize(E)}}G(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ie.Template{apply(E,R,{module:N,chunkGraph:$,initFragments:G,runtimeRequirements:ie}){const ae=E;ie.add(q.moduleLoaded);ie.add(q.moduleId);ie.add(q.module);ie.add(ae.decorator);G.push(new j(`/* module decorator */ ${N.moduleArgument} = ${ae.decorator}(${N.moduleArgument});\n`,j.STAGE_PROVIDES,0,`module decorator ${$.getModuleId(N)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);const q=N(91671);const G=q((()=>N(22804)));class ModuleDependency extends ${constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined;this.assertions=undefined}getResourceIdentifier(){let E=`module${this.request}`;if(this.assertions!==undefined){E+=JSON.stringify(this.assertions)}return E}couldAffectReferencingModule(){return true}createIgnoredModule(E){const R=G();return new R("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:R}=E;R(this.request);R(this.userRequest);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.userRequest=R();this.range=R();super.deserialize(E)}}ModuleDependency.Template=j;E.exports=ModuleDependency},80791:(E,R,N)=>{"use strict";const $=N(79983);class ModuleDependencyTemplateAsId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j}){const q=E;if(!q.range)return;const G=N.moduleId({module:$.getModule(q),chunkGraph:j,request:q.request,weak:q.weak});R.replace(q.range[0],q.range[1]-1,G)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,R,N)=>{"use strict";const $=N(79983);class ModuleDependencyTemplateAsRequireId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;if(!G.range)return;const ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,weak:G.weak,runtimeRequirements:q});R.replace(G.range[0],G.range[1]-1,ie)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ModuleHotAcceptDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}$(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=q;E.exports=ModuleHotAcceptDependency},73158:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ModuleHotDeclineDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}$(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=q;E.exports=ModuleHotDeclineDependency},12197:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);class NullDependency extends ${get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends j{apply(E,R,N){}};E.exports=NullDependency},88281:(E,R,N)=>{"use strict";const $=N(79983);class PrefetchDependency extends ${constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,R,N)=>{"use strict";const $=N(63272);const j=N(56202);const q=N(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends q{constructor(E,R,N,$){super(E);this.identifier=R;this.path=N;this.range=$;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.path?this.path.join(","):"null")}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.identifier);R(this.path);super.serialize(E)}deserialize(E){const{read:R}=E;this.identifier=R();this.path=R();super.deserialize(E)}}j(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,initFragments:G,runtimeRequirements:ie}){const ae=E;G.push(new $(`/* provided dependency */ var ${ae.identifier} = ${N.moduleExports({module:j.getModule(ae),chunkGraph:q,request:ae.request,runtimeRequirements:ie})}${pathToString(ae.path)};\n`,$.STAGE_PROVIDES,1,`provided ${ae.identifier}`));R.replace(ae.range[0],ae.range[1]-1,ae.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(56202);const{filterRuntime:q}=N(37416);const G=N(12197);class PureExpressionDependency extends G{constructor(E){super();this.range=E;this.usedByExports=false;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.range);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.usedByExports=R();super.deserialize(E)}}j(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends G.Template{apply(E,R,{chunkGraph:N,moduleGraph:j,runtime:G,runtimeTemplate:ie,runtimeRequirements:ae}){const le=E;const _e=le.usedByExports;if(_e!==false){const E=j.getParentModule(le);const Ee=j.getExportsInfo(E);const we=q(G,(E=>{for(const R of _e){if(Ee.getUsed(R,E)!==$.Unused){return true}}return false}));if(we===true)return;if(we!==false){const E=ie.runtimeConditionExpression({chunkGraph:N,runtime:G,runtimeCondition:we,runtimeRequirements:ae});R.insert(le.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);R.insert(le.range[1],") : null)");return}}R.insert(le.range[0],`(/* unused pure expression or super */ null && (`);R.insert(le.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(87283);class RequireContextDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"require.context"}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();super.deserialize(E)}}$(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=q;E.exports=RequireContextDependency},38947:(E,R,N)=>{"use strict";const $=N(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(R=>{let N=/^\.\/.*$/;let j=true;let q="sync";switch(R.arguments.length){case 4:{const N=E.evaluateExpression(R.arguments[3]);if(!N.isString())return;q=N.string}case 3:{const $=E.evaluateExpression(R.arguments[2]);if(!$.isRegExp())return;N=$.regExp}case 2:{const N=E.evaluateExpression(R.arguments[1]);if(!N.isBoolean())return;j=N.bool}case 1:{const G=E.evaluateExpression(R.arguments[0]);if(!G.isString())return;const ie=new $({request:G.string,recursive:j,regExp:N,mode:q,category:"commonjs"},R.range);ie.loc=R.loc;ie.optional=!!E.scope.inTry;E.state.current.addDependency(ie);return true}}}))}}},67634:(E,R,N)=>{"use strict";const{cachedSetProperty:$}=N(90149);const j=N(90872);const q=N(19204);const G=N(38947);const ie={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((R,{contextModuleFactory:N,normalModuleFactory:ae})=>{R.dependencyFactories.set(q,N);R.dependencyTemplates.set(q,new q.Template);R.dependencyFactories.set(j,ae);const handler=(E,R)=>{if(R.requireContext!==undefined&&!R.requireContext)return;(new G).apply(E)};ae.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);N.hooks.alternativeRequests.tap("RequireContextPlugin",((R,N)=>{if(R.length===0)return R;const j=E.resolverFactory.get("normal",$(N.resolveOptions||ie,"dependencyType",N.category)).options;let q;if(!j.fullySpecified){q=[];for(const E of R){const{request:R,context:N}=E;for(const E of j.extensions){if(R.endsWith(E)){q.push({context:N,request:R.slice(0,-E.length)})}}if(!j.enforceExtension){q.push(E)}}R=q;q=[];for(const E of R){const{request:R,context:N}=E;for(const E of j.mainFiles){if(R.endsWith(`/${E}`)){q.push({context:N,request:R.slice(0,-E.length)});q.push({context:N,request:R.slice(0,-E.length-1)})}}q.push(E)}R=q}q=[];for(const E of R){let R=false;for(const N of j.modules){if(Array.isArray(N)){for(const $ of N){if(E.request.startsWith(`./${$}/`)){q.push({context:E.context,request:E.request.slice($.length+3)});R=true}}}else{const R=N.replace(/\\/g,"/");const $=E.context.replace(/\\/g,"/")+E.request.slice(1);if($.startsWith(R)){q.push({context:E.context,request:$.slice(R.length+1)})}}}if(!R){q.push(E)}}return q}))}))}}E.exports=RequireContextPlugin},15196:(E,R,N)=>{"use strict";const $=N(98221);const j=N(56202);class RequireEnsureDependenciesBlock extends ${constructor(E,R){super(E,R,null)}}j(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,R,N)=>{"use strict";const $=N(15196);const j=N(15427);const q=N(81058);const G=N(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(R=>{let N=null;let ie=null;let ae=null;switch(R.arguments.length){case 4:{const $=E.evaluateExpression(R.arguments[3]);if(!$.isString())return;N=$.string}case 3:{ie=R.arguments[2];ae=G(ie);if(!ae&&!N){const $=E.evaluateExpression(R.arguments[2]);if(!$.isString())return;N=$.string}}case 2:{const le=E.evaluateExpression(R.arguments[0]);const _e=le.isArray()?le.items:[le];const Ee=R.arguments[1];const we=G(Ee);if(we){E.walkExpressions(we.expressions)}if(ae){E.walkExpressions(ae.expressions)}const Ie=new $(N,R.loc);const Me=R.arguments.length===4||!N&&R.arguments.length===3;const Te=new j(R.range,R.arguments[1].range,Me&&R.arguments[2].range);Te.loc=R.loc;Ie.addDependency(Te);const Ne=E.state.current;E.state.current=Ie;try{let N=false;E.inScope([],(()=>{for(const E of _e){if(E.isString()){const N=new q(E.string);N.loc=E.loc||R.loc;Ie.addDependency(N)}else{N=true}}}));if(N){return}if(we){if(we.fn.body.type==="BlockStatement"){E.walkStatement(we.fn.body)}else{E.walkExpression(we.fn.body)}}Ne.addBlock(Ie)}finally{E.state.current=Ne}if(!we){E.walkExpression(Ee)}if(ae){if(ae.fn.body.type==="BlockStatement"){E.walkStatement(ae.fn.body)}else{E.walkExpression(ae.fn.body)}}else if(ie){E.walkExpression(ie)}return true}}}))}}},15427:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class RequireEnsureDependency extends q{constructor(E,R,N){super();this.range=E;this.contentRange=R;this.errorHandlerRange=N}get type(){return"require.ensure"}serialize(E){const{write:R}=E;R(this.range);R(this.contentRange);R(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.contentRange=R();this.errorHandlerRange=R();super.deserialize(E)}}j(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.blockPromise({chunkGraph:q,block:ae,message:"require.ensure",runtimeRequirements:G});const _e=ie.range;const Ee=ie.contentRange;const we=ie.errorHandlerRange;R.replace(_e[0],Ee[0]-1,`${le}.then((`);if(we){R.replace(Ee[1],we[0]-1,").bind(null, __webpack_require__))['catch'](");R.replace(we[1],_e[1]-1,")")}else{R.replace(Ee[1],_e[1]-1,`).bind(null, __webpack_require__))['catch'](${$.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(12197);class RequireEnsureItemDependency extends j{constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}$(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=q.Template;E.exports=RequireEnsureItemDependency},51727:(E,R,N)=>{"use strict";const $=N(15427);const j=N(81058);const q=N(90616);const{evaluateToString:G,toConstantDependency:ie}=N(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,R);E.dependencyTemplates.set(j,new j.Template);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.requireEnsure!==undefined&&!R.requireEnsure)return;(new q).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",G("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ie(E,JSON.stringify("function")))};R.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class RequireHeaderDependency extends q{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}static deserialize(E){const R=new RequireHeaderDependency(E.read());R.deserialize(E);return R}}j(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const j=E;N.add($.require);R.replace(j.range[0],j.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,R,N)=>{"use strict";const $=N(28706);const j=N(58159);const q=N(56202);const G=N(79983);class RequireIncludeDependency extends G{constructor(E,R){super(E);this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}q(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends G.Template{apply(E,R,{runtimeTemplate:N}){const $=E;const q=N.outputOptions.pathinfo?j.toComment(`require.include ${N.requestShortener.shorten($.request)}`):"";R.replace($.range[0],$.range[1]-1,`undefined${q}`)}};E.exports=RequireIncludeDependency},1913:(E,R,N)=>{"use strict";const $=N(81627);const{evaluateToString:j,toConstantDependency:q}=N(48472);const G=N(56202);const ie=N(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:R}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(N=>{if(N.arguments.length!==1)return;const $=E.evaluateExpression(N.arguments[0]);if(!$.isString())return;if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}const j=new ie($.string,N.range);j.loc=N.loc;E.state.current.addDependency(j);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(N=>{if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}return j("function")(N)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(N=>{if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}return q(E,JSON.stringify("function"))(N)}))}};class RequireIncludeDeprecationWarning extends ${constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}G(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,R,N)=>{"use strict";const $=N(63556);const j=N(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.requireInclude===false)return;const N=R.requireInclude===undefined;new j(N).apply(E)};R.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(94148);class RequireResolveContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return"amd require context"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=q;E.exports=RequireResolveContextDependency},76913:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);const G=N(80791);class RequireResolveDependency extends q{constructor(E,R){super(E);this.range=R}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}}j(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=G;E.exports=RequireResolveDependency},23380:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class RequireResolveHeaderDependency extends j{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}static deserialize(E){const R=new RequireResolveHeaderDependency(E.read());R.deserialize(E);return R}}$(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends j.Template{apply(E,R,N){const $=E;R.replace($.range[0],$.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,R,N){N.replace(R.range[0],R.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class RuntimeRequirementsDependency extends j{constructor(E){super();this.runtimeRequirements=new Set(E);this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.runtimeRequirements=R();super.deserialize(E)}}$(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends j.Template{apply(E,R,{runtimeRequirements:N}){const $=E;for(const E of $.runtimeRequirements){N.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class StaticExportsDependency extends j{constructor(E,R){super();this.exports=E;this.canMangle=R}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:R}=E;R(this.exports);R(this.canMangle);super.serialize(E)}deserialize(E){const{read:R}=E;this.exports=R();this.canMangle=R();super.deserialize(E)}}$(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const{evaluateToString:q,expressionIsUnsupported:G,toConstantDependency:ie}=N(48472);const ae=N(56202);const le=N(66298);const _e=N(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:R})=>{E.hooks.runtimeRequirementInModule.for($.system).tap("SystemPlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.system).tap("SystemPlugin",((R,N)=>{E.addRuntimeModule(R,new _e)}));const handler=(E,R)=>{if(R.system===undefined||!R.system){return}const setNotSupported=R=>{E.hooks.evaluateTypeof.for(R).tap("SystemPlugin",q("undefined"));E.hooks.expression.for(R).tap("SystemPlugin",G(E,R+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",q("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ie(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(R=>{const N=new le($.system,R.range,[$.system]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(R=>{E.state.module.addWarning(new SystemImportDeprecationWarning(R.loc));return E.hooks.importCall.call({type:"ImportExpression",source:R.arguments[0],loc:R.loc,range:R.range})}))};R.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends j{constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}ae(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class SystemRuntimeModule extends j{constructor(){super("system")}generate(){return q.asString([`${$.system} = {`,q.indent(["import: function () {",q.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,R,N)=>{"use strict";const $=N(76150);const{getDependencyUsedByExportsCondition:j}=N(58018);const q=N(56202);const G=N(91671);const ie=N(79983);const ae=G((()=>N(22804)));class URLDependency extends ie{constructor(E,R,N,$){super(E);this.range=R;this.outerRange=N;this.relative=$||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return j(this,this.usedByExports,E)}createIgnoredModule(E){const R=ae();return new R('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([$.module]))}serialize(E){const{write:R}=E;R(this.outerRange);R(this.relative);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.outerRange=R();this.relative=R();this.usedByExports=R();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ie.Template{apply(E,R,N){const{chunkGraph:j,moduleGraph:q,runtimeRequirements:G,runtimeTemplate:ie,runtime:ae}=N;const le=E;const _e=q.getConnection(le);if(_e&&!_e.isTargetActive(ae)){R.replace(le.outerRange[0],le.outerRange[1]-1,"/* unused asset import */ undefined");return}G.add($.require);if(le.relative){G.add($.relativeUrl);R.replace(le.outerRange[0],le.outerRange[1]-1,`/* asset import */ new ${$.relativeUrl}(${ie.moduleRaw({chunkGraph:j,module:q.getModule(le),request:le.request,runtimeRequirements:G,weak:false})})`)}else{G.add($.baseURI);R.replace(le.range[0],le.range[1]-1,`/* asset import */ ${ie.moduleRaw({chunkGraph:j,module:q.getModule(le),request:le.request,runtimeRequirements:G,weak:false})}, ${$.baseURI}`)}}};q(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,R,N)=>{"use strict";const{approve:$}=N(48472);const j=N(58018);const q=N(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyTemplates.set(q,new q.Template);const parserCallback=(E,R)=>{if(R.url===false)return;const N=R.url==="relative";const getUrlRequest=R=>{if(R.arguments.length!==2)return;const[N,$]=R.arguments;if($.type!=="MemberExpression"||N.type==="SpreadElement")return;const j=E.extractMemberExpressionChain($);if(j.members.length!==1||j.object.type!=="MetaProperty"||j.object.meta.name!=="import"||j.object.property.name!=="meta"||j.members[0]!=="url")return;const q=E.evaluateExpression(N).asString();return q};E.hooks.canRename.for("URL").tap("URLPlugin",$);E.hooks.new.for("URL").tap("URLPlugin",(R=>{const $=R;const G=getUrlRequest($);if(!G)return;const[ie,ae]=$.arguments;const le=new q(G,[ie.range[0],ae.range[1]],$.range,N);le.loc=$.loc;E.state.module.addDependency(le);j.onUsage(E.state,(E=>le.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(R=>{const N=R;const{callee:$}=N;if($.type!=="Identifier")return;const j=E.getFreeInfoFromVariable($.name);if(!j||j.name!=="URL")return;const q=getUrlRequest(N);if(q)return true}))};R.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);R.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class UnsupportedDependency extends j{constructor(E,R){super();this.request=E;this.range=R}serialize(E){const{write:R}=E;R(this.request);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.range=R();super.deserialize(E)}}$(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N}){const $=E;R.replace($.range[0],$.range[1],N.missingModule({request:$.request}))}};E.exports=UnsupportedDependency},30697:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class WebAssemblyExportImportedDependency extends q{constructor(E,R,N,$){super(R);this.exportName=E;this.name=N;this.valueType=$}couldAffectReferencingModule(){return $.TRANSITIVE}getReferencedExports(E,R){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:R}=E;R(this.exportName);R(this.name);R(this.valueType);super.serialize(E)}deserialize(E){const{read:R}=E;this.exportName=R();this.name=R();this.valueType=R();super.deserialize(E)}}j(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,R,N)=>{"use strict";const $=N(56202);const j=N(59422);const q=N(79983);class WebAssemblyImportDependency extends q{constructor(E,R,N,$){super(E);this.name=R;this.description=N;this.onlyDirectImport=$}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,R){return[[this.name]]}getErrors(E){const R=E.getModule(this);if(this.onlyDirectImport&&R&&!R.type.startsWith("webassembly")){return[new j(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:R}=E;R(this.name);R(this.description);R(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:R}=E;this.name=R();this.description=R();this.onlyDirectImport=R();super.deserialize(E)}}$(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,R,N)=>{"use strict";const $=N(28706);const j=N(58159);const q=N(56202);const G=N(79983);class WebpackIsIncludedDependency extends G{constructor(E,R){super(E);this.weak=true;this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}q(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends G.Template{apply(E,R,{runtimeTemplate:N,chunkGraph:$,moduleGraph:q}){const G=E;const ie=q.getConnection(G);const ae=ie?$.getNumberOfModuleChunks(ie.module)>0:false;const le=N.outputOptions.pathinfo?j.toComment(`__webpack_is_included__ ${N.requestShortener.shorten(G.request)}`):"";R.replace(G.range[0],G.range[1]-1,`${le}${JSON.stringify(ae)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,R,N)=>{"use strict";const $=N(28706);const j=N(76150);const q=N(56202);const G=N(79983);class WorkerDependency extends G{constructor(E,R){super(E);this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends G.Template{apply(E,R,N){const{chunkGraph:$,moduleGraph:q,runtimeRequirements:G}=N;const ie=E;const ae=q.getParentBlock(E);const le=$.getBlockChunkGroup(ae);const _e=le.getEntrypointChunk();G.add(j.publicPath);G.add(j.baseURI);G.add(j.getChunkScriptFilename);R.replace(ie.range[0],ie.range[1]-1,`/* worker import */ ${j.publicPath} + ${j.getChunkScriptFilename}(${JSON.stringify(_e.id)}), ${j.baseURI}`)}};q(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,R,N)=>{"use strict";const{pathToFileURL:$}=N(57310);const j=N(98221);const q=N(47207);const G=N(53558);const ie=N(50369);const{equals:ae}=N(73910);const le=N(35891);const{contextify:_e}=N(49197);const Ee=N(69085);const we=N(66298);const Ie=N(7257);const{harmonySpecifierTag:Me}=N(29381);const Te=N(89017);const getUrl=E=>$(E.resource).toString();const Ne=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Be=new WeakMap;class WorkerPlugin{constructor(E,R,N){this._chunkLoading=E;this._wasmLoading=R;this._module=N}apply(E){if(this._chunkLoading){new ie(this._chunkLoading).apply(E)}if(this._wasmLoading){new Ee(this._wasmLoading).apply(E)}const R=_e.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(Te,N);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyTemplates.set(Ie,new Ie.Template);const parseModuleUrl=(E,R)=>{if(R.type!=="NewExpression"||R.callee.type==="Super"||R.arguments.length!==2)return;const[N,$]=R.arguments;if(N.type==="SpreadElement")return;if($.type==="SpreadElement")return;const j=E.evaluateExpression(R.callee);if(!j.isIdentifier()||j.identifier!=="URL")return;const q=E.evaluateExpression($);if(!q.isString()||!q.string.startsWith("file://")||q.string!==getUrl(E.state.module)){return}const G=E.evaluateExpression(N);return[G,[N.range[0],$.range[1]]]};const parseObjectExpression=(E,R)=>{const N={};const $={};const j=[];let q=false;for(const G of R.properties){if(G.type==="SpreadElement"){q=true}else if(G.type==="Property"&&!G.method&&!G.computed&&G.key.type==="Identifier"){$[G.key.name]=G.value;if(!G.shorthand&&!G.value.type.endsWith("Pattern")){const R=E.evaluateExpression(G.value);if(R.isCompileTimeValue())N[G.key.name]=R.asCompileTimeValue()}}else{j.push(G)}}const G=R.properties.length>0?"comma":"single";const ie=R.properties[R.properties.length-1].range[1];return{expressions:$,otherElements:j,values:N,spread:q,insertType:G,insertLocation:ie}};const parserPlugin=(N,$)=>{if($.worker===false)return;const ie=!Array.isArray($.worker)?["..."]:$.worker;const handleNewWorker=$=>{if($.arguments.length===0||$.arguments.length>2)return;const[ie,ae]=$.arguments;if(ie.type==="SpreadElement")return;if(ae&&ae.type==="SpreadElement")return;const _e=parseModuleUrl(N,ie);if(!_e)return;const[Ee,Me]=_e;if(!Ee.isString())return;const{expressions:Ne,otherElements:Le,values:je,spread:ze,insertType:Ue,insertLocation:qe}=ae&&ae.type==="ObjectExpression"?parseObjectExpression(N,ae):{expressions:{},otherElements:[],values:{},spread:false,insertType:ae?"spread":"argument",insertLocation:ae?ae.range:ie.range[1]};const{options:Ge,errors:He}=N.parseCommentOptions($.range);if(He){for(const E of He){const{comment:R}=E;N.state.module.addWarning(new q(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${E.message}`,R.loc))}}let We={};if(Ge){if(Ge.webpackIgnore!==undefined){if(typeof Ge.webpackIgnore!=="boolean"){N.state.module.addWarning(new G(`\`webpackIgnore\` expected a boolean, but received: ${Ge.webpackIgnore}.`,$.loc))}else{if(Ge.webpackIgnore){return false}}}if(Ge.webpackEntryOptions!==undefined){if(typeof Ge.webpackEntryOptions!=="object"||Ge.webpackEntryOptions===null){N.state.module.addWarning(new G(`\`webpackEntryOptions\` expected a object, but received: ${Ge.webpackEntryOptions}.`,$.loc))}else{Object.assign(We,Ge.webpackEntryOptions)}}if(Ge.webpackChunkName!==undefined){if(typeof Ge.webpackChunkName!=="string"){N.state.module.addWarning(new G(`\`webpackChunkName\` expected a string, but received: ${Ge.webpackChunkName}.`,$.loc))}else{We.name=Ge.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(We,"name")&&je&&typeof je.name==="string"){We.name=je.name}if(We.runtime===undefined){let $=Be.get(N.state)||0;Be.set(N.state,$+1);let j=`${R(N.state.module.identifier())}|${$}`;const q=le(E.outputOptions.hashFunction);q.update(j);const G=q.digest(E.outputOptions.hashDigest);We.runtime=G.slice(0,E.outputOptions.hashDigestLength)}const Ve=new j({name:We.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...We}});Ve.loc=$.loc;const Ke=new Te(Ee.string,Me);Ke.loc=$.loc;Ve.addDependency(Ke);N.state.module.addBlock(Ve);if(E.outputOptions.trustedTypes){const E=new Ie($.arguments[0].range);E.loc=$.loc;N.state.module.addDependency(E)}if(Ne.type){const E=Ne.type;if(je.type!==false){const R=new we(this._module?'"module"':"undefined",E.range);R.loc=E.loc;N.state.module.addPresentationalDependency(R);Ne.type=undefined}}else if(Ue==="comma"){if(this._module||ze){const E=new we(`, type: ${this._module?'"module"':"undefined"}`,qe);E.loc=$.loc;N.state.module.addPresentationalDependency(E)}}else if(Ue==="spread"){const E=new we("Object.assign({}, ",qe[0]);const R=new we(`, { type: ${this._module?'"module"':"undefined"} })`,qe[1]);E.loc=$.loc;R.loc=$.loc;N.state.module.addPresentationalDependency(E);N.state.module.addPresentationalDependency(R)}else if(Ue==="argument"){if(this._module){const E=new we(', { type: "module" }',qe);E.loc=$.loc;N.state.module.addPresentationalDependency(E)}}N.walkExpression($.callee);for(const E of Object.keys(Ne)){if(Ne[E])N.walkExpression(Ne[E])}for(const E of Le){N.walkProperty(E)}if(Ue==="spread"){N.walkExpression(ae)}return true};const processItem=E=>{if(E.endsWith("()")){N.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const R=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(R){const E=R[1].split(".");const $=R[2];const j=R[3];($?N.hooks.call:N.hooks.new).for(Me).tap("WorkerPlugin",(R=>{const $=N.currentTagData;if(!$||$.source!==j||!ae($.ids,E)){return}return handleNewWorker(R)}))}else{N.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ie){if(E==="..."){Ne.forEach(processItem)}else processItem(E)}};N.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);N.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const processExportInfo=(E,R,N,j,q=false,G=new Set)=>{if(!j){R.push(N);return}const ie=j.getUsed(E);if(ie===$.Unused)return;if(G.has(j)){R.push(N);return}G.add(j);if(ie!==$.OnlyPropertiesUsed||!j.exportsInfo||j.exportsInfo.otherExportsInfo.getUsed(E)!==$.Unused){G.delete(j);R.push(N);return}const ae=j.exportsInfo;for(const $ of ae.orderedExports){processExportInfo(E,R,q&&$.name==="default"?N:N.concat($.name),$,false,G)}G.delete(j)};E.exports=processExportInfo},25726:(E,R,N)=>{"use strict";const $=N(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new $("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new $("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new $("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,R,N)=>{"use strict";const $=N(81627);class BuildCycleError extends ${constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,R,N)=>{"use strict";const $=N(66804);class ExportWebpackRequireRuntimeModule extends ${constructor(){super("export webpack runtime",$.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const{RuntimeGlobals:q}=N(86443);const G=N(22352);const ie=N(58159);const{getCompilationHooks:ae,getChunkFilenameTemplate:le}=N(18161);const{generateEntryStartup:_e,updateHashForEntryStartup:Ee}=N(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((R,N)=>{if(R.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(R)>0){N.add(q.require);N.add(q.startupEntrypoint);N.add(q.externalInstallChunk)}}));const R=ae(E);R.renderChunk.tap("ModuleChunkFormatPlugin",((N,ae)=>{const{chunk:Ee,chunkGraph:we,runtimeTemplate:Ie}=ae;const Me=Ee instanceof G?Ee:null;const Te=new $;if(Me){throw new Error("HMR is not implemented for module chunk format yet")}else{Te.add(`export const id = ${JSON.stringify(Ee.id)};\n`);Te.add(`export const ids = ${JSON.stringify(Ee.ids)};\n`);Te.add(`export const modules = `);Te.add(N);Te.add(`;\n`);const G=we.getChunkRuntimeModulesInOrder(Ee);if(G.length>0){Te.add("export const runtime =\n");Te.add(ie.renderChunkRuntimeModules(G,ae))}const Me=Array.from(we.getChunkEntryModulesWithChunkGroupIterable(Ee));if(Me.length>0){const N=Me[0][1].getRuntimeChunk();const G=E.getPath(le(Ee,E.outputOptions),{chunk:Ee,contentHashType:"javascript"}).split("/");const ie=E.getPath(le(N,E.outputOptions),{chunk:N,contentHashType:"javascript"}).split("/");const Ne=G.pop();while(G.length>0&&ie.length>0&&G[0]===ie[0]){G.shift();ie.shift()}const Be=(G.length>0?"../".repeat(G.length):"./")+ie.join("/");const Le=new $;Le.add(Te);Le.add(";\n\n// load runtime\n");Le.add(`import __webpack_require__ from ${JSON.stringify(Be)};\n`);Le.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Ne)};\n`);Le.add(`${q.externalInstallChunk}(__webpack_self_exports__);\n`);const je=new j(_e(we,Ie,Me,Ee,false));Le.add(R.renderStartup.call(je,Me[Me.length-1][0],{...ae,inlined:false}));return Le}}return Te}));R.chunkHash.tap("ModuleChunkFormatPlugin",((E,R,{chunkGraph:N,runtimeTemplate:$})=>{if(E.hasRuntime())return;R.update("ModuleChunkFormatPlugin");R.update("1");const j=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));Ee(R,N,j,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,R,N)=>{"use strict";const $=N(76150);const j=N(33228);const q=N(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading||R;return $==="import"};const N=new WeakSet;const handler=(R,j)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;j.add($.moduleFactoriesAddOnly);j.add($.hasOwnProperty);E.addRuntimeModule(R,new q(j))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;E.addRuntimeModule(R,new j)}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(66804);const ie=N(58159);const{getChunkFilenameTemplate:ae,chunkHasJs:le}=N(18161);const{getInitialChunkIds:_e}=N(13085);const Ee=N(87274);const{getUndoPath:we}=N(49197);const Ie=new WeakMap;class ModuleChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ie.get(E);if(R===undefined){R={linkPreload:new $(["source","chunk"]),linkPrefetch:new $(["source","chunk"])};Ie.set(E,R)}return R}constructor(E){super("import chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:R}=this;const{runtimeTemplate:N,chunkGraph:$,outputOptions:{importFunctionName:j,importMetaName:G}}=E;const Ie=q.ensureChunkHandlers;const Me=this._runtimeRequirements.has(q.baseURI);const Te=this._runtimeRequirements.has(q.externalInstallChunk);const Ne=this._runtimeRequirements.has(q.ensureChunkHandlers);const Be=this._runtimeRequirements.has(q.onChunksLoaded);const Le=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const je=$.getChunkConditionMap(R,le);const ze=Ee(je);const Ue=_e(R,$);const qe=this.compilation.getPath(ae(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const Ge=we(qe,this.compilation.outputOptions.path,true);const He=Le?`${q.hmrRuntimeStatePrefix}_module`:undefined;return ie.asString([Me?ie.asString([`${q.baseURI} = new URL(${JSON.stringify(Ge)}, ${G}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${He?`${He} = ${He} || `:""}{`,ie.indent(Array.from(Ue,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ne||Te?`var installChunk = ${N.basicFunction("data",[N.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ie.indent([`if(${q.hasOwnProperty}(modules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ie.indent(["chunkId = ids[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Be?`${q.onChunksLoaded}();`:""])}`:"// no install chunk","",Ne?ie.asString([`${Ie}.j = ${N.basicFunction("chunkId, promises",ze!==false?ie.indent(["// import() chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[1]);"]),"} else {",ie.indent([ze===true?"if(true) { // all chunks have JS":`if(${ze("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = ${j}(${JSON.stringify(Ge)} + ${q.getChunkScriptFilename}(chunkId)).then(installChunk, ${N.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${N.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Te?ie.asString([`${q.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Be?`${q.onChunksLoaded}.j = ${N.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var R=undefined;var N=undefined;var $=undefined;var j=undefined;var q=undefined;var G=undefined;var ie=undefined;E.exports=function(){var E={};var ae=N;var le;var _e=[];var Ee=[];var we="idle";var Ie;var Me;var Te;$=E;R.push((function(E){var R=E.module;var N=createRequire(E.require,E.id);R.hot=createModuleHotObject(E.id,R);R.parents=_e;R.children=[];_e=[];E.require=N}));q={};G={};function createRequire(E,R){var N=ae[R];if(!N)return E;var fn=function($){if(N.hot.active){if(ae[$]){var j=ae[$].parents;if(j.indexOf(R)===-1){j.push(R)}}else{_e=[R];le=$}if(N.children.indexOf($)===-1){N.children.push($)}}else{console.warn("[HMR] unexpected require("+$+") from disposed module "+R);_e=[]}return E($)};var createPropertyDescriptor=function(R){return{configurable:true,enumerable:true,get:function(){return E[R]},set:function(N){E[R]=N}}};for(var $ in E){if(Object.prototype.hasOwnProperty.call(E,$)&&$!=="e"){Object.defineProperty(fn,$,createPropertyDescriptor($))}}fn.e=function(R){return trackBlockingPromise(E.e(R))};return fn}function createModuleHotObject(R,N){var $=le!==R;var j={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:$,_requireSelf:function(){_e=N.parents.slice();le=$?undefined:R;ie(R)},active:true,accept:function(E,R,N){if(E===undefined)j._selfAccepted=true;else if(typeof E==="function")j._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var $=0;$=0)j._disposeHandlers.splice(R,1)},invalidate:function(){this._selfInvalidated=true;switch(we){case"idle":Me=[];Object.keys(G).forEach((function(E){G[E](R,Me)}));setStatus("ready");break;case"ready":Object.keys(G).forEach((function(E){G[E](R,Me)}));break;case"prepare":case"check":case"dispose":case"apply":(Te=Te||[]).push(R);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return we;Ee.push(E)},addStatusHandler:function(E){Ee.push(E)},removeStatusHandler:function(E){var R=Ee.indexOf(E);if(R>=0)Ee.splice(R,1)},data:E[R]};le=undefined;return j}function setStatus(E){we=E;var R=[];for(var N=0;N0){return setStatus("abort").then((function(){throw N[0]}))}var $=setStatus("dispose");R.forEach((function(E){if(E.dispose)E.dispose()}));var j=setStatus("apply");var q;var reportError=function(E){if(!q)q=E};var G=[];R.forEach((function(E){if(E.apply){var R=E.apply(reportError);if(R){for(var N=0;N{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class HotModuleReplacementRuntimeModule extends j{constructor(){super("hot module replacement",j.STAGE_BASIC)}generate(){return q.getFunctionContent(N(49464)).replace(/\$getFullHash\$/g,$.getFullHash).replace(/\$interceptModuleExecution\$/g,$.interceptModuleExecution).replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,$.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var R=undefined;var N=undefined;var $=undefined;var j=undefined;var q=undefined;var G=undefined;var ie=undefined;var ae=undefined;var le=undefined;var _e=undefined;E.exports=function(){var E;var Ee;var we;var Ie;function applyHandler(N){if(q)delete q.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var R=[E];var N={};var j=R.map((function(E){return{chain:[E],id:E}}));while(j.length>0){var q=j.pop();var G=q.id;var ie=q.chain;var ae=$[G];if(!ae||ae.hot._selfAccepted&&!ae.hot._selfInvalidated)continue;if(ae.hot._selfDeclined){return{type:"self-declined",chain:ie,moduleId:G}}if(ae.hot._main){return{type:"unaccepted",chain:ie,moduleId:G}}for(var le=0;le ")}switch(Le.type){case"self-declined":if(N.onDeclined)N.onDeclined(Le);if(!N.ignoreDeclined)je=new Error("Aborted because of self decline: "+Le.moduleId+qe);break;case"declined":if(N.onDeclined)N.onDeclined(Le);if(!N.ignoreDeclined)je=new Error("Aborted because of declined dependency: "+Le.moduleId+" in "+Le.parentId+qe);break;case"unaccepted":if(N.onUnaccepted)N.onUnaccepted(Le);if(!N.ignoreUnaccepted)je=new Error("Aborted because "+Ne+" is not accepted"+qe);break;case"accepted":if(N.onAccepted)N.onAccepted(Le);ze=true;break;case"disposed":if(N.onDisposed)N.onDisposed(Le);Ue=true;break;default:throw new Error("Unexception type "+Le.type)}if(je){return{error:je}}if(ze){Me[Ne]=Be;addAllToSet(le,Le.outdatedModules);for(Ne in Le.outdatedDependencies){if(G(Le.outdatedDependencies,Ne)){if(!ae[Ne])ae[Ne]=[];addAllToSet(ae[Ne],Le.outdatedDependencies[Ne])}}}if(Ue){addAllToSet(le,[Le.moduleId]);Me[Ne]=Te}}}Ee=undefined;var Ge=[];for(var He=0;He0){var j=N.pop();var q=$[j];if(!q)continue;var _e={};var Ee=q.hot._disposeHandlers;for(He=0;He=0){Ie.parents.splice(E,1)}}}var Me;for(var Te in ae){if(G(ae,Te)){q=$[Te];if(q){Ke=ae[Te];for(He=0;He=0)q.children.splice(E,1)}}}}},apply:function(E){for(var R in Me){if(G(Me,R)){j[R]=Me[R]}}for(var q=0;q{"use strict";const{RawSource:$}=N(48135);const j=N(98221);const q=N(28706);const G=N(53453);const ie=N(40674);const ae=N(76150);const le=N(58159);const _e=N(37313);const{registerNotSerializable:Ee}=N(24568);const we=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R)}if(typeof E==="string"){const N=R.nameForCondition();return N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.nameForCondition();return N&&E.test(N)}return false};const Ie=new Set(["javascript"]);class LazyCompilationDependency extends q{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}Ee(LazyCompilationDependency);class LazyCompilationProxyModule extends G{constructor(E,R,N,$,j,q){super("lazy-compilation-proxy",E,R.layer);this.originalModule=R;this.request=N;this.client=$;this.data=j;this.active=q}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.originalModule=R.originalModule;this.request=R.request;this.client=R.client;this.data=R.data;this.active=R.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,R){R(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,R,N,$,q){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const G=new _e(this.client);this.addDependency(G);if(this.active){const E=new LazyCompilationDependency(this);const R=new j({});R.addDependency(E);this.addBlock(R)}q()}getSourceTypes(){return Ie}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:R,moduleGraph:N}){const j=new Map;const q=new Set;q.add(ae.module);const G=this.dependencies[0];const ie=N.getModule(G);const _e=this.blocks[0];const Ee=le.asString([`var client = ${E.moduleExports({module:ie,chunkGraph:R,request:G.userRequest,runtimeRequirements:q})}`,`var data = ${JSON.stringify(this.data)};`]);const we=le.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!_e)}, module: module, onError: onError });`]);let Ie;if(_e){const $=_e.dependencies[0];const j=N.getModule($);Ie=le.asString([Ee,`module.exports = ${E.moduleNamespacePromise({chunkGraph:R,block:_e,module:j,request:this.request,strict:false,message:"import()",runtimeRequirements:q})};`,"if (module.hot) {",le.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(R.getModuleId(j))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",we])}else{Ie=le.asString([Ee,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",le.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",we])}j.set("javascript",new $(Ie));return{sources:j,runtimeRequirements:q}}updateHash(E,R){super.updateHash(E,R);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}Ee(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ie{constructor(E){super();this._factory=E}create(E,R){const N=E.dependencies[0];R(null,{module:N.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,entries:R,imports:N,test:$}){this.backend=E;this.entries=R;this.imports=N;this.test=$}apply(E){let R;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((N,$)=>{if(R!==undefined)return $();const j=this.backend(E,((E,N)=>{if(E)return $(E);R=N;$()}));if(j&&j.then){j.then((E=>{R=E;$()}),$)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((N,{normalModuleFactory:$})=>{$.hooks.module.tap("LazyCompilationPlugin",((N,$,j)=>{if(j.dependencies.every((E=>we.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(j.request)&&checkTest(this.test,N)){const $=R.module(N);if(!$)return;const{client:q,data:G,active:ie}=$;return new LazyCompilationProxyModule(E.context,N,j.request,q,G,ie)}}));N.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{R.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,R,N)=>{"use strict";E.exports=E=>(R,$)=>{const j=R.getInfrastructureLogger("LazyCompilationBackend");const q=new Map;const G="/lazy-compilation-using-";const ie=E.protocol==="https"||typeof E.server==="object"&&("key"in E.server||"pfx"in E.server);const ae=typeof E.server==="function"?E.server:(()=>{const R=ie?N(95687):N(13685);return R.createServer.bind(R,E.server)})();const le=typeof E.listen==="function"?E.listen:R=>{let N=E.listen;if(typeof N==="object"&&!("port"in N))N={...N,port:undefined};R.listen(N)};const _e=E.protocol||(ie?"https":"http");const requestListener=(E,N)=>{const $=E.url.slice(G.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const E of $){const R=q.get(E)||0;q.set(E,R-1);if(R===1){j.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);N.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});N.write("\n");let ie=false;for(const E of $){const R=q.get(E)||0;q.set(E,R+1);if(R===0){j.log(`${E} is now in use and will be compiled.`);ie=true}}if(ie&&R.watching)R.watching.invalidate()};const Ee=ae();Ee.on("request",requestListener);let we=false;const Ie=new Set;Ee.on("connection",(E=>{Ie.add(E);E.on("close",(()=>{Ie.delete(E)}));if(we)E.destroy()}));Ee.on("clientError",(E=>{if(E.message!=="Server is disposing")j.warn(E)}));Ee.on("listening",(R=>{if(R)return $(R);const N=Ee.address();if(typeof N==="string")throw new Error("addr must not be a string");const ie=N.address==="::"||N.address==="0.0.0.0"?`${_e}://localhost:${N.port}`:N.family==="IPv6"?`${_e}://[${N.address}]:${N.port}`:`${_e}://${N.address}:${N.port}`;j.log(`Server-Sent-Events server for lazy compilation open at ${ie}.`);$(null,{dispose(E){we=true;Ee.off("request",requestListener);Ee.close((R=>{E(R)}));for(const E of Ie){E.destroy(new Error("Server is disposing"))}},module(R){const N=`${encodeURIComponent(R.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const $=q.get(N)>0;return{client:`${E.client}?${encodeURIComponent(ie+G)}`,data:N,active:$}}})}));le(Ee)}},30484:(E,R,N)=>{"use strict";const{find:$}=N(26221);const{compareModulesByPreOrderIndexOrIdentifier:j,compareModulesByPostOrderIndexOrIdentifier:q}=N(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const N=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(G=>{const ie=E.chunkGraph;const ae=$(E.chunks,(E=>E.name===R.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${R.name}"' was not found`)}let le;if(R.order){let E;switch(R.order){case"index":case"preOrderIndex":E=j(N);break;case"index2":case"postOrderIndex":E=q(N);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}le=ie.getOrderedChunkModules(ae,E)}else{le=Array.from(G).filter((E=>ie.isModuleInChunk(E,ae))).sort(j(N))}let _e=R.start||0;for(let E=0;ER.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{getFullChunkName:j,getUsedChunkIds:q,assignDeterministicIds:G}=N(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(R=>{R.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(N=>{const ie=R.chunkGraph;const ae=this.options.context?this.options.context:E.context;const le=this.options.maxLength||3;const _e=$(ie);const Ee=q(R);G(Array.from(N).filter((E=>E.id===null)),(R=>j(R,ie,ae,E.root)),_e,((E,R)=>{const N=Ee.size;Ee.add(`${R}`);if(N===Ee.size)return false;E.id=R;E.ids=[R];return true}),[Math.pow(10,le)],10,Ee.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,R,N)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const{getUsedModuleIds:j,getFullModuleName:q,assignDeterministicIds:G}=N(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(R=>{R.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(N=>{const ie=R.chunkGraph;const ae=this.options.context?this.options.context:E.context;const le=this.options.maxLength||3;const _e=j(R);G(Array.from(N).filter((E=>{if(!E.needId)return false;if(ie.getNumberOfModuleChunks(E)===0)return false;return ie.getModuleId(E)===null})),(R=>q(R,ae,E.root)),$(R.moduleGraph),((E,R)=>{const N=_e.size;_e.add(`${R}`);if(N===_e.size)return false;ie.setModuleId(E,R);return true}),[Math.pow(10,le)],10,_e.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,R,N)=>{"use strict";E=N.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const j=N(35817);const q=N(35891);const{getUsedModuleIds:G,getFullModuleName:ie}=N(30328);const ae=j(N(42959),(()=>N(39586)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){ae(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(R){const N=this.options;R.hooks.compilation.tap("HashedModuleIdsPlugin",(j=>{j.hooks.moduleIds.tap("HashedModuleIdsPlugin",(ae=>{const le=j.chunkGraph;const _e=this.options.context?this.options.context:R.context;const Ee=G(j);const we=Array.from(ae).filter((R=>{if(!R.needId)return false;if(le.getNumberOfModuleChunks(R)===0)return false;return le.getModuleId(E)===null})).sort($(j.moduleGraph));for(const E of we){const $=ie(E,_e,R.root);const j=q(N.hashFunction);j.update($||"");const G=j.digest(N.hashDigest);let ae=N.hashDigestLength;while(Ee.has(G.substr(0,ae)))ae++;const we=G.substr(0,ae);le.setModuleId(E,we);Ee.add(we)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,R,N)=>{"use strict";const $=N(35891);const{makePathsRelative:j}=N(49197);const q=N(12631);const getHash=(E,R,N)=>{const j=$(N);j.update(E);const q=j.digest("hex");return q.substr(0,R)};const avoidNumber=E=>{if(E.length>21)return E;const R=E.charCodeAt(0);if(R<49){if(R!==45)return E}else if(R>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");R.requestToId=requestToId;const shortenLongString=(E,R,N)=>{if(E.length<100)return E;return E.slice(0,100-6-R.length)+R+getHash(E,6,N)};const getShortModuleName=(E,R,N)=>{const $=E.libIdent({context:R,associatedObjectForCache:N});if($)return avoidNumber($);const q=E.nameForCondition();if(q)return avoidNumber(j(R,q,N));return""};R.getShortModuleName=getShortModuleName;const getLongModuleName=(E,R,N,$,j)=>{const q=getFullModuleName(R,N,j);return`${E}?${getHash(q,4,$)}`};R.getLongModuleName=getLongModuleName;const getFullModuleName=(E,R,N)=>j(R,E.identifier(),N);R.getFullModuleName=getFullModuleName;const getShortChunkName=(E,R,N,$,j,q)=>{const G=R.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,N,q))));E.idNameHints.sort();const ae=Array.from(E.idNameHints).concat(ie).filter(Boolean).join($);return shortenLongString(ae,$,j)};R.getShortChunkName=getShortChunkName;const getLongChunkName=(E,R,N,$,j,q)=>{const G=R.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,N,q))));const ae=G.map((E=>requestToId(getLongModuleName("",E,N,j,q))));E.idNameHints.sort();const le=Array.from(E.idNameHints).concat(ie,ae).filter(Boolean).join($);return shortenLongString(le,$,j)};R.getLongChunkName=getLongChunkName;const getFullChunkName=(E,R,N,$)=>{if(E.name)return E.name;const q=R.getChunkRootModules(E);const G=q.map((E=>j(N,E.identifier(),$)));return G.join()};R.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,R,N)=>{let $=E.get(R);if($===undefined){$=[];E.set(R,$)}$.push(N)};const getUsedModuleIds=E=>{const R=E.chunkGraph;const N=new Set;if(E.usedModuleIds){for(const R of E.usedModuleIds){N.add(R+"")}}for(const $ of E.modules){const E=R.getModuleId($);if(E!==null){N.add(E+"")}}return N};R.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const R=new Set;if(E.usedChunkIds){for(const N of E.usedChunkIds){R.add(N+"")}}for(const N of E.chunks){const E=N.id;if(E!==null){R.add(E+"")}}return R};R.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,R,N,$,j,q)=>{const G=new Map;for(const N of E){const E=R(N);addToMapOfItems(G,E,N)}const ie=new Map;for(const[E,R]of G){if(R.length>1||!E){for(const $ of R){const R=N($,E);addToMapOfItems(ie,R,$)}}else{addToMapOfItems(ie,E,R[0])}}const ae=[];for(const[E,R]of ie){if(!E){for(const E of R){ae.push(E)}}else if(R.length===1&&!j.has(E)){q(R[0],E);j.add(E)}else{R.sort($);let N=0;for(const $ of R){while(ie.has(E+N)&&j.has(E+N))N++;q($,E+N);j.add(E+N);N++}}}ae.sort($);return ae};R.assignNames=assignNames;const assignDeterministicIds=(E,R,N,$,j=[10],G=10,ie=0)=>{E.sort(N);const ae=Math.min(Math.ceil(E.length*20)+ie,Number.MAX_SAFE_INTEGER);let le=0;let _e=j[le];while(_e{const N=R.chunkGraph;const $=getUsedModuleIds(R);let j=0;let q;if($.size>0){q=E=>{if(N.getModuleId(E)===null){while($.has(j+""))j++;N.setModuleId(E,j++)}}}else{q=E=>{if(N.getModuleId(E)===null){N.setModuleId(E,j++)}}}for(const R of E){q(R)}};R.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,R)=>{const N=getUsedChunkIds(R);let $=0;if(N.size>0){for(const R of E){if(R.id===null){while(N.has($+""))$++;R.id=$;R.ids=[$];$++}}}else{for(const R of E){if(R.id===null){R.id=$;R.ids=[$];$++}}}};R.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{getShortChunkName:j,getLongChunkName:q,assignNames:G,getUsedChunkIds:ie,assignAscendingChunkIds:ae}=N(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(R=>{const{hashFunction:N}=R.outputOptions;R.hooks.chunkIds.tap("NamedChunkIdsPlugin",(le=>{const _e=R.chunkGraph;const Ee=this.context?this.context:E.context;const we=this.delimiter;const Ie=G(Array.from(le).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(R=>j(R,_e,Ee,we,N,E.root)),(R=>q(R,_e,Ee,we,N,E.root)),$(_e),ie(R),((E,R)=>{E.id=R;E.ids=[R]}));if(Ie.length>0){ae(Ie,R)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,R,N)=>{"use strict";const{compareModulesByIdentifier:$}=N(68673);const{getShortModuleName:j,getLongModuleName:q,assignNames:G,getUsedModuleIds:ie,assignAscendingModuleIds:ae}=N(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:R}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(N=>{const{hashFunction:le}=N.outputOptions;N.hooks.moduleIds.tap("NamedModuleIdsPlugin",(_e=>{const Ee=N.chunkGraph;const we=this.options.context?this.options.context:E.context;const Ie=G(Array.from(_e).filter((E=>{if(!E.needId)return false;if(Ee.getNumberOfModuleChunks(E)===0)return false;return Ee.getModuleId(E)===null})),(E=>j(E,we,R)),((E,N)=>q(N,E,we,le,R)),$,ie(N),((E,R)=>Ee.setModuleId(E,R)));if(Ie.length>0){ae(Ie,N)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{assignAscendingChunkIds:j}=N(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(R=>{const N=E.chunkGraph;const q=$(N);const G=Array.from(R).sort(q);j(G,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,R,N)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const{assignAscendingModuleIds:j}=N(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(R=>{const N=E.chunkGraph;const q=Array.from(R).filter((E=>E.needId&&N.getNumberOfModuleChunks(E)>0&&N.getModuleId(E)===null)).sort($(E.moduleGraph));j(q,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const j=N(35817);const{assignAscendingChunkIds:q}=N(30328);const G=j(N(18511),(()=>N(9659)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const R=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(N=>{const j=E.chunkGraph;const G=new Map;const ie=$(j);for(const E of N){let R=0;for(const N of E.groupsIterable){for(const E of N.parentsIterable){if(E.isInitial())R++}}G.set(E,R)}const ae=Array.from(N).sort(((E,N)=>{if(R){const R=G.get(E);const $=G.get(N);if(R>$)return-1;if(R<$)return 1}const $=E.getNumberOfGroups();const j=N.getNumberOfGroups();if($>j)return-1;if(${"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const j=N(35817);const{assignAscendingModuleIds:q}=N(30328);const G=j(N(52042),(()=>N(37931)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const R=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const N=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(j=>{const G=E.chunkGraph;const ie=Array.from(j).filter((E=>E.needId&&G.getNumberOfModuleChunks(E)>0&&G.getModuleId(E)===null));const ae=new Map;const le=new Map;const _e=new Map;const Ee=new Map;for(const E of ie){let R=0;let N=0;for(const $ of G.getModuleChunksIterable(E)){if($.canBeInitial())R++;if(G.isEntryModuleInChunk(E,$))N++}_e.set(E,R);Ee.set(E,N)}const countOccursInEntry=E=>{let R=0;for(const[$,j]of N.getIncomingConnectionsByOriginModule(E)){if(!$)continue;if(!j.some((E=>E.isTargetActive(undefined))))continue;R+=_e.get($)}return R};const countOccurs=E=>{let R=0;for(const[$,j]of N.getIncomingConnectionsByOriginModule(E)){if(!$)continue;const E=G.getNumberOfModuleChunks($);for(const N of j){if(!N.isTargetActive(undefined))continue;if(!N.dependency)continue;const $=N.dependency.getNumberOfIdOccurrences();if($===0)continue;R+=$*E}}return R};if(R){for(const E of ie){const R=countOccursInEntry(E)+_e.get(E)+Ee.get(E);ae.set(E,R)}}for(const E of j){const R=countOccurs(E)+G.getNumberOfModuleChunks(E)+Ee.get(E);le.set(E,R)}const we=$(E.moduleGraph);ie.sort(((E,N)=>{if(R){const R=ae.get(E);const $=ae.get(N);if(R>$)return-1;if(R<$)return 1}const $=le.get(E);const j=le.get(N);if($>j)return-1;if(${"use strict";const $=N(73837);const j=N(91671);const lazyFunction=E=>{const R=j(E);const f=(...E)=>R()(...E);return f};const mergeExports=(E,R)=>{const N=Object.getOwnPropertyDescriptors(R);for(const R of Object.keys(N)){const $=N[R];if($.get){const N=$.get;Object.defineProperty(E,R,{configurable:false,enumerable:true,get:j(N)})}else if(typeof $.value==="object"){Object.defineProperty(E,R,{configurable:false,enumerable:true,writable:false,value:mergeExports({},$.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const q=lazyFunction((()=>N(2982)));E.exports=mergeExports(q,{get webpack(){return N(2982)},get validate(){const E=N(63221);const R=j((()=>{const E=N(33316);const R=N(46312);return N=>E(R,N)}));return N=>{if(!E(N))R()(N)}},get validateSchema(){const E=N(33316);return E},get version(){return N(37589).i8},get cli(){return N(61634)},get AutomaticPrefetchPlugin(){return N(20383)},get AsyncDependenciesBlock(){return N(98221)},get BannerPlugin(){return N(58779)},get Cache(){return N(54725)},get Chunk(){return N(62433)},get ChunkGraph(){return N(45137)},get CleanPlugin(){return N(61666)},get Compilation(){return N(3080)},get Compiler(){return N(63076)},get ConcatenationScope(){return N(77294)},get ContextExclusionPlugin(){return N(51709)},get ContextReplacementPlugin(){return N(26552)},get DefinePlugin(){return N(24820)},get DelegatedPlugin(){return N(82354)},get Dependency(){return N(28706)},get DllPlugin(){return N(73887)},get DllReferencePlugin(){return N(83515)},get DynamicEntryPlugin(){return N(85227)},get EntryOptionPlugin(){return N(64699)},get EntryPlugin(){return N(59674)},get EnvironmentPlugin(){return N(64856)},get EvalDevToolModulePlugin(){return N(91331)},get EvalSourceMapDevToolPlugin(){return N(23641)},get ExternalModule(){return N(16734)},get ExternalsPlugin(){return N(61050)},get Generator(){return N(36253)},get HotUpdateChunk(){return N(22352)},get HotModuleReplacementPlugin(){return N(79972)},get IgnorePlugin(){return N(69276)},get JavascriptModulesPlugin(){return $.deprecate((()=>N(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return N(77750)},get LibraryTemplatePlugin(){return $.deprecate((()=>N(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return N(19674)},get LoaderTargetPlugin(){return N(97736)},get Module(){return N(53453)},get ModuleFilenameHelpers(){return N(70354)},get ModuleGraph(){return N(75412)},get ModuleGraphConnection(){return N(79900)},get NoEmitOnErrorsPlugin(){return N(66962)},get NormalModule(){return N(53520)},get NormalModuleReplacementPlugin(){return N(92234)},get MultiCompiler(){return N(63433)},get Parser(){return N(2172)},get PrefetchPlugin(){return N(13125)},get ProgressPlugin(){return N(52923)},get ProvidePlugin(){return N(40313)},get RuntimeGlobals(){return N(76150)},get RuntimeModule(){return N(66804)},get SingleEntryPlugin(){return $.deprecate((()=>N(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return N(2e4)},get Stats(){return N(10140)},get Template(){return N(58159)},get UsageState(){return N(76632).UsageState},get WatchIgnorePlugin(){return N(91265)},get WebpackError(){return N(81627)},get WebpackOptionsApply(){return N(81721)},get WebpackOptionsDefaulter(){return $.deprecate((()=>N(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return N(15235).ValidationError},get ValidationError(){return N(15235).ValidationError},cache:{get MemoryCachePlugin(){return N(47786)}},config:{get getNormalizedWebpackOptions(){return N(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return N(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return N(79983)},get ConstDependency(){return N(66298)},get NullDependency(){return N(12197)}},ids:{get ChunkModuleIdRangePlugin(){return N(30484)},get NaturalModuleIdsPlugin(){return N(97781)},get OccurrenceModuleIdsPlugin(){return N(76059)},get NamedModuleIdsPlugin(){return N(9297)},get DeterministicChunkIdsPlugin(){return N(90444)},get DeterministicModuleIdsPlugin(){return N(35579)},get NamedChunkIdsPlugin(){return N(64779)},get OccurrenceChunkIdsPlugin(){return N(86169)},get HashedModuleIdsPlugin(){return N(35853)}},javascript:{get EnableChunkLoadingPlugin(){return N(50369)},get JavascriptModulesPlugin(){return N(18161)},get JavascriptParser(){return N(3711)}},optimize:{get AggressiveMergingPlugin(){return N(61332)},get AggressiveSplittingPlugin(){return $.deprecate((()=>N(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return N(58018)},get LimitChunkCountPlugin(){return N(92922)},get MinChunkSizePlugin(){return N(52383)},get ModuleConcatenationPlugin(){return N(35442)},get RealContentHashPlugin(){return N(30699)},get RuntimeChunkPlugin(){return N(4674)},get SideEffectsFlagPlugin(){return N(63410)},get SplitChunksPlugin(){return N(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return N(9609)},get LoadScriptRuntimeModule(){return N(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return N(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return N(52687)},get FetchCompileWasmPlugin(){return N(71100)},get JsonpChunkLoadingRuntimeModule(){return N(4038)},get JsonpTemplatePlugin(){return N(58421)}},webworker:{get WebWorkerTemplatePlugin(){return N(67439)}},node:{get NodeEnvironmentPlugin(){return N(93632)},get NodeSourcePlugin(){return N(92662)},get NodeTargetPlugin(){return N(84980)},get NodeTemplatePlugin(){return N(91591)},get ReadFileCompileWasmPlugin(){return N(71049)}},electron:{get ElectronTargetPlugin(){return N(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return N(82422)}},library:{get AbstractLibraryPlugin(){return N(9786)},get EnableLibraryPlugin(){return N(13984)}},container:{get ContainerPlugin(){return N(10419)},get ContainerReferencePlugin(){return N(68839)},get ModuleFederationPlugin(){return N(8019)},get scope(){return N(97264).scope}},sharing:{get ConsumeSharedPlugin(){return N(71968)},get ProvideSharedPlugin(){return N(48151)},get SharePlugin(){return N(16471)},get scope(){return N(97264).scope}},debug:{get ProfilingPlugin(){return N(26802)}},util:{get createHash(){return N(35891)},get comparators(){return N(68673)},get runtime(){return N(37416)},get serialization(){return N(24568)},get cleverMerge(){return N(90149).cachedCleverMerge},get LazySet(){return N(83379)}},get sources(){return N(48135)},experiments:{schemes:{get HttpUriPlugin(){return N(7201)}}}})},41113:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j,RawSource:q}=N(48135);const{RuntimeGlobals:G}=N(86443);const ie=N(22352);const ae=N(58159);const{getCompilationHooks:le}=N(18161);const{generateEntryStartup:_e,updateHashForEntryStartup:Ee}=N(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;if(N.getNumberOfEntryModules(E)>0){R.add(G.onChunksLoaded);R.add(G.require)}R.add(G.chunkCallback)}));const R=le(E);R.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((N,le)=>{const{chunk:Ee,chunkGraph:we,runtimeTemplate:Ie}=le;const Me=Ee instanceof ie?Ee:null;const Te=Ie.outputOptions.globalObject;const Ne=new $;const Be=we.getChunkRuntimeModulesInOrder(Ee);if(Me){const E=Ie.outputOptions.hotUpdateGlobal;Ne.add(`${Te}[${JSON.stringify(E)}](`);Ne.add(`${JSON.stringify(Ee.id)},`);Ne.add(N);if(Be.length>0){Ne.add(",\n");const E=ae.renderChunkRuntimeModules(Be,le);Ne.add(E)}Ne.add(")")}else{const ie=Ie.outputOptions.chunkLoadingGlobal;Ne.add(`(${Te}[${JSON.stringify(ie)}] = ${Te}[${JSON.stringify(ie)}] || []).push([`);Ne.add(`${JSON.stringify(Ee.ids)},`);Ne.add(N);const Me=Array.from(we.getChunkEntryModulesWithChunkGroupIterable(Ee));if(Be.length>0||Me.length>0){const N=new $((Ie.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n");if(Be.length>0){N.add(ae.renderRuntimeModules(Be,{...le,codeGenerationResults:E.codeGenerationResults}))}if(Me.length>0){const E=new q(_e(we,Ie,Me,Ee,true));N.add(R.renderStartup.call(E,Me[Me.length-1][0],{...le,inlined:false}));if(we.getChunkRuntimeRequirements(Ee).has(G.returnExportsFromRuntime)){N.add("return __webpack_exports__;\n")}}N.add("}\n");Ne.add(",\n");Ne.add(new j("/******/ ",N))}Ne.add("])")}return Ne}));R.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,R,{chunkGraph:N,runtimeTemplate:$})=>{if(E.hasRuntime())return;R.update(`ArrayPushCallbackChunkFormatPlugin1${$.outputOptions.chunkLoadingGlobal}${$.outputOptions.hotUpdateGlobal}${$.outputOptions.globalObject}`);const j=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));Ee(R,N,j,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const R=0;const N=1;const $=2;const j=3;const q=4;const G=5;const ie=6;const ae=7;const le=8;const _e=9;const Ee=10;const we=11;const Ie=12;const Me=13;class BasicEvaluatedExpression{constructor(){this.type=R;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===R}isNull(){return this.type===$}isUndefined(){return this.type===N}isString(){return this.type===j}isNumber(){return this.type===q}isBigInt(){return this.type===Me}isBoolean(){return this.type===G}isRegExp(){return this.type===ie}isConditional(){return this.type===ae}isArray(){return this.type===le}isConstArray(){return this.type===_e}isIdentifier(){return this.type===Ee}isWrapped(){return this.type===we}isTemplateString(){return this.type===Ie}isPrimitiveType(){switch(this.type){case N:case $:case j:case q:case G:case Me:case we:case Ie:return true;case ie:case le:case _e:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case N:case $:case j:case q:case G:case ie:case _e:case Me:return true;default:return false}}asCompileTimeValue(){switch(this.type){case N:return undefined;case $:return null;case j:return this.string;case q:return this.number;case G:return this.bool;case ie:return this.regExp;case _e:return this.array;case Me:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const R of this.items){const N=R.asString();if(N===undefined)return undefined;E.push(N)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const R of this.parts){const N=R.asString();if(N===undefined)return undefined;E+=N}return E}return undefined}setString(E){this.type=j;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=N;this.sideEffects=false;return this}setNull(){this.type=$;this.sideEffects=false;return this}setNumber(E){this.type=q;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=Me;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=G;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ie;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,R,N){this.type=Ee;this.identifier=E;this.rootInfo=R;this.getMembers=N;this.sideEffects=true;return this}setWrapped(E,R,N){this.type=we;this.prefix=E;this.postfix=R;this.wrappedInnerExpressions=N;this.sideEffects=true;return this}setOptions(E){this.type=ae;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const R of E){this.options.push(R)}return this}setItems(E){this.type=le;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=_e;this.array=E;this.sideEffects=false;return this}setTemplateString(E,R,N){this.type=Ie;this.quasis=E;this.parts=R;this.templateStringKind=N;this.sideEffects=R.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;if(E)return this.setFalsy();return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const R=E.length;if(R===0)return true;if(R>4)return false;let N=0;for(let $=0;${"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const q=N(76150);const G=N(58159);const{getChunkFilenameTemplate:ie,getCompilationHooks:ae}=N(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=N(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;if(N.getNumberOfEntryModules(E)>0){R.add(q.require);R.add(q.startupEntrypoint);R.add(q.externalInstallChunk)}}));const R=ae(E);R.renderChunk.tap("CommonJsChunkFormatPlugin",((N,ae)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:we}=ae;const Ie=new $;Ie.add(`exports.id = ${JSON.stringify(_e.id)};\n`);Ie.add(`exports.ids = ${JSON.stringify(_e.ids)};\n`);Ie.add(`exports.modules = `);Ie.add(N);Ie.add(";\n");const Me=Ee.getChunkRuntimeModulesInOrder(_e);if(Me.length>0){Ie.add("exports.runtime =\n");Ie.add(G.renderChunkRuntimeModules(Me,ae))}const Te=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(Te.length>0){const N=Te[0][1].getRuntimeChunk();const G=E.getPath(ie(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const Me=E.getPath(ie(N,E.outputOptions),{chunk:N,contentHashType:"javascript"}).split("/");G.pop();while(G.length>0&&Me.length>0&&G[0]===Me[0]){G.shift();Me.shift()}const Ne=(G.length>0?"../".repeat(G.length):"./")+Me.join("/");const Be=new $;Be.add(`(${we.supportsArrowFunction()?"() => ":"function() "}{\n`);Be.add("var exports = {};\n");Be.add(Ie);Be.add(";\n\n// load runtime\n");Be.add(`var __webpack_require__ = require(${JSON.stringify(Ne)});\n`);Be.add(`${q.externalInstallChunk}(exports);\n`);const Le=new j(le(Ee,we,Te,_e,false));Be.add(R.renderStartup.call(Le,Te[Te.length-1][0],{...ae,inlined:false}));Be.add("\n})()");return Be}return Ie}));R.chunkHash.tap("CommonJsChunkFormatPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;R.update("CommonJsChunkFormatPlugin");R.update("1");const $=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));_e(R,N,$,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Chunk loading type "${R}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){switch(R){case"jsonp":{const R=N(76853);(new R).apply(E);break}case"import-scripts":{const R=N(82779);(new R).apply(E);break}case"require":{const R=N(82827);new R({asyncChunkLoading:false}).apply(E);break}case"async-node":{const R=N(82827);new R({asyncChunkLoading:true}).apply(E);break}case"import":{const R=N(90662);(new R).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${R}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,R,N)=>{"use strict";const $=N(73837);const{RawSource:j,ReplaceSource:q}=N(48135);const G=N(36253);const ie=N(63272);const ae=N(54290);const le=$.deprecate(((E,R,N)=>E.getInitFragments(R,N)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const _e=new Set(["javascript"]);class JavascriptGenerator extends G{getTypes(E){return _e}getSize(E,R){const N=E.originalSource();if(!N){return 39}return N.size()}getConcatenationBailoutReason(E,R){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof ae))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,R){const N=E.originalSource();if(!N){return new j("throw new Error('No source available');")}const $=new q(N);const G=[];this.sourceModule(E,G,$,R);return ie.addToSource($,G,R)}sourceModule(E,R,N,$){for(const j of E.dependencies){this.sourceDependency(E,j,R,N,$)}if(E.presentationalDependencies!==undefined){for(const j of E.presentationalDependencies){this.sourceDependency(E,j,R,N,$)}}for(const j of E.blocks){this.sourceBlock(E,j,R,N,$)}}sourceBlock(E,R,N,$,j){for(const q of R.dependencies){this.sourceDependency(E,q,N,$,j)}for(const q of R.blocks){this.sourceBlock(E,q,N,$,j)}}sourceDependency(E,R,N,$,j){const q=R.constructor;const G=j.dependencyTemplates.get(q);if(!G){throw new Error("No template for dependency: "+R.constructor.name)}const ie={runtimeTemplate:j.runtimeTemplate,dependencyTemplates:j.dependencyTemplates,moduleGraph:j.moduleGraph,chunkGraph:j.chunkGraph,module:E,runtime:j.runtime,runtimeRequirements:j.runtimeRequirements,concatenationScope:j.concatenationScope,initFragments:N};G.apply(R,$,ie);if("getInitFragments"in G){const E=le(G,R,ie);if(E){for(const R of E){N.push(R)}}}}}E.exports=JavascriptGenerator},18161:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$,SyncHook:j,SyncBailHook:q}=N(92960);const G=N(26144);const{ConcatSource:ie,OriginalSource:ae,PrefixSource:le,RawSource:_e,CachedSource:Ee}=N(48135);const we=N(3080);const{tryRunOrWebpackError:Ie}=N(3728);const Me=N(22352);const Te=N(63272);const Ne=N(76150);const Be=N(58159);const{last:Le,someInIterable:je}=N(11539);const ze=N(14146);const{compareModulesByIdentifier:Ue}=N(68673);const qe=N(35891);const{intersectRuntime:Ge}=N(37416);const He=N(99371);const We=N(3711);const chunkHasJs=(E,R)=>{if(R.getNumberOfEntryModules(E)>0)return true;return R.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,R)=>{const N=R.split("\n");const $=`${N.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${N.map(((E,R,N)=>{const j=`${R+1}`;return`${" ".repeat($-j.length)}${j} | ${E}`})).join("\n")}`};const Ve=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ve.get(E);if(R===undefined){R={renderModuleContent:new $(["source","module","renderContext"]),renderModuleContainer:new $(["source","module","renderContext"]),renderModulePackage:new $(["source","module","renderContext"]),render:new $(["source","renderContext"]),renderContent:new $(["source","renderContext"]),renderStartup:new $(["source","module","startupRenderContext"]),renderChunk:new $(["source","renderContext"]),renderMain:new $(["source","renderContext"]),renderRequire:new $(["code","renderContext"]),inlineInRuntimeBailout:new q(["module","renderContext"]),embedInRuntimeBailout:new q(["module","renderContext"]),strictRuntimeBailout:new q(["renderContext"]),chunkHash:new j(["chunk","hash","context"]),useSourceMap:new q(["chunk","renderContext"])};Ve.set(E,R)}return R}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:R})=>{const N=JavascriptModulesPlugin.getCompilationHooks(E);R.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new We("auto")));R.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new We("script")));R.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new We("module")));R.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new He));R.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new He));R.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new He));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((R,$)=>{const{hash:j,chunk:q,chunkGraph:G,moduleGraph:ie,runtimeTemplate:ae,dependencyTemplates:le,outputOptions:_e,codeGenerationResults:Ee}=$;const we=q instanceof Me?q:null;let Ie;const Te=JavascriptModulesPlugin.getChunkFilenameTemplate(q,_e);if(we){Ie=()=>this.renderChunk({chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N)}else if(q.hasRuntime()){Ie=()=>this.renderMain({hash:j,chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N,E)}else{if(!chunkHasJs(q,G)){return R}Ie=()=>this.renderChunk({chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N)}R.push({render:Ie,filenameTemplate:Te,pathOptions:{hash:j,runtime:q.runtime,chunk:q,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:we?`hotupdatechunk${q.id}`:`chunk${q.id}`,hash:q.contentHash.javascript});return R}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,R,$)=>{N.chunkHash.call(E,R,$);if(E.hasRuntime()){this.updateHashWithBootstrap(R,{hash:"0000",chunk:E,chunkGraph:$.chunkGraph,moduleGraph:$.moduleGraph,runtimeTemplate:$.runtimeTemplate},N)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(R=>{const{chunkGraph:$,moduleGraph:j,runtimeTemplate:q,outputOptions:{hashSalt:G,hashDigest:ie,hashDigestLength:ae,hashFunction:le}}=E;const _e=qe(le);if(G)_e.update(G);if(R.hasRuntime()){this.updateHashWithBootstrap(_e,{hash:"0000",chunk:R,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},N)}else{_e.update(`${R.id} `);_e.update(R.ids?R.ids.join(","):"")}N.chunkHash.call(R,_e,{chunkGraph:$,moduleGraph:j,runtimeTemplate:q});const Ee=$.getChunkModulesIterableBySourceType(R,"javascript");if(Ee){const E=new ze;for(const N of Ee){E.add($.getModuleHash(N,R.runtime))}E.updateHash(_e)}const we=$.getChunkModulesIterableBySourceType(R,"runtime");if(we){const E=new ze;for(const N of we){E.add($.getModuleHash(N,R.runtime))}E.updateHash(_e)}const Ie=_e.digest(ie);R.contentHash.javascript=Ie.substr(0,ae)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,R,{chunkGraph:N})=>{if(!R.has(Ne.startupNoDefault)&&N.hasChunkEntryDependentChunks(E)){R.add(Ne.onChunksLoaded);R.add(Ne.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,R)=>{const N=E.codeGenerationResult.sources.get("javascript");if(N===undefined)return;const{module:$,moduleObject:j}=E;const q=N.source();const ie=G.runInThisContext(`(function(${$.moduleArgument}, ${$.exportsArgument}, __webpack_require__) {\n${q}\n/**/})`,{filename:$.identifier(),lineOffset:-1});try{ie.call(j.exports,j,j.exports,R.__webpack_require__)}catch(R){R.stack+=printGeneratedCodeForStack(E.module,q);throw R}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,R)=>{const N=E.codeGenerationResult.sources.get("runtime");if(N===undefined)return;let $=N.source();if(typeof $!=="string")$=$.toString();const j=G.runInThisContext(`(function(__webpack_require__) {\n${$}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{j.call(null,R.__webpack_require__)}catch(R){R.stack+=printGeneratedCodeForStack(E.module,$);throw R}}))}))}static getChunkFilenameTemplate(E,R){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof Me){return R.hotUpdateChunkFilename}else if(E.canBeInitial()){return R.filename}else{return R.chunkFilename}}renderModule(E,R,N,$){const{chunk:j,chunkGraph:q,runtimeTemplate:G,codeGenerationResults:ae,strictMode:le}=R;try{const _e=ae.get(E,j.runtime);const we=_e.sources.get("javascript");if(!we)return null;if(_e.data!==undefined){const E=_e.data.get("chunkInitFragments");if(E){for(const N of E)R.chunkInitFragments.push(N)}}const Me=Ie((()=>N.renderModuleContent.call(we,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Te;if($){const $=q.getModuleRuntimeRequirements(E,j.runtime);const ae=$.has(Ne.module);const _e=$.has(Ne.exports);const we=$.has(Ne.require)||$.has(Ne.requireScope);const Be=$.has(Ne.thisAsExports);const Le=E.buildInfo.strict&&!le;const je=this._moduleFactoryCache.get(Me);let ze;if(je&&je.needModule===ae&&je.needExports===_e&&je.needRequire===we&&je.needThisAsExports===Be&&je.needStrict===Le){ze=je.source}else{const R=new ie;const N=[];if(_e||we||ae)N.push(ae?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(_e||we)N.push(_e?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(we)N.push("__webpack_require__");if(!Be&&G.supportsArrowFunction()){R.add("/***/ (("+N.join(", ")+") => {\n\n")}else{R.add("/***/ (function("+N.join(", ")+") {\n\n")}if(Le){R.add('"use strict";\n')}R.add(Me);R.add("\n\n/***/ })");ze=new Ee(R);this._moduleFactoryCache.set(Me,{source:ze,needModule:ae,needExports:_e,needRequire:we,needThisAsExports:Be,needStrict:Le})}Te=Ie((()=>N.renderModuleContainer.call(ze,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Te=Me}return Ie((()=>N.renderModulePackage.call(Te,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(R){R.module=E;throw R}}renderChunk(E,R){const{chunk:N,chunkGraph:$}=E;const j=$.getOrderedChunkModulesIterableBySourceType(N,"javascript",Ue);const q=j?Array.from(j):[];let G;let ae=E.strictMode;if(!ae&&q.every((E=>E.buildInfo.strict))){const N=R.strictRuntimeBailout.call(E);G=N?`// runtime can't be in strict mode because ${N}.\n`:'"use strict";\n';if(!N)ae=true}const le={...E,chunkInitFragments:[],strictMode:ae};const Ee=Be.renderChunkModules(le,q,(E=>this.renderModule(E,le,R,true)))||new _e("{}");let we=Ie((()=>R.renderChunk.call(Ee,le)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");we=Ie((()=>R.renderContent.call(we,le)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!we){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}we=Te.addToSource(we,le.chunkInitFragments,le);we=Ie((()=>R.render.call(we,le)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!we){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}N.rendered=true;return G?new ie(G,we,";"):E.runtimeTemplate.isModule()?we:new ie(we,";")}renderMain(E,R,N){const{chunk:$,chunkGraph:j,runtimeTemplate:q}=E;const G=j.getTreeRuntimeRequirements($);const Ee=q.isIIFE();const we=this.renderBootstrap(E,R);const Me=R.useSourceMap.call($,E);const je=Array.from(j.getOrderedChunkModulesIterableBySourceType($,"javascript",Ue)||[]);const ze=j.getNumberOfEntryModules($)>0;let qe;if(we.allowInlineStartup&&ze){qe=new Set(j.getChunkEntryModulesIterable($))}let Ge=new ie;let He;if(Ee){if(q.supportsArrowFunction()){Ge.add("/******/ (() => { // webpackBootstrap\n")}else{Ge.add("/******/ (function() { // webpackBootstrap\n")}He="/******/ \t"}else{He="/******/ "}let We=E.strictMode;if(!We&&je.every((E=>E.buildInfo.strict))){const N=R.strictRuntimeBailout.call(E);if(N){Ge.add(He+`// runtime can't be in strict mode because ${N}.\n`)}else{We=true;Ge.add(He+'"use strict";\n')}}const Ve={...E,chunkInitFragments:[],strictMode:We};const Ke=Be.renderChunkModules(Ve,qe?je.filter((E=>!qe.has(E))):je,(E=>this.renderModule(E,Ve,R,true)),He);if(Ke||G.has(Ne.moduleFactories)||G.has(Ne.moduleFactoriesAddOnly)||G.has(Ne.require)){Ge.add(He+"var __webpack_modules__ = (");Ge.add(Ke||"{}");Ge.add(");\n");Ge.add("/************************************************************************/\n")}if(we.header.length>0){const E=Be.asString(we.header)+"\n";Ge.add(new le(He,Me?new ae(E,"webpack/bootstrap"):new _e(E)));Ge.add("/************************************************************************/\n")}const Qe=E.chunkGraph.getChunkRuntimeModulesInOrder($);if(Qe.length>0){Ge.add(new le(He,Be.renderRuntimeModules(Qe,Ve)));Ge.add("/************************************************************************/\n");for(const E of Qe){N.codeGeneratedModules.add(E)}}if(qe){if(we.beforeStartup.length>0){const E=Be.asString(we.beforeStartup)+"\n";Ge.add(new le(He,Me?new ae(E,"webpack/before-startup"):new _e(E)))}const N=Le(qe);const Ee=new ie;Ee.add(`var __webpack_exports__ = {};\n`);for(const G of qe){const ie=this.renderModule(G,Ve,R,false);if(ie){const ae=!We&&G.buildInfo.strict;const le=j.getModuleRuntimeRequirements(G,$.runtime);const _e=le.has(Ne.exports);const we=_e&&G.exportsArgument==="__webpack_exports__";let Ie=ae?"it need to be in strict mode.":qe.size>1?"it need to be isolated against other entry modules.":Ke?"it need to be isolated against other modules in the chunk.":_e&&!we?`it uses a non-standard name for the exports (${G.exportsArgument}).`:R.embedInRuntimeBailout.call(G,E);let Me;if(Ie!==undefined){Ee.add(`// This entry need to be wrapped in an IIFE because ${Ie}\n`);const E=q.supportsArrowFunction();if(E){Ee.add("(() => {\n");Me="\n})();\n\n"}else{Ee.add("!function() {\n");Me="\n}();\n"}if(ae)Ee.add('"use strict";\n')}else{Me="\n"}if(_e){if(G!==N)Ee.add(`var ${G.exportsArgument} = {};\n`);else if(G.exportsArgument!=="__webpack_exports__")Ee.add(`var ${G.exportsArgument} = __webpack_exports__;\n`)}Ee.add(ie);Ee.add(Me)}}if(G.has(Ne.onChunksLoaded)){Ee.add(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);\n`)}Ge.add(R.renderStartup.call(Ee,N,{...E,inlined:true}));if(we.afterStartup.length>0){const E=Be.asString(we.afterStartup)+"\n";Ge.add(new le(He,Me?new ae(E,"webpack/after-startup"):new _e(E)))}}else{const N=Le(j.getChunkEntryModulesIterable($));const q=Me?(E,R)=>new ae(Be.asString(E),R):E=>new _e(Be.asString(E));Ge.add(new le(He,new ie(q(we.beforeStartup,"webpack/before-startup"),"\n",R.renderStartup.call(q(we.startup.concat(""),"webpack/startup"),N,{...E,inlined:false}),q(we.afterStartup,"webpack/after-startup"),"\n")))}if(ze&&G.has(Ne.returnExportsFromRuntime)){Ge.add(`${He}return __webpack_exports__;\n`)}if(Ee){Ge.add("/******/ })()\n")}let Je=Ie((()=>R.renderMain.call(Ge,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Je=Ie((()=>R.renderContent.call(Je,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Je=Te.addToSource(Je,Ve.chunkInitFragments,Ve);Je=Ie((()=>R.render.call(Je,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}$.rendered=true;return Ee?new ie(Je,";"):Je}updateHashWithBootstrap(E,R,N){const $=this.renderBootstrap(R,N);for(const R of Object.keys($)){E.update(R);if(Array.isArray($[R])){for(const N of $[R]){E.update(N)}}else{E.update(JSON.stringify($[R]))}}}renderBootstrap(E,R){const{chunkGraph:N,moduleGraph:$,chunk:j,runtimeTemplate:q}=E;const G=N.getTreeRuntimeRequirements(j);const ie=G.has(Ne.require);const ae=G.has(Ne.moduleCache);const le=G.has(Ne.moduleFactories);const _e=G.has(Ne.module);const Ee=G.has(Ne.requireScope);const we=G.has(Ne.interceptModuleExecution);const Ie=ie||we||_e;const Me={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Te,startup:Le,beforeStartup:ze,afterStartup:Ue}=Me;if(Me.allowInlineStartup&&le){Le.push("// module factories are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&ae){Le.push("// module cache are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&we){Le.push("// module execution is intercepted so entry inlining is disabled");Me.allowInlineStartup=false}if(Ie||ae){Te.push("// The module cache");Te.push("var __webpack_module_cache__ = {};");Te.push("")}if(Ie){Te.push("// The require function");Te.push(`function __webpack_require__(moduleId) {`);Te.push(Be.indent(this.renderRequire(E,R)));Te.push("}");Te.push("")}else if(G.has(Ne.requireScope)){Te.push("// The require scope");Te.push("var __webpack_require__ = {};");Te.push("")}if(le||G.has(Ne.moduleFactoriesAddOnly)){Te.push("// expose the modules object (__webpack_modules__)");Te.push(`${Ne.moduleFactories} = __webpack_modules__;`);Te.push("")}if(ae){Te.push("// expose the module cache");Te.push(`${Ne.moduleCache} = __webpack_module_cache__;`);Te.push("")}if(we){Te.push("// expose the module execution interceptor");Te.push(`${Ne.interceptModuleExecution} = [];`);Te.push("")}if(!G.has(Ne.startupNoDefault)){if(N.getNumberOfEntryModules(j)>0){const G=[];const ie=N.getTreeRuntimeRequirements(j);G.push("// Load entry module and return exports");let ae=N.getNumberOfEntryModules(j);for(const[le,_e]of N.getChunkEntryModulesWithChunkGroupIterable(j)){const we=_e.chunks.filter((E=>E!==j));if(Me.allowInlineStartup&&we.length>0){G.push("// This entry module depends on other loaded chunks and execution need to be delayed");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&je($.getIncomingConnectionsByOriginModule(le),(([E,R])=>E&&R.some((E=>E.isTargetActive(j.runtime)))&&je(N.getModuleRuntimes(E),(E=>Ge(E,j.runtime)!==undefined))))){G.push("// This entry module is referenced by other modules so it can't be inlined");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&(!le.buildInfo||!le.buildInfo.topLevelDeclarations)){G.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");Me.allowInlineStartup=false}if(Me.allowInlineStartup){const N=R.inlineInRuntimeBailout.call(le,E);if(N!==undefined){G.push(`// This entry module can't be inlined because ${N}`);Me.allowInlineStartup=false}}ae--;const Te=N.getModuleId(le);const Be=N.getModuleRuntimeRequirements(le,j.runtime);let Le=JSON.stringify(Te);if(ie.has(Ne.entryModuleId)){Le=`${Ne.entryModuleId} = ${Le}`}if(Me.allowInlineStartup&&Be.has(Ne.module)){Me.allowInlineStartup=false;G.push("// This entry module used 'module' so it can't be inlined")}if(we.length>0){G.push(`${ae===0?"var __webpack_exports__ = ":""}${Ne.onChunksLoaded}(undefined, ${JSON.stringify(we.map((E=>E.id)))}, ${q.returningFunction(`__webpack_require__(${Le})`)})`)}else if(Ie){G.push(`${ae===0?"var __webpack_exports__ = ":""}__webpack_require__(${Le});`)}else{if(ae===0)G.push("var __webpack_exports__ = {};");if(Ee){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Be.has(Ne.exports)){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"});`)}else{G.push(`__webpack_modules__[${Le}]();`)}}}if(ie.has(Ne.onChunksLoaded)){G.push(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);`)}if(ie.has(Ne.startup)||ie.has(Ne.startupOnlyBefore)&&ie.has(Ne.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.basicFunction("",[...G,"return __webpack_exports__;"])};`);Te.push("");Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}else if(ie.has(Ne.startupOnlyBefore)){Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.emptyFunction()};`);ze.push("// run runtime startup");ze.push(`${Ne.startup}();`);Le.push("// startup");Le.push(Be.asString(G))}else if(ie.has(Ne.startupOnlyAfter)){Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// startup");Le.push(Be.asString(G));Ue.push("// run runtime startup");Ue.push(`${Ne.startup}();`)}else{Le.push("// startup");Le.push(Be.asString(G))}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Te.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Ne.startup} = ${q.emptyFunction()};`,"")}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}return Me}renderRequire(E,R){const{chunk:N,chunkGraph:$,runtimeTemplate:{outputOptions:j}}=E;const q=$.getTreeRuntimeRequirements(N);const G=q.has(Ne.interceptModuleExecution)?Be.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Ne.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):q.has(Ne.thisAsExports)?Be.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Be.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ie=q.has(Ne.moduleId);const ae=q.has(Ne.moduleLoaded);const le=Be.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",j.strictModuleErrorHandling?Be.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Be.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Be.indent([ie?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",j.strictModuleExceptionHandling?Be.asString(["// Execute the module function","var threw = true;","try {",Be.indent([G,"threw = false;"]),"} finally {",Be.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):j.strictModuleErrorHandling?Be.asString(["// Execute the module function","try {",Be.indent(G),"} catch(e) {",Be.indent(["module.error = e;","throw e;"]),"}"]):Be.asString(["// Execute the module function",G]),ae?Be.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Ie((()=>R.renderRequire.call(le,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,R,N)=>{"use strict";const{Parser:$}=N(14150);const{importAssertions:j}=N(3385);const{SyncBailHook:q,HookMap:G}=N(92960);const ie=N(26144);const ae=N(2172);const le=N(80371);const _e=N(31017);const Ee=N(91671);const we=N(87250);const Ie=[];const Me=1;const Te=2;const Ne=3;const Be=$.extend(j);class VariableInfo{constructor(E,R,N){this.declaredScope=E;this.freeName=R;this.tagInfo=N}}const joinRanges=(E,R)=>{if(!R)return E;if(!E)return R;return[E[0],R[1]]};const objectAndMembersToName=(E,R)=>{let N=E;for(let E=R.length-1;E>=0;E--){N=N+"."+R[E]}return N};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Le={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const je=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const ze={options:null,errors:null};class JavascriptParser extends ae{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new G((()=>new q(["expression"]))),evaluate:new G((()=>new q(["expression"]))),evaluateIdentifier:new G((()=>new q(["expression"]))),evaluateDefinedIdentifier:new G((()=>new q(["expression"]))),evaluateCallExpressionMember:new G((()=>new q(["expression","param"]))),isPure:new G((()=>new q(["expression","commentsStartPosition"]))),preStatement:new q(["statement"]),blockPreStatement:new q(["declaration"]),statement:new q(["statement"]),statementIf:new q(["statement"]),classExtendsExpression:new q(["expression","classDefinition"]),classBodyElement:new q(["element","classDefinition"]),classBodyValue:new q(["expression","element","classDefinition"]),label:new G((()=>new q(["statement"]))),import:new q(["statement","source"]),importSpecifier:new q(["statement","source","exportName","identifierName"]),export:new q(["statement"]),exportImport:new q(["statement","source"]),exportDeclaration:new q(["statement","declaration"]),exportExpression:new q(["statement","declaration"]),exportSpecifier:new q(["statement","identifierName","exportName","index"]),exportImportSpecifier:new q(["statement","source","identifierName","exportName","index"]),preDeclarator:new q(["declarator","statement"]),declarator:new q(["declarator","statement"]),varDeclaration:new G((()=>new q(["declaration"]))),varDeclarationLet:new G((()=>new q(["declaration"]))),varDeclarationConst:new G((()=>new q(["declaration"]))),varDeclarationVar:new G((()=>new q(["declaration"]))),pattern:new G((()=>new q(["pattern"]))),canRename:new G((()=>new q(["initExpression"]))),rename:new G((()=>new q(["initExpression"]))),assign:new G((()=>new q(["expression"]))),assignMemberChain:new G((()=>new q(["expression","members"]))),typeof:new G((()=>new q(["expression"]))),importCall:new q(["expression"]),topLevelAwait:new q(["expression"]),call:new G((()=>new q(["expression"]))),callMemberChain:new G((()=>new q(["expression","members"]))),memberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new q(["optionalChaining"]),new:new G((()=>new q(["expression"]))),expression:new G((()=>new q(["expression"]))),expressionMemberChain:new G((()=>new q(["expression","members"]))),unhandledExpressionMemberChain:new G((()=>new q(["expression","members"]))),expressionConditionalOperator:new q(["expression"]),expressionLogicalOperator:new q(["expression"]),program:new q(["ast","comments"]),finish:new q(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const R=E;switch(typeof R.value){case"number":return(new we).setNumber(R.value).setRange(R.range);case"bigint":return(new we).setBigInt(R.value).setRange(R.range);case"string":return(new we).setString(R.value).setRange(R.range);case"boolean":return(new we).setBoolean(R.value).setRange(R.range)}if(R.value===null){return(new we).setNull().setRange(R.range)}if(R.value instanceof RegExp){return(new we).setRegExp(R.value).setRange(R.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const R=E;const N=R.callee;if(N.type!=="Identifier"||N.name!=="RegExp"||R.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let $,j;const q=R.arguments[0];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;$=E.asString();if(!$)return}else{return(new we).setRegExp(new RegExp("")).setRange(R.range)}const G=R.arguments[1];if(G){if(G.type==="SpreadElement")return;const E=this.evaluateExpression(G);if(!E)return;if(!E.isUndefined()){j=E.asString();if(j===undefined||!we.isValidRegExpFlags(j))return}}return(new we).setRegExp(j?new RegExp($,j):new RegExp($)).setRange(R.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.left);if(!N)return;let $=false;let j;if(R.operator==="&&"){const E=N.asBool();if(E===false)return N.setRange(R.range);$=E===true;j=false}else if(R.operator==="||"){const E=N.asBool();if(E===true)return N.setRange(R.range);$=E===false;j=true}else if(R.operator==="??"){const E=N.asNullish();if(E===false)return N.setRange(R.range);if(E!==true)return;$=true}else return;const q=this.evaluateExpression(R.right);if(!q)return;if($){if(N.couldHaveSideEffects())q.setSideEffects();return q.setRange(R.range)}const G=q.asBool();if(j===true&&G===true){return(new we).setRange(R.range).setTruthy()}else if(j===false&&G===false){return(new we).setRange(R.range).setFalsy()}}));const valueAsExpression=(E,R,N)=>{switch(typeof E){case"boolean":return(new we).setBoolean(E).setSideEffects(N).setRange(R.range);case"number":return(new we).setNumber(E).setSideEffects(N).setRange(R.range);case"bigint":return(new we).setBigInt(E).setSideEffects(N).setRange(R.range);case"string":return(new we).setString(E).setSideEffects(N).setRange(R.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const R=E;const handleConstOperation=E=>{const N=this.evaluateExpression(R.left);if(!N||!N.isCompileTimeValue())return;const $=this.evaluateExpression(R.right);if(!$||!$.isCompileTimeValue())return;const j=E(N.asCompileTimeValue(),$.asCompileTimeValue());return valueAsExpression(j,R,N.couldHaveSideEffects()||$.couldHaveSideEffects())};const isAlwaysDifferent=(E,R)=>E===true&&R===false||E===false&&R===true;const handleTemplateStringCompare=(E,R,N,$)=>{const getPrefix=E=>{let R="";for(const N of E){const E=N.asString();if(E!==undefined)R+=E;else break}return R};const getSuffix=E=>{let R="";for(let N=E.length-1;N>=0;N--){const $=E[N].asString();if($!==undefined)R=$+R;else break}return R};const j=getPrefix(E.parts);const q=getPrefix(R.parts);const G=getSuffix(E.parts);const ie=getSuffix(R.parts);const ae=Math.min(j.length,q.length);const le=Math.min(G.length,ie.length);if(j.slice(0,ae)!==q.slice(0,ae)||G.slice(-le)!==ie.slice(-le)){return N.setBoolean(!$).setSideEffects(E.couldHaveSideEffects()||R.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const N=this.evaluateExpression(R.left);if(!N)return;const $=this.evaluateExpression(R.right);if(!$)return;const j=new we;j.setRange(R.range);const q=N.isCompileTimeValue();const G=$.isCompileTimeValue();if(q&&G){return j.setBoolean(E===(N.asCompileTimeValue()===$.asCompileTimeValue())).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isArray()&&$.isArray()){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isTemplateString()&&$.isTemplateString()){return handleTemplateStringCompare(N,$,j,E)}const ie=N.isPrimitiveType();const ae=$.isPrimitiveType();if(ie===false&&(q||ae===true)||ae===false&&(G||ie===true)||isAlwaysDifferent(N.asBool(),$.asBool())||isAlwaysDifferent(N.asNullish(),$.asNullish())){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const N=this.evaluateExpression(R.left);if(!N)return;const $=this.evaluateExpression(R.right);if(!$)return;const j=new we;j.setRange(R.range);const q=N.isCompileTimeValue();const G=$.isCompileTimeValue();if(q&&G){return j.setBoolean(E===(N.asCompileTimeValue()==$.asCompileTimeValue())).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isArray()&&$.isArray()){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isTemplateString()&&$.isTemplateString()){return handleTemplateStringCompare(N,$,j,E)}};if(R.operator==="+"){const E=this.evaluateExpression(R.left);if(!E)return;const N=this.evaluateExpression(R.right);if(!N)return;const $=new we;if(E.isString()){if(N.isString()){$.setString(E.string+N.string)}else if(N.isNumber()){$.setString(E.string+N.number)}else if(N.isWrapped()&&N.prefix&&N.prefix.isString()){$.setWrapped((new we).setString(E.string+N.prefix.string).setRange(joinRanges(E.range,N.prefix.range)),N.postfix,N.wrappedInnerExpressions)}else if(N.isWrapped()){$.setWrapped(E,N.postfix,N.wrappedInnerExpressions)}else{$.setWrapped(E,null,[N])}}else if(E.isNumber()){if(N.isString()){$.setString(E.number+N.string)}else if(N.isNumber()){$.setNumber(E.number+N.number)}else{return}}else if(E.isBigInt()){if(N.isBigInt()){$.setBigInt(E.bigint+N.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&N.isString()){$.setWrapped(E.prefix,(new we).setString(E.postfix.string+N.string).setRange(joinRanges(E.postfix.range,N.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&N.isNumber()){$.setWrapped(E.prefix,(new we).setString(E.postfix.string+N.number).setRange(joinRanges(E.postfix.range,N.range)),E.wrappedInnerExpressions)}else if(N.isString()){$.setWrapped(E.prefix,N,E.wrappedInnerExpressions)}else if(N.isNumber()){$.setWrapped(E.prefix,(new we).setString(N.number+"").setRange(N.range),E.wrappedInnerExpressions)}else if(N.isWrapped()){$.setWrapped(E.prefix,N.postfix,E.wrappedInnerExpressions&&N.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(N.prefix?[N.prefix]:[]).concat(N.wrappedInnerExpressions))}else{$.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,N]:[N]))}}else{if(N.isString()){$.setWrapped(null,N,[E])}else if(N.isWrapped()){$.setWrapped(null,N.postfix,N.wrappedInnerExpressions&&(N.prefix?[E,N.prefix]:[E]).concat(N.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||N.couldHaveSideEffects())$.setSideEffects();$.setRange(R.range);return $}else if(R.operator==="-"){return handleConstOperation(((E,R)=>E-R))}else if(R.operator==="*"){return handleConstOperation(((E,R)=>E*R))}else if(R.operator==="/"){return handleConstOperation(((E,R)=>E/R))}else if(R.operator==="**"){return handleConstOperation(((E,R)=>E**R))}else if(R.operator==="==="){return handleStrictEqualityComparison(true)}else if(R.operator==="=="){return handleAbstractEqualityComparison(true)}else if(R.operator==="!=="){return handleStrictEqualityComparison(false)}else if(R.operator==="!="){return handleAbstractEqualityComparison(false)}else if(R.operator==="&"){return handleConstOperation(((E,R)=>E&R))}else if(R.operator==="|"){return handleConstOperation(((E,R)=>E|R))}else if(R.operator==="^"){return handleConstOperation(((E,R)=>E^R))}else if(R.operator===">>>"){return handleConstOperation(((E,R)=>E>>>R))}else if(R.operator===">>"){return handleConstOperation(((E,R)=>E>>R))}else if(R.operator==="<<"){return handleConstOperation(((E,R)=>E<E"){return handleConstOperation(((E,R)=>E>R))}else if(R.operator==="<="){return handleConstOperation(((E,R)=>E<=R))}else if(R.operator===">="){return handleConstOperation(((E,R)=>E>=R))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const R=E;const handleConstOperation=E=>{const N=this.evaluateExpression(R.argument);if(!N||!N.isCompileTimeValue())return;const $=E(N.asCompileTimeValue());return valueAsExpression($,R,N.couldHaveSideEffects())};if(R.operator==="typeof"){switch(R.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,R.argument.name,R);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(R.argument),R);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,R.argument,R);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,R.argument.expression,R);if(E!==undefined)return E;break}case"FunctionExpression":{return(new we).setString("function").setRange(R.range)}}const E=this.evaluateExpression(R.argument);if(E.isUnknown())return;if(E.isString()){return(new we).setString("string").setRange(R.range)}if(E.isWrapped()){return(new we).setString("string").setSideEffects().setRange(R.range)}if(E.isUndefined()){return(new we).setString("undefined").setRange(R.range)}if(E.isNumber()){return(new we).setString("number").setRange(R.range)}if(E.isBigInt()){return(new we).setString("bigint").setRange(R.range)}if(E.isBoolean()){return(new we).setString("boolean").setRange(R.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new we).setString("object").setRange(R.range)}if(E.isArray()){return(new we).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(R.range)}}else if(R.operator==="!"){const E=this.evaluateExpression(R.argument);if(!E)return;const N=E.asBool();if(typeof N!=="boolean")return;return(new we).setBoolean(!N).setSideEffects(E.couldHaveSideEffects()).setRange(R.range)}else if(R.operator==="~"){return handleConstOperation((E=>~E))}else if(R.operator==="+"){return handleConstOperation((E=>+E))}else if(R.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new we).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,R)=>{let N=undefined;let $=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const j=E;const q=R(E);if(q!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,q.name,(E=>{N=j;$=q}),(E=>{const R=this.hooks.evaluateDefinedIdentifier.get(E);if(R!==undefined){return R.call(j)}}),j)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const j=N===E?$:R(E);if(j!==undefined){return(new we).setIdentifier(j.name,j.rootInfo,j.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{N=$=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const R=this.getVariableInfo(E.name);if(typeof R==="string"||R instanceof VariableInfo&&typeof R.freeName==="string"){return{name:R,rootInfo:R,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const R=this.getVariableInfo("this");if(typeof R==="string"||R instanceof VariableInfo&&typeof R.freeName==="string"){return{name:R,rootInfo:R,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const R=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),R)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,Te)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const R=E;if(R.callee.type!=="MemberExpression"||R.callee.property.type!==(R.callee.computed?"Literal":"Identifier")){return}const N=this.evaluateExpression(R.callee.object);if(!N)return;const $=R.callee.property.type==="Literal"?`${R.callee.property.value}`:R.callee.property.name;const j=this.hooks.evaluateCallExpressionMember.get($);if(j!==undefined){return j.call(R,N)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length===0)return;const[N,$]=E.arguments;if(N.type==="SpreadElement")return;const j=this.evaluateExpression(N);if(!j.isString())return;const q=j.string;let G;if($){if($.type==="SpreadElement")return;const E=this.evaluateExpression($);if(!E.isNumber())return;G=R.string.indexOf(q,E.number)}else{G=R.string.indexOf(q)}return(new we).setNumber(G).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let N=this.evaluateExpression(E.arguments[0]);let $=this.evaluateExpression(E.arguments[1]);if(!N.isString()&&!N.isRegExp())return;const j=N.regExp||N.string;if(!$.isString())return;const q=$.string;return(new we).setString(R.string.replace(j,q)).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((R,N)=>{if(!N.isString())return;let $;let j,q=N.string;switch(R.arguments.length){case 1:if(R.arguments[0].type==="SpreadElement")return;$=this.evaluateExpression(R.arguments[0]);if(!$.isNumber())return;j=q[E]($.number);break;case 2:{if(R.arguments[0].type==="SpreadElement")return;if(R.arguments[1].type==="SpreadElement")return;$=this.evaluateExpression(R.arguments[0]);const N=this.evaluateExpression(R.arguments[1]);if(!$.isNumber())return;if(!N.isNumber())return;j=q[E]($.number,N.number);break}default:return}return(new we).setString(j).setSideEffects(N.couldHaveSideEffects()).setRange(R.range)}))}));const getSimplifiedTemplateResult=(E,R)=>{const N=[];const $=[];for(let j=0;j0){const E=$[$.length-1];const N=this.evaluateExpression(R.expressions[j-1]);const ie=N.asString();if(typeof ie==="string"&&!N.couldHaveSideEffects()){E.setString(E.string+ie+G);E.setRange([E.range[0],q.range[1]]);E.setExpression(undefined);continue}$.push(N)}const ie=(new we).setString(G).setRange(q.range).setExpression(q);N.push(ie);$.push(ie)}return{quasis:N,parts:$}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const R=E;const{quasis:N,parts:$}=getSimplifiedTemplateResult("cooked",R);if($.length===1){return $[0].setRange(R.range)}return(new we).setTemplateString(N,$,"cooked").setRange(R.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.tag);if(N.isIdentifier()&&N.identifier!=="String.raw")return;const{quasis:$,parts:j}=getSimplifiedTemplateResult("raw",R.quasi);return(new we).setTemplateString($,j,"raw").setRange(R.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,R)=>{if(!R.isString()&&!R.isWrapped())return;let N=null;let $=false;const j=[];for(let R=E.arguments.length-1;R>=0;R--){const q=E.arguments[R];if(q.type==="SpreadElement")return;const G=this.evaluateExpression(q);if($||!G.isString()&&!G.isNumber()){$=true;j.push(G);continue}const ie=G.isString()?G.string:""+G.number;const ae=ie+(N?N.string:"");const le=[G.range[0],(N||G).range[1]];N=(new we).setString(ae).setSideEffects(N&&N.couldHaveSideEffects()||G.couldHaveSideEffects()).setRange(le)}if($){const $=R.isString()?R:R.prefix;const q=R.isWrapped()&&R.wrappedInnerExpressions?R.wrappedInnerExpressions.concat(j.reverse()):j.reverse();return(new we).setWrapped($,N,q).setRange(E.range)}else if(R.isWrapped()){const $=N||R.postfix;const q=R.wrappedInnerExpressions?R.wrappedInnerExpressions.concat(j.reverse()):j.reverse();return(new we).setWrapped(R.prefix,$,q).setRange(E.range)}else{const $=R.string+(N?N.string:"");return(new we).setString($).setSideEffects(N&&N.couldHaveSideEffects()||R.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let N;const $=this.evaluateExpression(E.arguments[0]);if($.isString()){N=R.string.split($.string)}else if($.isRegExp()){N=R.string.split($.regExp)}else{return}return(new we).setArray(N).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.test);const $=N.asBool();let j;if($===undefined){const E=this.evaluateExpression(R.consequent);const N=this.evaluateExpression(R.alternate);if(!E||!N)return;j=new we;if(E.isConditional()){j.setOptions(E.options)}else{j.setOptions([E])}if(N.isConditional()){j.addOptions(N.options)}else{j.addOptions([N])}}else{j=this.evaluateExpression($?R.consequent:R.alternate);if(N.couldHaveSideEffects())j.setSideEffects()}j.setRange(R.range);return j}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const R=E;const N=R.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!N.every(Boolean))return;return(new we).setItems(N).setRange(R.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const R=E;const N=[];let $=R.expression;while($.type==="MemberExpression"||$.type==="CallExpression"){if($.type==="MemberExpression"){if($.optional){N.push($.object)}$=$.object}else{if($.optional){N.push($.callee)}$=$.callee}}while(N.length>0){const R=N.pop();const $=this.evaluateExpression(R);if($&&$.asNullish()){return $.setRange(E.range)}}return this.evaluateExpression(R.expression)}))}getRenameIdentifier(E){const R=this.evaluateExpression(E);if(R&&R.isIdentifier()){return R.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const R of E.body.body){if(!this.hooks.classBodyElement.call(R,E)){if(R.computed&&R.key){this.walkExpression(R.key)}if(R.value){if(!this.hooks.classBodyValue.call(R.value,R,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(R.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let R=0,N=E.length;R{const R=E.body;const N=this.prevStatement;this.blockPreWalkStatements(R);this.prevStatement=N;this.walkStatements(R)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const R=this.hooks.statementIf.call(E);if(R===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(R){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const R=this.hooks.label.get(E.label.name);if(R!==undefined){const N=R.call(E);if(N===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const R=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}blockPreWalkImportDeclaration(E){const R=E.source.value;this.hooks.import.call(E,R);for(const N of E.specifiers){const $=N.local.name;switch(N.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,R,"default",$)){this.defineVariable($)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,R,N.imported.name,$)){this.defineVariable($)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,R,null,$)){this.defineVariable($)}break;default:this.defineVariable($)}}}enterDeclaration(E,R){switch(E.type){case"VariableDeclaration":for(const N of E.declarations){switch(N.type){case"VariableDeclarator":{this.enterPattern(N.id,R);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,R);break;case"ClassDeclaration":this.enterPattern(E.id,R);break}}blockPreWalkExportNamedDeclaration(E){let R;if(E.source){R=E.source.value;this.hooks.exportImport.call(E,R)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const R=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=R;this.blockPreWalkStatement(E.declaration);let N=0;this.enterDeclaration(E.declaration,(R=>{this.hooks.exportSpecifier.call(E,R,R,N++)}))}}if(E.specifiers){for(let N=0;N{let $=R.get(E);if($===undefined||!$.call(N)){$=this.hooks.varDeclaration.get(E);if($===undefined||!$.call(N)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{const N=R.init&&this.getRenameIdentifier(R.init);if(N&&R.id.type==="Identifier"){const E=this.hooks.canRename.get(N);if(E!==undefined&&E.call(R.init)){const E=this.hooks.rename.get(N);if(E===undefined||!E.call(R.init)){this.setVariable(R.id.name,N)}break}}if(!this.hooks.declarator.call(R,E)){this.walkPattern(R.id);if(R.init)this.walkExpression(R.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let R=0,N=E.length;R{const R=E.length;for(let N=0;N0){const E=this.prevStatement;this.blockPreWalkStatements(R.consequent);this.prevStatement=E}}for(let N=0;N0){this.walkStatements(R.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const R=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let R=0,N=E.properties.length;R{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}walkArrowFunctionExpression(E){const R=this.scope.topLevelScope;this.scope.topLevelScope=R?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}walkSequenceExpression(E){if(!E.expressions)return;const R=this.statementPath[this.statementPath.length-1];if(R===E||R.type==="ExpressionStatement"&&R.expression===E){const R=this.statementPath.pop();for(const R of E.expressions){this.statementPath.push(R);this.walkExpression(R);this.statementPath.pop()}this.statementPath.push(R)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const R=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(R===true)return;if(E.argument.type==="ChainExpression"){const R=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(R===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const R=this.hooks.expressionLogicalOperator.call(E);if(R===undefined){this.walkLeftRightExpression(E)}else{if(R){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const R=this.getRenameIdentifier(E.right);if(R){if(this.callHooksForInfo(this.hooks.canRename,R,E.right)){if(!this.callHooksForInfo(this.hooks.rename,R,E.right)){this.setVariable(E.left.name,this.getVariableInfo(R))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((R,N)=>{if(!this.callHooksForName(this.hooks.assign,R,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((R,N)=>{if(!this.callHooksForName(this.hooks.assign,R,E)){this.defineVariable(R)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const R=this.getMemberExpressionInfo(E.left,Te);if(R){if(this.callHooksForInfo(this.hooks.assignMemberChain,R.rootInfo,E,R.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const R=this.hooks.expressionConditionalOperator.call(E);if(R===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(R){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const R=this.callHooksForExpression(this.hooks.new,E.callee,E);if(R===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const R=this.hooks.optionalChaining.call(E);if(R===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,R,N){const getVarInfo=E=>{const R=this.getRenameIdentifier(E);if(R){if(this.callHooksForInfo(this.hooks.canRename,R,E)){if(!this.callHooksForInfo(this.hooks.rename,R,E)){return this.getVariableInfo(R)}}}this.walkExpression(E)};const{params:$,type:j}=E;const q=j==="ArrowFunctionExpression";const G=N?getVarInfo(N):null;const ie=R.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&q?"arrow":false;const le=$.filter(((E,R)=>!ie[R]));if(E.id){le.push(E.id.name)}this.inFunctionScope(true,le,(()=>{if(G&&!q){this.setVariable("this",G)}for(let E=0;EE.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const R=this.getMemberExpressionInfo(E.callee,Me);if(R&&R.type==="call"){const N=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,R.rootInfo,E,R.getCalleeMembers(),R.call,R.getMembers());if(N===true)return}}const R=this.evaluateExpression(E.callee);if(R.isIdentifier()){const N=this.callHooksForInfo(this.hooks.callMemberChain,R.rootInfo,E,R.getMembers());if(N===true)return;const $=this.callHooksForInfo(this.hooks.call,R.identifier,E);if($===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const R=this.getMemberExpressionInfo(E,Ne);if(R){switch(R.type){case"expression":{const N=this.callHooksForInfo(this.hooks.expression,R.name,E);if(N===true)return;const $=R.getMembers();const j=this.callHooksForInfo(this.hooks.expressionMemberChain,R.rootInfo,E,$);if(j===true)return;this.walkMemberExpressionWithExpressionName(E,R.name,R.rootInfo,$.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,R.rootInfo,E,$)));return}case"call":{const N=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,R.rootInfo,E,R.getCalleeMembers(),R.call,R.getMembers());if(N===true)return;this.walkExpression(R.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,R,N,$,j){if(E.object.type==="MemberExpression"){const q=E.property.name||`${E.property.value}`;R=R.slice(0,-q.length-1);$.pop();const G=this.callHooksForInfo(this.hooks.expression,R,E.object);if(G===true)return;this.walkMemberExpressionWithExpressionName(E.object,R,N,$,j)}else if(!j||!j()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,R,...N){return this.callHooksForExpressionWithFallback(E,R,undefined,undefined,...N)}callHooksForExpressionWithFallback(E,R,N,$,...j){const q=this.getMemberExpressionInfo(R,Te);if(q!==undefined){const R=q.getMembers();return this.callHooksForInfoWithFallback(E,R.length===0?q.rootInfo:q.name,N&&(E=>N(E,q.rootInfo,q.getMembers)),$&&(()=>$(q.name)),...j)}}callHooksForName(E,R,...N){return this.callHooksForNameWithFallback(E,R,undefined,undefined,...N)}callHooksForInfo(E,R,...N){return this.callHooksForInfoWithFallback(E,R,undefined,undefined,...N)}callHooksForInfoWithFallback(E,R,N,$,...j){let q;if(typeof R==="string"){q=R}else{if(!(R instanceof VariableInfo)){if($!==undefined){return $()}return}let N=R.tagInfo;while(N!==undefined){const R=E.get(N.tag);if(R!==undefined){this.currentTagData=N.data;const E=R.call(...j);this.currentTagData=undefined;if(E!==undefined)return E}N=N.next}if(R.freeName===true){if($!==undefined){return $()}return}q=R.freeName}const G=E.get(q);if(G!==undefined){const E=G.call(...j);if(E!==undefined)return E}if(N!==undefined){return N(q)}}callHooksForNameWithFallback(E,R,N,$,...j){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(R),N,$,...j)}inScope(E,R){const N=this.scope;this.scope={topLevelScope:N.topLevelScope,inTry:false,inShorthand:false,isStrict:N.isStrict,isAsmJs:N.isAsmJs,definitions:N.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,R)=>{this.defineVariable(E)}));R();this.scope=N}inFunctionScope(E,R,N){const $=this.scope;this.scope={topLevelScope:$.topLevelScope,inTry:false,inShorthand:false,isStrict:$.isStrict,isAsmJs:$.isAsmJs,definitions:$.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(R,((E,R)=>{this.defineVariable(E)}));N();this.scope=$}inBlockScope(E){const R=this.scope;this.scope={topLevelScope:R.topLevelScope,inTry:R.inTry,inShorthand:false,isStrict:R.isStrict,isAsmJs:R.isAsmJs,definitions:R.definitions.createChild()};E();this.scope=R}detectMode(E){const R=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(R&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(R&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,R){for(const N of E){if(typeof N!=="string"){this.enterPattern(N,R)}else if(N){R(N)}}}enterPattern(E,R){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,R);break;case"AssignmentPattern":this.enterAssignmentPattern(E,R);break;case"Identifier":this.enterIdentifier(E,R);break;case"ObjectPattern":this.enterObjectPattern(E,R);break;case"RestElement":this.enterRestElement(E,R);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,R);this.scope.inShorthand=false}else{this.enterPattern(E.value,R)}break}}enterIdentifier(E,R){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){R(E.name,E)}}enterObjectPattern(E,R){for(let N=0,$=E.properties.length;N<$;N++){const $=E.properties[N];this.enterPattern($,R)}}enterArrayPattern(E,R){for(let N=0,$=E.elements.length;N<$;N++){const $=E.elements[N];this.enterPattern($,R)}}enterRestElement(E,R){this.enterPattern(E.argument,R)}enterAssignmentPattern(E,R){this.enterPattern(E.left,R)}evaluateExpression(E){try{const R=this.hooks.evaluate.get(E.type);if(R!==undefined){const N=R.call(E);if(N!==undefined){if(N){N.setExpression(E)}return N}}}catch(E){console.warn(E)}return(new we).setRange(E.range).setExpression(E)}parseString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){return this.parseString(E.left)+this.parseString(E.right)}break;case"Literal":return E.value+""}throw new Error(E.type+" is not supported as parameter for require")}parseCalculatedString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){const R=this.parseCalculatedString(E.left);const N=this.parseCalculatedString(E.right);if(R.code){return{range:R.range,value:R.value,code:true,conditional:false}}else if(N.code){return{range:[R.range[0],N.range?N.range[1]:R.range[1]],value:R.value+N.value,code:true,conditional:false}}else{return{range:[R.range[0],N.range[1]],value:R.value+N.value,code:false,conditional:false}}}break;case"ConditionalExpression":{const R=this.parseCalculatedString(E.consequent);const N=this.parseCalculatedString(E.alternate);const $=[];if(R.conditional){$.push(...R.conditional)}else if(!R.code){$.push(R)}else{break}if(N.conditional){$.push(...N.conditional)}else if(!N.code){$.push(N)}else{break}return{range:undefined,value:"",code:true,conditional:$}}case"Literal":return{range:E.range,value:E.value+"",code:false,conditional:false}}return{range:undefined,value:"",code:true,conditional:false}}parse(E,R){let N;let $;const j=new Set;if(E===null){throw new Error("source must not be null")}if(Buffer.isBuffer(E)){E=E.toString("utf-8")}if(typeof E==="object"){N=E;$=E.comments}else{$=[];N=JavascriptParser._parse(E,{sourceType:this.sourceType,onComment:$,onInsertedSemicolon:E=>j.add(E)})}const q=this.scope;const G=this.state;const ie=this.comments;const ae=this.semicolons;const _e=this.statementPath;const Ee=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new le};this.state=R;this.comments=$;this.semicolons=j;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(N,$)===undefined){this.detectMode(N.body);this.preWalkStatements(N.body);this.prevStatement=undefined;this.blockPreWalkStatements(N.body);this.prevStatement=undefined;this.walkStatements(N.body)}this.hooks.finish.call(N,$);this.scope=q;this.state=G;this.comments=ie;this.semicolons=ae;this.statementPath=_e;this.prevStatement=Ee;return R}evaluate(E){const R=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(R.body.length!==1||R.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(R.body[0].expression)}isPure(E,R){if(!E)return true;const N=this.hooks.isPure.for(E.type).call(E,R);if(typeof N==="boolean")return N;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const R=E.body.body;return R.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,R)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const N=this.isPure(E,R);R=E.range[1];return N}));case"CallExpression":{const N=E.range[0]-R>12&&this.getComments([R,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!N)return false;R=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const N=this.isPure(E,R);R=E.range[1];return N}))}}const $=this.evaluateExpression(E);return!$.couldHaveSideEffects()}getComments(E){const[R,N]=E;const compare=(E,R)=>E.range[0]-R;let $=_e.ge(this.comments,R,compare);let j=[];while(this.comments[$]&&this.comments[$].range[1]<=N){j.push(this.comments[$]);$++}return j}isAsiPosition(E){const R=this.statementPath[this.statementPath.length-1];if(R===undefined)throw new Error("Not in statement");return R.range[1]===E&&this.semicolons.has(E)||R.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const R=this.statementPath[this.statementPath.length-1];return E===R||R.type==="ExpressionStatement"&&R.expression===E}getTagData(E,R){const N=this.scope.definitions.get(E);if(N instanceof VariableInfo){let E=N.tagInfo;while(E!==undefined){if(E.tag===R)return E.data;E=E.next}}}tagVariable(E,R,N){const $=this.scope.definitions.get(E);let j;if($===undefined){j=new VariableInfo(this.scope,E,{tag:R,data:N,next:undefined})}else if($ instanceof VariableInfo){j=new VariableInfo($.declaredScope,$.freeName,{tag:R,data:N,next:$.tagInfo})}else{j=new VariableInfo($,true,{tag:R,data:N,next:undefined})}this.scope.definitions.set(E,j)}defineVariable(E){const R=this.scope.definitions.get(E);if(R instanceof VariableInfo&&R.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const R=this.scope.definitions.get(E);if(R===undefined)return false;if(R instanceof VariableInfo){return R.freeName===true}return true}getVariableInfo(E){const R=this.scope.definitions.get(E);if(R===undefined){return E}else{return R}}setVariable(E,R){if(typeof R==="string"){if(R===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,R,undefined))}}else{this.scope.definitions.set(E,R)}}parseCommentOptions(E){const R=this.getComments(E);if(R.length===0){return ze}let N={};let $=[];for(const E of R){const{value:R}=E;if(R&&je.test(R)){try{const E=ie.runInNewContext(`(function(){return {${R}};})()`);Object.assign(N,E)}catch(R){R.comment=E;$.push(R)}}}return{options:N,errors:$}}extractMemberExpressionChain(E){let R=E;const N=[];while(R.type==="MemberExpression"){if(R.computed){if(R.property.type!=="Literal")break;N.push(`${R.property.value}`)}else{if(R.property.type!=="Identifier")break;N.push(R.property.name)}R=R.object}return{members:N,object:R}}getFreeInfoFromVariable(E){const R=this.getVariableInfo(E);let N;if(R instanceof VariableInfo){N=R.freeName;if(typeof N!=="string")return undefined}else if(typeof R!=="string"){return undefined}else{N=R}return{info:R,name:N}}getMemberExpressionInfo(E,R){const{object:N,members:$}=this.extractMemberExpressionChain(E);switch(N.type){case"CallExpression":{if((R&Me)===0)return undefined;let E=N.callee;let j=Ie;if(E.type==="MemberExpression"){({object:E,members:j}=this.extractMemberExpressionChain(E))}const q=getRootName(E);if(!q)return undefined;const G=this.getFreeInfoFromVariable(q);if(!G)return undefined;const{info:ie,name:ae}=G;const le=objectAndMembersToName(ae,j);return{type:"call",call:N,calleeName:le,rootInfo:ie,getCalleeMembers:Ee((()=>j.reverse())),name:objectAndMembersToName(`${le}()`,$),getMembers:Ee((()=>$.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((R&Te)===0)return undefined;const E=getRootName(N);if(!E)return undefined;const j=this.getFreeInfoFromVariable(E);if(!j)return undefined;const{info:q,name:G}=j;return{type:"expression",name:objectAndMembersToName(G,$),rootInfo:q,getMembers:Ee((()=>$.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,Te)}static _parse(E,R){const N=R?R.sourceType:"module";const $={...Le,allowReturnOutsideFunction:N==="script",...R,sourceType:N==="auto"?"module":N};let j;let q;let G=false;try{j=Be.parse(E,$)}catch(E){q=E;G=true}if(G&&N==="auto"){$.sourceType="script";if(!("allowReturnOutsideFunction"in R)){$.allowReturnOutsideFunction=true}if(Array.isArray($.onComment)){$.onComment.length=0}try{j=Be.parse(E,$);G=false}catch(E){}}if(G){throw q}return j}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ne;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Te;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=Me},48472:(E,R,N)=>{"use strict";const $=N(53558);const j=N(66298);const q=N(87250);R.toConstantDependency=(E,R,N)=>function constDependency($){const q=new j(R,$.range,N);q.loc=$.loc;E.state.module.addPresentationalDependency(q);return true};R.evaluateToString=E=>function stringExpression(R){return(new q).setString(E).setRange(R.range)};R.evaluateToNumber=E=>function stringExpression(R){return(new q).setNumber(E).setRange(R.range)};R.evaluateToBoolean=E=>function booleanExpression(R){return(new q).setBoolean(E).setRange(R.range)};R.evaluateToIdentifier=(E,R,N,$)=>function identifierExpression(j){let G=(new q).setIdentifier(E,R,N).setSideEffects(false).setRange(j.range);switch($){case true:G.setTruthy();break;case null:G.setNullish(true);break;case false:G.setFalsy();break}return G};R.expressionIsUnsupported=(E,R)=>function unsupportedExpression(N){const q=new j("(void 0)",N.range,null);q.loc=N.loc;E.state.module.addPresentationalDependency(q);if(!E.state.module)return;E.state.module.addWarning(new $(R,N.loc));return true};R.skipTraversal=()=>true;R.approve=()=>true},13085:(E,R,N)=>{"use strict";const $=N(71452);const j=N(76150);const q=N(58159);const{isSubset:G}=N(26221);const{chunkHasJs:ie}=N(18161);const getAllChunks=(E,R,N)=>{const j=new Set([E]);const q=new Set;for(const E of j){for(const $ of E.chunks){if($===R)continue;if($===N)continue;q.add($)}for(const R of E.parentsIterable){if(R instanceof $)j.add(R)}}return q};const ae="var __webpack_exports__ = ";R.generateEntryStartup=(E,R,N,$,ie)=>{const le=[`var __webpack_exec__ = ${R.returningFunction(`__webpack_require__(${j.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,N,$)=>{if(E.size===0){le.push(`${$?ae:""}(${N.map(runModule).join(", ")});`)}else{const q=R.returningFunction(N.map(runModule).join(", "));le.push(`${$&&!ie?ae:""}${ie?j.onChunksLoaded:j.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${q});`);if($&&ie){le.push(`${ae}${j.onChunksLoaded}();`)}}};let _e=undefined;let Ee=undefined;for(const[R,j]of N){const N=j.getRuntimeChunk();const q=E.getModuleId(R);const ie=getAllChunks(j,$,N);if(_e&&_e.size===ie.size&&G(_e,ie)){Ee.push(q)}else{if(_e){outputCombination(_e,Ee)}_e=ie;Ee=[q]}}if(_e){outputCombination(_e,Ee,true)}le.push("");return q.asString(le)};R.updateHashForEntryStartup=(E,R,N,$)=>{for(const[j,q]of N){const N=q.getRuntimeChunk();const G=R.getModuleId(j);E.update(`${G}`);for(const R of getAllChunks(q,$,N))E.update(`${R.id}`)}};R.getInitialChunkIds=(E,R)=>{const N=new Set(E.ids);for(const $ of E.getAllInitialChunks()){if($===E||ie($,R))continue;for(const E of $.ids)N.add(E)}return N}},72055:(E,R,N)=>{"use strict";const{register:$}=N(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}$(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:R}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}R(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(77294);const{UsageState:q}=N(76632);const G=N(36253);const ie=N(76150);const stringifySafe=E=>{const R=JSON.stringify(E);if(!R){return undefined}return R.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,R,N)=>{if(R.otherExportsInfo.getUsed(N)!==q.Unused)return E;const $=Array.isArray(E);const j=$?[]:{};for(const $ of Object.keys(E)){const G=R.getReadOnlyExportInfo($);const ie=G.getUsed(N);if(ie===q.Unused)continue;let ae;if(ie===q.OnlyPropertiesUsed&&G.exportsInfo){ae=createObjectForExportsInfo(E[$],G.exportsInfo,N)}else{ae=E[$]}const le=G.getUsedName($,N);j[le]=ae}if($){let $=R.getReadOnlyExportInfo("length").getUsed(N)!==q.Unused?E.length:undefined;let G=0;for(let E=0;E20&&typeof we==="object"?`JSON.parse('${Ie.replace(/[\\']/g,"\\$&")}')`:Ie;let Te;if(le){Te=`${N.supportsConst()?"const":"var"} ${j.NAMESPACE_OBJECT_EXPORT} = ${Me};`;le.registerNamespaceExport(j.NAMESPACE_OBJECT_EXPORT)}else{G.add(ie.module);Te=`${E.moduleArgument}.exports = ${Me};`}return new $(Te)}}E.exports=JsonGenerator},9483:(E,R,N)=>{"use strict";const $=N(35817);const j=N(79279);const q=N(79232);const G=$(N(71633),(()=>N(89408)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:R})=>{R.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{G(E);return new q(E)}));R.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new j))}))}}E.exports=JsonModulesPlugin},79232:(E,R,N)=>{"use strict";const $=N(78688);const j=N(2172);const q=N(38895);const G=N(72055);class JsonParser extends j{constructor(E){super();this.options=E||{}}parse(E,R){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const N=typeof this.options.parse==="function"?this.options.parse:$;const j=typeof E==="object"?E:N(E[0]==="\ufeff"?E.slice(1):E);R.module.buildInfo.jsonData=new G(j);R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="default";R.module.buildMeta.defaultObject=typeof j==="object"?"redirect-warn":false;R.module.addDependency(new q(q.getExportsFromData(j)));return R}}E.exports=JsonParser},9786:(E,R,N)=>{"use strict";const $=N(76150);const j=N(18161);const q="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:R}){this._pluginName=E;this._type=R;this._parseCache=new WeakMap}apply(E){const{_pluginName:R}=this;E.hooks.thisCompilation.tap(R,(E=>{E.hooks.finishModules.tap({name:R,stage:10},(()=>{for(const[R,{dependencies:N,options:{library:$}}]of E.entries){const j=this._parseOptionsCached($!==undefined?$:E.outputOptions.library);if(j!==false){const $=N[N.length-1];if($){const N=E.moduleGraph.getModule($);if(N){this.finishEntryModule(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=R=>{if(E.chunkGraph.getNumberOfEntryModules(R)===0)return false;const N=R.getEntryOptions();const $=N&&N.library;return this._parseOptionsCached($!==undefined?$:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(R,((R,N,{chunkGraph:$})=>{const j=getOptionsForChunk(R);if(j!==false){this.runtimeRequirements(R,N,{options:j,compilation:E,chunkGraph:$})}}))}const N=j.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){N.render.tap(R,((R,N)=>{const $=getOptionsForChunk(N.chunk);if($===false)return R;return this.render(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){N.embedInRuntimeBailout.tap(R,((R,N)=>{const $=getOptionsForChunk(N.chunk);if($===false)return;return this.embedInRuntimeBailout(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){N.strictRuntimeBailout.tap(R,(R=>{const N=getOptionsForChunk(R.chunk);if(N===false)return;return this.strictRuntimeBailout(R,{options:N,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){N.renderStartup.tap(R,((R,N,$)=>{const j=getOptionsForChunk($.chunk);if(j===false)return R;return this.renderStartup(R,N,$,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}N.chunkHash.tap(R,((R,N,$)=>{const j=getOptionsForChunk(R);if(j===false)return;this.chunkHash(R,N,$,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const R=this._parseCache.get(E);if(R!==undefined)return R;const N=this.parseOptions(E);this._parseCache.set(E,N);return N}parseOptions(E){const R=N(75884);throw new R}finishEntryModule(E,R,N){}embedInRuntimeBailout(E,R,N){return undefined}strictRuntimeBailout(E,R){return undefined}runtimeRequirements(E,R,N){if(this.render!==AbstractLibraryPlugin.prototype.render)R.add($.returnExportsFromRuntime)}render(E,R,N){return E}renderStartup(E,R,N,$){return E}chunkHash(E,R,N,$){const j=this._parseOptionsCached($.compilation.outputOptions.library);R.update(this._pluginName);R.update(JSON.stringify(j))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=q;E.exports=AbstractLibraryPlugin},17982:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(16734);const q=N(58159);const G=N(9786);class AmdLibraryPlugin extends G{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:R}=E;if(this.requireAsWrapper){if(R){throw new Error(`AMD library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(R&&typeof R!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:R}}render(E,{chunkGraph:R,chunk:N,runtimeTemplate:G},{options:ie,compilation:ae}){const le=G.supportsArrowFunction();const _e=R.getChunkModules(N).filter((E=>E instanceof j));const Ee=_e;const we=JSON.stringify(Ee.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ie=Ee.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${R.getModuleId(E)}`)}__`)).join(", ");const Me=G.isIIFE();const Te=(le?`(${Ie}) => {`:`function(${Ie}) {`)+(Me||!N.hasRuntime()?" return ":"\n");const Ne=Me?";\n}":"\n}";if(this.requireAsWrapper){return new $(`require(${we}, ${Te}`,E,`${Ne});`)}else if(ie.name){const R=ae.getPath(ie.name,{chunk:N});return new $(`define(${JSON.stringify(R)}, ${we}, ${Te}`,E,`${Ne});`)}else if(Ie){return new $(`define(${we}, ${Te}`,E,`${Ne});`)}else{return new $(`define(${Te}`,E,`${Ne});`)}}chunkHash(E,R,N,{options:$,compilation:j}){R.update("AmdLibraryPlugin");if(this.requireAsWrapper){R.update("requireAsWrapper")}else if($.name){R.update("named");const N=j.getPath($.name,{chunk:E});R.update(N)}}}E.exports=AmdLibraryPlugin},69444:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(58159);const G=N(68038);const{getEntryRuntime:ie}=N(37416);const ae=N(9786);const le=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const _e=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!le.test(E)&&_e.test(E);const accessWithInit=(E,R,N=false)=>{const $=E[0];if(E.length===1&&!N)return $;let j=R>0?$:`(${$} = typeof ${$} === "undefined" ? {} : ${$})`;let q=1;let ie;if(R>q){ie=E.slice(1,R);q=R;j+=G(ie)}else{ie=[]}const ae=N?E.length:E.length-1;for(;qN.getPath(E,{chunk:R})))}render(E,{chunk:R},{options:N,compilation:j}){const G=this._getResolvedFullName(N,R,j);if(this.declare){const R=G[0];if(!isNameValid(R)){throw new Error(`Library name base (${R}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${q.toIdentifier(R)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new $(`${this.declare} ${R};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:R},{options:N,compilation:$}){const j=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!j)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(N,R,$);const G=q[0];if(j.has(G))return`it declares '${G}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:R,compilation:N}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!R.name){return}return"a global variable is assign and maybe created"}renderStartup(E,R,{chunk:N},{options:j,compilation:q}){const ie=this._getResolvedFullName(j,N,q);const ae=j.export?G(Array.isArray(j.export)?j.export:[j.export]):"";const le=new $(E);if(j.name?this.named==="copy":this.unnamed==="copy"){le.add(`var __webpack_export_target__ = ${accessWithInit(ie,this._getPrefix(q).length,true)};\n`);let E="__webpack_exports__";if(ae){le.add(`var __webpack_exports_export__ = __webpack_exports__${ae};\n`);E="__webpack_exports_export__"}le.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);le.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{le.add(`${accessWithInit(ie,this._getPrefix(q).length,false)} = __webpack_exports__${ae};\n`)}return le}runtimeRequirements(E,R,N){}chunkHash(E,R,N,{options:$,compilation:j}){R.update("AssignLibraryPlugin");const q=this.prefix==="global"?[j.outputOptions.globalObject]:this.prefix;const G=$.name?q.concat($.name):q;const ie=G.map((R=>j.getPath(R,{chunk:E})));if($.name?this.named==="copy":this.unnamed==="copy"){R.update("copy")}if(this.declare){R.update(this.declare)}R.update(ie.join("."));if($.export){R.update(`${$.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Library type "${R}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){const enableExportProperty=()=>{const $=N(97140);new $({type:R,nsObjectUsed:R!=="module"}).apply(E)};switch(R){case"var":{const $=N(69444);new $({type:R,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const $=N(69444);new $({type:R,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const $=N(69444);new $({type:R,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const $=N(69444);new $({type:R,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const $=N(69444);new $({type:R,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const $=N(69444);new $({type:R,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const $=N(69444);new $({type:R,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const $=N(69444);new $({type:R,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const $=N(69444);new $({type:R,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const $=N(17982);new $({type:R,requireAsWrapper:R==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const $=N(76456);new $({type:R,optionalAmdExternalAsGlobal:R==="umd2"}).apply(E);break}case"system":{enableExportProperty();const $=N(59405);new $({type:R}).apply(E);break}case"jsonp":{enableExportProperty();const $=N(63154);new $({type:R}).apply(E);break}case"module":{enableExportProperty();const $=N(68111);new $({type:R}).apply(E);break}default:throw new Error(`Unsupported library type ${R}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(68038);const{getEntryRuntime:G}=N(37416);const ie=N(9786);class ExportPropertyLibraryPlugin extends ie{constructor({type:E,nsObjectUsed:R}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=R}parseOptions(E){return{export:E.export}}finishEntryModule(E,R,{options:N,compilation:$,compilation:{moduleGraph:q}}){const ie=G($,R);if(N.export){const R=q.getExportInfo(E,Array.isArray(N.export)?N.export[0]:N.export);R.setUsed(j.Used,ie);R.canMangleUse=false}else{const R=q.getExportsInfo(E);if(this.nsObjectUsed){R.setUsedInUnknownWay(ie)}else{R.setAllKnownExportsUsed(ie)}}q.addExtraReason(E,"used as library export")}runtimeRequirements(E,R,N){}renderStartup(E,R,N,{options:j}){if(!j.export)return E;const G=`__webpack_exports__ = __webpack_exports__${q(Array.isArray(j.export)?j.export:[j.export])};\n`;return new $(E,G)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(9786);class JsonpLibraryPlugin extends j{constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(typeof R!=="string"){throw new Error(`Jsonp library name must be a simple string. ${j.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}render(E,{chunk:R},{options:N,compilation:j}){const q=j.getPath(N.name,{chunk:R});return new $(`${q}(`,E,")")}chunkHash(E,R,N,{options:$,compilation:j}){R.update("JsonpLibraryPlugin");R.update(j.getPath($.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(58159);const q=N(68038);const G=N(9786);class ModuleLibraryPlugin extends G{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(R){throw new Error(`Library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}renderStartup(E,R,{moduleGraph:N,chunk:G},{options:ie,compilation:ae}){const le=new $(E);const _e=N.getExportsInfo(R);const Ee=[];const we=N.isAsync(R);if(we){le.add(`__webpack_exports__ = await __webpack_exports__;\n`)}for(const E of _e.orderedExports){if(!E.provided)continue;const R=`__webpack_exports__${j.toIdentifier(E.name)}`;le.add(`var ${R} = __webpack_exports__${q([E.getUsedName(E.name,G.runtime)])};\n`);Ee.push(`${R} as ${E.name}`)}if(Ee.length>0){le.add(`export { ${Ee.join(", ")} };\n`)}return le}}E.exports=ModuleLibraryPlugin},59405:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(16734);const G=N(58159);const ie=N(68038);const ae=N(9786);class SystemLibraryPlugin extends ae{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(R&&typeof R!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}render(E,{chunkGraph:R,moduleGraph:N,chunk:ae},{options:le,compilation:_e}){const Ee=R.getChunkModules(ae).filter((E=>E instanceof q&&E.externalType==="system"));const we=Ee;const Ie=le.name?`${JSON.stringify(_e.getPath(le.name,{chunk:ae}))}, `:"";const Me=JSON.stringify(we.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Te="__WEBPACK_DYNAMIC_EXPORT__";const Ne=we.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${R.getModuleId(E)}`)}__`));const Be=Ne.map((E=>`var ${E} = {};`)).join("\n");const Le=[];const je=Ne.length===0?"":G.asString(["setters: [",G.indent(we.map(((E,R)=>{const $=Ne[R];const q=N.getExportsInfo(E);const le=q.otherExportsInfo.getUsed(ae.runtime)===j.Unused;const _e=[];const Ee=[];for(const E of q.orderedExports){const R=E.getUsedName(undefined,ae.runtime);if(R){if(le||R!==E.name){_e.push(`${$}${ie([R])} = module${ie([E.name])};`);Ee.push(E.name)}}else{Ee.push(E.name)}}if(!le){if(!Array.isArray(E.request)||E.request.length===1){Le.push(`Object.defineProperty(${$}, "__esModule", { value: true });`)}if(Ee.length>0){const E=`${$}handledNames`;Le.push(`var ${E} = ${JSON.stringify(Ee)};`);_e.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`if(${E}.indexOf(key) >= 0)`,G.indent(`${$}[key] = module[key];`)]),"});"]))}else{_e.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`${$}[key] = module[key];`]),"});"]))}}if(_e.length===0)return"function() {}";return G.asString(["function(module) {",G.indent(_e),"}"])})).join(",\n")),"],"]);return new $(G.asString([`System.register(${Ie}${Me}, function(${Te}, __system_context__) {`,G.indent([Be,G.asString(Le),"return {",G.indent([je,"execute: function() {",G.indent(`${Te}(`)])]),""]),E,G.asString(["",G.indent([G.indent([G.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,R,N,{options:$,compilation:j}){R.update("SystemLibraryPlugin");if($.name){R.update(j.getPath($.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,R,N)=>{"use strict";const{ConcatSource:$,OriginalSource:j}=N(48135);const q=N(16734);const G=N(58159);const ie=N(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,R,N=", ")=>{const $=Array.isArray(R)?R:[R];return $.map(((R,N)=>{const j=E?E+accessorToObjectAccess($.slice(0,N+1)):$[0]+accessorToObjectAccess($.slice(1,N+1));if(N===$.length-1)return j;if(N===0&&E===undefined)return`${j} = typeof ${j} === "object" ? ${j} : {}`;return`${j} = ${j} || {}`})).join(N)};class UmdLibraryPlugin extends ie{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let R;let N;if(typeof E.name==="object"&&!Array.isArray(E.name)){R=E.name.root||E.name.amd||E.name.commonjs;N=E.name}else{R=E.name;const $=Array.isArray(R)?R[0]:R;N={commonjs:$,root:E.name,amd:$}}return{name:R,names:N,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:R,runtimeTemplate:N,chunk:ie,moduleGraph:ae},{options:le,compilation:_e}){const Ee=R.getChunkModules(ie).filter((E=>E instanceof q&&(E.externalType==="umd"||E.externalType==="umd2")));let we=Ee;const Ie=[];let Me=[];if(this.optionalAmdExternalAsGlobal){for(const E of we){if(E.isOptional(ae)){Ie.push(E)}else{Me.push(E)}}we=Me.concat(Ie)}else{Me=we}const replaceKeys=E=>_e.getPath(E,{chunk:ie});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let R=E.request;if(typeof R==="object")R=R.root;return`root${accessorToObjectAccess([].concat(R))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(we.map((R=>{let N;let $=R.request;if(typeof $==="object"){$=$[E]}if($===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray($)){N=`require(${JSON.stringify($[0])})${accessorToObjectAccess($.slice(1))}`}else{N=`require(${JSON.stringify($)})`}if(R.isOptional(ae)){N=`(function webpackLoadOptionalExternalModule() { try { return ${N}; } catch(e) {} }())`}return N})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${R.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Te;if(Ie.length>0){const E=externalsArguments(Me);const R=Me.length>0?externalsArguments(Me)+", "+externalsRootArray(Ie):externalsRootArray(Ie);Te=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${R});\n`+"\t\t}"}else{Te="factory"}const{auxiliaryComment:Ne,namedDefine:Be,names:Le}=le;const getAuxiliaryComment=E=>{if(Ne){if(typeof Ne==="string")return"\t//"+Ne+"\n";if(Ne[E])return"\t//"+Ne[E]+"\n"}return""};return new $(new j("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(Me.length>0?Le.amd&&Be===true?"\t\tdefine("+libraryName(Le.amd)+", "+externalsDepsArray(Me)+", "+Te+");\n":"\t\tdefine("+externalsDepsArray(Me)+", "+Te+");\n":Le.amd&&Be===true?"\t\tdefine("+libraryName(Le.amd)+", [], "+Te+");\n":"\t\tdefine([], "+Te+");\n")+(Le.root||Le.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Le.commonjs||Le.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Le.root||Le.commonjs))+" = factory("+externalsRootArray(we)+");\n":"\telse {\n"+(we.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(we)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${N.outputOptions.globalObject}, function(${externalsArguments(we)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,R)=>{"use strict";const N=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});R.LogType=N;const $=Symbol("webpack logger raw log method");const j=Symbol("webpack logger times");const q=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,R){this[$]=E;this.getChildLogger=R}error(...E){this[$](N.error,E)}warn(...E){this[$](N.warn,E)}info(...E){this[$](N.info,E)}log(...E){this[$](N.log,E)}debug(...E){this[$](N.debug,E)}assert(E,...R){if(!E){this[$](N.error,R)}}trace(){this[$](N.trace,["Trace"])}clear(){this[$](N.clear)}status(...E){this[$](N.status,E)}group(...E){this[$](N.group,E)}groupCollapsed(...E){this[$](N.groupCollapsed,E)}groupEnd(...E){this[$](N.groupEnd,E)}profile(E){this[$](N.profile,[E])}profileEnd(E){this[$](N.profileEnd,[E])}time(E){this[j]=this[j]||new Map;this[j].set(E,process.hrtime())}timeLog(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const q=process.hrtime(R);this[$](N.time,[E,...q])}timeEnd(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const q=process.hrtime(R);this[j].delete(E);this[$](N.time,[E,...q])}timeAggregate(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const N=process.hrtime(R);this[j].delete(E);this[q]=this[q]||new Map;const $=this[q].get(E);if($!==undefined){if(N[1]+$[1]>1e9){N[0]+=$[0]+1;N[1]=N[1]-1e9+$[1]}else{N[0]+=$[0];N[1]+=$[1]}}this[q].set(E,N)}timeAggregateEnd(E){if(this[q]===undefined)return;const R=this[q].get(E);if(R===undefined)return;this[q].delete(E);this[$](N.time,[E,...R])}}R.Logger=WebpackLogger},70108:(E,R,N)=>{"use strict";const{LogType:$}=N(78539);const filterToFunction=E=>{if(typeof E==="string"){const R=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>R.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return R=>E.test(R)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const j={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:R=false,console:N})=>{const q=typeof R==="boolean"?[()=>R]:[].concat(R).map(filterToFunction);const G=j[`${E}`]||0;const logger=(E,R,ie)=>{const labeledArgs=()=>{if(Array.isArray(ie)){if(ie.length>0&&typeof ie[0]==="string"){return[`[${E}] ${ie[0]}`,...ie.slice(1)]}else{return[`[${E}]`,...ie]}}else{return[]}};const ae=q.some((R=>R(E)));switch(R){case $.debug:if(!ae)return;if(typeof N.debug==="function"){N.debug(...labeledArgs())}else{N.log(...labeledArgs())}break;case $.log:if(!ae&&G>j.log)return;N.log(...labeledArgs());break;case $.info:if(!ae&&G>j.info)return;N.info(...labeledArgs());break;case $.warn:if(!ae&&G>j.warn)return;N.warn(...labeledArgs());break;case $.error:if(!ae&&G>j.error)return;N.error(...labeledArgs());break;case $.trace:if(!ae)return;N.trace();break;case $.groupCollapsed:if(!ae&&G>j.log)return;if(!ae&&G>j.verbose){if(typeof N.groupCollapsed==="function"){N.groupCollapsed(...labeledArgs())}else{N.log(...labeledArgs())}break}case $.group:if(!ae&&G>j.log)return;if(typeof N.group==="function"){N.group(...labeledArgs())}else{N.log(...labeledArgs())}break;case $.groupEnd:if(!ae&&G>j.log)return;if(typeof N.groupEnd==="function"){N.groupEnd()}break;case $.time:{if(!ae&&G>j.log)return;const R=ie[1]*1e3+ie[2]/1e6;const $=`[${E}] ${ie[0]}: ${R} ms`;if(typeof N.logTime==="function"){N.logTime($)}else{N.log($)}break}case $.profile:if(typeof N.profile==="function"){N.profile(...labeledArgs())}break;case $.profileEnd:if(typeof N.profileEnd==="function"){N.profileEnd(...labeledArgs())}break;case $.clear:if(!ae&&G>j.log)return;if(typeof N.clear==="function"){N.clear()}break;case $.status:if(!ae&&G>j.info)return;if(typeof N.status==="function"){if(ie.length===0){N.status()}else{N.status(...labeledArgs())}}else{if(ie.length!==0){N.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${R}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let R=0;for(const N of E)R+=N;return R};const truncateArgs=(E,R)=>{const N=E.map((E=>`${E}`.length));const $=R-N.length+1;if($>0&&E.length===1){if($>=E[0].length){return E}else if($>3){return["..."+E[0].slice(-$+3)]}else{return[E[0].slice(-$)]}}if($Math.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),R);return[]}let j=arraySum(N);if(j<=$)return E;while(j>$){const E=Math.max(...N);const R=N.filter((R=>R!==E));const q=R.length>0?Math.max(...R):0;const G=E-q;let ie=N.length-R.length;let ae=j-$;for(let R=0;R{const $=`${E}`;const j=N[R];if($.length===j){return $}else if(j>5){return"..."+$.slice(-j+3)}else if(j>0){return $.slice(-j)}else{return""}}))};E.exports=truncateArgs},82827:(E,R,N)=>{"use strict";const $=N(76150);const j=N(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const R=this._asyncChunkLoading?N(26020):N(75491);const q=this._asyncChunkLoading?"async-node":"require";new j({chunkLoading:q,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const $=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return $===q};const j=new WeakSet;const handler=(N,q)=>{if(j.has(N))return;j.add(N);if(!isEnabledForChunk(N))return;q.add($.moduleFactoriesAddOnly);q.add($.hasOwnProperty);E.addRuntimeModule(N,new R(q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,R,N)=>{"use strict";const $=N(67703);const j=N(15808);const q=N(70108);const G=N(2255);const ie=N(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:R}=this.options;E.infrastructureLogger=q({level:R.level||"info",debug:R.debug||false,console:R.console||ie({colors:R.colors,appendOnly:R.appendOnly,stream:R.stream})});E.inputFileSystem=new $(j,6e4);const N=E.inputFileSystem;E.outputFileSystem=j;E.intermediateFileSystem=j;E.watchFileSystem=new G(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===N){E.fsStartTime=Date.now();N.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,R,N)=>{"use strict";const $=N(61050);const j=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new $("node-commonjs",j).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,R,N)=>{"use strict";const $=N(77314);const j=N(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const R=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=R;(new $).apply(E);new j(R).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,R,N)=>{"use strict";const $=N(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new $(this.watcherOptions)}watch(E,R,N,j,q,G,ie){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!R||typeof R[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!N||typeof N[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof G!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof j!=="number"&&j){throw new Error("Invalid arguments: 'startTime'")}if(typeof q!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ie!=="function"&&ie){throw new Error("Invalid arguments: 'callbackUndelayed'")}const ae=this.watcher;this.watcher=new $(q);if(ie){this.watcher.once("change",ie)}this.watcher.once("aggregated",((E,R)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}for(const E of R){N.purge(E)}}const N=this.watcher.getTimeInfoEntries();G(null,N,N,E,R)}));this.watcher.watch({files:E,directories:R,missing:N,startTime:j});if(ae){ae.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class ReadFileChunkLoadingRuntimeModule extends j{constructor(E){super("readFile chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:R}=this;const{runtimeTemplate:j}=this.compilation;const Ee=$.ensureChunkHandlers;const we=this.runtimeRequirements.has($.baseURI);const Ie=this.runtimeRequirements.has($.externalInstallChunk);const Me=this.runtimeRequirements.has($.onChunksLoaded);const Te=this.runtimeRequirements.has($.ensureChunkHandlers);const Ne=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has($.hmrDownloadManifest);const Le=E.getChunkConditionMap(R,G);const je=le(Le);const ze=ae(R,E);const Ue=this.compilation.getPath(ie(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const qe=_e(Ue,this.compilation.outputOptions.path,false);const Ge=Ne?`${$.hmrRuntimeStatePrefix}_readFileVm`:undefined;return q.asString([we?q.asString([`${$.baseURI} = require("url").pathToFileURL(${qe?`__dirname + ${JSON.stringify("/"+qe)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Me?`${$.onChunksLoaded}.readFileVm = ${j.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Te||Ie?`var installChunk = ${j.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${$.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",q.indent(["if(installedChunks[chunkIds[i]]) {",q.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Me?`${$.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Te?q.asString(["// ReadFile + VM.run chunk loading for javascript",`${Ee}.readFileVm = function(chunkId, promises) {`,je!==false?q.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,q.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",q.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Ie?q.asString(["module.exports = __webpack_require__;",`${$.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${$.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${$.hmrDownloadManifest} = function() {`,q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) {",q.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(34943);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:R=false}={}){this._type=E;this._import=R}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $===this._type};const N=this._import?E=>j.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",j.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>j.asString(["new Promise(function (resolve, reject) {",j.indent(["try {",j.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for($.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((R,j)=>{if(!isEnabledForChunk(R))return;const G=E.chunkGraph;if(!G.hasModuleInGraph(R,(E=>E.type==="webassembly/async"))){return}j.add($.publicPath);E.addRuntimeModule(R,new q({generateLoadBinaryCode:N,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="async-node"};const generateLoadBinaryCode=E=>j.asString(["new Promise(function (resolve, reject) {",j.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",j.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const j=E.chunkGraph;if(!j.hasModuleInGraph(R,(E=>E.type==="webassembly/sync"))){return}N.add($.moduleCache);E.addRuntimeModule(R,new q({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:N}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class RequireChunkLoadingRuntimeModule extends j{constructor(E){super("require chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:R}=this;const{runtimeTemplate:j}=this.compilation;const Ee=$.ensureChunkHandlers;const we=this.runtimeRequirements.has($.baseURI);const Ie=this.runtimeRequirements.has($.externalInstallChunk);const Me=this.runtimeRequirements.has($.onChunksLoaded);const Te=this.runtimeRequirements.has($.ensureChunkHandlers);const Ne=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has($.hmrDownloadManifest);const Le=E.getChunkConditionMap(R,G);const je=le(Le);const ze=ae(R,E);const Ue=this.compilation.getPath(ie(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const qe=_e(Ue,this.compilation.outputOptions.path,true);const Ge=Ne?`${$.hmrRuntimeStatePrefix}_require`:undefined;return q.asString([we?q.asString([`${$.baseURI} = require("url").pathToFileURL(${qe!=="./"?`__dirname + ${JSON.stringify("/"+qe)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Me?`${$.onChunksLoaded}.require = ${j.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Te||Ie?`var installChunk = ${j.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${$.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",q.indent("installedChunks[chunkIds[i]] = 1;"),Me?`${$.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Te?q.asString(["// require() chunk loading for javascript",`${Ee}.require = ${j.basicFunction("chunkId, promises",je!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,q.indent([`installChunk(require(${JSON.stringify(qe)} + ${$.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Ie?q.asString(["module.exports = __webpack_require__;",`${$.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent([`var update = require(${JSON.stringify(qe)} + ${$.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${$.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${$.hmrDownloadManifest} = function() {`,q.indent(["return Promise.resolve().then(function() {",q.indent([`return require(${JSON.stringify(qe)} + ${$.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,R,N)=>{"use strict";const $=N(73837);const j=N(50595);E.exports=({colors:E,appendOnly:R,stream:N})=>{let q=undefined;let G=false;let ie="";let ae=0;const indent=(R,N,$,j)=>{if(R==="")return R;N=ie+N;if(E){return N+$+R.replace(/\n/g,j+"\n"+N+$)+j}else{return N+R.replace(/\n/g,"\n"+N)}};const clearStatusMessage=()=>{if(G){N.write("\r");G=false}};const writeStatusMessage=()=>{if(!q)return;const E=N.columns;const R=E?j(q,E-1):q;const $=R.join(" ");const ie=`${$}`;N.write(`\r${ie}`);G=true};const writeColored=(E,R,j)=>(...q)=>{if(ae>0)return;clearStatusMessage();const G=indent($.format(...q),E,R,j);N.write(G+"\n");writeStatusMessage()};const le=writeColored("<-> ","","");const _e=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...E)=>{le(...E);if(ae>0){ae++}else{ie+=" "}},groupCollapsed:(...E)=>{_e(...E);ae++},groupEnd:()=>{if(ae>0)ae--;else if(ie.length>=2)ie=ie.slice(0,ie.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!R&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:R?writeColored(" ","",""):(E,...R)=>{R=R.filter(Boolean);if(E===undefined&&R.length===0){clearStatusMessage();q=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){q=[E.slice(19),...R];writeStatusMessage()}else if(E==="[webpack.Progress]"){q=[...R];writeStatusMessage()}else{q=[E,...R];writeStatusMessage()}}}}},61332:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const R=this.options;const N=R.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:$},(R=>{const $=E.chunkGraph;let j=[];for(const E of R){if(E.canBeInitial())continue;for(const N of R){if(N.canBeInitial())continue;if(N===E)break;if(!$.canChunksBeIntegrated(E,N)){continue}const R=$.getChunkSize(N,{chunkOverhead:0});const q=$.getChunkSize(E,{chunkOverhead:0});const G=$.getIntegratedChunksSize(N,E,{chunkOverhead:0});const ie=(R+q)/G;j.push({a:E,b:N,improvement:ie})}}j.sort(((E,R)=>R.improvement-E.improvement));const q=j[0];if(!q)return;if(q.improvement{"use strict";const{STAGE_ADVANCED:$}=N(82414);const{intersect:j}=N(26221);const{compareModulesByIdentifier:q,compareChunks:G}=N(68673);const ie=N(35817);const ae=N(49197);const le=ie(N(77593),(()=>N(3484)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,R,N)=>$=>{E.disconnectChunkAndModule(R,$);E.connectChunkAndModule(N,$)};const isNotAEntryModule=(E,R)=>N=>!E.isEntryModuleInChunk(N,R);const _e=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){le(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return _e.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(R=>{let N=false;let ie;let le;let Ee;R.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ie=[];le=new Set;Ee=new Map}));R.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:$},(N=>{const $=R.chunkGraph;const _e=new Map;const we=new Map;const Ie=ae.makePathsRelative.bindContextCache(E.context,E.root);for(const E of R.modules){const R=Ie(E.identifier());_e.set(R,E);we.set(E,R)}const Me=new Set;for(const E of N){Me.add(E.id)}const Te=R.records&&R.records.aggressiveSplits||[];const Ne=ie?Te.concat(ie):Te;const Be=this.options.minSize;const Le=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&Me.has(E.id)){return false}const N=E.modules.map((E=>_e.get(E)));if(!N.every(Boolean))return false;let q=0;for(const E of N)q+=E.size();if(q!==E.size)return false;const G=j(N.map((E=>new Set($.getModuleChunksIterable(E)))));if(G.size===0)return false;if(G.size===1&&$.getNumberOfChunkModules(Array.from(G)[0])===N.length){const R=Array.from(G)[0];if(le.has(R))return false;le.add(R);Ee.set(R,E);return true}const ie=R.addChunk();ie.chunkReason="aggressive splitted";for(const E of G){N.forEach(moveModuleBetween($,E,ie));E.split(ie);E.name=null}le.add(ie);Ee.set(ie,E);if(E.id!==null&&E.id!==undefined){ie.id=E.id;ie.ids=[E.id]}return true};let je=false;for(let E=0;E{const N=$.getChunkModulesSize(R)-$.getChunkModulesSize(E);if(N)return N;const j=$.getNumberOfChunkModules(E)-$.getNumberOfChunkModules(R);if(j)return j;return ze(E,R)}));for(const E of Ue){if(le.has(E))continue;const R=$.getChunkModulesSize(E);if(R>Le&&$.getNumberOfChunkModules(E)>1){const R=$.getOrderedChunkModules(E,q).filter(isNotAEntryModule($,E));const N=[];let j=0;for(let E=0;ELe&&j>=Be){break}j=q;N.push($)}if(N.length===0)continue;const G={modules:N.map((E=>we.get(E))).sort(),size:j};if(applySplit(G)){ie=(ie||[]).concat(G);je=true}}}if(je)return true}));R.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const $=new Set;const j=new Set;for(const E of R.chunks){const R=Ee.get(E);if(R!==undefined){if(R.hash&&E.hash!==R.hash){j.add(R)}}}if(j.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!j.has(E)));N=true}else{for(const E of R.chunks){const R=Ee.get(E);if(R!==undefined){R.hash=E.hash;R.id=E.id;$.add(R);_e.add(E)}}const q=R.records&&R.records.aggressiveSplits;if(q){for(const E of q){if(!j.has(E))$.add(E)}}E.aggressiveSplits=Array.from($);N=false}}));R.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(N){N=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,R,N)=>{"use strict";const $=N(19579);const j=N(36337);const{CachedSource:q,ConcatSource:G,ReplaceSource:ie}=N(48135);const ae=N(77294);const{UsageState:le}=N(76632);const _e=N(53453);const Ee=N(76150);const we=N(58159);const Ie=N(37359);const Me=N(3711);const{equals:Te}=N(73910);const Ne=N(83379);const{concatComparators:Be,keepOriginalOrder:Le}=N(68673);const je=N(35891);const{makePathsRelative:ze}=N(49197);const Ue=N(56202);const qe=N(68038);const{filterRuntime:Ge,intersectRuntime:He,mergeRuntimeCondition:We,mergeRuntimeConditionNonFalse:Ve,runtimeConditionToString:Ke,subtractRuntimeCondition:Qe}=N(37416);const Je=j;if(!Je.prototype.PropertyDefinition){Je.prototype.PropertyDefinition=Je.prototype.Property}const Xe=new Set([ae.DEFAULT_EXPORT,ae.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,R)=>{const N=E.sourceOrder;const $=R.sourceOrder;if(isNaN(N)){if(!isNaN($)){return 1}}else{if(isNaN($)){return-1}if(N!==$){return N<$?-1:1}}return 0};const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const getFinalBinding=(E,R,N,$,j,q,G,ie,ae,le,_e,Ee=new Set)=>{const Ie=R.module.getExportsType(E,le);if(N.length===0){switch(Ie){case"default-only":R.interopNamespaceObject2Used=true;return{info:R,rawName:R.interopNamespaceObject2Name,ids:N,exportName:N};case"default-with-named":R.interopNamespaceObjectUsed=true;return{info:R,rawName:R.interopNamespaceObjectName,ids:N,exportName:N};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Ie}`)}}else{switch(Ie){case"namespace":break;case"default-with-named":switch(N[0]){case"default":N=N.slice(1);break;case"__esModule":return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}break;case"default-only":{const E=N[0];if(E==="__esModule"){return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}N=N.slice(1);if(E!=="default"){return{info:R,rawName:"/* non-default import from default-exporting module */undefined",ids:N,exportName:N}}break}case"dynamic":switch(N[0]){case"default":{N=N.slice(1);R.interopDefaultAccessUsed=true;const E=ae?`${R.interopDefaultAccessName}()`:_e?`(${R.interopDefaultAccessName}())`:_e===false?`;(${R.interopDefaultAccessName}())`:`${R.interopDefaultAccessName}.a`;return{info:R,rawName:E,ids:N,exportName:N}}case"__esModule":return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}break;default:throw new Error(`Unexpected exportsType ${Ie}`)}}if(N.length===0){switch(R.type){case"concatenated":ie.add(R);return{info:R,rawName:R.namespaceObjectName,ids:N,exportName:N};case"external":return{info:R,rawName:R.name,ids:N,exportName:N}}}const Me=E.getExportsInfo(R.module);const Ne=Me.getExportInfo(N[0]);if(Ee.has(Ne)){return{info:R,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:N}}Ee.add(Ne);switch(R.type){case"concatenated":{const le=N[0];if(Ne.provided===false){ie.add(R);return{info:R,rawName:R.namespaceObjectName,ids:N,exportName:N}}const we=R.exportMap&&R.exportMap.get(le);if(we){const E=Me.getUsedName(N,j);if(!E){return{info:R,rawName:"/* unused export */ undefined",ids:N.slice(1),exportName:N}}return{info:R,name:we,ids:E.slice(1),exportName:N}}const Ie=R.rawExportMap&&R.rawExportMap.get(le);if(Ie){return{info:R,rawName:Ie,ids:N.slice(1),exportName:N}}const Te=Ne.findTarget(E,(E=>$.has(E)));if(Te===false){throw new Error(`Target module of reexport from '${R.module.readableIdentifier(q)}' is not part of the concatenation (export '${le}')\nModules in the concatenation:\n${Array.from($,(([E,R])=>` * ${R.type} ${E.readableIdentifier(q)}`)).join("\n")}`)}if(Te){const le=$.get(Te.module);return getFinalBinding(E,le,Te.export?[...Te.export,...N.slice(1)]:N.slice(1),$,j,q,G,ie,ae,R.module.buildMeta.strictHarmonyModule,_e,Ee)}if(R.namespaceExportSymbol){const E=Me.getUsedName(N,j);return{info:R,rawName:R.namespaceObjectName,ids:E,exportName:N}}throw new Error(`Cannot get final name for export '${N.join(".")}' of ${R.module.readableIdentifier(q)}`)}case"external":{const E=Me.getUsedName(N,j);if(!E){return{info:R,rawName:"/* unused export */ undefined",ids:N.slice(1),exportName:N}}const $=Te(E,N)?"":we.toNormalComment(`${N.join(".")}`);return{info:R,rawName:R.name+$,ids:E,exportName:N}}}};const getFinalName=(E,R,N,$,j,q,G,ie,ae,le,_e,Ee)=>{const we=getFinalBinding(E,R,N,$,j,q,G,ie,ae,_e,Ee);{const{ids:E,comment:R}=we;let N;let $;if("rawName"in we){N=`${we.rawName}${R||""}${qe(E)}`;$=E.length>0}else{const{info:j,name:G}=we;const ie=j.internalNames.get(G);if(!ie){throw new Error(`The export "${G}" in "${j.module.readableIdentifier(q)}" has no internal name (existing names: ${Array.from(j.internalNames,(([E,R])=>`${E}: ${R}`)).join(", ")||"none"})`)}N=`${ie}${R||""}${qe(E)}`;$=E.length>1}if($&&ae&&le===false){return Ee?`(0,${N})`:Ee===false?`;(0,${N})`:`/*#__PURE__*/Object(${N})`}return N}};const addScopeSymbols=(E,R,N,$)=>{let j=E;while(j){if(N.has(j))break;if($.has(j))break;N.add(j);for(const E of j.variables){R.add(E.name)}j=j.upper}};const getAllReferences=E=>{let R=E.references;const N=new Set(E.identifiers);for(const $ of E.scope.childScopes){for(const E of $.variables){if(E.identifiers.some((E=>N.has(E)))){R=R.concat(E.references);break}}}return R};const getPathInAst=(E,R)=>{if(E===R){return[]}const N=R.range;const enterNode=E=>{if(!E)return undefined;const $=E.range;if($){if($[0]<=N[0]&&$[1]>=N[1]){const N=getPathInAst(E,R);if(N){N.push(E);return N}}}return undefined};if(Array.isArray(E)){for(let R=0;R!(E instanceof Ie)||!this._modules.has(R.moduleGraph.getModule(E))))){this.dependencies.push(N)}for(const R of E.blocks){this.blocks.push(R)}const N=E.getWarnings();if(N!==undefined){for(const E of N){this.addWarning(E)}}const $=E.getErrors();if($!==undefined){for(const E of $){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const R=this.buildInfo.topLevelDeclarations;if(R!==undefined){for(const N of E.buildInfo.topLevelDeclarations){if(Xe.has(N))continue;R.add(N)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[R,N]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(R,N)}}}j()}size(E){let R=0;for(const N of this._modules){R+=N.size(E)}return R}_createConcatenationList(E,R,N,$){const j=[];const q=new Map;const getConcatenatedImports=R=>{let j=Array.from($.getOutgoingConnections(R));if(R===E){for(const E of $.getOutgoingConnections(this))j.push(E)}const q=j.filter((E=>{if(!(E.dependency instanceof Ie))return false;return E&&E.resolvedOriginModule===R&&E.module&&E.isTargetActive(N)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));q.sort(Be(bySourceOrder,Le(q)));const G=new Map;for(const{connection:E}of q){const R=Ge(N,(R=>E.isTargetActive(R)));if(R===false)continue;const $=E.module;const j=G.get($);if(j===undefined){G.set($,{connection:E,runtimeCondition:R});continue}j.runtimeCondition=Ve(j.runtimeCondition,R,N)}return G.values()};const enterModule=(E,$)=>{const G=E.module;if(!G)return;const ie=q.get(G);if(ie===true){return}if(R.has(G)){q.set(G,true);if($!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${G.identifier()} in ${this.rootModule.identifier()}, ${Ke($)}). This should not happen.`)}const R=getConcatenatedImports(G);for(const{connection:E,runtimeCondition:N}of R)enterModule(E,N);j.push({type:"concatenated",module:E.module,runtimeCondition:$})}else{if(ie!==undefined){const R=Qe($,ie,N);if(R===false)return;$=R;q.set(E.module,Ve(ie,$,N))}else{q.set(E.module,$)}if(j.length>0){const R=j[j.length-1];if(R.type==="external"&&R.module===E.module){R.runtimeCondition=We(R.runtimeCondition,$,N);return}}j.push({type:"external",get module(){return E.module},runtimeCondition:$})}};q.set(E,true);const G=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:R}of G)enterModule(E,R);j.push({type:"concatenated",module:E,runtimeCondition:true});return j}static _createIdentifier(E,R,N,$="md4"){const j=ze.bindContextCache(E.context,N);let q=[];for(const E of R){q.push(j(E.identifier()))}q.sort();const G=je($);G.update(q.join(" "));return E.identifier()+"|"+G.digest("hex")}addCacheDependencies(E,R,N,$){for(const j of this._modules){j.addCacheDependencies(E,R,N,$)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtime:j}){const ie=new Set;const _e=He(j,this._runtime);const we=R.requestShortener;const[Ie,Me]=this._getModulesWithInfo(N,_e);const Te=new Set;for(const j of Me.values()){this._analyseModule(Me,j,E,R,N,$,_e)}const Ne=new Set(Xe);const Be=new Map;const getUsedNamesInScopeInfo=(E,R)=>{const N=`${E}-${R}`;let $=Be.get(N);if($===undefined){$={usedNames:new Set,alreadyCheckedScopes:new Set};Be.set(N,$)}return $};const Le=new Set;for(const E of Ie){if(E.type==="concatenated"){if(E.moduleScope){Le.add(E.moduleScope)}const $=new WeakMap;const getSuperClassExpressions=E=>{const R=$.get(E);if(R!==undefined)return R;const N=[];for(const R of E.childScopes){if(R.type!=="class")continue;const E=R.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){N.push({range:E.superClass.range,variables:R.variables})}}$.set(E,N);return N};if(E.globalScope){for(const $ of E.globalScope.through){const j=$.identifier.name;if(ae.isModuleReference(j)){const q=ae.matchModuleReference(j);if(!q)continue;const G=Ie[q.index];if(G.type==="reference")throw new Error("Module reference can't point to a reference");const ie=getFinalBinding(N,G,q.ids,Me,_e,we,R,Te,false,E.module.buildMeta.strictHarmonyModule,true);if(!ie.ids)continue;const{usedNames:le,alreadyCheckedScopes:Ee}=getUsedNamesInScopeInfo(ie.info.module.identifier(),"name"in ie?ie.name:"");for(const E of getSuperClassExpressions($.from)){if(E.range[0]<=$.identifier.range[0]&&E.range[1]>=$.identifier.range[1]){for(const R of E.variables){le.add(R.name)}}}addScopeSymbols($.from,le,Ee,Le)}else{Ne.add(j)}}}}}for(const E of Me.values()){const{usedNames:R}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const R of E.moduleScope.variables){const N=R.name;const{usedNames:$,alreadyCheckedScopes:j}=getUsedNamesInScopeInfo(E.module.identifier(),N);if(Ne.has(N)||$.has(N)){const q=getAllReferences(R);for(const E of q){addScopeSymbols(E.from,$,j,Le)}const G=this.findNewName(N,Ne,$,E.module.readableIdentifier(we));Ne.add(G);E.internalNames.set(N,G);const ie=E.source;const ae=new Set(q.map((E=>E.identifier)).concat(R.identifiers));for(const R of ae){const N=R.range;const $=getPathInAst(E.ast,R);if($&&$.length>1){const E=$[1].type==="AssignmentPattern"&&$[1].left===$[0]?$[2]:$[1];if(E.type==="Property"&&E.shorthand){ie.insert(N[1],`: ${G}`);continue}}ie.replace(N[0],N[1]-1,G)}}else{Ne.add(N);E.internalNames.set(N,N)}}let N;if(E.namespaceExportSymbol){N=E.internalNames.get(E.namespaceExportSymbol)}else{N=this.findNewName("namespaceObject",Ne,R,E.module.readableIdentifier(we));Ne.add(N)}E.namespaceObjectName=N;break}case"external":{const N=this.findNewName("",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.name=N;break}}if(E.module.buildMeta.exportsType!=="namespace"){const N=this.findNewName("namespaceObject",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopNamespaceObjectName=N}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const N=this.findNewName("namespaceObject2",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopNamespaceObject2Name=N}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const N=this.findNewName("default",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopDefaultAccessName=N}}for(const E of Me.values()){if(E.type==="concatenated"){for(const $ of E.globalScope.through){const j=$.identifier.name;const q=ae.matchModuleReference(j);if(q){const j=Ie[q.index];if(j.type==="reference")throw new Error("Module reference can't point to a reference");const G=getFinalName(N,j,q.ids,Me,_e,we,R,Te,q.call,!q.directImport,E.module.buildMeta.strictHarmonyModule,q.asiSafe);const ie=$.identifier.range;const ae=E.source;ae.replace(ie[0],ie[1]+1,G)}}}}const je=new Map;const ze=new Set;const Ue=Me.get(this.rootModule);const qe=Ue.module.buildMeta.strictHarmonyModule;const Ge=N.getExportsInfo(Ue.module);for(const E of Ge.orderedExports){const $=E.name;if(E.provided===false)continue;const j=E.getUsedName(undefined,_e);if(!j){ze.add($);continue}je.set(j,(q=>{try{const j=getFinalName(N,Ue,[$],Me,_e,q,R,Te,false,false,qe,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${j}`}catch(E){E.message+=`\nwhile generating the root export '${$}' (used name: '${j}')`;throw E}}))}const We=new G;if(N.getExportsInfo(this).otherExportsInfo.getUsed(_e)!==le.Unused){We.add(`// ESM COMPAT FLAG\n`);We.add(R.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ie}))}if(je.size>0){ie.add(Ee.exports);ie.add(Ee.definePropertyGetters);const E=[];for(const[N,$]of je){E.push(`\n ${JSON.stringify(N)}: ${R.returningFunction($(we))}`)}We.add(`\n// EXPORTS\n`);We.add(`${Ee.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(ze.size>0){We.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(ze)}\n`)}const Ve=new Map;for(const E of Te){if(E.namespaceExportSymbol)continue;const $=[];const j=N.getExportsInfo(E.module);for(const q of j.orderedExports){if(q.provided===false)continue;const j=q.getUsedName(undefined,_e);if(j){const G=getFinalName(N,E,[q.name],Me,_e,we,R,Te,false,undefined,E.module.buildMeta.strictHarmonyModule,true);$.push(`\n ${JSON.stringify(j)}: ${R.returningFunction(G)}`)}}const q=E.namespaceObjectName;const G=$.length>0?`${Ee.definePropertyGetters}(${q}, {${$.join(",")}\n});\n`:"";if($.length>0)ie.add(Ee.definePropertyGetters);Ve.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(we)}\nvar ${q} = {};\n${Ee.makeNamespaceObject}(${q});\n${G}`);ie.add(Ee.makeNamespaceObject)}for(const E of Ie){if(E.type==="concatenated"){const R=Ve.get(E);if(!R)continue;We.add(R)}}const Ke=[];for(const E of Ie){let N;let j=false;const q=E.type==="reference"?E.target:E;switch(q.type){case"concatenated":{We.add(`\n;// CONCATENATED MODULE: ${q.module.readableIdentifier(we)}\n`);We.add(q.source);if(q.chunkInitFragments){for(const E of q.chunkInitFragments)Ke.push(E)}if(q.runtimeRequirements){for(const E of q.runtimeRequirements){ie.add(E)}}N=q.namespaceObjectName;break}case"external":{We.add(`\n// EXTERNAL MODULE: ${q.module.readableIdentifier(we)}\n`);ie.add(Ee.require);const{runtimeCondition:G}=E;const ae=R.runtimeConditionExpression({chunkGraph:$,runtimeCondition:G,runtime:_e,runtimeRequirements:ie});if(ae!=="true"){j=true;We.add(`if (${ae}) {\n`)}We.add(`var ${q.name} = __webpack_require__(${JSON.stringify($.getModuleId(q.module))});`);N=q.name;break}default:throw new Error(`Unsupported concatenation entry type ${q.type}`)}if(q.interopNamespaceObjectUsed){ie.add(Ee.createFakeNamespaceObject);We.add(`\nvar ${q.interopNamespaceObjectName} = /*#__PURE__*/${Ee.createFakeNamespaceObject}(${N}, 2);`)}if(q.interopNamespaceObject2Used){ie.add(Ee.createFakeNamespaceObject);We.add(`\nvar ${q.interopNamespaceObject2Name} = /*#__PURE__*/${Ee.createFakeNamespaceObject}(${N});`)}if(q.interopDefaultAccessUsed){ie.add(Ee.compatGetDefaultExport);We.add(`\nvar ${q.interopDefaultAccessName} = /*#__PURE__*/${Ee.compatGetDefaultExport}(${N});`)}if(j){We.add("\n}")}}const Qe=new Map;if(Ke.length>0)Qe.set("chunkInitFragments",Ke);const Je={sources:new Map([["javascript",new q(We)]]),data:Qe,runtimeRequirements:ie};return Je}_analyseModule(E,R,N,j,q,G,le){if(R.type==="concatenated"){const _e=R.module;try{const Ee=new ae(E,R);const we=_e.codeGeneration({dependencyTemplates:N,runtimeTemplate:j,moduleGraph:q,chunkGraph:G,runtime:le,concatenationScope:Ee});const Ie=we.sources.get("javascript");const Te=we.data;const Ne=Te&&Te.get("chunkInitFragments");const Be=Ie.source().toString();let Le;try{Le=Me._parse(Be,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const R=E.loc.line;const N=Be.split("\n");E.message+="\n| "+N.slice(Math.max(0,R-3),R+2).join("\n| ")}throw E}const je=$.analyze(Le,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const ze=je.acquire(Le);const Ue=ze.childScopes[0];const qe=new ie(Ie);R.runtimeRequirements=we.runtimeRequirements;R.ast=Le;R.internalSource=Ie;R.source=qe;R.chunkInitFragments=Ne;R.globalScope=ze;R.moduleScope=Ue}catch(E){E.message+=`\nwhile analysing module ${_e.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,R){const N=this._createConcatenationList(this.rootModule,this._modules,R,E);const $=new Map;const j=N.map(((E,R)=>{let N=$.get(E.module);if(N===undefined){switch(E.type){case"concatenated":N={type:"concatenated",module:E.module,index:R,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":N={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:R,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}$.set(N.module,N);return N}else{const R={type:"reference",runtimeCondition:E.runtimeCondition,target:N};return R}}));return[j,$]}findNewName(E,R,N,$){let j=E;if(j===ae.DEFAULT_EXPORT){j=""}if(j===ae.NAMESPACE_OBJECT_EXPORT){j="namespaceObject"}$=$.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const q=$.split("/");while(q.length){j=q.pop()+(j?"_"+j:"");const E=we.toIdentifier(j);if(!R.has(E)&&(!N||!N.has(E)))return E}let G=0;let ie=we.toIdentifier(`${j}_${G}`);while(R.has(ie)||N&&N.has(ie)){G++;ie=we.toIdentifier(`${j}_${G}`)}return ie}updateHash(E,R){const{chunkGraph:N,runtime:$}=R;for(const j of this._createConcatenationList(this.rootModule,this._modules,He($,this._runtime),N.moduleGraph)){switch(j.type){case"concatenated":j.module.updateHash(E,R);break;case"external":E.update(`${N.getModuleId(j.module)}`);break}}super.updateHash(E,R)}static deserialize(E){const R=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});R.deserialize(E);return R}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=R=>{const N=E.chunkGraph;const $=new Set;const j=new Set;for(const R of E.modules){if(!R.hasChunkCondition())continue;for(const q of N.getModuleChunksIterable(R)){if(!R.chunkCondition(q,E)){$.add(q);for(const E of q.groupsIterable){j.add(E)}}}if($.size===0)continue;const q=new Set;e:for(const N of j){for(const $ of N.chunks){if(R.chunkCondition($,E)){q.add($);continue e}}if(N.isInitial()){throw new Error("Cannot fullfil chunk condition of "+R.identifier())}for(const E of N.parentsIterable){j.add(E)}}for(const E of $){N.disconnectChunkAndModule(E,R)}for(const E of q){N.connectChunkAndModule(E,R)}$.clear();j.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:$},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(R=>{const N=E.chunkGraph;const $=new WeakMap;const j=E.modules.size;const q=1/Math.pow(1/j,1/31);const G=Array.from({length:31},((E,R)=>Math.pow(q,R)|0));let ie=0;for(const R of E.modules){let E=30;while(ie%G[E]!==0){E--}$.set(R,1<N.getNumberOfModuleChunks(R))j=R}e:for(const q of N.getModuleChunksIterable(j)){if(E===q)continue;const j=N.getNumberOfChunkModules(q);if(j===0)continue;if($>j)continue;const G=ae.get(q);if((G&R)!==R)continue;for(const R of N.getChunkModulesIterable(E)){if(!N.isModuleInChunk(R,q))continue e}q.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=new WeakMap;const q=Symbol("top level symbol");function getState(E){return j.get(E)}R.bailout=E=>{j.set(E,false)};R.enable=E=>{const R=j.get(E);if(R===false){return}j.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};R.isEnabled=E=>{const R=j.get(E);return!!R};R.addUsage=(E,R,N)=>{const $=getState(E);if($){const{innerGraph:E}=$;const j=E.get(R);if(N===true){E.set(R,true)}else if(j===undefined){E.set(R,new Set([N]))}else if(j!==true){j.add(N)}}};R.addVariableUsage=(E,N,$)=>{const j=E.getTagData(N,q)||R.tagTopLevelSymbol(E,N);if(j){R.addUsage(E.state,j,$)}};R.inferDependencyUsage=E=>{const R=getState(E);if(!R){return}const{innerGraph:N,usageCallbackMap:$}=R;const j=new Map;const q=new Set(N.keys());while(q.size>0){for(const E of q){let R=new Set;let $=true;const G=N.get(E);let ie=j.get(E);if(ie===undefined){ie=new Set;j.set(E,ie)}if(G!==true&&G!==undefined){for(const E of G){ie.add(E)}for(const j of G){if(typeof j==="string"){R.add(j)}else{const q=N.get(j);if(q===true){R=true;break}if(q!==undefined){for(const N of q){if(N===E)continue;if(ie.has(N))continue;R.add(N);if(typeof N!=="string"){$=false}}}}}if(R===true){N.set(E,true)}else if(R.size===0){N.set(E,undefined)}else{N.set(E,R)}}if($){q.delete(E);if(E===null){const E=N.get(null);if(E){for(const[R,$]of N){if(R!==null&&$!==true){if(E===true){N.set(R,true)}else{const j=new Set($);for(const R of E){j.add(R)}N.set(R,j)}}}}}}}}for(const[E,R]of $){const $=N.get(E);for(const E of R){E($===undefined?false:$)}}};R.onUsage=(E,R)=>{const N=getState(E);if(N){const{usageCallbackMap:E,currentTopLevelSymbol:$}=N;if($){let N=E.get($);if(N===undefined){N=new Set;E.set($,N)}N.add(R)}else{R(true)}}else{R(undefined)}};R.setTopLevelSymbol=(E,R)=>{const N=getState(E);if(N){N.currentTopLevelSymbol=R}};R.getTopLevelSymbol=E=>{const R=getState(E);if(R){return R.currentTopLevelSymbol}};R.tagTopLevelSymbol=(E,R)=>{const N=getState(E.state);if(!N)return;E.defineVariable(R);const $=E.getTagData(R,q);if($){return $}const j=new TopLevelSymbol(R);E.tagVariable(R,q,j);return j};R.isDependencyUsedByExports=(E,R,N,j)=>{if(R===false)return false;if(R!==true&&R!==undefined){const q=N.getParentModule(E);const G=N.getExportsInfo(q);let ie=false;for(const E of R){if(G.getUsed(E,j)!==$.Unused)ie=true}if(!ie)return false}return true};R.getDependencyUsedByExportsCondition=(E,R,N)=>{if(R===false)return false;if(R!==true&&R!==undefined){const j=N.getParentModule(E);const q=N.getExportsInfo(j);return(E,N)=>{for(const E of R){if(q.getUsed(E,N)!==$.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}R.TopLevelSymbol=TopLevelSymbol;R.topLevelSymbolTag=q},10032:(E,R,N)=>{"use strict";const $=N(53567);const j=N(58018);const{topLevelSymbolTag:q}=j;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:R})=>{const N=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{const onUsageSuper=R=>{j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{j.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!j.isEnabled(E.state))return;N.time("infer dependency usage");j.inferDependencyUsage(E.state);N.timeAggregate("infer dependency usage")}));const G=new WeakMap;const ie=new WeakMap;const ae=new WeakMap;const le=new WeakMap;const _e=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(R.type==="FunctionDeclaration"){const N=R.id?R.id.name:"*default*";const $=j.tagTopLevelSymbol(E,N);G.set(R,$);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(R.type==="ClassDeclaration"){const N=R.id?R.id.name:"*default*";const $=j.tagTopLevelSymbol(E,N);ae.set(R,$);return true}if(R.type==="ExportDefaultDeclaration"){const N="*default*";const $=j.tagTopLevelSymbol(E,N);const q=R.declaration;if(q.type==="ClassExpression"||q.type==="ClassDeclaration"){ae.set(q,$)}else if(E.isPure(q,R.range[0])){G.set(R,$);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){ie.set(R,q)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&R.init&&R.id.type==="Identifier"){const N=R.id.name;if(R.init.type==="ClassExpression"){const $=j.tagTopLevelSymbol(E,N);ae.set(R.init,$)}else if(E.isPure(R.init,R.id.range[1])){const $=j.tagTopLevelSymbol(E,N);le.set(R,$);if(!R.init.type.endsWith("FunctionExpression")&&R.init.type!=="Literal"){_e.add(R)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){j.setTopLevelSymbol(E.state,undefined);const N=G.get(R);if(N){j.setTopLevelSymbol(E.state,N);const q=ie.get(R);if(q){j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(q.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const $=ae.get(N);if($&&E.isPure(R,N.id?N.id.range[1]:N.range[0])){j.setTopLevelSymbol(E.state,$);onUsageSuper(R)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const R=ae.get(N);if(R){j.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((R,N,q)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const G=ae.get(q);if(G){if(!N.static||E.isPure(R,N.key?N.key.range[1]:N.range[0])){j.setTopLevelSymbol(E.state,G);if(N.type!=="MethodDefinition"&&N.static){j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}else{j.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;const q=le.get(R);if(q){j.setTopLevelSymbol(E.state,q);if(_e.has(R)){if(R.init.type==="ClassExpression"){if(R.init.superClass){onUsageSuper(R.init.superClass)}}else{j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.init.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}E.walkExpression(R.init);j.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(q).tap("InnerGraphPlugin",(()=>{const R=E.currentTagData;const N=j.getTopLevelSymbol(E.state);j.addUsage(E.state,R,N||true)}));E.hooks.assign.for(q).tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(R.operator==="=")return true}))};R.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);R.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{N.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);const j=N(37496);const{compareChunks:q}=N(68673);const G=N(35817);const ie=G(N(72713),(()=>N(10692)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,R,N)=>{const $=E.get(R);if($===undefined){E.set(R,new Set([N]))}else{$.add(N)}};class LimitChunkCountPlugin{constructor(E){ie(E);this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:$},(N=>{const $=E.chunkGraph;const G=R.maxChunks;if(!G)return;if(G<1)return;if(E.chunks.size<=G)return;let ie=E.chunks.size-G;const ae=q($);const le=Array.from(N).sort(ae);const _e=new j((E=>E.sizeDiff),((E,R)=>R-E),(E=>E.integratedSize),((E,R)=>E-R),(E=>E.bIdx-E.aIdx),((E,R)=>E-R),((E,R)=>E.bIdx-R.bIdx));const Ee=new Map;le.forEach(((E,N)=>{for(let j=0;j0){const E=new Set(j.groupsIterable);for(const R of q.groupsIterable){E.add(R)}for(const R of E){for(const E of we){if(E!==j&&E!==q&&E.isInGroup(R)){ie--;if(ie<=0)break e;we.add(j);we.add(q);continue e}}for(const N of R.parentsIterable){E.add(N)}}}if($.canChunksBeIntegrated(j,q)){$.integrateChunks(j,q);E.chunks.delete(q);we.add(j);Ie=true;ie--;if(ie<=0)break;for(const E of Ee.get(j)){if(E.deleted)continue;E.deleted=true;_e.delete(E)}for(const E of Ee.get(q)){if(E.deleted)continue;if(E.a===q){if(!$.canChunksBeIntegrated(j,E.b)){E.deleted=true;_e.delete(E);continue}const N=$.getIntegratedChunksSize(j,E.b,R);const q=_e.startUpdate(E);E.a=j;E.integratedSize=N;E.aSize=G;E.sizeDiff=E.bSize+G-N;q()}else if(E.b===q){if(!$.canChunksBeIntegrated(E.a,j)){E.deleted=true;_e.delete(E);continue}const N=$.getIntegratedChunksSize(E.a,j,R);const q=_e.startUpdate(E);E.b=j;E.integratedSize=N;E.bSize=G;E.sizeDiff=G+E.aSize-N;q()}}Ee.set(j,Ee.get(q));Ee.delete(q)}}if(Ie)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const{numberToIdentifier:j,NUMBER_OF_IDENTIFIER_START_CHARS:q,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:G}=N(58159);const{assignDeterministicIds:ie}=N(30328);const{compareSelect:ae,compareStringsNumeric:le}=N(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==$.Unused)return false;let R=false;for(const N of E.exports){if(N.canMangle===true){R=true}}return R};const _e=ae((E=>E.name),le);const mangleExportsInfo=(E,R,N)=>{if(!canMangle(R))return;const ae=new Set;const le=[];let Ee=!N;if(!Ee&&E){for(const E of R.ownedExports){if(E.provided!==false){Ee=true;break}}}for(const N of R.ownedExports){const R=N.name;if(!N.hasUsedName()){if(N.canMangle!==true||R.length===1&&/^[a-zA-Z0-9_$]/.test(R)||E&&R.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(R)||Ee&&N.provided!==true){N.setUsedName(R);ae.add(R)}else{le.push(N)}}if(N.exportsInfoOwned){const R=N.getUsed(undefined);if(R===$.OnlyPropertiesUsed||R===$.Unused){mangleExportsInfo(E,N.exportsInfo,false)}}}if(E){ie(le,(E=>E.name),_e,((E,R)=>{const N=j(R);const $=ae.size;ae.add(N);if($===ae.size)return false;E.setUsedName(N);return true}),[q,q*G],G,ae.size)}else{const E=[];const R=[];for(const N of le){if(N.getUsed(undefined)===$.Unused){R.push(N)}else{E.push(N)}}E.sort(_e);R.sort(_e);let N=0;for(const $ of[E,R]){for(const E of $){let R;do{R=j(N++)}while(ae.has(R));E.setUsedName(R)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:R}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",($=>{if(E.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const E of $){const $=E.buildMeta&&E.buildMeta.exportsType==="namespace";const j=N.getExportsInfo(E);mangleExportsInfo(R,j,$)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);const{runtimeEqual:j}=N(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:$},(R=>{const{chunkGraph:N,moduleGraph:$}=E;const q=new Set;for(const G of R){let R;for(const E of N.getChunkModulesIterable(G)){if(R===undefined){for(const $ of N.getModuleChunksIterable(E)){if($!==G&&N.getNumberOfChunkModules(G)===N.getNumberOfChunkModules($)&&!q.has($)){if(R===undefined){R=new Set}R.add($)}}if(R===undefined)break}else{for(const $ of R){if(!N.isModuleInChunk(E,$)){R.delete($)}}if(R.size===0)break}}if(R!==undefined&&R.size>0){e:for(const q of R){if(q.hasRuntime()!==G.hasRuntime())continue;if(N.getNumberOfEntryModules(G)>0)continue;if(N.getNumberOfEntryModules(q)>0)continue;if(!j(G.runtime,q.runtime)){for(const E of N.getChunkModulesIterable(G)){const R=$.getExportsInfo(E);if(!R.isEquallyUsed(G.runtime,q.runtime)){continue e}}}if(N.canChunksBeIntegrated(G,q)){N.integrateChunks(G,q);E.chunks.delete(q)}}}q.add(G)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);const j=N(35817);const q=j(N(83889),(()=>N(84638)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){q(E);this.options=E}apply(E){const R=this.options;const N=R.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:$},($=>{const j=E.chunkGraph;const q={chunkOverhead:1,entryChunkMultiplicator:1};const G=new Map;const ie=[];const ae=[];const le=[];for(const E of $){if(j.getChunkSize(E,q){const N=G.get(E[0]);const $=G.get(E[1]);const q=j.getIntegratedChunksSize(E[0],E[1],R);const ie=[N+$-q,q,E[0],E[1]];return ie})).sort(((E,R)=>{const N=R[0]-E[0];if(N!==0)return N;return E[1]-R[1]}));if(_e.length===0)return;const Ee=_e[0];j.integrateChunks(Ee[2],Ee[3]);E.chunks.delete(Ee[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,R,N)=>{"use strict";const $=N(9192);const j=N(81627);class MinMaxSizeWarning extends j{constructor(E,R,N){let j="Fallback cache group";if(E){j=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${j}\n`+`Configured minSize (${$.formatSize(R)}) is `+`bigger than maxSize (${$.formatSize(N)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,R,N)=>{"use strict";const $=N(62355);const j=N(45137);const q=N(75412);const{STAGE_DEFAULT:G}=N(82414);const ie=N(37359);const{compareModulesByIdentifier:ae}=N(68673);const{intersectRuntime:le,mergeRuntimeOwned:_e,filterRuntime:Ee,runtimeToString:we,mergeRuntime:Ie}=N(37416);const Me=N(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){const{_backCompat:R}=E;E.hooks.compilation.tap("ModuleConcatenationPlugin",(N=>{const ae=N.moduleGraph;const le=new Map;const setBailoutReason=(E,R)=>{setInnerBailoutReason(E,R);ae.getOptimizationBailout(E).push(typeof R==="function"?E=>formatBailoutReason(R(E)):formatBailoutReason(R))};const setInnerBailoutReason=(E,R)=>{le.set(E,R)};const getInnerBailoutReason=(E,R)=>{const N=le.get(E);if(typeof N==="function")return N(R);return N};const formatBailoutWarning=(E,R)=>N=>{if(typeof R==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)}: ${R(N)}`)}const $=getInnerBailoutReason(E,N);const j=$?`: ${$}`:"";if(E===R){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)}${j}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)} because of ${R.readableIdentifier(N)}${j}`)}};N.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:G},((G,ae,le)=>{const we=N.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:Ie,moduleGraph:Te}=N;const Ne=[];const Be=new Set;const Le={chunkGraph:Ie,moduleGraph:Te};we.time("select relevant modules");for(const E of ae){let R=true;let N=true;const $=E.getConcatenationBailoutReason(Le);if($){setBailoutReason(E,$);continue}if(Te.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(Ie.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const j=Te.getExportsInfo(E);const q=j.getRelevantExports(undefined);const G=q.filter((E=>E.isReexport()&&!E.getTarget(Te)));if(G.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(G,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ie=q.filter((E=>E.provided!==true));if(ie.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ie,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);R=false}if(Ie.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");N=false}if(R)Ne.push(E);if(N)Be.add(E)}we.timeEnd("select relevant modules");we.debug(`${Ne.length} potential root modules, ${Be.size} potential inner modules`);we.time("sort relevant modules");Ne.sort(((E,R)=>Te.getDepth(E)-Te.getDepth(R)));we.timeEnd("sort relevant modules");const je={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let ze=0;let Ue=0;let qe=0;we.time("find modules to concatenate");const Ge=[];const He=new Set;for(const E of Ne){if(He.has(E))continue;let R=undefined;for(const N of Ie.getModuleRuntimes(E)){R=_e(R,N)}const $=Te.getExportsInfo(E);const j=Ee(R,(E=>$.isModuleUsed(E)));const q=j===true?R:j===false?undefined:j;const G=new ConcatConfiguration(E,q);const ie=new Map;const ae=new Set;for(const R of this._getImports(N,E,q)){ae.add(R)}for(const E of ae){const $=new Set;const j=this._tryToAdd(N,G,E,R,q,Be,$,ie,Ie,true,je);if(j){ie.set(E,j);G.addWarning(E,j)}else{for(const E of $){ae.add(E)}}}ze+=ae.size;if(!G.isEmpty()){const E=G.getModules();Ue+=E.size;Ge.push(G);for(const R of E){if(R!==G.rootModule){He.add(R)}}}else{qe++;const R=Te.getOptimizationBailout(E);for(const E of G.getWarningsSorted()){R.push(formatBailoutWarning(E[0],E[1]))}}}we.timeEnd("find modules to concatenate");we.debug(`${Ge.length} successful concat configurations (avg size: ${Ue/Ge.length}), ${qe} bailed out completely`);we.debug(`${ze} candidates were considered for adding (${je.cached} cached failure, ${je.alreadyInConfig} already in config, ${je.invalidModule} invalid module, ${je.incorrectChunks} incorrect chunks, ${je.incorrectDependency} incorrect dependency, ${je.incorrectChunksOfImporter} incorrect chunks of importer, ${je.incorrectModuleDependency} incorrect module dependency, ${je.incorrectRuntimeCondition} incorrect runtime condition, ${je.importerFailed} importer failed, ${je.added} added)`);we.time(`sort concat configurations`);Ge.sort(((E,R)=>R.modules.size-E.modules.size));we.timeEnd(`sort concat configurations`);const We=new Set;we.time("create concatenated modules");$.each(Ge,(($,G)=>{const ae=$.rootModule;if(We.has(ae))return G();const le=$.getModules();for(const E of le){We.add(E)}let _e=Me.create(ae,le,$.runtime,E.root,N.outputOptions.hashFunction);const build=()=>{_e.build(E.options,N,null,null,(E=>{if(E){if(!E.module){E.module=_e}return G(E)}integrate()}))};const integrate=()=>{if(R){j.setChunkGraphForModule(_e,Ie);q.setModuleGraphForModule(_e,Te)}for(const E of $.getWarningsSorted()){Te.getOptimizationBailout(_e).push(formatBailoutWarning(E[0],E[1]))}Te.cloneModuleAttributes(ae,_e);for(const E of le){if(N.builtModules.has(E)){N.builtModules.add(_e)}if(E!==ae){Te.copyOutgoingModuleConnections(E,_e,(R=>R.originModule===E&&!(R.dependency instanceof ie&&le.has(R.module))));for(const R of Ie.getModuleChunksIterable(ae)){Ie.disconnectChunkAndModule(R,E)}}}N.modules.delete(ae);j.clearChunkGraphForModule(ae);q.clearModuleGraphForModule(ae);Ie.replaceModule(ae,_e);Te.moveModuleConnections(ae,_e,(E=>{const R=E.module===ae?E.originModule:E.module;const N=E.dependency instanceof ie&&le.has(R);return!N}));N.modules.add(_e);G()};build()}),(E=>{we.timeEnd("create concatenated modules");process.nextTick(le.bind(null,E))}))}))}))}_getImports(E,R,N){const $=E.moduleGraph;const j=new Set;for(const q of R.dependencies){if(!(q instanceof ie))continue;const G=$.getConnection(q);if(!G||!G.module||!G.isTargetActive(N)){continue}const ae=E.getDependencyReferencedExports(q,undefined);if(ae.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray($.getProvidedExports(R))){j.add(G.module)}}return j}_tryToAdd(E,R,N,$,j,q,G,Me,Te,Ne,Be){const Le=Me.get(N);if(Le){Be.cached++;return Le}if(R.has(N)){Be.alreadyInConfig++;return null}if(!q.has(N)){Be.invalidModule++;Me.set(N,N);return N}const je=Array.from(Te.getModuleChunksIterable(R.rootModule)).filter((E=>!Te.isModuleInChunk(N,E)));if(je.length>0){const problem=E=>{const R=Array.from(new Set(je.map((E=>E.name||"unnamed chunk(s)")))).sort();const $=Array.from(new Set(Array.from(Te.getModuleChunksIterable(N)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${N.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${R.join(", ")}, module is in chunk(s) ${$.join(", ")})`};Be.incorrectChunks++;Me.set(N,problem);return problem}const ze=E.moduleGraph;const Ue=ze.getIncomingConnectionsByOriginModule(N);const qe=Ue.get(null)||Ue.get(undefined);if(qe){const E=qe.filter((E=>E.isActive($)||E.dependency));if(E.length>0){const problem=R=>{const $=new Set(E.map((E=>E.explanation)).filter(Boolean));const j=Array.from($).sort();return`Module ${N.readableIdentifier(R)} is referenced ${j.length>0?`by: ${j.join(", ")}`:"in an unsupported way"}`};Be.incorrectDependency++;Me.set(N,problem);return problem}}const Ge=new Map;for(const[E,R]of Ue){if(E){if(Te.getNumberOfModuleChunks(E)===0)continue;let N=undefined;for(const R of Te.getModuleRuntimes(E)){N=_e(N,R)}if(!le($,N))continue;const j=R.filter((E=>E.isActive($)));if(j.length>0)Ge.set(E,j)}}const He=Array.from(Ge.keys());const We=He.filter((E=>{for(const N of Te.getModuleChunksIterable(R.rootModule)){if(!Te.isModuleInChunk(E,N)){return true}}return false}));if(We.length>0){const problem=E=>{const R=We.map((R=>R.readableIdentifier(E))).sort();return`Module ${N.readableIdentifier(E)} is referenced from different chunks by these modules: ${R.join(", ")}`};Be.incorrectChunksOfImporter++;Me.set(N,problem);return problem}const Ve=new Map;for(const[E,R]of Ge){const N=R.filter((E=>!E.dependency||!(E.dependency instanceof ie)));if(N.length>0)Ve.set(E,R)}if(Ve.size>0){const problem=E=>{const R=Array.from(Ve).map((([R,N])=>`${R.readableIdentifier(E)} (referenced with ${Array.from(new Set(N.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${N.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${R.join(", ")}`};Be.incorrectModuleDependency++;Me.set(N,problem);return problem}if($!==undefined&&typeof $!=="string"){const E=[];e:for(const[R,N]of Ge){let j=false;for(const E of N){const R=Ee($,(R=>E.isTargetActive(R)));if(R===false)continue;if(R===true)continue e;if(j!==false){j=Ie(j,R)}else{j=R}}if(j!==false){E.push({originModule:R,runtimeCondition:j})}}if(E.length>0){const problem=R=>`Module ${N.readableIdentifier(R)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:N})=>`${E.readableIdentifier(R)} (expected runtime ${we($)}, module is only referenced in ${we(N)})`)).join(", ")}`;Be.incorrectRuntimeCondition++;Me.set(N,problem);return problem}}let Ke;if(Ne){Ke=R.snapshot()}R.add(N);He.sort(ae);for(const ie of He){const ae=this._tryToAdd(E,R,ie,$,j,q,G,Me,Te,false,Be);if(ae){if(Ke!==undefined)R.rollback(Ke);Be.importerFailed++;Me.set(N,ae);return ae}}for(const R of this._getImports(E,N,$)){G.add(R)}Be.added++;return null}}class ConcatConfiguration{constructor(E,R){this.rootModule=E;this.runtime=R;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,R){this.warnings.set(E,R)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,R)=>{const N=E[0].identifier();const $=R[0].identifier();if(N<$)return-1;if(N>$)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const R=this.modules;for(const N of R){if(E===0){R.delete(N)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,R,N)=>{"use strict";const{SyncBailHook:$}=N(92960);const{RawSource:j,CachedSource:q,CompatSource:G}=N(48135);const ie=N(3080);const ae=N(81627);const{compareSelect:le,compareStrings:_e}=N(68673);const Ee=N(35891);const we=new Set;const addToList=(E,R)=>{if(Array.isArray(E)){for(const N of E){R.add(N)}}else if(E){R.add(E)}};const mapAndDeduplicateBuffers=(E,R)=>{const N=[];e:for(const $ of E){const E=R($);for(const R of N){if(E.equals(R))continue e}N.push(E)}return N};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Ie=new WeakMap;const toCachedSource=E=>{if(E instanceof q){return E}const R=Ie.get(E);if(R!==undefined)return R;const N=new q(G.from(E));Ie.set(E,N);return N};const Me=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Me.get(E);if(R===undefined){R={updateHash:new $(["content","oldHash"])};Me.set(E,R)}return R}constructor({hashFunction:E,hashDigest:R}){this._hashFunction=E;this._hashDigest=R}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const R=E.getCache("RealContentHashPlugin|analyse");const N=E.getCache("RealContentHashPlugin|generate");const $=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ie.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const q=E.getAssets();const G=[];const ie=new Map;for(const{source:E,info:R,name:N}of q){const $=toCachedSource(E);const j=$.source();const q=new Set;addToList(R.contenthash,q);const ae={name:N,info:R,source:$,newSource:undefined,newSourceWithoutOwn:undefined,content:j,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:q};G.push(ae);for(const E of q){const R=ie.get(E);if(R===undefined){ie.set(E,[ae])}else{R.push(ae)}}}if(ie.size===0)return;const Ie=new RegExp(Array.from(ie.keys(),quoteMeta).join("|"),"g");await Promise.all(G.map((async E=>{const{name:N,source:$,content:j,hashes:q}=E;if(Buffer.isBuffer(j)){E.referencedHashes=we;E.ownHashes=we;return}const G=R.mergeEtags(R.getLazyHashedEtag($),Array.from(q).join("|"));[E.referencedHashes,E.ownHashes]=await R.providePromise(N,G,(()=>{const E=new Set;let R=new Set;const N=j.match(Ie);if(N){for(const $ of N){if(q.has($)){R.add($);continue}E.add($)}}return[E,R]}))})));const getDependencies=R=>{const N=ie.get(R);if(!N){const N=G.filter((E=>E.referencedHashes.has(R)));const $=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${R}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${N.map((E=>{const N=new RegExp(`.{0,20}${quoteMeta(R)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${N?N[0]:"???"}...`})).join("\n")}`);E.errors.push($);return undefined}const $=new Set;for(const{referencedHashes:E,ownHashes:j}of N){if(!j.has(R)){for(const E of j){$.add(E)}}for(const R of E){$.add(R)}}return $};const hashInfo=E=>{const R=ie.get(E);return`${E} (${Array.from(R,(E=>E.name))})`};const Me=new Set;for(const E of ie.keys()){const add=(E,R)=>{const N=getDependencies(E);if(!N)return;R.add(E);for(const E of N){if(Me.has(E))continue;if(R.has(E)){throw new Error(`Circular hash dependency ${Array.from(R,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,R)}Me.add(E);R.delete(E)};if(Me.has(E))continue;add(E,new Set)}const Te=new Map;const getEtag=E=>N.mergeEtags(N.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Te.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Te.get(E)!==E))){const R=E.name;const $=getEtag(E);E.newSource=await N.providePromise(R,$,(()=>{const R=E.content.replace(Ie,(E=>Te.get(E)));return new j(R)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Te.get(E)!==E))){const R=E.name+"|without-own";const $=getEtag(E);E.newSourceWithoutOwn=await N.providePromise(R,$,(()=>{const R=E.content.replace(Ie,(R=>{if(E.ownHashes.has(R)){return""}return Te.get(R)}));return new j(R)}))}})()};const Ne=le((E=>E.name),_e);for(const E of Me){const R=ie.get(E);R.sort(Ne);const N=Ee(this._hashFunction);await Promise.all(R.map((R=>R.ownHashes.has(E)?computeNewContentWithoutOwn(R):computeNewContent(R))));const j=mapAndDeduplicateBuffers(R,(R=>{if(R.ownHashes.has(E)){return R.newSourceWithoutOwn?R.newSourceWithoutOwn.buffer():R.source.buffer()}else{return R.newSource?R.newSource.buffer():R.source.buffer()}}));let q=$.updateHash.call(j,E);if(!q){for(const E of j){N.update(E)}const R=N.digest(this._hashDigest);q=R.slice(0,E.length)}Te.set(E,q)}await Promise.all(G.map((async R=>{await computeNewContent(R);const N=R.name.replace(Ie,(E=>Te.get(E)));const $={};const j=R.info.contenthash;$.contenthash=Array.isArray(j)?j.map((E=>Te.get(E))):Te.get(j);if(R.newSource!==undefined){E.updateAsset(R.name,R.newSource,$)}else{E.updateAsset(R.name,R.source,$)}if(R.name!==N){E.renameAsset(R.name,N)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,R,N)=>{"use strict";const{STAGE_BASIC:$,STAGE_ADVANCED:j}=N(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=R=>{const N=E.chunkGraph;for(const $ of R){if(N.getNumberOfChunkModules($)===0&&!$.hasRuntime()&&N.getNumberOfEntryModules($)===0){E.chunkGraph.disconnectChunk($);E.chunks.delete($)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:$},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:j},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);const j=N(39541);const{intersect:q}=N(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(R,N)=>{const $=E.chunkGraph;const G=new j;const ie=new WeakMap;for(const R of E.entrypoints.values()){ie.set(R,new Set);for(const E of R.childrenIterable){G.enqueue(E)}}for(const R of E.asyncEntrypoints){ie.set(R,new Set);for(const E of R.childrenIterable){G.enqueue(E)}}while(G.length>0){const E=G.dequeue();let R=ie.get(E);let N=false;for(const j of E.parentsIterable){const q=ie.get(j);if(q!==undefined){if(R===undefined){R=new Set(q);for(const E of j.chunks){for(const N of $.getChunkModulesIterable(E)){R.add(N)}}ie.set(E,R);N=true}else{for(const E of R){if(!$.isModuleInChunkGroup(E,j)&&!q.has(E)){R.delete(E);N=true}}}}}if(N){for(const R of E.childrenIterable){G.enqueue(R)}}}for(const E of R){const R=Array.from(E.groupsIterable,(E=>ie.get(E)));if(R.some((E=>E===undefined)))continue;const N=R.length===1?R[0]:q(R);const j=$.getNumberOfChunkModules(E);const G=new Set;if(j{"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((R,{name:N})=>{if(N===undefined)return;const $=E.entries.get(N);if($.options.runtime===undefined&&!$.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:N})}$.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,R,N)=>{"use strict";const $=N(70554);const{STAGE_DEFAULT:j}=N(82414);const q=N(44576);const G=N(2230);const ie=N(72380);const ae=new WeakMap;const globToRegexp=(E,R)=>{const N=R.get(E);if(N!==undefined)return N;if(!E.includes("/")){E=`**/${E}`}const j=$(E,{globstar:true,extended:true});const q=j.source;const G=new RegExp("^(\\./)?"+q.slice(1));R.set(E,G);return G};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let R=ae.get(E.root);if(R===undefined){R=new Map;ae.set(E.root,R)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:N})=>{const $=E.moduleGraph;N.hooks.module.tap("SideEffectsFlagPlugin",((E,N)=>{const $=N.resourceResolveData;if($&&$.descriptionFileData&&$.relativePath){const N=$.descriptionFileData.sideEffects;if(N!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const j=SideEffectsFlagPlugin.moduleHasSideEffects($.relativePath,N,R);E.factoryMeta.sideEffectFree=!j}}return E}));N.hooks.module.tap("SideEffectsFlagPlugin",((E,R)=>{if(typeof R.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!R.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let R;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{R=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(N=>{if(R)return;if(E.scope.topLevelScope!==true)return;switch(N.type){case"ExpressionStatement":if(!E.isPure(N.expression,N.range[0])){R=N}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(N.test,N.range[0])){R=N}break;case"ForStatement":if(!E.isPure(N.init,N.range[0])||!E.isPure(N.test,N.init?N.init.range[1]:N.range[0])||!E.isPure(N.update,N.test?N.test.range[1]:N.init?N.init.range[1]:N.range[0])){R=N}break;case"SwitchStatement":if(!E.isPure(N.discriminant,N.range[0])){R=N}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(N,N.range[0])){R=N}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(N.declaration,N.range[0])){R=N}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:R=N;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(R===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:N,type:j}=R;$.getOptimizationBailout(E.state.module).push((()=>`Statement (${j}) with side effects in source code at ${ie(N)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){N.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:j},(R=>{const N=E.getLogger("webpack.SideEffectsFlagPlugin");N.time("update dependencies");for(const E of R){if(E.getSideEffectsConnectionState($)===false){const R=$.getExportsInfo(E);for(const N of $.getIncomingConnections(E)){const E=N.dependency;let j;if((j=E instanceof q)||E instanceof G&&!E.namespaceObjectAsContext){if(j&&E.name){const R=$.getExportInfo(N.originModule,E.name);R.moveTarget($,(({module:E})=>E.getSideEffectsConnectionState($)===false),(({module:R,export:N})=>{$.updateModule(E,R);$.addExplanation(E,"(skipped side-effect-free modules)");const j=E.getIds($);E.setIds($,N?[...N,...j.slice(1)]:j.slice(1));return $.getConnection(E)}));continue}const q=E.getIds($);if(q.length>0){const N=R.getExportInfo(q[0]);const j=N.getTarget($,(({module:E})=>E.getSideEffectsConnectionState($)===false));if(!j)continue;$.updateModule(E,j.module);$.addExplanation(E,"(skipped side-effect-free modules)");E.setIds($,j.export?[...j.export,...q.slice(1)]:q.slice(1))}}}}}N.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,R,N){switch(typeof R){case"undefined":return true;case"boolean":return R;case"string":return globToRegexp(R,N).test(E);case"object":return R.some((R=>SideEffectsFlagPlugin.moduleHasSideEffects(E,R,N)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,R,N)=>{"use strict";const $=N(62433);const{STAGE_ADVANCED:j}=N(82414);const q=N(81627);const{requestToId:G}=N(30328);const{isSubset:ie}=N(26221);const ae=N(16102);const{compareModulesByIdentifier:le,compareIterables:_e}=N(68673);const Ee=N(35891);const we=N(44648);const{makePathsRelative:Ie}=N(49197);const Me=N(91671);const Te=N(1697);const defaultGetName=()=>{};const Ne=we;const Be=new WeakMap;const hashFilename=(E,R)=>{const N=Ee(R.hashFunction).update(E).digest(R.hashDigest);return N.slice(0,8)};const getRequests=E=>{let R=0;for(const N of E.groupsIterable){R=Math.max(R,N.chunks.length)}return R};const mapObject=(E,R)=>{const N=Object.create(null);for(const $ of Object.keys(E)){N[$]=R(E[$],$)}return N};const isOverlap=(E,R)=>{for(const N of E){if(R.has(N))return true}return false};const Le=_e(le);const compareEntries=(E,R)=>{const N=E.cacheGroup.priority-R.cacheGroup.priority;if(N)return N;const $=E.chunks.size-R.chunks.size;if($)return $;const j=totalSize(E.sizes)*(E.chunks.size-1);const q=totalSize(R.sizes)*(R.chunks.size-1);const G=j-q;if(G)return G;const ie=R.cacheGroupIndex-E.cacheGroupIndex;if(ie)return ie;const ae=E.modules;const le=R.modules;const _e=ae.size-le.size;if(_e)return _e;ae.sort();le.sort();return Le(ae,le)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,R)=>{if(typeof E==="number"){const N={};for(const $ of R)N[$]=E;return N}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let R={};for(let N=E.length-1;N>=0;N--){R=Object.assign(R,E[N])}return R};const hasNonZeroSizes=E=>{for(const R of Object.keys(E)){if(E[R]>0)return true}return false};const combineSizes=(E,R,N)=>{const $=new Set(Object.keys(E));const j=new Set(Object.keys(R));const q={};for(const G of $){if(j.has(G)){q[G]=N(E[G],R[G])}else{q[G]=E[G]}}for(const E of j){if(!$.has(E)){q[E]=R[E]}}return q};const checkMinSize=(E,R)=>{for(const N of Object.keys(R)){const $=E[N];if($===undefined||$===0)continue;if(${for(const $ of Object.keys(R)){const j=E[$];if(j===undefined||j===0)continue;if(j*N{let N;for(const $ of Object.keys(R)){const j=E[$];if(j===undefined||j===0)continue;if(j{let R=0;for(const N of Object.keys(E)){R+=E[N]}return R};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,R)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const N=[];for(const $ of Object.keys(E)){const j=E[$];if(j===false){continue}if(typeof j==="string"||j instanceof RegExp){const E=createCacheGroupSource({},$,R);N.push(((R,N,$)=>{if(checkTest(j,R,N)){$.push(E)}}))}else if(typeof j==="function"){const E=new WeakMap;N.push(((N,q,G)=>{const ie=j(N);if(ie){const N=Array.isArray(ie)?ie:[ie];for(const j of N){const N=E.get(j);if(N!==undefined){G.push(N)}else{const N=createCacheGroupSource(j,$,R);E.set(j,N);G.push(N)}}}}))}else{const E=createCacheGroupSource(j,$,R);N.push(((R,N,$)=>{if(checkTest(j.test,R,N)&&checkModuleType(j.type,R)&&checkModuleLayer(j.layer,R)){$.push(E)}}))}}const fn=(E,R)=>{let $=[];for(const j of N){j(E,R,$)}return $};return fn}return()=>null};const checkTest=(E,R,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R,N)}if(typeof E==="boolean")return E;if(typeof E==="string"){const N=R.nameForCondition();return N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.nameForCondition();return N&&E.test(N)}return false};const checkModuleType=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R.type)}if(typeof E==="string"){const N=R.type;return E===N}if(E instanceof RegExp){const N=R.type;return E.test(N)}return false};const checkModuleLayer=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R.layer)}if(typeof E==="string"){const N=R.layer;return E===""?!N:N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.layer;return E.test(N)}return false};const createCacheGroupSource=(E,R,N)=>{const $=normalizeSizes(E.minSize,N);const j=normalizeSizes(E.minSizeReduction,N);const q=normalizeSizes(E.maxSize,N);return{key:R,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:$,minSizeReduction:j,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,N),$),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,N),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,N),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,N),q),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const R=E.defaultSizeTypes||["javascript","unknown"];const N=E.fallbackCacheGroup||{};const $=normalizeSizes(E.minSize,R);const j=normalizeSizes(E.minSizeReduction,R);const q=normalizeSizes(E.maxSize,R);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:R,minSize:$,minSizeReduction:j,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,R),$),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,R),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,R),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,R),q),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,R),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(N.chunks||E.chunks||"all"),minSize:mergeSizes(normalizeSizes(N.minSize,R),$),maxAsyncSize:mergeSizes(normalizeSizes(N.maxAsyncSize,R),normalizeSizes(N.maxSize,R),normalizeSizes(E.maxAsyncSize,R),normalizeSizes(E.maxSize,R)),maxInitialSize:mergeSizes(normalizeSizes(N.maxInitialSize,R),normalizeSizes(N.maxSize,R),normalizeSizes(E.maxInitialSize,R),normalizeSizes(E.maxSize,R)),automaticNameDelimiter:N.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const R=this._cacheGroupCache.get(E);if(R!==undefined)return R;const N=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const $=mergeSizes(E.minSizeReduction,E.enforce?undefined:this.options.minSizeReduction);const j=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const q=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const G={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:N,minSizeReduction:$,minRemainingSize:j,enforceSizeThreshold:q,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(N),_validateRemainingSize:hasNonZeroSizes(j),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(q)};this._cacheGroupCache.set(E,G);return G}apply(E){const R=Ie.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const N=E.getLogger("webpack.SplitChunksPlugin");let _e=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{_e=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:j},(j=>{if(_e)return;_e=true;N.time("prepare");const Ee=E.chunkGraph;const we=E.moduleGraph;const Ie=new Map;const Le=BigInt("0");const je=BigInt("1");const ze=je<{const R=E[Symbol.iterator]();let N=R.next();if(N.done)return Le;const $=N.value;N=R.next();if(N.done)return $;let j=Ie.get($)|Ie.get(N.value);while(!(N=R.next()).done){const E=Ie.get(N.value);j=j^E}return j};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Ie.get(E).toString(16)};const qe=Me((()=>{const R=new Map;const N=new Set;for(const $ of E.modules){const E=Ee.getModuleChunksIterable($);const j=getKey(E);if(typeof j==="bigint"){if(!R.has(j)){R.set(j,new Set(E))}}else{N.add(j)}}return{chunkSetsInGraph:R,singleChunkSets:N}}));const groupChunksByExports=E=>{const R=we.getExportsInfo(E);const N=new Map;for(const $ of Ee.getModuleChunksIterable(E)){const E=R.getUsageKey($.runtime);const j=N.get(E);if(j!==undefined){j.push($)}else{N.set(E,[$])}}return N.values()};const Ge=new Map;const He=Me((()=>{const R=new Map;const N=new Set;for(const $ of E.modules){const E=Array.from(groupChunksByExports($));Ge.set($,E);for(const $ of E){if($.length===1){N.add($[0])}else{const E=getKey($);if(!R.has(E)){R.set(E,new Set($))}}}}return{chunkSetsInGraph:R,singleChunkSets:N}}));const groupChunkSetsByCount=E=>{const R=new Map;for(const N of E){const E=N.size;let $=R.get(E);if($===undefined){$=[];R.set(E,$)}$.push(N)}return R};const We=Me((()=>groupChunkSetsByCount(qe().chunkSetsInGraph.values())));const Ve=Me((()=>groupChunkSetsByCount(He().chunkSetsInGraph.values())));const createGetCombinations=(E,R,N)=>{const j=new Map;return q=>{const G=j.get(q);if(G!==undefined)return G;if(q instanceof $){const E=[q];j.set(q,E);return E}const ae=E.get(q);const le=[ae];for(const[E,R]of N){if(E{const{chunkSetsInGraph:E,singleChunkSets:R}=qe();return createGetCombinations(E,R,We())}));const getCombinations=E=>Ke()(E);const Qe=Me((()=>{const{chunkSetsInGraph:E,singleChunkSets:R}=He();return createGetCombinations(E,R,Ve())}));const getExportsCombinations=E=>Qe()(E);const Je=new WeakMap;const getSelectedChunks=(E,R)=>{let N=Je.get(E);if(N===undefined){N=new WeakMap;Je.set(E,N)}let j=N.get(R);if(j===undefined){const q=[];if(E instanceof $){if(R(E))q.push(E)}else{for(const N of E){if(R(N))q.push(N)}}j={chunks:q,key:getKey(q)};N.set(R,j)}return j};const Xe=new Map;const Ye=new Set;const Ze=new Map;const addModuleToChunksInfoMap=(R,N,$,j,G)=>{if($.length{const E=Ee.getModuleChunksIterable(R);const N=getKey(E);return getCombinations(N)}));const j=Me((()=>{He();const E=new Set;const N=Ge.get(R);for(const R of N){const N=getKey(R);for(const R of getExportsCombinations(N))E.add(R)}return E}));let q=0;for(const G of E){const E=this._getCacheGroup(G);const ie=E.usedExports?j():N();for(const N of ie){const j=N instanceof $?1:N.size;if(j{for(const N of E.modules){const $=N.getSourceTypes();if(R.some((E=>$.has(E)))){E.modules.delete(N);for(const R of $){E.sizes[R]-=N.size(R)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const R=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(R===undefined)return false;removeModulesWithSourceType(E,R);return E.modules.size===0};for(const[E,R]of Ze){if(removeMinSizeViolatingModules(R)){Ze.delete(E)}else if(!checkMinSizeReduction(R.sizes,R.cacheGroup.minSizeReduction,R.chunks.size)){Ze.delete(E)}}const tt=new Map;while(Ze.size>0){let R;let N;for(const E of Ze){const $=E[0];const j=E[1];if(N===undefined||compareEntries(N,j)<0){N=j;R=$}}const $=N;Ze.delete(R);let j=$.name;let q;let G=false;let ie=false;if(j){const R=E.namedChunks.get(j);if(R!==undefined){q=R;const E=$.chunks.size;$.chunks.delete(q);G=$.chunks.size!==E}}else if($.cacheGroup.reuseExistingChunk){e:for(const E of $.chunks){if(Ee.getNumberOfChunkModules(E)!==$.modules.size){continue}if($.chunks.size>1&&Ee.getNumberOfEntryModules(E)>0){continue}for(const R of $.modules){if(!Ee.isModuleInChunk(R,E)){continue e}}if(!q||!q.name){q=E}else if(E.name&&E.name.length=R){le.delete(E)}}}e:for(const E of le){for(const R of $.modules){if(Ee.isModuleInChunk(R,E))continue e}le.delete(E)}if(le.size<$.chunks.size){if(G)le.add(q);if(le.size>=$.cacheGroup.minChunks){const E=Array.from(le);for(const R of $.modules){addModuleToChunksInfoMap($.cacheGroup,$.cacheGroupIndex,E,getKey(le),R)}}continue}if(!ae&&$.cacheGroup._validateRemainingSize&&le.size===1){const[E]=le;let N=Object.create(null);for(const R of Ee.getChunkModulesIterable(E)){if(!$.modules.has(R)){for(const E of R.getSourceTypes()){N[E]=(N[E]||0)+R.size(E)}}}const j=getViolatingMinSizes(N,$.cacheGroup.minRemainingSize);if(j!==undefined){const E=$.modules.size;removeModulesWithSourceType($,j);if($.modules.size>0&&$.modules.size!==E){Ze.set(R,$)}continue}}if(q===undefined){q=E.addChunk(j)}for(const E of le){E.split(q)}q.chunkReason=(q.chunkReason?q.chunkReason+", ":"")+(ie?"reused as split chunk":"split chunk");if($.cacheGroup.key){q.chunkReason+=` (cache group: ${$.cacheGroup.key})`}if(j){q.chunkReason+=` (name: ${j})`}if($.cacheGroup.filename){q.filenameTemplate=$.cacheGroup.filename}if($.cacheGroup.idHint){q.idNameHints.add($.cacheGroup.idHint)}if(!ie){for(const R of $.modules){if(!R.chunkCondition(q,E))continue;Ee.connectChunkAndModule(q,R);for(const E of le){Ee.disconnectChunkAndModule(E,R)}}}else{for(const E of $.modules){for(const R of le){Ee.disconnectChunkAndModule(R,E)}}}if(Object.keys($.cacheGroup.maxAsyncSize).length>0||Object.keys($.cacheGroup.maxInitialSize).length>0){const E=tt.get(q);tt.set(q,{minSize:E?combineSizes(E.minSize,$.cacheGroup._minSizeForMaxSize,Math.max):$.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,$.cacheGroup.maxAsyncSize,Math.min):$.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,$.cacheGroup.maxInitialSize,Math.min):$.cacheGroup.maxInitialSize,automaticNameDelimiter:$.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat($.cacheGroup.key):[$.cacheGroup.key]})}for(const[E,R]of Ze){if(isOverlap(R.chunks,le)){let N=false;for(const E of $.modules){if(R.modules.has(E)){R.modules.delete(E);for(const N of E.getSourceTypes()){R.sizes[N]-=E.size(N)}N=true}}if(N){if(R.modules.size===0){Ze.delete(E);continue}if(removeMinSizeViolatingModules(R)||!checkMinSizeReduction(R.sizes,R.cacheGroup.minSizeReduction,R.chunks.size)){Ze.delete(E);continue}}}}}N.timeEnd("queue");N.time("maxSize");const nt=new Set;const{outputOptions:rt}=E;const{fallbackCacheGroup:st}=this.options;for(const N of Array.from(E.chunks)){const $=tt.get(N);const{minSize:j,maxAsyncSize:q,maxInitialSize:ie,automaticNameDelimiter:ae}=$||st;if(!$&&!st.chunksFilter(N))continue;let le;if(N.isOnlyInitial()){le=ie}else if(N.canBeInitial()){le=combineSizes(q,ie,Math.min)}else{le=q}if(Object.keys(le).length===0){continue}for(const R of Object.keys(le)){const N=le[R];const q=j[R];if(typeof q==="number"&&q>N){const R=$&&$.keys;const j=`${R&&R.join()} ${q} ${N}`;if(!nt.has(j)){nt.add(j);E.warnings.push(new Te(R,q,N))}}}const _e=Ne({minSize:j,maxSize:mapObject(le,((E,R)=>{const N=j[R];return typeof N==="number"?Math.max(E,N):E})),items:Ee.getChunkModulesIterable(N),getKey(E){const N=Be.get(E);if(N!==undefined)return N;const $=R(E.identifier());const j=E.nameForCondition&&E.nameForCondition();const q=j?R(j):$.replace(/^.*!|\?[^?!]*$/g,"");const ie=q+ae+hashFilename($,rt);const le=G(ie);Be.set(E,le);return le},getSize(E){const R=Object.create(null);for(const N of E.getSourceTypes()){R[N]=E.size(N)}return R}});if(_e.length<=1){continue}for(let R=0;R<_e.length;R++){const $=_e[R];const j=this.options.hidePathInfo?hashFilename($.key,rt):$.key;let q=N.name?N.name+ae+j:null;if(q&&q.length>100){q=q.slice(0,100)+ae+hashFilename(q,rt)}if(R!==_e.length-1){const R=E.addChunk(q);N.split(R);R.chunkReason=N.chunkReason;for(const j of $.items){if(!j.chunkCondition(R,E)){continue}Ee.connectChunkAndModule(R,j);Ee.disconnectChunkAndModule(N,j)}}else{N.name=q}}}N.timeEnd("maxSize")}))}))}}},15787:(E,R,N)=>{"use strict";const{formatSize:$}=N(9192);const j=N(81627);E.exports=class AssetsOverSizeLimitWarning extends j{constructor(E,R){const N=E.map((E=>`\n ${E.name} (${$(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${$(R)}).\nThis can impact web performance.\nAssets: ${N}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,R,N)=>{"use strict";const{formatSize:$}=N(9192);const j=N(81627);E.exports=class EntrypointsOverSizeLimitWarning extends j{constructor(E,R){const N=E.map((E=>`\n ${E.name} (${$(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${$(R)}). This can impact web performance.\nEntrypoints:${N}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class NoAsyncChunksWarning extends ${constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,R,N)=>{"use strict";const{find:$}=N(26221);const j=N(15787);const q=N(84116);const G=N(23529);const ie=new WeakSet;const excludeSourceMap=(E,R,N)=>!N.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ie.has(E)}apply(E){const R=this.maxEntrypointSize;const N=this.maxAssetSize;const ae=this.hints;const le=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const _e=[];const getEntrypointSize=R=>{let N=0;for(const $ of R.getFiles()){const R=E.getAsset($);if(R&&le(R.name,R.source,R.info)&&R.source){N+=R.info.size||R.source.size()}}return N};const Ee=[];for(const{name:R,source:$,info:j}of E.getAssets()){if(!le(R,$,j)||!$){continue}const E=j.size||$.size();if(E>N){Ee.push({name:R,size:E});ie.add($)}}const fileFilter=R=>{const N=E.getAsset(R);return N&&le(N.name,N.source,N.info)};const we=[];for(const[N,$]of E.entrypoints){const E=getEntrypointSize($);if(E>R){we.push({name:N,size:E,files:$.getFiles().filter(fileFilter)});ie.add($)}}if(ae){if(Ee.length>0){_e.push(new j(Ee,N))}if(we.length>0){_e.push(new q(we,R))}if(_e.length>0){const R=$(E.chunks,(E=>!E.canBeInitial()));if(!R){_e.push(new G)}if(ae==="error"){E.errors.push(..._e)}else{E.warnings.push(..._e)}}}}))}}},63890:(E,R,N)=>{"use strict";const $=N(66804);const j=N(58159);class ChunkPrefetchFunctionRuntimeModule extends ${constructor(E,R,N){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=R;this.runtimeHandlers=N}generate(){const{runtimeFunction:E,runtimeHandlers:R}=this;const{runtimeTemplate:N}=this.compilation;return j.asString([`${R} = {};`,`${E} = ${N.basicFunction("chunkId",[`Object.keys(${R}).map(${N.basicFunction("key",`${R}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,R,N)=>{"use strict";const $=N(76150);const j=N(63890);const q=N(2235);const G=N(86400);const ie=N(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((R,N,{chunkGraph:j})=>{if(j.getNumberOfEntryModules(R)===0)return;const G=R.getChildrenOfTypeInOrder(j,"prefetchOrder");if(G){N.add($.prefetchChunk);N.add($.onChunksLoaded);E.addRuntimeModule(R,new q(G))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((R,N,{chunkGraph:j})=>{const q=R.getChildIdsByOrdersMap(j,false);if(q.prefetch){N.add($.prefetchChunk);E.addRuntimeModule(R,new G(q.prefetch))}if(q.preload){N.add($.preloadChunk);E.addRuntimeModule(R,new ie(q.preload))}}));E.hooks.runtimeRequirementInTree.for($.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((R,N)=>{E.addRuntimeModule(R,new j("prefetch",$.prefetchChunk,$.prefetchChunkHandlers));N.add($.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for($.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((R,N)=>{E.addRuntimeModule(R,new j("preload",$.preloadChunk,$.preloadChunkHandlers));N.add($.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPrefetchStartupRuntimeModule extends j{constructor(E){super("startup prefetch",j.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:R}=this;const{runtimeTemplate:N}=this.compilation;return q.asString(E.map((({onChunks:E,chunks:j})=>`${$.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===R)).map((E=>E.id)))}, ${N.basicFunction("",j.size<3?Array.from(j,(E=>`${$.prefetchChunk}(${JSON.stringify(E.id)});`)):`${JSON.stringify(Array.from(j,(E=>E.id)))}.map(${$.prefetchChunk});`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPrefetchTriggerRuntimeModule extends j{constructor(E){super(`chunk prefetch trigger`,j.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:R}=this.compilation;const N=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${$.prefetchChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${$.ensureChunkHandlers}.prefetch = ${R.expressionFunction(`Promise.all(promises).then(${R.basicFunction("",N)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPreloadTriggerRuntimeModule extends j{constructor(E){super(`chunk preload trigger`,j.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:R}=this.compilation;const N=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${$.preloadChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${$.ensureChunkHandlers}.preload = ${R.basicFunction("chunkId",N)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,R){this.ruleProperty=E;this.effectType=R||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,R,N,$,j)=>{if(N.has(this.ruleProperty)){N.delete(this.ruleProperty);const E=R[this.ruleProperty];$.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,R,N){this.ruleProperty=E;this.dataProperty=R||E;this.invert=N||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((R,N,$,j)=>{if($.has(this.ruleProperty)){$.delete(this.ruleProperty);const q=N[this.ruleProperty];const G=E.compileCondition(`${R}.${this.ruleProperty}`,q);const ie=G.fn;j.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!G.matchWhenEmpty:G.matchWhenEmpty,fn:this.invert?E=>!ie(E):ie})}}))}}E.exports=BasicMatcherRulePlugin},95020:E=>{"use strict";class ObjectMatcherRulePlugin{constructor(E,R){this.ruleProperty=E;this.dataProperty=R||E}apply(E){const{ruleProperty:R,dataProperty:N}=this;E.hooks.rule.tap("ObjectMatcherRulePlugin",(($,j,q,G)=>{if(q.has(R)){q.delete(R);const ie=j[R];for(const j of Object.keys(ie)){const q=j.split(".");const ae=E.compileCondition(`${$}.${R}.${j}`,ie[j]);G.conditions.push({property:[N,...q],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}E.exports=ObjectMatcherRulePlugin},73817:(E,R,N)=>{"use strict";const{SyncHook:$}=N(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new $(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const R of E){R.apply(this)}}}compile(E){const R=new Map;const N=this.compileRules("ruleSet",E,R);const execRule=(E,R,N)=>{for(const N of R.conditions){const R=N.property;if(Array.isArray(R)){let $=E;for(const E of R){if($&&typeof $==="object"&&Object.prototype.hasOwnProperty.call($,E)){$=$[E]}else{$=undefined;break}}if($!==undefined){if(!N.fn($))return false;continue}}else if(R in E){const $=E[R];if($!==undefined){if(!N.fn($))return false;continue}}if(!N.matchWhenEmpty){return false}}for(const $ of R.effects){if(typeof $==="function"){const R=$(E);for(const E of R){N.push(E)}}else{N.push($)}}if(R.rules){for(const $ of R.rules){execRule(E,$,N)}}if(R.oneOf){for(const $ of R.oneOf){if(execRule(E,$,N)){break}}}return true};return{references:R,exec:E=>{const R=[];for(const $ of N){execRule(E,$,R)}return R}}}compileRules(E,R,N){return R.map(((R,$)=>this.compileRule(`${E}[${$}]`,R,N)))}compileRule(E,R,N){const $=new Set(Object.keys(R).filter((E=>R[E]!==undefined)));const j={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,R,$,j,N);if($.has("rules")){$.delete("rules");const q=R.rules;if(!Array.isArray(q))throw this.error(E,q,"Rule.rules must be an array of rules");j.rules=this.compileRules(`${E}.rules`,q,N)}if($.has("oneOf")){$.delete("oneOf");const q=R.oneOf;if(!Array.isArray(q))throw this.error(E,q,"Rule.oneOf must be an array of rules");j.oneOf=this.compileRules(`${E}.oneOf`,q,N)}if($.size>0){throw this.error(E,R,`Properties ${Array.from($).join(", ")} are unknown`)}return j}compileCondition(E,R){if(R===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!R){throw this.error(E,R,"Expected condition but got falsy value")}if(typeof R==="string"){return{matchWhenEmpty:R.length===0,fn:E=>typeof E==="string"&&E.startsWith(R)}}if(typeof R==="function"){try{return{matchWhenEmpty:R(""),fn:R}}catch(N){throw this.error(E,R,"Evaluation of condition function threw error")}}if(R instanceof RegExp){return{matchWhenEmpty:R.test(""),fn:E=>typeof E==="string"&&R.test(E)}}if(Array.isArray(R)){const N=R.map(((R,N)=>this.compileCondition(`${E}[${N}]`,R)));return this.combineConditionsOr(N)}if(typeof R!=="object"){throw this.error(E,R,`Unexpected ${typeof R} when condition was expected`)}const N=[];for(const $ of Object.keys(R)){const j=R[$];switch($){case"or":if(j){if(!Array.isArray(j)){throw this.error(`${E}.or`,R.and,"Expected array of conditions")}N.push(this.compileCondition(`${E}.or`,j))}break;case"and":if(j){if(!Array.isArray(j)){throw this.error(`${E}.and`,R.and,"Expected array of conditions")}let $=0;for(const R of j){N.push(this.compileCondition(`${E}.and[${$}]`,R));$++}}break;case"not":if(j){const R=this.compileCondition(`${E}.not`,j);const $=R.fn;N.push({matchWhenEmpty:!R.matchWhenEmpty,fn:E=>!$(E)})}break;default:throw this.error(`${E}.${$}`,R[$],`Unexpected property ${$} in condition`)}}if(N.length===0){throw this.error(E,R,"Expected condition, but got empty thing")}return this.combineConditionsAnd(N)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:R=>E.some((E=>E.fn(R)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:R=>E.every((E=>E.fn(R)))}}}error(E,R,N){return new Error(`Compiling RuleSet failed: ${N} (at ${E}: ${R})`)}}E.exports=RuleSetCompiler},19311:(E,R,N)=>{"use strict";const $=N(73837);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((R,N,j,q,G)=>{const conflictWith=($,q)=>{if(j.has($)){throw E.error(`${R}.${$}`,N[$],`A Rule must not have a '${$}' property when it has a '${q}' property`)}};if(j.has("use")){j.delete("use");j.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=N.use;const ie=N.enforce;const ae=ie?`use-${ie}`:"use";const useToEffect=(E,R,N)=>{if(typeof N==="function"){return R=>useToEffectsWithoutIdent(E,N(R))}else{return useToEffectRaw(E,R,N)}};const useToEffectRaw=(E,R,N)=>{if(typeof N==="string"){return{type:ae,value:{loader:N,options:undefined,ident:undefined}}}else{const j=N.loader;const q=N.options;let ae=N.ident;if(q&&typeof q==="object"){if(!ae)ae=R;G.set(ae,q)}if(typeof q==="string"){$.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ie?`use-${ie}`:"use",value:{loader:j,options:q,ident:ae}}}};const useToEffectsWithoutIdent=(E,R)=>{if(Array.isArray(R)){return R.map(((R,N)=>useToEffectRaw(`${E}[${N}]`,"[[missing ident]]",R)))}return[useToEffectRaw(E,"[[missing ident]]",R)]};const useToEffects=(E,R)=>{if(Array.isArray(R)){return R.map(((R,N)=>{const $=`${E}[${N}]`;return useToEffect($,$,R)}))}return[useToEffect(E,E,R)]};if(typeof E==="function"){q.effects.push((N=>useToEffectsWithoutIdent(`${R}.use`,E(N))))}else{for(const N of useToEffects(`${R}.use`,E)){q.effects.push(N)}}}if(j.has("loader")){j.delete("loader");j.delete("options");j.delete("enforce");const ie=N.loader;const ae=N.options;const le=N.enforce;if(ie.includes("!")){throw E.error(`${R}.loader`,ie,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ie.includes("?")){throw E.error(`${R}.loader`,ie,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){$.deprecate((()=>{}),`Using a string as loader options is deprecated (${R}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const _e=ae&&typeof ae==="object"?R:undefined;G.set(_e,ae);q.effects.push({type:le?`use-${le}`:"use",value:{loader:ie,options:ae,ident:_e}})}}))}useItemToEffects(E,R){}}E.exports=UseEffectRulePlugin},84997:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class AsyncModuleRuntimeModule extends q{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.asyncModule;return j.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",j.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',j.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",j.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep['catch'](reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${R} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise['catch'](rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const G=N(18161);const{getUndoPath:ie}=N(49197);class AutoPublicPathRuntimeModule extends j{constructor(){super("publicPath",j.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:R,importMetaName:N,path:j}=E.outputOptions;const ae=E.getPath(G.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const le=ie(ae,j,false);return q.asString(["var scriptUrl;",R==="module"?`if (typeof ${N}.url === "string") scriptUrl = ${N}.url`:q.asString([`if (${$.global}.importScripts) scriptUrl = ${$.global}.location + "";`,`var document = ${$.global}.document;`,"if (!scriptUrl && document) {",q.indent([`if (document.currentScript)`,q.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",q.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!le?`${$.publicPath} = scriptUrl;`:`${$.publicPath} = scriptUrl + ${JSON.stringify(le)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class ChunkNameRuntimeModule extends j{constructor(E){super("chunkName");this.chunkName=E}generate(){return`${$.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CompatGetDefaultExportRuntimeModule extends q{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.compatGetDefaultExport;return j.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${R} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",j.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${$.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class CompatRuntimeModule extends j{constructor(){super("compat",j.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:R,compilation:N}=this;const{runtimeTemplate:j,mainTemplate:q,moduleTemplates:G,dependencyTemplates:ie}=N;const ae=q.hooks.bootstrap.call("",R,N.hash||"XXXX",G.javascript,ie);const le=q.hooks.localVars.call("",R,N.hash||"XXXX");const _e=q.hooks.requireExtensions.call("",R,N.hash||"XXXX");const Ee=E.getTreeRuntimeRequirements(R);let we="";if(Ee.has($.ensureChunk)){const E=q.hooks.requireEnsure.call("",R,N.hash||"XXXX","chunkId");if(E){we=`${$.ensureChunkHandlers}.compat = ${j.basicFunction("chunkId, promises",E)};`}}return[ae,le,we,_e].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CreateFakeNamespaceObjectRuntimeModule extends q{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.createFakeNamespaceObject;return j.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${R} = function(value, mode) {`,j.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",j.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${$.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",j.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${$.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CreateScriptUrlRuntimeModule extends q{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:R,outputOptions:N}=E;const{trustedTypes:q}=N;const G=$.createScriptUrl;if(!q){return j.asString([`${G} = ${R.returningFunction("url","url")};`])}return j.asString(["var policy;",`${G} = ${R.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",j.indent(["policy = {",j.indent([`createScriptURL: ${R.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',j.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(q.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class DefinePropertyGettersRuntimeModule extends q{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.definePropertyGetters;return j.asString(["// define getter functions for harmony exports",`${R} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,j.indent([`if(${$.hasOwnProperty}(definition, key) && !${$.hasOwnProperty}(exports, key)) {`,j.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class EnsureChunkRuntimeModule extends j{constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has($.ensureChunkHandlers)){const R=$.ensureChunkHandlers;return q.asString([`${R} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${$.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${R}).reduce(${E.basicFunction("promises, key",[`${R}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return q.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${$.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{first:G}=N(26221);class GetChunkFilenameRuntimeModule extends j{constructor(E,R,N,$,j){super(`get ${R} chunk filename`);this.contentType=E;this.global=N;this.getFilenameForChunk=$;this.allChunks=j;this.dependentHash=true}generate(){const{global:E,chunk:R,chunkGraph:N,contentType:j,getFilenameForChunk:ie,allChunks:ae,compilation:le}=this;const{runtimeTemplate:_e}=le;const Ee=new Map;let we=0;let Ie;const addChunk=E=>{const R=ie(E);if(R){let N=Ee.get(R);if(N===undefined){Ee.set(R,N=new Set)}N.add(E);if(typeof R==="string"){if(N.size{const unquotedStringify=R=>{const N=`${R}`;if(N.length>=5&&N===`${E.id}`){return'" + chunkId + "'}const $=JSON.stringify(N);return $.slice(1,$.length-1)};const unquotedStringifyWithLength=E=>R=>unquotedStringify(`${E}`.slice(0,R));const N=typeof R==="function"?JSON.stringify(R({chunk:E,contentHashType:j})):JSON.stringify(R);const q=le.getPath(N,{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[j]:unquotedStringify(E.contentHash[j])},contentHashWithLength:{[j]:unquotedStringifyWithLength(E.contentHash[j])}},contentHashType:j});let G=Te.get(q);if(G===undefined){Te.set(q,G=new Set)}G.add(E.id)};for(const[E,R]of Ee){if(E!==Ie){for(const N of R)addStaticUrl(N,E)}else{for(const E of R)Ne.add(E)}}const createMap=E=>{const R={};let N=false;let $;let j=0;for(const q of Ne){const G=E(q);if(G===q.id){N=true}else{R[q.id]=G;$=q.id;j++}}if(j===0)return"chunkId";if(j===1){return N?`(chunkId === ${JSON.stringify($)} ? ${JSON.stringify(R[$])} : chunkId)`:JSON.stringify(R[$])}return N?`(${JSON.stringify(R)}[chunkId] || chunkId)`:`${JSON.stringify(R)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>R=>`" + ${createMap((N=>`${E(N)}`.slice(0,R)))} + "`;const Be=Ie&&le.getPath(JSON.stringify(Ie),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[j]:mapExpr((E=>E.contentHash[j]))},contentHashWithLength:{[j]:mapExprWithLength((E=>E.contentHash[j]))}},contentHashType:j});return q.asString([`// This function allow to reference ${Me.join(" and ")}`,`${E} = ${_e.basicFunction("chunkId",Te.size>0?["// return url for filenames not based on template",q.asString(Array.from(Te,(([E,R])=>{const N=R.size===1?`chunkId === ${JSON.stringify(G(R))}`:`{${Array.from(R,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${N}) return ${E};`}))),"// return url for filenames based on template",`return ${Be};`]:["// return url for filenames based on template",`return ${Be};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class GetFullHashRuntimeModule extends j{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${$.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class GetMainFilenameRuntimeModule extends j{constructor(E,R,N){super(`get ${E} filename`);this.global=R;this.filename=N}generate(){const{global:E,filename:R,compilation:N,chunk:j}=this;const{runtimeTemplate:G}=N;const ie=N.getPath(JSON.stringify(R),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:j,runtime:j.runtime});return q.asString([`${E} = ${G.returningFunction(ie)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class GlobalRuntimeModule extends j{constructor(){super("global")}generate(){return q.asString([`${$.global} = (function() {`,q.indent(["if (typeof globalThis === 'object') return globalThis;","try {",q.indent("return this || new Function('return this')();"),"} catch (e) {",q.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class HasOwnPropertyRuntimeModule extends j{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${$.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,R,N)=>{"use strict";const $=N(66804);class HelperRuntimeModule extends ${constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(58159);const ie=N(9851);const ae=new WeakMap;class LoadScriptRuntimeModule extends ie{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=ae.get(E);if(R===undefined){R={createScript:new $(["source","chunk"])};ae.set(E,R)}return R}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:R,outputOptions:N}=E;const{scriptType:$,chunkLoadTimeout:j,crossOriginLoading:ie,uniqueName:ae,charset:le}=N;const _e=q.loadScript;const{createScript:Ee}=LoadScriptRuntimeModule.getCompilationHooks(E);const we=G.asString(["script = document.createElement('script');",$?`script.type = ${JSON.stringify($)};`:"",le?"script.charset = 'utf-8';":"",`script.timeout = ${j/1e3};`,`if (${q.scriptNonce}) {`,G.indent(`script.setAttribute("nonce", ${q.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${q.createScriptUrl}(url)`:"url"};`,ie?G.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",G.indent(`script.crossOrigin = ${JSON.stringify(ie)};`),"}"]):""]);return G.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${_e} = ${R.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",G.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",G.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",G.indent(["needAttach = true;",Ee.call(we,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+R.basicFunction("prev, event",G.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${R.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${j});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class MakeNamespaceObjectRuntimeModule extends q{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.makeNamespaceObject;return j.asString(["// define __esModule on exports",`${R} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",j.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class OnChunksLoadedRuntimeModule extends j{constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:R}=E;return q.asString(["var deferred = [];",`${$.onChunksLoaded} = ${R.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",q.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",q.indent([R.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",q.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${$.onChunksLoaded}).every(${R.returningFunction(`${$.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,q.indent(["chunkIds.splice(j--, 1);"]),"} else {",q.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",q.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class PublicPathRuntimeModule extends j{constructor(E){super("publicPath",j.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:R}=this;return`${$.publicPath} = ${JSON.stringify(E.getPath(R||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class RelativeUrlRuntimeModule extends q{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return j.asString([`${$.relativeUrl} = function RelativeURL(url) {`,j.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${$.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class RuntimeIdRuntimeModule extends j{constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:R}=this;const N=R.runtime;if(typeof N!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const j=E.getRuntimeId(N);return`${$.runtimeId} = ${JSON.stringify(j)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,R,N)=>{"use strict";const $=N(76150);const j=N(55616);const q=N(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((R,N,{chunkGraph:q})=>{if(!isEnabledForChunk(R))return;if(q.hasChunkEntryDependentChunks(R)){N.add($.startup);N.add($.ensureChunk);N.add($.ensureChunkIncludeEntries);E.addRuntimeModule(R,new j(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for($.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;N.add($.require);N.add($.ensureChunk);N.add($.ensureChunkIncludeEntries);E.addRuntimeModule(R,new q(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class StartupChunkDependenciesRuntimeModule extends j{constructor(E){super("startup chunk dependencies",j.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:R,compilation:N}=this;const{runtimeTemplate:j}=N;const G=Array.from(E.getChunkEntryDependentChunksIterable(R)).map((E=>E.id));return q.asString([`var next = ${$.startup};`,`${$.startup} = ${j.basicFunction("",!this.asyncChunkLoading?G.map((E=>`${$.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):G.length===1?`return ${$.ensureChunk}(${JSON.stringify(G[0])}).then(next);`:G.length>2?[`return Promise.all(${JSON.stringify(G)}.map(${$.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",q.indent(G.map((E=>`${$.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class StartupEntrypointRuntimeModule extends j{constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:R}=E;return`${$.startupEntrypoint} = ${R.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${R.returningFunction(`__webpack_require__(${$.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${$.ensureChunk}, __webpack_require__)).then(${R.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${$.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class SystemContextRuntimeModule extends j{constructor(){super("__system_context__")}generate(){return`${$.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,R,N)=>{"use strict";const $=N(53520);const j=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=E=>{const R=j.exec(E);if(!R)return null;const N=R[3];const $=R[4];return N?Buffer.from($,"base64"):Buffer.from(decodeURIComponent($),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:R})=>{R.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const R=j.exec(E.resource);if(R){E.data.mimetype=R[1]||"";E.data.parameters=R[2]||"";E.data.encoding=R[3]||false;E.data.encodedContent=R[4]||""}}));$.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,R,N)=>{"use strict";const{URL:$,fileURLToPath:j}=N(57310);const{NormalModule:q}=N(86443);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:R})=>{R.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const R=new $(E.resource);const N=j(R);const q=R.search;const G=R.hash;E.path=N;E.query=q;E.fragment=G;E.resource=N+q+G;return true}));const N=q.getCompilationHooks(E);N.readResource.for(undefined).tapAsync("FileUriPlugin",((E,R)=>{const{resourcePath:N}=E;E.addDependency(N);E.fs.readFile(N,R)}))}))}}E.exports=FileUriPlugin},7201:(E,R,N)=>{"use strict";const{extname:$,basename:j}=N(71017);const{URL:q}=N(57310);const{createGunzip:G,createBrotliDecompress:ie,createInflate:ae}=N(59796);const le=N(53520);const _e=N(35817);const Ee=N(35891);const{mkdirp:we,dirname:Ie,join:Me}=N(95396);const Te=N(91671);const Ne=Te((()=>N(13685)));const Be=Te((()=>N(95687)));let Le=undefined;const je=_e(N(44363),(()=>N(5404)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=E=>E.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=E=>{const R=Ee("sha512");R.update(E);const N="sha512-"+R.digest("base64");return N};const verifyIntegrity=(E,R)=>{if(R==="ignore")return true;return computeIntegrity(E)===R};const parseKeyValuePairs=E=>{const R={};for(const N of E.split(",")){const E=N.indexOf("=");if(E>=0){const $=N.slice(0,E).trim();const j=N.slice(E+1).trim();R[$]=j}else{const E=N.trim();if(!E)continue;R[E]=E}}return R};const parseCacheControl=(E,R)=>{let N=true;let $=true;let j=0;if(E){const q=parseKeyValuePairs(E);if(q["no-cache"])N=$=false;if(q["max-age"]&&!isNaN(+q["max-age"])){j=R+ +q["max-age"]*1e3}if(q["must-revalidate"])j=0}return{storeLock:$,storeCache:N,validUntil:j}};const areLockfileEntriesEqual=(E,R)=>E.resolved===R.resolved&&E.integrity===R.integrity&&E.contentType===R.contentType;const entryToString=E=>`resolved: ${E.resolved}, integrity: ${E.integrity}, contentType: ${E.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(E){const R=JSON.parse(E);if(R.version!==1)throw new Error(`Unsupported lockfile version ${R.version}`);const N=new Lockfile;for(const E of Object.keys(R)){if(E==="version")continue;const $=R[E];N.entries.set(E,typeof $==="string"?$:{resolved:E,...$})}return N}toString(){let E="{\n";const R=Array.from(this.entries).sort((([E],[R])=>E{let R=false;let N=undefined;let $=undefined;let j=undefined;return q=>{if(R){if($!==undefined)return q(null,$);if(N!==undefined)return q(N);if(j===undefined)j=[q];else j.push(q);return}R=true;E(((E,R)=>{if(E)N=E;else $=R;const G=j;j=undefined;q(E,R);if(G!==undefined)for(const N of G)N(E,R)}))}};const cachedWithKey=(E,R=E)=>{const N=new Map;const resultFn=(R,$)=>{const j=N.get(R);if(j!==undefined){if(j.result!==undefined)return $(null,j.result);if(j.error!==undefined)return $(j.error);if(j.callbacks===undefined)j.callbacks=[$];else j.callbacks.push($);return}const q={result:undefined,error:undefined,callbacks:undefined};N.set(R,q);E(R,((E,R)=>{if(E)q.error=E;else q.result=R;const N=q.callbacks;q.callbacks=undefined;$(E,R);if(N!==undefined)for(const $ of N)$(E,R)}))};resultFn.force=(E,$)=>{const j=N.get(E);if(j!==undefined&&j.force){if(j.result!==undefined)return $(null,j.result);if(j.error!==undefined)return $(j.error);if(j.callbacks===undefined)j.callbacks=[$];else j.callbacks.push($);return}const q={result:undefined,error:undefined,callbacks:undefined,force:true};N.set(E,q);R(E,((E,R)=>{if(E)q.error=E;else q.result=R;const N=q.callbacks;q.callbacks=undefined;$(E,R);if(N!==undefined)for(const $ of N)$(E,R)}))};return resultFn};class HttpUriPlugin{constructor(E){je(E);this._lockfileLocation=E.lockfileLocation;this._cacheLocation=E.cacheLocation;this._upgrade=E.upgrade;this._frozen=E.frozen;this._allowedUris=E.allowedUris}apply(E){const R=[{scheme:"http",fetch:(E,R,N)=>Ne().get(E,R,N)},{scheme:"https",fetch:(E,R,N)=>Be().get(E,R,N)}];let N;E.hooks.compilation.tap("HttpUriPlugin",((_e,{normalModuleFactory:Te})=>{const Ne=E.intermediateFileSystem;const Be=_e.inputFileSystem;const je=_e.getCache("webpack.HttpUriPlugin");const ze=_e.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||Me(Ne,E.context,E.name?`${toSafePath(E.name)}.webpack.lock`:"webpack.lock");const qe=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const Ge=this._upgrade||false;const He=this._frozen||false;const We="sha512";const Ve="hex";const Ke=20;const Qe=this._allowedUris;let Je=false;const Xe=new Map;const getCacheKey=E=>{const R=Xe.get(E);if(R!==undefined)return R;const N=_getCacheKey(E);Xe.set(E,N);return N};const _getCacheKey=E=>{const R=new q(E);const N=toSafePath(R.origin);const j=toSafePath(R.pathname);const G=toSafePath(R.search);let ie=$(j);if(ie.length>20)ie="";const ae=ie?j.slice(0,-ie.length):j;const le=Ee(We);le.update(E);const _e=le.digest(Ve).slice(0,Ke);return`${N.slice(-50)}/${`${ae}${G?`_${G}`:""}`.slice(0,150)}_${_e}${ie}`};const Ye=cachedWithoutKey((R=>{const readLockfile=()=>{Ne.readFile(Ue,(($,j)=>{if($&&$.code!=="ENOENT"){_e.missingDependencies.add(Ue);return R($)}_e.fileDependencies.add(Ue);_e.fileSystemInfo.createSnapshot(E.fsStartTime,j?[Ue]:[],[],j?[]:[Ue],{timestamp:true},((E,$)=>{if(E)return R(E);const q=j?Lockfile.parse(j.toString("utf-8")):new Lockfile;N={lockfile:q,snapshot:$};R(null,q)}))}))};if(N){_e.fileSystemInfo.checkSnapshotValid(N.snapshot,((E,$)=>{if(E)return R(E);if(!$)return readLockfile();R(null,N.lockfile)}))}else{readLockfile()}}));let Ze=undefined;const storeLockEntry=(E,R,N)=>{const $=E.entries.get(R);if(Ze===undefined)Ze=new Map;Ze.set(R,N);E.entries.set(R,N);if(!$){ze.log(`${R} added to lockfile`)}else if(typeof $==="string"){if(typeof N==="string"){ze.log(`${R} updated in lockfile: ${$} -> ${N}`)}else{ze.log(`${R} updated in lockfile: ${$} -> ${N.resolved}`)}}else if(typeof N==="string"){ze.log(`${R} updated in lockfile: ${$.resolved} -> ${N}`)}else if($.resolved!==N.resolved){ze.log(`${R} updated in lockfile: ${$.resolved} -> ${N.resolved}`)}else if($.integrity!==N.integrity){ze.log(`${R} updated in lockfile: content changed`)}else if($.contentType!==N.contentType){ze.log(`${R} updated in lockfile: ${$.contentType} -> ${N.contentType}`)}else{ze.log(`${R} updated in lockfile`)}};const storeResult=(E,R,N,$)=>{if(N.storeLock){storeLockEntry(E,R,N.entry);if(!qe||!N.content)return $(null,N);const j=getCacheKey(N.entry.resolved);const q=Me(Ne,qe,j);we(Ne,Ie(Ne,q),(E=>{if(E)return $(E);Ne.writeFile(q,N.content,(E=>{if(E)return $(E);$(null,N)}))}))}else{storeLockEntry(E,R,"no-cache");$(null,N)}};for(const{scheme:E,fetch:N}of R){const resolveContent=(E,N,$)=>{const handleResult=(j,q)=>{if(j)return $(j);if("location"in q){return resolveContent(q.location,N,((E,R)=>{if(E)return $(E);$(null,{entry:R.entry,content:R.content,storeLock:R.storeLock&&q.storeLock})}))}else{if(!q.fresh&&N&&q.entry.integrity!==N&&!verifyIntegrity(q.content,N)){return R.force(E,handleResult)}return $(null,{entry:q.entry,content:q.content,storeLock:q.storeLock})}};R(E,handleResult)};const fetchContentRaw=(E,R,$)=>{const j=Date.now();N(new q(E),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":R?R.etag||null:null}},(N=>{const le=N.headers["etag"];const _e=N.headers["location"];const Ee=N.headers["cache-control"];const{storeLock:we,storeCache:Ie,validUntil:Me}=parseCacheControl(Ee,j);const finishWith=R=>{if("location"in R){ze.debug(`GET ${E} [${N.statusCode}] -> ${R.location}`)}else{ze.debug(`GET ${E} [${N.statusCode}] ${Math.ceil(R.content.length/1024)} kB${!we?" no-cache":""}`)}const j={...R,fresh:true,storeLock:we,storeCache:Ie,validUntil:Me,etag:le};if(!Ie){ze.log(`${E} can't be stored in cache, due to Cache-Control header: ${Ee}`);return $(null,j)}je.store(E,null,{...j,fresh:false},(R=>{if(R){ze.warn(`${E} can't be stored in cache: ${R.message}`);ze.debug(R.stack)}$(null,j)}))};if(N.statusCode===304){if(R.validUntil=301&&N.statusCode<=308){return finishWith({location:new q(_e,E).href})}const Te=N.headers["content-type"]||"";const Ne=[];const Be=N.headers["content-encoding"];let Le=N;if(Be==="gzip"){Le=Le.pipe(G())}else if(Be==="br"){Le=Le.pipe(ie())}else if(Be==="deflate"){Le=Le.pipe(ae())}Le.on("data",(E=>{Ne.push(E)}));Le.on("end",(()=>{if(!N.complete){ze.log(`GET ${E} [${N.statusCode}] (terminated)`);return $(new Error(`${E} request was terminated`))}const R=Buffer.concat(Ne);if(N.statusCode!==200){ze.log(`GET ${E} [${N.statusCode}]`);return $(new Error(`${E} request status code = ${N.statusCode}\n${R.toString("utf-8")}`))}const j=computeIntegrity(R);const q={resolved:E,integrity:j,contentType:Te};finishWith({entry:q,content:R})}))})).on("error",(R=>{ze.log(`GET ${E} (error)`);R.message+=`\nwhile fetching ${E}`;$(R)}))};const R=cachedWithKey(((E,R)=>{je.get(E,null,((N,$)=>{if(N)return R(N);if($){const E=$.validUntil>=Date.now();if(E)return R(null,$)}fetchContentRaw(E,$,R)}))}),((E,R)=>fetchContentRaw(E,undefined,R)));const isAllowed=E=>{for(const R of Qe){if(typeof R==="string"){if(E.startsWith(R))return true}else if(typeof R==="function"){if(R(E))return true}else{if(R.test(E))return true}}return false};const $=cachedWithKey(((E,R)=>{if(!isAllowed(E)){return R(new Error(`${E} doesn't match the allowedUris policy. These URIs are allowed:\n${Qe.map((E=>` - ${E}`)).join("\n")}`))}Ye(((N,$)=>{if(N)return R(N);const j=$.entries.get(E);if(!j){if(He){return R(new Error(`${E} has no lockfile entry and lockfile is frozen`))}resolveContent(E,null,((N,j)=>{if(N)return R(N);storeResult($,E,j,R)}));return}if(typeof j==="string"){const N=j;resolveContent(E,null,((j,q)=>{if(j)return R(j);if(!q.storeLock||N==="ignore")return R(null,q);if(He){return R(new Error(`${E} used to have ${N} lockfile entry and has content now, but lockfile is frozen`))}if(!Ge){return R(new Error(`${E} used to have ${N} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult($,E,q,R)}));return}let q=j;const doFetch=N=>{resolveContent(E,q.integrity,((j,G)=>{if(j){if(N){ze.warn(`Upgrade request to ${E} failed: ${j.message}`);ze.debug(j.stack);return R(null,{entry:q,content:N})}return R(j)}if(!G.storeLock){if(He){return R(new Error(`${E} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult($,E,G,R);return}if(!areLockfileEntriesEqual(G.entry,q)){if(He){return R(new Error(`${E} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(q)}\nExpected: ${entryToString(G.entry)}`))}storeResult($,E,G,R);return}if(!N&&qe){if(He){return R(new Error(`${E} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult($,E,G,R);return}return R(null,G)}))};if(qe){const N=getCacheKey(q.resolved);const j=Me(Ne,qe,N);Be.readFile(j,((N,G)=>{const ie=G;if(N){if(N.code==="ENOENT")return doFetch();return R(N)}const continueWithCachedContent=E=>{if(!Ge){return R(null,{entry:q,content:ie})}return doFetch(ie)};if(!verifyIntegrity(ie,q.integrity)){let N;let G=false;try{N=Buffer.from(ie.toString("utf-8").replace(/\r\n/g,"\n"));G=verifyIntegrity(N,q.integrity)}catch(E){}if(G){if(!Je){const E=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(He){ze.error(E)}else{ze.warn(E);ze.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Je=true}if(!He){ze.log(`${j} fixed end of line sequence (\\r\\n instead of \\n).`);Ne.writeFile(j,N,(E=>{if(E)return R(E);continueWithCachedContent(N)}));return}}if(He){return R(new Error(`${q.resolved} integrity mismatch, expected content with integrity ${q.integrity} but got ${computeIntegrity(ie)}.\nLockfile corrupted (${G?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{q={...q,integrity:computeIntegrity(ie)};storeLockEntry($,E,q)}}continueWithCachedContent(G)}))}else{doFetch()}}))}));const respondWithUrlModule=(E,R,N)=>{$(E.href,(($,j)=>{if($)return N($);R.resource=E.href;R.path=E.origin+E.pathname;R.query=E.search;R.fragment=E.hash;R.context=new q(".",j.entry.resolved).href.slice(0,-1);R.data.mimetype=j.entry.contentType;N(null,true)}))};Te.hooks.resolveForScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>{respondWithUrlModule(new q(E.resource),E,N)}));Te.hooks.resolveInScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>{if(R.dependencyType!=="url"&&!/^\.{0,2}\//.test(E.resource)){return N()}respondWithUrlModule(new q(E.resource,R.context+"/"),E,N)}));const j=le.getCompilationHooks(_e);j.readResourceForScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>$(E,((E,$)=>{if(E)return N(E);R.buildInfo.resourceIntegrity=$.entry.integrity;N(null,$.content)}))));j.needBuild.tapAsync("HttpUriPlugin",((R,N,j)=>{if(R.resource&&R.resource.startsWith(`${E}://`)){$(R.resource,((E,N)=>{if(E)return j(E);if(N.entry.integrity!==R.buildInfo.resourceIntegrity){return j(null,true)}j()}))}else{return j()}}))}_e.hooks.finishModules.tapAsync("HttpUriPlugin",((E,R)=>{if(!Ze)return R();const N=$(Ue);const q=Me(Ne,Ie(Ne,Ue),`.${j(Ue,N)}.${Math.random()*1e4|0}${N}`);const writeDone=()=>{const E=Le.shift();if(E){E()}else{Le=undefined}};const runWrite=()=>{Ne.readFile(Ue,((E,N)=>{if(E&&E.code!=="ENOENT"){writeDone();return R(E)}const $=N?Lockfile.parse(N.toString("utf-8")):new Lockfile;for(const[E,R]of Ze){$.entries.set(E,R)}Ne.writeFile(q,$.toString(),(E=>{if(E){writeDone();return Ne.unlink(q,(()=>R(E)))}Ne.rename(q,Ue,(E=>{if(E){writeDone();return Ne.unlink(q,(()=>R(E)))}writeDone();R()}))}))}))};if(Le){Le.push(runWrite)}else{Le=[];runWrite()}}))}))}}E.exports=HttpUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:R}){R(E.length);for(const N of E)R(N)}deserialize({read:E}){const R=E();const N=[];for(let $=0;${"use strict";const $=N(91671);const j=N(43065);const q=11;const G=12;const ie=13;const ae=14;const le=16;const _e=17;const Ee=18;const we=19;const Ie=20;const Me=21;const Te=22;const Ne=23;const Be=24;const Le=30;const je=31;const ze=96;const Ue=64;const qe=32;const Ge=128;const He=224;const We=31;const Ve=127;const Ke=1;const Qe=1;const Je=4;const Xe=8;const Ye=Symbol("MEASURE_START_OPERATION");const Ze=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends j{serialize(E,R){return this._serialize(E,R)}_serializeLazy(E,R){return j.serializeLazy(E,(E=>this._serialize(E,R)))}_serialize(E,R,N={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let $=null;let He=[];let We=N?N.leftOverBuffer:null;N.leftOverBuffer=null;let Ve=0;if(We===null){We=Buffer.allocUnsafe(N.allocationSize)}const allocate=E=>{if(We!==null){if(We.length-Ve>=E)return;flush()}if($&&$.length>=E){We=$;$=null}else{We=Buffer.allocUnsafe(Math.max(E,N.allocationSize));if(!(N.increaseCounter=(N.increaseCounter+1)%4)&&N.allocationSize<16777216){N.allocationSize=N.allocationSize<<1}}};const flush=()=>{if(We!==null){if(Ve>0){He.push(Buffer.from(We.buffer,We.byteOffset,Ve))}if(!$||$.length{We.writeUInt8(E,Ve++)};const writeU32=E=>{We.writeUInt32LE(E,Ve);Ve+=4};const et=[];const measureStart=()=>{et.push(He.length,Ve)};const measureEnd=()=>{const E=et.pop();const R=et.pop();let N=Ve-E;for(let E=R;E0&&(E=G[G.length-1])!==0){const N=4294967295-E;if(N>=R.length){G[G.length-1]+=R.length}else{G.push(R.length-N);G[G.length-2]=4294967295}}else{G.push(R.length)}}allocate(5+G.length*4);writeU8(q);writeU32(G.length);for(const E of G){writeU32(E)}flush();for(const R of E){He.push(R)}break}case"string":{const E=Buffer.byteLength(tt);if(E>=128||E!==tt.length){allocate(E+Ke+Je);writeU8(Le);writeU32(E);We.write(tt,Ve);Ve+=E}else if(E>=70){allocate(E+Ke);writeU8(Ge|E);We.write(tt,Ve,"latin1");Ve+=E}else{allocate(E+Ke);writeU8(Ge|E);for(let R=0;R=0&&tt<=10){allocate(Qe);writeU8(tt);break}let N=1;for(;N<32&&et+N0){We.writeInt8(E[et],Ve);Ve+=Qe;N--;et++}break;case 1:allocate(Ke+Je*N);writeU8(Ue|N-1);while(N>0){We.writeInt32LE(E[et],Ve);Ve+=Je;N--;et++}break;case 2:allocate(Ke+Xe*N);writeU8(qe|N-1);while(N>0){We.writeDoubleLE(E[et],Ve);Ve+=Xe;N--;et++}break}et--;break}case"boolean":{let R=tt===true?1:0;const N=[];let $=1;let j;for(j=1;j<4294967295&&et+jthis._deserialize(E,R))),this,undefined,E)}_deserializeLazy(E,R){return j.deserializeLazy(E,(E=>this._deserialize(E,R)))}_deserialize(E,R){let N=0;let $=E[0];let j=Buffer.isBuffer($);let Ke=0;const Ye=R.retainedBuffer||(E=>E);const checkOverflow=()=>{if(Ke>=$.length){Ke=0;N++;$=Nj&&E+Ke<=$.length;const ensureBuffer=()=>{if(!j){throw new Error($===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=R=>{ensureBuffer();const q=$.length-Ke;if(q{ensureBuffer();const R=$.length-Ke;if(R{ensureBuffer();const E=$.readUInt8(Ke);Ke+=Qe;checkOverflow();return E};const readU32=()=>read(Je).readUInt32LE(0);const readBits=(E,R)=>{let N=1;while(R!==0){et.push((E&N)!==0);N=N<<1;R--}};const Ze=Array.from({length:256}).map(((Ze,tt)=>{switch(tt){case q:return()=>{const q=readU32();const G=Array.from({length:q}).map((()=>readU32()));const ie=[];for(let R of G){if(R===0){if(typeof $!=="function"){throw new Error("Unexpected non-lazy element in stream")}ie.push($);N++;$=N0)}}et.push(this._createLazyDeserialized(ie,R))};case je:return()=>{const E=readU32();et.push(Ye(read(E)))};case G:return()=>et.push(true);case ie:return()=>et.push(false);case Ee:return()=>et.push(null,null,null);case _e:return()=>et.push(null,null);case le:return()=>et.push(null);case Ne:return()=>et.push(null,true);case Be:return()=>et.push(null,false);case Me:return()=>{if(j){et.push(null,$.readInt8(Ke));Ke+=Qe;checkOverflow()}else{et.push(null,read(Qe).readInt8(0))}};case Te:return()=>{et.push(null);if(isInCurrentBuffer(Je)){et.push($.readInt32LE(Ke));Ke+=Je;checkOverflow()}else{et.push(read(Je).readInt32LE(0))}};case we:return()=>{const E=readU8()+4;for(let R=0;R{const E=readU32()+260;for(let R=0;R{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let R=(E&127)+7;while(R>8){readBits(readU8(),8);R-=8}readBits(readU8(),R)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Le:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&Ke+E<2147483647){et.push($.toString(undefined,Ke,Ke+E));Ke+=E;checkOverflow()}else{et.push(read(E).toString())}};case Ge:return()=>et.push("");case Ge|1:return()=>{if(j&&Ke<2147483646){et.push($.toString("latin1",Ke,Ke+1));Ke++;checkOverflow()}else{et.push(read(1).toString("latin1"))}};case ze:return()=>{if(j){et.push($.readInt8(Ke));Ke++;checkOverflow()}else{et.push(read(1).readInt8(0))}};default:if(tt<=10){return()=>et.push(tt)}else if((tt&Ge)===Ge){const E=tt&Ve;return()=>{if(isInCurrentBuffer(E)&&Ke+E<2147483647){et.push($.toString("latin1",Ke,Ke+E));Ke+=E;checkOverflow()}else{et.push(read(E).toString("latin1"))}}}else if((tt&He)===qe){const E=(tt&We)+1;return()=>{const R=Xe*E;if(isInCurrentBuffer(R)){for(let R=0;R{const R=Je*E;if(isInCurrentBuffer(R)){for(let R=0;R{const R=Qe*E;if(isInCurrentBuffer(R)){for(let R=0;R{throw new Error(`Unexpected header byte 0x${tt.toString(16)}`)}}}}));let et=[];while($!==null){if(typeof $==="function"){et.push(this._deserializeLazy($,R));N++;$=N{"use strict";class DateObjectSerializer{serialize(E,{write:R}){R(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:R}){R(E.message);R(E.stack)}deserialize({read:E}){const R=new this.Type;R.message=E();R.stack=E();return R}}E.exports=ErrorObjectSerializer},13829:(E,R,N)=>{"use strict";const{constants:$}=N(14300);const{pipeline:j}=N(12781);const{createBrotliCompress:q,createBrotliDecompress:G,createGzip:ie,createGunzip:ae,constants:le}=N(59796);const _e=N(35891);const{dirname:Ee,join:we,mkdirp:Ie}=N(95396);const Me=N(91671);const Te=N(43065);const Ne=23294071;const hashForName=(E,R)=>{const N=_e(R);for(const R of E)N.update(R);return N.digest("hex")};const Be=100*1024*1024;const Le=100*1024*1024;const je=Buffer.prototype.writeBigUInt64LE?(E,R,N)=>{E.writeBigUInt64LE(BigInt(R),N)}:(E,R,N)=>{const $=R%4294967296;const j=(R-$)/4294967296;E.writeUInt32LE($,N);E.writeUInt32LE(j,N+4)};const ze=Buffer.prototype.readBigUInt64LE?(E,R)=>Number(E.readBigUInt64LE(R)):(E,R)=>{const N=E.readUInt32LE(R);const $=E.readUInt32LE(R+4);return $*4294967296+N};const serialize=async(E,R,N,$,j="md4")=>{const q=[];const G=new WeakMap;let ie=undefined;for(const N of await R){if(typeof N==="function"){if(!Te.isLazy(N))throw new Error("Unexpected function");if(!Te.isLazy(N,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}ie=undefined;const R=Te.getLazySerializedValue(N);if(R){if(typeof R==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{q.push(R)}}else{const R=N();if(R){const ie=Te.getLazyOptions(N);q.push(serialize(E,R,ie&&ie.name||true,$,j).then((E=>{N.options.size=E.size;G.set(E,N);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(N){if(ie){ie.push(N)}else{ie=[N];q.push(ie)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const le=(await Promise.all(q)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ae.push(E.backgroundJob);const R=E.name;const N=Buffer.from(R);const $=Buffer.allocUnsafe(8+N.length);je($,E.size,0);N.copy($,8,0);const j=G.get(E);Te.setLazySerializedValue(j,$);return $}));const _e=[];for(const E of le){if(Array.isArray(E)){let R=0;for(const N of E)R+=N.length;while(R>2147483647){_e.push(2147483647);R-=2147483647}_e.push(R)}else if(E){_e.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const Ee=Buffer.allocUnsafe(8+_e.length*4);Ee.writeUInt32LE(Ne,0);Ee.writeUInt32LE(_e.length,4);for(let E=0;E<_e.length;E++){Ee.writeInt32LE(_e[E],8+E*4)}const we=[Ee];for(const E of le){if(Array.isArray(E)){for(const R of E)we.push(R)}else if(E){we.push(E)}}if(N===true){N=hashForName(we,j)}ae.push($(N,we));let Ie=0;for(const E of we)Ie+=E.length;return{size:Ie,name:N,backgroundJob:ae.length===1?ae[0]:Promise.all(ae)}};const deserialize=async(E,R,N)=>{const $=await N(R);if($.length===0)throw new Error("Empty file "+R);let j=0;let q=$[0];let G=q.length;let ie=0;if(G===0)throw new Error("Empty file "+R);const nextContent=()=>{j++;q=$[j];G=q.length;ie=0};const ensureData=E=>{if(ie===G){nextContent()}while(G-ieN){ae.push($[E].slice(0,N));$[E]=$[E].slice(N);N=0;break}else{ae.push($[E]);j=E;N-=R}}if(N>0)throw new Error("Unexpected end of data");q=Buffer.concat(ae,E);G=E;ie=0}};const readUInt32LE=()=>{ensureData(4);const E=q.readUInt32LE(ie);ie+=4;return E};const readInt32LE=()=>{ensureData(4);const E=q.readInt32LE(ie);ie+=4;return E};const readSlice=E=>{ensureData(E);if(ie===0&&G===E){const R=q;if(j+1<$.length){nextContent()}else{ie=E}return R}const R=q.slice(ie,ie+E);ie+=E;return E*2=0;if(Ee&&R){_e[_e.length-1]+=E}else{_e.push(E);Ee=R}}const we=[];for(let R of _e){if(R<0){const $=readSlice(-R);const j=Number(ze($,0));const q=$.slice(8);const G=q.toString();we.push(Te.createLazy(Me((()=>deserialize(E,G,N))),E,{name:G,size:j},$))}else{if(ie===G){nextContent()}else if(ie!==0){if(R<=G-ie){we.push(Buffer.from(q.buffer,q.byteOffset+ie,R));ie+=R;R=0}else{const E=G-ie;we.push(Buffer.from(q.buffer,q.byteOffset+ie,E));R-=E;ie=G}}else{if(R>=G){we.push(q);R-=G;ie=G}else{we.push(Buffer.from(q.buffer,q.byteOffset,R));ie+=R;R=0}}while(R>0){nextContent();if(R>=G){we.push(q);R-=G;ie=G}else{we.push(Buffer.from(q.buffer,q.byteOffset,R));ie+=R;R=0}}}}return we};class FileMiddleware extends Te{constructor(E,R="md4"){super();this.fs=E;this._hashFunction=R}serialize(E,R){const{filename:N,extension:$=""}=R;return new Promise(((R,G)=>{Ie(this.fs,Ee(this.fs,N),(ae=>{if(ae)return G(ae);const _e=new Set;const writeFile=async(E,R)=>{const G=E?we(this.fs,N,`../${E}${$}`):N;await new Promise(((E,N)=>{let $=this.fs.createWriteStream(G+"_");let ae;if(G.endsWith(".gz")){ae=ie({chunkSize:Be,level:le.Z_BEST_SPEED})}else if(G.endsWith(".br")){ae=q({chunkSize:Be,params:{[le.BROTLI_PARAM_MODE]:le.BROTLI_MODE_TEXT,[le.BROTLI_PARAM_QUALITY]:2,[le.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[le.BROTLI_PARAM_SIZE_HINT]:R.reduce(((E,R)=>E+R.length),0)}})}if(ae){j(ae,$,N);$=ae;$.on("finish",(()=>E()))}else{$.on("error",(E=>N(E)));$.on("finish",(()=>E()))}for(const E of R)$.write(E);$.end()}));if(E)_e.add(G)};R(serialize(this,E,false,writeFile,this._hashFunction).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(N,N+".old",(R=>{E()}))));await Promise.all(Array.from(_e,(E=>new Promise(((R,N)=>{this.fs.rename(E+"_",E,(E=>{if(E)return N(E);R()}))})))));await new Promise((E=>{this.fs.rename(N+"_",N,(R=>{if(R)return G(R);E()}))}));return true})))}))}))}deserialize(E,R){const{filename:N,extension:j=""}=R;const readFile=E=>new Promise(((R,q)=>{const ie=E?we(this.fs,N,`../${E}${j}`):N;this.fs.stat(ie,((E,N)=>{if(E){q(E);return}let j=N.size;let le;let _e;const Ee=[];let we;if(ie.endsWith(".gz")){we=ae({chunkSize:Le})}else if(ie.endsWith(".br")){we=G({chunkSize:Le})}if(we){let E,N;R(Promise.all([new Promise(((R,$)=>{E=R;N=$})),new Promise(((E,R)=>{we.on("data",(E=>Ee.push(E)));we.on("end",(()=>E()));we.on("error",(E=>R(E)))}))]).then((()=>Ee)));R=E;q=N}this.fs.open(ie,"r",((E,N)=>{if(E){q(E);return}const read=()=>{if(le===undefined){le=Buffer.allocUnsafeSlow(Math.min($.MAX_LENGTH,j,we?Le:Infinity));_e=0}let E=le;let G=_e;let ie=le.length-_e;if(G>2147483647){E=le.slice(G);G=0}if(ie>2147483647){ie=2147483647}this.fs.read(N,E,G,ie,null,((E,$)=>{if(E){this.fs.close(N,(()=>{q(E)}));return}_e+=$;j-=$;if(_e===le.length){if(we){we.write(le)}else{Ee.push(le)}le=undefined;if(j===0){if(we){we.end()}this.fs.close(N,(E=>{if(E){q(E);return}R(Ee)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:R}){R(E.size);for(const N of E.keys()){R(N)}for(const N of E.values()){R(N)}}deserialize({read:E}){let R=E();const N=new Map;const $=[];for(let N=0;N{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:R}){const N=Object.keys(E);for(const E of N){R(E)}R(null);for(const $ of N){R(E[$])}}deserialize({read:E}){const R=Object.create(null);const N=[];let $=E();while($!==null){N.push($);$=E()}for(const $ of N){R[$]=E()}return R}}E.exports=NullPrototypeObjectSerializer},30991:(E,R,N)=>{"use strict";const $=N(35891);const j=N(22324);const q=N(93524);const G=N(12020);const ie=N(58461);const ae=N(78176);const le=N(11900);const _e=N(46690);const Ee=N(43065);const we=N(25402);const setSetSize=(E,R)=>{let N=0;for(const $ of E){if(N++>=R){E.delete($)}}};const setMapSize=(E,R)=>{let N=0;for(const $ of E.keys()){if(N++>=R){E.delete($)}}};const toHash=(E,R)=>{const N=$(R);N.update(E);return N.digest("latin1")};const Ie=null;const Me=null;const Te=true;const Ne=false;const Be=2;const Le=new Map;const je=new Map;const ze=new Set;const Ue={};const qe=new Map;qe.set(Object,new le);qe.set(Array,new j);qe.set(null,new ae);qe.set(Map,new ie);qe.set(Set,new we);qe.set(Date,new q);qe.set(RegExp,new _e);qe.set(Error,new G(Error));qe.set(EvalError,new G(EvalError));qe.set(RangeError,new G(RangeError));qe.set(ReferenceError,new G(ReferenceError));qe.set(SyntaxError,new G(SyntaxError));qe.set(TypeError,new G(TypeError));if(R.constructor!==Object){const E=R.constructor;const N=E.constructor;for(const[E,R]of Array.from(qe)){if(E){const $=new N(`return ${E.name};`)();qe.set($,R)}}}{let E=1;for(const[R,N]of qe){Le.set(R,{request:"",name:E++,serializer:N})}}for(const{request:E,name:R,serializer:N}of Le.values()){je.set(`${E}/${R}`,N)}const Ge=new Map;class ObjectMiddleware extends Ee{constructor(E,R="md4"){super();this.extendContext=E;this._hashFunction=R}static registerLoader(E,R){Ge.set(E,R)}static register(E,R,N,$){const j=R+"/"+N;if(Le.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(je.has(j)){throw new Error(`ObjectMiddleware.register: serializer for ${j} is already registered`)}Le.set(E,{request:R,name:N,serializer:$});je.set(j,$)}static registerNotSerializable(E){if(Le.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Le.set(E,Ue)}static getSerializerFor(E){const R=Object.getPrototypeOf(E);let N;if(R===null){N=null}else{N=R.constructor;if(!N){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const $=Le.get(N);if(!$)throw new Error(`No serializer registered for ${N.name}`);if($===Ue)throw Ue;return $}static getDeserializerFor(E,R){const N=E+"/"+R;const $=je.get(N);if($===undefined){throw new Error(`No deserializer registered for ${N}`)}return $}static _getDeserializerForWithoutError(E,R){const N=E+"/"+R;const $=je.get(N);return $}serialize(E,R){let N=[Be];let $=0;let j=new Map;const addReferenceable=E=>{j.set(E,$++)};let q=new Map;const dedupeBuffer=E=>{const R=E.length;const N=q.get(R);if(N===undefined){q.set(R,E);return E}if(Buffer.isBuffer(N)){if(R<32){if(E.equals(N)){return N}q.set(R,[N,E]);return E}else{const $=toHash(N,this._hashFunction);const j=new Map;j.set($,N);q.set(R,j);const G=toHash(E,this._hashFunction);if($===G){return N}return E}}else if(Array.isArray(N)){if(N.length<16){for(const R of N){if(E.equals(R)){return R}}N.push(E);return E}else{const $=new Map;const j=toHash(E,this._hashFunction);let G;for(const E of N){const R=toHash(E,this._hashFunction);$.set(R,E);if(G===undefined&&R===j)G=E}q.set(R,$);if(G===undefined){$.set(j,E);return E}else{return G}}}else{const R=toHash(E,this._hashFunction);const $=N.get(R);if($!==undefined){return $}N.set(R,E);return E}};let G=0;let ie=new Map;const ae=new Set;const stackToString=E=>{const R=Array.from(ae);R.push(E);return R.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:R,name:N}=ObjectMiddleware.getSerializerFor(E);if(R){return`${R}${N?`.${N}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let le;let _e={write(E,R){try{process(E)}catch(R){if(R!==Ue){if(le===undefined)le=new WeakSet;if(!le.has(R)){R.message+=`\nwhile serializing ${stackToString(E)}`;le.add(R)}}throw R}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:N.length,cycleStackSize:ae.size,referenceableSize:j.size,currentPos:$,objectTypeLookupSize:ie.size,currentPosTypeLookup:G}},rollback(E){N.length=E.length;setSetSize(ae,E.cycleStackSize);setMapSize(j,E.referenceableSize);$=E.currentPos;setMapSize(ie,E.objectTypeLookupSize);G=E.currentPosTypeLookup},...R};this.extendContext(_e);const process=E=>{if(Buffer.isBuffer(E)){const R=j.get(E);if(R!==undefined){N.push(Ie,R-$);return}const q=dedupeBuffer(E);if(q!==E){const R=j.get(q);if(R!==undefined){j.set(E,R);N.push(Ie,R-$);return}E=q}addReferenceable(E);N.push(E)}else if(E===Ie){N.push(Ie,Me)}else if(typeof E==="object"){const R=j.get(E);if(R!==undefined){N.push(Ie,R-$);return}if(ae.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:q,name:le,serializer:Ee}=ObjectMiddleware.getSerializerFor(E);const we=`${q}/${le}`;const Me=ie.get(we);if(Me===undefined){ie.set(we,G++);N.push(Ie,q,le)}else{N.push(Ie,G-Me)}ae.add(E);try{Ee.serialize(E,_e)}finally{ae.delete(E)}N.push(Ie,Te);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const R=j.get(E);if(R!==undefined){N.push(Ie,R-$);return}addReferenceable(E)}if(E.length>102400&&R.logger){R.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}N.push(E)}else if(typeof E==="function"){if(!Ee.isLazy(E))throw new Error("Unexpected function "+E);const $=Ee.getLazySerializedValue(E);if($!==undefined){if(typeof $==="function"){N.push($)}else{throw new Error("Not implemented")}}else if(Ee.isLazy(E,this)){throw new Error("Not implemented")}else{const $=Ee.serializeLazy(E,(E=>this.serialize([E],R)));Ee.setLazySerializedValue(E,$);N.push($)}}else if(E===undefined){N.push(Ie,Ne)}else{N.push(E)}};try{for(const R of E){process(R)}return N}catch(E){if(E===Ue)return null;throw E}finally{E=N=j=q=ie=_e=undefined}}deserialize(E,R){let N=0;const read=()=>{if(N>=E.length)throw new Error("Unexpected end of stream");return E[N++]};if(read()!==Be)throw new Error("Version mismatch, serializer changed");let $=0;let j=[];const addReferenceable=E=>{j.push(E);$++};let q=0;let G=[];let ie=[];let ae={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...R};this.extendContext(ae);const decodeValue=()=>{const E=read();if(E===Ie){const E=read();if(E===Me){return Ie}else if(E===Ne){return undefined}else if(E===Te){throw new Error(`Unexpected end of object at position ${N-1}`)}else{const R=E;let ie;if(typeof R==="number"){if(R<0){return j[$+R]}ie=G[q-R]}else{if(typeof R!=="string"){throw new Error(`Unexpected type (${typeof R}) of request `+`at position ${N-1}`)}const E=read();ie=ObjectMiddleware._getDeserializerForWithoutError(R,E);if(ie===undefined){if(R&&!ze.has(R)){let E=false;for(const[N,$]of Ge){if(N.test(R)){if($(R)){E=true;break}}}if(!E){require(R)}ze.add(R)}ie=ObjectMiddleware.getDeserializerFor(R,E)}G.push(ie);q++}try{const E=ie.deserialize(ae);const R=read();if(R!==Ie){throw new Error("Expected end of object")}const N=read();if(N!==Te){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let R;for(const E of Le){if(E[1].serializer===ie){R=E;break}}const N=!R?"unknown":!R[1].request?R[0].name:R[1].name?`${R[1].request} ${R[1].name}`:R[1].request;E.message+=`\n(during deserialization of ${N})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return Ee.deserializeLazy(E,(E=>this.deserialize(E,R)[0]))}else{return E}};try{while(N{"use strict";const R=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const R=this.children.get(E);if(R!==undefined)return R;const N=new ObjectStructure;this.children.set(E,N);return N}}const getCachedKeys=(E,N)=>{let $=R.get(N);if($===undefined){$=new ObjectStructure;R.set(N,$)}let j=$;for(const R of E){j=j.key(R)}return j.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:R}){const N=Object.keys(E);if(N.length>128){R(N);for(const $ of N){R(E[$])}}else if(N.length>1){R(getCachedKeys(N,R));for(const $ of N){R(E[$])}}else if(N.length===1){const $=N[0];R($);R(E[$])}else{R(null)}}deserialize({read:E}){const R=E();const N={};if(Array.isArray(R)){for(const $ of R){N[$]=E()}}else if(R!==null){N[R]=E()}return N}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:R}){R(E.source);R(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,R){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=R}serialize(E,R){const N={...R,...this.context};let $=E;for(const E of this.serializeMiddlewares){if($&&typeof $.then==="function"){$=$.then((R=>R&&E.serialize(R,N)))}else if($){try{$=E.serialize($,N)}catch(E){$=Promise.reject(E)}}else break}return $}deserialize(E,R){const N={...R,...this.context};let $=E;for(const E of this.deserializeMiddlewares){if($&&typeof $.then==="function"){$=$.then((R=>E.deserialize(R,N)))}else{$=E.deserialize($,N)}}return $}}E.exports=Serializer},43065:(E,R,N)=>{"use strict";const $=N(91671);const j=Symbol("lazy serialization target");const q=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,R){const $=N(75884);throw new $}deserialize(E,R){const $=N(75884);throw new $}static createLazy(E,R,N={},$){if(SerializerMiddleware.isLazy(E,R))return E;const G=typeof E==="function"?E:()=>E;G[j]=R;G.options=N;G[q]=$;return G}static isLazy(E,R){if(typeof E!=="function")return false;const N=E[j];return R?N===R:!!N}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[q]}static setLazySerializedValue(E,R){E[q]=R}static serializeLazy(E,R){const N=$((()=>{const N=E();if(N&&typeof N.then==="function"){return N.then((E=>E&&R(E)))}return R(N)}));N[j]=E[j];N.options=E.options;E[q]=N;return N}static deserializeLazy(E,R){const N=$((()=>{const N=E();if(N&&typeof N.then==="function"){return N.then((E=>R(E)))}return R(N)}));N[j]=E[j];N.options=E.options;N[q]=E;return N}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[q]=SerializerMiddleware.unMemoizeLazy(E[q]);fn[j]=E[j];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:R}){R(E.size);for(const N of E){R(N)}}deserialize({read:E}){let R=E();const N=new Set;for(let $=0;${"use strict";const $=N(43065);class SingleItemMiddleware extends ${serialize(E,R){return[E]}deserialize(E,R){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ConsumeSharedFallbackDependency extends ${constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}j(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(98221);const q=N(53453);const G=N(76150);const ie=N(56202);const{rangeToString:ae,stringifyHoley:le}=N(9293);const _e=N(86827);const Ee=new Set(["consume-shared"]);class ConsumeSharedModule extends q{constructor(E,R){super("consume-shared-module",E);this.options=R}identifier(){const{shareKey:E,shareScope:R,importResolved:N,requiredVersion:$,strictVersion:j,singleton:q,eager:G}=this.options;return`consume-shared-module|${R}|${E}|${$&&ae($)}|${j}|${N}|${q}|${G}`}readableIdentifier(E){const{shareKey:R,shareScope:N,importResolved:$,requiredVersion:j,strictVersion:q,singleton:G,eager:ie}=this.options;return`consume shared module (${N}) ${R}@${j?ae(j):"*"}${q?" (strict)":""}${G?" (singleton)":""}${$?` (fallback: ${E.shorten($)})`:""}${ie?" (eager)":""}`}libIdent(E){const{shareKey:R,shareScope:N,import:$}=this.options;return`webpack/sharing/consume/${N}/${R}${$?`/${$}`:""}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,q){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new _e(this.options.import);if(this.options.eager){this.addDependency(E)}else{const R=new j({});R.addDependency(E);this.addBlock(R)}}q()}getSourceTypes(){return Ee}size(E){return 42}updateHash(E,R){E.update(JSON.stringify(this.options));super.updateHash(E,R)}codeGeneration({chunkGraph:E,moduleGraph:R,runtimeTemplate:N}){const j=new Set([G.shareScopeMap]);const{shareScope:q,shareKey:ie,strictVersion:ae,requiredVersion:_e,import:Ee,singleton:we,eager:Ie}=this.options;let Me;if(Ee){if(Ie){const R=this.dependencies[0];Me=N.syncModuleFactory({dependency:R,chunkGraph:E,runtimeRequirements:j,request:this.options.import})}else{const R=this.blocks[0];Me=N.asyncModuleFactory({block:R,chunkGraph:E,runtimeRequirements:j,request:this.options.import})}}let Te="load";const Ne=[JSON.stringify(q),JSON.stringify(ie)];if(_e){if(ae){Te+="Strict"}if(we){Te+="Singleton"}Ne.push(le(_e));Te+="VersionCheck"}if(Me){Te+="Fallback";Ne.push(Me)}const Be=N.returningFunction(`${Te}(${Ne.join(", ")})`);const Le=new Map;Le.set("consume-shared",new $(Be));return{runtimeRequirements:j,sources:Le}}serialize(E){const{write:R}=E;R(this.options);super.serialize(E)}deserialize(E){const{read:R}=E;this.options=R();super.deserialize(E)}}ie(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,R,N)=>{"use strict";const $=N(54032);const j=N(76150);const q=N(81627);const{parseOptions:G}=N(97264);const ie=N(83379);const ae=N(35817);const{parseRange:le}=N(9293);const _e=N(86827);const Ee=N(21606);const we=N(20428);const Ie=N(31095);const{resolveMatchedConfigs:Me}=N(57870);const{isRequiredVersion:Te,getDescriptionFile:Ne,getRequiredVersionFromDescriptionFile:Be}=N(37650);const Le=ae(N(37411),(()=>N(52021)),{name:"Consume Shared Plugin",baseDataPath:"options"});const je={dependencyType:"esm"};const ze="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Le(E)}this._consumes=G(E.consumes,((R,N)=>{if(Array.isArray(R))throw new Error("Unexpected array in options");let $=R===N||!Te(R)?{import:N,shareScope:E.shareScope||"default",shareKey:N,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:N,shareScope:E.shareScope||"default",shareKey:N,requiredVersion:le(R),strictVersion:true,packageName:undefined,singleton:false,eager:false};return $}),((R,N)=>({import:R.import===false?undefined:R.import||N,shareScope:R.shareScope||E.shareScope||"default",shareKey:R.shareKey||N,requiredVersion:typeof R.requiredVersion==="string"?le(R.requiredVersion):R.requiredVersion,strictVersion:typeof R.strictVersion==="boolean"?R.strictVersion:R.import!==false&&!R.singleton,packageName:R.packageName,singleton:!!R.singleton,eager:!!R.eager})))}apply(E){E.hooks.thisCompilation.tap(ze,((R,{normalModuleFactory:N})=>{R.dependencyFactories.set(_e,N);let G,ae,Te;const Le=Me(R,this._consumes).then((({resolved:E,unresolved:R,prefixed:N})=>{ae=E;G=R;Te=N}));const Ue=R.resolverFactory.get("normal",je);const createConsumeSharedModule=(N,j,G)=>{const requiredVersionWarning=E=>{const N=new q(`No required version specified and unable to automatically determine one. ${E}`);N.file=`shared module ${j}`;R.warnings.push(N)};const ae=G.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(G.import);return Promise.all([new Promise((q=>{if(!G.import)return q();const le={fileDependencies:new ie,contextDependencies:new ie,missingDependencies:new ie};Ue.resolve({},ae?E.context:N,G.import,le,((E,N)=>{R.contextDependencies.addAll(le.contextDependencies);R.fileDependencies.addAll(le.fileDependencies);R.missingDependencies.addAll(le.missingDependencies);if(E){R.errors.push(new $(null,E,{name:`resolving fallback for shared module ${j}`}));return q()}q(N)}))})),new Promise((E=>{if(G.requiredVersion!==undefined)return E(G.requiredVersion);let $=G.packageName;if($===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(j)){return E()}const R=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(j);if(!R){requiredVersionWarning("Unable to extract the package name from request.");return E()}$=R[0]}Ne(R.inputFileSystem,N,["package.json"],((R,j)=>{if(R){requiredVersionWarning(`Unable to read description file: ${R}`);return E()}const{data:q,path:G}=j;if(!q){requiredVersionWarning(`Unable to find description file in ${N}.`);return E()}const ie=Be(q,$);if(typeof ie!=="string"){requiredVersionWarning(`Unable to find required version for "${$}" in description file (${G}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(le(ie))}))}))]).then((([R,$])=>new Ee(ae?E.context:N,{...G,importResolved:R,import:R?G.import:undefined,requiredVersion:$})))};N.hooks.factorize.tapPromise(ze,(({context:E,request:R,dependencies:N})=>Le.then((()=>{if(N[0]instanceof _e||N[0]instanceof Ie){return}const $=G.get(R);if($!==undefined){return createConsumeSharedModule(E,R,$)}for(const[N,$]of Te){if(R.startsWith(N)){const j=R.slice(N.length);return createConsumeSharedModule(E,R,{...$,import:$.import?$.import+j:undefined,shareKey:$.shareKey+j})}}}))));N.hooks.createModule.tapPromise(ze,(({resource:E},{context:R,dependencies:N})=>{if(N[0]instanceof _e||N[0]instanceof Ie){return Promise.resolve()}const $=ae.get(E);if($!==undefined){return createConsumeSharedModule(R,E,$)}return Promise.resolve()}));R.hooks.additionalTreeRuntimeRequirements.tap(ze,((E,N)=>{N.add(j.module);N.add(j.moduleCache);N.add(j.moduleFactoriesAddOnly);N.add(j.shareScopeMap);N.add(j.initializeSharing);N.add(j.hasOwnProperty);R.addRuntimeModule(E,new we(N))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{parseVersionRuntimeCode:G,versionLtRuntimeCode:ie,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:le}=N(9293);class ConsumeSharedRuntimeModule extends j{constructor(E){super("consumes",j.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,codeGenerationResults:j}=E;const _e={};const Ee=new Map;const we=[];const addModules=(E,N,$)=>{for(const q of E){const E=q;const G=R.getModuleId(E);$.push(G);Ee.set(G,j.getSource(E,N.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const N=R.getChunkModulesIterableBySourceType(E,"consume-shared");if(!N)continue;addModules(N,E,_e[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const N=R.getChunkModulesIterableBySourceType(E,"consume-shared");if(!N)continue;addModules(N,E,we)}if(Ee.size===0)return null;return q.asString([G(N),ie(N),ae(N),le(N),`var ensureExistence = ${N.basicFunction("scopeName, key",[`var scope = ${$.shareScopeMap}[scopeName];`,`if(!scope || !${$.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${N.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${N.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${N.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${N.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${N.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${N.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${N.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${N.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${N.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${N.returningFunction(q.asString(["function(scopeName, a, b, c) {",q.indent([`var promise = ${$.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${$.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${$.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, fallback",[`return scope && ${$.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${$.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",q.indent(Array.from(Ee,(([E,R])=>`${JSON.stringify(E)}: ${R.source()}`)).join(",\n")),"};",we.length>0?q.asString([`var initialConsumes = ${JSON.stringify(we)};`,`initialConsumes.forEach(${N.basicFunction("id",[`${$.moduleFactories}[id] = ${N.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${$.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has($.ensureChunkHandlers)?q.asString([`var chunkMapping = ${JSON.stringify(_e,null,"\t")};`,`${$.ensureChunkHandlers}.consumes = ${N.basicFunction("chunkId, promises",[`if(${$.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${N.basicFunction("id",[`if(${$.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${N.basicFunction("factory",["installedModules[id] = 0;",`${$.moduleFactories}[id] = ${N.basicFunction("module",[`delete ${$.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${N.basicFunction("error",["delete installedModules[id];",`${$.moduleFactories}[id] = ${N.basicFunction("module",[`delete ${$.moduleCache}[id];`,"throw error;"])}`])};`,"try {",q.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",q.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ProvideForSharedDependency extends ${constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}j(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class ProvideSharedDependency extends ${constructor(E,R,N,$,j){super();this.shareScope=E;this.name=R;this.version=N;this.request=$;this.eager=j}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ProvideSharedDependency(R(),R(),R(),R(),R());this.shareScope=E.read();N.deserialize(E);return N}}j(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,R,N)=>{"use strict";const $=N(98221);const j=N(53453);const q=N(76150);const G=N(56202);const ie=N(31095);const ae=new Set(["share-init"]);class ProvideSharedModule extends j{constructor(E,R,N,$,j){super("provide-module");this._shareScope=E;this._name=R;this._version=N;this._request=$;this._eager=j}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,j,q){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const G=new ie(this._request);if(this._eager){this.addDependency(G)}else{const E=new $({});E.addDependency(G);this.addBlock(E)}q()}size(E){return 42}getSourceTypes(){return ae}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const $=new Set([q.initializeSharing]);const j=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:N,request:this._request,runtimeRequirements:$}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:N,request:this._request,runtimeRequirements:$})}${this._eager?", 1":""});`;const G=new Map;const ie=new Map;ie.set("share-init",[{shareScope:this._shareScope,initStage:10,init:j}]);return{sources:G,data:ie,runtimeRequirements:$}}serialize(E){const{write:R}=E;R(this._shareScope);R(this._name);R(this._version);R(this._request);R(this._eager);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ProvideSharedModule(R(),R(),R(),R(),R());N.deserialize(E);return N}}G(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,R,N)=>{"use strict";const $=N(40674);const j=N(99114);class ProvideSharedModuleFactory extends ${create(E,R){const N=E.dependencies[0];R(null,{module:new j(N.shareScope,N.name,N.version,N.request,N.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,R,N)=>{"use strict";const $=N(81627);const{parseOptions:j}=N(97264);const q=N(35817);const G=N(31095);const ie=N(56049);const ae=N(96295);const le=q(N(95435),(()=>N(97295)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){le(E);this._provides=j(E.provides,(R=>{if(Array.isArray(R))throw new Error("Unexpected array of provides");const N={shareKey:R,version:undefined,shareScope:E.shareScope||"default",eager:false};return N}),(R=>({shareKey:R.shareKey,version:R.version,shareScope:R.shareScope||E.shareScope||"default",eager:!!R.eager})));this._provides.sort((([E],[R])=>{if(E{const j=new Map;const q=new Map;const G=new Map;for(const[E,R]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){j.set(E,{config:R,version:R.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){j.set(E,{config:R,version:R.version})}else if(E.endsWith("/")){G.set(E,R)}else{q.set(E,R)}}R.set(E,j);const provideSharedModule=(R,N,q,G)=>{let ie=N.version;if(ie===undefined){let N="";if(!G){N=`No resolve data provided from resolver.`}else{const E=G.descriptionFileData;if(!E){N="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){N="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ie=E.version}}if(!ie){const j=new $(`No version specified and unable to automatically determine one. ${N}`);j.file=`shared module ${R} -> ${q}`;E.warnings.push(j)}}j.set(q,{config:N,version:ie})};N.hooks.module.tap("ProvideSharedPlugin",((E,{resource:R,resourceResolveData:N},$)=>{if(j.has(R)){return E}const{request:ie}=$;{const E=q.get(ie);if(E!==undefined){provideSharedModule(ie,E,R,N);$.cacheable=false}}for(const[E,j]of G){if(ie.startsWith(E)){const q=ie.slice(E.length);provideSharedModule(R,{...j,shareKey:j.shareKey+q},R,N);$.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(N=>{const $=R.get(N);if(!$)return Promise.resolve();return Promise.all(Array.from($,(([R,{config:$,version:j}])=>new Promise(((q,G)=>{N.addInclude(E.context,new ie($.shareScope,$.shareKey,j||false,R,$.eager),{name:undefined},(E=>{if(E)return G(E);q()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(G,R);E.dependencyFactories.set(ie,new ae)}))}}E.exports=ProvideSharedPlugin},16471:(E,R,N)=>{"use strict";const{parseOptions:$}=N(97264);const j=N(71968);const q=N(48151);const{isRequiredVersion:G}=N(37650);class SharePlugin{constructor(E){const R=$(E.shared,((E,R)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const N=E===R||!G(E)?{import:E}:{import:R,requiredVersion:E};return N}),(E=>E));const N=R.map((([E,R])=>({[E]:{import:R.import,shareKey:R.shareKey||E,shareScope:R.shareScope,requiredVersion:R.requiredVersion,strictVersion:R.strictVersion,singleton:R.singleton,packageName:R.packageName,eager:R.eager}})));const j=R.filter((([,E])=>E.import!==false)).map((([E,R])=>({[R.import||E]:{shareKey:R.shareKey||E,shareScope:R.shareScope,version:R.version,eager:R.eager}})));this._shareScope=E.shareScope;this._consumes=N;this._provides=j}apply(E){new j({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new q({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{compareModulesByIdentifier:G,compareStrings:ie}=N(68673);class ShareRuntimeModule extends j{constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,codeGenerationResults:j,outputOptions:{uniqueName:ae}}=E;const le=new Map;for(const E of this.chunk.getAllReferencedChunks()){const N=R.getOrderedChunkModulesIterableBySourceType(E,"share-init",G);if(!N)continue;for(const R of N){const N=j.getData(R,E.runtime,"share-init");if(!N)continue;for(const E of N){const{shareScope:R,initStage:N,init:$}=E;let j=le.get(R);if(j===undefined){le.set(R,j=new Map)}let q=j.get(N||0);if(q===undefined){j.set(N||0,q=new Set)}q.add($)}}}return q.asString([`${$.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${$.initializeSharing} = ${N.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${$.hasOwnProperty}(${$.shareScopeMap}, name)) ${$.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${$.shareScopeMap}[name];`,`var warn = ${N.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${N.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${N.basicFunction("id",[`var handleError = ${N.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",q.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${N.returningFunction(`module && module.init && module.init(${$.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(le).sort((([E],[R])=>ie(E,R))).map((([E,R])=>q.indent([`case ${JSON.stringify(E)}: {`,q.indent(Array.from(R).sort((([E],[R])=>E-R)).map((([,E])=>q.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${N.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,R,N)=>{"use strict";const $=N(54032);const j=N(83379);const q={dependencyType:"esm"};R.resolveMatchedConfigs=(E,R)=>{const N=new Map;const G=new Map;const ie=new Map;const ae={fileDependencies:new j,contextDependencies:new j,missingDependencies:new j};const le=E.resolverFactory.get("normal",q);const _e=E.compiler.context;return Promise.all(R.map((([R,j])=>{if(/^\.\.?(\/|$)/.test(R)){return new Promise((q=>{le.resolve({},_e,R,ae,((G,ie)=>{if(G||ie===false){G=G||new Error(`Can't resolve ${R}`);E.errors.push(new $(null,G,{name:`shared module ${R}`}));return q()}N.set(ie,j);q()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(R)){N.set(R,j)}else if(R.endsWith("/")){ie.set(R,j)}else{G.set(R,j)}}))).then((()=>{E.contextDependencies.addAll(ae.contextDependencies);E.fileDependencies.addAll(ae.fileDependencies);E.missingDependencies.addAll(ae.missingDependencies);return{resolved:N,unresolved:G,prefixed:ie}}))}},37650:(E,R,N)=>{"use strict";const{join:$,dirname:j,readJson:q}=N(95396);R.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,R,N,G)=>{let ie=0;const tryLoadCurrent=()=>{if(ie>=N.length){const $=j(E,R);if(!$||$===R)return G();return getDescriptionFile(E,$,N,G)}const ae=$(E,R,N[ie]);q(E,ae,((E,R)=>{if(E){if("code"in E&&E.code==="ENOENT"){ie++;return tryLoadCurrent()}return G(E)}if(!R||typeof R!=="object"||Array.isArray(R)){return G(new Error(`Description file ${ae} is not an object`))}G(null,{data:R,path:ae})}))};tryLoadCurrent()};R.getDescriptionFile=getDescriptionFile;R.getRequiredVersionFromDescriptionFile=(E,R)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&R in E.optionalDependencies){return E.optionalDependencies[R]}if(E.dependencies&&typeof E.dependencies==="object"&&R in E.dependencies){return E.dependencies[R]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&R in E.peerDependencies){return E.peerDependencies[R]}if(E.devDependencies&&typeof E.devDependencies==="object"&&R in E.devDependencies){return E.devDependencies[R]}}},9054:(E,R,N)=>{"use strict";const $=N(73837);const j=N(79983);const q=N(72380);const{LogType:G}=N(78539);const ie=N(94827);const ae=N(20625);const{countIterable:le}=N(11539);const{compareLocations:_e,compareChunksById:Ee,compareNumbers:we,compareIds:Ie,concatComparators:Me,compareSelect:Te,compareModulesByIdentifier:Ne}=N(68673);const{makePathsRelative:Be,parseResource:Le}=N(49197);const uniqueArray=(E,R)=>{const N=new Set;for(const $ of E){for(const E of R($)){N.add(E)}}return Array.from(N)};const uniqueOrderedArray=(E,R,N)=>uniqueArray(E,R).sort(N);const mapObject=(E,R)=>{const N=Object.create(null);for(const $ of Object.keys(E)){N[$]=R(E[$],$)}return N};const countWithChildren=(E,R)=>{let N=R(E,"").length;for(const $ of E.children){N+=countWithChildren($,((E,N)=>R(E,`.children[].compilation${N}`)))}return N};const je={_:(E,R,N,{requestShortener:$})=>{if(typeof R==="string"){E.message=R}else{if(R.chunk){E.chunkName=R.chunk.name;E.chunkEntry=R.chunk.hasRuntime();E.chunkInitial=R.chunk.canBeInitial()}if(R.file){E.file=R.file}if(R.module){E.moduleIdentifier=R.module.identifier();E.moduleName=R.module.readableIdentifier($)}if(R.loc){E.loc=q(R.loc)}E.message=R.message}},ids:(E,R,{compilation:{chunkGraph:N}})=>{if(typeof R!=="string"){if(R.chunk){E.chunkId=R.chunk.id}if(R.module){E.moduleId=N.getModuleId(R.module)}}},moduleTrace:(E,R,N,$,j)=>{if(typeof R!=="string"&&R.module){const{type:$,compilation:{moduleGraph:q}}=N;const G=new Set;const ie=[];let ae=R.module;while(ae){if(G.has(ae))break;G.add(ae);const E=q.getIssuer(ae);if(!E)break;ie.push({origin:E,module:ae});ae=E}E.moduleTrace=j.create(`${$}.moduleTrace`,ie,N)}},errorDetails:(E,R,{type:N,compilation:$,cachedGetErrors:j,cachedGetWarnings:q},{errorDetails:G})=>{if(typeof R!=="string"&&(G===true||N.endsWith(".error")&&j($).length<3)){E.details=R.details}},errorStack:(E,R)=>{if(typeof R!=="string"){E.stack=R.stack}}};const ze={compilation:{_:(E,R,$,j)=>{if(!$.makePathsRelative){$.makePathsRelative=Be.bindContextCache(R.compiler.context,R.compiler.root)}if(!$.cachedGetErrors){const E=new WeakMap;$.cachedGetErrors=R=>E.get(R)||(N=>(E.set(R,N),N))(R.getErrors())}if(!$.cachedGetWarnings){const E=new WeakMap;$.cachedGetWarnings=R=>E.get(R)||(N=>(E.set(R,N),N))(R.getWarnings())}if(R.name){E.name=R.name}if(R.needAdditionalPass){E.needAdditionalPass=true}const{logging:q,loggingDebug:ie,loggingTrace:ae}=j;if(q||ie&&ie.length>0){const $=N(73837);E.logging={};let le;let _e=false;switch(q){default:le=new Set;break;case"error":le=new Set([G.error]);break;case"warn":le=new Set([G.error,G.warn]);break;case"info":le=new Set([G.error,G.warn,G.info]);break;case"log":le=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.clear]);break;case"verbose":le=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.profile,G.profileEnd,G.time,G.status,G.clear]);_e=true;break}const Ee=Be.bindContextCache(j.context,R.compiler.root);let we=0;for(const[N,j]of R.logging){const R=ie.some((E=>E(N)));if(q===false&&!R)continue;const Ie=[];const Me=[];let Te=Me;let Ne=0;for(const E of j){let N=E.type;if(!R&&!le.has(N))continue;if(N===G.groupCollapsed&&(R||_e))N=G.group;if(we===0){Ne++}if(N===G.groupEnd){Ie.pop();if(Ie.length>0){Te=Ie[Ie.length-1].children}else{Te=Me}if(we>0)we--;continue}let j=undefined;if(E.type===G.time){j=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){j=$.format(E.args[0],...E.args.slice(1))}const q={...E,type:N,message:j,trace:ae?E.trace:undefined,children:N===G.group||N===G.groupCollapsed?[]:undefined};Te.push(q);if(q.children){Ie.push(q);Te=q.children;if(we>0){we++}else if(N===G.groupCollapsed){we=1}}}let Be=Ee(N).replace(/\|/g," ");if(Be in E.logging){let R=1;while(`${Be}#${R}`in E.logging){R++}Be=`${Be}#${R}`}E.logging[Be]={entries:Me,filteredEntries:j.length-Ne,debug:R}}}},hash:(E,R)=>{E.hash=R.hash},version:E=>{E.version=N(37589).i8},env:(E,R,N,{_env:$})=>{E.env=$},timings:(E,R)=>{E.time=R.endTime-R.startTime},builtAt:(E,R)=>{E.builtAt=R.endTime},publicPath:(E,R)=>{E.publicPath=R.getPath(R.outputOptions.publicPath)},outputPath:(E,R)=>{E.outputPath=R.outputOptions.path},assets:(E,R,N,$,j)=>{const{type:q}=N;const G=new Map;const ie=new Map;for(const E of R.chunks){for(const R of E.files){let N=G.get(R);if(N===undefined){N=[];G.set(R,N)}N.push(E)}for(const R of E.auxiliaryFiles){let N=ie.get(R);if(N===undefined){N=[];ie.set(R,N)}N.push(E)}}const ae=new Map;const le=new Set;for(const E of R.getAssets()){const R={...E,type:"asset",related:undefined};le.add(R);ae.set(E.name,R)}for(const E of ae.values()){const R=E.info.related;if(!R)continue;for(const N of Object.keys(R)){const $=R[N];const j=Array.isArray($)?$:[$];for(const R of j){const $=ae.get(R);if(!$)continue;le.delete($);$.type=N;E.related=E.related||[];E.related.push($)}}}E.assetsByChunkName={};for(const[R,N]of G){for(const $ of N){const N=$.name;if(!N)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,N)){E.assetsByChunkName[N]=[]}E.assetsByChunkName[N].push(R)}}const _e=j.create(`${q}.assets`,Array.from(le),{...N,compilationFileToChunks:G,compilationAuxiliaryFileToChunks:ie});const Ee=spaceLimited(_e,$.assetsSpace);E.assets=Ee.children;E.filteredAssets=Ee.filteredChildren},chunks:(E,R,N,$,j)=>{const{type:q}=N;E.chunks=j.create(`${q}.chunks`,Array.from(R.chunks),N)},modules:(E,R,N,$,j)=>{const{type:q}=N;const G=Array.from(R.modules);const ie=j.create(`${q}.modules`,G,N);const ae=spaceLimited(ie,$.modulesSpace);E.modules=ae.children;E.filteredModules=ae.filteredChildren},entrypoints:(E,R,N,{entrypoints:$,chunkGroups:j,chunkGroupAuxiliary:q,chunkGroupChildren:G},ie)=>{const{type:ae}=N;const le=Array.from(R.entrypoints,(([E,R])=>({name:E,chunkGroup:R})));if($==="auto"&&!j){if(le.length>5)return;if(!G&&le.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const R=E.chunks[0];return R.files.size===1&&(!q||R.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ie.create(`${ae}.entrypoints`,le,N)},chunkGroups:(E,R,N,$,j)=>{const{type:q}=N;const G=Array.from(R.namedChunkGroups,(([E,R])=>({name:E,chunkGroup:R})));E.namedChunkGroups=j.create(`${q}.namedChunkGroups`,G,N)},errors:(E,R,N,$,j)=>{const{type:q,cachedGetErrors:G}=N;E.errors=j.create(`${q}.errors`,G(R),N)},errorsCount:(E,R,{cachedGetErrors:N})=>{E.errorsCount=countWithChildren(R,(E=>N(E)))},warnings:(E,R,N,$,j)=>{const{type:q,cachedGetWarnings:G}=N;E.warnings=j.create(`${q}.warnings`,G(R),N)},warningsCount:(E,R,N,{warningsFilter:$},j)=>{const{type:q,cachedGetWarnings:G}=N;E.warningsCount=countWithChildren(R,((E,R)=>{if(!$&&$.length===0)return G(E);return j.create(`${q}${R}.warnings`,G(E),N).filter((E=>{const R=Object.keys(E).map((R=>`${E[R]}`)).join("\n");return!$.some((N=>N(E,R)))}))}))},errorDetails:(E,R,{cachedGetErrors:N,cachedGetWarnings:$},{errorDetails:j,errors:q,warnings:G})=>{if(j==="auto"){if(G){const N=$(R);E.filteredWarningDetailsCount=N.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(q){const $=N(R);if($.length>=3){E.filteredErrorDetailsCount=$.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,R,N,$,j)=>{const{type:q}=N;E.children=j.create(`${q}.children`,R.children,N)}},asset:{_:(E,R,N,$,j)=>{const{compilation:q}=N;E.type=R.type;E.name=R.name;E.size=R.source.size();E.emitted=q.emittedAssets.has(R.name);E.comparedForEmit=q.comparedForEmitAssets.has(R.name);const G=!E.emitted&&!E.comparedForEmit;E.cached=G;E.info=R.info;if(!G||$.cachedAssets){Object.assign(E,j.create(`${N.type}$visible`,R,N))}}},asset$visible:{_:(E,R,{compilation:N,compilationFileToChunks:$,compilationAuxiliaryFileToChunks:j})=>{const q=$.get(R.name)||[];const G=j.get(R.name)||[];E.chunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Ie);E.chunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Ie);E.auxiliaryChunkNames=uniqueOrderedArray(G,(E=>E.name?[E.name]:[]),Ie);E.auxiliaryChunkIdHints=uniqueOrderedArray(G,(E=>Array.from(E.idNameHints)),Ie);E.filteredRelated=R.related?R.related.length:undefined},relatedAssets:(E,R,N,$,j)=>{const{type:q}=N;E.related=j.create(`${q.slice(0,-8)}.related`,R.related,N);E.filteredRelated=R.related?R.related.length-E.related.length:undefined},ids:(E,R,{compilationFileToChunks:N,compilationAuxiliaryFileToChunks:$})=>{const j=N.get(R.name)||[];const q=$.get(R.name)||[];E.chunks=uniqueOrderedArray(j,(E=>E.ids),Ie);E.auxiliaryChunks=uniqueOrderedArray(q,(E=>E.ids),Ie)},performance:(E,R)=>{E.isOverSizeLimit=ae.isOverSizeLimit(R.source)}},chunkGroup:{_:(E,{name:R,chunkGroup:N},{compilation:$,compilation:{moduleGraph:j,chunkGraph:q}},{ids:G,chunkGroupAuxiliary:ie,chunkGroupChildren:ae,chunkGroupMaxAssets:le})=>{const _e=ae&&N.getChildrenByOrders(j,q);const toAsset=E=>{const R=$.getAsset(E);return{name:E,size:R?R.info.size:-1}};const sizeReducer=(E,{size:R})=>E+R;const Ee=uniqueArray(N.chunks,(E=>E.files)).map(toAsset);const we=uniqueOrderedArray(N.chunks,(E=>E.auxiliaryFiles),Ie).map(toAsset);const Me=Ee.reduce(sizeReducer,0);const Te=we.reduce(sizeReducer,0);const Ne={name:R,chunks:G?N.chunks.map((E=>E.id)):undefined,assets:Ee.length<=le?Ee:undefined,filteredAssets:Ee.length<=le?0:Ee.length,assetsSize:Me,auxiliaryAssets:ie&&we.length<=le?we:undefined,filteredAuxiliaryAssets:ie&&we.length<=le?0:we.length,auxiliaryAssetsSize:Te,children:_e?mapObject(_e,(E=>E.map((E=>{const R=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const N=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Ie).map(toAsset);const $={name:E.name,chunks:G?E.chunks.map((E=>E.id)):undefined,assets:R.length<=le?R:undefined,filteredAssets:R.length<=le?0:R.length,auxiliaryAssets:ie&&N.length<=le?N:undefined,filteredAuxiliaryAssets:ie&&N.length<=le?0:N.length};return $})))):undefined,childAssets:_e?mapObject(_e,(E=>{const R=new Set;for(const N of E){for(const E of N.chunks){for(const N of E.files){R.add(N)}}}return Array.from(R)})):undefined};Object.assign(E,Ne)},performance:(E,{chunkGroup:R})=>{E.isOverSizeLimit=ae.isOverSizeLimit(R)}},module:{_:(E,R,N,$,j)=>{const{compilation:q,type:G}=N;const ie=q.builtModules.has(R);const ae=q.codeGeneratedModules.has(R);const le=q.buildTimeExecutedModules.has(R);const _e={};for(const E of R.getSourceTypes()){_e[E]=R.size(E)}const Ee={type:"module",moduleType:R.type,layer:R.layer,size:R.size(),sizes:_e,built:ie,codeGenerated:ae,buildTimeExecuted:le,cached:!ie&&!ae};Object.assign(E,Ee);if(ie||ae||$.cachedModules){Object.assign(E,j.create(`${G}$visible`,R,N))}}},module$visible:{_:(E,R,N,{requestShortener:$},j)=>{const{compilation:q,type:G,rootModules:ie}=N;const{moduleGraph:ae}=q;const _e=[];const Ee=ae.getIssuer(R);let we=Ee;while(we){_e.push(we);we=ae.getIssuer(we)}_e.reverse();const Ie=ae.getProfile(R);const Me=R.getErrors();const Te=Me!==undefined?le(Me):0;const Ne=R.getWarnings();const Be=Ne!==undefined?le(Ne):0;const Le={};for(const E of R.getSourceTypes()){Le[E]=R.size(E)}const je={identifier:R.identifier(),name:R.readableIdentifier($),nameForCondition:R.nameForCondition(),index:ae.getPreOrderIndex(R),preOrderIndex:ae.getPreOrderIndex(R),index2:ae.getPostOrderIndex(R),postOrderIndex:ae.getPostOrderIndex(R),cacheable:R.buildInfo.cacheable,optional:R.isOptional(ae),orphan:!G.endsWith("module.modules[].module$visible")&&q.chunkGraph.getNumberOfModuleChunks(R)===0,dependent:ie?!ie.has(R):undefined,issuer:Ee&&Ee.identifier(),issuerName:Ee&&Ee.readableIdentifier($),issuerPath:Ee&&j.create(`${G.slice(0,-8)}.issuerPath`,_e,N),failed:Te>0,errors:Te,warnings:Be};Object.assign(E,je);if(Ie){E.profile=j.create(`${G.slice(0,-8)}.profile`,Ie,N)}},ids:(E,R,{compilation:{chunkGraph:N,moduleGraph:$}})=>{E.id=N.getModuleId(R);const j=$.getIssuer(R);E.issuerId=j&&N.getModuleId(j);E.chunks=Array.from(N.getOrderedModuleChunksIterable(R,Ee),(E=>E.id))},moduleAssets:(E,R)=>{E.assets=R.buildInfo.assets?Object.keys(R.buildInfo.assets):[]},reasons:(E,R,N,$,j)=>{const{type:q,compilation:{moduleGraph:G}}=N;const ie=j.create(`${q.slice(0,-8)}.reasons`,Array.from(G.getIncomingConnections(R)),N);const ae=spaceLimited(ie,$.reasonsSpace);E.reasons=ae.children;E.filteredReasons=ae.filteredChildren},usedExports:(E,R,{runtime:N,compilation:{moduleGraph:$}})=>{const j=$.getUsedExports(R,N);if(j===null){E.usedExports=null}else if(typeof j==="boolean"){E.usedExports=j}else{E.usedExports=Array.from(j)}},providedExports:(E,R,{compilation:{moduleGraph:N}})=>{const $=N.getProvidedExports(R);E.providedExports=Array.isArray($)?$:null},optimizationBailout:(E,R,{compilation:{moduleGraph:N}},{requestShortener:$})=>{E.optimizationBailout=N.getOptimizationBailout(R).map((E=>{if(typeof E==="function")return E($);return E}))},depth:(E,R,{compilation:{moduleGraph:N}})=>{E.depth=N.getDepth(R)},nestedModules:(E,R,N,$,j)=>{const{type:q}=N;const G=R.modules;if(Array.isArray(G)){const R=j.create(`${q.slice(0,-8)}.modules`,G,N);const ie=spaceLimited(R,$.nestedModulesSpace);E.modules=ie.children;E.filteredModules=ie.filteredChildren}},source:(E,R)=>{const N=R.originalSource();if(N){E.source=N.source()}}},profile:{_:(E,R)=>{const N={total:R.factory+R.restoring+R.integration+R.building+R.storing,resolving:R.factory,restoring:R.restoring,building:R.building,integration:R.integration,storing:R.storing,additionalResolving:R.additionalFactories,additionalIntegration:R.additionalIntegration,factory:R.factory,dependencies:R.additionalFactories};Object.assign(E,N)}},moduleIssuer:{_:(E,R,N,{requestShortener:$},j)=>{const{compilation:q,type:G}=N;const{moduleGraph:ie}=q;const ae=ie.getProfile(R);const le={identifier:R.identifier(),name:R.readableIdentifier($)};Object.assign(E,le);if(ae){E.profile=j.create(`${G}.profile`,ae,N)}},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.id=N.getModuleId(R)}},moduleReason:{_:(E,R,{runtime:N},{requestShortener:$})=>{const G=R.dependency;const ie=G&&G instanceof j?G:undefined;const ae={moduleIdentifier:R.originModule?R.originModule.identifier():null,module:R.originModule?R.originModule.readableIdentifier($):null,moduleName:R.originModule?R.originModule.readableIdentifier($):null,resolvedModuleIdentifier:R.resolvedOriginModule?R.resolvedOriginModule.identifier():null,resolvedModule:R.resolvedOriginModule?R.resolvedOriginModule.readableIdentifier($):null,type:R.dependency?R.dependency.type:null,active:R.isActive(N),explanation:R.explanation,userRequest:ie&&ie.userRequest||null};Object.assign(E,ae);if(R.dependency){const N=q(R.dependency.loc);if(N){E.loc=N}}},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.moduleId=R.originModule?N.getModuleId(R.originModule):null;E.resolvedModuleId=R.resolvedOriginModule?N.getModuleId(R.resolvedOriginModule):null}},chunk:{_:(E,R,{makePathsRelative:N,compilation:{chunkGraph:$}})=>{const j=R.getChildIdsByOrders($);const q={rendered:R.rendered,initial:R.canBeInitial(),entry:R.hasRuntime(),recorded:ie.wasChunkRecorded(R),reason:R.chunkReason,size:$.getChunkModulesSize(R),sizes:$.getChunkModulesSizes(R),names:R.name?[R.name]:[],idHints:Array.from(R.idNameHints),runtime:R.runtime===undefined?undefined:typeof R.runtime==="string"?[N(R.runtime)]:Array.from(R.runtime.sort(),N),files:Array.from(R.files),auxiliaryFiles:Array.from(R.auxiliaryFiles).sort(Ie),hash:R.renderedHash,childrenByOrder:j};Object.assign(E,q)},ids:(E,R)=>{E.id=R.id},chunkRelations:(E,R,{compilation:{chunkGraph:N}})=>{const $=new Set;const j=new Set;const q=new Set;for(const E of R.groupsIterable){for(const R of E.parentsIterable){for(const E of R.chunks){$.add(E.id)}}for(const R of E.childrenIterable){for(const E of R.chunks){j.add(E.id)}}for(const N of E.chunks){if(N!==R)q.add(N.id)}}E.siblings=Array.from(q).sort(Ie);E.parents=Array.from($).sort(Ie);E.children=Array.from(j).sort(Ie)},chunkModules:(E,R,N,$,j)=>{const{type:q,compilation:{chunkGraph:G}}=N;const ie=G.getChunkModules(R);const ae=j.create(`${q}.modules`,ie,{...N,runtime:R.runtime,rootModules:new Set(G.getChunkRootModules(R))});const le=spaceLimited(ae,$.chunkModulesSpace);E.modules=le.children;E.filteredModules=le.filteredChildren},chunkOrigins:(E,R,N,$,j)=>{const{type:G,compilation:{chunkGraph:ie}}=N;const ae=new Set;const le=[];for(const E of R.groupsIterable){le.push(...E.origins)}const _e=le.filter((E=>{const R=[E.module?ie.getModuleId(E.module):undefined,q(E.loc),E.request].join();if(ae.has(R))return false;ae.add(R);return true}));E.origins=j.create(`${G}.origins`,_e,N)}},chunkOrigin:{_:(E,R,N,{requestShortener:$})=>{const j={module:R.module?R.module.identifier():"",moduleIdentifier:R.module?R.module.identifier():"",moduleName:R.module?R.module.readableIdentifier($):"",loc:q(R.loc),request:R.request};Object.assign(E,j)},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.moduleId=R.module?N.getModuleId(R.module):undefined}},error:je,warning:je,moduleTraceItem:{_:(E,{origin:R,module:N},$,{requestShortener:j},q)=>{const{type:G,compilation:{moduleGraph:ie}}=$;E.originIdentifier=R.identifier();E.originName=R.readableIdentifier(j);E.moduleIdentifier=N.identifier();E.moduleName=N.readableIdentifier(j);const ae=Array.from(ie.getIncomingConnections(N)).filter((E=>E.resolvedOriginModule===R&&E.dependency)).map((E=>E.dependency));E.dependencies=q.create(`${G}.dependencies`,Array.from(new Set(ae)),$)},ids:(E,{origin:R,module:N},{compilation:{chunkGraph:$}})=>{E.originId=$.getModuleId(R);E.moduleId=$.getModuleId(N)}},moduleTraceDependency:{_:(E,R)=>{E.loc=q(R.loc)}}};const Ue={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:R}})=>{if(E.originModule&&R.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const qe={"compilation.warnings":{warningsFilter:$.deprecate(((E,R,{warningsFilter:N})=>{const $=Object.keys(E).map((R=>`${E[R]}`)).join("\n");return!N.some((R=>R(E,$)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const Ge={_:(E,{compilation:{moduleGraph:R}})=>{E.push(Te((E=>R.getDepth(E)),we),Te((E=>R.getPreOrderIndex(E)),we),Te((E=>E.identifier()),Ie))}};const He={"compilation.chunks":{_:E=>{E.push(Te((E=>E.id),Ie))}},"compilation.modules":Ge,"chunk.rootModules":Ge,"chunk.modules":Ge,"module.modules":Ge,"module.reasons":{_:(E,{compilation:{chunkGraph:R}})=>{E.push(Te((E=>E.originModule),Ne));E.push(Te((E=>E.resolvedOriginModule),Ne));E.push(Te((E=>E.dependency),Me(Te((E=>E.loc),_e),Te((E=>E.type),Ie))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:R}})=>{E.push(Te((E=>E.module?R.getModuleId(E.module):undefined),Ie),Te((E=>q(E.loc)),Ie),Te((E=>E.request),Ie))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let R=0;for(const N of E){R+=getItemSize(N)}return R};const getTotalItems=E=>{let R=0;for(const N of E){if(!N.children&&!N.filteredChildren){R++}else{if(N.children)R+=getTotalItems(N.children);if(N.filteredChildren)R+=N.filteredChildren}}return R};const collapse=E=>{const R=[];for(const N of E){if(N.children){let E=N.filteredChildren||0;E+=getTotalItems(N.children);R.push({...N,children:undefined,filteredChildren:E})}else{R.push(N)}}return R};const spaceLimited=(E,R)=>{let N=undefined;let $=undefined;const j=E.filter((E=>E.children||E.filteredChildren));const q=j.map((E=>getItemSize(E)));const G=E.filter((E=>!E.children&&!E.filteredChildren));let ie=q.reduce(((E,R)=>E+R),0);if(ie+G.length<=R){N=j.concat(G)}else if(j.length>0&&j.length+Math.min(1,G.length)R){const E=G.length+ie+($?1:0)-R;const N=Math.max(...q);if(N0&&j.length+Math.min(1,G.length)<=R){N=j.length?collapse(j):undefined;$=G.length}else{$=getTotalItems(E)}return{children:N,filteredChildren:$}};const assetGroup=(E,R)=>{let N=0;for(const R of E){N+=R.size}return{size:N}};const moduleGroup=(E,R)=>{let N=0;const $={};for(const R of E){N+=R.size;for(const E of Object.keys(R.sizes)){$[E]=($[E]||0)+R.sizes[E]}}return{size:N,sizes:$}};const reasonGroup=(E,R)=>{let N=false;for(const R of E){N=N||R.active}return{active:N}};const We={_:(E,R,N)=>{const groupByFlag=(R,N)=>{E.push({getKeys:E=>E[R]?["1"]:undefined,getOptions:()=>({groupChildren:!N,force:N}),createGroup:(E,$,j)=>N?{type:"assets by status",[R]:!!E,filteredChildren:j.length,...assetGroup($,j)}:{type:"assets by status",[R]:!!E,children:$,...assetGroup($,j)}})};const{groupAssetsByEmitStatus:$,groupAssetsByPath:j,groupAssetsByExtension:q}=N;if($){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if($||!N.cachedAssets){groupByFlag("cached",!N.cachedAssets)}if(j||q){E.push({getKeys:E=>{const R=q&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const N=R?R[1]:"";const $=j&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const G=$?$[1].split(/[/\\]/):[];const ie=[];if(j){ie.push(".");if(N)ie.push(G.length?`${G.join("/")}/*${N}`:`*${N}`);while(G.length>0){ie.push(G.join("/")+"/");G.pop()}}else{if(N)ie.push(`*${N}`)}return ie},createGroup:(E,R,N)=>({type:j?"assets by path":"assets by extension",name:E,children:R,...assetGroup(R,N)})})}},groupAssetsByInfo:(E,R,N)=>{const groupByAssetInfoFlag=R=>{E.push({getKeys:E=>E.info&&E.info[R]?["1"]:undefined,createGroup:(E,N,$)=>({type:"assets by info",info:{[R]:!!E},children:N,...assetGroup(N,$)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,R,N)=>{const groupByNames=R=>{E.push({getKeys:E=>E[R],createGroup:(E,N,$)=>({type:"assets by chunk",[R]:[E],children:N,...assetGroup(N,$)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,R,{excludeAssets:N})=>{E.push({getKeys:E=>{const R=E.name;const $=N.some((N=>N(R,E)));if($)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,R,N)=>({type:"hidden assets",filteredChildren:N.length,...assetGroup(R,N)})})}};const MODULES_GROUPERS=E=>({_:(E,R,N)=>{const groupByFlag=(R,N,$)=>{E.push({getKeys:E=>E[R]?["1"]:undefined,getOptions:()=>({groupChildren:!$,force:$}),createGroup:(E,j,q)=>({type:N,[R]:!!E,...$?{filteredChildren:q.length}:{children:j},...moduleGroup(j,q)})})};const{groupModulesByCacheStatus:$,groupModulesByLayer:j,groupModulesByAttributes:q,groupModulesByType:G,groupModulesByPath:ie,groupModulesByExtension:ae}=N;if(q){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if($){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if($||!N.cachedModules){groupByFlag("cached","cached modules",!N.cachedModules)}if(q||!N.orphanModules){groupByFlag("orphan","orphan modules",!N.orphanModules)}if(q||!N.dependentModules){groupByFlag("dependent","dependent modules",!N.dependentModules)}if(G||!N.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(G){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const R=E==="runtime"&&!N.runtimeModules;return{groupChildren:!R,force:R}},createGroup:(E,R,$)=>{const j=E==="runtime"&&!N.runtimeModules;return{type:`${E} modules`,moduleType:E,...j?{filteredChildren:$.length}:{children:R},...moduleGroup(R,$)}}})}if(j){E.push({getKeys:E=>[E.layer],createGroup:(E,R,N)=>({type:"modules by layer",layer:E,children:R,...moduleGroup(R,N)})})}if(ie||ae){E.push({getKeys:E=>{if(!E.name)return;const R=Le(E.name.split("!").pop()).path;const N=ae&&/(\.[^.]+)(?:\?.*|$)/.exec(R);const $=N?N[1]:"";const j=ie&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(R);const q=j?j[1].split(/[/\\]/):[];const G=[];if(ie){if($)G.push(q.length?`${q.join("/")}/*${$}`:`*${$}`);while(q.length>0){G.push(q.join("/")+"/");q.pop()}}else{if($)G.push(`*${$}`)}return G},createGroup:(E,R,N)=>({type:ie?"modules by path":"modules by extension",name:E,children:R,...moduleGroup(R,N)})})}},excludeModules:(R,N,{excludeModules:$})=>{R.push({getKeys:R=>{const N=R.name;if(N){const j=$.some(($=>$(N,R,E)));if(j)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,R,N)=>({type:"hidden modules",filteredChildren:R.length,...moduleGroup(R,N)})})}});const Ve={"compilation.assets":We,"asset.related":We,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:E=>{E.push({getKeys:E=>[E.module],createGroup:(E,R,N)=>({type:"from origin",module:E,children:R,...reasonGroup(R,N)})})}}};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,R)=>0;return noSort}const R=normalizeFieldKey(E);let N=Te((E=>E[R]),Ie);const $=sortOrderRegular(E);if(!$){const E=N;N=(R,N)=>E(N,R)}return N};const Ke={assetsSort:(E,R,{assetsSort:N})=>{E.push(sortByField(N))},_:E=>{E.push(Te((E=>E.name),Ie))}};const Qe={"compilation.chunks":{chunksSort:(E,R,{chunksSort:N})=>{E.push(sortByField(N))}},"compilation.modules":{modulesSort:(E,R,{modulesSort:N})=>{E.push(sortByField(N))}},"chunk.modules":{chunkModulesSort:(E,R,{chunkModulesSort:N})=>{E.push(sortByField(N))}},"module.modules":{nestedModulesSort:(E,R,{nestedModulesSort:N})=>{E.push(sortByField(N))}},"compilation.assets":Ke,"asset.related":Ke};const iterateConfig=(E,R,N)=>{for(const $ of Object.keys(E)){const j=E[$];for(const E of Object.keys(j)){if(E!=="_"){if(E.startsWith("!")){if(R[E.slice(1)])continue}else{const N=R[E];if(N===false||N===undefined||Array.isArray(N)&&N.length===0)continue}}N($,j[E])}}};const Je={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const R=Object.create(null);for(const N of E){R[N.name]=N}return R};const Xe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((R,N,$)=>{iterateConfig(ze,N,((E,$)=>{R.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,j,q)=>$(E,j,q,N,R)))}));iterateConfig(Ue,N,((E,$)=>{R.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,R,j,q)=>$(E,R,N,j,q)))}));iterateConfig(qe,N,((E,$)=>{R.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R,j,q)=>$(E,R,N,j,q)))}));iterateConfig(He,N,((E,$)=>{R.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));iterateConfig(Qe,N,((E,$)=>{R.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));iterateConfig(Ve,N,((E,$)=>{R.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));for(const E of Object.keys(Je)){const N=Je[E];R.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>N))}for(const E of Object.keys(Xe)){const N=Xe[E];R.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",N)}if(N.children){if(Array.isArray(N.children)){R.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((R,{_index:j})=>{if(jj))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,R,N)=>{"use strict";const $=N(80910);const applyDefaults=(E,R)=>{for(const N of Object.keys(R)){if(typeof E[N]==="undefined"){E[N]=R[N]}}};const j={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:R})=>R?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:R})=>R?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:R})=>{if(E===false)return false;if(E===true)return true;if(R)return"auto";return true};const q={context:(E,R,N)=>N.compiler.context,requestShortener:(E,R,N)=>N.compiler.context===E.context?N.requestShortener:new $(E.context,N.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:R})=>R?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:R})=>{if(E===false)return false;if(E===true)return true;if(R)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:R,chunkModules:N},{forToString:$})=>{if(E===false)return false;if(E===true)return true;if($&&R&&N)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:R})=>R?15:Infinity,chunkModulesSpace:(E,{forToString:R})=>R?10:Infinity,nestedModulesSpace:(E,{forToString:R})=>R?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:R})=>R?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:R},{forToString:N})=>R!==undefined?R:N?E===true:E!==false,cachedModules:({all:E,cached:R},{forToString:N})=>R!==undefined?R:N?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(E,{forToString:R})=>R?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:R})=>R&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const R=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>R.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return R=>E.test(R)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const G={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(R,N)=>N.includes(E)}if(E instanceof RegExp){return(R,N)=>E.test(N)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const R of Object.keys(j)){const N=j[R];E.hooks.statsPreset.for(R).tap("DefaultStatsPresetPlugin",((E,R)=>{applyDefaults(E,N)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((R,N)=>{for(const $ of Object.keys(q)){if(R[$]===undefined)R[$]=q[$](R,N,E)}for(const E of Object.keys(G)){R[E]=G[E](R[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,R,N)=>{"use strict";const plural=(E,R,N)=>E===1?R:N;const printSizes=(E,{formatSize:R=(E=>`${E}`)})=>{const N=Object.keys(E);if(N.length>1){return N.map((N=>`${R(E[N])} (${N})`)).join(" ")}else if(N.length===1){return R(E[N[0]])}};const mapLines=(E,R)=>E.split("\n").map(R).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const $={"compilation.summary!":(E,{type:R,bold:N,green:$,red:j,yellow:q,formatDateTime:G,formatTime:ie,compilation:{name:ae,hash:le,version:_e,time:Ee,builtAt:we,errorsCount:Ie,warningsCount:Me}})=>{const Te=R==="compilation.summary!";const Ne=Me>0?q(`${Me} ${plural(Me,"warning","warnings")}`):"";const Be=Ie>0?j(`${Ie} ${plural(Ie,"error","errors")}`):"";const Le=Te&&Ee?` in ${ie(Ee)}`:"";const je=le?` (${le})`:"";const ze=Te&&we?`${G(we)}: `:"";const Ue=Te&&_e?`webpack ${_e}`:"";const qe=Te&&ae?N(ae):ae?`Child ${N(ae)}`:Te?"":"Child";const Ge=qe&&Ue?`${qe} (${Ue})`:Ue||qe||"webpack";let He;if(Be&&Ne){He=`compiled with ${Be} and ${Ne}`}else if(Be){He=`compiled with ${Be}`}else if(Ne){He=`compiled with ${Ne}`}else if(Ie===0&&Me===0){He=`compiled ${$("successfully")}`}else{He=`compiled`}if(ze||Ue||Be||Ne||Ie===0&&Me===0||Le||je)return`${ze}${Ge} ${He}${Le}${je}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:R})=>E?R(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:R})=>E?`Environment (--env): ${R(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:R})=>`PublicPath: ${R(E||"(none)")}`,"compilation.entrypoints":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.values(E),{...R,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,R,N)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:$}}=R;let j=Object.values(E);if($){j=j.filter((E=>!Object.prototype.hasOwnProperty.call($,E.name)))}return N.print(R.type,j,{...R,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:R}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.entries(E).map((([E,R])=>({...R,name:E}))),R),"compilation.warningsInChildren!":(E,{yellow:R,compilation:N})=>{if(!N.children&&N.warningsCount>0&&N.warnings){const E=N.warningsCount-N.warnings.length;if(E>0){return R(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${N.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:R,compilation:N})=>{if(!N.children&&N.errorsCount>0&&N.errors){const E=N.errorsCount-N.errors.length;if(E>0){return R(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${N.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:R,asset:{isOverSizeLimit:N}})=>R(E,N),"asset.size":(E,{asset:{isOverSizeLimit:R},yellow:N,green:$,formatSize:j})=>R?N(j(E)):j(E),"asset.emitted":(E,{green:R,formatFlag:N})=>E?R(N("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:R,formatFlag:N})=>E?R(N("compared for emit")):undefined,"asset.cached":(E,{green:R,formatFlag:N})=>E?R(N("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:R,formatFlag:N})=>E?R(N("big")):undefined,"asset.info.immutable":(E,{green:R,formatFlag:N})=>E?R(N("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:R})=>E?R("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:R})=>E?R(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:R,formatFlag:N})=>E?R(N("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:R,formatFlag:N})=>E?R(N("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:R}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:R})=>R(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"module.name":(E,{bold:R})=>{const[,N,$]=/^(.*!)?([^!]*)$/.exec(E);return(N||"")+R($)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:R})=>E?R(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:R})=>R(E),"module.depth":(E,{formatFlag:R})=>E!==null?R(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:R,red:N})=>E===false?N(R("not cacheable")):undefined,"module.orphan":(E,{formatFlag:R,yellow:N})=>E?N(R("orphan")):undefined,"module.runtime":(E,{formatFlag:R,yellow:N})=>E?N(R("runtime")):undefined,"module.optional":(E,{formatFlag:R,yellow:N})=>E?N(R("optional")):undefined,"module.dependent":(E,{formatFlag:R,cyan:N})=>E?N(R("dependent")):undefined,"module.built":(E,{formatFlag:R,yellow:N})=>E?N(R("built")):undefined,"module.codeGenerated":(E,{formatFlag:R,yellow:N})=>E?N(R("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:R,green:N})=>E?N(R("build time executed")):undefined,"module.cached":(E,{formatFlag:R,green:N})=>E?N(R("cached")):undefined,"module.assets":(E,{formatFlag:R,magenta:N})=>E&&E.length?N(R(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:R,yellow:N})=>E===true?N(R("warnings")):E?N(R(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:R,red:N})=>E===true?N(R("errors")):E?N(R(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:R,cyan:N})=>{if(Array.isArray(E)){if(E.length===0)return N(R("no exports"));return N(R(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:R,cyan:N,module:$})=>{if(E!==true){if(E===null)return N(R("used exports unknown"));if(E===false)return N(R("module unused"));if(Array.isArray(E)){if(E.length===0)return N(R("no exports used"));const j=Array.isArray($.providedExports)?$.providedExports.length:null;if(j!==null&&j===E.length){return N(R("all exports used"))}else{return N(R(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:R})=>R(E),"module.issuerPath":(E,{module:R})=>R.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredReasons":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:R})=>R(E),"moduleIssuer.profile.total":(E,{formatTime:R})=>R(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:R})=>R(E),"moduleReason.moduleId":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"moduleReason.module":(E,{magenta:R})=>R(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:R})=>R(E),"moduleReason.active":(E,{formatFlag:R})=>E?undefined:R("inactive"),"moduleReason.resolvedModule":(E,{magenta:R})=>R(E),"moduleReason.filteredChildren":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.profile.total":(E,{formatTime:R})=>R(E),"module.profile.resolving":(E,{formatTime:R})=>`resolving: ${R(E)}`,"module.profile.restoring":(E,{formatTime:R})=>`restoring: ${R(E)}`,"module.profile.integration":(E,{formatTime:R})=>`integration: ${R(E)}`,"module.profile.building":(E,{formatTime:R})=>`building: ${R(E)}`,"module.profile.storing":(E,{formatTime:R})=>`storing: ${R(E)}`,"module.profile.additionalResolving":(E,{formatTime:R})=>E?`additional resolving: ${R(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:R})=>E?`additional integration: ${R(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:R})=>R,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:R})=>R(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:R,yellow:N})=>E?N(R("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:R})=>E?R(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:R})=>E?`(${R(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:R})=>R(E),"chunkGroupAsset.size":(E,{formatSize:R,chunkGroup:N})=>N.assets.length>1||N.auxiliaryAssets&&N.auxiliaryAssets.length>0?R(E):undefined,"chunkGroup.children":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.keys(E).map((R=>({type:R,children:E[R]}))),R),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:R})=>R(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:R})=>R(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:R})=>R(E),"chunk.files[]":(E,{formatFilename:R})=>R(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,R)=>printSizes(E,R),"chunk.parents[]":(E,R)=>R.formatChunkId(E,"parent"),"chunk.siblings[]":(E,R)=>R.formatChunkId(E,"sibling"),"chunk.children[]":(E,R)=>R.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.keys(E).map((R=>({type:R,children:E[R]}))),R),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:R})=>isValidId(E)?R(E):undefined,"chunk.entry":(E,{formatFlag:R,yellow:N})=>E?N(R("entry")):undefined,"chunk.initial":(E,{formatFlag:R,yellow:N})=>E?N(R("initial")):undefined,"chunk.rendered":(E,{formatFlag:R,green:N})=>E?N(R("rendered")):undefined,"chunk.recorded":(E,{formatFlag:R,green:N})=>E?N(R("recorded")):undefined,"chunk.reason":(E,{yellow:R})=>E?R(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"chunkOrigin.moduleName":(E,{bold:R})=>R(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:R})=>E?R(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:R})=>isValidId(E)?R(E):undefined,"error.chunkEntry":(E,{formatFlag:R})=>E?R("entry"):undefined,"error.chunkInitial":(E,{formatFlag:R})=>E?R("initial"):undefined,"error.file":(E,{bold:R})=>R(E),"error.moduleName":(E,{bold:R})=>E.includes("!")?`${R(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${R(E)}`,"error.loc":(E,{green:R})=>R(E),"error.message":(E,{bold:R,formatError:N})=>E.includes("[")?E:R(N(E)),"error.details":(E,{formatError:R})=>R(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>`

${R(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>`

${R(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:R})=>mapLines(E,(E=>`<-> ${R(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:R})=>mapLines(E,(E=>`<+> ${R(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:R})=>E?R("DEBUG"):undefined,"loggingGroup.name":(E,{bold:R})=>R(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const j={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const G={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>R=>R.length>0?`(${E}: ${R.filter(Boolean).join(", ")})`:undefined;const ie={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const R=[];let N=0;for(const $ of E){if($.element==="separator!"){switch(N){case 0:case 1:N+=2;break;case 4:R.push(")");N=3;break}}if(!$.content)continue;switch(N){case 0:N=1;break;case 1:R.push(" ");break;case 2:R.push("(");N=4;break;case 3:R.push(" (");N=4;break;case 4:R.push(", ");break}R.push($.content)}if(N===4)R.push(")");return R.join("")};const indent=(E,R,N)=>{const $=E.replace(/\n([^\n])/g,"\n"+R+"$1");if(N)return $;const j=E[0]==="\n"?"":R;return j+$};const joinExplicitNewLine=(E,R)=>{let N=true;let $=true;return E.map((E=>{if(!E||!E.content)return;let j=indent(E.content,$?"":R,!N);if(N){j=j.replace(/^\n+/,"")}if(!j)return;$=false;const q=N||j.startsWith("\n");N=j.endsWith("\n");return q?j:" "+j})).filter(Boolean).join("").trim()};const joinError=E=>(R,{red:N,yellow:$})=>`${E?N("ERROR"):$("WARNING")} in ${joinExplicitNewLine(R,"")}`;const ae={compilation:E=>{const R=[];let N=false;for(const $ of E){if(!$.content)continue;const E=$.element==="warnings"||$.element==="filteredWarningDetailsCount"||$.element==="errors"||$.element==="filteredErrorDetailsCount"||$.element==="logging";if(R.length!==0){R.push(E||N?"\n\n":"\n")}R.push($.content);N=E}if(N)R.push("\n");return R.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:R})=>{let N=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(R.id===R.name){if(N)return false;if(E.content)N=true}break;case"name":if(N)return false;if(E.content)N=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let R=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)R=true;break;case"initial":if(R)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:R})=>{let N=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"moduleId":if(R.moduleId===R.module&&E.content)N=true;break;case"module":if(N)return false;break;case"resolvedModule":if(R.module===R.resolvedModule)return false;break;case"children":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const le={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const _e={formatChunkId:(E,{yellow:R},N)=>{switch(N){case"parent":return`<{${R(E)}}>`;case"sibling":return`={${R(E)}}=`;case"child":return`>{${R(E)}}<`;default:return`{${R(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:R,yellow:N},$)=>($?N:R)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:N(9192).formatSize,formatDateTime:(E,{bold:R})=>{const N=new Date(E);const $=twoDigit;const j=`${N.getFullYear()}-${$(N.getMonth()+1)}-${$(N.getDate())}`;const q=`${$(N.getHours())}:${$(N.getMinutes())}:${$(N.getSeconds())}`;return`${j} ${R(q)}`},formatTime:(E,{timeReference:R,bold:N,green:$,yellow:j,red:q},G)=>{const ie=" ms";if(R&&E!==R){const G=[R/2,R/4,R/8,R/16];if(E{if(E.includes("["))return E;const j=[{regExp:/(Did you mean .+)/g,format:R},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:R},{regExp:/(\(module has no exports\))/g,format:$},{regExp:/\(possible exports: (.+)\)/g,format:R},{regExp:/\s*(.+ doesn't exist)/g,format:$},{regExp:/('\w+' option has not been set)/g,format:$},{regExp:/(Emitted value instead of an instance of Error)/g,format:N},{regExp:/(Used? .+ instead)/gi,format:N},{regExp:/\b(deprecated|must|required)\b/g,format:N},{regExp:/\b(BREAKING CHANGE)\b/gi,format:$},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:$}];for(const{regExp:R,format:N}of j){E=E.replace(R,((E,R)=>E.replace(R,N(R))))}return E}};const Ee={"module.modules":E=>indent(E,"| ")};const createOrder=(E,R)=>{const N=E.slice();const $=new Set(E);const j=new Set;E.length=0;for(const N of R){if(N.endsWith("!")||$.has(N)){E.push(N);j.add(N)}}for(const R of N){if(!j.has(R)){E.push(R)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,R,N)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,N)=>{for(const E of Object.keys(le)){let $;if(R.colors){if(typeof R.colors==="object"&&typeof R.colors[E]==="string"){$=R.colors[E]}else{$=le[E]}}if($){N[E]=E=>`${$}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${$}`):E}`}else{N[E]=E=>E}}for(const E of Object.keys(_e)){N[E]=(R,...$)=>_e[E](R,N,...$)}N.timeReference=E.time}));for(const R of Object.keys($)){E.hooks.print.for(R).tap("DefaultStatsPrinterPlugin",((N,j)=>$[R](N,j,E)))}for(const R of Object.keys(G)){const N=G[R];E.hooks.sortElements.for(R).tap("DefaultStatsPrinterPlugin",((E,R)=>{createOrder(E,N)}))}for(const R of Object.keys(j)){const N=j[R];E.hooks.getItemName.for(R).tap("DefaultStatsPrinterPlugin",typeof N==="string"?()=>N:N)}for(const R of Object.keys(ie)){const N=ie[R];E.hooks.printItems.for(R).tap("DefaultStatsPrinterPlugin",N)}for(const R of Object.keys(ae)){const N=ae[R];E.hooks.printElements.for(R).tap("DefaultStatsPrinterPlugin",N)}for(const R of Object.keys(Ee)){const N=Ee[R];E.hooks.result.for(R).tap("DefaultStatsPrinterPlugin",N)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,R,N)=>{"use strict";const{HookMap:$,SyncBailHook:j,SyncWaterfallHook:q}=N(92960);const{concatComparators:G,keepOriginalOrder:ie}=N(68673);const ae=N(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new $((()=>new j(["object","data","context"]))),filter:new $((()=>new j(["item","context","index","unfilteredIndex"]))),sort:new $((()=>new j(["comparators","context"]))),filterSorted:new $((()=>new j(["item","context","index","unfilteredIndex"]))),groupResults:new $((()=>new j(["groupConfigs","context"]))),sortResults:new $((()=>new j(["comparators","context"]))),filterResults:new $((()=>new j(["item","context","index","unfilteredIndex"]))),merge:new $((()=>new j(["items","context"]))),result:new $((()=>new q(["result","context"]))),getItemName:new $((()=>new j(["item","context"]))),getItemFactory:new $((()=>new j(["item","context"])))});const E=this.hooks;this._caches={};for(const R of Object.keys(E)){this._caches[R]=new Map}this._inCreate=false}_getAllLevelHooks(E,R,N){const $=R.get(N);if($!==undefined){return $}const j=[];const q=N.split(".");for(let R=0;R{for(const N of G){const $=j(N,E,R,ie);if($!==undefined){if($)ie++;return $}}ie++;return true}))}create(E,R,N){if(this._inCreate){return this._create(E,R,N)}else{try{this._inCreate=true;return this._create(E,R,N)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,R,N){const $={...N,type:E,[E]:R};if(Array.isArray(R)){const N=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,R,((E,R,N,j)=>E.call(R,$,N,j)),true);const j=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call(j,$)));if(j.length>0){N.sort(G(...j,ie(N)))}const q=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,N,((E,R,N,j)=>E.call(R,$,N,j)),false);let le=q.map(((R,N)=>{const j={...$,_index:N};const q=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(R,j)));if(q)j[q]=R;const G=q?`${E}[].${q}`:`${E}[]`;const ie=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,G,(E=>E.call(R,j)))||this;return ie.create(G,R,j)}));const _e=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(_e,$)));if(_e.length>0){le.sort(G(..._e,ie(le)))}const Ee=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(Ee,$)));if(Ee.length>0){le=ae(le,Ee)}const we=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,le,((E,R,N,j)=>E.call(R,$,N,j)),false);let Ie=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(we,$)));if(Ie===undefined)Ie=we;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Ie,((E,R)=>E.call(R,$)))}else{const N={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(N,R,$)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,N,((E,R)=>E.call(R,$)))}}}E.exports=StatsFactory},30533:(E,R,N)=>{"use strict";const{HookMap:$,SyncWaterfallHook:j,SyncBailHook:q}=N(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new $((()=>new q(["elements","context"]))),printElements:new $((()=>new q(["printedElements","context"]))),sortItems:new $((()=>new q(["items","context"]))),getItemName:new $((()=>new q(["item","context"]))),printItems:new $((()=>new q(["printedItems","context"]))),print:new $((()=>new q(["object","context"]))),result:new $((()=>new j(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,R){let N=this._levelHookCache.get(E);if(N===undefined){N=new Map;this._levelHookCache.set(E,N)}const $=N.get(R);if($!==undefined){return $}const j=[];const q=R.split(".");for(let R=0;RE.call(R,$)));if(j===undefined){if(Array.isArray(R)){const N=R.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(N,$)));const q=N.map(((R,N)=>{const j={...$,_index:N};const q=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(R,j)));if(q)j[q]=R;return this.print(q?`${E}[].${q}`:`${E}[]`,R,j)}));j=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(q,$)));if(j===undefined){const E=q.filter(Boolean);if(E.length>0)j=E.join("\n")}}else if(R!==null&&typeof R==="object"){const N=Object.keys(R).filter((E=>R[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(N,$)));const q=N.map((N=>{const j=this.print(`${E}.${N}`,R[N],{...$,_parent:R,_element:N,[N]:R[N]});return{element:N,content:j}}));j=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(q,$)));if(j===undefined){const E=q.map((E=>E.content)).filter(Boolean);if(E.length>0)j=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,j,((E,R)=>E.call(R,$)))}}E.exports=StatsPrinter},73910:(E,R)=>{"use strict";R.equals=(E,R)=>{if(E.length!==R.length)return false;for(let N=0;N{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const R=this._list.indexOf(E);if(R>=0){this._list.splice(R,1)}else{const R=this._listReversed.indexOf(E);if(R>=0)this._listReversed.splice(R,1)}}[Symbol.iterator](){let E=-1;let R=false;return{next:()=>{if(!R){E++;if(E{"use strict";const{SyncHook:$,AsyncSeriesHook:j}=N(92960);const{makeWebpackError:q}=N(3728);const G=N(81627);const ie=N(56561);const ae=0;const le=1;const _e=2;let Ee=0;class AsyncQueueEntry{constructor(E,R){this.item=E;this.state=ae;this.callback=R;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:R,parent:N,processor:q,getKey:G}){this._name=E;this._parallelism=R||1;this._processor=q;this._getKey=G||(E=>E);this._entries=new Map;this._queued=new ie;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=N?N._root:this;if(N){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new j(["item"]),added:new $(["item"]),beforeStart:new j(["item"]),started:new $(["item"]),result:new $(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,R){if(this._stopped)return R(new G("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(N=>{if(N){R(q(N,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const $=this._getKey(E);const j=this._entries.get($);if(j!==undefined){if(j.state===_e){if(Ee++>3){process.nextTick((()=>R(j.error,j.result)))}else{R(j.error,j.result)}Ee--}else if(j.callbacks===undefined){j.callbacks=[R]}else{j.callbacks.push(R)}return}const ie=new AsyncQueueEntry(E,R);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ie,new G("Queue was stopped"))))}else{this._entries.set($,ie);this._queued.enqueue(ie);const R=this._root;R._needProcessing=true;if(R._willEnsureProcessing===false){R._willEnsureProcessing=true;setImmediate(R._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const R=this._getKey(E);const N=this._entries.get(R);this._entries.delete(R);if(N.state===ae){this._queued.delete(N)}}waitFor(E,R){const N=this._getKey(E);const $=this._entries.get(N);if($===undefined){return R(new G("waitFor can only be called for an already started item"))}if($.state===_e){process.nextTick((()=>R($.error,$.result)))}else if($.callbacks===undefined){$.callbacks=[R]}else{$.callbacks.push(R)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ie;const R=this._root;for(const N of E){this._entries.delete(this._getKey(N.item));R._activeTasks++;this._handleResult(N,new G("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===le}isQueued(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===ae}isDone(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===_e}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(R=>{if(R){this._handleResult(E,q(R,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let N=false;try{this._processor(E.item,((R,$)=>{N=true;this._handleResult(E,R,$)}))}catch(R){if(N)throw R;this._handleResult(E,R,null)}this.hooks.started.call(E.item)}))}_handleResult(E,R,N){this.hooks.result.callAsync(E.item,R,N,($=>{const j=$?q($,`AsyncQueue(${this._name}).hooks.result`):R;const G=E.callback;const ie=E.callbacks;E.state=_e;E.callback=undefined;E.callbacks=undefined;E.result=N;E.error=j;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(Ee++>3){process.nextTick((()=>{G(j,N);if(ie!==undefined){for(const E of ie){E(j,N)}}}))}else{G(j,N);if(ie!==undefined){for(const E of ie){E(j,N)}}}Ee--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,R,N)=>{"use strict";class Hash{update(E,R){const $=N(75884);throw new $}digest(E){const R=N(75884);throw new R}}E.exports=Hash},11539:(E,R)=>{"use strict";const last=E=>{let R;for(const N of E)R=N;return R};const someInIterable=(E,R)=>{for(const N of E){if(R(N))return true}return false};const countIterable=E=>{let R=0;for(const N of E)R++;return R};R.last=last;R.someInIterable=someInIterable;R.countIterable=countIterable},37496:(E,R,N)=>{"use strict";const{first:$}=N(26221);const j=N(16102);class LazyBucketSortedSet{constructor(E,R,...N){this._getKey=E;this._innerArgs=N;this._leaf=N.length<=1;this._keys=new j(undefined,R);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,R){let N=this._map.get(E);if(N===undefined){N=this._leaf?new j(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,N)}N.add(R)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const R=this._getKey(E);const N=this._map.get(R);N.delete(E);if(N.size===0){this._deleteKey(R)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const R=this._getKey(E);this._addInternal(R,E)}this._unsortedItems.clear()}this._keys.sort();const E=$(this._keys);const R=this._map.get(E);if(this._leaf){const N=R;N.sort();const j=$(N);N.delete(j);if(N.size===0){this._deleteKey(E)}return j}else{const N=R;const $=N.popFirst();if(N.size===0){this._deleteKey(E)}return $}}startUpdate(E){if(this._unsortedItems.has(E)){return R=>{if(R){this._unsortedItems.delete(E);this.size--;return}}}const R=this._getKey(E);if(this._leaf){const N=this._map.get(R);return $=>{if($){this.size--;N.delete(E);if(N.size===0){this._deleteKey(R)}return}const j=this._getKey(E);if(R===j){N.add(E)}else{N.delete(E);if(N.size===0){this._deleteKey(R)}this._addInternal(j,E)}}}else{const N=this._map.get(R);const $=N.startUpdate(E);return j=>{if(j){this.size--;$(true);if(N.size===0){this._deleteKey(R)}return}const q=this._getKey(E);if(R===q){$()}else{$(true);if(N.size===0){this._deleteKey(R)}this._addInternal(q,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const R of this._keys){const N=this._map.get(R);if(this._leaf){const R=N;const $=R[Symbol.iterator]();E.push($)}else{const R=N;R._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let R=E.pop();return{next:()=>{const N=R.next();if(N.done){if(E.length===0)return N;R=E.pop();return R.next()}return N}}}}E.exports=LazyBucketSortedSet},83379:(E,R,N)=>{"use strict";const $=N(56202);const merge=(E,R)=>{for(const N of R){for(const R of N){E.add(R)}}};const flatten=(E,R)=>{for(const N of R){if(N._set.size>0)E.add(N._set);if(N._needMerge){for(const R of N._toMerge){E.add(R)}flatten(E,N._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const R=this._set;for(const N of E){R.add(N)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,R){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,R)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const R of this._set)E(R)}static deserialize({read:E}){const R=E();const N=[];for(let $=0;${"use strict";R.provide=(E,R,N)=>{const $=E.get(R);if($!==undefined)return $;const j=N();E.set(R,j);return j}},382:(E,R,N)=>{"use strict";const $=N(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,R,N){if(E===R)return N(1);this._rangePoints.push(E);this._rangePoints.push(R);this._rangeCallbacks.push(N)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,R)=>E0));const N=[];for(let j=0;j{"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,R)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let R=Infinity;let N=-1;for(let $=0;${if(E.size{for(const N of E){if(R(N))return N}};const first=E=>{const R=E.values().next();return R.done?undefined:R.value};const combine=(E,R)=>{if(R.size===0)return E;if(E.size===0)return R;const N=new Set(E);for(const E of R)N.add(E);return N};R.intersect=intersect;R.isSubset=isSubset;R.find=find;R.first=first;R.combine=combine},16102:E=>{"use strict";const R=Symbol("not sorted");class SortableSet extends Set{constructor(E,N){super(E);this._sortFn=N;this._lastActiveSortFn=R;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=R;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const R=Array.from(this).sort(E);super.clear();for(let E=0;E{"use strict";class StackedCacheMap{constructor(){this.map=new Map;this.stack=[]}addAll(E,R){if(R){this.stack.push(E);for(let R=this.stack.length-1;R>0;R--){const N=this.stack[R-1];if(N.size>=E.size)break;this.stack[R]=N;this.stack[R-1]=E}}else{for(const[R,N]of E){this.map.set(R,N)}}}set(E,R){this.map.set(E,R)}delete(E){throw new Error("Items can't be deleted from a StackedCacheMap")}has(E){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(E){for(const R of this.stack){const N=R.get(E);if(N!==undefined)return N}return this.map.get(E)}clear(){this.stack.length=0;this.map.clear()}get size(){let E=this.map.size;for(const R of this.stack){E+=R.size}return E}[Symbol.iterator](){const E=this.stack.map((E=>E[Symbol.iterator]()));let R=this.map[Symbol.iterator]();return{next(){let N=R.next();while(N.done&&E.length>0){R=E.pop();N=R.next()}return N}}}}E.exports=StackedCacheMap},80371:E=>{"use strict";const R=Symbol("tombstone");const N=Symbol("undefined");const extractPair=E=>{const $=E[0];const j=E[1];if(j===N||j===R){return[$,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,R){this.map.set(E,R===undefined?N:R)}delete(E){if(this.stack.length>1){this.map.set(E,R)}else{this.map.delete(E)}}has(E){const N=this.map.get(E);if(N!==undefined){return N!==R}if(this.stack.length>1){for(let N=this.stack.length-2;N>=0;N--){const $=this.stack[N].get(E);if($!==undefined){this.map.set(E,$);return $!==R}}this.map.set(E,R)}return false}get(E){const $=this.map.get(E);if($!==undefined){return $===R||$===N?undefined:$}if(this.stack.length>1){for(let $=this.stack.length-2;$>=0;$--){const j=this.stack[$].get(E);if(j!==undefined){this.map.set(E,j);return j===R||j===N?undefined:j}}this.map.set(E,R)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const N of E){if(N[1]===R){this.map.delete(N[0])}else{this.map.set(N[0],N[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined}add(E){const R=E.length;const N=this._value;if(N===undefined){const N=this._value=Buffer.allocUnsafe(R);for(let $=0;${"use strict";const $=N(86949);class TupleQueue{constructor(E){this._set=new $(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const R of E){this.add(...R)}}}add(...E){let R=this._map;for(let N=0;N{const j=$.next();if(j.done){if(E.length===0)return false;R.pop();return next(E.pop())}const[q,G]=j.value;E.push($);R.push(q);if(G instanceof Set){N=G[Symbol.iterator]();return true}else{return next(G[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(N){const $=N.next();if($.done){R.pop();if(!next(E.pop())){N=undefined}}else{return{done:false,value:R.concat($.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,R)=>{"use strict";const N="\\".charCodeAt(0);const $="/".charCodeAt(0);const j="a".charCodeAt(0);const q="z".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="0".charCodeAt(0);const le="9".charCodeAt(0);const _e="+".charCodeAt(0);const Ee="-".charCodeAt(0);const we=":".charCodeAt(0);const Ie="#".charCodeAt(0);const Me="?".charCodeAt(0);function getScheme(E){const R=E.charCodeAt(0);if((Rq)&&(Rie)){return undefined}let Te=1;let Ne=E.charCodeAt(Te);while(Ne>=j&&Ne<=q||Ne>=G&&Ne<=ie||Ne>=ae&&Ne<=le||Ne===_e||Ne===Ee){if(++Te===E.length)return undefined;Ne=E.charCodeAt(Te)}if(Ne!==we)return undefined;if(Te===1){const R=Te+1{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...E){let R=this;for(let N=0;N{"use strict";const compileSearch=(E,R,N,$,j)=>{const q=["function ",E,"(a,l,h,",$.join(","),"){",j?"":"var i=",N?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(j){if(R.indexOf("c")<0){q.push(";if(x===y){return m}else if(x<=y){")}else{q.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{q.push(";if(",R,"){i=m;")}if(N){q.push("l=m+1}else{h=m-1}")}else{q.push("h=m-1}else{l=m+1}")}q.push("}");if(j){q.push("return -1};")}else{q.push("return i};")}return q.join("")};const compileBoundsSearch=(E,R,N,$)=>{const j=compileSearch("A","x"+E+"y",R,["y"],$);const q=compileSearch("P","c(x,y)"+E+"0",R,["y","c"],$);const G="function dispatchBinarySearch";const ie="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[j,q,G,N,ie,N];const le=ae.join("");const _e=new Function(le);return _e()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,R)=>{"use strict";const N=new WeakMap;const $=new WeakMap;const j=Symbol("DELETE");const q=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,R)=>{if(R===undefined)return E;if(E===undefined)return R;if(typeof R!=="object"||R===null)return R;if(typeof E!=="object"||E===null)return E;let $=N.get(E);if($===undefined){$=new WeakMap;N.set(E,$)}const j=$.get(R);if(j!==undefined)return j;const q=_cleverMerge(E,R,true);$.set(R,q);return q};const cachedSetProperty=(E,R,N)=>{let j=$.get(E);if(j===undefined){j=new Map;$.set(E,j)}let q=j.get(R);if(q===undefined){q=new Map;j.set(R,q)}let G=q.get(N);if(G)return G;G={...E,[R]:N};q.set(N,G);return G};const G=new WeakMap;const cachedParseObject=E=>{const R=G.get(E);if(R!==undefined)return R;const N=parseObject(E);G.set(E,N);return N};const parseObject=E=>{const R=new Map;let N;const getInfo=E=>{const N=R.get(E);if(N!==undefined)return N;const $={base:undefined,byProperty:undefined,byValues:undefined};R.set(E,$);return $};for(const R of Object.keys(E)){if(R.startsWith("by")){const $=R;const j=E[$];if(typeof j==="object"){for(const E of Object.keys(j)){const R=j[E];for(const N of Object.keys(R)){const q=getInfo(N);if(q.byProperty===undefined){q.byProperty=$;q.byValues=new Map}else if(q.byProperty!==$){throw new Error(`${$} and ${q.byProperty} for a single property is not supported`)}q.byValues.set(E,R[N]);if(E==="default"){for(const E of Object.keys(j)){if(!q.byValues.has(E))q.byValues.set(E,undefined)}}}}}else if(typeof j==="function"){if(N===undefined){N={byProperty:R,fn:j}}else{throw new Error(`${R} and ${N.byProperty} when both are functions is not supported`)}}else{const N=getInfo(R);N.base=E[R]}}else{const N=getInfo(R);N.base=E[R]}}return{static:R,dynamic:N}};const serializeObject=(E,R)=>{const N={};for(const R of E.values()){if(R.byProperty!==undefined){const E=N[R.byProperty]=N[R.byProperty]||{};for(const N of R.byValues.keys()){E[N]=E[N]||{}}}}for(const[R,$]of E){if($.base!==undefined){N[R]=$.base}if($.byProperty!==undefined){const E=N[$.byProperty]=N[$.byProperty]||{};for(const N of Object.keys(E)){const j=getFromByValues($.byValues,N);if(j!==undefined)E[N][R]=j}}}if(R!==undefined){N[R.byProperty]=R.fn}return N};const ie=0;const ae=1;const le=2;const _e=3;const Ee=4;const getValueType=E=>{if(E===undefined){return ie}else if(E===j){return Ee}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return le;return ae}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return _e}return ae};const cleverMerge=(E,R)=>{if(R===undefined)return E;if(E===undefined)return R;if(typeof R!=="object"||R===null)return R;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,R,false)};const _cleverMerge=(E,R,N=false)=>{const $=N?cachedParseObject(E):parseObject(E);const{static:j,dynamic:G}=$;if(G!==undefined){let{byProperty:E,fn:j}=G;const ie=j[q];if(ie){R=N?cachedCleverMerge(ie[1],R):cleverMerge(ie[1],R);j=ie[0]}const newFn=(...E)=>{const $=j(...E);return N?cachedCleverMerge($,R):cleverMerge($,R)};newFn[q]=[j,R];return serializeObject($.static,{byProperty:E,fn:newFn})}const ie=N?cachedParseObject(R):parseObject(R);const{static:ae,dynamic:le}=ie;const _e=new Map;for(const[E,R]of j){const $=ae.get(E);const j=$!==undefined?mergeEntries(R,$,N):R;_e.set(E,j)}for(const[E,R]of ae){if(!j.has(E)){_e.set(E,R)}}return serializeObject(_e,le)};const mergeEntries=(E,R,N)=>{switch(getValueType(R.base)){case ae:case Ee:return R;case ie:if(!E.byProperty){return{base:E.base,byProperty:R.byProperty,byValues:R.byValues}}else if(E.byProperty!==R.byProperty){throw new Error(`${E.byProperty} and ${R.byProperty} for a single property is not supported`)}else{const $=new Map(E.byValues);for(const[j,q]of R.byValues){const R=getFromByValues(E.byValues,j);$.set(j,mergeSingleValue(R,q,N))}return{base:E.base,byProperty:E.byProperty,byValues:$}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,R.base,N),byProperty:R.byProperty,byValues:R.byValues}}let $;const j=new Map(E.byValues);for(const[E,$]of j){j.set(E,mergeSingleValue($,R.base,N))}if(Array.from(E.byValues.values()).every((E=>{const R=getValueType(E);return R===ae||R===Ee}))){$=mergeSingleValue(E.base,R.base,N)}else{$=E.base;if(!j.has("default"))j.set("default",R.base)}if(!R.byProperty){return{base:$,byProperty:E.byProperty,byValues:j}}else if(E.byProperty!==R.byProperty){throw new Error(`${E.byProperty} and ${R.byProperty} for a single property is not supported`)}const q=new Map(j);for(const[E,$]of R.byValues){const R=getFromByValues(j,E);q.set(E,mergeSingleValue(R,$,N))}return{base:$,byProperty:E.byProperty,byValues:q}}}};const getFromByValues=(E,R)=>{if(R!=="default"&&E.has(R)){return E.get(R)}return E.get("default")};const mergeSingleValue=(E,R,N)=>{const $=getValueType(R);const j=getValueType(E);switch($){case Ee:case ae:return R;case _e:{return j!==_e?R:N?cachedCleverMerge(E,R):cleverMerge(E,R)}case ie:return E;case le:switch(j!==ae?j:Array.isArray(E)?le:_e){case ie:return R;case Ee:return R.filter((E=>E!=="..."));case le:{const N=[];for(const $ of R){if($==="..."){for(const R of E){N.push(R)}}else{N.push($)}}return N}case _e:return R.map((R=>R==="..."?E:R));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const R={};for(const N of Object.keys(E)){const $=E[N];const j=getValueType($);switch(j){case ie:case Ee:break;case _e:R[N]=removeOperations($);break;case le:R[N]=$.filter((E=>E!=="..."));break;default:R[N]=$;break}}return R};const resolveByProperty=(E,R,...N)=>{if(typeof E!=="object"||E===null||!(R in E)){return E}const{[R]:$,...j}=E;const q=j;const G=$;if(typeof G==="object"){const E=N[0];if(E in G){return cachedCleverMerge(q,G[E])}else if("default"in G){return cachedCleverMerge(q,G.default)}else{return q}}else if(typeof G==="function"){const E=G.apply(null,N);return cachedCleverMerge(q,resolveByProperty(E,R,...N))}};R.cachedSetProperty=cachedSetProperty;R.cachedCleverMerge=cachedCleverMerge;R.cleverMerge=cleverMerge;R.resolveByProperty=resolveByProperty;R.removeOperations=removeOperations;R.DELETE=j},68673:(E,R,N)=>{"use strict";const{compareRuntime:$}=N(37416);const createCachedParameterizedComparator=E=>{const R=new WeakMap;return N=>{const $=R.get(N);if($!==undefined)return $;const j=E.bind(null,N);R.set(N,j);return j}};R.compareChunksById=(E,R)=>compareIds(E.id,R.id);R.compareModulesByIdentifier=(E,R)=>compareIds(E.identifier(),R.identifier());const compareModulesById=(E,R,N)=>compareIds(E.getModuleId(R),E.getModuleId(N));R.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,R)=>{if(typeof E!==typeof R){return typeof ER)return 1;return 0};R.compareNumbers=compareNumbers;const compareStringsNumeric=(E,R)=>{const N=E.split(/(\d+)/);const $=R.split(/(\d+)/);const j=Math.min(N.length,$.length);for(let E=0;Ej.length){if(R.slice(0,j.length)>j)return 1;return-1}else if(j.length>R.length){if(j.slice(0,R.length)>R)return-1;return 1}else{if(Rj)return 1}}else{const E=+R;const N=+j;if(EN)return 1}}if($.lengthN.length)return-1;return 0};R.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,R,N)=>{const $=compareNumbers(E.getPostOrderIndex(R),E.getPostOrderIndex(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,R,N)=>{const $=compareNumbers(E.getPreOrderIndex(R),E.getPreOrderIndex(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,R,N)=>{const $=compareIds(E.getModuleId(R),E.getModuleId(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,R,N)=>E.compareChunks(R,N);R.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,R)=>{if(typeof E!==typeof R){return typeof ER)return 1;return 0};R.compareIds=compareIds;const compareStrings=(E,R)=>{if(ER)return 1;return 0};R.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,R)=>E.index{if(N.length>0){const[$,...j]=N;return concatComparators(E,concatComparators(R,$,...j))}const $=j.get(E,R);if($!==undefined)return $;const result=(N,$)=>{const j=E(N,$);if(j!==0)return j;return R(N,$)};j.set(E,R,result);return result};R.concatComparators=concatComparators;const q=new TwoKeyWeakMap;const compareSelect=(E,R)=>{const N=q.get(E,R);if(N!==undefined)return N;const result=(N,$)=>{const j=E(N);const q=E($);if(j!==undefined&&j!==null){if(q!==undefined&&q!==null){return R(j,q)}return-1}else{if(q!==undefined&&q!==null){return 1}return 0}};q.set(E,R,result);return result};R.compareSelect=compareSelect;const G=new WeakMap;const compareIterables=E=>{const R=G.get(E);if(R!==undefined)return R;const result=(R,N)=>{const $=R[Symbol.iterator]();const j=N[Symbol.iterator]();while(true){const R=$.next();const N=j.next();if(R.done){return N.done?0:-1}else if(N.done){return 1}const q=E(R.value,N.value);if(q!==0)return q}};G.set(E,result);return result};R.compareIterables=compareIterables;R.keepOriginalOrder=E=>{const R=new Map;let N=0;for(const $ of E){R.set($,N++)}return(E,N)=>compareNumbers(R.get(E),R.get(N))};R.compareChunksNatural=E=>{const N=R.compareModulesById(E);const j=compareIterables(N);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),$),compareSelect((R=>E.getOrderedChunkModulesIterable(R,N)),j))};R.compareLocations=(E,R)=>{let N=typeof E==="object"&&E!==null;let $=typeof R==="object"&&R!==null;if(!N||!$){if(N)return 1;if($)return-1;return 0}if("start"in E){if("start"in R){const N=E.start;const $=R.start;if(N.line<$.line)return-1;if(N.line>$.line)return 1;if(N.column<$.column)return-1;if(N.column>$.column)return 1}else return-1}else if("start"in R)return 1;if("name"in E){if("name"in R){if(E.nameR.name)return 1}else return-1}else if("name"in R)return 1;if("index"in E){if("index"in R){if(E.indexR.index)return 1}else return-1}else if("index"in R)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const R=Object.keys(E).filter((R=>E[R]));const N=Object.keys(E).filter((R=>!E[R]));if(R.length===0)return false;if(N.length===0)return true;return compileBooleanMatcherFromLists(R,N)};const compileBooleanMatcherFromLists=(E,R)=>{if(E.length===0)return()=>"false";if(R.length===0)return()=>"true";if(E.length===1)return R=>`${toSimpleString(E[0])} == ${R}`;if(R.length===1)return E=>`${toSimpleString(R[0])} != ${E}`;const N=itemsToRegexp(E);const $=itemsToRegexp(R);if(N.length<=$.length){return E=>`/^${N}$/.test(${E})`}else{return E=>`!/^${$}$/.test(${E})`}};const popCommonItems=(E,R,N)=>{const $=new Map;for(const N of E){const E=R(N);if(E){let R=$.get(E);if(R===undefined){R=[];$.set(E,R)}R.push(N)}}const j=[];for(const R of $.values()){if(N(R)){for(const N of R){E.delete(N)}j.push(R)}}return j};const getCommonPrefix=E=>{let R=E[0];for(let N=1;N{let R=E[0];for(let N=1;N=0;E--,N--){if($[E]!==R[N]){R=R.slice(N+1);break}}}return R};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const R=[];let N=0;for(const R of E){if(R.length===1){N++}}if(N===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const $=new Set(E.sort());if(N>2){let E="";for(const R of $){if(R.length===1){E+=R;$.delete(R)}}R.push(`[${quoteMeta(E)}]`)}if(R.length===0&&$.size===2){const R=getCommonPrefix(E);const N=getCommonSuffix(E.map((E=>E.slice(R.length))));if(R.length>0||N.length>0){return`${quoteMeta(R)}${itemsToRegexp(E.map((E=>E.slice(R.length,-N.length||undefined))))}${quoteMeta(N)}`}}if(R.length===0&&$.size===2){const E=$[Symbol.iterator]();const R=E.next().value;const N=E.next().value;if(R.length>0&&N.length>0&&R.slice(-1)===N.slice(-1)){return`${itemsToRegexp([R.slice(0,-1),N.slice(0,-1)])}${quoteMeta(R.slice(-1))}`}}const j=popCommonItems($,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of j){const N=getCommonPrefix(E);R.push(`${quoteMeta(N)}${itemsToRegexp(E.map((E=>E.slice(N.length))))}`)}const q=popCommonItems($,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of q){const N=getCommonSuffix(E);R.push(`${itemsToRegexp(E.map((E=>E.slice(0,-N.length))))}${quoteMeta(N)}`)}const G=R.concat(Array.from($,quoteMeta));if(G.length===1)return G[0];return`(${G.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,R,N)=>{"use strict";const $=N(91671);const j=$((()=>N(15235).validate));const createSchemaValidation=(E=(E=>false),R,N)=>{R=$(R);return $=>{if(!E($)){j()(R(),$,N)}}};E.exports=createSchemaValidation},35891:(E,R,N)=>{"use strict";const $=N(75066);const j=2e3;const q={};class BulkUpdateDecorator extends ${constructor(E,R){super();this.hashKey=R;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,R){if(R!==undefined||typeof E!=="string"||E.length>j){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,R)}else{this.buffer+=E;if(this.buffer.length>j){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let R;const N=this.buffer;if(this.hash===undefined){const $=`${this.hashKey}-${E}`;R=q[$];if(R===undefined){R=q[$]=new Map}const j=R.get(N);if(j!==undefined)return j;this.hash=this.hashFactory()}if(N.length>0){this.hash.update(N)}const $=this.hash.digest(E);const j=typeof $==="string"?$:$.toString();if(R!==undefined){R.set(N,j)}return j}}class DebugHash extends ${constructor(){super();this.string=""}update(E,R){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let G=undefined;let ie=undefined;let ae=undefined;let le=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;case"xxhash64":if(ie===undefined){ie=N(92976);if(le===undefined){le=N(89312)}}return new le(ie());case"md4":if(ae===undefined){ae=N(90526);if(le===undefined){le=N(89312)}}return new le(ae());case"native-md4":if(G===undefined)G=N(6113);return new BulkUpdateDecorator((()=>G.createHash("md4")),"md4");default:if(G===undefined)G=N(6113);return new BulkUpdateDecorator((()=>G.createHash(E)),E)}}},16595:(E,R,N)=>{"use strict";const $=N(73837);const j=new Map;const createDeprecation=(E,R)=>{const N=j.get(E);if(N!==undefined)return N;const q=$.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+R);j.set(E,q);return q};const q=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const G=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];R.arrayToSetDeprecation=(E,R)=>{for(const N of q){if(E[N])continue;const $=createDeprecation(`${R} was changed from Array to Set (using Array method '${N}' is deprecated)`,"ARRAY_TO_SET");E[N]=function(){$();const E=Array.from(this);return Array.prototype[N].apply(E,arguments)}}const N=createDeprecation(`${R} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const $=createDeprecation(`${R} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const j=createDeprecation(`${R} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){N();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const N of G){if(E[N])continue;E[N]=()=>{throw new Error(`${R} was changed from Array to Set (using Array method '${N}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){j();let R=0;for(const N of this){if(R++===E)return N}return undefined};return fn};const defineIndexGetter=N=>{Object.defineProperty(E,N,{get:createIndexGetter(N),set(E){throw new Error(`${R} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ie=1;Object.defineProperty(E,"length",{get(){$();const E=this.size;for(ie;ie{let N=false;class SetDeprecatedArray extends Set{constructor($){super($);if(!N){N=true;R.arrayToSetDeprecation(SetDeprecatedArray.prototype,E)}}}return SetDeprecatedArray};R.soonFrozenObjectDeprecation=(E,R,N,j="")=>{const q=`${R} will be frozen in future, all modifications are deprecated.${j&&`\n${j}`}`;return new Proxy(E,{set:$.deprecate(((E,R,N,$)=>Reflect.set(E,R,N,$)),q,N),defineProperty:$.deprecate(((E,R,N)=>Reflect.defineProperty(E,R,N)),q,N),deleteProperty:$.deprecate(((E,R)=>Reflect.deleteProperty(E,R)),q,N),setPrototypeOf:$.deprecate(((E,R)=>Reflect.setPrototypeOf(E,R)),q,N)})};const deprecateAllProperties=(E,R,N)=>{const j={};const q=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(q)){const G=q[E];if(typeof G.value==="function"){Object.defineProperty(j,E,{...G,value:$.deprecate(G.value,R,N)})}else if(G.get||G.set){Object.defineProperty(j,E,{...G,get:G.get&&$.deprecate(G.get,R,N),set:G.set&&$.deprecate(G.set,R,N)})}else{let q=G.value;Object.defineProperty(j,E,{configurable:G.configurable,enumerable:G.enumerable,get:$.deprecate((()=>q),R,N),set:G.writable?$.deprecate((E=>q=E),R,N):undefined})}}return j};R.deprecateAllProperties=deprecateAllProperties;R.createFakeHook=(E,R,N)=>{if(R&&N){E=deprecateAllProperties(E,R,N)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,R)=>{const N=Math.min(E.length,R.length);let $=0;for(let j=0;j{const $=Math.min(E.length,R.length);let j=0;while(j<$){if(E.charCodeAt(j)!==R.charCodeAt(j)){j++;break}j++}while(j<$){const R=E.slice(0,j);const $=R.toLowerCase();if(!N.has($)){N.add($);return R}j++}return E};const addSizeTo=(E,R)=>{for(const N of Object.keys(R)){E[N]=(E[N]||0)+R[N]}};const subtractSizeFrom=(E,R)=>{for(const N of Object.keys(R)){E[N]-=R[N]}};const sumSize=E=>{const R=Object.create(null);for(const N of E){addSizeTo(R,N.size)}return R};const isTooBig=(E,R)=>{for(const N of Object.keys(E)){const $=E[N];if($===0)continue;const j=R[N];if(typeof j==="number"){if($>j)return true}}return false};const isTooSmall=(E,R)=>{for(const N of Object.keys(E)){const $=E[N];if($===0)continue;const j=R[N];if(typeof j==="number"){if(${const N=new Set;for(const $ of Object.keys(E)){const j=E[$];if(j===0)continue;const q=R[$];if(typeof q==="number"){if(j{let N=0;for(const $ of Object.keys(E)){if(E[$]!==0&&R.has($))N++}return N};const selectiveSizeSum=(E,R)=>{let N=0;for(const $ of Object.keys(E)){if(E[$]!==0&&R.has($))N+=E[$]}return N};class Node{constructor(E,R,N){this.item=E;this.key=R;this.size=N}}class Group{constructor(E,R,N){this.nodes=E;this.similarities=R;this.size=N||sumSize(E);this.key=undefined}popNodes(E){const R=[];const N=[];const $=[];let j;for(let q=0;q0){N.push(j===this.nodes[q-1]?this.similarities[q-1]:similarity(j.key,G.key))}R.push(G);j=G}}if($.length===this.nodes.length)return undefined;this.nodes=R;this.similarities=N;this.size=sumSize(R);return $}}const getSimilarities=E=>{const R=[];let N=undefined;for(const $ of E){if(N!==undefined){R.push(similarity(N.key,$.key))}N=$}return R};E.exports=({maxSize:E,minSize:R,items:N,getSize:$,getKey:j})=>{const q=[];const G=Array.from(N,(E=>new Node(E,j(E),$(E))));const ie=[];G.sort(((E,R)=>{if(E.keyR.key)return 1;return 0}));for(const N of G){if(isTooBig(N.size,E)&&!isTooSmall(N.size,R)){q.push(new Group([N],[]))}else{ie.push(N)}}if(ie.length>0){const N=new Group(ie,getSimilarities(ie));const removeProblematicNodes=(E,N=E.size)=>{const $=getTooSmallTypes(N,R);if($.size>0){const R=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,$)>0));if(R===undefined)return false;const N=q.filter((E=>getNumberOfMatchingSizeTypes(E.size,$)>0));if(N.length>0){const E=N.reduce(((E,R)=>{const N=getNumberOfMatchingSizeTypes(E,$);const j=getNumberOfMatchingSizeTypes(R,$);if(N!==j)return NselectiveSizeSum(R.size,$))return R;return E}));for(const N of R)E.nodes.push(N);E.nodes.sort(((E,R)=>{if(E.keyR.key)return 1;return 0}))}else{q.push(new Group(R,null))}return true}else{return false}};if(N.nodes.length>0){const $=[N];while($.length){const N=$.pop();if(!isTooBig(N.size,E)){q.push(N);continue}if(removeProblematicNodes(N)){$.push(N);continue}let j=1;let G=Object.create(null);addSizeTo(G,N.nodes[0].size);while(j=0&&isTooSmall(ae,R)){addSizeTo(ae,N.nodes[ie].size);ie--}if(j-1>ie){let E;if(ie{if(E.nodes[0].keyR.nodes[0].key)return 1;return 0}));const ae=new Set;for(let E=0;E({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const R=E.indexOf("@");return[E.substring(R+1),E.substring(0,R)]}},62598:E=>{"use strict";const R=0;const N=1;const $=2;const j=3;const q=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=R;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,G)=>{const ie=new Map;for(const R of E){const E=new Node(R);ie.set(R,E)}if(ie.size<=1)return E;for(const E of ie.values()){for(const R of G(E.item)){const N=ie.get(R);if(N!==undefined){E.dependencies.add(N)}}}const ae=new Set;const le=new Set;for(const E of ie.values()){if(E.marker===R){E.marker=N;const G=[{node:E,openEdges:Array.from(E.dependencies)}];while(G.length>0){const E=G[G.length-1];if(E.openEdges.length>0){const ie=E.openEdges.pop();switch(ie.marker){case R:G.push({node:ie,openEdges:Array.from(ie.dependencies)});ie.marker=N;break;case N:{let E=ie.cycle;if(!E){E=new Cycle;E.nodes.add(ie);ie.cycle=E}for(let R=G.length-1;G[R].node!==ie;R--){const N=G[R].node;if(N.cycle){if(N.cycle!==E){for(const R of N.cycle.nodes){R.cycle=E;E.nodes.add(R)}}}else{N.cycle=E;E.nodes.add(N)}}break}case q:ie.marker=$;ae.delete(ie);break;case j:le.delete(ie.cycle);ie.marker=$;break}}else{G.pop();E.node.marker=$}}const ie=E.cycle;if(ie){for(const E of ie.nodes){E.marker=j}le.add(ie)}else{E.marker=q;ae.add(E)}}}for(const E of le){let R=0;const N=new Set;const $=E.nodes;for(const E of $){for(const j of E.dependencies){if($.has(j)){j.incoming++;if(j.incomingR){N.clear();R=j.incoming}N.add(j)}}}for(const E of N){ae.add(E)}}if(ae.size>0){return Array.from(ae,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,R,N)=>{"use strict";const $=N(71017);const relative=(E,R,N)=>{if(E&&E.relative){return E.relative(R,N)}else if($.posix.isAbsolute(R)){return $.posix.relative(R,N)}else if($.win32.isAbsolute(R)){return $.win32.relative(R,N)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};R.relative=relative;const join=(E,R,N)=>{if(E&&E.join){return E.join(R,N)}else if($.posix.isAbsolute(R)){return $.posix.join(R,N)}else if($.win32.isAbsolute(R)){return $.win32.join(R,N)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};R.join=join;const dirname=(E,R)=>{if(E&&E.dirname){return E.dirname(R)}else if($.posix.isAbsolute(R)){return $.posix.dirname(R)}else if($.win32.isAbsolute(R)){return $.win32.dirname(R)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};R.dirname=dirname;const mkdirp=(E,R,N)=>{E.mkdir(R,($=>{if($){if($.code==="ENOENT"){const j=dirname(E,R);if(j===R){N($);return}mkdirp(E,j,($=>{if($){N($);return}E.mkdir(R,(E=>{if(E){if(E.code==="EEXIST"){N();return}N(E);return}N()}))}));return}else if($.code==="EEXIST"){N();return}N($);return}N()}))};R.mkdirp=mkdirp;const mkdirpSync=(E,R)=>{try{E.mkdirSync(R)}catch(N){if(N){if(N.code==="ENOENT"){const $=dirname(E,R);if($===R){throw N}mkdirpSync(E,$);E.mkdirSync(R);return}else if(N.code==="EEXIST"){return}throw N}}};R.mkdirpSync=mkdirpSync;const readJson=(E,R,N)=>{if("readJson"in E)return E.readJson(R,N);E.readFile(R,((E,R)=>{if(E)return N(E);let $;try{$=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}return N(null,$)}))};R.readJson=readJson;const lstatReadlinkAbsolute=(E,R,N)=>{let $=3;const doReadLink=()=>{E.readlink(R,((j,q)=>{if(j&&--$>0){return doStat()}if(j||!q)return doStat();const G=q.toString();N(null,join(E,dirname(E,R),G))}))};const doStat=()=>{if("lstat"in E){return E.lstat(R,((E,R)=>{if(E)return N(E);if(R.isSymbolicLink()){return doReadLink()}N(null,R)}))}else{return E.stat(R,N)}};if("lstat"in E)return doStat();doReadLink()};R.lstatReadlinkAbsolute=lstatReadlinkAbsolute},89312:(E,R,N)=>{"use strict";const $=N(75066);const j=N(27100).MAX_SHORT_STRING;class BatchedHash extends ${constructor(E){super();this.string=undefined;this.encoding=undefined;this.hash=E}update(E,R){if(this.string!==undefined){if(typeof E==="string"&&R===this.encoding&&this.string.length+E.length{"use strict";const $=N(27100);const j=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));E.exports=$.bind(null,j,[],64,32)},27100:E=>{"use strict";const R=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(E,R,N,$){const j=E.exports;j.init();this.exports=j;this.mem=Buffer.from(j.memory.buffer,0,65536);this.buffered=0;this.instancesPool=R;this.chunkSize=N;this.digestSize=$}reset(){this.buffered=0;this.exports.init()}update(E,N){if(typeof E==="string"){while(E.length>R){this._updateWithShortString(E.slice(0,R),N);E=E.slice(R)}this._updateWithShortString(E,N);return this}this._updateWithBuffer(E);return this}_updateWithShortString(E,R){const{exports:N,buffered:$,mem:j,chunkSize:q}=this;let G;if(E.length<70){if(!R||R==="utf-8"||R==="utf8"){G=$;for(let N=0;N>6|192;j[G+1]=$&63|128;G+=2}else{G+=j.write(E.slice(N),G,R);break}}}else if(R==="latin1"){G=$;for(let R=0;R0)j.copyWithin(0,E,G)}}_updateWithBuffer(E){const{exports:R,buffered:N,mem:$}=this;const j=E.length;if(N+j65536){let j=65536-N;E.copy($,N,0,j);R.update(65536);const G=q-N-65536;while(j0)E.copy($,0,j-G,j)}}digest(E){const{exports:R,buffered:N,mem:$,digestSize:j}=this;R.final(N);this.instancesPool.push(this);const q=$.toString("latin1",0,j);if(E==="hex")return q;if(E==="binary"||!E)return Buffer.from(q,"hex");return Buffer.from(q,"hex").toString(E)}}const create=(E,R,N,$)=>{if(R.length>0){const E=R.pop();E.reset();return E}else{return new WasmHash(new WebAssembly.Instance(E),R,N,$)}};E.exports=create;E.exports.MAX_SHORT_STRING=R},92976:(E,R,N)=>{"use strict";const $=N(27100);const j=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));E.exports=$.bind(null,j,[],32,16)},49197:(E,R,N)=>{"use strict";const $=N(71017);const j=/^[a-zA-Z]:[\\/]/;const q=/([|!])/;const G=/\\/g;const relativePathToRequest=E=>{if(E==="")return"./.";if(E==="..")return"../.";if(E.startsWith("../"))return E;return`./${E}`};const absoluteToRequest=(E,R)=>{if(R[0]==="/"){if(R.length>1&&R[R.length-1]==="/"){return R}const N=R.indexOf("?");let j=N===-1?R:R.slice(0,N);j=relativePathToRequest($.posix.relative(E,j));return N===-1?j:j+R.slice(N)}if(j.test(R)){const N=R.indexOf("?");let q=N===-1?R:R.slice(0,N);q=$.win32.relative(E,q);if(!j.test(q)){q=relativePathToRequest(q.replace(G,"/"))}return N===-1?q:q+R.slice(N)}return R};const requestToAbsolute=(E,R)=>{if(R.startsWith("./")||R.startsWith("../"))return $.join(E,R);return R};const makeCacheable=E=>{const R=new WeakMap;const cachedFn=(N,$,j)=>{if(!j)return E(N,$);let q=R.get(j);if(q===undefined){q=new Map;R.set(j,q)}let G;let ie=q.get(N);if(ie===undefined){q.set(N,ie=new Map)}else{G=ie.get($)}if(G!==undefined){return G}else{const R=E(N,$);ie.set($,R);return R}};cachedFn.bindCache=N=>{let $;if(N){$=R.get(N);if($===undefined){$=new Map;R.set(N,$)}}else{$=new Map}const boundFn=(R,N)=>{let j;let q=$.get(R);if(q===undefined){$.set(R,q=new Map)}else{j=q.get(N)}if(j!==undefined){return j}else{const $=E(R,N);q.set(N,$);return $}};return boundFn};cachedFn.bindContextCache=(N,$)=>{let j;if($){let E=R.get($);if(E===undefined){E=new Map;R.set($,E)}j=E.get(N);if(j===undefined){E.set(N,j=new Map)}}else{j=new Map}const boundFn=R=>{const $=j.get(R);if($!==undefined){return $}else{const $=E(N,R);j.set(R,$);return $}};return boundFn};return cachedFn};const _makePathsRelative=(E,R)=>R.split(q).map((R=>absoluteToRequest(E,R))).join("");R.makePathsRelative=makeCacheable(_makePathsRelative);const _makePathsAbsolute=(E,R)=>R.split(q).map((R=>requestToAbsolute(E,R))).join("");R.makePathsAbsolute=makeCacheable(_makePathsAbsolute);const _contextify=(E,R)=>R.split("!").map((R=>absoluteToRequest(E,R))).join("!");const ie=makeCacheable(_contextify);R.contextify=ie;const _absolutify=(E,R)=>R.split("!").map((R=>requestToAbsolute(E,R))).join("!");const ae=makeCacheable(_absolutify);R.absolutify=ae;const le=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const R=le.exec(E);return{resource:E,path:R[1].replace(/\0(.)/g,"$1"),query:R[2]?R[2].replace(/\0(.)/g,"$1"):"",fragment:R[3]||""}};R.parseResource=(E=>{const R=new WeakMap;const getCache=E=>{const N=R.get(E);if(N!==undefined)return N;const $=new Map;R.set(E,$);return $};const fn=(R,N)=>{if(!N)return E(R);const $=getCache(N);const j=$.get(R);if(j!==undefined)return j;const q=E(R);$.set(R,q);return q};fn.bindCache=R=>{const N=getCache(R);return R=>{const $=N.get(R);if($!==undefined)return $;const j=E(R);N.set(R,j);return j}};return fn})(_parseResource);R.getUndoPath=(E,R,N)=>{let $=-1;let j="";R=R.replace(/[\\/]$/,"");for(const N of E.split(/[/\\]+/)){if(N===".."){if($>-1){$--}else{const E=R.lastIndexOf("/");const N=R.lastIndexOf("\\");const $=E<0?N:N<0?E:Math.max(E,N);if($<0)return R+"/";j=R.slice($+1)+"/"+j;R=R.slice(0,$)}}else if(N!=="."){$++}}return $>0?`${"../".repeat($)}${j}`:N?`./${j}`:j}},90331:(E,R,N)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>N(98221),CommentCompilationWarning:()=>N(47207),ContextModule:()=>N(58126),"cache/PackFileCacheStrategy":()=>N(83793),"cache/ResolverCachePlugin":()=>N(13653),"container/ContainerEntryDependency":()=>N(76041),"container/ContainerEntryModule":()=>N(89591),"container/ContainerExposedDependency":()=>N(4523),"container/FallbackDependency":()=>N(27426),"container/FallbackItemDependency":()=>N(55525),"container/FallbackModule":()=>N(13386),"container/RemoteModule":()=>N(68679),"container/RemoteToExternalDependency":()=>N(44742),"dependencies/AMDDefineDependency":()=>N(46960),"dependencies/AMDRequireArrayDependency":()=>N(95715),"dependencies/AMDRequireContextDependency":()=>N(38145),"dependencies/AMDRequireDependenciesBlock":()=>N(83842),"dependencies/AMDRequireDependency":()=>N(45167),"dependencies/AMDRequireItemDependency":()=>N(29022),"dependencies/CachedConstDependency":()=>N(59455),"dependencies/CreateScriptUrlDependency":()=>N(7257),"dependencies/CommonJsRequireContextDependency":()=>N(51454),"dependencies/CommonJsExportRequireDependency":()=>N(1248),"dependencies/CommonJsExportsDependency":()=>N(26702),"dependencies/CommonJsFullRequireDependency":()=>N(87519),"dependencies/CommonJsRequireDependency":()=>N(37313),"dependencies/CommonJsSelfReferenceDependency":()=>N(94147),"dependencies/ConstDependency":()=>N(66298),"dependencies/ContextDependency":()=>N(400),"dependencies/ContextElementDependency":()=>N(90872),"dependencies/CriticalDependencyWarning":()=>N(75314),"dependencies/DelegatedSourceDependency":()=>N(49422),"dependencies/DllEntryDependency":()=>N(95189),"dependencies/EntryDependency":()=>N(66583),"dependencies/ExportsInfoDependency":()=>N(51420),"dependencies/HarmonyAcceptDependency":()=>N(27790),"dependencies/HarmonyAcceptImportDependency":()=>N(80654),"dependencies/HarmonyCompatibilityDependency":()=>N(54290),"dependencies/HarmonyExportExpressionDependency":()=>N(55037),"dependencies/HarmonyExportHeaderDependency":()=>N(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>N(44576),"dependencies/HarmonyExportSpecifierDependency":()=>N(14696),"dependencies/HarmonyImportSideEffectDependency":()=>N(69707),"dependencies/HarmonyImportSpecifierDependency":()=>N(2230),"dependencies/ImportContextDependency":()=>N(4828),"dependencies/ImportDependency":()=>N(20013),"dependencies/ImportEagerDependency":()=>N(75708),"dependencies/ImportWeakDependency":()=>N(12849),"dependencies/JsonExportsDependency":()=>N(38895),"dependencies/LocalModule":()=>N(77230),"dependencies/LocalModuleDependency":()=>N(14229),"dependencies/ModuleDecoratorDependency":()=>N(2706),"dependencies/ModuleHotAcceptDependency":()=>N(21809),"dependencies/ModuleHotDeclineDependency":()=>N(73158),"dependencies/ImportMetaHotAcceptDependency":()=>N(76302),"dependencies/ImportMetaHotDeclineDependency":()=>N(5389),"dependencies/ProvidedDependency":()=>N(1335),"dependencies/PureExpressionDependency":()=>N(53567),"dependencies/RequireContextDependency":()=>N(19204),"dependencies/RequireEnsureDependenciesBlock":()=>N(15196),"dependencies/RequireEnsureDependency":()=>N(15427),"dependencies/RequireEnsureItemDependency":()=>N(81058),"dependencies/RequireHeaderDependency":()=>N(70340),"dependencies/RequireIncludeDependency":()=>N(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>N(1913),"dependencies/RequireResolveContextDependency":()=>N(84817),"dependencies/RequireResolveDependency":()=>N(76913),"dependencies/RequireResolveHeaderDependency":()=>N(23380),"dependencies/RuntimeRequirementsDependency":()=>N(35424),"dependencies/StaticExportsDependency":()=>N(96076),"dependencies/SystemPlugin":()=>N(62630),"dependencies/UnsupportedDependency":()=>N(12584),"dependencies/URLDependency":()=>N(66444),"dependencies/WebAssemblyExportImportedDependency":()=>N(30697),"dependencies/WebAssemblyImportDependency":()=>N(33081),"dependencies/WebpackIsIncludedDependency":()=>N(46715),"dependencies/WorkerDependency":()=>N(89017),"json/JsonData":()=>N(72055),"optimize/ConcatenatedModule":()=>N(95734),DelegatedModule:()=>N(3955),DependenciesBlock:()=>N(32448),DllModule:()=>N(44593),ExternalModule:()=>N(16734),FileSystemInfo:()=>N(22996),InitFragment:()=>N(63272),InvalidDependenciesModuleWarning:()=>N(49619),Module:()=>N(53453),ModuleBuildError:()=>N(26509),ModuleDependencyWarning:()=>N(23280),ModuleError:()=>N(91613),ModuleGraph:()=>N(75412),ModuleParseError:()=>N(14489),ModuleWarning:()=>N(8893),NormalModule:()=>N(53520),RawModule:()=>N(22804),"sharing/ConsumeSharedModule":()=>N(21606),"sharing/ConsumeSharedFallbackDependency":()=>N(86827),"sharing/ProvideSharedModule":()=>N(99114),"sharing/ProvideSharedDependency":()=>N(56049),"sharing/ProvideForSharedDependency":()=>N(31095),UnsupportedFeatureWarning:()=>N(53558),"util/LazySet":()=>N(83379),UnhandledSchemeError:()=>N(77090),NodeStuffInWebError:()=>N(39960),WebpackError:()=>N(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,R,N)=>{"use strict";const{register:$}=N(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,R){E.serialize(R)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const R=new this.Constructor;R.deserialize(E);return R}}E.exports=(E,R,N=null)=>{$(E,R,N,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let R=false;let N=undefined;return()=>{if(R){return N}else{N=E();R=true;E=undefined;return N}}};E.exports=memoize},12631:E=>{"use strict";const R=2147483648;const N=R-1;const $=4;const j=[0,0,0,0,0];const q=[3,7,17,19];E.exports=(E,G)=>{j.fill(0);for(let R=0;R>1}}if(G<=N){let E=0;for(let R=0;R<$;R++){E=(E+j[R])%G}return E}else{let E=0;let q=0;const ie=Math.floor(G/R);for(let R=0;R<$;R+=2){E=E+j[R]&N}for(let E=1;E<$;E+=2){q=(q+j[E])%ie}return(q*R+E)%G}}},2117:E=>{"use strict";const processAsyncTree=(E,R,N,$)=>{const j=Array.from(E);if(j.length===0)return $();let q=0;let G=false;let ie=true;const push=E=>{j.push(E);if(!ie&&q{q--;if(E&&!G){G=true;$(E);return}if(!ie){ie=true;process.nextTick(processQueue)}};const processQueue=()=>{if(G)return;while(q0){q++;const E=j.pop();N(E,push,processorCallback)}ie=false;if(j.length===0&&q===0&&!G){G=true;$()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const R=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const N=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","enum","implements","interface","let","package","private","protected","public","static","yield","yield","await","null","true","false"]);const propertyAccess=(E,$=0)=>{let j="";for(let q=$;q{"use strict";const{register:$}=N(24568);const j=N(14150).Position;const q=N(14150).SourceLocation;const G=N(24672)["default"];const{CachedSource:ie,ConcatSource:ae,OriginalSource:le,PrefixSource:_e,RawSource:Ee,ReplaceSource:we,SourceMapSource:Ie}=N(48135);const Me="webpack/lib/util/registerExternalSerializer";$(ie,Me,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:R,writeLazy:N}){if(N){N(E.originalLazy())}else{R(E.original())}R(E.getCachedData())}deserialize({read:E}){const R=E();const N=E();return new ie(R,N)}});$(Ee,Me,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:R}){R(E.buffer());R(!E.isBuffer())}deserialize({read:E}){const R=E();const N=E();return new Ee(R,N)}});$(ae,Me,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:R}){R(E.getChildren())}deserialize({read:E}){const R=new ae;R.addAllSkipOptimizing(E());return R}});$(_e,Me,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:R}){R(E.getPrefix());R(E.original())}deserialize({read:E}){return new _e(E(),E())}});$(we,Me,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:R}){R(E.original());R(E.getName());const N=E.getReplacements();R(N.length);for(const E of N){R(E.start);R(E.end)}for(const E of N){R(E.content);R(E.name)}}deserialize({read:E}){const R=new we(E(),E());const N=E();const $=[];for(let R=0;R{"use strict";const $=N(16102);R.getEntryRuntime=(E,R,N)=>{let $;let j;if(N){({dependOn:$,runtime:j}=N)}else{const N=E.entries.get(R);if(!N)return R;({dependOn:$,runtime:j}=N.options)}if($){let N=undefined;const j=new Set($);for(const R of j){const $=E.entries.get(R);if(!$)continue;const{dependOn:q,runtime:G}=$.options;if(q){for(const E of q){j.add(E)}}else{N=mergeRuntimeOwned(N,G||R)}}return N||R}else{return j||R}};R.forEachRuntime=(E,R,N=false)=>{if(E===undefined){R(undefined)}else if(typeof E==="string"){R(E)}else{if(N)E.sort();for(const N of E){R(N)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};R.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const R=E.split("\n");if(R.length===1)return R[0];return new $(R)};R.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};R.runtimeToString=runtimeToString;R.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,R)=>{if(E===R){return true}else if(E===undefined||R===undefined||typeof E==="string"||typeof R==="string"){return false}else if(E.size!==R.size){return false}else{E.sort();R.sort();const N=E[Symbol.iterator]();const $=R[Symbol.iterator]();for(;;){const E=N.next();if(E.done)return true;const R=$.next();if(E.value!==R.value)return false}}};R.runtimeEqual=runtimeEqual;R.compareRuntime=(E,R)=>{if(E===R){return 0}else if(E===undefined){return-1}else if(R===undefined){return 1}else{const N=getRuntimeKey(E);const $=getRuntimeKey(R);if(N<$)return-1;if(N>$)return 1;return 0}};const mergeRuntime=(E,R)=>{if(E===undefined){return R}else if(R===undefined){return E}else if(E===R){return E}else if(typeof E==="string"){if(typeof R==="string"){const N=new $;N.add(E);N.add(R);return N}else if(R.has(E)){return R}else{const N=new $(R);N.add(E);return N}}else{if(typeof R==="string"){if(E.has(R))return E;const N=new $(E);N.add(R);return N}else{const N=new $(E);for(const E of R)N.add(E);if(N.size===E.size)return E;return N}}};R.mergeRuntime=mergeRuntime;R.mergeRuntimeCondition=(E,R,N)=>{if(E===false)return R;if(R===false)return E;if(E===true||R===true)return true;const $=mergeRuntime(E,R);if($===undefined)return undefined;if(typeof $==="string"){if(typeof N==="string"&&$===N)return true;return $}if(typeof N==="string"||N===undefined)return $;if($.size===N.size)return true;return $};R.mergeRuntimeConditionNonFalse=(E,R,N)=>{if(E===true||R===true)return true;const $=mergeRuntime(E,R);if($===undefined)return undefined;if(typeof $==="string"){if(typeof N==="string"&&$===N)return true;return $}if(typeof N==="string"||N===undefined)return $;if($.size===N.size)return true;return $};const mergeRuntimeOwned=(E,R)=>{if(R===undefined){return E}else if(E===R){return E}else if(E===undefined){if(typeof R==="string"){return R}else{return new $(R)}}else if(typeof E==="string"){if(typeof R==="string"){const N=new $;N.add(E);N.add(R);return N}else{const N=new $(R);N.add(E);return N}}else{if(typeof R==="string"){E.add(R);return E}else{for(const N of R)E.add(N);return E}}};R.mergeRuntimeOwned=mergeRuntimeOwned;R.intersectRuntime=(E,R)=>{if(E===undefined){return R}else if(R===undefined){return E}else if(E===R){return E}else if(typeof E==="string"){if(typeof R==="string"){return undefined}else if(R.has(E)){return E}else{return undefined}}else{if(typeof R==="string"){if(E.has(R))return R;return undefined}else{const N=new $;for(const $ of R){if(E.has($))N.add($)}if(N.size===0)return undefined;if(N.size===1)for(const E of N)return E;return N}}};const subtractRuntime=(E,R)=>{if(E===undefined){return undefined}else if(R===undefined){return E}else if(E===R){return undefined}else if(typeof E==="string"){if(typeof R==="string"){return E}else if(R.has(E)){return undefined}else{return E}}else{if(typeof R==="string"){if(!E.has(R))return E;if(E.size===2){for(const N of E){if(N!==R)return N}}const N=new $(E);N.delete(R)}else{const N=new $;for(const $ of E){if(!R.has($))N.add($)}if(N.size===0)return undefined;if(N.size===1)for(const E of N)return E;return N}}};R.subtractRuntime=subtractRuntime;R.subtractRuntimeCondition=(E,R,N)=>{if(R===true)return false;if(R===false)return E;if(E===false)return false;const $=subtractRuntime(E===true?N:E,R);return $===undefined?false:$};R.filterRuntime=(E,R)=>{if(E===undefined)return R(undefined);if(typeof E==="string")return R(E);let N=false;let $=true;let j=undefined;for(const q of E){const E=R(q);if(E){N=true;j=mergeRuntimeOwned(j,q)}else{$=false}}if(!N)return false;if($)return true;return j};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,R){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=R;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=R;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),R)}}provide(E,R){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=R();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const N=R();this._map.set(getRuntimeKey(E),N);return N}default:{const N=getRuntimeKey(E);const $=this._map.get(N);if($!==undefined)return $;const j=R();this._map.set(N,j);return j}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,R){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=R(this._singleValue);break}const N=R(undefined);if(N!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),N)}break}default:{const N=getRuntimeKey(E);const $=this._map.get(N);const j=R($);if(j!==$)this._map.set(N,j)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}R.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const R of E){this.add(R)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}R.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,R){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var R=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var N=R[1]?splitAndConvert(R[1]):[];if(R[2]){N.length++;N.push.apply(N,splitAndConvert(R[2]))}if(R[3]){N.push([]);N.push.apply(N,splitAndConvert(R[3]))}return N};R.parseVersion=parseVersion;const versionLt=(E,R)=>{E=parseVersion(E);R=parseVersion(R);var N=0;for(;;){if(N>=E.length)return N=R.length)return j=="u";var q=R[N];var G=(typeof q)[0];if(j==G){if(j!="o"&&j!="u"&&$!=q){return ${const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const R=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const N=R[1]?[0,...splitAndConvert(R[1])]:[0];if(R[2]){N.length++;N.push.apply(N,splitAndConvert(R[2]))}let $=N[N.length-1];while(N.length&&($===undefined||/^[*xX]$/.test($))){N.pop();$=N[N.length-1]}return N};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const R=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const N=R?R[0]:"";const $=parsePartial(E.slice(N.length));switch(N){case"^":if($.length>1&&$[1]===0){if($.length>2&&$[2]===0){return[3,...$.slice(1)]}return[2,...$.slice(1)]}return[1,...$.slice(1)];case"~":return[2,...$.slice(1)];case">=":return $;case"=":case"v":case"":return toFixed($);case"<":return negate($);case">":{const E=toFixed($);return[,E,0,$,2]}case"<=":return[,toFixed($),negate($),1];case"!":{const E=toFixed($);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,R)=>{if(E.length===1)return E[0];const N=[];for(const R of E.slice().reverse()){if(0 in R){N.push(R)}else{N.push(...R.slice(1))}}return[,...N,...E.slice(1).map((()=>R))]};const parseRange=E=>{const R=E.split(" - ");if(R.length===1){const R=E.trim().split(/\s+/g).map(parseSimple);return combine(R,2)}const N=parsePartial(R[0]);const $=parsePartial(R[1]);return[,toFixed($),negate($),1,N,2]};const parseLogicalOr=E=>{const R=E.split(/\s*\|\|\s*/).map(parseRange);return combine(R,1)};return parseLogicalOr(E)};const rangeToString=E=>{var R=E[0];var N="";if(E.length===1){return"*"}else if(R+.5){N+=R==0?">=":R==-1?"<":R==1?"^":R==2?"~":R>0?"=":"!=";var $=1;for(var j=1;j0?".":"")+($=2,q)}return N}else{var ie=[];for(var j=1;j{if(0 in E){R=parseVersion(R);var N=E[0];var $=N<0;if($)N=-N-1;for(var j=0,q=1,G=true;;q++,j++){var ie=q=R.length||(ae=R[j],(le=(typeof ae)[0])=="o")){if(!G)return true;if(ie=="u")return q>N&&!$;return ie==""!=$}if(le=="u"){if(!G||ie!="u"){return false}}else if(G){if(ie==le){if(q<=N){if(ae!=E[q]){return false}}else{if($?ae>E[q]:ae{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let R="[";for(let N=0;N`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;R.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const $=N(91671);const j=$((()=>N(88692)));const q=$((()=>N(30991)));const G=$((()=>N(79308)));const ie=$((()=>N(15261)));const ae=$((()=>N(43065)));const le=$((()=>new(j())));const _e=$((()=>{N(48077);const E=N(90331);q().registerLoader(/^webpack\/lib\//,(R=>{const N=E[R.slice("webpack/lib/".length)];if(N){N()}else{console.warn(`${R} not found in internalSerializables`)}return true}))}));let Ee;E.exports={get register(){return q().register},get registerLoader(){return q().registerLoader},get registerNotSerializable(){return q().registerNotSerializable},get NOT_SERIALIZABLE(){return q().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return j().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return j().MEASURE_END_OPERATION},get buffersSerializer(){if(Ee!==undefined)return Ee;_e();const E=ie();const R=le();const N=ae();const $=G();return Ee=new E([new $,new(q())((E=>{if(E.write){E.writeLazy=$=>{E.write(N.createLazy($,R))}}}),"md4"),R])},createFileSerializer:(E,R)=>{_e();const $=ie();const j=N(13829);const Ee=new j(E,R);const we=le();const Ie=ae();const Me=G();return new $([new Me,new(q())((E=>{if(E.write){E.writeLazy=R=>{E.write(Ie.createLazy(R,we))};E.writeSeparate=(R,N)=>{const $=Ie.createLazy(R,Ee,N);E.write($);return $}}}),R),we,Ee])}}},93695:E=>{"use strict";const smartGrouping=(E,R)=>{const N=new Set;const $=new Map;for(const j of E){const E=new Set;for(let N=0;N{const R=E.size;for(const R of E){for(const E of R.groups){if(E.alreadyGrouped)continue;const N=E.items;if(N===undefined){E.items=new Set([R])}else{N.add(R)}}}const N=new Map;for(const E of $.values()){if(E.items){const R=E.items;E.items=undefined;N.set(E,{items:R,options:undefined,used:false})}}const j=[];for(;;){let $=undefined;let q=-1;let G=undefined;let ie=undefined;for(const[j,ae]of N){const{items:N,used:le}=ae;let _e=ae.options;if(_e===undefined){const E=j.config;ae.options=_e=E.getOptions&&E.getOptions(j.name,Array.from(N,(({item:E})=>E)))||false}const Ee=_e&&_e.force;if(!Ee){if(ie&&ie.force)continue;if(le)continue;if(N.size<=1||R-N.size<=1){continue}}const we=_e&&_e.targetGroupCount||4;let Ie=Ee?N.size:Math.min(N.size,R*2/we+E.size-N.size);if(Ie>q||Ee&&(!ie||!ie.force)){$=j;q=Ie;G=N;ie=_e}}if($===undefined){break}const ae=new Set(G);const le=ie;const _e=!le||le.groupChildren!==false;for(const R of ae){E.delete(R);for(const E of R.groups){const $=N.get(E);if($!==undefined){$.items.delete(R);if($.items.size===0){N.delete(E)}else{$.options=undefined;if(_e){$.used=true}}}}}N.delete($);const Ee=$.name;const we=$.config;const Ie=Array.from(ae,(({item:E})=>E));$.alreadyGrouped=true;const Me=_e?runGrouping(ae):Ie;$.alreadyGrouped=false;j.push(we.createGroup(Ee,Me,Ie))}for(const{item:R}of E){j.push(R)}return j};return runGrouping(N)};E.exports=smartGrouping},13559:(E,R)=>{"use strict";const N=new WeakMap;const _isSourceEqual=(E,R)=>{let N=typeof E.buffer==="function"?E.buffer():E.source();let $=typeof R.buffer==="function"?R.buffer():R.source();if(N===$)return true;if(typeof N==="string"&&typeof $==="string")return false;if(!Buffer.isBuffer(N))N=Buffer.from(N,"utf-8");if(!Buffer.isBuffer($))$=Buffer.from($,"utf-8");return N.equals($)};const isSourceEqual=(E,R)=>{if(E===R)return true;const $=N.get(E);if($!==undefined){const E=$.get(R);if(E!==undefined)return E}const j=_isSourceEqual(E,R);if($!==undefined){$.set(R,j)}else{const $=new WeakMap;$.set(R,j);N.set(E,$)}const q=N.get(R);if(q!==undefined){q.set(E,j)}else{const $=new WeakMap;$.set(E,j);N.set(R,$)}return j};R.isSourceEqual=isSourceEqual},33316:(E,R,N)=>{"use strict";const{validate:$}=N(15235);const j={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const q={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,R,N)=>{$(E,R,N||{name:"Webpack",postFormatter:(E,R)=>{const N=R.children;if(N&&N.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(N&&N.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(R.keyword==="additionalProperties"){const N=R.params;if(Object.prototype.hasOwnProperty.call(j,N.additionalProperty)){return`${E}\nDid you mean ${j[N.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(q,N.additionalProperty)){return`${E}\n${q[N.additionalProperty]}?`}if(!R.dataPath){if(N.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(N.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${N.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},34943:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class AsyncWasmLoadingRuntimeModule extends j{constructor({generateLoadBinaryCode:E,supportsStreaming:R}){super("wasm loading",j.STAGE_NORMAL);this.generateLoadBinaryCode=E;this.supportsStreaming=R}generate(){const{compilation:E,chunk:R}=this;const{outputOptions:N,runtimeTemplate:j}=E;const G=$.instantiateWasm;const ie=E.getPath(JSON.stringify(N.webassemblyModuleFilename),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:R.runtime});return`${G} = ${j.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ie)};`,this.supportsStreaming?q.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",q.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",q.indent([`.then(${j.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",q.indent([`.then(${j.returningFunction("x.arrayBuffer()","x")})`,`.then(${j.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${j.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmLoadingRuntimeModule},10136:(E,R,N)=>{"use strict";const $=N(36253);const j=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends ${constructor(E){super();this.options=E}getTypes(E){return j}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()}generate(E,R){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(36253);const q=N(63272);const G=N(76150);const ie=N(58159);const ae=N(33081);const le=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends j{constructor(E){super();this.filenameTemplate=E}getTypes(E){return le}getSize(E,R){return 40+E.dependencies.length*10}generate(E,R){const{runtimeTemplate:N,chunkGraph:j,moduleGraph:le,runtimeRequirements:_e,runtime:Ee}=R;_e.add(G.module);_e.add(G.moduleId);_e.add(G.exports);_e.add(G.instantiateWasm);const we=[];const Ie=new Map;const Me=new Map;for(const R of E.dependencies){if(R instanceof ae){const E=le.getModule(R);if(!Ie.has(E)){Ie.set(E,{request:R.request,importVar:`WEBPACK_IMPORTED_MODULE_${Ie.size}`})}let N=Me.get(R.request);if(N===undefined){N=[];Me.set(R.request,N)}N.push(R)}}const Te=[];const Ne=Array.from(Ie,(([R,{request:$,importVar:q}])=>{if(le.isAsync(R)){Te.push(q)}return N.importStatement({update:false,module:R,chunkGraph:j,request:$,originModule:E,importVar:q,runtimeRequirements:_e})}));const Be=Ne.map((([E])=>E)).join("");const Le=Ne.map((([E,R])=>R)).join("");const je=Array.from(Me,(([R,$])=>{const j=$.map(($=>{const j=le.getModule($);const q=Ie.get(j).importVar;return`${JSON.stringify($.name)}: ${N.exportFromImport({moduleGraph:le,module:j,request:R,exportName:$.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:q,initFragments:we,runtime:Ee,runtimeRequirements:_e})}`}));return ie.asString([`${JSON.stringify(R)}: {`,ie.indent(j.join(",\n")),"}"])}));const ze=je.length>0?ie.asString(["{",ie.indent(je.join(",\n")),"}"]):undefined;const Ue=`${G.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify(j.getRenderedModuleHash(E,Ee))}`+(ze?`, ${ze})`:`)`);if(Te.length>0)_e.add(G.asyncModule);const qe=new $(Te.length>0?ie.asString([`var __webpack_instantiate__ = ${N.basicFunction(`[${Te.join(", ")}]`,`${Le}return ${Ue};`)}`,`${G.asyncModule}(${E.moduleArgument}, ${N.basicFunction("__webpack_handle_async_dependencies__",[Be,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Te.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Be}${Le}module.exports = ${Ue};`);return q.addToSource(qe,we,R)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(36253);const{tryRunOrWebpackError:G}=N(3728);const ie=N(33081);const{compareModulesByIdentifier:ae}=N(68673);const le=N(91671);const _e=le((()=>N(10136)));const Ee=le((()=>N(75462)));const we=le((()=>N(96263)));const Ie=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ie.get(E);if(R===undefined){R={renderModuleContent:new $(["source","module","renderContext"])};Ie.set(E,R)}return R}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:R})=>{const N=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ie,R);R.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=we();return new E}));R.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const R=Ee();const N=_e();return q.byType({javascript:new R(E.outputOptions.webassemblyModuleFilename),webassembly:new N(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((R,$)=>{const{moduleGraph:j,chunkGraph:q,runtimeTemplate:G}=E;const{chunk:ie,outputOptions:le,dependencyTemplates:_e,codeGenerationResults:Ee}=$;for(const E of q.getOrderedChunkModulesIterable(ie,ae)){if(E.type==="webassembly/async"){const $=le.webassemblyModuleFilename;R.push({render:()=>this.renderModule(E,{chunk:ie,dependencyTemplates:_e,runtimeTemplate:G,moduleGraph:j,chunkGraph:q,codeGenerationResults:Ee},N),filenameTemplate:$,pathOptions:{module:E,runtime:ie.runtime,chunkGraph:q},auxiliary:true,identifier:`webassemblyAsyncModule${q.getModuleId(E)}`,hash:q.getModuleHash(E,ie.runtime)})}}return R}))}))}renderModule(E,R,N){const{codeGenerationResults:$,chunk:j}=R;try{const q=$.getSource(E,j.runtime,"webassembly");return G((()=>N.renderModuleContent.call(q,E,R)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(R){R.module=E;throw R}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,R,N)=>{"use strict";const $=N(98093);const{decode:j}=N(73432);const q=N(2172);const G=N(96076);const ie=N(33081);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,R){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="namespace";R.module.buildMeta.async=true;const N=j(E,ae);const q=N.body[0];const le=[];$.traverse(q,{ModuleExport({node:E}){le.push(E.name)},ModuleImport({node:E}){const N=new ie(E.module,E.name,E.descr,false);R.module.addDependency(N)}});R.module.addDependency(new G(le,false));return R}}E.exports=WebAssemblyParser},59422:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends ${constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{compareModulesByIdentifier:G}=N(68673);const ie=N(20612);const getAllWasmModules=(E,R,N)=>{const $=N.getAllAsyncChunks();const j=[];for(const E of $){for(const N of R.getOrderedChunkModulesIterable(E,G)){if(N.type.startsWith("webassembly")){j.push(N)}}}return j};const generateImportObject=(E,R,N,j,G)=>{const ae=E.moduleGraph;const le=new Map;const _e=[];const Ee=ie.getUsedDependencies(ae,R,N);for(const R of Ee){const N=R.dependency;const ie=ae.getModule(N);const Ee=N.name;const we=ie&&ae.getExportsInfo(ie).getUsedName(Ee,G);const Ie=N.description;const Me=N.onlyDirectImport;const Te=R.module;const Ne=R.name;if(Me){const R=`m${le.size}`;le.set(R,E.getModuleId(ie));_e.push({module:Te,name:Ne,value:`${R}[${JSON.stringify(we)}]`})}else{const R=Ie.signature.params.map(((E,R)=>"p"+R+E.valtype));const N=`${$.moduleCache}[${JSON.stringify(E.getModuleId(ie))}]`;const G=`${N}.exports`;const ae=`wasmImportedFuncCache${j.length}`;j.push(`var ${ae};`);_e.push({module:Te,name:Ne,value:q.asString([(ie.type.startsWith("webassembly")?`${N} ? ${G}[${JSON.stringify(we)}] : `:"")+`function(${R}) {`,q.indent([`if(${ae} === undefined) ${ae} = ${G};`,`return ${ae}[${JSON.stringify(we)}](${R});`]),"}"])})}}let we;if(N){we=["return {",q.indent([_e.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const R of _e){let N=E.get(R.module);if(N===undefined){E.set(R.module,N=[])}N.push(R)}we=["return {",q.indent([Array.from(E,(([E,R])=>q.asString([`${JSON.stringify(E)}: {`,q.indent([R.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Ie=JSON.stringify(E.getModuleId(R));if(le.size===1){const E=Array.from(le.values())[0];const R=`installedWasmModules[${JSON.stringify(E)}]`;const N=Array.from(le.keys())[0];return q.asString([`${Ie}: function() {`,q.indent([`return promiseResolve().then(function() { return ${R}; }).then(function(${N}) {`,q.indent(we),"});"]),"},"])}else if(le.size>0){const E=Array.from(le.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const R=Array.from(le.keys(),((E,R)=>`${E} = array[${R}]`)).join(", ");return q.asString([`${Ie}: function() {`,q.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,q.indent([`var ${R};`,...we]),"});"]),"},"])}else{return q.asString([`${Ie}: function() {`,q.indent(we),"},"])}};class WasmChunkLoadingRuntimeModule extends j{constructor({generateLoadBinaryCode:E,supportsStreaming:R,mangleImports:N,runtimeRequirements:$}){super("wasm chunk loading",j.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=R;this.mangleImports=N;this._runtimeRequirements=$}generate(){const{chunkGraph:E,compilation:R,chunk:N,mangleImports:j}=this;const{moduleGraph:G,outputOptions:ae}=R;const le=$.ensureChunkHandlers;const _e=this._runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Ee=getAllWasmModules(G,E,N);const we=[];const Ie=Ee.map((R=>generateImportObject(E,R,this.mangleImports,we,N.runtime)));const Me=E.getChunkModuleIdMap(N,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>j?`{ ${JSON.stringify(ie.MANGLED_MODULE)}: ${E} }`:E;const Te=R.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(N,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(R){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(N,(E=>E.type.startsWith("webassembly")),R))}[chunkId][wasmModuleId] + "`}},runtime:N.runtime});const Ne=_e?`${$.hmrRuntimeStatePrefix}_wasm`:undefined;return q.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Ne?`${Ne} = ${Ne} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",q.asString(we),"var wasmImportObjects = {",q.indent(Ie),"};","",`var wasmModuleMap = ${JSON.stringify(Me,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${$.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${le}.wasm = function(chunkId, promises) {`,q.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",q.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",q.indent(["promises.push(installedWasmModuleData);"]),"else {",q.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Te)};`,"var promise;",this.supportsStreaming?q.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",q.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",q.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):q.asString(["if(importObject && typeof importObject.then === 'function') {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",q.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",q.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",q.indent([`return ${$.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,R,N)=>{"use strict";const $=N(72380);const j=N(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(R=>{for(const N of R){if(N.type.startsWith("webassembly")===true){const R=N.buildMeta.jsIncompatibleExports;if(R===undefined){continue}for(const q of E.moduleGraph.getIncomingConnections(N)){if(q.isTargetActive(undefined)&&q.originModule.type.startsWith("webassembly")===false){const G=E.getDependencyReferencedExports(q.dependency,undefined);for(const ie of G){const G=Array.isArray(ie)?ie:ie.name;if(G.length===0)continue;const ae=G[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(R,ae)){const G=new j(`Export "${ae}" with ${R[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${q.originModule.readableIdentifier(E.requestShortener)} at ${$(q.dependency.loc)}.`);G.module=N;E.errors.push(G)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(36253);const q=N(20612);const G=N(98093);const{moduleContextFromModuleAST:ie}=N(98093);const{editWithAST:ae,addWithAST:le}=N(226);const{decode:_e}=N(73432);const Ee=N(30697);const compose=(...E)=>E.reduce(((E,R)=>N=>R(E(N))),(E=>E));const removeStartFunc=E=>R=>ae(E.ast,R,{Start(E){E.remove()}});const getImportedGlobals=E=>{const R=[];G.traverse(E,{ModuleImport({node:E}){if(G.isGlobalType(E.descr)){R.push(E)}}});return R};const getCountImportedFunc=E=>{let R=0;G.traverse(E,{ModuleImport({node:E}){if(G.isFuncImportDescr(E.descr)){R++}}});return R};const getNextTypeIndex=E=>{const R=G.getSectionMetadata(E,"type");if(R===undefined){return G.indexLiteral(0)}return G.indexLiteral(R.vectorOfSize.value)};const getNextFuncIndex=(E,R)=>{const N=G.getSectionMetadata(E,"func");if(N===undefined){return G.indexLiteral(0+R)}const $=N.vectorOfSize.value;return G.indexLiteral($+R)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return G.objectInstruction("const",E.valtype,[G.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return G.objectInstruction("const",E.valtype,[G.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>R=>{const N=E.additionalInitCode;const $=[];R=ae(E.ast,R,{ModuleImport(E){if(G.isGlobalType(E.node.descr)){const R=E.node.descr;R.mutability="var";const N=[createDefaultInitForGlobal(R),G.instruction("end")];$.push(G.global(R,N));E.remove()}},Global(E){const{node:R}=E;const[j]=R.init;if(j.id==="get_global"){R.globalType.mutability="var";const E=j.args[0];R.init=[createDefaultInitForGlobal(R.globalType),G.instruction("end")];N.push(G.instruction("get_local",[E]),G.instruction("set_global",[G.indexLiteral($.length)]))}$.push(R);E.remove()}});return le(E.ast,R,$)};const rewriteExportNames=({ast:E,moduleGraph:R,module:N,externalExports:$,runtime:j})=>q=>ae(E,q,{ModuleExport(E){const q=$.has(E.node.name);if(q){E.remove();return}const G=R.getExportsInfo(N).getUsedName(E.node.name,j);if(!G){E.remove();return}E.node.name=G}});const rewriteImports=({ast:E,usedDependencyMap:R})=>N=>ae(E,N,{ModuleImport(E){const N=R.get(E.node.module+":"+E.node.name);if(N!==undefined){E.node.module=N.module;E.node.name=N.name}}});const addInitFunction=({ast:E,initFuncId:R,startAtFuncOffset:N,importedGlobals:$,additionalInitCode:j,nextFuncIndex:q,nextTypeIndex:ie})=>ae=>{const _e=$.map((E=>{const R=G.identifier(`${E.module}.${E.name}`);return G.funcParam(E.descr.valtype,R)}));const Ee=[];$.forEach(((E,R)=>{const N=[G.indexLiteral(R)];const $=[G.instruction("get_local",N),G.instruction("set_global",N)];Ee.push(...$)}));if(typeof N==="number"){Ee.push(G.callInstruction(G.numberLiteralFromRaw(N)))}for(const E of j){Ee.push(E)}Ee.push(G.instruction("end"));const we=[];const Ie=G.signature(_e,we);const Me=G.func(R,Ie,Ee);const Te=G.typeInstruction(undefined,Ie);const Ne=G.indexInFuncSection(ie);const Be=G.moduleExport(R.value,G.moduleExportDescr("Func",q));return le(E,ae,[Me,Be,Ne,Te])};const getUsedDependencyMap=(E,R,N)=>{const $=new Map;for(const j of q.getUsedDependencies(E,R,N)){const E=j.dependency;const R=E.request;const N=E.name;$.set(R+":"+N,j)}return $};const we=new Set(["webassembly"]);class WebAssemblyGenerator extends j{constructor(E){super();this.options=E}getTypes(E){return we}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()}generate(E,{moduleGraph:R,runtime:N}){const j=E.originalSource().source();const q=G.identifier("");const ae=_e(j,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const le=ie(ae.body[0]);const we=getImportedGlobals(ae);const Ie=getCountImportedFunc(ae);const Me=le.getStart();const Te=getNextFuncIndex(ae,Ie);const Ne=getNextTypeIndex(ae);const Be=getUsedDependencyMap(R,E,this.options.mangleImports);const Le=new Set(E.dependencies.filter((E=>E instanceof Ee)).map((E=>{const R=E;return R.exportName})));const je=[];const ze=compose(rewriteExportNames({ast:ae,moduleGraph:R,module:E,externalExports:Le,runtime:N}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:je}),rewriteImports({ast:ae,usedDependencyMap:Be}),addInitFunction({ast:ae,initFuncId:q,importedGlobals:we,additionalInitCode:je,startAtFuncOffset:Me,nextFuncIndex:Te,nextTypeIndex:Ne}));const Ue=ze(j);const qe=Buffer.from(Ue);return new $(qe)}}E.exports=WebAssemblyGenerator},74167:(E,R,N)=>{"use strict";const $=N(81627);const getInitialModuleChains=(E,R,N,$)=>{const j=[{head:E,message:E.readableIdentifier($)}];const q=new Set;const G=new Set;const ie=new Set;for(const E of j){const{head:ae,message:le}=E;let _e=true;const Ee=new Set;for(const E of R.getIncomingConnections(ae)){const R=E.originModule;if(R){if(!N.getModuleChunks(R).some((E=>E.canBeInitial())))continue;_e=false;if(Ee.has(R))continue;Ee.add(R);const q=R.readableIdentifier($);const ae=E.explanation?` (${E.explanation})`:"";const we=`${q}${ae} --\x3e ${le}`;if(ie.has(R)){G.add(`... --\x3e ${we}`);continue}ie.add(R);j.push({head:R,message:we})}else{_e=false;const R=E.explanation?`(${E.explanation}) --\x3e ${le}`:le;q.add(R)}}if(_e){q.add(le)}}for(const E of G){q.add(E)}return Array.from(q)};E.exports=class WebAssemblyInInitialChunkError extends ${constructor(E,R,N,$){const j=getInitialModuleChains(E,R,N,$);const q=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${j.map((E=>`* ${E}`)).join("\n")}`;super(q);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(36253);const G=N(63272);const ie=N(76150);const ae=N(58159);const le=N(79983);const _e=N(30697);const Ee=N(33081);const we=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends q{getTypes(E){return we}getSize(E,R){return 95+E.dependencies.length*5}generate(E,R){const{runtimeTemplate:N,moduleGraph:q,chunkGraph:we,runtimeRequirements:Ie,runtime:Me}=R;const Te=[];const Ne=q.getExportsInfo(E);let Be=false;const Le=new Map;const je=[];let ze=0;for(const R of E.dependencies){const $=R&&R instanceof le?R:undefined;if(q.getModule(R)){let j=Le.get(q.getModule(R));if(j===undefined){Le.set(q.getModule(R),j={importVar:`m${ze}`,index:ze,request:$&&$.userRequest||undefined,names:new Set,reexports:[]});ze++}if(R instanceof Ee){j.names.add(R.name);if(R.description.type==="GlobalType"){const $=R.name;const G=q.getModule(R);if(G){const ie=q.getExportsInfo(G).getUsedName($,Me);if(ie){je.push(N.exportFromImport({moduleGraph:q,module:G,request:R.request,importVar:j.importVar,originModule:E,exportName:R.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Te,runtime:Me,runtimeRequirements:Ie}))}}}}if(R instanceof _e){j.names.add(R.name);const $=q.getExportsInfo(E).getUsedName(R.exportName,Me);if($){Ie.add(ie.exports);const G=`${E.exportsArgument}[${JSON.stringify($)}]`;const le=ae.asString([`${G} = ${N.exportFromImport({moduleGraph:q,module:q.getModule(R),request:R.request,importVar:j.importVar,originModule:E,exportName:R.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Te,runtime:Me,runtimeRequirements:Ie})};`,`if(WebAssembly.Global) ${G} = `+`new WebAssembly.Global({ value: ${JSON.stringify(R.valueType)} }, ${G});`]);j.reexports.push(le);Be=true}}}}const Ue=ae.asString(Array.from(Le,(([E,{importVar:R,request:$,reexports:j}])=>{const q=N.importStatement({module:E,chunkGraph:we,request:$,importVar:R,originModule:E,runtimeRequirements:Ie});return q[0]+q[1]+j.join("\n")})));const qe=Ne.otherExportsInfo.getUsed(Me)===j.Unused&&!Be;Ie.add(ie.module);Ie.add(ie.moduleId);Ie.add(ie.wasmInstances);if(Ne.otherExportsInfo.getUsed(Me)!==j.Unused){Ie.add(ie.makeNamespaceObject);Ie.add(ie.exports)}if(!qe){Ie.add(ie.exports)}const Ge=new $(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ie.wasmInstances}[${E.moduleArgument}.id];`,Ne.otherExportsInfo.getUsed(Me)!==j.Unused?`${ie.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",qe?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${je.join(", ")})`].join("\n"));return G.addToSource(Ge,Te,R)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,R,N)=>{"use strict";const $=N(36253);const j=N(30697);const q=N(33081);const{compareModulesByIdentifier:G}=N(68673);const ie=N(91671);const ae=N(74167);const le=ie((()=>N(56419)));const _e=ie((()=>N(59363)));const Ee=ie((()=>N(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyFactories.set(j,R);R.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=Ee();return new E}));R.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();const R=le();return $.byType({javascript:new E,webassembly:new R(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((R,N)=>{const{chunkGraph:$}=E;const{chunk:j,outputOptions:q,codeGenerationResults:ie}=N;for(const E of $.getOrderedChunkModulesIterable(j,G)){if(E.type==="webassembly/sync"){const N=q.webassemblyModuleFilename;R.push({render:()=>ie.getSource(E,j.runtime,"webassembly"),filenameTemplate:N,pathOptions:{module:E,runtime:j.runtime,chunkGraph:$},auxiliary:true,identifier:`webassemblyModule${$.getModuleId(E)}`,hash:$.getModuleHash(E,j.runtime)})}}return R}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const R=E.chunkGraph;const N=new Set;for(const $ of E.chunks){if($.canBeInitial()){for(const E of R.getChunkModulesIterable($)){if(E.type==="webassembly/sync"){N.add(E)}}}}for(const R of N){E.errors.push(new ae(R,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,R,N)=>{"use strict";const $=N(98093);const{moduleContextFromModuleAST:j}=N(98093);const{decode:q}=N(73432);const G=N(2172);const ie=N(96076);const ae=N(30697);const le=N(33081);const _e=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const R of E.params){if(!_e.has(R.valtype)){return`${R.valtype} as parameter`}}for(const R of E.results){if(!_e.has(R))return`${R} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const R of E.args){if(!_e.has(R)){return`${R} as parameter`}}for(const R of E.result){if(!_e.has(R))return`${R} as result`}return null};const Ee={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends G{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,R){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="namespace";const N=q(E,Ee);const G=N.body[0];const we=j(G);const Ie=[];let Me=R.module.buildMeta.jsIncompatibleExports=undefined;const Te=[];$.traverse(G,{ModuleExport({node:E}){const N=E.descr;if(N.exportType==="Func"){const $=N.id.value;const j=we.getFunction($);const q=getJsIncompatibleTypeOfFuncSignature(j);if(q){if(Me===undefined){Me=R.module.buildMeta.jsIncompatibleExports={}}Me[E.name]=q}}Ie.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const N=Te[E.descr.id.value];if(N){const $=new ae(E.name,N.module,N.name,N.descr.valtype);R.module.addDependency($)}}},Global({node:E}){const R=E.init[0];let N=null;if(R.id==="get_global"){const E=R.args[0].value;if(E{"use strict";const $=N(58159);const j=N(33081);const q="a";const getUsedDependencies=(E,R,N)=>{const G=[];let ie=0;for(const ae of R.dependencies){if(ae instanceof j){if(ae.description.type==="GlobalType"||E.getModule(ae)===null){continue}const R=ae.name;if(N){G.push({dependency:ae,name:$.numberToIdentifier(ie++),module:q})}else{G.push({dependency:ae,name:R,module:ae.request})}}}return G};R.getUsedDependencies=getUsedDependencies;R.MANGLED_MODULE=q},69085:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Library type "${R}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){switch(R){case"fetch":{const R=N(71100);const $=N(52687);new R({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new $).apply(E);break}case"async-node":{const $=N(71049);const j=N(21273);new $({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new j({type:R}).apply(E);break}case"async-node-module":{const $=N(21273);new $({type:R,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${R}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,R,N)=>{"use strict";const $=N(76150);const j=N(34943);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="fetch"};const generateLoadBinaryCode=E=>`fetch(${$.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for($.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(R,(E=>E.type==="webassembly/async"))){return}N.add($.publicPath);E.addRuntimeModule(R,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,R,N)=>{"use strict";const $=N(76150);const j=N(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="fetch"};const generateLoadBinaryCode=E=>`fetch(${$.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(R,(E=>E.type==="webassembly/sync"))){return}N.add($.moduleCache);N.add($.publicPath);E.addRuntimeModule(R,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:N}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,R,N)=>{"use strict";const $=N(76150);const j=N(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $==="jsonp"};const N=new WeakSet;const handler=(R,q)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;q.add($.moduleFactoriesAddOnly);q.add($.hasOwnProperty);E.addRuntimeModule(R,new j(q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.loadScript);R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.loadScript);R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(66804);const ie=N(58159);const ae=N(18161).chunkHasJs;const{getInitialChunkIds:le}=N(13085);const _e=N(87274);const Ee=new WeakMap;class JsonpChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ee.get(E);if(R===undefined){R={linkPreload:new $(["source","chunk"]),linkPrefetch:new $(["source","chunk"])};Ee.set(E,R)}return R}constructor(E){super("jsonp chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:R,chunk:$}=this;const{runtimeTemplate:j,outputOptions:{globalObject:G,chunkLoadingGlobal:Ee,hotUpdateGlobal:we,crossOriginLoading:Ie,scriptType:Me}}=R;const{linkPreload:Te,linkPrefetch:Ne}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(R);const Be=q.ensureChunkHandlers;const Le=this._runtimeRequirements.has(q.baseURI);const je=this._runtimeRequirements.has(q.ensureChunkHandlers);const ze=this._runtimeRequirements.has(q.chunkCallback);const Ue=this._runtimeRequirements.has(q.onChunksLoaded);const qe=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const Ge=this._runtimeRequirements.has(q.hmrDownloadManifest);const He=this._runtimeRequirements.has(q.prefetchChunkHandlers);const We=this._runtimeRequirements.has(q.preloadChunkHandlers);const Ve=`${G}[${JSON.stringify(Ee)}]`;const Ke=E.getChunkConditionMap($,ae);const Qe=_e(Ke);const Je=le($,E);const Xe=qe?`${q.hmrRuntimeStatePrefix}_jsonp`:undefined;return ie.asString([Le?ie.asString([`${q.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Xe?`${Xe} = ${Xe} || `:""}{`,ie.indent(Array.from(Je,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",je?ie.asString([`${Be}.j = ${j.basicFunction("chunkId, promises",Qe!==false?ie.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[2]);"]),"} else {",ie.indent([Qe===true?"if(true) { // all chunks have JS":`if(${Qe("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = new Promise(${j.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${j.basicFunction("event",[`if(${q.hasOwnProperty}(installedChunks, chunkId)) {`,ie.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ie.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${q.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",He&&Qe!==false?`${q.prefetchChunkHandlers}.j = ${j.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Qe===true?"true":Qe("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ne.call(ie.asString(["var link = document.createElement('link');",Ie?`link.crossOrigin = ${JSON.stringify(Ie)};`:"",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`]),$),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",We&&Qe!==false?`${q.preloadChunkHandlers}.j = ${j.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Qe===true?"true":Qe("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Te.call(ie.asString(["var link = document.createElement('link');",Me?`link.type = ${JSON.stringify(Me)};`:"","link.charset = 'utf-8';",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,Ie?ie.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ie.indent(`link.crossOrigin = ${JSON.stringify(Ie)};`),"}"]):""]),$),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",qe?ie.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ie.indent([`return new Promise(${j.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${q.publicPath} + ${q.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${j.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${q.loadScript}(url, loadingEnded);`])});`]),"}","",`${G}[${JSON.stringify(we)}] = ${j.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ie.getFunctionContent(N(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,q.moduleCache).replace(/\$moduleFactories\$/g,q.moduleFactories).replace(/\$ensureChunkHandlers\$/g,q.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,q.hasOwnProperty).replace(/\$hmrModuleData\$/g,q.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,q.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,q.hmrInvalidateModuleHandlers)]):"// no HMR","",Ge?ie.asString([`${q.hmrDownloadManifest} = ${j.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${q.publicPath} + ${q.getUpdateManifestFilename}()).then(${j.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Ue?`${q.onChunksLoaded}.j = ${j.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",ze||je?ie.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${j.basicFunction("parentChunkLoadingFunction, data",[j.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${j.returningFunction("installedChunks[id] !== 0","id")})) {`,ie.indent(["for(moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);"]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ie.indent(["chunkId = chunkIds[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ue?`return ${q.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${Ve} = ${Ve} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,R,N)=>{"use strict";const $=N(41113);const j=N(50369);const q=N(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return q.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new $).apply(E);new j("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,R,N)=>{"use strict";const $=N(73837);const j=N(63221);const q=N(46312);const G=N(63076);const ie=N(63433);const ae=N(81721);const{applyWebpackOptionsDefaults:le,applyWebpackOptionsBaseDefaults:_e}=N(54411);const{getNormalizedWebpackOptions:Ee}=N(96590);const we=N(93632);const Ie=N(91671);const Me=Ie((()=>N(33316)));const createMultiCompiler=(E,R)=>{const N=E.map((E=>createCompiler(E)));const $=new ie(N,R);for(const E of N){if(E.options.dependencies){$.setDependencies(E,E.options.dependencies)}}return $};const createCompiler=E=>{const R=Ee(E);_e(R);const N=new G(R.context,R);new we({infrastructureLogging:R.infrastructureLogging}).apply(N);if(Array.isArray(R.plugins)){for(const E of R.plugins){if(typeof E==="function"){E.call(N,N)}else{E.apply(N)}}}le(R);N.hooks.environment.call();N.hooks.afterEnvironment.call();(new ae).process(R,N);N.hooks.initialize.call();return N};const webpack=(E,R)=>{const create=()=>{if(!j(E)){Me()(q,E)}let R;let N=false;let $;if(Array.isArray(E)){R=createMultiCompiler(E,E);N=E.some((E=>E.watch));$=E.map((E=>E.watchOptions||{}))}else{const j=E;R=createCompiler(j);N=j.watch;$=j.watchOptions||{}}return{compiler:R,watch:N,watchOptions:$}};if(R){try{const{compiler:E,watch:N,watchOptions:$}=create();if(N){E.watch($,R)}else{E.run(((N,$)=>{E.close((E=>{R(N||E,$)}))}))}return E}catch(E){process.nextTick((()=>R(E)));return null}}else{const{compiler:E,watch:R}=create();if(R){$.deprecate((()=>{}),"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,R,N)=>{"use strict";const $=N(76150);const j=N(44160);const q=N(64997);const G=N(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new q({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $==="import-scripts"};const N=new WeakSet;const handler=(R,j)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;const q=!!E.outputOptions.trustedTypes;j.add($.moduleFactoriesAddOnly);j.add($.hasOwnProperty);if(q)j.add($.createScriptUrl);E.addRuntimeModule(R,new G(j,q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.createScriptUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new j);return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{getChunkFilenameTemplate:G,chunkHasJs:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class ImportScriptsChunkLoadingRuntimeModule extends j{constructor(E,R){super("importScripts chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=R}generate(){const{chunk:E,chunkGraph:R,compilation:{runtimeTemplate:j,outputOptions:{globalObject:Ee,chunkLoadingGlobal:we,hotUpdateGlobal:Ie}},_withCreateScriptUrl:Me}=this;const Te=$.ensureChunkHandlers;const Ne=this.runtimeRequirements.has($.baseURI);const Be=this.runtimeRequirements.has($.ensureChunkHandlers);const Le=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const je=this.runtimeRequirements.has($.hmrDownloadManifest);const ze=`${Ee}[${JSON.stringify(we)}]`;const Ue=le(R.getChunkConditionMap(E,ie));const qe=ae(E,R);const Ge=this.compilation.getPath(G(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const He=_e(Ge,this.compilation.outputOptions.path,false);const We=Le?`${$.hmrRuntimeStatePrefix}_importScripts`:undefined;return q.asString([Ne?q.asString([`${$.baseURI} = self.location + ${JSON.stringify(He?"/../"+He:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(qe,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Be?q.asString(["// importScripts chunk loading",`var installChunk = ${j.basicFunction("data",[j.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${$.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",q.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Be?q.asString([`${Te}.i = ${j.basicFunction("chunkId, promises",Ue!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,q.indent(`importScripts(${Me?`${$.createScriptUrl}(${$.publicPath} + ${$.getChunkScriptFilename}(chunkId))`:`${$.publicPath} + ${$.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${ze} = ${ze} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Le?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["var success = false;",`${Ee}[${JSON.stringify(Ie)}] = ${j.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${Me?`${$.createScriptUrl}(${$.publicPath} + ${$.getChunkUpdateScriptFilename}(chunkId))`:`${$.publicPath} + ${$.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",je?q.asString([`${$.hmrDownloadManifest} = ${j.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${$.publicPath} + ${$.getUpdateManifestFilename}()).then(${j.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,R,N)=>{"use strict";const $=N(41113);const j=N(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new $).apply(E);new j("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},3385:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.importAssertions=importAssertions;var $=_interopRequireWildcard(N(14150));function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}const j="{".charCodeAt(0);const q=" ".charCodeAt(0);const G="assert";const ie=1,ae=2,le=4;function importAssertions(E){const R=E.acorn||$;const{tokTypes:N,TokenType:ae}=R;return class extends E{constructor(...E){super(...E);this.assertToken=new ae(G)}_codeAt(E){return this.input.charCodeAt(E)}_eat(E){if(this.type!==E){this.unexpected()}this.next()}readToken(E){let R=0;for(;R=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==N.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const R=this.parseImportAssertions();if(R){E.assertions=R}}this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(N._default)){this.checkExport(R,"default",this.lastTokStart);var $;if(this.type===N._function||($=this.isAsyncFunction())){var j=this.startNode();this.next();if($){this.next()}E.declaration=this.parseFunction(j,ie|le,false,$)}else if(this.type===N._class){var q=this.startNode();E.declaration=this.parseClass(q,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==N.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const R=this.parseImportAssertions();if(R){E.assertions=R}}}else{for(var G=0,ae=E.specifiers;GE){return false}N+=R[$+1];if(N>=E){return true}}}function isIdentifierStart(E,R){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)}function isIdentifierChar(E,R){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)||isInAstralSet(E,_e)}var Ee=function TokenType(E,R){if(R===void 0)R={};this.label=E;this.keyword=R.keyword;this.beforeExpr=!!R.beforeExpr;this.startsExpr=!!R.startsExpr;this.isLoop=!!R.isLoop;this.isAssign=!!R.isAssign;this.prefix=!!R.prefix;this.postfix=!!R.postfix;this.binop=R.binop||null;this.updateContext=null};function binop(E,R){return new Ee(E,{beforeExpr:true,binop:R})}var we={beforeExpr:true},Ie={startsExpr:true};var Me={};function kw(E,R){if(R===void 0)R={};R.keyword=E;return Me[E]=new Ee(E,R)}var Te={num:new Ee("num",Ie),regexp:new Ee("regexp",Ie),string:new Ee("string",Ie),name:new Ee("name",Ie),privateId:new Ee("privateId",Ie),eof:new Ee("eof"),bracketL:new Ee("[",{beforeExpr:true,startsExpr:true}),bracketR:new Ee("]"),braceL:new Ee("{",{beforeExpr:true,startsExpr:true}),braceR:new Ee("}"),parenL:new Ee("(",{beforeExpr:true,startsExpr:true}),parenR:new Ee(")"),comma:new Ee(",",we),semi:new Ee(";",we),colon:new Ee(":",we),dot:new Ee("."),question:new Ee("?",we),questionDot:new Ee("?."),arrow:new Ee("=>",we),template:new Ee("template"),invalidTemplate:new Ee("invalidTemplate"),ellipsis:new Ee("...",we),backQuote:new Ee("`",Ie),dollarBraceL:new Ee("${",{beforeExpr:true,startsExpr:true}),eq:new Ee("=",{beforeExpr:true,isAssign:true}),assign:new Ee("_=",{beforeExpr:true,isAssign:true}),incDec:new Ee("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new Ee("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Ee("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Ee("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",we),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",we),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",we),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ie),_if:kw("if"),_return:kw("return",we),_switch:kw("switch"),_throw:kw("throw",we),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ie),_super:kw("super",Ie),_class:kw("class",Ie),_extends:kw("extends",we),_export:kw("export"),_import:kw("import",Ie),_null:kw("null",Ie),_true:kw("true",Ie),_false:kw("false",Ie),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Be=new RegExp(Ne.source,"g");function isNewLine(E,R){return E===10||E===13||!R&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var ze=Object.prototype;var Ue=ze.hasOwnProperty;var qe=ze.toString;function has(E,R){return Ue.call(E,R)}var Ge=Array.isArray||function(E){return qe.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var He=function Position(E,R){this.line=E;this.column=R};He.prototype.offset=function offset(E){return new He(this.line,this.column+E)};var We=function SourceLocation(E,R,N){this.start=R;this.end=N;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,R){for(var N=1,$=0;;){Be.lastIndex=$;var j=Be.exec(E);if(j&&j.index=2015){R.ecmaVersion-=2009}if(R.allowReserved==null){R.allowReserved=R.ecmaVersion<5}if(Ge(R.onToken)){var $=R.onToken;R.onToken=function(E){return $.push(E)}}if(Ge(R.onComment)){R.onComment=pushComment(R,R.onComment)}return R}function pushComment(E,R){return function(N,$,j,q,G,ie){var ae={type:N?"Block":"Line",value:$,start:j,end:q};if(E.locations){ae.loc=new We(this,G,ie)}if(E.ranges){ae.range=[j,q]}R.push(ae)}}var Qe=1,Je=2,Xe=Qe|Je,Ye=4,Ze=8,et=16,tt=32,nt=64,rt=128;function functionFlags(E,R){return Je|(E?Ye:0)|(R?Ze:0)}var st=0,it=1,ot=2,lt=3,ct=4,ut=5;var pt=function Parser(E,N,j){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp($[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){q=R[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var G=(q?q+" ":"")+R.strict;this.reservedWordsStrict=wordsRegexp(G);this.reservedWordsStrictBind=wordsRegexp(G+" "+R.strictBind);this.input=String(N);this.containsEsc=false;if(j){this.pos=j;this.lineStart=this.input.lastIndexOf("\n",j-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Te.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Qe);this.regexpState=null;this.privateNameStack=[]};var dt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};pt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};dt.inFunction.get=function(){return(this.currentVarScope().flags&Je)>0};dt.inGenerator.get=function(){return(this.currentVarScope().flags&Ze)>0&&!this.currentVarScope().inClassFieldInit};dt.inAsync.get=function(){return(this.currentVarScope().flags&Ye)>0&&!this.currentVarScope().inClassFieldInit};dt.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var R=this.scopeStack[E];if(R.inClassFieldInit){return false}if(R.flags&Je){return(R.flags&Ye)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};dt.allowSuper.get=function(){var E=this.currentThisScope();var R=E.flags;var N=E.inClassFieldInit;return(R&nt)>0||N||this.options.allowSuperOutsideMethod};dt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&rt)>0};dt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};dt.inNonArrowFunction.get=function(){var E=this.currentThisScope();var R=E.flags;var N=E.inClassFieldInit;return(R&Je)>0||N};pt.extend=function extend(){var E=[],R=arguments.length;while(R--)E[R]=arguments[R];var N=this;for(var $=0;$=,?^&]/.test(j)||j==="!"&&this.input.charAt($+1)==="=")}E+=R[0].length;je.lastIndex=E;E+=je.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};ft.eat=function(E){if(this.type===E){this.next();return true}else{return false}};ft.isContextual=function(E){return this.type===Te.name&&this.value===E&&!this.containsEsc};ft.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};ft.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};ft.canInsertSemicolon=function(){return this.type===Te.eof||this.type===Te.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};ft.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};ft.semicolon=function(){if(!this.eat(Te.semi)&&!this.insertSemicolon()){this.unexpected()}};ft.afterTrailingComma=function(E,R){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!R){this.next()}return true}};ft.expect=function(E){this.eat(E)||this.unexpected()};ft.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ft.checkPatternErrors=function(E,R){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var N=R?E.parenthesizedAssign:E.parenthesizedBind;if(N>-1){this.raiseRecoverable(N,"Parenthesized pattern")}};ft.checkExpressionErrors=function(E,R){if(!E){return false}var N=E.shorthandAssign;var $=E.doubleProto;if(!R){return N>=0||$>=0}if(N>=0){this.raise(N,"Shorthand property assignments are valid only in destructuring patterns")}if($>=0){this.raiseRecoverable($,"Redefinition of __proto__ property")}};ft.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&$<56320){return true}if(E){return false}if($===123){return true}if(isIdentifierStart($,true)){var q=N+1;while(isIdentifierChar($=this.input.charCodeAt(q),true)){++q}if($===92||$>55295&&$<56320){return true}var G=this.input.slice(N,q);if(!j.test(G)){return true}}return false};mt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}je.lastIndex=this.pos;var E=je.exec(this.input);var R=this.pos+E[0].length,N;return!Ne.test(this.input.slice(this.pos,R))&&this.input.slice(R,R+8)==="function"&&(R+8===this.input.length||!(isIdentifierChar(N=this.input.charCodeAt(R+8))||N>55295&&N<56320))};mt.parseStatement=function(E,R,N){var $=this.type,j=this.startNode(),q;if(this.isLet(E)){$=Te._var;q="let"}switch($){case Te._break:case Te._continue:return this.parseBreakContinueStatement(j,$.keyword);case Te._debugger:return this.parseDebuggerStatement(j);case Te._do:return this.parseDoStatement(j);case Te._for:return this.parseForStatement(j);case Te._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(j,false,!E);case Te._class:if(E){this.unexpected()}return this.parseClass(j,true);case Te._if:return this.parseIfStatement(j);case Te._return:return this.parseReturnStatement(j);case Te._switch:return this.parseSwitchStatement(j);case Te._throw:return this.parseThrowStatement(j);case Te._try:return this.parseTryStatement(j);case Te._const:case Te._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement(j,q);case Te._while:return this.parseWhileStatement(j);case Te._with:return this.parseWithStatement(j);case Te.braceL:return this.parseBlock(true,j);case Te.semi:return this.parseEmptyStatement(j);case Te._export:case Te._import:if(this.options.ecmaVersion>10&&$===Te._import){je.lastIndex=this.pos;var G=je.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement(j,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!R){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return $===Te._import?this.parseImport(j):this.parseExport(j,N);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement(j,true,!E)}var le=this.value,_e=this.parseExpression();if($===Te.name&&_e.type==="Identifier"&&this.eat(Te.colon)){return this.parseLabeledStatement(j,le,_e,E)}else{return this.parseExpressionStatement(j,_e)}}};mt.parseBreakContinueStatement=function(E,R){var N=R==="break";this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Te.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var $=0;for(;$=6){this.eat(Te.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};mt.parseForStatement=function(E){this.next();var R=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(gt);this.enterScope(0);this.expect(Te.parenL);if(this.type===Te.semi){if(R>-1){this.unexpected(R)}return this.parseFor(E,null)}var N=this.isLet();if(this.type===Te._var||this.type===Te._const||N){var $=this.startNode(),j=N?"let":this.value;this.next();this.parseVar($,true,j);this.finishNode($,"VariableDeclaration");if((this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&$.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}return this.parseForIn(E,$)}if(R>-1){this.unexpected(R)}return this.parseFor(E,$)}var q=new DestructuringErrors;var G=this.parseExpression(R>-1?"await":true,q);if(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}this.toAssignable(G,false,q);this.checkLValPattern(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(R>-1){this.unexpected(R)}return this.parseFor(E,G)};mt.parseFunctionStatement=function(E,R,N){this.next();return this.parseFunction(E,bt|(N?0:_t),false,R)};mt.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Te._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};mt.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};mt.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Te.braceL);this.labels.push(yt);this.enterScope(0);var R;for(var N=false;this.type!==Te.braceR;){if(this.type===Te._case||this.type===Te._default){var $=this.type===Te._case;if(R){this.finishNode(R,"SwitchCase")}E.cases.push(R=this.startNode());R.consequent=[];this.next();if($){R.test=this.parseExpression()}else{if(N){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}N=true;R.test=null}this.expect(Te.colon)}else{if(!R){this.unexpected()}R.consequent.push(this.parseStatement(null))}}this.exitScope();if(R){this.finishNode(R,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};mt.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var vt=[];mt.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Te._catch){var R=this.startNode();this.next();if(this.eat(Te.parenL)){R.param=this.parseBindingAtom();var N=R.param.type==="Identifier";this.enterScope(N?tt:0);this.checkLValPattern(R.param,N?ct:ot);this.expect(Te.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}R.param=null;this.enterScope(0)}R.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(R,"CatchClause")}E.finalizer=this.eat(Te._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};mt.parseVarStatement=function(E,R){this.next();this.parseVar(E,false,R);this.semicolon();return this.finishNode(E,"VariableDeclaration")};mt.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(gt);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};mt.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};mt.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};mt.parseLabeledStatement=function(E,R,N,$){for(var j=0,q=this.labels;j=0;ae--){var le=this.labels[ae];if(le.statementStart===E.start){le.statementStart=this.start;le.kind=ie}else{break}}this.labels.push({name:R,kind:ie,statementStart:this.start});E.body=this.parseStatement($?$.indexOf("label")===-1?$+"label":$:"label");this.labels.pop();E.label=N;return this.finishNode(E,"LabeledStatement")};mt.parseExpressionStatement=function(E,R){E.expression=R;this.semicolon();return this.finishNode(E,"ExpressionStatement")};mt.parseBlock=function(E,R,N){if(E===void 0)E=true;if(R===void 0)R=this.startNode();R.body=[];this.expect(Te.braceL);if(E){this.enterScope(0)}while(this.type!==Te.braceR){var $=this.parseStatement(null);R.body.push($)}if(N){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(R,"BlockStatement")};mt.parseFor=function(E,R){E.init=R;this.expect(Te.semi);E.test=this.type===Te.semi?null:this.parseExpression();this.expect(Te.semi);E.update=this.type===Te.parenR?null:this.parseExpression();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};mt.parseForIn=function(E,R){var N=this.type===Te._in;this.next();if(R.type==="VariableDeclaration"&&R.declarations[0].init!=null&&(!N||this.options.ecmaVersion<8||this.strict||R.kind!=="var"||R.declarations[0].id.type!=="Identifier")){this.raise(R.start,(N?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=R;E.right=N?this.parseExpression():this.parseMaybeAssign();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,N?"ForInStatement":"ForOfStatement")};mt.parseVar=function(E,R,N){E.declarations=[];E.kind=N;for(;;){var $=this.startNode();this.parseVarId($,N);if(this.eat(Te.eq)){$.init=this.parseMaybeAssign(R)}else if(N==="const"&&!(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if($.id.type!=="Identifier"&&!(R&&(this.type===Te._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{$.init=null}E.declarations.push(this.finishNode($,"VariableDeclarator"));if(!this.eat(Te.comma)){break}}return E};mt.parseVarId=function(E,R){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,R==="var"?it:ot,false)};var bt=1,_t=2,xt=4;mt.parseFunction=function(E,R,N,$){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!$){if(this.type===Te.star&&R&_t){this.unexpected()}E.generator=this.eat(Te.star)}if(this.options.ecmaVersion>=8){E.async=!!$}if(R&bt){E.id=R&xt&&this.type!==Te.name?null:this.parseIdent();if(E.id&&!(R&_t)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?it:ot:lt)}}var j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(R&bt)){E.id=this.type===Te.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,N,false);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,R&bt?"FunctionDeclaration":"FunctionExpression")};mt.parseFunctionParams=function(E){this.expect(Te.parenL);E.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};mt.parseClass=function(E,R){this.next();var N=this.strict;this.strict=true;this.parseClassId(E,R);this.parseClassSuper(E);var $=this.enterClassBody();var j=this.startNode();var q=false;j.body=[];this.expect(Te.braceL);while(this.type!==Te.braceR){var G=this.parseClassElement(E.superClass!==null);if(G){j.body.push(G);if(G.type==="MethodDefinition"&&G.kind==="constructor"){if(q){this.raise(G.start,"Duplicate constructor in the same class")}q=true}else if(G.key.type==="PrivateIdentifier"&&isPrivateNameConflicted($,G)){this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared")}}}this.strict=N;this.next();E.body=this.finishNode(j,"ClassBody");this.exitClassBody();return this.finishNode(E,R?"ClassDeclaration":"ClassExpression")};mt.parseClassElement=function(E){if(this.eat(Te.semi)){return null}var R=this.options.ecmaVersion;var N=this.startNode();var $="";var j=false;var q=false;var G="method";N.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===Te.star){N.static=true}else{$="static"}}if(!$&&R>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Te.star)&&!this.canInsertSemicolon()){q=true}else{$="async"}}if(!$&&(R>=9||!q)&&this.eat(Te.star)){j=true}if(!$&&!q&&!j){var ie=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){G=ie}else{$=ie}}}if($){N.computed=false;N.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);N.key.name=$;this.finishNode(N.key,"Identifier")}else{this.parseClassElementName(N)}if(R<13||this.type===Te.parenL||G!=="method"||j||q){var ae=!N.static&&checkKeyName(N,"constructor");var le=ae&&E;if(ae&&G!=="method"){this.raise(N.key.start,"Constructor can't have get/set modifier")}N.kind=ae?"constructor":G;this.parseClassMethod(N,j,q,le)}else{this.parseClassField(N)}return N};mt.isClassElementNameStart=function(){return this.type===Te.name||this.type===Te.privateId||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword};mt.parseClassElementName=function(E){if(this.type===Te.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};mt.parseClassMethod=function(E,R,N,$){var j=E.key;if(E.kind==="constructor"){if(R){this.raise(j.start,"Constructor can't be a generator")}if(N){this.raise(j.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise(j.start,"Classes may not have a static property named prototype")}var q=E.value=this.parseMethod(R,N,$);if(E.kind==="get"&&q.params.length!==0){this.raiseRecoverable(q.start,"getter should have no params")}if(E.kind==="set"&&q.params.length!==1){this.raiseRecoverable(q.start,"setter should have exactly one param")}if(E.kind==="set"&&q.params[0].type==="RestElement"){this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};mt.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Te.eq)){var R=this.currentThisScope();var N=R.inClassFieldInit;R.inClassFieldInit=true;E.value=this.parseMaybeAssign();R.inClassFieldInit=N}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};mt.parseClassId=function(E,R){if(this.type===Te.name){E.id=this.parseIdent();if(R){this.checkLValSimple(E.id,ot,false)}}else{if(R===true){this.unexpected()}E.id=null}};mt.parseClassSuper=function(E){E.superClass=this.eat(Te._extends)?this.parseExprSubscripts():null};mt.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};mt.exitClassBody=function(){var E=this.privateNameStack.pop();var R=E.declared;var N=E.used;var $=this.privateNameStack.length;var j=$===0?null:this.privateNameStack[$-1];for(var q=0;q=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Te._default)){this.checkExport(R,"default",this.lastTokStart);var N;if(this.type===Te._function||(N=this.isAsyncFunction())){var $=this.startNode();this.next();if(N){this.next()}E.declaration=this.parseFunction($,bt|xt,false,N)}else if(this.type===Te._class){var j=this.startNode();E.declaration=this.parseClass(j,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(N){this.checkPatternErrors(N,true)}for(var $=0,j=E.properties;$=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Te._function)){return this.parseFunction(this.startNodeAt($,j),0,false,true)}if(N&&!this.canInsertSemicolon()){if(this.eat(Te.arrow)){return this.parseArrowExpression(this.startNodeAt($,j),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Te.name&&!q&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Te.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt($,j),[G],true)}}return G;case Te.regexp:var ie=this.value;R=this.parseLiteral(ie.value);R.regex={pattern:ie.pattern,flags:ie.flags};return R;case Te.num:case Te.string:return this.parseLiteral(this.value);case Te._null:case Te._true:case Te._false:R=this.startNode();R.value=this.type===Te._null?null:this.type===Te._true;R.raw=this.type.keyword;this.next();return this.finishNode(R,"Literal");case Te.parenL:var ae=this.start,le=this.parseParenAndDistinguishExpression(N);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(le)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return le;case Te.bracketL:R=this.startNode();this.next();R.elements=this.parseExprList(Te.bracketR,true,true,E);return this.finishNode(R,"ArrayExpression");case Te.braceL:return this.parseObj(false,E);case Te._function:R=this.startNode();this.next();return this.parseFunction(R,0);case Te._class:return this.parseClass(this.startNode(),false);case Te._new:return this.parseNew();case Te.backQuote:return this.parseTemplate();case Te._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Et.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var R=this.parseIdent(true);switch(this.type){case Te.parenL:return this.parseDynamicImport(E);case Te.dot:E.meta=R;return this.parseImportMeta(E);default:this.unexpected()}};Et.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Te.parenR)){var R=this.start;if(this.eat(Te.comma)&&this.eat(Te.parenR)){this.raiseRecoverable(R,"Trailing comma is not allowed in import()")}else{this.unexpected(R)}}return this.finishNode(E,"ImportExpression")};Et.parseImportMeta=function(E){this.next();var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(R){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Et.parseLiteral=function(E){var R=this.startNode();R.value=E;R.raw=this.input.slice(this.start,this.end);if(R.raw.charCodeAt(R.raw.length-1)===110){R.bigint=R.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(R,"Literal")};Et.parseParenExpression=function(){this.expect(Te.parenL);var E=this.parseExpression();this.expect(Te.parenR);return E};Et.parseParenAndDistinguishExpression=function(E){var R=this.start,N=this.startLoc,$,j=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,le=false;var _e=new DestructuringErrors,Ee=this.yieldPos,we=this.awaitPos,Ie;this.yieldPos=0;this.awaitPos=0;while(this.type!==Te.parenR){ae?ae=false:this.expect(Te.comma);if(j&&this.afterTrailingComma(Te.parenR,true)){le=true;break}else if(this.type===Te.ellipsis){Ie=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,_e,this.parseParenItem))}}var Me=this.start,Ne=this.startLoc;this.expect(Te.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Te.arrow)){this.checkPatternErrors(_e,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=Ee;this.awaitPos=we;return this.parseParenArrowList(R,N,ie)}if(!ie.length||le){this.unexpected(this.lastTokStart)}if(Ie){this.unexpected(Ie)}this.checkExpressionErrors(_e,true);this.yieldPos=Ee||this.yieldPos;this.awaitPos=we||this.awaitPos;if(ie.length>1){$=this.startNodeAt(q,G);$.expressions=ie;this.finishNodeAt($,"SequenceExpression",Me,Ne)}else{$=ie[0]}}else{$=this.parseParenExpression()}if(this.options.preserveParens){var Be=this.startNodeAt(R,N);Be.expression=$;return this.finishNode(Be,"ParenthesizedExpression")}else{return $}};Et.parseParenItem=function(E){return E};Et.parseParenArrowList=function(E,R,N){return this.parseArrowExpression(this.startNodeAt(E,R),N)};var wt=[];Et.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var R=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Te.dot)){E.meta=R;var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(N){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var $=this.start,j=this.startLoc,q=this.type===Te._import;E.callee=this.parseSubscripts(this.parseExprAtom(),$,j,true);if(q&&E.callee.type==="ImportExpression"){this.raise($,"Cannot use new with import()")}if(this.eat(Te.parenL)){E.arguments=this.parseExprList(Te.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=wt}return this.finishNode(E,"NewExpression")};Et.parseTemplateElement=function(E){var R=E.isTagged;var N=this.startNode();if(this.type===Te.invalidTemplate){if(!R){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}N.value={raw:this.value,cooked:null}}else{N.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();N.tail=this.type===Te.backQuote;return this.finishNode(N,"TemplateElement")};Et.parseTemplate=function(E){if(E===void 0)E={};var R=E.isTagged;if(R===void 0)R=false;var N=this.startNode();this.next();N.expressions=[];var $=this.parseTemplateElement({isTagged:R});N.quasis=[$];while(!$.tail){if(this.type===Te.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Te.dollarBraceL);N.expressions.push(this.parseExpression());this.expect(Te.braceR);N.quasis.push($=this.parseTemplateElement({isTagged:R}))}this.next();return this.finishNode(N,"TemplateLiteral")};Et.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Te.name||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Te.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Et.parseObj=function(E,R){var N=this.startNode(),$=true,j={};N.properties=[];this.next();while(!this.eat(Te.braceR)){if(!$){this.expect(Te.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Te.braceR)){break}}else{$=false}var q=this.parseProperty(E,R);if(!E){this.checkPropClash(q,j,R)}N.properties.push(q)}return this.finishNode(N,E?"ObjectPattern":"ObjectExpression")};Et.parseProperty=function(E,R){var N=this.startNode(),$,j,q,G;if(this.options.ecmaVersion>=9&&this.eat(Te.ellipsis)){if(E){N.argument=this.parseIdent(false);if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(N,"RestElement")}if(this.type===Te.parenL&&R){if(R.parenthesizedAssign<0){R.parenthesizedAssign=this.start}if(R.parenthesizedBind<0){R.parenthesizedBind=this.start}}N.argument=this.parseMaybeAssign(false,R);if(this.type===Te.comma&&R&&R.trailingComma<0){R.trailingComma=this.start}return this.finishNode(N,"SpreadElement")}if(this.options.ecmaVersion>=6){N.method=false;N.shorthand=false;if(E||R){q=this.start;G=this.startLoc}if(!E){$=this.eat(Te.star)}}var ie=this.containsEsc;this.parsePropertyName(N);if(!E&&!ie&&this.options.ecmaVersion>=8&&!$&&this.isAsyncProp(N)){j=true;$=this.options.ecmaVersion>=9&&this.eat(Te.star);this.parsePropertyName(N,R)}else{j=false}this.parsePropertyValue(N,E,$,j,q,G,R,ie);return this.finishNode(N,"Property")};Et.parsePropertyValue=function(E,R,N,$,j,q,G,ie){if((N||$)&&this.type===Te.colon){this.unexpected()}if(this.eat(Te.colon)){E.value=R?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Te.parenL){if(R){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(N,$)}else if(!R&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Te.comma&&this.type!==Te.braceR&&this.type!==Te.eq)){if(N||$){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var le=E.value.start;if(E.kind==="get"){this.raiseRecoverable(le,"getter should have no params")}else{this.raiseRecoverable(le,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(N||$){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=j}E.kind="init";if(R){E.value=this.parseMaybeDefault(j,q,this.copyNode(E.key))}else if(this.type===Te.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault(j,q,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};Et.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Te.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Te.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Te.num||this.type===Te.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Et.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Et.parseMethod=function(E,R,N){var $=this.startNode(),j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction($);if(this.options.ecmaVersion>=6){$.generator=E}if(this.options.ecmaVersion>=8){$.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(R,$.generator)|nt|(N?rt:0));this.expect(Te.parenL);$.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody($,false,true);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode($,"FunctionExpression")};Et.parseArrowExpression=function(E,R,N){var $=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(N,false)|et);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(R,true);this.parseFunctionBody(E,true,false);this.yieldPos=$;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Et.parseFunctionBody=function(E,R,N){var $=R&&this.type!==Te.braceL;var j=this.strict,q=false;if($){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!j||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!j&&!q&&!R&&!N&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,ut)}E.body=this.parseBlock(false,undefined,q&&!j);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Et.isSimpleParamList=function(E){for(var R=0,N=E;R-1||j.functions.indexOf(E)>-1||j.var.indexOf(E)>-1;j.lexical.push(E);if(this.inModule&&j.flags&Qe){delete this.undefinedExports[E]}}else if(R===ct){var q=this.currentScope();q.lexical.push(E)}else if(R===lt){var G=this.currentScope();if(this.treatFunctionsAsVar){$=G.lexical.indexOf(E)>-1}else{$=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&tt&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){$=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Qe){delete this.undefinedExports[E]}if(ae.flags&Xe){break}}}if($){this.raiseRecoverable(N,"Identifier '"+E+"' has already been declared")}};At.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};At.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};At.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Xe){return R}}};At.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Xe&&!(R.flags&et)){return R}}};var Dt=function Node(E,R,N){this.type="";this.start=R;this.end=0;if(E.options.locations){this.loc=new We(E,N)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[R,0]}};var It=pt.prototype;It.startNode=function(){return new Dt(this,this.start,this.startLoc)};It.startNodeAt=function(E,R){return new Dt(this,E,R)};function finishNodeAt(E,R,N,$){E.type=R;E.end=N;if(this.options.locations){E.loc.end=$}if(this.options.ranges){E.range[1]=N}return E}It.finishNode=function(E,R){return finishNodeAt.call(this,E,R,this.lastTokEnd,this.lastTokEndLoc)};It.finishNodeAt=function(E,R,N,$){return finishNodeAt.call(this,E,R,N,$)};It.copyNode=function(E){var R=new Dt(this,E.start,this.startLoc);for(var N in E){R[N]=E[N]}return R};var Mt=function TokContext(E,R,N,$,j){this.token=E;this.isExpr=!!R;this.preserveSpace=!!N;this.override=$;this.generator=!!j};var Pt={b_stat:new Mt("{",false),b_expr:new Mt("{",true),b_tmpl:new Mt("${",false),p_stat:new Mt("(",false),p_expr:new Mt("(",true),q_tmpl:new Mt("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Mt("function",false),f_expr:new Mt("function",true),f_expr_gen:new Mt("function",true,false,null,true),f_gen:new Mt("function",false,false,null,true)};var Tt=pt.prototype;Tt.initialContext=function(){return[Pt.b_stat]};Tt.braceIsBlock=function(E){var R=this.curContext();if(R===Pt.f_expr||R===Pt.f_stat){return true}if(E===Te.colon&&(R===Pt.b_stat||R===Pt.b_expr)){return!R.isExpr}if(E===Te._return||E===Te.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Te._else||E===Te.semi||E===Te.eof||E===Te.parenR||E===Te.arrow){return true}if(E===Te.braceL){return R===Pt.b_stat}if(E===Te._var||E===Te._const||E===Te.name){return false}return!this.exprAllowed};Tt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var R=this.context[E];if(R.token==="function"){return R.generator}}return false};Tt.updateContext=function(E){var R,N=this.type;if(N.keyword&&E===Te.dot){this.exprAllowed=false}else if(R=N.updateContext){R.call(this,E)}else{this.exprAllowed=N.beforeExpr}};Te.parenR.updateContext=Te.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===Pt.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Te.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?Pt.b_stat:Pt.b_expr);this.exprAllowed=true};Te.dollarBraceL.updateContext=function(){this.context.push(Pt.b_tmpl);this.exprAllowed=true};Te.parenL.updateContext=function(E){var R=E===Te._if||E===Te._for||E===Te._with||E===Te._while;this.context.push(R?Pt.p_stat:Pt.p_expr);this.exprAllowed=true};Te.incDec.updateContext=function(){};Te._function.updateContext=Te._class.updateContext=function(E){if(E.beforeExpr&&E!==Te._else&&!(E===Te.semi&&this.curContext()!==Pt.p_stat)&&!(E===Te._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Te.colon||E===Te.braceL)&&this.curContext()===Pt.b_stat)){this.context.push(Pt.f_expr)}else{this.context.push(Pt.f_stat)}this.exprAllowed=false};Te.backQuote.updateContext=function(){if(this.curContext()===Pt.q_tmpl){this.context.pop()}else{this.context.push(Pt.q_tmpl)}this.exprAllowed=false};Te.star.updateContext=function(E){if(E===Te._function){var R=this.context.length-1;if(this.context[R]===Pt.f_expr){this.context[R]=Pt.f_expr_gen}else{this.context[R]=Pt.f_gen}}this.exprAllowed=true};Te.name.updateContext=function(E){var R=false;if(this.options.ecmaVersion>=6&&E!==Te.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){R=true}}this.exprAllowed=R};var Ot="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Rt=Ot+" Extended_Pictographic";var Ft=Rt;var Nt=Ft+" EBase EComp EMod EPres ExtPict";var Bt={9:Ot,10:Rt,11:Ft,12:Nt};var Lt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var $t="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var jt=$t+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var zt=jt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ut=zt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var qt={9:$t,10:jt,11:zt,12:Ut};var Gt={};function buildUnicodeData(E){var R=Gt[E]={binary:wordsRegexp(Bt[E]+" "+Lt),nonBinary:{General_Category:wordsRegexp(Lt),Script:wordsRegexp(qt[E])}};R.nonBinary.Script_Extensions=R.nonBinary.Script;R.nonBinary.gc=R.nonBinary.General_Category;R.nonBinary.sc=R.nonBinary.Script;R.nonBinary.scx=R.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var Ht=pt.prototype;var Wt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Gt[E.options.ecmaVersion>=12?12:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Wt.prototype.reset=function reset(E,R,N){var $=N.indexOf("u")!==-1;this.start=E|0;this.source=R+"";this.flags=N;this.switchU=$&&this.parser.options.ecmaVersion>=6;this.switchN=$&&this.parser.options.ecmaVersion>=9};Wt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Wt.prototype.at=function at(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return-1}var j=N.charCodeAt(E);if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$){return j}var q=N.charCodeAt(E+1);return q>=56320&&q<=57343?(j<<10)+q-56613888:j};Wt.prototype.nextIndex=function nextIndex(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return $}var j=N.charCodeAt(E),q;if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$||(q=N.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Wt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Wt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Wt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Wt.prototype.eat=function eat(E,R){if(R===void 0)R=false;if(this.current(R)===E){this.advance(R);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Ht.validateRegExpFlags=function(E){var R=E.validFlags;var N=E.flags;for(var $=0;$-1){this.raise(E.start,"Duplicate regular expression flag")}}};Ht.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};Ht.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var R=0,N=E.backReferenceNames;R=9){N=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!N;return true}}E.pos=R;return false};Ht.regexp_eatQuantifier=function(E,R){if(R===void 0)R=false;if(this.regexp_eatQuantifierPrefix(E,R)){E.eat(63);return true}return false};Ht.regexp_eatQuantifierPrefix=function(E,R){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,R)};Ht.regexp_eatBracedQuantifier=function(E,R){var N=E.pos;if(E.eat(123)){var $=0,j=-1;if(this.regexp_eatDecimalDigits(E)){$=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){j=E.lastIntValue}if(E.eat(125)){if(j!==-1&&j<$&&!R){E.raise("numbers out of order in {} quantifier")}return true}}if(E.switchU&&!R){E.raise("Incomplete quantifier")}E.pos=N}return false};Ht.regexp_eatAtom=function(E){return this.regexp_eatPatternCharacters(E)||E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)};Ht.regexp_eatReverseSolidusAtomEscape=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatAtomEscape(E)){return true}E.pos=R}return false};Ht.regexp_eatUncapturingGroup=function(E){var R=E.pos;if(E.eat(40)){if(E.eat(63)&&E.eat(58)){this.regexp_disjunction(E);if(E.eat(41)){return true}E.raise("Unterminated group")}E.pos=R}return false};Ht.regexp_eatCapturingGroup=function(E){if(E.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};Ht.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};Ht.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};Ht.regexp_eatSyntaxCharacter=function(E){var R=E.current();if(isSyntaxCharacter(R)){E.lastIntValue=R;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}Ht.regexp_eatPatternCharacters=function(E){var R=E.pos;var N=0;while((N=E.current())!==-1&&!isSyntaxCharacter(N)){E.advance()}return E.pos!==R};Ht.regexp_eatExtendedPatternCharacter=function(E){var R=E.current();if(R!==-1&&R!==36&&!(R>=40&&R<=43)&&R!==46&&R!==63&&R!==91&&R!==94&&R!==124){E.advance();return true}return false};Ht.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};Ht.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};Ht.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};Ht.regexp_eatRegExpIdentifierStart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierStart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}Ht.regexp_eatRegExpIdentifierPart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierPart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}Ht.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};Ht.regexp_eatBackReference=function(E){var R=E.pos;if(this.regexp_eatDecimalEscape(E)){var N=E.lastIntValue;if(E.switchU){if(N>E.maxBackReference){E.maxBackReference=N}return true}if(N<=E.numCapturingParens){return true}E.pos=R}return false};Ht.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};Ht.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};Ht.regexp_eatCControlLetter=function(E){var R=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=R}return false};Ht.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};Ht.regexp_eatControlEscape=function(E){var R=E.current();if(R===116){E.lastIntValue=9;E.advance();return true}if(R===110){E.lastIntValue=10;E.advance();return true}if(R===118){E.lastIntValue=11;E.advance();return true}if(R===102){E.lastIntValue=12;E.advance();return true}if(R===114){E.lastIntValue=13;E.advance();return true}return false};Ht.regexp_eatControlLetter=function(E){var R=E.current();if(isControlLetter(R)){E.lastIntValue=R%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}Ht.regexp_eatRegExpUnicodeEscapeSequence=function(E,R){if(R===void 0)R=false;var N=E.pos;var $=R||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var j=E.lastIntValue;if($&&j>=55296&&j<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=(j-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=j}return true}if($&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if($){E.raise("Invalid unicode escape")}E.pos=N}return false};function isValidUnicode(E){return E>=0&&E<=1114111}Ht.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var R=E.current();if(R!==99&&(!E.switchN||R!==107)){E.lastIntValue=R;E.advance();return true}return false};Ht.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var R=E.current();if(R>=49&&R<=57){do{E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}while((R=E.current())>=48&&R<=57);return true}return false};Ht.regexp_eatCharacterClassEscape=function(E){var R=E.current();if(isCharacterClassEscape(R)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(R===80||R===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}Ht.regexp_eatUnicodePropertyValueExpression=function(E){var R=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var N=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,N,$);return true}}E.pos=R;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,j);return true}return false};Ht.regexp_validateUnicodePropertyNameAndValue=function(E,R,N){if(!has(E.unicodeProperties.nonBinary,R)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[R].test(N)){E.raise("Invalid property value")}};Ht.regexp_validateUnicodePropertyNameOrValue=function(E,R){if(!E.unicodeProperties.binary.test(R)){E.raise("Invalid property name")}};Ht.regexp_eatUnicodePropertyName=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}Ht.regexp_eatUnicodePropertyValue=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}Ht.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};Ht.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};Ht.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.switchU&&(R===-1||N===-1)){E.raise("Invalid character class")}if(R!==-1&&N!==-1&&R>N){E.raise("Range out of order in character class")}}}};Ht.regexp_eatClassAtom=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var N=E.current();if(N===99||isOctalDigit(N)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=R}var $=E.current();if($!==93){E.lastIntValue=$;E.advance();return true}return false};Ht.regexp_eatClassEscape=function(E){var R=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=R}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};Ht.regexp_eatClassControlLetter=function(E){var R=E.current();if(isDecimalDigit(R)||R===95){E.lastIntValue=R%32;E.advance();return true}return false};Ht.regexp_eatHexEscapeSequence=function(E){var R=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=R}return false};Ht.regexp_eatDecimalDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isDecimalDigit(N=E.current())){E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}return E.pos!==R};function isDecimalDigit(E){return E>=48&&E<=57}Ht.regexp_eatHexDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isHexDigit(N=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(N);E.advance()}return E.pos!==R};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}Ht.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(R<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=R*64+N*8+E.lastIntValue}else{E.lastIntValue=R*8+N}}else{E.lastIntValue=R}return true}return false};Ht.regexp_eatOctalDigit=function(E){var R=E.current();if(isOctalDigit(R)){E.lastIntValue=R-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}Ht.regexp_eatFixedHexDigits=function(E,R){var N=E.pos;E.lastIntValue=0;for(var $=0;$=this.input.length){return this.finishToken(Te.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Kt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Kt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var R=this.input.charCodeAt(this.pos+1);return R<=56319||R>=57344?E:(E<<10)+R-56613888};Kt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var R=this.pos,N=this.input.indexOf("*/",this.pos+=2);if(N===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=N+2;if(this.options.locations){Be.lastIndex=R;var $;while(($=Be.exec(this.input))&&$.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Kt.finishToken=function(E,R){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var N=this.type;this.type=E;this.value=R;this.updateContext(N)};Kt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var R=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&R===46){this.pos+=3;return this.finishToken(Te.ellipsis)}else{++this.pos;return this.finishToken(Te.dot)}};Kt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.slash,1)};Kt.readToken_mult_modulo_exp=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;var $=E===42?Te.star:Te.modulo;if(this.options.ecmaVersion>=7&&E===42&&R===42){++N;$=Te.starstar;R=this.input.charCodeAt(this.pos+2)}if(R===61){return this.finishOp(Te.assign,N+1)}return this.finishOp($,N)};Kt.readToken_pipe_amp=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(this.options.ecmaVersion>=12){var N=this.input.charCodeAt(this.pos+2);if(N===61){return this.finishOp(Te.assign,3)}}return this.finishOp(E===124?Te.logicalOR:Te.logicalAND,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(E===124?Te.bitwiseOR:Te.bitwiseAND,1)};Kt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.bitwiseXOR,1)};Kt.readToken_plus_min=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(R===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Te.incDec,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.plusMin,1)};Kt.readToken_lt_gt=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;if(R===E){N=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+N)===61){return this.finishOp(Te.assign,N+1)}return this.finishOp(Te.bitShift,N)}if(R===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(R===61){N=2}return this.finishOp(Te.relational,N)};Kt.readToken_eq_excl=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===61){return this.finishOp(Te.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&R===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Te.arrow)}return this.finishOp(E===61?Te.eq:Te.prefix,1)};Kt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var R=this.input.charCodeAt(this.pos+1);if(R===46){var N=this.input.charCodeAt(this.pos+2);if(N<48||N>57){return this.finishOp(Te.questionDot,2)}}if(R===63){if(E>=12){var $=this.input.charCodeAt(this.pos+2);if($===61){return this.finishOp(Te.assign,3)}}return this.finishOp(Te.coalesce,2)}}return this.finishOp(Te.question,1)};Kt.readToken_numberSign=function(){var E=this.options.ecmaVersion;var R=35;if(E>=13){++this.pos;R=this.fullCharCodeAtPos();if(isIdentifierStart(R,true)||R===92){return this.finishToken(Te.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(R)+"'")};Kt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Te.parenL);case 41:++this.pos;return this.finishToken(Te.parenR);case 59:++this.pos;return this.finishToken(Te.semi);case 44:++this.pos;return this.finishToken(Te.comma);case 91:++this.pos;return this.finishToken(Te.bracketL);case 93:++this.pos;return this.finishToken(Te.bracketR);case 123:++this.pos;return this.finishToken(Te.braceL);case 125:++this.pos;return this.finishToken(Te.braceR);case 58:++this.pos;return this.finishToken(Te.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Te.backQuote);case 48:var R=this.input.charCodeAt(this.pos+1);if(R===120||R===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(R===111||R===79){return this.readRadixNumber(8)}if(R===98||R===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Te.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Kt.finishOp=function(E,R){var N=this.input.slice(this.pos,this.pos+R);this.pos+=R;return this.finishToken(E,N)};Kt.readRegexp=function(){var E,R,N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(N,"Unterminated regular expression")}var $=this.input.charAt(this.pos);if(Ne.test($)){this.raise(N,"Unterminated regular expression")}if(!E){if($==="["){R=true}else if($==="]"&&R){R=false}else if($==="/"&&!R){break}E=$==="\\"}else{E=false}++this.pos}var j=this.input.slice(N,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Wt(this));ie.reset(N,j,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp(j,G)}catch(E){}return this.finishToken(Te.regexp,{pattern:j,flags:G,value:ae})};Kt.readInt=function(E,R,N){var $=this.options.ecmaVersion>=12&&R===undefined;var j=N&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,le=R==null?Infinity:R;ae=97){Ee=_e-97+10}else if(_e>=65){Ee=_e-65+10}else if(_e>=48&&_e<=57){Ee=_e-48}else{Ee=Infinity}if(Ee>=E){break}ie=_e;G=G*E+Ee}if($&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||R!=null&&this.pos-q!==R){return null}return G};function stringToNumber(E,R){if(R){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Kt.readRadixNumber=function(E){var R=this.pos;this.pos+=2;var N=this.readInt(E);if(N==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){N=stringToBigInt(this.input.slice(R,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,N)};Kt.readNumber=function(E){var R=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(R,"Invalid number")}var N=this.pos-R>=2&&this.input.charCodeAt(R)===48;if(N&&this.strict){this.raise(R,"Invalid number")}var $=this.input.charCodeAt(this.pos);if(!N&&!E&&this.options.ecmaVersion>=11&&$===110){var j=stringToBigInt(this.input.slice(R,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,j)}if(N&&/[89]/.test(this.input.slice(R,this.pos))){N=false}if($===46&&!N){++this.pos;this.readInt(10);$=this.input.charCodeAt(this.pos)}if(($===69||$===101)&&!N){$=this.input.charCodeAt(++this.pos);if($===43||$===45){++this.pos}if(this.readInt(10)===null){this.raise(R,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(R,this.pos),N);return this.finishToken(Te.num,q)};Kt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),R;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var N=++this.pos;R=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(R>1114111){this.invalidStringToken(N,"Code point out of bounds")}}else{R=this.readHexChar(4)}return R};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Kt.readString=function(E){var R="",N=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var $=this.input.charCodeAt(this.pos);if($===E){break}if($===92){R+=this.input.slice(N,this.pos);R+=this.readEscapedChar(false);N=this.pos}else{if(isNewLine($,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}R+=this.input.slice(N,this.pos++);return this.finishToken(Te.string,R)};var Qt={};Kt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Qt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Kt.invalidStringToken=function(E,R){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Qt}else{this.raise(E,R)}};Kt.readTmplToken=function(){var E="",R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var N=this.input.charCodeAt(this.pos);if(N===96||N===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Te.template||this.type===Te.invalidTemplate)){if(N===36){this.pos+=2;return this.finishToken(Te.dollarBraceL)}else{++this.pos;return this.finishToken(Te.backQuote)}}E+=this.input.slice(R,this.pos);return this.finishToken(Te.template,E)}if(N===92){E+=this.input.slice(R,this.pos);E+=this.readEscapedChar(true);R=this.pos}else if(isNewLine(N)){E+=this.input.slice(R,this.pos);++this.pos;switch(N){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(N);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}R=this.pos}else{++this.pos}}};Kt.readInvalidTemplateToken=function(){for(;this.pos=48&&R<=55){var $=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var j=parseInt($,8);if(j>255){$=$.slice(0,-1);j=parseInt($,8)}this.pos+=$.length-1;R=this.input.charCodeAt(this.pos);if(($!=="0"||R===56||R===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-$.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(j)}if(isNewLine(R)){return""}return String.fromCharCode(R)}};Kt.readHexChar=function(E){var R=this.pos;var N=this.readInt(16,E);if(N===null){this.invalidStringToken(R,"Bad character escape sequence")}return N};Kt.readWord1=function(){this.containsEsc=false;var E="",R=true,N=this.pos;var $=this.options.ecmaVersion>=6;while(this.pos{"use strict";const $=N(33839);const j=N(44084);const q=N(65821);const G=N(50666);const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const R=Object.assign({},E);if(E.mappings){R.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){R.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return R};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const R=Object.assign({},E);if(E.mappings){R.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){R.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return R};class CachedSource extends ${constructor(E,R){super();this._source=E;this._cachedSourceType=R?R.source:undefined;this._cachedSource=undefined;this._cachedBuffer=R?R.buffer:undefined;this._cachedSize=R?R.size:undefined;this._cachedMaps=R?R.maps:new Map;this._cachedHashUpdate=R?R.hash:undefined}getCachedData(){const E=new Map;for(const R of this._cachedMaps){let N=R[1];if(N.bufferedMap===undefined){N.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(N))}E.set(R[0],{map:undefined,bufferedMap:N.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const R=E?JSON.stringify(E):"{}";const N=this._cachedMaps.get(R);if(N!==undefined){const E=this._getMapFromCacheEntry(N);return{source:this.source(),map:E}}let $=this._getCachedSource();let j;if($!==undefined){j=this.original().map(E)}else{const R=this.original().sourceAndMap(E);$=R.source;j=R.map;this._cachedSource=$}this._cachedMaps.set(R,{map:j,bufferedMap:undefined});return{source:$,map:j}}streamChunks(E,R,N,$){const ie=E?JSON.stringify(E):"{}";if(this._cachedMaps.has(ie)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:G,map:ie}=this.sourceAndMap(E);if(ie){return j(G,ie,R,N,$,!!(E&&E.finalSource),true)}else{return q(G,R,N,$,!!(E&&E.finalSource))}}const{result:ae,source:le,map:_e}=G(this.original(),E,R,N,$);this._cachedSource=le;this._cachedMaps.set(ie,{map:_e,bufferedMap:undefined});return ae}map(E){const R=E?JSON.stringify(E):"{}";const N=this._cachedMaps.get(R);if(N!==undefined){return this._getMapFromCacheEntry(N)}const $=this.original().map(E);this._cachedMaps.set(R,{map:$,bufferedMap:undefined});return $}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const R of this._cachedHashUpdate)E.update(R);return}const R=[];let N=undefined;const $={update:E=>{if(typeof E==="string"&&E.length<10240){if(N===undefined){N=E}else{N+=E;if(N.length>102400){R.push(Buffer.from(N));N=undefined}}}else{if(N!==undefined){R.push(Buffer.from(N));N=undefined}R.push(E)}}};this.original().updateHash($);if(N!==undefined){R.push(Buffer.from(N))}for(const N of R)E.update(N);this._cachedHashUpdate=R}}E.exports=CachedSource},7961:(E,R,N)=>{"use strict";const $=N(33839);class CompatSource extends ${static from(E){return E instanceof $?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},96123:(E,R,N)=>{"use strict";const $=N(33839);const j=N(76274);const q=N(60715);const{getMap:G,getSourceAndMap:ie}=N(53562);const ae=new WeakSet;class ConcatSource extends ${constructor(){super();this._children=[];for(let E=0;E{const Ne=N+j;const Be=N===1?$+G:$;if(Ee){if(N!==1||$!==0){R(undefined,j+1,G,-1,-1,-1,-1)}Ee=false}const Le=q<0||q>=Ie.length?-1:Ie[q];const je=we<0||we>=Me.length?-1:Me[we];Te=Le<0?0:N;if(le){if(E!==undefined)_e+=E;if(Le>=0){R(undefined,Ne,Be,Le,ie,ae,je)}}else{if(Le<0){R(E,Ne,Be,-1,-1,-1,-1)}else{R(E,Ne,Be,Le,ie,ae,je)}}}),((E,R,$)=>{let j=ie.get(R);if(j===undefined){ie.set(R,j=ie.size);N(j,R,$)}Ie[E]=j}),((E,R)=>{let N=ae.get(R);if(N===undefined){ae.set(R,N=ae.size);$(N,R)}Me[E]=N}));if(Le!==undefined)_e+=Le;if(Ee){if(Ne!==1||Be!==0){R(undefined,j+1,G,-1,-1,-1,-1);Ee=false}}if(Ne>1){G=Be}else{G+=Be}Ee=Ee||le&&Te===Ne;j+=Ne-1}return{generatedLine:j+1,generatedColumn:G,source:le?_e:undefined}}updateHash(E){if(!this._isOptimized)this._optimize();E.update("ConcatSource");for(const R of this._children){R.updateHash(E)}}_optimize(){const E=[];let R=undefined;let N=undefined;const addStringToRawSources=E=>{if(N===undefined){N=E}else if(Array.isArray(N)){N.push(E)}else{N=[typeof N==="string"?N:N.source(),E]}};const addSourceToRawSources=E=>{if(N===undefined){N=E}else if(Array.isArray(N)){N.push(E.source())}else{N=[typeof N==="string"?N:N.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(N)){const R=new j(N.join(""));ae.add(R);E.push(R)}else if(typeof N==="string"){const R=new j(N);ae.add(R);E.push(R)}else{E.push(N)}};for(const $ of this._children){if(typeof $==="string"){if(R===undefined){R=$}else{R+=$}}else{if(R!==undefined){addStringToRawSources(R);R=undefined}if(ae.has($)){addSourceToRawSources($)}else{if(N!==undefined){mergeRawSources();N=undefined}E.push($)}}}if(R!==undefined){addStringToRawSources(R)}if(N!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},11176:(E,R,N)=>{"use strict";const{getMap:$,getSourceAndMap:j}=N(53562);const q=N(41286);const G=N(13597);const ie=N(33839);const ae=/[^\n;{}]+[;{} \r\t]*\n?|[;{} \r\t]+\n?|\n/g;class OriginalSource extends ie{constructor(E,R){super();const N=Buffer.isBuffer(E);this._value=N?undefined:E;this._valueAsBuffer=N?E:undefined;this._name=R}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return $(this,E)}sourceAndMap(E){return j(this,E)}streamChunks(E,R,N,$){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}N(0,this._name,this._value);const j=!!(E&&E.finalSource);if(!E||E.columns!==false){const E=this._value.match(ae);let N=1;let $=0;if(E!==null){for(const q of E){const E=q.endsWith("\n");if(E&&q.length===1){if(!j)R(q,N,$,-1,-1,-1,-1)}else{const E=j?undefined:q;R(E,N,$,0,N,$,-1)}if(E){N++;$=0}else{$+=q.length}}}return{generatedLine:N,generatedColumn:$,source:j?this._value:undefined}}else if(j){const E=G(this._value);const{generatedLine:N,generatedColumn:$}=E;if($===0){for(let E=1;E{"use strict";const $=N(33839);const j=N(76274);const q=N(60715);const{getMap:G,getSourceAndMap:ie}=N(53562);const ae=/\n(?=.|\s)/g;class PrefixSource extends ${constructor(E,R){super();this._source=typeof R==="string"||Buffer.isBuffer(R)?new j(R,true):R;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const R=this._prefix;return R+E.replace(ae,"\n"+R)}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,R,N,$){const j=this._prefix;const G=j.length;const ie=!!(E&&E.columns===false);const{generatedLine:le,generatedColumn:_e,source:Ee}=q(this._source,E,((E,N,$,q,ae,le,_e)=>{if($!==0){$+=G}else if(E!==undefined){if(ie||q<0){E=j+E}else if(G>0){R(j,N,$,-1,-1,-1,-1);$+=G}}else if(!ie){$+=G}R(E,N,$,q,ae,le,_e)}),N,$);return{generatedLine:le,generatedColumn:_e===0?0:G+_e,source:Ee!==undefined?j+Ee.replace(ae,"\n"+j):undefined}}updateHash(E){E.update("PrefixSource");this._source.updateHash(E);E.update(this._prefix)}}E.exports=PrefixSource},76274:(E,R,N)=>{"use strict";const $=N(65821);const j=N(33839);class RawSource extends j{constructor(E,R=false){super();const N=Buffer.isBuffer(E);if(!N&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!R&&N;this._value=R&&N?undefined:E;this._valueAsBuffer=N?E:undefined;this._valueAsString=N?undefined:E}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}streamChunks(E,R,N,j){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return $(this._valueAsString,R,N,j,!!(E&&E.finalSource))}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},79722:(E,R,N)=>{"use strict";const{getMap:$,getSourceAndMap:j}=N(53562);const q=N(60715);const G=N(33839);const ie=N(41286);const ae=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const le=536870912;class Replacement{constructor(E,R,N,$){this.start=E;this.end=R;this.content=N;this.name=$;if(!ae){this.index=-1}}}class ReplaceSource extends G{constructor(E,R){super();this._source=E;this._name=R;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(E,R,N,$){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N);this._replacements.push(new Replacement(E,R,N,$));this._isSorted=false}insert(E,R,N){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R+": "+R);this._replacements.push(new Replacement(E,E-1,R,N));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let E=this._source.source();let R=0;const N=[];this._sortReplacements();for(const $ of this._replacements){const j=Math.floor($.start);const q=Math.floor($.end+1);if(RE.index=R));this._replacements.sort((function(E,R){const N=E.start-R.start;if(N!==0)return N;const $=E.end-R.end;if($!==0)return $;return E.index-R.index}))}this._isSorted=true}streamChunks(E,R,N,$){this._sortReplacements();const j=this._replacements;let G=0;let ae=0;let _e=-1;let Ee=ae{let j=E{let ze=0;let Ue=G+E.length;if(_e>G){if(_e>=Ue){const R=N+we;if(E.endsWith("\n")){we--;if(Me===R){Ie+=q}}else if(Me===R){Ie-=E.length}else{Ie=-E.length;Me=R}G=Ue;return}ze=_e-G;if(checkOriginalContent(ie,Te,Le,E.slice(0,ze))){Le+=ze}G+=ze;const R=N+we;if(Me===R){Ie-=ze}else{Ie=-ze;Me=R}q+=ze}if(EeG){const N=Ee-G;const $=E.slice(ze,ze+N);R($,qe,q+(qe===Me?Ie:0),ie,Te,Le,je<0||je>=Be.length?-1:Be[je]);q+=N;ze+=N;G=Ee;if(checkOriginalContent(ie,Te,Le,$)){Le+=$.length}}const Ge=/[^\n]+\n?|\n/g;const{content:He,name:We}=j[ae];let Ve=Ge.exec(He);let Ke=je;if(ie>=0&&We){let E=Ne.get(We);if(E===undefined){E=Ne.size;Ne.set(We,E);$(E,We)}Ke=E}while(Ve!==null){const E=Ve[0];R(E,qe,q+(qe===Me?Ie:0),ie,Te,Le,Ke);Ke=-1;Ve=Ge.exec(He);if(Ve===null&&!E.endsWith("\n")){if(Me===qe){Ie+=E.length}else{Ie=E.length;Me=qe}}else{we++;qe++;Ie=-q;Me=qe}}_e=Math.max(_e,Math.floor(j[ae].end+1));ae++;Ee=ae0){if(_e>=Ue){let R=N+we;if(E.endsWith("\n")){we--;if(Me===R){Ie+=q}}else if(Me===R){Ie-=E.length-ze}else{Ie=ze-E.length;Me=R}G=Ue;return}const R=N+we;if(checkOriginalContent(ie,Te,Le,E.slice(ze,ze+Qe))){Le+=Qe}ze+=Qe;G+=Qe;if(Me===R){Ie-=Qe}else{Ie=-Qe;Me=R}q+=Qe}}while(Ee{while(Te.length{let N=Ne.get(R);if(N===undefined){N=Ne.size;Ne.set(R,N);$(N,R)}Be[E]=N}));let ze="";for(;ae{"use strict";const $=N(33839);class SizeOnlySource extends ${constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},33839:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},82340:(E,R,N)=>{"use strict";const $=N(33839);const j=N(44084);const q=N(86924);const{getMap:G,getSourceAndMap:ie}=N(53562);class SourceMapSource extends ${constructor(E,R,N,$,j,q){super();const G=Buffer.isBuffer(E);this._valueAsString=G?undefined:E;this._valueAsBuffer=G?E:undefined;this._name=R;this._hasSourceMap=!!N;const ie=Buffer.isBuffer(N);const ae=typeof N==="string";this._sourceMapAsObject=ie||ae?undefined:N;this._sourceMapAsString=ae?N:undefined;this._sourceMapAsBuffer=ie?N:undefined;this._hasOriginalSource=!!$;const le=Buffer.isBuffer($);this._originalSourceAsString=le?undefined:$;this._originalSourceAsBuffer=le?$:undefined;this._hasInnerSourceMap=!!j;const _e=Buffer.isBuffer(j);const Ee=typeof j==="string";this._innerSourceMapAsObject=_e||Ee?undefined:j;this._innerSourceMapAsString=Ee?j:undefined;this._innerSourceMapAsBuffer=_e?j:undefined;this._removeOriginalSource=q}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return G(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return ie(this,E)}streamChunks(E,R,N,$){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return q(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,R,N,$,!!(E&&E.finalSource),!!(E&&E.columns!==false))}else{return j(this._valueAsString,this._sourceMapAsObject,R,N,$,!!(E&&E.finalSource),!!(E&&E.columns!==false))}}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},47310:E=>{"use strict";const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const N=32;const createMappingsSerializer=E=>{const R=E&&E.columns===false;return R?createLinesOnlyMappingsSerializer():createFullMappingsSerializer()};const createFullMappingsSerializer=()=>{let E=1;let $=0;let j=0;let q=1;let G=0;let ie=0;let ae=false;let le=false;let _e=true;return(Ee,we,Ie,Me,Te,Ne)=>{if(ae&&E===Ee){if(Ie===j&&Me===q&&Te===G&&!le&&Ne<0){return""}}else{if(Ie<0){return""}}let Be;if(E{const $=E>>>31&1;const j=E>>31;const q=E+j^j;let G=q<<1|$;for(;;){const E=G&31;G>>=5;if(G===0){Be+=R[E];break}else{Be+=R[E|N]}}};writeValue(we-$);$=we;if(Ie>=0){ae=true;if(Ie===j){Be+="A"}else{writeValue(Ie-j);j=Ie}writeValue(Me-q);q=Me;if(Te===G){Be+="A"}else{writeValue(Te-G);G=Te}if(Ne>=0){writeValue(Ne-ie);ie=Ne;le=true}else{le=false}}else{ae=false}return Be}};const createLinesOnlyMappingsSerializer=()=>{let E=0;let $=1;let j=0;let q=1;return(G,ie,ae,le,_e,Ee)=>{if(ae<0){return""}if(E===G){return""}let we;const writeValue=E=>{const $=E>>>31&1;const j=E>>31;const q=E+j^j;let G=q<<1|$;for(;;){const E=G&31;G>>=5;if(G===0){we+=R[E];break}else{we+=R[E|N]}}};E=G;if(G===$+1){$=G;if(ae===j){j=ae;if(le===q+1){q=le;return";AACA"}else{we=";AA";writeValue(le-q);q=le;return we+"A"}}else{we=";A";writeValue(ae-j);j=ae;writeValue(le-q);q=le;return we+"A"}}else{we=";".repeat(G-$);$=G;if(ae===j){j=ae;if(le===q+1){q=le;return we+"AACA"}else{we+="AA";writeValue(le-q);q=le;return we+"A"}}else{we+="A";writeValue(ae-j);j=ae;writeValue(le-q);q=le;return we+"A"}}}};E.exports=createMappingsSerializer},53562:(E,R,N)=>{"use strict";const $=N(47310);R.getSourceAndMap=(E,R)=>{let N="";let j="";let q=[];let G=[];let ie=[];const ae=$(R);const{source:le}=E.streamChunks(Object.assign({},R,{finalSource:true}),((E,R,$,q,G,ie,le)=>{if(E!==undefined)N+=E;j+=ae(R,$,q,G,ie,le)}),((E,R,N)=>{while(q.length{while(ie.length0?{version:3,file:"x",mappings:j,sources:q,sourcesContent:G.length>0?G:undefined,names:ie}:null}};R.getMap=(E,R)=>{let N="";let j=[];let q=[];let G=[];const ie=$(R);E.streamChunks(Object.assign({},R,{source:false,finalSource:true}),((E,R,$,j,q,G,ae)=>{N+=ie(R,$,j,q,G,ae)}),((E,R,N)=>{while(j.length{while(G.length0?{version:3,file:"x",mappings:N,sources:j,sourcesContent:q.length>0?q:undefined,names:G}:null}},13597:E=>{"use strict";const R="\n".charCodeAt(0);const getGeneratedSourceInfo=E=>{if(E===undefined){return{}}const N=E.lastIndexOf("\n");if(N===-1){return{generatedLine:1,generatedColumn:E.length,source:E}}let $=2;for(let j=0;j{"use strict";const getSource=(E,R)=>{if(R<0)return null;const{sourceRoot:N,sources:$}=E;const j=$[R];if(!N)return j;if(N.endsWith("/"))return N+j;return N+"/"+j};E.exports=getSource},93581:E=>{"use strict";const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const N=32;const $=64;const j=$|1;const q=$|2;const G=31;const ie=new Uint8Array("z".charCodeAt(0)+1);{ie.fill(q);for(let E=0;E{const q=new Uint32Array([0,0,1,0,0]);let le=0;let _e=0;let Ee=0;let we=1;let Ie=-1;for(let Me=0;Meae)continue;const Ne=ie[Te];if((Ne&$)!==0){if(q[0]>Ie){if(le===1){R(we,q[0],-1,-1,-1,-1)}else if(le===4){R(we,q[0],q[1],q[2],q[3],-1)}else if(le===5){R(we,q[0],q[1],q[2],q[3],q[4])}Ie=q[0]}le=0;if(Ne===j){we++;q[0]=0;Ie=-1}}else if((Ne&N)===0){_e|=Ne<>1):_e>>1;q[le++]+=E;Ee=0;_e=0}else{_e|=(Ne&G)<{const splitIntoLines=E=>{const R=[];const N=E.length;let $=0;for(;${"use strict";const $=N(47310);const j=N(60715);const streamAndGetSourceAndMap=(E,R,N,q,G)=>{let ie="";let ae="";let le=[];let _e=[];let Ee=[];const we=$(Object.assign({},R,{columns:true}));const Ie=!!(R&&R.finalSource);const{generatedLine:Me,generatedColumn:Te,source:Ne}=j(E,R,((E,R,$,j,q,G,le)=>{if(E!==undefined)ie+=E;ae+=we(R,$,j,q,G,le);return N(Ie?undefined:E,R,$,j,q,G,le)}),((E,R,N)=>{while(le.length{while(Ee.length0?{version:3,file:"x",mappings:ae,sources:le,sourcesContent:_e.length>0?_e:undefined,names:Ee}:null}};E.exports=streamAndGetSourceAndMap},60715:(E,R,N)=>{"use strict";const $=N(65821);const j=N(44084);E.exports=(E,R,N,q,G)=>{if(typeof E.streamChunks==="function"){return E.streamChunks(R,N,q,G)}else{const ie=E.sourceAndMap(R);if(ie.map){return j(ie.source,ie.map,N,q,G,!!(R&&R.finalSource),!!(R&&R.columns!==false))}else{return $(ie.source,N,q,G,!!(R&&R.finalSource))}}}},86924:(E,R,N)=>{"use strict";const $=N(44084);const j=N(41286);const streamChunksOfCombinedSourceMap=(E,R,N,q,G,ie,ae,le,_e,Ee,we)=>{let Ie=new Map;let Me=new Map;const Te=[];const Ne=[];const Be=[];let Le=-2;const je=[];const ze=[];const Ue=[];const qe=[];const Ge=[];const He=[];const We=[];const findInnerMapping=(E,R)=>{if(E>We.length)return-1;const{mappingsData:N}=We[E-1];let $=0;let j=N.length/5;while($>1;if(N[E*5]<=R){$=E+1}else{j=E}}if($===0)return-1;return $-1};return $(E,R,((R,$,G,Ee,we,Ve,Ke)=>{if(Ee===Le){const Le=findInnerMapping(we,Ve);if(Le!==-1){const{chunks:E,mappingsData:N}=We[we-1];const q=Le*5;const ie=N[q+1];const Ee=N[q+2];let Te=N[q+3];let Qe=N[q+4];if(ie>=0){const we=E[Le];const We=N[q];const Je=Ve-We;if(Je>0){let E=ie=0){Ye=Qe=0){let E=qe[ie];if(E===undefined){const R=Ue[ie];E=R?j(R):null;qe[ie]=E}if(E!==null){const R=Be[Ke];const N=Ee<=E.length?E[Ee-1].slice(Te,Te+R.length):"";if(R===N){Ye=Ke=Te.length?-1:Te[Ee];if(Qe<0){ae(R,$,G,-1,-1,-1,-1)}else{let E=-1;if(Ke>=0&&Ke{if(R===N){Le=E;if(q!==undefined)j=q;else q=j;Te[E]=-2;$(j,G,((E,R,N,$,j,q,G)=>{while(We.length{Ue[E]=N;qe[E]=undefined;je[E]=-2;ze[E]=[R,N]}),((E,R)=>{Ge[E]=-2;He[E]=R}),false,we)}else{let N=Ie.get(R);if(N===undefined){Ie.set(R,N=Ie.size);le(N,R,j)}Te[E]=N}}),((E,R)=>{Ne[E]=-2;Be[E]=R}),Ee,we)};E.exports=streamChunksOfCombinedSourceMap},65821:(E,R,N)=>{"use strict";const $=N(13597);const j=N(41286);const streamChunksOfRawSource=(E,R,N,$)=>{let q=1;const G=j(E);let ie;for(ie of G){R(ie,q,0,-1,-1,-1,-1);q++}return G.length===0||ie.endsWith("\n")?{generatedLine:G.length+1,generatedColumn:0}:{generatedLine:G.length,generatedColumn:ie.length}};E.exports=(E,R,N,j,q)=>q?$(E):streamChunksOfRawSource(E,R,N,j)},44084:(E,R,N)=>{"use strict";const $=N(13597);const j=N(86507);const q=N(93581);const G=N(41286);const streamChunksOfSourceMapFull=(E,R,N,$,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:le,sourcesContent:_e,names:Ee,mappings:we}=R;for(let E=0;E{if(je&&Be<=ae.length){let $;const j=Be;const q=Le;const G=ae[Be-1];if(E!==Be){$=G.slice(Le);Be++;Le=0}else{$=G.slice(Le,R);Le=R}if($){N($,j,q,ze,Ue,qe,Ge)}je=false}if(E>Be&&Le>0){if(Be<=ae.length){const E=ae[Be-1].slice(Le);N(E,Be,Le,-1,-1,-1,-1)}Be++;Le=0}while(E>Be){if(Be<=ae.length){N(ae[Be-1],Be,0,-1,-1,-1,-1)}Be++}if(R>Le){if(Be<=ae.length){const E=ae[Be-1].slice(Le,R);N(E,Be,Le,-1,-1,-1,-1)}Le=R}if($>=0&&(E{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:le,sourcesContent:_e,mappings:Ee}=R;for(let E=0;E{if($<0||Eae.length){return}while(E>we){if(we<=ae.length){N(ae[we-1],we,0,-1,-1,-1,-1)}we++}if(E<=ae.length){N(ae[E-1],E,0,$,j,q,-1);we++}};q(Ee,onMapping);for(;we<=ae.length;we++){N(ae[we-1],we,0,-1,-1,-1,-1)}const Ie=ae[ae.length-1];const Me=Ie.endsWith("\n");const Te=Me?ae.length+1:ae.length;const Ne=Me?0:Ie.length;return{generatedLine:Te,generatedColumn:Ne}};const streamChunksOfSourceMapFinal=(E,R,N,G,ie)=>{const ae=$(E);const{generatedLine:le,generatedColumn:_e}=ae;if(le===1&&_e===0)return ae;const{sources:Ee,sourcesContent:we,names:Ie,mappings:Me}=R;for(let E=0;E{if(E>=le&&(R>=_e||E>le)){return}if($>=0){N(undefined,E,R,$,j,q,G);Te=E}else if(Te===E){N(undefined,E,R,-1,-1,-1,-1);Te=0}};q(Me,onMapping);return ae};const streamChunksOfSourceMapLinesFinal=(E,R,N,G,ie)=>{const ae=$(E);const{generatedLine:le,generatedColumn:_e}=ae;if(le===1&&_e===0){return{generatedLine:1,generatedColumn:0}}const{sources:Ee,sourcesContent:we,mappings:Ie}=R;for(let E=0;E{if($>=0&&Te<=E&&E<=Me){N(undefined,E,0,$,j,q,-1);Te=E+1}};q(Ie,onMapping);return ae};E.exports=(E,R,N,$,j,q,G)=>{if(G){return q?streamChunksOfSourceMapFinal(E,R,N,$,j):streamChunksOfSourceMapFull(E,R,N,$,j)}else{return q?streamChunksOfSourceMapLinesFinal(E,R,N,$,j):streamChunksOfSourceMapLinesFull(E,R,N,$,j)}}},48135:(E,R,N)=>{const defineExport=(E,N)=>{let $;Object.defineProperty(R,E,{get:()=>{if(N!==undefined){$=N();N=undefined}return $},configurable:true})};defineExport("Source",(()=>N(33839)));defineExport("RawSource",(()=>N(76274)));defineExport("OriginalSource",(()=>N(11176)));defineExport("SourceMapSource",(()=>N(82340)));defineExport("CachedSource",(()=>N(76185)));defineExport("ConcatSource",(()=>N(96123)));defineExport("ReplaceSource",(()=>N(79722)));defineExport("PrefixSource",(()=>N(96276)));defineExport("SizeOnlySource",(()=>N(93883)));defineExport("CompatSource",(()=>N(7961)))},63221:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=$e,E.exports["default"]=$e;const N={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},$=Object.prototype.hasOwnProperty,j={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:N="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,le=0;const _e=le;let Ee=!1;const we=le;if(!1!==E){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Ie=we===le;if(Ee=Ee||Ie,!Ee){const N=le;if(le==le)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.type&&(R="type")){const E={params:{missingProperty:R}};null===ae?ae=[E]:ae.push(E),le++}else{const R=le;for(const R in E)if("cacheUnaffected"!==R&&"maxGenerations"!==R&&"type"!==R){const E={params:{additionalProperty:R}};null===ae?ae=[E]:ae.push(E),le++;break}if(R===le){if(void 0!==E.cacheUnaffected){const R=le;if("boolean"!=typeof E.cacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}var Me=R===le}else Me=!0;if(Me){if(void 0!==E.maxGenerations){let R=E.maxGenerations;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<1||isNaN(R)){const E={params:{comparison:">=",limit:1}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Me=N===le}else Me=!0;if(Me)if(void 0!==E.type){const R=le;if("memory"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Me=R===le}else Me=!0}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),le++}if(Ie=N===le,Ee=Ee||Ie,!Ee){const N=le;if(le==le)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.type&&(N="type")){const E={params:{missingProperty:N}};null===ae?ae=[E]:ae.push(E),le++}else{const N=le;for(const R in E)if(!$.call(j,R)){const E={params:{additionalProperty:R}};null===ae?ae=[E]:ae.push(E),le++;break}if(N===le){if(void 0!==E.allowCollectingMemory){const R=le;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}var Te=R===le}else Te=!0;if(Te){if(void 0!==E.buildDependencies){let R=E.buildDependencies;const N=le;if(le===N)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=le;if(le===$)if(Array.isArray(N)){const E=N.length;for(let R=0;R=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.idleTimeoutAfterLargeChanges){let R=E.idleTimeoutAfterLargeChanges;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.idleTimeoutForInitialStore){let R=E.idleTimeoutForInitialStore;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.immutablePaths){let N=E.immutablePaths;const $=le;if(le===$)if(Array.isArray(N)){const E=N.length;for(let $=0;$=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.maxMemoryGenerations){let R=E.maxMemoryGenerations;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.memoryCacheUnaffected){const R=le;if("boolean"!=typeof E.memoryCacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.name){const R=le;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.profile){const R=le;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.store){const R=le;if("pack"!==E.store){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.type){const R=le;if("filesystem"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te)if(void 0!==E.version){const R=le;if("string"!=typeof E.version){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0}}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),le++}Ie=N===le,Ee=Ee||Ie}}if(!Ee){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,s.errors=ae,!1}return le=_e,null!==ae&&(_e?ae.length=_e:ae=null),s.errors=ae,0===le}function o(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const ie=G;s(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}const q={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const R=G,N=G;let $=!1;const j=G;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var Ee=j===G;if($=$||Ee,!$){const R=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G,$=$||Ee}if($)G=N,null!==q&&(N?q.length=N:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function l(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let le=!1,_e=null;const Ee=ie,we=ie;let Ie=!1;const Me=ie;if(ie===Me)if("string"==typeof E){if(E.includes("!")||!1!==R.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Te=Me===ie;if(Ie=Ie||Te,!Ie){const R=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=R===ie,Ie=Ie||Te}if(Ie)ie=we,null!==G&&(we?G.length=we:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(Ee===ie&&(le=!0,_e=0),!le){const E={params:{passingSchemas:_e}};return null===G?G=[E]:G.push(E),ie++,l.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),l.errors=G,0===ie}function p(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const R=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("amd"!==R&&"commonjs"!==R&&"commonjs2"!==R&&"root"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.amd){const R=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.commonjs){const R=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.commonjs2){const R=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee)if(void 0!==E.root){const R=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),p.errors=q,0===G}function f(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const R=E.length;for(let N=0;N1){const $={};for(;N--;){let j=R[N];if("string"==typeof j){if("number"==typeof $[j]){E=$[j];const R={params:{i:N,j:E}};null===ie?ie=[R]:ie.push(R),ae++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if(j=j||Ee,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,j=j||Ee}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.filename){const N=ae;l(E.filename,{instancePath:R+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?l.errors:ie.concat(l.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.import){let R=E.import;const N=ae,$=ae;let j=!1;const q=ae;if(ae===q)if(Array.isArray(R))if(R.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var we=!0;const E=R.length;for(let N=0;N1){const $={};for(;N--;){let j=R[N];if("string"==typeof j){if("number"==typeof $[j]){E=$[j];const R={params:{i:N,j:E}};null===ie?ie=[R]:ie.push(R),ae++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if(j=j||Ie,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,j=j||Ie}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.layer){let R=E.layer;const N=ae,$=ae;let j=!1;const q=ae;if(null!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Me=q===ae;if(j=j||Me,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,j=j||Me}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.library){const N=ae;u(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?u.errors:ie.concat(u.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.publicPath){const N=ae;c(E.publicPath,{instancePath:R+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.runtime){let R=E.runtime;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.wasmLoading){const N=ae;m(E.wasmLoading,{instancePath:R+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),le=N===ae}else le=!0}}}}}}}}}}}return y.errors=ie,0===ae}function h(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const N in E){let $=E[N];const _e=G,Ee=G;let we=!1;const Ie=G,Me=G;let Te=!1;const Ne=G;if(G===Ne)if(Array.isArray($))if($.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var ie=!0;const E=$.length;for(let R=0;R1){const N={};for(;R--;){let j=$[R];if("string"==typeof j){if("number"==typeof N[j]){E=N[j];const $={params:{i:R,j:E}};null===q?q=[$]:q.push($),G++;break}N[j]=R}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=Ne===G;if(Te=Te||ae,!Te){const E=G;if(G===E)if("string"==typeof $){if($.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,Te=Te||ae}if(Te)G=Me,null!==q&&(Me?q.length=Me:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=Ie===G;if(we=we||le,!we){const ie=G;y($,{instancePath:R+"/"+N.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:N,rootData:j})||(q=null===q?y.errors:q.concat(y.errors),G=q.length),le=ie===G,we=we||le}if(!we){const E={params:{}};return null===q?q=[E]:q.push(E),G++,h.errors=q,!1}if(G=Ee,null!==q&&(Ee?q.length=Ee:q=null),_e!==G)break}}return h.errors=q,0===G}function d(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1,le=null;const _e=G,Ee=G;let we=!1;const Ie=G;if(G===Ie)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var Me=!0;const R=E.length;for(let N=0;N1){const $={};for(;N--;){let j=E[N];if("string"==typeof j){if("number"==typeof $[j]){R=$[j];const E={params:{i:N,j:R}};null===q?q=[E]:q.push(E),G++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Te=Ie===G;if(we=we||Te,!we){const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Te=R===G,we=we||Te}if(we)G=Ee,null!==q&&(Ee?q.length=Ee:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(_e===G&&(ae=!0,le=0),!ae){const E={params:{passingSchemas:le}};return null===q?q=[E]:q.push(E),G++,d.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),d.errors=q,0===G}function g(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;h(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var _e=le===G;if(ae=ae||_e,!ae){const ie=G;d(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?d.errors:q.concat(d.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),g.errors=q,0===G}function b(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const ie=G;g(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,b.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),b.errors=q,0===G}const G={asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}},ie=new RegExp("^https?://","u");function P(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ae=G;let le=!1,_e=null;const Ee=G;if(G==G)if(Array.isArray(E)){const R=E.length;for(let N=0;N=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=Ie===ae;if(we=we||Ee,!we){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,we=we||Ee}if(we)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.filename){let N=E.filename;const $=ae,j=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var we=G===ae;if(q=q||we,!q){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,q=q||we}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=$===ae}else le=!0;if(le){if(void 0!==E.idHint){const R=ae;if("string"!=typeof E.idHint)return pe.errors=[{params:{type:"string"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.layer){let R=E.layer;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if(j=j||Ie,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ie=E===ae,j=j||Ie,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,j=j||Ie}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncRequests){let R=E.maxAsyncRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncSize){let R=E.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=we===ae;if(Ee=Ee||Me,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,Ee=Ee||Me}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialRequests){let R=E.maxInitialRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialSize){let R=E.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=we===ae;if(Ee=Ee||Te,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,Ee=Ee||Te}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxSize){let R=E.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=we===ae;if(Ee=Ee||Ne,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,Ee=Ee||Ne}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minChunks){let R=E.minChunks;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.minRemainingSize){let R=E.minRemainingSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=we===ae;if(Ee=Ee||Be,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,Ee=Ee||Be}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSize){let R=E.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=we===ae;if(Ee=Ee||je,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,Ee=Ee||je}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSizeReduction){let R=E.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=we===ae;if(Ee=Ee||ze,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,Ee=Ee||ze}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.name){let R=E.name;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=q===ae;if(j=j||Ue,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ue=E===ae,j=j||Ue,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ue=E===ae,j=j||Ue}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.priority){let R=E.priority;const N=ae;if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.reuseExistingChunk){const R=ae;if("boolean"!=typeof E.reuseExistingChunk)return pe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.test){let R=E.test;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var qe=q===ae;if(j=j||qe,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(qe=E===ae,j=j||qe,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,j=j||qe}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.type){let R=E.type;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=q===ae;if(j=j||Ge,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ge=E===ae,j=j||Ge,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,j=j||Ge}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.usedExports){const R=ae;if("boolean"!=typeof E.usedExports)return pe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=ie,0===ae}function fe(E,{instancePath:N="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return fe.errors=[{params:{type:"object"}}],!1;{const j=ae;for(const R in E)if(!$.call(Be,R))return fe.errors=[{params:{additionalProperty:R}}],!1;if(j===ae){if(void 0!==E.automaticNameDelimiter){let R=E.automaticNameDelimiter;const N=ae;if(ae===N){if("string"!=typeof R)return fe.errors=[{params:{type:"string"}}],!1;if(R.length<1)return fe.errors=[{params:{}}],!1}var le=N===ae}else le=!0;if(le){if(void 0!==E.cacheGroups){let R=E.cacheGroups;const $=ae,j=ae,q=ae;if(ae===q)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.test&&(E="test")){const E={};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==R.test){let E=R.test;const N=ae;let $=!1;const j=ae;if(!(E instanceof RegExp)){const E={};null===ie?ie=[E]:ie.push(E),ae++}var _e=j===ae;if($=$||_e,!$){const R=ae;if("string"!=typeof E){const E={};null===ie?ie=[E]:ie.push(E),ae++}if(_e=R===ae,$=$||_e,!$){const R=ae;if(!(E instanceof Function)){const E={};null===ie?ie=[E]:ie.push(E),ae++}_e=R===ae,$=$||_e}}if($)ae=N,null!==ie&&(N?ie.length=N:ie=null);else{const E={};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae)return fe.errors=[{params:{}}],!1;if(ae=j,null!==ie&&(j?ie.length=j:ie=null),ae===$){if(!R||"object"!=typeof R||Array.isArray(R))return fe.errors=[{params:{type:"object"}}],!1;for(const E in R){let $=R[E];const j=ae,q=ae;let le=!1;const _e=ae;if(!1!==$){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=_e===ae;if(le=le||Ee,!le){const j=ae;if(!($ instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;if("string"!=typeof $){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;if(!($ instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;pe($,{instancePath:N+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:R,parentDataProperty:E,rootData:G})||(ie=null===ie?pe.errors:ie.concat(pe.errors),ae=ie.length),Ee=j===ae,le=le||Ee}}}}if(!le){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),j!==ae)break}}le=$===ae}else le=!0;if(le){if(void 0!==E.chunks){let R=E.chunks;const N=ae,$=ae;let j=!1;const q=ae;if("initial"!==R&&"async"!==R&&"all"!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if(j=j||we,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,j=j||we}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.defaultSizeTypes){let R=E.defaultSizeTypes;const N=ae;if(ae===N){if(!Array.isArray(R))return fe.errors=[{params:{type:"array"}}],!1;if(R.length<1)return fe.errors=[{params:{limit:1}}],!1;{const E=R.length;for(let N=0;N=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=we===ae;if(Ee=Ee||Ie,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,Ee=Ee||Ie}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.fallbackCacheGroup){let R=E.fallbackCacheGroup;const N=ae;if(ae===N){if(!R||"object"!=typeof R||Array.isArray(R))return fe.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in R)if("automaticNameDelimiter"!==E&&"chunks"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E&&"minSizeReduction"!==E)return fe.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==R.automaticNameDelimiter){let E=R.automaticNameDelimiter;const N=ae;if(ae===N){if("string"!=typeof E)return fe.errors=[{params:{type:"string"}}],!1;if(E.length<1)return fe.errors=[{params:{}}],!1}var Me=N===ae}else Me=!0;if(Me){if(void 0!==R.chunks){let E=R.chunks;const N=ae,$=ae;let j=!1;const q=ae;if("initial"!==E&&"async"!==E&&"all"!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const R=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=R===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.maxAsyncSize){let E=R.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Ee===ae;if(_e=_e||Ne,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=R===ae,_e=_e||Ne}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.maxInitialSize){let E=R.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=Ee===ae;if(_e=_e||Le,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Le=R===ae,_e=_e||Le}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.maxSize){let E=R.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=Ee===ae;if(_e=_e||je,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=R===ae,_e=_e||je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.minSize){let E=R.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=Ee===ae;if(_e=_e||ze,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}ze=R===ae,_e=_e||ze}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me)if(void 0!==R.minSizeReduction){let E=R.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=Ee===ae;if(_e=_e||Ue,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=R===ae,_e=_e||Ue}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0}}}}}}}}le=N===ae}else le=!0;if(le){if(void 0!==E.filename){let N=E.filename;const $=ae,j=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var qe=G===ae;if(q=q||qe,!q){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,q=q||qe}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=$===ae}else le=!0;if(le){if(void 0!==E.hidePathInfo){const R=ae;if("boolean"!=typeof E.hidePathInfo)return fe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.maxAsyncRequests){let R=E.maxAsyncRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncSize){let R=E.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=we===ae;if(Ee=Ee||Ge,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,Ee=Ee||Ge}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialRequests){let R=E.maxInitialRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialSize){let R=E.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var He=we===ae;if(Ee=Ee||He,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}He=E===ae,Ee=Ee||He}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxSize){let R=E.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var We=we===ae;if(Ee=Ee||We,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,Ee=Ee||We}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minChunks){let R=E.minChunks;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.minRemainingSize){let R=E.minRemainingSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ve=we===ae;if(Ee=Ee||Ve,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ve=E===ae,Ee=Ee||Ve}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSize){let R=E.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ke=we===ae;if(Ee=Ee||Ke,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ke=E===ae,Ee=Ee||Ke}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSizeReduction){let R=E.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Qe=we===ae;if(Ee=Ee||Qe,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Qe=E===ae,Ee=Ee||Qe}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.name){let R=E.name;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Je=q===ae;if(j=j||Je,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Je=E===ae,j=j||Je,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,j=j||Je}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.usedExports){const R=ae;if("boolean"!=typeof E.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0}}}}}}}}}}}}}}}}}}}}return fe.errors=ie,0===ae}function ue(E,{instancePath:R="",parentData:N,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return ue.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if(!$.call(Ne,R))return ue.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.checkWasmTypes){const R=ie;if("boolean"!=typeof E.checkWasmTypes)return ue.errors=[{params:{type:"boolean"}}],!1;var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.chunkIds){let R=E.chunkIds;const N=ie;if("natural"!==R&&"named"!==R&&"deterministic"!==R&&"size"!==R&&"total-size"!==R&&!1!==R)return ue.errors=[{params:{}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.concatenateModules){const R=ie;if("boolean"!=typeof E.concatenateModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.emitOnErrors){const R=ie;if("boolean"!=typeof E.emitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.flagIncludedChunks){const R=ie;if("boolean"!=typeof E.flagIncludedChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.innerGraph){const R=ie;if("boolean"!=typeof E.innerGraph)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mangleExports){let R=E.mangleExports;const N=ie,$=ie;let j=!1;const q=ie;if("size"!==R&&"deterministic"!==R){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if(j=j||le,!j){const E=ie;if("boolean"!=typeof R){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}le=E===ie,j=j||le}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mangleWasmImports){const R=ie;if("boolean"!=typeof E.mangleWasmImports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mergeDuplicateChunks){const R=ie;if("boolean"!=typeof E.mergeDuplicateChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.minimize){const R=ie;if("boolean"!=typeof E.minimize)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.minimizer){let R=E.minimizer;const N=ie;if(ie===N){if(!Array.isArray(R))return ue.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let N=0;N=",limit:1}}],!1}_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hashFunction){let R=E.hashFunction;const N=ae,$=ae;let j=!1;const q=ae;if(ae===q)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hashSalt){let R=E.hashSalt;const N=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.length<1)return De.errors=[{params:{}}],!1}_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateChunkFilename){let N=E.hotUpdateChunkFilename;const $=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!1!==R.test(N))return De.errors=[{params:{}}],!1}_e=$===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateGlobal){const R=ae;if("string"!=typeof E.hotUpdateGlobal)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateMainFilename){let N=E.hotUpdateMainFilename;const $=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!1!==R.test(N))return De.errors=[{params:{}}],!1}_e=$===ae}else _e=!0;if(_e){if(void 0!==E.iife){const R=ae;if("boolean"!=typeof E.iife)return De.errors=[{params:{type:"boolean"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.importFunctionName){const R=ae;if("string"!=typeof E.importFunctionName)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.importMetaName){const R=ae;if("string"!=typeof E.importMetaName)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.library){const R=ae;ve(E.library,{instancePath:N+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?ve.errors:ie.concat(ve.errors),ae=ie.length),_e=R===ae}else _e=!0;if(_e){if(void 0!==E.libraryExport){let R=E.libraryExport;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let Ee=!1;const we=ae;if(ae===we)if(Array.isArray(R)){const E=R.length;for(let N=0;N=",limit:1}}],!1}Ee=N===le}else Ee=!0;if(Ee){if(void 0!==E.performance){const R=le;Pe(E.performance,{instancePath:j+"/performance",parentData:E,parentDataProperty:"performance",rootData:ie})||(ae=null===ae?Pe.errors:ae.concat(Pe.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.plugins){const R=le;Ae(E.plugins,{instancePath:j+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ie})||(ae=null===ae?Ae.errors:ae.concat(Ae.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.profile){const R=le;if("boolean"!=typeof E.profile)return $e.errors=[{params:{type:"boolean"}}],!1;Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.recordsInputPath){let N=E.recordsInputPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Ne=G===le;if(q=q||Ne,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Ne=E===le,q=q||Ne}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.recordsOutputPath){let N=E.recordsOutputPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Be=G===le;if(q=q||Be,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Be=E===le,q=q||Be}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.recordsPath){let N=E.recordsPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Le=G===le;if(q=q||Le,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Le=E===le,q=q||Le}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.resolve){const R=le;xe(E.resolve,{instancePath:j+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ie})||(ae=null===ae?xe.errors:ae.concat(xe.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.resolveLoader){const R=le;ke(E.resolveLoader,{instancePath:j+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ie})||(ae=null===ae?ke.errors:ae.concat(ke.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.snapshot){let N=E.snapshot;const $=le;if(le==le){if(!N||"object"!=typeof N||Array.isArray(N))return $e.errors=[{params:{type:"object"}}],!1;{const E=le;for(const E in N)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===le){if(void 0!==N.buildDependencies){let E=N.buildDependencies;const R=le;if(le===R){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const R=le;for(const R in E)if("hash"!==R&&"timestamp"!==R)return $e.errors=[{params:{additionalProperty:R}}],!1;if(R===le){if(void 0!==E.hash){const R=le;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var je=R===le}else je=!0;if(je)if(void 0!==E.timestamp){const R=le;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;je=R===le}else je=!0}}}var ze=R===le}else ze=!0;if(ze){if(void 0!==N.immutablePaths){let E=N.immutablePaths;const $=le;if(le===$){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let $=0;${"use strict";function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.path&&(R="path"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("context"!==R&&"entryOnly"!==R&&"format"!==R&&"name"!==R&&"path"!==R&&"type"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.context){let R=E.context;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}var q=0===N}else q=!0;if(q){if(void 0!==E.entryOnly){const R=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.format){const R=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.name){let R=E.name;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0;if(q){if(void 0!==E.path){let R=E.path;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0;if(q)if(void 0!==E.type){let R=E.type;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},69744:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.content&&(R="content"))return t.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const R in E)if("content"!==R&&"name"!==R&&"type"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(R===G){if(void 0!==E.content){let R=E.content;const N=G,$=G;let j=!1,Ee=null;const we=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R))if(Object.keys(R).length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else for(const E in R){let N=R[E];const $=G;if(G===$)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.id&&(E="id")){const R={params:{missingProperty:E}};null===q?q=[R]:q.push(R),G++}else{const E=G;for(const E in N)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G){if(void 0!==N.buildMeta){let E=N.buildMeta;const R=G;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=R===G}else ie=!0;if(ie){if(void 0!==N.exports){let E=N.exports;const R=G,$=G;let j=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if("context"!==R&&"hashDigest"!==R&&"hashDigestLength"!==R&&"hashFunction"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.context){let N=E.context;const $=ie;if(ie===$){if("string"!=typeof N)return e.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!0!==R.test(N))return e.errors=[{params:{}}],!1}var ae=$===ie}else ae=!0;if(ae){if(void 0!==E.hashDigest){let R=E.hashDigest;const N=ie;if("hex"!==R&&"latin1"!==R&&"base64"!==R)return e.errors=[{params:{}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.hashDigestLength){let R=E.hashDigestLength;const N=ie;if(ie===N){if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return e.errors=[{params:{comparison:">=",limit:1}}],!1}ae=N===ie}else ae=!0;if(ae)if(void 0!==E.hashFunction){let R=E.hashFunction;const N=ie,$=ie;let j=!1,q=null;const _e=ie,Ee=ie;let we=!1;const Ie=ie;if(ie===Ie)if("string"==typeof R){if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=Ie===ie;if(we=we||le,!we){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,we=we||le}if(we)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}}return e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},44194:E=>{"use strict";function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.resourceRegExp&&(R="resourceRegExp")){const E={params:{missingProperty:R}};null===q?q=[E]:q.push(E),G++}else{const R=G;for(const R in E)if("contextRegExp"!==R&&"resourceRegExp"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.contextRegExp){const R=G;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=R===G}else _e=!0;if(_e)if(void 0!==E.resourceRegExp){const R=G;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(G===R)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.checkResource&&(R="checkResource")){const E={params:{missingProperty:R}};null===q?q=[E]:q.push(E),G++}else{const R=G;for(const R in E)if("checkResource"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},71633:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("parse"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},80274:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const R=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var G=0===R}else G=!0;if(G){if(void 0!==E.minimize){const R=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;G=0===R}else G=!0;if(G)if(void 0!==E.options){let N=E.options;const $=0;if(0===$){if(!N||"object"!=typeof N||Array.isArray(N))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==N.context){let E=N.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==R.test(E))return e.errors=[{params:{}}],!1}}G=0===$}else G=!0}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},73971:E=>{"use strict";E.exports=t,E.exports["default"]=t;const R={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},N=Object.prototype.hasOwnProperty;function r(E,{instancePath:$="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const $ in E)if(!N.call(R,$))return r.errors=[{params:{additionalProperty:$}}],!1;if($===ae){if(void 0!==E.activeModules){const R=ae;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var le=R===ae}else le=!0;if(le){if(void 0!==E.dependencies){const R=ae;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.dependenciesCount){let R=E.dependenciesCount;const N=ae;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.entries){const R=ae;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.handler){const R=ae,N=ae;let $=!1,j=null;const q=ae;if(!(E.handler instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&($=!0,j=0),!$){const E={params:{passingSchemas:j}};return null===ie?ie=[E]:ie.push(E),ae++,r.errors=ie,!1}ae=N,null!==ie&&(N?ie.length=N:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.modules){const R=ae;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.modulesCount){let R=E.modulesCount;const N=ae;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.percentBy){let R=E.percentBy;const N=ae;if("entries"!==R&&"modules"!==R&&"dependencies"!==R&&null!==R)return r.errors=[{params:{}}],!1;le=N===ae}else le=!0;if(le)if(void 0!==E.profile){let R=E.profile;const N=ae;if(!0!==R&&!1!==R&&null!==R)return r.errors=[{params:{}}],!1;le=N===ae}else le=!0}}}}}}}}}}return r.errors=ie,0===ae}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var _e=le===G;if(ae=ae||_e,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}},68337:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports["default"]=l;const N={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},$=Object.prototype.hasOwnProperty;function s(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.paths&&(R="paths"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const R in E)if("paths"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(R===G&&void 0!==E.paths){let R=E.paths;if(G==G){if(!Array.isArray(R))return r.errors=[{params:{type:"array"}}],!1;if(R.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=R.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("encoding"!==R&&"mimetype"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.encoding){let R=E.encoding;const N=G;if(!1!==R&&"base64"!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e)if(void 0!==E.mimetype){const R=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function r(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const $=ie;for(const R in E)if("dataUrl"!==R&&"emit"!==R&&"filename"!==R&&"publicPath"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if($===ie){if(void 0!==E.dataUrl){const R=ie;n(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?n.errors:G.concat(n.errors),ie=G.length);var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.emit){const R=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.filename){let N=E.filename;const $=ie,j=ie;let q=!1;const _e=ie;if(ie===_e)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=_e===ie;if(q=q||le,!q){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,q=q||le}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=$===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let R=E.publicPath;const N=ie,$=ie;let j=!1;const q=ie;if("string"!=typeof R){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var _e=q===ie;if(j=j||_e,!j){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,j=j||_e}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}}return r.errors=G,0===ie}function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},3720:E=>{"use strict";function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("encoding"!==R&&"mimetype"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.encoding){let R=E.encoding;const N=G;if(!1!==R&&"base64"!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e)if(void 0!==E.mimetype){const R=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=G;for(const R in E)if("dataUrl"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;N===G&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:j})||(q=null===q?t.errors:q.concat(t.errors),G=q.length))}}return r.errors=q,0===G}function a(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),a.errors=q,0===G}E.exports=a,E.exports["default"]=a},33605:E=>{"use strict";function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const R=G;for(const R in E)if("dataUrlCondition"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(R===G&&void 0!==E.dataUrlCondition){let R=E.dataUrlCondition;const N=G;let $=!1;const j=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R)){const E=G;for(const E in R)if("maxSize"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G&&void 0!==R.maxSize){let E=R.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=j===G;if($=$||ie,!$){const E=G;if(!(R instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,$=$||ie}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=N,null!==q&&(N?q.length=N:q=null)}}}return t.errors=q,0===G}function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return t(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),r.errors=q,0===G}E.exports=r,E.exports["default"]=r},87441:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if("emit"!==R&&"filename"!==R&&"publicPath"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.emit){const R=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.filename){let N=E.filename;const $=ie,j=ie;let q=!1;const _e=ie;if(ie===_e)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=_e===ie;if(q=q||le,!q){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,q=q||le}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=$===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let R=E.publicPath;const N=ie,$=ie;let j=!1;const q=ie;if("string"!=typeof R){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var _e=q===ie;if(j=j||_e,!j){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,j=j||_e}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}return r.errors=G,0===ie}function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),n.errors=q,0===G}E.exports=n,E.exports["default"]=n},28633:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{"use strict";function o(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports["default"]=o},43329:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports["default"]=d;const N={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},$=Object.prototype.hasOwnProperty;function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const N=0;for(const R in E)if("outputPath"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(0===N&&void 0!==E.outputPath){let N=E.outputPath;if("string"!=typeof N)return t.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!0!==R.test(N))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports["default"]=t},18511:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("prioritiseInitial"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},52042:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("prioritiseInitial"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},77593:E=>{"use strict";function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"maxSize"!==R&&"minSize"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.maxSize){let R=E.maxSize;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.minSize){let R=E.minSize;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0}}}}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},72713:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.maxChunks&&(R="maxChunks"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"maxChunks"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.maxChunks){let R=E.maxChunks;const N=0;if(0===N){if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return r.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===N}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},83889:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.minChunkSize&&(R="minChunkSize"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"minChunkSize"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.minChunkSize){let R=E.minChunkSize;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},44363:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=n,E.exports["default"]=n;const N=new RegExp("^https?://","u");function e(E,{instancePath:$="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let $;if(void 0===E.allowedUris&&($="allowedUris"))return e.errors=[{params:{missingProperty:$}}],!1;{const $=ae;for(const R in E)if("allowedUris"!==R&&"cacheLocation"!==R&&"frozen"!==R&&"lockfileLocation"!==R&&"upgrade"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if($===ae){if(void 0!==E.allowedUris){let R=E.allowedUris;const $=ae;if(ae==ae){if(!Array.isArray(R))return e.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let $=0;${"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=G;for(const R in E)if("eager"!==R&&"import"!==R&&"packageName"!==R&&"requiredVersion"!==R&&"shareKey"!==R&&"shareScope"!==R&&"singleton"!==R&&"strictVersion"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(R===G){if(void 0!==E.eager){const R=G;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ie=R===G}else ie=!0;if(ie){if(void 0!==E.import){let R=E.import;const N=G,$=G;let j=!1;const le=G;if(!1!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=le===G;if(j=j||ae,!j){const E=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,j=j||ae}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=$,null!==q&&($?q.length=$:q=null),ie=N===G}else ie=!0;if(ie){if(void 0!==E.packageName){let R=E.packageName;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.requiredVersion){let R=E.requiredVersion;const N=G,$=G;let j=!1;const ae=G;if(!1!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ae===G;if(j=j||le,!j){const E=G;if("string"!=typeof R){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,j=j||le}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=$,null!==q&&($?q.length=$:q=null),ie=N===G}else ie=!0;if(ie){if(void 0!==E.shareKey){let R=E.shareKey;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.shareScope){let R=E.shareScope;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.singleton){const R=G;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ie=R===G}else ie=!0;if(ie)if(void 0!==E.strictVersion){const R=G;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ie=R===G}else ie=!0}}}}}}}}}return r.errors=q,0===G}function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const N in E){let $=E[N];const ae=G,le=G;let _e=!1;const Ee=G;r($,{instancePath:R+"/"+N.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:N,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var ie=Ee===G;if(_e=_e||ie,!_e){const E=G;if(G==G)if("string"==typeof $){if($.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,_e=_e||ie}if(!_e){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=le,null!==q&&(le?q.length=le:q=null),ae!==G)break}}return e.errors=q,0===G}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const N=E.length;for(let $=0;${"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const R in E){let N=E[R];const $=G,j=G;let _e=!1;const Ee=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G){if(void 0!==N.eager){const E=G;if("boolean"!=typeof N.eager){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ie=E===G}else ie=!0;if(ie){if(void 0!==N.shareKey){let E=N.shareKey;const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0;if(ie){if(void 0!==N.shareScope){let E=N.shareScope;const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0;if(ie)if(void 0!==N.version){let E=N.version;const R=G,$=G;let j=!1;const le=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=le===G;if(j=j||ae,!j){const R=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=R===G,j=j||ae}if(j)G=$,null!==q&&($?q.length=$:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var le=Ee===G;if(_e=_e||le,!_e){const E=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,_e=_e||le}if(!_e){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=j,null!==q&&(j?q.length=j:q=null),$!==G)break}}return r.errors=q,0===G}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const N=E.length;for(let $=0;${class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const R=new Node(E);if(this._head){this._tail.next=R;this._tail=R}else{this._head=R;this._tail=R}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},77086:(module,__unused_webpack_exports,__webpack_require__)=>{const resolve=__webpack_require__(47030);const fs=__webpack_require__(15808);const crypto=__webpack_require__(6113);const{join:join,dirname:dirname,extname:extname,relative:relative,resolve:pathResolve}=__webpack_require__(71017);const webpack=__webpack_require__(86443);const MemoryFS=__webpack_require__(56342);const terser=__webpack_require__(44858);const tsconfigPaths=__webpack_require__(46543);const{loadTsconfig:loadTsconfig}=__webpack_require__(9492);const TsconfigPathsPlugin=__webpack_require__(96217);const shebangRegEx=__webpack_require__(89681);const nccCacheDir=__webpack_require__(13946);const LicenseWebpackPlugin=__webpack_require__(58907).s;const{version:nccVersion}=__webpack_require__(4147);const{hasTypeModule:hasTypeModule}=__webpack_require__(62664);fs.gracefulify(__webpack_require__(57147));const SUPPORTED_EXTENSIONS=[".js",".json",".node",".mjs",".ts",".tsx"];const hashOf=E=>crypto.createHash("md4").update(E).digest("hex").slice(0,10);const defaultPermissions=438;const relocateLoader=eval('require(__dirname + "/loaders/relocate-loader.js")');module.exports=ncc;function ncc(entry,{cache:cache,customEmit:customEmit=undefined,esm:esm=entry.endsWith(".mjs")||!entry.endsWith(".cjs")&&hasTypeModule(entry),externals:externals=[],filename:filename="index"+(!esm&&entry.endsWith(".cjs")?".cjs":esm&&(entry.endsWith(".mjs")||!hasTypeModule(entry))?".mjs":".js"),minify:minify=false,sourceMap:sourceMap=false,sourceMapRegister:sourceMapRegister=true,sourceMapBasePrefix:sourceMapBasePrefix="../",assetBuilds:assetBuilds=false,watch:watch=false,v8cache:v8cache=false,filterAssetBase:filterAssetBase=process.cwd(),existingAssetNames:existingAssetNames=[],quiet:quiet=false,debugLog:debugLog=false,transpileOnly:transpileOnly=false,license:license="",target:target,production:production=true,mainFields:mainFields=["main"]}={}){if(esm)v8cache=false;const cjsDeps=()=>({mainFields:mainFields,extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["require","node",production?"production":"development"]});const esmDeps=()=>({mainFields:mainFields,extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["import","node",production?"production":"development"]});const ext=extname(filename);if(!quiet){console.log(`ncc: Version ${nccVersion}`);console.log(`ncc: Compiling file ${filename} into ${esm?"ESM":"CJS"}`)}if(target&&!target.startsWith("es")){throw new Error(`Invalid "target" value provided ${target}, value must be es version e.g. es2015`)}const resolvedEntry=resolve.sync(entry);process.env.__NCC_OPTS=JSON.stringify({quiet:quiet,typescriptLookupPath:resolvedEntry});const shebangMatch=fs.readFileSync(resolvedEntry).toString().match(shebangRegEx);const mfs=new MemoryFS;existingAssetNames.push(filename);if(sourceMap){existingAssetNames.push(`${filename}.map`);existingAssetNames.push(`sourcemap-register${ext}`)}if(v8cache){existingAssetNames.push(`${filename}.cache`);existingAssetNames.push(`${filename}.cache${ext}`)}const resolvePlugins=[];let fullTsconfig={};try{const E=walkParentDirs({base:process.cwd(),start:dirname(entry),filename:"tsconfig.json"});fullTsconfig=loadTsconfig(E)||{compilerOptions:{}};const R={silent:true};if(fullTsconfig.compilerOptions.allowJs){R.extensions=SUPPORTED_EXTENSIONS}resolvePlugins.push(new TsconfigPathsPlugin(R));if(tsconfig.resultType==="success"){tsconfigMatchPath=tsconfigPaths.createMatchPath(tsconfig.absoluteBaseUrl,tsconfig.paths)}}catch(E){}resolvePlugins.push({apply(E){const R=E.resolve;E.resolve=function(E,N,$,j,q){const G=this;R.call(G,E,N,$,j,(function(ie,ae,le){if(le)return q(null,ae,le);if(ie&&!ie.message.startsWith("Can't resolve"))return q(ie);if($.endsWith(".js")&&E.issuer&&(E.issuer.endsWith(".ts")||E.issuer.endsWith(".tsx"))){return R.call(G,E,N,$.slice(0,-3),j,(function(E,R,N){if(N)return q(null,R,N);if(E&&!E.message.startsWith("Can't resolve"))return q(E);q(null,__dirname+"/@@notfound.js?"+(externalMap.get($)||$),$)}))}q(null,__dirname+"/@@notfound.js?"+(externalMap.get($)||$),$)}))}}});const externalMap=(()=>{const E=[];const R=new Map;const N=new Map;function set(N,$){if(N instanceof RegExp)E.push(N);R.set(N,$)}function get($){if(R.has($))return R.get($);if(N.has($))return N.get($);for(const j of E){const E=$.match(j);if(E){let q=R.get(j);if(E.length>1){q=q.replace(/(\$\d)/g,(R=>{const N=parseInt(R.substr(1),10);return E[N]||R}))}N.set($,q);return q}}return null}return{get:get,set:set}})();if(Array.isArray(externals))externals.forEach((E=>externalMap.set(E,E)));else if(typeof externals==="object")Object.keys(externals).forEach((E=>externalMap.set(E[0]==="/"&&E[E.length-1]==="/"?new RegExp(E.slice(1,-1)):E,externals[E])));let watcher,watchHandler,rebuildHandler;const compilationStack=[];var plugins=[{apply(E){E.hooks.compilation.tap("relocate-loader",(E=>{compilationStack.push(E);relocateLoader.initAssetCache(E)}));E.hooks.watchRun.tap("ncc",(()=>{if(rebuildHandler)rebuildHandler()}));E.hooks.normalModuleFactory.tap("ncc",(E=>{function handler(E){E.hooks.assign.for("require").intercept({register:E=>{if(E.name!=="CommonJsPlugin"){return E}E.fn=()=>{};return E}})}E.hooks.parser.for("javascript/auto").tap("ncc",handler);E.hooks.parser.for("javascript/dynamic").tap("ncc",handler);return E}))}}];if(typeof license==="string"&&license.length>0){plugins.push(new LicenseWebpackPlugin({outputFilename:license}))}const compiler=webpack({entry:entry,cache:cache===false?undefined:{type:"filesystem",cacheDirectory:typeof cache==="string"?cache:nccCacheDir,name:`ncc_${hashOf(entry)}`,version:nccVersion},snapshot:{managedPaths:[],module:{hash:true}},amd:false,experiments:{topLevelAwait:true,outputModule:esm},optimization:{nodeEnv:false,minimize:false,moduleIds:"deterministic",chunkIds:"deterministic",mangleExports:true,concatenateModules:true,innerGraph:true,sideEffects:true},devtool:sourceMap?"cheap-module-source-map":false,mode:"production",target:target?["node14",target]:"node14",stats:{logging:"error"},infrastructureLogging:{level:"error"},output:{path:"/",filename:ext===".cjs"?filename+".js":filename,libraryTarget:esm?"module":"commonjs2",strictModuleExceptionHandling:true,module:esm},resolve:{extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],byDependency:{wasm:esmDeps(),esm:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()},mainFields:mainFields,plugins:resolvePlugins},node:false,externals({context:E,request:R,dependencyType:N},$){const j=externalMap.get(R);if(j)return $(null,`${N==="esm"&&esm?"module":"node-commonjs"} ${j}`);return $()},module:{rules:[{test:/@@notfound\.js$/,use:[{loader:eval('__dirname + "/loaders/notfound-loader.js"')}]},{test:/\.(js|mjs|tsx?|node)$/,use:[{loader:eval('__dirname + "/loaders/empty-loader.js"')},{loader:eval('__dirname + "/loaders/relocate-loader.js"'),options:{customEmit:customEmit,filterAssetBase:filterAssetBase,existingAssetNames:existingAssetNames,escapeNonAnalyzableRequires:true,wrapperCompatibility:true,debugLog:debugLog}}]},{test:/\.tsx?$/,use:[{loader:eval('__dirname + "/loaders/uncacheable.js"')},{loader:eval('__dirname + "/loaders/ts-loader.js"'),options:{transpileOnly:transpileOnly,compiler:eval('__dirname + "/typescript.js"'),compilerOptions:{module:"esnext",target:"esnext",...fullTsconfig.compilerOptions,allowSyntheticDefaultImports:true,noEmit:false,outDir:"//"}}}]},{parser:{amd:false},exclude:/\.(node|json)$/,use:[{loader:eval('__dirname + "/loaders/shebang-loader.js"')}]}]},plugins:plugins});compiler.outputFileSystem=mfs;if(!watch){return new Promise(((E,R)=>{compiler.run(((N,$)=>{if(N)return R(N);compiler.close((N=>{if(N)return R(N);if($.hasErrors()){const E=[...$.compilation.errors].map((E=>E.message)).join("\n");return R(new Error(E))}E($)}))}))})).then(finalizeHandler,(function(E){compilationStack.pop();throw E}))}else{if(typeof watch==="object"){if(!watch.watch)throw new Error("Watcher class must be a valid Webpack WatchFileSystem class instance (https://github.com/webpack/webpack/blob/master/lib/node/NodeWatchFileSystem.js)");compiler.watchFileSystem=watch;watch.inputFileSystem=compiler.inputFileSystem}let E;watcher=compiler.watch({},(async(R,N)=>{if(R){compilationStack.pop();return watchHandler({err:R})}if(N.hasErrors()){compilationStack.pop();return watchHandler({err:N.toString()})}const $=await finalizeHandler(N);if(watchHandler)watchHandler($);else E=$}));let R=false;return{close(){if(!watcher)throw new Error("No watcher to close.");if(R)throw new Error("Watcher already closed.");R=true;watcher.close()},handler(R){if(watchHandler)throw new Error("Watcher handler already provided.");watchHandler=R;if(E){R(E);E=null}},rebuild(E){if(rebuildHandler)throw new Error("Rebuild handler already provided.");rebuildHandler=E}}}async function finalizeHandler(E){const R=Object.create(null);getFlatFiles(mfs.data,R,relocateLoader.getAssetMeta,fullTsconfig);const N=Object.create(null);for(const[E,$]of Object.entries(relocateLoader.getSymlinks())){const j=join(dirname(E),$);if(j in R)N[E]=$}delete R[filename+(ext===".cjs"?".js":"")];delete R[`${filename}${ext===".cjs"?".js":""}.map`];let $=mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}`,"utf8");let j=sourceMap?mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}.map`,"utf8"):null;if(j){j=JSON.parse(j);j.sources=j.sources.map((E=>{while(E.startsWith("webpack:///"))E=E.slice(11);if(E.startsWith("//"))E=E.slice(1);if(E.startsWith("/"))E=relative(process.cwd(),E).replace(/\\/g,"/");if(E.startsWith("external "))E="node:"+E.slice(9);if(E.startsWith("./"))E=E.slice(2);if(E.startsWith("(webpack)"))E="webpack"+E.slice(9);if(E.startsWith("webpack/"))return"/webpack/"+E.slice(8);return sourceMapBasePrefix+E}))}if(minify){let E;try{E=await terser.minify($,{module:esm,compress:false,mangle:{keep_classnames:true,keep_fnames:true},sourceMap:j?{content:j,filename:filename,url:`${filename}.map`}:false});if(!E||E.code===undefined)throw null;({code:$,map:j}={code:E.code,map:j?JSON.parse(E.map):undefined})}catch(E){console.log("An error occurred while minifying. The result will not be minified.")}}if(j){R[`${filename}.map`]={source:JSON.stringify(j),permissions:defaultPermissions}}if(v8cache){const{Script:E}=__webpack_require__(26144);R[`${filename}.cache`]={source:new E($).createCachedData(),permissions:defaultPermissions};R[`${filename}.cache${ext}`]={source:$,permissions:defaultPermissions};const N=-"(function (exports, require, module, __filename, __dirname) { ".length;$=`const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');\n`+`const basename = __dirname + '/${filename}';\n`+`const source = readFileSync(basename + '.cache${ext}', 'utf-8');\n`+`const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');\n`+`const scriptOpts = { filename: basename + '.cache${ext}', columnOffset: ${N} }\n`+`const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);\n`+`(script.runInThisContext())(exports, require, module, __filename, __dirname);\n`+`if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });\n`}if(j&&sourceMapRegister){const E=esm?".cjs":ext;$=(esm?`import './sourcemap-register${E}';`:`require('./sourcemap-register${E}');`)+$;R[`sourcemap-register${E}`]={source:fs.readFileSync(`${__dirname}/sourcemap-register.js.cache.js`),permissions:defaultPermissions}}if(esm&&!filename.endsWith(".mjs")){const E=dirname(filename);const N=(E==="."?"":E)+"package.json";if(R[N])R[N].source=JSON.stringify(Object.assign(JSON.parse(R[N].source.toString()),{type:"module"}));else R[N]={source:JSON.stringify({type:"module"},null,2)+"\n",permissions:defaultPermissions}}if(shebangMatch){$=shebangMatch[0]+$;if(j)j.mappings=";"+j.mappings}if($.indexOf('"__webpack_require__"')===-1){if($.indexOf("__nccwpck_require2_")!==-1){for(let E=9;E>1;E--){if($.indexOf(`__nccwpck_require${E}_`)===-1)continue;if(E===9)throw new Error("9 levels of ncc build nesting reached, please post an issue to support this level of ncc build composition.");$=$.replace(new RegExp(`__nccwpck_require${E}_`,"g"),`__nccwpck_require${E+1}_`)}}if($.indexOf("__nccwpck_require__")!==-1)$=$.replace(/__nccwpck_require__/g,"__nccwpck_require2_");$=$.replace(/__webpack_require__/g,"__nccwpck_require__")}if(assetBuilds){const $=compilationStack[compilationStack.length-1];let j=Object.keys(R);j.push(`${filename}${ext===".cjs"?".js":""}`);const q=[];for(const E of Object.keys(R)){if(!E.endsWith(".js")&&!E.endsWith(".cjs")&&!E.endsWith(".ts")&&!E.endsWith(".mjs")||E.endsWith(".cache.js")||E.endsWith(".cache.cjs")||E.endsWith(".cache.ts")||E.endsWith(".cache.mjs")||E.endsWith(".d.ts")){j.push(E);continue}const R=relocateLoader.getAssetMeta(E,$);if(!R||!R.path){j.push(E);continue}q.push(E)}for(const G of q){const q=relocateLoader.getAssetMeta(G,$);const ie=q.path;const{code:ae,assets:le,symlinks:_e,stats:Ee}=await ncc(ie,{cache:cache,externals:externals,filename:G,minify:minify,sourceMap:sourceMap,sourceMapRegister:sourceMapRegister,sourceMapBasePrefix:sourceMapBasePrefix,assetBuilds:false,v8cache:v8cache,filterAssetBase:filterAssetBase,existingAssetNames:j,quiet:quiet,debugLog:debugLog,transpileOnly:true,license:license,target:target});Object.assign(N,_e);Object.assign(E,Ee);for(const E of Object.keys(le)){R[E]=le[E];if(!j.includes(E))j.push(E)}R[G]={source:ae,permissions:q.permissions}}}compilationStack.pop();return{code:$,map:j?JSON.stringify(j):undefined,assets:R,symlinks:N,stats:E}}}function getFlatFiles(E,R,N,$,j=""){for(const q of Object.keys(E)){const G=E[q];let ie=`${j}/${q}`;if(G[""]===true)getFlatFiles(G,R,N,$,ie);else if(!ie.endsWith("/")){const j=N(ie.substr(1))||{};if(ie.endsWith(".d.ts")){const E=$.compilerOptions.outDir?pathResolve($.compilerOptions.outDir):__webpack_require__.ab+"dist";ie=ie.replace(E,"").replace(process.cwd(),"")}R[ie.substr(1)]={source:E[q],permissions:j.permissions}}}}function walkParentDirs({base:E,start:R,filename:N}){let $="";for(let j=R;E.length<=j.length;j=$){const E=join(j,N);if(fs.existsSync(E)){return E}$=dirname(j)}return null}},62664:(__unused_webpack_module,exports,__webpack_require__)=>{const{resolve:resolve}=__webpack_require__(71017);const{readFileSync:readFileSync}=__webpack_require__(57147);exports.hasTypeModule=function hasTypeModule(path){while(path!==(path=resolve(path,".."))){try{return JSON.parse(readFileSync(eval("resolve")(path,"package.json")).toString()).type==="module"}catch(E){if(E.code==="ENOENT")continue;throw E}}}},13946:(E,R,N)=>{E.exports=N(22037).tmpdir()+"/ncc-cache"},89681:E=>{E.exports=/^#![^\n\r]*[\r\n]/},92915:module=>{module.exports=eval("require")("enhanced-resolve/lib/createInnerCallback")},39491:E=>{"use strict";E.exports=require("assert")},14300:E=>{"use strict";E.exports=require("buffer")},32081:E=>{"use strict";E.exports=require("child_process")},96206:E=>{"use strict";E.exports=require("console")},22057:E=>{"use strict";E.exports=require("constants")},6113:E=>{"use strict";E.exports=require("crypto")},82361:E=>{"use strict";E.exports=require("events")},57147:E=>{"use strict";E.exports=require("fs")},13685:E=>{"use strict";E.exports=require("http")},95687:E=>{"use strict";E.exports=require("https")},31405:E=>{"use strict";E.exports=require("inspector")},98188:E=>{"use strict";E.exports=require("module")},22037:E=>{"use strict";E.exports=require("os")},71017:E=>{"use strict";E.exports=require("path")},35125:E=>{"use strict";E.exports=require("pnpapi")},77282:E=>{"use strict";E.exports=require("process")},63477:E=>{"use strict";E.exports=require("querystring")},12781:E=>{"use strict";E.exports=require("stream")},76224:E=>{"use strict";E.exports=require("tty")},57310:E=>{"use strict";E.exports=require("url")},73837:E=>{"use strict";E.exports=require("util")},26144:E=>{"use strict";E.exports=require("vm")},71267:E=>{"use strict";E.exports=require("worker_threads")},59796:E=>{"use strict";E.exports=require("zlib")},44858:function(E,R,N){(function(E,$){true?$(R,N(37362)):0})(this,(function(E,R){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var $=_interopDefaultLegacy(R);function characters(E){return E.split("")}function member(E,R){return R.includes(E)}class DefaultsError extends Error{constructor(E,R){super();this.name="DefaultsError";this.message=E;this.defs=R}}function defaults(E,R,N){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const $=E||{};if(N)for(const E in $)if(HOP($,E)&&!HOP(R,E)){throw new DefaultsError("`"+E+"` is not a supported option",R)}for(const N in R)if(HOP(R,N)){if(!E||!HOP(E,N)){$[N]=R[N]}else if(N==="ecma"){let R=E[N]|0;if(R>5&&R<2015)R+=2009;$[N]=R}else{$[N]=E&&HOP(E,N)?E[N]:R[N]}}return $}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var j=function(){function MAP(R,N,$){var j=[],q=[],G;function doit(){var ie=N(R[G],G);var ae=ie instanceof Last;if(ae)ie=ie.v;if(ie instanceof AtTop){ie=ie.v;if(ie instanceof Splice){q.push.apply(q,$?ie.v.slice().reverse():ie.v)}else{q.push(ie)}}else if(ie!==E){if(ie instanceof Splice){j.push.apply(j,$?ie.v.slice().reverse():ie.v)}else{j.push(ie)}}return ae}if(Array.isArray(R)){if($){for(G=R.length;--G>=0;)if(doit())break;j.reverse();q.reverse()}else{for(G=0;G=0;){if(E[N]===R)E.splice(N,1)}}function mergeSort(E,R){if(E.length<2)return E.slice();function merge(E,N){var $=[],j=0,q=0,G=0;while(j{N+=E}))}return N}function has_annotation(E,R){return E._annotations&R}function set_annotation(E,R){E._annotations|=R}var ie="";var ae=true;var le="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var _e="false null true";var Ee="enum implements import interface package private protected public static super this "+_e+" "+le;var we="return new delete throw else case yield await";le=makePredicate(le);Ee=makePredicate(Ee);we=makePredicate(we);_e=makePredicate(_e);var Ie=makePredicate(characters("+-*&%=<>!?|~^"));var Me=/[0-9a-f]/i;var Te=/^0x[0-9a-f]+$/i;var Ne=/^0[0-7]+$/;var Be=/^0o[0-7]+$/i;var Le=/^0b[01]+$/i;var je=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var ze=/^(0[xob])?[0-9a-f]+n$/i;var Ue=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var qe=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var Ge=makePredicate(characters("\n\r\u2028\u2029"));var He=makePredicate(characters(";]),:"));var We=makePredicate(characters("[{(,;:"));var Ve=makePredicate(characters("[]{}(),;:"));var Ke={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,R){if(is_surrogate_pair_head(E.charCodeAt(R))){if(is_surrogate_pair_tail(E.charCodeAt(R+1))){return E.charAt(R)+E.charAt(R+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(R))){if(is_surrogate_pair_head(E.charCodeAt(R-1))){return E.charAt(R-1)+E.charAt(R)}}return E.charAt(R)}function get_full_char_code(E,R){if(is_surrogate_pair_head(E.charCodeAt(R))){return 65536+(E.charCodeAt(R)-55296<<10)+E.charCodeAt(R+1)-56320}return E.charCodeAt(R)}function get_full_char_length(E){var R=0;for(var N=0;N65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return Ke.ID_Start.test(E)}function is_identifier_char(E){return Ke.ID_Continue.test(E)}const Qe=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Qe.test(E)}function is_identifier_string(E,R){if(Qe.test(E)){return true}if(!R&&/[\ud800-\udfff]/.test(E)){return false}var N=Ke.ID_Start.exec(E);if(!N||N.index!==0){return false}E=E.slice(N[0].length);if(!E){return true}N=Ke.ID_Continue.exec(E);return!!N&&N[0].length===E.length}function parse_js_number(E,R=true){if(!R&&E.includes("e")){return NaN}if(Te.test(E)){return parseInt(E.substr(2),16)}else if(Ne.test(E)){return parseInt(E.substr(1),8)}else if(Be.test(E)){return parseInt(E.substr(2),8)}else if(Le.test(E)){return parseInt(E.substr(2),2)}else if(je.test(E)){return parseFloat(E)}else{var N=parseFloat(E);if(N==E)return N}}class JS_Parse_Error extends Error{constructor(E,R,N,$,j){super();this.name="SyntaxError";this.message=E;this.filename=R;this.line=N;this.col=$;this.pos=j}}function js_error(E,R,N,$,j){throw new JS_Parse_Error(E,R,N,$,j)}function is_token(E,R,N){return E.type==R&&(N==null||E.value==N)}var Je={};function tokenizer(E,R,N,$){var j={text:E,filename:R,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(j.text,j.pos)}function is_option_chain_op(){const E=j.text.charCodeAt(j.pos+1)===46;if(!E)return false;const R=j.text.charCodeAt(j.pos+2);return R<48||R>57}function next(E,R){var N=get_full_char(j.text,j.pos++);if(E&&!N)throw Je;if(Ge.has(N)){j.newline_before=j.newline_before||!R;++j.line;j.col=0;if(N=="\r"&&peek()=="\n"){++j.pos;N="\n"}}else{if(N.length>1){++j.pos;++j.col}++j.col}return N}function forward(E){while(E--)next()}function looking_at(E){return j.text.substr(j.pos,E.length)==E}function find_eol(){var E=j.text;for(var R=j.pos,N=j.text.length;R="0"&&E<="7"}function read_escaped_char(E,R,N){var $=next(true,E);switch($.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,R));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var q,G=find("}",true)-j.pos;if(G>6||(q=hex_bytes(G,R))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(q)}return String.fromCharCode(hex_bytes(4,R));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal($)){if(N&&R){const E=$==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence($,R)}return $}function read_octal_escape_sequence(E,R){var N=peek();if(N>="0"&&N<="7"){E+=next(true);if(E[0]<="3"&&(N=peek())>="0"&&N<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&R)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,R){var N=0;for(;E>0;--E){if(!R&&isNaN(parseInt(peek(),16))){return parseInt(N,16)||""}var $=next(true);if(isNaN(parseInt($,16)))parse_error("Invalid hex-character pattern in string");N+=$}return parseInt(N,16)}var Be=with_eof_error("Unterminated string constant",(function(){const E=j.pos;var R=next(),N=[];for(;;){var $=next(true,true);if($=="\\")$=read_escaped_char(true,true);else if($=="\r"||$=="\n")parse_error("Unterminated string constant");else if($==R)break;N.push($)}var q=token("string",N.join(""));ie=j.text.slice(E,j.pos);q.quote=R;return q}));var Le=with_eof_error("Unterminated template",(function(E){if(E){j.template_braces.push(j.brace_counter)}var R="",N="",$,q;next(true,true);while(($=next(true,true))!="`"){if($=="\r"){if(peek()=="\n")++j.pos;$="\n"}else if($=="$"&&peek()=="{"){next(true,true);j.brace_counter++;q=token(E?"template_head":"template_substitution",R);ie=N;ae=false;return q}N+=$;if($=="\\"){var le=j.pos;var _e=G&&(G.type==="name"||G.type==="punc"&&(G.value===")"||G.value==="]"));$=read_escaped_char(true,!_e,true);N+=j.text.substr(le,j.pos-le)}R+=$}j.template_braces.pop();q=token(E?"template_head":"template_substitution",R);ie=N;ae=true;return q}));function skip_line_comment(E){var R=j.regex_allowed;var N=find_eol(),$;if(N==-1){$=j.text.substr(j.pos);j.pos=j.text.length}else{$=j.text.substring(j.pos,N);j.pos=N}j.col=j.tokcol+(j.pos-j.tokpos);j.comments_before.push(token(E,$,true));j.regex_allowed=R;return next_token}var je=with_eof_error("Unterminated multiline comment",(function(){var E=j.regex_allowed;var R=find("*/",true);var N=j.text.substring(j.pos,R).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(N)+2);j.comments_before.push(token("comment2",N,true));j.newline_before=j.newline_before||N.includes("\n");j.regex_allowed=E;return next_token}));var He=with_eof_error("Unterminated identifier name",(function(){var E=[],R,N=false;var read_escaped_identifier_char=function(){N=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((R=peek())==="\\"){R=read_escaped_identifier_char();if(!is_identifier_start(R)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(R)){next()}else{return""}E.push(R);while((R=peek())!=null){if((R=peek())==="\\"){R=read_escaped_identifier_char();if(!is_identifier_char(R)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(R)){break}next()}E.push(R)}const $=E.join("");if(Ee.has($)&&N){parse_error("Escaped characters are not allowed in keywords")}return $}));var Ke=with_eof_error("Unterminated regular expression",(function(E){var R=false,N,$=false;while(N=next(true))if(Ge.has(N)){parse_error("Unexpected line terminator")}else if(R){E+="\\"+N;R=false}else if(N=="["){$=true;E+=N}else if(N=="]"&&$){$=false;E+=N}else if(N=="/"&&!$){break}else if(N=="\\"){R=true}else{E+=N}const j=He();return token("regexp","/"+E+"/"+j)}));function read_operator(E){function grow(E){if(!peek())return E;var R=E+peek();if(Ue.has(R)){next();return grow(R)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return je()}return j.regex_allowed?Ke(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=He();if(q)return token("name",E);return _e.has(E)?token("atom",E):!le.has(E)?token("name",E):Ue.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",He())}function with_eof_error(E,R){return function(N){try{return R(N)}catch(R){if(R===Je)parse_error(E);else throw R}}}function next_token(E){if(E!=null)return Ke(E);if($&&j.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(N){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&j.newline_before){forward(3);skip_line_comment("comment4");continue}}var R=peek();if(!R)return token("eof");var q=R.charCodeAt(0);switch(q){case 34:case 39:return Be();case 46:return handle_dot();case 47:{var G=handle_slash();if(G===next_token)continue;return G}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Le(true);case 123:j.brace_counter++;break;case 125:j.brace_counter--;if(j.template_braces.length>0&&j.template_braces[j.template_braces.length-1]===j.brace_counter)return Le(false);break}if(is_digit(q))return read_num();if(Ve.has(R))return token("punc",next());if(Ie.has(R))return read_operator();if(q==92||is_identifier_start(R))return read_word();if(q==35)return read_private_word();break}parse_error("Unexpected character '"+R+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)j=E;return j};next_token.add_directive=function(E){j.directive_stack[j.directive_stack.length-1].push(E);if(j.directives[E]===undefined){j.directives[E]=1}else{j.directives[E]++}};next_token.push_directives_stack=function(){j.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=j.directive_stack[j.directive_stack.length-1];for(var R=0;R0};return next_token}var Xe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Ye=makePredicate(["--","++"]);var Ze=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var et=makePredicate(["??=","&&=","||="]);var tt=function(E,R){for(var N=0;N","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var nt=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,R){const N=new WeakMap;R=defaults(R,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var $={input:typeof E=="string"?tokenizer(E,R.filename,R.html5_comments,R.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};$.token=next();function is(E,R){return is_token($.token,E,R)}function peek(){return $.peeked||($.peeked=$.input())}function next(){$.prev=$.token;if(!$.peeked)peek();$.token=$.peeked;$.peeked=null;$.in_directives=$.in_directives&&($.token.type=="string"||is("punc",";"));return $.token}function prev(){return $.prev}function croak(E,R,N,j){var q=$.input.context();js_error(E,q.filename,R!=null?R:q.tokline,N!=null?N:q.tokcol,j!=null?j:q.tokpos)}function token_error(E,R){croak(R,E.line,E.col)}function unexpected(E){if(E==null)E=$.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,R){if(is(E,R)){return next()}token_error($.token,"Unexpected token "+$.token.type+" «"+$.token.value+"»"+", expected "+E+" «"+R+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!R.strict&&(is("eof")||is("punc","}")||has_newline_before($.token))}function is_in_generator(){return $.in_generator===$.in_function}function is_in_async(){return $.in_async===$.in_function}function can_await(){return $.in_async===$.in_function||$.in_function===0&&$.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...R){const N=$.token;const j=E(...R);j.start=N;j.end=prev();return j}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){$.peeked=null;$.token=$.input($.token.value.substr(1))}}var j=embed_tokens((function statement(E,N,j){handle_regexp();switch($.token.type){case"string":if($.in_directives){var q=peek();if(!ie.includes("\\")&&(is_token(q,"punc",";")||is_token(q,"punc","}")||has_newline_before(q)||is_token(q,"eof"))){$.input.add_directive($.token.value)}else{$.in_directives=false}}var G=$.in_directives,ae=simple_statement();return G&&ae.body instanceof fr?new ut(ae.body):ae;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if($.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(N){croak("functions are not allowed as the body of a loop")}return function_(Tt,false,true,E)}if($.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var le=import_();semicolon();return le}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch($.token.value){case"{":return new ft({start:$.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":$.in_directives=false;next();return new ht;default:unexpected()}case"keyword":switch($.token.value){case"break":next();return break_cont(Ut);case"continue":next();return break_cont(qt);case"debugger":next();semicolon();return new ct;case"do":next();var _e=in_loop(statement);expect_token("keyword","while");var Ee=parenthesised();semicolon(true);return new bt({body:_e,condition:Ee});case"while":next();return new _t({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(N){croak("classes are not allowed as the body of a loop")}if(j){croak("classes are not allowed as the body of an if")}return class_($n,E);case"function":next();if(N){croak("functions are not allowed as the body of a loop")}return function_(Tt,false,false,E);case"if":next();return if_();case"return":if($.in_function==0&&!R.bare_returns)croak("'return' outside of function");next();var we=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){we=expression(true);semicolon()}return new $t({value:we});case"switch":next();return new Vt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before($.token))croak("Illegal newline after 'throw'");var we=expression(true);semicolon();return new jt({value:we});case"try":next();return try_();case"var":next();var le=var_();semicolon();return le;case"let":next();var le=let_();semicolon();return le;case"const":next();var le=const_();semicolon();return le;case"with":if($.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new wt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var le=export_();if(is("punc",";"))semicolon();return le}}}unexpected()}));function labeled_statement(){var E=as_symbol(sr);if(E.name==="await"&&is_in_async()){token_error($.prev,"await cannot be used as label inside async function")}if($.labels.some((R=>R.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");$.labels.push(E);var R=j();$.labels.pop();if(!(R instanceof yt)){E.references.forEach((function(R){if(R instanceof qt){R=R.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",R.line,R.col,R.pos)}}))}return new gt({body:R,label:E})}function simple_statement(E){return new pt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var R=null,N;if(!can_insert_semicolon()){R=as_symbol(cr,true)}if(R!=null){N=$.labels.find((E=>E.name===R.name));if(!N)croak("Undefined label "+R.name);R.thedef=N}else if($.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var j=new E({label:R});if(N)N.references.push(j);return j}function for_(){var E="`for await` invalid in this context";var R=$.token;if(R.type=="name"&&R.value=="await"){if(!can_await()){token_error(R,E)}next()}else{R=false}expect("(");var N=null;if(!is("punc",";")){N=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var j=is("operator","in");var q=is("name","of");if(R&&!q){token_error(R,E)}if(j||q){if(N instanceof en){if(N.definitions.length>1)token_error(N.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(N)||(N=to_destructuring(N))instanceof Ot)){token_error(N.start,"Invalid left-hand side in for..in loop")}next();if(j){return for_in(N)}else{return for_of(N,!!R)}}}else if(R){token_error(R,E)}return regular_for(N)}function regular_for(E){expect(";");var R=is("punc",";")?null:expression(true);expect(";");var N=is("punc",")")?null:expression(true);expect(")");return new xt({init:E,condition:R,step:N,body:in_loop((function(){return j(false,true)}))})}function for_of(E,R){var N=E instanceof en?E.definitions[0].name:null;var $=expression(true);expect(")");return new Et({await:R,init:E,name:N,object:$,body:in_loop((function(){return j(false,true)}))})}function for_in(E){var R=expression(true);expect(")");return new kt({init:E,object:R,body:in_loop((function(){return j(false,true)}))})}var arrow_function=function(E,R,N){if(has_newline_before($.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var j=_function_body(is("punc","{"),false,N);var q=j instanceof Array&&j.length?j[j.length-1].end:j instanceof Array?E:j.end;return new Pt({start:E,end:q,async:N,argnames:R,body:j})};var function_=function(E,R,N,$){var j=E===Tt;var q=is("operator","*");if(q){next()}var G=is("name")?as_symbol(j?Qn:Yn):null;if(j&&!G){if($){E=Mt}else{unexpected()}}if(G&&E!==It&&!(G instanceof qn))unexpected(prev());var ie=[];var ae=_function_body(true,q||R,N,G,ie);return new E({start:ie.start,end:ae.end,is_generator:q,async:N,name:G,argnames:ie,body:ae})};function track_used_binding_identifiers(E,R){var N=new Set;var $=false;var j=false;var q=false;var G=!!R;var ie={add_parameter:function(R){if(N.has(R.value)){if($===false){$=R}ie.check_strict()}else{N.add(R.value);if(E){switch(R.value){case"arguments":case"eval":case"yield":if(G){token_error(R,"Unexpected "+R.value+" identifier as parameter inside strict mode")}break;default:if(Ee.has(R.value)){unexpected()}}}}},mark_default_assignment:function(E){if(j===false){j=E}},mark_spread:function(E){if(q===false){q=E}},mark_strict_mode:function(){G=true},is_strict:function(){return j!==false||q!==false||G},check_strict:function(){if(ie.is_strict()&&$!==false){token_error($,"Parameter "+$.value+" was used already")}}};return ie}function parameters(E){var R=track_used_binding_identifiers(true,$.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var N=parameter(R);E.push(N);if(!is("punc",")")){expect(",")}if(N instanceof Ct){break}}next()}function parameter(E,R){var N;var j=false;if(E===undefined){E=track_used_binding_identifiers(true,$.input.has_directive("use strict"))}if(is("expand","...")){j=$.token;E.mark_spread($.token);next()}N=binding_element(E,R);if(is("operator","=")&&j===false){E.mark_default_assignment($.token);next();N=new Sn({start:N.start,left:N,operator:"=",right:expression(false),end:$.token})}if(j!==false){if(!is("punc",")")){unexpected()}N=new Ct({start:j,expression:N,end:j})}E.check_strict();return N}function binding_element(E,R){var N=[];var j=true;var q=false;var G;var ie=$.token;if(E===undefined){E=track_used_binding_identifiers(false,$.input.has_directive("use strict"))}R=R===undefined?Kn:R;if(is("punc","[")){next();while(!is("punc","]")){if(j){j=false}else{expect(",")}if(is("expand","...")){q=true;G=$.token;E.mark_spread($.token);next()}if(is("punc")){switch($.token.value){case",":N.push(new xr({start:$.token,end:$.token}));continue;case"]":break;case"[":case"{":N.push(binding_element(E,R));break;default:unexpected()}}else if(is("name")){E.add_parameter($.token);N.push(as_symbol(R))}else{croak("Invalid function parameter")}if(is("operator","=")&&q===false){E.mark_default_assignment($.token);next();N[N.length-1]=new Sn({start:N[N.length-1].start,left:N[N.length-1],operator:"=",right:expression(false),end:$.token})}if(q){if(!is("punc","]")){croak("Rest element must be last element")}N[N.length-1]=new Ct({start:G,expression:N[N.length-1],end:G})}}expect("]");E.check_strict();return new Ot({start:ie,names:N,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(j){j=false}else{expect(",")}if(is("expand","...")){q=true;G=$.token;E.mark_spread($.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter($.token);var ae=prev();var le=as_symbol(R);if(q){N.push(new Ct({start:G,expression:le,end:le.end}))}else{N.push(new In({start:ae,key:le.name,value:le,end:le.end}))}}else if(is("punc","}")){continue}else{var _e=$.token;var Ee=as_property_name();if(Ee===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){N.push(new In({start:prev(),key:Ee,value:new R({start:prev(),name:Ee,end:prev()}),end:prev()}))}else{expect(":");N.push(new In({start:_e,quote:_e.quote,key:Ee,value:binding_element(E,R),end:prev()}))}}if(q){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment($.token);next();N[N.length-1].value=new Sn({start:N[N.length-1].value.start,left:N[N.length-1].value,operator:"=",right:expression(false),end:$.token})}}expect("}");E.check_strict();return new Ot({start:ie,names:N,is_array:false,end:prev()})}else if(is("name")){E.add_parameter($.token);return as_symbol(R)}else{croak("Invalid function parameter")}}function params_or_seq_(E,R){var N;var j;var q;var G=[];expect("(");while(!is("punc",")")){if(N)unexpected(N);if(is("expand","...")){N=$.token;if(R)j=$.token;next();G.push(new Ct({start:prev(),expression:expression(),end:$.token}))}else{G.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){q=prev();if(R)j=q}}}expect(")");if(E&&is("arrow","=>")){if(N&&q)unexpected(q)}else if(j){unexpected(j)}return G}function _function_body(E,R,N,j,q){var G=$.in_loop;var ie=$.labels;var ae=$.in_generator;var le=$.in_async;++$.in_function;if(R)$.in_generator=$.in_function;if(N)$.in_async=$.in_function;if(q)parameters(q);if(E)$.in_directives=true;$.in_loop=0;$.labels=[];if(E){$.input.push_directives_stack();var _e=block_();if(j)_verify_symbol(j);if(q)q.forEach(_verify_symbol);$.input.pop_directives_stack()}else{var _e=[new $t({start:$.token,value:expression(false),end:$.token})]}--$.in_function;$.in_loop=G;$.labels=ie;$.in_generator=ae;$.in_async=le;return _e}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",$.prev.line,$.prev.col,$.prev.pos)}return new Gt({start:prev(),end:$.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",$.prev.line,$.prev.col,$.prev.pos)}var E=$.token;var R=false;var N=true;if(can_insert_semicolon()||is("punc")&&He.has($.token.value)){N=false}else if(is("operator","*")){R=true;next()}return new Ht({start:E,is_star:R,expression:N?expression():null,end:prev()})}function if_(){var E=parenthesised(),R=j(false,false,true),N=null;if(is("keyword","else")){next();N=j(false,false,true)}return new Wt({condition:E,body:R,alternative:N})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push(j())}next();return E}function switch_body_(){expect("{");var E=[],R=null,N=null,q;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(N)N.end=prev();R=[];N=new Jt({start:(q=$.token,next(),q),expression:expression(true),body:R});E.push(N);expect(":")}else if(is("keyword","default")){if(N)N.end=prev();R=[];N=new Qt({start:(q=$.token,next(),expect(":"),q),body:R});E.push(N)}else{if(!R)unexpected();R.push(j())}}if(N)N.end=prev();next();return E}function try_(){var E=block_(),R=null,N=null;if(is("keyword","catch")){var j=$.token;next();if(is("punc","{")){var q=null}else{expect("(");var q=parameter(undefined,tr);expect(")")}R=new Yt({start:j,argname:q,body:block_(),end:prev()})}if(is("keyword","finally")){var j=$.token;next();N=new Zt({start:j,body:block_(),end:prev()})}if(!R&&!N)croak("Missing catch/finally blocks");return new Xt({body:E,bcatch:R,bfinally:N})}function vardefs(E,R){var N=[];var j;for(;;){var q=R==="var"?Gn:R==="const"?Wn:R==="let"?Vn:null;if(is("punc","{")||is("punc","[")){j=new sn({start:$.token,name:binding_element(undefined,q),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{j=new sn({start:$.token,name:as_symbol(q),value:is("operator","=")?(next(),expression(false,E)):!E&&R==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(j.name.name=="import")croak("Unexpected token: import")}N.push(j);if(!is("punc",","))break;next()}return N}var var_=function(E){return new tn({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new nn({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new rn({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var R=$.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Un({start:R,end:prev()}),E)}var N=expr_atom(false),j;if(is("punc","(")){next();j=expr_list(")",true)}else{j=[]}var q=new pn({start:R,expression:N,args:j,end:prev()});annotate(q);return subscripts(q,E)};function as_atom_node(){var E=$.token,R;switch(E.type){case"name":R=_make_symbol(ir);break;case"num":R=new hr({start:E,end:E,value:E.value,raw:ie});break;case"big_int":R=new mr({start:E,end:E,value:E.value});break;case"string":R=new fr({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[N,$,j]=E.value.match(/^\/(.*)\/(\w*)$/);R=new gr({start:E,end:E,value:{source:$,flags:j}});break;case"atom":switch(E.value){case"false":R=new wr({start:E,end:E});break;case"true":R=new Sr({start:E,end:E});break;case"null":R=new vr({start:E,end:E});break}break}next();return R}function to_fun_args(E,R){var insert_default=function(E,R){if(R){return new Sn({start:E.start,left:E,operator:"=",right:R,end:R.end})}return E};if(E instanceof Cn){return insert_default(new Ot({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),R)}else if(E instanceof In){E.value=to_fun_args(E.value);return insert_default(E,R)}else if(E instanceof xr){return E}else if(E instanceof Ot){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,R)}else if(E instanceof ir){return insert_default(new Kn({name:E.name,start:E.start,end:E.end}),R)}else if(E instanceof Ct){E.expression=to_fun_args(E.expression);return insert_default(E,R)}else if(E instanceof An){return insert_default(new Ot({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),R)}else if(E instanceof wn){return insert_default(to_fun_args(E.left,E.right),R)}else if(E instanceof Sn){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,R){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var j=$.token;var G;var ie=is("name","async")&&(G=peek()).value!="["&&G.type!="arrow"&&as_atom_node();if(is("punc")){switch($.token.value){case"(":if(ie&&!E)break;var ae=params_or_seq_(R,!ie);if(R&&is("arrow","=>")){return arrow_function(j,ae.map((E=>to_fun_args(E))),!!ie)}var _e=ie?new un({expression:ie,args:ae}):ae.length==1?ae[0]:new dn({expressions:ae});if(_e.start){const E=j.comments_before.length;N.set(j,E);_e.start.comments_before.unshift(...j.comments_before);j.comments_before=_e.start.comments_before;if(E==0&&j.comments_before.length>0){var Ee=j.comments_before[0];if(!Ee.nlb){Ee.nlb=j.nlb;j.nlb=false}}j.comments_after=_e.start.comments_after}_e.start=j;var we=prev();if(_e.end){we.comments_before=_e.end.comments_before;_e.end.comments_after.push(...we.comments_after);we.comments_after=_e.end.comments_after}_e.end=we;if(_e instanceof un)annotate(_e);return subscripts(_e,E);case"[":return subscripts(q(),E);case"{":return subscripts(le(),E)}if(!ie)unexpected()}if(R&&is("name")&&is_token(peek(),"arrow")){var Ie=new Kn({name:$.token.value,start:j,end:j});next();return arrow_function(j,[Ie],!!ie)}if(is("keyword","function")){next();var Me=function_(Mt,false,!!ie);Me.start=j;Me.end=prev();return subscripts(Me,E)}if(ie)return subscripts(ie,E);if(is("keyword","class")){next();var Te=class_(jn);Te.start=j;Te.end=prev();return subscripts(Te,E)}if(is("template_head")){return subscripts(template_string(),E)}if(nt.has($.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],R=$.token;E.push(new Nt({start:$.token,raw:ie,value:$.token.value,end:$.token}));while(!ae){next();handle_regexp();E.push(expression(true));E.push(new Nt({start:$.token,raw:ie,value:$.token.value,end:$.token}))}next();return new Ft({start:R,segments:E,end:$.token})}function expr_list(E,R,N){var j=true,q=[];while(!is("punc",E)){if(j)j=false;else expect(",");if(R&&is("punc",E))break;if(is("punc",",")&&N){q.push(new xr({start:$.token,end:$.token}))}else if(is("expand","...")){next();q.push(new Ct({start:prev(),expression:expression(),end:$.token}))}else{q.push(expression(false))}}next();return q}var q=embed_tokens((function(){expect("[");return new An({elements:expr_list("]",!R.strict,true)})}));var G=embed_tokens(((E,R)=>function_(It,E,R)));var le=embed_tokens((function object_or_destructuring_(){var E=$.token,N=true,j=[];expect("{");while(!is("punc","}")){if(N)N=false;else expect(",");if(!R.strict&&is("punc","}"))break;E=$.token;if(E.type=="expand"){next();j.push(new Ct({start:E,expression:expression(false),end:prev()}));continue}var q=as_property_name();var G;if(!is("punc",":")){var ie=concise_method_or_getset(q,E);if(ie){j.push(ie);continue}G=new ir({start:prev(),name:q,end:prev()})}else if(q===null){unexpected(prev())}else{next();G=expression(false)}if(is("operator","=")){next();G=new wn({start:E,left:G,operator:"=",right:expression(false),logical:false,end:prev()})}j.push(new In({start:E,quote:E.quote,key:q instanceof ot?q:""+q,value:G,end:prev()}))}next();return new Cn({properties:j})}));function class_(E,R){var N,j,q,G,ie=[];$.input.push_directives_stack();$.input.add_directive("use strict");if($.token.type=="name"&&$.token.value!="extends"){q=as_symbol(E===$n?Zn:er)}if(E===$n&&!q){if(R){E=jn}else{unexpected()}}if($.token.value=="extends"){next();G=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){N=$.token;j=concise_method_or_getset(as_property_name(),N,true);if(!j){unexpected()}ie.push(j);while(is("punc",";")){next()}}$.input.pop_directives_stack();next();return new E({start:N,name:q,extends:G,properties:ie,end:prev()})}function concise_method_or_getset(E,R,N){const get_symbol_ast=(E,N=Jn)=>{if(typeof E==="string"||typeof E==="number"){return new N({start:R,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=");var $=false;var j=false;var q=false;var ie=false;var ae=null;if(N&&E==="static"&&is_not_method_start()){j=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){$=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){q=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){ae=E;E=as_property_name()}if(prev().type==="privatename"){ie=true}const le=prev();if(ae!=null){if(!ie){const N=ae==="get"?On:Tn;E=get_symbol_ast(E);return new N({start:R,static:j,key:E,quote:E instanceof Jn?le.quote:undefined,value:G(),end:prev()})}else{const N=ae==="get"?Pn:Mn;return new N({start:R,static:j,key:get_symbol_ast(E),value:G(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const N=ie?Fn:Rn;var _e=new N({start:R,static:j,is_generator:q,async:$,key:E,quote:E instanceof Jn?le.quote:undefined,value:G(q,$),end:prev()});return _e}if(N){const N=get_symbol_ast(E,Xn);const $=N instanceof Xn?le.quote:undefined;const q=ie?Ln:Bn;if(is("operator","=")){next();return new q({start:R,static:j,quote:$,key:N,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new q({start:R,static:j,quote:$,key:N,end:prev()})}}}function import_(){var E=prev();var R;var N;if(is("name")){R=as_symbol(nr)}if(is("punc",",")){next()}N=map_names(true);if(N||R){expect_token("name","from")}var j=$.token;if(j.type!=="string"){unexpected()}next();return new an({start:E,imported_name:R,imported_names:N,module_name:new fr({start:j,value:j.value,quote:j.quote,end:j}),end:$.token})}function import_meta(){var E=$.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new ln({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var R=E?rr:lr;var N=E?nr:ar;var j=$.token;var q;var G;if(E){q=make_symbol(R)}else{G=make_symbol(N)}if(is("name","as")){next();if(E){G=make_symbol(N)}else{q=make_symbol(R)}}else if(E){G=new N(q)}else{q=new R(G)}return new on({start:j,foreign_name:q,name:G,end:prev()})}function map_nameAsterisk(E,R){var N=E?rr:lr;var j=E?nr:ar;var q=$.token;var G;var ie=prev();R=R||new j({name:"*",start:q,end:ie});G=new N({name:"*",start:q,end:ie});return new on({start:q,foreign_name:G,name:R,end:ie})}function map_names(E){var R;if(is("punc","{")){next();R=[];while(!is("punc","}")){R.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var N;next();if(E&&is("name","as")){next();N=as_symbol(E?nr:lr)}R=[map_nameAsterisk(E,N)]}return R}function export_(){var E=$.token;var R;var N;if(is("keyword","default")){R=true;next()}else if(N=map_names(false)){if(is("name","from")){next();var q=$.token;if(q.type!=="string"){unexpected()}next();return new cn({start:E,is_default:R,exported_names:N,module_name:new fr({start:q,value:q.value,quote:q.quote,end:q}),end:prev()})}else{return new cn({start:E,is_default:R,exported_names:N,end:prev()})}}var G;var ie;var ae;if(is("punc","{")||R&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ie=expression(false);semicolon()}else if((G=j(R))instanceof en&&R){unexpected(G.start)}else if(G instanceof en||G instanceof Tt||G instanceof $n){ae=G}else if(G instanceof jn||G instanceof Mt){ie=G}else if(G instanceof pt){ie=G.body}else{unexpected(G.start)}return new cn({start:E,is_default:R,exported_value:ie,exported_definition:ae,end:prev()})}function as_property_name(){var E=$.token;switch(E.type){case"punc":if(E.value==="["){next();var R=expression(false);expect("]");return R}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=$.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var R=$.token.value;return new(R=="this"?ur:R=="super"?pr:E)({name:String(R),start:$.token,end:$.token})}function _verify_symbol(E){var R=E.name;if(is_in_generator()&&R=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if($.input.has_directive("use strict")){if(R=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof qn&&(R=="arguments"||R=="eval")){token_error(E.start,"Unexpected "+R+" in strict mode")}}}function as_symbol(E,R){if(!is("name")){if(!R)croak("Name expected");return null}var N=_make_symbol(E);_verify_symbol(N);next();return N}function annotate(E){var R=E.start;var $=R.comments_before;const j=N.get(R);var q=j!=null?j:$.length;while(--q>=0){var G=$[q];if(/[@#]__/.test(G.value)){if(/[@#]__PURE__/.test(G.value)){set_annotation(E,Cr);break}if(/[@#]__INLINE__/.test(G.value)){set_annotation(E,Dr);break}if(/[@#]__NOINLINE__/.test(G.value)){set_annotation(E,Ir);break}}}}var subscripts=function(E,R,N){var $=E.start;if(is("punc",".")){next();const j=is("privatename")?gn:mn;return subscripts(new j({start:$,expression:E,optional:false,property:as_name(),end:prev()}),R,N)}if(is("punc","[")){next();var j=expression(true);expect("]");return subscripts(new yn({start:$,expression:E,optional:false,property:j,end:prev()}),R,N)}if(R&&is("punc","(")){next();var q=new un({start:$,expression:E,optional:false,args:call_args(),end:prev()});annotate(q);return subscripts(q,true,N)}if(is("punc","?.")){next();let N;if(R&&is("punc","(")){next();const R=new un({start:$,optional:true,expression:E,args:call_args(),end:prev()});annotate(R);N=subscripts(R,true,true)}else if(is("name")||is("privatename")){const j=is("privatename")?gn:mn;N=subscripts(new j({start:$,expression:E,optional:true,property:as_name(),end:prev()}),R,true)}else if(is("punc","[")){next();const j=expression(true);expect("]");N=subscripts(new yn({start:$,expression:E,optional:true,property:j,end:prev()}),R,true)}if(!N)unexpected();if(N instanceof vn)return N;return new vn({start:$,expression:N,end:prev()})}if(is("template_head")){if(N){unexpected()}return subscripts(new Rt({start:$,prefix:E,template_string:template_string(),end:prev()}),R)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new Ct({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,R){var N=$.token;if(N.type=="name"&&N.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&Xe.has(N.value)){next();handle_regexp();var j=make_unary(_n,N,maybe_unary(E));j.start=N;j.end=prev();return j}var q=expr_atom(E,R);while(is("operator")&&Ye.has($.token.value)&&!has_newline_before($.token)){if(q instanceof Pt)unexpected();q=make_unary(xn,$.token,q);q.start=N;q.end=$.token;next()}return q};function make_unary(E,R,N){var j=R.value;switch(j){case"++":case"--":if(!is_assignable(N))croak("Invalid use of "+j+" operator",R.line,R.col,R.pos);break;case"delete":if(N instanceof ir&&$.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",N.start.line,N.start.col,N.start.pos);break}return new E({operator:j,expression:N})}var expr_op=function(E,R,N){var j=is("operator")?$.token.value:null;if(j=="in"&&N)j=null;if(j=="**"&&E instanceof _n&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var q=j!=null?tt[j]:null;if(q!=null&&(q>R||j==="**"&&R===q)){next();var G=expr_op(maybe_unary(true),q,N);return expr_op(new kn({start:E.start,left:E,operator:j,right:G,end:G.end}),R,N)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var R=$.token;var N=expr_ops(E);if(is("operator","?")){next();var j=expression(false);expect(":");return new En({start:R,condition:N,consequent:j,alternative:expression(false,E),end:prev()})}return N};function is_assignable(E){return E instanceof hn||E instanceof ir}function to_destructuring(E){if(E instanceof Cn){E=new Ot({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof An){var R=[];for(var N=0;N=0;){q+="this."+R[G]+" = props."+R[G]+";"}const ie=$&&Object.create($.prototype);if(ie&&ie.initialize||N&&N.initialize)q+="this.initialize();";q+="}";q+="this.flags = 0;";q+="}";var ae=new Function(q)();if(ie){ae.prototype=ie;ae.BASE=$}if($)$.SUBCLASSES.push(ae);ae.prototype.CTOR=ae;ae.prototype.constructor=ae;ae.PROPS=R||null;ae.SELF_PROPS=j;ae.SUBCLASSES=[];if(E){ae.prototype.TYPE=ae.TYPE=E}if(N)for(G in N)if(HOP(N,G)){if(G[0]==="$"){ae[G.substr(1)]=N[G]}else{ae.prototype[G]=N[G]}}ae.DEFMETHOD=function(E,R){this.prototype[E]=R};return ae}const has_tok_flag=(E,R)=>Boolean(E.flags&R);const set_tok_flag=(E,R,N)=>{if(N){E.flags|=R}else{E.flags&=~R}};const rt=1;const st=2;const it=4;class AST_Token{constructor(E,R,N,$,j,q,G,ie,ae){this.flags=q?1:0;this.type=E;this.value=R;this.line=N;this.col=$;this.pos=j;this.comments_before=G;this.comments_after=ie;this.file=ae;Object.seal(this)}get nlb(){return has_tok_flag(this,rt)}set nlb(E){set_tok_flag(this,rt,E)}get quote(){return!has_tok_flag(this,it)?"":has_tok_flag(this,st)?"'":'"'}set quote(E){set_tok_flag(this,st,E==="'");set_tok_flag(this,it,!!E)}}var ot=DEFNODE("Node","start end",{_clone:function(E){if(E){var R=this.clone();return R.transform(new TreeTransformer((function(E){if(E!==R){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var lt=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var ct=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},lt);var ut=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},lt);var pt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},lt);function walk_body(E,R){const N=E.body;for(var $=0,j=N.length;$ SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,R){var N=this._clone(E);if(E&&this.variables&&R&&!this._block_scope){N.figure_out_scope({},{toplevel:R,parent_scope:this.parent_scope})}else{if(this.variables)N.variables=new Map(this.variables);if(this.enclosed)N.enclosed=this.enclosed.slice();if(this._block_scope)N._block_scope=this._block_scope}return N},pinned:function(){return this.uses_eval||this.uses_with}},dt);var At=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var R=this.body;var N="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";N=parse(N);N=N.transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return j.splice(R)}})));return N},wrap_enclose:function(E){if(typeof E!="string")E="";var R=E.indexOf(":");if(R<0)R=E.length;var N=this.body;return parse(["(function(",E.slice(0,R),'){"$ORIG"})(',E.slice(R+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return j.splice(N)}})))}},St);var Ct=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var Dt=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var R=0;R b)"},Dt);var Tt=DEFNODE("Defun",null,{$documentation:"A function definition"},Dt);var Ot=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.names.length;while(R--)E(this.names[R])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(R){if(R instanceof zn){E.push(R)}})));return E}});var Rt=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Ft=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.segments.length;while(R--)E(this.segments[R])}});var Nt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Bt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},lt);var Lt=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Bt);var $t=DEFNODE("Return",null,{$documentation:"A `return` statement"},Lt);var jt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},Lt);var zt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Bt);var Ut=DEFNODE("Break",null,{$documentation:"A `break` statement"},zt);var qt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},zt);var Gt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var Ht=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var Wt=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},mt);var Vt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);E(this.expression)}},dt);var Kt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},dt);var Qt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Kt);var Jt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);E(this.expression)}},Kt);var Xt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let R=this.body.length;while(R--)E(this.body[R])}},dt);var Yt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);if(this.argname)E(this.argname)}},dt);var Zt=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},dt);var en=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var R=this.definitions;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.definitions.length;while(R--)E(this.definitions[R])}},lt);var tn=DEFNODE("Var",null,{$documentation:"A `var` statement"},en);var nn=DEFNODE("Let",null,{$documentation:"A `let` statement"},en);var rn=DEFNODE("Const",null,{$documentation:"A `const` statement"},en);var sn=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(E){return E._visit(this,(function(){this.name._walk(E);if(this.value)this.value._walk(E)}))},_children_backwards(E){if(this.value)E(this.value);E(this.name)}});var on=DEFNODE("NameMapping","foreign_name name",{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(E){return E._visit(this,(function(){this.foreign_name._walk(E);this.name._walk(E)}))},_children_backwards(E){E(this.name);E(this.foreign_name)}});var an=DEFNODE("Import","imported_name imported_names module_name",{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from"},_walk:function(E){return E._visit(this,(function(){if(this.imported_name){this.imported_name._walk(E)}if(this.imported_names){this.imported_names.forEach((function(R){R._walk(E)}))}this.module_name._walk(E)}))},_children_backwards(E){E(this.module_name);if(this.imported_names){let R=this.imported_names.length;while(R--)E(this.imported_names[R])}if(this.imported_name)E(this.imported_name)}});var ln=DEFNODE("ImportMeta",null,{$documentation:"A reference to import.meta"});var cn=DEFNODE("Export","exported_definition exported_value is_default exported_names module_name",{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module"},_walk:function(E){return E._visit(this,(function(){if(this.exported_definition){this.exported_definition._walk(E)}if(this.exported_value){this.exported_value._walk(E)}if(this.exported_names){this.exported_names.forEach((function(R){R._walk(E)}))}if(this.module_name){this.module_name._walk(E)}}))},_children_backwards(E){if(this.module_name)E(this.module_name);if(this.exported_names){let R=this.exported_names.length;while(R--)E(this.exported_names[R])}if(this.exported_value)E(this.exported_value);if(this.exported_definition)E(this.exported_definition)}},lt);var un=DEFNODE("Call","expression args optional _annotations",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){if(this._annotations==null)this._annotations=0},_walk(E){return E._visit(this,(function(){var R=this.args;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}this.expression._walk(E)}))},_children_backwards(E){let R=this.args.length;while(R--)E(this.args[R]);E(this.expression)}});var pn=DEFNODE("New",null,{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},un);var dn=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(E){return E._visit(this,(function(){this.expressions.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.expressions.length;while(R--)E(this.expressions[R])}});var hn=DEFNODE("PropAccess","expression property optional",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}});var mn=DEFNODE("Dot","quote",{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},hn);var gn=DEFNODE("DotHash","",{$documentation:"A dotted property access to a private property",_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},hn);var yn=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.property._walk(E)}))},_children_backwards(E){E(this.property);E(this.expression)}},hn);var vn=DEFNODE("Chain","expression",{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var bn=DEFNODE("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var _n=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},bn);var xn=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},bn);var kn=DEFNODE("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(E){return E._visit(this,(function(){this.left._walk(E);this.right._walk(E)}))},_children_backwards(E){E(this.right);E(this.left)}});var En=DEFNODE("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.consequent._walk(E);this.alternative._walk(E)}))},_children_backwards(E){E(this.alternative);E(this.consequent);E(this.condition)}});var wn=DEFNODE("Assign","logical",{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},kn);var Sn=DEFNODE("DefaultAssign",null,{$documentation:"A default assignment expression like in `(a = 3) => a`"},kn);var An=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var R=this.elements;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.elements.length;while(R--)E(this.elements[R])}});var Cn=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(E){return E._visit(this,(function(){var R=this.properties;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.properties.length;while(R--)E(this.properties[R])}});var Dn=DEFNODE("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);this.value._walk(E)}))},_children_backwards(E){E(this.value);if(this.key instanceof ot)E(this.key)}});var In=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof ot}},Dn);var Mn=DEFNODE("PrivateSetter","static",{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return false}},Dn);var Pn=DEFNODE("PrivateGetter","static",{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return false}},Dn);var Tn=DEFNODE("ObjectSetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof Jn)}},Dn);var On=DEFNODE("ObjectGetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof Jn)}},Dn);var Rn=DEFNODE("ConciseMethod","quote static is_generator async",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof Jn)}},Dn);var Fn=DEFNODE("PrivateMethod","",{$documentation:"A private class method inside a class"},Rn);var Nn=DEFNODE("Class","name extends properties",{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(E){return E._visit(this,(function(){if(this.name){this.name._walk(E)}if(this.extends){this.extends._walk(E)}this.properties.forEach((R=>R._walk(E)))}))},_children_backwards(E){let R=this.properties.length;while(R--)E(this.properties[R]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},St);var Bn=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);if(this.value instanceof ot)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof ot)E(this.value);if(this.key instanceof ot)E(this.key)},computed_key(){return!(this.key instanceof Xn)}},Dn);var Ln=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Bn);var $n=DEFNODE("DefClass",null,{$documentation:"A class definition"},Nn);var jn=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Nn);var zn=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Un=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var qn=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},zn);var Gn=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},qn);var Hn=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},qn);var Wn=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Hn);var Vn=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Hn);var Kn=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Gn);var Qn=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},qn);var Jn=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},zn);var Xn=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},zn);var Yn=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},qn);var Zn=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Hn);var er=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},qn);var tr=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Hn);var nr=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Hn);var rr=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},zn);var sr=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},zn);var ir=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},zn);var ar=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},ir);var lr=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},zn);var cr=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},zn);var ur=DEFNODE("This",null,{$documentation:"The `this` symbol"},zn);var pr=DEFNODE("Super",null,{$documentation:"The `super` symbol"},ur);var dr=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var fr=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},dr);var hr=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},dr);var mr=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},dr);var gr=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},dr);var yr=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},dr);var vr=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},yr);var br=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},yr);var _r=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},yr);var xr=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},yr);var kr=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},yr);var Er=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},yr);var wr=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},Er);var Sr=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},Er);function walk(E,R,N=[E]){const $=N.push.bind(N);while(N.length){const E=N.pop();const j=R(E,N);if(j){if(j===Ar)return true;continue}E._children_backwards($)}return false}function walk_parent(E,R,N){const $=[E];const j=$.push.bind($);const q=N?N.slice():[];const G=[];let ie;const ae={parent:(E=0)=>{if(E===-1){return ie}if(N&&E>=q.length){E-=q.length;return N[N.length-(E+1)]}return q[q.length-(1+E)]}};while($.length){ie=$.pop();while(G.length&&$.length==G[G.length-1]){q.pop();G.pop()}const E=R(ie,ae);if(E){if(E===Ar)return true;continue}const N=$.length;ie._children_backwards(j);if($.length>N){q.push(ie);G.push(N-1)}}return false}const Ar=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,R){this.push(E);var N=this.visit(E,R?function(){R.call(E)}:noop);if(!N&&R){R.call(E)}this.pop();return N}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof Dt){this.directives=Object.create(this.directives)}else if(E instanceof ut&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Nn){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof Dt||E instanceof Nn){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var R=this.stack;for(var N=R.length;--N>=0;){var $=R[N];if($ instanceof E)return $}}has_directive(E){var R=this.directives[E];if(R)return R;var N=this.stack[this.stack.length-1];if(N instanceof St&&N.body){for(var $=0;$=0;){var $=R[N];if($ instanceof gt&&$.label.name==E.label.name)return $.body}else for(var N=R.length;--N>=0;){var $=R[N];if($ instanceof yt||E instanceof Ut&&$ instanceof Vt)return $}}}class TreeTransformer extends TreeWalker{constructor(E,R){super();this.before=E;this.after=R}}const Cr=1;const Dr=2;const Ir=4;var Mr=Object.freeze({__proto__:null,AST_Accessor:It,AST_Array:An,AST_Arrow:Pt,AST_Assign:wn,AST_Atom:yr,AST_Await:Gt,AST_BigInt:mr,AST_Binary:kn,AST_Block:dt,AST_BlockStatement:ft,AST_Boolean:Er,AST_Break:Ut,AST_Call:un,AST_Case:Jt,AST_Catch:Yt,AST_Chain:vn,AST_Class:Nn,AST_ClassExpression:jn,AST_ClassPrivateProperty:Ln,AST_ClassProperty:Bn,AST_ConciseMethod:Rn,AST_Conditional:En,AST_Const:rn,AST_Constant:dr,AST_Continue:qt,AST_Debugger:ct,AST_Default:Qt,AST_DefaultAssign:Sn,AST_DefClass:$n,AST_Definitions:en,AST_Defun:Tt,AST_Destructuring:Ot,AST_Directive:ut,AST_Do:bt,AST_Dot:mn,AST_DotHash:gn,AST_DWLoop:vt,AST_EmptyStatement:ht,AST_Exit:Lt,AST_Expansion:Ct,AST_Export:cn,AST_False:wr,AST_Finally:Zt,AST_For:xt,AST_ForIn:kt,AST_ForOf:Et,AST_Function:Mt,AST_Hole:xr,AST_If:Wt,AST_Import:an,AST_ImportMeta:ln,AST_Infinity:kr,AST_IterationStatement:yt,AST_Jump:Bt,AST_Label:sr,AST_LabeledStatement:gt,AST_LabelRef:cr,AST_Lambda:Dt,AST_Let:nn,AST_LoopControl:zt,AST_NameMapping:on,AST_NaN:br,AST_New:pn,AST_NewTarget:Un,AST_Node:ot,AST_Null:vr,AST_Number:hr,AST_Object:Cn,AST_ObjectGetter:On,AST_ObjectKeyVal:In,AST_ObjectProperty:Dn,AST_ObjectSetter:Tn,AST_PrefixedTemplateString:Rt,AST_PrivateGetter:Pn,AST_PrivateMethod:Fn,AST_PrivateSetter:Mn,AST_PropAccess:hn,AST_RegExp:gr,AST_Return:$t,AST_Scope:St,AST_Sequence:dn,AST_SimpleStatement:pt,AST_Statement:lt,AST_StatementWithBody:mt,AST_String:fr,AST_Sub:yn,AST_Super:pr,AST_Switch:Vt,AST_SwitchBranch:Kt,AST_Symbol:zn,AST_SymbolBlockDeclaration:Hn,AST_SymbolCatch:tr,AST_SymbolClass:er,AST_SymbolClassProperty:Xn,AST_SymbolConst:Wn,AST_SymbolDeclaration:qn,AST_SymbolDefClass:Zn,AST_SymbolDefun:Qn,AST_SymbolExport:ar,AST_SymbolExportForeign:lr,AST_SymbolFunarg:Kn,AST_SymbolImport:nr,AST_SymbolImportForeign:rr,AST_SymbolLambda:Yn,AST_SymbolLet:Vn,AST_SymbolMethod:Jn,AST_SymbolRef:ir,AST_SymbolVar:Gn,AST_TemplateSegment:Nt,AST_TemplateString:Ft,AST_This:ur,AST_Throw:jt,AST_Token:AST_Token,AST_Toplevel:At,AST_True:Sr,AST_Try:Xt,AST_Unary:bn,AST_UnaryPostfix:xn,AST_UnaryPrefix:_n,AST_Undefined:_r,AST_Var:tn,AST_VarDef:sn,AST_While:_t,AST_With:wt,AST_Yield:Ht,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:Ar,walk_body:walk_body,walk_parent:walk_parent,_INLINE:Dr,_NOINLINE:Ir,_PURE:Cr});function def_transform(E,R){E.DEFMETHOD("transform",(function(E,N){let $=undefined;E.push(this);if(E.before)$=E.before(this,R,N);if($===undefined){$=this;R($,E);if(E.after){const R=E.after($,N);if(R!==undefined)$=R}}E.pop();return $}))}function do_list(E,R){return j(E,(function(E){return E.transform(R,true)}))}def_transform(ot,noop);def_transform(gt,(function(E,R){E.label=E.label.transform(R);E.body=E.body.transform(R)}));def_transform(pt,(function(E,R){E.body=E.body.transform(R)}));def_transform(dt,(function(E,R){E.body=do_list(E.body,R)}));def_transform(bt,(function(E,R){E.body=E.body.transform(R);E.condition=E.condition.transform(R)}));def_transform(_t,(function(E,R){E.condition=E.condition.transform(R);E.body=E.body.transform(R)}));def_transform(xt,(function(E,R){if(E.init)E.init=E.init.transform(R);if(E.condition)E.condition=E.condition.transform(R);if(E.step)E.step=E.step.transform(R);E.body=E.body.transform(R)}));def_transform(kt,(function(E,R){E.init=E.init.transform(R);E.object=E.object.transform(R);E.body=E.body.transform(R)}));def_transform(wt,(function(E,R){E.expression=E.expression.transform(R);E.body=E.body.transform(R)}));def_transform(Lt,(function(E,R){if(E.value)E.value=E.value.transform(R)}));def_transform(zt,(function(E,R){if(E.label)E.label=E.label.transform(R)}));def_transform(Wt,(function(E,R){E.condition=E.condition.transform(R);E.body=E.body.transform(R);if(E.alternative)E.alternative=E.alternative.transform(R)}));def_transform(Vt,(function(E,R){E.expression=E.expression.transform(R);E.body=do_list(E.body,R)}));def_transform(Jt,(function(E,R){E.expression=E.expression.transform(R);E.body=do_list(E.body,R)}));def_transform(Xt,(function(E,R){E.body=do_list(E.body,R);if(E.bcatch)E.bcatch=E.bcatch.transform(R);if(E.bfinally)E.bfinally=E.bfinally.transform(R)}));def_transform(Yt,(function(E,R){if(E.argname)E.argname=E.argname.transform(R);E.body=do_list(E.body,R)}));def_transform(en,(function(E,R){E.definitions=do_list(E.definitions,R)}));def_transform(sn,(function(E,R){E.name=E.name.transform(R);if(E.value)E.value=E.value.transform(R)}));def_transform(Ot,(function(E,R){E.names=do_list(E.names,R)}));def_transform(Dt,(function(E,R){if(E.name)E.name=E.name.transform(R);E.argnames=do_list(E.argnames,R);if(E.body instanceof ot){E.body=E.body.transform(R)}else{E.body=do_list(E.body,R)}}));def_transform(un,(function(E,R){E.expression=E.expression.transform(R);E.args=do_list(E.args,R)}));def_transform(dn,(function(E,R){const N=do_list(E.expressions,R);E.expressions=N.length?N:[new hr({value:0})]}));def_transform(mn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(yn,(function(E,R){E.expression=E.expression.transform(R);E.property=E.property.transform(R)}));def_transform(vn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(Ht,(function(E,R){if(E.expression)E.expression=E.expression.transform(R)}));def_transform(Gt,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(bn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(kn,(function(E,R){E.left=E.left.transform(R);E.right=E.right.transform(R)}));def_transform(En,(function(E,R){E.condition=E.condition.transform(R);E.consequent=E.consequent.transform(R);E.alternative=E.alternative.transform(R)}));def_transform(An,(function(E,R){E.elements=do_list(E.elements,R)}));def_transform(Cn,(function(E,R){E.properties=do_list(E.properties,R)}));def_transform(Dn,(function(E,R){if(E.key instanceof ot){E.key=E.key.transform(R)}if(E.value)E.value=E.value.transform(R)}));def_transform(Nn,(function(E,R){if(E.name)E.name=E.name.transform(R);if(E.extends)E.extends=E.extends.transform(R);E.properties=do_list(E.properties,R)}));def_transform(Ct,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(on,(function(E,R){E.foreign_name=E.foreign_name.transform(R);E.name=E.name.transform(R)}));def_transform(an,(function(E,R){if(E.imported_name)E.imported_name=E.imported_name.transform(R);if(E.imported_names)do_list(E.imported_names,R);E.module_name=E.module_name.transform(R)}));def_transform(cn,(function(E,R){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(R);if(E.exported_value)E.exported_value=E.exported_value.transform(R);if(E.exported_names)do_list(E.exported_names,R);if(E.module_name)E.module_name=E.module_name.transform(R)}));def_transform(Ft,(function(E,R){E.segments=do_list(E.segments,R)}));def_transform(Rt,(function(E,R){E.prefix=E.prefix.transform(R);E.template_string=E.template_string.transform(R)}));(function(){var normalize_directives=function(E){var R=true;for(var N=0;N1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Xt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(R[0]),bfinally:E.finalizer?new Zt(from_moz(E.finalizer)):null})},Property:function(E){var R=E.key;var N={start:my_start_token(R||E.value),end:my_end_token(E.value),key:R.type=="Identifier"?R.name:R.value,value:from_moz(E.value)};if(E.computed){N.key=from_moz(E.key)}if(E.method){N.is_generator=E.value.generator;N.async=E.value.async;if(!E.computed){N.key=new Jn({name:N.key})}else{N.key=from_moz(E.key)}return new Rn(N)}if(E.kind=="init"){if(R.type!="Identifier"&&R.type!="Literal"){N.key=from_moz(R)}return new In(N)}if(typeof N.key==="string"||typeof N.key==="number"){N.key=new Jn({name:N.key})}N.value=new It(N.value);if(E.kind=="get")return new On(N);if(E.kind=="set")return new Tn(N);if(E.kind=="method"){N.async=E.value.async;N.is_generator=E.value.generator;N.quote=E.computed?'"':null;return new Rn(N)}},MethodDefinition:function(E){var R={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Jn({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new On(R)}if(E.kind=="set"){return new Tn(R)}R.is_generator=E.value.generator;R.async=E.value.async;return new Rn(R)},FieldDefinition:function(E){let R;if(E.computed){R=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");R=from_moz(E.key)}return new Bn({start:my_start_token(E),end:my_end_token(E),key:R,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let R;if(E.computed){R=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");R=from_moz(E.key)}return new Bn({start:my_start_token(E),end:my_end_token(E),key:R,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new An({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new xr:from_moz(E)}))})},ObjectExpression:function(E){return new Cn({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new dn({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?yn:mn)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new vn({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Jt:Qt)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?rn:E.kind==="let"?nn:tn)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var R=null;var N=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!N){N=[]}N.push(new on({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){R=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!N){N=[]}N.push(new on({start:my_start_token(E),end:my_end_token(E),foreign_name:new rr({name:"*"}),name:from_moz(E.local)}))}}));return new an({start:my_start_token(E),end:my_end_token(E),imported_name:R,imported_names:N,module_name:from_moz(E.source)})},ExportAllDeclaration:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),exported_names:[new on({name:new lr({name:"*"}),foreign_name:new lr({name:"*"})})],module_name:from_moz(E.source)})},ExportNamedDeclaration:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new on({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source)})},ExportDefaultDeclaration:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var R=E.value,N={start:my_start_token(E),end:my_end_token(E)};var $=E.regex;if($&&$.pattern){N.value={source:$.pattern,flags:$.flags};return new gr(N)}else if($){const $=E.raw||R;const j=$.match(/^\/(.*)\/(\w*)$/);if(!j)throw new Error("Invalid regex source "+$);const[q,G,ie]=j;N.value={source:G,flags:ie};return new gr(N)}if(R===null)return new vr(N);switch(typeof R){case"string":N.value=R;return new fr(N);case"number":N.value=R;N.raw=E.raw||R.toString();return new hr(N);case"boolean":return new(R?Sr:wr)(N)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Un({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new ln({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var N=R[R.length-2];return new(N.type=="LabeledStatement"?sr:N.type=="VariableDeclarator"&&N.id===E?N.kind=="const"?Wn:N.kind=="let"?Vn:Gn:/Import.*Specifier/.test(N.type)?N.local===E?nr:rr:N.type=="ExportSpecifier"?N.local===E?ar:lr:N.type=="FunctionExpression"?N.id===E?Yn:Kn:N.type=="FunctionDeclaration"?N.id===E?Qn:Kn:N.type=="ArrowFunctionExpression"?N.params.includes(E)?Kn:ir:N.type=="ClassExpression"?N.id===E?er:ir:N.type=="Property"?N.key===E&&N.computed||N.value===E?ir:Jn:N.type=="PropertyDefinition"||N.type==="FieldDefinition"?N.key===E&&N.computed||N.value===E?ir:Xn:N.type=="ClassDeclaration"?N.id===E?Zn:ir:N.type=="MethodDefinition"?N.computed?ir:Jn:N.type=="CatchClause"?tr:N.type=="BreakStatement"||N.type=="ContinueStatement"?cr:ir)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new mr({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var R="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(R?_n:xn)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?$n:jn)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",ht);map("BlockStatement",ft,"body@body");map("IfStatement",Wt,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",gt,"label>label, body>body");map("BreakStatement",Ut,"label>label");map("ContinueStatement",qt,"label>label");map("WithStatement",wt,"object>expression, body>body");map("SwitchStatement",Vt,"discriminant>expression, cases@body");map("ReturnStatement",$t,"argument>value");map("ThrowStatement",jt,"argument>value");map("WhileStatement",_t,"test>condition, body>body");map("DoWhileStatement",bt,"test>condition, body>body");map("ForStatement",xt,"init>init, test>condition, update>step, body>body");map("ForInStatement",kt,"left>init, right>object, body>body");map("ForOfStatement",Et,"left>init, right>object, body>body, await=await");map("AwaitExpression",Gt,"argument>expression");map("YieldExpression",Ht,"argument>expression, delegate=is_star");map("DebuggerStatement",ct);map("VariableDeclarator",sn,"id>name, init>value");map("CatchClause",Yt,"param>argname, body%body");map("ThisExpression",ur);map("Super",pr);map("BinaryExpression",kn,"operator=operator, left>left, right>right");map("LogicalExpression",kn,"operator=operator, left>left, right>right");map("AssignmentExpression",wn,"operator=operator, left>left, right>right");map("ConditionalExpression",En,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",pn,"callee>expression, arguments@args");map("CallExpression",un,"callee>expression, optional=optional, arguments@args");def_to_moz(At,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(Ct,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Rt,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Ft,(function To_Moz_TemplateLiteral(E){var R=[];var N=[];for(var $=0;$({type:"BigIntLiteral",value:E.value})));Er.DEFMETHOD("to_mozilla_ast",dr.prototype.to_mozilla_ast);vr.DEFMETHOD("to_mozilla_ast",dr.prototype.to_mozilla_ast);xr.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));dt.DEFMETHOD("to_mozilla_ast",ft.prototype.to_mozilla_ast);Dt.DEFMETHOD("to_mozilla_ast",Mt.prototype.to_mozilla_ast);function my_start_token(E){var R=E.loc,N=R&&R.start;var $=E.range;return new AST_Token("","",N&&N.line||0,N&&N.column||0,$?$[0]:E.start,false,[],[],R&&R.source)}function my_end_token(E){var R=E.loc,N=R&&R.end;var $=E.range;return new AST_Token("","",N&&N.line||0,N&&N.column||0,$?$[0]:E.end,false,[],[],R&&R.source)}function map(R,N,$){var j="function From_Moz_"+R+"(M){\n";j+="return new U2."+N.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var q="function To_Moz_"+R+"(M){\n";q+="return {\n"+"type: "+JSON.stringify(R);if($)$.split(/\s*,\s*/).forEach((function(E){var R=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!R)throw new Error("Can't understand property map: "+E);var N=R[1],$=R[2],G=R[3];j+=",\n"+G+": ";q+=",\n"+N+": ";switch($){case"@":j+="M."+N+".map(from_moz)";q+="M."+G+".map(to_moz)";break;case">":j+="from_moz(M."+N+")";q+="to_moz(M."+G+")";break;case"=":j+="M."+N;q+="M."+G;break;case"%":j+="from_moz(M."+N+").body";q+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));j+="\n})\n}";q+="\n}\n}";j=new Function("U2","my_start_token","my_end_token","from_moz","return("+j+")")(Mr,my_start_token,my_end_token,from_moz);q=new Function("to_moz","to_moz_block","to_moz_scope","return("+q+")")(to_moz,to_moz_block,to_moz_scope);E[R]=j;def_to_moz(N,q)}var R=null;function from_moz(N){R.push(N);var $=N!=null?E[N.type](N):null;R.pop();return $}ot.from_mozilla_ast=function(E){var N=R;R=[];var $=from_moz(E);R=N;return $};function set_moz_loc(E,R){var N=E.start;var $=E.end;if(!(N&&$)){return R}if(N.pos!=null&&$.endpos!=null){R.range=[N.pos,$.endpos]}if(N.line){R.loc={start:{line:N.line,column:N.col},end:$.endline?{line:$.endline,column:$.endcol}:null};if(N.file){R.loc.source=N.file}}return R}function def_to_moz(E,R){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,R(this,E))}))}var N=null;function to_moz(E){if(N===null){N=[]}N.push(E);var R=E!=null?E.to_mozilla_ast(N[N.length-2]):null;N.pop();if(N.length===0){N=null}return R}function to_moz_in_destructuring(){var E=N.length;while(E--){if(N[E]instanceof Ot){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,R){var N=R.body.map(to_moz);if(R.body[0]instanceof pt&&R.body[0].body instanceof fr){N.unshift(to_moz(new ht(R.body[0])))}return{type:E,body:N}}})();function first_in_statement(E){let R=E.parent(-1);for(let N=0,$;$=E.parent(N);N++){if($ instanceof lt&&$.body===R)return true;if($ instanceof dn&&$.expressions[0]===R||$.TYPE==="Call"&&$.expression===R||$ instanceof Rt&&$.prefix===R||$ instanceof mn&&$.expression===R||$ instanceof yn&&$.expression===R||$ instanceof En&&$.condition===R||$ instanceof kn&&$.left===R||$ instanceof xn&&$.expression===R){R=$}else{return false}}}function left_is_object(E){if(E instanceof Cn)return true;if(E instanceof dn)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Rt)return left_is_object(E.prefix);if(E instanceof mn||E instanceof yn)return left_is_object(E.expression);if(E instanceof En)return left_is_object(E.condition);if(E instanceof kn)return left_is_object(E.left);if(E instanceof xn)return left_is_object(E.expression);return false}const Pr=/^$|[;{][\s\n]*$/;const Tr=10;const Or=32;const Rr=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}function OutputStream(E){var R=!E;E=defaults(E,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(E.shorthand===undefined)E.shorthand=E.ecma>5;var N=return_false;if(E.comments){let R=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var $=E.comments.lastIndexOf("/");R=new RegExp(E.comments.substr(1,$-1),E.comments.substr($+1))}if(R instanceof RegExp){N=function(E){return E.type!="comment5"&&R.test(E.value)}}else if(typeof R==="function"){N=function(E){return E.type!="comment5"&&R(this,E)}}else if(R==="some"){N=is_some_comments}else{N=return_true}}var j=0;var q=0;var G=1;var ie=0;var ae="";let le=new Set;var _e=E.ascii_only?function(R,N){if(E.ecma>=2015&&!E.safari10){R=R.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var R=get_full_char_code(E,0).toString(16);return"\\u{"+R+"}"}))}return R.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var R=E.charCodeAt(0).toString(16);if(R.length<=2&&!N){while(R.length<2)R="0"+R;return"\\x"+R}else{while(R.length<4)R="0"+R;return"\\u"+R}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,R){if(R){return"\\u"+R.charCodeAt(0).toString(16)}return E}))};function make_string(R,N){var $=0,j=0;R=R.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(N,q){switch(N){case'"':++$;return'"';case"'":++j;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(R,q+1))?"\\x00":"\\0"}return N}));function quote_single(){return"'"+R.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+R.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+R.replace(/`/g,"\\`")+"`"}R=_e(R);if(N==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return N=="'"?quote_single():quote_double();default:return $>j?quote_single():quote_double()}}function encode_string(R,N){var $=make_string(R,N);if(E.inline_script){$=$.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");$=$.replace(/\x3c!--/g,"\\x3c!--");$=$.replace(/--\x3e/g,"--\\x3e")}return $}function make_name(E){E=E.toString();E=_e(E,true);return E}function make_indent(R){return" ".repeat(E.indent_start+j-R*E.indent_level)}var Ee=false;var we=false;var Ie=false;var Me=0;var Te=false;var Ne=false;var Be=-1;var Le="";var je,ze,Ue=E.source_map&&[];var qe=Ue?function(){Ue.forEach((function(R){try{let N=!R.name&&R.token.type=="name"?R.token.value:R.name;if(N instanceof zn){N=N.name}E.source_map.add(R.token.file,R.line,R.col,R.token.line,R.token.col,is_basic_identifier_string(N)?N:undefined)}catch(E){}}));Ue=[]}:noop;var Ge=E.max_line_len?function(){if(q>E.max_line_len){if(Me){var R=ae.slice(0,Me);var N=ae.slice(Me);if(Ue){var $=N.length-q;Ue.forEach((function(E){E.line++;E.col+=$}))}ae=R+"\n"+N;G++;ie++;q=N.length}}if(Me){Me=0;qe()}}:noop;var He=makePredicate("( [ + * / - , . `");function print(R){R=String(R);var N=get_full_char(R,0);if(Te&&N){Te=false;if(N!=="\n"){print("\n");Ve()}}if(Ne&&N){Ne=false;if(!/[\s;})]/.test(N)){We()}}Be=-1;var $=Le.charAt(Le.length-1);if(Ie){Ie=false;if($===":"&&N==="}"||(!N||!";}".includes(N))&&$!==";"){if(E.semicolons||He.has(N)){ae+=";";q++;ie++}else{Ge();if(q>0){ae+="\n";ie++;G++;q=0}if(/^\s+$/.test(R)){Ie=true}}if(!E.beautify)we=false}}if(we){if(is_identifier_char($)&&(is_identifier_char(N)||N=="\\")||N=="/"&&N==$||(N=="+"||N=="-")&&N==Le){ae+=" ";q++;ie++}we=false}if(je){Ue.push({token:je,name:ze,line:G,col:q});je=false;if(!Me)qe()}ae+=R;Ee=R[R.length-1]=="(";ie+=R.length;var j=R.split(/\r?\n/),le=j.length-1;G+=le;q+=j[0].length;if(le>0){Ge();q=j[le].length}Le=R}var star=function(){print("*")};var We=E.beautify?function(){print(" ")}:function(){we=true};var Ve=E.beautify?function(R){if(E.beautify){print(make_indent(R?.5:0))}}:noop;var Ke=E.beautify?function(E,R){if(E===true)E=next_indent();var N=j;j=E;var $=R();j=N;return $}:function(E,R){return R()};var Qe=E.beautify?function(){if(Be<0)return print("\n");if(ae[Be]!="\n"){ae=ae.slice(0,Be)+"\n"+ae.slice(Be);ie++;G++}Be++}:E.max_line_len?function(){Ge();Me=ae.length}:noop;var Je=E.beautify?function(){print(";")}:function(){Ie=true};function force_semicolon(){Ie=false;print(";")}function next_indent(){return j+E.indent_level}function with_block(E){var R;print("{");Qe();Ke(next_indent(),(function(){R=E()}));Ve();print("}");return R}function with_parens(E){print("(");var R=E();print(")");return R}function with_square(E){print("[");var R=E();print("]");return R}function comma(){print(",");We()}function colon(){print(":");We()}var Xe=Ue?function(E,R){je=E;ze=R}:noop;function get(){if(Me){Ge()}return ae}function has_nlb(){let E=ae.length-1;while(E>=0){const R=ae.charCodeAt(E);if(R===Tr){return true}if(R!==Or){return false}E--}return true}function filter_comment(R){if(!E.preserve_annotations){R=R.replace(Rr," ")}if(/^\s*$/.test(R)){return""}return R.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(R){var $=this;var j=R.start;if(!j)return;var q=$.printed_comments;const G=R instanceof Lt&&R.value;if(j.comments_before&&q.has(j.comments_before)){if(G){j.comments_before=[]}else{return}}var ae=j.comments_before;if(!ae){ae=j.comments_before=[]}q.add(ae);if(G){var le=new TreeWalker((function(E){var R=le.parent();if(R instanceof Lt||R instanceof kn&&R.left===E||R.TYPE=="Call"&&R.expression===E||R instanceof En&&R.condition===E||R instanceof mn&&R.expression===E||R instanceof dn&&R.expressions[0]===E||R instanceof yn&&R.expression===E||R instanceof xn){if(!E.start)return;var N=E.start.comments_before;if(N&&!q.has(N)){q.add(N);ae=ae.concat(N)}}else{return true}}));le.push(R);R.value.walk(le)}if(ie==0){if(ae.length>0&&E.shebang&&ae[0].type==="comment5"&&!q.has(ae[0])){print("#!"+ae.shift().value+"\n");Ve()}var _e=E.preamble;if(_e){print(_e.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}ae=ae.filter(N,R).filter((E=>!q.has(E)));if(ae.length==0)return;var Ee=has_nlb();ae.forEach((function(E,R){q.add(E);if(!Ee){if(E.nlb){print("\n");Ve();Ee=true}else if(R>0){We()}}if(/comment[134]/.test(E.type)){var N=filter_comment(E.value);if(N){print("//"+N+"\n");Ve()}Ee=true}else if(E.type=="comment2"){var N=filter_comment(E.value);if(N){print("/*"+N+"*/")}Ee=false}}));if(!Ee){if(j.nlb){print("\n");Ve()}else{We()}}}function append_comments(E,R){var $=this;var j=E.end;if(!j)return;var q=$.printed_comments;var G=j[R?"comments_before":"comments_after"];if(!G||q.has(G))return;if(!(E instanceof lt||G.every((E=>!/comment[134]/.test(E.type)))))return;q.add(G);var ie=ae.length;G.filter(N,E).forEach((function(E,N){if(q.has(E))return;q.add(E);Ne=false;if(Te){print("\n");Ve();Te=false}else if(E.nlb&&(N>0||!has_nlb())){print("\n");Ve()}else if(N>0||!R){We()}if(/comment[134]/.test(E.type)){const R=filter_comment(E.value);if(R){print("//"+R)}Te=true}else if(E.type=="comment2"){const R=filter_comment(E.value);if(R){print("/*"+R+"*/")}Ne=true}}));if(ae.length>ie)Be=ie}var Ye=[];return{get:get,toString:get,indent:Ve,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return j},current_width:function(){return q-j},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return Ee},newline:Qe,print:print,star:star,space:We,comma:comma,colon:colon,last:function(){return Le},semicolon:Je,force_semicolon:force_semicolon,to_utf8:_e,print_name:function(E){print(make_name(E))},print_string:function(E,R,N){var $=encode_string(E,R);if(N===true&&!$.includes("\\")){if(!Pr.test(ae)){force_semicolon()}force_semicolon()}print($)},print_template_string_chars:function(E){var R=encode_string(E,"`").replace(/\${/g,"\\${");return print(R.substr(1,R.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:Ke,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:Xe,option:function(R){return E[R]},printed_comments:le,prepend_comments:R?noop:prepend_comments,append_comments:R||N===return_false?noop:append_comments,line:function(){return G},col:function(){return q},pos:function(){return ie},push_node:function(E){Ye.push(E)},pop_node:function(){return Ye.pop()},parent:function(E){return Ye[Ye.length-2-(E||0)]}}}(function(){function DEFPRINT(E,R){E.DEFMETHOD("_codegen",R)}ot.DEFMETHOD("print",(function(E,R){var N=this,$=N._codegen;if(N instanceof St){E.active_scope=N}else if(!E.use_asm&&N instanceof ut&&N.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(N);N.add_source_map(E);$(N,E);E.append_comments(N)}E.push_node(N);if(R||N.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(N===E.use_asm){E.use_asm=null}}));ot.DEFMETHOD("_print",ot.prototype.print);ot.DEFMETHOD("print_to_string",(function(E){var R=OutputStream(E);this.print(R);return R.get()}));function PARENS(E,R){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,R)}))}else{E.DEFMETHOD("needs_parens",R)}}PARENS(ot,return_false);PARENS(Mt,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var R=E.parent();if(R instanceof hn&&R.expression===this){return true}}if(E.option("wrap_iife")){var R=E.parent();if(R instanceof un&&R.expression===this){return true}}if(E.option("wrap_func_args")){var R=E.parent();if(R instanceof un&&R.args.includes(this)){return true}}return false}));PARENS(Pt,(function(E){var R=E.parent();if(E.option("wrap_func_args")&&R instanceof un&&R.args.includes(this)){return true}return R instanceof hn&&R.expression===this}));PARENS(Cn,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(jn,first_in_statement);PARENS(bn,(function(E){var R=E.parent();return R instanceof hn&&R.expression===this||R instanceof un&&R.expression===this||R instanceof kn&&R.operator==="**"&&this instanceof _n&&R.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Gt,(function(E){var R=E.parent();return R instanceof hn&&R.expression===this||R instanceof un&&R.expression===this||R instanceof kn&&R.operator==="**"&&R.left===this||E.option("safari10")&&R instanceof _n}));PARENS(dn,(function(E){var R=E.parent();return R instanceof un||R instanceof bn||R instanceof kn||R instanceof sn||R instanceof hn||R instanceof An||R instanceof Dn||R instanceof En||R instanceof Pt||R instanceof Sn||R instanceof Ct||R instanceof Et&&this===R.object||R instanceof Ht||R instanceof cn}));PARENS(kn,(function(E){var R=E.parent();if(R instanceof un&&R.expression===this)return true;if(R instanceof bn)return true;if(R instanceof hn&&R.expression===this)return true;if(R instanceof kn){const E=R.operator;const N=this.operator;if(N==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(N==="||"||N==="&&")){return true}const $=tt[E];const j=tt[N];if($>j||$==j&&(this===R.right||E=="**")){return true}}}));PARENS(Ht,(function(E){var R=E.parent();if(R instanceof kn&&R.operator!=="=")return true;if(R instanceof un&&R.expression===this)return true;if(R instanceof En&&R.condition===this)return true;if(R instanceof bn)return true;if(R instanceof hn&&R.expression===this)return true}));PARENS(hn,(function(E){var R=E.parent();if(R instanceof pn&&R.expression===this){return walk(this,(E=>{if(E instanceof St)return true;if(E instanceof un){return Ar}}))}}));PARENS(un,(function(E){var R=E.parent(),N;if(R instanceof pn&&R.expression===this||R instanceof cn&&R.is_default&&this.expression instanceof Mt)return true;return this.expression instanceof Mt&&R instanceof hn&&R.expression===this&&(N=E.parent(1))instanceof wn&&N.left===R}));PARENS(pn,(function(E){var R=E.parent();if(this.args.length===0&&(R instanceof hn||R instanceof un&&R.expression===this))return true}));PARENS(hr,(function(E){var R=E.parent();if(R instanceof hn&&R.expression===this){var N=this.getValue();if(N<0||/^0/.test(make_num(N))){return true}}}));PARENS(mr,(function(E){var R=E.parent();if(R instanceof hn&&R.expression===this){var N=this.getValue();if(N.startsWith("-")){return true}}}));PARENS([wn,En],(function(E){var R=E.parent();if(R instanceof bn)return true;if(R instanceof kn&&!(R instanceof wn))return true;if(R instanceof un&&R.expression===this)return true;if(R instanceof En&&R.condition===this)return true;if(R instanceof hn&&R.expression===this)return true;if(this instanceof wn&&this.left instanceof Ot&&this.left.is_array===false)return true}));DEFPRINT(ut,(function(E,R){R.print_string(E.value,E.quote);R.semicolon()}));DEFPRINT(Ct,(function(E,R){R.print("...");E.expression.print(R)}));DEFPRINT(Ot,(function(E,R){R.print(E.is_array?"[":"{");var N=E.names.length;E.names.forEach((function(E,$){if($>0)R.comma();E.print(R);if($==N-1&&E instanceof xr)R.comma()}));R.print(E.is_array?"]":"}")}));DEFPRINT(ct,(function(E,R){R.print("debugger");R.semicolon()}));function display_body(E,R,N,$){var j=E.length-1;N.in_directive=$;E.forEach((function(E,$){if(N.in_directive===true&&!(E instanceof ut||E instanceof ht||E instanceof pt&&E.body instanceof fr)){N.in_directive=false}if(!(E instanceof ht)){N.indent();E.print(N);if(!($==j&&R)){N.newline();if(R)N.newline()}}if(N.in_directive===true&&E instanceof pt&&E.body instanceof fr){N.in_directive=false}}));N.in_directive=false}mt.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(lt,(function(E,R){E.body.print(R);R.semicolon()}));DEFPRINT(At,(function(E,R){display_body(E.body,true,R,true);R.print("")}));DEFPRINT(gt,(function(E,R){E.label.print(R);R.colon();E.body.print(R)}));DEFPRINT(pt,(function(E,R){E.body.print(R);R.semicolon()}));function print_braced_empty(E,R){R.print("{");R.with_indent(R.next_indent(),(function(){R.append_comments(E,true)}));R.print("}")}function print_braced(E,R,N){if(E.body.length>0){R.with_block((function(){display_body(E.body,false,R,N)}))}else print_braced_empty(E,R)}DEFPRINT(ft,(function(E,R){print_braced(E,R)}));DEFPRINT(ht,(function(E,R){R.semicolon()}));DEFPRINT(bt,(function(E,R){R.print("do");R.space();make_block(E.body,R);R.space();R.print("while");R.space();R.with_parens((function(){E.condition.print(R)}));R.semicolon()}));DEFPRINT(_t,(function(E,R){R.print("while");R.space();R.with_parens((function(){E.condition.print(R)}));R.space();E._do_print_body(R)}));DEFPRINT(xt,(function(E,R){R.print("for");R.space();R.with_parens((function(){if(E.init){if(E.init instanceof en){E.init.print(R)}else{parenthesize_for_noin(E.init,R,true)}R.print(";");R.space()}else{R.print(";")}if(E.condition){E.condition.print(R);R.print(";");R.space()}else{R.print(";")}if(E.step){E.step.print(R)}}));R.space();E._do_print_body(R)}));DEFPRINT(kt,(function(E,R){R.print("for");if(E.await){R.space();R.print("await")}R.space();R.with_parens((function(){E.init.print(R);R.space();R.print(E instanceof Et?"of":"in");R.space();E.object.print(R)}));R.space();E._do_print_body(R)}));DEFPRINT(wt,(function(E,R){R.print("with");R.space();R.with_parens((function(){E.expression.print(R)}));R.space();E._do_print_body(R)}));Dt.DEFMETHOD("_do_print",(function(E,R){var N=this;if(!R){if(N.async){E.print("async");E.space()}E.print("function");if(N.is_generator){E.star()}if(N.name){E.space()}}if(N.name instanceof zn){N.name.print(E)}else if(R&&N.name instanceof ot){E.with_square((function(){N.name.print(E)}))}E.with_parens((function(){N.argnames.forEach((function(R,N){if(N)E.comma();R.print(E)}))}));E.space();print_braced(N,E,true)}));DEFPRINT(Dt,(function(E,R){E._do_print(R)}));DEFPRINT(Rt,(function(E,R){var N=E.prefix;var $=N instanceof Dt||N instanceof kn||N instanceof En||N instanceof dn||N instanceof bn||N instanceof mn&&N.expression instanceof Cn;if($)R.print("(");E.prefix.print(R);if($)R.print(")");E.template_string.print(R)}));DEFPRINT(Ft,(function(E,R){var N=R.parent()instanceof Rt;R.print("`");for(var $=0;$");E.space();const j=R.body[0];if(R.body.length===1&&j instanceof $t){const R=j.value;if(!R){E.print("{}")}else if(left_is_object(R)){E.print("(");R.print(E);E.print(")")}else{R.print(E)}}else{print_braced(R,E)}if($){E.print(")")}}));Lt.DEFMETHOD("_do_print",(function(E,R){E.print(R);if(this.value){E.space();const R=this.value.start.comments_before;if(R&&R.length&&!E.printed_comments.has(R)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT($t,(function(E,R){E._do_print(R,"return")}));DEFPRINT(jt,(function(E,R){E._do_print(R,"throw")}));DEFPRINT(Ht,(function(E,R){var N=E.is_star?"*":"";R.print("yield"+N);if(E.expression){R.space();E.expression.print(R)}}));DEFPRINT(Gt,(function(E,R){R.print("await");R.space();var N=E.expression;var $=!(N instanceof un||N instanceof ir||N instanceof hn||N instanceof bn||N instanceof dr||N instanceof Gt||N instanceof Cn);if($)R.print("(");E.expression.print(R);if($)R.print(")")}));zt.DEFMETHOD("_do_print",(function(E,R){E.print(R);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT(Ut,(function(E,R){E._do_print(R,"break")}));DEFPRINT(qt,(function(E,R){E._do_print(R,"continue")}));function make_then(E,R){var N=E.body;if(R.option("braces")||R.option("ie8")&&N instanceof bt)return make_block(N,R);if(!N)return R.force_semicolon();while(true){if(N instanceof Wt){if(!N.alternative){make_block(E.body,R);return}N=N.alternative}else if(N instanceof mt){N=N.body}else break}force_statement(E.body,R)}DEFPRINT(Wt,(function(E,R){R.print("if");R.space();R.with_parens((function(){E.condition.print(R)}));R.space();if(E.alternative){make_then(E,R);R.space();R.print("else");R.space();if(E.alternative instanceof Wt)E.alternative.print(R);else force_statement(E.alternative,R)}else{E._do_print_body(R)}}));DEFPRINT(Vt,(function(E,R){R.print("switch");R.space();R.with_parens((function(){E.expression.print(R)}));R.space();var N=E.body.length-1;if(N<0)print_braced_empty(E,R);else R.with_block((function(){E.body.forEach((function(E,$){R.indent(true);E.print(R);if($0)R.newline()}))}))}));Kt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(R){E.indent();R.print(E);E.newline()}))}));DEFPRINT(Qt,(function(E,R){R.print("default:");E._do_print_body(R)}));DEFPRINT(Jt,(function(E,R){R.print("case");R.space();E.expression.print(R);R.print(":");E._do_print_body(R)}));DEFPRINT(Xt,(function(E,R){R.print("try");R.space();print_braced(E,R);if(E.bcatch){R.space();E.bcatch.print(R)}if(E.bfinally){R.space();E.bfinally.print(R)}}));DEFPRINT(Yt,(function(E,R){R.print("catch");if(E.argname){R.space();R.with_parens((function(){E.argname.print(R)}))}R.space();print_braced(E,R)}));DEFPRINT(Zt,(function(E,R){R.print("finally");R.space();print_braced(E,R)}));en.DEFMETHOD("_do_print",(function(E,R){E.print(R);E.space();this.definitions.forEach((function(R,N){if(N)E.comma();R.print(E)}));var N=E.parent();var $=N instanceof xt||N instanceof kt;var j=!$||N&&N.init!==this;if(j)E.semicolon()}));DEFPRINT(nn,(function(E,R){E._do_print(R,"let")}));DEFPRINT(tn,(function(E,R){E._do_print(R,"var")}));DEFPRINT(rn,(function(E,R){E._do_print(R,"const")}));DEFPRINT(an,(function(E,R){R.print("import");R.space();if(E.imported_name){E.imported_name.print(R)}if(E.imported_name&&E.imported_names){R.print(",");R.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(R)}else{R.print("{");E.imported_names.forEach((function(N,$){R.space();N.print(R);if(${if(E instanceof St)return true;if(E instanceof kn&&E.operator=="in"){return Ar}}))}E.print(R,$)}DEFPRINT(sn,(function(E,R){E.name.print(R);if(E.value){R.space();R.print("=");R.space();var N=R.parent(1);var $=N instanceof xt||N instanceof kt;parenthesize_for_noin(E.value,R,$)}}));DEFPRINT(un,(function(E,R){E.expression.print(R);if(E instanceof pn&&E.args.length===0)return;if(E.expression instanceof un||E.expression instanceof Dt){R.add_mapping(E.start)}if(E.optional)R.print("?.");R.with_parens((function(){E.args.forEach((function(E,N){if(N)R.comma();E.print(R)}))}))}));DEFPRINT(pn,(function(E,R){R.print("new");R.space();un.prototype._codegen(E,R)}));dn.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(R,N){if(N>0){E.comma();if(E.should_break()){E.newline();E.indent()}}R.print(E)}))}));DEFPRINT(dn,(function(E,R){E._do_print(R)}));DEFPRINT(mn,(function(E,R){var N=E.expression;N.print(R);var $=E.property;var j=Ee.has($)?R.option("ie8"):!is_identifier_string($,R.option("ecma")>=2015||R.option("safari10"));if(E.optional)R.print("?.");if(j){R.print("[");R.add_mapping(E.end);R.print_string($);R.print("]")}else{if(N instanceof hr&&N.getValue()>=0){if(!/[xa-f.)]/i.test(R.last())){R.print(".")}}if(!E.optional)R.print(".");R.add_mapping(E.end);R.print_name($)}}));DEFPRINT(gn,(function(E,R){var N=E.expression;N.print(R);var $=E.property;if(E.optional)R.print("?");R.print(".#");R.print_name($)}));DEFPRINT(yn,(function(E,R){E.expression.print(R);if(E.optional)R.print("?.");R.print("[");E.property.print(R);R.print("]")}));DEFPRINT(vn,(function(E,R){E.expression.print(R)}));DEFPRINT(_n,(function(E,R){var N=E.operator;R.print(N);if(/^[a-z]/i.test(N)||/[+-]$/.test(N)&&E.expression instanceof _n&&/^[+-]/.test(E.expression.operator)){R.space()}E.expression.print(R)}));DEFPRINT(xn,(function(E,R){E.expression.print(R);R.print(E.operator)}));DEFPRINT(kn,(function(E,R){var N=E.operator;E.left.print(R);if(N[0]==">"&&E.left instanceof xn&&E.left.operator=="--"){R.print(" ")}else{R.space()}R.print(N);if((N=="<"||N=="<<")&&E.right instanceof _n&&E.right.operator=="!"&&E.right.expression instanceof _n&&E.right.expression.operator=="--"){R.print(" ")}else{R.space()}E.right.print(R)}));DEFPRINT(En,(function(E,R){E.condition.print(R);R.space();R.print("?");R.space();E.consequent.print(R);R.space();R.colon();E.alternative.print(R)}));DEFPRINT(An,(function(E,R){R.with_square((function(){var N=E.elements,$=N.length;if($>0)R.space();N.forEach((function(E,N){if(N)R.comma();E.print(R);if(N===$-1&&E instanceof xr)R.comma()}));if($>0)R.space()}))}));DEFPRINT(Cn,(function(E,R){if(E.properties.length>0)R.with_block((function(){E.properties.forEach((function(E,N){if(N){R.print(",");R.newline()}R.indent();E.print(R)}));R.newline()}));else print_braced_empty(E,R)}));DEFPRINT(Nn,(function(E,R){R.print("class");R.space();if(E.name){E.name.print(R);R.space()}if(E.extends){var N=!(E.extends instanceof ir)&&!(E.extends instanceof hn)&&!(E.extends instanceof jn)&&!(E.extends instanceof Mt);R.print("extends");if(N){R.print("(")}else{R.space()}E.extends.print(R);if(N){R.print(")")}else{R.space()}}if(E.properties.length>0)R.with_block((function(){E.properties.forEach((function(E,N){if(N){R.newline()}R.indent();E.print(R)}));R.newline()}));else R.print("{}")}));DEFPRINT(Un,(function(E,R){R.print("new.target")}));function print_property_name(E,R,N){if(N.option("quote_keys")){return N.print_string(E)}if(""+ +E==E&&E>=0){if(N.option("keep_numbers")){return N.print(E)}return N.print(make_num(E))}var $=Ee.has(E)?N.option("ie8"):N.option("ecma")<2015||N.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if($||R&&N.option("keep_quoted_props")){return N.print_string(E,R)}return N.print_name(E)}DEFPRINT(In,(function(E,R){function get_name(E){var R=E.definition();return R?R.mangled_name||R.name:E.name}var N=R.option("shorthand");if(N&&E.value instanceof zn&&is_identifier_string(E.key,R.option("ecma")>=2015||R.option("safari10"))&&get_name(E.value)===E.key&&!Ee.has(E.key)){print_property_name(E.key,E.quote,R)}else if(N&&E.value instanceof Sn&&E.value.left instanceof zn&&is_identifier_string(E.key,R.option("ecma")>=2015||R.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,R);R.space();R.print("=");R.space();E.value.right.print(R)}else{if(!(E.key instanceof ot)){print_property_name(E.key,E.quote,R)}else{R.with_square((function(){E.key.print(R)}))}R.colon();E.value.print(R)}}));DEFPRINT(Ln,((E,R)=>{if(E.static){R.print("static");R.space()}R.print("#");print_property_name(E.key.name,E.quote,R);if(E.value){R.print("=");E.value.print(R)}R.semicolon()}));DEFPRINT(Bn,((E,R)=>{if(E.static){R.print("static");R.space()}if(E.key instanceof Xn){print_property_name(E.key.name,E.quote,R)}else{R.print("[");E.key.print(R);R.print("]")}if(E.value){R.print("=");E.value.print(R)}R.semicolon()}));Dn.DEFMETHOD("_print_getter_setter",(function(E,R,N){var $=this;if($.static){N.print("static");N.space()}if(E){N.print(E);N.space()}if($.key instanceof Jn){if(R)N.print("#");print_property_name($.key.name,$.quote,N)}else{N.with_square((function(){$.key.print(N)}))}$.value._do_print(N,true)}));DEFPRINT(Tn,(function(E,R){E._print_getter_setter("set",false,R)}));DEFPRINT(On,(function(E,R){E._print_getter_setter("get",false,R)}));DEFPRINT(Mn,(function(E,R){E._print_getter_setter("set",true,R)}));DEFPRINT(Pn,(function(E,R){E._print_getter_setter("get",true,R)}));DEFPRINT(Fn,(function(E,R){var N;if(E.is_generator&&E.async){N="async*"}else if(E.is_generator){N="*"}else if(E.async){N="async"}E._print_getter_setter(N,true,R)}));DEFPRINT(Rn,(function(E,R){var N;if(E.is_generator&&E.async){N="async*"}else if(E.is_generator){N="*"}else if(E.async){N="async"}E._print_getter_setter(N,false,R)}));zn.DEFMETHOD("_do_print",(function(E){var R=this.definition();E.print_name(R?R.mangled_name||R.name:this.name)}));DEFPRINT(zn,(function(E,R){E._do_print(R)}));DEFPRINT(xr,noop);DEFPRINT(ur,(function(E,R){R.print("this")}));DEFPRINT(pr,(function(E,R){R.print("super")}));DEFPRINT(dr,(function(E,R){R.print(E.getValue())}));DEFPRINT(fr,(function(E,R){R.print_string(E.getValue(),E.quote,R.in_directive)}));DEFPRINT(hr,(function(E,R){if((R.option("keep_numbers")||R.use_asm)&&E.raw){R.print(E.raw)}else{R.print(make_num(E.getValue()))}}));DEFPRINT(mr,(function(E,R){R.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,R)=>R.replace("/","\\/");DEFPRINT(gr,(function(R,N){let{source:$,flags:j}=R.getValue();$=regexp_source_fix($);j=j?sort_regexp_flags(j):"";$=$.replace(E,slash_script_replace);N.print(N.to_utf8(`/${$}/${j}`));const q=N.parent();if(q instanceof kn&&/^\w/.test(q.operator)&&q.left===R){N.print(" ")}}));function force_statement(E,R){if(R.option("braces")){make_block(E,R)}else{if(!E||E instanceof ht)R.force_semicolon();else E.print(R)}}function best_of(E){var R=E[0],N=R.length;for(var $=1;$E===null&&R===null||E.TYPE===R.TYPE&&E.shallow_cmp(R);const equivalent_to=(E,R)=>{if(!shallow_cmp(E,R))return false;const N=[E];const $=[R];const j=N.push.bind(N);const q=$.push.bind($);while(N.length&&$.length){const E=N.pop();const R=$.pop();if(!shallow_cmp(E,R))return false;E._children_backwards(j);R._children_backwards(q);if(N.length!==$.length){return false}}return N.length==0&&$.length==0};const mkshallow=E=>{const R=Object.keys(E).map((R=>{if(E[R]==="eq"){return`this.${R} === other.${R}`}else if(E[R]==="exist"){return`(this.${R} == null ? other.${R} == null : this.${R} === other.${R})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[R]}`)}})).join(" && ");return new Function("other","return "+R)};const pass_through=()=>true;ot.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};ct.prototype.shallow_cmp=pass_through;ut.prototype.shallow_cmp=mkshallow({value:"eq"});pt.prototype.shallow_cmp=pass_through;dt.prototype.shallow_cmp=pass_through;ht.prototype.shallow_cmp=pass_through;gt.prototype.shallow_cmp=mkshallow({"label.name":"eq"});bt.prototype.shallow_cmp=pass_through;_t.prototype.shallow_cmp=pass_through;xt.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});kt.prototype.shallow_cmp=pass_through;Et.prototype.shallow_cmp=pass_through;wt.prototype.shallow_cmp=pass_through;At.prototype.shallow_cmp=pass_through;Ct.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});Ot.prototype.shallow_cmp=mkshallow({is_array:"eq"});Rt.prototype.shallow_cmp=pass_through;Ft.prototype.shallow_cmp=pass_through;Nt.prototype.shallow_cmp=mkshallow({value:"eq"});Bt.prototype.shallow_cmp=pass_through;zt.prototype.shallow_cmp=pass_through;Gt.prototype.shallow_cmp=pass_through;Ht.prototype.shallow_cmp=mkshallow({is_star:"eq"});Wt.prototype.shallow_cmp=mkshallow({alternative:"exist"});Vt.prototype.shallow_cmp=pass_through;Kt.prototype.shallow_cmp=pass_through;Xt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Yt.prototype.shallow_cmp=mkshallow({argname:"exist"});Zt.prototype.shallow_cmp=pass_through;en.prototype.shallow_cmp=pass_through;sn.prototype.shallow_cmp=mkshallow({value:"exist"});on.prototype.shallow_cmp=pass_through;an.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});ln.prototype.shallow_cmp=pass_through;cn.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});un.prototype.shallow_cmp=pass_through;dn.prototype.shallow_cmp=pass_through;hn.prototype.shallow_cmp=pass_through;vn.prototype.shallow_cmp=pass_through;mn.prototype.shallow_cmp=mkshallow({property:"eq"});gn.prototype.shallow_cmp=mkshallow({property:"eq"});bn.prototype.shallow_cmp=mkshallow({operator:"eq"});kn.prototype.shallow_cmp=mkshallow({operator:"eq"});En.prototype.shallow_cmp=pass_through;An.prototype.shallow_cmp=pass_through;Cn.prototype.shallow_cmp=pass_through;Dn.prototype.shallow_cmp=pass_through;In.prototype.shallow_cmp=mkshallow({key:"eq"});Tn.prototype.shallow_cmp=mkshallow({static:"eq"});On.prototype.shallow_cmp=mkshallow({static:"eq"});Rn.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Nn.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Bn.prototype.shallow_cmp=mkshallow({static:"eq"});zn.prototype.shallow_cmp=mkshallow({name:"eq"});Un.prototype.shallow_cmp=pass_through;ur.prototype.shallow_cmp=pass_through;pr.prototype.shallow_cmp=pass_through;fr.prototype.shallow_cmp=mkshallow({value:"eq"});hr.prototype.shallow_cmp=mkshallow({value:"eq"});mr.prototype.shallow_cmp=mkshallow({value:"eq"});gr.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};yr.prototype.shallow_cmp=pass_through;const Fr=1<<0;const Nr=1<<1;let Br=null;let Lr=null;class SymbolDef{constructor(E,R,N){this.name=R.name;this.orig=[R];this.init=N;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof ot)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Br&&Br.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Fr||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Yn||this.orig[0]instanceof Qn)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Jn||(this.orig[0]instanceof er||this.orig[0]instanceof Zn)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const R=E.cache&&E.cache.props;if(this.global&&R&&R.has(this.name)){this.mangled_name=R.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var N=this.scope;var $=this.orig[0];if(E.ie8&&$ instanceof Yn)N=N.parent_scope;const j=redefined_catch_def(this);this.mangled_name=j?j.mangled_name||j.name:N.next_mangled(E,this);if(this.global&&R){R.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof tr&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}St.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:R=null,toplevel:N=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(N instanceof At)){throw new Error("Invalid toplevel scope")}var $=this.parent_scope=R;var j=new Map;var q=null;var G=null;var ie=[];var ae=new TreeWalker(((R,N)=>{if(R.is_block_scope()){const j=$;R.block_scope=$=new St(R);$._block_scope=true;const q=R instanceof Yt?j.parent_scope:j;$.init_scope_vars(q);$.uses_with=j.uses_with;$.uses_eval=j.uses_eval;if(E.safari10){if(R instanceof xt||R instanceof kt){ie.push($)}}if(R instanceof Vt){const E=$;$=j;R.expression.walk(ae);$=E;for(let E=0;E{if(E===R)return true;if(R instanceof Hn){return E instanceof Yn}return!(E instanceof Vn||E instanceof Wn)}))){js_error(`"${R.name}" is redeclared`,R.start.file,R.start.line,R.start.col,R.start.pos)}if(!(R instanceof Kn))mark_export(Me,2);if(q!==$){R.mark_enclosed();var Me=$.find_variable(R);if(R.thedef!==Me){R.thedef=Me;R.reference()}}}else if(R instanceof cr){var Te=j.get(R.name);if(!Te)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:R.name,line:R.start.line,col:R.start.col}));R.thedef=Te}if(!($ instanceof At)&&(R instanceof cn||R instanceof an)){js_error(`"${R.TYPE}" statement may only appear at the top level`,R.start.file,R.start.line,R.start.col,R.start.pos)}}));this.walk(ae);function mark_export(E,R){if(G){var N=0;do{R++}while(ae.parent(N++)!==G)}var $=ae.parent(R);if(E.export=$ instanceof cn?Fr:0){var j=$.exported_definition;if((j instanceof Tt||j instanceof $n)&&$.is_default){E.export=Nr}}}const le=this instanceof At;if(le){this.globals=new Map}var ae=new TreeWalker((E=>{if(E instanceof zt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof ir){var R=E.name;if(R=="eval"&&ae.parent()instanceof un){for(var $=E.scope;$&&!$.uses_eval;$=$.parent_scope){$.uses_eval=true}}var j;if(ae.parent()instanceof on&&ae.parent(1).module_name||!(j=E.scope.find_variable(R))){j=N.def_global(E);if(E instanceof ar)j.export=Fr}else if(j.scope instanceof Dt&&R=="arguments"){j.scope.uses_arguments=true}E.thedef=j;E.reference();if(E.scope.is_block_scope()&&!(j.orig[0]instanceof Hn)){E.scope=E.scope.get_defun_scope()}return true}var q;if(E instanceof tr&&(q=redefined_catch_def(E.definition()))){var $=E.scope;while($){push_uniq($.enclosed,q);if($===q.scope)break;$=$.parent_scope}}}));this.walk(ae);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof tr){var R=E.name;var $=E.thedef.references;var j=E.scope.get_defun_scope();var q=j.find_variable(R)||N.globals.get(R)||j.def_variable(E);$.forEach((function(E){E.thedef=q;E.reference()}));E.thedef=q;E.reference();return true}}))}if(E.safari10){for(const E of ie){E.parent_scope.variables.forEach((function(R){push_uniq(E.enclosed,R)}))}}}));At.DEFMETHOD("def_global",(function(E){var R=this.globals,N=E.name;if(R.has(N)){return R.get(N)}else{var $=new SymbolDef(this,E);$.undeclared=true;$.global=true;R.set(N,$);return $}}));St.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));St.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((R=>R.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));St.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((R=>R.name===E))||this.variables.has(E)}));St.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const R=(()=>{const E=[];let R=this;do{E.push(R)}while(R=R.parent_scope);E.reverse();return E})();const N=new Set(E.enclosed);const $=[];for(const E of R){$.forEach((R=>push_uniq(E.enclosed,R)));for(const R of E.variables.values()){if(N.has(R)){push_uniq($,R);push_uniq(E.enclosed,R)}}}}));function find_scopes_visible_from(E){const R=new Set;for(const N of new Set(E)){(function bubble_up(E){if(E==null||R.has(E))return;R.add(E);bubble_up(E.parent_scope)})(N)}return[...R]}St.DEFMETHOD("create_symbol",(function(E,{source:R,tentative_name:N,scope:$,conflict_scopes:j=[$],init:q=null}={}){let G;j=find_scopes_visible_from(j);if(N){N=G=N.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while(j.find((E=>E.conflicting_def_shallow(G)))){G=N+"$"+E++}}if(!G){throw new Error("No symbol name could be generated in create_symbol()")}const ie=make_node(E,R,{name:G,scope:$});this.def_variable(ie,q||null);ie.mark_enclosed();return ie}));ot.DEFMETHOD("is_block_scope",return_false);Nn.DEFMETHOD("is_block_scope",return_false);Dt.DEFMETHOD("is_block_scope",return_false);At.DEFMETHOD("is_block_scope",return_false);Kt.DEFMETHOD("is_block_scope",return_false);dt.DEFMETHOD("is_block_scope",return_true);St.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));yt.DEFMETHOD("is_block_scope",return_true);Dt.DEFMETHOD("init_scope_vars",(function(){St.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Kn({name:"arguments",start:this.start,end:this.end}))}));Pt.DEFMETHOD("init_scope_vars",(function(){St.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));zn.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var R=this.scope;while(R){push_uniq(R.enclosed,E);if(R===E.scope)break;R=R.parent_scope}}));zn.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));St.DEFMETHOD("find_variable",(function(E){if(E instanceof zn)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));St.DEFMETHOD("def_function",(function(E,R){var N=this.def_variable(E,R);if(!N.init||N.init instanceof Tt)N.init=R;return N}));St.DEFMETHOD("def_variable",(function(E,R){var N=this.variables.get(E.name);if(N){N.orig.push(E);if(N.init&&(N.scope!==E.scope||N.init instanceof Mt)){N.init=R}}else{N=new SymbolDef(this,E,R);this.variables.set(E.name,N);N.global=!this.parent_scope}return E.thedef=N}));function next_mangled(E,R){var N=E.enclosed;e:while(true){var $=$r(++E.cname);if(Ee.has($))continue;if(R.reserved.has($))continue;if(Lr&&Lr.has($))continue e;for(let E=N.length;--E>=0;){const j=N[E];const q=j.mangled_name||j.unmangleable(R)&&j.name;if($==q)continue e}return $}}St.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));At.DEFMETHOD("next_mangled",(function(E){let R;const N=this.mangled_names;do{R=next_mangled(this,E)}while(N.has(R));return R}));Mt.DEFMETHOD("next_mangled",(function(E,R){var N=R.orig[0]instanceof Kn&&this.name&&this.name.definition();var $=N?N.mangled_name||N.name:null;while(true){var j=next_mangled(this,E);if(!$||$!=j)return j}}));zn.DEFMETHOD("unmangleable",(function(E){var R=this.definition();return!R||R.unmangleable(E)}));sr.DEFMETHOD("unmangleable",return_false);zn.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));zn.DEFMETHOD("definition",(function(){return this.thedef}));zn.DEFMETHOD("global",(function(){return this.thedef.global}));At.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));At.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var R=-1;var N=[];if(E.keep_fnames){Br=new Set}const $=this.mangled_names=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){$.add(E)}))}}var j=new TreeWalker((function($,j){if($ instanceof gt){var q=R;j();R=q;return true}if($ instanceof St){$.variables.forEach(collect);return}if($.is_block_scope()){$.block_scope.variables.forEach(collect);return}if(Br&&$ instanceof sn&&$.value instanceof Dt&&!$.value.name&&keep_name(E.keep_fnames,$.name.name)){Br.add($.name.definition().id);return}if($ instanceof sr){let E;do{E=$r(++R)}while(Ee.has(E));$.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&$ instanceof tr){N.push($.definition());return}}));this.walk(j);if(E.keep_fnames||E.keep_classnames){Lr=new Set;N.forEach((R=>{if(R.name.length<6&&R.unmangleable(E)){Lr.add(R.name)}}))}N.forEach((R=>{R.mangle(E)}));Br=null;Lr=null;function collect(R){const $=!E.reserved.has(R.name)&&!(R.export&Fr);if($){N.push(R)}}}));At.DEFMETHOD("find_colliding_names",(function(E){const R=E.cache&&E.cache.props;const N=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof St)E.variables.forEach(add_def);if(E instanceof tr)add_def(E.definition())})));return N;function to_avoid(E){N.add(E)}function add_def(N){var $=N.name;if(N.global&&R&&R.has($))$=R.get($);else if(!N.unmangleable(E))return;to_avoid($)}}));At.DEFMETHOD("expand_names",(function(E){$r.reset();$r.sort();E=this._default_mangler_options(E);var R=this.find_colliding_names(E);var N=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof St)E.variables.forEach(rename);if(E instanceof tr)rename(E.definition())})));function next_name(){var E;do{E=$r(N++)}while(R.has(E)||Ee.has(E));return E}function rename(R){if(R.global&&E.cache)return;if(R.unmangleable(E))return;if(E.reserved.has(R.name))return;const N=redefined_catch_def(R);const $=R.name=N?N.name:next_name();R.orig.forEach((function(E){E.name=$}));R.references.forEach((function(E){E.name=$}))}}));ot.DEFMETHOD("tail_node",return_this);dn.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));At.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);try{ot.prototype.print=function(R,N){this._print(R,N);if(this instanceof zn&&!this.unmangleable(E)){$r.consider(this.name,-1)}else if(E.properties){if(this instanceof gn){$r.consider("#"+this.property,-1)}else if(this instanceof mn){$r.consider(this.property,-1)}else if(this instanceof yn){skip_string(this.property)}}};$r.consider(this.print_to_string(),1)}finally{ot.prototype.print=ot.prototype._print}$r.sort();function skip_string(E){if(E instanceof fr){$r.consider(E.value,-1)}else if(E instanceof En){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof dn){skip_string(E.tail_node())}}}));const $r=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const R="0123456789".split("");let N;let $;function reset(){$=new Map;E.forEach((function(E){$.set(E,0)}));R.forEach((function(E){$.set(E,0)}))}base54.consider=function(E,R){for(var N=E.length;--N>=0;){$.set(E[N],$.get(E[N])+R)}};function compare(E,R){return $.get(R)-$.get(E)}base54.sort=function(){N=mergeSort(E,compare).concat(mergeSort(R,compare))};base54.reset=reset;reset();function base54(E){var R="",$=54;E++;do{E--;R+=N[E%$];E=Math.floor(E/$);$=64}while(E>0);return R}return base54})();let jr=undefined;ot.prototype.size=function(E,R){jr=E&&E.mangle_options;let N=0;walk_parent(this,((E,R)=>{N+=E._size(R);if(E instanceof Pt&&E.is_braceless()){N+=E.body[0].value._size(R);return true}}),R||E&&E.stack);jr=undefined;return N};ot.prototype._size=()=>0;ct.prototype._size=()=>8;ut.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;dt.prototype._size=function(){return 2+list_overhead(this.body)};At.prototype._size=function(){return list_overhead(this.body)};ht.prototype._size=()=>1;gt.prototype._size=()=>2;bt.prototype._size=()=>9;_t.prototype._size=()=>7;xt.prototype._size=()=>8;kt.prototype._size=()=>8;wt.prototype._size=()=>6;Ct.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);It.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};Mt.prototype._size=function(E){const R=!!first_in_statement(E);return R*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Tt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};Pt.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof zn)){E+=2}const R=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+R};Ot.prototype._size=()=>2;Ft.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Nt.prototype._size=function(){return this.value.length};$t.prototype._size=function(){return this.value?7:6};jt.prototype._size=()=>6;Ut.prototype._size=function(){return this.label?6:5};qt.prototype._size=function(){return this.label?9:8};Wt.prototype._size=()=>4;Vt.prototype._size=function(){return 8+list_overhead(this.body)};Jt.prototype._size=function(){return 5+list_overhead(this.body)};Qt.prototype._size=function(){return 8+list_overhead(this.body)};Xt.prototype._size=function(){return 3+list_overhead(this.body)};Yt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};Zt.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,R)=>E+list_overhead(R.definitions);tn.prototype._size=function(){return def_size(4,this)};nn.prototype._size=function(){return def_size(4,this)};rn.prototype._size=function(){return def_size(6,this)};sn.prototype._size=function(){return this.value?1:0};on.prototype._size=function(){return this.name?4:0};an.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};ln.prototype._size=()=>11;cn.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};un.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};pn.prototype._size=function(){return 6+list_overhead(this.args)};dn.prototype._size=function(){return list_overhead(this.expressions)};mn.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};gn.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};yn.prototype._size=function(){return this.optional?4:2};bn.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};kn.prototype._size=function(E){if(this.operator==="in")return 4;let R=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof bn&&this.right.operator===this.operator){R+=1}if(this.needs_parens(E)){R+=2}return R};En.prototype._size=()=>3;An.prototype._size=function(){return 2+list_overhead(this.elements)};Cn.prototype._size=function(E){let R=2;if(first_in_statement(E)){R+=2}return R+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;In.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;On.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Tn.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Rn.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Fn.prototype._size=function(){return Rn.prototype._size.call(this)+1};Pn.prototype._size=Mn.prototype._size=function(){return Rn.prototype._size.call(this)+4};Nn.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Bn.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};Ln.prototype._size=function(){return Bn.prototype._size.call(this)+1};zn.prototype._size=function(){return!jr||this.definition().unmangleable(jr)?this.name.length:1};Xn.prototype._size=function(){return this.name.length};ir.prototype._size=qn.prototype._size=function(){const{name:E,thedef:R}=this;if(R&&R.global)return E.length;if(E==="arguments")return 9;return zn.prototype._size.call(this)};Un.prototype._size=()=>10;rr.prototype._size=function(){return this.name.length};lr.prototype._size=function(){return this.name.length};ur.prototype._size=()=>4;pr.prototype._size=()=>5;fr.prototype._size=function(){return this.value.length+2};hr.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};mr.prototype._size=function(){return this.value.length};gr.prototype._size=function(){return this.value.toString().length};vr.prototype._size=()=>4;br.prototype._size=()=>3;_r.prototype._size=()=>6;xr.prototype._size=()=>0;kr.prototype._size=()=>8;Sr.prototype._size=()=>4;wr.prototype._size=()=>5;Gt.prototype._size=()=>6;Ht.prototype._size=()=>6;const zr=1;const Ur=2;const qr=4;const Gr=8;const Hr=16;const Wr=32;const Vr=256;const Kr=512;const Qr=1024;const Jr=Vr|Kr|Qr;const has_flag=(E,R)=>E.flags&R;const set_flag=(E,R)=>{E.flags|=R};const clear_flag=(E,R)=>{E.flags&=~R};class Compressor extends TreeWalker{constructor(E,{false_by_default:R=false,mangle_options:N=false}){super();if(E.defaults!==undefined&&!E.defaults)R=true;this.options=defaults(E,{arguments:false,arrows:!R,booleans:!R,booleans_as_integers:false,collapse_vars:!R,comparisons:!R,computed_props:!R,conditionals:!R,dead_code:!R,defaults:true,directives:!R,drop_console:false,drop_debugger:!R,ecma:5,evaluate:!R,expression:false,global_defs:false,hoist_funs:false,hoist_props:!R,hoist_vars:false,ie8:false,if_return:!R,inline:!R,join_vars:!R,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!R,module:false,negate_iife:!R,passes:1,properties:!R,pure_getters:!R&&"strict",pure_funcs:null,reduce_funcs:!R,reduce_vars:!R,sequences:!R,side_effects:!R,switches:!R,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!R,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!R,warnings:false},true);var $=this.options["global_defs"];if(typeof $=="object")for(var j in $){if(j[0]==="@"&&HOP($,j)){$[j.slice(1)]=parse($[j],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var q=this.options["pure_funcs"];if(typeof q=="function"){this.pure_funcs=q}else{this.pure_funcs=q?function(E){return!q.includes(E.expression.print_to_string())}:return_true}var G=this.options["top_retain"];if(G instanceof RegExp){this.top_retain=function(E){return G.test(E.name)}}else if(typeof G=="function"){this.top_retain=G}else if(G){if(typeof G=="string"){G=G.split(/,/)}this.top_retain=function(E){return G.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ie=this.options["toplevel"];this.toplevel=typeof ie=="string"?{funcs:/funcs/.test(ie),vars:/vars/.test(ie)}:{funcs:ie,vars:ie};var ae=this.options["sequences"];this.sequences_limit=ae==1?800:ae|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=N}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var R=0,N=E.orig.length;R0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(R>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){j.body[G]=j.body[G].transform($)}}else if(j instanceof Wt){j.body=j.body.transform($);if(j.alternative){j.alternative=j.alternative.transform($)}}else if(j instanceof wt){j.body=j.body.transform($)}return j}));N.transform($)}));function read_property(E,R){R=get_value(R);if(R instanceof ot)return;var N;if(E instanceof An){var $=E.elements;if(R=="length")return make_node_from_constant($.length,E);if(typeof R=="number"&&R in $)N=$[R]}else if(E instanceof Cn){R=""+R;var j=E.properties;for(var q=j.length;--q>=0;){var G=j[q];if(!(G instanceof In))return;if(!N&&j[q].key===R)N=j[q].value}}return N instanceof ir&&N.fixed_value()||N}function is_modified(E,R,N,$,j,q){var G=R.parent(j);var ie=is_lhs(N,G);if(ie)return ie;if(!q&&G instanceof un&&G.expression===N&&!($ instanceof Pt)&&!($ instanceof Nn)&&!G.is_callee_pure(E)&&(!($ instanceof Mt)||!(G instanceof pn)&&$.contains_this())){return true}if(G instanceof An){return is_modified(E,R,G,G,j+1)}if(G instanceof In&&N===G.value){var ae=R.parent(j+1);return is_modified(E,R,ae,ae,j+2)}if(G instanceof hn&&G.expression===N){var le=read_property($,G.property);return!q&&is_modified(E,R,G,le,j+1)}}(function(E){E(ot,noop);function reset_def(E,R){R.assignments=0;R.chained=false;R.direct_access=false;R.escaped=0;R.recursive_refs=0;R.references=[];R.single_use=undefined;if(R.scope.pinned()){R.fixed=false}else if(R.orig[0]instanceof Wn||!E.exposed(R)){R.fixed=R.init}else{R.fixed=false}}function reset_variables(E,R,N){N.variables.forEach((function(N){reset_def(R,N);if(N.fixed===null){E.defs_to_safe_ids.set(N.id,E.safe_ids);mark(E,N,true)}else if(N.fixed){E.loop_ids.set(N.id,E.in_loop);mark(E,N,true)}}))}function reset_block_variables(E,R){if(R.block_scope)R.block_scope.variables.forEach((R=>{reset_def(E,R)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,R,N){E.safe_ids[R.id]=N}function safe_to_read(E,R){if(R.single_use=="m")return false;if(E.safe_ids[R.id]){if(R.fixed==null){var N=R.orig[0];if(N instanceof Kn||N.name=="arguments")return false;R.fixed=make_node(_r,N)}return true}return R.fixed instanceof Tt}function safe_to_assign(E,R,N,$){if(R.fixed===undefined)return true;let j;if(R.fixed===null&&(j=E.defs_to_safe_ids.get(R.id))){j[R.id]=false;E.defs_to_safe_ids.delete(R.id);return true}if(!HOP(E.safe_ids,R.id))return false;if(!safe_to_read(E,R))return false;if(R.fixed===false)return false;if(R.fixed!=null&&(!$||R.references.length>R.assignments))return false;if(R.fixed instanceof Tt){return $ instanceof ot&&R.fixed.parent_scope===N}return R.orig.every((E=>!(E instanceof Wn||E instanceof Qn||E instanceof Yn)))}function ref_once(E,R,N){return R.option("unused")&&!N.scope.pinned()&&N.references.length-N.recursive_refs==1&&E.loop_ids.get(N.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof Dt||E instanceof ur}function mark_escaped(E,R,N,$,j,q=0,G=1){var ie=E.parent(q);if(j){if(j.is_constant())return;if(j instanceof jn)return}if(ie instanceof wn&&(ie.operator==="="||ie.logical)&&$===ie.right||ie instanceof un&&($!==ie.expression||ie instanceof pn)||ie instanceof Lt&&$===ie.value&&$.scope!==R.scope||ie instanceof sn&&$===ie.value||ie instanceof Ht&&$===ie.value&&$.scope!==R.scope){if(G>1&&!(j&&j.is_constant_expression(N)))G=1;if(!R.escaped||R.escaped>G)R.escaped=G;return}else if(ie instanceof An||ie instanceof Gt||ie instanceof kn&&Zr.has(ie.operator)||ie instanceof En&&$!==ie.condition||ie instanceof Ct||ie instanceof dn&&$===ie.tail_node()){mark_escaped(E,R,N,ie,ie,q+1,G)}else if(ie instanceof In&&$===ie.value){var ae=E.parent(q+1);mark_escaped(E,R,N,ae,ae,q+2,G)}else if(ie instanceof hn&&$===ie.expression){j=read_property(j,ie.property);mark_escaped(E,R,N,ie,j,q+1,G+1);if(j)return}if(q>0)return;if(ie instanceof dn&&$!==ie.tail_node())return;if(ie instanceof pt)return;R.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof zn))return;var R=E.definition();if(!R)return;if(E instanceof ir)R.references.push(E);R.fixed=false}));E(It,(function(E,R,N){push(E);reset_variables(E,N,this);R();pop(E);return true}));E(wn,(function(E,R,N){var $=this;if($.left instanceof Ot){suppress($.left);return}const finish_walk=()=>{if($.logical){$.left.walk(E);push(E);$.right.walk(E);pop(E);return true}};var j=$.left;if(!(j instanceof ir))return finish_walk();var q=j.definition();var G=safe_to_assign(E,q,j.scope,$.right);q.assignments++;if(!G)return finish_walk();var ie=q.fixed;if(!ie&&$.operator!="="&&!$.logical)return finish_walk();var ae=$.operator=="=";var le=ae?$.right:$;if(is_modified(N,E,$,le,0))return finish_walk();q.references.push(j);if(!$.logical){if(!ae)q.chained=true;q.fixed=ae?function(){return $.right}:function(){return make_node(kn,$,{operator:$.operator.slice(0,-1),left:ie instanceof ot?ie:ie(),right:$.right})}}if($.logical){mark(E,q,false);push(E);$.right.walk(E);pop(E);return true}mark(E,q,false);$.right.walk(E);mark(E,q,true);mark_escaped(E,q,j.scope,$,le,0,1);return true}));E(kn,(function(E){if(!Zr.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));E(dt,(function(E,R,N){reset_block_variables(N,this)}));E(Jt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));E(Nn,(function(E,R){clear_flag(this,Hr);push(E);R();pop(E);return true}));E(En,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));E(vn,(function(E,R){const N=E.safe_ids;R();E.safe_ids=N;return true}));E(un,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const R of this.args)R.walk(E);return true}));E(hn,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof ot)this.property.walk(E);return true}));E(Qt,(function(E,R){push(E);R();pop(E);return true}));function mark_lambda(E,R,N){clear_flag(this,Hr);push(E);reset_variables(E,N,this);if(this.uses_arguments){R();pop(E);return}var $;if(!this.name&&($=E.parent())instanceof un&&$.expression===this&&!$.args.some((E=>E instanceof Ct))&&this.argnames.every((E=>E instanceof zn))){this.argnames.forEach(((R,N)=>{if(!R.definition)return;var j=R.definition();if(j.orig.length>1)return;if(j.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){j.fixed=function(){return $.args[N]||make_node(_r,$)};E.loop_ids.set(j.id,E.in_loop);mark(E,j,true)}else{j.fixed=false}}))}R();pop(E);return true}E(Dt,mark_lambda);E(bt,(function(E,R,N){reset_block_variables(N,this);const $=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=$;return true}));E(xt,(function(E,R,N){reset_block_variables(N,this);if(this.init)this.init.walk(E);const $=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=$;return true}));E(kt,(function(E,R,N){reset_block_variables(N,this);suppress(this.init);this.object.walk(E);const $=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=$;return true}));E(Wt,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));E(gt,(function(E){push(E);this.body.walk(E);pop(E);return true}));E(tr,(function(){this.definition().fixed=false}));E(ir,(function(E,R,N){var $=this.definition();$.references.push(this);if($.references.length==1&&!$.fixed&&$.orig[0]instanceof Qn){E.loop_ids.set($.id,E.in_loop)}var j;if($.fixed===undefined||!safe_to_read(E,$)){$.fixed=false}else if($.fixed){j=this.fixed_value();if(j instanceof Dt&&recursive_ref(E,$)){$.recursive_refs++}else if(j&&!N.exposed($)&&ref_once(E,N,$)){$.single_use=j instanceof Dt&&!j.pinned()||j instanceof Nn||$.scope===this.scope&&j.is_constant_expression()}else{$.single_use=false}if(is_modified(N,E,this,j,0,is_immutable(j))){if($.single_use){$.single_use="m"}else{$.fixed=false}}}mark_escaped(E,$,this.scope,this,j,0,1)}));E(At,(function(E,R,N){this.globals.forEach((function(E){reset_def(N,E)}));reset_variables(E,N,this)}));E(Xt,(function(E,R,N){reset_block_variables(N,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));E(bn,(function(E){var R=this;if(R.operator!=="++"&&R.operator!=="--")return;var N=R.expression;if(!(N instanceof ir))return;var $=N.definition();var j=safe_to_assign(E,$,N.scope,true);$.assignments++;if(!j)return;var q=$.fixed;if(!q)return;$.references.push(N);$.chained=true;$.fixed=function(){return make_node(kn,R,{operator:R.operator.slice(0,-1),left:make_node(_n,R,{operator:"+",expression:q instanceof ot?q:q()}),right:make_node(hr,R,{value:1})})};mark(E,$,true);return true}));E(sn,(function(E,R){var N=this;if(N.name instanceof Ot){suppress(N.name);return}var $=N.name.definition();if(N.value){if(safe_to_assign(E,$,N.name.scope,N.value)){$.fixed=function(){return N.value};E.loop_ids.set($.id,E.in_loop);mark(E,$,false);R();mark(E,$,true);return true}else{$.fixed=false}}}));E(_t,(function(E,R,N){reset_block_variables(N,this);const $=E.in_loop;E.in_loop=this;push(E);R();pop(E);E.in_loop=$;return true}))})((function(E,R){E.DEFMETHOD("reduce_vars",R)}));At.DEFMETHOD("reset_opt_flags",(function(E){const R=this;const N=E.option("reduce_vars");const $=new TreeWalker((function(j,q){clear_flag(j,Jr);if(N){if(E.top_retain&&j instanceof Tt&&$.parent()===R){set_flag(j,Qr)}return j.reduce_vars($,q,E)}}));$.safe_ids=Object.create(null);$.in_loop=null;$.loop_ids=new Map;$.defs_to_safe_ids=new Map;R.walk($)}));zn.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof ot)return E;return E()}));ir.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Yn}));function is_func_expr(E){return E instanceof Pt||E instanceof Mt}function is_lhs_read_only(E){if(E instanceof ur)return true;if(E instanceof ir)return E.definition().orig[0]instanceof Yn;if(E instanceof hn){E=E.expression;if(E instanceof ir){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof gr)return false;if(E instanceof dr)return true;return is_lhs_read_only(E)}return false}function is_ref_of(E,R){if(!(E instanceof ir))return false;var N=E.definition().orig;for(var $=N.length;--$>=0;){if(N[$]instanceof R)return true}}function find_scope(E){for(let R=0;;R++){const N=E.parent(R);if(N instanceof At)return N;if(N instanceof Dt)return N;if(N.block_scope)return N.block_scope}}function find_variable(E,R){var N,$=0;while(N=E.parent($++)){if(N instanceof St)break;if(N instanceof Yt&&N.argname){N=N.argname.definition().scope;break}}return N.find_variable(R)}function make_sequence(E,R){if(R.length==1)return R[0];if(R.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(dn,E,{expressions:R.reduce(merge_sequence,[])})}function make_node_from_constant(E,R){switch(typeof E){case"string":return make_node(fr,R,{value:E});case"number":if(isNaN(E))return make_node(br,R);if(isFinite(E)){return 1/E<0?make_node(_n,R,{operator:"-",expression:make_node(hr,R,{value:-E})}):make_node(hr,R,{value:E})}return E<0?make_node(_n,R,{operator:"-",expression:make_node(kr,R)}):make_node(kr,R);case"boolean":return make_node(E?Sr:wr,R);case"undefined":return make_node(_r,R);default:if(E===null){return make_node(vr,R,{value:null})}if(E instanceof RegExp){return make_node(gr,R,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function maintain_this_binding(E,R,N){if(E instanceof _n&&E.operator=="delete"||E instanceof un&&E.expression===R&&(N instanceof hn||N instanceof ir&&N.name=="eval")){return make_sequence(R,[make_node(hr,R,{value:0}),N])}return N}function merge_sequence(E,R){if(R instanceof dn){E.push(...R.expressions)}else{E.push(R)}return E}function as_statement_array(E){if(E===null)return[];if(E instanceof ft)return E.body;if(E instanceof ht)return[];if(E instanceof lt)return[E];throw new Error("Can't convert thing to statement array")}function is_empty(E){if(E===null)return true;if(E instanceof ht)return true;if(E instanceof ft)return E.body.length==0;return false}function can_be_evicted_from_block(E){return!(E instanceof $n||E instanceof Tt||E instanceof nn||E instanceof rn||E instanceof cn||E instanceof an)}function loop_body(E){if(E instanceof yt){return E.body instanceof ft?E.body:E}return E}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof Mt||is_iife_call(E.expression)}function is_undeclared_ref(E){return E instanceof ir&&E.definition().undeclared}var Xr=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");ir.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&Xr.has(this.name)}));var Yr=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof kr||E instanceof br||E instanceof _r}function tighten_body(E,R){var N,$;var q=R.find_parent(St).get_defun_scope();find_loop_scope_try();var G,ie=10;do{G=false;eliminate_spurious_blocks(E);if(R.option("dead_code")){eliminate_dead_code(E,R)}if(R.option("if_return")){handle_if_return(E,R)}if(R.sequences_limit>0){sequencesize(E,R);sequencesize_2(E,R)}if(R.option("join_vars")){join_consecutive_vars(E)}if(R.option("collapse_vars")){collapse(E,R)}}while(G&&ie-- >0);function find_loop_scope_try(){var E=R.self(),j=0;do{if(E instanceof Yt||E instanceof Zt){j++}else if(E instanceof yt){N=true}else if(E instanceof St){q=E;break}else if(E instanceof Xt){$=true}}while(E=R.parent(j++))}function collapse(E,R){if(q.pinned())return E;var ie;var ae=[];var le=E.length;var _e=new TreeTransformer((function(E){if(Ve)return E;if(!We){if(E!==we[Ie])return E;Ie++;if(Ie1)||E instanceof yt&&!(E instanceof xt)||E instanceof zt||E instanceof Xt||E instanceof wt||E instanceof Ht||E instanceof cn||E instanceof Nn||N instanceof xt&&E!==N.init||!qe&&(E instanceof ir&&!E.is_declared(R)&&!os.has(E))||E instanceof ir&&N instanceof un&&has_annotation(N,Ir)){Ve=true;return E}if(!Be&&(!ze||!qe)&&(N instanceof kn&&Zr.has(N.operator)&&N.left!==E||N instanceof En&&N.condition!==E||N instanceof Wt&&N.condition!==E)){Be=N}if(Qe&&!(E instanceof qn)&&Le.equivalent_to(E)){if(Be){Ve=true;return E}if(is_lhs(E,N)){if(Te)Ke++;return E}else{Ke++;if(Te&&Me instanceof sn)return E}G=Ve=true;if(Me instanceof xn){return make_node(_n,Me,Me)}if(Me instanceof sn){var j=Me.name.definition();var q=Me.value;if(j.references.length-j.replaced==1&&!R.exposed(j)){j.replaced++;if(He&&is_identifier_atom(q)){return q.transform(R)}else{return maintain_this_binding(N,E,q)}}return make_node(wn,Me,{operator:"=",logical:false,left:make_node(ir,Me.name,Me.name),right:q})}clear_flag(Me,Wr);return Me}var ie;if(E instanceof un||E instanceof Lt&&(Ue||Le instanceof hn||may_modify(Le))||E instanceof hn&&(Ue||E.expression.may_throw_on_access(R))||E instanceof ir&&(je.get(E.name)||Ue&&may_modify(E))||E instanceof sn&&E.value&&(je.has(E.name.name)||Ue&&may_modify(E.name))||(ie=is_lhs(E.left,E))&&(ie instanceof hn||je.has(ie.name))||Ge&&($?E.has_side_effects(R):side_effects_external(E))){Ne=E;if(E instanceof St)Ve=true}return handle_custom_scan_order(E)}),(function(E){if(Ve)return;if(Ne===E)Ve=true;if(Be===E)Be=null}));var Ee=new TreeTransformer((function(E){if(Ve)return E;if(!We){if(E!==we[Ie])return E;Ie++;if(Ie=0){if(le==0&&R.option("unused"))extract_args();var we=[];extract_candidates(E[le]);while(ae.length>0){we=ae.pop();var Ie=0;var Me=we[we.length-1];var Te=null;var Ne=null;var Be=null;var Le=get_lhs(Me);if(!Le||is_lhs_read_only(Le)||Le.has_side_effects(R))continue;var je=get_lvalues(Me);var ze=is_lhs_local(Le);if(Le instanceof ir)je.set(Le.name,false);var Ue=value_has_side_effects(Me);var qe=replace_all_symbols();var Ge=Me.may_throw(R);var He=Me.name instanceof Kn;var We=He;var Ve=false,Ke=0,Qe=!ie||!We;if(!Qe){for(var Je=R.self().argnames.lastIndexOf(Me.name)+1;!Ve&&JeKe)Ke=false;else{Ve=false;Ie=0;We=He;for(var Xe=le;!Ve&&Xe!(E instanceof Ct)))){var $=R.has_directive("use strict");if($&&!member($,N.body))$=false;var j=N.argnames.length;ie=E.args.slice(j);var q=new Set;for(var G=j;--G>=0;){var le=N.argnames[G];var _e=E.args[G];const j=le.definition&&le.definition();const we=j&&j.orig.length>1;if(we)continue;ie.unshift(make_node(sn,le,{name:le,value:_e}));if(q.has(le.name))continue;q.add(le.name);if(le instanceof Ct){var Ee=E.args.slice(G);if(Ee.every((E=>!has_overlapping_symbol(N,E,$)))){ae.unshift([make_node(sn,le,{name:le.expression,value:make_node(An,E,{elements:Ee})})])}}else{if(!_e){_e=make_node(_r,le).transform(R)}else if(_e instanceof Dt&&_e.pinned()||has_overlapping_symbol(N,_e,$)){_e=null}if(_e)ae.unshift([make_node(sn,le,{name:le,value:_e})])}}}}function extract_candidates(E){we.push(E);if(E instanceof wn){if(!E.left.has_side_effects(R)&&!(E.right instanceof vn)){ae.push(we.slice())}extract_candidates(E.right)}else if(E instanceof kn){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof un&&!has_annotation(E,Ir)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Jt){extract_candidates(E.expression)}else if(E instanceof En){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof en){var N=E.definitions.length;var $=N-200;if($<0)$=0;for(;$1&&!(E.name instanceof Kn)||($>1?mangleable_var(E):!R.exposed(N))){return make_node(ir,E.name,E.name)}}else{const R=E instanceof wn?E.left:E.expression;return!is_ref_of(R,Wn)&&!is_ref_of(R,Vn)&&R}}function get_rvalue(E){if(E instanceof wn){return E.right}else{return E.value}}function get_lvalues(E){var N=new Map;if(E instanceof bn)return N;var $=new TreeWalker((function(E){var j=E;while(j instanceof hn)j=j.expression;if(j instanceof ir||j instanceof ur){N.set(j.name,N.get(j.name)||is_modified(R,$,E,E,0))}}));get_rvalue(E).walk($);return N}function remove_candidate(N){if(N.name instanceof Kn){var $=R.parent(),q=R.self().argnames;var G=q.indexOf(N.name);if(G<0){$.args.length=Math.min($.args.length,q.length-1)}else{var ie=$.args;if(ie[G])ie[G]=make_node(hr,ie[G],{value:0})}return true}var ae=false;return E[le].transform(new TreeTransformer((function(E,R,$){if(ae)return E;if(E===N||E.body===N){ae=true;if(E instanceof sn){E.value=E.name instanceof Wn?make_node(_r,E.value):null;return E}return $?j.skip:null}}),(function(E){if(E instanceof dn)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof hn)E=E.expression;return E instanceof ir&&E.definition().scope===q&&!(N&&(je.has(E.name)||Me instanceof bn||Me instanceof wn&&!Me.logical&&Me.operator!="="))}function value_has_side_effects(E){if(E instanceof bn)return es.has(E.operator);return get_rvalue(E).has_side_effects(R)}function replace_all_symbols(){if(Ue)return false;if(Te)return true;if(Le instanceof ir){var E=Le.definition();if(E.references.length-E.replaced==(Me instanceof sn?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var R=E.definition();if(R.orig.length==1&&R.orig[0]instanceof Qn)return false;if(R.scope.get_defun_scope()!==q)return true;return!R.references.every((E=>{var R=E.scope.get_defun_scope();if(R.TYPE=="Scope")R=R.parent_scope;return R===q}))}function side_effects_external(E,R){if(E instanceof wn)return side_effects_external(E.left,true);if(E instanceof bn)return side_effects_external(E.expression,true);if(E instanceof sn)return E.value&&side_effects_external(E.value);if(R){if(E instanceof mn)return side_effects_external(E.expression,true);if(E instanceof yn)return side_effects_external(E.expression,true);if(E instanceof ir)return E.definition().scope!==q}return false}}function eliminate_spurious_blocks(E){var R=[];for(var N=0;N=0;){var ie=E[q];var ae=next_index(q);var le=E[ae];if(j&&!le&&ie instanceof $t){if(!ie.value){G=true;E.splice(q,1);continue}if(ie.value instanceof _n&&ie.value.operator=="void"){G=true;E[q]=make_node(pt,ie,{body:ie.value.expression});continue}}if(ie instanceof Wt){var _e=aborts(ie.body);if(can_merge_flow(_e)){if(_e.label){remove(_e.label.thedef.references,_e)}G=true;ie=ie.clone();ie.condition=ie.condition.negate(R);var Ee=as_statement_array_with_return(ie.body,_e);ie.body=make_node(ft,ie,{body:as_statement_array(ie.alternative).concat(extract_functions())});ie.alternative=make_node(ft,ie,{body:Ee});E[q]=ie.transform(R);continue}var _e=aborts(ie.alternative);if(can_merge_flow(_e)){if(_e.label){remove(_e.label.thedef.references,_e)}G=true;ie=ie.clone();ie.body=make_node(ft,ie.body,{body:as_statement_array(ie.body).concat(extract_functions())});var Ee=as_statement_array_with_return(ie.alternative,_e);ie.alternative=make_node(ft,ie.alternative,{body:Ee});E[q]=ie.transform(R);continue}}if(ie instanceof Wt&&ie.body instanceof $t){var we=ie.body.value;if(!we&&!ie.alternative&&(j&&!le||le instanceof $t&&!le.value)){G=true;E[q]=make_node(pt,ie.condition,{body:ie.condition});continue}if(we&&!ie.alternative&&le instanceof $t&&le.value){G=true;ie=ie.clone();ie.alternative=le;E[q]=ie.transform(R);E.splice(ae,1);continue}if(we&&!ie.alternative&&(!le&&j&&$||le instanceof $t)){G=true;ie=ie.clone();ie.alternative=le||make_node($t,ie,{value:null});E[q]=ie.transform(R);if(le)E.splice(ae,1);continue}var Ie=E[prev_index(q)];if(R.option("sequences")&&j&&!ie.alternative&&Ie instanceof Wt&&Ie.body instanceof $t&&next_index(ae)==E.length&&le instanceof pt){G=true;ie=ie.clone();ie.alternative=make_node(ft,le,{body:[le,make_node($t,le,{value:null})]});E[q]=ie.transform(R);E.splice(ae,1);continue}}}function has_multiple_if_returns(E){var R=0;for(var N=E.length;--N>=0;){var $=E[N];if($ instanceof Wt&&$.body instanceof $t){if(++R>1)return true}}return false}function is_return_void(E){return!E||E instanceof _n&&E.operator=="void"}function can_merge_flow($){if(!$)return false;for(var G=q+1,ie=E.length;G=0;){var $=E[N];if(!($ instanceof tn&&declarations_only($))){break}}return N}}function eliminate_dead_code(E,R){var N;var $=R.self();for(var j=0,q=0,ie=E.length;j!E.value))}function sequencesize(E,R){if(E.length<2)return;var N=[],$=0;function push_seq(){if(!N.length)return;var R=make_sequence(N[0],N);E[$++]=make_node(pt,R,{body:R});N=[]}for(var j=0,q=E.length;j=R.sequences_limit)push_seq();var ae=ie.body;if(N.length>0)ae=ae.drop_side_effect_free(R);if(ae)merge_sequence(N,ae)}else if(ie instanceof en&&declarations_only(ie)||ie instanceof Tt){E[$++]=ie}else{push_seq();E[$++]=ie}}push_seq();E.length=$;if($!=q)G=true}function to_simple_statement(E,R){if(!(E instanceof ft))return E;var N=null;for(var $=0,j=E.body.length;${if(E instanceof St)return true;if(E instanceof kn&&E.operator==="in"){return Ar}}));if(!E){if(q.init)q.init=cons_seq(q.init);else{q.init=$.body;N--;G=true}}}}else if(q instanceof kt){if(!(q.init instanceof rn)&&!(q.init instanceof nn)){q.object=cons_seq(q.object)}}else if(q instanceof Wt){q.condition=cons_seq(q.condition)}else if(q instanceof Vt){q.expression=cons_seq(q.expression)}else if(q instanceof wt){q.expression=cons_seq(q.expression)}}if(R.option("conditionals")&&q instanceof Wt){var ie=[];var ae=to_simple_statement(q.body,ie);var le=to_simple_statement(q.alternative,ie);if(ae!==false&&le!==false&&ie.length>0){var _e=ie.length;ie.push(make_node(Wt,q,{condition:q.condition,body:ae||make_node(ht,q.body),alternative:le}));ie.unshift(N,1);[].splice.apply(E,ie);j+=_e;N+=_e+1;$=null;G=true;continue}}E[N++]=q;$=q instanceof pt?q:null}E.length=N}function join_object_assignments(E,N){if(!(E instanceof en))return;var $=E.definitions[E.definitions.length-1];if(!($.value instanceof Cn))return;var j;if(N instanceof wn&&!N.logical){j=[N]}else if(N instanceof dn){j=N.expressions.slice()}if(!j)return;var G=false;do{var ie=j[0];if(!(ie instanceof wn))break;if(ie.operator!="=")break;if(!(ie.left instanceof hn))break;var ae=ie.left.expression;if(!(ae instanceof ir))break;if($.name.name!=ae.name)break;if(!ie.right.is_constant_expression(q))break;var le=ie.left.property;if(le instanceof ot){le=le.evaluate(R)}if(le instanceof ot)break;le=""+le;var _e=R.option("ecma")<2015&&R.has_directive("use strict")?function(E){return E.key!=le&&(E.key&&E.key.name!=le)}:function(E){return E.key&&E.key.name!=le};if(!$.value.properties.every(_e))break;var Ee=$.value.properties.filter((function(E){return E.key===le}))[0];if(!Ee){$.value.properties.push(make_node(In,ie,{key:le,value:ie.right}))}else{Ee.value=new dn({start:Ee.start,expressions:[Ee.value.clone(),ie.right.clone()],end:Ee.end})}j.shift();G=true}while(j.length);return G&&j}function join_consecutive_vars(E){var R;for(var N=0,$=-1,j=E.length;N{if($ instanceof tn){$.remove_initializers();N.push($);return true}if($ instanceof Tt&&($===R||!E.has_directive("use strict"))){N.push($===R?$:make_node(tn,$,{definitions:[make_node(sn,$,{name:make_node(Gn,$.name,$.name),value:null})]}));return true}if($ instanceof cn||$ instanceof an){N.push($);return true}if($ instanceof St){return true}}))}function get_value(E){if(E instanceof dr){return E.getValue()}if(E instanceof _n&&E.operator=="void"&&E.expression instanceof dr){return}return E}function is_undefined(E,R){return has_flag(E,Gr)||E instanceof _r||E instanceof _n&&E.operator=="void"&&!E.expression.has_side_effects(R)}(function(E){ot.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(ot,is_strict);E(vr,return_true);E(_r,return_true);E(dr,return_false);E(An,return_false);E(Cn,(function(E){if(!is_strict(E))return false;for(var R=this.properties.length;--R>=0;)if(this.properties[R]._dot_throw(E))return true;return false}));E(Nn,return_false);E(Dn,return_false);E(On,return_true);E(Ct,(function(E){return this.expression._dot_throw(E)}));E(Mt,return_false);E(Pt,return_false);E(xn,return_false);E(_n,(function(){return this.operator=="void"}));E(kn,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(wn,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(En,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(mn,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof Mt||this.expression instanceof Nn)}return true}));E(vn,(function(E){return this.expression._dot_throw(E)}));E(dn,(function(E){return this.tail_node()._dot_throw(E)}));E(ir,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Gr))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var R=this.fixed_value();return!R||R._dot_throw(E)}))})((function(E,R){E.DEFMETHOD("_dot_throw",R)}));(function(E){const R=makePredicate("! delete");const N=makePredicate("in instanceof == != === !== < <= >= >");E(ot,return_false);E(_n,(function(){return R.has(this.operator)}));E(kn,(function(){return N.has(this.operator)||Zr.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(En,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(wn,(function(){return this.operator=="="&&this.right.is_boolean()}));E(dn,(function(){return this.tail_node().is_boolean()}));E(Sr,return_true);E(wr,return_true)})((function(E,R){E.DEFMETHOD("is_boolean",R)}));(function(E){E(ot,return_false);E(hr,return_true);var R=makePredicate("+ - ~ ++ --");E(bn,(function(){return R.has(this.operator)}));var N=makePredicate("- * / % & | ^ << >> >>>");E(kn,(function(E){return N.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(wn,(function(E){return N.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(dn,(function(E){return this.tail_node().is_number(E)}));E(En,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,R){E.DEFMETHOD("is_number",R)}));(function(E){E(ot,return_false);E(fr,return_true);E(Ft,return_true);E(_n,(function(){return this.operator=="typeof"}));E(kn,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(wn,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(dn,(function(E){return this.tail_node().is_string(E)}));E(En,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,R){E.DEFMETHOD("is_string",R)}));var Zr=makePredicate("&& || ??");var es=makePredicate("delete ++ --");function is_lhs(E,R){if(R instanceof bn&&es.has(R.operator))return R.expression;if(R instanceof wn&&R.left===E)return E}(function(E){function to_node(E,R){if(E instanceof ot)return make_node(E.CTOR,R,E);if(Array.isArray(E))return make_node(An,R,{elements:E.map((function(E){return to_node(E,R)}))});if(E&&typeof E=="object"){var N=[];for(var $ in E)if(HOP(E,$)){N.push(make_node(In,R,{key:$,value:to_node(E[$],R)}))}return make_node(Cn,R,{properties:N})}return make_node_from_constant(E,R)}At.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(R){var N=R._find_defs(E,"");if(!N)return;var $=0,j=R,q;while(q=this.parent($++)){if(!(q instanceof hn))break;if(q.expression!==j)break;j=q}if(is_lhs(j,q)){return}return N})))}));E(ot,noop);E(vn,(function(E,R){return this.expression._find_defs(E,R)}));E(mn,(function(E,R){return this.expression._find_defs(E,"."+this.property+R)}));E(qn,(function(){if(!this.global())return}));E(ir,(function(E,R){if(!this.global())return;var N=E.option("global_defs");var $=this.name+R;if(HOP(N,$))return to_node(N[$],this)}))})((function(E,R){E.DEFMETHOD("_find_defs",R)}));function best_of_expression(E,R){return E.size()>R.size()?R:E}function best_of_statement(E,R){return best_of_expression(make_node(pt,E,{body:E}),make_node(pt,R,{body:R})).body}function best_of(E,R,N){return(first_in_statement(E)?best_of_statement:best_of_expression)(R,N)}function convert_to_predicate(E){const R=new Map;for(var N of Object.keys(E)){R.set(N,makePredicate(E[N]))}return R}var ts=["constructor","toString","valueOf"];var ns=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(ts),Boolean:ts,Function:ts,Number:["toExponential","toFixed","toPrecision"].concat(ts),Object:ts,RegExp:["test"].concat(ts),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(ts)});var rs=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(E){ot.DEFMETHOD("evaluate",(function(E){if(!E.option("evaluate"))return this;var R=this._eval(E,1);if(!R||R instanceof RegExp)return R;if(typeof R=="function"||typeof R=="object")return this;return R}));var R=makePredicate("! ~ - + void");ot.DEFMETHOD("is_constant",(function(){if(this instanceof dr){return!(this instanceof gr)}else{return this instanceof _n&&this.expression instanceof dr&&R.has(this.operator)}}));E(lt,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));E(Dt,return_this);E(Nn,return_this);E(ot,return_this);E(dr,(function(){return this.getValue()}));E(mr,return_this);E(gr,(function(E){let R=E.evaluated_regexps.get(this);if(R===undefined){try{R=(0,eval)(this.print_to_string())}catch(E){R=null}E.evaluated_regexps.set(this,R)}return R||this}));E(Ft,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));E(Mt,(function(E){if(E.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=()=>this.print_to_string();return fn}return this}));E(An,(function(E,R){if(E.option("unsafe")){var N=[];for(var $=0,j=this.elements.length;$typeof E==="object"||typeof E==="function"||typeof E==="symbol";E(kn,(function(E,R){if(!$.has(this.operator))R++;var N=this.left._eval(E,R);if(N===this.left)return this;var q=this.right._eval(E,R);if(q===this.right)return this;var G;if(N!=null&&q!=null&&j.has(this.operator)&&has_identity(N)&&has_identity(q)&&typeof N===typeof q){return this}switch(this.operator){case"&&":G=N&&q;break;case"||":G=N||q;break;case"??":G=N!=null?N:q;break;case"|":G=N|q;break;case"&":G=N&q;break;case"^":G=N^q;break;case"+":G=N+q;break;case"*":G=N*q;break;case"**":G=Math.pow(N,q);break;case"/":G=N/q;break;case"%":G=N%q;break;case"-":G=N-q;break;case"<<":G=N<>":G=N>>q;break;case">>>":G=N>>>q;break;case"==":G=N==q;break;case"===":G=N===q;break;case"!=":G=N!=q;break;case"!==":G=N!==q;break;case"<":G=N":G=N>q;break;case">=":G=N>=q;break;default:return this}if(isNaN(G)&&E.find_parent(wt)){return this}return G}));E(En,(function(E,R){var N=this.condition._eval(E,R);if(N===this.condition)return this;var $=N?this.consequent:this.alternative;var j=$._eval(E,R);return j===$?this:j}));const q=new Set;E(ir,(function(E,R){if(q.has(this))return this;var N=this.fixed_value();if(!N)return this;q.add(this);const $=N._eval(E,R);q.delete(this);if($===N)return this;if($&&typeof $=="object"){var j=this.definition().escaped;if(j&&R>j)return this}return $}));var G={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ie=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const ae=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);E(hn,(function(E,R){if(this.optional){const N=this.expression._eval(E,R);if(N==null)return undefined}if(E.option("unsafe")){var N=this.property;if(N instanceof ot){N=N._eval(E,R);if(N===this.property)return this}var $=this.expression;var j;if(is_undeclared_ref($)){var q;var le=$.name==="hasOwnProperty"&&N==="call"&&(q=E.parent()&&E.parent().args)&&(q&&q[0]&&q[0].evaluate(E));le=le instanceof mn?le.expression:le;if(le==null||le.thedef&&le.thedef.undeclared){return this.clone()}var _e=ie.get($.name);if(!_e||!_e.has(N))return this;j=G[$.name]}else{j=$._eval(E,R+1);if(j instanceof RegExp){if(N=="source"){return regexp_source_fix(j.source)}else if(N=="flags"||ae.has(N)){return j[N]}}if(!j||j===$||!HOP(j,N))return this;if(typeof j=="function")switch(N){case"name":return j.node.name?j.node.name.name:"";case"length":return j.node.length_property();default:return this}}return j[N]}return this}));E(vn,(function(E,R){const N=this.expression._eval(E,R);return N===this.expression?this:N}));E(un,(function(E,R){var N=this.expression;if(this.optional){const N=this.expression._eval(E,R);if(N==null)return undefined}if(E.option("unsafe")&&N instanceof hn){var $=N.property;if($ instanceof ot){$=$._eval(E,R);if($===N.property)return this}var j;var q=N.expression;if(is_undeclared_ref(q)){var ie=q.name==="hasOwnProperty"&&$==="call"&&(this.args[0]&&this.args[0].evaluate(E));ie=ie instanceof mn?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}var ae=rs.get(q.name);if(!ae||!ae.has($))return this;j=G[q.name]}else{j=q._eval(E,R+1);if(j===q||!j)return this;var le=ns.get(j.constructor.name);if(!le||!le.has($))return this}var _e=[];for(var Ee=0,we=this.args.length;Ee";return N;case"<":N.operator=">=";return N;case">=":N.operator="<";return N;case">":N.operator="<=";return N}}switch($){case"==":N.operator="!=";return N;case"!=":N.operator="==";return N;case"===":N.operator="!==";return N;case"!==":N.operator="===";return N;case"&&":N.operator="||";N.left=N.left.negate(E,R);N.right=N.right.negate(E);return best(this,N,R);case"||":N.operator="&&";N.left=N.left.negate(E,R);N.right=N.right.negate(E);return best(this,N,R);case"??":N.right=N.right.negate(E);return best(this,N,R)}return basic_negation(this)}))})((function(E,R){E.DEFMETHOD("negate",(function(E,N){return R.call(this,E,N)}))}));var ss=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");un.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var R=this.expression;var N=this.args&&this.args[0]&&this.args[0].evaluate(E);if(R.expression&&R.expression.name==="hasOwnProperty"&&(N==null||N.thedef&&N.thedef.undeclared)){return false}if(is_undeclared_ref(R)&&ss.has(R.name))return true;let $;if(R instanceof mn&&is_undeclared_ref(R.expression)&&($=rs.get(R.expression.name))&&$.has(R.property)){return true}}return!!has_annotation(this,Cr)||!E.pure_funcs(this)}));ot.DEFMETHOD("is_call_pure",return_false);mn.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const R=this.expression;let N;if(R instanceof An){N=ns.get("Array")}else if(R.is_boolean()){N=ns.get("Boolean")}else if(R.is_number(E)){N=ns.get("Number")}else if(R instanceof gr){N=ns.get("RegExp")}else if(R.is_string(E)){N=ns.get("String")}else if(!this.may_throw_on_access(E)){N=ns.get("Object")}return N&&N.has(this.property)}));const os=new Set(["Number","String","Array","Object","Function","Promise"]);(function(E){E(ot,return_true);E(ht,return_false);E(dr,return_false);E(ur,return_false);function any(E,R){for(var N=E.length;--N>=0;)if(E[N].has_side_effects(R))return true;return false}E(dt,(function(E){return any(this.body,E)}));E(un,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E(Vt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Jt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Xt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(Wt,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(gt,(function(E){return this.body.has_side_effects(E)}));E(pt,(function(E){return this.body.has_side_effects(E)}));E(Dt,return_false);E(Nn,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(kn,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(wn,return_true);E(En,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(bn,(function(E){return es.has(this.operator)||this.expression.has_side_effects(E)}));E(ir,(function(E){return!this.is_declared(E)&&!os.has(this.name)}));E(Xn,return_false);E(qn,return_false);E(Cn,(function(E){return any(this.properties,E)}));E(Dn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Bn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Rn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(On,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(An,(function(E){return any(this.elements,E)}));E(mn,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(yn,(function(E){if(this.optional&&is_nullish(this.expression,E)){return false}return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(vn,(function(E){return this.expression.has_side_effects(E)}));E(dn,(function(E){return any(this.expressions,E)}));E(en,(function(E){return any(this.definitions,E)}));E(sn,(function(){return this.value}));E(Nt,return_false);E(Ft,(function(E){return any(this.segments,E)}))})((function(E,R){E.DEFMETHOD("has_side_effects",R)}));(function(E){E(ot,return_true);E(dr,return_false);E(ht,return_false);E(Dt,return_false);E(qn,return_false);E(ur,return_false);function any(E,R){for(var N=E.length;--N>=0;)if(E[N].may_throw(R))return true;return false}E(Nn,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(An,(function(E){return any(this.elements,E)}));E(wn,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof ir){return false}return this.left.may_throw(E)}));E(kn,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(dt,(function(E){return any(this.body,E)}));E(un,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof Dt)||any(this.expression.body,E)}));E(Jt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(En,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(en,(function(E){return any(this.definitions,E)}));E(Wt,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(gt,(function(E){return this.body.may_throw(E)}));E(Cn,(function(E){return any(this.properties,E)}));E(Dn,(function(E){return this.value?this.value.may_throw(E):false}));E(Bn,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Rn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(On,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E($t,(function(E){return this.value&&this.value.may_throw(E)}));E(dn,(function(E){return any(this.expressions,E)}));E(pt,(function(E){return this.body.may_throw(E)}));E(mn,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(yn,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(vn,(function(E){return this.expression.may_throw(E)}));E(Vt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(ir,(function(E){return!this.is_declared(E)&&!os.has(this.name)}));E(Xn,return_false);E(Xt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(bn,(function(E){if(this.operator=="typeof"&&this.expression instanceof ir)return false;return this.expression.may_throw(E)}));E(sn,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,R){E.DEFMETHOD("may_throw",R)}));(function(E){function all_refs_local(E){let R=true;walk(this,(N=>{if(N instanceof ir){if(has_flag(this,Hr)){R=false;return Ar}var $=N.definition();if(member($,this.enclosed)&&!this.variables.has($.name)){if(E){var j=E.find_variable(N);if($.undeclared?!j:j===$){R="f";return true}}R=false;return Ar}return true}if(N instanceof ur&&this instanceof Pt){R=false;return Ar}}));return R}E(ot,return_false);E(dr,return_true);E(Nn,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const R of this.properties){if(R.computed_key()&&!R.key.is_constant_expression(E)){return false}if(R.static&&R.value&&!R.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(Dt,all_refs_local);E(bn,(function(){return this.expression.is_constant_expression()}));E(kn,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(An,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(Cn,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(Dn,(function(){return!!(!(this.key instanceof ot)&&this.value&&this.value.is_constant_expression())}))})((function(E,R){E.DEFMETHOD("is_constant_expression",R)}));function aborts(E){return E&&E.aborts()}(function(E){E(lt,return_null);E(Bt,return_this);function block_aborts(){for(var E=0;E{if(E instanceof qn){const N=E.definition();if((R||N.global)&&!G.has(N.id)){G.set(N.id,N)}}}))}if(N.value){if(N.name instanceof Ot){N.walk(Ee)}else{var j=N.name.definition();map_add(le,j.id,N.value);if(!j.chained&&N.name.fixed_value()===N.value){ie.set(j.id,N)}}if(N.value.has_side_effects(E)){N.value.walk(Ee)}}}));return true}return scan_ref_scoped(j,q)}));R.walk(Ee);Ee=new TreeWalker(scan_ref_scoped);G.forEach((function(E){var R=le.get(E.id);if(R)R.forEach((function(E){E.walk(Ee)}))}));var we=new TreeTransformer((function before(le,Ee,Ie){var Me=we.parent();if($){const E=q(le);if(E instanceof ir){var Te=E.definition();var Ne=G.has(Te.id);if(le instanceof wn){if(!Ne||ie.has(Te.id)&&ie.get(Te.id)!==le){return maintain_this_binding(Me,le,le.right.transform(we))}}else if(!Ne)return Ie?j.skip:make_node(hr,le,{value:0})}}if(_e!==R)return;var Te;if(le.name&&(le instanceof jn&&!keep_name(E.option("keep_classnames"),(Te=le.name.definition()).name)||le instanceof Mt&&!keep_name(E.option("keep_fnames"),(Te=le.name.definition()).name))){if(!G.has(Te.id)||Te.orig.length>1)le.name=null}if(le instanceof Dt&&!(le instanceof It)){var Be=!E.option("keep_fargs");for(var Le=le.argnames,je=Le.length;--je>=0;){var ze=Le[je];if(ze instanceof Ct){ze=ze.expression}if(ze instanceof Sn){ze=ze.left}if(!(ze instanceof Ot)&&!G.has(ze.definition().id)){set_flag(ze,zr);if(Be){Le.pop()}}else{Be=false}}}if((le instanceof Tt||le instanceof $n)&&le!==R){const R=le.name.definition();let $=R.global&&!N||G.has(R.id);if(!$){R.eliminated++;if(le instanceof $n){const R=le.drop_side_effect_free(E);if(R){return make_node(pt,le,{body:R})}}return Ie?j.skip:make_node(ht,le)}}if(le instanceof en&&!(Me instanceof kt&&Me.init===le)){var Ue=!(Me instanceof At)&&!(le instanceof tn);var qe=[],Ge=[],He=[];var We=[];le.definitions.forEach((function(R){if(R.value)R.value=R.value.transform(we);var N=R.name instanceof Ot;var j=N?new SymbolDef(null,{name:""}):R.name.definition();if(Ue&&j.global)return He.push(R);if(!($||Ue)||N&&(R.name.names.length||R.name.is_array||E.option("pure_getters")!=true)||G.has(j.id)){if(R.value&&ie.has(j.id)&&ie.get(j.id)!==R){R.value=R.value.drop_side_effect_free(E)}if(R.name instanceof Gn){var q=ae.get(j.id);if(q.length>1&&(!R.value||j.orig.indexOf(R.name)>j.eliminated)){if(R.value){var _e=make_node(ir,R.name,R.name);j.references.push(_e);var Ee=make_node(wn,R,{operator:"=",logical:false,left:_e,right:R.value});if(ie.get(j.id)===R){ie.set(j.id,Ee)}We.push(Ee.transform(we))}remove(q,R);j.eliminated++;return}}if(R.value){if(We.length>0){if(He.length>0){We.push(R.value);R.value=make_sequence(R.value,We)}else{qe.push(make_node(pt,le,{body:make_sequence(le,We)}))}We=[]}He.push(R)}else{Ge.push(R)}}else if(j.orig[0]instanceof tr){var Ie=R.value&&R.value.drop_side_effect_free(E);if(Ie)We.push(Ie);R.value=null;Ge.push(R)}else{var Ie=R.value&&R.value.drop_side_effect_free(E);if(Ie){We.push(Ie)}j.eliminated++}}));if(Ge.length>0||He.length>0){le.definitions=Ge.concat(He);qe.push(le)}if(We.length>0){qe.push(make_node(pt,le,{body:make_sequence(le,We)}))}switch(qe.length){case 0:return Ie?j.skip:make_node(ht,le);case 1:return qe[0];default:return Ie?j.splice(qe):make_node(ft,le,{body:qe})}}if(le instanceof xt){Ee(le,this);var Ve;if(le.init instanceof ft){Ve=le.init;le.init=Ve.body.pop();Ve.body.push(le)}if(le.init instanceof pt){le.init=le.init.body}else if(is_empty(le.init)){le.init=null}return!Ve?le:Ie?j.splice(Ve.body):Ve}if(le instanceof gt&&le.body instanceof xt){Ee(le,this);if(le.body instanceof ft){var Ve=le.body;le.body=Ve.body.pop();Ve.body.push(le);return Ie?j.splice(Ve.body):Ve}return le}if(le instanceof ft){Ee(le,this);if(Ie&&le.body.every(can_be_evicted_from_block)){return j.splice(le.body)}return le}if(le instanceof St){const E=_e;_e=le;Ee(le,this);_e=E;return le}}));R.transform(we);function scan_ref_scoped(E,N){var $;const j=q(E);if(j instanceof ir&&!is_ref_of(E.left,Hn)&&R.variables.get(j.name)===($=j.definition())){if(E instanceof wn){E.right.walk(Ee);if(!$.chained&&E.left.fixed_value()===E.right){ie.set($.id,E)}}return true}if(E instanceof ir){$=E.definition();if(!G.has($.id)){G.set($.id,$);if($.orig[0]instanceof tr){const E=$.scope.is_block_scope()&&$.scope.get_defun_scope().variables.get($.name);if(E)G.set(E.id,E)}}return true}if(E instanceof St){var ae=_e;_e=E;N();_e=ae;return true}}}));St.DEFMETHOD("hoist_declarations",(function(E){var R=this;if(E.has_directive("use asm"))return R;if(!Array.isArray(R.body))return R;var N=E.option("hoist_funs");var $=E.option("hoist_vars");if(N||$){var j=[];var q=[];var G=new Map,ie=0,ae=0;walk(R,(E=>{if(E instanceof St&&E!==R)return true;if(E instanceof tn){++ae;return true}}));$=$&&ae>1;var le=new TreeTransformer((function before(ae){if(ae!==R){if(ae instanceof ut){j.push(ae);return make_node(ht,ae)}if(N&&ae instanceof Tt&&!(le.parent()instanceof cn)&&le.parent()===R){q.push(ae);return make_node(ht,ae)}if($&&ae instanceof tn&&!ae.definitions.some((E=>E.name instanceof Ot))){ae.definitions.forEach((function(E){G.set(E.name.name,E);++ie}));var _e=ae.to_assignments(E);var Ee=le.parent();if(Ee instanceof kt&&Ee.init===ae){if(_e==null){var we=ae.definitions[0].name;return make_node(ir,we,we)}return _e}if(Ee instanceof xt&&Ee.init===ae){return _e}if(!_e)return make_node(ht,ae);return make_node(pt,ae,{body:_e})}if(ae instanceof St)return ae}}));R=R.transform(le);if(ie>0){var _e=[];const E=R instanceof Dt;const N=E?R.args_as_names():null;G.forEach(((R,$)=>{if(E&&N.some((E=>E.name===R.name.name))){G.delete($)}else{R=R.clone();R.value=null;_e.push(R);G.set($,R)}}));if(_e.length>0){for(var Ee=0;EeE instanceof Ct||E.computed_key()))){ie(G,this);const E=new Map;const N=[];_e.properties.forEach((({key:$,value:j})=>{const ie=find_scope(q);const le=R.create_symbol(ae.CTOR,{source:ae,scope:ie,conflict_scopes:new Set([ie,...ae.definition().references.map((E=>E.scope))]),tentative_name:ae.name+"_"+$});E.set(String($),le.definition());N.push(make_node(sn,G,{name:le,value:j}))}));$.set(le.id,E);return j.splice(N)}}else if(G instanceof hn&&G.expression instanceof ir){const E=$.get(G.expression.definition().id);if(E){const R=E.get(String(get_value(G.property)));const N=make_node(ir,G,{name:R.name,scope:G.expression.scope,thedef:R});N.reference({});return N}}}));return R.transform(q)}));(function(E){function trim(E,R,N){var $=E.length;if(!$)return null;var j=[],q=false;for(var G=0;G<$;G++){var ie=E[G].drop_side_effect_free(R,N);q|=ie!==E[G];if(ie){j.push(ie);N=false}}return q?j.length?j:null:E}E(ot,return_this);E(dr,return_null);E(ur,return_null);E(un,(function(E,R){if(this.optional&&is_nullish(this.expression,E)){return make_node(_r,this)}if(!this.is_callee_pure(E)){if(this.expression.is_call_pure(E)){var N=this.args.slice();N.unshift(this.expression.expression);N=trim(N,E,R);return N&&make_sequence(this,N)}if(is_func_expr(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var $=this.clone();$.expression.process_expression(false,E);return $}return this}var j=trim(this.args,E,R);return j&&make_sequence(this,j)}));E(It,return_null);E(Mt,return_null);E(Pt,return_null);E(Nn,(function(E){const R=[];const N=this.extends&&this.extends.drop_side_effect_free(E);if(N)R.push(N);for(const N of this.properties){const $=N.drop_side_effect_free(E);if($)R.push($)}if(!R.length)return null;return make_sequence(this,R)}));E(kn,(function(E,R){var N=this.right.drop_side_effect_free(E);if(!N)return this.left.drop_side_effect_free(E,R);if(Zr.has(this.operator)){if(N===this.right)return this;var $=this.clone();$.right=N;return $}else{var j=this.left.drop_side_effect_free(E,R);if(!j)return this.right.drop_side_effect_free(E,R);return make_sequence(this,[j,N])}}));E(wn,(function(E){if(this.logical)return this;var R=this.left;if(R.has_side_effects(E)||E.has_directive("use strict")&&R instanceof hn&&R.expression.is_constant()){return this}set_flag(this,Wr);while(R instanceof hn){R=R.expression}if(R.is_constant_expression(E.find_parent(St))){return this.right.drop_side_effect_free(E)}return this}));E(En,(function(E){var R=this.consequent.drop_side_effect_free(E);var N=this.alternative.drop_side_effect_free(E);if(R===this.consequent&&N===this.alternative)return this;if(!R)return N?make_node(kn,this,{operator:"||",left:this.condition,right:N}):this.condition.drop_side_effect_free(E);if(!N)return make_node(kn,this,{operator:"&&",left:this.condition,right:R});var $=this.clone();$.consequent=R;$.alternative=N;return $}));E(bn,(function(E,R){if(es.has(this.operator)){if(!this.expression.has_side_effects(E)){set_flag(this,Wr)}else{clear_flag(this,Wr)}return this}if(this.operator=="typeof"&&this.expression instanceof ir)return null;var N=this.expression.drop_side_effect_free(E,R);if(R&&N&&is_iife_call(N)){if(N===this.expression&&this.operator=="!")return this;return N.negate(E,R)}return N}));E(ir,(function(E){const R=this.is_declared(E)||os.has(this.name);return R?null:this}));E(Cn,(function(E,R){var N=trim(this.properties,E,R);return N&&make_sequence(this,N)}));E(Dn,(function(E,R){const N=this instanceof In&&this.key instanceof ot;const $=N&&this.key.drop_side_effect_free(E,R);const j=this.value&&this.value.drop_side_effect_free(E,R);if($&&j){return make_sequence(this,[$,j])}return $||j}));E(Bn,(function(E){const R=this.computed_key()&&this.key.drop_side_effect_free(E);const N=this.static&&this.value&&this.value.drop_side_effect_free(E);if(R&&N)return make_sequence(this,[R,N]);return R||N||null}));E(Rn,(function(){return this.computed_key()?this.key:null}));E(On,(function(){return this.computed_key()?this.key:null}));E(Tn,(function(){return this.computed_key()?this.key:null}));E(An,(function(E,R){var N=trim(this.elements,E,R);return N&&make_sequence(this,N)}));E(mn,(function(E,R){if(this.optional){return is_nullish(this.expression,E)?make_node(_r,this):this}if(this.expression.may_throw_on_access(E))return this;return this.expression.drop_side_effect_free(E,R)}));E(yn,(function(E,R){if(this.optional){return is_nullish(this.expression,E)?make_node(_r,this):this}if(this.expression.may_throw_on_access(E))return this;var N=this.expression.drop_side_effect_free(E,R);if(!N)return this.property.drop_side_effect_free(E,R);var $=this.property.drop_side_effect_free(E);if(!$)return N;return make_sequence(this,[N,$])}));E(vn,(function(E,R){return this.expression.drop_side_effect_free(E,R)}));E(dn,(function(E){var R=this.tail_node();var N=R.drop_side_effect_free(E);if(N===R)return this;var $=this.expressions.slice(0,-1);if(N)$.push(N);if(!$.length){return make_node(hr,this,{value:0})}return make_sequence(this,$)}));E(Ct,(function(E,R){return this.expression.drop_side_effect_free(E,R)}));E(Nt,return_null);E(Ft,(function(E){var R=trim(this.segments,E,first_in_statement);return R&&make_sequence(this,R)}))})((function(E,R){E.DEFMETHOD("drop_side_effect_free",R)}));def_optimize(pt,(function(E,R){if(R.option("side_effects")){var N=E.body;var $=N.drop_side_effect_free(R,true);if(!$){return make_node(ht,E)}if($!==N){return make_node(pt,E,{body:$})}}return E}));def_optimize(_t,(function(E,R){return R.option("loops")?make_node(xt,E,E).optimize(R):E}));function has_break_or_continue(E,R){var N=false;var $=new TreeWalker((function(R){if(N||R instanceof St)return true;if(R instanceof zt&&$.loopcontrol_target(R)===E){return N=true}}));if(R instanceof gt)$.push(R);$.push(E);E.body.walk($);return N}def_optimize(bt,(function(E,R){if(!R.option("loops"))return E;var N=E.condition.tail_node().evaluate(R);if(!(N instanceof ot)){if(N)return make_node(xt,E,{body:make_node(ft,E.body,{body:[E.body,make_node(pt,E.condition,{body:E.condition})]})}).optimize(R);if(!has_break_or_continue(E,R.parent())){return make_node(ft,E.body,{body:[E.body,make_node(pt,E.condition,{body:E.condition})]}).optimize(R)}}return E}));function if_break_in_loop(E,R){var N=E.body instanceof ft?E.body.body[0]:E.body;if(R.option("dead_code")&&is_break(N)){var $=[];if(E.init instanceof lt){$.push(E.init)}else if(E.init){$.push(make_node(pt,E.init,{body:E.init}))}if(E.condition){$.push(make_node(pt,E.condition,{body:E.condition}))}trim_unreachable_code(R,E.body,$);return make_node(ft,E,{body:$})}if(N instanceof Wt){if(is_break(N.body)){if(E.condition){E.condition=make_node(kn,E.condition,{left:E.condition,operator:"&&",right:N.condition.negate(R)})}else{E.condition=N.condition.negate(R)}drop_it(N.alternative)}else if(is_break(N.alternative)){if(E.condition){E.condition=make_node(kn,E.condition,{left:E.condition,operator:"&&",right:N.condition})}else{E.condition=N.condition}drop_it(N.body)}}return E;function is_break(E){return E instanceof Ut&&R.loopcontrol_target(E)===R.self()}function drop_it(N){N=as_statement_array(N);if(E.body instanceof ft){E.body=E.body.clone();E.body.body=N.concat(E.body.body.slice(1));E.body=E.body.transform(R)}else{E.body=make_node(ft,E.body,{body:N}).transform(R)}E=if_break_in_loop(E,R)}}def_optimize(xt,(function(E,R){if(!R.option("loops"))return E;if(R.option("side_effects")&&E.init){E.init=E.init.drop_side_effect_free(R)}if(E.condition){var N=E.condition.evaluate(R);if(!(N instanceof ot)){if(N)E.condition=null;else if(!R.option("dead_code")){var $=E.condition;E.condition=make_node_from_constant(N,E.condition);E.condition=best_of_expression(E.condition.transform(R),$)}}if(R.option("dead_code")){if(N instanceof ot)N=E.condition.tail_node().evaluate(R);if(!N){var j=[];trim_unreachable_code(R,E.body,j);if(E.init instanceof lt){j.push(E.init)}else if(E.init){j.push(make_node(pt,E.init,{body:E.init}))}j.push(make_node(pt,E.condition,{body:E.condition}));return make_node(ft,E,{body:j}).optimize(R)}}}return if_break_in_loop(E,R)}));def_optimize(Wt,(function(E,R){if(is_empty(E.alternative))E.alternative=null;if(!R.option("conditionals"))return E;var N=E.condition.evaluate(R);if(!R.option("dead_code")&&!(N instanceof ot)){var $=E.condition;E.condition=make_node_from_constant(N,$);E.condition=best_of_expression(E.condition.transform(R),$)}if(R.option("dead_code")){if(N instanceof ot)N=E.condition.tail_node().evaluate(R);if(!N){var j=[];trim_unreachable_code(R,E.body,j);j.push(make_node(pt,E.condition,{body:E.condition}));if(E.alternative)j.push(E.alternative);return make_node(ft,E,{body:j}).optimize(R)}else if(!(N instanceof ot)){var j=[];j.push(make_node(pt,E.condition,{body:E.condition}));j.push(E.body);if(E.alternative){trim_unreachable_code(R,E.alternative,j)}return make_node(ft,E,{body:j}).optimize(R)}}var q=E.condition.negate(R);var G=E.condition.size();var ie=q.size();var ae=ie0){G[0].body=q.concat(G[0].body)}E.body=G;while(N=G[G.length-1]){var Me=N.body[N.body.length-1];if(Me instanceof Ut&&R.loopcontrol_target(Me)===E)N.body.pop();if(N.body.length||N instanceof Jt&&(ie||N.expression.has_side_effects(R)))break;if(G.pop()===ie)ie=null}if(G.length==0){return make_node(ft,E,{body:q.concat(make_node(pt,E.expression,{body:E.expression}))}).optimize(R)}if(G.length==1&&(G[0]===ae||G[0]===ie)){var Te=false;var Ne=new TreeWalker((function(R){if(Te||R instanceof Dt||R instanceof pt)return true;if(R instanceof Ut&&Ne.loopcontrol_target(R)===E)Te=true}));E.walk(Ne);if(!Te){var Be=G[0].body.slice();var Ee=G[0].expression;if(Ee)Be.unshift(make_node(pt,Ee,{body:Ee}));Be.unshift(make_node(pt,E.expression,{body:E.expression}));return make_node(ft,E,{body:Be}).optimize(R)}}return E;function eliminate_branch(E,N){if(N&&!aborts(N)){N.body=N.body.concat(E.body)}else{trim_unreachable_code(R,E,q)}}}));def_optimize(Xt,(function(E,R){tighten_body(E.body,R);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(R.option("dead_code")&&E.body.every(is_empty)){var N=[];if(E.bcatch){trim_unreachable_code(R,E.bcatch,N)}if(E.bfinally)N.push(...E.bfinally.body);return make_node(ft,E,{body:N}).optimize(R)}return E}));en.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(R){if(R.name instanceof qn){R.value=null;E.push(R)}else{walk(R.name,(N=>{if(N instanceof qn){E.push(make_node(sn,R,{name:N,value:null}))}}))}}));this.definitions=E}));en.DEFMETHOD("to_assignments",(function(E){var R=E.option("reduce_vars");var N=[];for(const E of this.definitions){if(E.value){var $=make_node(ir,E.name,E.name);N.push(make_node(wn,E,{operator:"=",logical:false,left:$,right:E.value}));if(R)$.definition().fixed=false}else if(E.value){var j=make_node(sn,E,{name:E.name,value:E.value});var q=make_node(tn,E,{definitions:[j]});N.push(q)}const G=E.name.definition();G.eliminated++;G.replaced--}if(N.length==0)return null;return make_sequence(this,N)}));def_optimize(en,(function(E){if(E.definitions.length==0)return make_node(ht,E);return E}));def_optimize(sn,(function(E,R){if(E.name instanceof Vn&&E.value!=null&&is_undefined(E.value,R)){E.value=null}return E}));def_optimize(an,(function(E){return E}));function retain_top_func(E,R){return R.top_retain&&E instanceof Tt&&has_flag(E,Qr)&&E.name&&R.top_retain(E.name)}def_optimize(un,(function(E,R){var N=E.expression;var $=N;inline_array_like_spread(E.args);var j=E.args.every((E=>!(E instanceof Ct)));if(R.option("reduce_vars")&&$ instanceof ir&&!has_annotation(E,Ir)){const E=$.fixed_value();if(!retain_top_func(E,R)){$=E}}if(E.optional&&is_nullish($,R)){return make_node(_r,E)}var q=$ instanceof Dt;if(q&&$.pinned())return E;if(R.option("unused")&&j&&q&&!$.uses_arguments){var G=0,ie=0;for(var ae=0,le=E.args.length;ae=$.argnames.length;if(Ee||has_flag($.argnames[ae],zr)){var _e=E.args[ae].drop_side_effect_free(R);if(_e){E.args[G++]=_e}else if(!Ee){E.args[G++]=make_node(hr,E.args[ae],{value:0});continue}}else{E.args[G++]=E.args[ae]}ie=G}E.args.length=ie}if(R.option("unsafe")){if(is_undeclared_ref(N))switch(N.name){case"Array":if(E.args.length!=1){return make_node(An,E,{elements:E.args}).optimize(R)}else if(E.args[0]instanceof hr&&E.args[0].value<=11){const R=[];for(let N=0;N=1&&E.args.length<=2&&E.args.every((E=>{var N=E.evaluate(R);we.push(N);return E!==N}))){let[N,$]=we;N=regexp_source_fix(new RegExp(N).source);const j=make_node(gr,E,{value:{source:N,flags:$}});if(j._eval(R)!==j){return j}}break}else if(N instanceof mn)switch(N.property){case"toString":if(E.args.length==0&&!N.expression.may_throw_on_access(R)){return make_node(kn,E,{left:make_node(fr,E,{value:""}),operator:"+",right:N.expression}).optimize(R)}break;case"join":if(N.expression instanceof An)e:{var Ie;if(E.args.length>0){Ie=E.args[0].evaluate(R);if(Ie===E.args[0])break e}var Me=[];var Te=[];for(var ae=0,le=N.expression.elements.length;ae0){Me.push(make_node(fr,E,{value:Te.join(Ie)}));Te.length=0}Me.push(Ne)}}if(Te.length>0){Me.push(make_node(fr,E,{value:Te.join(Ie)}))}if(Me.length==0)return make_node(fr,E,{value:""});if(Me.length==1){if(Me[0].is_string(R)){return Me[0]}return make_node(kn,Me[0],{operator:"+",left:make_node(fr,E,{value:""}),right:Me[0]})}if(Ie==""){var Le;if(Me[0].is_string(R)||Me[1].is_string(R)){Le=Me.shift()}else{Le=make_node(fr,E,{value:""})}return Me.reduce((function(E,R){return make_node(kn,R,{operator:"+",left:E,right:R})}),Le).optimize(R)}var _e=E.clone();_e.expression=_e.expression.clone();_e.expression.expression=_e.expression.expression.clone();_e.expression.expression.elements=Me;return best_of(R,E,_e)}break;case"charAt":if(N.expression.is_string(R)){var je=E.args[0];var ze=je?je.evaluate(R):0;if(ze!==je){return make_node(yn,N,{expression:N.expression,property:make_node_from_constant(ze|0,je||N)}).optimize(R)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof An){var Ue=E.args[1].elements.slice();Ue.unshift(E.args[0]);return make_node(un,E,{expression:make_node(mn,N,{expression:N.expression,optional:false,property:"call"}),args:Ue}).optimize(R)}break;case"call":var qe=N.expression;if(qe instanceof ir){qe=qe.fixed_value()}if(qe instanceof Dt&&!qe.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(un,E,{expression:N.expression,args:E.args.slice(1)})]):make_node(un,E,{expression:N.expression,args:[]})).optimize(R)}break}}if(R.option("unsafe_Function")&&is_undeclared_ref(N)&&N.name=="Function"){if(E.args.length==0)return make_node(Mt,E,{argnames:[],body:[]}).optimize(R);if(E.args.every((E=>E instanceof fr))){try{var Ge="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var He=parse(Ge);var We={ie8:R.option("ie8")};He.figure_out_scope(We);var Ve=new Compressor(R.options,{mangle_options:R.mangle_options});He=He.transform(Ve);He.figure_out_scope(We);$r.reset();He.compute_char_frequency(We);He.mangle_names(We);var Ke;walk(He,(E=>{if(is_func_expr(E)){Ke=E;return Ar}}));var Ge=OutputStream();ft.prototype._codegen.call(Ke,Ke,Ge);E.args=[make_node(fr,E,{value:Ke.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(fr,E.args[E.args.length-1],{value:Ge.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Qe=q&&$.body[0];var Je=q&&!$.is_generator&&!$.async;var Xe=Je&&R.option("inline")&&!E.is_callee_pure(R);if(Xe&&Qe instanceof $t){let N=Qe.value;if(!N||N.is_constant_expression()){if(N){N=N.clone(true)}else{N=make_node(_r,E)}const $=E.args.concat(N);return make_sequence(E,$).optimize(R)}if($.argnames.length===1&&$.argnames[0]instanceof Kn&&E.args.length<2&&N instanceof ir&&N.name===$.argnames[0].name){const N=(E.args[0]||make_node(_r)).optimize(R);let $;if(N instanceof hn&&($=R.parent())instanceof un&&$.expression===E){return make_sequence(E,[make_node(hr,E,{value:0}),N])}return N}}if(Xe){var Ye,Ze,et=-1;let q;let G;let ie;if(j&&!$.uses_arguments&&!(R.parent()instanceof Nn)&&!($.name&&$ instanceof Mt)&&(G=can_flatten_body(Qe))&&(N===$||has_annotation(E,Dr)||R.option("unused")&&(q=N.definition()).references.length==1&&!recursive_ref(R,q)&&$.is_constant_expression(N.scope))&&!has_annotation(E,Cr|Ir)&&!$.contains_this()&&can_inject_symbols()&&(ie=find_scope(R))&&!scope_encloses_variables_in_this_scope(ie,$)&&!function in_default_assign(){let E=0;let N;while(N=R.parent(E++)){if(N instanceof Sn)return true;if(N instanceof dt)break}return false}()&&!(Ye instanceof Nn)){set_flag($,Vr);ie.add_child_scope($);return make_sequence(E,flatten_fn(G)).optimize(R)}}if(Xe&&has_annotation(E,Dr)){set_flag($,Vr);$=make_node($.CTOR===Tt?Mt:$.CTOR,$,$);$.figure_out_scope({},{parent_scope:find_scope(R),toplevel:R.get_toplevel()});return make_node(un,E,{expression:$,args:E.args}).optimize(R)}const tt=Je&&R.option("side_effects")&&$.body.every(is_empty);if(tt){var Ue=E.args.concat(make_node(_r,E));return make_sequence(E,Ue).optimize(R)}if(R.option("negate_iife")&&R.parent()instanceof pt&&is_iife_call(E)){return E.negate(R,true)}var nt=E.evaluate(R);if(nt!==E){nt=make_node_from_constant(nt,E).optimize(R);return best_of(R,nt,E)}return E;function return_value(R){if(!R)return make_node(_r,E);if(R instanceof $t){if(!R.value)return make_node(_r,E);return R.value.clone(true)}if(R instanceof pt){return make_node(_n,R,{operator:"void",expression:R.body.clone(true)})}}function can_flatten_body(E){var N=$.body;var j=N.length;if(R.option("inline")<3){return j==1&&return_value(E)}E=null;for(var q=0;q!E.value))){return false}}else if(E){return false}else if(!(G instanceof ht)){E=G}}return return_value(E)}function can_inject_args(E,R){for(var N=0,j=$.argnames.length;N=0;){var ie=q.definitions[G].name;if(ie instanceof Ot||E.has(ie.name)||Yr.has(ie.name)||Ye.conflicting_def(ie.name)){return false}if(Ze)Ze.push(ie.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Ye=R.parent(++et);if(Ye.is_block_scope()&&Ye.block_scope){Ye.block_scope.variables.forEach((function(R){E.add(R.name)}))}if(Ye instanceof Yt){if(Ye.argname){E.add(Ye.argname.name)}}else if(Ye instanceof yt){Ze=[]}else if(Ye instanceof ir){if(Ye.fixed_value()instanceof St)return false}}while(!(Ye instanceof St));var N=!(Ye instanceof At)||R.toplevel.vars;var j=R.option("inline");if(!can_inject_vars(E,j>=3&&N))return false;if(!can_inject_args(E,j>=2&&N))return false;return!Ze||Ze.length==0||!is_reachable($,Ze)}function append_var(R,N,$,j){var q=$.definition();const G=Ye.variables.has($.name);if(!G){Ye.variables.set($.name,q);Ye.enclosed.push(q);R.push(make_node(sn,$,{name:$,value:null}))}var ie=make_node(ir,$,$);q.references.push(ie);if(j)N.push(make_node(wn,E,{operator:"=",logical:false,left:ie,right:j.clone()}))}function flatten_args(R,N){var j=$.argnames.length;for(var q=E.args.length;--q>=j;){N.push(E.args[q])}for(q=j;--q>=0;){var G=$.argnames[q];var ie=E.args[q];if(has_flag(G,zr)||!G.name||Ye.conflicting_def(G.name)){if(ie)N.push(ie)}else{var ae=make_node(Gn,G,G);G.definition().orig.push(ae);if(!ie&&Ze)ie=make_node(_r,E);append_var(R,N,ae,ie)}}R.reverse();N.reverse()}function flatten_vars(E,R){var N=R.length;for(var j=0,q=$.body.length;jE.name!=_e.name))){var Ee=$.variables.get(_e.name);var we=make_node(ir,_e,_e);Ee.references.push(we);R.splice(N++,0,make_node(wn,le,{operator:"=",logical:false,left:we,right:make_node(_r,_e)}))}}}}function flatten_fn(E){var N=[];var j=[];flatten_args(N,j);flatten_vars(N,j);j.push(E);if(N.length){const E=Ye.body.indexOf(R.parent(et-1))+1;Ye.body.splice(E,0,make_node(tn,$,{definitions:N}))}return j.map((E=>E.clone(true)))}}));def_optimize(pn,(function(E,R){if(R.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(un,E,E).transform(R);return E}));def_optimize(dn,(function(E,R){if(!R.option("side_effects"))return E;var N=[];filter_for_side_effects();var $=N.length-1;trim_right_for_undefined();if($==0){E=maintain_this_binding(R.parent(),R.self(),N[0]);if(!(E instanceof dn))E=E.optimize(R);return E}E.expressions=N;return E;function filter_for_side_effects(){var $=first_in_statement(R);var j=E.expressions.length-1;E.expressions.forEach((function(E,q){if(q0&&is_undefined(N[$],R))$--;if($0){var N=this.clone();N.right=make_sequence(this.right,R.slice(q));R=R.slice(0,q);R.push(N);return make_sequence(this,R).optimize(E)}}}return this}));var cs=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof An||E instanceof Dt||E instanceof Cn||E instanceof Nn}def_optimize(kn,(function(E,R){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(R)&&!E.right.has_side_effects(R)}function reverse(R){if(reversible()){if(R)E.operator=R;var N=E.left;E.left=E.right;E.right=N}}if(cs.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof kn&&tt[E.left.operator]>=tt[E.operator])){reverse()}}}E=E.lift_sequences(R);if(R.option("comparisons"))switch(E.operator){case"===":case"!==":var N=true;if(E.left.is_string(R)&&E.right.is_string(R)||E.left.is_number(R)&&E.right.is_number(R)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!N&&is_undefined(E.left,R)){E.left=make_node(vr,E.left)}else if(R.option("typeofs")&&E.left instanceof fr&&E.left.value=="undefined"&&E.right instanceof _n&&E.right.operator=="typeof"){var $=E.right.expression;if($ instanceof ir?$.is_declared(R):!($ instanceof hn&&R.option("ie8"))){E.right=$;E.left=make_node(_r,E.left).optimize(R);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof ir&&E.right instanceof ir&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?Sr:wr,E)}break;case"&&":case"||":var j=E.left;if(j.operator==E.operator){j=j.right}if(j instanceof kn&&j.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof kn&&j.operator==E.right.operator&&(is_undefined(j.left,R)&&E.right.left instanceof vr||j.left instanceof vr&&is_undefined(E.right.left,R))&&!j.right.has_side_effects(R)&&j.right.equivalent_to(E.right.right)){var q=make_node(kn,E,{operator:j.operator.slice(0,-1),left:make_node(vr,E),right:j.right});if(j!==E.left){q=make_node(kn,E,{operator:E.operator,left:E.left.left,right:q})}return q}break}if(E.operator=="+"&&R.in_boolean_context()){var G=E.left.evaluate(R);var ie=E.right.evaluate(R);if(G&&typeof G=="string"){return make_sequence(E,[E.right,make_node(Sr,E)]).optimize(R)}if(ie&&typeof ie=="string"){return make_sequence(E,[E.left,make_node(Sr,E)]).optimize(R)}}if(R.option("comparisons")&&E.is_boolean()){if(!(R.parent()instanceof kn)||R.parent()instanceof wn){var ae=make_node(_n,E,{operator:"!",expression:E.negate(R,first_in_statement(R))});E=best_of(R,E,ae)}if(R.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof fr&&E.right.getValue()==""&&E.left.is_string(R)){return E.left}if(E.left instanceof fr&&E.left.getValue()==""&&E.right.is_string(R)){return E.right}if(E.left instanceof kn&&E.left.operator=="+"&&E.left.left instanceof fr&&E.left.left.getValue()==""&&E.right.is_string(R)){E.left=E.left.right;return E}}if(R.option("evaluate")){switch(E.operator){case"&&":var G=has_flag(E.left,Ur)?true:has_flag(E.left,qr)?false:E.left.evaluate(R);if(!G){return maintain_this_binding(R.parent(),R.self(),E.left).optimize(R)}else if(!(G instanceof ot)){return make_sequence(E,[E.left,E.right]).optimize(R)}var ie=E.right.evaluate(R);if(!ie){if(R.in_boolean_context()){return make_sequence(E,[E.left,make_node(wr,E)]).optimize(R)}else{set_flag(E,qr)}}else if(!(ie instanceof ot)){var le=R.parent();if(le.operator=="&&"&&le.left===R.self()||R.in_boolean_context()){return E.left.optimize(R)}}if(E.left.operator=="||"){var _e=E.left.right.evaluate(R);if(!_e)return make_node(En,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(R)}break;case"||":var G=has_flag(E.left,Ur)?true:has_flag(E.left,qr)?false:E.left.evaluate(R);if(!G){return make_sequence(E,[E.left,E.right]).optimize(R)}else if(!(G instanceof ot)){return maintain_this_binding(R.parent(),R.self(),E.left).optimize(R)}var ie=E.right.evaluate(R);if(!ie){var le=R.parent();if(le.operator=="||"&&le.left===R.self()||R.in_boolean_context()){return E.left.optimize(R)}}else if(!(ie instanceof ot)){if(R.in_boolean_context()){return make_sequence(E,[E.left,make_node(Sr,E)]).optimize(R)}else{set_flag(E,Ur)}}if(E.left.operator=="&&"){var _e=E.left.right.evaluate(R);if(_e&&!(_e instanceof ot))return make_node(En,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(R)}break;case"??":if(is_nullish(E.left,R)){return E.right}var G=E.left.evaluate(R);if(!(G instanceof ot)){return G==null?E.right:E.left}if(R.in_boolean_context()){const N=E.right.evaluate(R);if(!(N instanceof ot)&&!N){return E.left}}}var Ee=true;switch(E.operator){case"+":if(E.right instanceof dr&&E.left instanceof kn&&E.left.operator=="+"&&E.left.is_string(R)){var we=make_node(kn,E,{operator:"+",left:E.left.right,right:E.right});var Ie=we.optimize(R);if(we!==Ie){E=make_node(kn,E,{operator:"+",left:E.left.left,right:Ie})}}if(E.left instanceof kn&&E.left.operator=="+"&&E.left.is_string(R)&&E.right instanceof kn&&E.right.operator=="+"&&E.right.is_string(R)){var we=make_node(kn,E,{operator:"+",left:E.left.right,right:E.right.left});var Me=we.optimize(R);if(we!==Me){E=make_node(kn,E,{operator:"+",left:make_node(kn,E.left,{operator:"+",left:E.left.left,right:Me}),right:E.right.right})}}if(E.right instanceof _n&&E.right.operator=="-"&&E.left.is_number(R)){E=make_node(kn,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof _n&&E.left.operator=="-"&&reversible()&&E.right.is_number(R)){E=make_node(kn,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Ft){var Te=E.left;var Ie=E.right.evaluate(R);if(Ie!=E.right){Te.segments[Te.segments.length-1].value+=String(Ie);return Te}}if(E.right instanceof Ft){var Ie=E.right;var Te=E.left.evaluate(R);if(Te!=E.left){Ie.segments[0].value=String(Te)+Ie.segments[0].value;return Ie}}if(E.left instanceof Ft&&E.right instanceof Ft){var Te=E.left;var Ne=Te.segments;var Ie=E.right;Ne[Ne.length-1].value+=Ie.segments[0].value;for(var Be=1;Be=tt[E.operator])){var Le=make_node(kn,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof dr&&!(E.left instanceof dr)){E=best_of(R,Le,E)}else{E=best_of(R,E,Le)}}if(Ee&&E.is_number(R)){if(E.right instanceof kn&&E.right.operator==E.operator){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof dr&&E.left instanceof kn&&E.left.operator==E.operator){if(E.left.left instanceof dr){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof dr){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof kn&&E.left.operator==E.operator&&E.left.right instanceof dr&&E.right instanceof kn&&E.right.operator==E.operator&&E.right.left instanceof dr){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:make_node(kn,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof kn&&E.right.operator==E.operator&&(Zr.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(R)||E.left.is_string(R)&&E.right.right.is_string(R)))){E.left=make_node(kn,E.left,{operator:E.operator,left:E.left.transform(R),right:E.right.left.transform(R)});E.right=E.right.right.transform(R);return E.transform(R)}var je=E.evaluate(R);if(je!==E){je=make_node_from_constant(je,E).optimize(R);return best_of(R,je,E)}return E}));def_optimize(ar,(function(E){return E}));function recursive_ref(E,R){var N;for(var $=0;N=E.parent($);$++){if(N instanceof Dt||N instanceof Nn){var j=N.name;if(j&&j.definition()===R)break}}return N}function within_array_or_object_literal(E){var R,N=0;while(R=E.parent(N++)){if(R instanceof lt)return false;if(R instanceof An||R instanceof In||R instanceof Cn){return true}}return false}def_optimize(ir,(function(E,R){if(!R.option("ie8")&&is_undeclared_ref(E)&&!R.find_parent(wt)){switch(E.name){case"undefined":return make_node(_r,E).optimize(R);case"NaN":return make_node(br,E).optimize(R);case"Infinity":return make_node(kr,E).optimize(R)}}const N=R.parent();if(R.option("reduce_vars")&&is_lhs(E,N)!==E){const q=E.definition();const G=find_scope(R);if(R.top_retain&&q.global&&R.top_retain(q)){q.fixed=false;q.single_use=false;return E}let ie=E.fixed_value();let ae=q.single_use&&!(N instanceof un&&N.is_callee_pure(R)||has_annotation(N,Ir))&&!(N instanceof cn&&ie instanceof Dt&&ie.name);if(ae&&ie instanceof ot){ae=!ie.has_side_effects(R)&&!ie.may_throw(R)}if(ae&&(ie instanceof Dt||ie instanceof Nn)){if(retain_top_func(ie,R)){ae=false}else if(q.scope!==E.scope&&(q.escaped==1||has_flag(ie,Hr)||within_array_or_object_literal(R)||!R.option("reduce_funcs"))){ae=false}else if(recursive_ref(R,q)){ae=false}else if(q.scope!==E.scope||q.orig[0]instanceof Kn){ae=ie.is_constant_expression(E.scope);if(ae=="f"){var $=E.scope;do{if($ instanceof Tt||is_func_expr($)){set_flag($,Hr)}}while($=$.parent_scope)}}}if(ae&&ie instanceof Dt){ae=q.scope===E.scope&&!scope_encloses_variables_in_this_scope(G,ie)||N instanceof un&&N.expression===E&&!scope_encloses_variables_in_this_scope(G,ie)&&!(ie.name&&ie.name.definition().recursive_refs>0)}if(ae&&ie){if(ie instanceof $n){set_flag(ie,Vr);ie=make_node(jn,ie,ie)}if(ie instanceof Tt){set_flag(ie,Vr);ie=make_node(Mt,ie,ie)}if(q.recursive_refs>0&&ie.name instanceof Qn){const E=ie.name.definition();let R=ie.variables.get(ie.name.name);let N=R&&R.orig[0];if(!(N instanceof Yn)){N=make_node(Yn,ie.name,ie.name);N.scope=ie;ie.name=N;R=ie.def_function(N)}walk(ie,(N=>{if(N instanceof ir&&N.definition()===E){N.thedef=R;R.references.push(N)}}))}if((ie instanceof Dt||ie instanceof Nn)&&ie.parent_scope!==G){ie=ie.clone(true,R.get_toplevel());G.add_child_scope(ie)}return ie.optimize(R)}if(ie){let N;if(ie instanceof ur){if(!(q.orig[0]instanceof Kn)&&q.references.every((E=>q.scope===E.scope))){N=ie}}else{var j=ie.evaluate(R);if(j!==ie&&(R.option("unsafe_regexp")||!(j instanceof RegExp))){N=make_node_from_constant(j,ie)}}if(N){const $=E.size(R);const j=N.size(R);let G=0;if(R.option("unused")&&!R.exposed(q)){G=($+2+j)/(q.references.length-q.assignments)}if(j<=$+G){return N}}}}return E}));function scope_encloses_variables_in_this_scope(E,R){for(const N of R.enclosed){if(R.variables.has(N.name)){continue}const $=E.find_variable(N.name);if($){if($===N)continue;return true}}return false}function is_atomic(E,R){return E instanceof ir||E.TYPE===R.TYPE}def_optimize(_r,(function(E,R){if(R.option("unsafe_undefined")){var N=find_variable(R,"undefined");if(N){var $=make_node(ir,E,{name:"undefined",scope:N.scope,thedef:N});set_flag($,Gr);return $}}var j=is_lhs(R.self(),R.parent());if(j&&is_atomic(j,E))return E;return make_node(_n,E,{operator:"void",expression:make_node(hr,E,{value:0})})}));def_optimize(kr,(function(E,R){var N=is_lhs(R.self(),R.parent());if(N&&is_atomic(N,E))return E;if(R.option("keep_infinity")&&!(N&&!is_atomic(N,E))&&!find_variable(R,"Infinity")){return E}return make_node(kn,E,{operator:"/",left:make_node(hr,E,{value:1}),right:make_node(hr,E,{value:0})})}));def_optimize(br,(function(E,R){var N=is_lhs(R.self(),R.parent());if(N&&!is_atomic(N,E)||find_variable(R,"NaN")){return make_node(kn,E,{operator:"/",left:make_node(hr,E,{value:0}),right:make_node(hr,E,{value:0})})}return E}));function is_reachable(E,R){const find_ref=E=>{if(E instanceof ir&&member(E.definition(),R)){return Ar}};return walk_parent(E,((R,N)=>{if(R instanceof St&&R!==E){var $=N.parent();if($ instanceof un&&$.expression===R)return;if(walk(R,find_ref))return Ar;return true}}))}const us=makePredicate("+ - / * % >> << >>> | ^ &");const ps=makePredicate("* | ^ &");def_optimize(wn,(function(E,R){if(E.logical){return E.lift_sequences(R)}var N;if(R.option("dead_code")&&E.left instanceof ir&&(N=E.left.definition()).scope===R.find_parent(Dt)){var $=0,j,q=E;do{j=q;q=R.parent($++);if(q instanceof Lt){if(in_try($,q))break;if(is_reachable(N.scope,[N]))break;if(E.operator=="=")return E.right;N.fixed=false;return make_node(kn,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(R)}}while(q instanceof kn&&q.right===j||q instanceof dn&&q.tail_node()===j)}E=E.lift_sequences(R);if(E.operator=="="&&E.left instanceof ir&&E.right instanceof kn){if(E.right.left instanceof ir&&E.right.left.name==E.left.name&&us.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof ir&&E.right.right.name==E.left.name&&ps.has(E.right.operator)&&!E.right.left.has_side_effects(R)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(N,$){var j=E.right;E.right=make_node(vr,j);var q=$.may_throw(R);E.right=j;var G=E.left.definition().scope;var ie;while((ie=R.parent(N++))!==G){if(ie instanceof Xt){if(ie.bfinally)return true;if(q&&ie.bcatch)return true}}}}));def_optimize(Sn,(function(E,R){if(!R.option("evaluate")){return E}var N=E.right.evaluate(R);if(N===undefined){E=E.left}else if(N!==E.right){N=make_node_from_constant(N,E.right);E.right=best_of_expression(N,E.right)}return E}));function is_nullish(E,R){let N;return E instanceof vr||is_undefined(E,R)||E instanceof ir&&(N=E.definition().fixed)instanceof ot&&is_nullish(N,R)||E instanceof hn&&E.optional&&is_nullish(E.expression,R)||E instanceof un&&E.optional&&is_nullish(E.expression,R)||E instanceof vn&&is_nullish(E.expression,R)}function is_nullish_check(E,R,N){if(R.may_throw(N))return false;let $;if(E instanceof kn&&E.operator==="=="&&(($=is_nullish(E.left,N)&&E.left)||($=is_nullish(E.right,N)&&E.right))&&($===E.left?E.right:E.left).equivalent_to(R)){return true}if(E instanceof kn&&E.operator==="||"){let $;let j;const find_comparison=E=>{if(!(E instanceof kn&&(E.operator==="==="||E.operator==="=="))){return false}let q=0;let G;if(E.left instanceof vr){q++;$=E;G=E.right}if(E.right instanceof vr){q++;$=E;G=E.left}if(is_undefined(E.left,N)){q++;j=E;G=E.right}if(is_undefined(E.right,N)){q++;j=E;G=E.left}if(q!==1){return false}if(!G.equivalent_to(R)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if($&&j&&$!==j){return true}}return false}def_optimize(En,(function(E,R){if(!R.option("conditionals"))return E;if(E.condition instanceof dn){var N=E.condition.expressions.slice();E.condition=N.pop();N.push(E);return make_sequence(E,N)}var $=E.condition.evaluate(R);if($!==E.condition){if($){return maintain_this_binding(R.parent(),R.self(),E.consequent)}else{return maintain_this_binding(R.parent(),R.self(),E.alternative)}}var j=$.negate(R,first_in_statement(R));if(best_of(R,$,j)===j){E=make_node(En,E,{condition:j,consequent:E.alternative,alternative:E.consequent})}var q=E.condition;var G=E.consequent;var ie=E.alternative;if(q instanceof ir&&G instanceof ir&&q.definition()===G.definition()){return make_node(kn,E,{operator:"||",left:q,right:ie})}if(G instanceof wn&&ie instanceof wn&&G.operator===ie.operator&&G.logical===ie.logical&&G.left.equivalent_to(ie.left)&&(!E.condition.has_side_effects(R)||G.operator=="="&&!G.left.has_side_effects(R))){return make_node(wn,E,{operator:G.operator,left:G.left,logical:G.logical,right:make_node(En,E,{condition:E.condition,consequent:G.right,alternative:ie.right})})}var ae;if(G instanceof un&&ie.TYPE===G.TYPE&&G.args.length>0&&G.args.length==ie.args.length&&G.expression.equivalent_to(ie.expression)&&!E.condition.has_side_effects(R)&&!G.expression.has_side_effects(R)&&typeof(ae=single_arg_diff())=="number"){var le=G.clone();le.args[ae]=make_node(En,E,{condition:E.condition,consequent:G.args[ae],alternative:ie.args[ae]});return le}if(ie instanceof En&&G.equivalent_to(ie.consequent)){return make_node(En,E,{condition:make_node(kn,E,{operator:"||",left:q,right:ie.condition}),consequent:G,alternative:ie.alternative}).optimize(R)}if(R.option("ecma")>=2020&&is_nullish_check(q,ie,R)){return make_node(kn,E,{operator:"??",left:ie,right:G}).optimize(R)}if(ie instanceof dn&&G.equivalent_to(ie.expressions[ie.expressions.length-1])){return make_sequence(E,[make_node(kn,E,{operator:"||",left:q,right:make_sequence(E,ie.expressions.slice(0,-1))}),G]).optimize(R)}if(ie instanceof kn&&ie.operator=="&&"&&G.equivalent_to(ie.right)){return make_node(kn,E,{operator:"&&",left:make_node(kn,E,{operator:"||",left:q,right:ie.left}),right:G}).optimize(R)}if(G instanceof En&&G.alternative.equivalent_to(ie)){return make_node(En,E,{condition:make_node(kn,E,{left:E.condition,operator:"&&",right:G.condition}),consequent:G.consequent,alternative:ie})}if(G.equivalent_to(ie)){return make_sequence(E,[E.condition,G]).optimize(R)}if(G instanceof kn&&G.operator=="||"&&G.right.equivalent_to(ie)){return make_node(kn,E,{operator:"||",left:make_node(kn,E,{operator:"&&",left:E.condition,right:G.left}),right:ie}).optimize(R)}var _e=R.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(kn,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(R))}return make_node(kn,E,{operator:"&&",left:booleanize(E.condition.negate(R)),right:E.alternative})}if(is_true(E.alternative)){return make_node(kn,E,{operator:"||",left:booleanize(E.condition.negate(R)),right:E.consequent})}if(is_false(E.alternative)){return make_node(kn,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(_n,E,{operator:"!",expression:E.negate(R)})}function is_true(E){return E instanceof Sr||_e&&E instanceof dr&&E.getValue()||E instanceof _n&&E.operator=="!"&&E.expression instanceof dr&&!E.expression.getValue()}function is_false(E){return E instanceof wr||_e&&E instanceof dr&&!E.getValue()||E instanceof _n&&E.operator=="!"&&E.expression instanceof dr&&E.expression.getValue()}function single_arg_diff(){var E=G.args;var R=ie.args;for(var N=0,$=E.length;N<$;N++){if(E[N]instanceof Ct)return;if(!E[N].equivalent_to(R[N])){if(R[N]instanceof Ct)return;for(var j=N+1;j<$;j++){if(E[j]instanceof Ct)return;if(!E[j].equivalent_to(R[j]))return}return N}}}}));def_optimize(Er,(function(E,R){if(R.in_boolean_context())return make_node(hr,E,{value:+E.value});var N=R.parent();if(R.option("booleans_as_integers")){if(N instanceof kn&&(N.operator=="==="||N.operator=="!==")){N.operator=N.operator.replace(/=$/,"")}return make_node(hr,E,{value:+E.value})}if(R.option("booleans")){if(N instanceof kn&&(N.operator=="=="||N.operator=="!=")){return make_node(hr,E,{value:+E.value})}return make_node(_n,E,{operator:"!",expression:make_node(hr,E,{value:1-E.value})})}return E}));function safe_to_flatten(E,R){if(E instanceof ir){E=E.fixed_value()}if(!E)return false;if(!(E instanceof Dt||E instanceof Nn))return true;if(!(E instanceof Dt&&E.contains_this()))return true;return R.parent()instanceof pn}hn.DEFMETHOD("flatten_object",(function(E,R){if(!R.option("properties"))return;if(E==="__proto__")return;var N=R.option("unsafe_arrows")&&R.option("ecma")>=2015;var $=this.expression;if($ instanceof Cn){var j=$.properties;for(var q=j.length;--q>=0;){var G=j[q];if(""+(G instanceof Rn?G.key.name:G.key)==E){const E=j.every((E=>(E instanceof In||N&&E instanceof Rn&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(G.value,R))return;return make_node(yn,this,{expression:make_node(An,$,{elements:j.map((function(E){var R=E.value;if(R instanceof It){R=make_node(Mt,R,R)}var N=E.key;if(N instanceof ot&&!(N instanceof Jn)){return make_sequence(E,[N,R])}return R}))}),property:make_node(hr,this,{value:q})})}}}}));def_optimize(yn,(function(E,R){var N=E.expression;var $=E.property;if(R.option("properties")){var j=$.evaluate(R);if(j!==$){if(typeof j=="string"){if(j=="undefined"){j=undefined}else{var q=parseFloat(j);if(q.toString()==j){j=q}}}$=E.property=best_of_expression($,make_node_from_constant(j,$).transform(R));var G=""+j;if(is_basic_identifier_string(G)&&G.length<=$.size()+1){return make_node(mn,E,{expression:N,optional:E.optional,property:G,quote:$.quote}).optimize(R)}}}var ie;e:if(R.option("arguments")&&N instanceof ir&&N.name=="arguments"&&N.definition().orig.length==1&&(ie=N.scope)instanceof Dt&&ie.uses_arguments&&!(ie instanceof Pt)&&$ instanceof hr){var ae=$.getValue();var le=new Set;var _e=ie.argnames;for(var Ee=0;Ee<_e.length;Ee++){if(!(_e[Ee]instanceof Kn)){break e}var we=_e[Ee].name;if(le.has(we)){break e}le.add(we)}var Ie=ie.argnames[ae];if(Ie&&R.has_directive("use strict")){var Me=Ie.definition();if(!R.option("reduce_vars")||Me.assignments||Me.orig.length>1){Ie=null}}else if(!Ie&&!R.option("keep_fargs")&&ae=ie.argnames.length){Ie=ie.create_symbol(Kn,{source:ie,scope:ie,tentative_name:"argument_"+ie.argnames.length});ie.argnames.push(Ie)}}if(Ie){var Te=make_node(ir,E,Ie);Te.reference({});clear_flag(Ie,zr);return Te}}if(is_lhs(E,R.parent()))return E;if(j!==$){var Ne=E.flatten_object(G,R);if(Ne){N=E.expression=Ne.expression;$=E.property=Ne.property}}if(R.option("properties")&&R.option("side_effects")&&$ instanceof hr&&N instanceof An){var ae=$.getValue();var Be=N.elements;var Le=Be[ae];e:if(safe_to_flatten(Le,R)){var je=true;var ze=[];for(var Ue=Be.length;--Ue>ae;){var q=Be[Ue].drop_side_effect_free(R);if(q){ze.unshift(q);if(je&&q.has_side_effects(R))je=false}}if(Le instanceof Ct)break e;Le=Le instanceof xr?make_node(_r,Le):Le;if(!je)ze.unshift(Le);while(--Ue>=0){var q=Be[Ue];if(q instanceof Ct)break e;q=q.drop_side_effect_free(R);if(q)ze.unshift(q);else ae--}if(je){ze.push(Le);return make_sequence(E,ze).optimize(R)}else return make_node(yn,E,{expression:make_node(An,N,{elements:ze}),property:make_node(hr,$,{value:ae})})}}var qe=E.evaluate(R);if(qe!==E){qe=make_node_from_constant(qe,E).optimize(R);return best_of(R,qe,E)}if(E.optional&&is_nullish(E.expression,R)){return make_node(_r,E)}return E}));def_optimize(vn,(function(E,R){E.expression=E.expression.optimize(R);return E}));Dt.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof ur)return Ar;if(E!==this&&E instanceof St&&!(E instanceof Pt)){return true}}))}));def_optimize(mn,(function(E,R){const N=R.parent();if(is_lhs(E,N))return E;if(R.option("unsafe_proto")&&E.expression instanceof mn&&E.expression.property=="prototype"){var $=E.expression.expression;if(is_undeclared_ref($))switch($.name){case"Array":E.expression=make_node(An,E.expression,{elements:[]});break;case"Function":E.expression=make_node(Mt,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(hr,E.expression,{value:0});break;case"Object":E.expression=make_node(Cn,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(gr,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(fr,E.expression,{value:""});break}}if(!(N instanceof un)||!has_annotation(N,Ir)){const N=E.flatten_object(E.property,R);if(N)return N.optimize(R)}let j=E.evaluate(R);if(j!==E){j=make_node_from_constant(j,E).optimize(R);return best_of(R,j,E)}if(E.optional&&is_nullish(E.expression,R)){return make_node(_r,E)}return E}));function literals_in_boolean_context(E,R){if(R.in_boolean_context()){return best_of(R,E,make_sequence(E,[E,make_node(Sr,E)]).optimize(R))}return E}function inline_array_like_spread(E){for(var R=0;RE instanceof xr))){E.splice(R,1,...$.elements);R--}}}}def_optimize(An,(function(E,R){var N=literals_in_boolean_context(E,R);if(N!==E){return N}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,R){for(var N=0;NE instanceof In))){E.splice(N,1,...j.properties);N--}else if(j instanceof dr&&!(j instanceof fr)){E.splice(N,1)}else if(is_nullish(j,R)){E.splice(N,1)}}}}def_optimize(Cn,(function(E,R){var N=literals_in_boolean_context(E,R);if(N!==E){return N}inline_object_prop_spread(E.properties,R);return E}));def_optimize(gr,literals_in_boolean_context);def_optimize($t,(function(E,R){if(E.value&&is_undefined(E.value,R)){E.value=null}return E}));def_optimize(Pt,opt_AST_Lambda);def_optimize(Mt,(function(E,R){E=opt_AST_Lambda(E,R);if(R.option("unsafe_arrows")&&R.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const N=walk(E,(E=>{if(E instanceof ur)return Ar}));if(!N)return make_node(Pt,E,E).optimize(R)}return E}));def_optimize(Nn,(function(E){return E}));def_optimize(Ht,(function(E,R){if(E.expression&&!E.is_star&&is_undefined(E.expression,R)){E.expression=null}return E}));def_optimize(Ft,(function(E,R){if(!R.option("evaluate")||R.parent()instanceof Rt){return E}var N=[];for(var $=0;$=2015&&(!(N instanceof RegExp)||N.test(E.key+""))){var $=E.key;var j=E.value;var q=j instanceof Pt&&Array.isArray(j.body)&&!j.contains_this();if((q||j instanceof Mt)&&!j.name){return make_node(Rn,E,{async:j.async,is_generator:j.is_generator,key:$ instanceof ot?$:make_node(Jn,E,{name:$}),value:make_node(It,j,j),quote:E.quote})}}return E}));def_optimize(Ot,(function(E,R){if(R.option("pure_getters")==true&&R.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(R)&&!(E.names[E.names.length-1]instanceof Ct)){var N=[];for(var $=0;$1)throw new Error("inline source map only works with singular input");R.sourceMap.content=read_source_map(E[q])}}}j=R.parse.toplevel}if($&&R.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(j,$)}if(R.wrap){j=j.wrap_commonjs(R.wrap)}if(R.enclose){j=j.wrap_enclose(R.enclose)}if(N)N.rename=Date.now();if(N)N.compress=Date.now();if(R.compress){j=new Compressor(R.compress,{mangle_options:R.mangle}).compress(j)}if(N)N.scope=Date.now();if(R.mangle)j.figure_out_scope(R.mangle);if(N)N.mangle=Date.now();if(R.mangle){$r.reset();j.compute_char_frequency(R.mangle);j.mangle_names(R.mangle)}if(N)N.properties=Date.now();if(R.mangle&&R.mangle.properties){j=mangle_properties(j,R.mangle.properties)}if(N)N.format=Date.now();var G={};if(R.format.ast){G.ast=j}if(R.format.spidermonkey){G.ast=j.to_mozilla_ast()}if(!HOP(R.format,"code")||R.format.code){if(R.sourceMap){R.format.source_map=await SourceMap({file:R.sourceMap.filename,orig:R.sourceMap.content,root:R.sourceMap.root});if(R.sourceMap.includeSources){if(E instanceof At){throw new Error("original source content unavailable")}else for(var q in E)if(HOP(E,q)){R.format.source_map.get().setSourceContent(q,E[q])}}}delete R.format.ast;delete R.format.code;delete R.format.spidermonkey;var ie=OutputStream(R.format);j.print(ie);G.code=ie.get();if(R.sourceMap){if(R.sourceMap.asObject){G.map=R.format.source_map.get().toJSON()}else{G.map=R.format.source_map.toString()}if(R.sourceMap.url=="inline"){var ae=typeof G.map==="object"?JSON.stringify(G.map):G.map;G.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+ms(ae)}else if(R.sourceMap.url){G.code+="\n//# sourceMappingURL="+R.sourceMap.url}}}if(R.nameCache&&R.mangle){if(R.mangle.cache)R.nameCache.vars=cache_to_json(R.mangle.cache);if(R.mangle.properties&&R.mangle.properties.cache){R.nameCache.props=cache_to_json(R.mangle.properties.cache)}}if(R.format&&R.format.source_map){R.format.source_map.destroy()}if(N){N.end=Date.now();G.timings={parse:.001*(N.rename-N.parse),rename:.001*(N.compress-N.rename),compress:.001*(N.scope-N.compress),scope:.001*(N.mangle-N.scope),mangle:.001*(N.properties-N.mangle),properties:.001*(N.format-N.properties),format:.001*(N.end-N.format),total:.001*(N.end-N.start)}}return G}async function run_cli({program:E,packageJson:R,fs:$,path:j}){const q=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var G={};var ie={compress:false,mangle:false};const ae=await _default_options();E.version(R.name+" "+R.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var R in ae){E.push("--"+(R==="sourceMap"?"source-map":R)+" options:");E.push(format_object(ae[R]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ie=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(R){if(R in E){ie[R]=E[R]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const R=E.ecma|0;if(R>5&&R<2015)ie.ecma=R+2009;else ie.ecma=R}if(E.format||E.beautify){const R=E.format||E.beautify;ie.format=typeof R==="object"?R:{}}if(E.comments){if(typeof ie.format!="object")ie.format={};ie.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ie.compress!="object")ie.compress={};if(typeof ie.compress.global_defs!="object")ie.compress.global_defs={};for(var le in E.define){ie.compress.global_defs[le]=E.define[le]}}if(E.keepClassnames){ie.keep_classnames=true}if(E.keepFnames){ie.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ie.mangle!="object")ie.mangle={};ie.mangle.properties=E.mangleProps}if(E.nameCache){ie.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ie.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ie.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ie.rename=true}else if(!E.rename){ie.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var R=E.sourceMap.base;delete ie.sourceMap.base;return function(E){return j.relative(R,E)}}()}let _e;if(ie.files&&ie.files.length){_e=ie.files;delete ie.files}else if(E.args.length){_e=E.args}if(_e){simple_glob(_e).forEach((function(E){G[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var R=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){R.push(E)})).on("end",(function(){G=[R.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return ot.from_mozilla_ast(Object.keys(G).reduce(E,null))}async function run_cli(){var R=E.sourceMap&&E.sourceMap.content;if(R&&R!=="inline"){ie.sourceMap.content=read_file(R,R)}if(E.timings)ie.timings=true;try{if(E.parse){if(E.parse.acorn){G=convert_ast((function(R,$){return N(20976).parse(G[$],{ecmaVersion:2018,locations:true,program:R,sourceFile:$,sourceType:ie.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){G=convert_ast((function(E,R){var N=JSON.parse(G[R]);if(!E)return N;E.body=E.body.concat(N.body);return E}))}}}catch(E){fatal(E)}let j;try{j=await minify(G,ie)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var ae=E.col;var le=G[E.filename].split(/\r?\n/);var _e=le[E.line-1];if(!_e&&!ae){_e=le[E.line-2];ae=_e.length}if(_e){var Ee=70;if(ae>Ee){_e=_e.slice(ae-Ee);ae=Ee}print_error(_e.slice(0,80));print_error(_e.slice(0,ae).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ie.compress&&!ie.mangle){j.ast.figure_out_scope({})}console.log(JSON.stringify(j.ast,(function(E,R){if(R)switch(E){case"thedef":return symdef(R);case"enclosed":return R.length?R.map(symdef):undefined;case"variables":case"globals":return R.size?collect_from_map(R,symdef):undefined}if(q.has(E))return;if(R instanceof AST_Token)return;if(R instanceof Map)return;if(R instanceof ot){var N={_class:"AST_"+R.TYPE};if(R.block_scope){N.variables=R.block_scope.variables;N.enclosed=R.block_scope.enclosed}R.CTOR.PROPS.forEach((function(E){N[E]=R[E]}));return N}return R}),2))}else if(E.output=="spidermonkey"){try{const E=await minify(j.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){$.writeFileSync(E.output,j.code);if(ie.sourceMap&&ie.sourceMap.url!=="inline"&&j.map){$.writeFileSync(E.output+".map",j.map)}}else{console.log(j.code)}if(E.nameCache){$.writeFileSync(E.nameCache,JSON.stringify(ie.nameCache))}if(j.timings)for(var we in j.timings){print_error("- "+we+": "+j.timings[we].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var R=j.dirname(E);try{var N=$.readdirSync(R)}catch(E){}if(N){var q="^"+j.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var G=process.platform==="win32"?"i":"";var ie=new RegExp(q,G);var ae=N.filter((function(E){return ie.test(E)})).map((function(E){return j.join(R,E)}));if(ae.length)return ae}}return[E]}function read_file(E,R){try{return $.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&R!=null)return R;fatal(E)}}function parse_js(E){return function(R,N){N=N||{};try{walk(parse(R,{expression:true}),(R=>{if(R instanceof wn){var $=R.left.print_to_string();var j=R.right;if(E){N[$]=j}else if(j instanceof An){N[$]=j.elements.map(to_string)}else if(j instanceof gr){j=j.value;N[$]=new RegExp(j.source,j.flags)}else{N[$]=to_string(j)}return true}if(R instanceof zn||R instanceof hn){var $=R.print_to_string();N[$]=true;return true}if(!(R instanceof dn))throw R;function to_string(E){return E instanceof dr?E.getValue():E.print_to_string({quote_keys:true})}}))}catch($){if(E){fatal("Error parsing arguments for '"+E+"': "+R)}else{N[R]=null}}return N}}function symdef(E){var R=1e6+E.id+" "+E.name;if(E.mangled_name)R+=" "+E.mangled_name;return R}function collect_from_map(E,R){var N=[];E.forEach((function(E){N.push(R(E))}));return N}function format_object(E){var R=[];var N="";Object.keys(E).map((function(R){if(N.length!/^\$/.test(E)));if(N.length>0){E.space();E.with_parens((function(){N.forEach((function(R,N){if(N)E.space();E.print(R)}))}))}if(R.documentation){E.space();E.print_string(R.documentation)}if(R.SUBCLASSES.length>0){E.space();E.with_block((function(){R.SUBCLASSES.forEach((function(R){E.indent();doitem(R);E.newline()}))}))}}doitem(ot);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((R=>{const N=infer_options({[R]:{0:0}});if(N)E[R]=N}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},76218:(E,R)=>{"use strict";R.parse=parse,R.init=void 0;const N=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,R="@"){if(!$)return j.then((()=>parse(E)));const q=E.length+1,G=($.__heap_base.value||$.__heap_base)+4*q-$.memory.buffer.byteLength;G>0&&$.memory.grow(Math.ceil(G/65536));const ie=$.sa(q-1);if((N?C:Q)(E,new Uint16Array($.memory.buffer,ie,q)),!$.parse())throw Object.assign(new Error(`Parse error ${R}:${E.slice(0,$.e()).split("\n").length}:${$.e()-E.lastIndexOf("\n",$.e()-1)}`),{idx:$.e()});const ae=[],le=[];for(;$.ri();){const R=$.is(),N=$.ie(),j=$.ai(),q=$.id(),G=$.ss(),ie=$.se();let le;$.ip()&&(le=J(E.slice(-1===q?R-1:R,-1===q?N+1:N))),ae.push({n:le,s:R,e:N,ss:G,se:ie,d:q,a:j})}for(;$.re();){const R=E.slice($.es(),$.ee()),N=R[0];le.push('"'===N||"'"===N?J(R):R)}function J(E){try{return(0,eval)(E)}catch(E){}}return[ae,le,!!$.f()]}function Q(E,R){const N=E.length;let $=0;for(;$>>8}}function C(E,R){const N=E.length;let $=0;for(;$E.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{$=E}));var q;R.init=j},894:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},6680:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},83196:E=>{"use strict";E.exports={i8:"5.1.1"}},29389:E=>{"use strict";E.exports={version:"4.3.0"}},42600:E=>{"use strict";E.exports={i8:"4.3.0"}},66151:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},53765:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76052:E=>{"use strict";E.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false}]')},78864:E=>{"use strict";E.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},74503:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},11519:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},54703:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.7.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},37589:E=>{"use strict";E.exports={i8:"5.62.1"}},46312:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","oneOf":[{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/ExperimentsNormalized"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},87298:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},28991:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},67138:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},39586:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../../lib/util/Hash\')"}]}},"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},8679:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},89408:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},30685:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},43691:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},78061:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},91014:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},93944:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},38279:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},85195:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},78555:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},9659:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},37931:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3484:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},10692:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84638:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},5404:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},52021:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},97295:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')},4147:E=>{"use strict";E.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.33.1","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^3.12.3","@bugsnag/js":"^7.11.0","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^5.7.0","@google-cloud/firestore":"^4.14.0","@sentry/node":"^6.10.0","@slack/web-api":"^6.3.0","@tensorflow/tfjs-node":"^3.8.0","@vercel/webpack-asset-relocator-loader":"1.7.0","analytics-node":"^5.0.0","apollo-server-express":"^2.2.2","arg":"^5.0.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.3","consolidate":"^0.16.0","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^3.0.0","firebase":"^6.1.1","firebase-admin":"^9.11.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^11.8.2","graceful-fs":"^4.1.15","graphql":"^15.5.1","highlights":"^3.1.1","hot-shots":"^8.5.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^27.0.6","jimp":"^0.16.1","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^6.0.0","license-webpack-plugin":"2.3.20","lighthouse":"^8.1.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^1.0.4","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^8.1.0","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.4.0","passport-google-oauth":"^2.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.12.1","pg":"^8.7.1","pug":"^3.0.1","react":"^17.0.2","react-dom":"^17.0.2","redis":"^3.1.1","request":"^2.88.0","rxjs":"^7.3.0","saslprep":"^1.0.2","sequelize":"^6.6.5","sharp":"^0.28.3","shebang-loader":"^0.0.1","socket.io":"^4.1.3","source-map-support":"^0.5.9","stripe":"^8.167.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^8.3.0","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^4.4.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.62.1","when":"^3.7.8"},"resolutions":{"grpc":"1.24.6"}}')}};var __webpack_module_cache__={};function __webpack_require__(E){var R=__webpack_module_cache__[E];if(R!==undefined){return R.exports}var N=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var $=true;try{__webpack_modules__[E].call(N.exports,N,N.exports,__webpack_require__);$=false}finally{if($)delete __webpack_module_cache__[E]}N.loaded=true;return N.exports}(()=>{__webpack_require__.o=(E,R)=>Object.prototype.hasOwnProperty.call(E,R)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(77086);module.exports=__webpack_exports__})(); \ No newline at end of file +(function(E,N){true?N(R):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,R=Array(E),N=0;N1){R[0]=R[0].slice(0,-1);var $=R.length-1;for(var j=1;j<$;++j){R[j]=R[j].slice(1,-1)}R[$]=R[$].slice(1);return R.join("")}else{return R[0]}}function subexp(E){return"(?:"+E+")"}function typeOf(E){return E===undefined?"undefined":E===null?"null":Object.prototype.toString.call(E).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(E){return E.toUpperCase()}function toArray(E){return E!==undefined&&E!==null?E instanceof Array?E:typeof E.length!=="number"||E.split||E.setInterval||E.call?[E]:Array.prototype.slice.call(E):[]}function assign(E,R){var N=E;if(R){for(var $ in R){N[$]=R[$]}}return N}function buildExps(E){var R="[A-Za-z]",N="[\\x0D]",$="[0-9]",j="[\\x22]",q=merge($,"[A-Fa-f]"),G="[\\x0A]",ie="[\\x20]",ae=subexp(subexp("%[EFef]"+q+"%"+q+q+"%"+q+q)+"|"+subexp("%[89A-Fa-f]"+q+"%"+q+q)+"|"+subexp("%"+q+q)),le="[\\:\\/\\?\\#\\[\\]\\@]",_e="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Ee=merge(le,_e),we=E?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Me=E?"[\\uE000-\\uF8FF]":"[]",Ie=merge(R,$,"[\\-\\.\\_\\~]",we),Te=subexp(R+merge(R,$,"[\\+\\-\\.]")+"*"),Ne=subexp(subexp(ae+"|"+merge(Ie,_e,"[\\:]"))+"*"),Be=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+$)+"|"+subexp("1"+$+$)+"|"+subexp("[1-9]"+$)+"|"+$),Le=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+$)+"|"+subexp("1"+$+$)+"|"+subexp("0?[1-9]"+$)+"|0?0?"+$),je=subexp(Le+"\\."+Le+"\\."+Le+"\\."+Le),ze=subexp(q+"{1,4}"),Ue=subexp(subexp(ze+"\\:"+ze)+"|"+je),qe=subexp(subexp(ze+"\\:")+"{6}"+Ue),Ge=subexp("\\:\\:"+subexp(ze+"\\:")+"{5}"+Ue),He=subexp(subexp(ze)+"?\\:\\:"+subexp(ze+"\\:")+"{4}"+Ue),We=subexp(subexp(subexp(ze+"\\:")+"{0,1}"+ze)+"?\\:\\:"+subexp(ze+"\\:")+"{3}"+Ue),Ve=subexp(subexp(subexp(ze+"\\:")+"{0,2}"+ze)+"?\\:\\:"+subexp(ze+"\\:")+"{2}"+Ue),Ke=subexp(subexp(subexp(ze+"\\:")+"{0,3}"+ze)+"?\\:\\:"+ze+"\\:"+Ue),Qe=subexp(subexp(subexp(ze+"\\:")+"{0,4}"+ze)+"?\\:\\:"+Ue),Je=subexp(subexp(subexp(ze+"\\:")+"{0,5}"+ze)+"?\\:\\:"+ze),Xe=subexp(subexp(subexp(ze+"\\:")+"{0,6}"+ze)+"?\\:\\:"),Ye=subexp([qe,Ge,He,We,Ve,Ke,Qe,Je,Xe].join("|")),Ze=subexp(subexp(Ie+"|"+ae)+"+"),et=subexp(Ye+"\\%25"+Ze),tt=subexp(Ye+subexp("\\%25|\\%(?!"+q+"{2})")+Ze),nt=subexp("[vV]"+q+"+\\."+merge(Ie,_e,"[\\:]")+"+"),rt=subexp("\\["+subexp(tt+"|"+Ye+"|"+nt)+"\\]"),st=subexp(subexp(ae+"|"+merge(Ie,_e))+"*"),it=subexp(rt+"|"+je+"(?!"+st+")"+"|"+st),ot=subexp($+"*"),lt=subexp(subexp(Ne+"@")+"?"+it+subexp("\\:"+ot)+"?"),ct=subexp(ae+"|"+merge(Ie,_e,"[\\:\\@]")),ut=subexp(ct+"*"),pt=subexp(ct+"+"),dt=subexp(subexp(ae+"|"+merge(Ie,_e,"[\\@]"))+"+"),ft=subexp(subexp("\\/"+ut)+"*"),ht=subexp("\\/"+subexp(pt+ft)+"?"),mt=subexp(dt+ft),gt=subexp(pt+ft),yt="(?!"+ct+")",vt=subexp(ft+"|"+ht+"|"+mt+"|"+gt+"|"+yt),bt=subexp(subexp(ct+"|"+merge("[\\/\\?]",Me))+"*"),_t=subexp(subexp(ct+"|[\\/\\?]")+"*"),kt=subexp(subexp("\\/\\/"+lt+ft)+"|"+ht+"|"+gt+"|"+yt),xt=subexp(Te+"\\:"+kt+subexp("\\?"+bt)+"?"+subexp("\\#"+_t)+"?"),Et=subexp(subexp("\\/\\/"+lt+ft)+"|"+ht+"|"+mt+"|"+yt),wt=subexp(Et+subexp("\\?"+bt)+"?"+subexp("\\#"+_t)+"?"),St=subexp(xt+"|"+wt),At=subexp(Te+"\\:"+kt+subexp("\\?"+bt)+"?"),Ct="^("+Te+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+gt+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+_t+")")+"?$",Dt="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+mt+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+_t+")")+"?$",Mt="^("+Te+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+gt+"|"+yt+")")+subexp("\\?("+bt+")")+"?$",It="^"+subexp("\\#("+_t+")")+"?$",Pt="^"+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",R,$,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",Ie,_e),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",Ie,_e),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",Ie,_e),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",Ie,_e),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",Ie,_e,"[\\:\\@\\/\\?]",Me),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",Ie,_e,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",Ie,_e),"g"),UNRESERVED:new RegExp(Ie,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",Ie,Ee),"g"),PCT_ENCODED:new RegExp(ae,"g"),IPV4ADDRESS:new RegExp("^("+je+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Ye+")"+subexp(subexp("\\%25|\\%(?!"+q+"{2})")+"("+Ze+")")+"?\\]?$")}}var R=buildExps(false);var N=buildExps(true);var $=function(){function sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"])G["return"]()}finally{if(j)throw q}}return N}return function(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(E){if(Array.isArray(E)){for(var R=0,N=Array(E.length);R= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Be=q-G;var Le=Math.floor;var je=String.fromCharCode;function error$1(E){throw new RangeError(Ne[E])}function map(E,R){var N=[];var $=E.length;while($--){N[$]=R(E[$])}return N}function mapDomain(E,R){var N=E.split("@");var $="";if(N.length>1){$=N[0]+"@";E=N[1]}E=E.replace(Te,".");var j=E.split(".");var q=map(j,R).join(".");return $+q}function ucs2decode(E){var R=[];var N=0;var $=E.length;while(N<$){var j=E.charCodeAt(N++);if(j>=55296&&j<=56319&&N<$){var q=E.charCodeAt(N++);if((q&64512)==56320){R.push(((j&1023)<<10)+(q&1023)+65536)}else{R.push(j);N--}}else{R.push(j)}}return R}var ze=function ucs2encode(E){return String.fromCodePoint.apply(String,toConsumableArray(E))};var Ue=function basicToDigit(E){if(E-48<10){return E-22}if(E-65<26){return E-65}if(E-97<26){return E-97}return q};var qe=function digitToBasic(E,R){return E+22+75*(E<26)-((R!=0)<<5)};var Ge=function adapt(E,R,N){var $=0;E=N?Le(E/le):E>>1;E+=Le(E/R);for(;E>Be*ie>>1;$+=q){E=Le(E/Be)}return Le($+(Be+1)*E/(E+ae))};var He=function decode(E){var R=[];var N=E.length;var $=0;var ae=Ee;var le=_e;var Me=E.lastIndexOf(we);if(Me<0){Me=0}for(var Ie=0;Ie=128){error$1("not-basic")}R.push(E.charCodeAt(Ie))}for(var Te=Me>0?Me+1:0;Te=N){error$1("invalid-input")}var ze=Ue(E.charCodeAt(Te++));if(ze>=q||ze>Le((j-$)/Be)){error$1("overflow")}$+=ze*Be;var qe=je<=le?G:je>=le+ie?ie:je-le;if(zeLe(j/He)){error$1("overflow")}Be*=He}var We=R.length+1;le=Ge($-Ne,We,Ne==0);if(Le($/We)>j-ae){error$1("overflow")}ae+=Le($/We);$%=We;R.splice($++,0,ae)}return String.fromCodePoint.apply(String,R)};var We=function encode(E){var R=[];E=ucs2decode(E);var N=E.length;var $=Ee;var ae=0;var le=_e;var Me=true;var Ie=false;var Te=undefined;try{for(var Ne=E[Symbol.iterator](),Be;!(Me=(Be=Ne.next()).done);Me=true){var ze=Be.value;if(ze<128){R.push(je(ze))}}}catch(E){Ie=true;Te=E}finally{try{if(!Me&&Ne.return){Ne.return()}}finally{if(Ie){throw Te}}}var Ue=R.length;var He=Ue;if(Ue){R.push(we)}while(He=$&&YeLe((j-ae)/Ze)){error$1("overflow")}ae+=(We-$)*Ze;$=We;var et=true;var tt=false;var nt=undefined;try{for(var rt=E[Symbol.iterator](),st;!(et=(st=rt.next()).done);et=true){var it=st.value;if(it<$&&++ae>j){error$1("overflow")}if(it==$){var ot=ae;for(var lt=q;;lt+=q){var ct=lt<=le?G:lt>=le+ie?ie:lt-le;if(ot>6|192).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase();else N="%"+(R>>12|224).toString(16).toUpperCase()+"%"+(R>>6&63|128).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase();return N}function pctDecChars(E){var R="";var N=0;var $=E.length;while(N<$){var j=parseInt(E.substr(N+1,2),16);if(j<128){R+=String.fromCharCode(j);N+=3}else if(j>=194&&j<224){if($-N>=6){var q=parseInt(E.substr(N+4,2),16);R+=String.fromCharCode((j&31)<<6|q&63)}else{R+=E.substr(N,6)}N+=6}else if(j>=224){if($-N>=9){var G=parseInt(E.substr(N+4,2),16);var ie=parseInt(E.substr(N+7,2),16);R+=String.fromCharCode((j&15)<<12|(G&63)<<6|ie&63)}else{R+=E.substr(N,9)}N+=9}else{R+=E.substr(N,3);N+=3}}return R}function _normalizeComponentEncoding(E,R){function decodeUnreserved(E){var N=pctDecChars(E);return!N.match(R.UNRESERVED)?E:N}if(E.scheme)E.scheme=String(E.scheme).replace(R.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(R.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_USERINFO,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(R.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(R.NOT_HOST,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(R.PCT_ENCODED,decodeUnreserved).replace(E.scheme?R.NOT_PATH:R.NOT_PATH_NOSCHEME,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_QUERY,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_FRAGMENT,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,R){var N=E.match(R.IPV4ADDRESS)||[];var j=$(N,2),q=j[1];if(q){return q.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,R){var N=E.match(R.IPV6ADDRESS)||[];var j=$(N,3),q=j[1],G=j[2];if(q){var ie=q.toLowerCase().split("::").reverse(),ae=$(ie,2),le=ae[0],_e=ae[1];var Ee=_e?_e.split(":").map(_stripLeadingZeros):[];var we=le.split(":").map(_stripLeadingZeros);var Me=R.IPV4ADDRESS.test(we[we.length-1]);var Ie=Me?7:8;var Te=we.length-Ie;var Ne=Array(Ie);for(var Be=0;Be1){var Ue=Ne.slice(0,je.index);var qe=Ne.slice(je.index+je.length);ze=Ue.join(":")+"::"+qe.join(":")}else{ze=Ne.join(":")}if(G){ze+="%"+G}return ze}else{return E}}var Xe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Ye="".match(/(){0}/)[1]===undefined;function parse(E){var $=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var j={};var q=$.iri!==false?N:R;if($.reference==="suffix")E=($.scheme?$.scheme+":":"")+"//"+E;var G=E.match(Xe);if(G){if(Ye){j.scheme=G[1];j.userinfo=G[3];j.host=G[4];j.port=parseInt(G[5],10);j.path=G[6]||"";j.query=G[7];j.fragment=G[8];if(isNaN(j.port)){j.port=G[5]}}else{j.scheme=G[1]||undefined;j.userinfo=E.indexOf("@")!==-1?G[3]:undefined;j.host=E.indexOf("//")!==-1?G[4]:undefined;j.port=parseInt(G[5],10);j.path=G[6]||"";j.query=E.indexOf("?")!==-1?G[7]:undefined;j.fragment=E.indexOf("#")!==-1?G[8]:undefined;if(isNaN(j.port)){j.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?G[4]:undefined}}if(j.host){j.host=_normalizeIPv6(_normalizeIPv4(j.host,q),q)}if(j.scheme===undefined&&j.userinfo===undefined&&j.host===undefined&&j.port===undefined&&!j.path&&j.query===undefined){j.reference="same-document"}else if(j.scheme===undefined){j.reference="relative"}else if(j.fragment===undefined){j.reference="absolute"}else{j.reference="uri"}if($.reference&&$.reference!=="suffix"&&$.reference!==j.reference){j.error=j.error||"URI is not a "+$.reference+" reference."}var ie=Je[($.scheme||j.scheme||"").toLowerCase()];if(!$.unicodeSupport&&(!ie||!ie.unicodeSupport)){if(j.host&&($.domainHost||ie&&ie.domainHost)){try{j.host=Qe.toASCII(j.host.replace(q.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){j.error=j.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding(j,R)}else{_normalizeComponentEncoding(j,q)}if(ie&&ie.parse){ie.parse(j,$)}}else{j.error=j.error||"URI can not be parsed."}return j}function _recomposeAuthority(E,$){var j=$.iri!==false?N:R;var q=[];if(E.userinfo!==undefined){q.push(E.userinfo);q.push("@")}if(E.host!==undefined){q.push(_normalizeIPv6(_normalizeIPv4(String(E.host),j),j).replace(j.IPV6ADDRESS,(function(E,R,N){return"["+R+(N?"%25"+N:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){q.push(":");q.push(String(E.port))}return q.length?q.join(""):undefined}var Ze=/^\.\.?\//;var et=/^\/\.(\/|$)/;var tt=/^\/\.\.(\/|$)/;var nt=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var R=[];while(E.length){if(E.match(Ze)){E=E.replace(Ze,"")}else if(E.match(et)){E=E.replace(et,"/")}else if(E.match(tt)){E=E.replace(tt,"/");R.pop()}else if(E==="."||E===".."){E=""}else{var N=E.match(nt);if(N){var $=N[0];E=E.slice($.length);R.push($)}else{throw new Error("Unexpected dot segment condition")}}}return R.join("")}function serialize(E){var $=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var j=$.iri?N:R;var q=[];var G=Je[($.scheme||E.scheme||"").toLowerCase()];if(G&&G.serialize)G.serialize(E,$);if(E.host){if(j.IPV6ADDRESS.test(E.host)){}else if($.domainHost||G&&G.domainHost){try{E.host=!$.iri?Qe.toASCII(E.host.replace(j.PCT_ENCODED,pctDecChars).toLowerCase()):Qe.toUnicode(E.host)}catch(R){E.error=E.error||"Host's domain name can not be converted to "+(!$.iri?"ASCII":"Unicode")+" via punycode: "+R}}}_normalizeComponentEncoding(E,j);if($.reference!=="suffix"&&E.scheme){q.push(E.scheme);q.push(":")}var ie=_recomposeAuthority(E,$);if(ie!==undefined){if($.reference!=="suffix"){q.push("//")}q.push(ie);if(E.path&&E.path.charAt(0)!=="/"){q.push("/")}}if(E.path!==undefined){var ae=E.path;if(!$.absolutePath&&(!G||!G.absolutePath)){ae=removeDotSegments(ae)}if(ie===undefined){ae=ae.replace(/^\/\//,"/%2F")}q.push(ae)}if(E.query!==undefined){q.push("?");q.push(E.query)}if(E.fragment!==undefined){q.push("#");q.push(E.fragment)}return q.join("")}function resolveComponents(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var $=arguments[3];var j={};if(!$){E=parse(serialize(E,N),N);R=parse(serialize(R,N),N)}N=N||{};if(!N.tolerant&&R.scheme){j.scheme=R.scheme;j.userinfo=R.userinfo;j.host=R.host;j.port=R.port;j.path=removeDotSegments(R.path||"");j.query=R.query}else{if(R.userinfo!==undefined||R.host!==undefined||R.port!==undefined){j.userinfo=R.userinfo;j.host=R.host;j.port=R.port;j.path=removeDotSegments(R.path||"");j.query=R.query}else{if(!R.path){j.path=E.path;if(R.query!==undefined){j.query=R.query}else{j.query=E.query}}else{if(R.path.charAt(0)==="/"){j.path=removeDotSegments(R.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){j.path="/"+R.path}else if(!E.path){j.path=R.path}else{j.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+R.path}j.path=removeDotSegments(j.path)}j.query=R.query}j.userinfo=E.userinfo;j.host=E.host;j.port=E.port}j.scheme=E.scheme}j.fragment=R.fragment;return j}function resolve(E,R,N){var $=assign({scheme:"null"},N);return serialize(resolveComponents(parse(E,$),parse(R,$),$,true),$)}function normalize(E,R){if(typeof E==="string"){E=serialize(parse(E,R),R)}else if(typeOf(E)==="object"){E=parse(serialize(E,R),R)}return E}function equal(E,R,N){if(typeof E==="string"){E=serialize(parse(E,N),N)}else if(typeOf(E)==="object"){E=serialize(E,N)}if(typeof R==="string"){R=serialize(parse(R,N),N)}else if(typeOf(R)==="object"){R=serialize(R,N)}return E===R}function escapeComponent(E,$){return E&&E.toString().replace(!$||!$.iri?R.ESCAPE:N.ESCAPE,pctEncChar)}function unescapeComponent(E,$){return E&&E.toString().replace(!$||!$.iri?R.PCT_ENCODED:N.PCT_ENCODED,pctDecChars)}var rt={scheme:"http",domainHost:true,parse:function parse(E,R){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,R){var N=String(E.scheme).toLowerCase()==="https";if(E.port===(N?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var st={scheme:"https",domainHost:rt.domainHost,parse:rt.parse,serialize:rt.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var it={scheme:"ws",domainHost:true,parse:function parse(E,R){var N=E;N.secure=isSecure(N);N.resourceName=(N.path||"/")+(N.query?"?"+N.query:"");N.path=undefined;N.query=undefined;return N},serialize:function serialize(E,R){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var N=E.resourceName.split("?"),j=$(N,2),q=j[0],G=j[1];E.path=q&&q!=="/"?q:undefined;E.query=G;E.resourceName=undefined}E.fragment=undefined;return E}};var ot={scheme:"wss",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};var lt={};var ct=true;var ut="[A-Za-z0-9\\-\\.\\_\\~"+(ct?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var pt="[0-9A-Fa-f]";var dt=subexp(subexp("%[EFef]"+pt+"%"+pt+pt+"%"+pt+pt)+"|"+subexp("%[89A-Fa-f]"+pt+"%"+pt+pt)+"|"+subexp("%"+pt+pt));var ft="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var ht="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var mt=merge(ht,'[\\"\\\\]');var gt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var yt=new RegExp(ut,"g");var vt=new RegExp(dt,"g");var bt=new RegExp(merge("[^]",ft,"[\\.]",'[\\"]',mt),"g");var _t=new RegExp(merge("[^]",ut,gt),"g");var kt=_t;function decodeUnreserved(E){var R=pctDecChars(E);return!R.match(yt)?E:R}var xt={scheme:"mailto",parse:function parse$$1(E,R){var N=E;var $=N.to=N.path?N.path.split(","):[];N.path=undefined;if(N.query){var j=false;var q={};var G=N.query.split("&");for(var ie=0,ae=G.length;ie{E.exports=N(73837).deprecate},56755:(E,R,N)=>{"use strict";const $=N(82361).EventEmitter;const j=N(15808);const q=N(71017);const G=N(68862);const ie=Object.freeze({});let ae=1e3;const le=N(22037).platform()==="darwin";const _e=process.env.WATCHPACK_POLLING;const Ee=`${+_e}`===_e?+_e:!!_e&&_e!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,R){return function(){if(--E===0){return R()}}}class Watcher extends ${constructor(E,R,N){super();this.directoryWatcher=E;this.path=R;this.startTime=N&&+N}checkStartTime(E,R){const N=this.startTime;if(typeof N!=="number")return!R;return N<=E}close(){this.emit("closed")}}class DirectoryWatcher extends ${constructor(E,R,N){super();if(Ee){N.poll=Ee}this.watcherManager=E;this.options=N;this.path=R;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=N.ignored||(()=>false);this.nestedWatching=false;this.polledWatching=typeof N.poll==="number"?N.poll:N.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(le){this.watchInParentDirectory()}this.watcher=G.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,R){const N=this.watchers.get(withoutCase(E));if(N!==undefined){for(const E of N){R(E)}}}setMissing(E,R,N){if(this.initialScan){this.initialScanRemoved.add(E)}const $=this.directories.get(E);if($){if(this.nestedWatching)$.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",N)));if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,null,N,R)))}}const j=this.files.get(E);if(j){this.files.delete(E);const $=withoutCase(E);const j=this.filesWithoutCase.get($)-1;if(j<=0){this.filesWithoutCase.delete($);this.forEachWatcher(E,(E=>E.emit("remove",N)))}else{this.filesWithoutCase.set($,j)}if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,null,N,R)))}}}setFileTime(E,R,N,$,j){const q=Date.now();if(this.ignored(E))return;const G=this.files.get(E);let ie,le;if(N){ie=Math.min(q,R)+ae;le=ae}else{ie=q;le=0;if(G&&G.timestamp===R&&R+ae{if(!N||E.checkStartTime(ie,N)){E.emit("change",R,j)}}))}else if(!N){this.forEachWatcher(E,(E=>E.emit("change",R,j)))}this.forEachWatcher(this.path,(R=>{if(!N||R.checkStartTime(ie,N)){R.emit("change",E,ie,j,N)}}))}setDirectory(E,R,N,$){if(this.ignored(E))return;if(E===this.path){if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,R,$,N)))}}else{const j=this.directories.get(E);if(!j){const j=Date.now();if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let q;if(N){q=Math.min(j,R)+ae}else{q=j}this.forEachWatcher(E,(E=>{if(!N||E.checkStartTime(q,false)){E.emit("change",R,$)}}));this.forEachWatcher(this.path,(R=>{if(!N||R.checkStartTime(q,N)){R.emit("change",E,q,$,N)}}))}}}createNestedWatcher(E){const R=this.watcherManager.watchDirectory(E,1);R.on("change",((E,R,N,$)=>{this.forEachWatcher(this.path,(j=>{if(!$||j.checkStartTime(R,$)){j.emit("change",E,R,N,$)}}))}));this.directories.set(E,R)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,R]of this.directories){R.close();this.directories.set(E,true)}}}}watch(E,R){const N=withoutCase(E);let $=this.watchers.get(N);if($===undefined){$=new Set;this.watchers.set(N,$)}this.refs++;const j=new Watcher(this,E,R);j.on("closed",(()=>{if(--this.refs<=0){this.close();return}$.delete(j);if($.size===0){this.watchers.delete(N);if(this.path===E)this.setNestedWatching(false)}}));$.add(j);let q;if(E===this.path){this.setNestedWatching(true);q=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);q=Math.max(q,E.safeTime)}}else{const R=this.files.get(E);if(R){fixupEntryAccuracy(R);q=R.safeTime}else{q=0}}if(q){if(q>=R){process.nextTick((()=>{if(this.closed)return;if(E===this.path){j.emit("change",E,q,"watch (outdated on attach)",true)}else{j.emit("change",q,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;j.emit("remove")}))}}else if(!this.directories.has(E)&&j.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;j.emit("initial-missing","watch (missing on attach)")}))}return j}onWatchEvent(E,R){if(this.closed)return;if(!R){this.doScan(false);return}const N=q.join(this.path,R);if(this.ignored(N))return;if(this._activeEvents.get(R)===undefined){this._activeEvents.set(R,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(R,false);j.lstat(N,(($,G)=>{if(this.closed)return;if(this._activeEvents.get(R)===true){process.nextTick(checkStats);return}this._activeEvents.delete(R);if($){if($.code!=="ENOENT"&&$.code!=="EPERM"&&$.code!=="EBUSY"){this.onStatsError($)}else{if(R===q.basename(this.path)){if(!j.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();if(!G){this.setMissing(N,false,E)}else if(G.isDirectory()){this.setDirectory(N,+G.birthtime||1,false,E)}else if(G.isFile()||G.isSymbolicLink()){if(G.mtime){ensureFsAccuracy(G.mtime)}this.setFileTime(N,+G.mtime||+G.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(R,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const R=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,R)}for(const E of this.files.keys()){this.setMissing(E,null,R)}}watchInParentDirectory(){if(!this.parentWatcher){const E=q.dirname(this.path);if(q.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,R)=>{if(this.closed)return;if((!le||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(N=>N.emit("change",this.path,E,R,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;j.readdir(this.path,((R,N)=>{if(this.closed)return;if(R){if(R.code==="ENOENT"||R.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(R)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const R of E){if(R.checkStartTime(this.initialScanFinished,false)){R.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const $=new Set(N.map((E=>q.join(this.path,E.normalize("NFC")))));for(const R of this.files.keys()){if(!$.has(R)){this.setMissing(R,E,"scan (missing)")}}for(const R of this.directories.keys()){if(!$.has(R)){this.setMissing(R,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const G=needCalls($.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const R of $){E.delete(withoutCase(R))}for(const R of E.values()){for(const E of R){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const R of $){j.lstat(R,((N,$)=>{if(this.closed)return;if(N){if(N.code==="ENOENT"||N.code==="EPERM"||N.code==="EACCES"||N.code==="EBUSY"){this.setMissing(R,E,"scan ("+N.code+")")}else{this.onScanError(N)}G();return}if($.isFile()||$.isSymbolicLink()){if($.mtime){ensureFsAccuracy($.mtime)}this.setFileTime(R,+$.mtime||+$.ctime||1,E,true,"scan (file)")}else if($.isDirectory()){if(!E||!this.directories.has(R))this.setDirectory(R,+$.birthtime||1,E,"scan (dir)")}G()}))}G()}))}))}getTimes(){const E=Object.create(null);let R=this.lastWatchEvent;for(const[N,$]of this.files){fixupEntryAccuracy($);R=Math.max(R,$.safeTime);E[N]=Math.max($.safeTime,$.timestamp)}if(this.nestedWatching){for(const N of this.directories.values()){const $=N.directoryWatcher.getTimes();for(const N of Object.keys($)){const j=$[N];R=Math.max(R,j);E[N]=j}}E[this.path]=R}if(!this.initialScan){for(const R of this.watchers.values()){for(const N of R){const R=N.path;if(!Object.prototype.hasOwnProperty.call(E,R)){E[R]=null}}}}return E}collectTimeInfoEntries(E,R){let N=this.lastWatchEvent;for(const[R,$]of this.files){fixupEntryAccuracy($);N=Math.max(N,$.safeTime);E.set(R,$)}if(this.nestedWatching){for(const $ of this.directories.values()){N=Math.max(N,$.directoryWatcher.collectTimeInfoEntries(E,R))}E.set(this.path,ie);R.set(this.path,{safeTime:N})}else{for(const N of this.directories.keys()){E.set(N,ie);if(!R.has(N))R.set(N,ie)}E.set(this.path,ie);R.set(this.path,ie)}if(!this.initialScan){for(const R of this.watchers.values()){for(const N of R){const R=N.path;if(!E.has(R)){E.set(R,null)}}}}return N}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ie;function fixupEntryAccuracy(E){if(E.accuracy>ae){E.safeTime=E.safeTime-E.accuracy+ae;E.accuracy=ae}}function ensureFsAccuracy(E){if(!E)return;if(ae>1&&E%1!==0)ae=1;else if(ae>10&&E%10!==0)ae=10;else if(ae>100&&E%100!==0)ae=100}},99181:(E,R,N)=>{"use strict";const $=N(57147);const j=N(71017);const q=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")q.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const R=this.cache.get(E);if(R!==undefined){return R}const N=j.dirname(E);if(N===E){const R=Object.freeze([E]);this.cache.set(E,R);return R}const G=this.resolve(N);let ie=E;if(G[0]!==N){const R=j.basename(E);ie=j.resolve(G[0],R)}try{const R=$.readlinkSync(ie);const N=j.resolve(G[0],R);const q=this.resolve(N);let ae;if(q.length>1&&G.length>1){const E=new Set(q);E.add(ie);for(let R=1;R1){ae=G.slice();ae[0]=q[0];ae.push(ie);Object.freeze(ae)}else if(q.length>1){ae=q.slice();ae.push(ie);Object.freeze(ae)}else{ae=Object.freeze([q[0],ie])}this.cache.set(E,ae);return ae}catch(R){if(!q.has(R.code)){throw R}const N=G.slice();N[0]=ie;Object.freeze(N);this.cache.set(E,N);return N}}}E.exports=LinkResolver},53982:(E,R,N)=>{"use strict";const $=N(71017);const j=N(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const R=this.directoryWatchers.get(E);if(R===undefined){const R=new j(this,E,this.options);this.directoryWatchers.set(E,R);R.on("closed",(()=>{this.directoryWatchers.delete(E)}));return R}return R}watchFile(E,R){const N=$.dirname(E);if(N===E)return null;return this.getDirectoryWatcher(N).watch(E,R)}watchDirectory(E,R){return this.getDirectoryWatcher(E).watch(E,R)}}const q=new WeakMap;E.exports=E=>{const R=q.get(E);if(R!==undefined)return R;const N=new WatcherManager(E);q.set(E,N);return N};E.exports.WatcherManager=WatcherManager},27601:(E,R,N)=>{"use strict";const $=N(71017);E.exports=(E,R)=>{const N=new Map;for(const[R,$]of E){N.set(R,{filePath:R,parent:undefined,children:undefined,entries:1,active:true,value:$})}let j=N.size;for(const E of N.values()){const R=$.dirname(E.filePath);if(R!==E.filePath){let $=N.get(R);if($===undefined){$={filePath:R,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};N.set(R,$);E.parent=$}else{E.parent=$;if($.children===undefined){$.children=[E]}else{$.children.push(E)}do{$.entries+=E.entries;$=$.parent}while($)}}}while(j>R){const E=j-R;let $=undefined;let q=Infinity;for(const j of N.values()){if(j.entries<=1||!j.children||!j.parent)continue;if(j.children.length===0)continue;if(j.children.length===1&&!j.value)continue;const N=j.entries-1>=E?j.entries-1-E:E-j.entries+1+R*.3;if(N{"use strict";const $=N(57147);const j=N(71017);const{EventEmitter:q}=N(82361);const G=N(27601);const ie=N(22037).platform()==="darwin";const ae=N(22037).platform()==="win32";const le=ie||ae;const _e=+process.env.WATCHPACK_WATCHER_LIMIT||(ie?2e3:1e4);const Ee=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let we=false;let Me=0;const Ie=new Map;const Te=new Map;const Ne=new Map;const Be=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const R=$.watch(E);this.watcher=R;R.on("change",((E,R)=>{for(const N of this.watchers){N.emit("change",E,R)}}));R.on("error",(E=>{for(const R of this.watchers){R.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const R of this.watchers){R.emit("error",E)}}))}Me++}add(E){Be.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Ne.delete(this.filePath);Me--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const R=$.watch(E,{recursive:true});this.watcher=R;R.on("change",((E,R)=>{if(!R){if(Ee){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const R of this.mapWatcherToPath.keys()){R.emit("change",E)}}else{const N=j.dirname(R);const $=this.mapPathToWatchers.get(N);if(Ee){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${R}' to ${$?$.size:0} watchers\n`)}if($===undefined)return;for(const N of $){N.emit("change",E,j.basename(R))}}}));R.on("error",(E=>{for(const R of this.mapWatcherToPath.keys()){R.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const R of this.mapWatcherToPath.keys()){R.emit("error",E)}}))}Me++;if(Ee){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,R){Be.set(R,this);const N=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(R,N);const $=this.mapPathToWatchers.get(N);if($===undefined){const E=new Set;E.add(R);this.mapPathToWatchers.set(N,E)}else{$.add(R)}}remove(E){const R=this.mapWatcherToPath.get(E);if(!R)return;this.mapWatcherToPath.delete(E);const N=this.mapPathToWatchers.get(R);N.delete(E);if(N.size===0){this.mapPathToWatchers.delete(R)}if(this.mapWatcherToPath.size===0){Te.delete(this.rootPath);Me--;if(this.watcher)this.watcher.close();if(Ee){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends q{close(){if(Ie.has(this)){Ie.delete(this);return}const E=Be.get(this);E.remove(this);Be.delete(this)}}const createDirectWatcher=E=>{const R=Ne.get(E);if(R!==undefined)return R;const N=new DirectWatcher(E);Ne.set(E,N);return N};const createRecursiveWatcher=E=>{const R=Te.get(E);if(R!==undefined)return R;const N=new RecursiveWatcher(E);Te.set(E,N);return N};const execute=()=>{const E=new Map;const addWatcher=(R,N)=>{const $=E.get(N);if($===undefined){E.set(N,R)}else if(Array.isArray($)){$.push(R)}else{E.set(N,[$,R])}};for(const[E,R]of Ie){addWatcher(E,R)}Ie.clear();if(!le||_e-Me>=E.size){for(const[R,N]of E){const E=createDirectWatcher(R);if(Array.isArray(N)){for(const R of N)E.add(R)}else{E.add(N)}}return}for(const E of Te.values()){for(const[R,N]of E.getWatchers()){addWatcher(R,j.join(E.rootPath,N))}}for(const E of Ne.values()){for(const R of E.getWatchers()){addWatcher(R,E.filePath)}}const R=G(E,_e*.9);for(const[E,N]of R){if(N.size===1){for(const[E,R]of N){const N=createDirectWatcher(R);const $=Be.get(E);if($===N)continue;N.add(E);if($!==undefined)$.remove(E)}}else{const R=new Set(N.values());if(R.size>1){const R=createRecursiveWatcher(E);for(const[E,$]of N){const N=Be.get(E);if(N===R)continue;R.add($,E);if(N!==undefined)N.remove(E)}}else{for(const E of R){const R=createDirectWatcher(E);for(const E of N.keys()){const N=Be.get(E);if(N===R)continue;R.add(E);if(N!==undefined)N.remove(E)}}}}}};R.watch=E=>{const R=new Watcher;const N=Ne.get(E);if(N!==undefined){N.add(R);return R}let $=E;for(;;){const N=Te.get($);if(N!==undefined){N.add(E,R);return R}const q=j.dirname($);if(q===$)break;$=q}Ie.set(R,E);if(!we)execute();return R};R.batch=E=>{we=true;try{E()}finally{we=false;execute()}};R.getNumberOfWatchers=()=>Me},92512:(E,R,N)=>{"use strict";const $=N(53982);const j=N(99181);const q=N(82361).EventEmitter;const G=N(70554);const ie=N(68862);const ae=[];const le={};function addWatchersToSet(E,R){for(const N of E){const E=N.watcher;if(!R.has(E.directoryWatcher)){R.add(E.directoryWatcher)}}}const stringToRegexp=E=>{const R=G(E,{globstar:true,extended:true}).source;const N=R.slice(0,R.length-1)+"(?:$|\\/)";return N};const ignoredToFunction=E=>{if(Array.isArray(E)){const R=new RegExp(E.map((E=>stringToRegexp(E))).join("|"));return E=>R.test(E.replace(/\\/g,"/"))}else if(typeof E==="string"){const R=new RegExp(stringToRegexp(E));return E=>R.test(E.replace(/\\/g,"/"))}else if(E instanceof RegExp){return R=>E.test(R.replace(/\\/g,"/"))}else if(E instanceof Function){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return()=>false}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToFunction(E.ignored),poll:E.poll});const _e=new WeakMap;const cachedNormalizeOptions=E=>{const R=_e.get(E);if(R!==undefined)return R;const N=normalizeOptions(E);_e.set(E,N);return N};class WatchpackFileWatcher{constructor(E,R,N){this.files=Array.isArray(N)?N:[N];this.watcher=R;R.on("initial-missing",(R=>{for(const N of this.files){if(!E._missing.has(N))E._onRemove(N,N,R)}}));R.on("change",((R,N)=>{for(const $ of this.files){E._onChange($,R,$,N)}}));R.on("remove",(R=>{for(const N of this.files){E._onRemove(N,N,R)}}))}update(E){if(!Array.isArray(E)){if(this.files.length!==1){this.files=[E]}else if(this.files[0]!==E){this.files[0]=E}}else{this.files=E}}close(){this.watcher.close()}}class WatchpackDirectoryWatcher{constructor(E,R,N){this.directories=Array.isArray(N)?N:[N];this.watcher=R;R.on("initial-missing",(R=>{for(const N of this.directories){E._onRemove(N,N,R)}}));R.on("change",((R,N,$)=>{for(const j of this.directories){E._onChange(j,N,R,$)}}));R.on("remove",(R=>{for(const N of this.directories){E._onRemove(N,N,R)}}))}update(E){if(!Array.isArray(E)){if(this.directories.length!==1){this.directories=[E]}else if(this.directories[0]!==E){this.directories[0]=E}}else{this.directories=E}}close(){this.watcher.close()}}class Watchpack extends q{constructor(E){super();if(!E)E=le;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=$(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this._missing=new Set;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,R,N){let $,q,G,le;if(!R){({files:$=ae,directories:q=ae,missing:G=ae,startTime:le}=E)}else{$=E;q=R;G=ae;le=N}this.paused=false;const _e=this.fileWatchers;const Ee=this.directoryWatchers;const we=this.watcherOptions.ignored;const filter=E=>!we(E);const addToMap=(E,R,N)=>{const $=E.get(R);if($===undefined){E.set(R,N)}else if(Array.isArray($)){$.push(N)}else{E.set(R,[$,N])}};const Me=new Map;const Ie=new Map;const Te=new Set;if(this.watcherOptions.followSymlinks){const E=new j;for(const R of $){if(filter(R)){for(const N of E.resolve(R)){if(R===N||filter(N)){addToMap(Me,N,R)}}}}for(const R of G){if(filter(R)){for(const N of E.resolve(R)){if(R===N||filter(N)){Te.add(R);addToMap(Me,N,R)}}}}for(const R of q){if(filter(R)){let N=true;for(const $ of E.resolve(R)){if(filter($)){addToMap(N?Ie:Me,$,R)}N=false}}}}else{for(const E of $){if(filter(E)){addToMap(Me,E,E)}}for(const E of G){if(filter(E)){Te.add(E);addToMap(Me,E,E)}}for(const E of q){if(filter(E)){addToMap(Ie,E,E)}}}for(const[E,R]of _e){const N=Me.get(E);if(N===undefined){R.close();_e.delete(E)}else{R.update(N);Me.delete(E)}}for(const[E,R]of Ee){const N=Ie.get(E);if(N===undefined){R.close();Ee.delete(E)}else{R.update(N);Ie.delete(E)}}ie.batch((()=>{for(const[E,R]of Me){const N=this.watcherManager.watchFile(E,le);if(N){_e.set(E,new WatchpackFileWatcher(this,N,R))}}for(const[E,R]of Ie){const N=this.watcherManager.watchDirectory(E,le);if(N){Ee.set(E,new WatchpackDirectoryWatcher(this,N,R))}}}));this._missing=Te;this.startTime=le}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const R=Object.create(null);for(const N of E){const E=N.getTimes();for(const N of Object.keys(E))R[N]=E[N]}return R}getTimeInfoEntries(){const E=new Map;this.collectTimeInfoEntries(E,E);return E}collectTimeInfoEntries(E,R){const N=new Set;addWatchersToSet(this.fileWatchers.values(),N);addWatchersToSet(this.directoryWatchers.values(),N);const $={value:0};for(const j of N){j.collectTimeInfoEntries(E,R,$)}}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const R=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:R}}_onChange(E,R,N,$){N=N||E;if(!this.paused){this.emit("change",N,R,$);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,R,N){R=R||E;if(!this.paused){this.emit("remove",R,N);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const R=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,R)}}E.exports=Watchpack},70417:(E,R,N)=>{"use strict";const $=N(12112);const j=N(22938);const q=N(83088);const G=N(53931);const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const R=Object.assign({},E);if(E.mappings){R.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){R.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return R};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const R=Object.assign({},E);if(E.mappings){R.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){R.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return R};class CachedSource extends ${constructor(E,R){super();this._source=E;this._cachedSourceType=R?R.source:undefined;this._cachedSource=undefined;this._cachedBuffer=R?R.buffer:undefined;this._cachedSize=R?R.size:undefined;this._cachedMaps=R?R.maps:new Map;this._cachedHashUpdate=R?R.hash:undefined}getCachedData(){const E=new Map;for(const R of this._cachedMaps){let N=R[1];if(N.bufferedMap===undefined){N.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(N))}E.set(R[0],{map:undefined,bufferedMap:N.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const R=E?JSON.stringify(E):"{}";const N=this._cachedMaps.get(R);if(N!==undefined){const E=this._getMapFromCacheEntry(N);return{source:this.source(),map:E}}let $=this._getCachedSource();let j;if($!==undefined){j=this.original().map(E)}else{const R=this.original().sourceAndMap(E);$=R.source;j=R.map;this._cachedSource=$}this._cachedMaps.set(R,{map:j,bufferedMap:undefined});return{source:$,map:j}}streamChunks(E,R,N,$){const ie=E?JSON.stringify(E):"{}";if(this._cachedMaps.has(ie)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:G,map:ie}=this.sourceAndMap(E);if(ie){return j(G,ie,R,N,$,!!(E&&E.finalSource),true)}else{return q(G,R,N,$,!!(E&&E.finalSource))}}const{result:ae,source:le,map:_e}=G(this.original(),E,R,N,$);this._cachedSource=le;this._cachedMaps.set(ie,{map:_e,bufferedMap:undefined});return ae}map(E){const R=E?JSON.stringify(E):"{}";const N=this._cachedMaps.get(R);if(N!==undefined){return this._getMapFromCacheEntry(N)}const $=this.original().map(E);this._cachedMaps.set(R,{map:$,bufferedMap:undefined});return $}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const R of this._cachedHashUpdate)E.update(R);return}const R=[];let N=undefined;const $={update:E=>{if(typeof E==="string"&&E.length<10240){if(N===undefined){N=E}else{N+=E;if(N.length>102400){R.push(Buffer.from(N));N=undefined}}}else{if(N!==undefined){R.push(Buffer.from(N));N=undefined}R.push(E)}}};this.original().updateHash($);if(N!==undefined){R.push(Buffer.from(N))}for(const N of R)E.update(N);this._cachedHashUpdate=R}}E.exports=CachedSource},90469:(E,R,N)=>{"use strict";const $=N(12112);class CompatSource extends ${static from(E){return E instanceof $?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},52388:(E,R,N)=>{"use strict";const $=N(12112);const j=N(57902);const q=N(38589);const{getMap:G,getSourceAndMap:ie}=N(40223);const ae=new WeakSet;class ConcatSource extends ${constructor(){super();this._children=[];for(let E=0;E{const Ne=N+j;const Be=N===1?$+G:$;if(Ee){if(N!==1||$!==0){R(undefined,j+1,G,-1,-1,-1,-1)}Ee=false}const Le=q<0||q>=Me.length?-1:Me[q];const je=we<0||we>=Ie.length?-1:Ie[we];Te=Le<0?0:N;if(le){if(E!==undefined)_e+=E;if(Le>=0){R(undefined,Ne,Be,Le,ie,ae,je)}}else{if(Le<0){R(E,Ne,Be,-1,-1,-1,-1)}else{R(E,Ne,Be,Le,ie,ae,je)}}}),((E,R,$)=>{let j=ie.get(R);if(j===undefined){ie.set(R,j=ie.size);N(j,R,$)}Me[E]=j}),((E,R)=>{let N=ae.get(R);if(N===undefined){ae.set(R,N=ae.size);$(N,R)}Ie[E]=N}));if(Le!==undefined)_e+=Le;if(Ee){if(Ne!==1||Be!==0){R(undefined,j+1,G,-1,-1,-1,-1);Ee=false}}if(Ne>1){G=Be}else{G+=Be}Ee=Ee||le&&Te===Ne;j+=Ne-1}return{generatedLine:j+1,generatedColumn:G,source:le?_e:undefined}}updateHash(E){if(!this._isOptimized)this._optimize();E.update("ConcatSource");for(const R of this._children){R.updateHash(E)}}_optimize(){const E=[];let R=undefined;let N=undefined;const addStringToRawSources=E=>{if(N===undefined){N=E}else if(Array.isArray(N)){N.push(E)}else{N=[typeof N==="string"?N:N.source(),E]}};const addSourceToRawSources=E=>{if(N===undefined){N=E}else if(Array.isArray(N)){N.push(E.source())}else{N=[typeof N==="string"?N:N.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(N)){const R=new j(N.join(""));ae.add(R);E.push(R)}else if(typeof N==="string"){const R=new j(N);ae.add(R);E.push(R)}else{E.push(N)}};for(const $ of this._children){if(typeof $==="string"){if(R===undefined){R=$}else{R+=$}}else{if(R!==undefined){addStringToRawSources(R);R=undefined}if(ae.has($)){addSourceToRawSources($)}else{if(N!==undefined){mergeRawSources();N=undefined}E.push($)}}}if(R!==undefined){addStringToRawSources(R)}if(N!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},57579:(E,R,N)=>{"use strict";const{getMap:$,getSourceAndMap:j}=N(40223);const q=N(23321);const G=N(73548);const ie=N(12112);const ae=N(4280);class OriginalSource extends ie{constructor(E,R){super();const N=Buffer.isBuffer(E);this._value=N?undefined:E;this._valueAsBuffer=N?E:undefined;this._name=R}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return $(this,E)}sourceAndMap(E){return j(this,E)}streamChunks(E,R,N,$){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}N(0,this._name,this._value);const j=!!(E&&E.finalSource);if(!E||E.columns!==false){const E=ae(this._value);let N=1;let $=0;if(E!==null){for(const q of E){const E=q.endsWith("\n");if(E&&q.length===1){if(!j)R(q,N,$,-1,-1,-1,-1)}else{const E=j?undefined:q;R(E,N,$,0,N,$,-1)}if(E){N++;$=0}else{$+=q.length}}}return{generatedLine:N,generatedColumn:$,source:j?this._value:undefined}}else if(j){const E=G(this._value);const{generatedLine:N,generatedColumn:$}=E;if($===0){for(let E=1;E{"use strict";const $=N(12112);const j=N(57902);const q=N(38589);const{getMap:G,getSourceAndMap:ie}=N(40223);const ae=/\n(?=.|\s)/g;class PrefixSource extends ${constructor(E,R){super();this._source=typeof R==="string"||Buffer.isBuffer(R)?new j(R,true):R;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const R=this._prefix;return R+E.replace(ae,"\n"+R)}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,R,N,$){const j=this._prefix;const G=j.length;const ie=!!(E&&E.columns===false);const{generatedLine:le,generatedColumn:_e,source:Ee}=q(this._source,E,((E,N,$,q,ae,le,_e)=>{if($!==0){$+=G}else if(E!==undefined){if(ie||q<0){E=j+E}else if(G>0){R(j,N,$,-1,-1,-1,-1);$+=G}}else if(!ie){$+=G}R(E,N,$,q,ae,le,_e)}),N,$);return{generatedLine:le,generatedColumn:_e===0?0:G+_e,source:Ee!==undefined?j+Ee.replace(ae,"\n"+j):undefined}}updateHash(E){E.update("PrefixSource");this._source.updateHash(E);E.update(this._prefix)}}E.exports=PrefixSource},57902:(E,R,N)=>{"use strict";const $=N(83088);const j=N(12112);class RawSource extends j{constructor(E,R=false){super();const N=Buffer.isBuffer(E);if(!N&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!R&&N;this._value=R&&N?undefined:E;this._valueAsBuffer=N?E:undefined;this._valueAsString=N?undefined:E}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}streamChunks(E,R,N,j){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return $(this._valueAsString,R,N,j,!!(E&&E.finalSource))}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},1324:(E,R,N)=>{"use strict";const{getMap:$,getSourceAndMap:j}=N(40223);const q=N(38589);const G=N(12112);const ie=N(23321);const ae=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const le=536870912;class Replacement{constructor(E,R,N,$){this.start=E;this.end=R;this.content=N;this.name=$;if(!ae){this.index=-1}}}class ReplaceSource extends G{constructor(E,R){super();this._source=E;this._name=R;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(E,R,N,$){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N);this._replacements.push(new Replacement(E,R,N,$));this._isSorted=false}insert(E,R,N){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R+": "+R);this._replacements.push(new Replacement(E,E-1,R,N));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let E=this._source.source();let R=0;const N=[];this._sortReplacements();for(const $ of this._replacements){const j=Math.floor($.start);const q=Math.floor($.end+1);if(RE.index=R));this._replacements.sort((function(E,R){const N=E.start-R.start;if(N!==0)return N;const $=E.end-R.end;if($!==0)return $;return E.index-R.index}))}this._isSorted=true}streamChunks(E,R,N,$){this._sortReplacements();const j=this._replacements;let G=0;let ae=0;let _e=-1;let Ee=ae{let j=E{let Ue=0;let qe=G+E.length;if(_e>G){if(_e>=qe){const R=N+we;if(E.endsWith("\n")){we--;if(Ie===R){Me+=q}}else if(Ie===R){Me-=E.length}else{Me=-E.length;Ie=R}G=qe;return}Ue=_e-G;if(checkOriginalContent(Te,Le,je,E.slice(0,Ue))){je+=Ue}G+=Ue;const R=N+we;if(Ie===R){Me-=Ue}else{Me=-Ue;Ie=R}q+=Ue}if(EeG){const N=Ee-G;const $=E.slice(Ue,Ue+N);R($,Ge,q+(Ge===Ie?Me:0),Te,Le,je,ze<0||ze>=Be.length?-1:Be[ze]);q+=N;Ue+=N;G=Ee;if(checkOriginalContent(Te,Le,je,$)){je+=$.length}}const{content:He,name:We}=j[ae];let Ve=ie(He);let Ke=ze;if(Te>=0&&We){let E=Ne.get(We);if(E===undefined){E=Ne.size;Ne.set(We,E);$(E,We)}Ke=E}for(let E=0;E0){if(_e>=qe){let R=N+we;if(E.endsWith("\n")){we--;if(Ie===R){Me+=q}}else if(Ie===R){Me-=E.length-Ue}else{Me=Ue-E.length;Ie=R}G=qe;return}const R=N+we;if(checkOriginalContent(Te,Le,je,E.slice(Ue,Ue+Qe))){je+=Qe}Ue+=Qe;G+=Qe;if(Ie===R){Me-=Qe}else{Me=-Qe;Ie=R}q+=Qe}}while(Ee{while(Te.length{let N=Ne.get(R);if(N===undefined){N=Ne.size;Ne.set(R,N);$(N,R)}Be[E]=N}));let ze="";for(;ae{"use strict";const $=N(12112);class SizeOnlySource extends ${constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},12112:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},84172:(E,R,N)=>{"use strict";const $=N(12112);const j=N(22938);const q=N(64507);const{getMap:G,getSourceAndMap:ie}=N(40223);class SourceMapSource extends ${constructor(E,R,N,$,j,q){super();const G=Buffer.isBuffer(E);this._valueAsString=G?undefined:E;this._valueAsBuffer=G?E:undefined;this._name=R;this._hasSourceMap=!!N;const ie=Buffer.isBuffer(N);const ae=typeof N==="string";this._sourceMapAsObject=ie||ae?undefined:N;this._sourceMapAsString=ae?N:undefined;this._sourceMapAsBuffer=ie?N:undefined;this._hasOriginalSource=!!$;const le=Buffer.isBuffer($);this._originalSourceAsString=le?undefined:$;this._originalSourceAsBuffer=le?$:undefined;this._hasInnerSourceMap=!!j;const _e=Buffer.isBuffer(j);const Ee=typeof j==="string";this._innerSourceMapAsObject=_e||Ee?undefined:j;this._innerSourceMapAsString=Ee?j:undefined;this._innerSourceMapAsBuffer=_e?j:undefined;this._removeOriginalSource=q}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return G(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return ie(this,E)}streamChunks(E,R,N,$){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return q(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,R,N,$,!!(E&&E.finalSource),!!(E&&E.columns!==false))}else{return j(this._valueAsString,this._sourceMapAsObject,R,N,$,!!(E&&E.finalSource),!!(E&&E.columns!==false))}}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},96588:E=>{"use strict";const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const N=32;const createMappingsSerializer=E=>{const R=E&&E.columns===false;return R?createLinesOnlyMappingsSerializer():createFullMappingsSerializer()};const createFullMappingsSerializer=()=>{let E=1;let $=0;let j=0;let q=1;let G=0;let ie=0;let ae=false;let le=false;let _e=true;return(Ee,we,Me,Ie,Te,Ne)=>{if(ae&&E===Ee){if(Me===j&&Ie===q&&Te===G&&!le&&Ne<0){return""}}else{if(Me<0){return""}}let Be;if(E{const $=E>>>31&1;const j=E>>31;const q=E+j^j;let G=q<<1|$;for(;;){const E=G&31;G>>=5;if(G===0){Be+=R[E];break}else{Be+=R[E|N]}}};writeValue(we-$);$=we;if(Me>=0){ae=true;if(Me===j){Be+="A"}else{writeValue(Me-j);j=Me}writeValue(Ie-q);q=Ie;if(Te===G){Be+="A"}else{writeValue(Te-G);G=Te}if(Ne>=0){writeValue(Ne-ie);ie=Ne;le=true}else{le=false}}else{ae=false}return Be}};const createLinesOnlyMappingsSerializer=()=>{let E=0;let $=1;let j=0;let q=1;return(G,ie,ae,le,_e,Ee)=>{if(ae<0){return""}if(E===G){return""}let we;const writeValue=E=>{const $=E>>>31&1;const j=E>>31;const q=E+j^j;let G=q<<1|$;for(;;){const E=G&31;G>>=5;if(G===0){we+=R[E];break}else{we+=R[E|N]}}};E=G;if(G===$+1){$=G;if(ae===j){j=ae;if(le===q+1){q=le;return";AACA"}else{we=";AA";writeValue(le-q);q=le;return we+"A"}}else{we=";A";writeValue(ae-j);j=ae;writeValue(le-q);q=le;return we+"A"}}else{we=";".repeat(G-$);$=G;if(ae===j){j=ae;if(le===q+1){q=le;return we+"AACA"}else{we+="AA";writeValue(le-q);q=le;return we+"A"}}else{we+="A";writeValue(ae-j);j=ae;writeValue(le-q);q=le;return we+"A"}}}};E.exports=createMappingsSerializer},40223:(E,R,N)=>{"use strict";const $=N(96588);R.getSourceAndMap=(E,R)=>{let N="";let j="";let q=[];let G=[];let ie=[];const ae=$(R);const{source:le}=E.streamChunks(Object.assign({},R,{finalSource:true}),((E,R,$,q,G,ie,le)=>{if(E!==undefined)N+=E;j+=ae(R,$,q,G,ie,le)}),((E,R,N)=>{while(q.length{while(ie.length0?{version:3,file:"x",mappings:j,sources:q,sourcesContent:G.length>0?G:undefined,names:ie}:null}};R.getMap=(E,R)=>{let N="";let j=[];let q=[];let G=[];const ie=$(R);E.streamChunks(Object.assign({},R,{source:false,finalSource:true}),((E,R,$,j,q,G,ae)=>{N+=ie(R,$,j,q,G,ae)}),((E,R,N)=>{while(j.length{while(G.length0?{version:3,file:"x",mappings:N,sources:j,sourcesContent:q.length>0?q:undefined,names:G}:null}},73548:E=>{"use strict";const R="\n".charCodeAt(0);const getGeneratedSourceInfo=E=>{if(E===undefined){return{}}const N=E.lastIndexOf("\n");if(N===-1){return{generatedLine:1,generatedColumn:E.length,source:E}}let $=2;for(let j=0;j{"use strict";const getSource=(E,R)=>{if(R<0)return null;const{sourceRoot:N,sources:$}=E;const j=$[R];if(!N)return j;if(N.endsWith("/"))return N+j;return N+"/"+j};E.exports=getSource},68098:E=>{"use strict";const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const N=32;const $=64;const j=$|1;const q=$|2;const G=31;const ie=new Uint8Array("z".charCodeAt(0)+1);{ie.fill(q);for(let E=0;E{const q=new Uint32Array([0,0,1,0,0]);let le=0;let _e=0;let Ee=0;let we=1;let Me=-1;for(let Ie=0;Ieae)continue;const Ne=ie[Te];if((Ne&$)!==0){if(q[0]>Me){if(le===1){R(we,q[0],-1,-1,-1,-1)}else if(le===4){R(we,q[0],q[1],q[2],q[3],-1)}else if(le===5){R(we,q[0],q[1],q[2],q[3],q[4])}Me=q[0]}le=0;if(Ne===j){we++;q[0]=0;Me=-1}}else if((Ne&N)===0){_e|=Ne<>1):_e>>1;q[le++]+=E;Ee=0;_e=0}else{_e|=(Ne&G)<{const splitIntoLines=E=>{const R=[];const N=E.length;let $=0;for(;${const splitIntoPotentialTokens=E=>{const R=E.length;if(R===0)return null;const N=[];let $=0;for(;$=R)break e;N=E.charCodeAt($)}while(N===59||N===32||N===123||N===125||N===13||N===9){if(++$>=R)break e;N=E.charCodeAt($)}if(N===10){$++}}N.push(E.slice(j,$))}return N};E.exports=splitIntoPotentialTokens},53931:(E,R,N)=>{"use strict";const $=N(96588);const j=N(38589);const streamAndGetSourceAndMap=(E,R,N,q,G)=>{let ie="";let ae="";let le=[];let _e=[];let Ee=[];const we=$(Object.assign({},R,{columns:true}));const Me=!!(R&&R.finalSource);const{generatedLine:Ie,generatedColumn:Te,source:Ne}=j(E,R,((E,R,$,j,q,G,le)=>{if(E!==undefined)ie+=E;ae+=we(R,$,j,q,G,le);return N(Me?undefined:E,R,$,j,q,G,le)}),((E,R,N)=>{while(le.length{while(Ee.length0?{version:3,file:"x",mappings:ae,sources:le,sourcesContent:_e.length>0?_e:undefined,names:Ee}:null}};E.exports=streamAndGetSourceAndMap},38589:(E,R,N)=>{"use strict";const $=N(83088);const j=N(22938);E.exports=(E,R,N,q,G)=>{if(typeof E.streamChunks==="function"){return E.streamChunks(R,N,q,G)}else{const ie=E.sourceAndMap(R);if(ie.map){return j(ie.source,ie.map,N,q,G,!!(R&&R.finalSource),!!(R&&R.columns!==false))}else{return $(ie.source,N,q,G,!!(R&&R.finalSource))}}}},64507:(E,R,N)=>{"use strict";const $=N(22938);const j=N(23321);const streamChunksOfCombinedSourceMap=(E,R,N,q,G,ie,ae,le,_e,Ee,we)=>{let Me=new Map;let Ie=new Map;const Te=[];const Ne=[];const Be=[];let Le=-2;const je=[];const ze=[];const Ue=[];const qe=[];const Ge=[];const He=[];const We=[];const findInnerMapping=(E,R)=>{if(E>We.length)return-1;const{mappingsData:N}=We[E-1];let $=0;let j=N.length/5;while($>1;if(N[E*5]<=R){$=E+1}else{j=E}}if($===0)return-1;return $-1};return $(E,R,((R,$,G,Ee,we,Ve,Ke)=>{if(Ee===Le){const Le=findInnerMapping(we,Ve);if(Le!==-1){const{chunks:E,mappingsData:N}=We[we-1];const q=Le*5;const ie=N[q+1];const Ee=N[q+2];let Te=N[q+3];let Qe=N[q+4];if(ie>=0){const we=E[Le];const We=N[q];const Je=Ve-We;if(Je>0){let E=ie=0){Ye=Qe=0){let E=qe[ie];if(E===undefined){const R=Ue[ie];E=R?j(R):null;qe[ie]=E}if(E!==null){const R=Be[Ke];const N=Ee<=E.length?E[Ee-1].slice(Te,Te+R.length):"";if(R===N){Ye=Ke=Te.length?-1:Te[Ee];if(Qe<0){ae(R,$,G,-1,-1,-1,-1)}else{let E=-1;if(Ke>=0&&Ke{if(R===N){Le=E;if(q!==undefined)j=q;else q=j;Te[E]=-2;$(j,G,((E,R,N,$,j,q,G)=>{while(We.length{Ue[E]=N;qe[E]=undefined;je[E]=-2;ze[E]=[R,N]}),((E,R)=>{Ge[E]=-2;He[E]=R}),false,we)}else{let N=Me.get(R);if(N===undefined){Me.set(R,N=Me.size);le(N,R,j)}Te[E]=N}}),((E,R)=>{Ne[E]=-2;Be[E]=R}),Ee,we)};E.exports=streamChunksOfCombinedSourceMap},83088:(E,R,N)=>{"use strict";const $=N(73548);const j=N(23321);const streamChunksOfRawSource=(E,R,N,$)=>{let q=1;const G=j(E);let ie;for(ie of G){R(ie,q,0,-1,-1,-1,-1);q++}return G.length===0||ie.endsWith("\n")?{generatedLine:G.length+1,generatedColumn:0}:{generatedLine:G.length,generatedColumn:ie.length}};E.exports=(E,R,N,j,q)=>q?$(E):streamChunksOfRawSource(E,R,N,j)},22938:(E,R,N)=>{"use strict";const $=N(73548);const j=N(98056);const q=N(68098);const G=N(23321);const streamChunksOfSourceMapFull=(E,R,N,$,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:le,sourcesContent:_e,names:Ee,mappings:we}=R;for(let E=0;E{if(je&&Be<=ae.length){let $;const j=Be;const q=Le;const G=ae[Be-1];if(E!==Be){$=G.slice(Le);Be++;Le=0}else{$=G.slice(Le,R);Le=R}if($){N($,j,q,ze,Ue,qe,Ge)}je=false}if(E>Be&&Le>0){if(Be<=ae.length){const E=ae[Be-1].slice(Le);N(E,Be,Le,-1,-1,-1,-1)}Be++;Le=0}while(E>Be){if(Be<=ae.length){N(ae[Be-1],Be,0,-1,-1,-1,-1)}Be++}if(R>Le){if(Be<=ae.length){const E=ae[Be-1].slice(Le,R);N(E,Be,Le,-1,-1,-1,-1)}Le=R}if($>=0&&(E{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:le,sourcesContent:_e,mappings:Ee}=R;for(let E=0;E{if($<0||Eae.length){return}while(E>we){if(we<=ae.length){N(ae[we-1],we,0,-1,-1,-1,-1)}we++}if(E<=ae.length){N(ae[E-1],E,0,$,j,q,-1);we++}};q(Ee,onMapping);for(;we<=ae.length;we++){N(ae[we-1],we,0,-1,-1,-1,-1)}const Me=ae[ae.length-1];const Ie=Me.endsWith("\n");const Te=Ie?ae.length+1:ae.length;const Ne=Ie?0:Me.length;return{generatedLine:Te,generatedColumn:Ne}};const streamChunksOfSourceMapFinal=(E,R,N,G,ie)=>{const ae=$(E);const{generatedLine:le,generatedColumn:_e}=ae;if(le===1&&_e===0)return ae;const{sources:Ee,sourcesContent:we,names:Me,mappings:Ie}=R;for(let E=0;E{if(E>=le&&(R>=_e||E>le)){return}if($>=0){N(undefined,E,R,$,j,q,G);Te=E}else if(Te===E){N(undefined,E,R,-1,-1,-1,-1);Te=0}};q(Ie,onMapping);return ae};const streamChunksOfSourceMapLinesFinal=(E,R,N,G,ie)=>{const ae=$(E);const{generatedLine:le,generatedColumn:_e}=ae;if(le===1&&_e===0){return{generatedLine:1,generatedColumn:0}}const{sources:Ee,sourcesContent:we,mappings:Me}=R;for(let E=0;E{if($>=0&&Te<=E&&E<=Ie){N(undefined,E,0,$,j,q,-1);Te=E+1}};q(Me,onMapping);return ae};E.exports=(E,R,N,$,j,q,G)=>{if(G){return q?streamChunksOfSourceMapFinal(E,R,N,$,j):streamChunksOfSourceMapFull(E,R,N,$,j)}else{return q?streamChunksOfSourceMapLinesFinal(E,R,N,$,j):streamChunksOfSourceMapLinesFull(E,R,N,$,j)}}},2991:(E,R,N)=>{const defineExport=(E,N)=>{let $;Object.defineProperty(R,E,{get:()=>{if(N!==undefined){$=N();N=undefined}return $},configurable:true})};defineExport("Source",(()=>N(12112)));defineExport("RawSource",(()=>N(57902)));defineExport("OriginalSource",(()=>N(57579)));defineExport("SourceMapSource",(()=>N(84172)));defineExport("CachedSource",(()=>N(70417)));defineExport("ConcatSource",(()=>N(52388)));defineExport("ReplaceSource",(()=>N(1324)));defineExport("PrefixSource",(()=>N(69852)));defineExport("SizeOnlySource",(()=>N(63683)));defineExport("CompatSource",(()=>N(90469)))},32323:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const q=N(66298);const G=N(87250);const{toConstantDependency:ie,evaluateToString:ae}=N(48472);const le=N(64255);const _e=N(75948);const Ee={__webpack_require__:{expr:$.require,req:[$.require],type:"function",assign:false},__webpack_public_path__:{expr:$.publicPath,req:[$.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:$.baseURI,req:[$.baseURI],type:"string",assign:true},__webpack_modules__:{expr:$.moduleFactories,req:[$.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:$.ensureChunk,req:[$.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:$.scriptNonce,req:[$.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${$.getFullHash}()`,req:[$.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:$.chunkName,req:[$.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:$.getChunkScriptFilename,req:[$.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:$.runtimeId,req:[$.runtimeId],assign:false},"require.onError":{expr:$.uncaughtErrorHandler,req:[$.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:$.systemContext,req:[$.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:$.shareScopeMap,req:[$.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:$.initializeSharing,req:[$.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);E.hooks.runtimeRequirementInTree.for($.chunkName).tap("APIPlugin",(R=>{E.addRuntimeModule(R,new le(R.name));return true}));E.hooks.runtimeRequirementInTree.for($.getFullHash).tap("APIPlugin",((R,N)=>{E.addRuntimeModule(R,new _e);return true}));const handler=E=>{Object.keys(Ee).forEach((R=>{const N=Ee[R];E.hooks.expression.for(R).tap("APIPlugin",ie(E,N.expr,N.req));if(N.assign===false){E.hooks.assign.for(R).tap("APIPlugin",(E=>{const N=new j(`${R} must not be assigned`);N.loc=E.loc;throw N}))}if(N.type){E.hooks.evaluateTypeof.for(R).tap("APIPlugin",ae(N.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(R=>{const N=new q(JSON.stringify(E.state.module.layer),R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(R=>(E.state.module.layer===null?(new G).setNull():(new G).setString(E.state.module.layer)).setRange(R.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(R=>(new G).setString(E.state.module.layer===null?"object":"string").setRange(R.range)))};R.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);R.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,R,N)=>{"use strict";const $=N(81627);const j=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match(j);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends ${constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,R,N)=>{"use strict";const $=N(32448);const j=N(56202);class AsyncDependenciesBlock extends ${constructor(E,R,N){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=R;this.request=N;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){if(this.groupOptions.name!==E){this.groupOptions.name=E;this._stringifiedGroupOptions=undefined}}updateHash(E,R){const{chunkGraph:N}=R;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const $=N.getBlockChunkGroup(this);E.update(`${this._stringifiedGroupOptions}${$?$.id:""}`);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.groupOptions);R(this.loc);R(this.request);super.serialize(E)}deserialize(E){const{read:R}=E;this.groupOptions=R();this.loc=R();this.request=R();super.deserialize(E)}}j(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,R,N)=>{"use strict";const $=N(81627);class AsyncDependencyToInitialChunkError extends ${constructor(E,R,N){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=R;this.loc=N}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,R,N)=>{"use strict";const $=N(62355);const j=N(53520);const q=N(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R)}));let R=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{R=[];for(const N of E.modules){if(N instanceof j){R.push({context:N.context,request:N.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((N,j)=>{if(!R)return j();$.forEach(R,((R,$)=>{N.addModuleChain(R.context||E.context,new q(`!!${R.request}`),$)}),(E=>{R=null;j(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const j=N(3080);const q=N(70354);const G=N(58159);const ie=N(35817);const ae=ie(N(50879),(()=>N(87298)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return G.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}ae(E);this.options=E;const R=E.banner;if(typeof R==="function"){const E=R;this.banner=this.options.raw?E:R=>wrapComment(E(R))}else{const E=this.options.raw?R:wrapComment(R);this.banner=()=>E}}apply(E){const R=this.options;const N=this.banner;const G=q.matchObject.bind(undefined,R);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:j.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const j of E.chunks){if(R.entryOnly&&!j.canBeInitial()){continue}for(const R of j.files){if(!G(R)){continue}const q={chunk:j,filename:R};const ie=E.getPath(N,q);E.updateAsset(R,(E=>new $(ie,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,R,N)=>{"use strict";const{AsyncParallelHook:$,AsyncSeriesBailHook:j,SyncHook:q}=N(92960);const{makeWebpackError:G,makeWebpackErrorCallback:ie}=N(3728);const needCalls=(E,R)=>N=>{if(--E===0){return R(N)}if(N&&E>0){E=0;return R(N)}};class Cache{constructor(){this.hooks={get:new j(["identifier","etag","gotHandlers"]),store:new $(["identifier","etag","data"]),storeBuildDependencies:new $(["dependencies"]),beginIdle:new q([]),endIdle:new $([]),shutdown:new $([])}}get(E,R,N){const $=[];this.hooks.get.callAsync(E,R,$,((E,R)=>{if(E){N(G(E,"Cache.hooks.get"));return}if(R===null){R=undefined}if($.length>1){const E=needCalls($.length,(()=>N(null,R)));for(const N of $){N(R,E)}}else if($.length===1){$[0](R,(()=>N(null,R)))}else{N(null,R)}}))}store(E,R,N,$){this.hooks.store.callAsync(E,R,N,ie($,"Cache.hooks.store"))}storeBuildDependencies(E,R){this.hooks.storeBuildDependencies.callAsync(E,ie(R,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ie(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ie(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,R,N)=>{"use strict";const $=N(62355);const j=N(77034);const q=N(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=R=>{this._items[R].get(((N,$)=>{if(N)return E(N);if($!==undefined)return E(null,$);if(++R>=this._items.length)return E();next(R)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((R=>{if(R!==undefined)return R;if(++ER.store(E,N)),R)}storePromise(E){return Promise.all(this._items.map((R=>R.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,R,N){this._cache=E;this._name=R;this._etag=N}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,R)=>{this._cache.get(this._name,this._etag,((N,$)=>{if(N){R(N)}else{E($)}}))}))}store(E,R){this._cache.store(this._name,this._etag,E,R)}storePromise(E){return new Promise(((R,N)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){N(E)}else{R()}}))}))}provide(E,R){this.get(((N,$)=>{if(N)return R(N);if($!==undefined)return $;E(((E,N)=>{if(E)return R(E);this.store(N,(E=>{if(E)return R(E);R(null,N)}))}))}))}async providePromise(E){const R=await this.getPromise();if(R!==undefined)return R;const N=await E();await this.storePromise(N);return N}}class CacheFacade{constructor(E,R,N){this._cache=E;this._name=R;this._hashFunction=N}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`,this._hashFunction)}getItemCache(E,R){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,R)}getLazyHashedEtag(E){return j(E,this._hashFunction)}mergeEtags(E,R){return q(E,R)}get(E,R,N){this._cache.get(`${this._name}|${E}`,R,N)}getPromise(E,R){return new Promise(((N,$)=>{this._cache.get(`${this._name}|${E}`,R,((E,R)=>{if(E){$(E)}else{N(R)}}))}))}store(E,R,N,$){this._cache.store(`${this._name}|${E}`,R,N,$)}storePromise(E,R,N){return new Promise((($,j)=>{this._cache.store(`${this._name}|${E}`,R,N,(E=>{if(E){j(E)}else{$()}}))}))}provide(E,R,N,$){this.get(E,R,((j,q)=>{if(j)return $(j);if(q!==undefined)return q;N(((N,j)=>{if(N)return $(N);this.store(E,R,j,(E=>{if(E)return $(E);$(null,j)}))}))}))}async providePromise(E,R,N){const $=await this.getPromise(E,R);if($!==undefined)return $;const j=await N();await this.storePromise(E,R,j);return j}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,R,N)=>{"use strict";const $=N(81627);const sortModules=E=>E.sort(((E,R)=>{const N=E.identifier();const $=R.identifier();if(N<$)return-1;if(N>$)return 1;return 0}));const createModulesListMessage=(E,R)=>E.map((E=>{let N=`* ${E.identifier()}`;const $=Array.from(R.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if($.length>0){N+=`\n Used by ${$.length} module(s), i. e.`;N+=`\n ${$[0].identifier()}`}return N})).join("\n");class CaseSensitiveModulesWarning extends ${constructor(E,R){const N=sortModules(Array.from(E));const $=createModulesListMessage(N,R);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${$}`);this.name="CaseSensitiveModulesWarning";this.module=N[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,R,N)=>{"use strict";const $=N(45137);const j=N(71452);const{intersect:q}=N(26221);const G=N(16102);const ie=N(14146);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:le,compareModulesById:_e}=N(68673);const{createArrayToSetDeprecationSet:Ee}=N(16595);const{mergeRuntime:we}=N(37416);const Me=Ee("chunk.files");let Ie=1e3;class Chunk{constructor(E,R=true){this.id=null;this.ids=null;this.debugId=Ie++;this.name=E;this.idNameHints=new G;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new G(undefined,le);this.runtime=undefined;this.files=R?new Me:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from($.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return $.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const R=$.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(R.isModuleInChunk(E,this))return false;R.connectChunkAndModule(this,E);return true}removeModule(E){$.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return $.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=$.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,ae)}compareTo(E){const R=$.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return R.compareChunks(this,E)}containsModule(E){return $.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return $.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=$.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");N.disconnectChunkAndModule(this,E);N.connectChunkAndModule(R,E)}integrate(E){const R=$.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(R.canChunksBeIntegrated(this,E)){R.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const R=$.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return R.canChunksBeIntegrated(this,E)}isEmpty(){const E=$.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=$.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const R=$.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return R.getChunkSize(this,E)}integratedSize(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return N.getIntegratedChunksSize(this,E,R)}getChunkModuleMaps(E){const R=$.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const N=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){let q;for(const G of R.getOrderedChunkModulesIterable($,_e(R))){if(E(G)){if(q===undefined){q=[];N[$.id]=q}const E=R.getModuleId(G);q.push(E);j[E]=R.getRenderedModuleHash(G,undefined)}}}return{id:N,hash:j}}hasModuleInGraph(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return N.hasModuleInGraph(this,E,R)}getChunkMaps(E){const R=Object.create(null);const N=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){R[j.id]=E?j.hash:j.renderedHash;for(const E of Object.keys(j.contentHash)){if(!N[E]){N[E]=Object.create(null)}N[E][j.id]=j.contentHash[E]}if(j.name){$[j.id]=j.name}}return{hash:R,contentHash:N,name:$}}hasRuntime(){for(const E of this._groups){if(E instanceof j&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof j){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const R of this._groups){R.insertChunk(E,this);E.addGroup(R)}for(const R of this.idNameHints){E.idNameHints.add(R)}E.runtime=we(E.runtime,this.runtime)}updateHash(E,R){E.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const N=new ie;for(const E of R.getChunkModulesIterable(this)){N.add(R.getModuleHash(E,this.runtime))}N.updateHash(E);const $=R.getChunkEntryModulesWithChunkGroupIterable(this);for(const[N,j]of $){E.update(`entry${R.getModuleId(N)}${j.id}`)}}getAllAsyncChunks(){const E=new Set;const R=new Set;const N=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const $=new Set(this.groupsIterable);for(const R of $){for(const N of R.childrenIterable){if(N instanceof j){$.add(N)}else{E.add(N)}}}for(const $ of E){for(const E of $.chunks){if(!N.has(E)){R.add(E)}}for(const R of $.childrenIterable){E.add(R)}}return R}getAllInitialChunks(){const E=new Set;const R=new Set(this.groupsIterable);for(const N of R){if(N.isInitial()){for(const R of N.chunks)E.add(R);for(const E of N.childrenIterable)R.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const R=new Set;for(const N of E){for(const E of N.chunks){R.add(E)}for(const R of N.childrenIterable){E.add(R)}}return R}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const R=new Set;for(const N of E){for(const E of N.asyncEntrypointsIterable){R.add(E)}for(const R of N.childrenIterable){E.add(R)}}return R}hasAsyncChunks(){const E=new Set;const R=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const R of this.groupsIterable){for(const N of R.childrenIterable){E.add(N)}}for(const N of E){for(const E of N.chunks){if(!R.has(E)){return true}}for(const R of N.childrenIterable){E.add(R)}}return false}getChildIdsByOrders(E,R){const N=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const R of E.childrenIterable){for(const E of Object.keys(R.options)){if(E.endsWith("Order")){const $=E.substr(0,E.length-"Order".length);let j=N.get($);if(j===undefined){j=[];N.set($,j)}j.push({order:R.options[E],group:R})}}}}}const $=Object.create(null);for(const[j,q]of N){q.sort(((R,N)=>{const $=N.order-R.order;if($!==0)return $;return R.group.compareTo(E,N.group)}));const N=new Set;for(const $ of q){for(const j of $.group.chunks){if(R&&!R(j,E))continue;N.add(j.id)}}if(N.size>0){$[j]=Array.from(N)}}return $}getChildrenOfTypeInOrder(E,R){const N=[];for(const E of this.groupsIterable){for(const $ of E.childrenIterable){const j=$.options[R];if(j===undefined)continue;N.push({order:j,group:E,childGroup:$})}}if(N.length===0)return undefined;N.sort(((R,N)=>{const $=N.order-R.order;if($!==0)return $;return R.group.compareTo(E,N.group)}));const $=[];let j;for(const{group:E,childGroup:R}of N){if(j&&j.onChunks===E.chunks){for(const E of R.chunks){j.chunks.add(E)}}else{$.push(j={onChunks:E.chunks,chunks:new Set(R.chunks)})}}return $}getChildIdsByOrdersMap(E,R,N){const $=Object.create(null);const addChildIdsByOrdersToMap=R=>{const j=R.getChildIdsByOrders(E,N);for(const E of Object.keys(j)){let N=$[E];if(N===undefined){$[E]=N=Object.create(null)}N[R.id]=j[E]}};if(R){const E=new Set;for(const R of this.groupsIterable){for(const N of R.chunks){E.add(N)}}for(const R of E){addChildIdsByOrdersToMap(R)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return $}}E.exports=Chunk},45137:(E,R,N)=>{"use strict";const $=N(73837);const j=N(71452);const q=N(79900);const{first:G}=N(26221);const ie=N(16102);const{compareModulesById:ae,compareIterables:le,compareModulesByIdentifier:_e,concatComparators:Ee,compareSelect:we,compareIds:Me}=N(68673);const Ie=N(35891);const Te=N(62598);const{RuntimeSpecMap:Ne,RuntimeSpecSet:Be,runtimeToString:Le,mergeRuntime:je,forEachRuntime:ze}=N(37416);const Ue=new Set;const qe=BigInt(0);const Ge=le(_e);class ModuleHashInfo{constructor(E,R){this.hash=E;this.renderedHash=R}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const R=new Be;for(const N of E){R.add(N.runtime)}return R};const modulesBySourceType=E=>{const R=new Map;for(const N of E){for(const E of N.getSourceTypes()){let $=R.get(E);if($===undefined){$=new ie;R.set(E,$)}$.add(N)}}for(const[N,$]of R){if($.size===E.size){R.set(N,E)}}return R};const He=new WeakMap;const createOrderedArrayFunction=E=>{let R=He.get(E);if(R!==undefined)return R;R=R=>{R.sortWith(E);return Array.from(R)};He.set(E,R);return R};const getModulesSize=E=>{let R=0;for(const N of E){for(const E of N.getSourceTypes()){R+=N.size(E)}}return R};const getModulesSizes=E=>{let R=Object.create(null);for(const N of E){for(const E of N.getSourceTypes()){R[E]=(R[E]||0)+N.size(E)}}return R};const isAvailableChunk=(E,R)=>{const N=new Set(R.groupsIterable);for(const R of N){if(E.isInGroup(R))continue;if(R.isInitial())return false;for(const E of R.parentsIterable){N.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ie;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ie;this.entryModules=new Map;this.runtimeModules=new ie;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E,R="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._hashFunction=R;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(E){let R=this._modules.get(E);if(R===undefined){R=new ChunkGraphModule;this._modules.set(E,R)}return R}_getChunkGraphChunk(E){let R=this._chunks.get(E);if(R===undefined){R=new ChunkGraphChunk;this._chunks.set(E,R)}return R}_getGraphRoots(E){const{moduleGraph:R}=this;return Array.from(Te(E,(E=>{const N=new Set;const addDependencies=E=>{for(const $ of R.getOutgoingConnections(E)){if(!$.module)continue;const E=$.getActiveState(undefined);if(E===false)continue;if(E===q.TRANSITIVE_ONLY){addDependencies($.module);continue}N.add($.module)}};addDependencies(E);return N}))).sort(_e)}connectChunkAndModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.chunks.add(E);$.modules.add(R)}disconnectChunkAndModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);$.modules.delete(R);N.chunks.delete(E)}disconnectChunk(E){const R=this._getChunkGraphChunk(E);for(const N of R.modules){const R=this._getChunkGraphModule(N);R.chunks.delete(E)}R.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,R){const N=this._getChunkGraphChunk(E);for(const E of R){N.modules.add(E)}}attachRuntimeModules(E,R){const N=this._getChunkGraphChunk(E);for(const E of R){N.runtimeModules.add(E)}}attachFullHashModules(E,R){const N=this._getChunkGraphChunk(E);if(N.fullHashModules===undefined)N.fullHashModules=new Set;for(const E of R){N.fullHashModules.add(E)}}attachDependentHashModules(E,R){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)N.dependentHashModules=new Set;for(const E of R){N.dependentHashModules.add(E)}}replaceModule(E,R){const N=this._getChunkGraphModule(E);const $=this._getChunkGraphModule(R);for(const j of N.chunks){const N=this._getChunkGraphChunk(j);N.modules.delete(E);N.modules.add(R);$.chunks.add(j)}N.chunks.clear();if(N.entryInChunks!==undefined){if($.entryInChunks===undefined){$.entryInChunks=new Set}for(const j of N.entryInChunks){const N=this._getChunkGraphChunk(j);const q=N.entryModules.get(E);const G=new Map;for(const[$,j]of N.entryModules){if($===E){G.set(R,q)}else{G.set($,j)}}N.entryModules=G;$.entryInChunks.add(j)}N.entryInChunks=undefined}if(N.runtimeInChunks!==undefined){if($.runtimeInChunks===undefined){$.runtimeInChunks=new Set}for(const j of N.runtimeInChunks){const N=this._getChunkGraphChunk(j);N.runtimeModules.delete(E);N.runtimeModules.add(R);$.runtimeInChunks.add(j);if(N.fullHashModules!==undefined&&N.fullHashModules.has(E)){N.fullHashModules.delete(E);N.fullHashModules.add(R)}if(N.dependentHashModules!==undefined&&N.dependentHashModules.has(E)){N.dependentHashModules.delete(E);N.dependentHashModules.add(R)}}N.runtimeInChunks=undefined}}isModuleInChunk(E,R){const N=this._getChunkGraphChunk(R);return N.modules.has(E)}isModuleInChunkGroup(E,R){for(const N of R.chunks){if(this.isModuleInChunk(E,N))return true}return false}isEntryModule(E){const R=this._getChunkGraphModule(E);return R.entryInChunks!==undefined}getModuleChunksIterable(E){const R=this._getChunkGraphModule(E);return R.chunks}getOrderedModuleChunksIterable(E,R){const N=this._getChunkGraphModule(E);N.chunks.sortWith(R);return N.chunks}getModuleChunks(E){const R=this._getChunkGraphModule(E);return R.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const R=this._getChunkGraphModule(E);return R.chunks.size}getModuleRuntimes(E){const R=this._getChunkGraphModule(E);return R.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const R=this._getChunkGraphChunk(E);return R.modules.size}getNumberOfChunkFullHashModules(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules===undefined?0:R.fullHashModules.size}getChunkModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.modules}getChunkModulesIterableBySourceType(E,R){const N=this._getChunkGraphChunk(E);const $=N.modules.getFromUnorderedCache(modulesBySourceType).get(R);return $}getOrderedChunkModulesIterable(E,R){const N=this._getChunkGraphChunk(E);N.modules.sortWith(R);return N.modules}getOrderedChunkModulesIterableBySourceType(E,R,N){const $=this._getChunkGraphChunk(E);const j=$.modules.getFromUnorderedCache(modulesBySourceType).get(R);if(j===undefined)return undefined;j.sortWith(N);return j}getChunkModules(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,R){const N=this._getChunkGraphChunk(E);const $=createOrderedArrayFunction(R);return N.modules.getFromUnorderedCache($)}getChunkModuleIdMap(E,R,N=false){const $=Object.create(null);for(const j of N?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const N of this.getOrderedChunkModulesIterable(j,ae(this))){if(R(N)){if(E===undefined){E=[];$[j.id]=E}const R=this.getModuleId(N);E.push(R)}}}return $}getChunkModuleRenderedHashMap(E,R,N=0,$=false){const j=Object.create(null);for(const q of $?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const $ of this.getOrderedChunkModulesIterable(q,ae(this))){if(R($)){if(E===undefined){E=Object.create(null);j[q.id]=E}const R=this.getModuleId($);const G=this.getRenderedModuleHash($,q.runtime);E[R]=N?G.slice(0,N):G}}}return j}getChunkConditionMap(E,R){const N=Object.create(null);for(const $ of E.getAllReferencedChunks()){N[$.id]=R($,this)}return N}hasModuleInGraph(E,R,N){const $=new Set(E.groupsIterable);const j=new Set;for(const E of $){for(const $ of E.chunks){if(!j.has($)){j.add($);if(!N||N($,this)){for(const E of this.getChunkModulesIterable($)){if(R(E)){return true}}}}}for(const R of E.childrenIterable){$.add(R)}}return false}compareChunks(E,R){const N=this._getChunkGraphChunk(E);const $=this._getChunkGraphChunk(R);if(N.modules.size>$.modules.size)return-1;if(N.modules.size<$.modules.size)return 1;N.modules.sortWith(_e);$.modules.sortWith(_e);return Ge(N.modules,$.modules)}getChunkModulesSize(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getModulesSize)}getChunkModulesSizes(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getModulesSizes)}getChunkRootModules(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(this._getGraphRoots)}getChunkSize(E,R={}){const N=this._getChunkGraphChunk(E);const $=N.modules.getFromUnorderedCache(getModulesSize);const j=typeof R.chunkOverhead==="number"?R.chunkOverhead:1e4;const q=typeof R.entryChunkMultiplicator==="number"?R.entryChunkMultiplicator:10;return j+$*(E.canBeInitial()?q:1)}getIntegratedChunksSize(E,R,N={}){const $=this._getChunkGraphChunk(E);const j=this._getChunkGraphChunk(R);const q=new Set($.modules);for(const E of j.modules)q.add(E);let G=getModulesSize(q);const ie=typeof N.chunkOverhead==="number"?N.chunkOverhead:1e4;const ae=typeof N.entryChunkMultiplicator==="number"?N.entryChunkMultiplicator:10;return ie+G*(E.canBeInitial()||R.canBeInitial()?ae:1)}canChunksBeIntegrated(E,R){if(E.preventIntegration||R.preventIntegration){return false}const N=E.hasRuntime();const $=R.hasRuntime();if(N!==$){if(N){return isAvailableChunk(E,R)}else if($){return isAvailableChunk(R,E)}else{return false}}if(this.getNumberOfEntryModules(E)>0||this.getNumberOfEntryModules(R)>0){return false}return true}integrateChunks(E,R){if(E.name&&R.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(R)>0){if(E.name.length!==R.name.length){E.name=E.name.length0){E.name=R.name}}else if(R.name){E.name=R.name}for(const N of R.idNameHints){E.idNameHints.add(N)}E.runtime=je(E.runtime,R.runtime);for(const N of this.getChunkModules(R)){this.disconnectChunkAndModule(R,N);this.connectChunkAndModule(E,N)}for(const[N,$]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(R))){this.disconnectChunkAndEntryModule(R,N);this.connectChunkAndEntryModule(E,N,$)}for(const N of R.groupsIterable){N.replaceChunk(R,E);E.addGroup(N);R.removeGroup(N)}ChunkGraph.clearChunkGraphForChunk(R)}upgradeDependentToFullHashModules(E){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)return;if(R.fullHashModules===undefined){R.fullHashModules=R.dependentHashModules}else{for(const E of R.dependentHashModules){R.fullHashModules.add(E)}R.dependentHashModules=undefined}}isEntryModuleInChunk(E,R){const N=this._getChunkGraphChunk(R);return N.entryModules.has(E)}connectChunkAndEntryModule(E,R,N){const $=this._getChunkGraphModule(R);const j=this._getChunkGraphChunk(E);if($.entryInChunks===undefined){$.entryInChunks=new Set}$.entryInChunks.add(E);j.entryModules.set(R,N)}connectChunkAndRuntimeModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);if(N.runtimeInChunks===undefined){N.runtimeInChunks=new Set}N.runtimeInChunks.add(E);$.runtimeModules.add(R)}addFullHashModuleToChunk(E,R){const N=this._getChunkGraphChunk(E);if(N.fullHashModules===undefined)N.fullHashModules=new Set;N.fullHashModules.add(R)}addDependentHashModuleToChunk(E,R){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)N.dependentHashModules=new Set;N.dependentHashModules.add(R)}disconnectChunkAndEntryModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.entryInChunks.delete(E);if(N.entryInChunks.size===0){N.entryInChunks=undefined}$.entryModules.delete(R)}disconnectChunkAndRuntimeModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.runtimeInChunks.delete(E);if(N.runtimeInChunks.size===0){N.runtimeInChunks=undefined}$.runtimeModules.delete(R)}disconnectEntryModule(E){const R=this._getChunkGraphModule(E);for(const N of R.entryInChunks){const R=this._getChunkGraphChunk(N);R.entryModules.delete(E)}R.entryInChunks=undefined}disconnectEntries(E){const R=this._getChunkGraphChunk(E);for(const N of R.entryModules.keys()){const R=this._getChunkGraphModule(N);R.entryInChunks.delete(E);if(R.entryInChunks.size===0){R.entryInChunks=undefined}}R.entryModules.clear()}getNumberOfEntryModules(E){const R=this._getChunkGraphChunk(E);return R.entryModules.size}getNumberOfRuntimeModules(E){const R=this._getChunkGraphChunk(E);return R.runtimeModules.size}getChunkEntryModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const R=new Set;for(const N of E.groupsIterable){if(N instanceof j){const $=N.getEntrypointChunk();const j=this._getChunkGraphChunk($);for(const N of j.entryModules.values()){for(const j of N.chunks){if(j!==E&&j!==$&&!j.hasRuntime()){R.add(j)}}}}}return R}hasChunkEntryDependentChunks(E){const R=this._getChunkGraphChunk(E);for(const N of R.entryModules.values()){for(const R of N.chunks){if(R!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.runtimeModules}getChunkRuntimeModulesInOrder(E){const R=this._getChunkGraphChunk(E);const N=Array.from(R.runtimeModules);N.sort(Ee(we((E=>E.stage),Me),_e));return N}getChunkFullHashModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules}getChunkFullHashModulesSet(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules}getChunkDependentHashModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const R=this._getChunkGraphChunk(E);return R.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,R){this._blockChunkGroups.set(E,R);R.addBlock(E)}disconnectChunkGroup(E){for(const R of E.blocksIterable){this._blockChunkGroups.delete(R)}E._blocks.clear()}getModuleId(E){const R=this._getChunkGraphModule(E);return R.id}setModuleId(E,R){const N=this._getChunkGraphModule(E);N.id=R}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,R){this._runtimeIds.set(E,R)}_getModuleHashInfo(E,R,N){if(!R){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(N)} (hashes not set at all)`)}else if(N===undefined){const N=new Set(R.values());if(N.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>Le(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return G(N)}else{const $=R.get(N);if(!$){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(N)} (available runtimes ${Array.from(R.keys(),Le).join(", ")})`)}return $}}hasModuleHashes(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return $&&$.has(R)}getModuleHash(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return this._getModuleHashInfo(E,$,R).hash}getRenderedModuleHash(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return this._getModuleHashInfo(E,$,R).renderedHash}setModuleHashes(E,R,N,$){const j=this._getChunkGraphModule(E);if(j.hashes===undefined){j.hashes=new Ne}j.hashes.set(R,new ModuleHashInfo(N,$))}addModuleRuntimeRequirements(E,R,N,$=true){const j=this._getChunkGraphModule(E);const q=j.runtimeRequirements;if(q===undefined){const E=new Ne;E.set(R,$?N:new Set(N));j.runtimeRequirements=E;return}q.update(R,(E=>{if(E===undefined){return $?N:new Set(N)}else if(!$||E.size>=N.size){for(const R of N)E.add(R);return E}else{for(const R of E)N.add(R);return N}}))}addChunkRuntimeRequirements(E,R){const N=this._getChunkGraphChunk(E);const $=N.runtimeRequirements;if($===undefined){N.runtimeRequirements=R}else if($.size>=R.size){for(const E of R)$.add(E)}else{for(const E of $)R.add(E);N.runtimeRequirements=R}}addTreeRuntimeRequirements(E,R){const N=this._getChunkGraphChunk(E);const $=N.runtimeRequirementsInTree;for(const E of R)$.add(E)}getModuleRuntimeRequirements(E,R){const N=this._getChunkGraphModule(E);const $=N.runtimeRequirements&&N.runtimeRequirements.get(R);return $===undefined?Ue:$}getChunkRuntimeRequirements(E){const R=this._getChunkGraphChunk(E);const N=R.runtimeRequirements;return N===undefined?Ue:N}getModuleGraphHash(E,R,N=true){const $=this._getChunkGraphModule(E);return N?this._getModuleGraphHashWithConnections($,E,R):this._getModuleGraphHashBigInt($,E,R).toString(16)}getModuleGraphHashBigInt(E,R,N=true){const $=this._getChunkGraphModule(E);return N?BigInt(`0x${this._getModuleGraphHashWithConnections($,E,R)}`):this._getModuleGraphHashBigInt($,E,R)}_getModuleGraphHashBigInt(E,R,N){if(E.graphHashes===undefined){E.graphHashes=new Ne}const $=E.graphHashes.provide(N,(()=>{const $=Ie(this._hashFunction);$.update(`${E.id}${this.moduleGraph.isAsync(R)}`);this.moduleGraph.getExportsInfo(R).updateHash($,N);return BigInt(`0x${$.digest("hex")}`)}));return $}_getModuleGraphHashWithConnections(E,R,N){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Ne}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===q.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const $=R.buildMeta&&R.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(N,(()=>{const j=this._getModuleGraphHashBigInt(E,R,N).toString(16);const q=this.moduleGraph.getOutgoingConnections(R);const ie=new Set;const ae=new Map;const processConnection=(E,R)=>{const N=E.module;R+=N.getExportsType(this.moduleGraph,$);if(R==="Tnamespace")ie.add(N);else{const E=ae.get(R);if(E===undefined){ae.set(R,N)}else if(E instanceof Set){E.add(N)}else if(E!==N){ae.set(R,new Set([E,N]))}}};if(N===undefined||typeof N==="string"){for(const E of q){const R=E.getActiveState(N);if(R===false)continue;processConnection(E,R===true?"T":"O")}}else{for(const E of q){const R=new Set;let $="";ze(N,(N=>{const j=E.getActiveState(N);R.add(j);$+=activeStateToString(j)+N}),true);if(R.size===1){const E=G(R);if(E===false)continue;$=activeStateToString(E)}processConnection(E,$)}}if(ie.size===0&&ae.size===0)return j;const le=ae.size>1?Array.from(ae).sort((([E],[R])=>E{_e.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,N).toString(16))};const addModulesToHash=E=>{let R=qe;for(const $ of E){R=R^this._getModuleGraphHashBigInt(this._getChunkGraphModule($),$,N)}_e.update(R.toString(16))};if(ie.size===1)addModuleToHash(ie.values().next().value);else if(ie.size>1)addModulesToHash(ie);for(const[E,R]of le){_e.update(E);if(R instanceof Set){addModulesToHash(R)}else{addModuleToHash(R)}}_e.update(j);return _e.digest("hex")}))}getTreeRuntimeRequirements(E){const R=this._getChunkGraphChunk(E);return R.runtimeRequirementsInTree}static getChunkGraphForModule(E,R,N){const j=Ke.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=We.get(E);if(!N)throw new Error(R+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return N}),R+": Use new ChunkGraph API",N);Ke.set(R,q);return q(E)}static setChunkGraphForModule(E,R){We.set(E,R)}static clearChunkGraphForModule(E){We.delete(E)}static getChunkGraphForChunk(E,R,N){const j=Qe.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=Ve.get(E);if(!N)throw new Error(R+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return N}),R+": Use new ChunkGraph API",N);Qe.set(R,q);return q(E)}static setChunkGraphForChunk(E,R){Ve.set(E,R)}static clearChunkGraphForChunk(E){Ve.delete(E)}}const We=new WeakMap;const Ve=new WeakMap;const Ke=new Map;const Qe=new Map;E.exports=ChunkGraph},84558:(E,R,N)=>{"use strict";const $=N(73837);const j=N(16102);const{compareLocations:q,compareChunks:G,compareIterables:ie}=N(68673);let ae=5e3;const getArray=E=>Array.from(E);const sortById=(E,R)=>{if(E.id{const N=E.module?E.module.identifier():"";const $=R.module?R.module.identifier():"";if(N<$)return-1;if(N>$)return 1;return q(E.loc,R.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=ae++;this.options=E;this._children=new j(undefined,sortById);this._parents=new j(undefined,sortById);this._asyncEntrypoints=new j(undefined,sortById);this._blocks=new j;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const R of Object.keys(E)){if(this.options[R]===undefined){this.options[R]=E[R]}else if(this.options[R]!==E[R]){if(R.endsWith("Order")){this.options[R]=Math.max(this.options[R],E[R])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${R}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const R=this.chunks.indexOf(E);if(R>0){this.chunks.splice(R,1);this.chunks.unshift(E)}else if(R<0){this.chunks.unshift(E);return true}return false}insertChunk(E,R){const N=this.chunks.indexOf(E);const $=this.chunks.indexOf(R);if($<0){throw new Error("before chunk not found")}if(N>=0&&N>$){this.chunks.splice(N,1);this.chunks.splice($,0,E)}else if(N<0){this.chunks.splice($,0,E);return true}return false}pushChunk(E){const R=this.chunks.indexOf(E);if(R>=0){return false}this.chunks.push(E);return true}replaceChunk(E,R){const N=this.chunks.indexOf(E);if(N<0)return false;const $=this.chunks.indexOf(R);if($<0){this.chunks[N]=R;return true}if($=0){this.chunks.splice(R,1);return true}return false}isInitial(){return false}addChild(E){const R=this._children.size;this._children.add(E);return R!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const R=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return R!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,R,N){this.origins.push({module:E,loc:R,request:N})}getFiles(){const E=new Set;for(const R of this.chunks){for(const N of R.files){E.add(N)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const R of this._children){R.addParent(E);E.addChild(R)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,R){if(this.chunks.length>R.chunks.length)return-1;if(this.chunks.length{const $=N.order-E.order;if($!==0)return $;return E.group.compareTo(R,N.group)}));$[E]=j.map((E=>E.group))}return $}setModulePreOrderIndex(E,R){this._modulePreOrderIndices.set(E,R)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,R){this._modulePostOrderIndices.set(E,R)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const R of E._children){if(!R._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${R.debugId}`)}}for(const R of E._parents){if(!R._children.has(E)){throw new Error(`checkConstraints: parent missing child ${R.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=$.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=$.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,R,N)=>{"use strict";const $=N(81627);class ChunkRenderError extends ${constructor(E,R,N){super();this.name="ChunkRenderError";this.error=N;this.message=N.message;this.details=N.stack;this.file=R;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,R,N)=>{"use strict";const $=N(73837);const j=N(91671);const q=j((()=>N(18161)));class ChunkTemplate{constructor(E,R){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((E,N)=>{R.hooks.renderManifest.tap(E,((E,R)=>{if(R.chunk.hasRuntime())return E;return N(E,R)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderChunk.tap(E,((E,$)=>N(E,R.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderChunk.tap(E,((E,$)=>N(E,R.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).render.tap(E,((E,R)=>{if(R.chunkGraph.getNumberOfEntryModules(R.chunk)===0||R.chunk.hasRuntime()){return E}return N(E,R.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:$.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).chunkHash.tap(E,((E,R,$)=>{if(E.hasRuntime())return;N(R,E,$)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,R,N)=>{"use strict";const $=N(62355);const{SyncBailHook:j}=N(92960);const q=N(3080);const G=N(35817);const{join:ie}=N(95396);const ae=N(2117);const le=G(undefined,(()=>{const{definitions:E}=N(46312);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,R,N,j)=>{const q=new Set;for(const E of N){q.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of q){q.add(E.replace(/(^|\/)[^/]*$/,""))}const G=new Set;$.forEachLimit(q,10,(($,j)=>{E.readdir(ie(E,R,$),((E,R)=>{if(E){if(E.code==="ENOENT")return j();if(E.code==="ENOTDIR"){G.add($);return j()}return j(E)}for(const E of R){const R=E;const j=$?`${$}/${R}`:R;if(!q.has(j)&&!N.has(j)){G.add(j)}}j()}))}),(E=>{if(E)return j(E);j(null,G)}))};const getDiffToOldAssets=(E,R)=>{const N=new Set;for(const $ of R){if(!E.has($))N.add($)}return N};const applyDiff=(E,R,N,$,j,q,G)=>{const log=E=>{if(N){$.info(E)}else{$.log(E)}};const le=Array.from(j,(E=>({type:"check",filename:E,parent:undefined})));ae(le,10,(({type:j,filename:G,parent:ae},le,_e)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${G} was removed during cleaning by something else`);handleParent();return _e()}return _e(E)};const handleParent=()=>{if(ae&&--ae.remaining===0)le(ae.job)};const Ee=ie(E,R,G);switch(j){case"check":if(q(G)){log(`${G} will be kept`);return process.nextTick(_e)}E.stat(Ee,((R,N)=>{if(R)return handleError(R);if(!N.isDirectory()){le({type:"unlink",filename:G,parent:ae});return _e()}E.readdir(Ee,((E,R)=>{if(E)return handleError(E);const N={type:"rmdir",filename:G,parent:ae};if(R.length===0){le(N)}else{const E={remaining:R.length,job:N};for(const N of R){const R=N;if(R.startsWith(".")){log(`${G} will be kept (dot-files will never be removed)`);continue}le({type:"check",filename:`${G}/${R}`,parent:E})}}return _e()}))}));break;case"rmdir":log(`${G} will be removed`);if(N){handleParent();return process.nextTick(_e)}if(!E.rmdir){$.warn(`${G} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(_e)}E.rmdir(Ee,(E=>{if(E)return handleError(E);handleParent();_e()}));break;case"unlink":log(`${G} will be removed`);if(N){handleParent();return process.nextTick(_e)}if(!E.unlink){$.warn(`${G} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(_e)}E.unlink(Ee,(E=>{if(E)return handleError(E);handleParent();_e()}));break}}),G)};const _e=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=_e.get(E);if(R===undefined){R={keep:new j(["ignore"])};_e.set(E,R)}return R}constructor(E={}){le(E);this.options={dry:false,...E}}apply(E){const{dry:R,keep:N}=this.options;const $=typeof N==="function"?N:typeof N==="string"?E=>E.startsWith(N):typeof N==="object"&&N.test?E=>N.test(E):()=>false;let j;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((N,q)=>{const G=CleanPlugin.getCompilationHooks(N);const ie=N.getLogger("webpack.CleanPlugin");const ae=E.outputFileSystem;if(!ae.readdir){return q(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const le=new Set;for(const E of Object.keys(N.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let R;let N=E.replace(/\\/g,"/");do{R=N;N=R.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(N!==R);if(R.startsWith("../"))continue;le.add(R)}const _e=N.getPath(E.outputPath,{});const isKept=E=>{const R=G.keep.call(E);if(R!==undefined)return R;return $(E)};const diffCallback=(E,N)=>{if(E){j=undefined;return q(E)}applyDiff(ae,_e,R,ie,N,isKept,(E=>{if(E){j=undefined}else{j=le}q(E)}))};if(j){diffCallback(null,getDiffToOldAssets(le,j))}else{getDiffToFs(ae,_e,le,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,R,N)=>{"use strict";const $=N(81627);class CodeGenerationError extends ${constructor(E,R){super();this.name="CodeGenerationError";this.error=R;this.message=R.message;this.details=R.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,R,N)=>{"use strict";const{provide:$}=N(67585);const{first:j}=N(26221);const q=N(35891);const{runtimeToString:G,RuntimeSpecMap:ie}=N(37416);class CodeGenerationResults{constructor(E="md4"){this.map=new Map;this._hashFunction=E}get(E,R){const N=this.map.get(E);if(N===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(R===undefined){if(N.size>1){const R=new Set(N.values());if(R.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>G(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return j(R)}return N.values().next().value}const $=N.get(R);if($===undefined){throw new Error(`No code generation entry for runtime ${G(R)} for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>G(E))).join(", ")})`)}return $}has(E,R){const N=this.map.get(E);if(N===undefined){return false}if(R!==undefined){return N.has(R)}else if(N.size>1){const E=new Set(N.values());return E.size===1}else{return N.size===1}}getSource(E,R,N){return this.get(E,R).sources.get(N)}getRuntimeRequirements(E,R){return this.get(E,R).runtimeRequirements}getData(E,R,N){const $=this.get(E,R).data;return $===undefined?undefined:$.get(N)}getHash(E,R){const N=this.get(E,R);if(N.hash!==undefined)return N.hash;const $=q(this._hashFunction);for(const[E,R]of N.sources){$.update(E);R.updateHash($)}if(N.runtimeRequirements){for(const E of N.runtimeRequirements)$.update(E)}return N.hash=$.digest("hex")}add(E,R,N){const j=$(this.map,E,(()=>new ie));j.set(R,N)}}E.exports=CodeGenerationResults},47207:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class CommentCompilationWarning extends ${constructor(E,R){super(E);this.name="CommentCompilationWarning";this.loc=R}}j(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,R,N)=>{"use strict";const $=N(66298);const j=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set($,new $.Template);R.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,R)=>{if(R.browserify!==undefined&&!R.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(R=>{if(R.arguments.length!==2)return;const N=E.evaluateExpression(R.arguments[1]);if(!N.isBoolean())return;if(N.asBool()!==true)return;const j=new $("require",R.callee.range);j.loc=R.loc;if(E.state.current.dependencies.length>0){const R=E.state.current.dependencies[E.state.current.dependencies.length-1];if(R.critical&&R.options&&R.options.request==="."&&R.userRequest==="."&&R.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency(j);return true}))}));const handler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(R=>{if(R.type==="FunctionDeclaration"&&R.id&&R.id.name==="__webpack_require__"){const N=`__nested_webpack_require_${R.range[0]}__`;E.tagVariable(R.id.name,j,{name:N,declaration:{updated:false,loc:R.id.loc,range:R.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(R=>{const N=`__nested_webpack_require_${R.range[0]}__`;E.tagVariable(R.name,j,{name:N,declaration:{updated:false,loc:R.loc,range:R.range}});return true}));E.hooks.expression.for(j).tap("CompatibilityPlugin",(R=>{const{name:N,declaration:j}=E.currentTagData;if(!j.updated){const R=new $(N,j.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R);j.updated=true}const q=new $(N,R.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}));E.hooks.program.tap("CompatibilityPlugin",((R,N)=>{if(N.length===0)return;const j=N[0];if(j.type==="Line"&&j.range[0]===0){if(E.state.source.slice(0,2).toString()!=="#!")return;const R=new $("//",0);R.loc=j.loc;E.state.module.addPresentationalDependency(R)}}))};R.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);R.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}E.exports=CompatibilityPlugin},3080:(E,R,N)=>{"use strict";const $=N(62355);const{HookMap:j,SyncHook:q,SyncBailHook:G,SyncWaterfallHook:ie,AsyncSeriesHook:ae,AsyncSeriesBailHook:le,AsyncParallelHook:_e}=N(92960);const Ee=N(73837);const{CachedSource:we}=N(2991);const{MultiItemCache:Me}=N(6503);const Ie=N(62433);const Te=N(45137);const Ne=N(84558);const Be=N(44445);const Le=N(13454);const je=N(93010);const ze=N(53840);const Ue=N(28706);const qe=N(46828);const Ge=N(71452);const He=N(50717);const We=N(22996);const{connectChunkGroupAndChunk:Ve,connectChunkGroupParentAndChild:Ke}=N(4642);const{makeWebpackError:Qe,tryRunOrWebpackError:Je}=N(3728);const Xe=N(73694);const Ye=N(53453);const Ze=N(82811);const et=N(23280);const tt=N(75412);const nt=N(54032);const rt=N(99869);const st=N(2210);const it=N(31467);const ot=N(68661);const lt=N(76150);const ct=N(37130);const ut=N(10140);const pt=N(81627);const dt=N(25457);const ft=N(44547);const{Logger:ht,LogType:mt}=N(78539);const gt=N(87279);const yt=N(30533);const{equals:vt}=N(73910);const bt=N(9738);const _t=N(83379);const{provide:kt}=N(67585);const xt=N(4396);const{cachedCleverMerge:Et}=N(90149);const{compareLocations:wt,concatComparators:St,compareSelect:At,compareIds:Ct,compareStringsNumeric:Dt,compareModulesByIdentifier:Mt}=N(68673);const It=N(35891);const{arrayToSetDeprecation:Pt,soonFrozenObjectDeprecation:Ot,createFakeHook:Tt}=N(16595);const Rt=N(2117);const{getRuntimeKey:Ft}=N(37416);const{isSourceEqual:Nt}=N(13559);const Bt=Object.freeze({});const Lt="esm";const $t=Ee.deprecate((E=>N(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const jt=At((E=>E.id),Ct);const zt=St(At((E=>E.name),Ct),At((E=>E.fullHash),Ct));const Ut=At((E=>`${E.message}`),Dt);const qt=At((E=>E.module&&E.module.identifier()||""),Dt);const Gt=At((E=>E.loc),wt);const Ht=St(qt,Gt,Ut);const Wt=new WeakMap;const Vt=new WeakMap;class Compilation{constructor(E,R){this._backCompat=E._backCompat;const getNormalModuleLoader=()=>$t(this);const N=new ae(["assets"]);let $=new Set;const popNewAssets=E=>{let R=undefined;for(const N of Object.keys(E)){if($.has(N))continue;if(R===undefined){R=Object.create(null)}R[N]=E[N];$.add(N)}return R};N.intercept({name:"Compilation",call:()=>{$=new Set(Object.keys(this.assets))},register:E=>{const{type:R,name:N}=E;const{fn:$,additionalAssets:j,...q}=E;const G=j===true?$:j;const ie=G?new WeakSet:undefined;switch(R){case"sync":if(G){this.hooks.processAdditionalAssets.tap(N,(E=>{if(ie.has(this.assets))G(E)}))}return{...q,type:"async",fn:(E,R)=>{try{$(E)}catch(E){return R(E)}if(ie!==undefined)ie.add(this.assets);const N=popNewAssets(E);if(N!==undefined){this.hooks.processAdditionalAssets.callAsync(N,R);return}R()}};case"async":if(G){this.hooks.processAdditionalAssets.tapAsync(N,((E,R)=>{if(ie.has(this.assets))return G(E,R);R()}))}return{...q,fn:(E,R)=>{$(E,(N=>{if(N)return R(N);if(ie!==undefined)ie.add(this.assets);const $=popNewAssets(E);if($!==undefined){this.hooks.processAdditionalAssets.callAsync($,R);return}R()}))}};case"promise":if(G){this.hooks.processAdditionalAssets.tapPromise(N,(E=>{if(ie.has(this.assets))return G(E);return Promise.resolve()}))}return{...q,fn:E=>{const R=$(E);if(!R||!R.then)return R;return R.then((()=>{if(ie!==undefined)ie.add(this.assets);const R=popNewAssets(E);if(R!==undefined){return this.hooks.processAdditionalAssets.promise(R)}}))}}}}});const we=new q(["assets"]);const createProcessAssetsHook=(E,R,$,j)=>{if(!this._backCompat&&j)return undefined;const errorMessage=R=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${R}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:R}};return Tt({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,R)=>{N.tap(getOptions(E),(()=>R(...$())))},tapAsync:(E,R)=>{N.tapAsync(getOptions(E),((E,N)=>R(...$(),N)))},tapPromise:(E,R)=>{N.tapPromise(getOptions(E),(()=>R(...$())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,j)};this.hooks=Object.freeze({buildModule:new q(["module"]),rebuildModule:new q(["module"]),failedModule:new q(["module","error"]),succeedModule:new q(["module"]),stillValidModule:new q(["module"]),addEntry:new q(["entry","options"]),failedEntry:new q(["entry","options","error"]),succeedEntry:new q(["entry","options","module"]),dependencyReferencedExports:new ie(["referencedExports","dependency","runtime"]),executeModule:new q(["options","context"]),prepareModuleExecution:new _e(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new q([]),seal:new q([]),beforeChunks:new q([]),afterChunks:new q(["chunks"]),optimizeDependencies:new G(["modules"]),afterOptimizeDependencies:new q(["modules"]),optimize:new q([]),optimizeModules:new G(["modules"]),afterOptimizeModules:new q(["modules"]),optimizeChunks:new G(["chunks","chunkGroups"]),afterOptimizeChunks:new q(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new q(["chunks","modules"]),optimizeChunkModules:new le(["chunks","modules"]),afterOptimizeChunkModules:new q(["chunks","modules"]),shouldRecord:new G([]),additionalChunkRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new j((()=>new G(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new q(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new j((()=>new G(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new j((()=>new G(["chunk","runtimeRequirements","context"]))),runtimeModule:new q(["module","chunk"]),reviveModules:new q(["modules","records"]),beforeModuleIds:new q(["modules"]),moduleIds:new q(["modules"]),optimizeModuleIds:new q(["modules"]),afterOptimizeModuleIds:new q(["modules"]),reviveChunks:new q(["chunks","records"]),beforeChunkIds:new q(["chunks"]),chunkIds:new q(["chunks"]),optimizeChunkIds:new q(["chunks"]),afterOptimizeChunkIds:new q(["chunks"]),recordModules:new q(["modules","records"]),recordChunks:new q(["chunks","records"]),optimizeCodeGeneration:new q(["modules"]),beforeModuleHash:new q([]),afterModuleHash:new q([]),beforeCodeGeneration:new q([]),afterCodeGeneration:new q([]),beforeRuntimeRequirements:new q([]),afterRuntimeRequirements:new q([]),beforeHash:new q([]),contentHash:new q(["chunk"]),afterHash:new q([]),recordHash:new q(["records"]),record:new q(["compilation","records"]),beforeModuleAssets:new q([]),shouldGenerateChunkAssets:new G([]),beforeChunkAssets:new q([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:N,afterOptimizeAssets:we,processAssets:N,afterProcessAssets:we,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new G([]),afterSeal:new ae([]),renderManifest:new ie(["result","options"]),fullHash:new q(["hash"]),chunkHash:new q(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new q(["module","filename"]),chunkAsset:new q(["chunk","filename"]),assetPath:new ie(["path","options","assetInfo"]),needAdditionalPass:new G([]),childCompiler:new q(["childCompiler","compilerName","compilerIndex"]),log:new G(["origin","logEntry"]),processWarnings:new ie(["warnings"]),processErrors:new ie(["errors"]),statsPreset:new j((()=>new q(["options","context"]))),statsNormalize:new q(["options","context"]),statsFactory:new q(["statsFactory","options"]),statsPrinter:new q(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new We(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps,true)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const Me=E.options;this.options=Me;this.outputOptions=Me&&Me.output;this.bail=Me&&Me.bail||false;this.profile=Me&&Me.profile||false;this.params=R;this.mainTemplate=new Xe(this.outputOptions,this);this.chunkTemplate=new Le(this.outputOptions,this);this.runtimeTemplate=new ct(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ot(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new tt;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new bt({name:"processDependencies",parallelism:Me.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new bt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new bt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new bt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new bt({name:"rebuild",parallelism:Me.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){Pt(this.chunks,"Compilation.chunks");Pt(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new qe;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new _t;this.contextDependencies=new _t;this.missingDependencies=new _t;this.buildDependencies=new _t;this.compilationDependencies={add:Ee.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const Ie=Me.module.unsafeCache;this._unsafeCache=!!Ie;this._unsafeCachePredicate=typeof Ie==="function"?Ie:()=>true}getStats(){return new ut(this)}createStatsOptions(E,R={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const N={};for(const R in E){N[R]=E[R]}if(N.preset!==undefined){this.hooks.statsPreset.for(N.preset).call(N,R)}this.hooks.statsNormalize.call(N,R);return N}else{const E={};this.hooks.statsNormalize.call(E,R);return E}}createStatsFactory(E){const R=new gt;this.hooks.statsFactory.call(R,E);return R}createStatsPrinter(E){const R=new yt;this.hooks.statsPrinter.call(R,E);return R}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let R;return new ht(((N,$)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let j;switch(N){case mt.warn:case mt.error:case mt.trace:j=He.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const q={time:Date.now(),type:N,args:$,trace:j};if(this.hooks.log.call(E,q)===undefined){if(q.type===mt.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${q.args[0]}`)}}if(R===undefined){R=this.logging.get(E);if(R===undefined){R=[];this.logging.set(E,R)}}R.push(q);if(q.type===mt.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${q.args[0]}`)}}}}),(R=>{if(typeof E==="function"){if(typeof R==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}}else{if(typeof R==="function"){return this.getLogger((()=>{if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getLogger(`${E}/${R}`)}}}))}addModule(E,R){this.addModuleQueue.add(E,R)}_addModule(E,R){const N=E.identifier();const $=this._modules.get(N);if($){return R(null,$)}const j=this.profile?this.moduleGraph.getProfile(E):undefined;if(j!==undefined){j.markRestoringStart()}this._modulesCache.get(N,null,(($,q)=>{if($)return R(new st(E,$));if(j!==undefined){j.markRestoringEnd();j.markIntegrationStart()}if(q){q.updateCacheModule(E);E=q}this._modules.set(N,E);this.modules.add(E);if(this._backCompat)tt.setModuleGraphForModule(E,this.moduleGraph);if(j!==undefined){j.markIntegrationEnd()}R(null,E)}))}getModule(E){const R=E.identifier();return this._modules.get(R)}findModule(E){return this._modules.get(E)}buildModule(E,R){this.buildQueue.add(E,R)}_buildModule(E,R){const N=this.profile?this.moduleGraph.getProfile(E):undefined;if(N!==undefined){N.markBuildingStart()}E.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},(($,j)=>{if($)return R($);if(!j){if(N!==undefined){N.markBuildingEnd()}this.hooks.stillValidModule.call(E);return R()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,($=>{if(N!==undefined){N.markBuildingEnd()}if($){this.hooks.failedModule.call(E,$);return R($)}if(N!==undefined){N.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,($=>{if(N!==undefined){N.markStoringEnd()}if($){this.hooks.failedModule.call(E,$);return R(new it(E,$))}this.hooks.succeedModule.call(E);return R()}))}))}))}processModuleDependencies(E,R){this.processDependenciesQueue.add(E,R)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=R=>{if(R.dependencies){let N=0;for(const $ of R.dependencies){this.moduleGraph.setParents($,R,E,N++)}}if(R.blocks){for(const E of R.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,R){const N=[];let $;let j;let q;let G;let ie;let ae;let le;let _e;let Ee=1;let we=1;const onDependenciesSorted=E=>{if(E)return R(E);if(N.length===0&&we===1){return R()}this.processDependenciesQueue.increaseParallelism();for(const E of N){we++;this.handleModuleCreation(E,(E=>{if(E&&this.bail){if(we<=0)return;we=-1;E.stack=E.stack;onTransitiveTasksFinished(E);return}if(--we===0)onTransitiveTasksFinished()}))}if(--we===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=E=>{if(E)return R(E);this.processDependenciesQueue.decreaseParallelism();return R()};const processDependency=(R,N)=>{this.moduleGraph.setParents(R,$,E,N);if(this._unsafeCache){try{const N=Wt.get(R);if(N===null)return;if(N!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(N)){this._handleExistingModuleFromUnsafeCache(E,R,N);return}const $=N.identifier();const j=this._restoredUnsafeCacheEntries.get($);if(j!==undefined){Wt.set(R,j);this._handleExistingModuleFromUnsafeCache(E,R,j);return}Ee++;this._modulesCache.get($,null,((j,q)=>{if(j){if(Ee<=0)return;Ee=-1;onDependenciesSorted(j);return}try{if(!this._restoredUnsafeCacheEntries.has($)){const j=Vt.get(q);if(j===undefined){processDependencyForResolving(R);if(--Ee===0)onDependenciesSorted();return}if(q!==N){Wt.set(R,q)}q.restoreFromUnsafeCache(j,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set($,q);this._restoredUnsafeCacheModuleEntries.add(q);if(!this.modules.has(q)){we++;this._handleNewModuleFromUnsafeCache(E,R,q,(E=>{if(E){if(we<=0)return;we=-1;onTransitiveTasksFinished(E)}if(--we===0)return onTransitiveTasksFinished()}));if(--Ee===0)onDependenciesSorted();return}}if(N!==q){Wt.set(R,q)}this._handleExistingModuleFromUnsafeCache(E,R,q)}catch(j){if(Ee<=0)return;Ee=-1;onDependenciesSorted(j);return}if(--Ee===0)onDependenciesSorted()}));return}}catch(E){console.error(E)}}processDependencyForResolving(R)};const processDependencyForResolving=R=>{const $=R.getResourceIdentifier();if($!==undefined&&$!==null){const Ee=R.category;const we=R.constructor;if(q===we){if(ae===Ee&&le===$){_e.push(R);return}}else{const E=this.dependencyFactories.get(we);if(E===undefined){throw new Error(`No module factory available for dependency type: ${we.name}`)}if(G===E){q=we;if(ae===Ee&&le===$){_e.push(R);return}}else{if(G!==undefined){if(j===undefined)j=new Map;j.set(G,ie);ie=j.get(E);if(ie===undefined){ie=new Map}}else{ie=new Map}q=we;G=E}}const Me=Ee===Lt?$:`${Ee}${$}`;let Ie=ie.get(Me);if(Ie===undefined){ie.set(Me,Ie=[]);N.push({factory:G,dependencies:Ie,originModule:E})}Ie.push(R);ae=Ee;le=$;_e=Ie}};try{const R=[E];do{const E=R.pop();if(E.dependencies){$=E;let R=0;for(const N of E.dependencies)processDependency(N,R++)}if(E.blocks){for(const N of E.blocks)R.push(N)}}while(R.length!==0)}catch(E){return R(E)}if(--Ee===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(E,R,N,$){const j=this.moduleGraph;j.setResolvedModule(E,R,N);j.setIssuerIfUnset(N,E!==undefined?E:null);this._modules.set(N.identifier(),N);this.modules.add(N);if(this._backCompat)tt.setModuleGraphForModule(N,this.moduleGraph);this._handleModuleBuildAndDependencies(E,N,true,$)}_handleExistingModuleFromUnsafeCache(E,R,N){const $=this.moduleGraph;$.setResolvedModule(E,R,N)}handleModuleCreation({factory:E,dependencies:R,originModule:N,contextInfo:$,context:j,recursive:q=true,connectOrigin:G=q},ie){const ae=this.moduleGraph;const le=this.profile?new rt:undefined;this.factorizeModule({currentProfile:le,factory:E,dependencies:R,factoryResult:true,originModule:N,contextInfo:$,context:j},((E,$)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:E,contextDependencies:R,missingDependencies:N}=$;if(E){this.fileDependencies.addAll(E)}if(R){this.contextDependencies.addAll(R)}if(N){this.missingDependencies.addAll(N)}};if(E){if($)applyFactoryResultDependencies();if(R.every((E=>E.optional))){this.warnings.push(E);return ie()}else{this.errors.push(E);return ie(E)}}const j=$.module;if(!j){applyFactoryResultDependencies();return ie()}if(le!==undefined){ae.setProfile(j,le)}this.addModule(j,((E,_e)=>{if(E){applyFactoryResultDependencies();if(!E.module){E.module=_e}this.errors.push(E);return ie(E)}if(this._unsafeCache&&$.cacheable!==false&&_e.restoreFromUnsafeCache&&this._unsafeCachePredicate(_e)){const E=_e;for(let $=0;${if(j!==undefined){j.delete(R)}if(E){if(!E.module){E.module=R}this.errors.push(E);return $(E)}if(!N){this.processModuleDependenciesNonRecursive(R);$(null,R);return}if(this.processDependenciesQueue.isProcessing(R)){return $()}this.processModuleDependencies(R,(E=>{if(E){return $(E)}$(null,R)}))}))}_factorizeModule({currentProfile:E,factory:R,dependencies:N,originModule:$,factoryResult:j,contextInfo:q,context:G},ie){if(E!==undefined){E.markFactoryStart()}R.create({contextInfo:{issuer:$?$.nameForCondition():"",issuerLayer:$?$.layer:null,compiler:this.compiler.name,...q},resolveOptions:$?$.resolveOptions:undefined,context:G?G:$?$.context:this.compiler.context,dependencies:N},((R,q)=>{if(q){if(q.module===undefined&&q instanceof Ye){q={module:q}}if(!j){const{fileDependencies:E,contextDependencies:R,missingDependencies:N}=q;if(E){this.fileDependencies.addAll(E)}if(R){this.contextDependencies.addAll(R)}if(N){this.missingDependencies.addAll(N)}}}if(R){const E=new nt($,R,N.map((E=>E.loc)).filter(Boolean)[0]);return ie(E,j?q:undefined)}if(!q){return ie()}if(E!==undefined){E.markFactoryEnd()}ie(null,j?q:q.module)}))}addModuleChain(E,R,N){return this.addModuleTree({context:E,dependency:R},N)}addModuleTree({context:E,dependency:R,contextInfo:N},$){if(typeof R!=="object"||R===null||!R.constructor){return $(new pt("Parameter 'dependency' must be a Dependency"))}const j=R.constructor;const q=this.dependencyFactories.get(j);if(!q){return $(new pt(`No dependency factory available for this dependency type: ${R.constructor.name}`))}this.handleModuleCreation({factory:q,dependencies:[R],originModule:null,contextInfo:N,context:E},((E,R)=>{if(E&&this.bail){$(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!E&&R){$(null,R)}else{$()}}))}addEntry(E,R,N,$){const j=typeof N==="object"?N:{name:N};this._addEntryItem(E,R,"dependencies",j,$)}addInclude(E,R,N,$){this._addEntryItem(E,R,"includeDependencies",N,$)}_addEntryItem(E,R,N,$,j){const{name:q}=$;let G=q!==undefined?this.entries.get(q):this.globalEntry;if(G===undefined){G={dependencies:[],includeDependencies:[],options:{name:undefined,...$}};G[N].push(R);this.entries.set(q,G)}else{G[N].push(R);for(const E of Object.keys($)){if($[E]===undefined)continue;if(G.options[E]===$[E])continue;if(Array.isArray(G.options[E])&&Array.isArray($[E])&&vt(G.options[E],$[E])){continue}if(G.options[E]===undefined){G.options[E]=$[E]}else{return j(new pt(`Conflicting entry option ${E} = ${G.options[E]} vs ${$[E]}`))}}}this.hooks.addEntry.call(R,$);this.addModuleTree({context:E,dependency:R,contextInfo:G.options.layer?{issuerLayer:G.options.layer}:undefined},((E,N)=>{if(E){this.hooks.failedEntry.call(R,$,E);return j(E)}this.hooks.succeedEntry.call(R,$,N);return j(null,N)}))}rebuildModule(E,R){this.rebuildQueue.add(E,R)}_rebuildModule(E,R){this.hooks.rebuildModule.call(E);const N=E.dependencies.slice();const $=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,(j=>{if(j){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){R(Qe(E,"Compilation.hooks.finishRebuildingModule"));return}R(j)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,(j=>{if(j)return R(j);this.removeReasonsOfDependencyBlock(E,{dependencies:N,blocks:$});this.hooks.finishRebuildingModule.callAsync(E,(N=>{if(N){R(Qe(N,"Compilation.hooks.finishRebuildingModule"));return}R(null,E)}))}))}))}_computeAffectedModules(E){const R=this.compiler.moduleMemCaches;if(!R)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:N,moduleMemCaches:$}=this;const j=new Set;const q=new Set;let G=0;let ie=0;let ae=0;let le=0;let _e=0;const computeReferences=E=>{let R=undefined;for(const $ of N.getOutgoingConnections(E)){const E=$.dependency;const N=$.module;if(!E||!N||Wt.has(E))continue;if(R===undefined)R=new WeakMap;R.set(E,N)}return R};const compareReferences=(E,R)=>{if(R===undefined)return true;for(const $ of N.getOutgoingConnections(E)){const E=$.dependency;if(!E)continue;const N=R.get(E);if(N===undefined)continue;if(N!==$.module)return false}return true};const Ee=new Set(E);for(const[E,N]of R){if(Ee.has(E)){const G=E.buildInfo;if(G){if(N.buildInfo!==G){const R=new xt;$.set(E,R);j.add(E);N.buildInfo=G;N.references=computeReferences(E);N.memCache=R;ie++}else if(!compareReferences(E,N.references)){const R=new xt;$.set(E,R);j.add(E);N.references=computeReferences(E);N.memCache=R;le++}else{$.set(E,N.memCache);ae++}}else{q.add(E);R.delete(E);_e++}Ee.delete(E)}else{R.delete(E)}}for(const E of Ee){const N=E.buildInfo;if(N){const q=new xt;R.set(E,{buildInfo:N,references:computeReferences(E),memCache:q});$.set(E,q);j.add(E);G++}else{q.add(E);_e++}}const reduceAffectType=E=>{let R=false;for(const{dependency:N}of E){if(!N)continue;const E=N.couldAffectReferencingModule();if(E===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(E===false)continue;R=true}return R};const we=new Set;for(const E of q){for(const[R,$]of N.getIncomingConnectionsByOriginModule(E)){if(!R)continue;if(q.has(R))continue;const E=reduceAffectType($);if(!E)continue;if(E===true){we.add(R)}else{q.add(R)}}}for(const E of we)q.add(E);const Me=new Set;for(const E of j){for(const[G,ie]of N.getIncomingConnectionsByOriginModule(E)){if(!G)continue;if(q.has(G))continue;if(j.has(G))continue;const E=reduceAffectType(ie);if(!E)continue;if(E===true){Me.add(G)}else{j.add(G)}const N=new xt;const ae=R.get(G);ae.memCache=N;$.set(G,N)}}for(const E of Me)j.add(E);this.logger.log(`${Math.round(100*(j.size+q.size)/this.modules.size)}% (${j.size} affected + ${q.size} infected of ${this.modules.size}) modules flagged as affected (${G} new modules, ${ie} changed, ${le} references changed, ${ae} unchanged, ${_e} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:E}=this;if(!E)return;const R=this.moduleMemCaches2=new Map;const{moduleGraph:N,chunkGraph:$}=this;const j="memCache2";let q=0;let G=0;let ie=0;const computeReferences=E=>{let R=undefined;let j=undefined;const q=N.getOutgoingConnectionsByModule(E);if(q!==undefined){for(const E of q.keys()){if(!E)continue;if(R===undefined)R=new Map;R.set(E,$.getModuleId(E))}}if(E.blocks.length>0){j=[];const R=Array.from(E.blocks);for(const E of R){const N=$.getBlockChunkGroup(E);if(N){for(const E of N.chunks){j.push(E.id)}}else{j.push(null)}R.push.apply(R,E.blocks)}}return{modules:R,blocks:j}};const compareReferences=(E,{modules:R,blocks:N})=>{if(R!==undefined){for(const[E,N]of R){if($.getModuleId(E)!==N)return false}}if(N!==undefined){const R=Array.from(E.blocks);let j=0;for(const E of R){const q=$.getBlockChunkGroup(E);if(q){for(const E of q.chunks){if(j>=N.length||N[j++]!==E.id)return false}}else{if(j>=N.length||N[j++]!==null)return false}R.push.apply(R,E.blocks)}if(j!==N.length)return false}return true};for(const[N,$]of E){const E=$.get(j);if(E===undefined){const E=new xt;$.set(j,{references:computeReferences(N),memCache:E});R.set(N,E);ie++}else if(!compareReferences(N,E.references)){const $=new xt;E.references=computeReferences(N);E.memCache=$;R.set(N,$);G++}else{R.set(N,E.memCache);q++}}this.logger.log(`${Math.round(100*G/(ie+G+q))}% modules flagged as affected by chunk graph (${ie} new modules, ${G} changed, ${q} unchanged)`)}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=N(382);const R=new E;const $=this.moduleGraph;const j=new Map;for(const E of this.modules){const N=$.getProfile(E);if(!N)continue;j.set(E,N);R.range(N.buildingStartTime,N.buildingEndTime,(E=>N.buildingParallelismFactor=E));R.range(N.factoryStartTime,N.factoryEndTime,(E=>N.factoryParallelismFactor=E));R.range(N.integrationStartTime,N.integrationEndTime,(E=>N.integrationParallelismFactor=E));R.range(N.storingStartTime,N.storingEndTime,(E=>N.storingParallelismFactor=E));R.range(N.restoringStartTime,N.restoringEndTime,(E=>N.restoringParallelismFactor=E));if(N.additionalFactoryTimes){for(const{start:E,end:$}of N.additionalFactoryTimes){const j=($-E)/N.additionalFactories;R.range(E,$,(E=>N.additionalFactoriesParallelismFactor+=E*j))}}}R.calculate();const q=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,R)=>{if(E>1e3){q.error(R)}else if(E>500){q.warn(R)}else if(E>200){q.info(R)}else if(E>30){q.log(R)}else{q.debug(R)}};const logNormalSummary=(E,R,N)=>{let $=0;let q=0;for(const[G,ie]of j){const j=N(ie);const ae=R(ie);if(ae===0||j===0)continue;const le=ae/j;$+=le;if(le<=10)continue;logByValue(le,` | ${Math.round(le)} ms${j>=1.1?` (parallelism ${Math.round(j*10)/10})`:""} ${E} > ${G.readableIdentifier(this.requestShortener)}`);q=Math.max(q,le)}if($<=10)return;logByValue(Math.max($/10,q),`${Math.round($)} ms ${E}`)};const logByLoadersSummary=(E,R,N)=>{const $=new Map;for(const[E,R]of j){const N=kt($,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));N.push({module:E,profile:R})}let q=0;let G=0;for(const[j,ie]of $){let $=0;let ae=0;for(const{module:j,profile:q}of ie){const G=N(q);const ie=R(q);if(ie===0||G===0)continue;const le=ie/G;$+=le;if(le<=10)continue;logByValue(le,` | | ${Math.round(le)} ms${G>=1.1?` (parallelism ${Math.round(G*10)/10})`:""} ${E} > ${j.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,le)}q+=$;if($<=10)continue;const le=j.indexOf("!");const _e=j.slice(le+1);const Ee=j.slice(0,le);const we=Math.max($/10,ae);logByValue(we,` | ${Math.round($)} ms ${E} > ${_e?`${ie.length} x ${Ee} with ${this.requestShortener.shorten(_e)}`:`${ie.length} x ${Ee}`}`);G=Math.max(G,we)}if(q<=10)return;logByValue(Math.max(q/10,G),`${Math.round(q)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:R,moduleMemCaches:$}=this;this.hooks.finishModules.callAsync(R,(N=>{this.logger.timeEnd("finish modules");if(N)return E(N);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const E of R){const R=$&&$.get(E);if(R&&R.get("noWarningsOrErrors"))continue;let N=this.reportDependencyErrorsAndWarnings(E,[E]);const j=E.getErrors();if(j!==undefined){for(const R of j){if(!R.module){R.module=E}this.errors.push(R);N=true}}const q=E.getWarnings();if(q!==undefined){for(const R of q){if(!R.module){R.module=E}this.warnings.push(R);N=true}}if(!N&&R)R.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(E){const finalCallback=R=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(R)};const R=new Te(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=R;if(this._backCompat){for(const E of this.modules){Te.setChunkGraphForModule(E,R)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const N=new Map;for(const[E,{dependencies:$,includeDependencies:j,options:q}]of this.entries){const G=this.addChunk(E);if(q.filename){G.filenameTemplate=q.filename}const ie=new Ge(q);if(!q.dependOn&&!q.runtime){ie.setRuntimeChunk(G)}ie.setEntrypointChunk(G);this.namedChunkGroups.set(E,ie);this.entrypoints.set(E,ie);this.chunkGroups.push(ie);Ve(ie,G);const ae=new Set;for(const j of[...this.globalEntry.dependencies,...$]){ie.addOrigin(null,{name:E},j.request);const $=this.moduleGraph.getModule(j);if($){R.connectChunkAndEntryModule(G,$,ie);ae.add($);const E=N.get(ie);if(E===undefined){N.set(ie,[$])}else{E.push($)}}}this.assignDepths(ae);const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(Mt);const le=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(j)];let _e=N.get(ie);if(_e===undefined){N.set(ie,_e=[])}for(const E of le){this.assignDepth(E);_e.push(E)}}const $=new Set;e:for(const[E,{options:{dependOn:R,runtime:N}}]of this.entries){if(R&&N){const R=new pt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const N=this.entrypoints.get(E);R.chunk=N.getEntrypointChunk();this.errors.push(R)}if(R){const N=this.entrypoints.get(E);const $=N.getEntrypointChunk().getAllReferencedChunks();const j=[];for(const q of R){const R=this.entrypoints.get(q);if(!R){throw new Error(`Entry ${E} depends on ${q}, but this entry was not found`)}if($.has(R.getEntrypointChunk())){const R=new pt(`Entrypoints '${E}' and '${q}' use 'dependOn' to depend on each other in a circular way.`);const $=N.getEntrypointChunk();R.chunk=$;this.errors.push(R);N.setRuntimeChunk($);continue e}j.push(R)}for(const E of j){Ke(E,N)}}else if(N){const R=this.entrypoints.get(E);let j=this.namedChunks.get(N);if(j){if(!$.has(j)){const $=new pt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${N}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(N)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${N}'? For this '${N}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${N}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const j=R.getEntrypointChunk();$.chunk=j;this.errors.push($);R.setRuntimeChunk(j);continue}}else{j=this.addChunk(N);j.preventIntegration=true;$.add(j)}R.unshiftChunk(j);j.addGroup(R);R.setRuntimeChunk(j)}}dt(this,N);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const N=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(N){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((R=>{if(R){return finalCallback(R)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const $=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs($,(R=>{if(R){return finalCallback(R)}if(N){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Ot(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(N){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(Qe(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,R){let N=false;for(let $=0;$1){const j=new Map;for(const q of $){const $=R.getModuleHash(E,q);const G=j.get($);if(G===undefined){const R={module:E,hash:$,runtime:q,runtimes:[q]};N.push(R);j.set($,R)}else{G.runtimes.push(q)}}}}this._runCodeGenerationJobs(N,E)}_runCodeGenerationJobs(E,R){let N=0;let j=0;const{chunkGraph:q,moduleGraph:G,dependencyTemplates:ie,runtimeTemplate:ae}=this;const le=this.codeGenerationResults;const _e=[];$.eachLimit(E,this.options.parallelism,(({module:E,hash:R,runtime:$,runtimes:Ee},we)=>{this._codeGenerationModule(E,$,Ee,R,ie,q,G,ae,_e,le,((E,R)=>{if(R)j++;else N++;we(E)}))}),(E=>{if(E)return R(E);if(_e.length>0){_e.sort(At((E=>E.module),Mt));for(const E of _e){this.errors.push(E)}}this.logger.log(`${Math.round(100*j/(j+N))}% code generated (${j} generated, ${N} from cache)`);R()}))}_codeGenerationModule(E,R,N,$,j,q,G,ie,ae,le,_e){let Ee=false;const we=new Me(N.map((R=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${Ft(R)}`,`${$}|${j.getHash()}`))));we.get((($,Me)=>{if($)return _e($);let Ie;if(!Me){try{Ee=true;this.codeGeneratedModules.add(E);Ie=E.codeGeneration({chunkGraph:q,moduleGraph:G,dependencyTemplates:j,runtimeTemplate:ie,runtime:R})}catch($){ae.push(new je(E,$));Ie=Me={sources:new Map,runtimeRequirements:null}}}else{Ie=Me}for(const R of N){le.add(E,R,Ie)}if(!Me){we.store(Ie,(E=>_e(E,Ee)))}else{_e(null,Ee)}}))}_getChunkGraphEntries(){const E=new Set;for(const R of this.entrypoints.values()){const N=R.getRuntimeChunk();if(N)E.add(N)}for(const R of this.asyncEntrypoints){const N=R.getRuntimeChunk();if(N)E.add(N)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:R=this.modules,chunks:N=this.chunks,codeGenerationResults:$=this.codeGenerationResults,chunkGraphEntries:j=this._getChunkGraphEntries()}={}){const q={chunkGraph:E,codeGenerationResults:$};const{moduleMemCaches2:G}=this;this.logger.time("runtime requirements.modules");const ie=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const N of R){if(E.getNumberOfModuleChunks(N)>0){const R=G&&G.get(N);for(const j of E.getModuleRuntimes(N)){if(R){const $=R.get(`moduleRuntimeRequirements-${Ft(j)}`);if($!==undefined){if($!==null){E.addModuleRuntimeRequirements(N,j,$,false)}continue}}let G;const le=$.getRuntimeRequirements(N,j);if(le&&le.size>0){G=new Set(le)}else if(ie.isUsed()){G=new Set}else{if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,null)}continue}ie.call(N,G,q);for(const E of G){const R=ae.get(E);if(R!==undefined)R.call(N,G,q)}if(G.size===0){if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,null)}}else{if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,G);E.addModuleRuntimeRequirements(N,j,G,false)}else{E.addModuleRuntimeRequirements(N,j,G)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const R of N){const N=new Set;for(const $ of E.getChunkModulesIterable(R)){const j=E.getModuleRuntimeRequirements($,R.runtime);for(const E of j)N.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(R,N,q);for(const E of N){this.hooks.runtimeRequirementInChunk.for(E).call(R,N,q)}E.addChunkRuntimeRequirements(R,N)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const R of j){const N=new Set;for(const $ of R.getAllReferencedChunks()){const R=E.getChunkRuntimeRequirements($);for(const E of R)N.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(R,N,q);for(const E of N){this.hooks.runtimeRequirementInTree.for(E).call(R,N,q)}E.addTreeRuntimeRequirements(R,N)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(E,R,N=this.chunkGraph){if(this._backCompat)tt.setModuleGraphForModule(R,this.moduleGraph);this.modules.add(R);this._modules.set(R.identifier(),R);N.connectChunkAndModule(E,R);N.connectChunkAndRuntimeModule(E,R);if(R.fullHash){N.addFullHashModuleToChunk(E,R)}else if(R.dependentHash){N.addDependentHashModuleToChunk(E,R)}R.attach(this,E,N);const $=this.moduleGraph.getExportsInfo(R);$.setHasProvideInfo();if(typeof E.runtime==="string"){$.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){$.setUsedForSideEffectsOnly(undefined)}else{for(const R of E.runtime){$.setUsedForSideEffectsOnly(R)}}N.addModuleRuntimeRequirements(R,E.runtime,new Set([lt.requireScope]));N.setModuleId(R,"");this.hooks.runtimeModule.call(R,E)}addChunkInGroup(E,R,N,$){if(typeof E==="string"){E={name:E}}const j=E.name;if(j){const q=this.namedChunkGroups.get(j);if(q!==undefined){q.addOptions(E);if(R){q.addOrigin(R,N,$)}return q}}const q=new Ne(E);if(R)q.addOrigin(R,N,$);const G=this.addChunk(j);Ve(q,G);this.chunkGroups.push(q);if(j){this.namedChunkGroups.set(j,q)}return q}addAsyncEntrypoint(E,R,N,$){const j=E.name;if(j){const E=this.namedChunkGroups.get(j);if(E instanceof Ge){if(E!==undefined){if(R){E.addOrigin(R,N,$)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${j}', because there is already an chunk group with this name`)}}const q=this.addChunk(j);if(E.filename){q.filenameTemplate=E.filename}const G=new Ge(E,false);G.setRuntimeChunk(q);G.setEntrypointChunk(q);if(j){this.namedChunkGroups.set(j,G)}this.chunkGroups.push(G);this.asyncEntrypoints.push(G);Ve(G,q);if(R){G.addOrigin(R,N,$)}return G}addChunk(E){if(E){const R=this.namedChunks.get(E);if(R!==undefined){return R}}const R=new Ie(E,this._backCompat);this.chunks.add(R);if(this._backCompat)Te.setChunkGraphForChunk(R,this.chunkGraph);if(E){this.namedChunks.set(E,R)}return R}assignDepth(E){const R=this.moduleGraph;const N=new Set([E]);let $;R.setDepth(E,0);const processModule=E=>{if(!R.setDepthIfLower(E,$))return;N.add(E)};for(E of N){N.delete(E);$=R.getDepth(E)+1;for(const N of R.getOutgoingConnections(E)){const E=N.module;if(E){processModule(E)}}}}assignDepths(E){const R=this.moduleGraph;const N=new Set(E);N.add(1);let $=0;let j=0;for(const E of N){j++;if(typeof E==="number"){$=E;if(N.size===j)return;N.add($+1)}else{R.setDepth(E,$);for(const{module:$}of R.getOutgoingConnections(E)){if($){N.add($)}}}}}getDependencyReferencedExports(E,R){const N=E.getReferencedExports(this.moduleGraph,R);return this.hooks.dependencyReferencedExports.call(N,E,R)}removeReasonsOfDependencyBlock(E,R){if(R.blocks){for(const N of R.blocks){this.removeReasonsOfDependencyBlock(E,N)}}if(R.dependencies){for(const E of R.dependencies){const R=this.moduleGraph.getModule(E);if(R){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(R)){this.patchChunksAfterReasonRemoval(R,E)}}}}}}patchChunksAfterReasonRemoval(E,R){if(!E.hasReasons(this.moduleGraph,R.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(R,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,R)){this.chunkGraph.disconnectChunkAndModule(R,E);this.removeChunkFromDependencies(E,R)}}}removeChunkFromDependencies(E,R){const iteratorDependency=E=>{const N=this.moduleGraph.getModule(E);if(!N){return}this.patchChunksAfterReasonRemoval(N,R)};const N=E.blocks;for(let R=0;R{const N=R.options.runtime||R.name;const $=R.getRuntimeChunk();E.setRuntimeId(N,$.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(Ht);this.warnings.sort(Ht);this.children.sort(zt)}summarizeDependencies(){for(let E=0;E0){this.logger.time("hashing: hash child compilations");for(const E of this.children){G.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ie=[];const ae=[];for(const E of this.chunks){if(E.hasRuntime()){ie.push(E)}else{ae.push(E)}}ie.sort(jt);ae.sort(jt);const le=new Map;for(const E of ie){le.set(E,{chunk:E,referencedBy:[],remaining:0})}let _e=0;for(const E of le.values()){for(const R of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const N=le.get(R);N.referencedBy.push(E);E.remaining++;_e++}}const Ee=[];for(const E of le.values()){if(E.remaining===0){Ee.push(E.chunk)}}if(_e>0){const R=[];for(const N of Ee){const $=E.getNumberOfChunkFullHashModules(N)!==0;const j=le.get(N);for(const N of j.referencedBy){if($){E.upgradeDependentToFullHashModules(N.chunk)}_e--;if(--N.remaining===0){R.push(N.chunk)}}if(R.length>0){R.sort(jt);for(const E of R)Ee.push(E);R.length=0}}}if(_e>0){let E=[];for(const R of le.values()){if(R.remaining!==0){E.push(R)}}E.sort(At((E=>E.chunk),jt));const R=new pt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);R.chunk=E[0].chunk;this.warnings.push(R);for(const R of E)Ee.push(R.chunk)}this.logger.timeEnd("hashing: sort chunks");const we=new Set;const Me=[];const Ie=new Map;const processChunk=ie=>{this.logger.time("hashing: hash runtime modules");const ae=ie.runtime;for(const N of E.getChunkModulesIterable(ie)){if(!E.hasModuleHashes(N,ae)){const G=this._createModuleHash(N,E,ae,$,R,j,q);let ie=Ie.get(G);if(ie){const E=ie.get(N);if(E){E.runtimes.push(ae);continue}}else{ie=new Map;Ie.set(G,ie)}const le={module:N,hash:G,runtime:ae,runtimes:[ae]};ie.set(N,le);Me.push(le)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const le=It($);try{if(N.hashSalt){le.update(N.hashSalt)}ie.updateHash(le,E);this.hooks.chunkHash.call(ie,le,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const R=le.digest(j);G.update(R);ie.hash=R;ie.renderedHash=ie.hash.substr(0,q);const $=E.getChunkFullHashModulesIterable(ie);if($){we.add(ie)}else{this.hooks.contentHash.call(ie)}}catch(E){this.errors.push(new Be(ie,"",E))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const E of Ee)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(G);this.fullHash=G.digest(j);this.hash=this.fullHash.substr(0,q);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const N of we){for(const G of E.getChunkFullHashModulesIterable(N)){const ie=It($);G.updateHash(ie,{chunkGraph:E,runtime:N.runtime,runtimeTemplate:R});const ae=ie.digest(j);const le=E.getModuleHash(G,N.runtime);E.setModuleHashes(G,N.runtime,ae,ae.substr(0,q));Ie.get(le).get(G).hash=ae}const G=It($);G.update(N.hash);G.update(this.hash);const ie=G.digest(j);N.hash=ie;N.renderedHash=N.hash.substr(0,q);this.hooks.contentHash.call(N)}this.logger.timeEnd("hashing: process full hash modules");return Me}emitAsset(E,R,N={}){if(this.assets[E]){if(!Nt(this.assets[E],R)){this.errors.push(new pt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=R;this._setAssetInfo(E,N);return}const $=this.assetsInfo.get(E);const j=Object.assign({},$,N);this._setAssetInfo(E,j,$);return}this.assets[E]=R;this._setAssetInfo(E,N,undefined)}_setAssetInfo(E,R,N=this.assetsInfo.get(E)){if(R===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,R)}const $=N&&N.related;const j=R&&R.related;if($){for(const R of Object.keys($)){const remove=N=>{const $=this._assetsRelatedIn.get(N);if($===undefined)return;const j=$.get(R);if(j===undefined)return;j.delete(E);if(j.size!==0)return;$.delete(R);if($.size===0)this._assetsRelatedIn.delete(N)};const N=$[R];if(Array.isArray(N)){N.forEach(remove)}else if(N){remove(N)}}}if(j){for(const R of Object.keys(j)){const add=N=>{let $=this._assetsRelatedIn.get(N);if($===undefined){this._assetsRelatedIn.set(N,$=new Map)}let j=$.get(R);if(j===undefined){$.set(R,j=new Set)}j.add(E)};const N=j[R];if(Array.isArray(N)){N.forEach(add)}else if(N){add(N)}}}}updateAsset(E,R,N=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof R==="function"){this.assets[E]=R(this.assets[E])}else{this.assets[E]=R}if(N!==undefined){const R=this.assetsInfo.get(E)||Bt;if(typeof N==="function"){this._setAssetInfo(E,N(R),R)}else{this._setAssetInfo(E,Et(R,N),R)}}}renameAsset(E,R){const N=this.assets[E];if(!N){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[R]){if(!Nt(this.assets[E],N)){this.errors.push(new pt(`Conflict: Called Compilation.renameAsset for already existing filename ${R} with different content`))}}const $=this.assetsInfo.get(E);const j=this._assetsRelatedIn.get(E);if(j){for(const[N,$]of j){for(const j of $){const $=this.assetsInfo.get(j);if(!$)continue;const q=$.related;if(!q)continue;const G=q[N];let ie;if(Array.isArray(G)){ie=G.map((N=>N===E?R:N))}else if(G===E){ie=R}else continue;this.assetsInfo.set(j,{...$,related:{...q,[N]:ie}})}}}this._setAssetInfo(E,undefined,$);this._setAssetInfo(R,$);delete this.assets[E];this.assets[R]=N;for(const N of this.chunks){{const $=N.files.size;N.files.delete(E);if($!==N.files.size){N.files.add(R)}}{const $=N.auxiliaryFiles.size;N.auxiliaryFiles.delete(E);if($!==N.auxiliaryFiles.size){N.auxiliaryFiles.add(R)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const R=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,R);const N=R&&R.related;if(N){for(const E of Object.keys(N)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const R=N[E];if(Array.isArray(R)){R.forEach(checkUsedAndDelete)}else if(R){checkUsedAndDelete(R)}}}for(const R of this.chunks){R.files.delete(E);R.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const R of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,R)){E.push({name:R,source:this.assets[R],info:this.assetsInfo.get(R)||Bt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Bt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const R of this.modules){if(R.buildInfo.assets){const N=R.buildInfo.assetsInfo;for(const $ of Object.keys(R.buildInfo.assets)){const j=this.getPath($,{chunkGraph:this.chunkGraph,module:R});for(const N of E.getModuleChunksIterable(R)){N.auxiliaryFiles.add(j)}this.emitAsset(j,R.buildInfo.assets[$],N?N.get($):undefined);this.hooks.moduleAsset.call(R,j)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const R=this.outputOptions;const N=new WeakMap;const j=new Map;$.forEachLimit(this.chunks,15,((E,q)=>{let G;try{G=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:R,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(R){this.errors.push(new Be(E,"",R));return q()}$.forEach(G,((R,$)=>{const q=R.identifier;const G=R.hash;const ie=this._assetsCache.getItemCache(q,G);ie.get(((q,ae)=>{let le;let _e;let Ee;let Me=true;const errorAndCallback=R=>{const N=_e||(typeof _e==="string"?_e:typeof le==="string"?le:"");this.errors.push(new Be(E,N,R));Me=false;return $()};try{if("filename"in R){_e=R.filename;Ee=R.info}else{le=R.filenameTemplate;const E=this.getPathWithInfo(le,R.pathOptions);_e=E.path;Ee=R.info?{...E.info,...R.info}:E.info}if(q){return errorAndCallback(q)}let Ie=ae;const Te=j.get(_e);if(Te!==undefined){if(Te.hash!==G){Me=false;return $(new pt(`Conflict: Multiple chunks emit assets to the same filename ${_e}`+` (chunks ${Te.chunk.id} and ${E.id})`))}else{Ie=Te.source}}else if(!Ie){Ie=R.render();if(!(Ie instanceof we)){const E=N.get(Ie);if(E){Ie=E}else{const E=new we(Ie);N.set(Ie,E);Ie=E}}}this.emitAsset(_e,Ie,Ee);if(R.auxiliary){E.auxiliaryFiles.add(_e)}else{E.files.add(_e)}this.hooks.chunkAsset.call(E,_e);j.set(_e,{hash:G,source:Ie,chunk:E});if(Ie!==ae){ie.store(Ie,(E=>{if(E)return errorAndCallback(E);Me=false;return $()}))}else{Me=false;$()}}catch(q){if(!Me)throw q;errorAndCallback(q)}}))}),q)}),E)}getPath(E,R={}){if(!R.hash){R={hash:this.hash,...R}}return this.getAssetPath(E,R)}getPathWithInfo(E,R={}){if(!R.hash){R={hash:this.hash,...R}}return this.getAssetPathWithInfo(E,R)}getAssetPath(E,R){return this.hooks.assetPath.call(typeof E==="function"?E(R):E,R,undefined)}getAssetPathWithInfo(E,R){const N={};const $=this.hooks.assetPath.call(typeof E==="function"?E(R,N):E,R,N);return{path:$,info:N}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,R,N){const $=this.childrenCounters[E]||0;this.childrenCounters[E]=$+1;return this.compiler.createChildCompiler(this,E,$,R,N)}executeModule(E,R,N){const j=new Set([E]);Rt(j,10,((E,R,N)=>{this.buildQueue.waitFor(E,($=>{if($)return N($);this.processDependenciesQueue.waitFor(E,($=>{if($)return N($);for(const{module:N}of this.moduleGraph.getOutgoingConnections(E)){const E=j.size;j.add(N);if(j.size!==E)R(N)}N()}))}))}),(q=>{if(q)return N(q);const G=new Te(this.moduleGraph,this.outputOptions.hashFunction);const ie="build time";const{hashFunction:ae,hashDigest:le,hashDigestLength:_e}=this.outputOptions;const Ee=this.runtimeTemplate;const we=new Ie("build time chunk",this._backCompat);we.id=we.name;we.ids=[we.id];we.runtime=ie;const Me=new Ge({runtime:ie,chunkLoading:false,...R.entryOptions});G.connectChunkAndEntryModule(we,E,Me);Ve(Me,we);Me.setRuntimeChunk(we);Me.setEntrypointChunk(we);const Ne=new Set([we]);for(const E of j){const R=E.identifier();G.setModuleId(E,R);G.connectChunkAndModule(we,E)}for(const E of j){this._createModuleHash(E,G,ie,ae,Ee,le,_e)}const Be=new ze(this.outputOptions.hashFunction);const Le=[];const codeGen=(E,R)=>{this._codeGenerationModule(E,ie,[ie],G.getModuleHash(E,ie),this.dependencyTemplates,G,this.moduleGraph,Ee,Le,Be,((E,N)=>{R(E)}))};const reportErrors=()=>{if(Le.length>0){Le.sort(At((E=>E.module),Mt));for(const E of Le){this.errors.push(E)}Le.length=0}};$.eachLimit(j,10,codeGen,(R=>{if(R)return N(R);reportErrors();const q=this.chunkGraph;this.chunkGraph=G;this.processRuntimeRequirements({chunkGraph:G,modules:j,chunks:Ne,codeGenerationResults:Be,chunkGraphEntries:Ne});this.chunkGraph=q;const Me=G.getChunkRuntimeModulesIterable(we);for(const E of Me){j.add(E);this._createModuleHash(E,G,ie,ae,Ee,le,_e)}$.eachLimit(Me,10,codeGen,(R=>{if(R)return N(R);reportErrors();const q=new Map;const ae=new Map;const le=new _t;const _e=new _t;const Ee=new _t;const Me=new _t;const Ie=new Map;let Te=true;const Ne={assets:Ie,__webpack_require__:undefined,chunk:we,chunkGraph:G};$.eachLimit(j,10,((E,R)=>{const N=Be.get(E,ie);const $={module:E,codeGenerationResult:N,preparedInfo:undefined,moduleObject:undefined};q.set(E,$);ae.set(E.identifier(),$);E.addCacheDependencies(le,_e,Ee,Me);if(E.buildInfo.cacheable===false){Te=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:R,assetsInfo:N}=E.buildInfo;for(const E of Object.keys(R)){Ie.set(E,{source:R[E],info:N?N.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync($,Ne,R)}),(R=>{if(R)return N(R);let $;try{const{strictModuleErrorHandling:R,strictModuleExceptionHandling:N}=this.outputOptions;const __nested_webpack_require_150631__=E=>{const R=ie[E];if(R!==undefined){if(R.error)throw R.error;return R.exports}const N=ae.get(E);return __webpack_require_module__(N,E)};const j=__nested_webpack_require_150631__[lt.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ie=__nested_webpack_require_150631__[lt.moduleCache.replace("__webpack_require__.","")]={};Ne.__webpack_require__=__nested_webpack_require_150631__;const __webpack_require_module__=(E,$)=>{var q={id:$,module:{id:$,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_150631__};j.forEach((E=>E(q)));const G=E.module;this.buildTimeExecutedModules.add(G);const ae=q.module;E.moduleObject=ae;try{if($)ie[$]=ae;Je((()=>this.hooks.executeModule.call(E,Ne)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(E){if(N){if($)delete ie[$]}else if(R){ae.error=E}if(!E.module)E.module=G;throw E}};for(const E of G.getChunkRuntimeModulesInOrder(we)){__webpack_require_module__(q.get(E))}$=__nested_webpack_require_150631__(E.identifier())}catch(R){const $=new pt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${R.message}`);$.stack=R.stack;$.module=R.module;return N($)}N(null,{exports:$,assets:Ie,cacheable:Te,fileDependencies:le,contextDependencies:_e,missingDependencies:Ee,buildDependencies:Me})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const R=new Set;for(const N of this.modules){if(N.type==="runtime")continue;const $=E.getModuleId(N);if($===null)continue;if(R.has($)){throw new Error(`checkConstraints: duplicate module id ${$}`)}R.add($)}for(const R of this.chunks){for(const N of E.getChunkModulesIterable(R)){if(!this.modules.has(N)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${R.debugId} ${N.debugId}`)}}for(const N of E.getChunkEntryModulesIterable(R)){if(!this.modules.has(N)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${R.debugId} ${N.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}Compilation.prototype.factorizeModule=function(E,R){this.factorizeQueue.add(E,R)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:Ee.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:Ee.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,R,N)=>{"use strict";const $=N(78688);const j=N(62355);const{SyncHook:q,SyncBailHook:G,AsyncParallelHook:ie,AsyncSeriesHook:ae}=N(92960);const{SizeOnlySource:le}=N(2991);const _e=N(86443);const Ee=N(54725);const we=N(6503);const Me=N(45137);const Ie=N(3080);const Te=N(27310);const Ne=N(89869);const Be=N(75412);const Le=N(43229);const je=N(80910);const ze=N(1819);const Ue=N(10140);const qe=N(84693);const Ge=N(81627);const{Logger:He}=N(78539);const{join:We,dirname:Ve,mkdirp:Ke}=N(95396);const{makePathsRelative:Qe}=N(49197);const{isSourceEqual:Je}=N(13559);const isSorted=E=>{for(let R=1;RE[R])return false}return true};const sortObject=(E,R)=>{const N={};for(const $ of R.sort()){N[$]=E[$]}return N};const includesHash=(E,R)=>{if(!R)return false;if(Array.isArray(R)){return R.some((R=>E.includes(R)))}else{return E.includes(R)}};class Compiler{constructor(E,R={}){this.hooks=Object.freeze({initialize:new q([]),shouldEmit:new G(["compilation"]),done:new ae(["stats"]),afterDone:new q(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new q(["compilation","params"]),compilation:new q(["compilation","params"]),normalModuleFactory:new q(["normalModuleFactory"]),contextModuleFactory:new q(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new q(["params"]),make:new ie(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),watchRun:new ae(["compiler"]),failed:new q(["error"]),invalid:new q(["filename","changeTime"]),watchClose:new q([]),shutdown:new ae([]),infrastructureLog:new G(["origin","type","args"]),environment:new q([]),afterEnvironment:new q([]),afterPlugins:new q(["compiler"]),afterResolvers:new q(["compiler"]),entryOption:new G(["context","entry"])});this.webpack=_e;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new ze;this.infrastructureLogger=undefined;this.options=R;this.context=E;this.requestShortener=new je(E,this.root);this.cache=new Ee;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new we(this.cache,`${this.compilerPath}${E}`,this.options.output.hashFunction)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new He(((R,N)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,R,N)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,R,N)}}}),(R=>{if(typeof E==="function"){if(typeof R==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}}else{if(typeof R==="function"){return this.getInfrastructureLogger((()=>{if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getInfrastructureLogger(`${E}/${R}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Me.clearChunkGraphForModule(E);Be.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Me.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,R){if(this.running){return R(new Te)}this.running=true;this.watchMode=true;this.watching=new qe(this,E,R);return this.watching}run(E){if(this.running){return E(new Te)}let R;const finalCallback=(N,$)=>{if(R)R.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(R)R.timeEnd("beginIdle");this.running=false;if(N){this.hooks.failed.call(N)}if(E!==undefined)E(N,$);this.hooks.afterDone.call($)};const N=Date.now();this.running=true;const onCompiled=(E,$)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call($)===false){$.startTime=N;$.endTime=Date.now();const E=new Ue($);this.hooks.done.callAsync(E,(R=>{if(R)return finalCallback(R);return finalCallback(null,E)}));return}process.nextTick((()=>{R=$.getLogger("webpack.Compiler");R.time("emitAssets");this.emitAssets($,(E=>{R.timeEnd("emitAssets");if(E)return finalCallback(E);if($.hooks.needAdditionalPass.call()){$.needAdditionalPass=true;$.startTime=N;$.endTime=Date.now();R.time("done hook");const E=new Ue($);this.hooks.done.callAsync(E,(E=>{R.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}R.time("emitRecords");this.emitRecords((E=>{R.timeEnd("emitRecords");if(E)return finalCallback(E);$.startTime=N;$.endTime=Date.now();R.time("done hook");const j=new Ue($);this.hooks.done.callAsync(j,(E=>{R.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies($.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,j)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const R=Date.now();this.compile(((N,$)=>{if(N)return E(N);this.parentCompilation.children.push($);for(const{name:E,source:R,info:N}of $.getAssets()){this.parentCompilation.emitAsset(E,R,N)}const j=[];for(const E of $.entrypoints.values()){j.push(...E.chunks)}$.startTime=R;$.endTime=Date.now();return E(null,j,$)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,R){let N;const emitFiles=$=>{if($)return R($);const q=E.getAssets();E.assets={...E.assets};const G=new Map;const ie=new Set;j.forEachLimit(q,15,(({name:R,source:$,info:j},q)=>{let ae=R;let _e=j.immutable;const Ee=ae.indexOf("?");if(Ee>=0){ae=ae.substr(0,Ee);_e=_e&&(includesHash(ae,j.contenthash)||includesHash(ae,j.chunkhash)||includesHash(ae,j.modulehash)||includesHash(ae,j.fullhash))}const writeOut=j=>{if(j)return q(j);const Ee=We(this.outputFileSystem,N,ae);ie.add(Ee);const we=this._assetEmittingWrittenFiles.get(Ee);let Me=this._assetEmittingSourceCache.get($);if(Me===undefined){Me={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set($,Me)}let Ie;const checkSimilarFile=()=>{const E=Ee.toLowerCase();Ie=G.get(E);if(Ie!==undefined){const{path:E,source:N}=Ie;if(Je(N,$)){if(Ie.size!==undefined){updateWithReplacementSource(Ie.size)}else{if(!Ie.waiting)Ie.waiting=[];Ie.waiting.push({file:R,cacheEntry:Me})}alreadyWritten()}else{const N=new Ge(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${Ee}\n${E}`);N.file=R;q(N)}return true}else{G.set(E,Ie={path:Ee,source:$,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof $.buffer==="function"){return $.buffer()}else{const E=$.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(we===undefined){const E=1;this._assetEmittingWrittenFiles.set(Ee,E);Me.writtenTo.set(Ee,E)}else{Me.writtenTo.set(Ee,we)}q()};const doWrite=j=>{this.outputFileSystem.writeFile(Ee,j,(G=>{if(G)return q(G);E.emittedAssets.add(R);const ie=we===undefined?1:we+1;Me.writtenTo.set(Ee,ie);this._assetEmittingWrittenFiles.set(Ee,ie);this.hooks.assetEmitted.callAsync(R,{content:j,source:$,outputPath:N,compilation:E,targetPath:Ee},q)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(R,Me,E);Ie.size=E;if(Ie.waiting!==undefined){for(const{file:R,cacheEntry:N}of Ie.waiting){updateFileWithReplacementSource(R,N,E)}}};const updateFileWithReplacementSource=(R,N,$)=>{if(!N.sizeOnlySource){N.sizeOnlySource=new le($)}E.updateAsset(R,N.sizeOnlySource,{size:$})};const processExistingFile=N=>{if(_e){updateWithReplacementSource(N.size);return alreadyWritten()}const $=getContent();updateWithReplacementSource($.length);if($.length===N.size){E.comparedForEmitAssets.add(R);return this.outputFileSystem.readFile(Ee,((E,R)=>{if(E||!$.equals(R)){return doWrite($)}else{return alreadyWritten()}}))}return doWrite($)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(we!==undefined){const N=Me.writtenTo.get(Ee);if(N===we){if(this._assetEmittingPreviousFiles.has(Ee)){E.updateAsset(R,Me.sizeOnlySource,{size:Me.sizeOnlySource.size()});return q()}else{_e=true}}else if(!_e){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(Ee,((E,R)=>{const N=!E&&R.isFile();if(N){processExistingFile(R)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const E=this.outputFileSystem;const R=Ve(E,We(E,N,ae));Ke(E,R,writeOut)}else{writeOut()}}),(N=>{G.clear();if(N){this._assetEmittingPreviousFiles.clear();return R(N)}this._assetEmittingPreviousFiles=ie;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return R(E);return R()}))}))};this.hooks.emit.callAsync(E,($=>{if($)return R($);N=E.getPath(this.outputPath,{});Ke(this.outputFileSystem,N,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,R)=>{if(typeof R==="object"&&R!==null&&!Array.isArray(R)){const E=Object.keys(R);if(!isSorted(E)){return sortObject(R,E)}}return R}),2),E)};const R=Ve(this.outputFileSystem,this.recordsOutputPath);if(!R){return writeFile()}Ke(this.outputFileSystem,R,(R=>{if(R)return E(R);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(R=>{if(R)return E();this.inputFileSystem.readFile(this.recordsInputPath,((R,N)=>{if(R)return E(R);try{this.records=$(N.toString("utf-8"))}catch(R){R.message="Cannot parse records: "+R.message;return E(R)}return E()}))}))}createChildCompiler(E,R,N,$,j){const q=new Compiler(this.context,{...this.options,output:{...this.options.output,...$}});q.name=R;q.outputPath=this.outputPath;q.inputFileSystem=this.inputFileSystem;q.outputFileSystem=null;q.resolverFactory=this.resolverFactory;q.modifiedFiles=this.modifiedFiles;q.removedFiles=this.removedFiles;q.fileTimestamps=this.fileTimestamps;q.contextTimestamps=this.contextTimestamps;q.fsStartTime=this.fsStartTime;q.cache=this.cache;q.compilerPath=`${this.compilerPath}${R}|${N}|`;q._backCompat=this._backCompat;const G=Qe(this.context,R,this.root);if(!this.records[G]){this.records[G]=[]}if(this.records[G][N]){q.records=this.records[G][N]}else{this.records[G].push(q.records={})}q.parentCompilation=E;q.root=this.root;if(Array.isArray(j)){for(const E of j){E.apply(q)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(q.hooks[E]){q.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(q,R,N);return q}isChild(){return!!this.parentCompilation}createCompilation(E){this._cleanupLastCompilation();return this._lastCompilation=new Ie(this,E)}newCompilation(E){const R=this.createCompilation(E);R.name=this.name;R.records=this.records;this.hooks.thisCompilation.call(R,E);this.hooks.compilation.call(R,E);return R}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Le({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Ne(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const R=this.newCompilationParams();this.hooks.beforeCompile.callAsync(R,(N=>{if(N)return E(N);this.hooks.compile.call(R);const $=this.newCompilation(R);const j=$.getLogger("webpack.Compiler");j.time("make hook");this.hooks.make.callAsync($,(R=>{j.timeEnd("make hook");if(R)return E(R);j.time("finish make hook");this.hooks.finishMake.callAsync($,(R=>{j.timeEnd("finish make hook");if(R)return E(R);process.nextTick((()=>{j.time("finish compilation");$.finish((R=>{j.timeEnd("finish compilation");if(R)return E(R);j.time("seal compilation");$.seal((R=>{j.timeEnd("seal compilation");if(R)return E(R);j.time("afterCompile hook");this.hooks.afterCompile.callAsync($,(R=>{j.timeEnd("afterCompile hook");if(R)return E(R);return E(null,$)}))}))}))}))}))}))}))}close(E){if(this.watching){this.watching.close((R=>{this.close(E)}));return}this.hooks.shutdown.callAsync((R=>{if(R)return E(R);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const R=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const N="__WEBPACK_DEFAULT_EXPORT__";const $="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,R){this._currentModule=R;if(Array.isArray(E)){const R=new Map;for(const N of E){R.set(N.module,N)}E=R}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,R){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,R)}}registerRawExport(E,R){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,R)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:R=undefined,call:N=false,directImport:$=false,asiSafe:j=false}){const q=this._modulesMap.get(E);const G=N?"_call":"";const ie=$?"_directImport":"";const ae=j?"_asiSafe1":j===false?"_asiSafe0":"";const le=R?Buffer.from(JSON.stringify(R),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${q.index}_${le}${G}${ie}${ae}__._`}static isModuleReference(E){return R.test(E)}static matchModuleReference(E){const N=R.exec(E);if(!N)return null;const $=+N[1];const j=N[5];return{index:$,ids:N[2]==="ns"?[]:JSON.parse(Buffer.from(N[2],"hex").toString("utf-8")),call:!!N[3],directImport:!!N[4],asiSafe:j?j==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=N;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=$;E.exports=ConcatenationScope},27310:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class ConcurrentCompilationError extends ${constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j}=N(2991);const q=N(63272);const G=N(58159);const{mergeRuntime:ie}=N(37416);const wrapInCondition=(E,R)=>{if(typeof R==="string"){return G.asString([`if (${E}) {`,G.indent(R),"}",""])}else{return new $(`if (${E}) {\n`,new j("\t",R),"}\n")}};class ConditionalInitFragment extends q{constructor(E,R,N,$,j=true,q){super(E,R,N,$,q);this.runtimeCondition=j}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const R=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(R==="true")return this.content;return wrapInCondition(R,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const R=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(R==="true")return this.endContent;return wrapInCondition(R,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const R=ie(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,R,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,R,N)=>{"use strict";const $=N(59455);const j=N(66298);const{evaluateToString:q}=N(48472);const{parseResource:G}=N(49197);const collectDeclaration=(E,R)=>{const N=[R];while(N.length>0){const R=N.pop();switch(R.type){case"Identifier":E.add(R.name);break;case"ArrayPattern":for(const E of R.elements){if(E){N.push(E)}}break;case"AssignmentPattern":N.push(R.left);break;case"ObjectPattern":for(const E of R.properties){N.push(E.value)}break;case"RestElement":N.push(R.argument);break}}};const getHoistedDeclarations=(E,R)=>{const N=new Set;const $=[E];while($.length>0){const E=$.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const R of E.body){$.push(R)}break;case"IfStatement":$.push(E.consequent);$.push(E.alternate);break;case"ForStatement":$.push(E.init);$.push(E.body);break;case"ForInStatement":case"ForOfStatement":$.push(E.left);$.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":$.push(E.body);break;case"SwitchStatement":for(const R of E.cases){for(const E of R.consequent){$.push(E)}}break;case"TryStatement":$.push(E.block);if(E.handler){$.push(E.handler.body)}$.push(E.finalizer);break;case"FunctionDeclaration":if(R){collectDeclaration(N,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const R of E.declarations){collectDeclaration(N,R.id)}}break}}return Array.from(N)};class ConstPlugin{apply(E){const R=G.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;const N=E.evaluateExpression(R.test);const $=N.asBool();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()){const q=new j(`${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.test)}const q=$?R.alternate:R.consequent;if(q){let R;if(E.scope.isStrict){R=getHoistedDeclarations(q,false)}else{R=getHoistedDeclarations(q,true)}let N;if(R.length>0){N=`{ var ${R.join(", ")}; }`}else{N="{}"}const $=new j(N,q.range);$.loc=q.loc;E.state.module.addPresentationalDependency($)}return $}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;const N=E.evaluateExpression(R.test);const $=N.asBool();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()){const q=new j(` ${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.test)}const q=$?R.alternate:R.consequent;const G=new j("0",q.range);G.loc=q.loc;E.state.module.addPresentationalDependency(G);return $}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(R.operator==="&&"||R.operator==="||"){const N=E.evaluateExpression(R.left);const $=N.asBool();if(typeof $==="boolean"){const q=R.operator==="&&"&&$||R.operator==="||"&&!$;if(!N.couldHaveSideEffects()&&(N.isBoolean()||q)){const q=new j(` ${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.left)}if(!q){const N=new j("0",R.right.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N)}return q}}else if(R.operator==="??"){const N=E.evaluateExpression(R.left);const $=N&&N.asNullish();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()&&$){const $=new j(" null",N.range);$.loc=R.loc;E.state.module.addPresentationalDependency($)}else{const N=new j("0",R.right.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);E.walkExpression(R.left)}return $}}}));E.hooks.optionalChaining.tap("ConstPlugin",(R=>{const N=[];let $=R.expression;while($.type==="MemberExpression"||$.type==="CallExpression"){if($.type==="MemberExpression"){if($.optional){N.push($.object)}$=$.object}else{if($.optional){N.push($.callee)}$=$.callee}}while(N.length){const $=N.pop();const q=E.evaluateExpression($);if(q&&q.asNullish()){const N=new j(" undefined",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(R(E.state.module.resource).query)(N)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const j=new $(JSON.stringify(R(E.state.module.resource).query),N.range,"__resourceQuery");j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(R(E.state.module.resource).fragment)(N)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const j=new $(JSON.stringify(R(E.state.module.resource).fragment),N.range,"__resourceFragment");j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}))};N.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(2991);const q=N(98221);const{makeWebpackError:G}=N(3728);const ie=N(53453);const ae=N(76150);const le=N(58159);const _e=N(81627);const{compareLocations:Ee,concatComparators:we,compareSelect:Me,keepOriginalOrder:Ie,compareModulesById:Te}=N(68673);const{contextify:Ne,parseResource:Be}=N(49197);const Le=N(56202);const je={timestamp:true};const ze=new Set(["javascript"]);class ContextModule extends ie{constructor(E,R){const N=Be(R?R.resource:"");const $=N.path;const j=R&&R.resourceQuery||N.query;const q=R&&R.resourceFragment||N.fragment;super("javascript/dynamic",$);this.resolveDependencies=E;this.options={...R,resource:$,resourceQuery:j,resourceFragment:q};if(R&&R.resolveOptions!==undefined){this.resolveOptions=R.resolveOptions}if(R&&typeof R.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return ze}updateCacheModule(E){const R=E;this.resolveDependencies=R.resolveDependencies;this.options=R.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let R=E.shorten(this.context)+"/";if(this.options.resourceQuery){R+=` ${this.options.resourceQuery}`}if(this.options.mode){R+=` ${this.options.mode}`}if(!this.options.recursive){R+=" nonrecursive"}if(this.options.addon){R+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){R+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){R+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){R+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){R+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){R+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const N of Object.keys(E)){R+=` ${N}: ${E[N]}`}}if(this.options.namespaceObject==="strict"){R+=" strict namespace object"}else if(this.options.namespaceObject){R+=" namespace object"}return R}libIdent(E){let R=Ne(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){R+=` ${this.options.mode}`}if(this.options.recursive){R+=" recursive"}if(this.options.addon){R+=` ${Ne(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){R+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){R+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){R+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){R+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return R}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},R){if(this._forceBuild)return R(null,true);if(!this.buildInfo.snapshot)return R(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,N)=>{R(E,!N)}))}build(E,R,N,$,j){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ie=Date.now();this.resolveDependencies($,this.options,((E,N)=>{if(E){return j(G(E,"ContextModule.resolveDependencies"))}if(!N){j();return}for(const E of N){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}N.sort(we(Me((E=>E.loc),Ee),Ie(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=N}else if(this.options.mode==="lazy-once"){if(N.length>0){const E=new q({...this.options.groupOptions,name:this.options.chunkName});for(const R of N){E.addDependency(R)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of N){E.weak=true}this.dependencies=N}else if(this.options.mode==="lazy"){let E=0;for(const R of N){let N=this.options.chunkName;if(N){if(!/\[(index|request)\]/.test(N)){N+="[index]"}N=N.replace(/\[index\]/g,`${E++}`);N=N.replace(/\[request\]/g,le.toPath(R.userRequest))}const $=new q({...this.options.groupOptions,name:N},R.loc,R.userRequest);$.addDependency(R);this.addBlock($)}}else{j(new _e(`Unsupported mode "${this.options.mode}" in context`));return}R.fileSystemInfo.createSnapshot(ie,null,[this.context],null,je,((E,R)=>{if(E)return j(E);this.buildInfo.snapshot=R;j()}))}))}addCacheDependencies(E,R,N,$){R.add(this.context)}getUserRequestMap(E,R){const N=R.moduleGraph;const $=E.filter((E=>N.getModule(E))).sort(((E,R)=>{if(E.userRequest===R.userRequest){return 0}return E.userRequestN.getModule(E))).filter(Boolean).sort(j);const G=Object.create(null);for(const E of q){const j=E.getExportsType(N,this.options.namespaceObject==="strict");const q=R.getModuleId(E);switch(j){case"namespace":G[q]=9;$|=1;break;case"dynamic":G[q]=7;$|=2;break;case"default-only":G[q]=1;$|=4;break;case"default-with-named":G[q]=3;$|=8;break;default:throw new Error(`Unexpected exports type ${j}`)}}if($===1){return 9}if($===2){return 7}if($===4){return 1}if($===8){return 3}if($===0){return 9}return G}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,R){if(E===9){return"__webpack_require__(id)"}return`${ae.createFakeNamespaceObject}(id, ${E}${R?" | 16":""})`}getReturnModuleObjectSource(E,R,N="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,R)};`}return`return ${ae.createFakeNamespaceObject}(id, ${N}${R?" | 16":""})`}getSyncSource(E,R,N){const $=this.getUserRequestMap(E,N);const j=this.getFakeMap(E,N);const q=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(R)};`}getWeakSyncSource(E,R,N){const $=this.getUserRequestMap(E,N);const j=this.getFakeMap(E,N);const q=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=$.supportsArrowFunction();const q=this.getUserRequestMap(E,N);const G=this.getFakeMap(E,N);const ie=this.getReturnModuleObjectSource(G,true);return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${j?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ie}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=$.supportsArrowFunction();const q=this.getUserRequestMap(E,N);const G=this.getFakeMap(E,N);const ie=G!==9?`${j?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(G)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ie});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,R,N,{runtimeTemplate:$,chunkGraph:j}){const q=$.blockPromise({chunkGraph:j,block:E,message:"lazy-once context",runtimeRequirements:new Set});const G=$.supportsArrowFunction();const ie=this.getUserRequestMap(R,j);const le=this.getFakeMap(R,j);const _e=le!==9?`${G?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(le,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ie,null,"\t")};\n${this.getFakeMapInitStatement(le)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${_e});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${q}.then(${G?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=N.moduleGraph;const q=$.supportsArrowFunction();let G=false;let ie=true;const le=this.getFakeMap(E.map((E=>E.dependencies[0])),N);const _e=typeof le==="object";const Ee=E.map((E=>{const R=E.dependencies[0];return{dependency:R,module:j.getModule(R),block:E,userRequest:R.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of Ee){const R=N.getBlockChunkGroup(E.block);const $=R&&R.chunks||[];E.chunks=$;if($.length>0){ie=false}if($.length!==1){G=true}}const we=ie&&!_e;const Me=Ee.sort(((E,R)=>{if(E.userRequest===R.userRequest)return 0;return E.userRequestE.id)))}}const Te=_e?2:1;const Ne=ie?"Promise.resolve()":G?`Promise.all(ids.slice(${Te}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Te}])`;const Be=this.getReturnModuleObjectSource(le,true,we?"invalid":"ids[1]");const Le=Ne==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${we?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Be}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Ne}.then(${q?"() =>":"function()"} {\n\t\t${Be}\n\t});\n}`;return`var map = ${JSON.stringify(Ie,null,"\t")};\n${Le}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,R){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${R.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,R){const N=R.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${R.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:R,chunkGraph:N}){const $=N.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,$,{runtimeTemplate:R,chunkGraph:N})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,$,{chunkGraph:N,runtimeTemplate:R})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,$,{runtimeTemplate:R,chunkGraph:N})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,$,{chunkGraph:N,runtimeTemplate:R})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,$,N)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,$,N)}return this.getSourceForEmptyContext($,R)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new $(E,this.identifier())}return new j(E)}codeGeneration(E){const{chunkGraph:R}=E;const N=new Map;N.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const $=new Set;const j=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));$.add(ae.module);$.add(ae.hasOwnProperty);if(j.length>0){const E=this.options.mode;$.add(ae.require);if(E==="weak"){$.add(ae.moduleFactories)}else if(E==="async-weak"){$.add(ae.moduleFactories);$.add(ae.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){$.add(ae.ensureChunk)}if(this.getFakeMap(j,R)!==9){$.add(ae.createFakeNamespaceObject)}}return{sources:N,runtimeRequirements:$}}size(E){let R=160;for(const E of this.dependencies){const N=E;R+=5+N.userRequest.length}return R}serialize(E){const{write:R}=E;R(this._identifier);R(this._forceBuild);super.serialize(E)}deserialize(E){const{read:R}=E;this._identifier=R();this._forceBuild=R();super.deserialize(E)}}Le(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,R,N)=>{"use strict";const $=N(62355);const{AsyncSeriesWaterfallHook:j,SyncWaterfallHook:q}=N(92960);const G=N(58126);const ie=N(40674);const ae=N(90872);const le=N(83379);const{cachedSetProperty:_e}=N(90149);const{createFakeHook:Ee}=N(16595);const{join:we}=N(95396);const Me={};E.exports=class ContextModuleFactory extends ie{constructor(E){super();const R=new j(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new j(["data"]),afterResolve:new j(["data"]),contextModuleFiles:new q(["files"]),alternatives:Ee({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,N)=>{R.tap(E,N)},tapAsync:(E,N)=>{R.tapAsync(E,((E,R,$)=>N(E,$)))},tapPromise:(E,N)=>{R.tapPromise(E,N)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:R});this.resolverFactory=E}create(E,R){const N=E.context;const j=E.dependencies;const q=E.resolveOptions;const ie=j[0];const ae=new le;const Ee=new le;const we=new le;this.hooks.beforeResolve.callAsync({context:N,dependencies:j,resolveOptions:q,fileDependencies:ae,missingDependencies:Ee,contextDependencies:we,...ie.options},((E,N)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}if(!N){return R(null,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}const q=N.context;const ie=N.request;const le=N.resolveOptions;let Ie,Te,Ne="";const Be=ie.lastIndexOf("!");if(Be>=0){let E=ie.substr(0,Be+1);let R;for(R=0;R0?_e(le||Me,"dependencyType",j[0].category):le);const je=this.resolverFactory.get("loader");$.parallel([E=>{Le.resolve({},q,Te,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we},((R,N)=>{if(R)return E(R);E(null,N)}))},E=>{$.map(Ie,((E,R)=>{je.resolve({},q,E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we},((E,N)=>{if(E)return R(E);R(null,N)}))}),E)}],((E,$)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}this.hooks.afterResolve.callAsync({addon:Ne+$[1].join("!")+($[1].length>0?"!":""),resource:$[0],resolveDependencies:this.resolveDependencies.bind(this),...N},((E,N)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}if(!N){return R(null,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}return R(null,{module:new G(N.resolveDependencies,N),fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}))}))}))}resolveDependencies(E,R,N){const j=this;const{resource:q,resourceQuery:G,resourceFragment:ie,recursive:le,regExp:_e,include:Ee,exclude:Me,referencedExports:Ie,category:Te,typePrefix:Ne}=R;if(!_e||!q)return N(null,[]);const addDirectoryChecked=(R,N,$)=>{E.realpath(R,((E,j)=>{if(E)return $(E);if(N.has(j))return $(null,[]);let q;addDirectory(R,((E,R)=>{if(q===undefined){q=new Set(N);q.add(j)}addDirectoryChecked(E,q,R)}),$)}))};const addDirectory=(N,Be,Le)=>{E.readdir(N,((je,ze)=>{if(je)return Le(je);const Ue=j.hooks.contextModuleFiles.call(ze.map((E=>E.normalize("NFC"))));if(!Ue||Ue.length===0)return Le(null,[]);$.map(Ue.filter((E=>E.indexOf(".")!==0)),(($,j)=>{const Le=we(E,N,$);if(!Me||!Le.match(Me)){E.stat(Le,((E,N)=>{if(E){if(E.code==="ENOENT"){return j()}else{return j(E)}}if(N.isDirectory()){if(!le)return j();Be(Le,j)}else if(N.isFile()&&(!Ee||Le.match(Ee))){const E={context:q,request:"."+Le.substr(q.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],R,((E,R)=>{if(E)return j(E);R=R.filter((E=>_e.test(E.request))).map((E=>{const R=new ae(E.request+G+ie,E.request,Ne,Te,Ie);R.optional=true;return R}));j(null,R)}))}else{j()}}))}else{j()}}),((E,R)=>{if(E)return Le(E);if(!R)return Le(null,[]);const N=[];for(const E of R){if(E)N.push(...E)}Le(null,N)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(q,new Set,N)}else{const addSubDirectory=(E,R)=>addDirectory(E,addSubDirectory,R);addDirectory(q,addSubDirectory,N)}}}},26552:(E,R,N)=>{"use strict";const $=N(90872);const{join:j}=N(95396);class ContextReplacementPlugin{constructor(E,R,N,$){this.resourceRegExp=E;if(typeof R==="function"){this.newContentCallback=R}else if(typeof R==="string"&&typeof N==="object"){this.newContentResource=R;this.newContentCreateContextMap=(E,R)=>{R(null,N)}}else if(typeof R==="string"&&typeof N==="function"){this.newContentResource=R;this.newContentCreateContextMap=N}else{if(typeof R!=="string"){$=N;N=R;R=undefined}if(typeof N!=="boolean"){$=N;N=undefined}this.newContentResource=R;this.newContentRecursive=N;this.newContentRegExp=$}}apply(E){const R=this.resourceRegExp;const N=this.newContentCallback;const $=this.newContentResource;const q=this.newContentRecursive;const G=this.newContentRegExp;const ie=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(R.test(E.request)){if($!==undefined){E.request=$}if(q!==undefined){E.recursive=q}if(G!==undefined){E.regExp=G}if(typeof N==="function"){N(E)}else{for(const R of E.dependencies){if(R.critical)R.critical=false}}}return E}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(R.test(ae.resource)){if($!==undefined){if($.startsWith("/")||$.length>1&&$[1]===":"){ae.resource=$}else{ae.resource=j(E.inputFileSystem,ae.resource,$)}}if(q!==undefined){ae.recursive=q}if(G!==undefined){ae.regExp=G}if(typeof ie==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(ie)}if(typeof N==="function"){const R=ae.resource;N(ae);if(ae.resource!==R&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=j(E.inputFileSystem,R,ae.resource)}}else{for(const E of ae.dependencies){if(E.critical)E.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(R,N,j)=>{E(R,((E,R)=>{if(E)return j(E);const q=Object.keys(R).map((E=>new $(R[E]+N.resourceQuery+N.resourceFragment,E,N.category,N.referencedExports)));j(null,q)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const q=N(66298);const G=N(87250);const{evaluateToString:ie,toConstantDependency:ae}=N(48472);const le=N(35891);class RuntimeValue{constructor(E,R){this.fn=E;if(Array.isArray(R)){R={fileDependencies:R}}this.options=R||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,R,N){const $=E.state.module.buildInfo;if(this.options===true){$.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){$.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){$.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){$.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){$.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:N,get version(){return R.get(_e+N)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,R,N,$,j,q)=>{let G;let ie=Array.isArray(E);if(ie){G=`[${E.map((E=>toCode(E,R,N,$,j,null))).join(",")}]`}else{G=`{${Object.keys(E).map(($=>{const q=E[$];return JSON.stringify($)+":"+toCode(q,R,N,$,j,null)})).join(",")}}`}switch(q){case null:return G;case true:return ie?G:`(${G})`;case false:return ie?`;${G}`:`;(${G})`;default:return`/*#__PURE__*/Object(${G})`}};const toCode=(E,R,N,$,j,q)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(R,N,$),R,N,$,j,q)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,R,N,$,j,q)}if(typeof E==="bigint"){return j.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const R=Object.keys(E).map((R=>({key:R,value:toCacheVersion(E[R])})));if(R.some((({value:E})=>E===undefined)))return undefined;return`{${R.map((({key:E,value:R})=>`${E}: ${R}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const _e="webpack/DefinePlugin ";const Ee="webpack/DefinePlugin_hash";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,R){return new RuntimeValue(E,R)}apply(E){const R=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);const{runtimeTemplate:we}=E;const Me=le(E.outputOptions.hashFunction);Me.update(E.valueCacheVersions.get(Ee)||"");const handler=N=>{const j=E.valueCacheVersions.get(Ee);N.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=N.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(Ee,j)}));const addValueDependency=R=>{const{buildInfo:$}=N.state.module;$.valueDependencies.set(_e+R,E.valueCacheVersions.get(_e+R))};const withValueDependency=(E,R)=>(...N)=>{addValueDependency(E);return R(...N)};const walkDefinitions=(E,R)=>{Object.keys(E).forEach((N=>{const $=E[N];if($&&typeof $==="object"&&!($ instanceof RuntimeValue)&&!($ instanceof RegExp)){walkDefinitions($,R+N+".");applyObjectDefine(R+N,$);return}applyDefineKey(R,N);applyDefine(R+N,$)}))};const applyDefineKey=(E,R)=>{const $=R.split(".");$.slice(1).forEach(((j,q)=>{const G=E+$.slice(0,q+1).join(".");N.hooks.canRename.for(G).tap("DefinePlugin",(()=>{addValueDependency(R);return true}))}))};const applyDefine=(R,j)=>{const q=R;const G=/^typeof\s+/.test(R);if(G)R=R.replace(/^typeof\s+/,"");let ie=false;let le=false;if(!G){N.hooks.canRename.for(R).tap("DefinePlugin",(()=>{addValueDependency(q);return true}));N.hooks.evaluateIdentifier.for(R).tap("DefinePlugin",($=>{if(ie)return;addValueDependency(q);ie=true;const G=N.evaluate(toCode(j,N,E.valueCacheVersions,R,we,null));ie=false;G.setRange($.range);return G}));N.hooks.expression.for(R).tap("DefinePlugin",(R=>{addValueDependency(q);const G=toCode(j,N,E.valueCacheVersions,q,we,!N.isAsiPosition(R.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(N,G,[$.require])(R)}else if(/__webpack_require__/.test(G)){return ae(N,G,[$.requireScope])(R)}else{return ae(N,G)(R)}}))}N.hooks.evaluateTypeof.for(R).tap("DefinePlugin",(R=>{if(le)return;le=true;addValueDependency(q);const $=toCode(j,N,E.valueCacheVersions,q,we,null);const ie=G?$:"typeof ("+$+")";const ae=N.evaluate(ie);le=false;ae.setRange(R.range);return ae}));N.hooks.typeof.for(R).tap("DefinePlugin",(R=>{addValueDependency(q);const $=toCode(j,N,E.valueCacheVersions,q,we,null);const ie=G?$:"typeof ("+$+")";const le=N.evaluate(ie);if(!le.isString())return;return ae(N,JSON.stringify(le.string)).bind(N)(R)}))};const applyObjectDefine=(R,j)=>{N.hooks.canRename.for(R).tap("DefinePlugin",(()=>{addValueDependency(R);return true}));N.hooks.evaluateIdentifier.for(R).tap("DefinePlugin",(E=>{addValueDependency(R);return(new G).setTruthy().setSideEffects(false).setRange(E.range)}));N.hooks.evaluateTypeof.for(R).tap("DefinePlugin",withValueDependency(R,ie("object")));N.hooks.expression.for(R).tap("DefinePlugin",(q=>{addValueDependency(R);const G=stringifyObj(j,N,E.valueCacheVersions,R,we,!N.isAsiPosition(q.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(N,G,[$.require])(q)}else if(/__webpack_require__/.test(G)){return ae(N,G,[$.requireScope])(q)}else{return ae(N,G)(q)}}));N.hooks.typeof.for(R).tap("DefinePlugin",withValueDependency(R,ae(N,JSON.stringify("object"))))};walkDefinitions(R,"")};N.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);N.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(R,N)=>{Object.keys(R).forEach(($=>{const q=R[$];const G=toCacheVersion(q);const ie=_e+N+$;Me.update("|"+N+$);const ae=E.valueCacheVersions.get(ie);if(ae===undefined){E.valueCacheVersions.set(ie,G)}else if(ae!==G){const R=new j(`DefinePlugin\nConflicting values for '${N+$}'`);R.details=`'${ae}' !== '${G}'`;R.hideStack=true;E.warnings.push(R)}if(q&&typeof q==="object"&&!(q instanceof RuntimeValue)&&!(q instanceof RegExp)){walkDefinitionsForValues(q,N+$+".")}}))};walkDefinitionsForValues(R,"");E.valueCacheVersions.set(Ee,Me.digest("hex").slice(0,8))}))}}E.exports=DefinePlugin},3955:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(2991);const q=N(53453);const G=N(76150);const ie=N(49422);const ae=N(96076);const le=N(56202);const _e=new Set(["javascript"]);const Ee=new Set([G.module,G.require]);class DelegatedModule extends q{constructor(E,R,N,$,j){super("javascript/dynamic",null);this.sourceRequest=E;this.request=R.id;this.delegationType=N;this.userRequest=$;this.originalRequest=j;this.delegateData=R;this.delegatedSourceDependency=undefined}getSourceTypes(){return _e}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ie(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(this.delegateData.exports||true,false));j()}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const q=this.dependencies[0];const G=R.getModule(q);let ie;if(!G){ie=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ie=`module.exports = (${E.moduleExports({module:G,chunkGraph:N,request:q.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ie+=`(${JSON.stringify(this.request)})`;break;case"object":ie+=`[${JSON.stringify(this.request)}]`;break}ie+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new $(ie,this.identifier()))}else{ae.set("javascript",new j(ie))}return{sources:ae,runtimeRequirements:Ee}}size(E){return 42}updateHash(E,R){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.sourceRequest);R(this.delegateData);R(this.delegationType);R(this.userRequest);R(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new DelegatedModule(R(),R(),R(),R(),R());N.deserialize(E);return N}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.delegationType=R.delegationType;this.userRequest=R.userRequest;this.originalRequest=R.originalRequest;this.delegateData=R.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}le(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,R,N)=>{"use strict";const $=N(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const R=this.options.scope;if(R){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,N)=>{const[j]=E.dependencies;const{request:q}=j;if(q&&q.startsWith(`${R}/`)){const E="."+q.substr(R.length);let j;if(E in this.options.content){j=this.options.content[E];return N(null,new $(this.options.source,j,this.options.type,E,q))}for(let R=0;R{const R=E.libIdent(this.options);if(R){if(R in this.options.content){const N=this.options.content[R];return new $(this.options.source,N,this.options.type,R,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,R,N)=>{"use strict";const $=N(56396);const j=N(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,R)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:R})=>{new $({associatedObjectForCache:E.root,...this.options}).apply(R)}))}}E.exports=DelegatedPlugin},32448:(E,R,N)=>{"use strict";const $=N(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let E=this;while(E.parent)E=E.parent;return E}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const R=this.dependencies.indexOf(E);if(R>=0){this.dependencies.splice(R,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,R){for(const N of this.dependencies){N.updateHash(E,R)}for(const N of this.blocks){N.updateHash(E,R)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}$(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,R,N)=>{"use strict";const $=N(91671);const j=Symbol("transitive");const q=$((()=>{const E=N(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}couldAffectReferencingModule(){return j}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,R){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,R){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return q()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=j;E.exports=Dependency},84304:(E,R,N)=>{"use strict";class DependencyTemplate{apply(E,R,$){const j=N(75884);throw new j}}E.exports=DependencyTemplate},46828:(E,R,N)=>{"use strict";const $=N(35891);class DependencyTemplates{constructor(E="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=E}get(E){return this._map.get(E)}set(E,R){this._map.set(E,R)}updateHash(E){const R=$(this._hashFunction);R.update(`${this._hash}${E}`);this._hash=R.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,R,N)=>{"use strict";const $=N(80419);const j=N(95189);const q=N(66583);class DllEntryPlugin{constructor(E,R,N){this.context=E;this.entries=R;this.options=N}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:R})=>{const N=new $;E.dependencyFactories.set(j,N);E.dependencyFactories.set(q,R)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,R)=>{E.addEntry(this.context,new j(this.entries.map(((E,R)=>{const N=new q(E);N.loc={name:this.options.name,index:R};return N})),this.options.name),this.options,R)}))}}E.exports=DllEntryPlugin},44593:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(53453);const q=N(76150);const G=N(56202);const ie=new Set(["javascript"]);const ae=new Set([q.require,q.module]);class DllModule extends j{constructor(E,R,N){super("javascript/dynamic",E);this.dependencies=R;this.name=N}getSourceTypes(){return ie}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={};return j()}codeGeneration(E){const R=new Map;R.set("javascript",new $("module.exports = __webpack_require__;"));return{sources:R,runtimeRequirements:ae}}needBuild(E,R){return R(null,!this.buildMeta)}size(E){return 12}updateHash(E,R){E.update(`dll module${this.name||""}`);super.updateHash(E,R)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}G(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,R,N)=>{"use strict";const $=N(44593);const j=N(40674);class DllModuleFactory extends j{constructor(){super();this.hooks=Object.freeze({})}create(E,R){const N=E.dependencies[0];R(null,{module:new $(E.context,N.dependencies,N.name)})}}E.exports=DllModuleFactory},73887:(E,R,N)=>{"use strict";const $=N(9013);const j=N(6283);const q=N(77750);const G=N(35817);const ie=G(N(43548),(()=>N(28991)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ie(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((R,N)=>{if(typeof N!=="function"){for(const j of Object.keys(N)){const q={name:j,filename:N.filename};new $(R,N[j].import,q).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new q(this.options).apply(E);if(!this.options.entryOnly){new j("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,R,N)=>{"use strict";const $=N(78688);const j=N(56396);const q=N(59084);const G=N(81627);const ie=N(49422);const ae=N(35817);const le=N(49197).makePathsRelative;const _e=ae(N(69744),(()=>N(67138)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){_e(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(ie,R)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((R,N)=>{if("manifest"in this.options){const j=this.options.manifest;if(typeof j==="string"){E.inputFileSystem.readFile(j,((q,G)=>{if(q)return N(q);const ie={path:j,data:undefined,error:undefined};try{ie.data=$(G.toString("utf-8"))}catch(R){const N=le(E.options.context,j,E.root);ie.error=new DllManifestError(N,R.message)}this._compilationData.set(R,ie);return N()}));return}}return N()}));E.hooks.compile.tap("DllReferencePlugin",(R=>{let N=this.options.name;let $=this.options.sourceType;let G="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let j;if(typeof E==="string"){const E=this._compilationData.get(R);if(E.error){return}j=E.data}else{j=E}if(j){if(!N)N=j.name;if(!$)$=j.type;if(!G)G=j.content}}const ie={};const ae="dll-reference "+N;ie[ae]=N;const le=R.normalModuleFactory;new q($||"var",ie).apply(le);new j({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:G,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(le)}));E.hooks.compilation.tap("DllReferencePlugin",((E,R)=>{if("manifest"in this.options){let N=this.options.manifest;if(typeof N==="string"){const $=this._compilationData.get(R);if($.error){E.errors.push($.error)}E.fileDependencies.add(N)}}}))}}class DllManifestError extends G{constructor(E,R){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${R}`}}E.exports=DllReferencePlugin},85227:(E,R,N)=>{"use strict";const $=N(64699);const j=N(59674);const q=N(66583);class DynamicEntryPlugin{constructor(E,R){this.context=E;this.entry=R}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((R,N)=>Promise.resolve(this.entry()).then((N=>{const q=[];for(const G of Object.keys(N)){const ie=N[G];const ae=$.entryDescriptionToOptions(E,G,ie);for(const E of ie.import){q.push(new Promise(((N,$)=>{R.addEntry(this.context,j.createDependency(E,ae),ae,(E=>{if(E)return $(E);N()}))})))}}return Promise.all(q)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,R,N)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((R,N)=>{EntryOptionPlugin.applyEntryOption(E,R,N);return true}))}static applyEntryOption(E,R,$){if(typeof $==="function"){const j=N(85227);new j(R,$).apply(E)}else{const j=N(59674);for(const N of Object.keys($)){const q=$[N];const G=EntryOptionPlugin.entryDescriptionToOptions(E,N,q);for(const N of q.import){new j(R,N,G).apply(E)}}}}static entryDescriptionToOptions(E,R,$){const j={name:R,filename:$.filename,runtime:$.runtime,layer:$.layer,dependOn:$.dependOn,publicPath:$.publicPath,chunkLoading:$.chunkLoading,wasmLoading:$.wasmLoading,library:$.library};if($.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if($.chunkLoading){const R=N(50369);R.checkEnabled(E,$.chunkLoading)}if($.wasmLoading){const R=N(69085);R.checkEnabled(E,$.wasmLoading)}if($.library){const R=N(13984);R.checkEnabled(E,$.library.type)}return j}}E.exports=EntryOptionPlugin},59674:(E,R,N)=>{"use strict";const $=N(66583);class EntryPlugin{constructor(E,R,N){this.context=E;this.entry=R;this.options=N||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R)}));const{entry:R,options:N,context:j}=this;const q=EntryPlugin.createDependency(R,N);E.hooks.make.tapAsync("EntryPlugin",((E,R)=>{E.addEntry(j,q,N,(E=>{R(E)}))}))}static createDependency(E,R){const N=new $(E);N.loc={name:typeof R==="object"?R.name:R};return N}}E.exports=EntryPlugin},71452:(E,R,N)=>{"use strict";const $=N(84558);class Entrypoint extends ${constructor(E,R=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=R}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,R){if(this._runtimeChunk===E)this._runtimeChunk=R;if(this._entrypointChunk===E)this._entrypointChunk=R;return super.replaceChunk(E,R)}}E.exports=Entrypoint},64856:(E,R,N)=>{"use strict";const $=N(24820);const j=N(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const R={};for(const N of this.keys){const $=process.env[N]!==undefined?process.env[N]:this.defaultValues[N];if($===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const R=new j(`EnvironmentPlugin - ${N} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");R.name="EnvVariableNotDefinedError";E.errors.push(R)}))}R[`process.env.${N}`]=$===undefined?"undefined":JSON.stringify($)}new $(R).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,R)=>{"use strict";const N="LOADER_EXECUTION";const $="WEBPACK_OPTIONS";R.cutOffByFlag=(E,R)=>{E=E.split("\n");for(let N=0;NR.cutOffByFlag(E,N);R.cutOffWebpackOptions=E=>R.cutOffByFlag(E,$);R.cutOffMultilineMessage=(E,R)=>{E=E.split("\n");R=R.split("\n");const N=[];E.forEach(((E,$)=>{if(!E.includes(R[$]))N.push(E)}));return N.join("\n")};R.cutOffMessage=(E,R)=>{const N=E.indexOf("\n");if(N===-1){return E===R?"":E}else{const $=E.substr(0,N);return $===R?E.substr(N+1):E}};R.cleanUp=(E,N)=>{E=R.cutOffLoaderExecution(E);E=R.cutOffMessage(E,N);return E};R.cleanUpWebpackOptions=(E,N)=>{E=R.cutOffWebpackOptions(E);E=R.cutOffMultilineMessage(E,N);return E}},91331:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(2991);const q=N(16734);const G=N(70354);const ie=N(18161);const ae=new WeakMap;const le=new j(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const R=ie.getCompilationHooks(E);R.renderModuleContent.tap("EvalDevToolModulePlugin",((R,N,{runtimeTemplate:$,chunkGraph:ie})=>{const le=ae.get(R);if(le!==undefined)return le;if(N instanceof q){ae.set(R,R);return R}const _e=R.source();const Ee=G.createFilename(N,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:$.requestShortener,chunkGraph:ie,hashFunction:E.outputOptions.hashFunction});const we="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(Ee).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Me=new j(`eval(${JSON.stringify(_e+we)});`);ae.set(R,Me);return Me}));R.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));R.render.tap("EvalDevToolModulePlugin",(E=>new $(le,E)));R.chunkHash.tap("EvalDevToolModulePlugin",((E,R)=>{R.update("EvalDevToolModulePlugin");R.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(2991);const q=N(70354);const G=N(53520);const ie=N(26867);const ae=N(18161);const le=N(95734);const{makePathsAbsolute:_e}=N(49197);const Ee=new WeakMap;const we=new j(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let R;if(typeof E==="string"){R={append:E}}else{R=E}this.sourceMapComment=R.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=R.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=R.namespace||"";this.options=R}apply(E){const R=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(N=>{const Me=ae.getCompilationHooks(N);new ie(R).apply(N);const Ie=q.matchObject.bind(q,R);Me.renderModuleContent.tap("EvalSourceMapDevToolPlugin",(($,ie,{runtimeTemplate:ae,chunkGraph:we})=>{const Me=Ee.get($);if(Me!==undefined){return Me}const result=E=>{Ee.set($,E);return E};if(ie instanceof G){const E=ie;if(!Ie(E.resource)){return result($)}}else if(ie instanceof le){const E=ie;if(E.rootModule instanceof G){const R=E.rootModule;if(!Ie(R.resource)){return result($)}}else{return result($)}}else{return result($)}let Te;let Ne;if($.sourceAndMap){const E=$.sourceAndMap(R);Te=E.map;Ne=E.source}else{Te=$.map(R);Ne=$.source()}if(!Te){return result($)}Te={...Te};const Be=E.options.context;const Le=E.root;const je=Te.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=_e(Be,E.slice(10),Le);const R=N.findModule(E);return R||E}));let ze=je.map((E=>q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:we,hashFunction:N.outputOptions.hashFunction})));ze=q.replaceDuplicates(ze,((E,R,N)=>{for(let R=0;R"the eval-source-map devtool is used."));Me.render.tap("EvalSourceMapDevToolPlugin",(E=>new $(we,E)));Me.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,R)=>{R.update("EvalSourceMapDevToolPlugin");R.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,R,N)=>{"use strict";const{equals:$}=N(73910);const j=N(16102);const q=N(56202);const{forEachRuntime:G}=N(37416);const ie=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(E,R,N,$){this.exports=E;this.otherProvided=R;this.otherCanMangleProvide=N;this.otherTerminalBinding=$}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}q(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[R,N]of this._exports){E.set(R,N)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[R,N]of this._exports){E.set(R,N)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const R=[];for(const N of E.values()){R.push(N.name)}R.sort();let N=0;for(const $ of E.values()){const E=R[N];if($.name!==E)break;N++}for(;N0){const R=this.getReadOnlyExportInfo(E[0]);if(!R.exportsInfo)return undefined;return R.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,R,N,$,j){let q=false;if(R){for(const E of R){this.getExportInfo(E)}}for(const j of this._exports.values()){if(R&&R.has(j.name))continue;if(j.provided!==true&&j.provided!==null){j.provided=null;q=true}if(!E&&j.canMangleProvide!==false){j.canMangleProvide=false;q=true}if(N){j.setTarget(N,$,[j.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,R,N,$,j)){q=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;q=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;q=true}if(N){this._otherExportsInfo.setTarget(N,$,undefined,j)}}return q}setUsedInUnknownWay(E){let R=false;for(const N of this._exports.values()){if(N.setUsedInUnknownWay(E)){R=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){R=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>EE===ie.Unused),ie.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ie.Unused){return true}}for(const R of this._exports.values()){if(R.getUsed(E)!==ie.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ie.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:case ie.OnlyPropertiesUsed:case ie.Used:return true}}const R=[];if(!this._exportsAreOrdered)this._sortExports();for(const N of this._exports.values()){switch(N.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:return true;case ie.OnlyPropertiesUsed:case ie.Used:R.push(N.name)}}if(this._redirectTo!==undefined){const N=this._redirectTo.getUsedExports(E);if(N===null)return null;if(N===true)return true;if(N!==false){for(const E of N){R.push(E)}}}if(R.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unused:return false}}return new j(R)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const R of this._exports.values()){switch(R.provided){case undefined:return null;case null:return true;case true:E.push(R.name)}}if(this._redirectTo!==undefined){const R=this._redirectTo.getProvidedExports();if(R===null)return null;if(R===true)return true;for(const N of R){if(!E.includes(N)){E.push(N)}}}return E}getRelevantExports(E){const R=[];for(const N of this._exports.values()){const $=N.getUsed(E);if($===ie.Unused)continue;if(N.provided===false)continue;R.push(N)}if(this._redirectTo!==undefined){for(const N of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(N.name))R.push(N)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ie.Unused){R.push(this._otherExportsInfo)}return R}isExportProvided(E){if(Array.isArray(E)){const R=this.getReadOnlyExportInfo(E[0]);if(R.exportsInfo&&E.length>1){return R.exportsInfo.isExportProvided(E.slice(1))}return R.provided}const R=this.getReadOnlyExportInfo(E);return R.provided}getUsageKey(E){const R=[];if(this._redirectTo!==undefined){R.push(this._redirectTo.getUsageKey(E))}else{R.push(this._otherExportsInfo.getUsed(E))}R.push(this._sideEffectsOnlyInfo.getUsed(E));for(const N of this.orderedOwnedExports){R.push(N.getUsed(E))}return R.join("|")}isEquallyUsed(E,R){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,R))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(R)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(R)){return false}for(const N of this.ownedExports){if(N.getUsed(E)!==N.getUsed(R))return false}return true}getUsed(E,R){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(R);let N=this.getReadOnlyExportInfo(E[0]);if(N.exportsInfo&&E.length>1){return N.exportsInfo.getUsed(E.slice(1),R)}return N.getUsed(R)}let N=this.getReadOnlyExportInfo(E);return N.getUsed(R)}getUsedName(E,R){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(R))return false;return E}let N=this.getReadOnlyExportInfo(E[0]);const $=N.getUsedName(E[0],R);if($===false)return false;const j=$===E[0]&&E.length===1?E:[$];if(E.length===1){return j}if(N.exportsInfo&&N.getUsed(R)===ie.OnlyPropertiesUsed){const $=N.exportsInfo.getUsedName(E.slice(1),R);if(!$)return false;return j.concat($)}else{return j.concat(E.slice(1))}}else{let N=this.getReadOnlyExportInfo(E);const $=N.getUsedName(E,R);return $}}updateHash(E,R){this._updateHash(E,R,new Set)}_updateHash(E,R,N){const $=new Set(N);$.add(this);for(const N of this.orderedExports){if(N.hasInfo(this._otherExportsInfo,R)){N._updateHash(E,R,$)}}this._sideEffectsOnlyInfo._updateHash(E,R,$);this._otherExportsInfo._updateHash(E,R,$);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,R,$)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const R=this._otherExportsInfo.canMangleProvide;const N=this._otherExportsInfo.terminalBinding;const $=[];for(const j of this.orderedExports){if(j.provided!==E||j.canMangleProvide!==R||j.terminalBinding!==N||j.exportsInfoOwned){$.push({name:j.name,provided:j.provided,canMangleProvide:j.canMangleProvide,terminalBinding:j.terminalBinding,exportsInfo:j.exportsInfoOwned?j.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData($,E,R,N)}restoreProvided({otherProvided:E,otherCanMangleProvide:R,otherTerminalBinding:N,exports:$}){let j=true;for(const $ of this._exports.values()){j=false;$.provided=E;$.canMangleProvide=R;$.terminalBinding=N}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=R;this._otherExportsInfo.terminalBinding=N;for(const E of $){const R=this.getExportInfo(E.name);R.provided=E.provided;R.canMangleProvide=E.canMangleProvide;R.terminalBinding=E.terminalBinding;if(E.exportsInfo){const N=R.createNestedExportsInfo();N.restoreProvided(E.exportsInfo)}}if(j)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,R){this.name=E;this._usedName=R?R._usedName:null;this._globalUsed=R?R._globalUsed:undefined;this._usedInRuntime=R&&R._usedInRuntime?new Map(R._usedInRuntime):undefined;this._hasUseInRuntimeInfo=R?R._hasUseInRuntimeInfo:false;this.provided=R?R.provided:undefined;this.terminalBinding=R?R.terminalBinding:false;this.canMangleProvide=R?R.canMangleProvide:undefined;this.canMangleUse=R?R.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(R&&R._target){this._target=new Map;for(const[N,$]of R._target){this._target.set(N,{connection:$.connection,export:$.export||[E],priority:$.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let R=false;if(this.setUsedConditionally((E=>Ethis._usedInRuntime.set(E,R)));return true}}else{let $=false;G(N,(N=>{let j=this._usedInRuntime.get(N);if(j===undefined)j=ie.Unused;if(R!==j&&E(j)){if(R===ie.Unused){this._usedInRuntime.delete(N)}else{this._usedInRuntime.set(N,R)}$=true}}));if($){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,R){if(R===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ie.Unused){this._usedInRuntime=new Map;G(R,(R=>this._usedInRuntime.set(R,E)));return true}}else{let N=false;G(R,(R=>{let $=this._usedInRuntime.get(R);if($===undefined)$=ie.Unused;if(E!==$){if(E===ie.Unused){this._usedInRuntime.delete(R)}else{this._usedInRuntime.set(R,E)}N=true}}));if(N){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,R,N,j=0){if(N)N=[...N];if(!this._target){this._target=new Map;this._target.set(E,{connection:R,export:N,priority:j});return true}const q=this._target.get(E);if(!q){if(q===null&&!R)return false;this._target.set(E,{connection:R,export:N,priority:j});this._maxTarget=undefined;return true}if(q.connection!==R||q.priority!==j||(N?!q.export||!$(q.export,N):q.export)){q.connection=R;q.export=N;q.priority=j;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ie.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ie.Unused}else if(typeof E==="string"){const R=this._usedInRuntime.get(E);return R===undefined?ie.Unused:R}else if(E===undefined){let E=ie.Unused;for(const R of this._usedInRuntime.values()){if(R===ie.Used){return ie.Used}if(E!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,R=RETURNS_TRUE){if(this.terminalBinding)return this;const N=this.getTarget(E,R);if(!N)return undefined;const $=E.getExportsInfo(N.module);if(!N.export)return $;return $.getReadOnlyExportInfoRecursive(N.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let R=Infinity;for(const{priority:N}of this._target.values()){if(EN)R=N}if(E===R)return this._maxTarget=this._target;const N=new Map;for(const[R,$]of this._target){if(E===$.priority){N.set(R,$)}}this._maxTarget=N;return N}findTarget(E,R){return this._findTarget(E,R,new Set)}_findTarget(E,R,N){if(!this._target||this._target.size===0)return undefined;let $=this._getMaxTarget().values().next().value;if(!$)return undefined;let j={module:$.connection.module,export:$.export};for(;;){if(R(j.module))return j;const $=E.getExportsInfo(j.module);const q=$.getExportInfo(j.export[0]);if(N.has(q))return null;const G=q._findTarget(E,R,N);if(!G)return false;if(j.export.length===1){j=G}else{j={module:G.module,export:G.export?G.export.concat(j.export.slice(1)):j.export.slice(1)}}}}getTarget(E,R=RETURNS_TRUE){const N=this._getTarget(E,R,undefined);if(N===ae)return undefined;return N}_getTarget(E,R,N){const resolveTarget=(N,$)=>{if(!N)return null;if(!N.export){return{module:N.connection.module,connection:N.connection,export:undefined}}let j={module:N.connection.module,connection:N.connection,export:N.export};if(!R(j))return j;let q=false;for(;;){const N=E.getExportsInfo(j.module);const G=N.getExportInfo(j.export[0]);if(!G)return j;if($.has(G))return ae;const ie=G._getTarget(E,R,$);if(ie===ae)return ae;if(!ie)return j;if(j.export.length===1){j=ie;if(!j.export)return j}else{j={module:ie.module,connection:ie.connection,export:ie.export?ie.export.concat(j.export.slice(1)):j.export.slice(1)}}if(!R(j))return j;if(!q){$=new Set($);q=true}$.add(G)}};if(!this._target||this._target.size===0)return undefined;if(N&&N.has(this))return ae;const j=new Set(N);j.add(this);const q=this._getMaxTarget().values();const G=resolveTarget(q.next().value,j);if(G===ae)return ae;if(G===null)return undefined;let ie=q.next();while(!ie.done){const E=resolveTarget(ie.value,j);if(E===ae)return ae;if(E===null)return undefined;if(E.module!==G.module)return undefined;if(!E.export!==!G.export)return undefined;if(G.export&&!$(E.export,G.export))return undefined;ie=q.next()}return G}moveTarget(E,R,N){const $=this._getTarget(E,R,undefined);if($===ae)return undefined;if(!$)return undefined;const j=this._getMaxTarget().values().next().value;if(j.connection===$.connection&&j.export===$.export){return undefined}this._target.clear();this._target.set(undefined,{connection:N?N($):$.connection,export:$.export,priority:0});return $}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,R){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(R)!==E.getUsed(R)}updateHash(E,R){this._updateHash(E,R,new Set)}_updateHash(E,R,N){E.update(`${this._usedName||this.name}${this.getUsed(R)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!N.has(this.exportsInfo)){this.exportsInfo._updateHash(E,R,N)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ie.Unused:return"unused";case ie.NoInfo:return"no usage info";case ie.Unknown:return"maybe used (runtime-defined)";case ie.Used:return"used";case ie.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[R,N]of this._usedInRuntime){const $=E.get(N);if($!==undefined)$.push(R);else E.set(N,[R])}const R=Array.from(E,(([E,R])=>{switch(E){case ie.NoInfo:return`no usage info in ${R.join(", ")}`;case ie.Unknown:return`maybe used in ${R.join(", ")} (runtime-defined)`;case ie.Used:return`used in ${R.join(", ")}`;case ie.OnlyPropertiesUsed:return`only properties used in ${R.join(", ")}`}}));if(R.length>0){return R.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ie},29672:(E,R,N)=>{"use strict";const $=N(66298);const j=N(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((R,N)=>{const $=N.length>=2?new j(R.range,N.slice(0,-1),N[N.length-1]):new j(R.range,null,N[0]);$.loc=R.loc;E.state.module.addDependency($);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(R=>{const N=new $("true",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}))};R.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(2991);const q=N(77294);const{UsageState:G}=N(76632);const ie=N(63272);const ae=N(53453);const le=N(76150);const _e=N(58159);const Ee=N(96076);const we=N(35891);const Me=N(10004);const Ie=N(56202);const Te=N(68038);const{register:Ne}=N(24568);const Be=new Set(["javascript"]);const Le=new Set([le.module]);const je=new Set([le.loadScript]);const ze=new Set([le.definePropertyGetters]);const Ue=new Set([]);const getSourceForGlobalVariableExternal=(E,R)=>{if(!Array.isArray(E)){E=[E]}const N=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:R==="this",expression:`${R}${N}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const R=E[0];return{expression:`require(${JSON.stringify(R)})${Te(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const R=[new ie('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ie.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:R}}const N=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(N)})${Te(E,1)}`,chunkInitFragments:R}};const getSourceForImportExternal=(E,R)=>{const N=R.outputOptions.importFunctionName;if(!R.supportsDynamicImport()&&N==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${N}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${N}(${JSON.stringify(E[0])});`}}const $=E[0];return{expression:`${N}(${JSON.stringify($)}).then(${R.returningFunction(`module${Te(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ie{constructor(E,R,N="md4"){if(R===undefined){R=_e.toIdentifier(E);if(R!==E){R+=`_${we(N).update(E).digest("hex").slice(0,8)}`}}const $=`__WEBPACK_EXTERNAL_MODULE_${R}__`;super(`import * as ${$} from ${JSON.stringify(E)};\n`,ie.STAGE_HARMONY_IMPORTS,0,`external module import ${R}`);this._ident=R;this._identifier=$;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ne(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:R}){R(E._request);R(E._ident)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,R,N)=>{if(R.otherExportsInfo.getUsed(N)===G.Unused){const $=[];for(const j of R.orderedExports){const R=j.getUsedName(j.name,N);if(!R)continue;const q=j.getNestedExportsInfo();if(q){const N=generateModuleRemapping(`${E}${Te([j.name])}`,q);if(N){$.push(`[${JSON.stringify(R)}]: y(${N})`);continue}}$.push(`[${JSON.stringify(R)}]: () => ${E}${Te([j.name])}`)}return`x({ ${$.join(", ")} })`}};const getSourceForModuleExternal=(E,R,N,$)=>{if(!Array.isArray(E))E=[E];const j=new ModuleExternalInitFragment(E[0],undefined,$);const q=`${j.getNamespaceIdentifier()}${Te(E,1)}`;const G=generateModuleRemapping(q,R,N);let ie=G||q;return{expression:ie,init:`var x = y => { var x = {}; ${le.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:G?ze:undefined,chunkInitFragments:[j]}};const getSourceForScriptExternal=(E,R)=>{if(typeof E==="string"){E=Me(E)}const N=E[0];const $=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${R.basicFunction("resolve, reject",[`if(typeof ${$} !== "undefined") return resolve();`,`${le.loadScript}(${JSON.stringify(N)}, ${R.basicFunction("event",[`if(typeof ${$} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify($)});`])}).then(${R.returningFunction(`${$}${Te(E,2)}`)})`,runtimeRequirements:je}};const checkExternalVariable=(E,R,N)=>`if(typeof ${E} === 'undefined') { ${N.throwMissingModuleErrorBlock({request:R})} }\n`;const getSourceForAmdOrUmdExternal=(E,R,N,$)=>{const j=`__WEBPACK_EXTERNAL_MODULE_${_e.toIdentifier(`${E}`)}__`;return{init:R?checkExternalVariable(j,Array.isArray(N)?N.join("."):N,$):undefined,expression:j}};const getSourceForDefaultCase=(E,R,N)=>{if(!Array.isArray(R)){R=[R]}const $=R[0];const j=Te(R,1);return{init:E?checkExternalVariable($,R.join("."),N):undefined,expression:`${$}${j}`}};class ExternalModule extends ae{constructor(E,R,N){super("javascript/dynamic",null);this.request=E;this.externalType=R;this.userRequest=N}getSourceTypes(){return Be}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:R}){return R.getNumberOfEntryModules(E)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:R.outputOptions.module};const{request:q,externalType:G}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ie=false;this.clearDependenciesAndBlocks();switch(G){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}}else{this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}break}this.addDependency(new Ee(true,ie));j()}restoreFromUnsafeCache(E,R){this._restoreFromUnsafeCache(E,R)}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:R}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[R];return{request:E,externalType:R}}_getSourceData(E,R,N,$){const{request:j,externalType:q}=this._getRequestAndExternalType();switch(q){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(j,this.externalType);case"global":return getSourceForGlobalVariableExternal(j,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal(j);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule(j):getSourceForCommonJsExternal(j);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const $=N.getModuleId(this);return getSourceForAmdOrUmdExternal($!==null?$:this.identifier(),this.isOptional(R),j,E)}case"import":return getSourceForImportExternal(j,E);case"script":return getSourceForScriptExternal(j,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal(j,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal(j,R.getExportsInfo(this),$,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(R),j,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N,runtime:G,concatenationScope:ie}){const ae=this._getSourceData(E,R,N,G);let _e=ae.expression;if(ae.iife)_e=`(function() { return ${_e}; }())`;if(ie){_e=`${E.supportsConst()?"const":"var"} ${q.NAMESPACE_OBJECT_EXPORT} = ${_e};`;ie.registerNamespaceExport(q.NAMESPACE_OBJECT_EXPORT)}else{_e=`module.exports = ${_e};`}if(ae.init)_e=`${ae.init}\n${_e}`;let Ee=undefined;if(ae.chunkInitFragments){Ee=new Map;Ee.set("chunkInitFragments",ae.chunkInitFragments)}const we=new Map;if(this.useSourceMap||this.useSimpleSourceMap){we.set("javascript",new $(_e,this.identifier()))}else{we.set("javascript",new j(_e))}let Me=ae.runtimeRequirements;if(!ie){if(!Me){Me=Le}else{const E=new Set(Me);E.add(le.module);Me=E}}return{sources:we,runtimeRequirements:Me||Ue,data:Ee}}size(E){return 42}updateHash(E,R){const{chunkGraph:N}=R;E.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(N.moduleGraph)}`);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.request);R(this.externalType);R(this.userRequest);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.externalType=R();this.userRequest=R();super.deserialize(E)}}Ie(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,R,N)=>{"use strict";const $=N(73837);const j=N(16734);const{resolveByProperty:q,cachedSetProperty:G}=N(90149);const ie=/^[a-z0-9-]+ /;const ae={};const le=$.deprecate(((E,R,N,$)=>{E.call(null,R,N,$)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const _e=new WeakMap;const resolveLayer=(E,R)=>{let N=_e.get(E);if(N===undefined){N=new Map;_e.set(E,N)}else{const E=N.get(R);if(E!==undefined)return E}const $=q(E,"byLayer",R);N.set(R,$);return $};class ExternalModuleFactoryPlugin{constructor(E,R){this.type=E;this.externals=R}apply(E){const R=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((N,$)=>{const q=N.context;const _e=N.contextInfo;const Ee=N.dependencies[0];const we=N.dependencyType;const handleExternal=(E,N,$)=>{if(E===false){return $()}let q;if(E===true){q=Ee.request}else{q=E}if(N===undefined){if(typeof q==="string"&&ie.test(q)){const E=q.indexOf(" ");N=q.substr(0,E);q=q.substr(E+1)}else if(Array.isArray(q)&&q.length>0&&ie.test(q[0])){const E=q[0];const R=E.indexOf(" ");N=E.substr(0,R);q=[E.substr(R+1),...q.slice(1)]}}$(null,new j(q,N||R,Ee.request))};const handleExternals=(R,$)=>{if(typeof R==="string"){if(R===Ee.request){return handleExternal(Ee.request,undefined,$)}}else if(Array.isArray(R)){let E=0;const next=()=>{let N;const handleExternalsAndCallback=(E,R)=>{if(E)return $(E);if(!R){if(N){N=false;return}return next()}$(null,R)};do{N=true;if(E>=R.length)return $();handleExternals(R[E++],handleExternalsAndCallback)}while(!N);N=false};next();return}else if(R instanceof RegExp){if(R.test(Ee.request)){return handleExternal(Ee.request,undefined,$)}}else if(typeof R==="function"){const cb=(E,R,N)=>{if(E)return $(E);if(R!==undefined){handleExternal(R,N,$)}else{$()}};if(R.length===3){le(R,q,Ee.request,cb)}else{const $=R({context:q,request:Ee.request,dependencyType:we,contextInfo:_e,getResolve:R=>($,j,q)=>{const ie={fileDependencies:N.fileDependencies,missingDependencies:N.missingDependencies,contextDependencies:N.contextDependencies};let le=E.getResolver("normal",we?G(N.resolveOptions||ae,"dependencyType",we):N.resolveOptions);if(R)le=le.withOptions(R);if(q){le.resolve({},$,j,ie,q)}else{return new Promise(((E,R)=>{le.resolve({},$,j,ie,((N,$)=>{if(N)R(N);else E($)}))}))}}},cb);if($&&$.then)$.then((E=>cb(null,E)),cb)}return}else if(typeof R==="object"){const E=resolveLayer(R,_e.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,Ee.request)){return handleExternal(E[Ee.request],undefined,$)}}$()};handleExternals(this.externals,$)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,R,N)=>{"use strict";const $=N(59084);class ExternalsPlugin{constructor(E,R){this.type=E;this.externals=R}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new $(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,R,N)=>{"use strict";const{create:$}=N(17583);const j=N(62355);const q=N(9738);const G=N(37269);const ie=N(35891);const{join:ae,dirname:le,relative:_e,lstatReadlinkAbsolute:Ee}=N(95396);const we=N(56202);const Me=N(2117);const Ie=+process.versions.modules>=83;let Te=2e3;const Ne=new Set;const Be=0;const Le=1;const je=2;const ze=3;const Ue=4;const qe=5;const Ge=6;const He=7;const We=8;const Ve=9;const Ke=Symbol("invalid");const Qe=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,R){this.snapshot=E;this.getMaps=R}[Symbol.iterator](){let E=0;let R;let N;let $;let j;let q;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:j=this.snapshot;N=this.getMaps;$=N(j);E=1;case 1:if($.length>0){const N=$.pop();if(N!==undefined){R=N.keys();E=2}else{break}}else{E=3;break}case 2:{const N=R.next();if(!N.done)return N;E=1;break}case 3:{const R=j.children;if(R!==undefined){if(R.size===1){for(const E of R)j=E;$=N(j);E=1;break}if(q===undefined)q=[];for(const E of R){q.push(E)}}if(q!==undefined&&q.length>0){j=q.pop();$=N(j);E=1;break}else{E=4}}case 4:return Qe}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,R){if(E){if(R.hasStartTime()){this.setStartTime(Math.min(E,R.startTime))}else{this.setStartTime(E)}}else{if(R.hasStartTime())this.setStartTime(R.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}we(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Je=3;class SnapshotOptimization{constructor(E,R,N,$=true,j=false){this._has=E;this._get=R;this._set=N;this._useStartTime=$;this._isSet=j;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(E,R){const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=E=>{for(const N of E.snapshotContent){const $=this._map.get(N);if($.shared0){if(this._useStartTime&&E.startTime&&(!$.startTime||$.startTime>E.startTime)){continue}const j=new Set;const q=N.snapshotContent;const G=this._get($);for(const E of q){if(!R.has(E)){if(!G.has(E)){continue e}j.add(E);continue}}if(j.size===0){E.addChild($);increaseSharedAndStoreOptimizationEntry(N);this._statReusedSharedSnapshots++}else{const R=q.size-j.size;if(R{if(Te>1&&E%2!==0)Te=1;else if(Te>10&&E%20!==0)Te=10;else if(Te>100&&E%200!==0)Te=100;else if(Te>1e3&&E%2e3!==0)Te=1e3};const mergeMaps=(E,R)=>{if(!R||R.size===0)return E;if(!E||E.size===0)return R;const N=new Map(E);for(const[E,$]of R){N.set(E,$)}return N};const mergeSets=(E,R)=>{if(!R||R.size===0)return E;if(!E||E.size===0)return R;const N=new Set(E);for(const E of R){N.add(E)}return N};const getManagedItem=(E,R)=>{let N=E.length;let $=1;let j=true;e:while(N=N+13&&R.charCodeAt(N+1)===110&&R.charCodeAt(N+2)===111&&R.charCodeAt(N+3)===100&&R.charCodeAt(N+4)===101&&R.charCodeAt(N+5)===95&&R.charCodeAt(N+6)===109&&R.charCodeAt(N+7)===111&&R.charCodeAt(N+8)===100&&R.charCodeAt(N+9)===117&&R.charCodeAt(N+10)===108&&R.charCodeAt(N+11)===101&&R.charCodeAt(N+12)===115){if(R.length===N+13){return R}const E=R.charCodeAt(N+13);if(E===47||E===92){return getManagedItem(R.slice(0,N+14),R)}}return R.slice(0,N)};const getResolvedTimestamp=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E:undefined};const getResolvedHash=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E.hash:undefined};const addAll=(E,R)=>{for(const N of E)R.add(N)};class FileSystemInfo{constructor(E,{managedPaths:R=[],immutablePaths:N=[],logger:$,hashFunction:j="md4"}={}){this.fs=E;this.logger=$;this._remainingLogs=$?40:0;this._loggedPaths=$?new Set:undefined;this._hashFunction=j;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,R)=>E.setFileTimestamps(R)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,R)=>E.setFileHashes(R)),false);this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,R)=>E.setFileTshs(R)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,R)=>E.setContextTimestamps(R)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,R)=>E.setContextHashes(R)),false);this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,R)=>E.setContextTshs(R)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,R)=>E.setMissingExistence(R)),false);this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,R)=>E.setManagedItemInfo(R)),false);this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,R)=>E.setManagedFiles(R)),false,true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,R)=>E.setManagedContexts(R)),false,true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,R)=>E.setManagedMissing(R)),false,true);this._fileTimestamps=new G;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new G;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(R);this.managedPathsWithSlash=this.managedPaths.filter((E=>typeof E==="string")).map((R=>ae(E,R,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((E=>typeof E!=="string"));this.immutablePaths=Array.from(N);this.immutablePathsWithSlash=this.immutablePaths.filter((E=>typeof E==="string")).map((R=>ae(E,R,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((E=>typeof E!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,R)=>{if(R){this.logger.log(`${E}: ${R}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,R,...N){const $=E+R;if(this._loggedPaths.has($))return;this._loggedPaths.add($);this.logger.debug(`${E} invalidated because ${R}`,...N);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E,R){this._fileTimestamps.addAll(E,R);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E,R){this._contextTimestamps.addAll(E,R);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,R){const N=this._fileTimestamps.get(E);if(N!==undefined)return R(null,N);this.fileTimestampQueue.add(E,R)}getContextTimestamp(E,R){const N=this._contextTimestamps.get(E);if(N!==undefined){if(N==="ignore")return R(null,"ignore");const E=getResolvedTimestamp(N);if(E!==undefined)return R(null,E);return this._resolveContextTimestamp(N,R)}this.contextTimestampQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedTimestamp(N);if($!==undefined)return R(null,$);this._resolveContextTimestamp(N,R)}))}_getUnresolvedContextTimestamp(E,R){const N=this._contextTimestamps.get(E);if(N!==undefined)return R(null,N);this.contextTimestampQueue.add(E,R)}getFileHash(E,R){const N=this._fileHashes.get(E);if(N!==undefined)return R(null,N);this.fileHashQueue.add(E,R)}getContextHash(E,R){const N=this._contextHashes.get(E);if(N!==undefined){const E=getResolvedHash(N);if(E!==undefined)return R(null,E);return this._resolveContextHash(N,R)}this.contextHashQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedHash(N);if($!==undefined)return R(null,$);this._resolveContextHash(N,R)}))}_getUnresolvedContextHash(E,R){const N=this._contextHashes.get(E);if(N!==undefined)return R(null,N);this.contextHashQueue.add(E,R)}getContextTsh(E,R){const N=this._contextTshs.get(E);if(N!==undefined){const E=getResolvedTimestamp(N);if(E!==undefined)return R(null,E);return this._resolveContextTsh(N,R)}this.contextTshQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedTimestamp(N);if($!==undefined)return R(null,$);this._resolveContextTsh(N,R)}))}_getUnresolvedContextTsh(E,R){const N=this._contextTshs.get(E);if(N!==undefined)return R(null,N);this.contextTshQueue.add(E,R)}_createBuildDependenciesResolvers(){const E=$({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const R=$({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const N=$({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const j=$({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:j,resolveCjs:R,resolveCjsAsChild:N}}resolveBuildDependencies(E,R,$){const{resolveContext:j,resolveEsm:q,resolveCjs:G,resolveCjsAsChild:ie}=this._createBuildDependenciesResolvers();const Ee=new Set;const we=new Set;const Te=new Set;const Ne=new Set;const Ke=new Set;const Qe=new Set;const Je=new Set;const Xe=new Set;const Ye=new Map;const Ze=new Set;const et={fileDependencies:Qe,contextDependencies:Je,missingDependencies:Xe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Be:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Le:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case je:return`resolve directory ${E.path}`;case ze:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case qe:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case Ge:return`directory ${E.path}`;case He:return`file ${E.path}`;case We:return`directory dependencies ${E.path}`;case Ve:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let R=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){R+=`\n at ${jobToString(E)}`;E=E.issuer}return R};Me(Array.from(R,(R=>({type:Be,context:E,path:R,expected:undefined,issuer:undefined}))),20,((E,R,$)=>{const{type:Me,context:Ke,path:Je,expected:tt}=E;const resolveDirectory=N=>{const q=`d\n${Ke}\n${N}`;if(Ye.has(q)){return $()}Ye.set(q,undefined);j(Ke,N,et,((j,G,ie)=>{if(j){if(tt===false){Ye.set(q,false);return $()}Ze.add(q);j.message+=`\nwhile resolving '${N}' in ${Ke} to a directory`;return $(j)}const ae=ie.path;Ye.set(q,ae);R({type:Ge,context:undefined,path:ae,expected:undefined,issuer:E});$()}))};const resolveFile=(N,j,q)=>{const G=`${j}\n${Ke}\n${N}`;if(Ye.has(G)){return $()}Ye.set(G,undefined);q(Ke,N,et,((j,q,ie)=>{if(typeof tt==="string"){if(!j&&ie&&ie.path===tt){Ye.set(G,ie.path)}else{Ze.add(G);this.logger.warn(`Resolving '${N}' in ${Ke} for build dependencies doesn't lead to expected result '${tt}', but to '${j||ie&&ie.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if(j){if(tt===false){Ye.set(G,false);return $()}Ze.add(G);j.message+=`\nwhile resolving '${N}' in ${Ke} as file\n${pathToString(E)}`;return $(j)}const q=ie.path;Ye.set(G,q);R({type:He,context:undefined,path:q,expected:undefined,issuer:E})}$()}))};switch(Me){case Be:{const E=/[\\/]$/.test(Je);if(E){resolveDirectory(Je.slice(0,Je.length-1))}else{resolveFile(Je,"f",G)}break}case Le:{const E=/[\\/]$/.test(Je);if(E){resolveDirectory(Je.slice(0,Je.length-1))}else{resolveFile(Je)}break}case je:{resolveDirectory(Je);break}case ze:{resolveFile(Je,"f",G);break}case Ue:{resolveFile(Je,"c",ie);break}case qe:{resolveFile(Je,"e",q);break}case He:{if(Ee.has(Je)){$();break}Ee.add(Je);this.fs.realpath(Je,((N,j)=>{if(N)return $(N);const q=j;if(q!==Je){we.add(Je);Qe.add(Je);if(Ee.has(q))return $();Ee.add(q)}R({type:Ve,context:undefined,path:q,expected:undefined,issuer:E});$()}));break}case Ge:{if(Te.has(Je)){$();break}Te.add(Je);this.fs.realpath(Je,((N,j)=>{if(N)return $(N);const q=j;if(q!==Je){Ne.add(Je);Qe.add(Je);if(Te.has(q))return $();Te.add(q)}R({type:We,context:undefined,path:q,expected:undefined,issuer:E});$()}));break}case Ve:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Je)){process.nextTick($);break}const j=require.cache[Je];if(j&&Array.isArray(j.children)){e:for(const N of j.children){let $=N.filename;if($){R({type:He,context:undefined,path:$,expected:undefined,issuer:E});const q=le(this.fs,Je);for(const G of j.paths){if($.startsWith(G)){let j=$.slice(G.length+1);const ie=/^(@[^\\/]+[\\/])[^\\/]+/.exec(j);if(ie){R({type:He,context:undefined,path:G+$[G.length]+ie[0]+$[G.length]+"package.json",expected:false,issuer:E})}let ae=j.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);R({type:Ue,context:q,path:ae,expected:N.filename,issuer:E});continue e}}let G=_e(this.fs,q,$);if(G.endsWith(".js"))G=G.slice(0,-3);G=G.replace(/\\/g,"/");if(!G.startsWith("../"))G=`./${G}`;R({type:ze,context:q,path:G,expected:N.filename,issuer:E})}}}else if(Ie&&/\.m?js$/.test(Je)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const j=N(76218);j.init.then((()=>{this.fs.readFile(Je,((N,q)=>{if(N)return $(N);try{const N=le(this.fs,Je);const $=q.toString();const[G]=j.parse($);for(const j of G){try{let q;if(j.d===-1){q=JSON.parse($.substring(j.s-1,j.e+1))}else if(j.d>-1){let E=$.substring(j.s,j.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;q=JSON.parse(E)}else{continue}R({type:qe,context:N,path:q,expected:undefined,issuer:E})}catch(R){this.logger.warn(`Parsing of ${Je} for build dependencies failed at 'import(${$.substring(j.s,j.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(R.stack)}}}catch(R){this.logger.warn(`Parsing of ${Je} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(R.stack)}process.nextTick($)}))}),$);break}else{this.logger.log(`Assuming ${Je} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick($);break}case We:{const N=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Je);const j=N?N[1]:Je;const q=ae(this.fs,j,"package.json");this.fs.readFile(q,((N,G)=>{if(N){if(N.code==="ENOENT"){Xe.add(q);const N=le(this.fs,j);if(N!==j){R({type:We,context:undefined,path:N,expected:undefined,issuer:E})}$();return}return $(N)}Qe.add(q);let ie;try{ie=JSON.parse(G.toString("utf-8"))}catch(E){return $(E)}const ae=ie.dependencies;const _e=ie.optionalDependencies;const Ee=new Set;const we=new Set;if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){Ee.add(E)}}if(typeof _e==="object"&&_e){for(const E of Object.keys(_e)){Ee.add(E);we.add(E)}}for(const N of Ee){R({type:je,context:j,path:N,expected:!we.has(N),issuer:E})}$()}));break}}}),(E=>{if(E)return $(E);for(const E of we)Ee.delete(E);for(const E of Ne)Te.delete(E);for(const E of Ze)Ye.delete(E);$(null,{files:Ee,directories:Te,missing:Ke,resolveResults:Ye,resolveDependencies:{files:Qe,directories:Je,missing:Xe}})}))}checkResolveResultsValid(E,R){const{resolveCjs:N,resolveCjsAsChild:$,resolveEsm:q,resolveContext:G}=this._createBuildDependenciesResolvers();j.eachLimit(E,20,(([E,R],j)=>{const[ie,ae,le]=E.split("\n");switch(ie){case"d":G(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"f":N(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"c":$(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"e":q(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;default:j(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===Ke){return R(null,false)}if(E){return R(E)}return R(null,true)}))}createSnapshot(E,R,N,$,j,q){const G=new Map;const ie=new Map;const ae=new Map;const le=new Map;const _e=new Map;const Ee=new Map;const we=new Map;const Me=new Map;const Ie=new Set;const Te=new Set;const Ne=new Set;const Be=new Set;const Le=new Snapshot;if(E)Le.setStartTime(E);const je=new Set;const ze=j&&j.hash?j.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){if(G.size!==0){Le.setFileTimestamps(G)}if(ie.size!==0){Le.setFileHashes(ie)}if(ae.size!==0){Le.setFileTshs(ae)}if(le.size!==0){Le.setContextTimestamps(le)}if(_e.size!==0){Le.setContextHashes(_e)}if(Ee.size!==0){Le.setContextTshs(Ee)}if(we.size!==0){Le.setMissingExistence(we)}if(Me.size!==0){Le.setManagedItemInfo(Me)}this._managedFilesOptimization.optimize(Le,Ie);if(Ie.size!==0){Le.setManagedFiles(Ie)}this._managedContextsOptimization.optimize(Le,Te);if(Te.size!==0){Le.setManagedContexts(Te)}this._managedMissingOptimization.optimize(Le,Ne);if(Ne.size!==0){Le.setManagedMissing(Ne)}if(Be.size!==0){Le.setChildren(Be)}this._snapshotCache.set(Le,true);this._statCreatedSnapshots++;q(null,Le)}};const jobError=()=>{if(Ue>0){Ue=-1e8;q(null,null)}};const checkManaged=(E,R)=>{for(const N of this.immutablePathsRegExps){if(N.test(E)){R.add(E);return true}}for(const N of this.immutablePathsWithSlash){if(E.startsWith(N)){R.add(E);return true}}for(const N of this.managedPathsRegExps){const $=N.exec(E);if($){const N=getManagedItem($[1],E);if(N){je.add(N);R.add(E);return true}}}for(const N of this.managedPathsWithSlash){if(E.startsWith(N)){const $=getManagedItem(N,E);if($){je.add($);R.add(E);return true}}}return false};const captureNonManaged=(E,R)=>{const N=new Set;for(const $ of E){if(!checkManaged($,R))N.add($)}return N};if(R){const E=captureNonManaged(R,Ie);switch(ze){case 3:this._fileTshsOptimization.optimize(Le,E);for(const R of E){const E=this._fileTshs.get(R);if(E!==undefined){ae.set(R,E)}else{Ue++;this._getFileTimestampAndHash(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${R}: ${E.stack}`)}jobError()}else{ae.set(R,N);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Le,E);for(const R of E){const E=this._fileHashes.get(R);if(E!==undefined){ie.set(R,E)}else{Ue++;this.fileHashQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${R}: ${E.stack}`)}jobError()}else{ie.set(R,N);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Le,E);for(const R of E){const E=this._fileTimestamps.get(R);if(E!==undefined){if(E!=="ignore"){G.set(R,E)}}else{Ue++;this.fileTimestampQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${R}: ${E.stack}`)}jobError()}else{G.set(R,N);jobDone()}}))}}break}}if(N){const E=captureNonManaged(N,Te);switch(ze){case 3:this._contextTshsOptimization.optimize(Le,E);for(const R of E){const E=this._contextTshs.get(R);let N;if(E!==undefined&&(N=getResolvedTimestamp(E))!==undefined){Ee.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${R}: ${E.stack}`)}jobError()}else{Ee.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextTsh(E,callback)}else{this.getContextTsh(R,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Le,E);for(const R of E){const E=this._contextHashes.get(R);let N;if(E!==undefined&&(N=getResolvedHash(E))!==undefined){_e.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${R}: ${E.stack}`)}jobError()}else{_e.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(R,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Le,E);for(const R of E){const E=this._contextTimestamps.get(R);if(E==="ignore")continue;let N;if(E!==undefined&&(N=getResolvedTimestamp(E))!==undefined){le.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${R}: ${E.stack}`)}jobError()}else{le.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextTimestamp(E,callback)}else{this.getContextTimestamp(R,callback)}}}break}}if($){const E=captureNonManaged($,Ne);this._missingExistenceOptimization.optimize(Le,E);for(const R of E){const E=this._fileTimestamps.get(R);if(E!==undefined){if(E!=="ignore"){we.set(R,Boolean(E))}}else{Ue++;this.fileTimestampQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${R}: ${E.stack}`)}jobError()}else{we.set(R,Boolean(N));jobDone()}}))}}}this._managedItemInfoOptimization.optimize(Le,je);for(const E of je){const R=this._managedItems.get(E);if(R!==undefined){Me.set(E,R)}else{Ue++;this.managedItemQueue.add(E,((R,N)=>{if(R){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${R.stack}`)}jobError()}else{Me.set(E,N);jobDone()}}))}}jobDone()}mergeSnapshots(E,R){const N=new Snapshot;if(E.hasStartTime()&&R.hasStartTime())N.setStartTime(Math.min(E.startTime,R.startTime));else if(R.hasStartTime())N.startTime=R.startTime;else if(E.hasStartTime())N.startTime=E.startTime;if(E.hasFileTimestamps()||R.hasFileTimestamps()){N.setFileTimestamps(mergeMaps(E.fileTimestamps,R.fileTimestamps))}if(E.hasFileHashes()||R.hasFileHashes()){N.setFileHashes(mergeMaps(E.fileHashes,R.fileHashes))}if(E.hasFileTshs()||R.hasFileTshs()){N.setFileTshs(mergeMaps(E.fileTshs,R.fileTshs))}if(E.hasContextTimestamps()||R.hasContextTimestamps()){N.setContextTimestamps(mergeMaps(E.contextTimestamps,R.contextTimestamps))}if(E.hasContextHashes()||R.hasContextHashes()){N.setContextHashes(mergeMaps(E.contextHashes,R.contextHashes))}if(E.hasContextTshs()||R.hasContextTshs()){N.setContextTshs(mergeMaps(E.contextTshs,R.contextTshs))}if(E.hasMissingExistence()||R.hasMissingExistence()){N.setMissingExistence(mergeMaps(E.missingExistence,R.missingExistence))}if(E.hasManagedItemInfo()||R.hasManagedItemInfo()){N.setManagedItemInfo(mergeMaps(E.managedItemInfo,R.managedItemInfo))}if(E.hasManagedFiles()||R.hasManagedFiles()){N.setManagedFiles(mergeSets(E.managedFiles,R.managedFiles))}if(E.hasManagedContexts()||R.hasManagedContexts()){N.setManagedContexts(mergeSets(E.managedContexts,R.managedContexts))}if(E.hasManagedMissing()||R.hasManagedMissing()){N.setManagedMissing(mergeSets(E.managedMissing,R.managedMissing))}if(E.hasChildren()||R.hasChildren()){N.setChildren(mergeSets(E.children,R.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(R)===true){this._snapshotCache.set(N,true)}return N}checkSnapshotValid(E,R){const N=this._snapshotCache.get(E);if(N!==undefined){this._statTestedSnapshotsCached++;if(typeof N==="boolean"){R(null,N)}else{N.push(R)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,R)}_checkSnapshotValidNoCache(E,R){let N=undefined;if(E.hasStartTime()){N=E.startTime}let $=1;const jobDone=()=>{if(--$===0){this._snapshotCache.set(E,true);R(null,true)}};const invalid=()=>{if($>0){$=-1e8;this._snapshotCache.set(E,false);R(null,false)}};const invalidWithError=(E,R)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,R)}invalid()};const checkHash=(E,R,N)=>{if(R!==N){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,R,N)}return false}return true};const checkExistence=(E,R,N)=>{if(!R!==!N){if(this._remainingLogs>0){this._log(E,R?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,R,$,j=true)=>{if(R===$)return true;if(!checkExistence(E,Boolean(R),Boolean($)))return false;if(R){if(typeof N==="number"&&R.safeTime>N){if(j&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,R.safeTime,N)}return false}if($.timestamp!==undefined&&R.timestamp!==$.timestamp){if(j&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,R.timestamp,$.timestamp)}return false}}return true};const checkContext=(E,R,$,j=true)=>{if(R===$)return true;if(!checkExistence(E,Boolean(R),Boolean($)))return false;if(R){if(typeof N==="number"&&R.safeTime>N){if(j&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,R.safeTime,N)}return false}if($.timestampHash!==undefined&&R.timestampHash!==$.timestampHash){if(j&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,R.timestampHash,$.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,R)=>{if(E||!R)return invalid();else jobDone()};for(const R of E.children){const E=this._snapshotCache.get(R);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{$++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;$++;this._checkSnapshotValidNoCache(R,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._fileTimestamps.get(E);if(R!==undefined){if(R!=="ignore"&&!checkFile(E,R,N)){invalid();return}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkFile(E,$,N)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,R)=>{const N=this._fileHashes.get(E);if(N!==undefined){if(N!=="ignore"&&!checkHash(E,N,R)){invalid();return}}else{$++;this.fileHashQueue.add(E,((N,$)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,$,R)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){processFileHashSnapshot(E,N)}}if(E.hasFileTshs()){const{fileTshs:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){if(typeof N==="string"){processFileHashSnapshot(E,N)}else{const R=this._fileTimestamps.get(E);if(R!==undefined){if(R==="ignore"||!checkFile(E,R,N,false)){processFileHashSnapshot(E,N&&N.hash)}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkFile(E,$,N,false)){processFileHashSnapshot(E,N&&N.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._contextTimestamps.get(E);if(R==="ignore")continue;let j;if(R!==undefined&&(j=getResolvedTimestamp(R))!==undefined){if(!checkContext(E,j,N)){invalid();return}}else{$++;const callback=(R,$)=>{if(R)return invalidWithError(E,R);if(!checkContext(E,$,N)){invalid()}else{jobDone()}};if(R!==undefined){this._resolveContextTimestamp(R,callback)}else{this.getContextTimestamp(E,callback)}}}}const processContextHashSnapshot=(E,R)=>{const N=this._contextHashes.get(E);let j;if(N!==undefined&&(j=getResolvedHash(N))!==undefined){if(!checkHash(E,j,R)){invalid();return}}else{$++;const callback=(N,$)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,$,R)){invalid()}else{jobDone()}};if(N!==undefined){this._resolveContextHash(N,callback)}else{this.getContextHash(E,callback)}}};if(E.hasContextHashes()){const{contextHashes:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){processContextHashSnapshot(E,N)}}if(E.hasContextTshs()){const{contextTshs:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){if(typeof N==="string"){processContextHashSnapshot(E,N)}else{const R=this._contextTimestamps.get(E);if(R==="ignore")continue;let j;if(R!==undefined&&(j=getResolvedTimestamp(R))!==undefined){if(!checkContext(E,j,N,false)){processContextHashSnapshot(E,N&&N.hash)}}else{$++;const callback=(R,$)=>{if(R)return invalidWithError(E,R);if(!checkContext(E,$,N,false)){processContextHashSnapshot(E,N&&N.hash)}jobDone()};if(R!==undefined){this._resolveContextTimestamp(R,callback)}else{this.getContextTimestamp(E,callback)}}}}}if(E.hasMissingExistence()){const{missingExistence:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._fileTimestamps.get(E);if(R!==undefined){if(R!=="ignore"&&!checkExistence(E,Boolean(R),Boolean(N))){invalid();return}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkExistence(E,Boolean($),Boolean(N))){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._managedItems.get(E);if(R!==undefined){if(!checkHash(E,R,N)){invalid();return}}else{$++;this.managedItemQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,$,N)){invalid()}else{jobDone()}}))}}}jobDone();if($>0){const N=[R];R=(E,R)=>{for(const $ of N)$(E,R)};this._snapshotCache.set(E,N)}}_readFileTimestamp(E,R){this.fs.stat(E,((N,$)=>{if(N){if(N.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return R(null,null)}return R(N)}let j;if($.isDirectory()){j={safeTime:0,timestamp:undefined}}else{const E=+$.mtime;if(E)applyMtime(E);j={safeTime:E?E+Te:Infinity,timestamp:E}}this._fileTimestamps.set(E,j);this._cachedDeprecatedFileTimestamps=undefined;R(null,j)}))}_readFileHash(E,R){this.fs.readFile(E,((N,$)=>{if(N){if(N.code==="EISDIR"){this._fileHashes.set(E,"directory");return R(null,"directory")}if(N.code==="ENOENT"){this._fileHashes.set(E,null);return R(null,null)}if(N.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return R(null,"too large")}return R(N)}const j=ie(this._hashFunction);j.update($);const q=j.digest("hex");this._fileHashes.set(E,q);R(null,q)}))}_getFileTimestampAndHash(E,R){const continueWithHash=N=>{const $=this._fileTimestamps.get(E);if($!==undefined){if($!=="ignore"){const j={...$,hash:N};this._fileTshs.set(E,j);return R(null,j)}else{this._fileTshs.set(E,N);return R(null,N)}}else{this.fileTimestampQueue.add(E,(($,j)=>{if($){return R($)}const q={...j,hash:N};this._fileTshs.set(E,q);return R(null,q)}))}};const N=this._fileHashes.get(E);if(N!==undefined){continueWithHash(N)}else{this.fileHashQueue.add(E,((E,N)=>{if(E){return R(E)}continueWithHash(N)}))}}_readContext({path:E,fromImmutablePath:R,fromManagedItem:N,fromSymlink:$,fromFile:q,fromDirectory:G,reduce:ie},le){this.fs.readdir(E,((_e,we)=>{if(_e){if(_e.code==="ENOENT"){return le(null,null)}return le(_e)}const Me=we.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();j.map(Me,((j,ie)=>{const le=ae(this.fs,E,j);for(const N of this.immutablePathsRegExps){if(N.test(E)){return ie(null,R(E))}}for(const N of this.immutablePathsWithSlash){if(E.startsWith(N)){return ie(null,R(E))}}for(const R of this.managedPathsRegExps){const $=R.exec(E);if($){const R=getManagedItem($[1],E);if(R){return this.managedItemQueue.add(R,((E,R)=>{if(E)return ie(E);return ie(null,N(R))}))}}}for(const R of this.managedPathsWithSlash){if(E.startsWith(R)){const E=getManagedItem(R,le);if(E){return this.managedItemQueue.add(E,((E,R)=>{if(E)return ie(E);return ie(null,N(R))}))}}}Ee(this.fs,le,((E,R)=>{if(E)return ie(E);if(typeof R==="string"){return $(le,R,ie)}if(R.isFile()){return q(le,R,ie)}if(R.isDirectory()){return G(le,R,ie)}ie(null,null)}))}),((E,R)=>{if(E)return le(E);const N=ie(Me,R);le(null,N)}))}))}_readContextTimestamp(E,R){this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E}),fromSymlink:(E,R,N)=>{N(null,{timestampHash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>{const $=this._fileTimestamps.get(E);if($!==undefined)return N(null,$==="ignore"?null:$);const j=+R.mtime;if(j)applyMtime(j);const q={safeTime:j?j+Te:Infinity,timestamp:j};this._fileTimestamps.set(E,q);this._cachedDeprecatedFileTimestamps=undefined;N(null,q)},fromDirectory:(E,R,N)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(E,((E,R)=>{this.contextTimestampQueue.decreaseParallelism();N(E,R)}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);for(const R of E)$.update(R);let j=0;for(const E of R){if(!E){$.update("n");continue}if(E.timestamp){$.update("f");$.update(`${E.timestamp}`)}else if(E.timestampHash){$.update("d");$.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(N===undefined)N=new Set;addAll(E.symlinks,N)}if(E.safeTime){j=Math.max(j,E.safeTime)}}const q=$.digest("hex");const G={safeTime:j,timestampHash:q};if(N)G.symlinks=N;return G}},((N,$)=>{if(N)return R(N);this._contextTimestamps.set(E,$);this._cachedDeprecatedContextTimestamps=undefined;R(null,$)}))}_resolveContextTimestamp(E,R){const N=[];let $=0;Me(E.symlinks,10,((E,R,j)=>{this._getUnresolvedContextTimestamp(E,((E,q)=>{if(E)return j(E);if(q&&q!=="ignore"){N.push(q.timestampHash);if(q.safeTime){$=Math.max($,q.safeTime)}if(q.symlinks!==undefined){for(const E of q.symlinks)R(E)}}j()}))}),(j=>{if(j)return R(j);const q=ie(this._hashFunction);q.update(E.timestampHash);if(E.safeTime){$=Math.max($,E.safeTime)}N.sort();for(const E of N){q.update(E)}R(null,E.resolved={safeTime:$,timestampHash:q.digest("hex")})}))}_readContextHash(E,R){this._readContext({path:E,fromImmutablePath:()=>"",fromManagedItem:E=>E||"",fromSymlink:(E,R,N)=>{N(null,{hash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>this.getFileHash(E,((E,R)=>{N(E,R||"")})),fromDirectory:(E,R,N)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(E,((E,R)=>{this.contextHashQueue.decreaseParallelism();N(E,R||"")}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);for(const R of E)$.update(R);for(const E of R){if(typeof E==="string"){$.update(E)}else{$.update(E.hash);if(E.symlinks){if(N===undefined)N=new Set;addAll(E.symlinks,N)}}}const j={hash:$.digest("hex")};if(N)j.symlinks=N;return j}},((N,$)=>{if(N)return R(N);this._contextHashes.set(E,$);return R(null,$)}))}_resolveContextHash(E,R){const N=[];Me(E.symlinks,10,((E,R,$)=>{this._getUnresolvedContextHash(E,((E,j)=>{if(E)return $(E);if(j){N.push(j.hash);if(j.symlinks!==undefined){for(const E of j.symlinks)R(E)}}$()}))}),($=>{if($)return R($);const j=ie(this._hashFunction);j.update(E.hash);N.sort();for(const E of N){j.update(E)}R(null,E.resolved=j.digest("hex"))}))}_readContextTimestampAndHash(E,R){const finalize=(N,$)=>{const j=N==="ignore"?$:{...N,...$};this._contextTshs.set(E,j);R(null,j)};const N=this._contextHashes.get(E);const $=this._contextTimestamps.get(E);if(N!==undefined){if($!==undefined){finalize($,N)}else{this.contextTimestampQueue.add(E,((E,$)=>{if(E)return R(E);finalize($,N)}))}}else{if($!==undefined){this.contextHashQueue.add(E,((E,N)=>{if(E)return R(E);finalize($,N)}))}else{this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E,hash:E||""}),fromSymlink:(E,R,N)=>{N(null,{timestampHash:R,hash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>{this._getFileTimestampAndHash(E,N)},fromDirectory:(E,R,N)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(E,((E,R)=>{this.contextTshQueue.decreaseParallelism();N(E,R)}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);const j=ie(this._hashFunction);for(const R of E){$.update(R);j.update(R)}let q=0;for(const E of R){if(!E){$.update("n");continue}if(typeof E==="string"){$.update("n");j.update(E);continue}if(E.timestamp){$.update("f");$.update(`${E.timestamp}`)}else if(E.timestampHash){$.update("d");$.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(N===undefined)N=new Set;addAll(E.symlinks,N)}if(E.safeTime){q=Math.max(q,E.safeTime)}j.update(E.hash)}const G={safeTime:q,timestampHash:$.digest("hex"),hash:j.digest("hex")};if(N)G.symlinks=N;return G}},((N,$)=>{if(N)return R(N);this._contextTshs.set(E,$);return R(null,$)}))}}}_resolveContextTsh(E,R){const N=[];const $=[];let j=0;Me(E.symlinks,10,((E,R,q)=>{this._getUnresolvedContextTsh(E,((E,G)=>{if(E)return q(E);if(G){N.push(G.hash);if(G.timestampHash)$.push(G.timestampHash);if(G.safeTime){j=Math.max(j,G.safeTime)}if(G.symlinks!==undefined){for(const E of G.symlinks)R(E)}}q()}))}),(q=>{if(q)return R(q);const G=ie(this._hashFunction);const ae=ie(this._hashFunction);G.update(E.hash);if(E.timestampHash)ae.update(E.timestampHash);if(E.safeTime){j=Math.max(j,E.safeTime)}N.sort();for(const E of N){G.update(E)}$.sort();for(const E of $){ae.update(E)}R(null,E.resolved={safeTime:j,timestampHash:ae.digest("hex"),hash:G.digest("hex")})}))}_getManagedItemDirectoryInfo(E,R){this.fs.readdir(E,((N,$)=>{if(N){if(N.code==="ENOENT"||N.code==="ENOTDIR"){return R(null,Ne)}return R(N)}const j=new Set($.map((R=>ae(this.fs,E,R))));R(null,j)}))}_getManagedItemInfo(E,R){const N=le(this.fs,E);this.managedItemDirectoryQueue.add(N,((N,$)=>{if(N){return R(N)}if(!$.has(E)){this._managedItems.set(E,"missing");return R(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return R(null,"exists")}const j=ae(this.fs,E,"package.json");this.fs.readFile(j,((N,$)=>{if(N){if(N.code==="ENOENT"||N.code==="ENOTDIR"){this.fs.readdir(E,((N,$)=>{if(!N&&$.length===1&&$[0]==="node_modules"){this._managedItems.set(E,"nested");return R(null,"nested")}const j=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn(j);return R(new Error(j))}));return}return R(N)}let j;try{j=JSON.parse($.toString("utf-8"))}catch(E){return R(E)}const q=`${j.name||""}@${j.version||""}`;this._managedItems.set(E,q);R(null,q)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[R,N]of this._fileTimestamps){if(N)E.set(R,typeof N==="object"?N.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[R,N]of this._contextTimestamps){if(N)E.set(R,typeof N==="object"?N.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,R,N)=>{"use strict";const{getEntryRuntime:$,mergeRuntimeOwned:j}=N(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(N=>{let q=undefined;for(const[R,{options:N}]of E.entries){q=j(q,$(E,R,N))}for(const E of N){const N=R.getExportsInfo(E);N.setUsedInUnknownWay(q);R.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,R,N)=>{"use strict";const $=N(62355);const j=N(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const R=E.moduleGraph;const N=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((q,G)=>{const ie=E.getLogger("webpack.FlagDependencyExportsPlugin");let ae=0;let le=0;let _e=0;let Ee=0;let we=0;let Me=0;const{moduleMemCaches:Ie}=E;const Te=new j;ie.time("restore cached provided exports");$.each(q,((E,$)=>{const j=R.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if(j.otherExportsInfo.provided!==null){_e++;j.setHasProvideInfo();j.setUnknownExportsProvided();return $()}}if(typeof E.buildInfo.hash!=="string"){Ee++;Te.enqueue(E);j.setHasProvideInfo();return $()}const q=Ie&&Ie.get(E);const G=q&&q.get(this);if(G!==undefined){ae++;j.restoreProvided(G);return $()}N.get(E.identifier(),E.buildInfo.hash,((R,N)=>{if(R)return $(R);if(N!==undefined){le++;j.restoreProvided(N)}else{we++;Te.enqueue(E);j.setHasProvideInfo()}$()}))}),(E=>{ie.timeEnd("restore cached provided exports");if(E)return G(E);const j=new Set;const q=new Map;let Ne;let Be;const Le=new Map;let je=true;let ze=false;const processDependenciesBlock=E=>{for(const R of E.dependencies){processDependency(R)}for(const R of E.blocks){processDependenciesBlock(R)}};const processDependency=E=>{const N=E.getExports(R);if(!N)return;Le.set(E,N)};const processExportsSpec=(E,N)=>{const $=N.exports;const j=N.canMangle;const G=N.from;const ie=N.priority;const ae=N.terminalBinding||false;const le=N.dependencies;if(N.hideExports){for(const R of N.hideExports){const N=Be.getExportInfo(R);N.unsetTarget(E)}}if($===true){if(Be.setUnknownExportsProvided(j,N.excludeExports,G&&E,G,ie)){ze=true}}else if(Array.isArray($)){const mergeExports=(N,$)=>{for(const le of $){let $;let _e=j;let Ee=ae;let we=undefined;let Me=G;let Ie=undefined;let Te=ie;let Be=false;if(typeof le==="string"){$=le}else{$=le.name;if(le.canMangle!==undefined)_e=le.canMangle;if(le.export!==undefined)Ie=le.export;if(le.exports!==undefined)we=le.exports;if(le.from!==undefined)Me=le.from;if(le.priority!==undefined)Te=le.priority;if(le.terminalBinding!==undefined)Ee=le.terminalBinding;if(le.hidden!==undefined)Be=le.hidden}const Le=N.getExportInfo($);if(Le.provided===false||Le.provided===null){Le.provided=true;ze=true}if(Le.canMangleProvide!==false&&_e===false){Le.canMangleProvide=false;ze=true}if(Ee&&!Le.terminalBinding){Le.terminalBinding=true;ze=true}if(we){const E=Le.createNestedExportsInfo();mergeExports(E,we)}if(Me&&(Be?Le.unsetTarget(E):Le.setTarget(E,Me,Ie===undefined?[$]:Ie,Te))){ze=true}const je=Le.getTarget(R);let Ue=undefined;if(je){const E=R.getExportsInfo(je.module);Ue=E.getNestedExportsInfo(je.export);const N=q.get(je.module);if(N===undefined){q.set(je.module,new Set([Ne]))}else{N.add(Ne)}}if(Le.exportsInfoOwned){if(Le.exportsInfo.setRedirectNamedTo(Ue)){ze=true}}else if(Le.exportsInfo!==Ue){Le.exportsInfo=Ue;ze=true}}};mergeExports(Be,$)}if(le){je=false;for(const E of le){const R=q.get(E);if(R===undefined){q.set(E,new Set([Ne]))}else{R.add(Ne)}}}};const notifyDependencies=()=>{const E=q.get(Ne);if(E!==undefined){for(const R of E){Te.enqueue(R)}}};ie.time("figure out provided exports");while(Te.length>0){Ne=Te.dequeue();Me++;Be=R.getExportsInfo(Ne);je=true;ze=false;Le.clear();R.freeze();processDependenciesBlock(Ne);R.unfreeze();for(const[E,R]of Le){processExportsSpec(E,R)}if(je){j.add(Ne)}if(ze){notifyDependencies()}}ie.timeEnd("figure out provided exports");ie.log(`${Math.round(100*(Ee+we)/(ae+le+we+Ee+_e))}% of exports of modules have been determined (${_e} no declared exports, ${we} not cached, ${Ee} flagged uncacheable, ${le} from cache, ${ae} from mem cache, ${Me-we-Ee} additional calculations due to dependencies)`);ie.time("store provided exports into cache");$.each(j,((E,$)=>{if(typeof E.buildInfo.hash!=="string"){return $()}const j=R.getExportsInfo(E).getRestoreProvidedData();const q=Ie&&Ie.get(E);if(q){q.set(this,j)}N.store(E.identifier(),E.buildInfo.hash,j,$)}),(E=>{ie.timeEnd("store provided exports into cache");G(E)}))}))}));const q=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{q.set(E,R.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{R.getExportsInfo(E).restoreProvided(q.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(79900);const{STAGE_DEFAULT:G}=N(82414);const ie=N(56561);const ae=N(34194);const{getEntryRuntime:le,mergeRuntimeOwned:_e}=N(37416);const{NO_EXPORTS_REFERENCED:Ee,EXPORTS_OBJECT_REFERENCED:we}=$;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:G},(N=>{if(E.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const $=E.getLogger("webpack.FlagDependencyUsagePlugin");const G=new Map;const Me=new ae;const processReferencedModule=(E,N,$,q)=>{const ie=R.getExportsInfo(E);if(N.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ie.setUsedWithoutInfo($)){Me.enqueue(E,$)}return}for(const R of N){let N;let q=true;if(Array.isArray(R)){N=R}else{N=R.name;q=R.canMangle!==false}if(N.length===0){if(ie.setUsedInUnknownWay($)){Me.enqueue(E,$)}}else{let R=ie;for(let ae=0;aeE===j.Unused),j.OnlyPropertiesUsed,$)){const N=R===ie?E:G.get(R);if(N){Me.enqueue(N,$)}}R=N;continue}}if(le.setUsedConditionally((E=>E!==j.Used),j.Used,$)){const N=R===ie?E:G.get(R);if(N){Me.enqueue(N,$)}}break}}}}else{if(!q&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ie.setUsedForSideEffectsOnly($)){Me.enqueue(E,$)}}};const processModule=(N,$,j)=>{const G=new Map;const ae=new ie;ae.enqueue(N);for(;;){const N=ae.dequeue();if(N===undefined)break;for(const E of N.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(E)}}for(const j of N.dependencies){const N=R.getConnection(j);if(!N||!N.module){continue}const ie=N.getActiveState($);if(ie===false)continue;const{module:ae}=N;if(ie===q.TRANSITIVE_ONLY){processModule(ae,$,false);continue}const le=G.get(ae);if(le===we){continue}const _e=E.getDependencyReferencedExports(j,$);if(le===undefined||le===Ee||_e===we){G.set(ae,_e)}else if(le!==undefined&&_e===Ee){continue}else{let E;if(Array.isArray(le)){E=new Map;for(const R of le){if(Array.isArray(R)){E.set(R.join("\n"),R)}else{E.set(R.name.join("\n"),R)}}G.set(ae,E)}else{E=le}for(const R of _e){if(Array.isArray(R)){const N=R.join("\n");const $=E.get(N);if($===undefined){E.set(N,R)}}else{const N=R.name.join("\n");const $=E.get(N);if($===undefined||Array.isArray($)){E.set(N,R)}else{E.set(N,{name:R.name,canMangle:R.canMangle&&$.canMangle})}}}}}}for(const[E,R]of G){if(Array.isArray(R)){processReferencedModule(E,R,$,j)}else{processReferencedModule(E,Array.from(R.values()),$,j)}}};$.time("initialize exports usage");for(const E of N){const N=R.getExportsInfo(E);G.set(N,E);N.setHasUseInfo()}$.timeEnd("initialize exports usage");$.time("trace exports usage in graph");const processEntryDependency=(E,N)=>{const $=R.getModule(E);if($){processReferencedModule($,Ee,N,true)}};let Ie=undefined;for(const[R,{dependencies:N,includeDependencies:$,options:j}]of E.entries){const q=this.global?undefined:le(E,R,j);for(const E of N){processEntryDependency(E,q)}for(const E of $){processEntryDependency(E,q)}Ie=_e(Ie,q)}for(const R of E.globalEntry.dependencies){processEntryDependency(R,Ie)}for(const R of E.globalEntry.includeDependencies){processEntryDependency(R,Ie)}while(Me.length){const[E,R]=Me.dequeue();processModule(E,R,false)}$.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,R,N)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const R=N(75884);throw new R}getSize(E,R){const $=N(75884);throw new $}generate(E,{dependencyTemplates:R,runtimeTemplate:$,moduleGraph:j,type:q}){const G=N(75884);throw new G}getConcatenationBailoutReason(E,R){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:R,runtime:N}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,R){const N=R||"javascript";const $=this.map[N];return $?$.getSize(E,N):0}generate(E,R){const N=R.type;const $=this.map[N];if(!$){throw new Error(`Generator.byType: no generator specified for ${N}`)}return $.generate(E,R)}}E.exports=Generator},4642:(E,R)=>{"use strict";const connectChunkGroupAndChunk=(E,R)=>{if(E.pushChunk(R)){R.addGroup(E)}};const connectChunkGroupParentAndChild=(E,R)=>{if(E.addChild(R)){R.addParent(E)}};R.connectChunkGroupAndChunk=connectChunkGroupAndChunk;R.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class HarmonyLinkingError extends ${constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,R,N)=>{"use strict";const $=N(81627);class HookWebpackError extends ${constructor(E,R){super(E.message);this.name="HookWebpackError";this.hook=R;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${R}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,R)=>{if(E instanceof $)return E;return new HookWebpackError(E,R)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,R)=>(N,j)=>{if(N){if(N instanceof $){E(N);return}E(new HookWebpackError(N,R));return}E(null,j)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,R)=>{let N;try{N=E()}catch(E){if(E instanceof $){throw E}throw new HookWebpackError(E,R)}return N};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,R,N)=>{"use strict";const{SyncBailHook:$}=N(92960);const{RawSource:j}=N(2991);const q=N(45137);const G=N(3080);const ie=N(22352);const ae=N(53520);const le=N(76150);const _e=N(81627);const Ee=N(66298);const we=N(76302);const Me=N(5389);const Ie=N(21809);const Te=N(73158);const Ne=N(79838);const Be=N(3711);const{evaluateToIdentifier:Le}=N(48472);const{find:je,isSubset:ze}=N(26221);const Ue=N(86949);const{compareModulesById:qe}=N(68673);const{getRuntimeKey:Ge,keyToRuntime:He,forEachRuntime:We,mergeRuntimeOwned:Ve,subtractRuntime:Ke,intersectRuntime:Qe}=N(37416);const Je=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Be)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let R=Je.get(E);if(R===undefined){R={hotAcceptCallback:new $(["expression","requests"]),hotAcceptWithoutCallback:new $(["expression","requests"])};Je.set(E,R)}return R}constructor(E){this.options=E||{}}apply(E){const{_backCompat:R}=E;if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const N=[le.module];const createAcceptHandler=(E,R)=>{const{hotAcceptCallback:$,hotAcceptWithoutCallback:j}=HotModuleReplacementPlugin.getParserHooks(E);return q=>{const G=E.state.module;const ie=new Ee(`${G.moduleArgument}.hot.accept`,q.callee.range,N);ie.loc=q.loc;G.addPresentationalDependency(ie);G.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(q.arguments.length>=1){const N=E.evaluateExpression(q.arguments[0]);let ie=[];let ae=[];if(N.isString()){ie=[N]}else if(N.isArray()){ie=N.items.filter((E=>E.isString()))}if(ie.length>0){ie.forEach(((E,N)=>{const $=E.string;const j=new R($,E.range);j.optional=true;j.loc=Object.create(q.loc);j.loc.index=N;G.addDependency(j);ae.push($)}));if(q.arguments.length>1){$.call(q.arguments[1],ae);for(let R=1;R$=>{const j=E.state.module;const q=new Ee(`${j.moduleArgument}.hot.decline`,$.callee.range,N);q.loc=$.loc;j.addPresentationalDependency(q);j.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if($.arguments.length===1){const N=E.evaluateExpression($.arguments[0]);let q=[];if(N.isString()){q=[N]}else if(N.isArray()){q=N.items.filter((E=>E.isString()))}q.forEach(((E,N)=>{const q=new R(E.string,E.range);q.optional=true;q.loc=Object.create($.loc);q.loc.index=N;j.addDependency(q)}))}return true};const createHMRExpressionHandler=E=>R=>{const $=E.state.module;const j=new Ee(`${$.moduleArgument}.hot`,R.range,N);j.loc=R.loc;$.addPresentationalDependency(j);$.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Le("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,Ie));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Te));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Le("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Me));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((N,{normalModuleFactory:$})=>{if(N.compiler!==E)return;N.dependencyFactories.set(Ie,$);N.dependencyTemplates.set(Ie,new Ie.Template);N.dependencyFactories.set(Te,$);N.dependencyTemplates.set(Te,new Te.Template);N.dependencyFactories.set(we,$);N.dependencyTemplates.set(we,new we.Template);N.dependencyFactories.set(Me,$);N.dependencyTemplates.set(Me,new Me.Template);let Ee=0;const Be={};const Le={};N.hooks.record.tap("HotModuleReplacementPlugin",((E,R)=>{if(R.hash===E.hash)return;const N=E.chunkGraph;R.hash=E.hash;R.hotIndex=Ee;R.fullHashChunkModuleHashes=Be;R.chunkModuleHashes=Le;R.chunkHashes={};R.chunkRuntime={};for(const N of E.chunks){R.chunkHashes[N.id]=N.hash;R.chunkRuntime[N.id]=Ge(N.runtime)}R.chunkModuleIds={};for(const $ of E.chunks){R.chunkModuleIds[$.id]=Array.from(N.getOrderedChunkModulesIterable($,qe(N)),(E=>N.getModuleId(E)))}}));const Je=new Ue;const Xe=new Ue;const Ye=new Ue;N.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const R=N.chunkGraph;const $=N.records;for(const E of N.chunks){const getModuleHash=$=>{if(N.codeGenerationResults.has($,E.runtime)){return N.codeGenerationResults.getHash($,E.runtime)}else{Ye.add($,E.runtime);return R.getModuleHash($,E.runtime)}};const j=R.getChunkFullHashModulesSet(E);if(j!==undefined){for(const R of j){Xe.add(R,E)}}const q=R.getChunkModulesIterable(E);if(q!==undefined){if($.chunkModuleHashes){if(j!==undefined){for(const R of q){const N=`${E.id}|${R.identifier()}`;const q=getModuleHash(R);if(j.has(R)){if($.fullHashChunkModuleHashes[N]!==q){Je.add(R,E)}Be[N]=q}else{if($.chunkModuleHashes[N]!==q){Je.add(R,E)}Le[N]=q}}}else{for(const R of q){const N=`${E.id}|${R.identifier()}`;const j=getModuleHash(R);if($.chunkModuleHashes[N]!==j){Je.add(R,E)}Le[N]=j}}}else{if(j!==undefined){for(const R of q){const N=`${E.id}|${R.identifier()}`;const $=getModuleHash(R);if(j.has(R)){Be[N]=$}else{Le[N]=$}}}else{for(const R of q){const N=`${E.id}|${R.identifier()}`;const $=getModuleHash(R);Le[N]=$}}}}}Ee=$.hotIndex||0;if(Je.size>0)Ee++;E.update(`${Ee}`)}));N.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:G.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=N.chunkGraph;const $=N.records;if($.hash===N.hash)return;if(!$.chunkModuleHashes||!$.chunkHashes||!$.chunkModuleIds){return}for(const[R,j]of Xe){const q=`${j.id}|${R.identifier()}`;const G=Ye.has(R,j.runtime)?E.getModuleHash(R,j.runtime):N.codeGenerationResults.getHash(R,j.runtime);if($.chunkModuleHashes[q]!==G){Je.add(R,j)}Le[q]=G}const G=new Map;let ae;for(const E of Object.keys($.chunkRuntime)){const R=He($.chunkRuntime[E]);ae=Ve(ae,R)}We(ae,(E=>{const{path:R,info:j}=N.getPathWithInfo(N.outputOptions.hotUpdateMainFilename,{hash:$.hash,runtime:E});G.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:R,assetInfo:j})}));if(G.size===0)return;const le=new Map;for(const R of N.modules){const N=E.getModuleId(R);le.set(N,R)}const Ee=new Set;for(const j of Object.keys($.chunkHashes)){const _e=He($.chunkRuntime[j]);const we=[];for(const E of $.chunkModuleIds[j]){const R=le.get(E);if(R===undefined){Ee.add(E)}else{we.push(R)}}let Me;let Ie;let Te;let Ne;let Be;let Le;let ze;const Ue=je(N.chunks,(E=>`${E.id}`===j));if(Ue){Me=Ue.id;Le=Qe(Ue.runtime,ae);if(Le===undefined)continue;Ie=E.getChunkModules(Ue).filter((E=>Je.has(E,Ue)));Te=Array.from(E.getChunkRuntimeModulesIterable(Ue)).filter((E=>Je.has(E,Ue)));const R=E.getChunkFullHashModulesIterable(Ue);Ne=R&&Array.from(R).filter((E=>Je.has(E,Ue)));const N=E.getChunkDependentHashModulesIterable(Ue);Be=N&&Array.from(N).filter((E=>Je.has(E,Ue)));ze=Ke(_e,Le)}else{Me=`${+j}`===j?+j:j;ze=_e;Le=_e}if(ze){We(ze,(E=>{G.get(E).removedChunkIds.add(Me)}));for(const R of we){const q=`${j}|${R.identifier()}`;const ie=$.chunkModuleHashes[q];const ae=E.getModuleRuntimes(R);if(_e===Le&&ae.has(Le)){const $=Ye.has(R,Le)?E.getModuleHash(R,Le):N.codeGenerationResults.getHash(R,Le);if($!==ie){if(R.type==="runtime"){Te=Te||[];Te.push(R)}else{Ie=Ie||[];Ie.push(R)}}}else{We(ze,(E=>{for(const R of ae){if(typeof R==="string"){if(R===E)return}else if(R!==undefined){if(R.has(E))return}}G.get(E).removedModules.add(R)}))}}}if(Ie&&Ie.length>0||Te&&Te.length>0){const j=new ie;if(R)q.setChunkGraphForChunk(j,E);j.id=Me;j.runtime=Le;if(Ue){for(const E of Ue.groupsIterable)j.addGroup(E)}E.attachModules(j,Ie||[]);E.attachRuntimeModules(j,Te||[]);if(Ne){E.attachFullHashModules(j,Ne)}if(Be){E.attachDependentHashModules(j,Be)}const ae=N.getRenderManifest({chunk:j,hash:$.hash,fullHash:$.hash,outputOptions:N.outputOptions,moduleTemplates:N.moduleTemplates,dependencyTemplates:N.dependencyTemplates,codeGenerationResults:N.codeGenerationResults,runtimeTemplate:N.runtimeTemplate,moduleGraph:N.moduleGraph,chunkGraph:E});for(const E of ae){let R;let $;if("filename"in E){R=E.filename;$=E.info}else{({path:R,info:$}=N.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const j=E.render();N.additionalChunkAssets.push(R);N.emitAsset(R,j,{hotModuleReplacement:true,...$});if(Ue){Ue.files.add(R);N.hooks.chunkAsset.call(Ue,R)}}We(Le,(E=>{G.get(E).updatedChunkIds.add(Me)}))}}const we=Array.from(Ee);const Me=new Map;for(const{removedChunkIds:E,removedModules:R,updatedChunkIds:$,filename:j,assetInfo:q}of G.values()){const G=Me.get(j);if(G&&(!ze(G.removedChunkIds,E)||!ze(G.removedModules,R)||!ze(G.updatedChunkIds,$))){N.warnings.push(new _e(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const R of E)G.removedChunkIds.add(R);for(const E of R)G.removedModules.add(E);for(const E of $)G.updatedChunkIds.add(E);continue}Me.set(j,{removedChunkIds:E,removedModules:R,updatedChunkIds:$,assetInfo:q})}for(const[R,{removedChunkIds:$,removedModules:q,updatedChunkIds:G,assetInfo:ie}]of Me){const ae={c:Array.from(G),r:Array.from($),m:q.size===0?we:we.concat(Array.from(q,(R=>E.getModuleId(R))))};const le=new j(JSON.stringify(ae));N.emitAsset(R,le,{hotModuleReplacement:true,...ie})}}));N.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,R)=>{R.add(le.hmrDownloadManifest);R.add(le.hmrDownloadUpdateHandlers);R.add(le.interceptModuleExecution);R.add(le.moduleCache);N.addRuntimeModule(E,new Ne)}));$.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));$.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));$.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));ae.getCompilationHooks(N).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,R,N)=>{"use strict";const $=N(62433);class HotUpdateChunk extends ${constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,R,N)=>{"use strict";const $=N(40674);class IgnoreErrorModuleFactory extends ${constructor(E){super();this.normalModuleFactory=E}create(E,R){this.normalModuleFactory.create(E,((E,N)=>R(null,N)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,R,N)=>{"use strict";const $=N(35817);const j=$(N(44194),(()=>N(8679)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){j(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(R=>R.filter((R=>!this._ignoreWarnings.some((N=>N(R,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const j=N(56202);const extractFragmentIndex=(E,R)=>[E,R];const sortFragmentWithIndex=([E,R],[N,$])=>{const j=E.stage-N.stage;if(j!==0)return j;const q=E.position-N.position;if(q!==0)return q;return R-$};class InitFragment{constructor(E,R,N,$,j){this.content=E;this.stage=R;this.position=N;this.key=$;this.endContent=j}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,R,N){if(R.length>0){const j=R.map(extractFragmentIndex).sort(sortFragmentWithIndex);const q=new Map;for(const[E]of j){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const R=q.get(E.key);if(R===undefined){q.set(E.key,E)}else if(Array.isArray(R)){R.push(E)}else{q.set(E.key,[R,E])}continue}else if(typeof E.merge==="function"){const R=q.get(E.key);if(R!==undefined){q.set(E.key,E.merge(R));continue}}q.set(E.key||Symbol(),E)}const G=new $;const ie=[];for(let E of q.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}G.add(E.getContent(N));const R=E.getEndContent(N);if(R){ie.push(R)}}G.add(E);for(const E of ie.reverse()){G.add(E)}return G}else{return E}}serialize(E){const{write:R}=E;R(this.content);R(this.stage);R(this.position);R(this.key);R(this.endContent)}deserialize(E){const{read:R}=E;this.content=R();this.stage=R();this.position=R();this.key=R();this.endContent=R()}}j(InitFragment,"webpack/lib/InitFragment");InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class InvalidDependenciesModuleWarning extends ${constructor(E,R){const N=R?Array.from(R).sort():[];const $=N.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${$.slice(0,3).join("\n")}${$.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=$.slice(3).join("\n");this.module=E}}j(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,R,N)=>{"use strict";const $=N(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:R})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;const R=$.getTopLevelSymbol(E.state);if(R){$.addUsage(E.state,null,R)}else{$.bailout(E.state)}}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let R=E.state.module.buildInfo.topLevelDeclarations;if(R===undefined){R=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const N of E.scope.definitions.asSet()){const $=E.getFreeInfoFromVariable(N);if($===undefined){R.add(N)}}}))};R.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);R.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,R,N)=>{"use strict";const $=N(62355);const j=N(66583);const{someInIterable:q}=N(11539);const{compareModulesById:G}=N(68673);const{dirname:ie,mkdirp:ae}=N(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((R,N)=>{const le=R.moduleGraph;$.forEach(Array.from(R.chunks),((N,$)=>{if(!N.canBeInitial()){$();return}const _e=R.chunkGraph;const Ee=R.getPath(this.options.path,{chunk:N});const we=this.options.name&&R.getPath(this.options.name,{chunk:N});const Me=Object.create(null);for(const R of _e.getOrderedChunkModulesIterable(N,G(_e))){if(this.options.entryOnly&&!q(le.getIncomingConnections(R),(E=>E.dependency instanceof j))){continue}const N=R.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(N){const E=le.getExportsInfo(R);const $=E.getProvidedExports();const j={id:_e.getModuleId(R),buildMeta:R.buildMeta,exports:Array.isArray($)?$:undefined};Me[N]=j}}const Ie={name:we,type:this.options.type,content:Me};const Te=this.options.format?JSON.stringify(Ie,null,2):JSON.stringify(Ie);const Ne=Buffer.from(Te,"utf8");ae(E.intermediateFileSystem,ie(E.intermediateFileSystem,Ee),(R=>{if(R)return $(R);E.intermediateFileSystem.writeFile(Ee,Ne,$)}))}),N)}))}}E.exports=LibManifestPlugin},43351:(E,R,N)=>{"use strict";const $=N(13984);class LibraryTemplatePlugin{constructor(E,R,N,$,j){this.library={type:R||"var",name:E,umdNamedDefine:N,auxiliaryComment:$,export:j}}apply(E){const{output:R}=E.options;R.library=this.library;new $(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,R,N)=>{"use strict";const $=N(70354);const j=N(53520);const q=N(35817);const G=q(N(80274),(()=>N(30685)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){G(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{j.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,N)=>{const j=N.resource;if(!j)return;const q=j.indexOf("?");if($.matchObject(R,q<0?j:j.substr(0,q))){for(const N of Object.keys(R)){if(N==="include"||N==="exclude"||N==="test"){continue}E[N]=R[N]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,R,N)=>{"use strict";const $=N(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{$.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(73837);const q=N(76150);const G=N(91671);const ie=G((()=>N(18161)));const ae=G((()=>N(58421)));const le=G((()=>N(67104)));class MainTemplate{constructor(E,R){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:j.deprecate(((E,N)=>{R.hooks.renderManifest.tap(E,((E,R)=>{if(!R.chunk.hasRuntime())return E;return N(E,R)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).renderRequire.tap(E,N)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).render.tap(E,((E,$)=>{if($.chunkGraph.getNumberOfEntryModules($.chunk)===0||!$.chunk.hasRuntime()){return E}return N(E,$.chunk,R.hash,R.moduleTemplates.javascript,R.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).render.tap(E,((E,$)=>{if($.chunkGraph.getNumberOfEntryModules($.chunk)===0||!$.chunk.hasRuntime()){return E}return N(E,$.chunk,R.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:j.deprecate(((E,N)=>{R.hooks.assetPath.tap(E,N)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:j.deprecate(((E,N)=>R.getAssetPath(E,N)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:j.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).chunkHash.tap(E,((E,R)=>{if(!E.hasRuntime())return;return N(R,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:j.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:j.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new $(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new $(["source","chunk","hash"]),requireExtensions:new $(["source","chunk","hash"]),requireEnsure:new $(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=le().getCompilationHooks(R);return E.createScript},get linkPrefetch(){const E=ae().getCompilationHooks(R);return E.linkPrefetch},get linkPreload(){const E=ae().getCompilationHooks(R);return E.linkPreload}});this.renderCurrentHashCode=j.deprecate(((E,R)=>{if(R){return`${q.getFullHash} ? ${q.getFullHash}().slice(0, ${R}) : ${E.slice(0,R)}`}return`${q.getFullHash} ? ${q.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=j.deprecate((E=>R.getAssetPath(R.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=j.deprecate(((E,N)=>R.getAssetPath(E,N)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=j.deprecate(((E,N)=>R.getAssetPathWithInfo(E,N)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:j.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:j.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,R,N)=>{"use strict";const $=N(73837);const j=N(45137);const q=N(32448);const G=N(75412);const ie=N(76150);const{first:ae}=N(26221);const{compareChunksById:le}=N(68673);const _e=N(56202);const Ee={};let we=1e3;const Me=new Set(["unknown"]);const Ie=new Set(["javascript"]);const Te=$.deprecate(((E,R)=>E.needRebuild(R.fileSystemInfo.getDeprecatedFileTimestamps(),R.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends q{constructor(E,R=null,N=null){super();this.type=E;this.context=R;this.layer=N;this.needId=true;this.debugId=we++;this.resolveOptions=Ee;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return j.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}j.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return j.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return j.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return G.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(G.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const R=j.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(R.isModuleInChunk(this,E))return false;R.connectChunkAndModule(E,this);return true}removeChunk(E){return j.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return j.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return j.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return j.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return j.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return j.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,le)}isProvided(E){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,R){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return R?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return R?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(R)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const N=E.getReadOnlyExportInfo(this,"__esModule");if(N.provided===false){return handleDefault()}const $=N.getTarget(E);if(!$||!$.export||$.export.length!==1||$.export[0]!=="__esModule"){return"dynamic"}switch($.module.buildMeta&&$.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return R?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let R=false;for(const N of E.getIncomingConnections(this)){if(!N.dependency||!N.dependency.optional||!N.isTargetActive(undefined)){return false}R=true}return R}isAccessibleInChunk(E,R,N){for(const N of R.groupsIterable){if(!this.isAccessibleInChunkGroup(E,N))return false}return true}isAccessibleInChunkGroup(E,R,N){const $=new Set([R]);e:for(const j of $){for(const R of j.chunks){if(R!==N&&E.isModuleInChunk(this,R))continue e}if(R.isInitial())return false;for(const E of R.parentsIterable)$.add(E)}return true}hasReasonForChunk(E,R,N){for(const[$,j]of R.getIncomingConnectionsByOriginModule(this)){if(!j.some((R=>R.isTargetActive(E.runtime))))continue;for(const R of N.getModuleChunksIterable($)){if(!this.isAccessibleInChunk(N,R,E))return true}}return false}hasReasons(E,R){for(const N of E.getIncomingConnections(this)){if(N.isTargetActive(R))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,R){R(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Te(this,E))}needRebuild(E,R){return true}updateHash(E,R={chunkGraph:j.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:N,runtime:$}=R;E.update(N.getModuleGraphHash(this,$));if(this.presentationalDependencies!==undefined){for(const N of this.presentationalDependencies){N.updateHash(E,R)}}super.updateHash(E,R)}invalidateBuild(){}identifier(){const E=N(75884);throw new E}readableIdentifier(E){const R=N(75884);throw new R}build(E,R,$,j,q){const G=N(75884);throw new G}getSourceTypes(){if(this.source===Module.prototype.source){return Me}else{return Ie}}source(E,R,$="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=N(75884);throw new E}const q=j.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const G={dependencyTemplates:E,runtimeTemplate:R,moduleGraph:q.moduleGraph,chunkGraph:q,runtime:undefined};const ie=this.codeGeneration(G).sources;return $?ie.get($):ie.get(ae(this.getSourceTypes()))}size(E){const R=N(75884);throw new R}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const R=new Map;for(const N of this.getSourceTypes()){if(N!=="unknown"){R.set(N,this.source(E.dependencyTemplates,E.runtimeTemplate,N))}}return{sources:R,runtimeRequirements:new Set([ie.module,ie.exports,ie.require])}}chunkCondition(E,R){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,R){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,R,N,$){}serialize(E){const{write:R}=E;R(this.type);R(this.layer);R(this.context);R(this.resolveOptions);R(this.factoryMeta);R(this.useSourceMap);R(this.useSimpleSourceMap);R(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);R(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);R(this.buildMeta);R(this.buildInfo);R(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:R}=E;this.type=R();this.layer=R();this.context=R();this.resolveOptions=R();this.factoryMeta=R();this.useSourceMap=R();this.useSimpleSourceMap=R();this._warnings=R();this._errors=R();this.buildMeta=R();this.buildInfo=R();this.presentationalDependencies=R();super.deserialize(E)}}_e(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:$.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:$.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,R,N)=>{"use strict";const{cutOffLoaderExecution:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleBuildError extends j{constructor(E,{from:R=null}={}){let N="Module build failed";let j=undefined;if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const R=$(E.stack);if(!E.hideStack){N+=R}else{j=R;if(typeof E.message==="string"&&E.message){N+=E.message}else{N+=E}}}else if(typeof E.message==="string"&&E.message){N+=E.message}else{N+=String(E)}}else{N+=String(E)}super(N);this.name="ModuleBuildError";this.details=j;this.error=E}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}q(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,R,N)=>{"use strict";const $=N(81627);class ModuleDependencyError extends ${constructor(E,R,N){super(R.message);this.name="ModuleDependencyError";this.details=R&&!R.hideStack?R.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=N;this.error=R;if(R&&R.hideStack){this.stack=R.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class ModuleDependencyWarning extends ${constructor(E,R,N){super(R?R.message:"");this.name="ModuleDependencyWarning";this.details=R&&!R.hideStack?R.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=N;this.error=R;if(R&&R.hideStack){this.stack=R.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}j(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,R,N)=>{"use strict";const{cleanUp:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleError extends j{constructor(E,{from:R=null}={}){let N="Module Error";if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E&&typeof E==="object"&&E.message){N+=E.message}else if(E){N+=E}super(N);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?$(E.stack,this.message):undefined}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}q(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,R,N)=>{"use strict";class ModuleFactory{create(E,R){const $=N(75884);throw new $}}E.exports=ModuleFactory},70354:(E,R,N)=>{"use strict";const $=N(35891);const j=N(91671);const q=R;q.ALL_LOADERS_RESOURCE="[all-loaders][resource]";q.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;q.LOADERS_RESOURCE="[loaders][resource]";q.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;q.RESOURCE="[resource]";q.REGEXP_RESOURCE=/\[resource\]/gi;q.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";q.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;q.RESOURCE_PATH="[resource-path]";q.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;q.ALL_LOADERS="[all-loaders]";q.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;q.LOADERS="[loaders]";q.REGEXP_LOADERS=/\[loaders\]/gi;q.QUERY="[query]";q.REGEXP_QUERY=/\[query\]/gi;q.ID="[id]";q.REGEXP_ID=/\[id\]/gi;q.HASH="[hash]";q.REGEXP_HASH=/\[hash\]/gi;q.NAMESPACE="[namespace]";q.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,R)=>()=>{const N=E();const $=N.indexOf(R);return $<0?"":N.substr($)};const getBefore=(E,R)=>()=>{const N=E();const $=N.lastIndexOf(R);return $<0?"":N.substr(0,$)};const getHash=(E,R)=>()=>{const N=$(R);N.update(E());const j=N.digest("hex");return j.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const R={};for(const N of Object.keys(E)){const $=E[N];Object.defineProperty(R,N,{get:()=>$(),set:E=>{Object.defineProperty(R,N,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return R};const G=/\[\\*([\w-]+)\\*\]/gi;q.createFilename=(E="",R,{requestShortener:N,chunkGraph:$,hashFunction:ie="md4"})=>{const ae={namespace:"",moduleFilenameTemplate:"",...typeof R==="object"?R:{moduleFilenameTemplate:R}};let le;let _e;let Ee;let we;let Me;if(typeof E==="string"){Me=j((()=>N.shorten(E)));Ee=Me;we=()=>"";le=()=>E.split("!").pop();_e=getHash(Ee,ie)}else{Me=j((()=>E.readableIdentifier(N)));Ee=j((()=>N.shorten(E.identifier())));we=()=>$.getModuleId(E);le=()=>E.identifier().split("!").pop();_e=getHash(Ee,ie)}const Ie=j((()=>Me().split("!").pop()));const Te=getBefore(Me,"!");const Ne=getBefore(Ee,"!");const Be=getAfter(Ie,"?");const resourcePath=()=>{const E=Be().length;return E===0?Ie():Ie().slice(0,-E)};if(typeof ae.moduleFilenameTemplate==="function"){return ae.moduleFilenameTemplate(lazyObject({identifier:Ee,shortIdentifier:Me,resource:Ie,resourcePath:j(resourcePath),absoluteResourcePath:j(le),allLoaders:j(Ne),query:j(Be),moduleId:j(we),hash:j(_e),namespace:()=>ae.namespace}))}const Le=new Map([["identifier",Ee],["short-identifier",Me],["resource",Ie],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",le],["abs-resource-path",le],["absoluteresource-path",le],["absresource-path",le],["absolute-resourcepath",le],["abs-resourcepath",le],["absoluteresourcepath",le],["absresourcepath",le],["all-loaders",Ne],["allloaders",Ne],["loaders",Te],["query",Be],["id",we],["hash",_e],["namespace",()=>ae.namespace]]);return ae.moduleFilenameTemplate.replace(q.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(q.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(G,((E,R)=>{if(R.length+2===E.length){const E=Le.get(R.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};q.replaceDuplicates=(E,R,N)=>{const $=Object.create(null);const j=Object.create(null);E.forEach(((E,R)=>{$[E]=$[E]||[];$[E].push(R);j[E]=0}));if(N){Object.keys($).forEach((E=>{$[E].sort(N)}))}return E.map(((E,q)=>{if($[E].length>1){if(N&&$[E][0]===q)return E;return R(E,q,j[E]++)}else{return E}}))};q.matchPart=(E,R)=>{if(!R)return true;R=asRegExp(R);if(Array.isArray(R)){return R.map(asRegExp).some((R=>R.test(E)))}else{return R.test(E)}};q.matchObject=(E,R)=>{if(E.test){if(!q.matchPart(R,E.test)){return false}}if(E.include){if(!q.matchPart(R,E.include)){return false}}if(E.exclude){if(q.matchPart(R,E.exclude)){return false}}return true}},75412:(E,R,N)=>{"use strict";const $=N(73837);const j=N(76632);const q=N(79900);const G=N(16102);const ie=N(4396);const ae=new Set;const getConnectionsByOriginModule=E=>{const R=new Map;let N=0;let $=undefined;for(const j of E){const{originModule:E}=j;if(N===E){$.push(j)}else{N=E;const q=R.get(E);if(q!==undefined){$=q;q.push(j)}else{const N=[j];$=N;R.set(E,N)}}}return R};const getConnectionsByModule=E=>{const R=new Map;let N=0;let $=undefined;for(const j of E){const{module:E}=j;if(N===E){$.push(j)}else{N=E;const q=R.get(E);if(q!==undefined){$=q;q.push(j)}else{const N=[j];$=N;R.set(E,N)}}}return R};class ModuleGraphModule{constructor(){this.incomingConnections=new G;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new j;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined}_getModuleGraphModule(E){let R=this._moduleMap.get(E);if(R===undefined){R=new ModuleGraphModule;this._moduleMap.set(E,R)}return R}setParents(E,R,N,$=-1){E._parentDependenciesBlockIndex=$;E._parentDependenciesBlock=R;E._parentModule=N}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}getParentBlockIndex(E){return E._parentDependenciesBlockIndex}setResolvedModule(E,R,N){const $=new q(E,R,N,undefined,R.weak,R.getCondition(this));const j=this._getModuleGraphModule(N).incomingConnections;j.add($);if(E){const R=this._getModuleGraphModule(E);if(R._unassignedConnections===undefined){R._unassignedConnections=[]}R._unassignedConnections.push($);if(R.outgoingConnections===undefined){R.outgoingConnections=new G}R.outgoingConnections.add($)}else{this._dependencyMap.set(R,$)}}updateModule(E,R){const N=this.getConnection(E);if(N.module===R)return;const $=N.clone();$.module=R;this._dependencyMap.set(E,$);N.setActive(false);const j=this._getModuleGraphModule(N.originModule);j.outgoingConnections.add($);const q=this._getModuleGraphModule(R);q.incomingConnections.add($)}removeConnection(E){const R=this.getConnection(E);const N=this._getModuleGraphModule(R.module);N.incomingConnections.delete(R);const $=this._getModuleGraphModule(R.originModule);$.outgoingConnections.delete(R);this._dependencyMap.set(E,null)}addExplanation(E,R){const N=this.getConnection(E);N.addExplanation(R)}cloneModuleAttributes(E,R){const N=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(R);$.postOrderIndex=N.postOrderIndex;$.preOrderIndex=N.preOrderIndex;$.depth=N.depth;$.exports=N.exports;$.async=N.async}removeModuleAttributes(E){const R=this._getModuleGraphModule(E);R.postOrderIndex=null;R.preOrderIndex=null;R.depth=null;R.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,R,N){if(E===R)return;const $=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(R);const q=$.outgoingConnections;if(q!==undefined){if(j.outgoingConnections===undefined){j.outgoingConnections=new G}const E=j.outgoingConnections;for(const $ of q){if(N($)){$.originModule=R;E.add($);q.delete($)}}}const ie=$.incomingConnections;const ae=j.incomingConnections;for(const E of ie){if(N(E)){E.module=R;ae.add(E);ie.delete(E)}}}copyOutgoingModuleConnections(E,R,N){if(E===R)return;const $=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(R);const q=$.outgoingConnections;if(q!==undefined){if(j.outgoingConnections===undefined){j.outgoingConnections=new G}const E=j.outgoingConnections;for(const $ of q){if(N($)){const N=$.clone();N.originModule=R;E.add(N);if(N.module!==undefined){const E=this._getModuleGraphModule(N.module);E.incomingConnections.add(N)}}}}}addExtraReason(E,R){const N=this._getModuleGraphModule(E).incomingConnections;N.add(new q(null,null,E,R))}getResolvedModule(E){const R=this.getConnection(E);return R!==undefined?R.resolvedModule:null}getConnection(E){const R=this._dependencyMap.get(E);if(R===undefined){const R=this.getParentModule(E);if(R!==undefined){const N=this._getModuleGraphModule(R);if(N._unassignedConnections&&N._unassignedConnections.length!==0){let R;for(const $ of N._unassignedConnections){this._dependencyMap.set($.dependency,$);if($.dependency===E)R=$}N._unassignedConnections.length=0;if(R!==undefined){return R}}}this._dependencyMap.set(E,null);return undefined}return R===null?undefined:R}getModule(E){const R=this.getConnection(E);return R!==undefined?R.module:null}getOrigin(E){const R=this.getConnection(E);return R!==undefined?R.originModule:null}getResolvedOrigin(E){const R=this.getConnection(E);return R!==undefined?R.resolvedOriginModule:null}getIncomingConnections(E){const R=this._getModuleGraphModule(E).incomingConnections;return R}getOutgoingConnections(E){const R=this._getModuleGraphModule(E).outgoingConnections;return R===undefined?ae:R}getIncomingConnectionsByOriginModule(E){const R=this._getModuleGraphModule(E).incomingConnections;return R.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(E){const R=this._getModuleGraphModule(E).outgoingConnections;return R===undefined?undefined:R.getFromUnorderedCache(getConnectionsByModule)}getProfile(E){const R=this._getModuleGraphModule(E);return R.profile}setProfile(E,R){const N=this._getModuleGraphModule(E);N.profile=R}getIssuer(E){const R=this._getModuleGraphModule(E);return R.issuer}setIssuer(E,R){const N=this._getModuleGraphModule(E);N.issuer=R}setIssuerIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.issuer===undefined)N.issuer=R}getOptimizationBailout(E){const R=this._getModuleGraphModule(E);return R.optimizationBailout}getProvidedExports(E){const R=this._getModuleGraphModule(E);return R.exports.getProvidedExports()}isExportProvided(E,R){const N=this._getModuleGraphModule(E);const $=N.exports.isExportProvided(R);return $===undefined?null:$}getExportsInfo(E){const R=this._getModuleGraphModule(E);return R.exports}getExportInfo(E,R){const N=this._getModuleGraphModule(E);return N.exports.getExportInfo(R)}getReadOnlyExportInfo(E,R){const N=this._getModuleGraphModule(E);return N.exports.getReadOnlyExportInfo(R)}getUsedExports(E,R){const N=this._getModuleGraphModule(E);return N.exports.getUsedExports(R)}getPreOrderIndex(E){const R=this._getModuleGraphModule(E);return R.preOrderIndex}getPostOrderIndex(E){const R=this._getModuleGraphModule(E);return R.postOrderIndex}setPreOrderIndex(E,R){const N=this._getModuleGraphModule(E);N.preOrderIndex=R}setPreOrderIndexIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.preOrderIndex===null){N.preOrderIndex=R;return true}return false}setPostOrderIndex(E,R){const N=this._getModuleGraphModule(E);N.postOrderIndex=R}setPostOrderIndexIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.postOrderIndex===null){N.postOrderIndex=R;return true}return false}getDepth(E){const R=this._getModuleGraphModule(E);return R.depth}setDepth(E,R){const N=this._getModuleGraphModule(E);N.depth=R}setDepthIfLower(E,R){const N=this._getModuleGraphModule(E);if(N.depth===null||N.depth>R){N.depth=R;return true}return false}isAsync(E){const R=this._getModuleGraphModule(E);return R.async}setAsync(E){const R=this._getModuleGraphModule(E);R.async=true}getMeta(E){let R=this._metaMap.get(E);if(R===undefined){R=Object.create(null);this._metaMap.set(E,R)}return R}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(E){this._cache=new ie;this._cacheStage=E}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(E,...R){if(this._cache===undefined)return E(this,...R);return this._cache.provide(E,...R,(()=>E(this,...R)))}setModuleMemCaches(E){this._moduleMemCaches=E}dependencyCacheProvide(E,...R){const N=R.pop();if(this._moduleMemCaches&&this._cacheStage){const $=this._moduleMemCaches.get(this.getParentModule(E));if($!==undefined){return $.provide(E,this._cacheStage,...R,(()=>N(this,E,...R)))}}if(this._cache===undefined)return N(this,E,...R);return this._cache.provide(E,...R,(()=>N(this,E,...R)))}static getModuleGraphForModule(E,R,N){const j=_e.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=le.get(E);if(!N)throw new Error(R+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return N}),R+": Use new ModuleGraph API",N);_e.set(R,q);return q(E)}static setModuleGraphForModule(E,R){le.set(E,R)}static clearModuleGraphForModule(E){le.delete(E)}}const le=new WeakMap;const _e=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=q},79900:E=>{"use strict";const R=Symbol("transitive only");const N=Symbol("circular connection");const addConnectionStates=(E,N)=>{if(E===true||N===true)return true;if(E===false)return N;if(N===false)return E;if(E===R)return N;if(N===R)return E;return E};const intersectConnectionStates=(E,R)=>{if(E===false||R===false)return false;if(E===true)return R;if(R===true)return E;if(E===N)return R;if(R===N)return E;return E};class ModuleGraphConnection{constructor(E,R,N,$,j=false,q=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=R;this.resolvedModule=N;this.module=N;this.weak=j;this.conditional=!!q;this._active=q!==false;this.condition=q||undefined;this.explanations=undefined;if($){this.explanations=new Set;this.explanations.add($)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const R=this.condition;this.condition=(N,$)=>intersectConnectionStates(R(N,$),E(N,$))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=R;E.exports.CIRCULAR_CONNECTION=N},21542:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j,CachedSource:q}=N(2991);const{UsageState:G}=N(76632);const ie=N(58159);const ae=N(18161);const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const printExportsInfoToSource=(E,R,N,$,j,q=new Set)=>{const ae=N.otherExportsInfo;let le=0;const _e=[];for(const E of N.orderedExports){if(!q.has(E)){q.add(E);_e.push(E)}else{le++}}let Ee=false;if(!q.has(ae)){q.add(ae);Ee=true}else{le++}for(const N of _e){const G=N.getTarget($);E.add(ie.toComment(`${R}export ${JSON.stringify(N.name).slice(1,-1)} [${N.getProvidedInfo()}] [${N.getUsedInfo()}] [${N.getRenameInfo()}]${G?` -> ${G.module.readableIdentifier(j)}${G.export?` .${G.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(N.exportsInfo){printExportsInfoToSource(E,R+" ",N.exportsInfo,$,j,q)}}if(le){E.add(ie.toComment(`${R}... (${le} already listed exports)`)+"\n")}if(Ee){const N=ae.getTarget($);if(N||ae.provided!==false||ae.getUsed(undefined)!==G.Unused){const $=_e.length>0||le>0?"other exports":"exports";E.add(ie.toComment(`${R}${$} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${N?` -> ${N.module.readableIdentifier(j)}`:""}`)+"\n")}}};const le=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:R}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const N=ae.getCompilationHooks(E);N.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,N,{chunk:G,chunkGraph:ae,moduleGraph:_e,runtimeTemplate:Ee})=>{const{requestShortener:we}=Ee;let Me;let Ie=le.get(we);if(Ie===undefined){le.set(we,Ie=new WeakMap);Ie.set(N,Me={header:undefined,full:new WeakMap})}else{Me=Ie.get(N);if(Me===undefined){Ie.set(N,Me={header:undefined,full:new WeakMap})}else if(!R){const R=Me.full.get(E);if(R!==undefined)return R}}const Te=new $;let Ne=Me.header;if(Ne===undefined){const E=N.readableIdentifier(we);const R=E.replace(/\*\//g,"*_/");const $="*".repeat(R.length);const q=`/*!****${$}****!*\\\n !*** ${R} ***!\n \\****${$}****/\n`;Ne=new j(q);Me.header=Ne}Te.add(Ne);if(R){const R=N.buildMeta.exportsType;Te.add(ie.toComment(R?`${R} exports`:"unknown exports (runtime-defined)")+"\n");if(R){const E=_e.getExportsInfo(N);printExportsInfoToSource(Te,"",E,_e,we)}Te.add(ie.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(N,G.runtime))}`)+"\n");const $=_e.getOptimizationBailout(N);if($){for(const E of $){let R;if(typeof E==="function"){R=E(we)}else{R=E}Te.add(ie.toComment(`${R}`)+"\n")}}Te.add(E);return Te}else{Te.add(E);const R=new q(Te);Me.full.set(E,R);return R}}));N.chunkHash.tap("ModuleInfoHeaderPlugin",((E,R)=>{R.update("ModuleInfoHeaderPlugin");R.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,R,N)=>{"use strict";const $=N(81627);const j={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends ${constructor(E,R,N){let $=`Module not found: ${R.toString()}`;const q=R.message.match(/Can't resolve '([^']+)'/);if(q){const E=q[1];const R=j[E];if(R){const N=R.indexOf("/");const j=N>0?R.slice(0,N):R;$+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";$+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${R}") }'\n`+`\t- install '${j}'\n`;$+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super($);this.name="ModuleNotFoundError";this.details=R.details;this.module=E;this.error=R;this.loc=N}}E.exports=ModuleNotFoundError},14489:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);const q=Buffer.from([0,97,115,109]);class ModuleParseError extends ${constructor(E,R,N,$){let j="Module parse failed: "+(R&&R.message);let G=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(q)||typeof E==="string"&&/^\0asm/.test(E))&&!$.startsWith("webassembly")){j+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";j+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";j+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";j+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!N){j+="\nYou may need an appropriate loader to handle this file type."}else if(N.length>=1){j+=`\nFile was processed with these loaders:${N.map((E=>`\n * ${E}`)).join("")}`;j+="\nYou may need an additional loader to handle the result of these loaders."}else{j+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(R&&R.loc&&typeof R.loc==="object"&&typeof R.loc.line==="number"){var ie=R.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){j+="\n(Source code omitted for this binary file)"}else{const R=E.split(/\r?\n/);const N=Math.max(0,ie-3);const $=R.slice(N,ie-1);const q=R[ie-1];const G=R.slice(ie,ie+2);j+=$.map((E=>`\n| ${E}`)).join("")+`\n> ${q}`+G.map((E=>`\n| ${E}`)).join("")}G={start:R.loc}}else if(R&&R.stack){j+="\n"+R.stack}super(j);this.name="ModuleParseError";this.loc=G;this.error=R}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}j(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,R,N)=>{"use strict";const $=N(81627);class ModuleRestoreError extends ${constructor(E,R){let N="Module restore failed: ";let $=undefined;if(R!==null&&typeof R==="object"){if(typeof R.stack==="string"&&R.stack){const E=R.stack;N+=E}else if(typeof R.message==="string"&&R.message){N+=R.message}else{N+=R}}else{N+=String(R)}super(N);this.name="ModuleRestoreError";this.details=$;this.module=E;this.error=R}}E.exports=ModuleRestoreError},31467:(E,R,N)=>{"use strict";const $=N(81627);class ModuleStoreError extends ${constructor(E,R){let N="Module storing failed: ";let $=undefined;if(R!==null&&typeof R==="object"){if(typeof R.stack==="string"&&R.stack){const E=R.stack;N+=E}else if(typeof R.message==="string"&&R.message){N+=R.message}else{N+=R}}else{N+=String(R)}super(N);this.name="ModuleStoreError";this.details=$;this.module=E;this.error=R}}E.exports=ModuleStoreError},68661:(E,R,N)=>{"use strict";const $=N(73837);const j=N(91671);const q=j((()=>N(18161)));class ModuleTemplate{constructor(E,R){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContent.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContent.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContainer.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModulePackage.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:$.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:$.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,R,N)=>{"use strict";const{cleanUp:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleWarning extends j{constructor(E,{from:R=null}={}){let N="Module Warning";if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E&&typeof E==="object"&&E.message){N+=E.message}else if(E){N+=String(E)}super(N);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?$(E.stack,this.message):undefined}serialize(E){const{write:R}=E;R(this.warning);super.serialize(E)}deserialize(E){const{read:R}=E;this.warning=R();super.deserialize(E)}}q(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,R,N)=>{"use strict";const $=N(62355);const{SyncHook:j,MultiHook:q}=N(92960);const G=N(27310);const ie=N(34884);const ae=N(10869);const le=N(56561);E.exports=class MultiCompiler{constructor(E,R){if(!Array.isArray(E)){E=Object.keys(E).map((R=>{E[R].name=R;return E[R]}))}this.hooks=Object.freeze({done:new j(["stats"]),invalid:new q(E.map((E=>E.hooks.invalid))),run:new q(E.map((E=>E.hooks.run))),watchClose:new j([]),watchRun:new q(E.map((E=>E.hooks.watchRun))),infrastructureLog:new q(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:R.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const N=this.compilers.map((()=>null));let $=0;for(let E=0;E{if(!q){q=true;$++}N[j]=E;if($===this.compilers.length){this.hooks.done.call(new ie(N))}}));R.hooks.invalid.tap("MultiCompiler",(()=>{if(q){q=false;$--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const R of this.compilers){while(R.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const R of this.compilers){R.inputFileSystem=E}}set outputFileSystem(E){for(const R of this.compilers){R.outputFileSystem=E}}set watchFileSystem(E){for(const R of this.compilers){R.watchFileSystem=E}}set intermediateFileSystem(E){for(const R of this.compilers){R.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,R){this.dependencies.set(E,R)}validateDependencies(E){const R=new Set;const N=[];const targetFound=E=>{for(const N of R){if(N.target===E){return true}}return false};const sortEdges=(E,R)=>E.source.name.localeCompare(R.source.name)||E.target.name.localeCompare(R.target.name);for(const E of this.compilers){const $=this.dependencies.get(E);if($){for(const j of $){const $=this.compilers.find((E=>E.name===j));if(!$){N.push(j)}else{R.add({source:E,target:$})}}}}const $=N.map((E=>`Compiler dependency \`${E}\` not found.`));const j=this.compilers.filter((E=>!targetFound(E)));while(j.length>0){const E=j.pop();for(const N of R){if(N.source===E){R.delete(N);const E=N.target;if(!targetFound(E)){j.push(E)}}}}if(R.size>0){const E=Array.from(R).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");$.unshift(E.join("\n"))}if($.length>0){const R=$.join("\n");E(new Error(R));return false}return true}runWithDependencies(E,R,N){const j=new Set;let q=E;const isDependencyFulfilled=E=>j.has(E);const getReadyCompilers=()=>{let E=[];let R=q;q=[];for(const N of R){const R=this.dependencies.get(N);const $=!R||R.every(isDependencyFulfilled);if($){E.push(N)}else{q.push(N)}}return E};const runCompilers=E=>{if(q.length===0)return E();$.map(getReadyCompilers(),((E,N)=>{R(E,(R=>{if(R)return N(R);j.add(E.name);runCompilers(N)}))}),E)};runCompilers(N)}_runGraph(E,R,N){const j=this.compilers.map((E=>({compiler:E,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const q=new Map;for(const E of j)q.set(E.compiler.name,E);for(const E of j){const R=this.dependencies.get(E.compiler);if(!R)continue;for(const N of R){const R=q.get(N);E.parents.push(R);R.children.push(E)}}const G=new le;for(const E of j){if(E.parents.length===0){E.state="queued";G.enqueue(E)}}let ae=false;let _e=0;const Ee=this._options.parallelism;const nodeDone=(E,R,q)=>{if(ae)return;if(R){ae=true;return $.each(j,((E,R)=>{if(E.compiler.watching){E.compiler.watching.close(R)}else{R()}}),(()=>N(R)))}E.result=q;_e--;if(E.state==="running"){E.state="done";for(const R of E.children){if(R.state==="blocked")G.enqueue(R)}}else if(E.state==="running-outdated"){E.state="blocked";G.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const R of E.children){nodeInvalidFromParent(R)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const R of E.children){nodeInvalidFromParent(R)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){G.enqueue(E);processQueue()}};const we=[];j.forEach(((R,N)=>{we.push(R.setupResult=E(R.compiler,N,nodeDone.bind(null,R),(()=>R.state!=="starting"&&R.state!=="running"),(()=>nodeChange(R)),(()=>nodeInvalid(R))))}));let Me=true;const processQueue=()=>{if(Me)return;Me=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(_e0&&!ae){const E=G.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){_e++;E.state="starting";R(E.compiler,E.setupResult,nodeDone.bind(null,E));E.state="running"}}Me=false;if(!ae&&_e===0&&j.every((E=>E.state==="done"))){const E=[];for(const R of j){const N=R.result;if(N){R.result=undefined;E.push(N)}}if(E.length>0){N(null,new ie(E))}}};processQueueWorker();return we}watch(E,R){if(this.running){return R(new G)}this.running=true;if(this.validateDependencies(R)){const N=this._runGraph(((R,N,$,j,q,G)=>{const ie=R.watch(Array.isArray(E)?E[N]:E,$);if(ie){ie._onInvalid=G;ie._onChange=q;ie._isBlocked=j}return ie}),((E,R,N)=>{if(E.watching!==R)return;if(!R.running)R.invalidate()}),R);return new ae(N,this)}return new ae([],this)}run(E){if(this.running){return E(new G)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,R,N)=>E.run(N)),((R,N)=>{this.running=false;if(E!==undefined){return E(R,N)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){$.each(this.compilers,((E,R)=>{E.close(R)}),E)}}},34884:(E,R,N)=>{"use strict";const $=N(49197);const indent=(E,R)=>{const N=E.replace(/\n([^\n])/g,"\n"+R+"$1");return R+N};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,R){if(!E){E={}}const{children:N=undefined,...$}=typeof E==="string"?{preset:E}:E;const j=this.stats.map(((E,j)=>{const q=Array.isArray(N)?N[j]:N;return E.compilation.createStatsOptions({...$,...typeof q==="string"?{preset:q}:q&&typeof q==="object"?q:undefined},R)}));return{version:j.every((E=>E.version)),hash:j.every((E=>E.hash)),errorsCount:j.every((E=>E.errorsCount)),warningsCount:j.every((E=>E.warningsCount)),errors:j.every((E=>E.errors)),warnings:j.every((E=>E.warnings)),children:j}}toJson(E){E=this._createChildOptions(E,{forToString:false});const R={};R.children=this.stats.map(((R,N)=>{const j=R.toJson(E.children[N]);const q=R.compilation.name;const G=q&&$.makePathsRelative(E.context,q,R.compilation.compiler.root);j.name=G;return j}));if(E.version){R.version=R.children[0].version}if(E.hash){R.hash=R.children.map((E=>E.hash)).join("")}const mapError=(E,R)=>({...R,compilerPath:R.compilerPath?`${E.name}.${R.compilerPath}`:E.name});if(E.errors){R.errors=[];for(const E of R.children){for(const N of E.errors){R.errors.push(mapError(E,N))}}}if(E.warnings){R.warnings=[];for(const E of R.children){for(const N of E.warnings){R.warnings.push(mapError(E,N))}}}if(E.errorsCount){R.errorsCount=0;for(const E of R.children){R.errorsCount+=E.errorsCount}}if(E.warningsCount){R.warningsCount=0;for(const E of R.children){R.warningsCount+=E.warningsCount}}return R}toString(E){E=this._createChildOptions(E,{forToString:true});const R=this.stats.map(((R,N)=>{const j=R.toString(E.children[N]);const q=R.compilation.name;const G=q&&$.makePathsRelative(E.context,q,R.compilation.compiler.root).replace(/\|/g," ");if(!j)return j;return G?`${G}:\n${indent(j," ")}`:j}));return R.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,R,N)=>{"use strict";const $=N(62355);class MultiWatching{constructor(E,R){this.watchings=E;this.compiler=R}invalidate(E){if(E){$.each(this.watchings,((E,R)=>E.invalidate(R)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){$.forEach(this.watchings,((E,R)=>{E.close(R)}),(R=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(R)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class NoModeWarning extends ${constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},39960:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class NodeStuffInWebError extends ${constructor(E,R,N){super(`${JSON.stringify(R)} has been used, it will be undefined in next major version.\n${N}`);this.name="NodeStuffInWebError";this.loc=E}}j(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");E.exports=NodeStuffInWebError},32125:(E,R,N)=>{"use strict";const $=N(39960);const j=N(76150);const q=N(59455);const G=N(66298);const{evaluateToString:ie,expressionIsUnsupported:ae}=N(48472);const{relative:le}=N(95396);const{parseResource:_e}=N(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((N,{normalModuleFactory:Ee})=>{const handler=(N,Ee)=>{if(Ee.node===false)return;let we=R;if(Ee.node){we={...we,...Ee.node}}if(we.global!==false){const E=we.global==="warn";N.hooks.expression.for("global").tap("NodeStuffPlugin",(R=>{const q=new G(j.global,R.range,[j.global]);q.loc=R.loc;N.state.module.addPresentationalDependency(q);if(E){N.state.module.addWarning(new $(q.loc,"global","The global namespace object is Node.js feature and doesn't present in browser."))}}))}const setModuleConstant=(E,R,j)=>{N.hooks.expression.for(E).tap("NodeStuffPlugin",(G=>{const ie=new q(JSON.stringify(R(N.state.module)),G.range,E);ie.loc=G.loc;N.state.module.addPresentationalDependency(ie);if(j){N.state.module.addWarning(new $(ie.loc,E,j))}return true}))};const setConstant=(E,R,N)=>setModuleConstant(E,(()=>R),N);const Me=E.context;if(we.__filename){switch(we.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","The __filename is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__filename",(R=>le(E.inputFileSystem,Me,R.resource)));break}N.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!N.state.module)return;const R=_e(N.state.module.resource);return ie(R.path)(E)}))}if(we.__dirname){switch(we.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","The __dirname is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__dirname",(R=>le(E.inputFileSystem,Me,R.context)));break}N.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!N.state.module)return;return ie(N.state.module.context)(E)}))}N.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ae(N,"require.extensions is not supported by webpack. Use a loader instead."))};Ee.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);Ee.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,R,N)=>{"use strict";const $=N(78688);const{getContext:j,runLoaders:q}=N(60425);const G=N(63477);const{HookMap:ie,SyncHook:ae,AsyncSeriesBailHook:le}=N(92960);const{CachedSource:_e,OriginalSource:Ee,RawSource:we,SourceMapSource:Me}=N(2991);const Ie=N(3080);const Te=N(3728);const Ne=N(53453);const Be=N(26509);const Le=N(91613);const je=N(79900);const ze=N(14489);const Ue=N(8893);const qe=N(76150);const Ge=N(77090);const He=N(81627);const We=N(72380);const Ve=N(83379);const{isSubset:Ke}=N(26221);const{getScheme:Qe}=N(45754);const{compareLocations:Je,concatComparators:Xe,compareSelect:Ye,keepOriginalOrder:Ze}=N(68673);const et=N(35891);const{createFakeHook:tt}=N(16595);const{join:nt}=N(95396);const{contextify:rt,absolutify:st,makePathsRelative:it}=N(49197);const ot=N(56202);const lt=N(91671);const ct=lt((()=>N(49619)));const ut=lt((()=>N(15235).validate));const pt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,R,N)=>{if(R.startsWith("webpack://"))return R;return`webpack://${it(E,R,N)}`};const contextifySourceMap=(E,R,N)=>{if(!Array.isArray(R.sources))return R;const{sourceRoot:$}=R;const j=!$?E=>E:$.endsWith("/")?E=>E.startsWith("/")?`${$.slice(0,-1)}${E}`:`${$}${E}`:E=>E.startsWith("/")?`${$}${E}`:`${$}/${E}`;const q=R.sources.map((R=>contextifySourceUrl(E,j(R),N)));return{...R,file:"x",sourceRoot:undefined,sources:q}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends He{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}ot(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const dt=new WeakMap;class NormalModule extends Ne{static getCompilationHooks(E){if(!(E instanceof Ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=dt.get(E);if(R===undefined){R={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new ie((E=>{const N=R.readResource.for(E);return tt({tap:(E,R)=>N.tap(E,(E=>R(E.resource,E._module))),tapAsync:(E,R)=>N.tapAsync(E,((E,N)=>R(E.resource,E._module,N))),tapPromise:(E,R)=>N.tapPromise(E,(E=>R(E.resource,E._module)))})})),readResource:new ie((()=>new le(["loaderContext"]))),needBuild:new le(["module","context"])};dt.set(E,R)}return R}constructor({layer:E,type:R,request:N,userRequest:$,rawRequest:q,loaders:G,resource:ie,resourceResolveData:ae,context:le,matchResource:_e,parser:Ee,parserOptions:we,generator:Me,generatorOptions:Ie,resolveOptions:Te}){super(R,le||j(ie),E);this.request=N;this.userRequest=$;this.rawRequest=q;this.binary=/^(asset|webassembly)\b/.test(R);this.parser=Ee;this.parserOptions=we;this.generator=Me;this.generatorOptions=Ie;this.resource=ie;this.resourceResolveData=ae;this.matchResource=_e;this.loaders=G;if(Te!==undefined){this.resolveOptions=Te}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){if(this.type==="javascript/auto"){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return rt(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const R=E.indexOf("?");if(R>=0)return E.substr(0,R);return E}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.binary=R.binary;this.request=R.request;this.userRequest=R.userRequest;this.rawRequest=R.rawRequest;this.parser=R.parser;this.parserOptions=R.parserOptions;this.generator=R.generator;this.generatorOptions=R.generatorOptions;this.resource=R.resource;this.resourceResolveData=R.resourceResolveData;this.context=R.context;this.matchResource=R.matchResource;this.loaders=R.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,R){this._restoreFromUnsafeCache(E,R)}_restoreFromUnsafeCache(E,R){super._restoreFromUnsafeCache(E,R);this.parserOptions=E.parserOptions;this.parser=R.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=R.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,R,N,$,j){if($){if(typeof $==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new Ee(N,contextifySourceUrl(E,$,j))}if(this.useSourceMap){return new Me(N,R,contextifySourceMap(E,$,j))}}return new we(N)}_createLoaderContext(E,R,N,j,q){const{requestShortener:ie}=N.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(Me);if(!E)return"(not in loader scope)";return ie.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>Me.addDependency(E)},contextDependencies:{add:E=>Me.addContextDependency(E)},missingDependencies:{add:E=>Me.addMissingDependency(E)}});const ae=lt((()=>st.bindCache(N.compiler.root)));const le=lt((()=>st.bindContextCache(this.context,N.compiler.root)));const _e=lt((()=>rt.bindCache(N.compiler.root)));const Ee=lt((()=>rt.bindContextCache(this.context,N.compiler.root)));const we={absolutify:(E,R)=>E===this.context?le()(R):ae()(E,R),contextify:(E,R)=>E===this.context?Ee()(R):_e()(E,R),createHash:E=>et(E||N.outputOptions.hashFunction)};const Me={version:2,getOptions:E=>{const R=this.getCurrentLoader(Me);let{options:N}=R;if(typeof N==="string"){if(N.substr(0,1)==="{"&&N.substr(-1)==="}"){try{N=$(N)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{N=G.parse(N,"&","=",{maxKeys:0})}}if(N===null||N===undefined){N={}}if(E){let R="Loader";let $="options";let j;if(E.title&&(j=/^(.+) (.+)$/.exec(E.title))){[,R,$]=j}ut()(E,N,{name:R,baseDataPath:$})}return N},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Ue(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Le(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const R=this.getCurrentLoader(Me);return N.getLogger((()=>[R&&R.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(R,N,$){E.resolve({},R,N,getResolveContext(),$)},getResolve(R){const N=R?E.withOptions(R):E;return(E,R,$)=>{if($){N.resolve({},E,R,getResolveContext(),$)}else{return new Promise((($,j)=>{N.resolve({},E,R,getResolveContext(),((E,R)=>{if(E)j(E);else $(R)}))}))}}},emitFile:(E,$,j,q)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(R.context,E,$,j,N.compiler.root);this.buildInfo.assetsInfo.set(E,q)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new Ve}this.buildInfo.buildDependencies.add(E)},utils:we,rootContext:R.context,webpack:true,sourceMap:!!this.useSourceMap,mode:R.mode||"production",_module:this,_compilation:N,_compiler:N.compiler,fs:j};Object.assign(Me,R.loader);q.loader.call(Me,this);return Me}getCurrentLoader(E,R=E.loaderIndex){if(this.loaders&&this.loaders.length&&R=0&&this.loaders[R]){return this.loaders[R]}return null}createSource(E,R,N,$){if(Buffer.isBuffer(R)){return new we(R)}if(!this.identifier){return new we(R)}const j=this.identifier();if(this.useSourceMap&&N){return new Me(R,contextifySourceUrl(E,j,$),contextifySourceMap(E,N,$))}if(this.useSourceMap||this.useSimpleSourceMap){return new Ee(R,contextifySourceUrl(E,j,$))}return new we(R)}_doBuild(E,R,N,$,j,G){const ie=this._createLoaderContext(N,E,R,$,j);const processResult=(N,$)=>{if(N){if(!(N instanceof Error)){N=new NonErrorEmittedError(N)}const E=this.getCurrentLoader(ie);const $=new Be(N,{from:E&&R.runtimeTemplate.requestShortener.shorten(E.loader)});return G($)}const j=$[0];const q=$.length>=1?$[1]:null;const ae=$.length>=2?$[2]:null;if(!Buffer.isBuffer(j)&&typeof j!=="string"){const E=this.getCurrentLoader(ie,0);const N=new Error(`Final loader (${E?R.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const $=new Be(N);return G($)}this._source=this.createSource(E.context,this.binary?asBuffer(j):asString(j),q,R.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return G()};this.buildInfo.fileDependencies=new Ve;this.buildInfo.contextDependencies=new Ve;this.buildInfo.missingDependencies=new Ve;this.buildInfo.cacheable=true;try{j.beforeLoaders.call(this.loaders,this,ie)}catch(E){processResult(E);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new Ve}q({resource:this.resource,loaders:this.loaders,context:ie,processResource:(E,R,N)=>{const $=E.resource;const q=Qe($);j.readResource.for(q).callAsync(E,((E,R)=>{if(E)return N(E);if(typeof R!=="string"&&!R){return N(new Ge(q,$))}return N(null,R)}))}},((E,R)=>{ie._compilation=ie._compiler=ie._module=ie.fs=undefined;if(!R){this.buildInfo.cacheable=false;return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(R.fileDependencies);this.buildInfo.contextDependencies.addAll(R.contextDependencies);this.buildInfo.missingDependencies.addAll(R.missingDependencies);for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&R.cacheable;processResult(E,R.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,R){if(typeof E==="string"){return R.startsWith(E)}if(typeof E==="function"){return E(R)}return E.test(R)}shouldPreventParsing(E,R){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,R)}for(let N=0;N{if(N){this.markModuleAsErrored(N);this._initBuildHash(R);return j()}const handleParseError=N=>{const $=this._source.source();const q=this.loaders.map((N=>rt(E.context,N.loader,R.compiler.root)));const G=new ze($,N,q,this.type);this.markModuleAsErrored(G);this._initBuildHash(R);return j()};const handleParseResult=E=>{this.dependencies.sort(Xe(Ye((E=>E.loc),Je),Ze(this.dependencies)));this._initBuildHash(R);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{G.beforeSnapshot.call(this)}catch(E){this.markModuleAsErrored(E);return j()}const E=R.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return j()}let N=undefined;const checkDependencies=E=>{for(const $ of E){if(!pt.test($)){if(N===undefined)N=new Set;N.add($);E.delete($);try{const N=$.replace(/[\\/]?\*.*$/,"");const j=nt(R.fileSystemInfo.fs,this.context,N);if(j!==$&&pt.test(j)){(N!==$?this.buildInfo.contextDependencies:E).add(j)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(N!==undefined){const E=ct();this.addWarning(new E(this,N))}R.fileSystemInfo.createSnapshot(q,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,R)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=R;return j()}))};try{G.beforeParse.call(this)}catch(N){this.markModuleAsErrored(N);this._initBuildHash(R);return j()}const $=E.module&&E.module.noParse;if(this.shouldPreventParsing($,this.request)){this.buildInfo.parsed=false;this._initBuildHash(R);return handleBuildDone()}let ie;try{const N=this._source.source();ie=this.parser.parse(this._ast||N,{source:N,current:this,module:this,compilation:R,options:E})}catch(E){handleParseError(E);return}handleParseResult(ie)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return je.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let R=false;for(const N of this.dependencies){const $=N.getModuleEvaluationSideEffectsState(E);if($===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${N.type}) with side effects at ${We(N.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if($!==je.CIRCULAR_CONNECTION){R=je.addConnectionStates(R,$)}}this._isEvaluatingSideEffects=false;return R}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtime:j,concatenationScope:q}){const G=new Set;if(!this.buildInfo.parsed){G.add(qe.module);G.add(qe.exports);G.add(qe.thisAsExports)}let ie;const getData=()=>{if(ie===undefined)ie=new Map;return ie};const ae=new Map;for(const ie of this.generator.getTypes(this)){const le=this.error?new we("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtimeRequirements:G,runtime:j,concatenationScope:q,getData:getData,type:ie});if(le){ae.set(ie,new _e(le))}}const le={sources:ae,runtimeRequirements:G,data:ie};return le}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(E,R){const{fileSystemInfo:N,compilation:$,valueCacheVersions:j}=E;if(this._forceBuild)return R(null,true);if(this.error)return R(null,true);if(!this.buildInfo.cacheable)return R(null,true);if(!this.buildInfo.snapshot)return R(null,true);const q=this.buildInfo.valueDependencies;if(q){if(!j)return R(null,true);for(const[E,N]of q){if(N===undefined)return R(null,true);const $=j.get(E);if(N!==$&&(typeof N==="string"||typeof $==="string"||$===undefined||!Ke(N,$))){return R(null,true)}}}N.checkSnapshotValid(this.buildInfo.snapshot,((N,j)=>{if(N)return R(N);if(!j)return R(null,true);const q=NormalModule.getCompilationHooks($);q.needBuild.callAsync(this,E,((E,N)=>{if(E){return R(Te.makeWebpackError(E,"NormalModule.getCompilationHooks().needBuild"))}R(null,!!N)}))}))}size(E){const R=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(R!==undefined){return R}const N=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,N);return N}addCacheDependencies(E,R,N,$){const{snapshot:j,buildDependencies:q}=this.buildInfo;if(j){E.addAll(j.getFileIterable());R.addAll(j.getContextIterable());N.addAll(j.getMissingIterable())}else{const{fileDependencies:$,contextDependencies:j,missingDependencies:q}=this.buildInfo;if($!==undefined)E.addAll($);if(j!==undefined)R.addAll(j);if(q!==undefined)N.addAll(q)}if(q!==undefined){$.addAll(q)}}updateHash(E,R){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...R});super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this._source);R(this.error);R(this._lastSuccessfulBuildMeta);R(this._forceBuild);super.serialize(E)}static deserialize(E){const R=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});R.deserialize(E);return R}deserialize(E){const{read:R}=E;this._source=R();this.error=R();this._lastSuccessfulBuildMeta=R();this._forceBuild=R();super.deserialize(E)}}ot(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,R,N)=>{"use strict";const{getContext:$}=N(60425);const j=N(62355);const{AsyncSeriesBailHook:q,SyncWaterfallHook:G,SyncBailHook:ie,SyncHook:ae,HookMap:le}=N(92960);const _e=N(45137);const Ee=N(53453);const we=N(40674);const Me=N(75412);const Ie=N(53520);const Te=N(94288);const Ne=N(1976);const Be=N(95020);const Le=N(73817);const je=N(19311);const ze=N(83379);const{getScheme:Ue}=N(45754);const{cachedCleverMerge:qe,cachedSetProperty:Ge}=N(90149);const{join:He}=N(95396);const{parseResource:We}=N(49197);const Ve={};const Ke={};const Qe={};const Je=[];const Xe=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,R)=>{let N="";for(const R of E){N+=loaderToIdent(R)+"!"}return N+R};const identToLoaderRequest=E=>{const R=E.indexOf("?");if(R>=0){const N=E.substr(0,R);const $=E.substr(R+1);return{loader:N,options:$}}else{return{loader:E,options:undefined}}};const needCalls=(E,R)=>N=>{if(--E===0){return R(N)}if(N&&E>0){E=NaN;return R(N)}};const mergeGlobalOptions=(E,R,N)=>{const $=R.split("/");let j;let q="";for(const R of $){q=q?`${q}/${R}`:R;const N=E[q];if(typeof N==="object"){if(j===undefined){j=N}else{j=qe(j,N)}}}if(j===undefined){return N}else{return qe(j,N)}};const deprecationChangedHookMessage=(E,R)=>{const N=R.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${N}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Ye=new Le([new Ne("test","resource"),new Ne("scheme"),new Ne("mimetype"),new Ne("dependency"),new Ne("include","resource"),new Ne("exclude","resource",true),new Ne("resource"),new Ne("resourceQuery"),new Ne("resourceFragment"),new Ne("realResource"),new Ne("issuer"),new Ne("compiler"),new Ne("issuerLayer"),new Be("assert","assertions"),new Be("descriptionData"),new Te("type"),new Te("sideEffects"),new Te("parser"),new Te("resolve"),new Te("generator"),new Te("layer"),new je]);class NormalModuleFactory extends we{constructor({context:E,fs:R,resolverFactory:N,options:j,associatedObjectForCache:_e,layers:we=false}){super();this.hooks=Object.freeze({resolve:new q(["resolveData"]),resolveForScheme:new le((()=>new q(["resourceData","resolveData"]))),resolveInScheme:new le((()=>new q(["resourceData","resolveData"]))),factorize:new q(["resolveData"]),beforeResolve:new q(["resolveData"]),afterResolve:new q(["resolveData"]),createModule:new q(["createData","resolveData"]),module:new G(["module","createData","resolveData"]),createParser:new le((()=>new ie(["parserOptions"]))),parser:new le((()=>new ae(["parser","parserOptions"]))),createGenerator:new le((()=>new ie(["generatorOptions"]))),generator:new le((()=>new ae(["generator","generatorOptions"])))});this.resolverFactory=N;this.ruleSet=Ye.compile([{rules:j.defaultRules},{rules:j.rules}]);this.context=E||"";this.fs=R;this._globalParserOptions=j.parser;this._globalGeneratorOptions=j.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const Me=We.bindCache(_e);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,R)=>{this.hooks.resolve.callAsync(E,((N,$)=>{if(N)return R(N);if($===false)return R();if($ instanceof Ee)return R(null,$);if(typeof $==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((N,$)=>{if(N)return R(N);if(typeof $==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if($===false)return R();const j=E.createData;this.hooks.createModule.callAsync(j,E,((N,$)=>{if(!$){if(!E.request){return R(new Error("Empty dependency (no request)"))}$=new Ie(j)}$=this.hooks.module.call($,j,E);return R(null,$)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,R)=>{const{contextInfo:N,context:j,dependencies:q,dependencyType:G,request:ie,assertions:ae,resolveOptions:le,fileDependencies:_e,missingDependencies:Ee,contextDependencies:Ie}=E;const Te=this.getResolver("loader");let Ne=undefined;let Be;let Le;let je=false;let ze=false;let We=false;const Ke=Ue(j);let Qe=Ue(ie);if(!Qe){let E=ie;const R=Xe.exec(ie);if(R){let N=R[1];if(N.charCodeAt(0)===46){const E=N.charCodeAt(1);if(E===47||E===46&&N.charCodeAt(2)===47){N=He(this.fs,j,N)}}Ne={resource:N,...Me(N)};E=ie.substr(R[0].length)}Qe=Ue(E);if(!Qe&&!Ke){const R=E.charCodeAt(0);const N=E.charCodeAt(1);je=R===45&&N===33;ze=je||R===33;We=R===33&&N===33;const $=E.slice(je||We?2:ze?1:0).split(/!+/);Be=$.pop();Le=$.map(identToLoaderRequest);Qe=Ue(Be)}else{Be=E;Le=Je}}else{Be=ie;Le=Je}const Ye={fileDependencies:_e,missingDependencies:Ee,contextDependencies:Ie};let Ze;let et;const tt=needCalls(2,(le=>{if(le)return R(le);try{for(const E of et){if(typeof E.options==="string"&&E.options[0]==="?"){const R=E.options.substr(1);if(R==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(R);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=R}}}catch(E){return R(E)}if(!Ze){return R(null,q[0].createIgnoredModule(j))}const _e=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(et,Ze.resource);const Ee={};const Me=[];const Ie=[];const Be=[];let Le;let Ue;if(Ne&&typeof(Le=Ne.resource)==="string"&&(Ue=/\.webpack\[([^\]]+)\]$/.exec(Le))){Ee.type=Ue[1];Ne.resource=Ne.resource.slice(0,-Ee.type.length-10)}else{Ee.type="javascript/auto";const E=Ne||Ze;const R=this.ruleSet.exec({resource:E.path,realResource:Ze.path,resourceQuery:E.query,resourceFragment:E.fragment,scheme:Qe,assertions:ae,mimetype:Ne?"":Ze.data.mimetype||"",dependency:G,descriptionData:Ne?undefined:Ze.data.descriptionFileData,issuer:N.issuer,compiler:N.compiler,issuerLayer:N.issuerLayer||""});for(const E of R){if(E.type==="use"){if(!ze&&!We){Ie.push(E.value)}}else if(E.type==="use-post"){if(!We){Me.push(E.value)}}else if(E.type==="use-pre"){if(!je&&!We){Be.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof Ee[E.type]==="object"&&Ee[E.type]!==null){Ee[E.type]=qe(Ee[E.type],E.value)}else{Ee[E.type]=E.value}}}let Ge,He,Ve;const Ke=needCalls(3,(j=>{if(j){return R(j)}const q=Ge;if(Ne===undefined){for(const E of et)q.push(E);for(const E of He)q.push(E)}else{for(const E of He)q.push(E);for(const E of et)q.push(E)}for(const E of Ve)q.push(E);let G=Ee.type;const ae=Ee.resolve;const le=Ee.layer;if(le!==undefined&&!we){return R(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:le===undefined?N.issuerLayer||null:le,request:stringifyLoadersAndResource(q,Ze.resource),userRequest:_e,rawRequest:ie,loaders:q,resource:Ze.resource,context:Ze.context||$(Ze.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:Ze.data,settings:Ee,type:G,parser:this.getParser(G,Ee.parser),parserOptions:Ee.parser,generator:this.getGenerator(G,Ee.generator),generatorOptions:Ee.generator,resolveOptions:ae})}catch(E){return R(E)}R()}));this.resolveRequestArray(N,this.context,Me,Te,Ye,((E,R)=>{Ge=R;Ke(E)}));this.resolveRequestArray(N,this.context,Ie,Te,Ye,((E,R)=>{He=R;Ke(E)}));this.resolveRequestArray(N,this.context,Be,Te,Ye,((E,R)=>{Ve=R;Ke(E)}))}));this.resolveRequestArray(N,Ke?this.context:j,Le,Te,Ye,((E,R)=>{if(E)return tt(E);et=R;tt()}));const defaultResolve=E=>{if(/^($|\?)/.test(Be)){Ze={resource:Be,data:{},...Me(Be)};tt()}else{const R=this.getResolver("normal",G?Ge(le||Ve,"dependencyType",G):le);this.resolveResource(N,E,Be,R,Ye,((E,R,N)=>{if(E)return tt(E);if(R!==false){Ze={resource:R,data:N,...Me(R)}}tt()}))}};if(Qe){Ze={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Qe).callAsync(Ze,E,(E=>{if(E)return tt(E);tt()}))}else if(Ke){Ze={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(Ke).callAsync(Ze,E,((E,R)=>{if(E)return tt(E);if(!R)return defaultResolve(this.context);tt()}))}else defaultResolve(j)}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){_e.clearChunkGraphForModule(E);Me.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,R){const N=E.dependencies;const $=E.context||this.context;const j=E.resolveOptions||Ve;const q=N[0];const G=q.request;const ie=q.assertions;const ae=E.contextInfo;const le=new ze;const _e=new ze;const Ee=new ze;const we=N.length>0&&N[0].category||"";const Me={contextInfo:ae,resolveOptions:j,context:$,request:G,assertions:ie,dependencies:N,dependencyType:we,fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(Me,((E,N)=>{if(E){return R(E,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:false})}if(N===false){return R(null,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:Me.cacheable})}if(typeof N==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(Me,((E,N)=>{if(E){return R(E,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:false})}const $={module:N,fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:Me.cacheable};R(null,$)}))}))}resolveResource(E,R,N,$,j,q){$.resolve(E,R,N,j,((G,ie,ae)=>{if(G){return this._resolveResourceErrorHints(G,E,R,N,$,j,((E,R)=>{if(E){G.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;G.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return q(G)}if(R&&R.length>0){G.message+=`\n${R.join("\n\n")}`}q(G)}))}q(G,ie,ae)}))}_resolveResourceErrorHints(E,R,N,$,q,G,ie){j.parallel([E=>{if(!q.options.fullySpecified)return E();q.withOptions({fullySpecified:false}).resolve(R,N,$,G,((R,N)=>{if(!R&&N){const R=We(N).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${R}'?\nBREAKING CHANGE: The request '${$}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!q.options.enforceExtension)return E();q.withOptions({enforceExtension:false,extensions:[]}).resolve(R,N,$,G,((R,N)=>{if(!R&&N){let R="";const N=/(\.[^.]+)(\?|$)/.exec($);if(N){const E=$.replace(/(\.[^.]+)(\?|$)/,"$2");if(q.options.extensions.has(N[1])){R=`Did you mean '${E}'?`}else{R=`Did you mean '${E}'? Also note that '${N[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{R=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${$}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${R}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test($)||q.options.preferRelative){return E()}q.resolve(R,N,`./${$}`,G,((R,N)=>{if(R||!N)return E();const j=q.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${$}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${j}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,R)=>{if(E)return ie(E);ie(null,R.filter(Boolean))}))}resolveRequestArray(E,R,N,$,q,G){if(N.length===0)return G(null,N);j.map(N,((N,j)=>{$.resolve(E,R,N.loader,q,((G,ie)=>{if(G&&/^[^/]*$/.test(N.loader)&&!/-loader$/.test(N.loader)){return $.resolve(E,R,N.loader+"-loader",q,(E=>{if(!E){G.message=G.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${N.loader}-loader' instead of '${N.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}j(G)}))}if(G)return j(G);const ae=identToLoaderRequest(ie);const le={loader:ae.loader,options:N.options===undefined?ae.options:N.options,ident:N.options===undefined?undefined:N.ident};return j(null,le)}))}),G)}getParser(E,R=Ke){let N=this.parserCache.get(E);if(N===undefined){N=new WeakMap;this.parserCache.set(E,N)}let $=N.get(R);if($===undefined){$=this.createParser(E,R);N.set(R,$)}return $}createParser(E,R={}){R=mergeGlobalOptions(this._globalParserOptions,E,R);const N=this.hooks.createParser.for(E).call(R);if(!N){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(N,R);return N}getGenerator(E,R=Qe){let N=this.generatorCache.get(E);if(N===undefined){N=new WeakMap;this.generatorCache.set(E,N)}let $=N.get(R);if($===undefined){$=this.createGenerator(E,R);N.set(R,$)}return $}createGenerator(E,R={}){R=mergeGlobalOptions(this._globalGeneratorOptions,E,R);const N=this.hooks.createGenerator.for(E).call(R);if(!N){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(N,R);return N}getResolver(E,R){return this.resolverFactory.get(E,R)}}E.exports=NormalModuleFactory},92234:(E,R,N)=>{"use strict";const{join:$,dirname:j}=N(95396);class NormalModuleReplacementPlugin{constructor(E,R){this.resourceRegExp=E;this.newResource=R}apply(E){const R=this.resourceRegExp;const N=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(q=>{q.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(R.test(E.request)){if(typeof N==="function"){N(E)}else{E.request=N}}}));q.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(q=>{const G=q.createData;if(R.test(G.resource)){if(typeof N==="function"){N(q)}else{const R=E.inputFileSystem;if(N.startsWith("/")||N.length>1&&N[1]===":"){G.resource=N}else{G.resource=$(R,j(R,G.resource),N)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,R)=>{"use strict";R.STAGE_BASIC=-10;R.STAGE_DEFAULT=0;R.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,R){}}E.exports=OptionsApply},2172:(E,R,N)=>{"use strict";class Parser{parse(E,R){const $=N(75884);throw new $}}E.exports=Parser},13125:(E,R,N)=>{"use strict";const $=N(88281);class PrefetchPlugin{constructor(E,R){if(R){this.context=E;this.request=R}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R)}));E.hooks.make.tapAsync("PrefetchPlugin",((R,N)=>{R.addModuleChain(this.context||E.context,new $(this.request),(E=>{N(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,R,N)=>{"use strict";const $=N(63076);const j=N(63433);const q=N(53520);const G=N(35817);const{contextify:ie}=N(49197);const ae=G(N(73971),(()=>N(43691)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,R,N)=>E+R+N-Math.max(E,R,N)-Math.min(E,R,N);const createDefaultHandler=(E,R)=>{const N=[];const defaultHandler=($,j,...q)=>{if(E){if($===0){N.length=0}const E=[j,...q];const G=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ie=Date.now();const ae=Math.max(G.length,N.length);for(let E=ae;E>=0;E--){const $=E0){$=N[E-1].value+" > "+$}const G=`${" | ".repeat(E)}${q} ms ${$}`;const ie=q;{if(ie>1e4){R.error(G)}else if(ie>1e3){R.warn(G)}else if(ie>10){R.info(G)}else if(ie>5){R.log(G)}else{R.debug(G)}}}if($===undefined){N.length=E}else{j.value=$;j.time=ie;N.length=E+1}}}else{N[E]={value:$,time:ie}}}}R.status(`${Math.floor($*100)}%`,j,...q);if($===1||!j&&q.length===0)R.status()};return defaultHandler};const le=new WeakMap;class ProgressPlugin{static getReporter(E){return le.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}ae(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const R=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof j){this._applyOnMultiCompiler(E,R)}else if(E instanceof $){this._applyOnCompiler(E,R)}}_applyOnMultiCompiler(E,R){const N=E.compilers.map((()=>[0]));E.compilers.forEach(((E,$)=>{new ProgressPlugin(((E,j,...q)=>{N[$]=[E,j,...q];let G=0;for(const[E]of N)G+=E;R(G/N.length,`[${$}] ${j}`,...q)})).apply(E)}))}_applyOnCompiler(E,R){const N=this.showEntries;const $=this.showModules;const j=this.showDependencies;const q=this.showActiveModules;let G="";let ae="";let _e=0;let Ee=0;let we=0;let Me=0;let Ie=0;let Te=1;let Ne=0;let Be=0;let Le=0;const je=new Set;let ze=0;const updateThrottled=()=>{if(ze+500{const le=[];const Ue=Ne/Math.max(_e||this.modulesCount||1,Me);const qe=Le/Math.max(we||this.dependenciesCount||1,Te);const Ge=Be/Math.max(Ee||1,Ie);let He;switch(this.percentBy){case"entries":He=qe;break;case"dependencies":He=Ge;break;case"modules":He=Ue;break;default:He=median3(Ue,qe,Ge)}const We=.1+He*.55;if(ae){le.push(`import loader ${ie(E.context,ae,E.root)}`)}else{const E=[];if(N){E.push(`${Le}/${Te} entries`)}if(j){E.push(`${Be}/${Ie} dependencies`)}if($){E.push(`${Ne}/${Me} modules`)}if(q){E.push(`${je.size} active`)}if(E.length>0){le.push(E.join(" "))}if(q){le.push(G)}}R(We,"building",...le);ze=Date.now()};const factorizeAdd=()=>{Ie++;if(Ie<50||Ie%100===0)updateThrottled()};const factorizeDone=()=>{Be++;if(Be<50||Be%100===0)updateThrottled()};const moduleAdd=()=>{Me++;if(Me<50||Me%100===0)updateThrottled()};const moduleBuild=E=>{const R=E.identifier();if(R){je.add(R);G=R;update()}};const entryAdd=(E,R)=>{Te++;if(Te<5||Te%10===0)updateThrottled()};const moduleDone=E=>{Ne++;if(q){const R=E.identifier();if(R){je.delete(R);if(G===R){G="";for(const E of je){G=E}update();return}}}if(Ne<50||Ne%100===0)updateThrottled()};const entryDone=(E,R)=>{Le++;update()};const Ue=E.getCache("ProgressPlugin").getItemCache("counts",null);let qe;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!qe){qe=Ue.getPromise().then((E=>{if(E){_e=_e||E.modulesCount;Ee=Ee||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return qe.then((async E=>{if(!E||E.modulesCount!==Me||E.dependenciesCount!==Ie){await Ue.storePromise({modulesCount:Me,dependenciesCount:Ie})}}))}));E.hooks.compilation.tap("ProgressPlugin",(N=>{if(N.compiler.isChild())return;_e=Me;we=Te;Ee=Ie;Me=Ie=Te=0;Ne=Be=Le=0;N.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);N.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);N.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);N.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(q){N.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}N.hooks.addEntry.tap("ProgressPlugin",entryAdd);N.hooks.failedEntry.tap("ProgressPlugin",entryDone);N.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const $={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const j=Object.keys($).length;Object.keys($).forEach(((q,G)=>{const ie=$[q];const ae=G/j*.25+.7;N.hooks[q].intercept({name:"ProgressPlugin",call(){R(ae,"sealing",ie)},done(){le.set(E,undefined);R(ae,"sealing",ie)},result(){R(ae,"sealing",ie)},error(){R(ae,"sealing",ie)},tap(E){le.set(N.compiler,((N,...$)=>{R(ae,"sealing",ie,E.name,...$)}));R(ae,"sealing",ie,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){R(.1,"building")},done(){R(.65,"building")}});const interceptHook=(N,$,j,q)=>{N.intercept({name:"ProgressPlugin",call(){R($,j,q)},done(){le.set(E,undefined);R($,j,q)},result(){R($,j,q)},error(){R($,j,q)},tap(N){le.set(E,((E,...G)=>{R($,j,q,N.name,...G)}));R($,j,q,N.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){R(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){R(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){R(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){R(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){R(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,R,N)=>{"use strict";const $=N(66298);const j=N(1335);const{approve:q}=N(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const R=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{Object.keys(R).forEach((N=>{const $=[].concat(R[N]);const G=N.split(".");if(G.length>0){G.slice(1).forEach(((R,N)=>{const $=G.slice(0,N+1).join(".");E.hooks.canRename.for($).tap("ProvidePlugin",q)}))}E.hooks.expression.for(N).tap("ProvidePlugin",(R=>{const q=N.includes(".")?`__webpack_provided_${N.replace(/\./g,"_dot_")}`:N;const G=new j($[0],q,$.slice(1),R.range);G.loc=R.loc;E.state.module.addDependency(G);return true}));E.hooks.call.for(N).tap("ProvidePlugin",(R=>{const q=N.includes(".")?`__webpack_provided_${N.replace(/\./g,"_dot_")}`:N;const G=new j($[0],q,$.slice(1),R.callee.range);G.loc=R.callee.loc;E.state.module.addDependency(G);E.walkExpressions(R.arguments);return true}))}))};N.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);N.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(2991);const q=N(53453);const G=N(56202);const ie=new Set(["javascript"]);class RawModule extends q{constructor(E,R,N,$){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=R||this.sourceStr;this.readableIdentifierStr=N||this.identifierStr;this.runtimeRequirements=$||null}getSourceTypes(){return ie}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={cacheable:true};j()}codeGeneration(E){const R=new Map;if(this.useSourceMap||this.useSimpleSourceMap){R.set("javascript",new $(this.sourceStr,this.identifier()))}else{R.set("javascript",new j(this.sourceStr))}return{sources:R,runtimeRequirements:this.runtimeRequirements}}updateHash(E,R){E.update(this.sourceStr);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.sourceStr);R(this.identifierStr);R(this.readableIdentifierStr);R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.sourceStr=R();this.identifierStr=R();this.readableIdentifierStr=R();this.runtimeRequirements=R();super.deserialize(E)}}G(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,R,N)=>{"use strict";const{compareNumbers:$}=N(68673);const j=N(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const R=this.options.portableIds;const N=j.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(R){return N(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((R,N)=>{const j=E.chunkGraph;if(!N.modules)N.modules={};if(!N.modules.byIdentifier)N.modules.byIdentifier={};const q=new Set;for(const E of R){const R=j.getModuleId(E);if(typeof R!=="number")continue;const $=getModuleIdentifier(E);N.modules.byIdentifier[$]=R;q.add(R)}N.modules.usedIds=Array.from(q).sort($)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((R,N)=>{if(!N.modules)return;if(N.modules.byIdentifier){const $=E.chunkGraph;const j=new Set;for(const E of R){const R=$.getModuleId(E);if(R!==null)continue;const q=getModuleIdentifier(E);const G=N.modules.byIdentifier[q];if(G===undefined)continue;if(j.has(G))continue;j.add(G);$.setModuleId(E,G)}}if(Array.isArray(N.modules.usedIds)){E.usedModuleIds=new Set(N.modules.usedIds)}}));const getChunkSources=E=>{const R=[];for(const N of E.groupsIterable){const $=N.chunks.indexOf(E);if(N.name){R.push(`${$} ${N.name}`)}else{for(const E of N.origins){if(E.module){if(E.request){R.push(`${$} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){R.push(`${$} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){R.push(`${$} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return R};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,R)=>{if(!R.chunks)R.chunks={};if(!R.chunks.byName)R.chunks.byName={};if(!R.chunks.bySource)R.chunks.bySource={};const N=new Set;for(const $ of E){if(typeof $.id!=="number")continue;const E=$.name;if(E)R.chunks.byName[E]=$.id;const j=getChunkSources($);for(const E of j){R.chunks.bySource[E]=$.id}N.add($.id)}R.chunks.usedIds=Array.from(N).sort($)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((R,N)=>{if(!N.chunks)return;const $=new Set;if(N.chunks.byName){for(const E of R){if(E.id!==null)continue;if(!E.name)continue;const R=N.chunks.byName[E.name];if(R===undefined)continue;if($.has(R))continue;$.add(R);E.id=R;E.ids=[R]}}if(N.chunks.bySource){for(const E of R){if(E.id!==null)continue;const R=getChunkSources(E);for(const j of R){const R=N.chunks.bySource[j];if(R===undefined)continue;if($.has(R))continue;$.add(R);E.id=R;E.ids=[R];break}}}if(Array.isArray(N.chunks.usedIds)){E.usedChunkIds=new Set(N.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,R,N)=>{"use strict";const{contextify:$}=N(49197);class RequestShortener{constructor(E,R){this.contextify=$.bindContextCache(E,R)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66298);const{toConstantDependency:q}=N(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);const handler=(E,R)=>{if(R.requireJs===undefined||!R.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",q(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",q(E,$.uncaughtErrorHandler,[$.uncaughtErrorHandler]))};R.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,R,N)=>{"use strict";const $=N(17583).ResolverFactory;const{HookMap:j,SyncHook:q,SyncWaterfallHook:G}=N(92960);const{cachedCleverMerge:ie,removeOperations:ae,resolveByProperty:le}=N(90149);const _e={};const convertToResolveOptions=E=>{const{dependencyType:R,plugins:N,...$}=E;const j={...$,plugins:N&&N.filter((E=>E!=="..."))};if(!j.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const q=j;return ae(le(q,"byDependency",R))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new j((()=>new G(["resolveOptions"]))),resolver:new j((()=>new q(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,R=_e){let N=this.cache.get(E);if(!N){N={direct:new WeakMap,stringified:new Map};this.cache.set(E,N)}const $=N.direct.get(R);if($){return $}const j=JSON.stringify(R);const q=N.stringified.get(j);if(q){N.direct.set(R,q);return q}const G=this._create(E,R);N.direct.set(R,G);N.stringified.set(j,G);return G}_create(E,R){const N={...R};const j=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(R));const q=$.createResolver(j);if(!q){throw new Error("No resolver created")}const G=new WeakMap;q.withOptions=R=>{const $=G.get(R);if($!==undefined)return $;const j=ie(N,R);const q=this.get(E,j);G.set(R,q);return q};this.hooks.resolver.for(E).call(q,j,N);return q}}},76150:(E,R)=>{"use strict";R.require="__webpack_require__";R.requireScope="__webpack_require__.*";R.exports="__webpack_exports__";R.thisAsExports="top-level-this-exports";R.returnExportsFromRuntime="return-exports-from-runtime";R.module="module";R.moduleId="module.id";R.moduleLoaded="module.loaded";R.publicPath="__webpack_require__.p";R.entryModuleId="__webpack_require__.s";R.moduleCache="__webpack_require__.c";R.moduleFactories="__webpack_require__.m";R.moduleFactoriesAddOnly="__webpack_require__.m (add only)";R.ensureChunk="__webpack_require__.e";R.ensureChunkHandlers="__webpack_require__.f";R.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";R.prefetchChunk="__webpack_require__.E";R.prefetchChunkHandlers="__webpack_require__.F";R.preloadChunk="__webpack_require__.G";R.preloadChunkHandlers="__webpack_require__.H";R.definePropertyGetters="__webpack_require__.d";R.makeNamespaceObject="__webpack_require__.r";R.createFakeNamespaceObject="__webpack_require__.t";R.compatGetDefaultExport="__webpack_require__.n";R.harmonyModuleDecorator="__webpack_require__.hmd";R.nodeModuleDecorator="__webpack_require__.nmd";R.getFullHash="__webpack_require__.h";R.wasmInstances="__webpack_require__.w";R.instantiateWasm="__webpack_require__.v";R.uncaughtErrorHandler="__webpack_require__.oe";R.scriptNonce="__webpack_require__.nc";R.loadScript="__webpack_require__.l";R.createScriptUrl="__webpack_require__.tu";R.chunkName="__webpack_require__.cn";R.runtimeId="__webpack_require__.j";R.getChunkScriptFilename="__webpack_require__.u";R.getChunkUpdateScriptFilename="__webpack_require__.hu";R.startup="__webpack_require__.x";R.startupNoDefault="__webpack_require__.x (no default handler)";R.startupOnlyAfter="__webpack_require__.x (only after)";R.startupOnlyBefore="__webpack_require__.x (only before)";R.chunkCallback="webpackChunk";R.startupEntrypoint="__webpack_require__.X";R.onChunksLoaded="__webpack_require__.O";R.externalInstallChunk="__webpack_require__.C";R.interceptModuleExecution="__webpack_require__.i";R.global="__webpack_require__.g";R.shareScopeMap="__webpack_require__.S";R.initializeSharing="__webpack_require__.I";R.currentRemoteGetScope="__webpack_require__.R";R.getUpdateManifestFilename="__webpack_require__.hmrF";R.hmrDownloadManifest="__webpack_require__.hmrM";R.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";R.hmrModuleData="__webpack_require__.hmrD";R.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";R.hmrRuntimeStatePrefix="__webpack_require__.hmrS";R.amdDefine="__webpack_require__.amdD";R.amdOptions="__webpack_require__.amdO";R.system="__webpack_require__.System";R.hasOwnProperty="__webpack_require__.o";R.systemContext="__webpack_require__.y";R.baseURI="__webpack_require__.b";R.relativeUrl="__webpack_require__.U";R.asyncModule="__webpack_require__.a"},66804:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(2991).OriginalSource;const q=N(53453);const G=new Set(["runtime"]);class RuntimeModule extends q{constructor(E,R=0){super("runtime");this.name=E;this.stage=R;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(E,R,N=E.chunkGraph){this.compilation=E;this.chunk=R;this.chunkGraph=N}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,R){return R(null,false)}build(E,R,N,$,j){j()}updateHash(E,R){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(R){E.update(R.message)}super.updateHash(E,R)}getSourceTypes(){return G}codeGeneration(E){const R=new Map;const N=this.getGeneratedCode();if(N){R.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new j(N,this.identifier()):new $(N))}return{sources:R,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=N(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,R,N)=>{"use strict";const $=N(76150);const j=N(35424);const q=N(18161);const G=N(84997);const ie=N(31164);const ae=N(90202);const le=N(16710);const _e=N(3236);const Ee=N(44160);const we=N(58957);const Me=N(59179);const Ie=N(9609);const Te=N(36100);const Ne=N(13376);const Be=N(37522);const Le=N(67104);const je=N(14676);const ze=N(8299);const Ue=N(48977);const qe=N(21355);const Ge=N(41982);const He=N(76752);const We=N(54825);const Ve=N(14146);const Ke=[$.chunkName,$.runtimeId,$.compatGetDefaultExport,$.createFakeNamespaceObject,$.createScriptUrl,$.definePropertyGetters,$.ensureChunk,$.entryModuleId,$.getFullHash,$.global,$.makeNamespaceObject,$.moduleCache,$.moduleFactories,$.moduleFactoriesAddOnly,$.interceptModuleExecution,$.publicPath,$.baseURI,$.relativeUrl,$.scriptNonce,$.uncaughtErrorHandler,$.asyncModule,$.wasmInstances,$.instantiateWasm,$.shareScopeMap,$.initializeSharing,$.loadScript,$.systemContext,$.onChunksLoaded];const Qe={[$.moduleLoaded]:[$.module],[$.moduleId]:[$.module]};const Je={[$.definePropertyGetters]:[$.hasOwnProperty],[$.compatGetDefaultExport]:[$.definePropertyGetters],[$.createFakeNamespaceObject]:[$.definePropertyGetters,$.makeNamespaceObject,$.require],[$.initializeSharing]:[$.shareScopeMap],[$.shareScopeMap]:[$.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set(j,new j.Template);for(const R of Ke){E.hooks.runtimeRequirementInModule.for(R).tap("RuntimePlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for(R).tap("RuntimePlugin",((E,R)=>{R.add($.requireScope)}))}for(const R of Object.keys(Je)){const N=Je[R];E.hooks.runtimeRequirementInTree.for(R).tap("RuntimePlugin",((E,R)=>{for(const E of N)R.add(E)}))}for(const R of Object.keys(Qe)){const N=Qe[R];E.hooks.runtimeRequirementInModule.for(R).tap("RuntimePlugin",((E,R)=>{for(const E of N)R.add(E)}))}E.hooks.runtimeRequirementInTree.for($.definePropertyGetters).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new we);return true}));E.hooks.runtimeRequirementInTree.for($.makeNamespaceObject).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new je);return true}));E.hooks.runtimeRequirementInTree.for($.createFakeNamespaceObject).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new _e);return true}));E.hooks.runtimeRequirementInTree.for($.hasOwnProperty).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Be);return true}));E.hooks.runtimeRequirementInTree.for($.compatGetDefaultExport).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new ae);return true}));E.hooks.runtimeRequirementInTree.for($.runtimeId).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Ge);return true}));E.hooks.runtimeRequirementInTree.for($.publicPath).tap("RuntimePlugin",((R,N)=>{const{outputOptions:j}=E;const{publicPath:q,scriptType:G}=j;const ae=R.getEntryOptions();const le=ae&&ae.publicPath!==undefined?ae.publicPath:q;if(le==="auto"){const j=new ie;if(G!=="module")N.add($.global);E.addRuntimeModule(R,j)}else{const N=new Ue(le);if(typeof le!=="string"||/\[(full)?hash\]/.test(le)){N.fullHash=true}E.addRuntimeModule(R,N)}return true}));E.hooks.runtimeRequirementInTree.for($.global).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Ne);return true}));E.hooks.runtimeRequirementInTree.for($.asyncModule).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new G);return true}));E.hooks.runtimeRequirementInTree.for($.systemContext).tap("RuntimePlugin",(R=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(R,new He)}return true}));E.hooks.runtimeRequirementInTree.for($.getChunkScriptFilename).tap("RuntimePlugin",((R,N)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){N.add($.getFullHash)}E.addRuntimeModule(R,new Ie("javascript","javascript",$.getChunkScriptFilename,(R=>R.filenameTemplate||(R.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for($.getChunkUpdateScriptFilename).tap("RuntimePlugin",((R,N)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))N.add($.getFullHash);E.addRuntimeModule(R,new Ie("javascript","javascript update",$.getChunkUpdateScriptFilename,(R=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for($.getUpdateManifestFilename).tap("RuntimePlugin",((R,N)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){N.add($.getFullHash)}E.addRuntimeModule(R,new Te("update manifest",$.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunk).tap("RuntimePlugin",((R,N)=>{const j=R.hasAsyncChunks();if(j){N.add($.ensureChunkHandlers)}E.addRuntimeModule(R,new Me(N));return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,R)=>{R.add($.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for($.shareScopeMap).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new We);return true}));E.hooks.runtimeRequirementInTree.for($.loadScript).tap("RuntimePlugin",((R,N)=>{const j=!!E.outputOptions.trustedTypes;if(j){N.add($.createScriptUrl)}E.addRuntimeModule(R,new Le(j));return true}));E.hooks.runtimeRequirementInTree.for($.createScriptUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new Ee);return true}));E.hooks.runtimeRequirementInTree.for($.relativeUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new qe);return true}));E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new ze);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((R,N)=>{const{mainTemplate:$}=E;if($.hooks.bootstrap.isUsed()||$.hooks.localVars.isUsed()||$.hooks.requireEnsure.isUsed()||$.hooks.requireExtensions.isUsed()){E.addRuntimeModule(R,new le)}}));q.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,R,{chunkGraph:N})=>{const $=new Ve;for(const R of N.getChunkRuntimeModulesIterable(E)){$.add(N.getModuleHash(R,E.runtime))}$.updateHash(R)}))}))}}E.exports=RuntimePlugin},37130:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const q=N(58159);const{equals:G}=N(73910);const ie=N(87274);const ae=N(68038);const{forEachRuntime:le,subtractRuntime:_e}=N(37416);const noModuleIdErrorMessage=(E,R)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(R.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(R.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,R,N){this.compilation=E;this.outputOptions=R||{};this.requestShortener=N}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,R=""){return this.supportsArrowFunction()?`(${R}) => (${E})`:`function(${R}) { return ${E}; }`}basicFunction(E,R){return this.supportsArrowFunction()?`(${E}) => {\n${q.indent(R)}\n}`:`function(${E}) {\n${q.indent(R)}\n}`}expressionFunction(E,R=""){return this.supportsArrowFunction()?`(${R}) => (${E})`:`function(${R}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,R){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${R};`:q.asString(E.map(((E,N)=>`var ${E} = ${R}[${N}];`)))}destructureObject(E,R){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${R};`:q.asString(E.map((E=>`var ${E} = ${R}${ae([E])};`)))}iife(E,R){return`(${this.basicFunction(E,R)})()`}forEach(E,R,N){return this.supportsForOf()?`for(const ${E} of ${R}) {\n${q.indent(N)}\n}`:`${R}.forEach(function(${E}) {\n${q.indent(N)}\n});`}comment({request:E,chunkName:R,chunkReason:N,message:$,exportName:j}){let G;if(this.outputOptions.pathinfo){G=[$,E,R,N].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{G=[$,R,N].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!G)return"";if(this.outputOptions.pathinfo){return q.toComment(G)+" "}else{return q.toNormalComment(G)+" "}}throwMissingModuleErrorBlock({request:E}){const R=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(R)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:R,request:N,idExpr:$,type:j}){const G=R.getModuleId(E);const ie=G===null?JSON.stringify("Module is not available (weak dependency)"):$?`"Module '" + ${$} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${G}' is not available (weak dependency)`);const ae=N?q.toNormalComment(N)+" ":"";const le=`var e = new Error(${ie}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(j){case"statements":return le;case"promise":return`Promise.resolve().then(${this.basicFunction("",le)})`;case"expression":return this.iife("",le)}}moduleId({module:E,chunkGraph:R,request:N,weak:$}){if(!E){return this.missingModule({request:N})}const j=R.getModuleId(E);if(j===null){if($){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,R)}`)}return`${this.comment({request:N})}${JSON.stringify(j)}`}moduleRaw({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:q}){if(!E){return this.missingModule({request:N})}const G=R.getModuleId(E);if(G===null){if($){return this.weakError({module:E,chunkGraph:R,request:N,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,R)}`)}q.add(j.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:R,request:N,weak:$})})`}moduleExports({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:j}){return this.moduleRaw({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:j})}moduleNamespace({module:E,chunkGraph:R,request:N,strict:$,weak:q,runtimeRequirements:G}){if(!E){return this.missingModule({request:N})}if(R.getModuleId(E)===null){if(q){return this.weakError({module:E,chunkGraph:R,request:N,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,R)}`)}const ie=this.moduleId({module:E,chunkGraph:R,request:N,weak:q});const ae=E.getExportsType(R.moduleGraph,$);switch(ae){case"namespace":return this.moduleRaw({module:E,chunkGraph:R,request:N,weak:q,runtimeRequirements:G});case"default-with-named":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 3)`;case"default-only":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 1)`;case"dynamic":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:R,module:N,request:$,message:q,strict:G,weak:ie,runtimeRequirements:ae}){if(!N){return this.missingModulePromise({request:$})}const le=E.getModuleId(N);if(le===null){if(ie){return this.weakError({module:N,chunkGraph:E,request:$,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(N,E)}`)}const _e=this.blockPromise({chunkGraph:E,block:R,message:q,runtimeRequirements:ae});let Ee;let we=JSON.stringify(E.getModuleId(N));const Me=this.comment({request:$});let Ie="";if(ie){if(we.length>8){Ie+=`var id = ${we}; `;we="id"}ae.add(j.moduleFactories);Ie+=`if(!${j.moduleFactories}[${we}]) { ${this.weakError({module:N,chunkGraph:E,request:$,idExpr:we,type:"statements"})} } `}const Te=this.moduleId({module:N,chunkGraph:E,request:$,weak:ie});const Ne=N.getExportsType(E.moduleGraph,G);let Be=16;switch(Ne){case"namespace":if(Ie){const R=this.moduleRaw({module:N,chunkGraph:E,request:$,weak:ie,runtimeRequirements:ae});Ee=`.then(${this.basicFunction("",`${Ie}return ${R};`)})`}else{ae.add(j.require);Ee=`.then(__webpack_require__.bind(__webpack_require__, ${Me}${we}))`}break;case"dynamic":Be|=4;case"default-with-named":Be|=2;case"default-only":ae.add(j.createFakeNamespaceObject);if(E.moduleGraph.isAsync(N)){if(Ie){const R=this.moduleRaw({module:N,chunkGraph:E,request:$,weak:ie,runtimeRequirements:ae});Ee=`.then(${this.basicFunction("",`${Ie}return ${R};`)})`}else{ae.add(j.require);Ee=`.then(__webpack_require__.bind(__webpack_require__, ${Me}${we}))`}Ee+=`.then(${this.returningFunction(`${j.createFakeNamespaceObject}(m, ${Be})`,"m")})`}else{Be|=1;if(Ie){const E=`${j.createFakeNamespaceObject}(${Te}, ${Be})`;Ee=`.then(${this.basicFunction("",`${Ie}return ${E};`)})`}else{Ee=`.then(${j.createFakeNamespaceObject}.bind(__webpack_require__, ${Me}${we}, ${Be}))`}}break}return`${_e||"Promise.resolve()"}${Ee}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:R,runtime:N,runtimeRequirements:$}){if(R===undefined)return"true";if(typeof R==="boolean")return`${R}`;const q=new Set;le(R,(R=>q.add(`${E.getRuntimeId(R)}`)));const G=new Set;le(_e(N,R),(R=>G.add(`${E.getRuntimeId(R)}`)));$.add(j.runtimeId);return ie.fromLists(Array.from(q),Array.from(G))(j.runtimeId)}importStatement({update:E,module:R,chunkGraph:N,request:$,importVar:q,originModule:G,weak:ie,runtimeRequirements:ae}){if(!R){return[this.missingModuleStatement({request:$}),""]}if(N.getModuleId(R)===null){if(ie){return[this.weakError({module:R,chunkGraph:N,request:$,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(R,N)}`)}const le=this.moduleId({module:R,chunkGraph:N,request:$,weak:ie});const _e=E?"":"var ";const Ee=R.getExportsType(N.moduleGraph,G.buildMeta.strictHarmonyModule);ae.add(j.require);const we=`/* harmony import */ ${_e}${q} = __webpack_require__(${le});\n`;if(Ee==="dynamic"){ae.add(j.compatGetDefaultExport);return[we,`/* harmony import */ ${_e}${q}_default = /*#__PURE__*/${j.compatGetDefaultExport}(${q});\n`]}return[we,""]}exportFromImport({moduleGraph:E,module:R,request:N,exportName:ie,originModule:le,asiSafe:_e,isCall:Ee,callContext:we,defaultInterop:Me,importVar:Ie,initFragments:Te,runtime:Ne,runtimeRequirements:Be}){if(!R){return this.missingModule({request:N})}if(!Array.isArray(ie)){ie=ie?[ie]:[]}const Le=R.getExportsType(E,le.buildMeta.strictHarmonyModule);if(Me){if(ie.length>0&&ie[0]==="default"){switch(Le){case"dynamic":if(Ee){return`${Ie}_default()${ae(ie,1)}`}else{return _e?`(${Ie}_default()${ae(ie,1)})`:_e===false?`;(${Ie}_default()${ae(ie,1)})`:`${Ie}_default.a${ae(ie,1)}`}case"default-only":case"default-with-named":ie=ie.slice(1);break}}else if(ie.length>0){if(Le==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(ie,1)}else if(Le!=="namespace"&&ie[0]==="__esModule"){return"/* __esModule */true"}}else if(Le==="default-only"||Le==="default-with-named"){Be.add(j.createFakeNamespaceObject);Te.push(new $(`var ${Ie}_namespace_cache;\n`,$.STAGE_CONSTANTS,-1,`${Ie}_namespace_cache`));return`/*#__PURE__*/ ${_e?"":_e===false?";":"Object"}(${Ie}_namespace_cache || (${Ie}_namespace_cache = ${j.createFakeNamespaceObject}(${Ie}${Le==="default-only"?"":", 2"})))`}}if(ie.length>0){const N=E.getExportsInfo(R);const $=N.getUsedName(ie,Ne);if(!$){const E=q.toNormalComment(`unused export ${ae(ie)}`);return`${E} undefined`}const j=G($,ie)?"":q.toNormalComment(ae(ie))+" ";const le=`${Ie}${j}${ae($)}`;if(Ee&&we===false){return _e?`(0,${le})`:_e===false?`;(0,${le})`:`/*#__PURE__*/Object(${le})`}return le}else{return Ie}}blockPromise({block:E,message:R,chunkGraph:N,runtimeRequirements:$}){if(!E){const E=this.comment({message:R});return`Promise.resolve(${E.trim()})`}const q=N.getBlockChunkGroup(E);if(!q||q.chunks.length===0){const E=this.comment({message:R});return`Promise.resolve(${E.trim()})`}const G=q.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ie=this.comment({message:R,chunkName:E.chunkName});if(G.length===1){const E=JSON.stringify(G[0].id);$.add(j.ensureChunk);return`${j.ensureChunk}(${ie}${E})`}else if(G.length>0){$.add(j.ensureChunk);const requireChunkId=E=>`${j.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ie.trim()}[${G.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ie.trim()})`}}asyncModuleFactory({block:E,chunkGraph:R,runtimeRequirements:N,request:$}){const j=E.dependencies[0];const q=R.moduleGraph.getModule(j);const G=this.blockPromise({block:E,message:"",chunkGraph:R,runtimeRequirements:N});const ie=this.returningFunction(this.moduleRaw({module:q,chunkGraph:R,request:$,runtimeRequirements:N}));return this.returningFunction(G.startsWith("Promise.resolve(")?`${ie}`:`${G}.then(${this.returningFunction(ie)})`)}syncModuleFactory({dependency:E,chunkGraph:R,runtimeRequirements:N,request:$}){const j=R.moduleGraph.getModule(E);const q=this.returningFunction(this.moduleRaw({module:j,chunkGraph:R,request:$,runtimeRequirements:N}));return this.returningFunction(q)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:R}){R.add(j.makeNamespaceObject);R.add(j.exports);return`${j.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,R){const N=this.moduleGraph.getParentModule(E.dependencies[0]);R(null,{module:N})}}E.exports=SelfModuleFactory},9192:(E,R)=>{"use strict";R.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const R=["bytes","KiB","MiB","GiB"];const N=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,N)).toPrecision(3)} ${R[N]}`}},26867:(E,R,N)=>{"use strict";const $=N(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const R=this.options;if(R.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}$.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,R,N)=>{"use strict";const $=N(62355);const{ConcatSource:j,RawSource:q}=N(2991);const G=N(3080);const ie=N(70354);const ae=N(52923);const le=N(26867);const _e=N(35817);const Ee=N(35891);const{relative:we,dirname:Me}=N(95396);const{makePathsAbsolute:Ie}=N(49197);const Te=_e(N(68337),(()=>N(78061)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,R,N,$,j,q)=>{let G;let ie;if(R.sourceAndMap){const E=R.sourceAndMap($);ie=E.map;G=E.source}else{ie=R.map($);G=R.source()}if(!ie||typeof G!=="string")return;const ae=j.options.context;const le=j.compiler.root;const _e=Ie.bindContextCache(ae,le);const Ee=ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=_e(E.slice(10));const R=j.findModule(E);return R||E}));return{file:E,asset:R,source:G,assetInfo:N,sourceMap:ie,modules:Ee,cacheItem:q}};class SourceMapDevToolPlugin{constructor(E={}){Te(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const R=E.outputFileSystem;const N=this.sourceMapFilename;const _e=this.sourceMappingURLComment;const Ie=this.moduleFilenameTemplate;const Te=this.namespace;const Ne=this.fallbackModuleFilenameTemplate;const Be=E.requestShortener;const Le=this.options;Le.test=Le.test||/\.((c|m)?js|css)($|\?)/i;const je=ie.matchObject.bind(undefined,Le);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new le(Le).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:G.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((G,le)=>{const ze=E.chunkGraph;const Ue=E.getCache("SourceMapDevToolPlugin");const qe=new Map;const Ge=ae.getReporter(E.compiler)||(()=>{});const He=new Map;for(const R of E.chunks){for(const E of R.files){He.set(E,R)}for(const E of R.auxiliaryFiles){He.set(E,R)}}const We=[];for(const E of Object.keys(G)){if(je(E)){We.push(E)}}Ge(0);const Ve=[];let Ke=0;$.each(We,((R,N)=>{const $=E.getAsset(R);if($.info.related&&$.info.related.sourceMap){Ke++;return N()}const j=Ue.getItemCache(R,Ue.mergeEtags(Ue.getLazyHashedEtag($.source),Te));j.get(((q,G)=>{if(q){return N(q)}if(G){const{assets:$,assetsInfo:j}=G;for(const N of Object.keys($)){if(N===R){E.updateAsset(N,$[N],j[N])}else{E.emitAsset(N,$[N],j[N])}if(N!==R){const E=He.get(R);if(E!==undefined)E.auxiliaryFiles.add(N)}}Ge(.5*++Ke/We.length,R,"restored cached SourceMap");return N()}Ge(.5*Ke/We.length,R,"generate SourceMap");const ae=getTaskForFile(R,$.source,$.info,{module:Le.module,columns:Le.columns},E,j);if(ae){const R=ae.modules;for(let N=0;N{if(G){return le(G)}Ge(.5,"resolve sources");const ae=new Set(qe.values());const Ie=new Set;const je=Array.from(qe.keys()).sort(((E,R)=>{const N=typeof E==="string"?E:E.identifier();const $=typeof R==="string"?R:R.identifier();return N.length-$.length}));for(let R=0;R{const ie=Object.create(null);const ae=Object.create(null);const le=$.file;const Ie=He.get(le);const Te=$.sourceMap;const Ne=$.source;const Be=$.modules;Ge(.5+.5*Ue/Ve.length,le,"attach SourceMap");const je=Be.map((E=>qe.get(E)));Te.sources=je;if(Le.noSources){Te.sourcesContent=undefined}Te.sourceRoot=Le.sourceRoot||"";Te.file=le;const ze=N&&/\[contenthash(:\w+)?\]/.test(N);if(ze&&$.assetInfo.contenthash){const E=$.assetInfo.contenthash;let R;if(Array.isArray(E)){R=E.map(quoteMeta).join("|")}else{R=quoteMeta(E)}Te.file=Te.file.replace(new RegExp(R,"g"),(E=>"x".repeat(E.length)))}let We=_e;if(We!==false&&/\.css($|\?)/i.test(le)){We=We.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const Ke=JSON.stringify(Te);if(N){let $=le;const G=ze&&Ee(E.outputOptions.hashFunction).update(Ke).digest("hex");const _e={chunk:Ie,filename:Le.fileContext?we(R,`/${Le.fileContext}`,`/${$}`):$,contentHash:G};const{path:Te,info:Be}=E.getPathWithInfo(N,_e);const je=Le.publicPath?Le.publicPath+Te:we(R,Me(R,`/${le}`),`/${Te}`);let Ue=new q(Ne);if(We!==false){Ue=new j(Ue,E.getPath(We,Object.assign({url:je},_e)))}const qe={related:{sourceMap:Te}};ie[le]=Ue;ae[le]=qe;E.updateAsset(le,Ue,qe);const Ge=new q(Ke);const He={...Be,development:true};ie[Te]=Ge;ae[Te]=He;E.emitAsset(Te,Ge,He);if(Ie!==undefined)Ie.auxiliaryFiles.add(Te)}else{if(We===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const R=new j(new q(Ne),We.replace(/\[map\]/g,(()=>Ke)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(Ke,"utf-8").toString("base64")}`)));ie[le]=R;ae[le]=undefined;E.updateAsset(le,R)}$.cacheItem.store({assets:ie,assetsInfo:ae},(E=>{Ge(.5+.5*++Ue/Ve.length,$.file,"attached SourceMap");if(E){return G(E)}G()}))}),(E=>{Ge(1);le(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const R=this.compilation.createStatsFactory(E);return R.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const R=this.compilation.createStatsFactory(E);const N=this.compilation.createStatsPrinter(E);const $=R.create("compilation",this.compilation,{compilation:this.compilation});const j=N.print("compilation",$);return j===undefined?"":j}}E.exports=Stats},58159:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j}=N(2991);const q="a".charCodeAt(0);const G="A".charCodeAt(0);const ie="z".charCodeAt(0)-q+1;const ae=ie*2+2;const le=ae+10;const _e=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const Ee=/^\t/gm;const we=/\r?\n/g;const Me=/^([^a-zA-Z$_])/;const Ie=/[^a-zA-Z0-9$]+/g;const Te=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Be=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(_e,"").replace(Ee,"").replace(we,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Me,"_$1").replace(Ie,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Te,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Te,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Ne,"-").replace(Be,"")}static numberToIdentifier(E){if(E>=ae){return Template.numberToIdentifier(E%ae)+Template.numberToIdentifierContinuation(Math.floor(E/ae))}if(E=le){return Template.numberToIdentifierContinuation(E%le)+Template.numberToIdentifierContinuation(Math.floor(E/le))}if(EE)N=E}if(N<16+(""+N).length){N=0}let $=-1;for(const R of E){$+=`${R.id}`.length+2}const j=N===0?R:16+`${N}`.length+R;return j<$?[N,R]:false}static renderChunkModules(E,R,N,j=""){const{chunkGraph:q}=E;var G=new $;if(R.length===0){return null}const ie=R.map((E=>({id:q.getModuleId(E),source:N(E)||"false"})));const ae=Template.getModulesArrayBounds(ie);if(ae){const E=ae[0];const R=ae[1];if(E!==0){G.add(`Array(${E}).concat(`)}G.add("[\n");const N=new Map;for(const E of ie){N.set(E.id,E)}for(let $=E;$<=R;$++){const R=N.get($);if($!==E){G.add(",\n")}G.add(`/* ${$} */`);if(R){G.add("\n");G.add(R.source)}}G.add("\n"+j+"]");if(E!==0){G.add(")")}}else{G.add("{\n");for(let E=0;E {\n");N.add(new j("\t",q));N.add("\n})();\n\n")}else{N.add("!function() {\n");N.add(new j("\t",q));N.add("\n}();\n\n")}}}return N}static renderChunkRuntimeModules(E,R){return new j("/******/ ",new $("function(__webpack_require__) { // webpackRuntimeModules\n",this.renderRuntimeModules(E,R),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=ae;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=le},30337:(E,R,N)=>{"use strict";const{basename:$,extname:j}=N(71017);const q=N(73837);const G=N(62433);const ie=N(53453);const{parseResource:ae}=N(49197);const le=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const R=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${R[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,R,N,$)=>{const fn=(j,q,G)=>{let ie;const ae=q&&parseInt(q,10);if(ae&&R){ie=R(ae)}else{const R=E(j,q,G);ie=ae?R.slice(0,ae):R}if(N){N.immutable=true;if(Array.isArray(N[$])){N[$]=[...N[$],ie]}else if(N[$]){N[$]=[N[$],ie]}else{N[$]=ie}}return ie};return fn};const replacer=(E,R)=>{const fn=(N,$,j)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!R){throw new Error(`Path variable ${N} not implemented in this context: ${j}`)}return""}else{return`${E}`}};return fn};const _e=new Map;const Ee=(()=>()=>{})();const deprecated=(E,R,N)=>{let $=_e.get(R);if($===undefined){$=q.deprecate(Ee,R,N);_e.set(R,$)}return(...R)=>{$();return E(...R)}};const replacePathVariables=(E,R,N)=>{const q=R.chunkGraph;const _e=new Map;if(typeof R.filename==="string"){const{path:E,query:N,fragment:q}=ae(R.filename);const G=j(E);const ie=$(E);const le=ie.slice(0,ie.length-G.length);const Ee=E.slice(0,E.length-ie.length);_e.set("file",replacer(E));_e.set("query",replacer(N,true));_e.set("fragment",replacer(q,true));_e.set("path",replacer(Ee,true));_e.set("base",replacer(ie));_e.set("name",replacer(le));_e.set("ext",replacer(G,true));_e.set("filebase",deprecated(replacer(ie),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(R.hash){const E=hashLength(replacer(R.hash),R.hashWithLength,N,"fullhash");_e.set("fullhash",E);_e.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(R.chunk){const E=R.chunk;const $=R.contentHashType;const j=replacer(E.id);const q=replacer(E.name||E.id);const ie=hashLength(replacer(E instanceof G?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,N,"chunkhash");const ae=hashLength(replacer(R.contentHash||$&&E.contentHash&&E.contentHash[$]),R.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[$]:undefined),N,"contenthash");_e.set("id",j);_e.set("name",q);_e.set("chunkhash",ie);_e.set("contenthash",ae)}if(R.module){const E=R.module;const $=replacer((()=>prepareId(E instanceof ie?q.getModuleId(E):E.id)));const j=hashLength(replacer((()=>E instanceof ie?q.getRenderedModuleHash(E,R.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,N,"modulehash");const G=hashLength(replacer(R.contentHash),undefined,N,"contenthash");_e.set("id",$);_e.set("modulehash",j);_e.set("contenthash",G);_e.set("hash",R.contentHash?G:j);_e.set("moduleid",deprecated($,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(R.url){_e.set("url",replacer(R.url))}if(typeof R.runtime==="string"){_e.set("runtime",replacer((()=>prepareId(R.runtime))))}else{_e.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(R,N)}E=E.replace(le,((R,N)=>{if(N.length+2===R.length){const $=/^(\w+)(?::(\w+))?$/.exec(N);if(!$)return R;const[,j,q]=$;const G=_e.get(j);if(G!==undefined){return G(R,q,E)}}else if(R.startsWith("[\\")&&R.endsWith("\\]")){return`[${R.slice(2,-2)}]`}return R}));return E};const we="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(we,(E=>{E.hooks.assetPath.tap(we,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class UnhandledSchemeError extends ${constructor(E,R){super(`Reading from "${R}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=R;this.name="UnhandledSchemeError"}}j(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class UnsupportedFeatureWarning extends ${constructor(E,R){super(E);this.name="UnsupportedFeatureWarning";this.loc=R;this.hideStack=true}}j(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,R,N)=>{"use strict";const $=N(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:R})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(R=>{const N=R.body[0];if(N&&N.type==="ExpressionStatement"&&N.expression.type==="Literal"&&N.expression.value==="use strict"){const R=new $("",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);E.state.module.buildInfo.strict=true}}))};R.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);R.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,R,N)=>{"use strict";const $=N(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const R=new Map;for(const N of E.modules){const E=N.identifier();const $=E.toLowerCase();let j=R.get($);if(j===undefined){j=new Map;R.set($,j)}j.set(E,N)}for(const N of R){const R=N[1];if(R.size>1){E.warnings.push(new $(R.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,R,N)=>{"use strict";const $=N(81627);class WarnDeprecatedOptionPlugin{constructor(E,R,N){this.option=E;this.value=R;this.suggestion=N}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends ${constructor(E,R,N){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${R}' for option '${E}' is deprecated. `+`Use '${N}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,R,N)=>{"use strict";const $=N(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new $)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,R,N)=>{"use strict";const $=N(35817);const j=$(N(12798),(()=>N(91014)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const q="ignore";class IgnoringWatchFileSystem{constructor(E,R){this.wfs=E;this.paths=R}watch(E,R,N,$,j,G,ie){E=Array.from(E);R=Array.from(R);const ignored=E=>this.paths.some((R=>R instanceof RegExp?R.test(E):E.indexOf(R)===0));const notIgnored=E=>!ignored(E);const ae=E.filter(ignored);const le=R.filter(ignored);const _e=this.wfs.watch(E.filter(notIgnored),R.filter(notIgnored),N,$,j,((E,R,N,$,j)=>{if(E)return G(E);for(const E of ae){R.set(E,q)}for(const E of le){N.set(E,q)}G(E,R,N,$,j)}),ie);return{close:()=>_e.close(),pause:()=>_e.pause(),getContextTimeInfoEntries:()=>{const E=_e.getContextTimeInfoEntries();for(const R of le){E.set(R,q)}return E},getFileTimeInfoEntries:()=>{const E=_e.getFileTimeInfoEntries();for(const R of ae){E.set(R,q)}return E}}}}class WatchIgnorePlugin{constructor(E){j(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,R,N)=>{"use strict";const $=N(10140);class Watching{constructor(E,R,N){this.startTime=null;this.invalid=false;this.handler=N;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof R==="number"){this.watchOptions={aggregateTimeout:R}}else if(R&&typeof R==="object"){this.watchOptions={...R}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,R){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(R)}else{for(const R of E){this._collectedChangedFiles.add(R);this._collectedRemovedFiles.delete(R)}for(const E of R){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,R,N,j){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(N||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=j||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=R||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,R)=>{if(E)return this._done(E,R);if(this.invalid)return this._done(null,R);if(this.compiler.hooks.shouldEmit.call(R)===false){return this._done(null,R)}process.nextTick((()=>{const E=R.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(R,(N=>{E.timeEnd("emitAssets");if(N)return this._done(N,R);if(this.invalid)return this._done(null,R);E.time("emitRecords");this.compiler.emitRecords((N=>{E.timeEnd("emitRecords");if(N)return this._done(N,R);if(R.hooks.needAdditionalPass.call()){R.needAdditionalPass=true;R.startTime=this.startTime;R.endTime=Date.now();E.time("done hook");const N=new $(R);this.compiler.hooks.done.callAsync(N,(N=>{E.timeEnd("done hook");if(N)return this._done(N,R);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,R);this.compiler.compile(onCompiled)}))}));return}return this._done(null,R)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const R=new $(E);return R}_done(E,R){this.running=false;const N=R&&R.getLogger("webpack.Watching");let j=null;const handleError=(E,R)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,j);if(!R){R=this.callbacks;this.callbacks=[]}for(const N of R)N(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(R){N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(E=>{N.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(R){R.startTime=this.startTime;R.endTime=Date.now();j=new $(R)}this.startTime=null;if(E)return handleError(E);const q=this.callbacks;this.callbacks=[];N.time("done hook");this.compiler.hooks.done.callAsync(j,(E=>{N.timeEnd("done hook");if(E)return handleError(E,q);this.handler(null,j);N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(E=>{N.timeEnd("storeBuildDependencies");if(E)return handleError(E,q);N.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;N.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(R.fileDependencies,R.contextDependencies,R.missingDependencies)}}));for(const E of q)E(null);this.compiler.hooks.afterDone.call(j)}))}))}watch(E,R,N){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,R,N,this.lastWatcherStartTime,this.watchOptions,((E,R,N,$,j)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(R,N,$,j);this._onChange()}),((E,R)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,R)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,R,N,$){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(N,$);return}if(this.running){this._mergeWithCollected(N,$);this.invalid=true}else{this._go(E,R,N,$)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,R)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=E=>{this.compiler.hooks.watchClose.call();const R=this._closeCallbacks;this._closeCallbacks=undefined;for(const N of R)N(E)};if(R){const N=R.getLogger("webpack.Watching");N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(R=>{N.timeEnd("storeBuildDependencies");shutdown(E||R)}))}else{shutdown(E)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,R,N)=>{"use strict";const $=N(73837).inspect.custom;const j=N(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[$](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}j(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,R,N)=>{"use strict";const $=N(16761);const j=N(46715);const{toConstantDependency:q}=N(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,new $(R));E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(R=>{if(R.type!=="CallExpression"||R.arguments.length!==1||R.arguments[0].type==="SpreadElement")return;const N=E.evaluateExpression(R.arguments[0]);if(!N.isString())return;const $=new j(N.string,R.range);$.loc=R.loc;E.state.module.addDependency($);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",q(E,JSON.stringify("function")))};R.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);R.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,R,N)=>{"use strict";const $=N(97614);const j=N(75076);const q=N(18161);const G=N(9483);const ie=N(5538);const ae=N(64699);const le=N(43806);const _e=N(89818);const Ee=N(32323);const we=N(97489);const Me=N(40552);const Ie=N(29672);const Te=N(57694);const Ne=N(30337);const Be=N(79050);const Le=N(12510);const je=N(68495);const ze=N(99184);const Ue=N(13653);const qe=N(91630);const Ge=N(26165);const He=N(38586);const We=N(54975);const Ve=N(2451);const Ke=N(67634);const Qe=N(51727);const Je=N(3085);const Xe=N(62630);const Ye=N(65577);const Ze=N(76373);const et=N(68778);const tt=N(82527);const nt=N(9054);const rt=N(7391);const st=N(61762);const{cleverMerge:it}=N(90149);class WebpackOptionsApply extends ${constructor(){super()}process(E,R){R.outputPath=E.output.path;R.recordsInputPath=E.recordsInputPath||null;R.recordsOutputPath=E.recordsOutputPath||null;R.name=E.name;if(E.externals){const $=N(61050);new $(E.externalsType,E.externals).apply(R)}if(E.externalsPresets.node){const E=N(84980);(new E).apply(R)}if(E.externalsPresets.electronMain){const E=N(25726);new E("main").apply(R)}if(E.externalsPresets.electronPreload){const E=N(25726);new E("preload").apply(R)}if(E.externalsPresets.electronRenderer){const E=N(25726);new E("renderer").apply(R)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=N(25726);(new E).apply(R)}if(E.externalsPresets.nwjs){const E=N(61050);new E("node-commonjs","nw.gui").apply(R)}if(E.externalsPresets.webAsync){const E=N(61050);new E("import",/^(https?:\/\/|std:)/).apply(R)}else if(E.externalsPresets.web){const E=N(61050);new E("module",/^(https?:\/\/|std:)/).apply(R)}(new ie).apply(R);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=N(41113);(new E).apply(R);break}case"commonjs":{const E=N(77314);(new E).apply(R);break}case"module":{const E=N(57378);(new E).apply(R);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const $ of E.output.enabledChunkLoadingTypes){const E=N(50369);new E($).apply(R)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const $ of E.output.enabledWasmLoadingTypes){const E=N(69085);new E($).apply(R)}}if(E.output.enabledLibraryTypes.length>0){for(const $ of E.output.enabledLibraryTypes){const E=N(13984);new E($).apply(R)}}if(E.output.pathinfo){const $=N(21542);new $(E.output.pathinfo!==true).apply(R)}if(E.output.clean){const $=N(61666);new $(E.output.clean===true?{}:E.output.clean).apply(R)}if(E.devtool){if(E.devtool.includes("source-map")){const $=E.devtool.includes("hidden");const j=E.devtool.includes("inline");const q=E.devtool.includes("eval");const G=E.devtool.includes("cheap");const ie=E.devtool.includes("module");const ae=E.devtool.includes("nosources");const le=q?N(23641):N(2e4);new le({filename:j?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:$?false:undefined,module:ie?true:G?false:true,columns:G?false:true,noSources:ae,namespace:E.output.devtoolNamespace}).apply(R)}else if(E.devtool.includes("eval")){const $=N(91331);new $({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(R)}}(new q).apply(R);(new G).apply(R);(new j).apply(R);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const $=N(84387);new $({mangleImports:E.optimization.mangleWasmImports}).apply(R)}if(E.experiments.asyncWebAssembly){const $=N(82422);new $({mangleImports:E.optimization.mangleWasmImports}).apply(R)}if(E.experiments.lazyCompilation){const $=N(10639);const j=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new $({backend:typeof j.backend==="function"?j.backend:N(64244)({...j.backend,client:j.backend&&j.backend.client||E.externalsPresets.node?N.ab+"lazy-compilation-node.js":N.ab+"lazy-compilation-web.js"}),entries:!j||j.entries!==false,imports:!j||j.imports!==false,test:j&&j.test||undefined}).apply(R)}if(E.experiments.buildHttp){const $=N(7201);const j=E.experiments.buildHttp;new $(j).apply(R)}(new ae).apply(R);R.hooks.entryOption.call(E.context,E.entry);(new _e).apply(R);(new et).apply(R);(new je).apply(R);(new ze).apply(R);(new we).apply(R);new Ge({topLevelAwait:E.experiments.topLevelAwait}).apply(R);if(E.amd!==false){const $=N(19765);const j=N(10830);new $(E.amd||{}).apply(R);(new j).apply(R)}(new qe).apply(R);new Ve({}).apply(R);if(E.node!==false){const $=N(32125);new $(E.node).apply(R)}(new Ee).apply(R);(new Ie).apply(R);(new Te).apply(R);(new Me).apply(R);(new Be).apply(R);(new Je).apply(R);(new Qe).apply(R);(new Ke).apply(R);(new We).apply(R);(new Xe).apply(R);(new He).apply(R);(new Ye).apply(R);new Ze(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(R);(new nt).apply(R);(new rt).apply(R);(new st).apply(R);(new tt).apply(R);if(typeof E.mode!=="string"){const E=N(67586);(new E).apply(R)}const $=N(38173);(new $).apply(R);if(E.optimization.removeAvailableModules){const E=N(78016);(new E).apply(R)}if(E.optimization.removeEmptyChunks){const E=N(62665);(new E).apply(R)}if(E.optimization.mergeDuplicateChunks){const E=N(70026);(new E).apply(R)}if(E.optimization.flagIncludedChunks){const E=N(76627);(new E).apply(R)}if(E.optimization.sideEffects){const $=N(63410);new $(E.optimization.sideEffects===true).apply(R)}if(E.optimization.providedExports){const E=N(95629);(new E).apply(R)}if(E.optimization.usedExports){const $=N(1596);new $(E.optimization.usedExports==="global").apply(R)}if(E.optimization.innerGraph){const E=N(10032);(new E).apply(R)}if(E.optimization.mangleExports){const $=N(41694);new $(E.optimization.mangleExports!=="size").apply(R)}if(E.optimization.concatenateModules){const E=N(35442);(new E).apply(R)}if(E.optimization.splitChunks){const $=N(40051);new $(E.optimization.splitChunks).apply(R)}if(E.optimization.runtimeChunk){const $=N(4674);new $(E.optimization.runtimeChunk).apply(R)}if(!E.optimization.emitOnErrors){const E=N(66962);(new E).apply(R)}if(E.optimization.realContentHash){const $=N(30699);new $({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(R)}if(E.optimization.checkWasmTypes){const E=N(8576);(new E).apply(R)}const ot=E.optimization.moduleIds;if(ot){switch(ot){case"natural":{const E=N(97781);(new E).apply(R);break}case"named":{const E=N(9297);(new E).apply(R);break}case"hashed":{const $=N(3571);const j=N(35853);new $("optimization.moduleIds","hashed","deterministic").apply(R);new j({hashFunction:E.output.hashFunction}).apply(R);break}case"deterministic":{const E=N(35579);(new E).apply(R);break}case"size":{const E=N(76059);new E({prioritiseInitial:true}).apply(R);break}default:throw new Error(`webpack bug: moduleIds: ${ot} is not implemented`)}}const lt=E.optimization.chunkIds;if(lt){switch(lt){case"natural":{const E=N(18298);(new E).apply(R);break}case"named":{const E=N(64779);(new E).apply(R);break}case"deterministic":{const E=N(90444);(new E).apply(R);break}case"size":{const E=N(86169);new E({prioritiseInitial:true}).apply(R);break}case"total-size":{const E=N(86169);new E({prioritiseInitial:false}).apply(R);break}default:throw new Error(`webpack bug: chunkIds: ${lt} is not implemented`)}}if(E.optimization.nodeEnv){const $=N(24820);new $({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(R)}if(E.optimization.minimize){for(const N of E.optimization.minimizer){if(typeof N==="function"){N.call(R,R)}else if(N!=="..."){N.apply(R)}}}if(E.performance){const $=N(20625);new $(E.performance).apply(R)}(new Ne).apply(R);new le({portableIds:E.optimization.portableRecords}).apply(R);(new Le).apply(R);const ct=N(46584);new ct(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(R);if(E.cache&&typeof E.cache==="object"){const $=E.cache;switch($.type){case"memory":{if(isFinite($.maxGenerations)){const E=N(71162);new E({maxGenerations:$.maxGenerations}).apply(R)}else{const E=N(47786);(new E).apply(R)}if($.cacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}R.moduleMemCaches=new Map}break}case"filesystem":{const j=N(38016);for(const E in $.buildDependencies){const N=$.buildDependencies[E];new j(N).apply(R)}if(!isFinite($.maxMemoryGenerations)){const E=N(47786);(new E).apply(R)}else if($.maxMemoryGenerations!==0){const E=N(71162);new E({maxGenerations:$.maxMemoryGenerations}).apply(R)}if($.memoryCacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}R.moduleMemCaches=new Map}switch($.store){case"pack":{const j=N(66620);const q=N(83793);new j(new q({compiler:R,fs:R.intermediateFileSystem,context:E.context,cacheLocation:$.cacheLocation,version:$.version,logger:R.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:$.maxAge,profile:$.profile,allowCollectingMemory:$.allowCollectingMemory,compression:$.compression}),$.idleTimeout,$.idleTimeoutForInitialStore,$.idleTimeoutAfterLargeChanges).apply(R);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${$.type}`)}}(new Ue).apply(R);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const $=N(89056);new $(E.ignoreWarnings).apply(R)}R.hooks.afterPlugins.call(R);if(!R.inputFileSystem){throw new Error("No input filesystem provided")}R.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(N=>{N=it(E.resolve,N);N.fileSystem=R.inputFileSystem;return N}));R.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(N=>{N=it(E.resolve,N);N.fileSystem=R.inputFileSystem;N.resolveToContext=true;return N}));R.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(N=>{N=it(E.resolveLoader,N);N.fileSystem=R.inputFileSystem;return N}));R.hooks.afterResolvers.call(R);return E}}E.exports=WebpackOptionsApply},94820:(E,R,N)=>{"use strict";const{applyWebpackOptionsDefaults:$}=N(54411);const{getNormalizedWebpackOptions:j}=N(96590);class WebpackOptionsDefaulter{process(E){E=j(E);$(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,R,N)=>{"use strict";const $=N(50007);const j=N(71017);const{RawSource:q}=N(2991);const G=N(36253);const ie=N(76150);const ae=N(35891);const{makePathsRelative:le}=N(49197);const mergeMaybeArrays=(E,R)=>{const N=new Set;if(Array.isArray(E))for(const R of E)N.add(R);else N.add(E);if(Array.isArray(R))for(const E of R)N.add(E);else N.add(R);return Array.from(N)};const mergeAssetInfo=(E,R)=>{const N={...E,...R};for(const $ of Object.keys(E)){if($ in R){if(E[$]===R[$])continue;switch($){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":N[$]=mergeMaybeArrays(E[$],R[$]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":N[$]=E[$]||R[$];break;case"related":N[$]=mergeRelatedInfo(E[$],R[$]);break;default:throw new Error(`Can't handle conflicting asset info for ${$}`)}}}return N};const mergeRelatedInfo=(E,R)=>{const N={...E,...R};for(const $ of Object.keys(E)){if($ in R){if(E[$]===R[$])continue;N[$]=mergeMaybeArrays(E[$],R[$])}}return N};const _e=new Set(["javascript"]);const Ee=new Set(["javascript","asset"]);class AssetGenerator extends G{constructor(E,R,N,$){super();this.dataUrlOptions=E;this.filename=R;this.publicPath=N;this.emit=$}generate(E,{runtime:R,chunkGraph:N,runtimeTemplate:G,runtimeRequirements:_e,type:Ee,getData:we}){switch(Ee){case"asset":return E.originalSource();default:{_e.add(ie.module);const Ee=E.originalSource();if(E.buildInfo.dataUrl){let R;if(typeof this.dataUrlOptions==="function"){R=this.dataUrlOptions.call(null,Ee.source(),{filename:E.matchResource||E.resource,module:E})}else{let N=this.dataUrlOptions.encoding;if(N===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){N=E.resourceResolveData.encoding}}if(N===undefined){N="base64"}let q;let G=this.dataUrlOptions.mimetype;if(G===undefined){q=j.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){G=E.resourceResolveData.mimetype+E.resourceResolveData.parameters}else if(q){G=$.lookup(q)}}if(typeof G!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${q}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ie;if(E.resourceResolveData&&E.resourceResolveData.encoding===N){ie=E.resourceResolveData.encodedContent}else{switch(N){case"base64":{ie=Ee.buffer().toString("base64");break}case false:{const E=Ee.source();if(typeof E!=="string"){ie=E.toString("utf-8")}ie=encodeURIComponent(ie).replace(/[!'()*]/g,(E=>"%"+E.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${N}'`)}}R=`data:${G}${N?`;${N}`:""},${ie}`}return new q(`${ie.module}.exports = ${JSON.stringify(R)};`)}else{const $=this.filename||G.outputOptions.assetModuleFilename;const j=ae(G.outputOptions.hashFunction);if(G.outputOptions.hashSalt){j.update(G.outputOptions.hashSalt)}j.update(Ee.buffer());const Me=j.digest(G.outputOptions.hashDigest);const Ie=Me.slice(0,G.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Me;const Te=le(G.compilation.compiler.context,E.matchResource||E.resource,G.compilation.compiler.root).replace(/^\.\//,"");let{path:Ne,info:Be}=G.compilation.getAssetPathWithInfo($,{module:E,runtime:R,filename:Te,chunkGraph:N,contentHash:Ie});let Le;if(this.publicPath!==undefined){const{path:$,info:j}=G.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:R,filename:Te,chunkGraph:N,contentHash:Ie});Le=JSON.stringify($);Be=mergeAssetInfo(Be,j)}else{Le=ie.publicPath;_e.add(ie.publicPath)}Be={sourceFilename:Te,...Be};E.buildInfo.filename=Ne;E.buildInfo.assetInfo=Be;if(we){const E=we();E.set("fullContentHash",Me);E.set("filename",Ne);E.set("assetInfo",Be)}return new q(`${ie.module}.exports = ${Le} + ${JSON.stringify(Ne)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return _e}else{return Ee}}getSize(E,R){switch(R){case"asset":{const R=E.originalSource();if(!R){return 0}return R.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const R=E.originalSource();if(!R){return 0}return R.size()*1.34+36}else{return 42}}}updateHash(E,{module:R}){E.update(R.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,R,N)=>{"use strict";const{cleverMerge:$}=N(90149);const{compareModulesByIdentifier:j}=N(68673);const q=N(35817);const G=N(91671);const getSchema=E=>{const{definitions:R}=N(46312);return{definitions:R,oneOf:[{$ref:`#/definitions/${E}`}]}};const ie={name:"Asset Modules Plugin",baseDataPath:"generator"};const ae={asset:q(N(68707),(()=>getSchema("AssetGeneratorOptions")),ie),"asset/resource":q(N(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ie),"asset/inline":q(N(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ie)};const le=q(N(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const _e=G((()=>N(20882)));const Ee=G((()=>N(74795)));const we=G((()=>N(20139)));const Me=G((()=>N(54685)));const Ie="asset";const Te="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Te,((R,{normalModuleFactory:N})=>{N.hooks.createParser.for("asset").tap(Te,(R=>{le(R);R=$(E.options.module.parser.asset,R);let N=R.dataUrlCondition;if(!N||typeof N==="object"){N={maxSize:8096,...N}}const j=Ee();return new j(N)}));N.hooks.createParser.for("asset/inline").tap(Te,(E=>{const R=Ee();return new R(true)}));N.hooks.createParser.for("asset/resource").tap(Te,(E=>{const R=Ee();return new R(false)}));N.hooks.createParser.for("asset/source").tap(Te,(E=>{const R=we();return new R}));for(const E of["asset","asset/inline","asset/resource"]){N.hooks.createGenerator.for(E).tap(Te,(R=>{ae[E](R);let N=undefined;if(E!=="asset/resource"){N=R.dataUrl;if(!N||typeof N==="object"){N={encoding:undefined,mimetype:undefined,...N}}}let $=undefined;let j=undefined;if(E!=="asset/inline"){$=R.filename;j=R.publicPath}const q=_e();return new q(N,$,j,R.emit!==false)}))}N.hooks.createGenerator.for("asset/source").tap(Te,(()=>{const E=Me();return new E}));R.hooks.renderManifest.tap(Te,((E,N)=>{const{chunkGraph:$}=R;const{chunk:q,codeGenerationResults:G}=N;const ie=$.getOrderedChunkModulesIterableBySourceType(q,"asset",j);if(ie){for(const R of ie){try{const N=G.get(R,q.runtime);E.push({render:()=>N.sources.get(Ie),filename:R.buildInfo.filename||N.data.get("filename"),info:R.buildInfo.assetInfo||N.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${$.getModuleId(R)}`,hash:R.buildInfo.fullContentHash||N.data.get("fullContentHash")})}catch(E){E.message+=`\nduring rendering of asset ${R.identifier()}`;throw E}}}return E}));R.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,R)=>{const{codeGenerationResult:N}=E;const $=N.sources.get("asset");if($===undefined)return;R.assets.set(N.data.get("filename"),{source:$,info:N.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,R,N)=>{"use strict";const $=N(2172);class AssetParser extends ${constructor(E){super();this.dataUrlCondition=E}parse(E,R){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){R.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:R.module.matchResource||R.module.resource,module:R.module})}else if(typeof this.dataUrlCondition==="boolean"){R.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){R.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return R}}E.exports=AssetParser},54685:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(36253);const q=N(76150);const G=new Set(["javascript"]);class AssetSourceGenerator extends j{generate(E,{chunkGraph:R,runtimeTemplate:N,runtimeRequirements:j}){j.add(q.module);const G=E.originalSource();if(!G){return new $("")}const ie=G.source();let ae;if(typeof ie==="string"){ae=ie}else{ae=ie.toString("utf-8")}return new $(`${q.module}.exports = ${JSON.stringify(ae)};`)}getTypes(E){return G}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()+12}}E.exports=AssetSourceGenerator},20139:(E,R,N)=>{"use strict";const $=N(2172);class AssetSourceParser extends ${parse(E,R){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:N}=R;N.buildInfo.strict=true;N.buildMeta.exportsType="default";return R}}E.exports=AssetSourceParser},10813:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const q=N(58159);class AwaitDependenciesInitFragment extends ${constructor(E){super(undefined,$.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const R=new Set(this.promises);for(const N of E.promises){R.add(N)}return new AwaitDependenciesInitFragment(R)}getContent({runtimeRequirements:E}){E.add(j.module);const R=this.promises;if(R.size===0){return""}if(R.size===1){for(const E of R){return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const N=Array.from(R).join(", ");return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${N}]);`,`([${N}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,R,N)=>{"use strict";const $=N(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:R}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const N=new Set;for(const R of E){if(R.buildMeta&&R.buildMeta.async){N.add(R)}}for(const E of N){R.setAsync(E);for(const[j,q]of R.getIncomingConnectionsByOriginModule(E)){if(q.some((E=>E.dependency instanceof $&&E.isTargetActive(undefined)))){N.add(j)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,R,N)=>{"use strict";const $=N(21357);const{connectChunkGroupParentAndChild:j}=N(4642);const q=N(79900);const{getEntryRuntime:G,mergeRuntime:ie}=N(37416);const ae=new Set;ae.plus=ae;const bySetSize=(E,R)=>R.size+R.plus.size-E.size-E.plus.size;const extractBlockModules=(E,R,N,$)=>{let j;let G;const ie=[];const ae=[E];while(ae.length>0){const E=ae.pop();const R=[];ie.push(R);$.set(E,R);for(const R of E.blocks){ae.push(R)}}for(const q of R.getOutgoingConnections(E)){const E=q.dependency;if(!E)continue;const ie=q.module;if(!ie)continue;if(q.weak)continue;const ae=q.getActiveState(N);if(ae===false)continue;const le=R.getParentBlock(E);let _e=R.getParentBlockIndex(E);if(_e<0){_e=le.dependencies.indexOf(E)}if(j!==le){G=$.get(j=le)}const Ee=_e<<2;G[Ee]=ie;G[Ee+1]=ae}for(const E of ie){if(E.length===0)continue;let R;let N=0;e:for(let $=0;$30){R=new Map;for(let $=0;${const{moduleGraph:Ee,chunkGraph:we,moduleMemCaches:Me}=R;const Ie=new Map;let Te=false;let Ne;const getBlockModules=(R,N)=>{if(Te!==N){Ne=Ie.get(N);if(Ne===undefined){Ne=new Map;Ie.set(N,Ne)}}let $=Ne.get(R);if($!==undefined)return $;const j=R.getRootBlock();const q=Me&&Me.get(j);if(q!==undefined){const $=q.provide("bundleChunkGraph.blockModules",N,(()=>{E.time("visitModules: prepare");const R=new Map;extractBlockModules(j,Ee,N,R);E.timeAggregate("visitModules: prepare");return R}));for(const[E,R]of $)Ne.set(E,R);return $.get(R)}else{E.time("visitModules: prepare");extractBlockModules(j,Ee,N,Ne);$=Ne.get(R);E.timeAggregate("visitModules: prepare");return $}};let Be=0;let Le=0;let je=0;let ze=0;let Ue=0;let qe=0;let Ge=0;let He=0;let We=0;let Ve=0;let Ke=0;let Qe=0;let Je=0;let Xe=0;let Ye=0;let Ze=0;const et=new Map;const tt=new Map;const nt=new Map;const rt=0;const st=1;const it=2;const ot=3;const lt=4;const ct=5;let ut=[];const pt=new Map;const dt=new Set;for(const[E,$]of N){const N=G(R,E.name,E.options);const q={chunkGroup:E,runtime:N,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=Xe++;if(E.getNumberOfParents()>0){const E=new Set;for(const R of $){E.add(R)}q.skippedItems=E;dt.add(q)}else{q.minAvailableModules=ae;const R=E.getEntrypointChunk();for(const N of $){ut.push({action:st,block:N,module:N,chunk:R,chunkGroup:E,chunkGroupInfo:q})}}j.set(E,q);if(E.name){tt.set(E.name,q)}}for(const E of dt){const{chunkGroup:R}=E;E.availableSources=new Set;for(const N of R.parentsIterable){const R=j.get(N);E.availableSources.add(R);if(R.availableChildren===undefined){R.availableChildren=new Set}R.availableChildren.add(E)}}ut.reverse();const ft=new Set;const ht=new Set;let mt=[];const gt=[];const yt=[];const vt=[];let bt;let _t;let kt;let xt;let Et;const iteratorBlock=E=>{let N=et.get(E);let G;let ie;const le=E.groupOptions&&E.groupOptions.entryOptions;if(N===undefined){const Ee=E.groupOptions&&E.groupOptions.name||E.chunkName;if(le){N=nt.get(Ee);if(!N){ie=R.addAsyncEntrypoint(le,bt,E.loc,E.request);ie.index=Xe++;N={chunkGroup:ie,runtime:ie.options.runtime||ie.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};j.set(ie,N);we.connectBlockAndChunkGroup(E,ie);if(Ee){nt.set(Ee,N)}}else{ie=N.chunkGroup;ie.addOrigin(bt,E.loc,E.request);we.connectBlockAndChunkGroup(E,ie)}mt.push({action:lt,block:E,module:bt,chunk:ie.chunks[0],chunkGroup:ie,chunkGroupInfo:N})}else{N=tt.get(Ee);if(!N){G=R.addChunkInGroup(E.groupOptions||E.chunkName,bt,E.loc,E.request);G.index=Xe++;N={chunkGroup:G,runtime:Et.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};_e.add(G);j.set(G,N);if(Ee){tt.set(Ee,N)}}else{G=N.chunkGroup;if(G.isInitial()){R.errors.push(new $(Ee,bt,E.loc));G=kt}G.addOptions(E.groupOptions);G.addOrigin(bt,E.loc,E.request)}q.set(E,[])}et.set(E,N)}else if(le){ie=N.chunkGroup}else{G=N.chunkGroup}if(G!==undefined){q.get(E).push({originChunkGroupInfo:Et,chunkGroup:G});let R=pt.get(Et);if(R===undefined){R=new Set;pt.set(Et,R)}R.add(N);mt.push({action:ot,block:E,module:bt,chunk:G.chunks[0],chunkGroup:G,chunkGroupInfo:N})}else{Et.chunkGroup.addAsyncEntrypoint(ie)}};const processBlock=E=>{Le++;const R=getBlockModules(E,Et.runtime);if(R!==undefined){const{minAvailableModules:E}=Et;for(let N=0;N0){let{skippedModuleConnections:E}=Et;if(E===undefined){Et.skippedModuleConnections=E=new Set}for(let R=gt.length-1;R>=0;R--){E.add(gt[R])}gt.length=0}if(yt.length>0){let{skippedItems:E}=Et;if(E===undefined){Et.skippedItems=E=new Set}for(let R=yt.length-1;R>=0;R--){E.add(yt[R])}yt.length=0}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const R of E.blocks){iteratorBlock(R)}if(E.blocks.length>0&&bt!==E){le.add(E)}};const processEntryBlock=E=>{Le++;const R=getBlockModules(E,Et.runtime);if(R!==undefined){for(let E=0;E0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const R of E.blocks){iteratorBlock(R)}if(E.blocks.length>0&&bt!==E){le.add(E)}};const processQueue=()=>{while(ut.length){Be++;const E=ut.pop();bt=E.module;xt=E.block;_t=E.chunk;kt=E.chunkGroup;Et=E.chunkGroupInfo;switch(E.action){case rt:we.connectChunkAndEntryModule(_t,bt,kt);case st:{if(we.isModuleInChunk(bt,_t)){break}we.connectChunkAndModule(_t,bt)}case it:{const R=kt.getModulePreOrderIndex(bt);if(R===undefined){kt.setModulePreOrderIndex(bt,Et.preOrderIndex++)}if(Ee.setPreOrderIndexIfUnset(bt,Ye)){Ye++}E.action=ct;ut.push(E)}case ot:{processBlock(xt);break}case lt:{processEntryBlock(xt);break}case ct:{const E=kt.getModulePostOrderIndex(bt);if(E===undefined){kt.setModulePostOrderIndex(bt,Et.postOrderIndex++)}if(Ee.setPostOrderIndexIfUnset(bt,Ze)){Ze++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const R=E.minAvailableModules;let N;if(R.size>R.plus.size){N=new Set;for(const E of R.plus)R.add(E);R.plus=ae;N.plus=R;E.minAvailableModulesOwned=false}else{N=new Set(R);N.plus=R.plus}for(const R of E.chunkGroup.chunks){for(const E of we.getChunkModulesIterable(R)){N.add(E)}}return E.resultingAvailableModules=N};const processConnectQueue=()=>{for(const[E,R]of pt){if(E.children===undefined){E.children=R}else{for(const N of R){E.children.add(N)}}const N=calculateResultingAvailableModules(E);const $=E.runtime;for(const E of R){E.availableModulesToBeMerged.push(N);ht.add(E);const R=E.runtime;const j=ie(R,$);if(R!==j){E.runtime=j;ft.add(E)}}je+=R.size}pt.clear()};const processChunkGroupsForMerging=()=>{ze+=ht.size;for(const E of ht){const R=E.availableModulesToBeMerged;let N=E.minAvailableModules;Ue+=R.length;if(R.length>1){R.sort(bySetSize)}let $=false;e:for(const j of R){if(N===undefined){N=j;E.minAvailableModules=N;E.minAvailableModulesOwned=false;$=true}else{if(E.minAvailableModulesOwned){if(N.plus===j.plus){for(const E of N){if(!j.has(E)){N.delete(E);$=true}}}else{for(const E of N){if(!j.has(E)&&!j.plus.has(E)){N.delete(E);$=true}}for(const E of N.plus){if(!j.has(E)&&!j.plus.has(E)){const R=N.plus[Symbol.iterator]();let q;while(!(q=R.next()).done){const R=q.value;if(R===E)break;N.add(R)}while(!(q=R.next()).done){const R=q.value;if(j.has(R)||j.plus.has(E)){N.add(R)}}N.plus=ae;$=true;continue e}}}}else if(N.plus===j.plus){if(j.size{for(const E of dt){for(const R of E.availableSources){if(!R.minAvailableModules){dt.delete(E);break}}}for(const E of dt){const R=new Set;R.plus=ae;const mergeSet=E=>{if(E.size>R.plus.size){for(const E of R.plus)R.add(E);R.plus=E}else{for(const N of E)R.add(N)}};for(const R of E.availableSources){const E=calculateResultingAvailableModules(R);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=R;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;ft.add(E)}dt.clear()};const processOutdatedChunkGroupInfo=()=>{Qe+=ft.size;for(const E of ft){if(E.skippedItems!==undefined){const{minAvailableModules:R}=E;for(const N of E.skippedItems){if(!R.has(N)&&!R.plus.has(N)){ut.push({action:st,block:N,module:N,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(N)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:R}=E;for(const N of E.skippedModuleConnections){const[$,j]=N;if(j===false)continue;if(j===true){E.skippedModuleConnections.delete(N)}if(j===true&&(R.has($)||R.plus.has($))){E.skippedItems.add($);continue}ut.push({action:j===true?st:ot,block:$,module:$,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){Je+=E.children.size;for(const R of E.children){let N=pt.get(E);if(N===undefined){N=new Set;pt.set(E,N)}N.add(R)}}if(E.availableChildren!==undefined){for(const R of E.availableChildren){dt.add(R)}}}ft.clear()};while(ut.length||pt.size){E.time("visitModules: visiting");processQueue();E.timeAggregateEnd("visitModules: prepare");E.timeEnd("visitModules: visiting");if(dt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(pt.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(ht.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(ft.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const E=ut;ut=mt.reverse();mt=E}}E.log(`${Be} queue items processed (${Le} blocks)`);E.log(`${je} chunk groups connected`);E.log(`${ze} chunk groups processed for merging (${Ue} module sets, ${qe} forked, ${Ge} + ${He} modules forked, ${We} + ${Ve} modules merged into fork, ${Ke} resulting modules)`);E.log(`${Qe} chunk group info updated (${Je} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,R,N,$)=>{const{chunkGraph:q}=E;const areModulesAvailable=(E,R)=>{for(const N of E.chunks){for(const E of q.getChunkModulesIterable(N)){if(!R.has(E)&&!R.plus.has(E))return false}}return true};for(const[E,$]of N){if(!R.has(E)&&$.every((({chunkGroup:E,originChunkGroupInfo:R})=>areModulesAvailable(E,R.resultingAvailableModules)))){continue}for(let R=0;R<$.length;R++){const{chunkGroup:N,originChunkGroupInfo:G}=$[R];q.connectBlockAndChunkGroup(E,N);j(G.chunkGroup,N)}}};const cleanupUnconnectedGroups=(E,R)=>{const{chunkGraph:N}=E;for(const $ of R){if($.getNumberOfParents()===0){for(const R of $.chunks){E.chunks.delete(R);N.disconnectChunk(R)}N.disconnectChunkGroup($);$.remove()}}};const buildChunkGraph=(E,R)=>{const N=E.getLogger("webpack.buildChunkGraph");const $=new Map;const j=new Set;const q=new Map;const G=new Set;N.time("visitModules");visitModules(N,E,R,q,$,G,j);N.timeEnd("visitModules");N.time("connectChunkGroups");connectChunkGroups(E,G,$,q);N.timeEnd("connectChunkGroups");for(const[E,R]of q){for(const N of E.chunks)N.runtime=ie(N.runtime,R.runtime)}N.time("cleanup");cleanupUnconnectedGroups(E,j);N.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,R){this.managedPaths=new Set(E);this.immutablePaths=new Set(R)}apply(E){for(const R of this.managedPaths){E.managedPaths.add(R)}for(const R of this.immutablePaths){E.immutablePaths.add(R)}}}E.exports=AddManagedPathsPlugin},66620:(E,R,N)=>{"use strict";const $=N(54725);const j=N(52923);const q=Symbol();class IdleFileCachePlugin{constructor(E,R,N,$){this.strategy=E;this.idleTimeout=R;this.idleTimeoutForInitialStore=N;this.idleTimeoutAfterLargeChanges=$}apply(E){let R=this.strategy;const N=this.idleTimeout;const G=Math.min(N,this.idleTimeoutForInitialStore);const ie=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let le=0;let _e=0;let Ee=0;const we=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},((E,N,$)=>{we.set(E,(()=>R.store(E,N,$)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},((E,N,$)=>{const restore=()=>R.restore(E,N).then((j=>{if(j===undefined){$.push((($,j)=>{if($!==undefined){we.set(E,(()=>R.store(E,N,$)))}j()}))}else{return j}}));const j=we.get(E);if(j!==undefined){we.delete(E);return j().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(E=>{we.set(q,(()=>R.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}Ie=false;const N=j.getReporter(E);const $=Array.from(we.values());if(N)N(0,"process pending cache items");const q=$.map((E=>E()));we.clear();q.push(Me);const G=Promise.all(q);Me=G.then((()=>R.afterAllStored()));if(N){Me=Me.then((()=>{N(1,`stored`)}))}return Me.then((()=>{if(R.clear)R.clear()}))}));let Me=ae;let Ie=false;let Te=true;const processIdleTasks=()=>{if(Ie){const N=Date.now();if(we.size>0){const E=[Me];const R=N+100;let $=100;for(const[N,j]of we){we.delete(N);E.push(j());if($--<=0||Date.now()>R)break}Me=Promise.all(E);Me.then((()=>{_e+=Date.now()-N;Ne=setTimeout(processIdleTasks,0);Ne.unref()}));return}Me=Me.then((async()=>{await R.afterAllStored();_e+=Date.now()-N;Ee=Math.max(Ee,_e)*.9+_e*.1;_e=0;le=0})).catch((R=>{const N=E.getInfrastructureLogger("IdleFileCachePlugin");N.warn(`Background tasks during idle failed: ${R.message}`);N.debug(R.stack)}));Te=false}};let Ne=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{const R=le>Ee*2;if(Te&&G{Ne=undefined;Ie=true;ae.then(processIdleTasks)}),Math.min(Te?G:Infinity,R?ie:Infinity,N));Ne.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}Ie=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{le*=.9;le+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,R,N)=>{"use strict";const $=N(54725);class MemoryCachePlugin{apply(E){const R=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},((E,N,$)=>{R.set(E,{etag:N,data:$})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},((E,N,$)=>{const j=R.get(E);if(j===null){return null}else if(j!==undefined){return j.etag===N?j.data:null}$.push((($,j)=>{if($===undefined){R.set(E,null)}else{R.set(E,{etag:N,data:$})}return j()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},(()=>{R.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,R,N)=>{"use strict";const $=N(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const R=this._maxGenerations;const N=new Map;const j=new Map;let q=0;let G=0;const ie=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{q++;let E=0;let $;for(const[R,G]of j){if(G.until>q)break;j.delete(R);if(N.get(R)===undefined){N.delete(R);E++;$=R}}if(E>0||j.size>0){ie.log(`${N.size-j.size} active entries, ${j.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${$}`:""}`)}let ae=N.size/R|0;let le=G>=N.size?0:G;G=le+ae;for(const[E,$]of N){if(le!==0){le--;continue}if($!==undefined){N.set(E,undefined);j.delete(E);j.set(E,{entry:$,until:q+R});if(ae--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},((E,R,$)=>{N.set(E,{etag:R,data:$})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},((E,R,$)=>{const q=N.get(E);if(q===null){return null}else if(q!==undefined){return q.etag===R?q.data:null}const G=j.get(E);if(G!==undefined){const $=G.entry;if($===null){j.delete(E);N.set(E,$);return null}else{if($.etag!==R)return null;j.delete(E);N.set(E,$);return $.data}}$.push((($,j)=>{if($===undefined){N.set(E,null)}else{N.set(E,{etag:R,data:$})}return j()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},(()=>{N.clear();j.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,R,N)=>{"use strict";const $=N(22996);const j=N(52923);const{formatSize:q}=N(9192);const G=N(43065);const ie=N(83379);const ae=N(56202);const le=N(91671);const{createFileSerializer:_e,NOT_SERIALIZABLE:Ee}=N(24568);class PackContainer{constructor(E,R,N,$,j,q){this.data=E;this.version=R;this.buildSnapshot=N;this.buildDependencies=$;this.resolveResults=j;this.resolveBuildDependenciesSnapshot=q}serialize({write:E,writeLazy:R}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);R(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const we=1024*1024;const Me=10;const Ie=100;const Te=5e4;const Ne=1*60*1e3;class PackItemInfo{constructor(E,R,N){this.identifier=E;this.etag=R;this.location=-1;this.lastAccess=Date.now();this.freshValue=N}}class Pack{constructor(E,R){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=R}_addRequest(E){this.requests.push(E);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Ne);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(E,R){const N=this.itemInfo.get(E);this._addRequest(E);if(N===undefined){return undefined}if(N.etag!==R)return null;N.lastAccess=Date.now();const $=N.location;if($===-1){return N.freshValue}else{if(!this.content[$]){return undefined}return this.content[$].get(E)}}set(E,R,N){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const $=this.itemInfo.get(E);if($===undefined){const $=new PackItemInfo(E,R,N);this.itemInfo.set(E,$);this._addRequest(E);this.freshContent.set(E,$)}else{const j=$.location;if(j>=0){this._addRequest(E);this.freshContent.set(E,$);const R=this.content[j];R.delete(E);if(R.items.size===0){this.content[j]=undefined;this.logger.debug("Pack %d got empty and is removed",j)}}$.freshValue=N;$.lastAccess=Date.now();$.etag=R;$.location=-1}}getContentStats(){let E=0;let R=0;for(const N of this.content){if(N!==undefined){E++;const $=N.getSize();if($>0){R+=$}}}return{count:E,size:R}}_findLocation(){let E;for(E=0;Ethis.maxAge){this.itemInfo.delete(G);E.delete(G);R.delete(G);$++;j=G}else{ie.location=N}}if($>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",$,N,E.size,j)}}_persistFreshContent(){const E=this.freshContent.size;if(E>0){const R=Math.ceil(E/Te);const N=Math.ceil(E/R);const $=[];let j=0;let q=false;const createNextPack=()=>{const E=this._findLocation();this.content[E]=null;const R={items:new Set,map:new Map,loc:E};$.push(R);return R};let G=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const E of this.requests){if(E===undefined){if(q){q=false}else if(G.items.size>=Ie){j=0;G=createNextPack()}continue}const R=this.freshContent.get(E);if(R===undefined)continue;G.items.add(E);G.map.set(E,R.freshValue);R.location=G.loc;R.freshValue=undefined;this.freshContent.delete(E);if(++j>N){j=0;G=createNextPack();q=true}}this.requests.length=0;for(const E of $){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}this.logger.log(`${E} fresh items in cache put into pack ${$.length>1?$.map((E=>`${E.loc} (${E.items.size} items)`)).join(", "):$[0].loc}`)}}_optimizeSmallContent(){const E=[];let R=0;const N=[];let $=0;for(let j=0;jwe)continue;if(q.used.size>0){E.push(j);R+=G}else{N.push(j);$+=G}}let j;if(E.length>=Me||R>we){j=E}else if(N.length>=Me||$>we){j=N}else return;const q=[];for(const E of j){q.push(this.content[E]);this.content[E]=undefined}const G=new Set;const ie=new Set;const ae=[];for(const E of q){for(const R of E.items){G.add(R)}for(const R of E.used){ie.add(R)}ae.push((async R=>{await E.unpack("it should be merged with other small pack contents");for(const[N,$]of E.content){R.set(N,$)}}))}const _e=this._findLocation();this._gcAndUpdateLocation(G,ie,_e);if(G.size>0){this.content[_e]=new PackContent(G,ie,le((async()=>{const E=new Map;await Promise.all(ae.map((R=>R(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",q.length,G.size,_e)}}_optimizeUnusedContent(){for(let E=0;E0&&$0){this.content[$]=new PackContent(N,new Set(N),(async()=>{await R.unpack("it should be splitted into used and unused items");const E=new Map;for(const $ of N){E.set($,R.content.get($))}return new PackContentItems(E)}))}const j=new Set(R.items);const q=new Set;for(const E of N){j.delete(E)}const G=this._findLocation();this._gcAndUpdateLocation(j,q,G);if(j.size>0){this.content[G]=new PackContent(j,q,(async()=>{await R.unpack("it should be splitted into used and unused items");const E=new Map;for(const N of j){E.set(N,R.content.get(N))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,$,N.size,G,j.size);return}}}_gcOldestContent(){let E=undefined;for(const R of this.itemInfo.values()){if(E===undefined||R.lastAccessthis.maxAge){const R=E.location;if(R<0)return;const N=this.content[R];const $=new Set(N.items);const j=new Set(N.used);this._gcAndUpdateLocation($,j,R);this.content[R]=$.size>0?new PackContent($,j,(async()=>{await N.unpack("it contains old items that should be garbage collected");const E=new Map;for(const R of $){E.set(R,N.content.get(R))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:R}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const R of this.itemInfo.keys()){E(R)}E(null);for(const R of this.itemInfo.values()){E(R.etag)}for(const R of this.itemInfo.values()){E(R.lastAccess)}for(let N=0;NR(E,{name:`${N}`})))}else{E(undefined)}}E(null)}deserialize({read:E,logger:R}){this.logger=R;{const R=[];let N=E();while(N!==null){R.push(N);N=E()}this.itemInfo.clear();const $=R.map((E=>{const R=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,R);return R}));for(const R of $){R.etag=E()}for(const R of $){R.lastAccess=E()}}this.content.length=0;let N=E();while(N!==null){if(N===undefined){this.content.push(N)}else{const $=this.content.length;const j=E();this.content.push(new PackContent(N,new Set,j,R,`${this.content.length}`));for(const E of N){this.itemInfo.get(E).location=$}}N=E()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:R,rollback:N,logger:$,profile:j}){if(j){E(false);for(const[j,q]of this.map){const G=R();try{E(j);const R=process.hrtime();E(q);const N=process.hrtime(R);const G=N[0]*1e3+N[1]/1e6;if(G>1){if(G>500)$.error(`Serialization of '${j}': ${G} ms`);else if(G>50)$.warn(`Serialization of '${j}': ${G} ms`);else if(G>10)$.info(`Serialization of '${j}': ${G} ms`);else if(G>5)$.log(`Serialization of '${j}': ${G} ms`);else $.debug(`Serialization of '${j}': ${G} ms`)}}catch(E){N(G);if(E===Ee)continue;$.warn(`Skipped not serializable cache item '${j}': ${E.message}`);$.debug(E.stack)}}E(null);return}const q=R();try{E(true);E(this.map)}catch(j){N(q);E(false);for(const[j,q]of this.map){const G=R();try{E(j);E(q)}catch(E){N(G);if(E===Ee)continue;$.warn(`Skipped not serializable cache item '${j}': ${E.message}`);$.debug(E.stack)}}E(null)}}deserialize({read:E,logger:R,profile:N}){if(E()){this.map=E()}else if(N){const N=new Map;let $=E();while($!==null){const j=process.hrtime();const q=E();const G=process.hrtime(j);const ie=G[0]*1e3+G[1]/1e6;if(ie>1){if(ie>100)R.error(`Deserialization of '${$}': ${ie} ms`);else if(ie>20)R.warn(`Deserialization of '${$}': ${ie} ms`);else if(ie>5)R.info(`Deserialization of '${$}': ${ie} ms`);else if(ie>2)R.log(`Deserialization of '${$}': ${ie} ms`);else R.debug(`Deserialization of '${$}': ${ie} ms`)}N.set($,q);$=E()}this.map=N}else{const R=new Map;let N=E();while(N!==null){R.set(N,E());N=E()}this.map=R}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,R,N,$,j){this.items=E;this.lazy=typeof N==="function"?N:undefined;this.content=typeof N==="function"?undefined:N.map;this.outdated=false;this.used=R;this.logger=$;this.lazyName=j}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`restore cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to restore cache content ${R} (${q(this.getSize())}) because of request to: ${E}`);this.logger.time(N)}const $=this.lazy();if("then"in $){return $.then((R=>{const $=R.map;if(N){this.logger.timeEnd(N)}this.content=$;this.lazy=G.unMemoizeLazy(this.lazy);return $.get(E)}))}else{const R=$.map;if(N){this.logger.timeEnd(N)}this.content=R;this.lazy=G.unMemoizeLazy(this.lazy);return R.get(E)}}unpack(E){if(this.content)return;if(this.lazy){const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`unpack cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${R} (${q(this.getSize())}) because ${E}`);this.logger.time(N)}const $=this.lazy();if("then"in $){return $.then((E=>{if(N){this.logger.timeEnd(N)}this.content=E.map}))}else{if(N){this.logger.timeEnd(N)}this.content=$.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const R=E.size;if(typeof R!=="number")return-1;return R}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}writeLazy(E){if(!this.outdated&&this.lazy){E(this.lazy);return}if(!this.outdated&&this.content){const R=new Map(this.content);this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(R))));return}if(this.content){const R=new Map;for(const E of this.items){R.set(E,this.content.get(E))}this.outdated=false;this.content=R;this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(R))));return}const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`unpack cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${R} (${q(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(N)}const $=this.lazy();this.outdated=false;if("then"in $){this.lazy=E((()=>$.then((E=>{if(N){this.logger.timeEnd(N)}const R=E.map;const $=new Map;for(const E of this.items){$.set(E,R.get(E))}this.content=$;this.lazy=G.unMemoizeLazy(this.lazy);return new PackContentItems($)}))))}else{if(N){this.logger.timeEnd(N)}const R=$.map;const j=new Map;for(const E of this.items){j.set(E,R.get(E))}this.content=j;this.lazy=E((()=>new PackContentItems(j)))}}}const allowCollectingMemory=E=>{const R=E.buffer.byteLength-E.byteLength;if(R>8192&&(R>1048576||R>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:R,context:N,cacheLocation:j,version:q,logger:G,snapshot:ae,maxAge:le,profile:Ee,allowCollectingMemory:we,compression:Me}){this.fileSerializer=_e(R,E.options.output.hashFunction);this.fileSystemInfo=new $(R,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:G.getChildLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});this.compiler=E;this.context=N;this.cacheLocation=j;this.version=q;this.logger=G;this.maxAge=le;this.profile=Ee;this.allowCollectingMemory=we;this.compression=Me;this._extension=Me==="brotli"?".pack.br":Me==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new ie;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:R,cacheLocation:N,version:$}=this;let j;let q;let G;let ie;let ae;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${N}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:R,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((R=>{if(R.code!=="ENOENT"){E.warn(`Restoring pack failed from ${N}${this._extension}: ${R}`);E.debug(R.stack)}else{E.debug(`No pack exists at ${N}${this._extension}: ${R}`)}return undefined})).then((R=>{E.timeEnd("restore cache container");if(!R)return undefined;if(!(R instanceof PackContainer)){E.warn(`Restored pack from ${N}${this._extension}, but contained content is unexpected.`,R);return undefined}if(R.version!==$){E.log(`Restored pack from ${N}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise((($,q)=>{this.fileSystemInfo.checkSnapshotValid(R.buildSnapshot,((q,G)=>{if(q){E.log(`Restored pack from ${N}${this._extension}, but checking snapshot of build dependencies errored: ${q}.`);E.debug(q.stack);return $(false)}if(!G){E.log(`Restored pack from ${N}${this._extension}, but build dependencies have changed.`);return $(false)}j=R.buildSnapshot;return $(true)}))})),new Promise((($,j)=>{this.fileSystemInfo.checkSnapshotValid(R.resolveBuildDependenciesSnapshot,((j,le)=>{if(j){E.log(`Restored pack from ${N}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${j}.`);E.debug(j.stack);return $(false)}if(le){ie=R.resolveBuildDependenciesSnapshot;q=R.buildDependencies;ae=R.resolveResults;return $(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(R.resolveResults,((j,q)=>{if(j){E.log(`Restored pack from ${N}${this._extension}, but resolving of build dependencies errored: ${j}.`);E.debug(j.stack);return $(false)}if(q){G=R.buildDependencies;ae=R.resolveResults;return $(true)}E.log(`Restored pack from ${N}${this._extension}, but build dependencies resolve to different locations.`);return $(false)}))}))}))]).catch((R=>{E.timeEnd("check build dependencies");throw R})).then((([N,$])=>{E.timeEnd("check build dependencies");if(N&&$){E.time("restore cache content metadata");const N=R.data();E.timeEnd("restore cache content metadata");return N}return undefined}))})).then((R=>{if(R){R.maxAge=this.maxAge;this.buildSnapshot=j;if(q)this.buildDependencies=q;if(G)this.newBuildDependencies.addAll(G);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=ie;return R}return new Pack(E,this.maxAge)})).catch((R=>{this.logger.warn(`Restoring pack from ${N}${this._extension} failed: ${R}`);this.logger.debug(R.stack);return new Pack(E,this.maxAge)}))}store(E,R,N){return this._getPack().then(($=>{$.set(E,R===null?null:R.toString(),N)}))}restore(E,R){return this._getPack().then((N=>N.get(E,R===null?null:R.toString()))).catch((R=>{if(R&&R.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${R}`);this.logger.debug(R.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const R=j.getReporter(this.compiler);return this.storePromise=E.then((E=>{E.stopCapturingRequests();if(!E.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let N;const $=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){$.add(E)}}if($.size>0||!this.buildSnapshot){if(R)R(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from($).join(", ")})`);N=new Promise(((E,N)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,$,(($,j)=>{this.logger.timeEnd("resolve build dependencies");if($)return N($);this.logger.time("snapshot build dependencies");const{files:q,directories:G,missing:ie,resolveResults:ae,resolveDependencies:le}=j;if(this.resolveResults){for(const[E,R]of ae){this.resolveResults.set(E,R)}}else{this.resolveResults=ae}if(R){R(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,le.files,le.directories,le.missing,this.snapshot.resolveBuildDependencies,(($,j)=>{if($){this.logger.timeEnd("snapshot build dependencies");return N($)}if(!j){this.logger.timeEnd("snapshot build dependencies");return N(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,j)}else{this.resolveBuildDependenciesSnapshot=j}if(R){R(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,q,G,ie,this.snapshot.buildDependencies,((R,$)=>{this.logger.timeEnd("snapshot build dependencies");if(R)return N(R);if(!$){return N(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,$)}else{this.buildSnapshot=$}E()}))}))}))}))}else{N=Promise.resolve()}return N.then((()=>{if(R)R(.8,"serialize pack");this.logger.time(`store pack`);const N=new Set(this.buildDependencies);for(const E of $){N.add(E)}const j=new PackContainer(E,this.version,this.buildSnapshot,N,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(j,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of $){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const R=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,R.count,Math.round(R.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,R,N)=>{"use strict";const $=N(83379);const j=N(56202);class CacheEntry{constructor(E,R){this.result=E;this.snapshot=R}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}j(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,R)=>{if(E instanceof $){E.addAll(R)}else{for(const N of R){E.add(N)}}};const objectToString=(E,R)=>{let N="";for(const $ in E){if(R&&$==="context")continue;const j=E[$];if(typeof j==="object"&&j!==null){N+=`|${$}=[${objectToString(j,false)}|]`}else{N+=`|${$}=|${j}`}}return N};class ResolverCachePlugin{apply(E){const R=E.getCache("ResolverCachePlugin");let N;let j;let q=0;let G=0;let ie=0;let ae=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{j=E.options.snapshot.resolve;N=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(q+G>0){const R=E.getLogger("webpack.ResolverCachePlugin");R.log(`${Math.round(100*q/(q+G))}% really resolved (${q} real resolves with ${ie} cached but invalid, ${G} cached valid, ${ae} concurrent)`);q=0;G=0;ie=0;ae=0}}))}));const doRealResolve=(E,R,G,ie,ae)=>{q++;const le={_ResolverCachePluginCacheMiss:true,...ie};const _e={...G,stack:new Set,missingDependencies:new $,fileDependencies:new $,contextDependencies:new $};const propagate=E=>{if(G[E]){addAllToSet(G[E],_e[E])}};const Ee=Date.now();R.doResolve(R.hooks.resolve,le,"Cache miss",_e,((R,$)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(R)return ae(R);const q=_e.fileDependencies;const G=_e.contextDependencies;const ie=_e.missingDependencies;N.createSnapshot(Ee,q,G,ie,j,((R,N)=>{if(R)return ae(R);if(!N){if($)return ae(null,$);return ae()}E.store(new CacheEntry($,N),(E=>{if(E)return ae(E);if($)return ae(null,$);ae()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,$){const j=new Map;$.tap("ResolverCachePlugin",(($,q,ae)=>{if(q.cache!==true)return;const le=objectToString(ae,false);const _e=q.cacheWithContext!==undefined?q.cacheWithContext:false;$.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((q,ae,Ee)=>{if(q._ResolverCachePluginCacheMiss||!N){return Ee()}const we=`${E}${le}${objectToString(q,!_e)}`;const Me=j.get(we);if(Me){Me.push(Ee);return}const Ie=R.getItemCache(we,null);let Te;const done=(E,R)=>{if(Te===undefined){Ee(E,R);Te=false}else{for(const N of Te){N(E,R)}j.delete(we);Te=false}};const processCacheResult=(E,R)=>{if(E)return done(E);if(R){const{snapshot:E,result:j}=R;N.checkSnapshotValid(E,((R,N)=>{if(R||!N){ie++;return doRealResolve(Ie,$,ae,q,done)}G++;if(ae.missingDependencies){addAllToSet(ae.missingDependencies,E.getMissingIterable())}if(ae.fileDependencies){addAllToSet(ae.fileDependencies,E.getFileIterable())}if(ae.contextDependencies){addAllToSet(ae.contextDependencies,E.getContextIterable())}done(null,j)}))}else{doRealResolve(Ie,$,ae,q,done)}};Ie.get(processCacheResult);if(Te===undefined){Te=[Ee];j.set(we,Te)}}))}));return $}})}}E.exports=ResolverCachePlugin},77034:(E,R,N)=>{"use strict";const $=N(35891);class LazyHashedEtag{constructor(E,R="md4"){this._obj=E;this._hash=undefined;this._hashFunction=R}toString(){if(this._hash===undefined){const E=$(this._hashFunction);this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const j=new Map;const q=new WeakMap;const getter=(E,R="md4")=>{let N;if(typeof R==="string"){N=j.get(R);if(N===undefined){const $=new LazyHashedEtag(E,R);N=new WeakMap;N.set(E,$);j.set(R,N);return $}}else{N=q.get(R);if(N===undefined){const $=new LazyHashedEtag(E,R);N=new WeakMap;N.set(E,$);q.set(R,N);return $}}const $=N.get(E);if($!==undefined)return $;const G=new LazyHashedEtag(E,R);N.set(E,G);return G};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,R){this.a=E;this.b=R}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const R=new WeakMap;const N=new WeakMap;const mergeEtags=(E,$)=>{if(typeof E==="string"){if(typeof $==="string"){return`${E}|${$}`}else{const R=$;$=E;E=R}}else{if(typeof $!=="string"){let N=R.get(E);if(N===undefined){R.set(E,N=new WeakMap)}const j=N.get($);if(j===undefined){const R=new MergedEtag(E,$);N.set($,R);return R}else{return j}}}let j=N.get(E);if(j===undefined){N.set(E,j=new Map)}const q=j.get($);if(q===undefined){const R=new MergedEtag(E,$);j.set($,R);return R}else{return q}};E.exports=mergeEtags},61634:(E,R,N)=>{"use strict";const $=N(71017);const j=N(46312);const getArguments=(E=j)=>{const R={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=R=>{const N=R.split("/");let $=E;for(let E=1;E{for(const{schema:R}of E){if(R.cli&&R.cli.helper)continue;if(R.description)return R.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const N=E[0].path;const $=pathToArgumentName(`${N}.reset`);const j=getDescription(E);R[$]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${N}' configuration. ${j}`,path:N}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,N)=>{const $=schemaToArgumentConfig(E[0].schema);if(!$)return 0;const j=pathToArgumentName(E[0].path);const q={...$,multiple:N,description:getDescription(E),path:E[0].path};if(!R[j]){R[j]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(R[j].configs.some((E=>JSON.stringify(E)===JSON.stringify(q)))){return 0}if(R[j].configs.some((E=>E.type===q.type&&E.multiple!==N))){if(N){throw new Error(`Conflicting schema for ${E[0].path} with ${q.type} type (array type must be before single item type)`)}return 0}R[j].configs.push(q);return 1};const traverse=(E,R="",N=[],$=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const j=N.filter((({schema:R})=>R===E));if(j.length>=2||j.some((({path:E})=>E===R))){return 0}if(E.cli&&E.cli.exclude)return 0;const q=[{schema:E,path:R},...N];let G=0;G+=addFlag(q,!!$);if(E.type==="object"){if(E.properties){for(const N of Object.keys(E.properties)){G+=traverse(E.properties[N],R?`${R}.${N}`:N,q,$)}}return G}if(E.type==="array"){if($){return 0}if(Array.isArray(E.items)){let N=0;for(const $ of E.items){G+=traverse($,`${R}.${N}`,q,R)}return G}G+=traverse(E.items,`${R}[]`,q,R);if(G>0){addResetFlag(q);G++}return G}const ie=E.oneOf||E.anyOf||E.allOf;if(ie){const E=ie;for(let N=0;N{if(!E)return R;if(!R)return E;if(E.includes(R))return E;return`${E} ${R}`}),undefined);N.simpleType=N.configs.reduce(((E,R)=>{let N="string";switch(R.type){case"number":N="number";break;case"reset":case"boolean":N="boolean";break;case"enum":if(R.values.every((E=>typeof E==="boolean")))N="boolean";if(R.values.every((E=>typeof E==="number")))N="number";break}if(E===undefined)return N;return E===N?E:"string"}),undefined);N.multiple=N.configs.some((E=>E.multiple))}return R};const q=new WeakMap;const getObjectAndProperty=(E,R,N=0)=>{if(!R)return{value:E};const $=R.split(".");let j=$.pop();let G=E;let ie=0;for(const E of $){const R=E.endsWith("[]");const j=R?E.slice(0,-2):E;let ae=G[j];if(R){if(ae===undefined){ae={};G[j]=[...Array.from({length:N}),ae];q.set(G[j],N+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:$.slice(0,ie).join(".")}}}else{let E=q.get(ae)||0;while(E<=N){ae.push(undefined);E++}q.set(ae,E);const R=ae.length-E+N;if(ae[R]===undefined){ae[R]={}}else if(ae[R]===null||typeof ae[R]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:$.slice(0,ie).join(".")}}}ae=ae[R]}}else{if(ae===undefined){ae=G[j]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:$.slice(0,ie).join(".")}}}}G=ae;ie++}let ae=G[j];if(j.endsWith("[]")){const E=j.slice(0,-2);const $=G[E];if($===undefined){G[E]=[...Array.from({length:N}),undefined];q.set(G[E],N+1);return{object:G[E],property:N,value:undefined}}else if(!Array.isArray($)){G[E]=[$,...Array.from({length:N}),undefined];q.set(G[E],N+1);return{object:G[E],property:N+1,value:undefined}}else{let E=q.get($)||0;while(E<=N){$.push(undefined);E++}q.set($,E);const j=$.length-E+N;if($[j]===undefined){$[j]={}}else if($[j]===null||typeof $[j]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:R}}}return{object:$,property:j,value:$[j]}}}return{object:G,property:j,value:ae}};const setValue=(E,R,N,$)=>{const{problem:j,object:q,property:G}=getObjectAndProperty(E,R,$);if(j)return j;q[G]=N;return null};const processArgumentConfig=(E,R,N,$)=>{if($!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const j=parseValueForArgumentConfig(E,N);if(j===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const q=setValue(R,E.path,j,$);if(q)return q;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,R)=>{switch(E.type){case"string":if(typeof R==="string"){return R}break;case"path":if(typeof R==="string"){return $.resolve(R)}break;case"number":if(typeof R==="number")return R;if(typeof R==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+R;if(!isNaN(E))return E}break;case"boolean":if(typeof R==="boolean")return R;if(R==="true")return true;if(R==="false")return false;break;case"RegExp":if(R instanceof RegExp)return R;if(typeof R==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(R);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(R))return R;for(const N of E.values){if(`${N}`===R)return N}break;case"reset":if(R===true)return[];break}};const processArguments=(E,R,N)=>{const $=[];for(const j of Object.keys(N)){const q=E[j];if(!q){$.push({type:"unknown-argument",path:"",argument:j});continue}const processValue=(E,N)=>{const G=[];for(const $ of q.configs){const q=processArgumentConfig($,R,E,N);if(!q){return}G.push({...q,argument:j,value:E,index:N})}$.push(...G)};let G=N[j];if(Array.isArray(G)){for(let E=0;E{"use strict";const $=N(69328);const j=N(71017);const q=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,R)=>{if(!E){return{}}if(j.isAbsolute(E)){const[,R,N]=q.exec(E)||[];return{configPath:R,env:N}}const N=$.findConfig(R);if(N&&Object.keys(N).includes(E)){return{env:E}}return{query:E}};const load=(E,R)=>{const{configPath:N,env:j,query:q}=parse(E,R);const G=q?q:N?$.loadConfig({config:N,env:j}):$.loadConfig({path:R,env:j});if(!G)return null;return $(G)};const resolve=E=>{const rawChecker=R=>E.every((E=>{const[N,$]=E.split(" ");if(!N)return false;const j=R[N];if(!j)return false;const[q,G]=$==="TP"?[Infinity,Infinity]:$.split(".");if(typeof j==="number"){return+q>=j}return j[0]===+q?+G>=j[1]:+q>j[0]}));const R=E.some((E=>/^node /.test(E)));const N=E.some((E=>/^(?!node)/.test(E)));const $=!N?false:R?null:true;const j=!R?false:N?null:true;const q=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:q,dynamicImportInWorker:q&&!R,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:$,electron:false,node:j,nwjs:false,web:$,webworker:false,document:$,fetchWasm:$,global:j,importScripts:false,importScriptsInWorker:true,nodeBuiltins:j,require:j}};E.exports={resolve:resolve,load:load}},54411:(E,R,N)=>{"use strict";const $=N(57147);const j=N(71017);const q=N(58159);const{cleverMerge:G}=N(90149);const{getTargetsProperties:ie,getTargetProperties:ae,getDefaultTarget:le}=N(71322);const _e=/[\\/]node_modules[\\/]/i;const D=(E,R,N)=>{if(E[R]===undefined){E[R]=N}};const F=(E,R,N)=>{if(E[R]===undefined){E[R]=N()}};const A=(E,R,N)=>{const $=E[R];if($===undefined){E[R]=N()}else if(Array.isArray($)){let j=undefined;for(let q=0;q<$.length;q++){const G=$[q];if(G==="..."){if(j===undefined){j=$.slice(0,q);E[R]=j}const G=N();if(G!==undefined){for(const E of G){j.push(E)}}}else if(j!==undefined){j.push(G)}}}};const applyWebpackOptionsBaseDefaults=E=>{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>le(E.context)));const{mode:R,name:$,target:j}=E;let q=j===false?false:typeof j==="string"?ae(j,E.context):ie(j,E.context);const _e=R==="development";const Ee=R==="production"||!R;if(typeof E.entry!=="function"){for(const R of Object.keys(E.entry)){F(E.entry[R],"import",(()=>["./src"]))}}F(E,"devtool",(()=>_e?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);applyExperimentsDefaults(E.experiments,{production:Ee,development:_e});const we=E.experiments.futureDefaults;F(E,"cache",(()=>_e?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:$||"default",mode:R||"production",development:_e,cacheUnaffected:E.experiments.cacheUnaffected});const Me=!!E.cache;applySnapshotDefaults(E.snapshot,{production:Ee,futureDefaults:we});applyModuleDefaults(E.module,{cache:Me,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:q,isAffectedByBrowserslist:j===undefined||typeof j==="string"&&j.startsWith("browserslist")||Array.isArray(j)&&j.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:_e,entry:E.entry,module:E.module,futureDefaults:we});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:q,buildHttp:!!E.experiments.buildHttp});applyLoaderDefaults(E.loader,{targetProperties:q});F(E,"externalsType",(()=>{const R=N(46312).definitions.ExternalsType["enum"];return E.output.library&&R.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{futureDefaults:E.experiments.futureDefaults,targetProperties:q});F(E,"performance",(()=>Ee&&q&&(q.browser||q.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:Ee});applyOptimizationDefaults(E.optimization,{development:_e,production:Ee,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=G(getResolveDefaults({cache:Me,context:E.context,targetProperties:q,mode:E.mode}),E.resolve);E.resolveLoader=G(getResolveLoaderDefaults({cache:Me}),E.resolveLoader)};const applyExperimentsDefaults=(E,{production:R,development:N})=>{D(E,"futureDefaults",false);D(E,"backCompat",!E.futureDefaults);D(E,"topLevelAwait",E.futureDefaults);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",E.futureDefaults);D(E,"outputModule",false);D(E,"layers",false);D(E,"lazyCompilation",undefined);D(E,"buildHttp",undefined);D(E,"cacheUnaffected",E.futureDefaults);if(typeof E.buildHttp==="object"){D(E.buildHttp,"frozen",R);D(E.buildHttp,"upgrade",false)}};const applyCacheDefaults=(E,{name:R,mode:N,development:q,cacheUnaffected:G})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>R+"-"+N));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let R=E;for(;;){try{if($.statSync(j.join(R,"package.json")).isFile())break}catch(E){}const E=j.dirname(R);if(R===E){R=undefined;break}R=E}if(!R){return j.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return j.resolve(R,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return j.resolve(R,".yarn/.cache/webpack")}else{return j.resolve(R,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>j.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",false);D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",q?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",q);D(E,"memoryCacheUnaffected",q&&G);D(E.buildDependencies,"defaultWebpack",[j.resolve(__dirname,"..")+j.sep]);break;case"memory":D(E,"maxGenerations",Infinity);D(E,"cacheUnaffected",q&&G);break}};const applySnapshotDefaults=(E,{production:R,futureDefaults:N})=>{if(N){F(E,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(E,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[j.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}))}F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>R?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>R?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:R,syncWebAssembly:N,asyncWebAssembly:$})=>{if(R){D(E,"unsafeCache",(E=>{const R=E.nameForCondition();return R&&_e.test(R)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const R={type:"javascript/dynamic"};const j=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...R},{test:/\.js$/i,descriptionData:{type:"commonjs"},...R},{mimetype:{or:["text/javascript","application/javascript"]},...E}];if($){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};j.push({test:/\.wasm$/i,...E});j.push({mimetype:"application/wasm",...E})}else if(N){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};j.push({test:/\.wasm$/i,...E});j.push({mimetype:"application/wasm",...E})}j.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:"json"});return j}))};const applyOutputDefaults=(E,{context:R,targetProperties:N,isAffectedByBrowserslist:G,outputModule:ie,development:ae,entry:le,module:_e,futureDefaults:Ee})=>{const getLibraryName=E=>{const R=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(R)){return R.join(".")}else if(typeof R==="object"){return getLibraryName(R.root)}else if(typeof R==="string"){return R}return""};F(E,"uniqueName",(()=>{const N=getLibraryName(E.library);if(N)return N;const q=j.resolve(R,"package.json");try{const E=JSON.parse($.readFileSync(q,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${q}`;throw E}return""}}));F(E,"module",(()=>!!ie));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const R=E.filename;if(typeof R!=="function"){const E=R.includes("[name]");const N=R.includes("[id]");const $=R.includes("[chunkhash]");const j=R.includes("[contenthash]");if($||j||E||N)return R;return R.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>q.toIdentifier("webpackHotUpdate"+q.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>q.toIdentifier("webpackChunk"+q.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(N){if(N.global)return"global";if(N.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(N){const R=G?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(N.dynamicImport)return"module";if(N.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+R)}else{if(N.document)return"array-push";if(N.require)return"commonjs";if(N.nodeBuiltins)return"commonjs";if(N.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+R)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(N){switch(E.chunkFormat){case"array-push":if(N.document)return"jsonp";if(N.importScripts)return"import-scripts";break;case"commonjs":if(N.require)return"require";if(N.nodeBuiltins)return"async-node";break;case"module":if(N.dynamicImport)return"import";break}if(N.require===null||N.nodeBuiltins===null||N.document===null||N.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(N){switch(E.chunkFormat){case"array-push":if(N.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(N.require)return"require";if(N.nodeBuiltins)return"async-node";break;case"module":if(N.dynamicImportInWorker)return"import";break}if(N.require===null||N.nodeBuiltins===null||N.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(N){if(N.fetchWasm)return"fetch";if(N.nodeBuiltins)return E.module?"async-node-module":"async-node";if(N.nodeBuiltins===null||N.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>j.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>ae));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",N&&(N.document||N.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction",Ee?"xxhash64":"md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>N&&optimistic(N.arrowFunction)));F(E.environment,"const",(()=>N&&optimistic(N.const)));F(E.environment,"destructuring",(()=>N&&optimistic(N.destructuring)));F(E.environment,"forOf",(()=>N&&optimistic(N.forOf)));F(E.environment,"bigIntLiteral",(()=>N&&N.bigIntLiteral));F(E.environment,"dynamicImport",(()=>N&&N.dynamicImport));F(E.environment,"module",(()=>N&&N.module));const{trustedTypes:we}=E;if(we){F(we,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const R of Object.keys(le)){E(le[R])}};A(E,"enabledLibraryTypes",(()=>{const R=[];if(E.library){R.push(E.library.type)}forEachEntry((E=>{if(E.library){R.push(E.library.type)}}));return R}));A(E,"enabledChunkLoadingTypes",(()=>{const R=new Set;if(E.chunkLoading){R.add(E.chunkLoading)}if(E.workerChunkLoading){R.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){R.add(E.chunkLoading)}}));return Array.from(R)}));A(E,"enabledWasmLoadingTypes",(()=>{const R=new Set;if(E.wasmLoading){R.add(E.wasmLoading)}if(E.workerWasmLoading){R.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){R.add(E.wasmLoading)}}));return Array.from(R)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:R,buildHttp:N})=>{D(E,"web",!N&&R&&R.web);D(E,"node",R&&R.node);D(E,"nwjs",R&&R.nwjs);D(E,"electron",R&&R.electron);D(E,"electronMain",R&&R.electron&&R.electronMain);D(E,"electronPreload",R&&R.electron&&R.electronPreload);D(E,"electronRenderer",R&&R.electron&&R.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:R})=>{F(E,"target",(()=>{if(R){if(R.electron){if(R.electronMain)return"electron-main";if(R.electronPreload)return"electron-preload";if(R.electronRenderer)return"electron-renderer";return"electron"}if(R.nwjs)return"nwjs";if(R.node)return"node";if(R.web)return"web"}}))};const applyNodeDefaults=(E,{futureDefaults:R,targetProperties:N})=>{if(E===false)return;F(E,"global",(()=>{if(N&&N.global)return false;return R?"warn":true}));F(E,"__filename",(()=>{if(N&&N.node)return"eval-only";return R?"warn-mock":"mock"}));F(E,"__dirname",(()=>{if(N&&N.node)return"eval-only";return R?"warn-mock":"mock"}))};const applyPerformanceDefaults=(E,{production:R})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>R?"warning":false))};const applyOptimizationDefaults=(E,{production:R,development:$,records:j})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",R);F(E,"moduleIds",(()=>{if(R)return"deterministic";if($)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(R)return"deterministic";if($)return"named";return"natural"}));F(E,"sideEffects",(()=>R?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",R);D(E,"innerGraph",R);D(E,"mangleExports",R);D(E,"concatenateModules",R);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!R);D(E,"checkWasmTypes",R);D(E,"mangleWasmImports",false);D(E,"portableRecords",j);D(E,"realContentHash",R);D(E,"minimize",R);A(E,"minimizer",(()=>[{apply:E=>{const R=N(96013);new R({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(R)return"production";if($)return"development";return false}));const{splitChunks:q}=E;if(q){A(q,"defaultSizeTypes",(()=>["javascript","unknown"]));D(q,"hidePathInfo",R);D(q,"chunks","async");D(q,"usedExports",E.usedExports===true);D(q,"minChunks",1);F(q,"minSize",(()=>R?2e4:1e4));F(q,"minRemainingSize",(()=>$?0:undefined));F(q,"enforceSizeThreshold",(()=>R?5e4:3e4));F(q,"maxAsyncRequests",(()=>R?30:Infinity));F(q,"maxInitialRequests",(()=>R?30:Infinity));D(q,"automaticNameDelimiter","-");const{cacheGroups:N}=q;F(N,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(N,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:_e,priority:-10})))}};const getResolveDefaults=({cache:E,context:R,targetProperties:N,mode:$})=>{const j=["webpack"];j.push($==="development"?"development":"production");if(N){if(N.webworker)j.push("worker");if(N.node)j.push("node");if(N.web)j.push("browser");if(N.electron)j.push("electron");if(N.nwjs)j.push("nwjs")}const q=[".js",".json",".wasm"];const G=N;const ie=G&&G.web&&(!G.node||G.electron&&G.electronRenderer);const cjsDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...q]});const esmDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...q]});const ae={cache:E,modules:["node_modules"],conditionNames:j,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[R],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:E})=>{const R={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return R};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const R=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",R);D(E,"appendOnly",!R)};R.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;R.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,R,N)=>{"use strict";const $=N(73837);const j=$.deprecate(((E,R)=>{if(R!==undefined&&!E===!R){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,R)=>E===undefined?R({}):R(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,R)=>E===undefined?undefined:R(E);const nestedArray=(E,R)=>Array.isArray(E)?R(E):R([]);const optionalNestedArray=(E,R)=>Array.isArray(E)?R(E):undefined;const keyedNestedConfig=(E,R,N)=>{const $=E===undefined?{}:Object.keys(E).reduce((($,j)=>($[j]=(N&&j in N?N[j]:R)(E[j]),$)),{});if(N){for(const E of Object.keys(N)){if(!(E in $)){$[E]=N[E]({})}}}return $};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:nestedConfig(E.experiments,(E=>({...E,buildHttp:optionalNestedConfig(E.buildHttp,(E=>Array.isArray(E)?{allowedUris:E}:E)),lazyCompilation:optionalNestedConfig(E.lazyCompilation,(E=>E===true?{}:E===false?undefined:E))}))),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const R=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:N})=>{if(!R.message&&!R.module&&!R.file)return false;if(R.message&&!R.message.test(E.message)){return false}if(R.module&&(!E.module||!R.module.test(E.module.readableIdentifier(N)))){return false}if(R.file&&(!E.file||!R.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:R=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...R})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?j(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:R}=E;const N=R;const $=typeof R==="object"&&R&&!Array.isArray(R)&&"type"in R?R:N||E.libraryTarget?{name:N}:undefined;const j={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:$&&{type:E.libraryTarget!==undefined?E.libraryTarget:$.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:$.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:$.export,name:$.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:$.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return j})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const R={};for(const N of Object.keys(E)){const $=E[N];if(typeof $==="string"){R[N]={import:[$]}}else if(Array.isArray($)){R[N]={import:$}}else{R[N]={import:$.import&&(Array.isArray($.import)?$.import:[$.import]),filename:$.filename,layer:$.layer,runtime:$.runtime,publicPath:$.publicPath,chunkLoading:$.chunkLoading,wasmLoading:$.wasmLoading,dependOn:$.dependOn&&(Array.isArray($.dependOn)?$.dependOn:[$.dependOn]),library:$.library}}}return R};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:R}=E;return{name:typeof R==="function"?R:()=>R}};R.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,R,N)=>{"use strict";const $=N(91671);const j=$((()=>N(27509)));const getDefaultTarget=E=>{const R=j().load(null,E);return R?"browserslist":"web"};const versionDependent=(E,R)=>{if(!E)return()=>undefined;E=+E;R=R?+R:0;return(N,$=0)=>E>N||E===N&&R>=$};const q=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,R)=>{const N=j();const $=N.load(E?E.trim():null,R);if(!$){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return N.resolve($)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,R,N)=>{const $=versionDependent(R,N);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:$(12),const:$(6),arrowFunction:$(6),forOf:$(5),destructuring:$(6),bigIntLiteral:$(10,4),dynamicImport:$(12,17),dynamicImportInWorker:R?false:undefined,module:$(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,R,N)=>{const $=versionDependent(E,R);return{node:true,electron:true,web:N!=="main",webworker:false,browser:false,nwjs:false,electronMain:N==="main",electronPreload:N==="preload",electronRenderer:N==="renderer",global:true,nodeBuiltins:true,require:true,document:N==="renderer",fetchWasm:N==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:$(5),const:$(1,1),arrowFunction:$(1,1),forOf:$(0,36),destructuring:$(1,1),bigIntLiteral:$(4),dynamicImport:$(11),dynamicImportInWorker:E?false:undefined,module:$(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,R)=>{const N=versionDependent(E,R);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:N(0,43),const:N(0,15),arrowFunction:N(0,15),forOf:N(0,13),destructuring:N(0,15),bigIntLiteral:N(0,32),dynamicImport:N(0,43),dynamicImportInWorker:E?false:undefined,module:N(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let R=+E;if(R<1e3)R=R+2009;return{const:R>=2015,arrowFunction:R>=2015,forOf:R>=2015,destructuring:R>=2015,module:R>=2015,globalThis:R>=2020,bigIntLiteral:R>=2020,dynamicImport:R>=2020,dynamicImportInWorker:R>=2020}}]];const getTargetProperties=(E,R)=>{for(const[,,N,$]of q){const j=N.exec(E);if(j){const[,...E]=j;const N=$(...E,R);if(N)return N}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${q.map((([E,R])=>`* ${E}: ${R}`)).join("\n")}`)};const mergeTargetProperties=E=>{const R=new Set;for(const N of E){for(const E of Object.keys(N)){R.add(E)}}const N={};for(const $ of R){let R=false;let j=false;for(const N of E){const E=N[$];switch(E){case true:R=true;break;case false:j=true;break}}if(R||j)N[$]=j&&R?null:R?true:false}return N};const getTargetsProperties=(E,R)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,R))));R.getDefaultTarget=getDefaultTarget;R.getTargetProperties=getTargetProperties;R.getTargetsProperties=getTargetsProperties},76041:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class ContainerEntryDependency extends ${constructor(E,R,N){super();this.name=E;this.exposes=R;this.shareScope=N}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}j(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(2991);const q=N(98221);const G=N(53453);const ie=N(76150);const ae=N(58159);const le=N(56202);const _e=N(4523);const Ee=new Set(["javascript"]);class ContainerEntryModule extends G{constructor(E,R,N){super("javascript/dynamic",null);this._name=E;this._exposes=R;this._shareScope=N}getSourceTypes(){return Ee}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,R]of this._exposes){const N=new q({name:R.name},{name:E},R.import[R.import.length-1]);let $=0;for(const j of R.import){const R=new _e(E,j);R.loc={name:E,index:$++};N.addDependency(R)}this.addBlock(N)}j()}codeGeneration({moduleGraph:E,chunkGraph:R,runtimeTemplate:N}){const q=new Map;const G=new Set([ie.definePropertyGetters,ie.hasOwnProperty,ie.exports]);const le=[];for(const $ of this.blocks){const{dependencies:j}=$;const q=j.map((R=>{const N=R;return{name:N.exposedName,module:E.getModule(N),request:N.userRequest}}));let ie;if(q.some((E=>!E.module))){ie=N.throwMissingModuleErrorBlock({request:q.map((E=>E.request)).join(", ")})}else{ie=`return ${N.blockPromise({block:$,message:"",chunkGraph:R,runtimeRequirements:G})}.then(${N.returningFunction(N.returningFunction(`(${q.map((({module:E,request:$})=>N.moduleRaw({module:E,chunkGraph:R,request:$,weak:false,runtimeRequirements:G}))).join(", ")})`))});`}le.push(`${JSON.stringify(q[0].name)}: ${N.basicFunction("",ie)}`)}const _e=ae.asString([`var moduleMap = {`,ae.indent(le.join(",\n")),"};",`var get = ${N.basicFunction("module, getScope",[`${ie.currentRemoteGetScope} = getScope;`,"getScope = (",ae.indent([`${ie.hasOwnProperty}(moduleMap, module)`,ae.indent(["? moduleMap[module]()",`: Promise.resolve().then(${N.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ie.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${N.basicFunction("shareScope, initScope",[`if (!${ie.shareScopeMap}) return;`,`var oldScope = ${ie.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ie.shareScopeMap}[name] = shareScope;`,`return ${ie.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ie.definePropertyGetters}(exports, {`,ae.indent([`get: ${N.returningFunction("get")},`,`init: ${N.returningFunction("init")}`]),"});"]);q.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new $(_e,"webpack/container-entry"):new j(_e));return{sources:q,runtimeRequirements:G}}size(E){return 42}serialize(E){const{write:R}=E;R(this._name);R(this._exposes);R(this._shareScope);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ContainerEntryModule(R(),R(),R());N.deserialize(E);return N}}le(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,R,N)=>{"use strict";const $=N(40674);const j=N(89591);E.exports=class ContainerEntryModuleFactory extends ${create({dependencies:[E]},R){const N=E;R(null,{module:new j(N.name,N.exposes,N.shareScope)})}}},4523:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ContainerExposedDependency extends ${constructor(E,R){super(R);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}j(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,R,N)=>{"use strict";const $=N(35817);const j=N(76041);const q=N(76912);const G=N(4523);const{parseOptions:ie}=N(97264);const ae=$(N(28633),(()=>N(93944)),{name:"Container Plugin",baseDataPath:"options"});const le="ContainerPlugin";class ContainerPlugin{constructor(E){ae(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ie(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:R,exposes:N,shareScope:$,filename:ie,library:ae,runtime:_e}=this._options;E.options.output.enabledLibraryTypes.push(ae.type);E.hooks.make.tapAsync(le,((E,q)=>{const G=new j(R,N,$);G.loc={name:R};E.addEntry(E.options.context,G,{name:R,filename:ie,runtime:_e,library:ae},(E=>{if(E)return q(E);q()}))}));E.hooks.thisCompilation.tap(le,((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,new q);E.dependencyFactories.set(G,R)}))}}E.exports=ContainerPlugin},68839:(E,R,N)=>{"use strict";const $=N(61050);const j=N(76150);const q=N(35817);const G=N(27426);const ie=N(55525);const ae=N(68005);const le=N(68679);const _e=N(31122);const Ee=N(44742);const{parseOptions:we}=N(97264);const Me=q(N(12e3),(()=>N(38279)),{name:"Container Reference Plugin",baseDataPath:"options"});const Ie="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Me(E);this._remoteType=E.remoteType;this._remotes=we(E.remotes,(R=>({external:Array.isArray(R)?R:[R],shareScope:E.shareScope||"default"})),(R=>({external:Array.isArray(R.external)?R.external:[R.external],shareScope:R.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:R,_remoteType:N}=this;const q={};for(const[E,N]of R){let R=0;for(const $ of N.external){if($.startsWith("internal "))continue;q[`webpack/container/reference/${E}${R?`/fallback-${R}`:""}`]=$;R++}}new $(N,q).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(Ee,N);E.dependencyFactories.set(ie,N);E.dependencyFactories.set(G,new ae);N.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[N,$]of R){if(E.request.startsWith(`${N}`)&&(E.request.length===N.length||E.request.charCodeAt(N.length)===Ie)){return new le(E.request,$.external.map(((E,R)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${N}${R?`/fallback-${R}`:""}`)),`.${E.request.slice(N.length)}`,$.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ContainerReferencePlugin",((R,N)=>{N.add(j.module);N.add(j.moduleFactoriesAddOnly);N.add(j.hasOwnProperty);N.add(j.initializeSharing);N.add(j.shareScopeMap);E.addRuntimeModule(R,new _e)}))}))}}E.exports=ContainerReferencePlugin},27426:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class FallbackDependency extends ${constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:R}=E;R(this.requests);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new FallbackDependency(R());N.deserialize(E);return N}}j(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class FallbackItemDependency extends ${constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}j(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(53453);const q=N(76150);const G=N(58159);const ie=N(56202);const ae=N(55525);const le=new Set(["javascript"]);const _e=new Set([q.module]);class FallbackModule extends j{constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:R}){return R.getNumberOfEntryModules(E)>0}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new ae(E));j()}size(E){return this.requests.length*5+42}getSourceTypes(){return le}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const j=this.dependencies.map((E=>N.getModuleId(R.getModule(E))));const q=G.asString([`var ids = ${JSON.stringify(j)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",G.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ie=new Map;ie.set("javascript",new $(q));return{sources:ie,runtimeRequirements:_e}}serialize(E){const{write:R}=E;R(this.requests);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new FallbackModule(R());N.deserialize(E);return N}}ie(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,R,N)=>{"use strict";const $=N(40674);const j=N(13386);E.exports=class FallbackModuleFactory extends ${create({dependencies:[E]},R){const N=E;R(null,{module:new j(N.requests)})}}},8019:(E,R,N)=>{"use strict";const $=N(92483);const j=N(16471);const q=N(35817);const G=N(10419);const ie=N(68839);const ae=q(N(43329),(()=>N(85195)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){ae(E);this._options=E}apply(E){const{_options:R}=this;const N=R.library||{type:"var",name:R.name};const q=R.remoteType||(R.library&&$(R.library.type)?R.library.type:"script");if(N&&!E.options.output.enabledLibraryTypes.includes(N.type)){E.options.output.enabledLibraryTypes.push(N.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(R.exposes&&(Array.isArray(R.exposes)?R.exposes.length>0:Object.keys(R.exposes).length>0)){new G({name:R.name,library:N,filename:R.filename,runtime:R.runtime,exposes:R.exposes}).apply(E)}if(R.remotes&&(Array.isArray(R.remotes)?R.remotes.length>0:Object.keys(R.remotes).length>0)){new ie({remoteType:q,remotes:R.remotes}).apply(E)}if(R.shared){new j({shared:R.shared,shareScope:R.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(53453);const q=N(76150);const G=N(56202);const ie=N(27426);const ae=N(44742);const le=new Set(["remote","share-init"]);const _e=new Set([q.module]);class RemoteModule extends j{constructor(E,R,N,$){super("remote-module");this.request=E;this.externalRequests=R;this.internalRequest=N;this.shareScope=$;this._identifier=`remote (${$}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new ae(this.externalRequests[0]))}else{this.addDependency(new ie(this.externalRequests))}j()}size(E){return 6}getSourceTypes(){return le}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const j=R.getModule(this.dependencies[0]);const q=j&&N.getModuleId(j);const G=new Map;G.set("remote",new $(""));const ie=new Map;ie.set("share-init",[{shareScope:this.shareScope,initStage:20,init:q===undefined?"":`initExternal(${JSON.stringify(q)});`}]);return{sources:G,data:ie,runtimeRequirements:_e}}serialize(E){const{write:R}=E;R(this.request);R(this.externalRequests);R(this.internalRequest);R(this.shareScope);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new RemoteModule(R(),R(),R(),R());N.deserialize(E);return N}}G(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class RemoteRuntimeModule extends j{constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,moduleGraph:j}=E;const G={};const ie={};for(const E of this.chunk.getAllAsyncChunks()){const N=R.getChunkModulesIterableBySourceType(E,"remote");if(!N)continue;const $=G[E.id]=[];for(const E of N){const N=E;const q=N.internalRequest;const G=R.getModuleId(N);const ae=N.shareScope;const le=N.dependencies[0];const _e=j.getModule(le);const Ee=_e&&R.getModuleId(_e);$.push(G);ie[G]=[ae,q,Ee]}}return q.asString([`var chunkMapping = ${JSON.stringify(G,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ie,null,"\t")};`,`${$.ensureChunkHandlers}.remotes = ${N.basicFunction("chunkId, promises",[`if(${$.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${N.basicFunction("id",[`var getScope = ${$.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${N.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',q.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${N.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${N.basicFunction("fn, arg1, arg2, d, next, first",["try {",q.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",q.indent([`var p = promise.then(${N.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",q.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",q.indent(["onError(error);"]),"}"])}`,`var onExternal = ${N.returningFunction(`external ? handleFunction(${$.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${N.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${N.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${N.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class RemoteToExternalDependency extends ${constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}j(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,R)=>{"use strict";const process=(E,R,N,$)=>{const array=E=>{for(const N of E){if(typeof N==="string"){$(N,R(N,N))}else if(N&&typeof N==="object"){object(N)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[j,q]of Object.entries(E)){if(typeof q==="string"||Array.isArray(q)){$(j,R(q,j))}else{$(j,N(q,j))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,R,N)=>{const $=[];process(E,R,N,((E,R)=>{$.push([E,R])}));return $};const scope=(E,R)=>{const N={};process(R,(E=>E),(E=>E),((R,$)=>{N[R.startsWith("./")?`${E}${R.slice(1)}`:`${E}/${R}`]=$}));return N};R.parseOptions=parseOptions;R.scope=scope},26802:(E,R,N)=>{"use strict";const{Tracer:$}=N(25954);const j=N(35817);const{dirname:q,mkdirpSync:G}=N(95396);const ie=j(N(2282),(()=>N(78555)),{name:"Profiling Plugin",baseDataPath:"options"});let ae=undefined;try{ae=N(31405)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new ae.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,R){if(this.hasSession()){return new Promise(((N,$)=>this.session.post(E,R,((E,R)=>{if(E!==null){$(E)}else{N(R)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const R=process.hrtime();const N=R[0]*1e6+Math.round(R[1]/1e3);if(E.startTimeN){const R=E.endTime-E.startTime;const $=N-this._startTime;const j=Math.max(0,$-R);E.startTime=this._startTime+j/2;E.endTime=N-j/2}return{profile:E}}))}}const createTrace=(E,R)=>{const N=new $({noStream:true});const j=new Profiler(ae);if(/\/|\\/.test(R)){const N=q(E,R);G(E,N)}const ie=E.createWriteStream(R);let le=0;N.pipe(ie);N.instantEvent({name:"TracingStartedInPage",id:++le,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});N.instantEvent({name:"TracingStartedInBrowser",id:++le,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:N,counter:le,profiler:j,end:E=>{ie.on("close",(()=>{E()}));N.push(null)}}};const le="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ie(E);this.outputPath=E.outputPath||"events.json"}apply(E){const R=createTrace(E.intermediateFileSystem,this.outputPath);R.profiler.startProfiling();Object.keys(E.hooks).forEach((N=>{E.hooks[N].intercept(makeInterceptorFor("Compiler",R)(N))}));Object.keys(E.resolverFactory.hooks).forEach((N=>{E.resolverFactory.hooks[N].intercept(makeInterceptorFor("Resolver",R)(N))}));E.hooks.compilation.tap(le,((E,{normalModuleFactory:N,contextModuleFactory:$})=>{interceptAllHooksFor(E,R,"Compilation");interceptAllHooksFor(N,R,"Normal Module Factory");interceptAllHooksFor($,R,"Context Module Factory");interceptAllParserHooks(N,R);interceptAllJavascriptModulesPluginHooks(E,R)}));E.hooks.done.tapAsync({name:le,stage:Infinity},((E,N)=>{R.profiler.stopProfiling().then((E=>{if(E===undefined){R.profiler.destroy();R.trace.flush();R.end(N);return}const $=E.profile.startTime;const j=E.profile.endTime;R.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++R.counter,cat:["toplevel"],ts:$,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});R.trace.completeEvent({name:"EvaluateScript",id:++R.counter,cat:["devtools.timeline"],ts:$,dur:j-$,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});R.trace.instantEvent({name:"CpuProfile",id:++R.counter,cat:["disabled-by-default-devtools.timeline"],ts:j,args:{data:{cpuProfile:E.profile}}});R.profiler.destroy();R.trace.flush();R.end(N)}))}))}}const interceptAllHooksFor=(E,R,N)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach(($=>{const j=E.hooks[$];if(!j._fakeHook){j.intercept(makeInterceptorFor(N,R)($))}}))}};const interceptAllParserHooks=(E,R)=>{const N=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];N.forEach((N=>{E.hooks.parser.for(N).tap("ProfilingPlugin",((E,N)=>{interceptAllHooksFor(E,R,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,R)=>{interceptAllHooksFor({hooks:N(18161).getCompilationHooks(E)},R,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,R)=>E=>({register:({name:N,type:$,context:j,fn:q})=>{const G=makeNewProfiledTapFn(E,R,{name:N,type:$,fn:q});return{name:N,type:$,context:j,fn:G}}});const makeNewProfiledTapFn=(E,R,{name:N,type:$,fn:j})=>{const q=["blink.user_timing"];switch($){case"promise":return(...E)=>{const $=++R.counter;R.trace.begin({name:N,id:$,cat:q});const G=j(...E);return G.then((E=>{R.trace.end({name:N,id:$,cat:q});return E}))};case"async":return(...E)=>{const $=++R.counter;R.trace.begin({name:N,id:$,cat:q});const G=E.pop();j(...E,((...E)=>{R.trace.end({name:N,id:$,cat:q});G(...E)}))};case"sync":return(...E)=>{const $=++R.counter;if(N===le){return j(...E)}R.trace.begin({name:N,id:$,cat:q});let G;try{G=j(...E)}catch(E){R.trace.end({name:N,id:$,cat:q});throw E}R.trace.end({name:N,id:$,cat:q});return G};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);const G={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.require,$.exports,$.module]},o:{definition:"",content:"!(module.exports = #)",requests:[$.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.require,$.exports,$.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.exports,$.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[$.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.exports,$.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[$.require,$.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[$.require,$.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends q{constructor(E,R,N,$,j){super();this.range=E;this.arrayRange=R;this.functionRange=N;this.objectRange=$;this.namedModule=j;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:R}=E;R(this.range);R(this.arrayRange);R(this.functionRange);R(this.objectRange);R(this.namedModule);R(this.localModule);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.arrayRange=R();this.functionRange=R();this.objectRange=R();this.namedModule=R();this.localModule=R();super.deserialize(E)}}j(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const $=E;const j=this.branch($);const{definition:q,content:ie,requests:ae}=G[j];for(const E of ae){N.add(E)}this.replace($,R,q,ie)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const R=this.localModuleVar(E)?"l":"";const N=E.arrayRange?"a":"";const $=E.objectRange?"o":"";const j=E.functionRange?"f":"";return R+N+$+j}replace(E,R,N,$){const j=this.localModuleVar(E);if(j){$=$.replace(/XXX/g,j.replace(/\$/g,"$$$$"));N=N.replace(/XXX/g,j.replace(/\$/g,"$$$$"))}if(E.namedModule){$=$.replace(/YYY/g,JSON.stringify(E.namedModule))}const q=$.split("#");if(N)R.insert(0,N);let G=E.range[0];if(E.arrayRange){R.replace(G,E.arrayRange[0]-1,q.shift());G=E.arrayRange[1]}if(E.objectRange){R.replace(G,E.objectRange[0]-1,q.shift());G=E.objectRange[1]}else if(E.functionRange){R.replace(G,E.functionRange[0]-1,q.shift());G=E.functionRange[1]}R.replace(G,E.range[1]-1,q.shift());if(q.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,R,N)=>{"use strict";const $=N(76150);const j=N(46960);const q=N(95715);const G=N(38145);const ie=N(29022);const ae=N(66298);const le=N(95601);const _e=N(28140);const Ee=N(14229);const{addLocalModule:we,getLocalModule:Me}=N(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,R,N,$,j){if(N.isArray()){N.items.forEach(((N,q)=>{if(N.isString()&&["require","module","exports"].includes(N.string))$[q]=N.string;const G=this.processItem(E,R,N,j);if(G===undefined){this.processContext(E,R,N)}}));return true}else if(N.isConstArray()){const j=[];N.array.forEach(((N,q)=>{let G;let ie;if(N==="require"){$[q]=N;G="__webpack_require__"}else if(["exports","module"].includes(N)){$[q]=N;G=N}else if(ie=Me(E.state,N)){ie.flagUsed();G=new Ee(ie,undefined,false);G.loc=R.loc;E.state.module.addPresentationalDependency(G)}else{G=this.newRequireItemDependency(N);G.loc=R.loc;G.optional=!!E.scope.inTry;E.state.current.addDependency(G)}j.push(G)}));const q=this.newRequireArrayDependency(j,N.range);q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(q);return true}}processItem(E,R,N,j){if(N.isConditional()){N.options.forEach((N=>{const $=this.processItem(E,R,N);if($===undefined){this.processContext(E,R,N)}}));return true}else if(N.isString()){let q,G;if(N.string==="require"){q=new ae("__webpack_require__",N.range,[$.require])}else if(N.string==="exports"){q=new ae("exports",N.range,[$.exports])}else if(N.string==="module"){q=new ae("module",N.range,[$.module])}else if(G=Me(E.state,N.string,j)){G.flagUsed();q=new Ee(G,N.range,false)}else{q=this.newRequireItemDependency(N.string,N.range);q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true}q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}}processContext(E,R,N){const $=le.create(G,N.range,N,R,this.options,{category:"amd"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}processCallDefine(E,R){let N,$,j,q;switch(R.arguments.length){case 1:if(isCallable(R.arguments[0])){$=R.arguments[0]}else if(R.arguments[0].type==="ObjectExpression"){j=R.arguments[0]}else{j=$=R.arguments[0]}break;case 2:if(R.arguments[0].type==="Literal"){q=R.arguments[0].value;if(isCallable(R.arguments[1])){$=R.arguments[1]}else if(R.arguments[1].type==="ObjectExpression"){j=R.arguments[1]}else{j=$=R.arguments[1]}}else{N=R.arguments[0];if(isCallable(R.arguments[1])){$=R.arguments[1]}else if(R.arguments[1].type==="ObjectExpression"){j=R.arguments[1]}else{j=$=R.arguments[1]}}break;case 3:q=R.arguments[0].value;N=R.arguments[1];if(isCallable(R.arguments[2])){$=R.arguments[2]}else if(R.arguments[2].type==="ObjectExpression"){j=R.arguments[2]}else{j=$=R.arguments[2]}break;default:return}_e.bailout(E.state);let G=null;let ie=0;if($){if(isUnboundFunctionExpression($)){G=$.params}else if(isBoundFunctionExpression($)){G=$.callee.object.params;ie=$.arguments.length-1;if(ie<0){ie=0}}}let ae=new Map;if(N){const $={};const j=E.evaluateExpression(N);const le=this.processArray(E,R,j,$,q);if(!le)return;if(G){G=G.slice(ie).filter(((R,N)=>{if($[N]){ae.set(R.name,E.getVariableInfo($[N]));return false}return true}))}}else{const R=["require","exports","module"];if(G){G=G.slice(ie).filter(((N,$)=>{if(R[$]){ae.set(N.name,E.getVariableInfo(R[$]));return false}return true}))}}let le;if($&&isUnboundFunctionExpression($)){le=E.scope.inTry;E.inScope(G,(()=>{for(const[R,N]of ae){E.setVariable(R,N)}E.scope.inTry=le;if($.body.type==="BlockStatement"){E.detectMode($.body.body);const R=E.prevStatement;E.preWalkStatement($.body);E.prevStatement=R;E.walkStatement($.body)}else{E.walkExpression($.body)}}))}else if($&&isBoundFunctionExpression($)){le=E.scope.inTry;E.inScope($.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[R,N]of ae){E.setVariable(R,N)}E.scope.inTry=le;if($.callee.object.body.type==="BlockStatement"){E.detectMode($.callee.object.body.body);const R=E.prevStatement;E.preWalkStatement($.callee.object.body);E.prevStatement=R;E.walkStatement($.callee.object.body)}else{E.walkExpression($.callee.object.body)}}));if($.arguments){E.walkExpressions($.arguments)}}else if($||j){E.walkExpression($||j)}const Ee=this.newDefineDependency(R.range,N?N.range:null,$?$.range:null,j?j.range:null,q?q:null);Ee.loc=R.loc;if(q){Ee.localModule=we(E.state,q)}E.state.module.addPresentationalDependency(Ee);return true}newDefineDependency(E,R,N,$,q){return new j(E,R,N,$,q)}newRequireArrayDependency(E,R){return new q(E,R)}newRequireItemDependency(E,R){return new ie(E,R)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,R,N)=>{"use strict";const $=N(76150);const{approve:j,evaluateToIdentifier:q,evaluateToString:G,toConstantDependency:ie}=N(48472);const ae=N(46960);const le=N(98915);const _e=N(95715);const Ee=N(38145);const we=N(19041);const Me=N(45167);const Ie=N(29022);const{AMDDefineRuntimeModule:Te,AMDOptionsRuntimeModule:Ne}=N(29035);const Be=N(66298);const Le=N(14229);const je=N(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const R=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:N,normalModuleFactory:ze})=>{E.dependencyTemplates.set(Me,new Me.Template);E.dependencyFactories.set(Ie,ze);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,N);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(je,new je.Template);E.dependencyTemplates.set(Le,new Le.Template);E.hooks.runtimeRequirementInModule.for($.amdDefine).tap("AMDPlugin",((E,R)=>{R.add($.require)}));E.hooks.runtimeRequirementInModule.for($.amdOptions).tap("AMDPlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.amdDefine).tap("AMDPlugin",((R,N)=>{E.addRuntimeModule(R,new Te)}));E.hooks.runtimeRequirementInTree.for($.amdOptions).tap("AMDPlugin",((N,$)=>{E.addRuntimeModule(N,new Ne(R))}));const handler=(E,R)=>{if(R.amd!==undefined&&!R.amd)return;const tapOptionsHooks=(R,N,j)=>{E.hooks.expression.for(R).tap("AMDPlugin",ie(E,$.amdOptions,[$.amdOptions]));E.hooks.evaluateIdentifier.for(R).tap("AMDPlugin",q(R,N,j,true));E.hooks.evaluateTypeof.for(R).tap("AMDPlugin",G("object"));E.hooks.typeof.for(R).tap("AMDPlugin",ie(E,JSON.stringify("object")))};new we(R).apply(E);new le(R).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(R=>{const N=new Be($.amdDefine,R.range,[$.amdDefine]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",G("function"));E.hooks.canRename.for("define").tap("AMDPlugin",j);E.hooks.rename.for("define").tap("AMDPlugin",(R=>{const N=new Be($.amdDefine,R.range,[$.amdDefine]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",G("function"))};ze.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);ze.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,R,N)=>{"use strict";const $=N(84304);const j=N(56202);const q=N(12197);class AMDRequireArrayDependency extends q{constructor(E,R){super();this.depsArray=E;this.range=R}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.depsArray);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.depsArray=R();this.range=R();super.deserialize(E)}}j(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends ${apply(E,R,N){const $=E;const j=this.getContent($,N);R.replace($.range[0],$.range[1]-1,j)}getContent(E,R){const N=E.depsArray.map((E=>this.contentForDependency(E,R)));return`[${N.join(", ")}]`}contentForDependency(E,{runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtimeRequirements:j}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return R.moduleExports({module:N.getModule(E),chunkGraph:$,request:E.request,runtimeRequirements:j})}}};E.exports=AMDRequireArrayDependency},38145:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);class AMDRequireContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=N(42740);E.exports=AMDRequireContextDependency},83842:(E,R,N)=>{"use strict";const $=N(98221);const j=N(56202);class AMDRequireDependenciesBlock extends ${constructor(E,R){super(null,E,R)}}j(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,R,N)=>{"use strict";const $=N(76150);const j=N(53558);const q=N(95715);const G=N(38145);const ie=N(83842);const ae=N(45167);const le=N(29022);const _e=N(66298);const Ee=N(95601);const we=N(14229);const{getLocalModule:Me}=N(61701);const Ie=N(12584);const Te=N(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,R){let N=true;const $=Te(R);if($){E.inScope($.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if($.fn.body.type==="BlockStatement"){E.walkStatement($.fn.body)}else{E.walkExpression($.fn.body)}}));E.walkExpressions($.expressions);if($.needThis===false){N=false}}else{E.walkExpression(R)}return N}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,R,N){if(N.isArray()){for(const $ of N.items){const N=this.processItem(E,R,$);if(N===undefined){this.processContext(E,R,$)}}return true}else if(N.isConstArray()){const $=[];for(const j of N.array){let N,q;if(j==="require"){N="__webpack_require__"}else if(["exports","module"].includes(j)){N=j}else if(q=Me(E.state,j)){q.flagUsed();N=new we(q,undefined,false);N.loc=R.loc;E.state.module.addPresentationalDependency(N)}else{N=this.newRequireItemDependency(j);N.loc=R.loc;N.optional=!!E.scope.inTry;E.state.current.addDependency(N)}$.push(N)}const j=this.newRequireArrayDependency($,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(j);return true}}processItem(E,R,N){if(N.isConditional()){for(const $ of N.options){const N=this.processItem(E,R,$);if(N===undefined){this.processContext(E,R,$)}}return true}else if(N.isString()){let j,q;if(N.string==="require"){j=new _e("__webpack_require__",N.string,[$.require])}else if(N.string==="module"){j=new _e(E.state.module.buildInfo.moduleArgument,N.range,[$.module])}else if(N.string==="exports"){j=new _e(E.state.module.buildInfo.exportsArgument,N.range,[$.exports])}else if(q=Me(E.state,N.string)){q.flagUsed();j=new we(q,N.range,false)}else{j=this.newRequireItemDependency(N.string,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}j.loc=R.loc;E.state.module.addPresentationalDependency(j);return true}}processContext(E,R,N){const $=Ee.create(G,N.range,N,R,this.options,{category:"amd"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}processArrayForRequestString(E){if(E.isArray()){const R=E.items.map((E=>this.processItemForRequestString(E)));if(R.every(Boolean))return R.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const R=E.options.map((E=>this.processItemForRequestString(E)));if(R.every(Boolean))return R.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,R){let N;let $;let q;let G;const ie=E.state.current;if(R.arguments.length>=1){N=E.evaluateExpression(R.arguments[0]);$=this.newRequireDependenciesBlock(R.loc,this.processArrayForRequestString(N));q=this.newRequireDependency(R.range,N.range,R.arguments.length>1?R.arguments[1].range:null,R.arguments.length>2?R.arguments[2].range:null);q.loc=R.loc;$.addDependency(q);E.state.current=$}if(R.arguments.length===1){E.inScope([],(()=>{G=this.processArray(E,R,N)}));E.state.current=ie;if(!G)return;E.state.current.addBlock($);return true}if(R.arguments.length===2||R.arguments.length===3){try{E.inScope([],(()=>{G=this.processArray(E,R,N)}));if(!G){const N=new Ie("unsupported",R.range);ie.addPresentationalDependency(N);if(E.state.module){E.state.module.addError(new j("Cannot statically analyse 'require(…, …)' in line "+R.loc.start.line,R.loc))}$=null;return true}q.functionBindThis=this.processFunctionArgument(E,R.arguments[1]);if(R.arguments.length===3){q.errorCallbackBindThis=this.processFunctionArgument(E,R.arguments[2])}}finally{E.state.current=ie;if($)E.state.current.addBlock($)}return true}}newRequireDependenciesBlock(E,R){return new ie(E,R)}newRequireDependency(E,R,N,$){return new ae(E,R,N,$)}newRequireItemDependency(E,R){return new le(E,R)}newRequireArrayDependency(E,R){return new q(E,R)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class AMDRequireDependency extends q{constructor(E,R,N,$){super();this.outerRange=E;this.arrayRange=R;this.functionRange=N;this.errorCallbackRange=$;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.outerRange);R(this.arrayRange);R(this.functionRange);R(this.errorCallbackRange);R(this.functionBindThis);R(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:R}=E;this.outerRange=R();this.arrayRange=R();this.functionRange=R();this.errorCallbackRange=R();this.functionBindThis=R();this.errorCallbackBindThis=R();super.deserialize(E)}}j(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.blockPromise({chunkGraph:q,block:ae,message:"AMD require",runtimeRequirements:G});if(ie.arrayRange&&!ie.functionRange){const E=`${le}.then(function() {`;const N=`;})['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.replace(ie.arrayRange[1],ie.outerRange[1]-1,N);return}if(ie.functionRange&&!ie.arrayRange){const E=`${le}.then((`;const N=`).bind(exports, __webpack_require__, exports, module))['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.functionRange[0]-1,E);R.replace(ie.functionRange[1],ie.outerRange[1]-1,N);return}if(ie.arrayRange&&ie.functionRange&&ie.errorCallbackRange){const E=`${le}.then(function() { `;const N=`}${ie.functionBindThis?".bind(this)":""})['catch'](`;const $=`${ie.errorCallbackBindThis?".bind(this)":""})`;R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");R.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");R.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");R.replace(ie.functionRange[1],ie.errorCallbackRange[0]-1,N);R.replace(ie.errorCallbackRange[1],ie.outerRange[1]-1,$);return}if(ie.arrayRange&&ie.functionRange){const E=`${le}.then(function() { `;const N=`}${ie.functionBindThis?".bind(this)":""})['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");R.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");R.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");R.replace(ie.functionRange[1],ie.outerRange[1]-1,N)}}};E.exports=AMDRequireDependency},29022:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(87283);class AMDRequireItemDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"amd require"}get category(){return"amd"}}$(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=q;E.exports=AMDRequireItemDependency},29035:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class AMDDefineRuntimeModule extends j{constructor(){super("amd define")}generate(){return q.asString([`${$.amdDefine} = function () {`,q.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends j{constructor(E){super("amd options");this.options=E}generate(){return q.asString([`${$.amdOptions} = ${JSON.stringify(this.options)};`])}}R.AMDDefineRuntimeModule=AMDDefineRuntimeModule;R.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,R,N)=>{"use strict";const $=N(84304);const j=N(63272);const q=N(56202);const G=N(12197);class CachedConstDependency extends G{constructor(E,R,N){super();this.expression=E;this.range=R;this.identifier=N;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.expression);R(this.range);R(this.identifier);super.serialize(E)}deserialize(E){const{read:R}=E;this.expression=R();this.range=R();this.identifier=R();super.deserialize(E)}}q(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends ${apply(E,R,{runtimeTemplate:N,dependencyTemplates:$,initFragments:q}){const G=E;q.push(new j(`var ${G.identifier} = ${G.expression};\n`,j.STAGE_CONSTANTS,0,`const ${G.identifier}`));if(typeof G.range==="number"){R.insert(G.range,G.identifier);return}R.replace(G.range[0],G.range[1]-1,G.identifier)}};E.exports=CachedConstDependency},73456:(E,R,N)=>{"use strict";const $=N(76150);R.handleDependencyBase=(E,R,N)=>{let j=undefined;let q;switch(E){case"exports":N.add($.exports);j=R.exportsArgument;q="expression";break;case"module.exports":N.add($.module);j=`${R.moduleArgument}.exports`;q="expression";break;case"this":N.add($.thisAsExports);j="this";q="expression";break;case"Object.defineProperty(exports)":N.add($.exports);j=R.exportsArgument;q="Object.defineProperty";break;case"Object.defineProperty(module.exports)":N.add($.module);j=`${R.moduleArgument}.exports`;q="Object.defineProperty";break;case"Object.defineProperty(this)":N.add($.thisAsExports);j="this";q="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[q,j]}},1248:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(58159);const{equals:G}=N(73910);const ie=N(56202);const ae=N(68038);const{handleDependencyBase:le}=N(73456);const _e=N(79983);const Ee=N(18971);const we=Symbol("CommonJsExportRequireDependency.ids");const Me={};class CommonJsExportRequireDependency extends _e{constructor(E,R,N,$,j,q,G){super(j);this.range=E;this.valueRange=R;this.base=N;this.names=$;this.ids=q;this.resultUsed=G;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return $.TRANSITIVE}getIds(E){return E.getMeta(this)[we]||this.ids}setIds(E,R){E.getMeta(this)[we]=R}getReferencedExports(E,R){const N=this.getIds(E);const getFullResult=()=>{if(N.length===0){return $.EXPORTS_OBJECT_REFERENCED}else{return[{name:N,canMangle:false}]}};if(this.resultUsed)return getFullResult();let q=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const N=q.getReadOnlyExportInfo(E);const G=N.getUsed(R);if(G===j.Unused)return $.NO_EXPORTS_REFERENCED;if(G!==j.OnlyPropertiesUsed)return getFullResult();q=N.exportsInfo;if(!q)return getFullResult()}if(q.otherExportsInfo.getUsed(R)!==j.Unused){return getFullResult()}const G=[];for(const E of q.orderedExports){Ee(R,G,N.concat(E.name),E,false)}return G.map((E=>({name:E,canMangle:false})))}getExports(E){const R=this.getIds(E);if(this.names.length===1){const N=this.names[0];const $=E.getConnection(this);if(!$)return;return{exports:[{name:N,from:$,export:R.length===0?null:R,canMangle:!(N in Me)&&false}],dependencies:[$.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Me)&&false}],dependencies:undefined}}else{const N=E.getConnection(this);if(!N)return;const $=this.getStarReexports(E,undefined,N.module);if($){return{exports:Array.from($.exports,(E=>({name:E,from:N,export:R.concat(E),canMangle:!(E in Me)&&false}))),dependencies:[N.module]}}else{return{exports:true,from:R.length===0?N:undefined,canMangle:false,dependencies:[N.module]}}}}getStarReexports(E,R,N=E.getModule(this)){let $=E.getExportsInfo(N);const q=this.getIds(E);if(q.length>0)$=$.getNestedExportsInfo(q);let G=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)G=G.getNestedExportsInfo(this.names);const ie=$&&$.otherExportsInfo.provided===false;const ae=G&&G.otherExportsInfo.getUsed(R)===j.Unused;if(!ie&&!ae){return}const le=N.getExportsType(E,false)==="namespace";const _e=new Set;const Ee=new Set;if(ae){for(const E of G.orderedExports){const N=E.name;if(E.getUsed(R)===j.Unused)continue;if(N==="__esModule"&&le){_e.add(N)}else if($){const E=$.getReadOnlyExportInfo(N);if(E.provided===false)continue;_e.add(N);if(E.provided===true)continue;Ee.add(N)}else{_e.add(N);Ee.add(N)}}}else if(ie){for(const E of $.orderedExports){const N=E.name;if(E.provided===false)continue;if(G){const E=G.getReadOnlyExportInfo(N);if(E.getUsed(R)===j.Unused)continue}_e.add(N);if(E.provided===true)continue;Ee.add(N)}if(le){_e.add("__esModule");Ee.delete("__esModule")}}return{exports:_e,checked:Ee}}serialize(E){const{write:R}=E;R(this.asiSafe);R(this.range);R(this.valueRange);R(this.base);R(this.names);R(this.ids);R(this.resultUsed);super.serialize(E)}deserialize(E){const{read:R}=E;this.asiSafe=R();this.range=R();this.valueRange=R();this.base=R();this.names=R();this.ids=R();this.resultUsed=R();super.deserialize(E)}}ie(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends _e.Template{apply(E,R,{module:N,runtimeTemplate:$,chunkGraph:j,moduleGraph:ie,runtimeRequirements:_e,runtime:Ee}){const we=E;const Me=ie.getExportsInfo(N).getUsedName(we.names,Ee);const[Ie,Te]=le(we.base,N,_e);const Ne=ie.getModule(we);let Be=$.moduleExports({module:Ne,chunkGraph:j,request:we.request,weak:we.weak,runtimeRequirements:_e});if(Ne){const E=we.getIds(ie);const R=ie.getExportsInfo(Ne).getUsedName(E,Ee);if(R){const N=G(R,E)?"":q.toNormalComment(ae(E))+" ";Be+=`${N}${ae(R)}`}}switch(Ie){case"expression":R.replace(we.range[0],we.range[1]-1,Me?`${Te}${ae(Me)} = ${Be}`:`/* unused reexport */ ${Be}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,R,N)=>{"use strict";const $=N(63272);const j=N(56202);const q=N(68038);const{handleDependencyBase:G}=N(73456);const ie=N(12197);const ae={};class CommonJsExportsDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.valueRange=R;this.base=N;this.names=$}get type(){return"cjs exports"}getExports(E){const R=this.names[0];return{exports:[{name:R,canMangle:!(R in ae)}],dependencies:undefined}}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);R(this.base);R(this.names);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();this.base=R();this.names=R();super.deserialize(E)}}j(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:j,initFragments:ie,runtimeRequirements:ae,runtime:le}){const _e=E;const Ee=j.getExportsInfo(N).getUsedName(_e.names,le);const[we,Me]=G(_e.base,N,ae);switch(we){case"expression":if(!Ee){ie.push(new $("var __webpack_unused_export__;\n",$.STAGE_CONSTANTS,0,"__webpack_unused_export__"));R.replace(_e.range[0],_e.range[1]-1,"__webpack_unused_export__");return}R.replace(_e.range[0],_e.range[1]-1,`${Me}${q(Ee)}`);return;case"Object.defineProperty":if(!Ee){ie.push(new $("var __webpack_unused_export__;\n",$.STAGE_CONSTANTS,0,"__webpack_unused_export__"));R.replace(_e.range[0],_e.valueRange[0]-1,"__webpack_unused_export__ = (");R.replace(_e.valueRange[1],_e.range[1]-1,")");return}R.replace(_e.range[0],_e.valueRange[0]-1,`Object.defineProperty(${Me}${q(Ee.slice(0,-1))}, ${JSON.stringify(Ee[Ee.length-1])}, (`);R.replace(_e.valueRange[1],_e.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,R,N)=>{"use strict";const $=N(76150);const j=N(72380);const{evaluateToString:q}=N(48472);const G=N(68038);const ie=N(1248);const ae=N(26702);const le=N(94147);const _e=N(28140);const Ee=N(25702);const we=N(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const R of E.properties){if(R.computed)continue;const E=R.key;if(E.type!=="Identifier"||E.name!=="value")continue;return R.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,R)=>{const N=[];while(R.type==="MemberExpression"){if(R.object.type==="Super")return;if(!R.property)return;const E=R.property;if(R.computed){if(E.type!=="Literal")return;N.push(`${E.value}`)}else{if(E.type!=="Identifier")return;N.push(E.name)}R=R.object}if(R.type!=="CallExpression"||R.arguments.length!==1)return;const $=R.callee;if($.type!=="Identifier"||E.getVariableInfo($.name)!=="require"){return}const j=R.arguments[0];if(j.type==="SpreadElement")return;const q=E.evaluateExpression(j);return{argument:q,ids:N.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{_e.enable(E.state)};const checkNamespace=(R,N,$)=>{if(!_e.isEnabled(E.state))return;if(N.length>0&&N[0]==="__esModule"){if($&&isTruthyLiteral($)&&R){_e.setFlagged(E.state)}else{_e.setDynamic(E.state)}}};const bailout=R=>{_e.bailout(E.state);if(R)bailoutHint(R)};const bailoutHint=R=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${R}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",q("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",q("object"));const handleAssignExport=(R,N,$)=>{if(Ee.isEnabled(E.state))return;const j=parseRequireCall(E,R.right);if(j&&j.argument.isString()&&($.length===0||$[0]!=="__esModule")){enableStructuredExports();if($.length===0)_e.setDynamic(E.state);const q=new ie(R.range,null,N,$,j.argument.string,j.ids,!E.isStatementLevelExpression(R));q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.module.addDependency(q);return true}if($.length===0)return;enableStructuredExports();const q=$;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(R),q,R.right);const G=new ae(R.left.range,null,N,q);G.loc=R.loc;E.state.module.addDependency(G);E.walkExpression(R.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAssignExport(E,"exports",R)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(R,"this",N)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAssignExport(E,"module.exports",R.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(R=>{const N=R;if(!E.isStatementLevelExpression(N))return;if(N.arguments.length!==3)return;if(N.arguments[0].type==="SpreadElement")return;if(N.arguments[1].type==="SpreadElement")return;if(N.arguments[2].type==="SpreadElement")return;const $=E.evaluateExpression(N.arguments[0]);if(!$||!$.isIdentifier())return;if($.identifier!=="exports"&&$.identifier!=="module.exports"&&($.identifier!=="this"||!E.scope.topLevelScope)){return}const j=E.evaluateExpression(N.arguments[1]);if(!j)return;const q=j.asString();if(typeof q!=="string")return;enableStructuredExports();const G=N.arguments[2];checkNamespace(E.statementPath.length===1,[q],getValueOfPropertyDescription(G));const ie=new ae(N.range,N.arguments[2].range,`Object.defineProperty(${$.identifier})`,[q]);ie.loc=N.loc;E.state.module.addDependency(ie);E.walkExpression(N.arguments[2]);return true}));const handleAccessExport=(R,N,$,q=undefined)=>{if(Ee.isEnabled(E.state))return;if($.length===0){bailout(`${N} is used directly at ${j(R.loc)}`)}if(q&&$.length===1){bailoutHint(`${N}${G($)}(...) prevents optimization as ${N} is passed as call context at ${j(R.loc)}`)}const ie=new le(R.range,N,$,!!q);ie.loc=R.loc;E.state.module.addDependency(ie);if(q){E.walkExpressions(q.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAccessExport(E.callee,"exports",R,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAccessExport(E,"exports",R)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",R.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAccessExport(E,"module.exports",R.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R.callee,"this",N,R)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R,"this",N)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(R=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(R=>{bailout();const N=Ee.isEnabled(E.state);const j=new we(N?$.harmonyModuleDecorator:$.nodeModuleDecorator,!N);j.loc=R.loc;E.state.module.addDependency(j);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,R,N)=>{"use strict";const $=N(58159);const{equals:j}=N(73910);const q=N(56202);const G=N(68038);const ie=N(79983);class CommonJsFullRequireDependency extends ie{constructor(E,R,N){super(E);this.range=R;this.names=N;this.call=false;this.asiSafe=undefined}getReferencedExports(E,R){if(this.call){const R=E.getModule(this);if(!R||R.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:R}=E;R(this.names);R(this.call);R(this.asiSafe);super.serialize(E)}deserialize(E){const{read:R}=E;this.names=R();this.call=R();this.asiSafe=R();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ie.Template{apply(E,R,{module:N,runtimeTemplate:q,moduleGraph:ie,chunkGraph:ae,runtimeRequirements:le,runtime:_e,initFragments:Ee}){const we=E;if(!we.range)return;const Me=ie.getModule(we);let Ie=q.moduleExports({module:Me,chunkGraph:ae,request:we.request,weak:we.weak,runtimeRequirements:le});if(Me){const E=we.names;const R=ie.getExportsInfo(Me).getUsedName(E,_e);if(R){const N=j(R,E)?"":$.toNormalComment(G(E))+" ";const q=`${N}${G(R)}`;Ie=we.asiSafe===true?`(${Ie}${q})`:`${Ie}${q}`}}R.replace(we.range[0],we.range[1]-1,Ie)}};q(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,R,N)=>{"use strict";const $=N(47207);const j=N(76150);const q=N(53558);const{evaluateToIdentifier:G,evaluateToString:ie,expressionIsUnsupported:ae,toConstantDependency:le}=N(48472);const _e=N(87519);const Ee=N(51454);const we=N(37313);const Me=N(66298);const Ie=N(95601);const Te=N(14229);const{getLocalModule:Ne}=N(61701);const Be=N(70340);const Le=N(84817);const je=N(76913);const ze=N(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const R=this.options;const tapRequireExpression=(R,N)=>{E.hooks.typeof.for(R).tap("CommonJsPlugin",le(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(R).tap("CommonJsPlugin",ie("function"));E.hooks.evaluateIdentifier.for(R).tap("CommonJsPlugin",G(R,"require",N,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(R=>{const N=new Me("var require;",0);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(R=>{const N=new Me("undefined",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",le(E,j.moduleCache,[j.moduleCache,j.moduleId,j.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(N=>{const $=new Ee({request:R.unknownContextRequest,recursive:R.unknownContextRecursive,regExp:R.unknownContextRegExp,mode:"sync"},N.range,undefined,E.scope.inShorthand);$.critical=R.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}));const processRequireItem=(R,N)=>{if(N.isString()){const $=new we(N.string,N.range);$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}};const processRequireContext=(N,$)=>{const j=Ie.create(Ee,N.range,$,N,R,{category:"commonjs"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true};const createRequireHandler=N=>j=>{if(R.commonjsMagicComments){const{options:R,errors:N}=E.parseCommentOptions(j.range);if(N){for(const R of N){const{comment:N}=R;E.state.module.addWarning(new $(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${R.message}`,N.loc))}}if(R){if(R.webpackIgnore!==undefined){if(typeof R.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${R.webpackIgnore}.`,j.loc))}else{if(R.webpackIgnore){return true}}}}}if(j.arguments.length!==1)return;let G;const ie=E.evaluateExpression(j.arguments[0]);if(ie.isConditional()){let R=false;for(const E of ie.options){const N=processRequireItem(j,E);if(N===undefined){R=true}}if(!R){const R=new Be(j.callee.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R);return true}}if(ie.isString()&&(G=Ne(E.state,ie.string))){G.flagUsed();const R=new Te(G,j.range,N);R.loc=j.loc;E.state.module.addPresentationalDependency(R);return true}else{const R=processRequireItem(j,ie);if(R===undefined){processRequireContext(j,ie)}else{const R=new Be(j.callee.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(R,N,$,j)=>{if($.arguments.length!==1)return;const q=E.evaluateExpression($.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const N=new _e(q.string,R.range,j);N.asiSafe=!E.isAsiPosition(R.range[0]);N.optional=!!E.scope.inTry;N.loc=R.loc;E.state.module.addDependency(N);return true}};const callChainHandler=(R,N,$,j)=>{if($.arguments.length!==1)return;const q=E.evaluateExpression($.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const N=new _e(q.string,R.callee.range,j);N.call=true;N.asiSafe=!E.isAsiPosition(R.range[0]);N.optional=!!E.scope.inTry;N.loc=R.callee.loc;E.state.module.addDependency(N);E.walkExpressions(R.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(R,N)=>{if(R.arguments.length!==1)return;const $=E.evaluateExpression(R.arguments[0]);if($.isConditional()){for(const E of $.options){const $=processResolveItem(R,E,N);if($===undefined){processResolveContext(R,E,N)}}const j=new ze(R.callee.range);j.loc=R.loc;E.state.module.addPresentationalDependency(j);return true}else{const j=processResolveItem(R,$,N);if(j===undefined){processResolveContext(R,$,N)}const q=new ze(R.callee.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}};const processResolveItem=(R,N,$)=>{if(N.isString()){const j=new je(N.string,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;j.weak=$;E.state.current.addDependency(j);return true}};const processResolveContext=(N,$,j)=>{const q=Ie.create(Le,$.range,$,N,R,{category:"commonjs",mode:j?"weak":"sync"},E);if(!q)return;q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(31141);const G=N(58159);const ie=N(26702);const ae=N(87519);const le=N(51454);const _e=N(37313);const Ee=N(94147);const we=N(2706);const Me=N(70340);const Ie=N(84817);const Te=N(76913);const Ne=N(23380);const Be=N(35424);const Le=N(48235);const je=N(42218);const{evaluateToIdentifier:ze,toConstantDependency:Ue}=N(48472);const qe=N(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:R,normalModuleFactory:N})=>{E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(ae,N);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(le,R);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(Te,N);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(Ne,new Ne.Template);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(qe,N);E.dependencyTemplates.set(qe,new qe.Template);const j=new q(E.moduleGraph);E.dependencyFactories.set(Ee,j);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyFactories.set(we,j);E.dependencyTemplates.set(we,new we.Template);E.hooks.runtimeRequirementInModule.for($.harmonyModuleDecorator).tap("CommonJsPlugin",((E,R)=>{R.add($.module);R.add($.requireScope)}));E.hooks.runtimeRequirementInModule.for($.nodeModuleDecorator).tap("CommonJsPlugin",((E,R)=>{R.add($.module);R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.harmonyModuleDecorator).tap("CommonJsPlugin",((R,N)=>{E.addRuntimeModule(R,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for($.nodeModuleDecorator).tap("CommonJsPlugin",((R,N)=>{E.addRuntimeModule(R,new NodeModuleDecoratorRuntimeModule)}));const handler=(R,N)=>{if(N.commonjs!==undefined&&!N.commonjs)return;R.hooks.typeof.for("module").tap("CommonJsPlugin",Ue(R,JSON.stringify("object")));R.hooks.expression.for("require.main").tap("CommonJsPlugin",Ue(R,`${$.moduleCache}[${$.entryModuleId}]`,[$.moduleCache,$.entryModuleId]));R.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{R.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const N=new Be([$.moduleLoaded]);N.loc=E.loc;R.state.module.addPresentationalDependency(N);return true}));R.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{R.state.module.buildInfo.moduleConcatenationBailout="module.id";const N=new Be([$.moduleId]);N.loc=E.loc;R.state.module.addPresentationalDependency(N);return true}));R.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",ze("module.hot","module",(()=>["hot"]),null));new je(N).apply(R);new Le(E.moduleGraph).apply(R)};N.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends j{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${$.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",G.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends j{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${$.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(42740);class CommonJsRequireContextDependency extends j{constructor(E,R,N,$){super(E);this.range=R;this.valueRange=N;this.inShorthand=$}get type(){return"cjs require context"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);R(this.inShorthand);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();this.inShorthand=R();super.deserialize(E)}}$(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=q;E.exports=CommonJsRequireContextDependency},37313:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class CommonJsRequireDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=q;$(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,R,N)=>{"use strict";const $=N(76150);const{equals:j}=N(73910);const q=N(56202);const G=N(68038);const ie=N(12197);class CommonJsSelfReferenceDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.base=R;this.names=N;this.call=$}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,R){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:R}=E;R(this.range);R(this.base);R(this.names);R(this.call);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.base=R();this.names=R();this.call=R();super.deserialize(E)}}q(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:q,runtime:ie,runtimeRequirements:ae}){const le=E;let _e;if(le.names.length===0){_e=le.names}else{_e=q.getExportsInfo(N).getUsedName(le.names,ie)}if(!_e){throw new Error("Self-reference dependency has unused export name: This should not happen")}let Ee=undefined;switch(le.base){case"exports":ae.add($.exports);Ee=N.exportsArgument;break;case"module.exports":ae.add($.module);Ee=`${N.moduleArgument}.exports`;break;case"this":ae.add($.thisAsExports);Ee="this";break;default:throw new Error(`Unsupported base ${le.base}`)}if(Ee===le.base&&j(_e,le.names)){return}R.replace(le.range[0],le.range[1]-1,`${Ee}${G(_e)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class ConstDependency extends j{constructor(E,R,N){super();this.expression=E;this.range=R;this.runtimeRequirements=N?new Set(N):null;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){let E=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const R of this.runtimeRequirements){E+="|";E+=R}}this._hashUpdate=E}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.expression);R(this.range);R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.expression=R();this.range=R();this.runtimeRequirements=R();super.deserialize(E)}}$(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends j.Template{apply(E,R,N){const $=E;if($.runtimeRequirements){for(const E of $.runtimeRequirements){N.runtimeRequirements.add(E)}}if(typeof $.range==="number"){R.insert($.range,$.expression);return}R.replace($.range[0],$.range[1]-1,$.expression)}};E.exports=ConstDependency},400:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);const q=N(56202);const G=N(91671);const ie=G((()=>N(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends ${constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.inShorthand=undefined;this.replaces=undefined}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let R=super.getWarnings(E);if(this.critical){if(!R)R=[];const E=ie();R.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!R)R=[];const E=ie();R.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return R}serialize(E){const{write:R}=E;R(this.options);R(this.userRequest);R(this.critical);R(this.hadGlobalOrStickyRegExp);R(this.request);R(this.range);R(this.valueRange);R(this.prepend);R(this.replaces);super.serialize(E)}deserialize(E){const{read:R}=E;this.options=R();this.userRequest=R();this.critical=R();this.hadGlobalOrStickyRegExp=R();this.request=R();this.range=R();this.valueRange=R();this.prepend=R();this.replaces=R();super.deserialize(E)}}q(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=j;E.exports=ContextDependency},95601:(E,R,N)=>{"use strict";const{parseResource:$}=N(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const R=E.lastIndexOf("/");let N=".";if(R>=0){N=E.substr(0,R);E=`.${E.substr(R)}`}return{context:N,prefix:E}};R.create=(E,R,N,j,q,G,ie)=>{if(N.isTemplateString()){let ae=N.quasis[0].string;let le=N.quasis.length>1?N.quasis[N.quasis.length-1].string:"";const _e=N.range;const{context:Ee,prefix:we}=splitContextFromPrefix(ae);const{path:Me,query:Ie,fragment:Te}=$(le,ie);const Ne=N.quasis.slice(1,N.quasis.length-1);const Be=q.wrappedContextRegExp.source+Ne.map((E=>quoteMeta(E.string)+q.wrappedContextRegExp.source)).join("");const Le=new RegExp(`^${quoteMeta(we)}${Be}${quoteMeta(Me)}$`);const je=new E({request:Ee+Ie+Te,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},R,_e);je.loc=j.loc;const ze=[];N.parts.forEach(((E,R)=>{if(R%2===0){let $=E.range;let j=E.string;if(N.templateStringKind==="cooked"){j=JSON.stringify(j);j=j.slice(1,j.length-1)}if(R===0){j=we;$=[N.range[0],E.range[1]];j=(N.templateStringKind==="cooked"?"`":"String.raw`")+j}else if(R===N.parts.length-1){j=Me;$=[E.range[0],N.range[1]];j=j+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===j){return}ze.push({range:$,value:j})}else{ie.walkExpression(E.expression)}}));je.replaces=ze;je.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";return je}else if(N.isWrapped()&&(N.prefix&&N.prefix.isString()||N.postfix&&N.postfix.isString())){let ae=N.prefix&&N.prefix.isString()?N.prefix.string:"";let le=N.postfix&&N.postfix.isString()?N.postfix.string:"";const _e=N.prefix&&N.prefix.isString()?N.prefix.range:null;const Ee=N.postfix&&N.postfix.isString()?N.postfix.range:null;const we=N.range;const{context:Me,prefix:Ie}=splitContextFromPrefix(ae);const{path:Te,query:Ne,fragment:Be}=$(le,ie);const Le=new RegExp(`^${quoteMeta(Ie)}${q.wrappedContextRegExp.source}${quoteMeta(Te)}$`);const je=new E({request:Me+Ne+Be,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},R,we);je.loc=j.loc;const ze=[];if(_e){ze.push({range:_e,value:JSON.stringify(Ie)})}if(Ee){ze.push({range:Ee,value:JSON.stringify(Te)})}je.replaces=ze;je.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ie&&N.wrappedInnerExpressions){for(const E of N.wrappedInnerExpressions){if(E.expression)ie.walkExpression(E.expression)}}return je}else{const $=new E({request:q.exprContextRequest,recursive:q.exprContextRecursive,regExp:q.exprContextRegExp,mode:"sync",...G},R,N.range);$.loc=j.loc;$.critical=q.exprContextCritical&&"the request of a dependency is an expression";ie.walkExpression(N.expression);return $}}},94148:(E,R,N)=>{"use strict";const $=N(400);class ContextDependencyTemplateAsId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;const ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,weak:G.weak,runtimeRequirements:q});if($.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const $=N(400);class ContextDependencyTemplateAsRequireCall extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;let ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,runtimeRequirements:q});if(G.inShorthand){ie=`${G.inShorthand}: ${ie}`}if($.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class ContextElementDependency extends q{constructor(E,R,N,$,j){super(E);this.referencedExports=j;this._typePrefix=N;this._category=$;if(R){this.userRequest=R}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,R){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):$.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}j(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class CreateScriptUrlDependency extends q{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const j=E;N.add($.createScriptUrl);R.insert(j.range[0],`${$.createScriptUrl}(`);R.insert(j.range[1],")")}};j(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class CriticalDependencyWarning extends ${constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}j(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);class DelegatedSourceDependency extends j{constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}$(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class DllEntryDependency extends ${constructor(E,R){super();this.dependencies=E;this.name=R}get type(){return"dll entry"}serialize(E){const{write:R}=E;R(this.dependencies);R(this.name);super.serialize(E)}deserialize(E){const{read:R}=E;this.dependencies=R();this.name=R();super.deserialize(E)}}j(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,R)=>{"use strict";const N=new WeakMap;R.bailout=E=>{const R=N.get(E);N.set(E,false);if(R===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};R.enable=E=>{const R=N.get(E);if(R===false)return;N.set(E,true);if(R!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};R.setFlagged=E=>{const R=N.get(E);if(R!==true)return;const $=E.module.buildMeta;if($.exportsType==="dynamic")return;$.exportsType="flagged"};R.setDynamic=E=>{const R=N.get(E);if(R!==true)return;E.module.buildMeta.exportsType="dynamic"};R.isEnabled=E=>{const R=N.get(E);return R===true}},66583:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);class EntryDependency extends j{constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}$(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(56202);const q=N(12197);const getProperty=(E,R,N,j,q)=>{if(!N){switch(j){case"usedExports":{const N=E.getExportsInfo(R).getUsedExports(q);if(typeof N==="boolean"||N===undefined||N===null){return N}return Array.from(N).sort()}}}switch(j){case"used":return E.getExportsInfo(R).getUsed(N,q)!==$.Unused;case"useInfo":{const j=E.getExportsInfo(R).getUsed(N,q);switch(j){case $.Used:case $.OnlyPropertiesUsed:return true;case $.Unused:return false;case $.NoInfo:return undefined;case $.Unknown:return null;default:throw new Error(`Unexpected UsageState ${j}`)}}case"provideInfo":return E.getExportsInfo(R).isExportProvided(N)}return undefined};class ExportsInfoDependency extends q{constructor(E,R,N){super();this.range=E;this.exportName=R;this.property=N}serialize(E){const{write:R}=E;R(this.range);R(this.exportName);R(this.property);super.serialize(E)}static deserialize(E){const R=new ExportsInfoDependency(E.read(),E.read(),E.read());R.deserialize(E);return R}}j(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends q.Template{apply(E,R,{module:N,moduleGraph:$,runtime:j}){const q=E;const G=getProperty($,N,q.exportName,q.property,j);R.replace(q.range[0],q.range[1]-1,G===undefined?"undefined":JSON.stringify(G))}};E.exports=ExportsInfoDependency},27790:(E,R,N)=>{"use strict";const $=N(58159);const j=N(56202);const q=N(37359);const G=N(12197);class HarmonyAcceptDependency extends G{constructor(E,R,N){super();this.range=E;this.dependencies=R;this.hasCallback=N}get type(){return"accepted harmony modules"}serialize(E){const{write:R}=E;R(this.range);R(this.dependencies);R(this.hasCallback);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.dependencies=R();this.hasCallback=R();super.deserialize(E)}}j(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends G.Template{apply(E,R,N){const j=E;const{module:G,runtime:ie,runtimeRequirements:ae,runtimeTemplate:le,moduleGraph:_e,chunkGraph:Ee}=N;const we=j.dependencies.map((E=>{const R=_e.getModule(E);return{dependency:E,runtimeCondition:R?q.Template.getImportEmittedRuntime(G,R):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:R})=>{const j=le.runtimeConditionExpression({chunkGraph:Ee,runtime:ie,runtimeCondition:R,runtimeRequirements:ae});const q=E.getImportStatement(true,N);const G=q[0]+q[1];if(j!=="true"){return`if (${j}) {\n${$.indent(G)}\n}\n`}return G})).join("");if(j.hasCallback){if(le.supportsArrowFunction()){R.insert(j.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${we}(`);R.insert(j.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{R.insert(j.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${we}(`);R.insert(j.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Me=le.supportsArrowFunction();R.insert(j.range[1]-.5,`, ${Me?"() =>":"function()"} { ${we} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,R,N)=>{"use strict";const $=N(56202);const j=N(37359);class HarmonyAcceptImportDependency extends j{constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}$(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends j.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(63272);const q=N(76150);const G=N(56202);const ie=N(12197);class HarmonyCompatibilityDependency extends ie{get type(){return"harmony export header"}}G(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,R,{module:N,runtimeTemplate:G,moduleGraph:ie,initFragments:ae,runtimeRequirements:le,runtime:_e,concatenationScope:Ee}){if(Ee)return;const we=ie.getExportsInfo(N);if(we.getReadOnlyExportInfo("__esModule").getUsed(_e)!==$.Unused){const E=G.defineEsModuleFlagStatement({exportsArgument:N.exportsArgument,runtimeRequirements:le});ae.push(new j(E,j.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ie.isAsync(N)){le.add(q.module);le.add(q.asyncModule);ae.push(new j(G.supportsArrowFunction()?`${q.asyncModule}(${N.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${q.asyncModule}(${N.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,j.STAGE_ASYNC_BOUNDARY,0,undefined,N.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,R,N)=>{"use strict";const $=N(28140);const j=N(54290);const q=N(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:R=false}=E||{};this.topLevelAwait=R}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(R=>{const N=E.state.module.type==="javascript/esm";const G=N||R.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(G){const R=E.state.module;const G=new j;G.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};R.addPresentationalDependency(G);$.bailout(E.state);q.enable(E.state,N);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const R=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!q.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}R.buildMeta.async=true}));const skipInHarmony=()=>{if(q.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(q.isEnabled(E.state)){return null}};const R=["define","exports"];for(const N of R){E.hooks.evaluateTypeof.for(N).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(N).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,R,N)=>{"use strict";const $=N(58018);const j=N(66298);const q=N(55037);const G=N(48752);const ie=N(44576);const ae=N(14696);const{ExportPresenceModes:le}=N(37359);const{harmonySpecifierTag:_e,getAssertions:Ee}=N(29381);const we=N(69707);const{HarmonyStarExportsList:Me}=ie;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.reexportExportPresence!==undefined?le.fromUserOption(E.reexportExportPresence):E.exportPresence!==undefined?le.fromUserOption(E.exportPresence):E.strictExportPresence?le.ERROR:le.AUTO}apply(E){const{exportPresenceMode:R}=this;E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(R=>{const N=new G(R.declaration&&R.declaration.range,R.range);N.loc=Object.create(R.loc);N.loc.index=-1;E.state.module.addPresentationalDependency(N);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((R,N)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const $=new j("",R.range);$.loc=Object.create(R.loc);$.loc.index=-1;E.state.module.addPresentationalDependency($);const q=new we(N,E.state.lastHarmonyImportOrder,Ee(R));q.loc=Object.create(R.loc);q.loc.index=-1;E.state.current.addDependency(q);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((R,N)=>{const j=N.type==="FunctionDeclaration";const G=E.getComments([R.range[0],N.range[0]]);const ie=new q(N.range,R.range,G.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),N.type.endsWith("Declaration")&&N.id?N.id.name:j?{id:N.id?N.id.name:undefined,range:[N.range[0],N.params.length>0?N.params[0].range[0]:N.body.range[0]],prefix:`${N.async?"async ":""}function${N.generator?"*":""} `,suffix:`(${N.params.length>0?"":") "}`}:undefined);ie.loc=Object.create(R.loc);ie.loc.index=-1;E.state.current.addDependency(ie);$.addVariableUsage(E,N.type.endsWith("Declaration")&&N.id?N.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((N,j,q,G)=>{const le=E.getTagData(j,_e);let Ee;const we=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;we.add(q);$.addVariableUsage(E,j,q);if(le){Ee=new ie(le.source,le.sourceOrder,le.ids,q,we,null,R,null,le.assertions)}else{Ee=new ae(j,q)}Ee.loc=Object.create(N.loc);Ee.loc.index=G;E.state.current.addDependency(Ee);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((N,$,j,q,G)=>{const ae=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let le=null;if(q){ae.add(q)}else{le=E.state.harmonyStarExports=E.state.harmonyStarExports||new Me}const _e=new ie($,E.state.lastHarmonyImportOrder,j?[j]:[],q,ae,le&&le.slice(),R,le);if(le){le.push(_e)}_e.loc=Object.create(N.loc);_e.loc.index=G;E.state.current.addDependency(_e);return true}))}}},55037:(E,R,N)=>{"use strict";const $=N(77294);const j=N(76150);const q=N(56202);const G=N(82296);const ie=N(12197);class HarmonyExportExpressionDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.rangeStatement=R;this.prefix=N;this.declarationId=$}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.range);R(this.rangeStatement);R(this.prefix);R(this.declarationId);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.rangeStatement=R();this.prefix=R();this.declarationId=R();super.deserialize(E)}}q(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:q,runtimeTemplate:ie,runtimeRequirements:ae,initFragments:le,runtime:_e,concatenationScope:Ee}){const we=E;const{declarationId:Me}=we;const Ie=N.exportsArgument;if(Me){let E;if(typeof Me==="string"){E=Me}else{E=$.DEFAULT_EXPORT;R.replace(Me.range[0],Me.range[1]-1,`${Me.prefix}${E}${Me.suffix}`)}if(Ee){Ee.registerExport("default",E)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){const N=new Map;N.set(R,`/* export default binding */ ${E}`);le.push(new G(Ie,N))}}R.replace(we.rangeStatement[0],we.range[0]-1,`/* harmony default export */ ${we.prefix}`)}else{let E;const Me=$.DEFAULT_EXPORT;if(ie.supportsConst()){E=`/* harmony default export */ const ${Me} = `;if(Ee){Ee.registerExport("default",Me)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){ae.add(j.exports);const E=new Map;E.set(R,Me);le.push(new G(Ie,E))}else{E=`/* unused harmony default export */ var ${Me} = `}}}else if(Ee){E=`/* harmony default export */ var ${Me} = `;Ee.registerExport("default",Me)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){ae.add(j.exports);E=`/* harmony default export */ ${Ie}[${JSON.stringify(R)}] = `}else{E=`/* unused harmony default export */ var ${Me} = `}}if(we.range){R.replace(we.rangeStatement[0],we.range[0]-1,E+"("+we.prefix);R.replace(we.range[1],we.rangeStatement[1]-.5,");");return}R.replace(we.rangeStatement[0],we.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class HarmonyExportHeaderDependency extends j{constructor(E,R){super();this.range=E;this.rangeStatement=R}get type(){return"harmony export header"}serialize(E){const{write:R}=E;R(this.range);R(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.rangeStatement=R();super.deserialize(E)}}$(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends j.Template{apply(E,R,N){const $=E;const j="";const q=$.range?$.range[0]-1:$.rangeStatement[1]-1;R.replace($.rangeStatement[0],q,j)}};E.exports=HarmonyExportHeaderDependency},44576:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(36756);const G=N(63272);const ie=N(76150);const ae=N(58159);const{countIterable:le}=N(11539);const{first:_e,combine:Ee}=N(26221);const we=N(56202);const Me=N(68038);const{getRuntimeKey:Ie,keyToRuntime:Te}=N(37416);const Ne=N(82296);const Be=N(37359);const Le=N(18971);const{ExportPresenceModes:je}=Be;const ze=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,R,N,$,j){this.name=E;this.ids=R;this.exportInfo=N;this.checked=$;this.hidden=j}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,R,N)=>{const $=new Set;const j=[];if(N){R=R.concat(N)}for(const N of R){const R=j.length;j[R]=$.size;const q=E.getModule(N);if(q){const N=E.getExportsInfo(q);for(const E of N.exports){if(E.provided===true&&E.name!=="default"&&!$.has(E.name)){$.add(E.name);j[R]=$.size}}}}j.push($.size);return{names:Array.from($),dependencyIndices:j}};const findDependencyForName=({names:E,dependencyIndices:R},N,$)=>{const j=$[Symbol.iterator]();const q=R[Symbol.iterator]();let G=j.next();let ie=q.next();if(ie.done)return;for(let R=0;R=ie.value){G=j.next();ie=q.next();if(ie.done)return}if(E[R]===N)return G.value}return undefined};const getMode=(E,R,N)=>{const $=E.getModule(R);if(!$){const E=new ExportMode("missing");E.userRequest=R.userRequest;return E}const q=R.name;const G=Te(N);const ie=E.getParentModule(R);const ae=E.getExportsInfo(ie);if(q?ae.getUsed(q,G)===j.Unused:ae.isUsed(G)===false){const E=new ExportMode("unused");E.name=q||"*";return E}const le=$.getExportsType(E,ie.buildMeta.strictHarmonyModule);const _e=R.getIds(E);if(q&&_e.length>0&&_e[0]==="default"){switch(le){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=q;return E}case"default-only":case"default-with-named":{const E=ae.getReadOnlyExportInfo(q);const R=new ExportMode("reexport-named-default");R.name=q;R.partialNamespaceExportInfo=E;return R}}}if(q){let E;const R=ae.getReadOnlyExportInfo(q);if(_e.length>0){switch(le){case"default-only":E=new ExportMode("reexport-undefined");E.name=q;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(q,_e,R,false,false)];break}}else{switch(le){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=R;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=R;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=q;E.partialNamespaceExportInfo=R}}return E}const{ignoredExports:Ee,exports:we,checked:Me,hidden:Ie}=R.getStarReexports(E,G,ae,$);if(!we){const E=new ExportMode("dynamic-reexport");E.ignored=Ee;E.hidden=Ie;return E}if(we.size===0){const E=new ExportMode("empty-star");E.hidden=Ie;return E}const Ne=new ExportMode("normal-reexport");Ne.items=Array.from(we,(E=>new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),Me.has(E),false)));if(Ie!==undefined){for(const E of Ie){Ne.items.push(new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),false,true))}}return Ne};class HarmonyExportImportedSpecifierDependency extends Be{constructor(E,R,N,$,j,q,G,ie,ae){super(E,R,ae);this.ids=N;this.name=$;this.activeExports=j;this.otherStarExports=q;this.exportPresenceMode=G;this.allStarExports=ie}couldAffectReferencingModule(){return $.TRANSITIVE}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[ze]||this.ids}setIds(E,R){E.getMeta(this)[ze]=R}getMode(E,R){return E.dependencyCacheProvide(this,Ie(R),getMode)}getStarReexports(E,R,N=E.getExportsInfo(E.getParentModule(this)),$=E.getModule(this)){const q=E.getExportsInfo($);const G=q.otherExportsInfo.provided===false;const ie=N.otherExportsInfo.getUsed(R)===j.Unused;const ae=new Set(["default",...this.activeExports]);let le=undefined;const _e=this._discoverActiveExportsFromOtherStarExports(E);if(_e!==undefined){le=new Set;for(let E=0;E<_e.namesSlice;E++){le.add(_e.names[E])}for(const E of ae)le.delete(E)}if(!G&&!ie){return{ignoredExports:ae,hidden:le}}const Ee=new Set;const we=new Set;const Me=le!==undefined?new Set:undefined;if(ie){for(const E of N.orderedExports){const N=E.name;if(ae.has(N))continue;if(E.getUsed(R)===j.Unused)continue;const $=q.getReadOnlyExportInfo(N);if($.provided===false)continue;if(le!==undefined&&le.has(N)){Me.add(N);continue}Ee.add(N);if($.provided===true)continue;we.add(N)}}else if(G){for(const E of q.orderedExports){const $=E.name;if(ae.has($))continue;if(E.provided===false)continue;const q=N.getReadOnlyExportInfo($);if(q.getUsed(R)===j.Unused)continue;if(le!==undefined&&le.has($)){Me.add($);continue}Ee.add($);if(E.provided===true)continue;we.add($)}}return{ignoredExports:ae,exports:Ee,checked:we,hidden:Me}}getCondition(E){return(R,N)=>{const $=this.getMode(E,N);return $.type!=="unused"&&$.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,R){const N=this.getMode(E,R);switch(N.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return $.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return $.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!N.partialNamespaceExportInfo)return $.EXPORTS_OBJECT_REFERENCED;const E=[];Le(R,E,[],N.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!N.partialNamespaceExportInfo)return $.EXPORTS_OBJECT_REFERENCED;const E=[];Le(R,E,[],N.partialNamespaceExportInfo,N.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return $.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:$,exportInfo:j,hidden:q}of N.items){if(q)continue;Le(R,E,$,j,false)}return E}default:throw new Error(`Unknown mode ${N.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const R="length"in this.otherStarExports?this.otherStarExports.length:le(this.otherStarExports);if(R===0)return undefined;if(this.allStarExports){const{names:N,dependencyIndices:$}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:N,namesSlice:$[R-1],dependencyIndices:$,dependencyIndex:R}}const{names:N,dependencyIndices:$}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:N,namesSlice:$[R-1],dependencyIndices:$,dependencyIndex:R}}getExports(E){const R=this.getMode(E,undefined);switch(R.type){case"missing":return undefined;case"dynamic-reexport":{const N=E.getConnection(this);return{exports:true,from:N,canMangle:false,excludeExports:R.hidden?Ee(R.ignored,R.hidden):R.ignored,hideExports:R.hidden,dependencies:[N.module]}}case"empty-star":return{exports:[],hideExports:R.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const N=E.getConnection(this);return{exports:Array.from(R.items,(E=>({name:E.name,from:N,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[N.module]}}case"reexport-dynamic-default":{{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:["default"]}],priority:1,dependencies:[N.module]}}}case"reexport-undefined":return{exports:[R.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:null,exports:[{name:"default",canMangle:false,from:N,export:null}]}],priority:1,dependencies:[N.module]}}case"reexport-namespace-object":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:null}],priority:1,dependencies:[N.module]}}case"reexport-named-default":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:["default"]}],priority:1,dependencies:[N.module]}}default:throw new Error(`Unknown mode ${R.type}`)}}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==je.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?je.ERROR:je.WARN}getWarnings(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===je.WARN){return this._getErrors(E)}return null}getErrors(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===je.ERROR){return this._getErrors(E)}return null}_getErrors(E){const R=this.getIds(E);let N=this.getLinkingErrors(E,R,`(reexported as '${this.name}')`);if(R.length===0&&this.name===null){const R=this._discoverActiveExportsFromOtherStarExports(E);if(R&&R.namesSlice>0){const $=new Set(R.names.slice(R.namesSlice,R.dependencyIndices[R.dependencyIndex]));const j=E.getModule(this);if(j){const G=E.getExportsInfo(j);const ie=new Map;for(const N of G.orderedExports){if(N.provided!==true)continue;if(N.name==="default")continue;if(this.activeExports.has(N.name))continue;if($.has(N.name))continue;const q=findDependencyForName(R,N.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!q)continue;const G=N.getTerminalBinding(E);if(!G)continue;const ae=E.getModule(q);if(ae===j)continue;const le=E.getExportInfo(ae,N.name);const _e=le.getTerminalBinding(E);if(!_e)continue;if(G===_e)continue;const Ee=ie.get(q.request);if(Ee===undefined){ie.set(q.request,[N.name])}else{Ee.push(N.name)}}for(const[E,R]of ie){if(!N)N=[];N.push(new q(`The requested module '${this.request}' contains conflicting star exports for the ${R.length>1?"names":"name"} ${R.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return N}serialize(E){const{write:R,setCircularReference:N}=E;N(this);R(this.ids);R(this.name);R(this.activeExports);R(this.otherStarExports);R(this.exportPresenceMode);R(this.allStarExports);super.serialize(E)}deserialize(E){const{read:R,setCircularReference:N}=E;N(this);this.ids=R();this.name=R();this.activeExports=R();this.otherStarExports=R();this.exportPresenceMode=R();this.allStarExports=R();super.deserialize(E)}}we(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Be.Template{apply(E,R,N){const{moduleGraph:$,runtime:j,concatenationScope:q}=N;const G=E;const ie=G.getMode($,j);if(q){switch(ie.type){case"reexport-undefined":q.registerRawExport(ie.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ie.type!=="unused"&&ie.type!=="empty-star"){super.apply(E,R,N);this._addExportFragments(N.initFragments,G,ie,N.module,$,j,N.runtimeTemplate,N.runtimeRequirements)}}_addExportFragments(E,R,N,$,j,q,le,we){const Me=j.getModule(R);const Ie=R.getImportVar(j);switch(N.type){case"missing":case"empty-star":E.push(new G("/* empty/unused harmony star reexport */\n",G.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new G(`${ae.toNormalComment(`unused harmony reexport ${N.name}`)}\n`,G.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment($,"reexport default from dynamic",j.getExportsInfo($).getUsedName(N.name,q),Ie,null,we));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments($,j.getExportsInfo($).getUsedName(N.name,q),Ie,N.fakeType,we));break;case"reexport-undefined":E.push(this.getReexportFragment($,"reexport non-default export from non-harmony",j.getExportsInfo($).getUsedName(N.name,q),"undefined","",we));break;case"reexport-named-default":E.push(this.getReexportFragment($,"reexport default export from named module",j.getExportsInfo($).getUsedName(N.name,q),Ie,"",we));break;case"reexport-namespace-object":E.push(this.getReexportFragment($,"reexport module object",j.getExportsInfo($).getUsedName(N.name,q),Ie,"",we));break;case"normal-reexport":for(const{name:ie,ids:ae,checked:le,hidden:_e}of N.items){if(_e)continue;if(le){E.push(new G("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement($,ie,Ie,ae,we),j.isAsync(Me)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,R.sourceOrder))}else{E.push(this.getReexportFragment($,"reexport safe",j.getExportsInfo($).getUsedName(ie,q),Ie,j.getExportsInfo(Me).getUsedName(ae,q),we))}}break;case"dynamic-reexport":{const q=N.hidden?Ee(N.ignored,N.hidden):N.ignored;const ae=le.supportsConst()&&le.supportsArrowFunction();let Te="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${Ie}) `;if(q.size>1){Te+="if("+JSON.stringify(Array.from(q))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(q.size===1){Te+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(_e(q))}) `}Te+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Te+=`() => ${Ie}[__WEBPACK_IMPORT_KEY__]`}else{Te+=`function(key) { return ${Ie}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}we.add(ie.exports);we.add(ie.definePropertyGetters);const Ne=$.exportsArgument;E.push(new G(`${Te}\n/* harmony reexport (unknown) */ ${ie.definePropertyGetters}(${Ne}, __WEBPACK_REEXPORT_OBJECT__);\n`,j.isAsync(Me)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,R.sourceOrder));break}default:throw new Error(`Unknown mode ${N.type}`)}}getReexportFragment(E,R,N,$,j,q){const G=this.getReturnValue($,j);q.add(ie.exports);q.add(ie.definePropertyGetters);const ae=new Map;ae.set(N,`/* ${R} */ ${G}`);return new Ne(E.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(E,R,N,$,j){j.add(ie.exports);j.add(ie.definePropertyGetters);j.add(ie.createFakeNamespaceObject);const q=new Map;q.set(R,`/* reexport fake namespace object from non-harmony */ ${N}_namespace_cache || (${N}_namespace_cache = ${ie.createFakeNamespaceObject}(${N}${$?`, ${$}`:""}))`);return[new G(`var ${N}_namespace_cache;\n`,G.STAGE_CONSTANTS,-1,`${N}_namespace_cache`),new Ne(E.exportsArgument,q)]}getConditionalReexportStatement(E,R,N,$,j){if($===false){return"/* unused export */\n"}const q=E.exportsArgument;const G=this.getReturnValue(N,$);j.add(ie.exports);j.add(ie.definePropertyGetters);j.add(ie.hasOwnProperty);return`if(${ie.hasOwnProperty}(${N}, ${JSON.stringify($[0])})) ${ie.definePropertyGetters}(${q}, { ${JSON.stringify(R)}: function() { return ${G}; } });\n`}getReturnValue(E,R){if(R===null){return`${E}_default.a`}if(R===""){return E}if(R===false){return"/* unused export */ undefined"}return`${E}${Me(R)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:R}){R(this);E(this.dependencies)}deserialize({read:E,setCircularReference:R}){R(this);this.dependencies=E()}}we(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const{first:q}=N(26221);const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const G=new Map;const ie=new Set;class HarmonyExportInitFragment extends ${constructor(E,R=G,N=ie){super(undefined,$.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=R;this.unusedExports=N}mergeAll(E){let R;let N=false;let $;let j=false;for(const q of E){if(q.exportMap.size!==0){if(R===undefined){R=q.exportMap;N=false}else{if(!N){R=new Map(R);N=true}for(const[E,N]of q.exportMap){if(!R.has(E))R.set(E,N)}}}if(q.unusedExports.size!==0){if($===undefined){$=q.unusedExports;j=false}else{if(!j){$=new Set($);j=true}for(const E of q.unusedExports){$.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,R,$)}merge(E){let R;if(this.exportMap.size===0){R=E.exportMap}else if(E.exportMap.size===0){R=this.exportMap}else{R=new Map(E.exportMap);for(const[E,N]of this.exportMap){if(!R.has(E))R.set(E,N)}}let N;if(this.unusedExports.size===0){N=E.unusedExports}else if(E.unusedExports.size===0){N=this.unusedExports}else{N=new Set(E.unusedExports);for(const E of this.unusedExports){N.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,R,N)}getContent({runtimeTemplate:E,runtimeRequirements:R}){R.add(j.exports);R.add(j.definePropertyGetters);const N=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${q(this.unusedExports)} */\n`:"";const $=[];for(const[R,N]of this.exportMap){$.push(`\n/* harmony export */ ${JSON.stringify(R)}: ${E.returningFunction(N)}`)}const G=this.exportMap.size>0?`/* harmony export */ ${j.definePropertyGetters}(${this.exportsArgument}, {${$.join(",")}\n/* harmony export */ });\n`:"";return`${G}${N}`}}E.exports=HarmonyExportInitFragment},14696:(E,R,N)=>{"use strict";const $=N(56202);const j=N(82296);const q=N(12197);class HarmonyExportSpecifierDependency extends q{constructor(E,R){super();this.id=E;this.name=R}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.id);R(this.name);super.serialize(E)}deserialize(E){const{read:R}=E;this.id=R();this.name=R();super.deserialize(E)}}$(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends q.Template{apply(E,R,{module:N,moduleGraph:$,initFragments:q,runtime:G,concatenationScope:ie}){const ae=E;if(ie){ie.registerExport(ae.name,ae.id);return}const le=$.getExportsInfo(N).getUsedName(ae.name,G);if(!le){const E=new Set;E.add(ae.name||"namespace");q.push(new j(N.exportsArgument,undefined,E));return}const _e=new Map;_e.set(le,`/* binding */ ${ae.id}`);q.push(new j(N.exportsArgument,_e,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,R)=>{"use strict";const N=new WeakMap;R.enable=(E,R)=>{const $=N.get(E);if($===false)return;N.set(E,true);if($!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(R){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};R.isEnabled=E=>{const R=N.get(E);return R===true}},37359:(E,R,N)=>{"use strict";const $=N(11518);const j=N(28706);const q=N(36756);const G=N(63272);const ie=N(58159);const ae=N(10813);const{filterRuntime:le,mergeRuntime:_e}=N(37416);const Ee=N(79983);const we={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(E){switch(E){case"error":return we.ERROR;case"warn":return we.WARN;case false:return we.NONE;default:throw new Error(`Invalid export presence value ${E}`)}}};class HarmonyImportDependency extends Ee{constructor(E,R,N){super(E);this.sourceOrder=R;this.assertions=N}get category(){return"esm"}getReferencedExports(E,R){return j.NO_EXPORTS_REFERENCED}getImportVar(E){const R=E.getParentModule(this);const N=E.getMeta(R);let $=N.importVarMap;if(!$)N.importVarMap=$=new Map;let j=$.get(E.getModule(this));if(j)return j;j=`${ie.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${$.size}__`;$.set(E.getModule(this),j);return j}getImportStatement(E,{runtimeTemplate:R,module:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){return R.importStatement({update:E,module:$.getModule(this),chunkGraph:j,importVar:this.getImportVar($),request:this.request,originModule:N,runtimeRequirements:q})}getLinkingErrors(E,R,N){const $=E.getModule(this);if(!$||$.getNumberOfErrors()>0){return}const j=E.getParentModule(this);const G=$.getExportsType(E,j.buildMeta.strictHarmonyModule);if(G==="namespace"||G==="default-with-named"){if(R.length===0){return}if((G!=="default-with-named"||R[0]!=="default")&&E.isExportProvided($,R)===false){let j=0;let G=E.getExportsInfo($);while(j`'${E}'`)).join(".")} ${N} was not found in '${this.userRequest}'${$}`)]}G=$.getNestedExportsInfo()}return[new q(`export ${R.map((E=>`'${E}'`)).join(".")} ${N} was not found in '${this.userRequest}'`)]}}switch(G){case"default-only":if(R.length>0&&R[0]!=="default"){return[new q(`Can't import the named export ${R.map((E=>`'${E}'`)).join(".")} ${N} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(R.length>0&&R[0]!=="default"&&$.buildMeta.defaultObject==="redirect-warn"){return[new q(`Should not import the named export ${R.map((E=>`'${E}'`)).join(".")} ${N} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:R}=E;R(this.sourceOrder);R(this.assertions);super.serialize(E)}deserialize(E){const{read:R}=E;this.sourceOrder=R();this.assertions=R();super.deserialize(E)}}E.exports=HarmonyImportDependency;const Me=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends Ee.Template{apply(E,R,N){const j=E;const{module:q,chunkGraph:ie,moduleGraph:Ee,runtime:we}=N;const Ie=Ee.getConnection(j);if(Ie&&!Ie.isTargetActive(we))return;const Te=Ie&&Ie.module;if(Ie&&Ie.weak&&Te&&ie.getModuleId(Te)===null){return}const Ne=Te?Te.identifier():j.request;const Be=`harmony import ${Ne}`;const Le=j.weak?false:Ie?le(we,(E=>Ie.isTargetActive(E))):true;if(q&&Te){let E=Me.get(q);if(E===undefined){E=new WeakMap;Me.set(q,E)}let R=Le;const N=E.get(Te)||false;if(N!==false&&R!==true){if(R===false||N===true){R=N}else{R=_e(N,R)}}E.set(Te,R)}const je=j.getImportStatement(false,N);if(Te&&N.moduleGraph.isAsync(Te)){N.initFragments.push(new $(je[0],G.STAGE_HARMONY_IMPORTS,j.sourceOrder,Be,Le));N.initFragments.push(new ae(new Set([j.getImportVar(N.moduleGraph)])));N.initFragments.push(new $(je[1],G.STAGE_ASYNC_HARMONY_IMPORTS,j.sourceOrder,Be+" compat",Le))}else{N.initFragments.push(new $(je[0]+je[1],G.STAGE_HARMONY_IMPORTS,j.sourceOrder,Be,Le))}}static getImportEmittedRuntime(E,R){const N=Me.get(E);if(N===undefined)return false;return N.get(R)||false}};E.exports.ExportPresenceModes=we},29381:(E,R,N)=>{"use strict";const $=N(79972);const j=N(58018);const q=N(66298);const G=N(27790);const ie=N(80654);const ae=N(25702);const{ExportPresenceModes:le}=N(37359);const _e=N(69707);const Ee=N(2230);const we=Symbol("harmony import");function getAssertions(E){const R=E.assertions;if(R===undefined){return undefined}const N={};for(const E of R){const R=E.key.type==="Identifier"?E.key.name:E.key.value;N[R]=E.value.value}return N}E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.importExportPresence!==undefined?le.fromUserOption(E.importExportPresence):E.exportPresence!==undefined?le.fromUserOption(E.exportPresence):E.strictExportPresence?le.ERROR:le.AUTO;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){const{exportPresenceMode:R}=this;E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(R=>{const N=R;if(E.isVariableDefined(N.name)||E.getTagData(N.name,we)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const $=new q(E.isAsiPosition(R.range[0])?";":"",R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);E.unsetAsiPosition(R.range[1]);const j=getAssertions(R);const G=new _e(N,E.state.lastHarmonyImportOrder,j);G.loc=R.loc;E.state.module.addDependency(G);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((R,N,$,j)=>{const q=$===null?[]:[$];E.tagVariable(j,we,{name:j,source:N,ids:q,sourceOrder:E.state.lastHarmonyImportOrder,assertions:getAssertions(R)});return true}));E.hooks.expression.for(we).tap("HarmonyImportDependencyParserPlugin",(N=>{const $=E.currentTagData;const q=new Ee($.source,$.sourceOrder,$.ids,$.name,N.range,R,$.assertions);q.shorthand=E.scope.inShorthand;q.directImport=true;q.asiSafe=!E.isAsiPosition(N.range[0]);q.loc=N.loc;E.state.module.addDependency(q);j.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(we).tap("HarmonyImportDependencyParserPlugin",((N,$)=>{const q=E.currentTagData;const G=q.ids.concat($);const ie=new Ee(q.source,q.sourceOrder,G,q.name,N.range,R,q.assertions);ie.asiSafe=!E.isAsiPosition(N.range[0]);ie.loc=N.loc;E.state.module.addDependency(ie);j.onUsage(E.state,(E=>ie.usedByExports=E));return true}));E.hooks.callMemberChain.for(we).tap("HarmonyImportDependencyParserPlugin",((N,$)=>{const{arguments:q,callee:G}=N;const ie=E.currentTagData;const ae=ie.ids.concat($);const le=new Ee(ie.source,ie.sourceOrder,ae,ie.name,G.range,R,ie.assertions);le.directImport=$.length===0;le.call=true;le.asiSafe=!E.isAsiPosition(G.range[0]);le.namespaceObjectAsContext=$.length>0&&this.strictThisContextOnImports;le.loc=G.loc;E.state.module.addDependency(le);if(q)E.walkExpressions(q);j.onUsage(E.state,(E=>le.usedByExports=E));return true}));const{hotAcceptCallback:N,hotAcceptWithoutCallback:le}=$.getParserHooks(E);N.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{if(!ae.isEnabled(E.state)){return}const $=N.map((N=>{const $=new ie(N);$.loc=R.loc;E.state.module.addDependency($);return $}));if($.length>0){const N=new G(R.range,$,true);N.loc=R.loc;E.state.module.addDependency(N)}}));le.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{if(!ae.isEnabled(E.state)){return}const $=N.map((N=>{const $=new ie(N);$.loc=R.loc;E.state.module.addDependency($);return $}));if($.length>0){const N=new G(R.range,$,false);N.loc=R.loc;E.state.module.addDependency(N)}}))}};E.exports.harmonySpecifierTag=we;E.exports.getAssertions=getAssertions},69707:(E,R,N)=>{"use strict";const $=N(56202);const j=N(37359);class HarmonyImportSideEffectDependency extends j{constructor(E,R,N){super(E,R,N)}get type(){return"harmony side effect evaluation"}getCondition(E){return R=>{const N=R.resolvedModule;if(!N)return true;return N.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const R=E.getModule(this);if(!R)return true;return R.getSideEffectsConnectionState(E)}}$(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends j.Template{apply(E,R,N){const{moduleGraph:$,concatenationScope:j}=N;if(j){const R=$.getModule(E);if(j.isModuleInScope(R)){return}}super.apply(E,R,N)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,R,N)=>{"use strict";const $=N(28706);const{getDependencyUsedByExportsCondition:j}=N(58018);const q=N(56202);const G=N(68038);const ie=N(37359);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:le}=ie;class HarmonyImportSpecifierDependency extends ie{constructor(E,R,N,$,j,q,G){super(E,R,G);this.ids=N;this.name=$;this.range=j;this.exportPresenceMode=q;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const R=E.getMetaIfExisting(this);if(R===undefined)return this.ids;const N=R[ae];return N!==undefined?N:this.ids}setIds(E,R){E.getMeta(this)[ae]=R}getCondition(E){return j(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,R){let N=this.getIds(E);if(N.length===0)return $.EXPORTS_OBJECT_REFERENCED;let j=this.namespaceObjectAsContext;if(N[0]==="default"){const R=E.getParentModule(this);const q=E.getModule(this);switch(q.getExportsType(E,R.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(N.length===1)return $.EXPORTS_OBJECT_REFERENCED;N=N.slice(1);j=true;break;case"dynamic":return $.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(j||N.length>1)){if(N.length===1)return $.EXPORTS_OBJECT_REFERENCED;N=N.slice(0,-1)}return[N]}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==le.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?le.ERROR:le.WARN}getWarnings(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===le.WARN){return this._getErrors(E)}return null}getErrors(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===le.ERROR){return this._getErrors(E)}return null}_getErrors(E){const R=this.getIds(E);return this.getLinkingErrors(E,R,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:R}=E;R(this.ids);R(this.name);R(this.range);R(this.exportPresenceMode);R(this.namespaceObjectAsContext);R(this.call);R(this.directImport);R(this.shorthand);R(this.asiSafe);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.ids=R();this.name=R();this.range=R();this.exportPresenceMode=R();this.namespaceObjectAsContext=R();this.call=R();this.directImport=R();this.shorthand=R();this.asiSafe=R();this.usedByExports=R();super.deserialize(E)}}q(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ie.Template{apply(E,R,N){const $=E;const{moduleGraph:j,module:q,runtime:ie,concatenationScope:ae}=N;const le=j.getConnection($);if(le&&!le.isTargetActive(ie))return;const _e=$.getIds(j);let Ee;if(le&&ae&&ae.isModuleInScope(le.module)){if(_e.length===0){Ee=ae.createModuleReference(le.module,{asiSafe:$.asiSafe})}else if($.namespaceObjectAsContext&&_e.length===1){Ee=ae.createModuleReference(le.module,{asiSafe:$.asiSafe})+G(_e)}else{Ee=ae.createModuleReference(le.module,{ids:_e,call:$.call,directImport:$.directImport,asiSafe:$.asiSafe})}}else{super.apply(E,R,N);const{runtimeTemplate:G,initFragments:ae,runtimeRequirements:le}=N;Ee=G.exportFromImport({moduleGraph:j,module:j.getModule($),request:$.request,exportName:_e,originModule:q,asiSafe:$.shorthand?true:$.asiSafe,isCall:$.call,callContext:!$.directImport,defaultInterop:true,importVar:$.getImportVar(j),initFragments:ae,runtime:ie,runtimeRequirements:le})}if($.shorthand){R.insert($.range[1],`: ${Ee}`)}else{R.replace($.range[0],$.range[1]-1,Ee)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,R,N)=>{"use strict";const $=N(27790);const j=N(80654);const q=N(54290);const G=N(55037);const ie=N(48752);const ae=N(44576);const le=N(14696);const _e=N(69707);const Ee=N(2230);const we=N(11720);const Me=N(16081);const Ie=N(29381);const Te=N(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(_e,R);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,R);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyTemplates.set(G,new G.Template);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(ae,R);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(j,R);E.dependencyTemplates.set(j,new j.Template);const handler=(E,R)=>{if(R.harmony!==undefined&&!R.harmony)return;new we(this.options).apply(E);new Ie(R).apply(E);new Me(R).apply(E);(new Te).apply(E)};R.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);R.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,R,N)=>{"use strict";const $=N(66298);const j=N(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(R=>{if(!E.scope.topLevelScope)return;if(j.isEnabled(E.state)){const N=new $("undefined",R.range,null);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(42740);class ImportContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=q;E.exports=ImportContextDependency},20013:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class ImportDependency extends q{constructor(E,R,N){super(E);this.range=R;this.referencedExports=N}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,R){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):$.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}j(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.moduleNamespacePromise({chunkGraph:q,block:ae,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,le)}};E.exports=ImportDependency},75708:(E,R,N)=>{"use strict";const $=N(56202);const j=N(20013);class ImportEagerDependency extends j{constructor(E,R,N){super(E,R,N)}get type(){return"import() eager"}get category(){return"esm"}}$(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=N.moduleNamespacePromise({chunkGraph:q,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportEagerDependency},76302:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ImportMetaHotAcceptDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}$(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=q;E.exports=ImportMetaHotAcceptDependency},5389:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ImportMetaHotDeclineDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}$(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=q;E.exports=ImportMetaHotDeclineDependency},38586:(E,R,N)=>{"use strict";const{pathToFileURL:$}=N(57310);const j=N(23280);const q=N(58159);const G=N(87250);const{evaluateToIdentifier:ie,toConstantDependency:ae,evaluateToString:le,evaluateToNumber:_e}=N(48472);const Ee=N(91671);const we=N(68038);const Me=N(66298);const Ie=Ee((()=>N(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:R})=>{const getUrl=E=>$(E.resource).toString();const parserHandler=(E,R)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",ae(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(R=>{const N=Ie();E.state.module.addWarning(new j(E.state.module,new N("Accessing import.meta directly is unsupported (only property access is supported)"),R.loc));const $=new Me(`${E.isAsiPosition(R.range[0])?";":""}({})`,R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",le("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ie("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",ae(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(R=>{const N=new Me(JSON.stringify(getUrl(E.state.module)),R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",le("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(R=>(new G).setString(getUrl(E.state.module)).setRange(R.range)));const $=parseInt(N(37589).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify($)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",le("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",_e($));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((R,N)=>{const $=new Me(`${q.toNormalComment("unsupported import.meta."+N.join("."))} undefined${we(N,1)}`,R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const R=E;if(R.object.type==="MetaProperty"&&R.object.meta.name==="import"&&R.object.property.name==="meta"&&R.property.type===(R.computed?"Literal":"Identifier")){return(new G).setUndefined().setRange(R.range)}}))};R.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);R.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,R,N)=>{"use strict";const $=N(98221);const j=N(47207);const q=N(53558);const G=N(95601);const ie=N(4828);const ae=N(20013);const le=N(75708);const _e=N(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(R=>{const N=E.evaluateExpression(R.source);let Ee=null;let we="lazy";let Me=null;let Ie=null;let Te=null;const Ne={};const{options:Be,errors:Le}=E.parseCommentOptions(R.range);if(Le){for(const R of Le){const{comment:N}=R;E.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${R.message}`,N.loc))}}if(Be){if(Be.webpackIgnore!==undefined){if(typeof Be.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`,R.loc))}else{if(Be.webpackIgnore){return false}}}if(Be.webpackChunkName!==undefined){if(typeof Be.webpackChunkName!=="string"){E.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`,R.loc))}else{Ee=Be.webpackChunkName}}if(Be.webpackMode!==undefined){if(typeof Be.webpackMode!=="string"){E.state.module.addWarning(new q(`\`webpackMode\` expected a string, but received: ${Be.webpackMode}.`,R.loc))}else{we=Be.webpackMode}}if(Be.webpackPrefetch!==undefined){if(Be.webpackPrefetch===true){Ne.prefetchOrder=0}else if(typeof Be.webpackPrefetch==="number"){Ne.prefetchOrder=Be.webpackPrefetch}else{E.state.module.addWarning(new q(`\`webpackPrefetch\` expected true or a number, but received: ${Be.webpackPrefetch}.`,R.loc))}}if(Be.webpackPreload!==undefined){if(Be.webpackPreload===true){Ne.preloadOrder=0}else if(typeof Be.webpackPreload==="number"){Ne.preloadOrder=Be.webpackPreload}else{E.state.module.addWarning(new q(`\`webpackPreload\` expected true or a number, but received: ${Be.webpackPreload}.`,R.loc))}}if(Be.webpackInclude!==undefined){if(!Be.webpackInclude||Be.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackInclude\` expected a regular expression, but received: ${Be.webpackInclude}.`,R.loc))}else{Me=new RegExp(Be.webpackInclude)}}if(Be.webpackExclude!==undefined){if(!Be.webpackExclude||Be.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackExclude\` expected a regular expression, but received: ${Be.webpackExclude}.`,R.loc))}else{Ie=new RegExp(Be.webpackExclude)}}if(Be.webpackExports!==undefined){if(!(typeof Be.webpackExports==="string"||Array.isArray(Be.webpackExports)&&Be.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new q(`\`webpackExports\` expected a string or an array of strings, but received: ${Be.webpackExports}.`,R.loc))}else{if(typeof Be.webpackExports==="string"){Te=[[Be.webpackExports]]}else{Te=Array.from(Be.webpackExports,(E=>[E]))}}}}if(N.isString()){if(we!=="lazy"&&we!=="eager"&&we!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${we}.`,R.loc))}if(we==="eager"){const $=new le(N.string,R.range,Te);E.state.current.addDependency($)}else if(we==="weak"){const $=new _e(N.string,R.range,Te);E.state.current.addDependency($)}else{const j=new $({...Ne,name:Ee},R.loc,N.string);const q=new ae(N.string,R.range,Te);q.loc=R.loc;j.addDependency(q);E.state.current.addBlock(j)}return true}else{if(we!=="lazy"&&we!=="lazy-once"&&we!=="eager"&&we!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${we}.`,R.loc));we="lazy"}if(we==="weak"){we="async-weak"}const $=G.create(ie,R.range,N,R,this.options,{chunkName:Ee,groupOptions:Ne,include:Me,exclude:Ie,mode:we,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Te},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}}))}}E.exports=ImportParserPlugin},54975:(E,R,N)=>{"use strict";const $=N(4828);const j=N(20013);const q=N(75708);const G=N(81467);const ie=N(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:R,normalModuleFactory:N})=>{E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set(q,N);E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(ie,N);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.import!==undefined&&!R.import)return;new G(R).apply(E)};N.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,R,N)=>{"use strict";const $=N(56202);const j=N(20013);class ImportWeakDependency extends j{constructor(E,R,N){super(E,R,N);this.weak=true}get type(){return"import() weak"}}$(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=N.moduleNamespacePromise({chunkGraph:q,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportWeakDependency},38895:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,R)=>({name:`${R}`,canMangle:true,exports:getExportsFromData(E)})))}else{const R=[];for(const N of Object.keys(E)){R.push({name:N,canMangle:true,exports:getExportsFromData(E[N])})}return R}}return undefined};class JsonExportsDependency extends j{constructor(E){super();this.exports=E;this._hashUpdate=undefined}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.exports?JSON.stringify(this.exports):"undefined"}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.exports);super.serialize(E)}deserialize(E){const{read:R}=E;this.exports=R();super.deserialize(E)}}$(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,R,N)=>{"use strict";const $=N(79983);class LoaderDependency extends ${constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,R,N)=>{"use strict";const $=N(79983);class LoaderImportDependency extends ${constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,R,N)=>{"use strict";const $=N(53520);const j=N(83379);const q=N(32876);const G=N(79486);class LoaderPlugin{constructor(E={}){}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyFactories.set(G,R)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const R=E.moduleGraph;$.getCompilationHooks(E).loader.tap("LoaderPlugin",(N=>{N.loadModule=($,G)=>{const ie=new q($);ie.loc={name:$};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return G(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:N._module,context:N.context,recursive:false},($=>{E.buildQueue.decreaseParallelism();if($){return G($)}const q=R.getModule(ie);if(!q){return G(new Error("Cannot load the module"))}if(q.getNumberOfErrors()>0){return G(new Error("The loaded module contains errors"))}const ae=q.originalSource();if(!ae){return G(new Error("The module created for a LoaderDependency must have an original source"))}let le,_e;if(ae.sourceAndMap){const E=ae.sourceAndMap();_e=E.map;le=E.source}else{_e=ae.map();le=ae.source()}const Ee=new j;const we=new j;const Me=new j;const Ie=new j;q.addCacheDependencies(Ee,we,Me,Ie);for(const E of Ee){N.addDependency(E)}for(const E of we){N.addContextDependency(E)}for(const E of Me){N.addMissingDependency(E)}for(const E of Ie){N.addBuildDependency(E)}return G(null,le,_e,q)}))};const importModule=($,j,q)=>{const ie=new G($);ie.loc={name:$};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return q(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:N._module,contextInfo:{issuerLayer:j.layer},context:N.context,connectOrigin:false},($=>{E.buildQueue.decreaseParallelism();if($){return q($)}const G=R.getModule(ie);if(!G){return q(new Error("Cannot load the module"))}E.executeModule(G,{entryOptions:{publicPath:j.publicPath}},((E,R)=>{if(E)return q(E);for(const E of R.fileDependencies){N.addDependency(E)}for(const E of R.contextDependencies){N.addContextDependency(E)}for(const E of R.missingDependencies){N.addMissingDependency(E)}for(const E of R.buildDependencies){N.addBuildDependency(E)}if(R.cacheable===false)N.cacheable(false);for(const[E,{source:$,info:j}]of R.assets){const{buildInfo:R}=N._module;if(!R.assets){R.assets=Object.create(null);R.assetsInfo=new Map}R.assets[E]=$;R.assetsInfo.set(E,j)}q(null,R.exports)}))}))};N.importModule=(E,R,N)=>{if(!N){return new Promise(((N,$)=>{importModule(E,R||{},((E,R)=>{if(E)$(E);else N(R)}))}))}return importModule(E,R||{},N)}}))}))}}E.exports=LoaderPlugin},77230:(E,R,N)=>{"use strict";const $=N(56202);class LocalModule{constructor(E,R){this.name=E;this.idx=R;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:R}=E;R(this.name);R(this.idx);R(this.used)}deserialize(E){const{read:R}=E;this.name=R();this.idx=R();this.used=R()}}$(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class LocalModuleDependency extends j{constructor(E,R,N){super();this.localModule=E;this.range=R;this.callNew=N}serialize(E){const{write:R}=E;R(this.localModule);R(this.range);R(this.callNew);super.serialize(E)}deserialize(E){const{read:R}=E;this.localModule=R();this.range=R();this.callNew=R();super.deserialize(E)}}$(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends j.Template{apply(E,R,N){const $=E;if(!$.range)return;const j=$.callNew?`new (function () { return ${$.localModule.variableName()}; })()`:$.localModule.variableName();R.replace($.range[0],$.range[1]-1,j)}};E.exports=LocalModuleDependency},61701:(E,R,N)=>{"use strict";const $=N(77230);const lookup=(E,R)=>{if(R.charAt(0)!==".")return R;var N=E.split("/");var $=R.split("/");N.pop();for(let E=0;E<$.length;E++){const R=$[E];if(R===".."){N.pop()}else if(R!=="."){N.push(R)}}return N.join("/")};R.addLocalModule=(E,R)=>{if(!E.localModules){E.localModules=[]}const N=new $(R,E.localModules.length);E.localModules.push(N);return N};R.getLocalModule=(E,R,N)=>{if(!E.localModules)return null;if(N){R=lookup(N,R)}for(let N=0;N{"use strict";const $=N(28706);const j=N(63272);const q=N(76150);const G=N(56202);const ie=N(12197);class ModuleDecoratorDependency extends ie{constructor(E,R){super();this.decorator=E;this.allowExportsAccess=R;this._hashUpdate=undefined}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,R){return this.allowExportsAccess?$.EXPORTS_OBJECT_REFERENCED:$.NO_EXPORTS_REFERENCED}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=`${this.decorator}${this.allowExportsAccess}`}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.decorator);R(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:R}=E;this.decorator=R();this.allowExportsAccess=R();super.deserialize(E)}}G(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ie.Template{apply(E,R,{module:N,chunkGraph:$,initFragments:G,runtimeRequirements:ie}){const ae=E;ie.add(q.moduleLoaded);ie.add(q.moduleId);ie.add(q.module);ie.add(ae.decorator);G.push(new j(`/* module decorator */ ${N.moduleArgument} = ${ae.decorator}(${N.moduleArgument});\n`,j.STAGE_PROVIDES,0,`module decorator ${$.getModuleId(N)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);const q=N(91671);const G=q((()=>N(22804)));class ModuleDependency extends ${constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined;this.assertions=undefined}getResourceIdentifier(){let E=`module${this.request}`;if(this.assertions!==undefined){E+=JSON.stringify(this.assertions)}return E}couldAffectReferencingModule(){return true}createIgnoredModule(E){const R=G();return new R("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:R}=E;R(this.request);R(this.userRequest);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.userRequest=R();this.range=R();super.deserialize(E)}}ModuleDependency.Template=j;E.exports=ModuleDependency},80791:(E,R,N)=>{"use strict";const $=N(79983);class ModuleDependencyTemplateAsId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j}){const q=E;if(!q.range)return;const G=N.moduleId({module:$.getModule(q),chunkGraph:j,request:q.request,weak:q.weak});R.replace(q.range[0],q.range[1]-1,G)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,R,N)=>{"use strict";const $=N(79983);class ModuleDependencyTemplateAsRequireId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;if(!G.range)return;const ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,weak:G.weak,runtimeRequirements:q});R.replace(G.range[0],G.range[1]-1,ie)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ModuleHotAcceptDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}$(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=q;E.exports=ModuleHotAcceptDependency},73158:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ModuleHotDeclineDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}$(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=q;E.exports=ModuleHotDeclineDependency},12197:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);class NullDependency extends ${get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends j{apply(E,R,N){}};E.exports=NullDependency},88281:(E,R,N)=>{"use strict";const $=N(79983);class PrefetchDependency extends ${constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,R,N)=>{"use strict";const $=N(63272);const j=N(56202);const q=N(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends q{constructor(E,R,N,$){super(E);this.identifier=R;this.path=N;this.range=$;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.path?this.path.join(","):"null")}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.identifier);R(this.path);super.serialize(E)}deserialize(E){const{read:R}=E;this.identifier=R();this.path=R();super.deserialize(E)}}j(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,initFragments:G,runtimeRequirements:ie}){const ae=E;G.push(new $(`/* provided dependency */ var ${ae.identifier} = ${N.moduleExports({module:j.getModule(ae),chunkGraph:q,request:ae.request,runtimeRequirements:ie})}${pathToString(ae.path)};\n`,$.STAGE_PROVIDES,1,`provided ${ae.identifier}`));R.replace(ae.range[0],ae.range[1]-1,ae.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(56202);const{filterRuntime:q}=N(37416);const G=N(12197);class PureExpressionDependency extends G{constructor(E){super();this.range=E;this.usedByExports=false;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.range);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.usedByExports=R();super.deserialize(E)}}j(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends G.Template{apply(E,R,{chunkGraph:N,moduleGraph:j,runtime:G,runtimeTemplate:ie,runtimeRequirements:ae}){const le=E;const _e=le.usedByExports;if(_e!==false){const E=j.getParentModule(le);const Ee=j.getExportsInfo(E);const we=q(G,(E=>{for(const R of _e){if(Ee.getUsed(R,E)!==$.Unused){return true}}return false}));if(we===true)return;if(we!==false){const E=ie.runtimeConditionExpression({chunkGraph:N,runtime:G,runtimeCondition:we,runtimeRequirements:ae});R.insert(le.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);R.insert(le.range[1],") : null)");return}}R.insert(le.range[0],`(/* unused pure expression or super */ null && (`);R.insert(le.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(87283);class RequireContextDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"require.context"}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();super.deserialize(E)}}$(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=q;E.exports=RequireContextDependency},38947:(E,R,N)=>{"use strict";const $=N(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(R=>{let N=/^\.\/.*$/;let j=true;let q="sync";switch(R.arguments.length){case 4:{const N=E.evaluateExpression(R.arguments[3]);if(!N.isString())return;q=N.string}case 3:{const $=E.evaluateExpression(R.arguments[2]);if(!$.isRegExp())return;N=$.regExp}case 2:{const N=E.evaluateExpression(R.arguments[1]);if(!N.isBoolean())return;j=N.bool}case 1:{const G=E.evaluateExpression(R.arguments[0]);if(!G.isString())return;const ie=new $({request:G.string,recursive:j,regExp:N,mode:q,category:"commonjs"},R.range);ie.loc=R.loc;ie.optional=!!E.scope.inTry;E.state.current.addDependency(ie);return true}}}))}}},67634:(E,R,N)=>{"use strict";const{cachedSetProperty:$}=N(90149);const j=N(90872);const q=N(19204);const G=N(38947);const ie={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((R,{contextModuleFactory:N,normalModuleFactory:ae})=>{R.dependencyFactories.set(q,N);R.dependencyTemplates.set(q,new q.Template);R.dependencyFactories.set(j,ae);const handler=(E,R)=>{if(R.requireContext!==undefined&&!R.requireContext)return;(new G).apply(E)};ae.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);N.hooks.alternativeRequests.tap("RequireContextPlugin",((R,N)=>{if(R.length===0)return R;const j=E.resolverFactory.get("normal",$(N.resolveOptions||ie,"dependencyType",N.category)).options;let q;if(!j.fullySpecified){q=[];for(const E of R){const{request:R,context:N}=E;for(const E of j.extensions){if(R.endsWith(E)){q.push({context:N,request:R.slice(0,-E.length)})}}if(!j.enforceExtension){q.push(E)}}R=q;q=[];for(const E of R){const{request:R,context:N}=E;for(const E of j.mainFiles){if(R.endsWith(`/${E}`)){q.push({context:N,request:R.slice(0,-E.length)});q.push({context:N,request:R.slice(0,-E.length-1)})}}q.push(E)}R=q}q=[];for(const E of R){let R=false;for(const N of j.modules){if(Array.isArray(N)){for(const $ of N){if(E.request.startsWith(`./${$}/`)){q.push({context:E.context,request:E.request.slice($.length+3)});R=true}}}else{const R=N.replace(/\\/g,"/");const $=E.context.replace(/\\/g,"/")+E.request.slice(1);if($.startsWith(R)){q.push({context:E.context,request:$.slice(R.length+1)})}}}if(!R){q.push(E)}}return q}))}))}}E.exports=RequireContextPlugin},15196:(E,R,N)=>{"use strict";const $=N(98221);const j=N(56202);class RequireEnsureDependenciesBlock extends ${constructor(E,R){super(E,R,null)}}j(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,R,N)=>{"use strict";const $=N(15196);const j=N(15427);const q=N(81058);const G=N(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(R=>{let N=null;let ie=null;let ae=null;switch(R.arguments.length){case 4:{const $=E.evaluateExpression(R.arguments[3]);if(!$.isString())return;N=$.string}case 3:{ie=R.arguments[2];ae=G(ie);if(!ae&&!N){const $=E.evaluateExpression(R.arguments[2]);if(!$.isString())return;N=$.string}}case 2:{const le=E.evaluateExpression(R.arguments[0]);const _e=le.isArray()?le.items:[le];const Ee=R.arguments[1];const we=G(Ee);if(we){E.walkExpressions(we.expressions)}if(ae){E.walkExpressions(ae.expressions)}const Me=new $(N,R.loc);const Ie=R.arguments.length===4||!N&&R.arguments.length===3;const Te=new j(R.range,R.arguments[1].range,Ie&&R.arguments[2].range);Te.loc=R.loc;Me.addDependency(Te);const Ne=E.state.current;E.state.current=Me;try{let N=false;E.inScope([],(()=>{for(const E of _e){if(E.isString()){const N=new q(E.string);N.loc=E.loc||R.loc;Me.addDependency(N)}else{N=true}}}));if(N){return}if(we){if(we.fn.body.type==="BlockStatement"){E.walkStatement(we.fn.body)}else{E.walkExpression(we.fn.body)}}Ne.addBlock(Me)}finally{E.state.current=Ne}if(!we){E.walkExpression(Ee)}if(ae){if(ae.fn.body.type==="BlockStatement"){E.walkStatement(ae.fn.body)}else{E.walkExpression(ae.fn.body)}}else if(ie){E.walkExpression(ie)}return true}}}))}}},15427:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class RequireEnsureDependency extends q{constructor(E,R,N){super();this.range=E;this.contentRange=R;this.errorHandlerRange=N}get type(){return"require.ensure"}serialize(E){const{write:R}=E;R(this.range);R(this.contentRange);R(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.contentRange=R();this.errorHandlerRange=R();super.deserialize(E)}}j(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.blockPromise({chunkGraph:q,block:ae,message:"require.ensure",runtimeRequirements:G});const _e=ie.range;const Ee=ie.contentRange;const we=ie.errorHandlerRange;R.replace(_e[0],Ee[0]-1,`${le}.then((`);if(we){R.replace(Ee[1],we[0]-1,").bind(null, __webpack_require__))['catch'](");R.replace(we[1],_e[1]-1,")")}else{R.replace(Ee[1],_e[1]-1,`).bind(null, __webpack_require__))['catch'](${$.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(12197);class RequireEnsureItemDependency extends j{constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}$(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=q.Template;E.exports=RequireEnsureItemDependency},51727:(E,R,N)=>{"use strict";const $=N(15427);const j=N(81058);const q=N(90616);const{evaluateToString:G,toConstantDependency:ie}=N(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,R);E.dependencyTemplates.set(j,new j.Template);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.requireEnsure!==undefined&&!R.requireEnsure)return;(new q).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",G("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ie(E,JSON.stringify("function")))};R.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class RequireHeaderDependency extends q{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}static deserialize(E){const R=new RequireHeaderDependency(E.read());R.deserialize(E);return R}}j(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const j=E;N.add($.require);R.replace(j.range[0],j.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,R,N)=>{"use strict";const $=N(28706);const j=N(58159);const q=N(56202);const G=N(79983);class RequireIncludeDependency extends G{constructor(E,R){super(E);this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}q(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends G.Template{apply(E,R,{runtimeTemplate:N}){const $=E;const q=N.outputOptions.pathinfo?j.toComment(`require.include ${N.requestShortener.shorten($.request)}`):"";R.replace($.range[0],$.range[1]-1,`undefined${q}`)}};E.exports=RequireIncludeDependency},1913:(E,R,N)=>{"use strict";const $=N(81627);const{evaluateToString:j,toConstantDependency:q}=N(48472);const G=N(56202);const ie=N(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:R}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(N=>{if(N.arguments.length!==1)return;const $=E.evaluateExpression(N.arguments[0]);if(!$.isString())return;if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}const j=new ie($.string,N.range);j.loc=N.loc;E.state.current.addDependency(j);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(N=>{if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}return j("function")(N)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(N=>{if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}return q(E,JSON.stringify("function"))(N)}))}};class RequireIncludeDeprecationWarning extends ${constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}G(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,R,N)=>{"use strict";const $=N(63556);const j=N(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.requireInclude===false)return;const N=R.requireInclude===undefined;new j(N).apply(E)};R.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(94148);class RequireResolveContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return"amd require context"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=q;E.exports=RequireResolveContextDependency},76913:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);const G=N(80791);class RequireResolveDependency extends q{constructor(E,R){super(E);this.range=R}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}}j(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=G;E.exports=RequireResolveDependency},23380:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class RequireResolveHeaderDependency extends j{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}static deserialize(E){const R=new RequireResolveHeaderDependency(E.read());R.deserialize(E);return R}}$(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends j.Template{apply(E,R,N){const $=E;R.replace($.range[0],$.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,R,N){N.replace(R.range[0],R.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class RuntimeRequirementsDependency extends j{constructor(E){super();this.runtimeRequirements=new Set(E);this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.runtimeRequirements=R();super.deserialize(E)}}$(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends j.Template{apply(E,R,{runtimeRequirements:N}){const $=E;for(const E of $.runtimeRequirements){N.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class StaticExportsDependency extends j{constructor(E,R){super();this.exports=E;this.canMangle=R}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:R}=E;R(this.exports);R(this.canMangle);super.serialize(E)}deserialize(E){const{read:R}=E;this.exports=R();this.canMangle=R();super.deserialize(E)}}$(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const{evaluateToString:q,expressionIsUnsupported:G,toConstantDependency:ie}=N(48472);const ae=N(56202);const le=N(66298);const _e=N(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:R})=>{E.hooks.runtimeRequirementInModule.for($.system).tap("SystemPlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.system).tap("SystemPlugin",((R,N)=>{E.addRuntimeModule(R,new _e)}));const handler=(E,R)=>{if(R.system===undefined||!R.system){return}const setNotSupported=R=>{E.hooks.evaluateTypeof.for(R).tap("SystemPlugin",q("undefined"));E.hooks.expression.for(R).tap("SystemPlugin",G(E,R+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",q("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ie(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(R=>{const N=new le($.system,R.range,[$.system]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(R=>{E.state.module.addWarning(new SystemImportDeprecationWarning(R.loc));return E.hooks.importCall.call({type:"ImportExpression",source:R.arguments[0],loc:R.loc,range:R.range})}))};R.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends j{constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}ae(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class SystemRuntimeModule extends j{constructor(){super("system")}generate(){return q.asString([`${$.system} = {`,q.indent(["import: function () {",q.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,R,N)=>{"use strict";const $=N(76150);const{getDependencyUsedByExportsCondition:j}=N(58018);const q=N(56202);const G=N(91671);const ie=N(79983);const ae=G((()=>N(22804)));class URLDependency extends ie{constructor(E,R,N,$){super(E);this.range=R;this.outerRange=N;this.relative=$||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return j(this,this.usedByExports,E)}createIgnoredModule(E){const R=ae();return new R('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([$.module]))}serialize(E){const{write:R}=E;R(this.outerRange);R(this.relative);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.outerRange=R();this.relative=R();this.usedByExports=R();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ie.Template{apply(E,R,N){const{chunkGraph:j,moduleGraph:q,runtimeRequirements:G,runtimeTemplate:ie,runtime:ae}=N;const le=E;const _e=q.getConnection(le);if(_e&&!_e.isTargetActive(ae)){R.replace(le.outerRange[0],le.outerRange[1]-1,"/* unused asset import */ undefined");return}G.add($.require);if(le.relative){G.add($.relativeUrl);R.replace(le.outerRange[0],le.outerRange[1]-1,`/* asset import */ new ${$.relativeUrl}(${ie.moduleRaw({chunkGraph:j,module:q.getModule(le),request:le.request,runtimeRequirements:G,weak:false})})`)}else{G.add($.baseURI);R.replace(le.range[0],le.range[1]-1,`/* asset import */ ${ie.moduleRaw({chunkGraph:j,module:q.getModule(le),request:le.request,runtimeRequirements:G,weak:false})}, ${$.baseURI}`)}}};q(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,R,N)=>{"use strict";const{approve:$}=N(48472);const j=N(58018);const q=N(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyTemplates.set(q,new q.Template);const parserCallback=(E,R)=>{if(R.url===false)return;const N=R.url==="relative";const getUrlRequest=R=>{if(R.arguments.length!==2)return;const[N,$]=R.arguments;if($.type!=="MemberExpression"||N.type==="SpreadElement")return;const j=E.extractMemberExpressionChain($);if(j.members.length!==1||j.object.type!=="MetaProperty"||j.object.meta.name!=="import"||j.object.property.name!=="meta"||j.members[0]!=="url")return;const q=E.evaluateExpression(N).asString();return q};E.hooks.canRename.for("URL").tap("URLPlugin",$);E.hooks.new.for("URL").tap("URLPlugin",(R=>{const $=R;const G=getUrlRequest($);if(!G)return;const[ie,ae]=$.arguments;const le=new q(G,[ie.range[0],ae.range[1]],$.range,N);le.loc=$.loc;E.state.module.addDependency(le);j.onUsage(E.state,(E=>le.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(R=>{const N=R;const{callee:$}=N;if($.type!=="Identifier")return;const j=E.getFreeInfoFromVariable($.name);if(!j||j.name!=="URL")return;const q=getUrlRequest(N);if(q)return true}))};R.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);R.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class UnsupportedDependency extends j{constructor(E,R){super();this.request=E;this.range=R}serialize(E){const{write:R}=E;R(this.request);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.range=R();super.deserialize(E)}}$(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N}){const $=E;R.replace($.range[0],$.range[1],N.missingModule({request:$.request}))}};E.exports=UnsupportedDependency},30697:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class WebAssemblyExportImportedDependency extends q{constructor(E,R,N,$){super(R);this.exportName=E;this.name=N;this.valueType=$}couldAffectReferencingModule(){return $.TRANSITIVE}getReferencedExports(E,R){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:R}=E;R(this.exportName);R(this.name);R(this.valueType);super.serialize(E)}deserialize(E){const{read:R}=E;this.exportName=R();this.name=R();this.valueType=R();super.deserialize(E)}}j(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,R,N)=>{"use strict";const $=N(56202);const j=N(59422);const q=N(79983);class WebAssemblyImportDependency extends q{constructor(E,R,N,$){super(E);this.name=R;this.description=N;this.onlyDirectImport=$}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,R){return[[this.name]]}getErrors(E){const R=E.getModule(this);if(this.onlyDirectImport&&R&&!R.type.startsWith("webassembly")){return[new j(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:R}=E;R(this.name);R(this.description);R(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:R}=E;this.name=R();this.description=R();this.onlyDirectImport=R();super.deserialize(E)}}$(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,R,N)=>{"use strict";const $=N(28706);const j=N(58159);const q=N(56202);const G=N(79983);class WebpackIsIncludedDependency extends G{constructor(E,R){super(E);this.weak=true;this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}q(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends G.Template{apply(E,R,{runtimeTemplate:N,chunkGraph:$,moduleGraph:q}){const G=E;const ie=q.getConnection(G);const ae=ie?$.getNumberOfModuleChunks(ie.module)>0:false;const le=N.outputOptions.pathinfo?j.toComment(`__webpack_is_included__ ${N.requestShortener.shorten(G.request)}`):"";R.replace(G.range[0],G.range[1]-1,`${le}${JSON.stringify(ae)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,R,N)=>{"use strict";const $=N(28706);const j=N(76150);const q=N(56202);const G=N(79983);class WorkerDependency extends G{constructor(E,R){super(E);this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends G.Template{apply(E,R,N){const{chunkGraph:$,moduleGraph:q,runtimeRequirements:G}=N;const ie=E;const ae=q.getParentBlock(E);const le=$.getBlockChunkGroup(ae);const _e=le.getEntrypointChunk();G.add(j.publicPath);G.add(j.baseURI);G.add(j.getChunkScriptFilename);R.replace(ie.range[0],ie.range[1]-1,`/* worker import */ ${j.publicPath} + ${j.getChunkScriptFilename}(${JSON.stringify(_e.id)}), ${j.baseURI}`)}};q(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,R,N)=>{"use strict";const{pathToFileURL:$}=N(57310);const j=N(98221);const q=N(47207);const G=N(53558);const ie=N(50369);const{equals:ae}=N(73910);const le=N(35891);const{contextify:_e}=N(49197);const Ee=N(69085);const we=N(66298);const Me=N(7257);const{harmonySpecifierTag:Ie}=N(29381);const Te=N(89017);const getUrl=E=>$(E.resource).toString();const Ne=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Be=new WeakMap;class WorkerPlugin{constructor(E,R,N){this._chunkLoading=E;this._wasmLoading=R;this._module=N}apply(E){if(this._chunkLoading){new ie(this._chunkLoading).apply(E)}if(this._wasmLoading){new Ee(this._wasmLoading).apply(E)}const R=_e.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(Te,N);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyTemplates.set(Me,new Me.Template);const parseModuleUrl=(E,R)=>{if(R.type!=="NewExpression"||R.callee.type==="Super"||R.arguments.length!==2)return;const[N,$]=R.arguments;if(N.type==="SpreadElement")return;if($.type==="SpreadElement")return;const j=E.evaluateExpression(R.callee);if(!j.isIdentifier()||j.identifier!=="URL")return;const q=E.evaluateExpression($);if(!q.isString()||!q.string.startsWith("file://")||q.string!==getUrl(E.state.module)){return}const G=E.evaluateExpression(N);return[G,[N.range[0],$.range[1]]]};const parseObjectExpression=(E,R)=>{const N={};const $={};const j=[];let q=false;for(const G of R.properties){if(G.type==="SpreadElement"){q=true}else if(G.type==="Property"&&!G.method&&!G.computed&&G.key.type==="Identifier"){$[G.key.name]=G.value;if(!G.shorthand&&!G.value.type.endsWith("Pattern")){const R=E.evaluateExpression(G.value);if(R.isCompileTimeValue())N[G.key.name]=R.asCompileTimeValue()}}else{j.push(G)}}const G=R.properties.length>0?"comma":"single";const ie=R.properties[R.properties.length-1].range[1];return{expressions:$,otherElements:j,values:N,spread:q,insertType:G,insertLocation:ie}};const parserPlugin=(N,$)=>{if($.worker===false)return;const ie=!Array.isArray($.worker)?["..."]:$.worker;const handleNewWorker=$=>{if($.arguments.length===0||$.arguments.length>2)return;const[ie,ae]=$.arguments;if(ie.type==="SpreadElement")return;if(ae&&ae.type==="SpreadElement")return;const _e=parseModuleUrl(N,ie);if(!_e)return;const[Ee,Ie]=_e;if(!Ee.isString())return;const{expressions:Ne,otherElements:Le,values:je,spread:ze,insertType:Ue,insertLocation:qe}=ae&&ae.type==="ObjectExpression"?parseObjectExpression(N,ae):{expressions:{},otherElements:[],values:{},spread:false,insertType:ae?"spread":"argument",insertLocation:ae?ae.range:ie.range[1]};const{options:Ge,errors:He}=N.parseCommentOptions($.range);if(He){for(const E of He){const{comment:R}=E;N.state.module.addWarning(new q(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${E.message}`,R.loc))}}let We={};if(Ge){if(Ge.webpackIgnore!==undefined){if(typeof Ge.webpackIgnore!=="boolean"){N.state.module.addWarning(new G(`\`webpackIgnore\` expected a boolean, but received: ${Ge.webpackIgnore}.`,$.loc))}else{if(Ge.webpackIgnore){return false}}}if(Ge.webpackEntryOptions!==undefined){if(typeof Ge.webpackEntryOptions!=="object"||Ge.webpackEntryOptions===null){N.state.module.addWarning(new G(`\`webpackEntryOptions\` expected a object, but received: ${Ge.webpackEntryOptions}.`,$.loc))}else{Object.assign(We,Ge.webpackEntryOptions)}}if(Ge.webpackChunkName!==undefined){if(typeof Ge.webpackChunkName!=="string"){N.state.module.addWarning(new G(`\`webpackChunkName\` expected a string, but received: ${Ge.webpackChunkName}.`,$.loc))}else{We.name=Ge.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(We,"name")&&je&&typeof je.name==="string"){We.name=je.name}if(We.runtime===undefined){let $=Be.get(N.state)||0;Be.set(N.state,$+1);let j=`${R(N.state.module.identifier())}|${$}`;const q=le(E.outputOptions.hashFunction);q.update(j);const G=q.digest(E.outputOptions.hashDigest);We.runtime=G.slice(0,E.outputOptions.hashDigestLength)}const Ve=new j({name:We.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...We}});Ve.loc=$.loc;const Ke=new Te(Ee.string,Ie);Ke.loc=$.loc;Ve.addDependency(Ke);N.state.module.addBlock(Ve);if(E.outputOptions.trustedTypes){const E=new Me($.arguments[0].range);E.loc=$.loc;N.state.module.addDependency(E)}if(Ne.type){const E=Ne.type;if(je.type!==false){const R=new we(this._module?'"module"':"undefined",E.range);R.loc=E.loc;N.state.module.addPresentationalDependency(R);Ne.type=undefined}}else if(Ue==="comma"){if(this._module||ze){const E=new we(`, type: ${this._module?'"module"':"undefined"}`,qe);E.loc=$.loc;N.state.module.addPresentationalDependency(E)}}else if(Ue==="spread"){const E=new we("Object.assign({}, ",qe[0]);const R=new we(`, { type: ${this._module?'"module"':"undefined"} })`,qe[1]);E.loc=$.loc;R.loc=$.loc;N.state.module.addPresentationalDependency(E);N.state.module.addPresentationalDependency(R)}else if(Ue==="argument"){if(this._module){const E=new we(', { type: "module" }',qe);E.loc=$.loc;N.state.module.addPresentationalDependency(E)}}N.walkExpression($.callee);for(const E of Object.keys(Ne)){if(Ne[E])N.walkExpression(Ne[E])}for(const E of Le){N.walkProperty(E)}if(Ue==="spread"){N.walkExpression(ae)}return true};const processItem=E=>{if(E.endsWith("()")){N.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const R=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(R){const E=R[1].split(".");const $=R[2];const j=R[3];($?N.hooks.call:N.hooks.new).for(Ie).tap("WorkerPlugin",(R=>{const $=N.currentTagData;if(!$||$.source!==j||!ae($.ids,E)){return}return handleNewWorker(R)}))}else{N.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ie){if(E==="..."){Ne.forEach(processItem)}else processItem(E)}};N.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);N.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const processExportInfo=(E,R,N,j,q=false,G=new Set)=>{if(!j){R.push(N);return}const ie=j.getUsed(E);if(ie===$.Unused)return;if(G.has(j)){R.push(N);return}G.add(j);if(ie!==$.OnlyPropertiesUsed||!j.exportsInfo||j.exportsInfo.otherExportsInfo.getUsed(E)!==$.Unused){G.delete(j);R.push(N);return}const ae=j.exportsInfo;for(const $ of ae.orderedExports){processExportInfo(E,R,q&&$.name==="default"?N:N.concat($.name),$,false,G)}G.delete(j)};E.exports=processExportInfo},25726:(E,R,N)=>{"use strict";const $=N(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new $("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new $("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new $("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,R,N)=>{"use strict";const $=N(81627);class BuildCycleError extends ${constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,R,N)=>{"use strict";const $=N(66804);class ExportWebpackRequireRuntimeModule extends ${constructor(){super("export webpack runtime",$.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(2991);const{RuntimeGlobals:q}=N(86443);const G=N(22352);const ie=N(58159);const{getCompilationHooks:ae,getChunkFilenameTemplate:le}=N(18161);const{generateEntryStartup:_e,updateHashForEntryStartup:Ee}=N(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((R,N)=>{if(R.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(R)>0){N.add(q.require);N.add(q.startupEntrypoint);N.add(q.externalInstallChunk)}}));const R=ae(E);R.renderChunk.tap("ModuleChunkFormatPlugin",((N,ae)=>{const{chunk:Ee,chunkGraph:we,runtimeTemplate:Me}=ae;const Ie=Ee instanceof G?Ee:null;const Te=new $;if(Ie){throw new Error("HMR is not implemented for module chunk format yet")}else{Te.add(`export const id = ${JSON.stringify(Ee.id)};\n`);Te.add(`export const ids = ${JSON.stringify(Ee.ids)};\n`);Te.add(`export const modules = `);Te.add(N);Te.add(`;\n`);const G=we.getChunkRuntimeModulesInOrder(Ee);if(G.length>0){Te.add("export const runtime =\n");Te.add(ie.renderChunkRuntimeModules(G,ae))}const Ie=Array.from(we.getChunkEntryModulesWithChunkGroupIterable(Ee));if(Ie.length>0){const N=Ie[0][1].getRuntimeChunk();const G=E.getPath(le(Ee,E.outputOptions),{chunk:Ee,contentHashType:"javascript"}).split("/");const ie=E.getPath(le(N,E.outputOptions),{chunk:N,contentHashType:"javascript"}).split("/");const Ne=G.pop();while(G.length>0&&ie.length>0&&G[0]===ie[0]){G.shift();ie.shift()}const Be=(G.length>0?"../".repeat(G.length):"./")+ie.join("/");const Le=new $;Le.add(Te);Le.add(";\n\n// load runtime\n");Le.add(`import __webpack_require__ from ${JSON.stringify(Be)};\n`);Le.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Ne)};\n`);Le.add(`${q.externalInstallChunk}(__webpack_self_exports__);\n`);const je=new j(_e(we,Me,Ie,Ee,false));Le.add(R.renderStartup.call(je,Ie[Ie.length-1][0],{...ae,inlined:false}));return Le}}return Te}));R.chunkHash.tap("ModuleChunkFormatPlugin",((E,R,{chunkGraph:N,runtimeTemplate:$})=>{if(E.hasRuntime())return;R.update("ModuleChunkFormatPlugin");R.update("1");const j=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));Ee(R,N,j,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,R,N)=>{"use strict";const $=N(76150);const j=N(33228);const q=N(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading||R;return $==="import"};const N=new WeakSet;const handler=(R,j)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;j.add($.moduleFactoriesAddOnly);j.add($.hasOwnProperty);E.addRuntimeModule(R,new q(j))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;E.addRuntimeModule(R,new j)}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(66804);const ie=N(58159);const{getChunkFilenameTemplate:ae,chunkHasJs:le}=N(18161);const{getInitialChunkIds:_e}=N(13085);const Ee=N(87274);const{getUndoPath:we}=N(49197);const Me=new WeakMap;class ModuleChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Me.get(E);if(R===undefined){R={linkPreload:new $(["source","chunk"]),linkPrefetch:new $(["source","chunk"])};Me.set(E,R)}return R}constructor(E){super("import chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:R}=this;const{runtimeTemplate:N,chunkGraph:$,outputOptions:{importFunctionName:j,importMetaName:G}}=E;const Me=q.ensureChunkHandlers;const Ie=this._runtimeRequirements.has(q.baseURI);const Te=this._runtimeRequirements.has(q.externalInstallChunk);const Ne=this._runtimeRequirements.has(q.ensureChunkHandlers);const Be=this._runtimeRequirements.has(q.onChunksLoaded);const Le=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const je=$.getChunkConditionMap(R,le);const ze=Ee(je);const Ue=_e(R,$);const qe=this.compilation.getPath(ae(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const Ge=we(qe,this.compilation.outputOptions.path,true);const He=Le?`${q.hmrRuntimeStatePrefix}_module`:undefined;return ie.asString([Ie?ie.asString([`${q.baseURI} = new URL(${JSON.stringify(Ge)}, ${G}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${He?`${He} = ${He} || `:""}{`,ie.indent(Array.from(Ue,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ne||Te?`var installChunk = ${N.basicFunction("data",[N.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ie.indent([`if(${q.hasOwnProperty}(modules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ie.indent(["chunkId = ids[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Be?`${q.onChunksLoaded}();`:""])}`:"// no install chunk","",Ne?ie.asString([`${Me}.j = ${N.basicFunction("chunkId, promises",ze!==false?ie.indent(["// import() chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[1]);"]),"} else {",ie.indent([ze===true?"if(true) { // all chunks have JS":`if(${ze("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = ${j}(${JSON.stringify(Ge)} + ${q.getChunkScriptFilename}(chunkId)).then(installChunk, ${N.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${N.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Te?ie.asString([`${q.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Be?`${q.onChunksLoaded}.j = ${N.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var R=undefined;var N=undefined;var $=undefined;var j=undefined;var q=undefined;var G=undefined;var ie=undefined;E.exports=function(){var E={};var ae=N;var le;var _e=[];var Ee=[];var we="idle";var Me;var Ie;var Te;$=E;R.push((function(E){var R=E.module;var N=createRequire(E.require,E.id);R.hot=createModuleHotObject(E.id,R);R.parents=_e;R.children=[];_e=[];E.require=N}));q={};G={};function createRequire(E,R){var N=ae[R];if(!N)return E;var fn=function($){if(N.hot.active){if(ae[$]){var j=ae[$].parents;if(j.indexOf(R)===-1){j.push(R)}}else{_e=[R];le=$}if(N.children.indexOf($)===-1){N.children.push($)}}else{console.warn("[HMR] unexpected require("+$+") from disposed module "+R);_e=[]}return E($)};var createPropertyDescriptor=function(R){return{configurable:true,enumerable:true,get:function(){return E[R]},set:function(N){E[R]=N}}};for(var $ in E){if(Object.prototype.hasOwnProperty.call(E,$)&&$!=="e"){Object.defineProperty(fn,$,createPropertyDescriptor($))}}fn.e=function(R){return trackBlockingPromise(E.e(R))};return fn}function createModuleHotObject(R,N){var $=le!==R;var j={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:$,_requireSelf:function(){_e=N.parents.slice();le=$?undefined:R;ie(R)},active:true,accept:function(E,R,N){if(E===undefined)j._selfAccepted=true;else if(typeof E==="function")j._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var $=0;$=0)j._disposeHandlers.splice(R,1)},invalidate:function(){this._selfInvalidated=true;switch(we){case"idle":Ie=[];Object.keys(G).forEach((function(E){G[E](R,Ie)}));setStatus("ready");break;case"ready":Object.keys(G).forEach((function(E){G[E](R,Ie)}));break;case"prepare":case"check":case"dispose":case"apply":(Te=Te||[]).push(R);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return we;Ee.push(E)},addStatusHandler:function(E){Ee.push(E)},removeStatusHandler:function(E){var R=Ee.indexOf(E);if(R>=0)Ee.splice(R,1)},data:E[R]};le=undefined;return j}function setStatus(E){we=E;var R=[];for(var N=0;N0){return setStatus("abort").then((function(){throw N[0]}))}var $=setStatus("dispose");R.forEach((function(E){if(E.dispose)E.dispose()}));var j=setStatus("apply");var q;var reportError=function(E){if(!q)q=E};var G=[];R.forEach((function(E){if(E.apply){var R=E.apply(reportError);if(R){for(var N=0;N{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class HotModuleReplacementRuntimeModule extends j{constructor(){super("hot module replacement",j.STAGE_BASIC)}generate(){return q.getFunctionContent(N(49464)).replace(/\$getFullHash\$/g,$.getFullHash).replace(/\$interceptModuleExecution\$/g,$.interceptModuleExecution).replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,$.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var R=undefined;var N=undefined;var $=undefined;var j=undefined;var q=undefined;var G=undefined;var ie=undefined;var ae=undefined;var le=undefined;var _e=undefined;E.exports=function(){var E;var Ee;var we;var Me;function applyHandler(N){if(q)delete q.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var R=[E];var N={};var j=R.map((function(E){return{chain:[E],id:E}}));while(j.length>0){var q=j.pop();var G=q.id;var ie=q.chain;var ae=$[G];if(!ae||ae.hot._selfAccepted&&!ae.hot._selfInvalidated)continue;if(ae.hot._selfDeclined){return{type:"self-declined",chain:ie,moduleId:G}}if(ae.hot._main){return{type:"unaccepted",chain:ie,moduleId:G}}for(var le=0;le ")}switch(Le.type){case"self-declined":if(N.onDeclined)N.onDeclined(Le);if(!N.ignoreDeclined)je=new Error("Aborted because of self decline: "+Le.moduleId+qe);break;case"declined":if(N.onDeclined)N.onDeclined(Le);if(!N.ignoreDeclined)je=new Error("Aborted because of declined dependency: "+Le.moduleId+" in "+Le.parentId+qe);break;case"unaccepted":if(N.onUnaccepted)N.onUnaccepted(Le);if(!N.ignoreUnaccepted)je=new Error("Aborted because "+Ne+" is not accepted"+qe);break;case"accepted":if(N.onAccepted)N.onAccepted(Le);ze=true;break;case"disposed":if(N.onDisposed)N.onDisposed(Le);Ue=true;break;default:throw new Error("Unexception type "+Le.type)}if(je){return{error:je}}if(ze){Ie[Ne]=Be;addAllToSet(le,Le.outdatedModules);for(Ne in Le.outdatedDependencies){if(G(Le.outdatedDependencies,Ne)){if(!ae[Ne])ae[Ne]=[];addAllToSet(ae[Ne],Le.outdatedDependencies[Ne])}}}if(Ue){addAllToSet(le,[Le.moduleId]);Ie[Ne]=Te}}}Ee=undefined;var Ge=[];for(var He=0;He0){var j=N.pop();var q=$[j];if(!q)continue;var _e={};var Ee=q.hot._disposeHandlers;for(He=0;He=0){Me.parents.splice(E,1)}}}var Ie;for(var Te in ae){if(G(ae,Te)){q=$[Te];if(q){Ke=ae[Te];for(He=0;He=0)q.children.splice(E,1)}}}}},apply:function(E){for(var R in Ie){if(G(Ie,R)){j[R]=Ie[R]}}for(var q=0;q{"use strict";const{RawSource:$}=N(2991);const j=N(98221);const q=N(28706);const G=N(53453);const ie=N(40674);const ae=N(76150);const le=N(58159);const _e=N(37313);const{registerNotSerializable:Ee}=N(24568);const we=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R)}if(typeof E==="string"){const N=R.nameForCondition();return N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.nameForCondition();return N&&E.test(N)}return false};const Me=new Set(["javascript"]);class LazyCompilationDependency extends q{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}Ee(LazyCompilationDependency);class LazyCompilationProxyModule extends G{constructor(E,R,N,$,j,q){super("lazy-compilation-proxy",E,R.layer);this.originalModule=R;this.request=N;this.client=$;this.data=j;this.active=q}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.originalModule=R.originalModule;this.request=R.request;this.client=R.client;this.data=R.data;this.active=R.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,R){R(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,R,N,$,q){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const G=new _e(this.client);this.addDependency(G);if(this.active){const E=new LazyCompilationDependency(this);const R=new j({});R.addDependency(E);this.addBlock(R)}q()}getSourceTypes(){return Me}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:R,moduleGraph:N}){const j=new Map;const q=new Set;q.add(ae.module);const G=this.dependencies[0];const ie=N.getModule(G);const _e=this.blocks[0];const Ee=le.asString([`var client = ${E.moduleExports({module:ie,chunkGraph:R,request:G.userRequest,runtimeRequirements:q})}`,`var data = ${JSON.stringify(this.data)};`]);const we=le.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!_e)}, module: module, onError: onError });`]);let Me;if(_e){const $=_e.dependencies[0];const j=N.getModule($);Me=le.asString([Ee,`module.exports = ${E.moduleNamespacePromise({chunkGraph:R,block:_e,module:j,request:this.request,strict:false,message:"import()",runtimeRequirements:q})};`,"if (module.hot) {",le.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(R.getModuleId(j))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",we])}else{Me=le.asString([Ee,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",le.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",we])}j.set("javascript",new $(Me));return{sources:j,runtimeRequirements:q}}updateHash(E,R){super.updateHash(E,R);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}Ee(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ie{constructor(E){super();this._factory=E}create(E,R){const N=E.dependencies[0];R(null,{module:N.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,entries:R,imports:N,test:$}){this.backend=E;this.entries=R;this.imports=N;this.test=$}apply(E){let R;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((N,$)=>{if(R!==undefined)return $();const j=this.backend(E,((E,N)=>{if(E)return $(E);R=N;$()}));if(j&&j.then){j.then((E=>{R=E;$()}),$)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((N,{normalModuleFactory:$})=>{$.hooks.module.tap("LazyCompilationPlugin",((N,$,j)=>{if(j.dependencies.every((E=>we.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(j.request)&&checkTest(this.test,N)){const $=R.module(N);if(!$)return;const{client:q,data:G,active:ie}=$;return new LazyCompilationProxyModule(E.context,N,j.request,q,G,ie)}}));N.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{R.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,R,N)=>{"use strict";E.exports=E=>(R,$)=>{const j=R.getInfrastructureLogger("LazyCompilationBackend");const q=new Map;const G="/lazy-compilation-using-";const ie=E.protocol==="https"||typeof E.server==="object"&&("key"in E.server||"pfx"in E.server);const ae=typeof E.server==="function"?E.server:(()=>{const R=ie?N(95687):N(13685);return R.createServer.bind(R,E.server)})();const le=typeof E.listen==="function"?E.listen:R=>{let N=E.listen;if(typeof N==="object"&&!("port"in N))N={...N,port:undefined};R.listen(N)};const _e=E.protocol||(ie?"https":"http");const requestListener=(E,N)=>{const $=E.url.slice(G.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const E of $){const R=q.get(E)||0;q.set(E,R-1);if(R===1){j.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);N.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});N.write("\n");let ie=false;for(const E of $){const R=q.get(E)||0;q.set(E,R+1);if(R===0){j.log(`${E} is now in use and will be compiled.`);ie=true}}if(ie&&R.watching)R.watching.invalidate()};const Ee=ae();Ee.on("request",requestListener);let we=false;const Me=new Set;Ee.on("connection",(E=>{Me.add(E);E.on("close",(()=>{Me.delete(E)}));if(we)E.destroy()}));Ee.on("clientError",(E=>{if(E.message!=="Server is disposing")j.warn(E)}));Ee.on("listening",(R=>{if(R)return $(R);const N=Ee.address();if(typeof N==="string")throw new Error("addr must not be a string");const ie=N.address==="::"||N.address==="0.0.0.0"?`${_e}://localhost:${N.port}`:N.family==="IPv6"?`${_e}://[${N.address}]:${N.port}`:`${_e}://${N.address}:${N.port}`;j.log(`Server-Sent-Events server for lazy compilation open at ${ie}.`);$(null,{dispose(E){we=true;Ee.off("request",requestListener);Ee.close((R=>{E(R)}));for(const E of Me){E.destroy(new Error("Server is disposing"))}},module(R){const N=`${encodeURIComponent(R.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const $=q.get(N)>0;return{client:`${E.client}?${encodeURIComponent(ie+G)}`,data:N,active:$}}})}));le(Ee)}},30484:(E,R,N)=>{"use strict";const{find:$}=N(26221);const{compareModulesByPreOrderIndexOrIdentifier:j,compareModulesByPostOrderIndexOrIdentifier:q}=N(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const N=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(G=>{const ie=E.chunkGraph;const ae=$(E.chunks,(E=>E.name===R.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${R.name}"' was not found`)}let le;if(R.order){let E;switch(R.order){case"index":case"preOrderIndex":E=j(N);break;case"index2":case"postOrderIndex":E=q(N);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}le=ie.getOrderedChunkModules(ae,E)}else{le=Array.from(G).filter((E=>ie.isModuleInChunk(E,ae))).sort(j(N))}let _e=R.start||0;for(let E=0;ER.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{getFullChunkName:j,getUsedChunkIds:q,assignDeterministicIds:G}=N(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(R=>{R.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(N=>{const ie=R.chunkGraph;const ae=this.options.context?this.options.context:E.context;const le=this.options.maxLength||3;const _e=$(ie);const Ee=q(R);G(Array.from(N).filter((E=>E.id===null)),(R=>j(R,ie,ae,E.root)),_e,((E,R)=>{const N=Ee.size;Ee.add(`${R}`);if(N===Ee.size)return false;E.id=R;E.ids=[R];return true}),[Math.pow(10,le)],10,Ee.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,R,N)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const{getUsedModuleIds:j,getFullModuleName:q,assignDeterministicIds:G}=N(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(R=>{R.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(N=>{const ie=R.chunkGraph;const ae=this.options.context?this.options.context:E.context;const le=this.options.maxLength||3;const _e=j(R);G(Array.from(N).filter((E=>{if(!E.needId)return false;if(ie.getNumberOfModuleChunks(E)===0)return false;return ie.getModuleId(E)===null})),(R=>q(R,ae,E.root)),$(R.moduleGraph),((E,R)=>{const N=_e.size;_e.add(`${R}`);if(N===_e.size)return false;ie.setModuleId(E,R);return true}),[Math.pow(10,le)],10,_e.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,R,N)=>{"use strict";E=N.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const j=N(35817);const q=N(35891);const{getUsedModuleIds:G,getFullModuleName:ie}=N(30328);const ae=j(N(42959),(()=>N(39586)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){ae(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(R){const N=this.options;R.hooks.compilation.tap("HashedModuleIdsPlugin",(j=>{j.hooks.moduleIds.tap("HashedModuleIdsPlugin",(ae=>{const le=j.chunkGraph;const _e=this.options.context?this.options.context:R.context;const Ee=G(j);const we=Array.from(ae).filter((R=>{if(!R.needId)return false;if(le.getNumberOfModuleChunks(R)===0)return false;return le.getModuleId(E)===null})).sort($(j.moduleGraph));for(const E of we){const $=ie(E,_e,R.root);const j=q(N.hashFunction);j.update($||"");const G=j.digest(N.hashDigest);let ae=N.hashDigestLength;while(Ee.has(G.substr(0,ae)))ae++;const we=G.substr(0,ae);le.setModuleId(E,we);Ee.add(we)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,R,N)=>{"use strict";const $=N(35891);const{makePathsRelative:j}=N(49197);const q=N(12631);const getHash=(E,R,N)=>{const j=$(N);j.update(E);const q=j.digest("hex");return q.substr(0,R)};const avoidNumber=E=>{if(E.length>21)return E;const R=E.charCodeAt(0);if(R<49){if(R!==45)return E}else if(R>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");R.requestToId=requestToId;const shortenLongString=(E,R,N)=>{if(E.length<100)return E;return E.slice(0,100-6-R.length)+R+getHash(E,6,N)};const getShortModuleName=(E,R,N)=>{const $=E.libIdent({context:R,associatedObjectForCache:N});if($)return avoidNumber($);const q=E.nameForCondition();if(q)return avoidNumber(j(R,q,N));return""};R.getShortModuleName=getShortModuleName;const getLongModuleName=(E,R,N,$,j)=>{const q=getFullModuleName(R,N,j);return`${E}?${getHash(q,4,$)}`};R.getLongModuleName=getLongModuleName;const getFullModuleName=(E,R,N)=>j(R,E.identifier(),N);R.getFullModuleName=getFullModuleName;const getShortChunkName=(E,R,N,$,j,q)=>{const G=R.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,N,q))));E.idNameHints.sort();const ae=Array.from(E.idNameHints).concat(ie).filter(Boolean).join($);return shortenLongString(ae,$,j)};R.getShortChunkName=getShortChunkName;const getLongChunkName=(E,R,N,$,j,q)=>{const G=R.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,N,q))));const ae=G.map((E=>requestToId(getLongModuleName("",E,N,j,q))));E.idNameHints.sort();const le=Array.from(E.idNameHints).concat(ie,ae).filter(Boolean).join($);return shortenLongString(le,$,j)};R.getLongChunkName=getLongChunkName;const getFullChunkName=(E,R,N,$)=>{if(E.name)return E.name;const q=R.getChunkRootModules(E);const G=q.map((E=>j(N,E.identifier(),$)));return G.join()};R.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,R,N)=>{let $=E.get(R);if($===undefined){$=[];E.set(R,$)}$.push(N)};const getUsedModuleIds=E=>{const R=E.chunkGraph;const N=new Set;if(E.usedModuleIds){for(const R of E.usedModuleIds){N.add(R+"")}}for(const $ of E.modules){const E=R.getModuleId($);if(E!==null){N.add(E+"")}}return N};R.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const R=new Set;if(E.usedChunkIds){for(const N of E.usedChunkIds){R.add(N+"")}}for(const N of E.chunks){const E=N.id;if(E!==null){R.add(E+"")}}return R};R.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,R,N,$,j,q)=>{const G=new Map;for(const N of E){const E=R(N);addToMapOfItems(G,E,N)}const ie=new Map;for(const[E,R]of G){if(R.length>1||!E){for(const $ of R){const R=N($,E);addToMapOfItems(ie,R,$)}}else{addToMapOfItems(ie,E,R[0])}}const ae=[];for(const[E,R]of ie){if(!E){for(const E of R){ae.push(E)}}else if(R.length===1&&!j.has(E)){q(R[0],E);j.add(E)}else{R.sort($);let N=0;for(const $ of R){while(ie.has(E+N)&&j.has(E+N))N++;q($,E+N);j.add(E+N);N++}}}ae.sort($);return ae};R.assignNames=assignNames;const assignDeterministicIds=(E,R,N,$,j=[10],G=10,ie=0)=>{E.sort(N);const ae=Math.min(Math.ceil(E.length*20)+ie,Number.MAX_SAFE_INTEGER);let le=0;let _e=j[le];while(_e{const N=R.chunkGraph;const $=getUsedModuleIds(R);let j=0;let q;if($.size>0){q=E=>{if(N.getModuleId(E)===null){while($.has(j+""))j++;N.setModuleId(E,j++)}}}else{q=E=>{if(N.getModuleId(E)===null){N.setModuleId(E,j++)}}}for(const R of E){q(R)}};R.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,R)=>{const N=getUsedChunkIds(R);let $=0;if(N.size>0){for(const R of E){if(R.id===null){while(N.has($+""))$++;R.id=$;R.ids=[$];$++}}}else{for(const R of E){if(R.id===null){R.id=$;R.ids=[$];$++}}}};R.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{getShortChunkName:j,getLongChunkName:q,assignNames:G,getUsedChunkIds:ie,assignAscendingChunkIds:ae}=N(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(R=>{const{hashFunction:N}=R.outputOptions;R.hooks.chunkIds.tap("NamedChunkIdsPlugin",(le=>{const _e=R.chunkGraph;const Ee=this.context?this.context:E.context;const we=this.delimiter;const Me=G(Array.from(le).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(R=>j(R,_e,Ee,we,N,E.root)),(R=>q(R,_e,Ee,we,N,E.root)),$(_e),ie(R),((E,R)=>{E.id=R;E.ids=[R]}));if(Me.length>0){ae(Me,R)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,R,N)=>{"use strict";const{compareModulesByIdentifier:$}=N(68673);const{getShortModuleName:j,getLongModuleName:q,assignNames:G,getUsedModuleIds:ie,assignAscendingModuleIds:ae}=N(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:R}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(N=>{const{hashFunction:le}=N.outputOptions;N.hooks.moduleIds.tap("NamedModuleIdsPlugin",(_e=>{const Ee=N.chunkGraph;const we=this.options.context?this.options.context:E.context;const Me=G(Array.from(_e).filter((E=>{if(!E.needId)return false;if(Ee.getNumberOfModuleChunks(E)===0)return false;return Ee.getModuleId(E)===null})),(E=>j(E,we,R)),((E,N)=>q(N,E,we,le,R)),$,ie(N),((E,R)=>Ee.setModuleId(E,R)));if(Me.length>0){ae(Me,N)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{assignAscendingChunkIds:j}=N(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(R=>{const N=E.chunkGraph;const q=$(N);const G=Array.from(R).sort(q);j(G,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,R,N)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const{assignAscendingModuleIds:j}=N(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(R=>{const N=E.chunkGraph;const q=Array.from(R).filter((E=>E.needId&&N.getNumberOfModuleChunks(E)>0&&N.getModuleId(E)===null)).sort($(E.moduleGraph));j(q,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const j=N(35817);const{assignAscendingChunkIds:q}=N(30328);const G=j(N(18511),(()=>N(9659)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const R=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(N=>{const j=E.chunkGraph;const G=new Map;const ie=$(j);for(const E of N){let R=0;for(const N of E.groupsIterable){for(const E of N.parentsIterable){if(E.isInitial())R++}}G.set(E,R)}const ae=Array.from(N).sort(((E,N)=>{if(R){const R=G.get(E);const $=G.get(N);if(R>$)return-1;if(R<$)return 1}const $=E.getNumberOfGroups();const j=N.getNumberOfGroups();if($>j)return-1;if(${"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const j=N(35817);const{assignAscendingModuleIds:q}=N(30328);const G=j(N(52042),(()=>N(37931)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const R=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const N=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(j=>{const G=E.chunkGraph;const ie=Array.from(j).filter((E=>E.needId&&G.getNumberOfModuleChunks(E)>0&&G.getModuleId(E)===null));const ae=new Map;const le=new Map;const _e=new Map;const Ee=new Map;for(const E of ie){let R=0;let N=0;for(const $ of G.getModuleChunksIterable(E)){if($.canBeInitial())R++;if(G.isEntryModuleInChunk(E,$))N++}_e.set(E,R);Ee.set(E,N)}const countOccursInEntry=E=>{let R=0;for(const[$,j]of N.getIncomingConnectionsByOriginModule(E)){if(!$)continue;if(!j.some((E=>E.isTargetActive(undefined))))continue;R+=_e.get($)}return R};const countOccurs=E=>{let R=0;for(const[$,j]of N.getIncomingConnectionsByOriginModule(E)){if(!$)continue;const E=G.getNumberOfModuleChunks($);for(const N of j){if(!N.isTargetActive(undefined))continue;if(!N.dependency)continue;const $=N.dependency.getNumberOfIdOccurrences();if($===0)continue;R+=$*E}}return R};if(R){for(const E of ie){const R=countOccursInEntry(E)+_e.get(E)+Ee.get(E);ae.set(E,R)}}for(const E of j){const R=countOccurs(E)+G.getNumberOfModuleChunks(E)+Ee.get(E);le.set(E,R)}const we=$(E.moduleGraph);ie.sort(((E,N)=>{if(R){const R=ae.get(E);const $=ae.get(N);if(R>$)return-1;if(R<$)return 1}const $=le.get(E);const j=le.get(N);if($>j)return-1;if(${"use strict";const $=N(73837);const j=N(91671);const lazyFunction=E=>{const R=j(E);const f=(...E)=>R()(...E);return f};const mergeExports=(E,R)=>{const N=Object.getOwnPropertyDescriptors(R);for(const R of Object.keys(N)){const $=N[R];if($.get){const N=$.get;Object.defineProperty(E,R,{configurable:false,enumerable:true,get:j(N)})}else if(typeof $.value==="object"){Object.defineProperty(E,R,{configurable:false,enumerable:true,writable:false,value:mergeExports({},$.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const q=lazyFunction((()=>N(2982)));E.exports=mergeExports(q,{get webpack(){return N(2982)},get validate(){const E=N(63221);const R=j((()=>{const E=N(33316);const R=N(46312);return N=>E(R,N)}));return N=>{if(!E(N))R()(N)}},get validateSchema(){const E=N(33316);return E},get version(){return N(37589).i8},get cli(){return N(61634)},get AutomaticPrefetchPlugin(){return N(20383)},get AsyncDependenciesBlock(){return N(98221)},get BannerPlugin(){return N(58779)},get Cache(){return N(54725)},get Chunk(){return N(62433)},get ChunkGraph(){return N(45137)},get CleanPlugin(){return N(61666)},get Compilation(){return N(3080)},get Compiler(){return N(63076)},get ConcatenationScope(){return N(77294)},get ContextExclusionPlugin(){return N(51709)},get ContextReplacementPlugin(){return N(26552)},get DefinePlugin(){return N(24820)},get DelegatedPlugin(){return N(82354)},get Dependency(){return N(28706)},get DllPlugin(){return N(73887)},get DllReferencePlugin(){return N(83515)},get DynamicEntryPlugin(){return N(85227)},get EntryOptionPlugin(){return N(64699)},get EntryPlugin(){return N(59674)},get EnvironmentPlugin(){return N(64856)},get EvalDevToolModulePlugin(){return N(91331)},get EvalSourceMapDevToolPlugin(){return N(23641)},get ExternalModule(){return N(16734)},get ExternalsPlugin(){return N(61050)},get Generator(){return N(36253)},get HotUpdateChunk(){return N(22352)},get HotModuleReplacementPlugin(){return N(79972)},get IgnorePlugin(){return N(69276)},get JavascriptModulesPlugin(){return $.deprecate((()=>N(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return N(77750)},get LibraryTemplatePlugin(){return $.deprecate((()=>N(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return N(19674)},get LoaderTargetPlugin(){return N(97736)},get Module(){return N(53453)},get ModuleFilenameHelpers(){return N(70354)},get ModuleGraph(){return N(75412)},get ModuleGraphConnection(){return N(79900)},get NoEmitOnErrorsPlugin(){return N(66962)},get NormalModule(){return N(53520)},get NormalModuleReplacementPlugin(){return N(92234)},get MultiCompiler(){return N(63433)},get Parser(){return N(2172)},get PrefetchPlugin(){return N(13125)},get ProgressPlugin(){return N(52923)},get ProvidePlugin(){return N(40313)},get RuntimeGlobals(){return N(76150)},get RuntimeModule(){return N(66804)},get SingleEntryPlugin(){return $.deprecate((()=>N(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return N(2e4)},get Stats(){return N(10140)},get Template(){return N(58159)},get UsageState(){return N(76632).UsageState},get WatchIgnorePlugin(){return N(91265)},get WebpackError(){return N(81627)},get WebpackOptionsApply(){return N(81721)},get WebpackOptionsDefaulter(){return $.deprecate((()=>N(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return N(15235).ValidationError},get ValidationError(){return N(15235).ValidationError},cache:{get MemoryCachePlugin(){return N(47786)}},config:{get getNormalizedWebpackOptions(){return N(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return N(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return N(79983)},get ConstDependency(){return N(66298)},get NullDependency(){return N(12197)}},ids:{get ChunkModuleIdRangePlugin(){return N(30484)},get NaturalModuleIdsPlugin(){return N(97781)},get OccurrenceModuleIdsPlugin(){return N(76059)},get NamedModuleIdsPlugin(){return N(9297)},get DeterministicChunkIdsPlugin(){return N(90444)},get DeterministicModuleIdsPlugin(){return N(35579)},get NamedChunkIdsPlugin(){return N(64779)},get OccurrenceChunkIdsPlugin(){return N(86169)},get HashedModuleIdsPlugin(){return N(35853)}},javascript:{get EnableChunkLoadingPlugin(){return N(50369)},get JavascriptModulesPlugin(){return N(18161)},get JavascriptParser(){return N(3711)}},optimize:{get AggressiveMergingPlugin(){return N(61332)},get AggressiveSplittingPlugin(){return $.deprecate((()=>N(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return N(58018)},get LimitChunkCountPlugin(){return N(92922)},get MinChunkSizePlugin(){return N(52383)},get ModuleConcatenationPlugin(){return N(35442)},get RealContentHashPlugin(){return N(30699)},get RuntimeChunkPlugin(){return N(4674)},get SideEffectsFlagPlugin(){return N(63410)},get SplitChunksPlugin(){return N(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return N(9609)},get LoadScriptRuntimeModule(){return N(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return N(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return N(52687)},get FetchCompileWasmPlugin(){return N(71100)},get JsonpChunkLoadingRuntimeModule(){return N(4038)},get JsonpTemplatePlugin(){return N(58421)}},webworker:{get WebWorkerTemplatePlugin(){return N(67439)}},node:{get NodeEnvironmentPlugin(){return N(93632)},get NodeSourcePlugin(){return N(92662)},get NodeTargetPlugin(){return N(84980)},get NodeTemplatePlugin(){return N(91591)},get ReadFileCompileWasmPlugin(){return N(71049)}},electron:{get ElectronTargetPlugin(){return N(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return N(82422)}},library:{get AbstractLibraryPlugin(){return N(9786)},get EnableLibraryPlugin(){return N(13984)}},container:{get ContainerPlugin(){return N(10419)},get ContainerReferencePlugin(){return N(68839)},get ModuleFederationPlugin(){return N(8019)},get scope(){return N(97264).scope}},sharing:{get ConsumeSharedPlugin(){return N(71968)},get ProvideSharedPlugin(){return N(48151)},get SharePlugin(){return N(16471)},get scope(){return N(97264).scope}},debug:{get ProfilingPlugin(){return N(26802)}},util:{get createHash(){return N(35891)},get comparators(){return N(68673)},get runtime(){return N(37416)},get serialization(){return N(24568)},get cleverMerge(){return N(90149).cachedCleverMerge},get LazySet(){return N(83379)}},get sources(){return N(2991)},experiments:{schemes:{get HttpUriPlugin(){return N(7201)}}}})},41113:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j,RawSource:q}=N(2991);const{RuntimeGlobals:G}=N(86443);const ie=N(22352);const ae=N(58159);const{getCompilationHooks:le}=N(18161);const{generateEntryStartup:_e,updateHashForEntryStartup:Ee}=N(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;if(N.getNumberOfEntryModules(E)>0){R.add(G.onChunksLoaded);R.add(G.require)}R.add(G.chunkCallback)}));const R=le(E);R.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((N,le)=>{const{chunk:Ee,chunkGraph:we,runtimeTemplate:Me}=le;const Ie=Ee instanceof ie?Ee:null;const Te=Me.outputOptions.globalObject;const Ne=new $;const Be=we.getChunkRuntimeModulesInOrder(Ee);if(Ie){const E=Me.outputOptions.hotUpdateGlobal;Ne.add(`${Te}[${JSON.stringify(E)}](`);Ne.add(`${JSON.stringify(Ee.id)},`);Ne.add(N);if(Be.length>0){Ne.add(",\n");const E=ae.renderChunkRuntimeModules(Be,le);Ne.add(E)}Ne.add(")")}else{const ie=Me.outputOptions.chunkLoadingGlobal;Ne.add(`(${Te}[${JSON.stringify(ie)}] = ${Te}[${JSON.stringify(ie)}] || []).push([`);Ne.add(`${JSON.stringify(Ee.ids)},`);Ne.add(N);const Ie=Array.from(we.getChunkEntryModulesWithChunkGroupIterable(Ee));if(Be.length>0||Ie.length>0){const N=new $((Me.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n");if(Be.length>0){N.add(ae.renderRuntimeModules(Be,{...le,codeGenerationResults:E.codeGenerationResults}))}if(Ie.length>0){const E=new q(_e(we,Me,Ie,Ee,true));N.add(R.renderStartup.call(E,Ie[Ie.length-1][0],{...le,inlined:false}));if(we.getChunkRuntimeRequirements(Ee).has(G.returnExportsFromRuntime)){N.add("return __webpack_exports__;\n")}}N.add("}\n");Ne.add(",\n");Ne.add(new j("/******/ ",N))}Ne.add("])")}return Ne}));R.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,R,{chunkGraph:N,runtimeTemplate:$})=>{if(E.hasRuntime())return;R.update(`ArrayPushCallbackChunkFormatPlugin1${$.outputOptions.chunkLoadingGlobal}${$.outputOptions.hotUpdateGlobal}${$.outputOptions.globalObject}`);const j=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));Ee(R,N,j,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const R=0;const N=1;const $=2;const j=3;const q=4;const G=5;const ie=6;const ae=7;const le=8;const _e=9;const Ee=10;const we=11;const Me=12;const Ie=13;class BasicEvaluatedExpression{constructor(){this.type=R;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===R}isNull(){return this.type===$}isUndefined(){return this.type===N}isString(){return this.type===j}isNumber(){return this.type===q}isBigInt(){return this.type===Ie}isBoolean(){return this.type===G}isRegExp(){return this.type===ie}isConditional(){return this.type===ae}isArray(){return this.type===le}isConstArray(){return this.type===_e}isIdentifier(){return this.type===Ee}isWrapped(){return this.type===we}isTemplateString(){return this.type===Me}isPrimitiveType(){switch(this.type){case N:case $:case j:case q:case G:case Ie:case we:case Me:return true;case ie:case le:case _e:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case N:case $:case j:case q:case G:case ie:case _e:case Ie:return true;default:return false}}asCompileTimeValue(){switch(this.type){case N:return undefined;case $:return null;case j:return this.string;case q:return this.number;case G:return this.bool;case ie:return this.regExp;case _e:return this.array;case Ie:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const R of this.items){const N=R.asString();if(N===undefined)return undefined;E.push(N)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const R of this.parts){const N=R.asString();if(N===undefined)return undefined;E+=N}return E}return undefined}setString(E){this.type=j;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=N;this.sideEffects=false;return this}setNull(){this.type=$;this.sideEffects=false;return this}setNumber(E){this.type=q;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=Ie;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=G;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ie;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,R,N){this.type=Ee;this.identifier=E;this.rootInfo=R;this.getMembers=N;this.sideEffects=true;return this}setWrapped(E,R,N){this.type=we;this.prefix=E;this.postfix=R;this.wrappedInnerExpressions=N;this.sideEffects=true;return this}setOptions(E){this.type=ae;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const R of E){this.options.push(R)}return this}setItems(E){this.type=le;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=_e;this.array=E;this.sideEffects=false;return this}setTemplateString(E,R,N){this.type=Me;this.quasis=E;this.parts=R;this.templateStringKind=N;this.sideEffects=R.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;if(E)return this.setFalsy();return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const R=E.length;if(R===0)return true;if(R>4)return false;let N=0;for(let $=0;${"use strict";const{ConcatSource:$,RawSource:j}=N(2991);const q=N(76150);const G=N(58159);const{getChunkFilenameTemplate:ie,getCompilationHooks:ae}=N(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=N(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;if(N.getNumberOfEntryModules(E)>0){R.add(q.require);R.add(q.startupEntrypoint);R.add(q.externalInstallChunk)}}));const R=ae(E);R.renderChunk.tap("CommonJsChunkFormatPlugin",((N,ae)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:we}=ae;const Me=new $;Me.add(`exports.id = ${JSON.stringify(_e.id)};\n`);Me.add(`exports.ids = ${JSON.stringify(_e.ids)};\n`);Me.add(`exports.modules = `);Me.add(N);Me.add(";\n");const Ie=Ee.getChunkRuntimeModulesInOrder(_e);if(Ie.length>0){Me.add("exports.runtime =\n");Me.add(G.renderChunkRuntimeModules(Ie,ae))}const Te=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(Te.length>0){const N=Te[0][1].getRuntimeChunk();const G=E.getPath(ie(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const Ie=E.getPath(ie(N,E.outputOptions),{chunk:N,contentHashType:"javascript"}).split("/");G.pop();while(G.length>0&&Ie.length>0&&G[0]===Ie[0]){G.shift();Ie.shift()}const Ne=(G.length>0?"../".repeat(G.length):"./")+Ie.join("/");const Be=new $;Be.add(`(${we.supportsArrowFunction()?"() => ":"function() "}{\n`);Be.add("var exports = {};\n");Be.add(Me);Be.add(";\n\n// load runtime\n");Be.add(`var __webpack_require__ = require(${JSON.stringify(Ne)});\n`);Be.add(`${q.externalInstallChunk}(exports);\n`);const Le=new j(le(Ee,we,Te,_e,false));Be.add(R.renderStartup.call(Le,Te[Te.length-1][0],{...ae,inlined:false}));Be.add("\n})()");return Be}return Me}));R.chunkHash.tap("CommonJsChunkFormatPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;R.update("CommonJsChunkFormatPlugin");R.update("1");const $=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));_e(R,N,$,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Chunk loading type "${R}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){switch(R){case"jsonp":{const R=N(76853);(new R).apply(E);break}case"import-scripts":{const R=N(82779);(new R).apply(E);break}case"require":{const R=N(82827);new R({asyncChunkLoading:false}).apply(E);break}case"async-node":{const R=N(82827);new R({asyncChunkLoading:true}).apply(E);break}case"import":{const R=N(90662);(new R).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${R}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,R,N)=>{"use strict";const $=N(73837);const{RawSource:j,ReplaceSource:q}=N(2991);const G=N(36253);const ie=N(63272);const ae=N(54290);const le=$.deprecate(((E,R,N)=>E.getInitFragments(R,N)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const _e=new Set(["javascript"]);class JavascriptGenerator extends G{getTypes(E){return _e}getSize(E,R){const N=E.originalSource();if(!N){return 39}return N.size()}getConcatenationBailoutReason(E,R){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof ae))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,R){const N=E.originalSource();if(!N){return new j("throw new Error('No source available');")}const $=new q(N);const G=[];this.sourceModule(E,G,$,R);return ie.addToSource($,G,R)}sourceModule(E,R,N,$){for(const j of E.dependencies){this.sourceDependency(E,j,R,N,$)}if(E.presentationalDependencies!==undefined){for(const j of E.presentationalDependencies){this.sourceDependency(E,j,R,N,$)}}for(const j of E.blocks){this.sourceBlock(E,j,R,N,$)}}sourceBlock(E,R,N,$,j){for(const q of R.dependencies){this.sourceDependency(E,q,N,$,j)}for(const q of R.blocks){this.sourceBlock(E,q,N,$,j)}}sourceDependency(E,R,N,$,j){const q=R.constructor;const G=j.dependencyTemplates.get(q);if(!G){throw new Error("No template for dependency: "+R.constructor.name)}const ie={runtimeTemplate:j.runtimeTemplate,dependencyTemplates:j.dependencyTemplates,moduleGraph:j.moduleGraph,chunkGraph:j.chunkGraph,module:E,runtime:j.runtime,runtimeRequirements:j.runtimeRequirements,concatenationScope:j.concatenationScope,initFragments:N};G.apply(R,$,ie);if("getInitFragments"in G){const E=le(G,R,ie);if(E){for(const R of E){N.push(R)}}}}}E.exports=JavascriptGenerator},18161:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$,SyncHook:j,SyncBailHook:q}=N(92960);const G=N(26144);const{ConcatSource:ie,OriginalSource:ae,PrefixSource:le,RawSource:_e,CachedSource:Ee}=N(2991);const we=N(3080);const{tryRunOrWebpackError:Me}=N(3728);const Ie=N(22352);const Te=N(63272);const Ne=N(76150);const Be=N(58159);const{last:Le,someInIterable:je}=N(11539);const ze=N(14146);const{compareModulesByIdentifier:Ue}=N(68673);const qe=N(35891);const{intersectRuntime:Ge}=N(37416);const He=N(99371);const We=N(3711);const chunkHasJs=(E,R)=>{if(R.getNumberOfEntryModules(E)>0)return true;return R.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,R)=>{const N=R.split("\n");const $=`${N.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${N.map(((E,R,N)=>{const j=`${R+1}`;return`${" ".repeat($-j.length)}${j} | ${E}`})).join("\n")}`};const Ve=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ve.get(E);if(R===undefined){R={renderModuleContent:new $(["source","module","renderContext"]),renderModuleContainer:new $(["source","module","renderContext"]),renderModulePackage:new $(["source","module","renderContext"]),render:new $(["source","renderContext"]),renderContent:new $(["source","renderContext"]),renderStartup:new $(["source","module","startupRenderContext"]),renderChunk:new $(["source","renderContext"]),renderMain:new $(["source","renderContext"]),renderRequire:new $(["code","renderContext"]),inlineInRuntimeBailout:new q(["module","renderContext"]),embedInRuntimeBailout:new q(["module","renderContext"]),strictRuntimeBailout:new q(["renderContext"]),chunkHash:new j(["chunk","hash","context"]),useSourceMap:new q(["chunk","renderContext"])};Ve.set(E,R)}return R}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:R})=>{const N=JavascriptModulesPlugin.getCompilationHooks(E);R.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new We("auto")));R.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new We("script")));R.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new We("module")));R.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new He));R.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new He));R.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new He));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((R,$)=>{const{hash:j,chunk:q,chunkGraph:G,moduleGraph:ie,runtimeTemplate:ae,dependencyTemplates:le,outputOptions:_e,codeGenerationResults:Ee}=$;const we=q instanceof Ie?q:null;let Me;const Te=JavascriptModulesPlugin.getChunkFilenameTemplate(q,_e);if(we){Me=()=>this.renderChunk({chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N)}else if(q.hasRuntime()){Me=()=>this.renderMain({hash:j,chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N,E)}else{if(!chunkHasJs(q,G)){return R}Me=()=>this.renderChunk({chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N)}R.push({render:Me,filenameTemplate:Te,pathOptions:{hash:j,runtime:q.runtime,chunk:q,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:we?`hotupdatechunk${q.id}`:`chunk${q.id}`,hash:q.contentHash.javascript});return R}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,R,$)=>{N.chunkHash.call(E,R,$);if(E.hasRuntime()){this.updateHashWithBootstrap(R,{hash:"0000",chunk:E,chunkGraph:$.chunkGraph,moduleGraph:$.moduleGraph,runtimeTemplate:$.runtimeTemplate},N)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(R=>{const{chunkGraph:$,moduleGraph:j,runtimeTemplate:q,outputOptions:{hashSalt:G,hashDigest:ie,hashDigestLength:ae,hashFunction:le}}=E;const _e=qe(le);if(G)_e.update(G);if(R.hasRuntime()){this.updateHashWithBootstrap(_e,{hash:"0000",chunk:R,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},N)}else{_e.update(`${R.id} `);_e.update(R.ids?R.ids.join(","):"")}N.chunkHash.call(R,_e,{chunkGraph:$,moduleGraph:j,runtimeTemplate:q});const Ee=$.getChunkModulesIterableBySourceType(R,"javascript");if(Ee){const E=new ze;for(const N of Ee){E.add($.getModuleHash(N,R.runtime))}E.updateHash(_e)}const we=$.getChunkModulesIterableBySourceType(R,"runtime");if(we){const E=new ze;for(const N of we){E.add($.getModuleHash(N,R.runtime))}E.updateHash(_e)}const Me=_e.digest(ie);R.contentHash.javascript=Me.substr(0,ae)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,R,{chunkGraph:N})=>{if(!R.has(Ne.startupNoDefault)&&N.hasChunkEntryDependentChunks(E)){R.add(Ne.onChunksLoaded);R.add(Ne.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,R)=>{const N=E.codeGenerationResult.sources.get("javascript");if(N===undefined)return;const{module:$,moduleObject:j}=E;const q=N.source();const ie=G.runInThisContext(`(function(${$.moduleArgument}, ${$.exportsArgument}, __webpack_require__) {\n${q}\n/**/})`,{filename:$.identifier(),lineOffset:-1});try{ie.call(j.exports,j,j.exports,R.__webpack_require__)}catch(R){R.stack+=printGeneratedCodeForStack(E.module,q);throw R}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,R)=>{const N=E.codeGenerationResult.sources.get("runtime");if(N===undefined)return;let $=N.source();if(typeof $!=="string")$=$.toString();const j=G.runInThisContext(`(function(__webpack_require__) {\n${$}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{j.call(null,R.__webpack_require__)}catch(R){R.stack+=printGeneratedCodeForStack(E.module,$);throw R}}))}))}static getChunkFilenameTemplate(E,R){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof Ie){return R.hotUpdateChunkFilename}else if(E.canBeInitial()){return R.filename}else{return R.chunkFilename}}renderModule(E,R,N,$){const{chunk:j,chunkGraph:q,runtimeTemplate:G,codeGenerationResults:ae,strictMode:le}=R;try{const _e=ae.get(E,j.runtime);const we=_e.sources.get("javascript");if(!we)return null;if(_e.data!==undefined){const E=_e.data.get("chunkInitFragments");if(E){for(const N of E)R.chunkInitFragments.push(N)}}const Ie=Me((()=>N.renderModuleContent.call(we,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Te;if($){const $=q.getModuleRuntimeRequirements(E,j.runtime);const ae=$.has(Ne.module);const _e=$.has(Ne.exports);const we=$.has(Ne.require)||$.has(Ne.requireScope);const Be=$.has(Ne.thisAsExports);const Le=E.buildInfo.strict&&!le;const je=this._moduleFactoryCache.get(Ie);let ze;if(je&&je.needModule===ae&&je.needExports===_e&&je.needRequire===we&&je.needThisAsExports===Be&&je.needStrict===Le){ze=je.source}else{const R=new ie;const N=[];if(_e||we||ae)N.push(ae?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(_e||we)N.push(_e?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(we)N.push("__webpack_require__");if(!Be&&G.supportsArrowFunction()){R.add("/***/ (("+N.join(", ")+") => {\n\n")}else{R.add("/***/ (function("+N.join(", ")+") {\n\n")}if(Le){R.add('"use strict";\n')}R.add(Ie);R.add("\n\n/***/ })");ze=new Ee(R);this._moduleFactoryCache.set(Ie,{source:ze,needModule:ae,needExports:_e,needRequire:we,needThisAsExports:Be,needStrict:Le})}Te=Me((()=>N.renderModuleContainer.call(ze,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Te=Ie}return Me((()=>N.renderModulePackage.call(Te,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(R){R.module=E;throw R}}renderChunk(E,R){const{chunk:N,chunkGraph:$}=E;const j=$.getOrderedChunkModulesIterableBySourceType(N,"javascript",Ue);const q=j?Array.from(j):[];let G;let ae=E.strictMode;if(!ae&&q.every((E=>E.buildInfo.strict))){const N=R.strictRuntimeBailout.call(E);G=N?`// runtime can't be in strict mode because ${N}.\n`:'"use strict";\n';if(!N)ae=true}const le={...E,chunkInitFragments:[],strictMode:ae};const Ee=Be.renderChunkModules(le,q,(E=>this.renderModule(E,le,R,true)))||new _e("{}");let we=Me((()=>R.renderChunk.call(Ee,le)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");we=Me((()=>R.renderContent.call(we,le)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!we){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}we=Te.addToSource(we,le.chunkInitFragments,le);we=Me((()=>R.render.call(we,le)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!we){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}N.rendered=true;return G?new ie(G,we,";"):E.runtimeTemplate.isModule()?we:new ie(we,";")}renderMain(E,R,N){const{chunk:$,chunkGraph:j,runtimeTemplate:q}=E;const G=j.getTreeRuntimeRequirements($);const Ee=q.isIIFE();const we=this.renderBootstrap(E,R);const Ie=R.useSourceMap.call($,E);const je=Array.from(j.getOrderedChunkModulesIterableBySourceType($,"javascript",Ue)||[]);const ze=j.getNumberOfEntryModules($)>0;let qe;if(we.allowInlineStartup&&ze){qe=new Set(j.getChunkEntryModulesIterable($))}let Ge=new ie;let He;if(Ee){if(q.supportsArrowFunction()){Ge.add("/******/ (() => { // webpackBootstrap\n")}else{Ge.add("/******/ (function() { // webpackBootstrap\n")}He="/******/ \t"}else{He="/******/ "}let We=E.strictMode;if(!We&&je.every((E=>E.buildInfo.strict))){const N=R.strictRuntimeBailout.call(E);if(N){Ge.add(He+`// runtime can't be in strict mode because ${N}.\n`)}else{We=true;Ge.add(He+'"use strict";\n')}}const Ve={...E,chunkInitFragments:[],strictMode:We};const Ke=Be.renderChunkModules(Ve,qe?je.filter((E=>!qe.has(E))):je,(E=>this.renderModule(E,Ve,R,true)),He);if(Ke||G.has(Ne.moduleFactories)||G.has(Ne.moduleFactoriesAddOnly)||G.has(Ne.require)){Ge.add(He+"var __webpack_modules__ = (");Ge.add(Ke||"{}");Ge.add(");\n");Ge.add("/************************************************************************/\n")}if(we.header.length>0){const E=Be.asString(we.header)+"\n";Ge.add(new le(He,Ie?new ae(E,"webpack/bootstrap"):new _e(E)));Ge.add("/************************************************************************/\n")}const Qe=E.chunkGraph.getChunkRuntimeModulesInOrder($);if(Qe.length>0){Ge.add(new le(He,Be.renderRuntimeModules(Qe,Ve)));Ge.add("/************************************************************************/\n");for(const E of Qe){N.codeGeneratedModules.add(E)}}if(qe){if(we.beforeStartup.length>0){const E=Be.asString(we.beforeStartup)+"\n";Ge.add(new le(He,Ie?new ae(E,"webpack/before-startup"):new _e(E)))}const N=Le(qe);const Ee=new ie;Ee.add(`var __webpack_exports__ = {};\n`);for(const G of qe){const ie=this.renderModule(G,Ve,R,false);if(ie){const ae=!We&&G.buildInfo.strict;const le=j.getModuleRuntimeRequirements(G,$.runtime);const _e=le.has(Ne.exports);const we=_e&&G.exportsArgument==="__webpack_exports__";let Me=ae?"it need to be in strict mode.":qe.size>1?"it need to be isolated against other entry modules.":Ke?"it need to be isolated against other modules in the chunk.":_e&&!we?`it uses a non-standard name for the exports (${G.exportsArgument}).`:R.embedInRuntimeBailout.call(G,E);let Ie;if(Me!==undefined){Ee.add(`// This entry need to be wrapped in an IIFE because ${Me}\n`);const E=q.supportsArrowFunction();if(E){Ee.add("(() => {\n");Ie="\n})();\n\n"}else{Ee.add("!function() {\n");Ie="\n}();\n"}if(ae)Ee.add('"use strict";\n')}else{Ie="\n"}if(_e){if(G!==N)Ee.add(`var ${G.exportsArgument} = {};\n`);else if(G.exportsArgument!=="__webpack_exports__")Ee.add(`var ${G.exportsArgument} = __webpack_exports__;\n`)}Ee.add(ie);Ee.add(Ie)}}if(G.has(Ne.onChunksLoaded)){Ee.add(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);\n`)}Ge.add(R.renderStartup.call(Ee,N,{...E,inlined:true}));if(we.afterStartup.length>0){const E=Be.asString(we.afterStartup)+"\n";Ge.add(new le(He,Ie?new ae(E,"webpack/after-startup"):new _e(E)))}}else{const N=Le(j.getChunkEntryModulesIterable($));const q=Ie?(E,R)=>new ae(Be.asString(E),R):E=>new _e(Be.asString(E));Ge.add(new le(He,new ie(q(we.beforeStartup,"webpack/before-startup"),"\n",R.renderStartup.call(q(we.startup.concat(""),"webpack/startup"),N,{...E,inlined:false}),q(we.afterStartup,"webpack/after-startup"),"\n")))}if(ze&&G.has(Ne.returnExportsFromRuntime)){Ge.add(`${He}return __webpack_exports__;\n`)}if(Ee){Ge.add("/******/ })()\n")}let Je=Me((()=>R.renderMain.call(Ge,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Je=Me((()=>R.renderContent.call(Je,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Je=Te.addToSource(Je,Ve.chunkInitFragments,Ve);Je=Me((()=>R.render.call(Je,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}$.rendered=true;return Ee?new ie(Je,";"):Je}updateHashWithBootstrap(E,R,N){const $=this.renderBootstrap(R,N);for(const R of Object.keys($)){E.update(R);if(Array.isArray($[R])){for(const N of $[R]){E.update(N)}}else{E.update(JSON.stringify($[R]))}}}renderBootstrap(E,R){const{chunkGraph:N,moduleGraph:$,chunk:j,runtimeTemplate:q}=E;const G=N.getTreeRuntimeRequirements(j);const ie=G.has(Ne.require);const ae=G.has(Ne.moduleCache);const le=G.has(Ne.moduleFactories);const _e=G.has(Ne.module);const Ee=G.has(Ne.requireScope);const we=G.has(Ne.interceptModuleExecution);const Me=ie||we||_e;const Ie={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Te,startup:Le,beforeStartup:ze,afterStartup:Ue}=Ie;if(Ie.allowInlineStartup&&le){Le.push("// module factories are used so entry inlining is disabled");Ie.allowInlineStartup=false}if(Ie.allowInlineStartup&&ae){Le.push("// module cache are used so entry inlining is disabled");Ie.allowInlineStartup=false}if(Ie.allowInlineStartup&&we){Le.push("// module execution is intercepted so entry inlining is disabled");Ie.allowInlineStartup=false}if(Me||ae){Te.push("// The module cache");Te.push("var __webpack_module_cache__ = {};");Te.push("")}if(Me){Te.push("// The require function");Te.push(`function __webpack_require__(moduleId) {`);Te.push(Be.indent(this.renderRequire(E,R)));Te.push("}");Te.push("")}else if(G.has(Ne.requireScope)){Te.push("// The require scope");Te.push("var __webpack_require__ = {};");Te.push("")}if(le||G.has(Ne.moduleFactoriesAddOnly)){Te.push("// expose the modules object (__webpack_modules__)");Te.push(`${Ne.moduleFactories} = __webpack_modules__;`);Te.push("")}if(ae){Te.push("// expose the module cache");Te.push(`${Ne.moduleCache} = __webpack_module_cache__;`);Te.push("")}if(we){Te.push("// expose the module execution interceptor");Te.push(`${Ne.interceptModuleExecution} = [];`);Te.push("")}if(!G.has(Ne.startupNoDefault)){if(N.getNumberOfEntryModules(j)>0){const G=[];const ie=N.getTreeRuntimeRequirements(j);G.push("// Load entry module and return exports");let ae=N.getNumberOfEntryModules(j);for(const[le,_e]of N.getChunkEntryModulesWithChunkGroupIterable(j)){const we=_e.chunks.filter((E=>E!==j));if(Ie.allowInlineStartup&&we.length>0){G.push("// This entry module depends on other loaded chunks and execution need to be delayed");Ie.allowInlineStartup=false}if(Ie.allowInlineStartup&&je($.getIncomingConnectionsByOriginModule(le),(([E,R])=>E&&R.some((E=>E.isTargetActive(j.runtime)))&&je(N.getModuleRuntimes(E),(E=>Ge(E,j.runtime)!==undefined))))){G.push("// This entry module is referenced by other modules so it can't be inlined");Ie.allowInlineStartup=false}if(Ie.allowInlineStartup&&(!le.buildInfo||!le.buildInfo.topLevelDeclarations)){G.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");Ie.allowInlineStartup=false}if(Ie.allowInlineStartup){const N=R.inlineInRuntimeBailout.call(le,E);if(N!==undefined){G.push(`// This entry module can't be inlined because ${N}`);Ie.allowInlineStartup=false}}ae--;const Te=N.getModuleId(le);const Be=N.getModuleRuntimeRequirements(le,j.runtime);let Le=JSON.stringify(Te);if(ie.has(Ne.entryModuleId)){Le=`${Ne.entryModuleId} = ${Le}`}if(Ie.allowInlineStartup&&Be.has(Ne.module)){Ie.allowInlineStartup=false;G.push("// This entry module used 'module' so it can't be inlined")}if(we.length>0){G.push(`${ae===0?"var __webpack_exports__ = ":""}${Ne.onChunksLoaded}(undefined, ${JSON.stringify(we.map((E=>E.id)))}, ${q.returningFunction(`__webpack_require__(${Le})`)})`)}else if(Me){G.push(`${ae===0?"var __webpack_exports__ = ":""}__webpack_require__(${Le});`)}else{if(ae===0)G.push("var __webpack_exports__ = {};");if(Ee){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Be.has(Ne.exports)){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"});`)}else{G.push(`__webpack_modules__[${Le}]();`)}}}if(ie.has(Ne.onChunksLoaded)){G.push(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);`)}if(ie.has(Ne.startup)||ie.has(Ne.startupOnlyBefore)&&ie.has(Ne.startupOnlyAfter)){Ie.allowInlineStartup=false;Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.basicFunction("",[...G,"return __webpack_exports__;"])};`);Te.push("");Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}else if(ie.has(Ne.startupOnlyBefore)){Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.emptyFunction()};`);ze.push("// run runtime startup");ze.push(`${Ne.startup}();`);Le.push("// startup");Le.push(Be.asString(G))}else if(ie.has(Ne.startupOnlyAfter)){Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// startup");Le.push(Be.asString(G));Ue.push("// run runtime startup");Ue.push(`${Ne.startup}();`)}else{Le.push("// startup");Le.push(Be.asString(G))}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Te.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Ne.startup} = ${q.emptyFunction()};`,"")}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Ie.allowInlineStartup=false;Te.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}return Ie}renderRequire(E,R){const{chunk:N,chunkGraph:$,runtimeTemplate:{outputOptions:j}}=E;const q=$.getTreeRuntimeRequirements(N);const G=q.has(Ne.interceptModuleExecution)?Be.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Ne.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):q.has(Ne.thisAsExports)?Be.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Be.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ie=q.has(Ne.moduleId);const ae=q.has(Ne.moduleLoaded);const le=Be.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",j.strictModuleErrorHandling?Be.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Be.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Be.indent([ie?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",j.strictModuleExceptionHandling?Be.asString(["// Execute the module function","var threw = true;","try {",Be.indent([G,"threw = false;"]),"} finally {",Be.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):j.strictModuleErrorHandling?Be.asString(["// Execute the module function","try {",Be.indent(G),"} catch(e) {",Be.indent(["module.error = e;","throw e;"]),"}"]):Be.asString(["// Execute the module function",G]),ae?Be.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Me((()=>R.renderRequire.call(le,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,R,N)=>{"use strict";const{Parser:$}=N(20976);const{importAssertions:j}=N(71066);const{SyncBailHook:q,HookMap:G}=N(92960);const ie=N(26144);const ae=N(2172);const le=N(80371);const _e=N(31017);const Ee=N(91671);const we=N(87250);const Me=[];const Ie=1;const Te=2;const Ne=3;const Be=$.extend(j);class VariableInfo{constructor(E,R,N){this.declaredScope=E;this.freeName=R;this.tagInfo=N}}const joinRanges=(E,R)=>{if(!R)return E;if(!E)return R;return[E[0],R[1]]};const objectAndMembersToName=(E,R)=>{let N=E;for(let E=R.length-1;E>=0;E--){N=N+"."+R[E]}return N};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Le={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const je=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const ze={options:null,errors:null};class JavascriptParser extends ae{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new G((()=>new q(["expression"]))),evaluate:new G((()=>new q(["expression"]))),evaluateIdentifier:new G((()=>new q(["expression"]))),evaluateDefinedIdentifier:new G((()=>new q(["expression"]))),evaluateCallExpressionMember:new G((()=>new q(["expression","param"]))),isPure:new G((()=>new q(["expression","commentsStartPosition"]))),preStatement:new q(["statement"]),blockPreStatement:new q(["declaration"]),statement:new q(["statement"]),statementIf:new q(["statement"]),classExtendsExpression:new q(["expression","classDefinition"]),classBodyElement:new q(["element","classDefinition"]),classBodyValue:new q(["expression","element","classDefinition"]),label:new G((()=>new q(["statement"]))),import:new q(["statement","source"]),importSpecifier:new q(["statement","source","exportName","identifierName"]),export:new q(["statement"]),exportImport:new q(["statement","source"]),exportDeclaration:new q(["statement","declaration"]),exportExpression:new q(["statement","declaration"]),exportSpecifier:new q(["statement","identifierName","exportName","index"]),exportImportSpecifier:new q(["statement","source","identifierName","exportName","index"]),preDeclarator:new q(["declarator","statement"]),declarator:new q(["declarator","statement"]),varDeclaration:new G((()=>new q(["declaration"]))),varDeclarationLet:new G((()=>new q(["declaration"]))),varDeclarationConst:new G((()=>new q(["declaration"]))),varDeclarationVar:new G((()=>new q(["declaration"]))),pattern:new G((()=>new q(["pattern"]))),canRename:new G((()=>new q(["initExpression"]))),rename:new G((()=>new q(["initExpression"]))),assign:new G((()=>new q(["expression"]))),assignMemberChain:new G((()=>new q(["expression","members"]))),typeof:new G((()=>new q(["expression"]))),importCall:new q(["expression"]),topLevelAwait:new q(["expression"]),call:new G((()=>new q(["expression"]))),callMemberChain:new G((()=>new q(["expression","members"]))),memberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new q(["optionalChaining"]),new:new G((()=>new q(["expression"]))),expression:new G((()=>new q(["expression"]))),expressionMemberChain:new G((()=>new q(["expression","members"]))),unhandledExpressionMemberChain:new G((()=>new q(["expression","members"]))),expressionConditionalOperator:new q(["expression"]),expressionLogicalOperator:new q(["expression"]),program:new q(["ast","comments"]),finish:new q(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const R=E;switch(typeof R.value){case"number":return(new we).setNumber(R.value).setRange(R.range);case"bigint":return(new we).setBigInt(R.value).setRange(R.range);case"string":return(new we).setString(R.value).setRange(R.range);case"boolean":return(new we).setBoolean(R.value).setRange(R.range)}if(R.value===null){return(new we).setNull().setRange(R.range)}if(R.value instanceof RegExp){return(new we).setRegExp(R.value).setRange(R.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const R=E;const N=R.callee;if(N.type!=="Identifier"||N.name!=="RegExp"||R.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let $,j;const q=R.arguments[0];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;$=E.asString();if(!$)return}else{return(new we).setRegExp(new RegExp("")).setRange(R.range)}const G=R.arguments[1];if(G){if(G.type==="SpreadElement")return;const E=this.evaluateExpression(G);if(!E)return;if(!E.isUndefined()){j=E.asString();if(j===undefined||!we.isValidRegExpFlags(j))return}}return(new we).setRegExp(j?new RegExp($,j):new RegExp($)).setRange(R.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.left);if(!N)return;let $=false;let j;if(R.operator==="&&"){const E=N.asBool();if(E===false)return N.setRange(R.range);$=E===true;j=false}else if(R.operator==="||"){const E=N.asBool();if(E===true)return N.setRange(R.range);$=E===false;j=true}else if(R.operator==="??"){const E=N.asNullish();if(E===false)return N.setRange(R.range);if(E!==true)return;$=true}else return;const q=this.evaluateExpression(R.right);if(!q)return;if($){if(N.couldHaveSideEffects())q.setSideEffects();return q.setRange(R.range)}const G=q.asBool();if(j===true&&G===true){return(new we).setRange(R.range).setTruthy()}else if(j===false&&G===false){return(new we).setRange(R.range).setFalsy()}}));const valueAsExpression=(E,R,N)=>{switch(typeof E){case"boolean":return(new we).setBoolean(E).setSideEffects(N).setRange(R.range);case"number":return(new we).setNumber(E).setSideEffects(N).setRange(R.range);case"bigint":return(new we).setBigInt(E).setSideEffects(N).setRange(R.range);case"string":return(new we).setString(E).setSideEffects(N).setRange(R.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const R=E;const handleConstOperation=E=>{const N=this.evaluateExpression(R.left);if(!N||!N.isCompileTimeValue())return;const $=this.evaluateExpression(R.right);if(!$||!$.isCompileTimeValue())return;const j=E(N.asCompileTimeValue(),$.asCompileTimeValue());return valueAsExpression(j,R,N.couldHaveSideEffects()||$.couldHaveSideEffects())};const isAlwaysDifferent=(E,R)=>E===true&&R===false||E===false&&R===true;const handleTemplateStringCompare=(E,R,N,$)=>{const getPrefix=E=>{let R="";for(const N of E){const E=N.asString();if(E!==undefined)R+=E;else break}return R};const getSuffix=E=>{let R="";for(let N=E.length-1;N>=0;N--){const $=E[N].asString();if($!==undefined)R=$+R;else break}return R};const j=getPrefix(E.parts);const q=getPrefix(R.parts);const G=getSuffix(E.parts);const ie=getSuffix(R.parts);const ae=Math.min(j.length,q.length);const le=Math.min(G.length,ie.length);if(j.slice(0,ae)!==q.slice(0,ae)||G.slice(-le)!==ie.slice(-le)){return N.setBoolean(!$).setSideEffects(E.couldHaveSideEffects()||R.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const N=this.evaluateExpression(R.left);if(!N)return;const $=this.evaluateExpression(R.right);if(!$)return;const j=new we;j.setRange(R.range);const q=N.isCompileTimeValue();const G=$.isCompileTimeValue();if(q&&G){return j.setBoolean(E===(N.asCompileTimeValue()===$.asCompileTimeValue())).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isArray()&&$.isArray()){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isTemplateString()&&$.isTemplateString()){return handleTemplateStringCompare(N,$,j,E)}const ie=N.isPrimitiveType();const ae=$.isPrimitiveType();if(ie===false&&(q||ae===true)||ae===false&&(G||ie===true)||isAlwaysDifferent(N.asBool(),$.asBool())||isAlwaysDifferent(N.asNullish(),$.asNullish())){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const N=this.evaluateExpression(R.left);if(!N)return;const $=this.evaluateExpression(R.right);if(!$)return;const j=new we;j.setRange(R.range);const q=N.isCompileTimeValue();const G=$.isCompileTimeValue();if(q&&G){return j.setBoolean(E===(N.asCompileTimeValue()==$.asCompileTimeValue())).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isArray()&&$.isArray()){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isTemplateString()&&$.isTemplateString()){return handleTemplateStringCompare(N,$,j,E)}};if(R.operator==="+"){const E=this.evaluateExpression(R.left);if(!E)return;const N=this.evaluateExpression(R.right);if(!N)return;const $=new we;if(E.isString()){if(N.isString()){$.setString(E.string+N.string)}else if(N.isNumber()){$.setString(E.string+N.number)}else if(N.isWrapped()&&N.prefix&&N.prefix.isString()){$.setWrapped((new we).setString(E.string+N.prefix.string).setRange(joinRanges(E.range,N.prefix.range)),N.postfix,N.wrappedInnerExpressions)}else if(N.isWrapped()){$.setWrapped(E,N.postfix,N.wrappedInnerExpressions)}else{$.setWrapped(E,null,[N])}}else if(E.isNumber()){if(N.isString()){$.setString(E.number+N.string)}else if(N.isNumber()){$.setNumber(E.number+N.number)}else{return}}else if(E.isBigInt()){if(N.isBigInt()){$.setBigInt(E.bigint+N.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&N.isString()){$.setWrapped(E.prefix,(new we).setString(E.postfix.string+N.string).setRange(joinRanges(E.postfix.range,N.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&N.isNumber()){$.setWrapped(E.prefix,(new we).setString(E.postfix.string+N.number).setRange(joinRanges(E.postfix.range,N.range)),E.wrappedInnerExpressions)}else if(N.isString()){$.setWrapped(E.prefix,N,E.wrappedInnerExpressions)}else if(N.isNumber()){$.setWrapped(E.prefix,(new we).setString(N.number+"").setRange(N.range),E.wrappedInnerExpressions)}else if(N.isWrapped()){$.setWrapped(E.prefix,N.postfix,E.wrappedInnerExpressions&&N.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(N.prefix?[N.prefix]:[]).concat(N.wrappedInnerExpressions))}else{$.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,N]:[N]))}}else{if(N.isString()){$.setWrapped(null,N,[E])}else if(N.isWrapped()){$.setWrapped(null,N.postfix,N.wrappedInnerExpressions&&(N.prefix?[E,N.prefix]:[E]).concat(N.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||N.couldHaveSideEffects())$.setSideEffects();$.setRange(R.range);return $}else if(R.operator==="-"){return handleConstOperation(((E,R)=>E-R))}else if(R.operator==="*"){return handleConstOperation(((E,R)=>E*R))}else if(R.operator==="/"){return handleConstOperation(((E,R)=>E/R))}else if(R.operator==="**"){return handleConstOperation(((E,R)=>E**R))}else if(R.operator==="==="){return handleStrictEqualityComparison(true)}else if(R.operator==="=="){return handleAbstractEqualityComparison(true)}else if(R.operator==="!=="){return handleStrictEqualityComparison(false)}else if(R.operator==="!="){return handleAbstractEqualityComparison(false)}else if(R.operator==="&"){return handleConstOperation(((E,R)=>E&R))}else if(R.operator==="|"){return handleConstOperation(((E,R)=>E|R))}else if(R.operator==="^"){return handleConstOperation(((E,R)=>E^R))}else if(R.operator===">>>"){return handleConstOperation(((E,R)=>E>>>R))}else if(R.operator===">>"){return handleConstOperation(((E,R)=>E>>R))}else if(R.operator==="<<"){return handleConstOperation(((E,R)=>E<E"){return handleConstOperation(((E,R)=>E>R))}else if(R.operator==="<="){return handleConstOperation(((E,R)=>E<=R))}else if(R.operator===">="){return handleConstOperation(((E,R)=>E>=R))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const R=E;const handleConstOperation=E=>{const N=this.evaluateExpression(R.argument);if(!N||!N.isCompileTimeValue())return;const $=E(N.asCompileTimeValue());return valueAsExpression($,R,N.couldHaveSideEffects())};if(R.operator==="typeof"){switch(R.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,R.argument.name,R);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(R.argument),R);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,R.argument,R);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,R.argument.expression,R);if(E!==undefined)return E;break}case"FunctionExpression":{return(new we).setString("function").setRange(R.range)}}const E=this.evaluateExpression(R.argument);if(E.isUnknown())return;if(E.isString()){return(new we).setString("string").setRange(R.range)}if(E.isWrapped()){return(new we).setString("string").setSideEffects().setRange(R.range)}if(E.isUndefined()){return(new we).setString("undefined").setRange(R.range)}if(E.isNumber()){return(new we).setString("number").setRange(R.range)}if(E.isBigInt()){return(new we).setString("bigint").setRange(R.range)}if(E.isBoolean()){return(new we).setString("boolean").setRange(R.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new we).setString("object").setRange(R.range)}if(E.isArray()){return(new we).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(R.range)}}else if(R.operator==="!"){const E=this.evaluateExpression(R.argument);if(!E)return;const N=E.asBool();if(typeof N!=="boolean")return;return(new we).setBoolean(!N).setSideEffects(E.couldHaveSideEffects()).setRange(R.range)}else if(R.operator==="~"){return handleConstOperation((E=>~E))}else if(R.operator==="+"){return handleConstOperation((E=>+E))}else if(R.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new we).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,R)=>{let N=undefined;let $=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const j=E;const q=R(E);if(q!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,q.name,(E=>{N=j;$=q}),(E=>{const R=this.hooks.evaluateDefinedIdentifier.get(E);if(R!==undefined){return R.call(j)}}),j)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const j=N===E?$:R(E);if(j!==undefined){return(new we).setIdentifier(j.name,j.rootInfo,j.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{N=$=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const R=this.getVariableInfo(E.name);if(typeof R==="string"||R instanceof VariableInfo&&typeof R.freeName==="string"){return{name:R,rootInfo:R,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const R=this.getVariableInfo("this");if(typeof R==="string"||R instanceof VariableInfo&&typeof R.freeName==="string"){return{name:R,rootInfo:R,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const R=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),R)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,Te)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const R=E;if(R.callee.type!=="MemberExpression"||R.callee.property.type!==(R.callee.computed?"Literal":"Identifier")){return}const N=this.evaluateExpression(R.callee.object);if(!N)return;const $=R.callee.property.type==="Literal"?`${R.callee.property.value}`:R.callee.property.name;const j=this.hooks.evaluateCallExpressionMember.get($);if(j!==undefined){return j.call(R,N)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length===0)return;const[N,$]=E.arguments;if(N.type==="SpreadElement")return;const j=this.evaluateExpression(N);if(!j.isString())return;const q=j.string;let G;if($){if($.type==="SpreadElement")return;const E=this.evaluateExpression($);if(!E.isNumber())return;G=R.string.indexOf(q,E.number)}else{G=R.string.indexOf(q)}return(new we).setNumber(G).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let N=this.evaluateExpression(E.arguments[0]);let $=this.evaluateExpression(E.arguments[1]);if(!N.isString()&&!N.isRegExp())return;const j=N.regExp||N.string;if(!$.isString())return;const q=$.string;return(new we).setString(R.string.replace(j,q)).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((R,N)=>{if(!N.isString())return;let $;let j,q=N.string;switch(R.arguments.length){case 1:if(R.arguments[0].type==="SpreadElement")return;$=this.evaluateExpression(R.arguments[0]);if(!$.isNumber())return;j=q[E]($.number);break;case 2:{if(R.arguments[0].type==="SpreadElement")return;if(R.arguments[1].type==="SpreadElement")return;$=this.evaluateExpression(R.arguments[0]);const N=this.evaluateExpression(R.arguments[1]);if(!$.isNumber())return;if(!N.isNumber())return;j=q[E]($.number,N.number);break}default:return}return(new we).setString(j).setSideEffects(N.couldHaveSideEffects()).setRange(R.range)}))}));const getSimplifiedTemplateResult=(E,R)=>{const N=[];const $=[];for(let j=0;j0){const E=$[$.length-1];const N=this.evaluateExpression(R.expressions[j-1]);const ie=N.asString();if(typeof ie==="string"&&!N.couldHaveSideEffects()){E.setString(E.string+ie+G);E.setRange([E.range[0],q.range[1]]);E.setExpression(undefined);continue}$.push(N)}const ie=(new we).setString(G).setRange(q.range).setExpression(q);N.push(ie);$.push(ie)}return{quasis:N,parts:$}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const R=E;const{quasis:N,parts:$}=getSimplifiedTemplateResult("cooked",R);if($.length===1){return $[0].setRange(R.range)}return(new we).setTemplateString(N,$,"cooked").setRange(R.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.tag);if(N.isIdentifier()&&N.identifier!=="String.raw")return;const{quasis:$,parts:j}=getSimplifiedTemplateResult("raw",R.quasi);return(new we).setTemplateString($,j,"raw").setRange(R.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,R)=>{if(!R.isString()&&!R.isWrapped())return;let N=null;let $=false;const j=[];for(let R=E.arguments.length-1;R>=0;R--){const q=E.arguments[R];if(q.type==="SpreadElement")return;const G=this.evaluateExpression(q);if($||!G.isString()&&!G.isNumber()){$=true;j.push(G);continue}const ie=G.isString()?G.string:""+G.number;const ae=ie+(N?N.string:"");const le=[G.range[0],(N||G).range[1]];N=(new we).setString(ae).setSideEffects(N&&N.couldHaveSideEffects()||G.couldHaveSideEffects()).setRange(le)}if($){const $=R.isString()?R:R.prefix;const q=R.isWrapped()&&R.wrappedInnerExpressions?R.wrappedInnerExpressions.concat(j.reverse()):j.reverse();return(new we).setWrapped($,N,q).setRange(E.range)}else if(R.isWrapped()){const $=N||R.postfix;const q=R.wrappedInnerExpressions?R.wrappedInnerExpressions.concat(j.reverse()):j.reverse();return(new we).setWrapped(R.prefix,$,q).setRange(E.range)}else{const $=R.string+(N?N.string:"");return(new we).setString($).setSideEffects(N&&N.couldHaveSideEffects()||R.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let N;const $=this.evaluateExpression(E.arguments[0]);if($.isString()){N=R.string.split($.string)}else if($.isRegExp()){N=R.string.split($.regExp)}else{return}return(new we).setArray(N).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.test);const $=N.asBool();let j;if($===undefined){const E=this.evaluateExpression(R.consequent);const N=this.evaluateExpression(R.alternate);if(!E||!N)return;j=new we;if(E.isConditional()){j.setOptions(E.options)}else{j.setOptions([E])}if(N.isConditional()){j.addOptions(N.options)}else{j.addOptions([N])}}else{j=this.evaluateExpression($?R.consequent:R.alternate);if(N.couldHaveSideEffects())j.setSideEffects()}j.setRange(R.range);return j}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const R=E;const N=R.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!N.every(Boolean))return;return(new we).setItems(N).setRange(R.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const R=E;const N=[];let $=R.expression;while($.type==="MemberExpression"||$.type==="CallExpression"){if($.type==="MemberExpression"){if($.optional){N.push($.object)}$=$.object}else{if($.optional){N.push($.callee)}$=$.callee}}while(N.length>0){const R=N.pop();const $=this.evaluateExpression(R);if($&&$.asNullish()){return $.setRange(E.range)}}return this.evaluateExpression(R.expression)}))}getRenameIdentifier(E){const R=this.evaluateExpression(E);if(R&&R.isIdentifier()){return R.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const R of E.body.body){if(!this.hooks.classBodyElement.call(R,E)){if(R.computed&&R.key){this.walkExpression(R.key)}if(R.value){if(!this.hooks.classBodyValue.call(R.value,R,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(R.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let R=0,N=E.length;R{const R=E.body;const N=this.prevStatement;this.blockPreWalkStatements(R);this.prevStatement=N;this.walkStatements(R)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const R=this.hooks.statementIf.call(E);if(R===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(R){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const R=this.hooks.label.get(E.label.name);if(R!==undefined){const N=R.call(E);if(N===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const R=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}blockPreWalkImportDeclaration(E){const R=E.source.value;this.hooks.import.call(E,R);for(const N of E.specifiers){const $=N.local.name;switch(N.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,R,"default",$)){this.defineVariable($)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,R,N.imported.name,$)){this.defineVariable($)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,R,null,$)){this.defineVariable($)}break;default:this.defineVariable($)}}}enterDeclaration(E,R){switch(E.type){case"VariableDeclaration":for(const N of E.declarations){switch(N.type){case"VariableDeclarator":{this.enterPattern(N.id,R);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,R);break;case"ClassDeclaration":this.enterPattern(E.id,R);break}}blockPreWalkExportNamedDeclaration(E){let R;if(E.source){R=E.source.value;this.hooks.exportImport.call(E,R)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const R=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=R;this.blockPreWalkStatement(E.declaration);let N=0;this.enterDeclaration(E.declaration,(R=>{this.hooks.exportSpecifier.call(E,R,R,N++)}))}}if(E.specifiers){for(let N=0;N{let $=R.get(E);if($===undefined||!$.call(N)){$=this.hooks.varDeclaration.get(E);if($===undefined||!$.call(N)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{const N=R.init&&this.getRenameIdentifier(R.init);if(N&&R.id.type==="Identifier"){const E=this.hooks.canRename.get(N);if(E!==undefined&&E.call(R.init)){const E=this.hooks.rename.get(N);if(E===undefined||!E.call(R.init)){this.setVariable(R.id.name,N)}break}}if(!this.hooks.declarator.call(R,E)){this.walkPattern(R.id);if(R.init)this.walkExpression(R.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let R=0,N=E.length;R{const R=E.length;for(let N=0;N0){const E=this.prevStatement;this.blockPreWalkStatements(R.consequent);this.prevStatement=E}}for(let N=0;N0){this.walkStatements(R.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const R=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let R=0,N=E.properties.length;R{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}walkArrowFunctionExpression(E){const R=this.scope.topLevelScope;this.scope.topLevelScope=R?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}walkSequenceExpression(E){if(!E.expressions)return;const R=this.statementPath[this.statementPath.length-1];if(R===E||R.type==="ExpressionStatement"&&R.expression===E){const R=this.statementPath.pop();for(const R of E.expressions){this.statementPath.push(R);this.walkExpression(R);this.statementPath.pop()}this.statementPath.push(R)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const R=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(R===true)return;if(E.argument.type==="ChainExpression"){const R=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(R===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const R=this.hooks.expressionLogicalOperator.call(E);if(R===undefined){this.walkLeftRightExpression(E)}else{if(R){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const R=this.getRenameIdentifier(E.right);if(R){if(this.callHooksForInfo(this.hooks.canRename,R,E.right)){if(!this.callHooksForInfo(this.hooks.rename,R,E.right)){this.setVariable(E.left.name,this.getVariableInfo(R))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((R,N)=>{if(!this.callHooksForName(this.hooks.assign,R,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((R,N)=>{if(!this.callHooksForName(this.hooks.assign,R,E)){this.defineVariable(R)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const R=this.getMemberExpressionInfo(E.left,Te);if(R){if(this.callHooksForInfo(this.hooks.assignMemberChain,R.rootInfo,E,R.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const R=this.hooks.expressionConditionalOperator.call(E);if(R===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(R){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const R=this.callHooksForExpression(this.hooks.new,E.callee,E);if(R===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const R=this.hooks.optionalChaining.call(E);if(R===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,R,N){const getVarInfo=E=>{const R=this.getRenameIdentifier(E);if(R){if(this.callHooksForInfo(this.hooks.canRename,R,E)){if(!this.callHooksForInfo(this.hooks.rename,R,E)){return this.getVariableInfo(R)}}}this.walkExpression(E)};const{params:$,type:j}=E;const q=j==="ArrowFunctionExpression";const G=N?getVarInfo(N):null;const ie=R.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&q?"arrow":false;const le=$.filter(((E,R)=>!ie[R]));if(E.id){le.push(E.id.name)}this.inFunctionScope(true,le,(()=>{if(G&&!q){this.setVariable("this",G)}for(let E=0;EE.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const R=this.getMemberExpressionInfo(E.callee,Ie);if(R&&R.type==="call"){const N=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,R.rootInfo,E,R.getCalleeMembers(),R.call,R.getMembers());if(N===true)return}}const R=this.evaluateExpression(E.callee);if(R.isIdentifier()){const N=this.callHooksForInfo(this.hooks.callMemberChain,R.rootInfo,E,R.getMembers());if(N===true)return;const $=this.callHooksForInfo(this.hooks.call,R.identifier,E);if($===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const R=this.getMemberExpressionInfo(E,Ne);if(R){switch(R.type){case"expression":{const N=this.callHooksForInfo(this.hooks.expression,R.name,E);if(N===true)return;const $=R.getMembers();const j=this.callHooksForInfo(this.hooks.expressionMemberChain,R.rootInfo,E,$);if(j===true)return;this.walkMemberExpressionWithExpressionName(E,R.name,R.rootInfo,$.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,R.rootInfo,E,$)));return}case"call":{const N=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,R.rootInfo,E,R.getCalleeMembers(),R.call,R.getMembers());if(N===true)return;this.walkExpression(R.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,R,N,$,j){if(E.object.type==="MemberExpression"){const q=E.property.name||`${E.property.value}`;R=R.slice(0,-q.length-1);$.pop();const G=this.callHooksForInfo(this.hooks.expression,R,E.object);if(G===true)return;this.walkMemberExpressionWithExpressionName(E.object,R,N,$,j)}else if(!j||!j()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,R,...N){return this.callHooksForExpressionWithFallback(E,R,undefined,undefined,...N)}callHooksForExpressionWithFallback(E,R,N,$,...j){const q=this.getMemberExpressionInfo(R,Te);if(q!==undefined){const R=q.getMembers();return this.callHooksForInfoWithFallback(E,R.length===0?q.rootInfo:q.name,N&&(E=>N(E,q.rootInfo,q.getMembers)),$&&(()=>$(q.name)),...j)}}callHooksForName(E,R,...N){return this.callHooksForNameWithFallback(E,R,undefined,undefined,...N)}callHooksForInfo(E,R,...N){return this.callHooksForInfoWithFallback(E,R,undefined,undefined,...N)}callHooksForInfoWithFallback(E,R,N,$,...j){let q;if(typeof R==="string"){q=R}else{if(!(R instanceof VariableInfo)){if($!==undefined){return $()}return}let N=R.tagInfo;while(N!==undefined){const R=E.get(N.tag);if(R!==undefined){this.currentTagData=N.data;const E=R.call(...j);this.currentTagData=undefined;if(E!==undefined)return E}N=N.next}if(R.freeName===true){if($!==undefined){return $()}return}q=R.freeName}const G=E.get(q);if(G!==undefined){const E=G.call(...j);if(E!==undefined)return E}if(N!==undefined){return N(q)}}callHooksForNameWithFallback(E,R,N,$,...j){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(R),N,$,...j)}inScope(E,R){const N=this.scope;this.scope={topLevelScope:N.topLevelScope,inTry:false,inShorthand:false,isStrict:N.isStrict,isAsmJs:N.isAsmJs,definitions:N.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,R)=>{this.defineVariable(E)}));R();this.scope=N}inFunctionScope(E,R,N){const $=this.scope;this.scope={topLevelScope:$.topLevelScope,inTry:false,inShorthand:false,isStrict:$.isStrict,isAsmJs:$.isAsmJs,definitions:$.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(R,((E,R)=>{this.defineVariable(E)}));N();this.scope=$}inBlockScope(E){const R=this.scope;this.scope={topLevelScope:R.topLevelScope,inTry:R.inTry,inShorthand:false,isStrict:R.isStrict,isAsmJs:R.isAsmJs,definitions:R.definitions.createChild()};E();this.scope=R}detectMode(E){const R=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(R&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(R&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,R){for(const N of E){if(typeof N!=="string"){this.enterPattern(N,R)}else if(N){R(N)}}}enterPattern(E,R){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,R);break;case"AssignmentPattern":this.enterAssignmentPattern(E,R);break;case"Identifier":this.enterIdentifier(E,R);break;case"ObjectPattern":this.enterObjectPattern(E,R);break;case"RestElement":this.enterRestElement(E,R);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,R);this.scope.inShorthand=false}else{this.enterPattern(E.value,R)}break}}enterIdentifier(E,R){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){R(E.name,E)}}enterObjectPattern(E,R){for(let N=0,$=E.properties.length;N<$;N++){const $=E.properties[N];this.enterPattern($,R)}}enterArrayPattern(E,R){for(let N=0,$=E.elements.length;N<$;N++){const $=E.elements[N];this.enterPattern($,R)}}enterRestElement(E,R){this.enterPattern(E.argument,R)}enterAssignmentPattern(E,R){this.enterPattern(E.left,R)}evaluateExpression(E){try{const R=this.hooks.evaluate.get(E.type);if(R!==undefined){const N=R.call(E);if(N!==undefined){if(N){N.setExpression(E)}return N}}}catch(E){console.warn(E)}return(new we).setRange(E.range).setExpression(E)}parseString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){return this.parseString(E.left)+this.parseString(E.right)}break;case"Literal":return E.value+""}throw new Error(E.type+" is not supported as parameter for require")}parseCalculatedString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){const R=this.parseCalculatedString(E.left);const N=this.parseCalculatedString(E.right);if(R.code){return{range:R.range,value:R.value,code:true,conditional:false}}else if(N.code){return{range:[R.range[0],N.range?N.range[1]:R.range[1]],value:R.value+N.value,code:true,conditional:false}}else{return{range:[R.range[0],N.range[1]],value:R.value+N.value,code:false,conditional:false}}}break;case"ConditionalExpression":{const R=this.parseCalculatedString(E.consequent);const N=this.parseCalculatedString(E.alternate);const $=[];if(R.conditional){$.push(...R.conditional)}else if(!R.code){$.push(R)}else{break}if(N.conditional){$.push(...N.conditional)}else if(!N.code){$.push(N)}else{break}return{range:undefined,value:"",code:true,conditional:$}}case"Literal":return{range:E.range,value:E.value+"",code:false,conditional:false}}return{range:undefined,value:"",code:true,conditional:false}}parse(E,R){let N;let $;const j=new Set;if(E===null){throw new Error("source must not be null")}if(Buffer.isBuffer(E)){E=E.toString("utf-8")}if(typeof E==="object"){N=E;$=E.comments}else{$=[];N=JavascriptParser._parse(E,{sourceType:this.sourceType,onComment:$,onInsertedSemicolon:E=>j.add(E)})}const q=this.scope;const G=this.state;const ie=this.comments;const ae=this.semicolons;const _e=this.statementPath;const Ee=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new le};this.state=R;this.comments=$;this.semicolons=j;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(N,$)===undefined){this.detectMode(N.body);this.preWalkStatements(N.body);this.prevStatement=undefined;this.blockPreWalkStatements(N.body);this.prevStatement=undefined;this.walkStatements(N.body)}this.hooks.finish.call(N,$);this.scope=q;this.state=G;this.comments=ie;this.semicolons=ae;this.statementPath=_e;this.prevStatement=Ee;return R}evaluate(E){const R=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(R.body.length!==1||R.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(R.body[0].expression)}isPure(E,R){if(!E)return true;const N=this.hooks.isPure.for(E.type).call(E,R);if(typeof N==="boolean")return N;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const R=E.body.body;return R.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,R)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const N=this.isPure(E,R);R=E.range[1];return N}));case"CallExpression":{const N=E.range[0]-R>12&&this.getComments([R,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!N)return false;R=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const N=this.isPure(E,R);R=E.range[1];return N}))}}const $=this.evaluateExpression(E);return!$.couldHaveSideEffects()}getComments(E){const[R,N]=E;const compare=(E,R)=>E.range[0]-R;let $=_e.ge(this.comments,R,compare);let j=[];while(this.comments[$]&&this.comments[$].range[1]<=N){j.push(this.comments[$]);$++}return j}isAsiPosition(E){const R=this.statementPath[this.statementPath.length-1];if(R===undefined)throw new Error("Not in statement");return R.range[1]===E&&this.semicolons.has(E)||R.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const R=this.statementPath[this.statementPath.length-1];return E===R||R.type==="ExpressionStatement"&&R.expression===E}getTagData(E,R){const N=this.scope.definitions.get(E);if(N instanceof VariableInfo){let E=N.tagInfo;while(E!==undefined){if(E.tag===R)return E.data;E=E.next}}}tagVariable(E,R,N){const $=this.scope.definitions.get(E);let j;if($===undefined){j=new VariableInfo(this.scope,E,{tag:R,data:N,next:undefined})}else if($ instanceof VariableInfo){j=new VariableInfo($.declaredScope,$.freeName,{tag:R,data:N,next:$.tagInfo})}else{j=new VariableInfo($,true,{tag:R,data:N,next:undefined})}this.scope.definitions.set(E,j)}defineVariable(E){const R=this.scope.definitions.get(E);if(R instanceof VariableInfo&&R.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const R=this.scope.definitions.get(E);if(R===undefined)return false;if(R instanceof VariableInfo){return R.freeName===true}return true}getVariableInfo(E){const R=this.scope.definitions.get(E);if(R===undefined){return E}else{return R}}setVariable(E,R){if(typeof R==="string"){if(R===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,R,undefined))}}else{this.scope.definitions.set(E,R)}}parseCommentOptions(E){const R=this.getComments(E);if(R.length===0){return ze}let N={};let $=[];for(const E of R){const{value:R}=E;if(R&&je.test(R)){try{const E=ie.runInNewContext(`(function(){return {${R}};})()`);Object.assign(N,E)}catch(R){R.comment=E;$.push(R)}}}return{options:N,errors:$}}extractMemberExpressionChain(E){let R=E;const N=[];while(R.type==="MemberExpression"){if(R.computed){if(R.property.type!=="Literal")break;N.push(`${R.property.value}`)}else{if(R.property.type!=="Identifier")break;N.push(R.property.name)}R=R.object}return{members:N,object:R}}getFreeInfoFromVariable(E){const R=this.getVariableInfo(E);let N;if(R instanceof VariableInfo){N=R.freeName;if(typeof N!=="string")return undefined}else if(typeof R!=="string"){return undefined}else{N=R}return{info:R,name:N}}getMemberExpressionInfo(E,R){const{object:N,members:$}=this.extractMemberExpressionChain(E);switch(N.type){case"CallExpression":{if((R&Ie)===0)return undefined;let E=N.callee;let j=Me;if(E.type==="MemberExpression"){({object:E,members:j}=this.extractMemberExpressionChain(E))}const q=getRootName(E);if(!q)return undefined;const G=this.getFreeInfoFromVariable(q);if(!G)return undefined;const{info:ie,name:ae}=G;const le=objectAndMembersToName(ae,j);return{type:"call",call:N,calleeName:le,rootInfo:ie,getCalleeMembers:Ee((()=>j.reverse())),name:objectAndMembersToName(`${le}()`,$),getMembers:Ee((()=>$.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((R&Te)===0)return undefined;const E=getRootName(N);if(!E)return undefined;const j=this.getFreeInfoFromVariable(E);if(!j)return undefined;const{info:q,name:G}=j;return{type:"expression",name:objectAndMembersToName(G,$),rootInfo:q,getMembers:Ee((()=>$.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,Te)}static _parse(E,R){const N=R?R.sourceType:"module";const $={...Le,allowReturnOutsideFunction:N==="script",...R,sourceType:N==="auto"?"module":N};let j;let q;let G=false;try{j=Be.parse(E,$)}catch(E){q=E;G=true}if(G&&N==="auto"){$.sourceType="script";if(!("allowReturnOutsideFunction"in R)){$.allowReturnOutsideFunction=true}if(Array.isArray($.onComment)){$.onComment.length=0}try{j=Be.parse(E,$);G=false}catch(E){}}if(G){throw q}return j}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ne;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Te;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=Ie},48472:(E,R,N)=>{"use strict";const $=N(53558);const j=N(66298);const q=N(87250);R.toConstantDependency=(E,R,N)=>function constDependency($){const q=new j(R,$.range,N);q.loc=$.loc;E.state.module.addPresentationalDependency(q);return true};R.evaluateToString=E=>function stringExpression(R){return(new q).setString(E).setRange(R.range)};R.evaluateToNumber=E=>function stringExpression(R){return(new q).setNumber(E).setRange(R.range)};R.evaluateToBoolean=E=>function booleanExpression(R){return(new q).setBoolean(E).setRange(R.range)};R.evaluateToIdentifier=(E,R,N,$)=>function identifierExpression(j){let G=(new q).setIdentifier(E,R,N).setSideEffects(false).setRange(j.range);switch($){case true:G.setTruthy();break;case null:G.setNullish(true);break;case false:G.setFalsy();break}return G};R.expressionIsUnsupported=(E,R)=>function unsupportedExpression(N){const q=new j("(void 0)",N.range,null);q.loc=N.loc;E.state.module.addPresentationalDependency(q);if(!E.state.module)return;E.state.module.addWarning(new $(R,N.loc));return true};R.skipTraversal=()=>true;R.approve=()=>true},13085:(E,R,N)=>{"use strict";const $=N(71452);const j=N(76150);const q=N(58159);const{isSubset:G}=N(26221);const{chunkHasJs:ie}=N(18161);const getAllChunks=(E,R,N)=>{const j=new Set([E]);const q=new Set;for(const E of j){for(const $ of E.chunks){if($===R)continue;if($===N)continue;q.add($)}for(const R of E.parentsIterable){if(R instanceof $)j.add(R)}}return q};const ae="var __webpack_exports__ = ";R.generateEntryStartup=(E,R,N,$,ie)=>{const le=[`var __webpack_exec__ = ${R.returningFunction(`__webpack_require__(${j.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,N,$)=>{if(E.size===0){le.push(`${$?ae:""}(${N.map(runModule).join(", ")});`)}else{const q=R.returningFunction(N.map(runModule).join(", "));le.push(`${$&&!ie?ae:""}${ie?j.onChunksLoaded:j.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${q});`);if($&&ie){le.push(`${ae}${j.onChunksLoaded}();`)}}};let _e=undefined;let Ee=undefined;for(const[R,j]of N){const N=j.getRuntimeChunk();const q=E.getModuleId(R);const ie=getAllChunks(j,$,N);if(_e&&_e.size===ie.size&&G(_e,ie)){Ee.push(q)}else{if(_e){outputCombination(_e,Ee)}_e=ie;Ee=[q]}}if(_e){outputCombination(_e,Ee,true)}le.push("");return q.asString(le)};R.updateHashForEntryStartup=(E,R,N,$)=>{for(const[j,q]of N){const N=q.getRuntimeChunk();const G=R.getModuleId(j);E.update(`${G}`);for(const R of getAllChunks(q,$,N))E.update(`${R.id}`)}};R.getInitialChunkIds=(E,R)=>{const N=new Set(E.ids);for(const $ of E.getAllInitialChunks()){if($===E||ie($,R))continue;for(const E of $.ids)N.add(E)}return N}},72055:(E,R,N)=>{"use strict";const{register:$}=N(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}$(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:R}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}R(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(77294);const{UsageState:q}=N(76632);const G=N(36253);const ie=N(76150);const stringifySafe=E=>{const R=JSON.stringify(E);if(!R){return undefined}return R.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,R,N)=>{if(R.otherExportsInfo.getUsed(N)!==q.Unused)return E;const $=Array.isArray(E);const j=$?[]:{};for(const $ of Object.keys(E)){const G=R.getReadOnlyExportInfo($);const ie=G.getUsed(N);if(ie===q.Unused)continue;let ae;if(ie===q.OnlyPropertiesUsed&&G.exportsInfo){ae=createObjectForExportsInfo(E[$],G.exportsInfo,N)}else{ae=E[$]}const le=G.getUsedName($,N);j[le]=ae}if($){let $=R.getReadOnlyExportInfo("length").getUsed(N)!==q.Unused?E.length:undefined;let G=0;for(let E=0;E20&&typeof we==="object"?`JSON.parse('${Me.replace(/[\\']/g,"\\$&")}')`:Me;let Te;if(le){Te=`${N.supportsConst()?"const":"var"} ${j.NAMESPACE_OBJECT_EXPORT} = ${Ie};`;le.registerNamespaceExport(j.NAMESPACE_OBJECT_EXPORT)}else{G.add(ie.module);Te=`${E.moduleArgument}.exports = ${Ie};`}return new $(Te)}}E.exports=JsonGenerator},9483:(E,R,N)=>{"use strict";const $=N(35817);const j=N(79279);const q=N(79232);const G=$(N(71633),(()=>N(89408)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:R})=>{R.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{G(E);return new q(E)}));R.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new j))}))}}E.exports=JsonModulesPlugin},79232:(E,R,N)=>{"use strict";const $=N(78688);const j=N(2172);const q=N(38895);const G=N(72055);class JsonParser extends j{constructor(E){super();this.options=E||{}}parse(E,R){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const N=typeof this.options.parse==="function"?this.options.parse:$;const j=typeof E==="object"?E:N(E[0]==="\ufeff"?E.slice(1):E);R.module.buildInfo.jsonData=new G(j);R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="default";R.module.buildMeta.defaultObject=typeof j==="object"?"redirect-warn":false;R.module.addDependency(new q(q.getExportsFromData(j)));return R}}E.exports=JsonParser},9786:(E,R,N)=>{"use strict";const $=N(76150);const j=N(18161);const q="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:R}){this._pluginName=E;this._type=R;this._parseCache=new WeakMap}apply(E){const{_pluginName:R}=this;E.hooks.thisCompilation.tap(R,(E=>{E.hooks.finishModules.tap({name:R,stage:10},(()=>{for(const[R,{dependencies:N,options:{library:$}}]of E.entries){const j=this._parseOptionsCached($!==undefined?$:E.outputOptions.library);if(j!==false){const $=N[N.length-1];if($){const N=E.moduleGraph.getModule($);if(N){this.finishEntryModule(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=R=>{if(E.chunkGraph.getNumberOfEntryModules(R)===0)return false;const N=R.getEntryOptions();const $=N&&N.library;return this._parseOptionsCached($!==undefined?$:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(R,((R,N,{chunkGraph:$})=>{const j=getOptionsForChunk(R);if(j!==false){this.runtimeRequirements(R,N,{options:j,compilation:E,chunkGraph:$})}}))}const N=j.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){N.render.tap(R,((R,N)=>{const $=getOptionsForChunk(N.chunk);if($===false)return R;return this.render(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){N.embedInRuntimeBailout.tap(R,((R,N)=>{const $=getOptionsForChunk(N.chunk);if($===false)return;return this.embedInRuntimeBailout(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){N.strictRuntimeBailout.tap(R,(R=>{const N=getOptionsForChunk(R.chunk);if(N===false)return;return this.strictRuntimeBailout(R,{options:N,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){N.renderStartup.tap(R,((R,N,$)=>{const j=getOptionsForChunk($.chunk);if(j===false)return R;return this.renderStartup(R,N,$,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}N.chunkHash.tap(R,((R,N,$)=>{const j=getOptionsForChunk(R);if(j===false)return;this.chunkHash(R,N,$,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const R=this._parseCache.get(E);if(R!==undefined)return R;const N=this.parseOptions(E);this._parseCache.set(E,N);return N}parseOptions(E){const R=N(75884);throw new R}finishEntryModule(E,R,N){}embedInRuntimeBailout(E,R,N){return undefined}strictRuntimeBailout(E,R){return undefined}runtimeRequirements(E,R,N){if(this.render!==AbstractLibraryPlugin.prototype.render)R.add($.returnExportsFromRuntime)}render(E,R,N){return E}renderStartup(E,R,N,$){return E}chunkHash(E,R,N,$){const j=this._parseOptionsCached($.compilation.outputOptions.library);R.update(this._pluginName);R.update(JSON.stringify(j))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=q;E.exports=AbstractLibraryPlugin},17982:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const j=N(16734);const q=N(58159);const G=N(9786);class AmdLibraryPlugin extends G{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:R}=E;if(this.requireAsWrapper){if(R){throw new Error(`AMD library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(R&&typeof R!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:R}}render(E,{chunkGraph:R,chunk:N,runtimeTemplate:G},{options:ie,compilation:ae}){const le=G.supportsArrowFunction();const _e=R.getChunkModules(N).filter((E=>E instanceof j));const Ee=_e;const we=JSON.stringify(Ee.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Me=Ee.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${R.getModuleId(E)}`)}__`)).join(", ");const Ie=G.isIIFE();const Te=(le?`(${Me}) => {`:`function(${Me}) {`)+(Ie||!N.hasRuntime()?" return ":"\n");const Ne=Ie?";\n}":"\n}";if(this.requireAsWrapper){return new $(`require(${we}, ${Te}`,E,`${Ne});`)}else if(ie.name){const R=ae.getPath(ie.name,{chunk:N});return new $(`define(${JSON.stringify(R)}, ${we}, ${Te}`,E,`${Ne});`)}else if(Me){return new $(`define(${we}, ${Te}`,E,`${Ne});`)}else{return new $(`define(${Te}`,E,`${Ne});`)}}chunkHash(E,R,N,{options:$,compilation:j}){R.update("AmdLibraryPlugin");if(this.requireAsWrapper){R.update("requireAsWrapper")}else if($.name){R.update("named");const N=j.getPath($.name,{chunk:E});R.update(N)}}}E.exports=AmdLibraryPlugin},69444:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const{UsageState:j}=N(76632);const q=N(58159);const G=N(68038);const{getEntryRuntime:ie}=N(37416);const ae=N(9786);const le=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const _e=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!le.test(E)&&_e.test(E);const accessWithInit=(E,R,N=false)=>{const $=E[0];if(E.length===1&&!N)return $;let j=R>0?$:`(${$} = typeof ${$} === "undefined" ? {} : ${$})`;let q=1;let ie;if(R>q){ie=E.slice(1,R);q=R;j+=G(ie)}else{ie=[]}const ae=N?E.length:E.length-1;for(;qN.getPath(E,{chunk:R})))}render(E,{chunk:R},{options:N,compilation:j}){const G=this._getResolvedFullName(N,R,j);if(this.declare){const R=G[0];if(!isNameValid(R)){throw new Error(`Library name base (${R}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${q.toIdentifier(R)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new $(`${this.declare} ${R};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:R},{options:N,compilation:$}){const j=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!j)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(N,R,$);const G=q[0];if(j.has(G))return`it declares '${G}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:R,compilation:N}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!R.name){return}return"a global variable is assign and maybe created"}renderStartup(E,R,{chunk:N},{options:j,compilation:q}){const ie=this._getResolvedFullName(j,N,q);const ae=j.export?G(Array.isArray(j.export)?j.export:[j.export]):"";const le=new $(E);if(j.name?this.named==="copy":this.unnamed==="copy"){le.add(`var __webpack_export_target__ = ${accessWithInit(ie,this._getPrefix(q).length,true)};\n`);let E="__webpack_exports__";if(ae){le.add(`var __webpack_exports_export__ = __webpack_exports__${ae};\n`);E="__webpack_exports_export__"}le.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);le.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{le.add(`${accessWithInit(ie,this._getPrefix(q).length,false)} = __webpack_exports__${ae};\n`)}return le}runtimeRequirements(E,R,N){}chunkHash(E,R,N,{options:$,compilation:j}){R.update("AssignLibraryPlugin");const q=this.prefix==="global"?[j.outputOptions.globalObject]:this.prefix;const G=$.name?q.concat($.name):q;const ie=G.map((R=>j.getPath(R,{chunk:E})));if($.name?this.named==="copy":this.unnamed==="copy"){R.update("copy")}if(this.declare){R.update(this.declare)}R.update(ie.join("."));if($.export){R.update(`${$.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Library type "${R}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){const enableExportProperty=()=>{const $=N(97140);new $({type:R,nsObjectUsed:R!=="module"}).apply(E)};switch(R){case"var":{const $=N(69444);new $({type:R,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const $=N(69444);new $({type:R,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const $=N(69444);new $({type:R,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const $=N(69444);new $({type:R,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const $=N(69444);new $({type:R,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const $=N(69444);new $({type:R,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const $=N(69444);new $({type:R,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const $=N(69444);new $({type:R,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const $=N(69444);new $({type:R,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const $=N(17982);new $({type:R,requireAsWrapper:R==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const $=N(76456);new $({type:R,optionalAmdExternalAsGlobal:R==="umd2"}).apply(E);break}case"system":{enableExportProperty();const $=N(59405);new $({type:R}).apply(E);break}case"jsonp":{enableExportProperty();const $=N(63154);new $({type:R}).apply(E);break}case"module":{enableExportProperty();const $=N(68111);new $({type:R}).apply(E);break}default:throw new Error(`Unsupported library type ${R}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const{UsageState:j}=N(76632);const q=N(68038);const{getEntryRuntime:G}=N(37416);const ie=N(9786);class ExportPropertyLibraryPlugin extends ie{constructor({type:E,nsObjectUsed:R}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=R}parseOptions(E){return{export:E.export}}finishEntryModule(E,R,{options:N,compilation:$,compilation:{moduleGraph:q}}){const ie=G($,R);if(N.export){const R=q.getExportInfo(E,Array.isArray(N.export)?N.export[0]:N.export);R.setUsed(j.Used,ie);R.canMangleUse=false}else{const R=q.getExportsInfo(E);if(this.nsObjectUsed){R.setUsedInUnknownWay(ie)}else{R.setAllKnownExportsUsed(ie)}}q.addExtraReason(E,"used as library export")}runtimeRequirements(E,R,N){}renderStartup(E,R,N,{options:j}){if(!j.export)return E;const G=`__webpack_exports__ = __webpack_exports__${q(Array.isArray(j.export)?j.export:[j.export])};\n`;return new $(E,G)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const j=N(9786);class JsonpLibraryPlugin extends j{constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(typeof R!=="string"){throw new Error(`Jsonp library name must be a simple string. ${j.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}render(E,{chunk:R},{options:N,compilation:j}){const q=j.getPath(N.name,{chunk:R});return new $(`${q}(`,E,")")}chunkHash(E,R,N,{options:$,compilation:j}){R.update("JsonpLibraryPlugin");R.update(j.getPath($.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const j=N(58159);const q=N(68038);const G=N(9786);class ModuleLibraryPlugin extends G{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(R){throw new Error(`Library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}renderStartup(E,R,{moduleGraph:N,chunk:G},{options:ie,compilation:ae}){const le=new $(E);const _e=N.getExportsInfo(R);const Ee=[];const we=N.isAsync(R);if(we){le.add(`__webpack_exports__ = await __webpack_exports__;\n`)}for(const E of _e.orderedExports){if(!E.provided)continue;const R=`__webpack_exports__${j.toIdentifier(E.name)}`;le.add(`var ${R} = __webpack_exports__${q([E.getUsedName(E.name,G.runtime)])};\n`);Ee.push(`${R} as ${E.name}`)}if(Ee.length>0){le.add(`export { ${Ee.join(", ")} };\n`)}return le}}E.exports=ModuleLibraryPlugin},59405:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(2991);const{UsageState:j}=N(76632);const q=N(16734);const G=N(58159);const ie=N(68038);const ae=N(9786);class SystemLibraryPlugin extends ae{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(R&&typeof R!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}render(E,{chunkGraph:R,moduleGraph:N,chunk:ae},{options:le,compilation:_e}){const Ee=R.getChunkModules(ae).filter((E=>E instanceof q&&E.externalType==="system"));const we=Ee;const Me=le.name?`${JSON.stringify(_e.getPath(le.name,{chunk:ae}))}, `:"";const Ie=JSON.stringify(we.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Te="__WEBPACK_DYNAMIC_EXPORT__";const Ne=we.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${R.getModuleId(E)}`)}__`));const Be=Ne.map((E=>`var ${E} = {};`)).join("\n");const Le=[];const je=Ne.length===0?"":G.asString(["setters: [",G.indent(we.map(((E,R)=>{const $=Ne[R];const q=N.getExportsInfo(E);const le=q.otherExportsInfo.getUsed(ae.runtime)===j.Unused;const _e=[];const Ee=[];for(const E of q.orderedExports){const R=E.getUsedName(undefined,ae.runtime);if(R){if(le||R!==E.name){_e.push(`${$}${ie([R])} = module${ie([E.name])};`);Ee.push(E.name)}}else{Ee.push(E.name)}}if(!le){if(!Array.isArray(E.request)||E.request.length===1){Le.push(`Object.defineProperty(${$}, "__esModule", { value: true });`)}if(Ee.length>0){const E=`${$}handledNames`;Le.push(`var ${E} = ${JSON.stringify(Ee)};`);_e.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`if(${E}.indexOf(key) >= 0)`,G.indent(`${$}[key] = module[key];`)]),"});"]))}else{_e.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`${$}[key] = module[key];`]),"});"]))}}if(_e.length===0)return"function() {}";return G.asString(["function(module) {",G.indent(_e),"}"])})).join(",\n")),"],"]);return new $(G.asString([`System.register(${Me}${Ie}, function(${Te}, __system_context__) {`,G.indent([Be,G.asString(Le),"return {",G.indent([je,"execute: function() {",G.indent(`${Te}(`)])]),""]),E,G.asString(["",G.indent([G.indent([G.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,R,N,{options:$,compilation:j}){R.update("SystemLibraryPlugin");if($.name){R.update(j.getPath($.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,R,N)=>{"use strict";const{ConcatSource:$,OriginalSource:j}=N(2991);const q=N(16734);const G=N(58159);const ie=N(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,R,N=", ")=>{const $=Array.isArray(R)?R:[R];return $.map(((R,N)=>{const j=E?E+accessorToObjectAccess($.slice(0,N+1)):$[0]+accessorToObjectAccess($.slice(1,N+1));if(N===$.length-1)return j;if(N===0&&E===undefined)return`${j} = typeof ${j} === "object" ? ${j} : {}`;return`${j} = ${j} || {}`})).join(N)};class UmdLibraryPlugin extends ie{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let R;let N;if(typeof E.name==="object"&&!Array.isArray(E.name)){R=E.name.root||E.name.amd||E.name.commonjs;N=E.name}else{R=E.name;const $=Array.isArray(R)?R[0]:R;N={commonjs:$,root:E.name,amd:$}}return{name:R,names:N,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:R,runtimeTemplate:N,chunk:ie,moduleGraph:ae},{options:le,compilation:_e}){const Ee=R.getChunkModules(ie).filter((E=>E instanceof q&&(E.externalType==="umd"||E.externalType==="umd2")));let we=Ee;const Me=[];let Ie=[];if(this.optionalAmdExternalAsGlobal){for(const E of we){if(E.isOptional(ae)){Me.push(E)}else{Ie.push(E)}}we=Ie.concat(Me)}else{Ie=we}const replaceKeys=E=>_e.getPath(E,{chunk:ie});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let R=E.request;if(typeof R==="object")R=R.root;return`root${accessorToObjectAccess([].concat(R))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(we.map((R=>{let N;let $=R.request;if(typeof $==="object"){$=$[E]}if($===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray($)){N=`require(${JSON.stringify($[0])})${accessorToObjectAccess($.slice(1))}`}else{N=`require(${JSON.stringify($)})`}if(R.isOptional(ae)){N=`(function webpackLoadOptionalExternalModule() { try { return ${N}; } catch(e) {} }())`}return N})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${R.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Te;if(Me.length>0){const E=externalsArguments(Ie);const R=Ie.length>0?externalsArguments(Ie)+", "+externalsRootArray(Me):externalsRootArray(Me);Te=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${R});\n`+"\t\t}"}else{Te="factory"}const{auxiliaryComment:Ne,namedDefine:Be,names:Le}=le;const getAuxiliaryComment=E=>{if(Ne){if(typeof Ne==="string")return"\t//"+Ne+"\n";if(Ne[E])return"\t//"+Ne[E]+"\n"}return""};return new $(new j("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(Ie.length>0?Le.amd&&Be===true?"\t\tdefine("+libraryName(Le.amd)+", "+externalsDepsArray(Ie)+", "+Te+");\n":"\t\tdefine("+externalsDepsArray(Ie)+", "+Te+");\n":Le.amd&&Be===true?"\t\tdefine("+libraryName(Le.amd)+", [], "+Te+");\n":"\t\tdefine([], "+Te+");\n")+(Le.root||Le.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Le.commonjs||Le.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Le.root||Le.commonjs))+" = factory("+externalsRootArray(we)+");\n":"\telse {\n"+(we.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(we)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${N.outputOptions.globalObject}, function(${externalsArguments(we)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,R)=>{"use strict";const N=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});R.LogType=N;const $=Symbol("webpack logger raw log method");const j=Symbol("webpack logger times");const q=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,R){this[$]=E;this.getChildLogger=R}error(...E){this[$](N.error,E)}warn(...E){this[$](N.warn,E)}info(...E){this[$](N.info,E)}log(...E){this[$](N.log,E)}debug(...E){this[$](N.debug,E)}assert(E,...R){if(!E){this[$](N.error,R)}}trace(){this[$](N.trace,["Trace"])}clear(){this[$](N.clear)}status(...E){this[$](N.status,E)}group(...E){this[$](N.group,E)}groupCollapsed(...E){this[$](N.groupCollapsed,E)}groupEnd(...E){this[$](N.groupEnd,E)}profile(E){this[$](N.profile,[E])}profileEnd(E){this[$](N.profileEnd,[E])}time(E){this[j]=this[j]||new Map;this[j].set(E,process.hrtime())}timeLog(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const q=process.hrtime(R);this[$](N.time,[E,...q])}timeEnd(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const q=process.hrtime(R);this[j].delete(E);this[$](N.time,[E,...q])}timeAggregate(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const N=process.hrtime(R);this[j].delete(E);this[q]=this[q]||new Map;const $=this[q].get(E);if($!==undefined){if(N[1]+$[1]>1e9){N[0]+=$[0]+1;N[1]=N[1]-1e9+$[1]}else{N[0]+=$[0];N[1]+=$[1]}}this[q].set(E,N)}timeAggregateEnd(E){if(this[q]===undefined)return;const R=this[q].get(E);if(R===undefined)return;this[q].delete(E);this[$](N.time,[E,...R])}}R.Logger=WebpackLogger},70108:(E,R,N)=>{"use strict";const{LogType:$}=N(78539);const filterToFunction=E=>{if(typeof E==="string"){const R=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>R.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return R=>E.test(R)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const j={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:R=false,console:N})=>{const q=typeof R==="boolean"?[()=>R]:[].concat(R).map(filterToFunction);const G=j[`${E}`]||0;const logger=(E,R,ie)=>{const labeledArgs=()=>{if(Array.isArray(ie)){if(ie.length>0&&typeof ie[0]==="string"){return[`[${E}] ${ie[0]}`,...ie.slice(1)]}else{return[`[${E}]`,...ie]}}else{return[]}};const ae=q.some((R=>R(E)));switch(R){case $.debug:if(!ae)return;if(typeof N.debug==="function"){N.debug(...labeledArgs())}else{N.log(...labeledArgs())}break;case $.log:if(!ae&&G>j.log)return;N.log(...labeledArgs());break;case $.info:if(!ae&&G>j.info)return;N.info(...labeledArgs());break;case $.warn:if(!ae&&G>j.warn)return;N.warn(...labeledArgs());break;case $.error:if(!ae&&G>j.error)return;N.error(...labeledArgs());break;case $.trace:if(!ae)return;N.trace();break;case $.groupCollapsed:if(!ae&&G>j.log)return;if(!ae&&G>j.verbose){if(typeof N.groupCollapsed==="function"){N.groupCollapsed(...labeledArgs())}else{N.log(...labeledArgs())}break}case $.group:if(!ae&&G>j.log)return;if(typeof N.group==="function"){N.group(...labeledArgs())}else{N.log(...labeledArgs())}break;case $.groupEnd:if(!ae&&G>j.log)return;if(typeof N.groupEnd==="function"){N.groupEnd()}break;case $.time:{if(!ae&&G>j.log)return;const R=ie[1]*1e3+ie[2]/1e6;const $=`[${E}] ${ie[0]}: ${R} ms`;if(typeof N.logTime==="function"){N.logTime($)}else{N.log($)}break}case $.profile:if(typeof N.profile==="function"){N.profile(...labeledArgs())}break;case $.profileEnd:if(typeof N.profileEnd==="function"){N.profileEnd(...labeledArgs())}break;case $.clear:if(!ae&&G>j.log)return;if(typeof N.clear==="function"){N.clear()}break;case $.status:if(!ae&&G>j.info)return;if(typeof N.status==="function"){if(ie.length===0){N.status()}else{N.status(...labeledArgs())}}else{if(ie.length!==0){N.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${R}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let R=0;for(const N of E)R+=N;return R};const truncateArgs=(E,R)=>{const N=E.map((E=>`${E}`.length));const $=R-N.length+1;if($>0&&E.length===1){if($>=E[0].length){return E}else if($>3){return["..."+E[0].slice(-$+3)]}else{return[E[0].slice(-$)]}}if($Math.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),R);return[]}let j=arraySum(N);if(j<=$)return E;while(j>$){const E=Math.max(...N);const R=N.filter((R=>R!==E));const q=R.length>0?Math.max(...R):0;const G=E-q;let ie=N.length-R.length;let ae=j-$;for(let R=0;R{const $=`${E}`;const j=N[R];if($.length===j){return $}else if(j>5){return"..."+$.slice(-j+3)}else if(j>0){return $.slice(-j)}else{return""}}))};E.exports=truncateArgs},82827:(E,R,N)=>{"use strict";const $=N(76150);const j=N(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const R=this._asyncChunkLoading?N(26020):N(75491);const q=this._asyncChunkLoading?"async-node":"require";new j({chunkLoading:q,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const $=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return $===q};const j=new WeakSet;const handler=(N,q)=>{if(j.has(N))return;j.add(N);if(!isEnabledForChunk(N))return;q.add($.moduleFactoriesAddOnly);q.add($.hasOwnProperty);E.addRuntimeModule(N,new R(q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,R,N)=>{"use strict";const $=N(67703);const j=N(15808);const q=N(70108);const G=N(2255);const ie=N(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:R}=this.options;E.infrastructureLogger=q({level:R.level||"info",debug:R.debug||false,console:R.console||ie({colors:R.colors,appendOnly:R.appendOnly,stream:R.stream})});E.inputFileSystem=new $(j,6e4);const N=E.inputFileSystem;E.outputFileSystem=j;E.intermediateFileSystem=j;E.watchFileSystem=new G(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===N){E.fsStartTime=Date.now();N.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,R,N)=>{"use strict";const $=N(61050);const j=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new $("node-commonjs",j).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,R,N)=>{"use strict";const $=N(77314);const j=N(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const R=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=R;(new $).apply(E);new j(R).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,R,N)=>{"use strict";const $=N(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new $(this.watcherOptions)}watch(E,R,N,j,q,G,ie){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!R||typeof R[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!N||typeof N[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof G!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof j!=="number"&&j){throw new Error("Invalid arguments: 'startTime'")}if(typeof q!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ie!=="function"&&ie){throw new Error("Invalid arguments: 'callbackUndelayed'")}const ae=this.watcher;this.watcher=new $(q);if(ie){this.watcher.once("change",ie)}this.watcher.once("aggregated",((E,R)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}for(const E of R){N.purge(E)}}const N=this.watcher.getTimeInfoEntries();G(null,N,N,E,R)}));this.watcher.watch({files:E,directories:R,missing:N,startTime:j});if(ae){ae.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class ReadFileChunkLoadingRuntimeModule extends j{constructor(E){super("readFile chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:R}=this;const{runtimeTemplate:j}=this.compilation;const Ee=$.ensureChunkHandlers;const we=this.runtimeRequirements.has($.baseURI);const Me=this.runtimeRequirements.has($.externalInstallChunk);const Ie=this.runtimeRequirements.has($.onChunksLoaded);const Te=this.runtimeRequirements.has($.ensureChunkHandlers);const Ne=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has($.hmrDownloadManifest);const Le=E.getChunkConditionMap(R,G);const je=le(Le);const ze=ae(R,E);const Ue=this.compilation.getPath(ie(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const qe=_e(Ue,this.compilation.outputOptions.path,false);const Ge=Ne?`${$.hmrRuntimeStatePrefix}_readFileVm`:undefined;return q.asString([we?q.asString([`${$.baseURI} = require("url").pathToFileURL(${qe?`__dirname + ${JSON.stringify("/"+qe)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ie?`${$.onChunksLoaded}.readFileVm = ${j.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Te||Me?`var installChunk = ${j.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${$.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",q.indent(["if(installedChunks[chunkIds[i]]) {",q.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ie?`${$.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Te?q.asString(["// ReadFile + VM.run chunk loading for javascript",`${Ee}.readFileVm = function(chunkId, promises) {`,je!==false?q.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,q.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",q.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Me?q.asString(["module.exports = __webpack_require__;",`${$.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${$.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${$.hmrDownloadManifest} = function() {`,q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) {",q.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(34943);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:R=false}={}){this._type=E;this._import=R}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $===this._type};const N=this._import?E=>j.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",j.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>j.asString(["new Promise(function (resolve, reject) {",j.indent(["try {",j.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for($.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((R,j)=>{if(!isEnabledForChunk(R))return;const G=E.chunkGraph;if(!G.hasModuleInGraph(R,(E=>E.type==="webassembly/async"))){return}j.add($.publicPath);E.addRuntimeModule(R,new q({generateLoadBinaryCode:N,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="async-node"};const generateLoadBinaryCode=E=>j.asString(["new Promise(function (resolve, reject) {",j.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",j.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const j=E.chunkGraph;if(!j.hasModuleInGraph(R,(E=>E.type==="webassembly/sync"))){return}N.add($.moduleCache);E.addRuntimeModule(R,new q({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:N}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class RequireChunkLoadingRuntimeModule extends j{constructor(E){super("require chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:R}=this;const{runtimeTemplate:j}=this.compilation;const Ee=$.ensureChunkHandlers;const we=this.runtimeRequirements.has($.baseURI);const Me=this.runtimeRequirements.has($.externalInstallChunk);const Ie=this.runtimeRequirements.has($.onChunksLoaded);const Te=this.runtimeRequirements.has($.ensureChunkHandlers);const Ne=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has($.hmrDownloadManifest);const Le=E.getChunkConditionMap(R,G);const je=le(Le);const ze=ae(R,E);const Ue=this.compilation.getPath(ie(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const qe=_e(Ue,this.compilation.outputOptions.path,true);const Ge=Ne?`${$.hmrRuntimeStatePrefix}_require`:undefined;return q.asString([we?q.asString([`${$.baseURI} = require("url").pathToFileURL(${qe!=="./"?`__dirname + ${JSON.stringify("/"+qe)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Ie?`${$.onChunksLoaded}.require = ${j.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Te||Me?`var installChunk = ${j.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${$.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",q.indent("installedChunks[chunkIds[i]] = 1;"),Ie?`${$.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Te?q.asString(["// require() chunk loading for javascript",`${Ee}.require = ${j.basicFunction("chunkId, promises",je!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,q.indent([`installChunk(require(${JSON.stringify(qe)} + ${$.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Me?q.asString(["module.exports = __webpack_require__;",`${$.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent([`var update = require(${JSON.stringify(qe)} + ${$.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${$.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${$.hmrDownloadManifest} = function() {`,q.indent(["return Promise.resolve().then(function() {",q.indent([`return require(${JSON.stringify(qe)} + ${$.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,R,N)=>{"use strict";const $=N(73837);const j=N(50595);E.exports=({colors:E,appendOnly:R,stream:N})=>{let q=undefined;let G=false;let ie="";let ae=0;const indent=(R,N,$,j)=>{if(R==="")return R;N=ie+N;if(E){return N+$+R.replace(/\n/g,j+"\n"+N+$)+j}else{return N+R.replace(/\n/g,"\n"+N)}};const clearStatusMessage=()=>{if(G){N.write("\r");G=false}};const writeStatusMessage=()=>{if(!q)return;const E=N.columns;const R=E?j(q,E-1):q;const $=R.join(" ");const ie=`${$}`;N.write(`\r${ie}`);G=true};const writeColored=(E,R,j)=>(...q)=>{if(ae>0)return;clearStatusMessage();const G=indent($.format(...q),E,R,j);N.write(G+"\n");writeStatusMessage()};const le=writeColored("<-> ","","");const _e=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...E)=>{le(...E);if(ae>0){ae++}else{ie+=" "}},groupCollapsed:(...E)=>{_e(...E);ae++},groupEnd:()=>{if(ae>0)ae--;else if(ie.length>=2)ie=ie.slice(0,ie.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!R&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:R?writeColored(" ","",""):(E,...R)=>{R=R.filter(Boolean);if(E===undefined&&R.length===0){clearStatusMessage();q=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){q=[E.slice(19),...R];writeStatusMessage()}else if(E==="[webpack.Progress]"){q=[...R];writeStatusMessage()}else{q=[E,...R];writeStatusMessage()}}}}},61332:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const R=this.options;const N=R.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:$},(R=>{const $=E.chunkGraph;let j=[];for(const E of R){if(E.canBeInitial())continue;for(const N of R){if(N.canBeInitial())continue;if(N===E)break;if(!$.canChunksBeIntegrated(E,N)){continue}const R=$.getChunkSize(N,{chunkOverhead:0});const q=$.getChunkSize(E,{chunkOverhead:0});const G=$.getIntegratedChunksSize(N,E,{chunkOverhead:0});const ie=(R+q)/G;j.push({a:E,b:N,improvement:ie})}}j.sort(((E,R)=>R.improvement-E.improvement));const q=j[0];if(!q)return;if(q.improvement{"use strict";const{STAGE_ADVANCED:$}=N(82414);const{intersect:j}=N(26221);const{compareModulesByIdentifier:q,compareChunks:G}=N(68673);const ie=N(35817);const ae=N(49197);const le=ie(N(77593),(()=>N(3484)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,R,N)=>$=>{E.disconnectChunkAndModule(R,$);E.connectChunkAndModule(N,$)};const isNotAEntryModule=(E,R)=>N=>!E.isEntryModuleInChunk(N,R);const _e=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){le(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return _e.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(R=>{let N=false;let ie;let le;let Ee;R.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ie=[];le=new Set;Ee=new Map}));R.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:$},(N=>{const $=R.chunkGraph;const _e=new Map;const we=new Map;const Me=ae.makePathsRelative.bindContextCache(E.context,E.root);for(const E of R.modules){const R=Me(E.identifier());_e.set(R,E);we.set(E,R)}const Ie=new Set;for(const E of N){Ie.add(E.id)}const Te=R.records&&R.records.aggressiveSplits||[];const Ne=ie?Te.concat(ie):Te;const Be=this.options.minSize;const Le=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&Ie.has(E.id)){return false}const N=E.modules.map((E=>_e.get(E)));if(!N.every(Boolean))return false;let q=0;for(const E of N)q+=E.size();if(q!==E.size)return false;const G=j(N.map((E=>new Set($.getModuleChunksIterable(E)))));if(G.size===0)return false;if(G.size===1&&$.getNumberOfChunkModules(Array.from(G)[0])===N.length){const R=Array.from(G)[0];if(le.has(R))return false;le.add(R);Ee.set(R,E);return true}const ie=R.addChunk();ie.chunkReason="aggressive splitted";for(const E of G){N.forEach(moveModuleBetween($,E,ie));E.split(ie);E.name=null}le.add(ie);Ee.set(ie,E);if(E.id!==null&&E.id!==undefined){ie.id=E.id;ie.ids=[E.id]}return true};let je=false;for(let E=0;E{const N=$.getChunkModulesSize(R)-$.getChunkModulesSize(E);if(N)return N;const j=$.getNumberOfChunkModules(E)-$.getNumberOfChunkModules(R);if(j)return j;return ze(E,R)}));for(const E of Ue){if(le.has(E))continue;const R=$.getChunkModulesSize(E);if(R>Le&&$.getNumberOfChunkModules(E)>1){const R=$.getOrderedChunkModules(E,q).filter(isNotAEntryModule($,E));const N=[];let j=0;for(let E=0;ELe&&j>=Be){break}j=q;N.push($)}if(N.length===0)continue;const G={modules:N.map((E=>we.get(E))).sort(),size:j};if(applySplit(G)){ie=(ie||[]).concat(G);je=true}}}if(je)return true}));R.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const $=new Set;const j=new Set;for(const E of R.chunks){const R=Ee.get(E);if(R!==undefined){if(R.hash&&E.hash!==R.hash){j.add(R)}}}if(j.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!j.has(E)));N=true}else{for(const E of R.chunks){const R=Ee.get(E);if(R!==undefined){R.hash=E.hash;R.id=E.id;$.add(R);_e.add(E)}}const q=R.records&&R.records.aggressiveSplits;if(q){for(const E of q){if(!j.has(E))$.add(E)}}E.aggressiveSplits=Array.from($);N=false}}));R.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(N){N=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,R,N)=>{"use strict";const $=N(19579);const j=N(36337);const{CachedSource:q,ConcatSource:G,ReplaceSource:ie}=N(2991);const ae=N(77294);const{UsageState:le}=N(76632);const _e=N(53453);const Ee=N(76150);const we=N(58159);const Me=N(37359);const Ie=N(3711);const{equals:Te}=N(73910);const Ne=N(83379);const{concatComparators:Be,keepOriginalOrder:Le}=N(68673);const je=N(35891);const{makePathsRelative:ze}=N(49197);const Ue=N(56202);const qe=N(68038);const{filterRuntime:Ge,intersectRuntime:He,mergeRuntimeCondition:We,mergeRuntimeConditionNonFalse:Ve,runtimeConditionToString:Ke,subtractRuntimeCondition:Qe}=N(37416);const Je=j;if(!Je.prototype.PropertyDefinition){Je.prototype.PropertyDefinition=Je.prototype.Property}const Xe=new Set([ae.DEFAULT_EXPORT,ae.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,R)=>{const N=E.sourceOrder;const $=R.sourceOrder;if(isNaN(N)){if(!isNaN($)){return 1}}else{if(isNaN($)){return-1}if(N!==$){return N<$?-1:1}}return 0};const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const getFinalBinding=(E,R,N,$,j,q,G,ie,ae,le,_e,Ee=new Set)=>{const Me=R.module.getExportsType(E,le);if(N.length===0){switch(Me){case"default-only":R.interopNamespaceObject2Used=true;return{info:R,rawName:R.interopNamespaceObject2Name,ids:N,exportName:N};case"default-with-named":R.interopNamespaceObjectUsed=true;return{info:R,rawName:R.interopNamespaceObjectName,ids:N,exportName:N};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Me}`)}}else{switch(Me){case"namespace":break;case"default-with-named":switch(N[0]){case"default":N=N.slice(1);break;case"__esModule":return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}break;case"default-only":{const E=N[0];if(E==="__esModule"){return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}N=N.slice(1);if(E!=="default"){return{info:R,rawName:"/* non-default import from default-exporting module */undefined",ids:N,exportName:N}}break}case"dynamic":switch(N[0]){case"default":{N=N.slice(1);R.interopDefaultAccessUsed=true;const E=ae?`${R.interopDefaultAccessName}()`:_e?`(${R.interopDefaultAccessName}())`:_e===false?`;(${R.interopDefaultAccessName}())`:`${R.interopDefaultAccessName}.a`;return{info:R,rawName:E,ids:N,exportName:N}}case"__esModule":return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}break;default:throw new Error(`Unexpected exportsType ${Me}`)}}if(N.length===0){switch(R.type){case"concatenated":ie.add(R);return{info:R,rawName:R.namespaceObjectName,ids:N,exportName:N};case"external":return{info:R,rawName:R.name,ids:N,exportName:N}}}const Ie=E.getExportsInfo(R.module);const Ne=Ie.getExportInfo(N[0]);if(Ee.has(Ne)){return{info:R,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:N}}Ee.add(Ne);switch(R.type){case"concatenated":{const le=N[0];if(Ne.provided===false){ie.add(R);return{info:R,rawName:R.namespaceObjectName,ids:N,exportName:N}}const we=R.exportMap&&R.exportMap.get(le);if(we){const E=Ie.getUsedName(N,j);if(!E){return{info:R,rawName:"/* unused export */ undefined",ids:N.slice(1),exportName:N}}return{info:R,name:we,ids:E.slice(1),exportName:N}}const Me=R.rawExportMap&&R.rawExportMap.get(le);if(Me){return{info:R,rawName:Me,ids:N.slice(1),exportName:N}}const Te=Ne.findTarget(E,(E=>$.has(E)));if(Te===false){throw new Error(`Target module of reexport from '${R.module.readableIdentifier(q)}' is not part of the concatenation (export '${le}')\nModules in the concatenation:\n${Array.from($,(([E,R])=>` * ${R.type} ${E.readableIdentifier(q)}`)).join("\n")}`)}if(Te){const le=$.get(Te.module);return getFinalBinding(E,le,Te.export?[...Te.export,...N.slice(1)]:N.slice(1),$,j,q,G,ie,ae,R.module.buildMeta.strictHarmonyModule,_e,Ee)}if(R.namespaceExportSymbol){const E=Ie.getUsedName(N,j);return{info:R,rawName:R.namespaceObjectName,ids:E,exportName:N}}throw new Error(`Cannot get final name for export '${N.join(".")}' of ${R.module.readableIdentifier(q)}`)}case"external":{const E=Ie.getUsedName(N,j);if(!E){return{info:R,rawName:"/* unused export */ undefined",ids:N.slice(1),exportName:N}}const $=Te(E,N)?"":we.toNormalComment(`${N.join(".")}`);return{info:R,rawName:R.name+$,ids:E,exportName:N}}}};const getFinalName=(E,R,N,$,j,q,G,ie,ae,le,_e,Ee)=>{const we=getFinalBinding(E,R,N,$,j,q,G,ie,ae,_e,Ee);{const{ids:E,comment:R}=we;let N;let $;if("rawName"in we){N=`${we.rawName}${R||""}${qe(E)}`;$=E.length>0}else{const{info:j,name:G}=we;const ie=j.internalNames.get(G);if(!ie){throw new Error(`The export "${G}" in "${j.module.readableIdentifier(q)}" has no internal name (existing names: ${Array.from(j.internalNames,(([E,R])=>`${E}: ${R}`)).join(", ")||"none"})`)}N=`${ie}${R||""}${qe(E)}`;$=E.length>1}if($&&ae&&le===false){return Ee?`(0,${N})`:Ee===false?`;(0,${N})`:`/*#__PURE__*/Object(${N})`}return N}};const addScopeSymbols=(E,R,N,$)=>{let j=E;while(j){if(N.has(j))break;if($.has(j))break;N.add(j);for(const E of j.variables){R.add(E.name)}j=j.upper}};const getAllReferences=E=>{let R=E.references;const N=new Set(E.identifiers);for(const $ of E.scope.childScopes){for(const E of $.variables){if(E.identifiers.some((E=>N.has(E)))){R=R.concat(E.references);break}}}return R};const getPathInAst=(E,R)=>{if(E===R){return[]}const N=R.range;const enterNode=E=>{if(!E)return undefined;const $=E.range;if($){if($[0]<=N[0]&&$[1]>=N[1]){const N=getPathInAst(E,R);if(N){N.push(E);return N}}}return undefined};if(Array.isArray(E)){for(let R=0;R!(E instanceof Me)||!this._modules.has(R.moduleGraph.getModule(E))))){this.dependencies.push(N)}for(const R of E.blocks){this.blocks.push(R)}const N=E.getWarnings();if(N!==undefined){for(const E of N){this.addWarning(E)}}const $=E.getErrors();if($!==undefined){for(const E of $){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const R=this.buildInfo.topLevelDeclarations;if(R!==undefined){for(const N of E.buildInfo.topLevelDeclarations){if(Xe.has(N))continue;R.add(N)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[R,N]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(R,N)}}}j()}size(E){let R=0;for(const N of this._modules){R+=N.size(E)}return R}_createConcatenationList(E,R,N,$){const j=[];const q=new Map;const getConcatenatedImports=R=>{let j=Array.from($.getOutgoingConnections(R));if(R===E){for(const E of $.getOutgoingConnections(this))j.push(E)}const q=j.filter((E=>{if(!(E.dependency instanceof Me))return false;return E&&E.resolvedOriginModule===R&&E.module&&E.isTargetActive(N)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));q.sort(Be(bySourceOrder,Le(q)));const G=new Map;for(const{connection:E}of q){const R=Ge(N,(R=>E.isTargetActive(R)));if(R===false)continue;const $=E.module;const j=G.get($);if(j===undefined){G.set($,{connection:E,runtimeCondition:R});continue}j.runtimeCondition=Ve(j.runtimeCondition,R,N)}return G.values()};const enterModule=(E,$)=>{const G=E.module;if(!G)return;const ie=q.get(G);if(ie===true){return}if(R.has(G)){q.set(G,true);if($!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${G.identifier()} in ${this.rootModule.identifier()}, ${Ke($)}). This should not happen.`)}const R=getConcatenatedImports(G);for(const{connection:E,runtimeCondition:N}of R)enterModule(E,N);j.push({type:"concatenated",module:E.module,runtimeCondition:$})}else{if(ie!==undefined){const R=Qe($,ie,N);if(R===false)return;$=R;q.set(E.module,Ve(ie,$,N))}else{q.set(E.module,$)}if(j.length>0){const R=j[j.length-1];if(R.type==="external"&&R.module===E.module){R.runtimeCondition=We(R.runtimeCondition,$,N);return}}j.push({type:"external",get module(){return E.module},runtimeCondition:$})}};q.set(E,true);const G=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:R}of G)enterModule(E,R);j.push({type:"concatenated",module:E,runtimeCondition:true});return j}static _createIdentifier(E,R,N,$="md4"){const j=ze.bindContextCache(E.context,N);let q=[];for(const E of R){q.push(j(E.identifier()))}q.sort();const G=je($);G.update(q.join(" "));return E.identifier()+"|"+G.digest("hex")}addCacheDependencies(E,R,N,$){for(const j of this._modules){j.addCacheDependencies(E,R,N,$)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtime:j}){const ie=new Set;const _e=He(j,this._runtime);const we=R.requestShortener;const[Me,Ie]=this._getModulesWithInfo(N,_e);const Te=new Set;for(const j of Ie.values()){this._analyseModule(Ie,j,E,R,N,$,_e)}const Ne=new Set(Xe);const Be=new Map;const getUsedNamesInScopeInfo=(E,R)=>{const N=`${E}-${R}`;let $=Be.get(N);if($===undefined){$={usedNames:new Set,alreadyCheckedScopes:new Set};Be.set(N,$)}return $};const Le=new Set;for(const E of Me){if(E.type==="concatenated"){if(E.moduleScope){Le.add(E.moduleScope)}const $=new WeakMap;const getSuperClassExpressions=E=>{const R=$.get(E);if(R!==undefined)return R;const N=[];for(const R of E.childScopes){if(R.type!=="class")continue;const E=R.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){N.push({range:E.superClass.range,variables:R.variables})}}$.set(E,N);return N};if(E.globalScope){for(const $ of E.globalScope.through){const j=$.identifier.name;if(ae.isModuleReference(j)){const q=ae.matchModuleReference(j);if(!q)continue;const G=Me[q.index];if(G.type==="reference")throw new Error("Module reference can't point to a reference");const ie=getFinalBinding(N,G,q.ids,Ie,_e,we,R,Te,false,E.module.buildMeta.strictHarmonyModule,true);if(!ie.ids)continue;const{usedNames:le,alreadyCheckedScopes:Ee}=getUsedNamesInScopeInfo(ie.info.module.identifier(),"name"in ie?ie.name:"");for(const E of getSuperClassExpressions($.from)){if(E.range[0]<=$.identifier.range[0]&&E.range[1]>=$.identifier.range[1]){for(const R of E.variables){le.add(R.name)}}}addScopeSymbols($.from,le,Ee,Le)}else{Ne.add(j)}}}}}for(const E of Ie.values()){const{usedNames:R}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const R of E.moduleScope.variables){const N=R.name;const{usedNames:$,alreadyCheckedScopes:j}=getUsedNamesInScopeInfo(E.module.identifier(),N);if(Ne.has(N)||$.has(N)){const q=getAllReferences(R);for(const E of q){addScopeSymbols(E.from,$,j,Le)}const G=this.findNewName(N,Ne,$,E.module.readableIdentifier(we));Ne.add(G);E.internalNames.set(N,G);const ie=E.source;const ae=new Set(q.map((E=>E.identifier)).concat(R.identifiers));for(const R of ae){const N=R.range;const $=getPathInAst(E.ast,R);if($&&$.length>1){const E=$[1].type==="AssignmentPattern"&&$[1].left===$[0]?$[2]:$[1];if(E.type==="Property"&&E.shorthand){ie.insert(N[1],`: ${G}`);continue}}ie.replace(N[0],N[1]-1,G)}}else{Ne.add(N);E.internalNames.set(N,N)}}let N;if(E.namespaceExportSymbol){N=E.internalNames.get(E.namespaceExportSymbol)}else{N=this.findNewName("namespaceObject",Ne,R,E.module.readableIdentifier(we));Ne.add(N)}E.namespaceObjectName=N;break}case"external":{const N=this.findNewName("",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.name=N;break}}if(E.module.buildMeta.exportsType!=="namespace"){const N=this.findNewName("namespaceObject",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopNamespaceObjectName=N}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const N=this.findNewName("namespaceObject2",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopNamespaceObject2Name=N}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const N=this.findNewName("default",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopDefaultAccessName=N}}for(const E of Ie.values()){if(E.type==="concatenated"){for(const $ of E.globalScope.through){const j=$.identifier.name;const q=ae.matchModuleReference(j);if(q){const j=Me[q.index];if(j.type==="reference")throw new Error("Module reference can't point to a reference");const G=getFinalName(N,j,q.ids,Ie,_e,we,R,Te,q.call,!q.directImport,E.module.buildMeta.strictHarmonyModule,q.asiSafe);const ie=$.identifier.range;const ae=E.source;ae.replace(ie[0],ie[1]+1,G)}}}}const je=new Map;const ze=new Set;const Ue=Ie.get(this.rootModule);const qe=Ue.module.buildMeta.strictHarmonyModule;const Ge=N.getExportsInfo(Ue.module);for(const E of Ge.orderedExports){const $=E.name;if(E.provided===false)continue;const j=E.getUsedName(undefined,_e);if(!j){ze.add($);continue}je.set(j,(q=>{try{const j=getFinalName(N,Ue,[$],Ie,_e,q,R,Te,false,false,qe,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${j}`}catch(E){E.message+=`\nwhile generating the root export '${$}' (used name: '${j}')`;throw E}}))}const We=new G;if(N.getExportsInfo(this).otherExportsInfo.getUsed(_e)!==le.Unused){We.add(`// ESM COMPAT FLAG\n`);We.add(R.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ie}))}if(je.size>0){ie.add(Ee.exports);ie.add(Ee.definePropertyGetters);const E=[];for(const[N,$]of je){E.push(`\n ${JSON.stringify(N)}: ${R.returningFunction($(we))}`)}We.add(`\n// EXPORTS\n`);We.add(`${Ee.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(ze.size>0){We.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(ze)}\n`)}const Ve=new Map;for(const E of Te){if(E.namespaceExportSymbol)continue;const $=[];const j=N.getExportsInfo(E.module);for(const q of j.orderedExports){if(q.provided===false)continue;const j=q.getUsedName(undefined,_e);if(j){const G=getFinalName(N,E,[q.name],Ie,_e,we,R,Te,false,undefined,E.module.buildMeta.strictHarmonyModule,true);$.push(`\n ${JSON.stringify(j)}: ${R.returningFunction(G)}`)}}const q=E.namespaceObjectName;const G=$.length>0?`${Ee.definePropertyGetters}(${q}, {${$.join(",")}\n});\n`:"";if($.length>0)ie.add(Ee.definePropertyGetters);Ve.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(we)}\nvar ${q} = {};\n${Ee.makeNamespaceObject}(${q});\n${G}`);ie.add(Ee.makeNamespaceObject)}for(const E of Me){if(E.type==="concatenated"){const R=Ve.get(E);if(!R)continue;We.add(R)}}const Ke=[];for(const E of Me){let N;let j=false;const q=E.type==="reference"?E.target:E;switch(q.type){case"concatenated":{We.add(`\n;// CONCATENATED MODULE: ${q.module.readableIdentifier(we)}\n`);We.add(q.source);if(q.chunkInitFragments){for(const E of q.chunkInitFragments)Ke.push(E)}if(q.runtimeRequirements){for(const E of q.runtimeRequirements){ie.add(E)}}N=q.namespaceObjectName;break}case"external":{We.add(`\n// EXTERNAL MODULE: ${q.module.readableIdentifier(we)}\n`);ie.add(Ee.require);const{runtimeCondition:G}=E;const ae=R.runtimeConditionExpression({chunkGraph:$,runtimeCondition:G,runtime:_e,runtimeRequirements:ie});if(ae!=="true"){j=true;We.add(`if (${ae}) {\n`)}We.add(`var ${q.name} = __webpack_require__(${JSON.stringify($.getModuleId(q.module))});`);N=q.name;break}default:throw new Error(`Unsupported concatenation entry type ${q.type}`)}if(q.interopNamespaceObjectUsed){ie.add(Ee.createFakeNamespaceObject);We.add(`\nvar ${q.interopNamespaceObjectName} = /*#__PURE__*/${Ee.createFakeNamespaceObject}(${N}, 2);`)}if(q.interopNamespaceObject2Used){ie.add(Ee.createFakeNamespaceObject);We.add(`\nvar ${q.interopNamespaceObject2Name} = /*#__PURE__*/${Ee.createFakeNamespaceObject}(${N});`)}if(q.interopDefaultAccessUsed){ie.add(Ee.compatGetDefaultExport);We.add(`\nvar ${q.interopDefaultAccessName} = /*#__PURE__*/${Ee.compatGetDefaultExport}(${N});`)}if(j){We.add("\n}")}}const Qe=new Map;if(Ke.length>0)Qe.set("chunkInitFragments",Ke);const Je={sources:new Map([["javascript",new q(We)]]),data:Qe,runtimeRequirements:ie};return Je}_analyseModule(E,R,N,j,q,G,le){if(R.type==="concatenated"){const _e=R.module;try{const Ee=new ae(E,R);const we=_e.codeGeneration({dependencyTemplates:N,runtimeTemplate:j,moduleGraph:q,chunkGraph:G,runtime:le,concatenationScope:Ee});const Me=we.sources.get("javascript");const Te=we.data;const Ne=Te&&Te.get("chunkInitFragments");const Be=Me.source().toString();let Le;try{Le=Ie._parse(Be,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const R=E.loc.line;const N=Be.split("\n");E.message+="\n| "+N.slice(Math.max(0,R-3),R+2).join("\n| ")}throw E}const je=$.analyze(Le,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const ze=je.acquire(Le);const Ue=ze.childScopes[0];const qe=new ie(Me);R.runtimeRequirements=we.runtimeRequirements;R.ast=Le;R.internalSource=Me;R.source=qe;R.chunkInitFragments=Ne;R.globalScope=ze;R.moduleScope=Ue}catch(E){E.message+=`\nwhile analysing module ${_e.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,R){const N=this._createConcatenationList(this.rootModule,this._modules,R,E);const $=new Map;const j=N.map(((E,R)=>{let N=$.get(E.module);if(N===undefined){switch(E.type){case"concatenated":N={type:"concatenated",module:E.module,index:R,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":N={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:R,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}$.set(N.module,N);return N}else{const R={type:"reference",runtimeCondition:E.runtimeCondition,target:N};return R}}));return[j,$]}findNewName(E,R,N,$){let j=E;if(j===ae.DEFAULT_EXPORT){j=""}if(j===ae.NAMESPACE_OBJECT_EXPORT){j="namespaceObject"}$=$.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const q=$.split("/");while(q.length){j=q.pop()+(j?"_"+j:"");const E=we.toIdentifier(j);if(!R.has(E)&&(!N||!N.has(E)))return E}let G=0;let ie=we.toIdentifier(`${j}_${G}`);while(R.has(ie)||N&&N.has(ie)){G++;ie=we.toIdentifier(`${j}_${G}`)}return ie}updateHash(E,R){const{chunkGraph:N,runtime:$}=R;for(const j of this._createConcatenationList(this.rootModule,this._modules,He($,this._runtime),N.moduleGraph)){switch(j.type){case"concatenated":j.module.updateHash(E,R);break;case"external":E.update(`${N.getModuleId(j.module)}`);break}}super.updateHash(E,R)}static deserialize(E){const R=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});R.deserialize(E);return R}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=R=>{const N=E.chunkGraph;const $=new Set;const j=new Set;for(const R of E.modules){if(!R.hasChunkCondition())continue;for(const q of N.getModuleChunksIterable(R)){if(!R.chunkCondition(q,E)){$.add(q);for(const E of q.groupsIterable){j.add(E)}}}if($.size===0)continue;const q=new Set;e:for(const N of j){for(const $ of N.chunks){if(R.chunkCondition($,E)){q.add($);continue e}}if(N.isInitial()){throw new Error("Cannot fullfil chunk condition of "+R.identifier())}for(const E of N.parentsIterable){j.add(E)}}for(const E of $){N.disconnectChunkAndModule(E,R)}for(const E of q){N.connectChunkAndModule(E,R)}$.clear();j.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:$},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(R=>{const N=E.chunkGraph;const $=new WeakMap;const j=E.modules.size;const q=1/Math.pow(1/j,1/31);const G=Array.from({length:31},((E,R)=>Math.pow(q,R)|0));let ie=0;for(const R of E.modules){let E=30;while(ie%G[E]!==0){E--}$.set(R,1<N.getNumberOfModuleChunks(R))j=R}e:for(const q of N.getModuleChunksIterable(j)){if(E===q)continue;const j=N.getNumberOfChunkModules(q);if(j===0)continue;if($>j)continue;const G=ae.get(q);if((G&R)!==R)continue;for(const R of N.getChunkModulesIterable(E)){if(!N.isModuleInChunk(R,q))continue e}q.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=new WeakMap;const q=Symbol("top level symbol");function getState(E){return j.get(E)}R.bailout=E=>{j.set(E,false)};R.enable=E=>{const R=j.get(E);if(R===false){return}j.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};R.isEnabled=E=>{const R=j.get(E);return!!R};R.addUsage=(E,R,N)=>{const $=getState(E);if($){const{innerGraph:E}=$;const j=E.get(R);if(N===true){E.set(R,true)}else if(j===undefined){E.set(R,new Set([N]))}else if(j!==true){j.add(N)}}};R.addVariableUsage=(E,N,$)=>{const j=E.getTagData(N,q)||R.tagTopLevelSymbol(E,N);if(j){R.addUsage(E.state,j,$)}};R.inferDependencyUsage=E=>{const R=getState(E);if(!R){return}const{innerGraph:N,usageCallbackMap:$}=R;const j=new Map;const q=new Set(N.keys());while(q.size>0){for(const E of q){let R=new Set;let $=true;const G=N.get(E);let ie=j.get(E);if(ie===undefined){ie=new Set;j.set(E,ie)}if(G!==true&&G!==undefined){for(const E of G){ie.add(E)}for(const j of G){if(typeof j==="string"){R.add(j)}else{const q=N.get(j);if(q===true){R=true;break}if(q!==undefined){for(const N of q){if(N===E)continue;if(ie.has(N))continue;R.add(N);if(typeof N!=="string"){$=false}}}}}if(R===true){N.set(E,true)}else if(R.size===0){N.set(E,undefined)}else{N.set(E,R)}}if($){q.delete(E);if(E===null){const E=N.get(null);if(E){for(const[R,$]of N){if(R!==null&&$!==true){if(E===true){N.set(R,true)}else{const j=new Set($);for(const R of E){j.add(R)}N.set(R,j)}}}}}}}}for(const[E,R]of $){const $=N.get(E);for(const E of R){E($===undefined?false:$)}}};R.onUsage=(E,R)=>{const N=getState(E);if(N){const{usageCallbackMap:E,currentTopLevelSymbol:$}=N;if($){let N=E.get($);if(N===undefined){N=new Set;E.set($,N)}N.add(R)}else{R(true)}}else{R(undefined)}};R.setTopLevelSymbol=(E,R)=>{const N=getState(E);if(N){N.currentTopLevelSymbol=R}};R.getTopLevelSymbol=E=>{const R=getState(E);if(R){return R.currentTopLevelSymbol}};R.tagTopLevelSymbol=(E,R)=>{const N=getState(E.state);if(!N)return;E.defineVariable(R);const $=E.getTagData(R,q);if($){return $}const j=new TopLevelSymbol(R);E.tagVariable(R,q,j);return j};R.isDependencyUsedByExports=(E,R,N,j)=>{if(R===false)return false;if(R!==true&&R!==undefined){const q=N.getParentModule(E);const G=N.getExportsInfo(q);let ie=false;for(const E of R){if(G.getUsed(E,j)!==$.Unused)ie=true}if(!ie)return false}return true};R.getDependencyUsedByExportsCondition=(E,R,N)=>{if(R===false)return false;if(R!==true&&R!==undefined){const j=N.getParentModule(E);const q=N.getExportsInfo(j);return(E,N)=>{for(const E of R){if(q.getUsed(E,N)!==$.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}R.TopLevelSymbol=TopLevelSymbol;R.topLevelSymbolTag=q},10032:(E,R,N)=>{"use strict";const $=N(53567);const j=N(58018);const{topLevelSymbolTag:q}=j;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:R})=>{const N=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{const onUsageSuper=R=>{j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{j.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!j.isEnabled(E.state))return;N.time("infer dependency usage");j.inferDependencyUsage(E.state);N.timeAggregate("infer dependency usage")}));const G=new WeakMap;const ie=new WeakMap;const ae=new WeakMap;const le=new WeakMap;const _e=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(R.type==="FunctionDeclaration"){const N=R.id?R.id.name:"*default*";const $=j.tagTopLevelSymbol(E,N);G.set(R,$);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(R.type==="ClassDeclaration"){const N=R.id?R.id.name:"*default*";const $=j.tagTopLevelSymbol(E,N);ae.set(R,$);return true}if(R.type==="ExportDefaultDeclaration"){const N="*default*";const $=j.tagTopLevelSymbol(E,N);const q=R.declaration;if(q.type==="ClassExpression"||q.type==="ClassDeclaration"){ae.set(q,$)}else if(E.isPure(q,R.range[0])){G.set(R,$);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){ie.set(R,q)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&R.init&&R.id.type==="Identifier"){const N=R.id.name;if(R.init.type==="ClassExpression"){const $=j.tagTopLevelSymbol(E,N);ae.set(R.init,$)}else if(E.isPure(R.init,R.id.range[1])){const $=j.tagTopLevelSymbol(E,N);le.set(R,$);if(!R.init.type.endsWith("FunctionExpression")&&R.init.type!=="Literal"){_e.add(R)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){j.setTopLevelSymbol(E.state,undefined);const N=G.get(R);if(N){j.setTopLevelSymbol(E.state,N);const q=ie.get(R);if(q){j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(q.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const $=ae.get(N);if($&&E.isPure(R,N.id?N.id.range[1]:N.range[0])){j.setTopLevelSymbol(E.state,$);onUsageSuper(R)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const R=ae.get(N);if(R){j.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((R,N,q)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const G=ae.get(q);if(G){if(!N.static||E.isPure(R,N.key?N.key.range[1]:N.range[0])){j.setTopLevelSymbol(E.state,G);if(N.type!=="MethodDefinition"&&N.static){j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}else{j.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;const q=le.get(R);if(q){j.setTopLevelSymbol(E.state,q);if(_e.has(R)){if(R.init.type==="ClassExpression"){if(R.init.superClass){onUsageSuper(R.init.superClass)}}else{j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.init.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}E.walkExpression(R.init);j.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(q).tap("InnerGraphPlugin",(()=>{const R=E.currentTagData;const N=j.getTopLevelSymbol(E.state);j.addUsage(E.state,R,N||true)}));E.hooks.assign.for(q).tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(R.operator==="=")return true}))};R.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);R.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{N.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);const j=N(37496);const{compareChunks:q}=N(68673);const G=N(35817);const ie=G(N(72713),(()=>N(10692)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,R,N)=>{const $=E.get(R);if($===undefined){E.set(R,new Set([N]))}else{$.add(N)}};class LimitChunkCountPlugin{constructor(E){ie(E);this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:$},(N=>{const $=E.chunkGraph;const G=R.maxChunks;if(!G)return;if(G<1)return;if(E.chunks.size<=G)return;let ie=E.chunks.size-G;const ae=q($);const le=Array.from(N).sort(ae);const _e=new j((E=>E.sizeDiff),((E,R)=>R-E),(E=>E.integratedSize),((E,R)=>E-R),(E=>E.bIdx-E.aIdx),((E,R)=>E-R),((E,R)=>E.bIdx-R.bIdx));const Ee=new Map;le.forEach(((E,N)=>{for(let j=0;j0){const E=new Set(j.groupsIterable);for(const R of q.groupsIterable){E.add(R)}for(const R of E){for(const E of we){if(E!==j&&E!==q&&E.isInGroup(R)){ie--;if(ie<=0)break e;we.add(j);we.add(q);continue e}}for(const N of R.parentsIterable){E.add(N)}}}if($.canChunksBeIntegrated(j,q)){$.integrateChunks(j,q);E.chunks.delete(q);we.add(j);Me=true;ie--;if(ie<=0)break;for(const E of Ee.get(j)){if(E.deleted)continue;E.deleted=true;_e.delete(E)}for(const E of Ee.get(q)){if(E.deleted)continue;if(E.a===q){if(!$.canChunksBeIntegrated(j,E.b)){E.deleted=true;_e.delete(E);continue}const N=$.getIntegratedChunksSize(j,E.b,R);const q=_e.startUpdate(E);E.a=j;E.integratedSize=N;E.aSize=G;E.sizeDiff=E.bSize+G-N;q()}else if(E.b===q){if(!$.canChunksBeIntegrated(E.a,j)){E.deleted=true;_e.delete(E);continue}const N=$.getIntegratedChunksSize(E.a,j,R);const q=_e.startUpdate(E);E.b=j;E.integratedSize=N;E.bSize=G;E.sizeDiff=G+E.aSize-N;q()}}Ee.set(j,Ee.get(q));Ee.delete(q)}}if(Me)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const{numberToIdentifier:j,NUMBER_OF_IDENTIFIER_START_CHARS:q,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:G}=N(58159);const{assignDeterministicIds:ie}=N(30328);const{compareSelect:ae,compareStringsNumeric:le}=N(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==$.Unused)return false;let R=false;for(const N of E.exports){if(N.canMangle===true){R=true}}return R};const _e=ae((E=>E.name),le);const mangleExportsInfo=(E,R,N)=>{if(!canMangle(R))return;const ae=new Set;const le=[];let Ee=!N;if(!Ee&&E){for(const E of R.ownedExports){if(E.provided!==false){Ee=true;break}}}for(const N of R.ownedExports){const R=N.name;if(!N.hasUsedName()){if(N.canMangle!==true||R.length===1&&/^[a-zA-Z0-9_$]/.test(R)||E&&R.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(R)||Ee&&N.provided!==true){N.setUsedName(R);ae.add(R)}else{le.push(N)}}if(N.exportsInfoOwned){const R=N.getUsed(undefined);if(R===$.OnlyPropertiesUsed||R===$.Unused){mangleExportsInfo(E,N.exportsInfo,false)}}}if(E){ie(le,(E=>E.name),_e,((E,R)=>{const N=j(R);const $=ae.size;ae.add(N);if($===ae.size)return false;E.setUsedName(N);return true}),[q,q*G],G,ae.size)}else{const E=[];const R=[];for(const N of le){if(N.getUsed(undefined)===$.Unused){R.push(N)}else{E.push(N)}}E.sort(_e);R.sort(_e);let N=0;for(const $ of[E,R]){for(const E of $){let R;do{R=j(N++)}while(ae.has(R));E.setUsedName(R)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:R}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",($=>{if(E.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const E of $){const $=E.buildMeta&&E.buildMeta.exportsType==="namespace";const j=N.getExportsInfo(E);mangleExportsInfo(R,j,$)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);const{runtimeEqual:j}=N(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:$},(R=>{const{chunkGraph:N,moduleGraph:$}=E;const q=new Set;for(const G of R){let R;for(const E of N.getChunkModulesIterable(G)){if(R===undefined){for(const $ of N.getModuleChunksIterable(E)){if($!==G&&N.getNumberOfChunkModules(G)===N.getNumberOfChunkModules($)&&!q.has($)){if(R===undefined){R=new Set}R.add($)}}if(R===undefined)break}else{for(const $ of R){if(!N.isModuleInChunk(E,$)){R.delete($)}}if(R.size===0)break}}if(R!==undefined&&R.size>0){e:for(const q of R){if(q.hasRuntime()!==G.hasRuntime())continue;if(N.getNumberOfEntryModules(G)>0)continue;if(N.getNumberOfEntryModules(q)>0)continue;if(!j(G.runtime,q.runtime)){for(const E of N.getChunkModulesIterable(G)){const R=$.getExportsInfo(E);if(!R.isEquallyUsed(G.runtime,q.runtime)){continue e}}}if(N.canChunksBeIntegrated(G,q)){N.integrateChunks(G,q);E.chunks.delete(q)}}}q.add(G)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);const j=N(35817);const q=j(N(83889),(()=>N(84638)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){q(E);this.options=E}apply(E){const R=this.options;const N=R.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:$},($=>{const j=E.chunkGraph;const q={chunkOverhead:1,entryChunkMultiplicator:1};const G=new Map;const ie=[];const ae=[];const le=[];for(const E of $){if(j.getChunkSize(E,q){const N=G.get(E[0]);const $=G.get(E[1]);const q=j.getIntegratedChunksSize(E[0],E[1],R);const ie=[N+$-q,q,E[0],E[1]];return ie})).sort(((E,R)=>{const N=R[0]-E[0];if(N!==0)return N;return E[1]-R[1]}));if(_e.length===0)return;const Ee=_e[0];j.integrateChunks(Ee[2],Ee[3]);E.chunks.delete(Ee[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,R,N)=>{"use strict";const $=N(9192);const j=N(81627);class MinMaxSizeWarning extends j{constructor(E,R,N){let j="Fallback cache group";if(E){j=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${j}\n`+`Configured minSize (${$.formatSize(R)}) is `+`bigger than maxSize (${$.formatSize(N)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,R,N)=>{"use strict";const $=N(62355);const j=N(45137);const q=N(75412);const{STAGE_DEFAULT:G}=N(82414);const ie=N(37359);const{compareModulesByIdentifier:ae}=N(68673);const{intersectRuntime:le,mergeRuntimeOwned:_e,filterRuntime:Ee,runtimeToString:we,mergeRuntime:Me}=N(37416);const Ie=N(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){const{_backCompat:R}=E;E.hooks.compilation.tap("ModuleConcatenationPlugin",(N=>{const ae=N.moduleGraph;const le=new Map;const setBailoutReason=(E,R)=>{setInnerBailoutReason(E,R);ae.getOptimizationBailout(E).push(typeof R==="function"?E=>formatBailoutReason(R(E)):formatBailoutReason(R))};const setInnerBailoutReason=(E,R)=>{le.set(E,R)};const getInnerBailoutReason=(E,R)=>{const N=le.get(E);if(typeof N==="function")return N(R);return N};const formatBailoutWarning=(E,R)=>N=>{if(typeof R==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)}: ${R(N)}`)}const $=getInnerBailoutReason(E,N);const j=$?`: ${$}`:"";if(E===R){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)}${j}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)} because of ${R.readableIdentifier(N)}${j}`)}};N.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:G},((G,ae,le)=>{const we=N.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:Me,moduleGraph:Te}=N;const Ne=[];const Be=new Set;const Le={chunkGraph:Me,moduleGraph:Te};we.time("select relevant modules");for(const E of ae){let R=true;let N=true;const $=E.getConcatenationBailoutReason(Le);if($){setBailoutReason(E,$);continue}if(Te.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(Me.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const j=Te.getExportsInfo(E);const q=j.getRelevantExports(undefined);const G=q.filter((E=>E.isReexport()&&!E.getTarget(Te)));if(G.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(G,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ie=q.filter((E=>E.provided!==true));if(ie.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ie,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);R=false}if(Me.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");N=false}if(R)Ne.push(E);if(N)Be.add(E)}we.timeEnd("select relevant modules");we.debug(`${Ne.length} potential root modules, ${Be.size} potential inner modules`);we.time("sort relevant modules");Ne.sort(((E,R)=>Te.getDepth(E)-Te.getDepth(R)));we.timeEnd("sort relevant modules");const je={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let ze=0;let Ue=0;let qe=0;we.time("find modules to concatenate");const Ge=[];const He=new Set;for(const E of Ne){if(He.has(E))continue;let R=undefined;for(const N of Me.getModuleRuntimes(E)){R=_e(R,N)}const $=Te.getExportsInfo(E);const j=Ee(R,(E=>$.isModuleUsed(E)));const q=j===true?R:j===false?undefined:j;const G=new ConcatConfiguration(E,q);const ie=new Map;const ae=new Set;for(const R of this._getImports(N,E,q)){ae.add(R)}for(const E of ae){const $=new Set;const j=this._tryToAdd(N,G,E,R,q,Be,$,ie,Me,true,je);if(j){ie.set(E,j);G.addWarning(E,j)}else{for(const E of $){ae.add(E)}}}ze+=ae.size;if(!G.isEmpty()){const E=G.getModules();Ue+=E.size;Ge.push(G);for(const R of E){if(R!==G.rootModule){He.add(R)}}}else{qe++;const R=Te.getOptimizationBailout(E);for(const E of G.getWarningsSorted()){R.push(formatBailoutWarning(E[0],E[1]))}}}we.timeEnd("find modules to concatenate");we.debug(`${Ge.length} successful concat configurations (avg size: ${Ue/Ge.length}), ${qe} bailed out completely`);we.debug(`${ze} candidates were considered for adding (${je.cached} cached failure, ${je.alreadyInConfig} already in config, ${je.invalidModule} invalid module, ${je.incorrectChunks} incorrect chunks, ${je.incorrectDependency} incorrect dependency, ${je.incorrectChunksOfImporter} incorrect chunks of importer, ${je.incorrectModuleDependency} incorrect module dependency, ${je.incorrectRuntimeCondition} incorrect runtime condition, ${je.importerFailed} importer failed, ${je.added} added)`);we.time(`sort concat configurations`);Ge.sort(((E,R)=>R.modules.size-E.modules.size));we.timeEnd(`sort concat configurations`);const We=new Set;we.time("create concatenated modules");$.each(Ge,(($,G)=>{const ae=$.rootModule;if(We.has(ae))return G();const le=$.getModules();for(const E of le){We.add(E)}let _e=Ie.create(ae,le,$.runtime,E.root,N.outputOptions.hashFunction);const build=()=>{_e.build(E.options,N,null,null,(E=>{if(E){if(!E.module){E.module=_e}return G(E)}integrate()}))};const integrate=()=>{if(R){j.setChunkGraphForModule(_e,Me);q.setModuleGraphForModule(_e,Te)}for(const E of $.getWarningsSorted()){Te.getOptimizationBailout(_e).push(formatBailoutWarning(E[0],E[1]))}Te.cloneModuleAttributes(ae,_e);for(const E of le){if(N.builtModules.has(E)){N.builtModules.add(_e)}if(E!==ae){Te.copyOutgoingModuleConnections(E,_e,(R=>R.originModule===E&&!(R.dependency instanceof ie&&le.has(R.module))));for(const R of Me.getModuleChunksIterable(ae)){Me.disconnectChunkAndModule(R,E)}}}N.modules.delete(ae);j.clearChunkGraphForModule(ae);q.clearModuleGraphForModule(ae);Me.replaceModule(ae,_e);Te.moveModuleConnections(ae,_e,(E=>{const R=E.module===ae?E.originModule:E.module;const N=E.dependency instanceof ie&&le.has(R);return!N}));N.modules.add(_e);G()};build()}),(E=>{we.timeEnd("create concatenated modules");process.nextTick(le.bind(null,E))}))}))}))}_getImports(E,R,N){const $=E.moduleGraph;const j=new Set;for(const q of R.dependencies){if(!(q instanceof ie))continue;const G=$.getConnection(q);if(!G||!G.module||!G.isTargetActive(N)){continue}const ae=E.getDependencyReferencedExports(q,undefined);if(ae.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray($.getProvidedExports(R))){j.add(G.module)}}return j}_tryToAdd(E,R,N,$,j,q,G,Ie,Te,Ne,Be){const Le=Ie.get(N);if(Le){Be.cached++;return Le}if(R.has(N)){Be.alreadyInConfig++;return null}if(!q.has(N)){Be.invalidModule++;Ie.set(N,N);return N}const je=Array.from(Te.getModuleChunksIterable(R.rootModule)).filter((E=>!Te.isModuleInChunk(N,E)));if(je.length>0){const problem=E=>{const R=Array.from(new Set(je.map((E=>E.name||"unnamed chunk(s)")))).sort();const $=Array.from(new Set(Array.from(Te.getModuleChunksIterable(N)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${N.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${R.join(", ")}, module is in chunk(s) ${$.join(", ")})`};Be.incorrectChunks++;Ie.set(N,problem);return problem}const ze=E.moduleGraph;const Ue=ze.getIncomingConnectionsByOriginModule(N);const qe=Ue.get(null)||Ue.get(undefined);if(qe){const E=qe.filter((E=>E.isActive($)||E.dependency));if(E.length>0){const problem=R=>{const $=new Set(E.map((E=>E.explanation)).filter(Boolean));const j=Array.from($).sort();return`Module ${N.readableIdentifier(R)} is referenced ${j.length>0?`by: ${j.join(", ")}`:"in an unsupported way"}`};Be.incorrectDependency++;Ie.set(N,problem);return problem}}const Ge=new Map;for(const[E,R]of Ue){if(E){if(Te.getNumberOfModuleChunks(E)===0)continue;let N=undefined;for(const R of Te.getModuleRuntimes(E)){N=_e(N,R)}if(!le($,N))continue;const j=R.filter((E=>E.isActive($)));if(j.length>0)Ge.set(E,j)}}const He=Array.from(Ge.keys());const We=He.filter((E=>{for(const N of Te.getModuleChunksIterable(R.rootModule)){if(!Te.isModuleInChunk(E,N)){return true}}return false}));if(We.length>0){const problem=E=>{const R=We.map((R=>R.readableIdentifier(E))).sort();return`Module ${N.readableIdentifier(E)} is referenced from different chunks by these modules: ${R.join(", ")}`};Be.incorrectChunksOfImporter++;Ie.set(N,problem);return problem}const Ve=new Map;for(const[E,R]of Ge){const N=R.filter((E=>!E.dependency||!(E.dependency instanceof ie)));if(N.length>0)Ve.set(E,R)}if(Ve.size>0){const problem=E=>{const R=Array.from(Ve).map((([R,N])=>`${R.readableIdentifier(E)} (referenced with ${Array.from(new Set(N.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${N.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${R.join(", ")}`};Be.incorrectModuleDependency++;Ie.set(N,problem);return problem}if($!==undefined&&typeof $!=="string"){const E=[];e:for(const[R,N]of Ge){let j=false;for(const E of N){const R=Ee($,(R=>E.isTargetActive(R)));if(R===false)continue;if(R===true)continue e;if(j!==false){j=Me(j,R)}else{j=R}}if(j!==false){E.push({originModule:R,runtimeCondition:j})}}if(E.length>0){const problem=R=>`Module ${N.readableIdentifier(R)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:N})=>`${E.readableIdentifier(R)} (expected runtime ${we($)}, module is only referenced in ${we(N)})`)).join(", ")}`;Be.incorrectRuntimeCondition++;Ie.set(N,problem);return problem}}let Ke;if(Ne){Ke=R.snapshot()}R.add(N);He.sort(ae);for(const ie of He){const ae=this._tryToAdd(E,R,ie,$,j,q,G,Ie,Te,false,Be);if(ae){if(Ke!==undefined)R.rollback(Ke);Be.importerFailed++;Ie.set(N,ae);return ae}}for(const R of this._getImports(E,N,$)){G.add(R)}Be.added++;return null}}class ConcatConfiguration{constructor(E,R){this.rootModule=E;this.runtime=R;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,R){this.warnings.set(E,R)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,R)=>{const N=E[0].identifier();const $=R[0].identifier();if(N<$)return-1;if(N>$)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const R=this.modules;for(const N of R){if(E===0){R.delete(N)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,R,N)=>{"use strict";const{SyncBailHook:$}=N(92960);const{RawSource:j,CachedSource:q,CompatSource:G}=N(2991);const ie=N(3080);const ae=N(81627);const{compareSelect:le,compareStrings:_e}=N(68673);const Ee=N(35891);const we=new Set;const addToList=(E,R)=>{if(Array.isArray(E)){for(const N of E){R.add(N)}}else if(E){R.add(E)}};const mapAndDeduplicateBuffers=(E,R)=>{const N=[];e:for(const $ of E){const E=R($);for(const R of N){if(E.equals(R))continue e}N.push(E)}return N};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Me=new WeakMap;const toCachedSource=E=>{if(E instanceof q){return E}const R=Me.get(E);if(R!==undefined)return R;const N=new q(G.from(E));Me.set(E,N);return N};const Ie=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ie.get(E);if(R===undefined){R={updateHash:new $(["content","oldHash"])};Ie.set(E,R)}return R}constructor({hashFunction:E,hashDigest:R}){this._hashFunction=E;this._hashDigest=R}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const R=E.getCache("RealContentHashPlugin|analyse");const N=E.getCache("RealContentHashPlugin|generate");const $=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ie.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const q=E.getAssets();const G=[];const ie=new Map;for(const{source:E,info:R,name:N}of q){const $=toCachedSource(E);const j=$.source();const q=new Set;addToList(R.contenthash,q);const ae={name:N,info:R,source:$,newSource:undefined,newSourceWithoutOwn:undefined,content:j,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:q};G.push(ae);for(const E of q){const R=ie.get(E);if(R===undefined){ie.set(E,[ae])}else{R.push(ae)}}}if(ie.size===0)return;const Me=new RegExp(Array.from(ie.keys(),quoteMeta).join("|"),"g");await Promise.all(G.map((async E=>{const{name:N,source:$,content:j,hashes:q}=E;if(Buffer.isBuffer(j)){E.referencedHashes=we;E.ownHashes=we;return}const G=R.mergeEtags(R.getLazyHashedEtag($),Array.from(q).join("|"));[E.referencedHashes,E.ownHashes]=await R.providePromise(N,G,(()=>{const E=new Set;let R=new Set;const N=j.match(Me);if(N){for(const $ of N){if(q.has($)){R.add($);continue}E.add($)}}return[E,R]}))})));const getDependencies=R=>{const N=ie.get(R);if(!N){const N=G.filter((E=>E.referencedHashes.has(R)));const $=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${R}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${N.map((E=>{const N=new RegExp(`.{0,20}${quoteMeta(R)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${N?N[0]:"???"}...`})).join("\n")}`);E.errors.push($);return undefined}const $=new Set;for(const{referencedHashes:E,ownHashes:j}of N){if(!j.has(R)){for(const E of j){$.add(E)}}for(const R of E){$.add(R)}}return $};const hashInfo=E=>{const R=ie.get(E);return`${E} (${Array.from(R,(E=>E.name))})`};const Ie=new Set;for(const E of ie.keys()){const add=(E,R)=>{const N=getDependencies(E);if(!N)return;R.add(E);for(const E of N){if(Ie.has(E))continue;if(R.has(E)){throw new Error(`Circular hash dependency ${Array.from(R,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,R)}Ie.add(E);R.delete(E)};if(Ie.has(E))continue;add(E,new Set)}const Te=new Map;const getEtag=E=>N.mergeEtags(N.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Te.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Te.get(E)!==E))){const R=E.name;const $=getEtag(E);E.newSource=await N.providePromise(R,$,(()=>{const R=E.content.replace(Me,(E=>Te.get(E)));return new j(R)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Te.get(E)!==E))){const R=E.name+"|without-own";const $=getEtag(E);E.newSourceWithoutOwn=await N.providePromise(R,$,(()=>{const R=E.content.replace(Me,(R=>{if(E.ownHashes.has(R)){return""}return Te.get(R)}));return new j(R)}))}})()};const Ne=le((E=>E.name),_e);for(const E of Ie){const R=ie.get(E);R.sort(Ne);const N=Ee(this._hashFunction);await Promise.all(R.map((R=>R.ownHashes.has(E)?computeNewContentWithoutOwn(R):computeNewContent(R))));const j=mapAndDeduplicateBuffers(R,(R=>{if(R.ownHashes.has(E)){return R.newSourceWithoutOwn?R.newSourceWithoutOwn.buffer():R.source.buffer()}else{return R.newSource?R.newSource.buffer():R.source.buffer()}}));let q=$.updateHash.call(j,E);if(!q){for(const E of j){N.update(E)}const R=N.digest(this._hashDigest);q=R.slice(0,E.length)}Te.set(E,q)}await Promise.all(G.map((async R=>{await computeNewContent(R);const N=R.name.replace(Me,(E=>Te.get(E)));const $={};const j=R.info.contenthash;$.contenthash=Array.isArray(j)?j.map((E=>Te.get(E))):Te.get(j);if(R.newSource!==undefined){E.updateAsset(R.name,R.newSource,$)}else{E.updateAsset(R.name,R.source,$)}if(R.name!==N){E.renameAsset(R.name,N)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,R,N)=>{"use strict";const{STAGE_BASIC:$,STAGE_ADVANCED:j}=N(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=R=>{const N=E.chunkGraph;for(const $ of R){if(N.getNumberOfChunkModules($)===0&&!$.hasRuntime()&&N.getNumberOfEntryModules($)===0){E.chunkGraph.disconnectChunk($);E.chunks.delete($)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:$},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:j},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);const j=N(39541);const{intersect:q}=N(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(R,N)=>{const $=E.chunkGraph;const G=new j;const ie=new WeakMap;for(const R of E.entrypoints.values()){ie.set(R,new Set);for(const E of R.childrenIterable){G.enqueue(E)}}for(const R of E.asyncEntrypoints){ie.set(R,new Set);for(const E of R.childrenIterable){G.enqueue(E)}}while(G.length>0){const E=G.dequeue();let R=ie.get(E);let N=false;for(const j of E.parentsIterable){const q=ie.get(j);if(q!==undefined){if(R===undefined){R=new Set(q);for(const E of j.chunks){for(const N of $.getChunkModulesIterable(E)){R.add(N)}}ie.set(E,R);N=true}else{for(const E of R){if(!$.isModuleInChunkGroup(E,j)&&!q.has(E)){R.delete(E);N=true}}}}}if(N){for(const R of E.childrenIterable){G.enqueue(R)}}}for(const E of R){const R=Array.from(E.groupsIterable,(E=>ie.get(E)));if(R.some((E=>E===undefined)))continue;const N=R.length===1?R[0]:q(R);const j=$.getNumberOfChunkModules(E);const G=new Set;if(j{"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((R,{name:N})=>{if(N===undefined)return;const $=E.entries.get(N);if($.options.runtime===undefined&&!$.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:N})}$.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,R,N)=>{"use strict";const $=N(70554);const{STAGE_DEFAULT:j}=N(82414);const q=N(44576);const G=N(2230);const ie=N(72380);const ae=new WeakMap;const globToRegexp=(E,R)=>{const N=R.get(E);if(N!==undefined)return N;if(!E.includes("/")){E=`**/${E}`}const j=$(E,{globstar:true,extended:true});const q=j.source;const G=new RegExp("^(\\./)?"+q.slice(1));R.set(E,G);return G};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let R=ae.get(E.root);if(R===undefined){R=new Map;ae.set(E.root,R)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:N})=>{const $=E.moduleGraph;N.hooks.module.tap("SideEffectsFlagPlugin",((E,N)=>{const $=N.resourceResolveData;if($&&$.descriptionFileData&&$.relativePath){const N=$.descriptionFileData.sideEffects;if(N!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const j=SideEffectsFlagPlugin.moduleHasSideEffects($.relativePath,N,R);E.factoryMeta.sideEffectFree=!j}}return E}));N.hooks.module.tap("SideEffectsFlagPlugin",((E,R)=>{if(typeof R.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!R.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let R;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{R=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(N=>{if(R)return;if(E.scope.topLevelScope!==true)return;switch(N.type){case"ExpressionStatement":if(!E.isPure(N.expression,N.range[0])){R=N}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(N.test,N.range[0])){R=N}break;case"ForStatement":if(!E.isPure(N.init,N.range[0])||!E.isPure(N.test,N.init?N.init.range[1]:N.range[0])||!E.isPure(N.update,N.test?N.test.range[1]:N.init?N.init.range[1]:N.range[0])){R=N}break;case"SwitchStatement":if(!E.isPure(N.discriminant,N.range[0])){R=N}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(N,N.range[0])){R=N}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(N.declaration,N.range[0])){R=N}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:R=N;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(R===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:N,type:j}=R;$.getOptimizationBailout(E.state.module).push((()=>`Statement (${j}) with side effects in source code at ${ie(N)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){N.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:j},(R=>{const N=E.getLogger("webpack.SideEffectsFlagPlugin");N.time("update dependencies");for(const E of R){if(E.getSideEffectsConnectionState($)===false){const R=$.getExportsInfo(E);for(const N of $.getIncomingConnections(E)){const E=N.dependency;let j;if((j=E instanceof q)||E instanceof G&&!E.namespaceObjectAsContext){if(j&&E.name){const R=$.getExportInfo(N.originModule,E.name);R.moveTarget($,(({module:E})=>E.getSideEffectsConnectionState($)===false),(({module:R,export:N})=>{$.updateModule(E,R);$.addExplanation(E,"(skipped side-effect-free modules)");const j=E.getIds($);E.setIds($,N?[...N,...j.slice(1)]:j.slice(1));return $.getConnection(E)}));continue}const q=E.getIds($);if(q.length>0){const N=R.getExportInfo(q[0]);const j=N.getTarget($,(({module:E})=>E.getSideEffectsConnectionState($)===false));if(!j)continue;$.updateModule(E,j.module);$.addExplanation(E,"(skipped side-effect-free modules)");E.setIds($,j.export?[...j.export,...q.slice(1)]:q.slice(1))}}}}}N.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,R,N){switch(typeof R){case"undefined":return true;case"boolean":return R;case"string":return globToRegexp(R,N).test(E);case"object":return R.some((R=>SideEffectsFlagPlugin.moduleHasSideEffects(E,R,N)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,R,N)=>{"use strict";const $=N(62433);const{STAGE_ADVANCED:j}=N(82414);const q=N(81627);const{requestToId:G}=N(30328);const{isSubset:ie}=N(26221);const ae=N(16102);const{compareModulesByIdentifier:le,compareIterables:_e}=N(68673);const Ee=N(35891);const we=N(44648);const{makePathsRelative:Me}=N(49197);const Ie=N(91671);const Te=N(1697);const defaultGetName=()=>{};const Ne=we;const Be=new WeakMap;const hashFilename=(E,R)=>{const N=Ee(R.hashFunction).update(E).digest(R.hashDigest);return N.slice(0,8)};const getRequests=E=>{let R=0;for(const N of E.groupsIterable){R=Math.max(R,N.chunks.length)}return R};const mapObject=(E,R)=>{const N=Object.create(null);for(const $ of Object.keys(E)){N[$]=R(E[$],$)}return N};const isOverlap=(E,R)=>{for(const N of E){if(R.has(N))return true}return false};const Le=_e(le);const compareEntries=(E,R)=>{const N=E.cacheGroup.priority-R.cacheGroup.priority;if(N)return N;const $=E.chunks.size-R.chunks.size;if($)return $;const j=totalSize(E.sizes)*(E.chunks.size-1);const q=totalSize(R.sizes)*(R.chunks.size-1);const G=j-q;if(G)return G;const ie=R.cacheGroupIndex-E.cacheGroupIndex;if(ie)return ie;const ae=E.modules;const le=R.modules;const _e=ae.size-le.size;if(_e)return _e;ae.sort();le.sort();return Le(ae,le)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,R)=>{if(typeof E==="number"){const N={};for(const $ of R)N[$]=E;return N}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let R={};for(let N=E.length-1;N>=0;N--){R=Object.assign(R,E[N])}return R};const hasNonZeroSizes=E=>{for(const R of Object.keys(E)){if(E[R]>0)return true}return false};const combineSizes=(E,R,N)=>{const $=new Set(Object.keys(E));const j=new Set(Object.keys(R));const q={};for(const G of $){if(j.has(G)){q[G]=N(E[G],R[G])}else{q[G]=E[G]}}for(const E of j){if(!$.has(E)){q[E]=R[E]}}return q};const checkMinSize=(E,R)=>{for(const N of Object.keys(R)){const $=E[N];if($===undefined||$===0)continue;if(${for(const $ of Object.keys(R)){const j=E[$];if(j===undefined||j===0)continue;if(j*N{let N;for(const $ of Object.keys(R)){const j=E[$];if(j===undefined||j===0)continue;if(j{let R=0;for(const N of Object.keys(E)){R+=E[N]}return R};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,R)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const N=[];for(const $ of Object.keys(E)){const j=E[$];if(j===false){continue}if(typeof j==="string"||j instanceof RegExp){const E=createCacheGroupSource({},$,R);N.push(((R,N,$)=>{if(checkTest(j,R,N)){$.push(E)}}))}else if(typeof j==="function"){const E=new WeakMap;N.push(((N,q,G)=>{const ie=j(N);if(ie){const N=Array.isArray(ie)?ie:[ie];for(const j of N){const N=E.get(j);if(N!==undefined){G.push(N)}else{const N=createCacheGroupSource(j,$,R);E.set(j,N);G.push(N)}}}}))}else{const E=createCacheGroupSource(j,$,R);N.push(((R,N,$)=>{if(checkTest(j.test,R,N)&&checkModuleType(j.type,R)&&checkModuleLayer(j.layer,R)){$.push(E)}}))}}const fn=(E,R)=>{let $=[];for(const j of N){j(E,R,$)}return $};return fn}return()=>null};const checkTest=(E,R,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R,N)}if(typeof E==="boolean")return E;if(typeof E==="string"){const N=R.nameForCondition();return N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.nameForCondition();return N&&E.test(N)}return false};const checkModuleType=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R.type)}if(typeof E==="string"){const N=R.type;return E===N}if(E instanceof RegExp){const N=R.type;return E.test(N)}return false};const checkModuleLayer=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R.layer)}if(typeof E==="string"){const N=R.layer;return E===""?!N:N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.layer;return E.test(N)}return false};const createCacheGroupSource=(E,R,N)=>{const $=normalizeSizes(E.minSize,N);const j=normalizeSizes(E.minSizeReduction,N);const q=normalizeSizes(E.maxSize,N);return{key:R,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:$,minSizeReduction:j,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,N),$),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,N),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,N),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,N),q),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const R=E.defaultSizeTypes||["javascript","unknown"];const N=E.fallbackCacheGroup||{};const $=normalizeSizes(E.minSize,R);const j=normalizeSizes(E.minSizeReduction,R);const q=normalizeSizes(E.maxSize,R);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:R,minSize:$,minSizeReduction:j,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,R),$),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,R),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,R),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,R),q),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,R),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(N.chunks||E.chunks||"all"),minSize:mergeSizes(normalizeSizes(N.minSize,R),$),maxAsyncSize:mergeSizes(normalizeSizes(N.maxAsyncSize,R),normalizeSizes(N.maxSize,R),normalizeSizes(E.maxAsyncSize,R),normalizeSizes(E.maxSize,R)),maxInitialSize:mergeSizes(normalizeSizes(N.maxInitialSize,R),normalizeSizes(N.maxSize,R),normalizeSizes(E.maxInitialSize,R),normalizeSizes(E.maxSize,R)),automaticNameDelimiter:N.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const R=this._cacheGroupCache.get(E);if(R!==undefined)return R;const N=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const $=mergeSizes(E.minSizeReduction,E.enforce?undefined:this.options.minSizeReduction);const j=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const q=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const G={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:N,minSizeReduction:$,minRemainingSize:j,enforceSizeThreshold:q,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(N),_validateRemainingSize:hasNonZeroSizes(j),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(q)};this._cacheGroupCache.set(E,G);return G}apply(E){const R=Me.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const N=E.getLogger("webpack.SplitChunksPlugin");let _e=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{_e=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:j},(j=>{if(_e)return;_e=true;N.time("prepare");const Ee=E.chunkGraph;const we=E.moduleGraph;const Me=new Map;const Le=BigInt("0");const je=BigInt("1");const ze=je<{const R=E[Symbol.iterator]();let N=R.next();if(N.done)return Le;const $=N.value;N=R.next();if(N.done)return $;let j=Me.get($)|Me.get(N.value);while(!(N=R.next()).done){const E=Me.get(N.value);j=j^E}return j};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Me.get(E).toString(16)};const qe=Ie((()=>{const R=new Map;const N=new Set;for(const $ of E.modules){const E=Ee.getModuleChunksIterable($);const j=getKey(E);if(typeof j==="bigint"){if(!R.has(j)){R.set(j,new Set(E))}}else{N.add(j)}}return{chunkSetsInGraph:R,singleChunkSets:N}}));const groupChunksByExports=E=>{const R=we.getExportsInfo(E);const N=new Map;for(const $ of Ee.getModuleChunksIterable(E)){const E=R.getUsageKey($.runtime);const j=N.get(E);if(j!==undefined){j.push($)}else{N.set(E,[$])}}return N.values()};const Ge=new Map;const He=Ie((()=>{const R=new Map;const N=new Set;for(const $ of E.modules){const E=Array.from(groupChunksByExports($));Ge.set($,E);for(const $ of E){if($.length===1){N.add($[0])}else{const E=getKey($);if(!R.has(E)){R.set(E,new Set($))}}}}return{chunkSetsInGraph:R,singleChunkSets:N}}));const groupChunkSetsByCount=E=>{const R=new Map;for(const N of E){const E=N.size;let $=R.get(E);if($===undefined){$=[];R.set(E,$)}$.push(N)}return R};const We=Ie((()=>groupChunkSetsByCount(qe().chunkSetsInGraph.values())));const Ve=Ie((()=>groupChunkSetsByCount(He().chunkSetsInGraph.values())));const createGetCombinations=(E,R,N)=>{const j=new Map;return q=>{const G=j.get(q);if(G!==undefined)return G;if(q instanceof $){const E=[q];j.set(q,E);return E}const ae=E.get(q);const le=[ae];for(const[E,R]of N){if(E{const{chunkSetsInGraph:E,singleChunkSets:R}=qe();return createGetCombinations(E,R,We())}));const getCombinations=E=>Ke()(E);const Qe=Ie((()=>{const{chunkSetsInGraph:E,singleChunkSets:R}=He();return createGetCombinations(E,R,Ve())}));const getExportsCombinations=E=>Qe()(E);const Je=new WeakMap;const getSelectedChunks=(E,R)=>{let N=Je.get(E);if(N===undefined){N=new WeakMap;Je.set(E,N)}let j=N.get(R);if(j===undefined){const q=[];if(E instanceof $){if(R(E))q.push(E)}else{for(const N of E){if(R(N))q.push(N)}}j={chunks:q,key:getKey(q)};N.set(R,j)}return j};const Xe=new Map;const Ye=new Set;const Ze=new Map;const addModuleToChunksInfoMap=(R,N,$,j,G)=>{if($.length{const E=Ee.getModuleChunksIterable(R);const N=getKey(E);return getCombinations(N)}));const j=Ie((()=>{He();const E=new Set;const N=Ge.get(R);for(const R of N){const N=getKey(R);for(const R of getExportsCombinations(N))E.add(R)}return E}));let q=0;for(const G of E){const E=this._getCacheGroup(G);const ie=E.usedExports?j():N();for(const N of ie){const j=N instanceof $?1:N.size;if(j{for(const N of E.modules){const $=N.getSourceTypes();if(R.some((E=>$.has(E)))){E.modules.delete(N);for(const R of $){E.sizes[R]-=N.size(R)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const R=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(R===undefined)return false;removeModulesWithSourceType(E,R);return E.modules.size===0};for(const[E,R]of Ze){if(removeMinSizeViolatingModules(R)){Ze.delete(E)}else if(!checkMinSizeReduction(R.sizes,R.cacheGroup.minSizeReduction,R.chunks.size)){Ze.delete(E)}}const tt=new Map;while(Ze.size>0){let R;let N;for(const E of Ze){const $=E[0];const j=E[1];if(N===undefined||compareEntries(N,j)<0){N=j;R=$}}const $=N;Ze.delete(R);let j=$.name;let q;let G=false;let ie=false;if(j){const R=E.namedChunks.get(j);if(R!==undefined){q=R;const E=$.chunks.size;$.chunks.delete(q);G=$.chunks.size!==E}}else if($.cacheGroup.reuseExistingChunk){e:for(const E of $.chunks){if(Ee.getNumberOfChunkModules(E)!==$.modules.size){continue}if($.chunks.size>1&&Ee.getNumberOfEntryModules(E)>0){continue}for(const R of $.modules){if(!Ee.isModuleInChunk(R,E)){continue e}}if(!q||!q.name){q=E}else if(E.name&&E.name.length=R){le.delete(E)}}}e:for(const E of le){for(const R of $.modules){if(Ee.isModuleInChunk(R,E))continue e}le.delete(E)}if(le.size<$.chunks.size){if(G)le.add(q);if(le.size>=$.cacheGroup.minChunks){const E=Array.from(le);for(const R of $.modules){addModuleToChunksInfoMap($.cacheGroup,$.cacheGroupIndex,E,getKey(le),R)}}continue}if(!ae&&$.cacheGroup._validateRemainingSize&&le.size===1){const[E]=le;let N=Object.create(null);for(const R of Ee.getChunkModulesIterable(E)){if(!$.modules.has(R)){for(const E of R.getSourceTypes()){N[E]=(N[E]||0)+R.size(E)}}}const j=getViolatingMinSizes(N,$.cacheGroup.minRemainingSize);if(j!==undefined){const E=$.modules.size;removeModulesWithSourceType($,j);if($.modules.size>0&&$.modules.size!==E){Ze.set(R,$)}continue}}if(q===undefined){q=E.addChunk(j)}for(const E of le){E.split(q)}q.chunkReason=(q.chunkReason?q.chunkReason+", ":"")+(ie?"reused as split chunk":"split chunk");if($.cacheGroup.key){q.chunkReason+=` (cache group: ${$.cacheGroup.key})`}if(j){q.chunkReason+=` (name: ${j})`}if($.cacheGroup.filename){q.filenameTemplate=$.cacheGroup.filename}if($.cacheGroup.idHint){q.idNameHints.add($.cacheGroup.idHint)}if(!ie){for(const R of $.modules){if(!R.chunkCondition(q,E))continue;Ee.connectChunkAndModule(q,R);for(const E of le){Ee.disconnectChunkAndModule(E,R)}}}else{for(const E of $.modules){for(const R of le){Ee.disconnectChunkAndModule(R,E)}}}if(Object.keys($.cacheGroup.maxAsyncSize).length>0||Object.keys($.cacheGroup.maxInitialSize).length>0){const E=tt.get(q);tt.set(q,{minSize:E?combineSizes(E.minSize,$.cacheGroup._minSizeForMaxSize,Math.max):$.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,$.cacheGroup.maxAsyncSize,Math.min):$.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,$.cacheGroup.maxInitialSize,Math.min):$.cacheGroup.maxInitialSize,automaticNameDelimiter:$.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat($.cacheGroup.key):[$.cacheGroup.key]})}for(const[E,R]of Ze){if(isOverlap(R.chunks,le)){let N=false;for(const E of $.modules){if(R.modules.has(E)){R.modules.delete(E);for(const N of E.getSourceTypes()){R.sizes[N]-=E.size(N)}N=true}}if(N){if(R.modules.size===0){Ze.delete(E);continue}if(removeMinSizeViolatingModules(R)||!checkMinSizeReduction(R.sizes,R.cacheGroup.minSizeReduction,R.chunks.size)){Ze.delete(E);continue}}}}}N.timeEnd("queue");N.time("maxSize");const nt=new Set;const{outputOptions:rt}=E;const{fallbackCacheGroup:st}=this.options;for(const N of Array.from(E.chunks)){const $=tt.get(N);const{minSize:j,maxAsyncSize:q,maxInitialSize:ie,automaticNameDelimiter:ae}=$||st;if(!$&&!st.chunksFilter(N))continue;let le;if(N.isOnlyInitial()){le=ie}else if(N.canBeInitial()){le=combineSizes(q,ie,Math.min)}else{le=q}if(Object.keys(le).length===0){continue}for(const R of Object.keys(le)){const N=le[R];const q=j[R];if(typeof q==="number"&&q>N){const R=$&&$.keys;const j=`${R&&R.join()} ${q} ${N}`;if(!nt.has(j)){nt.add(j);E.warnings.push(new Te(R,q,N))}}}const _e=Ne({minSize:j,maxSize:mapObject(le,((E,R)=>{const N=j[R];return typeof N==="number"?Math.max(E,N):E})),items:Ee.getChunkModulesIterable(N),getKey(E){const N=Be.get(E);if(N!==undefined)return N;const $=R(E.identifier());const j=E.nameForCondition&&E.nameForCondition();const q=j?R(j):$.replace(/^.*!|\?[^?!]*$/g,"");const ie=q+ae+hashFilename($,rt);const le=G(ie);Be.set(E,le);return le},getSize(E){const R=Object.create(null);for(const N of E.getSourceTypes()){R[N]=E.size(N)}return R}});if(_e.length<=1){continue}for(let R=0;R<_e.length;R++){const $=_e[R];const j=this.options.hidePathInfo?hashFilename($.key,rt):$.key;let q=N.name?N.name+ae+j:null;if(q&&q.length>100){q=q.slice(0,100)+ae+hashFilename(q,rt)}if(R!==_e.length-1){const R=E.addChunk(q);N.split(R);R.chunkReason=N.chunkReason;for(const j of $.items){if(!j.chunkCondition(R,E)){continue}Ee.connectChunkAndModule(R,j);Ee.disconnectChunkAndModule(N,j)}}else{N.name=q}}}N.timeEnd("maxSize")}))}))}}},15787:(E,R,N)=>{"use strict";const{formatSize:$}=N(9192);const j=N(81627);E.exports=class AssetsOverSizeLimitWarning extends j{constructor(E,R){const N=E.map((E=>`\n ${E.name} (${$(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${$(R)}).\nThis can impact web performance.\nAssets: ${N}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,R,N)=>{"use strict";const{formatSize:$}=N(9192);const j=N(81627);E.exports=class EntrypointsOverSizeLimitWarning extends j{constructor(E,R){const N=E.map((E=>`\n ${E.name} (${$(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${$(R)}). This can impact web performance.\nEntrypoints:${N}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class NoAsyncChunksWarning extends ${constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,R,N)=>{"use strict";const{find:$}=N(26221);const j=N(15787);const q=N(84116);const G=N(23529);const ie=new WeakSet;const excludeSourceMap=(E,R,N)=>!N.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ie.has(E)}apply(E){const R=this.maxEntrypointSize;const N=this.maxAssetSize;const ae=this.hints;const le=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const _e=[];const getEntrypointSize=R=>{let N=0;for(const $ of R.getFiles()){const R=E.getAsset($);if(R&&le(R.name,R.source,R.info)&&R.source){N+=R.info.size||R.source.size()}}return N};const Ee=[];for(const{name:R,source:$,info:j}of E.getAssets()){if(!le(R,$,j)||!$){continue}const E=j.size||$.size();if(E>N){Ee.push({name:R,size:E});ie.add($)}}const fileFilter=R=>{const N=E.getAsset(R);return N&&le(N.name,N.source,N.info)};const we=[];for(const[N,$]of E.entrypoints){const E=getEntrypointSize($);if(E>R){we.push({name:N,size:E,files:$.getFiles().filter(fileFilter)});ie.add($)}}if(ae){if(Ee.length>0){_e.push(new j(Ee,N))}if(we.length>0){_e.push(new q(we,R))}if(_e.length>0){const R=$(E.chunks,(E=>!E.canBeInitial()));if(!R){_e.push(new G)}if(ae==="error"){E.errors.push(..._e)}else{E.warnings.push(..._e)}}}}))}}},63890:(E,R,N)=>{"use strict";const $=N(66804);const j=N(58159);class ChunkPrefetchFunctionRuntimeModule extends ${constructor(E,R,N){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=R;this.runtimeHandlers=N}generate(){const{runtimeFunction:E,runtimeHandlers:R}=this;const{runtimeTemplate:N}=this.compilation;return j.asString([`${R} = {};`,`${E} = ${N.basicFunction("chunkId",[`Object.keys(${R}).map(${N.basicFunction("key",`${R}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,R,N)=>{"use strict";const $=N(76150);const j=N(63890);const q=N(2235);const G=N(86400);const ie=N(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((R,N,{chunkGraph:j})=>{if(j.getNumberOfEntryModules(R)===0)return;const G=R.getChildrenOfTypeInOrder(j,"prefetchOrder");if(G){N.add($.prefetchChunk);N.add($.onChunksLoaded);E.addRuntimeModule(R,new q(G))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((R,N,{chunkGraph:j})=>{const q=R.getChildIdsByOrdersMap(j,false);if(q.prefetch){N.add($.prefetchChunk);E.addRuntimeModule(R,new G(q.prefetch))}if(q.preload){N.add($.preloadChunk);E.addRuntimeModule(R,new ie(q.preload))}}));E.hooks.runtimeRequirementInTree.for($.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((R,N)=>{E.addRuntimeModule(R,new j("prefetch",$.prefetchChunk,$.prefetchChunkHandlers));N.add($.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for($.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((R,N)=>{E.addRuntimeModule(R,new j("preload",$.preloadChunk,$.preloadChunkHandlers));N.add($.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPrefetchStartupRuntimeModule extends j{constructor(E){super("startup prefetch",j.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:R}=this;const{runtimeTemplate:N}=this.compilation;return q.asString(E.map((({onChunks:E,chunks:j})=>`${$.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===R)).map((E=>E.id)))}, ${N.basicFunction("",j.size<3?Array.from(j,(E=>`${$.prefetchChunk}(${JSON.stringify(E.id)});`)):`${JSON.stringify(Array.from(j,(E=>E.id)))}.map(${$.prefetchChunk});`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPrefetchTriggerRuntimeModule extends j{constructor(E){super(`chunk prefetch trigger`,j.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:R}=this.compilation;const N=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${$.prefetchChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${$.ensureChunkHandlers}.prefetch = ${R.expressionFunction(`Promise.all(promises).then(${R.basicFunction("",N)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPreloadTriggerRuntimeModule extends j{constructor(E){super(`chunk preload trigger`,j.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:R}=this.compilation;const N=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${$.preloadChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${$.ensureChunkHandlers}.preload = ${R.basicFunction("chunkId",N)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,R){this.ruleProperty=E;this.effectType=R||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,R,N,$,j)=>{if(N.has(this.ruleProperty)){N.delete(this.ruleProperty);const E=R[this.ruleProperty];$.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,R,N){this.ruleProperty=E;this.dataProperty=R||E;this.invert=N||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((R,N,$,j)=>{if($.has(this.ruleProperty)){$.delete(this.ruleProperty);const q=N[this.ruleProperty];const G=E.compileCondition(`${R}.${this.ruleProperty}`,q);const ie=G.fn;j.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!G.matchWhenEmpty:G.matchWhenEmpty,fn:this.invert?E=>!ie(E):ie})}}))}}E.exports=BasicMatcherRulePlugin},95020:E=>{"use strict";class ObjectMatcherRulePlugin{constructor(E,R){this.ruleProperty=E;this.dataProperty=R||E}apply(E){const{ruleProperty:R,dataProperty:N}=this;E.hooks.rule.tap("ObjectMatcherRulePlugin",(($,j,q,G)=>{if(q.has(R)){q.delete(R);const ie=j[R];for(const j of Object.keys(ie)){const q=j.split(".");const ae=E.compileCondition(`${$}.${R}.${j}`,ie[j]);G.conditions.push({property:[N,...q],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}E.exports=ObjectMatcherRulePlugin},73817:(E,R,N)=>{"use strict";const{SyncHook:$}=N(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new $(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const R of E){R.apply(this)}}}compile(E){const R=new Map;const N=this.compileRules("ruleSet",E,R);const execRule=(E,R,N)=>{for(const N of R.conditions){const R=N.property;if(Array.isArray(R)){let $=E;for(const E of R){if($&&typeof $==="object"&&Object.prototype.hasOwnProperty.call($,E)){$=$[E]}else{$=undefined;break}}if($!==undefined){if(!N.fn($))return false;continue}}else if(R in E){const $=E[R];if($!==undefined){if(!N.fn($))return false;continue}}if(!N.matchWhenEmpty){return false}}for(const $ of R.effects){if(typeof $==="function"){const R=$(E);for(const E of R){N.push(E)}}else{N.push($)}}if(R.rules){for(const $ of R.rules){execRule(E,$,N)}}if(R.oneOf){for(const $ of R.oneOf){if(execRule(E,$,N)){break}}}return true};return{references:R,exec:E=>{const R=[];for(const $ of N){execRule(E,$,R)}return R}}}compileRules(E,R,N){return R.map(((R,$)=>this.compileRule(`${E}[${$}]`,R,N)))}compileRule(E,R,N){const $=new Set(Object.keys(R).filter((E=>R[E]!==undefined)));const j={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,R,$,j,N);if($.has("rules")){$.delete("rules");const q=R.rules;if(!Array.isArray(q))throw this.error(E,q,"Rule.rules must be an array of rules");j.rules=this.compileRules(`${E}.rules`,q,N)}if($.has("oneOf")){$.delete("oneOf");const q=R.oneOf;if(!Array.isArray(q))throw this.error(E,q,"Rule.oneOf must be an array of rules");j.oneOf=this.compileRules(`${E}.oneOf`,q,N)}if($.size>0){throw this.error(E,R,`Properties ${Array.from($).join(", ")} are unknown`)}return j}compileCondition(E,R){if(R===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!R){throw this.error(E,R,"Expected condition but got falsy value")}if(typeof R==="string"){return{matchWhenEmpty:R.length===0,fn:E=>typeof E==="string"&&E.startsWith(R)}}if(typeof R==="function"){try{return{matchWhenEmpty:R(""),fn:R}}catch(N){throw this.error(E,R,"Evaluation of condition function threw error")}}if(R instanceof RegExp){return{matchWhenEmpty:R.test(""),fn:E=>typeof E==="string"&&R.test(E)}}if(Array.isArray(R)){const N=R.map(((R,N)=>this.compileCondition(`${E}[${N}]`,R)));return this.combineConditionsOr(N)}if(typeof R!=="object"){throw this.error(E,R,`Unexpected ${typeof R} when condition was expected`)}const N=[];for(const $ of Object.keys(R)){const j=R[$];switch($){case"or":if(j){if(!Array.isArray(j)){throw this.error(`${E}.or`,R.and,"Expected array of conditions")}N.push(this.compileCondition(`${E}.or`,j))}break;case"and":if(j){if(!Array.isArray(j)){throw this.error(`${E}.and`,R.and,"Expected array of conditions")}let $=0;for(const R of j){N.push(this.compileCondition(`${E}.and[${$}]`,R));$++}}break;case"not":if(j){const R=this.compileCondition(`${E}.not`,j);const $=R.fn;N.push({matchWhenEmpty:!R.matchWhenEmpty,fn:E=>!$(E)})}break;default:throw this.error(`${E}.${$}`,R[$],`Unexpected property ${$} in condition`)}}if(N.length===0){throw this.error(E,R,"Expected condition, but got empty thing")}return this.combineConditionsAnd(N)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:R=>E.some((E=>E.fn(R)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:R=>E.every((E=>E.fn(R)))}}}error(E,R,N){return new Error(`Compiling RuleSet failed: ${N} (at ${E}: ${R})`)}}E.exports=RuleSetCompiler},19311:(E,R,N)=>{"use strict";const $=N(73837);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((R,N,j,q,G)=>{const conflictWith=($,q)=>{if(j.has($)){throw E.error(`${R}.${$}`,N[$],`A Rule must not have a '${$}' property when it has a '${q}' property`)}};if(j.has("use")){j.delete("use");j.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=N.use;const ie=N.enforce;const ae=ie?`use-${ie}`:"use";const useToEffect=(E,R,N)=>{if(typeof N==="function"){return R=>useToEffectsWithoutIdent(E,N(R))}else{return useToEffectRaw(E,R,N)}};const useToEffectRaw=(E,R,N)=>{if(typeof N==="string"){return{type:ae,value:{loader:N,options:undefined,ident:undefined}}}else{const j=N.loader;const q=N.options;let ae=N.ident;if(q&&typeof q==="object"){if(!ae)ae=R;G.set(ae,q)}if(typeof q==="string"){$.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ie?`use-${ie}`:"use",value:{loader:j,options:q,ident:ae}}}};const useToEffectsWithoutIdent=(E,R)=>{if(Array.isArray(R)){return R.map(((R,N)=>useToEffectRaw(`${E}[${N}]`,"[[missing ident]]",R)))}return[useToEffectRaw(E,"[[missing ident]]",R)]};const useToEffects=(E,R)=>{if(Array.isArray(R)){return R.map(((R,N)=>{const $=`${E}[${N}]`;return useToEffect($,$,R)}))}return[useToEffect(E,E,R)]};if(typeof E==="function"){q.effects.push((N=>useToEffectsWithoutIdent(`${R}.use`,E(N))))}else{for(const N of useToEffects(`${R}.use`,E)){q.effects.push(N)}}}if(j.has("loader")){j.delete("loader");j.delete("options");j.delete("enforce");const ie=N.loader;const ae=N.options;const le=N.enforce;if(ie.includes("!")){throw E.error(`${R}.loader`,ie,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ie.includes("?")){throw E.error(`${R}.loader`,ie,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){$.deprecate((()=>{}),`Using a string as loader options is deprecated (${R}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const _e=ae&&typeof ae==="object"?R:undefined;G.set(_e,ae);q.effects.push({type:le?`use-${le}`:"use",value:{loader:ie,options:ae,ident:_e}})}}))}useItemToEffects(E,R){}}E.exports=UseEffectRulePlugin},84997:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class AsyncModuleRuntimeModule extends q{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.asyncModule;return j.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",j.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',j.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",j.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep['catch'](reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${R} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise['catch'](rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const G=N(18161);const{getUndoPath:ie}=N(49197);class AutoPublicPathRuntimeModule extends j{constructor(){super("publicPath",j.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:R,importMetaName:N,path:j}=E.outputOptions;const ae=E.getPath(G.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const le=ie(ae,j,false);return q.asString(["var scriptUrl;",R==="module"?`if (typeof ${N}.url === "string") scriptUrl = ${N}.url`:q.asString([`if (${$.global}.importScripts) scriptUrl = ${$.global}.location + "";`,`var document = ${$.global}.document;`,"if (!scriptUrl && document) {",q.indent([`if (document.currentScript)`,q.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",q.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!le?`${$.publicPath} = scriptUrl;`:`${$.publicPath} = scriptUrl + ${JSON.stringify(le)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class ChunkNameRuntimeModule extends j{constructor(E){super("chunkName");this.chunkName=E}generate(){return`${$.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CompatGetDefaultExportRuntimeModule extends q{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.compatGetDefaultExport;return j.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${R} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",j.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${$.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class CompatRuntimeModule extends j{constructor(){super("compat",j.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:R,compilation:N}=this;const{runtimeTemplate:j,mainTemplate:q,moduleTemplates:G,dependencyTemplates:ie}=N;const ae=q.hooks.bootstrap.call("",R,N.hash||"XXXX",G.javascript,ie);const le=q.hooks.localVars.call("",R,N.hash||"XXXX");const _e=q.hooks.requireExtensions.call("",R,N.hash||"XXXX");const Ee=E.getTreeRuntimeRequirements(R);let we="";if(Ee.has($.ensureChunk)){const E=q.hooks.requireEnsure.call("",R,N.hash||"XXXX","chunkId");if(E){we=`${$.ensureChunkHandlers}.compat = ${j.basicFunction("chunkId, promises",E)};`}}return[ae,le,we,_e].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CreateFakeNamespaceObjectRuntimeModule extends q{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.createFakeNamespaceObject;return j.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${R} = function(value, mode) {`,j.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",j.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${$.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",j.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${$.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CreateScriptUrlRuntimeModule extends q{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:R,outputOptions:N}=E;const{trustedTypes:q}=N;const G=$.createScriptUrl;if(!q){return j.asString([`${G} = ${R.returningFunction("url","url")};`])}return j.asString(["var policy;",`${G} = ${R.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",j.indent(["policy = {",j.indent([`createScriptURL: ${R.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',j.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(q.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class DefinePropertyGettersRuntimeModule extends q{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.definePropertyGetters;return j.asString(["// define getter functions for harmony exports",`${R} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,j.indent([`if(${$.hasOwnProperty}(definition, key) && !${$.hasOwnProperty}(exports, key)) {`,j.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class EnsureChunkRuntimeModule extends j{constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has($.ensureChunkHandlers)){const R=$.ensureChunkHandlers;return q.asString([`${R} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${$.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${R}).reduce(${E.basicFunction("promises, key",[`${R}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return q.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${$.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{first:G}=N(26221);class GetChunkFilenameRuntimeModule extends j{constructor(E,R,N,$,j){super(`get ${R} chunk filename`);this.contentType=E;this.global=N;this.getFilenameForChunk=$;this.allChunks=j;this.dependentHash=true}generate(){const{global:E,chunk:R,chunkGraph:N,contentType:j,getFilenameForChunk:ie,allChunks:ae,compilation:le}=this;const{runtimeTemplate:_e}=le;const Ee=new Map;let we=0;let Me;const addChunk=E=>{const R=ie(E);if(R){let N=Ee.get(R);if(N===undefined){Ee.set(R,N=new Set)}N.add(E);if(typeof R==="string"){if(N.size{const unquotedStringify=R=>{const N=`${R}`;if(N.length>=5&&N===`${E.id}`){return'" + chunkId + "'}const $=JSON.stringify(N);return $.slice(1,$.length-1)};const unquotedStringifyWithLength=E=>R=>unquotedStringify(`${E}`.slice(0,R));const N=typeof R==="function"?JSON.stringify(R({chunk:E,contentHashType:j})):JSON.stringify(R);const q=le.getPath(N,{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[j]:unquotedStringify(E.contentHash[j])},contentHashWithLength:{[j]:unquotedStringifyWithLength(E.contentHash[j])}},contentHashType:j});let G=Te.get(q);if(G===undefined){Te.set(q,G=new Set)}G.add(E.id)};for(const[E,R]of Ee){if(E!==Me){for(const N of R)addStaticUrl(N,E)}else{for(const E of R)Ne.add(E)}}const createMap=E=>{const R={};let N=false;let $;let j=0;for(const q of Ne){const G=E(q);if(G===q.id){N=true}else{R[q.id]=G;$=q.id;j++}}if(j===0)return"chunkId";if(j===1){return N?`(chunkId === ${JSON.stringify($)} ? ${JSON.stringify(R[$])} : chunkId)`:JSON.stringify(R[$])}return N?`(${JSON.stringify(R)}[chunkId] || chunkId)`:`${JSON.stringify(R)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>R=>`" + ${createMap((N=>`${E(N)}`.slice(0,R)))} + "`;const Be=Me&&le.getPath(JSON.stringify(Me),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[j]:mapExpr((E=>E.contentHash[j]))},contentHashWithLength:{[j]:mapExprWithLength((E=>E.contentHash[j]))}},contentHashType:j});return q.asString([`// This function allow to reference ${Ie.join(" and ")}`,`${E} = ${_e.basicFunction("chunkId",Te.size>0?["// return url for filenames not based on template",q.asString(Array.from(Te,(([E,R])=>{const N=R.size===1?`chunkId === ${JSON.stringify(G(R))}`:`{${Array.from(R,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${N}) return ${E};`}))),"// return url for filenames based on template",`return ${Be};`]:["// return url for filenames based on template",`return ${Be};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class GetFullHashRuntimeModule extends j{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${$.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class GetMainFilenameRuntimeModule extends j{constructor(E,R,N){super(`get ${E} filename`);this.global=R;this.filename=N}generate(){const{global:E,filename:R,compilation:N,chunk:j}=this;const{runtimeTemplate:G}=N;const ie=N.getPath(JSON.stringify(R),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:j,runtime:j.runtime});return q.asString([`${E} = ${G.returningFunction(ie)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class GlobalRuntimeModule extends j{constructor(){super("global")}generate(){return q.asString([`${$.global} = (function() {`,q.indent(["if (typeof globalThis === 'object') return globalThis;","try {",q.indent("return this || new Function('return this')();"),"} catch (e) {",q.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class HasOwnPropertyRuntimeModule extends j{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${$.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,R,N)=>{"use strict";const $=N(66804);class HelperRuntimeModule extends ${constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(58159);const ie=N(9851);const ae=new WeakMap;class LoadScriptRuntimeModule extends ie{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=ae.get(E);if(R===undefined){R={createScript:new $(["source","chunk"])};ae.set(E,R)}return R}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:R,outputOptions:N}=E;const{scriptType:$,chunkLoadTimeout:j,crossOriginLoading:ie,uniqueName:ae,charset:le}=N;const _e=q.loadScript;const{createScript:Ee}=LoadScriptRuntimeModule.getCompilationHooks(E);const we=G.asString(["script = document.createElement('script');",$?`script.type = ${JSON.stringify($)};`:"",le?"script.charset = 'utf-8';":"",`script.timeout = ${j/1e3};`,`if (${q.scriptNonce}) {`,G.indent(`script.setAttribute("nonce", ${q.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${q.createScriptUrl}(url)`:"url"};`,ie?G.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",G.indent(`script.crossOrigin = ${JSON.stringify(ie)};`),"}"]):""]);return G.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${_e} = ${R.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",G.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",G.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",G.indent(["needAttach = true;",Ee.call(we,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+R.basicFunction("prev, event",G.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${R.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${j});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class MakeNamespaceObjectRuntimeModule extends q{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.makeNamespaceObject;return j.asString(["// define __esModule on exports",`${R} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",j.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class OnChunksLoadedRuntimeModule extends j{constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:R}=E;return q.asString(["var deferred = [];",`${$.onChunksLoaded} = ${R.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",q.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",q.indent([R.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",q.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${$.onChunksLoaded}).every(${R.returningFunction(`${$.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,q.indent(["chunkIds.splice(j--, 1);"]),"} else {",q.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",q.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class PublicPathRuntimeModule extends j{constructor(E){super("publicPath",j.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:R}=this;return`${$.publicPath} = ${JSON.stringify(E.getPath(R||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class RelativeUrlRuntimeModule extends q{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return j.asString([`${$.relativeUrl} = function RelativeURL(url) {`,j.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${$.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class RuntimeIdRuntimeModule extends j{constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:R}=this;const N=R.runtime;if(typeof N!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const j=E.getRuntimeId(N);return`${$.runtimeId} = ${JSON.stringify(j)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,R,N)=>{"use strict";const $=N(76150);const j=N(55616);const q=N(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((R,N,{chunkGraph:q})=>{if(!isEnabledForChunk(R))return;if(q.hasChunkEntryDependentChunks(R)){N.add($.startup);N.add($.ensureChunk);N.add($.ensureChunkIncludeEntries);E.addRuntimeModule(R,new j(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for($.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;N.add($.require);N.add($.ensureChunk);N.add($.ensureChunkIncludeEntries);E.addRuntimeModule(R,new q(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class StartupChunkDependenciesRuntimeModule extends j{constructor(E){super("startup chunk dependencies",j.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:R,compilation:N}=this;const{runtimeTemplate:j}=N;const G=Array.from(E.getChunkEntryDependentChunksIterable(R)).map((E=>E.id));return q.asString([`var next = ${$.startup};`,`${$.startup} = ${j.basicFunction("",!this.asyncChunkLoading?G.map((E=>`${$.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):G.length===1?`return ${$.ensureChunk}(${JSON.stringify(G[0])}).then(next);`:G.length>2?[`return Promise.all(${JSON.stringify(G)}.map(${$.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",q.indent(G.map((E=>`${$.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class StartupEntrypointRuntimeModule extends j{constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:R}=E;return`${$.startupEntrypoint} = ${R.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${R.returningFunction(`__webpack_require__(${$.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${$.ensureChunk}, __webpack_require__)).then(${R.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${$.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class SystemContextRuntimeModule extends j{constructor(){super("__system_context__")}generate(){return`${$.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,R,N)=>{"use strict";const $=N(53520);const j=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=E=>{const R=j.exec(E);if(!R)return null;const N=R[3];const $=R[4];return N?Buffer.from($,"base64"):Buffer.from(decodeURIComponent($),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:R})=>{R.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const R=j.exec(E.resource);if(R){E.data.mimetype=R[1]||"";E.data.parameters=R[2]||"";E.data.encoding=R[3]||false;E.data.encodedContent=R[4]||""}}));$.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,R,N)=>{"use strict";const{URL:$,fileURLToPath:j}=N(57310);const{NormalModule:q}=N(86443);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:R})=>{R.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const R=new $(E.resource);const N=j(R);const q=R.search;const G=R.hash;E.path=N;E.query=q;E.fragment=G;E.resource=N+q+G;return true}));const N=q.getCompilationHooks(E);N.readResource.for(undefined).tapAsync("FileUriPlugin",((E,R)=>{const{resourcePath:N}=E;E.addDependency(N);E.fs.readFile(N,R)}))}))}}E.exports=FileUriPlugin},7201:(E,R,N)=>{"use strict";const{extname:$,basename:j}=N(71017);const{URL:q}=N(57310);const{createGunzip:G,createBrotliDecompress:ie,createInflate:ae}=N(59796);const le=N(53520);const _e=N(35817);const Ee=N(35891);const{mkdirp:we,dirname:Me,join:Ie}=N(95396);const Te=N(91671);const Ne=Te((()=>N(13685)));const Be=Te((()=>N(95687)));let Le=undefined;const je=_e(N(44363),(()=>N(5404)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=E=>E.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=E=>{const R=Ee("sha512");R.update(E);const N="sha512-"+R.digest("base64");return N};const verifyIntegrity=(E,R)=>{if(R==="ignore")return true;return computeIntegrity(E)===R};const parseKeyValuePairs=E=>{const R={};for(const N of E.split(",")){const E=N.indexOf("=");if(E>=0){const $=N.slice(0,E).trim();const j=N.slice(E+1).trim();R[$]=j}else{const E=N.trim();if(!E)continue;R[E]=E}}return R};const parseCacheControl=(E,R)=>{let N=true;let $=true;let j=0;if(E){const q=parseKeyValuePairs(E);if(q["no-cache"])N=$=false;if(q["max-age"]&&!isNaN(+q["max-age"])){j=R+ +q["max-age"]*1e3}if(q["must-revalidate"])j=0}return{storeLock:$,storeCache:N,validUntil:j}};const areLockfileEntriesEqual=(E,R)=>E.resolved===R.resolved&&E.integrity===R.integrity&&E.contentType===R.contentType;const entryToString=E=>`resolved: ${E.resolved}, integrity: ${E.integrity}, contentType: ${E.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(E){const R=JSON.parse(E);if(R.version!==1)throw new Error(`Unsupported lockfile version ${R.version}`);const N=new Lockfile;for(const E of Object.keys(R)){if(E==="version")continue;const $=R[E];N.entries.set(E,typeof $==="string"?$:{resolved:E,...$})}return N}toString(){let E="{\n";const R=Array.from(this.entries).sort((([E],[R])=>E{let R=false;let N=undefined;let $=undefined;let j=undefined;return q=>{if(R){if($!==undefined)return q(null,$);if(N!==undefined)return q(N);if(j===undefined)j=[q];else j.push(q);return}R=true;E(((E,R)=>{if(E)N=E;else $=R;const G=j;j=undefined;q(E,R);if(G!==undefined)for(const N of G)N(E,R)}))}};const cachedWithKey=(E,R=E)=>{const N=new Map;const resultFn=(R,$)=>{const j=N.get(R);if(j!==undefined){if(j.result!==undefined)return $(null,j.result);if(j.error!==undefined)return $(j.error);if(j.callbacks===undefined)j.callbacks=[$];else j.callbacks.push($);return}const q={result:undefined,error:undefined,callbacks:undefined};N.set(R,q);E(R,((E,R)=>{if(E)q.error=E;else q.result=R;const N=q.callbacks;q.callbacks=undefined;$(E,R);if(N!==undefined)for(const $ of N)$(E,R)}))};resultFn.force=(E,$)=>{const j=N.get(E);if(j!==undefined&&j.force){if(j.result!==undefined)return $(null,j.result);if(j.error!==undefined)return $(j.error);if(j.callbacks===undefined)j.callbacks=[$];else j.callbacks.push($);return}const q={result:undefined,error:undefined,callbacks:undefined,force:true};N.set(E,q);R(E,((E,R)=>{if(E)q.error=E;else q.result=R;const N=q.callbacks;q.callbacks=undefined;$(E,R);if(N!==undefined)for(const $ of N)$(E,R)}))};return resultFn};class HttpUriPlugin{constructor(E){je(E);this._lockfileLocation=E.lockfileLocation;this._cacheLocation=E.cacheLocation;this._upgrade=E.upgrade;this._frozen=E.frozen;this._allowedUris=E.allowedUris}apply(E){const R=[{scheme:"http",fetch:(E,R,N)=>Ne().get(E,R,N)},{scheme:"https",fetch:(E,R,N)=>Be().get(E,R,N)}];let N;E.hooks.compilation.tap("HttpUriPlugin",((_e,{normalModuleFactory:Te})=>{const Ne=E.intermediateFileSystem;const Be=_e.inputFileSystem;const je=_e.getCache("webpack.HttpUriPlugin");const ze=_e.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||Ie(Ne,E.context,E.name?`${toSafePath(E.name)}.webpack.lock`:"webpack.lock");const qe=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const Ge=this._upgrade||false;const He=this._frozen||false;const We="sha512";const Ve="hex";const Ke=20;const Qe=this._allowedUris;let Je=false;const Xe=new Map;const getCacheKey=E=>{const R=Xe.get(E);if(R!==undefined)return R;const N=_getCacheKey(E);Xe.set(E,N);return N};const _getCacheKey=E=>{const R=new q(E);const N=toSafePath(R.origin);const j=toSafePath(R.pathname);const G=toSafePath(R.search);let ie=$(j);if(ie.length>20)ie="";const ae=ie?j.slice(0,-ie.length):j;const le=Ee(We);le.update(E);const _e=le.digest(Ve).slice(0,Ke);return`${N.slice(-50)}/${`${ae}${G?`_${G}`:""}`.slice(0,150)}_${_e}${ie}`};const Ye=cachedWithoutKey((R=>{const readLockfile=()=>{Ne.readFile(Ue,(($,j)=>{if($&&$.code!=="ENOENT"){_e.missingDependencies.add(Ue);return R($)}_e.fileDependencies.add(Ue);_e.fileSystemInfo.createSnapshot(E.fsStartTime,j?[Ue]:[],[],j?[]:[Ue],{timestamp:true},((E,$)=>{if(E)return R(E);const q=j?Lockfile.parse(j.toString("utf-8")):new Lockfile;N={lockfile:q,snapshot:$};R(null,q)}))}))};if(N){_e.fileSystemInfo.checkSnapshotValid(N.snapshot,((E,$)=>{if(E)return R(E);if(!$)return readLockfile();R(null,N.lockfile)}))}else{readLockfile()}}));let Ze=undefined;const storeLockEntry=(E,R,N)=>{const $=E.entries.get(R);if(Ze===undefined)Ze=new Map;Ze.set(R,N);E.entries.set(R,N);if(!$){ze.log(`${R} added to lockfile`)}else if(typeof $==="string"){if(typeof N==="string"){ze.log(`${R} updated in lockfile: ${$} -> ${N}`)}else{ze.log(`${R} updated in lockfile: ${$} -> ${N.resolved}`)}}else if(typeof N==="string"){ze.log(`${R} updated in lockfile: ${$.resolved} -> ${N}`)}else if($.resolved!==N.resolved){ze.log(`${R} updated in lockfile: ${$.resolved} -> ${N.resolved}`)}else if($.integrity!==N.integrity){ze.log(`${R} updated in lockfile: content changed`)}else if($.contentType!==N.contentType){ze.log(`${R} updated in lockfile: ${$.contentType} -> ${N.contentType}`)}else{ze.log(`${R} updated in lockfile`)}};const storeResult=(E,R,N,$)=>{if(N.storeLock){storeLockEntry(E,R,N.entry);if(!qe||!N.content)return $(null,N);const j=getCacheKey(N.entry.resolved);const q=Ie(Ne,qe,j);we(Ne,Me(Ne,q),(E=>{if(E)return $(E);Ne.writeFile(q,N.content,(E=>{if(E)return $(E);$(null,N)}))}))}else{storeLockEntry(E,R,"no-cache");$(null,N)}};for(const{scheme:E,fetch:N}of R){const resolveContent=(E,N,$)=>{const handleResult=(j,q)=>{if(j)return $(j);if("location"in q){return resolveContent(q.location,N,((E,R)=>{if(E)return $(E);$(null,{entry:R.entry,content:R.content,storeLock:R.storeLock&&q.storeLock})}))}else{if(!q.fresh&&N&&q.entry.integrity!==N&&!verifyIntegrity(q.content,N)){return R.force(E,handleResult)}return $(null,{entry:q.entry,content:q.content,storeLock:q.storeLock})}};R(E,handleResult)};const fetchContentRaw=(E,R,$)=>{const j=Date.now();N(new q(E),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":R?R.etag||null:null}},(N=>{const le=N.headers["etag"];const _e=N.headers["location"];const Ee=N.headers["cache-control"];const{storeLock:we,storeCache:Me,validUntil:Ie}=parseCacheControl(Ee,j);const finishWith=R=>{if("location"in R){ze.debug(`GET ${E} [${N.statusCode}] -> ${R.location}`)}else{ze.debug(`GET ${E} [${N.statusCode}] ${Math.ceil(R.content.length/1024)} kB${!we?" no-cache":""}`)}const j={...R,fresh:true,storeLock:we,storeCache:Me,validUntil:Ie,etag:le};if(!Me){ze.log(`${E} can't be stored in cache, due to Cache-Control header: ${Ee}`);return $(null,j)}je.store(E,null,{...j,fresh:false},(R=>{if(R){ze.warn(`${E} can't be stored in cache: ${R.message}`);ze.debug(R.stack)}$(null,j)}))};if(N.statusCode===304){if(R.validUntil=301&&N.statusCode<=308){return finishWith({location:new q(_e,E).href})}const Te=N.headers["content-type"]||"";const Ne=[];const Be=N.headers["content-encoding"];let Le=N;if(Be==="gzip"){Le=Le.pipe(G())}else if(Be==="br"){Le=Le.pipe(ie())}else if(Be==="deflate"){Le=Le.pipe(ae())}Le.on("data",(E=>{Ne.push(E)}));Le.on("end",(()=>{if(!N.complete){ze.log(`GET ${E} [${N.statusCode}] (terminated)`);return $(new Error(`${E} request was terminated`))}const R=Buffer.concat(Ne);if(N.statusCode!==200){ze.log(`GET ${E} [${N.statusCode}]`);return $(new Error(`${E} request status code = ${N.statusCode}\n${R.toString("utf-8")}`))}const j=computeIntegrity(R);const q={resolved:E,integrity:j,contentType:Te};finishWith({entry:q,content:R})}))})).on("error",(R=>{ze.log(`GET ${E} (error)`);R.message+=`\nwhile fetching ${E}`;$(R)}))};const R=cachedWithKey(((E,R)=>{je.get(E,null,((N,$)=>{if(N)return R(N);if($){const E=$.validUntil>=Date.now();if(E)return R(null,$)}fetchContentRaw(E,$,R)}))}),((E,R)=>fetchContentRaw(E,undefined,R)));const isAllowed=E=>{for(const R of Qe){if(typeof R==="string"){if(E.startsWith(R))return true}else if(typeof R==="function"){if(R(E))return true}else{if(R.test(E))return true}}return false};const $=cachedWithKey(((E,R)=>{if(!isAllowed(E)){return R(new Error(`${E} doesn't match the allowedUris policy. These URIs are allowed:\n${Qe.map((E=>` - ${E}`)).join("\n")}`))}Ye(((N,$)=>{if(N)return R(N);const j=$.entries.get(E);if(!j){if(He){return R(new Error(`${E} has no lockfile entry and lockfile is frozen`))}resolveContent(E,null,((N,j)=>{if(N)return R(N);storeResult($,E,j,R)}));return}if(typeof j==="string"){const N=j;resolveContent(E,null,((j,q)=>{if(j)return R(j);if(!q.storeLock||N==="ignore")return R(null,q);if(He){return R(new Error(`${E} used to have ${N} lockfile entry and has content now, but lockfile is frozen`))}if(!Ge){return R(new Error(`${E} used to have ${N} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult($,E,q,R)}));return}let q=j;const doFetch=N=>{resolveContent(E,q.integrity,((j,G)=>{if(j){if(N){ze.warn(`Upgrade request to ${E} failed: ${j.message}`);ze.debug(j.stack);return R(null,{entry:q,content:N})}return R(j)}if(!G.storeLock){if(He){return R(new Error(`${E} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult($,E,G,R);return}if(!areLockfileEntriesEqual(G.entry,q)){if(He){return R(new Error(`${E} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(q)}\nExpected: ${entryToString(G.entry)}`))}storeResult($,E,G,R);return}if(!N&&qe){if(He){return R(new Error(`${E} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult($,E,G,R);return}return R(null,G)}))};if(qe){const N=getCacheKey(q.resolved);const j=Ie(Ne,qe,N);Be.readFile(j,((N,G)=>{const ie=G;if(N){if(N.code==="ENOENT")return doFetch();return R(N)}const continueWithCachedContent=E=>{if(!Ge){return R(null,{entry:q,content:ie})}return doFetch(ie)};if(!verifyIntegrity(ie,q.integrity)){let N;let G=false;try{N=Buffer.from(ie.toString("utf-8").replace(/\r\n/g,"\n"));G=verifyIntegrity(N,q.integrity)}catch(E){}if(G){if(!Je){const E=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(He){ze.error(E)}else{ze.warn(E);ze.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Je=true}if(!He){ze.log(`${j} fixed end of line sequence (\\r\\n instead of \\n).`);Ne.writeFile(j,N,(E=>{if(E)return R(E);continueWithCachedContent(N)}));return}}if(He){return R(new Error(`${q.resolved} integrity mismatch, expected content with integrity ${q.integrity} but got ${computeIntegrity(ie)}.\nLockfile corrupted (${G?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{q={...q,integrity:computeIntegrity(ie)};storeLockEntry($,E,q)}}continueWithCachedContent(G)}))}else{doFetch()}}))}));const respondWithUrlModule=(E,R,N)=>{$(E.href,(($,j)=>{if($)return N($);R.resource=E.href;R.path=E.origin+E.pathname;R.query=E.search;R.fragment=E.hash;R.context=new q(".",j.entry.resolved).href.slice(0,-1);R.data.mimetype=j.entry.contentType;N(null,true)}))};Te.hooks.resolveForScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>{respondWithUrlModule(new q(E.resource),E,N)}));Te.hooks.resolveInScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>{if(R.dependencyType!=="url"&&!/^\.{0,2}\//.test(E.resource)){return N()}respondWithUrlModule(new q(E.resource,R.context+"/"),E,N)}));const j=le.getCompilationHooks(_e);j.readResourceForScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>$(E,((E,$)=>{if(E)return N(E);R.buildInfo.resourceIntegrity=$.entry.integrity;N(null,$.content)}))));j.needBuild.tapAsync("HttpUriPlugin",((R,N,j)=>{if(R.resource&&R.resource.startsWith(`${E}://`)){$(R.resource,((E,N)=>{if(E)return j(E);if(N.entry.integrity!==R.buildInfo.resourceIntegrity){return j(null,true)}j()}))}else{return j()}}))}_e.hooks.finishModules.tapAsync("HttpUriPlugin",((E,R)=>{if(!Ze)return R();const N=$(Ue);const q=Ie(Ne,Me(Ne,Ue),`.${j(Ue,N)}.${Math.random()*1e4|0}${N}`);const writeDone=()=>{const E=Le.shift();if(E){E()}else{Le=undefined}};const runWrite=()=>{Ne.readFile(Ue,((E,N)=>{if(E&&E.code!=="ENOENT"){writeDone();return R(E)}const $=N?Lockfile.parse(N.toString("utf-8")):new Lockfile;for(const[E,R]of Ze){$.entries.set(E,R)}Ne.writeFile(q,$.toString(),(E=>{if(E){writeDone();return Ne.unlink(q,(()=>R(E)))}Ne.rename(q,Ue,(E=>{if(E){writeDone();return Ne.unlink(q,(()=>R(E)))}writeDone();R()}))}))}))};if(Le){Le.push(runWrite)}else{Le=[];runWrite()}}))}))}}E.exports=HttpUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:R}){R(E.length);for(const N of E)R(N)}deserialize({read:E}){const R=E();const N=[];for(let $=0;${"use strict";const $=N(91671);const j=N(43065);const q=11;const G=12;const ie=13;const ae=14;const le=16;const _e=17;const Ee=18;const we=19;const Me=20;const Ie=21;const Te=22;const Ne=23;const Be=24;const Le=30;const je=31;const ze=96;const Ue=64;const qe=32;const Ge=128;const He=224;const We=31;const Ve=127;const Ke=1;const Qe=1;const Je=4;const Xe=8;const Ye=Symbol("MEASURE_START_OPERATION");const Ze=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends j{serialize(E,R){return this._serialize(E,R)}_serializeLazy(E,R){return j.serializeLazy(E,(E=>this._serialize(E,R)))}_serialize(E,R,N={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let $=null;let He=[];let We=N?N.leftOverBuffer:null;N.leftOverBuffer=null;let Ve=0;if(We===null){We=Buffer.allocUnsafe(N.allocationSize)}const allocate=E=>{if(We!==null){if(We.length-Ve>=E)return;flush()}if($&&$.length>=E){We=$;$=null}else{We=Buffer.allocUnsafe(Math.max(E,N.allocationSize));if(!(N.increaseCounter=(N.increaseCounter+1)%4)&&N.allocationSize<16777216){N.allocationSize=N.allocationSize<<1}}};const flush=()=>{if(We!==null){if(Ve>0){He.push(Buffer.from(We.buffer,We.byteOffset,Ve))}if(!$||$.length{We.writeUInt8(E,Ve++)};const writeU32=E=>{We.writeUInt32LE(E,Ve);Ve+=4};const et=[];const measureStart=()=>{et.push(He.length,Ve)};const measureEnd=()=>{const E=et.pop();const R=et.pop();let N=Ve-E;for(let E=R;E0&&(E=G[G.length-1])!==0){const N=4294967295-E;if(N>=R.length){G[G.length-1]+=R.length}else{G.push(R.length-N);G[G.length-2]=4294967295}}else{G.push(R.length)}}allocate(5+G.length*4);writeU8(q);writeU32(G.length);for(const E of G){writeU32(E)}flush();for(const R of E){He.push(R)}break}case"string":{const E=Buffer.byteLength(tt);if(E>=128||E!==tt.length){allocate(E+Ke+Je);writeU8(Le);writeU32(E);We.write(tt,Ve);Ve+=E}else if(E>=70){allocate(E+Ke);writeU8(Ge|E);We.write(tt,Ve,"latin1");Ve+=E}else{allocate(E+Ke);writeU8(Ge|E);for(let R=0;R=0&&tt<=10){allocate(Qe);writeU8(tt);break}let N=1;for(;N<32&&et+N0){We.writeInt8(E[et],Ve);Ve+=Qe;N--;et++}break;case 1:allocate(Ke+Je*N);writeU8(Ue|N-1);while(N>0){We.writeInt32LE(E[et],Ve);Ve+=Je;N--;et++}break;case 2:allocate(Ke+Xe*N);writeU8(qe|N-1);while(N>0){We.writeDoubleLE(E[et],Ve);Ve+=Xe;N--;et++}break}et--;break}case"boolean":{let R=tt===true?1:0;const N=[];let $=1;let j;for(j=1;j<4294967295&&et+jthis._deserialize(E,R))),this,undefined,E)}_deserializeLazy(E,R){return j.deserializeLazy(E,(E=>this._deserialize(E,R)))}_deserialize(E,R){let N=0;let $=E[0];let j=Buffer.isBuffer($);let Ke=0;const Ye=R.retainedBuffer||(E=>E);const checkOverflow=()=>{if(Ke>=$.length){Ke=0;N++;$=Nj&&E+Ke<=$.length;const ensureBuffer=()=>{if(!j){throw new Error($===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=R=>{ensureBuffer();const q=$.length-Ke;if(q{ensureBuffer();const R=$.length-Ke;if(R{ensureBuffer();const E=$.readUInt8(Ke);Ke+=Qe;checkOverflow();return E};const readU32=()=>read(Je).readUInt32LE(0);const readBits=(E,R)=>{let N=1;while(R!==0){et.push((E&N)!==0);N=N<<1;R--}};const Ze=Array.from({length:256}).map(((Ze,tt)=>{switch(tt){case q:return()=>{const q=readU32();const G=Array.from({length:q}).map((()=>readU32()));const ie=[];for(let R of G){if(R===0){if(typeof $!=="function"){throw new Error("Unexpected non-lazy element in stream")}ie.push($);N++;$=N0)}}et.push(this._createLazyDeserialized(ie,R))};case je:return()=>{const E=readU32();et.push(Ye(read(E)))};case G:return()=>et.push(true);case ie:return()=>et.push(false);case Ee:return()=>et.push(null,null,null);case _e:return()=>et.push(null,null);case le:return()=>et.push(null);case Ne:return()=>et.push(null,true);case Be:return()=>et.push(null,false);case Ie:return()=>{if(j){et.push(null,$.readInt8(Ke));Ke+=Qe;checkOverflow()}else{et.push(null,read(Qe).readInt8(0))}};case Te:return()=>{et.push(null);if(isInCurrentBuffer(Je)){et.push($.readInt32LE(Ke));Ke+=Je;checkOverflow()}else{et.push(read(Je).readInt32LE(0))}};case we:return()=>{const E=readU8()+4;for(let R=0;R{const E=readU32()+260;for(let R=0;R{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let R=(E&127)+7;while(R>8){readBits(readU8(),8);R-=8}readBits(readU8(),R)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Le:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&Ke+E<2147483647){et.push($.toString(undefined,Ke,Ke+E));Ke+=E;checkOverflow()}else{et.push(read(E).toString())}};case Ge:return()=>et.push("");case Ge|1:return()=>{if(j&&Ke<2147483646){et.push($.toString("latin1",Ke,Ke+1));Ke++;checkOverflow()}else{et.push(read(1).toString("latin1"))}};case ze:return()=>{if(j){et.push($.readInt8(Ke));Ke++;checkOverflow()}else{et.push(read(1).readInt8(0))}};default:if(tt<=10){return()=>et.push(tt)}else if((tt&Ge)===Ge){const E=tt&Ve;return()=>{if(isInCurrentBuffer(E)&&Ke+E<2147483647){et.push($.toString("latin1",Ke,Ke+E));Ke+=E;checkOverflow()}else{et.push(read(E).toString("latin1"))}}}else if((tt&He)===qe){const E=(tt&We)+1;return()=>{const R=Xe*E;if(isInCurrentBuffer(R)){for(let R=0;R{const R=Je*E;if(isInCurrentBuffer(R)){for(let R=0;R{const R=Qe*E;if(isInCurrentBuffer(R)){for(let R=0;R{throw new Error(`Unexpected header byte 0x${tt.toString(16)}`)}}}}));let et=[];while($!==null){if(typeof $==="function"){et.push(this._deserializeLazy($,R));N++;$=N{"use strict";class DateObjectSerializer{serialize(E,{write:R}){R(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:R}){R(E.message);R(E.stack)}deserialize({read:E}){const R=new this.Type;R.message=E();R.stack=E();return R}}E.exports=ErrorObjectSerializer},13829:(E,R,N)=>{"use strict";const{constants:$}=N(14300);const{pipeline:j}=N(12781);const{createBrotliCompress:q,createBrotliDecompress:G,createGzip:ie,createGunzip:ae,constants:le}=N(59796);const _e=N(35891);const{dirname:Ee,join:we,mkdirp:Me}=N(95396);const Ie=N(91671);const Te=N(43065);const Ne=23294071;const hashForName=(E,R)=>{const N=_e(R);for(const R of E)N.update(R);return N.digest("hex")};const Be=100*1024*1024;const Le=100*1024*1024;const je=Buffer.prototype.writeBigUInt64LE?(E,R,N)=>{E.writeBigUInt64LE(BigInt(R),N)}:(E,R,N)=>{const $=R%4294967296;const j=(R-$)/4294967296;E.writeUInt32LE($,N);E.writeUInt32LE(j,N+4)};const ze=Buffer.prototype.readBigUInt64LE?(E,R)=>Number(E.readBigUInt64LE(R)):(E,R)=>{const N=E.readUInt32LE(R);const $=E.readUInt32LE(R+4);return $*4294967296+N};const serialize=async(E,R,N,$,j="md4")=>{const q=[];const G=new WeakMap;let ie=undefined;for(const N of await R){if(typeof N==="function"){if(!Te.isLazy(N))throw new Error("Unexpected function");if(!Te.isLazy(N,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}ie=undefined;const R=Te.getLazySerializedValue(N);if(R){if(typeof R==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{q.push(R)}}else{const R=N();if(R){const ie=Te.getLazyOptions(N);q.push(serialize(E,R,ie&&ie.name||true,$,j).then((E=>{N.options.size=E.size;G.set(E,N);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(N){if(ie){ie.push(N)}else{ie=[N];q.push(ie)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const le=(await Promise.all(q)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ae.push(E.backgroundJob);const R=E.name;const N=Buffer.from(R);const $=Buffer.allocUnsafe(8+N.length);je($,E.size,0);N.copy($,8,0);const j=G.get(E);Te.setLazySerializedValue(j,$);return $}));const _e=[];for(const E of le){if(Array.isArray(E)){let R=0;for(const N of E)R+=N.length;while(R>2147483647){_e.push(2147483647);R-=2147483647}_e.push(R)}else if(E){_e.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const Ee=Buffer.allocUnsafe(8+_e.length*4);Ee.writeUInt32LE(Ne,0);Ee.writeUInt32LE(_e.length,4);for(let E=0;E<_e.length;E++){Ee.writeInt32LE(_e[E],8+E*4)}const we=[Ee];for(const E of le){if(Array.isArray(E)){for(const R of E)we.push(R)}else if(E){we.push(E)}}if(N===true){N=hashForName(we,j)}ae.push($(N,we));let Me=0;for(const E of we)Me+=E.length;return{size:Me,name:N,backgroundJob:ae.length===1?ae[0]:Promise.all(ae)}};const deserialize=async(E,R,N)=>{const $=await N(R);if($.length===0)throw new Error("Empty file "+R);let j=0;let q=$[0];let G=q.length;let ie=0;if(G===0)throw new Error("Empty file "+R);const nextContent=()=>{j++;q=$[j];G=q.length;ie=0};const ensureData=E=>{if(ie===G){nextContent()}while(G-ieN){ae.push($[E].slice(0,N));$[E]=$[E].slice(N);N=0;break}else{ae.push($[E]);j=E;N-=R}}if(N>0)throw new Error("Unexpected end of data");q=Buffer.concat(ae,E);G=E;ie=0}};const readUInt32LE=()=>{ensureData(4);const E=q.readUInt32LE(ie);ie+=4;return E};const readInt32LE=()=>{ensureData(4);const E=q.readInt32LE(ie);ie+=4;return E};const readSlice=E=>{ensureData(E);if(ie===0&&G===E){const R=q;if(j+1<$.length){nextContent()}else{ie=E}return R}const R=q.slice(ie,ie+E);ie+=E;return E*2=0;if(Ee&&R){_e[_e.length-1]+=E}else{_e.push(E);Ee=R}}const we=[];for(let R of _e){if(R<0){const $=readSlice(-R);const j=Number(ze($,0));const q=$.slice(8);const G=q.toString();we.push(Te.createLazy(Ie((()=>deserialize(E,G,N))),E,{name:G,size:j},$))}else{if(ie===G){nextContent()}else if(ie!==0){if(R<=G-ie){we.push(Buffer.from(q.buffer,q.byteOffset+ie,R));ie+=R;R=0}else{const E=G-ie;we.push(Buffer.from(q.buffer,q.byteOffset+ie,E));R-=E;ie=G}}else{if(R>=G){we.push(q);R-=G;ie=G}else{we.push(Buffer.from(q.buffer,q.byteOffset,R));ie+=R;R=0}}while(R>0){nextContent();if(R>=G){we.push(q);R-=G;ie=G}else{we.push(Buffer.from(q.buffer,q.byteOffset,R));ie+=R;R=0}}}}return we};class FileMiddleware extends Te{constructor(E,R="md4"){super();this.fs=E;this._hashFunction=R}serialize(E,R){const{filename:N,extension:$=""}=R;return new Promise(((R,G)=>{Me(this.fs,Ee(this.fs,N),(ae=>{if(ae)return G(ae);const _e=new Set;const writeFile=async(E,R)=>{const G=E?we(this.fs,N,`../${E}${$}`):N;await new Promise(((E,N)=>{let $=this.fs.createWriteStream(G+"_");let ae;if(G.endsWith(".gz")){ae=ie({chunkSize:Be,level:le.Z_BEST_SPEED})}else if(G.endsWith(".br")){ae=q({chunkSize:Be,params:{[le.BROTLI_PARAM_MODE]:le.BROTLI_MODE_TEXT,[le.BROTLI_PARAM_QUALITY]:2,[le.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[le.BROTLI_PARAM_SIZE_HINT]:R.reduce(((E,R)=>E+R.length),0)}})}if(ae){j(ae,$,N);$=ae;$.on("finish",(()=>E()))}else{$.on("error",(E=>N(E)));$.on("finish",(()=>E()))}for(const E of R)$.write(E);$.end()}));if(E)_e.add(G)};R(serialize(this,E,false,writeFile,this._hashFunction).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(N,N+".old",(R=>{E()}))));await Promise.all(Array.from(_e,(E=>new Promise(((R,N)=>{this.fs.rename(E+"_",E,(E=>{if(E)return N(E);R()}))})))));await new Promise((E=>{this.fs.rename(N+"_",N,(R=>{if(R)return G(R);E()}))}));return true})))}))}))}deserialize(E,R){const{filename:N,extension:j=""}=R;const readFile=E=>new Promise(((R,q)=>{const ie=E?we(this.fs,N,`../${E}${j}`):N;this.fs.stat(ie,((E,N)=>{if(E){q(E);return}let j=N.size;let le;let _e;const Ee=[];let we;if(ie.endsWith(".gz")){we=ae({chunkSize:Le})}else if(ie.endsWith(".br")){we=G({chunkSize:Le})}if(we){let E,N;R(Promise.all([new Promise(((R,$)=>{E=R;N=$})),new Promise(((E,R)=>{we.on("data",(E=>Ee.push(E)));we.on("end",(()=>E()));we.on("error",(E=>R(E)))}))]).then((()=>Ee)));R=E;q=N}this.fs.open(ie,"r",((E,N)=>{if(E){q(E);return}const read=()=>{if(le===undefined){le=Buffer.allocUnsafeSlow(Math.min($.MAX_LENGTH,j,we?Le:Infinity));_e=0}let E=le;let G=_e;let ie=le.length-_e;if(G>2147483647){E=le.slice(G);G=0}if(ie>2147483647){ie=2147483647}this.fs.read(N,E,G,ie,null,((E,$)=>{if(E){this.fs.close(N,(()=>{q(E)}));return}_e+=$;j-=$;if(_e===le.length){if(we){we.write(le)}else{Ee.push(le)}le=undefined;if(j===0){if(we){we.end()}this.fs.close(N,(E=>{if(E){q(E);return}R(Ee)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:R}){R(E.size);for(const N of E.keys()){R(N)}for(const N of E.values()){R(N)}}deserialize({read:E}){let R=E();const N=new Map;const $=[];for(let N=0;N{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:R}){const N=Object.keys(E);for(const E of N){R(E)}R(null);for(const $ of N){R(E[$])}}deserialize({read:E}){const R=Object.create(null);const N=[];let $=E();while($!==null){N.push($);$=E()}for(const $ of N){R[$]=E()}return R}}E.exports=NullPrototypeObjectSerializer},30991:(E,R,N)=>{"use strict";const $=N(35891);const j=N(22324);const q=N(93524);const G=N(12020);const ie=N(58461);const ae=N(78176);const le=N(11900);const _e=N(46690);const Ee=N(43065);const we=N(25402);const setSetSize=(E,R)=>{let N=0;for(const $ of E){if(N++>=R){E.delete($)}}};const setMapSize=(E,R)=>{let N=0;for(const $ of E.keys()){if(N++>=R){E.delete($)}}};const toHash=(E,R)=>{const N=$(R);N.update(E);return N.digest("latin1")};const Me=null;const Ie=null;const Te=true;const Ne=false;const Be=2;const Le=new Map;const je=new Map;const ze=new Set;const Ue={};const qe=new Map;qe.set(Object,new le);qe.set(Array,new j);qe.set(null,new ae);qe.set(Map,new ie);qe.set(Set,new we);qe.set(Date,new q);qe.set(RegExp,new _e);qe.set(Error,new G(Error));qe.set(EvalError,new G(EvalError));qe.set(RangeError,new G(RangeError));qe.set(ReferenceError,new G(ReferenceError));qe.set(SyntaxError,new G(SyntaxError));qe.set(TypeError,new G(TypeError));if(R.constructor!==Object){const E=R.constructor;const N=E.constructor;for(const[E,R]of Array.from(qe)){if(E){const $=new N(`return ${E.name};`)();qe.set($,R)}}}{let E=1;for(const[R,N]of qe){Le.set(R,{request:"",name:E++,serializer:N})}}for(const{request:E,name:R,serializer:N}of Le.values()){je.set(`${E}/${R}`,N)}const Ge=new Map;class ObjectMiddleware extends Ee{constructor(E,R="md4"){super();this.extendContext=E;this._hashFunction=R}static registerLoader(E,R){Ge.set(E,R)}static register(E,R,N,$){const j=R+"/"+N;if(Le.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(je.has(j)){throw new Error(`ObjectMiddleware.register: serializer for ${j} is already registered`)}Le.set(E,{request:R,name:N,serializer:$});je.set(j,$)}static registerNotSerializable(E){if(Le.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Le.set(E,Ue)}static getSerializerFor(E){const R=Object.getPrototypeOf(E);let N;if(R===null){N=null}else{N=R.constructor;if(!N){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const $=Le.get(N);if(!$)throw new Error(`No serializer registered for ${N.name}`);if($===Ue)throw Ue;return $}static getDeserializerFor(E,R){const N=E+"/"+R;const $=je.get(N);if($===undefined){throw new Error(`No deserializer registered for ${N}`)}return $}static _getDeserializerForWithoutError(E,R){const N=E+"/"+R;const $=je.get(N);return $}serialize(E,R){let N=[Be];let $=0;let j=new Map;const addReferenceable=E=>{j.set(E,$++)};let q=new Map;const dedupeBuffer=E=>{const R=E.length;const N=q.get(R);if(N===undefined){q.set(R,E);return E}if(Buffer.isBuffer(N)){if(R<32){if(E.equals(N)){return N}q.set(R,[N,E]);return E}else{const $=toHash(N,this._hashFunction);const j=new Map;j.set($,N);q.set(R,j);const G=toHash(E,this._hashFunction);if($===G){return N}return E}}else if(Array.isArray(N)){if(N.length<16){for(const R of N){if(E.equals(R)){return R}}N.push(E);return E}else{const $=new Map;const j=toHash(E,this._hashFunction);let G;for(const E of N){const R=toHash(E,this._hashFunction);$.set(R,E);if(G===undefined&&R===j)G=E}q.set(R,$);if(G===undefined){$.set(j,E);return E}else{return G}}}else{const R=toHash(E,this._hashFunction);const $=N.get(R);if($!==undefined){return $}N.set(R,E);return E}};let G=0;let ie=new Map;const ae=new Set;const stackToString=E=>{const R=Array.from(ae);R.push(E);return R.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:R,name:N}=ObjectMiddleware.getSerializerFor(E);if(R){return`${R}${N?`.${N}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let le;let _e={write(E,R){try{process(E)}catch(R){if(R!==Ue){if(le===undefined)le=new WeakSet;if(!le.has(R)){R.message+=`\nwhile serializing ${stackToString(E)}`;le.add(R)}}throw R}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:N.length,cycleStackSize:ae.size,referenceableSize:j.size,currentPos:$,objectTypeLookupSize:ie.size,currentPosTypeLookup:G}},rollback(E){N.length=E.length;setSetSize(ae,E.cycleStackSize);setMapSize(j,E.referenceableSize);$=E.currentPos;setMapSize(ie,E.objectTypeLookupSize);G=E.currentPosTypeLookup},...R};this.extendContext(_e);const process=E=>{if(Buffer.isBuffer(E)){const R=j.get(E);if(R!==undefined){N.push(Me,R-$);return}const q=dedupeBuffer(E);if(q!==E){const R=j.get(q);if(R!==undefined){j.set(E,R);N.push(Me,R-$);return}E=q}addReferenceable(E);N.push(E)}else if(E===Me){N.push(Me,Ie)}else if(typeof E==="object"){const R=j.get(E);if(R!==undefined){N.push(Me,R-$);return}if(ae.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:q,name:le,serializer:Ee}=ObjectMiddleware.getSerializerFor(E);const we=`${q}/${le}`;const Ie=ie.get(we);if(Ie===undefined){ie.set(we,G++);N.push(Me,q,le)}else{N.push(Me,G-Ie)}ae.add(E);try{Ee.serialize(E,_e)}finally{ae.delete(E)}N.push(Me,Te);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const R=j.get(E);if(R!==undefined){N.push(Me,R-$);return}addReferenceable(E)}if(E.length>102400&&R.logger){R.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}N.push(E)}else if(typeof E==="function"){if(!Ee.isLazy(E))throw new Error("Unexpected function "+E);const $=Ee.getLazySerializedValue(E);if($!==undefined){if(typeof $==="function"){N.push($)}else{throw new Error("Not implemented")}}else if(Ee.isLazy(E,this)){throw new Error("Not implemented")}else{const $=Ee.serializeLazy(E,(E=>this.serialize([E],R)));Ee.setLazySerializedValue(E,$);N.push($)}}else if(E===undefined){N.push(Me,Ne)}else{N.push(E)}};try{for(const R of E){process(R)}return N}catch(E){if(E===Ue)return null;throw E}finally{E=N=j=q=ie=_e=undefined}}deserialize(E,R){let N=0;const read=()=>{if(N>=E.length)throw new Error("Unexpected end of stream");return E[N++]};if(read()!==Be)throw new Error("Version mismatch, serializer changed");let $=0;let j=[];const addReferenceable=E=>{j.push(E);$++};let q=0;let G=[];let ie=[];let ae={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...R};this.extendContext(ae);const decodeValue=()=>{const E=read();if(E===Me){const E=read();if(E===Ie){return Me}else if(E===Ne){return undefined}else if(E===Te){throw new Error(`Unexpected end of object at position ${N-1}`)}else{const R=E;let ie;if(typeof R==="number"){if(R<0){return j[$+R]}ie=G[q-R]}else{if(typeof R!=="string"){throw new Error(`Unexpected type (${typeof R}) of request `+`at position ${N-1}`)}const E=read();ie=ObjectMiddleware._getDeserializerForWithoutError(R,E);if(ie===undefined){if(R&&!ze.has(R)){let E=false;for(const[N,$]of Ge){if(N.test(R)){if($(R)){E=true;break}}}if(!E){require(R)}ze.add(R)}ie=ObjectMiddleware.getDeserializerFor(R,E)}G.push(ie);q++}try{const E=ie.deserialize(ae);const R=read();if(R!==Me){throw new Error("Expected end of object")}const N=read();if(N!==Te){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let R;for(const E of Le){if(E[1].serializer===ie){R=E;break}}const N=!R?"unknown":!R[1].request?R[0].name:R[1].name?`${R[1].request} ${R[1].name}`:R[1].request;E.message+=`\n(during deserialization of ${N})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return Ee.deserializeLazy(E,(E=>this.deserialize(E,R)[0]))}else{return E}};try{while(N{"use strict";const R=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const R=this.children.get(E);if(R!==undefined)return R;const N=new ObjectStructure;this.children.set(E,N);return N}}const getCachedKeys=(E,N)=>{let $=R.get(N);if($===undefined){$=new ObjectStructure;R.set(N,$)}let j=$;for(const R of E){j=j.key(R)}return j.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:R}){const N=Object.keys(E);if(N.length>128){R(N);for(const $ of N){R(E[$])}}else if(N.length>1){R(getCachedKeys(N,R));for(const $ of N){R(E[$])}}else if(N.length===1){const $=N[0];R($);R(E[$])}else{R(null)}}deserialize({read:E}){const R=E();const N={};if(Array.isArray(R)){for(const $ of R){N[$]=E()}}else if(R!==null){N[R]=E()}return N}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:R}){R(E.source);R(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,R){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=R}serialize(E,R){const N={...R,...this.context};let $=E;for(const E of this.serializeMiddlewares){if($&&typeof $.then==="function"){$=$.then((R=>R&&E.serialize(R,N)))}else if($){try{$=E.serialize($,N)}catch(E){$=Promise.reject(E)}}else break}return $}deserialize(E,R){const N={...R,...this.context};let $=E;for(const E of this.deserializeMiddlewares){if($&&typeof $.then==="function"){$=$.then((R=>E.deserialize(R,N)))}else{$=E.deserialize($,N)}}return $}}E.exports=Serializer},43065:(E,R,N)=>{"use strict";const $=N(91671);const j=Symbol("lazy serialization target");const q=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,R){const $=N(75884);throw new $}deserialize(E,R){const $=N(75884);throw new $}static createLazy(E,R,N={},$){if(SerializerMiddleware.isLazy(E,R))return E;const G=typeof E==="function"?E:()=>E;G[j]=R;G.options=N;G[q]=$;return G}static isLazy(E,R){if(typeof E!=="function")return false;const N=E[j];return R?N===R:!!N}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[q]}static setLazySerializedValue(E,R){E[q]=R}static serializeLazy(E,R){const N=$((()=>{const N=E();if(N&&typeof N.then==="function"){return N.then((E=>E&&R(E)))}return R(N)}));N[j]=E[j];N.options=E.options;E[q]=N;return N}static deserializeLazy(E,R){const N=$((()=>{const N=E();if(N&&typeof N.then==="function"){return N.then((E=>R(E)))}return R(N)}));N[j]=E[j];N.options=E.options;N[q]=E;return N}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[q]=SerializerMiddleware.unMemoizeLazy(E[q]);fn[j]=E[j];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:R}){R(E.size);for(const N of E){R(N)}}deserialize({read:E}){let R=E();const N=new Set;for(let $=0;${"use strict";const $=N(43065);class SingleItemMiddleware extends ${serialize(E,R){return[E]}deserialize(E,R){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ConsumeSharedFallbackDependency extends ${constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}j(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(98221);const q=N(53453);const G=N(76150);const ie=N(56202);const{rangeToString:ae,stringifyHoley:le}=N(9293);const _e=N(86827);const Ee=new Set(["consume-shared"]);class ConsumeSharedModule extends q{constructor(E,R){super("consume-shared-module",E);this.options=R}identifier(){const{shareKey:E,shareScope:R,importResolved:N,requiredVersion:$,strictVersion:j,singleton:q,eager:G}=this.options;return`consume-shared-module|${R}|${E}|${$&&ae($)}|${j}|${N}|${q}|${G}`}readableIdentifier(E){const{shareKey:R,shareScope:N,importResolved:$,requiredVersion:j,strictVersion:q,singleton:G,eager:ie}=this.options;return`consume shared module (${N}) ${R}@${j?ae(j):"*"}${q?" (strict)":""}${G?" (singleton)":""}${$?` (fallback: ${E.shorten($)})`:""}${ie?" (eager)":""}`}libIdent(E){const{shareKey:R,shareScope:N,import:$}=this.options;return`webpack/sharing/consume/${N}/${R}${$?`/${$}`:""}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,q){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new _e(this.options.import);if(this.options.eager){this.addDependency(E)}else{const R=new j({});R.addDependency(E);this.addBlock(R)}}q()}getSourceTypes(){return Ee}size(E){return 42}updateHash(E,R){E.update(JSON.stringify(this.options));super.updateHash(E,R)}codeGeneration({chunkGraph:E,moduleGraph:R,runtimeTemplate:N}){const j=new Set([G.shareScopeMap]);const{shareScope:q,shareKey:ie,strictVersion:ae,requiredVersion:_e,import:Ee,singleton:we,eager:Me}=this.options;let Ie;if(Ee){if(Me){const R=this.dependencies[0];Ie=N.syncModuleFactory({dependency:R,chunkGraph:E,runtimeRequirements:j,request:this.options.import})}else{const R=this.blocks[0];Ie=N.asyncModuleFactory({block:R,chunkGraph:E,runtimeRequirements:j,request:this.options.import})}}let Te="load";const Ne=[JSON.stringify(q),JSON.stringify(ie)];if(_e){if(ae){Te+="Strict"}if(we){Te+="Singleton"}Ne.push(le(_e));Te+="VersionCheck"}if(Ie){Te+="Fallback";Ne.push(Ie)}const Be=N.returningFunction(`${Te}(${Ne.join(", ")})`);const Le=new Map;Le.set("consume-shared",new $(Be));return{runtimeRequirements:j,sources:Le}}serialize(E){const{write:R}=E;R(this.options);super.serialize(E)}deserialize(E){const{read:R}=E;this.options=R();super.deserialize(E)}}ie(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,R,N)=>{"use strict";const $=N(54032);const j=N(76150);const q=N(81627);const{parseOptions:G}=N(97264);const ie=N(83379);const ae=N(35817);const{parseRange:le}=N(9293);const _e=N(86827);const Ee=N(21606);const we=N(20428);const Me=N(31095);const{resolveMatchedConfigs:Ie}=N(57870);const{isRequiredVersion:Te,getDescriptionFile:Ne,getRequiredVersionFromDescriptionFile:Be}=N(37650);const Le=ae(N(37411),(()=>N(52021)),{name:"Consume Shared Plugin",baseDataPath:"options"});const je={dependencyType:"esm"};const ze="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Le(E)}this._consumes=G(E.consumes,((R,N)=>{if(Array.isArray(R))throw new Error("Unexpected array in options");let $=R===N||!Te(R)?{import:N,shareScope:E.shareScope||"default",shareKey:N,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:N,shareScope:E.shareScope||"default",shareKey:N,requiredVersion:le(R),strictVersion:true,packageName:undefined,singleton:false,eager:false};return $}),((R,N)=>({import:R.import===false?undefined:R.import||N,shareScope:R.shareScope||E.shareScope||"default",shareKey:R.shareKey||N,requiredVersion:typeof R.requiredVersion==="string"?le(R.requiredVersion):R.requiredVersion,strictVersion:typeof R.strictVersion==="boolean"?R.strictVersion:R.import!==false&&!R.singleton,packageName:R.packageName,singleton:!!R.singleton,eager:!!R.eager})))}apply(E){E.hooks.thisCompilation.tap(ze,((R,{normalModuleFactory:N})=>{R.dependencyFactories.set(_e,N);let G,ae,Te;const Le=Ie(R,this._consumes).then((({resolved:E,unresolved:R,prefixed:N})=>{ae=E;G=R;Te=N}));const Ue=R.resolverFactory.get("normal",je);const createConsumeSharedModule=(N,j,G)=>{const requiredVersionWarning=E=>{const N=new q(`No required version specified and unable to automatically determine one. ${E}`);N.file=`shared module ${j}`;R.warnings.push(N)};const ae=G.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(G.import);return Promise.all([new Promise((q=>{if(!G.import)return q();const le={fileDependencies:new ie,contextDependencies:new ie,missingDependencies:new ie};Ue.resolve({},ae?E.context:N,G.import,le,((E,N)=>{R.contextDependencies.addAll(le.contextDependencies);R.fileDependencies.addAll(le.fileDependencies);R.missingDependencies.addAll(le.missingDependencies);if(E){R.errors.push(new $(null,E,{name:`resolving fallback for shared module ${j}`}));return q()}q(N)}))})),new Promise((E=>{if(G.requiredVersion!==undefined)return E(G.requiredVersion);let $=G.packageName;if($===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(j)){return E()}const R=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(j);if(!R){requiredVersionWarning("Unable to extract the package name from request.");return E()}$=R[0]}Ne(R.inputFileSystem,N,["package.json"],((R,j)=>{if(R){requiredVersionWarning(`Unable to read description file: ${R}`);return E()}const{data:q,path:G}=j;if(!q){requiredVersionWarning(`Unable to find description file in ${N}.`);return E()}const ie=Be(q,$);if(typeof ie!=="string"){requiredVersionWarning(`Unable to find required version for "${$}" in description file (${G}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(le(ie))}))}))]).then((([R,$])=>new Ee(ae?E.context:N,{...G,importResolved:R,import:R?G.import:undefined,requiredVersion:$})))};N.hooks.factorize.tapPromise(ze,(({context:E,request:R,dependencies:N})=>Le.then((()=>{if(N[0]instanceof _e||N[0]instanceof Me){return}const $=G.get(R);if($!==undefined){return createConsumeSharedModule(E,R,$)}for(const[N,$]of Te){if(R.startsWith(N)){const j=R.slice(N.length);return createConsumeSharedModule(E,R,{...$,import:$.import?$.import+j:undefined,shareKey:$.shareKey+j})}}}))));N.hooks.createModule.tapPromise(ze,(({resource:E},{context:R,dependencies:N})=>{if(N[0]instanceof _e||N[0]instanceof Me){return Promise.resolve()}const $=ae.get(E);if($!==undefined){return createConsumeSharedModule(R,E,$)}return Promise.resolve()}));R.hooks.additionalTreeRuntimeRequirements.tap(ze,((E,N)=>{N.add(j.module);N.add(j.moduleCache);N.add(j.moduleFactoriesAddOnly);N.add(j.shareScopeMap);N.add(j.initializeSharing);N.add(j.hasOwnProperty);R.addRuntimeModule(E,new we(N))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{parseVersionRuntimeCode:G,versionLtRuntimeCode:ie,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:le}=N(9293);class ConsumeSharedRuntimeModule extends j{constructor(E){super("consumes",j.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,codeGenerationResults:j}=E;const _e={};const Ee=new Map;const we=[];const addModules=(E,N,$)=>{for(const q of E){const E=q;const G=R.getModuleId(E);$.push(G);Ee.set(G,j.getSource(E,N.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const N=R.getChunkModulesIterableBySourceType(E,"consume-shared");if(!N)continue;addModules(N,E,_e[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const N=R.getChunkModulesIterableBySourceType(E,"consume-shared");if(!N)continue;addModules(N,E,we)}if(Ee.size===0)return null;return q.asString([G(N),ie(N),ae(N),le(N),`var ensureExistence = ${N.basicFunction("scopeName, key",[`var scope = ${$.shareScopeMap}[scopeName];`,`if(!scope || !${$.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${N.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${N.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${N.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${N.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${N.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${N.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${N.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${N.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${N.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${N.returningFunction(q.asString(["function(scopeName, a, b, c) {",q.indent([`var promise = ${$.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${$.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${$.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, fallback",[`return scope && ${$.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${$.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",q.indent(Array.from(Ee,(([E,R])=>`${JSON.stringify(E)}: ${R.source()}`)).join(",\n")),"};",we.length>0?q.asString([`var initialConsumes = ${JSON.stringify(we)};`,`initialConsumes.forEach(${N.basicFunction("id",[`${$.moduleFactories}[id] = ${N.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${$.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has($.ensureChunkHandlers)?q.asString([`var chunkMapping = ${JSON.stringify(_e,null,"\t")};`,`${$.ensureChunkHandlers}.consumes = ${N.basicFunction("chunkId, promises",[`if(${$.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${N.basicFunction("id",[`if(${$.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${N.basicFunction("factory",["installedModules[id] = 0;",`${$.moduleFactories}[id] = ${N.basicFunction("module",[`delete ${$.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${N.basicFunction("error",["delete installedModules[id];",`${$.moduleFactories}[id] = ${N.basicFunction("module",[`delete ${$.moduleCache}[id];`,"throw error;"])}`])};`,"try {",q.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",q.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ProvideForSharedDependency extends ${constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}j(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class ProvideSharedDependency extends ${constructor(E,R,N,$,j){super();this.shareScope=E;this.name=R;this.version=N;this.request=$;this.eager=j}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ProvideSharedDependency(R(),R(),R(),R(),R());this.shareScope=E.read();N.deserialize(E);return N}}j(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,R,N)=>{"use strict";const $=N(98221);const j=N(53453);const q=N(76150);const G=N(56202);const ie=N(31095);const ae=new Set(["share-init"]);class ProvideSharedModule extends j{constructor(E,R,N,$,j){super("provide-module");this._shareScope=E;this._name=R;this._version=N;this._request=$;this._eager=j}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,j,q){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const G=new ie(this._request);if(this._eager){this.addDependency(G)}else{const E=new $({});E.addDependency(G);this.addBlock(E)}q()}size(E){return 42}getSourceTypes(){return ae}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const $=new Set([q.initializeSharing]);const j=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:N,request:this._request,runtimeRequirements:$}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:N,request:this._request,runtimeRequirements:$})}${this._eager?", 1":""});`;const G=new Map;const ie=new Map;ie.set("share-init",[{shareScope:this._shareScope,initStage:10,init:j}]);return{sources:G,data:ie,runtimeRequirements:$}}serialize(E){const{write:R}=E;R(this._shareScope);R(this._name);R(this._version);R(this._request);R(this._eager);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ProvideSharedModule(R(),R(),R(),R(),R());N.deserialize(E);return N}}G(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,R,N)=>{"use strict";const $=N(40674);const j=N(99114);class ProvideSharedModuleFactory extends ${create(E,R){const N=E.dependencies[0];R(null,{module:new j(N.shareScope,N.name,N.version,N.request,N.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,R,N)=>{"use strict";const $=N(81627);const{parseOptions:j}=N(97264);const q=N(35817);const G=N(31095);const ie=N(56049);const ae=N(96295);const le=q(N(95435),(()=>N(97295)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){le(E);this._provides=j(E.provides,(R=>{if(Array.isArray(R))throw new Error("Unexpected array of provides");const N={shareKey:R,version:undefined,shareScope:E.shareScope||"default",eager:false};return N}),(R=>({shareKey:R.shareKey,version:R.version,shareScope:R.shareScope||E.shareScope||"default",eager:!!R.eager})));this._provides.sort((([E],[R])=>{if(E{const j=new Map;const q=new Map;const G=new Map;for(const[E,R]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){j.set(E,{config:R,version:R.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){j.set(E,{config:R,version:R.version})}else if(E.endsWith("/")){G.set(E,R)}else{q.set(E,R)}}R.set(E,j);const provideSharedModule=(R,N,q,G)=>{let ie=N.version;if(ie===undefined){let N="";if(!G){N=`No resolve data provided from resolver.`}else{const E=G.descriptionFileData;if(!E){N="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){N="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ie=E.version}}if(!ie){const j=new $(`No version specified and unable to automatically determine one. ${N}`);j.file=`shared module ${R} -> ${q}`;E.warnings.push(j)}}j.set(q,{config:N,version:ie})};N.hooks.module.tap("ProvideSharedPlugin",((E,{resource:R,resourceResolveData:N},$)=>{if(j.has(R)){return E}const{request:ie}=$;{const E=q.get(ie);if(E!==undefined){provideSharedModule(ie,E,R,N);$.cacheable=false}}for(const[E,j]of G){if(ie.startsWith(E)){const q=ie.slice(E.length);provideSharedModule(R,{...j,shareKey:j.shareKey+q},R,N);$.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(N=>{const $=R.get(N);if(!$)return Promise.resolve();return Promise.all(Array.from($,(([R,{config:$,version:j}])=>new Promise(((q,G)=>{N.addInclude(E.context,new ie($.shareScope,$.shareKey,j||false,R,$.eager),{name:undefined},(E=>{if(E)return G(E);q()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(G,R);E.dependencyFactories.set(ie,new ae)}))}}E.exports=ProvideSharedPlugin},16471:(E,R,N)=>{"use strict";const{parseOptions:$}=N(97264);const j=N(71968);const q=N(48151);const{isRequiredVersion:G}=N(37650);class SharePlugin{constructor(E){const R=$(E.shared,((E,R)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const N=E===R||!G(E)?{import:E}:{import:R,requiredVersion:E};return N}),(E=>E));const N=R.map((([E,R])=>({[E]:{import:R.import,shareKey:R.shareKey||E,shareScope:R.shareScope,requiredVersion:R.requiredVersion,strictVersion:R.strictVersion,singleton:R.singleton,packageName:R.packageName,eager:R.eager}})));const j=R.filter((([,E])=>E.import!==false)).map((([E,R])=>({[R.import||E]:{shareKey:R.shareKey||E,shareScope:R.shareScope,version:R.version,eager:R.eager}})));this._shareScope=E.shareScope;this._consumes=N;this._provides=j}apply(E){new j({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new q({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{compareModulesByIdentifier:G,compareStrings:ie}=N(68673);class ShareRuntimeModule extends j{constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,codeGenerationResults:j,outputOptions:{uniqueName:ae}}=E;const le=new Map;for(const E of this.chunk.getAllReferencedChunks()){const N=R.getOrderedChunkModulesIterableBySourceType(E,"share-init",G);if(!N)continue;for(const R of N){const N=j.getData(R,E.runtime,"share-init");if(!N)continue;for(const E of N){const{shareScope:R,initStage:N,init:$}=E;let j=le.get(R);if(j===undefined){le.set(R,j=new Map)}let q=j.get(N||0);if(q===undefined){j.set(N||0,q=new Set)}q.add($)}}}return q.asString([`${$.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${$.initializeSharing} = ${N.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${$.hasOwnProperty}(${$.shareScopeMap}, name)) ${$.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${$.shareScopeMap}[name];`,`var warn = ${N.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${N.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${N.basicFunction("id",[`var handleError = ${N.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",q.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${N.returningFunction(`module && module.init && module.init(${$.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(le).sort((([E],[R])=>ie(E,R))).map((([E,R])=>q.indent([`case ${JSON.stringify(E)}: {`,q.indent(Array.from(R).sort((([E],[R])=>E-R)).map((([,E])=>q.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${N.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,R,N)=>{"use strict";const $=N(54032);const j=N(83379);const q={dependencyType:"esm"};R.resolveMatchedConfigs=(E,R)=>{const N=new Map;const G=new Map;const ie=new Map;const ae={fileDependencies:new j,contextDependencies:new j,missingDependencies:new j};const le=E.resolverFactory.get("normal",q);const _e=E.compiler.context;return Promise.all(R.map((([R,j])=>{if(/^\.\.?(\/|$)/.test(R)){return new Promise((q=>{le.resolve({},_e,R,ae,((G,ie)=>{if(G||ie===false){G=G||new Error(`Can't resolve ${R}`);E.errors.push(new $(null,G,{name:`shared module ${R}`}));return q()}N.set(ie,j);q()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(R)){N.set(R,j)}else if(R.endsWith("/")){ie.set(R,j)}else{G.set(R,j)}}))).then((()=>{E.contextDependencies.addAll(ae.contextDependencies);E.fileDependencies.addAll(ae.fileDependencies);E.missingDependencies.addAll(ae.missingDependencies);return{resolved:N,unresolved:G,prefixed:ie}}))}},37650:(E,R,N)=>{"use strict";const{join:$,dirname:j,readJson:q}=N(95396);R.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,R,N,G)=>{let ie=0;const tryLoadCurrent=()=>{if(ie>=N.length){const $=j(E,R);if(!$||$===R)return G();return getDescriptionFile(E,$,N,G)}const ae=$(E,R,N[ie]);q(E,ae,((E,R)=>{if(E){if("code"in E&&E.code==="ENOENT"){ie++;return tryLoadCurrent()}return G(E)}if(!R||typeof R!=="object"||Array.isArray(R)){return G(new Error(`Description file ${ae} is not an object`))}G(null,{data:R,path:ae})}))};tryLoadCurrent()};R.getDescriptionFile=getDescriptionFile;R.getRequiredVersionFromDescriptionFile=(E,R)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&R in E.optionalDependencies){return E.optionalDependencies[R]}if(E.dependencies&&typeof E.dependencies==="object"&&R in E.dependencies){return E.dependencies[R]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&R in E.peerDependencies){return E.peerDependencies[R]}if(E.devDependencies&&typeof E.devDependencies==="object"&&R in E.devDependencies){return E.devDependencies[R]}}},9054:(E,R,N)=>{"use strict";const $=N(73837);const j=N(79983);const q=N(72380);const{LogType:G}=N(78539);const ie=N(94827);const ae=N(20625);const{countIterable:le}=N(11539);const{compareLocations:_e,compareChunksById:Ee,compareNumbers:we,compareIds:Me,concatComparators:Ie,compareSelect:Te,compareModulesByIdentifier:Ne}=N(68673);const{makePathsRelative:Be,parseResource:Le}=N(49197);const uniqueArray=(E,R)=>{const N=new Set;for(const $ of E){for(const E of R($)){N.add(E)}}return Array.from(N)};const uniqueOrderedArray=(E,R,N)=>uniqueArray(E,R).sort(N);const mapObject=(E,R)=>{const N=Object.create(null);for(const $ of Object.keys(E)){N[$]=R(E[$],$)}return N};const countWithChildren=(E,R)=>{let N=R(E,"").length;for(const $ of E.children){N+=countWithChildren($,((E,N)=>R(E,`.children[].compilation${N}`)))}return N};const je={_:(E,R,N,{requestShortener:$})=>{if(typeof R==="string"){E.message=R}else{if(R.chunk){E.chunkName=R.chunk.name;E.chunkEntry=R.chunk.hasRuntime();E.chunkInitial=R.chunk.canBeInitial()}if(R.file){E.file=R.file}if(R.module){E.moduleIdentifier=R.module.identifier();E.moduleName=R.module.readableIdentifier($)}if(R.loc){E.loc=q(R.loc)}E.message=R.message}},ids:(E,R,{compilation:{chunkGraph:N}})=>{if(typeof R!=="string"){if(R.chunk){E.chunkId=R.chunk.id}if(R.module){E.moduleId=N.getModuleId(R.module)}}},moduleTrace:(E,R,N,$,j)=>{if(typeof R!=="string"&&R.module){const{type:$,compilation:{moduleGraph:q}}=N;const G=new Set;const ie=[];let ae=R.module;while(ae){if(G.has(ae))break;G.add(ae);const E=q.getIssuer(ae);if(!E)break;ie.push({origin:E,module:ae});ae=E}E.moduleTrace=j.create(`${$}.moduleTrace`,ie,N)}},errorDetails:(E,R,{type:N,compilation:$,cachedGetErrors:j,cachedGetWarnings:q},{errorDetails:G})=>{if(typeof R!=="string"&&(G===true||N.endsWith(".error")&&j($).length<3)){E.details=R.details}},errorStack:(E,R)=>{if(typeof R!=="string"){E.stack=R.stack}}};const ze={compilation:{_:(E,R,$,j)=>{if(!$.makePathsRelative){$.makePathsRelative=Be.bindContextCache(R.compiler.context,R.compiler.root)}if(!$.cachedGetErrors){const E=new WeakMap;$.cachedGetErrors=R=>E.get(R)||(N=>(E.set(R,N),N))(R.getErrors())}if(!$.cachedGetWarnings){const E=new WeakMap;$.cachedGetWarnings=R=>E.get(R)||(N=>(E.set(R,N),N))(R.getWarnings())}if(R.name){E.name=R.name}if(R.needAdditionalPass){E.needAdditionalPass=true}const{logging:q,loggingDebug:ie,loggingTrace:ae}=j;if(q||ie&&ie.length>0){const $=N(73837);E.logging={};let le;let _e=false;switch(q){default:le=new Set;break;case"error":le=new Set([G.error]);break;case"warn":le=new Set([G.error,G.warn]);break;case"info":le=new Set([G.error,G.warn,G.info]);break;case"log":le=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.clear]);break;case"verbose":le=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.profile,G.profileEnd,G.time,G.status,G.clear]);_e=true;break}const Ee=Be.bindContextCache(j.context,R.compiler.root);let we=0;for(const[N,j]of R.logging){const R=ie.some((E=>E(N)));if(q===false&&!R)continue;const Me=[];const Ie=[];let Te=Ie;let Ne=0;for(const E of j){let N=E.type;if(!R&&!le.has(N))continue;if(N===G.groupCollapsed&&(R||_e))N=G.group;if(we===0){Ne++}if(N===G.groupEnd){Me.pop();if(Me.length>0){Te=Me[Me.length-1].children}else{Te=Ie}if(we>0)we--;continue}let j=undefined;if(E.type===G.time){j=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){j=$.format(E.args[0],...E.args.slice(1))}const q={...E,type:N,message:j,trace:ae?E.trace:undefined,children:N===G.group||N===G.groupCollapsed?[]:undefined};Te.push(q);if(q.children){Me.push(q);Te=q.children;if(we>0){we++}else if(N===G.groupCollapsed){we=1}}}let Be=Ee(N).replace(/\|/g," ");if(Be in E.logging){let R=1;while(`${Be}#${R}`in E.logging){R++}Be=`${Be}#${R}`}E.logging[Be]={entries:Ie,filteredEntries:j.length-Ne,debug:R}}}},hash:(E,R)=>{E.hash=R.hash},version:E=>{E.version=N(37589).i8},env:(E,R,N,{_env:$})=>{E.env=$},timings:(E,R)=>{E.time=R.endTime-R.startTime},builtAt:(E,R)=>{E.builtAt=R.endTime},publicPath:(E,R)=>{E.publicPath=R.getPath(R.outputOptions.publicPath)},outputPath:(E,R)=>{E.outputPath=R.outputOptions.path},assets:(E,R,N,$,j)=>{const{type:q}=N;const G=new Map;const ie=new Map;for(const E of R.chunks){for(const R of E.files){let N=G.get(R);if(N===undefined){N=[];G.set(R,N)}N.push(E)}for(const R of E.auxiliaryFiles){let N=ie.get(R);if(N===undefined){N=[];ie.set(R,N)}N.push(E)}}const ae=new Map;const le=new Set;for(const E of R.getAssets()){const R={...E,type:"asset",related:undefined};le.add(R);ae.set(E.name,R)}for(const E of ae.values()){const R=E.info.related;if(!R)continue;for(const N of Object.keys(R)){const $=R[N];const j=Array.isArray($)?$:[$];for(const R of j){const $=ae.get(R);if(!$)continue;le.delete($);$.type=N;E.related=E.related||[];E.related.push($)}}}E.assetsByChunkName={};for(const[R,N]of G){for(const $ of N){const N=$.name;if(!N)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,N)){E.assetsByChunkName[N]=[]}E.assetsByChunkName[N].push(R)}}const _e=j.create(`${q}.assets`,Array.from(le),{...N,compilationFileToChunks:G,compilationAuxiliaryFileToChunks:ie});const Ee=spaceLimited(_e,$.assetsSpace);E.assets=Ee.children;E.filteredAssets=Ee.filteredChildren},chunks:(E,R,N,$,j)=>{const{type:q}=N;E.chunks=j.create(`${q}.chunks`,Array.from(R.chunks),N)},modules:(E,R,N,$,j)=>{const{type:q}=N;const G=Array.from(R.modules);const ie=j.create(`${q}.modules`,G,N);const ae=spaceLimited(ie,$.modulesSpace);E.modules=ae.children;E.filteredModules=ae.filteredChildren},entrypoints:(E,R,N,{entrypoints:$,chunkGroups:j,chunkGroupAuxiliary:q,chunkGroupChildren:G},ie)=>{const{type:ae}=N;const le=Array.from(R.entrypoints,(([E,R])=>({name:E,chunkGroup:R})));if($==="auto"&&!j){if(le.length>5)return;if(!G&&le.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const R=E.chunks[0];return R.files.size===1&&(!q||R.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ie.create(`${ae}.entrypoints`,le,N)},chunkGroups:(E,R,N,$,j)=>{const{type:q}=N;const G=Array.from(R.namedChunkGroups,(([E,R])=>({name:E,chunkGroup:R})));E.namedChunkGroups=j.create(`${q}.namedChunkGroups`,G,N)},errors:(E,R,N,$,j)=>{const{type:q,cachedGetErrors:G}=N;E.errors=j.create(`${q}.errors`,G(R),N)},errorsCount:(E,R,{cachedGetErrors:N})=>{E.errorsCount=countWithChildren(R,(E=>N(E)))},warnings:(E,R,N,$,j)=>{const{type:q,cachedGetWarnings:G}=N;E.warnings=j.create(`${q}.warnings`,G(R),N)},warningsCount:(E,R,N,{warningsFilter:$},j)=>{const{type:q,cachedGetWarnings:G}=N;E.warningsCount=countWithChildren(R,((E,R)=>{if(!$&&$.length===0)return G(E);return j.create(`${q}${R}.warnings`,G(E),N).filter((E=>{const R=Object.keys(E).map((R=>`${E[R]}`)).join("\n");return!$.some((N=>N(E,R)))}))}))},errorDetails:(E,R,{cachedGetErrors:N,cachedGetWarnings:$},{errorDetails:j,errors:q,warnings:G})=>{if(j==="auto"){if(G){const N=$(R);E.filteredWarningDetailsCount=N.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(q){const $=N(R);if($.length>=3){E.filteredErrorDetailsCount=$.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,R,N,$,j)=>{const{type:q}=N;E.children=j.create(`${q}.children`,R.children,N)}},asset:{_:(E,R,N,$,j)=>{const{compilation:q}=N;E.type=R.type;E.name=R.name;E.size=R.source.size();E.emitted=q.emittedAssets.has(R.name);E.comparedForEmit=q.comparedForEmitAssets.has(R.name);const G=!E.emitted&&!E.comparedForEmit;E.cached=G;E.info=R.info;if(!G||$.cachedAssets){Object.assign(E,j.create(`${N.type}$visible`,R,N))}}},asset$visible:{_:(E,R,{compilation:N,compilationFileToChunks:$,compilationAuxiliaryFileToChunks:j})=>{const q=$.get(R.name)||[];const G=j.get(R.name)||[];E.chunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Me);E.chunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Me);E.auxiliaryChunkNames=uniqueOrderedArray(G,(E=>E.name?[E.name]:[]),Me);E.auxiliaryChunkIdHints=uniqueOrderedArray(G,(E=>Array.from(E.idNameHints)),Me);E.filteredRelated=R.related?R.related.length:undefined},relatedAssets:(E,R,N,$,j)=>{const{type:q}=N;E.related=j.create(`${q.slice(0,-8)}.related`,R.related,N);E.filteredRelated=R.related?R.related.length-E.related.length:undefined},ids:(E,R,{compilationFileToChunks:N,compilationAuxiliaryFileToChunks:$})=>{const j=N.get(R.name)||[];const q=$.get(R.name)||[];E.chunks=uniqueOrderedArray(j,(E=>E.ids),Me);E.auxiliaryChunks=uniqueOrderedArray(q,(E=>E.ids),Me)},performance:(E,R)=>{E.isOverSizeLimit=ae.isOverSizeLimit(R.source)}},chunkGroup:{_:(E,{name:R,chunkGroup:N},{compilation:$,compilation:{moduleGraph:j,chunkGraph:q}},{ids:G,chunkGroupAuxiliary:ie,chunkGroupChildren:ae,chunkGroupMaxAssets:le})=>{const _e=ae&&N.getChildrenByOrders(j,q);const toAsset=E=>{const R=$.getAsset(E);return{name:E,size:R?R.info.size:-1}};const sizeReducer=(E,{size:R})=>E+R;const Ee=uniqueArray(N.chunks,(E=>E.files)).map(toAsset);const we=uniqueOrderedArray(N.chunks,(E=>E.auxiliaryFiles),Me).map(toAsset);const Ie=Ee.reduce(sizeReducer,0);const Te=we.reduce(sizeReducer,0);const Ne={name:R,chunks:G?N.chunks.map((E=>E.id)):undefined,assets:Ee.length<=le?Ee:undefined,filteredAssets:Ee.length<=le?0:Ee.length,assetsSize:Ie,auxiliaryAssets:ie&&we.length<=le?we:undefined,filteredAuxiliaryAssets:ie&&we.length<=le?0:we.length,auxiliaryAssetsSize:Te,children:_e?mapObject(_e,(E=>E.map((E=>{const R=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const N=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Me).map(toAsset);const $={name:E.name,chunks:G?E.chunks.map((E=>E.id)):undefined,assets:R.length<=le?R:undefined,filteredAssets:R.length<=le?0:R.length,auxiliaryAssets:ie&&N.length<=le?N:undefined,filteredAuxiliaryAssets:ie&&N.length<=le?0:N.length};return $})))):undefined,childAssets:_e?mapObject(_e,(E=>{const R=new Set;for(const N of E){for(const E of N.chunks){for(const N of E.files){R.add(N)}}}return Array.from(R)})):undefined};Object.assign(E,Ne)},performance:(E,{chunkGroup:R})=>{E.isOverSizeLimit=ae.isOverSizeLimit(R)}},module:{_:(E,R,N,$,j)=>{const{compilation:q,type:G}=N;const ie=q.builtModules.has(R);const ae=q.codeGeneratedModules.has(R);const le=q.buildTimeExecutedModules.has(R);const _e={};for(const E of R.getSourceTypes()){_e[E]=R.size(E)}const Ee={type:"module",moduleType:R.type,layer:R.layer,size:R.size(),sizes:_e,built:ie,codeGenerated:ae,buildTimeExecuted:le,cached:!ie&&!ae};Object.assign(E,Ee);if(ie||ae||$.cachedModules){Object.assign(E,j.create(`${G}$visible`,R,N))}}},module$visible:{_:(E,R,N,{requestShortener:$},j)=>{const{compilation:q,type:G,rootModules:ie}=N;const{moduleGraph:ae}=q;const _e=[];const Ee=ae.getIssuer(R);let we=Ee;while(we){_e.push(we);we=ae.getIssuer(we)}_e.reverse();const Me=ae.getProfile(R);const Ie=R.getErrors();const Te=Ie!==undefined?le(Ie):0;const Ne=R.getWarnings();const Be=Ne!==undefined?le(Ne):0;const Le={};for(const E of R.getSourceTypes()){Le[E]=R.size(E)}const je={identifier:R.identifier(),name:R.readableIdentifier($),nameForCondition:R.nameForCondition(),index:ae.getPreOrderIndex(R),preOrderIndex:ae.getPreOrderIndex(R),index2:ae.getPostOrderIndex(R),postOrderIndex:ae.getPostOrderIndex(R),cacheable:R.buildInfo.cacheable,optional:R.isOptional(ae),orphan:!G.endsWith("module.modules[].module$visible")&&q.chunkGraph.getNumberOfModuleChunks(R)===0,dependent:ie?!ie.has(R):undefined,issuer:Ee&&Ee.identifier(),issuerName:Ee&&Ee.readableIdentifier($),issuerPath:Ee&&j.create(`${G.slice(0,-8)}.issuerPath`,_e,N),failed:Te>0,errors:Te,warnings:Be};Object.assign(E,je);if(Me){E.profile=j.create(`${G.slice(0,-8)}.profile`,Me,N)}},ids:(E,R,{compilation:{chunkGraph:N,moduleGraph:$}})=>{E.id=N.getModuleId(R);const j=$.getIssuer(R);E.issuerId=j&&N.getModuleId(j);E.chunks=Array.from(N.getOrderedModuleChunksIterable(R,Ee),(E=>E.id))},moduleAssets:(E,R)=>{E.assets=R.buildInfo.assets?Object.keys(R.buildInfo.assets):[]},reasons:(E,R,N,$,j)=>{const{type:q,compilation:{moduleGraph:G}}=N;const ie=j.create(`${q.slice(0,-8)}.reasons`,Array.from(G.getIncomingConnections(R)),N);const ae=spaceLimited(ie,$.reasonsSpace);E.reasons=ae.children;E.filteredReasons=ae.filteredChildren},usedExports:(E,R,{runtime:N,compilation:{moduleGraph:$}})=>{const j=$.getUsedExports(R,N);if(j===null){E.usedExports=null}else if(typeof j==="boolean"){E.usedExports=j}else{E.usedExports=Array.from(j)}},providedExports:(E,R,{compilation:{moduleGraph:N}})=>{const $=N.getProvidedExports(R);E.providedExports=Array.isArray($)?$:null},optimizationBailout:(E,R,{compilation:{moduleGraph:N}},{requestShortener:$})=>{E.optimizationBailout=N.getOptimizationBailout(R).map((E=>{if(typeof E==="function")return E($);return E}))},depth:(E,R,{compilation:{moduleGraph:N}})=>{E.depth=N.getDepth(R)},nestedModules:(E,R,N,$,j)=>{const{type:q}=N;const G=R.modules;if(Array.isArray(G)){const R=j.create(`${q.slice(0,-8)}.modules`,G,N);const ie=spaceLimited(R,$.nestedModulesSpace);E.modules=ie.children;E.filteredModules=ie.filteredChildren}},source:(E,R)=>{const N=R.originalSource();if(N){E.source=N.source()}}},profile:{_:(E,R)=>{const N={total:R.factory+R.restoring+R.integration+R.building+R.storing,resolving:R.factory,restoring:R.restoring,building:R.building,integration:R.integration,storing:R.storing,additionalResolving:R.additionalFactories,additionalIntegration:R.additionalIntegration,factory:R.factory,dependencies:R.additionalFactories};Object.assign(E,N)}},moduleIssuer:{_:(E,R,N,{requestShortener:$},j)=>{const{compilation:q,type:G}=N;const{moduleGraph:ie}=q;const ae=ie.getProfile(R);const le={identifier:R.identifier(),name:R.readableIdentifier($)};Object.assign(E,le);if(ae){E.profile=j.create(`${G}.profile`,ae,N)}},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.id=N.getModuleId(R)}},moduleReason:{_:(E,R,{runtime:N},{requestShortener:$})=>{const G=R.dependency;const ie=G&&G instanceof j?G:undefined;const ae={moduleIdentifier:R.originModule?R.originModule.identifier():null,module:R.originModule?R.originModule.readableIdentifier($):null,moduleName:R.originModule?R.originModule.readableIdentifier($):null,resolvedModuleIdentifier:R.resolvedOriginModule?R.resolvedOriginModule.identifier():null,resolvedModule:R.resolvedOriginModule?R.resolvedOriginModule.readableIdentifier($):null,type:R.dependency?R.dependency.type:null,active:R.isActive(N),explanation:R.explanation,userRequest:ie&&ie.userRequest||null};Object.assign(E,ae);if(R.dependency){const N=q(R.dependency.loc);if(N){E.loc=N}}},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.moduleId=R.originModule?N.getModuleId(R.originModule):null;E.resolvedModuleId=R.resolvedOriginModule?N.getModuleId(R.resolvedOriginModule):null}},chunk:{_:(E,R,{makePathsRelative:N,compilation:{chunkGraph:$}})=>{const j=R.getChildIdsByOrders($);const q={rendered:R.rendered,initial:R.canBeInitial(),entry:R.hasRuntime(),recorded:ie.wasChunkRecorded(R),reason:R.chunkReason,size:$.getChunkModulesSize(R),sizes:$.getChunkModulesSizes(R),names:R.name?[R.name]:[],idHints:Array.from(R.idNameHints),runtime:R.runtime===undefined?undefined:typeof R.runtime==="string"?[N(R.runtime)]:Array.from(R.runtime.sort(),N),files:Array.from(R.files),auxiliaryFiles:Array.from(R.auxiliaryFiles).sort(Me),hash:R.renderedHash,childrenByOrder:j};Object.assign(E,q)},ids:(E,R)=>{E.id=R.id},chunkRelations:(E,R,{compilation:{chunkGraph:N}})=>{const $=new Set;const j=new Set;const q=new Set;for(const E of R.groupsIterable){for(const R of E.parentsIterable){for(const E of R.chunks){$.add(E.id)}}for(const R of E.childrenIterable){for(const E of R.chunks){j.add(E.id)}}for(const N of E.chunks){if(N!==R)q.add(N.id)}}E.siblings=Array.from(q).sort(Me);E.parents=Array.from($).sort(Me);E.children=Array.from(j).sort(Me)},chunkModules:(E,R,N,$,j)=>{const{type:q,compilation:{chunkGraph:G}}=N;const ie=G.getChunkModules(R);const ae=j.create(`${q}.modules`,ie,{...N,runtime:R.runtime,rootModules:new Set(G.getChunkRootModules(R))});const le=spaceLimited(ae,$.chunkModulesSpace);E.modules=le.children;E.filteredModules=le.filteredChildren},chunkOrigins:(E,R,N,$,j)=>{const{type:G,compilation:{chunkGraph:ie}}=N;const ae=new Set;const le=[];for(const E of R.groupsIterable){le.push(...E.origins)}const _e=le.filter((E=>{const R=[E.module?ie.getModuleId(E.module):undefined,q(E.loc),E.request].join();if(ae.has(R))return false;ae.add(R);return true}));E.origins=j.create(`${G}.origins`,_e,N)}},chunkOrigin:{_:(E,R,N,{requestShortener:$})=>{const j={module:R.module?R.module.identifier():"",moduleIdentifier:R.module?R.module.identifier():"",moduleName:R.module?R.module.readableIdentifier($):"",loc:q(R.loc),request:R.request};Object.assign(E,j)},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.moduleId=R.module?N.getModuleId(R.module):undefined}},error:je,warning:je,moduleTraceItem:{_:(E,{origin:R,module:N},$,{requestShortener:j},q)=>{const{type:G,compilation:{moduleGraph:ie}}=$;E.originIdentifier=R.identifier();E.originName=R.readableIdentifier(j);E.moduleIdentifier=N.identifier();E.moduleName=N.readableIdentifier(j);const ae=Array.from(ie.getIncomingConnections(N)).filter((E=>E.resolvedOriginModule===R&&E.dependency)).map((E=>E.dependency));E.dependencies=q.create(`${G}.dependencies`,Array.from(new Set(ae)),$)},ids:(E,{origin:R,module:N},{compilation:{chunkGraph:$}})=>{E.originId=$.getModuleId(R);E.moduleId=$.getModuleId(N)}},moduleTraceDependency:{_:(E,R)=>{E.loc=q(R.loc)}}};const Ue={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:R}})=>{if(E.originModule&&R.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const qe={"compilation.warnings":{warningsFilter:$.deprecate(((E,R,{warningsFilter:N})=>{const $=Object.keys(E).map((R=>`${E[R]}`)).join("\n");return!N.some((R=>R(E,$)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const Ge={_:(E,{compilation:{moduleGraph:R}})=>{E.push(Te((E=>R.getDepth(E)),we),Te((E=>R.getPreOrderIndex(E)),we),Te((E=>E.identifier()),Me))}};const He={"compilation.chunks":{_:E=>{E.push(Te((E=>E.id),Me))}},"compilation.modules":Ge,"chunk.rootModules":Ge,"chunk.modules":Ge,"module.modules":Ge,"module.reasons":{_:(E,{compilation:{chunkGraph:R}})=>{E.push(Te((E=>E.originModule),Ne));E.push(Te((E=>E.resolvedOriginModule),Ne));E.push(Te((E=>E.dependency),Ie(Te((E=>E.loc),_e),Te((E=>E.type),Me))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:R}})=>{E.push(Te((E=>E.module?R.getModuleId(E.module):undefined),Me),Te((E=>q(E.loc)),Me),Te((E=>E.request),Me))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let R=0;for(const N of E){R+=getItemSize(N)}return R};const getTotalItems=E=>{let R=0;for(const N of E){if(!N.children&&!N.filteredChildren){R++}else{if(N.children)R+=getTotalItems(N.children);if(N.filteredChildren)R+=N.filteredChildren}}return R};const collapse=E=>{const R=[];for(const N of E){if(N.children){let E=N.filteredChildren||0;E+=getTotalItems(N.children);R.push({...N,children:undefined,filteredChildren:E})}else{R.push(N)}}return R};const spaceLimited=(E,R)=>{let N=undefined;let $=undefined;const j=E.filter((E=>E.children||E.filteredChildren));const q=j.map((E=>getItemSize(E)));const G=E.filter((E=>!E.children&&!E.filteredChildren));let ie=q.reduce(((E,R)=>E+R),0);if(ie+G.length<=R){N=j.concat(G)}else if(j.length>0&&j.length+Math.min(1,G.length)R){const E=G.length+ie+($?1:0)-R;const N=Math.max(...q);if(N0&&j.length+Math.min(1,G.length)<=R){N=j.length?collapse(j):undefined;$=G.length}else{$=getTotalItems(E)}return{children:N,filteredChildren:$}};const assetGroup=(E,R)=>{let N=0;for(const R of E){N+=R.size}return{size:N}};const moduleGroup=(E,R)=>{let N=0;const $={};for(const R of E){N+=R.size;for(const E of Object.keys(R.sizes)){$[E]=($[E]||0)+R.sizes[E]}}return{size:N,sizes:$}};const reasonGroup=(E,R)=>{let N=false;for(const R of E){N=N||R.active}return{active:N}};const We={_:(E,R,N)=>{const groupByFlag=(R,N)=>{E.push({getKeys:E=>E[R]?["1"]:undefined,getOptions:()=>({groupChildren:!N,force:N}),createGroup:(E,$,j)=>N?{type:"assets by status",[R]:!!E,filteredChildren:j.length,...assetGroup($,j)}:{type:"assets by status",[R]:!!E,children:$,...assetGroup($,j)}})};const{groupAssetsByEmitStatus:$,groupAssetsByPath:j,groupAssetsByExtension:q}=N;if($){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if($||!N.cachedAssets){groupByFlag("cached",!N.cachedAssets)}if(j||q){E.push({getKeys:E=>{const R=q&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const N=R?R[1]:"";const $=j&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const G=$?$[1].split(/[/\\]/):[];const ie=[];if(j){ie.push(".");if(N)ie.push(G.length?`${G.join("/")}/*${N}`:`*${N}`);while(G.length>0){ie.push(G.join("/")+"/");G.pop()}}else{if(N)ie.push(`*${N}`)}return ie},createGroup:(E,R,N)=>({type:j?"assets by path":"assets by extension",name:E,children:R,...assetGroup(R,N)})})}},groupAssetsByInfo:(E,R,N)=>{const groupByAssetInfoFlag=R=>{E.push({getKeys:E=>E.info&&E.info[R]?["1"]:undefined,createGroup:(E,N,$)=>({type:"assets by info",info:{[R]:!!E},children:N,...assetGroup(N,$)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,R,N)=>{const groupByNames=R=>{E.push({getKeys:E=>E[R],createGroup:(E,N,$)=>({type:"assets by chunk",[R]:[E],children:N,...assetGroup(N,$)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,R,{excludeAssets:N})=>{E.push({getKeys:E=>{const R=E.name;const $=N.some((N=>N(R,E)));if($)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,R,N)=>({type:"hidden assets",filteredChildren:N.length,...assetGroup(R,N)})})}};const MODULES_GROUPERS=E=>({_:(E,R,N)=>{const groupByFlag=(R,N,$)=>{E.push({getKeys:E=>E[R]?["1"]:undefined,getOptions:()=>({groupChildren:!$,force:$}),createGroup:(E,j,q)=>({type:N,[R]:!!E,...$?{filteredChildren:q.length}:{children:j},...moduleGroup(j,q)})})};const{groupModulesByCacheStatus:$,groupModulesByLayer:j,groupModulesByAttributes:q,groupModulesByType:G,groupModulesByPath:ie,groupModulesByExtension:ae}=N;if(q){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if($){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if($||!N.cachedModules){groupByFlag("cached","cached modules",!N.cachedModules)}if(q||!N.orphanModules){groupByFlag("orphan","orphan modules",!N.orphanModules)}if(q||!N.dependentModules){groupByFlag("dependent","dependent modules",!N.dependentModules)}if(G||!N.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(G){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const R=E==="runtime"&&!N.runtimeModules;return{groupChildren:!R,force:R}},createGroup:(E,R,$)=>{const j=E==="runtime"&&!N.runtimeModules;return{type:`${E} modules`,moduleType:E,...j?{filteredChildren:$.length}:{children:R},...moduleGroup(R,$)}}})}if(j){E.push({getKeys:E=>[E.layer],createGroup:(E,R,N)=>({type:"modules by layer",layer:E,children:R,...moduleGroup(R,N)})})}if(ie||ae){E.push({getKeys:E=>{if(!E.name)return;const R=Le(E.name.split("!").pop()).path;const N=ae&&/(\.[^.]+)(?:\?.*|$)/.exec(R);const $=N?N[1]:"";const j=ie&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(R);const q=j?j[1].split(/[/\\]/):[];const G=[];if(ie){if($)G.push(q.length?`${q.join("/")}/*${$}`:`*${$}`);while(q.length>0){G.push(q.join("/")+"/");q.pop()}}else{if($)G.push(`*${$}`)}return G},createGroup:(E,R,N)=>({type:ie?"modules by path":"modules by extension",name:E,children:R,...moduleGroup(R,N)})})}},excludeModules:(R,N,{excludeModules:$})=>{R.push({getKeys:R=>{const N=R.name;if(N){const j=$.some(($=>$(N,R,E)));if(j)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,R,N)=>({type:"hidden modules",filteredChildren:R.length,...moduleGroup(R,N)})})}});const Ve={"compilation.assets":We,"asset.related":We,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:E=>{E.push({getKeys:E=>[E.module],createGroup:(E,R,N)=>({type:"from origin",module:E,children:R,...reasonGroup(R,N)})})}}};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,R)=>0;return noSort}const R=normalizeFieldKey(E);let N=Te((E=>E[R]),Me);const $=sortOrderRegular(E);if(!$){const E=N;N=(R,N)=>E(N,R)}return N};const Ke={assetsSort:(E,R,{assetsSort:N})=>{E.push(sortByField(N))},_:E=>{E.push(Te((E=>E.name),Me))}};const Qe={"compilation.chunks":{chunksSort:(E,R,{chunksSort:N})=>{E.push(sortByField(N))}},"compilation.modules":{modulesSort:(E,R,{modulesSort:N})=>{E.push(sortByField(N))}},"chunk.modules":{chunkModulesSort:(E,R,{chunkModulesSort:N})=>{E.push(sortByField(N))}},"module.modules":{nestedModulesSort:(E,R,{nestedModulesSort:N})=>{E.push(sortByField(N))}},"compilation.assets":Ke,"asset.related":Ke};const iterateConfig=(E,R,N)=>{for(const $ of Object.keys(E)){const j=E[$];for(const E of Object.keys(j)){if(E!=="_"){if(E.startsWith("!")){if(R[E.slice(1)])continue}else{const N=R[E];if(N===false||N===undefined||Array.isArray(N)&&N.length===0)continue}}N($,j[E])}}};const Je={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const R=Object.create(null);for(const N of E){R[N.name]=N}return R};const Xe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((R,N,$)=>{iterateConfig(ze,N,((E,$)=>{R.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,j,q)=>$(E,j,q,N,R)))}));iterateConfig(Ue,N,((E,$)=>{R.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,R,j,q)=>$(E,R,N,j,q)))}));iterateConfig(qe,N,((E,$)=>{R.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R,j,q)=>$(E,R,N,j,q)))}));iterateConfig(He,N,((E,$)=>{R.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));iterateConfig(Qe,N,((E,$)=>{R.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));iterateConfig(Ve,N,((E,$)=>{R.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));for(const E of Object.keys(Je)){const N=Je[E];R.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>N))}for(const E of Object.keys(Xe)){const N=Xe[E];R.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",N)}if(N.children){if(Array.isArray(N.children)){R.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((R,{_index:j})=>{if(jj))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,R,N)=>{"use strict";const $=N(80910);const applyDefaults=(E,R)=>{for(const N of Object.keys(R)){if(typeof E[N]==="undefined"){E[N]=R[N]}}};const j={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:R})=>R?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:R})=>R?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:R})=>{if(E===false)return false;if(E===true)return true;if(R)return"auto";return true};const q={context:(E,R,N)=>N.compiler.context,requestShortener:(E,R,N)=>N.compiler.context===E.context?N.requestShortener:new $(E.context,N.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:R})=>R?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:R})=>{if(E===false)return false;if(E===true)return true;if(R)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:R,chunkModules:N},{forToString:$})=>{if(E===false)return false;if(E===true)return true;if($&&R&&N)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:R})=>R?15:Infinity,chunkModulesSpace:(E,{forToString:R})=>R?10:Infinity,nestedModulesSpace:(E,{forToString:R})=>R?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:R})=>R?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:R},{forToString:N})=>R!==undefined?R:N?E===true:E!==false,cachedModules:({all:E,cached:R},{forToString:N})=>R!==undefined?R:N?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(E,{forToString:R})=>R?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:R})=>R&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const R=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>R.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return R=>E.test(R)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const G={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(R,N)=>N.includes(E)}if(E instanceof RegExp){return(R,N)=>E.test(N)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const R of Object.keys(j)){const N=j[R];E.hooks.statsPreset.for(R).tap("DefaultStatsPresetPlugin",((E,R)=>{applyDefaults(E,N)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((R,N)=>{for(const $ of Object.keys(q)){if(R[$]===undefined)R[$]=q[$](R,N,E)}for(const E of Object.keys(G)){R[E]=G[E](R[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,R,N)=>{"use strict";const plural=(E,R,N)=>E===1?R:N;const printSizes=(E,{formatSize:R=(E=>`${E}`)})=>{const N=Object.keys(E);if(N.length>1){return N.map((N=>`${R(E[N])} (${N})`)).join(" ")}else if(N.length===1){return R(E[N[0]])}};const mapLines=(E,R)=>E.split("\n").map(R).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const $={"compilation.summary!":(E,{type:R,bold:N,green:$,red:j,yellow:q,formatDateTime:G,formatTime:ie,compilation:{name:ae,hash:le,version:_e,time:Ee,builtAt:we,errorsCount:Me,warningsCount:Ie}})=>{const Te=R==="compilation.summary!";const Ne=Ie>0?q(`${Ie} ${plural(Ie,"warning","warnings")}`):"";const Be=Me>0?j(`${Me} ${plural(Me,"error","errors")}`):"";const Le=Te&&Ee?` in ${ie(Ee)}`:"";const je=le?` (${le})`:"";const ze=Te&&we?`${G(we)}: `:"";const Ue=Te&&_e?`webpack ${_e}`:"";const qe=Te&&ae?N(ae):ae?`Child ${N(ae)}`:Te?"":"Child";const Ge=qe&&Ue?`${qe} (${Ue})`:Ue||qe||"webpack";let He;if(Be&&Ne){He=`compiled with ${Be} and ${Ne}`}else if(Be){He=`compiled with ${Be}`}else if(Ne){He=`compiled with ${Ne}`}else if(Me===0&&Ie===0){He=`compiled ${$("successfully")}`}else{He=`compiled`}if(ze||Ue||Be||Ne||Me===0&&Ie===0||Le||je)return`${ze}${Ge} ${He}${Le}${je}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:R})=>E?R(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:R})=>E?`Environment (--env): ${R(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:R})=>`PublicPath: ${R(E||"(none)")}`,"compilation.entrypoints":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.values(E),{...R,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,R,N)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:$}}=R;let j=Object.values(E);if($){j=j.filter((E=>!Object.prototype.hasOwnProperty.call($,E.name)))}return N.print(R.type,j,{...R,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:R}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.entries(E).map((([E,R])=>({...R,name:E}))),R),"compilation.warningsInChildren!":(E,{yellow:R,compilation:N})=>{if(!N.children&&N.warningsCount>0&&N.warnings){const E=N.warningsCount-N.warnings.length;if(E>0){return R(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${N.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:R,compilation:N})=>{if(!N.children&&N.errorsCount>0&&N.errors){const E=N.errorsCount-N.errors.length;if(E>0){return R(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${N.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:R,asset:{isOverSizeLimit:N}})=>R(E,N),"asset.size":(E,{asset:{isOverSizeLimit:R},yellow:N,green:$,formatSize:j})=>R?N(j(E)):j(E),"asset.emitted":(E,{green:R,formatFlag:N})=>E?R(N("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:R,formatFlag:N})=>E?R(N("compared for emit")):undefined,"asset.cached":(E,{green:R,formatFlag:N})=>E?R(N("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:R,formatFlag:N})=>E?R(N("big")):undefined,"asset.info.immutable":(E,{green:R,formatFlag:N})=>E?R(N("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:R})=>E?R("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:R})=>E?R(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:R,formatFlag:N})=>E?R(N("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:R,formatFlag:N})=>E?R(N("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:R}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:R})=>R(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"module.name":(E,{bold:R})=>{const[,N,$]=/^(.*!)?([^!]*)$/.exec(E);return(N||"")+R($)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:R})=>E?R(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:R})=>R(E),"module.depth":(E,{formatFlag:R})=>E!==null?R(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:R,red:N})=>E===false?N(R("not cacheable")):undefined,"module.orphan":(E,{formatFlag:R,yellow:N})=>E?N(R("orphan")):undefined,"module.runtime":(E,{formatFlag:R,yellow:N})=>E?N(R("runtime")):undefined,"module.optional":(E,{formatFlag:R,yellow:N})=>E?N(R("optional")):undefined,"module.dependent":(E,{formatFlag:R,cyan:N})=>E?N(R("dependent")):undefined,"module.built":(E,{formatFlag:R,yellow:N})=>E?N(R("built")):undefined,"module.codeGenerated":(E,{formatFlag:R,yellow:N})=>E?N(R("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:R,green:N})=>E?N(R("build time executed")):undefined,"module.cached":(E,{formatFlag:R,green:N})=>E?N(R("cached")):undefined,"module.assets":(E,{formatFlag:R,magenta:N})=>E&&E.length?N(R(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:R,yellow:N})=>E===true?N(R("warnings")):E?N(R(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:R,red:N})=>E===true?N(R("errors")):E?N(R(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:R,cyan:N})=>{if(Array.isArray(E)){if(E.length===0)return N(R("no exports"));return N(R(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:R,cyan:N,module:$})=>{if(E!==true){if(E===null)return N(R("used exports unknown"));if(E===false)return N(R("module unused"));if(Array.isArray(E)){if(E.length===0)return N(R("no exports used"));const j=Array.isArray($.providedExports)?$.providedExports.length:null;if(j!==null&&j===E.length){return N(R("all exports used"))}else{return N(R(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:R})=>R(E),"module.issuerPath":(E,{module:R})=>R.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredReasons":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:R})=>R(E),"moduleIssuer.profile.total":(E,{formatTime:R})=>R(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:R})=>R(E),"moduleReason.moduleId":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"moduleReason.module":(E,{magenta:R})=>R(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:R})=>R(E),"moduleReason.active":(E,{formatFlag:R})=>E?undefined:R("inactive"),"moduleReason.resolvedModule":(E,{magenta:R})=>R(E),"moduleReason.filteredChildren":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.profile.total":(E,{formatTime:R})=>R(E),"module.profile.resolving":(E,{formatTime:R})=>`resolving: ${R(E)}`,"module.profile.restoring":(E,{formatTime:R})=>`restoring: ${R(E)}`,"module.profile.integration":(E,{formatTime:R})=>`integration: ${R(E)}`,"module.profile.building":(E,{formatTime:R})=>`building: ${R(E)}`,"module.profile.storing":(E,{formatTime:R})=>`storing: ${R(E)}`,"module.profile.additionalResolving":(E,{formatTime:R})=>E?`additional resolving: ${R(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:R})=>E?`additional integration: ${R(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:R})=>R,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:R})=>R(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:R,yellow:N})=>E?N(R("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:R})=>E?R(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:R})=>E?`(${R(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:R})=>R(E),"chunkGroupAsset.size":(E,{formatSize:R,chunkGroup:N})=>N.assets.length>1||N.auxiliaryAssets&&N.auxiliaryAssets.length>0?R(E):undefined,"chunkGroup.children":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.keys(E).map((R=>({type:R,children:E[R]}))),R),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:R})=>R(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:R})=>R(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:R})=>R(E),"chunk.files[]":(E,{formatFilename:R})=>R(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,R)=>printSizes(E,R),"chunk.parents[]":(E,R)=>R.formatChunkId(E,"parent"),"chunk.siblings[]":(E,R)=>R.formatChunkId(E,"sibling"),"chunk.children[]":(E,R)=>R.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.keys(E).map((R=>({type:R,children:E[R]}))),R),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:R})=>isValidId(E)?R(E):undefined,"chunk.entry":(E,{formatFlag:R,yellow:N})=>E?N(R("entry")):undefined,"chunk.initial":(E,{formatFlag:R,yellow:N})=>E?N(R("initial")):undefined,"chunk.rendered":(E,{formatFlag:R,green:N})=>E?N(R("rendered")):undefined,"chunk.recorded":(E,{formatFlag:R,green:N})=>E?N(R("recorded")):undefined,"chunk.reason":(E,{yellow:R})=>E?R(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"chunkOrigin.moduleName":(E,{bold:R})=>R(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:R})=>E?R(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:R})=>isValidId(E)?R(E):undefined,"error.chunkEntry":(E,{formatFlag:R})=>E?R("entry"):undefined,"error.chunkInitial":(E,{formatFlag:R})=>E?R("initial"):undefined,"error.file":(E,{bold:R})=>R(E),"error.moduleName":(E,{bold:R})=>E.includes("!")?`${R(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${R(E)}`,"error.loc":(E,{green:R})=>R(E),"error.message":(E,{bold:R,formatError:N})=>E.includes("[")?E:R(N(E)),"error.details":(E,{formatError:R})=>R(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>`

${R(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>`

${R(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:R})=>mapLines(E,(E=>`<-> ${R(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:R})=>mapLines(E,(E=>`<+> ${R(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:R})=>E?R("DEBUG"):undefined,"loggingGroup.name":(E,{bold:R})=>R(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const j={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const G={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>R=>R.length>0?`(${E}: ${R.filter(Boolean).join(", ")})`:undefined;const ie={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const R=[];let N=0;for(const $ of E){if($.element==="separator!"){switch(N){case 0:case 1:N+=2;break;case 4:R.push(")");N=3;break}}if(!$.content)continue;switch(N){case 0:N=1;break;case 1:R.push(" ");break;case 2:R.push("(");N=4;break;case 3:R.push(" (");N=4;break;case 4:R.push(", ");break}R.push($.content)}if(N===4)R.push(")");return R.join("")};const indent=(E,R,N)=>{const $=E.replace(/\n([^\n])/g,"\n"+R+"$1");if(N)return $;const j=E[0]==="\n"?"":R;return j+$};const joinExplicitNewLine=(E,R)=>{let N=true;let $=true;return E.map((E=>{if(!E||!E.content)return;let j=indent(E.content,$?"":R,!N);if(N){j=j.replace(/^\n+/,"")}if(!j)return;$=false;const q=N||j.startsWith("\n");N=j.endsWith("\n");return q?j:" "+j})).filter(Boolean).join("").trim()};const joinError=E=>(R,{red:N,yellow:$})=>`${E?N("ERROR"):$("WARNING")} in ${joinExplicitNewLine(R,"")}`;const ae={compilation:E=>{const R=[];let N=false;for(const $ of E){if(!$.content)continue;const E=$.element==="warnings"||$.element==="filteredWarningDetailsCount"||$.element==="errors"||$.element==="filteredErrorDetailsCount"||$.element==="logging";if(R.length!==0){R.push(E||N?"\n\n":"\n")}R.push($.content);N=E}if(N)R.push("\n");return R.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:R})=>{let N=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(R.id===R.name){if(N)return false;if(E.content)N=true}break;case"name":if(N)return false;if(E.content)N=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let R=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)R=true;break;case"initial":if(R)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:R})=>{let N=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"moduleId":if(R.moduleId===R.module&&E.content)N=true;break;case"module":if(N)return false;break;case"resolvedModule":if(R.module===R.resolvedModule)return false;break;case"children":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const le={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const _e={formatChunkId:(E,{yellow:R},N)=>{switch(N){case"parent":return`<{${R(E)}}>`;case"sibling":return`={${R(E)}}=`;case"child":return`>{${R(E)}}<`;default:return`{${R(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:R,yellow:N},$)=>($?N:R)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:N(9192).formatSize,formatDateTime:(E,{bold:R})=>{const N=new Date(E);const $=twoDigit;const j=`${N.getFullYear()}-${$(N.getMonth()+1)}-${$(N.getDate())}`;const q=`${$(N.getHours())}:${$(N.getMinutes())}:${$(N.getSeconds())}`;return`${j} ${R(q)}`},formatTime:(E,{timeReference:R,bold:N,green:$,yellow:j,red:q},G)=>{const ie=" ms";if(R&&E!==R){const G=[R/2,R/4,R/8,R/16];if(E{if(E.includes("["))return E;const j=[{regExp:/(Did you mean .+)/g,format:R},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:R},{regExp:/(\(module has no exports\))/g,format:$},{regExp:/\(possible exports: (.+)\)/g,format:R},{regExp:/\s*(.+ doesn't exist)/g,format:$},{regExp:/('\w+' option has not been set)/g,format:$},{regExp:/(Emitted value instead of an instance of Error)/g,format:N},{regExp:/(Used? .+ instead)/gi,format:N},{regExp:/\b(deprecated|must|required)\b/g,format:N},{regExp:/\b(BREAKING CHANGE)\b/gi,format:$},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:$}];for(const{regExp:R,format:N}of j){E=E.replace(R,((E,R)=>E.replace(R,N(R))))}return E}};const Ee={"module.modules":E=>indent(E,"| ")};const createOrder=(E,R)=>{const N=E.slice();const $=new Set(E);const j=new Set;E.length=0;for(const N of R){if(N.endsWith("!")||$.has(N)){E.push(N);j.add(N)}}for(const R of N){if(!j.has(R)){E.push(R)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,R,N)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,N)=>{for(const E of Object.keys(le)){let $;if(R.colors){if(typeof R.colors==="object"&&typeof R.colors[E]==="string"){$=R.colors[E]}else{$=le[E]}}if($){N[E]=E=>`${$}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${$}`):E}`}else{N[E]=E=>E}}for(const E of Object.keys(_e)){N[E]=(R,...$)=>_e[E](R,N,...$)}N.timeReference=E.time}));for(const R of Object.keys($)){E.hooks.print.for(R).tap("DefaultStatsPrinterPlugin",((N,j)=>$[R](N,j,E)))}for(const R of Object.keys(G)){const N=G[R];E.hooks.sortElements.for(R).tap("DefaultStatsPrinterPlugin",((E,R)=>{createOrder(E,N)}))}for(const R of Object.keys(j)){const N=j[R];E.hooks.getItemName.for(R).tap("DefaultStatsPrinterPlugin",typeof N==="string"?()=>N:N)}for(const R of Object.keys(ie)){const N=ie[R];E.hooks.printItems.for(R).tap("DefaultStatsPrinterPlugin",N)}for(const R of Object.keys(ae)){const N=ae[R];E.hooks.printElements.for(R).tap("DefaultStatsPrinterPlugin",N)}for(const R of Object.keys(Ee)){const N=Ee[R];E.hooks.result.for(R).tap("DefaultStatsPrinterPlugin",N)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,R,N)=>{"use strict";const{HookMap:$,SyncBailHook:j,SyncWaterfallHook:q}=N(92960);const{concatComparators:G,keepOriginalOrder:ie}=N(68673);const ae=N(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new $((()=>new j(["object","data","context"]))),filter:new $((()=>new j(["item","context","index","unfilteredIndex"]))),sort:new $((()=>new j(["comparators","context"]))),filterSorted:new $((()=>new j(["item","context","index","unfilteredIndex"]))),groupResults:new $((()=>new j(["groupConfigs","context"]))),sortResults:new $((()=>new j(["comparators","context"]))),filterResults:new $((()=>new j(["item","context","index","unfilteredIndex"]))),merge:new $((()=>new j(["items","context"]))),result:new $((()=>new q(["result","context"]))),getItemName:new $((()=>new j(["item","context"]))),getItemFactory:new $((()=>new j(["item","context"])))});const E=this.hooks;this._caches={};for(const R of Object.keys(E)){this._caches[R]=new Map}this._inCreate=false}_getAllLevelHooks(E,R,N){const $=R.get(N);if($!==undefined){return $}const j=[];const q=N.split(".");for(let R=0;R{for(const N of G){const $=j(N,E,R,ie);if($!==undefined){if($)ie++;return $}}ie++;return true}))}create(E,R,N){if(this._inCreate){return this._create(E,R,N)}else{try{this._inCreate=true;return this._create(E,R,N)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,R,N){const $={...N,type:E,[E]:R};if(Array.isArray(R)){const N=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,R,((E,R,N,j)=>E.call(R,$,N,j)),true);const j=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call(j,$)));if(j.length>0){N.sort(G(...j,ie(N)))}const q=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,N,((E,R,N,j)=>E.call(R,$,N,j)),false);let le=q.map(((R,N)=>{const j={...$,_index:N};const q=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(R,j)));if(q)j[q]=R;const G=q?`${E}[].${q}`:`${E}[]`;const ie=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,G,(E=>E.call(R,j)))||this;return ie.create(G,R,j)}));const _e=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(_e,$)));if(_e.length>0){le.sort(G(..._e,ie(le)))}const Ee=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(Ee,$)));if(Ee.length>0){le=ae(le,Ee)}const we=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,le,((E,R,N,j)=>E.call(R,$,N,j)),false);let Me=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(we,$)));if(Me===undefined)Me=we;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Me,((E,R)=>E.call(R,$)))}else{const N={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(N,R,$)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,N,((E,R)=>E.call(R,$)))}}}E.exports=StatsFactory},30533:(E,R,N)=>{"use strict";const{HookMap:$,SyncWaterfallHook:j,SyncBailHook:q}=N(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new $((()=>new q(["elements","context"]))),printElements:new $((()=>new q(["printedElements","context"]))),sortItems:new $((()=>new q(["items","context"]))),getItemName:new $((()=>new q(["item","context"]))),printItems:new $((()=>new q(["printedItems","context"]))),print:new $((()=>new q(["object","context"]))),result:new $((()=>new j(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,R){let N=this._levelHookCache.get(E);if(N===undefined){N=new Map;this._levelHookCache.set(E,N)}const $=N.get(R);if($!==undefined){return $}const j=[];const q=R.split(".");for(let R=0;RE.call(R,$)));if(j===undefined){if(Array.isArray(R)){const N=R.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(N,$)));const q=N.map(((R,N)=>{const j={...$,_index:N};const q=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(R,j)));if(q)j[q]=R;return this.print(q?`${E}[].${q}`:`${E}[]`,R,j)}));j=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(q,$)));if(j===undefined){const E=q.filter(Boolean);if(E.length>0)j=E.join("\n")}}else if(R!==null&&typeof R==="object"){const N=Object.keys(R).filter((E=>R[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(N,$)));const q=N.map((N=>{const j=this.print(`${E}.${N}`,R[N],{...$,_parent:R,_element:N,[N]:R[N]});return{element:N,content:j}}));j=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(q,$)));if(j===undefined){const E=q.map((E=>E.content)).filter(Boolean);if(E.length>0)j=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,j,((E,R)=>E.call(R,$)))}}E.exports=StatsPrinter},73910:(E,R)=>{"use strict";R.equals=(E,R)=>{if(E.length!==R.length)return false;for(let N=0;N{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const R=this._list.indexOf(E);if(R>=0){this._list.splice(R,1)}else{const R=this._listReversed.indexOf(E);if(R>=0)this._listReversed.splice(R,1)}}[Symbol.iterator](){let E=-1;let R=false;return{next:()=>{if(!R){E++;if(E{"use strict";const{SyncHook:$,AsyncSeriesHook:j}=N(92960);const{makeWebpackError:q}=N(3728);const G=N(81627);const ie=N(56561);const ae=0;const le=1;const _e=2;let Ee=0;class AsyncQueueEntry{constructor(E,R){this.item=E;this.state=ae;this.callback=R;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:R,parent:N,processor:q,getKey:G}){this._name=E;this._parallelism=R||1;this._processor=q;this._getKey=G||(E=>E);this._entries=new Map;this._queued=new ie;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=N?N._root:this;if(N){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new j(["item"]),added:new $(["item"]),beforeStart:new j(["item"]),started:new $(["item"]),result:new $(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,R){if(this._stopped)return R(new G("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(N=>{if(N){R(q(N,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const $=this._getKey(E);const j=this._entries.get($);if(j!==undefined){if(j.state===_e){if(Ee++>3){process.nextTick((()=>R(j.error,j.result)))}else{R(j.error,j.result)}Ee--}else if(j.callbacks===undefined){j.callbacks=[R]}else{j.callbacks.push(R)}return}const ie=new AsyncQueueEntry(E,R);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ie,new G("Queue was stopped"))))}else{this._entries.set($,ie);this._queued.enqueue(ie);const R=this._root;R._needProcessing=true;if(R._willEnsureProcessing===false){R._willEnsureProcessing=true;setImmediate(R._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const R=this._getKey(E);const N=this._entries.get(R);this._entries.delete(R);if(N.state===ae){this._queued.delete(N)}}waitFor(E,R){const N=this._getKey(E);const $=this._entries.get(N);if($===undefined){return R(new G("waitFor can only be called for an already started item"))}if($.state===_e){process.nextTick((()=>R($.error,$.result)))}else if($.callbacks===undefined){$.callbacks=[R]}else{$.callbacks.push(R)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ie;const R=this._root;for(const N of E){this._entries.delete(this._getKey(N.item));R._activeTasks++;this._handleResult(N,new G("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===le}isQueued(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===ae}isDone(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===_e}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(R=>{if(R){this._handleResult(E,q(R,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let N=false;try{this._processor(E.item,((R,$)=>{N=true;this._handleResult(E,R,$)}))}catch(R){if(N)throw R;this._handleResult(E,R,null)}this.hooks.started.call(E.item)}))}_handleResult(E,R,N){this.hooks.result.callAsync(E.item,R,N,($=>{const j=$?q($,`AsyncQueue(${this._name}).hooks.result`):R;const G=E.callback;const ie=E.callbacks;E.state=_e;E.callback=undefined;E.callbacks=undefined;E.result=N;E.error=j;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(Ee++>3){process.nextTick((()=>{G(j,N);if(ie!==undefined){for(const E of ie){E(j,N)}}}))}else{G(j,N);if(ie!==undefined){for(const E of ie){E(j,N)}}}Ee--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,R,N)=>{"use strict";class Hash{update(E,R){const $=N(75884);throw new $}digest(E){const R=N(75884);throw new R}}E.exports=Hash},11539:(E,R)=>{"use strict";const last=E=>{let R;for(const N of E)R=N;return R};const someInIterable=(E,R)=>{for(const N of E){if(R(N))return true}return false};const countIterable=E=>{let R=0;for(const N of E)R++;return R};R.last=last;R.someInIterable=someInIterable;R.countIterable=countIterable},37496:(E,R,N)=>{"use strict";const{first:$}=N(26221);const j=N(16102);class LazyBucketSortedSet{constructor(E,R,...N){this._getKey=E;this._innerArgs=N;this._leaf=N.length<=1;this._keys=new j(undefined,R);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,R){let N=this._map.get(E);if(N===undefined){N=this._leaf?new j(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,N)}N.add(R)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const R=this._getKey(E);const N=this._map.get(R);N.delete(E);if(N.size===0){this._deleteKey(R)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const R=this._getKey(E);this._addInternal(R,E)}this._unsortedItems.clear()}this._keys.sort();const E=$(this._keys);const R=this._map.get(E);if(this._leaf){const N=R;N.sort();const j=$(N);N.delete(j);if(N.size===0){this._deleteKey(E)}return j}else{const N=R;const $=N.popFirst();if(N.size===0){this._deleteKey(E)}return $}}startUpdate(E){if(this._unsortedItems.has(E)){return R=>{if(R){this._unsortedItems.delete(E);this.size--;return}}}const R=this._getKey(E);if(this._leaf){const N=this._map.get(R);return $=>{if($){this.size--;N.delete(E);if(N.size===0){this._deleteKey(R)}return}const j=this._getKey(E);if(R===j){N.add(E)}else{N.delete(E);if(N.size===0){this._deleteKey(R)}this._addInternal(j,E)}}}else{const N=this._map.get(R);const $=N.startUpdate(E);return j=>{if(j){this.size--;$(true);if(N.size===0){this._deleteKey(R)}return}const q=this._getKey(E);if(R===q){$()}else{$(true);if(N.size===0){this._deleteKey(R)}this._addInternal(q,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const R of this._keys){const N=this._map.get(R);if(this._leaf){const R=N;const $=R[Symbol.iterator]();E.push($)}else{const R=N;R._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let R=E.pop();return{next:()=>{const N=R.next();if(N.done){if(E.length===0)return N;R=E.pop();return R.next()}return N}}}}E.exports=LazyBucketSortedSet},83379:(E,R,N)=>{"use strict";const $=N(56202);const merge=(E,R)=>{for(const N of R){for(const R of N){E.add(R)}}};const flatten=(E,R)=>{for(const N of R){if(N._set.size>0)E.add(N._set);if(N._needMerge){for(const R of N._toMerge){E.add(R)}flatten(E,N._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const R=this._set;for(const N of E){R.add(N)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,R){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,R)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const R of this._set)E(R)}static deserialize({read:E}){const R=E();const N=[];for(let $=0;${"use strict";R.provide=(E,R,N)=>{const $=E.get(R);if($!==undefined)return $;const j=N();E.set(R,j);return j}},382:(E,R,N)=>{"use strict";const $=N(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,R,N){if(E===R)return N(1);this._rangePoints.push(E);this._rangePoints.push(R);this._rangeCallbacks.push(N)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,R)=>E0));const N=[];for(let j=0;j{"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,R)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let R=Infinity;let N=-1;for(let $=0;${if(E.size{for(const N of E){if(R(N))return N}};const first=E=>{const R=E.values().next();return R.done?undefined:R.value};const combine=(E,R)=>{if(R.size===0)return E;if(E.size===0)return R;const N=new Set(E);for(const E of R)N.add(E);return N};R.intersect=intersect;R.isSubset=isSubset;R.find=find;R.first=first;R.combine=combine},16102:E=>{"use strict";const R=Symbol("not sorted");class SortableSet extends Set{constructor(E,N){super(E);this._sortFn=N;this._lastActiveSortFn=R;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=R;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const R=Array.from(this).sort(E);super.clear();for(let E=0;E{"use strict";class StackedCacheMap{constructor(){this.map=new Map;this.stack=[]}addAll(E,R){if(R){this.stack.push(E);for(let R=this.stack.length-1;R>0;R--){const N=this.stack[R-1];if(N.size>=E.size)break;this.stack[R]=N;this.stack[R-1]=E}}else{for(const[R,N]of E){this.map.set(R,N)}}}set(E,R){this.map.set(E,R)}delete(E){throw new Error("Items can't be deleted from a StackedCacheMap")}has(E){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(E){for(const R of this.stack){const N=R.get(E);if(N!==undefined)return N}return this.map.get(E)}clear(){this.stack.length=0;this.map.clear()}get size(){let E=this.map.size;for(const R of this.stack){E+=R.size}return E}[Symbol.iterator](){const E=this.stack.map((E=>E[Symbol.iterator]()));let R=this.map[Symbol.iterator]();return{next(){let N=R.next();while(N.done&&E.length>0){R=E.pop();N=R.next()}return N}}}}E.exports=StackedCacheMap},80371:E=>{"use strict";const R=Symbol("tombstone");const N=Symbol("undefined");const extractPair=E=>{const $=E[0];const j=E[1];if(j===N||j===R){return[$,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,R){this.map.set(E,R===undefined?N:R)}delete(E){if(this.stack.length>1){this.map.set(E,R)}else{this.map.delete(E)}}has(E){const N=this.map.get(E);if(N!==undefined){return N!==R}if(this.stack.length>1){for(let N=this.stack.length-2;N>=0;N--){const $=this.stack[N].get(E);if($!==undefined){this.map.set(E,$);return $!==R}}this.map.set(E,R)}return false}get(E){const $=this.map.get(E);if($!==undefined){return $===R||$===N?undefined:$}if(this.stack.length>1){for(let $=this.stack.length-2;$>=0;$--){const j=this.stack[$].get(E);if(j!==undefined){this.map.set(E,j);return j===R||j===N?undefined:j}}this.map.set(E,R)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const N of E){if(N[1]===R){this.map.delete(N[0])}else{this.map.set(N[0],N[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined}add(E){const R=E.length;const N=this._value;if(N===undefined){const N=this._value=Buffer.allocUnsafe(R);for(let $=0;${"use strict";const $=N(86949);class TupleQueue{constructor(E){this._set=new $(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const R of E){this.add(...R)}}}add(...E){let R=this._map;for(let N=0;N{const j=$.next();if(j.done){if(E.length===0)return false;R.pop();return next(E.pop())}const[q,G]=j.value;E.push($);R.push(q);if(G instanceof Set){N=G[Symbol.iterator]();return true}else{return next(G[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(N){const $=N.next();if($.done){R.pop();if(!next(E.pop())){N=undefined}}else{return{done:false,value:R.concat($.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,R)=>{"use strict";const N="\\".charCodeAt(0);const $="/".charCodeAt(0);const j="a".charCodeAt(0);const q="z".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="0".charCodeAt(0);const le="9".charCodeAt(0);const _e="+".charCodeAt(0);const Ee="-".charCodeAt(0);const we=":".charCodeAt(0);const Me="#".charCodeAt(0);const Ie="?".charCodeAt(0);function getScheme(E){const R=E.charCodeAt(0);if((Rq)&&(Rie)){return undefined}let Te=1;let Ne=E.charCodeAt(Te);while(Ne>=j&&Ne<=q||Ne>=G&&Ne<=ie||Ne>=ae&&Ne<=le||Ne===_e||Ne===Ee){if(++Te===E.length)return undefined;Ne=E.charCodeAt(Te)}if(Ne!==we)return undefined;if(Te===1){const R=Te+1{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...E){let R=this;for(let N=0;N{"use strict";const compileSearch=(E,R,N,$,j)=>{const q=["function ",E,"(a,l,h,",$.join(","),"){",j?"":"var i=",N?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(j){if(R.indexOf("c")<0){q.push(";if(x===y){return m}else if(x<=y){")}else{q.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{q.push(";if(",R,"){i=m;")}if(N){q.push("l=m+1}else{h=m-1}")}else{q.push("h=m-1}else{l=m+1}")}q.push("}");if(j){q.push("return -1};")}else{q.push("return i};")}return q.join("")};const compileBoundsSearch=(E,R,N,$)=>{const j=compileSearch("A","x"+E+"y",R,["y"],$);const q=compileSearch("P","c(x,y)"+E+"0",R,["y","c"],$);const G="function dispatchBinarySearch";const ie="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[j,q,G,N,ie,N];const le=ae.join("");const _e=new Function(le);return _e()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,R)=>{"use strict";const N=new WeakMap;const $=new WeakMap;const j=Symbol("DELETE");const q=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,R)=>{if(R===undefined)return E;if(E===undefined)return R;if(typeof R!=="object"||R===null)return R;if(typeof E!=="object"||E===null)return E;let $=N.get(E);if($===undefined){$=new WeakMap;N.set(E,$)}const j=$.get(R);if(j!==undefined)return j;const q=_cleverMerge(E,R,true);$.set(R,q);return q};const cachedSetProperty=(E,R,N)=>{let j=$.get(E);if(j===undefined){j=new Map;$.set(E,j)}let q=j.get(R);if(q===undefined){q=new Map;j.set(R,q)}let G=q.get(N);if(G)return G;G={...E,[R]:N};q.set(N,G);return G};const G=new WeakMap;const cachedParseObject=E=>{const R=G.get(E);if(R!==undefined)return R;const N=parseObject(E);G.set(E,N);return N};const parseObject=E=>{const R=new Map;let N;const getInfo=E=>{const N=R.get(E);if(N!==undefined)return N;const $={base:undefined,byProperty:undefined,byValues:undefined};R.set(E,$);return $};for(const R of Object.keys(E)){if(R.startsWith("by")){const $=R;const j=E[$];if(typeof j==="object"){for(const E of Object.keys(j)){const R=j[E];for(const N of Object.keys(R)){const q=getInfo(N);if(q.byProperty===undefined){q.byProperty=$;q.byValues=new Map}else if(q.byProperty!==$){throw new Error(`${$} and ${q.byProperty} for a single property is not supported`)}q.byValues.set(E,R[N]);if(E==="default"){for(const E of Object.keys(j)){if(!q.byValues.has(E))q.byValues.set(E,undefined)}}}}}else if(typeof j==="function"){if(N===undefined){N={byProperty:R,fn:j}}else{throw new Error(`${R} and ${N.byProperty} when both are functions is not supported`)}}else{const N=getInfo(R);N.base=E[R]}}else{const N=getInfo(R);N.base=E[R]}}return{static:R,dynamic:N}};const serializeObject=(E,R)=>{const N={};for(const R of E.values()){if(R.byProperty!==undefined){const E=N[R.byProperty]=N[R.byProperty]||{};for(const N of R.byValues.keys()){E[N]=E[N]||{}}}}for(const[R,$]of E){if($.base!==undefined){N[R]=$.base}if($.byProperty!==undefined){const E=N[$.byProperty]=N[$.byProperty]||{};for(const N of Object.keys(E)){const j=getFromByValues($.byValues,N);if(j!==undefined)E[N][R]=j}}}if(R!==undefined){N[R.byProperty]=R.fn}return N};const ie=0;const ae=1;const le=2;const _e=3;const Ee=4;const getValueType=E=>{if(E===undefined){return ie}else if(E===j){return Ee}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return le;return ae}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return _e}return ae};const cleverMerge=(E,R)=>{if(R===undefined)return E;if(E===undefined)return R;if(typeof R!=="object"||R===null)return R;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,R,false)};const _cleverMerge=(E,R,N=false)=>{const $=N?cachedParseObject(E):parseObject(E);const{static:j,dynamic:G}=$;if(G!==undefined){let{byProperty:E,fn:j}=G;const ie=j[q];if(ie){R=N?cachedCleverMerge(ie[1],R):cleverMerge(ie[1],R);j=ie[0]}const newFn=(...E)=>{const $=j(...E);return N?cachedCleverMerge($,R):cleverMerge($,R)};newFn[q]=[j,R];return serializeObject($.static,{byProperty:E,fn:newFn})}const ie=N?cachedParseObject(R):parseObject(R);const{static:ae,dynamic:le}=ie;const _e=new Map;for(const[E,R]of j){const $=ae.get(E);const j=$!==undefined?mergeEntries(R,$,N):R;_e.set(E,j)}for(const[E,R]of ae){if(!j.has(E)){_e.set(E,R)}}return serializeObject(_e,le)};const mergeEntries=(E,R,N)=>{switch(getValueType(R.base)){case ae:case Ee:return R;case ie:if(!E.byProperty){return{base:E.base,byProperty:R.byProperty,byValues:R.byValues}}else if(E.byProperty!==R.byProperty){throw new Error(`${E.byProperty} and ${R.byProperty} for a single property is not supported`)}else{const $=new Map(E.byValues);for(const[j,q]of R.byValues){const R=getFromByValues(E.byValues,j);$.set(j,mergeSingleValue(R,q,N))}return{base:E.base,byProperty:E.byProperty,byValues:$}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,R.base,N),byProperty:R.byProperty,byValues:R.byValues}}let $;const j=new Map(E.byValues);for(const[E,$]of j){j.set(E,mergeSingleValue($,R.base,N))}if(Array.from(E.byValues.values()).every((E=>{const R=getValueType(E);return R===ae||R===Ee}))){$=mergeSingleValue(E.base,R.base,N)}else{$=E.base;if(!j.has("default"))j.set("default",R.base)}if(!R.byProperty){return{base:$,byProperty:E.byProperty,byValues:j}}else if(E.byProperty!==R.byProperty){throw new Error(`${E.byProperty} and ${R.byProperty} for a single property is not supported`)}const q=new Map(j);for(const[E,$]of R.byValues){const R=getFromByValues(j,E);q.set(E,mergeSingleValue(R,$,N))}return{base:$,byProperty:E.byProperty,byValues:q}}}};const getFromByValues=(E,R)=>{if(R!=="default"&&E.has(R)){return E.get(R)}return E.get("default")};const mergeSingleValue=(E,R,N)=>{const $=getValueType(R);const j=getValueType(E);switch($){case Ee:case ae:return R;case _e:{return j!==_e?R:N?cachedCleverMerge(E,R):cleverMerge(E,R)}case ie:return E;case le:switch(j!==ae?j:Array.isArray(E)?le:_e){case ie:return R;case Ee:return R.filter((E=>E!=="..."));case le:{const N=[];for(const $ of R){if($==="..."){for(const R of E){N.push(R)}}else{N.push($)}}return N}case _e:return R.map((R=>R==="..."?E:R));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const R={};for(const N of Object.keys(E)){const $=E[N];const j=getValueType($);switch(j){case ie:case Ee:break;case _e:R[N]=removeOperations($);break;case le:R[N]=$.filter((E=>E!=="..."));break;default:R[N]=$;break}}return R};const resolveByProperty=(E,R,...N)=>{if(typeof E!=="object"||E===null||!(R in E)){return E}const{[R]:$,...j}=E;const q=j;const G=$;if(typeof G==="object"){const E=N[0];if(E in G){return cachedCleverMerge(q,G[E])}else if("default"in G){return cachedCleverMerge(q,G.default)}else{return q}}else if(typeof G==="function"){const E=G.apply(null,N);return cachedCleverMerge(q,resolveByProperty(E,R,...N))}};R.cachedSetProperty=cachedSetProperty;R.cachedCleverMerge=cachedCleverMerge;R.cleverMerge=cleverMerge;R.resolveByProperty=resolveByProperty;R.removeOperations=removeOperations;R.DELETE=j},68673:(E,R,N)=>{"use strict";const{compareRuntime:$}=N(37416);const createCachedParameterizedComparator=E=>{const R=new WeakMap;return N=>{const $=R.get(N);if($!==undefined)return $;const j=E.bind(null,N);R.set(N,j);return j}};R.compareChunksById=(E,R)=>compareIds(E.id,R.id);R.compareModulesByIdentifier=(E,R)=>compareIds(E.identifier(),R.identifier());const compareModulesById=(E,R,N)=>compareIds(E.getModuleId(R),E.getModuleId(N));R.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,R)=>{if(typeof E!==typeof R){return typeof ER)return 1;return 0};R.compareNumbers=compareNumbers;const compareStringsNumeric=(E,R)=>{const N=E.split(/(\d+)/);const $=R.split(/(\d+)/);const j=Math.min(N.length,$.length);for(let E=0;Ej.length){if(R.slice(0,j.length)>j)return 1;return-1}else if(j.length>R.length){if(j.slice(0,R.length)>R)return-1;return 1}else{if(Rj)return 1}}else{const E=+R;const N=+j;if(EN)return 1}}if($.lengthN.length)return-1;return 0};R.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,R,N)=>{const $=compareNumbers(E.getPostOrderIndex(R),E.getPostOrderIndex(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,R,N)=>{const $=compareNumbers(E.getPreOrderIndex(R),E.getPreOrderIndex(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,R,N)=>{const $=compareIds(E.getModuleId(R),E.getModuleId(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,R,N)=>E.compareChunks(R,N);R.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,R)=>{if(typeof E!==typeof R){return typeof ER)return 1;return 0};R.compareIds=compareIds;const compareStrings=(E,R)=>{if(ER)return 1;return 0};R.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,R)=>E.index{if(N.length>0){const[$,...j]=N;return concatComparators(E,concatComparators(R,$,...j))}const $=j.get(E,R);if($!==undefined)return $;const result=(N,$)=>{const j=E(N,$);if(j!==0)return j;return R(N,$)};j.set(E,R,result);return result};R.concatComparators=concatComparators;const q=new TwoKeyWeakMap;const compareSelect=(E,R)=>{const N=q.get(E,R);if(N!==undefined)return N;const result=(N,$)=>{const j=E(N);const q=E($);if(j!==undefined&&j!==null){if(q!==undefined&&q!==null){return R(j,q)}return-1}else{if(q!==undefined&&q!==null){return 1}return 0}};q.set(E,R,result);return result};R.compareSelect=compareSelect;const G=new WeakMap;const compareIterables=E=>{const R=G.get(E);if(R!==undefined)return R;const result=(R,N)=>{const $=R[Symbol.iterator]();const j=N[Symbol.iterator]();while(true){const R=$.next();const N=j.next();if(R.done){return N.done?0:-1}else if(N.done){return 1}const q=E(R.value,N.value);if(q!==0)return q}};G.set(E,result);return result};R.compareIterables=compareIterables;R.keepOriginalOrder=E=>{const R=new Map;let N=0;for(const $ of E){R.set($,N++)}return(E,N)=>compareNumbers(R.get(E),R.get(N))};R.compareChunksNatural=E=>{const N=R.compareModulesById(E);const j=compareIterables(N);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),$),compareSelect((R=>E.getOrderedChunkModulesIterable(R,N)),j))};R.compareLocations=(E,R)=>{let N=typeof E==="object"&&E!==null;let $=typeof R==="object"&&R!==null;if(!N||!$){if(N)return 1;if($)return-1;return 0}if("start"in E){if("start"in R){const N=E.start;const $=R.start;if(N.line<$.line)return-1;if(N.line>$.line)return 1;if(N.column<$.column)return-1;if(N.column>$.column)return 1}else return-1}else if("start"in R)return 1;if("name"in E){if("name"in R){if(E.nameR.name)return 1}else return-1}else if("name"in R)return 1;if("index"in E){if("index"in R){if(E.indexR.index)return 1}else return-1}else if("index"in R)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const R=Object.keys(E).filter((R=>E[R]));const N=Object.keys(E).filter((R=>!E[R]));if(R.length===0)return false;if(N.length===0)return true;return compileBooleanMatcherFromLists(R,N)};const compileBooleanMatcherFromLists=(E,R)=>{if(E.length===0)return()=>"false";if(R.length===0)return()=>"true";if(E.length===1)return R=>`${toSimpleString(E[0])} == ${R}`;if(R.length===1)return E=>`${toSimpleString(R[0])} != ${E}`;const N=itemsToRegexp(E);const $=itemsToRegexp(R);if(N.length<=$.length){return E=>`/^${N}$/.test(${E})`}else{return E=>`!/^${$}$/.test(${E})`}};const popCommonItems=(E,R,N)=>{const $=new Map;for(const N of E){const E=R(N);if(E){let R=$.get(E);if(R===undefined){R=[];$.set(E,R)}R.push(N)}}const j=[];for(const R of $.values()){if(N(R)){for(const N of R){E.delete(N)}j.push(R)}}return j};const getCommonPrefix=E=>{let R=E[0];for(let N=1;N{let R=E[0];for(let N=1;N=0;E--,N--){if($[E]!==R[N]){R=R.slice(N+1);break}}}return R};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const R=[];let N=0;for(const R of E){if(R.length===1){N++}}if(N===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const $=new Set(E.sort());if(N>2){let E="";for(const R of $){if(R.length===1){E+=R;$.delete(R)}}R.push(`[${quoteMeta(E)}]`)}if(R.length===0&&$.size===2){const R=getCommonPrefix(E);const N=getCommonSuffix(E.map((E=>E.slice(R.length))));if(R.length>0||N.length>0){return`${quoteMeta(R)}${itemsToRegexp(E.map((E=>E.slice(R.length,-N.length||undefined))))}${quoteMeta(N)}`}}if(R.length===0&&$.size===2){const E=$[Symbol.iterator]();const R=E.next().value;const N=E.next().value;if(R.length>0&&N.length>0&&R.slice(-1)===N.slice(-1)){return`${itemsToRegexp([R.slice(0,-1),N.slice(0,-1)])}${quoteMeta(R.slice(-1))}`}}const j=popCommonItems($,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of j){const N=getCommonPrefix(E);R.push(`${quoteMeta(N)}${itemsToRegexp(E.map((E=>E.slice(N.length))))}`)}const q=popCommonItems($,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of q){const N=getCommonSuffix(E);R.push(`${itemsToRegexp(E.map((E=>E.slice(0,-N.length))))}${quoteMeta(N)}`)}const G=R.concat(Array.from($,quoteMeta));if(G.length===1)return G[0];return`(${G.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,R,N)=>{"use strict";const $=N(91671);const j=$((()=>N(15235).validate));const createSchemaValidation=(E=(E=>false),R,N)=>{R=$(R);return $=>{if(!E($)){j()(R(),$,N)}}};E.exports=createSchemaValidation},35891:(E,R,N)=>{"use strict";const $=N(75066);const j=2e3;const q={};class BulkUpdateDecorator extends ${constructor(E,R){super();this.hashKey=R;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,R){if(R!==undefined||typeof E!=="string"||E.length>j){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,R)}else{this.buffer+=E;if(this.buffer.length>j){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let R;const N=this.buffer;if(this.hash===undefined){const $=`${this.hashKey}-${E}`;R=q[$];if(R===undefined){R=q[$]=new Map}const j=R.get(N);if(j!==undefined)return j;this.hash=this.hashFactory()}if(N.length>0){this.hash.update(N)}const $=this.hash.digest(E);const j=typeof $==="string"?$:$.toString();if(R!==undefined){R.set(N,j)}return j}}class DebugHash extends ${constructor(){super();this.string=""}update(E,R){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let G=undefined;let ie=undefined;let ae=undefined;let le=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;case"xxhash64":if(ie===undefined){ie=N(92976);if(le===undefined){le=N(89312)}}return new le(ie());case"md4":if(ae===undefined){ae=N(90526);if(le===undefined){le=N(89312)}}return new le(ae());case"native-md4":if(G===undefined)G=N(6113);return new BulkUpdateDecorator((()=>G.createHash("md4")),"md4");default:if(G===undefined)G=N(6113);return new BulkUpdateDecorator((()=>G.createHash(E)),E)}}},16595:(E,R,N)=>{"use strict";const $=N(73837);const j=new Map;const createDeprecation=(E,R)=>{const N=j.get(E);if(N!==undefined)return N;const q=$.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+R);j.set(E,q);return q};const q=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const G=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];R.arrayToSetDeprecation=(E,R)=>{for(const N of q){if(E[N])continue;const $=createDeprecation(`${R} was changed from Array to Set (using Array method '${N}' is deprecated)`,"ARRAY_TO_SET");E[N]=function(){$();const E=Array.from(this);return Array.prototype[N].apply(E,arguments)}}const N=createDeprecation(`${R} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const $=createDeprecation(`${R} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const j=createDeprecation(`${R} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){N();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const N of G){if(E[N])continue;E[N]=()=>{throw new Error(`${R} was changed from Array to Set (using Array method '${N}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){j();let R=0;for(const N of this){if(R++===E)return N}return undefined};return fn};const defineIndexGetter=N=>{Object.defineProperty(E,N,{get:createIndexGetter(N),set(E){throw new Error(`${R} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ie=1;Object.defineProperty(E,"length",{get(){$();const E=this.size;for(ie;ie{let N=false;class SetDeprecatedArray extends Set{constructor($){super($);if(!N){N=true;R.arrayToSetDeprecation(SetDeprecatedArray.prototype,E)}}}return SetDeprecatedArray};R.soonFrozenObjectDeprecation=(E,R,N,j="")=>{const q=`${R} will be frozen in future, all modifications are deprecated.${j&&`\n${j}`}`;return new Proxy(E,{set:$.deprecate(((E,R,N,$)=>Reflect.set(E,R,N,$)),q,N),defineProperty:$.deprecate(((E,R,N)=>Reflect.defineProperty(E,R,N)),q,N),deleteProperty:$.deprecate(((E,R)=>Reflect.deleteProperty(E,R)),q,N),setPrototypeOf:$.deprecate(((E,R)=>Reflect.setPrototypeOf(E,R)),q,N)})};const deprecateAllProperties=(E,R,N)=>{const j={};const q=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(q)){const G=q[E];if(typeof G.value==="function"){Object.defineProperty(j,E,{...G,value:$.deprecate(G.value,R,N)})}else if(G.get||G.set){Object.defineProperty(j,E,{...G,get:G.get&&$.deprecate(G.get,R,N),set:G.set&&$.deprecate(G.set,R,N)})}else{let q=G.value;Object.defineProperty(j,E,{configurable:G.configurable,enumerable:G.enumerable,get:$.deprecate((()=>q),R,N),set:G.writable?$.deprecate((E=>q=E),R,N):undefined})}}return j};R.deprecateAllProperties=deprecateAllProperties;R.createFakeHook=(E,R,N)=>{if(R&&N){E=deprecateAllProperties(E,R,N)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,R)=>{const N=Math.min(E.length,R.length);let $=0;for(let j=0;j{const $=Math.min(E.length,R.length);let j=0;while(j<$){if(E.charCodeAt(j)!==R.charCodeAt(j)){j++;break}j++}while(j<$){const R=E.slice(0,j);const $=R.toLowerCase();if(!N.has($)){N.add($);return R}j++}return E};const addSizeTo=(E,R)=>{for(const N of Object.keys(R)){E[N]=(E[N]||0)+R[N]}};const subtractSizeFrom=(E,R)=>{for(const N of Object.keys(R)){E[N]-=R[N]}};const sumSize=E=>{const R=Object.create(null);for(const N of E){addSizeTo(R,N.size)}return R};const isTooBig=(E,R)=>{for(const N of Object.keys(E)){const $=E[N];if($===0)continue;const j=R[N];if(typeof j==="number"){if($>j)return true}}return false};const isTooSmall=(E,R)=>{for(const N of Object.keys(E)){const $=E[N];if($===0)continue;const j=R[N];if(typeof j==="number"){if(${const N=new Set;for(const $ of Object.keys(E)){const j=E[$];if(j===0)continue;const q=R[$];if(typeof q==="number"){if(j{let N=0;for(const $ of Object.keys(E)){if(E[$]!==0&&R.has($))N++}return N};const selectiveSizeSum=(E,R)=>{let N=0;for(const $ of Object.keys(E)){if(E[$]!==0&&R.has($))N+=E[$]}return N};class Node{constructor(E,R,N){this.item=E;this.key=R;this.size=N}}class Group{constructor(E,R,N){this.nodes=E;this.similarities=R;this.size=N||sumSize(E);this.key=undefined}popNodes(E){const R=[];const N=[];const $=[];let j;for(let q=0;q0){N.push(j===this.nodes[q-1]?this.similarities[q-1]:similarity(j.key,G.key))}R.push(G);j=G}}if($.length===this.nodes.length)return undefined;this.nodes=R;this.similarities=N;this.size=sumSize(R);return $}}const getSimilarities=E=>{const R=[];let N=undefined;for(const $ of E){if(N!==undefined){R.push(similarity(N.key,$.key))}N=$}return R};E.exports=({maxSize:E,minSize:R,items:N,getSize:$,getKey:j})=>{const q=[];const G=Array.from(N,(E=>new Node(E,j(E),$(E))));const ie=[];G.sort(((E,R)=>{if(E.keyR.key)return 1;return 0}));for(const N of G){if(isTooBig(N.size,E)&&!isTooSmall(N.size,R)){q.push(new Group([N],[]))}else{ie.push(N)}}if(ie.length>0){const N=new Group(ie,getSimilarities(ie));const removeProblematicNodes=(E,N=E.size)=>{const $=getTooSmallTypes(N,R);if($.size>0){const R=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,$)>0));if(R===undefined)return false;const N=q.filter((E=>getNumberOfMatchingSizeTypes(E.size,$)>0));if(N.length>0){const E=N.reduce(((E,R)=>{const N=getNumberOfMatchingSizeTypes(E,$);const j=getNumberOfMatchingSizeTypes(R,$);if(N!==j)return NselectiveSizeSum(R.size,$))return R;return E}));for(const N of R)E.nodes.push(N);E.nodes.sort(((E,R)=>{if(E.keyR.key)return 1;return 0}))}else{q.push(new Group(R,null))}return true}else{return false}};if(N.nodes.length>0){const $=[N];while($.length){const N=$.pop();if(!isTooBig(N.size,E)){q.push(N);continue}if(removeProblematicNodes(N)){$.push(N);continue}let j=1;let G=Object.create(null);addSizeTo(G,N.nodes[0].size);while(j=0&&isTooSmall(ae,R)){addSizeTo(ae,N.nodes[ie].size);ie--}if(j-1>ie){let E;if(ie{if(E.nodes[0].keyR.nodes[0].key)return 1;return 0}));const ae=new Set;for(let E=0;E({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const R=E.indexOf("@");return[E.substring(R+1),E.substring(0,R)]}},62598:E=>{"use strict";const R=0;const N=1;const $=2;const j=3;const q=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=R;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,G)=>{const ie=new Map;for(const R of E){const E=new Node(R);ie.set(R,E)}if(ie.size<=1)return E;for(const E of ie.values()){for(const R of G(E.item)){const N=ie.get(R);if(N!==undefined){E.dependencies.add(N)}}}const ae=new Set;const le=new Set;for(const E of ie.values()){if(E.marker===R){E.marker=N;const G=[{node:E,openEdges:Array.from(E.dependencies)}];while(G.length>0){const E=G[G.length-1];if(E.openEdges.length>0){const ie=E.openEdges.pop();switch(ie.marker){case R:G.push({node:ie,openEdges:Array.from(ie.dependencies)});ie.marker=N;break;case N:{let E=ie.cycle;if(!E){E=new Cycle;E.nodes.add(ie);ie.cycle=E}for(let R=G.length-1;G[R].node!==ie;R--){const N=G[R].node;if(N.cycle){if(N.cycle!==E){for(const R of N.cycle.nodes){R.cycle=E;E.nodes.add(R)}}}else{N.cycle=E;E.nodes.add(N)}}break}case q:ie.marker=$;ae.delete(ie);break;case j:le.delete(ie.cycle);ie.marker=$;break}}else{G.pop();E.node.marker=$}}const ie=E.cycle;if(ie){for(const E of ie.nodes){E.marker=j}le.add(ie)}else{E.marker=q;ae.add(E)}}}for(const E of le){let R=0;const N=new Set;const $=E.nodes;for(const E of $){for(const j of E.dependencies){if($.has(j)){j.incoming++;if(j.incomingR){N.clear();R=j.incoming}N.add(j)}}}for(const E of N){ae.add(E)}}if(ae.size>0){return Array.from(ae,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,R,N)=>{"use strict";const $=N(71017);const relative=(E,R,N)=>{if(E&&E.relative){return E.relative(R,N)}else if($.posix.isAbsolute(R)){return $.posix.relative(R,N)}else if($.win32.isAbsolute(R)){return $.win32.relative(R,N)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};R.relative=relative;const join=(E,R,N)=>{if(E&&E.join){return E.join(R,N)}else if($.posix.isAbsolute(R)){return $.posix.join(R,N)}else if($.win32.isAbsolute(R)){return $.win32.join(R,N)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};R.join=join;const dirname=(E,R)=>{if(E&&E.dirname){return E.dirname(R)}else if($.posix.isAbsolute(R)){return $.posix.dirname(R)}else if($.win32.isAbsolute(R)){return $.win32.dirname(R)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};R.dirname=dirname;const mkdirp=(E,R,N)=>{E.mkdir(R,($=>{if($){if($.code==="ENOENT"){const j=dirname(E,R);if(j===R){N($);return}mkdirp(E,j,($=>{if($){N($);return}E.mkdir(R,(E=>{if(E){if(E.code==="EEXIST"){N();return}N(E);return}N()}))}));return}else if($.code==="EEXIST"){N();return}N($);return}N()}))};R.mkdirp=mkdirp;const mkdirpSync=(E,R)=>{try{E.mkdirSync(R)}catch(N){if(N){if(N.code==="ENOENT"){const $=dirname(E,R);if($===R){throw N}mkdirpSync(E,$);E.mkdirSync(R);return}else if(N.code==="EEXIST"){return}throw N}}};R.mkdirpSync=mkdirpSync;const readJson=(E,R,N)=>{if("readJson"in E)return E.readJson(R,N);E.readFile(R,((E,R)=>{if(E)return N(E);let $;try{$=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}return N(null,$)}))};R.readJson=readJson;const lstatReadlinkAbsolute=(E,R,N)=>{let $=3;const doReadLink=()=>{E.readlink(R,((j,q)=>{if(j&&--$>0){return doStat()}if(j||!q)return doStat();const G=q.toString();N(null,join(E,dirname(E,R),G))}))};const doStat=()=>{if("lstat"in E){return E.lstat(R,((E,R)=>{if(E)return N(E);if(R.isSymbolicLink()){return doReadLink()}N(null,R)}))}else{return E.stat(R,N)}};if("lstat"in E)return doStat();doReadLink()};R.lstatReadlinkAbsolute=lstatReadlinkAbsolute},89312:(E,R,N)=>{"use strict";const $=N(75066);const j=N(27100).MAX_SHORT_STRING;class BatchedHash extends ${constructor(E){super();this.string=undefined;this.encoding=undefined;this.hash=E}update(E,R){if(this.string!==undefined){if(typeof E==="string"&&R===this.encoding&&this.string.length+E.length{"use strict";const $=N(27100);const j=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));E.exports=$.bind(null,j,[],64,32)},27100:E=>{"use strict";const R=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(E,R,N,$){const j=E.exports;j.init();this.exports=j;this.mem=Buffer.from(j.memory.buffer,0,65536);this.buffered=0;this.instancesPool=R;this.chunkSize=N;this.digestSize=$}reset(){this.buffered=0;this.exports.init()}update(E,N){if(typeof E==="string"){while(E.length>R){this._updateWithShortString(E.slice(0,R),N);E=E.slice(R)}this._updateWithShortString(E,N);return this}this._updateWithBuffer(E);return this}_updateWithShortString(E,R){const{exports:N,buffered:$,mem:j,chunkSize:q}=this;let G;if(E.length<70){if(!R||R==="utf-8"||R==="utf8"){G=$;for(let N=0;N>6|192;j[G+1]=$&63|128;G+=2}else{G+=j.write(E.slice(N),G,R);break}}}else if(R==="latin1"){G=$;for(let R=0;R0)j.copyWithin(0,E,G)}}_updateWithBuffer(E){const{exports:R,buffered:N,mem:$}=this;const j=E.length;if(N+j65536){let j=65536-N;E.copy($,N,0,j);R.update(65536);const G=q-N-65536;while(j0)E.copy($,0,j-G,j)}}digest(E){const{exports:R,buffered:N,mem:$,digestSize:j}=this;R.final(N);this.instancesPool.push(this);const q=$.toString("latin1",0,j);if(E==="hex")return q;if(E==="binary"||!E)return Buffer.from(q,"hex");return Buffer.from(q,"hex").toString(E)}}const create=(E,R,N,$)=>{if(R.length>0){const E=R.pop();E.reset();return E}else{return new WasmHash(new WebAssembly.Instance(E),R,N,$)}};E.exports=create;E.exports.MAX_SHORT_STRING=R},92976:(E,R,N)=>{"use strict";const $=N(27100);const j=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));E.exports=$.bind(null,j,[],32,16)},49197:(E,R,N)=>{"use strict";const $=N(71017);const j=/^[a-zA-Z]:[\\/]/;const q=/([|!])/;const G=/\\/g;const relativePathToRequest=E=>{if(E==="")return"./.";if(E==="..")return"../.";if(E.startsWith("../"))return E;return`./${E}`};const absoluteToRequest=(E,R)=>{if(R[0]==="/"){if(R.length>1&&R[R.length-1]==="/"){return R}const N=R.indexOf("?");let j=N===-1?R:R.slice(0,N);j=relativePathToRequest($.posix.relative(E,j));return N===-1?j:j+R.slice(N)}if(j.test(R)){const N=R.indexOf("?");let q=N===-1?R:R.slice(0,N);q=$.win32.relative(E,q);if(!j.test(q)){q=relativePathToRequest(q.replace(G,"/"))}return N===-1?q:q+R.slice(N)}return R};const requestToAbsolute=(E,R)=>{if(R.startsWith("./")||R.startsWith("../"))return $.join(E,R);return R};const makeCacheable=E=>{const R=new WeakMap;const cachedFn=(N,$,j)=>{if(!j)return E(N,$);let q=R.get(j);if(q===undefined){q=new Map;R.set(j,q)}let G;let ie=q.get(N);if(ie===undefined){q.set(N,ie=new Map)}else{G=ie.get($)}if(G!==undefined){return G}else{const R=E(N,$);ie.set($,R);return R}};cachedFn.bindCache=N=>{let $;if(N){$=R.get(N);if($===undefined){$=new Map;R.set(N,$)}}else{$=new Map}const boundFn=(R,N)=>{let j;let q=$.get(R);if(q===undefined){$.set(R,q=new Map)}else{j=q.get(N)}if(j!==undefined){return j}else{const $=E(R,N);q.set(N,$);return $}};return boundFn};cachedFn.bindContextCache=(N,$)=>{let j;if($){let E=R.get($);if(E===undefined){E=new Map;R.set($,E)}j=E.get(N);if(j===undefined){E.set(N,j=new Map)}}else{j=new Map}const boundFn=R=>{const $=j.get(R);if($!==undefined){return $}else{const $=E(N,R);j.set(R,$);return $}};return boundFn};return cachedFn};const _makePathsRelative=(E,R)=>R.split(q).map((R=>absoluteToRequest(E,R))).join("");R.makePathsRelative=makeCacheable(_makePathsRelative);const _makePathsAbsolute=(E,R)=>R.split(q).map((R=>requestToAbsolute(E,R))).join("");R.makePathsAbsolute=makeCacheable(_makePathsAbsolute);const _contextify=(E,R)=>R.split("!").map((R=>absoluteToRequest(E,R))).join("!");const ie=makeCacheable(_contextify);R.contextify=ie;const _absolutify=(E,R)=>R.split("!").map((R=>requestToAbsolute(E,R))).join("!");const ae=makeCacheable(_absolutify);R.absolutify=ae;const le=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const R=le.exec(E);return{resource:E,path:R[1].replace(/\0(.)/g,"$1"),query:R[2]?R[2].replace(/\0(.)/g,"$1"):"",fragment:R[3]||""}};R.parseResource=(E=>{const R=new WeakMap;const getCache=E=>{const N=R.get(E);if(N!==undefined)return N;const $=new Map;R.set(E,$);return $};const fn=(R,N)=>{if(!N)return E(R);const $=getCache(N);const j=$.get(R);if(j!==undefined)return j;const q=E(R);$.set(R,q);return q};fn.bindCache=R=>{const N=getCache(R);return R=>{const $=N.get(R);if($!==undefined)return $;const j=E(R);N.set(R,j);return j}};return fn})(_parseResource);R.getUndoPath=(E,R,N)=>{let $=-1;let j="";R=R.replace(/[\\/]$/,"");for(const N of E.split(/[/\\]+/)){if(N===".."){if($>-1){$--}else{const E=R.lastIndexOf("/");const N=R.lastIndexOf("\\");const $=E<0?N:N<0?E:Math.max(E,N);if($<0)return R+"/";j=R.slice($+1)+"/"+j;R=R.slice(0,$)}}else if(N!=="."){$++}}return $>0?`${"../".repeat($)}${j}`:N?`./${j}`:j}},90331:(E,R,N)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>N(98221),CommentCompilationWarning:()=>N(47207),ContextModule:()=>N(58126),"cache/PackFileCacheStrategy":()=>N(83793),"cache/ResolverCachePlugin":()=>N(13653),"container/ContainerEntryDependency":()=>N(76041),"container/ContainerEntryModule":()=>N(89591),"container/ContainerExposedDependency":()=>N(4523),"container/FallbackDependency":()=>N(27426),"container/FallbackItemDependency":()=>N(55525),"container/FallbackModule":()=>N(13386),"container/RemoteModule":()=>N(68679),"container/RemoteToExternalDependency":()=>N(44742),"dependencies/AMDDefineDependency":()=>N(46960),"dependencies/AMDRequireArrayDependency":()=>N(95715),"dependencies/AMDRequireContextDependency":()=>N(38145),"dependencies/AMDRequireDependenciesBlock":()=>N(83842),"dependencies/AMDRequireDependency":()=>N(45167),"dependencies/AMDRequireItemDependency":()=>N(29022),"dependencies/CachedConstDependency":()=>N(59455),"dependencies/CreateScriptUrlDependency":()=>N(7257),"dependencies/CommonJsRequireContextDependency":()=>N(51454),"dependencies/CommonJsExportRequireDependency":()=>N(1248),"dependencies/CommonJsExportsDependency":()=>N(26702),"dependencies/CommonJsFullRequireDependency":()=>N(87519),"dependencies/CommonJsRequireDependency":()=>N(37313),"dependencies/CommonJsSelfReferenceDependency":()=>N(94147),"dependencies/ConstDependency":()=>N(66298),"dependencies/ContextDependency":()=>N(400),"dependencies/ContextElementDependency":()=>N(90872),"dependencies/CriticalDependencyWarning":()=>N(75314),"dependencies/DelegatedSourceDependency":()=>N(49422),"dependencies/DllEntryDependency":()=>N(95189),"dependencies/EntryDependency":()=>N(66583),"dependencies/ExportsInfoDependency":()=>N(51420),"dependencies/HarmonyAcceptDependency":()=>N(27790),"dependencies/HarmonyAcceptImportDependency":()=>N(80654),"dependencies/HarmonyCompatibilityDependency":()=>N(54290),"dependencies/HarmonyExportExpressionDependency":()=>N(55037),"dependencies/HarmonyExportHeaderDependency":()=>N(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>N(44576),"dependencies/HarmonyExportSpecifierDependency":()=>N(14696),"dependencies/HarmonyImportSideEffectDependency":()=>N(69707),"dependencies/HarmonyImportSpecifierDependency":()=>N(2230),"dependencies/ImportContextDependency":()=>N(4828),"dependencies/ImportDependency":()=>N(20013),"dependencies/ImportEagerDependency":()=>N(75708),"dependencies/ImportWeakDependency":()=>N(12849),"dependencies/JsonExportsDependency":()=>N(38895),"dependencies/LocalModule":()=>N(77230),"dependencies/LocalModuleDependency":()=>N(14229),"dependencies/ModuleDecoratorDependency":()=>N(2706),"dependencies/ModuleHotAcceptDependency":()=>N(21809),"dependencies/ModuleHotDeclineDependency":()=>N(73158),"dependencies/ImportMetaHotAcceptDependency":()=>N(76302),"dependencies/ImportMetaHotDeclineDependency":()=>N(5389),"dependencies/ProvidedDependency":()=>N(1335),"dependencies/PureExpressionDependency":()=>N(53567),"dependencies/RequireContextDependency":()=>N(19204),"dependencies/RequireEnsureDependenciesBlock":()=>N(15196),"dependencies/RequireEnsureDependency":()=>N(15427),"dependencies/RequireEnsureItemDependency":()=>N(81058),"dependencies/RequireHeaderDependency":()=>N(70340),"dependencies/RequireIncludeDependency":()=>N(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>N(1913),"dependencies/RequireResolveContextDependency":()=>N(84817),"dependencies/RequireResolveDependency":()=>N(76913),"dependencies/RequireResolveHeaderDependency":()=>N(23380),"dependencies/RuntimeRequirementsDependency":()=>N(35424),"dependencies/StaticExportsDependency":()=>N(96076),"dependencies/SystemPlugin":()=>N(62630),"dependencies/UnsupportedDependency":()=>N(12584),"dependencies/URLDependency":()=>N(66444),"dependencies/WebAssemblyExportImportedDependency":()=>N(30697),"dependencies/WebAssemblyImportDependency":()=>N(33081),"dependencies/WebpackIsIncludedDependency":()=>N(46715),"dependencies/WorkerDependency":()=>N(89017),"json/JsonData":()=>N(72055),"optimize/ConcatenatedModule":()=>N(95734),DelegatedModule:()=>N(3955),DependenciesBlock:()=>N(32448),DllModule:()=>N(44593),ExternalModule:()=>N(16734),FileSystemInfo:()=>N(22996),InitFragment:()=>N(63272),InvalidDependenciesModuleWarning:()=>N(49619),Module:()=>N(53453),ModuleBuildError:()=>N(26509),ModuleDependencyWarning:()=>N(23280),ModuleError:()=>N(91613),ModuleGraph:()=>N(75412),ModuleParseError:()=>N(14489),ModuleWarning:()=>N(8893),NormalModule:()=>N(53520),RawModule:()=>N(22804),"sharing/ConsumeSharedModule":()=>N(21606),"sharing/ConsumeSharedFallbackDependency":()=>N(86827),"sharing/ProvideSharedModule":()=>N(99114),"sharing/ProvideSharedDependency":()=>N(56049),"sharing/ProvideForSharedDependency":()=>N(31095),UnsupportedFeatureWarning:()=>N(53558),"util/LazySet":()=>N(83379),UnhandledSchemeError:()=>N(77090),NodeStuffInWebError:()=>N(39960),WebpackError:()=>N(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,R,N)=>{"use strict";const{register:$}=N(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,R){E.serialize(R)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const R=new this.Constructor;R.deserialize(E);return R}}E.exports=(E,R,N=null)=>{$(E,R,N,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let R=false;let N=undefined;return()=>{if(R){return N}else{N=E();R=true;E=undefined;return N}}};E.exports=memoize},12631:E=>{"use strict";const R=2147483648;const N=R-1;const $=4;const j=[0,0,0,0,0];const q=[3,7,17,19];E.exports=(E,G)=>{j.fill(0);for(let R=0;R>1}}if(G<=N){let E=0;for(let R=0;R<$;R++){E=(E+j[R])%G}return E}else{let E=0;let q=0;const ie=Math.floor(G/R);for(let R=0;R<$;R+=2){E=E+j[R]&N}for(let E=1;E<$;E+=2){q=(q+j[E])%ie}return(q*R+E)%G}}},2117:E=>{"use strict";const processAsyncTree=(E,R,N,$)=>{const j=Array.from(E);if(j.length===0)return $();let q=0;let G=false;let ie=true;const push=E=>{j.push(E);if(!ie&&q{q--;if(E&&!G){G=true;$(E);return}if(!ie){ie=true;process.nextTick(processQueue)}};const processQueue=()=>{if(G)return;while(q0){q++;const E=j.pop();N(E,push,processorCallback)}ie=false;if(j.length===0&&q===0&&!G){G=true;$()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const R=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const N=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","enum","implements","interface","let","package","private","protected","public","static","yield","yield","await","null","true","false"]);const propertyAccess=(E,$=0)=>{let j="";for(let q=$;q{"use strict";const{register:$}=N(24568);const j=N(20976).Position;const q=N(20976).SourceLocation;const G=N(24672)["default"];const{CachedSource:ie,ConcatSource:ae,OriginalSource:le,PrefixSource:_e,RawSource:Ee,ReplaceSource:we,SourceMapSource:Me}=N(2991);const Ie="webpack/lib/util/registerExternalSerializer";$(ie,Ie,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:R,writeLazy:N}){if(N){N(E.originalLazy())}else{R(E.original())}R(E.getCachedData())}deserialize({read:E}){const R=E();const N=E();return new ie(R,N)}});$(Ee,Ie,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:R}){R(E.buffer());R(!E.isBuffer())}deserialize({read:E}){const R=E();const N=E();return new Ee(R,N)}});$(ae,Ie,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:R}){R(E.getChildren())}deserialize({read:E}){const R=new ae;R.addAllSkipOptimizing(E());return R}});$(_e,Ie,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:R}){R(E.getPrefix());R(E.original())}deserialize({read:E}){return new _e(E(),E())}});$(we,Ie,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:R}){R(E.original());R(E.getName());const N=E.getReplacements();R(N.length);for(const E of N){R(E.start);R(E.end)}for(const E of N){R(E.content);R(E.name)}}deserialize({read:E}){const R=new we(E(),E());const N=E();const $=[];for(let R=0;R{"use strict";const $=N(16102);R.getEntryRuntime=(E,R,N)=>{let $;let j;if(N){({dependOn:$,runtime:j}=N)}else{const N=E.entries.get(R);if(!N)return R;({dependOn:$,runtime:j}=N.options)}if($){let N=undefined;const j=new Set($);for(const R of j){const $=E.entries.get(R);if(!$)continue;const{dependOn:q,runtime:G}=$.options;if(q){for(const E of q){j.add(E)}}else{N=mergeRuntimeOwned(N,G||R)}}return N||R}else{return j||R}};R.forEachRuntime=(E,R,N=false)=>{if(E===undefined){R(undefined)}else if(typeof E==="string"){R(E)}else{if(N)E.sort();for(const N of E){R(N)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};R.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const R=E.split("\n");if(R.length===1)return R[0];return new $(R)};R.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};R.runtimeToString=runtimeToString;R.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,R)=>{if(E===R){return true}else if(E===undefined||R===undefined||typeof E==="string"||typeof R==="string"){return false}else if(E.size!==R.size){return false}else{E.sort();R.sort();const N=E[Symbol.iterator]();const $=R[Symbol.iterator]();for(;;){const E=N.next();if(E.done)return true;const R=$.next();if(E.value!==R.value)return false}}};R.runtimeEqual=runtimeEqual;R.compareRuntime=(E,R)=>{if(E===R){return 0}else if(E===undefined){return-1}else if(R===undefined){return 1}else{const N=getRuntimeKey(E);const $=getRuntimeKey(R);if(N<$)return-1;if(N>$)return 1;return 0}};const mergeRuntime=(E,R)=>{if(E===undefined){return R}else if(R===undefined){return E}else if(E===R){return E}else if(typeof E==="string"){if(typeof R==="string"){const N=new $;N.add(E);N.add(R);return N}else if(R.has(E)){return R}else{const N=new $(R);N.add(E);return N}}else{if(typeof R==="string"){if(E.has(R))return E;const N=new $(E);N.add(R);return N}else{const N=new $(E);for(const E of R)N.add(E);if(N.size===E.size)return E;return N}}};R.mergeRuntime=mergeRuntime;R.mergeRuntimeCondition=(E,R,N)=>{if(E===false)return R;if(R===false)return E;if(E===true||R===true)return true;const $=mergeRuntime(E,R);if($===undefined)return undefined;if(typeof $==="string"){if(typeof N==="string"&&$===N)return true;return $}if(typeof N==="string"||N===undefined)return $;if($.size===N.size)return true;return $};R.mergeRuntimeConditionNonFalse=(E,R,N)=>{if(E===true||R===true)return true;const $=mergeRuntime(E,R);if($===undefined)return undefined;if(typeof $==="string"){if(typeof N==="string"&&$===N)return true;return $}if(typeof N==="string"||N===undefined)return $;if($.size===N.size)return true;return $};const mergeRuntimeOwned=(E,R)=>{if(R===undefined){return E}else if(E===R){return E}else if(E===undefined){if(typeof R==="string"){return R}else{return new $(R)}}else if(typeof E==="string"){if(typeof R==="string"){const N=new $;N.add(E);N.add(R);return N}else{const N=new $(R);N.add(E);return N}}else{if(typeof R==="string"){E.add(R);return E}else{for(const N of R)E.add(N);return E}}};R.mergeRuntimeOwned=mergeRuntimeOwned;R.intersectRuntime=(E,R)=>{if(E===undefined){return R}else if(R===undefined){return E}else if(E===R){return E}else if(typeof E==="string"){if(typeof R==="string"){return undefined}else if(R.has(E)){return E}else{return undefined}}else{if(typeof R==="string"){if(E.has(R))return R;return undefined}else{const N=new $;for(const $ of R){if(E.has($))N.add($)}if(N.size===0)return undefined;if(N.size===1)for(const E of N)return E;return N}}};const subtractRuntime=(E,R)=>{if(E===undefined){return undefined}else if(R===undefined){return E}else if(E===R){return undefined}else if(typeof E==="string"){if(typeof R==="string"){return E}else if(R.has(E)){return undefined}else{return E}}else{if(typeof R==="string"){if(!E.has(R))return E;if(E.size===2){for(const N of E){if(N!==R)return N}}const N=new $(E);N.delete(R)}else{const N=new $;for(const $ of E){if(!R.has($))N.add($)}if(N.size===0)return undefined;if(N.size===1)for(const E of N)return E;return N}}};R.subtractRuntime=subtractRuntime;R.subtractRuntimeCondition=(E,R,N)=>{if(R===true)return false;if(R===false)return E;if(E===false)return false;const $=subtractRuntime(E===true?N:E,R);return $===undefined?false:$};R.filterRuntime=(E,R)=>{if(E===undefined)return R(undefined);if(typeof E==="string")return R(E);let N=false;let $=true;let j=undefined;for(const q of E){const E=R(q);if(E){N=true;j=mergeRuntimeOwned(j,q)}else{$=false}}if(!N)return false;if($)return true;return j};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,R){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=R;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=R;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),R)}}provide(E,R){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=R();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const N=R();this._map.set(getRuntimeKey(E),N);return N}default:{const N=getRuntimeKey(E);const $=this._map.get(N);if($!==undefined)return $;const j=R();this._map.set(N,j);return j}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,R){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=R(this._singleValue);break}const N=R(undefined);if(N!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),N)}break}default:{const N=getRuntimeKey(E);const $=this._map.get(N);const j=R($);if(j!==$)this._map.set(N,j)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}R.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const R of E){this.add(R)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}R.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,R){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var R=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var N=R[1]?splitAndConvert(R[1]):[];if(R[2]){N.length++;N.push.apply(N,splitAndConvert(R[2]))}if(R[3]){N.push([]);N.push.apply(N,splitAndConvert(R[3]))}return N};R.parseVersion=parseVersion;const versionLt=(E,R)=>{E=parseVersion(E);R=parseVersion(R);var N=0;for(;;){if(N>=E.length)return N=R.length)return j=="u";var q=R[N];var G=(typeof q)[0];if(j==G){if(j!="o"&&j!="u"&&$!=q){return ${const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const R=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const N=R[1]?[0,...splitAndConvert(R[1])]:[0];if(R[2]){N.length++;N.push.apply(N,splitAndConvert(R[2]))}let $=N[N.length-1];while(N.length&&($===undefined||/^[*xX]$/.test($))){N.pop();$=N[N.length-1]}return N};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const R=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const N=R?R[0]:"";const $=parsePartial(E.slice(N.length));switch(N){case"^":if($.length>1&&$[1]===0){if($.length>2&&$[2]===0){return[3,...$.slice(1)]}return[2,...$.slice(1)]}return[1,...$.slice(1)];case"~":return[2,...$.slice(1)];case">=":return $;case"=":case"v":case"":return toFixed($);case"<":return negate($);case">":{const E=toFixed($);return[,E,0,$,2]}case"<=":return[,toFixed($),negate($),1];case"!":{const E=toFixed($);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,R)=>{if(E.length===1)return E[0];const N=[];for(const R of E.slice().reverse()){if(0 in R){N.push(R)}else{N.push(...R.slice(1))}}return[,...N,...E.slice(1).map((()=>R))]};const parseRange=E=>{const R=E.split(" - ");if(R.length===1){const R=E.trim().split(/\s+/g).map(parseSimple);return combine(R,2)}const N=parsePartial(R[0]);const $=parsePartial(R[1]);return[,toFixed($),negate($),1,N,2]};const parseLogicalOr=E=>{const R=E.split(/\s*\|\|\s*/).map(parseRange);return combine(R,1)};return parseLogicalOr(E)};const rangeToString=E=>{var R=E[0];var N="";if(E.length===1){return"*"}else if(R+.5){N+=R==0?">=":R==-1?"<":R==1?"^":R==2?"~":R>0?"=":"!=";var $=1;for(var j=1;j0?".":"")+($=2,q)}return N}else{var ie=[];for(var j=1;j{if(0 in E){R=parseVersion(R);var N=E[0];var $=N<0;if($)N=-N-1;for(var j=0,q=1,G=true;;q++,j++){var ie=q=R.length||(ae=R[j],(le=(typeof ae)[0])=="o")){if(!G)return true;if(ie=="u")return q>N&&!$;return ie==""!=$}if(le=="u"){if(!G||ie!="u"){return false}}else if(G){if(ie==le){if(q<=N){if(ae!=E[q]){return false}}else{if($?ae>E[q]:ae{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let R="[";for(let N=0;N`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;R.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const $=N(91671);const j=$((()=>N(88692)));const q=$((()=>N(30991)));const G=$((()=>N(79308)));const ie=$((()=>N(15261)));const ae=$((()=>N(43065)));const le=$((()=>new(j())));const _e=$((()=>{N(48077);const E=N(90331);q().registerLoader(/^webpack\/lib\//,(R=>{const N=E[R.slice("webpack/lib/".length)];if(N){N()}else{console.warn(`${R} not found in internalSerializables`)}return true}))}));let Ee;E.exports={get register(){return q().register},get registerLoader(){return q().registerLoader},get registerNotSerializable(){return q().registerNotSerializable},get NOT_SERIALIZABLE(){return q().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return j().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return j().MEASURE_END_OPERATION},get buffersSerializer(){if(Ee!==undefined)return Ee;_e();const E=ie();const R=le();const N=ae();const $=G();return Ee=new E([new $,new(q())((E=>{if(E.write){E.writeLazy=$=>{E.write(N.createLazy($,R))}}}),"md4"),R])},createFileSerializer:(E,R)=>{_e();const $=ie();const j=N(13829);const Ee=new j(E,R);const we=le();const Me=ae();const Ie=G();return new $([new Ie,new(q())((E=>{if(E.write){E.writeLazy=R=>{E.write(Me.createLazy(R,we))};E.writeSeparate=(R,N)=>{const $=Me.createLazy(R,Ee,N);E.write($);return $}}}),R),we,Ee])}}},93695:E=>{"use strict";const smartGrouping=(E,R)=>{const N=new Set;const $=new Map;for(const j of E){const E=new Set;for(let N=0;N{const R=E.size;for(const R of E){for(const E of R.groups){if(E.alreadyGrouped)continue;const N=E.items;if(N===undefined){E.items=new Set([R])}else{N.add(R)}}}const N=new Map;for(const E of $.values()){if(E.items){const R=E.items;E.items=undefined;N.set(E,{items:R,options:undefined,used:false})}}const j=[];for(;;){let $=undefined;let q=-1;let G=undefined;let ie=undefined;for(const[j,ae]of N){const{items:N,used:le}=ae;let _e=ae.options;if(_e===undefined){const E=j.config;ae.options=_e=E.getOptions&&E.getOptions(j.name,Array.from(N,(({item:E})=>E)))||false}const Ee=_e&&_e.force;if(!Ee){if(ie&&ie.force)continue;if(le)continue;if(N.size<=1||R-N.size<=1){continue}}const we=_e&&_e.targetGroupCount||4;let Me=Ee?N.size:Math.min(N.size,R*2/we+E.size-N.size);if(Me>q||Ee&&(!ie||!ie.force)){$=j;q=Me;G=N;ie=_e}}if($===undefined){break}const ae=new Set(G);const le=ie;const _e=!le||le.groupChildren!==false;for(const R of ae){E.delete(R);for(const E of R.groups){const $=N.get(E);if($!==undefined){$.items.delete(R);if($.items.size===0){N.delete(E)}else{$.options=undefined;if(_e){$.used=true}}}}}N.delete($);const Ee=$.name;const we=$.config;const Me=Array.from(ae,(({item:E})=>E));$.alreadyGrouped=true;const Ie=_e?runGrouping(ae):Me;$.alreadyGrouped=false;j.push(we.createGroup(Ee,Ie,Me))}for(const{item:R}of E){j.push(R)}return j};return runGrouping(N)};E.exports=smartGrouping},13559:(E,R)=>{"use strict";const N=new WeakMap;const _isSourceEqual=(E,R)=>{let N=typeof E.buffer==="function"?E.buffer():E.source();let $=typeof R.buffer==="function"?R.buffer():R.source();if(N===$)return true;if(typeof N==="string"&&typeof $==="string")return false;if(!Buffer.isBuffer(N))N=Buffer.from(N,"utf-8");if(!Buffer.isBuffer($))$=Buffer.from($,"utf-8");return N.equals($)};const isSourceEqual=(E,R)=>{if(E===R)return true;const $=N.get(E);if($!==undefined){const E=$.get(R);if(E!==undefined)return E}const j=_isSourceEqual(E,R);if($!==undefined){$.set(R,j)}else{const $=new WeakMap;$.set(R,j);N.set(E,$)}const q=N.get(R);if(q!==undefined){q.set(E,j)}else{const $=new WeakMap;$.set(E,j);N.set(R,$)}return j};R.isSourceEqual=isSourceEqual},33316:(E,R,N)=>{"use strict";const{validate:$}=N(15235);const j={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const q={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,R,N)=>{$(E,R,N||{name:"Webpack",postFormatter:(E,R)=>{const N=R.children;if(N&&N.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(N&&N.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(R.keyword==="additionalProperties"){const N=R.params;if(Object.prototype.hasOwnProperty.call(j,N.additionalProperty)){return`${E}\nDid you mean ${j[N.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(q,N.additionalProperty)){return`${E}\n${q[N.additionalProperty]}?`}if(!R.dataPath){if(N.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(N.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${N.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},34943:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class AsyncWasmLoadingRuntimeModule extends j{constructor({generateLoadBinaryCode:E,supportsStreaming:R}){super("wasm loading",j.STAGE_NORMAL);this.generateLoadBinaryCode=E;this.supportsStreaming=R}generate(){const{compilation:E,chunk:R}=this;const{outputOptions:N,runtimeTemplate:j}=E;const G=$.instantiateWasm;const ie=E.getPath(JSON.stringify(N.webassemblyModuleFilename),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:R.runtime});return`${G} = ${j.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ie)};`,this.supportsStreaming?q.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",q.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",q.indent([`.then(${j.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",q.indent([`.then(${j.returningFunction("x.arrayBuffer()","x")})`,`.then(${j.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${j.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmLoadingRuntimeModule},10136:(E,R,N)=>{"use strict";const $=N(36253);const j=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends ${constructor(E){super();this.options=E}getTypes(E){return j}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()}generate(E,R){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(36253);const q=N(63272);const G=N(76150);const ie=N(58159);const ae=N(33081);const le=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends j{constructor(E){super();this.filenameTemplate=E}getTypes(E){return le}getSize(E,R){return 40+E.dependencies.length*10}generate(E,R){const{runtimeTemplate:N,chunkGraph:j,moduleGraph:le,runtimeRequirements:_e,runtime:Ee}=R;_e.add(G.module);_e.add(G.moduleId);_e.add(G.exports);_e.add(G.instantiateWasm);const we=[];const Me=new Map;const Ie=new Map;for(const R of E.dependencies){if(R instanceof ae){const E=le.getModule(R);if(!Me.has(E)){Me.set(E,{request:R.request,importVar:`WEBPACK_IMPORTED_MODULE_${Me.size}`})}let N=Ie.get(R.request);if(N===undefined){N=[];Ie.set(R.request,N)}N.push(R)}}const Te=[];const Ne=Array.from(Me,(([R,{request:$,importVar:q}])=>{if(le.isAsync(R)){Te.push(q)}return N.importStatement({update:false,module:R,chunkGraph:j,request:$,originModule:E,importVar:q,runtimeRequirements:_e})}));const Be=Ne.map((([E])=>E)).join("");const Le=Ne.map((([E,R])=>R)).join("");const je=Array.from(Ie,(([R,$])=>{const j=$.map(($=>{const j=le.getModule($);const q=Me.get(j).importVar;return`${JSON.stringify($.name)}: ${N.exportFromImport({moduleGraph:le,module:j,request:R,exportName:$.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:q,initFragments:we,runtime:Ee,runtimeRequirements:_e})}`}));return ie.asString([`${JSON.stringify(R)}: {`,ie.indent(j.join(",\n")),"}"])}));const ze=je.length>0?ie.asString(["{",ie.indent(je.join(",\n")),"}"]):undefined;const Ue=`${G.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify(j.getRenderedModuleHash(E,Ee))}`+(ze?`, ${ze})`:`)`);if(Te.length>0)_e.add(G.asyncModule);const qe=new $(Te.length>0?ie.asString([`var __webpack_instantiate__ = ${N.basicFunction(`[${Te.join(", ")}]`,`${Le}return ${Ue};`)}`,`${G.asyncModule}(${E.moduleArgument}, ${N.basicFunction("__webpack_handle_async_dependencies__",[Be,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Te.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Be}${Le}module.exports = ${Ue};`);return q.addToSource(qe,we,R)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(36253);const{tryRunOrWebpackError:G}=N(3728);const ie=N(33081);const{compareModulesByIdentifier:ae}=N(68673);const le=N(91671);const _e=le((()=>N(10136)));const Ee=le((()=>N(75462)));const we=le((()=>N(96263)));const Me=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Me.get(E);if(R===undefined){R={renderModuleContent:new $(["source","module","renderContext"])};Me.set(E,R)}return R}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:R})=>{const N=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ie,R);R.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=we();return new E}));R.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const R=Ee();const N=_e();return q.byType({javascript:new R(E.outputOptions.webassemblyModuleFilename),webassembly:new N(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((R,$)=>{const{moduleGraph:j,chunkGraph:q,runtimeTemplate:G}=E;const{chunk:ie,outputOptions:le,dependencyTemplates:_e,codeGenerationResults:Ee}=$;for(const E of q.getOrderedChunkModulesIterable(ie,ae)){if(E.type==="webassembly/async"){const $=le.webassemblyModuleFilename;R.push({render:()=>this.renderModule(E,{chunk:ie,dependencyTemplates:_e,runtimeTemplate:G,moduleGraph:j,chunkGraph:q,codeGenerationResults:Ee},N),filenameTemplate:$,pathOptions:{module:E,runtime:ie.runtime,chunkGraph:q},auxiliary:true,identifier:`webassemblyAsyncModule${q.getModuleId(E)}`,hash:q.getModuleHash(E,ie.runtime)})}}return R}))}))}renderModule(E,R,N){const{codeGenerationResults:$,chunk:j}=R;try{const q=$.getSource(E,j.runtime,"webassembly");return G((()=>N.renderModuleContent.call(q,E,R)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(R){R.module=E;throw R}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,R,N)=>{"use strict";const $=N(98093);const{decode:j}=N(73432);const q=N(2172);const G=N(96076);const ie=N(33081);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,R){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="namespace";R.module.buildMeta.async=true;const N=j(E,ae);const q=N.body[0];const le=[];$.traverse(q,{ModuleExport({node:E}){le.push(E.name)},ModuleImport({node:E}){const N=new ie(E.module,E.name,E.descr,false);R.module.addDependency(N)}});R.module.addDependency(new G(le,false));return R}}E.exports=WebAssemblyParser},59422:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends ${constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{compareModulesByIdentifier:G}=N(68673);const ie=N(20612);const getAllWasmModules=(E,R,N)=>{const $=N.getAllAsyncChunks();const j=[];for(const E of $){for(const N of R.getOrderedChunkModulesIterable(E,G)){if(N.type.startsWith("webassembly")){j.push(N)}}}return j};const generateImportObject=(E,R,N,j,G)=>{const ae=E.moduleGraph;const le=new Map;const _e=[];const Ee=ie.getUsedDependencies(ae,R,N);for(const R of Ee){const N=R.dependency;const ie=ae.getModule(N);const Ee=N.name;const we=ie&&ae.getExportsInfo(ie).getUsedName(Ee,G);const Me=N.description;const Ie=N.onlyDirectImport;const Te=R.module;const Ne=R.name;if(Ie){const R=`m${le.size}`;le.set(R,E.getModuleId(ie));_e.push({module:Te,name:Ne,value:`${R}[${JSON.stringify(we)}]`})}else{const R=Me.signature.params.map(((E,R)=>"p"+R+E.valtype));const N=`${$.moduleCache}[${JSON.stringify(E.getModuleId(ie))}]`;const G=`${N}.exports`;const ae=`wasmImportedFuncCache${j.length}`;j.push(`var ${ae};`);_e.push({module:Te,name:Ne,value:q.asString([(ie.type.startsWith("webassembly")?`${N} ? ${G}[${JSON.stringify(we)}] : `:"")+`function(${R}) {`,q.indent([`if(${ae} === undefined) ${ae} = ${G};`,`return ${ae}[${JSON.stringify(we)}](${R});`]),"}"])})}}let we;if(N){we=["return {",q.indent([_e.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const R of _e){let N=E.get(R.module);if(N===undefined){E.set(R.module,N=[])}N.push(R)}we=["return {",q.indent([Array.from(E,(([E,R])=>q.asString([`${JSON.stringify(E)}: {`,q.indent([R.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Me=JSON.stringify(E.getModuleId(R));if(le.size===1){const E=Array.from(le.values())[0];const R=`installedWasmModules[${JSON.stringify(E)}]`;const N=Array.from(le.keys())[0];return q.asString([`${Me}: function() {`,q.indent([`return promiseResolve().then(function() { return ${R}; }).then(function(${N}) {`,q.indent(we),"});"]),"},"])}else if(le.size>0){const E=Array.from(le.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const R=Array.from(le.keys(),((E,R)=>`${E} = array[${R}]`)).join(", ");return q.asString([`${Me}: function() {`,q.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,q.indent([`var ${R};`,...we]),"});"]),"},"])}else{return q.asString([`${Me}: function() {`,q.indent(we),"},"])}};class WasmChunkLoadingRuntimeModule extends j{constructor({generateLoadBinaryCode:E,supportsStreaming:R,mangleImports:N,runtimeRequirements:$}){super("wasm chunk loading",j.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=R;this.mangleImports=N;this._runtimeRequirements=$}generate(){const{chunkGraph:E,compilation:R,chunk:N,mangleImports:j}=this;const{moduleGraph:G,outputOptions:ae}=R;const le=$.ensureChunkHandlers;const _e=this._runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Ee=getAllWasmModules(G,E,N);const we=[];const Me=Ee.map((R=>generateImportObject(E,R,this.mangleImports,we,N.runtime)));const Ie=E.getChunkModuleIdMap(N,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>j?`{ ${JSON.stringify(ie.MANGLED_MODULE)}: ${E} }`:E;const Te=R.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(N,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(R){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(N,(E=>E.type.startsWith("webassembly")),R))}[chunkId][wasmModuleId] + "`}},runtime:N.runtime});const Ne=_e?`${$.hmrRuntimeStatePrefix}_wasm`:undefined;return q.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Ne?`${Ne} = ${Ne} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",q.asString(we),"var wasmImportObjects = {",q.indent(Me),"};","",`var wasmModuleMap = ${JSON.stringify(Ie,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${$.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${le}.wasm = function(chunkId, promises) {`,q.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",q.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",q.indent(["promises.push(installedWasmModuleData);"]),"else {",q.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Te)};`,"var promise;",this.supportsStreaming?q.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",q.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",q.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):q.asString(["if(importObject && typeof importObject.then === 'function') {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",q.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",q.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",q.indent([`return ${$.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,R,N)=>{"use strict";const $=N(72380);const j=N(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(R=>{for(const N of R){if(N.type.startsWith("webassembly")===true){const R=N.buildMeta.jsIncompatibleExports;if(R===undefined){continue}for(const q of E.moduleGraph.getIncomingConnections(N)){if(q.isTargetActive(undefined)&&q.originModule.type.startsWith("webassembly")===false){const G=E.getDependencyReferencedExports(q.dependency,undefined);for(const ie of G){const G=Array.isArray(ie)?ie:ie.name;if(G.length===0)continue;const ae=G[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(R,ae)){const G=new j(`Export "${ae}" with ${R[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${q.originModule.readableIdentifier(E.requestShortener)} at ${$(q.dependency.loc)}.`);G.module=N;E.errors.push(G)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const j=N(36253);const q=N(20612);const G=N(98093);const{moduleContextFromModuleAST:ie}=N(98093);const{editWithAST:ae,addWithAST:le}=N(226);const{decode:_e}=N(73432);const Ee=N(30697);const compose=(...E)=>E.reduce(((E,R)=>N=>R(E(N))),(E=>E));const removeStartFunc=E=>R=>ae(E.ast,R,{Start(E){E.remove()}});const getImportedGlobals=E=>{const R=[];G.traverse(E,{ModuleImport({node:E}){if(G.isGlobalType(E.descr)){R.push(E)}}});return R};const getCountImportedFunc=E=>{let R=0;G.traverse(E,{ModuleImport({node:E}){if(G.isFuncImportDescr(E.descr)){R++}}});return R};const getNextTypeIndex=E=>{const R=G.getSectionMetadata(E,"type");if(R===undefined){return G.indexLiteral(0)}return G.indexLiteral(R.vectorOfSize.value)};const getNextFuncIndex=(E,R)=>{const N=G.getSectionMetadata(E,"func");if(N===undefined){return G.indexLiteral(0+R)}const $=N.vectorOfSize.value;return G.indexLiteral($+R)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return G.objectInstruction("const",E.valtype,[G.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return G.objectInstruction("const",E.valtype,[G.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>R=>{const N=E.additionalInitCode;const $=[];R=ae(E.ast,R,{ModuleImport(E){if(G.isGlobalType(E.node.descr)){const R=E.node.descr;R.mutability="var";const N=[createDefaultInitForGlobal(R),G.instruction("end")];$.push(G.global(R,N));E.remove()}},Global(E){const{node:R}=E;const[j]=R.init;if(j.id==="get_global"){R.globalType.mutability="var";const E=j.args[0];R.init=[createDefaultInitForGlobal(R.globalType),G.instruction("end")];N.push(G.instruction("get_local",[E]),G.instruction("set_global",[G.indexLiteral($.length)]))}$.push(R);E.remove()}});return le(E.ast,R,$)};const rewriteExportNames=({ast:E,moduleGraph:R,module:N,externalExports:$,runtime:j})=>q=>ae(E,q,{ModuleExport(E){const q=$.has(E.node.name);if(q){E.remove();return}const G=R.getExportsInfo(N).getUsedName(E.node.name,j);if(!G){E.remove();return}E.node.name=G}});const rewriteImports=({ast:E,usedDependencyMap:R})=>N=>ae(E,N,{ModuleImport(E){const N=R.get(E.node.module+":"+E.node.name);if(N!==undefined){E.node.module=N.module;E.node.name=N.name}}});const addInitFunction=({ast:E,initFuncId:R,startAtFuncOffset:N,importedGlobals:$,additionalInitCode:j,nextFuncIndex:q,nextTypeIndex:ie})=>ae=>{const _e=$.map((E=>{const R=G.identifier(`${E.module}.${E.name}`);return G.funcParam(E.descr.valtype,R)}));const Ee=[];$.forEach(((E,R)=>{const N=[G.indexLiteral(R)];const $=[G.instruction("get_local",N),G.instruction("set_global",N)];Ee.push(...$)}));if(typeof N==="number"){Ee.push(G.callInstruction(G.numberLiteralFromRaw(N)))}for(const E of j){Ee.push(E)}Ee.push(G.instruction("end"));const we=[];const Me=G.signature(_e,we);const Ie=G.func(R,Me,Ee);const Te=G.typeInstruction(undefined,Me);const Ne=G.indexInFuncSection(ie);const Be=G.moduleExport(R.value,G.moduleExportDescr("Func",q));return le(E,ae,[Ie,Be,Ne,Te])};const getUsedDependencyMap=(E,R,N)=>{const $=new Map;for(const j of q.getUsedDependencies(E,R,N)){const E=j.dependency;const R=E.request;const N=E.name;$.set(R+":"+N,j)}return $};const we=new Set(["webassembly"]);class WebAssemblyGenerator extends j{constructor(E){super();this.options=E}getTypes(E){return we}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()}generate(E,{moduleGraph:R,runtime:N}){const j=E.originalSource().source();const q=G.identifier("");const ae=_e(j,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const le=ie(ae.body[0]);const we=getImportedGlobals(ae);const Me=getCountImportedFunc(ae);const Ie=le.getStart();const Te=getNextFuncIndex(ae,Me);const Ne=getNextTypeIndex(ae);const Be=getUsedDependencyMap(R,E,this.options.mangleImports);const Le=new Set(E.dependencies.filter((E=>E instanceof Ee)).map((E=>{const R=E;return R.exportName})));const je=[];const ze=compose(rewriteExportNames({ast:ae,moduleGraph:R,module:E,externalExports:Le,runtime:N}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:je}),rewriteImports({ast:ae,usedDependencyMap:Be}),addInitFunction({ast:ae,initFuncId:q,importedGlobals:we,additionalInitCode:je,startAtFuncOffset:Ie,nextFuncIndex:Te,nextTypeIndex:Ne}));const Ue=ze(j);const qe=Buffer.from(Ue);return new $(qe)}}E.exports=WebAssemblyGenerator},74167:(E,R,N)=>{"use strict";const $=N(81627);const getInitialModuleChains=(E,R,N,$)=>{const j=[{head:E,message:E.readableIdentifier($)}];const q=new Set;const G=new Set;const ie=new Set;for(const E of j){const{head:ae,message:le}=E;let _e=true;const Ee=new Set;for(const E of R.getIncomingConnections(ae)){const R=E.originModule;if(R){if(!N.getModuleChunks(R).some((E=>E.canBeInitial())))continue;_e=false;if(Ee.has(R))continue;Ee.add(R);const q=R.readableIdentifier($);const ae=E.explanation?` (${E.explanation})`:"";const we=`${q}${ae} --\x3e ${le}`;if(ie.has(R)){G.add(`... --\x3e ${we}`);continue}ie.add(R);j.push({head:R,message:we})}else{_e=false;const R=E.explanation?`(${E.explanation}) --\x3e ${le}`:le;q.add(R)}}if(_e){q.add(le)}}for(const E of G){q.add(E)}return Array.from(q)};E.exports=class WebAssemblyInInitialChunkError extends ${constructor(E,R,N,$){const j=getInitialModuleChains(E,R,N,$);const q=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${j.map((E=>`* ${E}`)).join("\n")}`;super(q);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,R,N)=>{"use strict";const{RawSource:$}=N(2991);const{UsageState:j}=N(76632);const q=N(36253);const G=N(63272);const ie=N(76150);const ae=N(58159);const le=N(79983);const _e=N(30697);const Ee=N(33081);const we=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends q{getTypes(E){return we}getSize(E,R){return 95+E.dependencies.length*5}generate(E,R){const{runtimeTemplate:N,moduleGraph:q,chunkGraph:we,runtimeRequirements:Me,runtime:Ie}=R;const Te=[];const Ne=q.getExportsInfo(E);let Be=false;const Le=new Map;const je=[];let ze=0;for(const R of E.dependencies){const $=R&&R instanceof le?R:undefined;if(q.getModule(R)){let j=Le.get(q.getModule(R));if(j===undefined){Le.set(q.getModule(R),j={importVar:`m${ze}`,index:ze,request:$&&$.userRequest||undefined,names:new Set,reexports:[]});ze++}if(R instanceof Ee){j.names.add(R.name);if(R.description.type==="GlobalType"){const $=R.name;const G=q.getModule(R);if(G){const ie=q.getExportsInfo(G).getUsedName($,Ie);if(ie){je.push(N.exportFromImport({moduleGraph:q,module:G,request:R.request,importVar:j.importVar,originModule:E,exportName:R.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Te,runtime:Ie,runtimeRequirements:Me}))}}}}if(R instanceof _e){j.names.add(R.name);const $=q.getExportsInfo(E).getUsedName(R.exportName,Ie);if($){Me.add(ie.exports);const G=`${E.exportsArgument}[${JSON.stringify($)}]`;const le=ae.asString([`${G} = ${N.exportFromImport({moduleGraph:q,module:q.getModule(R),request:R.request,importVar:j.importVar,originModule:E,exportName:R.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Te,runtime:Ie,runtimeRequirements:Me})};`,`if(WebAssembly.Global) ${G} = `+`new WebAssembly.Global({ value: ${JSON.stringify(R.valueType)} }, ${G});`]);j.reexports.push(le);Be=true}}}}const Ue=ae.asString(Array.from(Le,(([E,{importVar:R,request:$,reexports:j}])=>{const q=N.importStatement({module:E,chunkGraph:we,request:$,importVar:R,originModule:E,runtimeRequirements:Me});return q[0]+q[1]+j.join("\n")})));const qe=Ne.otherExportsInfo.getUsed(Ie)===j.Unused&&!Be;Me.add(ie.module);Me.add(ie.moduleId);Me.add(ie.wasmInstances);if(Ne.otherExportsInfo.getUsed(Ie)!==j.Unused){Me.add(ie.makeNamespaceObject);Me.add(ie.exports)}if(!qe){Me.add(ie.exports)}const Ge=new $(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ie.wasmInstances}[${E.moduleArgument}.id];`,Ne.otherExportsInfo.getUsed(Ie)!==j.Unused?`${ie.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",qe?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${je.join(", ")})`].join("\n"));return G.addToSource(Ge,Te,R)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,R,N)=>{"use strict";const $=N(36253);const j=N(30697);const q=N(33081);const{compareModulesByIdentifier:G}=N(68673);const ie=N(91671);const ae=N(74167);const le=ie((()=>N(56419)));const _e=ie((()=>N(59363)));const Ee=ie((()=>N(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyFactories.set(j,R);R.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=Ee();return new E}));R.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();const R=le();return $.byType({javascript:new E,webassembly:new R(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((R,N)=>{const{chunkGraph:$}=E;const{chunk:j,outputOptions:q,codeGenerationResults:ie}=N;for(const E of $.getOrderedChunkModulesIterable(j,G)){if(E.type==="webassembly/sync"){const N=q.webassemblyModuleFilename;R.push({render:()=>ie.getSource(E,j.runtime,"webassembly"),filenameTemplate:N,pathOptions:{module:E,runtime:j.runtime,chunkGraph:$},auxiliary:true,identifier:`webassemblyModule${$.getModuleId(E)}`,hash:$.getModuleHash(E,j.runtime)})}}return R}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const R=E.chunkGraph;const N=new Set;for(const $ of E.chunks){if($.canBeInitial()){for(const E of R.getChunkModulesIterable($)){if(E.type==="webassembly/sync"){N.add(E)}}}}for(const R of N){E.errors.push(new ae(R,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,R,N)=>{"use strict";const $=N(98093);const{moduleContextFromModuleAST:j}=N(98093);const{decode:q}=N(73432);const G=N(2172);const ie=N(96076);const ae=N(30697);const le=N(33081);const _e=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const R of E.params){if(!_e.has(R.valtype)){return`${R.valtype} as parameter`}}for(const R of E.results){if(!_e.has(R))return`${R} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const R of E.args){if(!_e.has(R)){return`${R} as parameter`}}for(const R of E.result){if(!_e.has(R))return`${R} as result`}return null};const Ee={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends G{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,R){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="namespace";const N=q(E,Ee);const G=N.body[0];const we=j(G);const Me=[];let Ie=R.module.buildMeta.jsIncompatibleExports=undefined;const Te=[];$.traverse(G,{ModuleExport({node:E}){const N=E.descr;if(N.exportType==="Func"){const $=N.id.value;const j=we.getFunction($);const q=getJsIncompatibleTypeOfFuncSignature(j);if(q){if(Ie===undefined){Ie=R.module.buildMeta.jsIncompatibleExports={}}Ie[E.name]=q}}Me.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const N=Te[E.descr.id.value];if(N){const $=new ae(E.name,N.module,N.name,N.descr.valtype);R.module.addDependency($)}}},Global({node:E}){const R=E.init[0];let N=null;if(R.id==="get_global"){const E=R.args[0].value;if(E{"use strict";const $=N(58159);const j=N(33081);const q="a";const getUsedDependencies=(E,R,N)=>{const G=[];let ie=0;for(const ae of R.dependencies){if(ae instanceof j){if(ae.description.type==="GlobalType"||E.getModule(ae)===null){continue}const R=ae.name;if(N){G.push({dependency:ae,name:$.numberToIdentifier(ie++),module:q})}else{G.push({dependency:ae,name:R,module:ae.request})}}}return G};R.getUsedDependencies=getUsedDependencies;R.MANGLED_MODULE=q},69085:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Library type "${R}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){switch(R){case"fetch":{const R=N(71100);const $=N(52687);new R({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new $).apply(E);break}case"async-node":{const $=N(71049);const j=N(21273);new $({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new j({type:R}).apply(E);break}case"async-node-module":{const $=N(21273);new $({type:R,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${R}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,R,N)=>{"use strict";const $=N(76150);const j=N(34943);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="fetch"};const generateLoadBinaryCode=E=>`fetch(${$.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for($.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(R,(E=>E.type==="webassembly/async"))){return}N.add($.publicPath);E.addRuntimeModule(R,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,R,N)=>{"use strict";const $=N(76150);const j=N(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="fetch"};const generateLoadBinaryCode=E=>`fetch(${$.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(R,(E=>E.type==="webassembly/sync"))){return}N.add($.moduleCache);N.add($.publicPath);E.addRuntimeModule(R,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:N}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,R,N)=>{"use strict";const $=N(76150);const j=N(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $==="jsonp"};const N=new WeakSet;const handler=(R,q)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;q.add($.moduleFactoriesAddOnly);q.add($.hasOwnProperty);E.addRuntimeModule(R,new j(q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.loadScript);R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.loadScript);R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(66804);const ie=N(58159);const ae=N(18161).chunkHasJs;const{getInitialChunkIds:le}=N(13085);const _e=N(87274);const Ee=new WeakMap;class JsonpChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ee.get(E);if(R===undefined){R={linkPreload:new $(["source","chunk"]),linkPrefetch:new $(["source","chunk"])};Ee.set(E,R)}return R}constructor(E){super("jsonp chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:R,chunk:$}=this;const{runtimeTemplate:j,outputOptions:{globalObject:G,chunkLoadingGlobal:Ee,hotUpdateGlobal:we,crossOriginLoading:Me,scriptType:Ie}}=R;const{linkPreload:Te,linkPrefetch:Ne}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(R);const Be=q.ensureChunkHandlers;const Le=this._runtimeRequirements.has(q.baseURI);const je=this._runtimeRequirements.has(q.ensureChunkHandlers);const ze=this._runtimeRequirements.has(q.chunkCallback);const Ue=this._runtimeRequirements.has(q.onChunksLoaded);const qe=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const Ge=this._runtimeRequirements.has(q.hmrDownloadManifest);const He=this._runtimeRequirements.has(q.prefetchChunkHandlers);const We=this._runtimeRequirements.has(q.preloadChunkHandlers);const Ve=`${G}[${JSON.stringify(Ee)}]`;const Ke=E.getChunkConditionMap($,ae);const Qe=_e(Ke);const Je=le($,E);const Xe=qe?`${q.hmrRuntimeStatePrefix}_jsonp`:undefined;return ie.asString([Le?ie.asString([`${q.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Xe?`${Xe} = ${Xe} || `:""}{`,ie.indent(Array.from(Je,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",je?ie.asString([`${Be}.j = ${j.basicFunction("chunkId, promises",Qe!==false?ie.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[2]);"]),"} else {",ie.indent([Qe===true?"if(true) { // all chunks have JS":`if(${Qe("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = new Promise(${j.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${j.basicFunction("event",[`if(${q.hasOwnProperty}(installedChunks, chunkId)) {`,ie.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ie.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${q.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",He&&Qe!==false?`${q.prefetchChunkHandlers}.j = ${j.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Qe===true?"true":Qe("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ne.call(ie.asString(["var link = document.createElement('link');",Me?`link.crossOrigin = ${JSON.stringify(Me)};`:"",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`]),$),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",We&&Qe!==false?`${q.preloadChunkHandlers}.j = ${j.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Qe===true?"true":Qe("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Te.call(ie.asString(["var link = document.createElement('link');",Ie?`link.type = ${JSON.stringify(Ie)};`:"","link.charset = 'utf-8';",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,Me?ie.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ie.indent(`link.crossOrigin = ${JSON.stringify(Me)};`),"}"]):""]),$),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",qe?ie.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ie.indent([`return new Promise(${j.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${q.publicPath} + ${q.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${j.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${q.loadScript}(url, loadingEnded);`])});`]),"}","",`${G}[${JSON.stringify(we)}] = ${j.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ie.getFunctionContent(N(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,q.moduleCache).replace(/\$moduleFactories\$/g,q.moduleFactories).replace(/\$ensureChunkHandlers\$/g,q.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,q.hasOwnProperty).replace(/\$hmrModuleData\$/g,q.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,q.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,q.hmrInvalidateModuleHandlers)]):"// no HMR","",Ge?ie.asString([`${q.hmrDownloadManifest} = ${j.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${q.publicPath} + ${q.getUpdateManifestFilename}()).then(${j.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Ue?`${q.onChunksLoaded}.j = ${j.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",ze||je?ie.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${j.basicFunction("parentChunkLoadingFunction, data",[j.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${j.returningFunction("installedChunks[id] !== 0","id")})) {`,ie.indent(["for(moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);"]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ie.indent(["chunkId = chunkIds[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ue?`return ${q.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${Ve} = ${Ve} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,R,N)=>{"use strict";const $=N(41113);const j=N(50369);const q=N(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return q.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new $).apply(E);new j("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,R,N)=>{"use strict";const $=N(73837);const j=N(63221);const q=N(46312);const G=N(63076);const ie=N(63433);const ae=N(81721);const{applyWebpackOptionsDefaults:le,applyWebpackOptionsBaseDefaults:_e}=N(54411);const{getNormalizedWebpackOptions:Ee}=N(96590);const we=N(93632);const Me=N(91671);const Ie=Me((()=>N(33316)));const createMultiCompiler=(E,R)=>{const N=E.map((E=>createCompiler(E)));const $=new ie(N,R);for(const E of N){if(E.options.dependencies){$.setDependencies(E,E.options.dependencies)}}return $};const createCompiler=E=>{const R=Ee(E);_e(R);const N=new G(R.context,R);new we({infrastructureLogging:R.infrastructureLogging}).apply(N);if(Array.isArray(R.plugins)){for(const E of R.plugins){if(typeof E==="function"){E.call(N,N)}else{E.apply(N)}}}le(R);N.hooks.environment.call();N.hooks.afterEnvironment.call();(new ae).process(R,N);N.hooks.initialize.call();return N};const webpack=(E,R)=>{const create=()=>{if(!j(E)){Ie()(q,E)}let R;let N=false;let $;if(Array.isArray(E)){R=createMultiCompiler(E,E);N=E.some((E=>E.watch));$=E.map((E=>E.watchOptions||{}))}else{const j=E;R=createCompiler(j);N=j.watch;$=j.watchOptions||{}}return{compiler:R,watch:N,watchOptions:$}};if(R){try{const{compiler:E,watch:N,watchOptions:$}=create();if(N){E.watch($,R)}else{E.run(((N,$)=>{E.close((E=>{R(N||E,$)}))}))}return E}catch(E){process.nextTick((()=>R(E)));return null}}else{const{compiler:E,watch:R}=create();if(R){$.deprecate((()=>{}),"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,R,N)=>{"use strict";const $=N(76150);const j=N(44160);const q=N(64997);const G=N(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new q({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $==="import-scripts"};const N=new WeakSet;const handler=(R,j)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;const q=!!E.outputOptions.trustedTypes;j.add($.moduleFactoriesAddOnly);j.add($.hasOwnProperty);if(q)j.add($.createScriptUrl);E.addRuntimeModule(R,new G(j,q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.createScriptUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new j);return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{getChunkFilenameTemplate:G,chunkHasJs:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class ImportScriptsChunkLoadingRuntimeModule extends j{constructor(E,R){super("importScripts chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=R}generate(){const{chunk:E,chunkGraph:R,compilation:{runtimeTemplate:j,outputOptions:{globalObject:Ee,chunkLoadingGlobal:we,hotUpdateGlobal:Me}},_withCreateScriptUrl:Ie}=this;const Te=$.ensureChunkHandlers;const Ne=this.runtimeRequirements.has($.baseURI);const Be=this.runtimeRequirements.has($.ensureChunkHandlers);const Le=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const je=this.runtimeRequirements.has($.hmrDownloadManifest);const ze=`${Ee}[${JSON.stringify(we)}]`;const Ue=le(R.getChunkConditionMap(E,ie));const qe=ae(E,R);const Ge=this.compilation.getPath(G(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const He=_e(Ge,this.compilation.outputOptions.path,false);const We=Le?`${$.hmrRuntimeStatePrefix}_importScripts`:undefined;return q.asString([Ne?q.asString([`${$.baseURI} = self.location + ${JSON.stringify(He?"/../"+He:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(qe,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Be?q.asString(["// importScripts chunk loading",`var installChunk = ${j.basicFunction("data",[j.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${$.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",q.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Be?q.asString([`${Te}.i = ${j.basicFunction("chunkId, promises",Ue!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,q.indent(`importScripts(${Ie?`${$.createScriptUrl}(${$.publicPath} + ${$.getChunkScriptFilename}(chunkId))`:`${$.publicPath} + ${$.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${ze} = ${ze} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Le?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["var success = false;",`${Ee}[${JSON.stringify(Me)}] = ${j.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${Ie?`${$.createScriptUrl}(${$.publicPath} + ${$.getChunkUpdateScriptFilename}(chunkId))`:`${$.publicPath} + ${$.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",je?q.asString([`${$.hmrDownloadManifest} = ${j.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${$.publicPath} + ${$.getUpdateManifestFilename}()).then(${j.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,R,N)=>{"use strict";const $=N(41113);const j=N(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new $).apply(E);new j("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},63221:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=$e,E.exports["default"]=$e;const N={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},$=Object.prototype.hasOwnProperty,j={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:N="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,le=0;const _e=le;let Ee=!1;const we=le;if(!1!==E){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Me=we===le;if(Ee=Ee||Me,!Ee){const N=le;if(le==le)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.type&&(R="type")){const E={params:{missingProperty:R}};null===ae?ae=[E]:ae.push(E),le++}else{const R=le;for(const R in E)if("cacheUnaffected"!==R&&"maxGenerations"!==R&&"type"!==R){const E={params:{additionalProperty:R}};null===ae?ae=[E]:ae.push(E),le++;break}if(R===le){if(void 0!==E.cacheUnaffected){const R=le;if("boolean"!=typeof E.cacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}var Ie=R===le}else Ie=!0;if(Ie){if(void 0!==E.maxGenerations){let R=E.maxGenerations;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<1||isNaN(R)){const E={params:{comparison:">=",limit:1}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Ie=N===le}else Ie=!0;if(Ie)if(void 0!==E.type){const R=le;if("memory"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Ie=R===le}else Ie=!0}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),le++}if(Me=N===le,Ee=Ee||Me,!Ee){const N=le;if(le==le)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.type&&(N="type")){const E={params:{missingProperty:N}};null===ae?ae=[E]:ae.push(E),le++}else{const N=le;for(const R in E)if(!$.call(j,R)){const E={params:{additionalProperty:R}};null===ae?ae=[E]:ae.push(E),le++;break}if(N===le){if(void 0!==E.allowCollectingMemory){const R=le;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}var Te=R===le}else Te=!0;if(Te){if(void 0!==E.buildDependencies){let R=E.buildDependencies;const N=le;if(le===N)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=le;if(le===$)if(Array.isArray(N)){const E=N.length;for(let R=0;R=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.idleTimeoutAfterLargeChanges){let R=E.idleTimeoutAfterLargeChanges;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.idleTimeoutForInitialStore){let R=E.idleTimeoutForInitialStore;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.immutablePaths){let N=E.immutablePaths;const $=le;if(le===$)if(Array.isArray(N)){const E=N.length;for(let $=0;$=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.maxMemoryGenerations){let R=E.maxMemoryGenerations;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.memoryCacheUnaffected){const R=le;if("boolean"!=typeof E.memoryCacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.name){const R=le;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.profile){const R=le;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.store){const R=le;if("pack"!==E.store){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.type){const R=le;if("filesystem"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te)if(void 0!==E.version){const R=le;if("string"!=typeof E.version){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0}}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),le++}Me=N===le,Ee=Ee||Me}}if(!Ee){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,s.errors=ae,!1}return le=_e,null!==ae&&(_e?ae.length=_e:ae=null),s.errors=ae,0===le}function o(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const ie=G;s(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}const q={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const R=G,N=G;let $=!1;const j=G;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var Ee=j===G;if($=$||Ee,!$){const R=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G,$=$||Ee}if($)G=N,null!==q&&(N?q.length=N:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function l(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let le=!1,_e=null;const Ee=ie,we=ie;let Me=!1;const Ie=ie;if(ie===Ie)if("string"==typeof E){if(E.includes("!")||!1!==R.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Te=Ie===ie;if(Me=Me||Te,!Me){const R=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=R===ie,Me=Me||Te}if(Me)ie=we,null!==G&&(we?G.length=we:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(Ee===ie&&(le=!0,_e=0),!le){const E={params:{passingSchemas:_e}};return null===G?G=[E]:G.push(E),ie++,l.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),l.errors=G,0===ie}function p(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const R=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("amd"!==R&&"commonjs"!==R&&"commonjs2"!==R&&"root"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.amd){const R=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.commonjs){const R=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.commonjs2){const R=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee)if(void 0!==E.root){const R=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),p.errors=q,0===G}function f(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const R=E.length;for(let N=0;N1){const $={};for(;N--;){let j=R[N];if("string"==typeof j){if("number"==typeof $[j]){E=$[j];const R={params:{i:N,j:E}};null===ie?ie=[R]:ie.push(R),ae++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if(j=j||Ee,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,j=j||Ee}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.filename){const N=ae;l(E.filename,{instancePath:R+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?l.errors:ie.concat(l.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.import){let R=E.import;const N=ae,$=ae;let j=!1;const q=ae;if(ae===q)if(Array.isArray(R))if(R.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var we=!0;const E=R.length;for(let N=0;N1){const $={};for(;N--;){let j=R[N];if("string"==typeof j){if("number"==typeof $[j]){E=$[j];const R={params:{i:N,j:E}};null===ie?ie=[R]:ie.push(R),ae++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=q===ae;if(j=j||Me,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,j=j||Me}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.layer){let R=E.layer;const N=ae,$=ae;let j=!1;const q=ae;if(null!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if(j=j||Ie,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,j=j||Ie}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.library){const N=ae;u(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?u.errors:ie.concat(u.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.publicPath){const N=ae;c(E.publicPath,{instancePath:R+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.runtime){let R=E.runtime;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.wasmLoading){const N=ae;m(E.wasmLoading,{instancePath:R+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),le=N===ae}else le=!0}}}}}}}}}}}return y.errors=ie,0===ae}function h(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const N in E){let $=E[N];const _e=G,Ee=G;let we=!1;const Me=G,Ie=G;let Te=!1;const Ne=G;if(G===Ne)if(Array.isArray($))if($.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var ie=!0;const E=$.length;for(let R=0;R1){const N={};for(;R--;){let j=$[R];if("string"==typeof j){if("number"==typeof N[j]){E=N[j];const $={params:{i:R,j:E}};null===q?q=[$]:q.push($),G++;break}N[j]=R}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=Ne===G;if(Te=Te||ae,!Te){const E=G;if(G===E)if("string"==typeof $){if($.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,Te=Te||ae}if(Te)G=Ie,null!==q&&(Ie?q.length=Ie:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=Me===G;if(we=we||le,!we){const ie=G;y($,{instancePath:R+"/"+N.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:N,rootData:j})||(q=null===q?y.errors:q.concat(y.errors),G=q.length),le=ie===G,we=we||le}if(!we){const E={params:{}};return null===q?q=[E]:q.push(E),G++,h.errors=q,!1}if(G=Ee,null!==q&&(Ee?q.length=Ee:q=null),_e!==G)break}}return h.errors=q,0===G}function d(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1,le=null;const _e=G,Ee=G;let we=!1;const Me=G;if(G===Me)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var Ie=!0;const R=E.length;for(let N=0;N1){const $={};for(;N--;){let j=E[N];if("string"==typeof j){if("number"==typeof $[j]){R=$[j];const E={params:{i:N,j:R}};null===q?q=[E]:q.push(E),G++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Te=Me===G;if(we=we||Te,!we){const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Te=R===G,we=we||Te}if(we)G=Ee,null!==q&&(Ee?q.length=Ee:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(_e===G&&(ae=!0,le=0),!ae){const E={params:{passingSchemas:le}};return null===q?q=[E]:q.push(E),G++,d.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),d.errors=q,0===G}function g(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;h(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var _e=le===G;if(ae=ae||_e,!ae){const ie=G;d(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?d.errors:q.concat(d.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),g.errors=q,0===G}function b(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const ie=G;g(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,b.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),b.errors=q,0===G}const G={asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}},ie=new RegExp("^https?://","u");function P(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ae=G;let le=!1,_e=null;const Ee=G;if(G==G)if(Array.isArray(E)){const R=E.length;for(let N=0;N=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=Me===ae;if(we=we||Ee,!we){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,we=we||Ee}if(we)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.filename){let N=E.filename;const $=ae,j=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var we=G===ae;if(q=q||we,!q){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,q=q||we}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=$===ae}else le=!0;if(le){if(void 0!==E.idHint){const R=ae;if("string"!=typeof E.idHint)return pe.errors=[{params:{type:"string"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.layer){let R=E.layer;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Me=q===ae;if(j=j||Me,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Me=E===ae,j=j||Me,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,j=j||Me}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncRequests){let R=E.maxAsyncRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncSize){let R=E.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=we===ae;if(Ee=Ee||Ie,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,Ee=Ee||Ie}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialRequests){let R=E.maxInitialRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialSize){let R=E.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=we===ae;if(Ee=Ee||Te,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,Ee=Ee||Te}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxSize){let R=E.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=we===ae;if(Ee=Ee||Ne,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,Ee=Ee||Ne}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minChunks){let R=E.minChunks;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.minRemainingSize){let R=E.minRemainingSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=we===ae;if(Ee=Ee||Be,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,Ee=Ee||Be}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSize){let R=E.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=we===ae;if(Ee=Ee||je,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,Ee=Ee||je}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSizeReduction){let R=E.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=we===ae;if(Ee=Ee||ze,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,Ee=Ee||ze}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.name){let R=E.name;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=q===ae;if(j=j||Ue,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ue=E===ae,j=j||Ue,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ue=E===ae,j=j||Ue}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.priority){let R=E.priority;const N=ae;if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.reuseExistingChunk){const R=ae;if("boolean"!=typeof E.reuseExistingChunk)return pe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.test){let R=E.test;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var qe=q===ae;if(j=j||qe,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(qe=E===ae,j=j||qe,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,j=j||qe}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.type){let R=E.type;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=q===ae;if(j=j||Ge,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ge=E===ae,j=j||Ge,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,j=j||Ge}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.usedExports){const R=ae;if("boolean"!=typeof E.usedExports)return pe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=ie,0===ae}function fe(E,{instancePath:N="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return fe.errors=[{params:{type:"object"}}],!1;{const j=ae;for(const R in E)if(!$.call(Be,R))return fe.errors=[{params:{additionalProperty:R}}],!1;if(j===ae){if(void 0!==E.automaticNameDelimiter){let R=E.automaticNameDelimiter;const N=ae;if(ae===N){if("string"!=typeof R)return fe.errors=[{params:{type:"string"}}],!1;if(R.length<1)return fe.errors=[{params:{}}],!1}var le=N===ae}else le=!0;if(le){if(void 0!==E.cacheGroups){let R=E.cacheGroups;const $=ae,j=ae,q=ae;if(ae===q)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.test&&(E="test")){const E={};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==R.test){let E=R.test;const N=ae;let $=!1;const j=ae;if(!(E instanceof RegExp)){const E={};null===ie?ie=[E]:ie.push(E),ae++}var _e=j===ae;if($=$||_e,!$){const R=ae;if("string"!=typeof E){const E={};null===ie?ie=[E]:ie.push(E),ae++}if(_e=R===ae,$=$||_e,!$){const R=ae;if(!(E instanceof Function)){const E={};null===ie?ie=[E]:ie.push(E),ae++}_e=R===ae,$=$||_e}}if($)ae=N,null!==ie&&(N?ie.length=N:ie=null);else{const E={};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae)return fe.errors=[{params:{}}],!1;if(ae=j,null!==ie&&(j?ie.length=j:ie=null),ae===$){if(!R||"object"!=typeof R||Array.isArray(R))return fe.errors=[{params:{type:"object"}}],!1;for(const E in R){let $=R[E];const j=ae,q=ae;let le=!1;const _e=ae;if(!1!==$){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=_e===ae;if(le=le||Ee,!le){const j=ae;if(!($ instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;if("string"!=typeof $){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;if(!($ instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;pe($,{instancePath:N+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:R,parentDataProperty:E,rootData:G})||(ie=null===ie?pe.errors:ie.concat(pe.errors),ae=ie.length),Ee=j===ae,le=le||Ee}}}}if(!le){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),j!==ae)break}}le=$===ae}else le=!0;if(le){if(void 0!==E.chunks){let R=E.chunks;const N=ae,$=ae;let j=!1;const q=ae;if("initial"!==R&&"async"!==R&&"all"!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if(j=j||we,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,j=j||we}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.defaultSizeTypes){let R=E.defaultSizeTypes;const N=ae;if(ae===N){if(!Array.isArray(R))return fe.errors=[{params:{type:"array"}}],!1;if(R.length<1)return fe.errors=[{params:{limit:1}}],!1;{const E=R.length;for(let N=0;N=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=we===ae;if(Ee=Ee||Me,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,Ee=Ee||Me}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.fallbackCacheGroup){let R=E.fallbackCacheGroup;const N=ae;if(ae===N){if(!R||"object"!=typeof R||Array.isArray(R))return fe.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in R)if("automaticNameDelimiter"!==E&&"chunks"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E&&"minSizeReduction"!==E)return fe.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==R.automaticNameDelimiter){let E=R.automaticNameDelimiter;const N=ae;if(ae===N){if("string"!=typeof E)return fe.errors=[{params:{type:"string"}}],!1;if(E.length<1)return fe.errors=[{params:{}}],!1}var Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==R.chunks){let E=R.chunks;const N=ae,$=ae;let j=!1;const q=ae;if("initial"!==E&&"async"!==E&&"all"!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const R=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=R===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==R.maxAsyncSize){let E=R.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Ee===ae;if(_e=_e||Ne,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=R===ae,_e=_e||Ne}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==R.maxInitialSize){let E=R.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=Ee===ae;if(_e=_e||Le,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Le=R===ae,_e=_e||Le}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==R.maxSize){let E=R.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=Ee===ae;if(_e=_e||je,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=R===ae,_e=_e||je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Ie=N===ae}else Ie=!0;if(Ie){if(void 0!==R.minSize){let E=R.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=Ee===ae;if(_e=_e||ze,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}ze=R===ae,_e=_e||ze}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Ie=N===ae}else Ie=!0;if(Ie)if(void 0!==R.minSizeReduction){let E=R.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=Ee===ae;if(_e=_e||Ue,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=R===ae,_e=_e||Ue}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Ie=N===ae}else Ie=!0}}}}}}}}le=N===ae}else le=!0;if(le){if(void 0!==E.filename){let N=E.filename;const $=ae,j=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var qe=G===ae;if(q=q||qe,!q){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,q=q||qe}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=$===ae}else le=!0;if(le){if(void 0!==E.hidePathInfo){const R=ae;if("boolean"!=typeof E.hidePathInfo)return fe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.maxAsyncRequests){let R=E.maxAsyncRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncSize){let R=E.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=we===ae;if(Ee=Ee||Ge,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,Ee=Ee||Ge}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialRequests){let R=E.maxInitialRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialSize){let R=E.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var He=we===ae;if(Ee=Ee||He,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}He=E===ae,Ee=Ee||He}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxSize){let R=E.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var We=we===ae;if(Ee=Ee||We,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,Ee=Ee||We}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minChunks){let R=E.minChunks;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.minRemainingSize){let R=E.minRemainingSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ve=we===ae;if(Ee=Ee||Ve,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ve=E===ae,Ee=Ee||Ve}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSize){let R=E.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ke=we===ae;if(Ee=Ee||Ke,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ke=E===ae,Ee=Ee||Ke}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSizeReduction){let R=E.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Qe=we===ae;if(Ee=Ee||Qe,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Qe=E===ae,Ee=Ee||Qe}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.name){let R=E.name;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Je=q===ae;if(j=j||Je,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Je=E===ae,j=j||Je,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,j=j||Je}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.usedExports){const R=ae;if("boolean"!=typeof E.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0}}}}}}}}}}}}}}}}}}}}return fe.errors=ie,0===ae}function ue(E,{instancePath:R="",parentData:N,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return ue.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if(!$.call(Ne,R))return ue.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.checkWasmTypes){const R=ie;if("boolean"!=typeof E.checkWasmTypes)return ue.errors=[{params:{type:"boolean"}}],!1;var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.chunkIds){let R=E.chunkIds;const N=ie;if("natural"!==R&&"named"!==R&&"deterministic"!==R&&"size"!==R&&"total-size"!==R&&!1!==R)return ue.errors=[{params:{}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.concatenateModules){const R=ie;if("boolean"!=typeof E.concatenateModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.emitOnErrors){const R=ie;if("boolean"!=typeof E.emitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.flagIncludedChunks){const R=ie;if("boolean"!=typeof E.flagIncludedChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.innerGraph){const R=ie;if("boolean"!=typeof E.innerGraph)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mangleExports){let R=E.mangleExports;const N=ie,$=ie;let j=!1;const q=ie;if("size"!==R&&"deterministic"!==R){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if(j=j||le,!j){const E=ie;if("boolean"!=typeof R){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}le=E===ie,j=j||le}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mangleWasmImports){const R=ie;if("boolean"!=typeof E.mangleWasmImports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mergeDuplicateChunks){const R=ie;if("boolean"!=typeof E.mergeDuplicateChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.minimize){const R=ie;if("boolean"!=typeof E.minimize)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.minimizer){let R=E.minimizer;const N=ie;if(ie===N){if(!Array.isArray(R))return ue.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let N=0;N=",limit:1}}],!1}_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hashFunction){let R=E.hashFunction;const N=ae,$=ae;let j=!1;const q=ae;if(ae===q)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hashSalt){let R=E.hashSalt;const N=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.length<1)return De.errors=[{params:{}}],!1}_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateChunkFilename){let N=E.hotUpdateChunkFilename;const $=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!1!==R.test(N))return De.errors=[{params:{}}],!1}_e=$===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateGlobal){const R=ae;if("string"!=typeof E.hotUpdateGlobal)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateMainFilename){let N=E.hotUpdateMainFilename;const $=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!1!==R.test(N))return De.errors=[{params:{}}],!1}_e=$===ae}else _e=!0;if(_e){if(void 0!==E.iife){const R=ae;if("boolean"!=typeof E.iife)return De.errors=[{params:{type:"boolean"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.importFunctionName){const R=ae;if("string"!=typeof E.importFunctionName)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.importMetaName){const R=ae;if("string"!=typeof E.importMetaName)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.library){const R=ae;ve(E.library,{instancePath:N+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?ve.errors:ie.concat(ve.errors),ae=ie.length),_e=R===ae}else _e=!0;if(_e){if(void 0!==E.libraryExport){let R=E.libraryExport;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let Ee=!1;const we=ae;if(ae===we)if(Array.isArray(R)){const E=R.length;for(let N=0;N=",limit:1}}],!1}Ee=N===le}else Ee=!0;if(Ee){if(void 0!==E.performance){const R=le;Pe(E.performance,{instancePath:j+"/performance",parentData:E,parentDataProperty:"performance",rootData:ie})||(ae=null===ae?Pe.errors:ae.concat(Pe.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.plugins){const R=le;Ae(E.plugins,{instancePath:j+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ie})||(ae=null===ae?Ae.errors:ae.concat(Ae.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.profile){const R=le;if("boolean"!=typeof E.profile)return $e.errors=[{params:{type:"boolean"}}],!1;Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.recordsInputPath){let N=E.recordsInputPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Ne=G===le;if(q=q||Ne,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Ne=E===le,q=q||Ne}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.recordsOutputPath){let N=E.recordsOutputPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Be=G===le;if(q=q||Be,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Be=E===le,q=q||Be}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.recordsPath){let N=E.recordsPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Le=G===le;if(q=q||Le,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Le=E===le,q=q||Le}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.resolve){const R=le;xe(E.resolve,{instancePath:j+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ie})||(ae=null===ae?xe.errors:ae.concat(xe.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.resolveLoader){const R=le;ke(E.resolveLoader,{instancePath:j+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ie})||(ae=null===ae?ke.errors:ae.concat(ke.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.snapshot){let N=E.snapshot;const $=le;if(le==le){if(!N||"object"!=typeof N||Array.isArray(N))return $e.errors=[{params:{type:"object"}}],!1;{const E=le;for(const E in N)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===le){if(void 0!==N.buildDependencies){let E=N.buildDependencies;const R=le;if(le===R){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const R=le;for(const R in E)if("hash"!==R&&"timestamp"!==R)return $e.errors=[{params:{additionalProperty:R}}],!1;if(R===le){if(void 0!==E.hash){const R=le;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var je=R===le}else je=!0;if(je)if(void 0!==E.timestamp){const R=le;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;je=R===le}else je=!0}}}var ze=R===le}else ze=!0;if(ze){if(void 0!==N.immutablePaths){let E=N.immutablePaths;const $=le;if(le===$){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let $=0;${"use strict";function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.path&&(R="path"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("context"!==R&&"entryOnly"!==R&&"format"!==R&&"name"!==R&&"path"!==R&&"type"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.context){let R=E.context;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}var q=0===N}else q=!0;if(q){if(void 0!==E.entryOnly){const R=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.format){const R=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.name){let R=E.name;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0;if(q){if(void 0!==E.path){let R=E.path;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0;if(q)if(void 0!==E.type){let R=E.type;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},69744:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.content&&(R="content"))return t.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const R in E)if("content"!==R&&"name"!==R&&"type"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(R===G){if(void 0!==E.content){let R=E.content;const N=G,$=G;let j=!1,Ee=null;const we=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R))if(Object.keys(R).length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else for(const E in R){let N=R[E];const $=G;if(G===$)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.id&&(E="id")){const R={params:{missingProperty:E}};null===q?q=[R]:q.push(R),G++}else{const E=G;for(const E in N)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G){if(void 0!==N.buildMeta){let E=N.buildMeta;const R=G;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=R===G}else ie=!0;if(ie){if(void 0!==N.exports){let E=N.exports;const R=G,$=G;let j=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if("context"!==R&&"hashDigest"!==R&&"hashDigestLength"!==R&&"hashFunction"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.context){let N=E.context;const $=ie;if(ie===$){if("string"!=typeof N)return e.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!0!==R.test(N))return e.errors=[{params:{}}],!1}var ae=$===ie}else ae=!0;if(ae){if(void 0!==E.hashDigest){let R=E.hashDigest;const N=ie;if("hex"!==R&&"latin1"!==R&&"base64"!==R)return e.errors=[{params:{}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.hashDigestLength){let R=E.hashDigestLength;const N=ie;if(ie===N){if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return e.errors=[{params:{comparison:">=",limit:1}}],!1}ae=N===ie}else ae=!0;if(ae)if(void 0!==E.hashFunction){let R=E.hashFunction;const N=ie,$=ie;let j=!1,q=null;const _e=ie,Ee=ie;let we=!1;const Me=ie;if(ie===Me)if("string"==typeof R){if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=Me===ie;if(we=we||le,!we){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,we=we||le}if(we)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}}return e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},44194:E=>{"use strict";function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.resourceRegExp&&(R="resourceRegExp")){const E={params:{missingProperty:R}};null===q?q=[E]:q.push(E),G++}else{const R=G;for(const R in E)if("contextRegExp"!==R&&"resourceRegExp"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.contextRegExp){const R=G;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=R===G}else _e=!0;if(_e)if(void 0!==E.resourceRegExp){const R=G;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(G===R)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.checkResource&&(R="checkResource")){const E={params:{missingProperty:R}};null===q?q=[E]:q.push(E),G++}else{const R=G;for(const R in E)if("checkResource"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},71633:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("parse"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},80274:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const R=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var G=0===R}else G=!0;if(G){if(void 0!==E.minimize){const R=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;G=0===R}else G=!0;if(G)if(void 0!==E.options){let N=E.options;const $=0;if(0===$){if(!N||"object"!=typeof N||Array.isArray(N))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==N.context){let E=N.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==R.test(E))return e.errors=[{params:{}}],!1}}G=0===$}else G=!0}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},73971:E=>{"use strict";E.exports=t,E.exports["default"]=t;const R={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},N=Object.prototype.hasOwnProperty;function r(E,{instancePath:$="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const $ in E)if(!N.call(R,$))return r.errors=[{params:{additionalProperty:$}}],!1;if($===ae){if(void 0!==E.activeModules){const R=ae;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var le=R===ae}else le=!0;if(le){if(void 0!==E.dependencies){const R=ae;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.dependenciesCount){let R=E.dependenciesCount;const N=ae;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.entries){const R=ae;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.handler){const R=ae,N=ae;let $=!1,j=null;const q=ae;if(!(E.handler instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&($=!0,j=0),!$){const E={params:{passingSchemas:j}};return null===ie?ie=[E]:ie.push(E),ae++,r.errors=ie,!1}ae=N,null!==ie&&(N?ie.length=N:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.modules){const R=ae;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.modulesCount){let R=E.modulesCount;const N=ae;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.percentBy){let R=E.percentBy;const N=ae;if("entries"!==R&&"modules"!==R&&"dependencies"!==R&&null!==R)return r.errors=[{params:{}}],!1;le=N===ae}else le=!0;if(le)if(void 0!==E.profile){let R=E.profile;const N=ae;if(!0!==R&&!1!==R&&null!==R)return r.errors=[{params:{}}],!1;le=N===ae}else le=!0}}}}}}}}}}return r.errors=ie,0===ae}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var _e=le===G;if(ae=ae||_e,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}},68337:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports["default"]=l;const N={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},$=Object.prototype.hasOwnProperty;function s(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.paths&&(R="paths"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const R in E)if("paths"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(R===G&&void 0!==E.paths){let R=E.paths;if(G==G){if(!Array.isArray(R))return r.errors=[{params:{type:"array"}}],!1;if(R.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=R.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("encoding"!==R&&"mimetype"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.encoding){let R=E.encoding;const N=G;if(!1!==R&&"base64"!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e)if(void 0!==E.mimetype){const R=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function r(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const $=ie;for(const R in E)if("dataUrl"!==R&&"emit"!==R&&"filename"!==R&&"publicPath"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if($===ie){if(void 0!==E.dataUrl){const R=ie;n(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?n.errors:G.concat(n.errors),ie=G.length);var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.emit){const R=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.filename){let N=E.filename;const $=ie,j=ie;let q=!1;const _e=ie;if(ie===_e)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=_e===ie;if(q=q||le,!q){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,q=q||le}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=$===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let R=E.publicPath;const N=ie,$=ie;let j=!1;const q=ie;if("string"!=typeof R){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var _e=q===ie;if(j=j||_e,!j){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,j=j||_e}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}}return r.errors=G,0===ie}function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},3720:E=>{"use strict";function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("encoding"!==R&&"mimetype"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.encoding){let R=E.encoding;const N=G;if(!1!==R&&"base64"!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e)if(void 0!==E.mimetype){const R=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=G;for(const R in E)if("dataUrl"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;N===G&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:j})||(q=null===q?t.errors:q.concat(t.errors),G=q.length))}}return r.errors=q,0===G}function a(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),a.errors=q,0===G}E.exports=a,E.exports["default"]=a},33605:E=>{"use strict";function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const R=G;for(const R in E)if("dataUrlCondition"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(R===G&&void 0!==E.dataUrlCondition){let R=E.dataUrlCondition;const N=G;let $=!1;const j=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R)){const E=G;for(const E in R)if("maxSize"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G&&void 0!==R.maxSize){let E=R.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=j===G;if($=$||ie,!$){const E=G;if(!(R instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,$=$||ie}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=N,null!==q&&(N?q.length=N:q=null)}}}return t.errors=q,0===G}function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return t(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),r.errors=q,0===G}E.exports=r,E.exports["default"]=r},87441:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if("emit"!==R&&"filename"!==R&&"publicPath"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.emit){const R=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.filename){let N=E.filename;const $=ie,j=ie;let q=!1;const _e=ie;if(ie===_e)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=_e===ie;if(q=q||le,!q){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,q=q||le}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=$===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let R=E.publicPath;const N=ie,$=ie;let j=!1;const q=ie;if("string"!=typeof R){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var _e=q===ie;if(j=j||_e,!j){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,j=j||_e}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}return r.errors=G,0===ie}function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),n.errors=q,0===G}E.exports=n,E.exports["default"]=n},28633:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{"use strict";function o(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports["default"]=o},43329:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports["default"]=d;const N={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},$=Object.prototype.hasOwnProperty;function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const N=0;for(const R in E)if("outputPath"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(0===N&&void 0!==E.outputPath){let N=E.outputPath;if("string"!=typeof N)return t.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!0!==R.test(N))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports["default"]=t},18511:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("prioritiseInitial"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},52042:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("prioritiseInitial"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},77593:E=>{"use strict";function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"maxSize"!==R&&"minSize"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.maxSize){let R=E.maxSize;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.minSize){let R=E.minSize;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0}}}}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},72713:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.maxChunks&&(R="maxChunks"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"maxChunks"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.maxChunks){let R=E.maxChunks;const N=0;if(0===N){if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return r.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===N}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},83889:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.minChunkSize&&(R="minChunkSize"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"minChunkSize"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.minChunkSize){let R=E.minChunkSize;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},44363:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=n,E.exports["default"]=n;const N=new RegExp("^https?://","u");function e(E,{instancePath:$="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let $;if(void 0===E.allowedUris&&($="allowedUris"))return e.errors=[{params:{missingProperty:$}}],!1;{const $=ae;for(const R in E)if("allowedUris"!==R&&"cacheLocation"!==R&&"frozen"!==R&&"lockfileLocation"!==R&&"upgrade"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if($===ae){if(void 0!==E.allowedUris){let R=E.allowedUris;const $=ae;if(ae==ae){if(!Array.isArray(R))return e.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let $=0;${"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=G;for(const R in E)if("eager"!==R&&"import"!==R&&"packageName"!==R&&"requiredVersion"!==R&&"shareKey"!==R&&"shareScope"!==R&&"singleton"!==R&&"strictVersion"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(R===G){if(void 0!==E.eager){const R=G;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ie=R===G}else ie=!0;if(ie){if(void 0!==E.import){let R=E.import;const N=G,$=G;let j=!1;const le=G;if(!1!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=le===G;if(j=j||ae,!j){const E=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,j=j||ae}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=$,null!==q&&($?q.length=$:q=null),ie=N===G}else ie=!0;if(ie){if(void 0!==E.packageName){let R=E.packageName;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.requiredVersion){let R=E.requiredVersion;const N=G,$=G;let j=!1;const ae=G;if(!1!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ae===G;if(j=j||le,!j){const E=G;if("string"!=typeof R){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,j=j||le}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=$,null!==q&&($?q.length=$:q=null),ie=N===G}else ie=!0;if(ie){if(void 0!==E.shareKey){let R=E.shareKey;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.shareScope){let R=E.shareScope;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.singleton){const R=G;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ie=R===G}else ie=!0;if(ie)if(void 0!==E.strictVersion){const R=G;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ie=R===G}else ie=!0}}}}}}}}}return r.errors=q,0===G}function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const N in E){let $=E[N];const ae=G,le=G;let _e=!1;const Ee=G;r($,{instancePath:R+"/"+N.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:N,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var ie=Ee===G;if(_e=_e||ie,!_e){const E=G;if(G==G)if("string"==typeof $){if($.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,_e=_e||ie}if(!_e){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=le,null!==q&&(le?q.length=le:q=null),ae!==G)break}}return e.errors=q,0===G}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const N=E.length;for(let $=0;${"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const R in E){let N=E[R];const $=G,j=G;let _e=!1;const Ee=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G){if(void 0!==N.eager){const E=G;if("boolean"!=typeof N.eager){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ie=E===G}else ie=!0;if(ie){if(void 0!==N.shareKey){let E=N.shareKey;const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0;if(ie){if(void 0!==N.shareScope){let E=N.shareScope;const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0;if(ie)if(void 0!==N.version){let E=N.version;const R=G,$=G;let j=!1;const le=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=le===G;if(j=j||ae,!j){const R=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=R===G,j=j||ae}if(j)G=$,null!==q&&($?q.length=$:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var le=Ee===G;if(_e=_e||le,!_e){const E=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,_e=_e||le}if(!_e){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=j,null!==q&&(j?q.length=j:q=null),$!==G)break}}return r.errors=q,0===G}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const N=E.length;for(let $=0;${class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const R=new Node(E);if(this._head){this._tail.next=R;this._tail=R}else{this._head=R;this._tail=R}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},77086:(module,__unused_webpack_exports,__webpack_require__)=>{const resolve=__webpack_require__(47030);const fs=__webpack_require__(15808);const crypto=__webpack_require__(6113);const{join:join,dirname:dirname,extname:extname,relative:relative,resolve:pathResolve}=__webpack_require__(71017);const webpack=__webpack_require__(86443);const MemoryFS=__webpack_require__(56342);const terser=__webpack_require__(44858);const tsconfigPaths=__webpack_require__(46543);const{loadTsconfig:loadTsconfig}=__webpack_require__(9492);const TsconfigPathsPlugin=__webpack_require__(96217);const shebangRegEx=__webpack_require__(89681);const nccCacheDir=__webpack_require__(13946);const LicenseWebpackPlugin=__webpack_require__(58907).s;const{version:nccVersion}=__webpack_require__(4147);const{hasTypeModule:hasTypeModule}=__webpack_require__(62664);fs.gracefulify(__webpack_require__(57147));const SUPPORTED_EXTENSIONS=[".js",".json",".node",".mjs",".ts",".tsx"];const hashOf=E=>crypto.createHash("sha256").update(E).digest("hex").slice(0,10);const defaultPermissions=438;const relocateLoader=eval('require(__dirname + "/loaders/relocate-loader.js")');module.exports=ncc;function ncc(entry,{cache:cache,customEmit:customEmit=undefined,esm:esm=entry.endsWith(".mjs")||!entry.endsWith(".cjs")&&hasTypeModule(entry),externals:externals=[],filename:filename="index"+(!esm&&entry.endsWith(".cjs")?".cjs":esm&&(entry.endsWith(".mjs")||!hasTypeModule(entry))?".mjs":".js"),minify:minify=false,sourceMap:sourceMap=false,sourceMapRegister:sourceMapRegister=true,sourceMapBasePrefix:sourceMapBasePrefix="../",assetBuilds:assetBuilds=false,watch:watch=false,v8cache:v8cache=false,filterAssetBase:filterAssetBase=process.cwd(),existingAssetNames:existingAssetNames=[],quiet:quiet=false,debugLog:debugLog=false,transpileOnly:transpileOnly=false,license:license="",target:target,production:production=true,mainFields:mainFields=["main"]}={}){if(esm)v8cache=false;const cjsDeps=()=>({mainFields:mainFields,extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["require","node",production?"production":"development"]});const esmDeps=()=>({mainFields:mainFields,extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["import","node",production?"production":"development"]});const ext=extname(filename);if(!quiet){console.log(`ncc: Version ${nccVersion}`);console.log(`ncc: Compiling file ${filename} into ${esm?"ESM":"CJS"}`)}if(target&&!target.startsWith("es")){throw new Error(`Invalid "target" value provided ${target}, value must be es version e.g. es2015`)}const resolvedEntry=resolve.sync(entry);process.env.__NCC_OPTS=JSON.stringify({quiet:quiet,typescriptLookupPath:resolvedEntry});const shebangMatch=fs.readFileSync(resolvedEntry).toString().match(shebangRegEx);const mfs=new MemoryFS;existingAssetNames.push(filename);if(sourceMap){existingAssetNames.push(`${filename}.map`);existingAssetNames.push(`sourcemap-register${ext}`)}if(v8cache){existingAssetNames.push(`${filename}.cache`);existingAssetNames.push(`${filename}.cache${ext}`)}const resolvePlugins=[];let fullTsconfig={};try{const E=walkParentDirs({base:process.cwd(),start:dirname(entry),filename:"tsconfig.json"});fullTsconfig=loadTsconfig(E)||{compilerOptions:{}};const R={silent:true};if(fullTsconfig.compilerOptions.allowJs){R.extensions=SUPPORTED_EXTENSIONS}resolvePlugins.push(new TsconfigPathsPlugin(R));const N=tsconfigPaths.loadConfig();if(N.resultType==="success"){tsconfigMatchPath=tsconfigPaths.createMatchPath(N.absoluteBaseUrl,N.paths)}}catch(E){}resolvePlugins.push({apply(E){const R=E.resolve;E.resolve=function(E,N,$,j,q){const G=this;R.call(G,E,N,$,j,(function(ie,ae,le){if(le)return q(null,ae,le);if(ie&&!ie.message.startsWith("Can't resolve"))return q(ie);if($.endsWith(".js")&&E.issuer&&(E.issuer.endsWith(".ts")||E.issuer.endsWith(".tsx"))){return R.call(G,E,N,$.slice(0,-3),j,(function(E,R,N){if(N)return q(null,R,N);if(E&&!E.message.startsWith("Can't resolve"))return q(E);q(null,__dirname+"/@@notfound.js?"+(externalMap.get($)||$),$)}))}q(null,__dirname+"/@@notfound.js?"+(externalMap.get($)||$),$)}))}}});const externalMap=(()=>{const E=[];const R=new Map;const N=new Map;function set(N,$){if(N instanceof RegExp)E.push(N);R.set(N,$)}function get($){if(R.has($))return R.get($);if(N.has($))return N.get($);for(const j of E){const E=$.match(j);if(E){let q=R.get(j);if(E.length>1){q=q.replace(/(\$\d)/g,(R=>{const N=parseInt(R.slice(1),10);return E[N]||R}))}N.set($,q);return q}}return null}return{get:get,set:set}})();if(Array.isArray(externals))externals.forEach((E=>externalMap.set(E,E)));else if(typeof externals==="object")Object.keys(externals).forEach((E=>externalMap.set(E[0]==="/"&&E[E.length-1]==="/"?new RegExp(E.slice(1,-1)):E,externals[E])));let watcher,watchHandler,rebuildHandler;const compilationStack=[];var plugins=[{apply(E){E.hooks.compilation.tap("relocate-loader",(E=>{compilationStack.push(E);relocateLoader.initAssetCache(E)}));E.hooks.watchRun.tap("ncc",(()=>{if(rebuildHandler)rebuildHandler()}));E.hooks.normalModuleFactory.tap("ncc",(E=>{function handler(E){E.hooks.assign.for("require").intercept({register:E=>{if(E.name!=="CommonJsPlugin"){return E}E.fn=()=>{};return E}})}E.hooks.parser.for("javascript/auto").tap("ncc",handler);E.hooks.parser.for("javascript/dynamic").tap("ncc",handler);return E}))}}];if(typeof license==="string"&&license.length>0){plugins.push(new LicenseWebpackPlugin({outputFilename:license}))}const compiler=webpack({entry:entry,cache:cache===false?undefined:{type:"filesystem",cacheDirectory:typeof cache==="string"?cache:nccCacheDir,name:`ncc_${hashOf(entry)}`,version:nccVersion},snapshot:{managedPaths:[],module:{hash:true}},amd:false,experiments:{topLevelAwait:true,outputModule:esm},optimization:{nodeEnv:false,minimize:false,moduleIds:"deterministic",chunkIds:"deterministic",mangleExports:true,concatenateModules:true,innerGraph:true,sideEffects:true},devtool:sourceMap?"cheap-module-source-map":false,mode:"production",target:target?["node14",target]:"node14",stats:{logging:"error"},infrastructureLogging:{level:"error"},output:{path:"/",filename:ext===".cjs"?filename+".js":filename,libraryTarget:esm?"module":"commonjs2",strictModuleExceptionHandling:true,module:esm},resolve:{extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],byDependency:{wasm:esmDeps(),esm:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()},mainFields:mainFields,plugins:resolvePlugins},node:false,externals({context:E,request:R,dependencyType:N},$){const j=externalMap.get(R);if(j)return $(null,`${N==="esm"&&esm?"module":"node-commonjs"} ${j}`);return $()},module:{rules:[{test:/@@notfound\.js$/,use:[{loader:eval('__dirname + "/loaders/notfound-loader.js"')}]},{test:/\.(js|mjs|tsx?|node)$/,use:[{loader:eval('__dirname + "/loaders/empty-loader.js"')},{loader:eval('__dirname + "/loaders/relocate-loader.js"'),options:{customEmit:customEmit,filterAssetBase:filterAssetBase,existingAssetNames:existingAssetNames,escapeNonAnalyzableRequires:true,wrapperCompatibility:true,debugLog:debugLog}}]},{test:/\.tsx?$/,use:[{loader:eval('__dirname + "/loaders/uncacheable.js"')},{loader:eval('__dirname + "/loaders/ts-loader.js"'),options:{transpileOnly:transpileOnly,compiler:eval('__dirname + "/typescript.js"'),compilerOptions:{module:"esnext",target:"esnext",...fullTsconfig.compilerOptions,allowSyntheticDefaultImports:true,noEmit:false,outDir:"//"}}}]},{parser:{amd:false},exclude:/\.(node|json)$/,use:[{loader:eval('__dirname + "/loaders/shebang-loader.js"')}]}]},plugins:plugins});compiler.outputFileSystem=mfs;if(!watch){return new Promise(((E,R)=>{compiler.run(((N,$)=>{if(N)return R(N);compiler.close((N=>{if(N)return R(N);if($.hasErrors()){const E=[...$.compilation.errors].map((E=>E.message)).join("\n");return R(new Error(E))}E($)}))}))})).then(finalizeHandler,(function(E){compilationStack.pop();throw E}))}else{if(typeof watch==="object"){if(!watch.watch)throw new Error("Watcher class must be a valid Webpack WatchFileSystem class instance (https://github.com/webpack/webpack/blob/master/lib/node/NodeWatchFileSystem.js)");compiler.watchFileSystem=watch;watch.inputFileSystem=compiler.inputFileSystem}let E;watcher=compiler.watch({},(async(R,N)=>{if(R){compilationStack.pop();return watchHandler({err:R})}if(N.hasErrors()){compilationStack.pop();return watchHandler({err:N.toString()})}const $=await finalizeHandler(N);if(watchHandler)watchHandler($);else E=$}));let R=false;return{close(){if(!watcher)throw new Error("No watcher to close.");if(R)throw new Error("Watcher already closed.");R=true;watcher.close()},handler(R){if(watchHandler)throw new Error("Watcher handler already provided.");watchHandler=R;if(E){R(E);E=null}},rebuild(E){if(rebuildHandler)throw new Error("Rebuild handler already provided.");rebuildHandler=E}}}async function finalizeHandler(E){const R=Object.create(null);getFlatFiles(mfs.data,R,relocateLoader.getAssetMeta,fullTsconfig);const N=Object.create(null);for(const[E,$]of Object.entries(relocateLoader.getSymlinks())){const j=join(dirname(E),$);if(j in R)N[E]=$}delete R[filename+(ext===".cjs"?".js":"")];delete R[`${filename}${ext===".cjs"?".js":""}.map`];let $=mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}`,"utf8");let j=sourceMap?mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}.map`,"utf8"):null;if(j){j=JSON.parse(j);j.sources=j.sources.map((E=>{while(E.startsWith("webpack:///"))E=E.slice(11);if(E.startsWith("//"))E=E.slice(1);if(E.startsWith("/"))E=relative(process.cwd(),E).replace(/\\/g,"/");if(E.startsWith("external "))E="node:"+E.slice(9);if(E.startsWith("./"))E=E.slice(2);if(E.startsWith("(webpack)"))E="webpack"+E.slice(9);if(E.startsWith("webpack/"))return"/webpack/"+E.slice(8);return sourceMapBasePrefix+E}))}if(minify){let E;try{E=await terser.minify($,{module:esm,compress:false,mangle:{keep_classnames:true,keep_fnames:true},sourceMap:j?{content:j,filename:filename,url:`${filename}.map`}:false});if(!E||E.code===undefined)throw null;({code:$,map:j}={code:E.code,map:j?JSON.parse(E.map):undefined})}catch(E){console.log("An error occurred while minifying. The result will not be minified.")}}if(j){R[`${filename}.map`]={source:JSON.stringify(j),permissions:defaultPermissions}}if(v8cache){const{Script:E}=__webpack_require__(26144);R[`${filename}.cache`]={source:new E($).createCachedData(),permissions:defaultPermissions};R[`${filename}.cache${ext}`]={source:$,permissions:defaultPermissions};const N=-"(function (exports, require, module, __filename, __dirname) { ".length;$=`const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');\n`+`const basename = __dirname + '/${filename}';\n`+`const source = readFileSync(basename + '.cache${ext}', 'utf-8');\n`+`const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');\n`+`const scriptOpts = { filename: basename + '.cache${ext}', columnOffset: ${N} }\n`+`const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);\n`+`(script.runInThisContext())(exports, require, module, __filename, __dirname);\n`+`if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });\n`}if(j&&sourceMapRegister){const E=esm?".cjs":ext;$=(esm?`import './sourcemap-register${E}';`:`require('./sourcemap-register${E}');`)+$;R[`sourcemap-register${E}`]={source:fs.readFileSync(join(__dirname,`sourcemap-register.js.cache.js`)),permissions:defaultPermissions}}if(esm&&!filename.endsWith(".mjs")){const E=dirname(filename);const N=(E==="."?"":E)+"package.json";if(R[N])R[N].source=JSON.stringify(Object.assign(JSON.parse(R[N].source.toString()),{type:"module"}));else R[N]={source:JSON.stringify({type:"module"},null,2)+"\n",permissions:defaultPermissions}}if(shebangMatch){$=shebangMatch[0]+$;if(j)j.mappings=";"+j.mappings}if($.indexOf('"__webpack_require__"')===-1){if($.indexOf("__nccwpck_require2_")!==-1){for(let E=9;E>1;E--){if($.indexOf(`__nccwpck_require${E}_`)===-1)continue;if(E===9)throw new Error("9 levels of ncc build nesting reached, please post an issue to support this level of ncc build composition.");$=$.replace(new RegExp(`__nccwpck_require${E}_`,"g"),`__nccwpck_require${E+1}_`)}}if($.indexOf("__nccwpck_require__")!==-1)$=$.replace(/__nccwpck_require__/g,"__nccwpck_require2_");$=$.replace(/__webpack_require__/g,"__nccwpck_require__")}if(assetBuilds){const $=compilationStack[compilationStack.length-1];let j=Object.keys(R);j.push(`${filename}${ext===".cjs"?".js":""}`);const q=[];for(const E of Object.keys(R)){if(!E.endsWith(".js")&&!E.endsWith(".cjs")&&!E.endsWith(".ts")&&!E.endsWith(".mjs")||E.endsWith(".cache.js")||E.endsWith(".cache.cjs")||E.endsWith(".cache.ts")||E.endsWith(".cache.mjs")||E.endsWith(".d.ts")){j.push(E);continue}const R=relocateLoader.getAssetMeta(E,$);if(!R||!R.path){j.push(E);continue}q.push(E)}for(const G of q){const q=relocateLoader.getAssetMeta(G,$);const ie=q.path;const{code:ae,assets:le,symlinks:_e,stats:Ee}=await ncc(ie,{cache:cache,externals:externals,filename:G,minify:minify,sourceMap:sourceMap,sourceMapRegister:sourceMapRegister,sourceMapBasePrefix:sourceMapBasePrefix,assetBuilds:false,v8cache:v8cache,filterAssetBase:filterAssetBase,existingAssetNames:j,quiet:quiet,debugLog:debugLog,transpileOnly:true,license:license,target:target});Object.assign(N,_e);Object.assign(E,Ee);for(const E of Object.keys(le)){R[E]=le[E];if(!j.includes(E))j.push(E)}R[G]={source:ae,permissions:q.permissions}}}compilationStack.pop();return{code:$,map:j?JSON.stringify(j):undefined,assets:R,symlinks:N,stats:E}}}function getFlatFiles(E,R,N,$,j=""){for(const q of Object.keys(E)){const G=E[q];let ie=`${j}/${q}`;if(G[""]===true)getFlatFiles(G,R,N,$,ie);else if(!ie.endsWith("/")){const j=N(ie.slice(1))||{};if(ie.endsWith(".d.ts")){const E=$.compilerOptions.outDir?pathResolve($.compilerOptions.outDir):__webpack_require__.ab+"dist";ie=ie.replace(E,"").replace(process.cwd(),"")}R[ie.slice(1)]={source:E[q],permissions:j.permissions}}}}function walkParentDirs({base:E,start:R,filename:N}){let $="";for(let j=R;E.length<=j.length;j=$){const E=join(j,N);if(fs.existsSync(E)){return E}$=dirname(j)}return null}},62664:(__unused_webpack_module,exports,__webpack_require__)=>{const{resolve:resolve}=__webpack_require__(71017);const{readFileSync:readFileSync}=__webpack_require__(57147);exports.hasTypeModule=function hasTypeModule(path){while(path!==(path=resolve(path,".."))){try{return JSON.parse(readFileSync(eval("resolve")(path,"package.json")).toString()).type==="module"}catch(E){if(E.code==="ENOENT")continue;throw E}}}},13946:(E,R,N)=>{E.exports=N(22037).tmpdir()+"/ncc-cache"},89681:E=>{E.exports=/^#![^\n\r]*[\r\n]/},92915:module=>{module.exports=eval("require")("enhanced-resolve/lib/createInnerCallback")},39491:E=>{"use strict";E.exports=require("assert")},14300:E=>{"use strict";E.exports=require("buffer")},32081:E=>{"use strict";E.exports=require("child_process")},96206:E=>{"use strict";E.exports=require("console")},22057:E=>{"use strict";E.exports=require("constants")},6113:E=>{"use strict";E.exports=require("crypto")},82361:E=>{"use strict";E.exports=require("events")},57147:E=>{"use strict";E.exports=require("fs")},13685:E=>{"use strict";E.exports=require("http")},95687:E=>{"use strict";E.exports=require("https")},31405:E=>{"use strict";E.exports=require("inspector")},98188:E=>{"use strict";E.exports=require("module")},22037:E=>{"use strict";E.exports=require("os")},71017:E=>{"use strict";E.exports=require("path")},35125:E=>{"use strict";E.exports=require("pnpapi")},77282:E=>{"use strict";E.exports=require("process")},63477:E=>{"use strict";E.exports=require("querystring")},12781:E=>{"use strict";E.exports=require("stream")},76224:E=>{"use strict";E.exports=require("tty")},57310:E=>{"use strict";E.exports=require("url")},73837:E=>{"use strict";E.exports=require("util")},26144:E=>{"use strict";E.exports=require("vm")},71267:E=>{"use strict";E.exports=require("worker_threads")},59796:E=>{"use strict";E.exports=require("zlib")},44858:function(E,R,N){(function(E,$){true?$(R,N(37362)):0})(this,(function(E,R){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var $=_interopDefaultLegacy(R);function characters(E){return E.split("")}function member(E,R){return R.includes(E)}class DefaultsError extends Error{constructor(E,R){super();this.name="DefaultsError";this.message=E;this.defs=R}}function defaults(E,R,N){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const $=E||{};if(N)for(const E in $)if(HOP($,E)&&!HOP(R,E)){throw new DefaultsError("`"+E+"` is not a supported option",R)}for(const N in R)if(HOP(R,N)){if(!E||!HOP(E,N)){$[N]=R[N]}else if(N==="ecma"){let R=E[N]|0;if(R>5&&R<2015)R+=2009;$[N]=R}else{$[N]=E&&HOP(E,N)?E[N]:R[N]}}return $}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var j=function(){function MAP(R,N,$){var j=[],q=[],G;function doit(){var ie=N(R[G],G);var ae=ie instanceof Last;if(ae)ie=ie.v;if(ie instanceof AtTop){ie=ie.v;if(ie instanceof Splice){q.push.apply(q,$?ie.v.slice().reverse():ie.v)}else{q.push(ie)}}else if(ie!==E){if(ie instanceof Splice){j.push.apply(j,$?ie.v.slice().reverse():ie.v)}else{j.push(ie)}}return ae}if(Array.isArray(R)){if($){for(G=R.length;--G>=0;)if(doit())break;j.reverse();q.reverse()}else{for(G=0;G=0;){if(E[N]===R)E.splice(N,1)}}function mergeSort(E,R){if(E.length<2)return E.slice();function merge(E,N){var $=[],j=0,q=0,G=0;while(j{N+=E}))}return N}function has_annotation(E,R){return E._annotations&R}function set_annotation(E,R){E._annotations|=R}var ie="";var ae=true;var le="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var _e="false null true";var Ee="enum import super this "+_e+" "+le;var we="implements interface package private protected public static "+Ee;var Me="return new delete throw else case yield await";le=makePredicate(le);Ee=makePredicate(Ee);Me=makePredicate(Me);_e=makePredicate(_e);we=makePredicate(we);var Ie=makePredicate(characters("+-*&%=<>!?|~^"));var Te=/[0-9a-f]/i;var Ne=/^0x[0-9a-f]+$/i;var Be=/^0[0-7]+$/;var Le=/^0o[0-7]+$/i;var je=/^0b[01]+$/i;var ze=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var Ue=/^(0[xob])?[0-9a-f]+n$/i;var qe=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var Ge=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var He=makePredicate(characters("\n\r\u2028\u2029"));var We=makePredicate(characters(";]),:"));var Ve=makePredicate(characters("[{(,;:"));var Ke=makePredicate(characters("[]{}(),;:"));var Qe={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,R){if(is_surrogate_pair_head(E.charCodeAt(R))){if(is_surrogate_pair_tail(E.charCodeAt(R+1))){return E.charAt(R)+E.charAt(R+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(R))){if(is_surrogate_pair_head(E.charCodeAt(R-1))){return E.charAt(R-1)+E.charAt(R)}}return E.charAt(R)}function get_full_char_code(E,R){if(is_surrogate_pair_head(E.charCodeAt(R))){return 65536+(E.charCodeAt(R)-55296<<10)+E.charCodeAt(R+1)-56320}return E.charCodeAt(R)}function get_full_char_length(E){var R=0;for(var N=0;N65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return Qe.ID_Start.test(E)}function is_identifier_char(E){return Qe.ID_Continue.test(E)}const Je=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Je.test(E)}function is_identifier_string(E,R){if(Je.test(E)){return true}if(!R&&/[\ud800-\udfff]/.test(E)){return false}var N=Qe.ID_Start.exec(E);if(!N||N.index!==0){return false}E=E.slice(N[0].length);if(!E){return true}N=Qe.ID_Continue.exec(E);return!!N&&N[0].length===E.length}function parse_js_number(E,R=true){if(!R&&E.includes("e")){return NaN}if(Ne.test(E)){return parseInt(E.substr(2),16)}else if(Be.test(E)){return parseInt(E.substr(1),8)}else if(Le.test(E)){return parseInt(E.substr(2),8)}else if(je.test(E)){return parseInt(E.substr(2),2)}else if(ze.test(E)){return parseFloat(E)}else{var N=parseFloat(E);if(N==E)return N}}class JS_Parse_Error extends Error{constructor(E,R,N,$,j){super();this.name="SyntaxError";this.message=E;this.filename=R;this.line=N;this.col=$;this.pos=j}}function js_error(E,R,N,$,j){throw new JS_Parse_Error(E,R,N,$,j)}function is_token(E,R,N){return E.type==R&&(N==null||E.value==N)}var Xe={};function tokenizer(E,R,N,$){var j={text:E,filename:R,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(j.text,j.pos)}function is_option_chain_op(){const E=j.text.charCodeAt(j.pos+1)===46;if(!E)return false;const R=j.text.charCodeAt(j.pos+2);return R<48||R>57}function next(E,R){var N=get_full_char(j.text,j.pos++);if(E&&!N)throw Xe;if(He.has(N)){j.newline_before=j.newline_before||!R;++j.line;j.col=0;if(N=="\r"&&peek()=="\n"){++j.pos;N="\n"}}else{if(N.length>1){++j.pos;++j.col}++j.col}return N}function forward(E){while(E--)next()}function looking_at(E){return j.text.substr(j.pos,E.length)==E}function find_eol(){var E=j.text;for(var R=j.pos,N=j.text.length;R="0"&&E<="7"}function read_escaped_char(E,R,N){var $=next(true,E);switch($.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,R));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var q,G=find("}",true)-j.pos;if(G>6||(q=hex_bytes(G,R))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(q)}return String.fromCharCode(hex_bytes(4,R));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal($)){if(N&&R){const E=$==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence($,R)}return $}function read_octal_escape_sequence(E,R){var N=peek();if(N>="0"&&N<="7"){E+=next(true);if(E[0]<="3"&&(N=peek())>="0"&&N<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&R)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,R){var N=0;for(;E>0;--E){if(!R&&isNaN(parseInt(peek(),16))){return parseInt(N,16)||""}var $=next(true);if(isNaN(parseInt($,16)))parse_error("Invalid hex-character pattern in string");N+=$}return parseInt(N,16)}var we=with_eof_error("Unterminated string constant",(function(){const E=j.pos;var R=next(),N=[];for(;;){var $=next(true,true);if($=="\\")$=read_escaped_char(true,true);else if($=="\r"||$=="\n")parse_error("Unterminated string constant");else if($==R)break;N.push($)}var q=token("string",N.join(""));ie=j.text.slice(E,j.pos);q.quote=R;return q}));var Le=with_eof_error("Unterminated template",(function(E){if(E){j.template_braces.push(j.brace_counter)}var R="",N="",$,q;next(true,true);while(($=next(true,true))!="`"){if($=="\r"){if(peek()=="\n")++j.pos;$="\n"}else if($=="$"&&peek()=="{"){next(true,true);j.brace_counter++;q=token(E?"template_head":"template_substitution",R);ie=N;ae=false;return q}N+=$;if($=="\\"){var le=j.pos;var _e=G&&(G.type==="name"||G.type==="punc"&&(G.value===")"||G.value==="]"));$=read_escaped_char(true,!_e,true);N+=j.text.substr(le,j.pos-le)}R+=$}j.template_braces.pop();q=token(E?"template_head":"template_substitution",R);ie=N;ae=true;return q}));function skip_line_comment(E){var R=j.regex_allowed;var N=find_eol(),$;if(N==-1){$=j.text.substr(j.pos);j.pos=j.text.length}else{$=j.text.substring(j.pos,N);j.pos=N}j.col=j.tokcol+(j.pos-j.tokpos);j.comments_before.push(token(E,$,true));j.regex_allowed=R;return next_token}var je=with_eof_error("Unterminated multiline comment",(function(){var E=j.regex_allowed;var R=find("*/",true);var N=j.text.substring(j.pos,R).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(N)+2);j.comments_before.push(token("comment2",N,true));j.newline_before=j.newline_before||N.includes("\n");j.regex_allowed=E;return next_token}));var ze=with_eof_error("Unterminated identifier name",(function(){var E=[],R,N=false;var read_escaped_identifier_char=function(){N=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((R=peek())==="\\"){R=read_escaped_identifier_char();if(!is_identifier_start(R)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(R)){next()}else{return""}E.push(R);while((R=peek())!=null){if((R=peek())==="\\"){R=read_escaped_identifier_char();if(!is_identifier_char(R)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(R)){break}next()}E.push(R)}const $=E.join("");if(Ee.has($)&&N){parse_error("Escaped characters are not allowed in keywords")}return $}));var We=with_eof_error("Unterminated regular expression",(function(E){var R=false,N,$=false;while(N=next(true))if(He.has(N)){parse_error("Unexpected line terminator")}else if(R){E+="\\"+N;R=false}else if(N=="["){$=true;E+=N}else if(N=="]"&&$){$=false;E+=N}else if(N=="/"&&!$){break}else if(N=="\\"){R=true}else{E+=N}const j=ze();return token("regexp","/"+E+"/"+j)}));function read_operator(E){function grow(E){if(!peek())return E;var R=E+peek();if(qe.has(R)){next();return grow(R)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return je()}return j.regex_allowed?We(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=ze();if(q)return token("name",E);return _e.has(E)?token("atom",E):!le.has(E)?token("name",E):qe.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",ze())}function with_eof_error(E,R){return function(N){try{return R(N)}catch(R){if(R===Xe)parse_error(E);else throw R}}}function next_token(E){if(E!=null)return We(E);if($&&j.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(N){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&j.newline_before){forward(3);skip_line_comment("comment4");continue}}var R=peek();if(!R)return token("eof");var q=R.charCodeAt(0);switch(q){case 34:case 39:return we();case 46:return handle_dot();case 47:{var G=handle_slash();if(G===next_token)continue;return G}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Le(true);case 123:j.brace_counter++;break;case 125:j.brace_counter--;if(j.template_braces.length>0&&j.template_braces[j.template_braces.length-1]===j.brace_counter)return Le(false);break}if(is_digit(q))return read_num();if(Ke.has(R))return token("punc",next());if(Ie.has(R))return read_operator();if(q==92||is_identifier_start(R))return read_word();if(q==35)return read_private_word();break}parse_error("Unexpected character '"+R+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)j=E;return j};next_token.add_directive=function(E){j.directive_stack[j.directive_stack.length-1].push(E);if(j.directives[E]===undefined){j.directives[E]=1}else{j.directives[E]++}};next_token.push_directives_stack=function(){j.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=j.directive_stack[j.directive_stack.length-1];for(var R=0;R0};return next_token}var Ye=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Ze=makePredicate(["--","++"]);var et=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var tt=makePredicate(["??=","&&=","||="]);var nt=function(E,R){for(var N=0;N","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var rt=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,R){const N=new WeakMap;R=defaults(R,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var $={input:typeof E=="string"?tokenizer(E,R.filename,R.html5_comments,R.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};$.token=next();function is(E,R){return is_token($.token,E,R)}function peek(){return $.peeked||($.peeked=$.input())}function next(){$.prev=$.token;if(!$.peeked)peek();$.token=$.peeked;$.peeked=null;$.in_directives=$.in_directives&&($.token.type=="string"||is("punc",";"));return $.token}function prev(){return $.prev}function croak(E,R,N,j){var q=$.input.context();js_error(E,q.filename,R!=null?R:q.tokline,N!=null?N:q.tokcol,j!=null?j:q.tokpos)}function token_error(E,R){croak(R,E.line,E.col)}function unexpected(E){if(E==null)E=$.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,R){if(is(E,R)){return next()}token_error($.token,"Unexpected token "+$.token.type+" «"+$.token.value+"»"+", expected "+E+" «"+R+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!R.strict&&(is("eof")||is("punc","}")||has_newline_before($.token))}function is_in_generator(){return $.in_generator===$.in_function}function is_in_async(){return $.in_async===$.in_function}function can_await(){return $.in_async===$.in_function||$.in_function===0&&$.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...R){const N=$.token;const j=E(...R);j.start=N;j.end=prev();return j}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){$.peeked=null;$.token=$.input($.token.value.substr(1))}}var j=embed_tokens((function statement(E,N,j){handle_regexp();switch($.token.type){case"string":if($.in_directives){var q=peek();if(!ie.includes("\\")&&(is_token(q,"punc",";")||is_token(q,"punc","}")||has_newline_before(q)||is_token(q,"eof"))){$.input.add_directive($.token.value)}else{$.in_directives=false}}var G=$.in_directives,ae=simple_statement();return G&&ae.body instanceof hr?new pt(ae.body):ae;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if($.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(N){croak("functions are not allowed as the body of a loop")}return function_(Tt,false,true,E)}if($.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var le=import_statement();semicolon();return le}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch($.token.value){case"{":return new ht({start:$.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":$.in_directives=false;next();return new mt;default:unexpected()}case"keyword":switch($.token.value){case"break":next();return break_cont(qt);case"continue":next();return break_cont(Gt);case"debugger":next();semicolon();return new ut;case"do":next();var _e=in_loop(statement);expect_token("keyword","while");var Ee=parenthesised();semicolon(true);return new _t({body:_e,condition:Ee});case"while":next();return new kt({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(N){croak("classes are not allowed as the body of a loop")}if(j){croak("classes are not allowed as the body of an if")}return class_(jn,E);case"function":next();if(N){croak("functions are not allowed as the body of a loop")}return function_(Tt,false,false,E);case"if":next();return if_();case"return":if($.in_function==0&&!R.bare_returns)croak("'return' outside of function");next();var we=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){we=expression(true);semicolon()}return new jt({value:we});case"switch":next();return new Kt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before($.token))croak("Illegal newline after 'throw'");var we=expression(true);semicolon();return new zt({value:we});case"try":next();return try_();case"var":next();var le=var_();semicolon();return le;case"let":next();var le=let_();semicolon();return le;case"const":next();var le=const_();semicolon();return le;case"with":if($.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new St({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var le=export_statement();if(is("punc",";"))semicolon();return le}}}unexpected()}));function labeled_statement(){var E=as_symbol(ir);if(E.name==="await"&&is_in_async()){token_error($.prev,"await cannot be used as label inside async function")}if($.labels.some((R=>R.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");$.labels.push(E);var R=j();$.labels.pop();if(!(R instanceof vt)){E.references.forEach((function(R){if(R instanceof Gt){R=R.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",R.line,R.col,R.pos)}}))}return new yt({body:R,label:E})}function simple_statement(E){return new dt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var R=null,N;if(!can_insert_semicolon()){R=as_symbol(ur,true)}if(R!=null){N=$.labels.find((E=>E.name===R.name));if(!N)croak("Undefined label "+R.name);R.thedef=N}else if($.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var j=new E({label:R});if(N)N.references.push(j);return j}function for_(){var E="`for await` invalid in this context";var R=$.token;if(R.type=="name"&&R.value=="await"){if(!can_await()){token_error(R,E)}next()}else{R=false}expect("(");var N=null;if(!is("punc",";")){N=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var j=is("operator","in");var q=is("name","of");if(R&&!q){token_error(R,E)}if(j||q){if(N instanceof tn){if(N.definitions.length>1)token_error(N.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(N)||(N=to_destructuring(N))instanceof Rt)){token_error(N.start,"Invalid left-hand side in for..in loop")}next();if(j){return for_in(N)}else{return for_of(N,!!R)}}}else if(R){token_error(R,E)}return regular_for(N)}function regular_for(E){expect(";");var R=is("punc",";")?null:expression(true);expect(";");var N=is("punc",")")?null:expression(true);expect(")");return new xt({init:E,condition:R,step:N,body:in_loop((function(){return j(false,true)}))})}function for_of(E,R){var N=E instanceof tn?E.definitions[0].name:null;var $=expression(true);expect(")");return new wt({await:R,init:E,name:N,object:$,body:in_loop((function(){return j(false,true)}))})}function for_in(E){var R=expression(true);expect(")");return new Et({init:E,object:R,body:in_loop((function(){return j(false,true)}))})}var arrow_function=function(E,R,N){if(has_newline_before($.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var j=_function_body(is("punc","{"),false,N);var q=j instanceof Array&&j.length?j[j.length-1].end:j instanceof Array?E:j.end;return new Ot({start:E,end:q,async:N,argnames:R,body:j})};var function_=function(E,R,N,$){var j=E===Tt;var q=is("operator","*");if(q){next()}var G=is("name")?as_symbol(j?Jn:Zn):null;if(j&&!G){if($){E=Pt}else{unexpected()}}if(G&&E!==It&&!(G instanceof Gn))unexpected(prev());var ie=[];var ae=_function_body(true,q||R,N,G,ie);return new E({start:ie.start,end:ae.end,is_generator:q,async:N,name:G,argnames:ie,body:ae})};function track_used_binding_identifiers(E,R){var N=new Set;var $=false;var j=false;var q=false;var G=!!R;var ie={add_parameter:function(R){if(N.has(R.value)){if($===false){$=R}ie.check_strict()}else{N.add(R.value);if(E){switch(R.value){case"arguments":case"eval":case"yield":if(G){token_error(R,"Unexpected "+R.value+" identifier as parameter inside strict mode")}break;default:if(Ee.has(R.value)){unexpected()}}}}},mark_default_assignment:function(E){if(j===false){j=E}},mark_spread:function(E){if(q===false){q=E}},mark_strict_mode:function(){G=true},is_strict:function(){return j!==false||q!==false||G},check_strict:function(){if(ie.is_strict()&&$!==false){token_error($,"Parameter "+$.value+" was used already")}}};return ie}function parameters(E){var R=track_used_binding_identifiers(true,$.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var N=parameter(R);E.push(N);if(!is("punc",")")){expect(",")}if(N instanceof Dt){break}}next()}function parameter(E,R){var N;var j=false;if(E===undefined){E=track_used_binding_identifiers(true,$.input.has_directive("use strict"))}if(is("expand","...")){j=$.token;E.mark_spread($.token);next()}N=binding_element(E,R);if(is("operator","=")&&j===false){E.mark_default_assignment($.token);next();N=new An({start:N.start,left:N,operator:"=",right:expression(false),end:$.token})}if(j!==false){if(!is("punc",")")){unexpected()}N=new Dt({start:j,expression:N,end:j})}E.check_strict();return N}function binding_element(E,R){var N=[];var j=true;var q=false;var G;var ie=$.token;if(E===undefined){E=track_used_binding_identifiers(false,$.input.has_directive("use strict"))}R=R===undefined?Qn:R;if(is("punc","[")){next();while(!is("punc","]")){if(j){j=false}else{expect(",")}if(is("expand","...")){q=true;G=$.token;E.mark_spread($.token);next()}if(is("punc")){switch($.token.value){case",":N.push(new xr({start:$.token,end:$.token}));continue;case"]":break;case"[":case"{":N.push(binding_element(E,R));break;default:unexpected()}}else if(is("name")){E.add_parameter($.token);N.push(as_symbol(R))}else{croak("Invalid function parameter")}if(is("operator","=")&&q===false){E.mark_default_assignment($.token);next();N[N.length-1]=new An({start:N[N.length-1].start,left:N[N.length-1],operator:"=",right:expression(false),end:$.token})}if(q){if(!is("punc","]")){croak("Rest element must be last element")}N[N.length-1]=new Dt({start:G,expression:N[N.length-1],end:G})}}expect("]");E.check_strict();return new Rt({start:ie,names:N,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(j){j=false}else{expect(",")}if(is("expand","...")){q=true;G=$.token;E.mark_spread($.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter($.token);var ae=prev();var le=as_symbol(R);if(q){N.push(new Dt({start:G,expression:le,end:le.end}))}else{N.push(new In({start:ae,key:le.name,value:le,end:le.end}))}}else if(is("punc","}")){continue}else{var _e=$.token;var Ee=as_property_name();if(Ee===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){N.push(new In({start:prev(),key:Ee,value:new R({start:prev(),name:Ee,end:prev()}),end:prev()}))}else{expect(":");N.push(new In({start:_e,quote:_e.quote,key:Ee,value:binding_element(E,R),end:prev()}))}}if(q){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment($.token);next();N[N.length-1].value=new An({start:N[N.length-1].value.start,left:N[N.length-1].value,operator:"=",right:expression(false),end:$.token})}}expect("}");E.check_strict();return new Rt({start:ie,names:N,is_array:false,end:prev()})}else if(is("name")){E.add_parameter($.token);return as_symbol(R)}else{croak("Invalid function parameter")}}function params_or_seq_(E,R){var N;var j;var q;var G=[];expect("(");while(!is("punc",")")){if(N)unexpected(N);if(is("expand","...")){N=$.token;if(R)j=$.token;next();G.push(new Dt({start:prev(),expression:expression(),end:$.token}))}else{G.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){q=prev();if(R)j=q}}}expect(")");if(E&&is("arrow","=>")){if(N&&q)unexpected(q)}else if(j){unexpected(j)}return G}function _function_body(E,R,N,j,q){var G=$.in_loop;var ie=$.labels;var ae=$.in_generator;var le=$.in_async;++$.in_function;if(R)$.in_generator=$.in_function;if(N)$.in_async=$.in_function;if(q)parameters(q);if(E)$.in_directives=true;$.in_loop=0;$.labels=[];if(E){$.input.push_directives_stack();var _e=block_();if(j)_verify_symbol(j);if(q)q.forEach(_verify_symbol);$.input.pop_directives_stack()}else{var _e=[new jt({start:$.token,value:expression(false),end:$.token})]}--$.in_function;$.in_loop=G;$.labels=ie;$.in_generator=ae;$.in_async=le;return _e}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",$.prev.line,$.prev.col,$.prev.pos)}return new Ht({start:prev(),end:$.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",$.prev.line,$.prev.col,$.prev.pos)}var E=$.token;var R=false;var N=true;if(can_insert_semicolon()||is("punc")&&We.has($.token.value)){N=false}else if(is("operator","*")){R=true;next()}return new Wt({start:E,is_star:R,expression:N?expression():null,end:prev()})}function if_(){var E=parenthesised(),R=j(false,false,true),N=null;if(is("keyword","else")){next();N=j(false,false,true)}return new Vt({condition:E,body:R,alternative:N})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push(j())}next();return E}function switch_body_(){expect("{");var E=[],R=null,N=null,q;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(N)N.end=prev();R=[];N=new Xt({start:(q=$.token,next(),q),expression:expression(true),body:R});E.push(N);expect(":")}else if(is("keyword","default")){if(N)N.end=prev();R=[];N=new Jt({start:(q=$.token,next(),expect(":"),q),body:R});E.push(N)}else{if(!R)unexpected();R.push(j())}}if(N)N.end=prev();next();return E}function try_(){var E=block_(),R=null,N=null;if(is("keyword","catch")){var j=$.token;next();if(is("punc","{")){var q=null}else{expect("(");var q=parameter(undefined,nr);expect(")")}R=new Zt({start:j,argname:q,body:block_(),end:prev()})}if(is("keyword","finally")){var j=$.token;next();N=new en({start:j,body:block_(),end:prev()})}if(!R&&!N)croak("Missing catch/finally blocks");return new Yt({body:E,bcatch:R,bfinally:N})}function vardefs(E,R){var N=[];var j;for(;;){var q=R==="var"?Hn:R==="const"?Vn:R==="let"?Kn:null;if(is("punc","{")||is("punc","[")){j=new on({start:$.token,name:binding_element(undefined,q),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{j=new on({start:$.token,name:as_symbol(q),value:is("operator","=")?(next(),expression(false,E)):!E&&R==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(j.name.name=="import")croak("Unexpected token: import")}N.push(j);if(!is("punc",","))break;next()}return N}var var_=function(E){return new nn({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new rn({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new sn({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var R=$.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new qn({start:R,end:prev()}),E)}var N=expr_atom(false),j;if(is("punc","(")){next();j=expr_list(")",true)}else{j=[]}var q=new dn({start:R,expression:N,args:j,end:prev()});annotate(q);return subscripts(q,E)};function as_atom_node(){var E=$.token,R;switch(E.type){case"name":R=_make_symbol(ar);break;case"num":R=new mr({start:E,end:E,value:E.value,raw:ie});break;case"big_int":R=new gr({start:E,end:E,value:E.value});break;case"string":R=new hr({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[N,$,j]=E.value.match(/^\/(.*)\/(\w*)$/);R=new yr({start:E,end:E,value:{source:$,flags:j}});break;case"atom":switch(E.value){case"false":R=new Sr({start:E,end:E});break;case"true":R=new Ar({start:E,end:E});break;case"null":R=new br({start:E,end:E});break}break}next();return R}function to_fun_args(E,R){var insert_default=function(E,R){if(R){return new An({start:E.start,left:E,operator:"=",right:R,end:R.end})}return E};if(E instanceof Dn){return insert_default(new Rt({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),R)}else if(E instanceof In){E.value=to_fun_args(E.value);return insert_default(E,R)}else if(E instanceof xr){return E}else if(E instanceof Rt){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,R)}else if(E instanceof ar){return insert_default(new Qn({name:E.name,start:E.start,end:E.end}),R)}else if(E instanceof Dt){E.expression=to_fun_args(E.expression);return insert_default(E,R)}else if(E instanceof Cn){return insert_default(new Rt({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),R)}else if(E instanceof Sn){return insert_default(to_fun_args(E.left,E.right),R)}else if(E instanceof An){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,R){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var j=$.token;var G;var ie=is("name","async")&&(G=peek()).value!="["&&G.type!="arrow"&&as_atom_node();if(is("punc")){switch($.token.value){case"(":if(ie&&!E)break;var ae=params_or_seq_(R,!ie);if(R&&is("arrow","=>")){return arrow_function(j,ae.map((E=>to_fun_args(E))),!!ie)}var _e=ie?new pn({expression:ie,args:ae}):ae.length==1?ae[0]:new hn({expressions:ae});if(_e.start){const E=j.comments_before.length;N.set(j,E);_e.start.comments_before.unshift(...j.comments_before);j.comments_before=_e.start.comments_before;if(E==0&&j.comments_before.length>0){var Ee=j.comments_before[0];if(!Ee.nlb){Ee.nlb=j.nlb;j.nlb=false}}j.comments_after=_e.start.comments_after}_e.start=j;var we=prev();if(_e.end){we.comments_before=_e.end.comments_before;_e.end.comments_after.push(...we.comments_after);we.comments_after=_e.end.comments_after}_e.end=we;if(_e instanceof pn)annotate(_e);return subscripts(_e,E);case"[":return subscripts(q(),E);case"{":return subscripts(le(),E)}if(!ie)unexpected()}if(R&&is("name")&&is_token(peek(),"arrow")){var Me=new Qn({name:$.token.value,start:j,end:j});next();return arrow_function(j,[Me],!!ie)}if(is("keyword","function")){next();var Ie=function_(Pt,false,!!ie);Ie.start=j;Ie.end=prev();return subscripts(Ie,E)}if(ie)return subscripts(ie,E);if(is("keyword","class")){next();var Te=class_(zn);Te.start=j;Te.end=prev();return subscripts(Te,E)}if(is("template_head")){return subscripts(template_string(),E)}if(rt.has($.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],R=$.token;E.push(new Bt({start:$.token,raw:ie,value:$.token.value,end:$.token}));while(!ae){next();handle_regexp();E.push(expression(true));E.push(new Bt({start:$.token,raw:ie,value:$.token.value,end:$.token}))}next();return new Nt({start:R,segments:E,end:$.token})}function expr_list(E,R,N){var j=true,q=[];while(!is("punc",E)){if(j)j=false;else expect(",");if(R&&is("punc",E))break;if(is("punc",",")&&N){q.push(new xr({start:$.token,end:$.token}))}else if(is("expand","...")){next();q.push(new Dt({start:prev(),expression:expression(),end:$.token}))}else{q.push(expression(false))}}next();return q}var q=embed_tokens((function(){expect("[");return new Cn({elements:expr_list("]",!R.strict,true)})}));var G=embed_tokens(((E,R)=>function_(It,E,R)));var le=embed_tokens((function object_or_destructuring_(){var E=$.token,N=true,j=[];expect("{");while(!is("punc","}")){if(N)N=false;else expect(",");if(!R.strict&&is("punc","}"))break;E=$.token;if(E.type=="expand"){next();j.push(new Dt({start:E,expression:expression(false),end:prev()}));continue}var q=as_property_name();var G;if(!is("punc",":")){var ie=concise_method_or_getset(q,E);if(ie){j.push(ie);continue}G=new ar({start:prev(),name:q,end:prev()})}else if(q===null){unexpected(prev())}else{next();G=expression(false)}if(is("operator","=")){next();G=new Sn({start:E,left:G,operator:"=",right:expression(false),logical:false,end:prev()})}j.push(new In({start:E,quote:E.quote,key:q instanceof lt?q:""+q,value:G,end:prev()}))}next();return new Dn({properties:j})}));function class_(E,R){var N,j,q,G,ie=[];$.input.push_directives_stack();$.input.add_directive("use strict");if($.token.type=="name"&&$.token.value!="extends"){q=as_symbol(E===jn?er:tr)}if(E===jn&&!q){if(R){E=zn}else{unexpected()}}if($.token.value=="extends"){next();G=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){N=$.token;j=concise_method_or_getset(as_property_name(),N,true);if(!j){unexpected()}ie.push(j);while(is("punc",";")){next()}}$.input.pop_directives_stack();next();return new E({start:N,name:q,extends:G,properties:ie,end:prev()})}function concise_method_or_getset(E,R,N){const get_symbol_ast=(E,N=Xn)=>{if(typeof E==="string"||typeof E==="number"){return new N({start:R,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("punc",";")&&!is("operator","=");var $=false;var j=false;var q=false;var ie=false;var ae=null;if(N&&E==="static"&&is_not_method_start()){j=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){$=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){q=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){ae=E;E=as_property_name()}if(prev().type==="privatename"){ie=true}const le=prev();if(ae!=null){if(!ie){const N=ae==="get"?Rn:Tn;E=get_symbol_ast(E);return new N({start:R,static:j,key:E,quote:E instanceof Xn?le.quote:undefined,value:G(),end:prev()})}else{const N=ae==="get"?On:Pn;return new N({start:R,static:j,key:get_symbol_ast(E),value:G(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const N=ie?Nn:Fn;var _e=new N({start:R,static:j,is_generator:q,async:$,key:E,quote:E instanceof Xn?le.quote:undefined,value:G(q,$),end:prev()});return _e}if(N){const N=get_symbol_ast(E,Yn);const $=N instanceof Yn?le.quote:undefined;const q=ie?$n:Ln;if(is("operator","=")){next();return new q({start:R,static:j,quote:$,key:N,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new q({start:R,static:j,quote:$,key:N,end:prev()})}}}function maybe_import_assertion(){if(is("name","assert")&&!has_newline_before($.token)){next();return le()}return null}function import_statement(){var E=prev();var R;var N;if(is("name")){R=as_symbol(rr)}if(is("punc",",")){next()}N=map_names(true);if(N||R){expect_token("name","from")}var j=$.token;if(j.type!=="string"){unexpected()}next();const q=maybe_import_assertion();return new ln({start:E,imported_name:R,imported_names:N,module_name:new hr({start:j,value:j.value,quote:j.quote,end:j}),assert_clause:q,end:$.token})}function import_meta(){var E=$.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new cn({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var R=E?sr:cr;var N=E?rr:lr;var j=$.token;var q;var G;if(E){q=make_symbol(R)}else{G=make_symbol(N)}if(is("name","as")){next();if(E){G=make_symbol(N)}else{q=make_symbol(R)}}else if(E){G=new N(q)}else{q=new R(G)}return new an({start:j,foreign_name:q,name:G,end:prev()})}function map_nameAsterisk(E,R){var N=E?sr:cr;var j=E?rr:lr;var q=$.token;var G;var ie=prev();R=R||new j({name:"*",start:q,end:ie});G=new N({name:"*",start:q,end:ie});return new an({start:q,foreign_name:G,name:R,end:ie})}function map_names(E){var R;if(is("punc","{")){next();R=[];while(!is("punc","}")){R.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var N;next();if(E&&is("name","as")){next();N=as_symbol(E?rr:cr)}R=[map_nameAsterisk(E,N)]}return R}function export_statement(){var E=$.token;var R;var N;if(is("keyword","default")){R=true;next()}else if(N=map_names(false)){if(is("name","from")){next();var q=$.token;if(q.type!=="string"){unexpected()}next();const j=maybe_import_assertion();return new un({start:E,is_default:R,exported_names:N,module_name:new hr({start:q,value:q.value,quote:q.quote,end:q}),end:prev(),assert_clause:j})}else{return new un({start:E,is_default:R,exported_names:N,end:prev()})}}var G;var ie;var ae;if(is("punc","{")||R&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ie=expression(false);semicolon()}else if((G=j(R))instanceof tn&&R){unexpected(G.start)}else if(G instanceof tn||G instanceof Tt||G instanceof jn){ae=G}else if(G instanceof zn||G instanceof Pt){ie=G}else if(G instanceof dt){ie=G.body}else{unexpected(G.start)}return new un({start:E,is_default:R,exported_value:ie,exported_definition:ae,end:prev(),assert_clause:null})}function as_property_name(){var E=$.token;switch(E.type){case"punc":if(E.value==="["){next();var R=expression(false);expect("]");return R}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=$.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var R=$.token.value;return new(R=="this"?pr:R=="super"?dr:E)({name:String(R),start:$.token,end:$.token})}function _verify_symbol(E){var R=E.name;if(is_in_generator()&&R=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if($.input.has_directive("use strict")){if(R=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof Gn&&(R=="arguments"||R=="eval")){token_error(E.start,"Unexpected "+R+" in strict mode")}}}function as_symbol(E,R){if(!is("name")){if(!R)croak("Name expected");return null}var N=_make_symbol(E);_verify_symbol(N);next();return N}function annotate(E){var R=E.start;var $=R.comments_before;const j=N.get(R);var q=j!=null?j:$.length;while(--q>=0){var G=$[q];if(/[@#]__/.test(G.value)){if(/[@#]__PURE__/.test(G.value)){set_annotation(E,Dr);break}if(/[@#]__INLINE__/.test(G.value)){set_annotation(E,Mr);break}if(/[@#]__NOINLINE__/.test(G.value)){set_annotation(E,Ir);break}}}}var subscripts=function(E,R,N){var $=E.start;if(is("punc",".")){next();const j=is("privatename")?yn:gn;return subscripts(new j({start:$,expression:E,optional:false,property:as_name(),end:prev()}),R,N)}if(is("punc","[")){next();var j=expression(true);expect("]");return subscripts(new vn({start:$,expression:E,optional:false,property:j,end:prev()}),R,N)}if(R&&is("punc","(")){next();var q=new pn({start:$,expression:E,optional:false,args:call_args(),end:prev()});annotate(q);return subscripts(q,true,N)}if(is("punc","?.")){next();let N;if(R&&is("punc","(")){next();const R=new pn({start:$,optional:true,expression:E,args:call_args(),end:prev()});annotate(R);N=subscripts(R,true,true)}else if(is("name")||is("privatename")){const j=is("privatename")?yn:gn;N=subscripts(new j({start:$,expression:E,optional:true,property:as_name(),end:prev()}),R,true)}else if(is("punc","[")){next();const j=expression(true);expect("]");N=subscripts(new vn({start:$,expression:E,optional:true,property:j,end:prev()}),R,true)}if(!N)unexpected();if(N instanceof bn)return N;return new bn({start:$,expression:N,end:prev()})}if(is("template_head")){if(N){unexpected()}return subscripts(new Ft({start:$,prefix:E,template_string:template_string(),end:prev()}),R)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new Dt({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,R){var N=$.token;if(N.type=="name"&&N.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&Ye.has(N.value)){next();handle_regexp();var j=make_unary(kn,N,maybe_unary(E));j.start=N;j.end=prev();return j}var q=expr_atom(E,R);while(is("operator")&&Ze.has($.token.value)&&!has_newline_before($.token)){if(q instanceof Ot)unexpected();q=make_unary(xn,$.token,q);q.start=N;q.end=$.token;next()}return q};function make_unary(E,R,N){var j=R.value;switch(j){case"++":case"--":if(!is_assignable(N))croak("Invalid use of "+j+" operator",R.line,R.col,R.pos);break;case"delete":if(N instanceof ar&&$.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",N.start.line,N.start.col,N.start.pos);break}return new E({operator:j,expression:N})}var expr_op=function(E,R,N){var j=is("operator")?$.token.value:null;if(j=="in"&&N)j=null;if(j=="**"&&E instanceof kn&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var q=j!=null?nt[j]:null;if(q!=null&&(q>R||j==="**"&&R===q)){next();var G=expr_op(maybe_unary(true),q,N);return expr_op(new En({start:E.start,left:E,operator:j,right:G,end:G.end}),R,N)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var R=$.token;var N=expr_ops(E);if(is("operator","?")){next();var j=expression(false);expect(":");return new wn({start:R,condition:N,consequent:j,alternative:expression(false,E),end:prev()})}return N};function is_assignable(E){return E instanceof mn||E instanceof ar}function to_destructuring(E){if(E instanceof Dn){E=new Rt({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof Cn){var R=[];for(var N=0;N=0;){q+="this."+R[G]+" = props."+R[G]+";"}const ie=$&&Object.create($.prototype);if(ie&&ie.initialize||N&&N.initialize)q+="this.initialize();";q+="}";q+="this.flags = 0;";q+="}";var ae=new Function(q)();if(ie){ae.prototype=ie;ae.BASE=$}if($)$.SUBCLASSES.push(ae);ae.prototype.CTOR=ae;ae.prototype.constructor=ae;ae.PROPS=R||null;ae.SELF_PROPS=j;ae.SUBCLASSES=[];if(E){ae.prototype.TYPE=ae.TYPE=E}if(N)for(G in N)if(HOP(N,G)){if(G[0]==="$"){ae[G.substr(1)]=N[G]}else{ae.prototype[G]=N[G]}}ae.DEFMETHOD=function(E,R){this.prototype[E]=R};return ae}const has_tok_flag=(E,R)=>Boolean(E.flags&R);const set_tok_flag=(E,R,N)=>{if(N){E.flags|=R}else{E.flags&=~R}};const st=1;const it=2;const ot=4;class AST_Token{constructor(E,R,N,$,j,q,G,ie,ae){this.flags=q?1:0;this.type=E;this.value=R;this.line=N;this.col=$;this.pos=j;this.comments_before=G;this.comments_after=ie;this.file=ae;Object.seal(this)}get nlb(){return has_tok_flag(this,st)}set nlb(E){set_tok_flag(this,st,E)}get quote(){return!has_tok_flag(this,ot)?"":has_tok_flag(this,it)?"'":'"'}set quote(E){set_tok_flag(this,it,E==="'");set_tok_flag(this,ot,!!E)}}var lt=DEFNODE("Node","start end",{_clone:function(E){if(E){var R=this.clone();return R.transform(new TreeTransformer((function(E){if(E!==R){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var ct=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var ut=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},ct);var pt=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},ct);var dt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},ct);function walk_body(E,R){const N=E.body;for(var $=0,j=N.length;$ SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,R){var N=this._clone(E);if(E&&this.variables&&R&&!this._block_scope){N.figure_out_scope({},{toplevel:R,parent_scope:this.parent_scope})}else{if(this.variables)N.variables=new Map(this.variables);if(this.enclosed)N.enclosed=this.enclosed.slice();if(this._block_scope)N._block_scope=this._block_scope}return N},pinned:function(){return this.uses_eval||this.uses_with}},ft);var Ct=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var R=this.body;var N="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";N=parse(N);N=N.transform(new TreeTransformer((function(E){if(E instanceof pt&&E.value=="$ORIG"){return j.splice(R)}})));return N},wrap_enclose:function(E){if(typeof E!="string")E="";var R=E.indexOf(":");if(R<0)R=E.length;var N=this.body;return parse(["(function(",E.slice(0,R),'){"$ORIG"})(',E.slice(R+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof pt&&E.value=="$ORIG"){return j.splice(N)}})))}},At);var Dt=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var Mt=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var R=0;R b)"},Mt);var Tt=DEFNODE("Defun",null,{$documentation:"A function definition"},Mt);var Rt=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.names.length;while(R--)E(this.names[R])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(R){if(R instanceof Un){E.push(R)}})));return E}});var Ft=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Nt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.segments.length;while(R--)E(this.segments[R])}});var Bt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Lt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},ct);var $t=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Lt);var jt=DEFNODE("Return",null,{$documentation:"A `return` statement"},$t);var zt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},$t);var Ut=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Lt);var qt=DEFNODE("Break",null,{$documentation:"A `break` statement"},Ut);var Gt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Ut);var Ht=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var Wt=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var Vt=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},gt);var Kt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);E(this.expression)}},ft);var Qt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},ft);var Jt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Qt);var Xt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);E(this.expression)}},Qt);var Yt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let R=this.body.length;while(R--)E(this.body[R])}},ft);var Zt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);if(this.argname)E(this.argname)}},ft);var en=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},ft);var tn=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var R=this.definitions;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.definitions.length;while(R--)E(this.definitions[R])}},ct);var nn=DEFNODE("Var",null,{$documentation:"A `var` statement"},tn);var rn=DEFNODE("Let",null,{$documentation:"A `let` statement"},tn);var sn=DEFNODE("Const",null,{$documentation:"A `const` statement"},tn);var on=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(E){return E._visit(this,(function(){this.name._walk(E);if(this.value)this.value._walk(E)}))},_children_backwards(E){if(this.value)E(this.value);E(this.name)}});var an=DEFNODE("NameMapping","foreign_name name",{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(E){return E._visit(this,(function(){this.foreign_name._walk(E);this.name._walk(E)}))},_children_backwards(E){E(this.name);E(this.foreign_name)}});var ln=DEFNODE("Import","imported_name imported_names module_name assert_clause",{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from",assert_clause:"[AST_Object?] The import assertion"},_walk:function(E){return E._visit(this,(function(){if(this.imported_name){this.imported_name._walk(E)}if(this.imported_names){this.imported_names.forEach((function(R){R._walk(E)}))}this.module_name._walk(E)}))},_children_backwards(E){E(this.module_name);if(this.imported_names){let R=this.imported_names.length;while(R--)E(this.imported_names[R])}if(this.imported_name)E(this.imported_name)}});var cn=DEFNODE("ImportMeta",null,{$documentation:"A reference to import.meta"});var un=DEFNODE("Export","exported_definition exported_value is_default exported_names module_name assert_clause",{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module",assert_clause:"[AST_Object?] The import assertion"},_walk:function(E){return E._visit(this,(function(){if(this.exported_definition){this.exported_definition._walk(E)}if(this.exported_value){this.exported_value._walk(E)}if(this.exported_names){this.exported_names.forEach((function(R){R._walk(E)}))}if(this.module_name){this.module_name._walk(E)}}))},_children_backwards(E){if(this.module_name)E(this.module_name);if(this.exported_names){let R=this.exported_names.length;while(R--)E(this.exported_names[R])}if(this.exported_value)E(this.exported_value);if(this.exported_definition)E(this.exported_definition)}},ct);var pn=DEFNODE("Call","expression args optional _annotations",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){if(this._annotations==null)this._annotations=0},_walk(E){return E._visit(this,(function(){var R=this.args;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}this.expression._walk(E)}))},_children_backwards(E){let R=this.args.length;while(R--)E(this.args[R]);E(this.expression)}});var dn=DEFNODE("New",null,{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},pn);var hn=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(E){return E._visit(this,(function(){this.expressions.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.expressions.length;while(R--)E(this.expressions[R])}});var mn=DEFNODE("PropAccess","expression property optional",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}});var gn=DEFNODE("Dot","quote",{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},mn);var yn=DEFNODE("DotHash","",{$documentation:"A dotted property access to a private property",_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},mn);var vn=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.property._walk(E)}))},_children_backwards(E){E(this.property);E(this.expression)}},mn);var bn=DEFNODE("Chain","expression",{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var _n=DEFNODE("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var kn=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},_n);var xn=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},_n);var En=DEFNODE("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(E){return E._visit(this,(function(){this.left._walk(E);this.right._walk(E)}))},_children_backwards(E){E(this.right);E(this.left)}});var wn=DEFNODE("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.consequent._walk(E);this.alternative._walk(E)}))},_children_backwards(E){E(this.alternative);E(this.consequent);E(this.condition)}});var Sn=DEFNODE("Assign","logical",{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},En);var An=DEFNODE("DefaultAssign",null,{$documentation:"A default assignment expression like in `(a = 3) => a`"},En);var Cn=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var R=this.elements;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.elements.length;while(R--)E(this.elements[R])}});var Dn=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(E){return E._visit(this,(function(){var R=this.properties;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.properties.length;while(R--)E(this.properties[R])}});var Mn=DEFNODE("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof lt)this.key._walk(E);this.value._walk(E)}))},_children_backwards(E){E(this.value);if(this.key instanceof lt)E(this.key)}});var In=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof lt}},Mn);var Pn=DEFNODE("PrivateSetter","static",{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return false}},Mn);var On=DEFNODE("PrivateGetter","static",{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return false}},Mn);var Tn=DEFNODE("ObjectSetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof Xn)}},Mn);var Rn=DEFNODE("ObjectGetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof Xn)}},Mn);var Fn=DEFNODE("ConciseMethod","quote static is_generator async",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof Xn)}},Mn);var Nn=DEFNODE("PrivateMethod","",{$documentation:"A private class method inside a class"},Fn);var Bn=DEFNODE("Class","name extends properties",{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(E){return E._visit(this,(function(){if(this.name){this.name._walk(E)}if(this.extends){this.extends._walk(E)}this.properties.forEach((R=>R._walk(E)))}))},_children_backwards(E){let R=this.properties.length;while(R--)E(this.properties[R]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},At);var Ln=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof lt)this.key._walk(E);if(this.value instanceof lt)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof lt)E(this.value);if(this.key instanceof lt)E(this.key)},computed_key(){return!(this.key instanceof Yn)}},Mn);var $n=DEFNODE("ClassPrivateProperty","",{$documentation:"A class property for a private property"},Ln);var jn=DEFNODE("DefClass",null,{$documentation:"A class definition"},Bn);var zn=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Bn);var Un=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var qn=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var Gn=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},Un);var Hn=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},Gn);var Wn=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},Gn);var Vn=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Wn);var Kn=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Wn);var Qn=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Hn);var Jn=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},Gn);var Xn=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},Un);var Yn=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},Un);var Zn=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},Gn);var er=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Wn);var tr=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},Gn);var nr=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Wn);var rr=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Wn);var sr=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},Un);var ir=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},Un);var ar=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},Un);var lr=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},ar);var cr=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},Un);var ur=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},Un);var pr=DEFNODE("This",null,{$documentation:"The `this` symbol"},Un);var dr=DEFNODE("Super",null,{$documentation:"The `super` symbol"},pr);var fr=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var hr=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},fr);var mr=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},fr);var gr=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},fr);var yr=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},fr);var vr=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},fr);var br=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},vr);var _r=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},vr);var kr=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},vr);var xr=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},vr);var Er=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},vr);var wr=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},vr);var Sr=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},wr);var Ar=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},wr);function walk(E,R,N=[E]){const $=N.push.bind(N);while(N.length){const E=N.pop();const j=R(E,N);if(j){if(j===Cr)return true;continue}E._children_backwards($)}return false}function walk_parent(E,R,N){const $=[E];const j=$.push.bind($);const q=N?N.slice():[];const G=[];let ie;const ae={parent:(E=0)=>{if(E===-1){return ie}if(N&&E>=q.length){E-=q.length;return N[N.length-(E+1)]}return q[q.length-(1+E)]}};while($.length){ie=$.pop();while(G.length&&$.length==G[G.length-1]){q.pop();G.pop()}const E=R(ie,ae);if(E){if(E===Cr)return true;continue}const N=$.length;ie._children_backwards(j);if($.length>N){q.push(ie);G.push(N-1)}}return false}const Cr=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,R){this.push(E);var N=this.visit(E,R?function(){R.call(E)}:noop);if(!N&&R){R.call(E)}this.pop();return N}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof Mt){this.directives=Object.create(this.directives)}else if(E instanceof pt&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Bn){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof Mt||E instanceof Bn){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var R=this.stack;for(var N=R.length;--N>=0;){var $=R[N];if($ instanceof E)return $}}has_directive(E){var R=this.directives[E];if(R)return R;var N=this.stack[this.stack.length-1];if(N instanceof At&&N.body){for(var $=0;$=0;){var $=R[N];if($ instanceof yt&&$.label.name==E.label.name)return $.body}else for(var N=R.length;--N>=0;){var $=R[N];if($ instanceof vt||E instanceof qt&&$ instanceof Kt)return $}}}class TreeTransformer extends TreeWalker{constructor(E,R){super();this.before=E;this.after=R}}const Dr=1;const Mr=2;const Ir=4;var Pr=Object.freeze({__proto__:null,AST_Accessor:It,AST_Array:Cn,AST_Arrow:Ot,AST_Assign:Sn,AST_Atom:vr,AST_Await:Ht,AST_BigInt:gr,AST_Binary:En,AST_Block:ft,AST_BlockStatement:ht,AST_Boolean:wr,AST_Break:qt,AST_Call:pn,AST_Case:Xt,AST_Catch:Zt,AST_Chain:bn,AST_Class:Bn,AST_ClassExpression:zn,AST_ClassPrivateProperty:$n,AST_ClassProperty:Ln,AST_ConciseMethod:Fn,AST_Conditional:wn,AST_Const:sn,AST_Constant:fr,AST_Continue:Gt,AST_Debugger:ut,AST_Default:Jt,AST_DefaultAssign:An,AST_DefClass:jn,AST_Definitions:tn,AST_Defun:Tt,AST_Destructuring:Rt,AST_Directive:pt,AST_Do:_t,AST_Dot:gn,AST_DotHash:yn,AST_DWLoop:bt,AST_EmptyStatement:mt,AST_Exit:$t,AST_Expansion:Dt,AST_Export:un,AST_False:Sr,AST_Finally:en,AST_For:xt,AST_ForIn:Et,AST_ForOf:wt,AST_Function:Pt,AST_Hole:xr,AST_If:Vt,AST_Import:ln,AST_ImportMeta:cn,AST_Infinity:Er,AST_IterationStatement:vt,AST_Jump:Lt,AST_Label:ir,AST_LabeledStatement:yt,AST_LabelRef:ur,AST_Lambda:Mt,AST_Let:rn,AST_LoopControl:Ut,AST_NameMapping:an,AST_NaN:_r,AST_New:dn,AST_NewTarget:qn,AST_Node:lt,AST_Null:br,AST_Number:mr,AST_Object:Dn,AST_ObjectGetter:Rn,AST_ObjectKeyVal:In,AST_ObjectProperty:Mn,AST_ObjectSetter:Tn,AST_PrefixedTemplateString:Ft,AST_PrivateGetter:On,AST_PrivateMethod:Nn,AST_PrivateSetter:Pn,AST_PropAccess:mn,AST_RegExp:yr,AST_Return:jt,AST_Scope:At,AST_Sequence:hn,AST_SimpleStatement:dt,AST_Statement:ct,AST_StatementWithBody:gt,AST_String:hr,AST_Sub:vn,AST_Super:dr,AST_Switch:Kt,AST_SwitchBranch:Qt,AST_Symbol:Un,AST_SymbolBlockDeclaration:Wn,AST_SymbolCatch:nr,AST_SymbolClass:tr,AST_SymbolClassProperty:Yn,AST_SymbolConst:Vn,AST_SymbolDeclaration:Gn,AST_SymbolDefClass:er,AST_SymbolDefun:Jn,AST_SymbolExport:lr,AST_SymbolExportForeign:cr,AST_SymbolFunarg:Qn,AST_SymbolImport:rr,AST_SymbolImportForeign:sr,AST_SymbolLambda:Zn,AST_SymbolLet:Kn,AST_SymbolMethod:Xn,AST_SymbolRef:ar,AST_SymbolVar:Hn,AST_TemplateSegment:Bt,AST_TemplateString:Nt,AST_This:pr,AST_Throw:zt,AST_Token:AST_Token,AST_Toplevel:Ct,AST_True:Ar,AST_Try:Yt,AST_Unary:_n,AST_UnaryPostfix:xn,AST_UnaryPrefix:kn,AST_Undefined:kr,AST_Var:nn,AST_VarDef:on,AST_While:kt,AST_With:St,AST_Yield:Wt,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:Cr,walk_body:walk_body,walk_parent:walk_parent,_INLINE:Mr,_NOINLINE:Ir,_PURE:Dr});function def_transform(E,R){E.DEFMETHOD("transform",(function(E,N){let $=undefined;E.push(this);if(E.before)$=E.before(this,R,N);if($===undefined){$=this;R($,E);if(E.after){const R=E.after($,N);if(R!==undefined)$=R}}E.pop();return $}))}function do_list(E,R){return j(E,(function(E){return E.transform(R,true)}))}def_transform(lt,noop);def_transform(yt,(function(E,R){E.label=E.label.transform(R);E.body=E.body.transform(R)}));def_transform(dt,(function(E,R){E.body=E.body.transform(R)}));def_transform(ft,(function(E,R){E.body=do_list(E.body,R)}));def_transform(_t,(function(E,R){E.body=E.body.transform(R);E.condition=E.condition.transform(R)}));def_transform(kt,(function(E,R){E.condition=E.condition.transform(R);E.body=E.body.transform(R)}));def_transform(xt,(function(E,R){if(E.init)E.init=E.init.transform(R);if(E.condition)E.condition=E.condition.transform(R);if(E.step)E.step=E.step.transform(R);E.body=E.body.transform(R)}));def_transform(Et,(function(E,R){E.init=E.init.transform(R);E.object=E.object.transform(R);E.body=E.body.transform(R)}));def_transform(St,(function(E,R){E.expression=E.expression.transform(R);E.body=E.body.transform(R)}));def_transform($t,(function(E,R){if(E.value)E.value=E.value.transform(R)}));def_transform(Ut,(function(E,R){if(E.label)E.label=E.label.transform(R)}));def_transform(Vt,(function(E,R){E.condition=E.condition.transform(R);E.body=E.body.transform(R);if(E.alternative)E.alternative=E.alternative.transform(R)}));def_transform(Kt,(function(E,R){E.expression=E.expression.transform(R);E.body=do_list(E.body,R)}));def_transform(Xt,(function(E,R){E.expression=E.expression.transform(R);E.body=do_list(E.body,R)}));def_transform(Yt,(function(E,R){E.body=do_list(E.body,R);if(E.bcatch)E.bcatch=E.bcatch.transform(R);if(E.bfinally)E.bfinally=E.bfinally.transform(R)}));def_transform(Zt,(function(E,R){if(E.argname)E.argname=E.argname.transform(R);E.body=do_list(E.body,R)}));def_transform(tn,(function(E,R){E.definitions=do_list(E.definitions,R)}));def_transform(on,(function(E,R){E.name=E.name.transform(R);if(E.value)E.value=E.value.transform(R)}));def_transform(Rt,(function(E,R){E.names=do_list(E.names,R)}));def_transform(Mt,(function(E,R){if(E.name)E.name=E.name.transform(R);E.argnames=do_list(E.argnames,R);if(E.body instanceof lt){E.body=E.body.transform(R)}else{E.body=do_list(E.body,R)}}));def_transform(pn,(function(E,R){E.expression=E.expression.transform(R);E.args=do_list(E.args,R)}));def_transform(hn,(function(E,R){const N=do_list(E.expressions,R);E.expressions=N.length?N:[new mr({value:0})]}));def_transform(mn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(vn,(function(E,R){E.expression=E.expression.transform(R);E.property=E.property.transform(R)}));def_transform(bn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(Wt,(function(E,R){if(E.expression)E.expression=E.expression.transform(R)}));def_transform(Ht,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(_n,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(En,(function(E,R){E.left=E.left.transform(R);E.right=E.right.transform(R)}));def_transform(wn,(function(E,R){E.condition=E.condition.transform(R);E.consequent=E.consequent.transform(R);E.alternative=E.alternative.transform(R)}));def_transform(Cn,(function(E,R){E.elements=do_list(E.elements,R)}));def_transform(Dn,(function(E,R){E.properties=do_list(E.properties,R)}));def_transform(Mn,(function(E,R){if(E.key instanceof lt){E.key=E.key.transform(R)}if(E.value)E.value=E.value.transform(R)}));def_transform(Bn,(function(E,R){if(E.name)E.name=E.name.transform(R);if(E.extends)E.extends=E.extends.transform(R);E.properties=do_list(E.properties,R)}));def_transform(Dt,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(an,(function(E,R){E.foreign_name=E.foreign_name.transform(R);E.name=E.name.transform(R)}));def_transform(ln,(function(E,R){if(E.imported_name)E.imported_name=E.imported_name.transform(R);if(E.imported_names)do_list(E.imported_names,R);E.module_name=E.module_name.transform(R)}));def_transform(un,(function(E,R){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(R);if(E.exported_value)E.exported_value=E.exported_value.transform(R);if(E.exported_names)do_list(E.exported_names,R);if(E.module_name)E.module_name=E.module_name.transform(R)}));def_transform(Nt,(function(E,R){E.segments=do_list(E.segments,R)}));def_transform(Ft,(function(E,R){E.prefix=E.prefix.transform(R);E.template_string=E.template_string.transform(R)}));(function(){var normalize_directives=function(E){var R=true;for(var N=0;N{if(E&&E.length>0){return new Dn({start:my_start_token(E),end:my_end_token(E),properties:E.map((E=>new In({start:my_start_token(E),end:my_end_token(E),key:E.key.name||E.key.value,value:from_moz(E.value)})))})}return null};var E={Program:function(E){return new Ct({start:my_start_token(E),end:my_end_token(E),body:normalize_directives(E.body.map(from_moz))})},ArrayPattern:function(E){return new Rt({start:my_start_token(E),end:my_end_token(E),names:E.elements.map((function(E){if(E===null){return new xr}return from_moz(E)})),is_array:true})},ObjectPattern:function(E){return new Rt({start:my_start_token(E),end:my_end_token(E),names:E.properties.map(from_moz),is_array:false})},AssignmentPattern:function(E){return new An({start:my_start_token(E),end:my_end_token(E),left:from_moz(E.left),operator:"=",right:from_moz(E.right)})},SpreadElement:function(E){return new Dt({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.argument)})},RestElement:function(E){return new Dt({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.argument)})},TemplateElement:function(E){return new Bt({start:my_start_token(E),end:my_end_token(E),value:E.value.cooked,raw:E.value.raw})},TemplateLiteral:function(E){var R=[];for(var N=0;N1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Yt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(R[0]),bfinally:E.finalizer?new en(from_moz(E.finalizer)):null})},Property:function(E){var R=E.key;var N={start:my_start_token(R||E.value),end:my_end_token(E.value),key:R.type=="Identifier"?R.name:R.value,value:from_moz(E.value)};if(E.computed){N.key=from_moz(E.key)}if(E.method){N.is_generator=E.value.generator;N.async=E.value.async;if(!E.computed){N.key=new Xn({name:N.key})}else{N.key=from_moz(E.key)}return new Fn(N)}if(E.kind=="init"){if(R.type!="Identifier"&&R.type!="Literal"){N.key=from_moz(R)}return new In(N)}if(typeof N.key==="string"||typeof N.key==="number"){N.key=new Xn({name:N.key})}N.value=new It(N.value);if(E.kind=="get")return new Rn(N);if(E.kind=="set")return new Tn(N);if(E.kind=="method"){N.async=E.value.async;N.is_generator=E.value.generator;N.quote=E.computed?'"':null;return new Fn(N)}},MethodDefinition:function(E){var R={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Xn({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new Rn(R)}if(E.kind=="set"){return new Tn(R)}R.is_generator=E.value.generator;R.async=E.value.async;return new Fn(R)},FieldDefinition:function(E){let R;if(E.computed){R=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");R=from_moz(E.key)}return new Ln({start:my_start_token(E),end:my_end_token(E),key:R,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let R;if(E.computed){R=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");R=from_moz(E.key)}return new Ln({start:my_start_token(E),end:my_end_token(E),key:R,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new Cn({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new xr:from_moz(E)}))})},ObjectExpression:function(E){return new Dn({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new hn({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?vn:gn)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new bn({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Xt:Jt)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?sn:E.kind==="let"?rn:nn)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var R=null;var N=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!N){N=[]}N.push(new an({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){R=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!N){N=[]}N.push(new an({start:my_start_token(E),end:my_end_token(E),foreign_name:new sr({name:"*"}),name:from_moz(E.local)}))}}));return new ln({start:my_start_token(E),end:my_end_token(E),imported_name:R,imported_names:N,module_name:from_moz(E.source),assert_clause:assert_clause_from_moz(E.assertions)})},ExportAllDeclaration:function(E){return new un({start:my_start_token(E),end:my_end_token(E),exported_names:[new an({name:new cr({name:"*"}),foreign_name:new cr({name:"*"})})],module_name:from_moz(E.source),assert_clause:assert_clause_from_moz(E.assertions)})},ExportNamedDeclaration:function(E){return new un({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new an({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source),assert_clause:assert_clause_from_moz(E.assertions)})},ExportDefaultDeclaration:function(E){return new un({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var R=E.value,N={start:my_start_token(E),end:my_end_token(E)};var $=E.regex;if($&&$.pattern){N.value={source:$.pattern,flags:$.flags};return new yr(N)}else if($){const $=E.raw||R;const j=$.match(/^\/(.*)\/(\w*)$/);if(!j)throw new Error("Invalid regex source "+$);const[q,G,ie]=j;N.value={source:G,flags:ie};return new yr(N)}if(R===null)return new br(N);switch(typeof R){case"string":N.value=R;return new hr(N);case"number":N.value=R;N.raw=E.raw||R.toString();return new mr(N);case"boolean":return new(R?Ar:Sr)(N)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new qn({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new cn({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var N=R[R.length-2];return new(N.type=="LabeledStatement"?ir:N.type=="VariableDeclarator"&&N.id===E?N.kind=="const"?Vn:N.kind=="let"?Kn:Hn:/Import.*Specifier/.test(N.type)?N.local===E?rr:sr:N.type=="ExportSpecifier"?N.local===E?lr:cr:N.type=="FunctionExpression"?N.id===E?Zn:Qn:N.type=="FunctionDeclaration"?N.id===E?Jn:Qn:N.type=="ArrowFunctionExpression"?N.params.includes(E)?Qn:ar:N.type=="ClassExpression"?N.id===E?tr:ar:N.type=="Property"?N.key===E&&N.computed||N.value===E?ar:Xn:N.type=="PropertyDefinition"||N.type==="FieldDefinition"?N.key===E&&N.computed||N.value===E?ar:Yn:N.type=="ClassDeclaration"?N.id===E?er:ar:N.type=="MethodDefinition"?N.computed?ar:Xn:N.type=="CatchClause"?nr:N.type=="BreakStatement"||N.type=="ContinueStatement"?ur:ar)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new gr({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var R="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(R?kn:xn)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?jn:zn)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",mt);map("BlockStatement",ht,"body@body");map("IfStatement",Vt,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",yt,"label>label, body>body");map("BreakStatement",qt,"label>label");map("ContinueStatement",Gt,"label>label");map("WithStatement",St,"object>expression, body>body");map("SwitchStatement",Kt,"discriminant>expression, cases@body");map("ReturnStatement",jt,"argument>value");map("ThrowStatement",zt,"argument>value");map("WhileStatement",kt,"test>condition, body>body");map("DoWhileStatement",_t,"test>condition, body>body");map("ForStatement",xt,"init>init, test>condition, update>step, body>body");map("ForInStatement",Et,"left>init, right>object, body>body");map("ForOfStatement",wt,"left>init, right>object, body>body, await=await");map("AwaitExpression",Ht,"argument>expression");map("YieldExpression",Wt,"argument>expression, delegate=is_star");map("DebuggerStatement",ut);map("VariableDeclarator",on,"id>name, init>value");map("CatchClause",Zt,"param>argname, body%body");map("ThisExpression",pr);map("Super",dr);map("BinaryExpression",En,"operator=operator, left>left, right>right");map("LogicalExpression",En,"operator=operator, left>left, right>right");map("AssignmentExpression",Sn,"operator=operator, left>left, right>right");map("ConditionalExpression",wn,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",dn,"callee>expression, arguments@args");map("CallExpression",pn,"callee>expression, optional=optional, arguments@args");def_to_moz(Ct,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(Dt,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Ft,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Nt,(function To_Moz_TemplateLiteral(E){var R=[];var N=[];for(var $=0;${const R=[];if(E){for(const{key:N,value:$}of E.properties){const E=is_basic_identifier_string(N)?{type:"Identifier",name:N}:{type:"Literal",value:N,raw:JSON.stringify(N)};R.push({type:"ImportAttribute",key:E,value:to_moz($)})}}return R};def_to_moz(un,(function To_Moz_ExportDeclaration(E){if(E.exported_names){if(E.exported_names[0].name.name==="*"){return{type:"ExportAllDeclaration",source:to_moz(E.module_name),assertions:assert_clause_to_moz(E.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:E.exported_names.map((function(E){return{type:"ExportSpecifier",exported:to_moz(E.foreign_name),local:to_moz(E.name)}})),declaration:to_moz(E.exported_definition),source:to_moz(E.module_name),assertions:assert_clause_to_moz(E.assert_clause)}}return{type:E.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:to_moz(E.exported_value||E.exported_definition)}}));def_to_moz(ln,(function To_Moz_ImportDeclaration(E){var R=[];if(E.imported_name){R.push({type:"ImportDefaultSpecifier",local:to_moz(E.imported_name)})}if(E.imported_names&&E.imported_names[0].foreign_name.name==="*"){R.push({type:"ImportNamespaceSpecifier",local:to_moz(E.imported_names[0].name)})}else if(E.imported_names){E.imported_names.forEach((function(E){R.push({type:"ImportSpecifier",local:to_moz(E.name),imported:to_moz(E.foreign_name)})}))}return{type:"ImportDeclaration",specifiers:R,source:to_moz(E.module_name),assertions:assert_clause_to_moz(E.assert_clause)}}));def_to_moz(cn,(function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}));def_to_moz(hn,(function To_Moz_SequenceExpression(E){return{type:"SequenceExpression",expressions:E.expressions.map(to_moz)}}));def_to_moz(yn,(function To_Moz_PrivateMemberExpression(E){return{type:"MemberExpression",object:to_moz(E.expression),computed:false,property:{type:"PrivateIdentifier",name:E.property},optional:E.optional}}));def_to_moz(mn,(function To_Moz_MemberExpression(E){var R=E instanceof vn;return{type:"MemberExpression",object:to_moz(E.expression),computed:R,property:R?to_moz(E.property):{type:"Identifier",name:E.property},optional:E.optional}}));def_to_moz(bn,(function To_Moz_ChainExpression(E){return{type:"ChainExpression",expression:to_moz(E.expression)}}));def_to_moz(_n,(function To_Moz_Unary(E){return{type:E.operator=="++"||E.operator=="--"?"UpdateExpression":"UnaryExpression",operator:E.operator,prefix:E instanceof kn,argument:to_moz(E.expression)}}));def_to_moz(En,(function To_Moz_BinaryExpression(E){if(E.operator=="="&&to_moz_in_destructuring()){return{type:"AssignmentPattern",left:to_moz(E.left),right:to_moz(E.right)}}const R=E.operator=="&&"||E.operator=="||"||E.operator==="??"?"LogicalExpression":"BinaryExpression";return{type:R,left:to_moz(E.left),operator:E.operator,right:to_moz(E.right)}}));def_to_moz(Cn,(function To_Moz_ArrayExpression(E){return{type:"ArrayExpression",elements:E.elements.map(to_moz)}}));def_to_moz(Dn,(function To_Moz_ObjectExpression(E){return{type:"ObjectExpression",properties:E.properties.map(to_moz)}}));def_to_moz(Mn,(function To_Moz_Property(E,R){var N=E.key instanceof lt?to_moz(E.key):{type:"Identifier",value:E.key};if(typeof E.key==="number"){N={type:"Literal",value:Number(E.key)}}if(typeof E.key==="string"){N={type:"Identifier",name:E.key}}var $;var j=typeof E.key==="string"||typeof E.key==="number";var q=j?false:!(E.key instanceof Un)||E.key instanceof ar;if(E instanceof In){$="init";q=!j}else if(E instanceof Rn){$="get"}else if(E instanceof Tn){$="set"}if(E instanceof On||E instanceof Pn){const R=E instanceof On?"get":"set";return{type:"MethodDefinition",computed:false,kind:R,static:E.static,key:{type:"PrivateIdentifier",name:E.key.name},value:to_moz(E.value)}}if(E instanceof $n){return{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:E.key.name},value:to_moz(E.value),computed:false,static:E.static}}if(E instanceof Ln){return{type:"PropertyDefinition",key:N,value:to_moz(E.value),computed:q,static:E.static}}if(R instanceof Bn){return{type:"MethodDefinition",computed:q,kind:$,static:E.static,key:to_moz(E.key),value:to_moz(E.value)}}return{type:"Property",computed:q,kind:$,key:N,value:to_moz(E.value)}}));def_to_moz(Fn,(function To_Moz_MethodDefinition(E,R){if(R instanceof Dn){return{type:"Property",computed:!(E.key instanceof Un)||E.key instanceof ar,kind:"init",method:true,shorthand:false,key:to_moz(E.key),value:to_moz(E.value)}}const N=E instanceof Nn?{type:"PrivateIdentifier",name:E.key.name}:to_moz(E.key);return{type:"MethodDefinition",kind:E.key==="constructor"?"constructor":"method",key:N,value:to_moz(E.value),computed:!(E.key instanceof Un)||E.key instanceof ar,static:E.static}}));def_to_moz(Bn,(function To_Moz_Class(E){var R=E instanceof zn?"ClassExpression":"ClassDeclaration";return{type:R,superClass:to_moz(E.extends),id:E.name?to_moz(E.name):null,body:{type:"ClassBody",body:E.properties.map(to_moz)}}}));def_to_moz(qn,(function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}));def_to_moz(Un,(function To_Moz_Identifier(E,R){if(E instanceof Xn&&R.quote){return{type:"Literal",value:E.name}}var N=E.definition();return{type:"Identifier",name:N?N.mangled_name||N.name:E.name}}));def_to_moz(yr,(function To_Moz_RegExpLiteral(E){const R=E.value.source;const N=E.value.flags;return{type:"Literal",value:null,raw:E.print_to_string(),regex:{pattern:R,flags:N}}}));def_to_moz(fr,(function To_Moz_Literal(E){var R=E.value;return{type:"Literal",value:R,raw:E.raw||E.print_to_string()}}));def_to_moz(vr,(function To_Moz_Atom(E){return{type:"Identifier",name:String(E.value)}}));def_to_moz(gr,(E=>({type:"BigIntLiteral",value:E.value})));wr.DEFMETHOD("to_mozilla_ast",fr.prototype.to_mozilla_ast);br.DEFMETHOD("to_mozilla_ast",fr.prototype.to_mozilla_ast);xr.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));ft.DEFMETHOD("to_mozilla_ast",ht.prototype.to_mozilla_ast);Mt.DEFMETHOD("to_mozilla_ast",Pt.prototype.to_mozilla_ast);function my_start_token(E){var R=E.loc,N=R&&R.start;var $=E.range;return new AST_Token("","",N&&N.line||0,N&&N.column||0,$?$[0]:E.start,false,[],[],R&&R.source)}function my_end_token(E){var R=E.loc,N=R&&R.end;var $=E.range;return new AST_Token("","",N&&N.line||0,N&&N.column||0,$?$[0]:E.end,false,[],[],R&&R.source)}function map(R,N,$){var j="function From_Moz_"+R+"(M){\n";j+="return new U2."+N.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var q="function To_Moz_"+R+"(M){\n";q+="return {\n"+"type: "+JSON.stringify(R);if($)$.split(/\s*,\s*/).forEach((function(E){var R=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!R)throw new Error("Can't understand property map: "+E);var N=R[1],$=R[2],G=R[3];j+=",\n"+G+": ";q+=",\n"+N+": ";switch($){case"@":j+="M."+N+".map(from_moz)";q+="M."+G+".map(to_moz)";break;case">":j+="from_moz(M."+N+")";q+="to_moz(M."+G+")";break;case"=":j+="M."+N;q+="M."+G;break;case"%":j+="from_moz(M."+N+").body";q+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));j+="\n})\n}";q+="\n}\n}";j=new Function("U2","my_start_token","my_end_token","from_moz","return("+j+")")(Pr,my_start_token,my_end_token,from_moz);q=new Function("to_moz","to_moz_block","to_moz_scope","return("+q+")")(to_moz,to_moz_block,to_moz_scope);E[R]=j;def_to_moz(N,q)}var R=null;function from_moz(N){R.push(N);var $=N!=null?E[N.type](N):null;R.pop();return $}lt.from_mozilla_ast=function(E){var N=R;R=[];var $=from_moz(E);R=N;return $};function set_moz_loc(E,R){var N=E.start;var $=E.end;if(!(N&&$)){return R}if(N.pos!=null&&$.endpos!=null){R.range=[N.pos,$.endpos]}if(N.line){R.loc={start:{line:N.line,column:N.col},end:$.endline?{line:$.endline,column:$.endcol}:null};if(N.file){R.loc.source=N.file}}return R}function def_to_moz(E,R){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,R(this,E))}))}var N=null;function to_moz(E){if(N===null){N=[]}N.push(E);var R=E!=null?E.to_mozilla_ast(N[N.length-2]):null;N.pop();if(N.length===0){N=null}return R}function to_moz_in_destructuring(){var E=N.length;while(E--){if(N[E]instanceof Rt){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,R){var N=R.body.map(to_moz);if(R.body[0]instanceof dt&&R.body[0].body instanceof hr){N.unshift(to_moz(new mt(R.body[0])))}return{type:E,body:N}}})();function first_in_statement(E){let R=E.parent(-1);for(let N=0,$;$=E.parent(N);N++){if($ instanceof ct&&$.body===R)return true;if($ instanceof hn&&$.expressions[0]===R||$.TYPE==="Call"&&$.expression===R||$ instanceof Ft&&$.prefix===R||$ instanceof gn&&$.expression===R||$ instanceof vn&&$.expression===R||$ instanceof wn&&$.condition===R||$ instanceof En&&$.left===R||$ instanceof xn&&$.expression===R){R=$}else{return false}}}function left_is_object(E){if(E instanceof Dn)return true;if(E instanceof hn)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Ft)return left_is_object(E.prefix);if(E instanceof gn||E instanceof vn)return left_is_object(E.expression);if(E instanceof wn)return left_is_object(E.condition);if(E instanceof En)return left_is_object(E.left);if(E instanceof xn)return left_is_object(E.expression);return false}const Or=/^$|[;{][\s\n]*$/;const Tr=10;const Rr=32;const Fr=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}class Rope{constructor(){this.committed="";this.current=""}append(E){this.current+=E}insertAt(E,R){const{committed:N,current:$}=this;if(R5;var N=return_false;if(E.comments){let R=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var $=E.comments.lastIndexOf("/");R=new RegExp(E.comments.substr(1,$-1),E.comments.substr($+1))}if(R instanceof RegExp){N=function(E){return E.type!="comment5"&&R.test(E.value)}}else if(typeof R==="function"){N=function(E){return E.type!="comment5"&&R(this,E)}}else if(R==="some"){N=is_some_comments}else{N=return_true}}var j=0;var q=0;var G=1;var ie=0;var ae=new Rope;let le=new Set;var _e=E.ascii_only?function(R,N){if(E.ecma>=2015&&!E.safari10){R=R.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var R=get_full_char_code(E,0).toString(16);return"\\u{"+R+"}"}))}return R.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var R=E.charCodeAt(0).toString(16);if(R.length<=2&&!N){while(R.length<2)R="0"+R;return"\\x"+R}else{while(R.length<4)R="0"+R;return"\\u"+R}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,R){if(R){return"\\u"+R.charCodeAt(0).toString(16)}return E}))};function make_string(R,N){var $=0,j=0;R=R.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(N,q){switch(N){case'"':++$;return'"';case"'":++j;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(R,q+1))?"\\x00":"\\0"}return N}));function quote_single(){return"'"+R.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+R.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+R.replace(/`/g,"\\`")+"`"}R=_e(R);if(N==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return N=="'"?quote_single():quote_double();default:return $>j?quote_single():quote_double()}}function encode_string(R,N){var $=make_string(R,N);if(E.inline_script){$=$.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");$=$.replace(/\x3c!--/g,"\\x3c!--");$=$.replace(/--\x3e/g,"--\\x3e")}return $}function make_name(E){E=E.toString();E=_e(E,true);return E}function make_indent(R){return" ".repeat(E.indent_start+j-R*E.indent_level)}var Ee=false;var we=false;var Me=false;var Ie=0;var Te=false;var Ne=false;var Be=-1;var Le="";var je,ze,Ue=E.source_map&&[];var qe=Ue?function(){Ue.forEach((function(R){try{let{name:N,token:$}=R;if($.type=="name"||$.type==="privatename"){N=$.value}else if(N instanceof Un){N=$.type==="string"?$.value:N.name}E.source_map.add(R.token.file,R.line,R.col,R.token.line,R.token.col,is_basic_identifier_string(N)?N:undefined)}catch(E){}}));Ue=[]}:noop;var Ge=E.max_line_len?function(){if(q>E.max_line_len){if(Ie){ae.insertAt("\n",Ie);const E=ae.curLength();if(Ue){var R=E-q;Ue.forEach((function(E){E.line++;E.col+=R}))}G++;ie++;q=E}}if(Ie){Ie=0;qe()}}:noop;var He=makePredicate("( [ + * / - , . `");function print(R){R=String(R);var N=get_full_char(R,0);if(Te&&N){Te=false;if(N!=="\n"){print("\n");Ve()}}if(Ne&&N){Ne=false;if(!/[\s;})]/.test(N)){We()}}Be=-1;var $=Le.charAt(Le.length-1);if(Me){Me=false;if($===":"&&N==="}"||(!N||!";}".includes(N))&&$!==";"){if(E.semicolons||He.has(N)){ae.append(";");q++;ie++}else{Ge();if(q>0){ae.append("\n");ie++;G++;q=0}if(/^\s+$/.test(R)){Me=true}}if(!E.beautify)we=false}}if(we){if(is_identifier_char($)&&(is_identifier_char(N)||N=="\\")||N=="/"&&N==$||(N=="+"||N=="-")&&N==Le){ae.append(" ");q++;ie++}we=false}if(je){Ue.push({token:je,name:ze,line:G,col:q});je=false;if(!Ie)qe()}ae.append(R);Ee=R[R.length-1]=="(";ie+=R.length;var j=R.split(/\r?\n/),le=j.length-1;G+=le;q+=j[0].length;if(le>0){Ge();q=j[le].length}Le=R}var star=function(){print("*")};var We=E.beautify?function(){print(" ")}:function(){we=true};var Ve=E.beautify?function(R){if(E.beautify){print(make_indent(R?.5:0))}}:noop;var Ke=E.beautify?function(E,R){if(E===true)E=next_indent();var N=j;j=E;var $=R();j=N;return $}:function(E,R){return R()};var Qe=E.beautify?function(){if(Be<0)return print("\n");if(ae.charAt(Be)!="\n"){ae.insertAt("\n",Be);ie++;G++}Be++}:E.max_line_len?function(){Ge();Ie=ae.length()}:noop;var Je=E.beautify?function(){print(";")}:function(){Me=true};function force_semicolon(){Me=false;print(";")}function next_indent(){return j+E.indent_level}function with_block(E){var R;print("{");Qe();Ke(next_indent(),(function(){R=E()}));Ve();print("}");return R}function with_parens(E){print("(");var R=E();print(")");return R}function with_square(E){print("[");var R=E();print("]");return R}function comma(){print(",");We()}function colon(){print(":");We()}var Xe=Ue?function(E,R){je=E;ze=R}:noop;function get(){if(Ie){Ge()}return ae.toString()}function has_nlb(){const E=ae.toString();let R=E.length-1;while(R>=0){const N=E.charCodeAt(R);if(N===Tr){return true}if(N!==Rr){return false}R--}return true}function filter_comment(R){if(!E.preserve_annotations){R=R.replace(Fr," ")}if(/^\s*$/.test(R)){return""}return R.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(R){var $=this;var j=R.start;if(!j)return;var q=$.printed_comments;const G=R instanceof $t&&R.value;if(j.comments_before&&q.has(j.comments_before)){if(G){j.comments_before=[]}else{return}}var ae=j.comments_before;if(!ae){ae=j.comments_before=[]}q.add(ae);if(G){var le=new TreeWalker((function(E){var R=le.parent();if(R instanceof $t||R instanceof En&&R.left===E||R.TYPE=="Call"&&R.expression===E||R instanceof wn&&R.condition===E||R instanceof gn&&R.expression===E||R instanceof hn&&R.expressions[0]===E||R instanceof vn&&R.expression===E||R instanceof xn){if(!E.start)return;var N=E.start.comments_before;if(N&&!q.has(N)){q.add(N);ae=ae.concat(N)}}else{return true}}));le.push(R);R.value.walk(le)}if(ie==0){if(ae.length>0&&E.shebang&&ae[0].type==="comment5"&&!q.has(ae[0])){print("#!"+ae.shift().value+"\n");Ve()}var _e=E.preamble;if(_e){print(_e.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}ae=ae.filter(N,R).filter((E=>!q.has(E)));if(ae.length==0)return;var Ee=has_nlb();ae.forEach((function(E,R){q.add(E);if(!Ee){if(E.nlb){print("\n");Ve();Ee=true}else if(R>0){We()}}if(/comment[134]/.test(E.type)){var N=filter_comment(E.value);if(N){print("//"+N+"\n");Ve()}Ee=true}else if(E.type=="comment2"){var N=filter_comment(E.value);if(N){print("/*"+N+"*/")}Ee=false}}));if(!Ee){if(j.nlb){print("\n");Ve()}else{We()}}}function append_comments(E,R){var $=this;var j=E.end;if(!j)return;var q=$.printed_comments;var G=j[R?"comments_before":"comments_after"];if(!G||q.has(G))return;if(!(E instanceof ct||G.every((E=>!/comment[134]/.test(E.type)))))return;q.add(G);var ie=ae.length();G.filter(N,E).forEach((function(E,N){if(q.has(E))return;q.add(E);Ne=false;if(Te){print("\n");Ve();Te=false}else if(E.nlb&&(N>0||!has_nlb())){print("\n");Ve()}else if(N>0||!R){We()}if(/comment[134]/.test(E.type)){const R=filter_comment(E.value);if(R){print("//"+R)}Te=true}else if(E.type=="comment2"){const R=filter_comment(E.value);if(R){print("/*"+R+"*/")}Ne=true}}));if(ae.length()>ie)Be=ie}var Ye=[];return{get:get,toString:get,indent:Ve,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return j},current_width:function(){return q-j},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return Ee},newline:Qe,print:print,star:star,space:We,comma:comma,colon:colon,last:function(){return Le},semicolon:Je,force_semicolon:force_semicolon,to_utf8:_e,print_name:function(E){print(make_name(E))},print_string:function(E,R,N){var $=encode_string(E,R);if(N===true&&!$.includes("\\")){if(!Or.test(ae.toString())){force_semicolon()}force_semicolon()}print($)},print_template_string_chars:function(E){var R=encode_string(E,"`").replace(/\${/g,"\\${");return print(R.substr(1,R.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:Ke,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:Xe,option:function(R){return E[R]},printed_comments:le,prepend_comments:R?noop:prepend_comments,append_comments:R||N===return_false?noop:append_comments,line:function(){return G},col:function(){return q},pos:function(){return ie},push_node:function(E){Ye.push(E)},pop_node:function(){return Ye.pop()},parent:function(E){return Ye[Ye.length-2-(E||0)]}}}(function(){function DEFPRINT(E,R){E.DEFMETHOD("_codegen",R)}lt.DEFMETHOD("print",(function(E,R){var N=this,$=N._codegen;if(N instanceof At){E.active_scope=N}else if(!E.use_asm&&N instanceof pt&&N.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(N);N.add_source_map(E);$(N,E);E.append_comments(N)}E.push_node(N);if(R||N.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(N===E.use_asm){E.use_asm=null}}));lt.DEFMETHOD("_print",lt.prototype.print);lt.DEFMETHOD("print_to_string",(function(E){var R=OutputStream(E);this.print(R);return R.get()}));function PARENS(E,R){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,R)}))}else{E.DEFMETHOD("needs_parens",R)}}PARENS(lt,return_false);PARENS(Pt,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var R=E.parent();if(R instanceof mn&&R.expression===this){return true}}if(E.option("wrap_iife")){var R=E.parent();if(R instanceof pn&&R.expression===this){return true}}if(E.option("wrap_func_args")){var R=E.parent();if(R instanceof pn&&R.args.includes(this)){return true}}return false}));PARENS(Ot,(function(E){var R=E.parent();if(E.option("wrap_func_args")&&R instanceof pn&&R.args.includes(this)){return true}return R instanceof mn&&R.expression===this}));PARENS(Dn,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(zn,first_in_statement);PARENS(_n,(function(E){var R=E.parent();return R instanceof mn&&R.expression===this||R instanceof pn&&R.expression===this||R instanceof En&&R.operator==="**"&&this instanceof kn&&R.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Ht,(function(E){var R=E.parent();return R instanceof mn&&R.expression===this||R instanceof pn&&R.expression===this||R instanceof En&&R.operator==="**"&&R.left===this||E.option("safari10")&&R instanceof kn}));PARENS(hn,(function(E){var R=E.parent();return R instanceof pn||R instanceof _n||R instanceof En||R instanceof on||R instanceof mn||R instanceof Cn||R instanceof Mn||R instanceof wn||R instanceof Ot||R instanceof An||R instanceof Dt||R instanceof wt&&this===R.object||R instanceof Wt||R instanceof un}));PARENS(En,(function(E){var R=E.parent();if(R instanceof pn&&R.expression===this)return true;if(R instanceof _n)return true;if(R instanceof mn&&R.expression===this)return true;if(R instanceof En){const E=R.operator;const N=this.operator;if(N==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(N==="||"||N==="&&")){return true}const $=nt[E];const j=nt[N];if($>j||$==j&&(this===R.right||E=="**")){return true}}}));PARENS(Wt,(function(E){var R=E.parent();if(R instanceof En&&R.operator!=="=")return true;if(R instanceof pn&&R.expression===this)return true;if(R instanceof wn&&R.condition===this)return true;if(R instanceof _n)return true;if(R instanceof mn&&R.expression===this)return true}));PARENS(mn,(function(E){var R=E.parent();if(R instanceof dn&&R.expression===this){return walk(this,(E=>{if(E instanceof At)return true;if(E instanceof pn){return Cr}}))}}));PARENS(pn,(function(E){var R=E.parent(),N;if(R instanceof dn&&R.expression===this||R instanceof un&&R.is_default&&this.expression instanceof Pt)return true;return this.expression instanceof Pt&&R instanceof mn&&R.expression===this&&(N=E.parent(1))instanceof Sn&&N.left===R}));PARENS(dn,(function(E){var R=E.parent();if(this.args.length===0&&(R instanceof mn||R instanceof pn&&R.expression===this))return true}));PARENS(mr,(function(E){var R=E.parent();if(R instanceof mn&&R.expression===this){var N=this.getValue();if(N<0||/^0/.test(make_num(N))){return true}}}));PARENS(gr,(function(E){var R=E.parent();if(R instanceof mn&&R.expression===this){var N=this.getValue();if(N.startsWith("-")){return true}}}));PARENS([Sn,wn],(function(E){var R=E.parent();if(R instanceof _n)return true;if(R instanceof En&&!(R instanceof Sn))return true;if(R instanceof pn&&R.expression===this)return true;if(R instanceof wn&&R.condition===this)return true;if(R instanceof mn&&R.expression===this)return true;if(this instanceof Sn&&this.left instanceof Rt&&this.left.is_array===false)return true}));DEFPRINT(pt,(function(E,R){R.print_string(E.value,E.quote);R.semicolon()}));DEFPRINT(Dt,(function(E,R){R.print("...");E.expression.print(R)}));DEFPRINT(Rt,(function(E,R){R.print(E.is_array?"[":"{");var N=E.names.length;E.names.forEach((function(E,$){if($>0)R.comma();E.print(R);if($==N-1&&E instanceof xr)R.comma()}));R.print(E.is_array?"]":"}")}));DEFPRINT(ut,(function(E,R){R.print("debugger");R.semicolon()}));function display_body(E,R,N,$){var j=E.length-1;N.in_directive=$;E.forEach((function(E,$){if(N.in_directive===true&&!(E instanceof pt||E instanceof mt||E instanceof dt&&E.body instanceof hr)){N.in_directive=false}if(!(E instanceof mt)){N.indent();E.print(N);if(!($==j&&R)){N.newline();if(R)N.newline()}}if(N.in_directive===true&&E instanceof dt&&E.body instanceof hr){N.in_directive=false}}));N.in_directive=false}gt.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(ct,(function(E,R){E.body.print(R);R.semicolon()}));DEFPRINT(Ct,(function(E,R){display_body(E.body,true,R,true);R.print("")}));DEFPRINT(yt,(function(E,R){E.label.print(R);R.colon();E.body.print(R)}));DEFPRINT(dt,(function(E,R){E.body.print(R);R.semicolon()}));function print_braced_empty(E,R){R.print("{");R.with_indent(R.next_indent(),(function(){R.append_comments(E,true)}));R.print("}")}function print_braced(E,R,N){if(E.body.length>0){R.with_block((function(){display_body(E.body,false,R,N)}))}else print_braced_empty(E,R)}DEFPRINT(ht,(function(E,R){print_braced(E,R)}));DEFPRINT(mt,(function(E,R){R.semicolon()}));DEFPRINT(_t,(function(E,R){R.print("do");R.space();make_block(E.body,R);R.space();R.print("while");R.space();R.with_parens((function(){E.condition.print(R)}));R.semicolon()}));DEFPRINT(kt,(function(E,R){R.print("while");R.space();R.with_parens((function(){E.condition.print(R)}));R.space();E._do_print_body(R)}));DEFPRINT(xt,(function(E,R){R.print("for");R.space();R.with_parens((function(){if(E.init){if(E.init instanceof tn){E.init.print(R)}else{parenthesize_for_noin(E.init,R,true)}R.print(";");R.space()}else{R.print(";")}if(E.condition){E.condition.print(R);R.print(";");R.space()}else{R.print(";")}if(E.step){E.step.print(R)}}));R.space();E._do_print_body(R)}));DEFPRINT(Et,(function(E,R){R.print("for");if(E.await){R.space();R.print("await")}R.space();R.with_parens((function(){E.init.print(R);R.space();R.print(E instanceof wt?"of":"in");R.space();E.object.print(R)}));R.space();E._do_print_body(R)}));DEFPRINT(St,(function(E,R){R.print("with");R.space();R.with_parens((function(){E.expression.print(R)}));R.space();E._do_print_body(R)}));Mt.DEFMETHOD("_do_print",(function(E,R){var N=this;if(!R){if(N.async){E.print("async");E.space()}E.print("function");if(N.is_generator){E.star()}if(N.name){E.space()}}if(N.name instanceof Un){N.name.print(E)}else if(R&&N.name instanceof lt){E.with_square((function(){N.name.print(E)}))}E.with_parens((function(){N.argnames.forEach((function(R,N){if(N)E.comma();R.print(E)}))}));E.space();print_braced(N,E,true)}));DEFPRINT(Mt,(function(E,R){E._do_print(R)}));DEFPRINT(Ft,(function(E,R){var N=E.prefix;var $=N instanceof Mt||N instanceof En||N instanceof wn||N instanceof hn||N instanceof _n||N instanceof gn&&N.expression instanceof Dn;if($)R.print("(");E.prefix.print(R);if($)R.print(")");E.template_string.print(R)}));DEFPRINT(Nt,(function(E,R){var N=R.parent()instanceof Ft;R.print("`");for(var $=0;$");E.space();const j=R.body[0];if(R.body.length===1&&j instanceof jt){const R=j.value;if(!R){E.print("{}")}else if(left_is_object(R)){E.print("(");R.print(E);E.print(")")}else{R.print(E)}}else{print_braced(R,E)}if($){E.print(")")}}));$t.DEFMETHOD("_do_print",(function(E,R){E.print(R);if(this.value){E.space();const R=this.value.start.comments_before;if(R&&R.length&&!E.printed_comments.has(R)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT(jt,(function(E,R){E._do_print(R,"return")}));DEFPRINT(zt,(function(E,R){E._do_print(R,"throw")}));DEFPRINT(Wt,(function(E,R){var N=E.is_star?"*":"";R.print("yield"+N);if(E.expression){R.space();E.expression.print(R)}}));DEFPRINT(Ht,(function(E,R){R.print("await");R.space();var N=E.expression;var $=!(N instanceof pn||N instanceof ar||N instanceof mn||N instanceof _n||N instanceof fr||N instanceof Ht||N instanceof Dn);if($)R.print("(");E.expression.print(R);if($)R.print(")")}));Ut.DEFMETHOD("_do_print",(function(E,R){E.print(R);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT(qt,(function(E,R){E._do_print(R,"break")}));DEFPRINT(Gt,(function(E,R){E._do_print(R,"continue")}));function make_then(E,R){var N=E.body;if(R.option("braces")||R.option("ie8")&&N instanceof _t)return make_block(N,R);if(!N)return R.force_semicolon();while(true){if(N instanceof Vt){if(!N.alternative){make_block(E.body,R);return}N=N.alternative}else if(N instanceof gt){N=N.body}else break}force_statement(E.body,R)}DEFPRINT(Vt,(function(E,R){R.print("if");R.space();R.with_parens((function(){E.condition.print(R)}));R.space();if(E.alternative){make_then(E,R);R.space();R.print("else");R.space();if(E.alternative instanceof Vt)E.alternative.print(R);else force_statement(E.alternative,R)}else{E._do_print_body(R)}}));DEFPRINT(Kt,(function(E,R){R.print("switch");R.space();R.with_parens((function(){E.expression.print(R)}));R.space();var N=E.body.length-1;if(N<0)print_braced_empty(E,R);else R.with_block((function(){E.body.forEach((function(E,$){R.indent(true);E.print(R);if($0)R.newline()}))}))}));Qt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(R){E.indent();R.print(E);E.newline()}))}));DEFPRINT(Jt,(function(E,R){R.print("default:");E._do_print_body(R)}));DEFPRINT(Xt,(function(E,R){R.print("case");R.space();E.expression.print(R);R.print(":");E._do_print_body(R)}));DEFPRINT(Yt,(function(E,R){R.print("try");R.space();print_braced(E,R);if(E.bcatch){R.space();E.bcatch.print(R)}if(E.bfinally){R.space();E.bfinally.print(R)}}));DEFPRINT(Zt,(function(E,R){R.print("catch");if(E.argname){R.space();R.with_parens((function(){E.argname.print(R)}))}R.space();print_braced(E,R)}));DEFPRINT(en,(function(E,R){R.print("finally");R.space();print_braced(E,R)}));tn.DEFMETHOD("_do_print",(function(E,R){E.print(R);E.space();this.definitions.forEach((function(R,N){if(N)E.comma();R.print(E)}));var N=E.parent();var $=N instanceof xt||N instanceof Et;var j=!$||N&&N.init!==this;if(j)E.semicolon()}));DEFPRINT(rn,(function(E,R){E._do_print(R,"let")}));DEFPRINT(nn,(function(E,R){E._do_print(R,"var")}));DEFPRINT(sn,(function(E,R){E._do_print(R,"const")}));DEFPRINT(ln,(function(E,R){R.print("import");R.space();if(E.imported_name){E.imported_name.print(R)}if(E.imported_name&&E.imported_names){R.print(",");R.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(R)}else{R.print("{");E.imported_names.forEach((function(N,$){R.space();N.print(R);if(${if(E instanceof At&&!(E instanceof Ot)){return true}if(E instanceof En&&E.operator=="in"){return Cr}}))}E.print(R,$)}DEFPRINT(on,(function(E,R){E.name.print(R);if(E.value){R.space();R.print("=");R.space();var N=R.parent(1);var $=N instanceof xt||N instanceof Et;parenthesize_for_noin(E.value,R,$)}}));DEFPRINT(pn,(function(E,R){E.expression.print(R);if(E instanceof dn&&E.args.length===0)return;if(E.expression instanceof pn||E.expression instanceof Mt){R.add_mapping(E.start)}if(E.optional)R.print("?.");R.with_parens((function(){E.args.forEach((function(E,N){if(N)R.comma();E.print(R)}))}))}));DEFPRINT(dn,(function(E,R){R.print("new");R.space();pn.prototype._codegen(E,R)}));hn.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(R,N){if(N>0){E.comma();if(E.should_break()){E.newline();E.indent()}}R.print(E)}))}));DEFPRINT(hn,(function(E,R){E._do_print(R)}));DEFPRINT(gn,(function(E,R){var N=E.expression;N.print(R);var $=E.property;var j=we.has($)?R.option("ie8"):!is_identifier_string($,R.option("ecma")>=2015||R.option("safari10"));if(E.optional)R.print("?.");if(j){R.print("[");R.add_mapping(E.end);R.print_string($);R.print("]")}else{if(N instanceof mr&&N.getValue()>=0){if(!/[xa-f.)]/i.test(R.last())){R.print(".")}}if(!E.optional)R.print(".");R.add_mapping(E.end);R.print_name($)}}));DEFPRINT(yn,(function(E,R){var N=E.expression;N.print(R);var $=E.property;if(E.optional)R.print("?");R.print(".#");R.add_mapping(E.end);R.print_name($)}));DEFPRINT(vn,(function(E,R){E.expression.print(R);if(E.optional)R.print("?.");R.print("[");E.property.print(R);R.print("]")}));DEFPRINT(bn,(function(E,R){E.expression.print(R)}));DEFPRINT(kn,(function(E,R){var N=E.operator;R.print(N);if(/^[a-z]/i.test(N)||/[+-]$/.test(N)&&E.expression instanceof kn&&/^[+-]/.test(E.expression.operator)){R.space()}E.expression.print(R)}));DEFPRINT(xn,(function(E,R){E.expression.print(R);R.print(E.operator)}));DEFPRINT(En,(function(E,R){var N=E.operator;E.left.print(R);if(N[0]==">"&&E.left instanceof xn&&E.left.operator=="--"){R.print(" ")}else{R.space()}R.print(N);if((N=="<"||N=="<<")&&E.right instanceof kn&&E.right.operator=="!"&&E.right.expression instanceof kn&&E.right.expression.operator=="--"){R.print(" ")}else{R.space()}E.right.print(R)}));DEFPRINT(wn,(function(E,R){E.condition.print(R);R.space();R.print("?");R.space();E.consequent.print(R);R.space();R.colon();E.alternative.print(R)}));DEFPRINT(Cn,(function(E,R){R.with_square((function(){var N=E.elements,$=N.length;if($>0)R.space();N.forEach((function(E,N){if(N)R.comma();E.print(R);if(N===$-1&&E instanceof xr)R.comma()}));if($>0)R.space()}))}));DEFPRINT(Dn,(function(E,R){if(E.properties.length>0)R.with_block((function(){E.properties.forEach((function(E,N){if(N){R.print(",");R.newline()}R.indent();E.print(R)}));R.newline()}));else print_braced_empty(E,R)}));DEFPRINT(Bn,(function(E,R){R.print("class");R.space();if(E.name){E.name.print(R);R.space()}if(E.extends){var N=!(E.extends instanceof ar)&&!(E.extends instanceof mn)&&!(E.extends instanceof zn)&&!(E.extends instanceof Pt);R.print("extends");if(N){R.print("(")}else{R.space()}E.extends.print(R);if(N){R.print(")")}else{R.space()}}if(E.properties.length>0)R.with_block((function(){E.properties.forEach((function(E,N){if(N){R.newline()}R.indent();E.print(R)}));R.newline()}));else R.print("{}")}));DEFPRINT(qn,(function(E,R){R.print("new.target")}));function print_property_name(E,R,N){if(N.option("quote_keys")){return N.print_string(E)}if(""+ +E==E&&E>=0){if(N.option("keep_numbers")){return N.print(E)}return N.print(make_num(E))}var $=we.has(E)?N.option("ie8"):N.option("ecma")<2015||N.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if($||R&&N.option("keep_quoted_props")){return N.print_string(E,R)}return N.print_name(E)}DEFPRINT(In,(function(E,R){function get_name(E){var R=E.definition();return R?R.mangled_name||R.name:E.name}var N=R.option("shorthand");if(N&&E.value instanceof Un&&is_identifier_string(E.key,R.option("ecma")>=2015||R.option("safari10"))&&get_name(E.value)===E.key&&!we.has(E.key)){print_property_name(E.key,E.quote,R)}else if(N&&E.value instanceof An&&E.value.left instanceof Un&&is_identifier_string(E.key,R.option("ecma")>=2015||R.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,R);R.space();R.print("=");R.space();E.value.right.print(R)}else{if(!(E.key instanceof lt)){print_property_name(E.key,E.quote,R)}else{R.with_square((function(){E.key.print(R)}))}R.colon();E.value.print(R)}}));DEFPRINT($n,((E,R)=>{if(E.static){R.print("static");R.space()}R.print("#");print_property_name(E.key.name,E.quote,R);if(E.value){R.print("=");E.value.print(R)}R.semicolon()}));DEFPRINT(Ln,((E,R)=>{if(E.static){R.print("static");R.space()}if(E.key instanceof Yn){print_property_name(E.key.name,E.quote,R)}else{R.print("[");E.key.print(R);R.print("]")}if(E.value){R.print("=");E.value.print(R)}R.semicolon()}));Mn.DEFMETHOD("_print_getter_setter",(function(E,R,N){var $=this;if($.static){N.print("static");N.space()}if(E){N.print(E);N.space()}if($.key instanceof Xn){if(R)N.print("#");print_property_name($.key.name,$.quote,N)}else{N.with_square((function(){$.key.print(N)}))}$.value._do_print(N,true)}));DEFPRINT(Tn,(function(E,R){E._print_getter_setter("set",false,R)}));DEFPRINT(Rn,(function(E,R){E._print_getter_setter("get",false,R)}));DEFPRINT(Pn,(function(E,R){E._print_getter_setter("set",true,R)}));DEFPRINT(On,(function(E,R){E._print_getter_setter("get",true,R)}));DEFPRINT(Nn,(function(E,R){var N;if(E.is_generator&&E.async){N="async*"}else if(E.is_generator){N="*"}else if(E.async){N="async"}E._print_getter_setter(N,true,R)}));DEFPRINT(Fn,(function(E,R){var N;if(E.is_generator&&E.async){N="async*"}else if(E.is_generator){N="*"}else if(E.async){N="async"}E._print_getter_setter(N,false,R)}));Un.DEFMETHOD("_do_print",(function(E){var R=this.definition();E.print_name(R?R.mangled_name||R.name:this.name)}));DEFPRINT(Un,(function(E,R){E._do_print(R)}));DEFPRINT(xr,noop);DEFPRINT(pr,(function(E,R){R.print("this")}));DEFPRINT(dr,(function(E,R){R.print("super")}));DEFPRINT(fr,(function(E,R){R.print(E.getValue())}));DEFPRINT(hr,(function(E,R){R.print_string(E.getValue(),E.quote,R.in_directive)}));DEFPRINT(mr,(function(E,R){if((R.option("keep_numbers")||R.use_asm)&&E.raw){R.print(E.raw)}else{R.print(make_num(E.getValue()))}}));DEFPRINT(gr,(function(E,R){R.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,R)=>R.replace("/","\\/");DEFPRINT(yr,(function(R,N){let{source:$,flags:j}=R.getValue();$=regexp_source_fix($);j=j?sort_regexp_flags(j):"";$=$.replace(E,slash_script_replace);N.print(N.to_utf8(`/${$}/${j}`));const q=N.parent();if(q instanceof En&&/^\w/.test(q.operator)&&q.left===R){N.print(" ")}}));function force_statement(E,R){if(R.option("braces")){make_block(E,R)}else{if(!E||E instanceof mt)R.force_semicolon();else E.print(R)}}function best_of(E){var R=E[0],N=R.length;for(var $=1;$E===null&&R===null||E.TYPE===R.TYPE&&E.shallow_cmp(R);const equivalent_to=(E,R)=>{if(!shallow_cmp(E,R))return false;const N=[E];const $=[R];const j=N.push.bind(N);const q=$.push.bind($);while(N.length&&$.length){const E=N.pop();const R=$.pop();if(!shallow_cmp(E,R))return false;E._children_backwards(j);R._children_backwards(q);if(N.length!==$.length){return false}}return N.length==0&&$.length==0};const mkshallow=E=>{const R=Object.keys(E).map((R=>{if(E[R]==="eq"){return`this.${R} === other.${R}`}else if(E[R]==="exist"){return`(this.${R} == null ? other.${R} == null : this.${R} === other.${R})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[R]}`)}})).join(" && ");return new Function("other","return "+R)};const pass_through=()=>true;lt.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};ut.prototype.shallow_cmp=pass_through;pt.prototype.shallow_cmp=mkshallow({value:"eq"});dt.prototype.shallow_cmp=pass_through;ft.prototype.shallow_cmp=pass_through;mt.prototype.shallow_cmp=pass_through;yt.prototype.shallow_cmp=mkshallow({"label.name":"eq"});_t.prototype.shallow_cmp=pass_through;kt.prototype.shallow_cmp=pass_through;xt.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});Et.prototype.shallow_cmp=pass_through;wt.prototype.shallow_cmp=pass_through;St.prototype.shallow_cmp=pass_through;Ct.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=pass_through;Mt.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});Rt.prototype.shallow_cmp=mkshallow({is_array:"eq"});Ft.prototype.shallow_cmp=pass_through;Nt.prototype.shallow_cmp=pass_through;Bt.prototype.shallow_cmp=mkshallow({value:"eq"});Lt.prototype.shallow_cmp=pass_through;Ut.prototype.shallow_cmp=pass_through;Ht.prototype.shallow_cmp=pass_through;Wt.prototype.shallow_cmp=mkshallow({is_star:"eq"});Vt.prototype.shallow_cmp=mkshallow({alternative:"exist"});Kt.prototype.shallow_cmp=pass_through;Qt.prototype.shallow_cmp=pass_through;Yt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Zt.prototype.shallow_cmp=mkshallow({argname:"exist"});en.prototype.shallow_cmp=pass_through;tn.prototype.shallow_cmp=pass_through;on.prototype.shallow_cmp=mkshallow({value:"exist"});an.prototype.shallow_cmp=pass_through;ln.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});cn.prototype.shallow_cmp=pass_through;un.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});pn.prototype.shallow_cmp=pass_through;hn.prototype.shallow_cmp=pass_through;mn.prototype.shallow_cmp=pass_through;bn.prototype.shallow_cmp=pass_through;gn.prototype.shallow_cmp=mkshallow({property:"eq"});yn.prototype.shallow_cmp=mkshallow({property:"eq"});_n.prototype.shallow_cmp=mkshallow({operator:"eq"});En.prototype.shallow_cmp=mkshallow({operator:"eq"});wn.prototype.shallow_cmp=pass_through;Cn.prototype.shallow_cmp=pass_through;Dn.prototype.shallow_cmp=pass_through;Mn.prototype.shallow_cmp=pass_through;In.prototype.shallow_cmp=mkshallow({key:"eq"});Tn.prototype.shallow_cmp=mkshallow({static:"eq"});Rn.prototype.shallow_cmp=mkshallow({static:"eq"});Fn.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Bn.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Ln.prototype.shallow_cmp=mkshallow({static:"eq"});Un.prototype.shallow_cmp=mkshallow({name:"eq"});qn.prototype.shallow_cmp=pass_through;pr.prototype.shallow_cmp=pass_through;dr.prototype.shallow_cmp=pass_through;hr.prototype.shallow_cmp=mkshallow({value:"eq"});mr.prototype.shallow_cmp=mkshallow({value:"eq"});gr.prototype.shallow_cmp=mkshallow({value:"eq"});yr.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};vr.prototype.shallow_cmp=pass_through;const Nr=1<<0;const Br=1<<1;let Lr=null;let $r=null;class SymbolDef{constructor(E,R,N){this.name=R.name;this.orig=[R];this.init=N;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof lt)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Lr&&Lr.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Nr||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Zn||this.orig[0]instanceof Jn)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Xn||(this.orig[0]instanceof tr||this.orig[0]instanceof er)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const R=E.cache&&E.cache.props;if(this.global&&R&&R.has(this.name)){this.mangled_name=R.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var N=this.scope;var $=this.orig[0];if(E.ie8&&$ instanceof Zn)N=N.parent_scope;const j=redefined_catch_def(this);this.mangled_name=j?j.mangled_name||j.name:N.next_mangled(E,this);if(this.global&&R){R.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof nr&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}At.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:R=null,toplevel:N=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(N instanceof Ct)){throw new Error("Invalid toplevel scope")}var $=this.parent_scope=R;var j=new Map;var q=null;var G=null;var ie=[];var ae=new TreeWalker(((R,N)=>{if(R.is_block_scope()){const j=$;R.block_scope=$=new At(R);$._block_scope=true;const q=R instanceof Zt?j.parent_scope:j;$.init_scope_vars(q);$.uses_with=j.uses_with;$.uses_eval=j.uses_eval;if(E.safari10){if(R instanceof xt||R instanceof Et){ie.push($)}}if(R instanceof Kt){const E=$;$=j;R.expression.walk(ae);$=E;for(let E=0;E{if(E===R)return true;if(R instanceof Wn){return E instanceof Zn}return!(E instanceof Kn||E instanceof Vn)}))){js_error(`"${R.name}" is redeclared`,R.start.file,R.start.line,R.start.col,R.start.pos)}if(!(R instanceof Qn))mark_export(Ie,2);if(q!==$){R.mark_enclosed();var Ie=$.find_variable(R);if(R.thedef!==Ie){R.thedef=Ie;R.reference()}}}else if(R instanceof ur){var Te=j.get(R.name);if(!Te)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:R.name,line:R.start.line,col:R.start.col}));R.thedef=Te}if(!($ instanceof Ct)&&(R instanceof un||R instanceof ln)){js_error(`"${R.TYPE}" statement may only appear at the top level`,R.start.file,R.start.line,R.start.col,R.start.pos)}}));this.walk(ae);function mark_export(E,R){if(G){var N=0;do{R++}while(ae.parent(N++)!==G)}var $=ae.parent(R);if(E.export=$ instanceof un?Nr:0){var j=$.exported_definition;if((j instanceof Tt||j instanceof jn)&&$.is_default){E.export=Br}}}const le=this instanceof Ct;if(le){this.globals=new Map}var ae=new TreeWalker((E=>{if(E instanceof Ut&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof ar){var R=E.name;if(R=="eval"&&ae.parent()instanceof pn){for(var $=E.scope;$&&!$.uses_eval;$=$.parent_scope){$.uses_eval=true}}var j;if(ae.parent()instanceof an&&ae.parent(1).module_name||!(j=E.scope.find_variable(R))){j=N.def_global(E);if(E instanceof lr)j.export=Nr}else if(j.scope instanceof Mt&&R=="arguments"){j.scope.uses_arguments=true}E.thedef=j;E.reference();if(E.scope.is_block_scope()&&!(j.orig[0]instanceof Wn)){E.scope=E.scope.get_defun_scope()}return true}var q;if(E instanceof nr&&(q=redefined_catch_def(E.definition()))){var $=E.scope;while($){push_uniq($.enclosed,q);if($===q.scope)break;$=$.parent_scope}}}));this.walk(ae);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof nr){var R=E.name;var $=E.thedef.references;var j=E.scope.get_defun_scope();var q=j.find_variable(R)||N.globals.get(R)||j.def_variable(E);$.forEach((function(E){E.thedef=q;E.reference()}));E.thedef=q;E.reference();return true}}))}if(E.safari10){for(const E of ie){E.parent_scope.variables.forEach((function(R){push_uniq(E.enclosed,R)}))}}}));Ct.DEFMETHOD("def_global",(function(E){var R=this.globals,N=E.name;if(R.has(N)){return R.get(N)}else{var $=new SymbolDef(this,E);$.undeclared=true;$.global=true;R.set(N,$);return $}}));At.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));At.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((R=>R.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));At.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((R=>R.name===E))||this.variables.has(E)}));At.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const R=(()=>{const E=[];let R=this;do{E.push(R)}while(R=R.parent_scope);E.reverse();return E})();const N=new Set(E.enclosed);const $=[];for(const E of R){$.forEach((R=>push_uniq(E.enclosed,R)));for(const R of E.variables.values()){if(N.has(R)){push_uniq($,R);push_uniq(E.enclosed,R)}}}}));function find_scopes_visible_from(E){const R=new Set;for(const N of new Set(E)){(function bubble_up(E){if(E==null||R.has(E))return;R.add(E);bubble_up(E.parent_scope)})(N)}return[...R]}At.DEFMETHOD("create_symbol",(function(E,{source:R,tentative_name:N,scope:$,conflict_scopes:j=[$],init:q=null}={}){let G;j=find_scopes_visible_from(j);if(N){N=G=N.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while(j.find((E=>E.conflicting_def_shallow(G)))){G=N+"$"+E++}}if(!G){throw new Error("No symbol name could be generated in create_symbol()")}const ie=make_node(E,R,{name:G,scope:$});this.def_variable(ie,q||null);ie.mark_enclosed();return ie}));lt.DEFMETHOD("is_block_scope",return_false);Bn.DEFMETHOD("is_block_scope",return_false);Mt.DEFMETHOD("is_block_scope",return_false);Ct.DEFMETHOD("is_block_scope",return_false);Qt.DEFMETHOD("is_block_scope",return_false);ft.DEFMETHOD("is_block_scope",return_true);At.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));vt.DEFMETHOD("is_block_scope",return_true);Mt.DEFMETHOD("init_scope_vars",(function(){At.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Qn({name:"arguments",start:this.start,end:this.end}))}));Ot.DEFMETHOD("init_scope_vars",(function(){At.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));Un.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var R=this.scope;while(R){push_uniq(R.enclosed,E);if(R===E.scope)break;R=R.parent_scope}}));Un.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));At.DEFMETHOD("find_variable",(function(E){if(E instanceof Un)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));At.DEFMETHOD("def_function",(function(E,R){var N=this.def_variable(E,R);if(!N.init||N.init instanceof Tt)N.init=R;return N}));At.DEFMETHOD("def_variable",(function(E,R){var N=this.variables.get(E.name);if(N){N.orig.push(E);if(N.init&&(N.scope!==E.scope||N.init instanceof Pt)){N.init=R}}else{N=new SymbolDef(this,E,R);this.variables.set(E.name,N);N.global=!this.parent_scope}return E.thedef=N}));function next_mangled(E,R){var N=E.enclosed;var $=R.nth_identifier;e:while(true){var j=$.get(++E.cname);if(we.has(j))continue;if(R.reserved.has(j))continue;if($r&&$r.has(j))continue e;for(let E=N.length;--E>=0;){const $=N[E];const q=$.mangled_name||$.unmangleable(R)&&$.name;if(j==q)continue e}return j}}At.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));Ct.DEFMETHOD("next_mangled",(function(E){let R;const N=this.mangled_names;do{R=next_mangled(this,E)}while(N.has(R));return R}));Pt.DEFMETHOD("next_mangled",(function(E,R){var N=R.orig[0]instanceof Qn&&this.name&&this.name.definition();var $=N?N.mangled_name||N.name:null;while(true){var j=next_mangled(this,E);if(!$||$!=j)return j}}));Un.DEFMETHOD("unmangleable",(function(E){var R=this.definition();return!R||R.unmangleable(E)}));ir.DEFMETHOD("unmangleable",return_false);Un.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));Un.DEFMETHOD("definition",(function(){return this.thedef}));Un.DEFMETHOD("global",(function(){return this.thedef.global}));Ct.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,nth_identifier:jr,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));Ct.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var R=E.nth_identifier;var N=-1;var $=[];if(E.keep_fnames){Lr=new Set}const j=this.mangled_names=new Set;$r=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){j.add(E)}))}}var q=new TreeWalker((function(j,q){if(j instanceof yt){var G=N;q();N=G;return true}if(j instanceof At){j.variables.forEach(collect);return}if(j.is_block_scope()){j.block_scope.variables.forEach(collect);return}if(Lr&&j instanceof on&&j.value instanceof Mt&&!j.value.name&&keep_name(E.keep_fnames,j.name.name)){Lr.add(j.name.definition().id);return}if(j instanceof ir){let E;do{E=R.get(++N)}while(we.has(E));j.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&j instanceof nr){$.push(j.definition());return}}));this.walk(q);if(E.keep_fnames||E.keep_classnames){$.forEach((R=>{if(R.name.length<6&&R.unmangleable(E)){$r.add(R.name)}}))}$.forEach((R=>{R.mangle(E)}));Lr=null;$r=null;function collect(R){if(R.export&Nr){$r.add(R.name)}else if(!E.reserved.has(R.name)){$.push(R)}}}));Ct.DEFMETHOD("find_colliding_names",(function(E){const R=E.cache&&E.cache.props;const N=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof At)E.variables.forEach(add_def);if(E instanceof nr)add_def(E.definition())})));return N;function to_avoid(E){N.add(E)}function add_def(N){var $=N.name;if(N.global&&R&&R.has($))$=R.get($);else if(!N.unmangleable(E))return;to_avoid($)}}));Ct.DEFMETHOD("expand_names",(function(E){E=this._default_mangler_options(E);var R=E.nth_identifier;if(R.reset&&R.sort){R.reset();R.sort()}var N=this.find_colliding_names(E);var $=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof At)E.variables.forEach(rename);if(E instanceof nr)rename(E.definition())})));function next_name(){var E;do{E=R.get($++)}while(N.has(E)||we.has(E));return E}function rename(R){if(R.global&&E.cache)return;if(R.unmangleable(E))return;if(E.reserved.has(R.name))return;const N=redefined_catch_def(R);const $=R.name=N?N.name:next_name();R.orig.forEach((function(E){E.name=$}));R.references.forEach((function(E){E.name=$}))}}));lt.DEFMETHOD("tail_node",return_this);hn.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));Ct.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);var R=E.nth_identifier;if(!R.reset||!R.consider||!R.sort){return}R.reset();try{lt.prototype.print=function(N,$){this._print(N,$);if(this instanceof Un&&!this.unmangleable(E)){R.consider(this.name,-1)}else if(E.properties){if(this instanceof yn){R.consider("#"+this.property,-1)}else if(this instanceof gn){R.consider(this.property,-1)}else if(this instanceof vn){skip_string(this.property)}}};R.consider(this.print_to_string(),1)}finally{lt.prototype.print=lt.prototype._print}R.sort();function skip_string(E){if(E instanceof hr){R.consider(E.value,-1)}else if(E instanceof wn){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof hn){skip_string(E.tail_node())}}}));const jr=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const R="0123456789".split("");let N;let $;function reset(){$=new Map;E.forEach((function(E){$.set(E,0)}));R.forEach((function(E){$.set(E,0)}))}function consider(E,R){for(var N=E.length;--N>=0;){$.set(E[N],$.get(E[N])+R)}}function compare(E,R){return $.get(R)-$.get(E)}function sort(){N=mergeSort(E,compare).concat(mergeSort(R,compare))}reset();sort();function base54(E){var R="",$=54;E++;do{E--;R+=N[E%$];E=Math.floor(E/$);$=64}while(E>0);return R}return{get:base54,consider:consider,reset:reset,sort:sort}})();let zr=undefined;lt.prototype.size=function(E,R){zr=E&&E.mangle_options;let N=0;walk_parent(this,((E,R)=>{N+=E._size(R);if(E instanceof Ot&&E.is_braceless()){N+=E.body[0].value._size(R);return true}}),R||E&&E.stack);zr=undefined;return N};lt.prototype._size=()=>0;ut.prototype._size=()=>8;pt.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;ft.prototype._size=function(){return 2+list_overhead(this.body)};Ct.prototype._size=function(){return list_overhead(this.body)};mt.prototype._size=()=>1;yt.prototype._size=()=>2;_t.prototype._size=()=>9;kt.prototype._size=()=>7;xt.prototype._size=()=>8;Et.prototype._size=()=>8;St.prototype._size=()=>6;Dt.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);It.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};Pt.prototype._size=function(E){const R=!!first_in_statement(E);return R*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Tt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};Ot.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof Un)){E+=2}const R=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+R};Rt.prototype._size=()=>2;Nt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Bt.prototype._size=function(){return this.value.length};jt.prototype._size=function(){return this.value?7:6};zt.prototype._size=()=>6;qt.prototype._size=function(){return this.label?6:5};Gt.prototype._size=function(){return this.label?9:8};Vt.prototype._size=()=>4;Kt.prototype._size=function(){return 8+list_overhead(this.body)};Xt.prototype._size=function(){return 5+list_overhead(this.body)};Jt.prototype._size=function(){return 8+list_overhead(this.body)};Yt.prototype._size=function(){return 3+list_overhead(this.body)};Zt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};en.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,R)=>E+list_overhead(R.definitions);nn.prototype._size=function(){return def_size(4,this)};rn.prototype._size=function(){return def_size(4,this)};sn.prototype._size=function(){return def_size(6,this)};on.prototype._size=function(){return this.value?1:0};an.prototype._size=function(){return this.name?4:0};ln.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};cn.prototype._size=()=>11;un.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};pn.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};dn.prototype._size=function(){return 6+list_overhead(this.args)};hn.prototype._size=function(){return list_overhead(this.expressions)};gn.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};yn.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};vn.prototype._size=function(){return this.optional?4:2};_n.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};En.prototype._size=function(E){if(this.operator==="in")return 4;let R=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof _n&&this.right.operator===this.operator){R+=1}if(this.needs_parens(E)){R+=2}return R};wn.prototype._size=()=>3;Cn.prototype._size=function(){return 2+list_overhead(this.elements)};Dn.prototype._size=function(E){let R=2;if(first_in_statement(E)){R+=2}return R+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;In.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;Rn.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Tn.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Fn.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Nn.prototype._size=function(){return Fn.prototype._size.call(this)+1};On.prototype._size=Pn.prototype._size=function(){return Fn.prototype._size.call(this)+4};Bn.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Ln.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};$n.prototype._size=function(){return Ln.prototype._size.call(this)+1};Un.prototype._size=function(){return!zr||this.definition().unmangleable(zr)?this.name.length:1};Yn.prototype._size=function(){return this.name.length};ar.prototype._size=Gn.prototype._size=function(){const{name:E,thedef:R}=this;if(R&&R.global)return E.length;if(E==="arguments")return 9;return Un.prototype._size.call(this)};qn.prototype._size=()=>10;sr.prototype._size=function(){return this.name.length};cr.prototype._size=function(){return this.name.length};pr.prototype._size=()=>4;dr.prototype._size=()=>5;hr.prototype._size=function(){return this.value.length+2};mr.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};gr.prototype._size=function(){return this.value.length};yr.prototype._size=function(){return this.value.toString().length};br.prototype._size=()=>4;_r.prototype._size=()=>3;kr.prototype._size=()=>6;xr.prototype._size=()=>0;Er.prototype._size=()=>8;Ar.prototype._size=()=>4;Sr.prototype._size=()=>5;Ht.prototype._size=()=>6;Wt.prototype._size=()=>6;function merge_sequence(E,R){if(R instanceof hn){E.push(...R.expressions)}else{E.push(R)}return E}function make_sequence(E,R){if(R.length==1)return R[0];if(R.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(hn,E,{expressions:R.reduce(merge_sequence,[])})}function make_node_from_constant(E,R){switch(typeof E){case"string":return make_node(hr,R,{value:E});case"number":if(isNaN(E))return make_node(_r,R);if(isFinite(E)){return 1/E<0?make_node(kn,R,{operator:"-",expression:make_node(mr,R,{value:-E})}):make_node(mr,R,{value:E})}return E<0?make_node(kn,R,{operator:"-",expression:make_node(Er,R)}):make_node(Er,R);case"boolean":return make_node(E?Ar:Sr,R);case"undefined":return make_node(kr,R);default:if(E===null){return make_node(br,R,{value:null})}if(E instanceof RegExp){return make_node(yr,R,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function best_of_expression(E,R){return E.size()>R.size()?R:E}function best_of_statement(E,R){return best_of_expression(make_node(dt,E,{body:E}),make_node(dt,R,{body:R})).body}function best_of(E,R,N){if(first_in_statement(E)){return best_of_statement(R,N)}else{return best_of_expression(R,N)}}function get_simple_key(E){if(E instanceof fr){return E.getValue()}if(E instanceof kn&&E.operator=="void"&&E.expression instanceof fr){return}return E}function read_property(E,R){R=get_simple_key(R);if(R instanceof lt)return;var N;if(E instanceof Cn){var $=E.elements;if(R=="length")return make_node_from_constant($.length,E);if(typeof R=="number"&&R in $)N=$[R]}else if(E instanceof Dn){R=""+R;var j=E.properties;for(var q=j.length;--q>=0;){var G=j[q];if(!(G instanceof In))return;if(!N&&j[q].key===R)N=j[q].value}}return N instanceof ar&&N.fixed_value()||N}function has_break_or_continue(E,R){var N=false;var $=new TreeWalker((function(R){if(N||R instanceof At)return true;if(R instanceof Ut&&$.loopcontrol_target(R)===E){return N=true}}));if(R instanceof yt)$.push(R);$.push(E);E.body.walk($);return N}function maintain_this_binding(E,R,N){if(E instanceof kn&&E.operator=="delete"||E instanceof pn&&E.expression===R&&(N instanceof mn||N instanceof ar&&N.name=="eval")){const E=make_node(mr,R,{value:0});return make_sequence(R,[E,N])}else{return N}}function is_func_expr(E){return E instanceof Ot||E instanceof Pt}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof Pt||is_iife_call(E.expression)}const Ur=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof Er||E instanceof _r||E instanceof kr}function is_ref_of(E,R){if(!(E instanceof ar))return false;var N=E.definition().orig;for(var $=N.length;--$>=0;){if(N[$]instanceof R)return true}}function can_be_evicted_from_block(E){return!(E instanceof jn||E instanceof Tt||E instanceof rn||E instanceof sn||E instanceof un||E instanceof ln)}function as_statement_array(E){if(E===null)return[];if(E instanceof ht)return E.body;if(E instanceof mt)return[];if(E instanceof ct)return[E];throw new Error("Can't convert thing to statement array")}function is_recursive_ref(E,R){var N;for(var $=0;N=E.parent($);$++){if(N instanceof Mt||N instanceof Bn){var j=N.name;if(j&&j.definition()===R){return true}}}return false}const qr=1;const Gr=2;const Hr=4;const Wr=8;const Vr=16;const Kr=32;const Qr=256;const Jr=512;const Xr=1024;const Yr=Qr|Jr|Xr;const has_flag=(E,R)=>E.flags&R;const set_flag=(E,R)=>{E.flags|=R};const clear_flag=(E,R)=>{E.flags&=~R};function make_nested_lookup(E){const R=new Map;for(var N of Object.keys(E)){R.set(N,makePredicate(E[N]))}const does_have=(E,N)=>{const $=R.get(E);return $!=null&&$.has(N)};return does_have}const Zr=new Set(["Number","String","Array","Object","Function","Promise"]);const es=["constructor","toString","valueOf"];const ts=make_nested_lookup({Array:["indexOf","join","lastIndexOf","slice",...es],Boolean:es,Function:es,Number:["toExponential","toFixed","toPrecision",...es],Object:es,RegExp:["test",...es],String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim",...es]});const ns=make_nested_lookup({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","hasOwn","keys"],String:["fromCharCode"]});const rs=make_nested_lookup({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const is_undeclared_ref=E=>E instanceof ar&&E.definition().undeclared;const ss=makePredicate("&& || ??");const os=makePredicate("delete ++ --");(function(E){const R=makePredicate("! delete");const N=makePredicate("in instanceof == != === !== < <= >= >");E(lt,return_false);E(kn,(function(){return R.has(this.operator)}));E(En,(function(){return N.has(this.operator)||ss.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(wn,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(Sn,(function(){return this.operator=="="&&this.right.is_boolean()}));E(hn,(function(){return this.tail_node().is_boolean()}));E(Ar,return_true);E(Sr,return_true)})((function(E,R){E.DEFMETHOD("is_boolean",R)}));(function(E){E(lt,return_false);E(mr,return_true);const R=makePredicate("+ - ~ ++ --");E(_n,(function(){return R.has(this.operator)}));const N=makePredicate("- * / % & | ^ << >> >>>");E(En,(function(E){return N.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(Sn,(function(E){return N.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(hn,(function(E){return this.tail_node().is_number(E)}));E(wn,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,R){E.DEFMETHOD("is_number",R)}));(function(E){E(lt,return_false);E(hr,return_true);E(Nt,return_true);E(kn,(function(){return this.operator=="typeof"}));E(En,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(Sn,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(hn,(function(E){return this.tail_node().is_string(E)}));E(wn,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,R){E.DEFMETHOD("is_string",R)}));function is_undefined(E,R){return has_flag(E,Wr)||E instanceof kr||E instanceof kn&&E.operator=="void"&&!E.expression.has_side_effects(R)}function is_null_or_undefined(E,R){let N;return E instanceof br||is_undefined(E,R)||E instanceof ar&&(N=E.definition().fixed)instanceof lt&&is_nullish(N,R)}function is_nullish_shortcircuited(E,R){if(E instanceof mn||E instanceof pn){return E.optional&&is_null_or_undefined(E.expression,R)||is_nullish_shortcircuited(E.expression,R)}if(E instanceof bn)return is_nullish_shortcircuited(E.expression,R);return false}function is_nullish(E,R){if(is_null_or_undefined(E,R))return true;return is_nullish_shortcircuited(E,R)}(function(E){E(lt,return_true);E(mt,return_false);E(fr,return_false);E(pr,return_false);function any(E,R){for(var N=E.length;--N>=0;)if(E[N].has_side_effects(R))return true;return false}E(ft,(function(E){return any(this.body,E)}));E(pn,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E(Kt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Xt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Yt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(Vt,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(yt,(function(E){return this.body.has_side_effects(E)}));E(dt,(function(E){return this.body.has_side_effects(E)}));E(Mt,return_false);E(Bn,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(En,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(Sn,return_true);E(wn,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(_n,(function(E){return os.has(this.operator)||this.expression.has_side_effects(E)}));E(ar,(function(E){return!this.is_declared(E)&&!Zr.has(this.name)}));E(Yn,return_false);E(Gn,return_false);E(Dn,(function(E){return any(this.properties,E)}));E(Mn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Ln,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Fn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Rn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Cn,(function(E){return any(this.elements,E)}));E(gn,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(vn,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(bn,(function(E){return this.expression.has_side_effects(E)}));E(hn,(function(E){return any(this.expressions,E)}));E(tn,(function(E){return any(this.definitions,E)}));E(on,(function(){return this.value}));E(Bt,return_false);E(Nt,(function(E){return any(this.segments,E)}))})((function(E,R){E.DEFMETHOD("has_side_effects",R)}));(function(E){E(lt,return_true);E(fr,return_false);E(mt,return_false);E(Mt,return_false);E(Gn,return_false);E(pr,return_false);function any(E,R){for(var N=E.length;--N>=0;)if(E[N].may_throw(R))return true;return false}E(Bn,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(Cn,(function(E){return any(this.elements,E)}));E(Sn,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof ar){return false}return this.left.may_throw(E)}));E(En,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(ft,(function(E){return any(this.body,E)}));E(pn,(function(E){if(is_nullish(this,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof Mt)||any(this.expression.body,E)}));E(Xt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(wn,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(tn,(function(E){return any(this.definitions,E)}));E(Vt,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(yt,(function(E){return this.body.may_throw(E)}));E(Dn,(function(E){return any(this.properties,E)}));E(Mn,(function(E){return this.value?this.value.may_throw(E):false}));E(Ln,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Fn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Rn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(jt,(function(E){return this.value&&this.value.may_throw(E)}));E(hn,(function(E){return any(this.expressions,E)}));E(dt,(function(E){return this.body.may_throw(E)}));E(gn,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(vn,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(bn,(function(E){return this.expression.may_throw(E)}));E(Kt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(ar,(function(E){return!this.is_declared(E)&&!Zr.has(this.name)}));E(Yn,return_false);E(Yt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(_n,(function(E){if(this.operator=="typeof"&&this.expression instanceof ar)return false;return this.expression.may_throw(E)}));E(on,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,R){E.DEFMETHOD("may_throw",R)}));(function(E){function all_refs_local(E){let R=true;walk(this,(N=>{if(N instanceof ar){if(has_flag(this,Vr)){R=false;return Cr}var $=N.definition();if(member($,this.enclosed)&&!this.variables.has($.name)){if(E){var j=E.find_variable(N);if($.undeclared?!j:j===$){R="f";return true}}R=false;return Cr}return true}if(N instanceof pr&&this instanceof Ot){R=false;return Cr}}));return R}E(lt,return_false);E(fr,return_true);E(Bn,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const R of this.properties){if(R.computed_key()&&!R.key.is_constant_expression(E)){return false}if(R.static&&R.value&&!R.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(Mt,all_refs_local);E(_n,(function(){return this.expression.is_constant_expression()}));E(En,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(Cn,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(Dn,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(Mn,(function(){return!!(!(this.key instanceof lt)&&this.value&&this.value.is_constant_expression())}))})((function(E,R){E.DEFMETHOD("is_constant_expression",R)}));(function(E){lt.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(lt,is_strict);E(br,return_true);E(kr,return_true);E(fr,return_false);E(Cn,return_false);E(Dn,(function(E){if(!is_strict(E))return false;for(var R=this.properties.length;--R>=0;)if(this.properties[R]._dot_throw(E))return true;return false}));E(Bn,return_false);E(Mn,return_false);E(Rn,return_true);E(Dt,(function(E){return this.expression._dot_throw(E)}));E(Pt,return_false);E(Ot,return_false);E(xn,return_false);E(kn,(function(){return this.operator=="void"}));E(En,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(Sn,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(wn,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(gn,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof Pt||this.expression instanceof Bn)}return true}));E(bn,(function(E){return this.expression._dot_throw(E)}));E(hn,(function(E){return this.tail_node()._dot_throw(E)}));E(ar,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Wr))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var R=this.fixed_value();return!R||R._dot_throw(E)}))})((function(E,R){E.DEFMETHOD("_dot_throw",R)}));function is_lhs(E,R){if(R instanceof _n&&os.has(R.operator))return R.expression;if(R instanceof Sn&&R.left===E)return E}(function(E){function to_node(E,R){if(E instanceof lt){if(!(E instanceof fr)){E=E.clone(true)}return make_node(E.CTOR,R,E)}if(Array.isArray(E))return make_node(Cn,R,{elements:E.map((function(E){return to_node(E,R)}))});if(E&&typeof E=="object"){var N=[];for(var $ in E)if(HOP(E,$)){N.push(make_node(In,R,{key:$,value:to_node(E[$],R)}))}return make_node(Dn,R,{properties:N})}return make_node_from_constant(E,R)}Ct.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(R){var N=R._find_defs(E,"");if(!N)return;var $=0,j=R,q;while(q=this.parent($++)){if(!(q instanceof mn))break;if(q.expression!==j)break;j=q}if(is_lhs(j,q)){return}return N})))}));E(lt,noop);E(bn,(function(E,R){return this.expression._find_defs(E,R)}));E(gn,(function(E,R){return this.expression._find_defs(E,"."+this.property+R)}));E(Gn,(function(){if(!this.global())return}));E(ar,(function(E,R){if(!this.global())return;var N=E.option("global_defs");var $=this.name+R;if(HOP(N,$))return to_node(N[$],this)}))})((function(E,R){E.DEFMETHOD("_find_defs",R)}));(function(E){function basic_negation(E){return make_node(kn,E,{operator:"!",expression:E})}function best(E,R,N){var $=basic_negation(E);if(N){var j=make_node(dt,R,{body:R});return best_of_expression($,j)===j?R:$}return best_of_expression($,R)}E(lt,(function(){return basic_negation(this)}));E(ct,(function(){throw new Error("Cannot negate a statement")}));E(Pt,(function(){return basic_negation(this)}));E(Ot,(function(){return basic_negation(this)}));E(kn,(function(){if(this.operator=="!")return this.expression;return basic_negation(this)}));E(hn,(function(E){var R=this.expressions.slice();R.push(R.pop().negate(E));return make_sequence(this,R)}));E(wn,(function(E,R){var N=this.clone();N.consequent=N.consequent.negate(E);N.alternative=N.alternative.negate(E);return best(this,N,R)}));E(En,(function(E,R){var N=this.clone(),$=this.operator;if(E.option("unsafe_comps")){switch($){case"<=":N.operator=">";return N;case"<":N.operator=">=";return N;case">=":N.operator="<";return N;case">":N.operator="<=";return N}}switch($){case"==":N.operator="!=";return N;case"!=":N.operator="==";return N;case"===":N.operator="!==";return N;case"!==":N.operator="===";return N;case"&&":N.operator="||";N.left=N.left.negate(E,R);N.right=N.right.negate(E);return best(this,N,R);case"||":N.operator="&&";N.left=N.left.negate(E,R);N.right=N.right.negate(E);return best(this,N,R)}return basic_negation(this)}))})((function(E,R){E.DEFMETHOD("negate",(function(E,N){return R.call(this,E,N)}))}));var as=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");pn.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var R=this.expression;var N=this.args&&this.args[0]&&this.args[0].evaluate(E);if(R.expression&&R.expression.name==="hasOwnProperty"&&(N==null||N.thedef&&N.thedef.undeclared)){return false}if(is_undeclared_ref(R)&&as.has(R.name))return true;if(R instanceof gn&&is_undeclared_ref(R.expression)&&ns(R.expression.name,R.property)){return true}}return!!has_annotation(this,Dr)||!E.pure_funcs(this)}));lt.DEFMETHOD("is_call_pure",return_false);gn.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const R=this.expression;let N;if(R instanceof Cn){N="Array"}else if(R.is_boolean()){N="Boolean"}else if(R.is_number(E)){N="Number"}else if(R instanceof yr){N="RegExp"}else if(R.is_string(E)){N="String"}else if(!this.may_throw_on_access(E)){N="Object"}return N!=null&&ts(N,this.property)}));const aborts=E=>E&&E.aborts();(function(E){E(ct,return_null);E(Lt,return_this);function block_aborts(){for(var E=0;Ethis.print_to_string();return fn}return this}));def_eval(Cn,(function(E,R){if(E.option("unsafe")){var N=[];for(var $=0,j=this.elements.length;$typeof E==="object"||typeof E==="function"||typeof E==="symbol";def_eval(En,(function(E,R){if(!ps.has(this.operator))R++;var N=this.left._eval(E,R);if(N===this.left)return this;var $=this.right._eval(E,R);if($===this.right)return this;var j;if(N!=null&&$!=null&&ds.has(this.operator)&&has_identity(N)&&has_identity($)&&typeof N===typeof $){return this}switch(this.operator){case"&&":j=N&&$;break;case"||":j=N||$;break;case"??":j=N!=null?N:$;break;case"|":j=N|$;break;case"&":j=N&$;break;case"^":j=N^$;break;case"+":j=N+$;break;case"*":j=N*$;break;case"**":j=Math.pow(N,$);break;case"/":j=N/$;break;case"%":j=N%$;break;case"-":j=N-$;break;case"<<":j=N<<$;break;case">>":j=N>>$;break;case">>>":j=N>>>$;break;case"==":j=N==$;break;case"===":j=N===$;break;case"!=":j=N!=$;break;case"!==":j=N!==$;break;case"<":j=N<$;break;case"<=":j=N<=$;break;case">":j=N>$;break;case">=":j=N>=$;break;default:return this}if(isNaN(j)&&E.find_parent(St)){return this}return j}));def_eval(wn,(function(E,R){var N=this.condition._eval(E,R);if(N===this.condition)return this;var $=N?this.consequent:this.alternative;var j=$._eval(E,R);return j===$?this:j}));const hs=new Set;def_eval(ar,(function(E,R){if(hs.has(this))return this;var N=this.fixed_value();if(!N)return this;hs.add(this);const $=N._eval(E,R);hs.delete(this);if($===N)return this;if($&&typeof $=="object"){var j=this.definition().escaped;if(j&&R>j)return this}return $}));const ms={Array:Array,Math:Math,Number:Number,Object:Object,String:String};const gs=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);def_eval(mn,(function(E,R){const N=this.expression._eval(E,R);if(N===ls||this.optional&&N==null)return ls;if(E.option("unsafe")){var $=this.property;if($ instanceof lt){$=$._eval(E,R);if($===this.property)return this}var j=this.expression;var q;if(is_undeclared_ref(j)){var G;var ie=j.name==="hasOwnProperty"&&$==="call"&&(G=E.parent()&&E.parent().args)&&(G&&G[0]&&G[0].evaluate(E));ie=ie instanceof gn?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}if(!rs(j.name,$))return this;q=ms[j.name]}else{q=j._eval(E,R+1);if(q instanceof RegExp){if($=="source"){return regexp_source_fix(q.source)}else if($=="flags"||gs.has($)){return q[$]}}if(!q||q===j||!HOP(q,$))return this;if(typeof q=="function")switch($){case"name":return q.node.name?q.node.name.name:"";case"length":return q.node.length_property();default:return this}}return q[$]}return this}));def_eval(bn,(function(E,R){const N=this.expression._eval(E,R);return N===ls?undefined:N===this.expression?this:N}));def_eval(pn,(function(E,R){var N=this.expression;const $=N._eval(E,R);if($===ls||this.optional&&$==null)return ls;if(E.option("unsafe")&&N instanceof mn){var j=N.property;if(j instanceof lt){j=j._eval(E,R);if(j===N.property)return this}var q;var G=N.expression;if(is_undeclared_ref(G)){var ie=G.name==="hasOwnProperty"&&j==="call"&&(this.args[0]&&this.args[0].evaluate(E));ie=ie instanceof gn?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}if(!ns(G.name,j))return this;q=ms[G.name]}else{q=G._eval(E,R+1);if(q===G||!q)return this;if(!ts(q.constructor.name,j))return this}var ae=[];for(var le=0,_e=this.args.length;le<_e;le++){var Ee=this.args[le];var we=Ee._eval(E,R);if(Ee===we)return this;if(Ee instanceof Mt)return this;ae.push(we)}try{return q[j].apply(q,ae)}catch(E){}}return this}));def_eval(dn,return_this);function def_drop_side_effect_free(E,R){E.DEFMETHOD("drop_side_effect_free",R)}function trim(E,R,N){var $=E.length;if(!$)return null;var j=[],q=false;for(var G=0;G<$;G++){var ie=E[G].drop_side_effect_free(R,N);q|=ie!==E[G];if(ie){j.push(ie);N=false}}return q?j.length?j:null:E}def_drop_side_effect_free(lt,return_this);def_drop_side_effect_free(fr,return_null);def_drop_side_effect_free(pr,return_null);def_drop_side_effect_free(pn,(function(E,R){if(is_nullish_shortcircuited(this,E)){return this.expression.drop_side_effect_free(E,R)}if(!this.is_callee_pure(E)){if(this.expression.is_call_pure(E)){var N=this.args.slice();N.unshift(this.expression.expression);N=trim(N,E,R);return N&&make_sequence(this,N)}if(is_func_expr(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var $=this.clone();$.expression.process_expression(false,E);return $}return this}var j=trim(this.args,E,R);return j&&make_sequence(this,j)}));def_drop_side_effect_free(It,return_null);def_drop_side_effect_free(Pt,return_null);def_drop_side_effect_free(Ot,return_null);def_drop_side_effect_free(Bn,(function(E){const R=[];const N=this.extends&&this.extends.drop_side_effect_free(E);if(N)R.push(N);for(const N of this.properties){const $=N.drop_side_effect_free(E);if($)R.push($)}if(!R.length)return null;return make_sequence(this,R)}));def_drop_side_effect_free(En,(function(E,R){var N=this.right.drop_side_effect_free(E);if(!N)return this.left.drop_side_effect_free(E,R);if(ss.has(this.operator)){if(N===this.right)return this;var $=this.clone();$.right=N;return $}else{var j=this.left.drop_side_effect_free(E,R);if(!j)return this.right.drop_side_effect_free(E,R);return make_sequence(this,[j,N])}}));def_drop_side_effect_free(Sn,(function(E){if(this.logical)return this;var R=this.left;if(R.has_side_effects(E)||E.has_directive("use strict")&&R instanceof mn&&R.expression.is_constant()){return this}set_flag(this,Kr);while(R instanceof mn){R=R.expression}if(R.is_constant_expression(E.find_parent(At))){return this.right.drop_side_effect_free(E)}return this}));def_drop_side_effect_free(wn,(function(E){var R=this.consequent.drop_side_effect_free(E);var N=this.alternative.drop_side_effect_free(E);if(R===this.consequent&&N===this.alternative)return this;if(!R)return N?make_node(En,this,{operator:"||",left:this.condition,right:N}):this.condition.drop_side_effect_free(E);if(!N)return make_node(En,this,{operator:"&&",left:this.condition,right:R});var $=this.clone();$.consequent=R;$.alternative=N;return $}));def_drop_side_effect_free(_n,(function(E,R){if(os.has(this.operator)){if(!this.expression.has_side_effects(E)){set_flag(this,Kr)}else{clear_flag(this,Kr)}return this}if(this.operator=="typeof"&&this.expression instanceof ar)return null;var N=this.expression.drop_side_effect_free(E,R);if(R&&N&&is_iife_call(N)){if(N===this.expression&&this.operator=="!")return this;return N.negate(E,R)}return N}));def_drop_side_effect_free(ar,(function(E){const R=this.is_declared(E)||Zr.has(this.name);return R?null:this}));def_drop_side_effect_free(Dn,(function(E,R){var N=trim(this.properties,E,R);return N&&make_sequence(this,N)}));def_drop_side_effect_free(Mn,(function(E,R){const N=this instanceof In&&this.key instanceof lt;const $=N&&this.key.drop_side_effect_free(E,R);const j=this.value&&this.value.drop_side_effect_free(E,R);if($&&j){return make_sequence(this,[$,j])}return $||j}));def_drop_side_effect_free(Ln,(function(E){const R=this.computed_key()&&this.key.drop_side_effect_free(E);const N=this.static&&this.value&&this.value.drop_side_effect_free(E);if(R&&N)return make_sequence(this,[R,N]);return R||N||null}));def_drop_side_effect_free(Fn,(function(){return this.computed_key()?this.key:null}));def_drop_side_effect_free(Rn,(function(){return this.computed_key()?this.key:null}));def_drop_side_effect_free(Tn,(function(){return this.computed_key()?this.key:null}));def_drop_side_effect_free(Cn,(function(E,R){var N=trim(this.elements,E,R);return N&&make_sequence(this,N)}));def_drop_side_effect_free(gn,(function(E,R){if(is_nullish_shortcircuited(this,E)){return this.expression.drop_side_effect_free(E,R)}if(this.expression.may_throw_on_access(E))return this;return this.expression.drop_side_effect_free(E,R)}));def_drop_side_effect_free(vn,(function(E,R){if(is_nullish_shortcircuited(this,E)){return this.expression.drop_side_effect_free(E,R)}if(this.expression.may_throw_on_access(E))return this;var N=this.expression.drop_side_effect_free(E,R);if(!N)return this.property.drop_side_effect_free(E,R);var $=this.property.drop_side_effect_free(E);if(!$)return N;return make_sequence(this,[N,$])}));def_drop_side_effect_free(bn,(function(E,R){return this.expression.drop_side_effect_free(E,R)}));def_drop_side_effect_free(hn,(function(E){var R=this.tail_node();var N=R.drop_side_effect_free(E);if(N===R)return this;var $=this.expressions.slice(0,-1);if(N)$.push(N);if(!$.length){return make_node(mr,this,{value:0})}return make_sequence(this,$)}));def_drop_side_effect_free(Dt,(function(E,R){return this.expression.drop_side_effect_free(E,R)}));def_drop_side_effect_free(Bt,return_null);def_drop_side_effect_free(Nt,(function(E){var R=trim(this.segments,E,first_in_statement);return R&&make_sequence(this,R)}));function def_reduce_vars(E,R){E.DEFMETHOD("reduce_vars",R)}def_reduce_vars(lt,noop);function reset_def(E,R){R.assignments=0;R.chained=false;R.direct_access=false;R.escaped=0;R.recursive_refs=0;R.references=[];R.single_use=undefined;if(R.scope.pinned()){R.fixed=false}else if(R.orig[0]instanceof Vn||!E.exposed(R)){R.fixed=R.init}else{R.fixed=false}}function reset_variables(E,R,N){N.variables.forEach((function(N){reset_def(R,N);if(N.fixed===null){E.defs_to_safe_ids.set(N.id,E.safe_ids);mark(E,N,true)}else if(N.fixed){E.loop_ids.set(N.id,E.in_loop);mark(E,N,true)}}))}function reset_block_variables(E,R){if(R.block_scope)R.block_scope.variables.forEach((R=>{reset_def(E,R)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,R,N){E.safe_ids[R.id]=N}function safe_to_read(E,R){if(R.single_use=="m")return false;if(E.safe_ids[R.id]){if(R.fixed==null){var N=R.orig[0];if(N instanceof Qn||N.name=="arguments")return false;R.fixed=make_node(kr,N)}return true}return R.fixed instanceof Tt}function safe_to_assign(E,R,N,$){if(R.fixed===undefined)return true;let j;if(R.fixed===null&&(j=E.defs_to_safe_ids.get(R.id))){j[R.id]=false;E.defs_to_safe_ids.delete(R.id);return true}if(!HOP(E.safe_ids,R.id))return false;if(!safe_to_read(E,R))return false;if(R.fixed===false)return false;if(R.fixed!=null&&(!$||R.references.length>R.assignments))return false;if(R.fixed instanceof Tt){return $ instanceof lt&&R.fixed.parent_scope===N}return R.orig.every((E=>!(E instanceof Vn||E instanceof Jn||E instanceof Zn)))}function ref_once(E,R,N){return R.option("unused")&&!N.scope.pinned()&&N.references.length-N.recursive_refs==1&&E.loop_ids.get(N.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof Mt||E instanceof pr}function mark_escaped(E,R,N,$,j,q=0,G=1){var ie=E.parent(q);if(j){if(j.is_constant())return;if(j instanceof zn)return}if(ie instanceof Sn&&(ie.operator==="="||ie.logical)&&$===ie.right||ie instanceof pn&&($!==ie.expression||ie instanceof dn)||ie instanceof $t&&$===ie.value&&$.scope!==R.scope||ie instanceof on&&$===ie.value||ie instanceof Wt&&$===ie.value&&$.scope!==R.scope){if(G>1&&!(j&&j.is_constant_expression(N)))G=1;if(!R.escaped||R.escaped>G)R.escaped=G;return}else if(ie instanceof Cn||ie instanceof Ht||ie instanceof En&&ss.has(ie.operator)||ie instanceof wn&&$!==ie.condition||ie instanceof Dt||ie instanceof hn&&$===ie.tail_node()){mark_escaped(E,R,N,ie,ie,q+1,G)}else if(ie instanceof In&&$===ie.value){var ae=E.parent(q+1);mark_escaped(E,R,N,ae,ae,q+2,G)}else if(ie instanceof mn&&$===ie.expression){j=read_property(j,ie.property);mark_escaped(E,R,N,ie,j,q+1,G+1);if(j)return}if(q>0)return;if(ie instanceof hn&&$!==ie.tail_node())return;if(ie instanceof dt)return;R.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof Un))return;var R=E.definition();if(!R)return;if(E instanceof ar)R.references.push(E);R.fixed=false}));def_reduce_vars(It,(function(E,R,N){push(E);reset_variables(E,N,this);R();pop(E);return true}));def_reduce_vars(Sn,(function(E,R,N){var $=this;if($.left instanceof Rt){suppress($.left);return}const finish_walk=()=>{if($.logical){$.left.walk(E);push(E);$.right.walk(E);pop(E);return true}};var j=$.left;if(!(j instanceof ar))return finish_walk();var q=j.definition();var G=safe_to_assign(E,q,j.scope,$.right);q.assignments++;if(!G)return finish_walk();var ie=q.fixed;if(!ie&&$.operator!="="&&!$.logical)return finish_walk();var ae=$.operator=="=";var le=ae?$.right:$;if(is_modified(N,E,$,le,0))return finish_walk();q.references.push(j);if(!$.logical){if(!ae)q.chained=true;q.fixed=ae?function(){return $.right}:function(){return make_node(En,$,{operator:$.operator.slice(0,-1),left:ie instanceof lt?ie:ie(),right:$.right})}}if($.logical){mark(E,q,false);push(E);$.right.walk(E);pop(E);return true}mark(E,q,false);$.right.walk(E);mark(E,q,true);mark_escaped(E,q,j.scope,$,le,0,1);return true}));def_reduce_vars(En,(function(E){if(!ss.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));def_reduce_vars(ft,(function(E,R,N){reset_block_variables(N,this)}));def_reduce_vars(Xt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));def_reduce_vars(Bn,(function(E,R){clear_flag(this,Vr);push(E);R();pop(E);return true}));def_reduce_vars(wn,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));def_reduce_vars(bn,(function(E,R){const N=E.safe_ids;R();E.safe_ids=N;return true}));def_reduce_vars(pn,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const R of this.args)R.walk(E);return true}));def_reduce_vars(mn,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof lt)this.property.walk(E);return true}));def_reduce_vars(Jt,(function(E,R){push(E);R();pop(E);return true}));function mark_lambda(E,R,N){clear_flag(this,Vr);push(E);reset_variables(E,N,this);if(this.uses_arguments){R();pop(E);return}var $;if(!this.name&&($=E.parent())instanceof pn&&$.expression===this&&!$.args.some((E=>E instanceof Dt))&&this.argnames.every((E=>E instanceof Un))){this.argnames.forEach(((R,N)=>{if(!R.definition)return;var j=R.definition();if(j.orig.length>1)return;if(j.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){j.fixed=function(){return $.args[N]||make_node(kr,$)};E.loop_ids.set(j.id,E.in_loop);mark(E,j,true)}else{j.fixed=false}}))}R();pop(E);return true}def_reduce_vars(Mt,mark_lambda);def_reduce_vars(_t,(function(E,R,N){reset_block_variables(N,this);const $=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=$;return true}));def_reduce_vars(xt,(function(E,R,N){reset_block_variables(N,this);if(this.init)this.init.walk(E);const $=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=$;return true}));def_reduce_vars(Et,(function(E,R,N){reset_block_variables(N,this);suppress(this.init);this.object.walk(E);const $=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=$;return true}));def_reduce_vars(Vt,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));def_reduce_vars(yt,(function(E){push(E);this.body.walk(E);pop(E);return true}));def_reduce_vars(nr,(function(){this.definition().fixed=false}));def_reduce_vars(ar,(function(E,R,N){var $=this.definition();$.references.push(this);if($.references.length==1&&!$.fixed&&$.orig[0]instanceof Jn){E.loop_ids.set($.id,E.in_loop)}var j;if($.fixed===undefined||!safe_to_read(E,$)){$.fixed=false}else if($.fixed){j=this.fixed_value();if(j instanceof Mt&&is_recursive_ref(E,$)){$.recursive_refs++}else if(j&&!N.exposed($)&&ref_once(E,N,$)){$.single_use=j instanceof Mt&&!j.pinned()||j instanceof Bn||$.scope===this.scope&&j.is_constant_expression()}else{$.single_use=false}if(is_modified(N,E,this,j,0,is_immutable(j))){if($.single_use){$.single_use="m"}else{$.fixed=false}}}mark_escaped(E,$,this.scope,this,j,0,1)}));def_reduce_vars(Ct,(function(E,R,N){this.globals.forEach((function(E){reset_def(N,E)}));reset_variables(E,N,this)}));def_reduce_vars(Yt,(function(E,R,N){reset_block_variables(N,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));def_reduce_vars(_n,(function(E){var R=this;if(R.operator!=="++"&&R.operator!=="--")return;var N=R.expression;if(!(N instanceof ar))return;var $=N.definition();var j=safe_to_assign(E,$,N.scope,true);$.assignments++;if(!j)return;var q=$.fixed;if(!q)return;$.references.push(N);$.chained=true;$.fixed=function(){return make_node(En,R,{operator:R.operator.slice(0,-1),left:make_node(kn,R,{operator:"+",expression:q instanceof lt?q:q()}),right:make_node(mr,R,{value:1})})};mark(E,$,true);return true}));def_reduce_vars(on,(function(E,R){var N=this;if(N.name instanceof Rt){suppress(N.name);return}var $=N.name.definition();if(N.value){if(safe_to_assign(E,$,N.name.scope,N.value)){$.fixed=function(){return N.value};E.loop_ids.set($.id,E.in_loop);mark(E,$,false);R();mark(E,$,true);return true}else{$.fixed=false}}}));def_reduce_vars(kt,(function(E,R,N){reset_block_variables(N,this);const $=E.in_loop;E.in_loop=this;push(E);R();pop(E);E.in_loop=$;return true}));function loop_body(E){if(E instanceof vt){return E.body instanceof ht?E.body:E}return E}function is_lhs_read_only(E){if(E instanceof pr)return true;if(E instanceof ar)return E.definition().orig[0]instanceof Zn;if(E instanceof mn){E=E.expression;if(E instanceof ar){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof yr)return false;if(E instanceof fr)return true;return is_lhs_read_only(E)}return false}function trim_unreachable_code(E,R,N){walk(R,($=>{if($ instanceof nn){$.remove_initializers();N.push($);return true}if($ instanceof Tt&&($===R||!E.has_directive("use strict"))){N.push($===R?$:make_node(nn,$,{definitions:[make_node(on,$,{name:make_node(Hn,$.name,$.name),value:null})]}));return true}if($ instanceof un||$ instanceof ln){N.push($);return true}if($ instanceof At){return true}}))}function tighten_body(E,R){var N,$;var q=R.find_parent(At).get_defun_scope();find_loop_scope_try();var G,ie=10;do{G=false;eliminate_spurious_blocks(E);if(R.option("dead_code")){eliminate_dead_code(E,R)}if(R.option("if_return")){handle_if_return(E,R)}if(R.sequences_limit>0){sequencesize(E,R);sequencesize_2(E,R)}if(R.option("join_vars")){join_consecutive_vars(E)}if(R.option("collapse_vars")){collapse(E,R)}}while(G&&ie-- >0);function find_loop_scope_try(){var E=R.self(),j=0;do{if(E instanceof Zt||E instanceof en){j++}else if(E instanceof vt){N=true}else if(E instanceof At){q=E;break}else if(E instanceof Yt){$=true}}while(E=R.parent(j++))}function collapse(E,R){if(q.pinned())return E;var ie;var ae=[];var le=E.length;var _e=new TreeTransformer((function(E){if(Ve)return E;if(!We){if(E!==we[Me])return E;Me++;if(Me1)||E instanceof vt&&!(E instanceof xt)||E instanceof Ut||E instanceof Yt||E instanceof St||E instanceof Wt||E instanceof un||E instanceof Bn||N instanceof xt&&E!==N.init||!qe&&(E instanceof ar&&!E.is_declared(R)&&!Zr.has(E))||E instanceof ar&&N instanceof pn&&has_annotation(N,Ir)){Ve=true;return E}if(!Be&&(!ze||!qe)&&(N instanceof En&&ss.has(N.operator)&&N.left!==E||N instanceof wn&&N.condition!==E||N instanceof Vt&&N.condition!==E)){Be=N}if(Qe&&!(E instanceof Gn)&&Le.equivalent_to(E)&&!shadows(E.scope,je)){if(Be){Ve=true;return E}if(is_lhs(E,N)){if(Te)Ke++;return E}else{Ke++;if(Te&&Ie instanceof on)return E}G=Ve=true;if(Ie instanceof xn){return make_node(kn,Ie,Ie)}if(Ie instanceof on){var j=Ie.name.definition();var q=Ie.value;if(j.references.length-j.replaced==1&&!R.exposed(j)){j.replaced++;if(He&&is_identifier_atom(q)){return q.transform(R)}else{return maintain_this_binding(N,E,q)}}return make_node(Sn,Ie,{operator:"=",logical:false,left:make_node(ar,Ie.name,Ie.name),right:q})}clear_flag(Ie,Kr);return Ie}var ie;if(E instanceof pn||E instanceof $t&&(Ue||Le instanceof mn||may_modify(Le))||E instanceof mn&&(Ue||E.expression.may_throw_on_access(R))||E instanceof ar&&(je.has(E.name)&&je.get(E.name).modified||Ue&&may_modify(E))||E instanceof on&&E.value&&(je.has(E.name.name)||Ue&&may_modify(E.name))||(ie=is_lhs(E.left,E))&&(ie instanceof mn||je.has(ie.name))||Ge&&($?E.has_side_effects(R):side_effects_external(E))){Ne=E;if(E instanceof At)Ve=true}return handle_custom_scan_order(E)}),(function(E){if(Ve)return;if(Ne===E)Ve=true;if(Be===E)Be=null}));var Ee=new TreeTransformer((function(E){if(Ve)return E;if(!We){if(E!==we[Me])return E;Me++;if(Me=0){if(le==0&&R.option("unused"))extract_args();var we=[];extract_candidates(E[le]);while(ae.length>0){we=ae.pop();var Me=0;var Ie=we[we.length-1];var Te=null;var Ne=null;var Be=null;var Le=get_lhs(Ie);if(!Le||is_lhs_read_only(Le)||Le.has_side_effects(R))continue;var je=get_lvalues(Ie);var ze=is_lhs_local(Le);if(Le instanceof ar){je.set(Le.name,{def:Le.definition(),modified:false})}var Ue=value_has_side_effects(Ie);var qe=replace_all_symbols();var Ge=Ie.may_throw(R);var He=Ie.name instanceof Qn;var We=He;var Ve=false,Ke=0,Qe=!ie||!We;if(!Qe){for(var Je=R.self().argnames.lastIndexOf(Ie.name)+1;!Ve&&JeKe)Ke=false;else{Ve=false;Me=0;We=He;for(var Xe=le;!Ve&&Xe!(E instanceof Dt)))){var $=R.has_directive("use strict");if($&&!member($,N.body))$=false;var j=N.argnames.length;ie=E.args.slice(j);var q=new Set;for(var G=j;--G>=0;){var le=N.argnames[G];var _e=E.args[G];const j=le.definition&&le.definition();const we=j&&j.orig.length>1;if(we)continue;ie.unshift(make_node(on,le,{name:le,value:_e}));if(q.has(le.name))continue;q.add(le.name);if(le instanceof Dt){var Ee=E.args.slice(G);if(Ee.every((E=>!has_overlapping_symbol(N,E,$)))){ae.unshift([make_node(on,le,{name:le.expression,value:make_node(Cn,E,{elements:Ee})})])}}else{if(!_e){_e=make_node(kr,le).transform(R)}else if(_e instanceof Mt&&_e.pinned()||has_overlapping_symbol(N,_e,$)){_e=null}if(_e)ae.unshift([make_node(on,le,{name:le,value:_e})])}}}}function extract_candidates(E){we.push(E);if(E instanceof Sn){if(!E.left.has_side_effects(R)&&!(E.right instanceof bn)){ae.push(we.slice())}extract_candidates(E.right)}else if(E instanceof En){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof pn&&!has_annotation(E,Ir)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Xt){extract_candidates(E.expression)}else if(E instanceof wn){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof tn){var N=E.definitions.length;var $=N-200;if($<0)$=0;for(;$1&&!(E.name instanceof Qn)||($>1?mangleable_var(E):!R.exposed(N))){return make_node(ar,E.name,E.name)}}else{const R=E instanceof Sn?E.left:E.expression;return!is_ref_of(R,Vn)&&!is_ref_of(R,Kn)&&R}}function get_rvalue(E){if(E instanceof Sn){return E.right}else{return E.value}}function get_lvalues(E){var N=new Map;if(E instanceof _n)return N;var $=new TreeWalker((function(E){var j=E;while(j instanceof mn)j=j.expression;if(j instanceof ar){const q=N.get(j.name);if(!q||!q.modified){N.set(j.name,{def:j.definition(),modified:is_modified(R,$,E,E,0)})}}}));get_rvalue(E).walk($);return N}function remove_candidate(N){if(N.name instanceof Qn){var $=R.parent(),q=R.self().argnames;var G=q.indexOf(N.name);if(G<0){$.args.length=Math.min($.args.length,q.length-1)}else{var ie=$.args;if(ie[G])ie[G]=make_node(mr,ie[G],{value:0})}return true}var ae=false;return E[le].transform(new TreeTransformer((function(E,R,$){if(ae)return E;if(E===N||E.body===N){ae=true;if(E instanceof on){E.value=E.name instanceof Vn?make_node(kr,E.value):null;return E}return $?j.skip:null}}),(function(E){if(E instanceof hn)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof mn)E=E.expression;return E instanceof ar&&E.definition().scope===q&&!(N&&(je.has(E.name)||Ie instanceof _n||Ie instanceof Sn&&!Ie.logical&&Ie.operator!="="))}function value_has_side_effects(E){if(E instanceof _n)return os.has(E.operator);return get_rvalue(E).has_side_effects(R)}function replace_all_symbols(){if(Ue)return false;if(Te)return true;if(Le instanceof ar){var E=Le.definition();if(E.references.length-E.replaced==(Ie instanceof on?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var R=E.definition();if(R.orig.length==1&&R.orig[0]instanceof Jn)return false;if(R.scope.get_defun_scope()!==q)return true;return!R.references.every((E=>{var R=E.scope.get_defun_scope();if(R.TYPE=="Scope")R=R.parent_scope;return R===q}))}function side_effects_external(E,R){if(E instanceof Sn)return side_effects_external(E.left,true);if(E instanceof _n)return side_effects_external(E.expression,true);if(E instanceof on)return E.value&&side_effects_external(E.value);if(R){if(E instanceof gn)return side_effects_external(E.expression,true);if(E instanceof vn)return side_effects_external(E.expression,true);if(E instanceof ar)return E.definition().scope!==q}return false}function shadows(E,R){for(const{def:N}of R.values()){let R=E;while(R&&R!==N.scope){let E=R.variables.get(N.name);if(E&&E!==N)return true;R=R.parent_scope}}return false}}function eliminate_spurious_blocks(E){var R=[];for(var N=0;N=0;){var ie=E[q];var ae=next_index(q);var le=E[ae];if(j&&!le&&ie instanceof jt){if(!ie.value){G=true;E.splice(q,1);continue}if(ie.value instanceof kn&&ie.value.operator=="void"){G=true;E[q]=make_node(dt,ie,{body:ie.value.expression});continue}}if(ie instanceof Vt){var _e=aborts(ie.body);if(can_merge_flow(_e)){if(_e.label){remove(_e.label.thedef.references,_e)}G=true;ie=ie.clone();ie.condition=ie.condition.negate(R);var Ee=as_statement_array_with_return(ie.body,_e);ie.body=make_node(ht,ie,{body:as_statement_array(ie.alternative).concat(extract_functions())});ie.alternative=make_node(ht,ie,{body:Ee});E[q]=ie.transform(R);continue}var _e=aborts(ie.alternative);if(can_merge_flow(_e)){if(_e.label){remove(_e.label.thedef.references,_e)}G=true;ie=ie.clone();ie.body=make_node(ht,ie.body,{body:as_statement_array(ie.body).concat(extract_functions())});var Ee=as_statement_array_with_return(ie.alternative,_e);ie.alternative=make_node(ht,ie.alternative,{body:Ee});E[q]=ie.transform(R);continue}}if(ie instanceof Vt&&ie.body instanceof jt){var we=ie.body.value;if(!we&&!ie.alternative&&(j&&!le||le instanceof jt&&!le.value)){G=true;E[q]=make_node(dt,ie.condition,{body:ie.condition});continue}if(we&&!ie.alternative&&le instanceof jt&&le.value){G=true;ie=ie.clone();ie.alternative=le;E[q]=ie.transform(R);E.splice(ae,1);continue}if(we&&!ie.alternative&&(!le&&j&&$||le instanceof jt)){G=true;ie=ie.clone();ie.alternative=le||make_node(jt,ie,{value:null});E[q]=ie.transform(R);if(le)E.splice(ae,1);continue}var Me=E[prev_index(q)];if(R.option("sequences")&&j&&!ie.alternative&&Me instanceof Vt&&Me.body instanceof jt&&next_index(ae)==E.length&&le instanceof dt){G=true;ie=ie.clone();ie.alternative=make_node(ht,le,{body:[le,make_node(jt,le,{value:null})]});E[q]=ie.transform(R);E.splice(ae,1);continue}}}function has_multiple_if_returns(E){var R=0;for(var N=E.length;--N>=0;){var $=E[N];if($ instanceof Vt&&$.body instanceof jt){if(++R>1)return true}}return false}function is_return_void(E){return!E||E instanceof kn&&E.operator=="void"}function can_merge_flow($){if(!$)return false;for(var G=q+1,ie=E.length;G=0;){var $=E[N];if(!($ instanceof nn&&declarations_only($))){break}}return N}}function eliminate_dead_code(E,R){var N;var $=R.self();for(var j=0,q=0,ie=E.length;j!E.value))}function sequencesize(E,R){if(E.length<2)return;var N=[],$=0;function push_seq(){if(!N.length)return;var R=make_sequence(N[0],N);E[$++]=make_node(dt,R,{body:R});N=[]}for(var j=0,q=E.length;j=R.sequences_limit)push_seq();var ae=ie.body;if(N.length>0)ae=ae.drop_side_effect_free(R);if(ae)merge_sequence(N,ae)}else if(ie instanceof tn&&declarations_only(ie)||ie instanceof Tt){E[$++]=ie}else{push_seq();E[$++]=ie}}push_seq();E.length=$;if($!=q)G=true}function to_simple_statement(E,R){if(!(E instanceof ht))return E;var N=null;for(var $=0,j=E.body.length;${if(E instanceof At)return true;if(E instanceof En&&E.operator==="in"){return Cr}}));if(!E){if(q.init)q.init=cons_seq(q.init);else{q.init=$.body;N--;G=true}}}}else if(q instanceof Et){if(!(q.init instanceof sn)&&!(q.init instanceof rn)){q.object=cons_seq(q.object)}}else if(q instanceof Vt){q.condition=cons_seq(q.condition)}else if(q instanceof Kt){q.expression=cons_seq(q.expression)}else if(q instanceof St){q.expression=cons_seq(q.expression)}}if(R.option("conditionals")&&q instanceof Vt){var ie=[];var ae=to_simple_statement(q.body,ie);var le=to_simple_statement(q.alternative,ie);if(ae!==false&&le!==false&&ie.length>0){var _e=ie.length;ie.push(make_node(Vt,q,{condition:q.condition,body:ae||make_node(mt,q.body),alternative:le}));ie.unshift(N,1);[].splice.apply(E,ie);j+=_e;N+=_e+1;$=null;G=true;continue}}E[N++]=q;$=q instanceof dt?q:null}E.length=N}function join_object_assignments(E,N){if(!(E instanceof tn))return;var $=E.definitions[E.definitions.length-1];if(!($.value instanceof Dn))return;var j;if(N instanceof Sn&&!N.logical){j=[N]}else if(N instanceof hn){j=N.expressions.slice()}if(!j)return;var G=false;do{var ie=j[0];if(!(ie instanceof Sn))break;if(ie.operator!="=")break;if(!(ie.left instanceof mn))break;var ae=ie.left.expression;if(!(ae instanceof ar))break;if($.name.name!=ae.name)break;if(!ie.right.is_constant_expression(q))break;var le=ie.left.property;if(le instanceof lt){le=le.evaluate(R)}if(le instanceof lt)break;le=""+le;var _e=R.option("ecma")<2015&&R.has_directive("use strict")?function(E){return E.key!=le&&(E.key&&E.key.name!=le)}:function(E){return E.key&&E.key.name!=le};if(!$.value.properties.every(_e))break;var Ee=$.value.properties.filter((function(E){return E.key===le}))[0];if(!Ee){$.value.properties.push(make_node(In,ie,{key:le,value:ie.right}))}else{Ee.value=new hn({start:Ee.start,expressions:[Ee.value.clone(),ie.right.clone()],end:Ee.end})}j.shift();G=true}while(j.length);return G&&j}function join_consecutive_vars(E){var R;for(var N=0,$=-1,j=E.length;N0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(R>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){j.body[G]=j.body[G].transform($)}}else if(j instanceof Vt){j.body=j.body.transform($);if(j.alternative){j.alternative=j.alternative.transform($)}}else if(j instanceof St){j.body=j.body.transform($)}return j}));N.transform($)}));Ct.DEFMETHOD("reset_opt_flags",(function(E){const R=this;const N=E.option("reduce_vars");const $=new TreeWalker((function(j,q){clear_flag(j,Yr);if(N){if(E.top_retain&&j instanceof Tt&&$.parent()===R){set_flag(j,Xr)}return j.reduce_vars($,q,E)}}));$.safe_ids=Object.create(null);$.in_loop=null;$.loop_ids=new Map;$.defs_to_safe_ids=new Map;R.walk($)}));Un.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof lt)return E;return E()}));ar.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Zn}));function find_scope(E){for(let R=0;;R++){const N=E.parent(R);if(N instanceof Ct)return N;if(N instanceof Mt)return N;if(N.block_scope)return N.block_scope}}function find_variable(E,R){var N,$=0;while(N=E.parent($++)){if(N instanceof At)break;if(N instanceof Zt&&N.argname){N=N.argname.definition().scope;break}}return N.find_variable(R)}function is_empty(E){if(E===null)return true;if(E instanceof mt)return true;if(E instanceof ht)return E.body.length==0;return false}var ys=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");ar.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&ys.has(this.name)}));var vs=new Set(["use asm","use strict"]);def_optimize(pt,(function(E,R){if(R.option("directives")&&(!vs.has(E.value)||R.has_directive(E.value)!==E)){return make_node(mt,E)}return E}));def_optimize(ut,(function(E,R){if(R.option("drop_debugger"))return make_node(mt,E);return E}));def_optimize(yt,(function(E,R){if(E.body instanceof qt&&R.loopcontrol_target(E.body)===E.body){return make_node(mt,E)}return E.label.references.length==0?E.body:E}));def_optimize(ft,(function(E,R){tighten_body(E.body,R);return E}));function can_be_extracted_from_if_block(E){return!(E instanceof sn||E instanceof rn||E instanceof Bn)}def_optimize(ht,(function(E,R){tighten_body(E.body,R);switch(E.body.length){case 1:if(!R.has_directive("use strict")&&R.parent()instanceof Vt&&can_be_extracted_from_if_block(E.body[0])||can_be_evicted_from_block(E.body[0])){return E.body[0]}break;case 0:return make_node(mt,E)}return E}));function opt_AST_Lambda(E,R){tighten_body(E.body,R);if(R.option("side_effects")&&E.body.length==1&&E.body[0]===R.has_directive("use strict")){E.body.length=0}return E}def_optimize(Mt,opt_AST_Lambda);const bs=/keep_assign/;At.DEFMETHOD("drop_unused",(function(E){if(!E.option("unused"))return;if(E.has_directive("use asm"))return;var R=this;if(R.pinned())return;var N=!(R instanceof Ct)||E.toplevel.funcs;var $=!(R instanceof Ct)||E.toplevel.vars;const q=bs.test(E.option("unused"))?return_false:function(E){if(E instanceof Sn&&!E.logical&&(has_flag(E,Kr)||E.operator=="=")){return E.left}if(E instanceof _n&&has_flag(E,Kr)){return E.expression}};var G=new Map;var ie=new Map;if(R instanceof Ct&&E.top_retain){R.variables.forEach((function(R){if(E.top_retain(R)&&!G.has(R.id)){G.set(R.id,R)}}))}var ae=new Map;var le=new Map;var _e=this;var Ee=new TreeWalker((function(j,q){if(j instanceof Mt&&j.uses_arguments&&!Ee.has_directive("use strict")){j.argnames.forEach((function(E){if(!(E instanceof Gn))return;var R=E.definition();if(!G.has(R.id)){G.set(R.id,R)}}))}if(j===R)return;if(j instanceof Tt||j instanceof jn){var we=j.name.definition();const $=Ee.parent()instanceof un;if($||!N&&_e===R){if(we.global&&!G.has(we.id)){G.set(we.id,we)}}if(j instanceof jn){if(j.extends&&(j.extends.has_side_effects(E)||j.extends.may_throw(E))){j.extends.walk(Ee)}for(const R of j.properties){if(R.has_side_effects(E)||R.may_throw(E)){R.walk(Ee)}}}map_add(le,we.id,j);return true}if(j instanceof Qn&&_e===R){map_add(ae,j.definition().id,j)}if(j instanceof tn&&_e===R){const R=Ee.parent()instanceof un;j.definitions.forEach((function(N){if(N.name instanceof Hn){map_add(ae,N.name.definition().id,N)}if(R||!$){walk(N.name,(E=>{if(E instanceof Gn){const N=E.definition();if((R||N.global)&&!G.has(N.id)){G.set(N.id,N)}}}))}if(N.value){if(N.name instanceof Rt){N.walk(Ee)}else{var j=N.name.definition();map_add(le,j.id,N.value);if(!j.chained&&N.name.fixed_value()===N.value){ie.set(j.id,N)}}if(N.value.has_side_effects(E)){N.value.walk(Ee)}}}));return true}return scan_ref_scoped(j,q)}));R.walk(Ee);Ee=new TreeWalker(scan_ref_scoped);G.forEach((function(E){var R=le.get(E.id);if(R)R.forEach((function(E){E.walk(Ee)}))}));var we=new TreeTransformer((function before(le,Ee,Me){var Ie=we.parent();if($){const E=q(le);if(E instanceof ar){var Te=E.definition();var Ne=G.has(Te.id);if(le instanceof Sn){if(!Ne||ie.has(Te.id)&&ie.get(Te.id)!==le){return maintain_this_binding(Ie,le,le.right.transform(we))}}else if(!Ne)return Me?j.skip:make_node(mr,le,{value:0})}}if(_e!==R)return;var Te;if(le.name&&(le instanceof zn&&!keep_name(E.option("keep_classnames"),(Te=le.name.definition()).name)||le instanceof Pt&&!keep_name(E.option("keep_fnames"),(Te=le.name.definition()).name))){if(!G.has(Te.id)||Te.orig.length>1)le.name=null}if(le instanceof Mt&&!(le instanceof It)){var Be=!E.option("keep_fargs");for(var Le=le.argnames,je=Le.length;--je>=0;){var ze=Le[je];if(ze instanceof Dt){ze=ze.expression}if(ze instanceof An){ze=ze.left}if(!(ze instanceof Rt)&&!G.has(ze.definition().id)){set_flag(ze,qr);if(Be){Le.pop()}}else{Be=false}}}if((le instanceof Tt||le instanceof jn)&&le!==R){const R=le.name.definition();let $=R.global&&!N||G.has(R.id);if(!$){R.eliminated++;if(le instanceof jn){const R=le.drop_side_effect_free(E);if(R){return make_node(dt,le,{body:R})}}return Me?j.skip:make_node(mt,le)}}if(le instanceof tn&&!(Ie instanceof Et&&Ie.init===le)){var Ue=!(Ie instanceof Ct)&&!(le instanceof nn);var qe=[],Ge=[],He=[];var We=[];le.definitions.forEach((function(R){if(R.value)R.value=R.value.transform(we);var N=R.name instanceof Rt;var j=N?new SymbolDef(null,{name:""}):R.name.definition();if(Ue&&j.global)return He.push(R);if(!($||Ue)||N&&(R.name.names.length||R.name.is_array||E.option("pure_getters")!=true)||G.has(j.id)){if(R.value&&ie.has(j.id)&&ie.get(j.id)!==R){R.value=R.value.drop_side_effect_free(E)}if(R.name instanceof Hn){var q=ae.get(j.id);if(q.length>1&&(!R.value||j.orig.indexOf(R.name)>j.eliminated)){if(R.value){var _e=make_node(ar,R.name,R.name);j.references.push(_e);var Ee=make_node(Sn,R,{operator:"=",logical:false,left:_e,right:R.value});if(ie.get(j.id)===R){ie.set(j.id,Ee)}We.push(Ee.transform(we))}remove(q,R);j.eliminated++;return}}if(R.value){if(We.length>0){if(He.length>0){We.push(R.value);R.value=make_sequence(R.value,We)}else{qe.push(make_node(dt,le,{body:make_sequence(le,We)}))}We=[]}He.push(R)}else{Ge.push(R)}}else if(j.orig[0]instanceof nr){var Me=R.value&&R.value.drop_side_effect_free(E);if(Me)We.push(Me);R.value=null;Ge.push(R)}else{var Me=R.value&&R.value.drop_side_effect_free(E);if(Me){We.push(Me)}j.eliminated++}}));if(Ge.length>0||He.length>0){le.definitions=Ge.concat(He);qe.push(le)}if(We.length>0){qe.push(make_node(dt,le,{body:make_sequence(le,We)}))}switch(qe.length){case 0:return Me?j.skip:make_node(mt,le);case 1:return qe[0];default:return Me?j.splice(qe):make_node(ht,le,{body:qe})}}if(le instanceof xt){Ee(le,this);var Ve;if(le.init instanceof ht){Ve=le.init;le.init=Ve.body.pop();Ve.body.push(le)}if(le.init instanceof dt){le.init=le.init.body}else if(is_empty(le.init)){le.init=null}return!Ve?le:Me?j.splice(Ve.body):Ve}if(le instanceof yt&&le.body instanceof xt){Ee(le,this);if(le.body instanceof ht){var Ve=le.body;le.body=Ve.body.pop();Ve.body.push(le);return Me?j.splice(Ve.body):Ve}return le}if(le instanceof ht){Ee(le,this);if(Me&&le.body.every(can_be_evicted_from_block)){return j.splice(le.body)}return le}if(le instanceof At){const E=_e;_e=le;Ee(le,this);_e=E;return le}}));R.transform(we);function scan_ref_scoped(E,N){var $;const j=q(E);if(j instanceof ar&&!is_ref_of(E.left,Wn)&&R.variables.get(j.name)===($=j.definition())){if(E instanceof Sn){E.right.walk(Ee);if(!$.chained&&E.left.fixed_value()===E.right){ie.set($.id,E)}}return true}if(E instanceof ar){$=E.definition();if(!G.has($.id)){G.set($.id,$);if($.orig[0]instanceof nr){const E=$.scope.is_block_scope()&&$.scope.get_defun_scope().variables.get($.name);if(E)G.set(E.id,E)}}return true}if(E instanceof At){var ae=_e;_e=E;N();_e=ae;return true}}}));At.DEFMETHOD("hoist_declarations",(function(E){var R=this;if(E.has_directive("use asm"))return R;if(!Array.isArray(R.body))return R;var N=E.option("hoist_funs");var $=E.option("hoist_vars");if(N||$){var j=[];var q=[];var G=new Map,ie=0,ae=0;walk(R,(E=>{if(E instanceof At&&E!==R)return true;if(E instanceof nn){++ae;return true}}));$=$&&ae>1;var le=new TreeTransformer((function before(ae){if(ae!==R){if(ae instanceof pt){j.push(ae);return make_node(mt,ae)}if(N&&ae instanceof Tt&&!(le.parent()instanceof un)&&le.parent()===R){q.push(ae);return make_node(mt,ae)}if($&&ae instanceof nn&&!ae.definitions.some((E=>E.name instanceof Rt))){ae.definitions.forEach((function(E){G.set(E.name.name,E);++ie}));var _e=ae.to_assignments(E);var Ee=le.parent();if(Ee instanceof Et&&Ee.init===ae){if(_e==null){var we=ae.definitions[0].name;return make_node(ar,we,we)}return _e}if(Ee instanceof xt&&Ee.init===ae){return _e}if(!_e)return make_node(mt,ae);return make_node(dt,ae,{body:_e})}if(ae instanceof At)return ae}}));R=R.transform(le);if(ie>0){var _e=[];const E=R instanceof Mt;const N=E?R.args_as_names():null;G.forEach(((R,$)=>{if(E&&N.some((E=>E.name===R.name.name))){G.delete($)}else{R=R.clone();R.value=null;_e.push(R);G.set($,R)}}));if(_e.length>0){for(var Ee=0;EeE instanceof Dt||E.computed_key()))){ie(G,this);const E=new Map;const N=[];_e.properties.forEach((({key:$,value:j})=>{const ie=find_scope(q);const le=R.create_symbol(ae.CTOR,{source:ae,scope:ie,conflict_scopes:new Set([ie,...ae.definition().references.map((E=>E.scope))]),tentative_name:ae.name+"_"+$});E.set(String($),le.definition());N.push(make_node(on,G,{name:le,value:j}))}));$.set(le.id,E);return j.splice(N)}}else if(G instanceof mn&&G.expression instanceof ar){const E=$.get(G.expression.definition().id);if(E){const R=E.get(String(get_simple_key(G.property)));const N=make_node(ar,G,{name:R.name,scope:G.expression.scope,thedef:R});N.reference({});return N}}}));return R.transform(q)}));def_optimize(dt,(function(E,R){if(R.option("side_effects")){var N=E.body;var $=N.drop_side_effect_free(R,true);if(!$){return make_node(mt,E)}if($!==N){return make_node(dt,E,{body:$})}}return E}));def_optimize(kt,(function(E,R){return R.option("loops")?make_node(xt,E,E).optimize(R):E}));def_optimize(_t,(function(E,R){if(!R.option("loops"))return E;var N=E.condition.tail_node().evaluate(R);if(!(N instanceof lt)){if(N)return make_node(xt,E,{body:make_node(ht,E.body,{body:[E.body,make_node(dt,E.condition,{body:E.condition})]})}).optimize(R);if(!has_break_or_continue(E,R.parent())){return make_node(ht,E.body,{body:[E.body,make_node(dt,E.condition,{body:E.condition})]}).optimize(R)}}return E}));function if_break_in_loop(E,R){var N=E.body instanceof ht?E.body.body[0]:E.body;if(R.option("dead_code")&&is_break(N)){var $=[];if(E.init instanceof ct){$.push(E.init)}else if(E.init){$.push(make_node(dt,E.init,{body:E.init}))}if(E.condition){$.push(make_node(dt,E.condition,{body:E.condition}))}trim_unreachable_code(R,E.body,$);return make_node(ht,E,{body:$})}if(N instanceof Vt){if(is_break(N.body)){if(E.condition){E.condition=make_node(En,E.condition,{left:E.condition,operator:"&&",right:N.condition.negate(R)})}else{E.condition=N.condition.negate(R)}drop_it(N.alternative)}else if(is_break(N.alternative)){if(E.condition){E.condition=make_node(En,E.condition,{left:E.condition,operator:"&&",right:N.condition})}else{E.condition=N.condition}drop_it(N.body)}}return E;function is_break(E){return E instanceof qt&&R.loopcontrol_target(E)===R.self()}function drop_it(N){N=as_statement_array(N);if(E.body instanceof ht){E.body=E.body.clone();E.body.body=N.concat(E.body.body.slice(1));E.body=E.body.transform(R)}else{E.body=make_node(ht,E.body,{body:N}).transform(R)}E=if_break_in_loop(E,R)}}def_optimize(xt,(function(E,R){if(!R.option("loops"))return E;if(R.option("side_effects")&&E.init){E.init=E.init.drop_side_effect_free(R)}if(E.condition){var N=E.condition.evaluate(R);if(!(N instanceof lt)){if(N)E.condition=null;else if(!R.option("dead_code")){var $=E.condition;E.condition=make_node_from_constant(N,E.condition);E.condition=best_of_expression(E.condition.transform(R),$)}}if(R.option("dead_code")){if(N instanceof lt)N=E.condition.tail_node().evaluate(R);if(!N){var j=[];trim_unreachable_code(R,E.body,j);if(E.init instanceof ct){j.push(E.init)}else if(E.init){j.push(make_node(dt,E.init,{body:E.init}))}j.push(make_node(dt,E.condition,{body:E.condition}));return make_node(ht,E,{body:j}).optimize(R)}}}return if_break_in_loop(E,R)}));def_optimize(Vt,(function(E,R){if(is_empty(E.alternative))E.alternative=null;if(!R.option("conditionals"))return E;var N=E.condition.evaluate(R);if(!R.option("dead_code")&&!(N instanceof lt)){var $=E.condition;E.condition=make_node_from_constant(N,$);E.condition=best_of_expression(E.condition.transform(R),$)}if(R.option("dead_code")){if(N instanceof lt)N=E.condition.tail_node().evaluate(R);if(!N){var j=[];trim_unreachable_code(R,E.body,j);j.push(make_node(dt,E.condition,{body:E.condition}));if(E.alternative)j.push(E.alternative);return make_node(ht,E,{body:j}).optimize(R)}else if(!(N instanceof lt)){var j=[];j.push(make_node(dt,E.condition,{body:E.condition}));j.push(E.body);if(E.alternative){trim_unreachable_code(R,E.alternative,j)}return make_node(ht,E,{body:j}).optimize(R)}}var q=E.condition.negate(R);var G=E.condition.size();var ie=q.size();var ae=ie(E===Me||E.expression instanceof fr)&&(E.body.length===0||aborts(E)||G.length-1===R)))){for(let E=0;EE){if(is_inert_body(G[R--])){ie++}else{break}}const ae=G.splice(N-ie,1+ie);G.splice(E+1,0,...ae);E+=ae.length}}}}for(let E=0;E=0;E--){let N=G[E].body;if(is_break(N[N.length-1],R))N.pop();if(!is_inert_body(G[E]))break}E++;if(!Me||G.indexOf(Me)>=E){for(let N=G.length-1;N>=E;N--){let E=G[N];if(E===Me){Me=null;G.pop()}else if(!E.expression.has_side_effects(R)){G.pop()}else{break}}}}e:if(Me){let E=G.indexOf(Me);let N=E;for(;N=0;$--){let E=G[$];if(E===Me)continue;if(E.expression.has_side_effects(R))break}if(N>$){let R=E-1;for(;R>=0;R--){if(!is_inert_body(G[R]))break}let j=Math.max($,R)+1;let q=E;if($>E){q=$;G[$].body=G[N].body}else{Me.body=G[N].body}G.splice(q+1,N-q);G.splice(j,E-j)}}e:if(Me){let N=G.findIndex((E=>!is_inert_body(E)));let $;if(N===G.length-1){let R=G[N];if(has_nested_break(E))break e;$=make_node(ht,R,{body:R.body});R.body=[]}else if(N!==-1){break e}let j=G.find((E=>E!==Me&&E.expression.has_side_effects(R)));if(!j){return make_node(ht,E,{body:q.concat(statement(E.expression),Me.expression?statement(Me.expression):[],$||[])}).optimize(R)}const ie=G.indexOf(Me);G.splice(ie,1);Me=null;if($){return make_node(ht,E,{body:q.concat(E,$)}).optimize(R)}}if(G.length>0){G[0].body=q.concat(G[0].body)}if(G.length==0){return make_node(ht,E,{body:q.concat(statement(E.expression))}).optimize(R)}if(G.length==1&&!has_nested_break(E)){let N=G[0];return make_node(Vt,E,{condition:make_node(En,E,{operator:"===",left:E.expression,right:N.expression}),body:make_node(ht,N,{body:N.body}),alternative:null}).optimize(R)}if(G.length===2&&Me&&!has_nested_break(E)){let N=G[0]===Me?G[1]:G[0];let $=Me.expression&&statement(Me.expression);if(aborts(G[0])){let j=G[0];if(is_break(j.body[j.body.length-1],R)){j.body.pop()}return make_node(Vt,E,{condition:make_node(En,E,{operator:"===",left:E.expression,right:N.expression}),body:make_node(ht,N,{body:N.body}),alternative:make_node(ht,Me,{body:[].concat($||[],Me.body)})}).optimize(R)}let j="===";let q=make_node(ht,N,{body:N.body});let ie=make_node(ht,Me,{body:[].concat($||[],Me.body)});if(G[0]===Me){j="!==";let E=ie;ie=q;q=E}return make_node(ht,E,{body:[make_node(Vt,E,{condition:make_node(En,E,{operator:j,left:E.expression,right:N.expression}),body:q,alternative:null})].concat(ie)}).optimize(R)}return E;function eliminate_branch(E,N){if(N&&!aborts(N)){N.body=N.body.concat(E.body)}else{trim_unreachable_code(R,E,q)}}function branches_equivalent(E,R,N){let $=E.body;let j=R.body;if(N){$=$.concat(make_node(qt))}if($.length!==j.length)return false;let q=make_node(ht,E,{body:$});let G=make_node(ht,R,{body:j});return q.equivalent_to(G)}function statement(E){return make_node(dt,E,{body:E})}function has_nested_break(E){let R=false;let N=new TreeWalker((E=>{if(R)return true;if(E instanceof Mt)return true;if(E instanceof dt)return true;if(!is_break(E,N))return;let $=N.parent();if($ instanceof Qt&&$.body[$.body.length-1]===E){return}R=true}));E.walk(N);return R}function is_break(R,N){return R instanceof qt&&N.loopcontrol_target(R)===E}function is_inert_body(E){return!aborts(E)&&!make_node(ht,E,{body:E.body}).has_side_effects(R)}}));def_optimize(Yt,(function(E,R){tighten_body(E.body,R);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(R.option("dead_code")&&E.body.every(is_empty)){var N=[];if(E.bcatch){trim_unreachable_code(R,E.bcatch,N)}if(E.bfinally)N.push(...E.bfinally.body);return make_node(ht,E,{body:N}).optimize(R)}return E}));tn.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(R){if(R.name instanceof Gn){R.value=null;E.push(R)}else{walk(R.name,(N=>{if(N instanceof Gn){E.push(make_node(on,R,{name:N,value:null}))}}))}}));this.definitions=E}));tn.DEFMETHOD("to_assignments",(function(E){var R=E.option("reduce_vars");var N=[];for(const E of this.definitions){if(E.value){var $=make_node(ar,E.name,E.name);N.push(make_node(Sn,E,{operator:"=",logical:false,left:$,right:E.value}));if(R)$.definition().fixed=false}else if(E.value){var j=make_node(on,E,{name:E.name,value:E.value});var q=make_node(nn,E,{definitions:[j]});N.push(q)}const G=E.name.definition();G.eliminated++;G.replaced--}if(N.length==0)return null;return make_sequence(this,N)}));def_optimize(tn,(function(E){if(E.definitions.length==0)return make_node(mt,E);return E}));def_optimize(on,(function(E,R){if(E.name instanceof Kn&&E.value!=null&&is_undefined(E.value,R)){E.value=null}return E}));def_optimize(ln,(function(E){return E}));function retain_top_func(E,R){return R.top_retain&&E instanceof Tt&&has_flag(E,Xr)&&E.name&&R.top_retain(E.name)}def_optimize(pn,(function(E,R){var N=E.expression;var $=N;inline_array_like_spread(E.args);var j=E.args.every((E=>!(E instanceof Dt)));if(R.option("reduce_vars")&&$ instanceof ar&&!has_annotation(E,Ir)){const E=$.fixed_value();if(!retain_top_func(E,R)){$=E}}var q=$ instanceof Mt;if(q&&$.pinned())return E;if(R.option("unused")&&j&&q&&!$.uses_arguments){var G=0,ie=0;for(var ae=0,le=E.args.length;ae=$.argnames.length;if(Ee||has_flag($.argnames[ae],qr)){var _e=E.args[ae].drop_side_effect_free(R);if(_e){E.args[G++]=_e}else if(!Ee){E.args[G++]=make_node(mr,E.args[ae],{value:0});continue}}else{E.args[G++]=E.args[ae]}ie=G}E.args.length=ie}if(R.option("unsafe")){if(N instanceof gn&&N.start.value==="Array"&&N.property==="from"&&E.args.length===1){const[N]=E.args;if(N instanceof Cn){return make_node(Cn,N,{elements:N.elements}).optimize(R)}}if(is_undeclared_ref(N))switch(N.name){case"Array":if(E.args.length!=1){return make_node(Cn,E,{elements:E.args}).optimize(R)}else if(E.args[0]instanceof mr&&E.args[0].value<=11){const R=[];for(let N=0;N=1&&E.args.length<=2&&E.args.every((E=>{var N=E.evaluate(R);we.push(N);return E!==N}))){let[N,$]=we;N=regexp_source_fix(new RegExp(N).source);const j=make_node(yr,E,{value:{source:N,flags:$}});if(j._eval(R)!==j){return j}}break}else if(N instanceof gn)switch(N.property){case"toString":if(E.args.length==0&&!N.expression.may_throw_on_access(R)){return make_node(En,E,{left:make_node(hr,E,{value:""}),operator:"+",right:N.expression}).optimize(R)}break;case"join":if(N.expression instanceof Cn)e:{var Me;if(E.args.length>0){Me=E.args[0].evaluate(R);if(Me===E.args[0])break e}var Ie=[];var Te=[];for(var ae=0,le=N.expression.elements.length;ae0){Ie.push(make_node(hr,E,{value:Te.join(Me)}));Te.length=0}Ie.push(Ne)}}if(Te.length>0){Ie.push(make_node(hr,E,{value:Te.join(Me)}))}if(Ie.length==0)return make_node(hr,E,{value:""});if(Ie.length==1){if(Ie[0].is_string(R)){return Ie[0]}return make_node(En,Ie[0],{operator:"+",left:make_node(hr,E,{value:""}),right:Ie[0]})}if(Me==""){var Le;if(Ie[0].is_string(R)||Ie[1].is_string(R)){Le=Ie.shift()}else{Le=make_node(hr,E,{value:""})}return Ie.reduce((function(E,R){return make_node(En,R,{operator:"+",left:E,right:R})}),Le).optimize(R)}var _e=E.clone();_e.expression=_e.expression.clone();_e.expression.expression=_e.expression.expression.clone();_e.expression.expression.elements=Ie;return best_of(R,E,_e)}break;case"charAt":if(N.expression.is_string(R)){var je=E.args[0];var ze=je?je.evaluate(R):0;if(ze!==je){return make_node(vn,N,{expression:N.expression,property:make_node_from_constant(ze|0,je||N)}).optimize(R)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof Cn){var Ue=E.args[1].elements.slice();Ue.unshift(E.args[0]);return make_node(pn,E,{expression:make_node(gn,N,{expression:N.expression,optional:false,property:"call"}),args:Ue}).optimize(R)}break;case"call":var qe=N.expression;if(qe instanceof ar){qe=qe.fixed_value()}if(qe instanceof Mt&&!qe.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(pn,E,{expression:N.expression,args:E.args.slice(1)})]):make_node(pn,E,{expression:N.expression,args:[]})).optimize(R)}break}}if(R.option("unsafe_Function")&&is_undeclared_ref(N)&&N.name=="Function"){if(E.args.length==0)return make_node(Pt,E,{argnames:[],body:[]}).optimize(R);var Ge=R.mangle_options&&R.mangle_options.nth_identifier||jr;if(E.args.every((E=>E instanceof hr))){try{var He="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var We=parse(He);var Ve={ie8:R.option("ie8"),nth_identifier:Ge};We.figure_out_scope(Ve);var Ke=new Compressor(R.options,{mangle_options:R.mangle_options});We=We.transform(Ke);We.figure_out_scope(Ve);We.compute_char_frequency(Ve);We.mangle_names(Ve);var Qe;walk(We,(E=>{if(is_func_expr(E)){Qe=E;return Cr}}));var He=OutputStream();ht.prototype._codegen.call(Qe,Qe,He);E.args=[make_node(hr,E,{value:Qe.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(hr,E.args[E.args.length-1],{value:He.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Je=q&&$.body[0];var Xe=q&&!$.is_generator&&!$.async;var Ye=Xe&&R.option("inline")&&!E.is_callee_pure(R);if(Ye&&Je instanceof jt){let N=Je.value;if(!N||N.is_constant_expression()){if(N){N=N.clone(true)}else{N=make_node(kr,E)}const $=E.args.concat(N);return make_sequence(E,$).optimize(R)}if($.argnames.length===1&&$.argnames[0]instanceof Qn&&E.args.length<2&&N instanceof ar&&N.name===$.argnames[0].name){const N=(E.args[0]||make_node(kr)).optimize(R);let $;if(N instanceof mn&&($=R.parent())instanceof pn&&$.expression===E){return make_sequence(E,[make_node(mr,E,{value:0}),N])}return N}}if(Ye){var Ze,et,tt=-1;let q;let G;let ie;if(j&&!$.uses_arguments&&!(R.parent()instanceof Bn)&&!($.name&&$ instanceof Pt)&&(G=can_flatten_body(Je))&&(N===$||has_annotation(E,Mr)||R.option("unused")&&(q=N.definition()).references.length==1&&!is_recursive_ref(R,q)&&$.is_constant_expression(N.scope))&&!has_annotation(E,Dr|Ir)&&!$.contains_this()&&can_inject_symbols()&&(ie=find_scope(R))&&!scope_encloses_variables_in_this_scope(ie,$)&&!function in_default_assign(){let E=0;let N;while(N=R.parent(E++)){if(N instanceof An)return true;if(N instanceof ft)break}return false}()&&!(Ze instanceof Bn)){set_flag($,Qr);ie.add_child_scope($);return make_sequence(E,flatten_fn(G)).optimize(R)}}if(Ye&&has_annotation(E,Mr)){set_flag($,Qr);$=make_node($.CTOR===Tt?Pt:$.CTOR,$,$);$=$.clone(true);$.figure_out_scope({},{parent_scope:find_scope(R),toplevel:R.get_toplevel()});return make_node(pn,E,{expression:$,args:E.args}).optimize(R)}const nt=Xe&&R.option("side_effects")&&$.body.every(is_empty);if(nt){var Ue=E.args.concat(make_node(kr,E));return make_sequence(E,Ue).optimize(R)}if(R.option("negate_iife")&&R.parent()instanceof dt&&is_iife_call(E)){return E.negate(R,true)}var rt=E.evaluate(R);if(rt!==E){rt=make_node_from_constant(rt,E).optimize(R);return best_of(R,rt,E)}return E;function return_value(R){if(!R)return make_node(kr,E);if(R instanceof jt){if(!R.value)return make_node(kr,E);return R.value.clone(true)}if(R instanceof dt){return make_node(kn,R,{operator:"void",expression:R.body.clone(true)})}}function can_flatten_body(E){var N=$.body;var j=N.length;if(R.option("inline")<3){return j==1&&return_value(E)}E=null;for(var q=0;q!E.value))){return false}}else if(E){return false}else if(!(G instanceof mt)){E=G}}return return_value(E)}function can_inject_args(E,R){for(var N=0,j=$.argnames.length;N=0;){var ie=q.definitions[G].name;if(ie instanceof Rt||E.has(ie.name)||Ur.has(ie.name)||Ze.conflicting_def(ie.name)){return false}if(et)et.push(ie.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Ze=R.parent(++tt);if(Ze.is_block_scope()&&Ze.block_scope){Ze.block_scope.variables.forEach((function(R){E.add(R.name)}))}if(Ze instanceof Zt){if(Ze.argname){E.add(Ze.argname.name)}}else if(Ze instanceof vt){et=[]}else if(Ze instanceof ar){if(Ze.fixed_value()instanceof At)return false}}while(!(Ze instanceof At));var N=!(Ze instanceof Ct)||R.toplevel.vars;var j=R.option("inline");if(!can_inject_vars(E,j>=3&&N))return false;if(!can_inject_args(E,j>=2&&N))return false;return!et||et.length==0||!is_reachable($,et)}function append_var(R,N,$,j){var q=$.definition();const G=Ze.variables.has($.name);if(!G){Ze.variables.set($.name,q);Ze.enclosed.push(q);R.push(make_node(on,$,{name:$,value:null}))}var ie=make_node(ar,$,$);q.references.push(ie);if(j)N.push(make_node(Sn,E,{operator:"=",logical:false,left:ie,right:j.clone()}))}function flatten_args(R,N){var j=$.argnames.length;for(var q=E.args.length;--q>=j;){N.push(E.args[q])}for(q=j;--q>=0;){var G=$.argnames[q];var ie=E.args[q];if(has_flag(G,qr)||!G.name||Ze.conflicting_def(G.name)){if(ie)N.push(ie)}else{var ae=make_node(Hn,G,G);G.definition().orig.push(ae);if(!ie&&et)ie=make_node(kr,E);append_var(R,N,ae,ie)}}R.reverse();N.reverse()}function flatten_vars(E,R){var N=R.length;for(var j=0,q=$.body.length;jE.name!=_e.name))){var Ee=$.variables.get(_e.name);var we=make_node(ar,_e,_e);Ee.references.push(we);R.splice(N++,0,make_node(Sn,le,{operator:"=",logical:false,left:we,right:make_node(kr,_e)}))}}}}function flatten_fn(E){var N=[];var j=[];flatten_args(N,j);flatten_vars(N,j);j.push(E);if(N.length){const E=Ze.body.indexOf(R.parent(tt-1))+1;Ze.body.splice(E,0,make_node(nn,$,{definitions:N}))}return j.map((E=>E.clone(true)))}}));def_optimize(dn,(function(E,R){if(R.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(pn,E,E).transform(R);return E}));def_optimize(hn,(function(E,R){if(!R.option("side_effects"))return E;var N=[];filter_for_side_effects();var $=N.length-1;trim_right_for_undefined();if($==0){E=maintain_this_binding(R.parent(),R.self(),N[0]);if(!(E instanceof hn))E=E.optimize(R);return E}E.expressions=N;return E;function filter_for_side_effects(){var $=first_in_statement(R);var j=E.expressions.length-1;E.expressions.forEach((function(E,q){if(q0&&is_undefined(N[$],R))$--;if($0){var N=this.clone();N.right=make_sequence(this.right,R.slice(q));R=R.slice(0,q);R.push(N);return make_sequence(this,R).optimize(E)}}}return this}));var _s=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof Cn||E instanceof Mt||E instanceof Dn||E instanceof Bn}def_optimize(En,(function(E,R){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(R)&&!E.right.has_side_effects(R)}function reverse(R){if(reversible()){if(R)E.operator=R;var N=E.left;E.left=E.right;E.right=N}}if(_s.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof En&&nt[E.left.operator]>=nt[E.operator])){reverse()}}}E=E.lift_sequences(R);if(R.option("comparisons"))switch(E.operator){case"===":case"!==":var N=true;if(E.left.is_string(R)&&E.right.is_string(R)||E.left.is_number(R)&&E.right.is_number(R)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!N&&is_undefined(E.left,R)){E.left=make_node(br,E.left)}else if(R.option("typeofs")&&E.left instanceof hr&&E.left.value=="undefined"&&E.right instanceof kn&&E.right.operator=="typeof"){var $=E.right.expression;if($ instanceof ar?$.is_declared(R):!($ instanceof mn&&R.option("ie8"))){E.right=$;E.left=make_node(kr,E.left).optimize(R);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof ar&&E.right instanceof ar&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?Ar:Sr,E)}break;case"&&":case"||":var j=E.left;if(j.operator==E.operator){j=j.right}if(j instanceof En&&j.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof En&&j.operator==E.right.operator&&(is_undefined(j.left,R)&&E.right.left instanceof br||j.left instanceof br&&is_undefined(E.right.left,R))&&!j.right.has_side_effects(R)&&j.right.equivalent_to(E.right.right)){var q=make_node(En,E,{operator:j.operator.slice(0,-1),left:make_node(br,E),right:j.right});if(j!==E.left){q=make_node(En,E,{operator:E.operator,left:E.left.left,right:q})}return q}break}if(E.operator=="+"&&R.in_boolean_context()){var G=E.left.evaluate(R);var ie=E.right.evaluate(R);if(G&&typeof G=="string"){return make_sequence(E,[E.right,make_node(Ar,E)]).optimize(R)}if(ie&&typeof ie=="string"){return make_sequence(E,[E.left,make_node(Ar,E)]).optimize(R)}}if(R.option("comparisons")&&E.is_boolean()){if(!(R.parent()instanceof En)||R.parent()instanceof Sn){var ae=make_node(kn,E,{operator:"!",expression:E.negate(R,first_in_statement(R))});E=best_of(R,E,ae)}if(R.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof hr&&E.right.getValue()==""&&E.left.is_string(R)){return E.left}if(E.left instanceof hr&&E.left.getValue()==""&&E.right.is_string(R)){return E.right}if(E.left instanceof En&&E.left.operator=="+"&&E.left.left instanceof hr&&E.left.left.getValue()==""&&E.right.is_string(R)){E.left=E.left.right;return E}}if(R.option("evaluate")){switch(E.operator){case"&&":var G=has_flag(E.left,Gr)?true:has_flag(E.left,Hr)?false:E.left.evaluate(R);if(!G){return maintain_this_binding(R.parent(),R.self(),E.left).optimize(R)}else if(!(G instanceof lt)){return make_sequence(E,[E.left,E.right]).optimize(R)}var ie=E.right.evaluate(R);if(!ie){if(R.in_boolean_context()){return make_sequence(E,[E.left,make_node(Sr,E)]).optimize(R)}else{set_flag(E,Hr)}}else if(!(ie instanceof lt)){var le=R.parent();if(le.operator=="&&"&&le.left===R.self()||R.in_boolean_context()){return E.left.optimize(R)}}if(E.left.operator=="||"){var _e=E.left.right.evaluate(R);if(!_e)return make_node(wn,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(R)}break;case"||":var G=has_flag(E.left,Gr)?true:has_flag(E.left,Hr)?false:E.left.evaluate(R);if(!G){return make_sequence(E,[E.left,E.right]).optimize(R)}else if(!(G instanceof lt)){return maintain_this_binding(R.parent(),R.self(),E.left).optimize(R)}var ie=E.right.evaluate(R);if(!ie){var le=R.parent();if(le.operator=="||"&&le.left===R.self()||R.in_boolean_context()){return E.left.optimize(R)}}else if(!(ie instanceof lt)){if(R.in_boolean_context()){return make_sequence(E,[E.left,make_node(Ar,E)]).optimize(R)}else{set_flag(E,Gr)}}if(E.left.operator=="&&"){var _e=E.left.right.evaluate(R);if(_e&&!(_e instanceof lt))return make_node(wn,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(R)}break;case"??":if(is_nullish(E.left,R)){return E.right}var G=E.left.evaluate(R);if(!(G instanceof lt)){return G==null?E.right:E.left}if(R.in_boolean_context()){const N=E.right.evaluate(R);if(!(N instanceof lt)&&!N){return E.left}}}var Ee=true;switch(E.operator){case"+":if(E.right instanceof fr&&E.left instanceof En&&E.left.operator=="+"&&E.left.is_string(R)){var we=make_node(En,E,{operator:"+",left:E.left.right,right:E.right});var Me=we.optimize(R);if(we!==Me){E=make_node(En,E,{operator:"+",left:E.left.left,right:Me})}}if(E.left instanceof En&&E.left.operator=="+"&&E.left.is_string(R)&&E.right instanceof En&&E.right.operator=="+"&&E.right.is_string(R)){var we=make_node(En,E,{operator:"+",left:E.left.right,right:E.right.left});var Ie=we.optimize(R);if(we!==Ie){E=make_node(En,E,{operator:"+",left:make_node(En,E.left,{operator:"+",left:E.left.left,right:Ie}),right:E.right.right})}}if(E.right instanceof kn&&E.right.operator=="-"&&E.left.is_number(R)){E=make_node(En,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof kn&&E.left.operator=="-"&&reversible()&&E.right.is_number(R)){E=make_node(En,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Nt){var Te=E.left;var Me=E.right.evaluate(R);if(Me!=E.right){Te.segments[Te.segments.length-1].value+=String(Me);return Te}}if(E.right instanceof Nt){var Me=E.right;var Te=E.left.evaluate(R);if(Te!=E.left){Me.segments[0].value=String(Te)+Me.segments[0].value;return Me}}if(E.left instanceof Nt&&E.right instanceof Nt){var Te=E.left;var Ne=Te.segments;var Me=E.right;Ne[Ne.length-1].value+=Me.segments[0].value;for(var Be=1;Be=nt[E.operator])){var Le=make_node(En,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof fr&&!(E.left instanceof fr)){E=best_of(R,Le,E)}else{E=best_of(R,E,Le)}}if(Ee&&E.is_number(R)){if(E.right instanceof En&&E.right.operator==E.operator){E=make_node(En,E,{operator:E.operator,left:make_node(En,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof fr&&E.left instanceof En&&E.left.operator==E.operator){if(E.left.left instanceof fr){E=make_node(En,E,{operator:E.operator,left:make_node(En,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof fr){E=make_node(En,E,{operator:E.operator,left:make_node(En,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof En&&E.left.operator==E.operator&&E.left.right instanceof fr&&E.right instanceof En&&E.right.operator==E.operator&&E.right.left instanceof fr){E=make_node(En,E,{operator:E.operator,left:make_node(En,E.left,{operator:E.operator,left:make_node(En,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof En&&E.right.operator==E.operator&&(ss.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(R)||E.left.is_string(R)&&E.right.right.is_string(R)))){E.left=make_node(En,E.left,{operator:E.operator,left:E.left.transform(R),right:E.right.left.transform(R)});E.right=E.right.right.transform(R);return E.transform(R)}var je=E.evaluate(R);if(je!==E){je=make_node_from_constant(je,E).optimize(R);return best_of(R,je,E)}return E}));def_optimize(lr,(function(E){return E}));function within_array_or_object_literal(E){var R,N=0;while(R=E.parent(N++)){if(R instanceof ct)return false;if(R instanceof Cn||R instanceof In||R instanceof Dn){return true}}return false}def_optimize(ar,(function(E,R){if(!R.option("ie8")&&is_undeclared_ref(E)&&!R.find_parent(St)){switch(E.name){case"undefined":return make_node(kr,E).optimize(R);case"NaN":return make_node(_r,E).optimize(R);case"Infinity":return make_node(Er,E).optimize(R)}}const N=R.parent();if(R.option("reduce_vars")&&is_lhs(E,N)!==E){const q=E.definition();const G=find_scope(R);if(R.top_retain&&q.global&&R.top_retain(q)){q.fixed=false;q.single_use=false;return E}let ie=E.fixed_value();let ae=q.single_use&&!(N instanceof pn&&N.is_callee_pure(R)||has_annotation(N,Ir))&&!(N instanceof un&&ie instanceof Mt&&ie.name);if(ae&&ie instanceof lt){ae=!ie.has_side_effects(R)&&!ie.may_throw(R)}if(ae&&(ie instanceof Mt||ie instanceof Bn)){if(retain_top_func(ie,R)){ae=false}else if(q.scope!==E.scope&&(q.escaped==1||has_flag(ie,Vr)||within_array_or_object_literal(R)||!R.option("reduce_funcs"))){ae=false}else if(is_recursive_ref(R,q)){ae=false}else if(q.scope!==E.scope||q.orig[0]instanceof Qn){ae=ie.is_constant_expression(E.scope);if(ae=="f"){var $=E.scope;do{if($ instanceof Tt||is_func_expr($)){set_flag($,Vr)}}while($=$.parent_scope)}}}if(ae&&ie instanceof Mt){ae=q.scope===E.scope&&!scope_encloses_variables_in_this_scope(G,ie)||N instanceof pn&&N.expression===E&&!scope_encloses_variables_in_this_scope(G,ie)&&!(ie.name&&ie.name.definition().recursive_refs>0)}if(ae&&ie){if(ie instanceof jn){set_flag(ie,Qr);ie=make_node(zn,ie,ie)}if(ie instanceof Tt){set_flag(ie,Qr);ie=make_node(Pt,ie,ie)}if(q.recursive_refs>0&&ie.name instanceof Jn){const E=ie.name.definition();let R=ie.variables.get(ie.name.name);let N=R&&R.orig[0];if(!(N instanceof Zn)){N=make_node(Zn,ie.name,ie.name);N.scope=ie;ie.name=N;R=ie.def_function(N)}walk(ie,(N=>{if(N instanceof ar&&N.definition()===E){N.thedef=R;R.references.push(N)}}))}if((ie instanceof Mt||ie instanceof Bn)&&ie.parent_scope!==G){ie=ie.clone(true,R.get_toplevel());G.add_child_scope(ie)}return ie.optimize(R)}if(ie){let N;if(ie instanceof pr){if(!(q.orig[0]instanceof Qn)&&q.references.every((E=>q.scope===E.scope))){N=ie}}else{var j=ie.evaluate(R);if(j!==ie&&(R.option("unsafe_regexp")||!(j instanceof RegExp))){N=make_node_from_constant(j,ie)}}if(N){const $=E.size(R);const j=N.size(R);let G=0;if(R.option("unused")&&!R.exposed(q)){G=($+2+j)/(q.references.length-q.assignments)}if(j<=$+G){return N}}}}return E}));function scope_encloses_variables_in_this_scope(E,R){for(const N of R.enclosed){if(R.variables.has(N.name)){continue}const $=E.find_variable(N.name);if($){if($===N)continue;return true}}return false}function is_atomic(E,R){return E instanceof ar||E.TYPE===R.TYPE}def_optimize(kr,(function(E,R){if(R.option("unsafe_undefined")){var N=find_variable(R,"undefined");if(N){var $=make_node(ar,E,{name:"undefined",scope:N.scope,thedef:N});set_flag($,Wr);return $}}var j=is_lhs(R.self(),R.parent());if(j&&is_atomic(j,E))return E;return make_node(kn,E,{operator:"void",expression:make_node(mr,E,{value:0})})}));def_optimize(Er,(function(E,R){var N=is_lhs(R.self(),R.parent());if(N&&is_atomic(N,E))return E;if(R.option("keep_infinity")&&!(N&&!is_atomic(N,E))&&!find_variable(R,"Infinity")){return E}return make_node(En,E,{operator:"/",left:make_node(mr,E,{value:1}),right:make_node(mr,E,{value:0})})}));def_optimize(_r,(function(E,R){var N=is_lhs(R.self(),R.parent());if(N&&!is_atomic(N,E)||find_variable(R,"NaN")){return make_node(En,E,{operator:"/",left:make_node(mr,E,{value:0}),right:make_node(mr,E,{value:0})})}return E}));function is_reachable(E,R){const find_ref=E=>{if(E instanceof ar&&member(E.definition(),R)){return Cr}};return walk_parent(E,((R,N)=>{if(R instanceof At&&R!==E){var $=N.parent();if($ instanceof pn&&$.expression===R&&!(R.async||R.is_generator)){return}if(walk(R,find_ref))return Cr;return true}}))}const ks=makePredicate("+ - / * % >> << >>> | ^ &");const xs=makePredicate("* | ^ &");def_optimize(Sn,(function(E,R){if(E.logical){return E.lift_sequences(R)}var N;if(R.option("dead_code")&&E.left instanceof ar&&(N=E.left.definition()).scope===R.find_parent(Mt)){var $=0,j,q=E;do{j=q;q=R.parent($++);if(q instanceof $t){if(in_try($,q))break;if(is_reachable(N.scope,[N]))break;if(E.operator=="=")return E.right;N.fixed=false;return make_node(En,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(R)}}while(q instanceof En&&q.right===j||q instanceof hn&&q.tail_node()===j)}E=E.lift_sequences(R);if(E.operator=="="&&E.left instanceof ar&&E.right instanceof En){if(E.right.left instanceof ar&&E.right.left.name==E.left.name&&ks.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof ar&&E.right.right.name==E.left.name&&xs.has(E.right.operator)&&!E.right.left.has_side_effects(R)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(N,$){var j=E.right;E.right=make_node(br,j);var q=$.may_throw(R);E.right=j;var G=E.left.definition().scope;var ie;while((ie=R.parent(N++))!==G){if(ie instanceof Yt){if(ie.bfinally)return true;if(q&&ie.bcatch)return true}}}}));def_optimize(An,(function(E,R){if(!R.option("evaluate")){return E}var N=E.right.evaluate(R);if(N===undefined){E=E.left}else if(N!==E.right){N=make_node_from_constant(N,E.right);E.right=best_of_expression(N,E.right)}return E}));function is_nullish_check(E,R,N){if(R.may_throw(N))return false;let $;if(E instanceof En&&E.operator==="=="&&(($=is_nullish(E.left,N)&&E.left)||($=is_nullish(E.right,N)&&E.right))&&($===E.left?E.right:E.left).equivalent_to(R)){return true}if(E instanceof En&&E.operator==="||"){let $;let j;const find_comparison=E=>{if(!(E instanceof En&&(E.operator==="==="||E.operator==="=="))){return false}let q=0;let G;if(E.left instanceof br){q++;$=E;G=E.right}if(E.right instanceof br){q++;$=E;G=E.left}if(is_undefined(E.left,N)){q++;j=E;G=E.right}if(is_undefined(E.right,N)){q++;j=E;G=E.left}if(q!==1){return false}if(!G.equivalent_to(R)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if($&&j&&$!==j){return true}}return false}def_optimize(wn,(function(E,R){if(!R.option("conditionals"))return E;if(E.condition instanceof hn){var N=E.condition.expressions.slice();E.condition=N.pop();N.push(E);return make_sequence(E,N)}var $=E.condition.evaluate(R);if($!==E.condition){if($){return maintain_this_binding(R.parent(),R.self(),E.consequent)}else{return maintain_this_binding(R.parent(),R.self(),E.alternative)}}var j=$.negate(R,first_in_statement(R));if(best_of(R,$,j)===j){E=make_node(wn,E,{condition:j,consequent:E.alternative,alternative:E.consequent})}var q=E.condition;var G=E.consequent;var ie=E.alternative;if(q instanceof ar&&G instanceof ar&&q.definition()===G.definition()){return make_node(En,E,{operator:"||",left:q,right:ie})}if(G instanceof Sn&&ie instanceof Sn&&G.operator===ie.operator&&G.logical===ie.logical&&G.left.equivalent_to(ie.left)&&(!E.condition.has_side_effects(R)||G.operator=="="&&!G.left.has_side_effects(R))){return make_node(Sn,E,{operator:G.operator,left:G.left,logical:G.logical,right:make_node(wn,E,{condition:E.condition,consequent:G.right,alternative:ie.right})})}var ae;if(G instanceof pn&&ie.TYPE===G.TYPE&&G.args.length>0&&G.args.length==ie.args.length&&G.expression.equivalent_to(ie.expression)&&!E.condition.has_side_effects(R)&&!G.expression.has_side_effects(R)&&typeof(ae=single_arg_diff())=="number"){var le=G.clone();le.args[ae]=make_node(wn,E,{condition:E.condition,consequent:G.args[ae],alternative:ie.args[ae]});return le}if(ie instanceof wn&&G.equivalent_to(ie.consequent)){return make_node(wn,E,{condition:make_node(En,E,{operator:"||",left:q,right:ie.condition}),consequent:G,alternative:ie.alternative}).optimize(R)}if(R.option("ecma")>=2020&&is_nullish_check(q,ie,R)){return make_node(En,E,{operator:"??",left:ie,right:G}).optimize(R)}if(ie instanceof hn&&G.equivalent_to(ie.expressions[ie.expressions.length-1])){return make_sequence(E,[make_node(En,E,{operator:"||",left:q,right:make_sequence(E,ie.expressions.slice(0,-1))}),G]).optimize(R)}if(ie instanceof En&&ie.operator=="&&"&&G.equivalent_to(ie.right)){return make_node(En,E,{operator:"&&",left:make_node(En,E,{operator:"||",left:q,right:ie.left}),right:G}).optimize(R)}if(G instanceof wn&&G.alternative.equivalent_to(ie)){return make_node(wn,E,{condition:make_node(En,E,{left:E.condition,operator:"&&",right:G.condition}),consequent:G.consequent,alternative:ie})}if(G.equivalent_to(ie)){return make_sequence(E,[E.condition,G]).optimize(R)}if(G instanceof En&&G.operator=="||"&&G.right.equivalent_to(ie)){return make_node(En,E,{operator:"||",left:make_node(En,E,{operator:"&&",left:E.condition,right:G.left}),right:ie}).optimize(R)}const _e=R.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(En,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(R))}return make_node(En,E,{operator:"&&",left:booleanize(E.condition.negate(R)),right:E.alternative})}if(is_true(E.alternative)){return make_node(En,E,{operator:"||",left:booleanize(E.condition.negate(R)),right:E.consequent})}if(is_false(E.alternative)){return make_node(En,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(kn,E,{operator:"!",expression:E.negate(R)})}function is_true(E){return E instanceof Ar||_e&&E instanceof fr&&E.getValue()||E instanceof kn&&E.operator=="!"&&E.expression instanceof fr&&!E.expression.getValue()}function is_false(E){return E instanceof Sr||_e&&E instanceof fr&&!E.getValue()||E instanceof kn&&E.operator=="!"&&E.expression instanceof fr&&E.expression.getValue()}function single_arg_diff(){var E=G.args;var R=ie.args;for(var N=0,$=E.length;N<$;N++){if(E[N]instanceof Dt)return;if(!E[N].equivalent_to(R[N])){if(R[N]instanceof Dt)return;for(var j=N+1;j<$;j++){if(E[j]instanceof Dt)return;if(!E[j].equivalent_to(R[j]))return}return N}}}}));def_optimize(wr,(function(E,R){if(R.in_boolean_context())return make_node(mr,E,{value:+E.value});var N=R.parent();if(R.option("booleans_as_integers")){if(N instanceof En&&(N.operator=="==="||N.operator=="!==")){N.operator=N.operator.replace(/=$/,"")}return make_node(mr,E,{value:+E.value})}if(R.option("booleans")){if(N instanceof En&&(N.operator=="=="||N.operator=="!=")){return make_node(mr,E,{value:+E.value})}return make_node(kn,E,{operator:"!",expression:make_node(mr,E,{value:1-E.value})})}return E}));function safe_to_flatten(E,R){if(E instanceof ar){E=E.fixed_value()}if(!E)return false;if(!(E instanceof Mt||E instanceof Bn))return true;if(!(E instanceof Mt&&E.contains_this()))return true;return R.parent()instanceof dn}mn.DEFMETHOD("flatten_object",(function(E,R){if(!R.option("properties"))return;if(E==="__proto__")return;var N=R.option("unsafe_arrows")&&R.option("ecma")>=2015;var $=this.expression;if($ instanceof Dn){var j=$.properties;for(var q=j.length;--q>=0;){var G=j[q];if(""+(G instanceof Fn?G.key.name:G.key)==E){const E=j.every((E=>(E instanceof In||N&&E instanceof Fn&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(G.value,R))return;return make_node(vn,this,{expression:make_node(Cn,$,{elements:j.map((function(E){var R=E.value;if(R instanceof It){R=make_node(Pt,R,R)}var N=E.key;if(N instanceof lt&&!(N instanceof Xn)){return make_sequence(E,[N,R])}return R}))}),property:make_node(mr,this,{value:q})})}}}}));def_optimize(vn,(function(E,R){var N=E.expression;var $=E.property;if(R.option("properties")){var j=$.evaluate(R);if(j!==$){if(typeof j=="string"){if(j=="undefined"){j=undefined}else{var q=parseFloat(j);if(q.toString()==j){j=q}}}$=E.property=best_of_expression($,make_node_from_constant(j,$).transform(R));var G=""+j;if(is_basic_identifier_string(G)&&G.length<=$.size()+1){return make_node(gn,E,{expression:N,optional:E.optional,property:G,quote:$.quote}).optimize(R)}}}var ie;e:if(R.option("arguments")&&N instanceof ar&&N.name=="arguments"&&N.definition().orig.length==1&&(ie=N.scope)instanceof Mt&&ie.uses_arguments&&!(ie instanceof Ot)&&$ instanceof mr){var ae=$.getValue();var le=new Set;var _e=ie.argnames;for(var Ee=0;Ee<_e.length;Ee++){if(!(_e[Ee]instanceof Qn)){break e}var we=_e[Ee].name;if(le.has(we)){break e}le.add(we)}var Me=ie.argnames[ae];if(Me&&R.has_directive("use strict")){var Ie=Me.definition();if(!R.option("reduce_vars")||Ie.assignments||Ie.orig.length>1){Me=null}}else if(!Me&&!R.option("keep_fargs")&&ae=ie.argnames.length){Me=ie.create_symbol(Qn,{source:ie,scope:ie,tentative_name:"argument_"+ie.argnames.length});ie.argnames.push(Me)}}if(Me){var Te=make_node(ar,E,Me);Te.reference({});clear_flag(Me,qr);return Te}}if(is_lhs(E,R.parent()))return E;if(j!==$){var Ne=E.flatten_object(G,R);if(Ne){N=E.expression=Ne.expression;$=E.property=Ne.property}}if(R.option("properties")&&R.option("side_effects")&&$ instanceof mr&&N instanceof Cn){var ae=$.getValue();var Be=N.elements;var Le=Be[ae];e:if(safe_to_flatten(Le,R)){var je=true;var ze=[];for(var Ue=Be.length;--Ue>ae;){var q=Be[Ue].drop_side_effect_free(R);if(q){ze.unshift(q);if(je&&q.has_side_effects(R))je=false}}if(Le instanceof Dt)break e;Le=Le instanceof xr?make_node(kr,Le):Le;if(!je)ze.unshift(Le);while(--Ue>=0){var q=Be[Ue];if(q instanceof Dt)break e;q=q.drop_side_effect_free(R);if(q)ze.unshift(q);else ae--}if(je){ze.push(Le);return make_sequence(E,ze).optimize(R)}else return make_node(vn,E,{expression:make_node(Cn,N,{elements:ze}),property:make_node(mr,$,{value:ae})})}}var qe=E.evaluate(R);if(qe!==E){qe=make_node_from_constant(qe,E).optimize(R);return best_of(R,qe,E)}return E}));def_optimize(bn,(function(E,R){if(is_nullish(E.expression,R)){let N=R.parent();if(N instanceof kn&&N.operator==="delete"){return make_node_from_constant(0,E)}return make_node(kr,E)}return E}));Mt.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof pr)return Cr;if(E!==this&&E instanceof At&&!(E instanceof Ot)){return true}}))}));def_optimize(gn,(function(E,R){const N=R.parent();if(is_lhs(E,N))return E;if(R.option("unsafe_proto")&&E.expression instanceof gn&&E.expression.property=="prototype"){var $=E.expression.expression;if(is_undeclared_ref($))switch($.name){case"Array":E.expression=make_node(Cn,E.expression,{elements:[]});break;case"Function":E.expression=make_node(Pt,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(mr,E.expression,{value:0});break;case"Object":E.expression=make_node(Dn,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(yr,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(hr,E.expression,{value:""});break}}if(!(N instanceof pn)||!has_annotation(N,Ir)){const N=E.flatten_object(E.property,R);if(N)return N.optimize(R)}let j=E.evaluate(R);if(j!==E){j=make_node_from_constant(j,E).optimize(R);return best_of(R,j,E)}return E}));function literals_in_boolean_context(E,R){if(R.in_boolean_context()){return best_of(R,E,make_sequence(E,[E,make_node(Ar,E)]).optimize(R))}return E}function inline_array_like_spread(E){for(var R=0;RE instanceof xr))){E.splice(R,1,...$.elements);R--}}}}def_optimize(Cn,(function(E,R){var N=literals_in_boolean_context(E,R);if(N!==E){return N}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,R){for(var N=0;NE instanceof In))){E.splice(N,1,...j.properties);N--}else if(j instanceof fr&&!(j instanceof hr)){E.splice(N,1);N--}else if(is_nullish(j,R)){E.splice(N,1);N--}}}}def_optimize(Dn,(function(E,R){var N=literals_in_boolean_context(E,R);if(N!==E){return N}inline_object_prop_spread(E.properties,R);return E}));def_optimize(yr,literals_in_boolean_context);def_optimize(jt,(function(E,R){if(E.value&&is_undefined(E.value,R)){E.value=null}return E}));def_optimize(Ot,opt_AST_Lambda);def_optimize(Pt,(function(E,R){E=opt_AST_Lambda(E,R);if(R.option("unsafe_arrows")&&R.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const N=walk(E,(E=>{if(E instanceof pr)return Cr}));if(!N)return make_node(Ot,E,E).optimize(R)}return E}));def_optimize(Bn,(function(E){return E}));def_optimize(Wt,(function(E,R){if(E.expression&&!E.is_star&&is_undefined(E.expression,R)){E.expression=null}return E}));def_optimize(Nt,(function(E,R){if(!R.option("evaluate")||R.parent()instanceof Ft){return E}var N=[];for(var $=0;$=2015&&(!(N instanceof RegExp)||N.test(E.key+""))){var $=E.key;var j=E.value;var q=j instanceof Ot&&Array.isArray(j.body)&&!j.contains_this();if((q||j instanceof Pt)&&!j.name){return make_node(Fn,E,{async:j.async,is_generator:j.is_generator,key:$ instanceof lt?$:make_node(Xn,E,{name:$}),value:make_node(It,j,j),quote:E.quote})}}return E}));def_optimize(Rt,(function(E,R){if(R.option("pure_getters")==true&&R.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(R)&&!(E.names[E.names.length-1]instanceof Dt)){var N=[];for(var $=0;$Ee.add(E)));var we=!!R.keep_quoted;E.walk(new TreeWalker((function(E){if(E instanceof $n||E instanceof Nn||E instanceof On||E instanceof Pn||E instanceof yn);else if(E instanceof In){if(typeof E.key=="string"&&(!we||!E.quote)){add(E.key)}}else if(E instanceof Mn){if(!we||!E.quote){add(E.key.name)}}else if(E instanceof gn){var N=!!R.undeclared;if(!N){var $=E;while($.expression){$=$.expression}N=!($.thedef&&$.thedef.undeclared)}if(N&&(!we||!E.quote)){add(E.property)}}else if(E instanceof vn){if(!we){addStrings(E.property,add)}}else if(E instanceof pn&&E.expression.print_to_string()=="Object.defineProperty"){addStrings(E.args[1],add)}else if(E instanceof En&&E.operator==="in"){addStrings(E.left,add)}})));return E.transform(new TreeTransformer((function(E){if(E instanceof $n||E instanceof Nn||E instanceof On||E instanceof Pn||E instanceof yn);else if(E instanceof In){if(typeof E.key=="string"&&(!we||!E.quote)){E.key=mangle(E.key)}}else if(E instanceof Mn){if(!we||!E.quote){E.key.name=mangle(E.key.name)}}else if(E instanceof gn){if(!we||!E.quote){E.property=mangle(E.property)}}else if(!we&&E instanceof vn){E.property=mangleStrings(E.property)}else if(E instanceof pn&&E.expression.print_to_string()=="Object.defineProperty"){E.args[1]=mangleStrings(E.args[1])}else if(E instanceof En&&E.operator==="in"){E.left=mangleStrings(E.left)}})));function can_mangle(E){if(Ee.has(E))return false;if(j.has(E))return false;if(R.only_cache){return G.has(E)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(E))return false;return true}function should_mangle(E){if(ie&&!ie.test(E))return false;if(j.has(E))return false;return G.has(E)||_e.has(E)}function add(E){if(can_mangle(E))_e.add(E);if(!should_mangle(E)){Ee.add(E)}}function mangle(E){if(!should_mangle(E)){return E}var R=G.get(E);if(!R){if(ae){var $="_$"+E+"$"+le+"_";if(can_mangle($)){R=$}}if(!R){do{R=N.get(++q)}while(!can_mangle(R))}G.set(E,R)}return R}function mangleStrings(E){return E.transform(new TreeTransformer((function(E){if(E instanceof hn){var R=E.expressions.length-1;E.expressions[R]=mangleStrings(E.expressions[R])}else if(E instanceof hr){E.value=mangle(E.value)}else if(E instanceof wn){E.consequent=mangleStrings(E.consequent);E.alternative=mangleStrings(E.alternative)}return E})))}}var ws=typeof atob=="undefined"?function(E){return Buffer.from(E,"base64").toString()}:atob;var Ss=typeof btoa=="undefined"?function(E){return Buffer.from(E).toString("base64")}:btoa;function read_source_map(E){var R=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(E);if(!R){console.warn("inline source map not found");return null}return ws(R[2])}function set_shorthand(E,R,N){if(R[E]){N.forEach((function(N){if(R[N]){if(typeof R[N]!="object")R[N]={};if(!(E in R[N]))R[N][E]=R[E]}}))}}function init_cache(E){if(!E)return;if(!("props"in E)){E.props=new Map}else if(!(E.props instanceof Map)){E.props=map_from_object(E.props)}}function cache_to_json(E){return{props:map_to_object(E.props)}}async function minify(E,R){R=defaults(R,{compress:{},ecma:undefined,enclose:false,ie8:false,keep_classnames:undefined,keep_fnames:false,mangle:{},module:false,nameCache:null,output:null,format:null,parse:{},rename:undefined,safari10:false,sourceMap:false,spidermonkey:false,timings:false,toplevel:false,warnings:false,wrap:false},true);var N=R.timings&&{start:Date.now()};if(R.keep_classnames===undefined){R.keep_classnames=R.keep_fnames}if(R.rename===undefined){R.rename=R.compress&&R.mangle}if(R.output&&R.format){throw new Error("Please only specify either output or format option, preferrably format.")}R.format=R.format||R.output||{};set_shorthand("ecma",R,["parse","compress","format"]);set_shorthand("ie8",R,["compress","mangle","format"]);set_shorthand("keep_classnames",R,["compress","mangle"]);set_shorthand("keep_fnames",R,["compress","mangle"]);set_shorthand("module",R,["parse","compress","mangle"]);set_shorthand("safari10",R,["mangle","format"]);set_shorthand("toplevel",R,["compress","mangle"]);set_shorthand("warnings",R,["compress"]);var $;if(R.mangle){R.mangle=defaults(R.mangle,{cache:R.nameCache&&(R.nameCache.vars||{}),eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,nth_identifier:jr,properties:false,reserved:[],safari10:false,toplevel:false},true);if(R.mangle.properties){if(typeof R.mangle.properties!="object"){R.mangle.properties={}}if(R.mangle.properties.keep_quoted){$=R.mangle.properties.reserved;if(!Array.isArray($))$=[];R.mangle.properties.reserved=$}if(R.nameCache&&!("cache"in R.mangle.properties)){R.mangle.properties.cache=R.nameCache.props||{}}}init_cache(R.mangle.cache);init_cache(R.mangle.properties.cache)}if(R.sourceMap){R.sourceMap=defaults(R.sourceMap,{asObject:false,content:null,filename:null,includeSources:false,root:null,url:null},true)}if(N)N.parse=Date.now();var j;if(E instanceof Ct){j=E}else{if(typeof E=="string"||R.parse.spidermonkey&&!Array.isArray(E)){E=[E]}R.parse=R.parse||{};R.parse.toplevel=null;if(R.parse.spidermonkey){R.parse.toplevel=lt.from_mozilla_ast(Object.keys(E).reduce((function(R,N){if(!R)return E[N];R.body=R.body.concat(E[N].body);return R}),null))}else{delete R.parse.spidermonkey;for(var q in E)if(HOP(E,q)){R.parse.filename=q;R.parse.toplevel=parse(E[q],R.parse);if(R.sourceMap&&R.sourceMap.content=="inline"){if(Object.keys(E).length>1)throw new Error("inline source map only works with singular input");R.sourceMap.content=read_source_map(E[q])}}}j=R.parse.toplevel}if($&&R.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(j,$)}if(R.wrap){j=j.wrap_commonjs(R.wrap)}if(R.enclose){j=j.wrap_enclose(R.enclose)}if(N)N.rename=Date.now();if(N)N.compress=Date.now();if(R.compress){j=new Compressor(R.compress,{mangle_options:R.mangle}).compress(j)}if(N)N.scope=Date.now();if(R.mangle)j.figure_out_scope(R.mangle);if(N)N.mangle=Date.now();if(R.mangle){j.compute_char_frequency(R.mangle);j.mangle_names(R.mangle);j=mangle_private_properties(j,R.mangle)}if(N)N.properties=Date.now();if(R.mangle&&R.mangle.properties){j=mangle_properties(j,R.mangle.properties)}if(N)N.format=Date.now();var G={};if(R.format.ast){G.ast=j}if(R.format.spidermonkey){G.ast=j.to_mozilla_ast()}if(!HOP(R.format,"code")||R.format.code){if(R.sourceMap){R.format.source_map=await SourceMap({file:R.sourceMap.filename,orig:R.sourceMap.content,root:R.sourceMap.root});if(R.sourceMap.includeSources){if(E instanceof Ct){throw new Error("original source content unavailable")}else for(var q in E)if(HOP(E,q)){R.format.source_map.get().setSourceContent(q,E[q])}}}delete R.format.ast;delete R.format.code;delete R.format.spidermonkey;var ie=OutputStream(R.format);j.print(ie);G.code=ie.get();if(R.sourceMap){if(R.sourceMap.asObject){G.map=R.format.source_map.get().toJSON()}else{G.map=R.format.source_map.toString()}if(R.sourceMap.url=="inline"){var ae=typeof G.map==="object"?JSON.stringify(G.map):G.map;G.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+Ss(ae)}else if(R.sourceMap.url){G.code+="\n//# sourceMappingURL="+R.sourceMap.url}}}if(R.nameCache&&R.mangle){if(R.mangle.cache)R.nameCache.vars=cache_to_json(R.mangle.cache);if(R.mangle.properties&&R.mangle.properties.cache){R.nameCache.props=cache_to_json(R.mangle.properties.cache)}}if(R.format&&R.format.source_map){R.format.source_map.destroy()}if(N){N.end=Date.now();G.timings={parse:.001*(N.rename-N.parse),rename:.001*(N.compress-N.rename),compress:.001*(N.scope-N.compress),scope:.001*(N.mangle-N.scope),mangle:.001*(N.properties-N.mangle),properties:.001*(N.format-N.properties),format:.001*(N.end-N.format),total:.001*(N.end-N.start)}}return G}async function run_cli({program:E,packageJson:R,fs:$,path:j}){const q=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var G={};var ie={compress:false,mangle:false};const ae=await _default_options();E.version(R.name+" "+R.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var R in ae){E.push("--"+(R==="sourceMap"?"source-map":R)+" options:");E.push(format_object(ae[R]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ie=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(R){if(R in E){ie[R]=E[R]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const R=E.ecma|0;if(R>5&&R<2015)ie.ecma=R+2009;else ie.ecma=R}if(E.format||E.beautify){const R=E.format||E.beautify;ie.format=typeof R==="object"?R:{}}if(E.comments){if(typeof ie.format!="object")ie.format={};ie.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ie.compress!="object")ie.compress={};if(typeof ie.compress.global_defs!="object")ie.compress.global_defs={};for(var le in E.define){ie.compress.global_defs[le]=E.define[le]}}if(E.keepClassnames){ie.keep_classnames=true}if(E.keepFnames){ie.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ie.mangle!="object")ie.mangle={};ie.mangle.properties=E.mangleProps}if(E.nameCache){ie.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ie.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ie.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ie.rename=true}else if(!E.rename){ie.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var R=E.sourceMap.base;delete ie.sourceMap.base;return function(E){return j.relative(R,E)}}()}let _e;if(ie.files&&ie.files.length){_e=ie.files;delete ie.files}else if(E.args.length){_e=E.args}if(_e){simple_glob(_e).forEach((function(E){G[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var R=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){R.push(E)})).on("end",(function(){G=[R.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return lt.from_mozilla_ast(Object.keys(G).reduce(E,null))}async function run_cli(){var R=E.sourceMap&&E.sourceMap.content;if(R&&R!=="inline"){ie.sourceMap.content=read_file(R,R)}if(E.timings)ie.timings=true;try{if(E.parse){if(E.parse.acorn){G=convert_ast((function(R,$){return N(20976).parse(G[$],{ecmaVersion:2018,locations:true,program:R,sourceFile:$,sourceType:ie.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){G=convert_ast((function(E,R){var N=JSON.parse(G[R]);if(!E)return N;E.body=E.body.concat(N.body);return E}))}}}catch(E){fatal(E)}let j;try{j=await minify(G,ie)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var ae=E.col;var le=G[E.filename].split(/\r?\n/);var _e=le[E.line-1];if(!_e&&!ae){_e=le[E.line-2];ae=_e.length}if(_e){var Ee=70;if(ae>Ee){_e=_e.slice(ae-Ee);ae=Ee}print_error(_e.slice(0,80));print_error(_e.slice(0,ae).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ie.compress&&!ie.mangle){j.ast.figure_out_scope({})}console.log(JSON.stringify(j.ast,(function(E,R){if(R)switch(E){case"thedef":return symdef(R);case"enclosed":return R.length?R.map(symdef):undefined;case"variables":case"globals":return R.size?collect_from_map(R,symdef):undefined}if(q.has(E))return;if(R instanceof AST_Token)return;if(R instanceof Map)return;if(R instanceof lt){var N={_class:"AST_"+R.TYPE};if(R.block_scope){N.variables=R.block_scope.variables;N.enclosed=R.block_scope.enclosed}R.CTOR.PROPS.forEach((function(E){N[E]=R[E]}));return N}return R}),2))}else if(E.output=="spidermonkey"){try{const E=await minify(j.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){$.writeFileSync(E.output,j.code);if(ie.sourceMap&&ie.sourceMap.url!=="inline"&&j.map){$.writeFileSync(E.output+".map",j.map)}}else{console.log(j.code)}if(E.nameCache){$.writeFileSync(E.nameCache,JSON.stringify(ie.nameCache))}if(j.timings)for(var we in j.timings){print_error("- "+we+": "+j.timings[we].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var R=j.dirname(E);try{var N=$.readdirSync(R)}catch(E){}if(N){var q="^"+j.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var G=process.platform==="win32"?"i":"";var ie=new RegExp(q,G);var ae=N.filter((function(E){return ie.test(E)})).map((function(E){return j.join(R,E)}));if(ae.length)return ae}}return[E]}function read_file(E,R){try{return $.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&R!=null)return R;fatal(E)}}function parse_js(E){return function(R,N){N=N||{};try{walk(parse(R,{expression:true}),(R=>{if(R instanceof Sn){var $=R.left.print_to_string();var j=R.right;if(E){N[$]=j}else if(j instanceof Cn){N[$]=j.elements.map(to_string)}else if(j instanceof yr){j=j.value;N[$]=new RegExp(j.source,j.flags)}else{N[$]=to_string(j)}return true}if(R instanceof Un||R instanceof mn){var $=R.print_to_string();N[$]=true;return true}if(!(R instanceof hn))throw R;function to_string(E){return E instanceof fr?E.getValue():E.print_to_string({quote_keys:true})}}))}catch($){if(E){fatal("Error parsing arguments for '"+E+"': "+R)}else{N[R]=null}}return N}}function symdef(E){var R=1e6+E.id+" "+E.name;if(E.mangled_name)R+=" "+E.mangled_name;return R}function collect_from_map(E,R){var N=[];E.forEach((function(E){N.push(R(E))}));return N}function format_object(E){var R=[];var N="";Object.keys(E).map((function(R){if(N.length!/^\$/.test(E)));if(N.length>0){E.space();E.with_parens((function(){N.forEach((function(R,N){if(N)E.space();E.print(R)}))}))}if(R.documentation){E.space();E.print_string(R.documentation)}if(R.SUBCLASSES.length>0){E.space();E.with_block((function(){R.SUBCLASSES.forEach((function(R){E.indent();doitem(R);E.newline()}))}))}}doitem(lt);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((R=>{const N=infer_options({[R]:{0:0}});if(N)E[R]=N}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},76218:(E,R)=>{"use strict";R.parse=parse,R.init=void 0;const N=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,R="@"){if(!$)return j.then((()=>parse(E)));const q=E.length+1,G=($.__heap_base.value||$.__heap_base)+4*q-$.memory.buffer.byteLength;G>0&&$.memory.grow(Math.ceil(G/65536));const ie=$.sa(q-1);if((N?C:Q)(E,new Uint16Array($.memory.buffer,ie,q)),!$.parse())throw Object.assign(new Error(`Parse error ${R}:${E.slice(0,$.e()).split("\n").length}:${$.e()-E.lastIndexOf("\n",$.e()-1)}`),{idx:$.e()});const ae=[],le=[];for(;$.ri();){const R=$.is(),N=$.ie(),j=$.ai(),q=$.id(),G=$.ss(),ie=$.se();let le;$.ip()&&(le=J(E.slice(-1===q?R-1:R,-1===q?N+1:N))),ae.push({n:le,s:R,e:N,ss:G,se:ie,d:q,a:j})}for(;$.re();){const R=E.slice($.es(),$.ee()),N=R[0];le.push('"'===N||"'"===N?J(R):R)}function J(E){try{return(0,eval)(E)}catch(E){}}return[ae,le,!!$.f()]}function Q(E,R){const N=E.length;let $=0;for(;$>>8}}function C(E,R){const N=E.length;let $=0;for(;$E.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{$=E}));var q;R.init=j},894:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},6680:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},83196:E=>{"use strict";E.exports={i8:"5.1.1"}},29389:E=>{"use strict";E.exports={version:"4.3.0"}},42600:E=>{"use strict";E.exports={i8:"4.3.0"}},66151:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},53765:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76052:E=>{"use strict";E.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false}]')},78864:E=>{"use strict";E.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},74503:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},11519:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},54703:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.10.0","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.20"},"devDependencies":{"@ls-lint/ls-lint":"^1.10.0","astring":"^1.7.5","eslint":"^7.32.0","eslump":"^3.0.0","esm":"^3.2.25","mocha":"^9.1.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.56.3","semver":"^7.3.4"},"peerDependencies":{"acorn":"^8.5.0"},"peerDependenciesMeta":{"acorn":{"optional":true}},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":2020},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},37589:E=>{"use strict";E.exports={i8:"5.62.1"}},46312:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","oneOf":[{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/ExperimentsNormalized"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},87298:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},28991:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},67138:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},39586:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../../lib/util/Hash\')"}]}},"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},8679:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},89408:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},30685:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},43691:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},78061:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},91014:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},93944:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},38279:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},85195:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},78555:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},9659:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},37931:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3484:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},10692:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84638:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},5404:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},52021:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},97295:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')},4147:E=>{"use strict";E.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.34.0","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=4096 node_modules/jest/bin/jest.js","test-coverage":"node --expose-gc --max_old_space_size=4096 node_modules/jest/bin/jest.js --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^3.12.3","@bugsnag/js":"^7.11.0","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^5.7.0","@google-cloud/firestore":"^4.14.0","@sentry/node":"^6.10.0","@slack/web-api":"^6.3.0","@tensorflow/tfjs-node":"^3.12.0","@vercel/webpack-asset-relocator-loader":"1.7.2","analytics-node":"^6.0.0","apollo-server-express":"^2.2.2","arg":"^5.0.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.3","consolidate":"^0.16.0","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^3.0.0","firebase":"^6.1.1","firebase-admin":"^9.11.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^11.8.2","graceful-fs":"^4.1.15","graphql":"^15.5.1","hot-shots":"^8.5.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^27.5.1","jimp":"^0.16.1","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^6.0.0","license-webpack-plugin":"^4.0.2","lighthouse":"^8.1.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","memory-fs":"^0.5.0","mkdirp":"^1.0.4","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^8.4.1","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.5.2","passport-google-oauth":"^2.0.0","path-platform":"^0.11.15","pdfkit":"^0.12.1","pg":"^8.7.1","pug":"^3.0.1","react":"^17.0.2","react-dom":"^17.0.2","redis":"^3.1.1","request":"^2.88.0","rxjs":"^7.3.0","saslprep":"^1.0.2","sequelize":"^6.6.5","sharp":"^0.28.3","shebang-loader":"^0.0.1","socket.io":"^4.1.3","source-map-support":"^0.5.9","stripe":"^8.167.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^9.3.0","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^4.4.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.62.1","when":"^3.7.8"},"resolutions":{"grpc":"1.24.11"}}')}};var __webpack_module_cache__={};function __webpack_require__(E){var R=__webpack_module_cache__[E];if(R!==undefined){return R.exports}var N=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var $=true;try{__webpack_modules__[E].call(N.exports,N,N.exports,__webpack_require__);$=false}finally{if($)delete __webpack_module_cache__[E]}N.loaded=true;return N.exports}(()=>{__webpack_require__.o=(E,R)=>Object.prototype.hasOwnProperty.call(E,R)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(77086);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache index 7e6d7b3960cec9c6010c1dcaf6ec8a2ef6463cb5..e7f5bf54d11ccec5251de7b25fa9d757c83545d6 100644 GIT binary patch literal 2616 zcma);TTC2P7=X{&J&3oNZr zhp6?zCt5IwY19Xjl2{EUYMQ9&l(vaRn>5CUHl~CSA53^L+6T4|;{Ts>c97kg?8#jI z+xh07|C}>ts@a+qu3Efbol?k;$LIfS@DlRJr=OgqwP$F9vaAzmU?NmK#bt^z_?Bk5 z8UUT@!WBYS?3D!E$cd5X@Mbp#5)Jkw)0Z|MRe&6iPo@$hM)G`oaJYA3AT<_`^H_`t zY<$07^^BN!(n$8D;&F`m$XL6%o0CqBPV}e2ZFAP5UuJj5q%MpMr^j>8N@C<++edka zXWhGWbZtY687SeqW2=N(VGUH}vAav}ODbffS0QXatD?u0uib9`rtf>}Hn0Y%j4?0> ziT4ksnhqO7!$TJbhbP8fCY;D|@)FZgaKI^~`%p6>p`FsbN|@>>zNHWnVsNM-p2ZdF zSB_BK2`+pftEK8`12rsqQ%7?IZbW|`F5l{qxY}a`ONojB(nsc46gr@V5Z?pJlTZii zVuBBEN&T}n|H>|WOLH^!(k(#$Ch;pw;H8hSs;j&3BlrS5^|}8CM>|B`>j2dZk@pQn zfTfSjUp1&4m2OCTv>0w%a|cg20L-J38}tdT^yPEYgde<7}$-PTO9i%Ux zJ5da`rB#gE1~AJKV%(NoazY4SJ~vYgHxlKA(1XA{BDtp=GGF1#=S~)K3&*WR*7rCt z-;msSSzqbP=Uym=8U_+rT^kpGyAy(L}z|m(QI>E^E|re&XIU6FbY- zc`X{s3AqG*I-@M{on|i@|I;qRYV6d}&ZJMrH2!w%4mgfL>Q*8f0j?$VldTJtN)sD6btPCSJ5YVF?Bh$dyTFT&N$WxTvi*q)~*Y%5_l7E^C)<`XrIUKj7x(TYwX{+}fmRZ82s`Xf=;>sxwG}XBnysD$ufJ5PzOArhI_wOw z2G>F$#8&r}J8oA5+PCPTYy|@yU+lJ#-6{#Y_66OmA=ja7rMGk${uET@Lqmn)l)?FT zbpvdYa7GQR7ybp{HjKmm0rhwDQRY8k3>*)aGj8k%E#ZgDPMuBAR`o2ovrHSrZ&-}4 nX$;+IT^xshH9Iy!@c)mh3kFUrd@k-0*k`lTiQaw0pnvSbR!!`rScJ%sk0;!7Biean1H>vrDn+ZhK@N| zU~xucV%Q)X>h@w5vlt(UnPxG@u!Nb##AwVOe9}GWgYLno53U_L|NnDNFH&aGlY8&~ z>zv>D-}7a9T+y!l09$PEBjbbyxCH-1Hx$~@hBocP=iU=~X|=jS_* z@P@z@6Kyc?=EfnRGtx13ZBdv}w7Drm6%=~<*(3_^(*w)F@iM8Xr-qUT`;zCbUD}{X zJbpZt7`Kwc@sY8?nPaJ`cwE$^I-^IwTifw~I`O2HJerEfsm{T%j?h-lWNKn&XcEIV z=fK;`(XDk-v*Tlv)49Gx!hhU@g{HA4|+4jmCh=w>Y*m7Dk|w^_Zcg3-+Q% zhXtPw%-~N1n%$-1Z9jc}uIV9ckV;#}MlkuI(NxQRYjkY%#K_pp)BzAwfmDx}NeahX zY8yCiQX_vk=d3ociQ{#+OSo~^BAaHQrK>f9 z0?ZIT(k8xz(Psrqz@Q2$221!7rPzdg0G>sM$ftUwCKk@UH1{vseVpCWL0fApwK7j4 z{JiR5Rg)d47-q$cb6YwXr*{$XrT<4qyJYU~A@-(1f8>&A6@%q-7E{yIgNaWR!tH47 z5-ER;%&g)DizQdZ^0|}SxwHxFp`f8_=@jXL`42K5vE*3C7`SP6RV<%7RS5Ud4oVly zc4WS!xIcm9s#rdEdOMevhn=rj8<9wx;0_~mMRC`e90wK4=gt(uZEKhFb_tnZDeh&b zS`spr&rKJ?jYP#jnBO4tuHqizDqk7P=N{kA-9B$^YJ4}4*_e>?wyefi#qzncg>WN^ z+l0*L6gQ^0DwfYZv7Nhp-a6!BGG9RE>xvsS)cREmEpK1EQV6##BDeBe$oxcczt3%D z8OzW2WFg#6If&+G$oyGxgI<}hisf@(C9V$F{U)tY{OG}aY(VVvo#Y4r%wY{aAGn+# zyOtjRDQ9p$K4p?)AAZ86cE{Fk;D(gGKCB@%`XWee!q$fD7E89T(bg~r)xvA{)^4}x zwtZL)bT?iLTz4}kN*78UrGe6iGJrCOvI1o#%4(FgDC@buFY)5bU(R|E5swcJO^#Y4 zDdJ(F5Bcf$yMM$U;bGyCzIRLi{)MA$C8U$;J@flxP=u!Z^U8W3>l1r%2toZJfxCN6 z*#hIy-eJ;@;LY3)sFTa{TTcneDm9Eg5Fh6J2zb&V=l?!PH zXcs-kD)aRF8eF^G7g;%YKpXUR>W4))b-SEuy7WPGmh}x z1qb8dzjkLc7O;#1jC~A!8b_aU+#!e4vFW(M(NU!397Z3SE~jmFq3JHN%?UI;uAB+R z5aD$9reg`vQS8Y%j7BsK-8KVgdW&-=7+%V`#MpGS6VT_~baYb{if(isNumber(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(isNumber(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s=Object.assign({relaxZeros:true},r);if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let a=String(s.relaxZeros);let o=String(s.shorthand);let u=String(s.capture);let c=String(s.wrap);let h=e+":"+t+"="+a+o+u+c;if(toRegexRange.cache.hasOwnProperty(h)){return toRegexRange.cache[h].result}let p=Math.min(e,t);let d=Math.max(e,t);if(Math.abs(p-d)===1){let r=e+"|"+t;if(s.capture){return`(${r})`}if(s.wrap===false){return r}return`(?:${r})`}let v=hasPadding(e)||hasPadding(t);let m={min:e,max:t,a:p,b:d};let g=[];let y=[];if(v){m.isPadded=v;m.maxLen=String(m.max).length}if(p<0){let e=d<0?Math.abs(d):1;y=splitToPatterns(e,Math.abs(p),m,s);p=m.a=0}if(d>=0){g=splitToPatterns(p,d,m,s)}m.negatives=y;m.positives=g;m.result=collatePatterns(y,g,s);if(s.capture===true){m.result=`(${m.result})`}else if(s.wrap!==false&&g.length+y.length>1){m.result=`(?:${m.result})`}toRegexRange.cache[h]=m;return m.result};function collatePatterns(e,t,r){let s=filterPatterns(e,t,"-",false,r)||[];let a=filterPatterns(t,e,"",false,r)||[];let o=filterPatterns(e,t,"-?",true,r)||[];let u=s.concat(o).concat(a);return u.join("|")}function splitToRanges(e,t){let r=1;let s=1;let a=countNines(e,r);let o=new Set([t]);while(e<=a&&a<=t){o.add(a);r+=1;a=countNines(e,r)}a=countZeros(t+1,s)-1;while(e1){c.count.pop()}c.count.push(h.count[0]);c.string=c.pattern+toQuantifier(c.count);u=t+1;continue}if(r.isPadded){p=padZeros(t,r,s)}h.string=p+h.pattern+toQuantifier(h.count);o.push(h);u=t+1;c=h}return o}function filterPatterns(e,t,r,s,a){let o=[];for(let a of e){let{string:e}=a;if(!s&&!contains(t,"string",e)){o.push(r+e)}if(s&&contains(t,"string",e)){o.push(r+e)}}return o}function zip(e,t){let r=[];for(let s=0;st?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let s=Math.abs(t.maxLen-String(e).length);let a=r.relaxZeros!==false;switch(s){case 0:return"";case 1:return a?"0?":"0";case 2:return a?"0{0,2}":"00";default:{return a?`0{0,${s}}`:`0{${s}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};var S=toRegexRange;const isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const transform=e=>t=>e===true?Number(t):String(t);const isValidValue=e=>typeof e==="number"||typeof e==="string"&&e!=="";const isNumber$1=e=>Number.isInteger(+e);const zeros=e=>{let t=`${e}`;let r=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++r]==="0");return r>0};const stringify$1=(e,t,r)=>{if(typeof e==="string"||typeof t==="string"){return true}return r.stringify===true};const pad=(e,t,r)=>{if(t>0){let r=e[0]==="-"?"-":"";if(r)e=e.slice(1);e=r+e.padStart(r?t-1:t,"0")}if(r===false){return String(e)}return e};const toMaxLen=(e,t)=>{let r=e[0]==="-"?"-":"";if(r){e=e.slice(1);t--}while(e.length{e.negatives.sort(((e,t)=>et?1:0));e.positives.sort(((e,t)=>et?1:0));let r=t.capture?"":"?:";let s="";let a="";let o;if(e.positives.length){s=e.positives.join("|")}if(e.negatives.length){a=`-(${r}${e.negatives.join("|")})`}if(s&&a){o=`${s}|${a}`}else{o=s||a}if(t.wrap){return`(${r}${o})`}return o};const toRange=(e,t,r,s)=>{if(r){return S(e,t,Object.assign({wrap:false},s))}let a=String.fromCharCode(e);if(e===t)return a;let o=String.fromCharCode(t);return`[${a}-${o}]`};const toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=r.wrap===true;let s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return S(e,t,r)};const rangeError=(...e)=>new RangeError("Invalid range arguments: "+u.inspect(...e));const invalidRange=(e,t,r)=>{if(r.strictRanges===true)throw rangeError([e,t]);return[]};const invalidStep=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const fillNumbers=(e,t,r=1,s={})=>{let a=Number(e);let o=Number(t);if(!Number.isInteger(a)||!Number.isInteger(o)){if(s.strictRanges===true)throw rangeError([e,t]);return[]}if(a===0)a=0;if(o===0)o=0;let u=a>o;let c=String(e);let h=String(t);let p=String(r);r=Math.max(Math.abs(r),1);let d=zeros(c)||zeros(h)||zeros(p);let v=d?Math.max(c.length,h.length,p.length):0;let m=d===false&&stringify$1(e,t,s)===false;let g=s.transform||transform(m);if(s.toRegex&&r===1){return toRange(toMaxLen(e,v),toMaxLen(t,v),true,s)}let y={negatives:[],positives:[]};let push=e=>y[e<0?"negatives":"positives"].push(Math.abs(e));let _=[];let E=0;while(u?a>=o:a<=o){if(s.toRegex===true&&r>1){push(a)}else{_.push(pad(g(a,E),v,m))}a=u?a-r:a+r;E++}if(s.toRegex===true){return r>1?toSequence(y,s):toRegex(_,null,Object.assign({wrap:false},s))}return _};const fillLetters=(e,t,r=1,s={})=>{if(!isNumber$1(e)&&e.length>1||!isNumber$1(t)&&t.length>1){return invalidRange(e,t,s)}let a=s.transform||(e=>String.fromCharCode(e));let o=`${e}`.charCodeAt(0);let u=`${t}`.charCodeAt(0);let c=o>u;let h=Math.min(o,u);let p=Math.max(o,u);if(s.toRegex&&r===1){return toRange(h,p,false,s)}let d=[];let v=0;while(c?o>=u:o<=u){d.push(a(o,v));o=c?o-r:o+r;v++}if(s.toRegex===true){return toRegex(d,null,{wrap:false,options:s})}return d};const fill=(e,t,r,s={})=>{if(t==null&&isValidValue(e)){return[e]}if(!isValidValue(e)||!isValidValue(t)){return invalidRange(e,t,s)}if(typeof r==="function"){return fill(e,t,1,{transform:r})}if(isObject(r)){return fill(e,t,0,r)}let a=Object.assign({},s);if(a.capture===true)a.wrap=true;r=r||a.step||1;if(!isNumber$1(r)){if(r!=null&&!isObject(r))return invalidStep(r,a);return fill(e,t,1,r)}if(isNumber$1(e)&&isNumber$1(t)){return fillNumbers(e,t,r,a)}return fillLetters(e,t,Math.max(Math.abs(r),1),a)};var k=fill;const compile=(e,t={})=>{let walk=(e,r={})=>{let s=m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o=s===true||a===true;let u=t.escapeInvalid===true?"\\":"";let c="";if(e.isOpen===true){return u+e.value}if(e.isClose===true){return u+e.value}if(e.type==="open"){return o?u+e.value:"("}if(e.type==="close"){return o?u+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":o?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=m.reduce(e.nodes);let s=k(...r,Object.assign({},t,{wrap:false,toRegex:true}));if(s.length!==0){return r.length>1&&s.length>1?`(${s})`:s}}if(e.nodes){for(let t of e.nodes){c+=walk(t,e)}}return c};return walk(e)};var F=compile;const append=(e="",t="",r=false)=>{let s=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?m.flatten(t).map((e=>`{${e}}`)):t}for(let a of e){if(Array.isArray(a)){for(let e of a){s.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;s.push(Array.isArray(e)?append(a,e,r):a+e)}}}return m.flatten(s)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,s={})=>{e.queue=[];let a=s;let o=s.queue;while(a.type!=="brace"&&a.type!=="root"&&a.parent){a=a.parent;o=a.queue}if(e.invalid||e.dollar){o.push(append(o.pop(),stringify(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){o.push(append(o.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let s=m.reduce(e.nodes);if(m.exceedsLimit(...s,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let a=k(...s,t);if(a.length===0){a=stringify(e,t)}o.push(append(o.pop(),a));e.nodes=[];return}let u=m.encloseBrace(e);let c=e.queue;let h=e;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;c=h.queue}for(let t=0;t",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:I,CHAR_BACKSLASH:B,CHAR_BACKTICK:N,CHAR_COMMA:O,CHAR_DOT:P,CHAR_LEFT_PARENTHESES:L,CHAR_RIGHT_PARENTHESES:j,CHAR_LEFT_CURLY_BRACE:M,CHAR_RIGHT_CURLY_BRACE:V,CHAR_LEFT_SQUARE_BRACKET:q,CHAR_RIGHT_SQUARE_BRACKET:U,CHAR_DOUBLE_QUOTE:$,CHAR_SINGLE_QUOTE:H,CHAR_NO_BREAK_SPACE:G,CHAR_ZERO_WIDTH_NOBREAK_SPACE:W}=T;const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let s=typeof r.maxLength==="number"?Math.min(I,r.maxLength):I;if(e.length>s){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${s})`)}let a={type:"root",input:e,nodes:[]};let o=[a];let u=a;let c=a;let h=0;let p=e.length;let d=0;let v=0;let m;const advance=()=>e[d++];const push=e=>{if(e.type==="text"&&c.type==="dot"){c.type="text"}if(c&&c.type==="text"&&e.type==="text"){c.value+=e.value;return}u.nodes.push(e);e.parent=u;e.prev=c;c=e;return e};push({type:"bos"});while(d0){if(u.ranges>0){u.ranges=0;let e=u.nodes.shift();u.nodes=[e,{type:"text",value:stringify(u)}]}push({type:"comma",value:m});u.commas++;continue}if(m===P&&v>0&&u.commas===0){let e=u.nodes;if(v===0||e.length===0){push({type:"text",value:m});continue}if(c.type==="dot"){u.range=[];c.value+=m;c.type="range";if(u.nodes.length!==3&&u.nodes.length!==5){u.invalid=true;u.ranges=0;c.type="text";continue}u.ranges++;u.args=[];continue}if(c.type==="range"){e.pop();let t=e[e.length-1];t.value+=c.value+m;c=t;u.ranges--;continue}push({type:"dot",value:m});continue}push({type:"text",value:m})}do{u=o.pop();if(u.type!=="root"){u.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=o[o.length-1];let t=e.nodes.indexOf(u);e.nodes.splice(t,1,...u.nodes)}}while(o.length>0);push({type:"eos"});return a};var z=parse;const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let s of e){let e=braces.create(s,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>z(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return stringify(braces.parse(e,t),t)}return stringify(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return F(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=R(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};var K=braces;const Q="\\\\/";const X=`[^${Q}]`;const J="\\.";const Z="\\+";const Y="\\?";const ee="\\/";const te="(?=.)";const re="[^/]";const ie=`(?:${ee}|$)`;const ne=`(?:^|${ee})`;const se=`${J}{1,2}${ie}`;const ae=`(?!${J})`;const oe=`(?!${ne}${se})`;const ue=`(?!${J}{0,1}${ie})`;const le=`(?!${se})`;const ce=`[^.${ee}]`;const fe=`${re}*?`;const he={DOT_LITERAL:J,PLUS_LITERAL:Z,QMARK_LITERAL:Y,SLASH_LITERAL:ee,ONE_CHAR:te,QMARK:re,END_ANCHOR:ie,DOTS_SLASH:se,NO_DOT:ae,NO_DOTS:oe,NO_DOT_SLASH:ue,NO_DOTS_SLASH:le,QMARK_NO_DOT:ce,STAR:fe,START_ANCHOR:ne};const pe=Object.assign({},he,{SLASH_LITERAL:`[${Q}]`,QMARK:X,STAR:`${X}*?`,DOTS_SLASH:`${J}{1,2}(?:[${Q}]|$)`,NO_DOT:`(?!${J})`,NO_DOTS:`(?!(?:^|[${Q}])${J}{1,2}(?:[${Q}]|$))`,NO_DOT_SLASH:`(?!${J}{0,1}(?:[${Q}]|$))`,NO_DOTS_SLASH:`(?!${J}{1,2}(?:[${Q}]|$))`,QMARK_NO_DOT:`[^.${Q}]`,START_ANCHOR:`(?:^|[${Q}])`,END_ANCHOR:`(?:[${Q}]|$)`});const de={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"};var ve={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:de,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,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:a.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?pe:he}};var me=createCommonjsModule((function(e,t){const r=process.platform==="win32";const{REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o,REGEX_REMOVE_BACKSLASH:u}=ve;t.isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);t.hasRegexChars=e=>s.test(e);t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e);t.escapeRegex=e=>e.replace(o,"\\$1");t.toPosixSlashes=e=>e.replace(/\\/g,"/");t.removeBackslashes=e=>e.replace(u,(e=>e==="\\"?"":e));t.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".");if(e.length===3&&+e[0]>=9||+e[0]===8&&+e[1]>=10){return true}return false};t.isWindows=e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return r===true||a.sep==="\\"};t.escapeLast=(e,r,s)=>{let a=e.lastIndexOf(r,s);if(a===-1)return e;if(e[a-1]==="\\")return t.escapeLast(e,r,a-1);return e.slice(0,a)+"\\"+e.slice(a)}}));var ge=me.isObject;var be=me.hasRegexChars;var ye=me.isRegexChar;var _e=me.escapeRegex;var Ee=me.toPosixSlashes;var xe=me.removeBackslashes;var we=me.supportsLookbehinds;var De=me.isWindows;var Ce=me.escapeLast;const{CHAR_ASTERISK:Ae,CHAR_AT:Se,CHAR_BACKWARD_SLASH:ke,CHAR_COMMA:Fe,CHAR_DOT:Re,CHAR_EXCLAMATION_MARK:Te,CHAR_FORWARD_SLASH:Ie,CHAR_LEFT_CURLY_BRACE:Be,CHAR_LEFT_PARENTHESES:Ne,CHAR_LEFT_SQUARE_BRACKET:Oe,CHAR_PLUS:Pe,CHAR_QUESTION_MARK:Le,CHAR_RIGHT_CURLY_BRACE:je,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Ve}=ve;const isPathSeparator=e=>e===Ie||e===ke;var scan=(e,t)=>{let r=t||{};let s=e.length-1;let a=-1;let o=0;let u=0;let c=false;let h=false;let p=false;let d=0;let v;let m;let g=false;let eos=()=>a>=s;let advance=()=>{v=m;return e.charCodeAt(++a)};while(a0){y=e.slice(0,o);e=e.slice(o);u-=o}if(E&&c===true&&u>0){E=e.slice(0,u);x=e.slice(u)}else if(c===true){E="";x=e}else{E=e}if(E&&E!==""&&E!=="/"&&E!==e){if(isPathSeparator(E.charCodeAt(E.length-1))){E=E.slice(0,-1)}}if(r.unescape===true){if(x)x=me.removeBackslashes(x);if(E&&h===true){E=me.removeBackslashes(E)}}return{prefix:y,input:_,base:E,glob:x,negated:p,isGlob:c}};const{MAX_LENGTH:qe,POSIX_REGEX_SOURCE:Ue,REGEX_NON_SPECIAL_CHAR:$e,REGEX_SPECIAL_CHARS_BACKREF:He,REPLACEMENTS:Ge}=ve;const expandRange=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();let r=`[${e.join("-")}]`;try{}catch(t){return e.map((e=>me.escapeRegex(e))).join("..")}return r};const negate=e=>{let t=1;while(e.peek()==="!"&&(e.peek(2)!=="("||e.peek(3)==="?")){e.advance();e.start++;t++}if(t%2===0){return false}e.negated=true;e.start++;return true};const syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`;const parse$1=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=Ge[e]||e;let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}let o={type:"bos",value:"",output:r.prepend||""};let u=[o];let c=r.capture?"":"?:";let h=me.isWindows(t);const p=ve.globChars(h);const d=ve.extglobChars(p);const{DOT_LITERAL:v,PLUS_LITERAL:m,SLASH_LITERAL:g,ONE_CHAR:y,DOTS_SLASH:_,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:w,QMARK:D,QMARK_NO_DOT:C,STAR:A,START_ANCHOR:S}=p;const globstar=e=>`(${c}(?:(?!${S}${e.dot?_:v}).)*?)`;let k=r.dot?"":E;let F=r.bash===true?globstar(r):A;let R=r.dot?D:C;if(r.capture){F=`(${F})`}if(typeof r.noext==="boolean"){r.noextglob=r.noext}let T={index:-1,start:0,consumed:"",output:"",backtrack:false,brackets:0,braces:0,parens:0,quotes:0,tokens:u};let I=[];let B=[];let N=o;let O;const eos=()=>T.index===a-1;const P=T.peek=(t=1)=>e[T.index+t];const L=T.advance=()=>e[++T.index];const append=e=>{T.output+=e.output!=null?e.output:e.value;T.consumed+=e.value||""};const increment=e=>{T[e]++;B.push(e)};const decrement=e=>{T[e]--;B.pop()};const push=e=>{if(N.type==="globstar"){let t=T.braces>0&&(e.type==="comma"||e.type==="brace");let r=I.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!r){T.output=T.output.slice(0,-N.output.length);N.type="star";N.value="*";N.output=F;T.output+=N.output}}if(I.length&&e.type!=="paren"&&!d[e.value]){I[I.length-1].inner+=e.value}if(e.value||e.output)append(e);if(N&&N.type==="text"&&e.type==="text"){N.value+=e.value;return}e.prev=N;u.push(e);N=e};const extglobOpen=(e,t)=>{let s=Object.assign({},d[t],{conditions:1,inner:""});s.prev=N;s.parens=T.parens;s.output=T.output;let a=(r.capture?"(":"")+s.open;push({type:e,value:t,output:T.output?"":y});push({type:"paren",extglob:true,value:L(),output:a});increment("parens");I.push(s)};const extglobClose=t=>{let s=t.close+(r.capture?")":"");if(t.type==="negate"){let a=F;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){a=globstar(r)}if(a!==F||eos()||/^\)+$/.test(e.slice(T.index+1))){s=t.close=")$))"+a}if(t.prev.type==="bos"&&eos()){T.negatedExtglob=true}}push({type:"paren",extglob:true,value:O,output:s});decrement("parens")};if(r.fastpaths!==false&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=false;let s=e.replace(He,((e,r,s,a,o,u)=>{if(a==="\\"){t=true;return e}if(a==="?"){if(r){return r+a+(o?D.repeat(o.length):"")}if(u===0){return R+(o?D.repeat(o.length):"")}return D.repeat(s.length)}if(a==="."){return v.repeat(s.length)}if(a==="*"){if(r){return r+a+(o?F:"")}return F}return r?e:"\\"+e}));if(t===true){if(r.unescape===true){s=s.replace(/\\/g,"")}else{s=s.replace(/\\+/g,(e=>e.length%2===0?"\\\\":e?"\\":""))}}T.output=s;return T}while(!eos()){O=L();if(O==="\0"){continue}if(O==="\\"){let t=P();if(t==="/"&&r.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){O+="\\";push({type:"text",value:O});continue}let s=/^\\+/.exec(e.slice(T.index+1));let a=0;if(s&&s[0].length>2){a=s[0].length;T.index+=a;if(a%2!==0){O+="\\"}}if(r.unescape===true){O=L()||""}else{O+=L()||""}if(T.brackets===0){push({type:"text",value:O});continue}}if(T.brackets>0&&(O!=="]"||N.value==="["||N.value==="[^")){if(r.posix!==false&&O===":"){let e=N.value.slice(1);if(e.includes("[")){N.posix=true;if(e.includes(":")){let e=N.value.lastIndexOf("[");let t=N.value.slice(0,e);let r=N.value.slice(e+2);let s=Ue[r];if(s){N.value=t+s;T.backtrack=true;L();if(!o.output&&u.indexOf(N)===1){o.output=y}continue}}}}if(O==="["&&P()!==":"||O==="-"&&P()==="]"){O="\\"+O}if(O==="]"&&(N.value==="["||N.value==="[^")){O="\\"+O}if(r.posix===true&&O==="!"&&N.value==="["){O="^"}N.value+=O;append({value:O});continue}if(T.quotes===1&&O!=='"'){O=me.escapeRegex(O);N.value+=O;append({value:O});continue}if(O==='"'){T.quotes=T.quotes===1?0:1;if(r.keepQuotes===true){push({type:"text",value:O})}continue}if(O==="("){push({type:"paren",value:O});increment("parens");continue}if(O===")"){if(T.parens===0&&r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}let e=I[I.length-1];if(e&&T.parens===e.parens+1){extglobClose(I.pop());continue}push({type:"paren",value:O,output:T.parens?")":"\\)"});decrement("parens");continue}if(O==="["){if(r.nobracket===true||!e.slice(T.index+1).includes("]")){if(r.nobracket!==true&&r.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}O="\\"+O}else{increment("brackets")}push({type:"bracket",value:O});continue}if(O==="]"){if(r.nobracket===true||N&&N.type==="bracket"&&N.value.length===1){push({type:"text",value:O,output:"\\"+O});continue}if(T.brackets===0){if(r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:O,output:"\\"+O});continue}decrement("brackets");let e=N.value.slice(1);if(N.posix!==true&&e[0]==="^"&&!e.includes("/")){O="/"+O}N.value+=O;append({value:O});if(r.literalBrackets===false||me.hasRegexChars(e)){continue}let t=me.escapeRegex(N.value);T.output=T.output.slice(0,-N.value.length);if(r.literalBrackets===true){T.output+=t;N.value=t;continue}N.value=`(${c}${t}|${N.value})`;T.output+=N.value;continue}if(O==="{"&&r.nobrace!==true){push({type:"brace",value:O,output:"("});increment("braces");continue}if(O==="}"){if(r.nobrace===true||T.braces===0){push({type:"text",value:O,output:"\\"+O});continue}let e=")";if(T.dots===true){let t=u.slice();let s=[];for(let e=t.length-1;e>=0;e--){u.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){s.unshift(t[e].value)}}e=expandRange(s,r);T.backtrack=true}push({type:"brace",value:O,output:e});decrement("braces");continue}if(O==="|"){if(I.length>0){I[I.length-1].conditions++}push({type:"text",value:O});continue}if(O===","){let e=O;if(T.braces>0&&B[B.length-1]==="braces"){e="|"}push({type:"comma",value:O,output:e});continue}if(O==="/"){if(N.type==="dot"&&T.index===1){T.start=T.index+1;T.consumed="";T.output="";u.pop();N=o;continue}push({type:"slash",value:O,output:g});continue}if(O==="."){if(T.braces>0&&N.type==="dot"){if(N.value===".")N.output=v;N.type="dots";N.output+=O;N.value+=O;T.dots=true;continue}push({type:"dot",value:O,output:v});continue}if(O==="?"){if(N&&N.type==="paren"){let e=P();let t=O;if(e==="<"&&!me.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(N.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/[!=]/.test(P(2))){t="\\"+O}push({type:"text",value:O,output:t});continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("qmark",O);continue}if(r.dot!==true&&(N.type==="slash"||N.type==="bos")){push({type:"qmark",value:O,output:C});continue}push({type:"qmark",value:O,output:D});continue}if(O==="!"){if(r.noextglob!==true&&P()==="("){if(P(2)!=="?"||!/[!=<:]/.test(P(3))){extglobOpen("negate",O);continue}}if(r.nonegate!==true&&T.index===0){negate(T);continue}}if(O==="+"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("plus",O);continue}if(N&&(N.type==="bracket"||N.type==="paren"||N.type==="brace")){let e=N.extglob===true?"\\"+O:O;push({type:"plus",value:O,output:e});continue}if(T.parens>0&&r.regex!==false){push({type:"plus",value:O});continue}push({type:"plus",value:m});continue}if(O==="@"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){push({type:"at",value:O,output:""});continue}push({type:"text",value:O});continue}if(O!=="*"){if(O==="$"||O==="^"){O="\\"+O}let t=$e.exec(e.slice(T.index+1));if(t){O+=t[0];T.index+=t[0].length}push({type:"text",value:O});continue}if(N&&(N.type==="globstar"||N.star===true)){N.type="star";N.star=true;N.value+=O;N.output=F;T.backtrack=true;T.consumed+=O;continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("star",O);continue}if(N.type==="star"){if(r.noglobstar===true){T.consumed+=O;continue}let t=N.prev;let s=t.prev;let a=t.type==="slash"||t.type==="bos";let o=s&&(s.type==="star"||s.type==="globstar");if(r.bash===true&&(!a||!eos()&&P()!=="/")){push({type:"star",value:O,output:""});continue}let u=T.braces>0&&(t.type==="comma"||t.type==="brace");let c=I.length&&(t.type==="pipe"||t.type==="paren");if(!a&&t.type!=="paren"&&!u&&!c){push({type:"star",value:O,output:""});continue}while(e.slice(T.index+1,T.index+4)==="/**"){let t=e[T.index+4];if(t&&t!=="/"){break}T.consumed+="/**";T.index+=3}if(t.type==="bos"&&eos()){N.type="globstar";N.value+=O;N.output=globstar(r);T.output=N.output;T.consumed+=O;continue}if(t.type==="slash"&&t.prev.type!=="bos"&&!o&&eos()){T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=globstar(r)+"|$)";N.value+=O;T.output+=t.output+N.output;T.consumed+=O;continue}let h=P();if(t.type==="slash"&&t.prev.type!=="bos"&&h==="/"){let e=P(2)!==void 0?"|$":"";T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=`${globstar(r)}${g}|${g}${e})`;N.value+=O;T.output+=t.output+N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}if(t.type==="bos"&&h==="/"){N.type="globstar";N.value+=O;N.output=`(?:^|${g}|${globstar(r)}${g})`;T.output=N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}T.output=T.output.slice(0,-N.output.length);N.type="globstar";N.output=globstar(r);N.value+=O;T.output+=N.output;T.consumed+=O;continue}let t={type:"star",value:O,output:F};if(r.bash===true){t.output=".*?";if(N.type==="bos"||N.type==="slash"){t.output=k+t.output}push(t);continue}if(N&&(N.type==="bracket"||N.type==="paren")&&r.regex===true){t.output=O;push(t);continue}if(T.index===T.start||N.type==="slash"||N.type==="dot"){if(N.type==="dot"){T.output+=x;N.output+=x}else if(r.dot===true){T.output+=w;N.output+=w}else{T.output+=k;N.output+=k}if(P()!=="*"){T.output+=y;N.output+=y}}push(t)}while(T.brackets>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));T.output=me.escapeLast(T.output,"[");decrement("brackets")}while(T.parens>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));T.output=me.escapeLast(T.output,"(");decrement("parens")}while(T.braces>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));T.output=me.escapeLast(T.output,"{");decrement("braces")}if(r.strictSlashes!==true&&(N.type==="star"||N.type==="bracket")){push({type:"maybe_slash",value:"",output:`${g}?`})}if(T.backtrack===true){T.output="";for(let e of T.tokens){T.output+=e.output!=null?e.output:e.value;if(e.suffix){T.output+=e.suffix}}}return T};parse$1.fastpaths=(e,t)=>{let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}e=Ge[e]||e;let o=me.isWindows(t);const{DOT_LITERAL:u,SLASH_LITERAL:c,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:v,NO_DOTS_SLASH:m,STAR:g,START_ANCHOR:y}=ve.globChars(o);let _=r.capture?"":"?:";let E=r.bash===true?".*?":g;let x=r.dot?v:d;let w=r.dot?m:d;if(r.capture){E=`(${E})`}const globstar=e=>`(${_}(?:(?!${y}${e.dot?p:u}).)*?)`;const create=e=>{switch(e){case"*":return`${x}${h}${E}`;case".*":return`${u}${h}${E}`;case"*.*":return`${x}${E}${u}${h}${E}`;case"*/*":return`${x}${E}${c}${h}${w}${E}`;case"**":return x+globstar(r);case"**/*":return`(?:${x}${globstar(r)}${c})?${w}${h}${E}`;case"**/*.*":return`(?:${x}${globstar(r)}${c})?${w}${E}${u}${h}${E}`;case"**/.*":return`(?:${x}${globstar(r)}${c})?${u}${h}${E}`;default:{let r=/^(.*?)\.(\w+)$/.exec(e);if(!r)return;let s=create(r[1],t);if(!s)return;return s+u+r[2]}}};let D=create(e);if(D&&r.strictSlashes!==true){D+=`${c}?`}return D};var We=parse$1;const picomatch=(e,t,r=false)=>{if(Array.isArray(e)){let s=e.map((e=>picomatch(e,t,r)));return e=>{for(let t of s){let r=t(e);if(r)return r}return false}}if(typeof e!=="string"||e===""){throw new TypeError("Expected pattern to be a non-empty string")}let s=t||{};let a=me.isWindows(t);let o=picomatch.makeRe(e,t,false,true);let u=o.state;delete o.state;let isIgnored=()=>false;if(s.ignore){let e=Object.assign({},t,{ignore:null,onMatch:null,onResult:null});isIgnored=picomatch(s.ignore,e,r)}const matcher=(r,c=false)=>{let{isMatch:h,match:p,output:d}=picomatch.test(r,o,t,{glob:e,posix:a});let v={glob:e,state:u,regex:o,posix:a,input:r,output:d,match:p,isMatch:h};if(typeof s.onResult==="function"){s.onResult(v)}if(h===false){v.isMatch=false;return c?v:false}if(isIgnored(r)){if(typeof s.onIgnore==="function"){s.onIgnore(v)}v.isMatch=false;return c?v:false}if(typeof s.onMatch==="function"){s.onMatch(v)}return c?v:true};if(r){matcher.state=u}return matcher};picomatch.test=(e,t,r,{glob:s,posix:a}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}let o=r||{};let u=o.format||(a?me.toPosixSlashes:null);let c=e===s;let h=c&&u?u(e):e;if(c===false){h=u?u(e):e;c=h===s}if(c===false||o.capture===true){if(o.matchBase===true||o.basename===true){c=picomatch.matchBase(e,t,r,a)}else{c=t.exec(h)}}return{isMatch:!!c,match:c,output:h}};picomatch.matchBase=(e,t,r,s=me.isWindows(r))=>{let o=t instanceof RegExp?t:picomatch.makeRe(t,r);return o.test(a.basename(e))};picomatch.isMatch=(e,t,r)=>picomatch(t,r)(e);picomatch.parse=(e,t)=>We(e,t);picomatch.scan=(e,t)=>scan(e,t);picomatch.makeRe=(e,t,r=false,s=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let a=t||{};let o=a.contains?"":"^";let u=a.contains?"":"$";let c={negated:false,fastpaths:true};let h="";let p;if(e.startsWith("./")){e=e.slice(2);h=c.prefix="./"}if(a.fastpaths!==false&&(e[0]==="."||e[0]==="*")){p=We.fastpaths(e,t)}if(p===void 0){c=picomatch.parse(e,t);c.prefix=h+(c.prefix||"");p=c.output}if(r===true){return p}let d=`${o}(?:${p})${u}`;if(c&&c.negated===true){d=`^(?!${d}).*$`}let v=picomatch.toRegex(d,t);if(s===true){v.state=c}return v};picomatch.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}};picomatch.constants=ve;var ze=picomatch;var Ke=ze;const isEmptyString=e=>typeof e==="string"&&(e===""||e==="./");const micromatch=(e,t,r)=>{t=[].concat(t);e=[].concat(e);let s=new Set;let a=new Set;let o=new Set;let u=0;let onResult=e=>{o.add(e.output);if(r&&r.onResult){r.onResult(e)}};for(let o=0;o!s.has(e)));if(r&&h.length===0){if(r.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(r.nonull===true||r.nullglob===true){return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}}return h};micromatch.match=micromatch;micromatch.matcher=(e,t)=>Ke(e,t);micromatch.isMatch=(e,t,r)=>Ke(t,r)(e);micromatch.any=micromatch.isMatch;micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let s=new Set;let a=[];let onResult=e=>{if(r.onResult)r.onResult(e);a.push(e.output)};let o=micromatch(e,t,Object.assign({},r,{onResult:onResult}));for(let e of a){if(!o.includes(e)){s.add(e)}}return[...s]};micromatch.contains=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}if(Array.isArray(t)){return t.some((t=>micromatch.contains(e,t,r)))}if(typeof t==="string"){if(isEmptyString(e)||isEmptyString(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return micromatch.isMatch(e,t,Object.assign({},r,{contains:true}))};micromatch.matchKeys=(e,t,r)=>{if(!me.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let s=micromatch(Object.keys(e),t,r);let a={};for(let t of s)a[t]=e[t];return a};micromatch.some=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(s.some((e=>t(e)))){return true}}return false};micromatch.every=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(!s.every((e=>t(e)))){return false}}return true};micromatch.all=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}return[].concat(t).every((t=>Ke(t,r)(e)))};micromatch.capture=(e,t,r)=>{let s=me.isWindows(r);let a=Ke.makeRe(String(e),Object.assign({},r,{capture:true}));let o=a.exec(s?me.toPosixSlashes(t):t);if(o){return o.slice(1).map((e=>e===void 0?"":e))}};micromatch.makeRe=(...e)=>Ke.makeRe(...e);micromatch.scan=(...e)=>Ke.scan(...e);micromatch.parse=(e,t)=>{let r=[];for(let s of[].concat(e||[])){for(let e of K(String(s),t)){r.push(Ke.parse(e,t))}}return r};micromatch.braces=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return K(e,t)};micromatch.braceExpand=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return micromatch.braces(e,Object.assign({},t,{expand:true}))};var Qe=micromatch;function ensureArray(e){if(Array.isArray(e))return e;if(e==undefined)return[];return[e]}function getMatcherString(e,t){if(t===false){return e}return s.resolve(...typeof t==="string"?[t,e]:[e])}const Xe=function createFilter(e,t,r){const a=r&&r.resolve;const getMatcher=e=>e instanceof RegExp?e:{test:Qe.matcher(getMatcherString(e,a).split(s.sep).join("/"),{dot:true})};const o=ensureArray(e).map(getMatcher);const u=ensureArray(t).map(getMatcher);return function(e){if(typeof e!=="string")return false;if(/\0/.test(e))return false;e=e.split(s.sep).join("/");for(let t=0;tt.toUpperCase())).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(e[0])||Ye.has(e)){e=`_${e}`}return e||"_"};function stringify$2(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,(e=>`\\u${("000"+e.charCodeAt(0).toString(16)).slice(-4)}`))}function serializeArray(e,t,r){let s="[";const a=t?"\n"+r+t:"";for(let o=0;o0?",":""}${a}${serialize(u,t,r+t)}`}return s+`${t?"\n"+r:""}]`}function serializeObject(e,t,r){let s="{";const a=t?"\n"+r+t:"";const o=Object.keys(e);for(let u=0;u0?",":""}${a}${h}:${t?" ":""}${serialize(e[c],t,r+t)}`}return s+`${t?"\n"+r:""}}`}function serialize(e,t,r){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0&&1/e===-Infinity)return"-0";if(e instanceof Date)return"new Date("+e.getTime()+")";if(e instanceof RegExp)return e.toString();if(e!==e)return"NaN";if(Array.isArray(e))return serializeArray(e,t,r);if(e===null)return"null";if(typeof e==="object")return serializeObject(e,t,r);return stringify$2(e)}const tt=function dataToEsm(e,t={}){const r=t.compact?"":"indent"in t?t.indent:"\t";const s=t.compact?"":" ";const a=t.compact?"":"\n";const o=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const a=serialize(e,t.compact?null:r,"");const o=s||(/^[{[\-\/]/.test(a)?"":" ");return`export default${o}${a};`}let u="";const c=[];const h=Object.keys(e);for(let p=0;p{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var s=256;var a=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var u=t.re=[];var c=t.src=[];var h=0;var p=h++;c[p]="0|[1-9]\\d*";var d=h++;c[d]="[0-9]+";var v=h++;c[v]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var m=h++;c[m]="("+c[p]+")\\."+"("+c[p]+")\\."+"("+c[p]+")";var g=h++;c[g]="("+c[d]+")\\."+"("+c[d]+")\\."+"("+c[d]+")";var y=h++;c[y]="(?:"+c[p]+"|"+c[v]+")";var _=h++;c[_]="(?:"+c[d]+"|"+c[v]+")";var E=h++;c[E]="(?:-("+c[y]+"(?:\\."+c[y]+")*))";var x=h++;c[x]="(?:-?("+c[_]+"(?:\\."+c[_]+")*))";var w=h++;c[w]="[0-9A-Za-z-]+";var D=h++;c[D]="(?:\\+("+c[w]+"(?:\\."+c[w]+")*))";var C=h++;var A="v?"+c[m]+c[E]+"?"+c[D]+"?";c[C]="^"+A+"$";var S="[v=\\s]*"+c[g]+c[x]+"?"+c[D]+"?";var k=h++;c[k]="^"+S+"$";var F=h++;c[F]="((?:<|>)?=?)";var R=h++;c[R]=c[d]+"|x|X|\\*";var T=h++;c[T]=c[p]+"|x|X|\\*";var I=h++;c[I]="[v=\\s]*("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:"+c[E]+")?"+c[D]+"?"+")?)?";var B=h++;c[B]="[v=\\s]*("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:"+c[x]+")?"+c[D]+"?"+")?)?";var N=h++;c[N]="^"+c[F]+"\\s*"+c[I]+"$";var O=h++;c[O]="^"+c[F]+"\\s*"+c[B]+"$";var P=h++;c[P]="(?:^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";var L=h++;c[L]="(?:~>?)";var j=h++;c[j]="(\\s*)"+c[L]+"\\s+";u[j]=new RegExp(c[j],"g");var M="$1~";var V=h++;c[V]="^"+c[L]+c[I]+"$";var q=h++;c[q]="^"+c[L]+c[B]+"$";var U=h++;c[U]="(?:\\^)";var $=h++;c[$]="(\\s*)"+c[U]+"\\s+";u[$]=new RegExp(c[$],"g");var H="$1^";var G=h++;c[G]="^"+c[U]+c[I]+"$";var W=h++;c[W]="^"+c[U]+c[B]+"$";var z=h++;c[z]="^"+c[F]+"\\s*("+S+")$|^$";var K=h++;c[K]="^"+c[F]+"\\s*("+A+")$|^$";var Q=h++;c[Q]="(\\s*)"+c[F]+"\\s*("+S+"|"+c[I]+")";u[Q]=new RegExp(c[Q],"g");var X="$1$2$3";var J=h++;c[J]="^\\s*("+c[I]+")"+"\\s+-\\s+"+"("+c[I]+")"+"\\s*$";var Z=h++;c[Z]="^\\s*("+c[B]+")"+"\\s+-\\s+"+"("+c[B]+")"+"\\s*$";var Y=h++;c[Y]="(<|>)?=?\\s*\\*";for(var ee=0;ees){return null}var r=t.loose?u[k]:u[C];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>s){throw new TypeError("version is longer than "+s+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?u[k]:u[C]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>a||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>a||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>a||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,s){if(typeof r==="string"){s=r;r=undefined}try{return new SemVer(e,r).inc(t,s).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var s=parse(t);var a="";if(r.prerelease.length||s.prerelease.length){a="pre";var o="prerelease"}for(var u in r){if(u==="major"||u==="minor"||u==="patch"){if(r[u]!==s[u]){return a+u}}}return o}}t.compareIdentifiers=compareIdentifiers;var te=/^[0-9]+$/;function compareIdentifiers(e,t){var r=te.test(e);var s=te.test(t);if(r&&s){e=+e;t=+t}return e===t?0:r&&!s?-1:s&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,s){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,s);case"!=":return neq(e,r,s);case">":return gt(e,r,s);case">=":return gte(e,r,s);case"<":return lt(e,r,s);case"<=":return lte(e,r,s);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===re){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var re={};Comparator.prototype.parse=function(e){var t=this.options.loose?u[z]:u[K];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1];if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=re}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===re){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){r=new Range(this.value,t);return satisfies(e.semver,r,t)}var s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var a=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var c=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var h=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return s||a||o&&u||c||h};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var s=t?u[Z]:u[J];e=e.replace(s,hyphenReplace);r("hyphen replace",e);e=e.replace(u[Q],X);r("comparator trim",e,u[Q]);e=e.replace(u[j],M);e=e.replace(u[$],H);e=e.split(/\s+/).join(" ");var a=t?u[z]:u[K];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(a)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var s=t.loose?u[q]:u[V];return e.replace(s,(function(t,s,a,o,u){r("tilde",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else if(u){r("replaceTilde pr",u);c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}r("tilde return",c);return c}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var s=t.loose?u[W]:u[G];return e.replace(s,(function(t,s,a,o,u){r("caret",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){if(s==="0"){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+".0 <"+(+s+1)+".0.0"}}else if(u){r("replaceCaret pr",u);if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+(+s+1)+".0.0"}}else{r("no pr");if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+" <"+(+s+1)+".0.0"}}r("caret return",c);return c}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var s=t.loose?u[O]:u[N];return e.replace(s,(function(t,s,a,o,u,c){r("xRange",e,t,s,a,o,u,c);var h=isX(a);var p=h||isX(o);var d=p||isX(u);var v=d;if(s==="="&&v){s=""}if(h){if(s===">"||s==="<"){t="<0.0.0"}else{t="*"}}else if(s&&v){if(p){o=0}u=0;if(s===">"){s=">=";if(p){a=+a+1;o=0;u=0}else{o=+o+1;u=0}}else if(s==="<="){s="<";if(p){a=+a+1}else{o=+o+1}}t=s+a+"."+o+"."+u}else if(p){t=">="+a+".0.0 <"+(+a+1)+".0.0"}else if(d){t=">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0"}r("xRange return",t);return t}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(u[Y],"")}function hyphenReplace(e,t,r,s,a,o,u,c,h,p,d,v,m){if(isX(r)){t=""}else if(isX(s)){t=">="+r+".0.0"}else if(isX(a)){t=">="+r+"."+s+".0"}else{t=">="+t}if(isX(h)){c=""}else if(isX(p)){c="<"+(+h+1)+".0.0"}else if(isX(d)){c="<"+h+"."+(+p+1)+".0"}else if(v){c="<="+h+"."+p+"."+d+"-"+v}else{c="<="+c}return(t+" "+c).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var o=e[a].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===-1){s=e;a=new SemVer(s,r)}}}));return s}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===1){s=e;a=new SemVer(s,r)}}}));return s}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var s=0;s":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,s){e=new SemVer(e,s);t=new Range(t,s);var a,o,u,c,h;switch(r){case">":a=gt;o=lte;u=lt;c=">";h=">=";break;case"<":a=lt;o=gte;u=gt;c="<";h="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,s)){return false}for(var p=0;p=0.0.0")}v=v||e;m=m||e;if(a(e.semver,v.semver,s)){v=e}else if(u(e.semver,m.semver,s)){m=e}}));if(v.operator===c||v.operator===h){return false}if((!m.operator||m.operator===c)&&o(e,m.semver)){return false}else if(m.operator===h&&u(e,m.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(u[P]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},9344:e=>{e.exports=function(e){[process.stdout,process.stderr].forEach((function(t){if(t._handle&&t.isTTY&&typeof t._handle.setBlocking==="function"){t._handle.setBlocking(e)}}))}},4931:(e,t,r)=>{var s=r(2357);var a=r(3710);var o=r(8614);if(typeof o!=="function"){o=o.EventEmitter}var u;if(process.__signal_exit_emitter__){u=process.__signal_exit_emitter__}else{u=process.__signal_exit_emitter__=new o;u.count=0;u.emitted={}}if(!u.infinite){u.setMaxListeners(Infinity);u.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(h===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){u.removeListener(r,e);if(u.listeners("exit").length===0&&u.listeners("afterexit").length===0){unload()}};u.on(r,e);return remove};e.exports.unload=unload;function unload(){if(!h){return}h=false;a.forEach((function(e){try{process.removeListener(e,c[e])}catch(e){}}));process.emit=d;process.reallyExit=p;u.count-=1}function emit(e,t,r){if(u.emitted[e]){return}u.emitted[e]=true;u.emit(e,t,r)}var c={};a.forEach((function(e){c[e]=function listener(){var t=process.listeners(e);if(t.length===u.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}}));e.exports.signals=function(){return a};e.exports.load=load;var h=false;function load(){if(h){return}h=true;u.count+=1;a=a.filter((function(e){try{process.on(e,c[e]);return true}catch(e){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var d=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=d.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return d.apply(this,arguments)}}},3710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},4957:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={};var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(var s=0;s>=1;var D=w?-g:g;if(v==0){r+=D;p.push(r)}else if(v===1){s+=D;p.push(s)}else if(v===2){a+=D;p.push(a)}else if(v===3){o+=D;p.push(o)}else if(v===4){u+=D;p.push(u)}v++;g=m=0}}}if(p.length)h.push(new Int32Array(p));c.push(h);return c}function encode(e){var t=0;var r=0;var s=0;var a=0;var o="";for(var u=0;u0)o+=";";if(c.length===0)continue;var h=0;var p=[];for(var d=0,v=c;d1){g+=encodeInteger(m[1]-t)+encodeInteger(m[2]-r)+encodeInteger(m[3]-s);t=m[1];r=m[2];s=m[3]}if(m.length===5){g+=encodeInteger(m[4]-a);a=m[4]}p.push(g)}o+=p.join(",")}return o}function encodeInteger(e){var t="";e=e<0?-e<<1|1:e<<1;do{var s=e&31;e>>=5;if(e>0){s|=32}t+=r[s]}while(e>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},2577:(e,t,r)=>{"use strict";const s=r(3520);const a=r(4882);e.exports=e=>{if(typeof e!=="string"||e.length===0){return 0}e=s(e);let t=0;for(let r=0;r=127&&s<=159){continue}if(s>=768&&s<=879){continue}if(s>65535){r++}t+=a(s)?2:1}return t}},9139:e=>{"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},3520:(e,t,r)=>{"use strict";const s=r(9139);e.exports=e=>typeof e==="string"?e.replace(s(),""):e},4841:(e,t,r)=>{"use strict";var s=r(2279).Buffer;var a=s.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(s.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=s.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,r){var s=t.length-1;if(s=0){if(a>0)e.lastNeed=a-1;return a}if(--s=0){if(a>0)e.lastNeed=a-2;return a}if(--s=0){if(a>0){if(a===2)a=0;else e.lastNeed=a-3}return a}return 0}function utf8CheckExtraBytes(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var r=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var s=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,s);return e.toString("utf8",t,s)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var s=r.charCodeAt(r.length-1);if(s>=55296&&s<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function base64Text(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},2279:(e,t,r)=>{var s=r(4293);var a=s.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=s}else{copyProps(s,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return a(e,t,r)}copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var s=a(e);if(t!==undefined){if(typeof r==="string"){s.fill(t,r)}else{s.fill(t)}}else{s.fill(0)}return s};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s.SlowBuffer(e)}},5591:(e,t,r)=>{"use strict";var s=r(5465)();e.exports=function(e){return typeof e==="string"?e.replace(s,""):e}},5465:e=>{"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},5278:(e,t,r)=>{e.exports=r(1669).deprecate},8034:(e,t,r)=>{"use strict";var s=r(2577);t.center=alignCenter;t.left=alignLeft;t.right=alignRight;function createPadding(e){var t="";var r=" ";var s=e;do{if(s%2){t+=r}s=Math.floor(s/2);r+=r}while(s);return t}function alignLeft(e,t){var r=e.trimRight();if(r.length===0&&e.length>=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o="";var u=s(r);if(u{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const s=r(5622);const{readFileSync:a,readFile:o,stat:u,lstat:c,readlink:h,statSync:p}=r(7758);const{walk:d}=r(6465);const v=r(5734);const{attachScopes:m}=r(5648);const g=r(798);let y=r(390);const _=r(8384);const E=r(8357);const x=r(1331);const w=r(1957);const D=r(8011);const C=r(3953);const{pregyp:A,nbind:S}=r(5277);const k=r(9646);const{getOptions:F}=r(3432);const R=r(9283);const T=r(4723);const I=r(2087);const B=r(4090);const{pathToFileURL:N,fileURLToPath:O}=r(8835);y=y.Parser.extend(r(4259),r(104),r(9406));const P=[".js",".json",".node"];const{UNKNOWN:L,FUNCTION:j,WILDCARD:M,wildcardRegEx:V}=g;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}const q=new Map;let U;let $=0;function getAssetState(e,t){let r=q.get(t);if(!r){q.set(t,r={stateId:++$,entryIds:getEntryIds(t),assets:Object.create(null),assetNames:Object.create(null),assetMeta:Object.create(null),assetSymlinks:Object.create(null),hadOptions:false})}if(!r.hadOptions){r.hadOptions=true;if(e&&e.existingAssetNames){e.existingAssetNames.forEach((e=>{r.assetNames[e]=true}))}}return U=r}const flattenArray=e=>Array.prototype.concat.apply([],e);function getEntryIds(e){if(e.options.entry){if(typeof e.options.entry==="string"){try{return[R.sync(e.options.entry,{extensions:P})]}catch(e){return}}else if(typeof e.options.entry==="object"){try{return flattenArray(Object.values(e.options.entry).map((e=>{if(typeof e==="string"){return[e]}if(e&&Array.isArray(e.import)){return e.import}return[]}))).map((e=>R.sync(e,{extensions:P})))}catch(e){return}}}}function assetBase(e){if(!e)return"";if(e.endsWith("/")||e.endsWith("\\"))return e;return e+"/"}const H={cwd:()=>se,env:{NODE_ENV:L,[L]:true},[L]:true};const G=Symbol();const W=Symbol();const z=Symbol();const K=Symbol();const Q=Symbol();const X=Symbol();const J=Symbol();const Z={access:K,accessSync:K,createReadStream:K,exists:K,existsSync:K,fstat:K,fstatSync:K,lstat:K,lstatSync:K,open:K,readFile:K,readFileSync:K,stat:K,statSync:K};const Y=Object.assign(Object.create(null),{bindings:{default:X},express:{default:function(){return{[L]:true,set:G,engine:W}}},fs:{default:Z,...Z},process:{default:H,...H},path:{default:{}},os:{default:I,...I},"node-pre-gyp":A,"node-pre-gyp/lib/pre-binding":A,"node-pre-gyp/lib/pre-binding.js":A,"@mapbox/node-pre-gyp":A,"@mapbox/node-pre-gyp/lib/pre-binding":A,"@mapbox/node-pre-gyp/lib/pre-binding.js":A,"node-gyp-build":{default:J},nbind:{init:z,default:{init:z}},"resolve-from":{default:Q}});const ee={MONGOOSE_DRIVER_PATH:undefined,URL:URL};ee.global=ee.GLOBAL=ee.globalThis=ee;const te=Symbol();A.find[te]=true;const re=Y.path;Object.keys(s).forEach((e=>{const t=s[e];if(typeof t==="function"){const fn=function(){return t.apply(this,arguments)};fn[te]=true;re[e]=re.default[e]=fn}else{re[e]=re.default[e]=t}}));re.resolve=re.default.resolve=function(...e){return s.resolve.apply(this,[se,...e])};re.resolve[te]=true;const ie=new Set([".h",".cmake",".c",".cpp"]);const ne=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let se;function backtrack(e,t){if(!t||t.type!=="ArrayExpression")return e.skip()}const ae=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new URL(e);return true}catch{return false}}return ae.test(e)}return false}const oe=Symbol();function generateWildcardRequire(e,t,r,a,o){const u=a.length;const c=t.endsWith(M);const h=t.indexOf(M);const p=t.substr(0,h);const d=t.substr(h+1);const v=d?"?(.@(js|json|node))":".@(js|json|node)";if(o)console.log("Generating wildcard requires for "+t.replace(M,"*"));let m=w.sync(p+"**"+d+v,{mark:true,ignore:"node_modules/**/*"});if(!m.length)return;const g=m.map(((t,r)=>{const a=JSON.stringify(t.substring(p.length,t.lastIndexOf(d)));let o=s.relative(e,t).replace(/\\/g,"/");if(!o.startsWith("../"))o="./"+o;let u=r===0?" ":" else ";if(c&&a.endsWith('.js"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-4)}")`;else if(c&&a.endsWith('.json"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else if(c&&a.endsWith('.node"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else u+=`if (arg === ${a})`;u+=` return require(${JSON.stringify(o)});`;return u})).join("\n");a.push(`function __ncc_wildcard$${u} (arg) {\n${g}\n}`);return`__ncc_wildcard$${u}(${r})`}const ue=new WeakSet;function injectPathHook(e,t){const r=e.outputOptions.module;const{mainTemplate:a}=e;if(!ue.has(a)){ue.add(a);a.hooks.requireExtensions.tap("asset-relocator-loader",((e,a)=>{let o="";if(a.name){o=s.relative(s.dirname(a.name),".").replace(/\\/g,"/");if(o.length)o="/"+o}return`${e}\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = ${r?"new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\\/\\/\\/\\w:/) ? 1 : 0, -1)":"__dirname"} + ${JSON.stringify(o+"/"+assetBase(t))};`}))}}e.exports=async function(e,t){if(this.cacheable)this.cacheable();this.async();const r=this.resourcePath;const A=s.dirname(r);const T=F(this)||{};injectPathHook(this._compilation,T.outputAssetBase);if(r.endsWith(".node")){const t=getAssetState(T,this._compilation);const s=D(this.resourcePath)||A;await x(s,t,assetBase(T.outputAssetBase),this.emitFile);let a;if(!(a=t.assets[r]))a=t.assets[r]=E(r.substr(s.length+1).replace(/\\/g,"/"),r,t.assetNames);const o=await new Promise(((e,t)=>u(r,((r,s)=>r?t(r):e(s.mode)))));t.assetMeta[a]={path:r,permissions:o};this.emitFile(assetBase(T.outputAssetBase)+a,e);this.callback(null,"module.exports = __non_webpack_require__(__webpack_require__.ab + "+JSON.stringify(a)+")");return}if(r.endsWith(".json"))return this.callback(null,I,t);let I=e.toString();if(typeof T.production==="boolean"&&H.env.NODE_ENV===L){H.env.NODE_ENV=T.production?"production":"dev"}if(!se){if(typeof T.cwd==="string")se=s.resolve(T.cwd);else se=process.cwd()}const q=getAssetState(T,this._compilation);const U=q.entryIds;const $=D(r);const emitAsset=e=>{let t=s.basename(e);if(e.endsWith(".node")){if($)t=e.substr($.length+1).replace(/\\/g,"/");const r=x($,q,assetBase(T.outputAssetBase),this.emitFile);Z=Z.then((()=>r))}let a;if(!(a=q.assets[e])){a=q.assets[e]=E(t,e,q.assetNames);if(T.debugLog)console.log("Emitting "+e+" for static use in module "+r)}Z=Z.then((async()=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+a]=s.relative(r,s.resolve(r,t))}else{q.assetMeta[assetBase(T.outputAssetBase)+a]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+a,t)}}));return"__webpack_require__.ab + "+JSON.stringify(a).replace(/\\/g,"/")};const emitAssetDirectory=(e,t)=>{const a=e.indexOf(M);const u=a===-1?e.length:e.lastIndexOf(s.sep,a);const p=e.substr(0,u);const d=e.substr(u);const v=d.replace(V,((e,t)=>d[t-1]===s.sep?"**/*":"*/**/*"))||"/**/*";if(T.debugLog)console.log("Emitting directory "+p+v+" for static use in module "+r);const m=s.basename(p);const g=q.assets[p]||(q.assets[p]=E(m,p,q.assetNames,true));q.assets[p]=g;const y=w.sync(p+v,{mark:true,ignore:"node_modules/**/*"}).filter((e=>!ie.has(s.extname(e))&&!ne.has(s.basename(e))&&!e.endsWith("/")));if(!y.length)return;Z=Z.then((async()=>{await Promise.all(y.map((async e=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+g+e.substr(p.length)]=s.relative(r,s.resolve(r,t)).replace(/\\/g,"/")}else{q.assetMeta[assetBase(T.outputAssetBase)+g+e.substr(p.length)]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+g+e.substr(p.length),t)}})))}));let _="";let x="";if(t){let e=d;let r=true;for(const s of t){const t=e.indexOf(M);const a=e.substr(0,t);e=e.substr(t+1);if(r){x=a;r=false}else{_+=" + '"+JSON.stringify(a).slice(1,-1)+"'"}if(s.type==="SpreadElement")_+=" + "+I.substring(s.argument.start,s.argument.end)+".join('/')";else _+=" + "+I.substring(s.start,s.end)}if(e.length){_+=" + '"+JSON.stringify(e).replace(/\\/g,"/").slice(1,-1)+"'"}}return"__webpack_require__.ab + "+JSON.stringify((g+x).replace(/\\/g,"/"))+_};let Z=Promise.resolve();const re=new v(I);let ue,le;try{ue=y.parse(I,{allowReturnOutsideFunction:true,ecmaVersion:2020});le=false}catch(e){}if(!ue){try{ue=y.parse(I,{sourceType:"module",ecmaVersion:2020,allowAwaitOutsideFunction:true});le=true}catch(e){return this.callback(null,I,t)}}let ce=m(ue,"scope");let fe=false;const he=N(r).href;const pe=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:s.resolve(r,"..")},__filename:{shadowDepth:0,value:r},process:{shadowDepth:0,value:H}});if(!le){pe.require={shadowDepth:0,value:{[j](e){const t=Y[e];return t.default},resolve(e){return R.sync(e,{basedir:A,extensions:P})}}};pe.require.value.resolve[te]=true}let de=[];function setKnownBinding(e,t){if(e==="require")return;pe[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=pe[e];if(t){if(t.shadowDepth===0){return t.value}}}if(le){for(const e of ue.body){if(e.type==="ImportDeclaration"){const t=e.source.value;const r=Y[t];if(r){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,r);else if(t.type==="ImportDefaultSpecifier"&&"default"in r)setKnownBinding(t.local.name,r.default);else if(t.type==="ImportSpecifier"&&t.imported.name in r)setKnownBinding(t.local.name,r[t.imported.name])}}}}}function computePureStaticValue(e,t=true){const r=Object.create(null);Object.keys(pe).forEach((e=>{r[e]=getKnownBinding(e)}));Object.keys(ee).forEach((e=>{r[e]=ee[e]}));r["import.meta"]={url:he};const s=g(e,r,t);return s}let ve,me;let ge=false;let be;function isStaticRequire(e){return e&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length===1&&e.arguments[0].type==="Literal"}({ast:ue=ue,scope:ce=ce,transformed:fe=fe}=k({id:r,ast:ue,scope:ce,pkgBase:$,magicString:re,options:T,emitAsset:emitAsset,emitAssetDirectory:emitAssetDirectory})||{});d(ue,{enter(e,t){if(e.scope){ce=e.scope;for(const t in e.scope.declarations){if(t in pe)pe[t].shadowDepth++}}if(ve)return backtrack(this,t);if(e.type==="Identifier"){if(isIdentifierRead(e,t)){let r;if(typeof(r=getKnownBinding(e.name))==="string"&&r.match(ae)||r&&(typeof r==="function"||typeof r==="object")&&r[te]){me={value:typeof r==="string"?r:undefined};ve=e;return this.skip()}else if(!le&&e.name==="require"&&pe.require.shadowDepth===0&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,"__non_webpack_require__");fe=true;return this.skip()}else if(!le&&e.name==="__non_webpack_require__"&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,'eval("require")');fe=true;return this.skip()}}}else if(e.type==="MemberExpression"&&e.object.type==="MetaProperty"&&e.object.meta.name==="import"&&e.object.property.name==="meta"&&(e.property.computed?e.property.value:e.property.name)==="url"){me={value:he};ve=e;return this.skip()}else if(!le&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length){const c=e.arguments[0];const{result:h,sawIdentifier:p}=computePureStaticValue(c,true);if(!h){if(c.type==="LogicalExpression"&&c.operator==="||"&&c.left.type==="Identifier"){fe=true;re.overwrite(c.start,c.end,I.substring(c.right.start,c.right.end));return this.skip()}fe=true;re.overwrite(e.callee.start,e.callee.end,"__non_webpack_require__");return this.skip()}else if(typeof h.value==="string"&&p){if(h.wildcards){const t=s.resolve(A,h.value);if(h.wildcards.length===1&&validAssetEmission(t)){const r=generateWildcardRequire(A,t,I.substring(h.wildcards[0].start,h.wildcards[0].end),de,T.debugLog);if(r){re.overwrite(e.start,e.end,r);fe=true;return this.skip()}}}else if(h.value){let e;if(T.customEmit)e=T.customEmit(h.value,true);if(e===undefined)e=JSON.stringify(h.value);if(e!==false){re.overwrite(c.start,c.end,e);fe=true;return this.skip()}}}else if(h&&typeof h.then==="string"&&typeof h.else==="string"&&p){const e=computePureStaticValue(h.test,true).result;if(e&&"value"in e){if(e){fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.then));return this.skip()}else{fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.else));return this.skip()}}else{const e=I.substring(h.test.start,h.test.end);fe=true;re.overwrite(c.start,c.end,`${e} ? ${JSON.stringify(h.then)} : ${JSON.stringify(h.else)}`);return this.skip()}}else if(t.type==="CallExpression"&&t.callee===e){if(h.value==="pkginfo"&&t.arguments.length&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="module"){let e=new Set;for(let r=1;re.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&pe.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===s[0].name));if(a)o=e.body.body[t]}if(a&&e.body.body[t].type==="ReturnStatement"&&e.body.body[t].argument&&e.body.body[t].argument.type==="Identifier"&&e.body.body[t].argument.name===a.id.name){u=true;break}}if(u){let u=";";const c=e.type==="ArrowFunctionExpression"&&e.params[0].start===e.start;if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){e=t;u=","}be=r.name+"$$mod";setKnownBinding(r.name,oe);const h=u+I.substring(e.start,r.start)+be+I.substring(r.end,s[0].start+!c)+(c?"(":"")+a.id.name+", "+I.substring(s[0].start,s[s.length-1].end+!c)+(c?")":"")+I.substring(s[0].end+!c,o.start)+I.substring(o.end,e.end);re.appendRight(e.end,h)}}}},leave(e,t){if(e.scope){ce=ce.parent;for(const t in e.scope.declarations){if(t in pe){if(pe[t].shadowDepth>0)pe[t].shadowDepth--;else delete pe[t]}}}if(ve){const t=computePureStaticValue(e,true).result;if(t){if("value"in t&&typeof t.value!=="symbol"||typeof t.then!=="symbol"&&typeof t.else!=="symbol"){me=t;ve=e;return}}emitStaticChildAsset()}}});if(!fe)return this.callback(null,I,t);Z.then((()=>{if(de.length)re.appendLeft(ue.body[0].start,de.join("\n")+"\n");I=re.toString();t=t||re.generateMap();if(t){t.sources=[r]}this.callback(null,I,t)}));function validAssetEmission(e){if(!e)return;if(e===r)return;let t="";if(e.endsWith(s.sep))t=s.sep;else if(e.endsWith(s.sep+M))t=s.sep+M;else if(e.endsWith(M))t=M;if(!T.emitDirnameAll&&e===A+t)return;if(!T.emitFilterAssetBaseAll&&e===(T.filterAssetBase||se)+t)return;if(e.endsWith(s.sep+"node_modules"+t))return;if(A.startsWith(e.substr(0,e.length-t.length)+s.sep))return;if($){const t=r.substr(0,r.indexOf(s.sep+"node_modules"))+s.sep+"node_modules"+s.sep;if(!e.startsWith(t)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the package base "+$)}return}}else if(!e.startsWith(T.filterAssetBase||se)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the filterAssetBase directory "+(T.filterAssetBase||se))}return}if(T.customEmit){const t=T.customEmit(e,{id:r,isRequire:false});if(t===false)return;if(typeof t==="string")return()=>t}return assetEmission(e)}function assetEmission(e){const t=e.indexOf(M);const r=t===-1?e.length:e.lastIndexOf(s.sep,t);const a=e.substr(0,r);try{const e=p(a);if(t!==-1&&e.isFile())return;if(e.isFile())return emitAsset;if(e.isDirectory())return emitAssetDirectory}catch(e){return}}function resolveAbsolutePathOrUrl(e){return e instanceof URL?O(e):e.startsWith("file:")?O(new URL(e)):s.resolve(e)}function emitStaticChildAsset(e=false){if(isAbsolutePathOrUrl(me.value)){let t;try{t=resolveAbsolutePathOrUrl(me.value)}catch(e){}let r;if(r=validAssetEmission(t)){let s=r(t,me.wildcards);if(s){if(e)s="__non_webpack_require__("+s+")";re.overwrite(ve.start,ve.end,s);fe=true}}}else if(isAbsolutePathOrUrl(me.then)&&isAbsolutePathOrUrl(me.else)){let t;try{t=resolveAbsolutePathOrUrl(me.then)}catch(e){}let r;try{r=resolveAbsolutePathOrUrl(me.else)}catch(e){}let s;if(!e&&(s=validAssetEmission(t))&&s===validAssetEmission(r)){const e=s(t);const a=s(r);if(e&&a){re.overwrite(ve.start,ve.end,`${I.substring(me.test.start,me.test.end)} ? ${e} : ${a}`);fe=true}}}else if(ve.type==="ArrayExpression"&&me.value instanceof Array){for(let t=0;t{if(e)console.error(e);if(t){const e=JSON.parse(t);if(e.assetMeta)s.assetMeta=e.assetMeta;if(e.assetSymlinks)s.assetSymlinks=e.assetSymlinks}}));e.compiler.hooks.afterCompile.tap("relocate-loader",(e=>{const t=e.getCache?e.getCache():e.cache;if(t)t.store("/RelocateLoader/AssetState/"+JSON.stringify(r),null,JSON.stringify({assetMeta:s.assetMeta,assetSymlinks:s.assetSymlinks}),(e=>{if(e)console.error(e)}))}))}},5277:(__unused_webpack_module,exports,__nested_webpack_require_893430__)=>{const path=__nested_webpack_require_893430__(5622);const fs=__nested_webpack_require_893430__(5747);const versioning=__nested_webpack_require_893430__(887);const napi=__nested_webpack_require_893430__(480);const pregypFind=(e,t)=>{const r=JSON.parse(fs.readFileSync(e).toString());versioning.validate_config(r,t);var s;if(napi.get_napi_build_versions(r,t)){s=napi.get_best_napi_build_version(r,t)}t=t||{};if(!t.module_root)t.module_root=path.dirname(e);var a=versioning.evaluate(r,t,s);return a.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path.extname(basePath);for(var _i=0,specList_1=specList;_i{const s=r(5622);e.exports=getUniqueAssetName;function getUniqueAssetName(e,t,r,a){const o=s.extname(e);let u=e,c=0;while((u in r||a&&Object.keys(r).some((e=>e.startsWith(u+s.sep))))&&r[u]!==t){u=e.substr(0,e.length-o.length)+ ++c+o}r[u]=t;return u}},8011:e=>{const t=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;e.exports=function(e){const r=e.lastIndexOf("node_modules");if(r!==-1&&(e[r-1]==="/"||e[r-1]==="\\")&&(e[r+12]==="/"||e[r+12]==="\\")){const s=e.substr(r+13).match(t);if(s)return e.substr(0,r+13+s[0].length)}};e.exports.pkgNameRegEx=t},3953:(e,t,r)=>{const{existsSync:s}=r(5747);const{dirname:a}=r(5622);e.exports=function getPackageScope(e){let t=a(e);do{e=t;t=a(e);if(s(e+"/package.json"))return e}while(e!==t)}},4723:(e,t,r)=>{const{encode:s,decode:a}=r(4957);function traceSegment(e,t,r,s,a){const o=t[r];if(!o)return null;let u=0;let c=o.length-1;while(u<=c){const t=u+c>>1;const r=o[t];if(r[0]===s){return{source:r[1],line:r[2],column:r[3],name:e.names[r[4]]||a}}if(r[0]>s)c=t-1;else u=t+1}return null}e.exports=function(e,t){const r=[];const o=[];const u=[];const c=[];const h=a(e.mappings);for(const s of a(t.mappings)){const a=[];for(const c of s){const s=traceSegment(e,h,c[2],c[3],t.names[c[4]]);if(s){const t=e.sources[s.source];let h=r.lastIndexOf(t);if(h===-1){h=r.length;r.push(t);o[h]=e.sourcesContent[s.source]}else if(o[h]==null){o[h]=e.sourcesContent[s.source]}const p=[c[0],h,s.line,s.column];if(s.name){let e=u.indexOf(s.name);if(e===-1){e=u.length;u.push(s.name)}p[4]=e}a.push(p)}}c.push(a)}return{version:3,file:null,sources:r,mappings:s(c),names:u,sourcesContent:o}}},1331:(e,t,r)=>{const s=r(2087);const a=r(7758);const o=r(1957);const u=r(5622);let c;switch(s.platform()){case"darwin":c="/**/*.@(dylib|so?(.*))";break;case"win32":c="/**/*.dll";break;default:c="/**/*.so?(.*)"}e.exports=async function(e,t,r,s,h){const p=await new Promise(((t,r)=>o(e+c,{ignore:"node_modules/**/*"},((e,s)=>e?r(e):t(s)))));await Promise.all(p.map((async o=>{const[c,p]=await Promise.all([new Promise(((e,t)=>a.readFile(o,((r,s)=>r?t(r):e(s))))),await new Promise(((e,t)=>a.lstat(o,((r,s)=>r?t(r):e(s)))))]);if(p.isSymbolicLink()){const s=await new Promise(((e,t)=>{a.readlink(o,((r,s)=>r?t(r):e(s)))}));const c=u.dirname(o);t.assetSymlinks[r+o.substr(e.length+1)]=u.relative(c,u.resolve(c,s))}else{t.assetMeta[o.substr(e.length)]={path:o,permissions:p.mode};if(h)console.log("Emitting "+o+" for shared library support in "+e);s(r+o.substr(e.length+1),c)}})))}},9646:(e,t,r)=>{const s=r(5622);const a=r(9283);const o=r(5747);const u=r(5094);e.exports=function({id:e,code:t,pkgBase:r,ast:c,scope:h,magicString:p,emitAssetDirectory:d}){let v;({transformed:v,ast:c,scope:h}=u(c,h,p));if(v)return{transformed:v,ast:c,scope:h};if(e.endsWith("google-gax/build/src/grpc.js")||global._unit&&e.includes("google-gax")){for(const t of c.body){if(t.type==="VariableDeclaration"&&t.declarations[0].id.type==="Identifier"&&t.declarations[0].id.name==="googleProtoFilesDir"){const r=d(s.resolve(s.dirname(e),global._unit?"./":"../../../google-proto-files"));if(r){p.overwrite(t.declarations[0].init.start,t.declarations[0].init.end,r);t.declarations[0].init=null;return{transformed:true}}}}}else if(e.endsWith("socket.io/lib/index.js")||global._unit&&e.includes("socket.io")){function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const o=t.expression.right.arguments[0].arguments[0].value;try{var r=a.sync(o,{basedir:s.dirname(e)})}catch(e){return{transformed:false}}const u="/"+s.relative(s.dirname(e),r);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:u,raw:JSON.stringify(u)}};return{transformed:true}}return{transformed:false}}for(const e of c.body){if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.operator==="="&&e.expression.left.type==="MemberExpression"&&e.expression.left.object.type==="MemberExpression"&&e.expression.left.object.object.type==="Identifier"&&e.expression.left.object.object.name==="Server"&&e.expression.left.object.property.type==="Identifier"&&e.expression.left.object.property.name==="prototype"&&e.expression.left.property.type==="Identifier"&&e.expression.left.property.name==="serveClient"&&e.expression.right.type==="FunctionExpression"){let t;for(const r of e.expression.right.body.body)if(r.type==="IfStatement")t=r;const r=t&&t.consequent.body;let s=false;if(r&&r[0]&&r[0].type==="ExpressionStatement")s=replaceResolvePathStatement(r[0]);const a=r&&r[1]&&r[1].type==="TryStatement"&&r[1].block.body;if(a&&a[0])s=replaceResolvePathStatement(a[0])||s;return{transformed:s}}}}else if(e.endsWith("oracledb/lib/oracledb.js")||global._unit&&e.includes("oracledb")){for(const t of c.body){if(t.type==="ForStatement"&&t.body.body&&t.body.body[0]&&t.body.body[0].type==="TryStatement"&&t.body.body[0].block.body[0]&&t.body.body[0].block.body[0].type==="ExpressionStatement"&&t.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&t.body.body[0].block.body[0].expression.operator==="="&&t.body.body[0].block.body[0].expression.left.type==="Identifier"&&t.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&t.body.body[0].block.body[0].expression.right.type==="CallExpression"&&t.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.callee.name==="require"&&t.body.body[0].block.body[0].expression.right.arguments.length===1&&t.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&t.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&t.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){const r=t.body.body[0].block.body[0].expression.right.arguments[0];t.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const s=global._unit?"3.0.0":JSON.parse(o.readFileSync(e.slice(0,-15)+"package.json")).version;const a=Number(s.slice(0,s.indexOf(".")))>=4;const u="oracledb-"+(a?s:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";p.overwrite(r.start,r.end,global._unit?"'./oracledb.js'":"'../build/Release/"+u+"'");return{transformed:true}}}}return{transformed:false}}},798:e=>{e.exports=function(e,t={},r=true){const s={computeBranches:r,sawIdentifier:false,vars:t};const a=walk(e);return{result:a,sawIdentifier:s.sawIdentifier};function walk(e){const t=o[e.type];if(t)return t.call(s,e,walk)}};const t=e.exports.UNKNOWN=Symbol();const r=e.exports.FUNCTION=Symbol();const s=e.exports.WILDCARD="";const a=e.exports.wildcardRegEx=/\x1a/g;function countWildcards(e){a.lastIndex=0;let t=0;while(a.exec(e))t++;return t}const o={ArrayExpression(e,t){const r=[];for(let s=0,a=e.elements.length;s")return{test:a.test,then:a.then>o,else:a.else>o};if(r===">=")return{test:a.test,then:a.then>=o,else:a.else>=o};if(r==="|")return{test:a.test,then:a.then|o,else:a.else|o};if(r==="&")return{test:a.test,then:a.then&o,else:a.else&o};if(r==="^")return{test:a.test,then:a.then^o,else:a.else^o};if(r==="&&")return{test:a.test,then:a.then&&o,else:a.else&&o};if(r==="||")return{test:a.test,then:a.then||o,else:a.else||o}}else if("test"in o){a=a.value;if(r==="==")return{test:o.test,then:a==o.then,else:a==o.else};if(r==="===")return{test:o.test,then:a===o.then,else:a===o.else};if(r==="!=")return{test:o.test,then:a!=o.then,else:a!=o.else};if(r==="!==")return{test:o.test,then:a!==o.then,else:a!==o.else};if(r==="+")return{test:o.test,then:a+o.then,else:a+o.else};if(r==="-")return{test:o.test,then:a-o.then,else:a-o.else};if(r==="*")return{test:o.test,then:a*o.then,else:a*o.else};if(r==="/")return{test:o.test,then:a/o.then,else:a/o.else};if(r==="%")return{test:o.test,then:a%o.then,else:a%o.else};if(r==="<")return{test:o.test,then:a")return{test:o.test,then:a>o.then,else:a>o.else};if(r===">=")return{test:o.test,then:a>=o.then,else:a>=o.else};if(r==="|")return{test:o.test,then:a|o.then,else:a|o.else};if(r==="&")return{test:o.test,then:a&o.then,else:a&o.else};if(r==="^")return{test:o.test,then:a^o.then,else:a^o.else};if(r==="&&")return{test:o.test,then:a&&o.then,else:a&&o.else};if(r==="||")return{test:o.test,then:a||o.then,else:a||o.else}}else{if(r==="==")return{value:a.value==o.value};if(r==="===")return{value:a.value===o.value};if(r==="!=")return{value:a.value!=o.value};if(r==="!==")return{value:a.value!==o.value};if(r==="+"){const e={value:a.value+o.value};if(a.wildcards||o.wildcards)e.wildcards=[...a.wildcards||[],...o.wildcards||[]];return e}if(r==="-")return{value:a.value-o.value};if(r==="*")return{value:a.value*o.value};if(r==="/")return{value:a.value/o.value};if(r==="%")return{value:a.value%o.value};if(r==="<")return{value:a.value")return{value:a.value>o.value};if(r===">=")return{value:a.value>=o.value};if(r==="|")return{value:a.value|o.value};if(r==="&")return{value:a.value&o.value};if(r==="^")return{value:a.value^o.value};if(r==="&&")return{value:a.value&&o.value};if(r==="||")return{value:a.value||o.value}}return},CallExpression(e,a){const o=a(e.callee);if(!o||"test"in o)return;let u=o.value;if(typeof u==="object"&&u!==null)u=u[r];if(typeof u!=="function")return;const c=e.callee.object&&a(e.callee.object).value||null;let h;let p=[];let d;let v=e.arguments.length>0;const m=[];for(let t=0,r=e.arguments.length;tm.push(e)))}else{if(!this.computeBranches)return;r={value:s};m.push(e.arguments[t])}if("test"in r){if(m.length)return;if(h)return;h=r.test;d=p.concat([]);p.push(r.then);d.push(r.else)}else{p.push(r.value);if(d)d.push(r.value)}}if(v)return;try{const e=u.apply(c,p);if(e===t)return;if(!h){if(m.length){if(typeof e!=="string"||countWildcards(e)!==m.length)return;return{value:e,wildcards:m}}return{value:e}}const r=u.apply(c,d);if(e===t)return;return{test:h,then:e,else:r}}catch(e){return}},ConditionalExpression(e,t){const r=t(e.test);if(r&&"value"in r)return r.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const s=t(e.consequent);if(!s||"wildcards"in s||"test"in s)return;const a=t(e.alternate);if(!a||"wildcards"in a||"test"in a)return;return{test:e.test,then:s.value,else:a.value}},ExpressionStatement(e,t){return t(e.expression)},Identifier(e){this.sawIdentifier=true;if(Object.hasOwnProperty.call(this.vars,e.name)){const r=this.vars[e.name];if(r===t)return;return{value:r}}return},Literal(e){return{value:e.value}},MemberExpression(e,r){const s=r(e.object);if(!s||"test"in s||typeof s.value==="function")return;if(e.property.type==="Identifier"){if(typeof s.value==="object"&&s.value!==null){if(e.property.name in s.value){const r=s.value[e.property.name];if(r===t)return;return{value:r}}else if(s.value[t])return}else{return{value:undefined}}}const a=r(e.property);if(!a||"test"in a)return;if(typeof s.value==="object"&&s.value!==null){if(a.value in s.value){const e=s.value[a.value];if(e===t)return;return{value:e}}else if(s.value[t]){return}}else{return{value:undefined}}},MetaProperty:function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta"){return{value:this.vars["import.meta"]}}return undefined},NewExpression:function NewExpression(e,t){const r=t(e.callee);if(r&&"value"in r&&r.value===URL&&e.arguments.length){const r=t(e.arguments[0]);if(!r)return undefined;let s=null;if(e.arguments[1]){s=t(e.arguments[1]);if(!s||!("value"in s))return undefined}if("value"in r){if(s){try{return{value:new URL(r.value,s.value)}}catch{return undefined}}try{return{value:new URL(r.value)}}catch{return undefined}}else{const e=r.test;if(s){try{return{test:e,then:new URL(r.then,s.value),else:new URL(r.else,s.value)}}catch{return undefined}}try{return{test:e,then:new URL(r.then),else:new URL(r.else)}}catch{return undefined}}}return undefined},ObjectExpression(e,r){const s={};for(let a=0;a{const{walk:s}=r(6465);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e,t,r){let a=false;let o;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)o=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&e.body[0].expression.arguments.length===1)o=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssgnmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)o=e.body[0].expression.right;if(o){if(o.arguments[0].type==="ConditionalExpression"&&o.arguments[0].test.type==="LogicalExpression"&&o.arguments[0].test.operator==="&&"&&o.arguments[0].test.left.type==="BinaryExpression"&&o.arguments[0].test.left.operator==="==="&&o.arguments[0].test.left.left.type==="UnaryExpression"&&o.arguments[0].test.left.left.operator==="typeof"&&o.arguments[0].test.left.left.argument.name==="define"&&o.arguments[0].test.left.right.type==="Literal"&&o.arguments[0].test.left.right.value==="function"&&o.arguments[0].test.right.type==="MemberExpression"&&o.arguments[0].test.right.object.type==="Identifier"&&o.arguments[0].test.right.property.type==="Identifier"&&o.arguments[0].test.right.property.name==="amd"&&o.arguments[0].test.right.computed===false&&o.arguments[0].alternate.type==="FunctionExpression"&&o.arguments[0].alternate.params.length===1&&o.arguments[0].alternate.params[0].type==="Identifier"&&o.arguments[0].alternate.body.body.length===1&&o.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&o.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&o.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&o.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&o.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&o.arguments[0].alternate.body.body[0].expression.left.computed===false&&o.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&o.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.callee.name===o.arguments[0].alternate.params[0].name&&o.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=o.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===o.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){r.remove(e[0].expression.arguments[0].params[0].start,e[0].expression.arguments[0].params[0].end);a=true}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===0&&(o.arguments[0].body.body.length===1||o.arguments[0].body.body.length===2&&o.arguments[0].body.body[0].type==="VariableDeclaration"&&o.arguments[0].body.body[0].declarations.length===3&&o.arguments[0].body.body[0].declarations.every((e=>e.init===null&&e.id.type==="Identifier")))&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].type==="ReturnStatement"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.length&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.every((e=>e.type==="Literal"&&typeof e.value==="number"))&&(o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"||o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.type==="FunctionExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.arguments.length===0)&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments.length===3&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[1].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[2].type==="ArrayExpression"){const e=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].properties;const t=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"?o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee:o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.body.body[0];let s;if(t.type==="FunctionDeclaration")s=t.body;else if(t.type==="ReturnStatement")s=t.argument.body;if(s){const e=s.body[0].body.body[0].consequent.body[0].consequent.body[0].declarations[0].init;const t=s.body[1].init.declarations[0].init;e.right.name="_";t.right.name="_";r.overwrite(e.start,e.end,"__non_webpack_require__");r.overwrite(t.start,t.end,"__non_webpack_require__");a=true}const u={};if(e.every((e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression")return false;const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed)return false;if(isUndefinedOrVoid(e.value))u[e.key.value||e.key.name]=true}return true}))){const e=Object.keys(u);if(e.length){const t=(o.arguments[0].body.body[1]||o.arguments[0].body.body[0]).argument.callee.arguments[1];const s=e.map((e=>`"${e}": { exports: require("${e}") }`)).join(",\n ");r.appendRight(t.end-1,s);a=true}}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===2&&o.arguments[0].params[0].type==="Identifier"&&o.arguments[0].params[1].type==="Identifier"&&o.callee.body.body.length===1){const e=o.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let t;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")t=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")t=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.right.type==="CallExpression")t=e.consequent.body[0].expression.right;if(t&&t.callee.type==="Identifier"&&t.callee.name===o.callee.params[0].name&&t.arguments.length===2&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="require"&&t.arguments[1].type==="Identifier"&&t.arguments[1].name==="exports"){r.remove(o.arguments[0].params[0].start,o.arguments[0].params[o.arguments[0].params.length-1].end);a=true}}}else if(o.callee.type==="FunctionExpression"&&o.callee.params.length===1&&o.callee.body.body.length>2&&o.callee.body.body[0].type==="VariableDeclaration"&&o.callee.body.body[0].declarations.length===1&&o.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&o.callee.body.body[0].declarations[0].id.type==="Identifier"&&o.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&o.callee.body.body[0].declarations[0].init.properties.length===0&&o.callee.body.body[1].type==="FunctionDeclaration"&&o.callee.body.body[1].params.length===1&&o.callee.body.body[1].body.body.length===3&&o.arguments[0].type==="ArrayExpression"&&o.arguments[0].elements.length>0&&o.arguments[0].elements.every((e=>e.type==="FunctionExpression"))){const e=new Map;for(let t=0;te===t)))s.arguments=s.arguments.map((r=>r===t?e:r));else if(s.init===t)s.init=e}}}})}}}}return{ast:e,scope:t,transformed:a}}e.exports=handleWrappers},282:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"}}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":">= 10 && < 10.1","_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0","node-inspect/lib/internal/inspect_client":">= 7.6.0","node-inspect/lib/internal/inspect_repl":">= 7.6.0","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0"],"v8":">= 1","vm":true,"worker_threads":">= 11.7","zlib":true}')},2357:e=>{"use strict";e.exports=__webpack_require__(491)},4293:e=>{"use strict";e.exports=__webpack_require__(709)},3129:e=>{"use strict";e.exports=__webpack_require__(81)},7619:e=>{"use strict";e.exports=__webpack_require__(57)},6417:e=>{"use strict";e.exports=__webpack_require__(113)},8614:e=>{"use strict";e.exports=__webpack_require__(361)},5747:e=>{"use strict";e.exports=__webpack_require__(147)},2087:e=>{"use strict";e.exports=__webpack_require__(37)},5622:e=>{"use strict";e.exports=__webpack_require__(17)},2413:e=>{"use strict";e.exports=__webpack_require__(781)},8835:e=>{"use strict";e.exports=__webpack_require__(310)},1669:e=>{"use strict";e.exports=__webpack_require__(837)}};var __webpack_module_cache__={};function __nested_webpack_require_971402__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__nested_webpack_require_971402__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return t.exports}__nested_webpack_require_971402__.ab=__dirname+"/";return __nested_webpack_require_971402__(6265)})()},300:(e,t,r)=>{e.exports=r(901)},491:e=>{"use strict";e.exports=require("assert")},709:e=>{"use strict";e.exports=require("buffer")},81:e=>{"use strict";e.exports=require("child_process")},57:e=>{"use strict";e.exports=require("constants")},113:e=>{"use strict";e.exports=require("crypto")},361:e=>{"use strict";e.exports=require("events")},147:e=>{"use strict";e.exports=require("fs")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")},781:e=>{"use strict";e.exports=require("stream")},310:e=>{"use strict";e.exports=require("url")},837:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(300);module.exports=__webpack_exports__})(); \ No newline at end of file + */var isNumber=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false};const toRegexRange=(e,t,r)=>{if(isNumber(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(isNumber(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s=Object.assign({relaxZeros:true},r);if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let a=String(s.relaxZeros);let o=String(s.shorthand);let u=String(s.capture);let c=String(s.wrap);let h=e+":"+t+"="+a+o+u+c;if(toRegexRange.cache.hasOwnProperty(h)){return toRegexRange.cache[h].result}let p=Math.min(e,t);let d=Math.max(e,t);if(Math.abs(p-d)===1){let r=e+"|"+t;if(s.capture){return`(${r})`}if(s.wrap===false){return r}return`(?:${r})`}let v=hasPadding(e)||hasPadding(t);let m={min:e,max:t,a:p,b:d};let g=[];let y=[];if(v){m.isPadded=v;m.maxLen=String(m.max).length}if(p<0){let e=d<0?Math.abs(d):1;y=splitToPatterns(e,Math.abs(p),m,s);p=m.a=0}if(d>=0){g=splitToPatterns(p,d,m,s)}m.negatives=y;m.positives=g;m.result=collatePatterns(y,g,s);if(s.capture===true){m.result=`(${m.result})`}else if(s.wrap!==false&&g.length+y.length>1){m.result=`(?:${m.result})`}toRegexRange.cache[h]=m;return m.result};function collatePatterns(e,t,r){let s=filterPatterns(e,t,"-",false,r)||[];let a=filterPatterns(t,e,"",false,r)||[];let o=filterPatterns(e,t,"-?",true,r)||[];let u=s.concat(o).concat(a);return u.join("|")}function splitToRanges(e,t){let r=1;let s=1;let a=countNines(e,r);let o=new Set([t]);while(e<=a&&a<=t){o.add(a);r+=1;a=countNines(e,r)}a=countZeros(t+1,s)-1;while(e1){c.count.pop()}c.count.push(h.count[0]);c.string=c.pattern+toQuantifier(c.count);u=t+1;continue}if(r.isPadded){p=padZeros(t,r,s)}h.string=p+h.pattern+toQuantifier(h.count);o.push(h);u=t+1;c=h}return o}function filterPatterns(e,t,r,s,a){let o=[];for(let a of e){let{string:e}=a;if(!s&&!contains(t,"string",e)){o.push(r+e)}if(s&&contains(t,"string",e)){o.push(r+e)}}return o}function zip(e,t){let r=[];for(let s=0;st?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let s=Math.abs(t.maxLen-String(e).length);let a=r.relaxZeros!==false;switch(s){case 0:return"";case 1:return a?"0?":"0";case 2:return a?"0{0,2}":"00";default:{return a?`0{0,${s}}`:`0{${s}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};var S=toRegexRange;const isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const transform=e=>t=>e===true?Number(t):String(t);const isValidValue=e=>typeof e==="number"||typeof e==="string"&&e!=="";const isNumber$1=e=>Number.isInteger(+e);const zeros=e=>{let t=`${e}`;let r=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++r]==="0");return r>0};const stringify$1=(e,t,r)=>{if(typeof e==="string"||typeof t==="string"){return true}return r.stringify===true};const pad=(e,t,r)=>{if(t>0){let r=e[0]==="-"?"-":"";if(r)e=e.slice(1);e=r+e.padStart(r?t-1:t,"0")}if(r===false){return String(e)}return e};const toMaxLen=(e,t)=>{let r=e[0]==="-"?"-":"";if(r){e=e.slice(1);t--}while(e.length{e.negatives.sort(((e,t)=>et?1:0));e.positives.sort(((e,t)=>et?1:0));let r=t.capture?"":"?:";let s="";let a="";let o;if(e.positives.length){s=e.positives.join("|")}if(e.negatives.length){a=`-(${r}${e.negatives.join("|")})`}if(s&&a){o=`${s}|${a}`}else{o=s||a}if(t.wrap){return`(${r}${o})`}return o};const toRange=(e,t,r,s)=>{if(r){return S(e,t,Object.assign({wrap:false},s))}let a=String.fromCharCode(e);if(e===t)return a;let o=String.fromCharCode(t);return`[${a}-${o}]`};const toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=r.wrap===true;let s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return S(e,t,r)};const rangeError=(...e)=>new RangeError("Invalid range arguments: "+u.inspect(...e));const invalidRange=(e,t,r)=>{if(r.strictRanges===true)throw rangeError([e,t]);return[]};const invalidStep=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const fillNumbers=(e,t,r=1,s={})=>{let a=Number(e);let o=Number(t);if(!Number.isInteger(a)||!Number.isInteger(o)){if(s.strictRanges===true)throw rangeError([e,t]);return[]}if(a===0)a=0;if(o===0)o=0;let u=a>o;let c=String(e);let h=String(t);let p=String(r);r=Math.max(Math.abs(r),1);let d=zeros(c)||zeros(h)||zeros(p);let v=d?Math.max(c.length,h.length,p.length):0;let m=d===false&&stringify$1(e,t,s)===false;let g=s.transform||transform(m);if(s.toRegex&&r===1){return toRange(toMaxLen(e,v),toMaxLen(t,v),true,s)}let y={negatives:[],positives:[]};let push=e=>y[e<0?"negatives":"positives"].push(Math.abs(e));let _=[];let E=0;while(u?a>=o:a<=o){if(s.toRegex===true&&r>1){push(a)}else{_.push(pad(g(a,E),v,m))}a=u?a-r:a+r;E++}if(s.toRegex===true){return r>1?toSequence(y,s):toRegex(_,null,Object.assign({wrap:false},s))}return _};const fillLetters=(e,t,r=1,s={})=>{if(!isNumber$1(e)&&e.length>1||!isNumber$1(t)&&t.length>1){return invalidRange(e,t,s)}let a=s.transform||(e=>String.fromCharCode(e));let o=`${e}`.charCodeAt(0);let u=`${t}`.charCodeAt(0);let c=o>u;let h=Math.min(o,u);let p=Math.max(o,u);if(s.toRegex&&r===1){return toRange(h,p,false,s)}let d=[];let v=0;while(c?o>=u:o<=u){d.push(a(o,v));o=c?o-r:o+r;v++}if(s.toRegex===true){return toRegex(d,null,{wrap:false,options:s})}return d};const fill=(e,t,r,s={})=>{if(t==null&&isValidValue(e)){return[e]}if(!isValidValue(e)||!isValidValue(t)){return invalidRange(e,t,s)}if(typeof r==="function"){return fill(e,t,1,{transform:r})}if(isObject(r)){return fill(e,t,0,r)}let a=Object.assign({},s);if(a.capture===true)a.wrap=true;r=r||a.step||1;if(!isNumber$1(r)){if(r!=null&&!isObject(r))return invalidStep(r,a);return fill(e,t,1,r)}if(isNumber$1(e)&&isNumber$1(t)){return fillNumbers(e,t,r,a)}return fillLetters(e,t,Math.max(Math.abs(r),1),a)};var k=fill;const compile=(e,t={})=>{let walk=(e,r={})=>{let s=m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o=s===true||a===true;let u=t.escapeInvalid===true?"\\":"";let c="";if(e.isOpen===true){return u+e.value}if(e.isClose===true){return u+e.value}if(e.type==="open"){return o?u+e.value:"("}if(e.type==="close"){return o?u+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":o?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=m.reduce(e.nodes);let s=k(...r,Object.assign({},t,{wrap:false,toRegex:true}));if(s.length!==0){return r.length>1&&s.length>1?`(${s})`:s}}if(e.nodes){for(let t of e.nodes){c+=walk(t,e)}}return c};return walk(e)};var F=compile;const append=(e="",t="",r=false)=>{let s=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?m.flatten(t).map((e=>`{${e}}`)):t}for(let a of e){if(Array.isArray(a)){for(let e of a){s.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;s.push(Array.isArray(e)?append(a,e,r):a+e)}}}return m.flatten(s)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,s={})=>{e.queue=[];let a=s;let o=s.queue;while(a.type!=="brace"&&a.type!=="root"&&a.parent){a=a.parent;o=a.queue}if(e.invalid||e.dollar){o.push(append(o.pop(),stringify(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){o.push(append(o.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let s=m.reduce(e.nodes);if(m.exceedsLimit(...s,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let a=k(...s,t);if(a.length===0){a=stringify(e,t)}o.push(append(o.pop(),a));e.nodes=[];return}let u=m.encloseBrace(e);let c=e.queue;let h=e;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;c=h.queue}for(let t=0;t",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:I,CHAR_BACKSLASH:B,CHAR_BACKTICK:N,CHAR_COMMA:O,CHAR_DOT:P,CHAR_LEFT_PARENTHESES:L,CHAR_RIGHT_PARENTHESES:j,CHAR_LEFT_CURLY_BRACE:M,CHAR_RIGHT_CURLY_BRACE:V,CHAR_LEFT_SQUARE_BRACKET:q,CHAR_RIGHT_SQUARE_BRACKET:U,CHAR_DOUBLE_QUOTE:$,CHAR_SINGLE_QUOTE:H,CHAR_NO_BREAK_SPACE:G,CHAR_ZERO_WIDTH_NOBREAK_SPACE:W}=T;const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let s=typeof r.maxLength==="number"?Math.min(I,r.maxLength):I;if(e.length>s){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${s})`)}let a={type:"root",input:e,nodes:[]};let o=[a];let u=a;let c=a;let h=0;let p=e.length;let d=0;let v=0;let m;const advance=()=>e[d++];const push=e=>{if(e.type==="text"&&c.type==="dot"){c.type="text"}if(c&&c.type==="text"&&e.type==="text"){c.value+=e.value;return}u.nodes.push(e);e.parent=u;e.prev=c;c=e;return e};push({type:"bos"});while(d0){if(u.ranges>0){u.ranges=0;let e=u.nodes.shift();u.nodes=[e,{type:"text",value:stringify(u)}]}push({type:"comma",value:m});u.commas++;continue}if(m===P&&v>0&&u.commas===0){let e=u.nodes;if(v===0||e.length===0){push({type:"text",value:m});continue}if(c.type==="dot"){u.range=[];c.value+=m;c.type="range";if(u.nodes.length!==3&&u.nodes.length!==5){u.invalid=true;u.ranges=0;c.type="text";continue}u.ranges++;u.args=[];continue}if(c.type==="range"){e.pop();let t=e[e.length-1];t.value+=c.value+m;c=t;u.ranges--;continue}push({type:"dot",value:m});continue}push({type:"text",value:m})}do{u=o.pop();if(u.type!=="root"){u.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=o[o.length-1];let t=e.nodes.indexOf(u);e.nodes.splice(t,1,...u.nodes)}}while(o.length>0);push({type:"eos"});return a};var z=parse;const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let s of e){let e=braces.create(s,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>z(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return stringify(braces.parse(e,t),t)}return stringify(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return F(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=R(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};var K=braces;const Q="\\\\/";const X=`[^${Q}]`;const J="\\.";const Z="\\+";const Y="\\?";const ee="\\/";const te="(?=.)";const re="[^/]";const ie=`(?:${ee}|$)`;const ne=`(?:^|${ee})`;const se=`${J}{1,2}${ie}`;const ae=`(?!${J})`;const oe=`(?!${ne}${se})`;const ue=`(?!${J}{0,1}${ie})`;const le=`(?!${se})`;const ce=`[^.${ee}]`;const fe=`${re}*?`;const he={DOT_LITERAL:J,PLUS_LITERAL:Z,QMARK_LITERAL:Y,SLASH_LITERAL:ee,ONE_CHAR:te,QMARK:re,END_ANCHOR:ie,DOTS_SLASH:se,NO_DOT:ae,NO_DOTS:oe,NO_DOT_SLASH:ue,NO_DOTS_SLASH:le,QMARK_NO_DOT:ce,STAR:fe,START_ANCHOR:ne};const pe=Object.assign({},he,{SLASH_LITERAL:`[${Q}]`,QMARK:X,STAR:`${X}*?`,DOTS_SLASH:`${J}{1,2}(?:[${Q}]|$)`,NO_DOT:`(?!${J})`,NO_DOTS:`(?!(?:^|[${Q}])${J}{1,2}(?:[${Q}]|$))`,NO_DOT_SLASH:`(?!${J}{0,1}(?:[${Q}]|$))`,NO_DOTS_SLASH:`(?!${J}{1,2}(?:[${Q}]|$))`,QMARK_NO_DOT:`[^.${Q}]`,START_ANCHOR:`(?:^|[${Q}])`,END_ANCHOR:`(?:[${Q}]|$)`});const de={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"};var ve={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:de,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,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:a.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?pe:he}};var me=createCommonjsModule((function(e,t){const r=process.platform==="win32";const{REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o,REGEX_REMOVE_BACKSLASH:u}=ve;t.isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);t.hasRegexChars=e=>s.test(e);t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e);t.escapeRegex=e=>e.replace(o,"\\$1");t.toPosixSlashes=e=>e.replace(/\\/g,"/");t.removeBackslashes=e=>e.replace(u,(e=>e==="\\"?"":e));t.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".");if(e.length===3&&+e[0]>=9||+e[0]===8&&+e[1]>=10){return true}return false};t.isWindows=e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return r===true||a.sep==="\\"};t.escapeLast=(e,r,s)=>{let a=e.lastIndexOf(r,s);if(a===-1)return e;if(e[a-1]==="\\")return t.escapeLast(e,r,a-1);return e.slice(0,a)+"\\"+e.slice(a)}}));var ge=me.isObject;var be=me.hasRegexChars;var ye=me.isRegexChar;var _e=me.escapeRegex;var Ee=me.toPosixSlashes;var xe=me.removeBackslashes;var we=me.supportsLookbehinds;var De=me.isWindows;var Ce=me.escapeLast;const{CHAR_ASTERISK:Ae,CHAR_AT:Se,CHAR_BACKWARD_SLASH:ke,CHAR_COMMA:Fe,CHAR_DOT:Re,CHAR_EXCLAMATION_MARK:Te,CHAR_FORWARD_SLASH:Ie,CHAR_LEFT_CURLY_BRACE:Be,CHAR_LEFT_PARENTHESES:Ne,CHAR_LEFT_SQUARE_BRACKET:Oe,CHAR_PLUS:Pe,CHAR_QUESTION_MARK:Le,CHAR_RIGHT_CURLY_BRACE:je,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Ve}=ve;const isPathSeparator=e=>e===Ie||e===ke;var scan=(e,t)=>{let r=t||{};let s=e.length-1;let a=-1;let o=0;let u=0;let c=false;let h=false;let p=false;let d=0;let v;let m;let g=false;let eos=()=>a>=s;let advance=()=>{v=m;return e.charCodeAt(++a)};while(a0){y=e.slice(0,o);e=e.slice(o);u-=o}if(E&&c===true&&u>0){E=e.slice(0,u);x=e.slice(u)}else if(c===true){E="";x=e}else{E=e}if(E&&E!==""&&E!=="/"&&E!==e){if(isPathSeparator(E.charCodeAt(E.length-1))){E=E.slice(0,-1)}}if(r.unescape===true){if(x)x=me.removeBackslashes(x);if(E&&h===true){E=me.removeBackslashes(E)}}return{prefix:y,input:_,base:E,glob:x,negated:p,isGlob:c}};const{MAX_LENGTH:qe,POSIX_REGEX_SOURCE:Ue,REGEX_NON_SPECIAL_CHAR:$e,REGEX_SPECIAL_CHARS_BACKREF:He,REPLACEMENTS:Ge}=ve;const expandRange=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();let r=`[${e.join("-")}]`;try{}catch(t){return e.map((e=>me.escapeRegex(e))).join("..")}return r};const negate=e=>{let t=1;while(e.peek()==="!"&&(e.peek(2)!=="("||e.peek(3)==="?")){e.advance();e.start++;t++}if(t%2===0){return false}e.negated=true;e.start++;return true};const syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`;const parse$1=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=Ge[e]||e;let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}let o={type:"bos",value:"",output:r.prepend||""};let u=[o];let c=r.capture?"":"?:";let h=me.isWindows(t);const p=ve.globChars(h);const d=ve.extglobChars(p);const{DOT_LITERAL:v,PLUS_LITERAL:m,SLASH_LITERAL:g,ONE_CHAR:y,DOTS_SLASH:_,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:w,QMARK:D,QMARK_NO_DOT:C,STAR:A,START_ANCHOR:S}=p;const globstar=e=>`(${c}(?:(?!${S}${e.dot?_:v}).)*?)`;let k=r.dot?"":E;let F=r.bash===true?globstar(r):A;let R=r.dot?D:C;if(r.capture){F=`(${F})`}if(typeof r.noext==="boolean"){r.noextglob=r.noext}let T={index:-1,start:0,consumed:"",output:"",backtrack:false,brackets:0,braces:0,parens:0,quotes:0,tokens:u};let I=[];let B=[];let N=o;let O;const eos=()=>T.index===a-1;const P=T.peek=(t=1)=>e[T.index+t];const L=T.advance=()=>e[++T.index];const append=e=>{T.output+=e.output!=null?e.output:e.value;T.consumed+=e.value||""};const increment=e=>{T[e]++;B.push(e)};const decrement=e=>{T[e]--;B.pop()};const push=e=>{if(N.type==="globstar"){let t=T.braces>0&&(e.type==="comma"||e.type==="brace");let r=I.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!r){T.output=T.output.slice(0,-N.output.length);N.type="star";N.value="*";N.output=F;T.output+=N.output}}if(I.length&&e.type!=="paren"&&!d[e.value]){I[I.length-1].inner+=e.value}if(e.value||e.output)append(e);if(N&&N.type==="text"&&e.type==="text"){N.value+=e.value;return}e.prev=N;u.push(e);N=e};const extglobOpen=(e,t)=>{let s=Object.assign({},d[t],{conditions:1,inner:""});s.prev=N;s.parens=T.parens;s.output=T.output;let a=(r.capture?"(":"")+s.open;push({type:e,value:t,output:T.output?"":y});push({type:"paren",extglob:true,value:L(),output:a});increment("parens");I.push(s)};const extglobClose=t=>{let s=t.close+(r.capture?")":"");if(t.type==="negate"){let a=F;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){a=globstar(r)}if(a!==F||eos()||/^\)+$/.test(e.slice(T.index+1))){s=t.close=")$))"+a}if(t.prev.type==="bos"&&eos()){T.negatedExtglob=true}}push({type:"paren",extglob:true,value:O,output:s});decrement("parens")};if(r.fastpaths!==false&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=false;let s=e.replace(He,((e,r,s,a,o,u)=>{if(a==="\\"){t=true;return e}if(a==="?"){if(r){return r+a+(o?D.repeat(o.length):"")}if(u===0){return R+(o?D.repeat(o.length):"")}return D.repeat(s.length)}if(a==="."){return v.repeat(s.length)}if(a==="*"){if(r){return r+a+(o?F:"")}return F}return r?e:"\\"+e}));if(t===true){if(r.unescape===true){s=s.replace(/\\/g,"")}else{s=s.replace(/\\+/g,(e=>e.length%2===0?"\\\\":e?"\\":""))}}T.output=s;return T}while(!eos()){O=L();if(O==="\0"){continue}if(O==="\\"){let t=P();if(t==="/"&&r.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){O+="\\";push({type:"text",value:O});continue}let s=/^\\+/.exec(e.slice(T.index+1));let a=0;if(s&&s[0].length>2){a=s[0].length;T.index+=a;if(a%2!==0){O+="\\"}}if(r.unescape===true){O=L()||""}else{O+=L()||""}if(T.brackets===0){push({type:"text",value:O});continue}}if(T.brackets>0&&(O!=="]"||N.value==="["||N.value==="[^")){if(r.posix!==false&&O===":"){let e=N.value.slice(1);if(e.includes("[")){N.posix=true;if(e.includes(":")){let e=N.value.lastIndexOf("[");let t=N.value.slice(0,e);let r=N.value.slice(e+2);let s=Ue[r];if(s){N.value=t+s;T.backtrack=true;L();if(!o.output&&u.indexOf(N)===1){o.output=y}continue}}}}if(O==="["&&P()!==":"||O==="-"&&P()==="]"){O="\\"+O}if(O==="]"&&(N.value==="["||N.value==="[^")){O="\\"+O}if(r.posix===true&&O==="!"&&N.value==="["){O="^"}N.value+=O;append({value:O});continue}if(T.quotes===1&&O!=='"'){O=me.escapeRegex(O);N.value+=O;append({value:O});continue}if(O==='"'){T.quotes=T.quotes===1?0:1;if(r.keepQuotes===true){push({type:"text",value:O})}continue}if(O==="("){push({type:"paren",value:O});increment("parens");continue}if(O===")"){if(T.parens===0&&r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}let e=I[I.length-1];if(e&&T.parens===e.parens+1){extglobClose(I.pop());continue}push({type:"paren",value:O,output:T.parens?")":"\\)"});decrement("parens");continue}if(O==="["){if(r.nobracket===true||!e.slice(T.index+1).includes("]")){if(r.nobracket!==true&&r.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}O="\\"+O}else{increment("brackets")}push({type:"bracket",value:O});continue}if(O==="]"){if(r.nobracket===true||N&&N.type==="bracket"&&N.value.length===1){push({type:"text",value:O,output:"\\"+O});continue}if(T.brackets===0){if(r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:O,output:"\\"+O});continue}decrement("brackets");let e=N.value.slice(1);if(N.posix!==true&&e[0]==="^"&&!e.includes("/")){O="/"+O}N.value+=O;append({value:O});if(r.literalBrackets===false||me.hasRegexChars(e)){continue}let t=me.escapeRegex(N.value);T.output=T.output.slice(0,-N.value.length);if(r.literalBrackets===true){T.output+=t;N.value=t;continue}N.value=`(${c}${t}|${N.value})`;T.output+=N.value;continue}if(O==="{"&&r.nobrace!==true){push({type:"brace",value:O,output:"("});increment("braces");continue}if(O==="}"){if(r.nobrace===true||T.braces===0){push({type:"text",value:O,output:"\\"+O});continue}let e=")";if(T.dots===true){let t=u.slice();let s=[];for(let e=t.length-1;e>=0;e--){u.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){s.unshift(t[e].value)}}e=expandRange(s,r);T.backtrack=true}push({type:"brace",value:O,output:e});decrement("braces");continue}if(O==="|"){if(I.length>0){I[I.length-1].conditions++}push({type:"text",value:O});continue}if(O===","){let e=O;if(T.braces>0&&B[B.length-1]==="braces"){e="|"}push({type:"comma",value:O,output:e});continue}if(O==="/"){if(N.type==="dot"&&T.index===1){T.start=T.index+1;T.consumed="";T.output="";u.pop();N=o;continue}push({type:"slash",value:O,output:g});continue}if(O==="."){if(T.braces>0&&N.type==="dot"){if(N.value===".")N.output=v;N.type="dots";N.output+=O;N.value+=O;T.dots=true;continue}push({type:"dot",value:O,output:v});continue}if(O==="?"){if(N&&N.type==="paren"){let e=P();let t=O;if(e==="<"&&!me.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(N.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/[!=]/.test(P(2))){t="\\"+O}push({type:"text",value:O,output:t});continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("qmark",O);continue}if(r.dot!==true&&(N.type==="slash"||N.type==="bos")){push({type:"qmark",value:O,output:C});continue}push({type:"qmark",value:O,output:D});continue}if(O==="!"){if(r.noextglob!==true&&P()==="("){if(P(2)!=="?"||!/[!=<:]/.test(P(3))){extglobOpen("negate",O);continue}}if(r.nonegate!==true&&T.index===0){negate(T);continue}}if(O==="+"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("plus",O);continue}if(N&&(N.type==="bracket"||N.type==="paren"||N.type==="brace")){let e=N.extglob===true?"\\"+O:O;push({type:"plus",value:O,output:e});continue}if(T.parens>0&&r.regex!==false){push({type:"plus",value:O});continue}push({type:"plus",value:m});continue}if(O==="@"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){push({type:"at",value:O,output:""});continue}push({type:"text",value:O});continue}if(O!=="*"){if(O==="$"||O==="^"){O="\\"+O}let t=$e.exec(e.slice(T.index+1));if(t){O+=t[0];T.index+=t[0].length}push({type:"text",value:O});continue}if(N&&(N.type==="globstar"||N.star===true)){N.type="star";N.star=true;N.value+=O;N.output=F;T.backtrack=true;T.consumed+=O;continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("star",O);continue}if(N.type==="star"){if(r.noglobstar===true){T.consumed+=O;continue}let t=N.prev;let s=t.prev;let a=t.type==="slash"||t.type==="bos";let o=s&&(s.type==="star"||s.type==="globstar");if(r.bash===true&&(!a||!eos()&&P()!=="/")){push({type:"star",value:O,output:""});continue}let u=T.braces>0&&(t.type==="comma"||t.type==="brace");let c=I.length&&(t.type==="pipe"||t.type==="paren");if(!a&&t.type!=="paren"&&!u&&!c){push({type:"star",value:O,output:""});continue}while(e.slice(T.index+1,T.index+4)==="/**"){let t=e[T.index+4];if(t&&t!=="/"){break}T.consumed+="/**";T.index+=3}if(t.type==="bos"&&eos()){N.type="globstar";N.value+=O;N.output=globstar(r);T.output=N.output;T.consumed+=O;continue}if(t.type==="slash"&&t.prev.type!=="bos"&&!o&&eos()){T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=globstar(r)+"|$)";N.value+=O;T.output+=t.output+N.output;T.consumed+=O;continue}let h=P();if(t.type==="slash"&&t.prev.type!=="bos"&&h==="/"){let e=P(2)!==void 0?"|$":"";T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=`${globstar(r)}${g}|${g}${e})`;N.value+=O;T.output+=t.output+N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}if(t.type==="bos"&&h==="/"){N.type="globstar";N.value+=O;N.output=`(?:^|${g}|${globstar(r)}${g})`;T.output=N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}T.output=T.output.slice(0,-N.output.length);N.type="globstar";N.output=globstar(r);N.value+=O;T.output+=N.output;T.consumed+=O;continue}let t={type:"star",value:O,output:F};if(r.bash===true){t.output=".*?";if(N.type==="bos"||N.type==="slash"){t.output=k+t.output}push(t);continue}if(N&&(N.type==="bracket"||N.type==="paren")&&r.regex===true){t.output=O;push(t);continue}if(T.index===T.start||N.type==="slash"||N.type==="dot"){if(N.type==="dot"){T.output+=x;N.output+=x}else if(r.dot===true){T.output+=w;N.output+=w}else{T.output+=k;N.output+=k}if(P()!=="*"){T.output+=y;N.output+=y}}push(t)}while(T.brackets>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));T.output=me.escapeLast(T.output,"[");decrement("brackets")}while(T.parens>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));T.output=me.escapeLast(T.output,"(");decrement("parens")}while(T.braces>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));T.output=me.escapeLast(T.output,"{");decrement("braces")}if(r.strictSlashes!==true&&(N.type==="star"||N.type==="bracket")){push({type:"maybe_slash",value:"",output:`${g}?`})}if(T.backtrack===true){T.output="";for(let e of T.tokens){T.output+=e.output!=null?e.output:e.value;if(e.suffix){T.output+=e.suffix}}}return T};parse$1.fastpaths=(e,t)=>{let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}e=Ge[e]||e;let o=me.isWindows(t);const{DOT_LITERAL:u,SLASH_LITERAL:c,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:v,NO_DOTS_SLASH:m,STAR:g,START_ANCHOR:y}=ve.globChars(o);let _=r.capture?"":"?:";let E=r.bash===true?".*?":g;let x=r.dot?v:d;let w=r.dot?m:d;if(r.capture){E=`(${E})`}const globstar=e=>`(${_}(?:(?!${y}${e.dot?p:u}).)*?)`;const create=e=>{switch(e){case"*":return`${x}${h}${E}`;case".*":return`${u}${h}${E}`;case"*.*":return`${x}${E}${u}${h}${E}`;case"*/*":return`${x}${E}${c}${h}${w}${E}`;case"**":return x+globstar(r);case"**/*":return`(?:${x}${globstar(r)}${c})?${w}${h}${E}`;case"**/*.*":return`(?:${x}${globstar(r)}${c})?${w}${E}${u}${h}${E}`;case"**/.*":return`(?:${x}${globstar(r)}${c})?${u}${h}${E}`;default:{let r=/^(.*?)\.(\w+)$/.exec(e);if(!r)return;let s=create(r[1],t);if(!s)return;return s+u+r[2]}}};let D=create(e);if(D&&r.strictSlashes!==true){D+=`${c}?`}return D};var We=parse$1;const picomatch=(e,t,r=false)=>{if(Array.isArray(e)){let s=e.map((e=>picomatch(e,t,r)));return e=>{for(let t of s){let r=t(e);if(r)return r}return false}}if(typeof e!=="string"||e===""){throw new TypeError("Expected pattern to be a non-empty string")}let s=t||{};let a=me.isWindows(t);let o=picomatch.makeRe(e,t,false,true);let u=o.state;delete o.state;let isIgnored=()=>false;if(s.ignore){let e=Object.assign({},t,{ignore:null,onMatch:null,onResult:null});isIgnored=picomatch(s.ignore,e,r)}const matcher=(r,c=false)=>{let{isMatch:h,match:p,output:d}=picomatch.test(r,o,t,{glob:e,posix:a});let v={glob:e,state:u,regex:o,posix:a,input:r,output:d,match:p,isMatch:h};if(typeof s.onResult==="function"){s.onResult(v)}if(h===false){v.isMatch=false;return c?v:false}if(isIgnored(r)){if(typeof s.onIgnore==="function"){s.onIgnore(v)}v.isMatch=false;return c?v:false}if(typeof s.onMatch==="function"){s.onMatch(v)}return c?v:true};if(r){matcher.state=u}return matcher};picomatch.test=(e,t,r,{glob:s,posix:a}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}let o=r||{};let u=o.format||(a?me.toPosixSlashes:null);let c=e===s;let h=c&&u?u(e):e;if(c===false){h=u?u(e):e;c=h===s}if(c===false||o.capture===true){if(o.matchBase===true||o.basename===true){c=picomatch.matchBase(e,t,r,a)}else{c=t.exec(h)}}return{isMatch:!!c,match:c,output:h}};picomatch.matchBase=(e,t,r,s=me.isWindows(r))=>{let o=t instanceof RegExp?t:picomatch.makeRe(t,r);return o.test(a.basename(e))};picomatch.isMatch=(e,t,r)=>picomatch(t,r)(e);picomatch.parse=(e,t)=>We(e,t);picomatch.scan=(e,t)=>scan(e,t);picomatch.makeRe=(e,t,r=false,s=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let a=t||{};let o=a.contains?"":"^";let u=a.contains?"":"$";let c={negated:false,fastpaths:true};let h="";let p;if(e.startsWith("./")){e=e.slice(2);h=c.prefix="./"}if(a.fastpaths!==false&&(e[0]==="."||e[0]==="*")){p=We.fastpaths(e,t)}if(p===void 0){c=picomatch.parse(e,t);c.prefix=h+(c.prefix||"");p=c.output}if(r===true){return p}let d=`${o}(?:${p})${u}`;if(c&&c.negated===true){d=`^(?!${d}).*$`}let v=picomatch.toRegex(d,t);if(s===true){v.state=c}return v};picomatch.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}};picomatch.constants=ve;var ze=picomatch;var Ke=ze;const isEmptyString=e=>typeof e==="string"&&(e===""||e==="./");const micromatch=(e,t,r)=>{t=[].concat(t);e=[].concat(e);let s=new Set;let a=new Set;let o=new Set;let u=0;let onResult=e=>{o.add(e.output);if(r&&r.onResult){r.onResult(e)}};for(let o=0;o!s.has(e)));if(r&&h.length===0){if(r.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(r.nonull===true||r.nullglob===true){return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}}return h};micromatch.match=micromatch;micromatch.matcher=(e,t)=>Ke(e,t);micromatch.isMatch=(e,t,r)=>Ke(t,r)(e);micromatch.any=micromatch.isMatch;micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let s=new Set;let a=[];let onResult=e=>{if(r.onResult)r.onResult(e);a.push(e.output)};let o=micromatch(e,t,Object.assign({},r,{onResult:onResult}));for(let e of a){if(!o.includes(e)){s.add(e)}}return[...s]};micromatch.contains=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}if(Array.isArray(t)){return t.some((t=>micromatch.contains(e,t,r)))}if(typeof t==="string"){if(isEmptyString(e)||isEmptyString(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return micromatch.isMatch(e,t,Object.assign({},r,{contains:true}))};micromatch.matchKeys=(e,t,r)=>{if(!me.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let s=micromatch(Object.keys(e),t,r);let a={};for(let t of s)a[t]=e[t];return a};micromatch.some=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(s.some((e=>t(e)))){return true}}return false};micromatch.every=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(!s.every((e=>t(e)))){return false}}return true};micromatch.all=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}return[].concat(t).every((t=>Ke(t,r)(e)))};micromatch.capture=(e,t,r)=>{let s=me.isWindows(r);let a=Ke.makeRe(String(e),Object.assign({},r,{capture:true}));let o=a.exec(s?me.toPosixSlashes(t):t);if(o){return o.slice(1).map((e=>e===void 0?"":e))}};micromatch.makeRe=(...e)=>Ke.makeRe(...e);micromatch.scan=(...e)=>Ke.scan(...e);micromatch.parse=(e,t)=>{let r=[];for(let s of[].concat(e||[])){for(let e of K(String(s),t)){r.push(Ke.parse(e,t))}}return r};micromatch.braces=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return K(e,t)};micromatch.braceExpand=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return micromatch.braces(e,Object.assign({},t,{expand:true}))};var Qe=micromatch;function ensureArray(e){if(Array.isArray(e))return e;if(e==undefined)return[];return[e]}function getMatcherString(e,t){if(t===false){return e}return s.resolve(...typeof t==="string"?[t,e]:[e])}const Xe=function createFilter(e,t,r){const a=r&&r.resolve;const getMatcher=e=>e instanceof RegExp?e:{test:Qe.matcher(getMatcherString(e,a).split(s.sep).join("/"),{dot:true})};const o=ensureArray(e).map(getMatcher);const u=ensureArray(t).map(getMatcher);return function(e){if(typeof e!=="string")return false;if(/\0/.test(e))return false;e=e.split(s.sep).join("/");for(let t=0;tt.toUpperCase())).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(e[0])||Ye.has(e)){e=`_${e}`}return e||"_"};function stringify$2(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,(e=>`\\u${("000"+e.charCodeAt(0).toString(16)).slice(-4)}`))}function serializeArray(e,t,r){let s="[";const a=t?"\n"+r+t:"";for(let o=0;o0?",":""}${a}${serialize(u,t,r+t)}`}return s+`${t?"\n"+r:""}]`}function serializeObject(e,t,r){let s="{";const a=t?"\n"+r+t:"";const o=Object.keys(e);for(let u=0;u0?",":""}${a}${h}:${t?" ":""}${serialize(e[c],t,r+t)}`}return s+`${t?"\n"+r:""}}`}function serialize(e,t,r){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0&&1/e===-Infinity)return"-0";if(e instanceof Date)return"new Date("+e.getTime()+")";if(e instanceof RegExp)return e.toString();if(e!==e)return"NaN";if(Array.isArray(e))return serializeArray(e,t,r);if(e===null)return"null";if(typeof e==="object")return serializeObject(e,t,r);return stringify$2(e)}const tt=function dataToEsm(e,t={}){const r=t.compact?"":"indent"in t?t.indent:"\t";const s=t.compact?"":" ";const a=t.compact?"":"\n";const o=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const a=serialize(e,t.compact?null:r,"");const o=s||(/^[{[\-\/]/.test(a)?"":" ");return`export default${o}${a};`}let u="";const c=[];const h=Object.keys(e);for(let p=0;p{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var s=256;var a=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var u=t.re=[];var c=t.src=[];var h=0;var p=h++;c[p]="0|[1-9]\\d*";var d=h++;c[d]="[0-9]+";var v=h++;c[v]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var m=h++;c[m]="("+c[p]+")\\."+"("+c[p]+")\\."+"("+c[p]+")";var g=h++;c[g]="("+c[d]+")\\."+"("+c[d]+")\\."+"("+c[d]+")";var y=h++;c[y]="(?:"+c[p]+"|"+c[v]+")";var _=h++;c[_]="(?:"+c[d]+"|"+c[v]+")";var E=h++;c[E]="(?:-("+c[y]+"(?:\\."+c[y]+")*))";var x=h++;c[x]="(?:-?("+c[_]+"(?:\\."+c[_]+")*))";var w=h++;c[w]="[0-9A-Za-z-]+";var D=h++;c[D]="(?:\\+("+c[w]+"(?:\\."+c[w]+")*))";var C=h++;var A="v?"+c[m]+c[E]+"?"+c[D]+"?";c[C]="^"+A+"$";var S="[v=\\s]*"+c[g]+c[x]+"?"+c[D]+"?";var k=h++;c[k]="^"+S+"$";var F=h++;c[F]="((?:<|>)?=?)";var R=h++;c[R]=c[d]+"|x|X|\\*";var T=h++;c[T]=c[p]+"|x|X|\\*";var I=h++;c[I]="[v=\\s]*("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:"+c[E]+")?"+c[D]+"?"+")?)?";var B=h++;c[B]="[v=\\s]*("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:"+c[x]+")?"+c[D]+"?"+")?)?";var N=h++;c[N]="^"+c[F]+"\\s*"+c[I]+"$";var O=h++;c[O]="^"+c[F]+"\\s*"+c[B]+"$";var P=h++;c[P]="(?:^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";var L=h++;c[L]="(?:~>?)";var j=h++;c[j]="(\\s*)"+c[L]+"\\s+";u[j]=new RegExp(c[j],"g");var M="$1~";var V=h++;c[V]="^"+c[L]+c[I]+"$";var q=h++;c[q]="^"+c[L]+c[B]+"$";var U=h++;c[U]="(?:\\^)";var $=h++;c[$]="(\\s*)"+c[U]+"\\s+";u[$]=new RegExp(c[$],"g");var H="$1^";var G=h++;c[G]="^"+c[U]+c[I]+"$";var W=h++;c[W]="^"+c[U]+c[B]+"$";var z=h++;c[z]="^"+c[F]+"\\s*("+S+")$|^$";var K=h++;c[K]="^"+c[F]+"\\s*("+A+")$|^$";var Q=h++;c[Q]="(\\s*)"+c[F]+"\\s*("+S+"|"+c[I]+")";u[Q]=new RegExp(c[Q],"g");var X="$1$2$3";var J=h++;c[J]="^\\s*("+c[I]+")"+"\\s+-\\s+"+"("+c[I]+")"+"\\s*$";var Z=h++;c[Z]="^\\s*("+c[B]+")"+"\\s+-\\s+"+"("+c[B]+")"+"\\s*$";var Y=h++;c[Y]="(<|>)?=?\\s*\\*";for(var ee=0;ees){return null}var r=t.loose?u[k]:u[C];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>s){throw new TypeError("version is longer than "+s+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?u[k]:u[C]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>a||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>a||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>a||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,s){if(typeof r==="string"){s=r;r=undefined}try{return new SemVer(e,r).inc(t,s).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var s=parse(t);var a="";if(r.prerelease.length||s.prerelease.length){a="pre";var o="prerelease"}for(var u in r){if(u==="major"||u==="minor"||u==="patch"){if(r[u]!==s[u]){return a+u}}}return o}}t.compareIdentifiers=compareIdentifiers;var te=/^[0-9]+$/;function compareIdentifiers(e,t){var r=te.test(e);var s=te.test(t);if(r&&s){e=+e;t=+t}return e===t?0:r&&!s?-1:s&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,s){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,s);case"!=":return neq(e,r,s);case">":return gt(e,r,s);case">=":return gte(e,r,s);case"<":return lt(e,r,s);case"<=":return lte(e,r,s);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===re){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var re={};Comparator.prototype.parse=function(e){var t=this.options.loose?u[z]:u[K];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1];if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=re}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===re){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){r=new Range(this.value,t);return satisfies(e.semver,r,t)}var s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var a=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var c=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var h=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return s||a||o&&u||c||h};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var s=t?u[Z]:u[J];e=e.replace(s,hyphenReplace);r("hyphen replace",e);e=e.replace(u[Q],X);r("comparator trim",e,u[Q]);e=e.replace(u[j],M);e=e.replace(u[$],H);e=e.split(/\s+/).join(" ");var a=t?u[z]:u[K];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(a)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var s=t.loose?u[q]:u[V];return e.replace(s,(function(t,s,a,o,u){r("tilde",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else if(u){r("replaceTilde pr",u);c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}r("tilde return",c);return c}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var s=t.loose?u[W]:u[G];return e.replace(s,(function(t,s,a,o,u){r("caret",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){if(s==="0"){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+".0 <"+(+s+1)+".0.0"}}else if(u){r("replaceCaret pr",u);if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+(+s+1)+".0.0"}}else{r("no pr");if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+" <"+(+s+1)+".0.0"}}r("caret return",c);return c}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var s=t.loose?u[O]:u[N];return e.replace(s,(function(t,s,a,o,u,c){r("xRange",e,t,s,a,o,u,c);var h=isX(a);var p=h||isX(o);var d=p||isX(u);var v=d;if(s==="="&&v){s=""}if(h){if(s===">"||s==="<"){t="<0.0.0"}else{t="*"}}else if(s&&v){if(p){o=0}u=0;if(s===">"){s=">=";if(p){a=+a+1;o=0;u=0}else{o=+o+1;u=0}}else if(s==="<="){s="<";if(p){a=+a+1}else{o=+o+1}}t=s+a+"."+o+"."+u}else if(p){t=">="+a+".0.0 <"+(+a+1)+".0.0"}else if(d){t=">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0"}r("xRange return",t);return t}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(u[Y],"")}function hyphenReplace(e,t,r,s,a,o,u,c,h,p,d,v,m){if(isX(r)){t=""}else if(isX(s)){t=">="+r+".0.0"}else if(isX(a)){t=">="+r+"."+s+".0"}else{t=">="+t}if(isX(h)){c=""}else if(isX(p)){c="<"+(+h+1)+".0.0"}else if(isX(d)){c="<"+h+"."+(+p+1)+".0"}else if(v){c="<="+h+"."+p+"."+d+"-"+v}else{c="<="+c}return(t+" "+c).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var o=e[a].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===-1){s=e;a=new SemVer(s,r)}}}));return s}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===1){s=e;a=new SemVer(s,r)}}}));return s}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var s=0;s":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,s){e=new SemVer(e,s);t=new Range(t,s);var a,o,u,c,h;switch(r){case">":a=gt;o=lte;u=lt;c=">";h=">=";break;case"<":a=lt;o=gte;u=gt;c="<";h="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,s)){return false}for(var p=0;p=0.0.0")}v=v||e;m=m||e;if(a(e.semver,v.semver,s)){v=e}else if(u(e.semver,m.semver,s)){m=e}}));if(v.operator===c||v.operator===h){return false}if((!m.operator||m.operator===c)&&o(e,m.semver)){return false}else if(m.operator===h&&u(e,m.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(u[P]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},9344:e=>{e.exports=function(e){[process.stdout,process.stderr].forEach((function(t){if(t._handle&&t.isTTY&&typeof t._handle.setBlocking==="function"){t._handle.setBlocking(e)}}))}},4931:(e,t,r)=>{var s=r(2357);var a=r(3710);var o=r(8614);if(typeof o!=="function"){o=o.EventEmitter}var u;if(process.__signal_exit_emitter__){u=process.__signal_exit_emitter__}else{u=process.__signal_exit_emitter__=new o;u.count=0;u.emitted={}}if(!u.infinite){u.setMaxListeners(Infinity);u.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(h===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){u.removeListener(r,e);if(u.listeners("exit").length===0&&u.listeners("afterexit").length===0){unload()}};u.on(r,e);return remove};e.exports.unload=unload;function unload(){if(!h){return}h=false;a.forEach((function(e){try{process.removeListener(e,c[e])}catch(e){}}));process.emit=d;process.reallyExit=p;u.count-=1}function emit(e,t,r){if(u.emitted[e]){return}u.emitted[e]=true;u.emit(e,t,r)}var c={};a.forEach((function(e){c[e]=function listener(){var t=process.listeners(e);if(t.length===u.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}}));e.exports.signals=function(){return a};e.exports.load=load;var h=false;function load(){if(h){return}h=true;u.count+=1;a=a.filter((function(e){try{process.on(e,c[e]);return true}catch(e){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var d=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=d.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return d.apply(this,arguments)}}},3710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},4957:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={};var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(var s=0;s>=1;var D=w?-g:g;if(v==0){r+=D;p.push(r)}else if(v===1){s+=D;p.push(s)}else if(v===2){a+=D;p.push(a)}else if(v===3){o+=D;p.push(o)}else if(v===4){u+=D;p.push(u)}v++;g=m=0}}}if(p.length)h.push(new Int32Array(p));c.push(h);return c}function encode(e){var t=0;var r=0;var s=0;var a=0;var o="";for(var u=0;u0)o+=";";if(c.length===0)continue;var h=0;var p=[];for(var d=0,v=c;d1){g+=encodeInteger(m[1]-t)+encodeInteger(m[2]-r)+encodeInteger(m[3]-s);t=m[1];r=m[2];s=m[3]}if(m.length===5){g+=encodeInteger(m[4]-a);a=m[4]}p.push(g)}o+=p.join(",")}return o}function encodeInteger(e){var t="";e=e<0?-e<<1|1:e<<1;do{var s=e&31;e>>=5;if(e>0){s|=32}t+=r[s]}while(e>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},2577:(e,t,r)=>{"use strict";const s=r(3520);const a=r(4882);e.exports=e=>{if(typeof e!=="string"||e.length===0){return 0}e=s(e);let t=0;for(let r=0;r=127&&s<=159){continue}if(s>=768&&s<=879){continue}if(s>65535){r++}t+=a(s)?2:1}return t}},9139:e=>{"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},3520:(e,t,r)=>{"use strict";const s=r(9139);e.exports=e=>typeof e==="string"?e.replace(s(),""):e},4841:(e,t,r)=>{"use strict";var s=r(2279).Buffer;var a=s.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(s.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=s.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,r){var s=t.length-1;if(s=0){if(a>0)e.lastNeed=a-1;return a}if(--s=0){if(a>0)e.lastNeed=a-2;return a}if(--s=0){if(a>0){if(a===2)a=0;else e.lastNeed=a-3}return a}return 0}function utf8CheckExtraBytes(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var r=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var s=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,s);return e.toString("utf8",t,s)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var s=r.charCodeAt(r.length-1);if(s>=55296&&s<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function base64Text(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},2279:(e,t,r)=>{var s=r(4293);var a=s.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=s}else{copyProps(s,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return a(e,t,r)}copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var s=a(e);if(t!==undefined){if(typeof r==="string"){s.fill(t,r)}else{s.fill(t)}}else{s.fill(0)}return s};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s.SlowBuffer(e)}},5591:(e,t,r)=>{"use strict";var s=r(5465)();e.exports=function(e){return typeof e==="string"?e.replace(s,""):e}},5465:e=>{"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},5278:(e,t,r)=>{e.exports=r(1669).deprecate},8034:(e,t,r)=>{"use strict";var s=r(2577);t.center=alignCenter;t.left=alignLeft;t.right=alignRight;function createPadding(e){var t="";var r=" ";var s=e;do{if(s%2){t+=r}s=Math.floor(s/2);r+=r}while(s);return t}function alignLeft(e,t){var r=e.trimRight();if(r.length===0&&e.length>=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o="";var u=s(r);if(u{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const s=r(5622);const{readFileSync:a,readFile:o,stat:u,lstat:c,readlink:h,statSync:p}=r(7758);const{walk:d}=r(6465);const v=r(5734);const{attachScopes:m}=r(5648);const g=r(798);let y=r(390);const _=r(8384);const E=r(8357);const x=r(1331);const w=r(1957);const D=r(8011);const C=r(3953);const{pregyp:A,nbind:S}=r(5277);const k=r(9646);const{getOptions:F}=r(3432);const R=r(9283);const T=r(4723);const I=r(2087);const B=r(4090);const{pathToFileURL:N,fileURLToPath:O}=r(8835);y=y.Parser.extend(r(4259),r(104),r(9406));const P=[".js",".json",".node"];const{UNKNOWN:L,FUNCTION:j,WILDCARD:M,wildcardRegEx:V}=g;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}const q=new Map;let U;let $=0;function getAssetState(e,t){let r=q.get(t);if(!r){q.set(t,r={stateId:++$,entryIds:getEntryIds(t),assets:Object.create(null),assetNames:Object.create(null),assetMeta:Object.create(null),assetSymlinks:Object.create(null),hadOptions:false})}if(!r.hadOptions){r.hadOptions=true;if(e&&e.existingAssetNames){e.existingAssetNames.forEach((e=>{r.assetNames[e]=true}))}}return U=r}const flattenArray=e=>Array.prototype.concat.apply([],e);function getEntryIds(e){if(e.options.entry){if(typeof e.options.entry==="string"){try{return[R.sync(e.options.entry,{extensions:P})]}catch(e){return}}else if(typeof e.options.entry==="object"){try{return flattenArray(Object.values(e.options.entry).map((e=>{if(typeof e==="string"){return[e]}if(e&&Array.isArray(e.import)){return e.import}return[]}))).map((e=>R.sync(e,{extensions:P})))}catch(e){return}}}}function assetBase(e){if(!e)return"";if(e.endsWith("/")||e.endsWith("\\"))return e;return e+"/"}const H={cwd:()=>se,env:{NODE_ENV:L,[L]:true},[L]:true};const G=Symbol();const W=Symbol();const z=Symbol();const K=Symbol();const Q=Symbol();const X=Symbol();const J=Symbol();const Z={access:K,accessSync:K,createReadStream:K,exists:K,existsSync:K,fstat:K,fstatSync:K,lstat:K,lstatSync:K,open:K,readFile:K,readFileSync:K,stat:K,statSync:K};const Y=Object.assign(Object.create(null),{bindings:{default:X},express:{default:function(){return{[L]:true,set:G,engine:W}}},fs:{default:Z,...Z},process:{default:H,...H},path:{default:{}},os:{default:I,...I},"node-pre-gyp":A,"node-pre-gyp/lib/pre-binding":A,"node-pre-gyp/lib/pre-binding.js":A,"@mapbox/node-pre-gyp":A,"@mapbox/node-pre-gyp/lib/pre-binding":A,"@mapbox/node-pre-gyp/lib/pre-binding.js":A,"node-gyp-build":{default:J},nbind:{init:z,default:{init:z}},"resolve-from":{default:Q}});const ee={MONGOOSE_DRIVER_PATH:undefined,URL:URL};ee.global=ee.GLOBAL=ee.globalThis=ee;const te=Symbol();A.find[te]=true;const re=Y.path;Object.keys(s).forEach((e=>{const t=s[e];if(typeof t==="function"){const fn=function(){return t.apply(this,arguments)};fn[te]=true;re[e]=re.default[e]=fn}else{re[e]=re.default[e]=t}}));re.resolve=re.default.resolve=function(...e){return s.resolve.apply(this,[se,...e])};re.resolve[te]=true;const ie=new Set([".h",".cmake",".c",".cpp"]);const ne=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let se;function backtrack(e,t){if(!t||t.type!=="ArrayExpression")return e.skip()}const ae=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new URL(e);return true}catch{return false}}return ae.test(e)}return false}const oe=Symbol();function generateWildcardRequire(e,t,r,a,o){const u=a.length;const c=t.split(s.sep).join(s.posix.sep);const h=e.split(s.sep).join(s.posix.sep);const p=c.endsWith(M);const d=c.indexOf(M);const v=c.substr(0,d);const m=c.substr(d+1);const g=m?"?(.@(js|json|node))":".@(js|json|node)";if(o)console.log("Generating wildcard requires for "+c.replace(M,"*"));let y=w.sync(v+"**"+m+g,{mark:true,ignore:"node_modules/**/*"});if(!y.length)return;const _=y.map(((e,t)=>{const r=JSON.stringify(e.substring(v.length,e.lastIndexOf(m)));let a=s.posix.relative(h,e);if(!a.startsWith("../"))a="./"+a;let o=t===0?" ":" else ";if(p&&r.endsWith('.js"'))o+=`if (arg === ${r} || arg === ${r.substr(0,r.length-4)}")`;else if(p&&r.endsWith('.json"'))o+=`if (arg === ${r} || arg === ${r.substr(0,r.length-6)}")`;else if(p&&r.endsWith('.node"'))o+=`if (arg === ${r} || arg === ${r.substr(0,r.length-6)}")`;else o+=`if (arg === ${r})`;o+=` return require(${JSON.stringify(a)});`;return o})).join("\n");a.push(`function __ncc_wildcard$${u} (arg) {\n${_}\n}`);return`__ncc_wildcard$${u}(${r})`}const ue=new WeakSet;function injectPathHook(e,t){const r=e.outputOptions.module;const{mainTemplate:a}=e;if(!ue.has(a)){ue.add(a);a.hooks.requireExtensions.tap("asset-relocator-loader",((e,a)=>{let o="";if(a.name){o=s.relative(s.dirname(a.name),".").replace(/\\/g,"/");if(o.length)o="/"+o}return`${e}\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = ${r?"new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\\/\\/\\/\\w:/) ? 1 : 0, -1)":"__dirname"} + ${JSON.stringify(o+"/"+assetBase(t))};`}))}}e.exports=async function(e,t){if(this.cacheable)this.cacheable();this.async();const r=this.resourcePath;const A=s.dirname(r);const T=F(this)||{};injectPathHook(this._compilation,T.outputAssetBase);if(r.endsWith(".node")){const t=getAssetState(T,this._compilation);const s=D(this.resourcePath)||A;await x(s,t,assetBase(T.outputAssetBase),this.emitFile);let a;if(!(a=t.assets[r]))a=t.assets[r]=E(r.substr(s.length+1).replace(/\\/g,"/"),r,t.assetNames);const o=await new Promise(((e,t)=>u(r,((r,s)=>r?t(r):e(s.mode)))));t.assetMeta[a]={path:r,permissions:o};this.emitFile(assetBase(T.outputAssetBase)+a,e);this.callback(null,"module.exports = __non_webpack_require__(__webpack_require__.ab + "+JSON.stringify(a)+")");return}if(r.endsWith(".json"))return this.callback(null,I,t);let I=e.toString();if(typeof T.production==="boolean"&&H.env.NODE_ENV===L){H.env.NODE_ENV=T.production?"production":"dev"}if(!se){if(typeof T.cwd==="string")se=s.resolve(T.cwd);else se=process.cwd()}const q=getAssetState(T,this._compilation);const U=q.entryIds;const $=D(r);const emitAsset=e=>{let t=s.basename(e);if(e.endsWith(".node")){if($)t=e.substr($.length+1).replace(/\\/g,"/");const r=x($,q,assetBase(T.outputAssetBase),this.emitFile);Z=Z.then((()=>r))}let a;if(!(a=q.assets[e])){a=q.assets[e]=E(t,e,q.assetNames);if(T.debugLog)console.log("Emitting "+e+" for static use in module "+r)}Z=Z.then((async()=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+a]=s.relative(r,s.resolve(r,t))}else{q.assetMeta[assetBase(T.outputAssetBase)+a]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+a,t)}}));return"__webpack_require__.ab + "+JSON.stringify(a).replace(/\\/g,"/")};const emitAssetDirectory=(e,t)=>{const a=e.indexOf(M);const u=a===-1?e.length:e.lastIndexOf(s.sep,a);const p=e.substr(0,u);const d=e.substr(u);const v=d.replace(V,((e,t)=>d[t-1]===s.sep?"**/*":"*/**/*"))||"/**/*";if(T.debugLog)console.log("Emitting directory "+p+v+" for static use in module "+r);const m=s.basename(p);const g=q.assets[p]||(q.assets[p]=E(m,p,q.assetNames,true));q.assets[p]=g;const y=w.sync(p+v,{mark:true,ignore:"node_modules/**/*"}).filter((e=>!ie.has(s.extname(e))&&!ne.has(s.basename(e))&&!e.endsWith("/")));if(!y.length)return;Z=Z.then((async()=>{await Promise.all(y.map((async e=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+g+e.substr(p.length)]=s.relative(r,s.resolve(r,t)).replace(/\\/g,"/")}else{q.assetMeta[assetBase(T.outputAssetBase)+g+e.substr(p.length)]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+g+e.substr(p.length),t)}})))}));let _="";let x="";if(t){let e=d;let r=true;for(const s of t){const t=e.indexOf(M);const a=e.substr(0,t);e=e.substr(t+1);if(r){x=a;r=false}else{_+=" + '"+JSON.stringify(a).slice(1,-1)+"'"}if(s.type==="SpreadElement")_+=" + "+I.substring(s.argument.start,s.argument.end)+".join('/')";else _+=" + "+I.substring(s.start,s.end)}if(e.length){_+=" + '"+JSON.stringify(e.replace(/\\/g,"/")).slice(1,-1)+"'"}}return"__webpack_require__.ab + "+JSON.stringify((g+x).replace(/\\/g,"/"))+_};let Z=Promise.resolve();const re=new v(I);let ue,le;try{ue=y.parse(I,{allowReturnOutsideFunction:true,ecmaVersion:2020});le=false}catch(e){}if(!ue){try{ue=y.parse(I,{sourceType:"module",ecmaVersion:2020,allowAwaitOutsideFunction:true});le=true}catch(e){return this.callback(null,I,t)}}let ce=m(ue,"scope");let fe=false;const he=N(r).href;const pe=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:s.resolve(r,"..")},__filename:{shadowDepth:0,value:r},process:{shadowDepth:0,value:H}});if(!le){pe.require={shadowDepth:0,value:{[j](e){const t=Y[e];return t.default},resolve(e){return R.sync(e,{basedir:A,extensions:P})}}};pe.require.value.resolve[te]=true}let de=[];function setKnownBinding(e,t){if(e==="require")return;pe[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=pe[e];if(t){if(t.shadowDepth===0){return t.value}}}if(le){for(const e of ue.body){if(e.type==="ImportDeclaration"){const t=e.source.value;const r=Y[t];if(r){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,r);else if(t.type==="ImportDefaultSpecifier"&&"default"in r)setKnownBinding(t.local.name,r.default);else if(t.type==="ImportSpecifier"&&t.imported.name in r)setKnownBinding(t.local.name,r[t.imported.name])}}}}}function computePureStaticValue(e,t=true){const r=Object.create(null);Object.keys(pe).forEach((e=>{r[e]=getKnownBinding(e)}));Object.keys(ee).forEach((e=>{r[e]=ee[e]}));r["import.meta"]={url:he};const s=g(e,r,t);return s}let ve,me;let ge=false;let be;function isStaticRequire(e){return e&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length===1&&e.arguments[0].type==="Literal"}({ast:ue=ue,scope:ce=ce,transformed:fe=fe}=k({id:r,ast:ue,scope:ce,pkgBase:$,magicString:re,options:T,emitAsset:emitAsset,emitAssetDirectory:emitAssetDirectory})||{});d(ue,{enter(e,t){if(e.scope){ce=e.scope;for(const t in e.scope.declarations){if(t in pe)pe[t].shadowDepth++}}if(ve)return backtrack(this,t);if(e.type==="Identifier"){if(isIdentifierRead(e,t)){let r;if(typeof(r=getKnownBinding(e.name))==="string"&&r.match(ae)||r&&(typeof r==="function"||typeof r==="object")&&r[te]){me={value:typeof r==="string"?r:undefined};ve=e;return this.skip()}else if(!le&&e.name==="require"&&pe.require.shadowDepth===0&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,"__non_webpack_require__");fe=true;return this.skip()}else if(!le&&e.name==="__non_webpack_require__"&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,'eval("require")');fe=true;return this.skip()}}}else if(e.type==="MemberExpression"&&e.object.type==="MetaProperty"&&e.object.meta.name==="import"&&e.object.property.name==="meta"&&(e.property.computed?e.property.value:e.property.name)==="url"){me={value:he};ve=e;return this.skip()}else if(!le&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length){const c=e.arguments[0];const{result:h,sawIdentifier:p}=computePureStaticValue(c,true);if(!h){if(c.type==="LogicalExpression"&&c.operator==="||"&&c.left.type==="Identifier"){fe=true;re.overwrite(c.start,c.end,I.substring(c.right.start,c.right.end));return this.skip()}fe=true;re.overwrite(e.callee.start,e.callee.end,"__non_webpack_require__");return this.skip()}else if(typeof h.value==="string"&&p){if(h.wildcards){const t=s.resolve(A,h.value);if(h.wildcards.length===1&&validAssetEmission(t)){const r=generateWildcardRequire(A,t,I.substring(h.wildcards[0].start,h.wildcards[0].end),de,T.debugLog);if(r){re.overwrite(e.start,e.end,r);fe=true;return this.skip()}}}else if(h.value){let e;if(T.customEmit)e=T.customEmit(h.value,true);if(e===undefined)e=JSON.stringify(h.value);if(e!==false){re.overwrite(c.start,c.end,e);fe=true;return this.skip()}}}else if(h&&typeof h.then==="string"&&typeof h.else==="string"&&p){const e=computePureStaticValue(h.test,true).result;if(e&&"value"in e){if(e){fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.then));return this.skip()}else{fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.else));return this.skip()}}else{const e=I.substring(h.test.start,h.test.end);fe=true;re.overwrite(c.start,c.end,`${e} ? ${JSON.stringify(h.then)} : ${JSON.stringify(h.else)}`);return this.skip()}}else if(t.type==="CallExpression"&&t.callee===e){if(h.value==="pkginfo"&&t.arguments.length&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="module"){let e=new Set;for(let r=1;re.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&pe.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===s[0].name));if(a)o=e.body.body[t]}if(a&&e.body.body[t].type==="ReturnStatement"&&e.body.body[t].argument&&e.body.body[t].argument.type==="Identifier"&&e.body.body[t].argument.name===a.id.name){u=true;break}}if(u){let u=";";const c=e.type==="ArrowFunctionExpression"&&e.params[0].start===e.start;if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){e=t;u=","}be=r.name+"$$mod";setKnownBinding(r.name,oe);const h=u+I.substring(e.start,r.start)+be+I.substring(r.end,s[0].start+!c)+(c?"(":"")+a.id.name+", "+I.substring(s[0].start,s[s.length-1].end+!c)+(c?")":"")+I.substring(s[0].end+!c,o.start)+I.substring(o.end,e.end);re.appendRight(e.end,h)}}}},leave(e,t){if(e.scope){ce=ce.parent;for(const t in e.scope.declarations){if(t in pe){if(pe[t].shadowDepth>0)pe[t].shadowDepth--;else delete pe[t]}}}if(ve){const t=computePureStaticValue(e,true).result;if(t){if("value"in t&&typeof t.value!=="symbol"||typeof t.then!=="symbol"&&typeof t.else!=="symbol"){me=t;ve=e;return}}emitStaticChildAsset()}}});if(!fe)return this.callback(null,I,t);Z.then((()=>{if(de.length)re.appendLeft(ue.body[0].start,de.join("\n")+"\n");I=re.toString();t=t||re.generateMap();if(t){t.sources=[r]}this.callback(null,I,t)}));function validAssetEmission(e){if(!e)return;if(e===r)return;let t="";if(e.endsWith(s.sep))t=s.sep;else if(e.endsWith(s.sep+M))t=s.sep+M;else if(e.endsWith(M))t=M;if(!T.emitDirnameAll&&e===A+t)return;if(!T.emitFilterAssetBaseAll&&e===(T.filterAssetBase||se)+t)return;if(e.endsWith(s.sep+"node_modules"+t))return;if(A.startsWith(e.substr(0,e.length-t.length)+s.sep))return;if($){const t=r.substr(0,r.indexOf(s.sep+"node_modules"))+s.sep+"node_modules"+s.sep;if(!e.startsWith(t)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the package base "+$)}return}}else if(!e.startsWith(T.filterAssetBase||se)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the filterAssetBase directory "+(T.filterAssetBase||se))}return}if(T.customEmit){const t=T.customEmit(e,{id:r,isRequire:false});if(t===false)return;if(typeof t==="string")return()=>t}return assetEmission(e)}function assetEmission(e){const t=e.indexOf(M);const r=t===-1?e.length:e.lastIndexOf(s.sep,t);const a=e.substr(0,r);try{const e=p(a);if(t!==-1&&e.isFile())return;if(e.isFile())return emitAsset;if(e.isDirectory())return emitAssetDirectory}catch(e){return}}function resolveAbsolutePathOrUrl(e){return e instanceof URL?O(e):e.startsWith("file:")?O(new URL(e)):s.resolve(e)}function emitStaticChildAsset(e=false){if(isAbsolutePathOrUrl(me.value)){let t;try{t=resolveAbsolutePathOrUrl(me.value)}catch(e){}let r;if(r=validAssetEmission(t)){let s=r(t,me.wildcards);if(s){if(e)s="__non_webpack_require__("+s+")";re.overwrite(ve.start,ve.end,s);fe=true}}}else if(isAbsolutePathOrUrl(me.then)&&isAbsolutePathOrUrl(me.else)){let t;try{t=resolveAbsolutePathOrUrl(me.then)}catch(e){}let r;try{r=resolveAbsolutePathOrUrl(me.else)}catch(e){}let s;if(!e&&(s=validAssetEmission(t))&&s===validAssetEmission(r)){const e=s(t);const a=s(r);if(e&&a){re.overwrite(ve.start,ve.end,`${I.substring(me.test.start,me.test.end)} ? ${e} : ${a}`);fe=true}}}else if(ve.type==="ArrayExpression"&&me.value instanceof Array){for(let t=0;t{if(e)console.error(e);if(t){const e=JSON.parse(t);if(e.assetMeta)s.assetMeta=e.assetMeta;if(e.assetSymlinks)s.assetSymlinks=e.assetSymlinks}}));e.compiler.hooks.afterCompile.tap("relocate-loader",(e=>{const t=e.getCache?e.getCache():e.cache;if(t)t.store("/RelocateLoader/AssetState/"+JSON.stringify(r),null,JSON.stringify({assetMeta:s.assetMeta,assetSymlinks:s.assetSymlinks}),(e=>{if(e)console.error(e)}))}))}},5277:(__unused_webpack_module,exports,__nested_webpack_require_893626__)=>{const path=__nested_webpack_require_893626__(5622);const fs=__nested_webpack_require_893626__(5747);const versioning=__nested_webpack_require_893626__(887);const napi=__nested_webpack_require_893626__(480);const pregypFind=(e,t)=>{const r=JSON.parse(fs.readFileSync(e).toString());versioning.validate_config(r,t);var s;if(napi.get_napi_build_versions(r,t)){s=napi.get_best_napi_build_version(r,t)}t=t||{};if(!t.module_root)t.module_root=path.dirname(e);var a=versioning.evaluate(r,t,s);return a.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path.extname(basePath);for(var _i=0,specList_1=specList;_i{const s=r(5622);e.exports=getUniqueAssetName;function getUniqueAssetName(e,t,r,a){const o=s.extname(e);let u=e,c=0;while((u in r||a&&Object.keys(r).some((e=>e.startsWith(u+s.sep))))&&r[u]!==t){u=e.substr(0,e.length-o.length)+ ++c+o}r[u]=t;return u}},8011:e=>{const t=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;e.exports=function(e){const r=e.lastIndexOf("node_modules");if(r!==-1&&(e[r-1]==="/"||e[r-1]==="\\")&&(e[r+12]==="/"||e[r+12]==="\\")){const s=e.substr(r+13).match(t);if(s)return e.substr(0,r+13+s[0].length)}};e.exports.pkgNameRegEx=t},3953:(e,t,r)=>{const{existsSync:s}=r(5747);const{dirname:a}=r(5622);e.exports=function getPackageScope(e){let t=a(e);do{e=t;t=a(e);if(s(e+"/package.json"))return e}while(e!==t)}},4723:(e,t,r)=>{const{encode:s,decode:a}=r(4957);function traceSegment(e,t,r,s,a){const o=t[r];if(!o)return null;let u=0;let c=o.length-1;while(u<=c){const t=u+c>>1;const r=o[t];if(r[0]===s){return{source:r[1],line:r[2],column:r[3],name:e.names[r[4]]||a}}if(r[0]>s)c=t-1;else u=t+1}return null}e.exports=function(e,t){const r=[];const o=[];const u=[];const c=[];const h=a(e.mappings);for(const s of a(t.mappings)){const a=[];for(const c of s){const s=traceSegment(e,h,c[2],c[3],t.names[c[4]]);if(s){const t=e.sources[s.source];let h=r.lastIndexOf(t);if(h===-1){h=r.length;r.push(t);o[h]=e.sourcesContent[s.source]}else if(o[h]==null){o[h]=e.sourcesContent[s.source]}const p=[c[0],h,s.line,s.column];if(s.name){let e=u.indexOf(s.name);if(e===-1){e=u.length;u.push(s.name)}p[4]=e}a.push(p)}}c.push(a)}return{version:3,file:null,sources:r,mappings:s(c),names:u,sourcesContent:o}}},1331:(e,t,r)=>{const s=r(2087);const a=r(7758);const o=r(1957);const u=r(5622);let c;switch(s.platform()){case"darwin":c="/**/*.@(dylib|so?(.*))";break;case"win32":c="/**/*.dll";break;default:c="/**/*.so?(.*)"}e.exports=async function(e,t,r,s,h){const p=await new Promise(((t,r)=>o(e+c,{ignore:"node_modules/**/*"},((e,s)=>e?r(e):t(s)))));await Promise.all(p.map((async o=>{const[c,p]=await Promise.all([new Promise(((e,t)=>a.readFile(o,((r,s)=>r?t(r):e(s))))),await new Promise(((e,t)=>a.lstat(o,((r,s)=>r?t(r):e(s)))))]);if(p.isSymbolicLink()){const s=await new Promise(((e,t)=>{a.readlink(o,((r,s)=>r?t(r):e(s)))}));const c=u.dirname(o);t.assetSymlinks[r+o.substr(e.length+1)]=u.relative(c,u.resolve(c,s))}else{t.assetMeta[o.substr(e.length)]={path:o,permissions:p.mode};if(h)console.log("Emitting "+o+" for shared library support in "+e);s(r+o.substr(e.length+1),c)}})))}},9646:(e,t,r)=>{const s=r(5622);const a=r(9283);const o=r(5747);const u=r(5094);e.exports=function({id:e,code:t,pkgBase:r,ast:c,scope:h,magicString:p,emitAssetDirectory:d}){let v;({transformed:v,ast:c,scope:h}=u(c,h,p));if(v)return{transformed:v,ast:c,scope:h};if(e.endsWith("google-gax/build/src/grpc.js")||global._unit&&e.includes("google-gax")){for(const t of c.body){if(t.type==="VariableDeclaration"&&t.declarations[0].id.type==="Identifier"&&t.declarations[0].id.name==="googleProtoFilesDir"){const r=d(s.resolve(s.dirname(e),global._unit?"./":"../../../google-proto-files"));if(r){p.overwrite(t.declarations[0].init.start,t.declarations[0].init.end,r);t.declarations[0].init=null;return{transformed:true}}}}}else if(e.endsWith("socket.io/lib/index.js")||global._unit&&e.includes("socket.io")){function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const o=t.expression.right.arguments[0].arguments[0].value;try{var r=a.sync(o,{basedir:s.dirname(e)})}catch(e){return{transformed:false}}const u="/"+s.relative(s.dirname(e),r);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:u,raw:JSON.stringify(u)}};return{transformed:true}}return{transformed:false}}for(const e of c.body){if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.operator==="="&&e.expression.left.type==="MemberExpression"&&e.expression.left.object.type==="MemberExpression"&&e.expression.left.object.object.type==="Identifier"&&e.expression.left.object.object.name==="Server"&&e.expression.left.object.property.type==="Identifier"&&e.expression.left.object.property.name==="prototype"&&e.expression.left.property.type==="Identifier"&&e.expression.left.property.name==="serveClient"&&e.expression.right.type==="FunctionExpression"){let t;for(const r of e.expression.right.body.body)if(r.type==="IfStatement")t=r;const r=t&&t.consequent.body;let s=false;if(r&&r[0]&&r[0].type==="ExpressionStatement")s=replaceResolvePathStatement(r[0]);const a=r&&r[1]&&r[1].type==="TryStatement"&&r[1].block.body;if(a&&a[0])s=replaceResolvePathStatement(a[0])||s;return{transformed:s}}}}else if(e.endsWith("oracledb/lib/oracledb.js")||global._unit&&e.includes("oracledb")){for(const t of c.body){if(t.type==="ForStatement"&&t.body.body&&t.body.body[0]&&t.body.body[0].type==="TryStatement"&&t.body.body[0].block.body[0]&&t.body.body[0].block.body[0].type==="ExpressionStatement"&&t.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&t.body.body[0].block.body[0].expression.operator==="="&&t.body.body[0].block.body[0].expression.left.type==="Identifier"&&t.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&t.body.body[0].block.body[0].expression.right.type==="CallExpression"&&t.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.callee.name==="require"&&t.body.body[0].block.body[0].expression.right.arguments.length===1&&t.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&t.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&t.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){const r=t.body.body[0].block.body[0].expression.right.arguments[0];t.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const s=global._unit?"3.0.0":JSON.parse(o.readFileSync(e.slice(0,-15)+"package.json")).version;const a=Number(s.slice(0,s.indexOf(".")))>=4;const u="oracledb-"+(a?s:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";p.overwrite(r.start,r.end,global._unit?"'./oracledb.js'":"'../build/Release/"+u+"'");return{transformed:true}}}}return{transformed:false}}},798:e=>{e.exports=function(e,t={},r=true){const s={computeBranches:r,sawIdentifier:false,vars:t};const a=walk(e);return{result:a,sawIdentifier:s.sawIdentifier};function walk(e){const t=o[e.type];if(t)return t.call(s,e,walk)}};const t=e.exports.UNKNOWN=Symbol();const r=e.exports.FUNCTION=Symbol();const s=e.exports.WILDCARD="";const a=e.exports.wildcardRegEx=/\x1a/g;function countWildcards(e){a.lastIndex=0;let t=0;while(a.exec(e))t++;return t}const o={ArrayExpression(e,t){const r=[];for(let s=0,a=e.elements.length;s")return{test:a.test,then:a.then>o,else:a.else>o};if(r===">=")return{test:a.test,then:a.then>=o,else:a.else>=o};if(r==="|")return{test:a.test,then:a.then|o,else:a.else|o};if(r==="&")return{test:a.test,then:a.then&o,else:a.else&o};if(r==="^")return{test:a.test,then:a.then^o,else:a.else^o};if(r==="&&")return{test:a.test,then:a.then&&o,else:a.else&&o};if(r==="||")return{test:a.test,then:a.then||o,else:a.else||o}}else if("test"in o){a=a.value;if(r==="==")return{test:o.test,then:a==o.then,else:a==o.else};if(r==="===")return{test:o.test,then:a===o.then,else:a===o.else};if(r==="!=")return{test:o.test,then:a!=o.then,else:a!=o.else};if(r==="!==")return{test:o.test,then:a!==o.then,else:a!==o.else};if(r==="+")return{test:o.test,then:a+o.then,else:a+o.else};if(r==="-")return{test:o.test,then:a-o.then,else:a-o.else};if(r==="*")return{test:o.test,then:a*o.then,else:a*o.else};if(r==="/")return{test:o.test,then:a/o.then,else:a/o.else};if(r==="%")return{test:o.test,then:a%o.then,else:a%o.else};if(r==="<")return{test:o.test,then:a")return{test:o.test,then:a>o.then,else:a>o.else};if(r===">=")return{test:o.test,then:a>=o.then,else:a>=o.else};if(r==="|")return{test:o.test,then:a|o.then,else:a|o.else};if(r==="&")return{test:o.test,then:a&o.then,else:a&o.else};if(r==="^")return{test:o.test,then:a^o.then,else:a^o.else};if(r==="&&")return{test:o.test,then:a&&o.then,else:a&&o.else};if(r==="||")return{test:o.test,then:a||o.then,else:a||o.else}}else{if(r==="==")return{value:a.value==o.value};if(r==="===")return{value:a.value===o.value};if(r==="!=")return{value:a.value!=o.value};if(r==="!==")return{value:a.value!==o.value};if(r==="+"){const e={value:a.value+o.value};if(a.wildcards||o.wildcards)e.wildcards=[...a.wildcards||[],...o.wildcards||[]];return e}if(r==="-")return{value:a.value-o.value};if(r==="*")return{value:a.value*o.value};if(r==="/")return{value:a.value/o.value};if(r==="%")return{value:a.value%o.value};if(r==="<")return{value:a.value")return{value:a.value>o.value};if(r===">=")return{value:a.value>=o.value};if(r==="|")return{value:a.value|o.value};if(r==="&")return{value:a.value&o.value};if(r==="^")return{value:a.value^o.value};if(r==="&&")return{value:a.value&&o.value};if(r==="||")return{value:a.value||o.value}}return},CallExpression(e,a){const o=a(e.callee);if(!o||"test"in o)return;let u=o.value;if(typeof u==="object"&&u!==null)u=u[r];if(typeof u!=="function")return;const c=e.callee.object&&a(e.callee.object).value||null;let h;let p=[];let d;let v=e.arguments.length>0;const m=[];for(let t=0,r=e.arguments.length;tm.push(e)))}else{if(!this.computeBranches)return;r={value:s};m.push(e.arguments[t])}if("test"in r){if(m.length)return;if(h)return;h=r.test;d=p.concat([]);p.push(r.then);d.push(r.else)}else{p.push(r.value);if(d)d.push(r.value)}}if(v)return;try{const e=u.apply(c,p);if(e===t)return;if(!h){if(m.length){if(typeof e!=="string"||countWildcards(e)!==m.length)return;return{value:e,wildcards:m}}return{value:e}}const r=u.apply(c,d);if(e===t)return;return{test:h,then:e,else:r}}catch(e){return}},ConditionalExpression(e,t){const r=t(e.test);if(r&&"value"in r)return r.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const s=t(e.consequent);if(!s||"wildcards"in s||"test"in s)return;const a=t(e.alternate);if(!a||"wildcards"in a||"test"in a)return;return{test:e.test,then:s.value,else:a.value}},ExpressionStatement(e,t){return t(e.expression)},Identifier(e){this.sawIdentifier=true;if(Object.hasOwnProperty.call(this.vars,e.name)){const r=this.vars[e.name];if(r===t)return;return{value:r}}return},Literal(e){return{value:e.value}},MemberExpression(e,r){const s=r(e.object);if(!s||"test"in s||typeof s.value==="function")return;if(e.property.type==="Identifier"){if(typeof s.value==="object"&&s.value!==null){if(e.property.name in s.value){const r=s.value[e.property.name];if(r===t)return;return{value:r}}else if(s.value[t])return}else{return{value:undefined}}}const a=r(e.property);if(!a||"test"in a)return;if(typeof s.value==="object"&&s.value!==null){if(a.value in s.value){const e=s.value[a.value];if(e===t)return;return{value:e}}else if(s.value[t]){return}}else{return{value:undefined}}},MetaProperty:function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta"){return{value:this.vars["import.meta"]}}return undefined},NewExpression:function NewExpression(e,t){const r=t(e.callee);if(r&&"value"in r&&r.value===URL&&e.arguments.length){const r=t(e.arguments[0]);if(!r)return undefined;let s=null;if(e.arguments[1]){s=t(e.arguments[1]);if(!s||!("value"in s))return undefined}if("value"in r){if(s){try{return{value:new URL(r.value,s.value)}}catch{return undefined}}try{return{value:new URL(r.value)}}catch{return undefined}}else{const e=r.test;if(s){try{return{test:e,then:new URL(r.then,s.value),else:new URL(r.else,s.value)}}catch{return undefined}}try{return{test:e,then:new URL(r.then),else:new URL(r.else)}}catch{return undefined}}}return undefined},ObjectExpression(e,r){const s={};for(let a=0;a{const{walk:s}=r(6465);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e,t,r){let a=false;let o;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)o=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&e.body[0].expression.arguments.length===1)o=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssgnmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)o=e.body[0].expression.right;if(o){if(o.arguments[0].type==="ConditionalExpression"&&o.arguments[0].test.type==="LogicalExpression"&&o.arguments[0].test.operator==="&&"&&o.arguments[0].test.left.type==="BinaryExpression"&&o.arguments[0].test.left.operator==="==="&&o.arguments[0].test.left.left.type==="UnaryExpression"&&o.arguments[0].test.left.left.operator==="typeof"&&o.arguments[0].test.left.left.argument.name==="define"&&o.arguments[0].test.left.right.type==="Literal"&&o.arguments[0].test.left.right.value==="function"&&o.arguments[0].test.right.type==="MemberExpression"&&o.arguments[0].test.right.object.type==="Identifier"&&o.arguments[0].test.right.property.type==="Identifier"&&o.arguments[0].test.right.property.name==="amd"&&o.arguments[0].test.right.computed===false&&o.arguments[0].alternate.type==="FunctionExpression"&&o.arguments[0].alternate.params.length===1&&o.arguments[0].alternate.params[0].type==="Identifier"&&o.arguments[0].alternate.body.body.length===1&&o.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&o.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&o.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&o.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&o.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&o.arguments[0].alternate.body.body[0].expression.left.computed===false&&o.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&o.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.callee.name===o.arguments[0].alternate.params[0].name&&o.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=o.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===o.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){r.remove(e[0].expression.arguments[0].params[0].start,e[0].expression.arguments[0].params[0].end);a=true}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===0&&(o.arguments[0].body.body.length===1||o.arguments[0].body.body.length===2&&o.arguments[0].body.body[0].type==="VariableDeclaration"&&o.arguments[0].body.body[0].declarations.length===3&&o.arguments[0].body.body[0].declarations.every((e=>e.init===null&&e.id.type==="Identifier")))&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].type==="ReturnStatement"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.length&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.every((e=>e.type==="Literal"&&typeof e.value==="number"))&&(o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"||o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.type==="FunctionExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.arguments.length===0)&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments.length===3&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[1].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[2].type==="ArrayExpression"){const e=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].properties;const t=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"?o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee:o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.body.body[0];let s;if(t.type==="FunctionDeclaration")s=t.body;else if(t.type==="ReturnStatement")s=t.argument.body;if(s){const e=s.body[0].body.body[0].consequent.body[0].consequent.body[0].declarations[0].init;const t=s.body[1].init.declarations[0].init;e.right.name="_";t.right.name="_";r.overwrite(e.start,e.end,"__non_webpack_require__");r.overwrite(t.start,t.end,"__non_webpack_require__");a=true}const u={};if(e.every((e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression")return false;const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed)return false;if(isUndefinedOrVoid(e.value))u[e.key.value||e.key.name]=true}return true}))){const e=Object.keys(u);if(e.length){const t=(o.arguments[0].body.body[1]||o.arguments[0].body.body[0]).argument.callee.arguments[1];const s=e.map((e=>`"${e}": { exports: require("${e}") }`)).join(",\n ");r.appendRight(t.end-1,s);a=true}}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===2&&o.arguments[0].params[0].type==="Identifier"&&o.arguments[0].params[1].type==="Identifier"&&o.callee.body.body.length===1){const e=o.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let t;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")t=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")t=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.right.type==="CallExpression")t=e.consequent.body[0].expression.right;if(t&&t.callee.type==="Identifier"&&t.callee.name===o.callee.params[0].name&&t.arguments.length===2&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="require"&&t.arguments[1].type==="Identifier"&&t.arguments[1].name==="exports"){r.remove(o.arguments[0].params[0].start,o.arguments[0].params[o.arguments[0].params.length-1].end);a=true}}}else if(o.callee.type==="FunctionExpression"&&o.callee.params.length===1&&o.callee.body.body.length>2&&o.callee.body.body[0].type==="VariableDeclaration"&&o.callee.body.body[0].declarations.length===1&&o.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&o.callee.body.body[0].declarations[0].id.type==="Identifier"&&o.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&o.callee.body.body[0].declarations[0].init.properties.length===0&&o.callee.body.body[1].type==="FunctionDeclaration"&&o.callee.body.body[1].params.length===1&&o.callee.body.body[1].body.body.length===3&&o.arguments[0].type==="ArrayExpression"&&o.arguments[0].elements.length>0&&o.arguments[0].elements.every((e=>e.type==="FunctionExpression"))){const e=new Map;for(let t=0;te===t)))s.arguments=s.arguments.map((r=>r===t?e:r));else if(s.init===t)s.init=e}}}})}}}}return{ast:e,scope:t,transformed:a}}e.exports=handleWrappers},282:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"}}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":">= 10 && < 10.1","_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0","node-inspect/lib/internal/inspect_client":">= 7.6.0","node-inspect/lib/internal/inspect_repl":">= 7.6.0","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0"],"v8":">= 1","vm":true,"worker_threads":">= 11.7","zlib":true}')},2357:e=>{"use strict";e.exports=__webpack_require__(491)},4293:e=>{"use strict";e.exports=__webpack_require__(709)},3129:e=>{"use strict";e.exports=__webpack_require__(81)},7619:e=>{"use strict";e.exports=__webpack_require__(57)},6417:e=>{"use strict";e.exports=__webpack_require__(113)},8614:e=>{"use strict";e.exports=__webpack_require__(361)},5747:e=>{"use strict";e.exports=__webpack_require__(147)},2087:e=>{"use strict";e.exports=__webpack_require__(37)},5622:e=>{"use strict";e.exports=__webpack_require__(17)},2413:e=>{"use strict";e.exports=__webpack_require__(781)},8835:e=>{"use strict";e.exports=__webpack_require__(310)},1669:e=>{"use strict";e.exports=__webpack_require__(837)}};var __webpack_module_cache__={};function __nested_webpack_require_971598__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__nested_webpack_require_971598__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return t.exports}__nested_webpack_require_971598__.ab=__dirname+"/";return __nested_webpack_require_971598__(6265)})()},300:(e,t,r)=>{e.exports=r(901)},491:e=>{"use strict";e.exports=require("assert")},709:e=>{"use strict";e.exports=require("buffer")},81:e=>{"use strict";e.exports=require("child_process")},57:e=>{"use strict";e.exports=require("constants")},113:e=>{"use strict";e.exports=require("crypto")},361:e=>{"use strict";e.exports=require("events")},147:e=>{"use strict";e.exports=require("fs")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")},781:e=>{"use strict";e.exports=require("stream")},310:e=>{"use strict";e.exports=require("url")},837:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(300);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache index 0779b4c7604497c747e87749aa92561af4fb0f03..1a6612650a34d8bc205eac38cfc7dd5bf58cdc42 100644 GIT binary patch literal 1088 zcmZuxO=uHA6n?Wi$!<3rNq=mcQYD23t4RM8tPuQZb1ChiRZpVqPMU2kHc3sbS`;E4 zJm{rGrPhNW6b%Kf7o~{U#GX79rFijR5iff1ASfjDV0~}4wLyGjcHZ~BneV-Mvzs7a z&4p`cmUk)uZ;syn-oybWW*2U<`r|C5WoOv)A%ev^qM#aEcEA5;cA5J@# zC0EHLE9-|PD4n})qSn!(f;l)q9iORg z=YkkXh=DW1NvAm?lBwiGA~imC2&5vZZCcbO52eBN-eUJ$k9cfgnAzlcaa42snboq0 zDQ5Nw>WK%3)7*BT6=%B~9}jR)Q?d$}w7?Ak+~Tc*ZJfsUj=4GiE4F`M8;L!{M}9-> zrPmd6Lnt2#D*n?ulL6Elwubv;5n z!h2buKUQ~eWvC3XWyOcnNs%bM`8|V6UAPHaXagD@yz}~_h=RV5*<5b$`G*n8n@GjS zM^J#)J!$z}p&{p78cn6okAe1>u~5$-GO!y5(^aV6yS*y>o(I2h{?nrZ&w0(KOgrUo z)OP77%E5^HI}DvRpe5-BHUYpjQ0vw**yb?5tN_b{e-0KiDpOtsi-owx3M%;L*=NmjquF~64VC_YXBc|m!Q7m|u8gxDH`_*17GqzMmX^F6eC|CjsCK@GJ4}dXN@dkFMWsOzZEkzU$7%*PE z)tC_RB*qv*NHE5DG6pXG0mic))x?X@=oVt|z1cQYgo_Ycp0X^g+kQ^fSVi$i~=cLAZHxqh3fO zd*FNu2dJhFF_^3Kj8ZS-$n-d0jIBjU$}aK5RS#!-i6cz{3&&G~PX9qtNF;9B$sA8z zOXTgTnRMPxB*dH~_3w603a4@$vWVJ2#5h?bOlZV9Q2x5nAPrfcky*l!2CbR~JirEw zF11$d{OaOd=UxokH~3_Rr>>;4cK30fb+WfI&dl@)5UQkDM$94$<-xNK_{x^xBSx!a zkwrIPVy&=oW{OryiNM4tQ5G?tiu%)u zDzS>rDT|nOtgUB}r@?X!HiL!Y$xBz?&IXZ7Bqq}NEYDOvggZ}8f5e4wgcc#F0FP>a ze_?2Iv7^VG{dP=LGviFmOrikId!bDo3gA3@Hs|E8PXkj&EOZ4}WaKg#o!BH*hWf(| z;m-F;(P^(%M&r>%Za{3zSs=hZwK-m|80{2p6bafG`+h1o6jfjd- zttEv))z^?l3WQV$yWKM_pl5E4ZGpK>H;7JUT*i9Bf_(L>?1^xhI(zJ5` diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache index 0a22ec48658f7f236756ff1529936ecb59cffeb2..3ba9ef5c1d5a17a08cbc8caa1472a93115179f89 100644 GIT binary patch literal 984 zcmZ8g&1(};5TDt7&92Et(ht+LM2yg&NNGzItPuQYbFkEdRS)6^yD!aFgZZebRZE46 z2SGt-u~h59Q^8&oFG}&CsXcipNN*l2;$I+mNb12l^EPRN!@f5&znM2PZ{}^A*eJy# z3v06o@a5FpuaXY%Xm)A=qvtVZEIB~rr-jxTC6gPl?evUNFS6R{nRc<9IF}*@{bQ}n zwuz!rh++9b`@xyOty&nnH2HFkv0@Et86J5dHS8ZRMqs ztZ$uANhox;ns}?5-Z+3i}_vO7P94%HUN! z`utX)GAi?3$4`L&{xLZicgTvCrYwX_O0$W%$2~O-iqnpy+nQK(Bf4y~ zk@Hzxpq?hg=xjVNDzkzsH`3xs>UBR!xfPzc`ZI+A;!0I6kZ`;Lo3v2Z(IT$n!rQk4{|NI7J29D(&bRJA0ZG&`6> z7SdqpatLn8TvoVoPEctm=JpK_4dCjSI1S>U+N{-qK^uY)z#|=A>=UeVt?0569E`d` zcW@ux2%DOkl3S8Qpc=Lvc(b`Ci$+c@awvbwsWLirH1JqDbLHCSMe3_9=JB{ zpew9=R;2ut*Yh6Rc?8Wp+S%J`eBtA z`8RLM_rlgrJfc~C*G{jm>2>Q^Uwkcwxhmwxfv5g#X$Q5r9hNH(g9CP@o$B+?-D2ai zGE`Hha;W=g=%hf%#&FuZLm545dvY7BoplPMP-pOQQQ-(Fy7Ye-lk)WLYXkK4bK|j~ T)=)~-=I@J{Q ztloR?y;!og1||Nia|;ol$WP;=-a z{Nw7+Za^O1zkc`?{GW$^mq4jK{Zp$y{cU;hDbVk}`&Y${53gJO{@oA$DF4g*ia)>m zF3F2|zBpAj@ysLgylZvc>Zan|cQH@c^|8XwbN;0G=r8a63G9cQF~i*b&*xEm^5Gx< z^s#bZR+#g_>1$+zNB!@QEzvrKzpK|#;nCw?Jwywmpmllli62|OcH?8-e_4IZyY%9v zXVfe%7d-InQE5>YL=+~{r5cHmoLHp*ZMLkhOgR_mt|^}5PsfQ;lE4IscF4& z9sl(>{P(K9siC1Rk7p@>f4m5Xpr-ZH>z1WzPXnIEcs&10hS$}YzV4BVwKJX>`)6udpt`E&3NocHv;;6uz`^&sdtkA)##z% zo4T~#F&-P-4B%UA^4U{ppr;GL;8{KiRO10kw$-Jlknz~$e#r02CVv$YA65?1EkP`d zFc>nR{&k#^f3ZfZ9pka%JoPB@Bg$-M0R0`$@^3)>f;Mz(&K|TUq9ImRXX3HRPdtkJWjK(Bl@5oAR}D?!|3aDn1XNQP46$ld@_0|+sLOb4 zvKElJL_^n@wC&e``g<`YuedVNpdOM{yZ$c#*?}F6v(;J8#Dw&s9|860S1GymYqUBu z9-I6XAam&I49rYS@eF$|0deC}>r4%FO=0}8j0I|}IVFp~NTb1c zZ1PJ$*1E(F$0Pa;BO_CYhh++2=dMunFU%M;_1NKnoII!V$wtQdr02g6)c1Z!$`eh%GolT zK)+!GyvAZu|zo9OA18JHem8>JL|^H)qfsK<`S>wtEr;dt`$cOyF8=w>0^^{Wsa?}Izl}=QeA^*(G;m37LDR|w0dnUiqTm0<#-ea@#^UbC{`2H zGZImx7pe~ysz1)NSSwU_FIMOCELuv`XG_p>ELG1eMXS10eV>T=GIf`7vQ@eIy>hg+ z%hekyaI29D^*fbl4c4e9G^$@#vnXs-pK4OqRI?~;Rv&9dE2u?%s1GyW8Bh-xRKLKp z$R1Q5A!2V(y<-Sd=7-eFhf(wot9Oo~SRPeh9z)?Vu3kKjVr*PJasoxggnHB@imFNV zRU%xc)Q_hyC2(53a2j{IFs+_FgFEe*QD2(Dl*3u|szoe(*P^=L5{mRC_4`D)EUPy! zW6J!pdguy@!WH%S`($7D)%#ab++S6{y@sNDO?`bGfest$NgJ5CY(ssU2)_sFcAJ;y%~srsJ128aL$jR_|W$aCnVQ5~oO zgYPimAbVaoWD#_F;L9J0@f#>#z6aa+|G+QgmiY-+UbV#?~SM$bNqm3@uF1Kd3L zP-FTKQ%(*w#*T3Fy(5jZ9b43w|tVIZc2 z2WcJ!p@m;tXwmv8Z&oQYmQZ8o}+5b_F7C? zs@0rtLE+e{S<{YUwq0|*6NP)1=4zKF1k<}uGocSTC4HKUMA+ZctRF$I)`0&@7$6l+g*z;Ym`ANln`+OevkxT${lZ|5;7P zIZTP4(`=c?l%;vi@I@5Oi<;4ESg?{c&6W*3;+#p0;wW@k-q4uu^NPmWW!do_Z8p^;#_rnCGBD%cTdmitEwJ?m?@g zM=QJ+cUs)5l|6!aI!CmI#>rOWTCLM4W~Q|q=1_#pY1uF0<`Iipb{i;SHnjGSw7vz^ z?^vt)6!Q$9YW3S{gIKfGE^^X_V;^$T-gec7UHH3ccX^>$^V06|#yrd3+KWEgz;W=^ zUh_xGJwW?*I9ko&+P=|fWk+lK#%V*rQsT7lC!pn+sC_31#YmF&d@|;VNYP$P!91a< z+FPk;xuv@337%D`=Hk9@L=d~KHk6bS{| zes@qL-_d?>7c)l`YPS|*%1oiQeG%?7q)6Mf7|R@0ti4oBj-o_6zXVg7O0+{u$=*k` zSH@8sO=vI7ptv=wT``Bi$vN%nc}y9b*REg0&DR&T>z7fiENjQEpw+UX?ROtV;eG8L zA_7*mH&!u^*P8a}8d_27+TIUPQ+sb0Mev^X&_0U&eeL`M6decJb4Mtg zkF~vR`5EiOaA@hAr3`CADn!V>xU$tVVs`K2i+ z`cwGzsVJ6G`C%C-$}{*0nJCIK`7=ZWX7RK0@Q@qw_|ti4x!mTj=A-Z{;FsP(F@J}j zQiP(hi0@R4qNtc(QHEltj2~LThjZFd!H=#)PE#d+vkI;7YJOEUisfp4P%VmzTK*{! zx9j+`b(nIip6}CuBD;ZK+=ODNiND)|BD9r%yB)J~p{2Sxo3zj2Rb-s9grMA37|?>a(j{fNJCiYbn^ zIz0|LAT}Iy?441>I_vnm=|G-*H=TTU6kYB*J;7)#1nbm<=)k^)LUi1t(29=IaY)qR zLs1iTrV`QGPt<8n!pyTtI;*KDoYHg}b5Ts?>UiekRw?;9p#_+dU7+JzjH0wyr>6w1 z2PHZkrN~(<)v2w)l*Jky*LoBQ^*XcdnEAL}=b!_HPp6J|AF=v$-0z{-9MJI^#LZI% zb$SM|V6%fdjzgHjdxG~wVp`e-aoS61>1p_<@lu+-hQ{+3Y&E|068!TeTbze0|J0rg zx}nAVqq#wSyaA_9JT+TPLQj+N+8Wg-o77>5;fYC#s<$!0&zQt;^PZ<3-T?X`bFoF| z*~*KHColut$p7sHxC98~aA(56$VeYAx7J~fuD1^JbYMUIvhubS@z~b@elUOMaCKp7 zqNj)VN=Fp!K^HY&p){52GF%9QCMRoV`BOGuDG!r98`4pgyxt$*+8s zxgSP7HaQl^9PT?Bn!*1A@;8Bc`G}I=e2fNz@z`Nb1Tu#!aeV__eLR7Dpz=>CxzvWK zcGP2+ISt4h?hfi383LGR`7}_!%fCb_U8#shgYnqp93XQzfu_df3f~Z*txr+#^N&4F zo;aCNj}6Y_1U4`XYJkIil1!ZkD0H^4@n2F&p9Q0|A7OrxeA zJHm~?JyVU(M#5BI-vAp(98gzZqU4!NOb08gF{K&`(^!OzVy)s1@WBKJP3$Y*;vBLi%CJj?fi+V?$5e&gq~ zO*0;wJn$&;Bf@NCs&5A55upA`pOT-JF~Oi7n>_L;^4T(*nd*~X`7NM|O(^-}P+Dfj zV~2SH$Q zFjfG};n}8%3A|zedW{M5!-sCfW0PSp<1!O~-iEY5U!eZ#3MJcq))S$}CLaKq zLkl!8pwE!s2I`xZlq~)N(=Ahv9cCUpDA0Q4{6HJ%L+=aWco(o<*C~2rhmL-X$1e0Y z0L`J$dZwo2!Ac-dU$>@YOCcpQ9=p)c)t-I)aki!Cn;DYI@pGW2-lSxY7G}hz9-9pB zPH~wFz};XoxWR3i1Jq@ACeX>uU1;jD$wolt@Bj-c2RXP~AB0!^7DEQJnWu+h< z8+?ls*hE)X4|}3SfPSz^!CF61o;>2Q!5#p%J-;5Cn3-ZDvHTdQ(_57M%mhQG9-HjV zsmS^UhWM(JteuF#&ptQ=U0#|Haz0-Kqc zk|1XTRPbdA&iD#*g+@I#IFJ)q53Yl;BEJIAuL~(SK$nJs@z~&CPGEgqLozRV5uh); zLcuRuFfpbc8yw0BY;2}$h8H|yfHs;?u&W8J6^zFQhd%;*wzJSPCQ~ZQc7T5S`xNZ+ z@MZ(?*x<-VfX{Xo@W5CXhrO2oYJ7!)<-cU=G4&9vdPx}#U{<$zw!p@^#t;aer4*Py ze1mdx-eGz->ahzP!>PbVhNfhk{ttkL{EC8S-ej&-smBJ#aRQqdnvzZ^8lbE1Q1B%` zCKA+RgA=%cO^nIw58D8J%bJ2S$`~;9*x)2iV7UE39>`k(RO@{T?)>c52zqRA3O6vk zoru@hPXRQ;m4Z`rlr5TgY;YQYIdq%)rn-9A3Ec*2o)0A#7BDT3dTeqgry?6dhk)QB zfDVOGu%)+h&?6ojoXrUgEzbleS(5<0oX-ULl$m5vj}6Y{1O}`Lxj6#RxKav!^9M|S zOg%Oj=6M{Zg{DTj*P@+ObH<9unH9 z84t;-okcN_xm-Z$>62O3J)nMfi;|zqR=yHLJT|!!$XXo2VPIfFnx7$H-+T6PdS_Bc zIqnfp6^(D(^dR~}4wC?5Q@rbG`5|DdzE05@IZVr@9vgiD-bg=lKm2T@^~nu6o@E12 z|K$Zr{)L!En(^3V^+%B((c!~;xY$s>4^-*5DB0qDrp(ksvhtzi7x{|-)+$mvpKS^k(byqr0oURml>NymWiuX|?T>5@HwEBsgAq2v z9|HDS2Z~kB~r?{Z4MRL<0C>aodpfPC)I3h&~P z+j6$R+^nJ8#y4r*U_3VW?pf~H@|qav8{i2%0A_D3<-Yj|Q!}W?<`#0{;wKhZ{edV1A>KmUkeY z)(FN!uCkZI7E%J-Gp+h;gyFV`9$rfdfcjI0yyeP7f_iLnHJ1__!FY|_H-Y(ghMN(^ zaH+@U)^Op%bs4^mZs`O}Q45WPZ66)28IR4anNlRXRY)TDHm<6Hk?lPZB$U%;n~jfsu(WP6e(2_Vo#-VtkhwNvMZt zW!H)5SwM5RV+OYm$*age2kP5Xl)R;2Iw9(@$@hWGWx{1-W`vDT4%Bb0P_k)T19LOA=IT-4i>S8RGfco#3DcR$1Of0CU8Vjs(PXd|4<0xYj6GHwOP=EJ4C6Bzo zjMmg+m-%TRYrS~>U~Oh-L~dDs1lY&FMbV|TO#eweHd>csq2W6d9ILf~y7g^J7T3{J zXiPnJI1GWz;S?GhnUR^?Ay9iol>FA?OgN~=F0&bsIm~QL;r1`i0)~Ow^<7F%_y*Io zsmCV224oJE!$9ANOl${$`a@kxK02b+j`7&h`0=Bnad!4;q=y45&+;cgwKb;X-v4A~ z7}R5z`9C;D!^D(avbq3u#FUbse4B{|_1IYLzLwFlI9u2AwXte9v}k4?7X zMmB*vXV~p4fGYR_B@aBjnL#`@8K%};%B*i}Lf%1m1*rf2V@j6CGMydu*m3?nH?om| z9{C>nXF#=josyq>jp?AN$0q*~$Q(XCgqxdWNckO5>wiMYj_)WtXyUP>@d>vw>*?#0 z`rHQ8l>eaQ&I;umpLlHY|8gV4>r|xHWdn8ar<8p4*UW63dTg>SkU8{qdhiYqPGcs3 zs{SiVo``13Og%Q)i5uC#z?eMvdlINcHk2&oGZQ50Az3+d#^LG~khPvae^7y`GpW#( zfc?aoqD|eDqxZuKt%^=W^riFBCMNWe)IR|GT{nt;vxtc__1N(!;ua71)}DNRXb9Ag zZ&7l{XW!wI%Q)7A5w7XDoI_JHV{+~DKS2Gp2PMDw3Da{>j~!{as^db2i%U~{j`j{v z|J|FCw_ajKLh7-}aCN|?=P)#c@6&+%GoX6=QL?yznaog+O@=ukhxrC8tIv0G+cptDUy<3e}`!*)MJzHb1SovK6H0L)&%O?QIxEu%aEzZ zCT{?l!(|Fw@{#L7IZ!`{revQKrfyJ=P2S>GX6XA(aPgeSrSIcnW^y3R5+x#|9s83x=MF5qVGL22eXwD7o~Dw8)HyWYxaz z7|3Tnc|AL^gJuHfk7s!gs2^2Qa{g;{lEirIGHbwUCR}<^LsJ9t<>4oQ{YMo=7j80V zka}$NHvr8c&L;E?7-xX~tc8MK|2h+A>an8%7am-u=6dj$9WN(-1Jv8ClsxbR6KCqN z$wDA=sLp!K8!*K{eXo;}SM(S%_1NU^0GY$!t#3wOl>QK?&)%cty>_NLQ;$u4708^f z=i$9^h{g**O&Xx&n13*2L*gM>_3nlY$QNLGFgjpROzhV=YsnCa`0H+TLU zu)p{lMZXx$TwhU-UFcmzo1Tw`T1)P${Xf9|%9f%H-&GEU#A65g8Tj7fe6WcTR1XOB z+W-|hQt*%BnKMW|HuzZpbGTms?;DXoe;24hE|h%pKNvFgRLL0V=Q$M_?j_+1N0yNQ zz2wG#|IXA6>ZyWpat`O3%TxwFl-EVFCQyGBL&>~d=7NHHNLG$lSY#oPwLUpN&So$w z;SI320b89!(KBUC-Jl*D{cCPU!n;guk$j0zGJzl5$7N9Qp$;`lrTx*sB^|!~A{B!}+ z2C2s;?_;5#JHOCI@IeyRyX%0h;;EA{R;s7GpdcO_{S>U0$KfK#Oy7ijP}T_4@{5$b zkirz2dTjEuK;|&FgGFb^rAi%8JuXu+?*=nZq8^e}=Sg1&^7+pv%ye~eQs4*7d~M2| z2xVeHJ$8w|0bCAqM!4ll-cBz8>aXD_aVBH=8>T;^9-I7aZe%lKLvs7;9iVo7jgmi{ zW}-|zHd)Lq$_8);6QeNz)XwKAx$(zLb*3JYmGcd3DK7*0%r(&2=S%Pr0J-Vf4^-pt zQF8Aune#_Ic9~6qto7vi)fw)}kUN+%z>T{}jO9=ab=119=~N2dKY!jgkj`tE|n$QzhfrZ3X1>Yco`4oby`( z)9xDOzNO8Sn0l&QJb!ZFGA;Ybz<<6VCp-c)!j9husOB$g@YG^22I>6e!UVjt^KWo% z`@mhW<1T@x&y83K5NWH>`mpDBPZe}^&!cd{_0K1&dr zjUqQ&;GBcPFGp}Y2lLeD2tsmEWaSE0h_K5OwB`xm3*xanf$eRyf^Q2d@=Tp|c5!<3vd!R>NP zX)YH`RUqfELQr0XDZNz!_iEflOtoOH8Z#eP3s!1S*w+di>M&1uouIKEQ%33qlMR@% z+aO42!jzIGL18nB_GZCI3tC$(g3LBdX=)QRx1*SC7wmSR70@Z@=)#nRF2PARriAtg zdV5KpUV&eq09MzD?h~{UG2SO=84&1PuoxW>c#I03x?~YMDoCCbJay5cdQxz(Ah`U5 zMZlt9e^YQ--NIu_&~qTrxok0eAV_i$K6Tlm&_P&rO9(05w}h1e!l$0F7zhxqhhvIM zgm5YmQ+5-D^{GMtPNoV^bA$j4%@wAX2mx4LB22A7tGYty)qqw~gK(`2t&=X{`T%b3 zI4F!57e4j4MgF+ZYeon~O_~u#tl-{nuL!4hgkQOAvAZLTJrwF(w77F9oNy4q-nSe? zGhQOte8Wpr;Vsfpv*`8~#rUAe^AS1vik?!l2=Nug`H28n>L+UO7hSwyG2t(|AArI> zP?R1f(z#?&875keMc`?ys324Hl)6Prrl>Mk1pB&|D~c;Z>u!;#sRs8oQ6t)@7inI! zux${nG^4O@5p8uK$FWm%s|Qn(dPJ4IBB%*Ny`t57A~;R9{i2v*wDN{UTN5J93l zTHO>~ykz0LB?{OPK_iOU5q0dKwXq{Q*%d)cDcTcF?xAqn7ftVD!R!x2Z3mdLcp&OO zM6q=!N<6}?YK}zC$C#3EEZQW(`9w72BYx@&77IRNH(xPq9_=eG4iLk_O^pHKl>kiH z4-h9riFF>g$cq*?#)zR24abP*62%bttwixjCR#pOVy9fO=3^E?x#INOVkm0SZE^1% zG3;yRjyR@73^B|q5#KHo!yz}6iJL2M^U(_NT(ubL&t|oFy%zUnTPN;r6l-3xm}wNJ zHi@CCmoPayiErH#LlA=RiHnKgJ;8(Z1&(;U6zI8l8nDzr42lc3kOEUE_=B~z zo``uV1rjviKloF7I>_p2qIkTlRKa#Cb}2LIf|YdawWy)G(!gG?z_$=QIYvsSa_m7MVQo}MQ&}}3d_>?js#;!^G8K;sk|rtA zmTafO^qLSPP70vXJc5}rAxM}cOt=(*KP(Hb(tu^@n-uIXV2{Lm9{vSsuLQmK1EP4m ztr>y)EFMeRte}>N;aNf89H!i!6RZ>AGA~G($CUbc!4eU>^MbtvvbUE{PbYY`pWk2d zqF`@R08L%FKi#1Beu(>p|7`CIO70_T=)NFi6-D-{AbSl(+nS(r9mV{*AZY_d?S{bP z0gCtsg56DWJ zm{PeX*doGxUl6m8Ddqcu5h51%1>FbAqC%5Em5LF2ZRd>|BL~ zu9(u{Dx4w0-c1KMCCE8v5%o7K{%19dJHP<&nHP(mx|*jkFJQK z+NRS}gte)JdT|88`?wFsM@0B%3$wB@r8Qf)PQ-Dx@HmHw8FSuM_Lq?>Oe?`zfpUK;bz&i37*l|( ziUQ#Q5x#eXPIoaS{;n{%5Jgs@aES=lB4I-jri>K{Q(-RhPwK>Rkuar%b?mr$4A#N^ z5@AZkKZ&PXxiGmxNcyuec0A+Dg-I2J`H23kLg?A>PvW^%E%dFyBIncyJBgUD5hmAS zN?oncwGKseov@OKu{xoBJ*Ifq3q2Z?@yucOXGIOd)h<>%mHnB0i?FN(5hE?auvQeg zt-_Qx6!mSw%61g}?ZTiA6!{&(9U?qCh4;J2kwY6hWcO!rox+ta)p)AZ7r#DXQlIc~ zIGR4;2oalo!qj`1(r`~`+m9l+UzklqTfcCXh{Jy2+JI1loXw&Flrf7(wBwd zD}*RIJzXc~3u1)l1phYIg$Wy&t!6{GON7@0;qe1Z3Evdn+CmY#CA>$()|N1D8&fK_ zg_Apk`GRtcQ8~WAU11DNo-aH+KJb)dz4L)E`jDJW-f1Q5ANxy;3;yLF2%`=O_1om% zs>g13DhxTrUEe(wb`h~~Dr~mJIpl(^sLc+=jGf5M9!0XfsE>##d(pT9PCyBdCU6kd4qSZqb;)x>LQ#9=*!j_1AJ_c0v z7&<*gQ(k0`IHUOd@r8Md%Dstq@r-xqEsFN}C*HV^$ibI*yh_4UiFKc^C>Aa`pfq@9 zKfk|YUr~%7YdhsU=fF=??@zXS9yj~kF~s?c>iqx7b`b%hl>offQTCTA=dUq9v>ZUU zBLkjlosS6=rNQ;j#YfeN;b2i}m zOv%0@S|P&Wt|;m*rj*_lO%QSat|+#Mi3>ANRcR|nrJ}4d%->cfaxF&@T`mf&KykZ5 zlv;_RvQo4|L_n3OrwUV+szi-7*s|uLZq=fO8r5TfV^`MClN!-FT=`yjxLTS@ zT-xhIYxRVB_IhEmPPAH2m`r_nCP@A~1_=JP8bz*6r07keJ4DnpiI$s5?(dzh+p0Yu zq<8`Hslk7~ZKBFH%-i24y48*%wq3N@p*)sq$U^>9&vSme=s^c--``~N)pUuvyAZS3 zB|0R+wOi!Y!|WUGqQf=Qmmx3iJ8(c$HGp{s21L>DqA*l|@13T6zD{inh@ys7_XXF1 zxIO;mj)+#raC_%*(dGo*#o7dH53x{|r)^SnIEi^&r$qi!C}O5WUDG7<%S)fn8#p7X znZYcbGooQ47G^}DbC1lsIVXyp$Glndq9P*d=SBMqkIY-TC|X*?yt|7c`y~|KOQP!K z&*l9FIU*i!cUk1Lf>{DrL`^H0<=%>DYXxr|@LtB)!13cXC;k=Q7p>gKEc^FG>1z}h z1L>-H7S=?YYsj-*7xk`F43p2M68pz$_Z~ebU2CA-SDnT zshilv9aBQw#g(2Yx;@4Bi8%HYyLn+sjF&i*h+;4CJtAhj#5+Vddy7N7F;B9$IL`+~ zm5+GP2Y1R-mrTU*VAXMzF=E?EoaTl_T*Q+tlKT|Bn=An{1J z82W>aaB)K z3~_Y^rVM9@k24AAo2N^*WP7Xw$}&`Ci5+vra5s&IcSOkXD(G2-54Cf|kvSN|^c-;! z5e+%wAtDxX#16S6zR!OCm>l!OX>h0O0(2L)gr{ss{PD zYWa5?#VJj=f8O)dQ)$PYP2$8Bf@D0E`dr^EPG}KdfRJ3M#0^!M+b!bMRoY{+I zDd`oD^^qn;sv$lYe7&7Mq+uSj;6oaG$o2#t&yzgf@8Kbh*2d%P2TRX@`|u}j9)o|p zYGgvcQoRa~X#RkYX@LFaZ<%jMsKDxZtkATWO&s zwzXrPWl~R-i_aYY8@OD4R|7utAus!G0@kvXqP13)uQ)yOAQ!N0~ZDJtQmZ29|k*Tbxbd8)Dfr1hEc*wL5*GKcyMzv4+=%4!AbdmEG-@>At|k;G${dErrUK6?h? zO>cN-mS_1#pcaWV$w(FR*+OjSvCDiP$XZv=uXYAzM&yN%O2AG_DLUeJOz%uRHu?)N zS>({~>%&`F_*ugeP}hILkeitbO+7aG1t4?z%pHb70~}#@0qgb-MZfZ-@+CFmu_JAa zXx{npfR!M~&$Rjgc7#D2GH-=29=p^(2K4zozdrneEEIVfnBu?DBI~}zM1y*4?!RG? zIh;aRK%A_{_C3I=J2L3c77!;tO9`z|`JN#TDt`bphxQEvH|hJI1S;eG=ob$^Qf7Gp+C}*$~!!Me=h%&G4dR z`A;aB@z`WLAfK6ToE=r*y;$=3!EK-x_)zkMSlM$Bk4<)cRGH6`alIVuM@xa)@5jX1 zpQ#+wW0SqOk&R*fEhLWt6@JHu^c>GW#gv(PY;pjQ&z!-tWi~b;YcE?~2-4)`#ZdB- z&oN}`vB?oY)_UgrHVB^q7-Q#O1lVtsQuN0@%*23th*q5#6d?Nj^U?aS9y`7jF956# zjQKd{|FA+i%F-q5SZ!q*&}T;3v+;o69wVQSd>N=;six!?Kl{A|^w{xOc@+6>p=ZY9VI{Wu&oe}P2T24hRLWYlHUdDrAA7A{yo}O7>`Xp0Wyc$0h3Yk1+OMh zyP7FE=d;&l$*SF~I6n?ofgH%Nk|VhW8UShq%z*F=n(~;L0rl8r<^!3-Y6WKSg_<~|GDvu{10t#Yv7H>nuU12$oYqQ%#lia|X#+7QqjK36p{pzBbl1NB=lBID_+ zv}1-8>aofHiiPGdbi;zDWTD9KKyI7IDSBp%K~oRW%GoH6R=)%^hnit(25ZMbr2ha^ zo;D>1e9Y82>aof10-4LKAAXV?&*5dDeocpxYi}uge&Vsi@jD=&83)hyN3gslnaF$# zs2_ZllI8i#ofGP@$sb~%IlM#+A9;|^p*{xe?_Q*6!&WBH)MKMv0L|eC=V3}g79{%! zsDBVr^3!va%y{fThXDE9CTMJ=N0yZP3oti~C|CD@2?q7pB@V@4aQGor6Ej^hvD*Xe zhd-j|oE~MZBOV)F#1U-_t9oFE^jE+}!)y@S%EH4^6OWA^1T=?<9sG(m`CuXmsMbHB z!2Q+JO*SAm)>xL*r| zT)0Y`H{)TMm0c2&FT(9#4mToT!bs}IKY%);pyb94rlnAiO@5pk8J15cAFM6|mG>Sc zFH|sbrXD-a@Y|tWx+D{QJ+i*@WuPYfj*{1{88Y?QWrknD;!>ZDbYZ0-XesGH-HD;( zt6xyQ%TGLZnV$wSm#ZryeY%>=F<|xYP;`O`gQgxEZ3<{k7szx;H8Y_8s)3T9Ze{v@ zSPvG)1vdFdSm-CtpXM6kFbnZ`8?bBr6m2=9ya7f$cBJ1%G>1_Z7L+9)MC}09Zh)fS znr6CE>ak1xA)wFgqT#1&NReHEd0~QbE8k|KK|NJ2j@};um%~VC3P1dWqqjOx-3uz;;EJyo3|~HIedm^$aMWB zKy{d*DVVG@WnbC@RY_d0yIb2K_ni!GGlox<{ z@mt!2oHM6vC&XiugMqA7dVZi`F?G^GYXJ6XBZ~f!G41RakBuG#G>3iz7OW@NDPIHX zZ>~~uaod-SZEIY2K-16`O4N3ubNlMZf+BdP%`}>{36a1EtnFKhy>$blINo1GbexH~x^GMaE;JzXNDimvpws@OX(7 zxf_`MAJHPeZ^K*#QBReNUD8Wf)(nI??^*6FVlJ@F)MhK$EX{{YY&nxP(i zD31#)cmVY$|Da@_ROX&M_1NSe1DVVHFIc<-uT_2l)W6$PvX+IiM$@iPWtxQHc;jrC z&t9n*=+lXv6EMRQD0lq=bNZ;qF7Zz>%+H@6W+PZ07Qaf218ja0MX!AJjUV|zK$ZH8 zMSh=Km|?LAGUF%#>IdDFyyeU^Lh7*#{YNac<@tq%yHI51hK~WOdyk@@c{sunkBtrk zG=~LL%uJ2Q88iXvF++~H$lN!l9-EvBWOk9ywiGjCe0IgNyx6bJ`{UR7q#qRr)0V<` zY;Zb8<83uI`)u_vg%z%GZueineMXP6Gk(Yn-_&EXzw{)qIb6t^>cU#Qfc_?6Ux8U0 z4lG+sv_>-?8~qBPx!f^;1>td+H2~_H4EfCqOrfc#O2(OiF_6#ilIU_!mhS-b8y2+0 z&ncKLiF$0V32@J}?ytbvdiXZPCHTjy@ca?}hiCb1pjQ8ylHqr^v@Sv-fT_m@f657L09_rnzo!BEJ_EjbgXx~B#|HloC$JtYVvZLne+FnD1Fjra zK0PKL8~is;U^D0=F%%;Jeen-86dx`!eKYmg;D2xe8!{u+%K-fo1J;dJ#`ux9AnZ7S zVPqu_(mw@gIRk!XN?Bs!u}kd039JW;)4&|YvJRlyf25&kefSf4#AAbRo5 zpun@hjQNyupC4rIzfcdk%4gfyZzgf!n(7&l1^beL`K$k?+?XAvx>1kKO$IK9TA>fC z2PYq({`7w-`K<=#0cw{wCCgu6MpWvt$rT*Q zdWL2gjRBzQ`&06hD@?nl9-CavjjRXP?AZRyfcon|N?urF;!Hg@xsDqd9xs!h#e4^- zKZ&N~x1y9Sn|N$;BaqKLUp(948=B&;2=Od`4%7vPeD&XH@5y*KxVh>vqgqq1R?kGKL+S(IR&pg{6z`kVUblk<{kiR`5XVjlN6Nn0GI%*9EP;!#w^ zOBRVZiI;>VVxFo*$-OMe<)6z%nr&IS~2jgqZK6eUfP@Mhe+r&-d_f?};j64@q! z@1k1UB&F?`XQo}!)q!HaL(?+mn5SbMR&I(tOqx*?~z3HqG;`vB=n)x z&?l+Ahbb%fB!m4DzM6&CfMj6+Q{o3DdxMxKdPq_@jAC?Hk~@N8cto-^f=A&vD(M-; zl#NkI+ZYyXcT5s7fhpw^lG~G*r*Bd+JB2Ae(-Q9)6fH9n*LjKN1&i`|$?5{8L@r9a zmQa)}NfMV)3@l6LRuGtSUox~RflrJ>*Ce*i?ejk1yfR7rBQBDAh)`uW_rw|miA=2njDI9xC zsMIqIIYnVo`*6&h8!jCP$MW2Yklu|zF&ZKDj6_iyDSbdhNR+fX3R8}wq|wnRx}&9s z(YW`V80ln;6jnS7jFtAsq40>8ZYQ8RF9> zGOML!)yP?@mhKagS|cs1!IbqH>2VF_NvxGt)}lzNlisUC5nL}VtH(U|>!s-pcq%&^ zr1Om^yql!%tx{M6ZM98m*N*$DZkGmipxEw^26UoW>6E5-p{VMTE)x;gEuHAW6rWyc zb}zC_$(`_h(u6oCiQ@dK>J*@sfUBTOkcl8ztYR_VvmrDGH!C(_ds zwCC4wrQju@Ek^i@=o72w4FUrx7yu zNaVCc%1)!uDvp*lN273vkxj-Ra5YBe7>6P)PF4_)g0n)%j{Dr>#0IMD4GJyV?xd0q!fgjZ-kmdU3CaE?+n9~G;^5$l%<(_Wts!b3@a^*C9rNBIv=)oZb4yXwm714Tm_wlYD$FArP~>fx$C2DLZr(eIJKdc$ z_nyL(yHn;JMA%N7XHT2MS)QCWzdwx}zZvuPIn1*-ev*)k5%<>X0k2FT2ny zWuaFfPe;TRkH{-v^+#Swh(fC^`btUCmCKJ?xF%nTPrLFJHH)saD+fhaE^ApF6<=wo zyaEdw?p0oKsl9R;mP4$)veJMl^^I5hn~)RPe5JP;MQ_WM*%k!4v|jOPMKRENWoY5b zT3AZRUik=Ud@?Bu|9h>a1KT3+|@}UBId95&tr<$ z!qtKW6e|l?eHKx)E?zw*qIBu%`VyujEMM(iz6yo+U%9%wf}-jERlilVmR7I&uA#WI zcC~RGt=aXf89SI#y>oSoi1gj7qkEVVx_`Cn@G6{2|D&tf$0+)auR5QiNIJb5Vs{P1 zq}{bO`)j~)bGSC?fFjlLT8h&(*nHRN+K4lXNSAA;t|%(qt~I)&*mJ)Y?ula1^P0aG zZnfrht@xp!CQ;AikGdgtGDT0pTfeBE#KI%K{*dOdIq#p2lYmT?qQIyV+yKtD&y74^6rO%Jru=R|pJ4BQW6&Qt838vO z15vaD-q;Mh0p&>yy5Sg%DK)`2Izn)#9-%i%!cc67-6$@x`sNi2$5N}fQY*-Fx76ye z425U8RZh7TY~EXLYI?9*lbnTj3TSWYNZ85S*z7@D~jwktGzZ9Rqa;Z9Vk{ita3Z8pr|fg zR(HFsAP5oNRt?=~CG=Qj^rBenwHoY05q8h2>>diAeyiGk+o1L9{}K zt(wL#rD5EvXaa@Tq*c=-TFFyZcGH;BHfgJNgKs$&*K#+=pcJmzs;u&P?Xl!QgA zjYSk=OIG2_R!|T7R;-e?te|H**s^Nd#>|d8R;xQG;&!b{cQNzsu9f{hrZntZ`5j=& z;(^t`A&TfDtKK7$=g2DU1jXEm)rf-}#Ib|C!4bu+)9v_C7^IglvgC8 z@Jo_6B%ugSmUktiNKTOtr=Unll~1OkC{2@Zr=e&`m)m8a=*^IOXQG(Sl>29)Xv>lx z6H$~cU(Uvq%pCb-4vP3(d3YX*?mT&Lz8ua)d%isAE~X6Lm1h^>vDX&Kmy1Z|VtG?B z3Xc+bS&1B~R$qzys6-AYrL@qNYiH(uAU^S?#tybpS=ffZTBqMa`gmk%*Kb zdHoQkEDp&JiAWxnR}7PsVY%xFimVa&5)ome^4w8OSss;pjG^cqldlj_G%lYS$CRQ8 z`NRZ@>Ph+0B#N;qx&I7`tr>apEQ+OBdCVM&ojG~dJPPjx`N{%{y+wKT5{lc)@|qPC zF8Afx_la1Q*Q}y&T$3lQq3BtY9}#qV+(Yeu!fHP=4zO#oZ(M6cK^P^4Vidi9eCg zpP-04m3N(@h_O}Nw^e{Bv{Q`Op@^_o4B4Y7a8PVGpvZMp3^}5Rb5gW8p@?)=%s8W{ zaZ!Z1qOfyQRJftYyQQ#qN3rFu$n!vvaNthCvtjJA9 zv6QSxOhGZ0qVP^dQIo1zAtF6Z(UXQLk?D&1bQD1uiqZ@e9+`@+Y!qABilrPB!MTdD zJd%>9n7EB1GGEb>k0Pc(F;IXa<&GlaE{cx3iituLhlPsiA{2?mihIQkz9#lu~Ok#g`%}e(Nm2gu0~N`gJP>j;ZcjC zvQ{xbgh!nszYbHT>J-~VMAa(_>oMiHUa`@DqP0=s+k|4YN#W3pqQ6;jw-v>1t0KIO zSZxa5b`%bsii1u(7qwlA&~63vNR!=)h90zBdKD?XC_?%a4x@^T+7_v!3WqVwyfUV^ zGmav8La{c1qJ2`)Fr|P?50`0$_Y9`g&nUWQQP|BX*5*)z&np_|aTm@DiqQomXDlje z7E$akDvFjA&_nJoDW;YcF!<)JC`RvNO5Lg=Xbm@CT~kzTpzwL1*n5B?cvCU4iJPZw zDb}`7p4$h-`JN@H)Y*nokt* zr#k@8 zx>?)ZLJ@Pzdi)kzp6=FN?znl2hqa$43O6t7RxcDa-qvnDDE54;r~GiMVt?x$e@rO} zu#O6`hDQMFA=dZ9(JG3tZj3}LC(8OH3R4!Nt)pXb7i}@t_hL~r##whISi`x9O|*7M zBAJt{tCG;_OS1M%#+1@z>$zl1iA%9=DzSzOpYC$&qgn*st+Sq~$2<-V)>RFdC#cbS zq7g+=lXX}#iqmH6#ugN{t=3^}D5l!1L)ua7wp-unK;hkKUEhf!waa?43q^Ie^?Wx9 zuO92U9u$qe*3-Qx%KNO3`%sMCvo0J!5jJSuIb;pvV8O7p*9fNMj93?qV!?vPtZz-C zn4Gkpm`0H>W1TXKc|zx`-4;-6E?5^YqHtTX_FhJDvTQxGf};7pwc{#^p;hb5HQYt` zy7kFAauznMlOLe9^T4`i6GhCH_3RdkyW7^8d&Jta?mj{hc5HomYzSwgU<1K)b+oB*Lb2{-6X0S471GDm#>Wj)0&m#_x!VB8+r#G215-LZ zZH~NbpcsALHoLwk{QYe5!%^5p*tADr=IBV9l1LPrkv0iYC`O`eilb2+M%yIDplFG) z*(M@5)}}EQQ+8u*QsPhy#@VFDqnMAk=}bTom1xtRh{89?=57*-?IfF=WEAVkHgPE^ z>QZcqQc(n_*-WKjdCJpmVzO+YE#J$v@hU;9v&6=)6s_@6n~`!GxNnnQVY6I?qN3WS zu?F+R)!Mk$q3Ei!X{|@$*RX1EbWcazP%78G|{ZDQL{xVPKPwj;Ts!)B+0 zSe-U=ohaJ6Y_hshr8~-7+9EWX2 zM=+&))FyTe$;)FlG2>|Mj@#UwKoK-)(>O`Qlug>S4OEhl8JndUOzE4osa(XZ+?Q+` zmoX(_#b)q6ir7^fpEVQ%Yc_WuU>?s+n~*I`aoe^j*hX=@ZBw~}Vt>b`bQgu)p3VI| z6hr$q;fE-Ek8JK7qi{R1d2oWF=+tJ{?j}@{yY@E^>`|0B+}v|OQRR3u$@wNut(|Yq zy4-}!&8{~y+)zxq-SqWC(c^csJ_LnV=*{j>6wzTfN5fFGh2M0DK;aX4b2Ac!WAsgj z7!B<(g#v`p3f!$;a)F<9m{I?+@=Y z$%F4l*9%GM>yOh{lDW4Z$L}Ql{vU=Qb+!k8JcTGT75=gMNiwRA%F;wZyqc)WR1$Ss z)ViLe)(}-qu$y{mO7$_x=12jQSaR(jkYM4jU=xp%Gyh#?t7zp`zZ6& z7ZvO$=^cn#8z5;Kipm=!@r*^8$4T7dQDu`PmZ_-HX_B+)sN5M^PtQ!$$_!;1XQL)( zN&4oZp65s|=A*0&RI|MhwYW%`)TOA2CCa4Oqt5M=XrLFCb@D)U3y5SPNHg0Ni1hk3+KF1 z7g5G5%4}an)n1dlTt{u+(0a0Oqc(3z)OS(EcXW~cF6x}6{XXjWo-!TYs6{VH)kBo` zfn@eED(#76<0-1(ndJUCO6wyryhioDkvzRc8T}+qf0Q{uauJAH3z8ItqIN`+~-A`3!`xl za9kL@Qbd{D;^>SLlG3W^Ks{Y#Z-{Pari{8Jy0A4Gr`AntbgnHL?=nPe(d9jKQD0B= zUN2qLG#DKiq)gUObpJ37UmlLm8KI-N7>Pa|jmD|IFdnU$pql21=*&ry&dKPHNvfHf zigrv>CS@kNc7|kpCc1K##5Wr~IY$zhi_V&l#^bU1`RKRJXuP03w-tSJ6#e}-+5T~K zy_;(Ep6GQCN$W|p_LP=!avD8$MpN9LMZa89=He>ae;bY0h_>&d-|s22>5bMu(h7r* z(aq1%cqmfmi(Y-9J`JzY)2}4n*J!n$`b_$x7emqb6PXu|ZvLR*;g9HibqxNV`qVLD zO$>%RQ(`u?G5;)N#?%;pY7A=1(_%7pF?d9Dql;asZ6{E=^na_#wvP|d3v=zqSC@e)W+r@NI zZ%NF22}x0DOj{XAW_e7CmFBv%#w=7&CRh>UtRz{jipj2y!Sf44O-x}eNmX4;em#l0 zAtt>k=3j6%HN{MH#QYV{Q#xZtdgyRcdSeRuNZR{i=KJYL&--Jt2dLrUK#XyaWOFda zI7COfJ`|%LCYc$IDIcMW>?1KxEVj{@gHg&{IEoh({H_0ZZ4zDU75V1oQB_&%PXvud9cbSD@b}Ph zt|9rTmAmWcB6Gc5-9XE@YLHhqk~}xc3!6xqo8&tz#%6h8GiBDA7ti; z`OE@|c2QotB>y`}w!S2F4><)Qrk zP>%c6(j$5Ek(}-^h%lXH+herii-pCjv!@fLh|b{$y`Jph>#qA$n~F8Q~fDd zt7DPbRmZNSkj!gii*>QMntF7xP7`HrO|kjrSQPJ?V+SoH5lif2I>}H*Y)UrCVRr0w zF3Ct<>_r|)SAOhHK1p3c>_GvEtuWSIMABItyIMlhRvPOnC8;Wl-7X_(EsxzQC#ko_ zx~w#NO-1Zp1!cM_V+*QCKC5DvtLdVtnpk};$w6&wMIDK^F1EOyYHsRd-Hnv#Y>Krs zb4_#XY71S|*c$uT8~f{jlJ)h)UJb@#>k5WqkB6v6Hypb*Of}ELv3n!2I1~CuV=qQ2 zQ#lsfHAZqb5!*dUGCCEjohI>5$BxaAM1txOcy=+Vht~JQO!&2Cq&4mUSq9qBv)^-^L|=J zRUp<8pqfA+b}LAuO2V<}5z4GbV)H*Jv-J_H{UjOvjJ;=RP{%cC;!ty@iR(*=LqmT` zoJmU=hc>P=mEcQTbEi4ZWr@S$bJOFt z(kYXg5x1R1#m4M7YYt@=a^l`|DASP}7tE#1WL}&zAK!PA84BXmg_P+jj9V(Bn)LEG zM>&br8uwa3;;M}6sv>!+imR(3*{X^2)X_4u^>Nenl*wy|Yj31J-p07JCX(@{I2TK9 zbKFuh&6U{_H`GEBYKbdprJ9A-xLcOOwz$hS%2c+;<#os5pI~lw$N9UdbG|L^)JD?T z6L-{4(moIu9-!H02jha1lyOeQjm=P|WH!z@OPPkbxXn3|$@#d&1(LzVxZ_2V>7}^f z5*3fy88Cj0=uEgPtx^Tp0uTo}jHO{q3HS=3>ulsR$lzVv)H<-jkl*#<}EeeVIo;J z$Df%=(k=0`7LrR#d__9RLVCPDgQPYiew*bXBfdP7GAEhwErs#;$3UNj@s~C6IA&vQ zd|y*MwrsU2K4gpkU;iYV>4`7trHkCX@#B58p7*|Z;|NL1Nc=HN#c2H21T`$0j1Nqa z^iRh(&XAnW#AnY^@ziX*dXA)TF1~!8E;^i#&s(6(?n1nCk)&cNzS&N5z1rg^mZ?U& z5tj4ddQYPOS?{-pVY%Tt6jWQeS@y8qSI0HsD;|*JM(e+k*wTmuF z*^bZJp^L6|;_Z8s$=Q$J-=~_QgLu~gWwH+A4-QGPkK!wiNp_Cooo*7dC*I+qV%=*IsOUgW4#+O$7$M?U;t}6bcs0u#@FWaj64|UCd;K4*j zy`rF5f&WTi?N-#=6u2m*M^V(Hz^Kh0#SKesuVT2DG7r59T_4GKpTfn`*RNRVr%e5T zVswDyZ9tJeNU|`fIA$ptQgjSa=4wds$Z_d>#)KyLNYO;*k;KaRkVy!=5|z( zGDb2urf{<8#}(Fb%3O{sK3L`_6h{-3DVS8WO_DrLD)dt%(^HClmV#+T`!r>)rxltR zlHnP}220MYqIs4tnpJ4#NG9eKJ1klAipF`$oXjhNEW-Ln8A zlH!WRYFG5xDf3}h6fBb*Ei2ww238c#70OgP6ax;D!c|4bDoLtSQRXChaw?2#BVQ>$#ylH6*Q+EkMMROKp*E=_4oqs(ra@`d7IKvC9LiMZDu;4Og1O3^Jd&9_y*89B%wNGZav9Hz4Df&zCk(GKpB0bvZ9gXq){1U>26XkHBrXc ztgLD#Id4`*SbAEN%Po{qwjz;_XrDdPydFl{+k^K4o8Ipw=rJJR0RyjILna^2e;T*~GobrsNa$Y$wPnpoXGIxQ*v7o$QDPL6f zE>h-kQE6BrSz1z_uvFWXLv|izSLQC0>?|uES-Mt~iz}3=aVT}Ge9@}%c}G*$HVS3I7=n-%Arx zDig4<)T)GnT6~#W7N|`asZYRe6g4E68!6M;n2^z&fTOr+PMB|@;$Ta{M?3XN?M!gl zNOpS?rg}-%`x2h|Nm2$AE=NhO#u75dNyf$#$|guGlL>E=B%@OaH8Ugw3kg+=B;mz` zj3tterGzz>;8Mbvoie-j1RqPma>BtfWnPvO3RXz^RuX(HS&oEd2W6fd37xAX_SJ+} zmLg}uo|8v86AIQy2G$bZS+ds?TGlDEvYuexAnDvl2(jdCCd_YA=6o~3xJ9zFmEdtD z;3NsV5}Z3E_d5v%dn5yU3E2lEtp^F(Ba*VCge?}|QNoFvt{synVa7vyc<4#6pV0PR zo+Mb$67YfbrL%;ki-f-j{7dwN&?OZg-X^r((WH*MgwlJGnfrtiFG;^Q;ghBCA>rtO zGPcKrg-05-|CliSM4k7a5;~qKbMc(uaQsBZwEA;-ouqu@r)Kjf9_5y7{w&}5iS>AP zerD|cM6ql4XMm-1@26+)CpugAf2JP%#0ju;@N?>rhF2Z^ygVYQcK_^gQ_Z3Kr^Z84 zz|7^G->wj&)(Oc|0Kz7Uw>8w zX+1r`pP!+hcpa)d{Igo4!V6nH8r6oQe-IY~pgYJ_E@TyUL zsv0ZFm{qmQ@@Q3=D=5=ip*pRg+0~V*=SmeeTwkT?sv@yhsh+A-*l=yNs=JzMW~)`l z)ig?7qiU!j>8(*svAAngZ!G3oRedcjW1v=Ltf!jFdesEWe!c3GrKmwQ)Ib-x8dQ-6 zD(-Al-8E9i(4=Z>BAIPcU9hN|RW;3&>2FqTvG|%*B`uWcX;HabX<^T;s=PMpQ`e@N zXE|+C6|_@LOS@{KgT&RLD(|AhDe6|~N9n3;993nFQKn@~wKz`0pTSmSpIkKwKtWlrRHPy@}Wezu0C0o?cwx!zIQ{e@&mpzqjpECA+Rb-zI zx%fbJbU>N#folGcIv*XX%8p1zj#PDSx@g?3x^z><=uwrPkPM%w{3mo#;i;Q&VQX2Owu)+*gZnU z>m!MCqa^Op#Qibq6C6v7jFXg3Bo<7P3{EDVOi@jEDlsrkk~5PyG(#6{&LjqADN{3- zST|3Z`T0cK0%e>FiSNrK)|JG)6}l+Zk@(~wv8*N*Il0)GxVBC;kL!sm8zh$-iG7=N zk#jS#VvA&QE3w5zvf)ac*daOINzC6T>Do`sJ|t;8Ow@WvN<4|W6OyWv#H}-ur?bS- zbCR9&#N!K^B7Bk9dqr}5m6&=>7nNQoPO=8b9pLph{j46<~6e4*FC3ZyUx^P7jed;7!ap{_*U2PIw zq)kdSkhB<*4p@AKqzofvhKxxmCX!N9Qh=q%oMf?3rqPnLl1}1HPcmnc)MO@g=8`ya zlQ!~6LitI31te<)NyZ|Q!J?$pQj*frq?$64sj{TWa*~_!B(Ieuzar_rio{f%G*eCD zsZMg$CgHgJwMk`llCS|O=-BpIC~&CaCbH4^oD((yWpW+Q29ljL$UsdS6Pww2VlLvzjS zB)#oW#=4u-w@r&Lc@3pCq2o zq#|81Rye6kE;5pg8(_C4}d)dht{+^xOpOcKU z&Y6>J%B4|lxyem=bkTfXa$i2lW`6Q?0m*Se@^T@`MPc%N5s9fd*Tu!HraPaTbFyE{P|2%6#J4td~{LWOLFcT$=F+Rv!7(qpIrOF@{w#&s|8XG zK%<6r1Gq?G)oImY5rKkxU^0#M6u3`k&B;)U*=*KxKwrq(4m^EnNs(GqTRGbcT-B-t z)~2n)Yz?e4z+xj8oB)Al)|?i#C~o^229$QNP6Nh1)()U=KrOI68$jz2XXk;r5!NHX zG{#y7bdIyG0htr5^+5k5>n1Qf&AJV=&9Tk{nnl(U;CzWS)vgxh%U=aR%PQ*u(Bou1 z0?OA|mjL5B>ohR4!MX=j?6Qsk$6p!*7LGWpJyr`l0=s?&w7OZRfxR2n7r=7M2VV!g zd6AXyb02E)iJ+Il@z386-_!!XPov(^xn9$|F>;SbjG zPqmoBe;38DATXn0JqMmrG_>p0T8*$HP;dw2>Nz_Ae41Em%^I!6J?LSKR3rYlNdzBk%;|9q^a)uwtu5Xsa{=&poWbMlDYf z1~TfopcB|?;Oral*u-jT)`-Ry)(N1wm311Z?$8L_lm>ytP7UqOBkGf10TzkCRk#e~9`P_cP;jKk%+^0-cXsum$*^zB)W(OMI*iK+6lO11NjrlWP#jedlZ^aPXxXzec=% zY6PAy=crS}J_2WI5ExBMp|fuvxYn~;3@PFhfr18Oitw3O^UNv2jX>67NfCz#=sPf& zo+9vOvID5h;B0zvinuLJp>xMsmLdkMU&AU=#9CDf9dTWCim0tc0iKHhTlK6DO)27~ zRx5t}-(|aXTG8CDrImRBU$<8L7urjGU@ zKSw9JbCJa}xjdbSAfUPeofs(8(Wbh9vLYQ#aRJnqLBHXv-a6q&ptiVNCw3}yv{CPX zrb#F84(k%I*{!4dhwWaSXy`*T{AmU1`&plWtU>PE2izdAoZ(TOxSry^P18CtKEs+Z zs}s6KG{Xn}fw?8_V6bD6%dEx~op?rIigt%igjZSnoH}ugz#>o9aTFUoMVbp85SYye zbZxVGfR-KBO(5%(wHsKv?_iX=3*2G*$OaN!nF>-X4Q*-{3bgF8Y(%v3}jWIgTRNY_2P*XZ?079g%g1( zo`JhYy}&0!vYPZl*QOWv(7_on)XoJPKv+i;6pAsw|dctK;IGI_*Kuh3*aM!0^A_O*d4t={P_pdgPm0vzVEju#ljd7*)($SE?2<6;AylbRBPa3PS@mKsD$8E3bEj&dI6 z0E#Ox1s-Yx_tjj`Sz{12^(c^J^MJL1YsUan6Kf}+X<@AcN?S2ZlDz{v{d^Qn0|sFp z=A+mKE=PC`AHd5fYH=Np8H8PBA# zwEe^&>P}hrftPdMo$L#PSiEAr0ord_*8tlcuXhK?xo5Qj*I%0J#r{61~_XA8bo#&im${24-syb|A8x@)F}S)i|h$#DmT(1*MOHwBW=lHl~D}W z8R^){>W!kk*(kpML6+8H6cz18@#`7T21@PCXQ-9MIEYqJy6Swz_z>05E6c*&c!MVb|?n_Qh;urzdpP7W? z#zglIcYw(U#S0q1TA0-je59IbcUsfT!d_|?`0)1=&{b}xgRiohMF4?ey%lC*tu)jA zx`1$vS>WxR&RVmWZ-U~{3eaKW4y!=TpjrHjknI5HL)=U=Y!(9uY<0?rS==L_OQU8y zCSc7TH;V%VvSSm-PMc}hrvbO!OphvBm(8Nn$;*iV&1+oSwP6-hn>kg~zL3p{=4-sXbnaxKsX?g4@Q z1v=Zi4i-f4aDlGR`J)BV?BRk4aD2KzM`S!(5Oe3O0l;*_It1im5LIO$)a2X>_cOQLO%3toWoA=VxsWsG$k zC>Uqm1qRob1b(pS9&l_f(IVAbOX3KDDN0>SqIUah7+~FD9R<|8Uj;zH9uMmUYW7)Y z0rLTCJFtX6vqvEFkhKSxeOMB|{Yh5*gozO-$bViES|4i-@bsl=FH6Gx%EwmqhFSz_ zd*7FYG05rzy2Gp`ktLzYvJ3p&*FNx>W2f!2=Gw&`0vZ9f^6b>1JKrw62QcRy4zVZxwcNg}|`FO1pSKK+mh}Vyc>Fy8voy zI6DQreyOY0E*k1MJKSIwc{V%!NlERo3s)~sq3g4Y-hS3Mpmyl1FK{xmOteyIpiU?R55?0Momy&%o0eYuUM7JYMmztZTa%xUthodjc4}yvS<6@yJ;(u>8am zKLG2`tUh4H$NB`gUcMA)ePvw&wh=h^ig&x%{IJuRYWuW{O!YEl>wrw{GHqX)d0D*d zImGue-0Iy9p?`3S@BfeN82Eg2QbpU7Qw%*j>DsymTt3de0M-{Lb*p@HiURwZ`2KIQ zQy_nHjs7?+?5~NH;JWz!f5@6c>tgv6`c2lP-Vptb8+3-}HEoD@8x$Xv?b#3~eNag@ z(!U`VjGN;7zsriOo1&`)`UlzM%%(U+U^yXRTDQXsF4ymf#vJ(H$>vLT#Bu2kttSNN za`(h{4c^fNS6=qT_x~z8c-t4cjzjVN|CR-Sqc!NS_}t{7NIii5o$LW<^&C=*ypuyw z`iAT;vi|o&5!g8r-~W@WZ0|^H?H|!jG#wm?AOZ_2Iy@3Z9w@#?baEv2uH54Lf5Y#- zx`iEqW*(sT#!bUk0rxGd?#?Yd2oz}V-Qo=awR+v6?SXX(D0*Vu1&Uu-o8H}`!p|L! zftC+e2eAIh1&@GT?V;z^kHEUdL(f0ofzA{UO|b`5XrV$j1S}$O6qZzvC`DkAd%*RC zNBs3)WE+znag4xyd-jY+lp~;X3m)-`K(p>ek7!!)(D@Yvve!8K3cPJ{->EH+c;Dl` zL;D^PL}0f31CO{pWF0>82-~rTZZJE5-|eB>gVW;?nlsj7z;^Bt-z3>4V7laCjlk_S z53}4Ld(V0aOgy4Ml2tuhMSl>P3In3Gah)1;9PQ+jTUUmQk5OhF2 zC&G?^?hKrWYXo#?`b6~GPw3h1I#A#~5&!tBtl;ECOkZD$U;UCS1n%5i()K(9=G#je zR|kxJY3lu@m`J}8zx_|Lz0507lzS!q{7sgdcZK`ED_Z4L{*@>xyrO3r_rOXK6c0&? zuf$LZtF`n>7_I1lFMtEnO;>b-scya!g9utMU}-@!yvW^pCDx~|#6SKf%bdOv*)v?Q z3EX_?^6Zt^pF>|EtC+tM=?gsU9oV#Uc5?Yj+#%4ccLgi+VB&wmw-K&H@E-a{*@5>; z+&=NjY|mFB)5oOo9g1|m>l{|>H(g&J&3m7Vc;%OXkUe4J(>w~DS zLSKQOa)s7>O$?+pKF|a7y`~4T(#(Ay0Ncca_#gf#a{|^`Ud}R5J;%fP0WSixWzIi{ zeJ5-B+Jh)s=jHSO)&s7c1#&%HFap$Eqpu{J07mbixRVD;y*#WBn0sLT0P6kdAjy`1 z-2iHZECLjNLcifheIG=5$|Ie?Lx3NFoh;Tqic-8^-;JxxbI*mhHaq3udS z(w5u;wRex=x8G#t_m5)w4Yj|?TunmS zPle(|Q9z&eEPnexWov+6_e|Mmf2Ld63NV=YOgni9ROUR>K1=}Xd0hJlJmf#q zmJAd;3v=N!?b#L(DS`^wX7RHqDSf7sU7I-Y4KZ-DJVp27!g5AhnRho42q2oz5+f&Edg%@}(YZ{tw>RPV&I2rgpSA7pb& z&-la09TtJ5O&t6;*$ZGfe5MG@mU6K`epYgbhS62Jd z3;``G^a)#uk6sliDD{b@G9H#^^@(i+CiVfl72Kh&5^JbMtt88-^NCKDq^D^!vo@D4Knj9RaThEV5+`9mY{B zWHl2widhtVlPvtDo4(+fQSJ8ymw8Er3gKt=5@;;su>Np{tZDSCOf zJ79GHiucn7U+{7P*IGtiMA!HWE%E~hjlYWT|Cj7~_Ek*Gy;3uc{Z&jMFxvy^@+)<4 z0_UXokTB4&!nHHN$(QyzUd1H>9qg;G;&$zo4%5E=Dh#eydS#{=DA|6cTUH1#?y?4f z$2|4~fR(1;HYu;#>4d^kyiSOTKD}Xxljcx&Xz+N5-B-sOyQp~mG zz!n0{?np~ei;V&z<;dc_w~9Bsw$243Ky&Sz`13Eal*TtveEBB+`oGCqfz)drRu9|< zS<^yq!i7MyJ0K&%+5j|tvW^0oDev?bvKLsK>HC?lFa~po_E?lJ8*G^X5VC{^LMd( z_b&eY-^s3l&3hE!_sapx1J~9Atxv3zfccpV8UeG97ij~$2=q0+yo<3Q^qXuOcnooE zdiY&9GX1nWPe5xHYhHn03?Oi9m%vOR>oagw?57*=O^ILlO8wOLwaPE5tGPf^;}>28 z7Fkj27d>^XS3u2#U;NuY$QGyl;themQ!{>XI?o+47W|@Pk+pHjFWwz~{*$!o7o+Qb z@$DBpU-XMh1cqg}{UUV1dR-h41=av%Zvjgks~5PdXRT=ni2BAaZ3>7W0=2cx0nypQ zx(}qbvz7sCove?5zB@o$vIX4QSVwyTVz-yIqc0$)`&sn^0Z}~2dI9){Sf7Ri!Z^as zdV#qw^#O)a&Q<^mV*xr5uYmG#&ia9^3D(ZZfXJH)(EhrC*=g3cnSf}Y<$@33eU5c< zJ|MIUtQ|ncBI`WRw8WZb4~QoO4t{$%Ae<|#BaVQmT4fCZ4^CFkT0neku$FBFM4OAX za~u1+%Q^#8oCoNhb^(~b;B4+Cb{&EBE?xyh2mzhH4v4xN)(B93%lZst-LZOstb5+G z1K{IJ9o~R2KXCR0XnG9L`H=Dy5aS4F@pC}95x9oxeF5Q62Whrbz?c%GY&FoR4bl;x z0;W{XP66gLD3%V~>rjAy1ECL!IRt7CftN4MFa$*%0@+2N%fz|^j99)D2&Y4ZtUDtp zS~7VJwydD=X0uvzg5o%zHM1ZnDvDT_fwW@oPz9uSbG94ULtwT68-^jEy*)uO(2D|m zW4bRW#t=BR2r$~u!*l~daXA*GJJO8tpvaow>@(n<)kDMI`d|zsL!WHns zS@Ua9RKM|Z!a&|T>oL&cXDtr|MK1z7=>raf+_xhX6i*0bC&D;2BCL-=rO(aBXE~NGu>wpvek}Vg&RGXv=1`x(Hef#oxD*kk~3^?Jf(6M+7>!%R{1~E+l^aJ6TqJNR%`{ z@nZu(Ut@?)jd#G)9HM)!+?J4-N8m8i+Crim0oAsLgr*aU8yQg1#eHvq^={S*TS)Bo z@WdUxA(7F~Sub!fz<0)2wsTp3Gel{eI5LiR+ z91ar!ZJQ5?00P>-5E9LctmnY&5;rTiheX;6FURNziIZb&>R)89K=mabyaUi)@vsiy z3V}a>IoCK#5ZJTK8%&IV=HFs>5YWQAkl02*3+}Pi2xzW1B-{upcnApx0vZMe9={Zr zcw*H)hr}2H1rI>U3$I}w_&^}r^coU9LC)R*#xQ4xfPn~S4Id#fhroJ2fWA*Icn1#E zVS0#CtqF^?lrTM&TLad#oNY=C3w2tUrq~2Zbz$1RHQ-XuT4M-{83YRUfZ&(r8N*@{ zf!b_SSU3^T8FN@ zvD(cOhk<1q7g&43;uV3TnC%UVls?u8AcDX~x%hB!217vi2p4#Px>43+;Q31{ z#=`i}=2yWavh(O5WZ4U0(XhyS_6A%yP=L2jSFzOyOwsBLiw^`2b6^cw1hVz(Sk4A_ zm<4BVsNM1@uLah;Zn+pvDjp0R#$~j1lo_g5pO{%n{L76PPIA<&+jigbjgVUf`;Tb)YyRhD&)l`4t#86%qL7egPmn zAEDPv1{Wfta4AB!!bu?80mY^Qw@zM8>Kgj)N9Z|&A80$|Y#6vd;=WnO5i#Iq-3MCF zxL_HWy~G-XEafU9CVdg{?VHU1f++%AU<35Q2%QA&z*vMk9028-4?2ntz?SksJGlnj zr*bww?L%Z4SVw_!BdZO_x3CTXh3OyEHwfHjaEJWN4{?zDK_9Fc%tJxp2VHO7Ky49* z;d_EWtCc&f1J+8`DWIf^Yd?Yh%@6V0KgiM#KE%i22i;=bN9b_On(F?*dqE%cidH+I zx#QW2fO#*k!3}ty(BT*SY7?5haP}COf92VZfXO%33*hpdwZxAj4zS*ZKE%Su2faAZ z{P}_N?2}&Ccm!JYpY&O-V#B9MvwVtw{wAvh_A@@|*gk;u94JnW+)q(k^(p>}4~YP? z)tr3=w6&jfR`&qK4Xg`5RTFnu2P#^S#eEcDYvY1>;0b}9G`4?=K?J7Q0xG(Y6|!|; ztsBe1BL&;12=;vnyjWDw|0(hYxY;z2H^c>Vz{4Z$^fw511jdc7|%ujyOnVL2I zDGr>d#Tm8sDYiDy3{R^!KSk%kC%vDt0<<4;hYeuK%>{Qr(m#d|> zdbRXd3I7g5Ep^(|(*J@-K|N|I)TfqkWmWa7r9%XU83xqS)VNy03ynv>%mio8fw@W6 zJ78yuhrIz?(`pGhl1wLXi$FH3Mk5^{pnf1+$HQvtHBydE zBmIBB$O1raFJ}jUj(%1bkUfQFlFSB7tZ3-qa~vAUg+Q}UV0aA$ILvj8)UctEa5K%^ z)JU^#jr3pfVNhV#!^_FNfL>x4-qHb1y&4JkC7K5ed*o(gK=TtO#v7P`VL~hY+y5)8 z28>f$x?)Fw%y}&h8v`nrwG!^|o>#Qe$SMl(Iu}s5sihA6z^)65>up;rSrO1#U~z}_ z7FgY7y#Q+VSSNwLL!NCDa2;{qPvFF(mFUHy6RnhWuBD^s0kSSI3{Sa$jw>E^0dzg{ zB3FT?7w)?Sl)Q7n7*OfwY(KCS=Gq`o7vby_P^nI({T&1bG^w=o6QEj~O8a03&P=Hi zUIs9mQ>8})viX)&sWP2w7l5Y>)~w7_sVfVLw;X`%Y|f4Xj=WR}&rMH(`F!qh2UHfZ z4gjYJOnh9ND&>`@(y4p`^jo>$5SXq-_7AcfV4{w*dq7H0s`Tq0WsQKLpF1=F+XJk+ z!Bi=Ih_wzV9L6vq8v$NO@j-+UbQnVce&io09_NBlAa{lfnt+a3)@`6^fopew_9gD? z0z%7Byd}PpD&0G{*0`D~S=XSFY#7+wVD$ryF4TUL%>Ye1JZudZ-$Q|r9RS87?ob1) zyIC)QJr5UboTN&32s+PBQ>76Ejw1IgRnlwIq~HD#-$6-}j#Jaf11=hkVY$;0A7b# z^GDJo^)mW?mu&&|Rb=r79dNP68UpGzu?Bp`9N5`HGrU6YN|P4%xZoBT-e~@tm_)z|sR0Z_@x*udLR$G->ypXX^;0NxpEJg!i51 zB56`cqoXs*lcK{N9_u(@*X!uMq}ia8_Kja^(n(hc^er{(q_H9$owOccs~A~4xdO_{ zbaX(yfWBNu_YX6Gqe4gfkWs0VcB;7c9k4cW?Kp7J%mwK!I%%_=^$wWn;@TikVdL5% zK-a@rCotB_dI0PWU>JUP7#JJn>>H4>%u7E6u2!)eylL#zNu?Xy%mqAcvbJsMq~aZ& zghvWpK;^Mc!e@h~fG#&LXB)`5;oa#1Qf_&Qdf@euJCr`@q=$FRhNrZCozxuU>^$HK zacx>yCmnzC8q^xS)R&^Coty#2v-Q%qKgmvk^8!8J6&LEIx-z|lx3eFCHmjbtZv`+{ zvQ`1=Dm`tr4H&QHtP4nQ;=b)bK{J}+{X$@@Lr-_mnVov+w1=~{UcEHbhYonNALtz9 zW^2I4Fq+{Lwm|;`_uT_D(-PglTpzBKyfq^Mr&Mq*&48>!6pmU9D z?Lgn=R{@~ih2pUhu)NRN7hvL?wfe#!^=R+Fql|vz^WOF-z5b~(^*?GjFK_iNcVjXpf1lyk2UUr)qEqJzqdfR+9>_?yDX>1 zDEV8A5P!+|G+PG>8@P4|m~J#l_&(-dlSz7LW}Rul%38Ug zyUirox}f;CxZNgcz{c6m9+TuAG|_duIAoHJhcN~2R)DQhWQFVjs2t<$2#`C@Yv=`* z=Q(=>tS)l)1<=~L?<3H?YLf75@e^pEWy&u%EDg0zIcVcs$w$t`XR3d{sfRBA}hXJpzYmKF9W5 za<&E7M<5#n+OAm_fJX#%xG_mh2ks1D^y=AoGcbwF0-# ztoW*gq|P+cbx{DccckxTX)MH9 z7f`LWNcbGcJy4%!p`9EB{0I!I)LEnny@htN+F+5EOss`wi?o42)(kQ-MXwDdJ&WKwSw`k}Ux5rJQ{& zvq*X?YVk|Lz-Y5Y!sj&(fx&j}@B!R*aBWd1*4t~L6UGm$^jYYH@d1PVe3-jHr^6!s z`X|{eFu%%K574z{p&R51u)l7hhe;vebAt;8T^7lWz`;j={atL|FZeXJMGEip6xjzB zX&Zq8FW^7nVd`5h%C-?k`wVFD=sa6=uVCW`Oi-9@YTZ?z!(G(BS1` zn*=r=SiL~X6RQK;=8@0MO=VT>&1ybTnX*juE&D ztwD>l7vV*|09&7&^#Y^nbUGk6aIb;l#f+46=@S9X)22&X2udB`{=5m+%{5yTEKuI_=IGa5l&tG(+i`nfXRF*{+?g&F@1o#OvJSwv$HR>K7z zlOVv%7`ej(5?nx#1VNAlcLD@R5Cr!f-1mLoNpRn{#S01U{r*2fFR-y9?yyat_l#tb=7AFj}Ugliq!xp_03p05WQHG*KHsNdp}4 zF)YyBgkZR>3Rr80?>D^F9Xc`ItD_T)us)rr9N=a z%ON21PABm9Yl2lV;>-{u@U4oPxEL{-7(+8zloTVvQetR+@treKk{Tm$8CRPI-@F)l z^E#RzBgTqi=(uwZ^cO?oMFLnUWvMTV5fK#}AqU8YPrWTU^&+H0 zFL3Xz6Bz8&(^A%S=|xl@taxKHs29!4dU`{u+R%&6pjh!czu~>Ei4`-E27zlR!BGa0 z6m6h=vj`YNLB3l+y^iHH&>v%w)+LmbpMb3c6SWR7RF5KxGQcQQ+7ujj0AvhXUVOl4&fL08={4ULZV!Wj3HPv9tl9 zX15gx$#hFVZDE-Lbh_m#kYHtNG2qN%IRR{Dvy8AAL;(tNSO>ClSoQ-^c9zvZV=l`D zpd^pw0I-$MGN`~HvQZGB71(gg8^B!XwgMM!nN(yDO(^hP0W`%dbAbW3+y!Dw*jfM# zyX6^BTFTY|;Lt5o$_!!(1;NgNigK1SfVzTZCeZGd9|3(OTiXG370Uvk$H{UB$g5^K z2DI0(Tm-^vSz3Wkw_E|j>)2WV47=qWu-{;yeaPB~2uHnt^S%)VCOf3k9j) z0OnSfoxq`6CbVG#w6nDcIPZhR$5{OaafyOvdjr^5gWTIPU>P#dX>&86A7+Of;B*vg zQh0}rVQiCZ?Eq|3+{`p%5QTFF+MT)p^*mcGK-~gM=OX5J$-w6@%h&@}c^4^LGl-&f zmPf$kCQI{{L8NW7TmZ~F9AOHm{Ai#3)?e@9TbcrXx|{p57~DB2tLNH zhl|m`-5KOJyi?DyU@qKof$}SslR)$hc4^@~2h7}Z7khwH6-O`Q!@&7eocO1I=pFBh z6GwAw?U;`fnx#0}LJr^@1v%K35`*JKrJAJ+hzO0R2vuS6Vm&;bdedp*MGp!x z3yX*sg<7@_M8=D-XqKru`080+#>R`v z5~#OQz&y{g1sGdkc?^^Y%mG~+3F0@t<(;sZAey!kXdZ5X=^aSPJMCkF zI6p|BlM&-#f-s&X(C3Jyfc+wYHp>~1bj4k?1G^|lC-OQ$9Nw^OxlIt8ckZ}AR)SG{ z+r#@K5M+YHAG`syW+SD(1SDBlb^yKkMoKcez$n6sjMSS2a22z>0s6|>VIMG7vg`!< zs#)ID7{x>_`&QN&MMk}mmghd;YG7H{XcW0kESrJ5W+SEE*kTk5C^+s^wi?AiyOCZu z7l6=CIAD1K`y_F9UKbotkh-PYD7sM~wLM6^7aa@lD`2jVbBOOZije_sHaut)%P8>8 z9x{rq5m@o(_eK#61;ebGGzx=@dvgLgGc4-?^Bg-=0IqpNKsqZ%p<8DM>lPe#F{!wu z0~8!UKJjh@;*KySc*zI)PIz{Xf!=eDumc2LVVJnrCp=NiX%lI)TmWm)kit7kmnaM| ziL^9|f&REeI!3Jkg$a=Oon@dP2@b-05EwEg(t^1IcCCpt%*3ojk!?$)99jXZJ&|Uz z638t@1YAP_hRYIZ@HLf*qRYt+d%$cp%Ok+ngf5Qi6X284!G6!CHrr&L~?4fy^=3e^C|Wkzx&t(QgcTp`1G+tSumL6Koa7Wxdc`vLCQ%IBakCR(>7L~^ z5E7I`)0YpdpkSDF!AYW9&C&&&Ym=ypgvcbZg#w3=s3frw!&0kH63MadWW03Pn^eM_mU~hpVBrYb2u@#oLfPIZ4 zv;Y?fUx@{TGeJ? zSCve0BZHE~Itpe|6Pzr1Ly~EJ4}lbIGWnJP`8t-ZfHjU~HPC2GrlouYoFuU|KRH=k zr6B_D$w^NZF(&S!1V}H2FRo+)wI%E@1*Dd`9e|nYWLn?}HOb<*7EHel%FU}eB63ay8(WHE~Zc@J!NvyA9T7ETmcM}SSY4C_r6 zX(+Ik0O~%DyVRd7N{3;^ha^DeIA_)fRJ$-t;XMIN&hkW^0qS{{79e{O5pcB+Xjn-W zKfuLvAb&eq{N5AqA;7WA6V(RTk9hj}f$TGG)&#U%aBp+K+!d#D1emWmNhgqe!?Fda zR;AEXuLFbX6gtD(1P&>qc1dOEfJh z!racjhrn$I%fikSq3+^lHekG$yT~0#5eGx;U>wGXQ7{j&BPl{R#=a&%H^IIU(<#C- z3kQ5m2n^4&?;0?-z`h}iDPjr*b9N4FY^I3sebYN?D@C}r*`e<+MHo)FnGw3$26!<%S^w}`;}HpYgJ zB7o3cI0)}-pznZty8;T2*|!5oKH+ql0oxf{JAutB?)Vm{zGXQGsPEaK1~^uy(aw+< zk|x31lLTt_Dc9 zL*h^jOglK(DUe#8MjN0Um}yND-+SVH2{g2EgfXD7oqOv6vOCgf)@y-f6r^(jwDhOZ zzBvtS4YN!bNfY&B>^lL}jYHz@8=!51fq4 z_%2{7GM%R69=MHWY1XBS#+Y=akmgKn8{3$*WZuvMVTHfMWjBeWJhyMYNt73`>;mEo*|!i#EJ41w0~5$D*llLtxE7PRM8VjiT1~><#=TVoOYNLle78x| z_Oingu-C^jxZfmPC>YSrph?^gv(-9c62+q|+koUTb|{!KiOfY<@na{;CK0>F4*7t7 zon;oF+2G#NfFl&dz1%X1;g9Ta4&3dsH0+r~^FBL_0?s2I=Fpi*6kf8!7|?me(goaI zbKIC4lNh*V=~S7;QHYt+i4HZ3a}*4|BFrpCQLyD#0ky_VD|J?c#eOAxzvG=+1=$FR_bp9kF@b^wvj=oGv+pXP zZe?pcu!e#h?tq>)md8L}JNq61*&XcL4McWAV$T9jd(5=QhWDCSubG8&6B57t0W@r} z90BqVFlRVN1Y!?4-?<~q&Ivor0C}e@8-ea~#Krx;muAs_XQub2r+_Lblj6n$qbS$_ zE5Jc;Ci!aAnW8@g4md!EXNrml_8kIhv@8bzO(grK0mo69v@Is}nIbff9maw11eRu? z)Ch@JbRa#MeG7qtRE|)SktytEb{GJzGP#+~k}0|!oLQ+8UDUEQxh_*&*0VG;WQwFV z4(0@6hdF`;m|xAL)8^nc3t#)hg&J`kj5%* zBdjzwm)0tVBdzrL!*H}!tXQn#k8tF&TE%*aRe0ixd8rlmfx!2P_e6sgcgAtE*k-G! zY_-ysUjnLntaOGq16=oV7m0mVQQdE)IhzJ-1IR(<-2?;;S!r{30ae3nodM=1tTZJx zlUA{df+TyUtRiEYeUE`_7bKFLv5JoiR{Df!chM>~me}DI=viimBde%Gf$tKaI%Zh{R9*8hb8av@w;cB#*ivOt z7m-0(!V=7K0H{)DQR)*wau{2S0athyO;nO5OQb|W;vfdZ#AHzpSwK-N%QXX}k!2f@ zn1o<-eKSkw)3Ru5ezazZ@obj2K(zzDIBFDT2~{zyI7tVJ%h;h6$g1FA^FXbWeV2jj z>MR;@PED4mt7Gdp5Z1`nVxX>tt)swHD-UQNsA%J0<3Ls~J4E(piNZndZ4BreVz~&k zjB>CMU~ZCS+!UI*ILX*qq%+UHOThR7%S~W>nY&mArdPP*lJzW6w#g3DK=u~PT3~UT z<5uowiPC+xP61s9EZ2a%BMw#v6dbc}!)caSJ!c2)MV5%aWLW@&UbC+eXuDzGH9&I@ z2ONrnvPFAHHf?|%U^tZJDiEy6rcIawL`Sg902+1Kw3K)B*&-*7ea92BMNcBj1E4O6 zlE z%nsFrk%kB?0tm90dF^3^d7Ty53rnb4h=xV1rO5&xGq_$ zRW^~Xw$ZE~0sCP#dKou_+eC{F5`WqPsL9$iaLysLd!?QI52p+K0 zD9nI)nwzx)su?@2-)z7*$Ia@1p?Nfuyw8BRC5})HjIOaXtlLH8CM0eR2WnB!+ceO* z#SWF*b}^QoE57&Z-iN?;MlQ{c)|4wY%#gU*3K+{|xdR+oSX%A5xC+BEq##$!mF7|o zSHMv<%aod2aaPaL*pMrhP%xl-;Jhc7KGTiu%@zHFxdL}+ZvfUYNC{uM$i?xOtz~n$ z;&2HOaJ_IjS2V71Z<>u0Wu;SbOurf6lonaiUFW93J$`13TTdV z2z-5T5lA&UC|Etpaku&&@`G=0aHU?iSc8W(PxwLnKsigbrZA$x>JC5H}4-{fT#SqeB>**tZDS zK|zwLW`~&Xafr{p>3s;S_OVsl?+`~Qa0nl82P2MiM|^MH;?IN-Kn z;AqAno_yOoZq|XTQ5>NQ(9N@~0QweKo&sBoETfhjVq=AaC9XO|$Oa^C`UNsJ*`WhS z+lIs)DuCf5W(QYyfciZi<{%Kdk7l?h2QZ&=vl<}sf@L94bIlQ^ftp*kTGV-BIxLTd zsR_>$&geWE+d6O)mq)Xnk(?*gsqD}S1ew^u0L10w(H-T*z+hz_P2Ukv?Suo~9RR~M z-0UMzTFY_(xN2mX(v&CiTUa&$1FbC2fwT5JT3ou0JW<{WEB-PFP}9W@bHH^!cabuH zE>O_hHjp>S4*fvu5GT0-7)IEk0*D@E2OBW#mX|=)7+a@->T#B9K=dRx%K;K*Iamp> zyu-u11`0m1Z!568$MPB&J7yVoktcSpS?X`{#KkQKbKK>LjeC|+s(cZz&Zli$42+{- z1DpdRp^(@Bz?C+ij`r5bd~tz-171c{zKDs=r_b%n0F{n?(}7!(*oR{BMMEs&;+P8b zrJ$Mc-T`h?*`Y8kAK!OkS(2SE>I+yN0Uf2>Y!1jRhZWy*2UOMhv@NoL&>HqF11js- z+7Hw;uyq7TZD!dAbhjcH4#mKI7kqJVM|Zv`?PKdWkk!w(ajh%)qH2|W+kx7%eDUPF-s8Z|73KloZ@JDF zX}9c90i@k?4h~>CvOqlfb?G^1A2$`y28hil5Xojp{ILmO)WY%_h^>V0 z_q?q@Q3E7?MH9$rETHM@0R~zNXanp4Go36i0ZUH-9V$wI+64srRqp|yZV3^D_cEYa zgZvfmOdxy%!EntTxN*zm%>uEEf-Z`;3PcZzz;3!-AbL?CH9G|&;)K&l1sX0n?i>(u zg^qEt6iB)*px1!ln*wpFDx_mca&V!D3@fBt=hA_MD3*TFSc0J8rWeP$d6~ao=_}C zSBk}Ve$V@K6vr#N=QLw-xH;cvKZn1dsP47iuJF-MP`N!BrN1C~=tXv7CVSQ>nVcNVaQf<>E?ULv$6NK6T!i7XZ0{u}Q+ zU>^m8zXM_ouztfk3m7hh{I2&ZQ0FYAMX*|3DvnW*uT0d~WHJxg!$b1^r2b3%20Q%c z+`ndj2>RB2ZKau^{_aXCiXdRT@=jhDS?r=C>XdT*T4iyZa%bo?>-L!i;;Ke2l zd>*735)ZSx!c1+RvE|_(vy6wp&8X7T@hPr)+u_KCS1t^n9_|jwk2*#r_5A~CBKu`q zPcpvXf6Qd%f2hq1cA^S)dCrO|+%EhSG1)7a{uOv;CjJM9Lu+^UVg3Zp^}(BiaC>t1 zbcbN0`#IuppobcF{V)B=$%7hl6aI%xoTd98o)mYQG$+3paUM;9>=%8$;AX!F@B{Zo z^8EfY3pe6_$p4ou+%dV?FY|eDW-r$-T7In=tklhmM?^2#8xK5xLC?)p?WcWcOn%e=+ujW`HqAftbl3i( zislL)cEL{HYTSS3cA$S%Tt^G4F;^!%Bfwt!5AT+Q^9{Is;`K9_ypq1W0S+C0RD z(a+Q3NtOI?Zz^}ElAovN!(8xIM(^~X2!G;oS*#aMkyhz)JMAzj!8l?qPn8+#P1Sr&;B&$YjAU1bi(i zPlXU#5AjUBPbcm`W&YGtxNcq)FZBEd_>>=_1Udi?OuAGQVJV}Ym;mi~J#lYReR zyFJ|hddR;2Q`KXG+sW;XN_W-wJ(%DBbF=%o?1$bg{+OPBP6Hz08LU+Wzre-`#_?4} zM@kQw=lxH!fBLU~>M$3Q$A9_ZA^SnD`C+4b;^0wZ4|b@YS!p^jZ2s5NgTr_fdO9q{ zD$l~&TGZHs@ytQHqh0IJ{saAd|9)HZ^fOe`ZlQ<6v-{JS>5Pvr9gE$p7bzxz~! zgOf$8`i3Xgp5|YsJo7~LbFQ(FS87n1!e6g;w@d1V8nV?7>Lk zxx>=(Li5aS79M5~frE(Mfuo%8)R;YFPoD*wgP%Ud9`*R)@j^Vcdw8k@`mw91M*G67 zl9``AefCr()5<(vSTr6_RpNOtDm_&=L}ORS-h-?xPaV&2;KmW)874%APP9nXVSlET zz3{*!U6nctfAFw}$gtD@tDinR3S$b*w>dS{dbU9w3b}zh- zsJDB$?BtV@>$ROrBMWtS)jFv8gv0B`L6(#}uhu*gi+Nu6dE}g$?=_b1g)dMa<$L87 zkmxD!3M(X$UFg+W$TP%wJ<2_;$g8rLa_=hkO0Dw3Uy1npxtA4r%@$GT_eEZo;zzmv z3**oJ@*(%hVy~JK%KfOsE2flu21~uvWz=UznO7T&>v$9JcK)r0981=` zOzTuvvF;VV!LeT~qVDlpI@ZMRi%OFD6)=yS~VnVQ+GN9A|L; zi|hsNpTo$czcdEg-BOmg{KfJzwYpvYqHBdj)#?`~Yb5mRUpUuEAyIq&MPc|Wi0<%L`z&HKuPQWTnby3@j3Chw z@#>0&S^KI*OO|ErD?=oS(#ThH(XVLIUWIzQ$MfkJ7ZLZ$8b?0vqyE?Sx$U@Dh4EbH zSxiHGJP$p|uMU#A?qQ$vF#gq#$O(^{^j9U8SNMRT$MVW$rGD?NuU4{2Xl$=`a!AD3 zU#;YFdk;FUe)$7;Q`u?ptML+YI4*fLRZ8Nv^wm%qiOaHAx#bT{WD@%O;X|9wu~+kB zRIxMm>Xt?1_$%``wJ8~YbvE$|%Ut%|2WNm@2R%bkrD35nJcpSTJi+?82e z;S*Fz7Hg%?Q6;5lsq&etB1@#xXV6Jv)9G_rO#<(m@aE!i{z(Ns9R-|+Oogt$Hny}< zA47!?ZH$LC^Sj13zfC?U5p_P94b*>AgHKPB4?Z5mX~#qRPh)JU_c1ka?5CcnqIL7{ zf1ij_+3YjfLNmM7;#1m6PQ9%@VQuXFM?GK9Bd5h@yoGCMc2M`5?$>;ZV`%r;>GZ*m z0m+`5xejyu>m=~l?(o^_bocK;Ly&xpU%iH%q7)4JYz_M0qqc}4pMx=<&xE&T+-G&t z=hyHx#3`TPX{ySe_8D-IICA+kFZu}KJ-g_0w?q?}yzH~R?t@?aRBiZdZ}{M2xa$p{ z=}lfCIIF^&LKQl}gXa3z+)`FQ>a#b-`MgNtIvmsf$wS@8HJ`$DiafaPv&BO8{NW8B zdpusl8{0l9JKUAWFX}$6xwMZys~_E)`tQ{(?)xkpxEHaRD)IXAH-EuiGTF?D&-@jQ zHRRf7;hK_+y75`RA)&eTISls2!ZN6RLqdG99#TVm^TK`MJP__18tsc8UCNL4-O&5e z3d86fMMrk-fcn7rKb=z^#ro#P`Qn=#pVrf(?U-To9b5E$;^i&-L(WK=GJe(oDEdkwMXSOumg~U*y!5>ARRomYYo9bPHLkEWQ&gimkrgR;o(M@;%KW5tr?2&nBPS zY~NHHSwif-op!R!+I?Gd$ugYlt8@6`wffZIJDx{XH3hy41thWxeOn4iOcwf%7Lm9w z@+~c0r(b(cUGvNEZr`|^cz6-0 z@B9=+KAG~Jn)by3{A}8HbB27bXM8hfsj7O`cY(#(tZ&sES-R$Y4_IjCeYfVx613o3 zvOulc7JN?^$f8^H9bF_L`zJ9Mo@OoHH`3dwPmjk3WJ{B8PZNz{vB@{Ig`&`>TiEb8 z5ptg{$z(BYzK%BX8Ex~8?x46O9lo7CzBq-v=<#jpqgKa#zS;fc)7|gu8lWnfXWpHI zyOjQC$@tk9(py>!co@=No6=sxwJhy*6N{0w*9$C8(q0FpQ&nR6>k1Zq>940*9H+n5 zW>8gr#_J{)3mLDEStOWV=bEUh(e!$n#i8kSq?s&M^Xn=WPQhahQZ|jebbfp20Q*{+MAE*Nj`QzYi?NzFakXS|)V`@^A@ln2{rwdVVfY}zEYo-hT5@y@`}CR?e()yygu;G0clI^D z`@pLb=TYNd_KbgtaLeOg?u~zmB(^8N44L{8sSizkxiUqTlc_IN(Ej@mVEcSZ*480V^+UvL4OFoyqeu;e~a{K&dS={vbS^LQ+VZbkKfJFI#UoDG) z0Y4Xuy#c?VL8>wg`em>v8T50p*ctRYXQ3bROB*5|=a64Ji`5}N+b~(0NBo9INSu%Q zMUVMC!~Fc{-u^HS=_kej?SsA@_bZqn$N34rO%`_(eif6H@9?CbZi<9;%5QFpVw_L; zl}?kTYufLgh0*0V;3CVq%g;1JqHM-*lg0gvU)3yG`e*$@=13&Y`E}1xUrTd-N%JI% z=lwQV$o|=<+#apZm@U8ZEovz9;9AaXLU`qu?aqAFz4R4c3}wIj zxy6y7Vh8;5cucFaUoFpnMGNnTvfuityYAEZ*3!yXg{xfmJoGPcl1=YnfA1kkThZIA zqPOTcs`zb9$y*F=tmJK6DOqIC(3AAJ@vr~K2jA<-w_Q`@vNiR#a+<{a^xIMwi2>JJ z;|z&{nYSk_WPf(>&`c&p8UNp7JP|01TW=?~-{LJr!HKr-k#k2^Vj1*y*`=8*@oMZI^GOu1Pdpzb(8WF?;jY zdPk!3?ro~-9YmAr-Ek0!^x${5!6a^i z7g$`|{iAcqlAG&a%VILue~U$^!#~kMRb>wUb{0zx|6>+0dH$JsR8^nnKgeRF%73+r zEZ0^3(M}RJr@xcMu+x8q#g)@Ps+y{-)&3PM`l|isS)5k;hu2V*xyHYgMQ@G&9E;N$ z|L|I>GS&K*u;{7vpJj1c>mOc6Rhf1EWi0yZ{1;eU*ZD`+Q&n!ge=UoNdjCxp>IVOW z2C6D<@NZ!;*Wka;BC63pqmim=8~yuPv`+YsO^{`4!vBheZqna0NtW_S|8^GBlm6Q* z?kD~AQ&g2b8x3XBA@jqm7KjW{Tr7G*Je>scJS^p^(TeJRGEF$Op)8@#hXwJWh z#rT~6I*Xe*|LA$D%9;0fvKX27Utw`E?;o*1RT&HZMJ#$2{AXC4E%=8oQq}ZF|IGt` zth)OH|BOR_EaSRE|G{H_EWe{;|Ijmktkt43|K)RkyoZRm@ISir|2@3Nz4BkYqE^~# z|N0yM=eQmD#y|XyEY)}Zi}(JxA17QTFAI{xc{WJC7%WF~ty-QDB1e@oM7|XwhjUn{ z+!#ipG)!&@m!tQVaQS^WSyDA}O@th2a2C_^W6xOP^7Gmq;QbNq(73Rk11ZiWCyv zDe@pQi3GE}*eu6HwVLJgEDp``s7$h$GUYWa1~TQFEbcSq$rftWVv(oWNH}fsp&aVs zV~)JcPKiy}<+r(1Wp>C{98{&vlZWQ>Nb}{!0y!qUxNV|s(i6$2E8bBNV4(L|#5h&BsUOonvI#9Frf6lO=jWemOzHI4RGYqUOU>a?3Og zr)yfC>LTZAmwePkBRzJ>H)qJAnU$Z-a;rIc{yaJN&C9I|RMoN|FJB}vx+tGsBA@Fe z`R)pB9sR2OW|b_aHMwhzd~Vj{dmB_0yD2Z)qTWZgSB9G z-u#g)3m@evyJV@{mD~5o(zYiL+9yl;zWj8bEU^dj-UDuRAYVG9fT|<;%@K8xdMpn+ zA)o9M`TPm_T%O45PRTNPDvvtj$Y=73a}o>Z^1KTYofq=!3-U?4l=oheW$#jMxgtyZ zmHhIGEUDM>^&9F-b1RRyqrS550D~?7Yok~faHgYx@i75|G30y{6HpXOmXX+iI0IQK3<0%qWSNT# zNRKB=O?<#yA|-Z}7;u$Di6tfn)FqS8QgXm?D)}U(1#F~|h)xg4%plR35s+*m(PRoZ z$Rv?y30SaFVnJB}12z%|wtyWwMUKr4u;r0YUtWNwfU0r}0$fETu8RUxrR0-d8W3Me zmXgYV)he>wR0Z7Ck}%cs0h+P;fq>+p0PN-!Ljm!lG?~St0k>mRl{Oww zIzg?5Cj#`7)T(GQpnZxgt5X5iX|gm;2TZuga_kByo*~P?Ou)%3SqyUlLvv&~nG48R zB+;@Mpj#qQwiM8}LgH{GpkbB7+-iVzn^NuF4yf6s=F__Yb$c|N#l3)&BN}_saX{G# zWjJ;cpgp5jd1nFlXVfbHJfQrVoL$!e$2TN&w*h^(RJC;*kaI_(pbusYs5Z=H*d}{%EpnMk~s6WEs^dHex7XxL$Fmr>f*wMYVw}V+KWRJX!MN6=_Bi zRYt`%3uB_9G>I(zNs82Diqn{^xJjl?^(l&sRH`aXRUEM}q$z?k$YRM*++>h*vPn^8 zBIjw7;>1jS88a1AndEbnskpF`k0DEOm!-f&C1oqRY*e*uQO@-p3f_hJ?RE$hKZmXiPovK{zik1#aY`H_B>ZED0bSjM9WN~&Y zs(L8ZxgJGPAGI3qQ)Ks(=L;8)Qk|R3vXx^Tut(%ntQ+y`xy&B}>Sj zB5R*4jr)r9Lz)EVp(5>w(x^I8n2)J>?Xe=_gsQA3isKWqM4u`~PRVj`s@OiGzBK2G zrgN&AKUcUe$Z~O^D83|1@1H!vVhJJ2flwu8Y%5fGAErc{lyK!}xDs&=!z&G z8;n$rN0IY&l(IRRoY$k3Y8_c@I^~3pESEZEO$;@6#V8x~WLeNFi(<(#5UXr9kY&-J ztdAqhLYy)to|>1$D|h3mN}Hg(OQ5P$qcS*=dQVGKT9U}8K1q3(L{;g@%BmEqnn+Pz zrz$bw$!W^wbh0d@D}zjA$uucD%{0;tv(jmykxp8aH&(KwW+`{F$)dF>%W|mINRIN< zPOai|m1+ldVR0z!c~sS%r>w~*%UHg$zJSDJfwH8KTNNsUizqQ`k#fF>lD{cZs!K>@ zmMFJN$T_%FSzk()@ls`E8Ci15l*?sgxhqpT%gHicuGCkMrJzE&SwWVFN@Z*nbx~fW zv^&Yt>r{4ClV!JBc~(OrwN_bPM>&twDb@AdX}xm4o}9xQlvNFs*kFS)sFAAD8kHL? zf}4~*P2{uEq#SP{vDc!UZl!>?t;+BYvgCCrQ#;90+o`PTCd*{EvbBdSD?Q5YUW&Zc ztF-k|Bv~@1lnYa2xt>y5TqGJ?%E%cKSu;xY9Er3!<<1<% z37=PnEKn=+f^v3&sxB9lhf5@M%gTXe5}V7)^feMyYs$!VYL&mP4BI42!KN~3n}lUs z8M{MOwL8kpU9t@CDo6H7-0Ul(54qK$a^Q&i+C5U{A5&HPu`=$IMEdXCgRoBP0-)c*8;iD?_PjJT&kwG!R{+ zg#}KBk>w&RFgKjUNO)kJhN|*4f!CTqOmBKbV1$<9ShRtYTB^F#1~x~M*p3XmjG|VS z=)kjR5^=h~%NVLk)dyC`l9-7NOf^tdlOZrTjx0HGfm&sA?i1u-r&pbQlBg zlgXzvC2%yAEJ103ap@!+>4B^1l#ePSurY&tmNNnuOeD@tf!a)pW6ca)wUD#g8dz&3 z;j#uAvPhI>1+K6N&JL{2Cd*WIV3v(qwb%mpSR~{Ge$1h&2z%g=oy4v^uqHPU%Woz( z(C#2hw!*q8>JLmAqN<9aK=nuKU6O3C5JyjYH4-esK_Rx3+;~qwjf8am<*zM6r$^{{Tb0M7M z!)*unXx4+A@R*8yuQR;IWThD1Pq0`vyuV-}d-2nM^Aq~``Tuac$|fA|m-F6ZuY@(8j_XAhtvw8J??wW+^=Dqcf zd^+ylZ{L$etNIWc^Z_Cx=tEA}2gGR&`>+>5LaY5?i=?XV$PZIdAJFO|>O-XN10vgW zAJSu}sxsz-OV3sM4ta``hmIzoppxsW-R#bZKdS^gpV`{v*YF$}K78r*=E4pJxXB97FmP6Cc0- z^9P+8`tuF#&&3n(r0AcIME@KCP9bzZr`gi|d?JR#cFfO5^i(B#UgW+J#GTitTR|f3 zgQOD_Op)x#DZX^{k8nl#SEMHbZs=wpKUlgzK>%A-u(X5%8SD&}YEU3ofx+rvYQGK~ z*040x21}jwET@3{F81vQBD;g>&&Xy038TUEN6wwVItn7(0_9WeI}D__*jfst%y6?@ zU<(BuYi5I`1r#)ko(q=Z7Fad_mL+!R07}=m*)Y(&35j0{1ZKC{dI;EeS=IrG2kcM? z%pI}y7Kl3KxH&-A8C#bC)dkCPAn}SFI)RI8mN7TM(lQEG)Hx7;$G*8h$34q=AX1~I zbjpAet(pdu7^#+=QIPnp6<{ld9n^ZYG#RU=KSX;9*bMAD2vjAgC9I1fpgD;hHUM>+ znx@17oTRgi&QMF!CIrLVV4&3OjsRp@*r5eD&SIsYI5rYwvfuwLTpq%MZfy8R ztYos#9&Aw*ggT1*K}~2nDHNQGbDJY7ah-?(EqqQ%m!e-0vaqvC5r- zaHt-9u^W84LU&xJmXhk-4o`5)8(p#bbcaxMqgqO7;kp7~uFdWC40nd}@5K7Y(6siC2Go*qh#h)?g;BNiZGo#e7oU8Q1NqX!F|3w?N7y$3 zn1?S-kEgp9@o=o8Stbqx7~7{Sf(s$xQb!oK-2e;^VcfSbQyg3gfB2e=EH^z|>PJC8 zbHK4%Mr4Fb87Mr8XMeZv3v0O4ZbvOmg58_@{xq+rx#3cRgIm@Bp#|X*y(m3XQ4l;H z_gzvHE)Aogmm{F4lw~iF*YMDcR|MVN^=Z-e4~9zx)2PMYUIaE>+$MA;Txyz!#IL3T z7bNilx)3fkqd-mpUCZIL{~ZH`D=cNtzI*gS<*A~)9_=ru2jSAj5l54Ww(ovz-ag$e zntdBCP2F=8l}aNu1!?H$fIt5yIn^w2&(HlsTwI;wM_7qQx~kAf_`NmRuclc3;NQ^K z2JoQm`swhV+@g_kS~Ya|z&G4b_vmiZ)u;$5-Vj0KaR4@B1kG&&5RnRr7C#LB)~~qt ze~ybAm%K>eah?+)sqO5Q3}m7pOc_w?mdk*~!B!(sfI<;pxtq%g&&1>VID$v?cx>gZ5z+(-2DA*QI=I6m zK#x|mMRAUa$K(CDvNuBNM?wEMUql`58ld$;xiy7rrF^}X4>q25<8zq!@p!#V!6#m$ zr56kL@#fJnV!Kc)l@)0zAK8x=zuxajgI032qfTHSuK2fKTZ56~TB&sMAtn-ee3RUg zI#Rj~iR97X8$Q2$op{u*AuLkrNsXk9gfn;5*Y+)SL8LTT6zR_Q*^k}lPZ-tXF|~9= zN(;S_e0=f1_lBg*C&tf`pS<`s+~BI-ij-DR@N#_xRPS>(o50!u%PS!1kYyDRbi%2m z0k(UNS`YN8qIg3AL$Oix=i5I535ijZb}3Ms!VbfL#u`Nf&H)OtU=`jCKyWr&lYlxD z%H0|v`T@PDFft+6UZ3J|E93c;= z>}NRwSO-~l18qYrHv#o1%WS}fg1863**M2dm_QCF$ZQR0ndC0!fR$-(b`1p0vP=Ow z=UHw69ZM|df%O%Zs?{iI6a{130ZP|cjsS*r?xG5~+F)zkW|S1R$I=2U96;hmSipS3 z)+*rAEt5~9q*)Zi4L*yKj!_`>=TXx9rQ3QHC7q(cYP^n;Ztqx{?xUpL;Ak3KoH|;n z3yCI&6`&=Qly&DKkx!^Uz0D9>Rz3K;WP76bXkEW3am zw~Q}|mf9*f*a9$L$?^_ZuVNYEjFueLXof$%2PD^Ugest`iRCIV+0615m~3Tv4di!1 z;tpXTq>HWTz!(Z9^%Pj_W~uIpmZEX%G_1uy!DO@~@MGz~?mRb(U%*5yvn&TLS6F7Q zVjk95_5yk9EJuO-O_oDI)|T4=u14!&4H!bf*bafN`)JyS_JQso9a$%UQMHa1 z%obkLDe0Q?Edye1 z*tZynP{q)!X9ICTEL(w)P?jk`v4-Uk(5Gd&19U~P+y`!TF|>_SV`3zm9#+Y_37C&( zhscB&X&D7wTmzOANW4n_8GZNr{?7jB?H)`cyk63yN)s)$N4eKI z&=$=rZxT3h%McwT3bIniL`!ivYGLbS16L?WMaG|X;8cK5Rq1uOASXuJu8xtu{TaQ? z+hx+fH7ZTi86N$pn?=Ebi?GK?5xG2^bim|bSq5wuunaAXk(?;#WE9wR%jlvQsSpL$ zc3{RWuYmSqw$1_lB`jBg)H0TpfVG@uEs$BovI5vbs+efmpW>rHnbiJ6<7a^{7I2FB ze@4GrCwS@K^M9zz0`sNdF0ef1J&%X3#eD`2V3=$wT)#LU})!NZ9r-V%W7Z=1s%tA>ZLjq$kJ}T)QExw zGXbo)Ft!sQP0cbF7y17UgG%nV!a2g=G~X+9d~&AZ3D^l>zCK zh>I`e13`<3fWO!b*p@j$J&?S@aSMShw+va0l^RemJ3~P0I%jqQ1aEQN0w5^FAbsbl zw*#n;GDx2Zd|+vix}puzb1Xyve*;na0e)Dq%^)?l8)(F{Kv0)~29yazbsMM)D{$$S zjvj;5(Z>!)!1XXU%O5dF7o%?9vHy>=_l&VNThFv=eci{WeQf!7#y)r$1Jkqw9JMV? zKp+7^vqucVNHDUHdxjtUFanV@5+h3p5CSUaT(v9LuAFnuIp>^n&N*kUb?>TnoiliT z%qKm4UH#PauC?B{(;K4A`HWj@X#Dq8-~z3O zWQ}77%pIvV>NwggpQ*s_JlbsCslewx+N3{_|B%pZ!fok zDgPKdn{fd#W;#TA4$8w~?CKr@_2H^r1g#O$D^L}w+9^;IrR)qCjMHR?pe9WP(_lXb z<&62<7}J@j><&mSkhX$>V(Av}EmaGdz*Xih0GZ7(cC~bZqpldkeLoYs>1|N8Ctzws zwKw2!RKrOai!lk~$~J+BNwrV~mZp^To{ljwv(g6e>ekG;7&APt>^Ue}m3D!VHR%>e zSeKT7+AZ}q3bMDQQ^2*SkxhZSLv@^d6k`I8Rgen~Po&|e)SgRwK*EJ|1dLv(i({~I zE%m*LF>M5^a1&hINki^q%w|ZeeHC$r#+uTwSi3gozxBof45ll7(;x44+;L5GZm$7E+UR`)S#2PPu zr{R90WuPw5X~%F19)hHpgc(h6W~7C zX}5>i6sK7y(4aMr&%CaBoAP`S$YZjS~M3sV87F8Uy^*foTiDeTNHTd)fm$I7z06XQT>dJK%E0l zb4l3jpwskDGqSH7o1kG{U5ta>Wk$xWd{><2U|sqOGIrEO4+z*-Z6TN>Xw2upX|4z~ z{LpFY33M799JvdQohHO9*?e`vQ}N)6U$Wsc_*)PXlx&N0!MR&wf|Jcyh_bI>DOCCd z3c{o#pdm8ZE}lhDn}~A%Sg??pY`?<11-tplcCmXEB%8cK)sBFUBIyL^E0t~l|FUGe z736~1a=I`)bvxO_R7$JBGeK{;Rmmo&T3QEY2!?(D5^JRG;J8)=o^{Elvo+a%Dm(+d zZ7SFVQ5|Zx8u)g)+Xdr2DmViTebQA>IUt<@WrNajurwqM7*00RbF^R_-t)<3ieNY= zU}Qmh0O}W|V<3Nt;jjyUx-;ntxV@r)&F?zdWZbB>1DxGTop;G5_gMw~!0DA@mqRV+ z_ml2|<^bstxQRu%5ZjqzqLNbdG6H5@DR%n|PD?TCWhiIxl&6@)3Tk;X2U;sr?9k6Z zd$qEgV6sjvJc9LRlqa;bq?qasl;>W6lTH=5x>Ag1x5khO{Cm_`B`E1v!76AQP<9VA z4oVNe(U3HKIK^ylOM`Y&O#ZHP0L1P|Tfv=M6ZTWgBEfiXK)|6i8~7Z#6=a`kI9*`w zF2(+o{RpZbDBy`+pzTSuhoH+V)i$;UD!rux;LacAeNq4#sBBzNs+kOxJ_4@@X(>30 zk_JYnnxPo!DHx8GZi9^ksZV0686fCw3)Cm2+O;_f9tpDH$*E>3CDo4i9z3P0Ajy?# zI`Ysjj!V#1pxP(kT`VmHMJ3Wf&{HN|1JC8s58LASHO7RyJoQ)nv^|n}Gkkv=DT!NY_E|hO`>Q z?MWNJ;)(PL#GOei!SRLE^OB`=Els;&j&G&upz=vN3$CA~$uFtqmS8rWuhhOtGr^c! zFTu38%N87gdtYgSpUWH&WMlkY=7K1-8Iay4tp|Rc zF8fI#1-QDEZ36W@>S6)(_DK&x)_}AF42`+$OW6fTnAK#pU~0}~Uyv_B@uG&_2LiWU z=BK>x0K2W=GfCM)FqKJ`p@X$t z=_5$Zldgj8f;8KOUtt=@NxJyTaSpPYRWJy8TBIjnqgCqDmS)1+rPY9EnAt9pJJZY& zfx5cV%pGC1JIxIDNsquuzchRx&GZu#Tma7@X$n|%>m!&OR`waxk4qOp-Gp=wj8CT7 zW%dS&W|i#&J#*46@H9^WH)&pA=9i=a%W39jRRvLNX=Y$udJ1|rq=%qmQ@RH#x1=2Y4a?k_aRgiGe)O4)hfbuG;WQ*ONhOMdBg1^D@= zn=OK+6B3Yae1cKt0^C~V*cXz{=RWB*I1N=nbXdB%A#6c-x_OF_W=E!*yeMfKsEn0P zfC#6w0dUJ0yJsa9q?^rRloM)8$P#E!X}Xy!SM3$>sg!1d6SqcHrJEOmjx(#%%?g2f z)}))X#&o-e8o*hL8gsU$o76UU7I?KwVn&z?g5?`Nnr_<0q|0D=T($Qg zV_LO+;MJ`;GtAqpvQ6NbU>{1Eqkv%M)8^An%aXDiAZlOPMi6$akre^IQ)TnO(3yHW z1XbtC&VtSxwg=-_2XXhxc7XN==^99Xly-v%&kWmfJJ|NlurnXvlVOGkR^c&74O2k} zXo`|mFLQIBPiBaitk1qf9ysW*ek0z^_GG43=7@7a+b}S_qy9X2{i%VIn)F#UQX-ngtqrRJ#g# z`!ejy!5UZ^CCd{PLGG9era;S_CR+muOB#AB@ZMB58N_X=whGj5OGiP;j&v4`>`PC9 z=b=_%D!4pR3yG&0Ch=Ta1D-CV36~kBk6`Wx%rxT!gM0$zNzygoN|rW*bGL@2WSUNb z+AWZhD(wZ&Zq0XPnqz{3h_p;INT4SmKV3Qn;xeR-;MT3NnbZ>0?gLkrv>SM5OEbW{ zTfK4^13~RED9x3Qfx0~R(g7v;nzsRvS|Du(X@#ogcFX3>t?@;frjKCxUV#2$6>NdB z5@{dsDpi3CjF%~U4${h{9iXEU5BJp6#kl1JhQS3lQF! zY2T_9fV^&2AN+kK`zR3tnw zNW!i{Q2C_BRzcLWG#B{zXPH0vim#KhOnp$6?RXv}1xs7NMtGLp{k z#AMlR-8VMNJQHZ9Gt2bFX|fH_kRaUz!O2XgzWm`Z-N0$A9 zy#pllWZ74oHc;B9+6gc;s4?t-(IE};3S5k8IR0a_FePmT8Pl4q6$H&lOF+TAbOcN- zqI?1bN1IvZw|>JBy2WzXRzVwhC0OdoJ1ogv^%lREWp?+KjXKCOiHFh#aPQWHBWCDW ztECD|o~p4c;C-&zT;O|!e&M2xEHjsyZT|3U#~aviW!ps(l$LD@3A7I+rc2Afv|GU8|4Vo;bG26^_DC^ltW8E5#e^0ha?~}HIoB`?kNcaVv;_kk)~w$87sn;sI>FDC_&0Z93ni2cXU~N82w5^^&%NTyJ+4tOw`V zk7u`_E-AbCxp#JGOW`>~SI}ntq#!5g@mb4dKx-}v@ z$4nD!1Q(z-M>+)>a;4MYIxolW-SPQ3rl&yJU9ev$4Jpbot;Nzw5LPWM0TDIQGH~bC z_}UzkT(4{gxNMMyH|CgGf-&5K(>|$xe~xJ%P{#`(WKi=~0M_053TlRw9R)eV(kAdY zDvcYH^oLaa7W%JT;P`#kZCcxXWCQDpl`K~Lw48{&wSzkG>K;W?^s|4p4ta;;z zxnz5|Qnni$K2Xb#RF65PgkWTIpy7oq_X`D~Z|b59YE3GJ3jC%{XY)K#8qDyyW!;DTTb5!Jb-fk5Yhca1b147zm_1k@^<3Hsc+0RkJz zGDD!>DsPBDMw7G++z}jMikfqcPm8n~47cXmuTDQI|2M6^6cwz4v3G;vtuX)1JTs7{esinJUc_N zd3olnShcQ_JQGt!7u@UtRFM~$}^drd3G~u z1U0?NPJ)y^wOb3k2c@ZCIj7M4tv}(G&V?o}ztE1X2P731+S%*`Aw?)d2XVy|7)K?@ zE-kb(Gyzho3hh~9Wni~P1>UtxR;PkOkX?_mbU;y~3VOkKd!c=C-vP@V>i7jLcd9q9 zu0qp7Fr0M|)-7!SV?Ao&5hM;4+8t;W{x0x1j^1-I|N?cnsQ!ft_YTc^MYkYp!=ZoQo020@1-#h zv_McW2I3#3WnjmxzE6dwmY`q~c)e)mvp_#Vb_v|OHR6?_6J*ap(VMgb;MS% zmga*lU+F$*@spl|W&a|(?W6`2nf$;ayTKfT@Zci5d^5o+L1Pb~B1F0XQbMIo;LWXB zVMS(}pf)VL$kaxvg(dJ9MHlSz(M6`2pkM)%#7Mh9m{VE~V&YKV$bv(w9K_;_%s_&4 z0~{r4ygo_vMlkf~eiIhBGW<8!Y1%>N%Mejnr1T>WTdNwCa~ew7to%e z+8vOVDeVTHS*pzgB{|9tf{{FBk3nmJbQ?4lt6(1Fm#DWMFjGd>IIcl&r3yAcX0;}3 z1D!R>?t|b)vc{1CrU>TZ1|+mA+XQ@jm34uj1$9vfrWU0aU~5JC3KrI+_h5ZptK}7h zY^vjOkhe{ick$q9N41H&Mdp&A9A z8pkUbz1GlQK*+taHDLKcy}f|lCuRMgi;SOFvHh@82#URn?HGnYj4xSEKm#j5#rC!P z5ex;RyypVxp~ZH4=m6_s(idAoga;7lIEhw?etP{jks@*EETdmr_ni6wGFy5rv660Mb%>b1R(iyPPD18HG zttIvsh2XXl6VycuUpY!aW48)+z(S8SthdBu^`pGo1`z|w7J;N8X*pOUn4uStKB8;~ zC>zsc!(e+{1rOkPLD|$r=50x}ogjEw*&J|fmAP0cF{NwLd2q8Xb#0WGBZA%%H&Ft0 zZk3qFZE5CCiSgN$mV=-@O;!co2x^P=OUx}{^?(^Vl;(k+6X`JsK6huqnOl=Dn2Sqg zpTP2!TS54Zv>3$QNz1_8z4QhwK1lCC&69K))W2wC)1c`UHI7LT`KD|!i0~@a)&~~d zdIZwEm8}4~ZuRmhHMIoGYykKLpvI8^#@xCI!UId~9J|0_aH-uPeL_mj0>Kt_4XQ&m z*&>*YkRAc=NcUu*)vYriC`!E*fK7sS-#}xubQNUBs-OcTI+d*g0ddj-u;tdU_)^nB z(82~dOOVDTmYTK{=^02%leU5WY_+=$4hy9Ig{9`HR0TO@r6#>x+5v7WRN$;EHKo2237Wd1{AN(hdXK-*_W*2qPNtr1>EwlUP z0BAo)`2rK1UML%US!UX4DtI2%-30}>jg zZD6liwcah|CZJW>OyJYTWc+9hlG>$pV5_6tZc&+?qvLy}JE;l8+(s?kpr;d-o!&ABaaV+Jz+!VdI8v_Zi(pFIah8o8js0*mjW(3N^ zq}#wRQd$n?Vx?iu3R4#6t_70`6?XBxfz@PX15zrCGgaAE5Sym#2q?;sj)I#^6*#jh zxT?IZjLG;^7hY-ZqAG0{DbX~RsDcU5lB{+&!9|J+;!`U* zC`j*sccE%?KvNOQF%?{vC|guoY0}EnMJrgXl0Jii8WjwJfLdkKz=c~w>MG4y8(r|( zw7t@}I#f^%&O4>yU6p2%VCdH%a!6VZCWoaLU}#i&0s<#0?LoH?R7@#544y7od|U=} zRmtx-?plz3Bkcm7w;E(R@V!?y1uPIO-%D`ytZc+frKuzs&J>7vl@@?Ug4*&o)z3-3H;VD%);5h|89igY_^YcIp%E-HI6ed zwXcE)&~ktp$1(^%R5l09x%Cm09VxpGd`{F`Bgj0H_JQOJjjS4kUMgD*Qm>?4VEbC? zcT;69Z>3>(Rp#(s8u(CUt_hY-{$rJSc~Z9InRdOZZMGY%drKpIs?Cb8G|;cw)Dx`v z9WW4HZQr_Ifxt**TR=%cwf*cr0@{lyVAB8*HOjVtw?<_vnyR@O0`2niJ1A*a7hNE= zL)r$WCRFWn0TOIJ3Q*8w(TTpfjlrBowz~VB>2hx>l)3kLPX+g2a9{cif{v^0cGdv~Pt@2McsNrw>Ac!3U8#j@uzsz{UP0@f z^bmC1ySo6357l;;z5~V2EFI$*0->*(p<;03*6g=x&e^N6t7R1|de_($@CdqmrTgG0 zsKzepq~IF!Mo^m+Qp3e?sBx?SuW)6PK}VEo7eREivK3(2t>+*#M%fy$;?^6Go>F7S z+YNeC)$tApcd51>c&53#0M{AnA|Q6#-5b!Q&VGN z>XfYj8Lc&TA8H29?i%~WQU&npRY4NfxTg^o;IJ=idKA?~4IQoe>ep78LC=IW*%Xb_UIHfHhvbom$;cq(X zKuBw?{g~PU277Dm315exvai;zi+PaIUu)OfIPe^h=7Nx6HC6(`N2T3hYK+EsWdI2i zs;vbpYZMqq;Cii@CTRB(glwudA2gn*U<2HpYqI!@S~Gboy#O)3b#^X_Kx06i?P3vR zg(y1&+9RcR;3>Awb`k5WF}@B+qXrI+AtMVhl(XA;-d zaR-Rq)NFQwqaCT=Zk@T`SFP)y&UhV36F}pMbR9%pNK3)NttRuit23$h$~J+72Wcg^ zeU!#Ov2>oLsV_|SCJpkeH?O|+c1b4s)f=b3v=ZF8H7TIpECkit)#4vqZ&D-b?eZN3 z^^vMw2Zd46DR2|3f(U25X(Xtf10@O4ArO%wEdYn9n#|u-Z0~B^qQKsH{?U8SGW7)~BZ4Jk~0kQde)n8>IQ5w$a@#*lm*f zH`kk{P8Do``fg=sLFS~g-Jo!;-fo^V;AWAmailKQo9nyP|&aOzUKp=k}Ko}k@n;F<1j3}lo` zyTM_TG`zXNytYXb+v&JNngUun)z~s<=~Zv5V6zY9N{aplGfL3KKJXoo=7Qs4&4vF6 zT}(+MrW;J_j9Rz{(W?#iwYwJdZYcW-)(*&Wq&;jf_a~Yx@wCCzUa4RV#NDfl25?ER z_~ITK%s^nH`RcbF-a(C=Q`TsQ(*~X*8f_O@k&WiDuhIPB?>LhB8%^9mqg{Mez;9Z$ z`5<_<(Kc2Dn&y;U0&7dsfMr@BXg6x5(Hs+K+-jq_U2n82D|VyN%xrt~HtSrqOubsoivtaIe}1;Poi21FJqw_NT)aQ0?1f zhdu?o{hI8^vVhB9*;w`4)k@3Dr zGhUm_mS?kFW}#lqW{E)GfPZAOJw2x!#78yT<=YMRqE!$W(`;f~(kd|M)?;v#rrOB# zX48`?Jp-%Rs(k^aMW}I%gR>H4{Y#roE!IT?H{6&8DzhIsmSEq(QySCZC{-PTS!TcO7z4S!Eq3wsf;hhxyNlF;?9djwBwK(pti|q|#b7bK z#g6O+ltfDVKwXq{0X)Y_W1KDKfS|E}xE8aM++yFV1*f!_*CMs+EN(HY6{>v$la*5c zsut5wBRv5-wbF>X7E|6J-32Sn(vX%Gb5Agw$X13kC>;g8L(&~kJ1U(9gJaTd5H>C? z1~YEG0x1*9Hi4W;X%D!Xl15Fpn4SgcDM(q84uZ60X+K!lM!84GPK!At7+KJ6i-|qb z9G3vklNP({m4HKng5XmMu2s+oHgBZ9w=JgWS-JqaUQ{~^ieI%*r$EG;vNa&xyVW+< z2d)xY&CkAege10_)+A+@L1ePD0$jM&H>K6Qr7BzLYBkU4sBvUxw3@r@Ry)X?oK};Z zuk0vzDw0+eQ&3J9{MKC2YEG-A#Wk&_uvR(*MjF&^U}LLUC8&J{&uz-)wzryqZe`2C z*?_xtu+`a&E)yC*?qGe)cCg9F-(A7Kj}7@^QV9xKtXkYbQBbasGuJV z#z=QTN~&}KRJo)xU@A@e2&U8Nn8rX>ZJYUnFODwYs#ie=7;jL)3CL@1v+JS<__wJb z7t|9BXC9mq6hybTnUWsqG|22z!7vCOQMMYK5logk+Gb+Lq)lLCT6za2X4S<5h*;8O zm7r-wx(4Fcq#fXypt0=rHnX`ceFC#P(re({Rb$m)#;tE4`qZ5TD^HqDzvniy`l5DY zU)xOOoAdy9d$rpx@`0CkyIn0wAk9bFUXbZ4Z3EE}DkuS0(bCA6cC(#`a#>Na7$s*uY*>2BkD+7J??e?p*J&@d}-g-bqvs#z~p*<+41%m2+ zWmiDZP`mv`pc43xDO&)Frqx0}D40=p6r{~cTfpHWY8;_U?Pl@@{o;58V~-lnD{#HE zn}3__0eFUYn7_xjp`bse!;bd|xZ*nOGV2AdWN9tfAXt1+DII2)po{3#4pUJ}!57Cg zm}uy*?-5^ttAi{jm4JsHP3G$DFt-FPWcGC!&%qA+a!>@4hM9~{;~;-V?G6Ixf@*6( z?2@z$Y^`ZHp6eZ^`L@Hp;w*vYdlf8zqBoSC0W^Ac+TPAUmbbJOMEZ8xc`E~ramsFh z`BY_nT%G1JP1%g}PP39Hy#>B?(p(T?HK(!TzohId2+6%T$rJiTh-bnAk zj&GNpc~8GCGepqXDM$~Mc7c~LX+n6HnIovZ2L%Pn4uY;iWj8@axwIEtR7*o@x=d27 zv<5`fNee)5vosTIv`X(lKzo;#I+!Eq?FM)cp!`e@RtQ$hBM2K&K_NIJI14{+w9C8^ zXyRCxS)c2&zX!a6`FYh|g7!t}CdgZoPJp;&X*CF0Q5SU}d5x@b)PQ?}Ewy;P%Xn_8 zwjA8LwQP&tww3kXVGIOAuh{J}b&t|nu=?sAI#`YAwsY|cHsZSNh8PmxZMF#}i%jS? zK1tF<@SG)0%kDOB1=7mGZc|kxodwgy(tEI0BK0rrHmT*(POw{v^7Ug?x9KA2ViDw5 zOZ$OmoeGk`l2xu;0KSdVEYQ}{t@q%ds8!i<5Y@$8aKmcQ*W;cHg!D-pLH&sI5VVa+ zcfsShG-;yS3{6X4K=_=r1U$`4vlqI}3c+x^7rRaFih3IW$!p4Xg8Fso0chWFD@fmz z_JG}Ol$qb@Hch+A&VbH6=?W;^m-d1118E+(I+O+(Um1Q!G& zi#%ow7g86vEbFz|xbj|;Rv~Qz*)`H$;8oje=OPO<*GZ2+M1!;jTs2CaO}!?dQQ@WrU}>n|z9I7X{mzeZlJW24UKmYS% z{`ljscmG#ceoXQI%U^5e`(H2m?$;BAOkr=s=;86L{`>h3&bh-;yfcZi+lj|t`^Mv! zD&Rk#?@GNj7G`QR=`xgZkfnue-jDGV6ET29C2T?xW1bgNBmw7-iBtqwVHB4?MY58SlV7e);W3 z^SaCY#}fnw0-{YtV6<(23N(jGJv=-;-Q{*Hzwp+r;bus7UUWx)?)3gQ-v8F> z=QN)FPL1HUG{R50BrXsqABJk3{fc zKlj9Gl1`;vp!kft6!AI;T<6k85P2bO0@;_U9R#^oZUx!b(s59GquODx>KSK#?`Mu+ zuQ<-sjI-Anxj;v7oE`Hjm<)|KzxDf$7f=))uQdsBBIE56>;?6i@#g1WJH|j%QM~;P zy$r+@y9>Z^8CgCBm&bD(o_O=uzjn-m*bx=HDIO-<-}>QJgDq5sGXv9 zu7?BTt8Bg8Lmb@fQ^1Kt2XSWjNs}D{KW}YtDZt-Hn?Na;V7s>S!ja}TJipJ^b1XE} z&%1Hkc$}%Bk1t;wRI#gmdI&|rN}L&^Q`?AfFe~r>Y|Y2=ai+zaI`$6+8Rl>HrNra^_yzxQ|NA^2=^+VbmL0(!&A;(9?uTSi_W2O~kd|P| z*cWU&-!OpBe;dn6Fp=yS?1moSe5?L{9NW%Vf@x>_{pmMs2=$&Gyv+O$e{9<(rq2^h z%Y}B5U2u7+=A*6>OdC`1C6>n@fAOU5~uo@9RZ6Gs#9+)J`wCKiJ}f*INZ7pF<~1e)lxBu-0Ewg{A8tFdX& zbw}1Xwt@43j`;)tvY%Dk1$y4xje#JJhjv^1H;RhBe}C^4{PA!i*8Zo*2t~&vnp!6_ z`o-b#cg)8FOFnHW?5%(O{eLHYlFU6}_cD$OKNj1)<)db_J;|&R_Q=IQ{m07ZJ>rms z@V2WN^Z5SP{yCG@6racDOm8eUtN>JTJ-i zXO95(-_S{qtBVxi{HjN~-$%+56u<-bPIgb4M!f{bcvt@4jU^=JVso z;l1uM;ae^(x1ap*!$19aywB%;AGp8M*&Q`sF};0+6w`k^(kj?9%|!U5Y5Ko?_|fC9 zj;+m?8xi?YL;rt=L*wT+Tg_$MnW$WU+X54HX_~!13QqTAE~x$V$eO0xG}H1#Ew6qc z<5}7U7X8xQbDpkgJ}u9N%XHJhoo4L1{$ktv^tWwpw{l*Tp>cg<$MxxNOF`VBAvjah zsm)L0=$Pb24h#H^uRxbG%?o#huW8UEgT zVSsm*nIY`*`TF;N`DY&+Ap&KaS_4)6dIg=QPKhaTT=Yi(%Pqy_xmOH^aX9c6ptHvp{8og7QrX!Rqb+k16@~t(`M9-@In! z+pjnZvhz)Co+g_EU4{AfJA6R1Q!+9rBett z-1-8RDhlijc~=&gpw!c*#tTg3ocl_?`7Y@7GbJWwnrA1aBVK-McKpwc@{`dLmVAr_?{LaIY z=FKW7W5KhWJpSI_kNV+%vYV~PPjn=5Pso4S5M3RDW=RV%FA2&5w_r$ZFvV=C(q;q5YfxNME z$Ip3t_Ido-eT61r@V&v}Z?((+>+j?D&MY>GgxyNPGnX&get+rtrR5*n67x^v{?G3B z+Qyt>Q`VuY9tXfJ!3Gf2S!`l^q*dU$PZw;)^cQoFQ)Rb6`Jmbz2Yo~8?GemxqD;LT>fa)uEyI}D~z1@J?JLx1C;Oa{|L*KpW z3&4EM)2DS?*;HayTeyIZmx7=5{HcdIj{Es?IScSBDsKl$P1RtjJ*tg>;3-|ZRRpr9 zrQM)#S=tXG*K~PUA*k9?b{3TFOGiQXp>z|ZU!q)R3kL6$JpkJ;(!keJyK6oU0{IW+JW*9wka>JF@ngxa8~{TrE4VsE*E^};^Xu;IW(5ys ztgzeJ@(!0!5vaaD{Mru49_;LU82j&Np9{7K3cL;~Oap=L9aWfX;#Ve9{pSNgq!*Vy z5q3W9zt0D$+;cAG;d&w4!gv3%$8Wv;lOKNg;lFm*e7tXpiLBxb!z$H$`S<>tAAWq_ z^l69MZ>%yWTyJCB`9gv1|98}zhezx|H8eF@rL^I-+E4~%{^C2*s*=FV`I9H z7l`5xE=B09QJWqfKm6&h%+mnZCQQ5k_U(7SI^Oe5u6*F+fBQ1!5$Nf7e?si9tlzz( z8nb;`qXWQ~KTFm07EK_|~?|Hukao6tvfx!_Hd0r~fyX3AV!#aQE6^XUqSMEP;-J67NQ6SQ#( zD(a*&V5nYt1U6fx-ffMXa3XC7o}JPZu-PN^?QJvd@aG<$ddKY^%;)W) zVz9|n3^lp86~hKDKG;m`locpZBq|l6Jmu)oDk(`e*#gK9*G7&e^Q*f3rV|eA=#`Im;=K z)0=+m_tSp6bH{X?tz^gjy|r7@e5GZNm4D}b`814o@%o~ZPC{om@r7V3 z_M7c8&4m3<1gvomiv6Je9}aqc9z$>o=M)fjzBp8QnEyWRf3JIQ_tM#8n&R~H{0kV1 z*YEd-pfEw%Qdf@&PLu9u^q93wX?u2$smPJm7bbx5k#zqH4;|Mz`9>)UCV zpk@>-xpfBwbtoGTCWoX)AZSE0mj;FiCR+v%1WhN64w?=ET?AJI1ppZmP2J1LCT40YeDy!)Z>@m zmmPY(H>dsTLdB3NCD2h2Q#GW6@!$N-zxZ)X97F&9`~Ot64w)^2>X^16 z(@mgPz|}5&>L22{#L^0IFz9aXuYbM%5A6pz^8=61{V%@?`VEvOUm}LhVC1lEV-rM1 zqkNqT+GCVm0wb}*c9Y!$(ecV=f(f_oft&VqRG5RhfU$Q3i?6DG-@1OV0LEMepm1eie^h%8P291x z7i^xXg%{9pE?o!tmnvunfmdoQ3#8vln?UTdv=W>UEcK|DVN*b$BVh4WdJA$qM{KqO zlzL02L8bqQ-5yrKR)EwmaKz*Vxog3Etn?D3B}h9#bPj49C7>WzlP!SCLKQ56)?(=a z=q-_+g7mTxdl={ksTI;ra9^bs(yQsXPPJViqF!1LDjK9q;MJ{ZjU(ozS=qRj5#DA= zecDFMa5s$^#|!A~S9S*k4@=9zwOhkRMoi|ovQ40OO1cLE=cM`IbU_-lIAV^Mq&~|d zCTUID00uUsr@*-_tp$@i(mODG&Vb-n)fR(Cx2Cj>a^O~W6Et>6 zr$J7qv=an(sogekL9hoTcaNGW0`=+{HAe&*-8;$^jqb)kSf4Z<4E1Xa+rWEJjg^Dx zVHI3}f>G%>NFS57gTx7GH`tkyMozQ331)sB_|HglLDRf+9vm-7BNj)^6+x{%gP`c` zZSco0BmOG!F8s@nP@mq4oNypc<_Jtv*Vvkfg!Ik+t@J(2$Gh7fZ#E^1y+HCaA_-8i&lYe%oxu%lP1KCnZYa-Y=gZVWdn1^ z%mqQav3X-AvOro4Cd;MwV5e3ZT{mW$8l(%rr(cbgfc4Qa`W z!ET-!3(Tjnf^oaduE0u(vbUhVR4vSa(J~dBftm{GGVrUE=785KX@2#%8L!i1Hz2BB zy;XxQx9)(n8|T7Kc&Wer^orJM7j(5=Tz_v2A8BK zV0}~SyTx)imYxIuGbwvlaADig<)@u0|9k!?-@YsT_*CA#GsZoiv_AO6;`n$&sZTZ^ zzrF^uIxY#8m&Z4M`isB(24Fkx=j)aBO(OqxAI3R*M@55RonU2Mf`DgbGeAATYMBRT zZuNT^H>U*a*ynYeEA&*`41#?pY>!!>K2W+0Zi7+IS_qlop25mig7XMzeB^}jjgc0B zm^f)UxQdrXCrp@%B^ktxQ?>xi5DfAN z_!LO!AjD8P}?J&1CM>unEnYfM=&zK0a_SR3v3T%ulw&?gZIY)RpW)H)@P8qrED`ea%{3gvL!CV}I z+CXKO!Bmj+0z8MRAT?~#R7FaM!MIZeXW%JLni4;0vJ#|&;384AAxV=aH$~Y_;Fl`R z04ZrI7zBIS$_C|3n!7w@WAka3V36qrlg77x(yr%Juu71<0WHnaTkzB(O>3PrIqlK` z;NK-J1S>t#XYe#2O&Odtqa)G-5Hv0=0OM2cT2Q_u9R-VPQvdZyE)CHjUqHg?q}>>c zz{8ma8GSx!<_Q++4amRLWK&?{N*Z!aEx}wQ-7pt-(pivnFYO1zk7~ib^z-Y|r!$=M zzqh|LeLj=I|Cu2Zw6_k9U!;DolV<2m>ha5TyVcrn9{wLI{LA#3GRFkdJcBZSX*bvo zl*R^48PAX@yVM)Oc!cy0tj0{)dGm^$;>e+F74XfJW`UzDX+rjt>CRPSo1ivd>hZmO zsQs^uKdf-d%n^)b57ZY+m%we+`!sy9$TXkMfJm>I;*kXU>m%5xbr*hT>+C->9ryF` zg!g0acKsBO8=bQ2DX?kE)DZMF0bI?}UT{ND5Z5wgt~!*B=$tZ-!zdS(k4%|ig2^_) z_?Yw-yiG`5lZ^*lzAYiEncMKWohEdlu6x~ zvOkoKfYkjd`{mULh&(3Cn;;N>D(wbc=h6o-cA*xYK=PHk=m4cRC~q~u**(hptcNMH zM9^`>-3&BlLYJk0G#-esN{206Hk`24@7r_ZgZt83fz+3Wy$7K?B$s zmA-)9ap^1wn~>Il6SqcBP8*+TWi!B@TVKG)wz}8>+50N!06vG(B=F$Y*dvBRFwddK z(`NWgx&wSKr0HPGtxq7}O4$<7{2*NftFO{0Q1vF=0dsycw%tpx8a!j?_zhfz%-A^& z4xKT%5i@pE8Ue|XDrg72(b7F|m!<+&`V4ofR`wk9W~<#b5S%k(_n0zJo+s@CXN4+= zFPbs)1Y__io-tl!YM~B)Xo-l(<` zRC&(Y8R`X>UbA*&G2XLgmLU5C27Q#>2ebatI}jEu?EqIHs*MhvHLFolpXgZ=8z(IU zUGdUK(3dEE20fXdGJ=jf!HHW#(q>I`hO(95E>j(+XU&>~>{VtQjECQ;?Le$!ftBK{ldb)?^e)yFh2ntlf5QKzprfcfnMPvd^Gtc-C%F>tJO< z1tF8OrjcNf2ViVU`V3a5rC~GlMo^GEJ8K>ZG=Gl8N1);Jv)pcf)}D7&3wpQI#WBd- zRmZJh??CEzIBU|5G~O04axC2kZ70$dPt)8>p{`foc&DN4`Qa3odiou>g^VUttnd$inlbI-5_jR z*?chV)@u;3r)&;s&tp;sZ>f!=qUC-GA(~XLFGGKy1D@H^N|2l@9Rxl_(n4@qDh(=| z=dRY$4p3Sp9RJ-x-oCB7TN-DyJ{?ZZ=UCMsGt)hA4_XN z-1tTXz4yUijzjiFL09zX?XgAiOP~Tfud~bAehaOzJSAA zsej&riO84Mfye)kvG)M8E6eVB@7~>Q%ROyop6ww#`vX}vrbjk2-Rf4i`r*e{2HO~8 z<6)Q{@DM!yz>mQgW55^#1C%P~oO4p;oJ*>t3My4nWmV2O=bYYeuXAtrRrT<7Uwuoz zf33at+WYLYPq^ovd#)v;b4JxFMkj-F$(tuKE`L;&l!<%+%F0DffXGUbWgxFgWIuRT zEpiV1PTL=m}MLq*fJrXbheEYOL|YR3MXawvVhx+1SEp;Ig!u7#k|O<1tdm>sKrs$xFpra!Q!$=_mxo| zizERLR~ZtF{$_(gjB4w^cWu<{YvMr##(L`ko0ivSovvd9)Pk270V}|5Lu4c)ZgP1MJkO_i!#hV2l?~CjP-UlL+LFJ+JY!LJxiChB77a}V_|E0)XFn2B0 zu7RuDm|37`km@C}8q8br7`*fzGfS}wp7@N(VgfHek+GoGU*s@I43yX!5FRWt6AXn& zzy@#&6B!3Q!^g~^a_G2gZX~#QiQoPunNN=<=AHj5H(G>uk0@Vuf%M+?7wlz@yLQ8- zM^qgE$yV`tJ{wbOT~f`jdrZamNM7&SIJjS9u934|>7_tpKo)$R`d}bv!4Lq6`?=w)eAaW3NFG|26*j*AC zw>+lmH$~2X+FgmA15b~{y9}ORirfcXZsTT{c0q`T$O@38G0j=*nH8cqa3Q<5PI%uY+*;F)oiGbaJhK>C8n7Vu(8bAymFCU z;G|k)RLz7cs}tD|UNnhZ192@PTR}#v$ac`yCOz8$8P6xoith!U?IJV5e8+?tbnngy zHQFWBJi8}U5yr9&fb1TTeIT@7k~IRq0g+{3X;6{{3{5ES5s@XJZ%hIX!19E6Jtrqr zGe&E(V17!xZqqE#jKubVl_hD-ZFxdz9g$JH6DoaA zWCQ5g7r6-{r_yQyYO&Ibp%YA0loksK_Z(#d927$ zFpwwGD}PGG7l<4K39TYufWY1$GWY7^J&Rn?5`PmtNE6dmriE)2iD?0(L-Z;Iz4LQw8P< zrp>prFFu0w44CtvI}~uNXDg0&{HkR*1=Sb$X!tWblQAZc^JHG z7VkNzZ$UCLF=LjZ1$al!n1RX#0}0~Y0Ub%=-3G-k@xJ9U0K7)U z`v`c9A(cxy2%8XZ1_+oEnGHrQxefBC#oG*)EO`ZjXT_TbhUP^2&CjUA#Tm2kQA=c4 z!TTCtZ@Iqa(M7pFw`{jQ**ln-?tE>+$Cn`tkfpZWHf4Ns;X^}gB8^p%&K%%PG$_xI z=`aFDvZTf_m}QMK2W-D&`-+*n=4J9bz8w>gJ*{R4VWg}_+BlWPmXV41V9Ffz%t@|! zZ8lD;GSgYu$CQ1&KvKzn&h-~!X4G)( zjG5ckGP6ti6?^D;h>n~&oQCQ|e5Pn-Ir zJ;xZhyUwZ(%+$V3sq^@FKAcs3m?<+kRAbbaYyYhoeO~)sv+5e7qcPsIJl0!e4QRFG zaL}w;zz8@6NgBhFRfNcf*jW`2Co&7f#EYy1TbA@p zm{mTBvu18(ftVx-cntO|8J;|=YEx#-7Ci|r(vy)u|P#&vqGeM<*eGMM)Kp!H8hN|Y|)Qrm0z96G;m!n zvB3?qYNb)6?QTi~@5Ii&<7u9Yp=F@$|2cmExwJ5=JQpQT3@F8D-sbprfH}7Q$$zJw zSyj>QbE-OU&fEz50(b|{nO>)XzQ{Rqnso?Xri$DLv*~lDs}D2gR71|3IqRMPPjjW( zFsRCtfFTf6IA?}77vz^otnKcd+}zi=o#m6RJ8u930aT|GWv4heT$A=a!rRhn5_8Ij3eYVrNIFHX+^do}5!D7_F3p9!u_lxG9OXz5OPi zX{T5Xsvo}<_2oBio$~I~3|Gmd1gS&j>vqlf|2qJl<$h{1%7)X6Tl3{cbhVWJ_Q+WBI`kc zhsZ84;U)4I#QTV>2BVfd2hqL@W=55OE2W7>p9R3tVGF#)2hFUVtaD;vE6e zaU#pWOoGTGP?jjN4+JHNOb1Ue7IP5PC5v|)45Wx$1HF$#t^lu0k;!1dl3U-;B9RB6rCj7Xh^-P?2kL7?j)KRvA_qZxy~r)#@l<3s z$ZQhX0k&I22DQ>NjCHXCrk;ts0Flo{mV(lDkv*WdL*zQx=oIPGwZON0MCO667b1^< zU$4jl5ZfoR7WB<8sMmhPWgncbh&N`HY8ZW30d?ylhr!DYk$a$OQ{*&g-4ZzkdbUMw zf~Pwo$3WSx$S!bc$>6;O^&F##1(15MV0MlTAoNhY`C#3W{znU{{MgC>s?SCCf`m({ zRt_?+#rqVvyDpl%2_V5kWEDv8wj^lw6FCOb{6#i`oB)w6pde6W2Y4E?XpWvUAShJ4 z1)w8Bm7C8t4Qbj%j9vLFjz^o-7K3Y`8 znN}=#nk8};1Z0b>2B$e9qjDEjM8TpN$wClbDBfo9yhP*@*e@5ESh1*DF$QWCbXQ5W zH4s)U-X~!2iO56XSuZjZgf)sR1bt6MZi9y{B4a^vtH=t_@=W9k=xVnlNazsx7-V#d ztOKDvA`8HiUXg>~(2}8ji(Ft7Zy%@_6gdE@M=UR>8Wq_C&c;NhjxQ?LNs$R4cS>Y4 zSg@q)^rA|~7>8C6J|nUUoX(0&oLf|G^CDxxswMpw7FGPBc*}t2lE?z!w<c7hUb zD*%M~h%5o;mW=UTQt^J`tp?BiMJ|BkV3D<;DMaKXhz%842~I2-9=4=BBETSI27yl{LmueF@UDXBX7Lt+4ofb8)E4p9g1lCdO<>%TXCV2x zcV$23oaBaH5ZPAsWH4A}^JEx7=$ zFa|1mlDUHs&7b>(L^;VwP1e zMiYx5D^|R%;KY()am#8TUIKPNbdtzIP?EB226Y^Sr%JUd;F~7$F=$Q~xdH+*md$D@ z14EX)1e1>>;1n$8NZuoGm@nSQf@M`xC~^!;7D>Pb*ee!qNC^#>N*^k~Wx2?die=?i zwQOc;HfXDs*ex($BhvlxvhsW)G83#?GN^W0J*$`TT>}jb(%LFme=5?uiIHp(*#<&d zm(4jr4RC)ZG6}f0NkBX(X&3J>2<(v7a>1M>uRv>;^mhaJzL18iL0*r@J}}lR0aqZQ zU-CW$kpm)2z&yqzh#6c~aYG`zK-)`^TGz~#N7Vn?Ca1Z+(7MIy#8}Sy-DNe3v78s6d{5*o zNZJ=!3pOnoe!x0BmTH9{>QrPtXtm@^5Os!^C%J%%b0!2|&;;ujGB>V(*OlZ=0vDEy zxL#JZt}CVw1K{aHk;7oxYsEZMc?U#!i?;^s_^p_(`}nV@o`4mzhzB4!P-H1+z}RHX z2S3@i+bOR+;iA-ig}b&TSD5FDnj$s1Y_>O_Gcdf&r6R|ZV;aI%RA{)B>yDQ-juPW^ zAO2LrigHhsB)PyRNqS+s<7xtVIbV8e&t6eYIke5?VB6oZxw)DEUh3OXfBbKuc~V4i z!HRl`v3uGAsf8kAN>|iu`HH!;?q0E?jxZK5sd9x=UxrBWS;2~WR`DWjn2c+RRgcS6@;a_w zQ7yD;%IS5eX;)#~5w&jjpIQjM&k!6@KVOWbVWYhjoEC3An6#wp%!(?+*qye4WsGFDU-St|voD5CJ&5|Fe`)`t zeSSriEl5ls2wRkClL;o4#JdH;S7eQsfyh{V z-g?k!$*PVu_4tJ>#X5LAux9o#3*g!Cni+NXku{YzhEy(3LF~8$JOLGx60i&MrX<5- zu!>R5Z+cBVpQW|eT^2$1JW{#zgRp}&^C43?C_TZeUB*Cu)Vk7dxHN*qS}~Sw4s2V}`_Z~u%EYT(g0j~6VPc8x0!uka_ zr(oS|)Lw<_DjlQil_0NV-JIJz1?w1I@6vVd{Sny$*2~t-eDyD1SA7^`wgW0EM2>;V zN{Jl>fmPzo1GzQg?EPa)tW$ZoiyA5rt3v|HjtrFVqb#m zCcHGVUvu$q-%za>UEc=T9U|L6P!}2aK{7DcgO^`o@7++t{nD`e zz=kRs75NNwPDr&~&^9Zv3&3wqyg6WbRb;^0hRWZRo(+QL1M$v+;g_50wKrU@K)}?d zxk>sdNSod?YqJ{!&TN{2dIH>zHci*lK=JjaS({U!+I`C$MyJ8K=a#7!=e4EwF_taF zdrLjX*jiRVsPC3pwmOjNhh%>SE-|X5`fsTz4Cx-QrTT-m%nCRF6(L(@bD9T7VUjF2 zd`tO7ZmB!mMgh7plFftkIBB>NTw!>l;>nvJ)j09^7U#E*&vVyuuL~QVT-km}z46^_ zzqeh}IGX$MTa{-FpIy@7fat z$E>RajG-t79hS^aU?aeobq^EQRXoP96@j!Qk*#10qndy6x_X8o*FYS5IMbm0Wxiqe z%XVGfx2`;Vx1nm<`%S}8ZZ{c_G1i&^TX6G(>7FI`i5DGYA}Zp zb^>zQ5b;)lMa)#@<^0gLh`vqrlBp_-{qe`})tBjmW9+*oHkChf*`#^vuQl=$5K;gB z`z9aem$Iem(wQjAWexOX$ecL>=Z{2QW^VB)V3{*JAU8+6{a`Ftq<`L)s>w(4kZ9mq zBHkR3RkdXv#cca}&YLNw?~W(rwoq1V;q`0YQu!FemC~}MDlxO1zhtlP{FULjt}V5L5$e&srD|V@90T1wB3bL^ zdQZF<_q<>YwABj^D3jP0i&%Kz;9G! zJSfBHVG9_sWsJqG zA==_?lj8wqZmruY5i@0PrhJ;*d0Tv(u%pf~Vxkjw)FOsF0>eonw?K1>NZZ}K){pfisqyXl{CNVnY z9kr{sXT659{PEEyO_28;~LAR}I?b%LnGUGuK_2}nJSM_1Y1MsYsYT9KJlt14!H{11q{?1+VW;>{Bms^l`&5qz26m?5$)1anb zI(Y=LUy2+C*BDDtH@vHS$9B!sssfQy;vE9J(-Ipvv#UyGCGR{aTN2q1_AxSqE$^z4 z6}*ba6YuhSw<62ec2)8Q0m`KTv~Ei5Jc!$oymg>`SG=BkyQ&l;*(Mk}mVn@sUG?Zx zMyC%%UJ&q_O9^<1F{ojeyQ=U?Vmra1>z+Ad346Gw4&3+5NG5pfDKF1Glh=0Vs_4v| zD7gA$zsV_sTdt3pz-I5^xZ$fUfks#(Ci<2sbGo3C(83}x?B;0phKv6B6c_!;BM=>V z92X@{+ZZs`i^+4dthr-XC9=Mp%N%>JR{uR70#CN|nhcRV+sbKgJ@RN@ z`D9wv&0TcP{amZw=eJC)vbSwNXYc)OXzbOoDSo=Ib}+NtU;E8Zo^<=lSx%?dfttlk zjLBfm_I}SK;`Pw?Kn40An7*!p-~b5=3p`Ls7>m3Nf`UY*fjW#lJz&L>eIW;G5+l|( z>_9C?9GGiCwy&i~ezVMuxzQMPpgN)@(#DX*T28H_9kz$Z?mfBb=J#b|L9 z99YsT;XtKh%*R?Vfe~;3!V^X2f)R{8M|;wNTEz%(OFmF(7_tHkW9Gc!j*{- z_-eESx~Cr~*GEXr?<=sHtXP)GarV}ceZWIuB$lg@w_Z6r87yW%OQfIH&!ybwp6Peh zKh;*6=*|O`)g@K;z%|CwSH3t<%^0$`hoSG4UY3FdONR6vs6>o_upt`9kRC4&)MJcy zI9|heG2x*@fKVd$#yWuD#ef^V0uO53E1DJXZ%?44g;_&os0r= z82gr85VR-WT+m_3EfBRY-W=e0Uas)C`4$V-vfn7@mr5^HoXA;{F z`qM>jfvF6MJp&n;B74ALmh>Sa`%tyzADTV-4j3&tG~3h(IBOu5&FdT2*XL_@8?M(n z3bT25iJzZ&Vpy)LnOV-e^_d=)woe+h?$verm7$b@L)D0}pw}RMkoGvRgB1*~V|Vj@ z)W7?VHDzr+Gl%LqMycza-)(h0*O*;FT^i3-nrY3S?)9*LEks#$5wn z&i;FfBqV6aIZ}fdm3KjKuE<<4Y{_*{mxoum41$z=y2Fo^1CIjnrh^jD2oLhrsOJ0JIX6ZvN2xyVm9FX)(V(UOoo5)Jw*>_}~{}&JH z2cRdyM`reLt^E3~xi#1v^Z$~4g*<FR?%a}W&llqOgP7Jsbu1q&ljA^ zcqr8m?EM&CJXWU|{q$KnW@<}wRbUFkdkn&s#ajXVS45_PI*fsz1rw{{JqAr{G{j*Q zgse+I0Vv!+a={4<8z~!y>4JHO_W#=Z5>M@pg6qJ^nm`v^9N$rXG)saPz)<}Tn z_1wMU}>oFL@Xg{F;M5SQT6>Gd4=V}WJrz&aj zRMw42XV!`1arG6|XKL%onK{f{*Pf}R`ZEc;TVy{uay}oJYC2OXEd;Pm4Wt$@s7 zks%}JDgk5hib1UfB7x9I$Q4htub(5+k+)%v#d+jXhV!>y?!}L${V?Y0OZ*@^rTI zkPB5EdSMoN7NmuV%mYJ~wErlHbH0My3+0n{VeN2I$mcX^v#T%EV~kF1f~uMevqQ9f zdYOt?$B#Fs&0MG&jKz8mhG#{R@8j>AZrT(_OUG$=&Eka`T$0Y6g2h#d^!b|hvLksA`sI~&aN-oXPPkU8PMZGc8F`c@6X21VNLMt-Z<_O=-q`-?iC{Hk!<%B4zKl|^d@ z&3l*T5`yi{C$SuS9N)+a-z1g*^4osmM1As((;T3F!d_t}>`IM?U&%!IYVgWyZqw@s;vw5^p9r!l)M0 ze5G1iB-s*}Z@n`8I|t*>CEyYqcZdw_yi#TTlA!}s4vLqt;gv$)oR)R2@=A@;t{LYy zKK?HsyU=g*dS%<0xl#+5*(l66kW885V6Z)VrB2qVZw{<^u9Dkvw?_H)6%Vqva$Dzl zl3HT^q9tulQm$2c>a~pZE!SJx?tZ0>#focnT4}|+ee2c!uk~H4+Wu>E0fu+jj-Ru$ zVjTSl9KBXApF*6Q2+ttyHS1yEPu3oF;H7kaIyPtH{ z9_@V5BI@{Bd7WFaZx?=*UuUph&L=R*$*wvdV?Fw(yXwPCSItbYy_x;(h8+`a@;NRl zjJrM5LGBN=>7UJ(^ZlQcdCrgG@n-&?nP6U7eh+m&M$AM1hq??y_5kkykqMv=qm@;V z7%1K{uxQB(P!uHILr@g_P@9!*-|;wKAZaLks0T3`m<8vSj4gVoL(8NA8wblfHrr2p z&38cDj&36X+z*3HzW@WnOx@p%+H_fk6$AD{$ z*!U_p?fuxzj94CUeBXvJUZffWl5m)(N7!#rp)5 zz7X#ac-kv+0;J5+vo~DoK-`?08Mz{Gi7_yV^KLqKQDW=C*s@5E6*nEfA$j{j!sL13ncfA@eGCsmx z4@M%D%P|Ov6K@^x&J|e&JoDU5*9*WXMzUkjlP}V}z+HD^csD^`8L`Uc3S?D?>;x^9 z(w#G~StZE=s@-*Qt-D!SU7)T(Vkdxiqa@?RKIeCAb(g=l`{lE2+nav5ckTD$S+iCC zH#fn&Z~r?x-c8SA^ur^;P1j(^PSBT#JKRHeM|eoRFPSn9YrkNnw?&qC=Ag#>9%&{8q zu-vNgwmIE3*UkRJpBiH43m$rVg|^;s@m}@NZfhQzt6r&K0pr8yb8xsW-tY|%J&fT! z0pU9|#ci~p@61F0+-okYVDMa8-3M(~BG*B%tEZV0w!e_#=VQ7cyQZ&-;?uNK58X>u zv%I%loBpQV{mPhZczWstZ%^5q+)bgr(`k}xfTx}h^fdLaL41^_Sq0@FGg@Q~*odJA z+Ql!{Q*Xt2Y7U-W@t%4u5ig&^Cwb};%&a*c=9`x5YWm>(-pMDK_A!EUQarVHmIUVj z*KCoAATrPLf(c97-pq}>E4lc=`FBiCY`WHy9gC-a?KPLs=bpN+L%O~I3Ol8ResGOR zciddf9CQ3k<6w)Y-f5Mh&}W|diZpb|=Ge=>a@Z^J_tJAwUS@}2Go3K=&vB7tbJR-@ zO?hea{^)0iJ~oGeKl~kHG&bbstvfxv^&LLG1CPACO;373gpapr?lFiB@Yd!o3J@3M ztvT)J0lC2vFbqmUMcUi_GBmGqe{UU49kXa$1A1j09|n?^BxZqLBi8verS3shV-cIr{)1)-n zN4KURX^#JFw%1*)@%syC^U6&1(VOW$GJbDnQ^q=S{4`Yhfsd{^ri>Fb5PU7tcGp#E zz8bq1>Z>!teNAjF$cPZhA>0w`^b=8O$-a6hMFKWKX`0A3aBfLvTUv^};u|h@VfEXw z-e08q>dHJSzQ&x$$o!nnJAe{<8nTS2rE` zn)R{>CXPj(gRnDSGm?Dw+?6_xm-FdMWxAgp#aQ+YQ1(cq?ae!GR(~Y`4K*XFPQ(bJ`}O2K{xy5M_#+RsD6yjKA3h+wS@)>j>j~TGzkquWMGU zJh$$8nqLgH+H!hp(E2byr@9AN{ZOBrQNOZnN2dko+FUEK-rihefPUH}^{2p4i^y%z_)O$DIBOFb{X9SiwTmnOc^x8qKv!pg*+gbQ zLwA5Va*TkY7ZPADcF4ZValNf=BtWlW)CeC9(2p@Q)MoRNm-DvVyBnYj_6T5Qz0G;J zd9II}J#N7}P?!1yn&s;R<-Q_EK&YR{T(D}%5dT1(g%SG{ybKVz4KBiw{5E<-pk9ha zY8Q{VK;0N0X!$Z6?CPDwEc~5T;=9|dfwnP2ZlPy*d=w7x&!sY7b0z68~XU; z@0o6!WpnHUJu-rHL1vIOmme};Isb4R^!A?zX^(cwI9COEmMjPBmbBeOg7zA4p;!OAvLxw!2F>5@GOmMz}Gui@B4^1+&5U41&VA3 zeL*7k!BU7w*U(_Sh>^iHELeA9bYuz~V$2uzkAAMs`}&fC04COPx0vfF7Nf5%!HVw|2;^)xd?yJm%$cH_XDB|Wl3bUlW*A0+39tN}f_ zA*QT=v0mVTkG73GgoqF{``??37D@?QZ3N_^HEh|2oZo+t0_<(Ti878+ z`VhT_k?|7rHcFG*!2PLoBokCxauCd7#9jfvCJ9Iad6sMdeHa1rVB7NgG>7PDj0G$L zPb|sj@87Mp#?W!OWT-tvcXm>p{lSB8f7)lWPx}M=pOL*GdK_c11N%re7-IHFry$~` zG|>YVhpnECgy_OCk=r0*LS#SKn-rNf6`}{GrN6#2Av$YLq_pI`%>}H6=va&eXaHT7 zj9d%Rrx@Ov^$@+eDKcy;L@!|sfzNh`_T3Tr2sBu73LIK8dY1*jh@Ay_dm^8MIZK{^ z=O^Nw1icrsa@IiCrL;B$(yv68ffY+$g6G!~I{}`#hMFcOz_W)UZQB33DL3t|eN3I_ zaiwplp70AbyGq;7+sh4{w}a#0Fr5?+3g$kYVe=^AIeI@!t?=V za^9?0A0DP-BYt>UFaGezA70kgN6rDtm`}Itefi|vZZ=GJVXVE+yf@p~4bupNVw+H&mE8z9&VPj z6{N(4>!0LqbZ}Y`u7CPRT*52E^<`DKdHWJx9j?1;M9zV_Cz7lWyl4p5cX(Jk*mxRl zHV3b!aD9xi$B1eU*G(957Ibz+-{zNxzQV_Ix#nFPW5DMrzh(rlV;1pwgw$REX_3;E$KV;p z&>exWXvvueI%6ev0wgmeW;*=h3VF=&(=lJ?6T|hzBbJ{f%?#Hwg_6^&C|sXZ&?DCN z9k(%8D%oFVemd6sb$o>GO^A@h=44$3a>>b4owB~n+qT2O2p#w`!YpACh#!{7DsYbB z%@~Q$`=cUL#v=4IhSz&MLO;Qf%b;%}!VK3H2%C;DE3yeh%t$~h*q#+{{#=AUm=~G0 z5TRoiMLq*jOCq0xxa9~lgZe<%ig?{tBlI{%-jFp~!)PsFJwh*I#3pY<=sgT?+Gd2_ z!suDfR)h}O7H>W9+K~(uz-w1z9hk?c7QYvvpJK=Z5PT@I6%-wboCT-H(pugLql3|% zlG6x%gi)>NEJ8oL6z>yI?HXykt037u(j3bM!J>zF!#yMQLvQ43eAhTqC;A|{>;+5&wvi!sw*5Sc9U1*k|Bc?OO$SPE{%dBg%`iJSxdxf0-$7pa5uMK*$h z0+9_0Xe<(W49ZJHZUg@^N!A5&DkIH29RiKD5^w~v>Lg$h6f{JdQC|S{?IMpr zcZUQ-bVlm17m?=tw+qYA+2xw8#T*Ja6PMRDwFY|0 z#Rm0umxqIEt}?=O&!m^WQ*Z#v$Bnmmrfdd+5}-oVVZ{ANb>D|sAO)~65X z?4cFI8}UzL%yZ-Z&}^B!nyw@DC`O_q5a=3ZWHD&7i%bU-mfQx9e8k%bt}Gem8>PE3 z8lDDw7!CXSMd@UW-C!l?vg8EVv!uH}-NA_M0`37Kqd*ZxwFWR`$z^bD$1bgg zTcwLO+sCdlnH-a#Ya>cuVl2rkjX0ls>~AyTJ5~()`rD3jTWuhI9WH0;2UXX3FmJ^V4^T*-q$$iQ&48 zSqAfpuZz(c^)Y5+>;$EaBBwwJ)yyXP=53uq9j6T|cRWUSPSUy=i`Q+g&eyu%k*qdb zK|`$eeHv?GGQoHgl1um?uUTX>ShA$;&EHIMK2~12#pxIBab}jtg)LL&7^@S{I9=)$ zC*vvWfn~X4Z?khLP9HAEnaLi#5~r6ivjBI}TyMMDLj;^B$bBnjtd39PbkCX8*$07F zB9p;NaJ>G}*IdrQN@TqLk=I>LL1|RH)vsK>oy^OO<=-%ZS7boEZo_DQ7GzSBy<{y| z#_;l$?SJHQ`<1zKoE5JN@~qOg`P|WrGmuwCdA!c6h?j-n{bCBG-!uiLO~*O%-Z0%8 zp?lol1)4^!RCm+-@@za2*VV+Em-869ug2?M%*;u-zDS#ndz;om6Leiff;nMizGmiH zwXOP&`F>WMpySFDtaXq=nN$79rUX6KoM81?eMfz4KOr;cvX0vn29lF>TY8dQ-;`}a zo2&J%j;3DeYesjH4t_x_bM21X?N`Qbb23SfOxer)UhSjLWs2^)N-@V>9`H!n1V3;W z%^KGS$ImCF3w6b6JQXeWQ%MEF*zceK~1j6X^>i)W`?g5M3#xS2CP8n`v4>Bks3+Q5h-XN=w>qxqLFEtV!xPDD2az{dM9sJ21zdg;=wZI4;Vb`lV}M|8%p4C5!Wh zd6b&2=hD*6DX;C8-}^SLzWMR55$3!T%b!Ts>(l9`|F$pPw%T_b)Xqj8>433EQuew{ zf6@c9kq|1cfW%Balay(u)mU;S&57i*mXy>_b^?x_c>YeN9@`^;4=49Cb@ze9o`97T ztJt&bJK(fA%gks0 zmMmQ`mSy&ne6vBfe)E>}-HerES=ZXLbUq0Z-G@b$){Bz6} zI}Vy7kyHbVF%laXo1-)1kT#bwFpww#O#9rtuYC1;?jQfkr+4T$_ph-bM;~=a26N(I zmR(Lb%z6n6%+*_Axiai`vcD~5=8dK)Yo#pJlxaSEW2QKd$52qNUJK5Z@wjc`nQxAp zBOBUt^<;-tb|?F*-!+r$4Hy2izs$DzJ9fP`oU2_&a?Q4p0=hAlZVRN0ifjRUmW&?D z)kPQqqu|<-Y2&$i1~XgN?N<&U>5uYsSXQ2_*W0e@lgn|YujT~DyjF7a^ioBhSwB9N zdHMxrR`K0jZIwHJxavQjr|T9aU=l1WiA-3|(+8^}eb(~y07iywFuN|2cNJgJDWo&w z=Q!}4d*$b>z&~M3ekh~*Jw1dJu2^a%0 z2T0}842BQI>voi{voSLk=H-0wuRF=tdl(G`oaXBx3~9U5D3Qee>!|-)YS-P@`MTD% zz~ngqaSsbjuU~*u3~z~Bfo{R@9syr>k#%4hBX6=tfqsG!Z~;<1#XAC$yhQeaJa3T; zz{f{o>%lZehA7_xJ&2JZ(2oolaujS@@{xamuEFryyKO#9_~SpZ|KS!;ptCW0+Y1&k zBC`VNIEIV~D$r#ZavW@1GC7!zV|e$$K$vtUGQ2=PkCtSIU@FG)#un)L1o1L{PIIz6 zu|Th5<}CO&{W0_IlXuWb1^N=BtSPxbk7KmOZE8+2?x_Vj2P5VX1f@A*%#FmqX!bU| zLeuF##sZFlEsR7_83j5YLyiF7MBF4DJX0lWm0q$7^x)MXKgQRScJ>X%E$WpLi z$>7`qJ&6(Pmq#@WxeTK7MLq{7mdq$9(4!auZiNgdhMWZti$oTJ7nXD@F3@Qh0Ucn; zk`W~Zx){Sd1_V#;FpN60;M$VK)dji(!+Q=&YD8{>^d~ZmQ(&W3ya{y-LcK_P`d4;d2aN^VyO~Pt zXujm>@=94kD^=T^%6{2;=7L$piyZ|zrBfzB2ROj!Ze>@2Ud33G@!gCqMjtQ1@C%6z z>0wg!NM`YgE(&Mg_e zP@pp~0$M@8B~O9ZqIhLVoDY_X>uhKnGH8!B3-r~N$lPtRV=Rd04hxMTU3VEYi~;uD zE6^VMq*N|t;21Lt{pvxD`O0c|y)GnUOg*suC4BDj{`! zq&_S%>#YF6!R_)dY5a4SPZk=~9HZ%}lRu8k|we7$NIJWLdCEQn5)3>DyUig-uC zd8#y#l2)XXGKw@e(>w$9k0f>(9A$}&%`VbD`O;b{s45WI2ZqWe-~a?RO5RK``BVZ< zz;=sB&sG-mnJn8j7;O`I4r1FSLkU>vFVbJ)xjtZIK)n0F?IjDunFYAO81?w!BE63> zd|@L+x^1+`Os;tlFfOrK-~b~abfQR~O(MDRcZy^);>`!%b0Skg{k-JeI4)U=?x68?U(;0w~ugn!`0jbZ}zRO*>AsTuBzO2>}c6_I6W~h zIirvRv}`B+nT2{9BTZaZq0YjPPe5cgk_Ux>F^sw7lY^?q88?ytV( zI(JLX&RHg>^POrY&JaeA7z4_jo?=(}f{g&9EWD>k_x3Ste2xhcS-*Izz_KN6x74RM zPd$kGci%F(u&J10ⅇ}dUT5`)-@P%3UtSdTm%IP#U|ZzaB0bi#A4l!;hg~e^Tql{ z{}S)c{Bm7M%1gOM{jVKM+IAin>)=`mE&-1lL@t0QjUuN&aI?rd;N2oJ2V}I0Yy>CI zL!Eg$Cm^a*WC`f(61f5@ULd*01B~^GJO){V63_}dMn$fHqj8bp6UDlDQsgXX znHD(-=4V6(%ogiOj72^HD{~@US@J#%FE?o3Nx5T|-RY4%#Vf`71xC5sYOyZI7~gde zyH;$b+z`m!kbr4Wuqj^q$dT&@Q9qb6IWfPjVtu;LNWbAyc))7INE>rlth+Fz$5F9P z#*p)%^;mNGpA_p=jK(TXi*@vw$Qe+7A=3Sl<;4i_xhmGrF*5jE7wbg~neAGlhcIO3 z!xHW8USeW9K)Q#>RS@kdas&i>N$fC)^%gk_&V5VFRIl_a;X-7I8HNP^65WiE*DSE} z;kszMScmK~SbVw(E-|7u_KG=e5U>5C4|Cz$JRZr6PisJlo(nE9*9nqBN_1nGw08zl z!>wL`D@)c!l<0lT-n41{l~b>zpc37NQJzZ5X3T`%a(*x25nrP7F$#LXp(V-l5vLIM z)$eJ^YMV|j(LE_8X1D5}TB5r#v$ds_=$Uk>9GOACF=lMWqY|Bw$v|?w1yp89z%>}j zA%k*B$t}^xc_Q2LOZ2lskuI;=$GFbFD>Wc|RqLS#3%subB?#j2>5CK_r=^y*`} zqg)D~l<3V`$?&AEM4#4+x3-}~uQZCc;Ax2-Z4z%vbBXS45gFUc0zDHM)mEZAo{RKs zXUIFG+9C+<5^pakc)>bRE{7niSGv4wUGpgCf0$$oo=c*l>xiACcHI5HTil z08Ed|0zH~2(F2p>jhZT9bETSg$(b$TYa=D*e57T*M7J-N=)cMryO&Dz*0OkOR!a2I zs#I%PE73(8;=KU1Thj0aDA^Ht0DSkPwdY`HUu47qi+Lz=3LGCvvYKOhb|SLyl-ABf z)}7Ox3z4;#B|7w4@^*pZhoxrC?}Bi5k^R8Kv(&7X=fJ~TWE0r)5n1Y6s+askawK%# zY#s-c>g+&DIEMnm!KG%>#DxRf4%$_S~x2U=pJdO&O` zH+qN+OQb)k(sDPrPLmEdq?hWI3?%!9N2Pi&TLKbtN_A*%shP{2ptO(xO$VHxe&<_M zs^c+sCu88ql6A$U`m9v))s~fNw{nrsKw^c+Uf@$H)tbNMJ4N z0)4y$7`cJ=YQ-71q{AbmNZ02T5pQ|d@ zO*Q3aQTo6#MxTzr^<$CYPs(*6hPNKPtQENk66?y%8Y=?1mtewI;C%zYuO(m<6uVcLCI-QZe}(3`f9?Slx&Xu50y+XKOebeS zVFZ##N<~)aCutHe4Ei78RW2Qw6*@Xcyg8txL}Vw(u8|DYAmed`>2D<{dLrIB5K$-I zd~k-*T10(?-o%hu4HbG9Lk2Zg=-8(s-J2@(7)B?H`+?t_Naos`JT=6;{P^8fUN*N|Hk~VXl{z0$ zu2}7!Q?hy@KnJUyep`<+a$I@cXQ&H2q-QdR%@pSs_+*OPr>L3Ynn`JXQ8NSKv{;x^Qa8h^unSJZA${bsd$@~v`l`Y1kPWb%PAAR)h zgLg^&zexLWnw7fz$A3h6Z7;i-x}VgppP%{udmlZxN9KP{)~`OYGXMEMaBT8Yb~E!3 znLR!~^Suv0c*pelXULkFYi0h`B5S1WWj8ZVkoofyfAHYJ2d2vfB&~g7B|drYbr}qM z+0DdLW}JWO^HYCx@BX_cbu(%I!GM+8_0b#FI9p{mQy-bszw!C0KYZu?cRwWcw@CZ1 z7VN|ETUM{_Wj9m*^xq@(7Z{L_-g*B6cFo`WL(<+`u~J8P+Iwx4-Aw&;QhR-Vr|;i; z@4*8ye?->r9$J}0?%8LDRdzG;hhMPM_dmREjwj#yebWBUg_Szr-JaSiyP5hozgVX~ z_~^lXvl72U)_-IBhq4|1$=|il53B5E=6_6P?=LVMAAaH056pqLjkJIFFI%bKnzuS_FT0ugzyGjKe>U^G_uiGQr)iNCRvYVZLMCLEB8GiWQ{rAmg7(&+F5A1#Z zpZ0x+Rd%z_g=GHxx$)71ckX{c;uDgVerP4WePJIAtL$dt;xCl=g9q<*#Gl;)-@o_Z z9kT@nk@Ty7+e$q1cdRYYUUoBaystQWs+Wp?=q`-W|m-OT))%&wn5829dd^q$H5+CTh< zwuIlcGJpU7vri1G>}KXpGJj^T|Jj*wk25SYGt$Vq_Rp-$wO_YphP})=vzc;3WcK^~ zKEHR5e`MYz>(hT@Wq#|_ellv6IcGLgV~)(epP%_dc5)n0zW1E0asSrJT%2m(V_0Q3 zGjEak;pb=Olu$OnRI-Nrv6Z>}%CXCkvYVOr$ovK7#=UpnyKiP)G+B55gFW+a+t;8~ zb~E!inLoeF_uhF=j({g5{oa4F693?D+Y?)5Hxply_%ny?AF^#fkT=EO`!{6m`!g%^ zA4S=>ZL92N<~M%hhfKO3lKK4)@0m9fBVF&egE?Z`u%r5_|VMfcSu{~W2OFifBO;8D!ZBb z@00oqyqWmm-uv&F%#CFI^;|2nM~{7vWR=~_{7uv8KluWkzW?rfX4?HWX@BO}O8u)( z?VYyDZl?a(&Vq&``m9otFy{(CjJEy2Yi0! z58nOY19P^KN!Fa7w=(-Q+gGAhb~E#RGQV~E^HYEH-aGGd`2JooY2*L8mHIad?0Y4v z>}Kk3excF0|K5Z5P2x0?{_kJ161)6;`*vuR-Aw!~5`Shp{OlIaMl1(eFR~{6O)GQ4 ztbGMqWj8bb-WTffM<2c~rv;Bl>i2<__*eJsV_}uuO#J&K_PIIApWStEfR=Nl5VCgv zEgpf!6^`5QSi25;+0D#znfv44 zB=^SWr~dH6dmot@{gkw~{)d&iy2^eqw8~6s=l3b;r2Zm@tPkIlY4>Ha{^cLoGw0fm zELPdgPUn;P^Sk`+yZ7HUJC46b(mQTe;*&D_Mrf7YOk7A}_s`G#{yX>O-SOAR`u{{( znN$9oecD-NH#3)$`3r2`_uu{Sosa1AuaNcMM_ZW>{)T;1vC3`^bMqJL^Zf_!-ZOLK zPs#eP#;nW_0_>TsvYUNwC-Yl>`uW50;G+lDwG-0**}9eb{U6x(&{o;a)Tbu(JD;EW z-Urr5|4-5$>|3d4{(sia1H7tYi}xpNnh=VLii%!TL@{A}H!nuv|e! z1;rkEq}LF75)ue01PGk~0YVSG1qi)`&_Wd?!28cyGm~@Y^YNU<6xVKuKju`{m{3s1cgKd38!=e)MnLNQ$O6&Tawvkk{<)vzl~YwQo4Ag zn8S2=UI4aUZARxlBfB`;O!VtO+cb}`;7D;18-W^8hsgoo$&1J~ll(r&7WYATus|c$ zbD*w#h{)B$UZj}rCh>@@BmR8?Q0mvDwX1OelXnc_W+!bXc^Jqx{w^dmQbdly zptcTSa?S!3Cy~u0$ACPr?AnOHjIQu^?LhrFl*xk%cvz7(lbmQ*&*7ML6(Q;8pdJlp z@^8K5fW7`O8GAhPjmQJp;tECv2GbOn-`lNSd)hPEeRX*0>KK=zL) z+uemm2GEq!3&8$yiqQe%Rc9faiT)1g!DW-f0s}%tIMWx@K7~v!SSXt`+e~s#kS&@t zCIufPQ#p^qHk1A1 z8&*y_GBhkmIJ{$^hA&}q$S&Dk*k+P{1$l^B)4pX6gvS$Qeg@P{8<<>Fo69V1CV3FZ z7VbYdEGSeAvpYd8znRJ1!g!dKHj^9!vQJ0!Eptd%2>Oc4Qw7xEEliGX!DW^@W@E=91nn6`xcXj9hP2+Z6-M#WdC+%+wdK-@bHR;tbYL;Bhl^;RbL^SiQZL8 zZTN!Wcfy2^o(O2a+g#>jB|b^mOmH5+7Tr565(^1H9t`TWa_><0?%I@VL)uJoKFAj1 zcSIyV7`qMXBjuSK^{tF%*e1x{QwB%v$QV`V3N`>WyegC9@};w5n_1>UkS#{pkjOBK zN1p|?bxkI>ti)t#Gs%}gwut*9fOKW^-~&wVkR;=NwwYu+d$*~LKp8cT0JX_OO#U)hj&QXmyd{;lZLkhl2Xj!%VLGw{-k$Gs|2ZWQ({TT$%!F3F^sUCinPL)-&5o^4%c& zH!It3gknxuc>Z(1HvO245dWZPhy2_9ru7a;+B7Zd?%k|am}DtijsO!6?0E&N7!08h-Mfm*o- zm$}93vemK8B##8yW^ye&G=$ck)BtwhSVp%RC(&#((X$0QtL#>XF*ZP4!Xv<*h-Y-y zLlVt4f%f+Omw~pJ0t*TZ6|s!xET}uum>k892gQN<~W?3cU-epF*xls zUq5Lx!FV2JQOjWwVH6@Q0Ca6GgLedQlan?RT;HxPA|k}>m&>yW)UeG=zC3{ILfTAn zFvu1zG%T1O$vy+>(UVNBcTfc~WHZU(Ap574-2;O|c=bXdu+@tgUGotcn6u49cNgfI zWupTFc)tH0U?00EYkInD&ulZ%gMhZ^f?;8iv@EqDs6Sm|a*KQAHDsG0d%KO%AX^0e zL0EDl9MT`4w!6aQEq_S2!8WtZ<3TRFGJXiCn_k# zJ=5Awm!}V?MYol7aKsJ-y%C43}gCc3A z)<{st#WVR#Q`zj;W|G^2?EhQYO#`Dd1$ObkE}6>cW8GEwMK%*14YY+v3PLC0(f-U`&m z=QBB?h`p$^ndE68`!qY>GQ;x+2cR|@gF0@JB$s%8VKd1oAp6{0`8H_0n*q1s^2C99 zXEu|&)Zqp#Z6-MbWQ!|^enz*)wLz`1fysGEG8AQ-AbWT21t6E%xx=tNSG0_K!MtZH zbGO{B#wxOzC0+=wg@4BLbXvGj2h>{yO#bp$>5kZDlGlLjA5wNl2@VgW3s~V)8&~3e z_!SupDh-;;(TZ&*`lLWx^ugf3KzfXj3hXzv89nNR3hc-x(B97O{??_mI^VVt85l{k zm)$_^b3c>ghH~4GHbM5jf_RE;F?I(bE)=ooKtRLlFgSOL?A&ZKYvW;nEuJt11>g_l zr$K!u0%yaWpvj`D*7UuSY8-UhT$TL$Nq1WCeXf;(G*@%{_>qaZ*}v}16C z?XtvdGr?a2Y!Sv_a3;Th7Sto}Gr7k~*)rH>l79f%!aHM8aiH+d1)x^`kjc5>+ykY} zB=;zd?AtQ%_#i?|*VO=Zy(CwzE4?V&O!Ds_TijbkV!e}iOurS>&`-I{g-Cof^?YqVB@Y!S!=;S~xo*Yi546_+u&#mmY+lg%viT97S*FU-Z$^OS0! zezT6rHAl3)Gssn4BEM^(<{B`EQUdx=K)J2)&+hAE>eZZ7KZ987ymq zZ6^69$TndC?j{0-Bb^Lvd^JY9-j{JQIHtLg~B8+{_sO$K#&btWI$EpJrV zW|Hp(*`gO>DLYL>tOfOv2bf$`Q&u$F%<8xwWdGV__mvP_LQx$Jfc>Qoqmv6|q1k4l zgMhY}a}5uKj|RCXs2v|=a>0AD7qZPHM}lk-G)4r6)41{#s5xIVx%oqKTw$9@eqL0E z#Z#cb;4pf?v;o+mKQp?`PIXsLHWNKepe^2wMFd9EGBLom{Y}<%rmPRPndl^-E&3rM z-7wJ)KLqvQA51<}66p$?AbU4ytRt}@<1Gp*^9fMDjb(D>lD8;?%`9`esE#^iH@qMW z0K(z@2<(#yjNXwhyExlS^ctWonn!3z2t98L0QH*!CO3XtIcc()WGwe^`M+v0Z5J7a zrAa7tcW@u5@*X*+h>|yYh0SD#yaRTpvMU64l|ey3KLYGGbr}8S`>MZ?%|v^Ewu$}2 zuzFM!8q}%}Gr3-(B(u#Ve-E<7s1*?zD&AN0+y!d0MoiBCN%lmxndF~9wpgcyNQ<7i zy$I@^jhUQ1OO=^yCb>VzKF+i@F35ks{*J|x!N~O72WpchOip{5V{~aV$pb*P@OXi8 zk!~ocor0L0o1jKoTEJ_Phl6Y}H-oJvC_3m2>Wh&~o=~z4g|M0AaUffSVL{;`^t!`q zpuX`mlcUpAHzb=$PPD6yP`r^KVx=~q{?LrcqdLlN$TpLl3bKvA3l63+>laXuzR2VT zTa}Y0n@P?9*cN8BhLvpKadn-BT*!A5Ab*MII>t)Kl%4+@fTr zO4v;Dw$f_DmmCs;W`{Btfm-i2^W|Ch9x$LkY5IgROA+`^oHy1Ow&y%W}$!3CE0PJ7BY;;H{ zmP-O%KI=W#g4K-9DtQ}O*i3W>pe;tiAnZ>gYGWCwjn*=`$12%Z*k+PDf^5;hK@JvI zFbLF-)-yS+ge+_(`3sOO{Ag$-UXlj+Gf)R?Vsdeu9Ix1BlDpW|2A0Xw+TY=ze!7*( z*}uwIhHWPK2awGR=o`ue;^jPiU(c6-zH@}ZQFrs8B5fwPJHQs&C$#j{&t>Fq6x_BHbw4 zOmaTR7Tr4%iwJ~Ess-x3kxceqCS5<puYSTlXG^e zfskw_xfo=N;Y!rAXwYwfdiUE*uIW|J!mS`o^4=(@+`FX&x}}76xT6qv$Pa*es|}O4 zj8|QSY$mya9U1Qg(Q5VzVted%Og=PF)&|>5a%GTxu3&9^H+=K4IBE~vTMNsR% z&*V!7J=bOp7*!{nLs<)Feg zLH3T#>w;|2oWn4^Djd>zP|tqC)X`^oG4AbUIz7>FPPl5#EA-e-%)&|>5av;bSt`2Kr$nie~YVNm^e1;pHw3+0mEo&nL@fXUx z9n=NgnB1b398%b3lAiogZ^q~su zIHb))4+Gkwdt)gyk%K^8yobqg$K@qtn@Ntbt7tfWigQ7Sssev-)rUi)E|;zuikY_V4t0wJ1}X$R`s2qvGo zCP#0!nPt8QWQ(>D8WI^EiZX8o_5Nl|E`DE)-efb$4}xsdQ-UHwP|=>cpl*Ja$vJCf zPhp!$u4_le4kWaeV;86kUtn_9$MRN_Z6^6~kS#`UydXy-VK%7UUu5!3KS^erNp1qN zPw)0^8{t@w6NcLO4b=9{nS5=JY|m^n$w8%&efvMaSHj^9% zvc;1R>{~|D5FdbgvlWvU%#&qin@MgCvPG*y08MW?lyBYMRs0T<+Z<4Xcd2hWyk)5$QCouc;S!k zRDK6_>_<$_DtW11*i7=rAo~olzO61IAe^4X#({eMVd?=b+^M6iXSSJT z{n-2OW|IE|*`hsT`7e!Dv7o;89g~Yomj9Oa3}FDs z7XBHF+3CH3)}Yq^fyp%+bK8(Mv&H1 z6SQ9DIZ(I%#^kkixz$OVNuB_*MccqWjC2dM7t~X~Gr8+o+3MJ4lCk{7Vj?Lr05LL} zMiHQyy%~I{znt!2n+Z+?*rJ-nOU5F6UIc2_XeRq#P(>!2NuCa}#Z7DkHtG?f=uePt^w^`O$Rf%Spyj&vCSmUv8xTS!b?nWJP+#Sp-iq> z@_xFondF5aTQrR@tiTTg`39(2BP98-90u8Dl9z$(Q_rQi4Q!Yt+{Ow}w~b-)v4?mV z3}l;0UTsIl4zA>o@<6>dmdU6B`V9(cGszo4wrF(`Ay{XPGT#O@Yyy*;KP8JtJxrE1lia|rHn6`Fd8BkuuWyiL{ziHvwwYusAoTUmzP%gK2JM0G%0(YM z%H%fFxot?BNe%_sqNfC70~pbs{{VI02`0ye$a-d*AbT$`uk}HUn`l(6*d!$rFb@d8&l>KF7^TS&ofN+FPSnI zHk15{Rgv)%GGZFg(+|)|XBiw&Ni}A&nc!Cewh3dxgXztTBv9k8GC4X*hB0h2$!~z{ z6B76~IfRR}sy`Xj(KnbJ8?D1dVKd2XK(^@G*aCny(V75iyQ=Tg6mjEh>73bSk~@HG z5fWhff`-?RL2Xon$wgnuZo)P}_HN9dfNbIR@uZbj8wP>;_ajU`RPq#7*i3RKko_$d z!G&X_;(DI;g+?%H$n?%Vx(mlUxsEi?}WV zQw5@)dx3iU4<>hdK}IrcGsz7>w&*JO{mxK9uJ|X&eVN>)<} zZ58{y@0t?N?J2T8dU0owHj}-^u0Am3N-w|f z1@)fgOm0y!^)>{5~a5IF(2&hNK2CH0Q<{2Mps@S2Nt%Og}!Z9Xe@c4=Ft<> zZ#FZz{M|C@V4F#<*xst)MMh#n4qU|UpuWAE$!Rs!{%vG4$^IZ)1iIKWg?2-04{FVZ zA5heh^PuX6WHZV4f$Z`b%JoD|H}raipB%V4I14U7*t)i-)cC-z9;mGb5l_J+{NT>xpEAbQ!{9J-YWw!yx9y| zSl~kotOtTRyB3r4KT}~C*~~I~K(-0+us3fcYGWa&< z(>j^~s{-oIhnd`Xl=S~>Gs)k8?9)2#_ii2Za!oikc@kGJAJi8gVX~{F%)(}pF$Vbt zrKOaa-sp9CUIn#b6DAkL$}+RfBx4M+d*=gDsVHMm*k+O|e_++_B7=BFqB^J@Bsp)IB(u$| z4S$d=?(VUsh2{-9f_h^VmwC&-Wo@v{EOQMzGG5A~XZ7VqcW~8>VR9Y)(g)d0@?E8o zeVu<$kQifKp8B9(pUC89kFoQYHj{i0$QHdYC@g?h=(;9#aOKZo@~{~8{nBQV{{^yz z=fEbNG>v%_)H@e5xl>C?W}8WV3}lN|7mio5Mfa`^YWZv?*J~^LAlpoGV~{PzE9?nP zSFkFmDO;F4XuKq|%_N7|)kY|uC5SP07O2^~nOwQM?A>fL$q^u1tntCTErlFwK)o}c z$*q>kQH5=2I6a6Nzqo4nf zSB~zM-J5MD+9S|i%J$G$MoaB(0-m9w1u>+srbL1=%J}3gB(M13=yK8I!XosL4CB zndIrBqAfN;#!Lyltg;)}hrVTWL8@}mWHZs(KwHc>;#YtpMW9p<)a^eqxkt&b01KN* z-VCyZy9*BppyvsDL4EyKCO3Fl4c}xl$$LPyXdKvof|gUg4QlG2O#UrMUP88+wwY+$BiLNRaP%}0 zkyZyadNq?>D`n$gn@N5RWStwFZ%(O8*8 zyB@X!^~P={uRS1ZgKcJ+-vim=g#^6hNKbCc<$dV7Snnfp(YfEr$q2TY$X{8olDY%|H}AeUVkK>_&TD}ZkR`oX^$-24RzW}6Al0N5f<3d52(u{h~d zP(KS~a*GqHZII0*FDR{=ecN*=mf4H;+!@r@!zP1KB#DP zQK0U8hRIQ{$)_u9Gt0cmj*M46BT&(vd{CP_$7J_%ImEI}kiGrJR*-#~v+oteidGaE zo3n%Z;`2;C^spRM*k+PtGtt+8wg|v*yGg5N55#=$nTHtw_|W788F2p58S_IoDRF8Pf(VKd3K zK(^>A!T5<#(N!*i+VN*54-4Y1B5fwQwq2RAr5)`M^cARAeq*w0wj5&FW|AMYBZuPs z8gZ*q4C=r?nH(}!Mx$&q$q!qSBLitxegvrDy_uXgL6X^Kk{>CJ?CX-S_7DRsR$_ws z`*0@Li{W~fHj`WrWSi|c!m$mE@S}Zz-8F*IGZWN(J=sij)6xp<>yxmgibj?Fpt?pg zxn{|ds?tW4XF&F8cD`iXy3dMdn(){cyg66qmRCa6tk zG5Ok1S!TAGO40G9Lk~@IxbKB-y&sc#^cN3F9eP$t(U7tx` z$2ODP5oC+owqX45nefleK^>OGZLzV+`pq^>QZk^?&8itJho^NS zmwgWgR#gCcX z>=?H@X)~+iWlB#7!g|epEW)`|5&^~jRzMeD$zilVT6G3g+ ziOJD=9X{Dia%a2h2n@wm5g@+0O?siViC6Ub};|{^sca&0Qywo84-3Cx^c4qRi zI5}dm&8+C|AX`kWVIzFH3o75`W7i=hv0GljAn7{TW|q0XU2R|sb$UE~64U`-GdWVh*yIlC{A$lN<-KzePZbw^(W2Yc{aoOqUh?oGdikOmrsD7V{^; zfdMqkb_aDv3X}7X%l^$alf1yLqOtEBJvW^T>WXwG=X93dj%_9xL4-|Lfk&d%hwDIn zbS{&V{q+DYY$h24vd!k3zJk(bk`IGy;YLI8L{_+@mq0DQg~^HSdAG?nlUxk4|AlhqQ0U7J4;F(g_R9me|A)-}?FSh+vdv^~ z_!w-92h`Zaf?l>60_^A|jIO+jt6JJj^mT!5@0i8*9kZ~)m}X}tfO~m8v$IN87z>-p zKH>p8qHJ_r=$7Rm>L3uo~39xsJ{xHBk&sKcfM~Lh6Q=}EpVr?e3xL4K&+XUJBdC+t_GUgm8a7+ZX0vx2cUm5kLiv7uEmU#xq76A?Rt)wN< z{-92MgvkZ#xy;fg$ljiR9>_l7ov(uq2^J2?WM=7k_z%%LDa zr^k>7K>e;UlM~eqINMC}+S1DGJ9^`_ajNGYpuPpqOZ6NjgI%_nwXp$Yn+12`_e8|# z-4@u--(z%nuiq0XWmVikfetXeoo}f{%pvBKz6N&jr;JYaiaBKP@8|LpPSN%H7C+Z5 zfwl+?g7KrQ;Xtndc2Gw~C;nSDX|{<9@ov)heQMWP@Ptfs@R6YY3tnARb#BQUkrezH zVsMfE>e(NIx70t>$ttk`~=80Z$yURy<|iko(F;b9-d5~;}*)^ z!Zx$zJtxo>Kiq|MR?Mdpza&XEWuf(lqdkRp zi@v=K*vMUs?$TRTGTBV@7=ix8uk7X=ir;J$O~Vat(r#uq_(t7Pkj-S5>uA@U#R>+H z(?ESbkI5ZkWvSUF$bMdKv=YcZL!qyO#?SpyeY5~IaIYkF&C2i{V}r22 zH~fMp9MI?U8C>fT9%H4=1pC`n27Y--+(UUFAc1bi65yh`% zwiDk<$0nvU5BoTZ{!~4#nL~d{@5DBWp9A&P4ot37GAk`?CV7@!ZD64it<7l#>Rlf)xkt(SmZh!DnFn&&9Yw5D5{>SD zK)Yk?7nKpQP|Z4$%`EZ)fPJ23`8uZv`t1R%j0Uyy&rEjp<557`O!9im$_S&M*Ytc3 z>aqb$9`v0WY{_PlH-l{R<9xy&i*aBzuceSFu356WUD!}N~;au=nL;2(cAEEfErkl$ypD{ zp29Yh{2s^_fec>$rYjf$>Zm_Ir!w!@$5&9=1X%@NRS_b+53+xD+1)!7Km8@5ukpZM z8pi122V~=5n>SiSUlZ*L9fI9c#jV9Zpw=40bomnIuG0NQ*fgIk7Yv&|bUN}LX`O)n9TuuvC6L7jYq$vKT=|6`jsSrmDu z9T{)Y)7;urQ1fmx`Pv$FV^213vM6(=Rb^lRq@N5r2zHU@GLsFAgqT&tS8t0J38USe0x z5$M-qX2uQb#D6ild0Xl9+2&0awUKQ{4vOGzk_c+Sn@sMsOx_r?%_Oe`*=N}Htqm;4 zq)_7=s7W1}996O$Q`o%8qMma>wg`_R@$6Ih(=F9+7kXZ1XO%sEZR;;83x?4B#4oUR=)L22ZINlx!xrzzQ6W zS7F4}yAEj6)eP>GCEXm`OmLwc7*o&!{5+r|*E6_YR|#gD2|i;5#)hd8qFIasG+=Q5~+Z^<%mmz|GoCixo3K91SfVc?xVau}mPz2`QQ>z2Ip zSDM2pwyO;calADlsMqfLk_MBt_el52Hc@8pDc9Q|+w31JqE}HJw}HJXxjiUjm?@F@2Ucx~( z?=p+VQ6JR;x6j8Mxk#JIZRE@K?RfZgbXueK6_{fr_gF>QJ=kV)8{2S0v5%byJ12p;Msm;m zCWjEVncSyrxR?i~iI+`aUYFb*JJq~6*-UN|8!mnpo2Fe{wZC*VMiSSpj@}Z8Y$o^L zHe5I#iVK6m>?pZ&3T01bo5>BZ;i8>USpOB6BPF*@NjnoZlN)Hm#nW0^^Dqv~Rg#!N&Oh|E0UV16dK(eqWL!V#TU&?fw3s0|l8rqC0>E?`blDTfY$i9-hKq%<)GwX}^K;3aQ?g4#Y5k(94HvKS(DcgJV8%#pRIK#tY%|OIv<){L zkH>|doCxMN$sN>Q^*6Ga+-5f1(8zFFp0Wqb@(=QLYc*BYFWXG+Gm2aCEZDcd;q6fR znXJ3P3=I6%<=47eOpTlVXK`dLxSXi@an3TNiZ1sBi0B2Rj)9nsRK?{!2$8Um)Hx92 zv*MiUE_X6S8WJ8IFNfI5>T!t6tVS=1bH*UyfK-S@tgeN~TN&p#mEC6{*5(jwFGMjC zK5f*hIA=Ff6+ib0h$*WncP_-@b#YGBa_+4VBi2(P6Cm~>p*WWyc5k5Evk;4Oq58Sk zK-@wCci6@_XEhSkq)lBlN_1`_;n?9z5}nmZ$X&l8(HXmva?>Glh3azegNR>6xr5gwI){*O z+GU6_>*;{A5ZN0jcL&7ZLUp;*HYGY+H&gC$h)r84H)UI*Gk81Y#zPbe)#cu_Gto)d zMY;1J_6pVIo|BI+goKLfyFby%I!NCl7vc(%XyS(xosmcBwCNCwkCU2zGSQh(K^*0 zV#ReF>*qdv10^da*cONzLUp+lZbL=FX+xuuoLnU2?(dW2OzE5CRPuArhuDpT+?mly z&Q&Dj4)`m{NkKyH$$?2u@*t>w?ktGyLPeV!n&g~B!m&3Xl7>-k&k;#ZuaR_Y48#$k zy4*cSCpkNiKq!Ei8AG|3Vw0TJV<~qpM8Y`A9Wo)w88wk|lOZNfqTEq&NzP>?5TfIg zoc&1P&Pz;k5|b!*0mKcVy4=Onlbk&%lzSFpTq@;`nUUn2MFOE`Mv^lP3CCWTo#f1& z1GSuc9Yo<=%Kdv$k~3ln^i`xqj}A5TkSGfOD&pob_wy zv;z?FYbkg1#w2GK5{@l|=(&k3f1Ml4Uur0 zPFp`>s&fGe+!e7?o!v-Kw@sev>_UQ?7B|(Ii3GLJl&Ma9;#9{U`dr9M)22Gr{oLuv zQ=K9tfUiOvnLgF2iuMUHE`@R@L2OSWbr;0ObfRsAxWQ__8B?7DNFbbsSUQu`EfC9Q zlX@9qV&+ug@s_Qc>Wp3k)z6&-ahTP~r=~gsPt&pSXQw(N&XJl7vHm<%^l6A~MU;CM z;?xCFqb`DgB#I8P`x2=|5W6mudLClwRZs4N^Bjq~9cUJ;bzI zq%MKD9W_mS#PFWeoHPAM?bm;rv*<5Uw?ph2Na{t1YlHdNA=8|RL!rX2KwKY2>geIq zoLfkM#g3Tf>>Ww!C5T<4NG*i8IGWU5v+ltMao*%^Gzv-B;7 z51j6d8#3Lw%g;S%_;lwI624pXi0Mu-5~^hItm)3YOyr`KY@Y7S*h0B~6;5~hpM{Ds zAL0@c%DcKxiZiEgia0h0BDr6R$Xy5#HGtHS5QzhEfS)@P;u5P1Mx{7|N2iD{bTl=^ z$xNeTr>CblD`uvMkJtz?c@`az3bA<(9k3JPzlU;RlP3sKDK$pNV-WU44mCdBl?IG~*S+|X2K z(1=v=-EKk597U(C8J+4(iovnv+!+vOkZ?dT#P~6!CPN%V0_-Nl=2$vy;aGgyI2_>T zUOzt7DL}#jGbf}vJCUGXfEYEA)VY&Wogs0gra(-OC&DU-$qAIZ7@}7qsq-NUSnZRP z>ck-dmIbks)d5peoheAjT?UcI>fmXq&TJ&)Zi2YP>d@p=XATl_w?JHBb@=pDX9p5; ziy%g)ka_~5XDX=^Ar`Q@1L8cZ1Jh8cNH{GUB9GO}5F=+$?mCD*Gf9nuxX$Y6S*gw< zB%HPjB5F3N6ClpA`d4PEvlj^mT!k1hhtwGmqvw)33u54Ws4AFlvsZ$_|SRIs=>dZsJvBx2XE+I7)VmGUoAo7+{?q!Hc%Sc@W zaf{V)*{RN4BoK~499>T8*cGU1B;;;^IL+$9mEa;F_Y%aF98!m`N_Enakh>0|h}BbT zKv+vnZaqZtI#MUBPjzN(CN&r0Jga|gNp%h*p`~7c*tIoPbh5J$XSY$6^xmH8^xZ`V zOo6zu8>*jsY+kB!VGkYKZ!a1Q5~^*rp413jylayLTc-X!%L#KzmC9)g$~l_rWlwr84i9trB4F=b036A&q1!AdlAG@Boya7MBFM;(;?O(0k$7v_8KCr zgP6M^UAXPl5UX?PfPE0D8|k!ch!H!}ojMh8Pqi=IIg5l+UWGW2PimhN>CU>sbf-pn zcfXtI2nr~-f7A?TEE0~L(rbou3JK-u)q94sx-Y56Ahtx$pwSW{Co#jR8t%RXabylu z$6Wx?dv1m}Z2&~_JW>}yL@mk?+(8gYtfoUu&&C0M?hJ^TD>6h)t%f+h5~`m&ertx4 zvW*DY5C^x@0Ywl;cTn!8{0wLCeo|K*%y4!dq63nSW;mJ0D7R?9OlSX)nSy&VeWo*N z-b^vYu;~0uXG9U@&VV>`VWz0yTM!8sXNsaPhRD1O)z6&+aSI8AQC9#%!U6N6W;w%p z&Jwwo7S3{3ES@ED_d#4)0u=-2(pk=+<#a$I#EF%p_RN{(j9EKN+{~pwY+OIfxy$7~ z0hEi_?y%<5KFGl79YIx=4@yDZ6ZvM%XDJnGsUMZgeXkN6jc(F znCUE>id;YU!puyk=X^Tg;POmo$x0mHa&Lz?okO|(S7kb9)@M4ED!7lWU+m;=UF=js zQRVk7f4+KG3(-D z@ilWGmRzFT?GVMR4!^t@ekDtM#8`-)hq9bX_1$q0v4^w7C7c6s5(!*a70k2^NTI*m zw^-u;$w&?Lze-mIq@=`Uq%2a#gobolH2&Q%L1m^40KOHH`g_++T21wDmfrvLYtyQY z-%Bo6xeCHoULIJx+z4oQx?GX;N{7rv`THV?gXU0HQ@=LvHg68KLV4GnlG-#I|8B7S z-A;H?8}MB1gg93l7uar>_os@p-Qs`p|D=llsgJAcs>^v#zV>d1a#5}dZvLmH)N+Z> zb!!T1;wX_?A>COMpU5w!;9q!sB~CI&x#B28{I5yj4b)MbD_iG4X_%4`=c-)(-IOgN z*9$=hMbZEN*Z&%dL+F2W6am~qE$4Do7Vp3a1%GCZP-bcWs~c6fwCw+#r>-R*B??jN zB~dTp?nI|M<@h;nf0aahG5hx(VFTWMYr zCE>zQ9{M2vH7G?i_#fA;E*&q=f@k2#C!K6c^&rC|rVu$%TbcBB#{9)}`hmv)up9VB~u>2E+3I{7<)NK===Tq(b6V zz^_Cf6<>Ncp2id`k8^5Z4i{qN3VMJt4I-P>Z4jqe9e~F*V~{YKO@+v0H5+0htF9_> zel=r0tpTq1D+W6uo1Xu;8m8g%YR7aE52wUm0UqZhucc=#b0E_3NQVZ=D6-<%EipB6 zenkmI75;rF-kEqfUc?X!AX1O83K4sZ9+f0REI|Td3q&!igOA5MMMya9Cd9H6bnJGB zz9%U+1!6}bJwG`EG4M3yPJ%dy1lT2r_%o!=hWP6WR6P8Em?Ko&4nv&1L4;w&D8nuK zh|Lg*QS=06cyxjjJs?3GTR1quxjZC66lX|Gf|D>Nf#%*Jw!~8INr;@Wr0#||H;&Y( z@d?hD38c<~$Y=Eu#KwsUV!rYaMBG&Rh~p49Se-a6!HG|%+zk+?knq7HrYATf@R$hd z9Ehz*D4DCuqLd7ZB%)pSxLuX#8dMPDf}2!vQLB;Wa!p3juOo@mDkIO^7LAhRA_<%5 zgnm2yVrne+>+Wz*Iy^hU>66LT0A$rdxbvQ(yc?lx;jfI$lgjjJ6 z#Dw|u0ka?$E}-1C5QRwi*uD$#zzYdiX)naIMFd+0QNU_3MEqjP&4d`1MQQ>>5fTXf zmLxdKkx;T-5NnpwRoV}cvy5^l>`HKY?S)znGwpcNhJ@2jLyX-|A3POe;ZZtvBgC}h zlsgaN!U>eu&mDCVRfvQ_jw(oS78fRnn~QA_31{gWuZOsC5f`_jd&s2(=jdhnh$|4A zuF*F>0dac36j3F;22OE?4Iyn=S^{{ zmUoYV*tP;NKlf>fo~!79kr12LOc7uH(k6VwcKWo{5DN|>x14)7M8+XHb}hupqonSJ zxN?lte#fUc=T1%${iuHd%6p0k`4C%AQ*jC*dR?Mp$3tXZC3Pi4+~1_mg-EzY$1a4J ze1p_k5Xr>^TL^LM7UhnnYy4V(;ddl(%sa(JRMbQG!a z5L=K?ediz+#gMuc;wGyxWAHF_0_ARm*cL}>A;j1O;-*0CK>{Ie3J7?ViwobE8TL%@6wchxA@^Q?Gx(c5U#tI?Rn`E^AXZ5;ETm-#SP%DDt*MG>{NqY(eFI`l$< zGZhIRo(-`c2`BG|xXtQlwAAxR0{Q6eC@^cqbQJ3f#NT{0g5eodlbj*{?>$aT!c{zi zgioM|RGg0+5c<22g4)GnYqWGR8Y}F7xt#%h@uUq&e0>nX9&o0D+fGkYHW4Z_8=n_)nmnJ&{bLiL! z5GhC~*D8qZtmZ?UWVP3-WM>uSBm9tVSJ5b_OG%cJ@OQ zvO4c@va<;ZRdNjC+z~v>ak)nxg^GmSnB&RLR3xY=Cz73cNFc0)*vx7^#3@#bAqJkL zV<$q)M8dJz5Jx!I75v8tIafa32 zb8umikn0Mjlf1jpnp5e{86;t?n@v5Jxt^G=e?qH>6fHOT2Add8-$+GJZy@nyT zoI3$xVJuDK?S@#1Sv|O3SJj)9AFb>1>l*XRW-67-bu@W~b3KJVH8ypIGd^vGxa^A{ z@-t{|@B+l?c_?f-cfa|_&7ot@L7Z5R0}!!6^vb2&5fJM(lbR0^yM@#=h)vs|`ngX+ zOxz8%oO?FJ$virs-<}!HAtYSYVu-|jR5kMeYg^ty=Xer_1LOb|K(DL_0Mp2BLU>9d__cQ@_dBX zb)-ISbcVAQ3CC=OxX3E*^>@f)y~6atQ!<JSA+EC;UAWj;aGG*AL5vjhiRcm4 zznww%*y=vq@5`9(K)VnLyQYlKa^_9I{2*e!1zFC_g;@^PWUbE1a{4Txslss(8#m&B z^6q^QOE*#OHi+@tpq6u|L!@lSyd&nJA*SSE-qCT-hUmG62@rdb5O1A_*s+gJD}b1s zPY29_h{8OjQxSC*@33Li!Yn5PNz_qY9EJL)I|3RDQG^71HvEIK z>EZj@t}JKOZa&W+=c)1An_Y;qoIHqQFmXY54Ok6akfmO#p_Pkb)uVXXqcRX;=H%JW z@Uq8K_m%yE7*@j4ucSs`)#E20VdbM>Pt_}7g-x)%Hw&!OxsOSVWy36avHj^7_ z!^N+E&^u5!!Tjw2bGw!Nys@yE+%Ow1-a4gs1ABwH_84>1Qe^vOo5>Bg;o_H#=^eAp zVD>L!?wpceHWoIM8)3u6w(az4=MXSIzR29#L%4pW&E!T}af2i2U60Sf+*+v{_2WZ} zC6{d`x2X*mn{U&uB6(o8y^FbZ+RFCJHk13b4HvI^(|f2Ng8A1o%xxSj+Zo$TZZjKh zctj}u9NRE3*FDSJE*sQ%K{k{7j4#)>zeQq?TG8J&gPHvtbI<6XS|ppveb$%j+uyKN zJMA>N2F!(S=BBlh^~*Ms`JK>SR( z7%z5#xwtuVYfh8nCfiKz^EO=ktQ7g*6<~hxGIM)0lP-tj^eI`?p(ybP|}r{vGEJ~$In$gnR5IZyiF&+(Dgm~xA*^E z^@x9o2?^}NjlZ8zF!8q%vV3hn|4OkaB5+7TiocO`p!l~a^ea?38{2X14D*O1O0Aqq z`z!m^98Q%Z?si7_`M1J77eBda^3B(s#EG8c_}B+Jp>9Tx{I5NlUXxXGaa7Y@;v{*z zYt(;LOyVS}m=0C){{L6ZT3ImVF#G(n z_(sDYu9QfZCV`)ciG%5{Hm?1P9-$7dMXgodD*cUKZKJH8?^M>jpH$xK`n$DVuB_+VYwZrDwdkqN z_@uwe>pVqif7MXd(W_M6=a-aLr>n9?KCiTGA1LjWh3dE+wUqYKTgv)jeU*3rZKX}V zsI*jJTy^n0bPe^O~1^to^7@;&mnD#4C1>bTfuN~?k{%~xjW zk4jt8N}bX9ZlyKBOduaOGG1wiJ1VVbcct~dQ=L&ULTOz-P}a3Qm3F$XvOeBY<=xRr zX-BFlYbSkG+v~QG1}Da4iQJ{Mp7qojo&T-0Zu&|W_Eve{e67yN)7Sj+b1E-pxYAx~ zsm?fx=SKW#Yjit3-&^H1YOIdC2d;*XtNEbH+frR=2cA>fFK;WY=fBk%LH8={Ufn;o z>F@S+hO%D$Ql0zE5tWyEQfVH273zJg@|;6T`*EPses8ZRpJK9&%Zy)fmD*VC*G3*x zc^BVRTF1#s`w1_v^11*1PHC@QP}VViDsTELN_*~4WxaB@(we`gtdGDCGq2}oDsN{y zrOngVxBZvuxHX%V7LU=D&%LbcbgOPJ*Pc+;q58VLc|_&4)jsTV{mt+ANPX^-DoT4T zU7a!JhSHYYp{$j)j~KaIS)E*^)k{&@8eP&2HPyKp+OwXmp^iJ3rL=b{spG<4PWt^L-+1Y3mG_pe-KJluyr_2S z+#V;C)~>Cx=J!zA_al_GyKdPZ=xZK+Oj+l(RoZ(il{Qje=@{K>-yNo`2i{QHI7EQl zCUbSq`%L?YTfZr*$D_2~Pb;m79u2Cgzi0J(>Jb-wdEDL zyl&YKby9ix->T!*=?I{rCbxJ%S-a?~U)`B#Lh+(2;&y4F?4Eeu!M z;~y$*)~D*Y`_C$^n*Nr3Bh_((ZYk@T5S6z`=XL)><;~Gozl|Od@6>H*#;=O66+6kJPQ{q8>x{-LF0)LVLJQ4OO0_{a;p;%KKHfwI!dZGOyO(=wy`2 zTmQH^<8*74x1_1kVswjmMVH_KKXt}o9h*fTRe9k%lvYFgra?(6Z+NWIio%rE;TQF3 zxzki$KkZ*G>4b!?WP`}8m6)wvx;D{Xj3bw-!kN~@s9_>Xiy+OAvT0zDGH zw@y(KA5q#7-4gHDkxYvpl{NVp^%-A%q4IX?@%%IG!;*E6x=Tl(dkWMUgF=)RepqSk zqm@=(xAA|TR(WIer)|AU7FHTE}$<^l@7|E9)(P_1!%G zQQDn%EA2Dg!VWr5EQhAki z?sjT=fE)?D$%wO4r=Rh9PQA4=<@$L@6fxnIAdtdrkT z+W6y2TeVYZU+CVmEw}>M}D(`LWpIhng_Qe8a-TIrN zRQ6YSovteFoE{Npe5LYkHCEb}lazK-_kilUcUSvZkr(JzciE%P_@Rc%%8om+Fe(#A$8?I9hh zCRA2=r+-mesP;ok9#whk^fzy={bYANHjb#EN-#%9^|dFcbASI`X*IVhZGW=TUejau zIo*oi)OGcnF5gSR>Wsykl=idsSG9E8csNyAtLq5mOWl*2XD)rI^6I{+vfB4!lvYlUl09|r z*{MC(zGqeGKhh&udf0+g*={19zx1-qd5%xO>&Pcjznl zw~mIpYI5qG>fFo*N;|2)(WCk^j^`=sYkCYwx5Jf-_qmX5BgH&mssc8@xD zQH;`_*1da~F1=V9!uLn#$0)6fz7zQ)Oz}qEp{z5s&lw%A@+w?V+K4Jj`&N${V|1Nf z(sS2=@2cZgKcqe*Nk@@;+Nr#79c@0hRh?1(b)`KPtF$2P*E;Cv`kIbyUu>q1OVHlC z#(I^PqsP4F*Hqrm+M`#~aailuRjIzy{-BMHSv>>Pxh?fw!qm$uZ-1fE204oIq)TZH z0+sdDPfCmIskC3`DQ%&S8Q#@by8d8geegA<{h`~MquXSz<~^$8`}(>cRn>kn3pa_} zA|iA@I-q9=*0fchG4x5LUH(UDwRGuQ>bk$7>!sQtbzF}hl~z^9b*<~EykA~X+7&%w zk8Pz&^`Q38srs&WY@9k{n{Hv{^o-{69A$0PM^P@ktn&V>uC#Vbl=hJBZ$I6y&d3N= zTGhwZaZx(2X?>OVtR^?t_quUm%G#~OqhD2dHL56bwE~rwtgr8eAZ5+JQ)yFHspAIf zxGwu^Wxe_zrCru7c8&JMo3(#Q{7g~qe@AJ5-J{Mus{QE;`;~Rnd8KvMvA|XBsUOlK z&O15^PdK8^2+(8lKVPZOIFO*M1N3*BoU8KUD=O`K-G)x<7Pe0Jt?U5BdqI20*?+5Z zf0&@O)Mu17s)ah^l^>q<+|UUadpwJ6={;zp?BT6I;t1=?>k)?-h5ec$t~ z_FNTOsxz|mxPM#sqxU_^`ttMYGZM8Qib_*?Z=6tCqmxSeOSjIn28vQ%`v|v=Mn>q; z|Ek+=-HPgrHhSFZTvw4>>zT36y1m?*qO8YtPj>H7dGq@zZHsOZL#wLK=&I)}9?_$C z$b0IHZttt(+US;jxrwq?&^_wIV=B)RsLrUN>-0B$#;5btaTE0j5t*#=n(A0ISNG{g z?zJm8ZU>n!sgnBX(ew{LMd?0HXGc@i+9CcTL~n-qx-CZ{1hx^-|~l8LhNf{oPh;PkmL#ot1Q}d${2L zRCPb_J(d0A$Io@0_x|tNANyl}eaz`J7lvUNhG7_nVg6K}AD}~B#>Zoq9L~kb#3pMwveQNFwz5mG3$4H+>tGPLPU41n| z+0}Xv*8LWBe{)0BSLgIz@}p1HEz(|BU)`yXn!kEY*~@zCxL=<=dRi}&znk?#?{)vu z@7oP}Su2ZD_gCZ|wly*y+qOG;5+T^Odm$G-W>Zh2LG74)_GDqi19OfPkd zzq_cpZyi)$9n|m9i5g{GFE4}UDI22qurKR(<|n;24%TNJ4&SS8@rGX7PwC^FM{iJ% zrR5Iw)nlvFExypl7T@V(#}D*TLFbif+!~?2s*~!g7e}f4OG{9eqnFs|2i05)|G;3F z1h>G0Pytm?3-xdW&O#W2bOzZB3K&ddFo(fn2CEosWU!OLeg?-GoM#|7WN^sgP{?6A zhj|>9a#+n_GlyLq4stlj;Ub4v8(bT5Z78x~o()TFSZ%{*8+O@n(1w#XT(lt;zy-(! zC<2%XumE5gz*>N<0J{MW0h|J0L68sxG6?d5pg0I-1;N4~SRMrHgJ4?_>2gAN#I2sJ+f*~vf(nBCS1PVf6S_sSufyE)P zDg-u$z|IiZ9|Ffi;Cu*(P{;^{oKPqXh3TO%FBF!B!s<}i916Qa;b177426rK5E}+= z803aQQ5eh&g9Tx*EDY9$!PYR?9R`QO;8Yl}a7YLT84h{jP#g}k!eL=JEDwkE;jk?n z_J+gZa5xhVK@pG~0a+1{9|0v1FgpSkMZk&(*bo8RBVb5-5f2?dcb zEfVHL!s19+6$u+7VP_=lkA&lqa6S@*fD8dS0ty987cfu2QUR+4Y!#)F_0VsSuv0w10^vqI|dfTz={}H+Xl9_f!%H3P#ZYa23Q;<#DR>1 zyf`S1gIRH~Fb20<21ajR~+b0rn@r@dP-Z03s1G5+NrM3KL;^ zBFsyKrHQaQ5jH2nu0%MP2qzQaVj{%01-C8awuPd$FtaTzXba2Q!rHd5wJq#!3y0dm zDLes{1PMtXlOQh%ij!bg5-d!DwU3AQD{-Xu7j1ZR>UC>fHIAuAd3lc6LTW+%g< zWLS|58`a0EDR4Xm&ZmG# zg^X0lNrl2xn4SvrQekN-tWJf^sjw>*4yMA%RJfQ5v1#C@L2eoprNPWJSda$G(qL^G zY)ymRX>ceFPNe}$hlF&H>5!KW#py6B9fC5!&4k=cD9VJHnXn)emSw`)OxT(UyEEZX zCY;Iy))5jqg6s%+9ig}*%<2dWJHqmgu)ZT~>j-;0!r_i^rXvJNNS2T#Azwm?gxL}n zNmwCagM{r8_DMJ@;hco9PLSRSvO7URCz#d==5&I^onTcb*w_hnc7pw#;CLrE-w8x# z$mk3?ouRNZOz#ZyI>XY=u(~sB?hLy+!@;enAz_Ko| zwhL_S0=v7wp)PQ$3$QFm$O4%Kd09}L1+%hXVHPaUg7sOjEerN$!Qm`8lLbLtA-OAL zb%p${P|_7X0a2dcuaDu)Qbj>j_7D!nvLh)(g^mL3S@F z=mpby!JJ;OxEHMI1si+8&R(#;7aZ>e=X-(3fs7o;$$`Qgn4Saka$so=tj>YWIj}1S z4(7ng9JrVRvAx0V4Y|Fcs5i{)4GVh1vfi+^H*D<jTAo zU{)Vk*aw#Pf%Sc0TOZil2M+gvGkqYaFC_PctiF)n7fSlV?7pz5FRbVb8~VcbzOb(^ z9PJC|`a)PPq~}6*E)?X#v|N~z3yX7MRW5AIg`K&uKNpVY!uebf{UDIVn=!O4Dbu^+_t2e&`u_J^YWFta}_=nu>K!`l9^wLk3c4~P20 zss6wQK*9i!10Zhz6c2z|17P6*SUv#O4}fh0VDA7pJOIuNfS^1`&V#Hx$j^h4JeZva zi}GMa9&E^i?Rl^-502)+xjYCP2Rt$j+Lty(5*f#`@4uNw+AZ#e44~6WZP%spx4TU*FVewE{ zH54`ug`GoT|4=wS6wVI?F$^+>LC!EJ90t>e!MtIxbQr822AhY$u3>O+7@Qmi7l%P? z0k{Q_TL47`FtY#_6u`0qSX%&F3t)Ev94dfQ1;B4h+_5SA9g>O$CD z2)hd5U?H3=go}j`I||%UkUI*BM#0QcuwWD{8wG1e!PZf*dlVcR1*b*<8x0AgL5_yJ z(NH`ZW{rl0qha}ISU(!JjfTCW;qYiUGa7=%K=K&K8Uy)bpkxfp9s`TUz=|=jVGL{^ z1N+9n(J^pt41^UydJ$w7K|v8rD}p&iu($|T6~V?L*jWVoi{N+>oG$_~7Ba>{&R8fM z3)9EKys@x!EUX?2o5#ZLv2bWCoEi&k93+ebIS%s1LGd`4H4YYzgXQC3{W#b*4)%_N z!{gx0I0zaK$>SkwJmimulJPKmJS-XyE5^fy@vwb7>>Ce9$HTet5LOK7#gJVL1;sF} z80Hki;$m1;3>%AKXEE$AhU3L>z8J&=$d~{*6QFPcOrHSrCcx4OuzCV)o&dWhz`+S{ zasphO0I?Inod~%Tp=ct^oCpgh!m^35b|P$@2)if3p^0#6BCtu2FbU)&$eRSklVH{) zSU3rmPlEN6VA~|vI|&X?f-{pKs05NrAgcuOOQ56#f+j=qWXPHf`IDh!GR&R~izdU0 z$*^HEY@ZDKCd1LmaBeb$O@Z_&kUa$orogl*FlP!Zo&u|;z{V-Ca|-OA0>`Jo`6(c# zLdI0cnF@tdVfs{`Rbh_yi{2Xmr-TsdadGxgb9H(bqe+g;aP46DMJs2nF%)N2J?RW=dZ+82uO$geo z`|g}O|L(h5FZam`9vv-dpfx-aM}^u};@t^pvNF_Zg21N1PE{{wQ=ZfKTX0}UB@0w; zWKKoLz>*r~__2WeM6#_GCEKSx#k|v*s3O zWhbXREpQ<;aAKj;JkY7$&z!olC5an!X7brWy0*zsT7B_IVjZ^kKcj{L$r{N)IOJ-n`9jFKnls}B$GtQ}r3!I+s z?CBb4=^i-J%{iUm?C2e6jBwUuIxPbOXJ27~Bc4;yJy1E_IXx<{C&t-xi&NLbX&mCz z_ILcOK@yC1AeH}A_DjpH*|K&b~2|n zG*CY_up}bTm>#Iha<;@f4L>udY^+m$6z@(rCo-MpU%9j7C+?IbIet6GPYu*YID6h_ z&X%4|J-)n6K~8mCpt+M%7VOmh10TBUv^?lE#X2jeJ8Mz{XWKe8?VPG?r+k)kA|h}h z)2Y0R9!Tk3PPOf<%MP609OcxpK-pwx$=e811J(Bis+_yp?u;vtVHVu<4qvgsT?y+97IY#c8 zAkR*b6*02>L3!aBCU?ZjHHmWNO|m@GEl-eZqU4r1c{)i}2#E=5_w+_4E0!^d55(OA za>)SqSQ~jP+}#l@TiVDY@p4Im#Egxst7LNJ{cha~CjA_@4%{v4m|L4A*A0|)$?|Lk zm&an{vBO-Jw{y1y%ldafR;^{Sp|87%xhn^{D|a$kwLn&bT-ip}#me#^_X3wyw%ide zYq`6H%N<;93X)s6Tg&Bv*1tZNXTx3m+6URlmuZmV7IxQdm=>E zM#{4(^c>cVbsHkw3)i?i+Q_CE@>rDHnCUKwkUQdJo#Sr0Qr3)-ewwT)=d$rfkPRD| z+ZZB`4UyIN$vq*mqK~`~>TVh#D_)P0HJ{mTZ4cKEmDSzlk#&roWaD$-)|WB2WvIL6 zYkVok$%gjsrbzclvOF+JUcgr*TJDLJD>GzmsH}*WO#>yq+h^O$O);{rt*lOyC)&Cf z2Fi6a+@{Ba-12l;x&hy;2`;`?2mXkV6>;t{e1=Evb`K;=Kg_KTl8wpk$_DPX*wPP? zds1Z;K8n8bL`T^ako6s1Ka9RZQ>ZN4%-s5KIW7lob);MqEf2Jj4Yn+QK-NFW-A#jK z?G*PyPq`!Cy^!NJ3wc1ect7~U)a+*NrhIuI#%&0fOQPLl;j(^|EL{h3$9uM{Y%B4* z``le=%W5HO%eY%EWu27G6Wr6mZbPa((pk1lk(J$L)kn;&JjdOtV7DpM^%LCcx0qbg z&OLp%T)99ViNY7qZBB5Tqve`dTyEqhM>c%RWNn<>(_WT-!QJLyS@tNC>n6$_$?l0* z_jH&%5^z_>$aOWgtO}K-VY2jUiEBnxH+RW*AUDl$aiyw?cl~-MPZY_OZ-d;joXdu% znLHaQ>t?$R!EQ^8Y|L;k^p@2zZe^JC`@79SvZlS;(o>d>mCa%9j<&My1zfGx;DY%Y zt}FOlI>_c&w;I18u8z$mZheHTkCj_8+@?f#&ttfj_LddzGkKwlZ2A%xf`xKPygVBr ztGc_VJIDil<%JSilPEW}b(bX3Q(YM@kA%6EQSw5ZTp8*v=^~Hh$V%aE$#iS8<+^FI zag0+mz|c_2zwq{-60vf?nV=Y_KDZG2;f%7$)k#US_W zDtzO96K+$6tm`3bW8JzTa!-_76X&kGS(f&6_uz)3X`(#PPBylY&8c$T7`f&VCd>NE zBO_%sE~u?5BW}np#Jd$??umhJ`Fl(r$d>h)vT`Y-)vB(8Y@8=+-w%?_Y4U7_d%8rf zSCn^Rk*Ze z%IbKzGC`hh;~oi@jWMz^+V$^}6(il1SIZ;aWjU_&@%Sdork-+7nrw`BH>Jxp^J&9h z9V=_2aLa<5YPWuhyE0Bzb#!t2SD)0nvFji!)9Hn83X$s)-KsWj#SU8@3zj>!a*o6+`8aW5hAOD+&$s=tXv-#@B>S^EDe_pNwT!Ryb$6x zPmpEpWaSKbB+YH=;QHr+Wd*)YwWY!CgM&V1LLSI>PuLO{ zSKMYbCP`exH{lMbtE_J$TcYH;&TeVCyC++oxI(skh;I_^#SUC0>w?|-0rJ4jZVRrj z6}Y+SAsdIuJqd2hblKcrR_4ep*UKeqnA{TK;?847w5*Gf2NLAU@ow{P%w4w&_Y)o6 z(mt}Ltt@{U7qKi^jjzxcSvOSH;o=nRmVJWXEFc?jlUm(TZn@e$*26tfARD9PvF_4O zk_S@VCB0?sE4X>Z4JfXZ1Lc7yncReXr!R0YOer(e3Agj*l_>-xBC;ntkFO}G{?w+{CRt+Q~hMT` z=E~DFSk`Qv=hmL&?gb%NPIYlNiuZ*7ZTSVi`F?Qs;A`7kHW$(jwmgyM)?~{~xG!1g zt_jFeT<61OWxU+dLtdCp8|po8;A%HX)*r(A!)5_HdiwxKEUm5Ou zB0|rn%h!D`DpJpHAL)D1LeHm5*?li2O3%M4+V^6k^?bUl-S^tWXrQaxeJ?In16}0q zd+}{F(6#Qqmk_6cE_wI8#Q4h~y8B++1U;87e)qkk#LHlb--CTGxvid07sC5qN|FY; z9^Us-lQqy~@xGUqqJgfC_r3H~4Rn#b@3l+243_9W%=ZH6dh*{mw|zT3oUWSpy^Mec zx_I9AI<(h7*UW#j4MF&0kTyNiV9X*^bs`tGsuh8=+d99-`(DQ@ z^>Dh%-uGmto`1U7_d0dd^XZCv-|H+j(1rKD*QJvNy8hnxvN~&^%kX`#YnRJliP88f zcgxcAC-0&gbnmL?|2EC{vb&kdFyHIZT@R;g^nI^qwg$RX-}id;&_Gx0`(92@4RqnY z@AdAbfv(^8y*@b_=rVra>)TrcUCr-%xqURyMg6|ludfEWw%_;q=W3u!{C#ggzsq2W z1M$9>*I&=4%l&-=J%%?@bu5=RdQazTL!PJ^$zpzBg%to?N`Z_ev(};S?b7y~&d_P=~;CnaB)Ieba-@Ea84b(UA zy;(P0220#A$M&ee>i*oy|dN}nEd~eQe8Yqk4dw1NfZ;%k~dvoXL`IJcTy*uyFK&1rVn>SYj1rvO4 z{+$}Ao8WtQ&ASYiSlrF`?w+qFdnEeag1hu^3Mu&BJ$GxMo`Ub)yFdeF6@2f$do)m8 z!S@#4tAQd5zIXq98mP74dk-wU43@YK7rqDY*OOOV>wAkH(8KK`H2k3lHBf`W_q;_K zD8=A=r4Q+QxPF%JE%x-}&KbV@YPp_Ixd-2?cv1sZAAE1cQyM7#;CoM3=zExUi|;+NLeHlV zgzv3_bQ*&^QjWyd#j(*K(Pqld%jWw zH6wiQh1D7;9pQUxp4UJH3Ex}$f(8mn_}+_aG*C~%_g-47fwB_5x9&v^RG09*^)G3l z$b|2`yiNnPCVcOe^%^KS;d@mtYoPLk?`?SHGFaj>d}&^-((|c8;d`%b(DUEILzn7T z_2el$UfcMZ9!^;b-+R4U1Jx;f?~RT62EB*)9!3f;9kE*C0o-suP0Xx;L?y+s4nEPU^str{q5;d?c2YoNA;?`?ZW z10^ne@7)>=RJ!oJ_qJ)E;DztizN>+{7rwXsJp--l)%&%V!4iI+?|rac&!-fI@9lVB z0~IlRZ|4UZD2(BIAMVgVeGK3GXr~6sWcZ%{;bpMIJz2iD>mxm%k{Q1Dv9E#38NT<) zE(4F!UDkc9A-{EBxBC+fl+*CNPwO;LRm1l_+pU4(8osyZ)5~Cq(y6|;_cJ}8LL0vK z`5q0_+wi?F_G+N)hVRvXu7T%L zQ_B9Y^n8kQ_}|hy?-3g^Qqn8d;dJB zff63R*Z2>8gITygJM>RI`PYNK_idw|yzV;R`|gmQe5AkcHGO+|k_oDN_}<~~G*INj z_r7n^K&=no``2N84<8Qqy(8c2$@zEq-qC;Q$>en3`}Yw&c}E}L`{C&2NhT-*;(N#b zt$}JFzIXfw4HO0Oy&sS1d+3OVU_Tw#^C=MGdnbO>^IyYb%9B6o`4kKBy`N8Lpk|2g z{c=*@AQHDa%|Gk;)DQ8!Q@?1SjEL|3+N^JoD17g?Q+je5?ov+ws)tio#P`nprssc+ zpO5}?TFPpfri^UHDT26-s>X;{P;IsKodFx^NjRF)GRT z{=TT^Q?$glJd6EhX`_4z8e@MOqmT(2XBN|Uwe@-wn=vI!P}&3y7&k_d6SN>kCm}AM zaG=}?S}?IBWtMpJ0hA~fse}p2sGvnNVT^(*XfZ6x7^PLvVp+5?imafuVKK%iw}KYO zVwG7U=q{9a)K}%yP#wg{2md;X*QPc&k9ZNGtc^9+*OE*TL7qs@Q zoiR$jpk=UtGD|#@iqe6#SHc8EV9*?vq0AEBC8J!yIvD9Y48>)RksCXqT*CsEfj?&h9@5rt+M(G$FCt0R3ipZdKVjYc9P6n+rlg214gVu$0Qf7(IU6d@= zSqT%AnnCNzx)`JA3|cpqWsLGOXx&*?WtJF0&pn%UGm^qkda&+Bj>e<(WZ6oXpg;{; zFV@2trE1V}SWjaVtwHO}dKsg94O$!p^RapjEuYorHGAI!USb`(8jVc z%5Z(Z8D$(RQo;mOW585O)L764W zd!dxDiAtF0bF_8TWH!kdrG9YS6jq|l55Kl`IhV^fSgN6+XgHr2@fHYiuK zX-b%&C=l8;>?&oJ_+K2#bau58CMXkxHiKQG%n~=>hjJ~Ou7n8+2cccZW*DP{5ZX+3 ztucxTp}F$>CPKTF-C~R)MQFFN*~%=@B?#qqcB>L5C|iU!hux;k663p} z+`(>F!UTnk(B`r^#wclob|<^T7{!gy=CQfPD0751pWSJUf=6g~v3bTQeS~&5o39Ml zi>px-DP<2Cd1)NVV&*Af zg2GE^53^EZlwd-8ge_KvOEc|3mavDFFhNl!w59A3W0Yq?dz39PMxiFO$JkP1lx#vP zV~-l6coW((_LwqDJW1>Sqo@bRt?utfvfvr}; z1jVM%*0AS|QFaP#Eqg&3o>-uz??tx8NQXO7USeyNFhM~ov~}!7W0a;sThCrnW{DgJ z=3{0i+2w$T`6u+TQK*NuHbALlG@GkZgsC8k}2@+RA)gb7My zp}oa6E3?FjyHK{UH;v55N7>5WQi5B=A6viU+iZ(5%4p%Zci2{C_`@LDn$)njjXaTr zvW>l?1b?Qxp!G4l%W9NaVn8sCdXH^W!UQF^&}!Mc$}G`=_Kn-wdrFv~2p8J>tX7#N zD(L9q1GZfWt~-}LOYLCqE5ofmeGb{lJ}|P7p7n=phY}_z*oF2H+i8r_U1&c0&=^I$ z&~~wpjD54K)jnpvF$#O(xKG$FW0d$pt79J0{y+8*|)F-n4=?PZ@Sv&3>*V?SqmlrTY&Ftjh&US)V>d=*MP`&{Ta18AmwqKbgR`*3Y zz`j<(1SQDO4zh2QS>okTlz*@TMt->;<)8SEH|x(*6emM#WdBfRiJcu#4zYhK!F|o8 z_xM}ZXpF*TIPN=kNEx2Vqt9{}&FP|6JLF#ArKC2Fok`JOc?!OzcYTJP&$?65LR zELw!4j1{5+Hv-SGD|#2 zui206n2~~>C_k~|N|>Nv8rli=qcKXSp`BzuDYHa8Z4Z8CCzLQjF*USb*hyoQRYPlL zKP$7uSb7~#v0sd&hM@e)nw2m?!8Nqs*ePR_UPC+0el-q8pk8xk9BqAU_-}z4qhuV8!(Z7kM)5ebAddecs`|0W z)5R#k{QvxF59Q?0LU@oG#RP@r&_a2zF-pv#h4Bz&mUx5SgK!>dB#)M#2p*<{35w65 zMe=ZEmY8<~ir^7Sn4laTS`?2oMqxU%XfBLVq7E&FM;W779a=1pHb&Vxv^G4(7zOOm z;&`kwOO)iG#Pc>vn4qK`S^|$#hDTboWF_)=B}`D{4y`RuP=?ze`lOb`6O}MQ**mmk z-qsie@X%6tk}*o*p{4RFF7C;O&(#alEnh88|#c8J-}fWAiI`2PI5UW)IEfjxtM344_=e zuTa9oh)drwle@|+@ieXb9r=|?n4lCNn&g?rD9VS{iFZ_HiMMHs(3wjmOi-o|tqbpD zjDme=S-i6{JQ^)R>B_q(VS*BVXx(_0F^c)2b?04;QPvMFn|D)YiJ7BNdhqT_n4r)f zT2G#>4A1w>L+QnP7`crkhxb&%1SJ5`dh=e!C#1T3>)tC1+GL~M8T;4|s z6O;)=>&N>VqhKIff1YcM(t&6Lct2wl5k$-5{f$vh5N#kIV2r|oXoGm3F-i=g4dw%l zQEU(`pAS-oM~e()2p_D33Ca(m4dwa9C`5=hj1MtJNkX&&KGYb+3DJi0Vao6*JPl<8 zFHph+tG8j8Xa!Z9E^V%o2ODP>T6DBl`!UOyJ{{FhNm7w28df808Vs zCh-ZzD3pj+!Y3M|WFp#RK1rD+ZplTN!b^9eOFuQ3&2KhFnMb_st^5{c_|uFql-u}hB}`EG5$$$Vq5KN}7IBp)FYm9=CX!H4<%J6xXpxnjh zDZ#CDdh4jW`Fv$~9M=s;E#P-4!85y4TSwi)?^b4sK6G~QUcNvHZuj=LKK}doJ<9Mb z?r0pfkl(9>2?|f5-OukcMhQx^2lzr|mbj)r%7grVB}`D15^WKGK$#_m4nTQ`Kd6L> zmoFU+dwh{G3RdE{QvQ%JN>`#S=6F!1elj_%rFGoHyi}Pb7KY%cNBCkRA`)c@e^?0< zl($4%${#UCp-Z$!`4VN8m_%nNALC1vFhS`{v@-svF^XWKE#r?FqZ}sMa-nP|)T6Ur>nF&pJcUT);%y(mxd(gl(qZ?W0dp6aWC>U z%J4U$CZoK>*BW_>eu}k@zo>)>3Vouj=PxP4Pj~c+zs%Pu!E<_-mhe~jdSes;#c@^q zWn+{BMccq%QD%wz?m>B#S1DnF0-QG5kTHGkE}{UcB|^4F9wLFrJm*Lk%u ziio1U!8aPCoG98R{<<*=i=u7jZx~y>uJv)e$u}9J*eH&Bi*GhY*-^AD{7qvNAVu5C z-!euiQna`E7G;(=GaTg|zSW2qg;K-cR)S~mcDCNvHvWz>OQh3Y>Rn!=gbB))qP@qr z8KZzHS}lK9nI$4zliEaTD4mM7n}1@ABC2Sg@;YObQ$_oX?>0tZRkS_)Q)84^Mcd0iGe)shw9ok-W0YM* z`-1OPW{I!pxTBtbZlr1!%0B*uk>rUeU-Eh-Oi-8=?JK^|7$sWK8u*vSDAtO$pMPbH zvaM)e^9ExSa7Fuu?>9y%SF{8CYhx63MLWp9F-Cb;w14me#whfP_D_CLnI*bsqBQb< zC}D!quV{z(KaEiY7VTT!XpC~OXy5Te#wZMn*2KS6W{LH|D2MrXO7J&dE^TSP=S|8i z@e6IE{>2X~!83W6_C!bc_r@qAi{p;+e<`!X5IWlXH$S3;2@1=i{lJeJqr@!QG5&95 z_^CG!Kk?&6R*XkE!GBbO=MK-e-up@ZlQKM~Nk@)9 z^Akosprz^;eo_gp$(Ocb&HQI$l&r;Zr}!_%C|-;9D{oeY=NLjze&eTKIjNH~91#CQhrjGL{$BPzZ+sZ6)8*Mj&Z5*dYQJ@zs#Mal#;dzux`_xc7 z*o>oSFOCbdLyS?r7cJZlHAW#{v!=hvNg3`v>HK1mQiDDCVtCAh3y+OG%fbY+&PABUsb+wF|pOV2064k*Fj zDgU2)qj&tk`V-zb!yTa~ZjIzaOuI(tZ#FW7(SK3!7VS+-&XqmQajFQG^ z9qlWPQQR0!+L_Ame3XOI$?j<6U$mrjwxtp#D0__7#qMN`0?24tc4uXlD4=b9SG$W6 z{N1ZdTd8h#mNAMWL>!$5>1k&xVS)n6Xua$n z#wewXmSgucMp0$7-gYl#mUxKHJoT}2lrTY=WwgF_Z)Nx!6gQ#d+I@`tNatSq*?pBT zK>=p8{&uc0N-?7iu=^>)Jz5`>JiEUV+)6ENz2!iAfHBH6$M(KH)noL!`Z3Cc*Ljkm`d!$pX!*dAw$($Z)X?D57ZGL1ITE;dHFX|zf9 z1ZB83(&yk3d!ms7IvSX4Pf~*CNG_cfpJJC7qa-zsn`%!sMsaGiY4#LlmMEgnTUXgr zjkM6uF0ZzyDZ%~srET;z_EpL(@kcKlHQl~i2@@2uMw?+@V~mp4XxG})mEpyd^iEx8 z&rpJo|I)GUO#516l)J`p*W1?_qwqD_4faf9l)y&2(Z1do#jw$4**7S|i#jq;ZnAGw z!UW~9(QdY98KY1(+Aa1?#weMMHru}07{#;EZnbYwhFkQGD7V?OjVz(#z1!_umEh0U zMeFV6*tZ#@z&4J%!@k`ZrMA)L+H;IibQ|qX`wnH6_%s@2o;_Cy6O`dbn{VH#%o49g zpxkB8Q^Ev=xzX;n=NqF$H`)UGE@KqyM!Uzp+ZbiL(eAYu7^8qU+I{vt#wg{Dw$Q%U z7)8C&?zitVMtN_v2keE$DD;i?pnbnFN`9j)vL7%;@o%(;><5ie1{}?^7a2Qq=`&}k z{g5(C{6%ZlV%t-KOT?uu*TZ(HGE0<2;iyOK#Y&i*988;H;3456mCMZ6RR&GCT zj56eC%k3wOQIH(%NxR$_rODBrvX>j9NI6=C{iHFw2<2IOr4oFVF6}p;vsWp@tugKED(z>D6w~ci+s`Rs zf)eOx&)b#CEFtM!*bDY*BS+h!tg)Y0!UV<9(bn287^6%&+KcuYW%zU09F&*rwMv+v za5~yL`$c7z*nB_Adiy0K3G^6Vw$~|Pf|BZJuh{FA;d@T&c9s3I5?r^JwLXRo_AACH zw~pgpwX2L#cpdFEdxJ7doT8<@+J03D6O>{{+i1ULjH2vluiMqeD9?`ehP_dlCEC+b z%O?AECAjWf`pNQU`we51ZpU$N+MA3~#2xJ|d$Tdhxub2d-&BT2Pd3U{`z<3$DJXB- zTa++Cp?9=*?5)Zyv2Q*~js3O~JX(0Q^*e5}-!VoJcpUexU1N-L@M!PZ+l)~d9x-A(Rj2E?Cr)VACI=fe%}~{?vrKQTsedbCgNI%AZnNBhj)ZH$8TXnX8WjZwNDZLj^AF^brueQxhjW{D5z zQ~DS7UM2WjA}d?(t=|4znI+Z;9JSB>!blyR)Be(~SHc7Z@6o=p_bIbP8l7Efu)kD- zYt^Og=6?GtV-&;3abMdF$|71^{-A5)Sv7mV%|E{GJj0V|_Sdan+KJFU$a*f#N`#NC zjDvQtwabe8huya&$m((a?|<5%tut`Lwrl43mT))7%4oDBt&bC1XCJbotf*>>{y-9o z38}n32EY8qwyb9?-Yz(FuoWEII@f|;GcSF?t%wG^`VA*mv6#`<6Gq_w7~qUGuYMXu z|GX^zX}zP%x5Y^h|A&v;`lOn*pU`@vVclui|Np13b%{`3C;Gcya= literal 285648 zcmb5X2V5N2x&FUGvL&iqV<&PFIq{9QI1asBJ7E@_fD5CYLb5{NF*Men`$BGHQgi6S~k{NMMSv(kDNhxscX#gEQ&_B&_ZIc?6&o-Nyd zt<><(Z)DBYeJ=7Tep~rFkx2B_e;*KyRQ-4rB>r*6zpe0p-hU8@0*;DA(}&@|I*{;y zNVEWYx4-LM%hGl$)BoQzL>p2sFqfhB!Hy+2BHf8eBl9_;Q=^7_^16V z??6tB9QkAO3B*S24`dQ)J@WE9r}84V(RuUDFCE|h7THH!+XR#}+^SCg)SfzkZ?o6zsd4Uz`Xw{bnA=uRi(s)6Z4M zA_ZRBu_hnb?Y}QLptS>ko_`A!#sdFLL*2u8={@+}eJ?n?Rr9$hwDxn6j-JbY9X*j2 z_ux+tJw#46=a2uAJO=q4|M#sAK7_I>KXQELxwk(0_@lpl`0*E?{X#^b2vq%f-T{>s z{H5wkxR_L7`hA<1_C5IIJ_pqQ{6Hl72~=tL`Y7bd-*Mg!hMfmg<+m3NJnqq{cr7KXQ~~rpA^RV zd3ppmU9ATK?j9lV8+Z#t3o8r2%K%-#@TRXEAb93MnM9}F(jrWe=mntTu^Bw*+tF5* zhE^tkE(dHi)L$%l*7kh_%{)=?DL7L+R|-A||2?rc*~rM!$_U6!K>a<`T_iW=iwK!{ zd@|Nd&%Mc}=0@h`K>mL~-GoYjSl1b4qud{khJw7@d&|Z6!t&A+p zO@V9()TBB}ZVhAgj(U9Zc`P)yH`>V3&=RZkCBXJKP_*CoXrYddECIxE{d1e6r>xG%+%SV2B(Z0IGQ}B|96^OUOJvxd-xl^U2?Z#JiP) z^h^*7GYrPhf%@eTCBHgPs~z+BaUR``yi1v_OrXmXIs6N#59;qDtx)lER%Yt)$u}Us z``%?XGc&coy74$rhYTpW_HEV*smG7TGLZKMTUl6{W0y1u(38QsqGERI1 zbV(K##-`X%nt^)oyOg}1!&*1>_~acRy9y|?xrHeP!vLsZM<_XFij|pqeDVS4%U$*+ zo0yr99w`Q>A3e#UAy!pq;_=Ccb|ZfWPULQ-!(rkXQ%m@NDD$U4wS@5yJLpo8=n#&+ z%;S^wfGi{$hUTPgTLbldF(uD=vuIEc$?9GIgFtqB{wFYx!fD07=|_z$EJ#24SKvPK z3}rVSp%t2WeD-6&7SP$5SXo%&H9P{;vqqF0^C62g_4x6C$O)-;mL`UlFakNm0yXv* zlq`OT#)El$vJ}Wi4(we$EX~X;As!BifSt6Z=vS>6ntJ?jKu(dz-efa#W77BE0IJfC zl8=7O+Bfz1?BYt zU!&x?2iTxOJwEv*Ap7v60n?RxjRi;OXN--Z;{b9UP$S=@WbgeVJ#0zL+DBNR zp;I!(sdNcY*WD?(^_Q%2P>)ac1G0ctXl!O~2_2Ke4p5uDDA^&9O=hUaCx-x8K(Ay3 z4IBgA1=L^6Qt})9Y^qB=J~!BA}j5w{qsy%>hp^$6`V(b@<1ammrzT`}6a`?&M5 z+BLCg?Zj$tCS&HgRPFjSZ7mTuk*0kr9YtEY_5cyL(zRnUFr^?v`#KT6m$dUPVanho z?eNPedM;~wWTJ@9)DF%m|l0^=YrCptkhnURPcFDn%Q@Pr`SFotlSF|q{peQfU zb}vK`Rj55e#GOLzj3P{FDbl`DjKJ<$-MWUEZ>(vjZeU9DhW5%9 zijZyXQ5PK$uC6-cZYccRbpm}*r2FWE`|3c!3Ve0Ok7J6PpH8JeigACP=o2W)PUtM3 z(s@Y4g$3!%2VrKF>_nmnj?&4EL#sJXCn6qG>f&{-U&N35 zB43UXSQ_CZDF4BEuG-o zn38l`r`l5&#EPeGy&sB6Ki$<6x&RD1shb~yDFY$8=fW_hC`{KU97SxnZbXdkci=2y zbjxCOzX#EX)g8NtmRpkUQi?7d;zX)$UWP7&r6WUkwFvVB6zk@;qSeu=yV|Y`1v}lL zo6v}n36uFTS&yFpZ|P>Qp=esuo!da+vZ*_}jRo_#tvlnc2g1igFFQc*M^KCay*sD$AkUc~y`W$e z$-#Q_p?W|L2-8c5Kv5N;w-$@ybe!Hs9Oem(*ISB5j^8=G^$U7%g24%T=_zPcr|9`- zpmi=o@A_p-an96B%F=@pwr1%KWTO?3qc@g=DgL>7jk%a-ELYDf4@G32UQQlbSM&5v z=3`1izTR>P9zC#B?@Sq{WR&TRmth{~a=oE)6x-!`GZiRyD)j2BF!OSi-nnW_DXiA( zuf~HeRO=1bU{P0V^vY{7WuR8iuMSfZ>hyf;_25z_H|do&;ivkV^dj5vScPqR`R$m} z(XKb$fhn<_de^$hvAXoSx-n(DTkmoY$iV{!#WiNd=ix6-9HE&D_^3mV&)rT^lKd!&! zha%QrzuO-z=M(xhCs5otp`UybMcqmL3jvs?EI|KqAf~hh>X!$h7!T6F9*n~Mw0?3J ziuy2p|8Nv3;rdfVxJKxQMPW*Qlzw?Eim_PzhByQ+#pzeYqnL}=&%1!4*2slSzl zA~IY5W)6xIx%x?YD7y0W8?K;OyP`i`h{C5xzqkm+bdi2<35xX+{nAnt!=?Jm(|d3Krua_fAboO^F#V|!+1@1hV@%U zkh3wOA3KIt-I)G75nU;~{mB^=p0oP#H&9gF z&>xyd;k}^0vVbCTQ9oq~MeCCO*ew)WxAcRSQCwcuuUT8> zG;m4AJWT2Xkm8C>eXPc?TKlyqWBSEoU6FN%_0gYG`GR{9Lu`;jx(Z%{LWDRUzR$H!45 zj2lGEVdktkgG)D1)Z8$rT|(>Xl0oGy6e+6)HLLjXkyQh~H7r=vnnBSTric!S4xLX* z(vl`7(LXxU#G`RXb+laJpK*yWUsV0kdLZO&d_IGJilVgJqi`-E+UJb_Mh_lGkw2x; z+MO}lFgS_CO~&-yr>1!;@=9mTQ@N?Gsatxi!dXeDTZeYFy($krdrG)9{)b!Q@FzvFqyZsFfzgw z#6_U~M{gF@>bD8_P~)FK=HJ<9 z-kn;R8yn#*f*nBrubP4#hS(|*_4wegcMFE*J(H2S5iB5z96W&9Rzt~8f0wNhQIAh{ z0kVMAI8!V5ACP;2T3S!Zuir<5!90GLJ%B9W?$p@C&=@aZ4Nz;ED7nyyRXghO%j^qe zSToye#mv~u6u|I^2dI;SjC_nngL!;1Ttm2k{KdFkE}^A4x$nIJSdUSPK6>B%%WfGnU{TUr^K;`&V*P|G$c+5TfjrXD{Q zmw~)@rGQ5yCV25`0s6yj3VvdORX6JKi=4Gvkv01`GZSoi@Gu*wC+<-4OMjrPnt6P3 z-frYw!fa+~Yz5@gKs~(g03D=$&VoTbKDlr=vSyjBER9LO{3uXI?xW<-!)TeA#}9KU zkOiz7nwyyzVzZtGYWhJ+es`NyX6o_D(9a6EfG`f>SmKZa(0BDH_@DKvRzf^}Fd6|Y z;F+I=1w48O^7}xwHDF=B`!I@ld~y$vo%gPE(A$s}_-mjZeu$Et@AX9J@yY!_7SIAs zOz5-K?*R3|pHZ^-LDnr(k00h?ARl>p??RgxL+=aWcpR{Hh7>)xO2%!dB1?! zfRUlO6)gKYD1mwoUhcw)qBw!A%~Fp~eiX<89_v8mzz1j!$v}PWLrQ+y`tC4A95)iKV4EhWZD(-efcgYcuvm{ii(($X#4iB&h~D01HZe3I^)3Lg zGp8wfy`Qy0>ha6`<}PK{Y$}%Uya+q!MS#8*O2NxEtZq<`U*@*}yyxu5!qChRCyIXo zX4VDDP5CXW8Pww!`0ZT^tT|ReJHaSBTmh&@3I*qVK*uWP@xkxz0@jR#sga2}c65FK zjlWF6FM6tGpv2>Y-xCBjHZvn{3M2tEJdc9iPqN;KdVH`#5ZJ`fkjy~i0Qy=11s~{E zRSM$q!T%!&Y+-0f#ZP5B>na0){{fD@$x74nGBIL3KFr9} zgC97{R^(eXEs%j~-MFt;FMlKNAGD zva%#WRsi(cI0dIX#_rLm#|M8Q2y6uR!dQ_f0NTAw!NG+a*k6pl;orRG(nN&G=0d(*% z1qa++a3CHZ3?rFOU#C_1@wLdVH|A zFfhEghj-YG0Cjwgf)fv`S~T(aU|#@3x4HLQD5EI>dwCaG)SCU@gc32|)jJ zoPuBf73-0y#|Oi#NkCP$G&3YGIKB8yphC9ZusNC5lyIf_onU~QXveDo-wHCDwnBW+9; zoqGZg*qeo@EE6g~Zd>dt|9{CETcTF6Z{Jb%E!wI8S^{*-*6nAK_O@yQ`T-g9t; zx75heoE0!rPEl^{>$Gk#kIy}$$=#)9m>8Sj1dof2Uz2R zfjP*y_J2~1*~H^>!-Q~6O<}$T+%aH26->*URm8e{>hZZ}g>bEmP09Et17=SM<@UzY z8o@l|s(LwWA>qK)Xw{k#hNTfByqmlRRGl-FyzI>)K|MY>PDqK(V8ll5gTS<4+>|KB zr5>LfFN6zsX85MI!!Lk297fCQ+(k!g=JC1bghj&G)P#JeWD2NHgi~_BKiNEhdVF#+ zkOj0lGk94NWAS64u3VsGJ!e&niKkA+WswXZ-&=tCw~IMu7KS((*aq-@=@j1kQ#O`R z58tb*3JlJ0gT@W?@Vo`aJ;5u^&_Ji(jj%9P#)O z9tEy|$_!t{Ve0Y8Q$Q9_-%JfH4Kc?1#0N!hODNgzUo6JdQ;!AK zWSB4rdDvxcVL`}Bpt{&l^5Bzf9zZ>QnQsC4$Wwb)Wh+xNvLNma*zZ42(S?<)XQmz> zeHgv~CEy92IefPRX8}(ERrgnvEUu!Lka_%YJPc$3m(bkIip&uo0_yAwl>Em1EF9G1 zm-%rZ3z#!o!tycBFP4Bh{d-D2_XE~tP>)ak0gwee?lLhpBU9#ip#J3*O5WaP4TXCA zXoz=4o3m?)_+s-1Ak`GpdP=> zCc?^WWQi};h#WS6n)VhYyFWq8%shUXErpfY%E%0#SUO|__0YSNd?19?XX^3G{0krp zsLz&`#uhjV9tP?cj+FfBJ1iR1%kZa~OauVCSn3|0RC zYR|`%?EV*32TeSFG+q-{W+P)`QlGB@HUASzZY@#WJrIvi{*y2=yskxRT`5p!KBMI4 zUt`gr9-sUskfE>Jdws_U-ZH`o(jsub_Z4LiN3&8>kI#OWviF+Cn3$N82a8VvbPum!)hhq#mDq9>@avJ5y8mRv3_Xfcjh} zC5yA!bcT9-@hkADSWqAld9v$>@qc@gGIp#C+F zMdK%`Xb_K2E)fhZ~S!pdxB3>_YjKLYCIB1+aXWMt~`$xT2Oa03LlljL4AAE@QUlpK)A>IU`rP{#urUBr*_ax;QEOi?f^Axh?29c=`@LX{4!4hSx7Hx zYH33DT!;Z|!Z1bW-C|dedVKVzusB=LH*C@X`u7aV;jH%8j2A-#K#*7 z7oZNzQgZJh7H8`5$y%_dih$~D#NMzO1!~|tCC?c#GWGc6`+zLqR>jzgzKR_RRGSq_ zUTW>~h zMDFP;E!ebxdi*j!3FIS*sz&(lmV3nZSJBGKkgQSF05$w$O3u?&J#r)-l2zYA zM)D<$#&df|!^+r*ycrY+*ndV)^i$F79*cVXLU$nAa&I)$Te4>72H3BoDcbZ+)nG_G zexR2H1=_+4ss{wx1E9Z)r(pYdb_J=&2d@HHK(_?%Gm$|55vau%C|U74My8%R83Vm7 zsK~IMgfBEXQ~~tqLlL#yQ;#2xARr5<9B`4y3rL>=wP=HqKbNps2le>m zFbwnqdtXCycr6&iQ3=>92eip>nDQJ$Q;(0%0JMOe+)RyO;sN9`pcdax$u9=622MSG zpv!=~=VHH+g%NokT?I_}cPQ6Tk4@QB&$!t^nom7*~b(%WWx460$8*Er0B{4RynB0M<3p;(2v6v zxx0%LJQRR^?TpFW$PUi}HIR|NdW9_*Q%^k{*!w>U#@Jv;FY_yeP? zZcvZUg<2#!61;aCG_$fIYp;(1w)=gGeu~W+na4-}4$uOoNk*oIX4tx~0#$jDl2Zm$ zg(jYQm@ydtPe?Fe6eSB_p8)g2WXi4eWfK|d@k{&~a0S#kBY1rZ>)hu+{aFen_hz#a zQ%}9b*zx}v$a@Fb9KKP7*UucFq8b+D4AwhSk6+|BA?Fdr-e^-Zb261V2-v~~idNLI z%1k{z+7HkIrZVuV3Auh1K#gjow*=>~kNU*BkzdOlQO}~&F0_44mjBk8l)hGmLY&!+#6{>n? z;_-tKDy+!x@Pkag5`p^DPD*Zlo6V4@#}7t0koW8}OyDsR-v5{aGh%>pOMg#8!8|@U z0=NRc=>w0&NS6^0)UiPpv*e=|bKg)gf*X5t}PeKbkkjr?8pE+5ubM9-KTnUdSgSAgm_M#%vss)-lz z_+`!jvVgJG+|-_+=B*cD)_{a9G{G1x*Sx%=2)KZ@D@V^IUgU{ip!fn)7g zkHL-uqgRimjH4(RKh{pf$oR2MB77%~otr=_bK+Pd5rY%QR){z;d8~65t?}7oWj9dt z-8h!KNH~kfR+dnB-8$yAjKv6DKDM}q2lZV)mbryi)7G(@M7VArOWMYi^6g_2L~L#! z3%-q+FW)}aOa$y-V1RomIKw&OAN5TRa+;2HHsj~jHaS?=W-XA$N)>3BaFI<8av{({ z-T|v^R6J5D zhTTDKm5NW7VMbc0Fy(rSIHna3k=-iZYQ@Z_+QcsH zD9*HtLpv}}Mu+%nC#EcRidVZZ#jjhO--9WwJ>sTb6l1;O#Xhur`o-k~m~w4EJT!=6 zb5QJe4XumU#N$Jla(hS|G=eE{4{LEtlj7J} z@xuqWoLO<4A@1Uu_=KzEpf(rlDw+0{96rcxdP@odB@Z9ungS)= zp_noiD(Q-oJbZ||5hw9T!jy<4$yz3+_+?23awPy<&6Na~NC22tA}OsyU`L yPE zCP{o3S_NGa_hGbxh9w?T`0=nQ$)y{Thwta=Zb;&nBv90XCCQ~tJbLY>WX)ar*g?+E zLz?3wJ-nZ5@R67NZnjz`wwv8uCj~nGH68E?y_-r*ff#z^pFL4%Aln*d&*Xc zIO`=__mV-u&Unj4z0tbkEt~T};o~d2;)|c^^_7Jm$CUizGH*W=;eN9DDA~gga<`*o zQPKGEtY}$FoD8-+yc#ESiN}-^@v{6B+2Q-SnpD}}-il_dYJUL{?gcMQtvVU9ZGLY*fm!>tqnaiaJ?sgA7i2ut7G|gdbmOl5Mrhp#FHb z$visnSf@K=Q{6J%1KdWpthh%8RlU7OR?vsQ#y(j|zYIp=)_z&vAf_w~%EGV8;1VQX zmE~T=W7S-hMGVUhYH{hqvf&Z@_{xZEc?>hVjLV|OF$gK+vKAs>S0QOq(l-1k1da$g zFc`+5&~kf8zwBv%)I!-ni$%k=qUUP zyr)Byzak1I-nYatxA0s_Zi)MdShyulTE>*xWwFN!iij0)5fK9`;vFLVR>l5nY~K+V z?4an|5yv`9K;$_~{9Gk?=0AoX!YGBkp46{#le6Tws|2tA)8wr1{C-K4NR;d$DfB?Z zfQMwB2v1K*t|z8+c}je|P{epivWe*Mk}MK&$4fHhO^9%QP=mi2vkE`Sh#!8?*#mx z=Ouv`kd<*kQcuLl1xa`UrsO9`R*CRWlq4o%N_C=SoQTCliF*<|hdUbQa4l65kcRow z(Qc1+?o$#SdIf1K zdn&{U@7M6p;*7*=7PDQLm6Q4Wf(i~dFbCQf3gkZeZwLph%_3J!yLlUyoNs3wzIQ9t{1c_ye9a^dqW;Hc(UYoCMy(zvc}TNi`mA;L{J>L<_Tk>rEFUS3PokYtI6n56 zstpqByrr2wg!*G}zIpB;{?b%`JanVKbdreM{?efnm~#7sbo3;Ojg!)-02GA*(itMw z0;J1|?kIlj8|RQ4EA5Z{md{;^le)y? z-Hxh7Vyr{z-bJXIcMPi?QnxO`WcB6okav#~0?gohq>(+O=snT~B6@qI z&V3~J&vq7^wT^~3J_&jE!QTr5(yjr_J2xPW9z>BdDD}RkI+t>W{Kj>z8Cj-50q?ViLeHzuW7*U2G&wv+hHI^{Vf z&AhIDEVvWI&*Pu!8L8V1{CxNgsrNiR#QZRP9%7*?&*;1~V1X24L7GTJ_JVYBkz|(5 zd^2y-lC*aT^G+;D7l^pMBu!i1HLv%IG-n0#R;);yi5OUso><#8Z`+!5XASfEtxM0W zqd2!N?b-N7-XD-Ng4Y5!rDr!WOVXzF+9qb1-IV%lNnyAZ$uKr>{&?4kf10+WF58&p z#J05bHpRt2x_X}5x24{9kazly^!go&VR`P>!OUW;2ED@GawC=Li`h*5oS&JL4ERg#t zIIbEq-A&f)Mh?f?#p@xTg#sPx?8-@*cK~{!0kRAtiUVZPfmnj{K-tA0T$;!Ul642+ zvcq_gtn>`7tF)bwMTB8WYM87m9K}?)%ryeVsR&sV5!n&4aw1wHWV1wUM97XuVxI6w zSt=2Qk+Pa7OzDo2-Halqt^Mq99Gts)`F(?BC1*(aWi%#g=jIh7YmUQ0s^awoZM%4G z+vjA97iG{NcqYjPlkqT%$+El@T>TLpE{Jo+Yx@`>ibOXPWZ4(-81)xr3l}l3=ng|@{i4aG6RYjtU#j?xA z7{tdITPtpjQR>sdcCZ^9t$&4FRN+56)w@U z-gqu>U3IY#@MpPRR^328%=%=tzN)=ZHr$9uxX~!P)KjeU;LBSB}?xn zLDeDu#us_-oq=DEtf&V|py~`EVj9wnbtuk8c9viv@o76e7B6is!eZ@;X# zpB(WhTHo--`enU?GA*s$j@N%x7CuaRhoks0@;TKEI(JBRc33?MYOSkoL^d=+Ji2m+ zEk?C==shYcAH}k?j>>M0kw!%-B0i{jv6(&6q>ozgK@GlHcL_E ze;i!iyEhheqly25$24yEs0P@t|2KQYOFjNWpe(3Cdp=x(UzIb($6>y}{N-)ReO1mL zhf$Bu%?7T3*C33n=r_4u1nMtLbV-T7vS2ThQIAi~1G11e>tLf@@(rV30=E1Y6s?G3 z??F(Hk8T09KR?Wx4<1d-EXaFVbwK^#x0G!7GZqf&@ySC#X3yI0J<`;?fbdcXc}D*! zP&;3y`3{jX5+`Yjr06Y8mx@wwwIAn#cQ+4{|x2kWwF=lsE1tjcUxgMO(73=VT(xesPt2y`bAK3VIO_e%{(Nl zzhdzWkOjPNV#UG*(H;hHt1IbrVmWj8)Da$UkgTe97>+N2EZ`EFL2riN@HPi(cq=7m{DM9EryigDcVT3B8HsF_90%0g4od#y z-tYaQ$B)LpfGprW2>50x{(_=IF;M^1MahTmeY2GOx*{(cZo=Y>KQn-FejBJMy72Sk zFbEDl&)zqo9>2`qKtA&P-W@;uqz2i{FcYv-M=9F$lIrD1;_=ZbfYumNG^?Eze4z%b z-3_4X7*q1&5wzMdk54YdLLX8U`rmyk3i@~QGXH}Bj<=!k!h3x`dI(pqd2I+6so>xK z9+j1q8Tsk$B*2>5QncYCs_y|2k6-R_K=0W{!*79*ZB?HI=A*x6+vzQ1xD-WcwD?OVz|vFEI{SGeFjO*;n%#nwa1h2t^JL0rf|(Q1a`h z^cpgcPhJADMq|+=o5BX}NEQP%?^Q~E_qVK5q8^{T4rGl9hvpay-)tb?^D6;r+5e;D zVKIB%ka~Rb&TeJaB;%%cIIh$Jb?kK(=OETaQ;$!+4`$68(ar8Iam|Ux=LQJk z;%^2(c|CynlPp@^$~%lpJw7)OxJRDgHxtb&2fy4wD#p`*&49rZE3^15Rxzl@M<)YX zz^@U&57d+WH*$gcWeFvBZm>dAk5A4AvVdtn+-Z`T-Pb^Uu91>kpSgRdi5{O^1!Mt} zb4&OUDBKCb7N{Z3lssro%gj6^tIr8qfvnMKXvW#t9Piph4iP}T*+R)r-@S(=o_d*a zp4$gx0pG?jh0T|+GOqx&sFjixI1niLxicValeJJzz z=pjH0n4H7b<>W5*M?lT&qU4BeR%q(+!!ZhE0pp+*G!^XkuK@McUP^Y3Wz~*)eDXAq z1@v^L7G|WU`x8)qZlF(^O2(w>Zj*R?@&b^L6!Kf4=8yv0s*`K@JYawKBt_esvmusx ze6%qvAZkpZHOa7bJ?ZNH2-F}$N-n*v>N<$WC))t|-W2-VXSwi$LF7&Ivw*F#q3CnZ zscx`{hiLW2^4hLw&DH|n@3z9$(g4`cU!dq0Kcc-7^Z2Fy0MSBzyTgKRvGWhW-v4Wg zuC-&G2le=9S3vXne$67o8WkzB9xyllOt~L8v5u5_>Rg;byJ3+H_pTjqyGi;x(O>jM z2{4twK6>~8+6%S16jxv8aCR%AuA53 zjUQ369;d3&v@_)0s-$R!S+hQyz;|J>d3OL)7C^ZR@G{eVP+geEFL5e{Sz{>FM8lT_ z$QFmjfPMZHMbF*)vHGD=KH3A&0;Z#u@D)NFX1@e#1S7w$#bzDUQzzrx z;3Sau?2=4jYKXmP95DC)gqHaA-_SraPo0YuIsmu=TDKW&`G~R50jfws$vt+4rpWiQ9nPmU2rHiDlcfKkOE7O0QNDS57k_0QDf zlg|r_GnAR^jd}#A5C4jh4epj1JtV6JZ>$@MKo;^$1y&QW=l>p1XJ4S?;CovckxfW> zJ%6^aXy7&qmOx$ts_}0r+4)V{0-1+pR<9dZfGl9r2;&jiPsR$U7k@{|helMrDDn8@ zQXmVMokNt#H_$SG`qVp={NigY&eY?RD}gNJD}-jIrsS6jWPr_gr07pxVU3V_h*n<> z92OQ1SkNVnuoS5J3QA6CS5-UW@yV0I!eL}=Lbktr1gI~(PstyYF*5b|5ipOF+Hw5heFlvr9-lK6xI<0y;ZmXoL75Ar+{ven!dOd8(Bp;_=C=Ko-#P!=@ot zxG4W8puYMAC1>5+Gz2{)t5;}z@+}}5&{L8%`9A^G`b$cF{@!=I(c_cv6Gn!;8^{k` z{|cy|enrXle`6gq_4s5RAPZ?Kup0?>{eJ`M&A(Cdb9$;SiFkanfiN;`%1D+OSAhEQ zzbN_Ky-gX>L$Z2Hc}N)9#GL+|@&5w#-2YLs`+u_e2KD%5{*ExRg&}OM2GK|c>N75s z{OTWAXGc9g`FlVXP&e?$*>I7=45(6f77eu@XJd6kJsLj*vc@8Z<_sF9L313QHUS>TK_4sAB*saW(GiWn&GKxC<2&ncElsx_#o!Bvt zU*>0ljDrfyke>L1*1vnf0Ctc!G=%E$I{^EpQTWkJR`ICEhrb5!lY39jEnu%e?Ct`A z`raim^|PvGNIX9IBVlB?3nH_AH=qt?QL^cQ zyLUn8@yVYFBb%8Sl6OzWfEtoZ$Dt2-NRgp=7hwh}jjS z9-n+1$QpAy&1k^J=l~WuxC8ZY2_<*l`w>6%_~bx=Wj3X67<>n)+i=5Gd?xgC0Z zat4qE^!_Fm^ye0qfEwRQ$xr--g@by0az2pv?l<7~GRS`0NdUdjPQl|ntIf*a%+-Y|=7CH-5opVASIW zdIr#YUqN`)g4`ir0;oMK=3tq>GGi;4)Z>?V4$CZH0StaVi_AxV57_+=Q1qcN`_w<*4qyz^Y~_=Jai-PCS3sNI7f>-_!0wCj}QJ( z4gBvGeN16ufK!fHz&>hA(a-g=+Ce=&`eQZpw?F(ag&R`>)!^BCALgn_BY2me(N z*aQ}fvBV_+ee8K!;^*IHy(sng;LiksVb?wK6yXN|b!Onwd%N!OpPFKA{z4Gg3Ra*o z6kY&r`6Vs!C)Zi`Og(;yzZ3*EWo!N20R8^2DA+Js6=U)ofDitgATT_ez!%FLo&u&12xk1lBiGj}QKrATSJ{hLd~0 z*rpmz@Z$ZSATaLXjyK)^1JHB^-u^iSGml?l7eQc{z>qFK2cUNt*t?&_n0kD$+b&?u z4$jEP6dnMH91hqY7QF(0aV(jBkalp)`wX3nTi<{T+b5`fD1BjJH^=pdKH5To4#0m~{CF zpcfhVk$da=s^uf~>gF#94A17tT3QA`t$ssG{8b>kfuJ70#3u!TVS7)~@;HE=WZ)O4 zXegM+2L}oQ!|%YEkM8WS`(jqgD4~_&d?-AH8ZQ2l?%|Ivufccx3Dfeg}t#2mOL#}Ft z75mL7AzVu%6Y}E(uK;u3E0i0v%Bman_}pk=AvQKQ#mA!#hk$DO2TD$iWG#exd~zHm z@4d8R1&e4nzke3E+l>824ZD2QDi)mV|nIaH=3MyxvVh zkqyv04E%09Yu1{-JB3v)T@V=W-0@|N``$S$y6;^Y3PZI!cWm>#7+(UgkeVPtp;K_2I719km>Dfx{kRof;WpIi!L zjRjE6F5lD=e~}q}wFsy|UsCe(cOUf=k58@wvVfKir6RTNEKtAu6(yI-RHGE}_~beu z@7=QDdq1QB9tG&9f2Uxv9RpKO9sB~clLi25++AyS`tTeHr-%-J11k4VN)ElZt38=M zsx=fOw*y&YEm4zf4$sxF(%Av^*WQdgPRqLxPt4Obty)<;VwW{5eW? z{$JMZQ;&ZQe*k2SHEhjD!#st|G?IY&a1slLoQ8vWeDY6(mDvPugdrN=1L|jal$5B!^*nW3?e zkz1<=db{!8h+wS$^V=am{LzHgf98usAHqfjGg;ONIo7a;K|_vpP@Xkx;!u%i9hYwn z+XB?(Tl<<|3+m~y(xI;75e|9!9(rS(dkHGIF^uim=49<9N8>)S;5H&}Ny zSi@JdCmO8d8c}36TKhC%p13CK3(a_}E6vuUt(dabYQ5Elc>>z4+uJc^w%t0p14VU* z^-Ut&I;|tSFi&-t^}sdjgAa2jhpgkLtPeiKxy)Ek&tNg)X01KuP{iJ_E}O?g%r01m zE#aqjmaKzrp;dFsI%pYFT9>V-iSS;r9$mp>`K($`uA(@zW*xSUqJ7=EXaj}&ruFzH z0wcDp1GZ7*ZCg*?wuYS;PT#Ti*ugxhJJx5NIS}Q}T(Ap@bQjLm6-Bfww?ag?8#m_0 z!N*U!b5rgpPJ3`SJTOmyC+F{lDcN3JoHu8%kL&T~F8N@}oDWy#i+QGfITt?^7yP(Q zBF_19nf@G{PLn?uaRRL?C%BN492BhdBsUR&DPDoxb|B`7I>n_0VM<>R*Bgu?_%v*! z!RcyoUZGrW7^X~yaXn{Ic!qN~!%@UWaOsfl=372BI z#5l}69LIUYa}ejKcrM@^2OBGtp5rPmV4mp<+(-g`$}^GMNyN-?7rERdv}TjI{A5g- zO6FFH@J`__q+pr*Q@FG=j7EJL7n_cGveUWv4E$722A6UfQ_3!LiJ6!(l*y%L5nvX# znvGU+4%eHDDc*V9oje34=X0Kgm~y3%b1%X?kwx4r5yy+U^b$;IFX0x5a4F^H$~f3O z_;fkfUyh&hui$DcP`Fld4V751-b&813O|)t#U)kaDNj^$6E!H#)p9$vc*@Cj+>JWq zgw=DS^_V%Zfy-;a^2{`FXBtryHNtKZC?cA;_9hhTO+J%R>*~Nu)qp0ZS+Nqw zQ7rXyUIQf00JkuJp9&s?tzl7|zRLAoL(6@L+aAWF=Z{7deNbYK|M8 zL+kPlZvF;x0&jAuH&L|S>F{Njob6>zu#V>Frizs>*xvPt4-CpGUmymO1 ziK`=GV~O*>g(;=CxTaf}XXO?bu#94LnY*xpVrqr+U&TB{tK8NqUdos?*yaaC<2qNn z#ld#V$+x-U+jy*<+g!&T6qk3nwjC4~o#oTcau9c%<%upRhFs*4ZYY}EHY9lBed#VcaRpk!R$} zA%gAP04AslGhzM$sr!=5d*&rV#BB@cH(}* zS`*Fk6(Z7FU;6ul)j z>6JEcEh;N*oU3f0ik_;n8LGmRoLZZ;P8*p2#CF*%^&s#}uTACvT4e(^aYHt+H&WGz zP2M2ehQ6?V~;Xcbo4xz%GzSiM~X5v~n(S&f*o&}f&~Vh5)@(_-h@h9afS?rJ-V z+wFGqohb6U?5ewwGu&;L*Mq{j*KVg5Ki=GDm)VbEx!aNoPL81%7_)PqM5}1h&T9%q)|B1q6k2W5cInsgpjWTkP0gZJJZE>}28yj4 zc8xbtT%Na^n@3T!U^la92bZaH$?nt|ekyCtZf%Wl*6l(zP)uytd2L~yye+%59Tby0 zcKOcsklD+{-qqb6QbyeEFL`0gac}z}ZxpFM_Wr&orhM&h`q@JpZ1cCTIAIUKkdyW$ zC+*?r$pQ8rfhZ~i?VV5A!{t78+P>v9<~bW;KNW&jK&bs}l>Nc`xx8rmjyU_rU{V@y zpLE&&pdOc!X}_IkuX}*Im~Wp~Xn*hkH&kdJS&AuZrS{(C$Z0OO_ozVOTWKFwiNKLc z`+{NngO76AqxRdQ_E764$Ly=e?P1fr$#MG|lXyB8rtHh6@mS;2_I2Jb9Mt75`n+)b z_zQ4|>&IV+_J0A2+T;I1Y2OR`pW~VaUT7J7;RkS0I^LPYYmR2jVO8=9Rr#ip`n#DIktj;c|x;eXfuk|X2#+B4T9Jag7MSF~@UbX!VUbo|r&R)r8~bEFQgX&hg?+OsT)= z=(~u=y0qvxw1_F;OO6doC{EmRyt?5C(Qw{$EZD@tpV@M3+d^?^+i`vyIi0s11Mi@i zyW?24;|M*#$c|&4^Ly~|<1X)wxu8gLeXrg1Jt&5|+k0bfm=fpyUYf^yaL`$g_s)8u z==6H;PJ+`9ZMoV+r^!So$g`E`RFZ_EEy-y)$q7Cln(S1cg5qY1Q(!8J`c$U@BAU{i z+|n^+BHbx61I0#$Q&}bow=AdVEEH{7PS=S@$#&|_MsjwJQ&$d(;#{ZgTog@tPFr~> zO7fk&ub^nV;uKwg;!c56S)mgY^-PgdO_37>A*I-lQ5~spa6g#C(*UL~Ol{+<+ zqll?+>a4({CsaBORHC?4<+N3WR$`4)Up=PuG&t2YqKIm8>T5zPx7jJM1yioJIHk9u z@N9D$YC}=j?zGZ@c|tm!+Bz{MtINry8^z6Tr{o?dsD~51PC3I)&w=HOAM zJEJHrk2y7tVP>y!r&AM{(lg-{H;E}5lTOo9DAK2$#-~Z1>rPi@P^`{4&CR3mUvTPK zKry@E)VkyZ^GxqsPFHSWircbN$TEt_Wv8+Y6fv7ly;~?EwwPQ-e(BC7^d z#%mN?L}b@0x@$2ds!owphr+F1ky1}YgCeN`g=MPZ9#sRc!CtHQYr z#Ymf?xE)1(ha$KWg-4g-bT^8=ZiPz^5j~32y(qeS73)Nt?^87OVTyCVqNE?iO26X5 z0E&SDg~uR@zCp#st0>N2Q}kU!kvODi8bWbqSm8N>B6dWPHHu<;RM9ntB5GW5dmP23 z3B}+93ZF?u)+CClNk#4yij^rv{xpi^X+`{X6ie3?B{L{|XBBC)C~nRwQsz*2-B48A zK;d>%k#ZBo@=ZnLJc{{wMa}|>(~F9^MHC%Niojba+?N%d%P6W>6z;1iT-Ov?Ybc7> z6;tcP+E85DM6tE0h}}YQeM=FzjiPs3aq%_^*E@>y&Pos^&PpE_6iqJ5ZdVi=uF7dQ z6xr^|O?MRO9?A+&6eFHWUoRA6Udj}26oEdpa_dq zCdHwsic_Y>qnM9Z#+*YjaZVX>9!1}IWyA#(Ef0yQTfQD%);_noz1_VHH{1>PG427{fP2t@?SbKe2L^FRhGD>S{|8%^n&N)z2&RHUrs6;VIVie`yS{f`o4;I%OzmMr7MO~53RNh(nB|0 zdH&q+l019=?C?>|iSN%UKQ%82{OJgg9K8Hl`bv`X_UFMH$zt%&?l847ME;zQP{tVj zb2t7cuIe{_{8^WgfSWuS32}7-Zo1VZ^lK?orAye;C141(KEYxji5n91<^=5gfjMEs z!o`+^poMNSTNCE2l<`{=$}=f*n3-^1m4L(Ts!cGqP>1s^3BFdU$!<$nZ=;&J_5^o3 z$zn%BQzwa~D`BsTWUD)&sfWbVlhDvhqUlSR>mw=ePuS@v85~G>9w6BmOn4b2DH}=% z43X>&CwPZRRz?y`qa=@`2@B&SO%n-clL>g%o0v+NoTmAd&m?5c^K#}BZWc*emJ&K_ zR9v~7khwwZzSArkZf!w7`I3+wi0@`spsmQ1obZUL}Cd`?=)6% zJfS~M@)S>~_#oN)Na#~0LSB@Kl`4{XRpK*Cc1Ge%24%b%i8X4HZFOS3hQy&sT-K5l z=@OT8Bqn`gx1Qu#pV(p`xi=)18A&FMiM=M0Y;)p?IT7<2vLu?b5^+DB$xRHG(M@CJ ziSOlflf5EwsVWf{UJ9!d_iIU7>k|9wsm9un7-%3FZ%iC&A_+AmHa3%(TM`#rNG4hn zXWB_>Iub3NByXLGn_bj%Yj>ivn{Vn#-0C6e>`nCdl3e#CzW0%A^e5i+lXMRxP7WsG zoX;6bd>l^vM~QTMBynz(Zt5RPv`$dwc_MLZl6o$iO5B{Ho0_H*UDG6sGl`)Ymf6JP zxkQ{Bw)w=;1IYiP`TYnt0-9oTTm}ar}ei?ISTunFO&ZlO9-#R7qnh$^=wNxfvwu8A(2t26fV_ zhB71CB%MA9yRocKx-w8^)|m8cO2TH&o0HDXlxeXfc`Z~kZcVDrq>Mi^DJO^IJ|}4< zmuvEp9`loMvgH&c)fQ7GUYz7BrB;h&N&fOA>_%}#Qgs#G6s$_>swH`&L*ACk`&D)P0f?6FC=v>k<{9fCRa(O){<1~ zB#-M!eH$c&n@L?;B>L^7!yW3mY&U6Uk21OYNmWNA*5f3{G0EgflJ|^c^E|26N%G=M zdblDPzfO9;CRw~m3f@vbo35mzJIYkuCk;Q4=pU2D9!Ua^NnKAQuBW8TXOe;Eq=J0C2?gYZ|9O!N%|X-3mZw)P07(_lIfP@k`5AIM{;WyNk(__R5yvWC;704q`Noyu9xJX zFS)v(q+lR9e~`p8n7lPaGBTX}Izmg{9Zen_r;KJId252CW-?hbMe~`QN>)vibWA5N zPSZ`H>EzrQl9QQa%Ph(1Z1Nk+`do6^JZ1dz$-N6C%EjclMUv8`T|K{wdAbdzxHvMwzp-WYamzd2;3j$>~LMiG$?XkzDH}aXXW%FG;+Y$%j`Y z{nyEnYm&*EWZw-*w=22kjwEuIT>O}fyZO^&^6?X8s@=(D&m_&S$?*u?v>8oqk5fkb zkzB4!!9IJGDaHB}T=35@q|_QxaMPF}<-$leby`#6R>~A)ri^E$p!rr-N>O$SR`Hmf za+i~WN1L_06kR^mbmgby7my4Tq^Jw2W~DG?r-(B8;*^$RlKJA4h7yucNy=g=NxU?r zpezNiqgKmOqRlC|GP%-{;^|HK`iIofm(tcxHI{*tg8`DB!4$&~O~W;mGB->^c!yKM zW0ZLuPkEn8!3CVt>6F+EWsYW3Eb}zOkNFh+VhUbMxE52?OVm&2Qp)r)HCNeFjB6=) zj@w;JdDx&<@%X=xq`&4tbpR#d~f>$!Fhbitu z>SyUF#dkza2|Bu9>vca}wG%Da;?W0xs2S0wuD zl+J4s^-YTVjwZi)pHlQlnb*e@{S(RIQ;OS7vhkcU>!GolyeS4BWk!7|*?y9&K+0Ai z1+U(1FDVDFB+j>#y&%bSC}k~@@^8347EMvAQvW8Ti>lO^HWka6)urz1NuKqodSfb9 z+F(rGGNz)#3RCK`i6q~gx@=CxN^>o#OBNE1HTBF&H<>e2dooD^nW^PjB$rvK#%z-H z?9>3ubWZAR4rNwzQ$xAb{4OswKc6I=pE^=RgPs(nYKy7HQ=D2^LQ-0qx=>0|U6y)T zL1L~Q|ZE9UT$w__cSOZD0A+@BD#M79X(?n9xoO<3&velA$ z-$Jt1nmXS`^3c`ki;>V>K-C# z9ZsDZAu)`m`bJ5f$5MBuNM@!}Yi39yGpT#CB)+-S(gl*9#nj71lGdfvqa_ww>gh7c zs691%g`{&OwPZCFhx>Xpb$5d@Lz}7V+ayIhsTF%9y?d#ueVTLce(LKHN$qiJ=LyN> zNovt4$;WBx*%?XMdFstMN&ZFZ;01~6BGu?1S#YElIjO@tXX@r9Ny$}e?-hyXDz)jF zi?375Z%8~hspq$J;FevfaTkf}E_LLdr12p&^gwd|n7Z(kiqmh@of>dcX7@Q&@1f?~ zo>aY;G6&w&79UB4KXo)f#qO8XtyhxUw^Un@ZVCib??N<<&2XwILUJ5Q{b0$BrcOsG z4sBlRR%4KiB;Np+*FteFNqY?g&vNOY~T)mD=8R#{0K zNn@LAp`FIsX_rlRuyn}0og{`X*q z$Szpkdt{ltlxgjijj$Z|%AQ#Y`ea>wbkk~|?7EL;*wQa68KA9u8jxiVQpPtZTN&cX z56ebJWjO9dW3u=dWh%yH%QH0R`x)8hEJ@XzY<_`ibc?c=MauLo$?VHi++~+7tWaiT zRraw)a=I?d+8}w|kX39_&G4qIaEmgYEtzYFQ6b zjKqE>n>Z)YU&z`VBs!;T;gY2IN;Z2%V!f92Uz4bAWWzTk<+rjS7fHdLZ1Rr8crTl} zC&_=1O+1ifKFTH^X;AZ%Z1#yVC2pDDO>*)qYxdAhm0sDEmt@!{i~30He%Y&^Y8C^s z@mI=N-ed=FBuznCX^3tLgk;T{wBLW1K5No+hBWM0zaj0(kcOH(W7@ef4K*LeG?yt2 z$9>+M7BEw$!;&^>A-T^?>&hbO%}xttlelxz`f^E(d1UE^`bg{e zAUXO-Yf*lKTq?iqYrg&dMOvu+Hmd!Go)5I&8gwLn-M4BJiP!XP()n-2L^C^>C z@J(4nnbV?gxy6)Gm3-@}`bOVNss0w&|MvBNkiHyzGab@RQ-|O7SfYpDOh+_m&(XKp zqi>ku#K|}J3DxACew#Zbc|QGCc}8M8`{rY5JpZoW#Ywty@jZ0?9ebB^^L@zk{eSs;snYv>-%B@@ z`@TngG@m~I_k|#dEBL)EL~;`Po)e>zg zD7R21V)@Z)rA$`lkFu;Ec)SQ@{g}_Dn;LR{oafL@les@u^XR7f{2%&4%B&auC@P|w z-J&14#gths{!v^)vR3lrq?9DT?1!bCWU2gzse+1UD}GE>(G25NKl-XEQ(N<6X8*_6 zf0bq){FpqX;^^Uz#^WD&5wLymbMoXT{#)4M)z9_opSY>@=I8XyPqd2N{LH;2S-t&v z#Zu(@+3BK;%k?wPa(?&o^^P*@_djp$Nh%+H4m^-}AAaf|Nv0ov9;8G27anv_@uWEw5ISC^hn84M|)hFVvDeY2_LniCrhZWNFgN zr}UK38srrQk}HEe$}(h>Zx|_KHOU)HBo`)mkfq-&Uo}%E%OY>Gklb42ah5@=eBH`7 zWy+f}NnSJM)+~~pEcqi#N49(+n=+X>^2QtzXO29~GLtJm%B4(wo_suyB$6l3%_rH) zm*2B=708zgC{tA^A1WlV6v^w0Nc=@|Q!y78%kNn_OXQ0slqoNj_m`4b%j6AZBp+q+ zqH>bka(SF(v_igJL7AdTc~>Qgu}WT3MG~%(=TwtiSIc88(>3zL8p;&Z$~$UFytQ&e z9m#T?+{sc^FCVI>%zM4Opn>GBL9T2h*=UrzSh||zOHGt1Y?gO6le{#`EiEMW7WpMh zWvhI!l`^4Ld3GC#qfH)SS!?|klFTj2Pgq8lh;)(54U&fqdB!Hm+NS)5rFTni z-=a*_wtQ%t#JVGI*dg)m$PK$B^Skm>mexJ_>>gzd`||32634zg#L{;lUpb&m{-M16 zki>H+*B_Bg9mx+^3XkQT$CU9O%S|UFGbi#R7VD|J;gm9tQ+bG`_e^d-qm1@kUU5$1 zIhX4%xaLA0Vi|DA*Bq2lJLP3gl6|NAnWgMf-gn8xm+}zH=#_l?iZT_~@_}oT=(RlW zhGgwVe#269EAP6c%)_lb!$mUTlJBu(-^rWrDD!kD*W7cfd-)AZ&x3sVfihW-@}@@; z_oH09xrHtiGUjIgN^d|SQbOhxKLCP3H^6C)D zNk|@GX${L~!<2as%L^hT2NAi4r7J35igK%%ygEj56O+HQOuoza-zn1_m*;)(O&{_P zRXScCTxO)Ns?+gI{jN^e>hSB6(q>)yke+TTHKf-YN$ke-6LUH)bxm8+OMqhe%Kgn@_`pf`{dN6%{ zkVH9@UN=mm-wvk_j*x^$(kn;lroGYhcb3_)^wx387$?%rlO&PJ^ykI&|BN^Aw)DYO zn#S;2x_y&o*s+!F-KMp#?xaucQpT~HKD$qIt~^MO9#C=TVS4Wg^)q~$ZgP-Vo#}5* z65UmL!!^m^O?ue_N%>>?>?4W)F@5uiWZIqH`b^?`PCxLHJiVmvy^?glrO&>RT)m}h zgCw27bU%wVl-?Agj6IZ|9VTfGr`uT`!s$&B%FIX7l~Iz0X!M@9Mw!)EdgeQ~ zdQZ2rJiVv4#VNB8PrqPMeWXu)Q0Dq0y-WEEVpIN#vXrQPO{gei$@o>E{)JPbTm4I; zC8^Q=vg=5mbiWo1Bo4!`Arr}_>6g(=(q#TsX#ItwGim)5vi`yz=4Af*$oz%vEzA0~ zo&5`6QH(wF2`wQ7a4@ z1&TK{iU3QiR&k51en(=#tjOZvr*wRl9Zbjoo1>zFe{=g6&A&eg)$Eo zMW&Uc&8k>uxwR^cnUp!qQh4$dILCVO6>|kNsJT$lRjv4EiS(vgQPx27>1Z&%=AQ)jzkyPb-I?Fw6`0&ih%Iu&bUim!iwkFts-lRnst({b;UT# z@w&pxqTNtbZ_qS)Hx%kEswv%4jI!))DZ(td+lu~ex@mJ;5!|NY)*Z#|4rMZS6-~P& zQ@aWWOJrA3u}7JnJ;er#dry(SPnphr#qj}6?CC&}c}V?K9V%v6&JGpXM^w{rq!>LW z**sPhozil0&lIXVI+V3{iky4OwBIX+AE>$GK@sv$CeN!V_EDzOr*N@k_!U!r%3Syr zH35?GfTH__iZ@>rQ?HcSe^qq6(OAoGiiRM`R8UbCA{huN^kI_9uwsM76;>QYXrG@V z3U8G9F~t;pACy`BP#Bd;fgWptd9705O4b!ntK;k_@Pxq14SJoL$@#CislmaujMoAo^3DDc|A*}O)j7)GFn3!totbpt4FW?cbVTRyWu^ixY)F&YBR zj)0ir8q!91Hj}w>m9JTzQ zpaUoku?_$;;m>A3B+9iVF{OAzV42zPN^ya}Xkow>XMF&6KUibHy-Gy|h76UM)UX}{ zqdL|tpxwke2XvWP?LgehTAHa6w+Qs0%2EkKwu%OB0M2t*4Y?}Ofk44L@bIbnJe3F+ zaY0V8N*p0@FAM_PrL0~+UBLxqfVq;j9XLavvk1^v!`W59TFco!AW+X*+Mp7LjVe0E zA3%AlicXC|Afw~60O;sp-37G0tmVMar(OYVeVm;KYWrDdfPn$lE#PgCwP;8s`iEIp zf&OvUZQx*%^#d54V%-C*GprMUVV<=LXj))h1Qr%qp8@|8Yl%%Ie0J8%6_v0dun#xD z@fz<#45(h`>@aY#$!gqEiD3k4w}Gk?)&XGTf}7m}0}jsa1DDsVF~EPr1;w{2VR3P` z4k)=}9RoJ+S>r&{^XIVuoL=5)y$^>Qfq{*FmAFSh^#N=u0(uNsURj%fk2luVAa*Cr z+6i1mST#{70?o8BoG|aKk3dzNbqHuzWzgAY10o32)@EdgQ4Q-pu%}~<0NZ-j2Owx< z%{FC-V+5LM%o!pli?t2t&1O9YN^@9;fbBficVN0GgHEnjV623*55RjVYj0VG$g73o zI~9Pgp0guBS0k$vXlrIY1MHo=iU45mVf6t6{TXx@IRT~yIC}sDKDA&lLzqT*4t0QK zlsjty?h&{LWQ=8qaRhp}08YlaAPn41u<9l=#47@e&zZ^)aRjt@Izv>=u#N+*v#c9{ z&c@mTC|6j^fWB4MEg-(h+Pak?7Is-5ft5YhJ7DOD)eY3UFm)jv0ow04I}3Q9c)mt= zhRE>piYox6j|(P%+*i(a0;V8m8-SiLXIFsbC}-~h)jMl7VE*8K+ki)vnoby9hFUbL z)wJSkU`xZQ*Q$jBfvi%e7Ct@KmKoII(4?lrtum{HK9jWtIL~F(<*7v*0?k%{kpeXx zfFod`Ow9)Xm@nsoN8qTERa2!F-fGsY8nu{hWOV_p&8!Q+VhgJe(6q7E1Flasx2wfP z2WM5CYGEE^?FOz!Sk>Q4g=GRtUG{ijVDZ0JbplQ2tZTrogZIn_*e^MI16*IT#(?Hq);VC^#p(e%?pWu6y?a(aaP-Lf z3amV{-T*-_Yqn1i9-2@6$8ajl% zz}}~Nfk_=_!@!K5^%$r%u#NzmxvURBMxKUFt}@`M5Lt;dt4JeW5qKoXFV={iN)4SF zrYem%M$maytr1rU+)Xt#8sV?yY<`_av^KD=0{%wUye5qpZf5lYqb;l_fUA`UE^fml z5$N|4Fm`da6L{@qE$!2Ybp#6BfO&wY(+>2Eu&x7^F%;lKSwK69EPfsY@J?&Q|AdE% z8I72q(+IpDbOX-|+$?KRBf>U~z+1umWsO)~|@QGWDU3mjiUg)|6UUvW0$S|er=*xx5$=8mW11CH;x z;1w8tVBG^+9$6OvjhnRtSbb)F0D3*FD}e7)&0dY@M_~K*fpI^Nb`IRVuqt0QqU((d zR)IhWSs}HAHDWNrSqE?$vG@;eHUX@uv@~@O(43*AAr=6~r@jNlYR>imtDpJ; zjA^-90En4bhs|1XhCmMu7Ohx8K)pb9rk0M|C~%ymrN^@%u#?RNA)qXmbr|T#W3>b8 z`K&%*s!&TO_$gp0;%o!3^{H>bP8k$eGrI*|YFUfww8B)+1-(GLfwihp zD;^OTqNqtL?hw$7X04b<-~;s|psj_oo<6Nu8{}2=4rxW{2xp&xzHy$JenKmBQz#J9 zePC#Yb!%QLx+Znv_y0|rKcy4nOFG(hrA;Tat2*&N3TZd+v8fY(l}L-WbmAC+ImCd` zJsq9kd%(y6dcY+OzZxk8L&@a+iU>AYfSD?Sm zNCWQxXZ=Qj52+gmjG}weNM}^vj8Uj((HZ^Z0D72XT?3xxx!>FcBi_I9bc&XZVqu;8 z)ovI?*(U1)aJh@l@W(EDMp3)ZJzN9%hpaci`Vp(?*eDK9SaVN}Vhn*vPM%{G2&~xY zL=Ts&8-VqSbpp^|vvvbd&#ajqqi789+9rYN7w%X2Y83W-llbdDNNWmA!iB&Px5Fs>P`7io8F)fq*R35Uv4%ir zk3f4T7pw!eev`l#XPm&v0`xD^mPL~&v~jIz*(BQR7#LTsfwmPBJt}9fnuHqxJzO)1 zfpxC^0BSe5-&sJj$=MFz{J|vt<9BHU_;}=kswa~udFFyqz>UBVSss(vL16LiUX!@> znFPM=Gvhaj0|c^6=rc&X{NJJTV=-cCTI24X3;C2?ZLRvRx77YtrFb0&`&`cuj1N19qI>wDa*(MJ$4V-Or*05t12fN(N zx@Q(M`#j$#KzqnTya1agsFg@FPR(Kzfi1ZJ^3S*jJ8*Wv>H~@#Trdb&ove;a3~|M3 zy*7)+TOMK#h~BZ5-hS0F&D+<`K{vpzN7-0jTowXg0w8%3A)0!xH2n z#zQ!;5zd|gV=<_ZX1$w*ro@09~#n~uudc!@G+*(8cfq}d3EMoAUbq`p1un1hR zu70!#+nYuF?F&8^vxu$`7wiJNaqhS5!y+~jI9Rnxs~F9&l9sEj;v9j+Ycy6|e6i9p zj{v=awGOy9TLpgCCk&V}tu%*DAev>RRTO4hMNctjPk`P!tH5Uvd%$!(_qz|&HL{Ka z&rLk=e6v-Qw^(UQ4uP3g?ja0Jc31^ITJi(IULK;g&x)6TR@&5dKsjR-|AwE@0cK~p z-*dn^$Ne4vv-7M~3sw`o()+$udR3m{qA7C66qn(bimVj0csApw)xm9 zMoxH$%u}oAJ7YZrs;{7UFAW55IeYeiIXrT+5uoFlvzI_qO^*07f6vyt51Ce%HO$% zMd0yMYvVb>i9lyfA34IYZWF&Z|98^z4VxH3V7N8l{ZrdEZK7z4v;JM1SlwfN26X$Z zXTa;Ho*&r6z>$s4lXKwx+(xItz=ci39X2|iD^8o}yygPcjZIwL+GrA1mrdC3Sl@w6 zH|r!&;^W#rK=Z=70L;DF=uFE9+Qe<1o%*fLw~LGdJ57BF&$@fBe0)$!EuPR?gP> z?II`e*)Q<%sd+DU@%+kb>v}^i0zJ$H?V>2cs*2jhbd0t6-7d1SSLlv<4_Nb7X#3iM zyH7ReuZSxIdYCR)5itaGuW&`U5zvjI74cNU8ZBKBLlrCZJW^A+B0dm!(RyCBBHF9D z-~{NaVQr~h5xP1atrfUKpfg?liWosaOB+_iBLe!-v?31sR_I~Z*1sZ32Ulp5Fy(8YN&@a-R%pKv(hDxMkIXhy;3H^8cjr)#hRqxWX-Dvr)I7MJOFF^G0 zKzyyhqxjK*a9qRxll0^1KomV6(0uxU$(tkbRfSg>w?{&`cp|?3pVBPbi5O9yiLd`R zzEpQ6TJoTOhdb?=I4eG*b_*qEVzmR=-=ue)XZT3!Tzvhnq!T&k;w|@_mT%8H7iIb9 zG>Z{nq!^07f+#r`#Z?aR_5Z`KGCG8@+CiOF0RaS>S!*1kvX*rosH)?F8KA$O^%Qt) zU^O&4#C{WNQL{t1TUg)Q(OC!g(AVh@AAPK~{SMJMzy~f=;x}Q3@FAe3afet&&;kE& zi1!R9omA^;r?}BMDZ8w93cJZk{T7;?Vm8}J{c3ZZVgW&;0rh#TFThj2lkO!s1x|5Z z=%hQrV3AX_m$J?S=VeauMS`#KImJK)H`@V})!eKGsH$U)0b7kIkVt!*oFcOoigN?F zZ|6C5bvQ+!m$Q9+PEmO86o2~%=>l+xz|_kgoT48Aoq2YOZ3MI~>=f0iOL}WJ1_TQ( z#XtQn4HjLBS))t*{*0g10}o6t+8!TZGP|fS#*9wbu3luKkTyXaox1~hga ztqwRqV1xTsUBc~fiGTV-+Uj(P_De4C0NN{77w~qCeuZ@O#)S)u+$`7S5}td`o<6vQ z{*kkrz`zFv{%2{f@=g?3?!+H|Ck+C+>^qv|I?$SPM+4sjZ~0JMpDwx+t0i}|4|hNm zfr9bUJ5gGDM`uhAU~Raghlpc9)y@TeK-tCp9st!nD8MBcV7{08ZS1=fnS*!YpCr;t zU~8C%C>XgDy$Fn^8%1`8JFA(+99HkdzyC#Ax^^eD>s;UiZZ^2Uun9%r^os%yXHVi^ zcJVIl{7J-vPvYx8N^`qu`6w4HV_N=^i%@Ear2;RDoOE6}jmp=yI`JTvxfpmw%MDSG&ang6=OhZjoQ> zrh%7$%{uNO1{~FM4NX zO}Xh+`4Lbxjb`}4C}3uW=U|z|GFRN<->}!f%sLNo50q}BRw4}owFjuh548ZwBkrLB zxFyA_tz)<7IpNWcfXP!{g%h|x<81M{TQoY+FP=djiY_ zp!j|Zu=I{*f05?Jz2Z&jqe&L3e4@zUqmyd}ILh|X{WuEr=lf_=kAT@CAI;1KxEp+Q z$->;|6Pe9ET6_o4(&3|lSAgwKG{gH+;JllAhyf+NTssQH`dIh+ePUvO3r>L;0;`A& z`b71RkDgrmfz?l49rlTEgIgL?*b|{FG1Vr@6B_z&OJ_>;WSSsFg@_7JVYT zMxmcx z#ncq}MM=G1{P7P`eS=@b8aaE|%o9-Vw+;PXfYm z7NBKLpCjuG(B;pn%Yewb3eY*}1>)DNo|}NUxkWR4t<@C}V+ahKeHRcb2;7G{?=gq> zfWQx!yMWd>&tV0a{$M=?{0I!3uY3`=2uv~#lxSb*e%udeb)2mPp3E;avkc3N=trR0 zHn3CpBEEi=J^@vwFLZ+U0pThX;G%x@i>RsR+Hv3ofg#KdPz2_i+4v$VT96e|P1}p; zZs&qiz~1#jmp^O!Uc{jPMf~l5#gDq9vlnhQ2bgrP)I%-s_^B%WtEe+@b{v>Av2Ft; z)>nFdn*t6pUuk!OfVu?*5@`jXY2(@!;I{LXwp!cuiZ8Wr_7G^8;2!#bmDyK%xHUIbL7toK!K!dm@CYa0hj zYFL+mvbs0A^H$WqiOL4_fDazq&=~@?_3dvWr-S>Q1r9n{&0TNe)%GU-{U4=et8c=F zKyCion;6*S9vpybn>7L~@4wL@>^gW8S;ueU%Wu*KU<83?4%ZvrI+T9Tpot>;Vz+Km;b_ek-KGs{n-^*Ij7Zi&Ftmi=9Fl#TcJQAcWDH;umjxp8` zplpKG2WY2Qmw}UM*5;X@7@cM9n+u8+1ZEZl4D+l5fc;aQfN3#ECt@pbfk5r(Qcx7x zSpC5Ma*+17)*i$~a#j!EUFCx5wV)VTXH{hELE$-L^`B#Z9jrQMP&l80^hj%R2ZiyOvwJ|N zhbL+F2E_ydQ#bm8!i9iN`LRp{v_F93hJbdzKoQvL%2y1GfM&l1#To)yAH*sUI3MOi zL7@t>o&dEGF1Q1-4I%2R0a!7HsM$5}U<%RV8_XfGia=Il35hiX9>h%6km$-p0sb2b zV94UyDq!$aHv!kDnzKV9ki!L~xginH`_%l9m@MEPo&j$W&*7;!B$`TD4}juIRvU0w z&8n?IGX!RK3@nav_7TV%$51GYbF^@o2QxeA271np4y&Q_a z$^fz}S-n7I6&GYzhlQ;%OmB2Yny~n0C|-%RgvA8{cfIP?uu!&#={)NNZV?!*zB4Sg z5YXDLFy6&O@mpWOWH0w?>I(}W0@Io74~x(M54=7Y79GQ!wT^^E6oG>G(XiMZR(D%U2Zh-zr)<M3iSlDEk7es3X*Gl_nx?5m<4#HX?d; ztj|D}o(md)g-^WzECwz(1f-z;s$lBH|bUZ7PK#Xp&_SVJqi;l@;g=fzb*pBf^Qm z5J8}|3blBN4P;kyfeq-Z!;0};4dA{W`+(^*L_}jFYY1>RvD%v>Vx}cRAMc$2H?7=5 z94K$+Ia~uRU7Ym+AKg4~drw5f5SZk8FV@z_`U>>+vwDG!0dAH(7!i{r5qjNMKN=Ay z2sHDJMMU#B>*_>ATp*D3Pez1#nssIt2f&6N@ViJrWSRGD*&Y!Gt0=%db}b^#5!jN7 z^@#8wu*{YXWD&>~ZAL@@fgT38BH|i>AzHU1qGyM*A)s=P`#lD#4v>}L=P0r3M_f>Q z91+VGID~jz?ZDza5xP#e?TrYN@3S+&;^*lc14RMOUIJ||tnWZY5S`)42Uv@6ztz!* zP{p`l5vY3SP2B)q5SV0FJc7%!QJT6Rh-#v=;(TpXRO+I1PJ`9YzIeQGec{p3?jf#>0>mtzj!a5FA23co- z>Jay<4oAfc0+XzaM8#P=O4l_;Kcb>IBSt&f2Q;W-G|45P!wAJkyg-$ibq*-AaIMlB z6Q-${_~Rd?j>VYRvc>35*0&rJK?L-`9uto%G5R1-wHgz<`!O2r5hy*1(H#1KnN#%e zoAeYgU2wJ+D0T2?JwU#bbp#l_WOV~qSFBUFF=4om(dC5)!0Cz6AvAkqV#ybyul)4; zWB9X?nE2N((kb9Agl2e&5{`+rDEDw5!`e*m^mT<1VA}jnEA|3$%R8NNUDkJD$z~k` z@^evuACLiZ^O4143D8)`1*5<<0y`N4+Kad|8<1OyESdrHW$$!h=^ZGqWE}?Ds<^Xb z;H-wTS+(f5j(b=Gx*Ol=@}nDwH^0*|ms;ON_7G}umj;ZZ@AL(NG2nXkoj!h0&Ap3D z1Qw*9N3%sPs9t&(yPGKZP3i$Qws^ilplzFLH-M8}WWV6|Y2U@_5eCNd1u*919$Y~0 zHP80|=(%Ox1TJ0NL+<^%SVUmpYryo#>J7gOeT20h82i+1;OSG%(Ra~|K(l2)6=SUf z0-tJre;2g~6wClepW2iW7ptbY_!~Yh0Rn|_I`Z2^adA@}7ynrzRn^3W3xQ_V+PJu` zgW^|s>f^$RKvvlh7qPB5?PPv;T5V&N!6&DK#G^YSiDtA@E}%vr<7dYqX5tI4@ybpvr>W{CIN>RiocokDJ2aE=qj-3 zXY~X70aiEA`od}hPG7k*?VD0^5>`s^Ze}*3luX8W4zIwpPDOJ#2ZjwQ>h~IGF{@~j zYe1KUvx~rWHrE<+RFZxKYPW!{e3b+%wgF28ob>@cMcl&{@LsNx;O%cig-Wts$pvm8 zvl@!uwg#R_@mW%hO43+|&V+OfsH*24=7CTnYj%@LGKN6yP_s(%)TWZ)j2dlMNwPY) zU;rrVL-sGyS)jO|v%SFatV;6x-$|8oDv4u(d-wplmRQe$8yo98;8{j9oYi)fWEDXN z3pidy0j^R3zBMi=SXW6Nx4A&Iqmt-%S-Sw$0oQf|x+Ctl6WBR{N~B?6;f!mYz}p2B z7hD}GN&6-1CZN1QE#7(pDi=3v0gCQXfGd%J^ND+i0<9j_Nubxu1#Lc+WFCQyx&re3 zT<{3EGczQA{I}BWtPIIQb_Ok|I447*&dZSC8E35^LsHzDA^Gdy<5$EpBy&R<5`0jRKIpFuNg1WuM%qrmL}`u!>$JIs*uoFI$W8o=rq zs}t~EU=DaI=g5%MInf#B3*_H&!62Y>vGxNecU&6>n(tZHfQkp!GEasiguoDe-VDhu z0{!;+G9(32D873J^r_UO_dvZ`O`}CLYKh9Amf(-icLAdnir>8jnsZp!fTLWs1P=5dJ%-5+UxMbi0PU?}x+sOvCq_&BN7z3=$YPyrzft^+^$ZJze z&e~aHKwUrA&I6AFYFb6^AO;>`^#RM{T>Al3Omgiopqb+AIxs%XdIr4Buolf?I*Y7% zOKORCm#4n6r(4D$G3?BUqbKBf;aOR;7^?t2MOM1HimSL$v{5!l0o!oEtTgd^586 zD{!EqR3rKF_tF_)t_lTsoeHQMG!lH=x(=9|G_*TyzEFVw}EyiH(LQVFS+&wa9?w_ z@CMCpc@7Ui*&XXRF!`vVyXh66^6-2cfqp+!BHahf0p8zkVCI#legc@^I6DYT1bH+k zFcjBF@L}FH(4^GTVX*@@DppN~R^rxZX_>iNt)$L~EFP7C2q|6)o3s*Lo>qd3_3gk@ zA=g@pw36jwt>jOSr&yZ<`bGK< z*_&h75l^CPE%r)Rf zr<36Aq)D%nv?5Tu4@??Zy}*o7M|&0o^d`;@0wq?~UcivU+6`=cY6K|ELl!UHfy;bW ze}PW2S*)YSzJd~+7 z;P_KRz}B#i9#*1&a}u5XCVdBvX1KEe&@{`zooIM4m zj-hxk2RhF=y9SiFc=2wa=z;YK2s}dZQRkCRQuEB&Il${<-S+Dw_W|xK3fNz{vrAwv z$odLAePF&{rADP*GOW_m;?IB%jh+^?46N$)bS&P1E(7ZZ&}f9>Lqd~YQf$`KVVMNX zRz2OFI)R%^F8Ba8vXI4B_zLxs%Ti>&;D^ukl7@0Fm;>f3xZoaWuI2)Ljb2hw%LU^= zZ?j&4i$$A2K`Yk|12b)U3I4S0upOgyu#R@>C39U|(A=$;wDdzI(((blq;rt7jYE3L z{x~mlYC^$J?jd*Gsw&xY;hSeaQL>#Ew|AkM)uV1V&Sy=p}_`+}Qw7cFx&hpxVh< z@1UxoeQzI}MV* z{wHbEr9onN!0t$-gMj@JQy0=Zp#6z!=Yc>7ia(zT8zckooLvKqTB8Ktbl3&rIwS35 zf!-+DL|}*z@L({~POch_k{2`UjKwH2}xOM<|{nW8+qa=(#563x1$xtrW zHs={7>U>ro;3;6;C^Sk+idg%B@e*z}T56Q6mLZG3^DH+?Zkvn}eD^@tY?NHKacxt( zQIg-mwKG7V*GQ*EO`lQnhQO&&-j7-Y7L+ky{Qrr2@8HI_>&_FnPodrNS{jW#_SjyF zZcB2D4$@XlZB5y;Cc5R_C0#R9a@A;NwrZ-@>lw5CWKa8v1PFBRt^{Tz5+n$MnE*io z1i_qh&N=6tbIy6c=YTD>4J`t!xP=bn3h_ZRTP4?hrMx>qZ{^b4{B;HZzi zx_+&g8PL*^>jDTH($Wc07T_A@fR$0L(2ntFP9SU&6NR641{~8oL=B*x;eZ4nV~M*} z0QD=7xP=9{f?=YJt6E`MW0?=^tz$H7)j-7tcN+rcb~x_|Ftp3dwgcSnu}s+4irfR1 zok0E(76=CrpzN5vZNQvI9s
    |F!8&sZ)46Xz^1fTRnS8-V7LWhW4N%SEOE4|nWM zxW@{BVS%&{Sc*rkw;FJ%bu_>Az=KB`f^{M?L`Mh57GNt=CvcH(EK4T_obckq-E5th zFVfLljXPkgSVyxHS%PkroGc4yuF}zJnFI2wb+j4v1C2Ety9lW3*n0|`_2_6G+Iw|k zqK`8a_v?gy0s+4u%K+9Vx!Wx;IKu&3z}YNk(9Y>Z8w^8C1Lk>_PM~msyA?0##P~Yu zmCCL*bRu&P5}yPC?FXJ@K=>)-C$cPH=Zw8E=Q^=*!Ls*KCl;?cneIj>rf*qB+#!QT zPtzBv)r%DvX6F`Y(dnt29iTzaat4StazHf@8_(VHfN~20r1&$xdeNGorF*p`T^NfL@%#Fj~r>UOd1c3x@P!69ySPjAS=@fuBQpyw!`-XoJAl1uBgO zF%)N@nandAM5x6;^J@bN5)1;LPDUmg#E#QIZ&N$74Wi3!pd;cg(3}g2_d~#BKFhEI zgSao`3@JqhkydP=`7HzLN?1me8bk>U-4=ntGI(*4Q*IE8FvLz)7=*JLQpk>hq*{(` z1WxN9ac!mEAgY_V+Yk`k%mG%w(Z(5Cfz)>P7Ik2VZZ4;^#~{MTAaUIYsG8tpqrlk| zCmWkKh`5|6@wKnuWid*m=0(wHq4`n5QWGU`7ibT#TpLB3a&jF4n&ADMOw$%6h9{!v zt!K<^l+d3?iC_Jy%zYOntdG$GA31aYb7~{)o2Nixu#px%9|#U%nFhp$8fn&@z$y&0 zehUnT8R^Ax2WSjuxe8QAusj47B3TA&jA9Cg*nJ>Y%XxEvHji8YZlc(m5N#BdFw`&u zsEsUbfI5by16cJ)W2{m1!VtR+w3%4$0NrsOFVJQ7NT4&Gz|d`Vz$i|JjI=u$ zhA|~DcsBs`D9bw_b=*kjFc}lr1EzQvxdcw9Sys##Mamq@HDGC;W#$4F2!>>-i`eX8 zIJ9*w8AZl22lN1iD_l-HaJ9yh59 zG;VM|GK$P&9-;zJpF!dSFJPf7M*Qvz*==`>nC_1uZ~j1xI2?+h%3_CO!~zTx6*Uqg z>L=KnI~60g7Z8hc#KjoVyuxw{h+2!G<3kp3y%|Htl7y`oVc6z?ao`MwWKBCUqWUO? zuAeOdy~o_`0Z2P#*$f<=afbAZ7}0;p8P0*?E3RQ5h`(WP`E88YzhfElfLL`bRkjoy zE9_yA^qFw1ScGALtP!!I8-^m60Fxn>PA&6+?kM(N07ua*6OFMVBbJkO1IcEV!$3^e`X@jxYW5pQ^1Di5qMNAfZCxKlDdxNuMMH38DG6;ma zJh8wq4BjQcoWtJyyjU>_L$Vv-DxambC{|p;FmPgVtca~<*#dOdagiIqaudsQprx6+ zEdd!VJj4RfRBIBS{4e;;dXw0zGtm&y^(J9!VA%+$8%;zWos zjz&udCSq7#0bOPe*ab`$maRZn63d*fYva3KKid4UU(xZIS302r1c#~mkzV34u7 zabhG71LKNpKFWcihLnOhFrri$XkHVmeUD_8Mx;VgZJLGoY=B18Q5$ zVyTV25$$Gi3PV6thgn!Uxv~b}9EQpUy3As>o8=y$9YzM+tODG^5MUX>z~d}aC(I&u z($fu?nqqki^i8uo1kz_&HUMD@EL}jmRTI{Kw>}MHH*SMmaRa!F<$(} zFUlr?l$dy$vsxfKHlE690kr0LT0;?*cwtL~7e6loG$yg^PmUKknelYBV+xqb;tZjV zcwuz0tO8bZI765_UTndz*=us+MO-Dk_#6kQs$y?1umi)c7g3FJ>bYA9VCjOyt_K*q zxiSYZ-OmArfp~28ER93)qG6QfJTN-Wd5?jOwRqZ6qu1j_*ain=0BbOma|7(|#nZ+W zy^qQc5rCH&Ao4O^;I2wLkaWcZ=Kz}?8Gel#V90O_Y~66)klT2X2*dPM0DT_043yq+ ztmz?MOaxnKCT{>oxP=C80~&M|+OuYXF@uF_I0e+vEUkb&#^PB+7Ev2#5#PkQCyqi2h!~p+R0jhI45^20NgGftsQ80!;ABEK$DAd@b(P2^~kI|i%2QL zz&ObPic2kY#xw}TS6Jw%Q4FNiVF-K?6EL-5V0`!pgtT+s3?QO|7c&b;?&KOuf!;12 z?G(80<#OzO7Ew9CatK%&WO)aK4|B2vpnQbO83nFK*=riJh*lVuB4N@ZE~a_3)ESG2 znq`>-tj%%2IncGh8Mc=!B5RccdVs`rmYqQI2FKO|bGtn2cR<$xy!hJO5$5caV|Rhe zGnTG%ECmcT*e(!o%|qwFq+1fiZ+u?X3dAOIKu&ssaN4+AA24lac>xq;CeX%p23%An zh+qAJtfdCY8WU*SSp|lg6NEQz$pZ#jc!*P=vO9rJw5EWEkp%HOpWx4MCy2AL1lppe z#}kBgf(NbuMy8Prmt=s>IgBQiT>y=X9Iyi9t#IC6U}6(qyaoW{yBvD}IFC5C3AnsS z5Wo95nfWq7G+lAtT_EX(C#nEQzUKwX19lz~Xp_4KHq?nEBZ3o!F%%MKHb824A}xG9 z5Ufq4S+@WqdX`&2Y7_^I0wJ-9v@V>0#sZ1ohXbM$IluuVW+c)))BsUgo><_*!2`!T z6GeFe4?F;<>k{b`g>+yQhP>CnXgw!81WFpXhAtqZokyzz3VK-103rPxkOBk`K;lIL z2p?qc9&j+ia$zM=Sk@D1gJ}Y`H&}*kCW@kc9&HTRIO4of$BCl)gykG?dx}_m+4c;{ z&UpyS732+P(B38r{T)jykoUmJhJegR9ym8RN#ukk(ZGX1X&B2+U|W|&vz`~7BvxYB zYluw}2QVzfBXDU>qA8h5NfM{&9FSy95@R-&n?PD2XD9$BN|I=8hLk3WUKr|q06NM! z!)i^EC~siz5OCDO88TXvL}MEVi~zNRoNNYY9^queK;H~|4}q;Y&Ja4EB% zl4x7kFDHp97#1jGB}weAA}{`2B+Yfb?zl_8cUM=qn`qoU8`O3QZRHixr0O zWZ||XQ-&TOEg_jU#9m-6k!5O9vZzUel*%T76nio)aWgQO$pM~Ob1S~*!G zVCiOWHPF$|as|j+LNc7z0T(d5G@F)_Md}KVRtqd|aOtaC$zp2mjn8M=?s?pK)an|%d=8Mr_=sg#tvT0)$SD0+{Xc%z)U~Oec*C{^J)fBpc9B_LNdHM z0h!GlTMMXL5rA{>cI55k*wC(2u@6Ju;O;h&+ zA#wc-$eG~S8lZZLGjzy`}#C`GiYi+w^nrfoU8|kYU6>kfwWF8rxe)gN}~-Xx;srQ!7x#p zo-|?TLpNNk2WAI&;9DTPEM0v0f0YeXq>H+mbei8u;I5XXu`V6=@1#=(H*f_*y<;uu z;0)9noi3;MhP92=Kn6)CBZ*s1|ThLtXSMA@w( zGLr++fE|*k!C@7;0xPY;B_OVlhbRVYMJ#K9q+;&Y1ZYb!Fm6W%=3po?xD2r{$YEfx zju*4B-YRYzIB!CuRRp)N%miv$S#AJ>ZCv^RP~6GhF5sk#GZb}OMM*y-ZXN})hq#71 zpmT)f{V3!l%Q>KM8p-gcc-AUh^C$<`K-R5de}iTGrd15@B33FpIYZ%6kG_2HR+DMu*tM7!2#}3~1GI zfLm`9{ZTfm>=f9IX88zA#@c97H-VFQmM)7;lqMno??sYrq9>JOkASr_mY2YqjfXe~ zwla8NYnDx9I60sbh|6Y~0}Qx0Z)mPfJm#_2k#7_61uRQ|t3pnuEwYIl7|Pi$u?b^2 z2b2Si6)dNKqAHGU1`ew^Hl_yk)*%2dp$!OqWh{rQGDKz_kJbQ~8+o)6AheAG%s^i|C))?k`!O&+ zo*2jwi!jt1J(wZ-VUP!ac{YPCG3NmDb3AbNQihmW;eazBW}Sy{1G_ME3){#Lb1=x@ z%?wcigX{nf_qYb#euh{$W_booopZn~aC6DtxGOB%HOn?2>7Hd7Q1HmHlfb;%P75Cz zY!})PI}Kq4s>4{$0s|2&w}Ig(JI&b&poz8fOLM$kG+8)c2B>q}1^$ZN2GEtu-gBU_ z1l_(MtE#k%#4ZHj7omZbJ|4KF-!5)p7&vsrE-boC@#Qbd=7COqCXKcaTo^JbAR;PL zY{MWm(V5~g1`_W&Vl#0%!?9`ROkql7Sq!Y&GifW)WM+zyEJ$3B0%jeYAR?E= z4~*up40dOVj9ivOKv5n`XMUy#ozA5DnC!sXd8WYEDB~|O#o#69-38Rw9GeX!+_JY6 zNVw;6$^pA3i@J3JA-XKyXn{mS7S+%Ij6`Koy;ned45S3t9J9o@nWZ^COGG6=Vmkxs zVdypsbSH8^RZ}SzxX$7*cvgitDGjM;GMfV^l+-Hf=UaG^uYmpkbE;TAZkaL`gjRXW6Z6#`It zwL_?z90K1QvjQV6oa_vU?R3xyMkO%a%iV5)ojwlG_d7)L5SQKpgpcsTX8`dNoVOI% zn1mPS)l&|!2*VPe082AGJ9mJ3o&$1#yk*WX4_vIVbgVl>+%8JTRbe1`k7G-LLl}~U z?K{NEg+t&khMxmlSL}_xMg|xH^fwOSe&EtOfYV2w)F`!6goQY1e$#-eP$#`~bOLLU zPVvbX@oURYVbVG&Lk*zTvCIY<^ei`lSp&-lVA{yZv@uR`V1g8~m^i1@JCp&3_sRj;V*h<1uoFXKXyQKpA9vPG66y|KsPzsoHIH113Db9*n zMwd8+p_*%`0frip7qi~x6zlCA@Cej*bHD&FIP9eRp!Wd%vXiE-061Ua8sb)+xG9yp zxqt(Y)NMFL#SVKXfUP~2cYyAIWhqc{gqg&34dCb)Ui=~K6Q{Up#Z`A;YdM?Ng<&OI?88uG$|{z4 zoxSCNeUrU4KIaw1h9PFYEaT&Oaa8YGxkuGroLper`OQh;tG+M9Tg-bFVyAQ0UyTm77mE8kz znJ&6vJRhiYaKJcFmyK@N&VcJu#C}DlD|3nX7D)WrV<4r~MJu2HsAz{2vIXF%lVxI; zORUWx_Sa<>K=v}^7iC?5b%l#;1Qyn~vIpR1lV#$TOJwZ0=ulAv)I1{DFUtCX+Ta|4 zzjV3`M218Dg3Ja)MCQ<9HUPICnW)JT%P`DCp*BZ!!*Km9O_w8jV33je92_-};h8KM zs88a&b3kZv4z0~xAR#4(UIT(tbHte~hmIwQ_8g&eA{JlA1I&3W=Sy?Mep0UZ^8YC- zO3uX*CYQ>|PRSL)R!F?Z0US2=4g!lAEXVD+BHY0;AJApz(o|Oht+~1MqE?%iD>V5W z-~_G44?12rX|Dm_1^(Rd< zLx^yp>aR<_(0KUV(@y`YxrqY4)Z>ks>G^XPwiV<)#p!5WeO>YmcZ|;E*5x8K zoImikds8DnXkB_9UzbRK;7zki4_>VpoF0_n4`$pB9X)Zm{~3WF63-HIhY$bItP1ZR zpxsF^YWCCAeE!cqJmV5|ZZB^7hEC@x;hWfwy|NF0e|9c+&kNo?L7V4$?FTFVK zY1Mh}xI>l>`M=v$D3@^zGiR2sq z-qY^+*Guw^@2fv{c!DUF{`-cf=^I|mZ~U3f^IY;R8H?Yi=e&!O@D9Yuu|2J8IzZImiFb%+D%={E8vVWg(A#Y2;X?z(LDPyrkZwu7&JbATzSOf&b#0#>;H#HkVr)EU;JD} zSO;#2+a`qWnYYbGmAjU(kA2ucelGgI;i=bmu;ww6j$;1+o1W`sj~ddm0=>jD^)rdu zCA@9og-+x9{F%s_cLshKlku@DW18!yw&2l_tWas;Q%7kUS2O> zNS@K8y$q3Pum{iryPnZPKEpQSjoi<$6@<{f{v2(Rmp3JD`wyP>C~TP;n+}y@kJCwB zdPyXo|Ng)G{?ntKDf_uX{{MLTb;-AH)xOVNH1_9Y_y>+})6PIk>y1M&>X-b1MDp!i z-XmOa6zZeBIUdp2wIz~g^bd}kc9=JW8!H2IFHyTCe_^v9NpMM3(CpLW=~agg@Hy<@ ze||-XuUP)_OHYo?3ZK(TADjt3Jr`bZQ*XecklIazOGuI#aeFg;*8=qE&my(a$HeKyN|BZ=SxDC-02hF?SnUg5^UON z`(;lI>F^Gpqz)gP5@&Y!9I_xUVo>uhdZeVX%csAK%E8t_kB`Tg8uvMw@c9JqMJIix z7JNSWvW)hfpB>|H+$V8@#;Bd}S(xBN6e1D-%JN_Tij_nXH|e9B^1*w8mMNdbDT=X9 z`y5WwlIdoAnr5i`?2J$FEP1T6K3y!eS|4Yl?{->wf=azgL zm#Oy4Wgqhj#f+`^XjW;=%vGOm7MrU+F>B<>U-Ri(qnNEVpNw@XuyNhzibcYP&*%nu zPBwhZn?EV}XVyjVz0cY`m+^Z%`p4VCShUP+lp(ceF?c=y%2SOu@v zWgRRe-rA@B;$L`jeS+ufnpYFrS9qiNsC^Zxe}!EwU;k>|@Ct9(by2S#qhH}ItVa?k@J#qUjaQ-Jg6o5`H}YGrCtH`d8RiJ{&bZ+RrZauksAk)@FFM#=;XMe$Db< z{`;r8Qlnl?M^Vgm)T`cT5-ZWK9$4@i{dg=>*(+BWm%_UnZzCVpqp|!|UIo>Q10Fp- z?l)HPs<4vVygY3mjc*TqJsa^F{ca;(=SPwlhW)WNQy19Zp z%N4H;)m-$Sgrjhpmk-Cd#D>=;4HQE!fp~n}cHQv0zLDF!i$1h{nCt1b*N<)7_Ou?n zEdJl7AUwLeUN`l>#>Il^{@2?BG;Z|Z>ysf83B#{%Mo6TOzV003{$6xk{i|=%Mzl+UW^3|tcfL;ea93KWFzPlOmUGzPR`0jKh35jUSvyR+a2~p6rXwIV#1sBGniB*g&f9Mw%~PkaX$3JL%L! z?+!m6>psP|Jk^)R`swlJ!@3$y^IcElw&y$;_51HU!%EWaz9V*Ds^d%l=6f{0%<{K? zL4;Lh`Cd7EaRD^N>AUTu1iEbBP8W$?m+x{8iPIe4)_h;wX}Xl}TUIKlTKe;HZyhkUibNa8NVFS@4G+f`%Cy??jc|O zFf|nn`%aFKxE=AePx%TVtDo{+oTiDqnfC2n@clA=h+)CEchMJ@)aDj_YnFHm!D$uV z{;4qt9yHg#rZX{^S;If%3QSI+rvWg;_2NTM^K&*`*PQc z@9hc?<@J-c58K@Rs&D(6XI1~bw&qRWrY+A#Y@C%)zU#NNJ>1>;8XhUQ@X>c8%nyI|Co0^pOXEjd7?$2$c;ey# zXpE2Q9@YBk^nUo}!iVkYqxJY0<(Dw!_sJj2B)`KIi7Ct1{*Nz2VHMNbT95Zjw@~`U z1i#WmKNMA!0yjXAB{kk)$sleek>L8Km^s8`^=ym#aW|KJ0_H(+ZSDnjm zi^a9eFWK#fNvd@FZMmr_B-d{)&+j=tj?D9GDI(8&kzYv}4bfia7gbKdh2?$`6_hZc z!tb(znqn*chO7OsIWAZGMR)l9#xt3t!_U-B!I|BDh8_~>J${|Nepn9&y?(JnlsS9I zFJ;&dNAT)lzuZxZX&Cie8>ObZQ9t__iRv-G8y5O;ztVB?^p5-GO^|4t@H?BJUXhc2 zRg>fyp7gU!k&yhl@ygq#^Y#ky_Tm-eSvwyck@qY8;;U#Ga;yA?swvCU85_=oJm*Ui z$xN-^c`e1H*ZK9;Q{JO`znf-1oI~ce_?@;=FK3(IR2#+IwfRMLP!lc{KDc>2yf=9z zwR~;)7v9p=fXA`M|3TxAV3XG0swGjZ^>1J?s`X!DaiR4$>!>ML=U>HQMCZTFLa+C? z>Zz$g??1xgOz*ETkSE>XU&Ug`;J?EnB+B0sMNMT<{>?0wqx?@<=%W1-qNzz|@n5!( zxU=}zCHQ0AOeXjbq>yJh#sAVq!kyu7&+^BT)@1n`9ONl<_#ZmRV|MyiJ4p;W{bO^f zdseRhLV^DmaLYrXe_bhw$x{EMdJ>iO{=E$(_8a_1Tl|q{zr}yEm4vpy^uHXM2Eh) z3ndXB_U0y%M2hB3w)PG7{Z8$hUL6H*>fY?=-yn0E;mxRlVs;E~vZKh;8ujKliagrr zHka0oFzd}&7Ik0CdZTlYNOru*c2IDKw1oId}lQY$r;w0_#c zVxjfZ0~S$jpANQB(@NW?rz{HEKdo;k&q({HD=Z}cl24I-^{Iy4yH7(OJ{9;p^5N6b z2P#JLLjAN1A6_QT(*CBy`Zv_{oO{voeQ0a4{mr=j<2Ib`c}@VZd?9bALf@j_TIk!B za1x8*Z%@MCq8x3++l0usID|?5s7WIJ*7C0Psh-r-w~1*K>P~wbo=zez{cQ=0&h)qI zEKbwkCRizp%ldZPN-+=Cx2ZM~1-7@#EP^xMx-uvx+5R@ePNLfWwu!~4{p}))Q~TS9 zOlnHVe4ELlBJ=Gci=)i9cP!$w-ezP`Onuhd9v0hKZ*v{w>2SWCaFV#oers~Q#afem z`_c8Z9O8SH0Ns-galb8bQ{bxm?LLdp+_yEkRPRLY+qgUuuDrJ^d6eTW?`>s1dHVC; zh82)VDR?`|Vz=OJRv~$+3g7Ot2rGJ9S45tXqPN;&5~;;+2a0K|jpDayB_zsA-tMuG z{Nab%KH5Ib^>3@|siVY;TWQ^X`6+Hz{dbS*zw@;H`S)c%vt7?=KXd6mL;4Tf^+(%8 zXW?gKg`ZJB&x1}KzW=1Fu0LzLrhe_L!OqK&vtG;!xU(5Ka0O7(SH9~ z$Ri2o<7chGKg7%9TJR5#f`5o$L&y)a!+wY+$?rW-YP{v-OGG#akhJFf&|3IIyevw7 z?dvwT<1gUi$H&W7=IQ6P5{$W@Nx4j7ebDVF}+u7fG$`KI~ zP!|$_aR)*I?m`2wke0B3@i6j8o~sf2b<3Oo;VHH}B_Je~LNZeWj#wn71?;7fN0S~f zlulwZJ)po!LgI7u)J-A`mLH$uiGU^N2gDWx;N3-gK|p6AiT%QW>#_hGQ*Gq|J>}H( ztUO@4io|VIKw1qowbTTh)=*7JwE=^*0l$PRJ#_)ybrkbZ7tql_;;JEFtC57IDPX>t zL~u*Mcq@sU)`0wW5|ix#l^rCOIs&RYN$ht99CVSeb_Y!NkcjFH7#<*@9t^Mzk?0!= z2puMoI~-6pLSk_wV0M&5(pbRS7zx98z{NOKm^cw|GC>~6x1YNuUS2jePXn!w52vt$ z`2lzN9P;o1uZRVS(6C+rt8n!pM^q9yl6K!I2Sx6%izMA_CJQ1F>?3BLgEe zBx*E)rlz!+^{x|X``q|j4vChXz%dr5 zJAvW5EI(zjohZLaq$XpM+?GV5EJ@zZVkSwx%i=Lf9+ON> zj%0ZSi{51U9El^?T+N|UFj zQBz5pyp_dNntYo@M7lg7od->qSFq?#m(Q@+PnSQiFk0m{E5#IBu_z4F>VF04-;)lVX~Uw%4BF)>5(?qL##!}8G)5_==^;4$izJSJZm zBhUSqd~}?|!MMC|g1UE2$cLuLb2KHl&yZ-Dk*Cd3Q~8{Hn#KN{+`dAdiWT|r3eDKs ziu{p&M?`+c$5j*n!9V+Z-M{e1p zrs_TU-5xb%?#t5;sHy!xUU*0oK5{6xoYK@)pUQ*JX?l~+<#`v>tL;L5cR{^UFXgdU z6kL2I&$*`Q?Y)+#+|%^d-^tscA1(ks3!$ zRdEWpneud)72WaFeJ5TqXCcqMMG>Az9($r9I*CMXlAZY8OA+d(CZ}7`mP?~=<|j+4+j)d>Z00UolZYp0ff) zVIg^X3l;T6TcoCr?qm z;ddKKnA@>KOHV*4p!LBFDIfbvWaC=Lf{ zONbg$j1E!4;~_=fFa-||D|Dme$sbi5jFKm2Oc6g$p2~5>ACnk4R!p8!%-N}8_mVuCD@E-!*K@5HzbCPOuUL4b z!fqZFMnI#W5O! z#tqbTVF)@h24QcCjS1S14Z?1&H3e;&gD{7o@j*itYC5z8g(p(4ti+(zMCuii6qJ}u zp33B)i)8Y|r3B@qlBXjzC^U^c8EHWs>Eu~U53*ay(_sxd${=C32QAr2gl7h&J4m!T zf?}K`3Y|g6xm0RWUQk3Kb$1j7X^LoZ@`{3*%7U=$Yh^)? z%c`KqItq5w2h}x@m~04&Z=|M@#-Jk>`lg`nCi0v&1(i0F7;X--v{9b2wjg~wd9vGs z20Li<-HxE_PHJlJ403hRpdDR7XWcX{=ANLco*-=!NMdy{sD6opXO@DlmMA!RIjDSv#+qCS zN?N6u($%2qb&45X4{F??iJIOB(r!^x=2pxCqJ)K4LDp;X)LjRi zU6aRj6BKz%9>;Ca>MeO5Z-WZ&N%YdDGd%P-sw;-IcW4N zhw{it9!<8gKASun*~%6dd3IgOf*kUUTVoX_6}3i*06GJgqp5LluM&j^UbJIJx(zx z$9-kj0R=A|C{qr}Q+lY}J|s{0k+SKCJab1%%Q1OMkCg|< z6d7?Z#r6Ejb%7}CFx-axV}`HuBqmtYvuAa4|=WazoFpu z8)f`06_$UiT)d^Gn_Ff39f_qorR$zzn(vjRk0kmYm6d8063(hs>me$5w4ti&Q1T>& zsp2EZQy!tph$K&Qq$*pZLgr45Dom?F!gQ_5tf!a)y(-l}F(n37N)$B}N2zqt)RY^o zT8~y?`_URztws_HM%8Hy#YD%dW@0JkB35-_qRgf^)j%9I9mc6<&E&Z=tLo#)Gaau| zCy+=@P;IjaNmMN-k>@5!)tyXv){|8$Db(vBMOBkZO_QmrfpikP>8e~SiFT`MG=s!` zhN{_4y;kh1x-9anW~nNjB&M9I&TMKr&Q?w2kSD^eip(QXoTqBZr>5n6RY)O?l~Jf# zDx{|CLRDumiKSwdyM$s|OH`I}64m9ZxM~%)y1Z)DKplzII#p*q1<%#1+8Q`vgX*M7 zh0k(hn^n!toTpi(ZJ{BuTU2W;(XZ&jtYQB!4`Dx#fc)zz*tcTk@E4%JEr zHHCGm`Z`IRcdEj=saJltD!7M4dXFlskD8o)sBokwtvyyQ)y~jE25D zW)Tzit|^>?55wPWMUc3Uc-I$6Vk`1px#k@bj%(f(Xy0L?dbRIj4Aec>@a{V59d_#2 z=yw()#kh^{@?uCd#k{+Up_s(jchO1jP?$66-Aq1-gZy`i1r(EA@NSO9alyODBJv~@ zz3XJLTJ)}`m^`>g(DQKVG%qx6jZTM~pK-J13vcfiFJ8P9FJ3&;Xf*a0cDo(7(88m! zJ=49QJ15bMhy9rjA9kRlM&}Cg)@WQ1FJ5@zxkjU=f9#qNFE#Fb(0F-y;eJvtjduv{ zR`mLR`S0m69bZ`c=<;z@lWMDpCS3A#mjN!ndOgJ^^}ieJrzxB5f0r;oB6HwfH4Dkh z@BfGI30(gBw@l!JKv+@0K3yJ-f z_u4jU%4>UH+fKb^+ut8_P-boCdvzBzC3U^8@8+iN_nSTB(e}P??W35LzW2-hh{YqMXmTC*}Om zZ$0c@RmKSqK>i0U6>l#}Wo57m%ZtNC$X zEj3AA6ngIWKmq>*pA5fx_KEOZz%A+wm(IWtq!|g9w!$FSfYecz9YFC|xD?aZ1&off zJOgs3Sk?g1s~lSh?87jh5o_Vn%l&ZrdFbSWaA_9|85RM{DaV!qcW3N1pF_gXO@9$C z?S-L+9iaJ=0}g@nYnHZ~aB0{b2e<&UI)b{D0-2$Z_?jfp5YFCFK&N4u4(#eUAVeP_ zEskREFtB8dpvrE6)L8bG17jwZnmBYbb3jUbgtX7XauujZh@hWd?FF_HIrbh%PG(sG zEZQOQrOeC-X_q5{7HAhRWJBTy0fBlq2TTIFc@a{qu5RE4hS<#f2&uj(LP|Rk5MRmx zwLn8T*RT#0RtfY|QhZPl`U=q;rq-89IT@sf^Gt0Lv>R8N>Ukc7^kD3$u^jE(ry^# z!FN4)AR6bx{2n1eqZ;if&6x#?Kd1U0KPI|em zqkYT1qm$0V=n(t-t0ynj-fGnK@xG9CrIT82IGaSYef4MN4tmjS$LrFKm<V?ZY-OnGz*^NQ?6H!(bn8n`7ls(({U^wog1`(!U>%d)Xf))sG@K zX4MN{kijRo8J}3b*8H02sr{ zgD`m40d1Zq7TBz08D14F4X$Nr1-ctp?gJx@ERTTkW|o)0bPFfD2P!()I|9^pu^b1Y zx}#}TI)HhPyad{NxZYJDvX^7ifW$sdRtC%taKH_4IT%eV#WaL^huLcb&R|#y!w6zw zn35|Xbd04HI2vbZnTVFgPO>ZqhNfAb0NFE~w;pJnWRO9m_$W>7M00kgGOQz#z~P%yJdz31_(n)M$+~@DiZav$qH^ z8dz2Wdr>UoqK(p{M5FYRFUVq(jM5z#^2Q_^rIo2HXMxOgmYqPQmE{DW%V6mM`s^$> zfZ0rzH$a1fYnTI?ve`QWq`BE!3-sl(_W-EPV>t)ps<1ZXN@xdgAsyJXC zn5$=b12i|WoB`6CSvCVxEi4~_{WeIcEUrC9TGGXG0;uTYfE6ICpJgXdGRblsXq@6@ zI|i1gV`$bjGnj`t4sZhr^DLWz&_$NHK+zJ%&I0)>>>UNn+bpYr!X1`VK>PvbS1RiQ zE>1BTek=1VMw)ca0aZZeB~NuN5PQeoa^S`zZTB(Ky9XZ4{um>*hQ!hussSvav9yjW zftW~^c|fv;We;$qXBlCLm8Ke5)&W(qEGL1oIF_@(Vm#-)2Q&%r;s=$1l@tyzrp8J) zU>NNYaArUX+-pYPZhm}lee`CCr1#G~|H)GcPDVccpPyc1!;D6$DUP@E44?;w<(dbI z%q*LLZI8SHG&pKu?cjH#q=zt+BH?%Y^vw)si(kg+58l~`|7ek0 zpT-+T+Y$^LTvTDKG^&UfCj-bVW?2awl(E#7$4cv97-SOI^T^nWSZN6i-fm#gBOie7 zO7<=T!&NM|0Ba4)8X&utWh3BdU|9|9qf|_^# zB;A3b;s}FDS_gw11GG^rtw5ef_5xELc?tAIbHFBW4MW9dqe<$7K{f)z9$6M^k_MYh zG_j>Xg_&heyh*wZgE!t{l5QrLXw_&EP0|4vygNWr63g&ple7#5Z*7W6s!!!1TGC9? zMHog)&ooI_VF*xXnWTd-c#nVv2g_}s*~#(%n9F8)59GR7b^xI{EVBWvn`J$apUbif z(BzruaFq^>!%*)&;Lc}nH=r$GZw9aq!vXIKC@tiGE4IGY5pV zn4}vp#HzbY(lHq1HPG74-Oho&9+o?Rsh0!VfPIf#?Keq}VAx6`2TW2k3^Es}^2n}1 z%nl6RUEl$RA>xLxX}}(I>!QgcRl^)p-%y{G}pdR4>`-Dk~-yotD z;G8r`Z(xwsGnfY$hA_{fNEqfa0m2Gcx`C)7 z4#)>Gi{ofYhJe)4IGTrI;0y+DTv;5>cj9PDjsaICcdG-^YS>#0g!aTq@!RXAKvFL< z;144LRl{*~X=4m9j&e5_U>ZYSoDcyQbI5?d`ZgaYO+NpezV{m2g1er&N=6tbB_Ghzuwb6 zZOibHS9<#Q>*qXst+iwAs@i*(6Ets;bW?QupJF#YQUj;q~v1a331zs1iW|v^` zd0obuj4Rc4gP3b+HK@Ip&V!N%w}RJKb=>hrt#6#2<1%pO7iU*@uz#GnBbfPwfH<=d z9A}r#12~9QZD35CaVDYM01s}Hl}$>CGhEc7bt*%xP`2BdZ1*{vCa zab|Ex*;7zBA?*M|lhO?kKP7d6>RI(R46^2=6TrEskxhV`6?L4n8fX00RFDJq*QKEw z)NV<;K>W6J2n_G4i$k!qC%pmwx6C|;ATW8S>=RggVKP2ievLERZ))KMqzrt@piqmC% z^v2`-n&Zt%XT1G9_68Jnsh|`1bxYI1rdxx1n2RBGaSqPs;|)(_Ok0RIc}vQ!fc<4@ z*h;(^Ttj)BD%e|BHhv@CEEA0E60B`Xy|?1cEkQPDJKlKhNRvUOTSq~`t`>C%@Y+{n z$zYY>Sp5jf4>Z{b=sA?GfYl?EC$k^3NC>(JIicNC))0qnkbEYc2CggBj)2+wc=Pj5 zj$4rUpvfA*N??Nd{hv7QK~PA7-REn7e^`QTHy1n;tP5v&g1I8lxQGOENU)UzMkbh$ zxCHxpkq1@@Hkdb%k(6ME(*&ctGfWy^g7KK`@HPIfFY;h#_9}E zGwQTWjDzGcX$yE5mljMojo+j+7fiYJ4%E#!?J}7M)vG8!;tl5Zoc5LV8f>39?P7le zxo4^!0&VBgG0<}*T?4+?PP^)J!1N8h@%RuBbtkO=j|9Et+&fM7gR}-r5e)qiY(Glx zL5f$Zeb3bo(!En{K@&LiL3#eRZ>m`#XzUFX2CASRL+EUGa zmnIA9PBkh0(gqMQC~XD(bLc0>0oYzvZ*eOOXCu{ai9;as66Hy{VDXAtevApcU8}e9 zn^fa1Al(Edh0-|?StP9hS8fe=rJ0OkWm|x= z#I2yET*FxgeGO^$yVFCE(?o%B41ls0)h>dnF6kJ^>XtTuzCP&@=o^skf~*ngAeb1F zUW3VT=^@ygmIlqFnK6RdJOHh;8qPHEoKrRyY|Lw9ufS_j1sR}k3;pD{2R%Eg_1aA{ zf&0>GP;np~2SZ2F9pHT;%>9H%j^n24bWq;5AX2oRn_5ozhb#A$(nWAwD~+s6H>LH`8BpFJ9Rtmc(q$0TBrOKvtUL7|A-;H#;$CiVoJ&oZO%nI-&ZjdF=fXz(aBdYcSc!-c_A<>A!CYkQXPPAfeFdqf zn&Ucfa-qgzE;CKal{*XG+!}Yy@+DX;=iu-T{ltwSnI_;twIv|tQSFw2E4PL}WtuL6 z)x8Qzo~0w8@&)C*1Vp|nTMG)`q?6#@Gs_M#!Yj)h5G>SS?<~{gBb^8HzFD^2YmgeK z+Ai?u*36(RlM<|K9k?gh3ll>qAZRxwG|MzZD7yl}oXXaMpbXmOM^S)Rma-Y(z^$R# zS!N(V%bqUofz%=u^n*T^bQk0oONT&wrL+$mRjb|bnk+L(u->jfPMf<0(AgzD0+rp; z3Gm|9^qwrU-K(sBUzQ0R)X@9D&XATv@NkxyB3L9hAb&*K35rJDU4WP|X$8m{mv({6 z3Dh`3CbLZQ49YWBKXMAhiUO?SPaaX$N?7Yua$OnIR~61#KhJ1K=8!4uk43Er%&kKCT%W z26+?GPH;=mLfT}u870^>?!nlUvWK8{S~>~>XH<|2=4O?>19@}Oe$c;w8pko{TT<-~ z$X-!F8#vvR#&2bt$UW7Tfo-c?D-O~Q*e1D}0@NL`vW#N}>|RSlZ?eq>!61EZvrV{P zj`{gd9JydAAjhuQClD8uW5-Yll7n;XL97PEhe#X2EkSRAp*e=1&aqkojtJU)1&3i$ zukajm9jSIhqjJnTK^J$RE`@?G97|v+RoSSt9P^l-WB2)(j2tse(C!u}$x>qrAT(Q= z3D$~p%8jiX4+#lVkVeRuEFB#tMN~qk78#iA~a0u+^*(Fj9?$MCF>~Xce>qXB^6viom}; z*YJxlr696Hwe?`Zt+$}RQ`uGE(>8>C58l#5pF9)qiyB7@*bR~f1m~HQ5O*zz4RtGcOOU1~=J8Qap6y}-3_6uP21RMo z36P#HZ3WkE&CAF$;hF9%=r7E(@10gbYD1pkXEFILAd}EU0lzl_)>`uHX5`tLXC?{s z7&Nu1;}vk$uEt_I@=R2xv>430^#(L{DLV(8-O>h--Xm=Ui@kaFVDkc8{mKr5)&c1T zh#is^fUQZX&s3h-Ay|@r(|KluKu^HMtTbVcd7GDRgW?70DCpjmE`#`ebzBBE2L|~QpSYI;h&h#(fqA#yfv7WeQ2~|-=IsWgoh#c8`YxF4lVcM^ zU#bNcSaK`Bd}L;?G}$>Azm{Hu(p$AK0Q~Nxc_8>+E#!llC)J*Th&N>`L2gjK;kkqZ zU^O`3E~vneeA645Z%-u-z;l$c$n#&47zn2gv^uW%SA9`l~XE^vmosRj|4}U(#3q^za*^#W6SyWBaRC& zyrSW3fvnAZ`#tU$xY|Xz?s6~Rgq~@#7O;D+rJi+>Z(=UhMLF>EEU;ZkuxCNJ)Y9TSJzyuVkg*=c_q-+B?A$U0m za}}63g2v*D3rs~RwcM@?W;+Y)3_XLne%1O9(D5K$@VW9(fk_@#Z8b<8m9~TNG3gzc znUG$9)me4%41!k+>=u;;5;m2s2CoF|CTb~F6vx% zylM3=bI|NEd^`3Gs@f>vQR85~T?KdGq66iepwngUyHpU3yGI5Q*nhF$1sS$k(Plcw?^E$%oM>O&p_6lv>hbeOB=woTSFgQW|FY$ z0ysU3t=54lw_brJFJ-4dkhin|EV}g; zke-0VAZaa_2$9}`p-|~7I1Hl;E=CD2HnkDOc7u5Y&ZuI$vdY0RLAwFb#iorw_drpM zbO40KN-MynTT|kSO?QG?H~@i3nu}C0NZ1xYQ?hgdq&TImATt%^acJP)s(k=Vv6)Mk zo`Hu9jW;Tj-Ux=CkyUK!vsEw!LUW`=V9c%OASzec8W5eQ*{lX-`D$SRoVhimpxBHO zbbJL$3Z;`Eyhyb*Ah%fAPS8`T>^7(^mo9_KDiw@_jB54P0!C`d@`eetHmG0$BsXcY zI?&jx>^ku7AZr{+V2EHiCm^y<*(&fntZe*9u~}YI7cU@hL)r~$x1|%Hcvm_Es`j*6 zCcx^xI`%mzHjjs7c}V0DGk>hwW6*P=E;c~$nKT!aT}UT^*OfF4)VOsHG~X$^0?Hmx zKJo&YPa66-SbbGC@Qnh`61&Nbg9h&sTe|?}1IT`IynwervK+*MO3ZGsYW+e=OnGF9 zeU%;oX;COoDgal}C3bs=jVUozvC?rc7^fCaKx(|S6T~D)%RqP%YOm-hF$qph)&c6% zqzfP;UA1FiJ+H(b5wC!cXQ}!9-{-}r)P#DKY99hE-qK~@N8Yo!bec!s0NQ#c{Lp^HGbpL6fj6IZ~Gu*QrTjVJgv#< zz}Somwt@E=*-wrXuw|9+)WFEPCc6RwThaxs^_Xnmf0Gy?d$O z1IzbO8u-NGdzOxZsu$@v2!E5-fGDprJF*fG>y7g8WN=`Ww*)?AX5Ux(466L3-QeD> z!Tx2Yji7cBL0_t<4n8Bu08u2JwvP!JbcW@ZRl zcmj1X(qXVgQ1AxQW2Lp=kYEhKakNWNuntn9oEs)Jh2u7G#1G!2aRtKbauu9ur%{HbFf%xst2nZE(f-EzCf)`RMOl+$rAa-i%f z7(7yT6XYIC$H4rly9F?GF1-f57b>^`1D8_&t8(*rEzP(oHwky;hLgQUFmg|pH$kB6 zNiFn&rsN7cvI|h=M2%w!Y^O>?(ke_?dWD^=3Y_JsHX^^mToO!{R8V0$id4G{HeAX+ zgOy??^Kf{TRG4c5jVi4$EoBvUi+Tp0m8x}uz-AR>g6l37M0V3|ud)ZAZbG^N0;Z*v zpm0VV_kyW|3j1}{E$};XHwG@3@gs=3Q9%<3ev-C=wHImdYlTViuC(Kw z09QWJT;EC)?_X)>xC^8NDccQ(f|b1ngQ3d$gjJf2aH(%ZrEx{7U#Q zyOd6Yk{js?xW3mI3Lh%X)3dtBc&X%enkua!Q08A{+nokm0abPkL4j2q#H1VGI99b0 zaaATa9_11Xu$-uDU{aMSCD;h|z(TV09weqqYr$5AYJD@SOb0>j0&rzXdqAO!-niui z%oi(r3i3*&-5{_`nhUzzx&vOSl})XwGA*^zWl&o$od;KqRrXLE*Hp!~w93|j+2tzx z(tHkr)|9OVdu|P0uQGiE+wUG2+El?7$ksGZU+gSCX_8^rTYD1yo=!U6UneRGaL)YQtl9)<9;FYCA!=OIid*-FgM; zij`deRVC61Fj6MsG-p!SM{8WY=%@?kxQ?NLD&i0Y>c<7fg= z1M00Ei zzEWe~T=}imnBFxFeHWCiOIN|mrZjPjL2j#sYVfin&DyOoDMxB-5R@IOb`V^jqFgC? zR%0p%mgEq)xKwTMRgLK+$ZmkpYiR~(cIyrZyHPe5jK45Q&Qrndt2&N*t1+zvE$oAG z&suc>a(rs-ybXhU|5`h5@d34_KM>`H5fBut+8huWUu&;$uL50(%5H#(^jiBl%rWT6 zt+iLUZh(q>6&!-F+FJ8RyiowoUTGtk>QliD*y~qsK?7vRYwhd&BRHQ?LG&zL%+=b} zatqQIrR^YnSsizR(RI}xgXJ^L&?}g`l^%h))H?HrKXbf-$@Dt=e$zLj&O{Z|*$b#D zzyrb3NiVE3`vkou6xEqN0zCnfC3SW|T?1E{bOW51(-@~d6?LYjQngcHy`2I+f$OL< za|G?)fbcHWx|JjTg6i$iBZKQrWe8dObMy74C|ub-;2$YX11T}}cD$9~DM2kH zC)S(NWMv0HPNuS5pgmjJWl&tE>ihGou z1T}rqVc^p*Ed=L7(y-xr(>76Wm-+&@np8Gws@|Lu3_WnV-VD!3PeA{i^a#`~O6S1h ziu49ttV+Yz>dh2E3%8(VQzP31>3f=?anQK0f=y6-Ae{ks$0~?AsW;68OML;9ol8eR z)V0(Fj&C$s;BCEGeI#ofo=^40`K)XMh<=rp0@s^#7Q}lt*pZEZAg>17MJY)3Yp^S} z15}47y9y3MRqGelU~a;dO^9eP=aI?=M>UvNg2tTD4JI~5S`7}8R2z}pV0KfK^>sFw zxibS5ZH?HGnin{Du>s$2J_rS3w-C^ z&2R{^wLJ|cX;{6Df~G0yGdP-;7A!CqtE!DzYcRv>>g^glZo9KP4JKeuS`7M5v~>1C z(3vzJcweia6l~w9UGLilzKv3L5Zt;o=8lp1HQJG7`Zt=sDCrScij&@gjdjz=m6W(i_b{R-;|0TVOn2dINF_)xs*cuV}Qdyw1u- zQ(U9$Ht1;~%T?E4wL_D=0cW2IYQXc5dP^T}H1h-_dj@68jpmErbnFA44He{qjV*N% zw2dYjYa1-nXCe3J3();^b~BANbkW^ zsq_V`R5aPyd;%?1YGDRMSF4~FT+}M-U)N-M8l|V;q*)r#LTx8%9ED)MTa$VBP|&M( z!}^+xU%zVe!0CWAXRyf(O)(c=I1WMPw6g8sj9`W$XPQjNtg_i4YED`Ks+XiwAZZ!p z?E^SoQ8sh6i4UyQLMwP#mnLn{*p{>y)a*%@LEeG87L*@rp^ku&3pI8LDzBvD;L)eq zF7-IyW-}7hYzMgwZeyfTvCU@H*=*k}zJRw>Wn0slO+}_An*xu;%I20doAVmgX4W>F zmIh@{z)iC>tEJflby4tzqX-=LD;qMfEe6AG-2vT?$}Rz~Cut(c z@@}zR^npMhX)(A6YOyOTGPuPghA3MOO2VaGVAHM7peaJxdEgZ(O$6=HDCaOBE>_tR zu;*64xE2$iq-+hyPL}qA1t%SIRa$Bbul_COC%@?k>OhClPY%zK7Bfz;2V8*kY1P() z6N0SoOpCcAn4$357PCCpV$Y)5(S$J8m&8m(&`^DyX>9WIG`7Ryqv2 z@1&<7;!)ZInqQ=cVD43V20}wxZO0`bH&ogUX2PXc;2=Wk6WMBt32KKxOro>`EV}gp zY$dsClUq$iigXP4WV&mCf0nciv=^Zq#K440*>mtz-fEX*Y(=Ztt8BG9Lu?fV1RY<1 zrv?>dHny69Cg~B#>Xf#FqAu08fSB%9yL=nLEkO&;o>mjkFD(U&t4#K#;}YbqE87L` z+?u%2YUT+hI|92~(xh!>a~I_dZ?Dy?9%_)GN3F*DRM{G^c_B@{Y&EYp8d=S4E6)a$ zRz0$Go}`mt`c>^lytSGgf|>X6Y%@N7ZMNeQ5FXTKvvuG$T-k_-Hd9VeFaxd%P+pG< z+qfIQ&Cc-{7%S6c=is_RwUL!=W`SU`doWxrJpuJK(h1N}?=AoV?QM1ixIk48?ee}G z?Dx?w_v`jE9D>H82dEvC=7Pi_b=(MU+!`_5W=_Ub5H#M#1qaf6u(BZy-eiyjjm2-Z z@!m<=1mboyLychjvCaHGKlT08X4aln;Qi8OqFz-{3idtQ?RfpY+D)HNyKQU_JP<6t zB;R&ZMo=&XPJ^Uz!R@9!Lmijh`;vIOY@a3!gWDR7Xg$wJfG zOGrRtkJ?+U-s8m0<9x-F`}S2-03u&=1aD)k4S{9ea1!k+p+k-wyk3 zJkGDf90V#G8q{IJ!#nJPa)HnYWh;Ppq%;GJ#G=M=2Fl9NPmWcv(AHso@ulMtWcHw+ z9NplqPmM+NcbG%& z-C;IvJM2kW=v{|-x@R)J*?#CS0p6W`raiRN&f5wI%Wu7Kd{C71&IX`Z>EeZI&*Aq%_qwg4}v# zdqG=+va2AqP1*@gx}*W!U8b-{+6~frrS-snNSX##MxJK9ZJ$ zfMa!01rkol8b<}VCfE=Q&brL=xoV3qSds*TbY0ThmGl)nT}w-DSWto8wxAmfhj!bc z?}PG8={Ts$q2QBa1=QxMb`#9xOOHTzg>(<})kz=0Q@u2;q1!kcrR^ZUNjeI4TBO0P z-KMl13C7?omM(819oEfq2gKbgoJ_LCU6d1gvgLUqHmJv>sfzHGZ#~vsd-D z0?Lk6FbjrH+>?RnQ@4WZGwA|&yg)gCTy~qWD`gMB?6vd)wBAUUK-R6a2?X3r)4-}* z10TB0U~rFJg@>Rftj8XAwn0%uk9|290Nzp3L@+?Gpbo)oj3#>qqjAcfgU|$N9@t9i zu}3bS8l?^Tpre>aia4IHYXiaF03P?y=7_joRrk>F2cY zg`)%&dZlCF zs!y8K-)rUuqz~X|T$2S)^qPBu6;M3c%gHp#&0h1pCTCFvBVb`k`UFB()j|U}IMigJ zN4;j3U}Uk!z2^Kx1<|Ly=7wN6sb{^W|6B!UAm&n90ao4Wb=7P9Zj`M7CvMHW?KRFP zWqUx+tMn8sdG^`fp247x^aiB)_SxP>z^z-e{Q699tg<`cGEueRNqwf(*=P5bb&!&# zY!67SkT!ycR%w1)pSdUKEvdcF>=S5MN1y2)mY#y@5p^*JikFmK01?~LN-(xBeEk@a3Q?_1CP=jF!UmQ2JN2xb_~a0(OdckGJU19AUZ%=1#W|-(INd@ zTq9isSz-Nlzi0+i;r;gV(>rh%(QiMQj*jd%=}{^e0U@!PtO1P2Nl(CGwzMFp-wfqR zgY)~jQ(n3b8VaR*przEE1r1fwRZw0lodiqu(l^lGsE#*5byL6L(YG@oxJ3n3Agoi` z1$w*t?V;@m9Q8;;dl^HYbPXg9qP*t?V?#{FLm$A}Xumz*@%Zkw?Cns`fh+ytX>eBD zkB%$VbL89)lY4tBa+kb*{^O78KmSj`cUJgi0r$Ume*WM84|xBrzyHnYJ-_*znZGs3 z{||`|W6Juwx)1&vfA~8K|3=;4{l9;+#iGE!T^n4Kp@-~!qyO3`*?o9u_C$7!Y2>L| z>_r|P|C#&YyF8m*|565Gj5klQV#D$HdtZO@{G9&LLxbmsW6Z%g)AOLbPrv#LJv7)p zWZgdRZ+tbzB=Za_z7F>I_J^t65AXfq`Tx`;QDghJ4}P{kt@|HA`)}YX#?)N%NHD%m z2EDf$$_2Q7MvbH7CC1En#@dr_k6(SGY3zSKJ}f=WH`e(3#oG1@Kon2G(yV%Vy30R4 zr1*p<@+^18YhLVw&h3MU|6O;PM+uMIIV0@E-+I13y4XE0zxBE1gvZzH-?^v%IS;$G z52ki}{@eOXyyx#~TDC(Q7q8?qkXm4ESF25s1R z`oqs{d8H*7FCIq2Sdzd#VOPPYU)xmP^@YkWtKJy!ixEbxGzIUpf5hlgwH}lFld_lZ>mCS}yql z4Q)wwkSm~aPz6IEex1oaIa-7N!%T(-NfT-PvidG zAId%+f^!d(%o2NmZRcwS@bPa?C+sim5*+wFzW(ONW1CG*Hf?OGKlz#sq2ANJjQmf3 zLfdxSOHIk9yIK3g3Akv{P7v9eY+9Lu&zwB|$wu}i8~*|AL(fCWCSh2;)_|Z)(c33SF(|o|4uQe&6niw<1Ch}wcC#)7 zbulP!{6KeNie1KQpf+8#6JRM9{lXEDhZ5A@f&F~7;8~Djb}A|O((we^>rg(g1D#DN z_Tab=GF#nUfR#S7UpnqU<$$u2;9xYx?oZxhDQpY0@U^29l)a+d0017|r0JecGaliz zpLF>~I?YZTj}iOI5ftw<{ly%OIDZ8ZC3?7+3p7+a?IkFSV4+soD{#`_wCzSUI*n%w zS>wnAldVoWZ~I`hL$xR1tXmq^LOsi&j|ITI zd3?uTKmN_H-^r&{nnV4*$&dcF?liMJ?d^xd;fJ4S7(R5GEgt`7&*Xl}@59*X?5=PB zZPlll-i9>omUcV;*k(Ns%vzsM(>(p`^WWajkHP{ojBiMWcG+*gVLFz@`yrz_g=Y(; zWoWs5_5JsM_5K??ANzGxWSC4II>f_)JifI*ne*YW*xbaUd|KVp|HH%g9)CQx3m!Ri z*G>)d^p7|u+Fkn}Fh=_?@-V~19qDg%Aor4CvN(SoocaBq*}s4MIgRVmOdfueY3DJr zI@2r?=sif`F*tT@{wzb&d{~}mIa#KkN2S=mezNU-_}kG^mbqKuZ}w1T$MxZF<2Bi4 zyf$0Ysm%{RD>CtrZ4y0m>~ya_IVQ|c_s@I$`mwF&8(aJS?_+x>X*p(t=M>mqm-#gX zb{YQSbKzz|jwvrxdmdl@-mm`ReS`cseatR*-0xFk=h9C9;U|OIymL()H{9C=_g(Q{ zes1-zVf%VNgI;URHGbS9Z`=9$r=Gv_{!>i0=6(M-%Hgiy!n_~)dT;6Dc$&iUO%J#0 z+IGI7OFN!#J{OL~6qvHu0z0pz2?Zvc+dS>2{;g^E@USbD_dfrG1NQ&$^>2Oh@c1c- zg^L2yeOX`|I{;@_njqr3z;qIPFt7!&}K`(F2Q8pVTC3>uF&p^{opaN z&@PR%q(YOLs%!;tHWb=tKlFj=W)&QQ{Z?sETcNq>D75DmQJsZ+$6IJm{<=W^j0y(8 z!mRWTtS_kDR}i;UXpg*A;CNY@uu^EUR#n>$3O1DO1FyRpdg@-Gsk|t(r?8V?>`DbU zptioq{Ngtp^B}UJ$j)0i*mJ8-W06^DE3&ic+g@ZshKuYC^SPjFq{zAJ`~m_~ zq}gD}smUI|d737RPIvJzXt(CNOl!V$4eS@`Cf5L$%QTkgUegt@U#5FPI z6s7kRny@K05_Y_A&wlCnxZ^aO6q*^rZp0qn{LVR>;*b8>gU^5XIrCUu#0|Zy5N@Xd zHLM>Nr^g?d*Y9mt=F6{ie6c%%c5HjjbK6~HR{M+W%csY$;{No{zW;o5wPXKn{%-%x z_7s`MKDF!dAN;Q@5O&1(^T~t=)&*h5_v!aMe&;KX?{!M~afgnHbD8pZE!TE1z&f*w zLG8Tn^nHokcATU?Jb(aJ=6lT#KMQc)%O3_@Ixqc$fAPy7z3^o8xl9vb$MM_Dm|ced zo<{HCv6E9`o(cXImRn-hxEs&5{VUH;E&tq>eEO^S|D*eJZE8V@$?2wmhjD`=f^Fax z1ocY`z`>wyI1C&rG1bG$&V$?$wc7)lN7dUIC?41Cf&(Caj#|Em0@*9lPO!VK$$~aY zjQ^%I8^m8rE5XT)yWp1F5bxDnDL8wOhCG%SZ%^HJ=JD;@+ap_Pf#&JM`a9#cyOb{O z1!MdASr5N=w#~cu-$-UDeL-pVFt>3L9Jua5&5Uk7ngwIC?)#9y%&PPX)Nbhhrg5;a zqwF)7Ih0<5!((aS3AZm@qr683=MTz8JeHYYPu*Ko3Yxri7tsb-^Obt~m7CiD-Eov2 zSZ)GB%I$m3dJq|oesYw7y+{@KN0l4zXw+V5SZ+LH(NB(CaGs@XYIeCv$t}0LK|Po$ z;%=%h9OuBRoW}UgXpmJQ9RkU9s%-~7^%~9|=xQvt+uSDDZlmB!M@Tz^?9g1qcQO~f zw97dqh#uA$ia_+38mj@r(;ChxsGBEi9D|^FRoP|G!wp_+8XmuHTmRuW^LdN3Tk`v< zNNqv6c_!GB{R+!X0bw_IkH37cWv#!zLwjW8oebF)e8b=E9{K)KTHI4^8X2v2F^`PT zQ@d;4_iXRI3Ny*gP!~W};t~8Sb1xvtpMq0@YL2bm3CR6>#qf@HA2Z+#u;IAK#JYI`c zW`^5YYzyE1GmoFY{fqCv|Ng&s*Sw$FEIwA5Ic`F+HJ|>;zx@8=sm=QlFg3T@WN|x) zYAE=4WIy4mf7ggEeE0a4bKZ}CTj4fz`}~g& z8voTl#o6^eQoQR-v>#We^J)=Z$9H*L8O{?iz$}-r+t;#hJif?&`OSa+_De6lWWBe+ zJp9&YucD1MpE}LMH{|R%-?yLh%sNw%Q>WARKmPQ-h%PC);nvdh40snIU?I8aBhiH?A4cQ%;I zQ%ecE;eO*$Z-|HFdryA0?9#5w&iXR5F&Mf%us0un2V6! zftYA%4Y+Y@R7{f@h*$OqtaCZ6UD)3}{^?(Oc)EWuQlt5}J@h3uo4%xG_qJmA@chHR zJXG0i&bSKGHsbNi@4x52`e$q2PnQ$hnvG`%7dEmzc=$Oyz5@2&#~SAhS4YlLW83lg z>U}r((TCHOTzhy;u-MYmxHvJp#U7mJKwmBw5gNx^UW>^o=ej>S`qfw8|98Lq<@bN7 z^8wqNyTA7>A-ccCta0(8E&b~Izxe7eRYA>%?aRsKi9LiJ)6YEJ)4y+DrPpm{i>tNl zD*Tm)#}B=H+{Z4@+fB!HyL&jEnLpacQt#SLAQus7sP+qq5B;uj?a&d|4*k$C$Kdx5 z)%Pp7(x-~Q@ocT?4l~c?K=y;CpJilnVBsIj^oLKva@#vhNq2|NSbp}8dFB1kM?hzX z>FDavI@K8=eZ2o#>{eW-8Bf}TxPal7MvSzKz+-&LMkicy&P$5_( zUOQc;o?vL}V2Nu*>?r@^LC=q4m>lfpBLH0yppT_K{g3hgTb<^@!{arp$Mj|EYxJO; z9Gt0@`mf&lu@ovl|KDZepm`&xN=Y6xtpqv=lAVLL-74Up zI%r1_5B$@V%>_LK*+bBkK4@3qEJ(>2wBHz4fwWR-BX}Wf7iEKHnxNeaa9XKsP}QKB zAt=}eN7YiFnnB}Jt6Gomyo*ll_pXNp_PvSyXXo_&+`6W2(DV~bzXH7K-4p%F9_{{b zce%$x`=Hq&s5t}AZuRdNG(`m2dT=!)4IL&sqM2(4#{>m0AbC_xH-SyJK7rUV71V+U zwhY`Z$__n0H>dXk?;pagUk{qd8x<9R6SwkS;B&EEZtt(Oo?%1$uI!Muo=-ok z`TqUXz<%}kk3ZKRx`s?@v1&$uSBZ4FV#r()tjFleAv0Gsq{H(c{Pf@cFebk8`%gdr z&t2<~$!}Bj90+We)`3m8whauK8G`0+K*^B1x!?VA{Xe(w*FOC>{EF!x{{cUo?qOfp zJ0geqs%F?$=Yi>Hl!p=n-&keSK~&tZ-8fxfHbL245SJ)*fdjYtCk>lUg2r~hYO?eN ztfaaXG^a^7L2-t(ANXWSb3tgfGzUcFNb^BdrL+(PR!h@BP@P6r1V#xu_NpJ|{k60K zB=$;&LFT})-LED=;ix9-1*hXG2%Q)$;-^~ifX-9hxs)t={*SBR6#koc5BAgu-V#HV-Y*U=7M05*}KC$ z%v6)b?GKx@BWXYAJeFR9@N+d*2zJ~Wdci8ZRKYQ*zEWdjVE9(L2il*dt03t`Ewq3c zw>|*>H)XTHgy)D|s3&02Tk7dEVpjb}>~aVW7%>rn(h4vY5!0C{-2pYZ zD8CK`hVwMpGngq-!3)?ZmWGy$m;-{2qe@4(SAE1DGLArdg>(m`RI7z9Fj%MBT~Jvs zT>{e$(pQk#DD4CpEz$+NmuhfgN{F5!|aUVlEGdQ@=WT_adR`yi16FUpB*7@w~H@ozqU za=&EVZjAC633XNrst+}5li-SA3ZEmEDS>u@`D5u5SUzzp=sK0If%$Xk9az1PdR~s2 z)GKK($iGKml&647Ye0nOm|a&*Aj4PM3-$uX>=;6W#>`!aG$VA3%K%hx z49-%NjdYHg2ZCB>>KM=bkXD1mJgH~?m^mqyCYOwHK$LEPv=%ki51zWl?0G|U_ZYv| z?JfYb15)3?F*8ok#V&{$l{SOxacT6#m>Hdu9)Y2qG5aa+HR#+`b{#km)!PUdJRY;# zq1VZn={QxvDyXqpEw6FApkBbFkMt5mMM#^#6+ye@ zk>h46T6zZdV#jR@L2={U;yP~U;u@?bD|-hTQq;mM7;~!N9Mq;sSAc)IG!MLGNDDK^ z%|wnSy9Lp?>a7NJyLAt2=P4VSKW0i>S;5~`M zUBG|sr?%!NmG%sef5W@uCTU-7mxEq{l`s!Z+}VJGaUPhi`D+C;Zao6ihg!x5Ao@rx zWP$T@Y0w3e-AFsZ@*T=kM()SW#e=emkK<E^ z0n&Of79>3bPa*Ew&m6KVJ`2wEtLzn6j8pav4CPGPHN6RD@|1l5sRhyw;4G51gQ#L@IoK$ZdY4a{-Abuf)ufrK zmR^D3I_W(qZj%mz*)FMf_awi(so{k7O`80HNxR`Sg1{jSCll-u%%<<~q^TRxWSii8 zRGK_S?YOiM3{OgTK;e{h4lK>61^aT%M*$zM8U7hB%O9^&h?|?_;v!9V2A<}nu?sAz zMXATHGVHc#KOp$Otnja5nL>h96|ypES~sLq;A%^ny*xFsk^NSHFGDar;rr_50v%4h1JC12So&`~Je1LrPjMDdhaDv>^dwo>UF zcrKf=TS9vIl*z4-wu0$OsZZ6ExvNoaYVDMXYnieSEAIi9om2LcrL3+gQ$0kMTjs&$ z2+EoB=#&W`mv)2X3AHc?{3oT2pk_+C3NB`){&Oh7%qP!J@k6}QcJM+l$k?SRlej{b zTZ6%#Rc^Kc8*6R_2kTPbjVaSkP~h=h>*wE>XVu!J&&MJEiHsxS9WzT%wheCYrLhlF zX5>-&0%pCYZNW1r^pUcic&dd@|C*0OHvXWHk3;M+_9lJW6lAF66%=GiTfjcSEIfnc z>}h*gm<1s@DyRgjdD2_ZS|A+-eudI9u;bR?qG|KwQZ}i0nji3x-hiHFb+H1R?aDTQ zrw(a!=d`&Xn2*q|X|qS5zTMNNyHC0Tp8KVV1Jh=Spx_F;4N7x|rcKU-v=j8sO1D7D zoOA@VtwcyY z_9U$Yi?1s1ew#L31misg$KEq`QD^zg@C>LK+nXz3#*~Cehru;LL0ssJnM|0m>*5J) zCMxTbG-GN~lwAgSS<+UJo2P;~5SBkxHxeaoX(hqGwBIPIF}ZI8Mj`6$4h0CuV&2JwK@*GnK7QX zGxkgF46sPBe6K;popcs>KWefxutZRB2ZElZE>ILOYuCjJC&Dt->7Qw|G%BNrV zvu5O31utOrRb3>!&6-8eIlHLiz2?lL_ncj*F+Ou9CveU#l0HxrG-qdX05pUsy9lnr zrOt>s9x)=#2E%SW0MSv()`I-V zD(RYO7MYHCZJ%L5zVb4@Pemk+4FlTBK)i}@sN~5>t%-XiQ>96m9=4mg7-1rp#M_zwF zmT%F%pz;07Iez$16%p5S+=n7P1XK4??}s_l^dj8^MPBoE5FKFNTlxTY{iOc>^QJRU zx&>N;q&wg+TpAQH&qH&hs~|5{It^-4q?=$qO?m@5Gw1DBu3MlkN7-c%lrJp?`$bYe z*Stw7k+uQfQfV@{t(v!28m3g!LW3Gx2CGdfcmz|e(o^u(AGQB zfLFKX^~{^CA!WUW=gkYjA}Ji1HyZ>RH9Bt=C!}v6VM^Krrst&hAbU~T3_6yi`@nxy zng#OLq{F~}N16e$52S;j=u+AX25zKRVCz=ueK&8y@1->$>p|KI`W~fcpz=vN1~Q+e zeW2)7ItdQ^7VHf9`!ARy0*wt=Fe8D|Bd`@D4Gvx~uLK3zAq&PCF0BM>ZuN^;F!KZj z7oaL~!7kr%;EYnX3&h4si$Q6eI}2jtr3GMtVAnqaEeXnwgO)_;C^$<}fmiZ^$t0+) z11oO5274*0eFlS073_lDROu^t%v3>a)`IECR(1)zmLr0jtF-cme4p%Jza~x4wedQf1pfUzrx)8fdIk zb_N_*OFe5AOm(ev6jax_72MZrvY3ViliDb40)$dJMid+YGmZZf4plOp*%VP|r zdiLlhRDys=ktLuyu1C*c48$c$>1~jC8Obm2fv1_0FblGBCE+G`P$;F(z!rgTLQ#)Z zNg(?{+f|Y4Anm&3R)SkMq_ht-l#84JqZN`6Qc25hiYx^kcSUZ1Cv}p$37$1d=^l9A zD$=K|$Li`3xdURmMBW5B&qdaQgb{JL3LcM&Tmd&`MRtJI7b2rJX~T}ld@yn#($llo zy6oGlm+cM+j1XA_BBFZrR#XOpVx`m$p2UgV2l??LAA!OIkxxNla6IdzL1C51c2HLFuvS%r5V znhinz%c}*xu>1YU^;9_&i#1en_w8FJ8T-6B|5Ltw?bPs>Q3K5M{F`x6`>ft{ zDfP|hv+A?NY!%$j7C8Zua>eW}s45US27HSpArB;9kNNGG6Gjbb5J(c!mfI5OzI1IcyL}r1| zPLWqZVVC4S0WHr&E`jJCNvHr%dZpC2k3ldjrNJY8mgkg|CW20aSxkZQ8R^MZFf}U) z{&RE`K|;`cAFpH*8L`sGLm(o1!SJR?-!100BXSw^?uuLh83!V7gKZ;|J^QUn0$-Mh5MQ|lx zK+YM!R*1;#&;ctkOymQQ6geQB_rBwZXj6a0E+*qs-{RkI)078E1D0>Hq!(o(vn0I$ z%w`YhE{M(<;HSc*bP#wIii`uJMFYCKB8vyCBD<7!fUFWRYXyZ@MLq@%*F{c)TQ`gZ zJry$9CaAwDrIR4-4!*pw4lLZ2gs7SU>t6kUzRB_&_>2$ezllx-V-qye^4J71QzEOu z_ACiJdN(&d_x`$T7^%g^a04|l+ycPA#_N;WHl;m$f}PR(z&DHUL=y2 zw}Q54DIEb1V?|DYggB9QFk_@w{E(GR;7|=7Cy1N|F-amD!S$3Oz3?3%;WDLf@W&tr z2fS~mFz{{L+b_3JJ<`pKS@bEL{uHnxcj}}+`M#KqiD&%JL;X$0UN|*;d?^~^d)|IwFy)b5( zx##h_j?_mlSozyBeb@e=HFO|p4Ix9;JS$Ys@pI|f9=311X$yS!NA5ORHrIc<_QA6o zLsnY3nffS6u65m%=Tw-w_jR3ok@Oe3`}sVm9i1g5iHscm}?Um+|FbKrQM+Ki43nD zF!xkS!#jqo`veJ-AhK&n?|H6*_UBT%0>*np2KEl|<)6q){X^E+ptQ_?Xox>q6PX9H z#zfWv?`e@a;1n{~tb z3DH&%*f6YHodupW59_m?4e;!l$Tcw1Exz78%wlj@pZq=s*M?-WMvy-&3HQOl=&1vF-(r=mi=8 zD@I0yj96C*N*lm{k=3CiRue(#!|)NSDtbgWX9{@5jOe+>b}Go_2jeS8tU-d6whZQOio*dY zs1n~QFlOWmu-}q|I^a_+W^rJLz#-`Nh_y@53GsJEtlNa{JJ5Dl5@tbGjZ9Vr<_IPW zt{t%|2wK(xJnxB&2bYa31FHnRA6`e76XZSyW%Wjal?Rd#(KupN66E%S@Ftl>5!iny zGNXCK>I@v!GhPSxgGRO4ENBdt(q*t2CZ(a_qn2l!$W$<6WLW&Dl}j*L6GJM`Q~~>JwQF%KJt3fYw2gYoLBiy1x%tb(mXDNRfovmO!TPJ!S{BC|nOipaabH&tXYh)xq(1X3=G ztODWbBJ+S}hR7uF(8xXzmno%J!9v!U-V=mok68l*Gu{G~IU=6}uRP-b{E9@Tg6U$J z%*#GztzMDR@RBjBjlf|VOkWr2TZSw*vSQ4NtP+_A7L5$MHD+xPOcqr=W^EJ5gxf4d z&6qws7J{r=DZLF!>qI^RHycEDfxGub_JF4kM9zWcha#szezV9%@ZyokOOMB_z!s7D z;Hi-Zpr%bq`$6whS#OGbiGBfXZ#_}*AbAA$6Bk=5Yg zhR9Li`$A+os55d1)Nf1a2#DAhSq|bn$92=Mg1cTKpMxzUu=zMDBoQf06TGFF<5m;5d&(i;M^wx8_1bdWMc$DFnXtpg2tAeK2FBPxv^$acOcR z#(9O4$PKU^iL^W}M~z#V(IRU=Sd1j(0lx&1DWJ{BNl=_5rT0N`vdA_tk}|Fjp?lzY zs+2B)?aLyQ(#I{&Op*CuB1@!C_P7h`uSZ2+SB6 zT*b;FnDGi2tQHx4o6@@?{c4!3R%96%dpNF7zr32qt%S#v@}>(gs3oToAiqWA18}=t za(hAP({a6rc?LqdB;hV7>k-)oZuN`o0=@&1n+%>Bxd5^UC7~MR4vB9q=reK)Bn?YK z4Ok%b{%nM`Nzk%~U~^PTBgV$9B7%el;5{xf6@*TR%mUR$_5#moDZLCfjZB{zw{8+R zw1KO0GK+g)k>Cb*@cg({OCY;I>+ZOIn#bFz%?TqK$_2l zUdK1UGQna7`c7E)2{wj7u;M4u&ws+o4iMiO;1ejhDWKiR7a%T-Tt*3)ixL?fJz-VF zi|hbt3F6QM?1|#g0+NzM)_{A-A_qZ0noO1gW(k%!{4xtfAm>0?mgKgBj68CAY5)Y~ zOF}-FH8QMVg0~b(=?F+J6Il*QZ-{&hD$9)o+Z7_?Dkr#5kXfvO@|#lH0RpN-W`L1f zl5hZW?})q&YHFlYXFz7HE~>VFauYOcoh5Y1I;#+0MORn9pBL9n9!&Zy%<= zyo2{+1ee*b`}{*G>H2Y>f9<#_VD}!gIs)XJWfVjQj_J)O2RsfI*$=`(M5chg2+7?9 zZ81`6ZeVk7U1BRfG{GNrs-7L;9@)O(rxU?v5r589KKUz+%)f*m7cE>Bvw(xvnXsL2r7 z1r~BA^&5E)Ku(^NHiCmfnQ=nVB+p8SuaBMeOz2$;Xd&3e>hD7Gj~-2zr^cNxVyMlU zMYk=QuEc5R`hK#xd{^P zNGoi|JdNEeH$r0@C#|q1=FPoX+rP4Tzs&hY{9pYA`TB(hJC7!tg$1Cep9zrj8p&@+oA-i-fK_rvEa*<++5-o=Gc) zW=LKB(N}J?KBjz;=J7USGe2J2)!^_9nV+=67o{_ELDG_}vLcYaO7FbkaTgSCNWw!9 z{X*t32mCfAcMaUz64|glY0VNeB7SGm$|8^z;0eLl9|LDR`VlTr&mm1=rPB1>YwQ6@PA>Nar#M$ih8Cj zpFUb^dGvzRewnraydYSH(t#<P$RsdsWT^kNl|-;I)`53`$jhME$QICR z$3I&C#wqm&<_1~u0uVFdKu zkc7nYX{&``vVIU+A*FUOdy~1n=@D2pZ8hIQ^2^%b;lpYDtHBk3~q^;@AkA6MbPvs;Fgh3!L?m+=mF~l?M>Wc;SZ2J3=ASYXY^#% z;E|D|Al6GtGr(P+8NK0lf)xS>Ki?T^+kZx%w?qcaSXBh2U0}n=m_SN{X7rfs0qMar zdg1Q^-w=@nz%NuL%Ljb~3EN;RTuLuR%vg<)Qo0CwqNQ{POvQ){kDajs<0Ro42#6P1 z3EGp9yyP1^NR!faken{fxdo~+Bw-9JWJy9o_KdYwH)DPB6CNq`Gu9G8bJ81Ttik(| zyAL`WXY^R#2M?MgVI1^7l#U8$p0TM zCUO-#cp`EUWR1|AH$Cb=#i%TC4|q6cazVj7X1qfb)GyBH*XvDz%q2-^2komYF&CEL z`imLsJ>G~97PnZN4CQUQFLYL~*c?zx(3}B~8a6A3SCAGyt5<9j7>E$*8#!y`MM-Wa z*pH!9dE~~k&ce1}M2CvIWGY;=qrlg6VWhEsux{W|1W` z4$hvn$_qvIfg2@~@C0mX$vI@{tkqN@ashT2fnDqIH5^>ezTRzUaznamFS8_DI{CD2Q- z;p~9yhjV&?+CW(|k~=aW@{vqd2IdLo7X5h68g8A_e^}ttHfPnh&*^Pw1^9J{*-ent zHD?{;0ub~On5}>-y)xrk5Y#878DP3!CgY6a4@wU9XBUbJi}tJb7dKVSyB`(?W(FQP zc0B!Ue#Ry9i21=5^NTK-o{s(eOB{XqT3}t|`kih@BYQXYL@cyTefq;sJHL3<51IV2 zWBT6tX={q0H+Dh%g2=VyY3uUJv_6_W29pFPJ78f|WYpTURYfq_GZ4KlvK&khEVsj6 z{>1F_j(?=&%vkd`WRM?#=DQ+CK*Bwd)gYK{nb{VCB_lcQIGV35cwptvKLhpY@%pnF zE3{vxssJ%VvYpvMCYzo9V*U8;H;*!n%jr=MwF$$LX!{hM;rc$WJL@z2gtu(&TOeyg z(r$uTg2mhfxom{GGx@llURFfUSz8QRz1Y@=-*{7hAMN_lZE*JeVk+Z-;jC@m`Q;iL zf7t)s?~tsQDQlhVG=uz^OTFil8|=;Kq!U_JiJ8k)d;Q*5!F5 zKM4pXmZdaeWzO1rF{j@MZ2Mfnk#ya5=UZBfsOu(Z&j?6b6>0lypeGIDqyI$kqLH>8 z&v`4}YhLHt!I1a7UQ;U|#79bpfVc0wZr=t7^^;N_aWEg(KZacjowx3XNoo&>ju2T2 zvLZ#Y*7e7=@2(}xTayG^BNhCgcfRT8C3N5QCeB+Gm*=gY{z(s+Qa_;dHWN^jETF`0aIM^~W;L^O6Ot4@j;FggsU?K$v4jiDE*&k6nKr*Cf z%11BnuNY|?xH50~mCD>MgWE>hj(7gihaZ03kt5T%jFryE^HxoZ_{$g4x-Xok^OHmK zR?e{a+1~DyzIgcttwo;&E7*5I#@LbcADQcQ>D(3@dKN7IUdhP>OGbM2Em$K2Yj_K^ z3>cH+MGYT*?d$3CvO0$y7ppGsF`Hgqu)o$Sx1EuR? z9JH}u6%v%*-deD{cNX+EbQxUoT-1B}d=MVAsE65I5E-_p6G}i;lt|mJM3o#nYEz$& z|L(UPE%VJ-w4w-1uVgM-%>>djZ_&C$uw>W3fRW3cTl z7~Yv`vp3O^1bOQ%iS#e8xY_)@uBq?14 zA(tdK4>YGN>3z%|Xvq*c55hAg*A7;*DCOz7>?JEPM`SCwokxP@(GN!RCD*H9$+}r2 zzI|Y-SW2_)OIABUdqb}*SzFg6;mUQ|TehToX9<*5knn~_8(1eOy;`|sJ-#WqGa$Aa z$&ZPGn7brc9=AYFjriJ*?U!upzg6%I%s;|!y?GY~>QSqAAkGKOQdlW71g$WyM(3W2 z^VNl02a8rF-A?D)-tthN@v?nN-Y>4FciwC0@}WyuA9{MHx3ezIe~CXh{s-zBmaM+} zvP8BcM_=7>MfxmTm;9H_hIi$x_=>m7{holxWvi6X^ZgVjPain4^g-?abm+{>%T{Q% z17#YS|hln2YbNW$sKHhhv^{g5~U|x!Pr` zqi$IbmVQv#Ad>eix$LN)-Cwo>9+=7X({B0%&H1XsyY0)?0il=Wvw!gNU8=8~wCu*M zSkdt-l5>>h(&MX4>iU#);CaEBrZ%OjCAk#kyLCR35fd&b_!^Cg;i6PQ{8*fe^kzc0p`qUpPnWHVIXT`eFE7hKTECxY;*Y~ej?F4dQV8u!qlvdV&6(iGz zR;(g|g!D0%b6jLJxJR&83ZGc9d?uwd6x0)}-K5zSD`SaL<#7+RXvsqkAYxf$AsAa1 zxd(=JX&HYP4d(Zxkv{tj3WEK_0N5c|vV?;btAarG0w2#+E#tw8kqKU_{JrR^UKzgr ztJVfVLPWr-^@u>ug5jW5-N*ybA1tLIA*=lM`l@c^Hn<&XB#4U;Sqsu5Mcx6eQ6lF- zU9`w4Fd8Fr3tUeS*$pC-MHYb46p@Xs)}VP`aytQWHxBHBDqswszju3>8iCxu*8v9ne3X#aS&1_Z72l&m8*L1 z?0<9BTD-lgx2f4aIl!q+hU52S7q`Q!}0eC$5V-Vcsh5{8@;R6V86`N zJOk|VQ!{actJV#IRj>vUhnSzu;~wZID777xfvVr|`Xw`DZF{qlQd$GT*F-+pTD67q{dnY!+}pWD~0If79ZbY;!T zC6Euml9BtMu|!I3$3ktYlt(Gw`nQ(3Vi+u2v(^YEiMp|7l@Q2>;DwPPej3Z0@(n(>ZKQx!3e<+^lDhM$_P5G0|eX`nF{PJ(uN11pjC43 zgIn#A&;#y25&0Bk_N`ez{f0*+=pB^iEP%YRHNA0EfhY5n@{$!=E8NdMkU^^t zXuseX5#vwSxE&(4wxj>y*xhuSP4=~}SDfKP>sB5?iz`5jk+$QWtY&>u>N;{-M%S&J z@pau*I^mTAvqP2VuINbMXB)gyO1#6L zZ&*D9-l5$aRvtln2EdAudJ^5Y&MU~=xfj+DLA%6F*Evt%R_||GHyStPL`)9$E_Llq zn^so~b&7RD^IWIP?BBGa2dTqTA8>V@b8j{nw`E1eZ%N%zUFULVp)`HVY9^R&3Iu0t z>BdK8Z}G=+QaTM%aztk4Zt+eNNsxJ9^~!vb^0%xSLaz-yAFfo>x#)TGb8Pqev)8g^ zU27GqR#4q8sZT)g6DiFAJw~p9(x+0|20}YTrh_gcS3qf}lr{qYE|ICA$H*mc<(ZTw zKHsvk2^v-j>WzE`MvYtpp52m=1PY971ka6J1HL_ya24D(vJ>;kC+TY8jS1uu*Y8ro@^&cy#0=jnCf=(g1`CM}u)U6Yc#3F4+j zmV=QQNeG(Vwi4zgdOWMye%B0CGO}`tP)V2w4-+l9blLscN1i!?C7PR0UHFRX{kF_R<_Kd z1l-Qq(Y@FLhI6HK3)JO_>;sSTMQ(s7`;PvL3)|m9C{+q8|KZRvM*tZf2mJ0AD-V%z(=V;mo*dHGwh zZBKWsf(}`4j=s#d9ebI}vBmipN-59DB|)41%%=77>QEnle#SAu^xlruw=aGi zpPVi%-yg>Rw|M@kmv1?I*Gi7q)!o?$Dq?o^;b~&G z+2y=YO7p-Ag2|Gu>{<;aVm1lJN_Tbpc0u2DN!SOQH$+C4?^^!1#UT|0-IY@MhEKYz zgO|%Xnz3v3FkjuzZ+-Z;A9~Pk{c+uPJez4ep*M=RkD5B?zWv^#U8}i^>Gg55$Wtyl zoexX|^z2$U2<`pyR8D)-k3SFfr#xuSN(2v4)p0!8l_NaVM=d512!`{=n$20OKhlJxV z8|28=e$I>Phy8n2)v(EZ|H`L%Q@{DRo`XF0+2^&F`+E7t{P(Tq;C;QeZAbFIaZsbP zU5~L(diSkKg7&R}@IH~nAZf@7oqNi$0LB8SPnd+(H z(xvncNY4}b2ox8JLnl}+5}8@-spjk=)2?``XC+9!AOO@Y08}*)wruT!O z1}V)02S#4M@2U0(mLm0mr}BDCECeKG11syPq}&CI9U>F-2qN@^M{If@tv3zl{i@*Y z11pF1t80IrmQpPr*Ud3*%Tx6bde_0Qe))0T^)w}VsofMWz209Q20r7+oWJX(uGf00 zBfK6HY!i&1sC!bI|EnuD`GP5y01V-~3OE|TPkVsABn zO_C$7d#ee8+4+=ttDSOFTH&qk5i$}AX732kuP+f(m8oj-_I)#k0b+NJ6R7-M?cuYW?_d~}~V4@Gz5ebiKjkKP5? zbR%?~^Zr}!h>xn9^ild!;#WF9)b}?3@~b+BxE|uG3c`KWF)nO@PlT^-$rZ2?>8od# z80D*8#QG|}47eQUt2X0(6^Chig0Bipl!O}~B3YzkzRosvGub+!7meGYuN+pN;`4&g z3-pGb&gD=QJmjnL2|Y%RzW<|xr|TGrnf6tcgwE01kDlInXbRo;Rpo@9@7q6`Tn=?d znV0@dW&5e-Tt7Wb!t?x8Mm|zo9ii?`PyAdi#k>prR8x_k^xu(u>R3n4H}B5u_$ki= z>bOk>y8QiRw#TuMk8AGDB!4xVED1iBkc4icwlujeKfN=Z>#tJsC7}##6^INk^jG%? znXE7~-7(=?9u8sJ?OgA1MgD608rg5?UFWCeGUA^)GH+JR%GJ6AT?bl(ziZHWi^Pb z0TuT}c7cuuA~(T$W02lRf|`QV)WaZs?C@$1QqKw9ha7HX@8x{tVW~4n#dOIO)nJs6 zVe4qpD_hvsLXhfOB!SiSK4-P+%kh8X?MMvs3s$`Z%eMyl{Y82O1atTi`4mJ4io6Nh zjGO@nK~kC+9ISGpko=hkh)6&xc45J4Ix$!;k#|zCdUi>27r=U|NZUXA&Hci{ADtDr zjDZJ@!D^vNrj2|UtX2uV_xNn*haY~Vo2|!^bKN~o4^b1DA!amtF=E-G{<&k>iW@@I zZGw*J0AohZgY5fKYCG<7s*dju;(yrVn6~aoh`Q7xSxun3SL7-f>I>0_<#q75KSZ}| z9yAPy><3+glDh^{heX~3zBX zSrOR{0@g)Vf{hK4K`%m7E1{bM7Pct0JiNDQ1EGh;+ximiW&t?+~jTgo4o(mvF=8b!&K&_ zFg@RD;F}^c7YrG>25M8Kv==O=h3V$TUk+3I=}1;WMwr^l4AZSk&I(iZyfD4W+d*`J zB-oCZ|MkzUf9)4({5La?I_B$y>q8}vu7#;x0;h=UVQQpIX61DwOvMqjuo5&HIRRD) z-Q(q9Dup1S6x=ql9gGqrtOKtKNk|3-M%IGIM)IxlA6LKHcN4e6RNq}DXFqV^8_w2} z!@lg#9skU!4^y)Qi<{aIrkWeW^qwfFDNJQQl(`Lp^=6S*9)+npEg}yoID3m-g=Cpge59=2%`0*YSSKCqj)7EZ)a%IEVX2 zs5U~^9d(;-kMcWyKfZ2*@=E_7U*{bVq56p*=NTIqp`H;xt}e0x&j-{oe%^Mp<)@(j z%ydMk$j%7ee{$xlm(N*OHXflGCd_nnkDR$Uk7MIg5h`Iu=64m;658TOjW*?@0^|RF zR+A{)j!?0C5qdzDfC}$O#RIZ~Al@%hx3~;Mghr~L{e(vr7|4rM?|s5!6O0r@>I;=k zaIHw>1CVKt)Mn+N=xU@o#)CYd>3XCd{-dCyEK=_oR>9>PBJY6wYH?@-4R0{8}C~dI4f0W;Rd6yk@exY7&{c-*KtO*va z!e0!Yfv5m!LIJozFtc&s6(qLFpejUin?X2Tp;zaxPiaq%k9r;GPh(`HicVy?x!DaG z(#3NY^ykqi*77m$C+U(Z|8ZTXH6c+dDl|%r_360!8-2s*C+@MH^o7}rdr>N)K1z4q zRgl^snK!{6L22&&D7F4TWM*TO8YUMX5RhxdEa^MLqym z$3%{TopG6)eS+R0XwLP?D78s2+105iH8LZmDYH>3X+cU`LENIqTCip0wI!BqMM^_f zqg2A0$j9LMy2ykL7HCW4wQYQNL|)mAQbqenzO@Azp3!>7-5}XZ{|ItIg3W_mRxeb|gFh6(8sQjv{(mlE08A0wG@E#MH09uV42WjKR46GU% zJrS)s2qv2aIg=u9fi)uorlQqtf`sQFep+N97$+DeFF^2&lxBbmg8f+w7&CGW1kXz8 zCD2M>HU=)uiM#?H5KQ(A%o}+C66U3}0Mr`U4PF@Ow?K0UCVRLRt!4>i@H%6IK=STm zeVlvw(QDDUhJ5y;)h?ma-ulzGoImjU%Ed{0P7JrmVsvY5wh!f9_%03`%`qzPk*PiU zavo+pId8V4w#KMZLOZbAewpTa`cU{RMiq9GqsJvay3Tod)H)TTJg0v&57#AFnT=6? za}MwPSG}F%HfB3UMI0FKBUud|96nzD^}@kYtZE2~Q=j~l#}arE8mF6?85XC?B1H02 z%1XC~n+U%Q^`LFvh*eWtv3eWw*^X89O!pISnwtn7RLe~iy$t$e_lZ;GzHxe2(+}$X zMJ|ClCZm-58!FxOmvgNYXT)(i$lP^bylL}vp5^Mp-U)HF*&eUNse(1hxes>MrLkcf zajKbM5k`Uk3z4=Xe~|8a*c-YQuS&1S%UYMi9)0cXtDYP2Dz-dc)|IRWZgd}W%+otI zK^4a(=;7W1QsWb30gh#QI&aaKM16z(q+^<`oCMXLE7Polm_m^`ptmeR&t(CuS0a_Z zzREx9n9gK74XNN%eXso5j=PQ+*mMPp6%Xb7$W_%}G{wa>-@AAM+;FWgAE-PgVgHj=Esl z>QZ;>R*E{PPSJ-x+i_Nw>WlwnuTLZ}R2B2N)|#qX2)6M7ux(^eTdFD`SOZm{&&X>} zQq{E%$!!FiJtX`D?{iO8wFC|wU~Gg^zWD)VV^Z1+R>#FGaw1jP=Tr3{ z=1ZyaXa*|;%NF35rrLtj6o2Ts01BfiwLETvs|g|>gWhD3UYF9;ObSwY#HOaHr@YjBro6fx$1j zxjvb6Kr<`+#iJf{8aWPp1Ee$xTs5*5cm+ynIJj=4?QM^jV~X|87UKLmrQ=GPdQ?ij zVsGLcYUJt>&AZ@{}CQqpu@FjXe{| zx69ss9y-DG>$Zr@Om#auQ~OPV(p)5eQVnhuinP7`{yk6A24^2MKgd)GjWP{x?|$gK z1IkxA@>QVTt3R60ROw5SQx2MzMNWdH)l9t}z1K2TTyU29-31tixNG zDwY%)WP5X8s!a}iqhEFWbGj=_d3T$fw{1tf|8Whsjz0MCUwb&ynO1-FI&dCAn`g4r z=z5lJ1xEzW5B|}ck|OKC*`c*Q*(xJ2Tl)D(NR6lK`q`x1E7(z|y5qIq{M{ct3*y>7--T?IyD1Lb&Xi?;`4mk1%^YRFn>@@!~kPyaEK^5+%& z$MMnI=2soM&nH){5NsRKzPaiy!O{(ZXg`tVV9dxM|6G+pkkAa4jf@S*RZj@Lbsd%U z`U?*4!PZ>W(w-~p^{A)iJkU#9_1T90WOwGO%pp82k9rV1EcSG%8GiEgp7U$T2Vr?? zDrTg#YSyxG(YP)Xg-*(hF_ZOiz z@>DY+l9ls+M43H^H4NB9}pPiAdj4mYX1V02~nHmS4?RYXqhCYd8?d zEf98HWCQ3n($VZ!ZoFoe<*P=5zE}c&H)Ns*V9dzM@_hA_z;y>iREWF_dX0>!%vY;b z(wG~!^3_m{n1$6cChke8%vO(6=U8l~Jg`p23tJa`%6M~L$&OH-TrYKlV3T0Z{8^Ao zPWt_Pb)R6oML)<_MTE&opEyMavkJ8l+rff-E2A( zED<=SKVs1dWZ>g`b&EjGfwUHpt-z~QWHHz_GOvxv2y%Vf^Hmvv90zevMAm{0BQHPA zSI-F&_CZ>Q$YwBW9{c@~o_{Ca_8{qZ@PiYKmYGC(pC>5V-Gxt_8`BSj<;FOOgQB-t8w`Q#D2QDXSps}FL`H*jrYAu^hvGV}7AVg4EYRa>2Bdlw zNY*Rci@$e)iY91k38*%50L&U0>r=oZUXoA;+KgNP+eXIw7N{%&hkDR%lF9=0fM8Z#Hw)A#!K^&13RD<@4680s^|wjj zEiPbWq(Hs#vmWbUc~lZ2#tPIlL9YLJfr=-PxnOMqX?es>7N`}1Swu}0sI6(UU^4~k z1wm=*Y=H`zlgSD})1r)sS@3ANKtEA64`Nme^!fEQkhH^MDvukWZ&w^vKf0U_aq>gSb55om~z++k23 zRjBm4i9m0(l&*u&*h0M&d7wLv1pXcagePFe4R_FyC~^fPCP{83=ueeW|Fl9iP3T5m zE>zD5%$C9Jbdf_~I#Y6EvI^Ce9Fb2zTCPmi1XA)umV>x_nXIv(P^}eF%D0@wh3d%_ znQR?+mP#XYLHbqW04mC)v_WA#{&6O?BJIW0qPaA*m!6QO%vui!7_e09%jb*v@1?oD1L-+jxH9;UV9u%l6 z1o9q8X+-k()L@uk>_jwCN|12%VS(x;C|w1)%_6V17pTgoB9}l^m&h{E`%Jc>1u*@Nak4QTh>y@q0r;lx((1W(0O^;yMuYzHA4Ei$o)9-kWye%ipER)Nrh-XcqN+oEK zUffsSA{H^tI3=iC0`|E=y<`nwo1iq7HC#{ViQl$fJ`}){c>m?=c7VMa*@}-Hi1W6MUi?)AcsMGrN{zsdA~?~@)x*Z3NG}-l#lX^|NA8)ZMQp% zR9}}Q?}LCIkyk-rugD_M*Do@7ph$HP%wq#A4~h&MDpC!@BD+E6n8*e&Ixcb_BuKdf_h##R0`?o1oOu zb9ntQ{)YqnORuYEfyL^6c(J}0v;*uBGSxUpiWJ!n=8PRHRj^;By% zzgWcRX(+9Fu? zE7ip+^o~qX3;gdQEssXfSVKoz9)Y#Rs)xWm>mJ=(hXZfPs4rHt4I*#dXRS1fTn1ea zMP6#Aw;qXE_~T-At3{+&Yq2V96S)rZp2#d_fnSGo=R>gEDGqnLiq-rxDJ^|otR8hs zX;cp*u2)LeKy1Ire&97|9Kgbm$b#Wwbz?*(+X69TQrZE6CRityM>|-Zl+xNM2K}_; z*3J~G@mY~YbH!?SUS#eyxIydnz}waRK=lhPGX@`A~f$2v&c5{Gf{ zWT#mDpFDfNTdW56iuGAZ;Xd*}CbN6mm8Z8|mp%r2K6c&Jw|(uZ$4_Lczg-mu*!3Ek z1`B~A?Ll^REm-6t@C>!vZO1G<|3~Ja#gT^eGO>nkdjpra4 z!AH$d=XYa@-F(cIXVZ0Vo>vc87==WOWKr_QsX>uo)yxkT+gDv?$_E>Rf-tttgKTSPtvQ$}ur z$Tlgx44x5shX}?NOzC2Y@>?xYZ}1vFkh~_PMK4NJGlB0j5Wgvt<%9Aqkxig@M-uLX zpk0xQ>uMeKyjGJ`yeeGX?c``eItD%OVvTNB*es& zs+o9^;R&TG^Kz-;?QFNfB!SsJ@XaXIbGrnl@{r0Sub@<|-;ji;@=_IglTv<8t*TVD zS4-(An5`G-*HEfP9*M&W7_Xlawu2~gH9r7a-uiO6A4^i*Ucc-kTI zc4w)I?UGqM0`1SFbOG3VL}m|_st$ss@EI;u%ac+XHC3v57er<*ma5Wak!@goMdaja zsajkU8MIoK}(RRe~cSFJEjej<8UP)3I=*hToJ*HH$+V3vQ>S+PKta?59QGHJ6 zyd7$%t0xIsCZkvn@|0mq2DxL9>Orm;l=?2KevI_L{u>5)wi)B^#Qei!{Oq~&XU{Um z^BCWAfAMA6ejfduWBW06&h1A#|9<2fwtQ`!@_Orw7f)W`E8LG(v3>YmV_o)>pO98N z>fEhIu=aet^V!oEFPy@;9oOLR8Rs8-$+^)>oxAfm&c3gAK6U=w3Ek!>T;KaUz!Hsr}QfP3a+0oG0tWCj_xpZ?#`!i_J6(esgtMAp2zw3 za7`_BIDf@4I82?p^XG9sgz<^f7j!pgWBSf@WBkM4aTuFAcjMo|*zfhuXD`Sh@S~r_ z_3tZ;^M8$ZY$>MB-TB|(9B>HdGv`m~9fu#Te^70lf9^jxoK2m(^9MKwyF2UK>@N?y z`l$W6b7xP`8Mco;z_qKvIH&x%?OpwSrK8T>`CB-@_Z@fZj~~&`oIH14cXU6t|EbAX z|5}KWO~p~?ZXJyEA$A<+PMtZeoxh9g>Wp#rZ8hEDsB?FY(vAM!AsT)5!v z&z(GX?i|kl9@lUFxp5AxbF4&D=kEM>x;Kt~;WL~YayI$DJJMb}ed6Q^%)f>47ypwn z|DxToUov&>=23_0kF%#QoYBT##q>A6Ym7a9-?1f{I(Oq3j6b#|{+P|>{HYUqcWoSatM;sdG2Z#5mA>6@Gl@!RZiv zVf*N}as6LE{C6_yj-D_(4@aH5vmNL6{^$*N?~ixKxzi`k>*3*z?_b<7-jUso;bH3B zz2kXr(0g;Qw?2RV)I~j}zlUwbEn{6-;W!+cI&E#qZ6R|SHiq?K4qE3=%doqH>w{{C zbD{H$M(W%fJ&*J2n|$)**^_$L(Sqrdd&YS4x??jmb?(NC82h~5`OJy4XY~n9H?A{X z#yS0eIEJ06b9Y|H`4AiU*^}o_=yA7<>pyvJoY(%DV^cA8?%n+69~`R9XD^&QrN_pv z;res$eO1QYg;0mHsdI1h5uD%q{_DHr!o>^cbfe$H_MiQRu|D%d$3EKBxm*91wm$KC z>r>}UPk#>EoHNFHD9tfAOr5*+A7TBm?eOE<%BeFKPU)ReF|PCf&N#REIGjzLyYrvv zMt{S-(LZJrzo@TRxURsq>kp0fqu+LH;-=2sIuz@}43BfCFY1-pkL%2z80Qmz<5-EN z&fWPE&fe~A{&;tABSDT?%eemSpBm@JPdL`0sdINuKb-UFQ)kZT&G3h~+P`g_Z9Ar; z9d+)`IXEBU4DZy1^Cxs~l;QfX{;P2gtZ}SDQ|Inng7aZ6SuUJ8eM0ZT}0&T;Kd#<6K|qJX4Z7cjsp~hrGTwE}S@XQtvu` z0@t7UJL4QWWezKjI(O%B*M8=#<{!K}cK-B*3;N{Xm++1Mf${#Kx8smy>fF7j@IK7O za{BB^edd^o>vuhk^V}~wMu(|$cb>=j5JURH*;A))VVvq!1)k| z*>h*kUDQ4O3%LIC07siw9Onk6&fVGer9+L5vlq{u*W1b&TrUI}=kH`Yc1ots-T4zZ ze{4j5e5Z8&zekaC^4M&}On~xo?H%^^CcSbwM;`+^8qjak;yncsw_TmY-t+a{lnd8R##3kp(B6aT8*RT$Iz4N(~ zC(h~^S--}t{B_fkxqyEpf94zrWKc=p^Wy~9h!b$-t{pXqXJ zE~d`infp1maQB}6c$-hM$J1?I#ntznugUOO`bE=bN1eO#W1J7M`#*i|)LDI?4Z*eQ zr;YRX&zS?Qqt4y=8O|Tu5I^4LGw05*t=K-Q!FBpw;~e-!(`HAVc6Qw@jpBTW6PnZ9 zgx9;$C0t|wk#YXucbsjOI`=kD;Qab-K7C%FD6s-DZTdN5?D1Qs$&NaA<0*^}aXxeY z;zikWwBg$NJH|P3*s)hKb?(j!IKTIY?v4KVA?p<9%6g~Nh3!}VrK8c`a&9Y9=WhKA zU-@`%eB7A*&N;o0{syMM?O}|^ezZ^0b?(N$gfW}<>+k%WyU14ucz*%klHW7l-}^1o zAC5YA?|*{#A@-yfE}oFVQI6~LFBoUfzjmC@m^$t3dfVXF4(H5qMb_aUu8UtX&gp%Q z-JPj(Z}YF?e2C-hnTzM-oOA=%PkqfefBBQf*-_{2du&re|@;#IO#ZV`~zGkzGa-hbJ}r~{qg6GUp!o!FP=YtT94;>T=)LeI3IoC z*!7z__cnhO=R=(N<14qp-u#bWvt9naasI*o=jdls=kELsoZtKW>-QXIxofQV{khn# zTsGEce$R1cVCvkh|4v&kz22I;C~{Y63)^4Ka#;W9E{d*mw{F1t5T^!Q%bwJu<2bJN zY~wullg<$>b?(khI3J?Pr%&noq#u=G8k=j3YyOL4KWggSjhhc;eDUNteVP2xB}}LD zjq&#r9Am@Oxf?$|Twk0yVXlLgaQ#++aSr@njxEL1xjVPxe2D$V`4i^m%%9;}Q)!&P z_$9}vGj;CH9XKE62HW|wXXLxt2iV5+80!y`9oDAK-Fj79SHFH0a+E!xS79=?X(Pt^ zdqWOuQ>U$6_x)%8-Jx!SojQ3|pUr%fgKOBlaZdceF*r<}d!xUA^C9;AXV09F>y=ns z-&r%x9$$8Bgr?5j`71cTzB5j86HK3t{w${dV%He|*@)w2w5fA9{wl_YIK*Cb+Q@8)mf{IPFWK7P)~*VL>(+eg+LU$@MnnGbdnu&v$5pR(a#pPuH8Ah(_w z-nc>*ZCw{YKlf*F&;Xgw?9;)U&A?usw2I+dKueqq#&<&KUa~j)bZ|Yu22-!TxEK*h zE(f)AD3hJN)Odq@I{6^TUGMW~Jv)57F=qhwB5my2aGC>}TYllw$@@TdyS#EQ&{&U&X2TKm7O2Y|uh3ZL%WhntrB5d}f^2XGQP1cC zc{Qj@FJ*FFvK)-EPmoRkGH=kox%kGzyCVJd-Rh175j8}4*@r*h2EZ?bTi>o zVDEW@(J{N!;EsF(?b_UlS5vr^JNMEN=ov`OohPV|y~*T+kz6{YPmo>D;X5F=-f(zf zWGKd?y#YP)HiMT>lhvDjdTzW2u)%#Mub%h=`6Q?tzhiQ6fF!d|Cw~HR*Y>R^+Owx8 zt*Y7%?4%zVJz%mLf00km=ih-gSQ>$)BEG1GK}n!K7{cV@=A|OSrzbiLWVe}f_m;!E zr#Gz>d<@hrW0>4_y(}B-)5&olk8C|R{IPDPC(^tN)R|+M99}5vH~VyQI>@bqF-)Qb zh^2rw#4@<9d6*=8Iyln^?2qYBk>VymlgBf-$7-2k_UYhkfDHyR=$@(N&jfYqL?-{d zP?ik#>EuF?4ccccFBbF6L8+iFnZ)Gf{#*m4PbbfAiR@l7a1$XwOxdjjHDWT8+jp1k zDEoABDaZy_SAkgfByQG^0`+JjliQA#!!P#fQDAB&azH=F)Ge=1@`*ieOX4&D3)k%WfAJn)jm^|=RSvc6IlkWxDt>tJb zqdmO?L7oC?O(&V=2USLsPbYi2rupCId@vrRasLKzmv?6N(KOW)l22#*fNjur_~8iz zH1I*IL0xq%lheF7r=?FP2Y_r)S-gCG=uwS2P~Ui-$>qakey~p`o>?AXqeR_7_ew3qYm)2{G4^E-Tj=jJ>^bVub8f2o`r=!0I+F<6@-xIAg$d7}1 z+lNfv^O~%O?9<7=f^0Bs4Dj}+p5-1;L$aCN>qgnLuumrs7TIBNFUZr|&sTI>!+`BG zhtYj&)s;Q@bo45LHW-m&493f5fW59n=5&F~5BBNkT|gVuLyUF(L_Pcus0s6!T;Dv_ z6+S_BEz%8UWIRzpX-);T=Q<|0Z+@ae`1CX%6xq?O^@8VxES<{y zuTHK8*uXA{I|=~_^I|6p>=hq4;7PbXuRlg_NG4TVNg?sGP%bp)ku?1CpUtOStWzT zJ^?*@id1KT`vJb{B+6aP9bE1(nI(KW`#jhN}2Z5ML z5w)-c)U$hJqSwlE$UdF?Bgh7`cisV584t3xx1Ym*ACuem<&2g-ojeF+gKL%mJgX^6 z$A3Y6Y(JCR|3~(P?9<6%Ah$j+@C@YcyEmZo&oX%ET`HT&r-LH^?%K9>w2vkAr&4 zrA*FjCJUcVP6OFsG~*kH$EiWS3)B~`VDi}n*<-O!Cuf=E1{TcILeGAn-fSHsEv0qIbf=4 z?8v8+7lUkY`GzSeI)NuZ^?8iRnN6~-W1mi539@)hyS0b31N?nyaq2_Bu6~lyzrQBy zAp3OmUZ4#|U_MyVgPaap4{CZ4lhek?M6*vP9~Ox=n6Sc{JG$GH2kh!^7(J_b&0R}3 z4BPj0Ifwr?`QwY$PIQLr!R`AUvrpbCi!}T6WOo7Ept5-5!DMfc-vV{j_e^g4lx#@Z zr;~34*`R_4Vljbel=i&!uvp#6F#T z56Et1`Z`oO`=Ua;*W!L3aUTohM?ifxgvri!j*jAGRMMxDz0J~$2Q}!GHZOzPVHA_g zYgJcBKArps$Oavj$Y+roSAx2BG?P2Ii;B_dXw+mVd zYQqF3_y3k#Qt8vlFM(`OQ~Z6gY7gWlP#=hAaz&hM{Mo0IUj@1K*3KsotrEa~fPONG z!2xZ#a!a2MejQ+wDu{Ojh%1V(LA`GZll%Uy3LW`$^4n&affdnIG<-nKoXX_fnX+49 zpCG%A&ff>wpg8+sid8g71)%07GWl(Ll9YUUnm;ki4K$)O{W=R&uQVnPXl_J>PbYr? zvcZgj7hdlpDoP-z4cSZ%$d|dnKArp>$OcUv*2Yl7-vsKYTuI)~g--f(^6!SZ;e!zv z(mW2--)AtncOTiMuumt8&sP~#6i?hD6XYSFrq5+^_nGp#o_#tw1Z20$?S8fC>4%#j zAm@Qvy_m_p&PX!*bn7n|3fZTV*K$U;KIwy|pT@eO;NIMg*>Tab z8nREYT^pr(unl@bjFM=vNDoj4-NWSK=222hi$%7BY%r9s+>fSUC%lka^@j*{4?liT%cp&GjPu~>jA+RC5;P`f|JKK8k{$Rdi@(rE^J;{C44&B z6J&#a#UIrHi4N)x>ZZ4t+&EbcX2_?LA2Lg`KdypAd$$AB$ak0=kS59O)5(vSvPoTdqa$^jrn|^2V**8`HO+KCcHpnJ5#Vf!^j2d@< zI_57XmsiM|!akk+z8M+sBMB5~o&f3}LzrCrp2}zP>Ew?=Ht4_cupIS;LqQE3%H&)R zNoJo;{sv^X+U;I8{IM=a+*x;mdSeKaPp*^YnSDALcX!;$?(GJi(?HAb2)Y&2E~A+I z+#Ot=rB5gS1hT=ZTD-@MrXp?vb$&FHXBEjbvri}EZiY#VgdsFN^H2e5Sqzi=ZdToQ zi_bhnnUVeQ;xEw=E)mpmOzvFHk2jiLC`)--f?9<6(K{l9$ z#>0Pft@0SC?@VEGaq}bg!l#oHK(EsMEGUnE3F~CQlHcn%5d0*Lkvri{ygKSa@y*+7x>IqQ8 zlbPJ*Ct0G|r<3!|$evz2E*J@FObU}@N>yvu;<%s)WP{!t3+rfTHxblVQkmTULz&O) z)6-nsQkvac4!k4BSF{{&fZ8vU$s0R!iIzT{Tn4g1iN-=;>aX4g_40fspKV?UEPOh7 z8OR1LG?ul~(f_UKAns^T_&Xt zZ=;}fGuF)49OFuuT+y9No%HGCO&}YT4ZN9=E`uh6npMi=0S9EMW1mjm4sz>PZh<{9 zN=DHr1oWqJ2G@tlDIfOf;GJgKEFL))1L!|N^{HfX$0n6z^6BITkPR+m1MuP=F&KRa z)RLu44nHiLI`--0CXfx94ZLZR(p(Pe`4volxQ84hu}>!-Gs_LJ(o0NoT(t5v$E+$Q zcWQoGUHEkJX^;(yh9B1Ai!(S6)Zo>Uyj6CD?9<7PS6j&E7McybKua_mp`garF?q+0 zve{stPR4CN_cQ2D#yeeo1vwtn;`K~M7SPM0rB5ec4zfYz4)DQ>YmgU$dU_+1d)+4+ zQTFNNtIfz_X_A;|^w@-<%w{H+yDUv=q4VxyM)tzO7Ev~qfVylelly!nyFvEpX}+aml_!FS1~j(s}$HZwBTCeQ%7J*W@uW^&I>vfW^xPQC|Zlk)7v z_r)Fub;%(n$5qSn%s!p$2{JmX)@OWh-^2?AFK8vW-J6&_FhjE0r?Vdh+hCC7=ZBYL zgM25b6HdtdxLh{eI{AGwGA_Jn@yQLKetrp)_pf8J^y%c!%yI+od!jb!TTn|n$~1p1 z+a&hsWZbuPZ%5thH^v+EX8dwcAG(dneW!ETkUpLKBgh5=J8!%YMwI8rL7j3ZljD43 zKC@4dT^AP*0=e}82ks(?$EAW&08PJ(!C&@}<2v@~NgiSZ#%wMvY0Lxkv3nVOvUxUF z_;fJtt(w$rOq|nzu{Wqs+{fgO%@gOsr<22tlI)G;y<#Bq44@y}&)}XHtHMk^9UKX; z$w0>6o1W454AhVPnH(N02Quu_$s<5E7<^&CNbCE*0`<*@nH(2x4;Y0{C*!8AN!7*+ z0qCV#?}K{db4lsg~{FClH(2b>51M9vO$_Xd*XfDAP0c@+%P6ToFaP^_UUOpAhP4O*4quds*yU_ zSAflnVRY3#SvuIKqc3^QDA9PSH9f#H3)E$COzyK$bynol$z4D;sw+Gws0KB0B9nWD zsJcQvoqQ9>b~pHM^F0{Z)9T;p;2xjM?EUx1wu5~-`%YK(zjU#_0rW7;IZ&UN#$=zK zicCJ8{D4`0;7Mn0??By<&*b`bDyPY(ll?$8c{jNqo@f#!ZyT_CXE6HSqpEn2Pe;E1 zwA(1j{aPi^OAKYOuozTpHj{fr^REzd1BD?qAo&mfrsRO8A&SCPN8&y|GKAju{ zvcXjl-t|YLr0+p}teD9)CuG56pHBV=WP_1i0HzB>KKBN7(L5&ie_W1b*r$`f0NJ3j z;2U0a&vZGcixxBa%jU;bTDoWY9mob_nE;Hx#g*G~P(R^m2F?8?dX;ua@Hu_UYuOKsG3Nfq{5E z2TtODLG9Ls$(fzh8{NpKlb;9Kpm^XND)e@=TS49MIg`t~s%l6+o&37UXty%m1!v@+ ztILoqq!}v@fnD7DO*)5X1LZsi`*bwAH%Hej%b?^1;Co$QuK@SlbIcApCQBasbavz$ zMjayFfhJxSyzwJ7 z5F?+S=BXeXw0Qn_Td!!BhJgC_J4`NKqee^Q)5$3yo3#HvbYCW@7Sx3In0#-HZ2#G( zlXF0JD;?LnmJWK%25I&dXD}7i%RgYUqdCpOr<037cAJfGFL#0Tbgv_*GpNVDX7Zjm znP&Fsme+QL2^y%K1H!hu&X&`ccddUayKY`E>R!unkTku4ZXscQ>d-F-)#Hpt@T7jWe#5 zPK2$K;Cja!A8IJp}gskjV+@vVyZuPjkCBQKZ|p z-je!bOdE(q4+3`MTt?r!OrqH*(5~yiZV>49255XeE&%B5z#c7U^nj-%ntghz9{}1Q zKYTG-5;=Va)ORbGJnUN4(~?h+U55vOARClu+-jtoARmG1S0%IKayeXLpPptX$Zk#P z^==Jbpf`W`;t^2SRWsQ!Q`Qys>Ex$DHYj(2UOX#N59A)H1p10ht@@)6?9?jEo2L=#G62sE5}uxtsj}2>Em}x=r^qyEp${UZR)9 z3${RAwwcKf-^$Iu^y%bRK{hCLUVc4kt!_1_*~geXDwbP+>C?$UARC-Pytb33GG~Cg z{S1@)KPSoT)5-loHYj!ectBfJ?*>rUINqW`*ln-MI>>*O=oZusJ~yy z2eaJp#r*`)%MJl`bQdPK|3TJn_UYtbKsH$GgSlH8bc_dedp9QcDV4nn z`*d;`$OiqDcp;I$$Y)TmzlX`0E-xg4PbUut*`$TWgP}AV-5uCZ2Q#{Et*qYc)6r7} z`pec^Xe_6ta`z3eRw$zfHa{6Ed^-AXpbdIie>6!VKRSTwjAZh2&7b)ZK0$VEp=(@o z`rl@MeDUbG=vSTs_iPNa!y{$+V4t4q^Et^>HmECj$BJl`o&xl>1_oC&-%b`j9efwSUE>VUxML_9 z>34yheu2@ME_V#!)6pLYbg$OYe(3+jNGTWC4IXcE`@dSYcuC;59Dp2 zzI`#19SddQV4qHo0@-a0=6(us!%>vkpbtR3{Sqd(f0|FB^a-+S+c6qsgH{?Vl;}N( z_k#L&7baJ1mbt+`Jn%Hd=_Mb#!h@&N|0{{HSHHB z?{9v%MEG=a+qYXFw@@_v=n>wa98jPCoym^oX=8fy7j@9}%DyAW28GTW&xVRZ*B8|3 ze=<4v8F`0=eR`U&FeBs9&;Vp~P_Cc`Gub&`cCqXeWY>1%Dv;gA=k8|^D_fCdtcnKp zy1`7Y|Bvic*r$`P1=*k@4D{t|ivNImZU~cem#e`Y`E+tuPIK$?KKR@zExl+v^lisi zqnX`*kZhsZr|0xdV4J+j%rg+L$w7t;1oqpBj4r;9tD*Gi=s=(ihG4klq}4M&gSsY# z$(?(uHi>*X`Du_%3LY9XF;3b9>cLDVH#Wc6N8PS=Ez-}Kk#V^~GrPw?ZOUTu+2-4` zbUmt7mKV*)cxwnfAaoMc&|D^eI!G1|_UXCtvKbjKL7}d2IH>arnB1lL>v6)Tlly^e zP+7e3@la7&mVoL%hsmS7xUxu}PJY8I&3MTjy)o#&pjMVJ*^w_hS@!AVx6R1Dc%DXF zu2g~gUKx{p#>??2`*iYqhU7p`nw$R^)Jw~moEb04?9<5~v_y7ql&}g>3=D&=1ofqA zCf^pz`7C`p86yaz*K_#ewJ@S3eI3~J)r`(fRM+<8)6u`RlxX*U1xu^w_2+q@*3>e& zQ}fcQmiiU6=I+JLos7$OT9ml~)Wo$+b~L{sjT&&R5~9sDYB=!Vu^9PJ2lf7SOzz#> zV+o(08zC)`TR4RQ{8W<q-Gl-@!=^?!qTf`gCxl zVK!p~F1qhLP&@5ra-ZgBl3U8=5oVcz1p!o^uLZTsekNxQ;>?gfJ5#bxz$aB%e->F(Z3Ev-{WV||&ZZ(C0dih}{ zpByRE%s!nw!Hn!Dd)RA0{o**2V@}9{F8g%yB#_-M+}!gSYw_uN;yX~UJk4asN3yMB zpH5B!*}ic5w@Dvwd=gEx&|Sdoe~#H3Z;-=A_UY_&v;6SKo90FJ{sPpu&NJDWBO5#R z>16cACJl!l1~Z~`d;sdL9`De__rv$gTF5?~jNaHJrvn2$>6YHzpnhdBx$H8vAb@;2 zd8TVltGm?hO%m=>(_Q=TL2Z1H$wLQlEtEc;j6T!oMZ>sSp#}LTfUSIp(N%BD%ECT@ zb{(I0e8;Hm55R}V#3`%-_2m1K{FxjyvQJNRCy-56A_n4WRkWlRfQ|ov(S2sf5g7aQ zL_cYkXip67#0BRxP$NH-iJmL3>)EH1pD`qRqrC(<8q~5snB2Ke-S8!!o*gfU?D)C$ zjs*+jX}!o2V9)%?=z-B{phP}B(SMmG8jH55V`+o!UkPS%@FH0a*{73-n327EqPieE z-UM}V0+S!!!R1c+^y~-|+0mo*?C`{k3dK2G0qo~VjBcDQbDDj6qOq0xrM-Jw>Vt3I z3G%ntzI!s0!|fIM{46HNy`)AR zdrih=({v)^%ysAO_*f0-NX)5%*w?rJb3#S^Wx{&g&{Pc+DkepDu! zeLDIm&<1lT-kv?Fn|%hLUkCN-izL~D&!P0`?n|lapST=a79m`EHO+hP#-T7fp0MsNZ&GazMBwvri{`f^1Maa3xF2 zUw;O*vI~=YKPLyf?9<8qEs@=acleByC|W^(gZfJtlYbsAuQ=JKlOF-OYf~G&GjwPB zdy8(?5%d?hZ%=0S@88RzBl~oA$M?WCxKWLlTF`?x9|HUNc}BNi#91wUI{HC@e#6p} z?Os5z)|h5!z6H1P()XxP7dNjp7CxPQYY^B0t)snr`g)7S*Hyr7>dffQn`FzxJ{{dl zpbb7^A~IVPz8%1Re+{GS2FsS3eFE*eZtESOTTipEAFk8@{uR(quV--i_o~e!p8&g# z(%%Ev?GB53`3S^>v;*X?L4EZeCik!xW|B|OjZaN;!xv9x0sRiJTO@iF7Z~ zyUk|0mkv))ULUs$)JyK;L_b%kMtJ1Y^Et$f?CtMEuQlid>SNd)akzN{==R4r%_lG7x5-MMp5|guGCii_(l{)h2jJ`(C9>UVE&V_su+`%SVIvQKC41l!;o;;uifo|y>hcW*Gc_q8%V*eA%YcZC|v z$e4Ga!Q(HWu78)wF)yg`Kl$`D9|GB6NP~A-(&Ff?p#Js&llLs;G)tc#ySDu&Kz1A8 zxi`^1-l9puYG6<^KV@=mFYdynPfzn{kPV)W#2}q+MizkjE(ys$; zQdw}HOjPktK|Pwm&)=+@JW zMK1K#_G&udM+1%YtTZAXJbV!CxZIe2_~0i$`rFtPjRV9im~LHR!8&(bGQ{m z*D8e$9-K>`&YcIYNvnZRjChN>9Ruv;*D?CbAu5x}r=#lx`hAbqi?c7j^ivX4YFHT=-xo%L%@_DH-g%( zt0XUyLk{-o$9=e_`&^n|z$qPvE5 zz^-_T(Fwg}cf~#({k=dx%vs%OteTK^&uUad(M1Ps0QM-ZQrq~%e(@?I#NX6WgRIR6 z?L3@K$%CvZDTAyw4yU6{4|dc4orvh%uaDDl5%#(}U3t1IL#YQD{rUDEV_GxdMT_KAIZ&SVL6N4*fbpHDoEMEz|C zV7Gt4=(EjFBMF~CyVje9KpS*0;*NMA^1K1ms;`;6akZ>B>{Iz6vPOJjqXJ}u8tIKj zNHnTzLA`nqlSj3e1%-Wjb}TbXvo}5+A;x((fLazRbK_=7W}i;3G9zPTORF81fZ8FP z$wAHEDW#QCTD_??BjXZ)ro^rUb#gS5yEH$4)6%_5PZzp;@F>J<~1Tz4_I zsnVzC#tx9}3prIETPSr{jxO@~T2Q-BVsf|UnQ7tE$%oBy0}GaDjn18*?v>=9o1eXG zX^qYakXx@PV!e_mbd7*MSHwvUn5||W$)_jz6u@rxwA>q~0Qw?@QCs`*iYKW|@JPMesNs)Ul_692f_o zlWnvgV%-7m+c z?9<7AfNXGQ8TZ0zPC5$IXMC9aP=5Fxhz3m00IV5^E{ti$(JjLYV8)aQ#pH7Yg*=;D}p3iu(DJr2Os1vBEn0%p?5dK^cu{XW%)8R6Q!@@DcSBF@~5IQ)VBWpse z`dTtiK_ctOoCe8TPi7gUiOs?dA=Y68?ACNJ#7aFxW^H4LbqE2m!<#~^B7}Ah=Q7CP z!(>i?%t62gn;{WLC^ijp8sT!J;b@38@)&K9e=@{6e>TLr*uy#cT!>YCKE%4z!#V6i zh?R{1!Y)X9WT@D!epskgIy_Vi+1EirN06BaImKr5$WUt!0yY>lD%3g{O=iUCP%B~# zndy)^HqS!l#!&2L$gHtsRzsG=lDP#kcwDGRLq6mb0@5%(F4QVSKB_3^H>v#jb+HOd&H5vYpMr38B^j1SB$IYN$0ek<6Kpb8N;>3$^AX(IHkq8WC`a zu;fr{9sf+g?ar8f|+TGB|_GEXe3A+MockB%5|S21&~&a~otq5t*AI>9c9u zMUY{Y^fL<~@hb>64>DpUZJPnfuOhPwvTGfg5$i*(l?ce4eUOZe6uTU9WHXsDTSBe+ z9b^XY47IlHA~SM#s1>`P%tA=Q0XkY4WbZ+W4L=lWRW_2j7n0OO=3>aHW1-en4(H_K zq1I6ZoQtRvq1KF3l!m2{(`P6)`fR9`92_P#m;>1~G)yG&D5NrkVvj@OhlL4PF{E;M zn8@FH$dWO%!A?kgJjIql{+<*j&RY{?#T1HdfXq!M!dghybc$UJsZA$B6J%Bf#jb`F zWD;QoWI_&^b0Np`Xxpg#FzXxw(i>9{X6-2@Gk9K@wG{zL4=xL{D#|H#52SJtnT?Q` zB?K#i%v?%G`x|mJHx0ATJkc?flK?P*c z9wJPJWHyjl2`N5EyKRCrARzm~4~1Fl8!7fUSxCb&+8}g!xHWxcxH!iZko8p*dmOTJJGU86ggl0Er((W+CKcOoTYv_^}aIZXB5_ zA)%AWOoD_@;oTsU6Noztk~A$sWJwuh*L2$89HcypHrNI!&y5gSvH_A%KpV`2)E820 z=!^&}x`?)23>iO@Vi!Ut&!TN-K-RH&2ogS>6-Q%xHjfi$kB*vOg)Yf3G})|RLxCW zL|U^W$lL%K6%{E?cRpmyFpABAj2jUte*ApMxKU)5Kn^2-5FZ_BZAX9^F*?#(f&gp)}cwD3v5=UkNWJx@kyCBmilUV^7GKI{^kQr0Stc7e&BJ%=d zcQPGfL`tN!6#CHl zuNYDoY3)G}=8Q;d6#~qYkoqDrN6ti+%p!9(BytX!>5#>9$!vn`E+KPFX{0r@jLc-n zdNzm7kF<_1pxBs&k=8~89O5iw)M7FVA%iQ(oCcX!N#;(-g=J(WEswOqR*;zpiC#(O z49LzZG9y++T89w84X=*0au8tFLr$-uj2gW*(#l3aY&B%|Ix;sw!ZwhZ4>_`l%rToI ztttd;J9G*%{Aeo7fd5vUlg`7D|X3`P-;-h5FhEyCQb3f$5aWco9z%NF?Ayz`R zoh0)(B;ypB#gORJWR^iH&XTzovgsU|M<7w>$;^T5x4G28fDEzKEyPM?_hXk+fSHq#}x9cS0tNB(n(86ipk1jgGS7 zV=1-}vS?hC$looH!{aG-#DplTY$BPvAbTe9Zj+;|wFzV%fiz8}4MrtKS>eePn*=$M zMrQPM{E7@R=R*pzY1P7TVw#q`IEC`yoqq zQ|x|7R0El*kcPvw+u$Qn)&&F{c<_lvT#)-!sDGeX>E{T#9N0D2 zNc8V~6)Jr?`Vi1=b06+kp#Xb{S(Qzop1+03`|U4ekWVL{Y%$S<7V|xQaBs=sXoqk= z-rq+zS1-EtL&tyaW_UujoONTL4!`sx!(@9A`F2qK?q_nJ=J{#i)5)DdHkhQq@>N>y z@d&8ny_j5)s?H+$bn<^dHkc{&5A>&*?*vd6_hNF|CP`+WPQC+Vlf{1cq$<6oX9ciN zKgsC*bL7kl`*id}W{Jie2hFVX0d?|IOfK%EZsm|qkX>&-Jz+);@ZxU`C4;*4btaE$ zr{FT@ksWT;#l2Ab;O)R-xxgM^qu*n6z;;fw^y!Iy*DTTEOJZUkIS$m3A2NB5 z%a_DjnC<--WP^%`yK%H&AQsdU{h2(l#=aXz?@H1#`Wuj2Z6!7Z5f~5L(d)bC0XpV02KyALLPtIw{Jjy_$J2{GPB{V45uY=-ONcyu>~jTQ zf*X@R7=gw5VsVRTETH?oVsP4ZaypiM0_=Kk{3n17CVKHLA^KRsVNf6ZMrLv$lci55 z|8A6I@l2!-lKdE;9+(>z9ahigwTZ%~gZ~8Bpupja^fWi!9@HOxW%9tba?X@}Iynqv zw>i@ms-I6!dgk?aP_GGPa#gN8f9%uAksup1&UmavyhkUf8>s!mncS`Uu@-vAj>`!Y zB_jr8gIRC9@{@Ao3s9GMd_wtLvq7Ff_K7sBc21C|g50&N^$O_QGk_-4R|0#-)r>xS zgDQ38b482$>^lrI8eh%|Kz7^*>QmP|2m}ETh6o@33gS!7&CO~jT+G#>@npl;T!PgC8&g z`{VUT;^OsQK)>qE;Qqz3nPZ<0_A~=y!La}j1a$Fp48CoE1hY>EdmDlAv8(`5ELH%z zp$~)0|08Q3`*g6c5g6Zxp+z~{03Go*gYTUo%NzS#!J@qR18mS>h*h7W!59l__ivdz z%w^T5n3!-WZ=zT{2(rPT8IN?)Xzor>%YtQ^SIf%BKArq1$Zid@d-I9+yitR(1k~Px znB2YjJ#Q^F7*Ckx2D&(U9Q;L4?-|SFifhyfB%esL>m|gKAe($UOsrE7ZN3+d26 z-grJr6py#S4VUbW_CtH*b4|4<9$$go>XLs?A8$H^Bf%_|+yPtUaDaU}_iGa_elK0M zE(G(0@q@ z7vGz3eeneoG4Nak=4r{@|GVr&*r%s=pa~bNereX$V*<__g1Er0sa5kXsa&)mna>@E3Qkd-?V0$?u*%59R|C`Mjmsi}uK;r}tNP zu6z0Q_T`T+`+@nPXCzAW~U#fi|pPmoFCS1GpcpOT!J5^v_G>OmKus2kFBcIM4V#3AjG(C>k5lnx{ z?UN$&mwh^SsN(+HGDy4;&{xc1JqhN-*l)x#$aNiKZ+fi1g}Qk)8l8f(VyPp(_)uMF>b_ zEo8*sL`Z=|R#9vMO?EJhBiot`9NSwrUe z>S^ zK-depz-Ii$Y1XjKbciI#!TM=ddk-v7**eXN*fve9!94Nmf>BigoEH&JsvyR*H2c?&arZr&wEZQmi|$juaA_n<7r)aL9B7 zBq$$pgk#S_X5~@rKFFDTm>$l^f)pzW0oyJuOtE$#z&s3znn7m9oD^#pf;a_`sJRq7 z4YC^nNgGs*G$3HNg3=W000OohG%v*}LO|@C@)Rp#5yeh|6blpUX(7=|DE8da6su|( znL8k1%V~p6klYm%TMpSROyplxiZy=~#nwVft0{IuO^S660SAt*O|jM^VB6BQDc0yZ zicNtm6((xNX8a%oWYjT8=2rR@#gLr{h@H4S#Tv4cb{h}L*iGj0y(!kP1~L;MGll7J zRvk>SP9CD&!WvVoX-%}jOvv2Bv_S=P!c@1Rs`9|Cr}04W{}6RV~|Q>`&!sbYz7Dr5-)ViO`$tz8I+ zJq?)QAj8v;KlVUePBC{wqEH~BKgaASlWLzG_CKQ4@17;g6ib};oJ&N5q zH`NL*rPvtAkTQyGT##xdE=(1tI}MUrj#v-pT*#0`w86$Dsn)Ct+HE;xWF^H8S&1Ky zfNkp_hlJ^H*8iPqO|7EX8Ia||bU0_PO0}Y^DK;6hLYNNcuo{>MAZ&%46egIgd?x;`zY1ZL=v~A@6H0ulkk`sL(%_=wu)5EzGGWQV0u7OlHlDQYMw290u zkg~&Mu7k`wLS`K#^%$9zkcG#|tcPTs2xk2XTs7&ff*N`ZmmH;J{*Q5MvyrZ zQWTXg&T%DV$}pH7&e@O|!)b$BNaBceQ4(iDnh-z;9hq*8A4R*(hE$B9*e#F=DIVS>DI+gXCb5p0Y{73l5TB60Qd0LbZhN4I&gV#hP7fyhIN&Pb6#kM zl@gXAk~0^Q6P_V{MOjLQwKom14(H;98P>{jijCQvVU6Aj6Fng0JOU29>STsB?-XtO zH>BV+#g;>&&XYMAl5>F$Q3^TF=G^d1Yg9z0NZGC_nO0FkrhsKm&9oLJWr{;oK@yW` zgKS838f{Pq*_uJ-=*&!ONEVr=$}+753o=D|C)H$Hg|&$Fa9-GvX$9}5*vu1|Rucja zk#joJDn@|09FlW}%%*dhR>pZc+8ju3aF%Fo(g$Z*%Z6qN?!1sJ>u@Myk=5Z@Ry{%+ z^aqd`5wyW#$WAs-L2@Ip0fxYktSH*80g^Qw+j=<9K*o=t4Yoo;N0ONcS;Xe9=qzjA zXeL0`k0HWwNL38Q?uQh_lDP*mejJ%IAgkCs011tw*tw7zHX9)k<0-ZjvYpKfkfaF| zTL#(5=AemLRtf@s#R5o3JegA=i`g7EDa*=7zy>QJd)W+`oMj~-AhsA%%VrZKVhY73 zL&_7#JPnzVNaiX?`ZO{ZL-w&5mXu}XApo`lGC7&dIgqFnGE*T7+1vtIoJz6VAjQ)u z&zc|;(kZqG5|Kf%YaquEz|G9evUVWA49?23W+A|=flSRNvjno6&DfkQs|*1fY=ng8 zl9>dF$Rjfu@;96NAUXLIy9~06&9MbpR!kwqE`{u5bI^<|D;@#d21s}jnMsh8nPe`2 zY-aN`Wa=!69bb%XmuFd*TFw!W=?EyExsa7B$gGE?tfFo6A3TgNb(`tEg!N00cqF` ziEAV?8B&ITDqRanKTL%AkgVfbq6sR6l%AjsRzs$pq}^sgB7?K7ZWp0R49&JG5s*FA zkU3#wZX20xrN(4iSG095NzS(Rq)_afv}|iR0=Au*lWlEBKzhzX%JRvqhEx}1i#oj% zaUILlVl#oB@elL}o5z7n{c_v#tE46uSfxvLna3)XzB$GIDp0$l$4vse5w7uPB0K z?9CAe&TGiAwj&_6YDlg%duXnRT?5GogX!U%K0Mc2j)2%*kkS!ku7pe;nJa$9T*&BA zxq@(dQm%C#0eKdkoNJ9mfO)Vy*GgVQ8{|Vu7SnFSHso5{5Wt<%lxrPCfEgQ>XB~>j z6Gdv(s649y0o>f^JS%#1o`8kN5sC@B*wvEWQMvluDm-ol#J+eS-y8tqDIGIx*GolN`6;TCb-Tuy|Y2LL-r<}pZ0BewN$RyP$|2aX`t!+9Wh zhIMMl43V<6BW74LM$Hh1SO(c1O|cgsJI2khF22aQaa@U2KDorY*mBlG<|dSgGqe(t zkys*Niy&FE5!=C83mGz}M8NVOo7p@IDJ!PfHIStxCE~Yjf~+Z}*!_^P^T|F_PmjKR`g;5y*12CKJZUD}L>b)~}*NH4;X zu}F0Yg4n2#q8{|<+pkwIm>0EmTxl~OEJI9>`ThD|b5WnNvmZnTJNi06cZ#+0|M+v# zzxe;sp$^xb7T+WCuHOCn)eGm9ov^!yu+(3BWwfg5XYq!B+?^o#F^&X#@B16hAh!}6 zWp)gVyVG+L9PQioORo~K|2RJW9V{YS{rg`D{a^8|0LIB9=T1Y7v)ke=qi zJHgedaCltPyir?m4nPDT-~d{Z9w7 zC{6v#!>KG6MM^j^6xSwLx_YqwLwfv6Y3okg%gs^kC8pU>Kf?A<#NF=OsTkJg%|**W zf48vkL4@BmD4$ZTSczztpR2YKDo(^L!H&B}WT&}C|HFRiAOCXs2Nyh-2+edU0h;Ik z(?6XePw*f9$RrClMtovF?*m)>(#Qpg*2Kk$))nZ9A&U{v?W~6!VKZb&q7{#T*b>N6 zHrGLRv3Ud%jN2R3TP28xq^_XjI2<`(*Ot@$635+{sE1u*`->Z;;&0-zL~Fxxy7jOd zQjdEc1PCTCwylc2>E?F7A&DaI!go%yvJo%_sDu>nViPib58XwW4Oxi*##YGiy<|>? z3~HclM?k6&FdWzciQPxBb0Iqq(yfJakoZFsn*(V?0BmUEG%Ftg=0eDXQ!p_egDesz zMt_j=7l<%5ILTT$nC?i_LuL#mGjUiFE|ZhQwr8S~tdKED;#W+WkYp81OcImI6_Bm* z6nhdd3vunaP@A^DkPZiJjh zz=5Y_C0WyO2LFME)Yn+aY=_Fhv8gD0=u8+RuBI%Jxv)HXY zysp0SNXaGy;S<%a%_@)Bo3>u|IhOp0`g6D_$r?M8vjwsY0qLlN9G^wzkl9IA3<6>k zA!Fwxi6QND$RY%syE;hLTspu4$kJkpT?aXXfWyX?;3Od6EbW8LDkWGIA=a5 zS-WZ5<&c!U6gvab*nsq6QU`K!AH|N@pJdHBm?W+fRzapV(J!uqoIZ||+s--s1kTb) zI>b@PinH{KcS0IQB#SH=G&0#5IhxEANKtIExPMj!iHJ)UzhW9>&_ptaLo(vYoCBFM ziOfPseFB*WAfZWQ#zHF7h`Sz=G(B1T%pyo|I+-z$dNvP3=44T96=YC85ynD-=OkN~ zwsporRxJk1!`T1{uA~h{Lsl+J7C-)QH4d?sj%4pJH>Lk=IMZKIAQ<7%AD0?4RSWF|vKpQdf6Lq?t>b1Ee6Ji(?z z4hGYGrI0}>*7C>{k;pBOnZxLQ)!&daBkAtg$WbZQq0zL#kTEINg|TEt$EH|i2*|U| zkn}h*=R*##89E*}7bjC}31mScnd>1DNyME1sYC!_R5A#-wTZLoxLj1zNbx_HKXmnS z_!aDUjH;~opKH||g#x@5K_I#d-@UP)Jt;QA-}J*t*8HPX#PUMt5l=n1T6#L_9 zg8sHbf?r$ccUDU5Ef@NaT?dUplx>+L|Wf3J&gc66#$i{R?JTpo8g z?u$%75I!+FXmh)0!rI@{hWpE1lhduSQ)sq&9%K)jrxVhxUDGfx-NtzcGCCO>;D#e4 zJ~LgE|9nV87ENcLg(PPaVK$_R%?ml{)`>h!a(g%@=BHch3&@Ns1a~%Vdjb+Nhi1VO zAlYorge+il6J*$2+BOr?gn+y|4T&lyGX)Y>LWC)hLN;q4+t}O(InL(D(sU~Y0l6>- zQp@HZ$ozTq+iD?$%jjsakcDing6u%RZigWu^T`|sNku?%W<#nub{k~F0^SyKY$3r$ zl&4$yD`8sBrI6y)*sYB-zb4%(MF6)JvYpLSkn~!LErl#&bK;tGD-8kL9)%2BOWZ`r z)H>YWz(fUP>N<+8T%T^OLqHMVv?1Nvi-6sZLk4dob0j35%^XN60=BJ!Z0Fb`kg=O6 z*5Uo=;q(g^&ZnjKaCB%d2HK+dbc_AyPO==1vD4G7c?dW}4dgtVW7F|75fJO}F4On< zdogCMm(XnDcE~w4PgG=CV=F0EjN-cfv+5;}$+ngv2x9j#su`4mHbJoi{({vG;pB>J zYsTNS&0@&5shG06!8tTB$J&%cGjhiv^NJDM-nju1T81e*-0Om@L_q1@4p~@^4LqD% zAk!ApoZcMB!oLyQ#}2OBY2>ERsGlx>|mfyB0P#+^iL2&FJMG{-s_h51FiQ*2m{6*HV- zlOP*Lk$Di39!+K`Wab!{9?mLAXdKKo&WVt!@wCAqNaX}FcS458=ZNe}faFZ3-Bv)h zB9}yabkCd%_*Hmoj(hZN>mLuL?f0%SRx+aY6SQEV0@bvBOT;amx+ zoI~i1kfn2JgH4c9+Vz08^A+I+^(&#{goi1U2wqCWpDBfJ5@fLvq=i581}1?)5R-ri zpst1l7m+y*vWm^!kW9?}p$s`Ln}?aT1hB-_b(>FPe-Iai809*K?<%npc9)1BRXn8B znlQ9fyjCPPtkgP)0QS)EQfp=$=K0z>7eUg-Q*1FLWD?9a&T){K$)%#8B}0Z!!}Or# zjEC$)5QL;sYas%v<2p!b3hh=6iAbdlCPNx9t7x@D{scQpf4m!$7YRt5%b)Ae;5-sK z9tjos*&W*;ujwTiXjvSykc444F6y)L*s~uKRN10B?M(5!@IsizT=5YV|w``E>4U zCS1HvogOq=2xgeR0rPY}=AJE(k0Y>8=e}dY_4V=ZDV}Kac=bESfp?i( z{Hn}f_UYVrO}O6p%$P{;Q7~_OkGXxHmCNPXr*q#k;rig44&uDs24+O}fpp#yR?Bk6 zKAjt6!o}Bo=qck-U>4oM-1dECePf@_ecy!Z6~Lb^E&=oAyP12oT-G=C>D&)YxcF!W zeJ7#^n9l^t^j^>9O!{>0hbCM+YDVwacnM6eN0=M_xjb*|)4BcKx$f;GzQcs#;0Ou; zbJe5FjSu5?Qu=i6NABDf+Q~q?I0D={FuOd)T*nXcys=N`er&?U$ByaopPRs(`~-6c zZjq1EuutcHV#38Em-JX%GMEidGdD9`mS6Vi+)quo{sDO3IP#$h%<27@TewiQJLJ>3 zpP6v+jY@j1F&E51uQ9jF2>JLL`*iN-MqE4}DB8(zFpqr6-1@na%RZg^g$Wm58l;zM zoCfpfpP1Y2Rat)7r*pqF;o>=GdI<9`Ff$UFd#|@FXYA9tUkNToJKbJs({arIeo)ds zz}HvwaQUF_o5tiXm#H&HKArrvdy3s_Tp&KkC2Cv~nA?(=yFZp|ob>73Z``@=H4a~< zq|fT?1#?3(b2IzM9A=-+9pKJ&Pp`L+csYzCXe*dasmvYV$LW za8H7{X*zQ|rOKX@eLD9$6K(*yBGK~f05c+kxj)}6O9cCL?)UCo_k6&|&?z5Ag85yZ z%!j_557MV|2fB0J^8ruW)0=F50n@jXxi$C7o}PU=_XiU$-cUw0<6$swUBcXl8)Z#q zpU(YJa65FI-kvp+iS}3C%vlFT!bLdD-0+75Jw_z^!- zmR;}RaXshRs35UTi&=K%^&V|HMN^iE>!8v9xDNXItNvogpo=R9Ivz%Nx|SLPDRuD3hX{r{I;4KlkPL6XO{=@`>WZv85AYf$$f@oU9| zL2$2k=x5So2_~g~!X{{(AM1W)5}oAq@@k872;?k5%Zto@5#ov*xy z-mopyOg?V!L28fp!&KZC)07o)h4PMFq~bn4qO5KMlsE7(WmUhWtfywH?P@wJ>;GO< z-goX$ao1l^)|A7_3bD^%f}MhAhAQvOKa>^sw6eB;r>v!SDQlU%@AG#0ZoXZmpk|!f zF79DvbwK^*d@21=StWhc9$#Fototz`&D)Kcs;sRaDr?XW${KQ|+M`{7vc7yvc`F7f zYhQ@+-u|45yQGh@wq2&Y{q3{*#x*J~6Kxu&C2)yI}S<%5q@ zT*G+?H~lGPJ^GjO9=lpu zyTd1rtcIk}0R>k!jrL4`*D{DfUvXA zo*%MP+R^TDmfK^7YP)P)dzsqzjjNRvU>~E}E}a!^)zRA8weiOODsJO9YTrtG{L;=Q z_r5`SzqH$f%bjZ9?q4YDGCO^F_Gt4NTqSZj{lOmf720QJ=JRUbXYF$|Ay@73xt#}h z+Vwoh?nyH3QOjt%*BxLV_bxl{$8=S^!*(yZ0oRzEssOv?>VLP2v+Q=QI9SE~W|zd0 z_f?t~pH$x6!76U)?JDlu7-f|_sJyXuuC2LBd9U29tcx?0wZv|pe|$pid&XCJ=h|^Q zhpV{y>(q9S+o@XJPsPR8sO>U*l=YU~`V`rH-Ys7%?|pVFwaTvXFHct9E9?~9WtWJl zBb2w+zUuhwEfsg6kFq}8p{(~-D(jJR$~tw8vMTHm$|Bo3XCLD-yEk~yZsnh_%g{?- zD2hj8HmEpHdvuuMsp7tWN9FUob~`jUM|q#J z%i0YdDsF3MWrc57mcMgh|T#v3(_yZI4CI*zNPx)oQy>epXh&CS`p! zMCHb2d%IP3c|PA!d4ud8`-wl*zF*qooGiN~{OT3uo${ixChk<$qFQBrVwcm(L>0I7 zh_YU?Tjdv?Q7M>|rMx5Tyx-QS;$F7@i`Hef|5|bmd+DoU$tZP$}Jfld@J+DerLmO#f#0 zOpR|U?$$I8LrZQ^ z-b(wI_p)20AMRG((HALRp*{NV60f{}{GqH)c8jzrO~pO)|5SA@fOQP*8{e7DttXR9 z+oVnJX;0eCYNk!^_eu$(jY>(?wd#JUDs{gn1VvB;K~V%j5ClPx5(GgIzThATqC$fp zD)>L|Ci9;8_iN4j{m$&=ncbb8owMh8c|7zppT#S=tuEyK+iR9t;)QojbRPFtX?$*s z=P^j~VzXB(c~8g0n`O`T&8NLQviy{vIYT#?diS4aqAtE>eml{y%#|kE>X~RdU&*C> zhnU3u!CY>Gw`Q9?_#)RV`&*KUB;Sup`Re(Id#=xxnq}AWy<)-ch8?@fL^rN7>&u^P z*wic&-N}9DBdlWyx7EXZ9-MxRSxZTUiTa*4(PD1Dho3iW7eD#0+Q)2d^&Io*jvT}4 zxz%3be)lZCS6st)rj`6ma{CCg><~VJfAaX{G+y%~L(SHn$~MvWtY{K%2kgY z+&{!@F2j1pn?2~@@z6@%m-P*%-j}OQy&YAC{mlK#zs-hizrjSW@|?mh zX_nn0%%`WbjwY_x`+)hh?`X5cA!7}j$^BI__o5%2Vd`~nF!e_Ac@^Qky6zP7Y4Reo z#4tWfnzi}#{iP=Q=VKF{_L7M*`M90Sea?vs%%{im=x`^u!E2k$rz`l`>X`(?$PRko zY3y3=r6PRq(R^(+@HjSkH?#Li>1NsIZ!ys#zPexLy{9*C2DY*DRui4VPj?s3HS4=+ zi23v}?sIOQXIShnCb}_XqK$mlxRu-VH=gmIvD(yoeVp0G{nHKmka}cQ5zeDQ_9p#P_`XKEuxA9zBW2VXIb{^_|ZBK`}qc zt-IPRTgc<_2YL@*c%6#Wv};5)Vs?>X}tG^-1dKS zyCjvHdgq>PqC_6ot;#a&{C!OHJKwQy<0pqP+&@3UGex&;GfRBHXPD&K-|bE2)2U@f z$1i&uc1f~{4t~)@eXp5%*YLQmafA8vkCRN)%V+Ex+!w#c{Y%wxW-X%*G|^S* zX4!AJKi%VV^J&FS6Rqd5z#rUGkK;SefjkPo_iM96F5i=Poou%8#l7a!t6AIKEr#6_ zXQEAf4*key*qeN9HRhW2?ZLg{lYg3J&)90BN0ykVqQETi17E*46q!$N{L4i5axeM< zw^|9Gb=z(<^@>h2>#OH}BZu!jhwyXHM((*{3(XP@eBb|%ucJfPnNRm#X0}nq{ZL7b zVf%e&qN(4T=qf%tYqHH+Vz`gUYGF)DfMAt(#$% zNZ~fUke4|68B_00zC$diHf$k}MO*lqo_e5J-|@w!UMBYkE&CgG4sY$3PYv6RwRz{7 zwTx^qpRUO>k^ixYlKDy*c9UUi!zTKYTWAly*Y4!LZZEznp5b%tmxx(5#K(6bkJg9t znC4tQ51!h~?5W_p>BYjV<*eIHM5g`&cZlzJJaqF7hW)m{tYwdRhTV9%iSFk%ef~+q za)z47=a!tzSHLnJA@5+lKU`y$n8o*$54lZGQ^Z&7uo*}sm%O>`IEts*Cx zHRrB3pXx@#KI6T*`ZL2u9&hTcnPJ#o+*`cPWBzwuFrQ{~i|@zxygq)y{g2P~KlxhC zy3{Ot$z~H(vbNW`r~ZS-o$-9ujqfr`to+$TB@<0_44);>PBc2c;lAX)eGNN4+bmJW z{p9CK=F|7yF`qW@{bLS~kzP+RpU&ZH^?^jg4&ysm?ull78{1Ae#DsI1b>kV7@zKO=oG0~5F54e_(*53D+ zPj~R$dFoGwmGgN&PMGb^=6*b$dxqb6RPgfaX4$b1o9HxtN_g)Goc4eQ|kbkCE_r^|R=Y6qY9`xlrcmcMPH zQ9P41WUN{C34S(R@u;a6=Ii5azE+$0-nfZ-sXHc_wH$hpS$0qEr6PR3tm04K<+H>; z$Sm>INE1EBM}N_mhMmR7{0$!GJbJ$QG@aLS5})@wqG$V6rry`u?CI}+8uk+(g+@L* zzu@g|;NzCbz3nkPM^W*ESYjv< znwW?(31uqEVJOp4jzl>cN)tJuw9;uPXP}&gaxTjG zC>Nnz63TEw8Q4SyHj#l%WMC5+*hB_4k%3KQU=tbGLk_{=@kdh54*^rVADcO*c4Jp}>k_{=@kdh54 z*^rVADcO*c4Jp}>k^?C@kdgx_IgpYADLIgm11UL>k^?C@kdgx_IgpYADLIgm11UL> zk^?C@kdgx_IgpYADLIgm11UL>k^?EZPAC^rav>!bQgR_B7gBN|B^Oe1Ate`5av>!b zQgR_B7gBN|B^Oe1Ate`5av>!bQgR_BcjAIj?mdf8E)C6Y49#BVhGuV%4J}@Vf7|0x zhEOV$DJX}cOhY*Wx5Li873GGRka}yP?!5r=y&SayH6&C>NkyjB;rx53QAl z*2+U`<)O9m&{}zDtvs|=9$G68t(Aw?%0p}Ap|$eRT6t)#JhWCGS}PB&m50{KLu=)s zwerwfd1$RXv{oKkD-W%e?}YNvTKQ(`?7Ytj0(X#HBWel1$R7Oh{4)~`kD*P``n(fYM$ z{aUnsEn2@8tzV1QuSM(EqV?;XP#vVyK}sE@)Imxeq|`x59i-GjN*$!sK}sE@)Imxe zq|`x59i-GjN*$!sK}sE@)Imxeq|`x59i-GjN*$!sLrOiQ)I&-=q|`%7J*3n_NX6q8x#86v{Cu$D_LZQO-m;8|6Hd3s5dbxir)aDb0}53@Oc!(hMohkkSk(&5+UzDb0}53@Oc! z(hMohkkSk(&5+UzDb0}53@Oc!(hMohkkSk(&5+UzDJ@Q@1yWidr3F%2Af*LTS|Ftb zQd%IT1yWidr3F%2Af*LTS|FtbQd%IT1yWidr3F%2Af*LTS|FtbQd%IT1yWier4>?I zA*B^kS|OzsQd%LU6;fIur4>?IA*B^kS|OzsQd%LU6;fIur4>?IA*B^kS|OzsQd%LU z6;fIurOgSoK}s8>v_VQ6q_jaw8>F;BN*koKK}s8>v_VQ6q_jaw8>F;BN*koKK}s8> zv_VQ6q_jaw8>F;BN*koKK}tKMv_nceq_jgyJEXKjN;{;qLrOcOv_nceq_jgyJEXKj zN;{;qLrOcOv_nceq_jgyJEXKjN;{;qLrOcOM4V6rQX-HNfs_cOL?9&sDG^ACKuQEs zB9Ib+lnA6mASD7R5lD$ZN(53OkP?BE2&6DSN*APbK}r{-bU{iNq;x?_7o>DSN*APbK}r{- zbU{iNq;x?_7o>DSN*APbK}r{-bUUGLNa==@Zb<2dlx|4rhLmnd>4ubUNa==@Zb<2d zlx|4rhLmnd>4ubUNa==@Zb<2dlx|4rhLmnd>4ubUNa=x;9!TkdlpaXwfs`Id>4B6U zNa=x;9!TkdlpaXwfs`Id>4B6UNa=x;9!TkdlpaXwfs`Id>4B6UNa=x;UMJKGDZP-= z3n{(Z6GOerl2N9j9F8&_Wd_R8D953kfN~PbER-HfA7u{8X((r)oP}~O%K0c4p3z``l3fvIQs?p1FM2f-`O`#~8qNx;VigGEMNzojN=25heqQ#+D;ou+I zBvznN5XDmzqDWDcLeWr)(kL21(I|?>P&A&ROp3x3O{OTDqTMLc6iugSCPlL;nn%$B zifG$7>_Y^O`w)Qxk0_3!1d0+VN}?#0qG1%JQ#6vI(G-oPXaYqODaxW~3PnCeQz@E8 zQ7%QZD4Ijje2Nx^hKlV=L+P~fblNzgIEoS|N~9=>qEw28QIt;6NQy>NG?tc?{8sf+!k3DJAsYh)%4l(@+eh7Q-USDFS-kBbd0e1Vae}0ho|3@7? z0IA-}Uls-4VjDIdd)6sf0kJ1Tr%#PXmE+DmZR4gh&-nkp3N4LWG2ttG8|pYeDg2l< z!F5KQIclt~Ozb)MI~)T@49cuiio zWM;U1gx7dST)6I(aD7&|>1XM6+%(GD7V^4%uR9^!H^gfRg&RhOD>J;3^Su5XuXU~0 z;CVeF_^Z5*k*MHxC4_rJUgPj^Nt)L(g?6QFve%#N)s7Eu?h@hlA>qEs;of21=G&#$ zay}IGyo=sl!v~XW;xMRB4lkPRl4YwzHTRpFDX}I@3 z5$?Fe+maiuJi_Z)9&S$cnosnaW_s;=c=e0CMjbBsR(O?p;cctDx;KT_ogc1yRzjcG zcYxRPgbYVUdtGC^%?V!B12JCrb`kCxAMXFu^}42dW$|8v^tNHo(mf1CFx;(5_j-nS zool_uyl_)$xMHPOxjx*P<~2MNi{-pXrnfE8>u*LID6c-nE13}PogQu*?sd%wcMtP= z=6GGhyt>5j))8LisBm*exIEF@93O5PgtwAVV( zD@*WNhI{48s|kf06TH5paCvIDb*i`dMd8&agj-gI%M!!wG2!||ulaf5)z0!-E*0TOtk<_9Trtz@ob7d^^$zfQ z*MzsEhRZJu_unMK4MV-M#a{LBaMy0(Ug`BeBEywyy_RkqqEv5loY(X*)J}#BuXa+n zCeEuxpuC1f-qujKcC^=%;FS&YI#a#+cd=WEI4#1FpXm#^J9=y}M zEr*Az&I(tB!x)P!jkZN=#`-0R8kwj_m{o^-=q z4~g)WtAy8ChEq4jE1T!HPxsqXbtKKNO4XZ(>Mf&mWVK)Wnedw?_*+x`&7*Z~x~?0c z>nG^OL|rcZtv?A}ldrdq&=tq~ox^lz$Zv?#eZzD|nl4M%Rgb&6sZ!{Q^Zlk9gl?SU zH^um^cMHE>>(rvFwvEdh1r9OXm7`!rL}R_m0%{<8{>x zzx+7em8knY-7#Ko9jzmYy8Axix25^5!*tImzjw4>KUtTg>Y5bYGDPawxAZKz+Z z{GO4zB2jOS*KH|&TavEDu9V*>bk7Lgo}f#H`<>~21@zhbFh@uJXGXX)w~T`^2I4b|nbe!tXJu5JkFdg<3n z-5_;Mtge-Qz0_^N-$to>Lq6ih7~L*)zw|3(bg%U5T)$?t-W=z*$I_l}i_;|=eN^5Y zL;u~HfUe7L8t#{k@hgVh|wq zbn8RHZ;#iVd+6$Ob#uJlGEes>_%-|JiicBm{Tr@dKa(1%CRcZC6SUWnTVwndtiNwh zf9nTASMRS|GyNLncZ||)#kwC7Q*`rCT{%(LC+IC{IqoAR^~=ZUviosP9N9qtE%=|satW{_bT0d zlHVHV_oeFgiGKfFU7hMz4$)1E{O(v?mq~3=vQl>s@f$|!raN%;ZpCHxpwO*rbmb(C ztyg1%Wy0@X?YAWAmZ7?Kq8}OIH(x1q=Ulzzd7=ArbmU!JAm{0_G~Ju1t8)FGNxE&m z?q5yaN6kpTEQ6$0gmlLczcN|(57!k5ep!z0n4>F`{94bipP{!MqTA8jBX!AVu3x#> zZ_Lu0ll+nkbkjz^Yn0!5fgkbw2IZFz(~T4LmJxn!l5R=Tod@a21%A_L-JY(iC+HrW zO!2yBjbD|d`>|nkQob%9rAre1vLw3PJCv?X@cUwQdA8rFbx*Qx&hWcuqi^u5r|I6w zx=QJ?(Yh-gP3pI2(|-32rJb(Hz$vJ^pg$iSpYEFFS7^U+xNb)WIaWtT>z2{F?*-v+ z8RO$5kEH3%=v8p?7wA?`mtU+~#_QT!gkP8LZ@WwA?n+#od+M%C9T}lpNBeb?bjO8$ z9d;!{S0(DUWW8mqE}5?@J{P)aU%mNBp)2>)t<(LA-Tl6sai#A}@*@*<(@b4I)NkHH zHz)gb!~Jb1=(1UKVd}_%x_!Kkps&Q0QmD6GCiLb-x}!i><3tTEM)XYmY5tZWe%DgJ z{8^#fX6P1AS6(hOE{CQ`y8U$B@O-T99;3&I$u15cKkstX!Mz<)xA;mAj)i)LQ7QfQd)oHpSUH1(0J3<=woJ#awXP{~P zio2Hbk>*IC%`)KST*skAlnbcdxQMcQH-UVkx zysnP*o6&L#2{asK94v9Srd z4P9z=wyrzO@0{s(?WNn3b!V<_%+PIP{Ia>a{yucC=sD z!8z41-rshTE?J;EGIe=a*U^ntX&j7ltQU9tz6p98?!$4qd%W(B*S(|Z_PBMWZcWrB zN9cxOy8Lb2S5UWXhHn21_sj*lex~kC(j{Z{mP7qWJ9?Cfe)l@vK2JC9=5JZ#SMS38 z?0%g3DSqV1Sifheu1=x9+a~Ew^e~yaqcS#5 z=__@Gobso)>#w66@s}$U8O(sjNYFtA1_(u#HbBEtqv#>LNCq@~XcUpj4N%&!C?dBTp!DHUM7B3T zBhm~~x%j^$)6M@CicD~TGDaBWsNdoMMvXK;C^E$X8l4eESL2NcpfRJOh-`9z#*U66 z^2-4lHztb6I0tC_Sc4q3C?8s)}zVFQFB;~k(WSq3@kAUbN^DCk)Q;CluLMYcRZyJbhw zzQw_cr}|MuMm?yNvs)CAV-Jv?YLKH=Q1egAF#zZF_F%E;+8{^mJOp)er&(YKz>Mhz z2t~#|Kr?frh#Y=^X3dBqvibpnGnlMvAE zOQMJ@g@E#wMiF@n0WI4-ipXRLXpg)oBDW!+J(n5esAn$%$loIhD)$B0YtJb7W)r~P z`BCte53tW(1_(u#L_h_5M-h1w0qwg_6p=|0(DH&PBDW%-75f_GsLI6vh0CKLH9_@F2vcO=w0WQ{?Nnp_BQ z=)qAiqzK@!Lktj#Op|~PKhz*c9ZMJ15r-Kd6qzUitv%czN7al3IPwSsgd$TVpml4b zh}@Ncjyf`m$Yu%X=yg#AD4?^?j3RP{0y^icC?b0(pmWcTBJzm>I`5n)BEu-4^UpQNQS0bb zzTmtl$T||>!t)If%Iydiy6A!^B10+Ey7Da=QY$;rb{d+bf_Ow;1H8Lrw&^=>`LYA{#8AiW?1b)IDne zZoVlBdg=7LrNRKA$Q=vl)|(A-RG$Y>d5Zx;ky{qfZMQ}d*=7OVUKvH?p9OTsZBax< zT0mQGkD?)KgIagq5k+LJg<5xQjUw{c0=oOoC?c~hplx?W5xH&w-E(&ok^L6Xz1yOQ ze7Jz_yC;gskPE2l-Y6nxE};AGGssbIP~$yNWdLqwsloOhyx$;4Jx)Wp>Ib6WCmP*8 z^q>Jkk%1S`!_`qlPF_HdJYz+*L0&_x&N)os z?9+hSKaL{uQ3Lwqe^Eq+YCxa1M-e%z0e$v~L5|u;trYpx0HMff4e0aFqKGWlfWC-C z5qYlxeffD5kqH}6#}`pVZfrnbeHlf|21a>bcNpZTXAVN0Z@w}>D6(k->ijy2$gd6P z+iwhV)Gah#_^#6cp~$}t==*OCa?}_50d#$5fKcS;2K2-CQAEaWKs&k&a@27&@cHqF zDERk6fbJbpux=f|Pd`S%Ws3lQ?lwRua(@Hb`BM~aJUc)=KSvSy!J*bKI}LKwOM3(S z+7ktey5HY^iGq*lhS&RR6r7U^@cVBD;DKmhLg0_yC?fYb)cW)HC?Xp` zQ~I1zNBrv;>ZlP(#Dw_IVuxUe;gm|)HJf@ukx?B{R|uw#`T*UTQyL>AGdyd=4AhJj z!35OcR1;a*QQbI!+B^Y8wsu70MJ!WCMK%&k5OEfJ6O#i@=@1cbvAAI0L-=K&S)-#0 zMpL~+F@%{=WQ9jmiI7E;^9Ht^BoZx37I{=RStyH=T^`XCkz`S_&Lf&Cl9@Vcc?Pke zB88byWT;1Um`JrKnd=c9E{0l^jP{78iD67Je}T)!DNPr{nc;$~9aw&ZNMq`#lW}@D zr6WZ;Goi?ok7$M%VNo*ZBRWcqv?!VN5gjcuEK0_GM8^pDe)I7o6F;J3#b}F?p&!w4 zVhmG9-Gm2Vr*ym+%S&vi~?y5lSSB~WEx0xipa9)>wN=tJu%s$WF|;;v&9sqj(Te{ zF<*Ghgd&SUqPvM~i;~?S(W%0>C|M5@%@MmXb=1ehh-opEnNVa%NOYRWu_&1n5}huz zMaig;Xs(!MQ8FzgIzvon>Zrfx5SuA-nF&Q!hD2wH85Sj5L!z_AOpB7mA<;QvmPN_# zkmy`7+oEKBNOYc(gejM8NOM# zd|*2Vid9SYI&ZyPmKxRUbtt8bvNEBO?EGCJr5vwgqc9TR876)0B ztS5;cBGxc<)B`h!9V!lHCKMS`5zO+0{1{@Vic^?jU-9Ekq8r5qi<12& z(bL4K7Cj|nfSxWkT9j-#sqQ9m8dDtWU<`GJIGveLWY$SF&lH<1O2(Z;&k|=?luSH{ zo-NK~>Zq!T#Lf|CF~jWb;3(u=aW+#&jlztkQ+l2_$6^I%6FXm=%S*VIFBht z8z&IEP@K<9C^7^kdXc!mqQ?b~2Ttk5;zEm(Q7F~DL|nwwQN!>hfKyr`E@mba*@qG> z6_+q|RC#dyUMfnM2{rGlftr_zQj3zoC@o(mE@kSdms-HPCsb zxZGmz2Y2Mn;tFO$ktr!HeU-S;MrJ~hIV#bc#Z4C7aM{4tZxIz1CDT-@d#kvasiWQxdj3jr z3p1g}N|kEfCT_JT*{Tw~T~so~-Q;3ocZl1V;Rzs^9db&yirXzp#;a8KPH_iQM{PKe z*j-|)#qQpp*xlkzW$E75zz-AvI^K`(u;*v3pKvTmiC_lbKfN;a-U ztHiw)B}-SL_lx^1x^nrz{y!k9EJ{|dRQEw~KT}6t7hEUR;sIvp4|)b_J|rHrD4D_1 z@(+t@i;^)c(MQBX7A2EdqBY`Si;`h1(MQE2OdXYgFMyrW$3zV?p~yy-=;Pv1i;|@* z(OU5sQ=F?O6MI5DZn1yyuaqRrxU zi;~?g(Kp2#7A5OlqHl?2i;@j5(YM8$Oz~yL;lx_RTg-$ab6%qFh_{(Ksw)^NzAIWR zwsslSdr!Q>Oeiw%CE6<9wI~_+5`AC1#}wbb7m}<6*kC{4ZOK|7^MEs8# zuE@cW>!+ffsiTT8P3Dw-CO)y)c|m(b#HY-JA}e94`MLPaqGT&f^a~NOC|L{>{Zf2x z(GRx|&<^p1Mag=Y>V74@v?$pS6a89rSd=V@iGCx#V(O?*@l}UY+9|$fhNm1@`4RnA zd}C2EEhhS%=(H#q7!&GxRWVB2*{}8=Q9rfZQ zVt{K?c&X9e>=yF?!|p~#?_*7~>ji>agP@HK~1+Anr7 z6N+q`iT)%0X6mSm@IH!D`mg9`hE^IJz5OTtu_zfkQ(Z^?Yf&c-1huIs3@pzleL zam<7w`)H~;M8;b*dGWwLg=7L#N39H6I#CX>*qC@)TFDSIp~z~QXp&5{DA`UEO_s`{ zWI;_dMJ8F4?5K&R%4DXFy8k?4LuHD^x`KP!Fqvwx-!OZR`BXX7Vwo$6rO9Cy+v*WZ zm&2I}MP}ASN60j$c$Fe}5*jJ-dpDl-oHRH-$&e!~N_N+@{3tonqHoO}P&ry=FvWK# z!JO3?Im%+c1+&>>C)L%uJ~72an+HatTw6T>@2k zaw#*R$hMr8UnX~Fif>th=b1fZ9y6iH%$#cODVH&I)PWO-<;y*o3ANAQ*7uToGQ~L^ z^fG(Pd}czC@i{HOkKD_mWP(n#K<>@dQBMZF&%SaWW6QeluXr$?l1Ra>ZqfZ6DyJ{nF&Q!>qJ+{{h4AW z>U3fU$Rdla57>cn6*Hm8ik)f}%L6P*w(LY#%LAD@sw0?5J4hB=Y-P|+YvgKXLXmAd zEq$;&$f9K7PV^AD#-e2BPV`WDutmw*o#g=;QL=)kx<|?*m}2Z4%(1SMYnkCYp21^vlswX+WEM}$A1&8el#Jtv9wU#kD4EC; zJyssg6wfVVi5(}8VI~w=%M(3b9&6F$!O`;x@;Hl<!APK*=gV^~Hs^R^7s&H0 zc5N`myHK8Qu}JVNcaglnVmi1-UMw$UCKTE2(;6?47g?07_lcIsiax+s$-8_%jHS#KELQx6;qUG{xrs(BE#IBXs zFhhSh_{4ObEVn2n381>y%WEx42?L03k=HSW{?){8kk>QAy<^-!%^T$wrWniOl_RJ0 zCV2xh%xxb$P_shb$kb8uVyWiM@+M~Jdk06Ex5x^nn8jW}HE)$SGsByjgWtkb%3CZ- zNeQU#ZSq#8jygP;@xEPFG82kY6;RDP7VshYphYRI0@Zz3 zR$G)(ED(J}KE%{f*)xdM$cHWV!#Ttrm5(sPoAadu+kZ^fSd`K+P~FGnqZXyq3`A?? zV-}?}4Md-ik6V;dHV}PM)-rX}m|*PilzhTs7YBW0oqUoR-ntmKDAThq+Ywp2aQ+W-dRFt;{f!`{KYlKa}q?b=0`v zuG%I)U?vnL(4cjGBtNt$CDS1Kv20`NsKnr1p8v^@nBkdnux7jbn5m-{PNAhgk^i&U z(qP{|mF>*%lsx!7^k?!DrjFV+mzIvmPnqE@hQX(d&*f(pee#b1onOd^MJZtit>H`g zxkV{?2hk4sg+(cm2hp$Omlma@9z?&E9TueoA4I>AUs;rreGu)GUt9E=!I{r* z+%T|)?_{S%DIo~0;d}Y5MJYK5(JuL&MJZ7T(I4dZOda)JFs|AmyDV099M$_#{$R0D z2NLU+JD3SYDMg6>B!9Fhr57Rkv+TAgr5Yi+Q~qR8N;^WdNB(Tl^@DRIzsQ{yrF0}z z_gC3tQA$lh^f&p7MJY`Q(O&thMJZ(o(ck57OdXXQ%ohA1dzlGEiA<>GpYnH$Qc@G5 zeew^BQi2nrf5|^BO36-$?vi~>@gt8oVt>oOmA-+T}<(schEcjBmZWGS>3_A z=D)JvqLd_smj6%w!_-lG1Y=&u{g)Zu6d#-w7Vdu*r8FwEymTGc%+6s30x$GqPSq96 z@cl=@z?NcMOrZ|W<2mYwU@Q>px)!@3c*iQvMNOXXqvR{J&Un}UrS!eQI6A?N0o zAvh<8xbe);TMYK0AveLIl&FQ)ndlC&C?#zns@xD$%nAkLpd>eunNXC~u+EWgxodhq%z`?JDaJa?hKxb=DBm2VFX@1 zP;mJN zV2*LMdmuCXlHm4%wI1XaGsQbg$J5el+|?HQE|^O@*gc4uP?QphY98XQu_&cSB6_HM zFjL%z=Mg*1J%ky0$jb+oKioakqLe_1>K@@9W>HF}M0BltI8#UE1m6!F=^kM*KRA2W zxoepTHF@y*!o`|k@PqHW_ zdm?&@dook}4kma%aD%&^nNXAhifW$fo?=nmIIssB-3=C{)KFCSH1|}CQkp2Dr@I?1 zN-3j=ZgNj!ifcWXl{mva-C}zMW1KVHP0TRUHTccTS?(DYrSwv?&a>S!ElR1Th@Rt~ z#S}k#3Z7}tb_g?L8W`_4uk_MK(#=Xj-lvs-$K6LQN~zC?*1C^bl+vIPeZqa*qLdPi=#y@( zMJYWR(Wl%eEJ~@;h}OAJT9neJ5q;Wy%A&sv&ig#$)-iR|zd^tKtot-G^d^J%&U*J5 zrjFVi%%nZ%KFbWYK$i{d>+^2CMJe?fZT|)LIi`;KWFxT#_j!wT1mo)$-4~b%wdY9# zOTXkcSd`MV(ef|5FEVx1j^GZ{=)PpJ{R^nxcK2mwLQxtwqOZ7(7NwMKL|=8cTa?nf z5p8l`u_&c_Bl?>AszoX78`0O@CW}%EIHGU3uUYi%!Ml93`?^IbH5}D_(|yCDlqQbo zTW+&ODP3(ieN{vUf!~Mdd8wRh_ zuiP)0!n7_Jp?~dmFvAr&_zuoD?pGG2M0&K=PWNkzQc^vl-@4yeloIR_{m$)VisuHG z*!S+Y7Rwk-tjqn5nNXB~kLVBX_e>r2PVmk44!4UL#=?VdEBxsGU{OlZN6UA+J1k1+ z`iTDI{%BE3-AD9ix0|V>{>ve@)BTB=P?XS*Xpj4|MJc%-(O=x17NtagM1OUAEJ{iL zi2mmO!W2$ArxWXSe`SWJ$-#M?-`(FVN@)S9?jLS1Q%8LtjL`mce`h8XB@3jQeeNGj z9rgJ+#Qt*sWF{1)5G159+9`!MMqd5f*C-zBP-9 z!Aqz-UrGrKY3bM)m#L%12J@wHF{sNmDXk&ZjE{-6Xv&2H%O}J{jVLGoHBMeU&c*Ah zG4ZIn>+oH|DGkLW48-o}m@{IX+r~SiV_<(dJTWHD!4Ij1shHV+#X5S|e@QV310PYp z`qvS={tAtYb%rO$C}+y9(Ls%rm}Dmj$0+y{QjSa=T6uIT{@;)o$GORowsebop|~W{^aKll=gr34Oagj{@Aqp%`=fc;ijV`Ang)%J@`|>JL{z4fA}*x HjsN@~_}|h0 diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js index df97e160..071344d5 100644 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js @@ -1,34 +1,34 @@ -(()=>{var __webpack_modules__={28440:E=>{function webpackEmptyContext(E){var N=new Error("Cannot find module '"+E+"'");N.code="MODULE_NOT_FOUND";throw N}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},70797:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(N,"numberLiteralFromRaw",{enumerable:true,get:function get(){return q.numberLiteralFromRaw}});Object.defineProperty(N,"withLoc",{enumerable:true,get:function get(){return q.withLoc}});Object.defineProperty(N,"withRaw",{enumerable:true,get:function get(){return q.withRaw}});Object.defineProperty(N,"funcParam",{enumerable:true,get:function get(){return q.funcParam}});Object.defineProperty(N,"indexLiteral",{enumerable:true,get:function get(){return q.indexLiteral}});Object.defineProperty(N,"memIndexLiteral",{enumerable:true,get:function get(){return q.memIndexLiteral}});Object.defineProperty(N,"instruction",{enumerable:true,get:function get(){return q.instruction}});Object.defineProperty(N,"objectInstruction",{enumerable:true,get:function get(){return q.objectInstruction}});Object.defineProperty(N,"traverse",{enumerable:true,get:function get(){return G.traverse}});Object.defineProperty(N,"signatures",{enumerable:true,get:function get(){return ie.signatures}});Object.defineProperty(N,"cloneNode",{enumerable:true,get:function get(){return ce.cloneNode}});Object.defineProperty(N,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return le.moduleContextFromModuleAST}});var $=R(52696);Object.keys($).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return $[E]}})}));var q=R(11891);var G=R(22056);var ie=R(75769);var ae=R(91764);Object.keys(ae).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return ae[E]}})}));var ce=R(70797);var le=R(5499)},11891:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.numberLiteralFromRaw=numberLiteralFromRaw;N.instruction=instruction;N.objectInstruction=objectInstruction;N.withLoc=withLoc;N.withRaw=withRaw;N.funcParam=funcParam;N.indexLiteral=indexLiteral;N.memIndexLiteral=memIndexLiteral;var j=R(80853);var $=R(52696);function numberLiteralFromRaw(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var R=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,$.numberLiteral)(E,String(R))}else{switch(N){case"i32":{return(0,$.numberLiteral)((0,j.parse32I)(E),String(R))}case"u32":{return(0,$.numberLiteral)((0,j.parseU32)(E),String(R))}case"i64":{return(0,$.longNumberLiteral)((0,j.parse64I)(E),String(R))}case"f32":{return(0,$.floatLiteral)((0,j.parse32F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}default:{return(0,$.floatLiteral)((0,j.parse64F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}}}}function instruction(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,$.instr)(E,undefined,N,R)}function objectInstruction(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,$.instr)(E,N,R,j)}function withLoc(E,N,R){var j={start:R,end:N};E.loc=j;return E}function withRaw(E,N){E.raw=N;return E}function funcParam(E,N){return{id:N,valtype:E}}function indexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}function memIndexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}},46166:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var N=1;N2&&arguments[2]!==undefined?arguments[2]:0;if(!j){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ie=$.node[q];var ae=ie.findIndex((function(E){return E===R}));ie.splice(ae+G,0,N)}function remove(E){var N=E.node,R=E.parentKey,j=E.parentPath;if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var $=j.node;var q=$[R];if(Array.isArray(q)){$[R]=q.filter((function(E){return E!==N}))}else{delete $[R]}N._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,N){var R=E.parentPath.node;var j=R[E.parentKey];if(Array.isArray(j)){var $=j.findIndex((function(N){return N===E.node}));j.splice($,1,N)}else{R[E.parentKey]=N}E.node._deleted=true;E.node=N}function bindNodeOperations(E,N){var R=Object.keys(E);var j={};R.forEach((function(R){j[R]=E[R].bind(null,N)}));return j}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var N=_extends({},E);Object.assign(N,createPathOperations(N));return N}},52696:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.module=_module;N.moduleMetadata=moduleMetadata;N.moduleNameMetadata=moduleNameMetadata;N.functionNameMetadata=functionNameMetadata;N.localNameMetadata=localNameMetadata;N.binaryModule=binaryModule;N.quoteModule=quoteModule;N.sectionMetadata=sectionMetadata;N.producersSectionMetadata=producersSectionMetadata;N.producerMetadata=producerMetadata;N.producerMetadataVersionedName=producerMetadataVersionedName;N.loopInstruction=loopInstruction;N.instr=instr;N.ifInstruction=ifInstruction;N.stringLiteral=stringLiteral;N.numberLiteral=numberLiteral;N.longNumberLiteral=longNumberLiteral;N.floatLiteral=floatLiteral;N.elem=elem;N.indexInFuncSection=indexInFuncSection;N.valtypeLiteral=valtypeLiteral;N.typeInstruction=typeInstruction;N.start=start;N.globalType=globalType;N.leadingComment=leadingComment;N.blockComment=blockComment;N.data=data;N.global=global;N.table=table;N.memory=memory;N.funcImportDescr=funcImportDescr;N.moduleImport=moduleImport;N.moduleExportDescr=moduleExportDescr;N.moduleExport=moduleExport;N.limit=limit;N.signature=signature;N.program=program;N.identifier=identifier;N.blockInstruction=blockInstruction;N.callInstruction=callInstruction;N.callIndirectInstruction=callIndirectInstruction;N.byteArray=byteArray;N.func=func;N.internalBrUnless=internalBrUnless;N.internalGoto=internalGoto;N.internalCallExtern=internalCallExtern;N.internalEndAndReturn=internalEndAndReturn;N.assertInternalCallExtern=N.assertInternalGoto=N.assertInternalBrUnless=N.assertFunc=N.assertByteArray=N.assertCallIndirectInstruction=N.assertCallInstruction=N.assertBlockInstruction=N.assertIdentifier=N.assertProgram=N.assertSignature=N.assertLimit=N.assertModuleExport=N.assertModuleExportDescr=N.assertModuleImport=N.assertFuncImportDescr=N.assertMemory=N.assertTable=N.assertGlobal=N.assertData=N.assertBlockComment=N.assertLeadingComment=N.assertGlobalType=N.assertStart=N.assertTypeInstruction=N.assertValtypeLiteral=N.assertIndexInFuncSection=N.assertElem=N.assertFloatLiteral=N.assertLongNumberLiteral=N.assertNumberLiteral=N.assertStringLiteral=N.assertIfInstruction=N.assertInstr=N.assertLoopInstruction=N.assertProducerMetadataVersionedName=N.assertProducerMetadata=N.assertProducersSectionMetadata=N.assertSectionMetadata=N.assertQuoteModule=N.assertBinaryModule=N.assertLocalNameMetadata=N.assertFunctionNameMetadata=N.assertModuleNameMetadata=N.assertModuleMetadata=N.assertModule=N.isIntrinsic=N.isImportDescr=N.isNumericLiteral=N.isExpression=N.isInstruction=N.isBlock=N.isNode=N.isInternalEndAndReturn=N.isInternalCallExtern=N.isInternalGoto=N.isInternalBrUnless=N.isFunc=N.isByteArray=N.isCallIndirectInstruction=N.isCallInstruction=N.isBlockInstruction=N.isIdentifier=N.isProgram=N.isSignature=N.isLimit=N.isModuleExport=N.isModuleExportDescr=N.isModuleImport=N.isFuncImportDescr=N.isMemory=N.isTable=N.isGlobal=N.isData=N.isBlockComment=N.isLeadingComment=N.isGlobalType=N.isStart=N.isTypeInstruction=N.isValtypeLiteral=N.isIndexInFuncSection=N.isElem=N.isFloatLiteral=N.isLongNumberLiteral=N.isNumberLiteral=N.isStringLiteral=N.isIfInstruction=N.isInstr=N.isLoopInstruction=N.isProducerMetadataVersionedName=N.isProducerMetadata=N.isProducersSectionMetadata=N.isSectionMetadata=N.isQuoteModule=N.isBinaryModule=N.isLocalNameMetadata=N.isFunctionNameMetadata=N.isModuleNameMetadata=N.isModuleMetadata=N.isModule=void 0;N.nodeAndUnionTypes=N.unionTypesMap=N.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(N){return N.type===E}}function assertTypeOf(E){return function(N){return function(){if(!(N.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,N,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Module",id:E,fields:N};if(typeof R!=="undefined"){j.metadata=R}return j}function moduleMetadata(E,N,R,j){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"ModuleMetadata",sections:E};if(typeof N!=="undefined"&&N.length>0){$.functionNames=N}if(typeof R!=="undefined"&&R.length>0){$.localNames=R}if(typeof j!=="undefined"&&j.length>0){$.producers=j}return $}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"ModuleNameMetadata",value:E};return N}function functionNameMetadata(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(N)||0))}var R={type:"FunctionNameMetadata",value:E,index:N};return R}function localNameMetadata(E,N,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(N)||0))}if(!(typeof R==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(R)||0))}var j={type:"LocalNameMetadata",value:E,localIndex:N,functionIndex:R};return j}function binaryModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"BinaryModule",id:E,blob:N};return R}function quoteModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"QuoteModule",id:E,string:N};return R}function sectionMetadata(E,N,R,j){if(!(typeof N==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(N)||0))}var $={type:"SectionMetadata",section:E,startOffset:N,size:R,vectorOfSize:j};return $}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ProducersSectionMetadata",producers:E};return N}function producerMetadata(E,N,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"ProducerMetadata",language:E,processedBy:N,sdk:R};return j}function producerMetadataVersionedName(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(N)||0))}var R={type:"ProducerMetadataVersionedName",name:E,version:N};return R}function loopInstruction(E,N,R){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"LoopInstruction",id:"loop",label:E,resulttype:N,instr:R};return j}function instr(E,N,R,j){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Instr",id:E,args:R};if(typeof N!=="undefined"){$.object=N}if(typeof j!=="undefined"&&Object.keys(j).length!==0){$.namedArgs=j}return $}function ifInstruction(E,N,R,j,$){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var q={type:"IfInstruction",id:"if",testLabel:E,test:N,result:R,consequent:j,alternate:$};return q}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"StringLiteral",value:E};return N}function numberLiteral(E,N){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"NumberLiteral",value:E,raw:N};return R}function longNumberLiteral(E,N){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"LongNumberLiteral",value:E,raw:N};return R}function floatLiteral(E,N,R,j){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(R)||0))}}if(!(typeof j==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(j)||0))}var $={type:"FloatLiteral",value:E,raw:j};if(N===true){$.nan=true}if(R===true){$.inf=true}return $}function elem(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Elem",table:E,offset:N,funcs:R};return j}function indexInFuncSection(E){var N={type:"IndexInFuncSection",index:E};return N}function valtypeLiteral(E){var N={type:"ValtypeLiteral",name:E};return N}function typeInstruction(E,N){var R={type:"TypeInstruction",id:E,functype:N};return R}function start(E){var N={type:"Start",index:E};return N}function globalType(E,N){var R={type:"GlobalType",valtype:E,mutability:N};return R}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"LeadingComment",value:E};return N}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"BlockComment",value:E};return N}function data(E,N,R){var j={type:"Data",memoryIndex:E,offset:N,init:R};return j}function global(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Global",globalType:E,init:N,name:R};return j}function table(E,N,R,j){if(!(N.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+N.type||0))}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"Table",elementType:E,limits:N,name:R};if(typeof j!=="undefined"&&j.length>0){$.elements=j}return $}function memory(E,N){var R={type:"Memory",limits:E,id:N};return R}function funcImportDescr(E,N){var R={type:"FuncImportDescr",id:E,signature:N};return R}function moduleImport(E,N,R){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(N)||0))}var j={type:"ModuleImport",module:E,name:N,descr:R};return j}function moduleExportDescr(E,N){var R={type:"ModuleExportDescr",exportType:E,id:N};return R}function moduleExport(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleExport",name:E,descr:N};return R}function limit(E,N,R){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(R)||0))}}var j={type:"Limit",min:E};if(typeof N!=="undefined"){j.max=N}if(R===true){j.shared=true}return j}function signature(E,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Signature",params:E,results:N};return R}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Program",body:E};return N}function identifier(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}}var R={type:"Identifier",value:E};if(typeof N!=="undefined"){R.raw=N}return R}function blockInstruction(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"BlockInstruction",id:"block",label:E,instr:N,result:R};return j}function callInstruction(E,N,R){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"CallInstruction",id:"call",index:E};if(typeof N!=="undefined"&&N.length>0){j.instrArgs=N}if(typeof R!=="undefined"){j.numeric=R}return j}function callIndirectInstruction(E,N){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof N!=="undefined"&&N.length>0){R.intrs=N}return R}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ByteArray",values:E};return N}function func(E,N,R,j,$){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(j!==null&&j!==undefined){if(!(typeof j==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(j)||0))}}var q={type:"Func",name:E,signature:N,body:R};if(j===true){q.isExternal=true}if(typeof $!=="undefined"){q.metadata=$}return q}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalBrUnless",target:E};return N}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalGoto",target:E};return N}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalCallExtern",target:E};return N}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var R=isTypeOf("Module");N.isModule=R;var j=isTypeOf("ModuleMetadata");N.isModuleMetadata=j;var $=isTypeOf("ModuleNameMetadata");N.isModuleNameMetadata=$;var q=isTypeOf("FunctionNameMetadata");N.isFunctionNameMetadata=q;var G=isTypeOf("LocalNameMetadata");N.isLocalNameMetadata=G;var ie=isTypeOf("BinaryModule");N.isBinaryModule=ie;var ae=isTypeOf("QuoteModule");N.isQuoteModule=ae;var ce=isTypeOf("SectionMetadata");N.isSectionMetadata=ce;var le=isTypeOf("ProducersSectionMetadata");N.isProducersSectionMetadata=le;var _e=isTypeOf("ProducerMetadata");N.isProducerMetadata=_e;var Ee=isTypeOf("ProducerMetadataVersionedName");N.isProducerMetadataVersionedName=Ee;var Te=isTypeOf("LoopInstruction");N.isLoopInstruction=Te;var we=isTypeOf("Instr");N.isInstr=we;var Ie=isTypeOf("IfInstruction");N.isIfInstruction=Ie;var Ne=isTypeOf("StringLiteral");N.isStringLiteral=Ne;var Me=isTypeOf("NumberLiteral");N.isNumberLiteral=Me;var Le=isTypeOf("LongNumberLiteral");N.isLongNumberLiteral=Le;var Be=isTypeOf("FloatLiteral");N.isFloatLiteral=Be;var je=isTypeOf("Elem");N.isElem=je;var Ue=isTypeOf("IndexInFuncSection");N.isIndexInFuncSection=Ue;var ze=isTypeOf("ValtypeLiteral");N.isValtypeLiteral=ze;var We=isTypeOf("TypeInstruction");N.isTypeInstruction=We;var Je=isTypeOf("Start");N.isStart=Je;var Ve=isTypeOf("GlobalType");N.isGlobalType=Ve;var qe=isTypeOf("LeadingComment");N.isLeadingComment=qe;var He=isTypeOf("BlockComment");N.isBlockComment=He;var Ge=isTypeOf("Data");N.isData=Ge;var Ke=isTypeOf("Global");N.isGlobal=Ke;var Qe=isTypeOf("Table");N.isTable=Qe;var Xe=isTypeOf("Memory");N.isMemory=Xe;var Ye=isTypeOf("FuncImportDescr");N.isFuncImportDescr=Ye;var Ze=isTypeOf("ModuleImport");N.isModuleImport=Ze;var et=isTypeOf("ModuleExportDescr");N.isModuleExportDescr=et;var tt=isTypeOf("ModuleExport");N.isModuleExport=tt;var rt=isTypeOf("Limit");N.isLimit=rt;var nt=isTypeOf("Signature");N.isSignature=nt;var it=isTypeOf("Program");N.isProgram=it;var ot=isTypeOf("Identifier");N.isIdentifier=ot;var st=isTypeOf("BlockInstruction");N.isBlockInstruction=st;var ct=isTypeOf("CallInstruction");N.isCallInstruction=ct;var ut=isTypeOf("CallIndirectInstruction");N.isCallIndirectInstruction=ut;var dt=isTypeOf("ByteArray");N.isByteArray=dt;var pt=isTypeOf("Func");N.isFunc=pt;var ft=isTypeOf("InternalBrUnless");N.isInternalBrUnless=ft;var mt=isTypeOf("InternalGoto");N.isInternalGoto=mt;var ht=isTypeOf("InternalCallExtern");N.isInternalCallExtern=ht;var _t=isTypeOf("InternalEndAndReturn");N.isInternalEndAndReturn=_t;var yt=function isNode(E){return R(E)||j(E)||$(E)||q(E)||G(E)||ie(E)||ae(E)||ce(E)||le(E)||_e(E)||Ee(E)||Te(E)||we(E)||Ie(E)||Ne(E)||Me(E)||Le(E)||Be(E)||je(E)||Ue(E)||ze(E)||We(E)||Je(E)||Ve(E)||qe(E)||He(E)||Ge(E)||Ke(E)||Qe(E)||Xe(E)||Ye(E)||Ze(E)||et(E)||tt(E)||rt(E)||nt(E)||it(E)||ot(E)||st(E)||ct(E)||ut(E)||dt(E)||pt(E)||ft(E)||mt(E)||ht(E)||_t(E)};N.isNode=yt;var vt=function isBlock(E){return Te(E)||st(E)||pt(E)};N.isBlock=vt;var bt=function isInstruction(E){return Te(E)||we(E)||Ie(E)||We(E)||st(E)||ct(E)||ut(E)};N.isInstruction=bt;var xt=function isExpression(E){return we(E)||Ne(E)||Me(E)||Le(E)||Be(E)||ze(E)||ot(E)};N.isExpression=xt;var St=function isNumericLiteral(E){return Me(E)||Le(E)||Be(E)};N.isNumericLiteral=St;var Et=function isImportDescr(E){return Ve(E)||Qe(E)||Xe(E)||Ye(E)};N.isImportDescr=Et;var Tt=function isIntrinsic(E){return ft(E)||mt(E)||ht(E)||_t(E)};N.isIntrinsic=Tt;var kt=assertTypeOf("Module");N.assertModule=kt;var Ct=assertTypeOf("ModuleMetadata");N.assertModuleMetadata=Ct;var Dt=assertTypeOf("ModuleNameMetadata");N.assertModuleNameMetadata=Dt;var At=assertTypeOf("FunctionNameMetadata");N.assertFunctionNameMetadata=At;var wt=assertTypeOf("LocalNameMetadata");N.assertLocalNameMetadata=wt;var Pt=assertTypeOf("BinaryModule");N.assertBinaryModule=Pt;var Ft=assertTypeOf("QuoteModule");N.assertQuoteModule=Ft;var It=assertTypeOf("SectionMetadata");N.assertSectionMetadata=It;var Nt=assertTypeOf("ProducersSectionMetadata");N.assertProducersSectionMetadata=Nt;var Ot=assertTypeOf("ProducerMetadata");N.assertProducerMetadata=Ot;var Mt=assertTypeOf("ProducerMetadataVersionedName");N.assertProducerMetadataVersionedName=Mt;var Rt=assertTypeOf("LoopInstruction");N.assertLoopInstruction=Rt;var Lt=assertTypeOf("Instr");N.assertInstr=Lt;var Bt=assertTypeOf("IfInstruction");N.assertIfInstruction=Bt;var jt=assertTypeOf("StringLiteral");N.assertStringLiteral=jt;var Ut=assertTypeOf("NumberLiteral");N.assertNumberLiteral=Ut;var zt=assertTypeOf("LongNumberLiteral");N.assertLongNumberLiteral=zt;var Wt=assertTypeOf("FloatLiteral");N.assertFloatLiteral=Wt;var $t=assertTypeOf("Elem");N.assertElem=$t;var Jt=assertTypeOf("IndexInFuncSection");N.assertIndexInFuncSection=Jt;var Vt=assertTypeOf("ValtypeLiteral");N.assertValtypeLiteral=Vt;var qt=assertTypeOf("TypeInstruction");N.assertTypeInstruction=qt;var Ht=assertTypeOf("Start");N.assertStart=Ht;var Gt=assertTypeOf("GlobalType");N.assertGlobalType=Gt;var Kt=assertTypeOf("LeadingComment");N.assertLeadingComment=Kt;var Qt=assertTypeOf("BlockComment");N.assertBlockComment=Qt;var Xt=assertTypeOf("Data");N.assertData=Xt;var Yt=assertTypeOf("Global");N.assertGlobal=Yt;var Zt=assertTypeOf("Table");N.assertTable=Zt;var er=assertTypeOf("Memory");N.assertMemory=er;var tr=assertTypeOf("FuncImportDescr");N.assertFuncImportDescr=tr;var rr=assertTypeOf("ModuleImport");N.assertModuleImport=rr;var nr=assertTypeOf("ModuleExportDescr");N.assertModuleExportDescr=nr;var ir=assertTypeOf("ModuleExport");N.assertModuleExport=ir;var ar=assertTypeOf("Limit");N.assertLimit=ar;var sr=assertTypeOf("Signature");N.assertSignature=sr;var cr=assertTypeOf("Program");N.assertProgram=cr;var lr=assertTypeOf("Identifier");N.assertIdentifier=lr;var ur=assertTypeOf("BlockInstruction");N.assertBlockInstruction=ur;var dr=assertTypeOf("CallInstruction");N.assertCallInstruction=dr;var pr=assertTypeOf("CallIndirectInstruction");N.assertCallIndirectInstruction=pr;var fr=assertTypeOf("ByteArray");N.assertByteArray=fr;var mr=assertTypeOf("Func");N.assertFunc=mr;var gr=assertTypeOf("InternalBrUnless");N.assertInternalBrUnless=gr;var hr=assertTypeOf("InternalGoto");N.assertInternalGoto=hr;var _r=assertTypeOf("InternalCallExtern");N.assertInternalCallExtern=_r;var yr=assertTypeOf("InternalEndAndReturn");N.assertInternalEndAndReturn=yr;var vr={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};N.unionTypesMap=vr;var br=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];N.nodeAndUnionTypes=br},75769:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.signatures=void 0;function sign(E,N){return[E,N]}var R="u32";var j="i32";var $="i64";var q="f32";var G="f64";var ie=function vector(E){var N=[E];N.vector=true;return N};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([R],[]),br_if:sign([R],[]),br_table:sign(ie(R),[]),return:sign([],[]),call:sign([R],[]),call_indirect:sign([R],[])};var ce={drop:sign([],[]),select:sign([],[])};var le={get_local:sign([R],[]),set_local:sign([R],[]),tee_local:sign([R],[]),get_global:sign([R],[]),set_global:sign([R],[])};var _e={"i32.load":sign([R,R],[j]),"i64.load":sign([R,R],[]),"f32.load":sign([R,R],[]),"f64.load":sign([R,R],[]),"i32.load8_s":sign([R,R],[j]),"i32.load8_u":sign([R,R],[j]),"i32.load16_s":sign([R,R],[j]),"i32.load16_u":sign([R,R],[j]),"i64.load8_s":sign([R,R],[$]),"i64.load8_u":sign([R,R],[$]),"i64.load16_s":sign([R,R],[$]),"i64.load16_u":sign([R,R],[$]),"i64.load32_s":sign([R,R],[$]),"i64.load32_u":sign([R,R],[$]),"i32.store":sign([R,R],[]),"i64.store":sign([R,R],[]),"f32.store":sign([R,R],[]),"f64.store":sign([R,R],[]),"i32.store8":sign([R,R],[]),"i32.store16":sign([R,R],[]),"i64.store8":sign([R,R],[]),"i64.store16":sign([R,R],[]),"i64.store32":sign([R,R],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var Ee={"i32.const":sign([j],[j]),"i64.const":sign([$],[$]),"f32.const":sign([q],[q]),"f64.const":sign([G],[G]),"i32.eqz":sign([j],[j]),"i32.eq":sign([j,j],[j]),"i32.ne":sign([j,j],[j]),"i32.lt_s":sign([j,j],[j]),"i32.lt_u":sign([j,j],[j]),"i32.gt_s":sign([j,j],[j]),"i32.gt_u":sign([j,j],[j]),"i32.le_s":sign([j,j],[j]),"i32.le_u":sign([j,j],[j]),"i32.ge_s":sign([j,j],[j]),"i32.ge_u":sign([j,j],[j]),"i64.eqz":sign([$],[$]),"i64.eq":sign([$,$],[j]),"i64.ne":sign([$,$],[j]),"i64.lt_s":sign([$,$],[j]),"i64.lt_u":sign([$,$],[j]),"i64.gt_s":sign([$,$],[j]),"i64.gt_u":sign([$,$],[j]),"i64.le_s":sign([$,$],[j]),"i64.le_u":sign([$,$],[j]),"i64.ge_s":sign([$,$],[j]),"i64.ge_u":sign([$,$],[j]),"f32.eq":sign([q,q],[j]),"f32.ne":sign([q,q],[j]),"f32.lt":sign([q,q],[j]),"f32.gt":sign([q,q],[j]),"f32.le":sign([q,q],[j]),"f32.ge":sign([q,q],[j]),"f64.eq":sign([G,G],[j]),"f64.ne":sign([G,G],[j]),"f64.lt":sign([G,G],[j]),"f64.gt":sign([G,G],[j]),"f64.le":sign([G,G],[j]),"f64.ge":sign([G,G],[j]),"i32.clz":sign([j],[j]),"i32.ctz":sign([j],[j]),"i32.popcnt":sign([j],[j]),"i32.add":sign([j,j],[j]),"i32.sub":sign([j,j],[j]),"i32.mul":sign([j,j],[j]),"i32.div_s":sign([j,j],[j]),"i32.div_u":sign([j,j],[j]),"i32.rem_s":sign([j,j],[j]),"i32.rem_u":sign([j,j],[j]),"i32.and":sign([j,j],[j]),"i32.or":sign([j,j],[j]),"i32.xor":sign([j,j],[j]),"i32.shl":sign([j,j],[j]),"i32.shr_s":sign([j,j],[j]),"i32.shr_u":sign([j,j],[j]),"i32.rotl":sign([j,j],[j]),"i32.rotr":sign([j,j],[j]),"i64.clz":sign([$],[$]),"i64.ctz":sign([$],[$]),"i64.popcnt":sign([$],[$]),"i64.add":sign([$,$],[$]),"i64.sub":sign([$,$],[$]),"i64.mul":sign([$,$],[$]),"i64.div_s":sign([$,$],[$]),"i64.div_u":sign([$,$],[$]),"i64.rem_s":sign([$,$],[$]),"i64.rem_u":sign([$,$],[$]),"i64.and":sign([$,$],[$]),"i64.or":sign([$,$],[$]),"i64.xor":sign([$,$],[$]),"i64.shl":sign([$,$],[$]),"i64.shr_s":sign([$,$],[$]),"i64.shr_u":sign([$,$],[$]),"i64.rotl":sign([$,$],[$]),"i64.rotr":sign([$,$],[$]),"f32.abs":sign([q],[q]),"f32.neg":sign([q],[q]),"f32.ceil":sign([q],[q]),"f32.floor":sign([q],[q]),"f32.trunc":sign([q],[q]),"f32.nearest":sign([q],[q]),"f32.sqrt":sign([q],[q]),"f32.add":sign([q,q],[q]),"f32.sub":sign([q,q],[q]),"f32.mul":sign([q,q],[q]),"f32.div":sign([q,q],[q]),"f32.min":sign([q,q],[q]),"f32.max":sign([q,q],[q]),"f32.copysign":sign([q,q],[q]),"f64.abs":sign([G],[G]),"f64.neg":sign([G],[G]),"f64.ceil":sign([G],[G]),"f64.floor":sign([G],[G]),"f64.trunc":sign([G],[G]),"f64.nearest":sign([G],[G]),"f64.sqrt":sign([G],[G]),"f64.add":sign([G,G],[G]),"f64.sub":sign([G,G],[G]),"f64.mul":sign([G,G],[G]),"f64.div":sign([G,G],[G]),"f64.min":sign([G,G],[G]),"f64.max":sign([G,G],[G]),"f64.copysign":sign([G,G],[G]),"i32.wrap/i64":sign([$],[j]),"i32.trunc_s/f32":sign([q],[j]),"i32.trunc_u/f32":sign([q],[j]),"i32.trunc_s/f64":sign([q],[j]),"i32.trunc_u/f64":sign([G],[j]),"i64.extend_s/i32":sign([j],[$]),"i64.extend_u/i32":sign([j],[$]),"i64.trunc_s/f32":sign([q],[$]),"i64.trunc_u/f32":sign([q],[$]),"i64.trunc_s/f64":sign([G],[$]),"i64.trunc_u/f64":sign([G],[$]),"f32.convert_s/i32":sign([j],[q]),"f32.convert_u/i32":sign([j],[q]),"f32.convert_s/i64":sign([$],[q]),"f32.convert_u/i64":sign([$],[q]),"f32.demote/f64":sign([G],[q]),"f64.convert_s/i32":sign([j],[G]),"f64.convert_u/i32":sign([j],[G]),"f64.convert_s/i64":sign([$],[G]),"f64.convert_u/i64":sign([$],[G]),"f64.promote/f32":sign([q],[G]),"i32.reinterpret/f32":sign([q],[j]),"i64.reinterpret/f64":sign([G],[$]),"f32.reinterpret/i32":sign([j],[q]),"f64.reinterpret/i64":sign([$],[G])};var Te=Object.assign({},ae,ce,le,_e,Ee);N.signatures=Te},5499:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.moduleContextFromModuleAST=moduleContextFromModuleAST;N.ModuleContext=void 0;var j=R(52696);function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,N){for(var R=0;RE&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var N=E.globalType.valtype;var R=E.globalType.mutability;this.globals.push({type:N,mutability:R});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,N){this.globals.push({type:E,mutability:N})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,N){this.mems.push({min:E,max:N})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();N.ModuleContext=$},22056:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.traverse=traverse;var j=R(46166);var $=R(52696);function walk(E,N){var R=false;function innerWalk(E,N){if(R){return}var $=E.node;if($===undefined){console.warn("traversing with an empty context");return}if($._deleted===true){return}var q=(0,j.createPath)(E);N($.type,q);if(q.shouldStop){R=true;return}Object.keys($).forEach((function(E){var R=$[E];if(R===null||R===undefined){return}var j=Array.isArray(R)?R:[R];j.forEach((function(j){if(typeof j.type==="string"){var $={node:j,parentKey:E,parentPath:q,shouldStop:false,inList:Array.isArray(R)};innerWalk($,N)}}))}))}innerWalk(E,N)}var q=function noop(){};function traverse(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:q;var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:q;Object.keys(N).forEach((function(E){if(!$.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var G={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(G,(function(E,q){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}var G=$.unionTypesMap[E];if(!G){throw new Error("Unexpected node type ".concat(E))}G.forEach((function(E){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}}))}))}},91764:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.isAnonymous=isAnonymous;N.getSectionMetadata=getSectionMetadata;N.getSectionMetadatas=getSectionMetadatas;N.sortSectionMetadata=sortSectionMetadata;N.orderedInsertNode=orderedInsertNode;N.assertHasLoc=assertHasLoc;N.getEndOfSection=getEndOfSection;N.shiftLoc=shiftLoc;N.shiftSection=shiftSection;N.signatureForOpcode=signatureForOpcode;N.getUniqueNameGenerator=getUniqueNameGenerator;N.getStartByteOffset=getStartByteOffset;N.getEndByteOffset=getEndByteOffset;N.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;N.getEndBlockByteOffset=getEndBlockByteOffset;N.getStartBlockByteOffset=getStartBlockByteOffset;var j=R(75769);var $=R(22056);var q=_interopRequireWildcard(R(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,N){var R;(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R=j}}))});return R}function getSectionMetadatas(E,N){var R=[];(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R.push(j)}}))});return R}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,N){var R=q.default.sections[E.section];var j=q.default.sections[N.section];if(typeof R!=="number"||typeof j!=="number"){throw new Error("Section id not found")}return R-j}))}function orderedInsertNode(E,N){assertHasLoc(N);var R=false;if(N.type==="ModuleExport"){E.fields.push(N);return}E.fields=E.fields.reduce((function(E,j){var $=Infinity;if(j.loc!=null){$=j.loc.end.column}if(R===false&&N.loc.start.column<$){R=true;E.push(N)}E.push(j);return E}),[]);if(R===false){E.fields.push(N)}}function assertHasLoc(E){if(E.loc==null||E.loc.start==null||E.loc.end==null){throw new Error("Internal failure: node (".concat(JSON.stringify(E.type),") has no location information"))}}function getEndOfSection(E){assertHasLoc(E.size);return E.startOffset+E.size.value+(E.size.loc.end.column-E.size.loc.start.column)}function shiftLoc(E,N){E.loc.start.column+=N;E.loc.end.column+=N}function shiftSection(E,N,R){if(N.type!=="SectionMetadata"){throw new Error("Can not shift node "+JSON.stringify(N.type))}N.startOffset+=R;if(_typeof(N.size.loc)==="object"){shiftLoc(N.size,R)}if(_typeof(N.vectorOfSize)==="object"&&_typeof(N.vectorOfSize.loc)==="object"){shiftLoc(N.vectorOfSize,R)}var j=N.section;(0,$.traverse)(E,{Node:function Node(E){var N=E.node;var $=(0,q.getSectionForNode)(N);if($===j&&_typeof(N.loc)==="object"){shiftLoc(N,R)}}})}function signatureForOpcode(E,N){var R=N;if(E!==undefined&&E!==""){R=E+"."+N}var $=j.signatures[R];if($==undefined){return[E,E]}return $[0]}function getUniqueNameGenerator(){var E={};return function(){var N=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(N in E)){E[N]=0}else{E[N]=E[N]+1}return N+"_"+E[N]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var N=_slicedToArray(E.body,1),R=N[0];return getStartByteOffset(R)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){N=E.instr[E.instr.length-1]}if(E.body){N=E.body[E.body.length-1]}if(!(_typeof(N)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){var R=_slicedToArray(E.instr,1);N=R[0]}if(E.body){var j=_slicedToArray(E.body,1);N=j[0]}if(!(_typeof(N)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}},18083:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=parse;function parse(E){E=E.toUpperCase();var N=E.indexOf("P");var R,j;if(N!==-1){R=E.substring(0,N);j=parseInt(E.substring(N+1))}else{R=E;j=0}var $=R.indexOf(".");if($!==-1){var q=parseInt(R.substring(0,$),16);var G=Math.sign(q);q=G*q;var ie=R.length-$-1;var ae=parseInt(R.substring($+1),16);var ce=ie>0?ae/Math.pow(16,ie):0;if(G===0){if(ce===0){R=G}else{if(Object.is(G,-0)){R=-ce}else{R=ce}}}else{R=G*(q+ce)}}else{R=parseInt(R,16)}return R*(N!==-1?Math.pow(2,j):1)}},35866:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.LinkError=N.CompileError=N.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var R=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);N.RuntimeError=R;var j=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);N.CompileError=j;var $=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);N.LinkError=$},3104:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.overrideBytesInBuffer=overrideBytesInBuffer;N.makeBuffer=makeBuffer;N.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.parse32F=parse32F;N.parse64F=parse64F;N.parse32I=parse32I;N.parseU32=parseU32;N.parse64I=parse64I;N.isInfLiteral=isInfLiteral;N.isNanLiteral=isNanLiteral;var j=_interopRequireDefault(R(11174));var $=_interopRequireDefault(R(18083));var q=R(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,$.default)(E)}return parseFloat(E)}function parse32I(E){var N=0;if(isHexLiteral(E)){N=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=parseInt(E,10)}return N}function parseU32(E){var N=parse32I(E);if(N<0){throw new q.CompileError("Illegal value for u32: "+E)}return N}function parse64I(E){var N;if(isHexLiteral(E)){N=j.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=j.default.fromString(E)}return{high:N.high,low:N.low}}var G=/^\+?-?nan/;var ie=/^\+?-?inf/;function isInfLiteral(E){return ie.test(E.toLowerCase())}function isNanLiteral(E){return G.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"getSectionForNode",{enumerable:true,get:function get(){return j.getSectionForNode}});N["default"]=void 0;var j=R(55474);var $="illegal";var q=[0,97,115,109];var G=[1,0,0,0];function invertMap(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var R={};var j=Object.keys(E);for(var $=0,q=j.length;$2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:N,numberOfArgs:R}}function createSymbol(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:N}}var ie={func:96,result:64};var ae={0:"Func",1:"Table",2:"Mem",3:"Global"};var ce=invertMap(ae);var le={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var _e=invertMap(le);var Ee={112:"anyfunc"};var Te=Object.assign({},le,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var we={0:"const",1:"var"};var Ie=invertMap(we);var Ne={0:"func",1:"table",2:"mem",3:"global"};var Me={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Le={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:$,7:$,8:$,9:$,10:$,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:$,19:$,20:$,21:$,22:$,23:$,24:$,25:$,26:createSymbol("drop"),27:createSymbol("select"),28:$,29:$,30:$,31:$,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:$,38:$,39:$,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Be=invertMap(Le,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var je={symbolsByByte:Le,sections:Me,magicModuleHeader:q,moduleVersion:G,types:ie,valtypes:le,exportTypes:ae,blockTypes:Te,tableTypes:Ee,globalTypes:we,importTypes:Ne,valtypesByString:_e,globalTypesByString:Ie,exportTypesByName:ce,symbolsByName:Be};N["default"]=je},55474:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createEmptySection=createEmptySection;var j=R(44166);var $=R(3104);var q=_interopRequireDefault(R(3930));var G=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,N){var R=q.default.sections[N];var j=E.body[0].metadata.sections;var $;var G=0;for(var ie=0,ae=j.length;ieG&&R{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"resizeSectionByteSize",{enumerable:true,get:function get(){return j.resizeSectionByteSize}});Object.defineProperty(N,"resizeSectionVecSize",{enumerable:true,get:function get(){return j.resizeSectionVecSize}});Object.defineProperty(N,"createEmptySection",{enumerable:true,get:function get(){return $.createEmptySection}});Object.defineProperty(N,"removeSections",{enumerable:true,get:function get(){return q.removeSections}});var j=R(35369);var $=R(97961);var q=R(96744)},96744:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.removeSections=removeSections;var j=R(98093);var $=R(3104);function removeSections(E,N,R){var q=(0,j.getSectionMetadatas)(E,R);if(q.length===0){throw new Error("Section metadata not found")}return q.reverse().reduce((function(N,q){var G=q.startOffset-1;var ie=R==="start"?q.size.loc.end.column+1:q.startOffset+q.size.value+1;var ae=-(ie-G);var ce=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){ce=true;return N.remove()}if(ce===true){(0,j.shiftSection)(E,N.node,ae)}}});var le=[];return(0,$.overrideBytesInBuffer)(N,G,ie,le)}),N)}},35369:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.resizeSectionByteSize=resizeSectionByteSize;N.resizeSectionVecSize=resizeSectionVecSize;var j=R(44166);var $=R(98093);var q=R(3104);function resizeSectionByteSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.size.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}var ae=ie.size.loc.start.column;var ce=ie.size.loc.end.column;var le=ie.size.value+G;var _e=(0,j.encodeU32)(le);ie.size.value=le;var Ee=ce-ae;var Te=_e.length;if(Te!==Ee){var we=Te-Ee;ie.size.loc.end.column=ae+Te;G+=we;ie.vectorOfSize.loc.start.column+=we;ie.vectorOfSize.loc.end.column+=we}var Ie=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){Ie=true;return}if(Ie===true){(0,$.shiftSection)(E,N.node,G)}}});return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}function resizeSectionVecSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}if(ie.vectorOfSize.value===-1){return N}var ae=ie.vectorOfSize.loc.start.column;var ce=ie.vectorOfSize.loc.end.column;var le=ie.vectorOfSize.value+G;var _e=(0,j.encodeU32)(le);ie.vectorOfSize.value=le;ie.vectorOfSize.loc.end.column=ae+_e.length;return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}},48:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeF32=encodeF32;N.encodeF64=encodeF64;N.decodeF32=decodeF32;N.decodeF64=decodeF64;N.DOUBLE_PRECISION_MANTISSA=N.SINGLE_PRECISION_MANTISSA=N.NUMBER_OF_BYTE_F64=N.NUMBER_OF_BYTE_F32=void 0;var j=R(3158);var $=4;N.NUMBER_OF_BYTE_F32=$;var q=8;N.NUMBER_OF_BYTE_F64=q;var G=23;N.SINGLE_PRECISION_MANTISSA=G;var ie=52;N.DOUBLE_PRECISION_MANTISSA=ie;function encodeF32(E){var N=[];(0,j.write)(N,E,0,true,G,$);return N}function encodeF64(E){var N=[];(0,j.write)(N,E,0,true,ie,q);return N}function decodeF32(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,G,$)}function decodeF64(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,ie,q)}},90683:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.extract=extract;N.inject=inject;N.getSign=getSign;N.highOrder=highOrder;function extract(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}if(j===undefined){j=0}else if(j!==0&&j!==1){throw new Error("Bad value for defaultBit.")}var $=j*255;var q=0;var G=N+R;var ie=Math.floor(N/8);var ae=N%8;var ce=Math.floor(G/8);var le=G%8;if(le!==0){q=get(ce)&(1<ie){ce--;q=q<<8|get(ce)}q>>>=ae;return q;function get(N){var R=E[N];return R===undefined?$:R}}function inject(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}var $=Math.floor((N+R-1)/8);if(N<0||$>=E.length){throw new Error("Index out of range.")}var q=Math.floor(N/8);var G=N%8;while(R>0){if(j&1){E[q]|=1<>=1;R--;G=(G+1)%8;if(G===0){q++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,N){var R=N.length;var j=(E^1)*255;while(R>0&&N[R-1]===j){R--}if(R===0){return-1}var $=N[R-1];var q=R*8-1;for(var G=7;G>0;G--){if(($>>G&1)===E){break}q--}return q}},1779:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.alloc=alloc;N.free=free;N.resize=resize;N.readInt=readInt;N.readUInt=readUInt;N.writeInt64=writeInt64;N.writeUInt64=writeUInt64;var R=[];var j=20;var $=-0x8000000000000000;var q=0x7ffffffffffffc00;var G=0xfffffffffffff800;var ie=4294967296;var ae=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,N){if(N===0){return false}var R=lowestBit(N);var j=E+R;if(j===E){return true}if(j-R!==E){return true}return false}function alloc(E){var N=R[E];if(N){R[E]=undefined}else{N=new Buffer(E)}N.fill(0);return N}function free(E){var N=E.length;if(N=0;q--){j=j*256+E[q]}}else{for(var G=N-1;G>=0;G--){var ie=E[G];j*=256;if(isLossyToAdd(j,ie)){$=true}j+=ie}}return{value:j,lossy:$}}function readUInt(E){var N=E.length;var R=0;var j=false;if(N<7){for(var $=N-1;$>=0;$--){R=R*256+E[$]}}else{for(var q=N-1;q>=0;q--){var G=E[q];R*=256;if(isLossyToAdd(R,G)){j=true}R+=G}}return{value:R,lossy:j}}function writeInt64(E,N){if(E<$||E>q){throw new Error("Value out of range.")}if(E<0){E+=ae}writeUInt64(E,N)}function writeUInt64(E,N){if(E<0||E>G){throw new Error("Value out of range.")}var R=E%ie;var j=Math.floor(E/ie);N.writeUInt32LE(R,0);N.writeUInt32LE(j,4)}},39784:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decodeInt64=decodeInt64;N.decodeUInt64=decodeUInt64;N.decodeInt32=decodeInt32;N.decodeUInt32=decodeUInt32;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.MAX_NUMBER_OF_BYTE_U64=N.MAX_NUMBER_OF_BYTE_U32=void 0;var j=_interopRequireDefault(R(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var $=5;N.MAX_NUMBER_OF_BYTE_U32=$;var q=10;N.MAX_NUMBER_OF_BYTE_U64=q;function decodeInt64(E,N){return j.default.decodeInt64(E,N)}function decodeUInt64(E,N){return j.default.decodeUInt64(E,N)}function decodeInt32(E,N){return j.default.decodeInt32(E,N)}function decodeUInt32(E,N){return j.default.decodeUInt32(E,N)}function encodeU32(E){return j.default.encodeUInt32(E)}function encodeI32(E){return j.default.encodeInt32(E)}function encodeI64(E){return j.default.encodeInt64(E)}},83082:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(11174));var $=_interopRequireWildcard(R(90683));var q=_interopRequireWildcard(R(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var G=-2147483648;var ie=2147483647;var ae=4294967295;function signedBitCount(E){return $.highOrder($.getSign(E)^1,E)+2}function unsignedBitCount(E){var N=$.highOrder(1,E)+1;return N?N:1}function encodeBufferCommon(E,N){var R;var j;if(N){R=$.getSign(E);j=signedBitCount(E)}else{R=0;j=unsignedBitCount(E)}var G=Math.ceil(j/7);var ie=q.alloc(G);for(var ae=0;ae=128){R++}R++;if(N+R>E.length){}return R}function decodeBufferCommon(E,N,R){N=N===undefined?0:N;var j=encodedLength(E,N);var G=j*7;var ie=Math.ceil(G/8);var ae=q.alloc(ie);var ce=0;while(j>0){$.inject(ae,ce,7,E[N]);ce+=7;N++;j--}var le;var _e;if(R){var Ee=ae[ie-1];var Te=ce%8;if(Te!==0){var we=32-Te;Ee=ae[ie-1]=Ee<>we&255}le=Ee>>7;_e=le*255}else{le=0;_e=0}while(ie>1&&ae[ie-1]===_e&&(!R||ae[ie-2]>>7===le)){ie--}ae=q.resize(ae,ie);return{value:ae,nextIndex:N}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,N){return decodeBufferCommon(E,N,true)}function encodeInt32(E){var N=q.alloc(4);N.writeInt32LE(E,0);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt32(E,N){var R=decodeIntBuffer(E,N);var j=q.readInt(R.value);var $=j.value;q.free(R.value);if($ie){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeInt64(E){var N=q.alloc(8);q.writeInt64(E,N);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt64(E,N){var R=decodeIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,false);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,N){return decodeBufferCommon(E,N,false)}function encodeUInt32(E){var N=q.alloc(4);N.writeUInt32LE(E,0);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt32(E,N){var R=decodeUIntBuffer(E,N);var j=q.readUInt(R.value);var $=j.value;q.free(R.value);if($>ae){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeUInt64(E){var N=q.alloc(8);q.writeUInt64(E,N);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt64(E,N){var R=decodeUIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,true);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}var ce={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};N["default"]=ce},85589:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N=65536){throw new Error("invalid UTF-8 encoding")}else{return N}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var N=_toArray(E),R=N[0],j=N.slice(1);if(R<128){return[code(0,R)].concat(_toConsumableArray(_decode(j)))}if(R<192){throw new Error("invalid UTF-8 encoding")}}{var $=_toArray(E),q=$[0],G=$[1],ie=$.slice(2);if(q<224){return[code(128,((q&31)<<6)+con(G))].concat(_toConsumableArray(_decode(ie)))}}{var ae=_toArray(E),ce=ae[0],le=ae[1],_e=ae[2],Ee=ae.slice(3);if(ce<240){return[code(2048,((ce&15)<<12)+(con(le)<<6)+con(_e))].concat(_toConsumableArray(_decode(Ee)))}}{var Te=_toArray(E),we=Te[0],Ie=Te[1],Ne=Te[2],Me=Te[3],Le=Te.slice(4);if(we<248){return[code(65536,(((we&7)<<18)+con(Ie)<<12)+(con(Ne)<<6)+con(Me))].concat(_toConsumableArray(_decode(Le)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N>>6,con(R)].concat(_toConsumableArray(_encode(j)))}if(R<65536){return[224|R>>>12,con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}if(R<1114112){return[240|R>>>18,con(R>>>12),con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}throw new Error("utf8")}},38040:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"decode",{enumerable:true,get:function get(){return j.decode}});Object.defineProperty(N,"encode",{enumerable:true,get:function get(){return $.encode}});var j=R(85589);var $=R(56264)},17467:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.applyOperations=applyOperations;var j=R(44166);var $=R(77445);var q=R(98093);var G=R(77246);var ie=R(3104);var ae=R(3930);function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,N){(0,q.assertHasLoc)(E);E.loc.start.column+=N;E.loc.end.column+=N}function applyUpdate(E,N,R){var G=_slicedToArray(R,2),ce=G[0],le=G[1];var _e=0;(0,q.assertHasLoc)(ce);var Ee=(0,ae.getSectionForNode)(le);var Te=(0,j.encodeNode)(le);N=(0,ie.overrideBytesInBuffer)(N,ce.loc.start.column,ce.loc.end.column,Te);if(Ee==="code"){(0,q.traverse)(E,{Func:function Func(E){var R=E.node;var G=R.body.find((function(E){return E===le}))!==undefined;if(G===true){(0,q.assertHasLoc)(R);var ae=(0,j.encodeNode)(ce).length;var _e=Te.length-ae;if(_e!==0){var Ee=R.metadata.bodySize+_e;var we=(0,$.encodeU32)(Ee);var Ie=R.loc.start.column;var Ne=Ie+1;N=(0,ie.overrideBytesInBuffer)(N,Ie,Ne,we)}}}})}var we=Te.length-(ce.loc.end.column-ce.loc.start.column);le.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};le.loc.start.column=ce.loc.start.column;le.loc.end.column=ce.loc.start.column+Te.length;return{uint8Buffer:N,deltaBytes:we,deltaElements:_e}}function applyDelete(E,N,R){var j=-1;(0,q.assertHasLoc)(R);var $=(0,ae.getSectionForNode)(R);if($==="start"){var ce=(0,q.getSectionMetadata)(E,"start");N=(0,G.removeSections)(E,N,"start");var le=-(ce.size.value+1);return{uint8Buffer:N,deltaBytes:le,deltaElements:j}}var _e=[];N=(0,ie.overrideBytesInBuffer)(N,R.loc.start.column,R.loc.end.column,_e);var Ee=-(R.loc.end.column-R.loc.start.column);return{uint8Buffer:N,deltaBytes:Ee,deltaElements:j}}function applyAdd(E,N,R){var $=+1;var ce=(0,ae.getSectionForNode)(R);var le=(0,q.getSectionMetadata)(E,ce);if(typeof le==="undefined"){var _e=(0,G.createEmptySection)(E,N,ce);N=_e.uint8Buffer;le=_e.sectionMetadata}if((0,q.isFunc)(R)){var Ee=R.body;if(Ee.length===0||Ee[Ee.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,q.isGlobal)(R)){var Ee=R.init;if(Ee.length===0||Ee[Ee.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Te=(0,j.encodeNode)(R);var we=(0,q.getEndOfSection)(le);var Ie=we;var Ne=Te.length;N=(0,ie.overrideBytesInBuffer)(N,we,Ie,Te);R.loc={start:{line:-1,column:we},end:{line:-1,column:we+Ne}};if(R.type==="Func"){var Me=Te[0];R.metadata={bodySize:Me}}if(R.type!=="IndexInFuncSection"){(0,q.orderedInsertNode)(E.body[0],R)}return{uint8Buffer:N,deltaBytes:Ne,deltaElements:$}}function applyOperations(E,N,R){R.forEach((function(j){var $;var q;switch(j.kind){case"update":$=applyUpdate(E,N,[j.oldNode,j.node]);q=(0,ae.getSectionForNode)(j.node);break;case"delete":$=applyDelete(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;case"add":$=applyAdd(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;default:throw new Error("Unknown operation")}if($.deltaElements!==0&&q!=="start"){var ie=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionVecSize)(E,$.uint8Buffer,q,$.deltaElements);$.deltaBytes+=$.uint8Buffer.length-ie}if($.deltaBytes!==0&&q!=="start"){var ce=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionByteSize)(E,$.uint8Buffer,q,$.deltaBytes);$.deltaBytes+=$.uint8Buffer.length-ce}if($.deltaBytes!==0){R.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,$.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,$.deltaBytes);break}}))}N=$.uint8Buffer}));return N}},226:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.edit=edit;N.editWithAST=editWithAST;N.add=add;N.addWithAST=addWithAST;var j=R(73432);var $=R(98093);var q=R(70797);var G=R(53620);var ie=_interopRequireWildcard(R(3930));var ae=R(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var N=(0,G.shrinkPaddedLEB128)(new Uint8Array(E));return N.buffer}function sortBySectionOrder(E){var N=new Map;var R=true;var j=false;var $=undefined;try{for(var q=E[Symbol.iterator](),G;!(R=(G=q.next()).done);R=true){var ae=G.value;N.set(ae,N.size)}}catch(E){j=true;$=E}finally{try{if(!R&&q.return!=null){q.return()}}finally{if(j){throw $}}}E.sort((function(E,R){var j=(0,ie.getSectionForNode)(E);var $=(0,ie.getSectionForNode)(R);var q=ie.default.sections[j];var G=ie.default.sections[$];if(typeof q!=="number"||typeof G!=="number"){throw new Error("Section id not found")}if(q===G){return N.get(E)-N.get(R)}return q-G}))}function edit(E,N){E=preprocess(E);var R=(0,j.decode)(E);return editWithAST(R,E,N)}function editWithAST(E,N,R){var j=[];var G=new Uint8Array(N);var ie;function before(E,N){ie=(0,q.cloneNode)(N.node)}function after(E,N){if(N.node._deleted===true){j.push({kind:"delete",node:N.node})}else if(hashNode(ie)!==hashNode(N.node)){j.push({kind:"update",oldNode:ie,node:N.node})}}(0,$.traverse)(E,R,before,after);G=(0,ae.applyOperations)(E,G,j);return G.buffer}function add(E,N){E=preprocess(E);var R=(0,j.decode)(E);return addWithAST(R,E,N)}function addWithAST(E,N,R){sortBySectionOrder(R);var j=new Uint8Array(N);var $=R.map((function(E){return{kind:"add",node:E}}));j=(0,ae.applyOperations)(E,j,$);return j.buffer}},77445:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeVersion=encodeVersion;N.encodeHeader=encodeHeader;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.encodeVec=encodeVec;N.encodeValtype=encodeValtype;N.encodeMutability=encodeMutability;N.encodeUTF8Vec=encodeUTF8Vec;N.encodeLimits=encodeLimits;N.encodeModuleImport=encodeModuleImport;N.encodeSectionMetadata=encodeSectionMetadata;N.encodeCallInstruction=encodeCallInstruction;N.encodeCallIndirectInstruction=encodeCallIndirectInstruction;N.encodeModuleExport=encodeModuleExport;N.encodeTypeInstruction=encodeTypeInstruction;N.encodeInstr=encodeInstr;N.encodeStringLiteral=encodeStringLiteral;N.encodeGlobal=encodeGlobal;N.encodeFuncBody=encodeFuncBody;N.encodeIndexInFuncSection=encodeIndexInFuncSection;N.encodeElem=encodeElem;var j=_interopRequireWildcard(R(39784));var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireDefault(R(3930));var ie=R(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeNode=encodeNode;N.encodeU32=void 0;var j=_interopRequireWildcard(R(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function encodeNode(E){switch(E.type){case"ModuleImport":return j.encodeModuleImport(E);case"SectionMetadata":return j.encodeSectionMetadata(E);case"CallInstruction":return j.encodeCallInstruction(E);case"CallIndirectInstruction":return j.encodeCallIndirectInstruction(E);case"TypeInstruction":return j.encodeTypeInstruction(E);case"Instr":return j.encodeInstr(E);case"ModuleExport":return j.encodeModuleExport(E);case"Global":return j.encodeGlobal(E);case"Func":return j.encodeFuncBody(E);case"IndexInFuncSection":return j.encodeIndexInFuncSection(E);case"StringLiteral":return j.encodeStringLiteral(E);case"Elem":return j.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var $=j.encodeU32;N.encodeU32=$},53620:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(73432);var $=R(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var q=function(E){_inherits(OptimizerError,E);function OptimizerError(E,N){var R;_classCallCheck(this,OptimizerError);R=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+N.message));R.stack=N.stack;return R}return OptimizerError}(Error);var G={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var N=(0,j.decode)(E.buffer,G);return(0,$.shrinkPaddedLEB128)(N,E)}catch(E){throw new q("shrinkPaddedLEB128",E)}}},25688:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(98093);var $=R(77445);var q=R(3104);function shiftFollowingSections(E,N,R){var $=N.section;var q=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===$){q=true;return}if(q===true){(0,j.shiftSection)(E,N.node,R)}}})}function shrinkPaddedLEB128(E,N){(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(R){var j=R.node;{var G=(0,$.encodeU32)(j.size.value);var ie=G.length;var ae=j.size.loc.start.column;var ce=j.size.loc.end.column;var le=ce-ae;if(ie!==le){var _e=le-ie;N=(0,q.overrideBytesInBuffer)(N,ae,ce,G);shiftFollowingSections(E,j,-_e)}}}});return N}},13975:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=R(35866);var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireWildcard(R(98093));var ie=R(39784);var ae=_interopRequireDefault(R(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N=R.length}function eatBytes(E){le=le+E}function readBytesAtOffset(E,N){var j=[];for(var $=0;$>7?-1:1;var j=0;for(var q=0;q>7?-1:1;var j=0;for(var q=0;qR.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.magicModuleHeader,E)===false){throw new j.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||le+4>R.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.moduleVersion,E)===false){throw new j.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var N=readU32();var R=N.value;eatBytes(N.nextIndex);dump([R],"number");if(R===0){return[]}var $=[];for(var q=0;q=40&&$<=64){if(q.name==="grow_memory"||q.name==="current_memory"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);dump([St],"align");var Et=readU32();var Tt=Et.value;eatBytes(Et.nextIndex);dump([Tt],"offset")}}else if($>=65&&$<=68){if(q.object==="i32"){var kt=read32();var Ct=kt.value;eatBytes(kt.nextIndex);dump([Ct],"i32 value");le.push(G.numberLiteralFromRaw(Ct))}if(q.object==="u32"){var Dt=readU32();var At=Dt.value;eatBytes(Dt.nextIndex);dump([At],"u32 value");le.push(G.numberLiteralFromRaw(At))}if(q.object==="i64"){var wt=read64();var Pt=wt.value;eatBytes(wt.nextIndex);dump([Number(Pt.toString())],"i64 value");var Ft=Pt.high,It=Pt.low;var Nt={type:"LongNumberLiteral",value:{high:Ft,low:It}};le.push(Nt)}if(q.object==="u64"){var Ot=readU64();var Mt=Ot.value;eatBytes(Ot.nextIndex);dump([Number(Mt.toString())],"u64 value");var Rt=Mt.high,Lt=Mt.low;var Bt={type:"LongNumberLiteral",value:{high:Rt,low:Lt}};le.push(Bt)}if(q.object==="f32"){var jt=readF32();var Ut=jt.value;eatBytes(jt.nextIndex);dump([Ut],"f32 value");le.push(G.floatLiteral(Ut,jt.nan,jt.inf,String(Ut)))}if(q.object==="f64"){var zt=readF64();var Wt=zt.value;eatBytes(zt.nextIndex);dump([Wt],"f64 value");le.push(G.floatLiteral(Wt,zt.nan,zt.inf,String(Wt)))}}else if($>=65024&&$<=65279){var $t=readU32();var Jt=$t.value;eatBytes($t.nextIndex);dump([Jt],"align");var Vt=readU32();var qt=Vt.value;eatBytes(Vt.nextIndex);dump([qt],"offset")}else{for(var Ht=0;Ht=E||E===ae.default.sections.custom){E=R+1}else{if(R!==ae.default.sections.custom)throw new j.CompileError("Unexpected section: "+toHex(R))}var $=E;var q=le;var ie=getPosition();var ce=readU32();var _e=ce.value;eatBytes(ce.nextIndex);var Ee=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_e),E,ie)}();switch(R){case ae.default.sections.type:{dumpSep("section Type");dump([R],"section code");dump([_e],"section size");var Te=getPosition();var we=readU32();var Ie=we.value;eatBytes(we.nextIndex);var Ne=G.sectionMetadata("type",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ie),E,Te)}());var Me=parseTypeSection(Ie);return{nodes:Me,metadata:Ne,nextSectionIndex:$}}case ae.default.sections.table:{dumpSep("section Table");dump([R],"section code");dump([_e],"section size");var Le=getPosition();var Be=readU32();var je=Be.value;eatBytes(Be.nextIndex);dump([je],"num tables");var Ue=G.sectionMetadata("table",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(je),E,Le)}());var ze=parseTableSection(je);return{nodes:ze,metadata:Ue,nextSectionIndex:$}}case ae.default.sections.import:{dumpSep("section Import");dump([R],"section code");dump([_e],"section size");var We=getPosition();var Je=readU32();var Ve=Je.value;eatBytes(Je.nextIndex);dump([Ve],"number of imports");var qe=G.sectionMetadata("import",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ve),E,We)}());var He=parseImportSection(Ve);return{nodes:He,metadata:qe,nextSectionIndex:$}}case ae.default.sections.func:{dumpSep("section Function");dump([R],"section code");dump([_e],"section size");var Ge=getPosition();var Ke=readU32();var Qe=Ke.value;eatBytes(Ke.nextIndex);var Xe=G.sectionMetadata("func",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Qe),E,Ge)}());parseFuncSection(Qe);var Ye=[];return{nodes:Ye,metadata:Xe,nextSectionIndex:$}}case ae.default.sections.export:{dumpSep("section Export");dump([R],"section code");dump([_e],"section size");var Ze=getPosition();var et=readU32();var tt=et.value;eatBytes(et.nextIndex);var rt=G.sectionMetadata("export",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(tt),E,Ze)}());parseExportSection(tt);var nt=[];return{nodes:nt,metadata:rt,nextSectionIndex:$}}case ae.default.sections.code:{dumpSep("section Code");dump([R],"section code");dump([_e],"section size");var it=getPosition();var ot=readU32();var st=ot.value;eatBytes(ot.nextIndex);var ct=G.sectionMetadata("code",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(st),E,it)}());if(N.ignoreCodeSection===true){var ut=_e-ot.nextIndex;eatBytes(ut)}else{parseCodeSection(st)}var dt=[];return{nodes:dt,metadata:ct,nextSectionIndex:$}}case ae.default.sections.start:{dumpSep("section Start");dump([R],"section code");dump([_e],"section size");var pt=G.sectionMetadata("start",q,Ee);var ft=[parseStartSection()];return{nodes:ft,metadata:pt,nextSectionIndex:$}}case ae.default.sections.element:{dumpSep("section Element");dump([R],"section code");dump([_e],"section size");var mt=getPosition();var ht=readU32();var _t=ht.value;eatBytes(ht.nextIndex);var yt=G.sectionMetadata("element",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_t),E,mt)}());var vt=parseElemSection(_t);return{nodes:vt,metadata:yt,nextSectionIndex:$}}case ae.default.sections.global:{dumpSep("section Global");dump([R],"section code");dump([_e],"section size");var bt=getPosition();var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);var Et=G.sectionMetadata("global",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(St),E,bt)}());var Tt=parseGlobalSection(St);return{nodes:Tt,metadata:Et,nextSectionIndex:$}}case ae.default.sections.memory:{dumpSep("section Memory");dump([R],"section code");dump([_e],"section size");var kt=getPosition();var Ct=readU32();var Dt=Ct.value;eatBytes(Ct.nextIndex);var At=G.sectionMetadata("memory",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Dt),E,kt)}());var wt=parseMemorySection(Dt);return{nodes:wt,metadata:At,nextSectionIndex:$}}case ae.default.sections.data:{dumpSep("section Data");dump([R],"section code");dump([_e],"section size");var Pt=G.sectionMetadata("data",q,Ee);var Ft=getPosition();var It=readU32();var Nt=It.value;eatBytes(It.nextIndex);Pt.vectorOfSize=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Nt),E,Ft)}();if(N.ignoreDataSection===true){var Ot=_e-It.nextIndex;eatBytes(Ot);dumpSep("ignore data ("+_e+" bytes)");return{nodes:[],metadata:Pt,nextSectionIndex:$}}else{var Mt=parseDataSection(Nt);return{nodes:Mt,metadata:Pt,nextSectionIndex:$}}}case ae.default.sections.custom:{dumpSep("section Custom");dump([R],"section code");dump([_e],"section size");var Rt=[G.sectionMetadata("custom",q,Ee)];var Lt=readUTF8String();eatBytes(Lt.nextIndex);dump([],"section name (".concat(Lt.value,")"));var Bt=_e-Lt.nextIndex;if(Lt.value==="name"){var jt=le;try{Rt.push.apply(Rt,_toConsumableArray(parseNameSection(Bt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(jt+Bt))}}else if(Lt.value==="producers"){var Ut=le;try{Rt.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(Ut+Bt))}}else{eatBytes(Bt);dumpSep("ignore custom "+JSON.stringify(Lt.value)+" section ("+Bt+" bytes)")}return{nodes:[],metadata:Rt,nextSectionIndex:$}}}throw new j.CompileError("Unexpected section: "+toHex(R))}parseModuleHeader();parseVersion();var Ee=[];var Te=0;var we={sections:[],functionNames:[],localNames:[],producers:[]};while(le{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=_interopRequireWildcard(R(13975));var $=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}var q={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var N=[];$.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var R=E.node;N.push({name:R.value,index:R.index})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.name;var $=j.value;var q=Number($.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){var ie=j.value;j.value=G.name;j.numeric=ie;delete j.raw}})),ModuleExport:function(E){function ModuleExport(N){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var R=E.node;if(R.descr.exportType==="Func"){var j=R.descr.id;var q=j.value;var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),ModuleImport:function(E){function ModuleImport(N){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var R=E.node;if(R.descr.type==="FuncImportDescr"){var j=R.descr.id;var q=Number(j.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),CallInstruction:function(E){function CallInstruction(N){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var R=E.node;var j=R.index.value;var q=N.find((function(E){return E.index===j}));if(q){var G=R.index;R.index=$.identifier(q.name);R.numeric=G;delete R.raw}}))})}function restoreLocalNames(E){var N=[];$.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var R=E.node;N.push({name:R.value,localIndex:R.localIndex,functionIndex:R.functionIndex})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.signature;if(j.type!=="Signature"){return}var $=R.name;var q=$.value;var G=Number(q.replace("func_",""));j.params.forEach((function(E,R){var j=N.find((function(E){return E.localIndex===R&&E.functionIndex===G}));if(j&&j.name!==""){E.id=j.name}}))}))})}function restoreModuleName(E){$.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(N){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(N){$.traverse(E,{Module:function(E){function Module(N){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var R=E.node;var j=N.node.value;if(j===""){j=null}R.id=j}))})}))})}function decode(E,N){var R=Object.assign({},q,N);var $=j.decode(E,R);if(R.ignoreCustomNameSection===false){restoreFunctionNames($);restoreLocalNames($);restoreModuleName($)}return $}},3158:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.read=read;N.write=write;function read(E,N,R,j,$){var q,G;var ie=$*8-j-1;var ae=(1<>1;var le=-7;var _e=R?$-1:0;var Ee=R?-1:1;var Te=E[N+_e];_e+=Ee;q=Te&(1<<-le)-1;Te>>=-le;le+=ie;for(;le>0;q=q*256+E[N+_e],_e+=Ee,le-=8){}G=q&(1<<-le)-1;q>>=-le;le+=j;for(;le>0;G=G*256+E[N+_e],_e+=Ee,le-=8){}if(q===0){q=1-ce}else if(q===ae){return G?NaN:(Te?-1:1)*Infinity}else{G=G+Math.pow(2,j);q=q-ce}return(Te?-1:1)*G*Math.pow(2,q-j)}function write(E,N,R,j,$,q){var G,ie,ae;var ce=q*8-$-1;var le=(1<>1;var Ee=$===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Te=j?0:q-1;var we=j?1:-1;var Ie=N<0||N===0&&1/N<0?1:0;N=Math.abs(N);if(isNaN(N)||N===Infinity){ie=isNaN(N)?1:0;G=le}else{G=Math.floor(Math.log(N)/Math.LN2);if(N*(ae=Math.pow(2,-G))<1){G--;ae*=2}if(G+_e>=1){N+=Ee/ae}else{N+=Ee*Math.pow(2,1-_e)}if(N*ae>=2){G++;ae/=2}if(G+_e>=le){ie=0;G=le}else if(G+_e>=1){ie=(N*ae-1)*Math.pow(2,$);G=G+_e}else{ie=N*Math.pow(2,_e-1)*Math.pow(2,$);G=0}}for(;$>=8;E[R+Te]=ie&255,Te+=we,ie/=256,$-=8){}G=G<<$|ie;ce+=$;for(;ce>0;E[R+Te]=G&255,Te+=we,G/=256,ce-=8){}E[R+Te-we]|=Ie*128}},11174:E=>{E.exports=Long;var N=null;try{N=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,N,R){this.low=E|0;this.high=N|0;this.unsigned=!!R}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var R={};var j={};function fromInt(E,N){var $,q,G;if(N){E>>>=0;if(G=0<=E&&E<256){q=j[E];if(q)return q}$=fromBits(E,(E|0)<0?-1:0,true);if(G)j[E]=$;return $}else{E|=0;if(G=-128<=E&&E<128){q=R[E];if(q)return q}$=fromBits(E,E<0?-1:0,false);if(G)R[E]=$;return $}}Long.fromInt=fromInt;function fromNumber(E,N){if(isNaN(E))return N?Ee:_e;if(N){if(E<0)return Ee;if(E>=ae)return Me}else{if(E<=-ce)return Le;if(E+1>=ce)return Ne}if(E<0)return fromNumber(-E,N).neg();return fromBits(E%ie|0,E/ie|0,N)}Long.fromNumber=fromNumber;function fromBits(E,N,R){return new Long(E,N,R)}Long.fromBits=fromBits;var $=Math.pow;function fromString(E,N,R){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return _e;if(typeof N==="number"){R=N,N=false}else{N=!!N}R=R||10;if(R<2||360)throw Error("interior hyphen");else if(j===0){return fromString(E.substring(1),N,R).neg()}var q=fromNumber($(R,8));var G=_e;for(var ie=0;ie>>0:this.low};Be.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ie+(this.low>>>0);return this.high*ie+(this.low>>>0)};Be.toString=function toString(E){E=E||10;if(E<2||36>>0,le=ce.toString(E);G=ae;if(G.isZero())return le+ie;else{while(le.length<6)le="0"+le;ie=""+le+ie}}};Be.getHighBits=function getHighBits(){return this.high};Be.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Be.getLowBits=function getLowBits(){return this.low};Be.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Be.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Le)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var N=31;N>0;N--)if((E&1<=0};Be.isOdd=function isOdd(){return(this.low&1)===1};Be.isEven=function isEven(){return(this.low&1)===0};Be.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};Be.eq=Be.equals;Be.notEquals=function notEquals(E){return!this.eq(E)};Be.neq=Be.notEquals;Be.ne=Be.notEquals;Be.lessThan=function lessThan(E){return this.comp(E)<0};Be.lt=Be.lessThan;Be.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};Be.lte=Be.lessThanOrEqual;Be.le=Be.lessThanOrEqual;Be.greaterThan=function greaterThan(E){return this.comp(E)>0};Be.gt=Be.greaterThan;Be.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};Be.gte=Be.greaterThanOrEqual;Be.ge=Be.greaterThanOrEqual;Be.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var N=this.isNegative(),R=E.isNegative();if(N&&!R)return-1;if(!N&&R)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};Be.comp=Be.compare;Be.negate=function negate(){if(!this.unsigned&&this.eq(Le))return Le;return this.not().add(Te)};Be.neg=Be.negate;Be.add=function add(E){if(!isLong(E))E=fromValue(E);var N=this.high>>>16;var R=this.high&65535;var j=this.low>>>16;var $=this.low&65535;var q=E.high>>>16;var G=E.high&65535;var ie=E.low>>>16;var ae=E.low&65535;var ce=0,le=0,_e=0,Ee=0;Ee+=$+ae;_e+=Ee>>>16;Ee&=65535;_e+=j+ie;le+=_e>>>16;_e&=65535;le+=R+G;ce+=le>>>16;le&=65535;ce+=N+q;ce&=65535;return fromBits(_e<<16|Ee,ce<<16|le,this.unsigned)};Be.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};Be.sub=Be.subtract;Be.multiply=function multiply(E){if(this.isZero())return _e;if(!isLong(E))E=fromValue(E);if(N){var R=N["mul"](this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(E.isZero())return _e;if(this.eq(Le))return E.isOdd()?Le:_e;if(E.eq(Le))return this.isOdd()?Le:_e;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(le)&&E.lt(le))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var j=this.high>>>16;var $=this.high&65535;var q=this.low>>>16;var G=this.low&65535;var ie=E.high>>>16;var ae=E.high&65535;var ce=E.low>>>16;var Ee=E.low&65535;var Te=0,we=0,Ie=0,Ne=0;Ne+=G*Ee;Ie+=Ne>>>16;Ne&=65535;Ie+=q*Ee;we+=Ie>>>16;Ie&=65535;Ie+=G*ce;we+=Ie>>>16;Ie&=65535;we+=$*Ee;Te+=we>>>16;we&=65535;we+=q*ce;Te+=we>>>16;we&=65535;we+=G*ae;Te+=we>>>16;we&=65535;Te+=j*Ee+$*ce+q*ae+G*ie;Te&=65535;return fromBits(Ie<<16|Ne,Te<<16|we,this.unsigned)};Be.mul=Be.multiply;Be.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(N){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var R=(this.unsigned?N["div_u"]:N["div_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?Ee:_e;var j,q,G;if(!this.unsigned){if(this.eq(Le)){if(E.eq(Te)||E.eq(Ie))return Le;else if(E.eq(Le))return Te;else{var ie=this.shr(1);j=ie.div(E).shl(1);if(j.eq(_e)){return E.isNegative()?Te:Ie}else{q=this.sub(E.mul(j));G=j.add(q.div(E));return G}}}else if(E.eq(Le))return this.unsigned?Ee:_e;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();G=_e}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return Ee;if(E.gt(this.shru(1)))return we;G=Ee}q=this;while(q.gte(E)){j=Math.max(1,Math.floor(q.toNumber()/E.toNumber()));var ae=Math.ceil(Math.log(j)/Math.LN2),ce=ae<=48?1:$(2,ae-48),le=fromNumber(j),Ne=le.mul(E);while(Ne.isNegative()||Ne.gt(q)){j-=ce;le=fromNumber(j,this.unsigned);Ne=le.mul(E)}if(le.isZero())le=Te;G=G.add(le);q=q.sub(Ne)}return G};Be.div=Be.divide;Be.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(N){var R=(this.unsigned?N["rem_u"]:N["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};Be.mod=Be.modulo;Be.rem=Be.modulo;Be.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Be.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};Be.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};Be.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};Be.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<>>32-E,this.unsigned);else return fromBits(0,this.low<>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};Be.shr=Be.shiftRight;Be.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};Be.shru=Be.shiftRightUnsigned;Be.shr_u=Be.shiftRightUnsigned;Be.rotateLeft=function rotateLeft(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.low<>>N,this.high<>>N,this.unsigned)}E-=32;N=32-E;return fromBits(this.high<>>N,this.low<>>N,this.unsigned)};Be.rotl=Be.rotateLeft;Be.rotateRight=function rotateRight(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)}E-=32;N=32-E;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)};Be.rotr=Be.rotateRight;Be.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Be.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Be.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};Be.toBytesLE=function toBytesLE(){var E=this.high,N=this.low;return[N&255,N>>>8&255,N>>>16&255,N>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};Be.toBytesBE=function toBytesBE(){var E=this.high,N=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,N>>>24,N>>>16&255,N>>>8&255,N&255]};Long.fromBytes=function fromBytes(E,N,R){return R?Long.fromBytesLE(E,N):Long.fromBytesBE(E,N)};Long.fromBytesLE=function fromBytesLE(E,N){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,N)};Long.fromBytesBE=function fromBytesBE(E,N){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],N)}},20976:function(E,N){(function(E,R){true?R(N):0})(this,(function(E){"use strict";var N={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var R="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var j={5:R,"5module":R+" export import",6:R+" const class extends export import super"};var $=/^in(stanceof)?$/;var q="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var G="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ie=new RegExp("["+q+"]");var ae=new RegExp("["+q+G+"]");q=G=null;var ce=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var le=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,N){var R=65536;for(var j=0;jE){return false}R+=N[j+1];if(R>=E){return true}}}function isIdentifierStart(E,N){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)}function isIdentifierChar(E,N){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)||isInAstralSet(E,le)}var _e=function TokenType(E,N){if(N===void 0)N={};this.label=E;this.keyword=N.keyword;this.beforeExpr=!!N.beforeExpr;this.startsExpr=!!N.startsExpr;this.isLoop=!!N.isLoop;this.isAssign=!!N.isAssign;this.prefix=!!N.prefix;this.postfix=!!N.postfix;this.binop=N.binop||null;this.updateContext=null};function binop(E,N){return new _e(E,{beforeExpr:true,binop:N})}var Ee={beforeExpr:true},Te={startsExpr:true};var we={};function kw(E,N){if(N===void 0)N={};N.keyword=E;return we[E]=new _e(E,N)}var Ie={num:new _e("num",Te),regexp:new _e("regexp",Te),string:new _e("string",Te),name:new _e("name",Te),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",Ee),semi:new _e(";",Ee),colon:new _e(":",Ee),dot:new _e("."),question:new _e("?",Ee),questionDot:new _e("?."),arrow:new _e("=>",Ee),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",Ee),backQuote:new _e("`",Te),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",Ee),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Ee),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",Ee),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Ee),_switch:kw("switch"),_throw:kw("throw",Ee),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Ee),_export:kw("export"),_import:kw("import",Te),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Me=new RegExp(Ne.source,"g");function isNewLine(E,N){return E===10||E===13||!N&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var je=Object.prototype;var Ue=je.hasOwnProperty;var ze=je.toString;function has(E,N){return Ue.call(E,N)}var We=Array.isArray||function(E){return ze.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Je=function Position(E,N){this.line=E;this.column=N};Je.prototype.offset=function offset(E){return new Je(this.line,this.column+E)};var Ve=function SourceLocation(E,N,R){this.start=N;this.end=R;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,N){for(var R=1,j=0;;){Me.lastIndex=j;var $=Me.exec(E);if($&&$.index=2015){N.ecmaVersion-=2009}if(N.allowReserved==null){N.allowReserved=N.ecmaVersion<5}if(We(N.onToken)){var j=N.onToken;N.onToken=function(E){return j.push(E)}}if(We(N.onComment)){N.onComment=pushComment(N,N.onComment)}return N}function pushComment(E,N){return function(R,j,$,q,G,ie){var ae={type:R?"Block":"Line",value:j,start:$,end:q};if(E.locations){ae.loc=new Ve(this,G,ie)}if(E.ranges){ae.range=[$,q]}N.push(ae)}}var He=1,Ge=2,Ke=He|Ge,Qe=4,Xe=8,Ye=16,Ze=32,et=64,tt=128;function functionFlags(E,N){return Ge|(E?Qe:0)|(N?Xe:0)}var rt=0,nt=1,it=2,ot=3,st=4,ct=5;var ut=function Parser(E,R,$){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(j[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){for(var G=E.ecmaVersion;;G--){if(q=N[G]){break}}if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var ie=(q?q+" ":"")+N.strict;this.reservedWordsStrict=wordsRegexp(ie);this.reservedWordsStrictBind=wordsRegexp(ie+" "+N.strictBind);this.input=String(R);this.containsEsc=false;if($){this.pos=$;this.lineStart=this.input.lastIndexOf("\n",$-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ie.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(He);this.regexpState=null};var dt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};ut.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};dt.inFunction.get=function(){return(this.currentVarScope().flags&Ge)>0};dt.inGenerator.get=function(){return(this.currentVarScope().flags&Xe)>0};dt.inAsync.get=function(){return(this.currentVarScope().flags&Qe)>0};dt.allowSuper.get=function(){return(this.currentThisScope().flags&et)>0};dt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&tt)>0};dt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ut.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&Ge)>0};ut.extend=function extend(){var E=[],N=arguments.length;while(N--)E[N]=arguments[N];var R=this;for(var j=0;j=,?^&]/.test($)||$==="!"&&this.input.charAt(j+1)==="=")}E+=N[0].length;Be.lastIndex=E;E+=Be.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};pt.eat=function(E){if(this.type===E){this.next();return true}else{return false}};pt.isContextual=function(E){return this.type===Ie.name&&this.value===E&&!this.containsEsc};pt.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};pt.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};pt.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};pt.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};pt.semicolon=function(){if(!this.eat(Ie.semi)&&!this.insertSemicolon()){this.unexpected()}};pt.afterTrailingComma=function(E,N){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!N){this.next()}return true}};pt.expect=function(E){this.eat(E)||this.unexpected()};pt.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}pt.checkPatternErrors=function(E,N){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var R=N?E.parenthesizedAssign:E.parenthesizedBind;if(R>-1){this.raiseRecoverable(R,"Parenthesized pattern")}};pt.checkExpressionErrors=function(E,N){if(!E){return false}var R=E.shorthandAssign;var j=E.doubleProto;if(!N){return R>=0||j>=0}if(R>=0){this.raise(R,"Shorthand property assignments are valid only in destructuring patterns")}if(j>=0){this.raiseRecoverable(j,"Redefinition of __proto__ property")}};pt.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement($,false,!E);case Ie._class:if(E){this.unexpected()}return this.parseClass($,true);case Ie._if:return this.parseIfStatement($);case Ie._return:return this.parseReturnStatement($);case Ie._switch:return this.parseSwitchStatement($);case Ie._throw:return this.parseThrowStatement($);case Ie._try:return this.parseTryStatement($);case Ie._const:case Ie._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement($,q);case Ie._while:return this.parseWhileStatement($);case Ie._with:return this.parseWithStatement($);case Ie.braceL:return this.parseBlock(true,$);case Ie.semi:return this.parseEmptyStatement($);case Ie._export:case Ie._import:if(this.options.ecmaVersion>10&&j===Ie._import){Be.lastIndex=this.pos;var G=Be.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement($,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!N){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return j===Ie._import?this.parseImport($):this.parseExport($,R);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement($,true,!E)}var ce=this.value,le=this.parseExpression();if(j===Ie.name&&le.type==="Identifier"&&this.eat(Ie.colon)){return this.parseLabeledStatement($,ce,le,E)}else{return this.parseExpressionStatement($,le)}}};mt.parseBreakContinueStatement=function(E,N){var R=N==="break";this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ie.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var j=0;for(;j=6){this.eat(Ie.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};mt.parseForStatement=function(E){this.next();var N=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ht);this.enterScope(0);this.expect(Ie.parenL);if(this.type===Ie.semi){if(N>-1){this.unexpected(N)}return this.parseFor(E,null)}var R=this.isLet();if(this.type===Ie._var||this.type===Ie._const||R){var j=this.startNode(),$=R?"let":this.value;this.next();this.parseVar(j,true,$);this.finishNode(j,"VariableDeclaration");if((this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&j.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}return this.parseForIn(E,j)}if(N>-1){this.unexpected(N)}return this.parseFor(E,j)}var q=new DestructuringErrors;var G=this.parseExpression(true,q);if(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}this.toAssignable(G,false,q);this.checkLVal(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(N>-1){this.unexpected(N)}return this.parseFor(E,G)};mt.parseFunctionStatement=function(E,N,R){this.next();return this.parseFunction(E,vt|(R?0:bt),false,N)};mt.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ie._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};mt.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};mt.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ie.braceL);this.labels.push(_t);this.enterScope(0);var N;for(var R=false;this.type!==Ie.braceR;){if(this.type===Ie._case||this.type===Ie._default){var j=this.type===Ie._case;if(N){this.finishNode(N,"SwitchCase")}E.cases.push(N=this.startNode());N.consequent=[];this.next();if(j){N.test=this.parseExpression()}else{if(R){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}R=true;N.test=null}this.expect(Ie.colon)}else{if(!N){this.unexpected()}N.consequent.push(this.parseStatement(null))}}this.exitScope();if(N){this.finishNode(N,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};mt.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var yt=[];mt.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ie._catch){var N=this.startNode();this.next();if(this.eat(Ie.parenL)){N.param=this.parseBindingAtom();var R=N.param.type==="Identifier";this.enterScope(R?Ze:0);this.checkLVal(N.param,R?st:it);this.expect(Ie.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}N.param=null;this.enterScope(0)}N.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(N,"CatchClause")}E.finalizer=this.eat(Ie._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};mt.parseVarStatement=function(E,N){this.next();this.parseVar(E,false,N);this.semicolon();return this.finishNode(E,"VariableDeclaration")};mt.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(ht);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};mt.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};mt.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};mt.parseLabeledStatement=function(E,N,R,j){for(var $=0,q=this.labels;$=0;ae--){var ce=this.labels[ae];if(ce.statementStart===E.start){ce.statementStart=this.start;ce.kind=ie}else{break}}this.labels.push({name:N,kind:ie,statementStart:this.start});E.body=this.parseStatement(j?j.indexOf("label")===-1?j+"label":j:"label");this.labels.pop();E.label=R;return this.finishNode(E,"LabeledStatement")};mt.parseExpressionStatement=function(E,N){E.expression=N;this.semicolon();return this.finishNode(E,"ExpressionStatement")};mt.parseBlock=function(E,N,R){if(E===void 0)E=true;if(N===void 0)N=this.startNode();N.body=[];this.expect(Ie.braceL);if(E){this.enterScope(0)}while(this.type!==Ie.braceR){var j=this.parseStatement(null);N.body.push(j)}if(R){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(N,"BlockStatement")};mt.parseFor=function(E,N){E.init=N;this.expect(Ie.semi);E.test=this.type===Ie.semi?null:this.parseExpression();this.expect(Ie.semi);E.update=this.type===Ie.parenR?null:this.parseExpression();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};mt.parseForIn=function(E,N){var R=this.type===Ie._in;this.next();if(N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!R||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")){this.raise(N.start,(R?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(N.type==="AssignmentPattern"){this.raise(N.start,"Invalid left-hand side in for-loop")}E.left=N;E.right=R?this.parseExpression():this.parseMaybeAssign();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,R?"ForInStatement":"ForOfStatement")};mt.parseVar=function(E,N,R){E.declarations=[];E.kind=R;for(;;){var j=this.startNode();this.parseVarId(j,R);if(this.eat(Ie.eq)){j.init=this.parseMaybeAssign(N)}else if(R==="const"&&!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(j.id.type!=="Identifier"&&!(N&&(this.type===Ie._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{j.init=null}E.declarations.push(this.finishNode(j,"VariableDeclarator"));if(!this.eat(Ie.comma)){break}}return E};mt.parseVarId=function(E,N){E.id=this.parseBindingAtom();this.checkLVal(E.id,N==="var"?nt:it,false)};var vt=1,bt=2,xt=4;mt.parseFunction=function(E,N,R,j){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!j){if(this.type===Ie.star&&N&bt){this.unexpected()}E.generator=this.eat(Ie.star)}if(this.options.ecmaVersion>=8){E.async=!!j}if(N&vt){E.id=N&xt&&this.type!==Ie.name?null:this.parseIdent();if(E.id&&!(N&bt)){this.checkLVal(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?nt:it:ot)}}var $=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(N&vt)){E.id=this.type===Ie.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,R,false);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,N&vt?"FunctionDeclaration":"FunctionExpression")};mt.parseFunctionParams=function(E){this.expect(Ie.parenL);E.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};mt.parseClass=function(E,N){this.next();var R=this.strict;this.strict=true;this.parseClassId(E,N);this.parseClassSuper(E);var j=this.startNode();var $=false;j.body=[];this.expect(Ie.braceL);while(this.type!==Ie.braceR){var q=this.parseClassElement(E.superClass!==null);if(q){j.body.push(q);if(q.type==="MethodDefinition"&&q.kind==="constructor"){if($){this.raise(q.start,"Duplicate constructor in the same class")}$=true}}}this.strict=R;this.next();E.body=this.finishNode(j,"ClassBody");return this.finishNode(E,N?"ClassDeclaration":"ClassExpression")};mt.parseClassElement=function(E){var N=this;if(this.eat(Ie.semi)){return null}var R=this.startNode();var tryContextual=function(E,j){if(j===void 0)j=false;var $=N.start,q=N.startLoc;if(!N.eatContextual(E)){return false}if(N.type!==Ie.parenL&&(!j||!N.canInsertSemicolon())){return true}if(R.key){N.unexpected()}R.computed=false;R.key=N.startNodeAt($,q);R.key.name=E;N.finishNode(R.key,"Identifier");return false};R.kind="method";R.static=tryContextual("static");var j=this.eat(Ie.star);var $=false;if(!j){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star)}else if(tryContextual("get")){R.kind="get"}else if(tryContextual("set")){R.kind="set"}}if(!R.key){this.parsePropertyName(R)}var q=R.key;var G=false;if(!R.computed&&!R.static&&(q.type==="Identifier"&&q.name==="constructor"||q.type==="Literal"&&q.value==="constructor")){if(R.kind!=="method"){this.raise(q.start,"Constructor can't have get/set modifier")}if(j){this.raise(q.start,"Constructor can't be a generator")}if($){this.raise(q.start,"Constructor can't be an async method")}R.kind="constructor";G=E}else if(R.static&&q.type==="Identifier"&&q.name==="prototype"){this.raise(q.start,"Classes may not have a static property named prototype")}this.parseClassMethod(R,j,$,G);if(R.kind==="get"&&R.value.params.length!==0){this.raiseRecoverable(R.value.start,"getter should have no params")}if(R.kind==="set"&&R.value.params.length!==1){this.raiseRecoverable(R.value.start,"setter should have exactly one param")}if(R.kind==="set"&&R.value.params[0].type==="RestElement"){this.raiseRecoverable(R.value.params[0].start,"Setter cannot use rest params")}return R};mt.parseClassMethod=function(E,N,R,j){E.value=this.parseMethod(N,R,j);return this.finishNode(E,"MethodDefinition")};mt.parseClassId=function(E,N){if(this.type===Ie.name){E.id=this.parseIdent();if(N){this.checkLVal(E.id,it,false)}}else{if(N===true){this.unexpected()}E.id=null}};mt.parseClassSuper=function(E){E.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null};mt.parseExport=function(E,N){this.next();if(this.eat(Ie.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ie._default)){this.checkExport(N,"default",this.lastTokStart);var R;if(this.type===Ie._function||(R=this.isAsyncFunction())){var j=this.startNode();this.next();if(R){this.next()}E.declaration=this.parseFunction(j,vt|xt,false,R)}else if(this.type===Ie._class){var $=this.startNode();E.declaration=this.parseClass($,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(R){this.checkPatternErrors(R,true)}for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.toAssignable(q,N);if(q.type==="RestElement"&&(q.argument.type==="ArrayPattern"||q.argument.type==="ObjectPattern")){this.raise(q.argument.start,"Unexpected token")}}break;case"Property":if(E.kind!=="init"){this.raise(E.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(E.value,N);break;case"ArrayExpression":E.type="ArrayPattern";if(R){this.checkPatternErrors(R,true)}this.toAssignableList(E.elements,N);break;case"SpreadElement":E.type="RestElement";this.toAssignable(E.argument,N);if(E.argument.type==="AssignmentPattern"){this.raise(E.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(E.operator!=="="){this.raise(E.left.end,"Only '=' operator can be used for specifying default value.")}E.type="AssignmentPattern";delete E.operator;this.toAssignable(E.left,N);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(E.expression,N,R);break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N){break}default:this.raise(E.start,"Assigning to rvalue")}}else if(R){this.checkPatternErrors(R,true)}return E};St.toAssignableList=function(E,N){var R=E.length;for(var j=0;j=6){switch(this.type){case Ie.bracketL:var E=this.startNode();this.next();E.elements=this.parseBindingList(Ie.bracketR,true,true);return this.finishNode(E,"ArrayPattern");case Ie.braceL:return this.parseObj(true)}}return this.parseIdent()};St.parseBindingList=function(E,N,R){var j=[],$=true;while(!this.eat(E)){if($){$=false}else{this.expect(Ie.comma)}if(N&&this.type===Ie.comma){j.push(null)}else if(R&&this.afterTrailingComma(E)){break}else if(this.type===Ie.ellipsis){var q=this.parseRestBinding();this.parseBindingListItem(q);j.push(q);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(E);break}else{var G=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(G);j.push(G)}}return j};St.parseBindingListItem=function(E){return E};St.parseMaybeDefault=function(E,N,R){R=R||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Ie.eq)){return R}var j=this.startNodeAt(E,N);j.left=R;j.right=this.parseMaybeAssign();return this.finishNode(j,"AssignmentPattern")};St.checkLVal=function(E,N,R){if(N===void 0)N=rt;switch(E.type){case"Identifier":if(N===it&&E.name==="let"){this.raiseRecoverable(E.start,"let is disallowed as a lexically bound name")}if(this.strict&&this.reservedWordsStrictBind.test(E.name)){this.raiseRecoverable(E.start,(N?"Binding ":"Assigning to ")+E.name+" in strict mode")}if(R){if(has(R,E.name)){this.raiseRecoverable(E.start,"Argument name clash")}R[E.name]=true}if(N!==rt&&N!==ct){this.declareName(E.name,N,E.start)}break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(N){this.raiseRecoverable(E.start,"Binding member expression")}break;case"ObjectPattern":for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.checkLVal(q,N,R)}break;case"Property":this.checkLVal(E.value,N,R);break;case"ArrayPattern":for(var G=0,ie=E.elements;G=9&&E.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(E.computed||E.method||E.shorthand)){return}var j=E.key;var $;switch(j.type){case"Identifier":$=j.name;break;case"Literal":$=String(j.value);break;default:return}var q=E.kind;if(this.options.ecmaVersion>=6){if($==="__proto__"&&q==="init"){if(N.proto){if(R){if(R.doubleProto<0){R.doubleProto=j.start}}else{this.raiseRecoverable(j.start,"Redefinition of __proto__ property")}}N.proto=true}return}$="$"+$;var G=N[$];if(G){var ie;if(q==="init"){ie=this.strict&&G.init||G.get||G.set}else{ie=G.init||G[q]}if(ie){this.raiseRecoverable(j.start,"Redefinition of property")}}else{G=N[$]={init:false,get:false,set:false}}G[q]=true};Et.parseExpression=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeAssign(E,N);if(this.type===Ie.comma){var q=this.startNodeAt(R,j);q.expressions=[$];while(this.eat(Ie.comma)){q.expressions.push(this.parseMaybeAssign(E,N))}return this.finishNode(q,"SequenceExpression")}return $};Et.parseMaybeAssign=function(E,N,R){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(E)}else{this.exprAllowed=false}}var j=false,$=-1,q=-1;if(N){$=N.parenthesizedAssign;q=N.trailingComma;N.parenthesizedAssign=N.trailingComma=-1}else{N=new DestructuringErrors;j=true}var G=this.start,ie=this.startLoc;if(this.type===Ie.parenL||this.type===Ie.name){this.potentialArrowAt=this.start}var ae=this.parseMaybeConditional(E,N);if(R){ae=R.call(this,ae,G,ie)}if(this.type.isAssign){var ce=this.startNodeAt(G,ie);ce.operator=this.value;ce.left=this.type===Ie.eq?this.toAssignable(ae,false,N):ae;if(!j){N.parenthesizedAssign=N.trailingComma=N.doubleProto=-1}if(N.shorthandAssign>=ce.left.start){N.shorthandAssign=-1}this.checkLVal(ae);this.next();ce.right=this.parseMaybeAssign(E);return this.finishNode(ce,"AssignmentExpression")}else{if(j){this.checkExpressionErrors(N,true)}}if($>-1){N.parenthesizedAssign=$}if(q>-1){N.trailingComma=q}return ae};Et.parseMaybeConditional=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprOps(E,N);if(this.checkExpressionErrors(N)){return $}if(this.eat(Ie.question)){var q=this.startNodeAt(R,j);q.test=$;q.consequent=this.parseMaybeAssign();this.expect(Ie.colon);q.alternate=this.parseMaybeAssign(E);return this.finishNode(q,"ConditionalExpression")}return $};Et.parseExprOps=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeUnary(N,false);if(this.checkExpressionErrors(N)){return $}return $.start===R&&$.type==="ArrowFunctionExpression"?$:this.parseExprOp($,R,j,-1,E)};Et.parseExprOp=function(E,N,R,j,$){var q=this.type.binop;if(q!=null&&(!$||this.type!==Ie._in)){if(q>j){var G=this.type===Ie.logicalOR||this.type===Ie.logicalAND;var ie=this.type===Ie.coalesce;if(ie){q=Ie.logicalAND.binop}var ae=this.value;this.next();var ce=this.start,le=this.startLoc;var _e=this.parseExprOp(this.parseMaybeUnary(null,false),ce,le,q,$);var Ee=this.buildBinary(N,R,E,_e,ae,G||ie);if(G&&this.type===Ie.coalesce||ie&&(this.type===Ie.logicalOR||this.type===Ie.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(Ee,N,R,j,$)}}return E};Et.buildBinary=function(E,N,R,j,$,q){var G=this.startNodeAt(E,N);G.left=R;G.operator=$;G.right=j;return this.finishNode(G,q?"LogicalExpression":"BinaryExpression")};Et.parseMaybeUnary=function(E,N){var R=this.start,j=this.startLoc,$;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)){$=this.parseAwait();N=true}else if(this.type.prefix){var q=this.startNode(),G=this.type===Ie.incDec;q.operator=this.value;q.prefix=true;this.next();q.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(E,true);if(G){this.checkLVal(q.argument)}else if(this.strict&&q.operator==="delete"&&q.argument.type==="Identifier"){this.raiseRecoverable(q.start,"Deleting local variable in strict mode")}else{N=true}$=this.finishNode(q,G?"UpdateExpression":"UnaryExpression")}else{$=this.parseExprSubscripts(E);if(this.checkExpressionErrors(E)){return $}while(this.type.postfix&&!this.canInsertSemicolon()){var ie=this.startNodeAt(R,j);ie.operator=this.value;ie.prefix=false;ie.argument=$;this.checkLVal($);this.next();$=this.finishNode(ie,"UpdateExpression")}}if(!N&&this.eat(Ie.starstar)){return this.buildBinary(R,j,$,this.parseMaybeUnary(null,false),"**",false)}else{return $}};Et.parseExprSubscripts=function(E){var N=this.start,R=this.startLoc;var j=this.parseExprAtom(E);if(j.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return j}var $=this.parseSubscripts(j,N,R);if(E&&$.type==="MemberExpression"){if(E.parenthesizedAssign>=$.start){E.parenthesizedAssign=-1}if(E.parenthesizedBind>=$.start){E.parenthesizedBind=-1}}return $};Et.parseSubscripts=function(E,N,R,j){var $=this.options.ecmaVersion>=8&&E.type==="Identifier"&&E.name==="async"&&this.lastTokEnd===E.end&&!this.canInsertSemicolon()&&E.end-E.start===5&&this.potentialArrowAt===E.start;var q=false;while(true){var G=this.parseSubscript(E,N,R,j,$,q);if(G.optional){q=true}if(G===E||G.type==="ArrowFunctionExpression"){if(q){var ie=this.startNodeAt(N,R);ie.expression=G;G=this.finishNode(ie,"ChainExpression")}return G}E=G}};Et.parseSubscript=function(E,N,R,j,$,q){var G=this.options.ecmaVersion>=11;var ie=G&&this.eat(Ie.questionDot);if(j&&ie){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var ae=this.eat(Ie.bracketL);if(ae||ie&&this.type!==Ie.parenL&&this.type!==Ie.backQuote||this.eat(Ie.dot)){var ce=this.startNodeAt(N,R);ce.object=E;ce.property=ae?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never");ce.computed=!!ae;if(ae){this.expect(Ie.bracketR)}if(G){ce.optional=ie}E=this.finishNode(ce,"MemberExpression")}else if(!j&&this.eat(Ie.parenL)){var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var we=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false,le);if($&&!ie&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=_e;this.awaitPos=Ee;this.awaitIdentPos=Te;return this.parseArrowExpression(this.startNodeAt(N,R),we,true)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;this.awaitIdentPos=Te||this.awaitIdentPos;var Ne=this.startNodeAt(N,R);Ne.callee=E;Ne.arguments=we;if(G){Ne.optional=ie}E=this.finishNode(Ne,"CallExpression")}else if(this.type===Ie.backQuote){if(ie||q){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var Me=this.startNodeAt(N,R);Me.tag=E;Me.quasi=this.parseTemplate({isTagged:true});E=this.finishNode(Me,"TaggedTemplateExpression")}return E};Et.parseExprAtom=function(E){if(this.type===Ie.slash){this.readRegexp()}var N,R=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}N=this.startNode();this.next();if(this.type===Ie.parenL&&!this.allowDirectSuper){this.raise(N.start,"super() call outside constructor of a subclass")}if(this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL){this.unexpected()}return this.finishNode(N,"Super");case Ie._this:N=this.startNode();this.next();return this.finishNode(N,"ThisExpression");case Ie.name:var j=this.start,$=this.startLoc,q=this.containsEsc;var G=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ie._function)){return this.parseFunction(this.startNodeAt(j,$),0,false,true)}if(R&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow)){return this.parseArrowExpression(this.startNodeAt(j,$),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Ie.name&&!q){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ie.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(j,$),[G],true)}}return G;case Ie.regexp:var ie=this.value;N=this.parseLiteral(ie.value);N.regex={pattern:ie.pattern,flags:ie.flags};return N;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:N=this.startNode();N.value=this.type===Ie._null?null:this.type===Ie._true;N.raw=this.type.keyword;this.next();return this.finishNode(N,"Literal");case Ie.parenL:var ae=this.start,ce=this.parseParenAndDistinguishExpression(R);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return ce;case Ie.bracketL:N=this.startNode();this.next();N.elements=this.parseExprList(Ie.bracketR,true,true,E);return this.finishNode(N,"ArrayExpression");case Ie.braceL:return this.parseObj(false,E);case Ie._function:N=this.startNode();this.next();return this.parseFunction(N,0);case Ie._class:return this.parseClass(this.startNode(),false);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();case Ie._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Et.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var N=this.parseIdent(true);switch(this.type){case Ie.parenL:return this.parseDynamicImport(E);case Ie.dot:E.meta=N;return this.parseImportMeta(E);default:this.unexpected()}};Et.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ie.parenR)){var N=this.start;if(this.eat(Ie.comma)&&this.eat(Ie.parenR)){this.raiseRecoverable(N,"Trailing comma is not allowed in import()")}else{this.unexpected(N)}}return this.finishNode(E,"ImportExpression")};Et.parseImportMeta=function(E){this.next();var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(N){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Et.parseLiteral=function(E){var N=this.startNode();N.value=E;N.raw=this.input.slice(this.start,this.end);if(N.raw.charCodeAt(N.raw.length-1)===110){N.bigint=N.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(N,"Literal")};Et.parseParenExpression=function(){this.expect(Ie.parenL);var E=this.parseExpression();this.expect(Ie.parenR);return E};Et.parseParenAndDistinguishExpression=function(E){var N=this.start,R=this.startLoc,j,$=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,ce=false;var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ie.parenR){ae?ae=false:this.expect(Ie.comma);if($&&this.afterTrailingComma(Ie.parenR,true)){ce=true;break}else if(this.type===Ie.ellipsis){Te=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,le,this.parseParenItem))}}var we=this.start,Ne=this.startLoc;this.expect(Ie.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=Ee;return this.parseParenArrowList(N,R,ie)}if(!ie.length||ce){this.unexpected(this.lastTokStart)}if(Te){this.unexpected(Te)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;if(ie.length>1){j=this.startNodeAt(q,G);j.expressions=ie;this.finishNodeAt(j,"SequenceExpression",we,Ne)}else{j=ie[0]}}else{j=this.parseParenExpression()}if(this.options.preserveParens){var Me=this.startNodeAt(N,R);Me.expression=j;return this.finishNode(Me,"ParenthesizedExpression")}else{return j}};Et.parseParenItem=function(E){return E};Et.parseParenArrowList=function(E,N,R){return this.parseArrowExpression(this.startNodeAt(E,N),R)};var Tt=[];Et.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var N=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){E.meta=N;var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(R){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var j=this.start,$=this.startLoc,q=this.type===Ie._import;E.callee=this.parseSubscripts(this.parseExprAtom(),j,$,true);if(q&&E.callee.type==="ImportExpression"){this.raise(j,"Cannot use new with import()")}if(this.eat(Ie.parenL)){E.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=Tt}return this.finishNode(E,"NewExpression")};Et.parseTemplateElement=function(E){var N=E.isTagged;var R=this.startNode();if(this.type===Ie.invalidTemplate){if(!N){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}R.value={raw:this.value,cooked:null}}else{R.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();R.tail=this.type===Ie.backQuote;return this.finishNode(R,"TemplateElement")};Et.parseTemplate=function(E){if(E===void 0)E={};var N=E.isTagged;if(N===void 0)N=false;var R=this.startNode();this.next();R.expressions=[];var j=this.parseTemplateElement({isTagged:N});R.quasis=[j];while(!j.tail){if(this.type===Ie.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ie.dollarBraceL);R.expressions.push(this.parseExpression());this.expect(Ie.braceR);R.quasis.push(j=this.parseTemplateElement({isTagged:N}))}this.next();return this.finishNode(R,"TemplateLiteral")};Et.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Et.parseObj=function(E,N){var R=this.startNode(),j=true,$={};R.properties=[];this.next();while(!this.eat(Ie.braceR)){if(!j){this.expect(Ie.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ie.braceR)){break}}else{j=false}var q=this.parseProperty(E,N);if(!E){this.checkPropClash(q,$,N)}R.properties.push(q)}return this.finishNode(R,E?"ObjectPattern":"ObjectExpression")};Et.parseProperty=function(E,N){var R=this.startNode(),j,$,q,G;if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis)){if(E){R.argument=this.parseIdent(false);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(R,"RestElement")}if(this.type===Ie.parenL&&N){if(N.parenthesizedAssign<0){N.parenthesizedAssign=this.start}if(N.parenthesizedBind<0){N.parenthesizedBind=this.start}}R.argument=this.parseMaybeAssign(false,N);if(this.type===Ie.comma&&N&&N.trailingComma<0){N.trailingComma=this.start}return this.finishNode(R,"SpreadElement")}if(this.options.ecmaVersion>=6){R.method=false;R.shorthand=false;if(E||N){q=this.start;G=this.startLoc}if(!E){j=this.eat(Ie.star)}}var ie=this.containsEsc;this.parsePropertyName(R);if(!E&&!ie&&this.options.ecmaVersion>=8&&!j&&this.isAsyncProp(R)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star);this.parsePropertyName(R,N)}else{$=false}this.parsePropertyValue(R,E,j,$,q,G,N,ie);return this.finishNode(R,"Property")};Et.parsePropertyValue=function(E,N,R,j,$,q,G,ie){if((R||j)&&this.type===Ie.colon){this.unexpected()}if(this.eat(Ie.colon)){E.value=N?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL){if(N){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(R,j)}else if(!N&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ie.comma&&this.type!==Ie.braceR&&this.type!==Ie.eq)){if(R||j){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var ce=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ce,"getter should have no params")}else{this.raiseRecoverable(ce,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(R||j){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=$}E.kind="init";if(N){E.value=this.parseMaybeDefault($,q,E.key)}else if(this.type===Ie.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault($,q,E.key)}else{E.value=E.key}E.shorthand=true}else{this.unexpected()}};Et.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ie.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Et.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Et.parseMethod=function(E,N,R){var j=this.startNode(),$=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction(j);if(this.options.ecmaVersion>=6){j.generator=E}if(this.options.ecmaVersion>=8){j.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(N,j.generator)|et|(R?tt:0));this.expect(Ie.parenL);j.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(j,false,true);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(j,"FunctionExpression")};Et.parseArrowExpression=function(E,N,R){var j=this.yieldPos,$=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(R,false)|Ye);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(N,true);this.parseFunctionBody(E,true,false);this.yieldPos=j;this.awaitPos=$;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Et.parseFunctionBody=function(E,N,R){var j=N&&this.type!==Ie.braceL;var $=this.strict,q=false;if(j){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!$||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!$&&!q&&!N&&!R&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLVal(E.id,ct)}E.body=this.parseBlock(false,undefined,q&&!$);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Et.isSimpleParamList=function(E){for(var N=0,R=E;N-1||$.functions.indexOf(E)>-1||$.var.indexOf(E)>-1;$.lexical.push(E);if(this.inModule&&$.flags&He){delete this.undefinedExports[E]}}else if(N===st){var q=this.currentScope();q.lexical.push(E)}else if(N===ot){var G=this.currentScope();if(this.treatFunctionsAsVar){j=G.lexical.indexOf(E)>-1}else{j=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&Ze&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){j=true;break}ae.var.push(E);if(this.inModule&&ae.flags&He){delete this.undefinedExports[E]}if(ae.flags&Ke){break}}}if(j){this.raiseRecoverable(R,"Identifier '"+E+"' has already been declared")}};Ct.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Ct.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ct.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Ke){return N}}};Ct.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Ke&&!(N.flags&Ye)){return N}}};var At=function Node(E,N,R){this.type="";this.start=N;this.end=0;if(E.options.locations){this.loc=new Ve(E,R)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[N,0]}};var wt=ut.prototype;wt.startNode=function(){return new At(this,this.start,this.startLoc)};wt.startNodeAt=function(E,N){return new At(this,E,N)};function finishNodeAt(E,N,R,j){E.type=N;E.end=R;if(this.options.locations){E.loc.end=j}if(this.options.ranges){E.range[1]=R}return E}wt.finishNode=function(E,N){return finishNodeAt.call(this,E,N,this.lastTokEnd,this.lastTokEndLoc)};wt.finishNodeAt=function(E,N,R,j){return finishNodeAt.call(this,E,N,R,j)};var Pt=function TokContext(E,N,R,j,$){this.token=E;this.isExpr=!!N;this.preserveSpace=!!R;this.override=j;this.generator=!!$};var Ft={b_stat:new Pt("{",false),b_expr:new Pt("{",true),b_tmpl:new Pt("${",false),p_stat:new Pt("(",false),p_expr:new Pt("(",true),q_tmpl:new Pt("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Pt("function",false),f_expr:new Pt("function",true),f_expr_gen:new Pt("function",true,false,null,true),f_gen:new Pt("function",false,false,null,true)};var It=ut.prototype;It.initialContext=function(){return[Ft.b_stat]};It.braceIsBlock=function(E){var N=this.curContext();if(N===Ft.f_expr||N===Ft.f_stat){return true}if(E===Ie.colon&&(N===Ft.b_stat||N===Ft.b_expr)){return!N.isExpr}if(E===Ie._return||E===Ie.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ie._else||E===Ie.semi||E===Ie.eof||E===Ie.parenR||E===Ie.arrow){return true}if(E===Ie.braceL){return N===Ft.b_stat}if(E===Ie._var||E===Ie._const||E===Ie.name){return false}return!this.exprAllowed};It.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var N=this.context[E];if(N.token==="function"){return N.generator}}return false};It.updateContext=function(E){var N,R=this.type;if(R.keyword&&E===Ie.dot){this.exprAllowed=false}else if(N=R.updateContext){N.call(this,E)}else{this.exprAllowed=R.beforeExpr}};Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===Ft.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ie.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?Ft.b_stat:Ft.b_expr);this.exprAllowed=true};Ie.dollarBraceL.updateContext=function(){this.context.push(Ft.b_tmpl);this.exprAllowed=true};Ie.parenL.updateContext=function(E){var N=E===Ie._if||E===Ie._for||E===Ie._with||E===Ie._while;this.context.push(N?Ft.p_stat:Ft.p_expr);this.exprAllowed=true};Ie.incDec.updateContext=function(){};Ie._function.updateContext=Ie._class.updateContext=function(E){if(E.beforeExpr&&E!==Ie.semi&&E!==Ie._else&&!(E===Ie._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ie.colon||E===Ie.braceL)&&this.curContext()===Ft.b_stat)){this.context.push(Ft.f_expr)}else{this.context.push(Ft.f_stat)}this.exprAllowed=false};Ie.backQuote.updateContext=function(){if(this.curContext()===Ft.q_tmpl){this.context.pop()}else{this.context.push(Ft.q_tmpl)}this.exprAllowed=false};Ie.star.updateContext=function(E){if(E===Ie._function){var N=this.context.length-1;if(this.context[N]===Ft.f_expr){this.context[N]=Ft.f_expr_gen}else{this.context[N]=Ft.f_gen}}this.exprAllowed=true};Ie.name.updateContext=function(E){var N=false;if(this.options.ecmaVersion>=6&&E!==Ie.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){N=true}}this.exprAllowed=N};var Nt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Ot=Nt+" Extended_Pictographic";var Mt=Ot;var Rt={9:Nt,10:Ot,11:Mt};var Lt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Bt="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var jt=Bt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ut=jt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var zt={9:Bt,10:jt,11:Ut};var Wt={};function buildUnicodeData(E){var N=Wt[E]={binary:wordsRegexp(Rt[E]+" "+Lt),nonBinary:{General_Category:wordsRegexp(Lt),Script:wordsRegexp(zt[E])}};N.nonBinary.Script_Extensions=N.nonBinary.Script;N.nonBinary.gc=N.nonBinary.General_Category;N.nonBinary.sc=N.nonBinary.Script;N.nonBinary.scx=N.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var $t=ut.prototype;var Jt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Wt[E.options.ecmaVersion>=11?11:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Jt.prototype.reset=function reset(E,N,R){var j=R.indexOf("u")!==-1;this.start=E|0;this.source=N+"";this.flags=R;this.switchU=j&&this.parser.options.ecmaVersion>=6;this.switchN=j&&this.parser.options.ecmaVersion>=9};Jt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Jt.prototype.at=function at(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return-1}var $=R.charCodeAt(E);if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j){return $}var q=R.charCodeAt(E+1);return q>=56320&&q<=57343?($<<10)+q-56613888:$};Jt.prototype.nextIndex=function nextIndex(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return j}var $=R.charCodeAt(E),q;if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j||(q=R.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Jt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Jt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Jt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Jt.prototype.eat=function eat(E,N){if(N===void 0)N=false;if(this.current(N)===E){this.advance(N);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}$t.validateRegExpFlags=function(E){var N=E.validFlags;var R=E.flags;for(var j=0;j-1){this.raise(E.start,"Duplicate regular expression flag")}}};$t.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};$t.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var N=0,R=E.backReferenceNames;N=9){R=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!R;return true}}E.pos=N;return false};$t.regexp_eatQuantifier=function(E,N){if(N===void 0)N=false;if(this.regexp_eatQuantifierPrefix(E,N)){E.eat(63);return true}return false};$t.regexp_eatQuantifierPrefix=function(E,N){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,N)};$t.regexp_eatBracedQuantifier=function(E,N){var R=E.pos;if(E.eat(123)){var j=0,$=-1;if(this.regexp_eatDecimalDigits(E)){j=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){$=E.lastIntValue}if(E.eat(125)){if($!==-1&&$=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};$t.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};$t.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};$t.regexp_eatSyntaxCharacter=function(E){var N=E.current();if(isSyntaxCharacter(N)){E.lastIntValue=N;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}$t.regexp_eatPatternCharacters=function(E){var N=E.pos;var R=0;while((R=E.current())!==-1&&!isSyntaxCharacter(R)){E.advance()}return E.pos!==N};$t.regexp_eatExtendedPatternCharacter=function(E){var N=E.current();if(N!==-1&&N!==36&&!(N>=40&&N<=43)&&N!==46&&N!==63&&N!==91&&N!==94&&N!==124){E.advance();return true}return false};$t.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};$t.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};$t.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};$t.regexp_eatRegExpIdentifierStart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierStart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}$t.regexp_eatRegExpIdentifierPart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierPart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}$t.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};$t.regexp_eatBackReference=function(E){var N=E.pos;if(this.regexp_eatDecimalEscape(E)){var R=E.lastIntValue;if(E.switchU){if(R>E.maxBackReference){E.maxBackReference=R}return true}if(R<=E.numCapturingParens){return true}E.pos=N}return false};$t.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};$t.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};$t.regexp_eatCControlLetter=function(E){var N=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=N}return false};$t.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};$t.regexp_eatControlEscape=function(E){var N=E.current();if(N===116){E.lastIntValue=9;E.advance();return true}if(N===110){E.lastIntValue=10;E.advance();return true}if(N===118){E.lastIntValue=11;E.advance();return true}if(N===102){E.lastIntValue=12;E.advance();return true}if(N===114){E.lastIntValue=13;E.advance();return true}return false};$t.regexp_eatControlLetter=function(E){var N=E.current();if(isControlLetter(N)){E.lastIntValue=N%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}$t.regexp_eatRegExpUnicodeEscapeSequence=function(E,N){if(N===void 0)N=false;var R=E.pos;var j=N||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var $=E.lastIntValue;if(j&&$>=55296&&$<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=($-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=$}return true}if(j&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(j){E.raise("Invalid unicode escape")}E.pos=R}return false};function isValidUnicode(E){return E>=0&&E<=1114111}$t.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var N=E.current();if(N!==99&&(!E.switchN||N!==107)){E.lastIntValue=N;E.advance();return true}return false};$t.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var N=E.current();if(N>=49&&N<=57){do{E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}while((N=E.current())>=48&&N<=57);return true}return false};$t.regexp_eatCharacterClassEscape=function(E){var N=E.current();if(isCharacterClassEscape(N)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(N===80||N===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}$t.regexp_eatUnicodePropertyValueExpression=function(E){var N=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var R=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,R,j);return true}}E.pos=N;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,$);return true}return false};$t.regexp_validateUnicodePropertyNameAndValue=function(E,N,R){if(!has(E.unicodeProperties.nonBinary,N)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[N].test(R)){E.raise("Invalid property value")}};$t.regexp_validateUnicodePropertyNameOrValue=function(E,N){if(!E.unicodeProperties.binary.test(N)){E.raise("Invalid property name")}};$t.regexp_eatUnicodePropertyName=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}$t.regexp_eatUnicodePropertyValue=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}$t.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};$t.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};$t.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.switchU&&(N===-1||R===-1)){E.raise("Invalid character class")}if(N!==-1&&R!==-1&&N>R){E.raise("Range out of order in character class")}}}};$t.regexp_eatClassAtom=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var R=E.current();if(R===99||isOctalDigit(R)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=N}var j=E.current();if(j!==93){E.lastIntValue=j;E.advance();return true}return false};$t.regexp_eatClassEscape=function(E){var N=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=N}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};$t.regexp_eatClassControlLetter=function(E){var N=E.current();if(isDecimalDigit(N)||N===95){E.lastIntValue=N%32;E.advance();return true}return false};$t.regexp_eatHexEscapeSequence=function(E){var N=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=N}return false};$t.regexp_eatDecimalDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isDecimalDigit(R=E.current())){E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}return E.pos!==N};function isDecimalDigit(E){return E>=48&&E<=57}$t.regexp_eatHexDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isHexDigit(R=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(R);E.advance()}return E.pos!==N};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}$t.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(N<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=N*64+R*8+E.lastIntValue}else{E.lastIntValue=N*8+R}}else{E.lastIntValue=N}return true}return false};$t.regexp_eatOctalDigit=function(E){var N=E.current();if(isOctalDigit(N)){E.lastIntValue=N-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}$t.regexp_eatFixedHexDigits=function(E,N){var R=E.pos;E.lastIntValue=0;for(var j=0;j=this.input.length){return this.finishToken(Ie.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};qt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};qt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=57344){return E}var N=this.input.charCodeAt(this.pos+1);return(E<<10)+N-56613888};qt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var N=this.pos,R=this.input.indexOf("*/",this.pos+=2);if(R===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=R+2;if(this.options.locations){Me.lastIndex=N;var j;while((j=Me.exec(this.input))&&j.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};qt.finishToken=function(E,N){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var R=this.type;this.type=E;this.value=N;this.updateContext(R)};qt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var N=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&N===46){this.pos+=3;return this.finishToken(Ie.ellipsis)}else{++this.pos;return this.finishToken(Ie.dot)}};qt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.slash,1)};qt.readToken_mult_modulo_exp=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;var j=E===42?Ie.star:Ie.modulo;if(this.options.ecmaVersion>=7&&E===42&&N===42){++R;j=Ie.starstar;N=this.input.charCodeAt(this.pos+2)}if(N===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(j,R)};qt.readToken_pipe_amp=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(this.options.ecmaVersion>=12){var R=this.input.charCodeAt(this.pos+2);if(R===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(E===124?Ie.logicalOR:Ie.logicalAND,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(E===124?Ie.bitwiseOR:Ie.bitwiseAND,1)};qt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.bitwiseXOR,1)};qt.readToken_plus_min=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(N===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ie.incDec,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.plusMin,1)};qt.readToken_lt_gt=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;if(N===E){R=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+R)===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(Ie.bitShift,R)}if(N===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(N===61){R=2}return this.finishOp(Ie.relational,R)};qt.readToken_eq_excl=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===61){return this.finishOp(Ie.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&N===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ie.arrow)}return this.finishOp(E===61?Ie.eq:Ie.prefix,1)};qt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var N=this.input.charCodeAt(this.pos+1);if(N===46){var R=this.input.charCodeAt(this.pos+2);if(R<48||R>57){return this.finishOp(Ie.questionDot,2)}}if(N===63){if(E>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(Ie.coalesce,2)}}return this.finishOp(Ie.question,1)};qt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ie.parenL);case 41:++this.pos;return this.finishToken(Ie.parenR);case 59:++this.pos;return this.finishToken(Ie.semi);case 44:++this.pos;return this.finishToken(Ie.comma);case 91:++this.pos;return this.finishToken(Ie.bracketL);case 93:++this.pos;return this.finishToken(Ie.bracketR);case 123:++this.pos;return this.finishToken(Ie.braceL);case 125:++this.pos;return this.finishToken(Ie.braceR);case 58:++this.pos;return this.finishToken(Ie.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ie.backQuote);case 48:var N=this.input.charCodeAt(this.pos+1);if(N===120||N===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(N===111||N===79){return this.readRadixNumber(8)}if(N===98||N===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Ie.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};qt.finishOp=function(E,N){var R=this.input.slice(this.pos,this.pos+N);this.pos+=N;return this.finishToken(E,R)};qt.readRegexp=function(){var E,N,R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(R,"Unterminated regular expression")}var j=this.input.charAt(this.pos);if(Ne.test(j)){this.raise(R,"Unterminated regular expression")}if(!E){if(j==="["){N=true}else if(j==="]"&&N){N=false}else if(j==="/"&&!N){break}E=j==="\\"}else{E=false}++this.pos}var $=this.input.slice(R,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Jt(this));ie.reset(R,$,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp($,G)}catch(E){}return this.finishToken(Ie.regexp,{pattern:$,flags:G,value:ae})};qt.readInt=function(E,N,R){var j=this.options.ecmaVersion>=12&&N===undefined;var $=R&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,ce=N==null?Infinity:N;ae=97){_e=le-97+10}else if(le>=65){_e=le-65+10}else if(le>=48&&le<=57){_e=le-48}else{_e=Infinity}if(_e>=E){break}ie=le;G=G*E+_e}if(j&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||N!=null&&this.pos-q!==N){return null}return G};function stringToNumber(E,N){if(N){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}qt.readRadixNumber=function(E){var N=this.pos;this.pos+=2;var R=this.readInt(E);if(R==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){R=stringToBigInt(this.input.slice(N,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,R)};qt.readNumber=function(E){var N=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(N,"Invalid number")}var R=this.pos-N>=2&&this.input.charCodeAt(N)===48;if(R&&this.strict){this.raise(N,"Invalid number")}var j=this.input.charCodeAt(this.pos);if(!R&&!E&&this.options.ecmaVersion>=11&&j===110){var $=stringToBigInt(this.input.slice(N,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,$)}if(R&&/[89]/.test(this.input.slice(N,this.pos))){R=false}if(j===46&&!R){++this.pos;this.readInt(10);j=this.input.charCodeAt(this.pos)}if((j===69||j===101)&&!R){j=this.input.charCodeAt(++this.pos);if(j===43||j===45){++this.pos}if(this.readInt(10)===null){this.raise(N,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(N,this.pos),R);return this.finishToken(Ie.num,q)};qt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),N;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var R=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(N>1114111){this.invalidStringToken(R,"Code point out of bounds")}}else{N=this.readHexChar(4)}return N};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}qt.readString=function(E){var N="",R=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var j=this.input.charCodeAt(this.pos);if(j===E){break}if(j===92){N+=this.input.slice(R,this.pos);N+=this.readEscapedChar(false);R=this.pos}else{if(isNewLine(j,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}N+=this.input.slice(R,this.pos++);return this.finishToken(Ie.string,N)};var Ht={};qt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Ht){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};qt.invalidStringToken=function(E,N){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ht}else{this.raise(E,N)}};qt.readTmplToken=function(){var E="",N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var R=this.input.charCodeAt(this.pos);if(R===96||R===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ie.template||this.type===Ie.invalidTemplate)){if(R===36){this.pos+=2;return this.finishToken(Ie.dollarBraceL)}else{++this.pos;return this.finishToken(Ie.backQuote)}}E+=this.input.slice(N,this.pos);return this.finishToken(Ie.template,E)}if(R===92){E+=this.input.slice(N,this.pos);E+=this.readEscapedChar(true);N=this.pos}else if(isNewLine(R)){E+=this.input.slice(N,this.pos);++this.pos;switch(R){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(R);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}N=this.pos}else{++this.pos}}};qt.readInvalidTemplateToken=function(){for(;this.pos=48&&N<=55){var j=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var $=parseInt(j,8);if($>255){j=j.slice(0,-1);$=parseInt(j,8)}this.pos+=j.length-1;N=this.input.charCodeAt(this.pos);if((j!=="0"||N===56||N===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-j.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode($)}if(isNewLine(N)){return""}return String.fromCharCode(N)}};qt.readHexChar=function(E){var N=this.pos;var R=this.readInt(16,E);if(R===null){this.invalidStringToken(N,"Bad character escape sequence")}return R};qt.readWord1=function(){this.containsEsc=false;var E="",N=true,R=this.pos;var j=this.options.ecmaVersion>=6;while(this.pos{"use strict";var j=R(62310);E.exports=defineKeywords;function defineKeywords(E,N){if(Array.isArray(N)){for(var R=0;R{"use strict";var j=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var $=/t|\s/i;var q={date:compareDate,time:compareTime,"date-time":compareDateTime};var G={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var N="format"+E;return function defFunc(j){defFunc.definition={type:"string",inline:R(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},G]}};j.addKeyword(N,defFunc.definition);j.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},G]}});extendFormats(j);return j}};function extendFormats(E){var N=E._formats;for(var R in q){var j=N[R];if(typeof j!="object"||j instanceof RegExp||!j.validate)j=N[R]={validate:j};if(!j.compare)j.compare=q[R]}}function compareDate(E,N){if(!(E&&N))return;if(E>N)return 1;if(EN)return 1;if(E{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var N="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var R=E._opts.defaultMeta;if(typeof R=="string")return{$ref:R};if(E.getSchema(N))return{$ref:N};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,N){if(!E)return true;var R=Object.keys(N.properties);if(R.length==0)return true;return{required:R}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{anyOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var N=[];for(var R in E)N.push(getSchema(R,E[R]));return{allOf:N}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:j.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,N){var R=E.split("/");var j={};var $=j;for(var q=1;q{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,N,R){var j="";for(var $=0;${"use strict";E.exports=function generate__formatLimit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee="valid"+$;j+="var "+Ee+" = undefined;";if(E.opts.format===false){j+=" "+Ee+" = true; ";return j}var Te=E.schema.format,we=E.opts.$data&&Te.$data,Ie="";if(we){var Ne=E.util.getData(Te.$data,q,E.dataPathArr),Me="format"+$,Le="compare"+$;j+=" var "+Me+" = formats["+Ne+"] , "+Le+" = "+Me+" && "+Me+".compare;"}else{var Me=E.formats[Te];if(!(Me&&Me.compare)){j+=" "+Ee+" = true; ";return j}var Le="formats"+E.util.getProperty(Te)+".compare"}var Be=N=="formatMaximum",je="formatExclusive"+(Be?"Maximum":"Minimum"),Ue=E.schema[je],ze=E.opts.$data&&Ue&&Ue.$data,We=Be?"<":">",Je="result"+$;var Ve=E.opts.$data&&G&&G.$data,qe;if(Ve){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";qe="schema"+$}else{qe=G}if(ze){var He=E.util.getData(Ue.$data,q,E.dataPathArr),Ge="exclusive"+$,Ke="op"+$,Qe="' + "+Ke+" + '";j+=" var schemaExcl"+$+" = "+He+"; ";He="schemaExcl"+$;j+=" if (typeof "+He+" != 'boolean' && "+He+" !== undefined) { "+Ee+" = false; ";var le=je;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+je+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){Ie+="}";j+=" else { "}if(Ve){j+=" if ("+qe+" === undefined) "+Ee+" = true; else if (typeof "+qe+" != 'string') "+Ee+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Ee+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Ee+" = false; var "+Ge+" = "+He+" === true; if ("+Ee+" === undefined) { "+Ee+" = "+Ge+" ? "+Je+" "+We+" 0 : "+Je+" "+We+"= 0; } if (!"+Ee+") var op"+$+" = "+Ge+" ? '"+We+"' : '"+We+"=';"}else{var Ge=Ue===true,Qe=We;if(!Ge)Qe+="=";var Ke="'"+Qe+"'";if(Ve){j+=" if ("+qe+" === undefined) "+Ee+" = true; else if (typeof "+qe+" != 'string') "+Ee+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Ee+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Ee+" = false; if ("+Ee+" === undefined) "+Ee+" = "+Je+" "+We;if(!Ge){j+="="}j+=" 0;"}j+=""+Ie+"if (!"+Ee+") { ";var le=N;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Ke+", limit: ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" , exclusive: "+Ge+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Qe+' "';if(Ve){j+="' + "+qe+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(Ve){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="}";return j}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="key"+$,Te="idx"+$,we="patternMatched"+$,Ie="dataProperties"+$,Ne="",Me=E.opts.ownProperties;j+="var "+_e+" = true;";if(Me){j+=" var "+Ie+" = undefined;"}var Le=G;if(Le){var Be,je=-1,Ue=Le.length-1;while(je{"use strict";E.exports=function generate_switch(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="ifPassed"+E.level,Me=Te.baseId,Le;j+="var "+Ne+";";var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue0:E.util.schemaHasRules(je.if,E.RULES.all))){j+=" var "+Ee+" = errors; ";var We=E.compositeRule;E.compositeRule=Te.compositeRule=true;Te.createErrors=false;Te.schema=je.if;Te.schemaPath=ie+"["+Ue+"].if";Te.errSchemaPath=ae+"/"+Ue+"/if";j+=" "+E.validate(Te)+" ";Te.baseId=Me;Te.createErrors=true;E.compositeRule=Te.compositeRule=We;j+=" "+Ne+" = "+Ie+"; if ("+Ne+") { ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Te.schema=je.then;Te.schemaPath=ie+"["+Ue+"].then";Te.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Me}j+=" } else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } } "}else{j+=" "+Ne+" = true; ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Te.schema=je.then;Te.schemaPath=ie+"["+Ue+"].then";Te.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Me}}Le=je.continue}}j+=""+we+"var "+_e+" = "+Ie+";";return j}},41835:E=>{"use strict";var N={};var R={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var N=E&&E.max||2;return function(){return Math.floor(Math.random()*N)}},seq:function(E){var R=E&&E.name||"";N[R]=N[R]||0;return function(){return N[R]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,N,R){var j={};for(var $ in E){var q=E[$];var G=getDefault(typeof q=="string"?q:q.func);j[$]=G.length?G(q.args):G}return R.opts.useDefaults&&!R.compositeRule?assignDefaults:noop;function assignDefaults(N){for(var $ in E){if(N[$]===undefined||R.opts.useDefaults=="empty"&&(N[$]===null||N[$]===""))N[$]=j[$]()}return true}function noop(){return true}},DEFAULTS:R,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var N=R[E];if(N)return N;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,N,R)=>{"use strict";E.exports=R(87113)("Maximum")},50581:(E,N,R)=>{"use strict";E.exports=R(87113)("Minimum")},62310:(E,N,R)=>{"use strict";E.exports={instanceof:R(94236),range:R(5332),regexp:R(85829),typeof:R(77189),dynamicDefaults:R(41835),allRequired:R(96216),anyRequired:R(1611),oneRequired:R(82233),prohibited:R(47431),uniqueItemProperties:R(69536),deepProperties:R(49494),deepRequired:R(23023),formatMinimum:R(50581),formatMaximum:R(69513),patternRequired:R(89042),switch:R(65305),select:R(9821),transform:R(62111)}},94236:E=>{"use strict";var N={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")N.Buffer=Buffer;if(typeof Promise!="undefined")N.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var N=getConstructor(E);return function(E){return E instanceof N}}var R=E.map(getConstructor);return function(E){for(var N=0;N{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{oneOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,N,R)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:R(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var N=E.map((function(E){return{required:[E]}}));return{not:{anyOf:N}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,N){var R=E[0],j=E[1],$=N.exclusiveRange;validateRangeSchema(R,j,$);return $===true?{exclusiveMinimum:R,exclusiveMaximum:j}:{minimum:R,maximum:j}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,N,R){if(R!==undefined&&typeof R!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>N||R&&E==N)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,N,R){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof R=="object")return new RegExp(R.pattern,R.flags);var E=R.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",R,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var N=j.metaSchemaRef(E);var R=[];defFunc.definition={validate:function v(E,N,R){if(R.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var j=getCompiledSchemas(R,false);var $=j.cases[E];if($===undefined)$=j.default;if(typeof $=="boolean")return $;var q=$(N);if(!q)v.errors=$.errors;return q},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,N){var R=getCompiledSchemas(N);for(var j in E)R.cases[j]=compileOrBoolean(E[j]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:N}});E.addKeyword("selectDefault",{compile:function(E,N){var R=getCompiledSchemas(N);R.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:N});return E;function getCompiledSchemas(E,N){var j;R.some((function(N){if(N.parentSchema===E){j=N;return true}}));if(!j&&N!==false){j={parentSchema:E,cases:{},default:true};R.push(j)}return j}function compileOrBoolean(N){return typeof N=="boolean"?N:E.compile(N)}}},65305:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var N=j.metaSchemaRef(E);defFunc.definition={inline:R(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:N,then:{anyOf:[{type:"boolean"},N]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var N={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,N){return N.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,R){var j;if(E.indexOf("toEnumCase")!==-1){j={hash:{}};if(!R.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var $=R.enum.length;$--;$){var q=R.enum[$];if(typeof q!=="string")continue;var G=makeHashTableKey(q);if(j.hash[G])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');j.hash[G]=q}}return function(R,$,q,G){if(!q)return;for(var ie=0,ae=E.length;ie{"use strict";var N=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,N,R){var j="data"+(E.dataLevel||"");if(typeof R=="string")return"typeof "+j+' == "'+R+'"';R="validate.schema"+E.schemaPath+"."+N;return R+".indexOf(typeof "+j+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:N},{type:"array",items:{type:"string",enum:N}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var N=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,N,R){var j=R.util.equal;var $=getScalarKeys(E,N);return function(N){if(N.length>1){for(var R=0;R=0}))}},33866:(E,N,R)=>{"use strict";var j=R(69579),$=R(82253),q=R(32183),G=R(38868),ie=R(75986),ae=R(10698),ce=R(75041),le=R(30398),_e=R(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=R(18840);var Ee=R(3811);Ajv.prototype.addKeyword=Ee.add;Ajv.prototype.getKeyword=Ee.get;Ajv.prototype.removeKeyword=Ee.remove;Ajv.prototype.validateKeyword=Ee.validate;var Te=R(29411);Ajv.ValidationError=Te.Validation;Ajv.MissingRefError=Te.MissingRef;Ajv.$dataMetaSchema=le;var we="http://json-schema.org/draft-07/schema";var Ie=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Ne=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=_e.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=ae(E.format);this._cache=E.cache||new q;this._loadingSchemas={};this._compilations=[];this.RULES=ce();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ie;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,N){var R;if(typeof E=="string"){R=this.getSchema(E);if(!R)throw new Error('no schema with key or ref "'+E+'"')}else{var j=this._addSchema(E);R=j.validate||this._compile(j)}var $=R(N);if(R.$async!==true)this.errors=R.errors;return $}function compile(E,N){var R=this._addSchema(E,undefined,N);return R.validate||this._compile(R)}function addSchema(E,N,R,j){if(Array.isArray(E)){for(var q=0;q{"use strict";var N=E.exports=function Cache(){this._cache={}};N.prototype.put=function Cache_put(E,N){this._cache[E]=N};N.prototype.get=function Cache_get(E){return this._cache[E]};N.prototype.del=function Cache_del(E){delete this._cache[E]};N.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,N,R)=>{"use strict";var j=R(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,N,R){var $=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof N=="function"){R=N;N=undefined}var q=loadMetaSchemaOf(E).then((function(){var R=$._addSchema(E,undefined,N);return R.validate||_compileAsync(R)}));if(R){q.then((function(E){R(null,E)}),R)}return q;function loadMetaSchemaOf(E){var N=E.$schema;return N&&!$.getSchema(N)?compileAsync.call($,{$ref:N},true):Promise.resolve()}function _compileAsync(E){try{return $._compile(E)}catch(E){if(E instanceof j)return loadMissingSchema(E);throw E}function loadMissingSchema(R){var j=R.missingSchema;if(added(j))throw new Error("Schema "+j+" is loaded but "+R.missingRef+" cannot be resolved");var q=$._loadingSchemas[j];if(!q){q=$._loadingSchemas[j]=$._opts.loadSchema(j);q.then(removePromise,removePromise)}return q.then((function(E){if(!added(j)){return loadMetaSchemaOf(E).then((function(){if(!added(j))$.addSchema(E,j,undefined,N)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete $._loadingSchemas[j]}function added(E){return $._refs[E]||$._schemas[E]}}}}},29411:(E,N,R)=>{"use strict";var j=R(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,N){return"can't resolve reference "+N+" from id "+E};function MissingRefError(E,N,R){this.message=R||MissingRefError.message(E,N);this.missingRef=j.url(E,N);this.missingSchema=j.normalizeId(j.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,N,R)=>{"use strict";var j=R(778);var $=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var q=[0,31,28,31,30,31,30,31,31,30,31,30,31];var G=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ce=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var le=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var _e=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var Ee=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Te=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var we=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Ie=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return j.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":le,url:_e,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Ee,"json-pointer":Te,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":ce,"uri-template":le,url:_e,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Ee,"json-pointer":Te,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var N=E.match($);if(!N)return false;var R=+N[1];var j=+N[2];var G=+N[3];return j>=1&&j<=12&&G>=1&&G<=(j==2&&isLeapYear(R)?29:q[j])}function time(E,N){var R=E.match(G);if(!R)return false;var j=R[1];var $=R[2];var q=R[3];var ie=R[5];return(j<=23&&$<=59&&q<=59||j==23&&$==59&&q==60)&&(!N||ie)}var Ne=/t|\s/i;function date_time(E){var N=E.split(Ne);return N.length==2&&date(N[0])&&time(N[1],true)}var Me=/\/|:/;function uri(E){return Me.test(E)&&ae.test(E)}var Le=/[^\\]\\Z/;function regex(E){if(Le.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,N,R)=>{"use strict";var j=R(82253),$=R(778),q=R(29411),G=R(75986);var ie=R(85061);var ae=$.ucs2length;var ce=R(55245);var le=q.Validation;E.exports=compile;function compile(E,N,R,_e){var Ee=this,Te=this._opts,we=[undefined],Ie={},Ne=[],Me={},Le=[],Be={},je=[];N=N||{schema:E,refVal:we,refs:Ie};var Ue=checkCompiling.call(this,E,N,_e);var ze=this._compilations[Ue.index];if(Ue.compiling)return ze.callValidate=callValidate;var We=this._formats;var Je=this.RULES;try{var Ve=localCompile(E,N,R,_e);ze.validate=Ve;var qe=ze.callValidate;if(qe){qe.schema=Ve.schema;qe.errors=null;qe.refs=Ve.refs;qe.refVal=Ve.refVal;qe.root=Ve.root;qe.$async=Ve.$async;if(Te.sourceCode)qe.source=Ve.source}return Ve}finally{endCompiling.call(this,E,N,_e)}function callValidate(){var E=ze.validate;var N=E.apply(this,arguments);callValidate.errors=E.errors;return N}function localCompile(E,R,G,_e){var Me=!R||R&&R.schema==E;if(R.schema!=N.schema)return compile.call(Ee,E,R,G,_e);var Be=E.$async===true;var Ue=ie({isTop:true,schema:E,isRoot:Me,baseId:_e,root:R,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:Je,validate:ie,util:$,resolve:j,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Te,formats:We,logger:Ee.logger,self:Ee});Ue=vars(we,refValCode)+vars(Ne,patternCode)+vars(Le,defaultCode)+vars(je,customRuleCode)+Ue;if(Te.processCode)Ue=Te.processCode(Ue,E);var ze;try{var Ve=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Ue);ze=Ve(Ee,Je,We,N,we,Le,je,ce,ae,le);we[0]=ze}catch(E){Ee.logger.error("Error compiling schema, function code:",Ue);throw E}ze.schema=E;ze.errors=null;ze.refs=Ie;ze.refVal=we;ze.root=Me?ze:R;if(Be)ze.$async=true;if(Te.sourceCode===true){ze.source={code:Ue,patterns:Ne,defaults:Le}}return ze}function resolveRef(E,$,q){$=j.url(E,$);var G=Ie[$];var ie,ae;if(G!==undefined){ie=we[G];ae="refVal["+G+"]";return resolvedRef(ie,ae)}if(!q&&N.refs){var ce=N.refs[$];if(ce!==undefined){ie=N.refVal[ce];ae=addLocalRef($,ie);return resolvedRef(ie,ae)}}ae=addLocalRef($);var le=j.call(Ee,localCompile,N,$);if(le===undefined){var _e=R&&R[$];if(_e){le=j.inlineRef(_e,Te.inlineRefs)?_e:compile.call(Ee,_e,N,R,E)}}if(le===undefined){removeLocalRef($)}else{replaceLocalRef($,le);return resolvedRef(le,ae)}}function addLocalRef(E,N){var R=we.length;we[R]=N;Ie[E]=R;return"refVal"+R}function removeLocalRef(E){delete Ie[E]}function replaceLocalRef(E,N){var R=Ie[E];we[R]=N}function resolvedRef(E,N){return typeof E=="object"||typeof E=="boolean"?{code:N,schema:E,inline:true}:{code:N,$async:E&&!!E.$async}}function usePattern(E){var N=Me[E];if(N===undefined){N=Me[E]=Ne.length;Ne[N]=E}return"pattern"+N}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return $.toQuotedString(E);case"object":if(E===null)return"null";var N=G(E);var R=Be[N];if(R===undefined){R=Be[N]=Le.length;Le[R]=E}return"default"+R}}function useCustomRule(E,N,R,j){if(Ee._opts.validateSchema!==false){var $=E.definition.dependencies;if($&&!$.every((function(E){return Object.prototype.hasOwnProperty.call(R,E)})))throw new Error("parent schema must have all required keywords: "+$.join(","));var q=E.definition.validateSchema;if(q){var G=q(N);if(!G){var ie="keyword schema is invalid: "+Ee.errorsText(q.errors);if(Ee._opts.validateSchema=="log")Ee.logger.error(ie);else throw new Error(ie)}}}var ae=E.definition.compile,ce=E.definition.inline,le=E.definition.macro;var _e;if(ae){_e=ae.call(Ee,N,R,j)}else if(le){_e=le.call(Ee,N,R,j);if(Te.validateSchema!==false)Ee.validateSchema(_e,true)}else if(ce){_e=ce.call(Ee,j,E.keyword,N,R)}else{_e=E.definition.validate;if(!_e)return}if(_e===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var we=je.length;je[we]=_e;return{code:"customRule"+we,validate:_e}}}function checkCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)return{index:j,compiling:true};j=this._compilations.length;this._compilations[j]={schema:E,root:N,baseId:R};return{index:j,compiling:false}}function endCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)this._compilations.splice(j,1)}function compIndex(E,N,R){for(var j=0;j{"use strict";var j=R(30823),$=R(55245),q=R(778),G=R(38868),ie=R(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,N,R){var j=this._refs[R];if(typeof j=="string"){if(this._refs[j])j=this._refs[j];else return resolve.call(this,E,N,j)}j=j||this._schemas[R];if(j instanceof G){return inlineRef(j.schema,this._opts.inlineRefs)?j.schema:j.validate||this._compile(j)}var $=resolveSchema.call(this,N,R);var q,ie,ae;if($){q=$.schema;N=$.root;ae=$.baseId}if(q instanceof G){ie=q.validate||E.call(this,q.schema,N,undefined,ae)}else if(q!==undefined){ie=inlineRef(q,this._opts.inlineRefs)?q:E.call(this,q,N,undefined,ae)}return ie}function resolveSchema(E,N){var R=j.parse(N),$=_getFullPath(R),q=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||$!==q){var ie=normalizeId($);var ae=this._refs[ie];if(typeof ae=="string"){return resolveRecursive.call(this,E,ae,R)}else if(ae instanceof G){if(!ae.validate)this._compile(ae);E=ae}else{ae=this._schemas[ie];if(ae instanceof G){if(!ae.validate)this._compile(ae);if(ie==normalizeId(N))return{schema:ae,root:E,baseId:q};E=ae}else{return}}if(!E.schema)return;q=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,R,q,E.schema,E)}function resolveRecursive(E,N,R){var j=resolveSchema.call(this,E,N);if(j){var $=j.schema;var q=j.baseId;E=j.root;var G=this._getId($);if(G)q=resolveUrl(q,G);return getJsonPointer.call(this,R,q,$,E)}}var ae=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,N,R,j){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var $=E.fragment.split("/");for(var G=1;G<$.length;G++){var ie=$[G];if(ie){ie=q.unescapeFragment(ie);R=R[ie];if(R===undefined)break;var ce;if(!ae[ie]){ce=this._getId(R);if(ce)N=resolveUrl(N,ce);if(R.$ref){var le=resolveUrl(N,R.$ref);var _e=resolveSchema.call(this,j,le);if(_e){R=_e.schema;j=_e.root;N=_e.baseId}}}}}if(R!==undefined&&R!==j.schema)return{schema:R,root:j,baseId:N}}var ce=q.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(E,N){if(N===false)return false;if(N===undefined||N===true)return checkNoRef(E);else if(N)return countKeys(E)<=N}function checkNoRef(E){var N;if(Array.isArray(E)){for(var R=0;R{"use strict";var j=R(71001),$=R(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var N=["type","$comment"];var R=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var q=["number","integer","string","array","object","boolean","null"];E.all=$(N);E.types=$(q);E.forEach((function(R){R.rules=R.rules.map((function(R){var $;if(typeof R=="object"){var q=Object.keys(R)[0];$=R[q];R=q;$.forEach((function(R){N.push(R);E.all[R]=true}))}N.push(R);var G=E.all[R]={keyword:R,code:j[R],implements:$};return G}));E.all.$comment={keyword:"$comment",code:j.$comment};if(R.type)E.types[R.type]=R}));E.keywords=$(N.concat(R));E.custom={};return E}},38868:(E,N,R)=>{"use strict";var j=R(778);E.exports=SchemaObject;function SchemaObject(E){j.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var N=0,R=E.length,j=0,$;while(j=55296&&$<=56319&&j{"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:R(55245),ucs2length:R(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,N){N=N||{};for(var R in E)N[R]=E[R];return N}function checkDataType(E,N,R,j){var $=j?" !== ":" === ",q=j?" || ":" && ",G=j?"!":"",ie=j?"":"!";switch(E){case"null":return N+$+"null";case"array":return G+"Array.isArray("+N+")";case"object":return"("+G+N+q+"typeof "+N+$+'"object"'+q+ie+"Array.isArray("+N+"))";case"integer":return"(typeof "+N+$+'"number"'+q+ie+"("+N+" % 1)"+q+N+$+N+(R?q+G+"isFinite("+N+")":"")+")";case"number":return"(typeof "+N+$+'"'+E+'"'+(R?q+G+"isFinite("+N+")":"")+")";default:return"typeof "+N+$+'"'+E+'"'}}function checkDataTypes(E,N,R){switch(E.length){case 1:return checkDataType(E[0],N,R,true);default:var j="";var $=toHash(E);if($.array&&$.object){j=$.null?"(":"(!"+N+" || ";j+="typeof "+N+' !== "object")';delete $.null;delete $.array;delete $.object}if($.number)delete $.integer;for(var q in $)j+=(j?" && ":"")+checkDataType(q,N,R,true);return j}}var j=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,N){if(Array.isArray(N)){var R=[];for(var $=0;$=N)throw new Error("Cannot access property/index "+j+" levels up, current level is "+N);return R[N-j]}if(j>N)throw new Error("Cannot access data "+j+" levels up, current level is "+N);q="data"+(N-j||"");if(!$)return q}var ce=q;var le=$.split("/");for(var _e=0;_e{"use strict";var N=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,R){for(var j=0;j{"use strict";var j=R(6680);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:j.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:j.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we=N=="maximum",Ie=we?"exclusiveMaximum":"exclusiveMinimum",Ne=E.schema[Ie],Me=E.opts.$data&&Ne&&Ne.$data,Le=we?"<":">",Be=we?">":"<",le=undefined;if(!(Ee||typeof G=="number"||G===undefined)){throw new Error(N+" must be number")}if(!(Me||Ne===undefined||typeof Ne=="number"||typeof Ne=="boolean")){throw new Error(Ie+" must be number or boolean")}if(Me){var je=E.util.getData(Ne.$data,q,E.dataPathArr),Ue="exclusive"+$,ze="exclType"+$,We="exclIsNumber"+$,Je="op"+$,Ve="' + "+Je+" + '";j+=" var schemaExcl"+$+" = "+je+"; ";je="schemaExcl"+$;j+=" var "+Ue+"; var "+ze+" = typeof "+je+"; if ("+ze+" != 'boolean' && "+ze+" != 'undefined' && "+ze+" != 'number') { ";var le=Ie;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+Ie+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+ze+" == 'number' ? ( ("+Ue+" = "+Te+" === undefined || "+je+" "+Le+"= "+Te+") ? "+_e+" "+Be+"= "+je+" : "+_e+" "+Be+" "+Te+" ) : ( ("+Ue+" = "+je+" === true) ? "+_e+" "+Be+"= "+Te+" : "+_e+" "+Be+" "+Te+" ) || "+_e+" !== "+_e+") { var op"+$+" = "+Ue+" ? '"+Le+"' : '"+Le+"='; ";if(G===undefined){le=Ie;ae=E.errSchemaPath+"/"+Ie;Te=je;Ee=Me}}else{var We=typeof Ne=="number",Ve=Le;if(We&&Ee){var Je="'"+Ve+"'";j+=" if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" ( "+Te+" === undefined || "+Ne+" "+Le+"= "+Te+" ? "+_e+" "+Be+"= "+Ne+" : "+_e+" "+Be+" "+Te+" ) || "+_e+" !== "+_e+") { "}else{if(We&&G===undefined){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Te=Ne;Be+="="}else{if(We)Te=Math[we?"min":"max"](Ne,G);if(Ne===(We?Te:true)){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Be+="="}else{Ue=false;Ve+="="}}var Je="'"+Ve+"'";j+=" if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+_e+" "+Be+" "+Te+" || "+_e+" !== "+_e+") { "}}le=le||N;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Je+", limit: "+Te+", exclusive: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Ve+" ";if(Ee){j+="' + "+Te}else{j+=""+Te+"'"}}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxItems"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+_e+".length "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxItems"){j+="more"}else{j+="fewer"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" items' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxLength"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}if(E.opts.unicode===false){j+=" "+_e+".length "}else{j+=" ucs2length("+_e+") "}j+=" "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT be ";if(N=="maxLength"){j+="longer"}else{j+="shorter"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" characters' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxProperties"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" Object.keys("+_e+").length "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxProperties"){j+="more"}else{j+="fewer"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" properties' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},30081:E=>{"use strict";E.exports=function generate_allOf(E,N,R){var j=" ";var $=E.schema[N];var q=E.schemaPath+E.util.getProperty(N);var G=E.errSchemaPath+"/"+N;var ie=!E.opts.allErrors;var ae=E.util.copy(E);var ce="";ae.level++;var le="valid"+ae.level;var _e=ae.baseId,Ee=true;var Te=$;if(Te){var we,Ie=-1,Ne=Te.length-1;while(Ie0||we===false:E.util.schemaHasRules(we,E.RULES.all)){Ee=false;ae.schema=we;ae.schemaPath=q+"["+Ie+"]";ae.errSchemaPath=G+"/"+Ie;j+=" "+E.validate(ae)+" ";ae.baseId=_e;if(ie){j+=" if ("+le+") { ";ce+="}"}}}}if(ie){if(Ee){j+=" if (true) { "}else{j+=" "+ce.slice(0,-1)+" "}}return j}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne=G.every((function(N){return E.opts.strictKeywords?typeof N=="object"&&Object.keys(N).length>0||N===false:E.util.schemaHasRules(N,E.RULES.all)}));if(Ne){var Me=Te.baseId;j+=" var "+Ee+" = errors; var "+_e+" = false; ";var Le=E.compositeRule;E.compositeRule=Te.compositeRule=true;var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue{"use strict";E.exports=function generate_comment(E,N,R){var j=" ";var $=E.schema[N];var q=E.errSchemaPath+"/"+N;var G=!E.opts.allErrors;var ie=E.util.toQuotedString($);if(E.opts.$comment===true){j+=" console.log("+ie+");"}else if(typeof E.opts.$comment=="function"){j+=" self._opts.$comment("+ie+", "+E.util.toQuotedString(q)+", validate.root.schema);"}return j}},23404:E=>{"use strict";E.exports=function generate_const(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!Ee){j+=" var schema"+$+" = validate.schema"+ie+";"}j+="var "+_e+" = equal("+le+", schema"+$+"); if (!"+_e+") { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValue: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to constant' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},33224:E=>{"use strict";E.exports=function generate_contains(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="i"+$,Me=Te.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId,je=E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all);j+="var "+Ee+" = errors;var "+_e+";";if(je){var Ue=E.compositeRule;E.compositeRule=Te.compositeRule=true;Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" var "+Ie+" = false; for (var "+Ne+" = 0; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var ze=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var We=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(We,Le)<2){j+=" "+E.util.varReplace(We,Le,ze)+" "}else{j+=" var "+Le+" = "+ze+"; "+We+" "}j+=" if ("+Ie+") break; } ";E.compositeRule=Te.compositeRule=Ue;j+=" "+we+" if (!"+Ie+") {"}else{j+=" if ("+le+".length == 0) {"}var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should contain a valid item' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { ";if(je){j+=" errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } "}if(E.opts.allErrors){j+=" } "}return j}},99819:E=>{"use strict";E.exports=function generate_custom(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee="valid"+$;var Te="errs__"+$;var we=E.opts.$data&&G&&G.$data,Ie;if(we){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+$}else{Ie=G}var Ne=this,Me="definition"+$,Le=Ne.definition,Be="";var je,Ue,ze,We,Je;if(we&&Le.$data){Je="keywordValidate"+$;var Ve=Le.validateSchema;j+=" var "+Me+" = RULES.custom['"+N+"'].definition; var "+Je+" = "+Me+".validate;"}else{We=E.useCustomRule(Ne,G,E.schema,E);if(!We)return;Ie="validate.schema"+ie;Je=We.code;je=Le.compile;Ue=Le.inline;ze=Le.macro}var qe=Je+".errors",He="i"+$,Ge="ruleErr"+$,Ke=Le.async;if(Ke&&!E.async)throw new Error("async keyword in sync schema");if(!(Ue||ze)){j+=""+qe+" = null;"}j+="var "+Te+" = errors;var "+Ee+";";if(we&&Le.$data){Be+="}";j+=" if ("+Ie+" === undefined) { "+Ee+" = true; } else { ";if(Ve){Be+="}";j+=" "+Ee+" = "+Me+".validateSchema("+Ie+"); if ("+Ee+") { "}}if(Ue){if(Le.statements){j+=" "+We.validate+" "}else{j+=" "+Ee+" = "+We.validate+"; "}}else if(ze){var Qe=E.util.copy(E);var Be="";Qe.level++;var Xe="valid"+Qe.level;Qe.schema=We.validate;Qe.schemaPath="";var Ye=E.compositeRule;E.compositeRule=Qe.compositeRule=true;var Ze=E.validate(Qe).replace(/validate\.schema/g,Je);E.compositeRule=Qe.compositeRule=Ye;j+=" "+Ze}else{var et=et||[];et.push(j);j="";j+=" "+Je+".call( ";if(E.opts.passContext){j+="this"}else{j+="self"}if(je||Le.schema===false){j+=" , "+_e+" "}else{j+=" , "+Ie+" , "+_e+" , validate.schema"+E.schemaPath+" "}j+=" , (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var tt=q?"data"+(q-1||""):"parentData",rt=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+tt+" , "+rt+" , rootData ) ";var nt=j;j=et.pop();if(Le.errors===false){j+=" "+Ee+" = ";if(Ke){j+="await "}j+=""+nt+"; "}else{if(Ke){qe="customErrors"+$;j+=" var "+qe+" = null; try { "+Ee+" = await "+nt+"; } catch (e) { "+Ee+" = false; if (e instanceof ValidationError) "+qe+" = e.errors; else throw e; } "}else{j+=" "+qe+" = null; "+Ee+" = "+nt+"; "}}}if(Le.modifying){j+=" if ("+tt+") "+_e+" = "+tt+"["+rt+"];"}j+=""+Be;if(Le.valid){if(ce){j+=" if (true) { "}}else{j+=" if ( ";if(Le.valid===undefined){j+=" !";if(ze){j+=""+Xe}else{j+=""+Ee}}else{j+=" "+!Le.valid+" "}j+=") { ";le=Ne.keyword;var et=et||[];et.push(j);j="";var et=et||[];et.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){j+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var it=j;j=et.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+it+"]); "}else{j+=" validate.errors = ["+it+"]; return false; "}}else{j+=" var err = "+it+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var ot=j;j=et.pop();if(Ue){if(Le.errors){if(Le.errors!="full"){j+=" for (var "+He+"="+Te+"; "+He+"{"use strict";E.exports=function generate_dependencies(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;var Ie={},Ne={},Me=E.opts.ownProperties;for(Ue in G){if(Ue=="__proto__")continue;var Le=G[Ue];var Be=Array.isArray(Le)?Ne:Ie;Be[Ue]=Le}j+="var "+_e+" = errors;";var je=E.errorPath;j+="var missing"+$+";";for(var Ue in Ne){Be=Ne[Ue];if(Be.length){j+=" if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}if(ce){j+=" && ( ";var ze=Be;if(ze){var We,Je=-1,Ve=ze.length-1;while(Je0||Le===false:E.util.schemaHasRules(Le,E.RULES.all)){j+=" "+we+" = true; if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}j+=") { ";Ee.schema=Le;Ee.schemaPath=ie+E.util.getProperty(Ue);Ee.errSchemaPath=ae+"/"+E.util.escapeFragment(Ue);j+=" "+E.validate(Ee)+" ";Ee.baseId=tt;j+=" } ";if(ce){j+=" if ("+we+") { ";Te+="}"}}}if(ce){j+=" "+Te+" if ("+_e+" == errors) {"}return j}},20489:E=>{"use strict";E.exports=function generate_enum(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we="i"+$,Ie="schema"+$;if(!Ee){j+=" var "+Ie+" = validate.schema"+ie+";"}j+="var "+_e+";";if(Ee){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=""+_e+" = false;for (var "+we+"=0; "+we+"<"+Ie+".length; "+we+"++) if (equal("+le+", "+Ie+"["+we+"])) { "+_e+" = true; break; }";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValues: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},69090:E=>{"use strict";E.exports=function generate_format(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");if(E.opts.format===false){if(ce){j+=" if (true) { "}return j}var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var Te=E.opts.unknownFormats,we=Array.isArray(Te);if(_e){var Ie="format"+$,Ne="isObject"+$,Me="formatType"+$;j+=" var "+Ie+" = formats["+Ee+"]; var "+Ne+" = typeof "+Ie+" == 'object' && !("+Ie+" instanceof RegExp) && "+Ie+".validate; var "+Me+" = "+Ne+" && "+Ie+".type || 'string'; if ("+Ne+") { ";if(E.async){j+=" var async"+$+" = "+Ie+".async; "}j+=" "+Ie+" = "+Ie+".validate; } if ( ";if(_e){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'string') || "}j+=" (";if(Te!="ignore"){j+=" ("+Ee+" && !"+Ie+" ";if(we){j+=" && self._opts.unknownFormats.indexOf("+Ee+") == -1 "}j+=") || "}j+=" ("+Ie+" && "+Me+" == '"+R+"' && !(typeof "+Ie+" == 'function' ? ";if(E.async){j+=" (async"+$+" ? await "+Ie+"("+le+") : "+Ie+"("+le+")) "}else{j+=" "+Ie+"("+le+") "}j+=" : "+Ie+".test("+le+"))))) {"}else{var Ie=E.formats[G];if(!Ie){if(Te=="ignore"){E.logger.warn('unknown format "'+G+'" ignored in schema at path "'+E.errSchemaPath+'"');if(ce){j+=" if (true) { "}return j}else if(we&&Te.indexOf(G)>=0){if(ce){j+=" if (true) { "}return j}else{throw new Error('unknown format "'+G+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Ne=typeof Ie=="object"&&!(Ie instanceof RegExp)&&Ie.validate;var Me=Ne&&Ie.type||"string";if(Ne){var Le=Ie.async===true;Ie=Ie.validate}if(Me!=R){if(ce){j+=" if (true) { "}return j}if(Le){if(!E.async)throw new Error("async format in sync schema");var Be="formats"+E.util.getProperty(G)+".validate";j+=" if (!(await "+Be+"("+le+"))) { "}else{j+=" if (! ";var Be="formats"+E.util.getProperty(G);if(Ne)Be+=".validate";if(typeof Ie=="function"){j+=" "+Be+"("+le+") "}else{j+=" "+Be+".test("+le+") "}j+=") { "}}var je=je||[];je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { format: ";if(_e){j+=""+Ee}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match format \"";if(_e){j+="' + "+Ee+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ue=j;j=je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ue+"]); "}else{j+=" validate.errors = ["+Ue+"]; return false; "}}else{j+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},1636:E=>{"use strict";E.exports=function generate_if(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);Te.level++;var we="valid"+Te.level;var Ie=E.schema["then"],Ne=E.schema["else"],Me=Ie!==undefined&&(E.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===false:E.util.schemaHasRules(Ie,E.RULES.all)),Le=Ne!==undefined&&(E.opts.strictKeywords?typeof Ne=="object"&&Object.keys(Ne).length>0||Ne===false:E.util.schemaHasRules(Ne,E.RULES.all)),Be=Te.baseId;if(Me||Le){var je;Te.createErrors=false;Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" var "+Ee+" = errors; var "+_e+" = true; ";var Ue=E.compositeRule;E.compositeRule=Te.compositeRule=true;j+=" "+E.validate(Te)+" ";Te.baseId=Be;Te.createErrors=true;j+=" errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } ";E.compositeRule=Te.compositeRule=Ue;if(Me){j+=" if ("+we+") { ";Te.schema=E.schema["then"];Te.schemaPath=E.schemaPath+".then";Te.errSchemaPath=E.errSchemaPath+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'then'; "}else{je="'then'"}j+=" } ";if(Le){j+=" else { "}}else{j+=" if (!"+we+") { "}if(Le){Te.schema=E.schema["else"];Te.schemaPath=E.schemaPath+".else";Te.errSchemaPath=E.errSchemaPath+"/else";j+=" "+E.validate(Te)+" ";Te.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'else'; "}else{je="'else'"}j+=" } "}j+=" if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { failingKeyword: "+je+" } ";if(E.opts.messages!==false){j+=" , message: 'should match \"' + "+je+" + '\" schema' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},71001:(E,N,R)=>{"use strict";E.exports={$ref:R(41944),allOf:R(30081),anyOf:R(70019),$comment:R(79878),const:R(23404),contains:R(33224),dependencies:R(19493),enum:R(20489),format:R(69090),if:R(1636),items:R(6060),maximum:R(70507),minimum:R(70507),maxItems:R(6958),minItems:R(6958),maxLength:R(41363),minLength:R(41363),maxProperties:R(25569),minProperties:R(25569),multipleOf:R(54841),not:R(74881),oneOf:R(77675),pattern:R(98676),properties:R(99306),propertyNames:R(28014),required:R(16372),uniqueItems:R(37270),validate:R(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="i"+$,Me=Te.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId;j+="var "+Ee+" = errors;var "+_e+";";if(Array.isArray(G)){var je=E.schema.additionalItems;if(je===false){j+=" "+_e+" = "+le+".length <= "+G.length+"; ";var Ue=ae;ae=E.errSchemaPath+"/additionalItems";j+=" if (!"+_e+") { ";var ze=ze||[];ze.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+G.length+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have more than "+G.length+" items' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var We=j;j=ze.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+We+"]); "}else{j+=" validate.errors = ["+We+"]; return false; "}}else{j+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";ae=Ue;if(ce){we+="}";j+=" else { "}}var Je=G;if(Je){var Ve,qe=-1,He=Je.length-1;while(qe0||Ve===false:E.util.schemaHasRules(Ve,E.RULES.all)){j+=" "+Ie+" = true; if ("+le+".length > "+qe+") { ";var Ge=le+"["+qe+"]";Te.schema=Ve;Te.schemaPath=ie+"["+qe+"]";Te.errSchemaPath=ae+"/"+qe;Te.errorPath=E.util.getPathExpr(E.errorPath,qe,E.opts.jsonPointers,true);Te.dataPathArr[Me]=qe;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}j+=" } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}}if(typeof je=="object"&&(E.opts.strictKeywords?typeof je=="object"&&Object.keys(je).length>0||je===false:E.util.schemaHasRules(je,E.RULES.all))){Te.schema=je;Te.schemaPath=E.schemaPath+".additionalItems";Te.errSchemaPath=E.errSchemaPath+"/additionalItems";j+=" "+Ie+" = true; if ("+le+".length > "+G.length+") { for (var "+Ne+" = "+G.length+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" } } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}else if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" for (var "+Ne+" = "+0+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" }"}if(ce){j+=" "+we+" if ("+Ee+" == errors) {"}return j}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if(!(_e||typeof G=="number")){throw new Error(N+" must be number")}j+="var division"+$+";if (";if(_e){j+=" "+Ee+" !== undefined && ( typeof "+Ee+" != 'number' || "}j+=" (division"+$+" = "+le+" / "+Ee+", ";if(E.opts.multipleOfPrecision){j+=" Math.abs(Math.round(division"+$+") - division"+$+") > 1e-"+E.opts.multipleOfPrecision+" "}else{j+=" division"+$+" !== parseInt(division"+$+") "}j+=" ) ";if(_e){j+=" ) "}j+=" ) { ";var Te=Te||[];Te.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { multipleOf: "+Ee+" } ";if(E.opts.messages!==false){j+=" , message: 'should be multiple of ";if(_e){j+="' + "+Ee}else{j+=""+Ee+"'"}}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var we=j;j=Te.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+we+"]); "}else{j+=" validate.errors = ["+we+"]; return false; "}}else{j+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},74881:E=>{"use strict";E.exports=function generate_not(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);Ee.level++;var Te="valid"+Ee.level;if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;j+=" var "+_e+" = errors; ";var we=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.createErrors=false;var Ie;if(Ee.opts.allErrors){Ie=Ee.opts.allErrors;Ee.opts.allErrors=false}j+=" "+E.validate(Ee)+" ";Ee.createErrors=true;if(Ie)Ee.opts.allErrors=Ie;E.compositeRule=Ee.compositeRule=we;j+=" if ("+Te+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { errors = "+_e+"; if (vErrors !== null) { if ("+_e+") vErrors.length = "+_e+"; else vErrors = null; } ";if(E.opts.allErrors){j+=" } "}}else{j+=" var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(ce){j+=" if (false) { "}}return j}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne=Te.baseId,Me="prevValid"+$,Le="passingSchemas"+$;j+="var "+Ee+" = errors , "+Me+" = false , "+_e+" = false , "+Le+" = null; ";var Be=E.compositeRule;E.compositeRule=Te.compositeRule=true;var je=G;if(je){var Ue,ze=-1,We=je.length-1;while(ze0||Ue===false:E.util.schemaHasRules(Ue,E.RULES.all)){Te.schema=Ue;Te.schemaPath=ie+"["+ze+"]";Te.errSchemaPath=ae+"/"+ze;j+=" "+E.validate(Te)+" ";Te.baseId=Ne}else{j+=" var "+Ie+" = true; "}if(ze){j+=" if ("+Ie+" && "+Me+") { "+_e+" = false; "+Le+" = ["+Le+", "+ze+"]; } else { ";we+="}"}j+=" if ("+Ie+") { "+_e+" = "+Me+" = true; "+Le+" = "+ze+"; }"}}E.compositeRule=Te.compositeRule=Be;j+=""+we+"if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { passingSchemas: "+Le+" } ";if(E.opts.messages!==false){j+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+="} else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; }";if(E.opts.allErrors){j+=" } "}return j}},98676:E=>{"use strict";E.exports=function generate_pattern(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var Te=_e?"(new RegExp("+Ee+"))":E.usePattern(G);j+="if ( ";if(_e){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'string') || "}j+=" !"+Te+".test("+le+") ) { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { pattern: ";if(_e){j+=""+Ee}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match pattern \"";if(_e){j+="' + "+Ee+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},99306:E=>{"use strict";E.exports=function generate_properties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;var Ie="key"+$,Ne="idx"+$,Me=Ee.dataLevel=E.dataLevel+1,Le="data"+Me,Be="dataProperties"+$;var je=Object.keys(G||{}).filter(notProto),Ue=E.schema.patternProperties||{},ze=Object.keys(Ue).filter(notProto),We=E.schema.additionalProperties,Je=je.length||ze.length,Ve=We===false,qe=typeof We=="object"&&Object.keys(We).length,He=E.opts.removeAdditional,Ge=Ve||qe||He,Ke=E.opts.ownProperties,Qe=E.baseId;var Xe=E.schema.required;if(Xe&&!(E.opts.$data&&Xe.$data)&&Xe.length8){j+=" || validate.schema"+ie+".hasOwnProperty("+Ie+") "}else{var Ze=je;if(Ze){var et,tt=-1,rt=Ze.length-1;while(tt0||St===false:E.util.schemaHasRules(St,E.RULES.all)){var Et=E.util.getProperty(et),ht=le+Et,Tt=yt&&St.default!==undefined;Ee.schema=St;Ee.schemaPath=ie+Et;Ee.errSchemaPath=ae+"/"+E.util.escapeFragment(et);Ee.errorPath=E.util.getPath(E.errorPath,et,E.opts.jsonPointers);Ee.dataPathArr[Me]=E.util.toQuotedString(et);var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){_t=E.util.varReplace(_t,Le,ht);var kt=ht}else{var kt=Le;j+=" var "+Le+" = "+ht+"; "}if(Tt){j+=" "+_t+" "}else{if(Ye&&Ye[et]){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = false; ";var ct=E.errorPath,dt=ae,Ct=E.util.escapeQuotes(et);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(ct,et,E.opts.jsonPointers)}ae=E.errSchemaPath+"/required";var pt=pt||[];pt.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+Ct+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+Ct+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var ft=j;j=pt.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+ft+"]); "}else{j+=" validate.errors = ["+ft+"]; return false; "}}else{j+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=dt;E.errorPath=ct;j+=" } else { "}else{if(ce){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = true; } else { "}else{j+=" if ("+kt+" !== undefined ";if(Ke){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=" ) { "}}j+=" "+_t+" } "}}if(ce){j+=" if ("+we+") { ";Te+="}"}}}}if(ze.length){var Dt=ze;if(Dt){var it,At=-1,wt=Dt.length-1;while(At0||St===false:E.util.schemaHasRules(St,E.RULES.all)){Ee.schema=St;Ee.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(it);Ee.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(it);if(Ke){j+=" "+Be+" = "+Be+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Be+".length; "+Ne+"++) { var "+Ie+" = "+Be+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" if ("+E.usePattern(it)+".test("+Ie+")) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Ie,E.opts.jsonPointers);var ht=le+"["+Ie+"]";Ee.dataPathArr[Me]=Ie;var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){j+=" "+E.util.varReplace(_t,Le,ht)+" "}else{j+=" var "+Le+" = "+ht+"; "+_t+" "}if(ce){j+=" if (!"+we+") break; "}j+=" } ";if(ce){j+=" else "+we+" = true; "}j+=" } ";if(ce){j+=" if ("+we+") { ";Te+="}"}}}}}if(ce){j+=" "+Te+" if ("+_e+" == errors) {"}return j}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;j+="var "+_e+" = errors;";if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;var Ie="key"+$,Ne="idx"+$,Me="i"+$,Le="' + "+Ie+" + '",Be=Ee.dataLevel=E.dataLevel+1,je="data"+Be,Ue="dataProperties"+$,ze=E.opts.ownProperties,We=E.baseId;if(ze){j+=" var "+Ue+" = undefined; "}if(ze){j+=" "+Ue+" = "+Ue+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Ue+".length; "+Ne+"++) { var "+Ie+" = "+Ue+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" var startErrs"+$+" = errors; ";var Je=Ie;var Ve=E.compositeRule;E.compositeRule=Ee.compositeRule=true;var qe=E.validate(Ee);Ee.baseId=We;if(E.util.varOccurences(qe,je)<2){j+=" "+E.util.varReplace(qe,je,Je)+" "}else{j+=" var "+je+" = "+Je+"; "+qe+" "}E.compositeRule=Ee.compositeRule=Ve;j+=" if (!"+we+") { for (var "+Me+"=startErrs"+$+"; "+Me+"{"use strict";E.exports=function generate_ref(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.errSchemaPath+"/"+N;var ae=!E.opts.allErrors;var ce="data"+(q||"");var le="valid"+$;var _e,Ee;if(G=="#"||G=="#/"){if(E.isRoot){_e=E.async;Ee="validate"}else{_e=E.root.schema.$async===true;Ee="root.refVal[0]"}}else{var Te=E.resolveRef(E.baseId,G,E.isRoot);if(Te===undefined){var we=E.MissingRefError.message(E.baseId,G);if(E.opts.missingRefs=="fail"){E.logger.error(we);var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ie)+" , params: { ref: '"+E.util.escapeQuotes(G)+"' } ";if(E.opts.messages!==false){j+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(G)+"' "}if(E.opts.verbose){j+=" , schema: "+E.util.toQuotedString(G)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ce+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ae){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(ae){j+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(we);if(ae){j+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,G,we)}}else if(Te.inline){var Me=E.util.copy(E);Me.level++;var Le="valid"+Me.level;Me.schema=Te.schema;Me.schemaPath="";Me.errSchemaPath=G;var Be=E.validate(Me).replace(/validate\.schema/g,Te.code);j+=" "+Be+" ";if(ae){j+=" if ("+Le+") { "}}else{_e=Te.$async===true||E.async&&Te.$async!==false;Ee=Te.code}}if(Ee){var Ie=Ie||[];Ie.push(j);j="";if(E.opts.passContext){j+=" "+Ee+".call(this, "}else{j+=" "+Ee+"( "}j+=" "+ce+", (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var je=q?"data"+(q-1||""):"parentData",Ue=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+je+" , "+Ue+", rootData) ";var ze=j;j=Ie.pop();if(_e){if(!E.async)throw new Error("async schema referenced by sync schema");if(ae){j+=" var "+le+"; "}j+=" try { await "+ze+"; ";if(ae){j+=" "+le+" = true; "}j+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(ae){j+=" "+le+" = false; "}j+=" } ";if(ae){j+=" if ("+le+") { "}}else{j+=" if (!"+ze+") { if (vErrors === null) vErrors = "+Ee+".errors; else vErrors = vErrors.concat("+Ee+".errors); errors = vErrors.length; } ";if(ae){j+=" else { "}}}return j}},16372:E=>{"use strict";E.exports=function generate_required(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we="schema"+$;if(!Ee){if(G.length0||je===false:E.util.schemaHasRules(je,E.RULES.all)))){Ie[Ie.length]=Me}}}}else{var Ie=G}}if(Ee||Ie.length){var Ue=E.errorPath,ze=Ee||Ie.length>=E.opts.loopRequired,We=E.opts.ownProperties;if(ce){j+=" var missing"+$+"; ";if(ze){if(!Ee){j+=" var "+we+" = validate.schema"+ie+"; "}var Je="i"+$,Ve="schema"+$+"["+Je+"]",qe="' + "+Ve+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,Ve,E.opts.jsonPointers)}j+=" var "+_e+" = true; ";if(Ee){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=" for (var "+Je+" = 0; "+Je+" < "+we+".length; "+Je+"++) { "+_e+" = "+le+"["+we+"["+Je+"]] !== undefined ";if(We){j+=" && Object.prototype.hasOwnProperty.call("+le+", "+we+"["+Je+"]) "}j+="; if (!"+_e+") break; } ";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var He=He||[];He.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ge=j;j=He.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ge+"]); "}else{j+=" validate.errors = ["+Ge+"]; return false; "}}else{j+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { "}else{j+=" if ( ";var Ke=Ie;if(Ke){var Qe,Je=-1,Xe=Ke.length-1;while(Je{"use strict";E.exports=function generate_uniqueItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if((G||Ee)&&E.opts.uniqueItems!==false){if(Ee){j+=" var "+_e+"; if ("+Te+" === false || "+Te+" === undefined) "+_e+" = true; else if (typeof "+Te+" != 'boolean') "+_e+" = false; else { "}j+=" var i = "+le+".length , "+_e+" = true , j; if (i > 1) { ";var we=E.schema.items&&E.schema.items.type,Ie=Array.isArray(we);if(!we||we=="object"||we=="array"||Ie&&(we.indexOf("object")>=0||we.indexOf("array")>=0)){j+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+le+"[i], "+le+"[j])) { "+_e+" = false; break outer; } } } "}else{j+=" var itemIndices = {}, item; for (;i--;) { var item = "+le+"[i]; ";var Ne="checkDataType"+(Ie?"s":"");j+=" if ("+E.util[Ne](we,"item",E.opts.strictNumbers,true)+") continue; ";if(Ie){j+=" if (typeof item == 'string') item = '\"' + item; "}j+=" if (typeof itemIndices[item] == 'number') { "+_e+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}j+=" } ";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var Me=Me||[];Me.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Le=j;j=Me.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Le+"]); "}else{j+=" validate.errors = ["+Le+"]; return false; "}}else{j+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},85061:E=>{"use strict";E.exports=function generate_validate(E,N,R){var j="";var $=E.schema.$async===true,q=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),G=E.self._getId(E.schema);if(E.opts.strictKeywords){var ie=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ie){var ae="unknown keyword: "+ie;if(E.opts.strictKeywords==="log")E.logger.warn(ae);else throw new Error(ae)}}if(E.isTop){j+=" var validate = ";if($){E.async=true;j+="async "}j+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(G&&(E.opts.sourceCode||E.opts.processCode)){j+=" "+("/*# sourceURL="+G+" */")+" "}}if(typeof E.schema=="boolean"||!(q||E.schema.$ref)){var N="false schema";var ce=E.level;var le=E.dataLevel;var _e=E.schema[N];var Ee=E.schemaPath+E.util.getProperty(N);var Te=E.errSchemaPath+"/"+N;var we=!E.opts.allErrors;var Ie;var Ne="data"+(le||"");var Me="valid"+ce;if(E.schema===false){if(E.isTop){we=true}else{j+=" var "+Me+" = false; "}var Le=Le||[];Le.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(Ie||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Te)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'boolean schema is false' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}j+=" } "}else{j+=" {} "}var Be=j;j=Le.pop();if(!E.compositeRule&&we){if(E.async){j+=" throw new ValidationError(["+Be+"]); "}else{j+=" validate.errors = ["+Be+"]; return false; "}}else{j+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if($){j+=" return data; "}else{j+=" validate.errors = null; return true; "}}else{j+=" var "+Me+" = true; "}}if(E.isTop){j+=" }; return validate; "}return j}if(E.isTop){var je=E.isTop,ce=E.level=0,le=E.dataLevel=0,Ne="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Ue="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}j+=" var vErrors = null; ";j+=" var errors = 0; ";j+=" if (rootData === undefined) rootData = data; "}else{var ce=E.level,le=E.dataLevel,Ne="data"+(le||"");if(G)E.baseId=E.resolve.url(E.baseId,G);if($&&!E.async)throw new Error("async schema in sync schema");j+=" var errs_"+ce+" = errors;"}var Me="valid"+ce,we=!E.opts.allErrors,ze="",We="";var Ie;var Je=E.schema.type,Ve=Array.isArray(Je);if(Je&&E.opts.nullable&&E.schema.nullable===true){if(Ve){if(Je.indexOf("null")==-1)Je=Je.concat("null")}else if(Je!="null"){Je=[Je,"null"];Ve=true}}if(Ve&&Je.length==1){Je=Je[0];Ve=false}if(E.schema.$ref&&q){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){q=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){j+=" "+E.RULES.all.$comment.code(E,"$comment")}if(Je){if(E.opts.coerceTypes){var qe=E.util.coerceToTypes(E.opts.coerceTypes,Je)}var He=E.RULES.types[Je];if(qe||Ve||He===true||He&&!$shouldUseGroup(He)){var Ee=E.schemaPath+".type",Te=E.errSchemaPath+"/type";var Ee=E.schemaPath+".type",Te=E.errSchemaPath+"/type",Ge=Ve?"checkDataTypes":"checkDataType";j+=" if ("+E.util[Ge](Je,Ne,E.opts.strictNumbers,true)+") { ";if(qe){var Ke="dataType"+ce,Qe="coerced"+ce;j+=" var "+Ke+" = typeof "+Ne+"; var "+Qe+" = undefined; ";if(E.opts.coerceTypes=="array"){j+=" if ("+Ke+" == 'object' && Array.isArray("+Ne+") && "+Ne+".length == 1) { "+Ne+" = "+Ne+"[0]; "+Ke+" = typeof "+Ne+"; if ("+E.util.checkDataType(E.schema.type,Ne,E.opts.strictNumbers)+") "+Qe+" = "+Ne+"; } "}j+=" if ("+Qe+" !== undefined) ; ";var Xe=qe;if(Xe){var Ye,Ze=-1,et=Xe.length-1;while(Ze{"use strict";var j=/^[a-z_$][a-z0-9_$-]*$/i;var $=R(99819);var q=R(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,N){var R=this.RULES;if(R.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!j.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(N){this.validateKeyword(N,true);var q=N.type;if(Array.isArray(q)){for(var G=0;G{"use strict";E=R.nmd(E);const wrapAnsi16=(E,N)=>(...R)=>{const j=E(...R);return`[${j+N}m`};const wrapAnsi256=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};5;${j}m`};const wrapAnsi16m=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};2;${j[0]};${j[1]};${j[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,N,R)=>[E,N,R];const setLazyProperty=(E,N,R)=>{Object.defineProperty(E,N,{get:()=>{const j=R();Object.defineProperty(E,N,{value:j,enumerable:true,configurable:true});return j},enumerable:true,configurable:true})};let j;const makeDynamicStyles=(E,N,$,q)=>{if(j===undefined){j=R(76843)}const G=q?10:0;const ie={};for(const[R,q]of Object.entries(j)){const j=R==="ansi16"?"ansi":R;if(R===N){ie[j]=E($,G)}else if(typeof q==="object"){ie[j]=E(q[N],G)}}return ie};function assembleStyles(){const E=new Map;const N={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};N.color.gray=N.color.blackBright;N.bgColor.bgGray=N.bgColor.bgBlackBright;N.color.grey=N.color.blackBright;N.bgColor.bgGrey=N.bgColor.bgBlackBright;for(const[R,j]of Object.entries(N)){for(const[R,$]of Object.entries(j)){N[R]={open:`[${$[0]}m`,close:`[${$[1]}m`};j[R]=N[R];E.set($[0],$[1])}Object.defineProperty(N,R,{value:j,enumerable:false})}Object.defineProperty(N,"codes",{value:E,enumerable:false});N.color.close="";N.bgColor.close="";setLazyProperty(N.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(N.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(N.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(N.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return N}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},33775:(E,N,R)=>{const j=R(24253);const $={};for(const E of Object.keys(j)){$[j[E]]=E}const q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};E.exports=q;for(const E of Object.keys(q)){if(!("channels"in q[E])){throw new Error("missing channels property: "+E)}if(!("labels"in q[E])){throw new Error("missing channel labels property: "+E)}if(q[E].labels.length!==q[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:N,labels:R}=q[E];delete q[E].channels;delete q[E].labels;Object.defineProperty(q[E],"channels",{value:N});Object.defineProperty(q[E],"labels",{value:R})}q.rgb.hsl=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(N,R,j);const q=Math.max(N,R,j);const G=q-$;let ie;let ae;if(q===$){ie=0}else if(N===q){ie=(R-j)/G}else if(R===q){ie=2+(j-N)/G}else if(j===q){ie=4+(N-R)/G}ie=Math.min(ie*60,360);if(ie<0){ie+=360}const ce=($+q)/2;if(q===$){ae=0}else if(ce<=.5){ae=G/(q+$)}else{ae=G/(2-q-$)}return[ie,ae*100,ce*100]};q.rgb.hsv=function(E){let N;let R;let j;let $;let q;const G=E[0]/255;const ie=E[1]/255;const ae=E[2]/255;const ce=Math.max(G,ie,ae);const le=ce-Math.min(G,ie,ae);const diffc=function(E){return(ce-E)/6/le+1/2};if(le===0){$=0;q=0}else{q=le/ce;N=diffc(G);R=diffc(ie);j=diffc(ae);if(G===ce){$=j-R}else if(ie===ce){$=1/3+N-j}else if(ae===ce){$=2/3+R-N}if($<0){$+=1}else if($>1){$-=1}}return[$*360,q*100,ce*100]};q.rgb.hwb=function(E){const N=E[0];const R=E[1];let j=E[2];const $=q.rgb.hsl(E)[0];const G=1/255*Math.min(N,Math.min(R,j));j=1-1/255*Math.max(N,Math.max(R,j));return[$,G*100,j*100]};q.rgb.cmyk=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(1-N,1-R,1-j);const q=(1-N-$)/(1-$)||0;const G=(1-R-$)/(1-$)||0;const ie=(1-j-$)/(1-$)||0;return[q*100,G*100,ie*100,$*100]};function comparativeDistance(E,N){return(E[0]-N[0])**2+(E[1]-N[1])**2+(E[2]-N[2])**2}q.rgb.keyword=function(E){const N=$[E];if(N){return N}let R=Infinity;let q;for(const N of Object.keys(j)){const $=j[N];const G=comparativeDistance(E,$);if(G.04045?((N+.055)/1.055)**2.4:N/12.92;R=R>.04045?((R+.055)/1.055)**2.4:R/12.92;j=j>.04045?((j+.055)/1.055)**2.4:j/12.92;const $=N*.4124+R*.3576+j*.1805;const q=N*.2126+R*.7152+j*.0722;const G=N*.0193+R*.1192+j*.9505;return[$*100,q*100,G*100]};q.rgb.lab=function(E){const N=q.rgb.xyz(E);let R=N[0];let j=N[1];let $=N[2];R/=95.047;j/=100;$/=108.883;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;const G=116*j-16;const ie=500*(R-j);const ae=200*(j-$);return[G,ie,ae]};q.hsl.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;if(R===0){G=j*255;return[G,G,G]}if(j<.5){$=j*(1+R)}else{$=j+R-j*R}const ie=2*j-$;const ae=[0,0,0];for(let E=0;E<3;E++){q=N+1/3*-(E-1);if(q<0){q++}if(q>1){q--}if(6*q<1){G=ie+($-ie)*6*q}else if(2*q<1){G=$}else if(3*q<2){G=ie+($-ie)*(2/3-q)*6}else{G=ie}ae[E]=G*255}return ae};q.hsl.hsv=function(E){const N=E[0];let R=E[1]/100;let j=E[2]/100;let $=R;const q=Math.max(j,.01);j*=2;R*=j<=1?j:2-j;$*=q<=1?q:2-q;const G=(j+R)/2;const ie=j===0?2*$/(q+$):2*R/(j+R);return[N,ie*100,G*100]};q.hsv.rgb=function(E){const N=E[0]/60;const R=E[1]/100;let j=E[2]/100;const $=Math.floor(N)%6;const q=N-Math.floor(N);const G=255*j*(1-R);const ie=255*j*(1-R*q);const ae=255*j*(1-R*(1-q));j*=255;switch($){case 0:return[j,ae,G];case 1:return[ie,j,G];case 2:return[G,j,ae];case 3:return[G,ie,j];case 4:return[ae,G,j];case 5:return[j,G,ie]}};q.hsv.hsl=function(E){const N=E[0];const R=E[1]/100;const j=E[2]/100;const $=Math.max(j,.01);let q;let G;G=(2-R)*j;const ie=(2-R)*$;q=R*$;q/=ie<=1?ie:2-ie;q=q||0;G/=2;return[N,q*100,G*100]};q.hwb.rgb=function(E){const N=E[0]/360;let R=E[1]/100;let j=E[2]/100;const $=R+j;let q;if($>1){R/=$;j/=$}const G=Math.floor(6*N);const ie=1-j;q=6*N-G;if((G&1)!==0){q=1-q}const ae=R+q*(ie-R);let ce;let le;let _e;switch(G){default:case 6:case 0:ce=ie;le=ae;_e=R;break;case 1:ce=ae;le=ie;_e=R;break;case 2:ce=R;le=ie;_e=ae;break;case 3:ce=R;le=ae;_e=ie;break;case 4:ce=ae;le=R;_e=ie;break;case 5:ce=ie;le=R;_e=ae;break}return[ce*255,le*255,_e*255]};q.cmyk.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;const $=E[3]/100;const q=1-Math.min(1,N*(1-$)+$);const G=1-Math.min(1,R*(1-$)+$);const ie=1-Math.min(1,j*(1-$)+$);return[q*255,G*255,ie*255]};q.xyz.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;$=N*3.2406+R*-1.5372+j*-.4986;q=N*-.9689+R*1.8758+j*.0415;G=N*.0557+R*-.204+j*1.057;$=$>.0031308?1.055*$**(1/2.4)-.055:$*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;G=G>.0031308?1.055*G**(1/2.4)-.055:G*12.92;$=Math.min(Math.max(0,$),1);q=Math.min(Math.max(0,q),1);G=Math.min(Math.max(0,G),1);return[$*255,q*255,G*255]};q.xyz.lab=function(E){let N=E[0];let R=E[1];let j=E[2];N/=95.047;R/=100;j/=108.883;N=N>.008856?N**(1/3):7.787*N+16/116;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;const $=116*R-16;const q=500*(N-R);const G=200*(R-j);return[$,q,G]};q.lab.xyz=function(E){const N=E[0];const R=E[1];const j=E[2];let $;let q;let G;q=(N+16)/116;$=R/500+q;G=q-j/200;const ie=q**3;const ae=$**3;const ce=G**3;q=ie>.008856?ie:(q-16/116)/7.787;$=ae>.008856?ae:($-16/116)/7.787;G=ce>.008856?ce:(G-16/116)/7.787;$*=95.047;q*=100;G*=108.883;return[$,q,G]};q.lab.lch=function(E){const N=E[0];const R=E[1];const j=E[2];let $;const q=Math.atan2(j,R);$=q*360/2/Math.PI;if($<0){$+=360}const G=Math.sqrt(R*R+j*j);return[N,G,$]};q.lch.lab=function(E){const N=E[0];const R=E[1];const j=E[2];const $=j/360*2*Math.PI;const q=R*Math.cos($);const G=R*Math.sin($);return[N,q,G]};q.rgb.ansi16=function(E,N=null){const[R,j,$]=E;let G=N===null?q.rgb.hsv(E)[2]:N;G=Math.round(G/50);if(G===0){return 30}let ie=30+(Math.round($/255)<<2|Math.round(j/255)<<1|Math.round(R/255));if(G===2){ie+=60}return ie};q.hsv.ansi16=function(E){return q.rgb.ansi16(q.hsv.rgb(E),E[2])};q.rgb.ansi256=function(E){const N=E[0];const R=E[1];const j=E[2];if(N===R&&R===j){if(N<8){return 16}if(N>248){return 231}return Math.round((N-8)/247*24)+232}const $=16+36*Math.round(N/255*5)+6*Math.round(R/255*5)+Math.round(j/255*5);return $};q.ansi16.rgb=function(E){let N=E%10;if(N===0||N===7){if(E>50){N+=3.5}N=N/10.5*255;return[N,N,N]}const R=(~~(E>50)+1)*.5;const j=(N&1)*R*255;const $=(N>>1&1)*R*255;const q=(N>>2&1)*R*255;return[j,$,q]};q.ansi256.rgb=function(E){if(E>=232){const N=(E-232)*10+8;return[N,N,N]}E-=16;let N;const R=Math.floor(E/36)/5*255;const j=Math.floor((N=E%36)/6)/5*255;const $=N%6/5*255;return[R,j,$]};q.rgb.hex=function(E){const N=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const R=N.toString(16).toUpperCase();return"000000".substring(R.length)+R};q.hex.rgb=function(E){const N=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!N){return[0,0,0]}let R=N[0];if(N[0].length===3){R=R.split("").map((E=>E+E)).join("")}const j=parseInt(R,16);const $=j>>16&255;const q=j>>8&255;const G=j&255;return[$,q,G]};q.rgb.hcg=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.max(Math.max(N,R),j);const q=Math.min(Math.min(N,R),j);const G=$-q;let ie;let ae;if(G<1){ie=q/(1-G)}else{ie=0}if(G<=0){ae=0}else if($===N){ae=(R-j)/G%6}else if($===R){ae=2+(j-N)/G}else{ae=4+(N-R)/G}ae/=6;ae%=1;return[ae*360,G*100,ie*100]};q.hsl.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=R<.5?2*N*R:2*N*(1-R);let $=0;if(j<1){$=(R-.5*j)/(1-j)}return[E[0],j*100,$*100]};q.hsv.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=N*R;let $=0;if(j<1){$=(R-j)/(1-j)}return[E[0],j*100,$*100]};q.hcg.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;if(R===0){return[j*255,j*255,j*255]}const $=[0,0,0];const q=N%1*6;const G=q%1;const ie=1-G;let ae=0;switch(Math.floor(q)){case 0:$[0]=1;$[1]=G;$[2]=0;break;case 1:$[0]=ie;$[1]=1;$[2]=0;break;case 2:$[0]=0;$[1]=1;$[2]=G;break;case 3:$[0]=0;$[1]=ie;$[2]=1;break;case 4:$[0]=G;$[1]=0;$[2]=1;break;default:$[0]=1;$[1]=0;$[2]=ie}ae=(1-R)*j;return[(R*$[0]+ae)*255,(R*$[1]+ae)*255,(R*$[2]+ae)*255]};q.hcg.hsv=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);let $=0;if(j>0){$=N/j}return[E[0],$*100,j*100]};q.hcg.hsl=function(E){const N=E[1]/100;const R=E[2]/100;const j=R*(1-N)+.5*N;let $=0;if(j>0&&j<.5){$=N/(2*j)}else if(j>=.5&&j<1){$=N/(2*(1-j))}return[E[0],$*100,j*100]};q.hcg.hwb=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);return[E[0],(j-N)*100,(1-j)*100]};q.hwb.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=1-R;const $=j-N;let q=0;if($<1){q=(j-$)/(1-$)}return[E[0],$*100,q*100]};q.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};q.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};q.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};q.gray.hsl=function(E){return[0,0,E[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(E){return[0,100,E[0]]};q.gray.cmyk=function(E){return[0,0,0,E[0]]};q.gray.lab=function(E){return[E[0],0,0]};q.gray.hex=function(E){const N=Math.round(E[0]/100*255)&255;const R=(N<<16)+(N<<8)+N;const j=R.toString(16).toUpperCase();return"000000".substring(j.length)+j};q.rgb.gray=function(E){const N=(E[0]+E[1]+E[2])/3;return[N/255*100]}},76843:(E,N,R)=>{const j=R(33775);const $=R(2581);const q={};const G=Object.keys(j);function wrapRaw(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}return E(N)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}const j=E(N);if(typeof j==="object"){for(let E=j.length,N=0;N{q[E]={};Object.defineProperty(q[E],"channels",{value:j[E].channels});Object.defineProperty(q[E],"labels",{value:j[E].labels});const N=$(E);const R=Object.keys(N);R.forEach((R=>{const j=N[R];q[E][R]=wrapRounded(j);q[E][R].raw=wrapRaw(j)}))}));E.exports=q},2581:(E,N,R)=>{const j=R(33775);function buildGraph(){const E={};const N=Object.keys(j);for(let R=N.length,j=0;j{function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,N,R)=>{var j=R(76052);var $=R(92406).D;var q=R(78864);var G=R(71017);var ie=R(46233);var ae=R(72464);var ce=R(81886);var le=365.259641*24*60*60*1e3;var _e=37;var Ee=1;var Te=2;function isVersionsMatch(E,N){return(E+".").indexOf(N+".")===0}function isEolReleased(E){var N=E.slice(1);return j.some((function(E){return isVersionsMatch(E.version,N)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var N=E;if(E.split(".").length===3){N=E.split(".").slice(0,-1).join(".")}return N}function nameMapper(E){return function mapName(N){return E+" "+N}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,N){if(E.length===0)return[];var R=uniq(E.map(getMajor));var j=R[R.length-N];if(!j){return E}var $=[];for(var q=E.length-1;q>=0;q--){if(j>getMajor(E[q]))break;$.unshift(E[q])}return $}function uniq(E){var N=[];for(var R=0;R"){return function(E){return parseFloat(E)>N}}else if(E===">="){return function(E){return parseFloat(E)>=N}}else if(E==="<"){return function(E){return parseFloat(E)"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,N){if(EN)return+1;return 0}function compareSemver(E,N){return compare(parseInt(E[0]),parseInt(N[0]))||compare(parseInt(E[1]||"0"),parseInt(N[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(N[2]||"0"))}function semverFilterLoose(E,N){N=N.split(".").map(parseSimpleInt);if(typeof N[1]==="undefined"){N[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)>=0}}}function compareSemverLoose(E,N){if(E[0]!==N[0]){return E[0]=E}));return R.concat(q.map(nameMapper($.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,N){E.versions=E.versions.map((function(E){return N[E]||E}));E.released=E.versions.map((function(E){return N[E]||E}));var R={};for(var j in E.releaseDate){R[N[j]||j]=E.releaseDate[j]}E.releaseDate=R;return E}function byName(E,N){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(N.mobileToDesktop&&browserslist.desktopNames[E]){var R=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),R)}else{var j=cloneData(R);j.name=E;if(E==="op_mob"){j=mapVersions(j,{"10.0-10.1":"10"})}return j}}return browserslist.data[E]}function normalizeAndroidVersions(E,N){var R=_e;var j=N[N.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(N.slice(R-j-1))}function normalizeAndroidData(E,N){E.released=normalizeAndroidVersions(E.released,N.released);E.versions=normalizeAndroidVersions(E.versions,N.versions);return E}function checkName(E,N){var R=byName(E,N);if(!R)throw new ae("Unknown browser "+E);return R}function unknownQuery(E){return new ae("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,N,R){if(R.mobileToDesktop)return E;var j=browserslist.data.android.released;var $=j[j.length-1];var q=$-_e-N;if(q>0){return E.slice(-1)}else{return E.slice(q-1)}}function resolve(E,N){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,R,j){var $=R.queryString;var q=$.indexOf("not ")===0;if(q){if(j===0){throw new ae("Write any browsers query (for instance, `defaults`) "+"before `"+$+"`")}$=$.slice(4)}for(var G=0;G 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=ce.clearCaches;browserslist.parseConfig=ce.parseConfig;browserslist.readConfig=ce.readConfig;browserslist.findConfig=ce.findConfig;browserslist.loadConfig=ce.loadConfig;browserslist.coverage=function(E,N){var R;if(typeof N==="undefined"){R=browserslist.usage.global}else if(N==="my stats"){var j={};j.path=G.resolve?G.resolve("."):".";var $=ce.getStat(j);if(!$){throw new ae("Custom usage statistics was not provided")}R={};for(var q in $){fillUsage(R,q,$[q])}}else if(typeof N==="string"){if(N.length>2){N=N.toLowerCase()}else{N=N.toUpperCase()}ce.loadCountry(browserslist.usage,N,browserslist.data);R=browserslist.usage[N]}else{if("dataByBrowser"in N){N=N.dataByBrowser}R={};for(var ie in N){for(var le in N[ie]){R[ie+" "+le]=N[ie][le]}}}return E.reduce((function(E,N){var j=R[N];if(j===undefined){j=R[N.replace(/ \S+$/," 0")]}return E+(j||0)}),0)};function nodeQuery(E,N){var R=j.filter((function(E){return E.name==="nodejs"}));var $=R.filter((function(E){return isVersionsMatch(E.version,N)}));if($.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+N+" of Node.js")}}return["node "+$[$.length-1].version]}function sinceQuery(E,N,R,j){N=parseInt(N);R=parseInt(R||"01")-1;j=parseInt(j||"01");return filterByYear(Date.UTC(N,R,j,0,0,0),E)}function coverQuery(E,N,R){N=parseFloat(N);var j=browserslist.usage.global;if(R){if(R.match(/^my\s+stats$/)){if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}j=E.customUsage}else{var $;if(R.length===2){$=R.toUpperCase()}else{$=R.toLowerCase()}ce.loadCountry(browserslist.usage,$,browserslist.data);j=browserslist.usage[$]}}var q=Object.keys(j).sort((function(E,N){return j[N]-j[E]}));var G=0;var ie=[];var le;for(var _e=0;_e<=q.length;_e++){le=q[_e];if(j[le]===0)break;G+=j[le];ie.push(le);if(G>=N)break}return ie}var Ie=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=getMajorVersions($.released,N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=$.released.slice(-N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,N){var R=getMajorVersions(Object.keys(ie),N);return R.map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=getMajorVersions(j.released,N);var q=$.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,N,E)}return q}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,N){return Object.keys(ie).slice(-N).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=j.released.slice(-N).map(nameMapper(j.name));if(j.name==="android"){$=filterAndroid($,N,E)}return $}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys($).reduce((function(N,R){var j=byName(R,E);if(!j)return N;var $=j.versions.filter((function(E){return j.released.indexOf(E)===-1}));$=$.map(nameMapper(j.name));return N.concat($)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,N){var R=checkName(N,E);return R.versions.filter((function(E){return R.released.indexOf(E)===-1})).map(nameMapper(R.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,N){return filterByYear(Date.now()-le*N,E)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(E,N,R){R=parseFloat(R);var j=browserslist.usage.global;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(E,N,R){R=parseFloat(R);if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var j=E.customUsage;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,N,R,j){R=parseFloat(R);var $=ce.loadStat(E,j,browserslist.data);if($){E.customUsage={};for(var q in $){fillUsage(E.customUsage,q,$[q])}}if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var G=E.customUsage;return Object.keys(G).reduce((function(E,j){if(N===">"){if(G[j]>R){E.push(j)}}else if(N==="<"){if(G[j]=R){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,N,R,j){R=parseFloat(R);if(j.length===2){j=j.toUpperCase()}else{j=j.toLowerCase()}ce.loadCountry(browserslist.usage,j,browserslist.data);var $=browserslist.usage[j];return Object.keys($).reduce((function(E,j){if(N===">"){if($[j]>R){E.push(j)}}else if(N==="<"){if($[j]=R){E.push(j)}return E}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(E,N){ce.loadFeature(browserslist.cache,N);var R=browserslist.cache[N];return Object.keys(R).reduce((function(E,N){var j=R[N];if(j.indexOf("y")>=0||j.indexOf("a")>=0){E.push(N)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(N);var $=normalizeElectron(R);if(!ie[j]){throw new ae("Unknown version "+N+" of electron")}if(!ie[$]){throw new ae("Unknown version "+R+" of electron")}N=parseFloat(N);R=parseFloat(R);return Object.keys(ie).filter((function(E){var j=parseFloat(E);return j>=N&&j<=R})).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(semverFilterLoose(">=",N)).filter(semverFilterLoose("<=",R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R,j){var $=checkName(N,E);R=parseFloat(normalizeVersion($,R)||R);j=parseFloat(normalizeVersion($,j)||j);function filter(E){var N=parseFloat(E);return N>=R&&N<=j}return $.released.filter(filter).map(nameMapper($.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(R);return Object.keys(ie).filter(generateFilter(N,j)).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(generateSemverFilter(N,R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,N,R,j){var $=checkName(N,E);var q=browserslist.versionAliases[$.name][j];if(q){j=q}return $.released.filter(generateFilter(R,j)).map((function(E){return $.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,N){var R=normalizeElectron(N);var j=ie[R];if(!j){throw new ae("Unknown version "+N+" of electron")}return["chrome "+j]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(E){return[ce.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var N=Date.now();var R=Object.keys(q).filter((function(E){return NDate.parse(q[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(R,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,N,R){if(/^tp$/i.test(R))R="TP";var j=checkName(N,E);var $=normalizeVersion(j,R);if($){R=$}else{if(R.indexOf(".")===-1){$=R+".0"}else{$=R.replace(/\.0$/,"")}$=normalizeVersion(j,$);if($){R=$}else if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+R+" of "+N)}}return[j.name+" "+R]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,N){return resolve(ce.loadQueries(E,N),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var N=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(N,E)}},{regexp:/^(\w+)$/i,select:function(E,N){if(byName(N,E)){throw new ae("Specify versions in Browserslist query for browser "+N)}else{throw unknownQuery(N)}}}];(function(){for(var E in $){var N=$[E];browserslist.data[E]={name:E,versions:normalize($[E].versions),released:normalize($[E].versions.slice(0,-3)),releaseDate:$[E].release_date};fillUsage(browserslist.usage.global,E,N.usage_global);browserslist.versionAliases[E]={};for(var R=0;R{var j=R(30048)["default"];var $=R(24356)["default"];var q=R(71017);var G=R(57147);var ie=R(72464);var ae=/^\s*\[(.+)]\s*$/;var ce=/^browserslist-config-/;var le=/@[^/]+\/browserslist-config(-|$|\/)/;var _e=6*30*24*60*60*1e3;var Ee="Browserslist config should be a string or an array "+"of strings with browser queries";var Te=false;var we={};var Ie={};function checkExtend(E){var N=" Use `dangerousExtend` option to disable.";if(!ce.test(E)&&!le.test(E)){throw new ie("Browserslist config needs `browserslist-config-` prefix. "+N)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ie("`.` not allowed in Browserslist config name. "+N)}if(E.indexOf("node_modules")!==-1){throw new ie("`node_modules` not allowed in Browserslist config."+N)}}function isFile(E){if(E in we){return we[E]}var N=G.existsSync(E)&&G.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){we[E]=N}return N}function eachParent(E,N){var R=isFile(E)?q.dirname(E):E;var j=q.resolve(R);do{var $=N(j);if(typeof $!=="undefined")return $}while(j!==(j=q.dirname(j)));return undefined}function check(E){if(Array.isArray(E)){for(var N=0;N{var N=Object.prototype.toString;var R=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(E){return N.call(E).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(E,N,j){N>>>=0;var $=E.byteLength-N;if($<0){throw new RangeError("'offset' is out of bounds")}if(j===undefined){j=$}else{j>>>=0;if(j>$){throw new RangeError("'length' is out of bounds")}}return R?Buffer.from(E.slice(N,N+j)):new Buffer(new Uint8Array(E.slice(N,N+j)))}function fromString(E,N){if(typeof N!=="string"||N===""){N="utf8"}if(!Buffer.isEncoding(N)){throw new TypeError('"encoding" must be a valid string encoding')}return R?Buffer.from(E,N):new Buffer(E,N)}function bufferFrom(E,N,j){if(typeof E==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(E)){return fromArrayBuffer(E,N,j)}if(typeof E==="string"){return fromString(E,N)}return R?Buffer.from(E):new Buffer(E)}E.exports=bufferFrom},12161:E=>{E.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.058856,1:.004204,2:.004204,3:.004525,4:.004271,5:.008408,6:.004538,7:.004267,8:.004204,9:.071468,hB:.012813,YB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,ZB:.004204,GB:.008408,aB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,VB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","YB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,hB:1161648e3,YB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,ZB:1520985600,GB:1525824e3,aB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,VB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{0:.008408,1:.004465,2:.004642,3:.004891,4:.008408,5:.02102,6:.214404,7:.004204,8:.016816,9:.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,ZB:.008408,GB:.016816,aB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,VB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,ZB:1496707200,GB:1500940800,aB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,VB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,WB:.058856,XB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","WB","C","XB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,WB:1522281600,C:1537142400,XB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{0:.008542,1:.004227,2:.004725,3:.008408,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,VB:0,wB:.00685,xB:0,yB:.008392,zB:.004706,WB:.006229,eB:.004879,"0B":.008786,XB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","WB","eB","0B","C","XB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,WB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,XB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3,VB:1623715200},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",WB:"o",eB:"o","0B":"o",XB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{YB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","YB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,YB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,WB:0,eB:0,XB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","WB","eB","C","XB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,WB:1314835200,eB:1318291200,C:1330300800,XB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"77",WB:"11.1",XB:"12.1",YB:"3",ZB:"59",aB:"61",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:E=>{E.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:E=>{E.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,N,R)=>{const{browsers:j}=R(59307);const $=R(57917).browserVersions;const q=R(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce(((N,R)=>{N[$[R]]=E[R];return N}),{})}E.exports.D=Object.keys(q).reduce(((E,N)=>{let R=q[N];E[j[N]]=Object.keys(R).reduce(((E,N)=>{if(N==="A"){E.usage_global=unpackBrowserVersions(R[N])}else if(N==="C"){E.versions=R[N].reduce(((E,N)=>{if(N===""){E.push(null)}else{E.push($[N])}return E}),[])}else if(N==="D"){E.prefix_exceptions=unpackBrowserVersions(R[N])}else if(N==="E"){E.browser=R[N]}else if(N==="F"){E.release_date=Object.keys(R[N]).reduce(((E,j)=>{E[$[j]]=R[N][j];return E}),{})}else{E.prefix=R[N]}return E}),{});return E}),{})},57917:(E,N,R)=>{E.exports.browserVersions=R(5682)},59307:(E,N,R)=>{E.exports.browsers=R(73238)},30048:(E,N,R)=>{const j=R(54994);const $=R(44909);const{browsers:q}=R(59307);const G=R(57917).browserVersions;const ie=Math.log(2);function unpackSupport(E){let N=Object.keys($).reduce(((N,R)=>{if(E&$[R])N.push(R);return N}),[]);let R=E>>7;let j=[];while(R){let E=Math.floor(Math.log(R)/ie)+1;j.unshift(`#${E}`);R-=Math.pow(2,E-1)}return N.concat(j).join(" ")}function unpackFeature(E){let N={status:j[E.B],title:E.C};N.stats=Object.keys(E.A).reduce(((N,R)=>{let j=E.A[R];N[q[R]]=Object.keys(j).reduce(((E,N)=>{let R=j[N].split(" ");let $=unpackSupport(N);R.forEach((N=>E[G[N]]=$));return E}),{});return N}),{});return N}E.exports=unpackFeature;E.exports["default"]=unpackFeature},24356:(E,N,R)=>{const{browsers:j}=R(59307);function unpackRegion(E){return Object.keys(E).reduce(((N,R)=>{let $=E[R];N[j[R]]=Object.keys($).reduce(((E,N)=>{let R=$[N];if(N==="_"){R.split(" ").forEach((N=>E[N]=null))}else{E[N]=R}return E}),{});return N}),{})}E.exports=unpackRegion;E.exports["default"]=unpackRegion},57347:(E,N,R)=>{"use strict";const j=R(11207);const{stdout:$,stderr:q}=R(96204);const{stringReplaceAll:G,stringEncaseCRLFWithFirstIndex:ie}=R(88445);const{isArray:ae}=Array;const ce=["ansi","ansi","ansi256","ansi16m"];const le=Object.create(null);const applyOptions=(E,N={})=>{if(N.level&&!(Number.isInteger(N.level)&&N.level>=0&&N.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const R=$?$.level:0;E.level=N.level===undefined?R:N.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const N={};applyOptions(N,E);N.template=(...E)=>chalkTag(N.template,...E);Object.setPrototypeOf(N,Chalk.prototype);Object.setPrototypeOf(N.template,N);N.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};N.template.Instance=ChalkClass;return N.template};function Chalk(E){return chalkFactory(E)}for(const[E,N]of Object.entries(j)){le[E]={get(){const R=createBuilder(this,createStyler(N.open,N.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:R});return R}}}le.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const _e=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of _e){le[E]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.color[ce[N]][E](...R),j.color.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}for(const E of _e){const N="bg"+E[0].toUpperCase()+E.slice(1);le[N]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.bgColor[ce[N]][E](...R),j.bgColor.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}const Ee=Object.defineProperties((()=>{}),{...le,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,N,R)=>{let j;let $;if(R===undefined){j=E;$=N}else{j=R.openAll+E;$=N+R.closeAll}return{open:E,close:N,openAll:j,closeAll:$,parent:R}};const createBuilder=(E,N,R)=>{const builder=(...E)=>{if(ae(E[0])&&ae(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,Ee);builder._generator=E;builder._styler=N;builder._isEmpty=R;return builder};const applyStyle=(E,N)=>{if(E.level<=0||!N){return E._isEmpty?"":N}let R=E._styler;if(R===undefined){return N}const{openAll:j,closeAll:$}=R;if(N.indexOf("")!==-1){while(R!==undefined){N=G(N,R.close,R.open);R=R.parent}}const q=N.indexOf("\n");if(q!==-1){N=ie(N,$,j,q)}return j+N+$};let Te;const chalkTag=(E,...N)=>{const[j]=N;if(!ae(j)||!ae(j.raw)){return N.join(" ")}const $=N.slice(1);const q=[j.raw[0]];for(let E=1;E{"use strict";const N=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const R=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const j=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const $=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const q=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const N=E[0]==="u";const R=E[1]==="{";if(N&&!R&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(N&&R){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return q.get(E)||E}function parseArguments(E,N){const R=[];const q=N.trim().split(/\s*,\s*/g);let G;for(const N of q){const q=Number(N);if(!Number.isNaN(q)){R.push(q)}else if(G=N.match(j)){R.push(G[2].replace($,((E,N,R)=>N?unescape(N):R)))}else{throw new Error(`Invalid Chalk template style argument: ${N} (in style '${E}')`)}}return R}function parseStyle(E){R.lastIndex=0;const N=[];let j;while((j=R.exec(E))!==null){const E=j[1];if(j[2]){const R=parseArguments(E,j[2]);N.push([E].concat(R))}else{N.push([E])}}return N}function buildStyle(E,N){const R={};for(const E of N){for(const N of E.styles){R[N[0]]=E.inverse?null:N.slice(1)}}let j=E;for(const[E,N]of Object.entries(R)){if(!Array.isArray(N)){continue}if(!(E in j)){throw new Error(`Unknown Chalk style: ${E}`)}j=N.length>0?j[E](...N):j[E]}return j}E.exports=(E,R)=>{const j=[];const $=[];let q=[];R.replace(N,((N,R,G,ie,ae,ce)=>{if(R){q.push(unescape(R))}else if(ie){const N=q.join("");q=[];$.push(j.length===0?N:buildStyle(E,j)(N));j.push({inverse:G,styles:parseStyle(ie)})}else if(ae){if(j.length===0){throw new Error("Found extraneous } in Chalk template literal")}$.push(buildStyle(E,j)(q.join("")));q=[];j.pop()}else{q.push(ce)}}));$.push(q.join(""));if(j.length>0){const E=`Chalk template literal is missing ${j.length} closing bracket${j.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return $.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,N,R)=>{let j=E.indexOf(N);if(j===-1){return E}const $=N.length;let q=0;let G="";do{G+=E.substr(q,j-q)+N+R;q=j+$;j=E.indexOf(N,q)}while(j!==-1);G+=E.substr(q);return G};const stringEncaseCRLFWithFirstIndex=(E,N,R,j)=>{let $=0;let q="";do{const G=E[j-1]==="\r";q+=E.substr($,(G?j-1:j)-$)+N+(G?"\r\n":"\n")+R;$=j+1;j=E.indexOf("\n",$)}while(j!==-1);q+=E.substr($);return q};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j=R(5115);var $=R(12781);function evCommon(){var E=process.hrtime();var N=E[0]*1e6+Math.round(E[1]/1e3);return{ts:N,pid:process.pid,tid:process.pid}}var q=function(E){j.__extends(Tracer,E);function Tracer(N){if(N===void 0){N={}}var R=E.call(this)||this;R.noStream=false;R.events=[];if(typeof N!=="object"){throw new Error("Invalid options passed (must be an object)")}if(N.parent!=null&&typeof N.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(N.fields!=null&&typeof N.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(N.objectMode!=null&&(N.objectMode!==true&&N.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}R.noStream=N.noStream||false;R.parent=N.parent;if(R.parent){R.fields=Object.assign({},N.parent&&N.parent.fields)}else{R.fields={}}if(N.fields){Object.assign(R.fields,N.fields)}if(!R.fields.cat){R.fields.cat="default"}else if(Array.isArray(R.fields.cat)){R.fields.cat=R.fields.cat.join(",")}if(!R.fields.args){R.fields.args={}}if(R.parent){R._push=R.parent._push.bind(R.parent)}else{R._objectMode=Boolean(N.objectMode);var j={objectMode:R._objectMode};if(R._objectMode){R._push=R.push}else{R._push=R._pushString;j.encoding="utf8"}$.Readable.call(R,j)}return R}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,N=this.events;E{"use strict";E.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"91",13.1:"91","14.0":"93"}},31356:E=>{E.exports=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋️","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳️","🏴‍☠️","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕‍🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁‍🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦯","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏻‍🦼","👨🏻‍🦽","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🤝‍👨🏻","👨🏼‍🦯","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏼‍🦼","👨🏼‍🦽","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👨🏽‍🦯","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏽‍🦼","👨🏽‍🦽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👨🏾‍🦯","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏾‍🦼","👨🏾‍🦽","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👨🏿‍🦯","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👨🏿‍🦼","👨🏿‍🦽","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦯","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨‍🦼","👨‍🦽","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏻‍🦯","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏻‍🦼","👩🏻‍🦽","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🤝‍👨🏻","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏼‍🤝‍👩🏻","👩🏼‍🦯","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏼‍🦼","👩🏼‍🦽","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👩🏽‍🦯","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏽‍🦼","👩🏽‍🦽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👩🏾‍🤝‍👨🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👩🏾‍🦯","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏾‍🦼","👩🏾‍🦽","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👩🏿‍🦯","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👩🏿‍🦼","👩🏿‍🦽","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦯","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩‍🦼","👩‍🦽","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻‍♀️","🕴🏻‍♂️","🕴🏻","🕴🏼‍♀️","🕴🏼‍♂️","🕴🏼","🕴🏽‍♀️","🕴🏽‍♂️","🕴🏽","🕴🏾‍♀️","🕴🏾‍♂️","🕴🏾","🕴🏿‍♀️","🕴🏿‍♂️","🕴🏿","🕴️‍♀️","🕴️‍♂️","🕴️","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏻","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏼","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏽","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏾","🤵🏿‍♀️","🤵🏿‍♂️","🤵🏿","🤵‍♀️","🤵‍♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏻","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏼","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏽","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏾","🦸🏿‍♀️","🦸🏿‍♂️","🦸🏿","🦸‍♀️","🦸‍♂️","🦸","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏻","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏼","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏽","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏾","🦹🏿‍♀️","🦹🏿‍♂️","🦹🏿","🦹‍♀️","🦹‍♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻‍♀️","🧍🏻‍♂️","🧍🏻","🧍🏼‍♀️","🧍🏼‍♂️","🧍🏼","🧍🏽‍♀️","🧍🏽‍♂️","🧍🏽","🧍🏾‍♀️","🧍🏾‍♂️","🧍🏾","🧍🏿‍♀️","🧍🏿‍♂️","🧍🏿","🧍‍♀️","🧍‍♂️","🧍","🧎🏻‍♀️","🧎🏻‍♂️","🧎🏻","🧎🏼‍♀️","🧎🏼‍♂️","🧎🏼","🧎🏽‍♀️","🧎🏽‍♂️","🧎🏽","🧎🏾‍♀️","🧎🏾‍♂️","🧎🏾","🧎🏿‍♀️","🧎🏿‍♂️","🧎🏿","🧎‍♀️","🧎‍♂️","🧎","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏻","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏼","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏽","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏾","🧏🏿‍♀️","🧏🏿‍♂️","🧏🏿","🧏‍♀️","🧏‍♂️","🧏","🧐","🧑🏻‍🤝‍🧑🏻","🧑🏻","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","🧑🏿","🧑‍🤝‍🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻‍♀️","🧖🏻‍♂️","🧖🏻","🧖🏼‍♀️","🧖🏼‍♂️","🧖🏼","🧖🏽‍♀️","🧖🏽‍♂️","🧖🏽","🧖🏾‍♀️","🧖🏾‍♂️","🧖🏾","🧖🏿‍♀️","🧖🏿‍♂️","🧖🏿","🧖‍♀️","🧖‍♂️","🧖","🧗🏻‍♀️","🧗🏻‍♂️","🧗🏻","🧗🏼‍♀️","🧗🏼‍♂️","🧗🏼","🧗🏽‍♀️","🧗🏽‍♂️","🧗🏽","🧗🏾‍♀️","🧗🏾‍♂️","🧗🏾","🧗🏿‍♀️","🧗🏿‍♂️","🧗🏿","🧗‍♀️","🧗‍♂️","🧗","🧘🏻‍♀️","🧘🏻‍♂️","🧘🏻","🧘🏼‍♀️","🧘🏼‍♂️","🧘🏼","🧘🏽‍♀️","🧘🏽‍♂️","🧘🏽","🧘🏾‍♀️","🧘🏾‍♂️","🧘🏾","🧘🏿‍♀️","🧘🏿‍♂️","🧘🏿","🧘‍♀️","🧘‍♂️","🧘","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏻","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏼","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏽","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏾","🧙🏿‍♀️","🧙🏿‍♂️","🧙🏿","🧙‍♀️","🧙‍♂️","🧙","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏻","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏼","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏽","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏾","🧚🏿‍♀️","🧚🏿‍♂️","🧚🏿","🧚‍♀️","🧚‍♂️","🧚","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏻","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏼","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏽","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏾","🧛🏿‍♀️","🧛🏿‍♂️","🧛🏿","🧛‍♀️","🧛‍♂️","🧛","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏻","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏼","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏽","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏾","🧜🏿‍♀️","🧜🏿‍♂️","🧜🏿","🧜‍♀️","🧜‍♂️","🧜","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏻","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏼","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏽","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏾","🧝🏿‍♀️","🧝🏿‍♂️","🧝🏿","🧝‍♀️","🧝‍♂️","🧝","🧞‍♀️","🧞‍♂️","🧞","🧟‍♀️","🧟‍♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""]},57235:(E,N,R)=>{"use strict";const j=R(83881);const $=R(22471);E.exports=class AliasFieldPlugin{constructor(E,N,R){this.source=E;this.field=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((R,q,G)=>{if(!R.descriptionFileData)return G();const ie=$(E,R);if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const ce=ae[ie];const le=ae[ie.replace(/^\.\//,"")];const _e=typeof ce!=="undefined"?ce:le;if(_e===ie)return G();if(_e===undefined)return G();if(_e===false){const E={...R,path:false};return G(null,E)}const Ee={...R,path:R.descriptionFileRoot,request:_e,fullySpecified:false};E.doResolve(N,Ee,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ie+"' to '"+_e+"'",q,((E,N)=>{if(E)return G(E);if(N===undefined)return G(null,null);G(null,N)}))}))}}},22002:(E,N,R)=>{"use strict";const j=R(43556);E.exports=class AliasPlugin{constructor(E,N,R){this.source=E;this.options=Array.isArray(N)?N:[N];this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasPlugin",((R,$,q)=>{const G=R.request||R.path;if(!G)return q();j(this.options,((q,ie)=>{let ae=false;if(G===q.name||!q.onlyModule&&G.startsWith(q.name+"/")){const ce=G.substr(q.name.length);const resolveWithAlias=(j,ie)=>{if(j===false){const E={...R,path:false};return ie(null,E)}if(G!==j&&!G.startsWith(j+"/")){ae=true;const G=j+ce;const le={...R,request:G,fullySpecified:false};return E.doResolve(N,le,"aliased with mapping '"+q.name+"': '"+j+"' to '"+G+"'",$,((E,N)=>{if(E)return ie(E);if(N)return ie(null,N);return ie()}))}return ie()};const stoppingCallback=(E,N)=>{if(E)return ie(E);if(N)return ie(null,N);if(ae)return ie(null,null);return ie()};if(Array.isArray(q.alias)){return j(q.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(q.alias,stoppingCallback)}}return ie()}),q)}))}}},40803:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((R,j,$)=>{const q={...R,path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending};E.doResolve(N,q,this.appending,j,$)}))}}},67703:(E,N,R)=>{"use strict";const j=R(77282).nextTick;const dirname=E=>{let N=E.length-1;while(N>=0){const R=E.charCodeAt(N);if(R===47||R===92)break;N--}if(N<0)return"";return E.slice(0,N)};const runCallbacks=(E,N,R)=>{if(E.length===1){E[0](N,R);E.length=0;return}let j;for(const $ of E){try{$(N,R)}catch(E){if(!j)j=E}}E.length=0;if(j)throw j};class OperationMergerBackend{constructor(E,N,R){this._provider=E;this._syncProvider=N;this._providerContext=R;this._activeAsyncOperations=new Map;this.provide=this._provider?(N,R,j)=>{if(typeof R==="function"){j=R;R=undefined}if(R){return this._provider.call(this._providerContext,N,R,j)}if(typeof N!=="string"){j(new TypeError("path must be a string"));return}let $=this._activeAsyncOperations.get(N);if($){$.push(j);return}this._activeAsyncOperations.set(N,$=[j]);E(N,((E,R)=>{this._activeAsyncOperations.delete(N);runCallbacks($,E,R)}))}:null;this.provideSync=this._syncProvider?(E,N)=>this._syncProvider.call(this._providerContext,E,N):null}purge(){}purgeParent(){}}const $=0;const q=1;const G=2;class CacheBackend{constructor(E,N,R,j){this._duration=E;this._provider=N;this._syncProvider=R;this._providerContext=j;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let N=5e3;N{this._activeAsyncOperations.delete(E);this._storeResult(E,N,R);this._enterAsyncMode();runCallbacks(G,N,R)}))}provideSync(E,N){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(N){return this._syncProvider.call(this._providerContext,E,N)}if(this._mode===q){this._runDecays()}let R=this._data.get(E);if(R!==undefined){if(R.err)throw R.err;return R.result}const j=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let $;try{$=this._syncProvider.call(this._providerContext,E)}catch(N){this._storeResult(E,N,undefined);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,N,undefined);throw N}this._storeResult(E,undefined,$);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,undefined,$);return $}purge(E){if(!E){if(this._mode!==$){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[N,R]of this._data){if(N.startsWith(E)){this._data.delete(N);R.level.delete(N)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[N,R]of this._data){for(const j of E){if(N.startsWith(j)){this._data.delete(N);R.level.delete(N);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const N=new Set;for(const R of E){N.add(dirname(R))}this.purge(N)}}_storeResult(E,N,R){if(this._data.has(E))return;const j=this._levels[this._currentLevel];this._data.set(E,{err:N,result:R,level:j});j.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const N=this._levels[E];this._currentLevel=E;for(let E of N){this._data.delete(E)}N.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==$){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case G:return;case $:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case q:this._runDecays();if(this._mode===$)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=G;const N=setTimeout((()=>{this._mode=q;this._runDecays()}),E);if(N.unref)N.unref();this._timeout=N}_enterSyncModeWhenIdle(){if(this._mode===$){this._mode=q;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=$;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,N,R,j)=>{if(E>0){return new CacheBackend(E,N,R,j)}return new OperationMergerBackend(N,R,j)};E.exports=class CachedInputFileSystem{constructor(E,N){this.fileSystem=E;this._lstatBackend=createBackend(N,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const R=this._lstatBackend.provide;this.lstat=R;const j=this._lstatBackend.provideSync;this.lstatSync=j;this._statBackend=createBackend(N,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const $=this._statBackend.provide;this.stat=$;const q=this._statBackend.provideSync;this.statSync=q;this._readdirBackend=createBackend(N,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const G=this._readdirBackend.provide;this.readdir=G;const ie=this._readdirBackend.provideSync;this.readdirSync=ie;this._readFileBackend=createBackend(N,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const ce=this._readFileBackend.provideSync;this.readFileSync=ce;this._readJsonBackend=createBackend(N,this.fileSystem.readJson||this.readFile&&((E,N)=>{this.readFile(E,((E,R)=>{if(E)return N(E);if(!R||R.length===0)return N(new Error("No file content"));let j;try{j=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}N(null,j)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const N=this.readFileSync(E);const R=JSON.parse(N.toString("utf-8"));return R}),this.fileSystem);const le=this._readJsonBackend.provide;this.readJson=le;const _e=this._readJsonBackend.provideSync;this.readJsonSync=_e;this._readlinkBackend=createBackend(N,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const Ee=this._readlinkBackend.provide;this.readlink=Ee;const Te=this._readlinkBackend.provideSync;this.readlinkSync=Te}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},94511:(E,N,R)=>{"use strict";const j=R(69835).basename;E.exports=class CloneBasenamePlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((R,$,q)=>{const G=j(R.path);const ie=E.join(R.path,G);const ae={...R,path:ie,relativePath:R.relativePath&&E.join(R.relativePath,G)};E.doResolve(N,ae,"using path: "+ie,$,q)}))}}},61770:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,N,R,j,$){this.source=E;this.test=N;this.message=R;this.allowAlternatives=j;this.target=$}apply(E){const N=E.ensureHook(this.target);const{test:R,message:j,allowAlternatives:$}=this;const q=Object.keys(R);E.getHook(this.source).tapAsync("ConditionalPlugin",((G,ie,ae)=>{for(const E of q){if(G[E]!==R[E])return ae()}E.doResolve(N,G,j,ie,$?ae:(E,N)=>{if(E)return ae(E);if(N===undefined)return ae(null,null);ae(null,N)})}))}}},65943:(E,N,R)=>{"use strict";const j=R(83881);E.exports=class DescriptionFilePlugin{constructor(E,N,R,j){this.source=E;this.filenames=N;this.pathIsFile=R;this.target=j}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,$,q)=>{const G=R.path;if(!G)return q();const ie=this.pathIsFile?j.cdUp(G):G;if(!ie)return q();j.loadDescriptionFile(E,ie,this.filenames,R.descriptionFilePath?{path:R.descriptionFilePath,content:R.descriptionFileData,directory:R.descriptionFileRoot}:undefined,$,((j,ae)=>{if(j)return q(j);if(!ae){if($.log)$.log(`No description file found in ${ie} or above`);return q()}const ce="."+G.substr(ae.directory.length).replace(/\\/g,"/");const le={...R,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:ce};E.doResolve(N,le,"using description file: "+ae.path+" (relative path: "+ce+")",$,((E,N)=>{if(E)return q(E);if(N===undefined)return q(null,null);q(null,N)}))}))}))}}},83881:(E,N,R)=>{"use strict";const j=R(43556);function loadDescriptionFile(E,N,R,$,q,G){(function findDescriptionFile(){if($&&$.directory===N){return G(null,$)}j(R,((R,j)=>{const $=E.join(N,R);if(E.fileSystem.readJson){E.fileSystem.readJson($,((E,N)=>{if(E){if(typeof E.code!=="undefined"){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}return onJson(E)}if(q.fileDependencies){q.fileDependencies.add($)}onJson(null,N)}))}else{E.fileSystem.readFile($,((E,N)=>{if(E){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}let R;if(N){try{R=JSON.parse(N.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,R)}))}function onJson(E,R){if(E){if(q.log)q.log($+" (directory description file): "+E);else E.message=$+" (directory description file): "+E;return j(E)}j(null,{content:R,directory:N,path:$})}}),((E,R)=>{if(E)return G(E);if(R){return G(null,R)}else{const E=cdUp(N);if(!E){return G()}else{N=E;return findDescriptionFile()}}}))})()}function getField(E,N){if(!E)return undefined;if(Array.isArray(N)){let R=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,j,$)=>{const q=E.fileSystem;const G=R.path;if(!G)return $();q.stat(G,((q,ie)=>{if(q||!ie){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" doesn't exist");return $()}if(!ie.isDirectory()){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" is not a directory");return $()}if(j.fileDependencies)j.fileDependencies.add(G);E.doResolve(N,R,`existing directory ${G}`,j,$)}))}))}}},5109:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processExportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const{checkExportsFieldTarget:ae}=R(67411);E.exports=class ExportsFieldPlugin{constructor(E,N,R,j){this.source=E;this.target=j;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((R,ce,le)=>{if(!R.descriptionFilePath)return le();if(R.relativePath!=="."||R.request===undefined)return le();const _e=R.query||R.fragment?(R.request==="."?"./":R.request)+R.query+R.fragment:R.request;const Ee=$.getField(R.descriptionFileData,this.fieldName);if(!Ee)return le();if(R.directory){return le(new Error(`Resolving to directories is not possible with the exports field (request was ${_e}/)`))}let Te;try{let E=this.fieldProcessorCache.get(R.descriptionFileData);if(E===undefined){E=G(Ee);this.fieldProcessorCache.set(R.descriptionFileData,E)}Te=E(_e,this.conditionNames)}catch(E){if(ce.log){ce.log(`Exports field in ${R.descriptionFilePath} can't be processed: ${E}`)}return le(E)}if(Te.length===0){return le(new Error(`Package path ${_e} is not exported from package ${R.descriptionFileRoot} (see exports field in ${R.descriptionFilePath})`))}q(Te,(($,q)=>{const G=ie($);if(!G)return q();const[le,_e,Ee]=G;const Te=ae(le);if(Te){return q(Te)}const we={...R,request:undefined,path:j.join(R.descriptionFileRoot,le),relativePath:le,query:_e,fragment:Ee};E.doResolve(N,we,"using exports field: "+$,ce,q)}),((E,N)=>le(E,N||null)))}))}}},87876:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((j,$,q)=>{const G=j.path;if(!G)return q();R.stat(G,((R,ie)=>{if(R||!ie){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" doesn't exist");return q()}if(!ie.isFile()){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" is not a file");return q()}if($.fileDependencies)$.fileDependencies.add(G);E.doResolve(N,j,"existing file: "+G,$,q)}))}))}}},1825:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processImportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const ae=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,N,R,j,$){this.source=E;this.targetFile=j;this.targetPackage=$;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.targetFile);const R=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((ce,le,_e)=>{if(!ce.descriptionFilePath||ce.request===undefined){return _e()}const Ee=ce.request+ce.query+ce.fragment;const Te=$.getField(ce.descriptionFileData,this.fieldName);if(!Te)return _e();if(ce.directory){return _e(new Error(`Resolving to directories is not possible with the imports field (request was ${Ee}/)`))}let we;try{let E=this.fieldProcessorCache.get(ce.descriptionFileData);if(E===undefined){E=G(Te);this.fieldProcessorCache.set(ce.descriptionFileData,E)}we=E(Ee,this.conditionNames)}catch(E){if(le.log){le.log(`Imports field in ${ce.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(we.length===0){return _e(new Error(`Package import ${Ee} is not imported from package ${ce.descriptionFileRoot} (see imports field in ${ce.descriptionFilePath})`))}q(we,(($,q)=>{const G=ie($);if(!G)return q();const[_e,Ee,Te]=G;switch(_e.charCodeAt(0)){case ae:{const R={...ce,request:undefined,path:j.join(ce.descriptionFileRoot,_e),relativePath:_e,query:Ee,fragment:Te};E.doResolve(N,R,"using imports field: "+$,le,q);break}default:{const N={...ce,request:_e,relativePath:_e,fullySpecified:true,query:Ee,fragment:Te};E.doResolve(R,N,"using imports field: "+$,le,q)}}}),((E,N)=>_e(E,N||null)))}))}}},91521:E=>{"use strict";const N="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",((j,$,q)=>{const G=j.request||"";let ie=G.indexOf("/",3);if(ie>=0&&G.charCodeAt(2)===N){ie=G.indexOf("/",ie+1)}let ae,ce,le;if(ie<0){ae=G;ce=".";le=false}else{ae=G.slice(0,ie);ce="."+G.slice(ie);le=j.fullySpecified}const _e={...j,path:E.join(j.path,ae),relativePath:j.relativePath&&E.join(j.relativePath,ae),request:ce,fullySpecified:le};E.doResolve(R,_e,null,$,q)}))}}},88277:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((R,j,$)=>{const q={...R,path:E.join(R.path,R.request),relativePath:R.relativePath&&E.join(R.relativePath,R.request),request:undefined};E.doResolve(N,q,null,j,$)}))}}},74934:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const N=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,R,j)=>{if(!R.log)return j();const $=R.log;const q="["+N+"] ";if(E.path)$(q+"Resolving in directory: "+E.path);if(E.request)$(q+"Resolving request: "+E.request);if(E.module)$(q+"Request is an module request.");if(E.directory)$(q+"Request is a directory request.");if(E.query)$(q+"Resolving request query: "+E.query);if(E.fragment)$(q+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)$(q+"Has description data from "+E.descriptionFilePath);if(E.relativePath)$(q+"Relative path from description file is: "+E.relativePath);j()}))}}},26713:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((R,G,ie)=>{if(R.path!==R.descriptionFileRoot||R[q]===R.descriptionFilePath||!R.descriptionFilePath)return ie();const ae=j.basename(R.descriptionFilePath);let ce=$.getField(R.descriptionFileData,this.options.name);if(!ce||typeof ce!=="string"||ce==="."||ce==="./"){return ie()}if(this.options.forceRelative&&!/^\.\.?\//.test(ce))ce="./"+ce;const le={...R,request:ce,module:false,directory:ce.endsWith("/"),[q]:R.descriptionFilePath};return E.doResolve(N,le,"use "+ce+" from "+this.options.name+" in "+ae,G,ie)}))}}},76067:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,N,R){this.source=E;this.directories=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((R,q,G)=>{const ie=E.fileSystem;const ae=$(R.path).paths.map((N=>this.directories.map((R=>E.join(N,R))))).reduce(((E,N)=>{E.push.apply(E,N);return E}),[]);j(ae,((j,$)=>{ie.stat(j,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G={...R,path:j,request:"./"+R.request,module:false};const ie="looking for modules in "+j;return E.doResolve(N,G,ie,q,$)}if(q.log)q.log(j+" doesn't exist or is not a directory");if(q.missingDependencies)q.missingDependencies.add(j);return $()}))}),G)}))}}},22433:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,N,R){this.source=E;this.path=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,j,$)=>{const q={...R,path:this.path,request:"./"+R.request,module:false};E.doResolve(N,q,"looking for modules in "+this.path,j,$)}))}}},12276:E=>{"use strict";E.exports=class NextPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((R,j,$)=>{E.doResolve(N,R,null,j,$)}))}}},71121:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,N,R){this.source=E;this.requestOptions=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((R,j,$)=>{const q=E.parse(R.request);const G={...R,...q,...this.requestOptions};if(R.query&&!q.query){G.query=R.query}if(R.fragment&&!q.fragment){G.fragment=R.fragment}if(q&&j.log){if(q.module)j.log("Parsed request is a module");if(q.directory)j.log("Parsed request is a directory")}if(G.request&&!G.query&&G.fragment){const R=G.fragment.endsWith("/");const q={...G,directory:R,request:G.request+(G.directory?"/":"")+(R?G.fragment.slice(0,-1):G.fragment),fragment:""};E.doResolve(N,q,null,j,((R,q)=>{if(R)return $(R);if(q)return $(null,q);E.doResolve(N,G,null,j,$)}));return}E.doResolve(N,G,null,j,$)}))}}},10232:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,N,R){this.source=E;this.pnpApi=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((R,j,$)=>{const q=R.request;if(!q)return $();const G=`${R.path}/`;const ie=/^(@[^/]+\/)?[^/]+/.exec(q);if(!ie)return $();const ae=ie[0];const ce=`.${q.slice(ae.length)}`;let le;let _e;try{le=this.pnpApi.resolveToUnqualified(ae,G,{considerBuiltins:false});if(j.fileDependencies){_e=this.pnpApi.resolveToUnqualified("pnpapi",G,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if(j.log){j.log(`request is not managed by the pnpapi`);for(const N of E.message.split("\n").filter(Boolean))j.log(` ${N}`)}return $()}return $(E)}if(le===ae)return $();if(_e&&j.fileDependencies){j.fileDependencies.add(_e)}const Ee={...R,path:le,request:ce,ignoreSymlinks:true,fullySpecified:R.fullySpecified&&ce!=="."};E.doResolve(N,Ee,`resolved by pnp to ${le}`,j,((E,N)=>{if(E)return $(E);if(N)return $(null,N);return $(null,null)}))}))}}},33679:(E,N,R)=>{"use strict";const{AsyncSeriesBailHook:j,AsyncSeriesHook:$,SyncHook:q}=R(92960);const G=R(52227);const{parseIdentifier:ie}=R(48366);const{normalize:ae,cachedJoin:ce,getType:le,PathType:_e}=R(67411);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,N){return E.name+": ("+N.path+") "+(N.request||"")+(N.query||"")+(N.fragment||"")+(N.directory?" directory":"")+(N.module?" module":"")}constructor(E,N){this.fileSystem=E;this.options=N;this.hooks={resolveStep:new q(["hook","request"],"resolveStep"),noResolve:new q(["request","error"],"noResolve"),resolve:new j(["request","resolveContext"],"resolve"),result:new $(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){return this.hooks[E]=new j(["request","resolveContext"],E)}return N}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){throw new Error(`Hook ${E} doesn't exist`)}return N}resolveSync(E,N,R){let j=undefined;let $=undefined;let q=false;this.resolve(E,N,R,{},((E,N)=>{j=E;$=N;q=true}));if(!q){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(j)throw j;if($===undefined)throw new Error("No result");return $}resolve(E,N,R,j,$){if(!E||typeof E!=="object")return $(new Error("context argument is not an object"));if(typeof N!=="string")return $(new Error("path argument is not a string"));if(typeof R!=="string")return $(new Error("path argument is not a string"));if(!j)return $(new Error("resolveContext argument is not set"));const q={context:E,path:N,request:R};const G=`resolve '${R}' in '${N}'`;const finishResolved=E=>$(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const N=new Error("Can't "+G);N.details=E.join("\n");this.hooks.noResolve.call(q,N);return $(N)};if(j.log){const E=j.log;const N=[];return this.doResolve(this.hooks.resolve,q,G,{log:R=>{E(R);N.push(R)},fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,R)=>{if(E)return $(E);if(R)return finishResolved(R);return finishWithoutResolve(N)}))}else{return this.doResolve(this.hooks.resolve,q,G,{log:undefined,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,N)=>{if(E)return $(E);if(N)return finishResolved(N);const R=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>R.push(E),stack:j.stack},((E,N)=>{if(E)return $(E);return finishWithoutResolve(R)}))}))}}doResolve(E,N,R,j,$){const q=Resolver.createStackEntry(E,N);let ie;if(j.stack){ie=new Set(j.stack);if(j.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ie).join("\n "));E.recursion=true;if(j.log)j.log("abort resolving because of recursion");return $(E)}ie.add(q)}else{ie=new Set([q])}this.hooks.resolveStep.call(E,N);if(E.isUsed()){const q=G({log:j.log,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:ie},R);return E.callAsync(N,q,((E,N)=>{if(E)return $(E);if(N)return $(null,N);$()}))}else{$()}}parse(E){const N={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const R=ie(E);if(!R)return N;[N.request,N.query,N.fragment]=R;if(N.request.length>0){N.internal=this.isPrivate(E);N.module=this.isModule(N.request);N.directory=this.isDirectory(N.request);if(N.directory){N.request=N.request.substr(0,N.request.length-1)}}return N}isModule(E){return le(E)===_e.Normal}isPrivate(E){return le(E)===_e.Internal}isDirectory(E){return E.endsWith("/")}join(E,N){return ce(E,N)}normalize(E){return ae(E)}}E.exports=Resolver},57934:(E,N,R)=>{"use strict";const j=R(77282).versions;const $=R(33679);const{getType:q,PathType:G}=R(67411);const ie=R(64407);const ae=R(57235);const ce=R(22002);const le=R(40803);const _e=R(61770);const Ee=R(65943);const Te=R(32575);const we=R(5109);const Ie=R(87876);const Ne=R(1825);const Me=R(91521);const Le=R(88277);const Be=R(26713);const je=R(76067);const Ue=R(22433);const ze=R(12276);const We=R(71121);const Je=R(10232);const Ve=R(77398);const qe=R(46182);const He=R(89609);const Ge=R(68285);const Ke=R(44362);const Qe=R(68029);const Xe=R(62216);const Ye=R(55187);function processPnpApiOption(E){if(E===undefined&&j.pnp){return R(35125)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((N=>{const R={name:N,onlyModule:false,alias:E[N]};if(/\$$/.test(N)){R.onlyModule=true;R.name=N.substr(0,N.length-1)}return R})):E||[]}function createOptions(E){const N=new Set(E.mainFields||["main"]);const R=[];for(const E of N){if(typeof E==="string"){R.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){R.push({name:E,forceRelative:true})}else{R.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ie(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const N=q(E);return N===G.Normal||N===G.Relative})),mainFields:R,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}N.createResolver=function(E){const N=createOptions(E);const{alias:R,fallback:j,aliasFields:q,cachePredicate:G,cacheWithContext:ie,conditionNames:Ze,descriptionFiles:et,enforceExtension:tt,exportsFields:rt,importsFields:nt,extensions:it,fileSystem:ot,fullySpecified:st,mainFields:ct,mainFiles:ut,modules:dt,plugins:pt,pnpApi:ft,resolveToContext:mt,preferRelative:ht,preferAbsolute:_t,symlinks:yt,unsafeCache:vt,resolver:bt,restrictions:xt,roots:St}=N;const Et=pt.slice();const Tt=bt?bt:new $(ot,N);Tt.ensureHook("resolve");Tt.ensureHook("internalResolve");Tt.ensureHook("newInteralResolve");Tt.ensureHook("parsedResolve");Tt.ensureHook("describedResolve");Tt.ensureHook("internal");Tt.ensureHook("rawModule");Tt.ensureHook("module");Tt.ensureHook("resolveAsModule");Tt.ensureHook("undescribedResolveInPackage");Tt.ensureHook("resolveInPackage");Tt.ensureHook("resolveInExistingDirectory");Tt.ensureHook("relative");Tt.ensureHook("describedRelative");Tt.ensureHook("directory");Tt.ensureHook("undescribedExistingDirectory");Tt.ensureHook("existingDirectory");Tt.ensureHook("undescribedRawFile");Tt.ensureHook("rawFile");Tt.ensureHook("file");Tt.ensureHook("finalFile");Tt.ensureHook("existingFile");Tt.ensureHook("resolved");for(const{source:E,resolveOptions:N}of[{source:"resolve",resolveOptions:{fullySpecified:st}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(vt){Et.push(new Xe(E,G,vt,ie,`new-${E}`));Et.push(new We(`new-${E}`,N,"parsed-resolve"))}else{Et.push(new We(E,N,"parsed-resolve"))}}Et.push(new Ee("parsed-resolve",et,false,"described-resolve"));Et.push(new ze("after-parsed-resolve","described-resolve"));Et.push(new ze("described-resolve","normal-resolve"));if(j.length>0){Et.push(new ce("described-resolve",j,"internal-resolve"))}if(R.length>0)Et.push(new ce("normal-resolve",R,"internal-resolve"));q.forEach((E=>{Et.push(new ae("normal-resolve",E,"internal-resolve"))}));if(ht){Et.push(new Le("after-normal-resolve","relative"))}Et.push(new _e("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Et.push(new _e("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(_t){Et.push(new Le("after-normal-resolve","relative"))}if(St.size>0){Et.push(new He("after-normal-resolve",St,"relative"))}if(!ht&&!_t){Et.push(new Le("after-normal-resolve","relative"))}nt.forEach((E=>{Et.push(new Ne("internal",Ze,E,"relative","internal-resolve"))}));rt.forEach((E=>{Et.push(new Ge("raw-module",E,"resolve-as-module"))}));dt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&ft){Et.push(new je("raw-module",E.filter((E=>E!=="node_modules")),"module"));Et.push(new Je("raw-module",ft,"undescribed-resolve-in-package"))}else{Et.push(new je("raw-module",E,"module"))}}else{Et.push(new Ue("raw-module",E,"module"))}}));Et.push(new Me("module","resolve-as-module"));if(!mt){Et.push(new _e("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Et.push(new Te("resolve-as-module","undescribed-resolve-in-package"));Et.push(new Ee("undescribed-resolve-in-package",et,false,"resolve-in-package"));Et.push(new ze("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((E=>{Et.push(new we("resolve-in-package",Ze,E,"relative"))}));Et.push(new ze("resolve-in-package","resolve-in-existing-directory"));Et.push(new Le("resolve-in-existing-directory","relative"));Et.push(new Ee("relative",et,true,"described-relative"));Et.push(new ze("after-relative","described-relative"));if(mt){Et.push(new ze("described-relative","directory"))}else{Et.push(new _e("described-relative",{directory:false},null,true,"raw-file"));Et.push(new _e("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Et.push(new Te("directory","undescribed-existing-directory"));if(mt){Et.push(new ze("undescribed-existing-directory","resolved"))}else{Et.push(new Ee("undescribed-existing-directory",et,false,"existing-directory"));ut.forEach((E=>{Et.push(new Ye("undescribed-existing-directory",E,"undescribed-raw-file"))}));ct.forEach((E=>{Et.push(new Be("existing-directory",E,"resolve-in-existing-directory"))}));ut.forEach((E=>{Et.push(new Ye("existing-directory",E,"undescribed-raw-file"))}));Et.push(new Ee("undescribed-raw-file",et,true,"raw-file"));Et.push(new ze("after-undescribed-raw-file","raw-file"));Et.push(new _e("raw-file",{fullySpecified:true},null,false,"file"));if(!tt){Et.push(new Qe("raw-file","no extension","file"))}it.forEach((E=>{Et.push(new le("raw-file",E,"file"))}));if(R.length>0)Et.push(new ce("file",R,"internal-resolve"));q.forEach((E=>{Et.push(new ae("file",E,"internal-resolve"))}));Et.push(new ze("file","final-file"));Et.push(new Ie("final-file","existing-file"));if(yt)Et.push(new Ke("existing-file","existing-file"));Et.push(new ze("existing-file","resolved"))}if(xt.size>0){Et.push(new Ve(Tt.hooks.resolved,xt))}Et.push(new qe(Tt.hooks.resolved));for(const E of Et){if(typeof E==="function"){E.call(Tt,Tt)}else{E.apply(Tt)}}return Tt};function mergeFilteredToArray(E,N){const R=[];const j=new Set(E);for(const E of j){if(N(E)){const N=R.length>0?R[R.length-1]:undefined;if(Array.isArray(N)){N.push(E)}else{R.push([E])}}else{R.push(E)}}return R}},77398:E=>{"use strict";const N="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(E,j)=>{if(!E.startsWith(j))return false;if(E.length===j.length)return true;const $=E.charCodeAt(j.length);return $===N||$===R};E.exports=class RestrictionsPlugin{constructor(E,N){this.source=E;this.restrictions=N}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,N,R)=>{if(typeof E.path==="string"){const j=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside(j,E)){if(N.log){N.log(`${j} is not inside of the restriction ${E}`)}return R(null,null)}}else if(!E.test(j)){if(N.log){N.log(`${j} doesn't match the restriction ${E}`)}return R(null,null)}}}R()}))}}},46182:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((N,R,j)=>{const $={...N};if(R.log)R.log("reporting result "+$.path);E.hooks.result.callAsync($,R,(E=>{if(E)return j(E);j(null,$)}))}))}}},89609:(E,N,R)=>{"use strict";const j=R(43556);class RootsPlugin{constructor(E,N,R){this.roots=Array.from(N);this.source=E;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((R,$,q)=>{const G=R.request;if(!G)return q();if(!G.startsWith("/"))return q();j(this.roots,((j,q)=>{const ie=E.join(j,G.slice(1));const ae={...R,path:ie,relativePath:R.relativePath&&ie};E.doResolve(N,ae,`root path ${j}`,$,q)}),q)}))}}E.exports=RootsPlugin},68285:(E,N,R)=>{"use strict";const j=R(83881);const $="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,N,R){this.source=E;this.target=R;this.fieldName=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((R,q,G)=>{if(!R.descriptionFilePath)return G();const ie=R.request;if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.fieldName);if(!ae)return G();const ce=j.getField(R.descriptionFileData,"name");if(typeof ce!=="string")return G();if(ie.startsWith(ce)&&(ie.length===ce.length||ie.charCodeAt(ce.length)===$)){const j=`.${ie.slice(ce.length)}`;const $={...R,request:j,path:R.descriptionFileRoot,relativePath:"."};E.doResolve(N,$,"self reference",q,G)}else{return G()}}))}}},44362:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);const{getType:q,PathType:G}=R(67411);E.exports=class SymlinkPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ie,ae,ce)=>{if(ie.ignoreSymlinks)return ce();const le=$(ie.path);const _e=le.seqments;const Ee=le.paths;let Te=false;let we=-1;j(Ee,((E,N)=>{we++;if(ae.fileDependencies)ae.fileDependencies.add(E);R.readlink(E,((E,R)=>{if(!E&&R){_e[we]=R;Te=true;const E=q(R.toString());if(E===G.AbsoluteWin||E===G.AbsolutePosix){return N(null,we)}}N()}))}),((R,j)=>{if(!Te)return ce();const $=typeof j==="number"?_e.slice(0,j+1):_e.slice();const q=$.reduceRight(((N,R)=>E.join(N,R)));const G={...ie,path:q};E.doResolve(N,G,"resolved symlink to "+q,ae,ce)}))}))}}},64407:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const N=E.lstatSync;if(N){this.lstat=(R,j,$)=>{let q;try{q=N.call(E,R)}catch(E){return($||j)(E)}($||j)(null,q)};this.lstatSync=(R,j)=>N.call(E,R,j)}this.stat=(N,R,j)=>{let $;try{$=j?E.statSync(N,R):E.statSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.statSync=(N,R)=>E.statSync(N,R);this.readdir=(N,R,j)=>{let $;try{$=E.readdirSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readdirSync=(N,R)=>E.readdirSync(N,R);this.readFile=(N,R,j)=>{let $;try{$=E.readFileSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readFileSync=(N,R)=>E.readFileSync(N,R);this.readlink=(N,R,j)=>{let $;try{$=E.readlinkSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readlinkSync=(N,R)=>E.readlinkSync(N,R);this.readJson=undefined;this.readJsonSync=undefined;const R=E.readJsonSync;if(R){this.readJson=(N,j,$)=>{let q;try{q=R.call(E,N)}catch(E){return($||j)(E)}($||j)(null,q)};this.readJsonSync=(N,j)=>R.call(E,N,j)}}E.exports=SyncAsyncFileSystemDecorator},68029:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,N,R){this.source=E;this.message=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((R,j,$)=>{E.doResolve(N,R,this.message,j,$)}))}}},62216:E=>{"use strict";function getCacheId(E,N){return JSON.stringify({context:N?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,N,R,j,$){this.source=E;this.filterPredicate=N;this.withContext=j;this.cache=R;this.target=$}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,j,$)=>{if(!this.filterPredicate(R))return $();const q=getCacheId(R,this.withContext);const G=this.cache[q];if(G){return $(null,G)}E.doResolve(N,R,null,j,((E,N)=>{if(E)return $(E);if(N)return $(null,this.cache[q]=N);$()}))}))}}},55187:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,N,R){this.source=E;this.filename=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((R,j,$)=>{const q=E.join(R.path,this.filename);const G={...R,path:q,relativePath:R.relativePath&&E.join(R.relativePath,this.filename)};E.doResolve(N,G,"using path: "+q,j,$)}))}}},52227:E=>{"use strict";E.exports=function createInnerContext(E,N,R){let j=false;let $=undefined;if(E.log){if(N){$=R=>{if(!j){E.log(N);j=true}E.log(" "+R)}}else{$=E.log}}const q={log:$,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return q}},43556:E=>{"use strict";E.exports=function forEachBail(E,N,R){if(E.length===0)return R();let j=0;const next=()=>{let $=undefined;N(E[j++],((N,q)=>{if(N||q!==undefined||j>=E.length){return R(N,q)}if($===false)while(next());$=true}));if(!$)$=false;return $};while(next());}},22471:E=>{"use strict";E.exports=function getInnerRequest(E,N){if(typeof N.__innerRequest==="string"&&N.__innerRequest_request===N.request&&N.__innerRequest_relativePath===N.relativePath)return N.__innerRequest;let R;if(N.request){R=N.request;if(/^\.\.?(?:\/|$)/.test(R)&&N.relativePath){R=E.join(N.relativePath,R)}}else{R=N.relativePath}N.__innerRequest_request=N.request;N.__innerRequest_relativePath=N.relativePath;return N.__innerRequest=R}},69835:E=>{"use strict";E.exports=function getPaths(E){const N=E.split(/(.*?[\\/]+)/);const R=[E];const j=[N[N.length-1]];let $=N[N.length-1];E=E.substr(0,E.length-$.length-1);for(let q=N.length-2;q>2;q-=2){R.push(E);$=N[q];E=E.substr(0,E.length-$.length)||"/";j.push($.substr(0,$.length-1))}$=N[1];j.push($);R.push($);return{paths:R,seqments:j}};E.exports.basename=function basename(E){const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N{"use strict";const j=R(15808);const $=R(67703);const q=R(57934);const G=new $(j,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:G});function resolve(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}ae.resolve(E,N,R,j,$)}const ce=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});function resolveSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return ce.resolveSync(E,N,R)}function create(E){E={fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j,$,q){if(typeof E==="string"){q=$;$=j;j=R;R=E;E=ie}if(typeof q!=="function"){q=$}N.resolve(E,R,j,$,q)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j){if(typeof E==="string"){j=R;R=E;E=ie}return N.resolveSync(E,R,j)}}const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);Object.defineProperties(E,R);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:q,CachedInputFileSystem:$,get CloneBasenamePlugin(){return R(94511)},get LogInfoPlugin(){return R(74934)},get forEachBail(){return R(43556)}})},4077:E=>{"use strict";const N="/".charCodeAt(0);const R=".".charCodeAt(0);const j="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,N,R){return function fieldProcessor(j,$){j=N(j);const q=findMatch(j,E);if(q===null)return[];const[G,ie]=q;let ae=null;if(isConditionalMapping(G)){ae=conditionalMapping(G,$);if(ae===null)return[]}else{ae=G}const ce=ie===j.length+1?undefined:ie<0?j.slice(-ie-1):j.slice(ie);return directMapping(ce,ie<0,ae,$,R)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==R){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==N){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==j){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===N){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,j){if(E.charCodeAt(0)===N||E.charCodeAt(0)===R&&E.charCodeAt(1)!==N){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const $=E.charCodeAt(E.length-1)===N;if($!==j){throw new Error(j?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,R){const j=E.charCodeAt(E.length-1)===N;if(j!==R){throw new Error(R?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,N){if(E.length===0){const E=N.files.get("");return E?[E,1]:null}if(N.children===null&&N.folder===null&&N.wildcards===null){const R=N.files.get(E);return R?[R,E.length+1]:null}let R=N;let j=0;let $=E.indexOf("/",0);let q=null;const applyFolderMapping=()=>{const E=R.folder;if(E){if(q){q[0]=E;q[1]=-j-1}else{q=[E,-j-1]}}};const applyWildcardMappings=(E,N)=>{if(E){for(const[R,$]of E){if(N.startsWith(R)){if(!q){q=[$,j+R.length]}else if(q[1]0?E.slice(j):E;const ie=R.files.get(G);if(ie){return[ie,E.length+1]}applyFolderMapping();applyWildcardMappings(R.wildcards,G);return q}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,N,R,j,$){if(R===null)return[];if(typeof R==="string"){return[targetMapping(E,N,R,$)]}const q=[];for(const G of R){if(typeof G==="string"){q.push(targetMapping(E,N,G,$));continue}const R=conditionalMapping(G,j);if(!R)continue;const ie=directMapping(E,N,R,j,$);for(const E of ie){q.push(E)}}return q}function targetMapping(E,N,R,j){if(E===undefined){j(R,false);return R}if(N){j(R,true);return R+E}j(R,false);return R.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,N){let R=[[E,Object.keys(E),0]];e:while(R.length>0){const[E,j,$]=R[R.length-1];const q=j.length-1;for(let G=$;G=N.length){j.folder=R}else{const E=$>0?N.slice($):N;if(E.endsWith("*")){if(j.wildcards===null)j.wildcards=new Map;j.wildcards.set(E.slice(0,-1),R)}else{j.files.set(E,R)}}}function buildExportsFieldPathTree(E){const j=createNode();if(typeof E==="string"){j.files.set("",E);return j}else if(Array.isArray(E)){j.files.set("",E.slice());return j}const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==R){if(q===0){while(q<$.length){const E=$[q].charCodeAt(0);if(E===R||E===N){throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}q++}j.files.set("",E);return j}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}if(G.length===1){j.files.set("",E[G]);continue}if(G.charCodeAt(1)!==N){throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(G)})`)}walkPath(j,G.slice(2),E[G])}return j}function buildImportsFieldPathTree(E){const R=createNode();const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==j){throw new Error(`Imports field key should start with "#" (key: ${JSON.stringify(G)})`)}if(G.length===1){throw new Error(`Imports field key should have at least 2 characters (key: ${JSON.stringify(G)})`)}if(G.charCodeAt(1)===N){throw new Error(`Imports field key should not start with "#/" (key: ${JSON.stringify(G)})`)}walkPath(R,G.slice(1),E[G])}return R}},48366:E=>{"use strict";const N=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const R=N.exec(E);if(!R)return null;return[R[1].replace(/\0(.)/g,"$1"),R[2]?R[2].replace(/\0(.)/g,"$1"):"",R[3]||""]}E.exports.parseIdentifier=parseIdentifier},67411:(E,N,R)=>{"use strict";const j=R(71017);const $="#".charCodeAt(0);const q="/".charCodeAt(0);const G="\\".charCodeAt(0);const ie="A".charCodeAt(0);const ae="Z".charCodeAt(0);const ce="a".charCodeAt(0);const le="z".charCodeAt(0);const _e=".".charCodeAt(0);const Ee=":".charCodeAt(0);const Te=j.posix.normalize;const we=j.win32.normalize;const Ie=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});N.PathType=Ie;const getType=E=>{switch(E.length){case 0:return Ie.Empty;case 1:{const N=E.charCodeAt(0);switch(N){case _e:return Ie.Relative;case q:return Ie.AbsolutePosix;case $:return Ie.Internal}return Ie.Normal}case 2:{const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case _e:case q:return Ie.Relative}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Ee){if(N>=ie&&N<=ae||N>=ce&&N<=le){return Ie.AbsoluteWin}}return Ie.Normal}}const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case q:return Ie.Relative;case _e:{const N=E.charCodeAt(2);if(N===q)return Ie.Relative;return Ie.Normal}}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Ee){const R=E.charCodeAt(2);if((R===G||R===q)&&(N>=ie&&N<=ae||N>=ce&&N<=le)){return Ie.AbsoluteWin}}return Ie.Normal};N.getType=getType;const normalize=E=>{switch(getType(E)){case Ie.Empty:return E;case Ie.AbsoluteWin:return we(E);case Ie.Relative:{const N=Te(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Te(E)};N.normalize=normalize;const join=(E,N)=>{if(!N)return normalize(E);const R=getType(N);switch(R){case Ie.AbsolutePosix:return Te(N);case Ie.AbsoluteWin:return we(N)}switch(getType(E)){case Ie.Normal:case Ie.Relative:case Ie.AbsolutePosix:return Te(`${E}/${N}`);case Ie.AbsoluteWin:return we(`${E}\\${N}`)}switch(R){case Ie.Empty:return E;case Ie.Relative:{const N=Te(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Te(E)};N.join=join;const Ne=new Map;const cachedJoin=(E,N)=>{let R;let j=Ne.get(E);if(j===undefined){Ne.set(E,j=new Map)}else{R=j.get(N);if(R!==undefined)return R}R=join(E,N);j.set(N,R);return R};N.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let N=2;let R=E.indexOf("/",2);let j=0;while(R!==-1){const $=E.slice(N,R);switch($){case"..":{j--;if(j<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:j++;break}N=R+1;R=E.indexOf("/",N)}};N.checkExportsFieldTarget=checkExportsFieldTarget},16950:(E,N,R)=>{"use strict";const j=R(78120);class Definition{constructor(E,N,R,j,$,q){this.type=E;this.name=N;this.node=R;this.parent=j;this.index=$;this.kind=q}}class ParameterDefinition extends Definition{constructor(E,N,R,$){super(j.Parameter,E,N,null,R,null);this.rest=$}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,N,R)=>{"use strict";const j=R(39491);const $=R(60018);const q=R(36337);const G=R(24552);const ie=R(78120);const ae=R(98699).Scope;const ce=R(83196).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,N){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const R in N){if(Object.prototype.hasOwnProperty.call(N,R)){const j=N[R];if(isHashObject(j)){if(isHashObject(E[R])){updateDeeply(E[R],j)}else{E[R]=updateDeeply({},j)}}else{E[R]=j}}}return E}function analyze(E,N){const R=updateDeeply(defaultOptions(),N);const G=new $(R);const ie=new q(R,G);ie.visit(E);j(G.__currentScope===null,"currentScope should be null.");return G}E.exports={version:ce,Reference:G,Variable:ie,Scope:ae,ScopeManager:$,analyze:analyze}},29630:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends $.Visitor{static isPattern(E){const N=E.type;return N===j.Identifier||N===j.ObjectPattern||N===j.ArrayPattern||N===j.SpreadElement||N===j.RestElement||N===j.AssignmentPattern}constructor(E,N,R){super(null,E);this.rootPattern=N;this.callback=R;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const N=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:N!==null&&N!==undefined&&N.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let N=0,R=E.elements.length;N{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const N=1;const R=2;const j=N|R;class Reference{constructor(E,N,R,j,$,q,G){this.identifier=E;this.from=N;this.tainted=false;this.resolved=null;this.flag=R;if(this.isWrite()){this.writeExpr=j;this.partial=q;this.init=G}this.__maybeImplicitGlobal=$}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=N;Reference.WRITE=R;Reference.RW=j;E.exports=Reference},36337:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);const q=R(24552);const G=R(78120);const ie=R(29630);const ae=R(16950);const ce=R(39491);const le=ae.ParameterDefinition;const _e=ae.Definition;function traverseIdentifierInPattern(E,N,R,j){const $=new ie(E,N,j);$.visit(N);if(R!==null&&R!==undefined){$.rightHandNodes.forEach(R.visit,R)}}class Importer extends $.Visitor{constructor(E,N){super(null,N.options);this.declaration=E;this.referencer=N}visitImport(E,N){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new _e(G.ImportBinding,E,N,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const N=E.local||E.id;if(N){this.visitImport(N,E)}}ImportDefaultSpecifier(E){const N=E.local||E.id;this.visitImport(N,E)}ImportSpecifier(E){const N=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(N,E)}}}class Referencer extends $.Visitor{constructor(E,N){super(null,E);this.options=E;this.scopeManager=N;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const N=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return N}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,N,R,j){const $=this.currentScope();N.forEach((N=>{$.__referencing(E,q.WRITE,N.right,R,E!==N.left,j)}))}visitPattern(E,N,R){let j=N;let $=R;if(typeof N==="function"){$=N;j={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,j.processRightHandNodes?this:null,$)}visitFunction(E){let N,R;if(E.type===j.FunctionDeclaration){this.currentScope().__define(E.id,new _e(G.FunctionName,E.id,E,null,null,null))}if(E.type===j.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const $=this;function visitPatternCallback(R,j){$.currentScope().__define(R,new le(R,E,N,j.rest));$.referencingDefaultValue(R,j.assignments,null,true)}for(N=0,R=E.params.length;N{this.currentScope().__define(N,new le(N,E,E.params.length,true))}))}if(E.body){if(E.body.type===j.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===j.ClassDeclaration){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let N;if(E.computed){this.visit(E.key)}const R=E.type===j.MethodDefinition;if(R){N=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(R){this.popInnerMethodDefinition(N)}}visitForIn(E){if(E.left.type===j.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===j.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(N=>{this.currentScope().__referencing(N,q.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,N,R,j){const $=R.declarations[j];const G=$.init;this.visitPattern($.id,{processRightHandNodes:true},((ie,ae)=>{E.__define(ie,new _e(N,ie,$,R,j,R.kind));this.referencingDefaultValue(ie,ae.assignments,null,true);if(G){this.currentScope().__referencing(ie,q.WRITE,G,null,!ae.topLevel,true)}}))}AssignmentExpression(E){if(ie.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,!R.topLevel,false)}))}else{this.currentScope().__referencing(E.left,q.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((N,R)=>{this.currentScope().__define(N,new _e(G.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(N,R.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ie.isPattern(E.argument)){this.currentScope().__referencing(E.argument,q.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===j.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===j.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const N=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let R=0,j=E.declarations.length;R{"use strict";const j=R(98699);const $=R(39491);const q=j.GlobalScope;const G=j.CatchScope;const ie=j.WithScope;const ae=j.ModuleScope;const ce=j.ClassScope;const le=j.SwitchScope;const _e=j.FunctionScope;const Ee=j.ForScope;const Te=j.FunctionExpressionNameScope;const we=j.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,N){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const R=this.__get(E);if(!R||R.length===0){return null}if(R.length===1){return R[0]}if(N){for(let E=R.length-1;E>=0;--E){const N=R[E];if(predicate(N)){return N}}}else{for(let E=0,N=R.length;E=6}}E.exports=ScopeManager},98699:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(24552);const q=R(78120);const G=R(16950).Definition;const ie=R(39491);function isStrictScope(E,N,R,$){let q;if(E.upper&&E.upper.isStrict){return true}if(R){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(N.type===j.ArrowFunctionExpression&&N.body.type!==j.BlockStatement){return false}if(N.type===j.Program){q=N}else{q=N.body}if(!q){return false}}else if(E.type==="global"){q=N}else{return false}if($){for(let E=0,N=q.body.length;E0&&j.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let N=this;do{N.through.push(E);N=N.upper}while(N)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let N;if(this.__shouldStaticallyClose(E)){N=this.__staticCloseRef}else if(this.type!=="global"){N=this.__dynamicCloseRef}else{N=this.__globalCloseRef}for(let E=0,R=this.__left.length;EE.name.range[0]>=R)))}}class ForScope extends Scope{constructor(E,N,R){super(E,"for",N,R,false)}}class ClassScope extends Scope{constructor(E,N,R){super(E,"class",N,R,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,N){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=N}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,N,R)=>{(function(){"use strict";var E=R(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(N,R){return(N===E.Syntax.ObjectExpression||N===E.Syntax.ObjectPattern)&&R==="properties"}function Visitor(N,R){R=R||{};this.__visitor=N||this;this.__childVisitorKeys=R.childVisitorKeys?Object.assign({},E.VisitorKeys,R.childVisitorKeys):E.VisitorKeys;if(R.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof R.fallback==="function"){this.__fallback=R.fallback}}Visitor.prototype.visitChildren=function(N){var R,j,$,q,G,ie,ae;if(N==null){return}R=N.type||E.Syntax.Property;j=this.__childVisitorKeys[R];if(!j){if(this.__fallback){j=this.__fallback(N)}else{throw new Error("Unknown node type "+R+".")}}for($=0,q=j.length;${(function clone(E){"use strict";var N,R,j,$,q,G;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};$={};q={};G={};R={Break:$,Skip:q,Remove:G};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R=0;--R){if(E[R].node===N){return true}}return false}Controller.prototype.traverse=function traverse(E,N){var R,j,G,ie,ae,ce,le,_e,Ee,Te,we,Ie;this.__initialize(E,N);Ie={};R=this.__worklist;j=this.__leavelist;R.push(new Element(E,null,null,null));j.push(new Element(null,null,null,null));while(R.length){G=R.pop();if(G===Ie){G=j.pop();ce=this.__execute(N.leave,G);if(this.__state===$||ce===$){return}continue}if(G.node){ce=this.__execute(N.enter,G);if(this.__state===$||ce===$){return}R.push(Ie);j.push(G);if(this.__state===q||ce===q){continue}ie=G.node;ae=ie.type||G.wrap;Te=this.__keys[ae];if(!Te){if(this.__fallback){Te=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}_e=Te.length;while((_e-=1)>=0){le=Te[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(candidateExistsInLeaveList(j,we[Ee])){continue}if(isProperty(ae,Te[_e])){G=new Element(we[Ee],[le,Ee],"Property",null)}else if(isNode(we[Ee])){G=new Element(we[Ee],[le,Ee],null,null)}else{continue}R.push(G)}}else if(isNode(we)){if(candidateExistsInLeaveList(j,we)){continue}R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key=0){Me=Te[_e];we=ie[Me];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){le=new Element(we[Ee],[Me,Ee],"Property",new Reference(we,Ee))}else if(isNode(we[Ee])){le=new Element(we[Ee],[Me,Ee],null,new Reference(we,Ee))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference(ie,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,j){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!j.length){if(N.length){for(ie=0,G=N.length;ieE.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return R.Break}if($[ae].extendedRange[0]>E.range[1]){return R.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]E.range[1]){return R.Skip}}});return E}E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=j;E.VisitorOption=R;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},92105:(E,N,R)=>{(function clone(E){"use strict";var N,j,$,q,G,ie;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};q={};G={};ie={};j={Break:q,Skip:G,Remove:ie};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R=0){le=Te[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){$=new Element(we[Ee],[le,Ee],"Property",null)}else if(isNode(we[Ee])){$=new Element(we[Ee],[le,Ee],null,null)}else{continue}R.push($)}}else if(isNode(we)){R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,$,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key=0){Me=Te[_e];we=$[Me];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){le=new Element(we[Ee],[Me,Ee],"Property",new Reference(we,Ee))}else if(isNode(we[Ee])){le=new Element(we[Ee],[Me,Ee],null,new Reference(we,Ee))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference($,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,R){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!R.length){if(N.length){for(ie=0,G=N.length;ieE.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return j.Break}if($[ae].extendedRange[0]>E.range[1]){return j.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]E.range[1]){return j.Skip}}});return E}E.version=R(42600).i8;E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=$;E.VisitorOption=j;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},55245:E=>{"use strict";E.exports=function equal(E,N){if(E===N)return true;if(E&&N&&typeof E=="object"&&typeof N=="object"){if(E.constructor!==N.constructor)return false;var R,j,$;if(Array.isArray(E)){R=E.length;if(R!=N.length)return false;for(j=R;j--!==0;)if(!equal(E[j],N[j]))return false;return true}if(E.constructor===RegExp)return E.source===N.source&&E.flags===N.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===N.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===N.toString();$=Object.keys(E);R=$.length;if(R!==Object.keys(N).length)return false;for(j=R;j--!==0;)if(!Object.prototype.hasOwnProperty.call(N,$[j]))return false;for(j=R;j--!==0;){var q=$[j];if(!equal(E[q],N[q]))return false}return true}return E!==E&&N!==N}},75986:E=>{"use strict";E.exports=function(E,N){if(!N)N={};if(typeof N==="function")N={cmp:N};var R=typeof N.cycles==="boolean"?N.cycles:false;var j=N.cmp&&function(E){return function(N){return function(R,j){var $={key:R,value:N[R]};var q={key:j,value:N[j]};return E($,q)}}}(N.cmp);var $=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var N,q;if(Array.isArray(E)){q="[";for(N=0;N{E.exports=function(E,N){if(typeof E!=="string"){throw new TypeError("Expected a string")}var R=String(E);var j="";var $=N?!!N.extended:false;var q=N?!!N.globstar:false;var G=false;var ie=N&&typeof N.flags==="string"?N.flags:"";var ae;for(var ce=0,le=R.length;ce1&&(_e==="/"||_e===undefined)&&(Te==="/"||Te===undefined);if(we){j+="((?:[^/]*(?:/|$))*)";ce++}else{j+="([^/]*)"}}break;default:j+=ae}}if(!ie||!~ie.indexOf("g")){j="^"+j+"$"}return new RegExp(j,ie)}},40858:E=>{"use strict";E.exports=clone;var N=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var R={__proto__:N(E)};else var R=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(N){Object.defineProperty(R,N,Object.getOwnPropertyDescriptor(E,N))}));return R}},15808:(E,N,R)=>{var j=R(57147);var $=R(82444);var q=R(94073);var G=R(40858);var ie=R(73837);var ae;var ce;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");ce=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";ce="___graceful-fs.previous"}function noop(){}function publishQueue(E,N){Object.defineProperty(E,ae,{get:function(){return N}})}var le=noop;if(ie.debuglog)le=ie.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))le=function(){var E=ie.format.apply(ie,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!j[ae]){var _e=global[ae]||[];publishQueue(j,_e);j.close=function(E){function close(N,R){return E.call(j,N,(function(E){if(!E){resetQueue()}if(typeof R==="function")R.apply(this,arguments)}))}Object.defineProperty(close,ce,{value:E});return close}(j.close);j.closeSync=function(E){function closeSync(N){E.apply(j,arguments);resetQueue()}Object.defineProperty(closeSync,ce,{value:E});return closeSync}(j.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){le(j[ae]);R(39491).equal(j[ae].length,0)}))}}if(!global[ae]){publishQueue(global,j[ae])}E.exports=patch(G(j));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!j.__patched){E.exports=patch(j);j.__patched=true}function patch(E){$(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var N=E.readFile;E.readFile=readFile;function readFile(E,R,j){if(typeof R==="function")j=R,R=null;return go$readFile(E,R,j);function go$readFile(E,R,j,$){return N(E,R,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$readFile,[E,R,j],N,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var R=E.writeFile;E.writeFile=writeFile;function writeFile(E,N,j,$){if(typeof j==="function")$=j,j=null;return go$writeFile(E,N,j,$);function go$writeFile(E,N,j,$,q){return R(E,N,j,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$writeFile,[E,N,j,$],R,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var j=E.appendFile;if(j)E.appendFile=appendFile;function appendFile(E,N,R,$){if(typeof R==="function")$=R,R=null;return go$appendFile(E,N,R,$);function go$appendFile(E,N,R,$,q){return j(E,N,R,(function(j){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$appendFile,[E,N,R,$],j,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var G=E.copyFile;if(G)E.copyFile=copyFile;function copyFile(E,N,R,j){if(typeof R==="function"){j=R;R=0}return go$copyFile(E,N,R,j);function go$copyFile(E,N,R,j,$){return G(E,N,R,(function(q){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$copyFile,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var ie=E.readdir;E.readdir=readdir;function readdir(E,N,R){if(typeof N==="function")R=N,N=null;return go$readdir(E,N,R);function go$readdir(E,N,R,j){return ie(E,N,(function($,q){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$readdir,[E,N,R],$,j||Date.now(),Date.now()]);else{if(q&&q.sort)q.sort();if(typeof R==="function")R.call(this,$,q)}}))}}if(process.version.substr(0,4)==="v0.8"){var ae=q(E);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var ce=E.ReadStream;if(ce){ReadStream.prototype=Object.create(ce.prototype);ReadStream.prototype.open=ReadStream$open}var le=E.WriteStream;if(le){WriteStream.prototype=Object.create(le.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var _e=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return _e},set:function(E){_e=E},enumerable:true,configurable:true});var Ee=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return Ee},set:function(E){Ee=E},enumerable:true,configurable:true});function ReadStream(E,N){if(this instanceof ReadStream)return ce.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){if(E.autoClose)E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R);E.read()}}))}function WriteStream(E,N){if(this instanceof WriteStream)return le.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R)}}))}function createReadStream(N,R){return new E.ReadStream(N,R)}function createWriteStream(N,R){return new E.WriteStream(N,R)}var Te=E.open;E.open=open;function open(E,N,R,j){if(typeof R==="function")j=R,R=null;return go$open(E,N,R,j);function go$open(E,N,R,j,$){return Te(E,N,R,(function(q,G){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$open,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}return E}function enqueue(E){le("ENQUEUE",E[0].name,E[1]);j[ae].push(E);retry()}var Ee;function resetQueue(){var E=Date.now();for(var N=0;N2){j[ae][N][3]=E;j[ae][N][4]=E}}retry()}function retry(){clearTimeout(Ee);Ee=undefined;if(j[ae].length===0)return;var E=j[ae].shift();var N=E[0];var R=E[1];var $=E[2];var q=E[3];var G=E[4];if(q===undefined){le("RETRY",N.name,R);N.apply(null,R)}else if(Date.now()-q>=6e4){le("TIMEOUT",N.name,R);var ie=R.pop();if(typeof ie==="function")ie.call(null,$)}else{var ce=Date.now()-G;var _e=Math.max(G-q,1);var Te=Math.min(_e*1.2,100);if(ce>=Te){le("RETRY",N.name,R);N.apply(null,R.concat([q]))}else{j[ae].push(E)}}if(Ee===undefined){Ee=setTimeout(retry,0)}}},94073:(E,N,R)=>{var j=R(12781).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(N,R){if(!(this instanceof ReadStream))return new ReadStream(N,R);j.call(this);var $=this;this.path=N;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;R=R||{};var q=Object.keys(R);for(var G=0,ie=q.length;Gthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){$._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,N){if(E){$.emit("error",E);$.readable=false;return}$.fd=N;$.emit("open",N);$._read()}))}function WriteStream(N,R){if(!(this instanceof WriteStream))return new WriteStream(N,R);j.call(this);this.path=N;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;R=R||{};var $=Object.keys(R);for(var q=0,G=$.length;q= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,N,R)=>{var j=R(22057);var $=process.cwd;var q=null;var G=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!q)q=$.call(process);return q};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ie=process.chdir;process.chdir=function(E){q=null;ie.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ie)}E.exports=patch;function patch(E){if(j.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,N,R){if(R)process.nextTick(R)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,N,R,j){if(j)process.nextTick(j)};E.lchownSync=function(){}}if(G==="win32"){E.rename=function(N){return function(R,j,$){var q=Date.now();var G=0;N(R,j,(function CB(ie){if(ie&&(ie.code==="EACCES"||ie.code==="EPERM")&&Date.now()-q<6e4){setTimeout((function(){E.stat(j,(function(E,q){if(E&&E.code==="ENOENT")N(R,j,CB);else $(ie)}))}),G);if(G<100)G+=10;return}if($)$(ie)}))}}(E.rename)}E.read=function(N){function read(R,j,$,q,G,ie){var ae;if(ie&&typeof ie==="function"){var ce=0;ae=function(le,_e,Ee){if(le&&le.code==="EAGAIN"&&ce<10){ce++;return N.call(E,R,j,$,q,G,ae)}ie.apply(this,arguments)}}return N.call(E,R,j,$,q,G,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,N);return read}(E.read);E.readSync=function(N){return function(R,j,$,q,G){var ie=0;while(true){try{return N.call(E,R,j,$,q,G)}catch(E){if(E.code==="EAGAIN"&&ie<10){ie++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(N,R,$){E.open(N,j.O_WRONLY|j.O_SYMLINK,R,(function(N,j){if(N){if($)$(N);return}E.fchmod(j,R,(function(N){E.close(j,(function(E){if($)$(N||E)}))}))}))};E.lchmodSync=function(N,R){var $=E.openSync(N,j.O_WRONLY|j.O_SYMLINK,R);var q=true;var G;try{G=E.fchmodSync($,R);q=false}finally{if(q){try{E.closeSync($)}catch(E){}}else{E.closeSync($)}}return G}}function patchLutimes(E){if(j.hasOwnProperty("O_SYMLINK")){E.lutimes=function(N,R,$,q){E.open(N,j.O_SYMLINK,(function(N,j){if(N){if(q)q(N);return}E.futimes(j,R,$,(function(N){E.close(j,(function(E){if(q)q(N||E)}))}))}))};E.lutimesSync=function(N,R,$){var q=E.openSync(N,j.O_SYMLINK);var G;var ie=true;try{G=E.futimesSync(q,R,$);ie=false}finally{if(ie){try{E.closeSync(q)}catch(E){}}else{E.closeSync(q)}}return G}}else{E.lutimes=function(E,N,R,j){if(j)process.nextTick(j)};E.lutimesSync=function(){}}}function chmodFix(N){if(!N)return N;return function(R,j,$){return N.call(E,R,j,(function(E){if(chownErOk(E))E=null;if($)$.apply(this,arguments)}))}}function chmodFixSync(N){if(!N)return N;return function(R,j){try{return N.call(E,R,j)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(N){if(!N)return N;return function(R,j,$,q){return N.call(E,R,j,$,(function(E){if(chownErOk(E))E=null;if(q)q.apply(this,arguments)}))}}function chownFixSync(N){if(!N)return N;return function(R,j,$){try{return N.call(E,R,j,$)}catch(E){if(!chownErOk(E))throw E}}}function statFix(N){if(!N)return N;return function(R,j,$){if(typeof j==="function"){$=j;j=null}function callback(E,N){if(N){if(N.uid<0)N.uid+=4294967296;if(N.gid<0)N.gid+=4294967296}if($)$.apply(this,arguments)}return j?N.call(E,R,j,callback):N.call(E,R,callback)}}function statFixSync(N){if(!N)return N;return function(R,j){var $=j?N.call(E,R,j):N.call(E,R);if($.uid<0)$.uid+=4294967296;if($.gid<0)$.gid+=4294967296;return $}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var N=!process.getuid||process.getuid()!==0;if(N){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,N=process.argv)=>{const R=E.startsWith("-")?"":E.length===1?"-":"--";const j=N.indexOf(R+E);const $=N.indexOf("--");return j!==-1&&($===-1||j<$)}},15986:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(62483));var $=R(42195);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class Farm{constructor(E,N,R={}){var $,q;this._numOfWorkers=E;this._callback=N;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=R.computeWorkerKey;this._workerSchedulingPolicy=($=R.workerSchedulingPolicy)!==null&&$!==void 0?$:"round-robin";this._taskQueue=(q=R.taskQueue)!==null&&q!==void 0?q:new j.default}doWork(E,...N){const R=new Set;const addCustomMessageListener=E=>{R.add(E);return()=>{R.delete(E)}};const onCustomMessage=E=>{R.forEach((N=>N(E)))};const j=new Promise(((N,j,q)=>{const G=this._computeWorkerKey;const ie=[$.CHILD_MESSAGE_CALL,false,E,N];let ae=null;let ce=null;if(G){ce=G.call(this,E,...N);ae=ce==null?null:this._cacheKeys[ce]}const onStart=E=>{if(ce!=null){this._cacheKeys[ce]=E}};const onEnd=(E,N)=>{R.clear();if(E){q(E)}else{j(N)}};const le={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ie};if(ae){this._taskQueue.enqueue(le,ae.getWorkerId());this._process(ae.getWorkerId())}else{this._push(le)}}).bind(null,N));j.UNSTABLE_onCustomMessage=addCustomMessageListener;return j}_process(E){if(this._isLocked(E)){return this}const N=this._taskQueue.dequeue(E);if(!N){return this}if(N.request[1]){throw new Error("Queue implementation returned processed task")}const R=N.onEnd;const onEnd=(N,j)=>{R(N,j);this._unlock(E);this._process(E)};N.request[1]=true;this._lock(E);this._callback(E,N.request,N.onStart,onEnd,N.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const N=this._getNextWorkerOffset();for(let R=0;R{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,N){if(N==null){this._sharedQueue.enqueue(E);return}let R=this._workerQueues[N];if(R==null){R=this._workerQueues[N]=new InternalQueue}const j=this._sharedQueue.peekLast();const $={previousSharedTask:j,task:E};R.enqueue($)}dequeue(E){var N,R,j;const $=(N=this._workerQueues[E])===null||N===void 0?void 0:N.peek();const q=(R=$===null||$===void 0?void 0:(j=$.previousSharedTask)===null||j===void 0?void 0:j.request[1])!==null&&R!==void 0?R:true;if($!=null&&q){var G,ie,ae;return(G=(ie=this._workerQueues[E])===null||ie===void 0?void 0:(ae=ie.dequeue())===null||ae===void 0?void 0:ae.task)!==null&&G!==void 0?G:null}return this._sharedQueue.dequeue()}}N["default"]=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const N={next:null,value:E};if(this._last==null){this._head=N}else{this._last.next=N}this._last=N}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,N;return(E=(N=this._head)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}peekLast(){var E,N;return(E=(N=this._last)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}}},25739:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,N){if(N==null){this._enqueue(E,this._sharedQueue)}else{const R=this._getWorkerQueue(N);this._enqueue(E,R)}}_enqueue(E,N){const R={priority:this._computePriority(E.request[2],...E.request[3]),task:E};N.add(R)}dequeue(E){const N=this._getWorkerQueue(E);const R=N.peek();const j=this._sharedQueue.peek();if(j==null||R!=null&&R.priority<=j.priority){var $,q;return($=(q=N.poll())===null||q===void 0?void 0:q.task)!==null&&$!==void 0?$:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let N=this._queue[E];if(N==null){N=this._queue[E]=new MinHeap}return N}}N["default"]=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const N=this._heap;N.push(E);if(N.length===1){return}let R=N.length-1;while(R>0){const j=Math.floor((R+1)/2)-1;const $=N[j];if($.priority<=E.priority){break}N[R]=$;N[j]=E;R=j}}poll(){const E=this._heap;const N=E[0];const R=E.pop();if(N==null||E.length===0){return N!==null&&N!==void 0?N:null}let j=0;E[0]=R!==null&&R!==void 0?R:null;const $=E[0];while(true){let N=null;const R=(j+1)*2;const q=R-1;const G=E[R];const ie=E[q];if(ie!=null&&ie.priority<$.priority){N=q}if(G!=null&&G.priority<(N==null?$:ie).priority){N=R}if(N==null){break}E[j]=E[N];E[N]=$;j=N}return N}}},61315:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(68189));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{R(71267);return true}catch{return false}};class WorkerPool extends j.default{send(E,N,R,j,$){this.getWorkerById(E).send(N,R,j,$)}createWorker(E){let N;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){N=R(12295).Z}else{N=R(17164).Z}return new N(E)}}var $=WorkerPool;N["default"]=$},68189:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const j=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,N){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=N;this._workers=new Array(N.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const R=(0,_mergeStream().default)();const j=(0,_mergeStream().default)();const{forkOptions:$,maxRetries:q,resourceLimits:G,setupArgs:ie}=N;for(let ae=0;ae{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let N=false;const R=setTimeout((()=>{E.forceExit();N=true}),j);await E.waitForExit();clearTimeout(R);return N}));const N=await Promise.all(E);return N.reduce(((E,N)=>({forceExited:E.forceExited||N})),{forceExited:false})}}N["default"]=BaseWorkerPool},69419:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"PriorityQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(N,"FifoQueue",{enumerable:true,get:function(){return G.default}});Object.defineProperty(N,"messageParent",{enumerable:true,get:function(){return ie.default}});N.Worker=void 0;function _os(){const E=R(22037);_os=function(){return E};return E}var j=_interopRequireDefault(R(15986));var $=_interopRequireDefault(R(61315));var q=_interopRequireDefault(R(25739));var G=_interopRequireDefault(R(62483));var ie=_interopRequireDefault(R(27008));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}function getExposedMethods(E,N){let R=N.exposedMethods;if(!R){const N=require(E);R=Object.keys(N).filter((E=>typeof N[E]==="function"));if(typeof N==="function"){R=[...R,"default"]}}return R}class Worker{constructor(E,N){var R,q,G,ie,ae,ce;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...N};this._ending=false;const le={enableWorkerThreads:(R=this._options.enableWorkerThreads)!==null&&R!==void 0?R:false,forkOptions:(q=this._options.forkOptions)!==null&&q!==void 0?q:{},maxRetries:(G=this._options.maxRetries)!==null&&G!==void 0?G:3,numWorkers:(ie=this._options.numWorkers)!==null&&ie!==void 0?ie:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(ae=this._options.resourceLimits)!==null&&ae!==void 0?ae:{},setupArgs:(ce=this._options.setupArgs)!==null&&ce!==void 0?ce:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,le)}else{this._workerPool=new $.default(E,le)}this._farm=new j.default(le.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,N){getExposedMethods(E,N).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...N){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...N)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}N.Worker=Worker},42195:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.PARENT_MESSAGE_CUSTOM=N.PARENT_MESSAGE_SETUP_ERROR=N.PARENT_MESSAGE_CLIENT_ERROR=N.PARENT_MESSAGE_OK=N.CHILD_MESSAGE_END=N.CHILD_MESSAGE_CALL=N.CHILD_MESSAGE_INITIALIZE=void 0;const R=0;N.CHILD_MESSAGE_INITIALIZE=R;const j=1;N.CHILD_MESSAGE_CALL=j;const $=2;N.CHILD_MESSAGE_END=$;const q=0;N.PARENT_MESSAGE_OK=q;const G=1;N.PARENT_MESSAGE_CLIENT_ERROR=G;const ie=2;N.PARENT_MESSAGE_SETUP_ERROR=ie;const ae=3;N.PARENT_MESSAGE_CUSTOM=ae},17164:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function _child_process(){const E=R(32081);_child_process=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=R(24467);_supportsColor=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const $=128;const q=$+9;const G=$+15;const ie=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const N=(0,_child_process().fork)(R.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(N.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(N.stdout)}if(N.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(N.stderr)}N.on("message",this._onMessage.bind(this));N.on("exit",this._onExit.bind(this));N.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=N;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==G&&E!==q){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{this._request=null;return R(...E)};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ie);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ChildProcessWorker},12295:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _worker_threads(){const E=R(71267);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{var N;this._request=null;const j=(N=R)===null||N===void 0?void 0:N(...E);R=null;return j};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ExperimentalWorker},27008:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=messageParent;function _types(){const E=R(42195);_types=function(){return E};return E}const j=(()=>{try{const{isMainThread:E,parentPort:N}=R(71267);return!E&&N!=null}catch{return false}})();function messageParent(E,N=process){if(j){const{parentPort:N}=R(71267);N.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof N.send==="function"){N.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},24467:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}function envForceColor(){if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){return 1}if(G.FORCE_COLOR==="false"){return 0}return G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:N,sniffFlags:R=true}={}){const $=envForceColor();if($!==undefined){ie=$}const ae=R?ie:$;if(ae===0){return 0}if(R){if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}}if(E&&!N&&ae===undefined){return 0}const ce=ae||0;if(G.TERM==="dumb"){return ce}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return ce}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return ce}function getSupportLevel(E,N={}){const R=supportsColor(E,{streamIsTTY:E&&E.isTTY,...N});return translateLevel(R)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:$.isatty(1)}),stderr:getSupportLevel({isTTY:$.isatty(2)})}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,N,R){R=R||20;try{return JSON.parse(E,N)}catch(N){if(typeof E!=="string"){const N=Array.isArray(E)&&E.length===0;const R="Cannot parse "+(N?"an empty array":String(E));throw new TypeError(R)}const j=N.message.match(/^Unexpected token.*position\s+(\d+)/i);const $=j?+j[1]:N.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if($!=null){const j=$<=R?0:$-R;const q=$+R>=E.length?E.length:$+R;N.message+=` while parsing near '${j===0?"":"..."}${E.slice(j,q)}${q===E.length?"":"..."}'`}else{N.message+=` while parsing '${E.slice(0,R*2)}'`}throw N}}},46833:E=>{"use strict";var N=E.exports=function(E,N,R){if(typeof N=="function"){R=N;N={}}R=N.cb||R;var j=typeof R=="function"?R:R.pre||function(){};var $=R.post||function(){};_traverse(N,j,$,E,"",E)};N.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};N.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};N.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};N.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,R,j,$,q,G,ie,ae,ce,le){if($&&typeof $=="object"&&!Array.isArray($)){R($,q,G,ie,ae,ce,le);for(var _e in $){var Ee=$[_e];if(Array.isArray(Ee)){if(_e in N.arrayKeywords){for(var Te=0;Te{const j=R(14465);const $=R(59977);const q={parse:j,stringify:$};E.exports=q},14465:(E,N,R)=>{const j=R(58034);let $;let q;let G;let ie;let ae;let ce;let le;let _e;let Ee;E.exports=function parse(E,N){$=String(E);q="start";G=[];ie=0;ae=1;ce=0;le=undefined;_e=undefined;Ee=undefined;do{le=lex();Be[q]()}while(le.type!=="eof");if(typeof N==="function"){return internalize({"":Ee},"",N)}return Ee};function internalize(E,N,R){const j=E[N];if(j!=null&&typeof j==="object"){for(const E in j){const N=internalize(j,E,R);if(N===undefined){delete j[E]}else{j[E]=N}}}return R.call(E,N,j)}let Te;let we;let Ie;let Ne;let Me;function lex(){Te="default";we="";Ie=false;Ne=1;for(;;){Me=peek();const E=Le[Te]();if(E){return E}}}function peek(){if($[ie]){return String.fromCodePoint($.codePointAt(ie))}}function read(){const E=peek();if(E==="\n"){ae++;ce=0}else if(E){ce+=E.length}else{ce++}if(E){ie+=E.length}return E}const Le={default(){switch(Me){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Te="comment";return;case undefined:read();return newToken("eof")}if(j.isSpaceSeparator(Me)){read();return}return Le[q]()},comment(){switch(Me){case"*":read();Te="multiLineComment";return;case"/":read();Te="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(Me){case"*":read();Te="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(Me){case"*":read();return;case"/":read();Te="default";return;case undefined:throw invalidChar(read())}read();Te="multiLineComment"},singleLineComment(){switch(Me){case"\n":case"\r":case"\u2028":case"\u2029":read();Te="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(Me){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){Ne=-1}Te="sign";return;case".":we=read();Te="decimalPointLeading";return;case"0":we=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":we=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Ie=read()==='"';we="";Te="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(Me!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":break;default:if(!j.isIdStartChar(E)){throw invalidIdentifier()}break}we+=E;Te="identifierName"},identifierName(){switch(Me){case"$":case"_":case"‌":case"‍":we+=read();return;case"\\":read();Te="identifierNameEscape";return}if(j.isIdContinueChar(Me)){we+=read();return}return newToken("identifier",we)},identifierNameEscape(){if(Me!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":case"‌":case"‍":break;default:if(!j.isIdContinueChar(E)){throw invalidIdentifier()}break}we+=E;Te="identifierName"},sign(){switch(Me){case".":we=read();Te="decimalPointLeading";return;case"0":we=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":we=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Ne*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(Me){case".":we+=read();Te="decimalPoint";return;case"e":case"E":we+=read();Te="decimalExponent";return;case"x":case"X":we+=read();Te="hexadecimal";return}return newToken("numeric",Ne*0)},decimalInteger(){switch(Me){case".":we+=read();Te="decimalPoint";return;case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},decimalPointLeading(){if(j.isDigit(Me)){we+=read();Te="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(Me){case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();Te="decimalFraction";return}return newToken("numeric",Ne*Number(we))},decimalFraction(){switch(Me){case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},decimalExponent(){switch(Me){case"+":case"-":we+=read();Te="decimalExponentSign";return}if(j.isDigit(Me)){we+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(j.isDigit(Me)){we+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},hexadecimal(){if(j.isHexDigit(Me)){we+=read();Te="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(j.isHexDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},string(){switch(Me){case"\\":read();we+=escape();return;case'"':if(Ie){read();return newToken("string",we)}we+=read();return;case"'":if(!Ie){read();return newToken("string",we)}we+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(Me);break;case undefined:throw invalidChar(read())}we+=read()},start(){switch(Me){case"{":case"[":return newToken("punctuator",read())}Te="value"},beforePropertyName(){switch(Me){case"$":case"_":we=read();Te="identifierName";return;case"\\":read();Te="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Ie=read()==='"';Te="string";return}if(j.isIdStartChar(Me)){we+=read();Te="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(Me===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){Te="value"},afterPropertyValue(){switch(Me){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(Me==="]"){return newToken("punctuator",read())}Te="value"},afterArrayValue(){switch(Me){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(E,N){return{type:E,value:N,line:ae,column:ce}}function literal(E){for(const N of E){const E=peek();if(E!==N){throw invalidChar(read())}read()}}function escape(){const E=peek();switch(E){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(j.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let E="";let N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read();N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read();return String.fromCodePoint(parseInt(E,16))}function unicodeEscape(){let E="";let N=4;while(N-- >0){const N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read()}return String.fromCodePoint(parseInt(E,16))}const Be={start(){if(le.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(le.type){case"identifier":case"string":_e=le.value;q="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(le.type==="eof"){throw invalidEOF()}q="beforePropertyValue"},beforePropertyValue(){if(le.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(le.type==="eof"){throw invalidEOF()}if(le.type==="punctuator"&&le.value==="]"){pop();return}push()},afterPropertyValue(){if(le.type==="eof"){throw invalidEOF()}switch(le.value){case",":q="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(le.type==="eof"){throw invalidEOF()}switch(le.value){case",":q="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let E;switch(le.type){case"punctuator":switch(le.value){case"{":E={};break;case"[":E=[];break}break;case"null":case"boolean":case"numeric":case"string":E=le.value;break}if(Ee===undefined){Ee=E}else{const N=G[G.length-1];if(Array.isArray(N)){N.push(E)}else{N[_e]=E}}if(E!==null&&typeof E==="object"){G.push(E);if(Array.isArray(E)){q="beforeArrayValue"}else{q="beforePropertyName"}}else{const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}}function pop(){G.pop();const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}function invalidChar(E){if(E===undefined){return syntaxError(`JSON5: invalid end of input at ${ae}:${ce}`)}return syntaxError(`JSON5: invalid character '${formatChar(E)}' at ${ae}:${ce}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${ae}:${ce}`)}function invalidIdentifier(){ce-=5;return syntaxError(`JSON5: invalid identifier character at ${ae}:${ce}`)}function separatorChar(E){console.warn(`JSON5: '${formatChar(E)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(E){const N={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(N[E]){return N[E]}if(E<" "){const N=E.charCodeAt(0).toString(16);return"\\x"+("00"+N).substring(N.length)}return E}function syntaxError(E){const N=new SyntaxError(E);N.lineNumber=ae;N.columnNumber=ce;return N}},59977:(E,N,R)=>{const j=R(58034);E.exports=function stringify(E,N,R){const $=[];let q="";let G;let ie;let ae="";let ce;if(N!=null&&typeof N==="object"&&!Array.isArray(N)){R=N.space;ce=N.quote;N=N.replacer}if(typeof N==="function"){ie=N}else if(Array.isArray(N)){G=[];for(const E of N){let N;if(typeof E==="string"){N=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){N=String(E)}if(N!==undefined&&G.indexOf(N)<0){G.push(N)}}}if(R instanceof Number){R=Number(R)}else if(R instanceof String){R=String(R)}if(typeof R==="number"){if(R>0){R=Math.min(10,Math.floor(R));ae=" ".substr(0,R)}}else if(typeof R==="string"){ae=R.substr(0,10)}return serializeProperty("",{"":E});function serializeProperty(E,N){let R=N[E];if(R!=null){if(typeof R.toJSON5==="function"){R=R.toJSON5(E)}else if(typeof R.toJSON==="function"){R=R.toJSON(E)}}if(ie){R=ie.call(N,E,R)}if(R instanceof Number){R=Number(R)}else if(R instanceof String){R=String(R)}else if(R instanceof Boolean){R=R.valueOf()}switch(R){case null:return"null";case true:return"true";case false:return"false"}if(typeof R==="string"){return quoteString(R,false)}if(typeof R==="number"){return String(R)}if(typeof R==="object"){return Array.isArray(R)?serializeArray(R):serializeObject(R)}return undefined}function quoteString(E){const N={"'":.1,'"':.2};const R={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let $="";for(let q=0;qN[E]=0){throw TypeError("Converting circular structure to JSON5")}$.push(E);let N=q;q=q+ae;let R=G||Object.keys(E);let j=[];for(const N of R){const R=serializeProperty(N,E);if(R!==undefined){let E=serializeKey(N)+":";if(ae!==""){E+=" "}E+=R;j.push(E)}}let ie;if(j.length===0){ie="{}"}else{let E;if(ae===""){E=j.join(",");ie="{"+E+"}"}else{let R=",\n"+q;E=j.join(R);ie="{\n"+q+E+",\n"+N+"}"}}$.pop();q=N;return ie}function serializeKey(E){if(E.length===0){return quoteString(E,true)}const N=String.fromCodePoint(E.codePointAt(0));if(!j.isIdStartChar(N)){return quoteString(E,true)}for(let R=N.length;R=0){throw TypeError("Converting circular structure to JSON5")}$.push(E);let N=q;q=q+ae;let R=[];for(let N=0;N{E.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;E.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;E.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},58034:(E,N,R)=>{const j=R(14059);E.exports={isSpaceSeparator(E){return typeof E==="string"&&j.Space_Separator.test(E)},isIdStartChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E==="$"||E==="_"||j.ID_Start.test(E))},isIdContinueChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E>="0"&&E<="9"||E==="$"||E==="_"||E==="‌"||E==="‍"||j.ID_Continue.test(E))},isDigit(E){return typeof E==="string"&&/[0-9]/.test(E)},isHexDigit(E){return typeof E==="string"&&/[0-9A-Fa-f]/.test(E)}}},11638:E=>{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,N,R)=>{var j=R(57147);var $=j.readFile.bind(j);var q=R(45658);function utf8BufferToString(E){var N=E.toString("utf-8");if(N.charCodeAt(0)===65279){return N.substr(1)}else{return N}}const G=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var N=G.exec(E);return{path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}}function dirname(E){if(E==="/")return"/";var N=E.lastIndexOf("/");var R=E.lastIndexOf("\\");var j=E.indexOf("/");var $=E.indexOf("\\");var q=N>R?N:R;var G=N>R?j:$;if(q<0)return E;if(q===G)return E.substr(0,q+1);return E.substr(0,q)}function createLoaderObject(E){var N={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(N,"request",{enumerable:true,get:function(){return N.path.replace(/#/g,"\0#")+N.query.replace(/#/g,"\0#")+N.fragment},set:function(E){if(typeof E==="string"){var R=parsePathQueryFragment(E);N.path=R.path;N.query=R.query;N.fragment=R.fragment;N.options=undefined;N.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");N.path=E.loader;N.fragment=E.fragment||"";N.type=E.type;N.options=E.options;N.ident=E.ident;if(N.options===null)N.query="";else if(N.options===undefined)N.query="";else if(typeof N.options==="string")N.query="?"+N.options;else if(N.ident)N.query="??"+N.ident;else if(typeof N.options==="object"&&N.options.ident)N.query="??"+N.options.ident;else N.query="?"+JSON.stringify(N.options)}}});N.request=E;if(Object.preventExtensions){Object.preventExtensions(N)}return N}function runSyncOrAsync(E,N,R,j){var $=true;var q=false;var G=false;var ie=false;N.async=function async(){if(q){if(ie)return;throw new Error("async(): The callback was already called.")}$=false;return ae};var ae=N.callback=function(){if(q){if(ie)return;throw new Error("callback(): The callback was already called.")}q=true;$=false;try{j.apply(null,arguments)}catch(E){G=true;throw E}};try{var ce=function LOADER_EXECUTION(){return E.apply(N,R)}();if($){q=true;if(ce===undefined)return j();if(ce&&typeof ce==="object"&&typeof ce.then==="function"){return ce.then((function(E){j(null,E)}),j)}return j(null,ce)}}catch(E){if(G)throw E;if(q){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}q=true;ie=true;j(E)}}function convertArgs(E,N){if(!N&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(N&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,N,R){if(N.loaderIndex>=N.loaders.length)return processResource(E,N,R);var j=N.loaders[N.loaderIndex];if(j.pitchExecuted){N.loaderIndex++;return iteratePitchingLoaders(E,N,R)}q(j,(function($){if($){N.cacheable(false);return R($)}var q=j.pitch;j.pitchExecuted=true;if(!q)return iteratePitchingLoaders(E,N,R);runSyncOrAsync(q,N,[N.remainingRequest,N.previousRequest,j.data={}],(function(j){if(j)return R(j);var $=Array.prototype.slice.call(arguments,1);var q=$.some((function(E){return E!==undefined}));if(q){N.loaderIndex--;iterateNormalLoaders(E,N,$,R)}else{iteratePitchingLoaders(E,N,R)}}))}))}function processResource(E,N,R){N.loaderIndex=N.loaders.length-1;var j=N.resourcePath;if(j){E.processResource(N,j,(function(j,$){if(j)return R(j);E.resourceBuffer=$;iterateNormalLoaders(E,N,[$],R)}))}else{iterateNormalLoaders(E,N,[null],R)}}function iterateNormalLoaders(E,N,R,j){if(N.loaderIndex<0)return j(null,R);var $=N.loaders[N.loaderIndex];if($.normalExecuted){N.loaderIndex--;return iterateNormalLoaders(E,N,R,j)}var q=$.normal;$.normalExecuted=true;if(!q){return iterateNormalLoaders(E,N,R,j)}convertArgs(R,$.raw);runSyncOrAsync(q,N,R,(function(R){if(R)return j(R);var $=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,N,$,j)}))}N.getContext=function getContext(E){var N=parsePathQueryFragment(E).path;return dirname(N)};N.runLoaders=function runLoaders(E,N){var R=E.resource||"";var j=E.loaders||[];var q=E.context||{};var G=E.processResource||((E,N,R,j)=>{N.addDependency(R);E(R,j)}).bind(null,E.readResource||$);var ie=R&&parsePathQueryFragment(R);var ae=ie?ie.path:undefined;var ce=ie?ie.query:undefined;var le=ie?ie.fragment:undefined;var _e=ae?dirname(ae):null;var Ee=true;var Te=[];var we=[];var Ie=[];j=j.map(createLoaderObject);q.context=_e;q.loaderIndex=0;q.loaders=j;q.resourcePath=ae;q.resourceQuery=ce;q.resourceFragment=le;q.async=null;q.callback=null;q.cacheable=function cacheable(E){if(E===false){Ee=false}};q.dependency=q.addDependency=function addDependency(E){Te.push(E)};q.addContextDependency=function addContextDependency(E){we.push(E)};q.addMissingDependency=function addMissingDependency(E){Ie.push(E)};q.getDependencies=function getDependencies(){return Te.slice()};q.getContextDependencies=function getContextDependencies(){return we.slice()};q.getMissingDependencies=function getMissingDependencies(){return Ie.slice()};q.clearDependencies=function clearDependencies(){Te.length=0;we.length=0;Ie.length=0;Ee=true};Object.defineProperty(q,"resource",{enumerable:true,get:function(){if(q.resourcePath===undefined)return undefined;return q.resourcePath.replace(/#/g,"\0#")+q.resourceQuery.replace(/#/g,"\0#")+q.resourceFragment},set:function(E){var N=E&&parsePathQueryFragment(E);q.resourcePath=N?N.path:undefined;q.resourceQuery=N?N.query:undefined;q.resourceFragment=N?N.fragment:undefined}});Object.defineProperty(q,"request",{enumerable:true,get:function(){return q.loaders.map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"remainingRequest",{enumerable:true,get:function(){if(q.loaderIndex>=q.loaders.length-1&&!q.resource)return"";return q.loaders.slice(q.loaderIndex+1).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"currentRequest",{enumerable:true,get:function(){return q.loaders.slice(q.loaderIndex).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"previousRequest",{enumerable:true,get:function(){return q.loaders.slice(0,q.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(q,"query",{enumerable:true,get:function(){var E=q.loaders[q.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(q,"data",{enumerable:true,get:function(){return q.loaders[q.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(q)}var Ne={resourceBuffer:null,processResource:G};iteratePitchingLoaders(Ne,q,(function(E,R){if(E){return N(E,{cacheable:Ee,fileDependencies:Te,contextDependencies:we,missingDependencies:Ie})}N(null,{result:R,resourceBuffer:Ne.resourceBuffer,cacheable:Ee,fileDependencies:Te,contextDependencies:we,missingDependencies:Ie})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,N,R){if(typeof N!=="function"&&typeof N!=="object"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof N==="function"?N:N.default;E.pitch=N.pitch;E.raw=N.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}R()}},66559:E=>{"use strict";function getCurrentRequest(E){if(E.currentRequest){return E.currentRequest}const N=E.loaders.slice(E.loaderIndex).map((E=>E.request)).concat([E.resource]);return N.join("!")}E.exports=getCurrentRequest},92669:(E,N,R)=>{"use strict";const j={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(E,N){const $=j[N];if(!$){throw new Error("Unknown encoding base"+N)}const q=E.length;const G=R(82558);G.RM=G.DP=0;let ie=new G(0);for(let N=q-1;N>=0;N--){ie=ie.times(256).plus(E[N])}let ae="";while(ie.gt(0)){ae=$[ie.mod(N)]+ae;ie=ie.div(N)}G.DP=20;G.RM=1;return ae}function getHashDigest(E,N,j,$){N=N||"md4";$=$||9999;const q=R(6113).createHash(N);q.update(E);if(j==="base26"||j==="base32"||j==="base36"||j==="base49"||j==="base52"||j==="base58"||j==="base62"||j==="base64"){return encodeBufferToBase(q.digest(),j.substr(4)).substr(0,$)}else{return q.digest(j||"hex").substr(0,$)}}E.exports=getHashDigest},42245:(E,N,R)=>{"use strict";const j=R(69170);function getOptions(E){const N=E.query;if(typeof N==="string"&&N!==""){return j(E.query)}if(!N||typeof N!=="object"){return{}}return N}E.exports=getOptions},12078:E=>{"use strict";function getRemainingRequest(E){if(E.remainingRequest){return E.remainingRequest}const N=E.loaders.slice(E.loaderIndex+1).map((E=>E.request)).concat([E.resource]);return N.join("!")}E.exports=getRemainingRequest},88244:(E,N,R)=>{"use strict";const j=R(42245);const $=R(69170);const q=R(61412);const G=R(12078);const ie=R(66559);const ae=R(51077);const ce=R(64608);const le=R(5231);const _e=R(92669);const Ee=R(37872);N.getOptions=j;N.parseQuery=$;N.stringifyRequest=q;N.getRemainingRequest=G;N.getCurrentRequest=ie;N.isUrlRequest=ae;N.urlToRequest=ce;N.parseString=le;N.getHashDigest=_e;N.interpolateName=Ee},37872:(E,N,R)=>{"use strict";const j=R(71017);const $=R(31356);const q=R(92669);const G=/[\uD800-\uDFFF]./;const ie=$.filter((E=>G.test(E)));const ae={};function encodeStringToEmoji(E,N){if(ae[E]){return ae[E]}N=N||1;const R=[];do{if(!ie.length){throw new Error("Ran out of emoji")}const E=Math.floor(Math.random()*ie.length);R.push(ie[E]);ie.splice(E,1)}while(--N>0);const j=R.join("");ae[E]=j;return j}function interpolateName(E,N,R){let $;const G=E.resourceQuery&&E.resourceQuery.length>1;if(typeof N==="function"){$=N(E.resourcePath,G?E.resourceQuery:undefined)}else{$=N||"[hash].[ext]"}const ie=R.context;const ae=R.content;const ce=R.regExp;let le="bin";let _e="file";let Ee="";let Te="";let we="";if(E.resourcePath){const N=j.parse(E.resourcePath);let R=E.resourcePath;if(N.ext){le=N.ext.substr(1)}if(N.dir){_e=N.name;R=N.dir+j.sep}if(typeof ie!=="undefined"){Ee=j.relative(ie,R+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");Ee=Ee.substr(0,Ee.length-1)}else{Ee=R.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(Ee.length===1){Ee=""}else if(Ee.length>1){Te=j.basename(Ee)}}if(E.resourceQuery&&E.resourceQuery.length>1){we=E.resourceQuery;const N=we.indexOf("#");if(N>=0){we=we.substr(0,N)}}let Ie=$;if(ae){Ie=Ie.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((E,N,R,j)=>q(ae,N,R,parseInt(j,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((E,N)=>encodeStringToEmoji(ae,parseInt(N,10))))}Ie=Ie.replace(/\[ext\]/gi,(()=>le)).replace(/\[name\]/gi,(()=>_e)).replace(/\[path\]/gi,(()=>Ee)).replace(/\[folder\]/gi,(()=>Te)).replace(/\[query\]/gi,(()=>we));if(ce&&E.resourcePath){const N=E.resourcePath.match(new RegExp(ce));N&&N.forEach(((E,N)=>{Ie=Ie.replace(new RegExp("\\["+N+"\\]","ig"),E)}))}if(typeof E.options==="object"&&typeof E.options.customInterpolateName==="function"){Ie=E.options.customInterpolateName.call(E,Ie,N,R)}return Ie}E.exports=interpolateName},51077:(E,N,R)=>{"use strict";const j=R(71017);function isUrlRequest(E,N){if(/^[a-z][a-z0-9+.-]*:/i.test(E)&&!j.win32.isAbsolute(E)){return false}if(/^\/\//.test(E)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(E)){return false}if((N===undefined||N===false)&&/^\//.test(E)){return false}return true}E.exports=isUrlRequest},69170:(E,N,R)=>{"use strict";const j=R(5278);const $={null:null,true:true,false:false};function parseQuery(E){if(E.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}E=E.substr(1);if(!E){return{}}if(E.substr(0,1)==="{"&&E.substr(-1)==="}"){return j.parse(E)}const N=E.split(/[,&]/g);const R={};N.forEach((E=>{const N=E.indexOf("=");if(N>=0){let j=E.substr(0,N);let q=decodeURIComponent(E.substr(N+1));if($.hasOwnProperty(q)){q=$[q]}if(j.substr(-2)==="[]"){j=decodeURIComponent(j.substr(0,j.length-2));if(!Array.isArray(R[j])){R[j]=[]}R[j].push(q)}else{j=decodeURIComponent(j);R[j]=q}}else{if(E.substr(0,1)==="-"){R[decodeURIComponent(E.substr(1))]=false}else if(E.substr(0,1)==="+"){R[decodeURIComponent(E.substr(1))]=true}else{R[decodeURIComponent(E)]=true}}}));return R}E.exports=parseQuery},5231:E=>{"use strict";function parseString(E){try{if(E[0]==='"'){return JSON.parse(E)}if(E[0]==="'"&&E.substr(E.length-1)==="'"){return parseString(E.replace(/\\.|"/g,(E=>E==='"'?'\\"':E)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+E+'"')}catch(N){return E}}E.exports=parseString},61412:(E,N,R)=>{"use strict";const j=R(71017);const $=/^\.\.?[/\\]/;function isAbsolutePath(E){return j.posix.isAbsolute(E)||j.win32.isAbsolute(E)}function isRelativePath(E){return $.test(E)}function stringifyRequest(E,N){const R=N.split("!");const $=E.context||E.options&&E.options.context;return JSON.stringify(R.map((E=>{const N=E.match(/^(.*?)(\?.*)/);const R=N?N[2]:"";let q=N?N[1]:E;if(isAbsolutePath(q)&&$){q=j.relative($,q);if(isAbsolutePath(q)){return q+R}if(isRelativePath(q)===false){q="./"+q}}return q.replace(/\\/g,"/")+R})).join("!"))}E.exports=stringifyRequest},64608:E=>{"use strict";const N=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(E,R){if(E===""){return""}const j=/^[^?]*~/;let $;if(N.test(E)){$=E}else if(R!==undefined&&R!==false&&/^\//.test(E)){switch(typeof R){case"string":if(j.test(R)){$=R.replace(/([^~/])$/,"$1/")+E.slice(1)}else{$=R+E}break;case"boolean":$=E;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+E+", root = "+R+".")}}else if(/^\.\.?\//.test(E)){$=E}else{$="./"+E}if(j.test($)){$=$.replace(j,"")}return $}E.exports=urlToRequest},82558:function(E){(function(N){"use strict";var R,j=20,$=1,q=1e6,G=1e6,ie=-7,ae=21,ce="[big.js] ",le=ce+"Invalid ",_e=le+"decimal places",Ee=le+"rounding mode",Te=ce+"Division by zero",we={},Ie=void 0,Ne=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(E){var N=this;if(!(N instanceof Big))return E===Ie?_Big_():new Big(E);if(E instanceof Big){N.s=E.s;N.e=E.e;N.c=E.c.slice()}else{parse(N,E)}N.constructor=Big}Big.prototype=we;Big.DP=j;Big.RM=$;Big.NE=ie;Big.PE=ae;Big.version="5.2.2";return Big}function parse(E,N){var R,j,$;if(N===0&&1/N<0)N="-0";else if(!Ne.test(N+=""))throw Error(le+"number");E.s=N.charAt(0)=="-"?(N=N.slice(1),-1):1;if((R=N.indexOf("."))>-1)N=N.replace(".","");if((j=N.search(/e/i))>0){if(R<0)R=j;R+=+N.slice(j+1);N=N.substring(0,j)}else if(R<0){R=N.length}$=N.length;for(j=0;j<$&&N.charAt(j)=="0";)++j;if(j==$){E.c=[E.e=0]}else{for(;$>0&&N.charAt(--$)=="0";);E.e=R-j-1;E.c=[];for(R=0;j<=$;)E.c[R++]=+N.charAt(j++)}return E}function round(E,N,R,j){var $=E.c,q=E.e+N+1;if(q<$.length){if(R===1){j=$[q]>=5}else if(R===2){j=$[q]>5||$[q]==5&&(j||q<0||$[q+1]!==Ie||$[q-1]&1)}else if(R===3){j=j||!!$[0]}else{j=false;if(R!==0)throw Error(Ee)}if(q<1){$.length=1;if(j){E.e=-N;$[0]=1}else{$[0]=E.e=0}}else{$.length=q--;if(j){for(;++$[q]>9;){$[q]=0;if(!q--){++E.e;$.unshift(1)}}}for(q=$.length;!$[--q];)$.pop()}}else if(R<0||R>3||R!==~~R){throw Error(Ee)}return E}function stringify(E,N,R,j){var $,G,ie=E.constructor,ae=!E.c[0];if(R!==Ie){if(R!==~~R||R<(N==3)||R>q){throw Error(N==3?le+"precision":_e)}E=new ie(E);R=j-E.e;if(E.c.length>++j)round(E,R,ie.RM);if(N==2)j=E.e+R+1;for(;E.c.length=ie.PE)){G=G.charAt(0)+(R>1?"."+G.slice(1):"")+($<0?"e":"e+")+$}else if($<0){for(;++$;)G="0"+G;G="0."+G}else if($>0){if(++$>R)for($-=R;$--;)G+="0";else if($1){G=G.charAt(0)+"."+G.slice(1)}return E.s<0&&(!ae||N==4)?"-"+G:G}we.abs=function(){var E=new this.constructor(this);E.s=1;return E};we.cmp=function(E){var N,R=this,j=R.c,$=(E=new R.constructor(E)).c,q=R.s,G=E.s,ie=R.e,ae=E.e;if(!j[0]||!$[0])return!j[0]?!$[0]?0:-G:q;if(q!=G)return q;N=q<0;if(ie!=ae)return ie>ae^N?1:-1;G=(ie=j.length)<(ae=$.length)?ie:ae;for(q=-1;++q$[q]^N?1:-1}return ie==ae?0:ie>ae^N?1:-1};we.div=function(E){var N=this,R=N.constructor,j=N.c,$=(E=new R(E)).c,G=N.s==E.s?1:-1,ie=R.DP;if(ie!==~~ie||ie<0||ie>q)throw Error(_e);if(!$[0])throw Error(Te);if(!j[0])return new R(G*0);var ae,ce,le,Ee,we,Ne=$.slice(),Me=ae=$.length,Le=j.length,Be=j.slice(0,ae),je=Be.length,Ue=E,ze=Ue.c=[],We=0,Je=ie+(Ue.e=N.e-E.e)+1;Ue.s=G;G=Je<0?0:Je;Ne.unshift(0);for(;je++je?1:-1}else{for(we=-1,Ee=0;++weBe[we]?1:-1;break}}}if(Ee<0){for(ce=je==ae?$:Ne;je;){if(Be[--je]Je)round(Ue,ie,R.RM,Be[0]!==Ie);return Ue};we.eq=function(E){return!this.cmp(E)};we.gt=function(E){return this.cmp(E)>0};we.gte=function(E){return this.cmp(E)>-1};we.lt=function(E){return this.cmp(E)<0};we.lte=function(E){return this.cmp(E)<1};we.minus=we.sub=function(E){var N,R,j,$,q=this,G=q.constructor,ie=q.s,ae=(E=new G(E)).s;if(ie!=ae){E.s=-ae;return q.plus(E)}var ce=q.c.slice(),le=q.e,_e=E.c,Ee=E.e;if(!ce[0]||!_e[0]){return _e[0]?(E.s=-ae,E):new G(ce[0]?q:0)}if(ie=le-Ee){if($=ie<0){ie=-ie;j=ce}else{Ee=le;j=_e}j.reverse();for(ae=ie;ae--;)j.push(0);j.reverse()}else{R=(($=ce.length<_e.length)?ce:_e).length;for(ie=ae=0;ae0)for(;ae--;)ce[N++]=0;for(ae=N;R>ie;){if(ce[--R]<_e[R]){for(N=R;N&&!ce[--N];)ce[N]=9;--ce[N];ce[R]+=10}ce[R]-=_e[R]}for(;ce[--ae]===0;)ce.pop();for(;ce[0]===0;){ce.shift();--Ee}if(!ce[0]){E.s=1;ce=[Ee=0]}E.c=ce;E.e=Ee;return E};we.mod=function(E){var N,R=this,j=R.constructor,$=R.s,q=(E=new j(E)).s;if(!E.c[0])throw Error(Te);R.s=E.s=1;N=E.cmp(R)==1;R.s=$;E.s=q;if(N)return new j(R);$=j.DP;q=j.RM;j.DP=j.RM=0;R=R.div(E);j.DP=$;j.RM=q;return this.minus(R.times(E))};we.plus=we.add=function(E){var N,R=this,j=R.constructor,$=R.s,q=(E=new j(E)).s;if($!=q){E.s=-q;return R.minus(E)}var G=R.e,ie=R.c,ae=E.e,ce=E.c;if(!ie[0]||!ce[0])return ce[0]?E:new j(ie[0]?R:$*0);ie=ie.slice();if($=G-ae){if($>0){ae=G;N=ce}else{$=-$;N=ie}N.reverse();for(;$--;)N.push(0);N.reverse()}if(ie.length-ce.length<0){N=ce;ce=ie;ie=N}$=ce.length;for(q=0;$;ie[$]%=10)q=(ie[--$]=ie[$]+ce[$]+q)/10|0;if(q){ie.unshift(q);++ae}for($=ie.length;ie[--$]===0;)ie.pop();E.c=ie;E.e=ae;return E};we.pow=function(E){var N=this,R=new N.constructor(1),j=R,$=E<0;if(E!==~~E||E<-G||E>G)throw Error(le+"exponent");if($)E=-E;for(;;){if(E&1)j=j.times(N);E>>=1;if(!E)break;N=N.times(N)}return $?R.div(j):j};we.round=function(E,N){var R=this.constructor;if(E===Ie)E=0;else if(E!==~~E||E<-q||E>q)throw Error(_e);return round(new R(this),E,N===Ie?R.RM:N)};we.sqrt=function(){var E,N,R,j=this,$=j.constructor,q=j.s,G=j.e,ie=new $(.5);if(!j.c[0])return new $(j);if(q<0)throw Error(ce+"No square root");q=Math.sqrt(j+"");if(q===0||q===1/0){N=j.c.join("");if(!(N.length+G&1))N+="0";q=Math.sqrt(N);G=((G+1)/2|0)-(G<0||G&1);E=new $((q==1/0?"1e":(q=q.toExponential()).slice(0,q.indexOf("e")+1))+G)}else{E=new $(q)}G=E.e+($.DP+=4);do{R=E;E=ie.times(R.plus(j.div(R)))}while(R.c.slice(0,G).join("")!==E.c.slice(0,G).join(""));return round(E,$.DP-=4,$.RM)};we.times=we.mul=function(E){var N,R=this,j=R.constructor,$=R.c,q=(E=new j(E)).c,G=$.length,ie=q.length,ae=R.e,ce=E.e;E.s=R.s==E.s?1:-1;if(!$[0]||!q[0])return new j(E.s*0);E.e=ae+ce;if(Gae;){ie=N[ce]+q[ae]*$[ce-ae-1]+ie;N[ce--]=ie%10;ie=ie/10|0}N[ce]=(N[ce]+ie)%10}if(ie)++E.e;else N.shift();for(ae=N.length;!N[--ae];)N.pop();E.c=N;return E};we.toExponential=function(E){return stringify(this,1,E,E)};we.toFixed=function(E){return stringify(this,2,E,this.e+E)};we.toPrecision=function(E){return stringify(this,3,E,E-1)};we.toString=function(){return stringify(this)};we.valueOf=we.toJSON=function(){return stringify(this,4)};R=_Big_();R["default"]=R.Big=R;if(typeof define==="function"&&define.amd){define((function(){return R}))}else if(true&&E.exports){E.exports=R}else{N.Big=R}})(this)},89987:(E,N,R)=>{"use strict";const j=R(48333);const $=/^[A-Z]:([\\\/]|$)/i;const q=/^\//i;E.exports=function join(E,N){if(!N)return j(E);if($.test(N))return j(N.replace(/\//g,"\\"));if(q.test(N))return j(N);if(E=="/")return j(E+N);if($.test(E))return j(E.replace(/\//g,"\\")+"\\"+N.replace(/\//g,"\\"));if(q.test(E))return j(E+"/"+N);return j(E+"/"+N)}},48333:E=>{"use strict";E.exports=function normalize(E){var N=E.split(/(\\+|\/+)/);if(N.length===1)return E;var R=[];var j=0;for(var $=0,q=false;${"use strict";const{PassThrough:j}=R(12781);E.exports=function(){var E=[];var N=new j({objectMode:true});N.setMaxListeners(0);N.add=add;N.isEmpty=isEmpty;N.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return N;function add(R){if(Array.isArray(R)){R.forEach(add);return this}E.push(R);R.once("end",remove.bind(null,R));R.once("error",N.emit.bind(N,"error"));R.pipe(N,{end:false});return this}function isEmpty(){return E.length==0}function remove(R){E=E.filter((function(E){return E!==R}));if(!E.length&&N.readable){N.end()}}}},22198:(E,N,R)=>{ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ -E.exports=R(53765)},50007:(E,N,R)=>{"use strict"; -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */var j=R(22198);var $=R(71017).extname;var q=/^\s*([^;\s]*)(?:;|\s|$)/;var G=/^text\//i;N.charset=charset;N.charsets={lookup:charset};N.contentType=contentType;N.extension=extension;N.extensions=Object.create(null);N.lookup=lookup;N.types=Object.create(null);populateMaps(N.extensions,N.types);function charset(E){if(!E||typeof E!=="string"){return false}var N=q.exec(E);var R=N&&j[N[1].toLowerCase()];if(R&&R.charset){return R.charset}if(N&&G.test(N[1])){return"UTF-8"}return false}function contentType(E){if(!E||typeof E!=="string"){return false}var R=E.indexOf("/")===-1?N.lookup(E):E;if(!R){return false}if(R.indexOf("charset")===-1){var j=N.charset(R);if(j)R+="; charset="+j.toLowerCase()}return R}function extension(E){if(!E||typeof E!=="string"){return false}var R=q.exec(E);var j=R&&N.extensions[R[1].toLowerCase()];if(!j||!j.length){return false}return j[0]}function lookup(E){if(!E||typeof E!=="string"){return false}var R=$("x."+E).toLowerCase().substr(1);if(!R){return false}return N.types[R]||false}function populateMaps(E,N){var R=["nginx","apache",undefined,"iana"];Object.keys(j).forEach((function forEachMimeType($){var q=j[$];var G=q.extensions;if(!G||!G.length){return}E[$]=G;for(var ie=0;iele||ce===le&&N[ae].substr(0,12)==="application/")){continue}}N[ae]=$}}))}},62355:function(E,N){(function(E,R){"use strict";true?R(N):0})(this,(function(E){"use strict";var N=function noop(){};var R=function throwError(){throw new Error("Callback was already called.")};var j=5;var $=0;var q="object";var G="function";var ie=Array.isArray;var ae=Object.keys;var ce=Array.prototype.push;var le=typeof Symbol===G&&Symbol.iterator;var _e,Ee,Te;createImmediate();var we=createEach(arrayEach,baseEach,symbolEach);var Ie=createMap(arrayEachIndex,baseEachIndex,symbolEachIndex,true);var Ne=createMap(arrayEachIndex,baseEachKey,symbolEachKey,false);var Me=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,true);var Le=createFilterSeries(true);var Be=createFilterLimit(true);var je=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,false);var Ue=createFilterSeries(false);var ze=createFilterLimit(false);var We=createDetect(arrayEachValue,baseEachValue,symbolEachValue,true);var Je=createDetectSeries(true);var Ve=createDetectLimit(true);var qe=createEvery(arrayEachValue,baseEachValue,symbolEachValue);var He=createEverySeries();var Ge=createEveryLimit();var Ke=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,true);var Qe=createPickSeries(true);var Xe=createPickLimit(true);var Ye=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,false);var Ze=createPickSeries(false);var et=createPickLimit(false);var tt=createTransform(arrayEachResult,baseEachResult,symbolEachResult);var rt=createSortBy(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue);var nt=createConcat(arrayEachIndex,baseEachIndex,symbolEachIndex);var it=createGroupBy(arrayEachValue,baseEachValue,symbolEachValue);var ot=createParallel(arrayEachFunc,baseEachFunc);var st=createApplyEach(Ie);var ct=createApplyEach(mapSeries);var ut=createLogger("log");var dt=createLogger("dir");var pt={VERSION:"2.6.2",each:we,eachSeries:eachSeries,eachLimit:eachLimit,forEach:we,forEachSeries:eachSeries,forEachLimit:eachLimit,eachOf:we,eachOfSeries:eachSeries,eachOfLimit:eachLimit,forEachOf:we,forEachOfSeries:eachSeries,forEachOfLimit:eachLimit,map:Ie,mapSeries:mapSeries,mapLimit:mapLimit,mapValues:Ne,mapValuesSeries:mapValuesSeries,mapValuesLimit:mapValuesLimit,filter:Me,filterSeries:Le,filterLimit:Be,select:Me,selectSeries:Le,selectLimit:Be,reject:je,rejectSeries:Ue,rejectLimit:ze,detect:We,detectSeries:Je,detectLimit:Ve,find:We,findSeries:Je,findLimit:Ve,pick:Ke,pickSeries:Qe,pickLimit:Xe,omit:Ye,omitSeries:Ze,omitLimit:et,reduce:reduce,inject:reduce,foldl:reduce,reduceRight:reduceRight,foldr:reduceRight,transform:tt,transformSeries:transformSeries,transformLimit:transformLimit,sortBy:rt,sortBySeries:sortBySeries,sortByLimit:sortByLimit,some:some,someSeries:someSeries,someLimit:someLimit,any:some,anySeries:someSeries,anyLimit:someLimit,every:qe,everySeries:He,everyLimit:Ge,all:qe,allSeries:He,allLimit:Ge,concat:nt,concatSeries:concatSeries,concatLimit:concatLimit,groupBy:it,groupBySeries:groupBySeries,groupByLimit:groupByLimit,parallel:ot,series:series,parallelLimit:parallelLimit,tryEach:tryEach,waterfall:waterfall,angelFall:angelFall,angelfall:angelFall,whilst:whilst,doWhilst:doWhilst,until:until,doUntil:doUntil,during:during,doDuring:doDuring,forever:forever,compose:compose,seq:seq,applyEach:st,applyEachSeries:ct,queue:queue,priorityQueue:priorityQueue,cargo:cargo,auto:auto,autoInject:autoInject,retry:retry,retryable:retryable,iterator:iterator,times:times,timesSeries:timesSeries,timesLimit:timesLimit,race:race,apply:apply,nextTick:Ee,setImmediate:Te,memoize:memoize,unmemoize:unmemoize,ensureAsync:ensureAsync,constant:constant,asyncify:asyncify,wrapSync:asyncify,log:ut,dir:dt,reflect:reflect,reflectAll:reflectAll,timeout:timeout,createLogger:createLogger,safe:safe,fast:fast};E["default"]=pt;baseEachSync(pt,(function(N,R){E[R]=N}),ae(pt));function createImmediate(E){var N=function delay(E){var N=slice(arguments,1);setTimeout((function(){E.apply(null,N)}))};Te=typeof setImmediate===G?setImmediate:N;if(typeof process===q&&typeof process.nextTick===G){_e=/^v0.10/.test(process.version)?Te:process.nextTick;Ee=/^v0/.test(process.version)?Te:process.nextTick}else{Ee=_e=Te}if(E===false){_e=function(E){E()}}}function createArray(E){var N=-1;var R=E.length;var j=Array(R);while(++N=N&&E[G]>=j){G--}if(q>G){break}swap(E,$,q++,G--)}return q}function swap(E,N,R,j){var $=E[R];E[R]=E[j];E[j]=$;var q=N[R];N[R]=N[j];N[j]=q}function quickSort(E,N,R,j){if(N===R){return}var $=N;while(++$<=R&&E[N]===E[$]){var q=$-1;if(j[q]>j[$]){var G=j[q];j[q]=j[$];j[$]=G}}if($>R){return}var ie=E[N]>E[$]?N:$;$=partition(E,N,R,E[ie],j);quickSort(E,N,$-1,j);quickSort(E,$,R,j)}function makeConcatResult(E){var R=[];arrayEachSync(E,(function(E){if(E===N){return}if(ie(E)){ce.apply(R,E)}else{R.push(E)}}));return R}function arrayEach(E,N,R){var j=-1;var $=E.length;if(N.length===3){while(++j<$){N(E[j],j,onlyOnce(R))}}else{while(++j<$){N(E[j],onlyOnce(R))}}}function baseEach(E,N,R,j){var $;var q=-1;var G=j.length;if(N.length===3){while(++qEe?Ee:$,Be);function arrayIterator(){Te=ze++;if(Tece?ce:j,Me);function arrayIterator(){if(Bece?ce:j,Le);function arrayIterator(){Ee=je++;if(Eece?ce:j,Me);function arrayIterator(){Ee=je++;if(EeEe?Ee:$,Be);function arrayIterator(){Te=Ue++;if(TeEe?Ee:$,Be);function arrayIterator(){Te=ze++;if(Tece?ce:R,Me);function arrayIterator(){Ee=je++;if(Eece?ce:j,je);function arrayIterator(){if(ze=2){ce.apply(Le,slice(arguments,1))}if(E){$(E,Le)}else if(++Be===G){Ne=R;$(null,Le)}else if(Me){_e(Ne)}else{Me=true;Ne()}Me=false}}function concatLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne;var Me=false;var Le=0;var Be=0;if(ie(E)){ce=E.length;Ie=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ne=[];Te=E[le]();Ie=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){var je=ae(E);ce=je.length;Ie=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,[])}Ne=Ne||Array(ce);timesSync(j>ce?ce:j,Ie);function arrayIterator(){if(Lece?ce:j,Le);function arrayIterator(){if(jeG?G:j,we);function arrayIterator(){ce=Ne++;if(ce1){var j=slice(arguments,1);return go.apply(this,j)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var N=E.prev;var R=E.next;if(N){N.next=R}else{this.head=R}if(R){R.prev=N}else{this.tail=N}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,N){N.prev=E.prev;N.next=E;if(E.prev){E.prev.next=N}else{this.head=N}E.prev=N;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var N=this.tail;if(N){E.prev=N;E.next=N.next;this.tail=E;N.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var N;var R=[];while(E--&&(N=this.shift())){R.push(N)}return R};DLL.prototype.remove=function(E){var N=this.head;while(N){if(E(N)){this._removeLink(N)}N=N.next}return this};function baseQueue(E,j,$,q){if($===undefined){$=1}else if(isNaN($)||$<1){throw new Error("Concurrency must not be zero")}var G=0;var ae=[];var le,Ee;var Te={_tasks:new DLL,concurrency:$,payload:q,saturated:N,unsaturated:N,buffer:$/4,empty:N,drain:N,error:N,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:j};return Te;function push(E,N){_insert(E,N)}function unshift(E,N){_insert(E,N,true)}function _exec(E){var N={data:E,callback:le};if(Ee){Te._tasks.unshift(N)}else{Te._tasks.push(N)}_e(Te.process)}function _insert(E,R,j){if(R==null){R=N}else if(typeof R!=="function"){throw new Error("task callback must be a function")}Te.started=true;var $=ie(E)?E:[E];if(E===undefined||!$.length){if(Te.idle()){_e(Te.drain)}return}Ee=j;le=R;arrayEachSync($,_exec);le=undefined}function kill(){Te.drain=N;Te._tasks.empty()}function _next(E,N){var j=false;return function done($,q){if(j){R()}j=true;G--;var ie;var ce=-1;var le=ae.length;var _e=-1;var Ee=N.length;var Te=arguments.length>2;var we=Te&&createArray(arguments);while(++_e=ce.priority){ce=ce.next}while(ae--){var le={data:q[ae],priority:R,callback:$};if(ce){j._tasks.insertBefore(ce,le)}else{j._tasks.push(le)}_e(j.process)}}}function cargo(E,N){return baseQueue(false,E,1,N)}function auto(E,j,$){if(typeof j===G){$=j;j=null}var q=ae(E);var ce=q.length;var le={};if(ce===0){return $(null,le)}var _e=0;var Ee=new DLL;var Te=Object.create(null);$=onlyOnce($||N);j=j||ce;baseEachSync(E,iterator,q);proceedQueue();function iterator(E,j){var G,ae;if(!ie(E)){G=E;ae=0;Ee.push([G,ae,done]);return}var we=E.length-1;G=E[we];ae=we;if(we===0){Ee.push([G,ae,done]);return}var Ie=-1;while(++Ie=E){$(null,q);$=R}else if(G){_e(iterate)}else{G=true;iterate()}G=false}}function timesLimit(E,j,$,q){q=q||N;E=+E;if(isNaN(E)||E<1||isNaN(j)||j<1){return q(null,[])}var G=Array(E);var ie=false;var ae=0;var ce=0;timesSync(j>E?E:j,iterate);function iterate(){var N=ae++;if(N=E){q(null,G);q=R}else if(ie){_e(iterate)}else{ie=true;iterate()}ie=false}}}function race(E,R){R=once(R||N);var j,$;var G=-1;if(ie(E)){j=E.length;while(++G2){R=slice(arguments,1)}N(null,{value:R})}}}function reflectAll(E){var N,R;if(ie(E)){N=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===q){R=ae(E);N={};baseEachSync(E,iterate,R)}return N;function iterate(E,R){N[R]=reflect(E)}}function createLogger(E){return function(E){var N=slice(arguments,1);N.push(done);E.apply(null,N)};function done(N){if(typeof console===q){if(N){if(console.error){console.error(N)}return}if(console[E]){var R=slice(arguments,1);arrayEachSync(R,(function(N){console[E](N)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},5782:(E,N,R)=>{"use strict";E.exports=R(43162)},36949:(E,N,R)=>{"use strict";const j=R(71017);const $="\\\\/";const q=`[^${$}]`;const G="\\.";const ie="\\+";const ae="\\?";const ce="\\/";const le="(?=.)";const _e="[^/]";const Ee=`(?:${ce}|$)`;const Te=`(?:^|${ce})`;const we=`${G}{1,2}${Ee}`;const Ie=`(?!${G})`;const Ne=`(?!${Te}${we})`;const Me=`(?!${G}{0,1}${Ee})`;const Le=`(?!${we})`;const Be=`[^.${ce}]`;const je=`${_e}*?`;const Ue={DOT_LITERAL:G,PLUS_LITERAL:ie,QMARK_LITERAL:ae,SLASH_LITERAL:ce,ONE_CHAR:le,QMARK:_e,END_ANCHOR:Ee,DOTS_SLASH:we,NO_DOT:Ie,NO_DOTS:Ne,NO_DOT_SLASH:Me,NO_DOTS_SLASH:Le,QMARK_NO_DOT:Be,STAR:je,START_ANCHOR:Te};const ze={...Ue,SLASH_LITERAL:`[${$}]`,QMARK:q,STAR:`${q}*?`,DOTS_SLASH:`${G}{1,2}(?:[${$}]|$)`,NO_DOT:`(?!${G})`,NO_DOTS:`(?!(?:^|[${$}])${G}{1,2}(?:[${$}]|$))`,NO_DOT_SLASH:`(?!${G}{0,1}(?:[${$}]|$))`,NO_DOTS_SLASH:`(?!${G}{1,2}(?:[${$}]|$))`,QMARK_NO_DOT:`[^.${$}]`,START_ANCHOR:`(?:^|[${$}])`,END_ANCHOR:`(?:[${$}]|$)`};const We={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"};E.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:We,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:j.sep,extglobChars(E){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${E.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(E){return E===true?ze:Ue}}},19934:(E,N,R)=>{"use strict";const j=R(36949);const $=R(2661);const{MAX_LENGTH:q,POSIX_REGEX_SOURCE:G,REGEX_NON_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_BACKREF:ae,REPLACEMENTS:ce}=j;const expandRange=(E,N)=>{if(typeof N.expandRange==="function"){return N.expandRange(...E,N)}E.sort();const R=`[${E.join("-")}]`;try{new RegExp(R)}catch(N){return E.map((E=>$.escapeRegex(E))).join("..")}return R};const syntaxError=(E,N)=>`Missing ${E}: "${N}" - use "\\\\${N}" to match literal characters`;const parse=(E,N)=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}E=ce[E]||E;const R={...N};const le=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;let _e=E.length;if(_e>le){throw new SyntaxError(`Input length: ${_e}, exceeds maximum allowed length: ${le}`)}const Ee={type:"bos",value:"",output:R.prepend||""};const Te=[Ee];const we=R.capture?"":"?:";const Ie=$.isWindows(N);const Ne=j.globChars(Ie);const Me=j.extglobChars(Ne);const{DOT_LITERAL:Le,PLUS_LITERAL:Be,SLASH_LITERAL:je,ONE_CHAR:Ue,DOTS_SLASH:ze,NO_DOT:We,NO_DOT_SLASH:Je,NO_DOTS_SLASH:Ve,QMARK:qe,QMARK_NO_DOT:He,STAR:Ge,START_ANCHOR:Ke}=Ne;const globstar=E=>`(${we}(?:(?!${Ke}${E.dot?ze:Le}).)*?)`;const Qe=R.dot?"":We;const Xe=R.dot?qe:He;let Ye=R.bash===true?globstar(R):Ge;if(R.capture){Ye=`(${Ye})`}if(typeof R.noext==="boolean"){R.noextglob=R.noext}const Ze={input:E,index:-1,start:0,dot:R.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:Te};E=$.removePrefix(E,Ze);_e=E.length;const et=[];const tt=[];const rt=[];let nt=Ee;let it;const eos=()=>Ze.index===_e-1;const ot=Ze.peek=(N=1)=>E[Ze.index+N];const st=Ze.advance=()=>E[++Ze.index];const remaining=()=>E.slice(Ze.index+1);const consume=(E="",N=0)=>{Ze.consumed+=E;Ze.index+=N};const append=E=>{Ze.output+=E.output!=null?E.output:E.value;consume(E.value)};const negate=()=>{let E=1;while(ot()==="!"&&(ot(2)!=="("||ot(3)==="?")){st();Ze.start++;E++}if(E%2===0){return false}Ze.negated=true;Ze.start++;return true};const increment=E=>{Ze[E]++;rt.push(E)};const decrement=E=>{Ze[E]--;rt.pop()};const push=E=>{if(nt.type==="globstar"){const N=Ze.braces>0&&(E.type==="comma"||E.type==="brace");const R=E.extglob===true||et.length&&(E.type==="pipe"||E.type==="paren");if(E.type!=="slash"&&E.type!=="paren"&&!N&&!R){Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="star";nt.value="*";nt.output=Ye;Ze.output+=nt.output}}if(et.length&&E.type!=="paren"&&!Me[E.value]){et[et.length-1].inner+=E.value}if(E.value||E.output)append(E);if(nt&&nt.type==="text"&&E.type==="text"){nt.value+=E.value;nt.output=(nt.output||"")+E.value;return}E.prev=nt;Te.push(E);nt=E};const extglobOpen=(E,N)=>{const j={...Me[N],conditions:1,inner:""};j.prev=nt;j.parens=Ze.parens;j.output=Ze.output;const $=(R.capture?"(":"")+j.open;increment("parens");push({type:E,value:N,output:Ze.output?"":Ue});push({type:"paren",extglob:true,value:st(),output:$});et.push(j)};const extglobClose=E=>{let N=E.close+(R.capture?")":"");if(E.type==="negate"){let j=Ye;if(E.inner&&E.inner.length>1&&E.inner.includes("/")){j=globstar(R)}if(j!==Ye||eos()||/^\)+$/.test(remaining())){N=E.close=`)$))${j}`}if(E.prev.type==="bos"&&eos()){Ze.negatedExtglob=true}}push({type:"paren",extglob:true,value:it,output:N});decrement("parens")};if(R.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(E)){let j=false;let q=E.replace(ae,((E,N,R,$,q,G)=>{if($==="\\"){j=true;return E}if($==="?"){if(N){return N+$+(q?qe.repeat(q.length):"")}if(G===0){return Xe+(q?qe.repeat(q.length):"")}return qe.repeat(R.length)}if($==="."){return Le.repeat(R.length)}if($==="*"){if(N){return N+$+(q?Ye:"")}return Ye}return N?E:`\\${E}`}));if(j===true){if(R.unescape===true){q=q.replace(/\\/g,"")}else{q=q.replace(/\\+/g,(E=>E.length%2===0?"\\\\":E?"\\":""))}}if(q===E&&R.contains===true){Ze.output=E;return Ze}Ze.output=$.wrapOutput(q,Ze,N);return Ze}while(!eos()){it=st();if(it==="\0"){continue}if(it==="\\"){const E=ot();if(E==="/"&&R.bash!==true){continue}if(E==="."||E===";"){continue}if(!E){it+="\\";push({type:"text",value:it});continue}const N=/^\\+/.exec(remaining());let j=0;if(N&&N[0].length>2){j=N[0].length;Ze.index+=j;if(j%2!==0){it+="\\"}}if(R.unescape===true){it=st()||""}else{it+=st()||""}if(Ze.brackets===0){push({type:"text",value:it});continue}}if(Ze.brackets>0&&(it!=="]"||nt.value==="["||nt.value==="[^")){if(R.posix!==false&&it===":"){const E=nt.value.slice(1);if(E.includes("[")){nt.posix=true;if(E.includes(":")){const E=nt.value.lastIndexOf("[");const N=nt.value.slice(0,E);const R=nt.value.slice(E+2);const j=G[R];if(j){nt.value=N+j;Ze.backtrack=true;st();if(!Ee.output&&Te.indexOf(nt)===1){Ee.output=Ue}continue}}}}if(it==="["&&ot()!==":"||it==="-"&&ot()==="]"){it=`\\${it}`}if(it==="]"&&(nt.value==="["||nt.value==="[^")){it=`\\${it}`}if(R.posix===true&&it==="!"&&nt.value==="["){it="^"}nt.value+=it;append({value:it});continue}if(Ze.quotes===1&&it!=='"'){it=$.escapeRegex(it);nt.value+=it;append({value:it});continue}if(it==='"'){Ze.quotes=Ze.quotes===1?0:1;if(R.keepQuotes===true){push({type:"text",value:it})}continue}if(it==="("){increment("parens");push({type:"paren",value:it});continue}if(it===")"){if(Ze.parens===0&&R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const E=et[et.length-1];if(E&&Ze.parens===E.parens+1){extglobClose(et.pop());continue}push({type:"paren",value:it,output:Ze.parens?")":"\\)"});decrement("parens");continue}if(it==="["){if(R.nobracket===true||!remaining().includes("]")){if(R.nobracket!==true&&R.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}it=`\\${it}`}else{increment("brackets")}push({type:"bracket",value:it});continue}if(it==="]"){if(R.nobracket===true||nt&&nt.type==="bracket"&&nt.value.length===1){push({type:"text",value:it,output:`\\${it}`});continue}if(Ze.brackets===0){if(R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:it,output:`\\${it}`});continue}decrement("brackets");const E=nt.value.slice(1);if(nt.posix!==true&&E[0]==="^"&&!E.includes("/")){it=`/${it}`}nt.value+=it;append({value:it});if(R.literalBrackets===false||$.hasRegexChars(E)){continue}const N=$.escapeRegex(nt.value);Ze.output=Ze.output.slice(0,-nt.value.length);if(R.literalBrackets===true){Ze.output+=N;nt.value=N;continue}nt.value=`(${we}${N}|${nt.value})`;Ze.output+=nt.value;continue}if(it==="{"&&R.nobrace!==true){increment("braces");const E={type:"brace",value:it,output:"(",outputIndex:Ze.output.length,tokensIndex:Ze.tokens.length};tt.push(E);push(E);continue}if(it==="}"){const E=tt[tt.length-1];if(R.nobrace===true||!E){push({type:"text",value:it,output:it});continue}let N=")";if(E.dots===true){const E=Te.slice();const j=[];for(let N=E.length-1;N>=0;N--){Te.pop();if(E[N].type==="brace"){break}if(E[N].type!=="dots"){j.unshift(E[N].value)}}N=expandRange(j,R);Ze.backtrack=true}if(E.comma!==true&&E.dots!==true){const R=Ze.output.slice(0,E.outputIndex);const j=Ze.tokens.slice(E.tokensIndex);E.value=E.output="\\{";it=N="\\}";Ze.output=R;for(const E of j){Ze.output+=E.output||E.value}}push({type:"brace",value:it,output:N});decrement("braces");tt.pop();continue}if(it==="|"){if(et.length>0){et[et.length-1].conditions++}push({type:"text",value:it});continue}if(it===","){let E=it;const N=tt[tt.length-1];if(N&&rt[rt.length-1]==="braces"){N.comma=true;E="|"}push({type:"comma",value:it,output:E});continue}if(it==="/"){if(nt.type==="dot"&&Ze.index===Ze.start+1){Ze.start=Ze.index+1;Ze.consumed="";Ze.output="";Te.pop();nt=Ee;continue}push({type:"slash",value:it,output:je});continue}if(it==="."){if(Ze.braces>0&&nt.type==="dot"){if(nt.value===".")nt.output=Le;const E=tt[tt.length-1];nt.type="dots";nt.output+=it;nt.value+=it;E.dots=true;continue}if(Ze.braces+Ze.parens===0&&nt.type!=="bos"&&nt.type!=="slash"){push({type:"text",value:it,output:Le});continue}push({type:"dot",value:it,output:Le});continue}if(it==="?"){const E=nt&&nt.value==="(";if(!E&&R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("qmark",it);continue}if(nt&&nt.type==="paren"){const E=ot();let N=it;if(E==="<"&&!$.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(nt.value==="("&&!/[!=<:]/.test(E)||E==="<"&&!/<([!=]|\w+>)/.test(remaining())){N=`\\${it}`}push({type:"text",value:it,output:N});continue}if(R.dot!==true&&(nt.type==="slash"||nt.type==="bos")){push({type:"qmark",value:it,output:He});continue}push({type:"qmark",value:it,output:qe});continue}if(it==="!"){if(R.noextglob!==true&&ot()==="("){if(ot(2)!=="?"||!/[!=<:]/.test(ot(3))){extglobOpen("negate",it);continue}}if(R.nonegate!==true&&Ze.index===0){negate();continue}}if(it==="+"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("plus",it);continue}if(nt&&nt.value==="("||R.regex===false){push({type:"plus",value:it,output:Be});continue}if(nt&&(nt.type==="bracket"||nt.type==="paren"||nt.type==="brace")||Ze.parens>0){push({type:"plus",value:it});continue}push({type:"plus",value:Be});continue}if(it==="@"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){push({type:"at",extglob:true,value:it,output:""});continue}push({type:"text",value:it});continue}if(it!=="*"){if(it==="$"||it==="^"){it=`\\${it}`}const E=ie.exec(remaining());if(E){it+=E[0];Ze.index+=E[0].length}push({type:"text",value:it});continue}if(nt&&(nt.type==="globstar"||nt.star===true)){nt.type="star";nt.star=true;nt.value+=it;nt.output=Ye;Ze.backtrack=true;Ze.globstar=true;consume(it);continue}let N=remaining();if(R.noextglob!==true&&/^\([^?]/.test(N)){extglobOpen("star",it);continue}if(nt.type==="star"){if(R.noglobstar===true){consume(it);continue}const j=nt.prev;const $=j.prev;const q=j.type==="slash"||j.type==="bos";const G=$&&($.type==="star"||$.type==="globstar");if(R.bash===true&&(!q||N[0]&&N[0]!=="/")){push({type:"star",value:it,output:""});continue}const ie=Ze.braces>0&&(j.type==="comma"||j.type==="brace");const ae=et.length&&(j.type==="pipe"||j.type==="paren");if(!q&&j.type!=="paren"&&!ie&&!ae){push({type:"star",value:it,output:""});continue}while(N.slice(0,3)==="/**"){const R=E[Ze.index+4];if(R&&R!=="/"){break}N=N.slice(3);consume("/**",3)}if(j.type==="bos"&&eos()){nt.type="globstar";nt.value+=it;nt.output=globstar(R);Ze.output=nt.output;Ze.globstar=true;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&!G&&eos()){Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=globstar(R)+(R.strictSlashes?")":"|$)");nt.value+=it;Ze.globstar=true;Ze.output+=j.output+nt.output;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&N[0]==="/"){const E=N[1]!==void 0?"|$":"";Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=`${globstar(R)}${je}|${je}${E})`;nt.value+=it;Ze.output+=j.output+nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}if(j.type==="bos"&&N[0]==="/"){nt.type="globstar";nt.value+=it;nt.output=`(?:^|${je}|${globstar(R)}${je})`;Ze.output=nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="globstar";nt.output=globstar(R);nt.value+=it;Ze.output+=nt.output;Ze.globstar=true;consume(it);continue}const j={type:"star",value:it,output:Ye};if(R.bash===true){j.output=".*?";if(nt.type==="bos"||nt.type==="slash"){j.output=Qe+j.output}push(j);continue}if(nt&&(nt.type==="bracket"||nt.type==="paren")&&R.regex===true){j.output=it;push(j);continue}if(Ze.index===Ze.start||nt.type==="slash"||nt.type==="dot"){if(nt.type==="dot"){Ze.output+=Je;nt.output+=Je}else if(R.dot===true){Ze.output+=Ve;nt.output+=Ve}else{Ze.output+=Qe;nt.output+=Qe}if(ot()!=="*"){Ze.output+=Ue;nt.output+=Ue}}push(j)}while(Ze.brackets>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));Ze.output=$.escapeLast(Ze.output,"[");decrement("brackets")}while(Ze.parens>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));Ze.output=$.escapeLast(Ze.output,"(");decrement("parens")}while(Ze.braces>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));Ze.output=$.escapeLast(Ze.output,"{");decrement("braces")}if(R.strictSlashes!==true&&(nt.type==="star"||nt.type==="bracket")){push({type:"maybe_slash",value:"",output:`${je}?`})}if(Ze.backtrack===true){Ze.output="";for(const E of Ze.tokens){Ze.output+=E.output!=null?E.output:E.value;if(E.suffix){Ze.output+=E.suffix}}}return Ze};parse.fastpaths=(E,N)=>{const R={...N};const G=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;const ie=E.length;if(ie>G){throw new SyntaxError(`Input length: ${ie}, exceeds maximum allowed length: ${G}`)}E=ce[E]||E;const ae=$.isWindows(N);const{DOT_LITERAL:le,SLASH_LITERAL:_e,ONE_CHAR:Ee,DOTS_SLASH:Te,NO_DOT:we,NO_DOTS:Ie,NO_DOTS_SLASH:Ne,STAR:Me,START_ANCHOR:Le}=j.globChars(ae);const Be=R.dot?Ie:we;const je=R.dot?Ne:we;const Ue=R.capture?"":"?:";const ze={negated:false,prefix:""};let We=R.bash===true?".*?":Me;if(R.capture){We=`(${We})`}const globstar=E=>{if(E.noglobstar===true)return We;return`(${Ue}(?:(?!${Le}${E.dot?Te:le}).)*?)`};const create=E=>{switch(E){case"*":return`${Be}${Ee}${We}`;case".*":return`${le}${Ee}${We}`;case"*.*":return`${Be}${We}${le}${Ee}${We}`;case"*/*":return`${Be}${We}${_e}${Ee}${je}${We}`;case"**":return Be+globstar(R);case"**/*":return`(?:${Be}${globstar(R)}${_e})?${je}${Ee}${We}`;case"**/*.*":return`(?:${Be}${globstar(R)}${_e})?${je}${We}${le}${Ee}${We}`;case"**/.*":return`(?:${Be}${globstar(R)}${_e})?${le}${Ee}${We}`;default:{const N=/^(.*?)\.(\w+)$/.exec(E);if(!N)return;const R=create(N[1]);if(!R)return;return R+le+N[2]}}};const Je=$.removePrefix(E,ze);let Ve=create(Je);if(Ve&&R.strictSlashes!==true){Ve+=`${_e}?`}return Ve};E.exports=parse},43162:(E,N,R)=>{"use strict";const j=R(71017);const $=R(35788);const q=R(19934);const G=R(2661);const ie=R(36949);const isObject=E=>E&&typeof E==="object"&&!Array.isArray(E);const picomatch=(E,N,R=false)=>{if(Array.isArray(E)){const j=E.map((E=>picomatch(E,N,R)));const arrayMatcher=E=>{for(const N of j){const R=N(E);if(R)return R}return false};return arrayMatcher}const j=isObject(E)&&E.tokens&&E.input;if(E===""||typeof E!=="string"&&!j){throw new TypeError("Expected pattern to be a non-empty string")}const $=N||{};const q=G.isWindows(N);const ie=j?picomatch.compileRe(E,N):picomatch.makeRe(E,N,false,true);const ae=ie.state;delete ie.state;let isIgnored=()=>false;if($.ignore){const E={...N,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch($.ignore,E,R)}const matcher=(R,j=false)=>{const{isMatch:G,match:ce,output:le}=picomatch.test(R,ie,N,{glob:E,posix:q});const _e={glob:E,state:ae,regex:ie,posix:q,input:R,output:le,match:ce,isMatch:G};if(typeof $.onResult==="function"){$.onResult(_e)}if(G===false){_e.isMatch=false;return j?_e:false}if(isIgnored(R)){if(typeof $.onIgnore==="function"){$.onIgnore(_e)}_e.isMatch=false;return j?_e:false}if(typeof $.onMatch==="function"){$.onMatch(_e)}return j?_e:true};if(R){matcher.state=ae}return matcher};picomatch.test=(E,N,R,{glob:j,posix:$}={})=>{if(typeof E!=="string"){throw new TypeError("Expected input to be a string")}if(E===""){return{isMatch:false,output:""}}const q=R||{};const ie=q.format||($?G.toPosixSlashes:null);let ae=E===j;let ce=ae&&ie?ie(E):E;if(ae===false){ce=ie?ie(E):E;ae=ce===j}if(ae===false||q.capture===true){if(q.matchBase===true||q.basename===true){ae=picomatch.matchBase(E,N,R,$)}else{ae=N.exec(ce)}}return{isMatch:Boolean(ae),match:ae,output:ce}};picomatch.matchBase=(E,N,R,$=G.isWindows(R))=>{const q=N instanceof RegExp?N:picomatch.makeRe(N,R);return q.test(j.basename(E))};picomatch.isMatch=(E,N,R)=>picomatch(N,R)(E);picomatch.parse=(E,N)=>{if(Array.isArray(E))return E.map((E=>picomatch.parse(E,N)));return q(E,{...N,fastpaths:false})};picomatch.scan=(E,N)=>$(E,N);picomatch.compileRe=(E,N,R=false,j=false)=>{if(R===true){return E.output}const $=N||{};const q=$.contains?"":"^";const G=$.contains?"":"$";let ie=`${q}(?:${E.output})${G}`;if(E&&E.negated===true){ie=`^(?!${ie}).*$`}const ae=picomatch.toRegex(ie,N);if(j===true){ae.state=E}return ae};picomatch.makeRe=(E,N,R=false,j=false)=>{if(!E||typeof E!=="string"){throw new TypeError("Expected a non-empty string")}const $=N||{};let G={negated:false,fastpaths:true};let ie="";let ae;if(E.startsWith("./")){E=E.slice(2);ie=G.prefix="./"}if($.fastpaths!==false&&(E[0]==="."||E[0]==="*")){ae=q.fastpaths(E,N)}if(ae===undefined){G=q(E,N);G.prefix=ie+(G.prefix||"")}else{G.output=ae}return picomatch.compileRe(G,N,R,j)};picomatch.toRegex=(E,N)=>{try{const R=N||{};return new RegExp(E,R.flags||(R.nocase?"i":""))}catch(E){if(N&&N.debug===true)throw E;return/$^/}};picomatch.constants=ie;E.exports=picomatch},35788:(E,N,R)=>{"use strict";const j=R(2661);const{CHAR_ASTERISK:$,CHAR_AT:q,CHAR_BACKWARD_SLASH:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_EXCLAMATION_MARK:ce,CHAR_FORWARD_SLASH:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_LEFT_PARENTHESES:Ee,CHAR_LEFT_SQUARE_BRACKET:Te,CHAR_PLUS:we,CHAR_QUESTION_MARK:Ie,CHAR_RIGHT_CURLY_BRACE:Ne,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Le}=R(36949);const isPathSeparator=E=>E===le||E===G;const depth=E=>{if(E.isPrefix!==true){E.depth=E.isGlobstar?Infinity:1}};const scan=(E,N)=>{const R=N||{};const Be=E.length-1;const je=R.parts===true||R.scanToEnd===true;const Ue=[];const ze=[];const We=[];let Je=E;let Ve=-1;let qe=0;let He=0;let Ge=false;let Ke=false;let Qe=false;let Xe=false;let Ye=false;let Ze=false;let et=false;let tt=false;let rt=false;let nt=0;let it;let ot;let st={value:"",depth:0,isGlob:false};const eos=()=>Ve>=Be;const peek=()=>Je.charCodeAt(Ve+1);const advance=()=>{it=ot;return Je.charCodeAt(++Ve)};while(Ve0){ut=Je.slice(0,qe);Je=Je.slice(qe);He-=qe}if(ct&&Qe===true&&He>0){ct=Je.slice(0,He);dt=Je.slice(He)}else if(Qe===true){ct="";dt=Je}else{ct=Je}if(ct&&ct!==""&&ct!=="/"&&ct!==Je){if(isPathSeparator(ct.charCodeAt(ct.length-1))){ct=ct.slice(0,-1)}}if(R.unescape===true){if(dt)dt=j.removeBackslashes(dt);if(ct&&et===true){ct=j.removeBackslashes(ct)}}const pt={prefix:ut,input:E,start:qe,base:ct,glob:dt,isBrace:Ge,isBracket:Ke,isGlob:Qe,isExtglob:Xe,isGlobstar:Ye,negated:tt};if(R.tokens===true){pt.maxDepth=0;if(!isPathSeparator(ot)){ze.push(st)}pt.tokens=ze}if(R.parts===true||R.tokens===true){let N;for(let j=0;j{"use strict";const j=R(71017);const $=process.platform==="win32";const{REGEX_BACKSLASH:q,REGEX_REMOVE_BACKSLASH:G,REGEX_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_GLOBAL:ae}=R(36949);N.isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);N.hasRegexChars=E=>ie.test(E);N.isRegexChar=E=>E.length===1&&N.hasRegexChars(E);N.escapeRegex=E=>E.replace(ae,"\\$1");N.toPosixSlashes=E=>E.replace(q,"/");N.removeBackslashes=E=>E.replace(G,(E=>E==="\\"?"":E));N.supportsLookbehinds=()=>{const E=process.version.slice(1).split(".").map(Number);if(E.length===3&&E[0]>=9||E[0]===8&&E[1]>=10){return true}return false};N.isWindows=E=>{if(E&&typeof E.windows==="boolean"){return E.windows}return $===true||j.sep==="\\"};N.escapeLast=(E,R,j)=>{const $=E.lastIndexOf(R,j);if($===-1)return E;if(E[$-1]==="\\")return N.escapeLast(E,R,$-1);return`${E.slice(0,$)}\\${E.slice($)}`};N.removePrefix=(E,N={})=>{let R=E;if(R.startsWith("./")){R=R.slice(2);N.prefix="./"}return R};N.wrapOutput=(E,N={},R={})=>{const j=R.contains?"":"^";const $=R.contains?"":"$";let q=`${j}(?:${E})${$}`;if(N.negated===true){q=`(?:^(?!${q}).*$)`}return q}},31998:(E,N,R)=>{E.exports=R(6113).randomBytes},24672:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;const{stringHints:j,numberHints:$}=R(47961);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,N){const R=E.reduce(((E,R)=>Math.max(E,N(R))),0);return E.filter((E=>N(E)===R))}function filterChildren(E){let N=E;N=filterMax(N,(E=>E.dataPath?E.dataPath.length:0));N=filterMax(N,(E=>q[E.keyword]||2));return N}function findAllChildren(E,N){let R=E.length-1;const predicate=N=>E[R].schemaPath.indexOf(N)!==0;while(R>-1&&!N.every(predicate)){if(E[R].keyword==="anyOf"||E[R].keyword==="oneOf"){const N=extractRefs(E[R]);const j=findAllChildren(E.slice(0,R),N.concat(E[R].schemaPath));R=j-1}else{R-=1}}return R+1}function extractRefs(E){const{schema:N}=E;if(!Array.isArray(N)){return[]}return N.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const N=[];let R=E.length-1;while(R>0){const j=E[R];if(j.keyword==="anyOf"||j.keyword==="oneOf"){const $=extractRefs(j);const q=findAllChildren(E.slice(0,R),$.concat(j.schemaPath));if(q!==R){N.push(Object.assign({},j,{children:E.slice(q,R)}));R=q}else{N.push(j)}}else{N.push(j)}R-=1}if(R===0){N.push(E[R])}return N.reverse()}function indent(E,N){return E.replace(/\n(?!$)/g,`\n${N}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const N=findFirstTypedSchema(E);return likeNumber(N)||likeInteger(N)||likeString(N)||likeNull(N)||likeBoolean(N)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,N){if(likeNumber(E)||likeInteger(E)){return $(E,N)}else if(likeString(E)){return j(E,N)}return[]}class ValidationError extends Error{constructor(E,N,R={}){super();this.name="ValidationError";this.errors=E;this.schema=N;let j;let $;if(N.title&&(!R.name||!R.baseDataPath)){const E=N.title.match(/^(.+) (.+)$/);if(E){if(!R.name){[,j]=E}if(!R.baseDataPath){[,,$]=E}}}this.headerName=R.name||j||"Object";this.baseDataPath=R.baseDataPath||$||"configuration";this.postFormatter=R.postFormatter||null;const q=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${q}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const N=E.split("/");let R=this.schema;for(let E=1;E{if(!$){return this.formatSchema(N,j,R)}if(R.includes(N)){return"(recursive)"}return this.formatSchema(N,j,R.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){j=!N;return formatInnerSchema(E.not)}const R=!E.not.not;const $=N?"":"non ";j=!N;return R?$+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:N}=E;const R=!Array.isArray(N)?[N]:N;return R.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:N,then:R,else:j}=E;return`${N?`if ${formatInnerSchema(N)}`:""}${R?` then ${formatInnerSchema(R)}`:""}${j?` else ${formatInnerSchema(j)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:j.length>0?`non-${R} | ${$}`:`non-${R}`}if(likeString(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:$==="string"?"non-string":`non-string | ${$}`}if(likeBoolean(E)){return`${N?"":"non-"}boolean`}if(likeArray(E)){j=true;const N=[];if(typeof E.minItems==="number"){N.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){N.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){N.push("should not have duplicate items")}const R=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let $="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){$=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(R){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){N.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){$=`${formatInnerSchema(E.items)}`}else{$="any"}}else{$="any"}if(E.contains&&Object.keys(E.contains).length>0){N.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${$}${R?", ...":""}]${N.length>0?` (${N.join(", ")})`:""}`}if(likeObject(E)){j=true;const N=[];if(typeof E.minProperties==="number"){N.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){N.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const R=Object.keys(E.patternProperties);N.push(`additional property names should match pattern${R.length>1?"s":""} ${R.map((E=>JSON.stringify(E))).join(" | ")}`)}const R=E.properties?Object.keys(E.properties):[];const $=E.required?E.required:[];const q=[...new Set([].concat($).concat(R))];const G=q.map((E=>{const N=$.includes(E);return`${E}${N?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ie,propertyNames:ae,patternRequired:ce}=E;if(ie){Object.keys(ie).forEach((E=>{const R=ie[E];if(Array.isArray(R)){N.push(`should have ${R.length>1?"properties":"property"} ${R.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{N.push(`should be valid according to the schema ${formatInnerSchema(R)} when property '${E}' is present`)}}))}if(ae&&Object.keys(ae).length>0){N.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(ce&&ce.length>0){N.push(`should have property matching pattern ${ce.map((E=>JSON.stringify(E)))}`)}return`object {${G?` ${G} `:""}}${N.length>0?` (${N.join(", ")})`:""}`}if(likeNull(E)){return`${N?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,N,R=false,j=true){if(!E){return""}if(Array.isArray(N)){for(let R=0;R ${E.description}`}if(E.link){$+=`\n-> Read more at ${E.link}`}return $}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}let N="";if(E.description){N+=`\n-> ${E.description}`}if(E.link){N+=`\n-> Read more at ${E.link}`}return N}formatValidationError(E){const{keyword:N,dataPath:R}=E;const j=`${this.baseDataPath}${R}`;switch(N){case"type":{const{parentSchema:N,params:R}=E;switch(R.type){case"number":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"integer":return`${j} should be an ${this.getSchemaPartText(N,false,true)}`;case"string":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"boolean":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"array":return`${j} should be an array:\n${this.getSchemaPartText(N)}`;case"object":return`${j} should be an object:\n${this.getSchemaPartText(N)}`;case"null":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;default:return`${j} should be:\n${this.getSchemaPartText(N)}`}}case"instanceof":{const{parentSchema:N}=E;return`${j} should be an instance of ${this.getSchemaPartText(N,false,true)}`}case"pattern":{const{params:N,parentSchema:R}=E;const{pattern:$}=N;return`${j} should match pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"format":{const{params:N,parentSchema:R}=E;const{format:$}=N;return`${j} should match format ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"formatMinimum":case"formatMaximum":{const{params:N,parentSchema:R}=E;const{comparison:$,limit:q}=N;return`${j} should be ${$} ${JSON.stringify(q)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:N,params:R}=E;const{comparison:$,limit:q}=R;const[,...G]=getHints(N,true);if(G.length===0){G.push(`should be ${$} ${q}`)}return`${j} ${G.join(" ")}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"multipleOf":{const{params:N,parentSchema:R}=E;const{multipleOf:$}=N;return`${j} should be multiple of ${$}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"patternRequired":{const{params:N,parentSchema:R}=E;const{missingPattern:$}=N;return`${j} should have property matching pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty string${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}const q=$-1;return`${j} should be longer than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty array${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty object${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;const q=$+1;return`${j} should be shorter than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"uniqueItems":{const{params:N,parentSchema:R}=E;const{i:$}=N;return`${j} should not contain the item '${E.data[$]}' twice${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"additionalItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}. These items are valid:\n${this.getSchemaPartText(R)}`}case"contains":{const{parentSchema:N}=E;return`${j} should contains at least one ${this.getSchemaPartText(N,["contains"])} item${getSchemaNonTypes(N)}.`}case"required":{const{parentSchema:N,params:R}=E;const $=R.missingProperty.replace(/^\./,"");const q=N&&Boolean(N.properties&&N.properties[$]);return`${j} misses the property '${$}'${getSchemaNonTypes(N)}.${q?` Should be:\n${this.getSchemaPartText(N,["properties",$])}`:this.getSchemaPartDescription(N)}`}case"additionalProperties":{const{params:N,parentSchema:R}=E;const{additionalProperty:$}=N;return`${j} has an unknown property '${$}'${getSchemaNonTypes(R)}. These properties are valid:\n${this.getSchemaPartText(R)}`}case"dependencies":{const{params:N,parentSchema:R}=E;const{property:$,deps:q}=N;const G=q.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${j} should have properties ${G} when property '${$}' is present${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"propertyNames":{const{params:N,parentSchema:R,schema:$}=E;const{propertyName:q}=N;return`${j} property name '${q}' is invalid${getSchemaNonTypes(R)}. Property names should be match format ${JSON.stringify($.format)}.${this.getSchemaPartDescription(R)}`}case"enum":{const{parentSchema:N}=E;if(N&&N.enum&&N.enum.length===1){return`${j} should be ${this.getSchemaPartText(N,false,true)}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"const":{const{parentSchema:N}=E;return`${j} should be equal to constant ${this.getSchemaPartText(N,false,true)}`}case"not":{const N=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const R=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${j} should be any ${R}${N}.`}const{schema:$,parentSchema:q}=E;return`${j} should not be ${this.getSchemaPartText($,false,true)}${q&&likeObject(q)?`\n${this.getSchemaPartText(q)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:N,children:R}=E;if(R&&R.length>0){if(E.schema.length===1){const E=R[R.length-1];const j=R.slice(0,R.length-1);return this.formatValidationError(Object.assign({},E,{children:j,parentSchema:Object.assign({},N,E.parentSchema)}))}let $=filterChildren(R);if($.length===1){return this.formatValidationError($[0])}$=groupChildrenByFirstChild($);return`${j} should be one of these:\n${this.getSchemaPartText(N)}\nDetails:\n${$.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"if":{const{params:N,parentSchema:R}=E;const{failingKeyword:$}=N;return`${j} should match "${$}" schema:\n${this.getSchemaPartText(R,[$])}`}case"absolutePath":{const{message:N,parentSchema:R}=E;return`${j}: ${N}${this.getSchemaPartDescription(R)}`}default:{const{message:N,parentSchema:R}=E;const $=JSON.stringify(E,null,2);return`${j} ${N} (${$}).\n${this.getSchemaPartText(R,false)}`}}}formatValidationErrors(E){return E.map((E=>{let N=this.formatValidationError(E);if(this.postFormatter){N=this.postFormatter(N,E)}return` - ${indent(N," ")}`})).join("\n")}}var G=ValidationError;N["default"]=G},15235:(E,N,R)=>{"use strict";const{validate:j,ValidationError:$}=R(18110);E.exports={validate:j,ValidationError:$}},77102:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function errorMessage(E,N,R){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:R},message:E,parentSchema:N}}function getErrorFor(E,N,R){const j=E?`The provided value ${JSON.stringify(R)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(R)} is an absolute path!`;return errorMessage(j,N,R)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,N){const callback=R=>{let j=true;const $=R.includes("!");if($){callback.errors=[errorMessage(`The provided value ${JSON.stringify(R)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,N,R)];j=false}const q=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(R);if(!q){callback.errors=[getErrorFor(E,N,R)];j=false}return j};callback.errors=[];return callback}});return E}var R=addAbsolutePathKeyword;N["default"]=R},95855:E=>{"use strict";class Range{static getOperator(E,N){if(E==="left"){return N?">":">="}return N?"<":"<="}static formatRight(E,N,R){if(N===false){return Range.formatLeft(E,!N,!R)}return`should be ${Range.getOperator("right",R)} ${E}`}static formatLeft(E,N,R){if(N===false){return Range.formatRight(E,!N,!R)}return`should be ${Range.getOperator("left",R)} ${E}`}static formatRange(E,N,R,j,$){let q="should be";q+=` ${Range.getOperator($?"left":"right",$?R:!R)} ${E} `;q+=$?"and":"or";q+=` ${Range.getOperator($?"right":"left",$?j:!j)} ${N}`;return q}static getRangeValue(E,N){let R=N?Infinity:-Infinity;let j=-1;const $=N?([E])=>E<=R:([E])=>E>=R;for(let N=0;N-1){return E[j]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,N=false){this._left.push([E,N])}right(E,N=false){this._right.push([E,N])}format(E=true){const[N,R]=Range.getRangeValue(this._left,E);const[j,$]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(N)&&!Number.isFinite(j)){return""}const q=R?N+1:N;const G=$?j-1:j;if(q===G){return`should be ${E?"":"!"}= ${q}`}if(Number.isFinite(N)&&!Number.isFinite(j)){return Range.formatLeft(N,E,R)}if(!Number.isFinite(N)&&Number.isFinite(j)){return Range.formatRight(j,E,$)}return Range.formatRange(N,j,R,$,E)}}E.exports=Range},47961:(E,N,R)=>{"use strict";const j=R(95855);E.exports.stringHints=function stringHints(E,N){const R=[];let j="string";const $={...E};if(!N){const E=$.minLength;const N=$.formatMinimum;const R=$.formatExclusiveMaximum;$.minLength=$.maxLength;$.maxLength=E;$.formatMinimum=$.formatMaximum;$.formatMaximum=N;$.formatExclusiveMaximum=!$.formatExclusiveMinimum;$.formatExclusiveMinimum=!R}if(typeof $.minLength==="number"){if($.minLength===1){j="non-empty string"}else{const E=Math.max($.minLength-1,0);R.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof $.maxLength==="number"){if($.maxLength===0){j="empty string"}else{const E=$.maxLength+1;R.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if($.pattern){R.push(`should${N?"":" not"} match pattern ${JSON.stringify($.pattern)}`)}if($.format){R.push(`should${N?"":" not"} match format ${JSON.stringify($.format)}`)}if($.formatMinimum){R.push(`should be ${$.formatExclusiveMinimum?">":">="} ${JSON.stringify($.formatMinimum)}`)}if($.formatMaximum){R.push(`should be ${$.formatExclusiveMaximum?"<":"<="} ${JSON.stringify($.formatMaximum)}`)}return[j].concat(R)};E.exports.numberHints=function numberHints(E,N){const R=[E.type==="integer"?"integer":"number"];const $=new j;if(typeof E.minimum==="number"){$.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){$.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){$.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){$.right(E.exclusiveMaximum,true)}const q=$.format(N);if(q){R.push(q)}if(typeof E.multipleOf==="number"){R.push(`should${N?"":" not"} be multiple of ${E.multipleOf}`)}return R}},18110:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.validate=validate;Object.defineProperty(N,"ValidationError",{enumerable:true,get:function(){return $.default}});var j=_interopRequireDefault(R(77102));var $=_interopRequireDefault(R(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const q=R(33866);const G=R(35525);const ie=new q({allErrors:true,verbose:true,$data:true});G(ie,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,j.default)(ie);function validate(E,N,R){let j=[];if(Array.isArray(N)){j=Array.from(N,(N=>validateObject(E,N)));j.forEach(((E,N)=>{const applyPrefix=E=>{E.dataPath=`[${N}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));j=j.reduce(((E,N)=>{E.push(...N);return E}),[])}else{j=validateObject(E,N)}if(j.length>0){throw new $.default(j,E,R)}}function validateObject(E,N){const R=ie.compile(E);const j=R(N);if(j)return[];return R.errors?filterErrors(R.errors):[]}function filterErrors(E){let N=[];for(const R of E){const{dataPath:E}=R;let j=[];N=N.filter((N=>{if(N.dataPath.includes(E)){if(N.children){j=j.concat(N.children.slice(0))}N.children=undefined;j.push(N);return false}return true}));if(j.length){R.children=j}N.push(R)}return N}},22284:(E,N,R)=>{E=R.nmd(E);var j=R(99596).SourceMapConsumer;var $=R(71017);var q;try{q=R(57147);if(!q.existsSync||!q.readFileSync){q=null}}catch(E){}var G=R(86650);function dynamicRequire(E,N){return E.require(N)}var ie=false;var ae=false;var ce=false;var le="auto";var _e={};var Ee={};var Te=/^data:application\/json[^,]+base64,/;var we=[];var Ie=[];function isInBrowser(){if(le==="browser")return true;if(le==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(E){return function(N){for(var R=0;R"}var R=this.getLineNumber();if(R!=null){N+=":"+R;var j=this.getColumnNumber();if(j){N+=":"+j}}}var $="";var q=this.getFunctionName();var G=true;var ie=this.isConstructor();var ae=!(this.isToplevel()||ie);if(ae){var ce=this.getTypeName();if(ce==="[object Object]"){ce="null"}var le=this.getMethodName();if(q){if(ce&&q.indexOf(ce)!=0){$+=ce+"."}$+=q;if(le&&q.indexOf("."+le)!=q.length-le.length-1){$+=" [as "+le+"]"}}else{$+=ce+"."+(le||"")}}else if(ie){$+="new "+(q||"")}else if(q){$+=q}else{$+=N;G=false}if(G){$+=" ("+N+")"}return $}function cloneCallSite(E){var N={};Object.getOwnPropertyNames(Object.getPrototypeOf(E)).forEach((function(R){N[R]=/^(?:is|get)/.test(R)?function(){return E[R].call(E)}:E[R]}));N.toString=CallSiteToString;return N}function wrapCallSite(E,N){if(N===undefined){N={nextPosition:null,curPosition:null}}if(E.isNative()){N.curPosition=null;return E}var R=E.getFileName()||E.getScriptNameOrSourceURL();if(R){var j=E.getLineNumber();var $=E.getColumnNumber()-1;var q=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var G=q.test(process.version)?0:62;if(j===1&&$>G&&!isInBrowser()&&!E.isEval()){$-=G}var ie=mapSourcePosition({source:R,line:j,column:$});N.curPosition=ie;E=cloneCallSite(E);var ae=E.getFunctionName;E.getFunctionName=function(){if(N.nextPosition==null){return ae()}return N.nextPosition.name||ae()};E.getFileName=function(){return ie.source};E.getLineNumber=function(){return ie.line};E.getColumnNumber=function(){return ie.column+1};E.getScriptNameOrSourceURL=function(){return ie.source};return E}var ce=E.isEval()&&E.getEvalOrigin();if(ce){ce=mapEvalOrigin(ce);E=cloneCallSite(E);E.getEvalOrigin=function(){return ce};return E}return E}function prepareStackTrace(E,N){if(ce){_e={};Ee={}}var R=E.name||"Error";var j=E.message||"";var $=R+": "+j;var q={nextPosition:null,curPosition:null};var G=[];for(var ie=N.length-1;ie>=0;ie--){G.push("\n at "+wrapCallSite(N[ie],q));q.nextPosition=q.curPosition}q.curPosition=q.nextPosition=null;return $+G.reverse().join("")}function getErrorSource(E){var N=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(E.stack);if(N){var R=N[1];var j=+N[2];var $=+N[3];var G=_e[R];if(!G&&q&&q.existsSync(R)){try{G=q.readFileSync(R,"utf8")}catch(E){G=""}}if(G){var ie=G.split(/(?:\r\n|\r|\n)/)[j-1];if(ie){return R+":"+j+"\n"+ie+"\n"+new Array($).join(" ")+"^"}}}return null}function printErrorAndExit(E){var N=getErrorSource(E);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(N){console.error();console.error(N)}console.error(E.stack);process.exit(1)}function shimEmitUncaughtException(){var E=process.emit;process.emit=function(N){if(N==="uncaughtException"){var R=arguments[1]&&arguments[1].stack;var j=this.listeners(N).length>0;if(R&&!j){return printErrorAndExit(arguments[1])}}return E.apply(this,arguments)}}var Le=we.slice(0);var Be=Ie.slice(0);N.wrapCallSite=wrapCallSite;N.getErrorSource=getErrorSource;N.mapSourcePosition=mapSourcePosition;N.retrieveSourceMap=Me;N.install=function(N){N=N||{};if(N.environment){le=N.environment;if(["node","browser","auto"].indexOf(le)===-1){throw new Error("environment "+le+" was unknown. Available options are {auto, browser, node}")}}if(N.retrieveFile){if(N.overrideRetrieveFile){we.length=0}we.unshift(N.retrieveFile)}if(N.retrieveSourceMap){if(N.overrideRetrieveSourceMap){Ie.length=0}Ie.unshift(N.retrieveSourceMap)}if(N.hookRequire&&!isInBrowser()){var R=dynamicRequire(E,"module");var j=R.prototype._compile;if(!j.__sourceMapSupport){R.prototype._compile=function(E,N){_e[N]=E;Ee[N]=undefined;return j.call(this,E,N)};R.prototype._compile.__sourceMapSupport=true}}if(!ce){ce="emptyCacheBetweenOperations"in N?N.emptyCacheBetweenOperations:false}if(!ie){ie=true;Error.prepareStackTrace=prepareStackTrace}if(!ae){var $="handleUncaughtExceptions"in N?N.handleUncaughtExceptions:true;try{var q=dynamicRequire(E,"worker_threads");if(q.isMainThread===false){$=false}}catch(E){}if($&&hasGlobalProcessEventEmitter()){ae=true;shimEmitUncaughtException()}}};N.resetRetrieveHandlers=function(){we.length=0;Ie.length=0;we=Le.slice(0);Ie=Be.slice(0);Me=handlerExec(Ie);Ne=handlerExec(we)}},26837:(E,N,R)=>{var j=R(31983);var $=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,N){var R=new ArraySet;for(var j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R};ArraySet.prototype.size=function ArraySet_size(){return q?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(E,N){var R=q?E:j.toSetString(E);var G=q?this.has(E):$.call(this._set,R);var ie=this._array.length;if(!G||N){this._array.push(E)}if(!G){if(q){this._set.set(E,ie)}else{this._set[R]=ie}}};ArraySet.prototype.has=function ArraySet_has(E){if(q){return this._set.has(E)}else{var N=j.toSetString(E);return $.call(this._set,N)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(E){if(q){var N=this._set.get(E);if(N>=0){return N}}else{var R=j.toSetString(E);if($.call(this._set,R)){return this._set[R]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var j=R(96537);var $=5;var q=1<<$;var G=q-1;var ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){var N=(E&1)===1;var R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){var N="";var R;var q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N};N.decode=function base64VLQ_decode(E,N,R){var q=E.length;var ae=0;var ce=0;var le,_e;do{if(N>=q){throw new Error("Expected more digits in base 64 VLQ value.")}_e=j.decode(E.charCodeAt(N++));if(_e===-1){throw new Error("Invalid base64 digit: "+E.charAt(N-1))}le=!!(_e&ie);_e&=G;ae=ae+(_e<{var R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){var ie=Math.floor((R-E)/2)+E;var ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}else{return ie}}else{if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}N.search=function search(E,R,j,$){if(R.length===0){return-1}var q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},91740:(E,N,R)=>{var j=R(31983);function generatedPositionAfter(E,N){var R=E.generatedLine;var $=N.generatedLine;var q=E.generatedColumn;var G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,N){this._array.forEach(E,N)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};N.H=MappingList},68226:(E,N)=>{function swap(E,N,R){var j=E[N];E[N]=E[R];E[R]=j}function randomIntInRange(E,N){return Math.round(E+Math.random()*(N-E))}function doQuickSort(E,N,R,j){if(R{var j;var $=R(31983);var q=R(53164);var G=R(26837).I;var ie=R(4215);var ae=R(68226).U;function SourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}return R.sections!=null?new IndexedSourceMapConsumer(R,N):new BasicSourceMapConsumer(R,N)}SourceMapConsumer.fromSourceMap=function(E,N){return BasicSourceMapConsumer.fromSourceMap(E,N)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,N){var R=E.charAt(N);return R===";"||R===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,N,R){var j=N||null;var q=R||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var N=E.source===null?null:this._sources.at(E.source);N=$.computeSourceURL(ie,N,this._sourceMapURL);return{source:N,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,j)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var N=$.getArg(E,"line");var R={source:$.getArg(E,"source"),originalLine:N,originalColumn:$.getArg(E,"column",0)};R.source=this._findSourceIndex(R.source);if(R.source<0){return[]}var j=[];var G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var ce=ie.originalColumn;while(ie&&ie.originalLine===N&&ie.originalColumn==ce){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return j};N.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sources");var ie=$.getArg(R,"names",[]);var ae=$.getArg(R,"sourceRoot",null);var ce=$.getArg(R,"sourcesContent",null);var le=$.getArg(R,"mappings");var _e=$.getArg(R,"file",null);if(j!=this._version){throw new Error("Unsupported version: "+j)}if(ae){ae=$.normalize(ae)}q=q.map(String).map($.normalize).map((function(E){return ae&&$.isAbsolute(ae)&&$.isAbsolute(E)?$.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return $.computeSourceURL(ae,E,N)}));this.sourceRoot=ae;this.sourcesContent=ce;this._mappings=le;this._sourceMapURL=N;this.file=_e}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}var R;for(R=0;R1){Me.source=ce+Be[1];ce+=Be[1];Me.originalLine=q+Be[2];q=Me.originalLine;Me.originalLine+=1;Me.originalColumn=G+Be[3];G=Me.originalColumn;if(Be.length>4){Me.name=le+Be[4];le+=Be[4]}}Ne.push(Me);if(typeof Me.originalLine==="number"){Ie.push(Me)}}}ae(Ne,$.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Ie,$.compareByOriginalPositions);this.__originalMappings=Ie};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,N,R,j,$,G){if(E[R]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[R])}if(E[j]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[j])}return q.search(E,N,$,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var j=this._generatedMappings[R];if(j.generatedLine===N.generatedLine){var q=$.getArg(j,"source",null);if(q!==null){q=this._sources.at(q);q=$.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=$.getArg(j,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,N){if(!this.sourcesContent){return null}var R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}var j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}var q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){var G=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}else{throw new Error('"'+j+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}var R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};var j=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(j>=0){var q=this._originalMappings[j];if(q.source===R.source){return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:$.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};j=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sections");if(j!=this._version){throw new Error("Unsupported version: "+j)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var R=$.getArg(E,"offset");var j=$.getArg(R,"line");var q=$.getArg(R,"column");if(j{var j=R(4215);var $=R(31983);var q=R(26837).I;var G=R(91740).H;function SourceMapGenerator(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var N=E.sourceRoot;var R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){var j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){var q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}var G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var N=$.getArg(E,"generated");var R=$.getArg(E,"original",null);var j=$.getArg(E,"source",null);var q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,N){var R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,N,R){var j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}var G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){var q=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(q.source!=null){N.source=q.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=q.line;N.originalColumn=q.column;if(q.name!=null){N.name=q.name}}}var ce=N.source;if(ce!=null&&!ie.has(ce)){ie.add(ce)}var le=N.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){var j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){return}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var N=1;var R=0;var q=0;var G=0;var ie=0;var ae="";var ce;var le;var _e;var Ee;var Te=this._mappings.toArray();for(var we=0,Ie=Te.length;we0){if(!$.compareByGeneratedPositionsInflated(le,Te[we-1])){continue}ce+=","}}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Ee=this._sources.indexOf(le.source);ce+=j.encode(Ee-ie);ie=Ee;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}var R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};N.SourceMapGenerator=SourceMapGenerator},9990:(E,N,R)=>{var j=R(11341).SourceMapGenerator;var $=R(31983);var q=/(\r?\n)/;var G=10;var ie="$$$isSourceNode$$$";function SourceNode(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,N,R){var j=new SourceNode;var G=E.split(q);var ie=0;var shiftNextLine=function(){var E=getNextLine();var N=getNextLine()||"";return E+N;function getNextLine(){return ie=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var N;for(var R=0,j=this.children.length;R0){N=[];for(R=0;R{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}else{throw new Error('"'+N+'" is a required argument.')}}N.getArg=getArg;var R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var j=/^data:.+\,.+$/;function urlParse(E){var N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){var N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;function normalize(E){var R=E;var j=urlParse(E);if(j){if(!j.path){return E}R=j.path}var $=N.isAbsolute(R);var q=R.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}N.normalize=normalize;function join(E,N){if(E===""){E="."}if(N===""){N="."}var R=urlParse(N);var $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}var q=N.charAt(0)==="/"?N:normalize(E.replace(/\/+$/,"")+"/"+N);if($){$.path=q;return urlGenerate($)}return q}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");var R=0;while(N.indexOf(E+"/")!==0){var j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;var $=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=$?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=$?identity:fromSetString;function isProtoString(E){if(!E){return false}var N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(var R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){var j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){var j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){var R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){var j=urlParse(R);if(!j){throw new Error("sourceMapURL could not be parsed")}if(j.path){var $=j.path.lastIndexOf("/");if($>=0){j.path=j.path.substring(0,$+1)}}N=join(urlGenerate(j),N)}return normalize(N)}N.computeSourceURL=computeSourceURL},99596:(E,N,R)=>{N.SourceMapGenerator=R(11341).SourceMapGenerator;N.SourceMapConsumer=R(86327).SourceMapConsumer;N.SourceNode=R(9990).SourceNode},96204:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){ie=1}else if(G.FORCE_COLOR==="false"){ie=0}else{ie=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,N){if(ie===0){return 0}if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}if(E&&!N&&ie===undefined){return 0}const R=ie||0;if(G.TERM==="dumb"){return R}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return R}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return R}function getSupportLevel(E){const N=supportsColor(E,E&&E.isTTY);return translateLevel(N)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,$.isatty(1))),stderr:translateLevel(supportsColor(true,$.isatty(2)))}},78802:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelBailHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){let j="";j+=`var _results = new Array(${this.options.taps.length});\n`;j+="var _checkDone = function() {\n";j+="for(var i = 0; i < _results.length; i++) {\n";j+="var item = _results[i];\n";j+="if(item === undefined) return false;\n";j+="if(item.result !== undefined) {\n";j+=N("item.result");j+="return true;\n";j+="}\n";j+="if(item.error) {\n";j+=E("item.error");j+="return true;\n";j+="}\n";j+="}\n";j+="return false;\n";j+="}\n";j+=this.callTapsParallel({onError:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onResult:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && (${N} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onTap:(E,N,R,j)=>{let $="";if(E>0){$+=`if(${E} >= _results.length) {\n`;$+=R();$+="} else {\n"}$+=N();if(E>0)$+="}\n";return $},onDone:R});return j}}const q=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsParallel({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncParallelHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)}\n} else {\n${j()}}\n`,resultReturns:R,onDone:j})}}const q=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesLoopHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsLooping({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesLoopHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0])})}}const q=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=AsyncSeriesWaterfallHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],N=undefined){this._args=E;this.name=N;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,N,R){if(typeof N==="string"){N={name:N.trim()}}else if(typeof N!=="object"||N===null){throw new Error("Invalid tap options")}if(typeof N.name!=="string"||N.name===""){throw new Error("Missing name for tap")}if(typeof N.context!=="undefined"){$()}N=Object.assign({type:E,fn:R},N);N=this._runRegisterInterceptors(N);this._insert(N)}tap(E,N){this._tap("sync",E,N)}tapAsync(E,N){this._tap("async",E,N)}tapPromise(E,N){this._tap("promise",E,N)}_runRegisterInterceptors(E){for(const N of this.interceptors){if(N.register){const R=N.register(E);if(R!==undefined){E=R}}}return E}withOptions(E){const mergeOptions=N=>Object.assign({},E,typeof N==="string"?{name:N}:N);return{name:this.name,tap:(E,N)=>this.tap(mergeOptions(E),N),tapAsync:(E,N)=>this.tapAsync(mergeOptions(E),N),tapPromise:(E,N)=>this.tapPromise(mergeOptions(E),N),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let N=0;N0){j--;const E=this.taps[j];this.taps[j+1]=E;const $=E.stage||0;if(N){if(N.has(E.name)){N.delete(E.name);continue}if(N.size>0){continue}}if($>R){continue}j++;break}this.taps[j]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let N;switch(this.options.type){case"sync":N=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":N=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const R=this.contentWithInterceptors({onError:N=>{E=true;return`_error(${N});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let j="";j+='"use strict";\n';j+=this.header();j+="return new Promise((function(_resolve, _reject) {\n";if(E){j+="var _sync = true;\n";j+="function _error(_err) {\n";j+="if(_sync)\n";j+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";j+="else\n";j+="_reject(_err);\n";j+="};\n"}j+=R;if(E){j+="_sync = false;\n"}j+="}));\n";N=new Function(this.args(),j);break}this.deinit();return N}setup(E,N){E._x=N.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const N=E.onError;const R=E.onResult;const j=E.onDone;let $="";for(let E=0;E{let R="";for(let N=0;N{let N="";for(let R=0;R{let E="";for(let N=0;N0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:N,onResult:R,onDone:j,rethrowIfPossible:$}){let q="";let G=false;for(let N=0;NE.type!=="sync"));const ie=R||$;let ae="";let ce=j;let le=0;for(let R=this.options.taps.length-1;R>=0;R--){const $=R;const _e=ce!==j&&(this.options.taps[$].type!=="sync"||le++>20);if(_e){le=0;ae+=`function _next${$}() {\n`;ae+=ce();ae+=`}\n`;ce=()=>`${ie?"return ":""}_next${$}();\n`}const Ee=ce;const doneBreak=E=>{if(E)return"";return j()};const Te=this.callTap($,{onError:N=>E($,N,Ee,doneBreak),onResult:N&&(E=>N($,E,Ee,doneBreak)),onDone:!N&&Ee,rethrowIfPossible:q&&(G<0||$Te}ae+=ce();return ae}callTapsLooping({onError:E,onDone:N,rethrowIfPossible:R}){if(this.options.taps.length===0)return N();const j=this.options.taps.every((E=>E.type==="sync"));let $="";if(!j){$+="var _looper = (function() {\n";$+="var _loopAsync = false;\n"}$+="var _loop;\n";$+="do {\n";$+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${N} !== undefined) {\n`;q+="_loop = true;\n";if(!j)q+="if(_loopAsync) _looper();\n";q+=$(true);q+=`} else {\n`;q+=R();q+=`}\n`;return q},onDone:N&&(()=>{let E="";E+="if(!_loop) {\n";E+=N();E+="}\n";return E}),rethrowIfPossible:R&&j});$+="} while(_loop);\n";if(!j){$+="_loopAsync = true;\n";$+="});\n";$+="_looper();\n"}return $}callTapsParallel({onError:E,onResult:N,onDone:R,rethrowIfPossible:j,onTap:$=((E,N)=>N())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:N,onDone:R,rethrowIfPossible:j})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(R){q+="var _done = (function() {\n";q+=R();q+="});\n"}for(let G=0;G{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=$(G,(()=>this.callTap(G,{onError:N=>{let R="";R+="if(_counter > 0) {\n";R+=E(G,N,done,doneBreak);R+="}\n";return R},onResult:N&&(E=>{let R="";R+="if(_counter > 0) {\n";R+=N(G,E,done,doneBreak);R+="}\n";return R}),onDone:!N&&(()=>done()),rethrowIfPossible:j})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:N}={}){let R=this._args;if(E)R=[E].concat(R);if(N)R=R.concat(N);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,N,R)=>{"use strict";const j=R(73837);const defaultFactory=(E,N)=>N;class HookMap{constructor(E,N=undefined){this._map=new Map;this.name=N;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const N=this.get(E);if(N!==undefined){return N}let R=this._factory(E);const j=this._interceptors;for(let N=0;N{"use strict";const j=R(67332);class MultiHook{constructor(E,N=undefined){this.hooks=E;this.name=N}tap(E,N){for(const R of this.hooks){R.tap(E,N)}}tapAsync(E,N){for(const R of this.hooks){R.tapAsync(E,N)}}tapPromise(E,N){for(const R of this.hooks){R.tapPromise(E,N)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const N of this.hooks){N.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((N=>N.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j,rethrowIfPossible:$}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j,rethrowIfPossible:$})}}const q=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncBailHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsSeries({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncLoopHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsLooping({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncLoopHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,rethrowIfPossible:j}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0]),doneReturns:R,rethrowIfPossible:j})}}const q=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=SyncWaterfallHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,N,R)=>{"use strict";N.__esModule=true;N.SyncHook=R(6728);N.SyncBailHook=R(3334);N.SyncWaterfallHook=R(81934);N.SyncLoopHook=R(52332);N.AsyncParallelHook=R(3350);N.AsyncParallelBailHook=R(78802);N.AsyncSeriesHook=R(68152);N.AsyncSeriesBailHook=R(4953);N.AsyncSeriesLoopHook=R(25810);N.AsyncSeriesWaterfallHook=R(66760);N.HookMap=R(28636);N.MultiHook=R(20937)},96013:(E,N,R)=>{"use strict";const j=R(98225);E.exports=j.default},98225:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireWildcard(R(71017));var $=_interopRequireWildcard(R(22037));var q=R(99596);var G=R(15235);var ie=_interopRequireDefault(R(35764));var ae=_interopRequireWildcard(R(54703));var ce=_interopRequireDefault(R(97909));var le=R(69419);var _e=_interopRequireWildcard(R(11519));var Ee=R(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}class TerserPlugin{constructor(E={}){(0,G.validate)(_e,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:N,terserOptions:R={},test:j=/\.[cm]?js(\?.*)?$/i,extractComments:$=true,parallel:q=true,include:ie,exclude:ae}=E;this.options={test:j,extractComments:$,parallel:q,include:ie,exclude:ae,minify:N,terserOptions:R}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,N,R,j){if(E.line){const $=j&&j.originalPositionFor({line:E.line,column:E.col});if($&&$.source&&R){return new Error(`${N} from Terser\n${E.message} [${R.shorten($.source)}:${$.line},${$.column}][${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${N} from Terser\n${E.message} [${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${N} from Terser\n${E.stack}`)}return new Error(`${N} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const N=$.cpus()||{length:1};return E===true?N.length-1:Math.min(Number(E)||0,N.length-1)}async optimize(E,N,$,G){const ae=N.getCache("TerserWebpackPlugin");let _e=0;const Te=await Promise.all(Object.keys($).filter((R=>{const{info:j}=N.getAsset(R);if(j.minimized||j.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(R)){return false}return true})).map((async E=>{const{info:R,source:j}=N.getAsset(E);const $=ae.getLazyHashedEtag(j);const q=ae.getItemCache(E,$);const G=await q.getPromise();if(!G){_e+=1}return{name:E,info:R,inputSource:j,output:G,cacheItem:q}})));let we;let Ie;let Ne;if(G.availableNumberOfCores>0){Ne=Math.min(_e,G.availableNumberOfCores);we=()=>{if(Ie){return Ie}Ie=new le.Worker(R.ab+"minify.js",{numWorkers:Ne,enableWorkerThreads:true});const E=Ie.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const N=Ie.getStderr();if(N){N.on("data",(E=>process.stderr.write(E)))}return Ie}}const Me=(0,ce.default)(we&&_e>0?Ne:Infinity);const{SourceMapSource:Le,ConcatSource:Be,RawSource:je}=E.webpack.sources;const Ue=new Map;const ze=[];for(const E of Te){ze.push(Me((async()=>{const{name:R,inputSource:$,info:G,cacheItem:ae}=E;let{output:ce}=E;if(!ce){let E;let le;const{source:_e,map:Te}=$.sourceAndMap();E=_e;if(Te){if(TerserPlugin.isSourceMap(Te)){le=Te}else{le=Te;N.warnings.push(new Error(`${R} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Ie={name:R,input:E,inputSourceMap:le,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Ie.minifyOptions.module==="undefined"){if(typeof G.javascriptModule!=="undefined"){Ie.minifyOptions.module=G.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=false}}try{ce=await(we?we().transform((0,ie.default)(Ie)):(0,Ee.minify)(Ie))}catch(E){const j=le&&TerserPlugin.isSourceMap(le);N.errors.push(TerserPlugin.buildError(E,R,j?N.requestShortener:undefined,j?new q.SourceMapConsumer(le):undefined));return}let Ne;if(this.options.extractComments.banner!==false&&ce.extractedComments&&ce.extractedComments.length>0&&ce.code.startsWith("#!")){const E=ce.code.indexOf("\n");Ne=ce.code.substring(0,E);ce.code=ce.code.substring(E+1)}if(ce.map){ce.source=new Le(ce.code,R,ce.map,E,le,true)}else{ce.source=new je(ce.code)}if(ce.extractedComments&&ce.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let $="";let q=R;const G=q.indexOf("?");if(G>=0){$=q.substr(G);q=q.substr(0,G)}const ie=q.lastIndexOf("/");const ae=ie===-1?q:q.substr(ie+1);const le={filename:q,basename:ae,query:$};ce.commentsFilename=N.getPath(E,le);let _e;if(this.options.extractComments.banner!==false){_e=this.options.extractComments.banner||`For license information please see ${j.relative(j.dirname(R),ce.commentsFilename).replace(/\\/g,"/")}`;if(typeof _e==="function"){_e=_e(ce.commentsFilename)}if(_e){ce.source=new Be(Ne?`${Ne}\n`:"",`/*! ${_e} */\n`,ce.source)}}const Ee=ce.extractedComments.sort().join("\n\n");ce.extractedCommentsSource=new je(`${Ee}\n`)}await ae.storePromise({source:ce.source,commentsFilename:ce.commentsFilename,extractedCommentsSource:ce.extractedCommentsSource})}const le={minimized:true};const{source:_e,extractedCommentsSource:Te}=ce;if(Te){const{commentsFilename:E}=ce;le.related={license:E};Ue.set(R,{extractedCommentsSource:Te,commentsFilename:E})}N.updateAsset(R,_e,le)})))}await Promise.all(ze);if(Ie){await Ie.end()}await Array.from(Ue).sort().reduce((async(E,[R,j])=>{const $=await E;const{commentsFilename:q,extractedCommentsSource:G}=j;if($&&$.commentsFilename===q){const{from:E,source:j}=$;const ie=`${E}|${R}`;const ce=`${q}|${ie}`;const le=[j,G].map((E=>ae.getLazyHashedEtag(E))).reduce(((E,N)=>ae.mergeEtags(E,N)));let _e=await ae.getPromise(ce,le);if(!_e){_e=new Be(Array.from(new Set([...j.source().split("\n\n"),...G.source().split("\n\n")])).join("\n\n"));await ae.storePromise(ce,le,_e)}N.updateAsset(q,_e);return{source:_e,commentsFilename:q,from:ie}}const ie=N.getAsset(q);if(ie){return{source:ie.source,commentsFilename:q,from:q}}N.emitAsset(q,G,{extractedComments:true});return{source:G,commentsFilename:q,from:R}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:N}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(N.environment||{})}const R=this.constructor.name;const j=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(R,(N=>{const $=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(N);const q=(0,ie.default)({terser:ae.version,terserOptions:this.options.terserOptions});$.chunkHash.tap(R,((E,N)=>{N.update("TerserPlugin");N.update(q)}));N.hooks.processAssets.tapPromise({name:R,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(R=>this.optimize(E,N,R,{availableNumberOfCores:j})));N.hooks.statsPrinter.tap(R,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:N,formatFlag:R})=>E?N(R("minimized")):""))}))}))}}var Te=TerserPlugin;N["default"]=Te},6218:(E,N,R)=>{"use strict";E=R.nmd(E);const{minify:j}=R(44858);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const N=typeof E;return E!=null&&(N==="object"||N==="function")}function buildComments(E,N,R){const j={};let $;if(N.format){({comments:$}=N.format)}else if(N.output){({comments:$}=N.output)}j.preserve=typeof $!=="undefined"?$:false;if(typeof E==="boolean"&&E){j.extract="some"}else if(typeof E==="string"||E instanceof RegExp){j.extract=E}else if(typeof E==="function"){j.extract=E}else if(E&&isObject(E)){j.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{j.preserve=typeof $!=="undefined"?$:"some";j.extract=false}["preserve","extract"].forEach((E=>{let N;let R;switch(typeof j[E]){case"boolean":j[E]=j[E]?()=>true:()=>false;break;case"function":break;case"string":if(j[E]==="all"){j[E]=()=>true;break}if(j[E]==="some"){j[E]=(E,N)=>(N.type==="comment2"||N.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(N.value);break}N=j[E];j[E]=(E,R)=>new RegExp(N).test(R.value);break;default:R=j[E];j[E]=(E,N)=>R.test(N.value)}}));return(E,N)=>{if(j.extract(E,N)){const E=N.type==="comment2"?`/*${N.value}*/`:`//${N.value}`;if(!R.includes(E)){R.push(E)}}return j.preserve(E,N)}}async function minify(E){const{name:N,input:R,inputSourceMap:$,minify:q,minifyOptions:G}=E;if(q){return q({[N]:R},$,G)}const ie=buildTerserOptions(G);if($){ie.sourceMap={asObject:true}}const ae=[];const{extractComments:ce}=E;if(ie.output){ie.output.comments=buildComments(ce,ie,ae)}else if(ie.format){ie.format.comments=buildComments(ce,ie,ae)}const le=await j({[N]:R},ie);return{...le,extractedComments:ae}}function transform(R){const j=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${R}`)(N,require,E,__filename,__dirname);return minify(j)}E.exports.minify=minify;E.exports.transform=transform},97909:(E,N,R)=>{"use strict";const j=R(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const N=new j;let R=0;const next=()=>{R--;if(N.size>0){N.dequeue()()}};const run=async(E,N,...j)=>{R++;const $=(async()=>E(...j))();N($);try{await $}catch{}next()};const enqueue=(j,$,...q)=>{N.enqueue(run.bind(null,j,$,...q));(async()=>{await Promise.resolve();if(R0){N.dequeue()()}})()};const generator=(E,...N)=>new Promise((R=>{enqueue(E,R,...N)}));Object.defineProperties(generator,{activeCount:{get:()=>R},pendingCount:{get:()=>N.size},clearQueue:{value:()=>{N.clear()}}});return generator};E.exports=pLimit},35764:(E,N,R)=>{"use strict";var j=R(31998);var $=16;var q=generateUID();var G=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+q+'-(\\d+)__@"',"g");var ie=/\{\s*\[native code\]\s*\}/g;var ae=/function.*?\(/;var ce=/.*?=>.*?/;var le=/[<>\/\u2028\u2029]/g;var _e=["*","async"];var Ee={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return Ee[E]}function generateUID(){var E=j($);var N="";for(var R=0;R<$;++R){N+=E[R].toString(16)}return N}function deleteFunctions(E){var N=[];for(var R in E){if(typeof E[R]==="function"){N.push(R)}}for(var j=0;j0}));var $=j.filter((function(E){return _e.indexOf(E)===-1}));if($.length>0){return(j.indexOf("async")>-1?"async ":"")+"function"+(j.join("").indexOf("*")>-1?"*":"")+N.substr(R)}return N}if(N.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var Be;if(N.isJSON&&!N.space){Be=JSON.stringify(E)}else{Be=JSON.stringify(E,N.isJSON?null:replacer,N.space)}if(typeof Be!=="string"){return String(Be)}if(N.unsafe!==true){Be=Be.replace(le,escapeUnsafeChars)}if(R.length===0&&j.length===0&&$.length===0&&Ee.length===0&&Te.length===0&&we.length===0&&Ie.length===0&&Ne.length===0&&Me.length===0&&Le.length===0){return Be}return Be.replace(G,(function(E,q,G,ie){if(q){return E}if(G==="D"){return'new Date("'+$[ie].toISOString()+'")'}if(G==="R"){return"new RegExp("+serialize(j[ie].source)+', "'+j[ie].flags+'")'}if(G==="M"){return"new Map("+serialize(Array.from(Ee[ie].entries()),N)+")"}if(G==="S"){return"new Set("+serialize(Array.from(Te[ie].values()),N)+")"}if(G==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:we[ie].length},we[ie]),N)+")"}if(G==="U"){return"undefined"}if(G==="I"){return Ne[ie]}if(G==="B"){return'BigInt("'+Me[ie]+'")'}if(G==="L"){return'new URL("'+Le[ie].toString()+'")'}var ae=R[ie];return serializeFunc(ae)}))}},85431:(E,N)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,N){const R=new ArraySet;for(let j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R}size(){return this._set.size}add(E,N){const R=this.has(E);const j=this._array.length;if(!R||N){this._array.push(E)}if(!R){this._set.set(E,j)}}has(E){return this._set.has(E)}indexOf(E){const N=this._set.get(E);if(N>=0){return N}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const j=R(45210);const $=5;const q=1<<$;const G=q-1;const ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){const N=(E&1)===1;const R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){let N="";let R;let q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N}},45210:(E,N)=>{const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){const ie=Math.floor((R-E)/2)+E;const ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}return ie}if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}return E<0?-1:E}N.search=function search(E,R,j,$){if(R.length===0){return-1}let q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},48935:(E,N,R)=>{const j=R(53033);function generatedPositionAfter(E,N){const R=E.generatedLine;const $=N.generatedLine;const q=E.generatedColumn;const G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,N){this._array.forEach(E,N)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}N.H=MappingList},92256:(E,N,R)=>{if(typeof fetch==="function"){let N=null;E.exports=function readWasm(){if(typeof N!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(N).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>N=E}else{const N=R(57147);const j=R(71017);E.exports=function readWasm(){return new Promise(((E,j)=>{const $=R.ab+"mappings.wasm";N.readFile(R.ab+"mappings.wasm",null,((N,R)=>{if(N){j(N);return}E(R.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,N,R)=>{var j;const $=R(53033);const q=R(31850);const G=R(85431).I;const ie=R(2635);const ae=R(92256);const ce=R(7059);const le=Symbol("smcInternal");class SourceMapConsumer{constructor(E,N){if(E==le){return Promise.resolve(this)}return _factory(E,N)}static initialize(E){ae.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,N){return _factoryBSM(E,N)}static with(E,N,R){let j=null;const $=new SourceMapConsumer(E,N);return $.then((E=>{j=E;return R(E)})).then((E=>{if(j){j.destroy()}return E}),(E=>{if(j){j.destroy()}throw E}))}_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,N,R){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;N.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");let ie=$.getArg(j,"sources");const ae=$.getArg(j,"names",[]);let le=$.getArg(j,"sourceRoot",null);const _e=$.getArg(j,"sourcesContent",null);const Ee=$.getArg(j,"mappings");const Te=$.getArg(j,"file",null);if(q!=R._version){throw new Error("Unsupported version: "+q)}if(le){le=$.normalize(le)}ie=ie.map(String).map($.normalize).map((function(E){return le&&$.isAbsolute(le)&&$.isAbsolute(E)?$.relative(le,E):E}));R._names=G.fromArray(ae.map(String),true);R._sources=G.fromArray(ie,true);R._absoluteSources=R._sources.toArray().map((function(E){return $.computeSourceURL(le,E,N)}));R.sourceRoot=le;R.sourcesContent=_e;R._mappings=Ee;R._sourceMapURL=N;R.file=Te;R._computedColumnSpans=false;R._mappingsPtr=0;R._wasm=null;return ce().then((E=>{R._wasm=E;return R}))}))}_findSourceIndex(E){let N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}for(let N=0;N{if(N.source!==null){N.source=this._sources.at(N.source);N.source=$.computeSourceURL(G,N.source,this._sourceMapURL);if(N.name!==null){N.name=this._names.at(N.name)}}E.call(j,N)}),(()=>{switch(q){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let N=$.getArg(E,"source");const R=$.getArg(E,"line");const j=E.column||0;N=this._findSourceIndex(N);if(N<0){return[]}if(R<1){throw new Error("Line numbers must be >= 1")}if(j<0){throw new Error("Column numbers must be >= 0")}const q=[];this._wasm.withMappingCallback((E=>{let N=E.lastGeneratedColumn;if(this._computedColumnSpans&&N===null){N=Infinity}q.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:N})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),N,R-1,"column"in E,j)}));return q}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const N={generatedLine:$.getArg(E,"line"),generatedColumn:$.getArg(E,"column")};if(N.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(N.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let R=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(R==null){R=SourceMapConsumer.GREATEST_LOWER_BOUND}let j;this._wasm.withMappingCallback((E=>j=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),N.generatedLine-1,N.generatedColumn,R)}));if(j){if(j.generatedLine===N.generatedLine){let E=$.getArg(j,"source",null);if(E!==null){E=this._sources.at(E);E=$.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let N=$.getArg(j,"name",null);if(N!==null){N=this._names.at(N)}return{source:E,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:N}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,N){if(!this.sourcesContent){return null}const R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}let j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}let q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){const E=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}throw new Error('"'+j+'" is not in the SourceMap.')}generatedPositionFor(E){let N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}const R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};if(R.originalLine<1){throw new Error("Line numbers must be >= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}let j=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(j==null){j=SourceMapConsumer.GREATEST_LOWER_BOUND}let q;this._wasm.withMappingCallback((E=>q=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),R.source,R.originalLine-1,R.originalColumn,j)}));if(q){if(q.source===R.source){let E=q.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;j=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");const ie=$.getArg(j,"sections");if(q!=R._version){throw new Error("Unsupported version: "+q)}R._sources=new G;R._names=new G;R.__generatedMappings=null;R.__originalMappings=null;R.__generatedMappingsUnsorted=null;R.__originalMappingsUnsorted=null;let ae={line:-1,column:0};return Promise.all(ie.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const R=$.getArg(E,"offset");const j=$.getArg(R,"line");const q=$.getArg(R,"column");if(j({generatedOffset:{generatedLine:j+1,generatedColumn:q+1},consumer:E})))}))).then((E=>{R._sections=E;return R}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort($.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort($.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let N=0;Nq.push(E)));for(let E=0;E= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}const j=[];let G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){let R=this._originalMappings[G];if(E.column===undefined){const E=R.originalLine;while(R&&R.originalLine===E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}else{const E=R.originalColumn;while(R&&R.originalLine===N&&R.originalColumn==E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}}return j}destroy(){for(let E=0;E{const j=R(2635);const $=R(53033);const q=R(85431).I;const G=R(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}static fromSourceMap(E){const N=E.sourceRoot;const R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){const j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){let q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}const G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R}addMapping(E){const N=$.getArg(E,"generated");const R=$.getArg(E,"original",null);let j=$.getArg(E,"source",null);let q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})}setSourceContent(E,N){let R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,N,R){let j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}const G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}const ie=this._mappings.toArray().length>0?new q:this._sources;const ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){const j=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(j.source!=null){N.source=j.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=j.line;N.originalColumn=j.column;if(j.name!=null){N.name=j.name}}}const q=N.source;if(q!=null&&!ie.has(q)){ie.add(q)}const ce=N.name;if(ce!=null&&!ae.has(ce)){ae.add(ce)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){const j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)}_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}}_serializeMappings(){let E=0;let N=1;let R=0;let q=0;let G=0;let ie=0;let ae="";let ce;let le;let _e;let Ee;const Te=this._mappings.toArray();for(let we=0,Ie=Te.length;we0){if(!$.compareByGeneratedPositionsInflated(le,Te[we-1])){continue}ce+=","}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Ee=this._sources.indexOf(le.source);ce+=j.encode(Ee-ie);ie=Ee;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae}_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}const R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;N.SourceMapGenerator=SourceMapGenerator},98160:(E,N,R)=>{const j=R(69010).SourceMapGenerator;const $=R(53033);const q=/(\r?\n)/;const G=10;const ie="$$$isSourceNode$$$";class SourceNode{constructor(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}static fromStringWithSourceMap(E,N,R){const j=new SourceNode;const G=E.split(q);let ie=0;const shiftNextLine=function(){const E=getNextLine();const N=getNextLine()||"";return E+N;function getNextLine(){return ie=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let N;for(let R=0,j=this.children.length;R0){N=[];for(R=0;R{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}throw new Error('"'+N+'" is a required argument.')}N.getArg=getArg;const R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const j=/^data:.+\,.+$/;function urlParse(E){const N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){let N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;const $=32;function lruMemoize(E){const N=[];return function(R){for(let E=0;E$){N.pop()}return j}}const q=lruMemoize((function normalize(E){let R=E;const j=urlParse(E);if(j){if(!j.path){return E}R=j.path}const $=N.isAbsolute(R);const q=[];let G=0;let ie=0;while(true){G=ie;ie=R.indexOf("/",G);if(ie===-1){q.push(R.slice(G));break}else{q.push(R.slice(G,ie));while(ie=0;ie--){const E=q[ie];if(E==="."){q.splice(ie,1)}else if(E===".."){ae++}else if(ae>0){if(E===""){q.splice(ie+1,ae);ae=0}else{q.splice(ie,2);ae--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}));N.normalize=q;function join(E,N){if(E===""){E="."}if(N===""){N="."}const R=urlParse(N);const $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}const G=N.charAt(0)==="/"?N:q(E.replace(/\/+$/,"")+"/"+N);if($){$.path=G;return urlGenerate($)}return G}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");let R=0;while(N.indexOf(E+"/")!==0){const j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;const G=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=G?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=G?identity:fromSetString;function isProtoString(E){if(!E){return false}const N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(let R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){let j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){let j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){let R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){const E=urlParse(R);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const N=E.path.lastIndexOf("/");if(N>=0){E.path=E.path.substring(0,N+1)}}N=join(urlGenerate(E),N)}return q(N)}N.computeSourceURL=computeSourceURL},7059:(E,N,R)=>{const j=R(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let $=null;E.exports=function wasm(){if($){return $}const E=[];$=j().then((N=>WebAssembly.instantiate(N,{env:{mapping_callback(N,R,j,$,q,G,ie,ae,ce,le){const _e=new Mapping;_e.generatedLine=N+1;_e.generatedColumn=R;if(j){_e.lastGeneratedColumn=$-1}if(q){_e.source=G;_e.originalLine=ie+1;_e.originalColumn=ae;if(ce){_e.name=le}}E[E.length-1](_e)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((N=>({exports:N.instance.exports,withMappingCallback:(N,R)=>{E.push(N);try{R()}finally{E.pop()}}}))).then(null,(E=>{$=null;throw E}));return $}},37362:(E,N,R)=>{N.SourceMapGenerator=R(69010).SourceMapGenerator;N.SourceMapConsumer=R(47532).SourceMapConsumer;N.SourceNode=R(98160).SourceNode},6619:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeAfterCompile=void 0;const j=R(71017);const $=R(69635);const q=R(90557);const G=R(38001);function makeAfterCompile(E,N){let R=true;let j=true;return($,q)=>{if($.compiler.isChild()){q();return}if(E.loaderOptions.transpileOnly){provideAssetsFromSolutionBuilderHost(E,$);q();return}removeCompilationTSLoaderErrors($,E.loaderOptions);provideCompilerOptionDiagnosticErrorsToWebpack(R,$,E,N);R=false;const G=determineModules($,E);const ie=determineFilesToCheckForErrors(j,E);j=false;const ae=new Map;provideErrorsToWebpack(ie,ae,$,G,E);provideSolutionErrorsToWebpack($,G,E);provideDeclarationFilesToWebpack(ie,E,$);provideTsBuildInfoFilesToWebpack(E,$);provideAssetsFromSolutionBuilderHost(E,$);E.filesWithErrors=ae;E.modifiedFiles=undefined;E.projectsMissingSourceMaps=new Set;q()}}N.makeAfterCompile=makeAfterCompile;function provideCompilerOptionDiagnosticErrorsToWebpack(E,N,R,j){if(E){const{languageService:E,loaderOptions:$,compiler:q,program:ie}=R;const ae=G.formatErrors(ie===undefined?E.getCompilerOptionsDiagnostics():ie.getOptionsDiagnostics(),$,R.colors,q,{file:j||"tsconfig.json"},N.compiler.context);N.errors.push(...ae)}}function determineModules(E,{filePathKeyMapper:N}){const R=new Map;E.modules.forEach((E=>{if(E.resource){const j=N(E.resource);const $=R.get(j);if($!==undefined){if(!$.includes(E)){$.push(E)}}else{R.set(j,[E])}}}));return R}function determineFilesToCheckForErrors(E,N){const{files:R,modifiedFiles:j,filesWithErrors:$,otherFiles:q}=N;const ie=new Map;if(E){for(const[E,N]of R){addFileToCheckForErrors(E,N)}for(const[E,N]of q){addFileToCheckForErrors(E,N)}}else if(j!==null&&j!==undefined&&j.size){const E=G.populateReverseDependencyGraph(N);for(const N of j.keys()){for(const j of G.collectAllDependants(E,N).keys()){const E=R.get(j)||q.get(j);addFileToCheckForErrors(j,E)}}}if($!==undefined){for(const[E,N]of $){addFileToCheckForErrors(E,N)}}return ie;function addFileToCheckForErrors(E,R){if(!G.isReferencedFile(N,E)){ie.set(E,R)}}}function provideErrorsToWebpack(E,N,R,j,q){const{compiler:ie,files:ae,loaderOptions:ce,compilerOptions:le,otherFiles:_e}=q;const Ee=le.allowJs===true?$.dtsTsTsxJsJsxRegex:$.dtsTsTsxRegex;const Te=G.ensureProgram(q);for(const[$,{fileName:le}]of E.entries()){if(le.match(Ee)===null){continue}const E=Te&&Te.getSourceFile(le);const we=[];if(Te&&E){we.push(...Te.getSyntacticDiagnostics(E),...Te.getSemanticDiagnostics(E).filter((({code:E})=>E!==6305)))}if(we.length>0){const E=ae.get($)||_e.get($);N.set($,E)}const Ie=j.get(q.filePathKeyMapper(le));if(Ie!==undefined){Ie.forEach((E=>{removeModuleTSLoaderError(E,ce);const N=G.formatErrors(we,ce,q.colors,ie,{module:E},R.compiler.context);N.forEach((N=>{if(E.addError){E.addError(N)}else{E.errors.push(N)}}));R.errors.push(...N)}))}else{const E=G.formatErrors(we,ce,q.colors,ie,{file:le},R.compiler.context);R.errors.push(...E)}}}function provideSolutionErrorsToWebpack(E,N,R){if(!R.solutionBuilderHost||!(R.solutionBuilderHost.diagnostics.global.length||R.solutionBuilderHost.diagnostics.perFile.size)){return}const{compiler:$,loaderOptions:q,solutionBuilderHost:{diagnostics:ie}}=R;for(const[ae,ce]of ie.perFile){const ie=N.get(ae);if(ie!==undefined){ie.forEach((N=>{removeModuleTSLoaderError(N,q);const j=G.formatErrors(ce,q,R.colors,$,{module:N},E.compiler.context);j.forEach((E=>{if(N.addError){N.addError(E)}else{N.errors.push(E)}}));E.errors.push(...j)}))}else{const N=G.formatErrors(ce,q,R.colors,$,{file:j.resolve(ce[0].file.fileName)},E.compiler.context);E.errors.push(...N)}}E.errors.push(...G.formatErrors(ie.global,R.loaderOptions,R.colors,R.compiler,{file:"tsconfig.json"},E.compiler.context))}function provideDeclarationFilesToWebpack(E,N,R){for(const{fileName:j}of E.values()){if(j.match($.tsTsxRegex)===null){continue}addDeclarationFilesAsAsset(q.getEmitOutput(N,j),R)}}function addDeclarationFilesAsAsset(E,N,R){outputFilesToAsset(E,N,(E=>R&&R(E)?true:!E.name.match($.dtsDtsxOrDtsDtsxMapRegex)))}function outputFileToAsset(E,N){const R=j.relative(N.compiler.outputPath,E.name);N.assets[R]={source:()=>E.text,size:()=>E.text.length}}function outputFilesToAsset(E,N,R){for(const j of E){if(!R||!R(j)){outputFileToAsset(j,N)}}}function provideTsBuildInfoFilesToWebpack(E,N){if(E.watchHost){q.getEmitFromWatchHost(E);if(E.watchHost.tsbuildinfo){outputFileToAsset(E.watchHost.tsbuildinfo,N)}E.watchHost.outputFiles.clear();E.watchHost.tsbuildinfo=undefined}}function provideAssetsFromSolutionBuilderHost(E,N){if(E.solutionBuilderHost){outputFilesToAsset(E.solutionBuilderHost.writtenFiles,N);E.solutionBuilderHost.writtenFiles.length=0}}function removeCompilationTSLoaderErrors(E,N){E.errors=E.errors.filter((E=>E.loaderSource!==G.tsLoaderSource(N)))}function removeModuleTSLoaderError(E,N){if(!!E.addError){const R=E.getWarnings();const j=E.getErrors();E.clearWarningsAndErrors();Array.from(R||[]).forEach((N=>E.addWarning(N)));Array.from(j||[]).filter((E=>E.loaderSource!==G.tsLoaderSource(N))).forEach((N=>E.addError(N)))}else{E.errors=E.errors.filter((E=>E.loaderSource!==G.tsLoaderSource(N)))}}},17464:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getCompilerOptions=N.getCompiler=void 0;const j=R(3609);function getCompiler(E,N){let R;let $;let q;let G=false;try{R=require(E.compiler)}catch(N){$=E.compiler==="typescript"?"Could not load TypeScript. Try installing with `yarn add typescript` or `npm install typescript`. If TypeScript is installed globally, try using `yarn link typescript` or `npm link typescript`.":`Could not load TypeScript compiler with NPM package name \`${E.compiler}\`. Are you sure it is correctly installed?`}if($===undefined){q=`ts-loader: Using ${E.compiler}@${R.version}`;G=false;if(E.compiler==="typescript"){if(R.version!==undefined&&j.gte(R.version,"3.6.3")){G=true}else{N.logError(`${q}. This version is incompatible with ts-loader. Please upgrade to the latest version of TypeScript.`)}}else{N.logWarning(`${q}. This version may or may not be compatible with ts-loader.`)}}return{compiler:R,compilerCompatible:G,compilerDetailsLogMessage:q,errorMessage:$}}N.getCompiler=getCompiler;function getCompilerOptions(E,N){const R=Object.assign({},E.options,{skipLibCheck:true,suppressOutputPathCheck:true});if(R.module===undefined&&R.target!==undefined&&R.target{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getParsedCommandLine=N.getConfigParseResult=N.getConfigFile=void 0;const j=R(71017);const $=R(17464);const q=R(38001);function getConfigFile(E,N,R,$,G,ie,ae){const ce=findConfigFile(E,j.dirname(R.resourcePath),$.configFile);let le;let _e;if(ce!==undefined){if(G){ie.logInfo(`${ae} and ${ce}`)}else{ie.logInfo(`ts-loader: Using config file at ${ce}`)}_e=E.readConfigFile(ce,E.sys.readFile);if(_e.error!==undefined){le=q.formatErrors([_e.error],$,N,E,{file:ce},R.context)[0]}}else{if(G){ie.logInfo(ae)}_e={config:{compilerOptions:{},files:[]}}}if(le===undefined){_e.config.compilerOptions=Object.assign({},_e.config.compilerOptions)}return{configFilePath:ce,configFile:_e,configFileError:le}}N.getConfigFile=getConfigFile;function findConfigFile(E,N,R){if(j.isAbsolute(R)){return E.sys.fileExists(R)?R:undefined}if(R.match(/^\.\.?(\/|\\)/)!==null){const $=j.resolve(N,R);return E.sys.fileExists($)?$:undefined}else{while(true){const $=j.join(N,R);if(E.sys.fileExists($)){return $}const q=j.dirname(N);if(q===N){break}N=q}return undefined}}function getConfigParseResult(E,N,R,j,$){const G=E.parseJsonConfigFileContent(N.config,Object.assign(Object.assign({},E.sys),{useCaseSensitiveFileNames:q.useCaseSensitiveFileNames(E,$)}),R,getCompilerOptionsToExtend(E,$,R,j||"tsconfig.json"));if(!$.projectReferences){G.projectReferences=undefined}G.options=Object.assign({},G.options,{configFilePath:j});return G}N.getConfigParseResult=getConfigParseResult;const G=new Map;function getParsedCommandLine(E,N,R){const ie=E.getParsedCommandLineOfConfigFile(R,getCompilerOptionsToExtend(E,N,j.dirname(R),R),Object.assign(Object.assign({},E.sys),{useCaseSensitiveFileNames:q.useCaseSensitiveFileNames(E,N),onUnRecoverableConfigFileDiagnostic:()=>{}}),G);if(ie){ie.options=$.getCompilerOptions(ie,E)}return ie}N.getParsedCommandLine=getParsedCommandLine;function getCompilerOptionsToExtend(E,N,R,j){return E.convertCompilerOptionsFromJson(N.compilerOptions,R,j).options}},69635:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.nodeModules=N.jsonRegex=N.jsJsxMap=N.jsJsx=N.tsTsxJsJsxRegex=N.dtsTsTsxJsJsxRegex=N.dtsTsTsxRegex=N.dtsDtsxOrDtsDtsxMapRegex=N.tsTsxRegex=N.tsxRegex=N.extensionRegex=N.LineFeedCode=N.CarriageReturnLineFeedCode=N.LineFeed=N.CarriageReturnLineFeed=N.EOL=void 0;const j=R(22037);N.EOL=j.EOL;N.CarriageReturnLineFeed="\r\n";N.LineFeed="\n";N.CarriageReturnLineFeedCode=0;N.LineFeedCode=1;N.extensionRegex=/\.[^.]+$/;N.tsxRegex=/\.tsx$/i;N.tsTsxRegex=/\.ts(x?)$/i;N.dtsDtsxOrDtsDtsxMapRegex=/\.d\.ts(x?)(\.map)?$/i;N.dtsTsTsxRegex=/(\.d)?\.ts(x?)$/i;N.dtsTsTsxJsJsxRegex=/((\.d)?\.ts(x?)|js(x?))$/i;N.tsTsxJsJsxRegex=/\.tsx?$|\.jsx?$/i;N.jsJsx=/\.js(x?)$/i;N.jsJsxMap=/\.js(x?)\.map$/i;N.jsonRegex=/\.json$/i;N.nodeModules=/node_modules/i},32956:(E,N,R)=>{"use strict";const j=R(6113);const $=R(88244);const q=R(71017);const G=R(69635);const ie=R(90557);const ae=R(38001);const ce={};function loader(E){this.cacheable&&this.cacheable();const N=this.async();const R=getLoaderOptions(this);const j=ie.getTypeScriptInstance(R,this);if(j.error!==undefined){N(new Error(j.error.message));return}const $=j.instance;ie.buildSolutionReferences($,this);successLoader(this,E,N,$)}function successLoader(E,N,R,j){ie.initializeInstance(E,j);ie.reportTranspileErrors(j,E);const $=q.normalize(E.resourcePath);const G=j.loaderOptions.appendTsSuffixTo.length>0||j.loaderOptions.appendTsxSuffixTo.length>0?ae.appendSuffixesIfMatch({".ts":j.loaderOptions.appendTsSuffixTo,".tsx":j.loaderOptions.appendTsxSuffixTo},$):$;const ce=updateFileInCache(j.loaderOptions,G,N,j);const{outputText:le,sourceMapText:_e}=j.loaderOptions.transpileOnly?getTranspilationEmit(G,N,j,E):getEmit($,G,j,E);makeSourceMapAndFinish(_e,le,G,N,E,ce,R,j)}function makeSourceMapAndFinish(E,N,R,j,$,q,G,ie){if(N===null||N===undefined){setModuleMeta($,ie,q);const E=ae.isReferencedFile(ie,R)?" The most common cause for this is having errors when building referenced projects.":!ie.loaderOptions.allowTsInNodeModules&&R.indexOf("node_modules")!==-1?" By default, ts-loader will not compile .ts files in node_modules.\n"+"You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.\n"+"See: https://github.com/Microsoft/TypeScript/issues/12358":"";G(new Error(`TypeScript emitted no output for ${R}.${E}`),N,undefined);return}const{sourceMap:ce,output:le}=makeSourceMap(E,N,R,j,$);setModuleMeta($,ie,q);G(null,le,ce)}function setModuleMeta(E,N,R){if(!N.loaderOptions.happyPackMode&&E._module.buildMeta!==undefined){E._module.buildMeta.tsLoaderFileVersion=R}}function getOptionsHash(E){const N=j.createHash("sha256");Object.keys(E).forEach((R=>{const j=E[R];if(j!==undefined){const E=typeof j==="function"?j.toString():JSON.stringify(j);N.update(R+E)}}));return N.digest("hex").substring(0,16)}function getLoaderOptions(E){const N=$.getOptions(E)||{};const R=N.instance||"default_"+getOptionsHash(N);if(!ce.hasOwnProperty(R)){ce[R]=new WeakMap}const j=ce[R];if(j.has(N)){return j.get(N)}validateLoaderOptions(N);const q=makeLoaderOptions(R,N);j.set(N,q);return q}const le=["silent","logLevel","logInfoToStdOut","instance","compiler","context","configFile","transpileOnly","ignoreDiagnostics","errorFormatter","colors","compilerOptions","appendTsSuffixTo","appendTsxSuffixTo","onlyCompileBundledFiles","happyPackMode","getCustomTransformers","reportFiles","experimentalWatchApi","allowTsInNodeModules","experimentalFileCaching","projectReferences","resolveModuleName","resolveTypeReferenceDirective","useCaseSensitiveFileNames"];function validateLoaderOptions(E){const N=Object.keys(E);for(let E=0;E{E=q.resolve(E);j.addDependency(E);le.push(E)};if(!ae.isReferencedFile(R,N)){for(const{fileName:E}of R.files.values()){if(E.match(G.dtsDtsxOrDtsDtsxMapRegex)&&!(($=R.solutionBuilderHost)===null||$===void 0?void 0:$.getOutputFileKeyFromReferencedProject(E))){addDependency(E)}}}const _e=R.dependencyGraph.get(R.filePathKeyMapper(N));if(_e){for(const{resolvedFileName:E,originalFileName:N}of _e){addDependency(ie.getInputFileNameFromOutput(R,q.resolve(E))||N)}}addDependenciesFromSolutionBuilder(R,N,addDependency);j._module.buildMeta.tsLoaderDefinitionFileVersions=le.map((E=>q.relative(j.rootContext,E)+"@"+(ae.isReferencedFile(R,E)?R.solutionBuilderHost.getInputFileStamp(E).toString():(R.files.get(R.filePathKeyMapper(E))||R.otherFiles.get(R.filePathKeyMapper(E))||{version:"?"}).version)));return getOutputAndSourceMapFromOutputFiles(ce)}function getOutputAndSourceMapFromOutputFiles(E){const N=E.filter((E=>E.name.match(G.jsJsx))).pop();const R=N===undefined?undefined:N.text;const j=E.filter((E=>E.name.match(G.jsJsxMap))).pop();const $=j===undefined?undefined:j.text;return{outputText:R,sourceMapText:$}}function addDependenciesFromSolutionBuilder(E,N,R){if(!E.solutionBuilderHost){return}const j=E.filePathKeyMapper(N);if(!ae.isReferencedFile(E,N)){if(E.configParseResult.fileNames.some((N=>E.filePathKeyMapper(N)===j))){addDependenciesFromProjectReferences(E,E.configFilePath,E.configParseResult.projectReferences,R)}return}for(const[N,$]of E.solutionBuilderHost.configFileInfo.entries()){if(!$.config||!$.config.projectReferences||!$.config.projectReferences.length){continue}if($.outputFileNames){if(!$.outputFileNames.has(j)){continue}}else if(!$.config.fileNames.some((N=>E.filePathKeyMapper(N)===j))){continue}if($.dtsFiles){$.dtsFiles.forEach(R)}addDependenciesFromProjectReferences(E,N,$.config.projectReferences,R);break}}function addDependenciesFromProjectReferences(E,N,R,j){if(!R||!R.length){return}const $=new Map;$.set(E.filePathKeyMapper(N),true);const q=R.slice();while(true){const N=q.pop();if(!N){break}const R=E.filePathKeyMapper(E.compiler.resolveProjectReferencePath(N));if($.has(R)){continue}const G=E.solutionBuilderHost.configFileInfo.get(R);if(!G){continue}$.set(R,true);if(G.config){G.config.fileNames.forEach(j);if(G.config.projectReferences){q.push(...G.config.projectReferences)}}}}function getTranspilationEmit(E,N,R,j){if(ae.isReferencedFile(R,E)){const N=R.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(E);addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency(q.resolve(E))));return getOutputAndSourceMapFromOutputFiles(N)}const{outputText:$,sourceMapText:G,diagnostics:ie}=R.compiler.transpileModule(N,{compilerOptions:Object.assign(Object.assign({},R.compilerOptions),{rootDir:undefined}),transformers:R.transformers,reportDiagnostics:true,fileName:E});const ce=j._module;addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency(q.resolve(E))));if(!R.loaderOptions.happyPackMode){const E=ae.formatErrors(ie,R.loaderOptions,R.colors,R.compiler,{module:ce},j.context);if(ce.addError){E.forEach((E=>ce.addError(E)))}else{ce.errors.push(...E)}}return{outputText:$,sourceMapText:G}}function makeSourceMap(E,N,R,j,q){if(E===undefined){return{output:N,sourceMap:undefined}}return{output:N.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm,""),sourceMap:Object.assign(JSON.parse(E),{sources:[$.getRemainingRequest(q)],file:R,sourcesContent:[j]})}}E.exports=loader},50043:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.setTSInstanceInCache=N.getTSInstanceFromCache=void 0;const R={};const j=new WeakMap;function getTSInstanceFromCache(E,N){const $=E!==null&&E!==void 0?E:R;let q=j.get($);if(!q){q=new Map;j.set($,q)}return q.get(N)}N.getTSInstanceFromCache=getTSInstanceFromCache;function setTSInstanceInCache(E,N,$){var q;const G=E!==null&&E!==void 0?E:R;const ie=(q=j.get(G))!==null&&q!==void 0?q:new Map;ie.set(N,$);j.set(G,ie)}N.setTSInstanceInCache=setTSInstanceInCache},90557:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getEmitOutput=N.getEmitFromWatchHost=N.getInputFileNameFromOutput=N.getOutputFileNames=N.forEachResolvedProjectReference=N.buildSolutionReferences=N.reportTranspileErrors=N.initializeInstance=N.getTypeScriptInstance=void 0;const j=R(57347);const $=R(57147);const q=R(71017);const G=R(86443);const ie=R(6619);const ae=R(17464);const ce=R(10852);const le=R(69635);const _e=R(50043);const Ee=R(63686);const Te=R(9674);const we=R(38001);const Ie=R(80573);const Ne=new Map;function getTypeScriptInstance(E,N){const R=_e.getTSInstanceFromCache(N._compiler,E.instance);if(R){if(!R.initialSetupPending){we.ensureProgram(R)}return{instance:R}}const $=E.colors&&j.supportsColor?j.supportsColor.level:0;const q=new j.Instance({level:$});const G=Ee.makeLogger(E,q);const ie=ae.getCompiler(E,G);if(ie.errorMessage!==undefined){return{error:we.makeError(E,q.red(ie.errorMessage),undefined)}}return successfulTypeScriptInstance(E,N,G,q,ie.compiler,ie.compilerCompatible,ie.compilerDetailsLogMessage)}N.getTypeScriptInstance=getTypeScriptInstance;function createFilePathKeyMapper(E,N){const R=new Map;const j=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;return we.useCaseSensitiveFileNames(E,N)?pathResolve:toFileNameLowerCase;function pathResolve(E){let N=R.get(E);if(!N){N=q.resolve(E);R.set(E,N)}return N}function toFileNameLowerCase(E){let N=R.get(E);if(!N){const $=pathResolve(E);N=j.test($)?$.replace(j,(E=>E.toLowerCase())):$;R.set(E,N)}return N}}function successfulTypeScriptInstance(E,N,R,j,G,ie,Ee){const Te=ce.getConfigFile(G,j,N,E,ie,R,Ee);if(Te.configFileError!==undefined){const{message:N,file:R}=Te.configFileError;return{error:we.makeError(E,j.red("error while reading tsconfig.json:"+le.EOL+N),R)}}const{configFilePath:Ie,configFile:Ne}=Te;const Me=createFilePathKeyMapper(G,E);if(Ie&&E.projectReferences){const R=Me(Ie);const j=getExistingSolutionBuilderHost(R);if(j){_e.setTSInstanceInCache(N._compiler,E.instance,j);return{instance:j}}}const Le=N._module;const Be=E.context||q.dirname(Ie||"");const je=ce.getConfigParseResult(G,Ne,Be,Ie,E);if(je.errors.length>0&&!E.happyPackMode){const R=we.formatErrors(je.errors,E,j,G,{file:Ie},N.context);if(Le.addError){R.forEach((E=>Le.addError(E)))}else{Le.errors.push(...R)}return{error:we.makeError(E,j.red("error while parsing tsconfig.json"),Ie)}}const Ue=ae.getCompilerOptions(je,G);const ze=new Set;const We=new Map;const Je=new Map;const Ve=E.appendTsSuffixTo.length>0||E.appendTsxSuffixTo.length>0?N=>we.appendSuffixesIfMatch({".ts":E.appendTsSuffixTo,".tsx":E.appendTsxSuffixTo},N):E=>E;if(E.transpileOnly){const $={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,version:0,program:undefined,dependencyGraph:new Map,transformers:{},colors:j,initialSetupPending:true,reportTranspileErrors:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};_e.setTSInstanceInCache(N._compiler,E.instance,$);return{instance:$}}let qe;try{const N=E.onlyCompileBundledFiles?je.fileNames.filter((E=>le.dtsDtsxOrDtsDtsxMapRegex.test(E))):je.fileNames;N.forEach((E=>{qe=q.normalize(E);We.set(Me(qe),{fileName:qe,text:$.readFileSync(qe,"utf-8"),version:0});ze.add(qe)}))}catch(N){return{error:we.makeError(E,j.red(`A file specified in tsconfig.json could not be found: ${qe}`),qe)}}const He={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,languageService:null,version:0,transformers:{},dependencyGraph:new Map,colors:j,initialSetupPending:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};_e.setTSInstanceInCache(N._compiler,E.instance,He);return{instance:He}}function getExistingSolutionBuilderHost(E){const N=Ne.get(E);if(N)return N;for(const N of Ne.values()){if(N.solutionBuilderHost.configFileInfo.has(E)){return N}}return undefined}const Me=!!G.version.match(/^4.*/)?(E,N)=>{E._compiler.hooks.afterCompile.tapAsync("ts-loader",ie.makeAfterCompile(N,N.configFilePath))}:(E,N)=>{const R=ie.makeAfterCompile(N,N.configFilePath);const makeAssetsCallback=E=>{E.hooks.afterProcessAssets.tap("ts-loader",(()=>R(E,(()=>null))))};makeAssetsCallback(E._compilation);E._compiler.hooks.compilation.tap("ts-loader",makeAssetsCallback)};function initializeInstance(E,N){if(!N.initialSetupPending){return}N.initialSetupPending=false;let{getCustomTransformers:R}=N.loaderOptions;let j=Function.prototype;if(typeof R==="function"){j=R}else if(typeof R==="string"){try{R=require(R)}catch(E){throw new Error(`Failed to load customTransformers from "${N.loaderOptions.getCustomTransformers}": ${E.message}`)}if(typeof R!=="function"){throw new Error(`Custom transformers in "${N.loaderOptions.getCustomTransformers}" should export a function, got ${typeof j}`)}j=R}if(N.loaderOptions.transpileOnly){const R=N.program=N.configParseResult.projectReferences!==undefined?N.compiler.createProgram({rootNames:N.configParseResult.fileNames,options:N.configParseResult.options,projectReferences:N.configParseResult.projectReferences}):N.compiler.createProgram([],N.compilerOptions);N.transformers=j(R);if(N.solutionBuilderHost){Me(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",Ie.makeWatchRun(N,E))}}else{if(!E._compiler.hooks){throw new Error("You may be using an old version of webpack; please check you're using at least version 4")}if(N.loaderOptions.experimentalWatchApi){N.log.logInfo("Using watch api");N.watchHost=Te.makeWatchHost(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.watchOfFilesAndCompilerOptions=N.compiler.createWatchProgram(N.watchHost);N.builderProgram=N.watchOfFilesAndCompilerOptions.getProgram();N.program=N.builderProgram.getProgram();N.transformers=j(N.program)}else{N.servicesHost=Te.makeServicesHost(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.languageService=N.compiler.createLanguageService(N.servicesHost,N.compiler.createDocumentRegistry());N.transformers=j(N.languageService.getProgram())}Me(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",Ie.makeWatchRun(N,E))}}N.initializeInstance=initializeInstance;function getScriptRegexp(E){if(E.configParseResult.options.resolveJsonModule){return E.configParseResult.options.allowJs===true?/\.tsx?$|\.json$|\.jsx?$/i:/\.tsx?$|\.json$/i}return E.configParseResult.options.allowJs===true?/\.tsx?$|\.jsx?$/i:/\.tsx?$/i}function reportTranspileErrors(E,N){if(!E.reportTranspileErrors){return}const R=N._module;E.reportTranspileErrors=false;if(!E.loaderOptions.happyPackMode){const j=Te.getSolutionErrors(E,N.context);const $=E.program.getOptionsDiagnostics();const q=we.formatErrors($,E.loaderOptions,E.colors,E.compiler,{file:E.configFilePath||"tsconfig.json"},N.context);if(R.addError){[...j,...q].forEach((E=>R.addError(E)))}else{R.errors.push(...j,...q)}}}N.reportTranspileErrors=reportTranspileErrors;function buildSolutionReferences(E,N){if(!we.supportsSolutionBuild(E)){return}if(!E.solutionBuilderHost){E.log.logInfo("Using SolutionBuilder api");const R=getScriptRegexp(E);E.solutionBuilderHost=Te.makeSolutionBuilderHost(R,N,E);const j=E.compiler.createSolutionBuilderWithWatch(E.solutionBuilderHost,E.configParseResult.projectReferences.map((E=>E.path)),{verbose:true});j.build();E.solutionBuilderHost.ensureAllReferenceTimestamps();Ne.set(E.filePathKeyMapper(E.configFilePath),E)}else{E.solutionBuilderHost.buildReferences()}}N.buildSolutionReferences=buildSolutionReferences;function forEachResolvedProjectReference(E,N){let R;return worker(E);function worker(E){if(E){for(const j of E){if(!j){continue}if(R&&R.some((E=>E===j))){continue}(R||(R=[])).push(j);const E=N(j)||worker(j.references);if(E){return E}}}return undefined}}N.forEachResolvedProjectReference=forEachResolvedProjectReference;function fileExtensionIs(E,N){return E.endsWith(N)}function rootDirOfOptions(E,N){return N.options.rootDir||E.compiler.getDirectoryPath(N.options.configFilePath)}function getOutputPathWithoutChangingExt(E,N,R,j,$){return $?E.compiler.resolvePath($,E.compiler.getRelativePathFromDirectory(rootDirOfOptions(E,R),N,j)):N}function getOutputJSFileName(E,N,R,j){if(R.options.emitDeclarationOnly){return undefined}const $=fileExtensionIs(N,".json");const q=E.compiler.changeExtension(getOutputPathWithoutChangingExt(E,N,R,j,R.options.outDir),$?".json":fileExtensionIs(N,".tsx")&&R.options.jsx===E.compiler.JsxEmit.Preserve?".jsx":".js");return!$||E.compiler.comparePaths(N,q,R.options.configFilePath,j)!==E.compiler.Comparison.EqualTo?q:undefined}function getOutputFileNames(E,N,R){const j=!we.useCaseSensitiveFileNames(E.compiler,E.loaderOptions);if(E.compiler.getOutputFileNames){return E.compiler.getOutputFileNames(N,R,j)}const $=[];const addOutput=E=>E&&$.push(E);const q=getOutputJSFileName(E,R,N,j);addOutput(q);if(!fileExtensionIs(R,".json")){if(q&&N.options.sourceMap){addOutput(`${q}.map`)}if((N.options.declaration||N.options.composite)&&E.compiler.hasTSFileExtension(R)){const $=E.compiler.getOutputDeclarationFileName(R,N,j);addOutput($);if(N.options.declarationMap){addOutput(`${$}.map`)}}}return $}N.getOutputFileNames=getOutputFileNames;function getInputFileNameFromOutput(E,N){if(N.match(le.tsTsxRegex)&&!fileExtensionIs(N,".d.ts")){return undefined}if(E.solutionBuilderHost){return E.solutionBuilderHost.getInputFileNameFromOutput(N)}const R=we.ensureProgram(E);return R&&R.getResolvedProjectReferences&&forEachResolvedProjectReference(R.getResolvedProjectReferences(),(({commandLine:R})=>{const{options:j,fileNames:$}=R;if(!j.outFile&&!j.out){const j=$.find((j=>getOutputFileNames(E,R,j).find((E=>q.resolve(E)===N))));return j&&q.resolve(j)}return undefined}))}N.getInputFileNameFromOutput=getInputFileNameFromOutput;function getEmitFromWatchHost(E,N){const R=we.ensureProgram(E);const j=E.builderProgram;if(j&&R){if(N){const R=E.watchHost.outputFiles.get(E.filePathKeyMapper(N));if(R){return R}}const $=[];const writeFile=(N,R,j)=>{if(N.endsWith(".tsbuildinfo")){E.watchHost.tsbuildinfo={name:N,writeByteOrderMark:j,text:R}}else{$.push({name:N,writeByteOrderMark:j,text:R})}};const q=N?R.getSourceFile(N):undefined;while(true){const N=j.emitNextAffectedFile(writeFile,undefined,false,E.transformers);if(!N){break}if(N.affected===q){E.watchHost.outputFiles.set(E.filePathKeyMapper(N.affected.fileName),$.slice());return $}}}return undefined}N.getEmitFromWatchHost=getEmitFromWatchHost;function getEmitOutput(E,N){if(fileExtensionIs(N,E.compiler.Extension.Dts)){return[]}if(we.isReferencedFile(E,N)){return E.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(N)}const R=we.ensureProgram(E);if(R!==undefined){const j=R.getSourceFile(N);const $=[];const writeFile=(E,N,R)=>$.push({name:E,writeByteOrderMark:R,text:N});const q=getEmitFromWatchHost(E,N);if(q){return q}R.emit(j,writeFile,undefined,false,E.transformers);return $}else{return E.languageService.getProgram().getSourceFile(N)===undefined?[]:E.languageService.getEmitOutput(N).outputFiles}}N.getEmitOutput=getEmitOutput},63686:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeLogger=N.LogLevel=void 0;const j=R(96206);var $;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})($=N.LogLevel||(N.LogLevel={}));const q=new j.Console(process.stderr);const G=new j.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,N)=>{}:(E,N)=>console.log.call(E,N);const makeExternalLogger=(E,N)=>R=>N(E.logInfoToStdOut?G:q,R);const makeLogInfo=(E,N,R)=>$[E.logLevel]<=$.INFO?j=>N(E.logInfoToStdOut?G:q,R(j)):doNothingLogger;const makeLogError=(E,N,R)=>$[E.logLevel]<=$.ERROR?E=>N(q,R(E)):doNothingLogger;const makeLogWarning=(E,N,R)=>$[E.logLevel]<=$.WARN?E=>N(q,R(E)):doNothingLogger;function makeLogger(E,N){const R=makeLoggerFunc(E);return{log:makeExternalLogger(E,R),logInfo:makeLogInfo(E,R,N.green),logWarning:makeLogWarning(E,R,N.yellow),logError:makeLogError(E,R,N.red)}}N.makeLogger=makeLogger},98535:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeResolver=void 0;const j=R(79921);function makeResolver(E){return j.create.sync(E.resolve)}N.makeResolver=makeResolver},9674:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSolutionErrors=N.makeSolutionBuilderHost=N.makeWatchHost=N.updateFileWithText=N.makeServicesHost=void 0;const j=R(71017);const $=R(10852);const q=R(69635);const G=R(90557);const ie=R(98535);const ae=R(38001);function makeResolversAndModuleResolutionHost(E,N,R,j,$){const{compiler:G,compilerOptions:ce,appendTsTsxSuffixesIfRequired:le,loaderOptions:{resolveModuleName:_e,resolveTypeReferenceDirective:Ee}}=R;const Te=ce.newLine===q.CarriageReturnLineFeedCode?q.CarriageReturnLineFeed:ce.newLine===q.LineFeedCode?q.LineFeed:q.EOL;const getCurrentDirectory=()=>N.context;const we=ie.makeResolver(N._compiler.options);const Ie={trace:E=>R.log.log(E),fileExists:j,readFile:readFile,realpath:G.sys.realpath&&realpath,directoryExists:directoryExists,getCurrentDirectory:getCurrentDirectory,getDirectories:getDirectories,readDirectory:readDirectory,useCaseSensitiveFileNames:()=>ae.useCaseSensitiveFileNames(G,R.loaderOptions),getNewLine:()=>Te,getDefaultLibFileName:E=>G.getDefaultLibFilePath(E)};if($){addCache(Ie)}return makeResolvers(G,ce,Ie,Ee,_e,we,le,E,R);function readFile(E,N){return R.compiler.sys.readFile(E,N)||ae.fsReadFile(E,N)}function directoryExists(E){return G.sys.directoryExists(E)}function realpath(E){return G.sys.realpath(E)}function getDirectories(E){return G.sys.getDirectories(E)}function readDirectory(E,N,R,j,$){return G.sys.readDirectory(E,N,R,j,$)}}function makeServicesHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,filePathKeyMapper:ce}=R;const{moduleResolutionHost:le,resolveModuleNames:_e,resolveTypeReferenceDirectives:Ee}=makeResolversAndModuleResolutionHost(E,N,R,(E=>q.sys.fileExists(E)||ae.fsReadFile(E)!==undefined),R.loaderOptions.experimentalFileCaching);const Te=Object.assign(Object.assign({getProjectVersion:()=>`${R.version}`,getProjectReferences:()=>$,getScriptFileNames:()=>[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E))),getScriptVersion:E=>{var N;E=j.normalize(E);const $=ce(E);const q=ie.get($);if(q){return q.version.toString()}const G=(N=R.solutionBuilderHost)===null||N===void 0?void 0:N.getOutputFileAndKeyFromReferencedProject(E);if(G!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(G.key,true)}return G&&G.outputFile?G.outputFile:""},getScriptSnapshot:E=>{E=j.normalize(E);const N=ce(E);let $=ie.get(N);if($===undefined){if(R.solutionBuilderHost){const N=R.solutionBuilderHost.getOutputFileTextAndKeyFromReferencedProject(E);if(N!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(N.key,true);return N&&N.text!==undefined?q.ScriptSnapshot.fromString(N.text):undefined}}const j=le.readFile(E);if(j===undefined){return undefined}$={fileName:E,version:0,text:j};ie.set(N,$)}return q.ScriptSnapshot.fromString($.text)}},le),{getCompilationSettings:()=>G,log:le.trace,resolveTypeReferenceDirectives:Ee,resolveModuleNames:_e,getCustomTransformers:()=>R.transformers});return Te}N.makeServicesHost=makeServicesHost;function makeResolvers(E,N,R,j,$,q,G,ie,ce){const le=makeResolveModuleName(E,N,R,$,ce);const resolveModuleNames=(E,N,R,j)=>{const $=E.map((E=>resolveModule(q,le,G,ie,E,N,j)));ae.populateDependencyGraph($,ce,N);return $};const _e=makeResolveTypeReferenceDirective(E,N,R,j,ce);const resolveTypeReferenceDirectives=(E,N,R)=>E.map((E=>_e(E,N,R).resolvedTypeReferenceDirective));return{resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,resolveModuleNames:resolveModuleNames,moduleResolutionHost:R}}function createWatchFactory(E,N){const R=new Map;const $=new Map;const q=new Map;return{watchedFiles:R,watchedDirectories:$,watchedDirectoriesRecursive:q,invokeFileWatcher:invokeFileWatcher,watchFile:watchFile,watchDirectory:watchDirectory};function invokeWatcherCallbacks(N,R,j,$){var q;const G=(q=N.get(E(R)))===null||q===void 0?void 0:q.callbacks;if(G!==undefined&&G.length){const E=G.slice();for(const N of E){N(j,$)}return true}return false}function invokeFileWatcher(E,q){E=j.normalize(E);let G=invokeWatcherCallbacks(R,E,E,q);if(q!==N.FileWatcherEventKind.Changed){const N=j.dirname(E);G=invokeWatcherCallbacks($,N,E)||G;G=invokeRecursiveDirectoryWatcher(N,E)||G}return G}``;function invokeRecursiveDirectoryWatcher(E,N){E=j.normalize(E);let R=invokeWatcherCallbacks(q,E,N);const $=j.dirname(E);if(E!==$){R=invokeRecursiveDirectoryWatcher($,N)||R}return R}function createWatcher(N,R,$){const q=E(N);const G=R.get(q);if(G===undefined){R.set(q,{fileName:j.normalize(N),callbacks:[$]})}else{G.callbacks.push($)}return{close:()=>{const E=R.get(q);if(E!==undefined){ae.unorderedRemoveItem(E.callbacks,$);if(!E.callbacks.length){R.delete(q)}}}}}function watchFile(E,N,j){return createWatcher(E,R,N)}function watchDirectory(E,N,R){return createWatcher(E,R===true?q:$,N)}}function updateFileWithText(E,N,R,$){const q=j.normalize(R);const G=E.files.get(N)||E.otherFiles.get(N);if(G!==undefined){const R=$(q);if(R!==G.text){G.text=R;G.version++;G.modifiedTime=new Date;E.version++;if(!E.modifiedFiles){E.modifiedFiles=new Map}E.modifiedFiles.set(N,true);if(E.watchHost!==undefined){E.watchHost.invokeFileWatcher(q,E.compiler.FileWatcherEventKind.Changed)}}}}N.updateFileWithText=updateFileWithText;function makeWatchHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,otherFiles:ae,filePathKeyMapper:ce}=R;const{watchFile:le,watchDirectory:_e,invokeFileWatcher:Ee}=createWatchFactory(ce,q);const{moduleResolutionHost:Te,resolveModuleNames:we,resolveTypeReferenceDirectives:Ie}=makeResolversAndModuleResolutionHost(E,N,R,(E=>ie.has(ce(E))||q.sys.fileExists(E)),R.loaderOptions.experimentalFileCaching);const Ne=Object.assign(Object.assign({rootFiles:getRootFileNames(),options:G},Te),{readFile:readFileWithCachingText,watchFile:(E,N,j,$)=>{var q;const G=(q=R.solutionBuilderHost)===null||q===void 0?void 0:q.getOutputFileKeyFromReferencedProject(E);if(!G||G===ce(E)){return le(E,N,j,$)}const ie=R.solutionBuilderHost.realpath(E);return le(ie,((R,j)=>N(E,j)),j,$)},watchDirectory:_e,resolveTypeReferenceDirectives:Ie,resolveModuleNames:we,invokeFileWatcher:Ee,updateRootFileNames:()=>{R.changedFilesList=false;if(R.watchOfFilesAndCompilerOptions!==undefined){R.watchOfFilesAndCompilerOptions.updateRootFileNames(getRootFileNames())}},createProgram:$===undefined?q.createEmitAndSemanticDiagnosticsBuilderProgram:createBuilderProgramWithReferences,outputFiles:new Map});return Ne;function getRootFileNames(){return[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E)))}function readFileWithCachingText(E,N){var $;E=j.normalize(E);const q=ce(E);const G=ie.get(q)||ae.get(q);if(G!==undefined){return G.text}const le=Te.readFile(E,N);if(le===undefined){return undefined}if(!(($=R.solutionBuilderHost)===null||$===void 0?void 0:$.getOutputFileKeyFromReferencedProject(E))){ae.set(q,{fileName:E,version:0,text:le})}return le}function createBuilderProgramWithReferences(E,N,R,j,G){const ie=q.createProgram({rootNames:E,options:N,host:R,oldProgram:j&&j.getProgram(),configFileParsingDiagnostics:G,projectReferences:$});const ae=R;return q.createEmitAndSemanticDiagnosticsBuilderProgram(ie,ae,j,G)}}N.makeWatchHost=makeWatchHost;const ce=new Date(0);function identity(E){return E}function toLowerCase(E){return E.toLowerCase()}const le=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function toFileNameLowerCase(E){return le.test(E)?E.replace(le,toLowerCase):E}function createGetCanonicalFileName(E){return ae.useCaseSensitiveFileNames(E.compiler,E.loaderOptions)?identity:toFileNameLowerCase}function createModuleResolutionCache(E,N){const R=E.compiler.createModuleResolutionCache(N.getCurrentDirectory(),createGetCanonicalFileName(E),E.compilerOptions);if(!R.clear){R.clear=()=>{R.directoryToModuleNameMap.clear();R.moduleNameToDirectoryMap.clear()}}if(!R.update){R.update=E=>{if(!E.configFile)return;const N={sourceFile:E.configFile,commandLine:{options:E}};R.directoryToModuleNameMap.setOwnMap(R.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(N));R.moduleNameToDirectoryMap.setOwnMap(R.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(N));R.directoryToModuleNameMap.setOwnOptions(E);R.moduleNameToDirectoryMap.setOwnOptions(E)}}return R}function makeSolutionBuilderHost(E,N,R){const{compiler:ie,loaderOptions:{transpileOnly:ae},filePathKeyMapper:le}=R;const _e={getCurrentDirectory:ie.sys.getCurrentDirectory,getCanonicalFileName:createGetCanonicalFileName(R),getNewLine:()=>ie.sys.newLine};const Ee={global:[],perFile:new Map,transpileErrors:[]};const reportDiagnostic=E=>{if(ae){const N=E.file?le(E.file.fileName):undefined;const R=Ee.transpileErrors[Ee.transpileErrors.length-1];if(Ee.transpileErrors.length&&R[0]===N){R[1].push(E)}else{Ee.transpileErrors.push([N,[E]])}}else if(E.file){const N=le(E.file.fileName);const R=Ee.perFile.get(N);if(R){R.push(E)}else{Ee.perFile.set(N,[E])}}else{Ee.global.push(E)}R.log.logInfo(ie.formatDiagnostic(E,_e))};const reportSolutionBuilderStatus=E=>R.log.logInfo(ie.formatDiagnostic(E,_e));const reportWatchStatus=(E,N,j)=>R.log.logInfo(`${ie.flattenDiagnosticMessageText(E.messageText,ie.sys.newLine)}${N+N}`);const Te=new Map;const we=new Map;const Ie=[];const Ne=new Map;let Me;const{resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,moduleResolutionHost:je}=makeResolversAndModuleResolutionHost(E,N,R,(E=>{const N=le(E);return R.files.has(N)||R.otherFiles.has(N)||ie.sys.fileExists(E)}),true);const Ue=new Map;const ze=[];const We=ie.createSolutionBuilderWithWatchHost(ie.sys,ie.createEmitAndSemanticDiagnosticsBuilderProgram,reportDiagnostic,reportSolutionBuilderStatus,reportWatchStatus);const Je=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},We),je),{createProgram:(E,N,j,$,q,G)=>{var ie,ae,ce,le;(ie=R.moduleResolutionCache)===null||ie===void 0?void 0:ie.update(N||{});(ae=R.typeReferenceResolutionCache)===null||ae===void 0?void 0:ae.update(N||{});const _e=We.createProgram(E,N,j,$,q,G);(ce=R.typeReferenceResolutionCache)===null||ce===void 0?void 0:ce.update(R.compilerOptions);(le=R.moduleResolutionCache)===null||le===void 0?void 0:le.update(R.compilerOptions);return _e},resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,diagnostics:Ee}),createWatchFactory(le,ie)),{writeFile:(E,N,j)=>{var $;const q=le(E);updateFileWithText(R,q,E,(()=>N));const G=ensureOutputFile(E);const ae=hashOutputText(N);Te.set(q,ae);Ie.push({name:E,text:N,writeByteOrderMark:!!j});ie.sys.writeFile(E,N,j);($=je.fileExistsCache)===null||$===void 0?void 0:$.delete(E);if(Ne.has(q)&&(!G||G!==ae)){R.version++}if(R.watchHost&&!R.files.has(q)&&!R.otherFiles.has(q)){if(!G){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Created)||R.hasUnaccountedModifiedFiles}else if(G!==ae){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Changed)||R.hasUnaccountedModifiedFiles}}},createDirectory:We.createDirectory&&(E=>{var N;We.createDirectory(E);(N=je.directoryExistsCache)===null||N===void 0?void 0:N.delete(E)}),afterProgramEmitAndDiagnostics:ae?undefined:storeDtsFiles,setTimeout:(E,N,...R)=>{Me=[E,R];return Me},clearTimeout:E=>{Me=undefined},getParsedCommandLine:E=>{const N=$.getParsedCommandLine(ie,R.loaderOptions,E);Ue.set(le(E),{config:N});return N},writtenFiles:Ie,configFileInfo:Ue,outputAffectingInstanceVersion:Ne,getInputFileStamp:getInputFileStamp,updateSolutionBuilderInputFile:updateSolutionBuilderInputFile,getOutputFileKeyFromReferencedProject:getOutputFileKeyFromReferencedProject,getOutputFileAndKeyFromReferencedProject:getOutputFileAndKeyFromReferencedProject,getOutputFileTextAndKeyFromReferencedProject:getOutputFileTextAndKeyFromReferencedProject,getInputFileNameFromOutput:E=>{const N=getInputFileNameFromOutput(E);return typeof N==="string"?N:undefined},getOutputFilesFromReferencedProjectInput:getOutputFilesFromReferencedProjectInput,buildReferences:buildReferences,ensureAllReferenceTimestamps:ensureAllReferenceTimestamps,clearCache:clearCache,close:close});return Je;function close(){ze.slice().forEach((E=>E.close()))}function clearCache(){je.clearCache();Te.clear();we.clear()}function buildReferences(){if(!Me){ensureAllReferenceTimestamps();return}Ee.global.length=0;Ee.perFile.clear();Ee.transpileErrors.length=0;while(Me){const[E,N]=Me;Me=undefined;E(...N)}ensureAllReferenceTimestamps()}function ensureAllReferenceTimestamps(){if(we.size!==Je.watchedFiles.size){for(const{fileName:E}of R.solutionBuilderHost.watchedFiles.values()){R.solutionBuilderHost.getInputFileStamp(E)}}}function storeDtsFiles(E){const N=E.getProgram();for(const E of Ue.values()){if(!E.config||N.getRootFileNames()!==E.config.fileNames||N.getCompilerOptions()!==E.config.options||N.getProjectReferences()!==E.config.projectReferences){continue}E.dtsFiles=N.getSourceFiles().map((E=>j.resolve(E.fileName))).filter((E=>E.match(q.dtsDtsxOrDtsDtsxMapRegex)));return}}function getInputFileNameFromOutput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){for(const{inputFileName:R,outputNames:j}of E.outputFileNames.values()){if(j.some((E=>N===le(E)))){return R}}}if(E.tsbuildInfoFile&&le(E.tsbuildInfoFile)===N){return true}}const R=Je.realpath(E);return le(R)!==N?getInputFileNameFromOutput(R):undefined}function ensureInputOutputInfo(E){if(E.outputFileNames||!E.config){return}E.outputFileNames=new Map;E.config.fileNames.forEach((N=>E.outputFileNames.set(le(N),{inputFileName:j.resolve(N),outputNames:G.getOutputFileNames(R,E.config,N)})));E.tsbuildInfoFile=R.compiler.getTsBuildInfoEmitOutputFilePath?R.compiler.getTsBuildInfoEmitOutputFilePath(E.config.options):R.compiler.getOutputPathForBuildInfo(E.config.options)}function getOutputFileAndKeyFromReferencedProject(E){const N=ensureOutputFile(E);return N!==undefined?{key:getOutputFileKeyFromReferencedProject(E),outputFile:N}:undefined}function getOutputFileTextAndKeyFromReferencedProject(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Ie.find((E=>le(E.name)===N));if(R){return{key:N,text:R.text}}const j=Te.get(N);return{key:N,text:j!==false?ie.sys.readFile(E):undefined}}function getOutputFileKeyFromReferencedProject(E){const N=le(E);if(Te.has(N))return N;const R=le(Je.realpath(E));if(R!==N&&Te.has(R))return R;return getInputFileNameFromOutput(E)?R:undefined}function hashOutputText(E){return ie.sys.createHash?ie.sys.createHash(E):E}function ensureOutputFile(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Te.get(N);if(R!==undefined){return R}if(!getInputFileNameFromOutput(E)){return undefined}const j=ie.sys.readFile(E);const $=j===undefined?false:hashOutputText(j);Te.set(N,$);return $}function getTypeScriptOutputFile(E){const N=le(E);const R=Ie.find((E=>le(E.name)===N));if(R)return R;const j=ie.sys.readFile(E);return j!==undefined?{name:E,text:j,writeByteOrderMark:false}:undefined}function getOutputFilesFromReferencedProjectInput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){const R=E.outputFileNames.get(N);if(R){return R.outputNames.map(getTypeScriptOutputFile).filter((E=>!!E))}}}return[]}function getInputFileStamp(E){const N=le(E);const R=we.get(N);if(R!==undefined){return R}const j=ie.sys.getModifiedTime(E)||ce;we.set(N,j);return j}function updateSolutionBuilderInputFile(E){const N=le(E);const R=we.get(N)||ce;const j=ie.sys.getModifiedTime(E)||ce;if(R.getTime()===j.getTime()){return}const $=R==ce?ie.FileWatcherEventKind.Created:j===ce?ie.FileWatcherEventKind.Deleted:ie.FileWatcherEventKind.Changed;Je.invokeFileWatcher(E,$)}}N.makeSolutionBuilderHost=makeSolutionBuilderHost;function getSolutionErrors(E,N){const R=[];if(E.solutionBuilderHost&&E.solutionBuilderHost.diagnostics.transpileErrors.length){E.solutionBuilderHost.diagnostics.transpileErrors.forEach((([j,$])=>R.push(...ae.formatErrors($,E.loaderOptions,E.colors,E.compiler,{file:j?undefined:"tsconfig.json"},N))))}return R}N.getSolutionErrors=getSolutionErrors;function makeResolveTypeReferenceDirective(E,N,R,j,$){var q,G;if(j===undefined){if(E.createTypeReferenceDirectiveResolutionCache&&!$.typeReferenceResolutionCache){$.typeReferenceResolutionCache=E.createTypeReferenceDirectiveResolutionCache(R.getCurrentDirectory(),createGetCanonicalFileName($),$.compilerOptions,(G=(q=$.moduleResolutionCache)===null||q===void 0?void 0:q.getPackageJsonInfoCache)===null||G===void 0?void 0:G.call(q))}return(j,q,G)=>E.resolveTypeReferenceDirective(j,q,N,R,G,$.typeReferenceResolutionCache)}return($,q)=>j($,q,N,R,E.resolveTypeReferenceDirective)}function isJsImplementationOfTypings(E,N){return E.resolvedFileName.endsWith("js")&&/\.d\.ts$/.test(N.resolvedFileName)}function resolveModule(E,N,R,$,q,G,ie){let ae;try{const N=E(undefined,j.normalize(j.dirname(G)),q);const ie=R(N);if(ie.match($)!==null){ae={resolvedFileName:ie,originalFileName:N}}}catch(E){}const ce=N(q,G,ie);if(ce.resolvedModule!==undefined){const E=j.normalize(ce.resolvedModule.resolvedFileName);const N=Object.assign(Object.assign({},ce.resolvedModule),{originalFileName:E,resolvedFileName:E});return ae===undefined||ae.resolvedFileName===N.resolvedFileName||isJsImplementationOfTypings(ae,N)?N:ae}return ae}function makeResolveModuleName(E,N,R,j,$){if(j===undefined){if(!$.moduleResolutionCache){$.moduleResolutionCache=createModuleResolutionCache($,R)}return(j,q,G)=>E.resolveModuleName(j,q,N,R,$.moduleResolutionCache,G)}return($,q)=>j($,q,N,R,E.resolveModuleName)}function addCache(E){E.fileExists=createCache(E.fileExists,E.fileExistsCache=new Map);E.directoryExists=createCache(E.directoryExists,E.directoryExistsCache=new Map);E.realpath=E.realpath&&createCache(E.realpath,E.realpathCache=new Map);E.clearCache=clearCache;function createCache(E,N){return function getCached(R){let j=N.get(R);if(j!==undefined){return j}j=E(R);N.set(R,j);return j}}function clearCache(){var N,R,j;(N=E.fileExistsCache)===null||N===void 0?void 0:N.clear();(R=E.directoryExistsCache)===null||R===void 0?void 0:R.clear();(j=E.realpathCache)===null||j===void 0?void 0:j.clear()}}},38001:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.useCaseSensitiveFileNames=N.isReferencedFile=N.supportsSolutionBuild=N.ensureProgram=N.arrify=N.collectAllDependants=N.populateReverseDependencyGraph=N.populateDependencyGraph=N.unorderedRemoveItem=N.appendSuffixesIfMatch=N.appendSuffixIfMatch=N.tsLoaderSource=N.makeError=N.fsReadFile=N.formatErrors=void 0;const j=R(57147);const $=R(44930);const q=R(71017);const G=R(69635);const ie=R(90557);function defaultErrorFormatter(E,N){const R=E.severity==="warning"?N.bold.yellow:N.bold.red;return N.grey("[tsl] ")+R(E.severity.toUpperCase())+(E.file===""?"":R(" in ")+N.bold.cyan(`${E.file}(${E.line},${E.character})`))+G.EOL+R(` TS${E.code}: ${E.content}`)}function formatErrors(E,N,R,j,ie,ae){return E===undefined?[]:E.filter((E=>{if(N.ignoreDiagnostics.indexOf(E.code)!==-1){return false}if(N.reportFiles.length>0&&E.file!==undefined){const R=q.relative(ae,E.file.fileName);const j=$([R],N.reportFiles);if(j.length===0){return false}}return true})).map((E=>{const $=E.file;const{start:ce,end:le}=$===undefined||E.start===undefined?{start:undefined,end:undefined}:getFileLocations($,E.start,E.length);const _e={code:E.code,severity:j.DiagnosticCategory[E.category].toLowerCase(),content:j.flattenDiagnosticMessageText(E.messageText,G.EOL),file:$===undefined?"":q.normalize($.fileName),line:ce===undefined?0:ce.line,character:ce===undefined?0:ce.character,context:ae};const Ee=N.errorFormatter===undefined?defaultErrorFormatter(_e,R):N.errorFormatter(_e,R);const Te=makeError(N,Ee,ie.file===undefined?_e.file:ie.file,ce,le);return Object.assign(Te,ie)}))}N.formatErrors=formatErrors;function getFileLocations(E,N,R=0){const j=E.getLineAndCharacterOfPosition(N);const $={line:j.line+1,character:j.character+1};const q=R>0?E.getLineAndCharacterOfPosition(N+R):undefined;const G=q===undefined?undefined:{line:q.line+1,character:q.character+1};return{start:$,end:G}}function fsReadFile(E,N="utf8"){E=q.normalize(E);try{return j.readFileSync(E,N)}catch(E){return undefined}}N.fsReadFile=fsReadFile;function makeError(E,N,R,j,$){return{message:N,file:R,loc:j===undefined?undefined:makeWebpackLocation(j,$),location:j,loaderSource:tsLoaderSource(E)}}N.makeError=makeError;function makeWebpackLocation(E,N){const R={line:E.line,column:E.character-1};const j=N===undefined?undefined:{line:N.line,column:N.character-1};return{start:R,end:j}}function tsLoaderSource(E){return`ts-loader-${E.instance}`}N.tsLoaderSource=tsLoaderSource;function appendSuffixIfMatch(E,N,R){if(E.length>0){for(const j of E){if(N.match(j)!==null){return N+R}}}return N}N.appendSuffixIfMatch=appendSuffixIfMatch;function appendSuffixesIfMatch(E,N){let R=N;for(const N in E){R=appendSuffixIfMatch(E[N],R,N)}return R}N.appendSuffixesIfMatch=appendSuffixesIfMatch;function unorderedRemoveItem(E,N){for(let R=0;RE!==null&&E!==undefined));if(E.length){const j=N.filePathKeyMapper(R);N.dependencyGraph.set(j,E)}}N.populateDependencyGraph=populateDependencyGraph;function populateReverseDependencyGraph(E){const N=new Map;for(const[R,j]of E.dependencyGraph.entries()){const $=E.solutionBuilderHost&&ie.getInputFileNameFromOutput(E,R);const q=$?E.filePathKeyMapper($):R;j.forEach((({resolvedFileName:R})=>{const j=E.filePathKeyMapper(E.solutionBuilderHost?ie.getInputFileNameFromOutput(E,R)||R:R);let $=N.get(j);if(!$){$=new Map;N.set(j,$)}$.set(q,true)}))}return N}N.populateReverseDependencyGraph=populateReverseDependencyGraph;function collectAllDependants(E,N,R=new Map){R.set(N,true);const j=E.get(N);if(j!==undefined){for(const N of j.keys()){if(!R.has(N)){collectAllDependants(E,N,R)}}}return R}N.collectAllDependants=collectAllDependants;function arrify(E){if(E===null||E===undefined){return[]}return Array.isArray(E)?E:[E]}N.arrify=arrify;function ensureProgram(E){if(E&&E.watchHost){if(E.hasUnaccountedModifiedFiles){if(E.changedFilesList){E.watchHost.updateRootFileNames()}if(E.watchOfFilesAndCompilerOptions){E.builderProgram=E.watchOfFilesAndCompilerOptions.getProgram();E.program=E.builderProgram.getProgram()}E.hasUnaccountedModifiedFiles=false}return E.program}if(E.languageService){return E.languageService.getProgram()}return E.program}N.ensureProgram=ensureProgram;function supportsSolutionBuild(E){return!!E.configFilePath&&!!E.loaderOptions.projectReferences&&!!E.configParseResult.projectReferences&&!!E.configParseResult.projectReferences.length}N.supportsSolutionBuild=supportsSolutionBuild;function isReferencedFile(E,N){return!!E.solutionBuilderHost&&!!E.solutionBuilderHost.watchedFiles.get(E.filePathKeyMapper(N))}N.isReferencedFile=isReferencedFile;function useCaseSensitiveFileNames(E,N){return N.useCaseSensitiveFileNames!==undefined?N.useCaseSensitiveFileNames:E.sys.useCaseSensitiveFileNames}N.useCaseSensitiveFileNames=useCaseSensitiveFileNames},80573:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeWatchRun=void 0;const j=R(71017);const $=R(69635);const q=R(9674);const G=R(38001);function makeWatchRun(E,N){const R=new Map;const j=0;const q=N.loaderIndex;return(G,ie)=>{var ae,ce,le,_e,Ee,Te;(ce=(ae=E.servicesHost)===null||ae===void 0?void 0:ae.clearCache)===null||ce===void 0?void 0:ce.call(ae);(_e=(le=E.watchHost)===null||le===void 0?void 0:le.clearCache)===null||_e===void 0?void 0:_e.call(le);(Ee=E.moduleResolutionCache)===null||Ee===void 0?void 0:Ee.clear();(Te=E.typeReferenceResolutionCache)===null||Te===void 0?void 0:Te.clear();const we=[];if(E.loaderOptions.transpileOnly){E.reportTranspileErrors=true}else{const ie=G.fileTimestamps;for(const[$,G]of ie){const ie=E.filePathKeyMapper($);const ae=R.get(ie)||j;if(G<=ae){continue}R.set(ie,G);we.push(updateFile(E,ie,$,N,q))}for(const[R,{fileName:j}]of E.files.entries()){if(j.match($.dtsDtsxOrDtsDtsxMapRegex)!==null&&j.match($.nodeModules)===null){we.push(updateFile(E,R,j,N,q))}}}if(E.solutionBuilderHost){for(const{fileName:N}of E.solutionBuilderHost.watchedFiles.values()){E.solutionBuilderHost.updateSolutionBuilderInputFile(N)}E.solutionBuilderHost.clearCache()}Promise.all(we).then((()=>ie())).catch((E=>ie(E)))}}N.makeWatchRun=makeWatchRun;function updateFile(E,N,R,$,ie){return new Promise(((ae,ce)=>{if(ie+1<$.loaders.length&&E.rootFileNames.has(j.normalize(R))){let G=`!!${j.resolve(__dirname,"stringify-loader.js")}!`;for(let E=ie+1;E<$.loaders.length;++E){G+=$.loaders[E].request+"!"}G+=R;$.loadModule(G,((j,$)=>{if(j){ce(j)}else{const j=JSON.parse($);q.updateFileWithText(E,N,R,(()=>j));ae()}}))}else{q.updateFileWithText(E,N,R,(E=>G.fsReadFile(E)||""));ae()}}))}},82070:(E,N,R)=>{var j=R(32956);E.exports=j},4822:(E,N,R)=>{"use strict";const j=R(13819);const $=R(59153);const q=R(64455);const G=R(82806);const braces=(E,N={})=>{let R=[];if(Array.isArray(E)){for(let j of E){let E=braces.create(j,N);if(Array.isArray(E)){R.push(...E)}else{R.push(E)}}}else{R=[].concat(braces.create(E,N))}if(N&&N.expand===true&&N.nodupes===true){R=[...new Set(R)]}return R};braces.parse=(E,N={})=>G(E,N);braces.stringify=(E,N={})=>{if(typeof E==="string"){return j(braces.parse(E,N),N)}return j(E,N)};braces.compile=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}return $(E,N)};braces.expand=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}let R=q(E,N);if(N.noempty===true){R=R.filter(Boolean)}if(N.nodupes===true){R=[...new Set(R)]}return R};braces.create=(E,N={})=>{if(E===""||E.length<3){return[E]}return N.expand!==true?braces.compile(E,N):braces.expand(E,N)};E.exports=braces},59153:(E,N,R)=>{"use strict";const j=R(12710);const $=R(82875);const compile=(E,N={})=>{let walk=(E,R={})=>{let q=$.isInvalidBrace(R);let G=E.invalid===true&&N.escapeInvalid===true;let ie=q===true||G===true;let ae=N.escapeInvalid===true?"\\":"";let ce="";if(E.isOpen===true){return ae+E.value}if(E.isClose===true){return ae+E.value}if(E.type==="open"){return ie?ae+E.value:"("}if(E.type==="close"){return ie?ae+E.value:")"}if(E.type==="comma"){return E.prev.type==="comma"?"":ie?E.value:"|"}if(E.value){return E.value}if(E.nodes&&E.ranges>0){let R=$.reduce(E.nodes);let q=j(...R,{...N,wrap:false,toRegex:true});if(q.length!==0){return R.length>1&&q.length>1?`(${q})`:q}}if(E.nodes){for(let N of E.nodes){ce+=walk(N,E)}}return ce};return walk(E)};E.exports=compile},43783:E=>{"use strict";E.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:" ",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:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},64455:(E,N,R)=>{"use strict";const j=R(12710);const $=R(13819);const q=R(82875);const append=(E="",N="",R=false)=>{let j=[];E=[].concat(E);N=[].concat(N);if(!N.length)return E;if(!E.length){return R?q.flatten(N).map((E=>`{${E}}`)):N}for(let $ of E){if(Array.isArray($)){for(let E of $){j.push(append(E,N,R))}}else{for(let E of N){if(R===true&&typeof E==="string")E=`{${E}}`;j.push(Array.isArray(E)?append($,E,R):$+E)}}}return q.flatten(j)};const expand=(E,N={})=>{let R=N.rangeLimit===void 0?1e3:N.rangeLimit;let walk=(E,G={})=>{E.queue=[];let ie=G;let ae=G.queue;while(ie.type!=="brace"&&ie.type!=="root"&&ie.parent){ie=ie.parent;ae=ie.queue}if(E.invalid||E.dollar){ae.push(append(ae.pop(),$(E,N)));return}if(E.type==="brace"&&E.invalid!==true&&E.nodes.length===2){ae.push(append(ae.pop(),["{}"]));return}if(E.nodes&&E.ranges>0){let G=q.reduce(E.nodes);if(q.exceedsLimit(...G,N.step,R)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let ie=j(...G,N);if(ie.length===0){ie=$(E,N)}ae.push(append(ae.pop(),ie));E.nodes=[];return}let ce=q.encloseBrace(E);let le=E.queue;let _e=E;while(_e.type!=="brace"&&_e.type!=="root"&&_e.parent){_e=_e.parent;le=_e.queue}for(let N=0;N{"use strict";const j=R(13819);const{MAX_LENGTH:$,CHAR_BACKSLASH:q,CHAR_BACKTICK:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_LEFT_PARENTHESES:ce,CHAR_RIGHT_PARENTHESES:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_RIGHT_CURLY_BRACE:Ee,CHAR_LEFT_SQUARE_BRACKET:Te,CHAR_RIGHT_SQUARE_BRACKET:we,CHAR_DOUBLE_QUOTE:Ie,CHAR_SINGLE_QUOTE:Ne,CHAR_NO_BREAK_SPACE:Me,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Le}=R(43783);const parse=(E,N={})=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}let R=N||{};let Be=typeof R.maxLength==="number"?Math.min($,R.maxLength):$;if(E.length>Be){throw new SyntaxError(`Input length (${E.length}), exceeds max characters (${Be})`)}let je={type:"root",input:E,nodes:[]};let Ue=[je];let ze=je;let We=je;let Je=0;let Ve=E.length;let qe=0;let He=0;let Ge;let Ke={};const advance=()=>E[qe++];const push=E=>{if(E.type==="text"&&We.type==="dot"){We.type="text"}if(We&&We.type==="text"&&E.type==="text"){We.value+=E.value;return}ze.nodes.push(E);E.parent=ze;E.prev=We;We=E;return E};push({type:"bos"});while(qe0){if(ze.ranges>0){ze.ranges=0;let E=ze.nodes.shift();ze.nodes=[E,{type:"text",value:j(ze)}]}push({type:"comma",value:Ge});ze.commas++;continue}if(Ge===ae&&He>0&&ze.commas===0){let E=ze.nodes;if(He===0||E.length===0){push({type:"text",value:Ge});continue}if(We.type==="dot"){ze.range=[];We.value+=Ge;We.type="range";if(ze.nodes.length!==3&&ze.nodes.length!==5){ze.invalid=true;ze.ranges=0;We.type="text";continue}ze.ranges++;ze.args=[];continue}if(We.type==="range"){E.pop();let N=E[E.length-1];N.value+=We.value+Ge;We=N;ze.ranges--;continue}push({type:"dot",value:Ge});continue}push({type:"text",value:Ge})}do{ze=Ue.pop();if(ze.type!=="root"){ze.nodes.forEach((E=>{if(!E.nodes){if(E.type==="open")E.isOpen=true;if(E.type==="close")E.isClose=true;if(!E.nodes)E.type="text";E.invalid=true}}));let E=Ue[Ue.length-1];let N=E.nodes.indexOf(ze);E.nodes.splice(N,1,...ze.nodes)}}while(Ue.length>0);push({type:"eos"});return je};E.exports=parse},13819:(E,N,R)=>{"use strict";const j=R(82875);E.exports=(E,N={})=>{let stringify=(E,R={})=>{let $=N.escapeInvalid&&j.isInvalidBrace(R);let q=E.invalid===true&&N.escapeInvalid===true;let G="";if(E.value){if(($||q)&&j.isOpenOrClose(E)){return"\\"+E.value}return E.value}if(E.value){return E.value}if(E.nodes){for(let N of E.nodes){G+=stringify(N)}}return G};return stringify(E)}},82875:(E,N)=>{"use strict";N.isInteger=E=>{if(typeof E==="number"){return Number.isInteger(E)}if(typeof E==="string"&&E.trim()!==""){return Number.isInteger(Number(E))}return false};N.find=(E,N)=>E.nodes.find((E=>E.type===N));N.exceedsLimit=(E,R,j=1,$)=>{if($===false)return false;if(!N.isInteger(E)||!N.isInteger(R))return false;return(Number(R)-Number(E))/Number(j)>=$};N.escapeNode=(E,N=0,R)=>{let j=E.nodes[N];if(!j)return;if(R&&j.type===R||j.type==="open"||j.type==="close"){if(j.escaped!==true){j.value="\\"+j.value;j.escaped=true}}};N.encloseBrace=E=>{if(E.type!=="brace")return false;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}return false};N.isInvalidBrace=E=>{if(E.type!=="brace")return false;if(E.invalid===true||E.dollar)return true;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}if(E.open!==true||E.close!==true){E.invalid=true;return true}return false};N.isOpenOrClose=E=>{if(E.type==="open"||E.type==="close"){return true}return E.open===true||E.close===true};N.reduce=E=>E.reduce(((E,N)=>{if(N.type==="text")E.push(N.value);if(N.type==="range")N.type="text";return E}),[]);N.flatten=(...E)=>{const N=[];const flat=E=>{for(let R=0;R{"use strict";const j=R(28194);const $=R(37575);E.exports=class AliasFieldPlugin{constructor(E,N,R){this.source=E;this.field=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((R,q,G)=>{if(!R.descriptionFileData)return G();const ie=$(E,R);if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.field);if(typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const ce=ae[ie];const le=ae[ie.replace(/^\.\//,"")];const _e=typeof ce!=="undefined"?ce:le;if(_e===ie)return G();if(_e===undefined)return G();if(_e===false){const E=Object.assign({},R,{path:false});return G(null,E)}const Ee=Object.assign({},R,{path:R.descriptionFileRoot,request:_e});E.doResolve(N,Ee,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ie+"' to '"+_e+"'",q,((E,N)=>{if(E)return G(E);if(N===undefined)return G(null,null);G(null,N)}))}))}}},71648:E=>{"use strict";function startsWith(E,N){const R=E.length;const j=N.length;if(j>R){return false}let $=-1;while(++${const q=R.request||R.path;if(!q)return $();for(const G of this.options){if(q===G.name||!G.onlyModule&&startsWith(q,G.name+"/")){if(q!==G.alias&&!startsWith(q,G.alias+"/")){const ie=G.alias+q.substr(G.name.length);const ae=Object.assign({},R,{request:ie});return E.doResolve(N,ae,"aliased with mapping '"+G.name+"': '"+G.alias+"' to '"+ie+"'",j,((E,N)=>{if(E)return $(E);if(N===undefined)return $(null,null);$(null,N)}))}}}return $()}))}}},63554:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending});E.doResolve(N,q,this.appending,j,$)}))}}},87507:E=>{"use strict";class Storage{constructor(E){this.duration=E;this.running=new Map;this.data=new Map;this.levels=[];if(E>0){this.levels.push(new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set);for(let N=8e3;N0&&!this.nextTick)this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length))}finished(E,N,R){const j=this.running.get(E);this.running.delete(E);if(this.duration>0){this.data.set(E,[N,R]);const j=this.levels[0];this.count-=j.size;j.add(E);this.count+=j.size;this.ensureTick()}for(let E=0;E0){this.data.set(E,[N,R]);const j=this.levels[0];this.count-=j.size;j.add(E);this.count+=j.size;this.ensureTick()}}provide(E,N,R){if(typeof E!=="string"){R(new TypeError("path must be a string"));return}let j=this.running.get(E);if(j){j.push(R);return}if(this.duration>0){this.checkTicks();const N=this.data.get(E);if(N){return process.nextTick((()=>{R.apply(null,N)}))}}this.running.set(E,j=[R]);N(E,((N,R)=>{this.finished(E,N,R)}))}provideSync(E,N){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(this.duration>0){this.checkTicks();const N=this.data.get(E);if(N){if(N[0])throw N[0];return N[1]}}let R;try{R=N(E)}catch(N){this.finishedSync(E,N);throw N}this.finishedSync(E,null,R);return R}tick(){const E=this.levels.pop();for(let N of E){this.data.delete(N)}this.count-=E.size;E.clear();this.levels.unshift(E);if(this.count===0){clearInterval(this.interval);this.interval=null;this.nextTick=null;return true}else if(this.nextTick){this.nextTick+=Math.floor(this.duration/this.levels.length);const E=(new Date).getTime();if(this.nextTick>E){this.nextTick=null;this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length));return true}}else if(this.passive){clearInterval(this.interval);this.interval=null;this.nextTick=(new Date).getTime()+Math.floor(this.duration/this.levels.length)}else{this.passive=true}}checkTicks(){this.passive=false;if(this.nextTick){while(!this.tick());}}purge(E){if(!E){this.count=0;clearInterval(this.interval);this.nextTick=null;this.data.clear();this.levels.forEach((E=>{E.clear()}))}else if(typeof E==="string"){for(let N of this.data.keys()){if(N.startsWith(E))this.data.delete(N)}}else{for(let N=E.length-1;N>=0;N--){this.purge(E[N])}}}}E.exports=class CachedInputFileSystem{constructor(E,N){this.fileSystem=E;this._statStorage=new Storage(N);this._readdirStorage=new Storage(N);this._readFileStorage=new Storage(N);this._readJsonStorage=new Storage(N);this._readlinkStorage=new Storage(N);this._stat=this.fileSystem.stat?this.fileSystem.stat.bind(this.fileSystem):null;if(!this._stat)this.stat=null;this._statSync=this.fileSystem.statSync?this.fileSystem.statSync.bind(this.fileSystem):null;if(!this._statSync)this.statSync=null;this._readdir=this.fileSystem.readdir?this.fileSystem.readdir.bind(this.fileSystem):null;if(!this._readdir)this.readdir=null;this._readdirSync=this.fileSystem.readdirSync?this.fileSystem.readdirSync.bind(this.fileSystem):null;if(!this._readdirSync)this.readdirSync=null;this._readFile=this.fileSystem.readFile?this.fileSystem.readFile.bind(this.fileSystem):null;if(!this._readFile)this.readFile=null;this._readFileSync=this.fileSystem.readFileSync?this.fileSystem.readFileSync.bind(this.fileSystem):null;if(!this._readFileSync)this.readFileSync=null;if(this.fileSystem.readJson){this._readJson=this.fileSystem.readJson.bind(this.fileSystem)}else if(this.readFile){this._readJson=(E,N)=>{this.readFile(E,((E,R)=>{if(E)return N(E);let j;try{j=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}N(null,j)}))}}else{this.readJson=null}if(this.fileSystem.readJsonSync){this._readJsonSync=this.fileSystem.readJsonSync.bind(this.fileSystem)}else if(this.readFileSync){this._readJsonSync=E=>{const N=this.readFileSync(E);const R=JSON.parse(N.toString("utf-8"));return R}}else{this.readJsonSync=null}this._readlink=this.fileSystem.readlink?this.fileSystem.readlink.bind(this.fileSystem):null;if(!this._readlink)this.readlink=null;this._readlinkSync=this.fileSystem.readlinkSync?this.fileSystem.readlinkSync.bind(this.fileSystem):null;if(!this._readlinkSync)this.readlinkSync=null}stat(E,N){this._statStorage.provide(E,this._stat,N)}readdir(E,N){this._readdirStorage.provide(E,this._readdir,N)}readFile(E,N){this._readFileStorage.provide(E,this._readFile,N)}readJson(E,N){this._readJsonStorage.provide(E,this._readJson,N)}readlink(E,N){this._readlinkStorage.provide(E,this._readlink,N)}statSync(E){return this._statStorage.provideSync(E,this._statSync)}readdirSync(E){return this._readdirStorage.provideSync(E,this._readdirSync)}readFileSync(E){return this._readFileStorage.provideSync(E,this._readFileSync)}readJsonSync(E){return this._readJsonStorage.provideSync(E,this._readJsonSync)}readlinkSync(E){return this._readlinkStorage.provideSync(E,this._readlinkSync)}purge(E){this._statStorage.purge(E);this._readdirStorage.purge(E);this._readFileStorage.purge(E);this._readlinkStorage.purge(E);this._readJsonStorage.purge(E)}}},54428:(E,N,R)=>{"use strict";const j=R(34164);const $=R(28194);const q=R(13457);E.exports=class ConcordExtensionsPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordExtensionsPlugin",((R,G,ie)=>{const ae=$.getField(R.descriptionFileData,"concord");if(!ae)return ie();const ce=j.getExtensions(R.context,ae);if(!ce)return ie();q(ce,((j,$)=>{const q=Object.assign({},R,{path:R.path+j,relativePath:R.relativePath&&R.relativePath+j});E.doResolve(N,q,"concord extension: "+j,G,$)}),((E,N)=>{if(E)return ie(E);if(N===undefined)return ie(null,null);ie(null,N)}))}))}}},13483:(E,N,R)=>{"use strict";const j=R(71017);const $=R(34164);const q=R(28194);E.exports=class ConcordMainPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordMainPlugin",((R,G,ie)=>{if(R.path!==R.descriptionFileRoot)return ie();const ae=q.getField(R.descriptionFileData,"concord");if(!ae)return ie();const ce=$.getMain(R.context,ae);if(!ce)return ie();const le=Object.assign({},R,{request:ce});const _e=j.basename(R.descriptionFilePath);return E.doResolve(N,le,"use "+ce+" from "+_e,G,ie)}))}}},12379:(E,N,R)=>{"use strict";const j=R(34164);const $=R(28194);const q=R(37575);E.exports=class ConcordModulesPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordModulesPlugin",((R,G,ie)=>{const ae=q(E,R);if(!ae)return ie();const ce=$.getField(R.descriptionFileData,"concord");if(!ce)return ie();const le=j.matchModule(R.context,ce,ae);if(le===ae)return ie();if(le===undefined)return ie();if(le===false){const E=Object.assign({},R,{path:false});return ie(null,E)}const _e=Object.assign({},R,{path:R.descriptionFileRoot,request:le});E.doResolve(N,_e,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ae+"' to '"+le+"'",G,((E,N)=>{if(E)return ie(E);if(N===undefined)return ie(null,null);ie(null,N)}))}))}}},61878:(E,N,R)=>{"use strict";const j=R(28194);E.exports=class DescriptionFilePlugin{constructor(E,N,R){this.source=E;this.filenames=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,$,q)=>{const G=R.path;j.loadDescriptionFile(E,G,this.filenames,$,((j,ie)=>{if(j)return q(j);if(!ie){if($.missing){this.filenames.forEach((N=>{$.missing.add(E.join(G,N))}))}if($.log)$.log("No description file found");return q()}const ae="."+R.path.substr(ie.directory.length).replace(/\\/g,"/");const ce=Object.assign({},R,{descriptionFilePath:ie.path,descriptionFileData:ie.content,descriptionFileRoot:ie.directory,relativePath:ae});E.doResolve(N,ce,"using description file: "+ie.path+" (relative path: "+ae+")",$,((E,N)=>{if(E)return q(E);if(N===undefined)return q(null,null);q(null,N)}))}))}))}}},28194:(E,N,R)=>{"use strict";const j=R(13457);function loadDescriptionFile(E,N,R,$,q){(function findDescriptionFile(){j(R,((R,j)=>{const q=E.join(N,R);if(E.fileSystem.readJson){E.fileSystem.readJson(q,((E,N)=>{if(E){if(typeof E.code!=="undefined")return j();return onJson(E)}onJson(null,N)}))}else{E.fileSystem.readFile(q,((E,N)=>{if(E)return j();let R;try{R=JSON.parse(N)}catch(E){onJson(E)}onJson(null,R)}))}function onJson(E,R){if(E){if($.log)$.log(q+" (directory description file): "+E);else E.message=q+" (directory description file): "+E;return j(E)}j(null,{content:R,directory:N,path:q})}}),((E,R)=>{if(E)return q(E);if(R){return q(null,R)}else{N=cdUp(N);if(!N){return q()}else{return findDescriptionFile()}}}))})()}function getField(E,N){if(!E)return undefined;if(Array.isArray(N)){let R=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,j,$)=>{const q=E.fileSystem;const G=R.path;q.stat(G,((q,ie)=>{if(q||!ie){if(j.missing)j.missing.add(G);if(j.log)j.log(G+" doesn't exist");return $()}if(!ie.isDirectory()){if(j.missing)j.missing.add(G);if(j.log)j.log(G+" is not a directory");return $()}E.doResolve(N,R,"existing directory",j,$)}))}))}}},37841:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((j,$,q)=>{const G=j.path;R.stat(G,((R,ie)=>{if(R||!ie){if($.missing)$.missing.add(G);if($.log)$.log(G+" doesn't exist");return q()}if(!ie.isFile()){if($.missing)$.missing.add(G);if($.log)$.log(G+" is not a file");return q()}E.doResolve(N,j,"existing file: "+G,$,q)}))}))}}},40530:E=>{"use strict";E.exports=class FileKindPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("FileKindPlugin",((R,j,$)=>{if(R.directory)return $();const q=Object.assign({},R);delete q.directory;E.doResolve(N,q,null,j,$)}))}}},82703:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:E.join(R.path,R.request),relativePath:R.relativePath&&E.join(R.relativePath,R.request),request:undefined});E.doResolve(N,q,null,j,$)}))}}},52265:(E,N,R)=>{"use strict";const j=R(71017);E.exports=class MainFieldPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((R,$,q)=>{if(R.path!==R.descriptionFileRoot)return q();if(R.alreadyTriedMainField===R.descriptionFilePath)return q();const G=R.descriptionFileData;const ie=j.basename(R.descriptionFilePath);let ae;const ce=this.options.name;if(Array.isArray(ce)){let E=G;for(let N=0;N{"use strict";E.exports=class ModuleAppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModuleAppendPlugin",((R,j,$)=>{const q=R.request.indexOf("/"),G=R.request.indexOf("\\");const ie=q<0?G:G<0?q:q{"use strict";E.exports=class ModuleKindPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModuleKindPlugin",((R,j,$)=>{if(!R.module)return $();const q=Object.assign({},R);delete q.module;E.doResolve(N,q,"resolve as module",j,((E,N)=>{if(E)return $(E);if(N===undefined)return $(null,null);$(null,N)}))}))}}},23401:(E,N,R)=>{"use strict";const j=R(13457);const $=R(94585);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,N,R){this.source=E;this.directories=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((R,q,G)=>{const ie=E.fileSystem;const ae=$(R.path).paths.map((N=>this.directories.map((R=>E.join(N,R))))).reduce(((E,N)=>{E.push.apply(E,N);return E}),[]);j(ae,((j,$)=>{ie.stat(j,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G=Object.assign({},R,{path:j,request:"./"+R.request});const ie="looking for modules in "+j;return E.doResolve(N,G,ie,q,$)}if(q.log)q.log(j+" doesn't exist or is not a directory");if(q.missing)q.missing.add(j);return $()}))}),G)}))}}},20735:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,N,R){this.source=E;this.path=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:this.path,request:"./"+R.request});E.doResolve(N,q,"looking for modules in "+this.path,j,$)}))}}},58467:E=>{"use strict";E.exports=class NextPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((R,j,$)=>{E.doResolve(N,R,null,j,$)}))}}},52831:(E,N,R)=>{"use strict";const j=R(15808);class NodeJsInputFileSystem{readdir(E,N){j.readdir(E,((E,R)=>{N(E,R&&R.map((E=>E.normalize?E.normalize("NFC"):E)))}))}readdirSync(E){const N=j.readdirSync(E);return N&&N.map((E=>E.normalize?E.normalize("NFC"):E))}}const $=["stat","statSync","readFile","readFileSync","readlink","readlinkSync"];for(const E of $){Object.defineProperty(NodeJsInputFileSystem.prototype,E,{configurable:true,writable:true,value:j[E].bind(j)})}E.exports=NodeJsInputFileSystem},64829:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((R,j,$)=>{const q=E.parse(R.request);const G=Object.assign({},R,q);if(R.query&&!q.query){G.query=R.query}if(q&&j.log){if(q.module)j.log("Parsed request is a module");if(q.directory)j.log("Parsed request is a directory")}E.doResolve(N,G,null,j,$)}))}}},5625:(E,N,R)=>{"use strict";const j=R(73837);const $=R(86118);const q=R(40352);const G=R(53706);const ie=R(27046);const ae=R(29591);const ce=/^\.$|^\.[\\/]|^\.\.$|^\.\.[\\/]|^\/|^[A-Z]:[\\/]/i;const le=/[\\/]$/i;const _e=R(89987);const Ee=new Map;const Te=R(48333);function withName(E,N){N.name=E;return N}function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}const we=j.deprecate(((E,N)=>{E.add(N)}),"Resolver: 'missing' is now a Set. Use add instead of push.");const Ie=j.deprecate((E=>E),"Resolver: The callback argument was splitted into resolveContext and callback.");const Ne=j.deprecate((E=>E),"Resolver#doResolve: The type arguments (string) is now a hook argument (Hook). Pass a reference to the hook instead.");class Resolver extends ${constructor(E){super();this.fileSystem=E;this.hooks={resolveStep:withName("resolveStep",new q(["hook","request"])),noResolve:withName("noResolve",new q(["request","error"])),resolve:withName("resolve",new G(["request","resolveContext"])),result:new ie(["result","resolveContext"])};this._pluginCompat.tap("Resolver: before/after",(E=>{if(/^before-/.test(E.name)){E.name=E.name.substr(7);E.stage=-10}else if(/^after-/.test(E.name)){E.name=E.name.substr(6);E.stage=10}}));this._pluginCompat.tap("Resolver: step hooks",(E=>{const N=E.name;const R=!/^resolve(-s|S)tep$|^no(-r|R)esolve$/.test(N);if(R){E.async=true;this.ensureHook(N);const R=E.fn;E.fn=(E,N,j)=>{const innerCallback=(E,N)=>{if(E)return j(E);if(N!==undefined)return j(null,N);j()};for(const E in N){innerCallback[E]=N[E]}R.call(this,E,innerCallback)}}}))}ensureHook(E){if(typeof E!=="string")return E;E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){return this.hooks[E]=withName(E,new G(["request","resolveContext"]))}return N}getHook(E){if(typeof E!=="string")return E;E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){throw new Error(`Hook ${E} doesn't exist`)}return N}resolveSync(E,N,R){let j,$,q=false;this.resolve(E,N,R,{},((E,N)=>{j=E;$=N;q=true}));if(!q)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(j)throw j;return $}resolve(E,N,R,j,$){if(typeof $!=="function"){$=Ie(j)}const q={context:E,path:N,request:R};const G="resolve '"+R+"' in '"+N+"'";return this.doResolve(this.hooks.resolve,q,G,{missing:j.missing,stack:j.stack},((E,N)=>{if(!E&&N){return $(null,N.path===false?false:N.path+(N.query||""),N)}const R=new Set;R.push=E=>we(R,E);const ie=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>{if(j.log){j.log(E)}ie.push(E)},missing:R,stack:j.stack},((E,N)=>{if(E)return $(E);const j=new Error("Can't "+G);j.details=ie.join("\n");j.missing=Array.from(R);this.hooks.noResolve.call(q,j);return $(j)}))}))}doResolve(E,N,R,j,$){if(typeof $!=="function"){$=Ie(j)}if(typeof E==="string"){const N=toCamelCase(E);E=Ne(this.hooks[N]);if(!E){throw new Error(`Hook "${N}" doesn't exist`)}}if(typeof $!=="function")throw new Error("callback is not a function "+Array.from(arguments));if(!j)throw new Error("resolveContext is not an object "+Array.from(arguments));const q=E.name+": ("+N.path+") "+(N.request||"")+(N.query||"")+(N.directory?" directory":"")+(N.module?" module":"");let G;if(j.stack){G=new Set(j.stack);if(j.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(G).join("\n "));E.recursion=true;if(j.log)j.log("abort resolving because of recursion");return $(E)}G.add(q)}else{G=new Set([q])}this.hooks.resolveStep.call(E,N);if(E.isUsed()){const q=ae({log:j.log,missing:j.missing,stack:G},R);return E.callAsync(N,q,((E,N)=>{if(E)return $(E);if(N)return $(null,N);$()}))}else{$()}}parse(E){if(E==="")return null;const N={request:"",query:"",module:false,directory:false,file:false};const R=E.indexOf("?");if(R===0){N.query=E}else if(R>0){N.request=E.slice(0,R);N.query=E.slice(R)}else{N.request=E}if(N.request){N.module=this.isModule(N.request);N.directory=this.isDirectory(N.request);if(N.directory){N.request=N.request.substr(0,N.request.length-1)}}return N}isModule(E){return!ce.test(E)}isDirectory(E){return le.test(E)}join(E,N){let R;let j=Ee.get(E);if(typeof j==="undefined"){Ee.set(E,j=new Map)}else{R=j.get(N);if(typeof R!=="undefined")return R}R=_e(E,N);j.set(N,R);return R}normalize(E){return Te(E)}}E.exports=Resolver},77e3:(E,N,R)=>{"use strict";const j=R(5625);const $=R(2627);const q=R(64829);const G=R(61878);const ie=R(58467);const ae=R(27473);const ce=R(70869);const le=R(40530);const _e=R(82703);const Ee=R(23401);const Te=R(20735);const we=R(71648);const Ie=R(36325);const Ne=R(54428);const Me=R(13483);const Le=R(12379);const Be=R(17197);const je=R(37841);const Ue=R(55098);const ze=R(52265);const We=R(6069);const Je=R(63554);const Ve=R(98573);const qe=R(76997);const He=R(36605);const Ge=R(36513);const Ke=R(35329);N.createResolver=function(E){let N=E.modules||["node_modules"];const R=E.descriptionFiles||["package.json"];const Qe=E.plugins&&E.plugins.slice()||[];let Xe=E.mainFields||["main"];const Ye=E.aliasFields||[];const Ze=E.mainFiles||["index"];let et=E.extensions||[".js",".json",".node"];const tt=E.enforceExtension||false;let rt=E.moduleExtensions||[];const nt=E.enforceModuleExtension||false;let it=E.alias||[];const ot=typeof E.symlinks!=="undefined"?E.symlinks:true;const st=E.resolveToContext||false;const ct=E.roots||[];const ut=E.ignoreRootsErrors||false;const dt=E.preferAbsolute||false;const pt=E.restrictions||[];let ft=E.unsafeCache||false;const mt=typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true;const ht=E.concord||false;const _t=E.cachePredicate||function(){return true};const yt=E.fileSystem;const vt=E.useSyncFileSystemCalls;let bt=E.resolver;if(!bt){bt=new j(vt?new $(yt):yt)}et=[].concat(et);rt=[].concat(rt);N=mergeFilteredToArray([].concat(N),(E=>!isAbsolutePath(E)));Xe=Xe.map((E=>{if(typeof E==="string"||Array.isArray(E)){E={name:E,forceRelative:true}}return E}));if(typeof it==="object"&&!Array.isArray(it)){it=Object.keys(it).map((E=>{let N=false;let R=it[E];if(/\$$/.test(E)){N=true;E=E.substr(0,E.length-1)}if(typeof R==="string"){R={alias:R}}R=Object.assign({name:E,onlyModule:N},R);return R}))}if(ft&&typeof ft!=="object"){ft={}}bt.ensureHook("resolve");bt.ensureHook("parsedResolve");bt.ensureHook("describedResolve");bt.ensureHook("rawModule");bt.ensureHook("module");bt.ensureHook("relative");bt.ensureHook("describedRelative");bt.ensureHook("directory");bt.ensureHook("existingDirectory");bt.ensureHook("undescribedRawFile");bt.ensureHook("rawFile");bt.ensureHook("file");bt.ensureHook("existingFile");bt.ensureHook("resolved");if(ft){Qe.push(new Ke("resolve",_t,ft,mt,"new-resolve"));Qe.push(new q("new-resolve","parsed-resolve"))}else{Qe.push(new q("resolve","parsed-resolve"))}Qe.push(new G("parsed-resolve",R,"described-resolve"));Qe.push(new ie("after-parsed-resolve","described-resolve"));if(it.length>0)Qe.push(new we("described-resolve",it,"resolve"));if(ht){Qe.push(new Le("described-resolve",{},"resolve"))}Ye.forEach((E=>{Qe.push(new Ie("described-resolve",E,"resolve"))}));Qe.push(new ce("after-described-resolve","raw-module"));if(dt){Qe.push(new _e("after-described-resolve","relative"))}ct.forEach((E=>{Qe.push(new Ve("after-described-resolve",E,"relative",ut))}));if(!dt){Qe.push(new _e("after-described-resolve","relative"))}rt.forEach((E=>{Qe.push(new Ge("raw-module",E,"module"))}));if(!nt)Qe.push(new ae("raw-module",null,"module"));N.forEach((E=>{if(Array.isArray(E))Qe.push(new Ee("module",E,"resolve"));else Qe.push(new Te("module",E,"resolve"))}));Qe.push(new G("relative",R,"described-relative"));Qe.push(new ie("after-relative","described-relative"));Qe.push(new le("described-relative","raw-file"));Qe.push(new ae("described-relative","as directory","directory"));Qe.push(new Be("directory","existing-directory"));if(st){Qe.push(new ie("existing-directory","resolved"))}else{if(ht){Qe.push(new Me("existing-directory",{},"resolve"))}Xe.forEach((E=>{Qe.push(new ze("existing-directory",E,"resolve"))}));Ze.forEach((E=>{Qe.push(new We("existing-directory",E,"undescribed-raw-file"))}));Qe.push(new G("undescribed-raw-file",R,"raw-file"));Qe.push(new ie("after-undescribed-raw-file","raw-file"));if(!tt){Qe.push(new ae("raw-file","no extension","file"))}if(ht){Qe.push(new Ne("raw-file",{},"file"))}et.forEach((E=>{Qe.push(new Je("raw-file",E,"file"))}));if(it.length>0)Qe.push(new we("file",it,"resolve"));if(ht){Qe.push(new Le("file",{},"resolve"))}Ye.forEach((E=>{Qe.push(new Ie("file",E,"resolve"))}));if(ot)Qe.push(new Ue("file","relative"));Qe.push(new je("file","existing-file"));Qe.push(new ie("existing-file","resolved"))}if(pt.length>0){Qe.push(new qe(bt.hooks.resolved,pt))}Qe.push(new He(bt.hooks.resolved));Qe.forEach((E=>{E.apply(bt)}));return bt};function mergeFilteredToArray(E,N){return E.reduce(((E,R)=>{if(N(R)){const N=E[E.length-1];if(Array.isArray(N)){N.push(R)}else{E.push([R])}return E}else{E.push(R);return E}}),[])}function isAbsolutePath(E){return/^[A-Z]:|^\//.test(E)}},76997:E=>{"use strict";const N="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(E,j)=>{if(!E.startsWith(j))return false;if(E.length===j.length)return true;const $=E.charCodeAt(j.length);return $===N||$===R};E.exports=class RestrictionsPlugin{constructor(E,N){this.source=E;this.restrictions=N}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,N,R)=>{if(typeof E.path==="string"){const j=E.path;for(let E=0;E{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((N,R,j)=>{const $=Object.assign({},N);if(R.log)R.log("reporting result "+$.path);E.hooks.result.callAsync($,R,(E=>{if(E)return j(E);j(null,$)}))}))}}},98573:E=>{"use strict";class RootPlugin{constructor(E,N,R,j){this.root=N;this.source=E;this.target=R;this._ignoreErrors=j}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootPlugin",((R,j,$)=>{const q=R.request;if(!q)return $();if(!q.startsWith("/"))return $();const G=E.join(this.root,q.slice(1));const ie=Object.assign(R,{path:G,relativePath:R.relativePath&&G});E.doResolve(N,ie,`root path ${this.root}`,j,this._ignoreErrors?(E,N)=>{if(E){if(j.log){j.log(`Ignored fatal error while resolving root path:\n${E}`)}return $()}if(N)return $(null,N);$()}:$)}))}}E.exports=RootPlugin},55098:(E,N,R)=>{"use strict";const j=R(94585);const $=R(13457);E.exports=class SymlinkPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((q,G,ie)=>{const ae=j(q.path);const ce=ae.seqments;const le=ae.paths;let _e=false;$.withIndex(le,((E,N,j)=>{R.readlink(E,((E,R)=>{if(!E&&R){ce[N]=R;_e=true;if(/^(\/|[a-zA-Z]:($|\\))/.test(R))return j(null,N)}j()}))}),((R,j)=>{if(!_e)return ie();const $=typeof j==="number"?ce.slice(0,j+1):ce.slice();const ae=$.reverse().reduce(((N,R)=>E.join(N,R)));const le=Object.assign({},q,{path:ae});E.doResolve(N,le,"resolved symlink to "+ae,G,ie)}))}))}}},2627:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;if(E.statSync){this.stat=function(N,R){let j;try{j=E.statSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readdirSync){this.readdir=function(N,R){let j;try{j=E.readdirSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readFileSync){this.readFile=function(N,R){let j;try{j=E.readFileSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readlinkSync){this.readlink=function(N,R){let j;try{j=E.readlinkSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readJsonSync){this.readJson=function(N,R){let j;try{j=E.readJsonSync(N)}catch(E){return R(E)}R(null,j)}}}E.exports=SyncAsyncFileSystemDecorator},27473:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,N,R){this.source=E;this.message=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((R,j,$)=>{E.doResolve(N,R,this.message,j,$)}))}}},35329:E=>{"use strict";function getCacheId(E,N){return JSON.stringify({context:N?E.context:"",path:E.path,query:E.query,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,N,R,j,$){this.source=E;this.filterPredicate=N;this.withContext=j;this.cache=R||{};this.target=$}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,j,$)=>{if(!this.filterPredicate(R))return $();const q=getCacheId(R,this.withContext);const G=this.cache[q];if(G){return $(null,G)}E.doResolve(N,R,null,j,((E,N)=>{if(E)return $(E);if(N)return $(null,this.cache[q]=N);$()}))}))}}},6069:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,N,R){this.source=E;this.filename=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((R,j,$)=>{const q=E.join(R.path,this.filename);const G=Object.assign({},R,{path:q,relativePath:R.relativePath&&E.join(R.relativePath,this.filename)});E.doResolve(N,G,"using path: "+q,j,$)}))}}},34164:(E,N,R)=>{"use strict";const j=R(60129).P;function parseType(E){const N=E.split("+");const R=N.shift();return{type:R==="*"?null:R,features:N}}function isTypeMatched(E,N){if(typeof E==="string")E=parseType(E);if(typeof N==="string")N=parseType(N);if(N.type&&N.type!==E.type)return false;return N.features.every((N=>E.features.indexOf(N)>=0))}function isResourceTypeMatched(E,N){E=E.split("/");N=N.split("/");if(E.length!==N.length)return false;for(let R=0;RisResourceTypeMatched(E,N)))}function isEnvironment(E,N){return E.environments&&E.environments.every((E=>isTypeMatched(E,N)))}const $={};function getGlobRegExp(E){const N=$[E]||($[E]=j(E));return N}function matchGlob(E,N){const R=getGlobRegExp(E);return R.exec(N)}function isGlobMatched(E,N){return!!matchGlob(E,N)}function isConditionMatched(E,N){const R=N.split("|");return R.some((function testFn(N){N=N.trim();const R=/^!/.test(N);if(R)return!testFn(N.substr(1));if(/^[a-z]+:/.test(N)){const R=/^([a-z]+):\s*/.exec(N);const j=N.substr(R[0].length);const $=R[1];switch($){case"referrer":return isGlobMatched(j,E.referrer);default:return false}}else if(N.indexOf("/")>=0){return isResourceTypeSupported(E,N)}else{return isEnvironment(E,N)}}))}function isKeyMatched(E,N){for(;;){const R=/^\[([^\]]+)\]\s*/.exec(N);if(!R)return N;N=N.substr(R[0].length);const j=R[1];if(!isConditionMatched(E,j)){return false}}}function getField(E,N,R){let j;Object.keys(N).forEach(($=>{const q=isKeyMatched(E,$);if(q===R){j=N[$]}}));return j}function getMain(E,N){return getField(E,N,"main")}function getExtensions(E,N){return getField(E,N,"extensions")}function matchModule(E,N,R){const j=getField(E,N,"modules");if(!j)return R;let $=R;const q=Object.keys(j);let G=0;let ie;let ae;for(let N=0;Nq.length){throw new Error("Request '"+R+"' matches recursively")}}}return $;function replaceMatcher(E){switch(E){case"/**":{const E=ie[ae++];return E?"/"+E:""}case"**":case"*":return ie[ae++]}}}function matchType(E,N,R){const j=getField(E,N,"types");if(!j)return undefined;let $;Object.keys(j).forEach((N=>{const q=isKeyMatched(E,N);if(isGlobMatched(q,R)){const E=j[N];if(!$&&/\/\*$/.test(E))throw new Error("value ('"+E+"') of key '"+N+"' contains '*', but there is no previous value defined");$=E.replace(/\/\*$/,"/"+$)}}));return $}N.parseType=parseType;N.isTypeMatched=isTypeMatched;N.isResourceTypeSupported=isResourceTypeSupported;N.isEnvironment=isEnvironment;N.isGlobMatched=isGlobMatched;N.isConditionMatched=isConditionMatched;N.isKeyMatched=isKeyMatched;N.getField=getField;N.getMain=getMain;N.getExtensions=getExtensions;N.matchModule=matchModule;N.matchType=matchType},29591:E=>{"use strict";E.exports=function createInnerContext(E,N,R){let j=false;const $={log:(()=>{if(!E.log)return undefined;if(!N)return E.log;const logFunction=R=>{if(!j){E.log(N);j=true}E.log(" "+R)};return logFunction})(),stack:E.stack,missing:E.missing};return $}},13457:E=>{"use strict";E.exports=function forEachBail(E,N,R){if(E.length===0)return R();let j=E.length;let $;let q=[];for(let R=0;R{if(E>=j)return;q.push(E);if(N.length>0){j=E+1;q=q.filter((N=>N<=E));$=N}if(q.length===j){R.apply(null,$);j=0}}}};E.exports.withIndex=function forEachBailWithIndex(E,N,R){if(E.length===0)return R();let j=E.length;let $;let q=[];for(let R=0;R{if(E>=j)return;q.push(E);if(N.length>0){j=E+1;q=q.filter((N=>N<=E));$=N}if(q.length===j){R.apply(null,$);j=0}}}}},37575:E=>{"use strict";E.exports=function getInnerRequest(E,N){if(typeof N.__innerRequest==="string"&&N.__innerRequest_request===N.request&&N.__innerRequest_relativePath===N.relativePath)return N.__innerRequest;let R;if(N.request){R=N.request;if(/^\.\.?\//.test(R)&&N.relativePath){R=E.join(N.relativePath,R)}}else{R=N.relativePath}N.__innerRequest_request=N.request;N.__innerRequest_relativePath=N.relativePath;return N.__innerRequest=R}},94585:E=>{"use strict";E.exports=function getPaths(E){const N=E.split(/(.*?[\\/]+)/);const R=[E];const j=[N[N.length-1]];let $=N[N.length-1];E=E.substr(0,E.length-$.length-1);for(let q=N.length-2;q>2;q-=2){R.push(E);$=N[q];E=E.substr(0,E.length-$.length)||"/";j.push($.substr(0,$.length-1))}$=N[1];j.push($);R.push($);return{paths:R,seqments:j}};E.exports.basename=function basename(E){const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N{"use strict";function globToRegExp(E){if(/^\(.+\)$/.test(E)){return new RegExp(E.substr(1,E.length-2))}const N=tokenize(E);const R=createRoot();const j=N.map(R).join("");return new RegExp("^"+j+"$")}const R={"@(":"one","?(":"zero-one","+(":"one-many","*(":"zero-many","|":"segment-sep","/**/":"any-path-segments","**":"any-path","*":"any-path-segment","?":"any-char","{":"or","/":"path-sep",",":"comma",")":"closing-segment","}":"closing-or"};function tokenize(E){return E.split(/([@?+*]\(|\/\*\*\/|\*\*|[?*]|\[[!^]?(?:[^\]\\]|\\.)+\]|\{|,|\/|[|)}])/g).map((E=>{if(!E)return null;const N=R[E];if(N){return{type:N}}if(E[0]==="["){if(E[1]==="^"||E[1]==="!"){return{type:"inverted-char-set",value:E.substr(2,E.length-3)}}else{return{type:"char-set",value:E.substr(1,E.length-2)}}}return{type:"string",value:E}})).filter(Boolean).concat({type:"end"})}function createRoot(){const E=[];const N=createSeqment();let R=true;return function(j){switch(j.type){case"or":E.push(R);return"(";case"comma":if(E.length){R=E[E.length-1];return"|"}else{return N({type:"string",value:","},R)}case"closing-or":if(E.length===0)throw new Error("Unmatched '}'");E.pop();return")";case"end":if(E.length)throw new Error("Unmatched '{'");return N(j,R);default:{const E=N(j,R);R=false;return E}}}}function createSeqment(){const E=[];const N=createSimple();return function(R,j){switch(R.type){case"one":case"one-many":case"zero-many":case"zero-one":E.push(R.type);return"(";case"segment-sep":if(E.length){return"|"}else{return N({type:"string",value:"|"},j)}case"closing-segment":{const N=E.pop();switch(N){case"one":return")";case"one-many":return")+";case"zero-many":return")*";case"zero-one":return")?"}throw new Error("Unexcepted segment "+N)}case"end":if(E.length>0){throw new Error("Unmatched segment, missing ')'")}return N(R,j);default:return N(R,j)}}}function createSimple(){return function(E,N){switch(E.type){case"path-sep":return"[\\\\/]+";case"any-path-segments":return"[\\\\/]+(?:(.+)[\\\\/]+)?";case"any-path":return"(.*)";case"any-path-segment":if(N){return"\\.[\\\\/]+(?:.*[\\\\/]+)?([^\\\\/]+)"}else{return"([^\\\\/]*)"}case"any-char":return"[^\\\\/]";case"inverted-char-set":return"[^"+E.value+"]";case"char-set":return"["+E.value+"]";case"string":return E.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");case"end":return"";default:throw new Error("Unsupported token '"+E.type+"'")}}}N.P=globToRegExp},79921:(E,N,R)=>{"use strict";const j=R(77e3);const $=R(52831);const q=R(87507);const G=new q(new $,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=j.createResolver({extensions:[".js",".json",".node"],fileSystem:G});E.exports=function resolve(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}ae.resolve(E,N,R,j,$)};const ce=j.createResolver({extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});E.exports.sync=function resolveSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return ce.resolveSync(E,N,R)};const le=j.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,fileSystem:G});E.exports.context=function resolveContext(E,N,R,resolveContext,j){if(typeof E==="string"){j=resolveContext;resolveContext=R;R=N;N=E;E=ie}if(typeof j!=="function"){j=resolveContext}le.resolve(E,N,R,resolveContext,j)};const _e=j.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,useSyncFileSystemCalls:true,fileSystem:G});E.exports.context.sync=function resolveContextSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return _e.resolveSync(E,N,R)};const Ee=j.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],fileSystem:G});E.exports.loader=function resolveLoader(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}Ee.resolve(E,N,R,j,$)};const Te=j.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],useSyncFileSystemCalls:true,fileSystem:G});E.exports.loader.sync=function resolveLoaderSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return Te.resolveSync(E,N,R)};E.exports.create=function create(E){E=Object.assign({fileSystem:G},E);const N=j.createResolver(E);return function(E,R,j,$,q){if(typeof E==="string"){q=$;$=j;j=R;R=E;E=ie}if(typeof q!=="function"){q=$}N.resolve(E,R,j,$,q)}};E.exports.create.sync=function createSync(E){E=Object.assign({useSyncFileSystemCalls:true,fileSystem:G},E);const N=j.createResolver(E);return function(E,R,j){if(typeof E==="string"){j=R;R=E;E=ie}return N.resolveSync(E,R,j)}};E.exports.ResolverFactory=j;E.exports.NodeJsInputFileSystem=$;E.exports.CachedInputFileSystem=q},12710:(E,N,R)=>{"use strict"; +(()=>{var __webpack_modules__={28440:E=>{function webpackEmptyContext(E){var N=new Error("Cannot find module '"+E+"'");N.code="MODULE_NOT_FOUND";throw N}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},70797:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(N,"numberLiteralFromRaw",{enumerable:true,get:function get(){return q.numberLiteralFromRaw}});Object.defineProperty(N,"withLoc",{enumerable:true,get:function get(){return q.withLoc}});Object.defineProperty(N,"withRaw",{enumerable:true,get:function get(){return q.withRaw}});Object.defineProperty(N,"funcParam",{enumerable:true,get:function get(){return q.funcParam}});Object.defineProperty(N,"indexLiteral",{enumerable:true,get:function get(){return q.indexLiteral}});Object.defineProperty(N,"memIndexLiteral",{enumerable:true,get:function get(){return q.memIndexLiteral}});Object.defineProperty(N,"instruction",{enumerable:true,get:function get(){return q.instruction}});Object.defineProperty(N,"objectInstruction",{enumerable:true,get:function get(){return q.objectInstruction}});Object.defineProperty(N,"traverse",{enumerable:true,get:function get(){return G.traverse}});Object.defineProperty(N,"signatures",{enumerable:true,get:function get(){return ie.signatures}});Object.defineProperty(N,"cloneNode",{enumerable:true,get:function get(){return ce.cloneNode}});Object.defineProperty(N,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return le.moduleContextFromModuleAST}});var $=R(52696);Object.keys($).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return $[E]}})}));var q=R(11891);var G=R(22056);var ie=R(75769);var ae=R(91764);Object.keys(ae).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return ae[E]}})}));var ce=R(70797);var le=R(5499)},11891:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.numberLiteralFromRaw=numberLiteralFromRaw;N.instruction=instruction;N.objectInstruction=objectInstruction;N.withLoc=withLoc;N.withRaw=withRaw;N.funcParam=funcParam;N.indexLiteral=indexLiteral;N.memIndexLiteral=memIndexLiteral;var j=R(80853);var $=R(52696);function numberLiteralFromRaw(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var R=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,$.numberLiteral)(E,String(R))}else{switch(N){case"i32":{return(0,$.numberLiteral)((0,j.parse32I)(E),String(R))}case"u32":{return(0,$.numberLiteral)((0,j.parseU32)(E),String(R))}case"i64":{return(0,$.longNumberLiteral)((0,j.parse64I)(E),String(R))}case"f32":{return(0,$.floatLiteral)((0,j.parse32F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}default:{return(0,$.floatLiteral)((0,j.parse64F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}}}}function instruction(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,$.instr)(E,undefined,N,R)}function objectInstruction(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,$.instr)(E,N,R,j)}function withLoc(E,N,R){var j={start:R,end:N};E.loc=j;return E}function withRaw(E,N){E.raw=N;return E}function funcParam(E,N){return{id:N,valtype:E}}function indexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}function memIndexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}},46166:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var N=1;N2&&arguments[2]!==undefined?arguments[2]:0;if(!j){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ie=$.node[q];var ae=ie.findIndex((function(E){return E===R}));ie.splice(ae+G,0,N)}function remove(E){var N=E.node,R=E.parentKey,j=E.parentPath;if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var $=j.node;var q=$[R];if(Array.isArray(q)){$[R]=q.filter((function(E){return E!==N}))}else{delete $[R]}N._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,N){var R=E.parentPath.node;var j=R[E.parentKey];if(Array.isArray(j)){var $=j.findIndex((function(N){return N===E.node}));j.splice($,1,N)}else{R[E.parentKey]=N}E.node._deleted=true;E.node=N}function bindNodeOperations(E,N){var R=Object.keys(E);var j={};R.forEach((function(R){j[R]=E[R].bind(null,N)}));return j}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var N=_extends({},E);Object.assign(N,createPathOperations(N));return N}},52696:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.module=_module;N.moduleMetadata=moduleMetadata;N.moduleNameMetadata=moduleNameMetadata;N.functionNameMetadata=functionNameMetadata;N.localNameMetadata=localNameMetadata;N.binaryModule=binaryModule;N.quoteModule=quoteModule;N.sectionMetadata=sectionMetadata;N.producersSectionMetadata=producersSectionMetadata;N.producerMetadata=producerMetadata;N.producerMetadataVersionedName=producerMetadataVersionedName;N.loopInstruction=loopInstruction;N.instr=instr;N.ifInstruction=ifInstruction;N.stringLiteral=stringLiteral;N.numberLiteral=numberLiteral;N.longNumberLiteral=longNumberLiteral;N.floatLiteral=floatLiteral;N.elem=elem;N.indexInFuncSection=indexInFuncSection;N.valtypeLiteral=valtypeLiteral;N.typeInstruction=typeInstruction;N.start=start;N.globalType=globalType;N.leadingComment=leadingComment;N.blockComment=blockComment;N.data=data;N.global=global;N.table=table;N.memory=memory;N.funcImportDescr=funcImportDescr;N.moduleImport=moduleImport;N.moduleExportDescr=moduleExportDescr;N.moduleExport=moduleExport;N.limit=limit;N.signature=signature;N.program=program;N.identifier=identifier;N.blockInstruction=blockInstruction;N.callInstruction=callInstruction;N.callIndirectInstruction=callIndirectInstruction;N.byteArray=byteArray;N.func=func;N.internalBrUnless=internalBrUnless;N.internalGoto=internalGoto;N.internalCallExtern=internalCallExtern;N.internalEndAndReturn=internalEndAndReturn;N.assertInternalCallExtern=N.assertInternalGoto=N.assertInternalBrUnless=N.assertFunc=N.assertByteArray=N.assertCallIndirectInstruction=N.assertCallInstruction=N.assertBlockInstruction=N.assertIdentifier=N.assertProgram=N.assertSignature=N.assertLimit=N.assertModuleExport=N.assertModuleExportDescr=N.assertModuleImport=N.assertFuncImportDescr=N.assertMemory=N.assertTable=N.assertGlobal=N.assertData=N.assertBlockComment=N.assertLeadingComment=N.assertGlobalType=N.assertStart=N.assertTypeInstruction=N.assertValtypeLiteral=N.assertIndexInFuncSection=N.assertElem=N.assertFloatLiteral=N.assertLongNumberLiteral=N.assertNumberLiteral=N.assertStringLiteral=N.assertIfInstruction=N.assertInstr=N.assertLoopInstruction=N.assertProducerMetadataVersionedName=N.assertProducerMetadata=N.assertProducersSectionMetadata=N.assertSectionMetadata=N.assertQuoteModule=N.assertBinaryModule=N.assertLocalNameMetadata=N.assertFunctionNameMetadata=N.assertModuleNameMetadata=N.assertModuleMetadata=N.assertModule=N.isIntrinsic=N.isImportDescr=N.isNumericLiteral=N.isExpression=N.isInstruction=N.isBlock=N.isNode=N.isInternalEndAndReturn=N.isInternalCallExtern=N.isInternalGoto=N.isInternalBrUnless=N.isFunc=N.isByteArray=N.isCallIndirectInstruction=N.isCallInstruction=N.isBlockInstruction=N.isIdentifier=N.isProgram=N.isSignature=N.isLimit=N.isModuleExport=N.isModuleExportDescr=N.isModuleImport=N.isFuncImportDescr=N.isMemory=N.isTable=N.isGlobal=N.isData=N.isBlockComment=N.isLeadingComment=N.isGlobalType=N.isStart=N.isTypeInstruction=N.isValtypeLiteral=N.isIndexInFuncSection=N.isElem=N.isFloatLiteral=N.isLongNumberLiteral=N.isNumberLiteral=N.isStringLiteral=N.isIfInstruction=N.isInstr=N.isLoopInstruction=N.isProducerMetadataVersionedName=N.isProducerMetadata=N.isProducersSectionMetadata=N.isSectionMetadata=N.isQuoteModule=N.isBinaryModule=N.isLocalNameMetadata=N.isFunctionNameMetadata=N.isModuleNameMetadata=N.isModuleMetadata=N.isModule=void 0;N.nodeAndUnionTypes=N.unionTypesMap=N.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(N){return N.type===E}}function assertTypeOf(E){return function(N){return function(){if(!(N.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,N,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Module",id:E,fields:N};if(typeof R!=="undefined"){j.metadata=R}return j}function moduleMetadata(E,N,R,j){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"ModuleMetadata",sections:E};if(typeof N!=="undefined"&&N.length>0){$.functionNames=N}if(typeof R!=="undefined"&&R.length>0){$.localNames=R}if(typeof j!=="undefined"&&j.length>0){$.producers=j}return $}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"ModuleNameMetadata",value:E};return N}function functionNameMetadata(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(N)||0))}var R={type:"FunctionNameMetadata",value:E,index:N};return R}function localNameMetadata(E,N,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(N)||0))}if(!(typeof R==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(R)||0))}var j={type:"LocalNameMetadata",value:E,localIndex:N,functionIndex:R};return j}function binaryModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"BinaryModule",id:E,blob:N};return R}function quoteModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"QuoteModule",id:E,string:N};return R}function sectionMetadata(E,N,R,j){if(!(typeof N==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(N)||0))}var $={type:"SectionMetadata",section:E,startOffset:N,size:R,vectorOfSize:j};return $}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ProducersSectionMetadata",producers:E};return N}function producerMetadata(E,N,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"ProducerMetadata",language:E,processedBy:N,sdk:R};return j}function producerMetadataVersionedName(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(N)||0))}var R={type:"ProducerMetadataVersionedName",name:E,version:N};return R}function loopInstruction(E,N,R){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"LoopInstruction",id:"loop",label:E,resulttype:N,instr:R};return j}function instr(E,N,R,j){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Instr",id:E,args:R};if(typeof N!=="undefined"){$.object=N}if(typeof j!=="undefined"&&Object.keys(j).length!==0){$.namedArgs=j}return $}function ifInstruction(E,N,R,j,$){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var q={type:"IfInstruction",id:"if",testLabel:E,test:N,result:R,consequent:j,alternate:$};return q}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"StringLiteral",value:E};return N}function numberLiteral(E,N){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"NumberLiteral",value:E,raw:N};return R}function longNumberLiteral(E,N){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"LongNumberLiteral",value:E,raw:N};return R}function floatLiteral(E,N,R,j){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(R)||0))}}if(!(typeof j==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(j)||0))}var $={type:"FloatLiteral",value:E,raw:j};if(N===true){$.nan=true}if(R===true){$.inf=true}return $}function elem(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Elem",table:E,offset:N,funcs:R};return j}function indexInFuncSection(E){var N={type:"IndexInFuncSection",index:E};return N}function valtypeLiteral(E){var N={type:"ValtypeLiteral",name:E};return N}function typeInstruction(E,N){var R={type:"TypeInstruction",id:E,functype:N};return R}function start(E){var N={type:"Start",index:E};return N}function globalType(E,N){var R={type:"GlobalType",valtype:E,mutability:N};return R}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"LeadingComment",value:E};return N}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"BlockComment",value:E};return N}function data(E,N,R){var j={type:"Data",memoryIndex:E,offset:N,init:R};return j}function global(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Global",globalType:E,init:N,name:R};return j}function table(E,N,R,j){if(!(N.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+N.type||0))}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"Table",elementType:E,limits:N,name:R};if(typeof j!=="undefined"&&j.length>0){$.elements=j}return $}function memory(E,N){var R={type:"Memory",limits:E,id:N};return R}function funcImportDescr(E,N){var R={type:"FuncImportDescr",id:E,signature:N};return R}function moduleImport(E,N,R){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(N)||0))}var j={type:"ModuleImport",module:E,name:N,descr:R};return j}function moduleExportDescr(E,N){var R={type:"ModuleExportDescr",exportType:E,id:N};return R}function moduleExport(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleExport",name:E,descr:N};return R}function limit(E,N,R){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(R)||0))}}var j={type:"Limit",min:E};if(typeof N!=="undefined"){j.max=N}if(R===true){j.shared=true}return j}function signature(E,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Signature",params:E,results:N};return R}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Program",body:E};return N}function identifier(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}}var R={type:"Identifier",value:E};if(typeof N!=="undefined"){R.raw=N}return R}function blockInstruction(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"BlockInstruction",id:"block",label:E,instr:N,result:R};return j}function callInstruction(E,N,R){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"CallInstruction",id:"call",index:E};if(typeof N!=="undefined"&&N.length>0){j.instrArgs=N}if(typeof R!=="undefined"){j.numeric=R}return j}function callIndirectInstruction(E,N){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof N!=="undefined"&&N.length>0){R.intrs=N}return R}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ByteArray",values:E};return N}function func(E,N,R,j,$){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(j!==null&&j!==undefined){if(!(typeof j==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(j)||0))}}var q={type:"Func",name:E,signature:N,body:R};if(j===true){q.isExternal=true}if(typeof $!=="undefined"){q.metadata=$}return q}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalBrUnless",target:E};return N}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalGoto",target:E};return N}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalCallExtern",target:E};return N}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var R=isTypeOf("Module");N.isModule=R;var j=isTypeOf("ModuleMetadata");N.isModuleMetadata=j;var $=isTypeOf("ModuleNameMetadata");N.isModuleNameMetadata=$;var q=isTypeOf("FunctionNameMetadata");N.isFunctionNameMetadata=q;var G=isTypeOf("LocalNameMetadata");N.isLocalNameMetadata=G;var ie=isTypeOf("BinaryModule");N.isBinaryModule=ie;var ae=isTypeOf("QuoteModule");N.isQuoteModule=ae;var ce=isTypeOf("SectionMetadata");N.isSectionMetadata=ce;var le=isTypeOf("ProducersSectionMetadata");N.isProducersSectionMetadata=le;var _e=isTypeOf("ProducerMetadata");N.isProducerMetadata=_e;var Te=isTypeOf("ProducerMetadataVersionedName");N.isProducerMetadataVersionedName=Te;var Ee=isTypeOf("LoopInstruction");N.isLoopInstruction=Ee;var we=isTypeOf("Instr");N.isInstr=we;var Ie=isTypeOf("IfInstruction");N.isIfInstruction=Ie;var Ne=isTypeOf("StringLiteral");N.isStringLiteral=Ne;var Me=isTypeOf("NumberLiteral");N.isNumberLiteral=Me;var Le=isTypeOf("LongNumberLiteral");N.isLongNumberLiteral=Le;var Be=isTypeOf("FloatLiteral");N.isFloatLiteral=Be;var je=isTypeOf("Elem");N.isElem=je;var Ue=isTypeOf("IndexInFuncSection");N.isIndexInFuncSection=Ue;var ze=isTypeOf("ValtypeLiteral");N.isValtypeLiteral=ze;var We=isTypeOf("TypeInstruction");N.isTypeInstruction=We;var Je=isTypeOf("Start");N.isStart=Je;var Ve=isTypeOf("GlobalType");N.isGlobalType=Ve;var qe=isTypeOf("LeadingComment");N.isLeadingComment=qe;var He=isTypeOf("BlockComment");N.isBlockComment=He;var Ge=isTypeOf("Data");N.isData=Ge;var Ke=isTypeOf("Global");N.isGlobal=Ke;var Qe=isTypeOf("Table");N.isTable=Qe;var Xe=isTypeOf("Memory");N.isMemory=Xe;var Ye=isTypeOf("FuncImportDescr");N.isFuncImportDescr=Ye;var Ze=isTypeOf("ModuleImport");N.isModuleImport=Ze;var et=isTypeOf("ModuleExportDescr");N.isModuleExportDescr=et;var tt=isTypeOf("ModuleExport");N.isModuleExport=tt;var rt=isTypeOf("Limit");N.isLimit=rt;var nt=isTypeOf("Signature");N.isSignature=nt;var it=isTypeOf("Program");N.isProgram=it;var ot=isTypeOf("Identifier");N.isIdentifier=ot;var st=isTypeOf("BlockInstruction");N.isBlockInstruction=st;var ct=isTypeOf("CallInstruction");N.isCallInstruction=ct;var ut=isTypeOf("CallIndirectInstruction");N.isCallIndirectInstruction=ut;var dt=isTypeOf("ByteArray");N.isByteArray=dt;var pt=isTypeOf("Func");N.isFunc=pt;var ft=isTypeOf("InternalBrUnless");N.isInternalBrUnless=ft;var mt=isTypeOf("InternalGoto");N.isInternalGoto=mt;var ht=isTypeOf("InternalCallExtern");N.isInternalCallExtern=ht;var _t=isTypeOf("InternalEndAndReturn");N.isInternalEndAndReturn=_t;var yt=function isNode(E){return R(E)||j(E)||$(E)||q(E)||G(E)||ie(E)||ae(E)||ce(E)||le(E)||_e(E)||Te(E)||Ee(E)||we(E)||Ie(E)||Ne(E)||Me(E)||Le(E)||Be(E)||je(E)||Ue(E)||ze(E)||We(E)||Je(E)||Ve(E)||qe(E)||He(E)||Ge(E)||Ke(E)||Qe(E)||Xe(E)||Ye(E)||Ze(E)||et(E)||tt(E)||rt(E)||nt(E)||it(E)||ot(E)||st(E)||ct(E)||ut(E)||dt(E)||pt(E)||ft(E)||mt(E)||ht(E)||_t(E)};N.isNode=yt;var vt=function isBlock(E){return Ee(E)||st(E)||pt(E)};N.isBlock=vt;var bt=function isInstruction(E){return Ee(E)||we(E)||Ie(E)||We(E)||st(E)||ct(E)||ut(E)};N.isInstruction=bt;var xt=function isExpression(E){return we(E)||Ne(E)||Me(E)||Le(E)||Be(E)||ze(E)||ot(E)};N.isExpression=xt;var St=function isNumericLiteral(E){return Me(E)||Le(E)||Be(E)};N.isNumericLiteral=St;var Tt=function isImportDescr(E){return Ve(E)||Qe(E)||Xe(E)||Ye(E)};N.isImportDescr=Tt;var Et=function isIntrinsic(E){return ft(E)||mt(E)||ht(E)||_t(E)};N.isIntrinsic=Et;var kt=assertTypeOf("Module");N.assertModule=kt;var Ct=assertTypeOf("ModuleMetadata");N.assertModuleMetadata=Ct;var Dt=assertTypeOf("ModuleNameMetadata");N.assertModuleNameMetadata=Dt;var At=assertTypeOf("FunctionNameMetadata");N.assertFunctionNameMetadata=At;var wt=assertTypeOf("LocalNameMetadata");N.assertLocalNameMetadata=wt;var Pt=assertTypeOf("BinaryModule");N.assertBinaryModule=Pt;var It=assertTypeOf("QuoteModule");N.assertQuoteModule=It;var Nt=assertTypeOf("SectionMetadata");N.assertSectionMetadata=Nt;var Ft=assertTypeOf("ProducersSectionMetadata");N.assertProducersSectionMetadata=Ft;var Ot=assertTypeOf("ProducerMetadata");N.assertProducerMetadata=Ot;var Mt=assertTypeOf("ProducerMetadataVersionedName");N.assertProducerMetadataVersionedName=Mt;var Rt=assertTypeOf("LoopInstruction");N.assertLoopInstruction=Rt;var Lt=assertTypeOf("Instr");N.assertInstr=Lt;var Bt=assertTypeOf("IfInstruction");N.assertIfInstruction=Bt;var jt=assertTypeOf("StringLiteral");N.assertStringLiteral=jt;var Ut=assertTypeOf("NumberLiteral");N.assertNumberLiteral=Ut;var zt=assertTypeOf("LongNumberLiteral");N.assertLongNumberLiteral=zt;var Wt=assertTypeOf("FloatLiteral");N.assertFloatLiteral=Wt;var Jt=assertTypeOf("Elem");N.assertElem=Jt;var $t=assertTypeOf("IndexInFuncSection");N.assertIndexInFuncSection=$t;var Vt=assertTypeOf("ValtypeLiteral");N.assertValtypeLiteral=Vt;var qt=assertTypeOf("TypeInstruction");N.assertTypeInstruction=qt;var Ht=assertTypeOf("Start");N.assertStart=Ht;var Gt=assertTypeOf("GlobalType");N.assertGlobalType=Gt;var Kt=assertTypeOf("LeadingComment");N.assertLeadingComment=Kt;var Qt=assertTypeOf("BlockComment");N.assertBlockComment=Qt;var Xt=assertTypeOf("Data");N.assertData=Xt;var Yt=assertTypeOf("Global");N.assertGlobal=Yt;var Zt=assertTypeOf("Table");N.assertTable=Zt;var er=assertTypeOf("Memory");N.assertMemory=er;var tr=assertTypeOf("FuncImportDescr");N.assertFuncImportDescr=tr;var rr=assertTypeOf("ModuleImport");N.assertModuleImport=rr;var nr=assertTypeOf("ModuleExportDescr");N.assertModuleExportDescr=nr;var ir=assertTypeOf("ModuleExport");N.assertModuleExport=ir;var ar=assertTypeOf("Limit");N.assertLimit=ar;var sr=assertTypeOf("Signature");N.assertSignature=sr;var cr=assertTypeOf("Program");N.assertProgram=cr;var lr=assertTypeOf("Identifier");N.assertIdentifier=lr;var ur=assertTypeOf("BlockInstruction");N.assertBlockInstruction=ur;var dr=assertTypeOf("CallInstruction");N.assertCallInstruction=dr;var pr=assertTypeOf("CallIndirectInstruction");N.assertCallIndirectInstruction=pr;var fr=assertTypeOf("ByteArray");N.assertByteArray=fr;var mr=assertTypeOf("Func");N.assertFunc=mr;var gr=assertTypeOf("InternalBrUnless");N.assertInternalBrUnless=gr;var hr=assertTypeOf("InternalGoto");N.assertInternalGoto=hr;var _r=assertTypeOf("InternalCallExtern");N.assertInternalCallExtern=_r;var yr=assertTypeOf("InternalEndAndReturn");N.assertInternalEndAndReturn=yr;var vr={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};N.unionTypesMap=vr;var br=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];N.nodeAndUnionTypes=br},75769:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.signatures=void 0;function sign(E,N){return[E,N]}var R="u32";var j="i32";var $="i64";var q="f32";var G="f64";var ie=function vector(E){var N=[E];N.vector=true;return N};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([R],[]),br_if:sign([R],[]),br_table:sign(ie(R),[]),return:sign([],[]),call:sign([R],[]),call_indirect:sign([R],[])};var ce={drop:sign([],[]),select:sign([],[])};var le={get_local:sign([R],[]),set_local:sign([R],[]),tee_local:sign([R],[]),get_global:sign([R],[]),set_global:sign([R],[])};var _e={"i32.load":sign([R,R],[j]),"i64.load":sign([R,R],[]),"f32.load":sign([R,R],[]),"f64.load":sign([R,R],[]),"i32.load8_s":sign([R,R],[j]),"i32.load8_u":sign([R,R],[j]),"i32.load16_s":sign([R,R],[j]),"i32.load16_u":sign([R,R],[j]),"i64.load8_s":sign([R,R],[$]),"i64.load8_u":sign([R,R],[$]),"i64.load16_s":sign([R,R],[$]),"i64.load16_u":sign([R,R],[$]),"i64.load32_s":sign([R,R],[$]),"i64.load32_u":sign([R,R],[$]),"i32.store":sign([R,R],[]),"i64.store":sign([R,R],[]),"f32.store":sign([R,R],[]),"f64.store":sign([R,R],[]),"i32.store8":sign([R,R],[]),"i32.store16":sign([R,R],[]),"i64.store8":sign([R,R],[]),"i64.store16":sign([R,R],[]),"i64.store32":sign([R,R],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var Te={"i32.const":sign([j],[j]),"i64.const":sign([$],[$]),"f32.const":sign([q],[q]),"f64.const":sign([G],[G]),"i32.eqz":sign([j],[j]),"i32.eq":sign([j,j],[j]),"i32.ne":sign([j,j],[j]),"i32.lt_s":sign([j,j],[j]),"i32.lt_u":sign([j,j],[j]),"i32.gt_s":sign([j,j],[j]),"i32.gt_u":sign([j,j],[j]),"i32.le_s":sign([j,j],[j]),"i32.le_u":sign([j,j],[j]),"i32.ge_s":sign([j,j],[j]),"i32.ge_u":sign([j,j],[j]),"i64.eqz":sign([$],[$]),"i64.eq":sign([$,$],[j]),"i64.ne":sign([$,$],[j]),"i64.lt_s":sign([$,$],[j]),"i64.lt_u":sign([$,$],[j]),"i64.gt_s":sign([$,$],[j]),"i64.gt_u":sign([$,$],[j]),"i64.le_s":sign([$,$],[j]),"i64.le_u":sign([$,$],[j]),"i64.ge_s":sign([$,$],[j]),"i64.ge_u":sign([$,$],[j]),"f32.eq":sign([q,q],[j]),"f32.ne":sign([q,q],[j]),"f32.lt":sign([q,q],[j]),"f32.gt":sign([q,q],[j]),"f32.le":sign([q,q],[j]),"f32.ge":sign([q,q],[j]),"f64.eq":sign([G,G],[j]),"f64.ne":sign([G,G],[j]),"f64.lt":sign([G,G],[j]),"f64.gt":sign([G,G],[j]),"f64.le":sign([G,G],[j]),"f64.ge":sign([G,G],[j]),"i32.clz":sign([j],[j]),"i32.ctz":sign([j],[j]),"i32.popcnt":sign([j],[j]),"i32.add":sign([j,j],[j]),"i32.sub":sign([j,j],[j]),"i32.mul":sign([j,j],[j]),"i32.div_s":sign([j,j],[j]),"i32.div_u":sign([j,j],[j]),"i32.rem_s":sign([j,j],[j]),"i32.rem_u":sign([j,j],[j]),"i32.and":sign([j,j],[j]),"i32.or":sign([j,j],[j]),"i32.xor":sign([j,j],[j]),"i32.shl":sign([j,j],[j]),"i32.shr_s":sign([j,j],[j]),"i32.shr_u":sign([j,j],[j]),"i32.rotl":sign([j,j],[j]),"i32.rotr":sign([j,j],[j]),"i64.clz":sign([$],[$]),"i64.ctz":sign([$],[$]),"i64.popcnt":sign([$],[$]),"i64.add":sign([$,$],[$]),"i64.sub":sign([$,$],[$]),"i64.mul":sign([$,$],[$]),"i64.div_s":sign([$,$],[$]),"i64.div_u":sign([$,$],[$]),"i64.rem_s":sign([$,$],[$]),"i64.rem_u":sign([$,$],[$]),"i64.and":sign([$,$],[$]),"i64.or":sign([$,$],[$]),"i64.xor":sign([$,$],[$]),"i64.shl":sign([$,$],[$]),"i64.shr_s":sign([$,$],[$]),"i64.shr_u":sign([$,$],[$]),"i64.rotl":sign([$,$],[$]),"i64.rotr":sign([$,$],[$]),"f32.abs":sign([q],[q]),"f32.neg":sign([q],[q]),"f32.ceil":sign([q],[q]),"f32.floor":sign([q],[q]),"f32.trunc":sign([q],[q]),"f32.nearest":sign([q],[q]),"f32.sqrt":sign([q],[q]),"f32.add":sign([q,q],[q]),"f32.sub":sign([q,q],[q]),"f32.mul":sign([q,q],[q]),"f32.div":sign([q,q],[q]),"f32.min":sign([q,q],[q]),"f32.max":sign([q,q],[q]),"f32.copysign":sign([q,q],[q]),"f64.abs":sign([G],[G]),"f64.neg":sign([G],[G]),"f64.ceil":sign([G],[G]),"f64.floor":sign([G],[G]),"f64.trunc":sign([G],[G]),"f64.nearest":sign([G],[G]),"f64.sqrt":sign([G],[G]),"f64.add":sign([G,G],[G]),"f64.sub":sign([G,G],[G]),"f64.mul":sign([G,G],[G]),"f64.div":sign([G,G],[G]),"f64.min":sign([G,G],[G]),"f64.max":sign([G,G],[G]),"f64.copysign":sign([G,G],[G]),"i32.wrap/i64":sign([$],[j]),"i32.trunc_s/f32":sign([q],[j]),"i32.trunc_u/f32":sign([q],[j]),"i32.trunc_s/f64":sign([q],[j]),"i32.trunc_u/f64":sign([G],[j]),"i64.extend_s/i32":sign([j],[$]),"i64.extend_u/i32":sign([j],[$]),"i64.trunc_s/f32":sign([q],[$]),"i64.trunc_u/f32":sign([q],[$]),"i64.trunc_s/f64":sign([G],[$]),"i64.trunc_u/f64":sign([G],[$]),"f32.convert_s/i32":sign([j],[q]),"f32.convert_u/i32":sign([j],[q]),"f32.convert_s/i64":sign([$],[q]),"f32.convert_u/i64":sign([$],[q]),"f32.demote/f64":sign([G],[q]),"f64.convert_s/i32":sign([j],[G]),"f64.convert_u/i32":sign([j],[G]),"f64.convert_s/i64":sign([$],[G]),"f64.convert_u/i64":sign([$],[G]),"f64.promote/f32":sign([q],[G]),"i32.reinterpret/f32":sign([q],[j]),"i64.reinterpret/f64":sign([G],[$]),"f32.reinterpret/i32":sign([j],[q]),"f64.reinterpret/i64":sign([$],[G])};var Ee=Object.assign({},ae,ce,le,_e,Te);N.signatures=Ee},5499:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.moduleContextFromModuleAST=moduleContextFromModuleAST;N.ModuleContext=void 0;var j=R(52696);function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,N){for(var R=0;RE&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var N=E.globalType.valtype;var R=E.globalType.mutability;this.globals.push({type:N,mutability:R});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,N){this.globals.push({type:E,mutability:N})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,N){this.mems.push({min:E,max:N})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();N.ModuleContext=$},22056:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.traverse=traverse;var j=R(46166);var $=R(52696);function walk(E,N){var R=false;function innerWalk(E,N){if(R){return}var $=E.node;if($===undefined){console.warn("traversing with an empty context");return}if($._deleted===true){return}var q=(0,j.createPath)(E);N($.type,q);if(q.shouldStop){R=true;return}Object.keys($).forEach((function(E){var R=$[E];if(R===null||R===undefined){return}var j=Array.isArray(R)?R:[R];j.forEach((function(j){if(typeof j.type==="string"){var $={node:j,parentKey:E,parentPath:q,shouldStop:false,inList:Array.isArray(R)};innerWalk($,N)}}))}))}innerWalk(E,N)}var q=function noop(){};function traverse(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:q;var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:q;Object.keys(N).forEach((function(E){if(!$.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var G={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(G,(function(E,q){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}var G=$.unionTypesMap[E];if(!G){throw new Error("Unexpected node type ".concat(E))}G.forEach((function(E){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}}))}))}},91764:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.isAnonymous=isAnonymous;N.getSectionMetadata=getSectionMetadata;N.getSectionMetadatas=getSectionMetadatas;N.sortSectionMetadata=sortSectionMetadata;N.orderedInsertNode=orderedInsertNode;N.assertHasLoc=assertHasLoc;N.getEndOfSection=getEndOfSection;N.shiftLoc=shiftLoc;N.shiftSection=shiftSection;N.signatureForOpcode=signatureForOpcode;N.getUniqueNameGenerator=getUniqueNameGenerator;N.getStartByteOffset=getStartByteOffset;N.getEndByteOffset=getEndByteOffset;N.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;N.getEndBlockByteOffset=getEndBlockByteOffset;N.getStartBlockByteOffset=getStartBlockByteOffset;var j=R(75769);var $=R(22056);var q=_interopRequireWildcard(R(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,N){var R;(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R=j}}))});return R}function getSectionMetadatas(E,N){var R=[];(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R.push(j)}}))});return R}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,N){var R=q.default.sections[E.section];var j=q.default.sections[N.section];if(typeof R!=="number"||typeof j!=="number"){throw new Error("Section id not found")}return R-j}))}function orderedInsertNode(E,N){assertHasLoc(N);var R=false;if(N.type==="ModuleExport"){E.fields.push(N);return}E.fields=E.fields.reduce((function(E,j){var $=Infinity;if(j.loc!=null){$=j.loc.end.column}if(R===false&&N.loc.start.column<$){R=true;E.push(N)}E.push(j);return E}),[]);if(R===false){E.fields.push(N)}}function assertHasLoc(E){if(E.loc==null||E.loc.start==null||E.loc.end==null){throw new Error("Internal failure: node (".concat(JSON.stringify(E.type),") has no location information"))}}function getEndOfSection(E){assertHasLoc(E.size);return E.startOffset+E.size.value+(E.size.loc.end.column-E.size.loc.start.column)}function shiftLoc(E,N){E.loc.start.column+=N;E.loc.end.column+=N}function shiftSection(E,N,R){if(N.type!=="SectionMetadata"){throw new Error("Can not shift node "+JSON.stringify(N.type))}N.startOffset+=R;if(_typeof(N.size.loc)==="object"){shiftLoc(N.size,R)}if(_typeof(N.vectorOfSize)==="object"&&_typeof(N.vectorOfSize.loc)==="object"){shiftLoc(N.vectorOfSize,R)}var j=N.section;(0,$.traverse)(E,{Node:function Node(E){var N=E.node;var $=(0,q.getSectionForNode)(N);if($===j&&_typeof(N.loc)==="object"){shiftLoc(N,R)}}})}function signatureForOpcode(E,N){var R=N;if(E!==undefined&&E!==""){R=E+"."+N}var $=j.signatures[R];if($==undefined){return[E,E]}return $[0]}function getUniqueNameGenerator(){var E={};return function(){var N=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(N in E)){E[N]=0}else{E[N]=E[N]+1}return N+"_"+E[N]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var N=_slicedToArray(E.body,1),R=N[0];return getStartByteOffset(R)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){N=E.instr[E.instr.length-1]}if(E.body){N=E.body[E.body.length-1]}if(!(_typeof(N)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){var R=_slicedToArray(E.instr,1);N=R[0]}if(E.body){var j=_slicedToArray(E.body,1);N=j[0]}if(!(_typeof(N)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}},18083:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=parse;function parse(E){E=E.toUpperCase();var N=E.indexOf("P");var R,j;if(N!==-1){R=E.substring(0,N);j=parseInt(E.substring(N+1))}else{R=E;j=0}var $=R.indexOf(".");if($!==-1){var q=parseInt(R.substring(0,$),16);var G=Math.sign(q);q=G*q;var ie=R.length-$-1;var ae=parseInt(R.substring($+1),16);var ce=ie>0?ae/Math.pow(16,ie):0;if(G===0){if(ce===0){R=G}else{if(Object.is(G,-0)){R=-ce}else{R=ce}}}else{R=G*(q+ce)}}else{R=parseInt(R,16)}return R*(N!==-1?Math.pow(2,j):1)}},35866:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.LinkError=N.CompileError=N.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var R=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);N.RuntimeError=R;var j=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);N.CompileError=j;var $=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);N.LinkError=$},3104:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.overrideBytesInBuffer=overrideBytesInBuffer;N.makeBuffer=makeBuffer;N.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.parse32F=parse32F;N.parse64F=parse64F;N.parse32I=parse32I;N.parseU32=parseU32;N.parse64I=parse64I;N.isInfLiteral=isInfLiteral;N.isNanLiteral=isNanLiteral;var j=_interopRequireDefault(R(11174));var $=_interopRequireDefault(R(18083));var q=R(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,$.default)(E)}return parseFloat(E)}function parse32I(E){var N=0;if(isHexLiteral(E)){N=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=parseInt(E,10)}return N}function parseU32(E){var N=parse32I(E);if(N<0){throw new q.CompileError("Illegal value for u32: "+E)}return N}function parse64I(E){var N;if(isHexLiteral(E)){N=j.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=j.default.fromString(E)}return{high:N.high,low:N.low}}var G=/^\+?-?nan/;var ie=/^\+?-?inf/;function isInfLiteral(E){return ie.test(E.toLowerCase())}function isNanLiteral(E){return G.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"getSectionForNode",{enumerable:true,get:function get(){return j.getSectionForNode}});N["default"]=void 0;var j=R(55474);var $="illegal";var q=[0,97,115,109];var G=[1,0,0,0];function invertMap(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var R={};var j=Object.keys(E);for(var $=0,q=j.length;$2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:N,numberOfArgs:R}}function createSymbol(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:N}}var ie={func:96,result:64};var ae={0:"Func",1:"Table",2:"Mem",3:"Global"};var ce=invertMap(ae);var le={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var _e=invertMap(le);var Te={112:"anyfunc"};var Ee=Object.assign({},le,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var we={0:"const",1:"var"};var Ie=invertMap(we);var Ne={0:"func",1:"table",2:"mem",3:"global"};var Me={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Le={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:$,7:$,8:$,9:$,10:$,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:$,19:$,20:$,21:$,22:$,23:$,24:$,25:$,26:createSymbol("drop"),27:createSymbol("select"),28:$,29:$,30:$,31:$,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:$,38:$,39:$,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Be=invertMap(Le,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var je={symbolsByByte:Le,sections:Me,magicModuleHeader:q,moduleVersion:G,types:ie,valtypes:le,exportTypes:ae,blockTypes:Ee,tableTypes:Te,globalTypes:we,importTypes:Ne,valtypesByString:_e,globalTypesByString:Ie,exportTypesByName:ce,symbolsByName:Be};N["default"]=je},55474:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createEmptySection=createEmptySection;var j=R(44166);var $=R(3104);var q=_interopRequireDefault(R(3930));var G=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,N){var R=q.default.sections[N];var j=E.body[0].metadata.sections;var $;var G=0;for(var ie=0,ae=j.length;ieG&&R{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"resizeSectionByteSize",{enumerable:true,get:function get(){return j.resizeSectionByteSize}});Object.defineProperty(N,"resizeSectionVecSize",{enumerable:true,get:function get(){return j.resizeSectionVecSize}});Object.defineProperty(N,"createEmptySection",{enumerable:true,get:function get(){return $.createEmptySection}});Object.defineProperty(N,"removeSections",{enumerable:true,get:function get(){return q.removeSections}});var j=R(35369);var $=R(97961);var q=R(96744)},96744:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.removeSections=removeSections;var j=R(98093);var $=R(3104);function removeSections(E,N,R){var q=(0,j.getSectionMetadatas)(E,R);if(q.length===0){throw new Error("Section metadata not found")}return q.reverse().reduce((function(N,q){var G=q.startOffset-1;var ie=R==="start"?q.size.loc.end.column+1:q.startOffset+q.size.value+1;var ae=-(ie-G);var ce=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){ce=true;return N.remove()}if(ce===true){(0,j.shiftSection)(E,N.node,ae)}}});var le=[];return(0,$.overrideBytesInBuffer)(N,G,ie,le)}),N)}},35369:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.resizeSectionByteSize=resizeSectionByteSize;N.resizeSectionVecSize=resizeSectionVecSize;var j=R(44166);var $=R(98093);var q=R(3104);function resizeSectionByteSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.size.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}var ae=ie.size.loc.start.column;var ce=ie.size.loc.end.column;var le=ie.size.value+G;var _e=(0,j.encodeU32)(le);ie.size.value=le;var Te=ce-ae;var Ee=_e.length;if(Ee!==Te){var we=Ee-Te;ie.size.loc.end.column=ae+Ee;G+=we;ie.vectorOfSize.loc.start.column+=we;ie.vectorOfSize.loc.end.column+=we}var Ie=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){Ie=true;return}if(Ie===true){(0,$.shiftSection)(E,N.node,G)}}});return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}function resizeSectionVecSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}if(ie.vectorOfSize.value===-1){return N}var ae=ie.vectorOfSize.loc.start.column;var ce=ie.vectorOfSize.loc.end.column;var le=ie.vectorOfSize.value+G;var _e=(0,j.encodeU32)(le);ie.vectorOfSize.value=le;ie.vectorOfSize.loc.end.column=ae+_e.length;return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}},48:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeF32=encodeF32;N.encodeF64=encodeF64;N.decodeF32=decodeF32;N.decodeF64=decodeF64;N.DOUBLE_PRECISION_MANTISSA=N.SINGLE_PRECISION_MANTISSA=N.NUMBER_OF_BYTE_F64=N.NUMBER_OF_BYTE_F32=void 0;var j=R(3158);var $=4;N.NUMBER_OF_BYTE_F32=$;var q=8;N.NUMBER_OF_BYTE_F64=q;var G=23;N.SINGLE_PRECISION_MANTISSA=G;var ie=52;N.DOUBLE_PRECISION_MANTISSA=ie;function encodeF32(E){var N=[];(0,j.write)(N,E,0,true,G,$);return N}function encodeF64(E){var N=[];(0,j.write)(N,E,0,true,ie,q);return N}function decodeF32(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,G,$)}function decodeF64(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,ie,q)}},90683:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.extract=extract;N.inject=inject;N.getSign=getSign;N.highOrder=highOrder;function extract(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}if(j===undefined){j=0}else if(j!==0&&j!==1){throw new Error("Bad value for defaultBit.")}var $=j*255;var q=0;var G=N+R;var ie=Math.floor(N/8);var ae=N%8;var ce=Math.floor(G/8);var le=G%8;if(le!==0){q=get(ce)&(1<ie){ce--;q=q<<8|get(ce)}q>>>=ae;return q;function get(N){var R=E[N];return R===undefined?$:R}}function inject(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}var $=Math.floor((N+R-1)/8);if(N<0||$>=E.length){throw new Error("Index out of range.")}var q=Math.floor(N/8);var G=N%8;while(R>0){if(j&1){E[q]|=1<>=1;R--;G=(G+1)%8;if(G===0){q++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,N){var R=N.length;var j=(E^1)*255;while(R>0&&N[R-1]===j){R--}if(R===0){return-1}var $=N[R-1];var q=R*8-1;for(var G=7;G>0;G--){if(($>>G&1)===E){break}q--}return q}},1779:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.alloc=alloc;N.free=free;N.resize=resize;N.readInt=readInt;N.readUInt=readUInt;N.writeInt64=writeInt64;N.writeUInt64=writeUInt64;var R=[];var j=20;var $=-0x8000000000000000;var q=0x7ffffffffffffc00;var G=0xfffffffffffff800;var ie=4294967296;var ae=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,N){if(N===0){return false}var R=lowestBit(N);var j=E+R;if(j===E){return true}if(j-R!==E){return true}return false}function alloc(E){var N=R[E];if(N){R[E]=undefined}else{N=new Buffer(E)}N.fill(0);return N}function free(E){var N=E.length;if(N=0;q--){j=j*256+E[q]}}else{for(var G=N-1;G>=0;G--){var ie=E[G];j*=256;if(isLossyToAdd(j,ie)){$=true}j+=ie}}return{value:j,lossy:$}}function readUInt(E){var N=E.length;var R=0;var j=false;if(N<7){for(var $=N-1;$>=0;$--){R=R*256+E[$]}}else{for(var q=N-1;q>=0;q--){var G=E[q];R*=256;if(isLossyToAdd(R,G)){j=true}R+=G}}return{value:R,lossy:j}}function writeInt64(E,N){if(E<$||E>q){throw new Error("Value out of range.")}if(E<0){E+=ae}writeUInt64(E,N)}function writeUInt64(E,N){if(E<0||E>G){throw new Error("Value out of range.")}var R=E%ie;var j=Math.floor(E/ie);N.writeUInt32LE(R,0);N.writeUInt32LE(j,4)}},39784:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decodeInt64=decodeInt64;N.decodeUInt64=decodeUInt64;N.decodeInt32=decodeInt32;N.decodeUInt32=decodeUInt32;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.MAX_NUMBER_OF_BYTE_U64=N.MAX_NUMBER_OF_BYTE_U32=void 0;var j=_interopRequireDefault(R(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var $=5;N.MAX_NUMBER_OF_BYTE_U32=$;var q=10;N.MAX_NUMBER_OF_BYTE_U64=q;function decodeInt64(E,N){return j.default.decodeInt64(E,N)}function decodeUInt64(E,N){return j.default.decodeUInt64(E,N)}function decodeInt32(E,N){return j.default.decodeInt32(E,N)}function decodeUInt32(E,N){return j.default.decodeUInt32(E,N)}function encodeU32(E){return j.default.encodeUInt32(E)}function encodeI32(E){return j.default.encodeInt32(E)}function encodeI64(E){return j.default.encodeInt64(E)}},83082:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(11174));var $=_interopRequireWildcard(R(90683));var q=_interopRequireWildcard(R(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var G=-2147483648;var ie=2147483647;var ae=4294967295;function signedBitCount(E){return $.highOrder($.getSign(E)^1,E)+2}function unsignedBitCount(E){var N=$.highOrder(1,E)+1;return N?N:1}function encodeBufferCommon(E,N){var R;var j;if(N){R=$.getSign(E);j=signedBitCount(E)}else{R=0;j=unsignedBitCount(E)}var G=Math.ceil(j/7);var ie=q.alloc(G);for(var ae=0;ae=128){R++}R++;if(N+R>E.length){}return R}function decodeBufferCommon(E,N,R){N=N===undefined?0:N;var j=encodedLength(E,N);var G=j*7;var ie=Math.ceil(G/8);var ae=q.alloc(ie);var ce=0;while(j>0){$.inject(ae,ce,7,E[N]);ce+=7;N++;j--}var le;var _e;if(R){var Te=ae[ie-1];var Ee=ce%8;if(Ee!==0){var we=32-Ee;Te=ae[ie-1]=Te<>we&255}le=Te>>7;_e=le*255}else{le=0;_e=0}while(ie>1&&ae[ie-1]===_e&&(!R||ae[ie-2]>>7===le)){ie--}ae=q.resize(ae,ie);return{value:ae,nextIndex:N}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,N){return decodeBufferCommon(E,N,true)}function encodeInt32(E){var N=q.alloc(4);N.writeInt32LE(E,0);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt32(E,N){var R=decodeIntBuffer(E,N);var j=q.readInt(R.value);var $=j.value;q.free(R.value);if($ie){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeInt64(E){var N=q.alloc(8);q.writeInt64(E,N);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt64(E,N){var R=decodeIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,false);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,N){return decodeBufferCommon(E,N,false)}function encodeUInt32(E){var N=q.alloc(4);N.writeUInt32LE(E,0);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt32(E,N){var R=decodeUIntBuffer(E,N);var j=q.readUInt(R.value);var $=j.value;q.free(R.value);if($>ae){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeUInt64(E){var N=q.alloc(8);q.writeUInt64(E,N);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt64(E,N){var R=decodeUIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,true);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}var ce={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};N["default"]=ce},85589:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N=65536){throw new Error("invalid UTF-8 encoding")}else{return N}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var N=_toArray(E),R=N[0],j=N.slice(1);if(R<128){return[code(0,R)].concat(_toConsumableArray(_decode(j)))}if(R<192){throw new Error("invalid UTF-8 encoding")}}{var $=_toArray(E),q=$[0],G=$[1],ie=$.slice(2);if(q<224){return[code(128,((q&31)<<6)+con(G))].concat(_toConsumableArray(_decode(ie)))}}{var ae=_toArray(E),ce=ae[0],le=ae[1],_e=ae[2],Te=ae.slice(3);if(ce<240){return[code(2048,((ce&15)<<12)+(con(le)<<6)+con(_e))].concat(_toConsumableArray(_decode(Te)))}}{var Ee=_toArray(E),we=Ee[0],Ie=Ee[1],Ne=Ee[2],Me=Ee[3],Le=Ee.slice(4);if(we<248){return[code(65536,(((we&7)<<18)+con(Ie)<<12)+(con(Ne)<<6)+con(Me))].concat(_toConsumableArray(_decode(Le)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N>>6,con(R)].concat(_toConsumableArray(_encode(j)))}if(R<65536){return[224|R>>>12,con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}if(R<1114112){return[240|R>>>18,con(R>>>12),con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}throw new Error("utf8")}},38040:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"decode",{enumerable:true,get:function get(){return j.decode}});Object.defineProperty(N,"encode",{enumerable:true,get:function get(){return $.encode}});var j=R(85589);var $=R(56264)},17467:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.applyOperations=applyOperations;var j=R(44166);var $=R(77445);var q=R(98093);var G=R(77246);var ie=R(3104);var ae=R(3930);function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,N){(0,q.assertHasLoc)(E);E.loc.start.column+=N;E.loc.end.column+=N}function applyUpdate(E,N,R){var G=_slicedToArray(R,2),ce=G[0],le=G[1];var _e=0;(0,q.assertHasLoc)(ce);var Te=(0,ae.getSectionForNode)(le);var Ee=(0,j.encodeNode)(le);N=(0,ie.overrideBytesInBuffer)(N,ce.loc.start.column,ce.loc.end.column,Ee);if(Te==="code"){(0,q.traverse)(E,{Func:function Func(E){var R=E.node;var G=R.body.find((function(E){return E===le}))!==undefined;if(G===true){(0,q.assertHasLoc)(R);var ae=(0,j.encodeNode)(ce).length;var _e=Ee.length-ae;if(_e!==0){var Te=R.metadata.bodySize+_e;var we=(0,$.encodeU32)(Te);var Ie=R.loc.start.column;var Ne=Ie+1;N=(0,ie.overrideBytesInBuffer)(N,Ie,Ne,we)}}}})}var we=Ee.length-(ce.loc.end.column-ce.loc.start.column);le.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};le.loc.start.column=ce.loc.start.column;le.loc.end.column=ce.loc.start.column+Ee.length;return{uint8Buffer:N,deltaBytes:we,deltaElements:_e}}function applyDelete(E,N,R){var j=-1;(0,q.assertHasLoc)(R);var $=(0,ae.getSectionForNode)(R);if($==="start"){var ce=(0,q.getSectionMetadata)(E,"start");N=(0,G.removeSections)(E,N,"start");var le=-(ce.size.value+1);return{uint8Buffer:N,deltaBytes:le,deltaElements:j}}var _e=[];N=(0,ie.overrideBytesInBuffer)(N,R.loc.start.column,R.loc.end.column,_e);var Te=-(R.loc.end.column-R.loc.start.column);return{uint8Buffer:N,deltaBytes:Te,deltaElements:j}}function applyAdd(E,N,R){var $=+1;var ce=(0,ae.getSectionForNode)(R);var le=(0,q.getSectionMetadata)(E,ce);if(typeof le==="undefined"){var _e=(0,G.createEmptySection)(E,N,ce);N=_e.uint8Buffer;le=_e.sectionMetadata}if((0,q.isFunc)(R)){var Te=R.body;if(Te.length===0||Te[Te.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,q.isGlobal)(R)){var Te=R.init;if(Te.length===0||Te[Te.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Ee=(0,j.encodeNode)(R);var we=(0,q.getEndOfSection)(le);var Ie=we;var Ne=Ee.length;N=(0,ie.overrideBytesInBuffer)(N,we,Ie,Ee);R.loc={start:{line:-1,column:we},end:{line:-1,column:we+Ne}};if(R.type==="Func"){var Me=Ee[0];R.metadata={bodySize:Me}}if(R.type!=="IndexInFuncSection"){(0,q.orderedInsertNode)(E.body[0],R)}return{uint8Buffer:N,deltaBytes:Ne,deltaElements:$}}function applyOperations(E,N,R){R.forEach((function(j){var $;var q;switch(j.kind){case"update":$=applyUpdate(E,N,[j.oldNode,j.node]);q=(0,ae.getSectionForNode)(j.node);break;case"delete":$=applyDelete(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;case"add":$=applyAdd(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;default:throw new Error("Unknown operation")}if($.deltaElements!==0&&q!=="start"){var ie=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionVecSize)(E,$.uint8Buffer,q,$.deltaElements);$.deltaBytes+=$.uint8Buffer.length-ie}if($.deltaBytes!==0&&q!=="start"){var ce=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionByteSize)(E,$.uint8Buffer,q,$.deltaBytes);$.deltaBytes+=$.uint8Buffer.length-ce}if($.deltaBytes!==0){R.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,$.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,$.deltaBytes);break}}))}N=$.uint8Buffer}));return N}},226:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.edit=edit;N.editWithAST=editWithAST;N.add=add;N.addWithAST=addWithAST;var j=R(73432);var $=R(98093);var q=R(70797);var G=R(53620);var ie=_interopRequireWildcard(R(3930));var ae=R(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var N=(0,G.shrinkPaddedLEB128)(new Uint8Array(E));return N.buffer}function sortBySectionOrder(E){var N=new Map;var R=true;var j=false;var $=undefined;try{for(var q=E[Symbol.iterator](),G;!(R=(G=q.next()).done);R=true){var ae=G.value;N.set(ae,N.size)}}catch(E){j=true;$=E}finally{try{if(!R&&q.return!=null){q.return()}}finally{if(j){throw $}}}E.sort((function(E,R){var j=(0,ie.getSectionForNode)(E);var $=(0,ie.getSectionForNode)(R);var q=ie.default.sections[j];var G=ie.default.sections[$];if(typeof q!=="number"||typeof G!=="number"){throw new Error("Section id not found")}if(q===G){return N.get(E)-N.get(R)}return q-G}))}function edit(E,N){E=preprocess(E);var R=(0,j.decode)(E);return editWithAST(R,E,N)}function editWithAST(E,N,R){var j=[];var G=new Uint8Array(N);var ie;function before(E,N){ie=(0,q.cloneNode)(N.node)}function after(E,N){if(N.node._deleted===true){j.push({kind:"delete",node:N.node})}else if(hashNode(ie)!==hashNode(N.node)){j.push({kind:"update",oldNode:ie,node:N.node})}}(0,$.traverse)(E,R,before,after);G=(0,ae.applyOperations)(E,G,j);return G.buffer}function add(E,N){E=preprocess(E);var R=(0,j.decode)(E);return addWithAST(R,E,N)}function addWithAST(E,N,R){sortBySectionOrder(R);var j=new Uint8Array(N);var $=R.map((function(E){return{kind:"add",node:E}}));j=(0,ae.applyOperations)(E,j,$);return j.buffer}},77445:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeVersion=encodeVersion;N.encodeHeader=encodeHeader;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.encodeVec=encodeVec;N.encodeValtype=encodeValtype;N.encodeMutability=encodeMutability;N.encodeUTF8Vec=encodeUTF8Vec;N.encodeLimits=encodeLimits;N.encodeModuleImport=encodeModuleImport;N.encodeSectionMetadata=encodeSectionMetadata;N.encodeCallInstruction=encodeCallInstruction;N.encodeCallIndirectInstruction=encodeCallIndirectInstruction;N.encodeModuleExport=encodeModuleExport;N.encodeTypeInstruction=encodeTypeInstruction;N.encodeInstr=encodeInstr;N.encodeStringLiteral=encodeStringLiteral;N.encodeGlobal=encodeGlobal;N.encodeFuncBody=encodeFuncBody;N.encodeIndexInFuncSection=encodeIndexInFuncSection;N.encodeElem=encodeElem;var j=_interopRequireWildcard(R(39784));var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireDefault(R(3930));var ie=R(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeNode=encodeNode;N.encodeU32=void 0;var j=_interopRequireWildcard(R(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function encodeNode(E){switch(E.type){case"ModuleImport":return j.encodeModuleImport(E);case"SectionMetadata":return j.encodeSectionMetadata(E);case"CallInstruction":return j.encodeCallInstruction(E);case"CallIndirectInstruction":return j.encodeCallIndirectInstruction(E);case"TypeInstruction":return j.encodeTypeInstruction(E);case"Instr":return j.encodeInstr(E);case"ModuleExport":return j.encodeModuleExport(E);case"Global":return j.encodeGlobal(E);case"Func":return j.encodeFuncBody(E);case"IndexInFuncSection":return j.encodeIndexInFuncSection(E);case"StringLiteral":return j.encodeStringLiteral(E);case"Elem":return j.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var $=j.encodeU32;N.encodeU32=$},53620:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(73432);var $=R(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var q=function(E){_inherits(OptimizerError,E);function OptimizerError(E,N){var R;_classCallCheck(this,OptimizerError);R=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+N.message));R.stack=N.stack;return R}return OptimizerError}(Error);var G={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var N=(0,j.decode)(E.buffer,G);return(0,$.shrinkPaddedLEB128)(N,E)}catch(E){throw new q("shrinkPaddedLEB128",E)}}},25688:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(98093);var $=R(77445);var q=R(3104);function shiftFollowingSections(E,N,R){var $=N.section;var q=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===$){q=true;return}if(q===true){(0,j.shiftSection)(E,N.node,R)}}})}function shrinkPaddedLEB128(E,N){(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(R){var j=R.node;{var G=(0,$.encodeU32)(j.size.value);var ie=G.length;var ae=j.size.loc.start.column;var ce=j.size.loc.end.column;var le=ce-ae;if(ie!==le){var _e=le-ie;N=(0,q.overrideBytesInBuffer)(N,ae,ce,G);shiftFollowingSections(E,j,-_e)}}}});return N}},13975:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=R(35866);var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireWildcard(R(98093));var ie=R(39784);var ae=_interopRequireDefault(R(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N=R.length}function eatBytes(E){le=le+E}function readBytesAtOffset(E,N){var j=[];for(var $=0;$>7?-1:1;var j=0;for(var q=0;q>7?-1:1;var j=0;for(var q=0;qR.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.magicModuleHeader,E)===false){throw new j.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||le+4>R.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.moduleVersion,E)===false){throw new j.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var N=readU32();var R=N.value;eatBytes(N.nextIndex);dump([R],"number");if(R===0){return[]}var $=[];for(var q=0;q=40&&$<=64){if(q.name==="grow_memory"||q.name==="current_memory"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);dump([St],"align");var Tt=readU32();var Et=Tt.value;eatBytes(Tt.nextIndex);dump([Et],"offset")}}else if($>=65&&$<=68){if(q.object==="i32"){var kt=read32();var Ct=kt.value;eatBytes(kt.nextIndex);dump([Ct],"i32 value");le.push(G.numberLiteralFromRaw(Ct))}if(q.object==="u32"){var Dt=readU32();var At=Dt.value;eatBytes(Dt.nextIndex);dump([At],"u32 value");le.push(G.numberLiteralFromRaw(At))}if(q.object==="i64"){var wt=read64();var Pt=wt.value;eatBytes(wt.nextIndex);dump([Number(Pt.toString())],"i64 value");var It=Pt.high,Nt=Pt.low;var Ft={type:"LongNumberLiteral",value:{high:It,low:Nt}};le.push(Ft)}if(q.object==="u64"){var Ot=readU64();var Mt=Ot.value;eatBytes(Ot.nextIndex);dump([Number(Mt.toString())],"u64 value");var Rt=Mt.high,Lt=Mt.low;var Bt={type:"LongNumberLiteral",value:{high:Rt,low:Lt}};le.push(Bt)}if(q.object==="f32"){var jt=readF32();var Ut=jt.value;eatBytes(jt.nextIndex);dump([Ut],"f32 value");le.push(G.floatLiteral(Ut,jt.nan,jt.inf,String(Ut)))}if(q.object==="f64"){var zt=readF64();var Wt=zt.value;eatBytes(zt.nextIndex);dump([Wt],"f64 value");le.push(G.floatLiteral(Wt,zt.nan,zt.inf,String(Wt)))}}else if($>=65024&&$<=65279){var Jt=readU32();var $t=Jt.value;eatBytes(Jt.nextIndex);dump([$t],"align");var Vt=readU32();var qt=Vt.value;eatBytes(Vt.nextIndex);dump([qt],"offset")}else{for(var Ht=0;Ht=E||E===ae.default.sections.custom){E=R+1}else{if(R!==ae.default.sections.custom)throw new j.CompileError("Unexpected section: "+toHex(R))}var $=E;var q=le;var ie=getPosition();var ce=readU32();var _e=ce.value;eatBytes(ce.nextIndex);var Te=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_e),E,ie)}();switch(R){case ae.default.sections.type:{dumpSep("section Type");dump([R],"section code");dump([_e],"section size");var Ee=getPosition();var we=readU32();var Ie=we.value;eatBytes(we.nextIndex);var Ne=G.sectionMetadata("type",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ie),E,Ee)}());var Me=parseTypeSection(Ie);return{nodes:Me,metadata:Ne,nextSectionIndex:$}}case ae.default.sections.table:{dumpSep("section Table");dump([R],"section code");dump([_e],"section size");var Le=getPosition();var Be=readU32();var je=Be.value;eatBytes(Be.nextIndex);dump([je],"num tables");var Ue=G.sectionMetadata("table",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(je),E,Le)}());var ze=parseTableSection(je);return{nodes:ze,metadata:Ue,nextSectionIndex:$}}case ae.default.sections.import:{dumpSep("section Import");dump([R],"section code");dump([_e],"section size");var We=getPosition();var Je=readU32();var Ve=Je.value;eatBytes(Je.nextIndex);dump([Ve],"number of imports");var qe=G.sectionMetadata("import",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ve),E,We)}());var He=parseImportSection(Ve);return{nodes:He,metadata:qe,nextSectionIndex:$}}case ae.default.sections.func:{dumpSep("section Function");dump([R],"section code");dump([_e],"section size");var Ge=getPosition();var Ke=readU32();var Qe=Ke.value;eatBytes(Ke.nextIndex);var Xe=G.sectionMetadata("func",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Qe),E,Ge)}());parseFuncSection(Qe);var Ye=[];return{nodes:Ye,metadata:Xe,nextSectionIndex:$}}case ae.default.sections.export:{dumpSep("section Export");dump([R],"section code");dump([_e],"section size");var Ze=getPosition();var et=readU32();var tt=et.value;eatBytes(et.nextIndex);var rt=G.sectionMetadata("export",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(tt),E,Ze)}());parseExportSection(tt);var nt=[];return{nodes:nt,metadata:rt,nextSectionIndex:$}}case ae.default.sections.code:{dumpSep("section Code");dump([R],"section code");dump([_e],"section size");var it=getPosition();var ot=readU32();var st=ot.value;eatBytes(ot.nextIndex);var ct=G.sectionMetadata("code",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(st),E,it)}());if(N.ignoreCodeSection===true){var ut=_e-ot.nextIndex;eatBytes(ut)}else{parseCodeSection(st)}var dt=[];return{nodes:dt,metadata:ct,nextSectionIndex:$}}case ae.default.sections.start:{dumpSep("section Start");dump([R],"section code");dump([_e],"section size");var pt=G.sectionMetadata("start",q,Te);var ft=[parseStartSection()];return{nodes:ft,metadata:pt,nextSectionIndex:$}}case ae.default.sections.element:{dumpSep("section Element");dump([R],"section code");dump([_e],"section size");var mt=getPosition();var ht=readU32();var _t=ht.value;eatBytes(ht.nextIndex);var yt=G.sectionMetadata("element",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_t),E,mt)}());var vt=parseElemSection(_t);return{nodes:vt,metadata:yt,nextSectionIndex:$}}case ae.default.sections.global:{dumpSep("section Global");dump([R],"section code");dump([_e],"section size");var bt=getPosition();var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);var Tt=G.sectionMetadata("global",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(St),E,bt)}());var Et=parseGlobalSection(St);return{nodes:Et,metadata:Tt,nextSectionIndex:$}}case ae.default.sections.memory:{dumpSep("section Memory");dump([R],"section code");dump([_e],"section size");var kt=getPosition();var Ct=readU32();var Dt=Ct.value;eatBytes(Ct.nextIndex);var At=G.sectionMetadata("memory",q,Te,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Dt),E,kt)}());var wt=parseMemorySection(Dt);return{nodes:wt,metadata:At,nextSectionIndex:$}}case ae.default.sections.data:{dumpSep("section Data");dump([R],"section code");dump([_e],"section size");var Pt=G.sectionMetadata("data",q,Te);var It=getPosition();var Nt=readU32();var Ft=Nt.value;eatBytes(Nt.nextIndex);Pt.vectorOfSize=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ft),E,It)}();if(N.ignoreDataSection===true){var Ot=_e-Nt.nextIndex;eatBytes(Ot);dumpSep("ignore data ("+_e+" bytes)");return{nodes:[],metadata:Pt,nextSectionIndex:$}}else{var Mt=parseDataSection(Ft);return{nodes:Mt,metadata:Pt,nextSectionIndex:$}}}case ae.default.sections.custom:{dumpSep("section Custom");dump([R],"section code");dump([_e],"section size");var Rt=[G.sectionMetadata("custom",q,Te)];var Lt=readUTF8String();eatBytes(Lt.nextIndex);dump([],"section name (".concat(Lt.value,")"));var Bt=_e-Lt.nextIndex;if(Lt.value==="name"){var jt=le;try{Rt.push.apply(Rt,_toConsumableArray(parseNameSection(Bt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(jt+Bt))}}else if(Lt.value==="producers"){var Ut=le;try{Rt.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(Ut+Bt))}}else{eatBytes(Bt);dumpSep("ignore custom "+JSON.stringify(Lt.value)+" section ("+Bt+" bytes)")}return{nodes:[],metadata:Rt,nextSectionIndex:$}}}throw new j.CompileError("Unexpected section: "+toHex(R))}parseModuleHeader();parseVersion();var Te=[];var Ee=0;var we={sections:[],functionNames:[],localNames:[],producers:[]};while(le{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=_interopRequireWildcard(R(13975));var $=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}var q={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var N=[];$.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var R=E.node;N.push({name:R.value,index:R.index})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.name;var $=j.value;var q=Number($.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){var ie=j.value;j.value=G.name;j.numeric=ie;delete j.raw}})),ModuleExport:function(E){function ModuleExport(N){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var R=E.node;if(R.descr.exportType==="Func"){var j=R.descr.id;var q=j.value;var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),ModuleImport:function(E){function ModuleImport(N){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var R=E.node;if(R.descr.type==="FuncImportDescr"){var j=R.descr.id;var q=Number(j.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),CallInstruction:function(E){function CallInstruction(N){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var R=E.node;var j=R.index.value;var q=N.find((function(E){return E.index===j}));if(q){var G=R.index;R.index=$.identifier(q.name);R.numeric=G;delete R.raw}}))})}function restoreLocalNames(E){var N=[];$.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var R=E.node;N.push({name:R.value,localIndex:R.localIndex,functionIndex:R.functionIndex})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.signature;if(j.type!=="Signature"){return}var $=R.name;var q=$.value;var G=Number(q.replace("func_",""));j.params.forEach((function(E,R){var j=N.find((function(E){return E.localIndex===R&&E.functionIndex===G}));if(j&&j.name!==""){E.id=j.name}}))}))})}function restoreModuleName(E){$.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(N){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(N){$.traverse(E,{Module:function(E){function Module(N){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var R=E.node;var j=N.node.value;if(j===""){j=null}R.id=j}))})}))})}function decode(E,N){var R=Object.assign({},q,N);var $=j.decode(E,R);if(R.ignoreCustomNameSection===false){restoreFunctionNames($);restoreLocalNames($);restoreModuleName($)}return $}},3158:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.read=read;N.write=write;function read(E,N,R,j,$){var q,G;var ie=$*8-j-1;var ae=(1<>1;var le=-7;var _e=R?$-1:0;var Te=R?-1:1;var Ee=E[N+_e];_e+=Te;q=Ee&(1<<-le)-1;Ee>>=-le;le+=ie;for(;le>0;q=q*256+E[N+_e],_e+=Te,le-=8){}G=q&(1<<-le)-1;q>>=-le;le+=j;for(;le>0;G=G*256+E[N+_e],_e+=Te,le-=8){}if(q===0){q=1-ce}else if(q===ae){return G?NaN:(Ee?-1:1)*Infinity}else{G=G+Math.pow(2,j);q=q-ce}return(Ee?-1:1)*G*Math.pow(2,q-j)}function write(E,N,R,j,$,q){var G,ie,ae;var ce=q*8-$-1;var le=(1<>1;var Te=$===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Ee=j?0:q-1;var we=j?1:-1;var Ie=N<0||N===0&&1/N<0?1:0;N=Math.abs(N);if(isNaN(N)||N===Infinity){ie=isNaN(N)?1:0;G=le}else{G=Math.floor(Math.log(N)/Math.LN2);if(N*(ae=Math.pow(2,-G))<1){G--;ae*=2}if(G+_e>=1){N+=Te/ae}else{N+=Te*Math.pow(2,1-_e)}if(N*ae>=2){G++;ae/=2}if(G+_e>=le){ie=0;G=le}else if(G+_e>=1){ie=(N*ae-1)*Math.pow(2,$);G=G+_e}else{ie=N*Math.pow(2,_e-1)*Math.pow(2,$);G=0}}for(;$>=8;E[R+Ee]=ie&255,Ee+=we,ie/=256,$-=8){}G=G<<$|ie;ce+=$;for(;ce>0;E[R+Ee]=G&255,Ee+=we,G/=256,ce-=8){}E[R+Ee-we]|=Ie*128}},11174:E=>{E.exports=Long;var N=null;try{N=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,N,R){this.low=E|0;this.high=N|0;this.unsigned=!!R}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var R={};var j={};function fromInt(E,N){var $,q,G;if(N){E>>>=0;if(G=0<=E&&E<256){q=j[E];if(q)return q}$=fromBits(E,(E|0)<0?-1:0,true);if(G)j[E]=$;return $}else{E|=0;if(G=-128<=E&&E<128){q=R[E];if(q)return q}$=fromBits(E,E<0?-1:0,false);if(G)R[E]=$;return $}}Long.fromInt=fromInt;function fromNumber(E,N){if(isNaN(E))return N?Te:_e;if(N){if(E<0)return Te;if(E>=ae)return Me}else{if(E<=-ce)return Le;if(E+1>=ce)return Ne}if(E<0)return fromNumber(-E,N).neg();return fromBits(E%ie|0,E/ie|0,N)}Long.fromNumber=fromNumber;function fromBits(E,N,R){return new Long(E,N,R)}Long.fromBits=fromBits;var $=Math.pow;function fromString(E,N,R){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return _e;if(typeof N==="number"){R=N,N=false}else{N=!!N}R=R||10;if(R<2||360)throw Error("interior hyphen");else if(j===0){return fromString(E.substring(1),N,R).neg()}var q=fromNumber($(R,8));var G=_e;for(var ie=0;ie>>0:this.low};Be.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ie+(this.low>>>0);return this.high*ie+(this.low>>>0)};Be.toString=function toString(E){E=E||10;if(E<2||36>>0,le=ce.toString(E);G=ae;if(G.isZero())return le+ie;else{while(le.length<6)le="0"+le;ie=""+le+ie}}};Be.getHighBits=function getHighBits(){return this.high};Be.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Be.getLowBits=function getLowBits(){return this.low};Be.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Be.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Le)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var N=31;N>0;N--)if((E&1<=0};Be.isOdd=function isOdd(){return(this.low&1)===1};Be.isEven=function isEven(){return(this.low&1)===0};Be.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};Be.eq=Be.equals;Be.notEquals=function notEquals(E){return!this.eq(E)};Be.neq=Be.notEquals;Be.ne=Be.notEquals;Be.lessThan=function lessThan(E){return this.comp(E)<0};Be.lt=Be.lessThan;Be.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};Be.lte=Be.lessThanOrEqual;Be.le=Be.lessThanOrEqual;Be.greaterThan=function greaterThan(E){return this.comp(E)>0};Be.gt=Be.greaterThan;Be.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};Be.gte=Be.greaterThanOrEqual;Be.ge=Be.greaterThanOrEqual;Be.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var N=this.isNegative(),R=E.isNegative();if(N&&!R)return-1;if(!N&&R)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};Be.comp=Be.compare;Be.negate=function negate(){if(!this.unsigned&&this.eq(Le))return Le;return this.not().add(Ee)};Be.neg=Be.negate;Be.add=function add(E){if(!isLong(E))E=fromValue(E);var N=this.high>>>16;var R=this.high&65535;var j=this.low>>>16;var $=this.low&65535;var q=E.high>>>16;var G=E.high&65535;var ie=E.low>>>16;var ae=E.low&65535;var ce=0,le=0,_e=0,Te=0;Te+=$+ae;_e+=Te>>>16;Te&=65535;_e+=j+ie;le+=_e>>>16;_e&=65535;le+=R+G;ce+=le>>>16;le&=65535;ce+=N+q;ce&=65535;return fromBits(_e<<16|Te,ce<<16|le,this.unsigned)};Be.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};Be.sub=Be.subtract;Be.multiply=function multiply(E){if(this.isZero())return _e;if(!isLong(E))E=fromValue(E);if(N){var R=N["mul"](this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(E.isZero())return _e;if(this.eq(Le))return E.isOdd()?Le:_e;if(E.eq(Le))return this.isOdd()?Le:_e;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(le)&&E.lt(le))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var j=this.high>>>16;var $=this.high&65535;var q=this.low>>>16;var G=this.low&65535;var ie=E.high>>>16;var ae=E.high&65535;var ce=E.low>>>16;var Te=E.low&65535;var Ee=0,we=0,Ie=0,Ne=0;Ne+=G*Te;Ie+=Ne>>>16;Ne&=65535;Ie+=q*Te;we+=Ie>>>16;Ie&=65535;Ie+=G*ce;we+=Ie>>>16;Ie&=65535;we+=$*Te;Ee+=we>>>16;we&=65535;we+=q*ce;Ee+=we>>>16;we&=65535;we+=G*ae;Ee+=we>>>16;we&=65535;Ee+=j*Te+$*ce+q*ae+G*ie;Ee&=65535;return fromBits(Ie<<16|Ne,Ee<<16|we,this.unsigned)};Be.mul=Be.multiply;Be.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(N){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var R=(this.unsigned?N["div_u"]:N["div_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?Te:_e;var j,q,G;if(!this.unsigned){if(this.eq(Le)){if(E.eq(Ee)||E.eq(Ie))return Le;else if(E.eq(Le))return Ee;else{var ie=this.shr(1);j=ie.div(E).shl(1);if(j.eq(_e)){return E.isNegative()?Ee:Ie}else{q=this.sub(E.mul(j));G=j.add(q.div(E));return G}}}else if(E.eq(Le))return this.unsigned?Te:_e;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();G=_e}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return Te;if(E.gt(this.shru(1)))return we;G=Te}q=this;while(q.gte(E)){j=Math.max(1,Math.floor(q.toNumber()/E.toNumber()));var ae=Math.ceil(Math.log(j)/Math.LN2),ce=ae<=48?1:$(2,ae-48),le=fromNumber(j),Ne=le.mul(E);while(Ne.isNegative()||Ne.gt(q)){j-=ce;le=fromNumber(j,this.unsigned);Ne=le.mul(E)}if(le.isZero())le=Ee;G=G.add(le);q=q.sub(Ne)}return G};Be.div=Be.divide;Be.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(N){var R=(this.unsigned?N["rem_u"]:N["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};Be.mod=Be.modulo;Be.rem=Be.modulo;Be.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Be.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};Be.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};Be.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};Be.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<>>32-E,this.unsigned);else return fromBits(0,this.low<>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};Be.shr=Be.shiftRight;Be.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};Be.shru=Be.shiftRightUnsigned;Be.shr_u=Be.shiftRightUnsigned;Be.rotateLeft=function rotateLeft(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.low<>>N,this.high<>>N,this.unsigned)}E-=32;N=32-E;return fromBits(this.high<>>N,this.low<>>N,this.unsigned)};Be.rotl=Be.rotateLeft;Be.rotateRight=function rotateRight(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)}E-=32;N=32-E;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)};Be.rotr=Be.rotateRight;Be.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Be.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Be.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};Be.toBytesLE=function toBytesLE(){var E=this.high,N=this.low;return[N&255,N>>>8&255,N>>>16&255,N>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};Be.toBytesBE=function toBytesBE(){var E=this.high,N=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,N>>>24,N>>>16&255,N>>>8&255,N&255]};Long.fromBytes=function fromBytes(E,N,R){return R?Long.fromBytesLE(E,N):Long.fromBytesBE(E,N)};Long.fromBytesLE=function fromBytesLE(E,N){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,N)};Long.fromBytesBE=function fromBytesBE(E,N){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],N)}},71066:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.importAssertions=importAssertions;var j=_interopRequireWildcard(R(20976));function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}const $="{".charCodeAt(0);const q=" ".charCodeAt(0);const G="assert";const ie=1,ae=2,ce=4;function importAssertions(E){const N=E.acorn||j;const{tokTypes:R,TokenType:ae}=N;return class extends E{constructor(...E){super(...E);this.assertToken=new ae(G)}_codeAt(E){return this.input.charCodeAt(E)}_eat(E){if(this.type!==E){this.unexpected()}this.next()}readToken(E){let N=0;for(;N=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(R._default)){this.checkExport(N,"default",this.lastTokStart);var j;if(this.type===R._function||(j=this.isAsyncFunction())){var $=this.startNode();this.next();if(j){this.next()}E.declaration=this.parseFunction($,ie|ce,false,j)}else if(this.type===R._class){var q=this.startNode();E.declaration=this.parseClass(q,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}}else{for(var G=0,ae=E.specifiers;GE){return false}R+=N[j+1];if(R>=E){return true}}}function isIdentifierStart(E,N){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)}function isIdentifierChar(E,N){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)||isInAstralSet(E,le)}var _e=function TokenType(E,N){if(N===void 0)N={};this.label=E;this.keyword=N.keyword;this.beforeExpr=!!N.beforeExpr;this.startsExpr=!!N.startsExpr;this.isLoop=!!N.isLoop;this.isAssign=!!N.isAssign;this.prefix=!!N.prefix;this.postfix=!!N.postfix;this.binop=N.binop||null;this.updateContext=null};function binop(E,N){return new _e(E,{beforeExpr:true,binop:N})}var Te={beforeExpr:true},Ee={startsExpr:true};var we={};function kw(E,N){if(N===void 0)N={};N.keyword=E;return we[E]=new _e(E,N)}var Ie={num:new _e("num",Ee),regexp:new _e("regexp",Ee),string:new _e("string",Ee),name:new _e("name",Ee),privateId:new _e("privateId",Ee),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",Te),semi:new _e(";",Te),colon:new _e(":",Te),dot:new _e("."),question:new _e("?",Te),questionDot:new _e("?."),arrow:new _e("=>",Te),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",Te),backQuote:new _e("`",Ee),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",Te),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Te),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",Te),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ee),_if:kw("if"),_return:kw("return",Te),_switch:kw("switch"),_throw:kw("throw",Te),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ee),_super:kw("super",Ee),_class:kw("class",Ee),_extends:kw("extends",Te),_export:kw("export"),_import:kw("import",Ee),_null:kw("null",Ee),_true:kw("true",Ee),_false:kw("false",Ee),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Me=new RegExp(Ne.source,"g");function isNewLine(E){return E===10||E===13||E===8232||E===8233}function nextLineBreak(E,N,R){if(R===void 0)R=E.length;for(var j=N;j=2015){N.ecmaVersion-=2009}if(N.allowReserved==null){N.allowReserved=N.ecmaVersion<5}if(Je(N.onToken)){var j=N.onToken;N.onToken=function(E){return j.push(E)}}if(Je(N.onComment)){N.onComment=pushComment(N,N.onComment)}return N}function pushComment(E,N){return function(R,j,$,q,G,ie){var ae={type:R?"Block":"Line",value:j,start:$,end:q};if(E.locations){ae.loc=new He(this,G,ie)}if(E.ranges){ae.range=[$,q]}N.push(ae)}}var Qe=1,Xe=2,Ye=4,Ze=8,et=16,tt=32,rt=64,nt=128,it=256,ot=Qe|Xe|it;function functionFlags(E,N){return Xe|(E?Ye:0)|(N?Ze:0)}var st=0,ct=1,ut=2,dt=3,pt=4,ft=5;var mt=function Parser(E,R,$){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(j[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){q=N[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var G=(q?q+" ":"")+N.strict;this.reservedWordsStrict=wordsRegexp(G);this.reservedWordsStrictBind=wordsRegexp(G+" "+N.strictBind);this.input=String(R);this.containsEsc=false;if($){this.pos=$;this.lineStart=this.input.lastIndexOf("\n",$-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ie.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Qe);this.regexpState=null;this.privateNameStack=[]};var ht={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};mt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};ht.inFunction.get=function(){return(this.currentVarScope().flags&Xe)>0};ht.inGenerator.get=function(){return(this.currentVarScope().flags&Ze)>0&&!this.currentVarScope().inClassFieldInit};ht.inAsync.get=function(){return(this.currentVarScope().flags&Ye)>0&&!this.currentVarScope().inClassFieldInit};ht.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var N=this.scopeStack[E];if(N.inClassFieldInit||N.flags&it){return false}if(N.flags&Xe){return(N.flags&Ye)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};ht.allowSuper.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&rt)>0||R||this.options.allowSuperOutsideMethod};ht.allowDirectSuper.get=function(){return(this.currentThisScope().flags&nt)>0};ht.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ht.allowNewDotTarget.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&(Xe|it))>0||R};ht.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&it)>0};mt.extend=function extend(){var E=[],N=arguments.length;while(N--)E[N]=arguments[N];var R=this;for(var j=0;j=,?^&]/.test($)||$==="!"&&this.input.charAt(j+1)==="=")}E+=N[0].length;Be.lastIndex=E;E+=Be.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};_t.eat=function(E){if(this.type===E){this.next();return true}else{return false}};_t.isContextual=function(E){return this.type===Ie.name&&this.value===E&&!this.containsEsc};_t.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};_t.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};_t.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};_t.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};_t.semicolon=function(){if(!this.eat(Ie.semi)&&!this.insertSemicolon()){this.unexpected()}};_t.afterTrailingComma=function(E,N){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!N){this.next()}return true}};_t.expect=function(E){this.eat(E)||this.unexpected()};_t.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}_t.checkPatternErrors=function(E,N){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var R=N?E.parenthesizedAssign:E.parenthesizedBind;if(R>-1){this.raiseRecoverable(R,"Parenthesized pattern")}};_t.checkExpressionErrors=function(E,N){if(!E){return false}var R=E.shorthandAssign;var j=E.doubleProto;if(!N){return R>=0||j>=0}if(R>=0){this.raise(R,"Shorthand property assignments are valid only in destructuring patterns")}if(j>=0){this.raiseRecoverable(j,"Redefinition of __proto__ property")}};_t.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&j<56320){return true}if(E){return false}if(j===123){return true}if(isIdentifierStart(j,true)){var q=R+1;while(isIdentifierChar(j=this.input.charCodeAt(q),true)){++q}if(j===92||j>55295&&j<56320){return true}var G=this.input.slice(R,q);if(!$.test(G)){return true}}return false};vt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}Be.lastIndex=this.pos;var E=Be.exec(this.input);var N=this.pos+E[0].length,R;return!Ne.test(this.input.slice(this.pos,N))&&this.input.slice(N,N+8)==="function"&&(N+8===this.input.length||!(isIdentifierChar(R=this.input.charCodeAt(N+8))||R>55295&&R<56320))};vt.parseStatement=function(E,N,R){var j=this.type,$=this.startNode(),q;if(this.isLet(E)){j=Ie._var;q="let"}switch(j){case Ie._break:case Ie._continue:return this.parseBreakContinueStatement($,j.keyword);case Ie._debugger:return this.parseDebuggerStatement($);case Ie._do:return this.parseDoStatement($);case Ie._for:return this.parseForStatement($);case Ie._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement($,false,!E);case Ie._class:if(E){this.unexpected()}return this.parseClass($,true);case Ie._if:return this.parseIfStatement($);case Ie._return:return this.parseReturnStatement($);case Ie._switch:return this.parseSwitchStatement($);case Ie._throw:return this.parseThrowStatement($);case Ie._try:return this.parseTryStatement($);case Ie._const:case Ie._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement($,q);case Ie._while:return this.parseWhileStatement($);case Ie._with:return this.parseWithStatement($);case Ie.braceL:return this.parseBlock(true,$);case Ie.semi:return this.parseEmptyStatement($);case Ie._export:case Ie._import:if(this.options.ecmaVersion>10&&j===Ie._import){Be.lastIndex=this.pos;var G=Be.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement($,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!N){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return j===Ie._import?this.parseImport($):this.parseExport($,R);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement($,true,!E)}var ce=this.value,le=this.parseExpression();if(j===Ie.name&&le.type==="Identifier"&&this.eat(Ie.colon)){return this.parseLabeledStatement($,ce,le,E)}else{return this.parseExpressionStatement($,le)}}};vt.parseBreakContinueStatement=function(E,N){var R=N==="break";this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ie.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var j=0;for(;j=6){this.eat(Ie.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};vt.parseForStatement=function(E){this.next();var N=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(bt);this.enterScope(0);this.expect(Ie.parenL);if(this.type===Ie.semi){if(N>-1){this.unexpected(N)}return this.parseFor(E,null)}var R=this.isLet();if(this.type===Ie._var||this.type===Ie._const||R){var j=this.startNode(),$=R?"let":this.value;this.next();this.parseVar(j,true,$);this.finishNode(j,"VariableDeclaration");if((this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&j.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}return this.parseForIn(E,j)}if(N>-1){this.unexpected(N)}return this.parseFor(E,j)}var q=this.isContextual("let"),G=false;var ie=new DestructuringErrors;var ae=this.parseExpression(N>-1?"await":true,ie);if(this.type===Ie._in||(G=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}if(q&&G){this.raise(ae.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(ae,false,ie);this.checkLValPattern(ae);return this.parseForIn(E,ae)}else{this.checkExpressionErrors(ie,true)}if(N>-1){this.unexpected(N)}return this.parseFor(E,ae)};vt.parseFunctionStatement=function(E,N,R){this.next();return this.parseFunction(E,Tt|(R?0:Et),false,N)};vt.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ie._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};vt.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};vt.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ie.braceL);this.labels.push(xt);this.enterScope(0);var N;for(var R=false;this.type!==Ie.braceR;){if(this.type===Ie._case||this.type===Ie._default){var j=this.type===Ie._case;if(N){this.finishNode(N,"SwitchCase")}E.cases.push(N=this.startNode());N.consequent=[];this.next();if(j){N.test=this.parseExpression()}else{if(R){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}R=true;N.test=null}this.expect(Ie.colon)}else{if(!N){this.unexpected()}N.consequent.push(this.parseStatement(null))}}this.exitScope();if(N){this.finishNode(N,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};vt.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var St=[];vt.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ie._catch){var N=this.startNode();this.next();if(this.eat(Ie.parenL)){N.param=this.parseBindingAtom();var R=N.param.type==="Identifier";this.enterScope(R?tt:0);this.checkLValPattern(N.param,R?pt:ut);this.expect(Ie.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}N.param=null;this.enterScope(0)}N.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(N,"CatchClause")}E.finalizer=this.eat(Ie._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};vt.parseVarStatement=function(E,N){this.next();this.parseVar(E,false,N);this.semicolon();return this.finishNode(E,"VariableDeclaration")};vt.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(bt);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};vt.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};vt.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};vt.parseLabeledStatement=function(E,N,R,j){for(var $=0,q=this.labels;$=0;ae--){var ce=this.labels[ae];if(ce.statementStart===E.start){ce.statementStart=this.start;ce.kind=ie}else{break}}this.labels.push({name:N,kind:ie,statementStart:this.start});E.body=this.parseStatement(j?j.indexOf("label")===-1?j+"label":j:"label");this.labels.pop();E.label=R;return this.finishNode(E,"LabeledStatement")};vt.parseExpressionStatement=function(E,N){E.expression=N;this.semicolon();return this.finishNode(E,"ExpressionStatement")};vt.parseBlock=function(E,N,R){if(E===void 0)E=true;if(N===void 0)N=this.startNode();N.body=[];this.expect(Ie.braceL);if(E){this.enterScope(0)}while(this.type!==Ie.braceR){var j=this.parseStatement(null);N.body.push(j)}if(R){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(N,"BlockStatement")};vt.parseFor=function(E,N){E.init=N;this.expect(Ie.semi);E.test=this.type===Ie.semi?null:this.parseExpression();this.expect(Ie.semi);E.update=this.type===Ie.parenR?null:this.parseExpression();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};vt.parseForIn=function(E,N){var R=this.type===Ie._in;this.next();if(N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!R||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")){this.raise(N.start,(R?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=N;E.right=R?this.parseExpression():this.parseMaybeAssign();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,R?"ForInStatement":"ForOfStatement")};vt.parseVar=function(E,N,R){E.declarations=[];E.kind=R;for(;;){var j=this.startNode();this.parseVarId(j,R);if(this.eat(Ie.eq)){j.init=this.parseMaybeAssign(N)}else if(R==="const"&&!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(j.id.type!=="Identifier"&&!(N&&(this.type===Ie._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{j.init=null}E.declarations.push(this.finishNode(j,"VariableDeclarator"));if(!this.eat(Ie.comma)){break}}return E};vt.parseVarId=function(E,N){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,N==="var"?ct:ut,false)};var Tt=1,Et=2,kt=4;vt.parseFunction=function(E,N,R,j,$){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!j){if(this.type===Ie.star&&N&Et){this.unexpected()}E.generator=this.eat(Ie.star)}if(this.options.ecmaVersion>=8){E.async=!!j}if(N&Tt){E.id=N&kt&&this.type!==Ie.name?null:this.parseIdent();if(E.id&&!(N&Et)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?ct:ut:dt)}}var q=this.yieldPos,G=this.awaitPos,ie=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(N&Tt)){E.id=this.type===Ie.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,R,false,$);this.yieldPos=q;this.awaitPos=G;this.awaitIdentPos=ie;return this.finishNode(E,N&Tt?"FunctionDeclaration":"FunctionExpression")};vt.parseFunctionParams=function(E){this.expect(Ie.parenL);E.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};vt.parseClass=function(E,N){this.next();var R=this.strict;this.strict=true;this.parseClassId(E,N);this.parseClassSuper(E);var j=this.enterClassBody();var $=this.startNode();var q=false;$.body=[];this.expect(Ie.braceL);while(this.type!==Ie.braceR){var G=this.parseClassElement(E.superClass!==null);if(G){$.body.push(G);if(G.type==="MethodDefinition"&&G.kind==="constructor"){if(q){this.raise(G.start,"Duplicate constructor in the same class")}q=true}else if(G.key&&G.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(j,G)){this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared")}}}this.strict=R;this.next();E.body=this.finishNode($,"ClassBody");this.exitClassBody();return this.finishNode(E,N?"ClassDeclaration":"ClassExpression")};vt.parseClassElement=function(E){if(this.eat(Ie.semi)){return null}var N=this.options.ecmaVersion;var R=this.startNode();var j="";var $=false;var q=false;var G="method";var ie=false;if(this.eatContextual("static")){if(N>=13&&this.eat(Ie.braceL)){this.parseClassStaticBlock(R);return R}if(this.isClassElementNameStart()||this.type===Ie.star){ie=true}else{j="static"}}R.static=ie;if(!j&&N>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Ie.star)&&!this.canInsertSemicolon()){q=true}else{j="async"}}if(!j&&(N>=9||!q)&&this.eat(Ie.star)){$=true}if(!j&&!q&&!$){var ae=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){G=ae}else{j=ae}}}if(j){R.computed=false;R.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);R.key.name=j;this.finishNode(R.key,"Identifier")}else{this.parseClassElementName(R)}if(N<13||this.type===Ie.parenL||G!=="method"||$||q){var ce=!R.static&&checkKeyName(R,"constructor");var le=ce&&E;if(ce&&G!=="method"){this.raise(R.key.start,"Constructor can't have get/set modifier")}R.kind=ce?"constructor":G;this.parseClassMethod(R,$,q,le)}else{this.parseClassField(R)}return R};vt.isClassElementNameStart=function(){return this.type===Ie.name||this.type===Ie.privateId||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword};vt.parseClassElementName=function(E){if(this.type===Ie.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};vt.parseClassMethod=function(E,N,R,j){var $=E.key;if(E.kind==="constructor"){if(N){this.raise($.start,"Constructor can't be a generator")}if(R){this.raise($.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise($.start,"Classes may not have a static property named prototype")}var q=E.value=this.parseMethod(N,R,j);if(E.kind==="get"&&q.params.length!==0){this.raiseRecoverable(q.start,"getter should have no params")}if(E.kind==="set"&&q.params.length!==1){this.raiseRecoverable(q.start,"setter should have exactly one param")}if(E.kind==="set"&&q.params[0].type==="RestElement"){this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};vt.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Ie.eq)){var N=this.currentThisScope();var R=N.inClassFieldInit;N.inClassFieldInit=true;E.value=this.parseMaybeAssign();N.inClassFieldInit=R}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};vt.parseClassStaticBlock=function(E){E.body=[];var N=this.labels;this.labels=[];this.enterScope(it|rt);while(this.type!==Ie.braceR){var R=this.parseStatement(null);E.body.push(R)}this.next();this.exitScope();this.labels=N;return this.finishNode(E,"StaticBlock")};vt.parseClassId=function(E,N){if(this.type===Ie.name){E.id=this.parseIdent();if(N){this.checkLValSimple(E.id,ut,false)}}else{if(N===true){this.unexpected()}E.id=null}};vt.parseClassSuper=function(E){E.superClass=this.eat(Ie._extends)?this.parseExprSubscripts(false):null};vt.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};vt.exitClassBody=function(){var E=this.privateNameStack.pop();var N=E.declared;var R=E.used;var j=this.privateNameStack.length;var $=j===0?null:this.privateNameStack[j-1];for(var q=0;q=11){if(this.eatContextual("as")){E.exported=this.parseModuleExportName();this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ie._default)){this.checkExport(N,"default",this.lastTokStart);var R;if(this.type===Ie._function||(R=this.isAsyncFunction())){var j=this.startNode();this.next();if(R){this.next()}E.declaration=this.parseFunction(j,Tt|kt,false,R)}else if(this.type===Ie._class){var $=this.startNode();E.declaration=this.parseClass($,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=13&&this.type===Ie.string){var E=this.parseLiteral(this.value);if(Ve.test(E.value)){this.raise(E.start,"An export name cannot include a lone surrogate.")}return E}return this.parseIdent(true)};vt.adaptDirectivePrologue=function(E){for(var N=0;N=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(R){this.checkPatternErrors(R,true)}for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.toAssignable(q,N);if(q.type==="RestElement"&&(q.argument.type==="ArrayPattern"||q.argument.type==="ObjectPattern")){this.raise(q.argument.start,"Unexpected token")}}break;case"Property":if(E.kind!=="init"){this.raise(E.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(E.value,N);break;case"ArrayExpression":E.type="ArrayPattern";if(R){this.checkPatternErrors(R,true)}this.toAssignableList(E.elements,N);break;case"SpreadElement":E.type="RestElement";this.toAssignable(E.argument,N);if(E.argument.type==="AssignmentPattern"){this.raise(E.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(E.operator!=="="){this.raise(E.left.end,"Only '=' operator can be used for specifying default value.")}E.type="AssignmentPattern";delete E.operator;this.toAssignable(E.left,N);break;case"ParenthesizedExpression":this.toAssignable(E.expression,N,R);break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N){break}default:this.raise(E.start,"Assigning to rvalue")}}else if(R){this.checkPatternErrors(R,true)}return E};Ct.toAssignableList=function(E,N){var R=E.length;for(var j=0;j=6){switch(this.type){case Ie.bracketL:var E=this.startNode();this.next();E.elements=this.parseBindingList(Ie.bracketR,true,true);return this.finishNode(E,"ArrayPattern");case Ie.braceL:return this.parseObj(true)}}return this.parseIdent()};Ct.parseBindingList=function(E,N,R){var j=[],$=true;while(!this.eat(E)){if($){$=false}else{this.expect(Ie.comma)}if(N&&this.type===Ie.comma){j.push(null)}else if(R&&this.afterTrailingComma(E)){break}else if(this.type===Ie.ellipsis){var q=this.parseRestBinding();this.parseBindingListItem(q);j.push(q);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(E);break}else{var G=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(G);j.push(G)}}return j};Ct.parseBindingListItem=function(E){return E};Ct.parseMaybeDefault=function(E,N,R){R=R||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Ie.eq)){return R}var j=this.startNodeAt(E,N);j.left=R;j.right=this.parseMaybeAssign();return this.finishNode(j,"AssignmentPattern")};Ct.checkLValSimple=function(E,N,R){if(N===void 0)N=st;var j=N!==st;switch(E.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(E.name)){this.raiseRecoverable(E.start,(j?"Binding ":"Assigning to ")+E.name+" in strict mode")}if(j){if(N===ut&&E.name==="let"){this.raiseRecoverable(E.start,"let is disallowed as a lexically bound name")}if(R){if(We(R,E.name)){this.raiseRecoverable(E.start,"Argument name clash")}R[E.name]=true}if(N!==ft){this.declareName(E.name,N,E.start)}}break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(j){this.raiseRecoverable(E.start,"Binding member expression")}break;case"ParenthesizedExpression":if(j){this.raiseRecoverable(E.start,"Binding parenthesized expression")}return this.checkLValSimple(E.expression,N,R);default:this.raise(E.start,(j?"Binding":"Assigning to")+" rvalue")}};Ct.checkLValPattern=function(E,N,R){if(N===void 0)N=st;switch(E.type){case"ObjectPattern":for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.checkLValInnerPattern(q,N,R)}break;case"ArrayPattern":for(var G=0,ie=E.elements;G=1;E--){var N=this.context[E];if(N.token==="function"){return N.generator}}return false};wt.updateContext=function(E){var N,R=this.type;if(R.keyword&&E===Ie.dot){this.exprAllowed=false}else if(N=R.updateContext){N.call(this,E)}else{this.exprAllowed=R.beforeExpr}};wt.overrideContext=function(E){if(this.curContext()!==E){this.context[this.context.length-1]=E}};Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===At.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ie.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?At.b_stat:At.b_expr);this.exprAllowed=true};Ie.dollarBraceL.updateContext=function(){this.context.push(At.b_tmpl);this.exprAllowed=true};Ie.parenL.updateContext=function(E){var N=E===Ie._if||E===Ie._for||E===Ie._with||E===Ie._while;this.context.push(N?At.p_stat:At.p_expr);this.exprAllowed=true};Ie.incDec.updateContext=function(){};Ie._function.updateContext=Ie._class.updateContext=function(E){if(E.beforeExpr&&E!==Ie._else&&!(E===Ie.semi&&this.curContext()!==At.p_stat)&&!(E===Ie._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ie.colon||E===Ie.braceL)&&this.curContext()===At.b_stat)){this.context.push(At.f_expr)}else{this.context.push(At.f_stat)}this.exprAllowed=false};Ie.backQuote.updateContext=function(){if(this.curContext()===At.q_tmpl){this.context.pop()}else{this.context.push(At.q_tmpl)}this.exprAllowed=false};Ie.star.updateContext=function(E){if(E===Ie._function){var N=this.context.length-1;if(this.context[N]===At.f_expr){this.context[N]=At.f_expr_gen}else{this.context[N]=At.f_gen}}this.exprAllowed=true};Ie.name.updateContext=function(E){var N=false;if(this.options.ecmaVersion>=6&&E!==Ie.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){N=true}}this.exprAllowed=N};var Pt=mt.prototype;Pt.checkPropClash=function(E,N,R){if(this.options.ecmaVersion>=9&&E.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(E.computed||E.method||E.shorthand)){return}var j=E.key;var $;switch(j.type){case"Identifier":$=j.name;break;case"Literal":$=String(j.value);break;default:return}var q=E.kind;if(this.options.ecmaVersion>=6){if($==="__proto__"&&q==="init"){if(N.proto){if(R){if(R.doubleProto<0){R.doubleProto=j.start}}else{this.raiseRecoverable(j.start,"Redefinition of __proto__ property")}}N.proto=true}return}$="$"+$;var G=N[$];if(G){var ie;if(q==="init"){ie=this.strict&&G.init||G.get||G.set}else{ie=G.init||G[q]}if(ie){this.raiseRecoverable(j.start,"Redefinition of property")}}else{G=N[$]={init:false,get:false,set:false}}G[q]=true};Pt.parseExpression=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeAssign(E,N);if(this.type===Ie.comma){var q=this.startNodeAt(R,j);q.expressions=[$];while(this.eat(Ie.comma)){q.expressions.push(this.parseMaybeAssign(E,N))}return this.finishNode(q,"SequenceExpression")}return $};Pt.parseMaybeAssign=function(E,N,R){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(E)}else{this.exprAllowed=false}}var j=false,$=-1,q=-1,G=-1;if(N){$=N.parenthesizedAssign;q=N.trailingComma;G=N.doubleProto;N.parenthesizedAssign=N.trailingComma=-1}else{N=new DestructuringErrors;j=true}var ie=this.start,ae=this.startLoc;if(this.type===Ie.parenL||this.type===Ie.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=E==="await"}var ce=this.parseMaybeConditional(E,N);if(R){ce=R.call(this,ce,ie,ae)}if(this.type.isAssign){var le=this.startNodeAt(ie,ae);le.operator=this.value;if(this.type===Ie.eq){ce=this.toAssignable(ce,false,N)}if(!j){N.parenthesizedAssign=N.trailingComma=N.doubleProto=-1}if(N.shorthandAssign>=ce.start){N.shorthandAssign=-1}if(this.type===Ie.eq){this.checkLValPattern(ce)}else{this.checkLValSimple(ce)}le.left=ce;this.next();le.right=this.parseMaybeAssign(E);if(G>-1){N.doubleProto=G}return this.finishNode(le,"AssignmentExpression")}else{if(j){this.checkExpressionErrors(N,true)}}if($>-1){N.parenthesizedAssign=$}if(q>-1){N.trailingComma=q}return ce};Pt.parseMaybeConditional=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprOps(E,N);if(this.checkExpressionErrors(N)){return $}if(this.eat(Ie.question)){var q=this.startNodeAt(R,j);q.test=$;q.consequent=this.parseMaybeAssign();this.expect(Ie.colon);q.alternate=this.parseMaybeAssign(E);return this.finishNode(q,"ConditionalExpression")}return $};Pt.parseExprOps=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeUnary(N,false,false,E);if(this.checkExpressionErrors(N)){return $}return $.start===R&&$.type==="ArrowFunctionExpression"?$:this.parseExprOp($,R,j,-1,E)};Pt.parseExprOp=function(E,N,R,j,$){var q=this.type.binop;if(q!=null&&(!$||this.type!==Ie._in)){if(q>j){var G=this.type===Ie.logicalOR||this.type===Ie.logicalAND;var ie=this.type===Ie.coalesce;if(ie){q=Ie.logicalAND.binop}var ae=this.value;this.next();var ce=this.start,le=this.startLoc;var _e=this.parseExprOp(this.parseMaybeUnary(null,false,false,$),ce,le,q,$);var Te=this.buildBinary(N,R,E,_e,ae,G||ie);if(G&&this.type===Ie.coalesce||ie&&(this.type===Ie.logicalOR||this.type===Ie.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(Te,N,R,j,$)}}return E};Pt.buildBinary=function(E,N,R,j,$,q){if(j.type==="PrivateIdentifier"){this.raise(j.start,"Private identifier can only be left side of binary expression")}var G=this.startNodeAt(E,N);G.left=R;G.operator=$;G.right=j;return this.finishNode(G,q?"LogicalExpression":"BinaryExpression")};Pt.parseMaybeUnary=function(E,N,R,j){var $=this.start,q=this.startLoc,G;if(this.isContextual("await")&&this.canAwait){G=this.parseAwait(j);N=true}else if(this.type.prefix){var ie=this.startNode(),ae=this.type===Ie.incDec;ie.operator=this.value;ie.prefix=true;this.next();ie.argument=this.parseMaybeUnary(null,true,ae,j);this.checkExpressionErrors(E,true);if(ae){this.checkLValSimple(ie.argument)}else if(this.strict&&ie.operator==="delete"&&ie.argument.type==="Identifier"){this.raiseRecoverable(ie.start,"Deleting local variable in strict mode")}else if(ie.operator==="delete"&&isPrivateFieldAccess(ie.argument)){this.raiseRecoverable(ie.start,"Private fields can not be deleted")}else{N=true}G=this.finishNode(ie,ae?"UpdateExpression":"UnaryExpression")}else if(!N&&this.type===Ie.privateId){if(j||this.privateNameStack.length===0){this.unexpected()}G=this.parsePrivateIdent();if(this.type!==Ie._in){this.unexpected()}}else{G=this.parseExprSubscripts(E,j);if(this.checkExpressionErrors(E)){return G}while(this.type.postfix&&!this.canInsertSemicolon()){var ce=this.startNodeAt($,q);ce.operator=this.value;ce.prefix=false;ce.argument=G;this.checkLValSimple(G);this.next();G=this.finishNode(ce,"UpdateExpression")}}if(!R&&this.eat(Ie.starstar)){if(N){this.unexpected(this.lastTokStart)}else{return this.buildBinary($,q,G,this.parseMaybeUnary(null,false,false,j),"**",false)}}else{return G}};function isPrivateFieldAccess(E){return E.type==="MemberExpression"&&E.property.type==="PrivateIdentifier"||E.type==="ChainExpression"&&isPrivateFieldAccess(E.expression)}Pt.parseExprSubscripts=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprAtom(E,N);if($.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return $}var q=this.parseSubscripts($,R,j,false,N);if(E&&q.type==="MemberExpression"){if(E.parenthesizedAssign>=q.start){E.parenthesizedAssign=-1}if(E.parenthesizedBind>=q.start){E.parenthesizedBind=-1}if(E.trailingComma>=q.start){E.trailingComma=-1}}return q};Pt.parseSubscripts=function(E,N,R,j,$){var q=this.options.ecmaVersion>=8&&E.type==="Identifier"&&E.name==="async"&&this.lastTokEnd===E.end&&!this.canInsertSemicolon()&&E.end-E.start===5&&this.potentialArrowAt===E.start;var G=false;while(true){var ie=this.parseSubscript(E,N,R,j,q,G,$);if(ie.optional){G=true}if(ie===E||ie.type==="ArrowFunctionExpression"){if(G){var ae=this.startNodeAt(N,R);ae.expression=ie;ie=this.finishNode(ae,"ChainExpression")}return ie}E=ie}};Pt.parseSubscript=function(E,N,R,j,$,q,G){var ie=this.options.ecmaVersion>=11;var ae=ie&&this.eat(Ie.questionDot);if(j&&ae){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var ce=this.eat(Ie.bracketL);if(ce||ae&&this.type!==Ie.parenL&&this.type!==Ie.backQuote||this.eat(Ie.dot)){var le=this.startNodeAt(N,R);le.object=E;if(ce){le.property=this.parseExpression();this.expect(Ie.bracketR)}else if(this.type===Ie.privateId&&E.type!=="Super"){le.property=this.parsePrivateIdent()}else{le.property=this.parseIdent(this.options.allowReserved!=="never")}le.computed=!!ce;if(ie){le.optional=ae}E=this.finishNode(le,"MemberExpression")}else if(!j&&this.eat(Ie.parenL)){var _e=new DestructuringErrors,Te=this.yieldPos,Ee=this.awaitPos,we=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var Ne=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false,_e);if($&&!ae&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(_e,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=Te;this.awaitPos=Ee;this.awaitIdentPos=we;return this.parseArrowExpression(this.startNodeAt(N,R),Ne,true,G)}this.checkExpressionErrors(_e,true);this.yieldPos=Te||this.yieldPos;this.awaitPos=Ee||this.awaitPos;this.awaitIdentPos=we||this.awaitIdentPos;var Me=this.startNodeAt(N,R);Me.callee=E;Me.arguments=Ne;if(ie){Me.optional=ae}E=this.finishNode(Me,"CallExpression")}else if(this.type===Ie.backQuote){if(ae||q){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var Le=this.startNodeAt(N,R);Le.tag=E;Le.quasi=this.parseTemplate({isTagged:true});E=this.finishNode(Le,"TaggedTemplateExpression")}return E};Pt.parseExprAtom=function(E,N){if(this.type===Ie.slash){this.readRegexp()}var R,j=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}R=this.startNode();this.next();if(this.type===Ie.parenL&&!this.allowDirectSuper){this.raise(R.start,"super() call outside constructor of a subclass")}if(this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL){this.unexpected()}return this.finishNode(R,"Super");case Ie._this:R=this.startNode();this.next();return this.finishNode(R,"ThisExpression");case Ie.name:var $=this.start,q=this.startLoc,G=this.containsEsc;var ie=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!G&&ie.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ie._function)){this.overrideContext(At.f_expr);return this.parseFunction(this.startNodeAt($,q),0,false,true,N)}if(j&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow)){return this.parseArrowExpression(this.startNodeAt($,q),[ie],false,N)}if(this.options.ecmaVersion>=8&&ie.name==="async"&&this.type===Ie.name&&!G&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){ie=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ie.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt($,q),[ie],true,N)}}return ie;case Ie.regexp:var ae=this.value;R=this.parseLiteral(ae.value);R.regex={pattern:ae.pattern,flags:ae.flags};return R;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:R=this.startNode();R.value=this.type===Ie._null?null:this.type===Ie._true;R.raw=this.type.keyword;this.next();return this.finishNode(R,"Literal");case Ie.parenL:var ce=this.start,le=this.parseParenAndDistinguishExpression(j,N);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(le)){E.parenthesizedAssign=ce}if(E.parenthesizedBind<0){E.parenthesizedBind=ce}}return le;case Ie.bracketL:R=this.startNode();this.next();R.elements=this.parseExprList(Ie.bracketR,true,true,E);return this.finishNode(R,"ArrayExpression");case Ie.braceL:this.overrideContext(At.b_expr);return this.parseObj(false,E);case Ie._function:R=this.startNode();this.next();return this.parseFunction(R,0);case Ie._class:return this.parseClass(this.startNode(),false);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();case Ie._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Pt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var N=this.parseIdent(true);switch(this.type){case Ie.parenL:return this.parseDynamicImport(E);case Ie.dot:E.meta=N;return this.parseImportMeta(E);default:this.unexpected()}};Pt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ie.parenR)){var N=this.start;if(this.eat(Ie.comma)&&this.eat(Ie.parenR)){this.raiseRecoverable(N,"Trailing comma is not allowed in import()")}else{this.unexpected(N)}}return this.finishNode(E,"ImportExpression")};Pt.parseImportMeta=function(E){this.next();var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(N){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Pt.parseLiteral=function(E){var N=this.startNode();N.value=E;N.raw=this.input.slice(this.start,this.end);if(N.raw.charCodeAt(N.raw.length-1)===110){N.bigint=N.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(N,"Literal")};Pt.parseParenExpression=function(){this.expect(Ie.parenL);var E=this.parseExpression();this.expect(Ie.parenR);return E};Pt.parseParenAndDistinguishExpression=function(E,N){var R=this.start,j=this.startLoc,$,q=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var G=this.start,ie=this.startLoc;var ae=[],ce=true,le=false;var _e=new DestructuringErrors,Te=this.yieldPos,Ee=this.awaitPos,we;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ie.parenR){ce?ce=false:this.expect(Ie.comma);if(q&&this.afterTrailingComma(Ie.parenR,true)){le=true;break}else if(this.type===Ie.ellipsis){we=this.start;ae.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ae.push(this.parseMaybeAssign(false,_e,this.parseParenItem))}}var Ne=this.lastTokEnd,Me=this.lastTokEndLoc;this.expect(Ie.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(_e,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=Te;this.awaitPos=Ee;return this.parseParenArrowList(R,j,ae,N)}if(!ae.length||le){this.unexpected(this.lastTokStart)}if(we){this.unexpected(we)}this.checkExpressionErrors(_e,true);this.yieldPos=Te||this.yieldPos;this.awaitPos=Ee||this.awaitPos;if(ae.length>1){$=this.startNodeAt(G,ie);$.expressions=ae;this.finishNodeAt($,"SequenceExpression",Ne,Me)}else{$=ae[0]}}else{$=this.parseParenExpression()}if(this.options.preserveParens){var Le=this.startNodeAt(R,j);Le.expression=$;return this.finishNode(Le,"ParenthesizedExpression")}else{return $}};Pt.parseParenItem=function(E){return E};Pt.parseParenArrowList=function(E,N,R,j){return this.parseArrowExpression(this.startNodeAt(E,N),R,false,j)};var It=[];Pt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var N=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){E.meta=N;var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(R){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.allowNewDotTarget){this.raiseRecoverable(E.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(E,"MetaProperty")}var j=this.start,$=this.startLoc,q=this.type===Ie._import;E.callee=this.parseSubscripts(this.parseExprAtom(),j,$,true,false);if(q&&E.callee.type==="ImportExpression"){this.raise(j,"Cannot use new with import()")}if(this.eat(Ie.parenL)){E.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=It}return this.finishNode(E,"NewExpression")};Pt.parseTemplateElement=function(E){var N=E.isTagged;var R=this.startNode();if(this.type===Ie.invalidTemplate){if(!N){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}R.value={raw:this.value,cooked:null}}else{R.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();R.tail=this.type===Ie.backQuote;return this.finishNode(R,"TemplateElement")};Pt.parseTemplate=function(E){if(E===void 0)E={};var N=E.isTagged;if(N===void 0)N=false;var R=this.startNode();this.next();R.expressions=[];var j=this.parseTemplateElement({isTagged:N});R.quasis=[j];while(!j.tail){if(this.type===Ie.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ie.dollarBraceL);R.expressions.push(this.parseExpression());this.expect(Ie.braceR);R.quasis.push(j=this.parseTemplateElement({isTagged:N}))}this.next();return this.finishNode(R,"TemplateLiteral")};Pt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Pt.parseObj=function(E,N){var R=this.startNode(),j=true,$={};R.properties=[];this.next();while(!this.eat(Ie.braceR)){if(!j){this.expect(Ie.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ie.braceR)){break}}else{j=false}var q=this.parseProperty(E,N);if(!E){this.checkPropClash(q,$,N)}R.properties.push(q)}return this.finishNode(R,E?"ObjectPattern":"ObjectExpression")};Pt.parseProperty=function(E,N){var R=this.startNode(),j,$,q,G;if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis)){if(E){R.argument=this.parseIdent(false);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(R,"RestElement")}if(this.type===Ie.parenL&&N){if(N.parenthesizedAssign<0){N.parenthesizedAssign=this.start}if(N.parenthesizedBind<0){N.parenthesizedBind=this.start}}R.argument=this.parseMaybeAssign(false,N);if(this.type===Ie.comma&&N&&N.trailingComma<0){N.trailingComma=this.start}return this.finishNode(R,"SpreadElement")}if(this.options.ecmaVersion>=6){R.method=false;R.shorthand=false;if(E||N){q=this.start;G=this.startLoc}if(!E){j=this.eat(Ie.star)}}var ie=this.containsEsc;this.parsePropertyName(R);if(!E&&!ie&&this.options.ecmaVersion>=8&&!j&&this.isAsyncProp(R)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star);this.parsePropertyName(R,N)}else{$=false}this.parsePropertyValue(R,E,j,$,q,G,N,ie);return this.finishNode(R,"Property")};Pt.parsePropertyValue=function(E,N,R,j,$,q,G,ie){if((R||j)&&this.type===Ie.colon){this.unexpected()}if(this.eat(Ie.colon)){E.value=N?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL){if(N){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(R,j)}else if(!N&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ie.comma&&this.type!==Ie.braceR&&this.type!==Ie.eq)){if(R||j){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var ce=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ce,"getter should have no params")}else{this.raiseRecoverable(ce,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(R||j){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=$}E.kind="init";if(N){E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else if(this.type===Ie.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};Pt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ie.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Pt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Pt.parseMethod=function(E,N,R){var j=this.startNode(),$=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction(j);if(this.options.ecmaVersion>=6){j.generator=E}if(this.options.ecmaVersion>=8){j.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(N,j.generator)|rt|(R?nt:0));this.expect(Ie.parenL);j.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(j,false,true,false);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(j,"FunctionExpression")};Pt.parseArrowExpression=function(E,N,R,j){var $=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.enterScope(functionFlags(R,false)|et);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(N,true);this.parseFunctionBody(E,true,false,j);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,"ArrowFunctionExpression")};Pt.parseFunctionBody=function(E,N,R,j){var $=N&&this.type!==Ie.braceL;var q=this.strict,G=false;if($){E.body=this.parseMaybeAssign(j);E.expression=true;this.checkParams(E,false)}else{var ie=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!q||ie){G=this.strictDirective(this.end);if(G&&ie){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ae=this.labels;this.labels=[];if(G){this.strict=true}this.checkParams(E,!q&&!G&&!N&&!R&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,ft)}E.body=this.parseBlock(false,undefined,G&&!q);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ae}this.exitScope()};Pt.isSimpleParamList=function(E){for(var N=0,R=E;N-1||$.functions.indexOf(E)>-1||$.var.indexOf(E)>-1;$.lexical.push(E);if(this.inModule&&$.flags&Qe){delete this.undefinedExports[E]}}else if(N===pt){var q=this.currentScope();q.lexical.push(E)}else if(N===dt){var G=this.currentScope();if(this.treatFunctionsAsVar){j=G.lexical.indexOf(E)>-1}else{j=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&tt&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){j=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Qe){delete this.undefinedExports[E]}if(ae.flags&ot){break}}}if(j){this.raiseRecoverable(R,"Identifier '"+E+"' has already been declared")}};Ft.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Ft.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ft.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&ot){return N}}};Ft.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&ot&&!(N.flags&et)){return N}}};var Mt=function Node(E,N,R){this.type="";this.start=N;this.end=0;if(E.options.locations){this.loc=new He(E,R)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[N,0]}};var Rt=mt.prototype;Rt.startNode=function(){return new Mt(this,this.start,this.startLoc)};Rt.startNodeAt=function(E,N){return new Mt(this,E,N)};function finishNodeAt(E,N,R,j){E.type=N;E.end=R;if(this.options.locations){E.loc.end=j}if(this.options.ranges){E.range[1]=R}return E}Rt.finishNode=function(E,N){return finishNodeAt.call(this,E,N,this.lastTokEnd,this.lastTokEndLoc)};Rt.finishNodeAt=function(E,N,R,j){return finishNodeAt.call(this,E,N,R,j)};Rt.copyNode=function(E){var N=new Mt(this,E.start,this.startLoc);for(var R in E){N[R]=E[R]}return N};var Lt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Bt=Lt+" Extended_Pictographic";var jt=Bt;var Ut=jt+" EBase EComp EMod EPres ExtPict";var zt=Ut;var Wt={9:Lt,10:Bt,11:jt,12:Ut,13:zt};var Jt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var $t="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Vt=$t+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var qt=Vt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ht=qt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Gt=Ht+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Kt={9:$t,10:Vt,11:qt,12:Ht,13:Gt};var Qt={};function buildUnicodeData(E){var N=Qt[E]={binary:wordsRegexp(Wt[E]+" "+Jt),nonBinary:{General_Category:wordsRegexp(Jt),Script:wordsRegexp(Kt[E])}};N.nonBinary.Script_Extensions=N.nonBinary.Script;N.nonBinary.gc=N.nonBinary.General_Category;N.nonBinary.sc=N.nonBinary.Script;N.nonBinary.scx=N.nonBinary.Script_Extensions}for(var Xt=0,Yt=[9,10,11,12,13];Xt=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Qt[E.options.ecmaVersion>=13?13:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};tr.prototype.reset=function reset(E,N,R){var j=R.indexOf("u")!==-1;this.start=E|0;this.source=N+"";this.flags=R;this.switchU=j&&this.parser.options.ecmaVersion>=6;this.switchN=j&&this.parser.options.ecmaVersion>=9};tr.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};tr.prototype.at=function at(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return-1}var $=R.charCodeAt(E);if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j){return $}var q=R.charCodeAt(E+1);return q>=56320&&q<=57343?($<<10)+q-56613888:$};tr.prototype.nextIndex=function nextIndex(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return j}var $=R.charCodeAt(E),q;if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j||(q=R.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};tr.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};tr.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};tr.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};tr.prototype.eat=function eat(E,N){if(N===void 0)N=false;if(this.current(N)===E){this.advance(N);return true}return false};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}er.validateRegExpFlags=function(E){var N=E.validFlags;var R=E.flags;for(var j=0;j-1){this.raise(E.start,"Duplicate regular expression flag")}}};er.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};er.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var N=0,R=E.backReferenceNames;N=9){R=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!R;return true}}E.pos=N;return false};er.regexp_eatQuantifier=function(E,N){if(N===void 0)N=false;if(this.regexp_eatQuantifierPrefix(E,N)){E.eat(63);return true}return false};er.regexp_eatQuantifierPrefix=function(E,N){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,N)};er.regexp_eatBracedQuantifier=function(E,N){var R=E.pos;if(E.eat(123)){var j=0,$=-1;if(this.regexp_eatDecimalDigits(E)){j=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){$=E.lastIntValue}if(E.eat(125)){if($!==-1&&$=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};er.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};er.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};er.regexp_eatSyntaxCharacter=function(E){var N=E.current();if(isSyntaxCharacter(N)){E.lastIntValue=N;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}er.regexp_eatPatternCharacters=function(E){var N=E.pos;var R=0;while((R=E.current())!==-1&&!isSyntaxCharacter(R)){E.advance()}return E.pos!==N};er.regexp_eatExtendedPatternCharacter=function(E){var N=E.current();if(N!==-1&&N!==36&&!(N>=40&&N<=43)&&N!==46&&N!==63&&N!==91&&N!==94&&N!==124){E.advance();return true}return false};er.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};er.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};er.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString$1(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString$1(E.lastIntValue)}return true}return false};er.regexp_eatRegExpIdentifierStart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierStart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}er.regexp_eatRegExpIdentifierPart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierPart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}er.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};er.regexp_eatBackReference=function(E){var N=E.pos;if(this.regexp_eatDecimalEscape(E)){var R=E.lastIntValue;if(E.switchU){if(R>E.maxBackReference){E.maxBackReference=R}return true}if(R<=E.numCapturingParens){return true}E.pos=N}return false};er.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};er.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};er.regexp_eatCControlLetter=function(E){var N=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=N}return false};er.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};er.regexp_eatControlEscape=function(E){var N=E.current();if(N===116){E.lastIntValue=9;E.advance();return true}if(N===110){E.lastIntValue=10;E.advance();return true}if(N===118){E.lastIntValue=11;E.advance();return true}if(N===102){E.lastIntValue=12;E.advance();return true}if(N===114){E.lastIntValue=13;E.advance();return true}return false};er.regexp_eatControlLetter=function(E){var N=E.current();if(isControlLetter(N)){E.lastIntValue=N%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}er.regexp_eatRegExpUnicodeEscapeSequence=function(E,N){if(N===void 0)N=false;var R=E.pos;var j=N||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var $=E.lastIntValue;if(j&&$>=55296&&$<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=($-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=$}return true}if(j&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(j){E.raise("Invalid unicode escape")}E.pos=R}return false};function isValidUnicode(E){return E>=0&&E<=1114111}er.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var N=E.current();if(N!==99&&(!E.switchN||N!==107)){E.lastIntValue=N;E.advance();return true}return false};er.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var N=E.current();if(N>=49&&N<=57){do{E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}while((N=E.current())>=48&&N<=57);return true}return false};er.regexp_eatCharacterClassEscape=function(E){var N=E.current();if(isCharacterClassEscape(N)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(N===80||N===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}er.regexp_eatUnicodePropertyValueExpression=function(E){var N=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var R=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,R,j);return true}}E.pos=N;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,$);return true}return false};er.regexp_validateUnicodePropertyNameAndValue=function(E,N,R){if(!We(E.unicodeProperties.nonBinary,N)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[N].test(R)){E.raise("Invalid property value")}};er.regexp_validateUnicodePropertyNameOrValue=function(E,N){if(!E.unicodeProperties.binary.test(N)){E.raise("Invalid property name")}};er.regexp_eatUnicodePropertyName=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(N=E.current())){E.lastStringValue+=codePointToString$1(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}er.regexp_eatUnicodePropertyValue=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(N=E.current())){E.lastStringValue+=codePointToString$1(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}er.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};er.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};er.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.switchU&&(N===-1||R===-1)){E.raise("Invalid character class")}if(N!==-1&&R!==-1&&N>R){E.raise("Range out of order in character class")}}}};er.regexp_eatClassAtom=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var R=E.current();if(R===99||isOctalDigit(R)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=N}var j=E.current();if(j!==93){E.lastIntValue=j;E.advance();return true}return false};er.regexp_eatClassEscape=function(E){var N=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=N}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};er.regexp_eatClassControlLetter=function(E){var N=E.current();if(isDecimalDigit(N)||N===95){E.lastIntValue=N%32;E.advance();return true}return false};er.regexp_eatHexEscapeSequence=function(E){var N=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=N}return false};er.regexp_eatDecimalDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isDecimalDigit(R=E.current())){E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}return E.pos!==N};function isDecimalDigit(E){return E>=48&&E<=57}er.regexp_eatHexDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isHexDigit(R=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(R);E.advance()}return E.pos!==N};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}er.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(N<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=N*64+R*8+E.lastIntValue}else{E.lastIntValue=N*8+R}}else{E.lastIntValue=N}return true}return false};er.regexp_eatOctalDigit=function(E){var N=E.current();if(isOctalDigit(N)){E.lastIntValue=N-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}er.regexp_eatFixedHexDigits=function(E,N){var R=E.pos;E.lastIntValue=0;for(var j=0;j=this.input.length){return this.finishToken(Ie.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};nr.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};nr.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var N=this.input.charCodeAt(this.pos+1);return N<=56319||N>=57344?E:(E<<10)+N-56613888};nr.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var N=this.pos,R=this.input.indexOf("*/",this.pos+=2);if(R===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=R+2;if(this.options.locations){for(var j=void 0,$=N;(j=nextLineBreak(this.input,$,this.pos))>-1;){++this.curLine;$=this.lineStart=j}}if(this.options.onComment){this.options.onComment(true,this.input.slice(N+2,R),N,this.pos,E,this.curPosition())}};nr.skipLineComment=function(E){var N=this.pos;var R=this.options.onComment&&this.curPosition();var j=this.input.charCodeAt(this.pos+=E);while(this.pos8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};nr.finishToken=function(E,N){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var R=this.type;this.type=E;this.value=N;this.updateContext(R)};nr.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var N=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&N===46){this.pos+=3;return this.finishToken(Ie.ellipsis)}else{++this.pos;return this.finishToken(Ie.dot)}};nr.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.slash,1)};nr.readToken_mult_modulo_exp=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;var j=E===42?Ie.star:Ie.modulo;if(this.options.ecmaVersion>=7&&E===42&&N===42){++R;j=Ie.starstar;N=this.input.charCodeAt(this.pos+2)}if(N===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(j,R)};nr.readToken_pipe_amp=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(this.options.ecmaVersion>=12){var R=this.input.charCodeAt(this.pos+2);if(R===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(E===124?Ie.logicalOR:Ie.logicalAND,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(E===124?Ie.bitwiseOR:Ie.bitwiseAND,1)};nr.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.bitwiseXOR,1)};nr.readToken_plus_min=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(N===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ie.incDec,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.plusMin,1)};nr.readToken_lt_gt=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;if(N===E){R=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+R)===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(Ie.bitShift,R)}if(N===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(N===61){R=2}return this.finishOp(Ie.relational,R)};nr.readToken_eq_excl=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===61){return this.finishOp(Ie.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&N===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ie.arrow)}return this.finishOp(E===61?Ie.eq:Ie.prefix,1)};nr.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var N=this.input.charCodeAt(this.pos+1);if(N===46){var R=this.input.charCodeAt(this.pos+2);if(R<48||R>57){return this.finishOp(Ie.questionDot,2)}}if(N===63){if(E>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(Ie.coalesce,2)}}return this.finishOp(Ie.question,1)};nr.readToken_numberSign=function(){var E=this.options.ecmaVersion;var N=35;if(E>=13){++this.pos;N=this.fullCharCodeAtPos();if(isIdentifierStart(N,true)||N===92){return this.finishToken(Ie.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(N)+"'")};nr.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ie.parenL);case 41:++this.pos;return this.finishToken(Ie.parenR);case 59:++this.pos;return this.finishToken(Ie.semi);case 44:++this.pos;return this.finishToken(Ie.comma);case 91:++this.pos;return this.finishToken(Ie.bracketL);case 93:++this.pos;return this.finishToken(Ie.bracketR);case 123:++this.pos;return this.finishToken(Ie.braceL);case 125:++this.pos;return this.finishToken(Ie.braceR);case 58:++this.pos;return this.finishToken(Ie.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ie.backQuote);case 48:var N=this.input.charCodeAt(this.pos+1);if(N===120||N===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(N===111||N===79){return this.readRadixNumber(8)}if(N===98||N===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Ie.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(E)+"'")};nr.finishOp=function(E,N){var R=this.input.slice(this.pos,this.pos+N);this.pos+=N;return this.finishToken(E,R)};nr.readRegexp=function(){var E,N,R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(R,"Unterminated regular expression")}var j=this.input.charAt(this.pos);if(Ne.test(j)){this.raise(R,"Unterminated regular expression")}if(!E){if(j==="["){N=true}else if(j==="]"&&N){N=false}else if(j==="/"&&!N){break}E=j==="\\"}else{E=false}++this.pos}var $=this.input.slice(R,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new tr(this));ie.reset(R,$,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp($,G)}catch(E){}return this.finishToken(Ie.regexp,{pattern:$,flags:G,value:ae})};nr.readInt=function(E,N,R){var j=this.options.ecmaVersion>=12&&N===undefined;var $=R&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,ce=N==null?Infinity:N;ae=97){_e=le-97+10}else if(le>=65){_e=le-65+10}else if(le>=48&&le<=57){_e=le-48}else{_e=Infinity}if(_e>=E){break}ie=le;G=G*E+_e}if(j&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||N!=null&&this.pos-q!==N){return null}return G};function stringToNumber(E,N){if(N){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}nr.readRadixNumber=function(E){var N=this.pos;this.pos+=2;var R=this.readInt(E);if(R==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){R=stringToBigInt(this.input.slice(N,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,R)};nr.readNumber=function(E){var N=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(N,"Invalid number")}var R=this.pos-N>=2&&this.input.charCodeAt(N)===48;if(R&&this.strict){this.raise(N,"Invalid number")}var j=this.input.charCodeAt(this.pos);if(!R&&!E&&this.options.ecmaVersion>=11&&j===110){var $=stringToBigInt(this.input.slice(N,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,$)}if(R&&/[89]/.test(this.input.slice(N,this.pos))){R=false}if(j===46&&!R){++this.pos;this.readInt(10);j=this.input.charCodeAt(this.pos)}if((j===69||j===101)&&!R){j=this.input.charCodeAt(++this.pos);if(j===43||j===45){++this.pos}if(this.readInt(10)===null){this.raise(N,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(N,this.pos),R);return this.finishToken(Ie.num,q)};nr.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),N;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var R=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(N>1114111){this.invalidStringToken(R,"Code point out of bounds")}}else{N=this.readHexChar(4)}return N};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}nr.readString=function(E){var N="",R=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var j=this.input.charCodeAt(this.pos);if(j===E){break}if(j===92){N+=this.input.slice(R,this.pos);N+=this.readEscapedChar(false);R=this.pos}else if(j===8232||j===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine(j)){this.raise(this.start,"Unterminated string constant")}++this.pos}}N+=this.input.slice(R,this.pos++);return this.finishToken(Ie.string,N)};var ir={};nr.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===ir){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};nr.invalidStringToken=function(E,N){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw ir}else{this.raise(E,N)}};nr.readTmplToken=function(){var E="",N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var R=this.input.charCodeAt(this.pos);if(R===96||R===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ie.template||this.type===Ie.invalidTemplate)){if(R===36){this.pos+=2;return this.finishToken(Ie.dollarBraceL)}else{++this.pos;return this.finishToken(Ie.backQuote)}}E+=this.input.slice(N,this.pos);return this.finishToken(Ie.template,E)}if(R===92){E+=this.input.slice(N,this.pos);E+=this.readEscapedChar(true);N=this.pos}else if(isNewLine(R)){E+=this.input.slice(N,this.pos);++this.pos;switch(R){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(R);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}N=this.pos}else{++this.pos}}};nr.readInvalidTemplateToken=function(){for(;this.pos=48&&N<=55){var j=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var $=parseInt(j,8);if($>255){j=j.slice(0,-1);$=parseInt(j,8)}this.pos+=j.length-1;N=this.input.charCodeAt(this.pos);if((j!=="0"||N===56||N===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-j.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode($)}if(isNewLine(N)){return""}return String.fromCharCode(N)}};nr.readHexChar=function(E){var N=this.pos;var R=this.readInt(16,E);if(R===null){this.invalidStringToken(N,"Bad character escape sequence")}return R};nr.readWord1=function(){this.containsEsc=false;var E="",N=true,R=this.pos;var j=this.options.ecmaVersion>=6;while(this.pos{"use strict";var j=R(62310);E.exports=defineKeywords;function defineKeywords(E,N){if(Array.isArray(N)){for(var R=0;R{"use strict";var j=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var $=/t|\s/i;var q={date:compareDate,time:compareTime,"date-time":compareDateTime};var G={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var N="format"+E;return function defFunc(j){defFunc.definition={type:"string",inline:R(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},G]}};j.addKeyword(N,defFunc.definition);j.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},G]}});extendFormats(j);return j}};function extendFormats(E){var N=E._formats;for(var R in q){var j=N[R];if(typeof j!="object"||j instanceof RegExp||!j.validate)j=N[R]={validate:j};if(!j.compare)j.compare=q[R]}}function compareDate(E,N){if(!(E&&N))return;if(E>N)return 1;if(EN)return 1;if(E{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var N="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var R=E._opts.defaultMeta;if(typeof R=="string")return{$ref:R};if(E.getSchema(N))return{$ref:N};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,N){if(!E)return true;var R=Object.keys(N.properties);if(R.length==0)return true;return{required:R}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{anyOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var N=[];for(var R in E)N.push(getSchema(R,E[R]));return{allOf:N}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:j.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,N){var R=E.split("/");var j={};var $=j;for(var q=1;q{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,N,R){var j="";for(var $=0;${"use strict";E.exports=function generate__formatLimit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Te="valid"+$;j+="var "+Te+" = undefined;";if(E.opts.format===false){j+=" "+Te+" = true; ";return j}var Ee=E.schema.format,we=E.opts.$data&&Ee.$data,Ie="";if(we){var Ne=E.util.getData(Ee.$data,q,E.dataPathArr),Me="format"+$,Le="compare"+$;j+=" var "+Me+" = formats["+Ne+"] , "+Le+" = "+Me+" && "+Me+".compare;"}else{var Me=E.formats[Ee];if(!(Me&&Me.compare)){j+=" "+Te+" = true; ";return j}var Le="formats"+E.util.getProperty(Ee)+".compare"}var Be=N=="formatMaximum",je="formatExclusive"+(Be?"Maximum":"Minimum"),Ue=E.schema[je],ze=E.opts.$data&&Ue&&Ue.$data,We=Be?"<":">",Je="result"+$;var Ve=E.opts.$data&&G&&G.$data,qe;if(Ve){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";qe="schema"+$}else{qe=G}if(ze){var He=E.util.getData(Ue.$data,q,E.dataPathArr),Ge="exclusive"+$,Ke="op"+$,Qe="' + "+Ke+" + '";j+=" var schemaExcl"+$+" = "+He+"; ";He="schemaExcl"+$;j+=" if (typeof "+He+" != 'boolean' && "+He+" !== undefined) { "+Te+" = false; ";var le=je;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+je+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){Ie+="}";j+=" else { "}if(Ve){j+=" if ("+qe+" === undefined) "+Te+" = true; else if (typeof "+qe+" != 'string') "+Te+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Te+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Te+" = false; var "+Ge+" = "+He+" === true; if ("+Te+" === undefined) { "+Te+" = "+Ge+" ? "+Je+" "+We+" 0 : "+Je+" "+We+"= 0; } if (!"+Te+") var op"+$+" = "+Ge+" ? '"+We+"' : '"+We+"=';"}else{var Ge=Ue===true,Qe=We;if(!Ge)Qe+="=";var Ke="'"+Qe+"'";if(Ve){j+=" if ("+qe+" === undefined) "+Te+" = true; else if (typeof "+qe+" != 'string') "+Te+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Te+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Te+" = false; if ("+Te+" === undefined) "+Te+" = "+Je+" "+We;if(!Ge){j+="="}j+=" 0;"}j+=""+Ie+"if (!"+Te+") { ";var le=N;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Ke+", limit: ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" , exclusive: "+Ge+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Qe+' "';if(Ve){j+="' + "+qe+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(Ve){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="}";return j}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te="key"+$,Ee="idx"+$,we="patternMatched"+$,Ie="dataProperties"+$,Ne="",Me=E.opts.ownProperties;j+="var "+_e+" = true;";if(Me){j+=" var "+Ie+" = undefined;"}var Le=G;if(Le){var Be,je=-1,Ue=Le.length-1;while(je{"use strict";E.exports=function generate_switch(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te="errs__"+$;var Ee=E.util.copy(E);var we="";Ee.level++;var Ie="valid"+Ee.level;var Ne="ifPassed"+E.level,Me=Ee.baseId,Le;j+="var "+Ne+";";var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue0:E.util.schemaHasRules(je.if,E.RULES.all))){j+=" var "+Te+" = errors; ";var We=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.createErrors=false;Ee.schema=je.if;Ee.schemaPath=ie+"["+Ue+"].if";Ee.errSchemaPath=ae+"/"+Ue+"/if";j+=" "+E.validate(Ee)+" ";Ee.baseId=Me;Ee.createErrors=true;E.compositeRule=Ee.compositeRule=We;j+=" "+Ne+" = "+Ie+"; if ("+Ne+") { ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Ee.schema=je.then;Ee.schemaPath=ie+"["+Ue+"].then";Ee.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Ee)+" ";Ee.baseId=Me}j+=" } else { errors = "+Te+"; if (vErrors !== null) { if ("+Te+") vErrors.length = "+Te+"; else vErrors = null; } } "}else{j+=" "+Ne+" = true; ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Ee.schema=je.then;Ee.schemaPath=ie+"["+Ue+"].then";Ee.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Ee)+" ";Ee.baseId=Me}}Le=je.continue}}j+=""+we+"var "+_e+" = "+Ie+";";return j}},41835:E=>{"use strict";var N={};var R={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var N=E&&E.max||2;return function(){return Math.floor(Math.random()*N)}},seq:function(E){var R=E&&E.name||"";N[R]=N[R]||0;return function(){return N[R]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,N,R){var j={};for(var $ in E){var q=E[$];var G=getDefault(typeof q=="string"?q:q.func);j[$]=G.length?G(q.args):G}return R.opts.useDefaults&&!R.compositeRule?assignDefaults:noop;function assignDefaults(N){for(var $ in E){if(N[$]===undefined||R.opts.useDefaults=="empty"&&(N[$]===null||N[$]===""))N[$]=j[$]()}return true}function noop(){return true}},DEFAULTS:R,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var N=R[E];if(N)return N;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,N,R)=>{"use strict";E.exports=R(87113)("Maximum")},50581:(E,N,R)=>{"use strict";E.exports=R(87113)("Minimum")},62310:(E,N,R)=>{"use strict";E.exports={instanceof:R(94236),range:R(5332),regexp:R(85829),typeof:R(77189),dynamicDefaults:R(41835),allRequired:R(96216),anyRequired:R(1611),oneRequired:R(82233),prohibited:R(47431),uniqueItemProperties:R(69536),deepProperties:R(49494),deepRequired:R(23023),formatMinimum:R(50581),formatMaximum:R(69513),patternRequired:R(89042),switch:R(65305),select:R(9821),transform:R(62111)}},94236:E=>{"use strict";var N={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")N.Buffer=Buffer;if(typeof Promise!="undefined")N.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var N=getConstructor(E);return function(E){return E instanceof N}}var R=E.map(getConstructor);return function(E){for(var N=0;N{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{oneOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,N,R)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:R(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var N=E.map((function(E){return{required:[E]}}));return{not:{anyOf:N}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,N){var R=E[0],j=E[1],$=N.exclusiveRange;validateRangeSchema(R,j,$);return $===true?{exclusiveMinimum:R,exclusiveMaximum:j}:{minimum:R,maximum:j}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,N,R){if(R!==undefined&&typeof R!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>N||R&&E==N)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,N,R){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof R=="object")return new RegExp(R.pattern,R.flags);var E=R.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",R,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var N=j.metaSchemaRef(E);var R=[];defFunc.definition={validate:function v(E,N,R){if(R.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var j=getCompiledSchemas(R,false);var $=j.cases[E];if($===undefined)$=j.default;if(typeof $=="boolean")return $;var q=$(N);if(!q)v.errors=$.errors;return q},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,N){var R=getCompiledSchemas(N);for(var j in E)R.cases[j]=compileOrBoolean(E[j]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:N}});E.addKeyword("selectDefault",{compile:function(E,N){var R=getCompiledSchemas(N);R.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:N});return E;function getCompiledSchemas(E,N){var j;R.some((function(N){if(N.parentSchema===E){j=N;return true}}));if(!j&&N!==false){j={parentSchema:E,cases:{},default:true};R.push(j)}return j}function compileOrBoolean(N){return typeof N=="boolean"?N:E.compile(N)}}},65305:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var N=j.metaSchemaRef(E);defFunc.definition={inline:R(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:N,then:{anyOf:[{type:"boolean"},N]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var N={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,N){return N.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,R){var j;if(E.indexOf("toEnumCase")!==-1){j={hash:{}};if(!R.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var $=R.enum.length;$--;$){var q=R.enum[$];if(typeof q!=="string")continue;var G=makeHashTableKey(q);if(j.hash[G])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');j.hash[G]=q}}return function(R,$,q,G){if(!q)return;for(var ie=0,ae=E.length;ie{"use strict";var N=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,N,R){var j="data"+(E.dataLevel||"");if(typeof R=="string")return"typeof "+j+' == "'+R+'"';R="validate.schema"+E.schemaPath+"."+N;return R+".indexOf(typeof "+j+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:N},{type:"array",items:{type:"string",enum:N}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var N=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,N,R){var j=R.util.equal;var $=getScalarKeys(E,N);return function(N){if(N.length>1){for(var R=0;R=0}))}},33866:(E,N,R)=>{"use strict";var j=R(69579),$=R(82253),q=R(32183),G=R(38868),ie=R(75986),ae=R(10698),ce=R(75041),le=R(30398),_e=R(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=R(18840);var Te=R(3811);Ajv.prototype.addKeyword=Te.add;Ajv.prototype.getKeyword=Te.get;Ajv.prototype.removeKeyword=Te.remove;Ajv.prototype.validateKeyword=Te.validate;var Ee=R(29411);Ajv.ValidationError=Ee.Validation;Ajv.MissingRefError=Ee.MissingRef;Ajv.$dataMetaSchema=le;var we="http://json-schema.org/draft-07/schema";var Ie=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Ne=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=_e.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=ae(E.format);this._cache=E.cache||new q;this._loadingSchemas={};this._compilations=[];this.RULES=ce();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ie;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,N){var R;if(typeof E=="string"){R=this.getSchema(E);if(!R)throw new Error('no schema with key or ref "'+E+'"')}else{var j=this._addSchema(E);R=j.validate||this._compile(j)}var $=R(N);if(R.$async!==true)this.errors=R.errors;return $}function compile(E,N){var R=this._addSchema(E,undefined,N);return R.validate||this._compile(R)}function addSchema(E,N,R,j){if(Array.isArray(E)){for(var q=0;q{"use strict";var N=E.exports=function Cache(){this._cache={}};N.prototype.put=function Cache_put(E,N){this._cache[E]=N};N.prototype.get=function Cache_get(E){return this._cache[E]};N.prototype.del=function Cache_del(E){delete this._cache[E]};N.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,N,R)=>{"use strict";var j=R(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,N,R){var $=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof N=="function"){R=N;N=undefined}var q=loadMetaSchemaOf(E).then((function(){var R=$._addSchema(E,undefined,N);return R.validate||_compileAsync(R)}));if(R){q.then((function(E){R(null,E)}),R)}return q;function loadMetaSchemaOf(E){var N=E.$schema;return N&&!$.getSchema(N)?compileAsync.call($,{$ref:N},true):Promise.resolve()}function _compileAsync(E){try{return $._compile(E)}catch(E){if(E instanceof j)return loadMissingSchema(E);throw E}function loadMissingSchema(R){var j=R.missingSchema;if(added(j))throw new Error("Schema "+j+" is loaded but "+R.missingRef+" cannot be resolved");var q=$._loadingSchemas[j];if(!q){q=$._loadingSchemas[j]=$._opts.loadSchema(j);q.then(removePromise,removePromise)}return q.then((function(E){if(!added(j)){return loadMetaSchemaOf(E).then((function(){if(!added(j))$.addSchema(E,j,undefined,N)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete $._loadingSchemas[j]}function added(E){return $._refs[E]||$._schemas[E]}}}}},29411:(E,N,R)=>{"use strict";var j=R(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,N){return"can't resolve reference "+N+" from id "+E};function MissingRefError(E,N,R){this.message=R||MissingRefError.message(E,N);this.missingRef=j.url(E,N);this.missingSchema=j.normalizeId(j.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,N,R)=>{"use strict";var j=R(778);var $=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var q=[0,31,28,31,30,31,30,31,31,30,31,30,31];var G=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ce=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var le=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var _e=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var Te=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Ee=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var we=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Ie=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return j.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":le,url:_e,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Te,"json-pointer":Ee,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":ce,"uri-template":le,url:_e,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Te,"json-pointer":Ee,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var N=E.match($);if(!N)return false;var R=+N[1];var j=+N[2];var G=+N[3];return j>=1&&j<=12&&G>=1&&G<=(j==2&&isLeapYear(R)?29:q[j])}function time(E,N){var R=E.match(G);if(!R)return false;var j=R[1];var $=R[2];var q=R[3];var ie=R[5];return(j<=23&&$<=59&&q<=59||j==23&&$==59&&q==60)&&(!N||ie)}var Ne=/t|\s/i;function date_time(E){var N=E.split(Ne);return N.length==2&&date(N[0])&&time(N[1],true)}var Me=/\/|:/;function uri(E){return Me.test(E)&&ae.test(E)}var Le=/[^\\]\\Z/;function regex(E){if(Le.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,N,R)=>{"use strict";var j=R(82253),$=R(778),q=R(29411),G=R(75986);var ie=R(85061);var ae=$.ucs2length;var ce=R(55245);var le=q.Validation;E.exports=compile;function compile(E,N,R,_e){var Te=this,Ee=this._opts,we=[undefined],Ie={},Ne=[],Me={},Le=[],Be={},je=[];N=N||{schema:E,refVal:we,refs:Ie};var Ue=checkCompiling.call(this,E,N,_e);var ze=this._compilations[Ue.index];if(Ue.compiling)return ze.callValidate=callValidate;var We=this._formats;var Je=this.RULES;try{var Ve=localCompile(E,N,R,_e);ze.validate=Ve;var qe=ze.callValidate;if(qe){qe.schema=Ve.schema;qe.errors=null;qe.refs=Ve.refs;qe.refVal=Ve.refVal;qe.root=Ve.root;qe.$async=Ve.$async;if(Ee.sourceCode)qe.source=Ve.source}return Ve}finally{endCompiling.call(this,E,N,_e)}function callValidate(){var E=ze.validate;var N=E.apply(this,arguments);callValidate.errors=E.errors;return N}function localCompile(E,R,G,_e){var Me=!R||R&&R.schema==E;if(R.schema!=N.schema)return compile.call(Te,E,R,G,_e);var Be=E.$async===true;var Ue=ie({isTop:true,schema:E,isRoot:Me,baseId:_e,root:R,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:Je,validate:ie,util:$,resolve:j,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Ee,formats:We,logger:Te.logger,self:Te});Ue=vars(we,refValCode)+vars(Ne,patternCode)+vars(Le,defaultCode)+vars(je,customRuleCode)+Ue;if(Ee.processCode)Ue=Ee.processCode(Ue,E);var ze;try{var Ve=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Ue);ze=Ve(Te,Je,We,N,we,Le,je,ce,ae,le);we[0]=ze}catch(E){Te.logger.error("Error compiling schema, function code:",Ue);throw E}ze.schema=E;ze.errors=null;ze.refs=Ie;ze.refVal=we;ze.root=Me?ze:R;if(Be)ze.$async=true;if(Ee.sourceCode===true){ze.source={code:Ue,patterns:Ne,defaults:Le}}return ze}function resolveRef(E,$,q){$=j.url(E,$);var G=Ie[$];var ie,ae;if(G!==undefined){ie=we[G];ae="refVal["+G+"]";return resolvedRef(ie,ae)}if(!q&&N.refs){var ce=N.refs[$];if(ce!==undefined){ie=N.refVal[ce];ae=addLocalRef($,ie);return resolvedRef(ie,ae)}}ae=addLocalRef($);var le=j.call(Te,localCompile,N,$);if(le===undefined){var _e=R&&R[$];if(_e){le=j.inlineRef(_e,Ee.inlineRefs)?_e:compile.call(Te,_e,N,R,E)}}if(le===undefined){removeLocalRef($)}else{replaceLocalRef($,le);return resolvedRef(le,ae)}}function addLocalRef(E,N){var R=we.length;we[R]=N;Ie[E]=R;return"refVal"+R}function removeLocalRef(E){delete Ie[E]}function replaceLocalRef(E,N){var R=Ie[E];we[R]=N}function resolvedRef(E,N){return typeof E=="object"||typeof E=="boolean"?{code:N,schema:E,inline:true}:{code:N,$async:E&&!!E.$async}}function usePattern(E){var N=Me[E];if(N===undefined){N=Me[E]=Ne.length;Ne[N]=E}return"pattern"+N}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return $.toQuotedString(E);case"object":if(E===null)return"null";var N=G(E);var R=Be[N];if(R===undefined){R=Be[N]=Le.length;Le[R]=E}return"default"+R}}function useCustomRule(E,N,R,j){if(Te._opts.validateSchema!==false){var $=E.definition.dependencies;if($&&!$.every((function(E){return Object.prototype.hasOwnProperty.call(R,E)})))throw new Error("parent schema must have all required keywords: "+$.join(","));var q=E.definition.validateSchema;if(q){var G=q(N);if(!G){var ie="keyword schema is invalid: "+Te.errorsText(q.errors);if(Te._opts.validateSchema=="log")Te.logger.error(ie);else throw new Error(ie)}}}var ae=E.definition.compile,ce=E.definition.inline,le=E.definition.macro;var _e;if(ae){_e=ae.call(Te,N,R,j)}else if(le){_e=le.call(Te,N,R,j);if(Ee.validateSchema!==false)Te.validateSchema(_e,true)}else if(ce){_e=ce.call(Te,j,E.keyword,N,R)}else{_e=E.definition.validate;if(!_e)return}if(_e===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var we=je.length;je[we]=_e;return{code:"customRule"+we,validate:_e}}}function checkCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)return{index:j,compiling:true};j=this._compilations.length;this._compilations[j]={schema:E,root:N,baseId:R};return{index:j,compiling:false}}function endCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)this._compilations.splice(j,1)}function compIndex(E,N,R){for(var j=0;j{"use strict";var j=R(30823),$=R(55245),q=R(778),G=R(38868),ie=R(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,N,R){var j=this._refs[R];if(typeof j=="string"){if(this._refs[j])j=this._refs[j];else return resolve.call(this,E,N,j)}j=j||this._schemas[R];if(j instanceof G){return inlineRef(j.schema,this._opts.inlineRefs)?j.schema:j.validate||this._compile(j)}var $=resolveSchema.call(this,N,R);var q,ie,ae;if($){q=$.schema;N=$.root;ae=$.baseId}if(q instanceof G){ie=q.validate||E.call(this,q.schema,N,undefined,ae)}else if(q!==undefined){ie=inlineRef(q,this._opts.inlineRefs)?q:E.call(this,q,N,undefined,ae)}return ie}function resolveSchema(E,N){var R=j.parse(N),$=_getFullPath(R),q=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||$!==q){var ie=normalizeId($);var ae=this._refs[ie];if(typeof ae=="string"){return resolveRecursive.call(this,E,ae,R)}else if(ae instanceof G){if(!ae.validate)this._compile(ae);E=ae}else{ae=this._schemas[ie];if(ae instanceof G){if(!ae.validate)this._compile(ae);if(ie==normalizeId(N))return{schema:ae,root:E,baseId:q};E=ae}else{return}}if(!E.schema)return;q=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,R,q,E.schema,E)}function resolveRecursive(E,N,R){var j=resolveSchema.call(this,E,N);if(j){var $=j.schema;var q=j.baseId;E=j.root;var G=this._getId($);if(G)q=resolveUrl(q,G);return getJsonPointer.call(this,R,q,$,E)}}var ae=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,N,R,j){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var $=E.fragment.split("/");for(var G=1;G<$.length;G++){var ie=$[G];if(ie){ie=q.unescapeFragment(ie);R=R[ie];if(R===undefined)break;var ce;if(!ae[ie]){ce=this._getId(R);if(ce)N=resolveUrl(N,ce);if(R.$ref){var le=resolveUrl(N,R.$ref);var _e=resolveSchema.call(this,j,le);if(_e){R=_e.schema;j=_e.root;N=_e.baseId}}}}}if(R!==undefined&&R!==j.schema)return{schema:R,root:j,baseId:N}}var ce=q.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(E,N){if(N===false)return false;if(N===undefined||N===true)return checkNoRef(E);else if(N)return countKeys(E)<=N}function checkNoRef(E){var N;if(Array.isArray(E)){for(var R=0;R{"use strict";var j=R(71001),$=R(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var N=["type","$comment"];var R=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var q=["number","integer","string","array","object","boolean","null"];E.all=$(N);E.types=$(q);E.forEach((function(R){R.rules=R.rules.map((function(R){var $;if(typeof R=="object"){var q=Object.keys(R)[0];$=R[q];R=q;$.forEach((function(R){N.push(R);E.all[R]=true}))}N.push(R);var G=E.all[R]={keyword:R,code:j[R],implements:$};return G}));E.all.$comment={keyword:"$comment",code:j.$comment};if(R.type)E.types[R.type]=R}));E.keywords=$(N.concat(R));E.custom={};return E}},38868:(E,N,R)=>{"use strict";var j=R(778);E.exports=SchemaObject;function SchemaObject(E){j.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var N=0,R=E.length,j=0,$;while(j=55296&&$<=56319&&j{"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:R(55245),ucs2length:R(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,N){N=N||{};for(var R in E)N[R]=E[R];return N}function checkDataType(E,N,R,j){var $=j?" !== ":" === ",q=j?" || ":" && ",G=j?"!":"",ie=j?"":"!";switch(E){case"null":return N+$+"null";case"array":return G+"Array.isArray("+N+")";case"object":return"("+G+N+q+"typeof "+N+$+'"object"'+q+ie+"Array.isArray("+N+"))";case"integer":return"(typeof "+N+$+'"number"'+q+ie+"("+N+" % 1)"+q+N+$+N+(R?q+G+"isFinite("+N+")":"")+")";case"number":return"(typeof "+N+$+'"'+E+'"'+(R?q+G+"isFinite("+N+")":"")+")";default:return"typeof "+N+$+'"'+E+'"'}}function checkDataTypes(E,N,R){switch(E.length){case 1:return checkDataType(E[0],N,R,true);default:var j="";var $=toHash(E);if($.array&&$.object){j=$.null?"(":"(!"+N+" || ";j+="typeof "+N+' !== "object")';delete $.null;delete $.array;delete $.object}if($.number)delete $.integer;for(var q in $)j+=(j?" && ":"")+checkDataType(q,N,R,true);return j}}var j=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,N){if(Array.isArray(N)){var R=[];for(var $=0;$=N)throw new Error("Cannot access property/index "+j+" levels up, current level is "+N);return R[N-j]}if(j>N)throw new Error("Cannot access data "+j+" levels up, current level is "+N);q="data"+(N-j||"");if(!$)return q}var ce=q;var le=$.split("/");for(var _e=0;_e{"use strict";var N=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,R){for(var j=0;j{"use strict";var j=R(6680);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:j.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:j.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var we=N=="maximum",Ie=we?"exclusiveMaximum":"exclusiveMinimum",Ne=E.schema[Ie],Me=E.opts.$data&&Ne&&Ne.$data,Le=we?"<":">",Be=we?">":"<",le=undefined;if(!(Te||typeof G=="number"||G===undefined)){throw new Error(N+" must be number")}if(!(Me||Ne===undefined||typeof Ne=="number"||typeof Ne=="boolean")){throw new Error(Ie+" must be number or boolean")}if(Me){var je=E.util.getData(Ne.$data,q,E.dataPathArr),Ue="exclusive"+$,ze="exclType"+$,We="exclIsNumber"+$,Je="op"+$,Ve="' + "+Je+" + '";j+=" var schemaExcl"+$+" = "+je+"; ";je="schemaExcl"+$;j+=" var "+Ue+"; var "+ze+" = typeof "+je+"; if ("+ze+" != 'boolean' && "+ze+" != 'undefined' && "+ze+" != 'number') { ";var le=Ie;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+Ie+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else if ( ";if(Te){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}j+=" "+ze+" == 'number' ? ( ("+Ue+" = "+Ee+" === undefined || "+je+" "+Le+"= "+Ee+") ? "+_e+" "+Be+"= "+je+" : "+_e+" "+Be+" "+Ee+" ) : ( ("+Ue+" = "+je+" === true) ? "+_e+" "+Be+"= "+Ee+" : "+_e+" "+Be+" "+Ee+" ) || "+_e+" !== "+_e+") { var op"+$+" = "+Ue+" ? '"+Le+"' : '"+Le+"='; ";if(G===undefined){le=Ie;ae=E.errSchemaPath+"/"+Ie;Ee=je;Te=Me}}else{var We=typeof Ne=="number",Ve=Le;if(We&&Te){var Je="'"+Ve+"'";j+=" if ( ";if(Te){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}j+=" ( "+Ee+" === undefined || "+Ne+" "+Le+"= "+Ee+" ? "+_e+" "+Be+"= "+Ne+" : "+_e+" "+Be+" "+Ee+" ) || "+_e+" !== "+_e+") { "}else{if(We&&G===undefined){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Ee=Ne;Be+="="}else{if(We)Ee=Math[we?"min":"max"](Ne,G);if(Ne===(We?Ee:true)){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Be+="="}else{Ue=false;Ve+="="}}var Je="'"+Ve+"'";j+=" if ( ";if(Te){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}j+=" "+_e+" "+Be+" "+Ee+" || "+_e+" !== "+_e+") { "}}le=le||N;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Je+", limit: "+Ee+", exclusive: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Ve+" ";if(Te){j+="' + "+Ee}else{j+=""+Ee+"'"}}if(E.opts.verbose){j+=" , schema: ";if(Te){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if(!(Te||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxItems"?">":"<";j+="if ( ";if(Te){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}j+=" "+_e+".length "+we+" "+Ee+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ee+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxItems"){j+="more"}else{j+="fewer"}j+=" than ";if(Te){j+="' + "+Ee+" + '"}else{j+=""+G}j+=" items' "}if(E.opts.verbose){j+=" , schema: ";if(Te){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if(!(Te||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxLength"?">":"<";j+="if ( ";if(Te){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}if(E.opts.unicode===false){j+=" "+_e+".length "}else{j+=" ucs2length("+_e+") "}j+=" "+we+" "+Ee+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ee+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT be ";if(N=="maxLength"){j+="longer"}else{j+="shorter"}j+=" than ";if(Te){j+="' + "+Ee+" + '"}else{j+=""+G}j+=" characters' "}if(E.opts.verbose){j+=" , schema: ";if(Te){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if(!(Te||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxProperties"?">":"<";j+="if ( ";if(Te){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'number') || "}j+=" Object.keys("+_e+").length "+we+" "+Ee+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ee+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxProperties"){j+="more"}else{j+="fewer"}j+=" than ";if(Te){j+="' + "+Ee+" + '"}else{j+=""+G}j+=" properties' "}if(E.opts.verbose){j+=" , schema: ";if(Te){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},30081:E=>{"use strict";E.exports=function generate_allOf(E,N,R){var j=" ";var $=E.schema[N];var q=E.schemaPath+E.util.getProperty(N);var G=E.errSchemaPath+"/"+N;var ie=!E.opts.allErrors;var ae=E.util.copy(E);var ce="";ae.level++;var le="valid"+ae.level;var _e=ae.baseId,Te=true;var Ee=$;if(Ee){var we,Ie=-1,Ne=Ee.length-1;while(Ie0||we===false:E.util.schemaHasRules(we,E.RULES.all)){Te=false;ae.schema=we;ae.schemaPath=q+"["+Ie+"]";ae.errSchemaPath=G+"/"+Ie;j+=" "+E.validate(ae)+" ";ae.baseId=_e;if(ie){j+=" if ("+le+") { ";ce+="}"}}}}if(ie){if(Te){j+=" if (true) { "}else{j+=" "+ce.slice(0,-1)+" "}}return j}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te="errs__"+$;var Ee=E.util.copy(E);var we="";Ee.level++;var Ie="valid"+Ee.level;var Ne=G.every((function(N){return E.opts.strictKeywords?typeof N=="object"&&Object.keys(N).length>0||N===false:E.util.schemaHasRules(N,E.RULES.all)}));if(Ne){var Me=Ee.baseId;j+=" var "+Te+" = errors; var "+_e+" = false; ";var Le=E.compositeRule;E.compositeRule=Ee.compositeRule=true;var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue{"use strict";E.exports=function generate_comment(E,N,R){var j=" ";var $=E.schema[N];var q=E.errSchemaPath+"/"+N;var G=!E.opts.allErrors;var ie=E.util.toQuotedString($);if(E.opts.$comment===true){j+=" console.log("+ie+");"}else if(typeof E.opts.$comment=="function"){j+=" self._opts.$comment("+ie+", "+E.util.toQuotedString(q)+", validate.root.schema);"}return j}},23404:E=>{"use strict";E.exports=function generate_const(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if(!Te){j+=" var schema"+$+" = validate.schema"+ie+";"}j+="var "+_e+" = equal("+le+", schema"+$+"); if (!"+_e+") { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValue: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to constant' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},33224:E=>{"use strict";E.exports=function generate_contains(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te="errs__"+$;var Ee=E.util.copy(E);var we="";Ee.level++;var Ie="valid"+Ee.level;var Ne="i"+$,Me=Ee.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId,je=E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all);j+="var "+Te+" = errors;var "+_e+";";if(je){var Ue=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;j+=" var "+Ie+" = false; for (var "+Ne+" = 0; "+Ne+" < "+le+".length; "+Ne+"++) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var ze=le+"["+Ne+"]";Ee.dataPathArr[Me]=Ne;var We=E.validate(Ee);Ee.baseId=Be;if(E.util.varOccurences(We,Le)<2){j+=" "+E.util.varReplace(We,Le,ze)+" "}else{j+=" var "+Le+" = "+ze+"; "+We+" "}j+=" if ("+Ie+") break; } ";E.compositeRule=Ee.compositeRule=Ue;j+=" "+we+" if (!"+Ie+") {"}else{j+=" if ("+le+".length == 0) {"}var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should contain a valid item' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { ";if(je){j+=" errors = "+Te+"; if (vErrors !== null) { if ("+Te+") vErrors.length = "+Te+"; else vErrors = null; } "}if(E.opts.allErrors){j+=" } "}return j}},99819:E=>{"use strict";E.exports=function generate_custom(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Te="valid"+$;var Ee="errs__"+$;var we=E.opts.$data&&G&&G.$data,Ie;if(we){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+$}else{Ie=G}var Ne=this,Me="definition"+$,Le=Ne.definition,Be="";var je,Ue,ze,We,Je;if(we&&Le.$data){Je="keywordValidate"+$;var Ve=Le.validateSchema;j+=" var "+Me+" = RULES.custom['"+N+"'].definition; var "+Je+" = "+Me+".validate;"}else{We=E.useCustomRule(Ne,G,E.schema,E);if(!We)return;Ie="validate.schema"+ie;Je=We.code;je=Le.compile;Ue=Le.inline;ze=Le.macro}var qe=Je+".errors",He="i"+$,Ge="ruleErr"+$,Ke=Le.async;if(Ke&&!E.async)throw new Error("async keyword in sync schema");if(!(Ue||ze)){j+=""+qe+" = null;"}j+="var "+Ee+" = errors;var "+Te+";";if(we&&Le.$data){Be+="}";j+=" if ("+Ie+" === undefined) { "+Te+" = true; } else { ";if(Ve){Be+="}";j+=" "+Te+" = "+Me+".validateSchema("+Ie+"); if ("+Te+") { "}}if(Ue){if(Le.statements){j+=" "+We.validate+" "}else{j+=" "+Te+" = "+We.validate+"; "}}else if(ze){var Qe=E.util.copy(E);var Be="";Qe.level++;var Xe="valid"+Qe.level;Qe.schema=We.validate;Qe.schemaPath="";var Ye=E.compositeRule;E.compositeRule=Qe.compositeRule=true;var Ze=E.validate(Qe).replace(/validate\.schema/g,Je);E.compositeRule=Qe.compositeRule=Ye;j+=" "+Ze}else{var et=et||[];et.push(j);j="";j+=" "+Je+".call( ";if(E.opts.passContext){j+="this"}else{j+="self"}if(je||Le.schema===false){j+=" , "+_e+" "}else{j+=" , "+Ie+" , "+_e+" , validate.schema"+E.schemaPath+" "}j+=" , (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var tt=q?"data"+(q-1||""):"parentData",rt=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+tt+" , "+rt+" , rootData ) ";var nt=j;j=et.pop();if(Le.errors===false){j+=" "+Te+" = ";if(Ke){j+="await "}j+=""+nt+"; "}else{if(Ke){qe="customErrors"+$;j+=" var "+qe+" = null; try { "+Te+" = await "+nt+"; } catch (e) { "+Te+" = false; if (e instanceof ValidationError) "+qe+" = e.errors; else throw e; } "}else{j+=" "+qe+" = null; "+Te+" = "+nt+"; "}}}if(Le.modifying){j+=" if ("+tt+") "+_e+" = "+tt+"["+rt+"];"}j+=""+Be;if(Le.valid){if(ce){j+=" if (true) { "}}else{j+=" if ( ";if(Le.valid===undefined){j+=" !";if(ze){j+=""+Xe}else{j+=""+Te}}else{j+=" "+!Le.valid+" "}j+=") { ";le=Ne.keyword;var et=et||[];et.push(j);j="";var et=et||[];et.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){j+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var it=j;j=et.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+it+"]); "}else{j+=" validate.errors = ["+it+"]; return false; "}}else{j+=" var err = "+it+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var ot=j;j=et.pop();if(Ue){if(Le.errors){if(Le.errors!="full"){j+=" for (var "+He+"="+Ee+"; "+He+"{"use strict";E.exports=function generate_dependencies(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Te=E.util.copy(E);var Ee="";Te.level++;var we="valid"+Te.level;var Ie={},Ne={},Me=E.opts.ownProperties;for(Ue in G){if(Ue=="__proto__")continue;var Le=G[Ue];var Be=Array.isArray(Le)?Ne:Ie;Be[Ue]=Le}j+="var "+_e+" = errors;";var je=E.errorPath;j+="var missing"+$+";";for(var Ue in Ne){Be=Ne[Ue];if(Be.length){j+=" if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}if(ce){j+=" && ( ";var ze=Be;if(ze){var We,Je=-1,Ve=ze.length-1;while(Je0||Le===false:E.util.schemaHasRules(Le,E.RULES.all)){j+=" "+we+" = true; if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}j+=") { ";Te.schema=Le;Te.schemaPath=ie+E.util.getProperty(Ue);Te.errSchemaPath=ae+"/"+E.util.escapeFragment(Ue);j+=" "+E.validate(Te)+" ";Te.baseId=tt;j+=" } ";if(ce){j+=" if ("+we+") { ";Ee+="}"}}}if(ce){j+=" "+Ee+" if ("+_e+" == errors) {"}return j}},20489:E=>{"use strict";E.exports=function generate_enum(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var we="i"+$,Ie="schema"+$;if(!Te){j+=" var "+Ie+" = validate.schema"+ie+";"}j+="var "+_e+";";if(Te){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=""+_e+" = false;for (var "+we+"=0; "+we+"<"+Ie+".length; "+we+"++) if (equal("+le+", "+Ie+"["+we+"])) { "+_e+" = true; break; }";if(Te){j+=" } "}j+=" if (!"+_e+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValues: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},69090:E=>{"use strict";E.exports=function generate_format(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");if(E.opts.format===false){if(ce){j+=" if (true) { "}return j}var _e=E.opts.$data&&G&&G.$data,Te;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var Ee=E.opts.unknownFormats,we=Array.isArray(Ee);if(_e){var Ie="format"+$,Ne="isObject"+$,Me="formatType"+$;j+=" var "+Ie+" = formats["+Te+"]; var "+Ne+" = typeof "+Ie+" == 'object' && !("+Ie+" instanceof RegExp) && "+Ie+".validate; var "+Me+" = "+Ne+" && "+Ie+".type || 'string'; if ("+Ne+") { ";if(E.async){j+=" var async"+$+" = "+Ie+".async; "}j+=" "+Ie+" = "+Ie+".validate; } if ( ";if(_e){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'string') || "}j+=" (";if(Ee!="ignore"){j+=" ("+Te+" && !"+Ie+" ";if(we){j+=" && self._opts.unknownFormats.indexOf("+Te+") == -1 "}j+=") || "}j+=" ("+Ie+" && "+Me+" == '"+R+"' && !(typeof "+Ie+" == 'function' ? ";if(E.async){j+=" (async"+$+" ? await "+Ie+"("+le+") : "+Ie+"("+le+")) "}else{j+=" "+Ie+"("+le+") "}j+=" : "+Ie+".test("+le+"))))) {"}else{var Ie=E.formats[G];if(!Ie){if(Ee=="ignore"){E.logger.warn('unknown format "'+G+'" ignored in schema at path "'+E.errSchemaPath+'"');if(ce){j+=" if (true) { "}return j}else if(we&&Ee.indexOf(G)>=0){if(ce){j+=" if (true) { "}return j}else{throw new Error('unknown format "'+G+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Ne=typeof Ie=="object"&&!(Ie instanceof RegExp)&&Ie.validate;var Me=Ne&&Ie.type||"string";if(Ne){var Le=Ie.async===true;Ie=Ie.validate}if(Me!=R){if(ce){j+=" if (true) { "}return j}if(Le){if(!E.async)throw new Error("async format in sync schema");var Be="formats"+E.util.getProperty(G)+".validate";j+=" if (!(await "+Be+"("+le+"))) { "}else{j+=" if (! ";var Be="formats"+E.util.getProperty(G);if(Ne)Be+=".validate";if(typeof Ie=="function"){j+=" "+Be+"("+le+") "}else{j+=" "+Be+".test("+le+") "}j+=") { "}}var je=je||[];je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { format: ";if(_e){j+=""+Te}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match format \"";if(_e){j+="' + "+Te+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ue=j;j=je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ue+"]); "}else{j+=" validate.errors = ["+Ue+"]; return false; "}}else{j+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},1636:E=>{"use strict";E.exports=function generate_if(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te="errs__"+$;var Ee=E.util.copy(E);Ee.level++;var we="valid"+Ee.level;var Ie=E.schema["then"],Ne=E.schema["else"],Me=Ie!==undefined&&(E.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===false:E.util.schemaHasRules(Ie,E.RULES.all)),Le=Ne!==undefined&&(E.opts.strictKeywords?typeof Ne=="object"&&Object.keys(Ne).length>0||Ne===false:E.util.schemaHasRules(Ne,E.RULES.all)),Be=Ee.baseId;if(Me||Le){var je;Ee.createErrors=false;Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;j+=" var "+Te+" = errors; var "+_e+" = true; ";var Ue=E.compositeRule;E.compositeRule=Ee.compositeRule=true;j+=" "+E.validate(Ee)+" ";Ee.baseId=Be;Ee.createErrors=true;j+=" errors = "+Te+"; if (vErrors !== null) { if ("+Te+") vErrors.length = "+Te+"; else vErrors = null; } ";E.compositeRule=Ee.compositeRule=Ue;if(Me){j+=" if ("+we+") { ";Ee.schema=E.schema["then"];Ee.schemaPath=E.schemaPath+".then";Ee.errSchemaPath=E.errSchemaPath+"/then";j+=" "+E.validate(Ee)+" ";Ee.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'then'; "}else{je="'then'"}j+=" } ";if(Le){j+=" else { "}}else{j+=" if (!"+we+") { "}if(Le){Ee.schema=E.schema["else"];Ee.schemaPath=E.schemaPath+".else";Ee.errSchemaPath=E.errSchemaPath+"/else";j+=" "+E.validate(Ee)+" ";Ee.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'else'; "}else{je="'else'"}j+=" } "}j+=" if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { failingKeyword: "+je+" } ";if(E.opts.messages!==false){j+=" , message: 'should match \"' + "+je+" + '\" schema' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},71001:(E,N,R)=>{"use strict";E.exports={$ref:R(41944),allOf:R(30081),anyOf:R(70019),$comment:R(79878),const:R(23404),contains:R(33224),dependencies:R(19493),enum:R(20489),format:R(69090),if:R(1636),items:R(6060),maximum:R(70507),minimum:R(70507),maxItems:R(6958),minItems:R(6958),maxLength:R(41363),minLength:R(41363),maxProperties:R(25569),minProperties:R(25569),multipleOf:R(54841),not:R(74881),oneOf:R(77675),pattern:R(98676),properties:R(99306),propertyNames:R(28014),required:R(16372),uniqueItems:R(37270),validate:R(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te="errs__"+$;var Ee=E.util.copy(E);var we="";Ee.level++;var Ie="valid"+Ee.level;var Ne="i"+$,Me=Ee.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId;j+="var "+Te+" = errors;var "+_e+";";if(Array.isArray(G)){var je=E.schema.additionalItems;if(je===false){j+=" "+_e+" = "+le+".length <= "+G.length+"; ";var Ue=ae;ae=E.errSchemaPath+"/additionalItems";j+=" if (!"+_e+") { ";var ze=ze||[];ze.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+G.length+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have more than "+G.length+" items' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var We=j;j=ze.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+We+"]); "}else{j+=" validate.errors = ["+We+"]; return false; "}}else{j+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";ae=Ue;if(ce){we+="}";j+=" else { "}}var Je=G;if(Je){var Ve,qe=-1,He=Je.length-1;while(qe0||Ve===false:E.util.schemaHasRules(Ve,E.RULES.all)){j+=" "+Ie+" = true; if ("+le+".length > "+qe+") { ";var Ge=le+"["+qe+"]";Ee.schema=Ve;Ee.schemaPath=ie+"["+qe+"]";Ee.errSchemaPath=ae+"/"+qe;Ee.errorPath=E.util.getPathExpr(E.errorPath,qe,E.opts.jsonPointers,true);Ee.dataPathArr[Me]=qe;var Ke=E.validate(Ee);Ee.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}j+=" } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}}if(typeof je=="object"&&(E.opts.strictKeywords?typeof je=="object"&&Object.keys(je).length>0||je===false:E.util.schemaHasRules(je,E.RULES.all))){Ee.schema=je;Ee.schemaPath=E.schemaPath+".additionalItems";Ee.errSchemaPath=E.errSchemaPath+"/additionalItems";j+=" "+Ie+" = true; if ("+le+".length > "+G.length+") { for (var "+Ne+" = "+G.length+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Ee.dataPathArr[Me]=Ne;var Ke=E.validate(Ee);Ee.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" } } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}else if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;j+=" for (var "+Ne+" = "+0+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Ee.dataPathArr[Me]=Ne;var Ke=E.validate(Ee);Ee.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" }"}if(ce){j+=" "+we+" if ("+Te+" == errors) {"}return j}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Te;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(_e||typeof G=="number")){throw new Error(N+" must be number")}j+="var division"+$+";if (";if(_e){j+=" "+Te+" !== undefined && ( typeof "+Te+" != 'number' || "}j+=" (division"+$+" = "+le+" / "+Te+", ";if(E.opts.multipleOfPrecision){j+=" Math.abs(Math.round(division"+$+") - division"+$+") > 1e-"+E.opts.multipleOfPrecision+" "}else{j+=" division"+$+" !== parseInt(division"+$+") "}j+=" ) ";if(_e){j+=" ) "}j+=" ) { ";var Ee=Ee||[];Ee.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { multipleOf: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should be multiple of ";if(_e){j+="' + "+Te}else{j+=""+Te+"'"}}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var we=j;j=Ee.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+we+"]); "}else{j+=" validate.errors = ["+we+"]; return false; "}}else{j+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},74881:E=>{"use strict";E.exports=function generate_not(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Te=E.util.copy(E);Te.level++;var Ee="valid"+Te.level;if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" var "+_e+" = errors; ";var we=E.compositeRule;E.compositeRule=Te.compositeRule=true;Te.createErrors=false;var Ie;if(Te.opts.allErrors){Ie=Te.opts.allErrors;Te.opts.allErrors=false}j+=" "+E.validate(Te)+" ";Te.createErrors=true;if(Ie)Te.opts.allErrors=Ie;E.compositeRule=Te.compositeRule=we;j+=" if ("+Ee+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { errors = "+_e+"; if (vErrors !== null) { if ("+_e+") vErrors.length = "+_e+"; else vErrors = null; } ";if(E.opts.allErrors){j+=" } "}}else{j+=" var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(ce){j+=" if (false) { "}}return j}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te="errs__"+$;var Ee=E.util.copy(E);var we="";Ee.level++;var Ie="valid"+Ee.level;var Ne=Ee.baseId,Me="prevValid"+$,Le="passingSchemas"+$;j+="var "+Te+" = errors , "+Me+" = false , "+_e+" = false , "+Le+" = null; ";var Be=E.compositeRule;E.compositeRule=Ee.compositeRule=true;var je=G;if(je){var Ue,ze=-1,We=je.length-1;while(ze0||Ue===false:E.util.schemaHasRules(Ue,E.RULES.all)){Ee.schema=Ue;Ee.schemaPath=ie+"["+ze+"]";Ee.errSchemaPath=ae+"/"+ze;j+=" "+E.validate(Ee)+" ";Ee.baseId=Ne}else{j+=" var "+Ie+" = true; "}if(ze){j+=" if ("+Ie+" && "+Me+") { "+_e+" = false; "+Le+" = ["+Le+", "+ze+"]; } else { ";we+="}"}j+=" if ("+Ie+") { "+_e+" = "+Me+" = true; "+Le+" = "+ze+"; }"}}E.compositeRule=Ee.compositeRule=Be;j+=""+we+"if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { passingSchemas: "+Le+" } ";if(E.opts.messages!==false){j+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+="} else { errors = "+Te+"; if (vErrors !== null) { if ("+Te+") vErrors.length = "+Te+"; else vErrors = null; }";if(E.opts.allErrors){j+=" } "}return j}},98676:E=>{"use strict";E.exports=function generate_pattern(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Te;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var Ee=_e?"(new RegExp("+Te+"))":E.usePattern(G);j+="if ( ";if(_e){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'string') || "}j+=" !"+Ee+".test("+le+") ) { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { pattern: ";if(_e){j+=""+Te}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match pattern \"";if(_e){j+="' + "+Te+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},99306:E=>{"use strict";E.exports=function generate_properties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Te=E.util.copy(E);var Ee="";Te.level++;var we="valid"+Te.level;var Ie="key"+$,Ne="idx"+$,Me=Te.dataLevel=E.dataLevel+1,Le="data"+Me,Be="dataProperties"+$;var je=Object.keys(G||{}).filter(notProto),Ue=E.schema.patternProperties||{},ze=Object.keys(Ue).filter(notProto),We=E.schema.additionalProperties,Je=je.length||ze.length,Ve=We===false,qe=typeof We=="object"&&Object.keys(We).length,He=E.opts.removeAdditional,Ge=Ve||qe||He,Ke=E.opts.ownProperties,Qe=E.baseId;var Xe=E.schema.required;if(Xe&&!(E.opts.$data&&Xe.$data)&&Xe.length8){j+=" || validate.schema"+ie+".hasOwnProperty("+Ie+") "}else{var Ze=je;if(Ze){var et,tt=-1,rt=Ze.length-1;while(tt0||St===false:E.util.schemaHasRules(St,E.RULES.all)){var Tt=E.util.getProperty(et),ht=le+Tt,Et=yt&&St.default!==undefined;Te.schema=St;Te.schemaPath=ie+Tt;Te.errSchemaPath=ae+"/"+E.util.escapeFragment(et);Te.errorPath=E.util.getPath(E.errorPath,et,E.opts.jsonPointers);Te.dataPathArr[Me]=E.util.toQuotedString(et);var _t=E.validate(Te);Te.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){_t=E.util.varReplace(_t,Le,ht);var kt=ht}else{var kt=Le;j+=" var "+Le+" = "+ht+"; "}if(Et){j+=" "+_t+" "}else{if(Ye&&Ye[et]){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = false; ";var ct=E.errorPath,dt=ae,Ct=E.util.escapeQuotes(et);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(ct,et,E.opts.jsonPointers)}ae=E.errSchemaPath+"/required";var pt=pt||[];pt.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+Ct+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+Ct+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var ft=j;j=pt.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+ft+"]); "}else{j+=" validate.errors = ["+ft+"]; return false; "}}else{j+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=dt;E.errorPath=ct;j+=" } else { "}else{if(ce){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = true; } else { "}else{j+=" if ("+kt+" !== undefined ";if(Ke){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=" ) { "}}j+=" "+_t+" } "}}if(ce){j+=" if ("+we+") { ";Ee+="}"}}}}if(ze.length){var Dt=ze;if(Dt){var it,At=-1,wt=Dt.length-1;while(At0||St===false:E.util.schemaHasRules(St,E.RULES.all)){Te.schema=St;Te.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(it);Te.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(it);if(Ke){j+=" "+Be+" = "+Be+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Be+".length; "+Ne+"++) { var "+Ie+" = "+Be+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" if ("+E.usePattern(it)+".test("+Ie+")) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ie,E.opts.jsonPointers);var ht=le+"["+Ie+"]";Te.dataPathArr[Me]=Ie;var _t=E.validate(Te);Te.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){j+=" "+E.util.varReplace(_t,Le,ht)+" "}else{j+=" var "+Le+" = "+ht+"; "+_t+" "}if(ce){j+=" if (!"+we+") break; "}j+=" } ";if(ce){j+=" else "+we+" = true; "}j+=" } ";if(ce){j+=" if ("+we+") { ";Ee+="}"}}}}}if(ce){j+=" "+Ee+" if ("+_e+" == errors) {"}return j}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Te=E.util.copy(E);var Ee="";Te.level++;var we="valid"+Te.level;j+="var "+_e+" = errors;";if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;var Ie="key"+$,Ne="idx"+$,Me="i"+$,Le="' + "+Ie+" + '",Be=Te.dataLevel=E.dataLevel+1,je="data"+Be,Ue="dataProperties"+$,ze=E.opts.ownProperties,We=E.baseId;if(ze){j+=" var "+Ue+" = undefined; "}if(ze){j+=" "+Ue+" = "+Ue+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Ue+".length; "+Ne+"++) { var "+Ie+" = "+Ue+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" var startErrs"+$+" = errors; ";var Je=Ie;var Ve=E.compositeRule;E.compositeRule=Te.compositeRule=true;var qe=E.validate(Te);Te.baseId=We;if(E.util.varOccurences(qe,je)<2){j+=" "+E.util.varReplace(qe,je,Je)+" "}else{j+=" var "+je+" = "+Je+"; "+qe+" "}E.compositeRule=Te.compositeRule=Ve;j+=" if (!"+we+") { for (var "+Me+"=startErrs"+$+"; "+Me+"{"use strict";E.exports=function generate_ref(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.errSchemaPath+"/"+N;var ae=!E.opts.allErrors;var ce="data"+(q||"");var le="valid"+$;var _e,Te;if(G=="#"||G=="#/"){if(E.isRoot){_e=E.async;Te="validate"}else{_e=E.root.schema.$async===true;Te="root.refVal[0]"}}else{var Ee=E.resolveRef(E.baseId,G,E.isRoot);if(Ee===undefined){var we=E.MissingRefError.message(E.baseId,G);if(E.opts.missingRefs=="fail"){E.logger.error(we);var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ie)+" , params: { ref: '"+E.util.escapeQuotes(G)+"' } ";if(E.opts.messages!==false){j+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(G)+"' "}if(E.opts.verbose){j+=" , schema: "+E.util.toQuotedString(G)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ce+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ae){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(ae){j+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(we);if(ae){j+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,G,we)}}else if(Ee.inline){var Me=E.util.copy(E);Me.level++;var Le="valid"+Me.level;Me.schema=Ee.schema;Me.schemaPath="";Me.errSchemaPath=G;var Be=E.validate(Me).replace(/validate\.schema/g,Ee.code);j+=" "+Be+" ";if(ae){j+=" if ("+Le+") { "}}else{_e=Ee.$async===true||E.async&&Ee.$async!==false;Te=Ee.code}}if(Te){var Ie=Ie||[];Ie.push(j);j="";if(E.opts.passContext){j+=" "+Te+".call(this, "}else{j+=" "+Te+"( "}j+=" "+ce+", (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var je=q?"data"+(q-1||""):"parentData",Ue=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+je+" , "+Ue+", rootData) ";var ze=j;j=Ie.pop();if(_e){if(!E.async)throw new Error("async schema referenced by sync schema");if(ae){j+=" var "+le+"; "}j+=" try { await "+ze+"; ";if(ae){j+=" "+le+" = true; "}j+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(ae){j+=" "+le+" = false; "}j+=" } ";if(ae){j+=" if ("+le+") { "}}else{j+=" if (!"+ze+") { if (vErrors === null) vErrors = "+Te+".errors; else vErrors = vErrors.concat("+Te+".errors); errors = vErrors.length; } ";if(ae){j+=" else { "}}}return j}},16372:E=>{"use strict";E.exports=function generate_required(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var we="schema"+$;if(!Te){if(G.length0||je===false:E.util.schemaHasRules(je,E.RULES.all)))){Ie[Ie.length]=Me}}}}else{var Ie=G}}if(Te||Ie.length){var Ue=E.errorPath,ze=Te||Ie.length>=E.opts.loopRequired,We=E.opts.ownProperties;if(ce){j+=" var missing"+$+"; ";if(ze){if(!Te){j+=" var "+we+" = validate.schema"+ie+"; "}var Je="i"+$,Ve="schema"+$+"["+Je+"]",qe="' + "+Ve+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,Ve,E.opts.jsonPointers)}j+=" var "+_e+" = true; ";if(Te){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=" for (var "+Je+" = 0; "+Je+" < "+we+".length; "+Je+"++) { "+_e+" = "+le+"["+we+"["+Je+"]] !== undefined ";if(We){j+=" && Object.prototype.hasOwnProperty.call("+le+", "+we+"["+Je+"]) "}j+="; if (!"+_e+") break; } ";if(Te){j+=" } "}j+=" if (!"+_e+") { ";var He=He||[];He.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ge=j;j=He.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ge+"]); "}else{j+=" validate.errors = ["+Ge+"]; return false; "}}else{j+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { "}else{j+=" if ( ";var Ke=Ie;if(Ke){var Qe,Je=-1,Xe=Ke.length-1;while(Je{"use strict";E.exports=function generate_uniqueItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Te=E.opts.$data&&G&&G.$data,Ee;if(Te){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if((G||Te)&&E.opts.uniqueItems!==false){if(Te){j+=" var "+_e+"; if ("+Ee+" === false || "+Ee+" === undefined) "+_e+" = true; else if (typeof "+Ee+" != 'boolean') "+_e+" = false; else { "}j+=" var i = "+le+".length , "+_e+" = true , j; if (i > 1) { ";var we=E.schema.items&&E.schema.items.type,Ie=Array.isArray(we);if(!we||we=="object"||we=="array"||Ie&&(we.indexOf("object")>=0||we.indexOf("array")>=0)){j+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+le+"[i], "+le+"[j])) { "+_e+" = false; break outer; } } } "}else{j+=" var itemIndices = {}, item; for (;i--;) { var item = "+le+"[i]; ";var Ne="checkDataType"+(Ie?"s":"");j+=" if ("+E.util[Ne](we,"item",E.opts.strictNumbers,true)+") continue; ";if(Ie){j+=" if (typeof item == 'string') item = '\"' + item; "}j+=" if (typeof itemIndices[item] == 'number') { "+_e+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}j+=" } ";if(Te){j+=" } "}j+=" if (!"+_e+") { ";var Me=Me||[];Me.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){j+=" , schema: ";if(Te){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Le=j;j=Me.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Le+"]); "}else{j+=" validate.errors = ["+Le+"]; return false; "}}else{j+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},85061:E=>{"use strict";E.exports=function generate_validate(E,N,R){var j="";var $=E.schema.$async===true,q=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),G=E.self._getId(E.schema);if(E.opts.strictKeywords){var ie=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ie){var ae="unknown keyword: "+ie;if(E.opts.strictKeywords==="log")E.logger.warn(ae);else throw new Error(ae)}}if(E.isTop){j+=" var validate = ";if($){E.async=true;j+="async "}j+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(G&&(E.opts.sourceCode||E.opts.processCode)){j+=" "+("/*# sourceURL="+G+" */")+" "}}if(typeof E.schema=="boolean"||!(q||E.schema.$ref)){var N="false schema";var ce=E.level;var le=E.dataLevel;var _e=E.schema[N];var Te=E.schemaPath+E.util.getProperty(N);var Ee=E.errSchemaPath+"/"+N;var we=!E.opts.allErrors;var Ie;var Ne="data"+(le||"");var Me="valid"+ce;if(E.schema===false){if(E.isTop){we=true}else{j+=" var "+Me+" = false; "}var Le=Le||[];Le.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(Ie||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Ee)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'boolean schema is false' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}j+=" } "}else{j+=" {} "}var Be=j;j=Le.pop();if(!E.compositeRule&&we){if(E.async){j+=" throw new ValidationError(["+Be+"]); "}else{j+=" validate.errors = ["+Be+"]; return false; "}}else{j+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if($){j+=" return data; "}else{j+=" validate.errors = null; return true; "}}else{j+=" var "+Me+" = true; "}}if(E.isTop){j+=" }; return validate; "}return j}if(E.isTop){var je=E.isTop,ce=E.level=0,le=E.dataLevel=0,Ne="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Ue="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}j+=" var vErrors = null; ";j+=" var errors = 0; ";j+=" if (rootData === undefined) rootData = data; "}else{var ce=E.level,le=E.dataLevel,Ne="data"+(le||"");if(G)E.baseId=E.resolve.url(E.baseId,G);if($&&!E.async)throw new Error("async schema in sync schema");j+=" var errs_"+ce+" = errors;"}var Me="valid"+ce,we=!E.opts.allErrors,ze="",We="";var Ie;var Je=E.schema.type,Ve=Array.isArray(Je);if(Je&&E.opts.nullable&&E.schema.nullable===true){if(Ve){if(Je.indexOf("null")==-1)Je=Je.concat("null")}else if(Je!="null"){Je=[Je,"null"];Ve=true}}if(Ve&&Je.length==1){Je=Je[0];Ve=false}if(E.schema.$ref&&q){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){q=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){j+=" "+E.RULES.all.$comment.code(E,"$comment")}if(Je){if(E.opts.coerceTypes){var qe=E.util.coerceToTypes(E.opts.coerceTypes,Je)}var He=E.RULES.types[Je];if(qe||Ve||He===true||He&&!$shouldUseGroup(He)){var Te=E.schemaPath+".type",Ee=E.errSchemaPath+"/type";var Te=E.schemaPath+".type",Ee=E.errSchemaPath+"/type",Ge=Ve?"checkDataTypes":"checkDataType";j+=" if ("+E.util[Ge](Je,Ne,E.opts.strictNumbers,true)+") { ";if(qe){var Ke="dataType"+ce,Qe="coerced"+ce;j+=" var "+Ke+" = typeof "+Ne+"; var "+Qe+" = undefined; ";if(E.opts.coerceTypes=="array"){j+=" if ("+Ke+" == 'object' && Array.isArray("+Ne+") && "+Ne+".length == 1) { "+Ne+" = "+Ne+"[0]; "+Ke+" = typeof "+Ne+"; if ("+E.util.checkDataType(E.schema.type,Ne,E.opts.strictNumbers)+") "+Qe+" = "+Ne+"; } "}j+=" if ("+Qe+" !== undefined) ; ";var Xe=qe;if(Xe){var Ye,Ze=-1,et=Xe.length-1;while(Ze{"use strict";var j=/^[a-z_$][a-z0-9_$-]*$/i;var $=R(99819);var q=R(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,N){var R=this.RULES;if(R.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!j.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(N){this.validateKeyword(N,true);var q=N.type;if(Array.isArray(q)){for(var G=0;G{"use strict";E=R.nmd(E);const wrapAnsi16=(E,N)=>(...R)=>{const j=E(...R);return`[${j+N}m`};const wrapAnsi256=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};5;${j}m`};const wrapAnsi16m=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};2;${j[0]};${j[1]};${j[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,N,R)=>[E,N,R];const setLazyProperty=(E,N,R)=>{Object.defineProperty(E,N,{get:()=>{const j=R();Object.defineProperty(E,N,{value:j,enumerable:true,configurable:true});return j},enumerable:true,configurable:true})};let j;const makeDynamicStyles=(E,N,$,q)=>{if(j===undefined){j=R(76843)}const G=q?10:0;const ie={};for(const[R,q]of Object.entries(j)){const j=R==="ansi16"?"ansi":R;if(R===N){ie[j]=E($,G)}else if(typeof q==="object"){ie[j]=E(q[N],G)}}return ie};function assembleStyles(){const E=new Map;const N={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};N.color.gray=N.color.blackBright;N.bgColor.bgGray=N.bgColor.bgBlackBright;N.color.grey=N.color.blackBright;N.bgColor.bgGrey=N.bgColor.bgBlackBright;for(const[R,j]of Object.entries(N)){for(const[R,$]of Object.entries(j)){N[R]={open:`[${$[0]}m`,close:`[${$[1]}m`};j[R]=N[R];E.set($[0],$[1])}Object.defineProperty(N,R,{value:j,enumerable:false})}Object.defineProperty(N,"codes",{value:E,enumerable:false});N.color.close="";N.bgColor.close="";setLazyProperty(N.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(N.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(N.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(N.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return N}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},33775:(E,N,R)=>{const j=R(24253);const $={};for(const E of Object.keys(j)){$[j[E]]=E}const q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};E.exports=q;for(const E of Object.keys(q)){if(!("channels"in q[E])){throw new Error("missing channels property: "+E)}if(!("labels"in q[E])){throw new Error("missing channel labels property: "+E)}if(q[E].labels.length!==q[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:N,labels:R}=q[E];delete q[E].channels;delete q[E].labels;Object.defineProperty(q[E],"channels",{value:N});Object.defineProperty(q[E],"labels",{value:R})}q.rgb.hsl=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(N,R,j);const q=Math.max(N,R,j);const G=q-$;let ie;let ae;if(q===$){ie=0}else if(N===q){ie=(R-j)/G}else if(R===q){ie=2+(j-N)/G}else if(j===q){ie=4+(N-R)/G}ie=Math.min(ie*60,360);if(ie<0){ie+=360}const ce=($+q)/2;if(q===$){ae=0}else if(ce<=.5){ae=G/(q+$)}else{ae=G/(2-q-$)}return[ie,ae*100,ce*100]};q.rgb.hsv=function(E){let N;let R;let j;let $;let q;const G=E[0]/255;const ie=E[1]/255;const ae=E[2]/255;const ce=Math.max(G,ie,ae);const le=ce-Math.min(G,ie,ae);const diffc=function(E){return(ce-E)/6/le+1/2};if(le===0){$=0;q=0}else{q=le/ce;N=diffc(G);R=diffc(ie);j=diffc(ae);if(G===ce){$=j-R}else if(ie===ce){$=1/3+N-j}else if(ae===ce){$=2/3+R-N}if($<0){$+=1}else if($>1){$-=1}}return[$*360,q*100,ce*100]};q.rgb.hwb=function(E){const N=E[0];const R=E[1];let j=E[2];const $=q.rgb.hsl(E)[0];const G=1/255*Math.min(N,Math.min(R,j));j=1-1/255*Math.max(N,Math.max(R,j));return[$,G*100,j*100]};q.rgb.cmyk=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(1-N,1-R,1-j);const q=(1-N-$)/(1-$)||0;const G=(1-R-$)/(1-$)||0;const ie=(1-j-$)/(1-$)||0;return[q*100,G*100,ie*100,$*100]};function comparativeDistance(E,N){return(E[0]-N[0])**2+(E[1]-N[1])**2+(E[2]-N[2])**2}q.rgb.keyword=function(E){const N=$[E];if(N){return N}let R=Infinity;let q;for(const N of Object.keys(j)){const $=j[N];const G=comparativeDistance(E,$);if(G.04045?((N+.055)/1.055)**2.4:N/12.92;R=R>.04045?((R+.055)/1.055)**2.4:R/12.92;j=j>.04045?((j+.055)/1.055)**2.4:j/12.92;const $=N*.4124+R*.3576+j*.1805;const q=N*.2126+R*.7152+j*.0722;const G=N*.0193+R*.1192+j*.9505;return[$*100,q*100,G*100]};q.rgb.lab=function(E){const N=q.rgb.xyz(E);let R=N[0];let j=N[1];let $=N[2];R/=95.047;j/=100;$/=108.883;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;const G=116*j-16;const ie=500*(R-j);const ae=200*(j-$);return[G,ie,ae]};q.hsl.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;if(R===0){G=j*255;return[G,G,G]}if(j<.5){$=j*(1+R)}else{$=j+R-j*R}const ie=2*j-$;const ae=[0,0,0];for(let E=0;E<3;E++){q=N+1/3*-(E-1);if(q<0){q++}if(q>1){q--}if(6*q<1){G=ie+($-ie)*6*q}else if(2*q<1){G=$}else if(3*q<2){G=ie+($-ie)*(2/3-q)*6}else{G=ie}ae[E]=G*255}return ae};q.hsl.hsv=function(E){const N=E[0];let R=E[1]/100;let j=E[2]/100;let $=R;const q=Math.max(j,.01);j*=2;R*=j<=1?j:2-j;$*=q<=1?q:2-q;const G=(j+R)/2;const ie=j===0?2*$/(q+$):2*R/(j+R);return[N,ie*100,G*100]};q.hsv.rgb=function(E){const N=E[0]/60;const R=E[1]/100;let j=E[2]/100;const $=Math.floor(N)%6;const q=N-Math.floor(N);const G=255*j*(1-R);const ie=255*j*(1-R*q);const ae=255*j*(1-R*(1-q));j*=255;switch($){case 0:return[j,ae,G];case 1:return[ie,j,G];case 2:return[G,j,ae];case 3:return[G,ie,j];case 4:return[ae,G,j];case 5:return[j,G,ie]}};q.hsv.hsl=function(E){const N=E[0];const R=E[1]/100;const j=E[2]/100;const $=Math.max(j,.01);let q;let G;G=(2-R)*j;const ie=(2-R)*$;q=R*$;q/=ie<=1?ie:2-ie;q=q||0;G/=2;return[N,q*100,G*100]};q.hwb.rgb=function(E){const N=E[0]/360;let R=E[1]/100;let j=E[2]/100;const $=R+j;let q;if($>1){R/=$;j/=$}const G=Math.floor(6*N);const ie=1-j;q=6*N-G;if((G&1)!==0){q=1-q}const ae=R+q*(ie-R);let ce;let le;let _e;switch(G){default:case 6:case 0:ce=ie;le=ae;_e=R;break;case 1:ce=ae;le=ie;_e=R;break;case 2:ce=R;le=ie;_e=ae;break;case 3:ce=R;le=ae;_e=ie;break;case 4:ce=ae;le=R;_e=ie;break;case 5:ce=ie;le=R;_e=ae;break}return[ce*255,le*255,_e*255]};q.cmyk.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;const $=E[3]/100;const q=1-Math.min(1,N*(1-$)+$);const G=1-Math.min(1,R*(1-$)+$);const ie=1-Math.min(1,j*(1-$)+$);return[q*255,G*255,ie*255]};q.xyz.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;$=N*3.2406+R*-1.5372+j*-.4986;q=N*-.9689+R*1.8758+j*.0415;G=N*.0557+R*-.204+j*1.057;$=$>.0031308?1.055*$**(1/2.4)-.055:$*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;G=G>.0031308?1.055*G**(1/2.4)-.055:G*12.92;$=Math.min(Math.max(0,$),1);q=Math.min(Math.max(0,q),1);G=Math.min(Math.max(0,G),1);return[$*255,q*255,G*255]};q.xyz.lab=function(E){let N=E[0];let R=E[1];let j=E[2];N/=95.047;R/=100;j/=108.883;N=N>.008856?N**(1/3):7.787*N+16/116;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;const $=116*R-16;const q=500*(N-R);const G=200*(R-j);return[$,q,G]};q.lab.xyz=function(E){const N=E[0];const R=E[1];const j=E[2];let $;let q;let G;q=(N+16)/116;$=R/500+q;G=q-j/200;const ie=q**3;const ae=$**3;const ce=G**3;q=ie>.008856?ie:(q-16/116)/7.787;$=ae>.008856?ae:($-16/116)/7.787;G=ce>.008856?ce:(G-16/116)/7.787;$*=95.047;q*=100;G*=108.883;return[$,q,G]};q.lab.lch=function(E){const N=E[0];const R=E[1];const j=E[2];let $;const q=Math.atan2(j,R);$=q*360/2/Math.PI;if($<0){$+=360}const G=Math.sqrt(R*R+j*j);return[N,G,$]};q.lch.lab=function(E){const N=E[0];const R=E[1];const j=E[2];const $=j/360*2*Math.PI;const q=R*Math.cos($);const G=R*Math.sin($);return[N,q,G]};q.rgb.ansi16=function(E,N=null){const[R,j,$]=E;let G=N===null?q.rgb.hsv(E)[2]:N;G=Math.round(G/50);if(G===0){return 30}let ie=30+(Math.round($/255)<<2|Math.round(j/255)<<1|Math.round(R/255));if(G===2){ie+=60}return ie};q.hsv.ansi16=function(E){return q.rgb.ansi16(q.hsv.rgb(E),E[2])};q.rgb.ansi256=function(E){const N=E[0];const R=E[1];const j=E[2];if(N===R&&R===j){if(N<8){return 16}if(N>248){return 231}return Math.round((N-8)/247*24)+232}const $=16+36*Math.round(N/255*5)+6*Math.round(R/255*5)+Math.round(j/255*5);return $};q.ansi16.rgb=function(E){let N=E%10;if(N===0||N===7){if(E>50){N+=3.5}N=N/10.5*255;return[N,N,N]}const R=(~~(E>50)+1)*.5;const j=(N&1)*R*255;const $=(N>>1&1)*R*255;const q=(N>>2&1)*R*255;return[j,$,q]};q.ansi256.rgb=function(E){if(E>=232){const N=(E-232)*10+8;return[N,N,N]}E-=16;let N;const R=Math.floor(E/36)/5*255;const j=Math.floor((N=E%36)/6)/5*255;const $=N%6/5*255;return[R,j,$]};q.rgb.hex=function(E){const N=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const R=N.toString(16).toUpperCase();return"000000".substring(R.length)+R};q.hex.rgb=function(E){const N=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!N){return[0,0,0]}let R=N[0];if(N[0].length===3){R=R.split("").map((E=>E+E)).join("")}const j=parseInt(R,16);const $=j>>16&255;const q=j>>8&255;const G=j&255;return[$,q,G]};q.rgb.hcg=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.max(Math.max(N,R),j);const q=Math.min(Math.min(N,R),j);const G=$-q;let ie;let ae;if(G<1){ie=q/(1-G)}else{ie=0}if(G<=0){ae=0}else if($===N){ae=(R-j)/G%6}else if($===R){ae=2+(j-N)/G}else{ae=4+(N-R)/G}ae/=6;ae%=1;return[ae*360,G*100,ie*100]};q.hsl.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=R<.5?2*N*R:2*N*(1-R);let $=0;if(j<1){$=(R-.5*j)/(1-j)}return[E[0],j*100,$*100]};q.hsv.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=N*R;let $=0;if(j<1){$=(R-j)/(1-j)}return[E[0],j*100,$*100]};q.hcg.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;if(R===0){return[j*255,j*255,j*255]}const $=[0,0,0];const q=N%1*6;const G=q%1;const ie=1-G;let ae=0;switch(Math.floor(q)){case 0:$[0]=1;$[1]=G;$[2]=0;break;case 1:$[0]=ie;$[1]=1;$[2]=0;break;case 2:$[0]=0;$[1]=1;$[2]=G;break;case 3:$[0]=0;$[1]=ie;$[2]=1;break;case 4:$[0]=G;$[1]=0;$[2]=1;break;default:$[0]=1;$[1]=0;$[2]=ie}ae=(1-R)*j;return[(R*$[0]+ae)*255,(R*$[1]+ae)*255,(R*$[2]+ae)*255]};q.hcg.hsv=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);let $=0;if(j>0){$=N/j}return[E[0],$*100,j*100]};q.hcg.hsl=function(E){const N=E[1]/100;const R=E[2]/100;const j=R*(1-N)+.5*N;let $=0;if(j>0&&j<.5){$=N/(2*j)}else if(j>=.5&&j<1){$=N/(2*(1-j))}return[E[0],$*100,j*100]};q.hcg.hwb=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);return[E[0],(j-N)*100,(1-j)*100]};q.hwb.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=1-R;const $=j-N;let q=0;if($<1){q=(j-$)/(1-$)}return[E[0],$*100,q*100]};q.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};q.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};q.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};q.gray.hsl=function(E){return[0,0,E[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(E){return[0,100,E[0]]};q.gray.cmyk=function(E){return[0,0,0,E[0]]};q.gray.lab=function(E){return[E[0],0,0]};q.gray.hex=function(E){const N=Math.round(E[0]/100*255)&255;const R=(N<<16)+(N<<8)+N;const j=R.toString(16).toUpperCase();return"000000".substring(j.length)+j};q.rgb.gray=function(E){const N=(E[0]+E[1]+E[2])/3;return[N/255*100]}},76843:(E,N,R)=>{const j=R(33775);const $=R(2581);const q={};const G=Object.keys(j);function wrapRaw(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}return E(N)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}const j=E(N);if(typeof j==="object"){for(let E=j.length,N=0;N{q[E]={};Object.defineProperty(q[E],"channels",{value:j[E].channels});Object.defineProperty(q[E],"labels",{value:j[E].labels});const N=$(E);const R=Object.keys(N);R.forEach((R=>{const j=N[R];q[E][R]=wrapRounded(j);q[E][R].raw=wrapRaw(j)}))}));E.exports=q},2581:(E,N,R)=>{const j=R(33775);function buildGraph(){const E={};const N=Object.keys(j);for(let R=N.length,j=0;j{function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,N,R)=>{var j=R(76052);var $=R(92406).D;var q=R(78864);var G=R(71017);var ie=R(46233);var ae=R(72464);var ce=R(81886);var le=365.259641*24*60*60*1e3;var _e=37;var Te=1;var Ee=2;function isVersionsMatch(E,N){return(E+".").indexOf(N+".")===0}function isEolReleased(E){var N=E.slice(1);return j.some((function(E){return isVersionsMatch(E.version,N)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var N=E;if(E.split(".").length===3){N=E.split(".").slice(0,-1).join(".")}return N}function nameMapper(E){return function mapName(N){return E+" "+N}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,N){if(E.length===0)return[];var R=uniq(E.map(getMajor));var j=R[R.length-N];if(!j){return E}var $=[];for(var q=E.length-1;q>=0;q--){if(j>getMajor(E[q]))break;$.unshift(E[q])}return $}function uniq(E){var N=[];for(var R=0;R"){return function(E){return parseFloat(E)>N}}else if(E===">="){return function(E){return parseFloat(E)>=N}}else if(E==="<"){return function(E){return parseFloat(E)"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,N){if(EN)return+1;return 0}function compareSemver(E,N){return compare(parseInt(E[0]),parseInt(N[0]))||compare(parseInt(E[1]||"0"),parseInt(N[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(N[2]||"0"))}function semverFilterLoose(E,N){N=N.split(".").map(parseSimpleInt);if(typeof N[1]==="undefined"){N[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)>=0}}}function compareSemverLoose(E,N){if(E[0]!==N[0]){return E[0]=E}));return R.concat(q.map(nameMapper($.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,N){E.versions=E.versions.map((function(E){return N[E]||E}));E.released=E.versions.map((function(E){return N[E]||E}));var R={};for(var j in E.releaseDate){R[N[j]||j]=E.releaseDate[j]}E.releaseDate=R;return E}function byName(E,N){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(N.mobileToDesktop&&browserslist.desktopNames[E]){var R=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),R)}else{var j=cloneData(R);j.name=E;if(E==="op_mob"){j=mapVersions(j,{"10.0-10.1":"10"})}return j}}return browserslist.data[E]}function normalizeAndroidVersions(E,N){var R=_e;var j=N[N.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(N.slice(R-j-1))}function normalizeAndroidData(E,N){E.released=normalizeAndroidVersions(E.released,N.released);E.versions=normalizeAndroidVersions(E.versions,N.versions);return E}function checkName(E,N){var R=byName(E,N);if(!R)throw new ae("Unknown browser "+E);return R}function unknownQuery(E){return new ae("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,N,R){if(R.mobileToDesktop)return E;var j=browserslist.data.android.released;var $=j[j.length-1];var q=$-_e-N;if(q>0){return E.slice(-1)}else{return E.slice(q-1)}}function resolve(E,N){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,R,j){var $=R.queryString;var q=$.indexOf("not ")===0;if(q){if(j===0){throw new ae("Write any browsers query (for instance, `defaults`) "+"before `"+$+"`")}$=$.slice(4)}for(var G=0;G 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=ce.clearCaches;browserslist.parseConfig=ce.parseConfig;browserslist.readConfig=ce.readConfig;browserslist.findConfig=ce.findConfig;browserslist.loadConfig=ce.loadConfig;browserslist.coverage=function(E,N){var R;if(typeof N==="undefined"){R=browserslist.usage.global}else if(N==="my stats"){var j={};j.path=G.resolve?G.resolve("."):".";var $=ce.getStat(j);if(!$){throw new ae("Custom usage statistics was not provided")}R={};for(var q in $){fillUsage(R,q,$[q])}}else if(typeof N==="string"){if(N.length>2){N=N.toLowerCase()}else{N=N.toUpperCase()}ce.loadCountry(browserslist.usage,N,browserslist.data);R=browserslist.usage[N]}else{if("dataByBrowser"in N){N=N.dataByBrowser}R={};for(var ie in N){for(var le in N[ie]){R[ie+" "+le]=N[ie][le]}}}return E.reduce((function(E,N){var j=R[N];if(j===undefined){j=R[N.replace(/ \S+$/," 0")]}return E+(j||0)}),0)};function nodeQuery(E,N){var R=j.filter((function(E){return E.name==="nodejs"}));var $=R.filter((function(E){return isVersionsMatch(E.version,N)}));if($.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+N+" of Node.js")}}return["node "+$[$.length-1].version]}function sinceQuery(E,N,R,j){N=parseInt(N);R=parseInt(R||"01")-1;j=parseInt(j||"01");return filterByYear(Date.UTC(N,R,j,0,0,0),E)}function coverQuery(E,N,R){N=parseFloat(N);var j=browserslist.usage.global;if(R){if(R.match(/^my\s+stats$/)){if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}j=E.customUsage}else{var $;if(R.length===2){$=R.toUpperCase()}else{$=R.toLowerCase()}ce.loadCountry(browserslist.usage,$,browserslist.data);j=browserslist.usage[$]}}var q=Object.keys(j).sort((function(E,N){return j[N]-j[E]}));var G=0;var ie=[];var le;for(var _e=0;_e<=q.length;_e++){le=q[_e];if(j[le]===0)break;G+=j[le];ie.push(le);if(G>=N)break}return ie}var Ie=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=getMajorVersions($.released,N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=$.released.slice(-N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,N){var R=getMajorVersions(Object.keys(ie),N);return R.map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=getMajorVersions(j.released,N);var q=$.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,N,E)}return q}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,N){return Object.keys(ie).slice(-N).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=j.released.slice(-N).map(nameMapper(j.name));if(j.name==="android"){$=filterAndroid($,N,E)}return $}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys($).reduce((function(N,R){var j=byName(R,E);if(!j)return N;var $=j.versions.filter((function(E){return j.released.indexOf(E)===-1}));$=$.map(nameMapper(j.name));return N.concat($)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,N){var R=checkName(N,E);return R.versions.filter((function(E){return R.released.indexOf(E)===-1})).map(nameMapper(R.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,N){return filterByYear(Date.now()-le*N,E)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(E,N,R){R=parseFloat(R);var j=browserslist.usage.global;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(E,N,R){R=parseFloat(R);if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var j=E.customUsage;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,N,R,j){R=parseFloat(R);var $=ce.loadStat(E,j,browserslist.data);if($){E.customUsage={};for(var q in $){fillUsage(E.customUsage,q,$[q])}}if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var G=E.customUsage;return Object.keys(G).reduce((function(E,j){if(N===">"){if(G[j]>R){E.push(j)}}else if(N==="<"){if(G[j]=R){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,N,R,j){R=parseFloat(R);if(j.length===2){j=j.toUpperCase()}else{j=j.toLowerCase()}ce.loadCountry(browserslist.usage,j,browserslist.data);var $=browserslist.usage[j];return Object.keys($).reduce((function(E,j){if(N===">"){if($[j]>R){E.push(j)}}else if(N==="<"){if($[j]=R){E.push(j)}return E}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(E,N){ce.loadFeature(browserslist.cache,N);var R=browserslist.cache[N];return Object.keys(R).reduce((function(E,N){var j=R[N];if(j.indexOf("y")>=0||j.indexOf("a")>=0){E.push(N)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(N);var $=normalizeElectron(R);if(!ie[j]){throw new ae("Unknown version "+N+" of electron")}if(!ie[$]){throw new ae("Unknown version "+R+" of electron")}N=parseFloat(N);R=parseFloat(R);return Object.keys(ie).filter((function(E){var j=parseFloat(E);return j>=N&&j<=R})).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(semverFilterLoose(">=",N)).filter(semverFilterLoose("<=",R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R,j){var $=checkName(N,E);R=parseFloat(normalizeVersion($,R)||R);j=parseFloat(normalizeVersion($,j)||j);function filter(E){var N=parseFloat(E);return N>=R&&N<=j}return $.released.filter(filter).map(nameMapper($.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(R);return Object.keys(ie).filter(generateFilter(N,j)).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(generateSemverFilter(N,R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,N,R,j){var $=checkName(N,E);var q=browserslist.versionAliases[$.name][j];if(q){j=q}return $.released.filter(generateFilter(R,j)).map((function(E){return $.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,N){var R=normalizeElectron(N);var j=ie[R];if(!j){throw new ae("Unknown version "+N+" of electron")}return["chrome "+j]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(E){return[ce.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var N=Date.now();var R=Object.keys(q).filter((function(E){return NDate.parse(q[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(R,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,N,R){if(/^tp$/i.test(R))R="TP";var j=checkName(N,E);var $=normalizeVersion(j,R);if($){R=$}else{if(R.indexOf(".")===-1){$=R+".0"}else{$=R.replace(/\.0$/,"")}$=normalizeVersion(j,$);if($){R=$}else if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+R+" of "+N)}}return[j.name+" "+R]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,N){return resolve(ce.loadQueries(E,N),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var N=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(N,E)}},{regexp:/^(\w+)$/i,select:function(E,N){if(byName(N,E)){throw new ae("Specify versions in Browserslist query for browser "+N)}else{throw unknownQuery(N)}}}];(function(){for(var E in $){var N=$[E];browserslist.data[E]={name:E,versions:normalize($[E].versions),released:normalize($[E].versions.slice(0,-3)),releaseDate:$[E].release_date};fillUsage(browserslist.usage.global,E,N.usage_global);browserslist.versionAliases[E]={};for(var R=0;R{var j=R(30048)["default"];var $=R(24356)["default"];var q=R(71017);var G=R(57147);var ie=R(72464);var ae=/^\s*\[(.+)]\s*$/;var ce=/^browserslist-config-/;var le=/@[^/]+\/browserslist-config(-|$|\/)/;var _e=6*30*24*60*60*1e3;var Te="Browserslist config should be a string or an array "+"of strings with browser queries";var Ee=false;var we={};var Ie={};function checkExtend(E){var N=" Use `dangerousExtend` option to disable.";if(!ce.test(E)&&!le.test(E)){throw new ie("Browserslist config needs `browserslist-config-` prefix. "+N)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ie("`.` not allowed in Browserslist config name. "+N)}if(E.indexOf("node_modules")!==-1){throw new ie("`node_modules` not allowed in Browserslist config."+N)}}function isFile(E){if(E in we){return we[E]}var N=G.existsSync(E)&&G.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){we[E]=N}return N}function eachParent(E,N){var R=isFile(E)?q.dirname(E):E;var j=q.resolve(R);do{var $=N(j);if(typeof $!=="undefined")return $}while(j!==(j=q.dirname(j)));return undefined}function check(E){if(Array.isArray(E)){for(var N=0;N{var N=Object.prototype.toString;var R=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(E){return N.call(E).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(E,N,j){N>>>=0;var $=E.byteLength-N;if($<0){throw new RangeError("'offset' is out of bounds")}if(j===undefined){j=$}else{j>>>=0;if(j>$){throw new RangeError("'length' is out of bounds")}}return R?Buffer.from(E.slice(N,N+j)):new Buffer(new Uint8Array(E.slice(N,N+j)))}function fromString(E,N){if(typeof N!=="string"||N===""){N="utf8"}if(!Buffer.isEncoding(N)){throw new TypeError('"encoding" must be a valid string encoding')}return R?Buffer.from(E,N):new Buffer(E,N)}function bufferFrom(E,N,j){if(typeof E==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(E)){return fromArrayBuffer(E,N,j)}if(typeof E==="string"){return fromString(E,N)}return R?Buffer.from(E):new Buffer(E)}E.exports=bufferFrom},12161:E=>{E.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.058856,1:.004204,2:.004204,3:.004525,4:.004271,5:.008408,6:.004538,7:.004267,8:.004204,9:.071468,hB:.012813,YB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,ZB:.004204,GB:.008408,aB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,VB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","YB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,hB:1161648e3,YB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,ZB:1520985600,GB:1525824e3,aB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,VB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{0:.008408,1:.004465,2:.004642,3:.004891,4:.008408,5:.02102,6:.214404,7:.004204,8:.016816,9:.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,ZB:.008408,GB:.016816,aB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,VB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,ZB:1496707200,GB:1500940800,aB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,VB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,WB:.058856,XB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","WB","C","XB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,WB:1522281600,C:1537142400,XB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{0:.008542,1:.004227,2:.004725,3:.008408,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,VB:0,wB:.00685,xB:0,yB:.008392,zB:.004706,WB:.006229,eB:.004879,"0B":.008786,XB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","WB","eB","0B","C","XB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,WB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,XB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3,VB:1623715200},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",WB:"o",eB:"o","0B":"o",XB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{YB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","YB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,YB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,WB:0,eB:0,XB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","WB","eB","C","XB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,WB:1314835200,eB:1318291200,C:1330300800,XB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"77",WB:"11.1",XB:"12.1",YB:"3",ZB:"59",aB:"61",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:E=>{E.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:E=>{E.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,N,R)=>{const{browsers:j}=R(59307);const $=R(57917).browserVersions;const q=R(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce(((N,R)=>{N[$[R]]=E[R];return N}),{})}E.exports.D=Object.keys(q).reduce(((E,N)=>{let R=q[N];E[j[N]]=Object.keys(R).reduce(((E,N)=>{if(N==="A"){E.usage_global=unpackBrowserVersions(R[N])}else if(N==="C"){E.versions=R[N].reduce(((E,N)=>{if(N===""){E.push(null)}else{E.push($[N])}return E}),[])}else if(N==="D"){E.prefix_exceptions=unpackBrowserVersions(R[N])}else if(N==="E"){E.browser=R[N]}else if(N==="F"){E.release_date=Object.keys(R[N]).reduce(((E,j)=>{E[$[j]]=R[N][j];return E}),{})}else{E.prefix=R[N]}return E}),{});return E}),{})},57917:(E,N,R)=>{E.exports.browserVersions=R(5682)},59307:(E,N,R)=>{E.exports.browsers=R(73238)},30048:(E,N,R)=>{const j=R(54994);const $=R(44909);const{browsers:q}=R(59307);const G=R(57917).browserVersions;const ie=Math.log(2);function unpackSupport(E){let N=Object.keys($).reduce(((N,R)=>{if(E&$[R])N.push(R);return N}),[]);let R=E>>7;let j=[];while(R){let E=Math.floor(Math.log(R)/ie)+1;j.unshift(`#${E}`);R-=Math.pow(2,E-1)}return N.concat(j).join(" ")}function unpackFeature(E){let N={status:j[E.B],title:E.C};N.stats=Object.keys(E.A).reduce(((N,R)=>{let j=E.A[R];N[q[R]]=Object.keys(j).reduce(((E,N)=>{let R=j[N].split(" ");let $=unpackSupport(N);R.forEach((N=>E[G[N]]=$));return E}),{});return N}),{});return N}E.exports=unpackFeature;E.exports["default"]=unpackFeature},24356:(E,N,R)=>{const{browsers:j}=R(59307);function unpackRegion(E){return Object.keys(E).reduce(((N,R)=>{let $=E[R];N[j[R]]=Object.keys($).reduce(((E,N)=>{let R=$[N];if(N==="_"){R.split(" ").forEach((N=>E[N]=null))}else{E[N]=R}return E}),{});return N}),{})}E.exports=unpackRegion;E.exports["default"]=unpackRegion},57347:(E,N,R)=>{"use strict";const j=R(11207);const{stdout:$,stderr:q}=R(96204);const{stringReplaceAll:G,stringEncaseCRLFWithFirstIndex:ie}=R(88445);const{isArray:ae}=Array;const ce=["ansi","ansi","ansi256","ansi16m"];const le=Object.create(null);const applyOptions=(E,N={})=>{if(N.level&&!(Number.isInteger(N.level)&&N.level>=0&&N.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const R=$?$.level:0;E.level=N.level===undefined?R:N.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const N={};applyOptions(N,E);N.template=(...E)=>chalkTag(N.template,...E);Object.setPrototypeOf(N,Chalk.prototype);Object.setPrototypeOf(N.template,N);N.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};N.template.Instance=ChalkClass;return N.template};function Chalk(E){return chalkFactory(E)}for(const[E,N]of Object.entries(j)){le[E]={get(){const R=createBuilder(this,createStyler(N.open,N.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:R});return R}}}le.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const _e=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of _e){le[E]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.color[ce[N]][E](...R),j.color.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}for(const E of _e){const N="bg"+E[0].toUpperCase()+E.slice(1);le[N]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.bgColor[ce[N]][E](...R),j.bgColor.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}const Te=Object.defineProperties((()=>{}),{...le,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,N,R)=>{let j;let $;if(R===undefined){j=E;$=N}else{j=R.openAll+E;$=N+R.closeAll}return{open:E,close:N,openAll:j,closeAll:$,parent:R}};const createBuilder=(E,N,R)=>{const builder=(...E)=>{if(ae(E[0])&&ae(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,Te);builder._generator=E;builder._styler=N;builder._isEmpty=R;return builder};const applyStyle=(E,N)=>{if(E.level<=0||!N){return E._isEmpty?"":N}let R=E._styler;if(R===undefined){return N}const{openAll:j,closeAll:$}=R;if(N.indexOf("")!==-1){while(R!==undefined){N=G(N,R.close,R.open);R=R.parent}}const q=N.indexOf("\n");if(q!==-1){N=ie(N,$,j,q)}return j+N+$};let Ee;const chalkTag=(E,...N)=>{const[j]=N;if(!ae(j)||!ae(j.raw)){return N.join(" ")}const $=N.slice(1);const q=[j.raw[0]];for(let E=1;E{"use strict";const N=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const R=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const j=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const $=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const q=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const N=E[0]==="u";const R=E[1]==="{";if(N&&!R&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(N&&R){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return q.get(E)||E}function parseArguments(E,N){const R=[];const q=N.trim().split(/\s*,\s*/g);let G;for(const N of q){const q=Number(N);if(!Number.isNaN(q)){R.push(q)}else if(G=N.match(j)){R.push(G[2].replace($,((E,N,R)=>N?unescape(N):R)))}else{throw new Error(`Invalid Chalk template style argument: ${N} (in style '${E}')`)}}return R}function parseStyle(E){R.lastIndex=0;const N=[];let j;while((j=R.exec(E))!==null){const E=j[1];if(j[2]){const R=parseArguments(E,j[2]);N.push([E].concat(R))}else{N.push([E])}}return N}function buildStyle(E,N){const R={};for(const E of N){for(const N of E.styles){R[N[0]]=E.inverse?null:N.slice(1)}}let j=E;for(const[E,N]of Object.entries(R)){if(!Array.isArray(N)){continue}if(!(E in j)){throw new Error(`Unknown Chalk style: ${E}`)}j=N.length>0?j[E](...N):j[E]}return j}E.exports=(E,R)=>{const j=[];const $=[];let q=[];R.replace(N,((N,R,G,ie,ae,ce)=>{if(R){q.push(unescape(R))}else if(ie){const N=q.join("");q=[];$.push(j.length===0?N:buildStyle(E,j)(N));j.push({inverse:G,styles:parseStyle(ie)})}else if(ae){if(j.length===0){throw new Error("Found extraneous } in Chalk template literal")}$.push(buildStyle(E,j)(q.join("")));q=[];j.pop()}else{q.push(ce)}}));$.push(q.join(""));if(j.length>0){const E=`Chalk template literal is missing ${j.length} closing bracket${j.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return $.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,N,R)=>{let j=E.indexOf(N);if(j===-1){return E}const $=N.length;let q=0;let G="";do{G+=E.substr(q,j-q)+N+R;q=j+$;j=E.indexOf(N,q)}while(j!==-1);G+=E.substr(q);return G};const stringEncaseCRLFWithFirstIndex=(E,N,R,j)=>{let $=0;let q="";do{const G=E[j-1]==="\r";q+=E.substr($,(G?j-1:j)-$)+N+(G?"\r\n":"\n")+R;$=j+1;j=E.indexOf("\n",$)}while(j!==-1);q+=E.substr($);return q};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j=R(5115);var $=R(12781);function evCommon(){var E=process.hrtime();var N=E[0]*1e6+Math.round(E[1]/1e3);return{ts:N,pid:process.pid,tid:process.pid}}var q=function(E){j.__extends(Tracer,E);function Tracer(N){if(N===void 0){N={}}var R=E.call(this)||this;R.noStream=false;R.events=[];if(typeof N!=="object"){throw new Error("Invalid options passed (must be an object)")}if(N.parent!=null&&typeof N.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(N.fields!=null&&typeof N.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(N.objectMode!=null&&(N.objectMode!==true&&N.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}R.noStream=N.noStream||false;R.parent=N.parent;if(R.parent){R.fields=Object.assign({},N.parent&&N.parent.fields)}else{R.fields={}}if(N.fields){Object.assign(R.fields,N.fields)}if(!R.fields.cat){R.fields.cat="default"}else if(Array.isArray(R.fields.cat)){R.fields.cat=R.fields.cat.join(",")}if(!R.fields.args){R.fields.args={}}if(R.parent){R._push=R.parent._push.bind(R.parent)}else{R._objectMode=Boolean(N.objectMode);var j={objectMode:R._objectMode};if(R._objectMode){R._push=R.push}else{R._push=R._pushString;j.encoding="utf8"}$.Readable.call(R,j)}return R}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,N=this.events;E{"use strict";E.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"91",13.1:"91","14.0":"93"}},57235:(E,N,R)=>{"use strict";const j=R(83881);const $=R(22471);E.exports=class AliasFieldPlugin{constructor(E,N,R){this.source=E;this.field=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((R,q,G)=>{if(!R.descriptionFileData)return G();const ie=$(E,R);if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const ce=Object.prototype.hasOwnProperty.call(ae,ie)?ae[ie]:ie.startsWith("./")?ae[ie.slice(2)]:undefined;if(ce===ie)return G();if(ce===undefined)return G();if(ce===false){const E={...R,path:false};if(typeof q.yield==="function"){q.yield(E);return G(null,null)}return G(null,E)}const le={...R,path:R.descriptionFileRoot,request:ce,fullySpecified:false};E.doResolve(N,le,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ie+"' to '"+ce+"'",q,((E,N)=>{if(E)return G(E);if(N===undefined)return G(null,null);G(null,N)}))}))}}},22002:(E,N,R)=>{"use strict";const j=R(43556);const{PathType:$,getType:q}=R(67411);E.exports=class AliasPlugin{constructor(E,N,R){this.source=E;this.options=Array.isArray(N)?N:[N];this.target=R}apply(E){const N=E.ensureHook(this.target);const getAbsolutePathWithSlashEnding=N=>{const R=q(N);if(R===$.AbsolutePosix||R===$.AbsoluteWin){return E.join(N,"_").slice(0,-1)}return null};const isSubPath=(E,N)=>{const R=getAbsolutePathWithSlashEnding(N);if(!R)return false;return E.startsWith(R)};E.getHook(this.source).tapAsync("AliasPlugin",((R,$,q)=>{const G=R.request||R.path;if(!G)return q();j(this.options,((q,ie)=>{let ae=false;if(G===q.name||!q.onlyModule&&(R.request?G.startsWith(`${q.name}/`):isSubPath(G,q.name))){const ce=G.substr(q.name.length);const resolveWithAlias=(j,ie)=>{if(j===false){const E={...R,path:false};if(typeof $.yield==="function"){$.yield(E);return ie(null,null)}return ie(null,E)}if(G!==j&&!G.startsWith(j+"/")){ae=true;const G=j+ce;const le={...R,request:G,fullySpecified:false};return E.doResolve(N,le,"aliased with mapping '"+q.name+"': '"+j+"' to '"+G+"'",$,((E,N)=>{if(E)return ie(E);if(N)return ie(null,N);return ie()}))}return ie()};const stoppingCallback=(E,N)=>{if(E)return ie(E);if(N)return ie(null,N);if(ae)return ie(null,null);return ie()};if(Array.isArray(q.alias)){return j(q.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(q.alias,stoppingCallback)}}return ie()}),q)}))}}},40803:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((R,j,$)=>{const q={...R,path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending};E.doResolve(N,q,this.appending,j,$)}))}}},67703:(E,N,R)=>{"use strict";const j=R(77282).nextTick;const dirname=E=>{let N=E.length-1;while(N>=0){const R=E.charCodeAt(N);if(R===47||R===92)break;N--}if(N<0)return"";return E.slice(0,N)};const runCallbacks=(E,N,R)=>{if(E.length===1){E[0](N,R);E.length=0;return}let j;for(const $ of E){try{$(N,R)}catch(E){if(!j)j=E}}E.length=0;if(j)throw j};class OperationMergerBackend{constructor(E,N,R){this._provider=E;this._syncProvider=N;this._providerContext=R;this._activeAsyncOperations=new Map;this.provide=this._provider?(N,R,j)=>{if(typeof R==="function"){j=R;R=undefined}if(R){return this._provider.call(this._providerContext,N,R,j)}if(typeof N!=="string"){j(new TypeError("path must be a string"));return}let $=this._activeAsyncOperations.get(N);if($){$.push(j);return}this._activeAsyncOperations.set(N,$=[j]);E(N,((E,R)=>{this._activeAsyncOperations.delete(N);runCallbacks($,E,R)}))}:null;this.provideSync=this._syncProvider?(E,N)=>this._syncProvider.call(this._providerContext,E,N):null}purge(){}purgeParent(){}}const $=0;const q=1;const G=2;class CacheBackend{constructor(E,N,R,j){this._duration=E;this._provider=N;this._syncProvider=R;this._providerContext=j;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let N=5e3;N{this._activeAsyncOperations.delete(E);this._storeResult(E,N,R);this._enterAsyncMode();runCallbacks(G,N,R)}))}provideSync(E,N){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(N){return this._syncProvider.call(this._providerContext,E,N)}if(this._mode===q){this._runDecays()}let R=this._data.get(E);if(R!==undefined){if(R.err)throw R.err;return R.result}const j=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let $;try{$=this._syncProvider.call(this._providerContext,E)}catch(N){this._storeResult(E,N,undefined);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,N,undefined);throw N}this._storeResult(E,undefined,$);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,undefined,$);return $}purge(E){if(!E){if(this._mode!==$){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[N,R]of this._data){if(N.startsWith(E)){this._data.delete(N);R.level.delete(N)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[N,R]of this._data){for(const j of E){if(N.startsWith(j)){this._data.delete(N);R.level.delete(N);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const N=new Set;for(const R of E){N.add(dirname(R))}this.purge(N)}}_storeResult(E,N,R){if(this._data.has(E))return;const j=this._levels[this._currentLevel];this._data.set(E,{err:N,result:R,level:j});j.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const N=this._levels[E];this._currentLevel=E;for(let E of N){this._data.delete(E)}N.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==$){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case G:return;case $:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case q:this._runDecays();if(this._mode===$)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=G;const N=setTimeout((()=>{this._mode=q;this._runDecays()}),E);if(N.unref)N.unref();this._timeout=N}_enterSyncModeWhenIdle(){if(this._mode===$){this._mode=q;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=$;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,N,R,j)=>{if(E>0){return new CacheBackend(E,N,R,j)}return new OperationMergerBackend(N,R,j)};E.exports=class CachedInputFileSystem{constructor(E,N){this.fileSystem=E;this._lstatBackend=createBackend(N,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const R=this._lstatBackend.provide;this.lstat=R;const j=this._lstatBackend.provideSync;this.lstatSync=j;this._statBackend=createBackend(N,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const $=this._statBackend.provide;this.stat=$;const q=this._statBackend.provideSync;this.statSync=q;this._readdirBackend=createBackend(N,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const G=this._readdirBackend.provide;this.readdir=G;const ie=this._readdirBackend.provideSync;this.readdirSync=ie;this._readFileBackend=createBackend(N,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const ce=this._readFileBackend.provideSync;this.readFileSync=ce;this._readJsonBackend=createBackend(N,this.fileSystem.readJson||this.readFile&&((E,N)=>{this.readFile(E,((E,R)=>{if(E)return N(E);if(!R||R.length===0)return N(new Error("No file content"));let j;try{j=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}N(null,j)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const N=this.readFileSync(E);const R=JSON.parse(N.toString("utf-8"));return R}),this.fileSystem);const le=this._readJsonBackend.provide;this.readJson=le;const _e=this._readJsonBackend.provideSync;this.readJsonSync=_e;this._readlinkBackend=createBackend(N,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const Te=this._readlinkBackend.provide;this.readlink=Te;const Ee=this._readlinkBackend.provideSync;this.readlinkSync=Ee}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},94511:(E,N,R)=>{"use strict";const j=R(69835).basename;E.exports=class CloneBasenamePlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((R,$,q)=>{const G=j(R.path);const ie=E.join(R.path,G);const ae={...R,path:ie,relativePath:R.relativePath&&E.join(R.relativePath,G)};E.doResolve(N,ae,"using path: "+ie,$,q)}))}}},61770:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,N,R,j,$){this.source=E;this.test=N;this.message=R;this.allowAlternatives=j;this.target=$}apply(E){const N=E.ensureHook(this.target);const{test:R,message:j,allowAlternatives:$}=this;const q=Object.keys(R);E.getHook(this.source).tapAsync("ConditionalPlugin",((G,ie,ae)=>{for(const E of q){if(G[E]!==R[E])return ae()}E.doResolve(N,G,j,ie,$?ae:(E,N)=>{if(E)return ae(E);if(N===undefined)return ae(null,null);ae(null,N)})}))}}},65943:(E,N,R)=>{"use strict";const j=R(83881);E.exports=class DescriptionFilePlugin{constructor(E,N,R,j){this.source=E;this.filenames=N;this.pathIsFile=R;this.target=j}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,$,q)=>{const G=R.path;if(!G)return q();const ie=this.pathIsFile?j.cdUp(G):G;if(!ie)return q();j.loadDescriptionFile(E,ie,this.filenames,R.descriptionFilePath?{path:R.descriptionFilePath,content:R.descriptionFileData,directory:R.descriptionFileRoot}:undefined,$,((j,ae)=>{if(j)return q(j);if(!ae){if($.log)$.log(`No description file found in ${ie} or above`);return q()}const ce="."+G.substr(ae.directory.length).replace(/\\/g,"/");const le={...R,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:ce};E.doResolve(N,le,"using description file: "+ae.path+" (relative path: "+ce+")",$,((E,N)=>{if(E)return q(E);if(N===undefined)return q(null,null);q(null,N)}))}))}))}}},83881:(E,N,R)=>{"use strict";const j=R(43556);function loadDescriptionFile(E,N,R,$,q,G){(function findDescriptionFile(){if($&&$.directory===N){return G(null,$)}j(R,((R,j)=>{const $=E.join(N,R);if(E.fileSystem.readJson){E.fileSystem.readJson($,((E,N)=>{if(E){if(typeof E.code!=="undefined"){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}return onJson(E)}if(q.fileDependencies){q.fileDependencies.add($)}onJson(null,N)}))}else{E.fileSystem.readFile($,((E,N)=>{if(E){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}let R;if(N){try{R=JSON.parse(N.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,R)}))}function onJson(E,R){if(E){if(q.log)q.log($+" (directory description file): "+E);else E.message=$+" (directory description file): "+E;return j(E)}j(null,{content:R,directory:N,path:$})}}),((E,R)=>{if(E)return G(E);if(R){return G(null,R)}else{const E=cdUp(N);if(!E){return G()}else{N=E;return findDescriptionFile()}}}))})()}function getField(E,N){if(!E)return undefined;if(Array.isArray(N)){let R=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,j,$)=>{const q=E.fileSystem;const G=R.path;if(!G)return $();q.stat(G,((q,ie)=>{if(q||!ie){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" doesn't exist");return $()}if(!ie.isDirectory()){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" is not a directory");return $()}if(j.fileDependencies)j.fileDependencies.add(G);E.doResolve(N,R,`existing directory ${G}`,j,$)}))}))}}},5109:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processExportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const{checkExportsFieldTarget:ae}=R(67411);E.exports=class ExportsFieldPlugin{constructor(E,N,R,j){this.source=E;this.target=j;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((R,ce,le)=>{if(!R.descriptionFilePath)return le();if(R.relativePath!=="."||R.request===undefined)return le();const _e=R.query||R.fragment?(R.request==="."?"./":R.request)+R.query+R.fragment:R.request;const Te=$.getField(R.descriptionFileData,this.fieldName);if(!Te)return le();if(R.directory){return le(new Error(`Resolving to directories is not possible with the exports field (request was ${_e}/)`))}let Ee;try{let E=this.fieldProcessorCache.get(R.descriptionFileData);if(E===undefined){E=G(Te);this.fieldProcessorCache.set(R.descriptionFileData,E)}Ee=E(_e,this.conditionNames)}catch(E){if(ce.log){ce.log(`Exports field in ${R.descriptionFilePath} can't be processed: ${E}`)}return le(E)}if(Ee.length===0){return le(new Error(`Package path ${_e} is not exported from package ${R.descriptionFileRoot} (see exports field in ${R.descriptionFilePath})`))}q(Ee,(($,q)=>{const G=ie($);if(!G)return q();const[le,_e,Te]=G;const Ee=ae(le);if(Ee){return q(Ee)}const we={...R,request:undefined,path:j.join(R.descriptionFileRoot,le),relativePath:le,query:_e,fragment:Te};E.doResolve(N,we,"using exports field: "+$,ce,q)}),((E,N)=>le(E,N||null)))}))}}},87876:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((j,$,q)=>{const G=j.path;if(!G)return q();R.stat(G,((R,ie)=>{if(R||!ie){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" doesn't exist");return q()}if(!ie.isFile()){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" is not a file");return q()}if($.fileDependencies)$.fileDependencies.add(G);E.doResolve(N,j,"existing file: "+G,$,q)}))}))}}},1825:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processImportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const ae=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,N,R,j,$){this.source=E;this.targetFile=j;this.targetPackage=$;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.targetFile);const R=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((ce,le,_e)=>{if(!ce.descriptionFilePath||ce.request===undefined){return _e()}const Te=ce.request+ce.query+ce.fragment;const Ee=$.getField(ce.descriptionFileData,this.fieldName);if(!Ee)return _e();if(ce.directory){return _e(new Error(`Resolving to directories is not possible with the imports field (request was ${Te}/)`))}let we;try{let E=this.fieldProcessorCache.get(ce.descriptionFileData);if(E===undefined){E=G(Ee);this.fieldProcessorCache.set(ce.descriptionFileData,E)}we=E(Te,this.conditionNames)}catch(E){if(le.log){le.log(`Imports field in ${ce.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(we.length===0){return _e(new Error(`Package import ${Te} is not imported from package ${ce.descriptionFileRoot} (see imports field in ${ce.descriptionFilePath})`))}q(we,(($,q)=>{const G=ie($);if(!G)return q();const[_e,Te,Ee]=G;switch(_e.charCodeAt(0)){case ae:{const R={...ce,request:undefined,path:j.join(ce.descriptionFileRoot,_e),relativePath:_e,query:Te,fragment:Ee};E.doResolve(N,R,"using imports field: "+$,le,q);break}default:{const N={...ce,request:_e,relativePath:_e,fullySpecified:true,query:Te,fragment:Ee};E.doResolve(R,N,"using imports field: "+$,le,q)}}}),((E,N)=>_e(E,N||null)))}))}}},91521:E=>{"use strict";const N="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",((j,$,q)=>{const G=j.request||"";let ie=G.indexOf("/",3);if(ie>=0&&G.charCodeAt(2)===N){ie=G.indexOf("/",ie+1)}let ae,ce,le;if(ie<0){ae=G;ce=".";le=false}else{ae=G.slice(0,ie);ce="."+G.slice(ie);le=j.fullySpecified}const _e={...j,path:E.join(j.path,ae),relativePath:j.relativePath&&E.join(j.relativePath,ae),request:ce,fullySpecified:le};E.doResolve(R,_e,null,$,q)}))}}},88277:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((R,j,$)=>{const q={...R,path:E.join(R.path,R.request),relativePath:R.relativePath&&E.join(R.relativePath,R.request),request:undefined};E.doResolve(N,q,null,j,$)}))}}},74934:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const N=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,R,j)=>{if(!R.log)return j();const $=R.log;const q="["+N+"] ";if(E.path)$(q+"Resolving in directory: "+E.path);if(E.request)$(q+"Resolving request: "+E.request);if(E.module)$(q+"Request is an module request.");if(E.directory)$(q+"Request is a directory request.");if(E.query)$(q+"Resolving request query: "+E.query);if(E.fragment)$(q+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)$(q+"Has description data from "+E.descriptionFilePath);if(E.relativePath)$(q+"Relative path from description file is: "+E.relativePath);j()}))}}},26713:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((R,G,ie)=>{if(R.path!==R.descriptionFileRoot||R[q]===R.descriptionFilePath||!R.descriptionFilePath)return ie();const ae=j.basename(R.descriptionFilePath);let ce=$.getField(R.descriptionFileData,this.options.name);if(!ce||typeof ce!=="string"||ce==="."||ce==="./"){return ie()}if(this.options.forceRelative&&!/^\.\.?\//.test(ce))ce="./"+ce;const le={...R,request:ce,module:false,directory:ce.endsWith("/"),[q]:R.descriptionFilePath};return E.doResolve(N,le,"use "+ce+" from "+this.options.name+" in "+ae,G,ie)}))}}},53191:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);E.exports=class ModulesInHierarchicalDirectoriesPlugin{constructor(E,N,R){this.source=E;this.directories=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",((R,q,G)=>{const ie=E.fileSystem;const ae=$(R.path).paths.map((N=>this.directories.map((R=>E.join(N,R))))).reduce(((E,N)=>{E.push.apply(E,N);return E}),[]);j(ae,((j,$)=>{ie.stat(j,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G={...R,path:j,request:"./"+R.request,module:false};const ie="looking for modules in "+j;return E.doResolve(N,G,ie,q,$)}if(q.log)q.log(j+" doesn't exist or is not a directory");if(q.missingDependencies)q.missingDependencies.add(j);return $()}))}),G)}))}}},22433:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,N,R){this.source=E;this.path=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,j,$)=>{const q={...R,path:this.path,request:"./"+R.request,module:false};E.doResolve(N,q,"looking for modules in "+this.path,j,$)}))}}},12276:E=>{"use strict";E.exports=class NextPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((R,j,$)=>{E.doResolve(N,R,null,j,$)}))}}},71121:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,N,R){this.source=E;this.requestOptions=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((R,j,$)=>{const q=E.parse(R.request);const G={...R,...q,...this.requestOptions};if(R.query&&!q.query){G.query=R.query}if(R.fragment&&!q.fragment){G.fragment=R.fragment}if(q&&j.log){if(q.module)j.log("Parsed request is a module");if(q.directory)j.log("Parsed request is a directory")}if(G.request&&!G.query&&G.fragment){const R=G.fragment.endsWith("/");const q={...G,directory:R,request:G.request+(G.directory?"/":"")+(R?G.fragment.slice(0,-1):G.fragment),fragment:""};E.doResolve(N,q,null,j,((R,q)=>{if(R)return $(R);if(q)return $(null,q);E.doResolve(N,G,null,j,$)}));return}E.doResolve(N,G,null,j,$)}))}}},10232:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,N,R){this.source=E;this.pnpApi=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((R,j,$)=>{const q=R.request;if(!q)return $();const G=`${R.path}/`;const ie=/^(@[^/]+\/)?[^/]+/.exec(q);if(!ie)return $();const ae=ie[0];const ce=`.${q.slice(ae.length)}`;let le;let _e;try{le=this.pnpApi.resolveToUnqualified(ae,G,{considerBuiltins:false});if(j.fileDependencies){_e=this.pnpApi.resolveToUnqualified("pnpapi",G,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if(j.log){j.log(`request is not managed by the pnpapi`);for(const N of E.message.split("\n").filter(Boolean))j.log(` ${N}`)}return $()}return $(E)}if(le===ae)return $();if(_e&&j.fileDependencies){j.fileDependencies.add(_e)}const Te={...R,path:le,request:ce,ignoreSymlinks:true,fullySpecified:R.fullySpecified&&ce!=="."};E.doResolve(N,Te,`resolved by pnp to ${le}`,j,((E,N)=>{if(E)return $(E);if(N)return $(null,N);return $(null,null)}))}))}}},33679:(E,N,R)=>{"use strict";const{AsyncSeriesBailHook:j,AsyncSeriesHook:$,SyncHook:q}=R(92960);const G=R(52227);const{parseIdentifier:ie}=R(48366);const{normalize:ae,cachedJoin:ce,getType:le,PathType:_e}=R(67411);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,N){return E.name+": ("+N.path+") "+(N.request||"")+(N.query||"")+(N.fragment||"")+(N.directory?" directory":"")+(N.module?" module":"")}constructor(E,N){this.fileSystem=E;this.options=N;this.hooks={resolveStep:new q(["hook","request"],"resolveStep"),noResolve:new q(["request","error"],"noResolve"),resolve:new j(["request","resolveContext"],"resolve"),result:new $(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){return this.hooks[E]=new j(["request","resolveContext"],E)}return N}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){throw new Error(`Hook ${E} doesn't exist`)}return N}resolveSync(E,N,R){let j=undefined;let $=undefined;let q=false;this.resolve(E,N,R,{},((E,N)=>{j=E;$=N;q=true}));if(!q){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(j)throw j;if($===undefined)throw new Error("No result");return $}resolve(E,N,R,j,$){if(!E||typeof E!=="object")return $(new Error("context argument is not an object"));if(typeof N!=="string")return $(new Error("path argument is not a string"));if(typeof R!=="string")return $(new Error("path argument is not a string"));if(!j)return $(new Error("resolveContext argument is not set"));const q={context:E,path:N,request:R};let G;let ie=false;let ae;if(typeof j.yield==="function"){const E=j.yield;G=N=>{E(N);ie=true};ae=E=>{if(E)G(E);$(null)}}const ce=`resolve '${R}' in '${N}'`;const finishResolved=E=>$(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const N=new Error("Can't "+ce);N.details=E.join("\n");this.hooks.noResolve.call(q,N);return $(N)};if(j.log){const E=j.log;const N=[];return this.doResolve(this.hooks.resolve,q,ce,{log:R=>{E(R);N.push(R)},yield:G,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,R)=>{if(E)return $(E);if(ie||R&&G)return ae(R);if(R)return finishResolved(R);return finishWithoutResolve(N)}))}else{return this.doResolve(this.hooks.resolve,q,ce,{log:undefined,yield:G,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,N)=>{if(E)return $(E);if(ie||N&&G)return ae(N);if(N)return finishResolved(N);const R=[];return this.doResolve(this.hooks.resolve,q,ce,{log:E=>R.push(E),yield:G,stack:j.stack},((E,N)=>{if(E)return $(E);if(ie||N&&G)return ae(N);return finishWithoutResolve(R)}))}))}}doResolve(E,N,R,j,$){const q=Resolver.createStackEntry(E,N);let ie;if(j.stack){ie=new Set(j.stack);if(j.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ie).join("\n "));E.recursion=true;if(j.log)j.log("abort resolving because of recursion");return $(E)}ie.add(q)}else{ie=new Set([q])}this.hooks.resolveStep.call(E,N);if(E.isUsed()){const q=G({log:j.log,yield:j.yield,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:ie},R);return E.callAsync(N,q,((E,N)=>{if(E)return $(E);if(N)return $(null,N);$()}))}else{$()}}parse(E){const N={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const R=ie(E);if(!R)return N;[N.request,N.query,N.fragment]=R;if(N.request.length>0){N.internal=this.isPrivate(E);N.module=this.isModule(N.request);N.directory=this.isDirectory(N.request);if(N.directory){N.request=N.request.substr(0,N.request.length-1)}}return N}isModule(E){return le(E)===_e.Normal}isPrivate(E){return le(E)===_e.Internal}isDirectory(E){return E.endsWith("/")}join(E,N){return ce(E,N)}normalize(E){return ae(E)}}E.exports=Resolver},57934:(E,N,R)=>{"use strict";const j=R(77282).versions;const $=R(33679);const{getType:q,PathType:G}=R(67411);const ie=R(64407);const ae=R(57235);const ce=R(22002);const le=R(40803);const _e=R(61770);const Te=R(65943);const Ee=R(32575);const we=R(5109);const Ie=R(87876);const Ne=R(1825);const Me=R(91521);const Le=R(88277);const Be=R(26713);const je=R(53191);const Ue=R(22433);const ze=R(12276);const We=R(71121);const Je=R(10232);const Ve=R(77398);const qe=R(46182);const He=R(89609);const Ge=R(68285);const Ke=R(44362);const Qe=R(68029);const Xe=R(62216);const Ye=R(55187);function processPnpApiOption(E){if(E===undefined&&j.pnp){return R(35125)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((N=>{const R={name:N,onlyModule:false,alias:E[N]};if(/\$$/.test(N)){R.onlyModule=true;R.name=N.substr(0,N.length-1)}return R})):E||[]}function createOptions(E){const N=new Set(E.mainFields||["main"]);const R=[];for(const E of N){if(typeof E==="string"){R.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){R.push({name:E,forceRelative:true})}else{R.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ie(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const N=q(E);return N===G.Normal||N===G.Relative})),mainFields:R,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}N.createResolver=function(E){const N=createOptions(E);const{alias:R,fallback:j,aliasFields:q,cachePredicate:G,cacheWithContext:ie,conditionNames:Ze,descriptionFiles:et,enforceExtension:tt,exportsFields:rt,importsFields:nt,extensions:it,fileSystem:ot,fullySpecified:st,mainFields:ct,mainFiles:ut,modules:dt,plugins:pt,pnpApi:ft,resolveToContext:mt,preferRelative:ht,preferAbsolute:_t,symlinks:yt,unsafeCache:vt,resolver:bt,restrictions:xt,roots:St}=N;const Tt=pt.slice();const Et=bt?bt:new $(ot,N);Et.ensureHook("resolve");Et.ensureHook("internalResolve");Et.ensureHook("newInternalResolve");Et.ensureHook("parsedResolve");Et.ensureHook("describedResolve");Et.ensureHook("internal");Et.ensureHook("rawModule");Et.ensureHook("module");Et.ensureHook("resolveAsModule");Et.ensureHook("undescribedResolveInPackage");Et.ensureHook("resolveInPackage");Et.ensureHook("resolveInExistingDirectory");Et.ensureHook("relative");Et.ensureHook("describedRelative");Et.ensureHook("directory");Et.ensureHook("undescribedExistingDirectory");Et.ensureHook("existingDirectory");Et.ensureHook("undescribedRawFile");Et.ensureHook("rawFile");Et.ensureHook("file");Et.ensureHook("finalFile");Et.ensureHook("existingFile");Et.ensureHook("resolved");Et.hooks.newInteralResolve=Et.hooks.newInternalResolve;for(const{source:E,resolveOptions:N}of[{source:"resolve",resolveOptions:{fullySpecified:st}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(vt){Tt.push(new Xe(E,G,vt,ie,`new-${E}`));Tt.push(new We(`new-${E}`,N,"parsed-resolve"))}else{Tt.push(new We(E,N,"parsed-resolve"))}}Tt.push(new Te("parsed-resolve",et,false,"described-resolve"));Tt.push(new ze("after-parsed-resolve","described-resolve"));Tt.push(new ze("described-resolve","normal-resolve"));if(j.length>0){Tt.push(new ce("described-resolve",j,"internal-resolve"))}if(R.length>0)Tt.push(new ce("normal-resolve",R,"internal-resolve"));q.forEach((E=>{Tt.push(new ae("normal-resolve",E,"internal-resolve"))}));if(ht){Tt.push(new Le("after-normal-resolve","relative"))}Tt.push(new _e("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Tt.push(new _e("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(_t){Tt.push(new Le("after-normal-resolve","relative"))}if(St.size>0){Tt.push(new He("after-normal-resolve",St,"relative"))}if(!ht&&!_t){Tt.push(new Le("after-normal-resolve","relative"))}nt.forEach((E=>{Tt.push(new Ne("internal",Ze,E,"relative","internal-resolve"))}));rt.forEach((E=>{Tt.push(new Ge("raw-module",E,"resolve-as-module"))}));dt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&ft){Tt.push(new je("raw-module",E.filter((E=>E!=="node_modules")),"module"));Tt.push(new Je("raw-module",ft,"undescribed-resolve-in-package"))}else{Tt.push(new je("raw-module",E,"module"))}}else{Tt.push(new Ue("raw-module",E,"module"))}}));Tt.push(new Me("module","resolve-as-module"));if(!mt){Tt.push(new _e("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Tt.push(new Ee("resolve-as-module","undescribed-resolve-in-package"));Tt.push(new Te("undescribed-resolve-in-package",et,false,"resolve-in-package"));Tt.push(new ze("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((E=>{Tt.push(new we("resolve-in-package",Ze,E,"relative"))}));Tt.push(new ze("resolve-in-package","resolve-in-existing-directory"));Tt.push(new Le("resolve-in-existing-directory","relative"));Tt.push(new Te("relative",et,true,"described-relative"));Tt.push(new ze("after-relative","described-relative"));if(mt){Tt.push(new ze("described-relative","directory"))}else{Tt.push(new _e("described-relative",{directory:false},null,true,"raw-file"));Tt.push(new _e("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Tt.push(new Ee("directory","undescribed-existing-directory"));if(mt){Tt.push(new ze("undescribed-existing-directory","resolved"))}else{Tt.push(new Te("undescribed-existing-directory",et,false,"existing-directory"));ut.forEach((E=>{Tt.push(new Ye("undescribed-existing-directory",E,"undescribed-raw-file"))}));ct.forEach((E=>{Tt.push(new Be("existing-directory",E,"resolve-in-existing-directory"))}));ut.forEach((E=>{Tt.push(new Ye("existing-directory",E,"undescribed-raw-file"))}));Tt.push(new Te("undescribed-raw-file",et,true,"raw-file"));Tt.push(new ze("after-undescribed-raw-file","raw-file"));Tt.push(new _e("raw-file",{fullySpecified:true},null,false,"file"));if(!tt){Tt.push(new Qe("raw-file","no extension","file"))}it.forEach((E=>{Tt.push(new le("raw-file",E,"file"))}));if(R.length>0)Tt.push(new ce("file",R,"internal-resolve"));q.forEach((E=>{Tt.push(new ae("file",E,"internal-resolve"))}));Tt.push(new ze("file","final-file"));Tt.push(new Ie("final-file","existing-file"));if(yt)Tt.push(new Ke("existing-file","existing-file"));Tt.push(new ze("existing-file","resolved"))}if(xt.size>0){Tt.push(new Ve(Et.hooks.resolved,xt))}Tt.push(new qe(Et.hooks.resolved));for(const E of Tt){if(typeof E==="function"){E.call(Et,Et)}else{E.apply(Et)}}return Et};function mergeFilteredToArray(E,N){const R=[];const j=new Set(E);for(const E of j){if(N(E)){const N=R.length>0?R[R.length-1]:undefined;if(Array.isArray(N)){N.push(E)}else{R.push([E])}}else{R.push(E)}}return R}},77398:E=>{"use strict";const N="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(E,j)=>{if(!E.startsWith(j))return false;if(E.length===j.length)return true;const $=E.charCodeAt(j.length);return $===N||$===R};E.exports=class RestrictionsPlugin{constructor(E,N){this.source=E;this.restrictions=N}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,N,R)=>{if(typeof E.path==="string"){const j=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside(j,E)){if(N.log){N.log(`${j} is not inside of the restriction ${E}`)}return R(null,null)}}else if(!E.test(j)){if(N.log){N.log(`${j} doesn't match the restriction ${E}`)}return R(null,null)}}}R()}))}}},46182:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((N,R,j)=>{const $={...N};if(R.log)R.log("reporting result "+$.path);E.hooks.result.callAsync($,R,(E=>{if(E)return j(E);if(typeof R.yield==="function"){R.yield($);j(null,null)}else{j(null,$)}}))}))}}},89609:(E,N,R)=>{"use strict";const j=R(43556);class RootsPlugin{constructor(E,N,R){this.roots=Array.from(N);this.source=E;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((R,$,q)=>{const G=R.request;if(!G)return q();if(!G.startsWith("/"))return q();j(this.roots,((j,q)=>{const ie=E.join(j,G.slice(1));const ae={...R,path:ie,relativePath:R.relativePath&&ie};E.doResolve(N,ae,`root path ${j}`,$,q)}),q)}))}}E.exports=RootsPlugin},68285:(E,N,R)=>{"use strict";const j=R(83881);const $="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,N,R){this.source=E;this.target=R;this.fieldName=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((R,q,G)=>{if(!R.descriptionFilePath)return G();const ie=R.request;if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.fieldName);if(!ae)return G();const ce=j.getField(R.descriptionFileData,"name");if(typeof ce!=="string")return G();if(ie.startsWith(ce)&&(ie.length===ce.length||ie.charCodeAt(ce.length)===$)){const j=`.${ie.slice(ce.length)}`;const $={...R,request:j,path:R.descriptionFileRoot,relativePath:"."};E.doResolve(N,$,"self reference",q,G)}else{return G()}}))}}},44362:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);const{getType:q,PathType:G}=R(67411);E.exports=class SymlinkPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ie,ae,ce)=>{if(ie.ignoreSymlinks)return ce();const le=$(ie.path);const _e=le.segments;const Te=le.paths;let Ee=false;let we=-1;j(Te,((E,N)=>{we++;if(ae.fileDependencies)ae.fileDependencies.add(E);R.readlink(E,((E,R)=>{if(!E&&R){_e[we]=R;Ee=true;const E=q(R.toString());if(E===G.AbsoluteWin||E===G.AbsolutePosix){return N(null,we)}}N()}))}),((R,j)=>{if(!Ee)return ce();const $=typeof j==="number"?_e.slice(0,j+1):_e.slice();const q=$.reduceRight(((N,R)=>E.join(N,R)));const G={...ie,path:q};E.doResolve(N,G,"resolved symlink to "+q,ae,ce)}))}))}}},64407:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const N=E.lstatSync;if(N){this.lstat=(R,j,$)=>{let q;try{q=N.call(E,R)}catch(E){return($||j)(E)}($||j)(null,q)};this.lstatSync=(R,j)=>N.call(E,R,j)}this.stat=(N,R,j)=>{let $;try{$=j?E.statSync(N,R):E.statSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.statSync=(N,R)=>E.statSync(N,R);this.readdir=(N,R,j)=>{let $;try{$=E.readdirSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readdirSync=(N,R)=>E.readdirSync(N,R);this.readFile=(N,R,j)=>{let $;try{$=E.readFileSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readFileSync=(N,R)=>E.readFileSync(N,R);this.readlink=(N,R,j)=>{let $;try{$=E.readlinkSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readlinkSync=(N,R)=>E.readlinkSync(N,R);this.readJson=undefined;this.readJsonSync=undefined;const R=E.readJsonSync;if(R){this.readJson=(N,j,$)=>{let q;try{q=R.call(E,N)}catch(E){return($||j)(E)}($||j)(null,q)};this.readJsonSync=(N,j)=>R.call(E,N,j)}}E.exports=SyncAsyncFileSystemDecorator},68029:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,N,R){this.source=E;this.message=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((R,j,$)=>{E.doResolve(N,R,this.message,j,$)}))}}},62216:E=>{"use strict";function getCacheId(E,N,R){return JSON.stringify({type:E,context:R?N.context:"",path:N.path,query:N.query,fragment:N.fragment,request:N.request})}E.exports=class UnsafeCachePlugin{constructor(E,N,R,j,$){this.source=E;this.filterPredicate=N;this.withContext=j;this.cache=R;this.target=$}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,j,$)=>{if(!this.filterPredicate(R))return $();const q=typeof j.yield==="function";const G=getCacheId(q?"yield":"default",R,this.withContext);const ie=this.cache[G];if(ie){if(q){const E=j.yield;if(Array.isArray(ie)){for(const N of ie)E(N)}else{E(ie)}return $(null,null)}return $(null,ie)}let ae;let ce;const le=[];if(q){ae=j.yield;ce=E=>{le.push(E)}}E.doResolve(N,R,null,ce?{...j,yield:ce}:j,((E,N)=>{if(E)return $(E);if(q){if(N)le.push(N);for(const E of le)ae(E);this.cache[G]=le;return $(null,null)}if(N)return $(null,this.cache[G]=N);$()}))}))}}},55187:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,N,R){this.source=E;this.filename=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((R,j,$)=>{const q=E.join(R.path,this.filename);const G={...R,path:q,relativePath:R.relativePath&&E.join(R.relativePath,this.filename)};E.doResolve(N,G,"using path: "+q,j,$)}))}}},52227:E=>{"use strict";E.exports=function createInnerContext(E,N,R){let j=false;let $=undefined;if(E.log){if(N){$=R=>{if(!j){E.log(N);j=true}E.log(" "+R)}}else{$=E.log}}const q={log:$,yield:E.yield,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return q}},43556:E=>{"use strict";E.exports=function forEachBail(E,N,R){if(E.length===0)return R();let j=0;const next=()=>{let $=undefined;N(E[j++],((N,q)=>{if(N||q!==undefined||j>=E.length){return R(N,q)}if($===false)while(next());$=true}));if(!$)$=false;return $};while(next());}},22471:E=>{"use strict";E.exports=function getInnerRequest(E,N){if(typeof N.__innerRequest==="string"&&N.__innerRequest_request===N.request&&N.__innerRequest_relativePath===N.relativePath)return N.__innerRequest;let R;if(N.request){R=N.request;if(/^\.\.?(?:\/|$)/.test(R)&&N.relativePath){R=E.join(N.relativePath,R)}}else{R=N.relativePath}N.__innerRequest_request=N.request;N.__innerRequest_relativePath=N.relativePath;return N.__innerRequest=R}},69835:E=>{"use strict";E.exports=function getPaths(E){if(E==="/")return{paths:["/"],segments:[""]};const N=E.split(/(.*?[\\/]+)/);const R=[E];const j=[N[N.length-1]];let $=N[N.length-1];E=E.substr(0,E.length-$.length-1);for(let q=N.length-2;q>2;q-=2){R.push(E);$=N[q];E=E.substr(0,E.length-$.length)||"/";j.push($.substr(0,$.length-1))}$=N[1];j.push($);R.push($);return{paths:R,segments:j}};E.exports.basename=function basename(E){const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N{"use strict";const j=R(15808);const $=R(67703);const q=R(57934);const G=new $(j,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:G});function resolve(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}ae.resolve(E,N,R,j,$)}const ce=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});function resolveSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return ce.resolveSync(E,N,R)}function create(E){E={fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j,$,q){if(typeof E==="string"){q=$;$=j;j=R;R=E;E=ie}if(typeof q!=="function"){q=$}N.resolve(E,R,j,$,q)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j){if(typeof E==="string"){j=R;R=E;E=ie}return N.resolveSync(E,R,j)}}const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);Object.defineProperties(E,R);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:q,CachedInputFileSystem:$,get CloneBasenamePlugin(){return R(94511)},get LogInfoPlugin(){return R(74934)},get forEachBail(){return R(43556)}})},4077:E=>{"use strict";const N="/".charCodeAt(0);const R=".".charCodeAt(0);const j="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,N,R){return function fieldProcessor(j,$){j=N(j);const q=findMatch(j,E);if(q===null)return[];const[G,ie]=q;let ae=null;if(isConditionalMapping(G)){ae=conditionalMapping(G,$);if(ae===null)return[]}else{ae=G}const ce=ie===j.length+1?undefined:ie<0?j.slice(-ie-1):j.slice(ie);return directMapping(ce,ie<0,ae,$,R)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==R){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==N){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==j){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===N){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,j){if(E.charCodeAt(0)===N||E.charCodeAt(0)===R&&E.charCodeAt(1)!==N){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const $=E.charCodeAt(E.length-1)===N;if($!==j){throw new Error(j?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,R){const j=E.charCodeAt(E.length-1)===N;if(j!==R){throw new Error(R?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,N){if(E.length===0){const E=N.files.get("");return E?[E,1]:null}if(N.children===null&&N.folder===null&&N.wildcards===null){const R=N.files.get(E);return R?[R,E.length+1]:null}let R=N;let j=0;let $=E.indexOf("/",0);let q=null;const applyFolderMapping=()=>{const E=R.folder;if(E){if(q){q[0]=E;q[1]=-j-1}else{q=[E,-j-1]}}};const applyWildcardMappings=(E,N)=>{if(E){for(const[R,$]of E){if(N.startsWith(R)){if(!q){q=[$,j+R.length]}else if(q[1]0?E.slice(j):E;const ie=R.files.get(G);if(ie){return[ie,E.length+1]}applyFolderMapping();applyWildcardMappings(R.wildcards,G);return q}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,N,R,j,$){if(R===null)return[];if(typeof R==="string"){return[targetMapping(E,N,R,$)]}const q=[];for(const G of R){if(typeof G==="string"){q.push(targetMapping(E,N,G,$));continue}const R=conditionalMapping(G,j);if(!R)continue;const ie=directMapping(E,N,R,j,$);for(const E of ie){q.push(E)}}return q}function targetMapping(E,N,R,j){if(E===undefined){j(R,false);return R}if(N){j(R,true);return R+E}j(R,false);return R.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,N){let R=[[E,Object.keys(E),0]];e:while(R.length>0){const[E,j,$]=R[R.length-1];const q=j.length-1;for(let G=$;G=N.length){j.folder=R}else{const E=$>0?N.slice($):N;if(E.endsWith("*")){if(j.wildcards===null)j.wildcards=new Map;j.wildcards.set(E.slice(0,-1),R)}else{j.files.set(E,R)}}}function buildExportsFieldPathTree(E){const j=createNode();if(typeof E==="string"){j.files.set("",E);return j}else if(Array.isArray(E)){j.files.set("",E.slice());return j}const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==R){if(q===0){while(q<$.length){const E=$[q].charCodeAt(0);if(E===R||E===N){throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}q++}j.files.set("",E);return j}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}if(G.length===1){j.files.set("",E[G]);continue}if(G.charCodeAt(1)!==N){throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(G)})`)}walkPath(j,G.slice(2),E[G])}return j}function buildImportsFieldPathTree(E){const R=createNode();const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==j){throw new Error(`Imports field key should start with "#" (key: ${JSON.stringify(G)})`)}if(G.length===1){throw new Error(`Imports field key should have at least 2 characters (key: ${JSON.stringify(G)})`)}if(G.charCodeAt(1)===N){throw new Error(`Imports field key should not start with "#/" (key: ${JSON.stringify(G)})`)}walkPath(R,G.slice(1),E[G])}return R}},48366:E=>{"use strict";const N=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const R=N.exec(E);if(!R)return null;return[R[1].replace(/\0(.)/g,"$1"),R[2]?R[2].replace(/\0(.)/g,"$1"):"",R[3]||""]}E.exports.parseIdentifier=parseIdentifier},67411:(E,N,R)=>{"use strict";const j=R(71017);const $="#".charCodeAt(0);const q="/".charCodeAt(0);const G="\\".charCodeAt(0);const ie="A".charCodeAt(0);const ae="Z".charCodeAt(0);const ce="a".charCodeAt(0);const le="z".charCodeAt(0);const _e=".".charCodeAt(0);const Te=":".charCodeAt(0);const Ee=j.posix.normalize;const we=j.win32.normalize;const Ie=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});N.PathType=Ie;const getType=E=>{switch(E.length){case 0:return Ie.Empty;case 1:{const N=E.charCodeAt(0);switch(N){case _e:return Ie.Relative;case q:return Ie.AbsolutePosix;case $:return Ie.Internal}return Ie.Normal}case 2:{const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case _e:case q:return Ie.Relative}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Te){if(N>=ie&&N<=ae||N>=ce&&N<=le){return Ie.AbsoluteWin}}return Ie.Normal}}const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case q:return Ie.Relative;case _e:{const N=E.charCodeAt(2);if(N===q)return Ie.Relative;return Ie.Normal}}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Te){const R=E.charCodeAt(2);if((R===G||R===q)&&(N>=ie&&N<=ae||N>=ce&&N<=le)){return Ie.AbsoluteWin}}return Ie.Normal};N.getType=getType;const normalize=E=>{switch(getType(E)){case Ie.Empty:return E;case Ie.AbsoluteWin:return we(E);case Ie.Relative:{const N=Ee(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Ee(E)};N.normalize=normalize;const join=(E,N)=>{if(!N)return normalize(E);const R=getType(N);switch(R){case Ie.AbsolutePosix:return Ee(N);case Ie.AbsoluteWin:return we(N)}switch(getType(E)){case Ie.Normal:case Ie.Relative:case Ie.AbsolutePosix:return Ee(`${E}/${N}`);case Ie.AbsoluteWin:return we(`${E}\\${N}`)}switch(R){case Ie.Empty:return E;case Ie.Relative:{const N=Ee(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Ee(E)};N.join=join;const Ne=new Map;const cachedJoin=(E,N)=>{let R;let j=Ne.get(E);if(j===undefined){Ne.set(E,j=new Map)}else{R=j.get(N);if(R!==undefined)return R}R=join(E,N);j.set(N,R);return R};N.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let N=2;let R=E.indexOf("/",2);let j=0;while(R!==-1){const $=E.slice(N,R);switch($){case"..":{j--;if(j<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:j++;break}N=R+1;R=E.indexOf("/",N)}};N.checkExportsFieldTarget=checkExportsFieldTarget},16950:(E,N,R)=>{"use strict";const j=R(78120);class Definition{constructor(E,N,R,j,$,q){this.type=E;this.name=N;this.node=R;this.parent=j;this.index=$;this.kind=q}}class ParameterDefinition extends Definition{constructor(E,N,R,$){super(j.Parameter,E,N,null,R,null);this.rest=$}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,N,R)=>{"use strict";const j=R(39491);const $=R(60018);const q=R(36337);const G=R(24552);const ie=R(78120);const ae=R(98699).Scope;const ce=R(83196).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,N){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const R in N){if(Object.prototype.hasOwnProperty.call(N,R)){const j=N[R];if(isHashObject(j)){if(isHashObject(E[R])){updateDeeply(E[R],j)}else{E[R]=updateDeeply({},j)}}else{E[R]=j}}}return E}function analyze(E,N){const R=updateDeeply(defaultOptions(),N);const G=new $(R);const ie=new q(R,G);ie.visit(E);j(G.__currentScope===null,"currentScope should be null.");return G}E.exports={version:ce,Reference:G,Variable:ie,Scope:ae,ScopeManager:$,analyze:analyze}},29630:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends $.Visitor{static isPattern(E){const N=E.type;return N===j.Identifier||N===j.ObjectPattern||N===j.ArrayPattern||N===j.SpreadElement||N===j.RestElement||N===j.AssignmentPattern}constructor(E,N,R){super(null,E);this.rootPattern=N;this.callback=R;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const N=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:N!==null&&N!==undefined&&N.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let N=0,R=E.elements.length;N{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const N=1;const R=2;const j=N|R;class Reference{constructor(E,N,R,j,$,q,G){this.identifier=E;this.from=N;this.tainted=false;this.resolved=null;this.flag=R;if(this.isWrite()){this.writeExpr=j;this.partial=q;this.init=G}this.__maybeImplicitGlobal=$}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=N;Reference.WRITE=R;Reference.RW=j;E.exports=Reference},36337:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);const q=R(24552);const G=R(78120);const ie=R(29630);const ae=R(16950);const ce=R(39491);const le=ae.ParameterDefinition;const _e=ae.Definition;function traverseIdentifierInPattern(E,N,R,j){const $=new ie(E,N,j);$.visit(N);if(R!==null&&R!==undefined){$.rightHandNodes.forEach(R.visit,R)}}class Importer extends $.Visitor{constructor(E,N){super(null,N.options);this.declaration=E;this.referencer=N}visitImport(E,N){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new _e(G.ImportBinding,E,N,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const N=E.local||E.id;if(N){this.visitImport(N,E)}}ImportDefaultSpecifier(E){const N=E.local||E.id;this.visitImport(N,E)}ImportSpecifier(E){const N=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(N,E)}}}class Referencer extends $.Visitor{constructor(E,N){super(null,E);this.options=E;this.scopeManager=N;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const N=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return N}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,N,R,j){const $=this.currentScope();N.forEach((N=>{$.__referencing(E,q.WRITE,N.right,R,E!==N.left,j)}))}visitPattern(E,N,R){let j=N;let $=R;if(typeof N==="function"){$=N;j={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,j.processRightHandNodes?this:null,$)}visitFunction(E){let N,R;if(E.type===j.FunctionDeclaration){this.currentScope().__define(E.id,new _e(G.FunctionName,E.id,E,null,null,null))}if(E.type===j.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const $=this;function visitPatternCallback(R,j){$.currentScope().__define(R,new le(R,E,N,j.rest));$.referencingDefaultValue(R,j.assignments,null,true)}for(N=0,R=E.params.length;N{this.currentScope().__define(N,new le(N,E,E.params.length,true))}))}if(E.body){if(E.body.type===j.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===j.ClassDeclaration){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let N;if(E.computed){this.visit(E.key)}const R=E.type===j.MethodDefinition;if(R){N=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(R){this.popInnerMethodDefinition(N)}}visitForIn(E){if(E.left.type===j.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===j.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(N=>{this.currentScope().__referencing(N,q.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,N,R,j){const $=R.declarations[j];const G=$.init;this.visitPattern($.id,{processRightHandNodes:true},((ie,ae)=>{E.__define(ie,new _e(N,ie,$,R,j,R.kind));this.referencingDefaultValue(ie,ae.assignments,null,true);if(G){this.currentScope().__referencing(ie,q.WRITE,G,null,!ae.topLevel,true)}}))}AssignmentExpression(E){if(ie.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,!R.topLevel,false)}))}else{this.currentScope().__referencing(E.left,q.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((N,R)=>{this.currentScope().__define(N,new _e(G.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(N,R.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ie.isPattern(E.argument)){this.currentScope().__referencing(E.argument,q.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===j.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===j.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const N=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let R=0,j=E.declarations.length;R{"use strict";const j=R(98699);const $=R(39491);const q=j.GlobalScope;const G=j.CatchScope;const ie=j.WithScope;const ae=j.ModuleScope;const ce=j.ClassScope;const le=j.SwitchScope;const _e=j.FunctionScope;const Te=j.ForScope;const Ee=j.FunctionExpressionNameScope;const we=j.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,N){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const R=this.__get(E);if(!R||R.length===0){return null}if(R.length===1){return R[0]}if(N){for(let E=R.length-1;E>=0;--E){const N=R[E];if(predicate(N)){return N}}}else{for(let E=0,N=R.length;E=6}}E.exports=ScopeManager},98699:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(24552);const q=R(78120);const G=R(16950).Definition;const ie=R(39491);function isStrictScope(E,N,R,$){let q;if(E.upper&&E.upper.isStrict){return true}if(R){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(N.type===j.ArrowFunctionExpression&&N.body.type!==j.BlockStatement){return false}if(N.type===j.Program){q=N}else{q=N.body}if(!q){return false}}else if(E.type==="global"){q=N}else{return false}if($){for(let E=0,N=q.body.length;E0&&j.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let N=this;do{N.through.push(E);N=N.upper}while(N)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let N;if(this.__shouldStaticallyClose(E)){N=this.__staticCloseRef}else if(this.type!=="global"){N=this.__dynamicCloseRef}else{N=this.__globalCloseRef}for(let E=0,R=this.__left.length;EE.name.range[0]>=R)))}}class ForScope extends Scope{constructor(E,N,R){super(E,"for",N,R,false)}}class ClassScope extends Scope{constructor(E,N,R){super(E,"class",N,R,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,N){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=N}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,N,R)=>{(function(){"use strict";var E=R(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(N,R){return(N===E.Syntax.ObjectExpression||N===E.Syntax.ObjectPattern)&&R==="properties"}function Visitor(N,R){R=R||{};this.__visitor=N||this;this.__childVisitorKeys=R.childVisitorKeys?Object.assign({},E.VisitorKeys,R.childVisitorKeys):E.VisitorKeys;if(R.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof R.fallback==="function"){this.__fallback=R.fallback}}Visitor.prototype.visitChildren=function(N){var R,j,$,q,G,ie,ae;if(N==null){return}R=N.type||E.Syntax.Property;j=this.__childVisitorKeys[R];if(!j){if(this.__fallback){j=this.__fallback(N)}else{throw new Error("Unknown node type "+R+".")}}for($=0,q=j.length;${(function clone(E){"use strict";var N,R,j,$,q,G;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};$={};q={};G={};R={Break:$,Skip:q,Remove:G};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R=0;--R){if(E[R].node===N){return true}}return false}Controller.prototype.traverse=function traverse(E,N){var R,j,G,ie,ae,ce,le,_e,Te,Ee,we,Ie;this.__initialize(E,N);Ie={};R=this.__worklist;j=this.__leavelist;R.push(new Element(E,null,null,null));j.push(new Element(null,null,null,null));while(R.length){G=R.pop();if(G===Ie){G=j.pop();ce=this.__execute(N.leave,G);if(this.__state===$||ce===$){return}continue}if(G.node){ce=this.__execute(N.enter,G);if(this.__state===$||ce===$){return}R.push(Ie);j.push(G);if(this.__state===q||ce===q){continue}ie=G.node;ae=ie.type||G.wrap;Ee=this.__keys[ae];if(!Ee){if(this.__fallback){Ee=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}_e=Ee.length;while((_e-=1)>=0){le=Ee[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Te=we.length;while((Te-=1)>=0){if(!we[Te]){continue}if(candidateExistsInLeaveList(j,we[Te])){continue}if(isProperty(ae,Ee[_e])){G=new Element(we[Te],[le,Te],"Property",null)}else if(isNode(we[Te])){G=new Element(we[Te],[le,Te],null,null)}else{continue}R.push(G)}}else if(isNode(we)){if(candidateExistsInLeaveList(j,we)){continue}R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,ie,ae,ce,le,_e,Te,Ee,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key=0){Me=Ee[_e];we=ie[Me];if(!we){continue}if(Array.isArray(we)){Te=we.length;while((Te-=1)>=0){if(!we[Te]){continue}if(isProperty(ae,Ee[_e])){le=new Element(we[Te],[Me,Te],"Property",new Reference(we,Te))}else if(isNode(we[Te])){le=new Element(we[Te],[Me,Te],null,new Reference(we,Te))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference(ie,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,j){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!j.length){if(N.length){for(ie=0,G=N.length;ieE.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return R.Break}if($[ae].extendedRange[0]>E.range[1]){return R.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]E.range[1]){return R.Skip}}});return E}E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=j;E.VisitorOption=R;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},92105:(E,N,R)=>{(function clone(E){"use strict";var N,j,$,q,G,ie;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};q={};G={};ie={};j={Break:q,Skip:G,Remove:ie};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R=0){le=Ee[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Te=we.length;while((Te-=1)>=0){if(!we[Te]){continue}if(isProperty(ae,Ee[_e])){$=new Element(we[Te],[le,Te],"Property",null)}else if(isNode(we[Te])){$=new Element(we[Te],[le,Te],null,null)}else{continue}R.push($)}}else if(isNode(we)){R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,$,ae,ce,le,_e,Te,Ee,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key=0){Me=Ee[_e];we=$[Me];if(!we){continue}if(Array.isArray(we)){Te=we.length;while((Te-=1)>=0){if(!we[Te]){continue}if(isProperty(ae,Ee[_e])){le=new Element(we[Te],[Me,Te],"Property",new Reference(we,Te))}else if(isNode(we[Te])){le=new Element(we[Te],[Me,Te],null,new Reference(we,Te))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference($,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,R){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!R.length){if(N.length){for(ie=0,G=N.length;ieE.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return j.Break}if($[ae].extendedRange[0]>E.range[1]){return j.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]E.range[1]){return j.Skip}}});return E}E.version=R(42600).i8;E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=$;E.VisitorOption=j;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},55245:E=>{"use strict";E.exports=function equal(E,N){if(E===N)return true;if(E&&N&&typeof E=="object"&&typeof N=="object"){if(E.constructor!==N.constructor)return false;var R,j,$;if(Array.isArray(E)){R=E.length;if(R!=N.length)return false;for(j=R;j--!==0;)if(!equal(E[j],N[j]))return false;return true}if(E.constructor===RegExp)return E.source===N.source&&E.flags===N.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===N.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===N.toString();$=Object.keys(E);R=$.length;if(R!==Object.keys(N).length)return false;for(j=R;j--!==0;)if(!Object.prototype.hasOwnProperty.call(N,$[j]))return false;for(j=R;j--!==0;){var q=$[j];if(!equal(E[q],N[q]))return false}return true}return E!==E&&N!==N}},75986:E=>{"use strict";E.exports=function(E,N){if(!N)N={};if(typeof N==="function")N={cmp:N};var R=typeof N.cycles==="boolean"?N.cycles:false;var j=N.cmp&&function(E){return function(N){return function(R,j){var $={key:R,value:N[R]};var q={key:j,value:N[j]};return E($,q)}}}(N.cmp);var $=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var N,q;if(Array.isArray(E)){q="[";for(N=0;N{E.exports=function(E,N){if(typeof E!=="string"){throw new TypeError("Expected a string")}var R=String(E);var j="";var $=N?!!N.extended:false;var q=N?!!N.globstar:false;var G=false;var ie=N&&typeof N.flags==="string"?N.flags:"";var ae;for(var ce=0,le=R.length;ce1&&(_e==="/"||_e===undefined)&&(Ee==="/"||Ee===undefined);if(we){j+="((?:[^/]*(?:/|$))*)";ce++}else{j+="([^/]*)"}}break;default:j+=ae}}if(!ie||!~ie.indexOf("g")){j="^"+j+"$"}return new RegExp(j,ie)}},40858:E=>{"use strict";E.exports=clone;var N=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var R={__proto__:N(E)};else var R=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(N){Object.defineProperty(R,N,Object.getOwnPropertyDescriptor(E,N))}));return R}},15808:(E,N,R)=>{var j=R(57147);var $=R(82444);var q=R(94073);var G=R(40858);var ie=R(73837);var ae;var ce;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");ce=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";ce="___graceful-fs.previous"}function noop(){}function publishQueue(E,N){Object.defineProperty(E,ae,{get:function(){return N}})}var le=noop;if(ie.debuglog)le=ie.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))le=function(){var E=ie.format.apply(ie,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!j[ae]){var _e=global[ae]||[];publishQueue(j,_e);j.close=function(E){function close(N,R){return E.call(j,N,(function(E){if(!E){resetQueue()}if(typeof R==="function")R.apply(this,arguments)}))}Object.defineProperty(close,ce,{value:E});return close}(j.close);j.closeSync=function(E){function closeSync(N){E.apply(j,arguments);resetQueue()}Object.defineProperty(closeSync,ce,{value:E});return closeSync}(j.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){le(j[ae]);R(39491).equal(j[ae].length,0)}))}}if(!global[ae]){publishQueue(global,j[ae])}E.exports=patch(G(j));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!j.__patched){E.exports=patch(j);j.__patched=true}function patch(E){$(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var N=E.readFile;E.readFile=readFile;function readFile(E,R,j){if(typeof R==="function")j=R,R=null;return go$readFile(E,R,j);function go$readFile(E,R,j,$){return N(E,R,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$readFile,[E,R,j],N,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var R=E.writeFile;E.writeFile=writeFile;function writeFile(E,N,j,$){if(typeof j==="function")$=j,j=null;return go$writeFile(E,N,j,$);function go$writeFile(E,N,j,$,q){return R(E,N,j,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$writeFile,[E,N,j,$],R,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var j=E.appendFile;if(j)E.appendFile=appendFile;function appendFile(E,N,R,$){if(typeof R==="function")$=R,R=null;return go$appendFile(E,N,R,$);function go$appendFile(E,N,R,$,q){return j(E,N,R,(function(j){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$appendFile,[E,N,R,$],j,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var G=E.copyFile;if(G)E.copyFile=copyFile;function copyFile(E,N,R,j){if(typeof R==="function"){j=R;R=0}return go$copyFile(E,N,R,j);function go$copyFile(E,N,R,j,$){return G(E,N,R,(function(q){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$copyFile,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var ie=E.readdir;E.readdir=readdir;function readdir(E,N,R){if(typeof N==="function")R=N,N=null;return go$readdir(E,N,R);function go$readdir(E,N,R,j){return ie(E,N,(function($,q){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$readdir,[E,N,R],$,j||Date.now(),Date.now()]);else{if(q&&q.sort)q.sort();if(typeof R==="function")R.call(this,$,q)}}))}}if(process.version.substr(0,4)==="v0.8"){var ae=q(E);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var ce=E.ReadStream;if(ce){ReadStream.prototype=Object.create(ce.prototype);ReadStream.prototype.open=ReadStream$open}var le=E.WriteStream;if(le){WriteStream.prototype=Object.create(le.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var _e=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return _e},set:function(E){_e=E},enumerable:true,configurable:true});var Te=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return Te},set:function(E){Te=E},enumerable:true,configurable:true});function ReadStream(E,N){if(this instanceof ReadStream)return ce.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){if(E.autoClose)E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R);E.read()}}))}function WriteStream(E,N){if(this instanceof WriteStream)return le.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R)}}))}function createReadStream(N,R){return new E.ReadStream(N,R)}function createWriteStream(N,R){return new E.WriteStream(N,R)}var Ee=E.open;E.open=open;function open(E,N,R,j){if(typeof R==="function")j=R,R=null;return go$open(E,N,R,j);function go$open(E,N,R,j,$){return Ee(E,N,R,(function(q,G){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$open,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}return E}function enqueue(E){le("ENQUEUE",E[0].name,E[1]);j[ae].push(E);retry()}var Te;function resetQueue(){var E=Date.now();for(var N=0;N2){j[ae][N][3]=E;j[ae][N][4]=E}}retry()}function retry(){clearTimeout(Te);Te=undefined;if(j[ae].length===0)return;var E=j[ae].shift();var N=E[0];var R=E[1];var $=E[2];var q=E[3];var G=E[4];if(q===undefined){le("RETRY",N.name,R);N.apply(null,R)}else if(Date.now()-q>=6e4){le("TIMEOUT",N.name,R);var ie=R.pop();if(typeof ie==="function")ie.call(null,$)}else{var ce=Date.now()-G;var _e=Math.max(G-q,1);var Ee=Math.min(_e*1.2,100);if(ce>=Ee){le("RETRY",N.name,R);N.apply(null,R.concat([q]))}else{j[ae].push(E)}}if(Te===undefined){Te=setTimeout(retry,0)}}},94073:(E,N,R)=>{var j=R(12781).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(N,R){if(!(this instanceof ReadStream))return new ReadStream(N,R);j.call(this);var $=this;this.path=N;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;R=R||{};var q=Object.keys(R);for(var G=0,ie=q.length;Gthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){$._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,N){if(E){$.emit("error",E);$.readable=false;return}$.fd=N;$.emit("open",N);$._read()}))}function WriteStream(N,R){if(!(this instanceof WriteStream))return new WriteStream(N,R);j.call(this);this.path=N;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;R=R||{};var $=Object.keys(R);for(var q=0,G=$.length;q= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,N,R)=>{var j=R(22057);var $=process.cwd;var q=null;var G=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!q)q=$.call(process);return q};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ie=process.chdir;process.chdir=function(E){q=null;ie.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ie)}E.exports=patch;function patch(E){if(j.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,N,R){if(R)process.nextTick(R)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,N,R,j){if(j)process.nextTick(j)};E.lchownSync=function(){}}if(G==="win32"){E.rename=function(N){return function(R,j,$){var q=Date.now();var G=0;N(R,j,(function CB(ie){if(ie&&(ie.code==="EACCES"||ie.code==="EPERM")&&Date.now()-q<6e4){setTimeout((function(){E.stat(j,(function(E,q){if(E&&E.code==="ENOENT")N(R,j,CB);else $(ie)}))}),G);if(G<100)G+=10;return}if($)$(ie)}))}}(E.rename)}E.read=function(N){function read(R,j,$,q,G,ie){var ae;if(ie&&typeof ie==="function"){var ce=0;ae=function(le,_e,Te){if(le&&le.code==="EAGAIN"&&ce<10){ce++;return N.call(E,R,j,$,q,G,ae)}ie.apply(this,arguments)}}return N.call(E,R,j,$,q,G,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,N);return read}(E.read);E.readSync=function(N){return function(R,j,$,q,G){var ie=0;while(true){try{return N.call(E,R,j,$,q,G)}catch(E){if(E.code==="EAGAIN"&&ie<10){ie++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(N,R,$){E.open(N,j.O_WRONLY|j.O_SYMLINK,R,(function(N,j){if(N){if($)$(N);return}E.fchmod(j,R,(function(N){E.close(j,(function(E){if($)$(N||E)}))}))}))};E.lchmodSync=function(N,R){var $=E.openSync(N,j.O_WRONLY|j.O_SYMLINK,R);var q=true;var G;try{G=E.fchmodSync($,R);q=false}finally{if(q){try{E.closeSync($)}catch(E){}}else{E.closeSync($)}}return G}}function patchLutimes(E){if(j.hasOwnProperty("O_SYMLINK")){E.lutimes=function(N,R,$,q){E.open(N,j.O_SYMLINK,(function(N,j){if(N){if(q)q(N);return}E.futimes(j,R,$,(function(N){E.close(j,(function(E){if(q)q(N||E)}))}))}))};E.lutimesSync=function(N,R,$){var q=E.openSync(N,j.O_SYMLINK);var G;var ie=true;try{G=E.futimesSync(q,R,$);ie=false}finally{if(ie){try{E.closeSync(q)}catch(E){}}else{E.closeSync(q)}}return G}}else{E.lutimes=function(E,N,R,j){if(j)process.nextTick(j)};E.lutimesSync=function(){}}}function chmodFix(N){if(!N)return N;return function(R,j,$){return N.call(E,R,j,(function(E){if(chownErOk(E))E=null;if($)$.apply(this,arguments)}))}}function chmodFixSync(N){if(!N)return N;return function(R,j){try{return N.call(E,R,j)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(N){if(!N)return N;return function(R,j,$,q){return N.call(E,R,j,$,(function(E){if(chownErOk(E))E=null;if(q)q.apply(this,arguments)}))}}function chownFixSync(N){if(!N)return N;return function(R,j,$){try{return N.call(E,R,j,$)}catch(E){if(!chownErOk(E))throw E}}}function statFix(N){if(!N)return N;return function(R,j,$){if(typeof j==="function"){$=j;j=null}function callback(E,N){if(N){if(N.uid<0)N.uid+=4294967296;if(N.gid<0)N.gid+=4294967296}if($)$.apply(this,arguments)}return j?N.call(E,R,j,callback):N.call(E,R,callback)}}function statFixSync(N){if(!N)return N;return function(R,j){var $=j?N.call(E,R,j):N.call(E,R);if($.uid<0)$.uid+=4294967296;if($.gid<0)$.gid+=4294967296;return $}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var N=!process.getuid||process.getuid()!==0;if(N){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,N=process.argv)=>{const R=E.startsWith("-")?"":E.length===1?"-":"--";const j=N.indexOf(R+E);const $=N.indexOf("--");return j!==-1&&($===-1||j<$)}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,N,R){R=R||20;try{return JSON.parse(E,N)}catch(N){if(typeof E!=="string"){const N=Array.isArray(E)&&E.length===0;const R="Cannot parse "+(N?"an empty array":String(E));throw new TypeError(R)}const j=N.message.match(/^Unexpected token.*position\s+(\d+)/i);const $=j?+j[1]:N.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if($!=null){const j=$<=R?0:$-R;const q=$+R>=E.length?E.length:$+R;N.message+=` while parsing near '${j===0?"":"..."}${E.slice(j,q)}${q===E.length?"":"..."}'`}else{N.message+=` while parsing '${E.slice(0,R*2)}'`}throw N}}},46833:E=>{"use strict";var N=E.exports=function(E,N,R){if(typeof N=="function"){R=N;N={}}R=N.cb||R;var j=typeof R=="function"?R:R.pre||function(){};var $=R.post||function(){};_traverse(N,j,$,E,"",E)};N.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};N.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};N.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};N.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,R,j,$,q,G,ie,ae,ce,le){if($&&typeof $=="object"&&!Array.isArray($)){R($,q,G,ie,ae,ce,le);for(var _e in $){var Te=$[_e];if(Array.isArray(Te)){if(_e in N.arrayKeywords){for(var Ee=0;Ee{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,N,R)=>{var j=R(57147);var $=j.readFile.bind(j);var q=R(45658);function utf8BufferToString(E){var N=E.toString("utf-8");if(N.charCodeAt(0)===65279){return N.substr(1)}else{return N}}const G=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var N=G.exec(E);return{path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}}function dirname(E){if(E==="/")return"/";var N=E.lastIndexOf("/");var R=E.lastIndexOf("\\");var j=E.indexOf("/");var $=E.indexOf("\\");var q=N>R?N:R;var G=N>R?j:$;if(q<0)return E;if(q===G)return E.substr(0,q+1);return E.substr(0,q)}function createLoaderObject(E){var N={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(N,"request",{enumerable:true,get:function(){return N.path.replace(/#/g,"\0#")+N.query.replace(/#/g,"\0#")+N.fragment},set:function(E){if(typeof E==="string"){var R=parsePathQueryFragment(E);N.path=R.path;N.query=R.query;N.fragment=R.fragment;N.options=undefined;N.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");N.path=E.loader;N.fragment=E.fragment||"";N.type=E.type;N.options=E.options;N.ident=E.ident;if(N.options===null)N.query="";else if(N.options===undefined)N.query="";else if(typeof N.options==="string")N.query="?"+N.options;else if(N.ident)N.query="??"+N.ident;else if(typeof N.options==="object"&&N.options.ident)N.query="??"+N.options.ident;else N.query="?"+JSON.stringify(N.options)}}});N.request=E;if(Object.preventExtensions){Object.preventExtensions(N)}return N}function runSyncOrAsync(E,N,R,j){var $=true;var q=false;var G=false;var ie=false;N.async=function async(){if(q){if(ie)return;throw new Error("async(): The callback was already called.")}$=false;return ae};var ae=N.callback=function(){if(q){if(ie)return;throw new Error("callback(): The callback was already called.")}q=true;$=false;try{j.apply(null,arguments)}catch(E){G=true;throw E}};try{var ce=function LOADER_EXECUTION(){return E.apply(N,R)}();if($){q=true;if(ce===undefined)return j();if(ce&&typeof ce==="object"&&typeof ce.then==="function"){return ce.then((function(E){j(null,E)}),j)}return j(null,ce)}}catch(E){if(G)throw E;if(q){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}q=true;ie=true;j(E)}}function convertArgs(E,N){if(!N&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(N&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,N,R){if(N.loaderIndex>=N.loaders.length)return processResource(E,N,R);var j=N.loaders[N.loaderIndex];if(j.pitchExecuted){N.loaderIndex++;return iteratePitchingLoaders(E,N,R)}q(j,(function($){if($){N.cacheable(false);return R($)}var q=j.pitch;j.pitchExecuted=true;if(!q)return iteratePitchingLoaders(E,N,R);runSyncOrAsync(q,N,[N.remainingRequest,N.previousRequest,j.data={}],(function(j){if(j)return R(j);var $=Array.prototype.slice.call(arguments,1);var q=$.some((function(E){return E!==undefined}));if(q){N.loaderIndex--;iterateNormalLoaders(E,N,$,R)}else{iteratePitchingLoaders(E,N,R)}}))}))}function processResource(E,N,R){N.loaderIndex=N.loaders.length-1;var j=N.resourcePath;if(j){E.processResource(N,j,(function(j,$){if(j)return R(j);E.resourceBuffer=$;iterateNormalLoaders(E,N,[$],R)}))}else{iterateNormalLoaders(E,N,[null],R)}}function iterateNormalLoaders(E,N,R,j){if(N.loaderIndex<0)return j(null,R);var $=N.loaders[N.loaderIndex];if($.normalExecuted){N.loaderIndex--;return iterateNormalLoaders(E,N,R,j)}var q=$.normal;$.normalExecuted=true;if(!q){return iterateNormalLoaders(E,N,R,j)}convertArgs(R,$.raw);runSyncOrAsync(q,N,R,(function(R){if(R)return j(R);var $=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,N,$,j)}))}N.getContext=function getContext(E){var N=parsePathQueryFragment(E).path;return dirname(N)};N.runLoaders=function runLoaders(E,N){var R=E.resource||"";var j=E.loaders||[];var q=E.context||{};var G=E.processResource||((E,N,R,j)=>{N.addDependency(R);E(R,j)}).bind(null,E.readResource||$);var ie=R&&parsePathQueryFragment(R);var ae=ie?ie.path:undefined;var ce=ie?ie.query:undefined;var le=ie?ie.fragment:undefined;var _e=ae?dirname(ae):null;var Te=true;var Ee=[];var we=[];var Ie=[];j=j.map(createLoaderObject);q.context=_e;q.loaderIndex=0;q.loaders=j;q.resourcePath=ae;q.resourceQuery=ce;q.resourceFragment=le;q.async=null;q.callback=null;q.cacheable=function cacheable(E){if(E===false){Te=false}};q.dependency=q.addDependency=function addDependency(E){Ee.push(E)};q.addContextDependency=function addContextDependency(E){we.push(E)};q.addMissingDependency=function addMissingDependency(E){Ie.push(E)};q.getDependencies=function getDependencies(){return Ee.slice()};q.getContextDependencies=function getContextDependencies(){return we.slice()};q.getMissingDependencies=function getMissingDependencies(){return Ie.slice()};q.clearDependencies=function clearDependencies(){Ee.length=0;we.length=0;Ie.length=0;Te=true};Object.defineProperty(q,"resource",{enumerable:true,get:function(){if(q.resourcePath===undefined)return undefined;return q.resourcePath.replace(/#/g,"\0#")+q.resourceQuery.replace(/#/g,"\0#")+q.resourceFragment},set:function(E){var N=E&&parsePathQueryFragment(E);q.resourcePath=N?N.path:undefined;q.resourceQuery=N?N.query:undefined;q.resourceFragment=N?N.fragment:undefined}});Object.defineProperty(q,"request",{enumerable:true,get:function(){return q.loaders.map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"remainingRequest",{enumerable:true,get:function(){if(q.loaderIndex>=q.loaders.length-1&&!q.resource)return"";return q.loaders.slice(q.loaderIndex+1).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"currentRequest",{enumerable:true,get:function(){return q.loaders.slice(q.loaderIndex).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"previousRequest",{enumerable:true,get:function(){return q.loaders.slice(0,q.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(q,"query",{enumerable:true,get:function(){var E=q.loaders[q.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(q,"data",{enumerable:true,get:function(){return q.loaders[q.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(q)}var Ne={resourceBuffer:null,processResource:G};iteratePitchingLoaders(Ne,q,(function(E,R){if(E){return N(E,{cacheable:Te,fileDependencies:Ee,contextDependencies:we,missingDependencies:Ie})}N(null,{result:R,resourceBuffer:Ne.resourceBuffer,cacheable:Te,fileDependencies:Ee,contextDependencies:we,missingDependencies:Ie})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,N,R){if(typeof N!=="function"&&typeof N!=="object"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof N==="function"?N:N.default;E.pitch=N.pitch;E.raw=N.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}R()}},99930:(E,N,R)=>{"use strict";const j=R(83314);const $=Symbol("max");const q=Symbol("length");const G=Symbol("lengthCalculator");const ie=Symbol("allowStale");const ae=Symbol("maxAge");const ce=Symbol("dispose");const le=Symbol("noDisposeOnSet");const _e=Symbol("lruList");const Te=Symbol("cache");const Ee=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(E){if(typeof E==="number")E={max:E};if(!E)E={};if(E.max&&(typeof E.max!=="number"||E.max<0))throw new TypeError("max must be a non-negative number");const N=this[$]=E.max||Infinity;const R=E.length||naiveLength;this[G]=typeof R!=="function"?naiveLength:R;this[ie]=E.stale||false;if(E.maxAge&&typeof E.maxAge!=="number")throw new TypeError("maxAge must be a number");this[ae]=E.maxAge||0;this[ce]=E.dispose;this[le]=E.noDisposeOnSet||false;this[Ee]=E.updateAgeOnGet||false;this.reset()}set max(E){if(typeof E!=="number"||E<0)throw new TypeError("max must be a non-negative number");this[$]=E||Infinity;trim(this)}get max(){return this[$]}set allowStale(E){this[ie]=!!E}get allowStale(){return this[ie]}set maxAge(E){if(typeof E!=="number")throw new TypeError("maxAge must be a non-negative number");this[ae]=E;trim(this)}get maxAge(){return this[ae]}set lengthCalculator(E){if(typeof E!=="function")E=naiveLength;if(E!==this[G]){this[G]=E;this[q]=0;this[_e].forEach((E=>{E.length=this[G](E.value,E.key);this[q]+=E.length}))}trim(this)}get lengthCalculator(){return this[G]}get length(){return this[q]}get itemCount(){return this[_e].length}rforEach(E,N){N=N||this;for(let R=this[_e].tail;R!==null;){const j=R.prev;forEachStep(this,E,R,N);R=j}}forEach(E,N){N=N||this;for(let R=this[_e].head;R!==null;){const j=R.next;forEachStep(this,E,R,N);R=j}}keys(){return this[_e].toArray().map((E=>E.key))}values(){return this[_e].toArray().map((E=>E.value))}reset(){if(this[ce]&&this[_e]&&this[_e].length){this[_e].forEach((E=>this[ce](E.key,E.value)))}this[Te]=new Map;this[_e]=new j;this[q]=0}dump(){return this[_e].map((E=>isStale(this,E)?false:{k:E.key,v:E.value,e:E.now+(E.maxAge||0)})).toArray().filter((E=>E))}dumpLru(){return this[_e]}set(E,N,R){R=R||this[ae];if(R&&typeof R!=="number")throw new TypeError("maxAge must be a number");const j=R?Date.now():0;const ie=this[G](N,E);if(this[Te].has(E)){if(ie>this[$]){del(this,this[Te].get(E));return false}const G=this[Te].get(E);const ae=G.value;if(this[ce]){if(!this[le])this[ce](E,ae.value)}ae.now=j;ae.maxAge=R;ae.value=N;this[q]+=ie-ae.length;ae.length=ie;this.get(E);trim(this);return true}const Ee=new Entry(E,N,ie,j,R);if(Ee.length>this[$]){if(this[ce])this[ce](E,N);return false}this[q]+=Ee.length;this[_e].unshift(Ee);this[Te].set(E,this[_e].head);trim(this);return true}has(E){if(!this[Te].has(E))return false;const N=this[Te].get(E).value;return!isStale(this,N)}get(E){return get(this,E,true)}peek(E){return get(this,E,false)}pop(){const E=this[_e].tail;if(!E)return null;del(this,E);return E.value}del(E){del(this,this[Te].get(E))}load(E){this.reset();const N=Date.now();for(let R=E.length-1;R>=0;R--){const j=E[R];const $=j.e||0;if($===0)this.set(j.k,j.v);else{const E=$-N;if(E>0){this.set(j.k,j.v,E)}}}}prune(){this[Te].forEach(((E,N)=>get(this,N,false)))}}const get=(E,N,R)=>{const j=E[Te].get(N);if(j){const N=j.value;if(isStale(E,N)){del(E,j);if(!E[ie])return undefined}else{if(R){if(E[Ee])j.value.now=Date.now();E[_e].unshiftNode(j)}}return N.value}};const isStale=(E,N)=>{if(!N||!N.maxAge&&!E[ae])return false;const R=Date.now()-N.now;return N.maxAge?R>N.maxAge:E[ae]&&R>E[ae]};const trim=E=>{if(E[q]>E[$]){for(let N=E[_e].tail;E[q]>E[$]&&N!==null;){const R=N.prev;del(E,N);N=R}}};const del=(E,N)=>{if(N){const R=N.value;if(E[ce])E[ce](R.key,R.value);E[q]-=R.length;E[Te].delete(R.key);E[_e].removeNode(N)}};class Entry{constructor(E,N,R,j,$){this.key=E;this.value=N;this.length=R;this.now=j;this.maxAge=$||0}}const forEachStep=(E,N,R,j)=>{let $=R.value;if(isStale(E,$)){del(E,R);if(!E[ie])$=undefined}if($)N.call(j,$.value,$.key,E)};E.exports=LRUCache},33089:(E,N,R)=>{"use strict";const{PassThrough:j}=R(12781);E.exports=function(){var E=[];var N=new j({objectMode:true});N.setMaxListeners(0);N.add=add;N.isEmpty=isEmpty;N.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return N;function add(R){if(Array.isArray(R)){R.forEach(add);return this}E.push(R);R.once("end",remove.bind(null,R));R.once("error",N.emit.bind(N,"error"));R.pipe(N,{end:false});return this}function isEmpty(){return E.length==0}function remove(R){E=E.filter((function(E){return E!==R}));if(!E.length&&N.readable){N.end()}}}},93509:(E,N,R)=>{"use strict";const j=R(73837);const $=R(52303);const q=R(5782);const G=R(2661);const isEmptyString=E=>E===""||E==="./";const micromatch=(E,N,R)=>{N=[].concat(N);E=[].concat(E);let j=new Set;let $=new Set;let G=new Set;let ie=0;let onResult=E=>{G.add(E.output);if(R&&R.onResult){R.onResult(E)}};for(let G=0;G!j.has(E)));if(R&&ce.length===0){if(R.failglob===true){throw new Error(`No matches found for "${N.join(", ")}"`)}if(R.nonull===true||R.nullglob===true){return R.unescape?N.map((E=>E.replace(/\\/g,""))):N}}return ce};micromatch.match=micromatch;micromatch.matcher=(E,N)=>q(E,N);micromatch.isMatch=(E,N,R)=>q(N,R)(E);micromatch.any=micromatch.isMatch;micromatch.not=(E,N,R={})=>{N=[].concat(N).map(String);let j=new Set;let $=[];let onResult=E=>{if(R.onResult)R.onResult(E);$.push(E.output)};let q=micromatch(E,N,{...R,onResult:onResult});for(let E of $){if(!q.includes(E)){j.add(E)}}return[...j]};micromatch.contains=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}if(Array.isArray(N)){return N.some((N=>micromatch.contains(E,N,R)))}if(typeof N==="string"){if(isEmptyString(E)||isEmptyString(N)){return false}if(E.includes(N)||E.startsWith("./")&&E.slice(2).includes(N)){return true}}return micromatch.isMatch(E,N,{...R,contains:true})};micromatch.matchKeys=(E,N,R)=>{if(!G.isObject(E)){throw new TypeError("Expected the first argument to be an object")}let j=micromatch(Object.keys(E),N,R);let $={};for(let N of j)$[N]=E[N];return $};micromatch.some=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(j.some((E=>N(E)))){return true}}return false};micromatch.every=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(!j.every((E=>N(E)))){return false}}return true};micromatch.all=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}return[].concat(N).every((N=>q(N,R)(E)))};micromatch.capture=(E,N,R)=>{let j=G.isWindows(R);let $=q.makeRe(String(E),{...R,capture:true});let ie=$.exec(j?G.toPosixSlashes(N):N);if(ie){return ie.slice(1).map((E=>E===void 0?"":E))}};micromatch.makeRe=(...E)=>q.makeRe(...E);micromatch.scan=(...E)=>q.scan(...E);micromatch.parse=(E,N)=>{let R=[];for(let j of[].concat(E||[])){for(let E of $(String(j),N)){R.push(q.parse(E,N))}}return R};micromatch.braces=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");if(N&&N.nobrace===true||!/\{.*\}/.test(E)){return[E]}return $(E,N)};micromatch.braceExpand=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");return micromatch.braces(E,{...N,expand:true})};E.exports=micromatch},52303:(E,N,R)=>{"use strict";const j=R(96476);const $=R(92730);const q=R(59e3);const G=R(87640);const braces=(E,N={})=>{let R=[];if(Array.isArray(E)){for(let j of E){let E=braces.create(j,N);if(Array.isArray(E)){R.push(...E)}else{R.push(E)}}}else{R=[].concat(braces.create(E,N))}if(N&&N.expand===true&&N.nodupes===true){R=[...new Set(R)]}return R};braces.parse=(E,N={})=>G(E,N);braces.stringify=(E,N={})=>{if(typeof E==="string"){return j(braces.parse(E,N),N)}return j(E,N)};braces.compile=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}return $(E,N)};braces.expand=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}let R=q(E,N);if(N.noempty===true){R=R.filter(Boolean)}if(N.nodupes===true){R=[...new Set(R)]}return R};braces.create=(E,N={})=>{if(E===""||E.length<3){return[E]}return N.expand!==true?braces.compile(E,N):braces.expand(E,N)};E.exports=braces},92730:(E,N,R)=>{"use strict";const j=R(21877);const $=R(37490);const compile=(E,N={})=>{let walk=(E,R={})=>{let q=$.isInvalidBrace(R);let G=E.invalid===true&&N.escapeInvalid===true;let ie=q===true||G===true;let ae=N.escapeInvalid===true?"\\":"";let ce="";if(E.isOpen===true){return ae+E.value}if(E.isClose===true){return ae+E.value}if(E.type==="open"){return ie?ae+E.value:"("}if(E.type==="close"){return ie?ae+E.value:")"}if(E.type==="comma"){return E.prev.type==="comma"?"":ie?E.value:"|"}if(E.value){return E.value}if(E.nodes&&E.ranges>0){let R=$.reduce(E.nodes);let q=j(...R,{...N,wrap:false,toRegex:true});if(q.length!==0){return R.length>1&&q.length>1?`(${q})`:q}}if(E.nodes){for(let N of E.nodes){ce+=walk(N,E)}}return ce};return walk(E)};E.exports=compile},22656:E=>{"use strict";E.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:" ",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:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},59e3:(E,N,R)=>{"use strict";const j=R(21877);const $=R(96476);const q=R(37490);const append=(E="",N="",R=false)=>{let j=[];E=[].concat(E);N=[].concat(N);if(!N.length)return E;if(!E.length){return R?q.flatten(N).map((E=>`{${E}}`)):N}for(let $ of E){if(Array.isArray($)){for(let E of $){j.push(append(E,N,R))}}else{for(let E of N){if(R===true&&typeof E==="string")E=`{${E}}`;j.push(Array.isArray(E)?append($,E,R):$+E)}}}return q.flatten(j)};const expand=(E,N={})=>{let R=N.rangeLimit===void 0?1e3:N.rangeLimit;let walk=(E,G={})=>{E.queue=[];let ie=G;let ae=G.queue;while(ie.type!=="brace"&&ie.type!=="root"&&ie.parent){ie=ie.parent;ae=ie.queue}if(E.invalid||E.dollar){ae.push(append(ae.pop(),$(E,N)));return}if(E.type==="brace"&&E.invalid!==true&&E.nodes.length===2){ae.push(append(ae.pop(),["{}"]));return}if(E.nodes&&E.ranges>0){let G=q.reduce(E.nodes);if(q.exceedsLimit(...G,N.step,R)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let ie=j(...G,N);if(ie.length===0){ie=$(E,N)}ae.push(append(ae.pop(),ie));E.nodes=[];return}let ce=q.encloseBrace(E);let le=E.queue;let _e=E;while(_e.type!=="brace"&&_e.type!=="root"&&_e.parent){_e=_e.parent;le=_e.queue}for(let N=0;N{"use strict";const j=R(96476);const{MAX_LENGTH:$,CHAR_BACKSLASH:q,CHAR_BACKTICK:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_LEFT_PARENTHESES:ce,CHAR_RIGHT_PARENTHESES:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_RIGHT_CURLY_BRACE:Te,CHAR_LEFT_SQUARE_BRACKET:Ee,CHAR_RIGHT_SQUARE_BRACKET:we,CHAR_DOUBLE_QUOTE:Ie,CHAR_SINGLE_QUOTE:Ne,CHAR_NO_BREAK_SPACE:Me,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Le}=R(22656);const parse=(E,N={})=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}let R=N||{};let Be=typeof R.maxLength==="number"?Math.min($,R.maxLength):$;if(E.length>Be){throw new SyntaxError(`Input length (${E.length}), exceeds max characters (${Be})`)}let je={type:"root",input:E,nodes:[]};let Ue=[je];let ze=je;let We=je;let Je=0;let Ve=E.length;let qe=0;let He=0;let Ge;let Ke={};const advance=()=>E[qe++];const push=E=>{if(E.type==="text"&&We.type==="dot"){We.type="text"}if(We&&We.type==="text"&&E.type==="text"){We.value+=E.value;return}ze.nodes.push(E);E.parent=ze;E.prev=We;We=E;return E};push({type:"bos"});while(qe0){if(ze.ranges>0){ze.ranges=0;let E=ze.nodes.shift();ze.nodes=[E,{type:"text",value:j(ze)}]}push({type:"comma",value:Ge});ze.commas++;continue}if(Ge===ae&&He>0&&ze.commas===0){let E=ze.nodes;if(He===0||E.length===0){push({type:"text",value:Ge});continue}if(We.type==="dot"){ze.range=[];We.value+=Ge;We.type="range";if(ze.nodes.length!==3&&ze.nodes.length!==5){ze.invalid=true;ze.ranges=0;We.type="text";continue}ze.ranges++;ze.args=[];continue}if(We.type==="range"){E.pop();let N=E[E.length-1];N.value+=We.value+Ge;We=N;ze.ranges--;continue}push({type:"dot",value:Ge});continue}push({type:"text",value:Ge})}do{ze=Ue.pop();if(ze.type!=="root"){ze.nodes.forEach((E=>{if(!E.nodes){if(E.type==="open")E.isOpen=true;if(E.type==="close")E.isClose=true;if(!E.nodes)E.type="text";E.invalid=true}}));let E=Ue[Ue.length-1];let N=E.nodes.indexOf(ze);E.nodes.splice(N,1,...ze.nodes)}}while(Ue.length>0);push({type:"eos"});return je};E.exports=parse},96476:(E,N,R)=>{"use strict";const j=R(37490);E.exports=(E,N={})=>{let stringify=(E,R={})=>{let $=N.escapeInvalid&&j.isInvalidBrace(R);let q=E.invalid===true&&N.escapeInvalid===true;let G="";if(E.value){if(($||q)&&j.isOpenOrClose(E)){return"\\"+E.value}return E.value}if(E.value){return E.value}if(E.nodes){for(let N of E.nodes){G+=stringify(N)}}return G};return stringify(E)}},37490:(E,N)=>{"use strict";N.isInteger=E=>{if(typeof E==="number"){return Number.isInteger(E)}if(typeof E==="string"&&E.trim()!==""){return Number.isInteger(Number(E))}return false};N.find=(E,N)=>E.nodes.find((E=>E.type===N));N.exceedsLimit=(E,R,j=1,$)=>{if($===false)return false;if(!N.isInteger(E)||!N.isInteger(R))return false;return(Number(R)-Number(E))/Number(j)>=$};N.escapeNode=(E,N=0,R)=>{let j=E.nodes[N];if(!j)return;if(R&&j.type===R||j.type==="open"||j.type==="close"){if(j.escaped!==true){j.value="\\"+j.value;j.escaped=true}}};N.encloseBrace=E=>{if(E.type!=="brace")return false;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}return false};N.isInvalidBrace=E=>{if(E.type!=="brace")return false;if(E.invalid===true||E.dollar)return true;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}if(E.open!==true||E.close!==true){E.invalid=true;return true}return false};N.isOpenOrClose=E=>{if(E.type==="open"||E.type==="close"){return true}return E.open===true||E.close===true};N.reduce=E=>E.reduce(((E,N)=>{if(N.type==="text")E.push(N.value);if(N.type==="range")N.type="text";return E}),[]);N.flatten=(...E)=>{const N=[];const flat=E=>{for(let R=0;R{"use strict"; /*! * fill-range * * Copyright (c) 2014-present, Jon Schlinkert. * Licensed under the MIT License. - */const j=R(73837);const $=R(31406);const isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);const transform=E=>N=>E===true?Number(N):String(N);const isValidValue=E=>typeof E==="number"||typeof E==="string"&&E!=="";const isNumber=E=>Number.isInteger(+E);const zeros=E=>{let N=`${E}`;let R=-1;if(N[0]==="-")N=N.slice(1);if(N==="0")return false;while(N[++R]==="0");return R>0};const stringify=(E,N,R)=>{if(typeof E==="string"||typeof N==="string"){return true}return R.stringify===true};const pad=(E,N,R)=>{if(N>0){let R=E[0]==="-"?"-":"";if(R)E=E.slice(1);E=R+E.padStart(R?N-1:N,"0")}if(R===false){return String(E)}return E};const toMaxLen=(E,N)=>{let R=E[0]==="-"?"-":"";if(R){E=E.slice(1);N--}while(E.length{E.negatives.sort(((E,N)=>EN?1:0));E.positives.sort(((E,N)=>EN?1:0));let R=N.capture?"":"?:";let j="";let $="";let q;if(E.positives.length){j=E.positives.join("|")}if(E.negatives.length){$=`-(${R}${E.negatives.join("|")})`}if(j&&$){q=`${j}|${$}`}else{q=j||$}if(N.wrap){return`(${R}${q})`}return q};const toRange=(E,N,R,j)=>{if(R){return $(E,N,{wrap:false,...j})}let q=String.fromCharCode(E);if(E===N)return q;let G=String.fromCharCode(N);return`[${q}-${G}]`};const toRegex=(E,N,R)=>{if(Array.isArray(E)){let N=R.wrap===true;let j=R.capture?"":"?:";return N?`(${j}${E.join("|")})`:E.join("|")}return $(E,N,R)};const rangeError=(...E)=>new RangeError("Invalid range arguments: "+j.inspect(...E));const invalidRange=(E,N,R)=>{if(R.strictRanges===true)throw rangeError([E,N]);return[]};const invalidStep=(E,N)=>{if(N.strictRanges===true){throw new TypeError(`Expected step "${E}" to be a number`)}return[]};const fillNumbers=(E,N,R=1,j={})=>{let $=Number(E);let q=Number(N);if(!Number.isInteger($)||!Number.isInteger(q)){if(j.strictRanges===true)throw rangeError([E,N]);return[]}if($===0)$=0;if(q===0)q=0;let G=$>q;let ie=String(E);let ae=String(N);let ce=String(R);R=Math.max(Math.abs(R),1);let le=zeros(ie)||zeros(ae)||zeros(ce);let _e=le?Math.max(ie.length,ae.length,ce.length):0;let Ee=le===false&&stringify(E,N,j)===false;let Te=j.transform||transform(Ee);if(j.toRegex&&R===1){return toRange(toMaxLen(E,_e),toMaxLen(N,_e),true,j)}let we={negatives:[],positives:[]};let push=E=>we[E<0?"negatives":"positives"].push(Math.abs(E));let Ie=[];let Ne=0;while(G?$>=q:$<=q){if(j.toRegex===true&&R>1){push($)}else{Ie.push(pad(Te($,Ne),_e,Ee))}$=G?$-R:$+R;Ne++}if(j.toRegex===true){return R>1?toSequence(we,j):toRegex(Ie,null,{wrap:false,...j})}return Ie};const fillLetters=(E,N,R=1,j={})=>{if(!isNumber(E)&&E.length>1||!isNumber(N)&&N.length>1){return invalidRange(E,N,j)}let $=j.transform||(E=>String.fromCharCode(E));let q=`${E}`.charCodeAt(0);let G=`${N}`.charCodeAt(0);let ie=q>G;let ae=Math.min(q,G);let ce=Math.max(q,G);if(j.toRegex&&R===1){return toRange(ae,ce,false,j)}let le=[];let _e=0;while(ie?q>=G:q<=G){le.push($(q,_e));q=ie?q-R:q+R;_e++}if(j.toRegex===true){return toRegex(le,null,{wrap:false,options:j})}return le};const fill=(E,N,R,j={})=>{if(N==null&&isValidValue(E)){return[E]}if(!isValidValue(E)||!isValidValue(N)){return invalidRange(E,N,j)}if(typeof R==="function"){return fill(E,N,1,{transform:R})}if(isObject(R)){return fill(E,N,0,R)}let $={...j};if($.capture===true)$.wrap=true;R=R||$.step||1;if(!isNumber(R)){if(R!=null&&!isObject(R))return invalidStep(R,$);return fill(E,N,1,R)}if(isNumber(E)&&isNumber(N)){return fillNumbers(E,N,R,$)}return fillLetters(E,N,Math.max(Math.abs(R),1),$)};E.exports=fill},89459:E=>{"use strict"; + */const j=R(73837);const $=R(58423);const isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);const transform=E=>N=>E===true?Number(N):String(N);const isValidValue=E=>typeof E==="number"||typeof E==="string"&&E!=="";const isNumber=E=>Number.isInteger(+E);const zeros=E=>{let N=`${E}`;let R=-1;if(N[0]==="-")N=N.slice(1);if(N==="0")return false;while(N[++R]==="0");return R>0};const stringify=(E,N,R)=>{if(typeof E==="string"||typeof N==="string"){return true}return R.stringify===true};const pad=(E,N,R)=>{if(N>0){let R=E[0]==="-"?"-":"";if(R)E=E.slice(1);E=R+E.padStart(R?N-1:N,"0")}if(R===false){return String(E)}return E};const toMaxLen=(E,N)=>{let R=E[0]==="-"?"-":"";if(R){E=E.slice(1);N--}while(E.length{E.negatives.sort(((E,N)=>EN?1:0));E.positives.sort(((E,N)=>EN?1:0));let R=N.capture?"":"?:";let j="";let $="";let q;if(E.positives.length){j=E.positives.join("|")}if(E.negatives.length){$=`-(${R}${E.negatives.join("|")})`}if(j&&$){q=`${j}|${$}`}else{q=j||$}if(N.wrap){return`(${R}${q})`}return q};const toRange=(E,N,R,j)=>{if(R){return $(E,N,{wrap:false,...j})}let q=String.fromCharCode(E);if(E===N)return q;let G=String.fromCharCode(N);return`[${q}-${G}]`};const toRegex=(E,N,R)=>{if(Array.isArray(E)){let N=R.wrap===true;let j=R.capture?"":"?:";return N?`(${j}${E.join("|")})`:E.join("|")}return $(E,N,R)};const rangeError=(...E)=>new RangeError("Invalid range arguments: "+j.inspect(...E));const invalidRange=(E,N,R)=>{if(R.strictRanges===true)throw rangeError([E,N]);return[]};const invalidStep=(E,N)=>{if(N.strictRanges===true){throw new TypeError(`Expected step "${E}" to be a number`)}return[]};const fillNumbers=(E,N,R=1,j={})=>{let $=Number(E);let q=Number(N);if(!Number.isInteger($)||!Number.isInteger(q)){if(j.strictRanges===true)throw rangeError([E,N]);return[]}if($===0)$=0;if(q===0)q=0;let G=$>q;let ie=String(E);let ae=String(N);let ce=String(R);R=Math.max(Math.abs(R),1);let le=zeros(ie)||zeros(ae)||zeros(ce);let _e=le?Math.max(ie.length,ae.length,ce.length):0;let Te=le===false&&stringify(E,N,j)===false;let Ee=j.transform||transform(Te);if(j.toRegex&&R===1){return toRange(toMaxLen(E,_e),toMaxLen(N,_e),true,j)}let we={negatives:[],positives:[]};let push=E=>we[E<0?"negatives":"positives"].push(Math.abs(E));let Ie=[];let Ne=0;while(G?$>=q:$<=q){if(j.toRegex===true&&R>1){push($)}else{Ie.push(pad(Ee($,Ne),_e,Te))}$=G?$-R:$+R;Ne++}if(j.toRegex===true){return R>1?toSequence(we,j):toRegex(Ie,null,{wrap:false,...j})}return Ie};const fillLetters=(E,N,R=1,j={})=>{if(!isNumber(E)&&E.length>1||!isNumber(N)&&N.length>1){return invalidRange(E,N,j)}let $=j.transform||(E=>String.fromCharCode(E));let q=`${E}`.charCodeAt(0);let G=`${N}`.charCodeAt(0);let ie=q>G;let ae=Math.min(q,G);let ce=Math.max(q,G);if(j.toRegex&&R===1){return toRange(ae,ce,false,j)}let le=[];let _e=0;while(ie?q>=G:q<=G){le.push($(q,_e));q=ie?q-R:q+R;_e++}if(j.toRegex===true){return toRegex(le,null,{wrap:false,options:j})}return le};const fill=(E,N,R,j={})=>{if(N==null&&isValidValue(E)){return[E]}if(!isValidValue(E)||!isValidValue(N)){return invalidRange(E,N,j)}if(typeof R==="function"){return fill(E,N,1,{transform:R})}if(isObject(R)){return fill(E,N,0,R)}let $={...j};if($.capture===true)$.wrap=true;R=R||$.step||1;if(!isNumber(R)){if(R!=null&&!isObject(R))return invalidStep(R,$);return fill(E,N,1,R)}if(isNumber(E)&&isNumber(N)){return fillNumbers(E,N,R,$)}return fillLetters(E,N,Math.max(Math.abs(R),1),$)};E.exports=fill},89691:E=>{"use strict"; /*! * is-number * * Copyright (c) 2014-present, Jon Schlinkert. * Released under the MIT License. - */E.exports=function(E){if(typeof E==="number"){return E-E===0}if(typeof E==="string"&&E.trim()!==""){return Number.isFinite?Number.isFinite(+E):isFinite(+E)}return false}},19806:(E,N,R)=>{"use strict";const j=R(83314);const $=Symbol("max");const q=Symbol("length");const G=Symbol("lengthCalculator");const ie=Symbol("allowStale");const ae=Symbol("maxAge");const ce=Symbol("dispose");const le=Symbol("noDisposeOnSet");const _e=Symbol("lruList");const Ee=Symbol("cache");const Te=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(E){if(typeof E==="number")E={max:E};if(!E)E={};if(E.max&&(typeof E.max!=="number"||E.max<0))throw new TypeError("max must be a non-negative number");const N=this[$]=E.max||Infinity;const R=E.length||naiveLength;this[G]=typeof R!=="function"?naiveLength:R;this[ie]=E.stale||false;if(E.maxAge&&typeof E.maxAge!=="number")throw new TypeError("maxAge must be a number");this[ae]=E.maxAge||0;this[ce]=E.dispose;this[le]=E.noDisposeOnSet||false;this[Te]=E.updateAgeOnGet||false;this.reset()}set max(E){if(typeof E!=="number"||E<0)throw new TypeError("max must be a non-negative number");this[$]=E||Infinity;trim(this)}get max(){return this[$]}set allowStale(E){this[ie]=!!E}get allowStale(){return this[ie]}set maxAge(E){if(typeof E!=="number")throw new TypeError("maxAge must be a non-negative number");this[ae]=E;trim(this)}get maxAge(){return this[ae]}set lengthCalculator(E){if(typeof E!=="function")E=naiveLength;if(E!==this[G]){this[G]=E;this[q]=0;this[_e].forEach((E=>{E.length=this[G](E.value,E.key);this[q]+=E.length}))}trim(this)}get lengthCalculator(){return this[G]}get length(){return this[q]}get itemCount(){return this[_e].length}rforEach(E,N){N=N||this;for(let R=this[_e].tail;R!==null;){const j=R.prev;forEachStep(this,E,R,N);R=j}}forEach(E,N){N=N||this;for(let R=this[_e].head;R!==null;){const j=R.next;forEachStep(this,E,R,N);R=j}}keys(){return this[_e].toArray().map((E=>E.key))}values(){return this[_e].toArray().map((E=>E.value))}reset(){if(this[ce]&&this[_e]&&this[_e].length){this[_e].forEach((E=>this[ce](E.key,E.value)))}this[Ee]=new Map;this[_e]=new j;this[q]=0}dump(){return this[_e].map((E=>isStale(this,E)?false:{k:E.key,v:E.value,e:E.now+(E.maxAge||0)})).toArray().filter((E=>E))}dumpLru(){return this[_e]}set(E,N,R){R=R||this[ae];if(R&&typeof R!=="number")throw new TypeError("maxAge must be a number");const j=R?Date.now():0;const ie=this[G](N,E);if(this[Ee].has(E)){if(ie>this[$]){del(this,this[Ee].get(E));return false}const G=this[Ee].get(E);const ae=G.value;if(this[ce]){if(!this[le])this[ce](E,ae.value)}ae.now=j;ae.maxAge=R;ae.value=N;this[q]+=ie-ae.length;ae.length=ie;this.get(E);trim(this);return true}const Te=new Entry(E,N,ie,j,R);if(Te.length>this[$]){if(this[ce])this[ce](E,N);return false}this[q]+=Te.length;this[_e].unshift(Te);this[Ee].set(E,this[_e].head);trim(this);return true}has(E){if(!this[Ee].has(E))return false;const N=this[Ee].get(E).value;return!isStale(this,N)}get(E){return get(this,E,true)}peek(E){return get(this,E,false)}pop(){const E=this[_e].tail;if(!E)return null;del(this,E);return E.value}del(E){del(this,this[Ee].get(E))}load(E){this.reset();const N=Date.now();for(let R=E.length-1;R>=0;R--){const j=E[R];const $=j.e||0;if($===0)this.set(j.k,j.v);else{const E=$-N;if(E>0){this.set(j.k,j.v,E)}}}}prune(){this[Ee].forEach(((E,N)=>get(this,N,false)))}}const get=(E,N,R)=>{const j=E[Ee].get(N);if(j){const N=j.value;if(isStale(E,N)){del(E,j);if(!E[ie])return undefined}else{if(R){if(E[Te])j.value.now=Date.now();E[_e].unshiftNode(j)}}return N.value}};const isStale=(E,N)=>{if(!N||!N.maxAge&&!E[ae])return false;const R=Date.now()-N.now;return N.maxAge?R>N.maxAge:E[ae]&&R>E[ae]};const trim=E=>{if(E[q]>E[$]){for(let N=E[_e].tail;E[q]>E[$]&&N!==null;){const R=N.prev;del(E,N);N=R}}};const del=(E,N)=>{if(N){const R=N.value;if(E[ce])E[ce](R.key,R.value);E[q]-=R.length;E[Ee].delete(R.key);E[_e].removeNode(N)}};class Entry{constructor(E,N,R,j,$){this.key=E;this.value=N;this.length=R;this.now=j;this.maxAge=$||0}}const forEachStep=(E,N,R,j)=>{let $=R.value;if(isStale(E,$)){del(E,R);if(!E[ie])$=undefined}if($)N.call(j,$.value,$.key,E)};E.exports=LRUCache},44930:(E,N,R)=>{"use strict";const j=R(73837);const $=R(4822);const q=R(5782);const G=R(2661);const isEmptyString=E=>typeof E==="string"&&(E===""||E==="./");const micromatch=(E,N,R)=>{N=[].concat(N);E=[].concat(E);let j=new Set;let $=new Set;let G=new Set;let ie=0;let onResult=E=>{G.add(E.output);if(R&&R.onResult){R.onResult(E)}};for(let G=0;G!j.has(E)));if(R&&ce.length===0){if(R.failglob===true){throw new Error(`No matches found for "${N.join(", ")}"`)}if(R.nonull===true||R.nullglob===true){return R.unescape?N.map((E=>E.replace(/\\/g,""))):N}}return ce};micromatch.match=micromatch;micromatch.matcher=(E,N)=>q(E,N);micromatch.isMatch=(E,N,R)=>q(N,R)(E);micromatch.any=micromatch.isMatch;micromatch.not=(E,N,R={})=>{N=[].concat(N).map(String);let j=new Set;let $=[];let onResult=E=>{if(R.onResult)R.onResult(E);$.push(E.output)};let q=micromatch(E,N,{...R,onResult:onResult});for(let E of $){if(!q.includes(E)){j.add(E)}}return[...j]};micromatch.contains=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}if(Array.isArray(N)){return N.some((N=>micromatch.contains(E,N,R)))}if(typeof N==="string"){if(isEmptyString(E)||isEmptyString(N)){return false}if(E.includes(N)||E.startsWith("./")&&E.slice(2).includes(N)){return true}}return micromatch.isMatch(E,N,{...R,contains:true})};micromatch.matchKeys=(E,N,R)=>{if(!G.isObject(E)){throw new TypeError("Expected the first argument to be an object")}let j=micromatch(Object.keys(E),N,R);let $={};for(let N of j)$[N]=E[N];return $};micromatch.some=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(j.some((E=>N(E)))){return true}}return false};micromatch.every=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(!j.every((E=>N(E)))){return false}}return true};micromatch.all=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}return[].concat(N).every((N=>q(N,R)(E)))};micromatch.capture=(E,N,R)=>{let j=G.isWindows(R);let $=q.makeRe(String(E),{...R,capture:true});let ie=$.exec(j?G.toPosixSlashes(N):N);if(ie){return ie.slice(1).map((E=>E===void 0?"":E))}};micromatch.makeRe=(...E)=>q.makeRe(...E);micromatch.scan=(...E)=>q.scan(...E);micromatch.parse=(E,N)=>{let R=[];for(let j of[].concat(E||[])){for(let E of $(String(j),N)){R.push(q.parse(E,N))}}return R};micromatch.braces=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");if(N&&N.nobrace===true||!/\{.*\}/.test(E)){return[E]}return $(E,N)};micromatch.braceExpand=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");return micromatch.braces(E,{...N,expand:true})};E.exports=micromatch},6471:(E,N,R)=>{const j=Symbol("SemVer ANY");class Comparator{static get ANY(){return j}constructor(E,N){N=$(N);if(E instanceof Comparator){if(E.loose===!!N.loose){return E}else{E=E.value}}ae("comparator",E,N);this.options=N;this.loose=!!N.loose;this.parse(E);if(this.semver===j){this.value=""}else{this.value=this.operator+this.semver.version}ae("comp",this)}parse(E){const N=this.options.loose?q[G.COMPARATORLOOSE]:q[G.COMPARATOR];const R=E.match(N);if(!R){throw new TypeError(`Invalid comparator: ${E}`)}this.operator=R[1]!==undefined?R[1]:"";if(this.operator==="="){this.operator=""}if(!R[2]){this.semver=j}else{this.semver=new ce(R[2],this.options.loose)}}toString(){return this.value}test(E){ae("Comparator.test",E,this.options.loose);if(this.semver===j||E===j){return true}if(typeof E==="string"){try{E=new ce(E,this.options)}catch(E){return false}}return ie(E,this.operator,this.semver,this.options)}intersects(E,N){if(!(E instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!N||typeof N!=="object"){N={loose:!!N,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new le(E.value,N).test(this.value)}else if(E.operator===""){if(E.value===""){return true}return new le(this.value,N).test(E.semver)}const R=(this.operator===">="||this.operator===">")&&(E.operator===">="||E.operator===">");const j=(this.operator==="<="||this.operator==="<")&&(E.operator==="<="||E.operator==="<");const $=this.semver.version===E.semver.version;const q=(this.operator===">="||this.operator==="<=")&&(E.operator===">="||E.operator==="<=");const G=ie(this.semver,"<",E.semver,N)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<");const ae=ie(this.semver,">",E.semver,N)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return R||j||$&&q||G||ae}}E.exports=Comparator;const $=R(94679);const{re:q,t:G}=R(43109);const ie=R(54327);const ae=R(81320);const ce=R(5345);const le=R(282)},282:(E,N,R)=>{class Range{constructor(E,N){N=q(N);if(E instanceof Range){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{return new Range(E.raw,N)}}if(E instanceof G){this.raw=E.value;this.set=[[E]];this.format();return this}this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;this.raw=E;this.set=E.split(/\s*\|\|\s*/).map((E=>this.parseRange(E.trim()))).filter((E=>E.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${E}`)}if(this.set.length>1){const E=this.set[0];this.set=this.set.filter((E=>!isNullSet(E[0])));if(this.set.length===0)this.set=[E];else if(this.set.length>1){for(const E of this.set){if(E.length===1&&isAny(E[0])){this.set=[E];break}}}}this.format()}format(){this.range=this.set.map((E=>E.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(E){E=E.trim();const N=Object.keys(this.options).join(",");const R=`parseRange:${N}:${E}`;const j=$.get(R);if(j)return j;const q=this.options.loose;const ae=q?ce[le.HYPHENRANGELOOSE]:ce[le.HYPHENRANGE];E=E.replace(ae,hyphenReplace(this.options.includePrerelease));ie("hyphen replace",E);E=E.replace(ce[le.COMPARATORTRIM],_e);ie("comparator trim",E,ce[le.COMPARATORTRIM]);E=E.replace(ce[le.TILDETRIM],Ee);E=E.replace(ce[le.CARETTRIM],Te);E=E.split(/\s+/).join(" ");const we=q?ce[le.COMPARATORLOOSE]:ce[le.COMPARATOR];const Ie=E.split(" ").map((E=>parseComparator(E,this.options))).join(" ").split(/\s+/).map((E=>replaceGTE0(E,this.options))).filter(this.options.loose?E=>!!E.match(we):()=>true).map((E=>new G(E,this.options)));const Ne=Ie.length;const Me=new Map;for(const E of Ie){if(isNullSet(E))return[E];Me.set(E.value,E)}if(Me.size>1&&Me.has(""))Me.delete("");const Le=[...Me.values()];$.set(R,Le);return Le}intersects(E,N){if(!(E instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((R=>isSatisfiable(R,N)&&E.set.some((E=>isSatisfiable(E,N)&&R.every((R=>E.every((E=>R.intersects(E,N)))))))))}test(E){if(!E){return false}if(typeof E==="string"){try{E=new ae(E,this.options)}catch(E){return false}}for(let N=0;NE.value==="<0.0.0-0";const isAny=E=>E.value==="";const isSatisfiable=(E,N)=>{let R=true;const j=E.slice();let $=j.pop();while(R&&j.length){R=j.every((E=>$.intersects(E,N)));$=j.pop()}return R};const parseComparator=(E,N)=>{ie("comp",E,N);E=replaceCarets(E,N);ie("caret",E);E=replaceTildes(E,N);ie("tildes",E);E=replaceXRanges(E,N);ie("xrange",E);E=replaceStars(E,N);ie("stars",E);return E};const isX=E=>!E||E.toLowerCase()==="x"||E==="*";const replaceTildes=(E,N)=>E.trim().split(/\s+/).map((E=>replaceTilde(E,N))).join(" ");const replaceTilde=(E,N)=>{const R=N.loose?ce[le.TILDELOOSE]:ce[le.TILDE];return E.replace(R,((N,R,j,$,q)=>{ie("tilde",E,N,R,j,$,q);let G;if(isX(R)){G=""}else if(isX(j)){G=`>=${R}.0.0 <${+R+1}.0.0-0`}else if(isX($)){G=`>=${R}.${j}.0 <${R}.${+j+1}.0-0`}else if(q){ie("replaceTilde pr",q);G=`>=${R}.${j}.${$}-${q} <${R}.${+j+1}.0-0`}else{G=`>=${R}.${j}.${$} <${R}.${+j+1}.0-0`}ie("tilde return",G);return G}))};const replaceCarets=(E,N)=>E.trim().split(/\s+/).map((E=>replaceCaret(E,N))).join(" ");const replaceCaret=(E,N)=>{ie("caret",E,N);const R=N.loose?ce[le.CARETLOOSE]:ce[le.CARET];const j=N.includePrerelease?"-0":"";return E.replace(R,((N,R,$,q,G)=>{ie("caret",E,N,R,$,q,G);let ae;if(isX(R)){ae=""}else if(isX($)){ae=`>=${R}.0.0${j} <${+R+1}.0.0-0`}else if(isX(q)){if(R==="0"){ae=`>=${R}.${$}.0${j} <${R}.${+$+1}.0-0`}else{ae=`>=${R}.${$}.0${j} <${+R+1}.0.0-0`}}else if(G){ie("replaceCaret pr",G);if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}-${G} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}-${G} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q}-${G} <${+R+1}.0.0-0`}}else{ie("no pr");if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}${j} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}${j} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q} <${+R+1}.0.0-0`}}ie("caret return",ae);return ae}))};const replaceXRanges=(E,N)=>{ie("replaceXRanges",E,N);return E.split(/\s+/).map((E=>replaceXRange(E,N))).join(" ")};const replaceXRange=(E,N)=>{E=E.trim();const R=N.loose?ce[le.XRANGELOOSE]:ce[le.XRANGE];return E.replace(R,((R,j,$,q,G,ae)=>{ie("xRange",E,R,j,$,q,G,ae);const ce=isX($);const le=ce||isX(q);const _e=le||isX(G);const Ee=_e;if(j==="="&&Ee){j=""}ae=N.includePrerelease?"-0":"";if(ce){if(j===">"||j==="<"){R="<0.0.0-0"}else{R="*"}}else if(j&&Ee){if(le){q=0}G=0;if(j===">"){j=">=";if(le){$=+$+1;q=0;G=0}else{q=+q+1;G=0}}else if(j==="<="){j="<";if(le){$=+$+1}else{q=+q+1}}if(j==="<")ae="-0";R=`${j+$}.${q}.${G}${ae}`}else if(le){R=`>=${$}.0.0${ae} <${+$+1}.0.0-0`}else if(_e){R=`>=${$}.${q}.0${ae} <${$}.${+q+1}.0-0`}ie("xRange return",R);return R}))};const replaceStars=(E,N)=>{ie("replaceStars",E,N);return E.trim().replace(ce[le.STAR],"")};const replaceGTE0=(E,N)=>{ie("replaceGTE0",E,N);return E.trim().replace(ce[N.includePrerelease?le.GTE0PRE:le.GTE0],"")};const hyphenReplace=E=>(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te)=>{if(isX(j)){R=""}else if(isX($)){R=`>=${j}.0.0${E?"-0":""}`}else if(isX(q)){R=`>=${j}.${$}.0${E?"-0":""}`}else if(G){R=`>=${R}`}else{R=`>=${R}${E?"-0":""}`}if(isX(ce)){ae=""}else if(isX(le)){ae=`<${+ce+1}.0.0-0`}else if(isX(_e)){ae=`<${ce}.${+le+1}.0-0`}else if(Ee){ae=`<=${ce}.${le}.${_e}-${Ee}`}else if(E){ae=`<${ce}.${le}.${+_e+1}-0`}else{ae=`<=${ae}`}return`${R} ${ae}`.trim()};const testSet=(E,N,R)=>{for(let R=0;R0){const j=E[R].semver;if(j.major===N.major&&j.minor===N.minor&&j.patch===N.patch){return true}}}return false}return true}},5345:(E,N,R)=>{const j=R(81320);const{MAX_LENGTH:$,MAX_SAFE_INTEGER:q}=R(30280);const{re:G,t:ie}=R(43109);const ae=R(94679);const{compareIdentifiers:ce}=R(26474);class SemVer{constructor(E,N){N=ae(N);if(E instanceof SemVer){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{E=E.version}}else if(typeof E!=="string"){throw new TypeError(`Invalid Version: ${E}`)}if(E.length>$){throw new TypeError(`version is longer than ${$} characters`)}j("SemVer",E,N);this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;const R=E.trim().match(N.loose?G[ie.LOOSE]:G[ie.FULL]);if(!R){throw new TypeError(`Invalid Version: ${E}`)}this.raw=E;this.major=+R[1];this.minor=+R[2];this.patch=+R[3];if(this.major>q||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>q||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>q||this.patch<0){throw new TypeError("Invalid patch version")}if(!R[4]){this.prerelease=[]}else{this.prerelease=R[4].split(".").map((E=>{if(/^[0-9]+$/.test(E)){const N=+E;if(N>=0&&N=0){if(typeof this.prerelease[E]==="number"){this.prerelease[E]++;E=-2}}if(E===-1){this.prerelease.push(0)}}if(N){if(this.prerelease[0]===N){if(isNaN(this.prerelease[1])){this.prerelease=[N,0]}}else{this.prerelease=[N,0]}}break;default:throw new Error(`invalid increment argument: ${E}`)}this.format();this.raw=this.version;return this}}E.exports=SemVer},58248:(E,N,R)=>{const j=R(71788);const clean=(E,N)=>{const R=j(E.trim().replace(/^[=v]+/,""),N);return R?R.version:null};E.exports=clean},54327:(E,N,R)=>{const j=R(42956);const $=R(91025);const q=R(96390);const G=R(10739);const ie=R(69503);const ae=R(95906);const cmp=(E,N,R,ce)=>{switch(N){case"===":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E===R;case"!==":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E!==R;case"":case"=":case"==":return j(E,R,ce);case"!=":return $(E,R,ce);case">":return q(E,R,ce);case">=":return G(E,R,ce);case"<":return ie(E,R,ce);case"<=":return ae(E,R,ce);default:throw new TypeError(`Invalid operator: ${N}`)}};E.exports=cmp},46607:(E,N,R)=>{const j=R(5345);const $=R(71788);const{re:q,t:G}=R(43109);const coerce=(E,N)=>{if(E instanceof j){return E}if(typeof E==="number"){E=String(E)}if(typeof E!=="string"){return null}N=N||{};let R=null;if(!N.rtl){R=E.match(q[G.COERCE])}else{let N;while((N=q[G.COERCERTL].exec(E))&&(!R||R.index+R[0].length!==E.length)){if(!R||N.index+N[0].length!==R.index+R[0].length){R=N}q[G.COERCERTL].lastIndex=N.index+N[1].length+N[2].length}q[G.COERCERTL].lastIndex=-1}if(R===null)return null;return $(`${R[2]}.${R[3]||"0"}.${R[4]||"0"}`,N)};E.exports=coerce},42380:(E,N,R)=>{const j=R(5345);const compareBuild=(E,N,R)=>{const $=new j(E,R);const q=new j(N,R);return $.compare(q)||$.compareBuild(q)};E.exports=compareBuild},39057:(E,N,R)=>{const j=R(14064);const compareLoose=(E,N)=>j(E,N,true);E.exports=compareLoose},14064:(E,N,R)=>{const j=R(5345);const compare=(E,N,R)=>new j(E,R).compare(new j(N,R));E.exports=compare},96860:(E,N,R)=>{const j=R(71788);const $=R(42956);const diff=(E,N)=>{if($(E,N)){return null}else{const R=j(E);const $=j(N);const q=R.prerelease.length||$.prerelease.length;const G=q?"pre":"";const ie=q?"prerelease":"";for(const E in R){if(E==="major"||E==="minor"||E==="patch"){if(R[E]!==$[E]){return G+E}}}return ie}};E.exports=diff},42956:(E,N,R)=>{const j=R(14064);const eq=(E,N,R)=>j(E,N,R)===0;E.exports=eq},96390:(E,N,R)=>{const j=R(14064);const gt=(E,N,R)=>j(E,N,R)>0;E.exports=gt},10739:(E,N,R)=>{const j=R(14064);const gte=(E,N,R)=>j(E,N,R)>=0;E.exports=gte},75702:(E,N,R)=>{const j=R(5345);const inc=(E,N,R,$)=>{if(typeof R==="string"){$=R;R=undefined}try{return new j(E,R).inc(N,$).version}catch(E){return null}};E.exports=inc},69503:(E,N,R)=>{const j=R(14064);const lt=(E,N,R)=>j(E,N,R)<0;E.exports=lt},95906:(E,N,R)=>{const j=R(14064);const lte=(E,N,R)=>j(E,N,R)<=0;E.exports=lte},1146:(E,N,R)=>{const j=R(5345);const major=(E,N)=>new j(E,N).major;E.exports=major},38236:(E,N,R)=>{const j=R(5345);const minor=(E,N)=>new j(E,N).minor;E.exports=minor},91025:(E,N,R)=>{const j=R(14064);const neq=(E,N,R)=>j(E,N,R)!==0;E.exports=neq},71788:(E,N,R)=>{const{MAX_LENGTH:j}=R(30280);const{re:$,t:q}=R(43109);const G=R(5345);const ie=R(94679);const parse=(E,N)=>{N=ie(N);if(E instanceof G){return E}if(typeof E!=="string"){return null}if(E.length>j){return null}const R=N.loose?$[q.LOOSE]:$[q.FULL];if(!R.test(E)){return null}try{return new G(E,N)}catch(E){return null}};E.exports=parse},59141:(E,N,R)=>{const j=R(5345);const patch=(E,N)=>new j(E,N).patch;E.exports=patch},25694:(E,N,R)=>{const j=R(71788);const prerelease=(E,N)=>{const R=j(E,N);return R&&R.prerelease.length?R.prerelease:null};E.exports=prerelease},80339:(E,N,R)=>{const j=R(14064);const rcompare=(E,N,R)=>j(N,E,R);E.exports=rcompare},67768:(E,N,R)=>{const j=R(42380);const rsort=(E,N)=>E.sort(((E,R)=>j(R,E,N)));E.exports=rsort},51543:(E,N,R)=>{const j=R(282);const satisfies=(E,N,R)=>{try{N=new j(N,R)}catch(E){return false}return N.test(E)};E.exports=satisfies},8612:(E,N,R)=>{const j=R(42380);const sort=(E,N)=>E.sort(((E,R)=>j(E,R,N)));E.exports=sort},98018:(E,N,R)=>{const j=R(71788);const valid=(E,N)=>{const R=j(E,N);return R?R.version:null};E.exports=valid},3609:(E,N,R)=>{const j=R(43109);E.exports={re:j.re,src:j.src,tokens:j.t,SEMVER_SPEC_VERSION:R(30280).SEMVER_SPEC_VERSION,SemVer:R(5345),compareIdentifiers:R(26474).compareIdentifiers,rcompareIdentifiers:R(26474).rcompareIdentifiers,parse:R(71788),valid:R(98018),clean:R(58248),inc:R(75702),diff:R(96860),major:R(1146),minor:R(38236),patch:R(59141),prerelease:R(25694),compare:R(14064),rcompare:R(80339),compareLoose:R(39057),compareBuild:R(42380),sort:R(8612),rsort:R(67768),gt:R(96390),lt:R(69503),eq:R(42956),neq:R(91025),gte:R(10739),lte:R(95906),cmp:R(54327),coerce:R(46607),Comparator:R(6471),Range:R(282),satisfies:R(51543),toComparators:R(4817),maxSatisfying:R(13452),minSatisfying:R(57655),minVersion:R(34905),validRange:R(51952),outside:R(31492),gtr:R(96168),ltr:R(59609),intersects:R(18706),simplifyRange:R(15354),subset:R(26519)}},30280:E=>{const N="2.0.0";const R=256;const j=Number.MAX_SAFE_INTEGER||9007199254740991;const $=16;E.exports={SEMVER_SPEC_VERSION:N,MAX_LENGTH:R,MAX_SAFE_INTEGER:j,MAX_SAFE_COMPONENT_LENGTH:$}},81320:E=>{const N=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...E)=>console.error("SEMVER",...E):()=>{};E.exports=N},26474:E=>{const N=/^[0-9]+$/;const compareIdentifiers=(E,R)=>{const j=N.test(E);const $=N.test(R);if(j&&$){E=+E;R=+R}return E===R?0:j&&!$?-1:$&&!j?1:EcompareIdentifiers(N,E);E.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},94679:E=>{const N=["includePrerelease","loose","rtl"];const parseOptions=E=>!E?{}:typeof E!=="object"?{loose:true}:N.filter((N=>E[N])).reduce(((E,N)=>{E[N]=true;return E}),{});E.exports=parseOptions},43109:(E,N,R)=>{const{MAX_SAFE_COMPONENT_LENGTH:j}=R(30280);const $=R(81320);N=E.exports={};const q=N.re=[];const G=N.src=[];const ie=N.t={};let ae=0;const createToken=(E,N,R)=>{const j=ae++;$(j,N);ie[E]=j;G[j]=N;q[j]=new RegExp(N,R?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${G[ie.NUMERICIDENTIFIER]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${G[ie.NUMERICIDENTIFIERLOOSE]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${G[ie.PRERELEASEIDENTIFIER]}(?:\\.${G[ie.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${G[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${G[ie.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${G[ie.BUILDIDENTIFIER]}(?:\\.${G[ie.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${G[ie.MAINVERSION]}${G[ie.PRERELEASE]}?${G[ie.BUILD]}?`);createToken("FULL",`^${G[ie.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${G[ie.MAINVERSIONLOOSE]}${G[ie.PRERELEASELOOSE]}?${G[ie.BUILD]}?`);createToken("LOOSE",`^${G[ie.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${G[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${G[ie.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:${G[ie.PRERELEASE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:${G[ie.PRERELEASELOOSE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${j}})`+`(?:\\.(\\d{1,${j}}))?`+`(?:\\.(\\d{1,${j}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",G[ie.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${G[ie.LONETILDE]}\\s+`,true);N.tildeTrimReplace="$1~";createToken("TILDE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${G[ie.LONECARET]}\\s+`,true);N.caretTrimReplace="$1^";createToken("CARET",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${G[ie.GTLT]}\\s*(${G[ie.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]}|${G[ie.XRANGEPLAIN]})`,true);N.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${G[ie.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${G[ie.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},96168:(E,N,R)=>{const j=R(31492);const gtr=(E,N,R)=>j(E,N,">",R);E.exports=gtr},18706:(E,N,R)=>{const j=R(282);const intersects=(E,N,R)=>{E=new j(E,R);N=new j(N,R);return E.intersects(N)};E.exports=intersects},59609:(E,N,R)=>{const j=R(31492);const ltr=(E,N,R)=>j(E,N,"<",R);E.exports=ltr},13452:(E,N,R)=>{const j=R(5345);const $=R(282);const maxSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===-1){q=E;G=new j(q,R)}}}));return q};E.exports=maxSatisfying},57655:(E,N,R)=>{const j=R(5345);const $=R(282);const minSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===1){q=E;G=new j(q,R)}}}));return q};E.exports=minSatisfying},34905:(E,N,R)=>{const j=R(5345);const $=R(282);const q=R(96390);const minVersion=(E,N)=>{E=new $(E,N);let R=new j("0.0.0");if(E.test(R)){return R}R=new j("0.0.0-0");if(E.test(R)){return R}R=null;for(let N=0;N{const N=new j(E.semver.version);switch(E.operator){case">":if(N.prerelease.length===0){N.patch++}else{N.prerelease.push(0)}N.raw=N.format();case"":case">=":if(!G||q(N,G)){G=N}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${E.operator}`)}}));if(G&&(!R||q(R,G)))R=G}if(R&&E.test(R)){return R}return null};E.exports=minVersion},31492:(E,N,R)=>{const j=R(5345);const $=R(6471);const{ANY:q}=$;const G=R(282);const ie=R(51543);const ae=R(96390);const ce=R(69503);const le=R(95906);const _e=R(10739);const outside=(E,N,R,Ee)=>{E=new j(E,Ee);N=new G(N,Ee);let Te,we,Ie,Ne,Me;switch(R){case">":Te=ae;we=le;Ie=ce;Ne=">";Me=">=";break;case"<":Te=ce;we=_e;Ie=ae;Ne="<";Me="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ie(E,N,Ee)){return false}for(let R=0;R{if(E.semver===q){E=new $(">=0.0.0")}G=G||E;ie=ie||E;if(Te(E.semver,G.semver,Ee)){G=E}else if(Ie(E.semver,ie.semver,Ee)){ie=E}}));if(G.operator===Ne||G.operator===Me){return false}if((!ie.operator||ie.operator===Ne)&&we(E,ie.semver)){return false}else if(ie.operator===Me&&Ie(E,ie.semver)){return false}}return true};E.exports=outside},15354:(E,N,R)=>{const j=R(51543);const $=R(14064);E.exports=(E,N,R)=>{const q=[];let G=null;let ie=null;const ae=E.sort(((E,N)=>$(E,N,R)));for(const E of ae){const $=j(E,N,R);if($){ie=E;if(!G)G=E}else{if(ie){q.push([G,ie])}ie=null;G=null}}if(G)q.push([G,null]);const ce=[];for(const[E,N]of q){if(E===N)ce.push(E);else if(!N&&E===ae[0])ce.push("*");else if(!N)ce.push(`>=${E}`);else if(E===ae[0])ce.push(`<=${N}`);else ce.push(`${E} - ${N}`)}const le=ce.join(" || ");const _e=typeof N.raw==="string"?N.raw:String(N);return le.length<_e.length?le:N}},26519:(E,N,R)=>{const j=R(282);const $=R(6471);const{ANY:q}=$;const G=R(51543);const ie=R(14064);const subset=(E,N,R={})=>{if(E===N)return true;E=new j(E,R);N=new j(N,R);let $=false;e:for(const j of E.set){for(const E of N.set){const N=simpleSubset(j,E,R);$=$||N!==null;if(N)continue e}if($)return false}return true};const simpleSubset=(E,N,R)=>{if(E===N)return true;if(E.length===1&&E[0].semver===q){if(N.length===1&&N[0].semver===q)return true;else if(R.includePrerelease)E=[new $(">=0.0.0-0")];else E=[new $(">=0.0.0")]}if(N.length===1&&N[0].semver===q){if(R.includePrerelease)return true;else N=[new $(">=0.0.0")]}const j=new Set;let ae,ce;for(const N of E){if(N.operator===">"||N.operator===">=")ae=higherGT(ae,N,R);else if(N.operator==="<"||N.operator==="<=")ce=lowerLT(ce,N,R);else j.add(N.semver)}if(j.size>1)return null;let le;if(ae&&ce){le=ie(ae.semver,ce.semver,R);if(le>0)return null;else if(le===0&&(ae.operator!==">="||ce.operator!=="<="))return null}for(const E of j){if(ae&&!G(E,String(ae),R))return null;if(ce&&!G(E,String(ce),R))return null;for(const j of N){if(!G(E,String(j),R))return false}return true}let _e,Ee;let Te,we;let Ie=ce&&!R.includePrerelease&&ce.semver.prerelease.length?ce.semver:false;let Ne=ae&&!R.includePrerelease&&ae.semver.prerelease.length?ae.semver:false;if(Ie&&Ie.prerelease.length===1&&ce.operator==="<"&&Ie.prerelease[0]===0){Ie=false}for(const E of N){we=we||E.operator===">"||E.operator===">=";Te=Te||E.operator==="<"||E.operator==="<=";if(ae){if(Ne){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ne.major&&E.semver.minor===Ne.minor&&E.semver.patch===Ne.patch){Ne=false}}if(E.operator===">"||E.operator===">="){_e=higherGT(ae,E,R);if(_e===E&&_e!==ae)return false}else if(ae.operator===">="&&!G(ae.semver,String(E),R))return false}if(ce){if(Ie){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ie.major&&E.semver.minor===Ie.minor&&E.semver.patch===Ie.patch){Ie=false}}if(E.operator==="<"||E.operator==="<="){Ee=lowerLT(ce,E,R);if(Ee===E&&Ee!==ce)return false}else if(ce.operator==="<="&&!G(ce.semver,String(E),R))return false}if(!E.operator&&(ce||ae)&&le!==0)return false}if(ae&&Te&&!ce&&le!==0)return false;if(ce&&we&&!ae&&le!==0)return false;if(Ne||Ie)return false;return true};const higherGT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j>0?E:j<0?N:N.operator===">"&&E.operator===">="?N:E};const lowerLT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j<0?E:j>0?N:N.operator==="<"&&E.operator==="<="?N:E};E.exports=subset},4817:(E,N,R)=>{const j=R(282);const toComparators=(E,N)=>new j(E,N).set.map((E=>E.map((E=>E.value)).join(" ").trim().split(" ")));E.exports=toComparators},51952:(E,N,R)=>{const j=R(282);const validRange=(E,N)=>{try{return new j(E,N).range||"*"}catch(E){return null}};E.exports=validRange},53706:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class AsyncSeriesBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j})}}const q=new AsyncSeriesBailHookCodeFactory;class AsyncSeriesBailHook extends j{compile(E){q.setup(this,E);return q.create(E)}}Object.defineProperties(AsyncSeriesBailHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});E.exports=AsyncSeriesBailHook},27046:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class AsyncSeriesHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesHookCodeFactory;class AsyncSeriesHook extends j{compile(E){q.setup(this,E);return q.create(E)}}Object.defineProperties(AsyncSeriesHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});E.exports=AsyncSeriesHook},63782:E=>{"use strict";class Hook{constructor(E){if(!Array.isArray(E))E=[];this._args=E;this.taps=[];this.interceptors=[];this.call=this._call;this.promise=this._promise;this.callAsync=this._callAsync;this._x=undefined}compile(E){throw new Error("Abstract: should be overriden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}tap(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tap(options: Object, fn: function)");E=Object.assign({type:"sync",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tap");E=this._runRegisterInterceptors(E);this._insert(E)}tapAsync(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tapAsync(options: Object, fn: function)");E=Object.assign({type:"async",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tapAsync");E=this._runRegisterInterceptors(E);this._insert(E)}tapPromise(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tapPromise(options: Object, fn: function)");E=Object.assign({type:"promise",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tapPromise");E=this._runRegisterInterceptors(E);this._insert(E)}_runRegisterInterceptors(E){for(const N of this.interceptors){if(N.register){const R=N.register(E);if(R!==undefined)E=R}}return E}withOptions(E){const mergeOptions=N=>Object.assign({},E,typeof N==="string"?{name:N}:N);E=Object.assign({},E,this._withOptions);const N=this._withOptionsBase||this;const R=Object.create(N);R.tapAsync=(E,R)=>N.tapAsync(mergeOptions(E),R),R.tap=(E,R)=>N.tap(mergeOptions(E),R);R.tapPromise=(E,R)=>N.tapPromise(mergeOptions(E),R);R._withOptions=E;R._withOptionsBase=N;return R}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let N=0;N0){j--;const E=this.taps[j];this.taps[j+1]=E;const $=E.stage||0;if(N){if(N.has(E.name)){N.delete(E.name);continue}if(N.size>0){continue}}if($>R){continue}j++;break}this.taps[j]=E}}function createCompileDelegate(E,N){return function lazyCompileHook(...R){this[E]=this._createCall(N);return this[E](...R)}}Object.defineProperties(Hook.prototype,{_call:{value:createCompileDelegate("call","sync"),configurable:true,writable:true},_promise:{value:createCompileDelegate("promise","promise"),configurable:true,writable:true},_callAsync:{value:createCompileDelegate("callAsync","async"),configurable:true,writable:true}});E.exports=Hook},92070:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let N;switch(this.options.type){case"sync":N=new Function(this.args(),'"use strict";\n'+this.header()+this.content({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":N=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.content({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const R=this.content({onError:N=>{E=true;return`_error(${N});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let j="";j+='"use strict";\n';j+="return new Promise((_resolve, _reject) => {\n";if(E){j+="var _sync = true;\n";j+="function _error(_err) {\n";j+="if(_sync)\n";j+="_resolve(Promise.resolve().then(() => { throw _err; }));\n";j+="else\n";j+="_reject(_err);\n";j+="};\n"}j+=this.header();j+=R;if(E){j+="_sync = false;\n"}j+="});\n";N=new Function(this.args(),j);break}this.deinit();return N}setup(E,N){E._x=N.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}header(){let E="";if(this.needContext()){E+="var _context = {};\n"}else{E+="var _context;\n"}E+="var _x = this._x;\n";if(this.options.interceptors.length>0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}for(let N=0;N {\n`;else G+=`_err${E} => {\n`;G+=`if(_err${E}) {\n`;G+=N(`_err${E}`);G+="} else {\n";if(R){G+=R(`_result${E}`)}if(j){G+=j()}G+="}\n";G+="}";q+=`_fn${E}(${this.args({before:ie.context?"_context":undefined,after:G})});\n`;break;case"promise":q+=`var _hasResult${E} = false;\n`;q+=`var _promise${E} = _fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`;q+=`if (!_promise${E} || !_promise${E}.then)\n`;q+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${E} + ')');\n`;q+=`_promise${E}.then(_result${E} => {\n`;q+=`_hasResult${E} = true;\n`;if(R){q+=R(`_result${E}`)}if(j){q+=j()}q+=`}, _err${E} => {\n`;q+=`if(_hasResult${E}) throw _err${E};\n`;q+=N(`_err${E}`);q+="});\n";break}return q}callTapsSeries({onError:E,onResult:N,resultReturns:R,onDone:j,doneReturns:$,rethrowIfPossible:q}){if(this.options.taps.length===0)return j();const G=this.options.taps.findIndex((E=>E.type!=="sync"));const ie=R||$||false;let ae="";let ce=j;for(let R=this.options.taps.length-1;R>=0;R--){const $=R;const le=ce!==j&&this.options.taps[$].type!=="sync";if(le){ae+=`function _next${$}() {\n`;ae+=ce();ae+=`}\n`;ce=()=>`${ie?"return ":""}_next${$}();\n`}const _e=ce;const doneBreak=E=>{if(E)return"";return j()};const Ee=this.callTap($,{onError:N=>E($,N,_e,doneBreak),onResult:N&&(E=>N($,E,_e,doneBreak)),onDone:!N&&_e,rethrowIfPossible:q&&(G<0||$Ee}ae+=ce();return ae}callTapsLooping({onError:E,onDone:N,rethrowIfPossible:R}){if(this.options.taps.length===0)return N();const j=this.options.taps.every((E=>E.type==="sync"));let $="";if(!j){$+="var _looper = () => {\n";$+="var _loopAsync = false;\n"}$+="var _loop;\n";$+="do {\n";$+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${N} !== undefined) {\n`;q+="_loop = true;\n";if(!j)q+="if(_loopAsync) _looper();\n";q+=$(true);q+=`} else {\n`;q+=R();q+=`}\n`;return q},onDone:N&&(()=>{let E="";E+="if(!_loop) {\n";E+=N();E+="}\n";return E}),rethrowIfPossible:R&&j});$+="} while(_loop);\n";if(!j){$+="_loopAsync = true;\n";$+="};\n";$+="_looper();\n"}return $}callTapsParallel({onError:E,onResult:N,onDone:R,rethrowIfPossible:j,onTap:$=((E,N)=>N())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:N,onDone:R,rethrowIfPossible:j})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(R){q+="var _done = () => {\n";q+=R();q+="};\n"}for(let G=0;G{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=$(G,(()=>this.callTap(G,{onError:N=>{let R="";R+="if(_counter > 0) {\n";R+=E(G,N,done,doneBreak);R+="}\n";return R},onResult:N&&(E=>{let R="";R+="if(_counter > 0) {\n";R+=N(G,E,done,doneBreak);R+="}\n";return R}),onDone:!N&&(()=>done()),rethrowIfPossible:j})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:N}={}){let R=this._args;if(E)R=[E].concat(R);if(N)R=R.concat(N);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},54333:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class SyncBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j,rethrowIfPossible:$}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j,rethrowIfPossible:$})}}const q=new SyncBailHookCodeFactory;class SyncBailHook extends j{tapAsync(){throw new Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncBailHook")}compile(E){q.setup(this,E);return q.create(E)}}E.exports=SyncBailHook},40352:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class SyncHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsSeries({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncHookCodeFactory;class SyncHook extends j{tapAsync(){throw new Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncHook")}compile(E){q.setup(this,E);return q.create(E)}}E.exports=SyncHook},86118:(E,N,R)=>{"use strict";const j=R(73837);const $=R(54333);function Tapable(){this._pluginCompat=new $(["options"]);this._pluginCompat.tap({name:"Tapable camelCase",stage:100},(E=>{E.names.add(E.name.replace(/[- ]([a-z])/g,((E,N)=>N.toUpperCase())))}));this._pluginCompat.tap({name:"Tapable this.hooks",stage:200},(E=>{let N;for(const R of E.names){N=this.hooks[R];if(N!==undefined){break}}if(N!==undefined){const R={name:E.fn.name||"unnamed compat plugin",stage:E.stage||0};if(E.async)N.tapAsync(R,E.fn);else N.tap(R,E.fn);return true}}))}E.exports=Tapable;Tapable.addCompatLayer=function addCompatLayer(E){Tapable.call(E);E.plugin=Tapable.prototype.plugin;E.apply=Tapable.prototype.apply};Tapable.prototype.plugin=j.deprecate((function plugin(E,N){if(Array.isArray(E)){E.forEach((function(E){this.plugin(E,N)}),this);return}const R=this._pluginCompat.call({name:E,fn:N,names:new Set([E])});if(!R){throw new Error(`Plugin could not be registered at '${E}'. Hook was not found.\n`+"BREAKING CHANGE: There need to exist a hook at 'this.hooks'. "+"To create a compatibility layer for this hook, hook into 'this._pluginCompat'.")}}),"Tapable.plugin is deprecated. Use new API on `.hooks` instead");Tapable.prototype.apply=j.deprecate((function apply(){for(var E=0;E{"use strict"; + */E.exports=function(E){if(typeof E==="number"){return E-E===0}if(typeof E==="string"&&E.trim()!==""){return Number.isFinite?Number.isFinite(+E):isFinite(+E)}return false}},58423:(E,N,R)=>{"use strict"; /*! * to-regex-range * * Copyright (c) 2015-present, Jon Schlinkert. * Released under the MIT License. - */const j=R(89459);const toRegexRange=(E,N,R)=>{if(j(E)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(N===void 0||E===N){return String(E)}if(j(N)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let $={relaxZeros:true,...R};if(typeof $.strictZeros==="boolean"){$.relaxZeros=$.strictZeros===false}let q=String($.relaxZeros);let G=String($.shorthand);let ie=String($.capture);let ae=String($.wrap);let ce=E+":"+N+"="+q+G+ie+ae;if(toRegexRange.cache.hasOwnProperty(ce)){return toRegexRange.cache[ce].result}let le=Math.min(E,N);let _e=Math.max(E,N);if(Math.abs(le-_e)===1){let R=E+"|"+N;if($.capture){return`(${R})`}if($.wrap===false){return R}return`(?:${R})`}let Ee=hasPadding(E)||hasPadding(N);let Te={min:E,max:N,a:le,b:_e};let we=[];let Ie=[];if(Ee){Te.isPadded=Ee;Te.maxLen=String(Te.max).length}if(le<0){let E=_e<0?Math.abs(_e):1;Ie=splitToPatterns(E,Math.abs(le),Te,$);le=Te.a=0}if(_e>=0){we=splitToPatterns(le,_e,Te,$)}Te.negatives=Ie;Te.positives=we;Te.result=collatePatterns(Ie,we,$);if($.capture===true){Te.result=`(${Te.result})`}else if($.wrap!==false&&we.length+Ie.length>1){Te.result=`(?:${Te.result})`}toRegexRange.cache[ce]=Te;return Te.result};function collatePatterns(E,N,R){let j=filterPatterns(E,N,"-",false,R)||[];let $=filterPatterns(N,E,"",false,R)||[];let q=filterPatterns(E,N,"-?",true,R)||[];let G=j.concat(q).concat($);return G.join("|")}function splitToRanges(E,N){let R=1;let j=1;let $=countNines(E,R);let q=new Set([N]);while(E<=$&&$<=N){q.add($);R+=1;$=countNines(E,R)}$=countZeros(N+1,j)-1;while(E<$&&$<=N){q.add($);j+=1;$=countZeros(N+1,j)-1}q=[...q];q.sort(compare);return q}function rangeToPattern(E,N,R){if(E===N){return{pattern:E,count:[],digits:0}}let j=zip(E,N);let $=j.length;let q="";let G=0;for(let E=0;E<$;E++){let[N,$]=j[E];if(N===$){q+=N}else if(N!=="0"||$!=="9"){q+=toCharacterClass(N,$,R)}else{G++}}if(G){q+=R.shorthand===true?"\\d":"[0-9]"}return{pattern:q,count:[G],digits:$}}function splitToPatterns(E,N,R,j){let $=splitToRanges(E,N);let q=[];let G=E;let ie;for(let E=0;E<$.length;E++){let N=$[E];let ae=rangeToPattern(String(G),String(N),j);let ce="";if(!R.isPadded&&ie&&ie.pattern===ae.pattern){if(ie.count.length>1){ie.count.pop()}ie.count.push(ae.count[0]);ie.string=ie.pattern+toQuantifier(ie.count);G=N+1;continue}if(R.isPadded){ce=padZeros(N,R,j)}ae.string=ce+ae.pattern+toQuantifier(ae.count);q.push(ae);G=N+1;ie=ae}return q}function filterPatterns(E,N,R,j,$){let q=[];for(let $ of E){let{string:E}=$;if(!j&&!contains(N,"string",E)){q.push(R+E)}if(j&&contains(N,"string",E)){q.push(R+E)}}return q}function zip(E,N){let R=[];for(let j=0;jN?1:N>E?-1:0}function contains(E,N,R){return E.some((E=>E[N]===R))}function countNines(E,N){return Number(String(E).slice(0,-N)+"9".repeat(N))}function countZeros(E,N){return E-E%Math.pow(10,N)}function toQuantifier(E){let[N=0,R=""]=E;if(R||N>1){return`{${N+(R?","+R:"")}}`}return""}function toCharacterClass(E,N,R){return`[${E}${N-E===1?"":"-"}${N}]`}function hasPadding(E){return/^-?(0+)\d/.test(E)}function padZeros(E,N,R){if(!N.isPadded){return E}let j=Math.abs(N.maxLen-String(E).length);let $=R.relaxZeros!==false;switch(j){case 0:return"";case 1:return $?"0?":"0";case 2:return $?"0{0,2}":"00";default:{return $?`0{0,${j}}`:`0{${j}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};E.exports=toRegexRange},5115:E=>{ + */const j=R(89691);const toRegexRange=(E,N,R)=>{if(j(E)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(N===void 0||E===N){return String(E)}if(j(N)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let $={relaxZeros:true,...R};if(typeof $.strictZeros==="boolean"){$.relaxZeros=$.strictZeros===false}let q=String($.relaxZeros);let G=String($.shorthand);let ie=String($.capture);let ae=String($.wrap);let ce=E+":"+N+"="+q+G+ie+ae;if(toRegexRange.cache.hasOwnProperty(ce)){return toRegexRange.cache[ce].result}let le=Math.min(E,N);let _e=Math.max(E,N);if(Math.abs(le-_e)===1){let R=E+"|"+N;if($.capture){return`(${R})`}if($.wrap===false){return R}return`(?:${R})`}let Te=hasPadding(E)||hasPadding(N);let Ee={min:E,max:N,a:le,b:_e};let we=[];let Ie=[];if(Te){Ee.isPadded=Te;Ee.maxLen=String(Ee.max).length}if(le<0){let E=_e<0?Math.abs(_e):1;Ie=splitToPatterns(E,Math.abs(le),Ee,$);le=Ee.a=0}if(_e>=0){we=splitToPatterns(le,_e,Ee,$)}Ee.negatives=Ie;Ee.positives=we;Ee.result=collatePatterns(Ie,we,$);if($.capture===true){Ee.result=`(${Ee.result})`}else if($.wrap!==false&&we.length+Ie.length>1){Ee.result=`(?:${Ee.result})`}toRegexRange.cache[ce]=Ee;return Ee.result};function collatePatterns(E,N,R){let j=filterPatterns(E,N,"-",false,R)||[];let $=filterPatterns(N,E,"",false,R)||[];let q=filterPatterns(E,N,"-?",true,R)||[];let G=j.concat(q).concat($);return G.join("|")}function splitToRanges(E,N){let R=1;let j=1;let $=countNines(E,R);let q=new Set([N]);while(E<=$&&$<=N){q.add($);R+=1;$=countNines(E,R)}$=countZeros(N+1,j)-1;while(E<$&&$<=N){q.add($);j+=1;$=countZeros(N+1,j)-1}q=[...q];q.sort(compare);return q}function rangeToPattern(E,N,R){if(E===N){return{pattern:E,count:[],digits:0}}let j=zip(E,N);let $=j.length;let q="";let G=0;for(let E=0;E<$;E++){let[N,$]=j[E];if(N===$){q+=N}else if(N!=="0"||$!=="9"){q+=toCharacterClass(N,$,R)}else{G++}}if(G){q+=R.shorthand===true?"\\d":"[0-9]"}return{pattern:q,count:[G],digits:$}}function splitToPatterns(E,N,R,j){let $=splitToRanges(E,N);let q=[];let G=E;let ie;for(let E=0;E<$.length;E++){let N=$[E];let ae=rangeToPattern(String(G),String(N),j);let ce="";if(!R.isPadded&&ie&&ie.pattern===ae.pattern){if(ie.count.length>1){ie.count.pop()}ie.count.push(ae.count[0]);ie.string=ie.pattern+toQuantifier(ie.count);G=N+1;continue}if(R.isPadded){ce=padZeros(N,R,j)}ae.string=ce+ae.pattern+toQuantifier(ae.count);q.push(ae);G=N+1;ie=ae}return q}function filterPatterns(E,N,R,j,$){let q=[];for(let $ of E){let{string:E}=$;if(!j&&!contains(N,"string",E)){q.push(R+E)}if(j&&contains(N,"string",E)){q.push(R+E)}}return q}function zip(E,N){let R=[];for(let j=0;jN?1:N>E?-1:0}function contains(E,N,R){return E.some((E=>E[N]===R))}function countNines(E,N){return Number(String(E).slice(0,-N)+"9".repeat(N))}function countZeros(E,N){return E-E%Math.pow(10,N)}function toQuantifier(E){let[N=0,R=""]=E;if(R||N>1){return`{${N+(R?","+R:"")}}`}return""}function toCharacterClass(E,N,R){return`[${E}${N-E===1?"":"-"}${N}]`}function hasPadding(E){return/^-?(0+)\d/.test(E)}function padZeros(E,N,R){if(!N.isPadded){return E}let j=Math.abs(N.maxLen-String(E).length);let $=R.relaxZeros!==false;switch(j){case 0:return"";case 1:return $?"0?":"0";case 2:return $?"0{0,2}":"00";default:{return $?`0{0,${j}}`:`0{${j}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};E.exports=toRegexRange},22198:(E,N,R)=>{ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ +E.exports=R(53765)},50007:(E,N,R)=>{"use strict"; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */var j=R(22198);var $=R(71017).extname;var q=/^\s*([^;\s]*)(?:;|\s|$)/;var G=/^text\//i;N.charset=charset;N.charsets={lookup:charset};N.contentType=contentType;N.extension=extension;N.extensions=Object.create(null);N.lookup=lookup;N.types=Object.create(null);populateMaps(N.extensions,N.types);function charset(E){if(!E||typeof E!=="string"){return false}var N=q.exec(E);var R=N&&j[N[1].toLowerCase()];if(R&&R.charset){return R.charset}if(N&&G.test(N[1])){return"UTF-8"}return false}function contentType(E){if(!E||typeof E!=="string"){return false}var R=E.indexOf("/")===-1?N.lookup(E):E;if(!R){return false}if(R.indexOf("charset")===-1){var j=N.charset(R);if(j)R+="; charset="+j.toLowerCase()}return R}function extension(E){if(!E||typeof E!=="string"){return false}var R=q.exec(E);var j=R&&N.extensions[R[1].toLowerCase()];if(!j||!j.length){return false}return j[0]}function lookup(E){if(!E||typeof E!=="string"){return false}var R=$("x."+E).toLowerCase().substr(1);if(!R){return false}return N.types[R]||false}function populateMaps(E,N){var R=["nginx","apache",undefined,"iana"];Object.keys(j).forEach((function forEachMimeType($){var q=j[$];var G=q.extensions;if(!G||!G.length){return}E[$]=G;for(var ie=0;iele||ce===le&&N[ae].substr(0,12)==="application/")){continue}}N[ae]=$}}))}},62355:function(E,N){(function(E,R){"use strict";true?R(N):0})(this,(function(E){"use strict";var N=function noop(){};var R=function throwError(){throw new Error("Callback was already called.")};var j=5;var $=0;var q="object";var G="function";var ie=Array.isArray;var ae=Object.keys;var ce=Array.prototype.push;var le=typeof Symbol===G&&Symbol.iterator;var _e,Te,Ee;createImmediate();var we=createEach(arrayEach,baseEach,symbolEach);var Ie=createMap(arrayEachIndex,baseEachIndex,symbolEachIndex,true);var Ne=createMap(arrayEachIndex,baseEachKey,symbolEachKey,false);var Me=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,true);var Le=createFilterSeries(true);var Be=createFilterLimit(true);var je=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,false);var Ue=createFilterSeries(false);var ze=createFilterLimit(false);var We=createDetect(arrayEachValue,baseEachValue,symbolEachValue,true);var Je=createDetectSeries(true);var Ve=createDetectLimit(true);var qe=createEvery(arrayEachValue,baseEachValue,symbolEachValue);var He=createEverySeries();var Ge=createEveryLimit();var Ke=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,true);var Qe=createPickSeries(true);var Xe=createPickLimit(true);var Ye=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,false);var Ze=createPickSeries(false);var et=createPickLimit(false);var tt=createTransform(arrayEachResult,baseEachResult,symbolEachResult);var rt=createSortBy(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue);var nt=createConcat(arrayEachIndex,baseEachIndex,symbolEachIndex);var it=createGroupBy(arrayEachValue,baseEachValue,symbolEachValue);var ot=createParallel(arrayEachFunc,baseEachFunc);var st=createApplyEach(Ie);var ct=createApplyEach(mapSeries);var ut=createLogger("log");var dt=createLogger("dir");var pt={VERSION:"2.6.2",each:we,eachSeries:eachSeries,eachLimit:eachLimit,forEach:we,forEachSeries:eachSeries,forEachLimit:eachLimit,eachOf:we,eachOfSeries:eachSeries,eachOfLimit:eachLimit,forEachOf:we,forEachOfSeries:eachSeries,forEachOfLimit:eachLimit,map:Ie,mapSeries:mapSeries,mapLimit:mapLimit,mapValues:Ne,mapValuesSeries:mapValuesSeries,mapValuesLimit:mapValuesLimit,filter:Me,filterSeries:Le,filterLimit:Be,select:Me,selectSeries:Le,selectLimit:Be,reject:je,rejectSeries:Ue,rejectLimit:ze,detect:We,detectSeries:Je,detectLimit:Ve,find:We,findSeries:Je,findLimit:Ve,pick:Ke,pickSeries:Qe,pickLimit:Xe,omit:Ye,omitSeries:Ze,omitLimit:et,reduce:reduce,inject:reduce,foldl:reduce,reduceRight:reduceRight,foldr:reduceRight,transform:tt,transformSeries:transformSeries,transformLimit:transformLimit,sortBy:rt,sortBySeries:sortBySeries,sortByLimit:sortByLimit,some:some,someSeries:someSeries,someLimit:someLimit,any:some,anySeries:someSeries,anyLimit:someLimit,every:qe,everySeries:He,everyLimit:Ge,all:qe,allSeries:He,allLimit:Ge,concat:nt,concatSeries:concatSeries,concatLimit:concatLimit,groupBy:it,groupBySeries:groupBySeries,groupByLimit:groupByLimit,parallel:ot,series:series,parallelLimit:parallelLimit,tryEach:tryEach,waterfall:waterfall,angelFall:angelFall,angelfall:angelFall,whilst:whilst,doWhilst:doWhilst,until:until,doUntil:doUntil,during:during,doDuring:doDuring,forever:forever,compose:compose,seq:seq,applyEach:st,applyEachSeries:ct,queue:queue,priorityQueue:priorityQueue,cargo:cargo,auto:auto,autoInject:autoInject,retry:retry,retryable:retryable,iterator:iterator,times:times,timesSeries:timesSeries,timesLimit:timesLimit,race:race,apply:apply,nextTick:Te,setImmediate:Ee,memoize:memoize,unmemoize:unmemoize,ensureAsync:ensureAsync,constant:constant,asyncify:asyncify,wrapSync:asyncify,log:ut,dir:dt,reflect:reflect,reflectAll:reflectAll,timeout:timeout,createLogger:createLogger,safe:safe,fast:fast};E["default"]=pt;baseEachSync(pt,(function(N,R){E[R]=N}),ae(pt));function createImmediate(E){var N=function delay(E){var N=slice(arguments,1);setTimeout((function(){E.apply(null,N)}))};Ee=typeof setImmediate===G?setImmediate:N;if(typeof process===q&&typeof process.nextTick===G){_e=/^v0.10/.test(process.version)?Ee:process.nextTick;Te=/^v0/.test(process.version)?Ee:process.nextTick}else{Te=_e=Ee}if(E===false){_e=function(E){E()}}}function createArray(E){var N=-1;var R=E.length;var j=Array(R);while(++N=N&&E[G]>=j){G--}if(q>G){break}swap(E,$,q++,G--)}return q}function swap(E,N,R,j){var $=E[R];E[R]=E[j];E[j]=$;var q=N[R];N[R]=N[j];N[j]=q}function quickSort(E,N,R,j){if(N===R){return}var $=N;while(++$<=R&&E[N]===E[$]){var q=$-1;if(j[q]>j[$]){var G=j[q];j[q]=j[$];j[$]=G}}if($>R){return}var ie=E[N]>E[$]?N:$;$=partition(E,N,R,E[ie],j);quickSort(E,N,$-1,j);quickSort(E,$,R,j)}function makeConcatResult(E){var R=[];arrayEachSync(E,(function(E){if(E===N){return}if(ie(E)){ce.apply(R,E)}else{R.push(E)}}));return R}function arrayEach(E,N,R){var j=-1;var $=E.length;if(N.length===3){while(++j<$){N(E[j],j,onlyOnce(R))}}else{while(++j<$){N(E[j],onlyOnce(R))}}}function baseEach(E,N,R,j){var $;var q=-1;var G=j.length;if(N.length===3){while(++qTe?Te:$,Be);function arrayIterator(){Ee=ze++;if(Eece?ce:j,Me);function arrayIterator(){if(Bece?ce:j,Le);function arrayIterator(){Te=je++;if(Tece?ce:j,Me);function arrayIterator(){Te=je++;if(TeTe?Te:$,Be);function arrayIterator(){Ee=Ue++;if(EeTe?Te:$,Be);function arrayIterator(){Ee=ze++;if(Eece?ce:R,Me);function arrayIterator(){Te=je++;if(Tece?ce:j,je);function arrayIterator(){if(ze=2){ce.apply(Le,slice(arguments,1))}if(E){$(E,Le)}else if(++Be===G){Ne=R;$(null,Le)}else if(Me){_e(Ne)}else{Me=true;Ne()}Me=false}}function concatLimit(E,j,$,G){G=G||N;var ce,Te,Ee,we,Ie,Ne;var Me=false;var Le=0;var Be=0;if(ie(E)){ce=E.length;Ie=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ne=[];Ee=E[le]();Ie=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){var je=ae(E);ce=je.length;Ie=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,[])}Ne=Ne||Array(ce);timesSync(j>ce?ce:j,Ie);function arrayIterator(){if(Lece?ce:j,Le);function arrayIterator(){if(jeG?G:j,we);function arrayIterator(){ce=Ne++;if(ce1){var j=slice(arguments,1);return go.apply(this,j)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var N=E.prev;var R=E.next;if(N){N.next=R}else{this.head=R}if(R){R.prev=N}else{this.tail=N}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,N){N.prev=E.prev;N.next=E;if(E.prev){E.prev.next=N}else{this.head=N}E.prev=N;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var N=this.tail;if(N){E.prev=N;E.next=N.next;this.tail=E;N.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var N;var R=[];while(E--&&(N=this.shift())){R.push(N)}return R};DLL.prototype.remove=function(E){var N=this.head;while(N){if(E(N)){this._removeLink(N)}N=N.next}return this};function baseQueue(E,j,$,q){if($===undefined){$=1}else if(isNaN($)||$<1){throw new Error("Concurrency must not be zero")}var G=0;var ae=[];var le,Te;var Ee={_tasks:new DLL,concurrency:$,payload:q,saturated:N,unsaturated:N,buffer:$/4,empty:N,drain:N,error:N,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:j};return Ee;function push(E,N){_insert(E,N)}function unshift(E,N){_insert(E,N,true)}function _exec(E){var N={data:E,callback:le};if(Te){Ee._tasks.unshift(N)}else{Ee._tasks.push(N)}_e(Ee.process)}function _insert(E,R,j){if(R==null){R=N}else if(typeof R!=="function"){throw new Error("task callback must be a function")}Ee.started=true;var $=ie(E)?E:[E];if(E===undefined||!$.length){if(Ee.idle()){_e(Ee.drain)}return}Te=j;le=R;arrayEachSync($,_exec);le=undefined}function kill(){Ee.drain=N;Ee._tasks.empty()}function _next(E,N){var j=false;return function done($,q){if(j){R()}j=true;G--;var ie;var ce=-1;var le=ae.length;var _e=-1;var Te=N.length;var Ee=arguments.length>2;var we=Ee&&createArray(arguments);while(++_e=ce.priority){ce=ce.next}while(ae--){var le={data:q[ae],priority:R,callback:$};if(ce){j._tasks.insertBefore(ce,le)}else{j._tasks.push(le)}_e(j.process)}}}function cargo(E,N){return baseQueue(false,E,1,N)}function auto(E,j,$){if(typeof j===G){$=j;j=null}var q=ae(E);var ce=q.length;var le={};if(ce===0){return $(null,le)}var _e=0;var Te=new DLL;var Ee=Object.create(null);$=onlyOnce($||N);j=j||ce;baseEachSync(E,iterator,q);proceedQueue();function iterator(E,j){var G,ae;if(!ie(E)){G=E;ae=0;Te.push([G,ae,done]);return}var we=E.length-1;G=E[we];ae=we;if(we===0){Te.push([G,ae,done]);return}var Ie=-1;while(++Ie=E){$(null,q);$=R}else if(G){_e(iterate)}else{G=true;iterate()}G=false}}function timesLimit(E,j,$,q){q=q||N;E=+E;if(isNaN(E)||E<1||isNaN(j)||j<1){return q(null,[])}var G=Array(E);var ie=false;var ae=0;var ce=0;timesSync(j>E?E:j,iterate);function iterate(){var N=ae++;if(N=E){q(null,G);q=R}else if(ie){_e(iterate)}else{ie=true;iterate()}ie=false}}}function race(E,R){R=once(R||N);var j,$;var G=-1;if(ie(E)){j=E.length;while(++G2){R=slice(arguments,1)}N(null,{value:R})}}}function reflectAll(E){var N,R;if(ie(E)){N=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===q){R=ae(E);N={};baseEachSync(E,iterate,R)}return N;function iterate(E,R){N[R]=reflect(E)}}function createLogger(E){return function(E){var N=slice(arguments,1);N.push(done);E.apply(null,N)};function done(N){if(typeof console===q){if(N){if(console.error){console.error(N)}return}if(console[E]){var R=slice(arguments,1);arrayEachSync(R,(function(N){console[E](N)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},5782:(E,N,R)=>{"use strict";E.exports=R(43162)},36949:(E,N,R)=>{"use strict";const j=R(71017);const $="\\\\/";const q=`[^${$}]`;const G="\\.";const ie="\\+";const ae="\\?";const ce="\\/";const le="(?=.)";const _e="[^/]";const Te=`(?:${ce}|$)`;const Ee=`(?:^|${ce})`;const we=`${G}{1,2}${Te}`;const Ie=`(?!${G})`;const Ne=`(?!${Ee}${we})`;const Me=`(?!${G}{0,1}${Te})`;const Le=`(?!${we})`;const Be=`[^.${ce}]`;const je=`${_e}*?`;const Ue={DOT_LITERAL:G,PLUS_LITERAL:ie,QMARK_LITERAL:ae,SLASH_LITERAL:ce,ONE_CHAR:le,QMARK:_e,END_ANCHOR:Te,DOTS_SLASH:we,NO_DOT:Ie,NO_DOTS:Ne,NO_DOT_SLASH:Me,NO_DOTS_SLASH:Le,QMARK_NO_DOT:Be,STAR:je,START_ANCHOR:Ee};const ze={...Ue,SLASH_LITERAL:`[${$}]`,QMARK:q,STAR:`${q}*?`,DOTS_SLASH:`${G}{1,2}(?:[${$}]|$)`,NO_DOT:`(?!${G})`,NO_DOTS:`(?!(?:^|[${$}])${G}{1,2}(?:[${$}]|$))`,NO_DOT_SLASH:`(?!${G}{0,1}(?:[${$}]|$))`,NO_DOTS_SLASH:`(?!${G}{1,2}(?:[${$}]|$))`,QMARK_NO_DOT:`[^.${$}]`,START_ANCHOR:`(?:^|[${$}])`,END_ANCHOR:`(?:[${$}]|$)`};const We={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"};E.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:We,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:j.sep,extglobChars(E){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${E.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(E){return E===true?ze:Ue}}},19934:(E,N,R)=>{"use strict";const j=R(36949);const $=R(2661);const{MAX_LENGTH:q,POSIX_REGEX_SOURCE:G,REGEX_NON_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_BACKREF:ae,REPLACEMENTS:ce}=j;const expandRange=(E,N)=>{if(typeof N.expandRange==="function"){return N.expandRange(...E,N)}E.sort();const R=`[${E.join("-")}]`;try{new RegExp(R)}catch(N){return E.map((E=>$.escapeRegex(E))).join("..")}return R};const syntaxError=(E,N)=>`Missing ${E}: "${N}" - use "\\\\${N}" to match literal characters`;const parse=(E,N)=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}E=ce[E]||E;const R={...N};const le=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;let _e=E.length;if(_e>le){throw new SyntaxError(`Input length: ${_e}, exceeds maximum allowed length: ${le}`)}const Te={type:"bos",value:"",output:R.prepend||""};const Ee=[Te];const we=R.capture?"":"?:";const Ie=$.isWindows(N);const Ne=j.globChars(Ie);const Me=j.extglobChars(Ne);const{DOT_LITERAL:Le,PLUS_LITERAL:Be,SLASH_LITERAL:je,ONE_CHAR:Ue,DOTS_SLASH:ze,NO_DOT:We,NO_DOT_SLASH:Je,NO_DOTS_SLASH:Ve,QMARK:qe,QMARK_NO_DOT:He,STAR:Ge,START_ANCHOR:Ke}=Ne;const globstar=E=>`(${we}(?:(?!${Ke}${E.dot?ze:Le}).)*?)`;const Qe=R.dot?"":We;const Xe=R.dot?qe:He;let Ye=R.bash===true?globstar(R):Ge;if(R.capture){Ye=`(${Ye})`}if(typeof R.noext==="boolean"){R.noextglob=R.noext}const Ze={input:E,index:-1,start:0,dot:R.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:Ee};E=$.removePrefix(E,Ze);_e=E.length;const et=[];const tt=[];const rt=[];let nt=Te;let it;const eos=()=>Ze.index===_e-1;const ot=Ze.peek=(N=1)=>E[Ze.index+N];const st=Ze.advance=()=>E[++Ze.index]||"";const remaining=()=>E.slice(Ze.index+1);const consume=(E="",N=0)=>{Ze.consumed+=E;Ze.index+=N};const append=E=>{Ze.output+=E.output!=null?E.output:E.value;consume(E.value)};const negate=()=>{let E=1;while(ot()==="!"&&(ot(2)!=="("||ot(3)==="?")){st();Ze.start++;E++}if(E%2===0){return false}Ze.negated=true;Ze.start++;return true};const increment=E=>{Ze[E]++;rt.push(E)};const decrement=E=>{Ze[E]--;rt.pop()};const push=E=>{if(nt.type==="globstar"){const N=Ze.braces>0&&(E.type==="comma"||E.type==="brace");const R=E.extglob===true||et.length&&(E.type==="pipe"||E.type==="paren");if(E.type!=="slash"&&E.type!=="paren"&&!N&&!R){Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="star";nt.value="*";nt.output=Ye;Ze.output+=nt.output}}if(et.length&&E.type!=="paren"){et[et.length-1].inner+=E.value}if(E.value||E.output)append(E);if(nt&&nt.type==="text"&&E.type==="text"){nt.value+=E.value;nt.output=(nt.output||"")+E.value;return}E.prev=nt;Ee.push(E);nt=E};const extglobOpen=(E,N)=>{const j={...Me[N],conditions:1,inner:""};j.prev=nt;j.parens=Ze.parens;j.output=Ze.output;const $=(R.capture?"(":"")+j.open;increment("parens");push({type:E,value:N,output:Ze.output?"":Ue});push({type:"paren",extglob:true,value:st(),output:$});et.push(j)};const extglobClose=E=>{let N=E.close+(R.capture?")":"");let j;if(E.type==="negate"){let $=Ye;if(E.inner&&E.inner.length>1&&E.inner.includes("/")){$=globstar(R)}if($!==Ye||eos()||/^\)+$/.test(remaining())){N=E.close=`)$))${$}`}if(E.inner.includes("*")&&(j=remaining())&&/^\.[^\\/.]+$/.test(j)){N=E.close=`)${j})${$})`}if(E.prev.type==="bos"){Ze.negatedExtglob=true}}push({type:"paren",extglob:true,value:it,output:N});decrement("parens")};if(R.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(E)){let j=false;let q=E.replace(ae,((E,N,R,$,q,G)=>{if($==="\\"){j=true;return E}if($==="?"){if(N){return N+$+(q?qe.repeat(q.length):"")}if(G===0){return Xe+(q?qe.repeat(q.length):"")}return qe.repeat(R.length)}if($==="."){return Le.repeat(R.length)}if($==="*"){if(N){return N+$+(q?Ye:"")}return Ye}return N?E:`\\${E}`}));if(j===true){if(R.unescape===true){q=q.replace(/\\/g,"")}else{q=q.replace(/\\+/g,(E=>E.length%2===0?"\\\\":E?"\\":""))}}if(q===E&&R.contains===true){Ze.output=E;return Ze}Ze.output=$.wrapOutput(q,Ze,N);return Ze}while(!eos()){it=st();if(it==="\0"){continue}if(it==="\\"){const E=ot();if(E==="/"&&R.bash!==true){continue}if(E==="."||E===";"){continue}if(!E){it+="\\";push({type:"text",value:it});continue}const N=/^\\+/.exec(remaining());let j=0;if(N&&N[0].length>2){j=N[0].length;Ze.index+=j;if(j%2!==0){it+="\\"}}if(R.unescape===true){it=st()}else{it+=st()}if(Ze.brackets===0){push({type:"text",value:it});continue}}if(Ze.brackets>0&&(it!=="]"||nt.value==="["||nt.value==="[^")){if(R.posix!==false&&it===":"){const E=nt.value.slice(1);if(E.includes("[")){nt.posix=true;if(E.includes(":")){const E=nt.value.lastIndexOf("[");const N=nt.value.slice(0,E);const R=nt.value.slice(E+2);const j=G[R];if(j){nt.value=N+j;Ze.backtrack=true;st();if(!Te.output&&Ee.indexOf(nt)===1){Te.output=Ue}continue}}}}if(it==="["&&ot()!==":"||it==="-"&&ot()==="]"){it=`\\${it}`}if(it==="]"&&(nt.value==="["||nt.value==="[^")){it=`\\${it}`}if(R.posix===true&&it==="!"&&nt.value==="["){it="^"}nt.value+=it;append({value:it});continue}if(Ze.quotes===1&&it!=='"'){it=$.escapeRegex(it);nt.value+=it;append({value:it});continue}if(it==='"'){Ze.quotes=Ze.quotes===1?0:1;if(R.keepQuotes===true){push({type:"text",value:it})}continue}if(it==="("){increment("parens");push({type:"paren",value:it});continue}if(it===")"){if(Ze.parens===0&&R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const E=et[et.length-1];if(E&&Ze.parens===E.parens+1){extglobClose(et.pop());continue}push({type:"paren",value:it,output:Ze.parens?")":"\\)"});decrement("parens");continue}if(it==="["){if(R.nobracket===true||!remaining().includes("]")){if(R.nobracket!==true&&R.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}it=`\\${it}`}else{increment("brackets")}push({type:"bracket",value:it});continue}if(it==="]"){if(R.nobracket===true||nt&&nt.type==="bracket"&&nt.value.length===1){push({type:"text",value:it,output:`\\${it}`});continue}if(Ze.brackets===0){if(R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:it,output:`\\${it}`});continue}decrement("brackets");const E=nt.value.slice(1);if(nt.posix!==true&&E[0]==="^"&&!E.includes("/")){it=`/${it}`}nt.value+=it;append({value:it});if(R.literalBrackets===false||$.hasRegexChars(E)){continue}const N=$.escapeRegex(nt.value);Ze.output=Ze.output.slice(0,-nt.value.length);if(R.literalBrackets===true){Ze.output+=N;nt.value=N;continue}nt.value=`(${we}${N}|${nt.value})`;Ze.output+=nt.value;continue}if(it==="{"&&R.nobrace!==true){increment("braces");const E={type:"brace",value:it,output:"(",outputIndex:Ze.output.length,tokensIndex:Ze.tokens.length};tt.push(E);push(E);continue}if(it==="}"){const E=tt[tt.length-1];if(R.nobrace===true||!E){push({type:"text",value:it,output:it});continue}let N=")";if(E.dots===true){const E=Ee.slice();const j=[];for(let N=E.length-1;N>=0;N--){Ee.pop();if(E[N].type==="brace"){break}if(E[N].type!=="dots"){j.unshift(E[N].value)}}N=expandRange(j,R);Ze.backtrack=true}if(E.comma!==true&&E.dots!==true){const R=Ze.output.slice(0,E.outputIndex);const j=Ze.tokens.slice(E.tokensIndex);E.value=E.output="\\{";it=N="\\}";Ze.output=R;for(const E of j){Ze.output+=E.output||E.value}}push({type:"brace",value:it,output:N});decrement("braces");tt.pop();continue}if(it==="|"){if(et.length>0){et[et.length-1].conditions++}push({type:"text",value:it});continue}if(it===","){let E=it;const N=tt[tt.length-1];if(N&&rt[rt.length-1]==="braces"){N.comma=true;E="|"}push({type:"comma",value:it,output:E});continue}if(it==="/"){if(nt.type==="dot"&&Ze.index===Ze.start+1){Ze.start=Ze.index+1;Ze.consumed="";Ze.output="";Ee.pop();nt=Te;continue}push({type:"slash",value:it,output:je});continue}if(it==="."){if(Ze.braces>0&&nt.type==="dot"){if(nt.value===".")nt.output=Le;const E=tt[tt.length-1];nt.type="dots";nt.output+=it;nt.value+=it;E.dots=true;continue}if(Ze.braces+Ze.parens===0&&nt.type!=="bos"&&nt.type!=="slash"){push({type:"text",value:it,output:Le});continue}push({type:"dot",value:it,output:Le});continue}if(it==="?"){const E=nt&&nt.value==="(";if(!E&&R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("qmark",it);continue}if(nt&&nt.type==="paren"){const E=ot();let N=it;if(E==="<"&&!$.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(nt.value==="("&&!/[!=<:]/.test(E)||E==="<"&&!/<([!=]|\w+>)/.test(remaining())){N=`\\${it}`}push({type:"text",value:it,output:N});continue}if(R.dot!==true&&(nt.type==="slash"||nt.type==="bos")){push({type:"qmark",value:it,output:He});continue}push({type:"qmark",value:it,output:qe});continue}if(it==="!"){if(R.noextglob!==true&&ot()==="("){if(ot(2)!=="?"||!/[!=<:]/.test(ot(3))){extglobOpen("negate",it);continue}}if(R.nonegate!==true&&Ze.index===0){negate();continue}}if(it==="+"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("plus",it);continue}if(nt&&nt.value==="("||R.regex===false){push({type:"plus",value:it,output:Be});continue}if(nt&&(nt.type==="bracket"||nt.type==="paren"||nt.type==="brace")||Ze.parens>0){push({type:"plus",value:it});continue}push({type:"plus",value:Be});continue}if(it==="@"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){push({type:"at",extglob:true,value:it,output:""});continue}push({type:"text",value:it});continue}if(it!=="*"){if(it==="$"||it==="^"){it=`\\${it}`}const E=ie.exec(remaining());if(E){it+=E[0];Ze.index+=E[0].length}push({type:"text",value:it});continue}if(nt&&(nt.type==="globstar"||nt.star===true)){nt.type="star";nt.star=true;nt.value+=it;nt.output=Ye;Ze.backtrack=true;Ze.globstar=true;consume(it);continue}let N=remaining();if(R.noextglob!==true&&/^\([^?]/.test(N)){extglobOpen("star",it);continue}if(nt.type==="star"){if(R.noglobstar===true){consume(it);continue}const j=nt.prev;const $=j.prev;const q=j.type==="slash"||j.type==="bos";const G=$&&($.type==="star"||$.type==="globstar");if(R.bash===true&&(!q||N[0]&&N[0]!=="/")){push({type:"star",value:it,output:""});continue}const ie=Ze.braces>0&&(j.type==="comma"||j.type==="brace");const ae=et.length&&(j.type==="pipe"||j.type==="paren");if(!q&&j.type!=="paren"&&!ie&&!ae){push({type:"star",value:it,output:""});continue}while(N.slice(0,3)==="/**"){const R=E[Ze.index+4];if(R&&R!=="/"){break}N=N.slice(3);consume("/**",3)}if(j.type==="bos"&&eos()){nt.type="globstar";nt.value+=it;nt.output=globstar(R);Ze.output=nt.output;Ze.globstar=true;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&!G&&eos()){Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=globstar(R)+(R.strictSlashes?")":"|$)");nt.value+=it;Ze.globstar=true;Ze.output+=j.output+nt.output;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&N[0]==="/"){const E=N[1]!==void 0?"|$":"";Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=`${globstar(R)}${je}|${je}${E})`;nt.value+=it;Ze.output+=j.output+nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}if(j.type==="bos"&&N[0]==="/"){nt.type="globstar";nt.value+=it;nt.output=`(?:^|${je}|${globstar(R)}${je})`;Ze.output=nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="globstar";nt.output=globstar(R);nt.value+=it;Ze.output+=nt.output;Ze.globstar=true;consume(it);continue}const j={type:"star",value:it,output:Ye};if(R.bash===true){j.output=".*?";if(nt.type==="bos"||nt.type==="slash"){j.output=Qe+j.output}push(j);continue}if(nt&&(nt.type==="bracket"||nt.type==="paren")&&R.regex===true){j.output=it;push(j);continue}if(Ze.index===Ze.start||nt.type==="slash"||nt.type==="dot"){if(nt.type==="dot"){Ze.output+=Je;nt.output+=Je}else if(R.dot===true){Ze.output+=Ve;nt.output+=Ve}else{Ze.output+=Qe;nt.output+=Qe}if(ot()!=="*"){Ze.output+=Ue;nt.output+=Ue}}push(j)}while(Ze.brackets>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));Ze.output=$.escapeLast(Ze.output,"[");decrement("brackets")}while(Ze.parens>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));Ze.output=$.escapeLast(Ze.output,"(");decrement("parens")}while(Ze.braces>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));Ze.output=$.escapeLast(Ze.output,"{");decrement("braces")}if(R.strictSlashes!==true&&(nt.type==="star"||nt.type==="bracket")){push({type:"maybe_slash",value:"",output:`${je}?`})}if(Ze.backtrack===true){Ze.output="";for(const E of Ze.tokens){Ze.output+=E.output!=null?E.output:E.value;if(E.suffix){Ze.output+=E.suffix}}}return Ze};parse.fastpaths=(E,N)=>{const R={...N};const G=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;const ie=E.length;if(ie>G){throw new SyntaxError(`Input length: ${ie}, exceeds maximum allowed length: ${G}`)}E=ce[E]||E;const ae=$.isWindows(N);const{DOT_LITERAL:le,SLASH_LITERAL:_e,ONE_CHAR:Te,DOTS_SLASH:Ee,NO_DOT:we,NO_DOTS:Ie,NO_DOTS_SLASH:Ne,STAR:Me,START_ANCHOR:Le}=j.globChars(ae);const Be=R.dot?Ie:we;const je=R.dot?Ne:we;const Ue=R.capture?"":"?:";const ze={negated:false,prefix:""};let We=R.bash===true?".*?":Me;if(R.capture){We=`(${We})`}const globstar=E=>{if(E.noglobstar===true)return We;return`(${Ue}(?:(?!${Le}${E.dot?Ee:le}).)*?)`};const create=E=>{switch(E){case"*":return`${Be}${Te}${We}`;case".*":return`${le}${Te}${We}`;case"*.*":return`${Be}${We}${le}${Te}${We}`;case"*/*":return`${Be}${We}${_e}${Te}${je}${We}`;case"**":return Be+globstar(R);case"**/*":return`(?:${Be}${globstar(R)}${_e})?${je}${Te}${We}`;case"**/*.*":return`(?:${Be}${globstar(R)}${_e})?${je}${We}${le}${Te}${We}`;case"**/.*":return`(?:${Be}${globstar(R)}${_e})?${le}${Te}${We}`;default:{const N=/^(.*?)\.(\w+)$/.exec(E);if(!N)return;const R=create(N[1]);if(!R)return;return R+le+N[2]}}};const Je=$.removePrefix(E,ze);let Ve=create(Je);if(Ve&&R.strictSlashes!==true){Ve+=`${_e}?`}return Ve};E.exports=parse},43162:(E,N,R)=>{"use strict";const j=R(71017);const $=R(35788);const q=R(19934);const G=R(2661);const ie=R(36949);const isObject=E=>E&&typeof E==="object"&&!Array.isArray(E);const picomatch=(E,N,R=false)=>{if(Array.isArray(E)){const j=E.map((E=>picomatch(E,N,R)));const arrayMatcher=E=>{for(const N of j){const R=N(E);if(R)return R}return false};return arrayMatcher}const j=isObject(E)&&E.tokens&&E.input;if(E===""||typeof E!=="string"&&!j){throw new TypeError("Expected pattern to be a non-empty string")}const $=N||{};const q=G.isWindows(N);const ie=j?picomatch.compileRe(E,N):picomatch.makeRe(E,N,false,true);const ae=ie.state;delete ie.state;let isIgnored=()=>false;if($.ignore){const E={...N,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch($.ignore,E,R)}const matcher=(R,j=false)=>{const{isMatch:G,match:ce,output:le}=picomatch.test(R,ie,N,{glob:E,posix:q});const _e={glob:E,state:ae,regex:ie,posix:q,input:R,output:le,match:ce,isMatch:G};if(typeof $.onResult==="function"){$.onResult(_e)}if(G===false){_e.isMatch=false;return j?_e:false}if(isIgnored(R)){if(typeof $.onIgnore==="function"){$.onIgnore(_e)}_e.isMatch=false;return j?_e:false}if(typeof $.onMatch==="function"){$.onMatch(_e)}return j?_e:true};if(R){matcher.state=ae}return matcher};picomatch.test=(E,N,R,{glob:j,posix:$}={})=>{if(typeof E!=="string"){throw new TypeError("Expected input to be a string")}if(E===""){return{isMatch:false,output:""}}const q=R||{};const ie=q.format||($?G.toPosixSlashes:null);let ae=E===j;let ce=ae&&ie?ie(E):E;if(ae===false){ce=ie?ie(E):E;ae=ce===j}if(ae===false||q.capture===true){if(q.matchBase===true||q.basename===true){ae=picomatch.matchBase(E,N,R,$)}else{ae=N.exec(ce)}}return{isMatch:Boolean(ae),match:ae,output:ce}};picomatch.matchBase=(E,N,R,$=G.isWindows(R))=>{const q=N instanceof RegExp?N:picomatch.makeRe(N,R);return q.test(j.basename(E))};picomatch.isMatch=(E,N,R)=>picomatch(N,R)(E);picomatch.parse=(E,N)=>{if(Array.isArray(E))return E.map((E=>picomatch.parse(E,N)));return q(E,{...N,fastpaths:false})};picomatch.scan=(E,N)=>$(E,N);picomatch.compileRe=(E,N,R=false,j=false)=>{if(R===true){return E.output}const $=N||{};const q=$.contains?"":"^";const G=$.contains?"":"$";let ie=`${q}(?:${E.output})${G}`;if(E&&E.negated===true){ie=`^(?!${ie}).*$`}const ae=picomatch.toRegex(ie,N);if(j===true){ae.state=E}return ae};picomatch.makeRe=(E,N={},R=false,j=false)=>{if(!E||typeof E!=="string"){throw new TypeError("Expected a non-empty string")}let $={negated:false,fastpaths:true};if(N.fastpaths!==false&&(E[0]==="."||E[0]==="*")){$.output=q.fastpaths(E,N)}if(!$.output){$=q(E,N)}return picomatch.compileRe($,N,R,j)};picomatch.toRegex=(E,N)=>{try{const R=N||{};return new RegExp(E,R.flags||(R.nocase?"i":""))}catch(E){if(N&&N.debug===true)throw E;return/$^/}};picomatch.constants=ie;E.exports=picomatch},35788:(E,N,R)=>{"use strict";const j=R(2661);const{CHAR_ASTERISK:$,CHAR_AT:q,CHAR_BACKWARD_SLASH:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_EXCLAMATION_MARK:ce,CHAR_FORWARD_SLASH:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_LEFT_PARENTHESES:Te,CHAR_LEFT_SQUARE_BRACKET:Ee,CHAR_PLUS:we,CHAR_QUESTION_MARK:Ie,CHAR_RIGHT_CURLY_BRACE:Ne,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Le}=R(36949);const isPathSeparator=E=>E===le||E===G;const depth=E=>{if(E.isPrefix!==true){E.depth=E.isGlobstar?Infinity:1}};const scan=(E,N)=>{const R=N||{};const Be=E.length-1;const je=R.parts===true||R.scanToEnd===true;const Ue=[];const ze=[];const We=[];let Je=E;let Ve=-1;let qe=0;let He=0;let Ge=false;let Ke=false;let Qe=false;let Xe=false;let Ye=false;let Ze=false;let et=false;let tt=false;let rt=false;let nt=false;let it=0;let ot;let st;let ct={value:"",depth:0,isGlob:false};const eos=()=>Ve>=Be;const peek=()=>Je.charCodeAt(Ve+1);const advance=()=>{ot=st;return Je.charCodeAt(++Ve)};while(Ve0){dt=Je.slice(0,qe);Je=Je.slice(qe);He-=qe}if(ut&&Qe===true&&He>0){ut=Je.slice(0,He);pt=Je.slice(He)}else if(Qe===true){ut="";pt=Je}else{ut=Je}if(ut&&ut!==""&&ut!=="/"&&ut!==Je){if(isPathSeparator(ut.charCodeAt(ut.length-1))){ut=ut.slice(0,-1)}}if(R.unescape===true){if(pt)pt=j.removeBackslashes(pt);if(ut&&et===true){ut=j.removeBackslashes(ut)}}const ft={prefix:dt,input:E,start:qe,base:ut,glob:pt,isBrace:Ge,isBracket:Ke,isGlob:Qe,isExtglob:Xe,isGlobstar:Ye,negated:tt,negatedExtglob:rt};if(R.tokens===true){ft.maxDepth=0;if(!isPathSeparator(st)){ze.push(ct)}ft.tokens=ze}if(R.parts===true||R.tokens===true){let N;for(let j=0;j{"use strict";const j=R(71017);const $=process.platform==="win32";const{REGEX_BACKSLASH:q,REGEX_REMOVE_BACKSLASH:G,REGEX_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_GLOBAL:ae}=R(36949);N.isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);N.hasRegexChars=E=>ie.test(E);N.isRegexChar=E=>E.length===1&&N.hasRegexChars(E);N.escapeRegex=E=>E.replace(ae,"\\$1");N.toPosixSlashes=E=>E.replace(q,"/");N.removeBackslashes=E=>E.replace(G,(E=>E==="\\"?"":E));N.supportsLookbehinds=()=>{const E=process.version.slice(1).split(".").map(Number);if(E.length===3&&E[0]>=9||E[0]===8&&E[1]>=10){return true}return false};N.isWindows=E=>{if(E&&typeof E.windows==="boolean"){return E.windows}return $===true||j.sep==="\\"};N.escapeLast=(E,R,j)=>{const $=E.lastIndexOf(R,j);if($===-1)return E;if(E[$-1]==="\\")return N.escapeLast(E,R,$-1);return`${E.slice(0,$)}\\${E.slice($)}`};N.removePrefix=(E,N={})=>{let R=E;if(R.startsWith("./")){R=R.slice(2);N.prefix="./"}return R};N.wrapOutput=(E,N={},R={})=>{const j=R.contains?"":"^";const $=R.contains?"":"$";let q=`${j}(?:${E})${$}`;if(N.negated===true){q=`(?:^(?!${q}).*$)`}return q}},31998:(E,N,R)=>{E.exports=R(6113).randomBytes},24672:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;const{stringHints:j,numberHints:$}=R(47961);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,N){const R=E.reduce(((E,R)=>Math.max(E,N(R))),0);return E.filter((E=>N(E)===R))}function filterChildren(E){let N=E;N=filterMax(N,(E=>E.dataPath?E.dataPath.length:0));N=filterMax(N,(E=>q[E.keyword]||2));return N}function findAllChildren(E,N){let R=E.length-1;const predicate=N=>E[R].schemaPath.indexOf(N)!==0;while(R>-1&&!N.every(predicate)){if(E[R].keyword==="anyOf"||E[R].keyword==="oneOf"){const N=extractRefs(E[R]);const j=findAllChildren(E.slice(0,R),N.concat(E[R].schemaPath));R=j-1}else{R-=1}}return R+1}function extractRefs(E){const{schema:N}=E;if(!Array.isArray(N)){return[]}return N.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const N=[];let R=E.length-1;while(R>0){const j=E[R];if(j.keyword==="anyOf"||j.keyword==="oneOf"){const $=extractRefs(j);const q=findAllChildren(E.slice(0,R),$.concat(j.schemaPath));if(q!==R){N.push(Object.assign({},j,{children:E.slice(q,R)}));R=q}else{N.push(j)}}else{N.push(j)}R-=1}if(R===0){N.push(E[R])}return N.reverse()}function indent(E,N){return E.replace(/\n(?!$)/g,`\n${N}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const N=findFirstTypedSchema(E);return likeNumber(N)||likeInteger(N)||likeString(N)||likeNull(N)||likeBoolean(N)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,N){if(likeNumber(E)||likeInteger(E)){return $(E,N)}else if(likeString(E)){return j(E,N)}return[]}class ValidationError extends Error{constructor(E,N,R={}){super();this.name="ValidationError";this.errors=E;this.schema=N;let j;let $;if(N.title&&(!R.name||!R.baseDataPath)){const E=N.title.match(/^(.+) (.+)$/);if(E){if(!R.name){[,j]=E}if(!R.baseDataPath){[,,$]=E}}}this.headerName=R.name||j||"Object";this.baseDataPath=R.baseDataPath||$||"configuration";this.postFormatter=R.postFormatter||null;const q=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${q}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const N=E.split("/");let R=this.schema;for(let E=1;E{if(!$){return this.formatSchema(N,j,R)}if(R.includes(N)){return"(recursive)"}return this.formatSchema(N,j,R.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){j=!N;return formatInnerSchema(E.not)}const R=!E.not.not;const $=N?"":"non ";j=!N;return R?$+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:N}=E;const R=!Array.isArray(N)?[N]:N;return R.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:N,then:R,else:j}=E;return`${N?`if ${formatInnerSchema(N)}`:""}${R?` then ${formatInnerSchema(R)}`:""}${j?` else ${formatInnerSchema(j)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:j.length>0?`non-${R} | ${$}`:`non-${R}`}if(likeString(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:$==="string"?"non-string":`non-string | ${$}`}if(likeBoolean(E)){return`${N?"":"non-"}boolean`}if(likeArray(E)){j=true;const N=[];if(typeof E.minItems==="number"){N.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){N.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){N.push("should not have duplicate items")}const R=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let $="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){$=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(R){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){N.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){$=`${formatInnerSchema(E.items)}`}else{$="any"}}else{$="any"}if(E.contains&&Object.keys(E.contains).length>0){N.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${$}${R?", ...":""}]${N.length>0?` (${N.join(", ")})`:""}`}if(likeObject(E)){j=true;const N=[];if(typeof E.minProperties==="number"){N.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){N.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const R=Object.keys(E.patternProperties);N.push(`additional property names should match pattern${R.length>1?"s":""} ${R.map((E=>JSON.stringify(E))).join(" | ")}`)}const R=E.properties?Object.keys(E.properties):[];const $=E.required?E.required:[];const q=[...new Set([].concat($).concat(R))];const G=q.map((E=>{const N=$.includes(E);return`${E}${N?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ie,propertyNames:ae,patternRequired:ce}=E;if(ie){Object.keys(ie).forEach((E=>{const R=ie[E];if(Array.isArray(R)){N.push(`should have ${R.length>1?"properties":"property"} ${R.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{N.push(`should be valid according to the schema ${formatInnerSchema(R)} when property '${E}' is present`)}}))}if(ae&&Object.keys(ae).length>0){N.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(ce&&ce.length>0){N.push(`should have property matching pattern ${ce.map((E=>JSON.stringify(E)))}`)}return`object {${G?` ${G} `:""}}${N.length>0?` (${N.join(", ")})`:""}`}if(likeNull(E)){return`${N?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,N,R=false,j=true){if(!E){return""}if(Array.isArray(N)){for(let R=0;R ${E.description}`}if(E.link){$+=`\n-> Read more at ${E.link}`}return $}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}let N="";if(E.description){N+=`\n-> ${E.description}`}if(E.link){N+=`\n-> Read more at ${E.link}`}return N}formatValidationError(E){const{keyword:N,dataPath:R}=E;const j=`${this.baseDataPath}${R}`;switch(N){case"type":{const{parentSchema:N,params:R}=E;switch(R.type){case"number":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"integer":return`${j} should be an ${this.getSchemaPartText(N,false,true)}`;case"string":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"boolean":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"array":return`${j} should be an array:\n${this.getSchemaPartText(N)}`;case"object":return`${j} should be an object:\n${this.getSchemaPartText(N)}`;case"null":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;default:return`${j} should be:\n${this.getSchemaPartText(N)}`}}case"instanceof":{const{parentSchema:N}=E;return`${j} should be an instance of ${this.getSchemaPartText(N,false,true)}`}case"pattern":{const{params:N,parentSchema:R}=E;const{pattern:$}=N;return`${j} should match pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"format":{const{params:N,parentSchema:R}=E;const{format:$}=N;return`${j} should match format ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"formatMinimum":case"formatMaximum":{const{params:N,parentSchema:R}=E;const{comparison:$,limit:q}=N;return`${j} should be ${$} ${JSON.stringify(q)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:N,params:R}=E;const{comparison:$,limit:q}=R;const[,...G]=getHints(N,true);if(G.length===0){G.push(`should be ${$} ${q}`)}return`${j} ${G.join(" ")}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"multipleOf":{const{params:N,parentSchema:R}=E;const{multipleOf:$}=N;return`${j} should be multiple of ${$}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"patternRequired":{const{params:N,parentSchema:R}=E;const{missingPattern:$}=N;return`${j} should have property matching pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty string${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}const q=$-1;return`${j} should be longer than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty array${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty object${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;const q=$+1;return`${j} should be shorter than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"uniqueItems":{const{params:N,parentSchema:R}=E;const{i:$}=N;return`${j} should not contain the item '${E.data[$]}' twice${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"additionalItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}. These items are valid:\n${this.getSchemaPartText(R)}`}case"contains":{const{parentSchema:N}=E;return`${j} should contains at least one ${this.getSchemaPartText(N,["contains"])} item${getSchemaNonTypes(N)}.`}case"required":{const{parentSchema:N,params:R}=E;const $=R.missingProperty.replace(/^\./,"");const q=N&&Boolean(N.properties&&N.properties[$]);return`${j} misses the property '${$}'${getSchemaNonTypes(N)}.${q?` Should be:\n${this.getSchemaPartText(N,["properties",$])}`:this.getSchemaPartDescription(N)}`}case"additionalProperties":{const{params:N,parentSchema:R}=E;const{additionalProperty:$}=N;return`${j} has an unknown property '${$}'${getSchemaNonTypes(R)}. These properties are valid:\n${this.getSchemaPartText(R)}`}case"dependencies":{const{params:N,parentSchema:R}=E;const{property:$,deps:q}=N;const G=q.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${j} should have properties ${G} when property '${$}' is present${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"propertyNames":{const{params:N,parentSchema:R,schema:$}=E;const{propertyName:q}=N;return`${j} property name '${q}' is invalid${getSchemaNonTypes(R)}. Property names should be match format ${JSON.stringify($.format)}.${this.getSchemaPartDescription(R)}`}case"enum":{const{parentSchema:N}=E;if(N&&N.enum&&N.enum.length===1){return`${j} should be ${this.getSchemaPartText(N,false,true)}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"const":{const{parentSchema:N}=E;return`${j} should be equal to constant ${this.getSchemaPartText(N,false,true)}`}case"not":{const N=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const R=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${j} should be any ${R}${N}.`}const{schema:$,parentSchema:q}=E;return`${j} should not be ${this.getSchemaPartText($,false,true)}${q&&likeObject(q)?`\n${this.getSchemaPartText(q)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:N,children:R}=E;if(R&&R.length>0){if(E.schema.length===1){const E=R[R.length-1];const j=R.slice(0,R.length-1);return this.formatValidationError(Object.assign({},E,{children:j,parentSchema:Object.assign({},N,E.parentSchema)}))}let $=filterChildren(R);if($.length===1){return this.formatValidationError($[0])}$=groupChildrenByFirstChild($);return`${j} should be one of these:\n${this.getSchemaPartText(N)}\nDetails:\n${$.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"if":{const{params:N,parentSchema:R}=E;const{failingKeyword:$}=N;return`${j} should match "${$}" schema:\n${this.getSchemaPartText(R,[$])}`}case"absolutePath":{const{message:N,parentSchema:R}=E;return`${j}: ${N}${this.getSchemaPartDescription(R)}`}default:{const{message:N,parentSchema:R}=E;const $=JSON.stringify(E,null,2);return`${j} ${N} (${$}).\n${this.getSchemaPartText(R,false)}`}}}formatValidationErrors(E){return E.map((E=>{let N=this.formatValidationError(E);if(this.postFormatter){N=this.postFormatter(N,E)}return` - ${indent(N," ")}`})).join("\n")}}var G=ValidationError;N["default"]=G},15235:(E,N,R)=>{"use strict";const{validate:j,ValidationError:$}=R(18110);E.exports={validate:j,ValidationError:$}},77102:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function errorMessage(E,N,R){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:R},message:E,parentSchema:N}}function getErrorFor(E,N,R){const j=E?`The provided value ${JSON.stringify(R)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(R)} is an absolute path!`;return errorMessage(j,N,R)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,N){const callback=R=>{let j=true;const $=R.includes("!");if($){callback.errors=[errorMessage(`The provided value ${JSON.stringify(R)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,N,R)];j=false}const q=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(R);if(!q){callback.errors=[getErrorFor(E,N,R)];j=false}return j};callback.errors=[];return callback}});return E}var R=addAbsolutePathKeyword;N["default"]=R},95855:E=>{"use strict";class Range{static getOperator(E,N){if(E==="left"){return N?">":">="}return N?"<":"<="}static formatRight(E,N,R){if(N===false){return Range.formatLeft(E,!N,!R)}return`should be ${Range.getOperator("right",R)} ${E}`}static formatLeft(E,N,R){if(N===false){return Range.formatRight(E,!N,!R)}return`should be ${Range.getOperator("left",R)} ${E}`}static formatRange(E,N,R,j,$){let q="should be";q+=` ${Range.getOperator($?"left":"right",$?R:!R)} ${E} `;q+=$?"and":"or";q+=` ${Range.getOperator($?"right":"left",$?j:!j)} ${N}`;return q}static getRangeValue(E,N){let R=N?Infinity:-Infinity;let j=-1;const $=N?([E])=>E<=R:([E])=>E>=R;for(let N=0;N-1){return E[j]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,N=false){this._left.push([E,N])}right(E,N=false){this._right.push([E,N])}format(E=true){const[N,R]=Range.getRangeValue(this._left,E);const[j,$]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(N)&&!Number.isFinite(j)){return""}const q=R?N+1:N;const G=$?j-1:j;if(q===G){return`should be ${E?"":"!"}= ${q}`}if(Number.isFinite(N)&&!Number.isFinite(j)){return Range.formatLeft(N,E,R)}if(!Number.isFinite(N)&&Number.isFinite(j)){return Range.formatRight(j,E,$)}return Range.formatRange(N,j,R,$,E)}}E.exports=Range},47961:(E,N,R)=>{"use strict";const j=R(95855);E.exports.stringHints=function stringHints(E,N){const R=[];let j="string";const $={...E};if(!N){const E=$.minLength;const N=$.formatMinimum;const R=$.formatExclusiveMaximum;$.minLength=$.maxLength;$.maxLength=E;$.formatMinimum=$.formatMaximum;$.formatMaximum=N;$.formatExclusiveMaximum=!$.formatExclusiveMinimum;$.formatExclusiveMinimum=!R}if(typeof $.minLength==="number"){if($.minLength===1){j="non-empty string"}else{const E=Math.max($.minLength-1,0);R.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof $.maxLength==="number"){if($.maxLength===0){j="empty string"}else{const E=$.maxLength+1;R.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if($.pattern){R.push(`should${N?"":" not"} match pattern ${JSON.stringify($.pattern)}`)}if($.format){R.push(`should${N?"":" not"} match format ${JSON.stringify($.format)}`)}if($.formatMinimum){R.push(`should be ${$.formatExclusiveMinimum?">":">="} ${JSON.stringify($.formatMinimum)}`)}if($.formatMaximum){R.push(`should be ${$.formatExclusiveMaximum?"<":"<="} ${JSON.stringify($.formatMaximum)}`)}return[j].concat(R)};E.exports.numberHints=function numberHints(E,N){const R=[E.type==="integer"?"integer":"number"];const $=new j;if(typeof E.minimum==="number"){$.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){$.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){$.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){$.right(E.exclusiveMaximum,true)}const q=$.format(N);if(q){R.push(q)}if(typeof E.multipleOf==="number"){R.push(`should${N?"":" not"} be multiple of ${E.multipleOf}`)}return R}},18110:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.validate=validate;Object.defineProperty(N,"ValidationError",{enumerable:true,get:function(){return $.default}});var j=_interopRequireDefault(R(77102));var $=_interopRequireDefault(R(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const q=R(33866);const G=R(35525);const ie=new q({allErrors:true,verbose:true,$data:true});G(ie,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,j.default)(ie);function validate(E,N,R){let j=[];if(Array.isArray(N)){j=Array.from(N,(N=>validateObject(E,N)));j.forEach(((E,N)=>{const applyPrefix=E=>{E.dataPath=`[${N}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));j=j.reduce(((E,N)=>{E.push(...N);return E}),[])}else{j=validateObject(E,N)}if(j.length>0){throw new $.default(j,E,R)}}function validateObject(E,N){const R=ie.compile(E);const j=R(N);if(j)return[];return R.errors?filterErrors(R.errors):[]}function filterErrors(E){let N=[];for(const R of E){const{dataPath:E}=R;let j=[];N=N.filter((N=>{if(N.dataPath.includes(E)){if(N.children){j=j.concat(N.children.slice(0))}N.children=undefined;j.push(N);return false}return true}));if(j.length){R.children=j}N.push(R)}return N}},28274:(E,N,R)=>{var j=R(99339);var $=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,N){var R=new ArraySet;for(var j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R};ArraySet.prototype.size=function ArraySet_size(){return q?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(E,N){var R=q?E:j.toSetString(E);var G=q?this.has(E):$.call(this._set,R);var ie=this._array.length;if(!G||N){this._array.push(E)}if(!G){if(q){this._set.set(E,ie)}else{this._set[R]=ie}}};ArraySet.prototype.has=function ArraySet_has(E){if(q){return this._set.has(E)}else{var N=j.toSetString(E);return $.call(this._set,N)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(E){if(q){var N=this._set.get(E);if(N>=0){return N}}else{var R=j.toSetString(E);if($.call(this._set,R)){return this._set[R]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var j=R(14190);var $=5;var q=1<<$;var G=q-1;var ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){var N=(E&1)===1;var R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){var N="";var R;var q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N};N.decode=function base64VLQ_decode(E,N,R){var q=E.length;var ae=0;var ce=0;var le,_e;do{if(N>=q){throw new Error("Expected more digits in base 64 VLQ value.")}_e=j.decode(E.charCodeAt(N++));if(_e===-1){throw new Error("Invalid base64 digit: "+E.charAt(N-1))}le=!!(_e&ie);_e&=G;ae=ae+(_e<{var R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){var ie=Math.floor((R-E)/2)+E;var ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}else{return ie}}else{if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}N.search=function search(E,R,j,$){if(R.length===0){return-1}var q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},68907:(E,N,R)=>{var j=R(99339);function generatedPositionAfter(E,N){var R=E.generatedLine;var $=N.generatedLine;var q=E.generatedColumn;var G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,N){this._array.forEach(E,N)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};N.H=MappingList},70758:(E,N)=>{function swap(E,N,R){var j=E[N];E[N]=E[R];E[R]=j}function randomIntInRange(E,N){return Math.round(E+Math.random()*(N-E))}function doQuickSort(E,N,R,j){if(R{var j;var $=R(99339);var q=R(87345);var G=R(28274).I;var ie=R(7449);var ae=R(70758).U;function SourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}return R.sections!=null?new IndexedSourceMapConsumer(R,N):new BasicSourceMapConsumer(R,N)}SourceMapConsumer.fromSourceMap=function(E,N){return BasicSourceMapConsumer.fromSourceMap(E,N)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,N){var R=E.charAt(N);return R===";"||R===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,N,R){var j=N||null;var q=R||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var N=E.source===null?null:this._sources.at(E.source);N=$.computeSourceURL(ie,N,this._sourceMapURL);return{source:N,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,j)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var N=$.getArg(E,"line");var R={source:$.getArg(E,"source"),originalLine:N,originalColumn:$.getArg(E,"column",0)};R.source=this._findSourceIndex(R.source);if(R.source<0){return[]}var j=[];var G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var ce=ie.originalColumn;while(ie&&ie.originalLine===N&&ie.originalColumn==ce){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return j};N.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sources");var ie=$.getArg(R,"names",[]);var ae=$.getArg(R,"sourceRoot",null);var ce=$.getArg(R,"sourcesContent",null);var le=$.getArg(R,"mappings");var _e=$.getArg(R,"file",null);if(j!=this._version){throw new Error("Unsupported version: "+j)}if(ae){ae=$.normalize(ae)}q=q.map(String).map($.normalize).map((function(E){return ae&&$.isAbsolute(ae)&&$.isAbsolute(E)?$.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return $.computeSourceURL(ae,E,N)}));this.sourceRoot=ae;this.sourcesContent=ce;this._mappings=le;this._sourceMapURL=N;this.file=_e}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}var R;for(R=0;R1){Me.source=ce+Be[1];ce+=Be[1];Me.originalLine=q+Be[2];q=Me.originalLine;Me.originalLine+=1;Me.originalColumn=G+Be[3];G=Me.originalColumn;if(Be.length>4){Me.name=le+Be[4];le+=Be[4]}}Ne.push(Me);if(typeof Me.originalLine==="number"){Ie.push(Me)}}}ae(Ne,$.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Ie,$.compareByOriginalPositions);this.__originalMappings=Ie};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,N,R,j,$,G){if(E[R]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[R])}if(E[j]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[j])}return q.search(E,N,$,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var j=this._generatedMappings[R];if(j.generatedLine===N.generatedLine){var q=$.getArg(j,"source",null);if(q!==null){q=this._sources.at(q);q=$.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=$.getArg(j,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,N){if(!this.sourcesContent){return null}var R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}var j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}var q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){var G=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}else{throw new Error('"'+j+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}var R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};var j=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(j>=0){var q=this._originalMappings[j];if(q.source===R.source){return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:$.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};j=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sections");if(j!=this._version){throw new Error("Unsupported version: "+j)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var R=$.getArg(E,"offset");var j=$.getArg(R,"line");var q=$.getArg(R,"column");if(j{var j=R(7449);var $=R(99339);var q=R(28274).I;var G=R(68907).H;function SourceMapGenerator(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var N=E.sourceRoot;var R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){var j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){var q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}var G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var N=$.getArg(E,"generated");var R=$.getArg(E,"original",null);var j=$.getArg(E,"source",null);var q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,N){var R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,N,R){var j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}var G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){var q=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(q.source!=null){N.source=q.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=q.line;N.originalColumn=q.column;if(q.name!=null){N.name=q.name}}}var ce=N.source;if(ce!=null&&!ie.has(ce)){ie.add(ce)}var le=N.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){var j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){return}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var N=1;var R=0;var q=0;var G=0;var ie=0;var ae="";var ce;var le;var _e;var Te;var Ee=this._mappings.toArray();for(var we=0,Ie=Ee.length;we0){if(!$.compareByGeneratedPositionsInflated(le,Ee[we-1])){continue}ce+=","}}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Te=this._sources.indexOf(le.source);ce+=j.encode(Te-ie);ie=Te;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}var R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};N.h=SourceMapGenerator},29351:(E,N,R)=>{var j;var $=R(39591).h;var q=R(99339);var G=/(\r?\n)/;var ie=10;var ae="$$$isSourceNode$$$";function SourceNode(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ae]=true;if(j!=null)this.add(j)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,N,R){var j=new SourceNode;var $=E.split(G);var ie=0;var shiftNextLine=function(){var E=getNextLine();var N=getNextLine()||"";return E+N;function getNextLine(){return ie<$.length?$[ie++]:undefined}};var ae=1,ce=0;var le=null;N.eachMapping((function(E){if(le!==null){if(ae=0;N--){this.prepend(E[N])}}else if(E[ae]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var N;for(var R=0,j=this.children.length;R0){N=[];for(R=0;R{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}else{throw new Error('"'+N+'" is a required argument.')}}N.getArg=getArg;var R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var j=/^data:.+\,.+$/;function urlParse(E){var N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){var N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;function normalize(E){var R=E;var j=urlParse(E);if(j){if(!j.path){return E}R=j.path}var $=N.isAbsolute(R);var q=R.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}N.normalize=normalize;function join(E,N){if(E===""){E="."}if(N===""){N="."}var R=urlParse(N);var $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}var q=N.charAt(0)==="/"?N:normalize(E.replace(/\/+$/,"")+"/"+N);if($){$.path=q;return urlGenerate($)}return q}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");var R=0;while(N.indexOf(E+"/")!==0){var j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;var $=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=$?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=$?identity:fromSetString;function isProtoString(E){if(!E){return false}var N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(var R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){var j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){var j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){var R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){var j=urlParse(R);if(!j){throw new Error("sourceMapURL could not be parsed")}if(j.path){var $=j.path.lastIndexOf("/");if($>=0){j.path=j.path.substring(0,$+1)}}N=join(urlGenerate(j),N)}return normalize(N)}N.computeSourceURL=computeSourceURL},49997:(E,N,R)=>{R(39591).h;N.SourceMapConsumer=R(6952).SourceMapConsumer;R(29351)},22284:(E,N,R)=>{E=R.nmd(E);var j=R(49997).SourceMapConsumer;var $=R(71017);var q;try{q=R(57147);if(!q.existsSync||!q.readFileSync){q=null}}catch(E){}var G=R(86650);function dynamicRequire(E,N){return E.require(N)}var ie=false;var ae=false;var ce=false;var le="auto";var _e={};var Te={};var Ee=/^data:application\/json[^,]+base64,/;var we=[];var Ie=[];function isInBrowser(){if(le==="browser")return true;if(le==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function globalProcessVersion(){if(typeof process==="object"&&process!==null){return process.version}else{return""}}function globalProcessStderr(){if(typeof process==="object"&&process!==null){return process.stderr}}function globalProcessExit(E){if(typeof process==="object"&&process!==null&&typeof process.exit==="function"){return process.exit(E)}}function handlerExec(E){return function(N){for(var R=0;R"}var R=this.getLineNumber();if(R!=null){N+=":"+R;var j=this.getColumnNumber();if(j){N+=":"+j}}}var $="";var q=this.getFunctionName();var G=true;var ie=this.isConstructor();var ae=!(this.isToplevel()||ie);if(ae){var ce=this.getTypeName();if(ce==="[object Object]"){ce="null"}var le=this.getMethodName();if(q){if(ce&&q.indexOf(ce)!=0){$+=ce+"."}$+=q;if(le&&q.indexOf("."+le)!=q.length-le.length-1){$+=" [as "+le+"]"}}else{$+=ce+"."+(le||"")}}else if(ie){$+="new "+(q||"")}else if(q){$+=q}else{$+=N;G=false}if(G){$+=" ("+N+")"}return $}function cloneCallSite(E){var N={};Object.getOwnPropertyNames(Object.getPrototypeOf(E)).forEach((function(R){N[R]=/^(?:is|get)/.test(R)?function(){return E[R].call(E)}:E[R]}));N.toString=CallSiteToString;return N}function wrapCallSite(E,N){if(N===undefined){N={nextPosition:null,curPosition:null}}if(E.isNative()){N.curPosition=null;return E}var R=E.getFileName()||E.getScriptNameOrSourceURL();if(R){var j=E.getLineNumber();var $=E.getColumnNumber()-1;var q=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var G=q.test(globalProcessVersion())?0:62;if(j===1&&$>G&&!isInBrowser()&&!E.isEval()){$-=G}var ie=mapSourcePosition({source:R,line:j,column:$});N.curPosition=ie;E=cloneCallSite(E);var ae=E.getFunctionName;E.getFunctionName=function(){if(N.nextPosition==null){return ae()}return N.nextPosition.name||ae()};E.getFileName=function(){return ie.source};E.getLineNumber=function(){return ie.line};E.getColumnNumber=function(){return ie.column+1};E.getScriptNameOrSourceURL=function(){return ie.source};return E}var ce=E.isEval()&&E.getEvalOrigin();if(ce){ce=mapEvalOrigin(ce);E=cloneCallSite(E);E.getEvalOrigin=function(){return ce};return E}return E}function prepareStackTrace(E,N){if(ce){_e={};Te={}}var R=E.name||"Error";var j=E.message||"";var $=R+": "+j;var q={nextPosition:null,curPosition:null};var G=[];for(var ie=N.length-1;ie>=0;ie--){G.push("\n at "+wrapCallSite(N[ie],q));q.nextPosition=q.curPosition}q.curPosition=q.nextPosition=null;return $+G.reverse().join("")}function getErrorSource(E){var N=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(E.stack);if(N){var R=N[1];var j=+N[2];var $=+N[3];var G=_e[R];if(!G&&q&&q.existsSync(R)){try{G=q.readFileSync(R,"utf8")}catch(E){G=""}}if(G){var ie=G.split(/(?:\r\n|\r|\n)/)[j-1];if(ie){return R+":"+j+"\n"+ie+"\n"+new Array($).join(" ")+"^"}}}return null}function printErrorAndExit(E){var N=getErrorSource(E);var R=globalProcessStderr();if(R&&R._handle&&R._handle.setBlocking){R._handle.setBlocking(true)}if(N){console.error();console.error(N)}console.error(E.stack);globalProcessExit(1)}function shimEmitUncaughtException(){var E=process.emit;process.emit=function(N){if(N==="uncaughtException"){var R=arguments[1]&&arguments[1].stack;var j=this.listeners(N).length>0;if(R&&!j){return printErrorAndExit(arguments[1])}}return E.apply(this,arguments)}}var Le=we.slice(0);var Be=Ie.slice(0);N.wrapCallSite=wrapCallSite;N.getErrorSource=getErrorSource;N.mapSourcePosition=mapSourcePosition;N.retrieveSourceMap=Me;N.install=function(N){N=N||{};if(N.environment){le=N.environment;if(["node","browser","auto"].indexOf(le)===-1){throw new Error("environment "+le+" was unknown. Available options are {auto, browser, node}")}}if(N.retrieveFile){if(N.overrideRetrieveFile){we.length=0}we.unshift(N.retrieveFile)}if(N.retrieveSourceMap){if(N.overrideRetrieveSourceMap){Ie.length=0}Ie.unshift(N.retrieveSourceMap)}if(N.hookRequire&&!isInBrowser()){var R=dynamicRequire(E,"module");var j=R.prototype._compile;if(!j.__sourceMapSupport){R.prototype._compile=function(E,N){_e[N]=E;Te[N]=undefined;return j.call(this,E,N)};R.prototype._compile.__sourceMapSupport=true}}if(!ce){ce="emptyCacheBetweenOperations"in N?N.emptyCacheBetweenOperations:false}if(!ie){ie=true;Error.prepareStackTrace=prepareStackTrace}if(!ae){var $="handleUncaughtExceptions"in N?N.handleUncaughtExceptions:true;try{var q=dynamicRequire(E,"worker_threads");if(q.isMainThread===false){$=false}}catch(E){}if($&&hasGlobalProcessEventEmitter()){ae=true;shimEmitUncaughtException()}}};N.resetRetrieveHandlers=function(){we.length=0;Ie.length=0;we=Le.slice(0);Ie=Be.slice(0);Me=handlerExec(Ie);Ne=handlerExec(we)}},96204:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){ie=1}else if(G.FORCE_COLOR==="false"){ie=0}else{ie=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,N){if(ie===0){return 0}if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}if(E&&!N&&ie===undefined){return 0}const R=ie||0;if(G.TERM==="dumb"){return R}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return R}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return R}function getSupportLevel(E){const N=supportsColor(E,E&&E.isTTY);return translateLevel(N)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,$.isatty(1))),stderr:translateLevel(supportsColor(true,$.isatty(2)))}},78802:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelBailHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){let j="";j+=`var _results = new Array(${this.options.taps.length});\n`;j+="var _checkDone = function() {\n";j+="for(var i = 0; i < _results.length; i++) {\n";j+="var item = _results[i];\n";j+="if(item === undefined) return false;\n";j+="if(item.result !== undefined) {\n";j+=N("item.result");j+="return true;\n";j+="}\n";j+="if(item.error) {\n";j+=E("item.error");j+="return true;\n";j+="}\n";j+="}\n";j+="return false;\n";j+="}\n";j+=this.callTapsParallel({onError:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onResult:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && (${N} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onTap:(E,N,R,j)=>{let $="";if(E>0){$+=`if(${E} >= _results.length) {\n`;$+=R();$+="} else {\n"}$+=N();if(E>0)$+="}\n";return $},onDone:R});return j}}const q=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsParallel({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncParallelHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)}\n} else {\n${j()}}\n`,resultReturns:R,onDone:j})}}const q=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesLoopHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsLooping({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesLoopHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0])})}}const q=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=AsyncSeriesWaterfallHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],N=undefined){this._args=E;this.name=N;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,N,R){if(typeof N==="string"){N={name:N.trim()}}else if(typeof N!=="object"||N===null){throw new Error("Invalid tap options")}if(typeof N.name!=="string"||N.name===""){throw new Error("Missing name for tap")}if(typeof N.context!=="undefined"){$()}N=Object.assign({type:E,fn:R},N);N=this._runRegisterInterceptors(N);this._insert(N)}tap(E,N){this._tap("sync",E,N)}tapAsync(E,N){this._tap("async",E,N)}tapPromise(E,N){this._tap("promise",E,N)}_runRegisterInterceptors(E){for(const N of this.interceptors){if(N.register){const R=N.register(E);if(R!==undefined){E=R}}}return E}withOptions(E){const mergeOptions=N=>Object.assign({},E,typeof N==="string"?{name:N}:N);return{name:this.name,tap:(E,N)=>this.tap(mergeOptions(E),N),tapAsync:(E,N)=>this.tapAsync(mergeOptions(E),N),tapPromise:(E,N)=>this.tapPromise(mergeOptions(E),N),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let N=0;N0){j--;const E=this.taps[j];this.taps[j+1]=E;const $=E.stage||0;if(N){if(N.has(E.name)){N.delete(E.name);continue}if(N.size>0){continue}}if($>R){continue}j++;break}this.taps[j]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let N;switch(this.options.type){case"sync":N=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":N=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const R=this.contentWithInterceptors({onError:N=>{E=true;return`_error(${N});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let j="";j+='"use strict";\n';j+=this.header();j+="return new Promise((function(_resolve, _reject) {\n";if(E){j+="var _sync = true;\n";j+="function _error(_err) {\n";j+="if(_sync)\n";j+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";j+="else\n";j+="_reject(_err);\n";j+="};\n"}j+=R;if(E){j+="_sync = false;\n"}j+="}));\n";N=new Function(this.args(),j);break}this.deinit();return N}setup(E,N){E._x=N.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const N=E.onError;const R=E.onResult;const j=E.onDone;let $="";for(let E=0;E{let R="";for(let N=0;N{let N="";for(let R=0;R{let E="";for(let N=0;N0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:N,onResult:R,onDone:j,rethrowIfPossible:$}){let q="";let G=false;for(let N=0;NE.type!=="sync"));const ie=R||$;let ae="";let ce=j;let le=0;for(let R=this.options.taps.length-1;R>=0;R--){const $=R;const _e=ce!==j&&(this.options.taps[$].type!=="sync"||le++>20);if(_e){le=0;ae+=`function _next${$}() {\n`;ae+=ce();ae+=`}\n`;ce=()=>`${ie?"return ":""}_next${$}();\n`}const Te=ce;const doneBreak=E=>{if(E)return"";return j()};const Ee=this.callTap($,{onError:N=>E($,N,Te,doneBreak),onResult:N&&(E=>N($,E,Te,doneBreak)),onDone:!N&&Te,rethrowIfPossible:q&&(G<0||$Ee}ae+=ce();return ae}callTapsLooping({onError:E,onDone:N,rethrowIfPossible:R}){if(this.options.taps.length===0)return N();const j=this.options.taps.every((E=>E.type==="sync"));let $="";if(!j){$+="var _looper = (function() {\n";$+="var _loopAsync = false;\n"}$+="var _loop;\n";$+="do {\n";$+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${N} !== undefined) {\n`;q+="_loop = true;\n";if(!j)q+="if(_loopAsync) _looper();\n";q+=$(true);q+=`} else {\n`;q+=R();q+=`}\n`;return q},onDone:N&&(()=>{let E="";E+="if(!_loop) {\n";E+=N();E+="}\n";return E}),rethrowIfPossible:R&&j});$+="} while(_loop);\n";if(!j){$+="_loopAsync = true;\n";$+="});\n";$+="_looper();\n"}return $}callTapsParallel({onError:E,onResult:N,onDone:R,rethrowIfPossible:j,onTap:$=((E,N)=>N())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:N,onDone:R,rethrowIfPossible:j})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(R){q+="var _done = (function() {\n";q+=R();q+="});\n"}for(let G=0;G{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=$(G,(()=>this.callTap(G,{onError:N=>{let R="";R+="if(_counter > 0) {\n";R+=E(G,N,done,doneBreak);R+="}\n";return R},onResult:N&&(E=>{let R="";R+="if(_counter > 0) {\n";R+=N(G,E,done,doneBreak);R+="}\n";return R}),onDone:!N&&(()=>done()),rethrowIfPossible:j})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:N}={}){let R=this._args;if(E)R=[E].concat(R);if(N)R=R.concat(N);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,N,R)=>{"use strict";const j=R(73837);const defaultFactory=(E,N)=>N;class HookMap{constructor(E,N=undefined){this._map=new Map;this.name=N;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const N=this.get(E);if(N!==undefined){return N}let R=this._factory(E);const j=this._interceptors;for(let N=0;N{"use strict";const j=R(67332);class MultiHook{constructor(E,N=undefined){this.hooks=E;this.name=N}tap(E,N){for(const R of this.hooks){R.tap(E,N)}}tapAsync(E,N){for(const R of this.hooks){R.tapAsync(E,N)}}tapPromise(E,N){for(const R of this.hooks){R.tapPromise(E,N)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const N of this.hooks){N.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((N=>N.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j,rethrowIfPossible:$}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j,rethrowIfPossible:$})}}const q=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncBailHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsSeries({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncLoopHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsLooping({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncLoopHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,rethrowIfPossible:j}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0]),doneReturns:R,rethrowIfPossible:j})}}const q=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=SyncWaterfallHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,N,R)=>{"use strict";N.__esModule=true;N.SyncHook=R(6728);N.SyncBailHook=R(3334);N.SyncWaterfallHook=R(81934);N.SyncLoopHook=R(52332);N.AsyncParallelHook=R(3350);N.AsyncParallelBailHook=R(78802);N.AsyncSeriesHook=R(68152);N.AsyncSeriesBailHook=R(4953);N.AsyncSeriesLoopHook=R(25810);N.AsyncSeriesWaterfallHook=R(66760);N.HookMap=R(28636);N.MultiHook=R(20937)},96013:(E,N,R)=>{"use strict";const j=R(98225);E.exports=j.default},98225:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireWildcard(R(71017));var $=_interopRequireWildcard(R(22037));var q=R(63703);var G=R(15235);var ie=_interopRequireDefault(R(35764));var ae=_interopRequireWildcard(R(54703));var ce=_interopRequireDefault(R(97909));var le=R(78605);var _e=_interopRequireWildcard(R(11519));var Te=R(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}class TerserPlugin{constructor(E={}){(0,G.validate)(_e,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:N,terserOptions:R={},test:j=/\.[cm]?js(\?.*)?$/i,extractComments:$=true,parallel:q=true,include:ie,exclude:ae}=E;this.options={test:j,extractComments:$,parallel:q,include:ie,exclude:ae,minify:N,terserOptions:R}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,N,R,j){if(E.line){const $=j&&j.originalPositionFor({line:E.line,column:E.col});if($&&$.source&&R){return new Error(`${N} from Terser\n${E.message} [${R.shorten($.source)}:${$.line},${$.column}][${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${N} from Terser\n${E.message} [${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${N} from Terser\n${E.stack}`)}return new Error(`${N} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const N=$.cpus()||{length:1};return E===true?N.length-1:Math.min(Number(E)||0,N.length-1)}async optimize(E,N,$,G){const ae=N.getCache("TerserWebpackPlugin");let _e=0;const Ee=await Promise.all(Object.keys($).filter((R=>{const{info:j}=N.getAsset(R);if(j.minimized||j.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(R)){return false}return true})).map((async E=>{const{info:R,source:j}=N.getAsset(E);const $=ae.getLazyHashedEtag(j);const q=ae.getItemCache(E,$);const G=await q.getPromise();if(!G){_e+=1}return{name:E,info:R,inputSource:j,output:G,cacheItem:q}})));let we;let Ie;let Ne;if(G.availableNumberOfCores>0){Ne=Math.min(_e,G.availableNumberOfCores);we=()=>{if(Ie){return Ie}Ie=new le.Worker(R.ab+"minify.js",{numWorkers:Ne,enableWorkerThreads:true});const E=Ie.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const N=Ie.getStderr();if(N){N.on("data",(E=>process.stderr.write(E)))}return Ie}}const Me=(0,ce.default)(we&&_e>0?Ne:Infinity);const{SourceMapSource:Le,ConcatSource:Be,RawSource:je}=E.webpack.sources;const Ue=new Map;const ze=[];for(const E of Ee){ze.push(Me((async()=>{const{name:R,inputSource:$,info:G,cacheItem:ae}=E;let{output:ce}=E;if(!ce){let E;let le;const{source:_e,map:Ee}=$.sourceAndMap();E=_e;if(Ee){if(TerserPlugin.isSourceMap(Ee)){le=Ee}else{le=Ee;N.warnings.push(new Error(`${R} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Ie={name:R,input:E,inputSourceMap:le,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Ie.minifyOptions.module==="undefined"){if(typeof G.javascriptModule!=="undefined"){Ie.minifyOptions.module=G.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=false}}try{ce=await(we?we().transform((0,ie.default)(Ie)):(0,Te.minify)(Ie))}catch(E){const j=le&&TerserPlugin.isSourceMap(le);N.errors.push(TerserPlugin.buildError(E,R,j?N.requestShortener:undefined,j?new q.SourceMapConsumer(le):undefined));return}let Ne;if(this.options.extractComments.banner!==false&&ce.extractedComments&&ce.extractedComments.length>0&&ce.code.startsWith("#!")){const E=ce.code.indexOf("\n");Ne=ce.code.substring(0,E);ce.code=ce.code.substring(E+1)}if(ce.map){ce.source=new Le(ce.code,R,ce.map,E,le,true)}else{ce.source=new je(ce.code)}if(ce.extractedComments&&ce.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let $="";let q=R;const G=q.indexOf("?");if(G>=0){$=q.substr(G);q=q.substr(0,G)}const ie=q.lastIndexOf("/");const ae=ie===-1?q:q.substr(ie+1);const le={filename:q,basename:ae,query:$};ce.commentsFilename=N.getPath(E,le);let _e;if(this.options.extractComments.banner!==false){_e=this.options.extractComments.banner||`For license information please see ${j.relative(j.dirname(R),ce.commentsFilename).replace(/\\/g,"/")}`;if(typeof _e==="function"){_e=_e(ce.commentsFilename)}if(_e){ce.source=new Be(Ne?`${Ne}\n`:"",`/*! ${_e} */\n`,ce.source)}}const Te=ce.extractedComments.sort().join("\n\n");ce.extractedCommentsSource=new je(`${Te}\n`)}await ae.storePromise({source:ce.source,commentsFilename:ce.commentsFilename,extractedCommentsSource:ce.extractedCommentsSource})}const le={minimized:true};const{source:_e,extractedCommentsSource:Ee}=ce;if(Ee){const{commentsFilename:E}=ce;le.related={license:E};Ue.set(R,{extractedCommentsSource:Ee,commentsFilename:E})}N.updateAsset(R,_e,le)})))}await Promise.all(ze);if(Ie){await Ie.end()}await Array.from(Ue).sort().reduce((async(E,[R,j])=>{const $=await E;const{commentsFilename:q,extractedCommentsSource:G}=j;if($&&$.commentsFilename===q){const{from:E,source:j}=$;const ie=`${E}|${R}`;const ce=`${q}|${ie}`;const le=[j,G].map((E=>ae.getLazyHashedEtag(E))).reduce(((E,N)=>ae.mergeEtags(E,N)));let _e=await ae.getPromise(ce,le);if(!_e){_e=new Be(Array.from(new Set([...j.source().split("\n\n"),...G.source().split("\n\n")])).join("\n\n"));await ae.storePromise(ce,le,_e)}N.updateAsset(q,_e);return{source:_e,commentsFilename:q,from:ie}}const ie=N.getAsset(q);if(ie){return{source:ie.source,commentsFilename:q,from:q}}N.emitAsset(q,G,{extractedComments:true});return{source:G,commentsFilename:q,from:R}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:N}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(N.environment||{})}const R=this.constructor.name;const j=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(R,(N=>{const $=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(N);const q=(0,ie.default)({terser:ae.version,terserOptions:this.options.terserOptions});$.chunkHash.tap(R,((E,N)=>{N.update("TerserPlugin");N.update(q)}));N.hooks.processAssets.tapPromise({name:R,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(R=>this.optimize(E,N,R,{availableNumberOfCores:j})));N.hooks.statsPrinter.tap(R,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:N,formatFlag:R})=>E?N(R("minimized")):""))}))}))}}var Ee=TerserPlugin;N["default"]=Ee},6218:(E,N,R)=>{"use strict";E=R.nmd(E);const{minify:j}=R(44858);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const N=typeof E;return E!=null&&(N==="object"||N==="function")}function buildComments(E,N,R){const j={};let $;if(N.format){({comments:$}=N.format)}else if(N.output){({comments:$}=N.output)}j.preserve=typeof $!=="undefined"?$:false;if(typeof E==="boolean"&&E){j.extract="some"}else if(typeof E==="string"||E instanceof RegExp){j.extract=E}else if(typeof E==="function"){j.extract=E}else if(E&&isObject(E)){j.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{j.preserve=typeof $!=="undefined"?$:"some";j.extract=false}["preserve","extract"].forEach((E=>{let N;let R;switch(typeof j[E]){case"boolean":j[E]=j[E]?()=>true:()=>false;break;case"function":break;case"string":if(j[E]==="all"){j[E]=()=>true;break}if(j[E]==="some"){j[E]=(E,N)=>(N.type==="comment2"||N.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(N.value);break}N=j[E];j[E]=(E,R)=>new RegExp(N).test(R.value);break;default:R=j[E];j[E]=(E,N)=>R.test(N.value)}}));return(E,N)=>{if(j.extract(E,N)){const E=N.type==="comment2"?`/*${N.value}*/`:`//${N.value}`;if(!R.includes(E)){R.push(E)}}return j.preserve(E,N)}}async function minify(E){const{name:N,input:R,inputSourceMap:$,minify:q,minifyOptions:G}=E;if(q){return q({[N]:R},$,G)}const ie=buildTerserOptions(G);if($){ie.sourceMap={asObject:true}}const ae=[];const{extractComments:ce}=E;if(ie.output){ie.output.comments=buildComments(ce,ie,ae)}else if(ie.format){ie.format.comments=buildComments(ce,ie,ae)}const le=await j({[N]:R},ie);return{...le,extractedComments:ae}}function transform(R){const j=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${R}`)(N,require,E,__filename,__dirname);return minify(j)}E.exports.minify=minify;E.exports.transform=transform},73840:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(79801));var $=R(80261);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class Farm{constructor(E,N,R={}){var $,q;this._numOfWorkers=E;this._callback=N;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=R.computeWorkerKey;this._workerSchedulingPolicy=($=R.workerSchedulingPolicy)!==null&&$!==void 0?$:"round-robin";this._taskQueue=(q=R.taskQueue)!==null&&q!==void 0?q:new j.default}doWork(E,...N){const R=new Set;const addCustomMessageListener=E=>{R.add(E);return()=>{R.delete(E)}};const onCustomMessage=E=>{R.forEach((N=>N(E)))};const j=new Promise(((N,j,q)=>{const G=this._computeWorkerKey;const ie=[$.CHILD_MESSAGE_CALL,false,E,N];let ae=null;let ce=null;if(G){ce=G.call(this,E,...N);ae=ce==null?null:this._cacheKeys[ce]}const onStart=E=>{if(ce!=null){this._cacheKeys[ce]=E}};const onEnd=(E,N)=>{R.clear();if(E){q(E)}else{j(N)}};const le={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ie};if(ae){this._taskQueue.enqueue(le,ae.getWorkerId());this._process(ae.getWorkerId())}else{this._push(le)}}).bind(null,N));j.UNSTABLE_onCustomMessage=addCustomMessageListener;return j}_process(E){if(this._isLocked(E)){return this}const N=this._taskQueue.dequeue(E);if(!N){return this}if(N.request[1]){throw new Error("Queue implementation returned processed task")}const R=N.onEnd;const onEnd=(N,j)=>{R(N,j);this._unlock(E);this._process(E)};N.request[1]=true;this._lock(E);this._callback(E,N.request,N.onStart,onEnd,N.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const N=this._getNextWorkerOffset();for(let R=0;R{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,N){if(N==null){this._sharedQueue.enqueue(E);return}let R=this._workerQueues[N];if(R==null){R=this._workerQueues[N]=new InternalQueue}const j=this._sharedQueue.peekLast();const $={previousSharedTask:j,task:E};R.enqueue($)}dequeue(E){var N,R,j;const $=(N=this._workerQueues[E])===null||N===void 0?void 0:N.peek();const q=(R=$===null||$===void 0?void 0:(j=$.previousSharedTask)===null||j===void 0?void 0:j.request[1])!==null&&R!==void 0?R:true;if($!=null&&q){var G,ie,ae;return(G=(ie=this._workerQueues[E])===null||ie===void 0?void 0:(ae=ie.dequeue())===null||ae===void 0?void 0:ae.task)!==null&&G!==void 0?G:null}return this._sharedQueue.dequeue()}}N["default"]=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const N={next:null,value:E};if(this._last==null){this._head=N}else{this._last.next=N}this._last=N}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,N;return(E=(N=this._head)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}peekLast(){var E,N;return(E=(N=this._last)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}}},89381:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,N){if(N==null){this._enqueue(E,this._sharedQueue)}else{const R=this._getWorkerQueue(N);this._enqueue(E,R)}}_enqueue(E,N){const R={priority:this._computePriority(E.request[2],...E.request[3]),task:E};N.add(R)}dequeue(E){const N=this._getWorkerQueue(E);const R=N.peek();const j=this._sharedQueue.peek();if(j==null||R!=null&&R.priority<=j.priority){var $,q;return($=(q=N.poll())===null||q===void 0?void 0:q.task)!==null&&$!==void 0?$:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let N=this._queue[E];if(N==null){N=this._queue[E]=new MinHeap}return N}}N["default"]=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const N=this._heap;N.push(E);if(N.length===1){return}let R=N.length-1;while(R>0){const j=Math.floor((R+1)/2)-1;const $=N[j];if($.priority<=E.priority){break}N[R]=$;N[j]=E;R=j}}poll(){const E=this._heap;const N=E[0];const R=E.pop();if(N==null||E.length===0){return N!==null&&N!==void 0?N:null}let j=0;E[0]=R!==null&&R!==void 0?R:null;const $=E[0];while(true){let N=null;const R=(j+1)*2;const q=R-1;const G=E[R];const ie=E[q];if(ie!=null&&ie.priority<$.priority){N=q}if(G!=null&&G.priority<(N==null?$:ie).priority){N=R}if(N==null){break}E[j]=E[N];E[N]=$;j=N}return N}}},25265:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(60697));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{R(71267);return true}catch{return false}};class WorkerPool extends j.default{send(E,N,R,j,$){this.getWorkerById(E).send(N,R,j,$)}createWorker(E){let N;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){N=R(79084).Z}else{N=R(65164).Z}return new N(E)}}var $=WorkerPool;N["default"]=$},60697:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(80261);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const j=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,N){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=N;this._workers=new Array(N.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const R=(0,_mergeStream().default)();const j=(0,_mergeStream().default)();const{forkOptions:$,maxRetries:q,resourceLimits:G,setupArgs:ie}=N;for(let ae=0;ae{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let N=false;const R=setTimeout((()=>{E.forceExit();N=true}),j);await E.waitForExit();clearTimeout(R);return N}));const N=await Promise.all(E);return N.reduce(((E,N)=>({forceExited:E.forceExited||N})),{forceExited:false})}}N["default"]=BaseWorkerPool},78605:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"PriorityQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(N,"FifoQueue",{enumerable:true,get:function(){return G.default}});Object.defineProperty(N,"messageParent",{enumerable:true,get:function(){return ie.default}});N.Worker=void 0;function _os(){const E=R(22037);_os=function(){return E};return E}var j=_interopRequireDefault(R(73840));var $=_interopRequireDefault(R(25265));var q=_interopRequireDefault(R(89381));var G=_interopRequireDefault(R(79801));var ie=_interopRequireDefault(R(65210));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}function getExposedMethods(E,N){let R=N.exposedMethods;if(!R){const N=require(E);R=Object.keys(N).filter((E=>typeof N[E]==="function"));if(typeof N==="function"){R=[...R,"default"]}}return R}class Worker{constructor(E,N){var R,q,G,ie,ae,ce;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...N};this._ending=false;const le={enableWorkerThreads:(R=this._options.enableWorkerThreads)!==null&&R!==void 0?R:false,forkOptions:(q=this._options.forkOptions)!==null&&q!==void 0?q:{},maxRetries:(G=this._options.maxRetries)!==null&&G!==void 0?G:3,numWorkers:(ie=this._options.numWorkers)!==null&&ie!==void 0?ie:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(ae=this._options.resourceLimits)!==null&&ae!==void 0?ae:{},setupArgs:(ce=this._options.setupArgs)!==null&&ce!==void 0?ce:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,le)}else{this._workerPool=new $.default(E,le)}this._farm=new j.default(le.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,N){getExposedMethods(E,N).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...N){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...N)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}N.Worker=Worker},80261:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.PARENT_MESSAGE_CUSTOM=N.PARENT_MESSAGE_SETUP_ERROR=N.PARENT_MESSAGE_CLIENT_ERROR=N.PARENT_MESSAGE_OK=N.CHILD_MESSAGE_END=N.CHILD_MESSAGE_CALL=N.CHILD_MESSAGE_INITIALIZE=void 0;const R=0;N.CHILD_MESSAGE_INITIALIZE=R;const j=1;N.CHILD_MESSAGE_CALL=j;const $=2;N.CHILD_MESSAGE_END=$;const q=0;N.PARENT_MESSAGE_OK=q;const G=1;N.PARENT_MESSAGE_CLIENT_ERROR=G;const ie=2;N.PARENT_MESSAGE_SETUP_ERROR=ie;const ae=3;N.PARENT_MESSAGE_CUSTOM=ae},65164:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function _child_process(){const E=R(32081);_child_process=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=R(22384);_supportsColor=function(){return E};return E}function _types(){const E=R(80261);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const $=128;const q=$+9;const G=$+15;const ie=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const N=(0,_child_process().fork)(R.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(N.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(N.stdout)}if(N.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(N.stderr)}N.on("message",this._onMessage.bind(this));N.on("exit",this._onExit.bind(this));N.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=N;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==G&&E!==q){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{this._request=null;return R(...E)};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ie);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ChildProcessWorker},79084:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _worker_threads(){const E=R(71267);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(80261);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{var N;this._request=null;const j=(N=R)===null||N===void 0?void 0:N(...E);R=null;return j};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ExperimentalWorker},65210:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=messageParent;function _types(){const E=R(80261);_types=function(){return E};return E}const j=(()=>{try{const{isMainThread:E,parentPort:N}=R(71267);return!E&&N!=null}catch{return false}})();function messageParent(E,N=process){if(j){const{parentPort:N}=R(71267);N.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof N.send==="function"){N.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},97909:(E,N,R)=>{"use strict";const j=R(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const N=new j;let R=0;const next=()=>{R--;if(N.size>0){N.dequeue()()}};const run=async(E,N,...j)=>{R++;const $=(async()=>E(...j))();N($);try{await $}catch{}next()};const enqueue=(j,$,...q)=>{N.enqueue(run.bind(null,j,$,...q));(async()=>{await Promise.resolve();if(R0){N.dequeue()()}})()};const generator=(E,...N)=>new Promise((R=>{enqueue(E,R,...N)}));Object.defineProperties(generator,{activeCount:{get:()=>R},pendingCount:{get:()=>N.size},clearQueue:{value:()=>{N.clear()}}});return generator};E.exports=pLimit},35764:(E,N,R)=>{"use strict";var j=R(31998);var $=16;var q=generateUID();var G=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+q+'-(\\d+)__@"',"g");var ie=/\{\s*\[native code\]\s*\}/g;var ae=/function.*?\(/;var ce=/.*?=>.*?/;var le=/[<>\/\u2028\u2029]/g;var _e=["*","async"];var Te={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return Te[E]}function generateUID(){var E=j($);var N="";for(var R=0;R<$;++R){N+=E[R].toString(16)}return N}function deleteFunctions(E){var N=[];for(var R in E){if(typeof E[R]==="function"){N.push(R)}}for(var j=0;j0}));var $=j.filter((function(E){return _e.indexOf(E)===-1}));if($.length>0){return(j.indexOf("async")>-1?"async ":"")+"function"+(j.join("").indexOf("*")>-1?"*":"")+N.substr(R)}return N}if(N.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var Be;if(N.isJSON&&!N.space){Be=JSON.stringify(E)}else{Be=JSON.stringify(E,N.isJSON?null:replacer,N.space)}if(typeof Be!=="string"){return String(Be)}if(N.unsafe!==true){Be=Be.replace(le,escapeUnsafeChars)}if(R.length===0&&j.length===0&&$.length===0&&Te.length===0&&Ee.length===0&&we.length===0&&Ie.length===0&&Ne.length===0&&Me.length===0&&Le.length===0){return Be}return Be.replace(G,(function(E,q,G,ie){if(q){return E}if(G==="D"){return'new Date("'+$[ie].toISOString()+'")'}if(G==="R"){return"new RegExp("+serialize(j[ie].source)+', "'+j[ie].flags+'")'}if(G==="M"){return"new Map("+serialize(Array.from(Te[ie].entries()),N)+")"}if(G==="S"){return"new Set("+serialize(Array.from(Ee[ie].values()),N)+")"}if(G==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:we[ie].length},we[ie]),N)+")"}if(G==="U"){return"undefined"}if(G==="I"){return Ne[ie]}if(G==="B"){return'BigInt("'+Me[ie]+'")'}if(G==="L"){return'new URL("'+Le[ie].toString()+'")'}var ae=R[ie];return serializeFunc(ae)}))}},79956:(E,N,R)=>{var j=R(47384);var $=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,N){var R=new ArraySet;for(var j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R};ArraySet.prototype.size=function ArraySet_size(){return q?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(E,N){var R=q?E:j.toSetString(E);var G=q?this.has(E):$.call(this._set,R);var ie=this._array.length;if(!G||N){this._array.push(E)}if(!G){if(q){this._set.set(E,ie)}else{this._set[R]=ie}}};ArraySet.prototype.has=function ArraySet_has(E){if(q){return this._set.has(E)}else{var N=j.toSetString(E);return $.call(this._set,N)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(E){if(q){var N=this._set.get(E);if(N>=0){return N}}else{var R=j.toSetString(E);if($.call(this._set,R)){return this._set[R]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var j=R(31662);var $=5;var q=1<<$;var G=q-1;var ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){var N=(E&1)===1;var R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){var N="";var R;var q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N};N.decode=function base64VLQ_decode(E,N,R){var q=E.length;var ae=0;var ce=0;var le,_e;do{if(N>=q){throw new Error("Expected more digits in base 64 VLQ value.")}_e=j.decode(E.charCodeAt(N++));if(_e===-1){throw new Error("Invalid base64 digit: "+E.charAt(N-1))}le=!!(_e&ie);_e&=G;ae=ae+(_e<{var R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){var ie=Math.floor((R-E)/2)+E;var ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}else{return ie}}else{if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}N.search=function search(E,R,j,$){if(R.length===0){return-1}var q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},77818:(E,N,R)=>{var j=R(47384);function generatedPositionAfter(E,N){var R=E.generatedLine;var $=N.generatedLine;var q=E.generatedColumn;var G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,N){this._array.forEach(E,N)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};N.H=MappingList},72124:(E,N)=>{function swap(E,N,R){var j=E[N];E[N]=E[R];E[R]=j}function randomIntInRange(E,N){return Math.round(E+Math.random()*(N-E))}function doQuickSort(E,N,R,j){if(R{var j;var $=R(47384);var q=R(81010);var G=R(79956).I;var ie=R(62225);var ae=R(72124).U;function SourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}return R.sections!=null?new IndexedSourceMapConsumer(R,N):new BasicSourceMapConsumer(R,N)}SourceMapConsumer.fromSourceMap=function(E,N){return BasicSourceMapConsumer.fromSourceMap(E,N)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,N){var R=E.charAt(N);return R===";"||R===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,N,R){var j=N||null;var q=R||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var N=E.source===null?null:this._sources.at(E.source);N=$.computeSourceURL(ie,N,this._sourceMapURL);return{source:N,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,j)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var N=$.getArg(E,"line");var R={source:$.getArg(E,"source"),originalLine:N,originalColumn:$.getArg(E,"column",0)};R.source=this._findSourceIndex(R.source);if(R.source<0){return[]}var j=[];var G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var ce=ie.originalColumn;while(ie&&ie.originalLine===N&&ie.originalColumn==ce){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return j};N.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sources");var ie=$.getArg(R,"names",[]);var ae=$.getArg(R,"sourceRoot",null);var ce=$.getArg(R,"sourcesContent",null);var le=$.getArg(R,"mappings");var _e=$.getArg(R,"file",null);if(j!=this._version){throw new Error("Unsupported version: "+j)}if(ae){ae=$.normalize(ae)}q=q.map(String).map($.normalize).map((function(E){return ae&&$.isAbsolute(ae)&&$.isAbsolute(E)?$.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return $.computeSourceURL(ae,E,N)}));this.sourceRoot=ae;this.sourcesContent=ce;this._mappings=le;this._sourceMapURL=N;this.file=_e}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}var R;for(R=0;R1){Me.source=ce+Be[1];ce+=Be[1];Me.originalLine=q+Be[2];q=Me.originalLine;Me.originalLine+=1;Me.originalColumn=G+Be[3];G=Me.originalColumn;if(Be.length>4){Me.name=le+Be[4];le+=Be[4]}}Ne.push(Me);if(typeof Me.originalLine==="number"){Ie.push(Me)}}}ae(Ne,$.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Ie,$.compareByOriginalPositions);this.__originalMappings=Ie};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,N,R,j,$,G){if(E[R]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[R])}if(E[j]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[j])}return q.search(E,N,$,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var j=this._generatedMappings[R];if(j.generatedLine===N.generatedLine){var q=$.getArg(j,"source",null);if(q!==null){q=this._sources.at(q);q=$.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=$.getArg(j,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,N){if(!this.sourcesContent){return null}var R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}var j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}var q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){var G=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}else{throw new Error('"'+j+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}var R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};var j=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(j>=0){var q=this._originalMappings[j];if(q.source===R.source){return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:$.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};j=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sections");if(j!=this._version){throw new Error("Unsupported version: "+j)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var R=$.getArg(E,"offset");var j=$.getArg(R,"line");var q=$.getArg(R,"column");if(j{var j=R(62225);var $=R(47384);var q=R(79956).I;var G=R(77818).H;function SourceMapGenerator(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var N=E.sourceRoot;var R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){var j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){var q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}var G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var N=$.getArg(E,"generated");var R=$.getArg(E,"original",null);var j=$.getArg(E,"source",null);var q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,N){var R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,N,R){var j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}var G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){var q=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(q.source!=null){N.source=q.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=q.line;N.originalColumn=q.column;if(q.name!=null){N.name=q.name}}}var ce=N.source;if(ce!=null&&!ie.has(ce)){ie.add(ce)}var le=N.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){var j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){return}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var N=1;var R=0;var q=0;var G=0;var ie=0;var ae="";var ce;var le;var _e;var Te;var Ee=this._mappings.toArray();for(var we=0,Ie=Ee.length;we0){if(!$.compareByGeneratedPositionsInflated(le,Ee[we-1])){continue}ce+=","}}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Te=this._sources.indexOf(le.source);ce+=j.encode(Te-ie);ie=Te;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}var R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};N.SourceMapGenerator=SourceMapGenerator},29445:(E,N,R)=>{var j=R(52713).SourceMapGenerator;var $=R(47384);var q=/(\r?\n)/;var G=10;var ie="$$$isSourceNode$$$";function SourceNode(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,N,R){var j=new SourceNode;var G=E.split(q);var ie=0;var shiftNextLine=function(){var E=getNextLine();var N=getNextLine()||"";return E+N;function getNextLine(){return ie=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var N;for(var R=0,j=this.children.length;R0){N=[];for(R=0;R{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}else{throw new Error('"'+N+'" is a required argument.')}}N.getArg=getArg;var R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var j=/^data:.+\,.+$/;function urlParse(E){var N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){var N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;function normalize(E){var R=E;var j=urlParse(E);if(j){if(!j.path){return E}R=j.path}var $=N.isAbsolute(R);var q=R.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}N.normalize=normalize;function join(E,N){if(E===""){E="."}if(N===""){N="."}var R=urlParse(N);var $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}var q=N.charAt(0)==="/"?N:normalize(E.replace(/\/+$/,"")+"/"+N);if($){$.path=q;return urlGenerate($)}return q}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");var R=0;while(N.indexOf(E+"/")!==0){var j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;var $=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=$?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=$?identity:fromSetString;function isProtoString(E){if(!E){return false}var N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(var R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){var j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){var j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){var R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){var j=urlParse(R);if(!j){throw new Error("sourceMapURL could not be parsed")}if(j.path){var $=j.path.lastIndexOf("/");if($>=0){j.path=j.path.substring(0,$+1)}}N=join(urlGenerate(j),N)}return normalize(N)}N.computeSourceURL=computeSourceURL},63703:(E,N,R)=>{N.SourceMapGenerator=R(52713).SourceMapGenerator;N.SourceMapConsumer=R(50257).SourceMapConsumer;N.SourceNode=R(29445).SourceNode},22384:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}function envForceColor(){if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){return 1}if(G.FORCE_COLOR==="false"){return 0}return G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:N,sniffFlags:R=true}={}){const $=envForceColor();if($!==undefined){ie=$}const ae=R?ie:$;if(ae===0){return 0}if(R){if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}}if(E&&!N&&ae===undefined){return 0}const ce=ae||0;if(G.TERM==="dumb"){return ce}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return ce}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return ce}function getSupportLevel(E,N={}){const R=supportsColor(E,{streamIsTTY:E&&E.isTTY,...N});return translateLevel(R)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:$.isatty(1)}),stderr:getSupportLevel({isTTY:$.isatty(2)})}},85431:(E,N)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,N){const R=new ArraySet;for(let j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R}size(){return this._set.size}add(E,N){const R=this.has(E);const j=this._array.length;if(!R||N){this._array.push(E)}if(!R){this._set.set(E,j)}}has(E){return this._set.has(E)}indexOf(E){const N=this._set.get(E);if(N>=0){return N}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const j=R(45210);const $=5;const q=1<<$;const G=q-1;const ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){const N=(E&1)===1;const R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){let N="";let R;let q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N}},45210:(E,N)=>{const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){const ie=Math.floor((R-E)/2)+E;const ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}return ie}if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}return E<0?-1:E}N.search=function search(E,R,j,$){if(R.length===0){return-1}let q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},48935:(E,N,R)=>{const j=R(53033);function generatedPositionAfter(E,N){const R=E.generatedLine;const $=N.generatedLine;const q=E.generatedColumn;const G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,N){this._array.forEach(E,N)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}N.H=MappingList},92256:(E,N,R)=>{if(typeof fetch==="function"){let N=null;E.exports=function readWasm(){if(typeof N!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(N).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>N=E}else{const N=R(57147);const j=R(71017);E.exports=function readWasm(){return new Promise(((E,j)=>{const $=R.ab+"mappings.wasm";N.readFile(R.ab+"mappings.wasm",null,((N,R)=>{if(N){j(N);return}E(R.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,N,R)=>{var j;const $=R(53033);const q=R(31850);const G=R(85431).I;const ie=R(2635);const ae=R(92256);const ce=R(7059);const le=Symbol("smcInternal");class SourceMapConsumer{constructor(E,N){if(E==le){return Promise.resolve(this)}return _factory(E,N)}static initialize(E){ae.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,N){return _factoryBSM(E,N)}static with(E,N,R){let j=null;const $=new SourceMapConsumer(E,N);return $.then((E=>{j=E;return R(E)})).then((E=>{if(j){j.destroy()}return E}),(E=>{if(j){j.destroy()}throw E}))}_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,N,R){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;N.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");let ie=$.getArg(j,"sources");const ae=$.getArg(j,"names",[]);let le=$.getArg(j,"sourceRoot",null);const _e=$.getArg(j,"sourcesContent",null);const Te=$.getArg(j,"mappings");const Ee=$.getArg(j,"file",null);if(q!=R._version){throw new Error("Unsupported version: "+q)}if(le){le=$.normalize(le)}ie=ie.map(String).map($.normalize).map((function(E){return le&&$.isAbsolute(le)&&$.isAbsolute(E)?$.relative(le,E):E}));R._names=G.fromArray(ae.map(String),true);R._sources=G.fromArray(ie,true);R._absoluteSources=R._sources.toArray().map((function(E){return $.computeSourceURL(le,E,N)}));R.sourceRoot=le;R.sourcesContent=_e;R._mappings=Te;R._sourceMapURL=N;R.file=Ee;R._computedColumnSpans=false;R._mappingsPtr=0;R._wasm=null;return ce().then((E=>{R._wasm=E;return R}))}))}_findSourceIndex(E){let N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}for(let N=0;N{if(N.source!==null){N.source=this._sources.at(N.source);N.source=$.computeSourceURL(G,N.source,this._sourceMapURL);if(N.name!==null){N.name=this._names.at(N.name)}}E.call(j,N)}),(()=>{switch(q){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let N=$.getArg(E,"source");const R=$.getArg(E,"line");const j=E.column||0;N=this._findSourceIndex(N);if(N<0){return[]}if(R<1){throw new Error("Line numbers must be >= 1")}if(j<0){throw new Error("Column numbers must be >= 0")}const q=[];this._wasm.withMappingCallback((E=>{let N=E.lastGeneratedColumn;if(this._computedColumnSpans&&N===null){N=Infinity}q.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:N})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),N,R-1,"column"in E,j)}));return q}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const N={generatedLine:$.getArg(E,"line"),generatedColumn:$.getArg(E,"column")};if(N.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(N.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let R=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(R==null){R=SourceMapConsumer.GREATEST_LOWER_BOUND}let j;this._wasm.withMappingCallback((E=>j=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),N.generatedLine-1,N.generatedColumn,R)}));if(j){if(j.generatedLine===N.generatedLine){let E=$.getArg(j,"source",null);if(E!==null){E=this._sources.at(E);E=$.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let N=$.getArg(j,"name",null);if(N!==null){N=this._names.at(N)}return{source:E,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:N}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,N){if(!this.sourcesContent){return null}const R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}let j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}let q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){const E=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}throw new Error('"'+j+'" is not in the SourceMap.')}generatedPositionFor(E){let N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}const R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};if(R.originalLine<1){throw new Error("Line numbers must be >= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}let j=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(j==null){j=SourceMapConsumer.GREATEST_LOWER_BOUND}let q;this._wasm.withMappingCallback((E=>q=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),R.source,R.originalLine-1,R.originalColumn,j)}));if(q){if(q.source===R.source){let E=q.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;j=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");const ie=$.getArg(j,"sections");if(q!=R._version){throw new Error("Unsupported version: "+q)}R._sources=new G;R._names=new G;R.__generatedMappings=null;R.__originalMappings=null;R.__generatedMappingsUnsorted=null;R.__originalMappingsUnsorted=null;let ae={line:-1,column:0};return Promise.all(ie.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const R=$.getArg(E,"offset");const j=$.getArg(R,"line");const q=$.getArg(R,"column");if(j({generatedOffset:{generatedLine:j+1,generatedColumn:q+1},consumer:E})))}))).then((E=>{R._sections=E;return R}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort($.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort($.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let N=0;Nq.push(E)));for(let E=0;E= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}const j=[];let G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){let R=this._originalMappings[G];if(E.column===undefined){const E=R.originalLine;while(R&&R.originalLine===E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}else{const E=R.originalColumn;while(R&&R.originalLine===N&&R.originalColumn==E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}}return j}destroy(){for(let E=0;E{const j=R(2635);const $=R(53033);const q=R(85431).I;const G=R(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}static fromSourceMap(E){const N=E.sourceRoot;const R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){const j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){let q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}const G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R}addMapping(E){const N=$.getArg(E,"generated");const R=$.getArg(E,"original",null);let j=$.getArg(E,"source",null);let q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})}setSourceContent(E,N){let R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,N,R){let j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}const G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}const ie=this._mappings.toArray().length>0?new q:this._sources;const ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){const j=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(j.source!=null){N.source=j.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=j.line;N.originalColumn=j.column;if(j.name!=null){N.name=j.name}}}const q=N.source;if(q!=null&&!ie.has(q)){ie.add(q)}const ce=N.name;if(ce!=null&&!ae.has(ce)){ae.add(ce)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){const j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)}_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}}_serializeMappings(){let E=0;let N=1;let R=0;let q=0;let G=0;let ie=0;let ae="";let ce;let le;let _e;let Te;const Ee=this._mappings.toArray();for(let we=0,Ie=Ee.length;we0){if(!$.compareByGeneratedPositionsInflated(le,Ee[we-1])){continue}ce+=","}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Te=this._sources.indexOf(le.source);ce+=j.encode(Te-ie);ie=Te;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae}_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}const R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;N.SourceMapGenerator=SourceMapGenerator},98160:(E,N,R)=>{const j=R(69010).SourceMapGenerator;const $=R(53033);const q=/(\r?\n)/;const G=10;const ie="$$$isSourceNode$$$";class SourceNode{constructor(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}static fromStringWithSourceMap(E,N,R){const j=new SourceNode;const G=E.split(q);let ie=0;const shiftNextLine=function(){const E=getNextLine();const N=getNextLine()||"";return E+N;function getNextLine(){return ie=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let N;for(let R=0,j=this.children.length;R0){N=[];for(R=0;R{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}throw new Error('"'+N+'" is a required argument.')}N.getArg=getArg;const R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const j=/^data:.+\,.+$/;function urlParse(E){const N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){let N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;const $=32;function lruMemoize(E){const N=[];return function(R){for(let E=0;E$){N.pop()}return j}}const q=lruMemoize((function normalize(E){let R=E;const j=urlParse(E);if(j){if(!j.path){return E}R=j.path}const $=N.isAbsolute(R);const q=[];let G=0;let ie=0;while(true){G=ie;ie=R.indexOf("/",G);if(ie===-1){q.push(R.slice(G));break}else{q.push(R.slice(G,ie));while(ie=0;ie--){const E=q[ie];if(E==="."){q.splice(ie,1)}else if(E===".."){ae++}else if(ae>0){if(E===""){q.splice(ie+1,ae);ae=0}else{q.splice(ie,2);ae--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}));N.normalize=q;function join(E,N){if(E===""){E="."}if(N===""){N="."}const R=urlParse(N);const $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}const G=N.charAt(0)==="/"?N:q(E.replace(/\/+$/,"")+"/"+N);if($){$.path=G;return urlGenerate($)}return G}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");let R=0;while(N.indexOf(E+"/")!==0){const j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;const G=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=G?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=G?identity:fromSetString;function isProtoString(E){if(!E){return false}const N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(let R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){let j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){let j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){let R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){const E=urlParse(R);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const N=E.path.lastIndexOf("/");if(N>=0){E.path=E.path.substring(0,N+1)}}N=join(urlGenerate(E),N)}return q(N)}N.computeSourceURL=computeSourceURL},7059:(E,N,R)=>{const j=R(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let $=null;E.exports=function wasm(){if($){return $}const E=[];$=j().then((N=>WebAssembly.instantiate(N,{env:{mapping_callback(N,R,j,$,q,G,ie,ae,ce,le){const _e=new Mapping;_e.generatedLine=N+1;_e.generatedColumn=R;if(j){_e.lastGeneratedColumn=$-1}if(q){_e.source=G;_e.originalLine=ie+1;_e.originalColumn=ae;if(ce){_e.name=le}}E[E.length-1](_e)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((N=>({exports:N.instance.exports,withMappingCallback:(N,R)=>{E.push(N);try{R()}finally{E.pop()}}}))).then(null,(E=>{$=null;throw E}));return $}},37362:(E,N,R)=>{N.SourceMapGenerator=R(69010).SourceMapGenerator;N.SourceMapConsumer=R(47532).SourceMapConsumer;N.SourceNode=R(98160).SourceNode},6619:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeAfterCompile=void 0;const j=R(71017);const $=R(86443);const q=R(69635);const G=R(90557);const ie=R(86507);function makeAfterCompile(E,N){let R=true;let j=true;return($,q)=>{if($.compiler.isChild()){q();return}if(E.loaderOptions.transpileOnly){provideAssetsFromSolutionBuilderHost(E,$);q();return}removeCompilationTSLoaderErrors($,E.loaderOptions);provideCompilerOptionDiagnosticErrorsToWebpack(R,$,E,N);R=false;const G=determineModules($,E);const ie=determineFilesToCheckForErrors(j,E);j=false;const ae=new Map;provideErrorsToWebpack(ie,ae,$,G,E);provideSolutionErrorsToWebpack($,G,E);provideDeclarationFilesToWebpack(ie,E,$);provideTsBuildInfoFilesToWebpack(E,$);provideAssetsFromSolutionBuilderHost(E,$);E.filesWithErrors=ae;E.modifiedFiles=undefined;E.projectsMissingSourceMaps=new Set;q()}}N.makeAfterCompile=makeAfterCompile;function provideCompilerOptionDiagnosticErrorsToWebpack(E,N,R,j){if(E){const{languageService:E,loaderOptions:$,compiler:q,program:G}=R;const ae=(0,ie.formatErrors)(G===undefined?E.getCompilerOptionsDiagnostics():G.getOptionsDiagnostics(),$,R.colors,q,{file:j||"tsconfig.json"},N.compiler.context);N.errors.push(...ae)}}function determineModules(E,{filePathKeyMapper:N}){const R=new Map;E.modules.forEach((E=>{if(E instanceof $.NormalModule&&E.resource){const j=N(E.resource);const $=R.get(j);if($!==undefined){if(!$.includes(E)){$.push(E)}}else{R.set(j,[E])}}}));return R}function determineFilesToCheckForErrors(E,N){const{files:R,modifiedFiles:j,filesWithErrors:$,otherFiles:q}=N;const G=new Map;if(E){for(const[E,N]of R){addFileToCheckForErrors(E,N)}for(const[E,N]of q){addFileToCheckForErrors(E,N)}}else if(j!==null&&j!==undefined&&j.size){const E=(0,ie.populateReverseDependencyGraph)(N);for(const N of j.keys()){for(const j of(0,ie.collectAllDependants)(E,N).keys()){const E=R.get(j)||q.get(j);if(E){addFileToCheckForErrors(j,E)}}}}if($!==undefined){for(const[E,N]of $){addFileToCheckForErrors(E,N)}}return G;function addFileToCheckForErrors(E,R){if(R&&!(0,ie.isReferencedFile)(N,E)){G.set(E,R)}}}function provideErrorsToWebpack(E,N,R,j,$){const{compiler:G,files:ae,loaderOptions:ce,compilerOptions:le,otherFiles:_e}=$;const Te=le.allowJs===true?q.dtsTsTsxJsJsxRegex:q.dtsTsTsxRegex;const Ee=(0,ie.ensureProgram)($);for(const[q,{fileName:le}]of E.entries()){if(le.match(Te)===null){continue}const E=Ee&&Ee.getSourceFile(le);const we=[];if(Ee&&E){we.push(...Ee.getSyntacticDiagnostics(E),...Ee.getSemanticDiagnostics(E).filter((({code:E})=>E!==6305)))}if(we.length>0){const E=ae.get(q)||_e.get(q);N.set(q,E)}const Ie=j.get($.filePathKeyMapper(le));if(Ie!==undefined){Ie.forEach((E=>{removeModuleTSLoaderError(E,ce);const N=(0,ie.formatErrors)(we,ce,$.colors,G,{module:E},R.compiler.context);N.forEach((N=>{if(E.addError){E.addError(N)}else{E.errors.push(N)}}));R.errors.push(...N)}))}else{const E=(0,ie.formatErrors)(we,ce,$.colors,G,{file:le},R.compiler.context);R.errors.push(...E)}}}function provideSolutionErrorsToWebpack(E,N,R){if(!R.solutionBuilderHost||!(R.solutionBuilderHost.diagnostics.global.length||R.solutionBuilderHost.diagnostics.perFile.size)){return}const{compiler:$,loaderOptions:q,solutionBuilderHost:{diagnostics:G}}=R;for(const[ae,ce]of G.perFile){const G=N.get(ae);if(G!==undefined){G.forEach((N=>{removeModuleTSLoaderError(N,q);const j=(0,ie.formatErrors)(ce,q,R.colors,$,{module:N},E.compiler.context);j.forEach((E=>{if(N.addError){N.addError(E)}else{N.errors.push(E)}}));E.errors.push(...j)}))}else{const N=(0,ie.formatErrors)(ce,q,R.colors,$,{file:j.resolve(ce[0].file.fileName)},E.compiler.context);E.errors.push(...N)}}E.errors.push(...(0,ie.formatErrors)(G.global,R.loaderOptions,R.colors,R.compiler,{file:"tsconfig.json"},E.compiler.context))}function provideDeclarationFilesToWebpack(E,N,R){for(const{fileName:j}of E.values()){if(j.match(q.tsTsxRegex)===null){continue}addDeclarationFilesAsAsset((0,G.getEmitOutput)(N,j),R)}}function addDeclarationFilesAsAsset(E,N,R){outputFilesToAsset(E,N,(E=>R&&R(E)?true:!E.name.match(q.dtsDtsxOrDtsDtsxMapRegex)))}function outputFileToAsset(E,N){const R=j.relative(N.compiler.outputPath,E.name).replace(/\\/g,"/");N.emitAsset(R,new $.sources.RawSource(E.text))}function outputFilesToAsset(E,N,R){for(const j of E){if(!R||!R(j)){outputFileToAsset(j,N)}}}function provideTsBuildInfoFilesToWebpack(E,N){if(E.watchHost){(0,G.getEmitFromWatchHost)(E);if(E.watchHost.tsbuildinfo){outputFileToAsset(E.watchHost.tsbuildinfo,N)}E.watchHost.outputFiles.clear();E.watchHost.tsbuildinfo=undefined}}function provideAssetsFromSolutionBuilderHost(E,N){if(E.solutionBuilderHost){outputFilesToAsset(E.solutionBuilderHost.writtenFiles,N);E.solutionBuilderHost.writtenFiles.length=0}}function removeCompilationTSLoaderErrors(E,N){E.errors=E.errors.filter((E=>E.details!==(0,ie.tsLoaderSource)(N)))}function removeModuleTSLoaderError(E,N){const R=E.getWarnings();const j=E.getErrors();E.clearWarningsAndErrors();Array.from(R||[]).forEach((N=>E.addWarning(N)));Array.from(j||[]).filter((E=>E.loaderSource!==(0,ie.tsLoaderSource)(N))).forEach((N=>E.addError(N)))}},17464:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getCompilerOptions=N.getCompiler=void 0;const j=R(3609);function getCompiler(E,N){let R;let $;let q;let G=false;try{R=require(E.compiler)}catch(N){$=E.compiler==="typescript"?"Could not load TypeScript. Try installing with `yarn add typescript` or `npm install typescript`. If TypeScript is installed globally, try using `yarn link typescript` or `npm link typescript`.":`Could not load TypeScript compiler with NPM package name \`${E.compiler}\`. Are you sure it is correctly installed?`}if($===undefined){q=`ts-loader: Using ${E.compiler}@${R.version}`;G=false;if(E.compiler==="typescript"){if(R.version!==undefined&&j.gte(R.version,"3.6.3")){G=true}else{N.logError(`${q}. This version is incompatible with ts-loader. Please upgrade to the latest version of TypeScript.`)}}else{N.logWarning(`${q}. This version may or may not be compatible with ts-loader.`)}}return{compiler:R,compilerCompatible:G,compilerDetailsLogMessage:q,errorMessage:$}}N.getCompiler=getCompiler;function getCompilerOptions(E,N){const R=Object.assign({},E.options,{skipLibCheck:true,suppressOutputPathCheck:true});if(R.module===undefined&&R.target!==undefined&&R.target{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getParsedCommandLine=N.getConfigParseResult=N.getConfigFile=void 0;const j=R(71017);const $=R(17464);const q=R(86507);function getConfigFile(E,N,R,$,G,ie,ae){const ce=findConfigFile(E,j.dirname(R.resourcePath),$.configFile);let le;let _e;if(ce!==undefined){if(G){ie.logInfo(`${ae} and ${ce}`)}else{ie.logInfo(`ts-loader: Using config file at ${ce}`)}_e=E.readConfigFile(ce,E.sys.readFile);if(_e.error!==undefined){le=(0,q.formatErrors)([_e.error],$,N,E,{file:ce},R.context)[0]}}else{if(G){ie.logInfo(ae)}_e={config:{compilerOptions:{},files:[]}}}if(le===undefined){_e.config.compilerOptions=Object.assign({},_e.config.compilerOptions)}return{configFilePath:ce,configFile:_e,configFileError:le}}N.getConfigFile=getConfigFile;function findConfigFile(E,N,R){if(j.isAbsolute(R)){return E.sys.fileExists(R)?R:undefined}if(R.match(/^\.\.?(\/|\\)/)!==null){const $=j.resolve(N,R);return E.sys.fileExists($)?$:undefined}else{while(true){const $=j.join(N,R);if(E.sys.fileExists($)){return $}const q=j.dirname(N);if(q===N){break}N=q}return undefined}}function getConfigParseResult(E,N,R,j,$){const G=E.parseJsonConfigFileContent(N.config,{...E.sys,useCaseSensitiveFileNames:(0,q.useCaseSensitiveFileNames)(E,$)},R,getCompilerOptionsToExtend(E,$,R,j||"tsconfig.json"));if(!$.projectReferences){G.projectReferences=undefined}G.options=Object.assign({},G.options,{configFilePath:j});return G}N.getConfigParseResult=getConfigParseResult;const G=new Map;function getParsedCommandLine(E,N,R){const ie=E.getParsedCommandLineOfConfigFile(R,getCompilerOptionsToExtend(E,N,j.dirname(R),R),{...E.sys,useCaseSensitiveFileNames:(0,q.useCaseSensitiveFileNames)(E,N),onUnRecoverableConfigFileDiagnostic:()=>{}},G);if(ie){ie.options=(0,$.getCompilerOptions)(ie,E)}return ie}N.getParsedCommandLine=getParsedCommandLine;function getCompilerOptionsToExtend(E,N,R,j){return E.convertCompilerOptionsFromJson(N.compilerOptions,R,j).options}},69635:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.nodeModules=N.jsonRegex=N.jsJsxMap=N.jsJsx=N.tsTsxJsJsxRegex=N.dtsTsTsxJsJsxRegex=N.dtsTsTsxRegex=N.dtsDtsxOrDtsDtsxMapRegex=N.tsTsxRegex=N.tsxRegex=N.extensionRegex=N.LineFeedCode=N.CarriageReturnLineFeedCode=N.LineFeed=N.CarriageReturnLineFeed=N.EOL=void 0;const j=R(22037);N.EOL=j.EOL;N.CarriageReturnLineFeed="\r\n";N.LineFeed="\n";N.CarriageReturnLineFeedCode=0;N.LineFeedCode=1;N.extensionRegex=/\.[^.]+$/;N.tsxRegex=/\.tsx$/i;N.tsTsxRegex=/\.ts(x?)$/i;N.dtsDtsxOrDtsDtsxMapRegex=/\.d\.ts(x?)(\.map)?$/i;N.dtsTsTsxRegex=/(\.d)?\.ts(x?)$/i;N.dtsTsTsxJsJsxRegex=/((\.d)?\.ts(x?)|js(x?))$/i;N.tsTsxJsJsxRegex=/\.tsx?$|\.jsx?$/i;N.jsJsx=/\.js(x?)$/i;N.jsJsxMap=/\.js(x?)\.map$/i;N.jsonRegex=/\.json$/i;N.nodeModules=/node_modules/i},32956:(E,N,R)=>{"use strict";const j=R(6113);const $=R(71017);const q=R(69635);const G=R(90557);const ie=R(86507);const ae={};function loader(E){this.cacheable&&this.cacheable();const N=this.async();const R=getLoaderOptions(this);const j=(0,G.getTypeScriptInstance)(R,this);if(j.error!==undefined){N(new Error(j.error.message));return}const $=j.instance;(0,G.buildSolutionReferences)($,this);successLoader(this,E,N,$)}function successLoader(E,N,R,j){(0,G.initializeInstance)(E,j);(0,G.reportTranspileErrors)(j,E);const q=$.normalize(E.resourcePath);const ae=j.loaderOptions.appendTsSuffixTo.length>0||j.loaderOptions.appendTsxSuffixTo.length>0?(0,ie.appendSuffixesIfMatch)({".ts":j.loaderOptions.appendTsSuffixTo,".tsx":j.loaderOptions.appendTsxSuffixTo},q):q;const ce=updateFileInCache(j.loaderOptions,ae,N,j);const{outputText:le,sourceMapText:_e}=j.loaderOptions.transpileOnly?getTranspilationEmit(ae,N,j,E):getEmit(q,ae,j,E);makeSourceMapAndFinish(_e,le,ae,N,E,ce,R,j)}function makeSourceMapAndFinish(E,N,R,j,$,q,G,ae){if(N===null||N===undefined){setModuleMeta($,ae,q);const E=(0,ie.isReferencedFile)(ae,R)?" The most common cause for this is having errors when building referenced projects.":!ae.loaderOptions.allowTsInNodeModules&&R.indexOf("node_modules")!==-1?" By default, ts-loader will not compile .ts files in node_modules.\n"+"You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.\n"+"See: https://github.com/Microsoft/TypeScript/issues/12358":"";G(new Error(`TypeScript emitted no output for ${R}.${E}`),N,undefined);return}const{sourceMap:ce,output:le}=makeSourceMap(E,N,R,j,$);setModuleMeta($,ae,q);G(null,le,ce)}function setModuleMeta(E,N,R){if(!N.loaderOptions.happyPackMode&&E._module.buildMeta!==undefined){E._module.buildMeta.tsLoaderFileVersion=R}}function getOptionsHash(E){const N=j.createHash("sha256");Object.keys(E).forEach((R=>{const j=E[R];if(j!==undefined){const E=typeof j==="function"?j.toString():JSON.stringify(j);N.update(R+E)}}));return N.digest("hex").substring(0,16)}function getLoaderOptions(E){const N=E.getOptions();const R=N.instance||"default_"+getOptionsHash(N);if(!ae.hasOwnProperty(R)){ae[R]=new WeakMap}const j=ae[R];if(j.has(N)){return j.get(N)}validateLoaderOptions(N);const $=makeLoaderOptions(R,N,E);j.set(N,$);return $}const ce=["silent","logLevel","logInfoToStdOut","instance","compiler","context","configFile","transpileOnly","ignoreDiagnostics","errorFormatter","colors","compilerOptions","appendTsSuffixTo","appendTsxSuffixTo","onlyCompileBundledFiles","happyPackMode","getCustomTransformers","reportFiles","experimentalWatchApi","allowTsInNodeModules","experimentalFileCaching","projectReferences","resolveModuleName","resolveTypeReferenceDirective","useCaseSensitiveFileNames"];function validateLoaderOptions(E){const N=Object.keys(E);for(let E=0;E{var N;return typeof E==="object"&&((N=E.constructor)===null||N===void 0?void 0:N.name)==="ForkTsCheckerWebpackPlugin"}));const q=Object.assign({},{silent:false,logLevel:"WARN",logInfoToStdOut:false,compiler:"typescript",context:undefined,transpileOnly:$,compilerOptions:{},appendTsSuffixTo:[],appendTsxSuffixTo:[],transformers:{},happyPackMode:false,colors:true,onlyCompileBundledFiles:false,reportFiles:[],experimentalWatchApi:false,allowTsInNodeModules:false,experimentalFileCaching:true},N);q.ignoreDiagnostics=(0,ie.arrify)(q.ignoreDiagnostics).map(Number);q.logLevel=q.logLevel.toUpperCase();q.instance=E;q.configFile=q.configFile||"tsconfig.json";q.transpileOnly=q.happyPackMode?true:q.transpileOnly;return q}function updateFileInCache(E,N,R,j){let $;const q=j.filePathKeyMapper(N);let G=j.files.get(q);if(G===undefined){G=j.otherFiles.get(q);if(G!==undefined){if(!(0,ie.isReferencedFile)(j,N)){j.otherFiles.delete(q);j.files.set(q,G);j.changedFilesList=true}}else{if(j.watchHost!==undefined){$=j.compiler.FileWatcherEventKind.Created}G={fileName:N,version:0};if(!(0,ie.isReferencedFile)(j,N)){j.files.set(q,G);j.changedFilesList=true}}}if(j.watchHost!==undefined&&R===undefined){$=j.compiler.FileWatcherEventKind.Deleted}if(!(0,ie.isReferencedFile)(j,N)&&!j.rootFileNames.has(N)&&(E.allowTsInNodeModules||N.indexOf("node_modules")===-1)){j.version++;j.rootFileNames.add(N)}if(G.text!==R){G.version++;G.text=R;G.modifiedTime=new Date;j.version++;if(j.watchHost!==undefined&&$===undefined){$=j.compiler.FileWatcherEventKind.Changed}}if(j.modifiedFiles&&j.modifiedFiles.get(q)){$=j.compiler.FileWatcherEventKind.Changed}if(j.watchHost!==undefined&&$!==undefined){j.hasUnaccountedModifiedFiles=j.watchHost.invokeFileWatcher(N,$)||j.hasUnaccountedModifiedFiles}if(!j.modifiedFiles){j.modifiedFiles=new Map}j.modifiedFiles.set(q,true);return G.version}function getEmit(E,N,R,j){var ae;const ce=(0,G.getEmitOutput)(R,N);j.clearDependencies();j.addDependency(E);const le=[];const addDependency=E=>{E=$.resolve(E);j.addDependency(E);le.push(E)};if(!(0,ie.isReferencedFile)(R,N)){for(const{fileName:E}of R.files.values()){if(E.match(q.dtsDtsxOrDtsDtsxMapRegex)&&!((ae=R.solutionBuilderHost)===null||ae===void 0?void 0:ae.getOutputFileKeyFromReferencedProject(E))){addDependency(E)}}}const _e=R.dependencyGraph.get(R.filePathKeyMapper(N));if(_e){for(const{resolvedFileName:E,originalFileName:N}of _e){addDependency((0,G.getInputFileNameFromOutput)(R,$.resolve(E))||N)}}addDependenciesFromSolutionBuilder(R,N,addDependency);j._module.buildMeta.tsLoaderDefinitionFileVersions=le.map((E=>$.relative(j.rootContext,E)+"@"+((0,ie.isReferencedFile)(R,E)?R.solutionBuilderHost.getInputFileStamp(E).toString():(R.files.get(R.filePathKeyMapper(E))||R.otherFiles.get(R.filePathKeyMapper(E))||{version:"?"}).version)));return getOutputAndSourceMapFromOutputFiles(ce)}function getOutputAndSourceMapFromOutputFiles(E){const N=E.filter((E=>E.name.match(q.jsJsx))).pop();const R=N===undefined?undefined:N.text;const j=E.filter((E=>E.name.match(q.jsJsxMap))).pop();const $=j===undefined?undefined:j.text;return{outputText:R,sourceMapText:$}}function addDependenciesFromSolutionBuilder(E,N,R){if(!E.solutionBuilderHost){return}const j=E.filePathKeyMapper(N);if(!(0,ie.isReferencedFile)(E,N)){if(E.configParseResult.fileNames.some((N=>E.filePathKeyMapper(N)===j))){addDependenciesFromProjectReferences(E,E.configFilePath,E.configParseResult.projectReferences,R)}return}for(const[N,$]of E.solutionBuilderHost.configFileInfo.entries()){if(!$.config||!$.config.projectReferences||!$.config.projectReferences.length){continue}if($.outputFileNames){if(!$.outputFileNames.has(j)){continue}}else if(!$.config.fileNames.some((N=>E.filePathKeyMapper(N)===j))){continue}if($.dtsFiles){$.dtsFiles.forEach(R)}addDependenciesFromProjectReferences(E,N,$.config.projectReferences,R);break}}function addDependenciesFromProjectReferences(E,N,R,j){if(!R||!R.length){return}const $=new Map;$.set(E.filePathKeyMapper(N),true);const q=R.slice();while(true){const N=q.pop();if(!N){break}const R=E.filePathKeyMapper(E.compiler.resolveProjectReferencePath(N));if($.has(R)){continue}const G=E.solutionBuilderHost.configFileInfo.get(R);if(!G){continue}$.set(R,true);if(G.config){G.config.fileNames.forEach(j);if(G.config.projectReferences){q.push(...G.config.projectReferences)}}}}function getTranspilationEmit(E,N,R,j){if((0,ie.isReferencedFile)(R,E)){const N=R.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(E);addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency($.resolve(E))));return getOutputAndSourceMapFromOutputFiles(N)}const{outputText:q,sourceMapText:G,diagnostics:ae}=R.compiler.transpileModule(N,{compilerOptions:{...R.compilerOptions,rootDir:undefined},transformers:R.transformers,reportDiagnostics:true,fileName:E});const ce=j._module;addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency($.resolve(E))));if(!R.loaderOptions.happyPackMode){const E=(0,ie.formatErrors)(ae,R.loaderOptions,R.colors,R.compiler,{module:ce},j.context);E.forEach((E=>ce.addError(E)))}return{outputText:q,sourceMapText:G}}function makeSourceMap(E,N,R,j,$){if(E===undefined){return{output:N,sourceMap:undefined}}return{output:N.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm,""),sourceMap:Object.assign(JSON.parse(E),{sources:[$.remainingRequest],file:R,sourcesContent:[j]})}}E.exports=loader},50043:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.setTSInstanceInCache=N.getTSInstanceFromCache=void 0;const R={};const j=new WeakMap;function getTSInstanceFromCache(E,N){const $=E!==null&&E!==void 0?E:R;let q=j.get($);if(!q){q=new Map;j.set($,q)}return q.get(N)}N.getTSInstanceFromCache=getTSInstanceFromCache;function setTSInstanceInCache(E,N,$){var q;const G=E!==null&&E!==void 0?E:R;const ie=(q=j.get(G))!==null&&q!==void 0?q:new Map;ie.set(N,$);j.set(G,ie)}N.setTSInstanceInCache=setTSInstanceInCache},90557:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getEmitOutput=N.getEmitFromWatchHost=N.getInputFileNameFromOutput=N.getOutputFileNames=N.forEachResolvedProjectReference=N.buildSolutionReferences=N.reportTranspileErrors=N.initializeInstance=N.getTypeScriptInstance=void 0;const j=R(57347);const $=R(57147);const q=R(71017);const G=R(86443);const ie=R(6619);const ae=R(17464);const ce=R(10852);const le=R(69635);const _e=R(50043);const Te=R(63686);const Ee=R(9674);const we=R(86507);const Ie=R(80573);const Ne=new Map;function getTypeScriptInstance(E,N){const R=(0,_e.getTSInstanceFromCache)(N._compiler,E.instance);if(R){if(!R.initialSetupPending){(0,we.ensureProgram)(R)}return{instance:R}}const $=E.colors&&j.supportsColor?j.supportsColor.level:0;const q=new j.Instance({level:$});const G=Te.makeLogger(E,q);const ie=(0,ae.getCompiler)(E,G);if(ie.errorMessage!==undefined){return{error:(0,we.makeError)(E,q.red(ie.errorMessage),"")}}return successfulTypeScriptInstance(E,N,G,q,ie.compiler,ie.compilerCompatible,ie.compilerDetailsLogMessage)}N.getTypeScriptInstance=getTypeScriptInstance;function createFilePathKeyMapper(E,N){const R=new Map;const j=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;return(0,we.useCaseSensitiveFileNames)(E,N)?pathResolve:toFileNameLowerCase;function pathResolve(E){let N=R.get(E);if(!N){N=q.resolve(E);R.set(E,N)}return N}function toFileNameLowerCase(E){let N=R.get(E);if(!N){const $=pathResolve(E);N=j.test($)?$.replace(j,(E=>E.toLowerCase())):$;R.set(E,N)}return N}}function successfulTypeScriptInstance(E,N,R,j,G,ie,Te){const Ee=(0,ce.getConfigFile)(G,j,N,E,ie,R,Te);if(Ee.configFileError!==undefined){const{message:N,file:R}=Ee.configFileError;return{error:(0,we.makeError)(E,j.red("error while reading tsconfig.json:"+le.EOL+N),R)}}const{configFilePath:Ie,configFile:Ne}=Ee;const Me=createFilePathKeyMapper(G,E);if(Ie&&E.projectReferences){const R=Me(Ie);const j=getExistingSolutionBuilderHost(R);if(j){(0,_e.setTSInstanceInCache)(N._compiler,E.instance,j);return{instance:j}}}const Le=N._module;const Be=E.context||q.dirname(Ie||"");const je=(0,ce.getConfigParseResult)(G,Ne,Be,Ie,E);if(je.errors.length>0&&!E.happyPackMode){const R=(0,we.formatErrors)(je.errors,E,j,G,{file:Ie},N.context);R.forEach((E=>Le.addError(E)));return{error:(0,we.makeError)(E,j.red("error while parsing tsconfig.json"),Ie||"")}}const Ue=(0,ae.getCompilerOptions)(je,G);const ze=new Set;const We=new Map;const Je=new Map;const Ve=E.appendTsSuffixTo.length>0||E.appendTsxSuffixTo.length>0?N=>(0,we.appendSuffixesIfMatch)({".ts":E.appendTsSuffixTo,".tsx":E.appendTsxSuffixTo},N):E=>E;if(E.transpileOnly){const $={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,version:0,program:undefined,dependencyGraph:new Map,transformers:{},colors:j,initialSetupPending:true,reportTranspileErrors:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};(0,_e.setTSInstanceInCache)(N._compiler,E.instance,$);return{instance:$}}let qe;try{const N=E.onlyCompileBundledFiles?je.fileNames.filter((E=>le.dtsDtsxOrDtsDtsxMapRegex.test(E))):je.fileNames;N.forEach((E=>{qe=q.normalize(E);We.set(Me(qe),{fileName:qe,text:$.readFileSync(qe,"utf-8"),version:0});ze.add(qe)}))}catch(N){return{error:(0,we.makeError)(E,j.red(`A file specified in tsconfig.json could not be found: ${qe}`),qe)}}const He={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,languageService:null,version:0,transformers:{},dependencyGraph:new Map,colors:j,initialSetupPending:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};(0,_e.setTSInstanceInCache)(N._compiler,E.instance,He);return{instance:He}}function getExistingSolutionBuilderHost(E){const N=Ne.get(E);if(N)return N;for(const N of Ne.values()){if(N.solutionBuilderHost.configFileInfo.has(E)){return N}}return undefined}function addAssetHooks(E,N){const R=(0,ie.makeAfterCompile)(N,N.configFilePath);const makeAssetsCallback=E=>{E.hooks.processAssets.tap({name:"ts-loader",stage:G.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{R(E,(()=>null))}))};makeAssetsCallback(E._compilation);E._compiler.hooks.compilation.tap("ts-loader",makeAssetsCallback)}function initializeInstance(E,N){if(!N.initialSetupPending){return}N.initialSetupPending=false;let{getCustomTransformers:R}=N.loaderOptions;let j=Function.prototype;if(typeof R==="function"){j=R}else if(typeof R==="string"){try{R=require(R)}catch(E){throw new Error(`Failed to load customTransformers from "${N.loaderOptions.getCustomTransformers}": ${E instanceof Error?E.message:"unknown error"}`)}if(typeof R!=="function"){throw new Error(`Custom transformers in "${N.loaderOptions.getCustomTransformers}" should export a function, got ${typeof R}`)}j=R}if(N.loaderOptions.transpileOnly){const R=N.program=N.configParseResult.projectReferences!==undefined?N.compiler.createProgram({rootNames:N.configParseResult.fileNames,options:N.configParseResult.options,projectReferences:N.configParseResult.projectReferences}):N.compiler.createProgram([],N.compilerOptions);const getProgram=()=>R;N.transformers=j(R,getProgram);if(N.solutionBuilderHost){addAssetHooks(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",(0,Ie.makeWatchRun)(N,E))}}else{if(!E._compiler.hooks){throw new Error("You may be using an old version of webpack; please check you're using at least version 4")}if(N.loaderOptions.experimentalWatchApi){N.log.logInfo("Using watch api");N.watchHost=(0,Ee.makeWatchHost)(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.watchOfFilesAndCompilerOptions=N.compiler.createWatchProgram(N.watchHost);N.builderProgram=N.watchOfFilesAndCompilerOptions.getProgram();const getProgram=()=>{var E;return(E=N.builderProgram)===null||E===void 0?void 0:E.getProgram()};N.program=getProgram();N.transformers=j(N.program,getProgram)}else{N.servicesHost=(0,Ee.makeServicesHost)(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.languageService=N.compiler.createLanguageService(N.servicesHost,N.compiler.createDocumentRegistry());const getProgram=()=>N.languageService.getProgram();N.transformers=j(getProgram(),getProgram)}addAssetHooks(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",(0,Ie.makeWatchRun)(N,E))}}N.initializeInstance=initializeInstance;function getScriptRegexp(E){if(E.configParseResult.options.resolveJsonModule){return E.configParseResult.options.allowJs===true?/\.tsx?$|\.json$|\.jsx?$/i:/\.tsx?$|\.json$/i}return E.configParseResult.options.allowJs===true?/\.tsx?$|\.jsx?$/i:/\.tsx?$/i}function reportTranspileErrors(E,N){if(!E.reportTranspileErrors){return}const R=N._module;E.reportTranspileErrors=false;if(!E.loaderOptions.happyPackMode){const j=(0,Ee.getSolutionErrors)(E,N.context);const $=E.program.getOptionsDiagnostics();const q=(0,we.formatErrors)($,E.loaderOptions,E.colors,E.compiler,{file:E.configFilePath||"tsconfig.json"},N.context);[...j,...q].forEach((E=>R.addError(E)))}}N.reportTranspileErrors=reportTranspileErrors;function buildSolutionReferences(E,N){if(!(0,we.supportsSolutionBuild)(E)){return}if(!E.solutionBuilderHost){E.log.logInfo("Using SolutionBuilder api");const R=getScriptRegexp(E);E.solutionBuilderHost=(0,Ee.makeSolutionBuilderHost)(R,N,E);const j=E.compiler.createSolutionBuilderWithWatch(E.solutionBuilderHost,E.configParseResult.projectReferences.map((E=>E.path)),{verbose:true});j.build();E.solutionBuilderHost.ensureAllReferenceTimestamps();Ne.set(E.filePathKeyMapper(E.configFilePath),E)}else{E.solutionBuilderHost.buildReferences()}}N.buildSolutionReferences=buildSolutionReferences;function forEachResolvedProjectReference(E,N){let R;return worker(E);function worker(E){if(E){for(const j of E){if(!j){continue}if(R&&R.some((E=>E===j))){continue}(R||(R=[])).push(j);const E=N(j)||worker(j.references);if(E){return E}}}return undefined}}N.forEachResolvedProjectReference=forEachResolvedProjectReference;function fileExtensionIs(E,N){return E.endsWith(N)}function rootDirOfOptions(E,N){return N.options.rootDir||E.compiler.getDirectoryPath(N.options.configFilePath)}function getOutputPathWithoutChangingExt(E,N,R,j,$){return $?E.compiler.resolvePath($,E.compiler.getRelativePathFromDirectory(rootDirOfOptions(E,R),N,j)):N}function getOutputJSFileName(E,N,R,j){if(R.options.emitDeclarationOnly){return undefined}const $=fileExtensionIs(N,".json");const q=E.compiler.changeExtension(getOutputPathWithoutChangingExt(E,N,R,j,R.options.outDir),$?".json":fileExtensionIs(N,".tsx")&&R.options.jsx===E.compiler.JsxEmit.Preserve?".jsx":".js");return!$||E.compiler.comparePaths(N,q,R.options.configFilePath,j)!==E.compiler.Comparison.EqualTo?q:undefined}function getOutputFileNames(E,N,R){const j=!(0,we.useCaseSensitiveFileNames)(E.compiler,E.loaderOptions);if(E.compiler.getOutputFileNames){return E.compiler.getOutputFileNames(N,R,j)}const $=[];const addOutput=E=>E&&$.push(E);const q=getOutputJSFileName(E,R,N,j);addOutput(q);if(!fileExtensionIs(R,".json")){if(q&&N.options.sourceMap){addOutput(`${q}.map`)}if((N.options.declaration||N.options.composite)&&E.compiler.hasTSFileExtension(R)){const $=E.compiler.getOutputDeclarationFileName(R,N,j);addOutput($);if(N.options.declarationMap){addOutput(`${$}.map`)}}}return $}N.getOutputFileNames=getOutputFileNames;function getInputFileNameFromOutput(E,N){if(N.match(le.tsTsxRegex)&&!fileExtensionIs(N,".d.ts")){return undefined}if(E.solutionBuilderHost){return E.solutionBuilderHost.getInputFileNameFromOutput(N)}const R=(0,we.ensureProgram)(E);return R&&R.getResolvedProjectReferences&&forEachResolvedProjectReference(R.getResolvedProjectReferences(),(({commandLine:R})=>{const{options:j,fileNames:$}=R;if(!j.outFile&&!j.out){const j=$.find((j=>getOutputFileNames(E,R,j).find((E=>q.resolve(E)===N))));return j&&q.resolve(j)}return undefined}))}N.getInputFileNameFromOutput=getInputFileNameFromOutput;function getEmitFromWatchHost(E,N){const R=(0,we.ensureProgram)(E);const j=E.builderProgram;if(j&&R){if(N){const R=E.watchHost.outputFiles.get(E.filePathKeyMapper(N));if(R){return R}}const $=[];const writeFile=(N,R,j)=>{if(N.endsWith(".tsbuildinfo")){E.watchHost.tsbuildinfo={name:N,writeByteOrderMark:j,text:R}}else{$.push({name:N,writeByteOrderMark:j,text:R})}};const q=N?R.getSourceFile(N):undefined;while(true){const N=j.emitNextAffectedFile(writeFile,undefined,false,E.transformers);if(!N){break}if(N.affected===q){E.watchHost.outputFiles.set(E.filePathKeyMapper(N.affected.fileName),$.slice());return $}}}return undefined}N.getEmitFromWatchHost=getEmitFromWatchHost;function getEmitOutput(E,N){if(fileExtensionIs(N,E.compiler.Extension.Dts)){return[]}if((0,we.isReferencedFile)(E,N)){return E.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(N)}const R=(0,we.ensureProgram)(E);if(R!==undefined){const j=R.getSourceFile(N);const $=[];const writeFile=(E,N,R)=>$.push({name:E,writeByteOrderMark:R,text:N});const q=getEmitFromWatchHost(E,N);if(q){return q}R.emit(j,writeFile,undefined,false,E.transformers);return $}else{return E.languageService.getProgram().getSourceFile(N)===undefined?[]:E.languageService.getEmitOutput(N).outputFiles}}N.getEmitOutput=getEmitOutput},63686:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeLogger=N.LogLevel=void 0;const j=R(96206);var $;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})($=N.LogLevel||(N.LogLevel={}));const q=new j.Console(process.stderr);const G=new j.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,N)=>{}:(E,N)=>console.log.call(E,N);const makeExternalLogger=(E,N)=>R=>N(E.logInfoToStdOut?G:q,R);const makeLogInfo=(E,N,R)=>$[E.logLevel]<=$.INFO?j=>N(E.logInfoToStdOut?G:q,R(j)):doNothingLogger;const makeLogError=(E,N,R)=>$[E.logLevel]<=$.ERROR?E=>N(q,R(E)):doNothingLogger;const makeLogWarning=(E,N,R)=>$[E.logLevel]<=$.WARN?E=>N(q,R(E)):doNothingLogger;function makeLogger(E,N){const R=makeLoggerFunc(E);return{log:makeExternalLogger(E,R),logInfo:makeLogInfo(E,R,N.green),logWarning:makeLogWarning(E,R,N.yellow),logError:makeLogError(E,R,N.red)}}N.makeLogger=makeLogger},98535:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeResolver=void 0;const j=R(17583);function makeResolver(E){return j.create.sync(E.resolve)}N.makeResolver=makeResolver},9674:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSolutionErrors=N.makeSolutionBuilderHost=N.makeWatchHost=N.updateFileWithText=N.makeServicesHost=void 0;const j=R(71017);const $=R(10852);const q=R(69635);const G=R(90557);const ie=R(98535);const ae=R(86507);function makeResolversAndModuleResolutionHost(E,N,R,j,$){const{compiler:G,compilerOptions:ce,appendTsTsxSuffixesIfRequired:le,loaderOptions:{resolveModuleName:_e,resolveTypeReferenceDirective:Te}}=R;const Ee=ce.newLine===q.CarriageReturnLineFeedCode?q.CarriageReturnLineFeed:ce.newLine===q.LineFeedCode?q.LineFeed:q.EOL;const getCurrentDirectory=()=>N.context;const we=(0,ie.makeResolver)(N._compiler.options);const Ie={trace:E=>R.log.log(E),fileExists:j,readFile:readFile,realpath:G.sys.realpath&&realpath,directoryExists:directoryExists,getCurrentDirectory:getCurrentDirectory,getDirectories:getDirectories,readDirectory:readDirectory,useCaseSensitiveFileNames:()=>(0,ae.useCaseSensitiveFileNames)(G,R.loaderOptions),getNewLine:()=>Ee,getDefaultLibFileName:E=>G.getDefaultLibFilePath(E)};if($){addCache(Ie)}return makeResolvers(G,ce,Ie,Te,_e,we,le,E,R);function readFile(E,N){return R.compiler.sys.readFile(E,N)||(0,ae.fsReadFile)(E,N)}function directoryExists(E){return G.sys.directoryExists(E)}function realpath(E){return G.sys.realpath(E)}function getDirectories(E){return G.sys.getDirectories(E)}function readDirectory(E,N,R,j,$){return G.sys.readDirectory(E,N,R,j,$)}}function makeServicesHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,filePathKeyMapper:ce}=R;const{moduleResolutionHost:le,resolveModuleNames:_e,resolveTypeReferenceDirectives:Te}=makeResolversAndModuleResolutionHost(E,N,R,(E=>q.sys.fileExists(E)||(0,ae.fsReadFile)(E)!==undefined),R.loaderOptions.experimentalFileCaching);const Ee={getProjectVersion:()=>`${R.version}`,getProjectReferences:()=>$,getScriptFileNames:()=>[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E))),getScriptVersion:E=>{var N;E=j.normalize(E);const $=ce(E);const q=ie.get($);if(q){return q.version.toString()}const G=(N=R.solutionBuilderHost)===null||N===void 0?void 0:N.getOutputFileAndKeyFromReferencedProject(E);if(G!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(G.key,true)}return G&&G.outputFile?G.outputFile:""},getScriptSnapshot:E=>{E=j.normalize(E);const N=ce(E);let $=ie.get(N);if($===undefined){if(R.solutionBuilderHost){const N=R.solutionBuilderHost.getOutputFileTextAndKeyFromReferencedProject(E);if(N!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(N.key,true);return N&&N.text!==undefined?q.ScriptSnapshot.fromString(N.text):undefined}}const j=le.readFile(E);if(j===undefined){return undefined}$={fileName:E,version:0,text:j};ie.set(N,$)}return q.ScriptSnapshot.fromString($.text)},...le,getCompilationSettings:()=>G,log:le.trace,resolveTypeReferenceDirectives:Te,resolveModuleNames:_e,getCustomTransformers:()=>R.transformers};return Ee}N.makeServicesHost=makeServicesHost;function makeResolvers(E,N,R,j,$,q,G,ie,ce){const le=makeResolveModuleName(E,N,R,$,ce);const resolveModuleNames=(E,N,R,j)=>{const $=E.map((E=>resolveModule(q,le,G,ie,E,N,j)));(0,ae.populateDependencyGraph)($,ce,N);return $};const _e=makeResolveTypeReferenceDirective(E,N,R,j,ce);const resolveTypeReferenceDirectives=(E,N,R,j,$)=>E.map((E=>_e(E,N,j,R,$).resolvedTypeReferenceDirective));return{resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,resolveModuleNames:resolveModuleNames,moduleResolutionHost:R}}function createWatchFactory(E,N){const R=new Map;const $=new Map;const q=new Map;return{watchedFiles:R,watchedDirectories:$,watchedDirectoriesRecursive:q,invokeFileWatcher:invokeFileWatcher,watchFile:watchFile,watchDirectory:watchDirectory};function invokeWatcherCallbacks(N,R,j,$){var q;const G=(q=N.get(E(R)))===null||q===void 0?void 0:q.callbacks;if(G!==undefined&&G.length){const E=G.slice();for(const N of E){N(j,$)}return true}return false}function invokeFileWatcher(E,q){E=j.normalize(E);let G=invokeWatcherCallbacks(R,E,E,q);if(q!==N.FileWatcherEventKind.Changed){const N=j.dirname(E);G=invokeWatcherCallbacks($,N,E)||G;G=invokeRecursiveDirectoryWatcher(N,E)||G}return G}``;function invokeRecursiveDirectoryWatcher(E,N){E=j.normalize(E);let R=invokeWatcherCallbacks(q,E,N);const $=j.dirname(E);if(E!==$){R=invokeRecursiveDirectoryWatcher($,N)||R}return R}function createWatcher(N,R,$){const q=E(N);const G=R.get(q);if(G===undefined){R.set(q,{fileName:j.normalize(N),callbacks:[$]})}else{G.callbacks.push($)}return{close:()=>{const E=R.get(q);if(E!==undefined){(0,ae.unorderedRemoveItem)(E.callbacks,$);if(!E.callbacks.length){R.delete(q)}}}}}function watchFile(E,N,j){return createWatcher(E,R,N)}function watchDirectory(E,N,R){return createWatcher(E,R===true?q:$,N)}}function updateFileWithText(E,N,R,$){const q=j.normalize(R);const G=E.files.get(N)||E.otherFiles.get(N);if(G!==undefined){const R=$(q);if(R!==G.text){G.text=R;G.version++;G.modifiedTime=new Date;E.version++;if(!E.modifiedFiles){E.modifiedFiles=new Map}E.modifiedFiles.set(N,true);if(E.watchHost!==undefined){E.watchHost.invokeFileWatcher(q,E.compiler.FileWatcherEventKind.Changed)}}}}N.updateFileWithText=updateFileWithText;function makeWatchHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,otherFiles:ae,filePathKeyMapper:ce}=R;const{watchFile:le,watchDirectory:_e,invokeFileWatcher:Te}=createWatchFactory(ce,q);const{moduleResolutionHost:Ee,resolveModuleNames:we,resolveTypeReferenceDirectives:Ie}=makeResolversAndModuleResolutionHost(E,N,R,(E=>ie.has(ce(E))||q.sys.fileExists(E)),R.loaderOptions.experimentalFileCaching);const Ne={rootFiles:getRootFileNames(),options:G,...Ee,readFile:readFileWithCachingText,watchFile:(E,N,j,$)=>{var q;const G=(q=R.solutionBuilderHost)===null||q===void 0?void 0:q.getOutputFileKeyFromReferencedProject(E);if(!G||G===ce(E)){return le(E,N,j,$)}const ie=R.solutionBuilderHost.realpath(E);return le(ie,((R,j)=>N(E,j)),j,$)},watchDirectory:_e,resolveTypeReferenceDirectives:Ie,resolveModuleNames:we,invokeFileWatcher:Te,updateRootFileNames:()=>{R.changedFilesList=false;if(R.watchOfFilesAndCompilerOptions!==undefined){R.watchOfFilesAndCompilerOptions.updateRootFileNames(getRootFileNames())}},createProgram:$===undefined?q.createEmitAndSemanticDiagnosticsBuilderProgram:createBuilderProgramWithReferences,outputFiles:new Map};return Ne;function getRootFileNames(){return[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E)))}function readFileWithCachingText(E,N){var $;E=j.normalize(E);const q=ce(E);const G=ie.get(q)||ae.get(q);if(G!==undefined){return G.text}const le=Ee.readFile(E,N);if(le===undefined){return undefined}if(!(($=R.solutionBuilderHost)===null||$===void 0?void 0:$.getOutputFileKeyFromReferencedProject(E))){ae.set(q,{fileName:E,version:0,text:le})}return le}function createBuilderProgramWithReferences(E,N,R,j,G){const ie=q.createProgram({rootNames:E,options:N,host:R,oldProgram:j&&j.getProgram(),configFileParsingDiagnostics:G,projectReferences:$});const ae=R;return q.createEmitAndSemanticDiagnosticsBuilderProgram(ie,ae,j,G)}}N.makeWatchHost=makeWatchHost;const ce=new Date(0);function identity(E){return E}function toLowerCase(E){return E.toLowerCase()}const le=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function toFileNameLowerCase(E){return le.test(E)?E.replace(le,toLowerCase):E}function createGetCanonicalFileName(E){return(0,ae.useCaseSensitiveFileNames)(E.compiler,E.loaderOptions)?identity:toFileNameLowerCase}function createModuleResolutionCache(E,N){const R=E.compiler.createModuleResolutionCache(N.getCurrentDirectory(),createGetCanonicalFileName(E),E.compilerOptions);if(!R.clear){R.clear=()=>{R.directoryToModuleNameMap.clear();R.moduleNameToDirectoryMap.clear()}}if(!R.update){R.update=E=>{if(!E.configFile)return;const N={sourceFile:E.configFile,commandLine:{options:E}};R.directoryToModuleNameMap.setOwnMap(R.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(N));R.moduleNameToDirectoryMap.setOwnMap(R.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(N));R.directoryToModuleNameMap.setOwnOptions(E);R.moduleNameToDirectoryMap.setOwnOptions(E)}}return R}function makeSolutionBuilderHost(E,N,R){const{compiler:ie,loaderOptions:{transpileOnly:ae},filePathKeyMapper:le}=R;const _e={getCurrentDirectory:ie.sys.getCurrentDirectory,getCanonicalFileName:createGetCanonicalFileName(R),getNewLine:()=>ie.sys.newLine};const Te={global:[],perFile:new Map,transpileErrors:[]};const reportDiagnostic=E=>{if(ae){const N=E.file?le(E.file.fileName):undefined;const R=Te.transpileErrors[Te.transpileErrors.length-1];if(Te.transpileErrors.length&&R[0]===N){R[1].push(E)}else{Te.transpileErrors.push([N,[E]])}}else if(E.file){const N=le(E.file.fileName);const R=Te.perFile.get(N);if(R){R.push(E)}else{Te.perFile.set(N,[E])}}else{Te.global.push(E)}R.log.logInfo(ie.formatDiagnostic(E,_e))};const reportSolutionBuilderStatus=E=>R.log.logInfo(ie.formatDiagnostic(E,_e));const reportWatchStatus=(E,N,j)=>R.log.logInfo(`${ie.flattenDiagnosticMessageText(E.messageText,ie.sys.newLine)}${N+N}`);const Ee=new Map;const we=new Map;const Ie=[];const Ne=new Map;let Me;const{resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,moduleResolutionHost:je}=makeResolversAndModuleResolutionHost(E,N,R,(E=>{const N=le(E);return R.files.has(N)||R.otherFiles.has(N)||ie.sys.fileExists(E)}),true);const Ue=new Map;const ze=[];const We=ie.createSolutionBuilderWithWatchHost(ie.sys,ie.createEmitAndSemanticDiagnosticsBuilderProgram,reportDiagnostic,reportSolutionBuilderStatus,reportWatchStatus);const Je={...We,...je,createProgram:(E,N,j,$,q,G)=>{var ie,ae,ce,le;(ie=R.moduleResolutionCache)===null||ie===void 0?void 0:ie.update(N||{});(ae=R.typeReferenceResolutionCache)===null||ae===void 0?void 0:ae.update(N||{});const _e=We.createProgram(E,N,j,$,q,G);(ce=R.typeReferenceResolutionCache)===null||ce===void 0?void 0:ce.update(R.compilerOptions);(le=R.moduleResolutionCache)===null||le===void 0?void 0:le.update(R.compilerOptions);return _e},resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,diagnostics:Te,...createWatchFactory(le,ie),writeFile:(E,N,j)=>{var $;const q=le(E);updateFileWithText(R,q,E,(()=>N));const G=ensureOutputFile(E);const ae=hashOutputText(N);Ee.set(q,ae);Ie.push({name:E,text:N,writeByteOrderMark:!!j});ie.sys.writeFile(E,N,j);($=je.fileExistsCache)===null||$===void 0?void 0:$.delete(E);if(Ne.has(q)&&(!G||G!==ae)){R.version++}if(R.watchHost&&!R.files.has(q)&&!R.otherFiles.has(q)){if(!G){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Created)||R.hasUnaccountedModifiedFiles}else if(G!==ae){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Changed)||R.hasUnaccountedModifiedFiles}}},createDirectory:We.createDirectory&&(E=>{var N;We.createDirectory(E);(N=je.directoryExistsCache)===null||N===void 0?void 0:N.delete(E)}),afterProgramEmitAndDiagnostics:ae?undefined:storeDtsFiles,setTimeout:(E,N,...R)=>{Me=[E,R];return Me},clearTimeout:E=>{Me=undefined},getParsedCommandLine:E=>{const N=(0,$.getParsedCommandLine)(ie,R.loaderOptions,E);Ue.set(le(E),{config:N});return N},writtenFiles:Ie,configFileInfo:Ue,outputAffectingInstanceVersion:Ne,getInputFileStamp:getInputFileStamp,updateSolutionBuilderInputFile:updateSolutionBuilderInputFile,getOutputFileKeyFromReferencedProject:getOutputFileKeyFromReferencedProject,getOutputFileAndKeyFromReferencedProject:getOutputFileAndKeyFromReferencedProject,getOutputFileTextAndKeyFromReferencedProject:getOutputFileTextAndKeyFromReferencedProject,getInputFileNameFromOutput:E=>{const N=getInputFileNameFromOutput(E);return typeof N==="string"?N:undefined},getOutputFilesFromReferencedProjectInput:getOutputFilesFromReferencedProjectInput,buildReferences:buildReferences,ensureAllReferenceTimestamps:ensureAllReferenceTimestamps,clearCache:clearCache,close:close};return Je;function close(){ze.slice().forEach((E=>E.close()))}function clearCache(){je.clearCache();Ee.clear();we.clear()}function buildReferences(){if(!Me){ensureAllReferenceTimestamps();return}Te.global.length=0;Te.perFile.clear();Te.transpileErrors.length=0;while(Me){const[E,N]=Me;Me=undefined;E(...N)}ensureAllReferenceTimestamps()}function ensureAllReferenceTimestamps(){if(we.size!==Je.watchedFiles.size){for(const{fileName:E}of R.solutionBuilderHost.watchedFiles.values()){R.solutionBuilderHost.getInputFileStamp(E)}}}function storeDtsFiles(E){const N=E.getProgram();for(const E of Ue.values()){if(!E.config||N.getRootFileNames()!==E.config.fileNames||N.getCompilerOptions()!==E.config.options||N.getProjectReferences()!==E.config.projectReferences){continue}E.dtsFiles=N.getSourceFiles().map((E=>j.resolve(E.fileName))).filter((E=>E.match(q.dtsDtsxOrDtsDtsxMapRegex)));return}}function getInputFileNameFromOutput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){for(const{inputFileName:R,outputNames:j}of E.outputFileNames.values()){if(j.some((E=>N===le(E)))){return R}}}if(E.tsbuildInfoFile&&le(E.tsbuildInfoFile)===N){return true}}const R=Je.realpath(E);return le(R)!==N?getInputFileNameFromOutput(R):undefined}function ensureInputOutputInfo(E){if(E.outputFileNames||!E.config){return}E.outputFileNames=new Map;E.config.fileNames.forEach((N=>E.outputFileNames.set(le(N),{inputFileName:j.resolve(N),outputNames:(0,G.getOutputFileNames)(R,E.config,N)})));E.tsbuildInfoFile=R.compiler.getTsBuildInfoEmitOutputFilePath?R.compiler.getTsBuildInfoEmitOutputFilePath(E.config.options):R.compiler.getOutputPathForBuildInfo(E.config.options)}function getOutputFileAndKeyFromReferencedProject(E){const N=ensureOutputFile(E);return N!==undefined?{key:getOutputFileKeyFromReferencedProject(E),outputFile:N}:undefined}function getOutputFileTextAndKeyFromReferencedProject(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Ie.find((E=>le(E.name)===N));if(R){return{key:N,text:R.text}}const j=Ee.get(N);return{key:N,text:j!==false?ie.sys.readFile(E):undefined}}function getOutputFileKeyFromReferencedProject(E){const N=le(E);if(Ee.has(N))return N;const R=le(Je.realpath(E));if(R!==N&&Ee.has(R))return R;return getInputFileNameFromOutput(E)?R:undefined}function hashOutputText(E){return ie.sys.createHash?ie.sys.createHash(E):E}function ensureOutputFile(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Ee.get(N);if(R!==undefined){return R}if(!getInputFileNameFromOutput(E)){return undefined}const j=ie.sys.readFile(E);const $=j===undefined?false:hashOutputText(j);Ee.set(N,$);return $}function getTypeScriptOutputFile(E){const N=le(E);const R=Ie.find((E=>le(E.name)===N));if(R)return R;const j=ie.sys.readFile(E);return j!==undefined?{name:E,text:j,writeByteOrderMark:false}:undefined}function getOutputFilesFromReferencedProjectInput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){const R=E.outputFileNames.get(N);if(R){return R.outputNames.map(getTypeScriptOutputFile).filter((E=>!!E))}}}return[]}function getInputFileStamp(E){const N=le(E);const R=we.get(N);if(R!==undefined){return R}const j=ie.sys.getModifiedTime(E)||ce;we.set(N,j);return j}function updateSolutionBuilderInputFile(E){const N=le(E);const R=we.get(N)||ce;const j=ie.sys.getModifiedTime(E)||ce;if(R.getTime()===j.getTime()){return}const $=R==ce?ie.FileWatcherEventKind.Created:j===ce?ie.FileWatcherEventKind.Deleted:ie.FileWatcherEventKind.Changed;Je.invokeFileWatcher(E,$)}}N.makeSolutionBuilderHost=makeSolutionBuilderHost;function getSolutionErrors(E,N){const R=[];if(E.solutionBuilderHost&&E.solutionBuilderHost.diagnostics.transpileErrors.length){E.solutionBuilderHost.diagnostics.transpileErrors.forEach((([j,$])=>R.push(...(0,ae.formatErrors)($,E.loaderOptions,E.colors,E.compiler,{file:j?undefined:"tsconfig.json"},N))))}return R}N.getSolutionErrors=getSolutionErrors;function makeResolveTypeReferenceDirective(E,N,R,j,$){var q,G;if(j===undefined){if(E.createTypeReferenceDirectiveResolutionCache!==undefined&&!$.typeReferenceResolutionCache){$.typeReferenceResolutionCache=E.createTypeReferenceDirectiveResolutionCache(R.getCurrentDirectory(),createGetCanonicalFileName($),$.compilerOptions,(G=(q=$.moduleResolutionCache)===null||q===void 0?void 0:q.getPackageJsonInfoCache)===null||G===void 0?void 0:G.call(q))}return(N,j,$,q,G)=>{const ie=typeof N==="string";const ae=ie?undefined:E.getModeForFileReference(N,G);const ce=ie?N:N.fileName.toLowerCase();return E.resolveTypeReferenceDirective(ce,j,$,R,q,undefined,ae)}}return($,q)=>j($,q,N,R,E.resolveTypeReferenceDirective)}function isJsImplementationOfTypings(E,N){return E.resolvedFileName.endsWith("js")&&/\.d\.ts$/.test(N.resolvedFileName)}function resolveModule(E,N,R,$,q,G,ie){let ae;try{const N=E(undefined,j.normalize(j.dirname(G)),q);if(N){const E=R(N);if(E.match($)!==null){ae={resolvedFileName:E,originalFileName:N}}}}catch(E){}const ce=N(q,G,ie);if(ce.resolvedModule!==undefined){const E=j.normalize(ce.resolvedModule.resolvedFileName);const N={...ce.resolvedModule,originalFileName:E,resolvedFileName:E};return ae===undefined||ae.resolvedFileName===N.resolvedFileName||isJsImplementationOfTypings(ae,N)?N:ae}return ae}function makeResolveModuleName(E,N,R,j,$){if(j===undefined){if(!$.moduleResolutionCache){$.moduleResolutionCache=createModuleResolutionCache($,R)}return(j,q,G)=>E.resolveModuleName(j,q,N,R,$.moduleResolutionCache,G)}return($,q)=>j($,q,N,R,E.resolveModuleName)}function addCache(E){E.fileExists=createCache(E.fileExists,E.fileExistsCache=new Map);E.directoryExists=createCache(E.directoryExists,E.directoryExistsCache=new Map);E.realpath=E.realpath&&createCache(E.realpath,E.realpathCache=new Map);E.clearCache=clearCache;function createCache(E,N){return function getCached(R){let j=N.get(R);if(j!==undefined){return j}j=E(R);N.set(R,j);return j}}function clearCache(){var N,R,j;(N=E.fileExistsCache)===null||N===void 0?void 0:N.clear();(R=E.directoryExistsCache)===null||R===void 0?void 0:R.clear();(j=E.realpathCache)===null||j===void 0?void 0:j.clear()}}},86507:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.useCaseSensitiveFileNames=N.isReferencedFile=N.supportsSolutionBuild=N.ensureProgram=N.arrify=N.collectAllDependants=N.populateReverseDependencyGraph=N.populateDependencyGraph=N.unorderedRemoveItem=N.appendSuffixesIfMatch=N.appendSuffixIfMatch=N.tsLoaderSource=N.makeError=N.fsReadFile=N.formatErrors=void 0;const j=R(57147);const $=R(93509);const q=R(71017);const G=R(86443);const ie=R(69635);const ae=R(90557);function defaultErrorFormatter(E,N){const R=E.severity==="warning"?N.bold.yellow:N.bold.red;return N.grey("[tsl] ")+R(E.severity.toUpperCase())+(E.file===""?"":R(" in ")+N.bold.cyan(`${E.file}(${E.line},${E.character})`))+ie.EOL+R(` TS${E.code}: ${E.content}`)}function formatErrors(E,N,R,j,G,ae){return E===undefined?[]:E.filter((E=>{if(N.ignoreDiagnostics.indexOf(E.code)!==-1){return false}if(N.reportFiles.length>0&&E.file!==undefined){const R=q.relative(ae,E.file.fileName);const j=$([R],N.reportFiles);if(j.length===0){return false}}return true})).map((E=>{const $=E.file;const{start:ce,end:le}=$===undefined||E.start===undefined?{start:undefined,end:undefined}:getFileLocations($,E.start,E.length);const _e={code:E.code,severity:j.DiagnosticCategory[E.category].toLowerCase(),content:j.flattenDiagnosticMessageText(E.messageText,ie.EOL),file:$===undefined?"":q.normalize($.fileName),line:ce===undefined?0:ce.line,character:ce===undefined?0:ce.character,context:ae};const Te=N.errorFormatter===undefined?defaultErrorFormatter(_e,R):N.errorFormatter(_e,R);const Ee=makeError(N,Te,G.file===undefined?_e.file:G.file,ce,le);return Object.assign(Ee,G)}))}N.formatErrors=formatErrors;function getFileLocations(E,N,R=0){const j=E.getLineAndCharacterOfPosition(N);const $={line:j.line+1,character:j.character+1};const q=R>0?E.getLineAndCharacterOfPosition(N+R):undefined;const G=q===undefined?undefined:{line:q.line+1,character:q.character+1};return{start:$,end:G}}function fsReadFile(E,N="utf8"){E=q.normalize(E);try{return j.readFileSync(E,N)}catch(E){return undefined}}N.fsReadFile=fsReadFile;function makeError(E,N,R,j,$){const q=new G.WebpackError(N);q.file=R;q.loc=j===undefined?{name:R}:makeWebpackLocation(j,$);q.details=tsLoaderSource(E);return q}N.makeError=makeError;function makeWebpackLocation(E,N){const R={line:E.line,column:E.character-1};const j=N===undefined?undefined:{line:N.line,column:N.character-1};return{start:R,end:j}}function tsLoaderSource(E){return`ts-loader-${E.instance}`}N.tsLoaderSource=tsLoaderSource;function appendSuffixIfMatch(E,N,R){if(E.length>0){for(const j of E){if(N.match(j)!==null){return N+R}}}return N}N.appendSuffixIfMatch=appendSuffixIfMatch;function appendSuffixesIfMatch(E,N){let R=N;for(const N in E){R=appendSuffixIfMatch(E[N],R,N)}return R}N.appendSuffixesIfMatch=appendSuffixesIfMatch;function unorderedRemoveItem(E,N){for(let R=0;RE!==null&&E!==undefined));if(E.length){const j=N.filePathKeyMapper(R);N.dependencyGraph.set(j,E)}}N.populateDependencyGraph=populateDependencyGraph;function populateReverseDependencyGraph(E){const N=new Map;for(const[R,j]of E.dependencyGraph.entries()){const $=E.solutionBuilderHost&&(0,ae.getInputFileNameFromOutput)(E,R);const q=$?E.filePathKeyMapper($):R;j.forEach((({resolvedFileName:R})=>{const j=E.filePathKeyMapper(E.solutionBuilderHost?(0,ae.getInputFileNameFromOutput)(E,R)||R:R);let $=N.get(j);if(!$){$=new Map;N.set(j,$)}$.set(q,true)}))}return N}N.populateReverseDependencyGraph=populateReverseDependencyGraph;function collectAllDependants(E,N,R=new Map){R.set(N,true);const j=E.get(N);if(j!==undefined){for(const N of j.keys()){if(!R.has(N)){collectAllDependants(E,N,R)}}}return R}N.collectAllDependants=collectAllDependants;function arrify(E){if(E===null||E===undefined){return[]}return Array.isArray(E)?E:[E]}N.arrify=arrify;function ensureProgram(E){if(E&&E.watchHost){if(E.hasUnaccountedModifiedFiles){if(E.changedFilesList){E.watchHost.updateRootFileNames()}if(E.watchOfFilesAndCompilerOptions){E.builderProgram=E.watchOfFilesAndCompilerOptions.getProgram();E.program=E.builderProgram.getProgram()}E.hasUnaccountedModifiedFiles=false}return E.program}if(E.languageService){return E.languageService.getProgram()}return E.program}N.ensureProgram=ensureProgram;function supportsSolutionBuild(E){return!!E.configFilePath&&!!E.loaderOptions.projectReferences&&!!E.configParseResult.projectReferences&&!!E.configParseResult.projectReferences.length}N.supportsSolutionBuild=supportsSolutionBuild;function isReferencedFile(E,N){return!!E.solutionBuilderHost&&!!E.solutionBuilderHost.watchedFiles.get(E.filePathKeyMapper(N))}N.isReferencedFile=isReferencedFile;function useCaseSensitiveFileNames(E,N){return N.useCaseSensitiveFileNames!==undefined?N.useCaseSensitiveFileNames:E.sys.useCaseSensitiveFileNames}N.useCaseSensitiveFileNames=useCaseSensitiveFileNames},80573:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeWatchRun=void 0;const j=R(71017);const $=R(69635);const q=R(9674);const G=R(86507);function makeWatchRun(E,N){const R=new Map;const j=0;const q=N.loaderIndex;return(G,ie)=>{var ae,ce,le,_e,Te,Ee;(ce=(ae=E.servicesHost)===null||ae===void 0?void 0:ae.clearCache)===null||ce===void 0?void 0:ce.call(ae);(_e=(le=E.watchHost)===null||le===void 0?void 0:le.clearCache)===null||_e===void 0?void 0:_e.call(le);(Te=E.moduleResolutionCache)===null||Te===void 0?void 0:Te.clear();(Ee=E.typeReferenceResolutionCache)===null||Ee===void 0?void 0:Ee.clear();const we=[];if(E.loaderOptions.transpileOnly){E.reportTranspileErrors=true}else{const ie=G.fileTimestamps;if(ie){for(const[$,G]of ie){const ie=E.filePathKeyMapper($);const ae=R.get(ie)||j;if(!G||G==="ignore"||(G.timestamp||G.safeTime)<=ae){continue}R.set(ie,G.timestamp||G.safeTime);we.push(updateFile(E,ie,$,N,q))}for(const[R,{fileName:j}]of E.files.entries()){if(j.match($.dtsDtsxOrDtsDtsxMapRegex)!==null&&j.match($.nodeModules)===null){we.push(updateFile(E,R,j,N,q))}}}}if(E.solutionBuilderHost){for(const{fileName:N}of E.solutionBuilderHost.watchedFiles.values()){E.solutionBuilderHost.updateSolutionBuilderInputFile(N)}E.solutionBuilderHost.clearCache()}Promise.all(we).then((()=>ie())).catch((E=>ie(E)))}}N.makeWatchRun=makeWatchRun;function updateFile(E,N,R,$,ie){return new Promise(((ae,ce)=>{if(ie+1<$.loaders.length&&E.rootFileNames.has(j.normalize(R))){let G=`!!${j.resolve(__dirname,"stringify-loader.js")}!`;for(let E=ie+1;E<$.loaders.length;++E){G+=$.loaders[E].request+"!"}G+=R;$.loadModule(G,((j,$)=>{if(j){ce(j)}else{const j=JSON.parse($);(0,q.updateFileWithText)(E,N,R,(()=>j));ae()}}))}else{(0,q.updateFileWithText)(E,N,R,(E=>(0,G.fsReadFile)(E)||""));ae()}}))}},82070:(E,N,R)=>{var j=R(32956);E.exports=j},6471:(E,N,R)=>{const j=Symbol("SemVer ANY");class Comparator{static get ANY(){return j}constructor(E,N){N=$(N);if(E instanceof Comparator){if(E.loose===!!N.loose){return E}else{E=E.value}}ae("comparator",E,N);this.options=N;this.loose=!!N.loose;this.parse(E);if(this.semver===j){this.value=""}else{this.value=this.operator+this.semver.version}ae("comp",this)}parse(E){const N=this.options.loose?q[G.COMPARATORLOOSE]:q[G.COMPARATOR];const R=E.match(N);if(!R){throw new TypeError(`Invalid comparator: ${E}`)}this.operator=R[1]!==undefined?R[1]:"";if(this.operator==="="){this.operator=""}if(!R[2]){this.semver=j}else{this.semver=new ce(R[2],this.options.loose)}}toString(){return this.value}test(E){ae("Comparator.test",E,this.options.loose);if(this.semver===j||E===j){return true}if(typeof E==="string"){try{E=new ce(E,this.options)}catch(E){return false}}return ie(E,this.operator,this.semver,this.options)}intersects(E,N){if(!(E instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!N||typeof N!=="object"){N={loose:!!N,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new le(E.value,N).test(this.value)}else if(E.operator===""){if(E.value===""){return true}return new le(this.value,N).test(E.semver)}const R=(this.operator===">="||this.operator===">")&&(E.operator===">="||E.operator===">");const j=(this.operator==="<="||this.operator==="<")&&(E.operator==="<="||E.operator==="<");const $=this.semver.version===E.semver.version;const q=(this.operator===">="||this.operator==="<=")&&(E.operator===">="||E.operator==="<=");const G=ie(this.semver,"<",E.semver,N)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<");const ae=ie(this.semver,">",E.semver,N)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return R||j||$&&q||G||ae}}E.exports=Comparator;const $=R(94679);const{re:q,t:G}=R(43109);const ie=R(54327);const ae=R(81320);const ce=R(5345);const le=R(282)},282:(E,N,R)=>{class Range{constructor(E,N){N=q(N);if(E instanceof Range){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{return new Range(E.raw,N)}}if(E instanceof G){this.raw=E.value;this.set=[[E]];this.format();return this}this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;this.raw=E;this.set=E.split(/\s*\|\|\s*/).map((E=>this.parseRange(E.trim()))).filter((E=>E.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${E}`)}if(this.set.length>1){const E=this.set[0];this.set=this.set.filter((E=>!isNullSet(E[0])));if(this.set.length===0)this.set=[E];else if(this.set.length>1){for(const E of this.set){if(E.length===1&&isAny(E[0])){this.set=[E];break}}}}this.format()}format(){this.range=this.set.map((E=>E.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(E){E=E.trim();const N=Object.keys(this.options).join(",");const R=`parseRange:${N}:${E}`;const j=$.get(R);if(j)return j;const q=this.options.loose;const ae=q?ce[le.HYPHENRANGELOOSE]:ce[le.HYPHENRANGE];E=E.replace(ae,hyphenReplace(this.options.includePrerelease));ie("hyphen replace",E);E=E.replace(ce[le.COMPARATORTRIM],_e);ie("comparator trim",E,ce[le.COMPARATORTRIM]);E=E.replace(ce[le.TILDETRIM],Te);E=E.replace(ce[le.CARETTRIM],Ee);E=E.split(/\s+/).join(" ");const we=q?ce[le.COMPARATORLOOSE]:ce[le.COMPARATOR];const Ie=E.split(" ").map((E=>parseComparator(E,this.options))).join(" ").split(/\s+/).map((E=>replaceGTE0(E,this.options))).filter(this.options.loose?E=>!!E.match(we):()=>true).map((E=>new G(E,this.options)));const Ne=Ie.length;const Me=new Map;for(const E of Ie){if(isNullSet(E))return[E];Me.set(E.value,E)}if(Me.size>1&&Me.has(""))Me.delete("");const Le=[...Me.values()];$.set(R,Le);return Le}intersects(E,N){if(!(E instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((R=>isSatisfiable(R,N)&&E.set.some((E=>isSatisfiable(E,N)&&R.every((R=>E.every((E=>R.intersects(E,N)))))))))}test(E){if(!E){return false}if(typeof E==="string"){try{E=new ae(E,this.options)}catch(E){return false}}for(let N=0;NE.value==="<0.0.0-0";const isAny=E=>E.value==="";const isSatisfiable=(E,N)=>{let R=true;const j=E.slice();let $=j.pop();while(R&&j.length){R=j.every((E=>$.intersects(E,N)));$=j.pop()}return R};const parseComparator=(E,N)=>{ie("comp",E,N);E=replaceCarets(E,N);ie("caret",E);E=replaceTildes(E,N);ie("tildes",E);E=replaceXRanges(E,N);ie("xrange",E);E=replaceStars(E,N);ie("stars",E);return E};const isX=E=>!E||E.toLowerCase()==="x"||E==="*";const replaceTildes=(E,N)=>E.trim().split(/\s+/).map((E=>replaceTilde(E,N))).join(" ");const replaceTilde=(E,N)=>{const R=N.loose?ce[le.TILDELOOSE]:ce[le.TILDE];return E.replace(R,((N,R,j,$,q)=>{ie("tilde",E,N,R,j,$,q);let G;if(isX(R)){G=""}else if(isX(j)){G=`>=${R}.0.0 <${+R+1}.0.0-0`}else if(isX($)){G=`>=${R}.${j}.0 <${R}.${+j+1}.0-0`}else if(q){ie("replaceTilde pr",q);G=`>=${R}.${j}.${$}-${q} <${R}.${+j+1}.0-0`}else{G=`>=${R}.${j}.${$} <${R}.${+j+1}.0-0`}ie("tilde return",G);return G}))};const replaceCarets=(E,N)=>E.trim().split(/\s+/).map((E=>replaceCaret(E,N))).join(" ");const replaceCaret=(E,N)=>{ie("caret",E,N);const R=N.loose?ce[le.CARETLOOSE]:ce[le.CARET];const j=N.includePrerelease?"-0":"";return E.replace(R,((N,R,$,q,G)=>{ie("caret",E,N,R,$,q,G);let ae;if(isX(R)){ae=""}else if(isX($)){ae=`>=${R}.0.0${j} <${+R+1}.0.0-0`}else if(isX(q)){if(R==="0"){ae=`>=${R}.${$}.0${j} <${R}.${+$+1}.0-0`}else{ae=`>=${R}.${$}.0${j} <${+R+1}.0.0-0`}}else if(G){ie("replaceCaret pr",G);if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}-${G} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}-${G} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q}-${G} <${+R+1}.0.0-0`}}else{ie("no pr");if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}${j} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}${j} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q} <${+R+1}.0.0-0`}}ie("caret return",ae);return ae}))};const replaceXRanges=(E,N)=>{ie("replaceXRanges",E,N);return E.split(/\s+/).map((E=>replaceXRange(E,N))).join(" ")};const replaceXRange=(E,N)=>{E=E.trim();const R=N.loose?ce[le.XRANGELOOSE]:ce[le.XRANGE];return E.replace(R,((R,j,$,q,G,ae)=>{ie("xRange",E,R,j,$,q,G,ae);const ce=isX($);const le=ce||isX(q);const _e=le||isX(G);const Te=_e;if(j==="="&&Te){j=""}ae=N.includePrerelease?"-0":"";if(ce){if(j===">"||j==="<"){R="<0.0.0-0"}else{R="*"}}else if(j&&Te){if(le){q=0}G=0;if(j===">"){j=">=";if(le){$=+$+1;q=0;G=0}else{q=+q+1;G=0}}else if(j==="<="){j="<";if(le){$=+$+1}else{q=+q+1}}if(j==="<")ae="-0";R=`${j+$}.${q}.${G}${ae}`}else if(le){R=`>=${$}.0.0${ae} <${+$+1}.0.0-0`}else if(_e){R=`>=${$}.${q}.0${ae} <${$}.${+q+1}.0-0`}ie("xRange return",R);return R}))};const replaceStars=(E,N)=>{ie("replaceStars",E,N);return E.trim().replace(ce[le.STAR],"")};const replaceGTE0=(E,N)=>{ie("replaceGTE0",E,N);return E.trim().replace(ce[N.includePrerelease?le.GTE0PRE:le.GTE0],"")};const hyphenReplace=E=>(N,R,j,$,q,G,ie,ae,ce,le,_e,Te,Ee)=>{if(isX(j)){R=""}else if(isX($)){R=`>=${j}.0.0${E?"-0":""}`}else if(isX(q)){R=`>=${j}.${$}.0${E?"-0":""}`}else if(G){R=`>=${R}`}else{R=`>=${R}${E?"-0":""}`}if(isX(ce)){ae=""}else if(isX(le)){ae=`<${+ce+1}.0.0-0`}else if(isX(_e)){ae=`<${ce}.${+le+1}.0-0`}else if(Te){ae=`<=${ce}.${le}.${_e}-${Te}`}else if(E){ae=`<${ce}.${le}.${+_e+1}-0`}else{ae=`<=${ae}`}return`${R} ${ae}`.trim()};const testSet=(E,N,R)=>{for(let R=0;R0){const j=E[R].semver;if(j.major===N.major&&j.minor===N.minor&&j.patch===N.patch){return true}}}return false}return true}},5345:(E,N,R)=>{const j=R(81320);const{MAX_LENGTH:$,MAX_SAFE_INTEGER:q}=R(30280);const{re:G,t:ie}=R(43109);const ae=R(94679);const{compareIdentifiers:ce}=R(26474);class SemVer{constructor(E,N){N=ae(N);if(E instanceof SemVer){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{E=E.version}}else if(typeof E!=="string"){throw new TypeError(`Invalid Version: ${E}`)}if(E.length>$){throw new TypeError(`version is longer than ${$} characters`)}j("SemVer",E,N);this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;const R=E.trim().match(N.loose?G[ie.LOOSE]:G[ie.FULL]);if(!R){throw new TypeError(`Invalid Version: ${E}`)}this.raw=E;this.major=+R[1];this.minor=+R[2];this.patch=+R[3];if(this.major>q||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>q||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>q||this.patch<0){throw new TypeError("Invalid patch version")}if(!R[4]){this.prerelease=[]}else{this.prerelease=R[4].split(".").map((E=>{if(/^[0-9]+$/.test(E)){const N=+E;if(N>=0&&N=0){if(typeof this.prerelease[E]==="number"){this.prerelease[E]++;E=-2}}if(E===-1){this.prerelease.push(0)}}if(N){if(this.prerelease[0]===N){if(isNaN(this.prerelease[1])){this.prerelease=[N,0]}}else{this.prerelease=[N,0]}}break;default:throw new Error(`invalid increment argument: ${E}`)}this.format();this.raw=this.version;return this}}E.exports=SemVer},58248:(E,N,R)=>{const j=R(71788);const clean=(E,N)=>{const R=j(E.trim().replace(/^[=v]+/,""),N);return R?R.version:null};E.exports=clean},54327:(E,N,R)=>{const j=R(42956);const $=R(91025);const q=R(96390);const G=R(10739);const ie=R(69503);const ae=R(95906);const cmp=(E,N,R,ce)=>{switch(N){case"===":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E===R;case"!==":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E!==R;case"":case"=":case"==":return j(E,R,ce);case"!=":return $(E,R,ce);case">":return q(E,R,ce);case">=":return G(E,R,ce);case"<":return ie(E,R,ce);case"<=":return ae(E,R,ce);default:throw new TypeError(`Invalid operator: ${N}`)}};E.exports=cmp},46607:(E,N,R)=>{const j=R(5345);const $=R(71788);const{re:q,t:G}=R(43109);const coerce=(E,N)=>{if(E instanceof j){return E}if(typeof E==="number"){E=String(E)}if(typeof E!=="string"){return null}N=N||{};let R=null;if(!N.rtl){R=E.match(q[G.COERCE])}else{let N;while((N=q[G.COERCERTL].exec(E))&&(!R||R.index+R[0].length!==E.length)){if(!R||N.index+N[0].length!==R.index+R[0].length){R=N}q[G.COERCERTL].lastIndex=N.index+N[1].length+N[2].length}q[G.COERCERTL].lastIndex=-1}if(R===null)return null;return $(`${R[2]}.${R[3]||"0"}.${R[4]||"0"}`,N)};E.exports=coerce},42380:(E,N,R)=>{const j=R(5345);const compareBuild=(E,N,R)=>{const $=new j(E,R);const q=new j(N,R);return $.compare(q)||$.compareBuild(q)};E.exports=compareBuild},39057:(E,N,R)=>{const j=R(14064);const compareLoose=(E,N)=>j(E,N,true);E.exports=compareLoose},14064:(E,N,R)=>{const j=R(5345);const compare=(E,N,R)=>new j(E,R).compare(new j(N,R));E.exports=compare},96860:(E,N,R)=>{const j=R(71788);const $=R(42956);const diff=(E,N)=>{if($(E,N)){return null}else{const R=j(E);const $=j(N);const q=R.prerelease.length||$.prerelease.length;const G=q?"pre":"";const ie=q?"prerelease":"";for(const E in R){if(E==="major"||E==="minor"||E==="patch"){if(R[E]!==$[E]){return G+E}}}return ie}};E.exports=diff},42956:(E,N,R)=>{const j=R(14064);const eq=(E,N,R)=>j(E,N,R)===0;E.exports=eq},96390:(E,N,R)=>{const j=R(14064);const gt=(E,N,R)=>j(E,N,R)>0;E.exports=gt},10739:(E,N,R)=>{const j=R(14064);const gte=(E,N,R)=>j(E,N,R)>=0;E.exports=gte},75702:(E,N,R)=>{const j=R(5345);const inc=(E,N,R,$)=>{if(typeof R==="string"){$=R;R=undefined}try{return new j(E,R).inc(N,$).version}catch(E){return null}};E.exports=inc},69503:(E,N,R)=>{const j=R(14064);const lt=(E,N,R)=>j(E,N,R)<0;E.exports=lt},95906:(E,N,R)=>{const j=R(14064);const lte=(E,N,R)=>j(E,N,R)<=0;E.exports=lte},1146:(E,N,R)=>{const j=R(5345);const major=(E,N)=>new j(E,N).major;E.exports=major},38236:(E,N,R)=>{const j=R(5345);const minor=(E,N)=>new j(E,N).minor;E.exports=minor},91025:(E,N,R)=>{const j=R(14064);const neq=(E,N,R)=>j(E,N,R)!==0;E.exports=neq},71788:(E,N,R)=>{const{MAX_LENGTH:j}=R(30280);const{re:$,t:q}=R(43109);const G=R(5345);const ie=R(94679);const parse=(E,N)=>{N=ie(N);if(E instanceof G){return E}if(typeof E!=="string"){return null}if(E.length>j){return null}const R=N.loose?$[q.LOOSE]:$[q.FULL];if(!R.test(E)){return null}try{return new G(E,N)}catch(E){return null}};E.exports=parse},59141:(E,N,R)=>{const j=R(5345);const patch=(E,N)=>new j(E,N).patch;E.exports=patch},25694:(E,N,R)=>{const j=R(71788);const prerelease=(E,N)=>{const R=j(E,N);return R&&R.prerelease.length?R.prerelease:null};E.exports=prerelease},80339:(E,N,R)=>{const j=R(14064);const rcompare=(E,N,R)=>j(N,E,R);E.exports=rcompare},67768:(E,N,R)=>{const j=R(42380);const rsort=(E,N)=>E.sort(((E,R)=>j(R,E,N)));E.exports=rsort},51543:(E,N,R)=>{const j=R(282);const satisfies=(E,N,R)=>{try{N=new j(N,R)}catch(E){return false}return N.test(E)};E.exports=satisfies},8612:(E,N,R)=>{const j=R(42380);const sort=(E,N)=>E.sort(((E,R)=>j(E,R,N)));E.exports=sort},98018:(E,N,R)=>{const j=R(71788);const valid=(E,N)=>{const R=j(E,N);return R?R.version:null};E.exports=valid},3609:(E,N,R)=>{const j=R(43109);E.exports={re:j.re,src:j.src,tokens:j.t,SEMVER_SPEC_VERSION:R(30280).SEMVER_SPEC_VERSION,SemVer:R(5345),compareIdentifiers:R(26474).compareIdentifiers,rcompareIdentifiers:R(26474).rcompareIdentifiers,parse:R(71788),valid:R(98018),clean:R(58248),inc:R(75702),diff:R(96860),major:R(1146),minor:R(38236),patch:R(59141),prerelease:R(25694),compare:R(14064),rcompare:R(80339),compareLoose:R(39057),compareBuild:R(42380),sort:R(8612),rsort:R(67768),gt:R(96390),lt:R(69503),eq:R(42956),neq:R(91025),gte:R(10739),lte:R(95906),cmp:R(54327),coerce:R(46607),Comparator:R(6471),Range:R(282),satisfies:R(51543),toComparators:R(4817),maxSatisfying:R(13452),minSatisfying:R(57655),minVersion:R(34905),validRange:R(51952),outside:R(31492),gtr:R(96168),ltr:R(59609),intersects:R(18706),simplifyRange:R(15354),subset:R(26519)}},30280:E=>{const N="2.0.0";const R=256;const j=Number.MAX_SAFE_INTEGER||9007199254740991;const $=16;E.exports={SEMVER_SPEC_VERSION:N,MAX_LENGTH:R,MAX_SAFE_INTEGER:j,MAX_SAFE_COMPONENT_LENGTH:$}},81320:E=>{const N=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...E)=>console.error("SEMVER",...E):()=>{};E.exports=N},26474:E=>{const N=/^[0-9]+$/;const compareIdentifiers=(E,R)=>{const j=N.test(E);const $=N.test(R);if(j&&$){E=+E;R=+R}return E===R?0:j&&!$?-1:$&&!j?1:EcompareIdentifiers(N,E);E.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},94679:E=>{const N=["includePrerelease","loose","rtl"];const parseOptions=E=>!E?{}:typeof E!=="object"?{loose:true}:N.filter((N=>E[N])).reduce(((E,N)=>{E[N]=true;return E}),{});E.exports=parseOptions},43109:(E,N,R)=>{const{MAX_SAFE_COMPONENT_LENGTH:j}=R(30280);const $=R(81320);N=E.exports={};const q=N.re=[];const G=N.src=[];const ie=N.t={};let ae=0;const createToken=(E,N,R)=>{const j=ae++;$(j,N);ie[E]=j;G[j]=N;q[j]=new RegExp(N,R?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${G[ie.NUMERICIDENTIFIER]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${G[ie.NUMERICIDENTIFIERLOOSE]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${G[ie.PRERELEASEIDENTIFIER]}(?:\\.${G[ie.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${G[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${G[ie.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${G[ie.BUILDIDENTIFIER]}(?:\\.${G[ie.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${G[ie.MAINVERSION]}${G[ie.PRERELEASE]}?${G[ie.BUILD]}?`);createToken("FULL",`^${G[ie.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${G[ie.MAINVERSIONLOOSE]}${G[ie.PRERELEASELOOSE]}?${G[ie.BUILD]}?`);createToken("LOOSE",`^${G[ie.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${G[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${G[ie.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:${G[ie.PRERELEASE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:${G[ie.PRERELEASELOOSE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${j}})`+`(?:\\.(\\d{1,${j}}))?`+`(?:\\.(\\d{1,${j}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",G[ie.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${G[ie.LONETILDE]}\\s+`,true);N.tildeTrimReplace="$1~";createToken("TILDE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${G[ie.LONECARET]}\\s+`,true);N.caretTrimReplace="$1^";createToken("CARET",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${G[ie.GTLT]}\\s*(${G[ie.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]}|${G[ie.XRANGEPLAIN]})`,true);N.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${G[ie.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${G[ie.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},96168:(E,N,R)=>{const j=R(31492);const gtr=(E,N,R)=>j(E,N,">",R);E.exports=gtr},18706:(E,N,R)=>{const j=R(282);const intersects=(E,N,R)=>{E=new j(E,R);N=new j(N,R);return E.intersects(N)};E.exports=intersects},59609:(E,N,R)=>{const j=R(31492);const ltr=(E,N,R)=>j(E,N,"<",R);E.exports=ltr},13452:(E,N,R)=>{const j=R(5345);const $=R(282);const maxSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===-1){q=E;G=new j(q,R)}}}));return q};E.exports=maxSatisfying},57655:(E,N,R)=>{const j=R(5345);const $=R(282);const minSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===1){q=E;G=new j(q,R)}}}));return q};E.exports=minSatisfying},34905:(E,N,R)=>{const j=R(5345);const $=R(282);const q=R(96390);const minVersion=(E,N)=>{E=new $(E,N);let R=new j("0.0.0");if(E.test(R)){return R}R=new j("0.0.0-0");if(E.test(R)){return R}R=null;for(let N=0;N{const N=new j(E.semver.version);switch(E.operator){case">":if(N.prerelease.length===0){N.patch++}else{N.prerelease.push(0)}N.raw=N.format();case"":case">=":if(!G||q(N,G)){G=N}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${E.operator}`)}}));if(G&&(!R||q(R,G)))R=G}if(R&&E.test(R)){return R}return null};E.exports=minVersion},31492:(E,N,R)=>{const j=R(5345);const $=R(6471);const{ANY:q}=$;const G=R(282);const ie=R(51543);const ae=R(96390);const ce=R(69503);const le=R(95906);const _e=R(10739);const outside=(E,N,R,Te)=>{E=new j(E,Te);N=new G(N,Te);let Ee,we,Ie,Ne,Me;switch(R){case">":Ee=ae;we=le;Ie=ce;Ne=">";Me=">=";break;case"<":Ee=ce;we=_e;Ie=ae;Ne="<";Me="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ie(E,N,Te)){return false}for(let R=0;R{if(E.semver===q){E=new $(">=0.0.0")}G=G||E;ie=ie||E;if(Ee(E.semver,G.semver,Te)){G=E}else if(Ie(E.semver,ie.semver,Te)){ie=E}}));if(G.operator===Ne||G.operator===Me){return false}if((!ie.operator||ie.operator===Ne)&&we(E,ie.semver)){return false}else if(ie.operator===Me&&Ie(E,ie.semver)){return false}}return true};E.exports=outside},15354:(E,N,R)=>{const j=R(51543);const $=R(14064);E.exports=(E,N,R)=>{const q=[];let G=null;let ie=null;const ae=E.sort(((E,N)=>$(E,N,R)));for(const E of ae){const $=j(E,N,R);if($){ie=E;if(!G)G=E}else{if(ie){q.push([G,ie])}ie=null;G=null}}if(G)q.push([G,null]);const ce=[];for(const[E,N]of q){if(E===N)ce.push(E);else if(!N&&E===ae[0])ce.push("*");else if(!N)ce.push(`>=${E}`);else if(E===ae[0])ce.push(`<=${N}`);else ce.push(`${E} - ${N}`)}const le=ce.join(" || ");const _e=typeof N.raw==="string"?N.raw:String(N);return le.length<_e.length?le:N}},26519:(E,N,R)=>{const j=R(282);const $=R(6471);const{ANY:q}=$;const G=R(51543);const ie=R(14064);const subset=(E,N,R={})=>{if(E===N)return true;E=new j(E,R);N=new j(N,R);let $=false;e:for(const j of E.set){for(const E of N.set){const N=simpleSubset(j,E,R);$=$||N!==null;if(N)continue e}if($)return false}return true};const simpleSubset=(E,N,R)=>{if(E===N)return true;if(E.length===1&&E[0].semver===q){if(N.length===1&&N[0].semver===q)return true;else if(R.includePrerelease)E=[new $(">=0.0.0-0")];else E=[new $(">=0.0.0")]}if(N.length===1&&N[0].semver===q){if(R.includePrerelease)return true;else N=[new $(">=0.0.0")]}const j=new Set;let ae,ce;for(const N of E){if(N.operator===">"||N.operator===">=")ae=higherGT(ae,N,R);else if(N.operator==="<"||N.operator==="<=")ce=lowerLT(ce,N,R);else j.add(N.semver)}if(j.size>1)return null;let le;if(ae&&ce){le=ie(ae.semver,ce.semver,R);if(le>0)return null;else if(le===0&&(ae.operator!==">="||ce.operator!=="<="))return null}for(const E of j){if(ae&&!G(E,String(ae),R))return null;if(ce&&!G(E,String(ce),R))return null;for(const j of N){if(!G(E,String(j),R))return false}return true}let _e,Te;let Ee,we;let Ie=ce&&!R.includePrerelease&&ce.semver.prerelease.length?ce.semver:false;let Ne=ae&&!R.includePrerelease&&ae.semver.prerelease.length?ae.semver:false;if(Ie&&Ie.prerelease.length===1&&ce.operator==="<"&&Ie.prerelease[0]===0){Ie=false}for(const E of N){we=we||E.operator===">"||E.operator===">=";Ee=Ee||E.operator==="<"||E.operator==="<=";if(ae){if(Ne){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ne.major&&E.semver.minor===Ne.minor&&E.semver.patch===Ne.patch){Ne=false}}if(E.operator===">"||E.operator===">="){_e=higherGT(ae,E,R);if(_e===E&&_e!==ae)return false}else if(ae.operator===">="&&!G(ae.semver,String(E),R))return false}if(ce){if(Ie){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ie.major&&E.semver.minor===Ie.minor&&E.semver.patch===Ie.patch){Ie=false}}if(E.operator==="<"||E.operator==="<="){Te=lowerLT(ce,E,R);if(Te===E&&Te!==ce)return false}else if(ce.operator==="<="&&!G(ce.semver,String(E),R))return false}if(!E.operator&&(ce||ae)&&le!==0)return false}if(ae&&Ee&&!ce&&le!==0)return false;if(ce&&we&&!ae&&le!==0)return false;if(Ne||Ie)return false;return true};const higherGT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j>0?E:j<0?N:N.operator===">"&&E.operator===">="?N:E};const lowerLT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j<0?E:j>0?N:N.operator==="<"&&E.operator==="<="?N:E};E.exports=subset},4817:(E,N,R)=>{const j=R(282);const toComparators=(E,N)=>new j(E,N).set.map((E=>E.map((E=>E.value)).join(" ").trim().split(" ")));E.exports=toComparators},51952:(E,N,R)=>{const j=R(282);const validRange=(E,N)=>{try{return new j(E,N).range||"*"}catch(E){return null}};E.exports=validRange},5115:E=>{ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -43,7 +43,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var N;var R;var j;var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;(function(N){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){N(createExporter(R,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){N(createExporter(R,createExporter(E.exports)))}else{N(createExporter(R))}function createExporter(E,N){if(E!==R){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(R,j){return E[R]=N?N(R,j):j}}})((function(E){var Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,N){E.__proto__=N}||function(E,N){for(var R in N)if(N.hasOwnProperty(R))E[R]=N[R]};N=function(E,N){Je(E,N);function __(){this.constructor=E}E.prototype=N===null?Object.create(N):(__.prototype=N.prototype,new __)};R=Object.assign||function(E){for(var N,R=1,j=arguments.length;R=0;ie--)if(G=E[ie])q=($<3?G(q):$>3?G(N,R,q):G(N,R))||q;return $>3&&q&&Object.defineProperty(N,R,q),q};q=function(E,N){return function(R,j){N(R,j,E)}};G=function(E,N){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,N)};ie=function(E,N,R,j){function adopt(E){return E instanceof R?E:new R((function(N){N(E)}))}return new(R||(R=Promise))((function(R,$){function fulfilled(E){try{step(j.next(E))}catch(E){$(E)}}function rejected(E){try{step(j["throw"](E))}catch(E){$(E)}}function step(E){E.done?R(E.value):adopt(E.value).then(fulfilled,rejected)}step((j=j.apply(E,N||[])).next())}))};ae=function(E,N){var R={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},j,$,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(N){return step([E,N])}}function step(G){if(j)throw new TypeError("Generator is already executing.");while(R)try{if(j=1,$&&(q=G[0]&2?$["return"]:G[0]?$["throw"]||((q=$["return"])&&q.call($),0):$.next)&&!(q=q.call($,G[1])).done)return q;if($=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:R.label++;return{value:G[1],done:false};case 5:R.label++;$=G[1];G=[0];continue;case 7:G=R.ops.pop();R.trys.pop();continue;default:if(!(q=R.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=E.length)E=void 0;return{value:E&&E[j++],done:!E}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")};_e=function(E,N){var R=typeof Symbol==="function"&&E[Symbol.iterator];if(!R)return E;var j=R.call(E),$,q=[],G;try{while((N===void 0||N-- >0)&&!($=j.next()).done)q.push($.value)}catch(E){G={error:E}}finally{try{if($&&!$.done&&(R=j["return"]))R.call(j)}finally{if(G)throw G.error}}return q};Ee=function(){for(var E=[],N=0;N1||resume(E,N)}))}}function resume(E,N){try{step(j[E](N))}catch(E){settle(q[0][3],E)}}function step(E){E.value instanceof we?Promise.resolve(E.value.v).then(fulfill,reject):settle(q[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,N){if(E(N),q.shift(),q.length)resume(q[0][0],q[0][1])}};Ne=function(E){var N,R;return N={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),N[Symbol.iterator]=function(){return this},N;function verb(j,$){N[j]=E[j]?function(N){return(R=!R)?{value:we(E[j](N)),done:j==="return"}:$?$(N):N}:$}};Me=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N=E[Symbol.asyncIterator],R;return N?N.call(E):(E=typeof le==="function"?le(E):E[Symbol.iterator](),R={},verb("next"),verb("throw"),verb("return"),R[Symbol.asyncIterator]=function(){return this},R);function verb(N){R[N]=E[N]&&function(R){return new Promise((function(j,$){R=E[N](R),settle(j,$,R.done,R.value)}))}}function settle(E,N,R,j){Promise.resolve(j).then((function(N){E({value:N,done:R})}),N)}};Le=function(E,N){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:N})}else{E.raw=N}return E};Be=function(E){if(E&&E.__esModule)return E;var N={};if(E!=null)for(var R in E)if(Object.hasOwnProperty.call(E,R))N[R]=E[R];N["default"]=E;return N};je=function(E){return E&&E.__esModule?E:{default:E}};Ue=function(E,N){if(!N.has(E)){throw new TypeError("attempted to get private field on non-instance")}return N.get(E)};ze=function(E,N,R){if(!N.has(E)){throw new TypeError("attempted to set private field on non-instance")}N.set(E,R);return R};E("__extends",N);E("__assign",R);E("__rest",j);E("__decorate",$);E("__param",q);E("__metadata",G);E("__awaiter",ie);E("__generator",ae);E("__exportStar",ce);E("__createBinding",We);E("__values",le);E("__read",_e);E("__spread",Ee);E("__spreadArrays",Te);E("__await",we);E("__asyncGenerator",Ie);E("__asyncDelegator",Ne);E("__asyncValues",Me);E("__makeTemplateObject",Le);E("__importStar",Be);E("__importDefault",je);E("__classPrivateFieldGet",Ue);E("__classPrivateFieldSet",ze)}))},53779:function(E,N,R){"use strict"; +var N;var R;var j;var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Te;var Ee;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;(function(N){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){N(createExporter(R,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){N(createExporter(R,createExporter(E.exports)))}else{N(createExporter(R))}function createExporter(E,N){if(E!==R){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(R,j){return E[R]=N?N(R,j):j}}})((function(E){var Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,N){E.__proto__=N}||function(E,N){for(var R in N)if(N.hasOwnProperty(R))E[R]=N[R]};N=function(E,N){Je(E,N);function __(){this.constructor=E}E.prototype=N===null?Object.create(N):(__.prototype=N.prototype,new __)};R=Object.assign||function(E){for(var N,R=1,j=arguments.length;R=0;ie--)if(G=E[ie])q=($<3?G(q):$>3?G(N,R,q):G(N,R))||q;return $>3&&q&&Object.defineProperty(N,R,q),q};q=function(E,N){return function(R,j){N(R,j,E)}};G=function(E,N){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,N)};ie=function(E,N,R,j){function adopt(E){return E instanceof R?E:new R((function(N){N(E)}))}return new(R||(R=Promise))((function(R,$){function fulfilled(E){try{step(j.next(E))}catch(E){$(E)}}function rejected(E){try{step(j["throw"](E))}catch(E){$(E)}}function step(E){E.done?R(E.value):adopt(E.value).then(fulfilled,rejected)}step((j=j.apply(E,N||[])).next())}))};ae=function(E,N){var R={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},j,$,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(N){return step([E,N])}}function step(G){if(j)throw new TypeError("Generator is already executing.");while(R)try{if(j=1,$&&(q=G[0]&2?$["return"]:G[0]?$["throw"]||((q=$["return"])&&q.call($),0):$.next)&&!(q=q.call($,G[1])).done)return q;if($=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:R.label++;return{value:G[1],done:false};case 5:R.label++;$=G[1];G=[0];continue;case 7:G=R.ops.pop();R.trys.pop();continue;default:if(!(q=R.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=E.length)E=void 0;return{value:E&&E[j++],done:!E}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")};_e=function(E,N){var R=typeof Symbol==="function"&&E[Symbol.iterator];if(!R)return E;var j=R.call(E),$,q=[],G;try{while((N===void 0||N-- >0)&&!($=j.next()).done)q.push($.value)}catch(E){G={error:E}}finally{try{if($&&!$.done&&(R=j["return"]))R.call(j)}finally{if(G)throw G.error}}return q};Te=function(){for(var E=[],N=0;N1||resume(E,N)}))}}function resume(E,N){try{step(j[E](N))}catch(E){settle(q[0][3],E)}}function step(E){E.value instanceof we?Promise.resolve(E.value.v).then(fulfill,reject):settle(q[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,N){if(E(N),q.shift(),q.length)resume(q[0][0],q[0][1])}};Ne=function(E){var N,R;return N={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),N[Symbol.iterator]=function(){return this},N;function verb(j,$){N[j]=E[j]?function(N){return(R=!R)?{value:we(E[j](N)),done:j==="return"}:$?$(N):N}:$}};Me=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N=E[Symbol.asyncIterator],R;return N?N.call(E):(E=typeof le==="function"?le(E):E[Symbol.iterator](),R={},verb("next"),verb("throw"),verb("return"),R[Symbol.asyncIterator]=function(){return this},R);function verb(N){R[N]=E[N]&&function(R){return new Promise((function(j,$){R=E[N](R),settle(j,$,R.done,R.value)}))}}function settle(E,N,R,j){Promise.resolve(j).then((function(N){E({value:N,done:R})}),N)}};Le=function(E,N){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:N})}else{E.raw=N}return E};Be=function(E){if(E&&E.__esModule)return E;var N={};if(E!=null)for(var R in E)if(Object.hasOwnProperty.call(E,R))N[R]=E[R];N["default"]=E;return N};je=function(E){return E&&E.__esModule?E:{default:E}};Ue=function(E,N){if(!N.has(E)){throw new TypeError("attempted to get private field on non-instance")}return N.get(E)};ze=function(E,N,R){if(!N.has(E)){throw new TypeError("attempted to set private field on non-instance")}N.set(E,R);return R};E("__extends",N);E("__assign",R);E("__rest",j);E("__decorate",$);E("__param",q);E("__metadata",G);E("__awaiter",ie);E("__generator",ae);E("__exportStar",ce);E("__createBinding",We);E("__values",le);E("__read",_e);E("__spread",Te);E("__spreadArrays",Ee);E("__await",we);E("__asyncGenerator",Ie);E("__asyncDelegator",Ne);E("__asyncValues",Me);E("__makeTemplateObject",Le);E("__importStar",Be);E("__importDefault",je);E("__classPrivateFieldGet",Ue);E("__classPrivateFieldSet",ze)}))},53779:function(E,N,R){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -57,6 +57,6 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. -***************************************************************************** */var j=this&&this.__spreadArray||function(E,N,R){if(R||arguments.length===2)for(var j=0,$=N.length,q;j<$;j++){if(q||!(j in N)){if(!q)q=Array.prototype.slice.call(N,0,j);q[j]=N[j]}}return E.concat(q||Array.prototype.slice.call(N))};var $=this&&this.__assign||function(){$=Object.assign||function(E){for(var N,R=1,j=arguments.length;R0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=0;R--){var j=N(E[R],R);if(j){return j}}}return undefined}E.forEachRight=forEachRight;function firstDefined(E,N){if(E===undefined){return undefined}for(var R=0;R=0;R--){var j=E[R];if(N(j,R)){return j}}return undefined}E.findLast=findLast;function findIndex(E,N,R){for(var j=R||0;j=0;j--){if(N(E[j],j)){return j}}return-1}E.findLastIndex=findLastIndex;function findMap(N,R){for(var j=0;j0}}return false}E.some=some;function getRangesWhere(E,N,R){var j;for(var $=0;$0){E.Debug.assertGreaterThanOrEqual(j(R[G],R[G-1]),0)}t:for(var ie=q;qie){E.Debug.assertGreaterThanOrEqual(j(N[q],N[q-1]),0)}switch(j(R[G],N[q])){case-1:$.push(R[G]);continue e;case 0:continue e;case 1:continue t}}}return $}E.relativeComplement=relativeComplement;function sum(E,N){var R=0;for(var j=0,$=E;j<$.length;j++){var q=$[j];R+=q[N]}return R}E.sum=sum;function append(E,N){if(N===undefined)return E;if(E===undefined)return[N];E.push(N);return E}E.append=append;function combine(E,N){if(E===undefined)return N;if(N===undefined)return E;if(isArray(E))return isArray(N)?concatenate(E,N):append(E,N);if(isArray(N))return append(N,E);return[E,N]}E.combine=combine;function toOffset(E,N){return N<0?E.length+N:N}function addRange(E,N,R,j){if(N===undefined||N.length===0)return E;if(E===undefined)return N.slice(R,j);R=R===undefined?0:toOffset(N,R);j=j===undefined?N.length:toOffset(N,j);for(var $=R;$>1);var ae=R(E[ie],ie);switch(j(ae,N)){case-1:q=ie+1;break;case 0:return ie;case 1:G=ie-1;break}}return~q}E.binarySearchKey=binarySearchKey;function reduceLeft(E,N,R,j,$){if(E&&E.length>0){var q=E.length;if(q>0){var G=j===undefined||j<0?0:j;var ie=$===undefined||G+$>q-1?q-1:G+$;var ae=void 0;if(arguments.length<=2){ae=E[G];G++}else{ae=R}while(G<=ie){ae=N(ae,E[G],G);G++}return ae}}return R}E.reduceLeft=reduceLeft;var N=Object.prototype.hasOwnProperty;function hasProperty(E,R){return N.call(E,R)}E.hasProperty=hasProperty;function getProperty(E,R){return N.call(E,R)?E[R]:undefined}E.getProperty=getProperty;function getOwnKeys(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(j)}}return R}E.getOwnKeys=getOwnKeys;function getAllKeys(E){var N=[];do{var R=Object.getOwnPropertyNames(E);for(var j=0,$=R;j<$.length;j++){var q=$[j];pushIfUnique(N,q)}}while(E=Object.getPrototypeOf(E));return N}E.getAllKeys=getAllKeys;function getOwnValues(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(E[j])}}return R}E.getOwnValues=getOwnValues;var R=Object.entries||function(E){var N=getOwnKeys(E);var R=Array(N.length);for(var j=0;jN?1:0}E.compareStringsCaseInsensitive=compareStringsCaseInsensitive;function compareStringsCaseSensitive(E,N){return compareComparableValues(E,N)}E.compareStringsCaseSensitive=compareStringsCaseSensitive;function getStringComparer(E){return E?compareStringsCaseInsensitive:compareStringsCaseSensitive}E.getStringComparer=getStringComparer;var G=function(){var E;var N;var R=getStringComparerFactory();return createStringComparer;function compareWithCallback(E,N,R){if(E===N)return 0;if(E===undefined)return-1;if(N===undefined)return 1;var j=R(E,N);return j<0?-1:j>0?1:0}function createIntlCollatorStringComparer(E){var N=new Intl.Collator(E,{usage:"sort",sensitivity:"variant"}).compare;return function(E,R){return compareWithCallback(E,R,N)}}function createLocaleCompareStringComparer(E){if(E!==undefined)return createFallbackStringComparer();return function(E,N){return compareWithCallback(E,N,compareStrings)};function compareStrings(E,N){return E.localeCompare(N)}}function createFallbackStringComparer(){return function(E,N){return compareWithCallback(E,N,compareDictionaryOrder)};function compareDictionaryOrder(E,N){return compareStrings(E.toUpperCase(),N.toUpperCase())||compareStrings(E,N)}function compareStrings(E,N){return EN?1:0}}function getStringComparerFactory(){if(typeof Intl==="object"&&typeof Intl.Collator==="function"){return createIntlCollatorStringComparer}if(typeof String.prototype.localeCompare==="function"&&typeof String.prototype.toLocaleUpperCase==="function"&&"a".localeCompare("B")<0){return createLocaleCompareStringComparer}return createFallbackStringComparer}function createStringComparer(j){if(j===undefined){return E||(E=R(j))}else if(j==="en-US"){return N||(N=R(j))}else{return R(j)}}}();var ie;var ae;function getUILocale(){return ae}E.getUILocale=getUILocale;function setUILocale(E){if(ae!==E){ae=E;ie=undefined}}E.setUILocale=setUILocale;function compareStringsCaseSensitiveUI(E,N){var R=ie||(ie=G(ae));return R(E,N)}E.compareStringsCaseSensitiveUI=compareStringsCaseSensitiveUI;function compareProperties(E,N,R,j){return E===N?0:E===undefined?-1:N===undefined?1:j(E[R],N[R])}E.compareProperties=compareProperties;function compareBooleans(E,N){return compareValues(E?1:0,N?1:0)}E.compareBooleans=compareBooleans;function getSpellingSuggestion(N,R,j){var $=Math.min(2,Math.floor(N.length*.34));var q=Math.floor(N.length*.4)+1;var G;for(var ie=0,ae=R;ieR?G-R:1);var ce=Math.floor(N.length>R+G?R+G:N.length);$[0]=G;var le=G;for(var _e=1;_eR){return undefined}var we=j;j=$;$=we}var Ie=j[N.length];return Ie>R?undefined:Ie}function endsWith(E,N){var R=E.length-N.length;return R>=0&&E.indexOf(N,R)===R}E.endsWith=endsWith;function removeSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):E}E.removeSuffix=removeSuffix;function tryRemoveSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):undefined}E.tryRemoveSuffix=tryRemoveSuffix;function stringContains(E,N){return E.indexOf(N)!==-1}E.stringContains=stringContains;function removeMinAndVersionNumbers(E){var N=E.length;for(var R=N-1;R>0;R--){var j=E.charCodeAt(R);if(j>=48&&j<=57){do{--R;j=E.charCodeAt(R)}while(R>0&&j>=48&&j<=57)}else if(R>4&&(j===110||j===78)){--R;j=E.charCodeAt(R);if(j!==105&&j!==73){break}--R;j=E.charCodeAt(R);if(j!==109&&j!==77){break}--R;j=E.charCodeAt(R)}else{break}if(j!==45&&j!==46){break}N=R}return N===E.length?E:E.slice(0,N)}E.removeMinAndVersionNumbers=removeMinAndVersionNumbers;function orderedRemoveItem(E,N){for(var R=0;R$){$=ae.prefix.length;j=ie}}return j}E.findBestPatternMatch=findBestPatternMatch;function startsWith(E,N){return E.lastIndexOf(N,0)===0}E.startsWith=startsWith;function removePrefix(E,N){return startsWith(E,N)?E.substr(N.length):E}E.removePrefix=removePrefix;function tryRemovePrefix(E,N,R){if(R===void 0){R=identity}return startsWith(R(E),R(N))?E.substring(N.length):undefined}E.tryRemovePrefix=tryRemovePrefix;function isPatternMatch(E,N){var R=E.prefix,j=E.suffix;return N.length>=R.length+j.length&&startsWith(N,R)&&endsWith(N,j)}function and(E,N){return function(R){return E(R)&&N(R)}}E.and=and;function or(){var E=[];for(var N=0;N=0){if(!E.isWhiteSpaceLike(N.charCodeAt(R)))break;R--}return N.slice(0,R+1)}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Off"]=0]="Off";E[E["Error"]=1]="Error";E[E["Warning"]=2]="Warning";E[E["Info"]=3]="Info";E[E["Verbose"]=4]="Verbose"})(N=E.LogLevel||(E.LogLevel={}));var R;(function(R){var j;var $=0;R.currentLogLevel=N.Warning;R.isDebugging=false;function getTypeScriptVersion(){return j!==null&&j!==void 0?j:j=new E.Version(E.version)}R.getTypeScriptVersion=getTypeScriptVersion;function shouldLog(E){return R.currentLogLevel<=E}R.shouldLog=shouldLog;function logMessage(E,N){if(R.loggingHost&&shouldLog(E)){R.loggingHost.log(E,N)}}function log(E){logMessage(N.Info,E)}R.log=log;(function(E){function error(E){logMessage(N.Error,E)}E.error=error;function warn(E){logMessage(N.Warning,E)}E.warn=warn;function log(E){logMessage(N.Info,E)}E.log=log;function trace(E){logMessage(N.Verbose,E)}E.trace=trace})(log=R.log||(R.log={}));var q={};function getAssertionLevel(){return $}R.getAssertionLevel=getAssertionLevel;function setAssertionLevel(N){var j=$;$=N;if(N>j){for(var G=0,ie=E.getOwnKeys(q);G=ce.level){R[ae]=ce;q[ae]=undefined}}}}R.setAssertionLevel=setAssertionLevel;function shouldAssert(E){return $>=E}R.shouldAssert=shouldAssert;function shouldAssertFunction(N,j){if(!shouldAssert(N)){q[j]={level:N,assertion:R[j]};R[j]=E.noop;return false}return true}function fail(E,N){debugger;var R=new Error(E?"Debug Failure. "+E:"Debug Failure.");if(Error.captureStackTrace){Error.captureStackTrace(R,N||fail)}throw R}R.fail=fail;function failBadSyntaxKind(E,N,R){return fail((N||"Unexpected node.")+"\r\nNode "+formatSyntaxKind(E.kind)+" was unexpected.",R||failBadSyntaxKind)}R.failBadSyntaxKind=failBadSyntaxKind;function assert(E,N,R,j){if(!E){N=N?"False expression: "+N:"False expression.";if(R){N+="\r\nVerbose Debug Information: "+(typeof R==="string"?R:R())}fail(N,j||assert)}}R.assert=assert;function assertEqual(E,N,R,j,$){if(E!==N){var q=R?j?R+" "+j:R:"";fail("Expected "+E+" === "+N+". "+q,$||assertEqual)}}R.assertEqual=assertEqual;function assertLessThan(E,N,R,j){if(E>=N){fail("Expected "+E+" < "+N+". "+(R||""),j||assertLessThan)}}R.assertLessThan=assertLessThan;function assertLessThanOrEqual(E,N,R){if(E>N){fail("Expected "+E+" <= "+N,R||assertLessThanOrEqual)}}R.assertLessThanOrEqual=assertLessThanOrEqual;function assertGreaterThanOrEqual(E,N,R){if(E= "+N,R||assertGreaterThanOrEqual)}}R.assertGreaterThanOrEqual=assertGreaterThanOrEqual;function assertIsDefined(E,N,R){if(E===undefined||E===null){fail(N,R||assertIsDefined)}}R.assertIsDefined=assertIsDefined;function checkDefined(E,N,R){assertIsDefined(E,N,R||checkDefined);return E}R.checkDefined=checkDefined;R.assertDefined=checkDefined;function assertEachIsDefined(E,N,R){for(var j=0,$=E;j<$.length;j++){var q=$[j];assertIsDefined(q,N,R||assertEachIsDefined)}}R.assertEachIsDefined=assertEachIsDefined;function checkEachDefined(E,N,R){assertEachIsDefined(E,N,R||checkEachDefined);return E}R.checkEachDefined=checkEachDefined;R.assertEachDefined=checkEachDefined;function assertNever(N,R,j){if(R===void 0){R="Illegal value:"}var $=typeof N==="object"&&E.hasProperty(N,"kind")&&E.hasProperty(N,"pos")&&formatSyntaxKind?"SyntaxKind: "+formatSyntaxKind(N.kind):JSON.stringify(N);return fail(R+" "+$,j||assertNever)}R.assertNever=assertNever;function assertEachNode(N,R,j,$){if(shouldAssertFunction(1,"assertEachNode")){assert(R===undefined||E.every(N,R),j||"Unexpected node.",(function(){return"Node array did not pass test '"+getFunctionName(R)+"'."}),$||assertEachNode)}}R.assertEachNode=assertEachNode;function assertNode(E,N,R,j){if(shouldAssertFunction(1,"assertNode")){assert(E!==undefined&&(N===undefined||N(E)),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" did not pass test '"+getFunctionName(N)+"'."}),j||assertNode)}}R.assertNode=assertNode;function assertNotNode(E,N,R,j){if(shouldAssertFunction(1,"assertNotNode")){assert(E===undefined||N===undefined||!N(E),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E.kind)+" should not have passed test '"+getFunctionName(N)+"'."}),j||assertNotNode)}}R.assertNotNode=assertNotNode;function assertOptionalNode(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalNode")){assert(N===undefined||E===undefined||N(E),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" did not pass test '"+getFunctionName(N)+"'."}),j||assertOptionalNode)}}R.assertOptionalNode=assertOptionalNode;function assertOptionalToken(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalToken")){assert(N===undefined||E===undefined||E.kind===N,R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" was not a '"+formatSyntaxKind(N)+"' token."}),j||assertOptionalToken)}}R.assertOptionalToken=assertOptionalToken;function assertMissingNode(E,N,R){if(shouldAssertFunction(1,"assertMissingNode")){assert(E===undefined,N||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E.kind)+" was unexpected'."}),R||assertMissingNode)}}R.assertMissingNode=assertMissingNode;function type(E){}R.type=type;function getFunctionName(E){if(typeof E!=="function"){return""}else if(E.hasOwnProperty("name")){return E.name}else{var N=Function.prototype.toString.call(E);var R=/^function\s+([\w\$]+)\s*\(/.exec(N);return R?R[1]:""}}R.getFunctionName=getFunctionName;function formatSymbol(N){return"{ name: "+E.unescapeLeadingUnderscores(N.escapedName)+"; flags: "+formatSymbolFlags(N.flags)+"; declarations: "+E.map(N.declarations,(function(E){return formatSyntaxKind(E.kind)}))+" }"}R.formatSymbol=formatSymbol;function formatEnum(E,N,R){if(E===void 0){E=0}var j=getEnumMembers(N);if(E===0){return j.length>0&&j[0][0]===0?j[0][1]:"0"}if(R){var $="";var q=E;for(var G=0,ie=j;GE){break}if(ce!==0&&ce&E){$=""+$+($?"|":"")+le;q&=~ce}}if(q===0){return $}}else{for(var _e=0,Ee=j;_e=0;return ce?createErrorDeprecation(N,G,ae,R.message):le?createWarningDeprecation(N,G,ae,R.message):E.noop}function wrapFunction(E,N){return function(){E();return N.apply(this,arguments)}}function deprecate(E,N){var R=createDeprecation(getFunctionName(E),N);return wrapFunction(R,E)}R.deprecate=deprecate})(R=E.Debug||(E.Debug={}))})(ce||(ce={}));var ce;(function(E){var N=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i;var R=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i;var j=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;var $=/^(0|[1-9]\d*)$/;var q=function(){function Version(N,$,q,G,ie){if($===void 0){$=0}if(q===void 0){q=0}if(G===void 0){G=""}if(ie===void 0){ie=""}if(typeof N==="string"){var ae=E.Debug.checkDefined(tryParseComponents(N),"Invalid version");N=ae.major,$=ae.minor,q=ae.patch,G=ae.prerelease,ie=ae.build}E.Debug.assert(N>=0,"Invalid argument: major");E.Debug.assert($>=0,"Invalid argument: minor");E.Debug.assert(q>=0,"Invalid argument: patch");E.Debug.assert(!G||R.test(G),"Invalid argument: prerelease");E.Debug.assert(!ie||j.test(ie),"Invalid argument: build");this.major=N;this.minor=$;this.patch=q;this.prerelease=G?G.split("."):E.emptyArray;this.build=ie?ie.split("."):E.emptyArray}Version.tryParse=function(E){var N=tryParseComponents(E);if(!N)return undefined;var R=N.major,j=N.minor,$=N.patch,q=N.prerelease,G=N.build;return new Version(R,j,$,q,G)};Version.prototype.compareTo=function(N){if(this===N)return 0;if(N===undefined)return 1;return E.compareValues(this.major,N.major)||E.compareValues(this.minor,N.minor)||E.compareValues(this.patch,N.patch)||comparePrereleaseIdentifiers(this.prerelease,N.prerelease)};Version.prototype.increment=function(N){switch(N){case"major":return new Version(this.major+1,0,0);case"minor":return new Version(this.major,this.minor+1,0);case"patch":return new Version(this.major,this.minor,this.patch+1);default:return E.Debug.assertNever(N)}};Version.prototype.toString=function(){var N=this.major+"."+this.minor+"."+this.patch;if(E.some(this.prerelease))N+="-"+this.prerelease.join(".");if(E.some(this.build))N+="+"+this.build.join(".");return N};Version.zero=new Version(0,0,0);return Version}();E.Version=q;function tryParseComponents(E){var $=N.exec(E);if(!$)return undefined;var q=$[1],G=$[2],ie=G===void 0?"0":G,ae=$[3],ce=ae===void 0?"0":ae,le=$[4],_e=le===void 0?"":le,Ee=$[5],Te=Ee===void 0?"":Ee;if(_e&&!R.test(_e))return undefined;if(Te&&!j.test(Te))return undefined;return{major:parseInt(q,10),minor:parseInt(ie,10),patch:parseInt(ce,10),prerelease:_e,build:Te}}function comparePrereleaseIdentifiers(N,R){if(N===R)return 0;if(N.length===0)return R.length===0?0:1;if(R.length===0)return-1;var j=Math.min(N.length,R.length);for(var q=0;q|>=|=)?\s*([a-z0-9-+.*]+)$/i;function parseRange(N){var R=[];for(var j=0,$=E.trimString(N).split(ie);j<$.length;j++){var q=$[j];if(!q)continue;var G=[];q=E.trimString(q);var ce=le.exec(q);if(ce){if(!parseHyphen(ce[1],ce[2],G))return undefined}else{for(var Ee=0,Te=q.split(ae);Ee=",j.version))}if(!isWildcard($.major)){R.push(isWildcard($.minor)?createComparator("<",$.version.increment("major")):isWildcard($.patch)?createComparator("<",$.version.increment("minor")):createComparator("<=",$.version))}return true}function parseComparator(E,N,R){var j=parsePartial(N);if(!j)return false;var $=j.version,G=j.major,ie=j.minor,ae=j.patch;if(!isWildcard(G)){switch(E){case"~":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")));break;case"^":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment($.major>0||isWildcard(ie)?"major":$.minor>0||isWildcard(ae)?"minor":"patch")));break;case"<":case">=":R.push(createComparator(E,$));break;case"<=":case">":R.push(isWildcard(ie)?createComparator(E==="<="?"<":">=",$.increment("major")):isWildcard(ae)?createComparator(E==="<="?"<":">=",$.increment("minor")):createComparator(E,$));break;case"=":case undefined:if(isWildcard(ie)||isWildcard(ae)){R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")))}else{R.push(createComparator("=",$))}break;default:return false}}else if(E==="<"||E===">"){R.push(createComparator("<",q.zero))}return true}function isWildcard(E){return E==="*"||E==="x"||E==="X"}function createComparator(E,N){return{operator:E,operand:N}}function testDisjunction(E,N){if(N.length===0)return true;for(var R=0,j=N;R":return $>0;case">=":return $>=0;case"=":return $===0;default:return E.Debug.assertNever(R)}}function formatDisjunction(N){return E.map(N,formatAlternative).join(" || ")||"*"}function formatAlternative(N){return E.map(N,formatComparator).join(" ")}function formatComparator(E){return""+E.operator+E.operand}})(ce||(ce={}));var ce;(function(E){function hasRequiredAPI(E,N){return typeof E==="object"&&typeof E.timeOrigin==="number"&&typeof E.mark==="function"&&typeof E.measure==="function"&&typeof E.now==="function"&&typeof N==="function"}function tryGetWebPerformanceHooks(){if(typeof performance==="object"&&typeof PerformanceObserver==="function"&&hasRequiredAPI(performance,PerformanceObserver)){return{shouldWriteNativeEvents:true,performance:performance,PerformanceObserver:PerformanceObserver}}}function tryGetNodePerformanceHooks(){if(typeof process!=="undefined"&&process.nextTick&&!process.browser&&"object"==="object"&&"function"==="function"){try{var N;var j=R(4074),$=j.performance,q=j.PerformanceObserver;if(hasRequiredAPI($,q)){N=$;var G=new E.Version(process.versions.node);var ie=new E.VersionRange("<12.16.3 || 13 <13.13");if(ie.test(G)){N={get timeOrigin(){return $.timeOrigin},now:function(){return $.now()},mark:function(E){return $.mark(E)},measure:function(E,N,R){if(N===void 0){N="nodeStart"}if(R===undefined){R="__performance.measure-fix__";$.mark(R)}$.measure(E,N,R);if(R==="__performance.measure-fix__"){$.clearMarks("__performance.measure-fix__")}}}}return{shouldWriteNativeEvents:false,performance:N,PerformanceObserver:q}}}catch(E){}}}var N=tryGetWebPerformanceHooks()||tryGetNodePerformanceHooks();var j=N===null||N===void 0?void 0:N.performance;function tryGetNativePerformanceHooks(){return N}E.tryGetNativePerformanceHooks=tryGetNativePerformanceHooks;E.timestamp=j?function(){return j.now()}:Date.now?Date.now:function(){return+new Date}})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;var j;function createTimerIf(E,R,j,$){return E?createTimer(R,j,$):N.nullTimer}N.createTimerIf=createTimerIf;function createTimer(N,R,j){var $=0;return{enter:enter,exit:exit};function enter(){if(++$===1){mark(R)}}function exit(){if(--$===0){mark(j);measure(N,R,j)}else if($<0){E.Debug.fail("enter/exit count does not match.")}}}N.createTimer=createTimer;N.nullTimer={enter:E.noop,exit:E.noop};var $=false;var q=E.timestamp();var G=new E.Map;var ie=new E.Map;var ae=new E.Map;function mark(N){var R;if($){var q=(R=ie.get(N))!==null&&R!==void 0?R:0;ie.set(N,q+1);G.set(N,E.timestamp());j===null||j===void 0?void 0:j.mark(N)}}N.mark=mark;function measure(N,R,ie){var ce,le;if($){var _e=(ce=ie!==undefined?G.get(ie):undefined)!==null&&ce!==void 0?ce:E.timestamp();var Ee=(le=R!==undefined?G.get(R):undefined)!==null&&le!==void 0?le:q;var Te=ae.get(N)||0;ae.set(N,Te+(_e-Ee));j===null||j===void 0?void 0:j.measure(N,R,ie)}}N.measure=measure;function getCount(E){return ie.get(E)||0}N.getCount=getCount;function getDuration(E){return ae.get(E)||0}N.getDuration=getDuration;function forEachMeasure(E){ae.forEach((function(N,R){return E(R,N)}))}N.forEachMeasure=forEachMeasure;function isEnabled(){return $}N.isEnabled=isEnabled;function enable(N){var G;if(N===void 0){N=E.sys}if(!$){$=true;R||(R=E.tryGetNativePerformanceHooks());if(R){q=R.performance.timeOrigin;if(R.shouldWriteNativeEvents||((G=N===null||N===void 0?void 0:N.cpuProfilingEnabled)===null||G===void 0?void 0:G.call(N))||(N===null||N===void 0?void 0:N.debugMode)){j=R.performance}}}return true}N.enable=enable;function disable(){if($){G.clear();ie.clear();ae.clear();j=undefined;$=false}}N.disable=disable})(N=E.performance||(E.performance={}))})(ce||(ce={}));var ce;(function(E){var N;var R={logEvent:E.noop,logErrEvent:E.noop,logPerfEvent:E.noop,logInfoEvent:E.noop,logStartCommand:E.noop,logStopCommand:E.noop,logStartUpdateProgram:E.noop,logStopUpdateProgram:E.noop,logStartUpdateGraph:E.noop,logStopUpdateGraph:E.noop,logStartResolveModule:E.noop,logStopResolveModule:E.noop,logStartParseSourceFile:E.noop,logStopParseSourceFile:E.noop,logStartReadFile:E.noop,logStopReadFile:E.noop,logStartBindFile:E.noop,logStopBindFile:E.noop,logStartScheduledOperation:E.noop,logStopScheduledOperation:E.noop};var j;try{var $=(N=process.env.TS_ETW_MODULE_PATH)!==null&&N!==void 0?N:"./node_modules/@microsoft/typescript-etw";j=require($)}catch(E){j=undefined}E.perfLogger=j&&j.logEvent?j:R})(ce||(ce={}));var ce;(function(E){var N;(function(N){var j;var q=0;var G=0;var ie;var ae=[];var ce;var le=[];function startTracing(_e,Ee,Te){E.Debug.assert(!E.tracing,"Tracing already started");if(j===undefined){try{j=R(57147)}catch(E){throw new Error("tracing requires having fs\n(original error: "+(E.message||E)+")")}}ie=_e;ae.length=0;if(ce===undefined){ce=E.combinePaths(Ee,"legend.json")}if(!j.existsSync(Ee)){j.mkdirSync(Ee,{recursive:true})}var we=ie==="build"?"."+process.pid+"-"+ ++q:ie==="server"?"."+process.pid:"";var Ie=E.combinePaths(Ee,"trace"+we+".json");var Ne=E.combinePaths(Ee,"types"+we+".json");le.push({configFilePath:Te,tracePath:Ie,typesPath:Ne});G=j.openSync(Ie,"w");E.tracing=N;var Me={cat:"__metadata",ph:"M",ts:1e3*E.timestamp(),pid:1,tid:1};j.writeSync(G,"[\n"+[$({name:"process_name",args:{name:"tsc"}},Me),$({name:"thread_name",args:{name:"Main"}},Me),$($({name:"TracingStartedInBrowser"},Me),{cat:"disabled-by-default-devtools.timeline"})].map((function(E){return JSON.stringify(E)})).join(",\n"))}N.startTracing=startTracing;function stopTracing(){E.Debug.assert(E.tracing,"Tracing is not in progress");E.Debug.assert(!!ae.length===(ie!=="server"));j.writeSync(G,"\n]\n");j.closeSync(G);E.tracing=undefined;if(ae.length){dumpTypes(ae)}else{le[le.length-1].typesPath=undefined}}N.stopTracing=stopTracing;function recordType(E){if(ie!=="server"){ae.push(E)}}N.recordType=recordType;var _e;(function(E){E["Parse"]="parse";E["Program"]="program";E["Bind"]="bind";E["Check"]="check";E["CheckTypes"]="checkTypes";E["Emit"]="emit";E["Session"]="session"})(_e=N.Phase||(N.Phase={}));function instant(E,N,R){writeEvent("I",E,N,R,'"s":"g"')}N.instant=instant;var Ee=[];function push(N,R,j,$){if($===void 0){$=false}if($){writeEvent("B",N,R,j)}Ee.push({phase:N,name:R,args:j,time:1e3*E.timestamp(),separateBeginAndEnd:$})}N.push=push;function pop(){E.Debug.assert(Ee.length>0);writeStackEvent(Ee.length-1,1e3*E.timestamp());Ee.length--}N.pop=pop;function popAll(){var N=1e3*E.timestamp();for(var R=Ee.length-1;R>=0;R--){writeStackEvent(R,N)}Ee.length=0}N.popAll=popAll;var Te=1e3*10;function writeStackEvent(E,N){var R=Ee[E],j=R.phase,$=R.name,q=R.args,G=R.time,ie=R.separateBeginAndEnd;if(ie){writeEvent("E",j,$,q,undefined,N)}else if(Te-G%Te<=N-G){writeEvent("X",j,$,q,'"dur":'+(N-G),G)}}function writeEvent(N,R,$,q,ae,ce){if(ce===void 0){ce=1e3*E.timestamp()}if(ie==="server"&&R==="checkTypes")return;E.performance.mark("beginTracing");j.writeSync(G,',\n{"pid":1,"tid":1,"ph":"'+N+'","cat":"'+R+'","ts":'+ce+',"name":"'+$+'"');if(ae)j.writeSync(G,","+ae);if(q)j.writeSync(G,',"args":'+JSON.stringify(q));j.writeSync(G,"}");E.performance.mark("endTracing");E.performance.measure("Tracing","beginTracing","endTracing")}function getLocation(N){var R=E.getSourceFileOfNode(N);return!R?undefined:{path:R.path,start:indexFromOne(E.getLineAndCharacterOfPosition(R,N.pos)),end:indexFromOne(E.getLineAndCharacterOfPosition(R,N.end))};function indexFromOne(E){return{line:E.line+1,character:E.character+1}}}function dumpTypes(N){var R,q,G,ie,ae,ce,_e,Ee,Te,we,Ie,Ne,Me,Le,Be,je,Ue,ze,We,Je,Ve,qe;E.performance.mark("beginDumpTypes");var He=le[le.length-1].typesPath;var Ge=j.openSync(He,"w");var Ke=new E.Map;j.writeSync(Ge,"[");var Qe=N.length;for(var Xe=0;Xe0}E.isRootedDiskPath=isRootedDiskPath;function isDiskPathRoot(E){var N=getEncodedRootLength(E);return N>0&&N===E.length}E.isDiskPathRoot=isDiskPathRoot;function pathIsAbsolute(E){return getEncodedRootLength(E)!==0}E.pathIsAbsolute=pathIsAbsolute;function pathIsRelative(E){return/^\.\.?($|[\\/])/.test(E)}E.pathIsRelative=pathIsRelative;function pathIsBareSpecifier(E){return!pathIsAbsolute(E)&&!pathIsRelative(E)}E.pathIsBareSpecifier=pathIsBareSpecifier;function hasExtension(N){return E.stringContains(getBaseFileName(N),".")}E.hasExtension=hasExtension;function fileExtensionIs(N,R){return N.length>R.length&&E.endsWith(N,R)}E.fileExtensionIs=fileExtensionIs;function fileExtensionIsOneOf(E,N){for(var R=0,j=N;R0&&isAnyDirectorySeparator(E.charCodeAt(E.length-1))}E.hasTrailingDirectorySeparator=hasTrailingDirectorySeparator;function isVolumeCharacter(E){return E>=97&&E<=122||E>=65&&E<=90}function getFileUrlVolumeSeparatorEnd(E,N){var R=E.charCodeAt(N);if(R===58)return N+1;if(R===37&&E.charCodeAt(N+1)===51){var j=E.charCodeAt(N+2);if(j===97||j===65)return N+3}return-1}function getEncodedRootLength(R){if(!R)return 0;var j=R.charCodeAt(0);if(j===47||j===92){if(R.charCodeAt(1)!==j)return 1;var $=R.indexOf(j===47?E.directorySeparator:E.altDirectorySeparator,2);if($<0)return R.length;return $+1}if(isVolumeCharacter(j)&&R.charCodeAt(1)===58){var q=R.charCodeAt(2);if(q===47||q===92)return 3;if(R.length===2)return 2}var G=R.indexOf(N);if(G!==-1){var ie=G+N.length;var ae=R.indexOf(E.directorySeparator,ie);if(ae!==-1){var ce=R.slice(0,G);var le=R.slice(ie,ae);if(ce==="file"&&(le===""||le==="localhost")&&isVolumeCharacter(R.charCodeAt(ae+1))){var _e=getFileUrlVolumeSeparatorEnd(R,ae+2);if(_e!==-1){if(R.charCodeAt(_e)===47){return~(_e+1)}if(_e===R.length){return~_e}}}return~(ae+1)}return~R.length}return 0}function getRootLength(E){var N=getEncodedRootLength(E);return N<0?~N:N}E.getRootLength=getRootLength;function getDirectoryPath(N){N=normalizeSlashes(N);var R=getRootLength(N);if(R===N.length)return N;N=removeTrailingDirectorySeparator(N);return N.slice(0,Math.max(R,N.lastIndexOf(E.directorySeparator)))}E.getDirectoryPath=getDirectoryPath;function getBaseFileName(N,R,j){N=normalizeSlashes(N);var $=getRootLength(N);if($===N.length)return"";N=removeTrailingDirectorySeparator(N);var q=N.slice(Math.max(getRootLength(N),N.lastIndexOf(E.directorySeparator)+1));var G=R!==undefined&&j!==undefined?getAnyExtensionFromPath(q,R,j):undefined;return G?q.slice(0,q.length-G.length):q}E.getBaseFileName=getBaseFileName;function tryGetExtensionFromPath(N,R,j){if(!E.startsWith(R,"."))R="."+R;if(N.length>=R.length&&N.charCodeAt(N.length-R.length)===46){var $=N.slice(N.length-R.length);if(j($,R)){return $}}}function getAnyExtensionFromPathWorker(E,N,R){if(typeof N==="string"){return tryGetExtensionFromPath(E,N,R)||""}for(var j=0,$=N;j<$.length;j++){var q=$[j];var G=tryGetExtensionFromPath(E,q,R);if(G)return G}return""}function getAnyExtensionFromPath(N,R,j){if(R){return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(N),R,j?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive)}var $=getBaseFileName(N);var q=$.lastIndexOf(".");if(q>=0){return $.substring(q)}return""}E.getAnyExtensionFromPath=getAnyExtensionFromPath;function pathComponents(N,R){var $=N.substring(0,R);var q=N.substring(R).split(E.directorySeparator);if(q.length&&!E.lastOrUndefined(q))q.pop();return j([$],q,true)}function getPathComponents(E,N){if(N===void 0){N=""}E=combinePaths(N,E);return pathComponents(E,getRootLength(E))}E.getPathComponents=getPathComponents;function getPathFromPathComponents(N){if(N.length===0)return"";var R=N[0]&&ensureTrailingDirectorySeparator(N[0]);return R+N.slice(1).join(E.directorySeparator)}E.getPathFromPathComponents=getPathFromPathComponents;function normalizeSlashes(N){var j=N.indexOf("\\");if(j===-1){return N}R.lastIndex=j;return N.replace(R,E.directorySeparator)}E.normalizeSlashes=normalizeSlashes;function reducePathComponents(N){if(!E.some(N))return[];var R=[N[0]];for(var j=1;j1){if(R[R.length-1]!==".."){R.pop();continue}}else if(R[0])continue}R.push($)}return R}E.reducePathComponents=reducePathComponents;function combinePaths(E){var N=[];for(var R=1;R0===getRootLength(R)>0,"Paths must either both be absolute or both be relative");var $=typeof j==="function"?j:E.identity;var q=typeof j==="boolean"?j:false;var G=getPathComponentsRelativeTo(N,R,q?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive,$);return getPathFromPathComponents(G)}E.getRelativePathFromDirectory=getRelativePathFromDirectory;function convertToRelativePath(E,N,R){return!isRootedDiskPath(E)?E:getRelativePathToDirectoryOrUrl(N,E,N,R,false)}E.convertToRelativePath=convertToRelativePath;function getRelativePathFromFile(E,N,R){return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(E),N,R))}E.getRelativePathFromFile=getRelativePathFromFile;function getRelativePathToDirectoryOrUrl(N,R,j,$,q){var G=getPathComponentsRelativeTo(resolvePath(j,N),resolvePath(j,R),E.equateStringsCaseSensitive,$);var ie=G[0];if(q&&isRootedDiskPath(ie)){var ae=ie.charAt(0)===E.directorySeparator?"file://":"file:///";G[0]=ae+ie}return getPathFromPathComponents(G)}E.getRelativePathToDirectoryOrUrl=getRelativePathToDirectoryOrUrl;function forEachAncestorDirectory(E,N){while(true){var R=N(E);if(R!==undefined){return R}var j=getDirectoryPath(E);if(j===E){return undefined}E=j}}E.forEachAncestorDirectory=forEachAncestorDirectory;function isNodeModulesDirectory(N){return E.endsWith(N,"/node_modules")}E.isNodeModulesDirectory=isNodeModulesDirectory})(ce||(ce={}));var ce;(function(E){function generateDjb2Hash(E){var N=5381;for(var R=0;R=4;var Me=process.platform==="linux"||process.platform==="darwin";var Le=ce.platform();var Be=isFileSystemCaseSensitive();var je=Be?(q=ie.realpathSync.native)!==null&&q!==void 0?q:ie.realpathSync:ie.realpathSync;var Ue=Ne&&(process.platform==="win32"||process.platform==="darwin");var ze=E.memoize((function(){return process.cwd()}));var We=createSystemWatchFunctions({pollingWatchFile:createSingleFileWatcherPerName(fsWatchFileWorker,Be),getModifiedTime:getModifiedTime,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatch:fsWatch,useCaseSensitiveFileNames:Be,getCurrentDirectory:ze,fileExists:fileExists,fsSupportsRecursiveFsWatch:Ue,directoryExists:directoryExists,getAccessibleSortedChildDirectories:function(E){return getAccessibleFileSystemEntries(E).directories},realpath:realpath,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,defaultWatchFileKind:function(){var E,N;return(N=(E=$).defaultWatchFileKind)===null||N===void 0?void 0:N.call(E)}}),Je=We.watchFile,Ve=We.watchDirectory;var qe={args:process.argv.slice(2),newLine:ce.EOL,useCaseSensitiveFileNames:Be,write:function(E){process.stdout.write(E)},getWidthOfTerminal:function(){return process.stdout.columns},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:readFile,writeFile:writeFile,watchFile:Je,watchDirectory:Ve,resolvePath:function(E){return ae.resolve(E)},fileExists:fileExists,directoryExists:directoryExists,createDirectory:function(E){if(!qe.directoryExists(E)){try{ie.mkdirSync(E)}catch(E){if(E.code!=="EEXIST"){throw E}}}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:ze,getDirectories:getDirectories,getEnvironmentVariable:function(E){return process.env[E]||""},readDirectory:readDirectory,getModifiedTime:getModifiedTime,setModifiedTime:setModifiedTime,deleteFile:deleteFile,createHash:le?createSHA256Hash:generateDjb2Hash,createSHA256Hash:le?createSHA256Hash:undefined,getMemoryUsage:function(){if(global.gc){global.gc()}return process.memoryUsage().heapUsed},getFileSize:function(E){try{var N=statSync(E);if(N===null||N===void 0?void 0:N.isFile()){return N.size}}catch(E){}return 0},exit:function(E){disableCPUProfiler((function(){return process.exit(E)}))},enableCPUProfiler:enableCPUProfiler,disableCPUProfiler:disableCPUProfiler,cpuProfilingEnabled:function(){return!!_e||E.contains(process.execArgv,"--cpu-prof")||E.contains(process.execArgv,"--prof")},realpath:realpath,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||E.some(process.execArgv,(function(E){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(E)})),tryEnableSourceMapsForHost:function(){try{R(22284).install()}catch(E){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){if(process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking){process.stdout._handle.setBlocking(true)}},bufferFrom:bufferFrom,base64decode:function(E){return bufferFrom(E,"base64").toString("utf8")},base64encode:function(E){return bufferFrom(E).toString("base64")},require:function(N,R){try{var j=E.resolveJSModule(R,N,qe);return{module:require(j),modulePath:j,error:undefined}}catch(E){return{module:undefined,modulePath:undefined,error:E}}}};return qe;function statSync(E){return ie.statSync(E,{throwIfNoEntry:false})}function enableCPUProfiler(E,N){if(_e){N();return false}var j=R(31405);if(!j||!j.Session){N();return false}var $=new j.Session;$.connect();$.post("Profiler.enable",(function(){$.post("Profiler.start",(function(){_e=$;Ee=E;N()}))}));return true}function cleanupPaths(N){var R=0;var j=new E.Map;var $=E.normalizeSlashes(__dirname);var q="file://"+(E.getRootLength($)===1?"":"/")+$;for(var ie=0,ae=N.nodes;ie=2&&R[0]===254&&R[1]===255){j&=~1;for(var $=0;$=2&&R[0]===255&&R[1]===254){return R.toString("utf16le",2)}if(j>=3&&R[0]===239&&R[1]===187&&R[2]===191){return R.toString("utf8",3)}return R.toString("utf8")}function readFile(N,R){E.perfLogger.logStartReadFile(N);var j=readFileWorker(N,R);E.perfLogger.logStopReadFile();return j}function writeFile(N,R,$){E.perfLogger.logEvent("WriteFile: "+N);if($){R=j+R}var q;try{q=ie.openSync(N,"w");ie.writeSync(q,R,undefined,"utf8")}finally{if(q!==undefined){ie.closeSync(q)}}}function getAccessibleFileSystemEntries(N){E.perfLogger.logEvent("ReadDir: "+(N||"."));try{var R=ie.readdirSync(N||".",{withFileTypes:true});var j=[];var $=[];for(var q=0,G=R;q type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:diag(1066,E.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:diag(1068,E.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:diag(1069,E.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:diag(1070,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:diag(1071,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:diag(1079,E.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:diag(1084,E.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:diag(1085,E.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:diag(1089,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:diag(1090,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:diag(1091,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:diag(1092,E.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:diag(1093,E.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:diag(1094,E.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:diag(1095,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:diag(1096,E.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:diag(1097,E.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:diag(1098,E.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:diag(1099,E.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:diag(1100,E.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:diag(1101,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:diag(1102,E.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1103,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:diag(1104,E.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:diag(1105,E.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:diag(1106,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:diag(1107,E.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:diag(1108,E.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:diag(1109,E.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:diag(1110,E.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:diag(1113,E.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:diag(1114,E.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:diag(1115,E.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:diag(1116,E.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:diag(1117,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:diag(1118,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:diag(1119,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:diag(1120,E.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:diag(1121,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:diag(1123,E.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:diag(1124,E.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:diag(1125,E.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:diag(1126,E.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:diag(1127,E.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:diag(1128,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:diag(1129,E.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:diag(1130,E.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:diag(1131,E.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:diag(1132,E.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:diag(1134,E.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:diag(1135,E.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:diag(1136,E.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:diag(1137,E.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:diag(1138,E.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:diag(1139,E.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:diag(1140,E.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:diag(1141,E.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:diag(1142,E.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:diag(1144,E.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:diag(1146,E.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:diag(1147,E.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:diag(1148,E.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:diag(1149,E.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:diag(1155,E.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:diag(1156,E.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:diag(1157,E.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:diag(1160,E.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:diag(1161,E.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:diag(1162,E.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:diag(1163,E.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:diag(1164,E.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1165,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:diag(1166,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1168,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1169,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1170,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:diag(1171,E.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:diag(1172,E.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:diag(1173,E.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:diag(1174,E.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:diag(1175,E.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:diag(1176,E.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:diag(1177,E.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:diag(1178,E.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:diag(1179,E.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:diag(1180,E.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:diag(1181,E.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:diag(1182,E.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:diag(1183,E.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:diag(1184,E.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:diag(1185,E.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:diag(1186,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:diag(1187,E.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:diag(1188,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:diag(1189,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:diag(1190,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:diag(1191,E.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:diag(1192,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:diag(1193,E.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:diag(1194,E.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:diag(1195,E.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:diag(1196,E.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:diag(1197,E.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:diag(1198,E.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:diag(1199,E.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:diag(1200,E.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:diag(1202,E.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:diag(1203,E.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:diag(1205,E.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:diag(1206,E.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:diag(1207,E.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:diag(1208,E.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:diag(1210,E.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:diag(1211,E.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:diag(1212,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:diag(1213,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:diag(1214,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:diag(1215,E.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:diag(1216,E.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:diag(1218,E.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:diag(1219,E.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:diag(1220,E.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:diag(1221,E.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:diag(1222,E.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:diag(1223,E.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:diag(1224,E.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:diag(1225,E.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:diag(1226,E.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:diag(1227,E.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:diag(1228,E.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:diag(1229,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:diag(1230,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1231,E.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:diag(1232,E.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:diag(1233,E.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:diag(1234,E.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:diag(1235,E.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:diag(1236,E.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:diag(1237,E.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:diag(1238,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:diag(1239,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:diag(1240,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:diag(1241,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:diag(1242,E.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:diag(1243,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:diag(1244,E.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:diag(1245,E.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:diag(1246,E.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:diag(1247,E.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:diag(1248,E.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:diag(1249,E.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:diag(1250,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:diag(1251,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:diag(1252,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:diag(1253,E.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:diag(1254,E.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:diag(1255,E.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:diag(1257,E.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1258,E.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:diag(1259,E.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:diag(1260,E.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:diag(1261,E.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:diag(1262,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:diag(1263,E.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:diag(1264,E.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:diag(1265,E.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:diag(1266,E.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:diag(1267,E.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:diag(1268,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),with_statements_are_not_allowed_in_an_async_function_block:diag(1300,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1308,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:diag(1312,E.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:diag(1313,E.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:diag(1314,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:diag(1315,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:diag(1316,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:diag(1317,E.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:diag(1318,E.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:diag(1319,E.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1320,E.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1321,E.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1322,E.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:diag(1323,E.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:diag(1324,E.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:diag(1325,E.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:diag(1326,E.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:diag(1327,E.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:diag(1328,E.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:diag(1329,E.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:diag(1330,E.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:diag(1331,E.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:diag(1332,E.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:diag(1333,E.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:diag(1334,E.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:diag(1335,E.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:diag(1337,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:diag(1338,E.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:diag(1339,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:diag(1340,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:diag(1342,E.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system:diag(1343,E.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'."),A_label_is_not_allowed_here:diag(1344,E.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:diag(1345,E.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:diag(1346,E.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:diag(1347,E.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:diag(1348,E.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:diag(1349,E.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:diag(1350,E.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:diag(1351,E.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:diag(1352,E.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:diag(1353,E.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:diag(1354,E.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:diag(1355,E.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:diag(1356,E.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:diag(1357,E.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:diag(1358,E.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:diag(1359,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:diag(1360,E.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:diag(1361,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:diag(1362,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:diag(1363,E.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:diag(1364,E.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:diag(1365,E.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:diag(1366,E.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:diag(1367,E.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:diag(1369,E.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:diag(1371,E.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:diag(1373,E.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:diag(1374,E.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1375,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:diag(1376,E.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:diag(1377,E.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1378,E.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:diag(1379,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:diag(1380,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:diag(1381,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:diag(1382,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:diag(1383,E.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:diag(1384,E.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1385,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1386,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1387,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1388,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:diag(1389,E.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),Provides_a_root_package_name_when_using_outFile_with_declarations:diag(1390,E.DiagnosticCategory.Message,"Provides_a_root_package_name_when_using_outFile_with_declarations_1390","Provides a root package name when using outFile with declarations."),The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_declaration_emit:diag(1391,E.DiagnosticCategory.Error,"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391","The 'bundledPackageName' option must be provided when using outFile and node module resolution with declaration emit."),An_import_alias_cannot_use_import_type:diag(1392,E.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:diag(1393,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:diag(1394,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:diag(1395,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:diag(1396,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:diag(1397,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:diag(1398,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:diag(1399,E.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:diag(1400,E.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:diag(1401,E.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:diag(1402,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:diag(1403,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:diag(1404,E.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:diag(1405,E.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:diag(1406,E.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:diag(1407,E.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:diag(1408,E.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:diag(1409,E.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:diag(1410,E.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:diag(1411,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1412,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:diag(1413,E.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:diag(1414,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1415,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:diag(1416,E.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:diag(1417,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:diag(1418,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:diag(1419,E.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:diag(1420,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:diag(1421,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:diag(1422,E.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:diag(1423,E.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:diag(1424,E.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:diag(1425,E.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:diag(1426,E.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:diag(1427,E.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:diag(1428,E.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:diag(1429,E.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:diag(1430,E.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1431,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1432,E.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:diag(1433,E.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:diag(1434,E.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:diag(1435,E.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:diag(1436,E.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:diag(1437,E.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:diag(1438,E.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:diag(1439,E.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:diag(1440,E.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:diag(1441,E.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:diag(1442,E.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:diag(1443,E.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),The_types_of_0_are_incompatible_between_these_types:diag(2200,E.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:diag(2201,E.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:diag(2202,E.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",undefined,true),Construct_signature_return_types_0_and_1_are_incompatible:diag(2203,E.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",undefined,true),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2204,E.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2205,E.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Duplicate_identifier_0:diag(2300,E.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:diag(2301,E.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:diag(2302,E.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:diag(2303,E.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:diag(2304,E.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:diag(2305,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:diag(2306,E.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:diag(2307,E.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:diag(2308,E.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:diag(2309,E.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:diag(2310,E.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:diag(2311,E.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2312,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:diag(2313,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:diag(2314,E.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:diag(2315,E.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:diag(2316,E.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:diag(2317,E.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:diag(2318,E.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:diag(2319,E.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:diag(2320,E.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:diag(2321,E.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:diag(2322,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:diag(2323,E.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:diag(2324,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:diag(2325,E.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:diag(2326,E.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:diag(2327,E.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:diag(2328,E.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:diag(2329,E.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:diag(2330,E.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:diag(2331,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:diag(2332,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:diag(2333,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:diag(2334,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:diag(2335,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:diag(2336,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:diag(2337,E.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:diag(2338,E.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:diag(2339,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:diag(2340,E.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:diag(2341,E.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:diag(2342,E.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:diag(2343,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:diag(2344,E.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:diag(2345,E.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:diag(2346,E.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:diag(2347,E.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:diag(2348,E.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:diag(2349,E.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:diag(2350,E.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:diag(2351,E.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:diag(2352,E.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:diag(2353,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:diag(2354,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:diag(2355,E.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2356,E.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:diag(2357,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2358,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:diag(2359,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:diag(2360,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:diag(2361,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2362,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2363,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:diag(2364,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:diag(2365,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:diag(2366,E.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:diag(2367,E.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:diag(2368,E.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:diag(2369,E.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:diag(2370,E.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:diag(2371,E.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:diag(2372,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:diag(2373,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:diag(2374,E.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:diag(2376,E.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:diag(2377,E.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:diag(2378,E.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:diag(2380,E.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),A_signature_with_an_implementation_cannot_use_a_string_literal_type:diag(2381,E.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:diag(2382,E.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:diag(2383,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:diag(2384,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:diag(2385,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:diag(2386,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:diag(2387,E.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:diag(2388,E.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:diag(2389,E.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:diag(2390,E.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:diag(2391,E.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:diag(2392,E.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:diag(2393,E.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:diag(2394,E.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:diag(2395,E.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:diag(2396,E.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:diag(2397,E.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:diag(2398,E.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:diag(2399,E.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:diag(2400,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:diag(2401,E.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:diag(2402,E.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:diag(2403,E.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:diag(2404,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:diag(2405,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:diag(2406,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:diag(2407,E.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:diag(2408,E.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:diag(2409,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:diag(2410,E.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:diag(2411,E.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:diag(2413,E.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:diag(2414,E.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:diag(2415,E.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:diag(2416,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:diag(2417,E.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:diag(2418,E.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:diag(2419,E.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:diag(2420,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2422,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:diag(2423,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2425,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2426,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:diag(2427,E.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:diag(2428,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:diag(2430,E.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:diag(2431,E.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:diag(2432,E.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:diag(2433,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:diag(2434,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:diag(2435,E.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:diag(2436,E.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:diag(2437,E.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:diag(2438,E.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:diag(2439,E.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:diag(2440,E.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:diag(2441,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:diag(2442,E.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:diag(2443,E.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:diag(2444,E.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:diag(2445,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:diag(2446,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:diag(2447,E.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:diag(2448,E.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:diag(2449,E.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:diag(2450,E.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:diag(2451,E.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:diag(2452,E.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:diag(2453,E.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:diag(2454,E.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:diag(2455,E.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:diag(2456,E.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:diag(2457,E.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:diag(2458,E.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:diag(2459,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:diag(2460,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:diag(2461,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:diag(2462,E.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:diag(2463,E.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:diag(2464,E.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:diag(2465,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:diag(2466,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:diag(2467,E.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:diag(2468,E.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:diag(2469,E.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:diag(2470,E.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:diag(2471,E.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:diag(2472,E.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:diag(2473,E.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:diag(2474,E.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:diag(2475,E.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:diag(2476,E.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:diag(2477,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:diag(2478,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:diag(2479,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:diag(2480,E.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:diag(2481,E.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:diag(2483,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:diag(2484,E.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:diag(2487,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2488,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:diag(2489,E.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:diag(2490,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:diag(2491,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:diag(2492,E.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:diag(2493,E.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:diag(2494,E.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:diag(2495,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:diag(2496,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:diag(2497,E.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:diag(2498,E.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2499,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2500,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:diag(2501,E.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:diag(2502,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:diag(2503,E.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:diag(2504,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:diag(2505,E.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:diag(2506,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:diag(2507,E.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:diag(2508,E.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2509,E.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:diag(2510,E.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:diag(2511,E.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:diag(2512,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:diag(2513,E.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:diag(2514,E.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:diag(2515,E.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:diag(2516,E.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:diag(2517,E.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:diag(2518,E.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:diag(2519,E.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:diag(2520,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:diag(2521,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:diag(2522,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:diag(2523,E.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:diag(2524,E.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:diag(2525,E.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:diag(2526,E.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:diag(2527,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:diag(2528,E.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:diag(2529,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:diag(2530,E.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:diag(2531,E.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:diag(2532,E.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:diag(2533,E.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:diag(2534,E.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:diag(2535,E.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:diag(2536,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:diag(2537,E.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:diag(2538,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:diag(2539,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:diag(2540,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:diag(2541,E.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:diag(2542,E.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:diag(2543,E.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:diag(2544,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:diag(2545,E.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:diag(2547,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2548,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2549,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:diag(2550,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:diag(2551,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:diag(2552,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:diag(2553,E.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:diag(2554,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:diag(2555,E.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:diag(2556,E.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:diag(2558,E.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:diag(2559,E.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:diag(2560,E.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:diag(2561,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:diag(2562,E.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:diag(2563,E.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:diag(2564,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:diag(2565,E.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:diag(2566,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:diag(2567,E.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:diag(2568,E.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:diag(2569,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Could_not_find_name_0_Did_you_mean_1:diag(2570,E.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:diag(2571,E.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:diag(2572,E.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:diag(2573,E.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:diag(2574,E.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:diag(2575,E.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:diag(2576,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:diag(2577,E.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:diag(2578,E.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:diag(2580,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:diag(2581,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:diag(2582,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:diag(2583,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:diag(2584,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2585,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:diag(2586,E.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:diag(2587,E.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:diag(2588,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:diag(2589,E.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:diag(2590,E.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:diag(2591,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:diag(2592,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:diag(2593,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:diag(2594,E.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:diag(2595,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2596,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:diag(2597,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2598,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:diag(2600,E.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:diag(2601,E.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:diag(2602,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:diag(2603,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:diag(2604,E.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:diag(2605,E.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:diag(2606,E.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:diag(2607,E.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:diag(2608,E.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:diag(2609,E.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:diag(2610,E.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:diag(2611,E.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:diag(2612,E.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:diag(2613,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:diag(2614,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:diag(2615,E.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:diag(2616,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2617,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:diag(2618,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:diag(2619,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:diag(2620,E.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:diag(2621,E.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:diag(2623,E.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:diag(2624,E.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:diag(2625,E.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:diag(2626,E.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:diag(2627,E.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:diag(2628,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:diag(2629,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:diag(2630,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:diag(2631,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:diag(2632,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:diag(2633,E.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:diag(2634,E.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:diag(2649,E.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:diag(2651,E.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:diag(2652,E.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:diag(2653,E.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:diag(2654,E.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:diag(2656,E.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:diag(2657,E.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:diag(2658,E.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:diag(2659,E.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:diag(2660,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:diag(2661,E.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:diag(2662,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:diag(2663,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:diag(2664,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:diag(2665,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:diag(2666,E.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:diag(2667,E.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:diag(2668,E.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:diag(2669,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:diag(2670,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:diag(2671,E.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:diag(2672,E.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:diag(2673,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:diag(2674,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:diag(2675,E.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:diag(2676,E.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:diag(2677,E.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:diag(2678,E.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:diag(2679,E.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:diag(2680,E.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:diag(2681,E.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:diag(2682,E.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:diag(2683,E.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:diag(2684,E.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:diag(2685,E.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:diag(2686,E.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:diag(2687,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:diag(2688,E.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:diag(2689,E.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:diag(2690,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:diag(2691,E.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:diag(2692,E.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:diag(2693,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:diag(2694,E.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:diag(2695,E.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",true),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:diag(2696,E.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2697,E.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:diag(2698,E.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:diag(2699,E.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:diag(2700,E.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:diag(2701,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:diag(2702,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:diag(2703,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:diag(2704,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2705,E.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:diag(2706,E.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:diag(2707,E.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:diag(2708,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:diag(2709,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:diag(2710,E.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2711,E.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2712,E.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:diag(2713,E.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:diag(2714,E.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:diag(2715,E.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:diag(2716,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:diag(2717,E.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:diag(2718,E.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:diag(2719,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:diag(2720,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:diag(2721,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:diag(2722,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:diag(2723,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:diag(2724,E.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:diag(2725,E.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:diag(2726,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:diag(2727,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:diag(2728,E.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:diag(2729,E.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:diag(2730,E.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:diag(2731,E.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:diag(2732,E.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:diag(2733,E.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:diag(2734,E.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:diag(2735,E.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:diag(2736,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:diag(2737,E.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:diag(2738,E.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:diag(2739,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:diag(2740,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:diag(2741,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:diag(2742,E.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:diag(2743,E.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:diag(2744,E.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:diag(2745,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:diag(2746,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:diag(2747,E.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:diag(2748,E.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:diag(2749,E.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:diag(2750,E.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:diag(2751,E.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:diag(2752,E.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:diag(2753,E.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:diag(2754,E.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:diag(2755,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:diag(2756,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:diag(2757,E.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2758,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:diag(2759,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:diag(2760,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:diag(2761,E.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2762,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:diag(2763,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:diag(2764,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:diag(2765,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:diag(2766,E.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:diag(2767,E.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:diag(2768,E.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:diag(2769,E.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:diag(2770,E.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:diag(2771,E.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:diag(2772,E.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:diag(2773,E.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:diag(2774,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:diag(2775,E.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:diag(2776,E.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:diag(2777,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:diag(2778,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:diag(2779,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:diag(2780,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:diag(2781,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:diag(2782,E.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:diag(2783,E.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:diag(2784,E.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:diag(2785,E.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:diag(2786,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:diag(2787,E.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:diag(2788,E.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:diag(2789,E.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:diag(2790,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:diag(2791,E.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:diag(2792,E.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:diag(2793,E.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:diag(2794,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:diag(2795,E.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:diag(2796,E.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:diag(2797,E.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:diag(2798,E.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:diag(2799,E.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:diag(2800,E.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:diag(2801,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:diag(2802,E.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:diag(2803,E.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:diag(2804,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag:diag(2805,E.DiagnosticCategory.Error,"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805","Static fields with private names can't have initializers when the '--useDefineForClassFields' flag is not specified with a '--target' of 'esnext'. Consider adding the '--useDefineForClassFields' flag."),Private_accessor_was_defined_without_a_getter:diag(2806,E.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:diag(2807,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:diag(2808,E.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:diag(2809,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false:diag(2810,E.DiagnosticCategory.Error,"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810","Property '{0}' may not be used in a static property's initializer in the same class when 'target' is 'esnext' and 'useDefineForClassFields' is 'false'."),Initializer_for_property_0:diag(2811,E.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:diag(2812,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:diag(2813,E.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:diag(2814,E.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:diag(2815,E.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:diag(2816,E.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:diag(2817,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:diag(2818,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:diag(2819,E.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Import_declaration_0_is_using_private_name_1:diag(4e3,E.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:diag(4002,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:diag(4004,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4006,E.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4008,E.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4010,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4012,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4014,E.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4016,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4019,E.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4020,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:diag(4021,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:diag(4022,E.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4023,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:diag(4024,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:diag(4025,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4026,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4027,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4028,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4029,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4030,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4031,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4032,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:diag(4033,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4034,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4035,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4036,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4037,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4038,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4039,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4040,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4041,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4042,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4043,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4044,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4045,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4046,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4047,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4048,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4049,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4050,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4051,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:diag(4052,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4053,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4054,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:diag(4055,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4056,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:diag(4057,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4058,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:diag(4059,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:diag(4060,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4061,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4062,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:diag(4063,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4064,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4065,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4066,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4067,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4068,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4069,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4070,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4071,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4072,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4073,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4074,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4075,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4076,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:diag(4077,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4078,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:diag(4081,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:diag(4082,E.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:diag(4083,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:diag(4084,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:diag(4090,E.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4091,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4092,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:diag(4094,E.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4095,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4096,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4097,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4098,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4099,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4100,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4101,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:diag(4102,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:diag(4103,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:diag(4104,E.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:diag(4105,E.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:diag(4106,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:diag(4107,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4108,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:diag(4109,E.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:diag(4110,E.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:diag(4111,E.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:diag(4112,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:diag(4113,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:diag(4114,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:diag(4115,E.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:diag(4116,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:diag(4117,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:diag(4118,E.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),The_current_host_does_not_support_the_0_option:diag(5001,E.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:diag(5009,E.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5010,E.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:diag(5012,E.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:diag(5014,E.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:diag(5023,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:diag(5024,E.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:diag(5025,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:diag(5033,E.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:diag(5042,E.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:diag(5047,E.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:diag(5048,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:diag(5051,E.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:diag(5052,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:diag(5053,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:diag(5054,E.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:diag(5055,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:diag(5056,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:diag(5057,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:diag(5058,E.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:diag(5059,E.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:diag(5061,E.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:diag(5062,E.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:diag(5063,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:diag(5064,E.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5065,E.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:diag(5066,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(5067,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:diag(5068,E.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:diag(5069,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:diag(5070,E.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:diag(5071,E.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:diag(5072,E.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:diag(5073,E.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:diag(5074,E.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:diag(5075,E.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:diag(5076,E.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:diag(5077,E.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:diag(5078,E.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:diag(5079,E.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:diag(5080,E.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:diag(5081,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:diag(5082,E.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:diag(5083,E.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:diag(5084,E.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:diag(5085,E.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:diag(5086,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:diag(5087,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:diag(5088,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:diag(5089,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:diag(5090,E.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:diag(5091,E.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:diag(5092,E.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:diag(5093,E.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:diag(5094,E.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:diag(6e3,E.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:diag(6001,E.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:diag(6002,E.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:diag(6655,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:diag(6004,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:diag(6005,E.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:diag(6006,E.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:diag(6007,E.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:diag(6008,E.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:diag(6009,E.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:diag(6010,E.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:diag(6011,E.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:diag(6012,E.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:diag(6013,E.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:diag(6014,E.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:diag(6015,E.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:diag(6016,E.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:diag(6017,E.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:diag(6019,E.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:diag(6020,E.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:diag(6023,E.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:diag(6024,E.DiagnosticCategory.Message,"options_6024","options"),file:diag(6025,E.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:diag(6026,E.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:diag(6027,E.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:diag(6029,E.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:diag(6030,E.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:diag(6031,E.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:diag(6032,E.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:diag(6034,E.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:diag(6035,E.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:diag(6036,E.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:diag(6037,E.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:diag(6038,E.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:diag(6039,E.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:diag(6040,E.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:diag(6043,E.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:diag(6044,E.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:diag(6045,E.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:diag(6046,E.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:diag(6048,E.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unsupported_locale_0:diag(6049,E.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:diag(6050,E.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:diag(6051,E.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:diag(6052,E.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:diag(6053,E.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:diag(6054,E.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:diag(6055,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:diag(6056,E.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:diag(6058,E.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:diag(6059,E.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:diag(6060,E.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:diag(6061,E.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:diag(6064,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:diag(6065,E.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:diag(6066,E.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:diag(6068,E.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:diag(6069,E.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:diag(6070,E.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:diag(6071,E.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:diag(6072,E.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:diag(6073,E.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:diag(6074,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:diag(6075,E.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:diag(6076,E.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:diag(6077,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:diag(6078,E.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:diag(6079,E.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:diag(6080,E.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:diag(6081,E.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:diag(6082,E.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:diag(6083,E.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:diag(6084,E.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:diag(6085,E.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:diag(6086,E.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:diag(6087,E.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:diag(6088,E.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:diag(6089,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:diag(6090,E.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:diag(6091,E.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:diag(6092,E.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:diag(6093,E.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:diag(6094,E.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:diag(6095,E.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:diag(6096,E.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:diag(6097,E.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:diag(6098,E.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:diag(6099,E.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:diag(6100,E.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:diag(6101,E.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:diag(6102,E.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:diag(6103,E.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:diag(6104,E.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:diag(6105,E.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:diag(6106,E.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:diag(6107,E.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:diag(6108,E.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:diag(6109,E.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:diag(6110,E.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:diag(6111,E.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:diag(6112,E.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:diag(6113,E.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:diag(6114,E.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:diag(6115,E.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:diag(6116,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:diag(6117,E.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:diag(6118,E.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:diag(6119,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:diag(6120,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:diag(6121,E.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:diag(6122,E.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:diag(6123,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:diag(6124,E.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:diag(6125,E.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:diag(6126,E.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:diag(6127,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:diag(6128,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:diag(6130,E.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:diag(6131,E.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:diag(6132,E.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:diag(6133,E.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",true),Report_errors_on_unused_locals:diag(6134,E.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:diag(6135,E.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:diag(6136,E.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:diag(6137,E.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:diag(6138,E.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",true),Import_emit_helpers_from_tslib:diag(6139,E.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:diag(6140,E.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:diag(6141,E.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:diag(6142,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:diag(6144,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:diag(6145,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:diag(6146,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:diag(6147,E.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:diag(6148,E.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:diag(6149,E.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:diag(6150,E.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:diag(6151,E.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:diag(6152,E.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:diag(6153,E.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:diag(6154,E.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:diag(6155,E.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:diag(6156,E.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:diag(6157,E.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:diag(6158,E.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:diag(6159,E.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:diag(6160,E.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:diag(6161,E.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:diag(6162,E.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:diag(6163,E.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:diag(6622,E.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:diag(6165,E.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:diag(6166,E.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:diag(6167,E.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:diag(6168,E.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:diag(6169,E.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:diag(6170,E.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:diag(6171,E.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:diag(6179,E.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:diag(6180,E.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:diag(6181,E.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:diag(6182,E.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6183,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6184,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:diag(6186,E.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:diag(6187,E.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:diag(6188,E.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:diag(6189,E.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:diag(6191,E.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:diag(6192,E.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",true),Found_1_error_Watching_for_file_changes:diag(6193,E.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:diag(6194,E.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:diag(6195,E.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:diag(6196,E.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",true),Include_modules_imported_with_json_extension:diag(6197,E.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:diag(6198,E.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",true),All_variables_are_unused:diag(6199,E.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",true),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:diag(6200,E.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:diag(6201,E.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:diag(6202,E.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:diag(6203,E.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:diag(6204,E.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:diag(6205,E.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:diag(6206,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:diag(6207,E.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:diag(6208,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:diag(6209,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:diag(6210,E.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:diag(6211,E.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:diag(6212,E.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:diag(6213,E.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:diag(6214,E.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:diag(6215,E.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:diag(6216,E.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:diag(6217,E.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:diag(6218,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:diag(6219,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:diag(6220,E.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:diag(6221,E.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:diag(6222,E.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:diag(6223,E.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:diag(6224,E.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:diag(6225,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:diag(6226,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:diag(6227,E.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:diag(6229,E.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:diag(6230,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:diag(6231,E.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:diag(6232,E.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:diag(6233,E.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:diag(6234,E.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:diag(6235,E.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:diag(6236,E.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:diag(6237,E.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:diag(6238,E.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:diag(6239,E.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:diag(6240,E.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:diag(6241,E.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:diag(6242,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:diag(6243,E.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:diag(6244,E.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:diag(6245,E.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:diag(6246,E.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:diag(6247,E.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:diag(6248,E.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:diag(6249,E.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:diag(6250,E.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:diag(6251,E.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:diag(6252,E.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:diag(6253,E.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:diag(6254,E.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:diag(6255,E.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:diag(6256,E.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:diag(6257,E.DiagnosticCategory.Message,"Completeness_6257","Completeness"),Projects_to_reference:diag(6300,E.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:diag(6302,E.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:diag(6304,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:diag(6305,E.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:diag(6306,E.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:diag(6307,E.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:diag(6308,E.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:diag(6309,E.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:diag(6310,E.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:diag(6350,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:diag(6351,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:diag(6352,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:diag(6353,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:diag(6354,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:diag(6355,E.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:diag(6356,E.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:diag(6357,E.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:diag(6358,E.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:diag(6359,E.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:diag(6360,E.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:diag(6361,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:diag(6362,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:diag(6363,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:diag(6364,E.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:diag(6365,E.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Show_what_would_be_built_or_deleted_if_specified_with_clean:diag(6367,E.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:diag(6369,E.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:diag(6370,E.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:diag(6371,E.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:diag(6372,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:diag(6373,E.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:diag(6374,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:diag(6375,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:diag(6376,E.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:diag(6377,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:diag(6378,E.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:diag(6379,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:diag(6380,E.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:diag(6381,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:diag(6382,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:diag(6383,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6384,E.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:diag(6385,E.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",undefined,undefined,true),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:diag(6386,E.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:diag(6387,E.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",undefined,undefined,true),Project_0_is_being_forcibly_rebuilt:diag(6388,E.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:diag(6389,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6390,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6391,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:diag(6392,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6393,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6394,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6395,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6396,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6397,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6398,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:diag(6500,E.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:diag(6501,E.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:diag(6502,E.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:diag(6503,E.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:diag(6504,E.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:diag(6505,E.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:diag(6506,E.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:diag(6600,E.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:diag(6601,E.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:diag(6602,E.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:diag(6603,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:diag(6604,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:diag(6605,E.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6606,E.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use `incremental` and `watch` mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:diag(6607,E.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:diag(6608,E.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:diag(6609,E.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:diag(6611,E.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:diag(6612,E.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:diag(6613,E.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:diag(6614,E.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:diag(6615,E.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:diag(6616,E.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:diag(6617,E.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:diag(6618,E.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:diag(6619,E.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:diag(6620,E.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:diag(6621,E.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Only_output_d_ts_files_and_not_JavaScript_files:diag(6623,E.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:diag(6624,E.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:diag(6625,E.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:diag(6626,E.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility."),Filters_results_from_the_include_option:diag(6627,E.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:diag(6628,E.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:diag(6629,E.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:diag(6630,E.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:diag(6631,E.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:diag(6632,E.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:diag(6633,E.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:diag(6634,E.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:diag(6635,E.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:diag(6636,E.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date"),Ensure_that_casing_is_correct_in_imports:diag(6637,E.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:diag(6638,E.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:diag(6639,E.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:diag(6641,E.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:diag(6642,E.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:diag(6643,E.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:diag(6644,E.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:diag(6645,E.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:diag(6646,E.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:diag(6647,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:diag(6648,E.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:diag(6649,E.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.`"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:diag(6650,E.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:diag(6651,E.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:diag(6652,E.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:diag(6653,E.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:diag(6654,E.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:diag(6656,E.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`."),Specify_what_module_code_is_generated:diag(6657,E.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:diag(6658,E.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:diag(6659,E.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:diag(6660,E.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:diag(6661,E.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like `__extends` in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:diag(6662,E.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:diag(6663,E.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:diag(6664,E.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:diag(6665,E.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied `any` type.."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:diag(6666,E.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:diag(6667,E.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:diag(6668,E.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when `this` is given the type `any`."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:diag(6669,E.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:diag(6670,E.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:diag(6671,E.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:diag(6672,E.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow `import`s, `require`s or ``s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:diag(6673,E.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:diag(6674,E.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add `undefined` to a type when accessed using an index."),Enable_error_reporting_when_a_local_variables_aren_t_read:diag(6675,E.DiagnosticCategory.Message,"Enable_error_reporting_when_a_local_variables_aren_t_read_6675","Enable error reporting when a local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:diag(6676,E.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read"),Deprecated_setting_Use_outFile_instead:diag(6677,E.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:diag(6678,E.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:diag(6679,E.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:diag(6680,E.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:diag(6681,E.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:diag(6682,E.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing `const enum` declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:diag(6683,E.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:diag(6684,E.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:diag(6685,E.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:diag(6686,E.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:diag(6687,E.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:diag(6688,E.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:diag(6689,E.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:diag(6690,E.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:diag(6691,E.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:diag(6692,E.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:diag(6693,E.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:diag(6694,E.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:diag(6695,E.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:diag(6697,E.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for `bind`, `call`, and `apply` methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:diag(6698,E.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:diag(6699,E.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account `null` and `undefined`."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:diag(6700,E.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:diag(6701,E.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have `@internal` in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:diag(6702,E.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:diag(6703,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress `noImplicitAny` errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:diag(6704,E.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:diag(6705,E.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:diag(6706,E.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:diag(6707,E.DiagnosticCategory.Message,"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707","Specify the folder for .tsbuildinfo incremental compilation files."),Specify_options_for_automatic_acquisition_of_declaration_files:diag(6709,E.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:diag(6710,E.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like `./node_modules/@types`."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:diag(6711,E.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:diag(6712,E.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:diag(6713,E.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:diag(6714,E.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:diag(6715,E.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:diag(6716,E.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6716","Include 'undefined' in index signature results"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:diag(6717,E.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:diag(6718,E.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types"),Type_catch_clause_variables_as_unknown_instead_of_any:diag(6803,E.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:diag(6900,E.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:diag(6901,E.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:diag(6902,E.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:diag(6903,E.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:diag(6904,E.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:diag(6905,E.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:diag(6906,E.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:diag(6907,E.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:diag(6908,E.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:diag(6909,E.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:diag(69010,E.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:diag(6911,E.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:diag(6912,E.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:diag(6913,E.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:diag(6914,E.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:diag(6915,E.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:diag(6916,E.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:diag(6917,E.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:diag(6918,E.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:diag(6919,E.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:diag(6920,E.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:diag(6921,E.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:diag(6922,E.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:diag(6923,E.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:diag(6924,E.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:diag(6925,E.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:diag(6926,E.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:diag(6927,E.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:diag(6928,E.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:diag(6929,E.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),Variable_0_implicitly_has_an_1_type:diag(7005,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:diag(7006,E.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:diag(7008,E.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:diag(7009,E.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:diag(7010,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7011,E.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7013,E.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7014,E.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:diag(7015,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:diag(7016,E.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:diag(7017,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:diag(7018,E.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:diag(7019,E.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7020,E.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:diag(7022,E.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7023,E.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7024,E.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:diag(7025,E.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:diag(7026,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:diag(7027,E.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",true),Unused_label:diag(7028,E.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",true),Fallthrough_case_in_switch:diag(7029,E.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:diag(7030,E.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:diag(7031,E.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:diag(7032,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:diag(7033,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:diag(7034,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:diag(7035,E.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:diag(7036,E.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:diag(7037,E.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:diag(7038,E.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:diag(7039,E.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:diag(7040,E.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:diag(7041,E.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:diag(7042,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7043,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7044,E.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7045,E.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:diag(7046,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:diag(7047,E.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:diag(7048,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:diag(7049,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:diag(7050,E.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:diag(7051,E.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:diag(7052,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:diag(7053,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:diag(7054,E.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:diag(7055,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:diag(7056,E.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:diag(7057,E.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),You_cannot_rename_this_element:diag(8e3,E.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:diag(8001,E.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:diag(8002,E.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:diag(8003,E.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:diag(8004,E.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:diag(8005,E.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:diag(8006,E.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:diag(8008,E.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:diag(8009,E.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:diag(8010,E.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:diag(8011,E.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:diag(8012,E.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:diag(8013,E.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:diag(8016,E.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:diag(8017,E.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:diag(8018,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:diag(8019,E.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:diag(8020,E.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:diag(8021,E.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:diag(8022,E.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:diag(8023,E.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:diag(8024,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:diag(8025,E.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:diag(8026,E.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:diag(8027,E.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:diag(8028,E.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:diag(8029,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:diag(8030,E.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:diag(8031,E.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:diag(8032,E.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:diag(8033,E.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:diag(8034,E.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:diag(9002,E.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:diag(9003,E.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:diag(9004,E.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9005,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9006,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:diag(17e3,E.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:diag(17001,E.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:diag(17002,E.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:diag(17003,E.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:diag(17004,E.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:diag(17005,E.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17006,E.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17007,E.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:diag(17008,E.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:diag(17009,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:diag(17010,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:diag(17011,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:diag(17012,E.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:diag(17013,E.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:diag(17014,E.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:diag(17015,E.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:diag(17016,E.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:diag(17017,E.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:diag(17018,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:diag(18e3,E.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:diag(18001,E.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:diag(18002,E.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:diag(18003,E.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:diag(80001,E.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:diag(80002,E.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:diag(80003,E.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:diag(80004,E.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:diag(80005,E.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:diag(80006,E.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:diag(80007,E.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:diag(80008,E.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:diag(90001,E.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:diag(90002,E.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:diag(90003,E.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:diag(90004,E.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:diag(90005,E.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:diag(90006,E.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:diag(90007,E.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:diag(90008,E.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:diag(90010,E.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:diag(90011,E.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:diag(90012,E.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:diag(90013,E.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:diag(90014,E.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:diag(90015,E.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:diag(90016,E.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:diag(90017,E.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:diag(90018,E.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:diag(90019,E.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:diag(90020,E.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:diag(90021,E.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:diag(90022,E.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:diag(90023,E.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:diag(90024,E.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:diag(90025,E.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:diag(90026,E.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:diag(90027,E.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:diag(90028,E.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:diag(90029,E.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:diag(90030,E.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:diag(90031,E.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:diag(90032,E.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:diag(90033,E.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:diag(90034,E.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:diag(90035,E.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:diag(90036,E.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:diag(90037,E.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:diag(90038,E.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:diag(90039,E.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:diag(90041,E.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:diag(90053,E.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:diag(95001,E.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:diag(95002,E.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Convert_0_to_1_in_0:diag(95003,E.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:diag(95004,E.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:diag(95005,E.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:diag(95006,E.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:diag(95007,E.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:diag(95008,E.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:diag(95009,E.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:diag(95010,E.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:diag(95011,E.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:diag(95012,E.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:diag(95013,E.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:diag(95014,E.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:diag(95015,E.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:diag(95016,E.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:diag(95017,E.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:diag(95018,E.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:diag(95019,E.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:diag(95020,E.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:diag(95021,E.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:diag(95022,E.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:diag(95023,E.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:diag(95024,E.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:diag(95025,E.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:diag(95026,E.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:diag(95027,E.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:diag(95028,E.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:diag(95029,E.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:diag(95030,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:diag(95031,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:diag(95032,E.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:diag(95033,E.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:diag(95034,E.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:diag(95035,E.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:diag(95036,E.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:diag(95037,E.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:diag(95038,E.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:diag(95039,E.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:diag(95040,E.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:diag(95041,E.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:diag(95042,E.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:diag(95043,E.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:diag(95044,E.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:diag(95045,E.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:diag(95046,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:diag(95047,E.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:diag(95048,E.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:diag(95049,E.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:diag(95050,E.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:diag(95051,E.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:diag(95052,E.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:diag(95053,E.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:diag(95054,E.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:diag(95055,E.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:diag(95056,E.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:diag(95057,E.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:diag(95058,E.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:diag(95059,E.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:diag(95060,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:diag(95061,E.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:diag(95062,E.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:diag(95063,E.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:diag(95064,E.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:diag(95065,E.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:diag(95066,E.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:diag(95067,E.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:diag(95068,E.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:diag(95069,E.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:diag(95070,E.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:diag(95071,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:diag(95072,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:diag(95073,E.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:diag(95074,E.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:diag(95075,E.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:diag(95077,E.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:diag(95078,E.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:diag(95079,E.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:diag(95080,E.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:diag(95081,E.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:diag(95082,E.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:diag(95083,E.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:diag(95084,E.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:diag(95085,E.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:diag(95086,E.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:diag(95087,E.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:diag(95088,E.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:diag(95089,E.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:diag(95090,E.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:diag(95091,E.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:diag(95092,E.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:diag(95093,E.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:diag(95094,E.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:diag(95095,E.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:diag(95096,E.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:diag(95097,E.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:diag(95098,E.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:diag(95099,E.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:diag(95100,E.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:diag(95101,E.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:diag(95102,E.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:diag(95103,E.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:diag(95104,E.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:diag(95105,E.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:diag(95106,E.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:diag(95107,E.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:diag(95108,E.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:diag(95109,E.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:diag(95110,E.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:diag(95111,E.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:diag(95112,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:diag(95113,E.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:diag(95114,E.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:diag(95115,E.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:diag(95116,E.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:diag(95117,E.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:diag(95118,E.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:diag(95119,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:diag(95120,E.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:diag(95121,E.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:diag(95122,E.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:diag(95123,E.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:diag(95124,E.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:diag(95125,E.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:diag(95126,E.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:diag(95127,E.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:diag(95128,E.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:diag(95129,E.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:diag(95130,E.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:diag(95131,E.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:diag(95132,E.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:diag(95133,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:diag(95134,E.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:diag(95135,E.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:diag(95136,E.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:diag(95137,E.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:diag(95138,E.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:diag(95139,E.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:diag(95140,E.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:diag(95141,E.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:diag(95142,E.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:diag(95143,E.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:diag(95144,E.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:diag(95145,E.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:diag(95146,E.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:diag(95147,E.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:diag(95148,E.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:diag(95149,E.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:diag(95150,E.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:diag(95151,E.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:diag(95152,E.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:diag(95153,E.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:diag(95154,E.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:diag(95155,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:diag(95156,E.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:diag(95157,E.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:diag(95158,E.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:diag(95159,E.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:diag(95160,E.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:diag(95161,E.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:diag(95162,E.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:diag(95163,E.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:diag(95164,E.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:diag(95165,E.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:diag(95166,E.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:diag(95167,E.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:diag(95168,E.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:diag(18004,E.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:diag(18006,E.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:diag(18007,E.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:diag(18009,E.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:diag(18010,E.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:diag(18011,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:diag(18012,E.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:diag(18013,E.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:diag(18014,E.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:diag(18015,E.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:diag(18016,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:diag(18017,E.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:diag(18018,E.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:diag(18019,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:diag(18024,E.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:diag(18026,E.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:diag(18027,E.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:diag(18028,E.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:diag(18029,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:diag(18030,E.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:diag(18031,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:diag(18032,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:diag(18033,E.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:diag(18034,E.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(18035,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:diag(18036,E.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:diag(18037,E.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:diag(18038,E.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:diag(18039,E.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:diag(18041,E.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block.")}})(ce||(ce={}));var ce;(function(E){var N;function tokenIsIdentifierOrKeyword(E){return E>=79}E.tokenIsIdentifierOrKeyword=tokenIsIdentifierOrKeyword;function tokenIsIdentifierOrKeywordOrGreaterThan(E){return E===31||tokenIsIdentifierOrKeyword(E)}E.tokenIsIdentifierOrKeywordOrGreaterThan=tokenIsIdentifierOrKeywordOrGreaterThan;E.textToKeywordObj=(N={abstract:126,any:129,as:127,asserts:128,bigint:156,boolean:132,break:81,case:82,catch:83,class:84,continue:86,const:85},N[""+"constructor"]=133,N.debugger=87,N.declare=134,N.default=88,N.delete=89,N.do=90,N.else=91,N.enum=92,N.export=93,N.extends=94,N.false=95,N.finally=96,N.for=97,N.from=154,N.function=98,N.get=135,N.if=99,N.implements=117,N.import=100,N.in=101,N.infer=136,N.instanceof=102,N.interface=118,N.intrinsic=137,N.is=138,N.keyof=139,N.let=119,N.module=140,N.namespace=141,N.never=142,N.new=103,N.null=104,N.number=145,N.object=146,N.package=120,N.private=121,N.protected=122,N.public=123,N.override=157,N.readonly=143,N.require=144,N.global=155,N.return=105,N.set=147,N.static=124,N.string=148,N.super=106,N.switch=107,N.symbol=149,N.this=108,N.throw=109,N.true=110,N.try=111,N.type=150,N.typeof=112,N.undefined=151,N.unique=152,N.unknown=153,N.var=113,N.void=114,N.while=115,N.with=116,N.yield=125,N.async=130,N.await=131,N.of=158,N);var R=new E.Map(E.getEntries(E.textToKeywordObj));var j=new E.Map(E.getEntries($($({},E.textToKeywordObj),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61})));var q=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var G=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ie=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ae=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ce=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101];var le=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999];var _e=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/;var Ee=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function lookupInUnicodeMap(E,N){if(E=2?lookupInUnicodeMap(E,ce):N===1?lookupInUnicodeMap(E,ie):lookupInUnicodeMap(E,q)}E.isUnicodeIdentifierStart=isUnicodeIdentifierStart;function isUnicodeIdentifierPart(E,N){return N>=2?lookupInUnicodeMap(E,le):N===1?lookupInUnicodeMap(E,ae):lookupInUnicodeMap(E,G)}function makeReverseMap(E){var N=[];E.forEach((function(E,R){N[E]=R}));return N}var Te=makeReverseMap(j);function tokenToString(E){return Te[E]}E.tokenToString=tokenToString;function stringToToken(E){return j.get(E)}E.stringToToken=stringToToken;function computeLineStarts(E){var N=new Array;var R=0;var j=0;while(R127&&isLineBreak($)){N.push(j);j=R}break}}N.push(j);return N}E.computeLineStarts=computeLineStarts;function getPositionOfLineAndCharacter(E,N,R,j){return E.getPositionOfLineAndCharacter?E.getPositionOfLineAndCharacter(N,R,j):computePositionOfLineAndCharacter(getLineStarts(E),N,R,E.text,j)}E.getPositionOfLineAndCharacter=getPositionOfLineAndCharacter;function computePositionOfLineAndCharacter(N,R,j,$,q){if(R<0||R>=N.length){if(q){R=R<0?0:R>=N.length?N.length-1:R}else{E.Debug.fail("Bad line number. Line: "+R+", lineStarts.length: "+N.length+" , line map is correct? "+($!==undefined?E.arraysEqual(N,computeLineStarts($)):"unknown"))}}var G=N[R]+j;if(q){return G>N[R+1]?N[R+1]:typeof $==="string"&&G>$.length?$.length:G}if(R=8192&&E<=8203||E===8239||E===8287||E===12288||E===65279}E.isWhiteSpaceSingleLine=isWhiteSpaceSingleLine;function isLineBreak(E){return E===10||E===13||E===8232||E===8233}E.isLineBreak=isLineBreak;function isDigit(E){return E>=48&&E<=57}function isHexDigit(E){return isDigit(E)||E>=65&&E<=70||E>=97&&E<=102}function isCodePoint(E){return E<=1114111}function isOctalDigit(E){return E>=48&&E<=55}E.isOctalDigit=isOctalDigit;function couldStartTrivia(E,N){var R=E.charCodeAt(N);switch(R){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return true;case 35:return N===0;default:return R>127}}E.couldStartTrivia=couldStartTrivia;function skipTrivia(N,R,j,$,q){if(E.positionIsSynthesized(R)){return R}var G=false;while(true){var ie=N.charCodeAt(R);switch(ie){case 13:if(N.charCodeAt(R+1)===10){R++}case 10:R++;if(j){return R}G=!!q;continue;case 9:case 11:case 12:case 32:R++;continue;case 47:if($){break}if(N.charCodeAt(R+1)===47){R+=2;while(R127&&isWhiteSpaceLike(ie)){R++;continue}break}return R}}E.skipTrivia=skipTrivia;var we="<<<<<<<".length;function isConflictMarkerTrivia(N,R){E.Debug.assert(R>=0);if(R===0||isLineBreak(N.charCodeAt(R-1))){var j=N.charCodeAt(R);if(R+we=0&&R127&&isWhiteSpaceLike(Ie)){if(_e&&isLineBreak(Ie)){le=true}R++;continue}break e}}if(_e){Te=$(ie,ae,ce,le,q,Te)}return Te}function forEachLeadingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,false,R,j)}E.forEachLeadingCommentRange=forEachLeadingCommentRange;function forEachTrailingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,true,R,j)}E.forEachTrailingCommentRange=forEachTrailingCommentRange;function reduceEachLeadingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,false,R,j,$)}E.reduceEachLeadingCommentRange=reduceEachLeadingCommentRange;function reduceEachTrailingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,true,R,j,$)}E.reduceEachTrailingCommentRange=reduceEachTrailingCommentRange;function appendCommentRange(E,N,R,j,$,q){if(!q){q=[]}q.push({kind:R,pos:E,end:N,hasTrailingNewLine:j});return q}function getLeadingCommentRanges(E,N){return reduceEachLeadingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getLeadingCommentRanges=getLeadingCommentRanges;function getTrailingCommentRanges(E,N){return reduceEachTrailingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getTrailingCommentRanges=getTrailingCommentRanges;function getShebang(E){var N=Ie.exec(E);if(N){return N[0]}}E.getShebang=getShebang;function isIdentifierStart(E,N){return E>=65&&E<=90||E>=97&&E<=122||E===36||E===95||E>127&&isUnicodeIdentifierStart(E,N)}E.isIdentifierStart=isIdentifierStart;function isIdentifierPart(E,N,R){return E>=65&&E<=90||E>=97&&E<=122||E>=48&&E<=57||E===36||E===95||(R===1?E===45||E===58:false)||E>127&&isUnicodeIdentifierPart(E,N)}E.isIdentifierPart=isIdentifierPart;function isIdentifierText(E,N,R){var j=Ne(E,0);if(!isIdentifierStart(j,N)){return false}for(var $=charSize(j);$116},isReservedWord:function(){return Me>=81&&Me<=116},isUnterminated:function(){return(Be&4)!==0},getCommentDirectives:function(){return je},getNumericLiteralFlags:function(){return Be&1008},getTokenFlags:function(){return Be},reScanGreaterToken:reScanGreaterToken,reScanAsteriskEqualsToken:reScanAsteriskEqualsToken,reScanSlashToken:reScanSlashToken,reScanTemplateToken:reScanTemplateToken,reScanTemplateHeadOrNoSubstitutionTemplate:reScanTemplateHeadOrNoSubstitutionTemplate,scanJsxIdentifier:scanJsxIdentifier,scanJsxAttributeValue:scanJsxAttributeValue,reScanJsxAttributeValue:reScanJsxAttributeValue,reScanJsxToken:reScanJsxToken,reScanLessThanToken:reScanLessThanToken,reScanHashToken:reScanHashToken,reScanQuestionToken:reScanQuestionToken,reScanInvalidIdentifier:reScanInvalidIdentifier,scanJsxToken:scanJsxToken,scanJsDocToken:scanJsDocToken,scan:scan,getText:getText,clearCommentDirectives:clearCommentDirectives,setText:setText,setScriptTarget:setScriptTarget,setLanguageVariant:setLanguageVariant,setOnError:setOnError,setTextPos:setTextPos,setInJSDocType:setInJSDocType,tryScan:tryScan,lookAhead:lookAhead,scanRange:scanRange};if(E.Debug.isDebugging){Object.defineProperty(ze,"__debugShowCurrentPositionInText",{get:function(){var E=ze.getText();return E.slice(0,ze.getStartPos())+"║"+E.slice(ze.getStartPos())}})}return ze;function error(E,N,R){if(N===void 0){N=le}if(G){var j=le;le=N;G(E,R||0);le=j}}function scanNumberFragment(){var N=le;var R=false;var j=false;var $="";while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(R){R=false;j=true;$+=ce.substring(N,le)}else if(j){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;N=le;continue}if(isDigit(q)){R=true;j=false;le++;continue}break}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return $+ce.substring(N,le)}function scanNumber(){var N=le;var R=scanNumberFragment();var j;var $;if(ce.charCodeAt(le)===46){le++;j=scanNumberFragment()}var q=le;if(ce.charCodeAt(le)===69||ce.charCodeAt(le)===101){le++;Be|=16;if(ce.charCodeAt(le)===43||ce.charCodeAt(le)===45)le++;var G=le;var ie=scanNumberFragment();if(!ie){error(E.Diagnostics.Digit_expected)}else{$=ce.substring(q,G)+ie;q=le}}var ae;if(Be&512){ae=R;if(j){ae+="."+j}if($){ae+=$}}else{ae=ce.substring(N,q)}if(j!==undefined||Be&16){checkForIdentifierStartAfterNumericLiteral(N,j===undefined&&!!(Be&16));return{type:8,value:""+ +ae}}else{Le=ae;var _e=checkBigIntSuffix();checkForIdentifierStartAfterNumericLiteral(N);return{type:_e,value:Le}}}function checkForIdentifierStartAfterNumericLiteral(R,j){if(!isIdentifierStart(Ne(ce,le),N)){return}var $=le;var q=scanIdentifierParts().length;if(q===1&&ce[$]==="n"){if(j){error(E.Diagnostics.A_bigint_literal_cannot_use_exponential_notation,R,$-R+1)}else{error(E.Diagnostics.A_bigint_literal_must_be_an_integer,R,$-R+1)}}else{error(E.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,$,q);le=$}}function scanOctalDigits(){var E=le;while(isOctalDigit(ce.charCodeAt(le))){le++}return+ce.substring(E,le)}function scanExactNumberOfHexDigits(E,N){var R=scanHexDigits(E,false,N);return R?parseInt(R,16):-1}function scanMinimumNumberOfHexDigits(E,N){return scanHexDigits(E,true,N)}function scanHexDigits(N,R,j){var $=[];var q=false;var G=false;while($.length=65&&ie<=70){ie+=97-65}else if(!(ie>=48&&ie<=57||ie>=97&&ie<=102)){break}$.push(ie);le++;G=false}if($.length=Te){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}var q=ce.charCodeAt(le);if(q===R){j+=ce.substring($,le);le++;break}if(q===92&&!N){j+=ce.substring($,le);j+=scanEscapeSequence();$=le;continue}if(isLineBreak(q)&&!N){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}le++}return j}function scanTemplateAndSetTokenValue(N){var R=ce.charCodeAt(le)===96;le++;var j=le;var $="";var q;while(true){if(le>=Te){$+=ce.substring(j,le);Be|=4;error(E.Diagnostics.Unterminated_template_literal);q=R?14:17;break}var G=ce.charCodeAt(le);if(G===96){$+=ce.substring(j,le);le++;q=R?14:17;break}if(G===36&&le+1=Te){error(E.Diagnostics.Unexpected_end_of_text);return""}var j=ce.charCodeAt(le);le++;switch(j){case 48:if(N&&le=0){return String.fromCharCode(R)}else{error(E.Diagnostics.Hexadecimal_digit_expected);return""}}function scanExtendedUnicodeEscape(){var N=scanMinimumNumberOfHexDigits(1,false);var R=N?parseInt(N,16):-1;var j=false;if(R<0){error(E.Diagnostics.Hexadecimal_digit_expected);j=true}else if(R>1114111){error(E.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);j=true}if(le>=Te){error(E.Diagnostics.Unexpected_end_of_text);j=true}else if(ce.charCodeAt(le)===125){le++}else{error(E.Diagnostics.Unterminated_Unicode_escape_sequence);j=true}if(j){return""}return utf16EncodeAsString(R)}function peekUnicodeEscape(){if(le+5=2&&Ne(ce,le+1)===117&&Ne(ce,le+2)===123){var E=le;le+=3;var R=scanMinimumNumberOfHexDigits(1,false);var j=R?parseInt(R,16):-1;le=E;return j}return-1}function scanIdentifierParts(){var E="";var R=le;while(le=0&&isIdentifierPart(j,N)){le+=3;Be|=8;E+=scanExtendedUnicodeEscape();R=le;continue}j=peekUnicodeEscape();if(!(j>=0&&isIdentifierPart(j,N))){break}Be|=1024;E+=ce.substring(R,le);E+=utf16EncodeAsString(j);le+=6;R=le}else{break}}E+=ce.substring(R,le);return E}function getIdentifierToken(){var E=Le.length;if(E>=2&&E<=12){var N=Le.charCodeAt(0);if(N>=97&&N<=122){var j=R.get(Le);if(j!==undefined){return Me=j}}}return Me=79}function scanBinaryOrOctalDigits(N){var R="";var j=false;var $=false;while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(j){j=false;$=true}else if($){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;continue}j=true;if(!isDigit(q)||q-48>=N){break}R+=ce[le];le++;$=false}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return R}function checkBigIntSuffix(){if(ce.charCodeAt(le)===110){Le+="n";if(Be&384){Le=E.parsePseudoBigInt(Le)+"n"}le++;return 9}else{var N=Be&128?parseInt(Le.slice(2),2):Be&256?parseInt(Le.slice(2),8):+Le;Le=""+N;return 8}}function scan(){var R;we=le;Be=0;var q=false;while(true){Ie=le;if(le>=Te){return Me=1}var G=Ne(ce,le);if(G===35&&le===0&&isShebangTrivia(ce,le)){le=scanShebangTrivia(ce,le);if(j){continue}else{return Me=6}}switch(G){case 10:case 13:Be|=1;if(j){le++;continue}else{if(G===13&&le+1=0&&isIdentifierStart(We,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var Je=peekUnicodeEscape();if(Je>=0&&isIdentifierStart(Je,N)){le+=6;Be|=1024;Le=String.fromCharCode(Je)+scanIdentifierParts();return Me=getIdentifierToken()}error(E.Diagnostics.Invalid_character);le++;return Me=0;case 35:if(le!==0&&ce[le+1]==="!"){error(E.Diagnostics.can_only_be_used_at_the_start_of_a_file);le++;return Me=0}if(isIdentifierStart(Ne(ce,le+1),N)){le++;scanIdentifier(Ne(ce,le),N)}else{Le=String.fromCharCode(Ne(ce,le));error(E.Diagnostics.Invalid_character,le++,charSize(G))}return Me=80;default:var Ve=scanIdentifier(G,N);if(Ve){return Me=Ve}else if(isWhiteSpaceSingleLine(G)){le+=charSize(G);continue}else if(isLineBreak(G)){Be|=1;le+=charSize(G);continue}var qe=charSize(G);error(E.Diagnostics.Invalid_character,le,qe);le+=qe;return Me=0}}}function reScanInvalidIdentifier(){E.Debug.assert(Me===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.");le=Ie=we;Be=0;var N=Ne(ce,le);var R=scanIdentifier(N,99);if(R){return Me=R}le+=charSize(N);return Me}function scanIdentifier(E,N){var R=E;if(isIdentifierStart(R,N)){le+=charSize(R);while(le=Te){return Me=1}var R=ce.charCodeAt(le);if(R===60){if(ce.charCodeAt(le+1)===47){le+=2;return Me=30}le++;return Me=29}if(R===123){le++;return Me=18}var j=0;while(le0){break}else if(!isWhiteSpaceLike(R)){j=le}le++}Le=ce.substring(we,le);return j===-1?12:11}function scanJsxIdentifier(){if(tokenIsIdentifierOrKeyword(Me)){var E=false;while(le=Te){return Me=1}var E=Ne(ce,le);le+=charSize(E);switch(E){case 9:case 11:case 12:case 32:while(le=0&&isIdentifierStart(R,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var j=peekUnicodeEscape();if(j>=0&&isIdentifierStart(j,N)){le+=6;Be|=1024;Le=String.fromCharCode(j)+scanIdentifierParts();return Me=getIdentifierToken()}le++;return Me=0}if(isIdentifierStart(E,N)){var $=E;while(le=0);le=N;we=N;Ie=N;Me=0;Le=undefined;Be=0}function setInJSDocType(E){Ue+=E?1:-1}}E.createScanner=createScanner;var Ne=String.prototype.codePointAt?function(E,N){return E.codePointAt(N)}:function codePointAt(E,N){var R=E.length;if(N<0||N>=R){return undefined}var j=E.charCodeAt(N);if(j>=55296&&j<=56319&&R>N+1){var $=E.charCodeAt(N+1);if($>=56320&&$<=57343){return(j-55296)*1024+$-56320+65536}}return j};function charSize(E){if(E>=65536){return 2}return 1}function utf16EncodeAsStringFallback(N){E.Debug.assert(0<=N&&N<=1114111);if(N<=65535){return String.fromCharCode(N)}var R=Math.floor((N-65536)/1024)+55296;var j=(N-65536)%1024+56320;return String.fromCharCode(R,j)}var Me=String.fromCodePoint?function(E){return String.fromCodePoint(E)}:utf16EncodeAsStringFallback;function utf16EncodeAsString(E){return Me(E)}E.utf16EncodeAsString=utf16EncodeAsString})(ce||(ce={}));var ce;(function(E){function isExternalModuleNameRelative(N){return E.pathIsRelative(N)||E.isRootedDiskPath(N)}E.isExternalModuleNameRelative=isExternalModuleNameRelative;function sortAndDeduplicateDiagnostics(N){return E.sortAndDeduplicate(N,E.compareDiagnostics)}E.sortAndDeduplicateDiagnostics=sortAndDeduplicateDiagnostics;function getDefaultLibFileName(E){switch(E.target){case 99:return"lib.esnext.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}E.getDefaultLibFileName=getDefaultLibFileName;function textSpanEnd(E){return E.start+E.length}E.textSpanEnd=textSpanEnd;function textSpanIsEmpty(E){return E.length===0}E.textSpanIsEmpty=textSpanIsEmpty;function textSpanContainsPosition(E,N){return N>=E.start&&N=E.pos&&N<=E.end}E.textRangeContainsPositionInclusive=textRangeContainsPositionInclusive;function textSpanContainsTextSpan(E,N){return N.start>=E.start&&textSpanEnd(N)<=textSpanEnd(E)}E.textSpanContainsTextSpan=textSpanContainsTextSpan;function textSpanOverlapsWith(E,N){return textSpanOverlap(E,N)!==undefined}E.textSpanOverlapsWith=textSpanOverlapsWith;function textSpanOverlap(E,N){var R=textSpanIntersection(E,N);return R&&R.length===0?undefined:R}E.textSpanOverlap=textSpanOverlap;function textSpanIntersectsWithTextSpan(E,N){return decodedTextSpanIntersectsWith(E.start,E.length,N.start,N.length)}E.textSpanIntersectsWithTextSpan=textSpanIntersectsWithTextSpan;function textSpanIntersectsWith(E,N,R){return decodedTextSpanIntersectsWith(E.start,E.length,N,R)}E.textSpanIntersectsWith=textSpanIntersectsWith;function decodedTextSpanIntersectsWith(E,N,R,j){var $=E+N;var q=R+j;return R<=$&&q>=E}E.decodedTextSpanIntersectsWith=decodedTextSpanIntersectsWith;function textSpanIntersectsWithPosition(E,N){return N<=textSpanEnd(E)&&N>=E.start}E.textSpanIntersectsWithPosition=textSpanIntersectsWithPosition;function textSpanIntersection(E,N){var R=Math.max(E.start,N.start);var j=Math.min(textSpanEnd(E),textSpanEnd(N));return R<=j?createTextSpanFromBounds(R,j):undefined}E.textSpanIntersection=textSpanIntersection;function createTextSpan(E,N){if(E<0){throw new Error("start < 0")}if(N<0){throw new Error("length < 0")}return{start:E,length:N}}E.createTextSpan=createTextSpan;function createTextSpanFromBounds(E,N){return createTextSpan(E,N-E)}E.createTextSpanFromBounds=createTextSpanFromBounds;function textChangeRangeNewSpan(E){return createTextSpan(E.span.start,E.newLength)}E.textChangeRangeNewSpan=textChangeRangeNewSpan;function textChangeRangeIsUnchanged(E){return textSpanIsEmpty(E.span)&&E.newLength===0}E.textChangeRangeIsUnchanged=textChangeRangeIsUnchanged;function createTextChangeRange(E,N){if(N<0){throw new Error("newLength < 0")}return{span:E,newLength:N}}E.createTextChangeRange=createTextChangeRange;E.unchangedTextChangeRange=createTextChangeRange(createTextSpan(0,0),0);function collapseTextChangeRangesAcrossMultipleVersions(N){if(N.length===0){return E.unchangedTextChangeRange}if(N.length===1){return N[0]}var R=N[0];var j=R.span.start;var $=textSpanEnd(R.span);var q=j+R.newLength;for(var G=1;G=2&&E.charCodeAt(0)===95&&E.charCodeAt(1)===95?"_"+E:E}E.escapeLeadingUnderscores=escapeLeadingUnderscores;function unescapeLeadingUnderscores(E){var N=E;return N.length>=3&&N.charCodeAt(0)===95&&N.charCodeAt(1)===95&&N.charCodeAt(2)===95?N.substr(1):N}E.unescapeLeadingUnderscores=unescapeLeadingUnderscores;function idText(E){return unescapeLeadingUnderscores(E.escapedText)}E.idText=idText;function symbolName(E){if(E.valueDeclaration&&isPrivateIdentifierClassElementDeclaration(E.valueDeclaration)){return idText(E.valueDeclaration.name)}return unescapeLeadingUnderscores(E.escapedName)}E.symbolName=symbolName;function nameForNamelessJSDocTypedef(N){var R=N.parent.parent;if(!R){return undefined}if(isDeclaration(R)){return getDeclarationIdentifier(R)}switch(R.kind){case 235:if(R.declarationList&&R.declarationList.declarations[0]){return getDeclarationIdentifier(R.declarationList.declarations[0])}break;case 236:var j=R.expression;if(j.kind===219&&j.operatorToken.kind===63){j=j.left}switch(j.kind){case 204:return j.name;case 205:var $=j.argumentExpression;if(E.isIdentifier($)){return $}}break;case 210:{return getDeclarationIdentifier(R.expression)}case 248:{if(isDeclaration(R.statement)||isExpression(R.statement)){return getDeclarationIdentifier(R.statement)}break}}}function getDeclarationIdentifier(N){var R=getNameOfDeclaration(N);return R&&E.isIdentifier(R)?R:undefined}function nodeHasName(N,R){if(isNamedDeclaration(N)&&E.isIdentifier(N.name)&&idText(N.name)===idText(R)){return true}if(E.isVariableStatement(N)&&E.some(N.declarationList.declarations,(function(E){return nodeHasName(E,R)}))){return true}return false}E.nodeHasName=nodeHasName;function getNameOfJSDocTypedef(E){return E.name||nameForNamelessJSDocTypedef(E)}E.getNameOfJSDocTypedef=getNameOfJSDocTypedef;function isNamedDeclaration(E){return!!E.name}E.isNamedDeclaration=isNamedDeclaration;function getNonAssignedNameOfDeclaration(N){switch(N.kind){case 79:return N;case 342:case 335:{var R=N.name;if(R.kind===159){return R.right}break}case 206:case 219:{var j=N;switch(E.getAssignmentDeclarationKind(j)){case 1:case 4:case 5:case 3:return E.getElementOrPropertyAccessArgumentExpressionOrName(j.left);case 7:case 8:case 9:return j.arguments[1];default:return undefined}}case 340:return getNameOfJSDocTypedef(N);case 334:return nameForNamelessJSDocTypedef(N);case 269:{var $=N.expression;return E.isIdentifier($)?$:undefined}case 205:var q=N;if(E.isBindableStaticElementAccessExpression(q)){return q.argumentExpression}}return N.name}E.getNonAssignedNameOfDeclaration=getNonAssignedNameOfDeclaration;function getNameOfDeclaration(N){if(N===undefined)return undefined;return getNonAssignedNameOfDeclaration(N)||(E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isClassExpression(N)?getAssignedName(N):undefined)}E.getNameOfDeclaration=getNameOfDeclaration;function getAssignedName(N){if(!N.parent){return undefined}else if(E.isPropertyAssignment(N.parent)||E.isBindingElement(N.parent)){return N.parent.name}else if(E.isBinaryExpression(N.parent)&&N===N.parent.right){if(E.isIdentifier(N.parent.left)){return N.parent.left}else if(E.isAccessExpression(N.parent.left)){return E.getElementOrPropertyAccessArgumentExpressionOrName(N.parent.left)}}else if(E.isVariableDeclaration(N.parent)&&E.isIdentifier(N.parent.name)){return N.parent.name}}E.getAssignedName=getAssignedName;function getJSDocParameterTagsWorker(N,R){if(N.name){if(E.isIdentifier(N.name)){var j=N.name.escapedText;return getJSDocTagsWorker(N.parent,R).filter((function(N){return E.isJSDocParameterTag(N)&&E.isIdentifier(N.name)&&N.name.escapedText===j}))}else{var $=N.parent.parameters.indexOf(N);E.Debug.assert($>-1,"Parameters should always be in their parents' parameter list");var q=getJSDocTagsWorker(N.parent,R).filter(E.isJSDocParameterTag);if($=159}E.isNodeKind=isNodeKind;function isTokenKind(E){return E>=0&&E<=158}E.isTokenKind=isTokenKind;function isToken(E){return isTokenKind(E.kind)}E.isToken=isToken;function isNodeArray(E){return E.hasOwnProperty("pos")&&E.hasOwnProperty("end")}E.isNodeArray=isNodeArray;function isLiteralKind(E){return 8<=E&&E<=14}E.isLiteralKind=isLiteralKind;function isLiteralExpression(E){return isLiteralKind(E.kind)}E.isLiteralExpression=isLiteralExpression;function isTemplateLiteralKind(E){return 14<=E&&E<=17}E.isTemplateLiteralKind=isTemplateLiteralKind;function isTemplateLiteralToken(E){return isTemplateLiteralKind(E.kind)}E.isTemplateLiteralToken=isTemplateLiteralToken;function isTemplateMiddleOrTemplateTail(E){var N=E.kind;return N===16||N===17}E.isTemplateMiddleOrTemplateTail=isTemplateMiddleOrTemplateTail;function isImportOrExportSpecifier(N){return E.isImportSpecifier(N)||E.isExportSpecifier(N)}E.isImportOrExportSpecifier=isImportOrExportSpecifier;function isTypeOnlyImportOrExportDeclaration(E){switch(E.kind){case 268:case 273:return E.parent.parent.isTypeOnly;case 266:return E.parent.isTypeOnly;case 265:case 263:return E.isTypeOnly;default:return false}}E.isTypeOnlyImportOrExportDeclaration=isTypeOnlyImportOrExportDeclaration;function isStringTextContainingNode(E){return E.kind===10||isTemplateLiteralKind(E.kind)}E.isStringTextContainingNode=isStringTextContainingNode;function isGeneratedIdentifier(N){return E.isIdentifier(N)&&(N.autoGenerateFlags&7)>0}E.isGeneratedIdentifier=isGeneratedIdentifier;function isPrivateIdentifierClassElementDeclaration(N){return(E.isPropertyDeclaration(N)||isMethodOrAccessor(N))&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierClassElementDeclaration=isPrivateIdentifierClassElementDeclaration;function isPrivateIdentifierPropertyAccessExpression(N){return E.isPropertyAccessExpression(N)&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierPropertyAccessExpression=isPrivateIdentifierPropertyAccessExpression;function isModifierKind(E){switch(E){case 126:case 130:case 85:case 134:case 88:case 93:case 123:case 121:case 122:case 143:case 124:case 157:return true}return false}E.isModifierKind=isModifierKind;function isParameterPropertyModifier(N){return!!(E.modifierToFlag(N)&16476)}E.isParameterPropertyModifier=isParameterPropertyModifier;function isClassMemberModifier(E){return isParameterPropertyModifier(E)||E===124||E===157}E.isClassMemberModifier=isClassMemberModifier;function isModifier(E){return isModifierKind(E.kind)}E.isModifier=isModifier;function isEntityName(E){var N=E.kind;return N===159||N===79}E.isEntityName=isEntityName;function isPropertyName(E){var N=E.kind;return N===79||N===80||N===10||N===8||N===160}E.isPropertyName=isPropertyName;function isBindingName(E){var N=E.kind;return N===79||N===199||N===200}E.isBindingName=isBindingName;function isFunctionLike(E){return!!E&&isFunctionLikeKind(E.kind)}E.isFunctionLike=isFunctionLike;function isFunctionLikeOrClassStaticBlockDeclaration(N){return!!N&&(isFunctionLikeKind(N.kind)||E.isClassStaticBlockDeclaration(N))}E.isFunctionLikeOrClassStaticBlockDeclaration=isFunctionLikeOrClassStaticBlockDeclaration;function isFunctionLikeDeclaration(E){return E&&isFunctionLikeDeclarationKind(E.kind)}E.isFunctionLikeDeclaration=isFunctionLikeDeclaration;function isBooleanLiteral(E){return E.kind===110||E.kind===95}E.isBooleanLiteral=isBooleanLiteral;function isFunctionLikeDeclarationKind(E){switch(E){case 254:case 167:case 169:case 170:case 171:case 211:case 212:return true;default:return false}}function isFunctionLikeKind(E){switch(E){case 166:case 172:case 318:case 173:case 174:case 177:case 312:case 178:return true;default:return isFunctionLikeDeclarationKind(E)}}E.isFunctionLikeKind=isFunctionLikeKind;function isFunctionOrModuleBlock(N){return E.isSourceFile(N)||E.isModuleBlock(N)||E.isBlock(N)&&isFunctionLike(N.parent)}E.isFunctionOrModuleBlock=isFunctionOrModuleBlock;function isClassElement(E){var N=E.kind;return N===169||N===165||N===167||N===170||N===171||N===174||N===168||N===232}E.isClassElement=isClassElement;function isClassLike(E){return E&&(E.kind===255||E.kind===224)}E.isClassLike=isClassLike;function isAccessor(E){return E&&(E.kind===170||E.kind===171)}E.isAccessor=isAccessor;function isMethodOrAccessor(E){switch(E.kind){case 167:case 170:case 171:return true;default:return false}}E.isMethodOrAccessor=isMethodOrAccessor;function isTypeElement(E){var N=E.kind;return N===173||N===172||N===164||N===166||N===174}E.isTypeElement=isTypeElement;function isClassOrTypeElement(E){return isTypeElement(E)||isClassElement(E)}E.isClassOrTypeElement=isClassOrTypeElement;function isObjectLiteralElementLike(E){var N=E.kind;return N===291||N===292||N===293||N===167||N===170||N===171}E.isObjectLiteralElementLike=isObjectLiteralElementLike;function isTypeNode(N){return E.isTypeNodeKind(N.kind)}E.isTypeNode=isTypeNode;function isFunctionOrConstructorTypeNode(E){switch(E.kind){case 177:case 178:return true}return false}E.isFunctionOrConstructorTypeNode=isFunctionOrConstructorTypeNode;function isBindingPattern(E){if(E){var N=E.kind;return N===200||N===199}return false}E.isBindingPattern=isBindingPattern;function isAssignmentPattern(E){var N=E.kind;return N===202||N===203}E.isAssignmentPattern=isAssignmentPattern;function isArrayBindingElement(E){var N=E.kind;return N===201||N===225}E.isArrayBindingElement=isArrayBindingElement;function isDeclarationBindingElement(E){switch(E.kind){case 252:case 162:case 201:return true}return false}E.isDeclarationBindingElement=isDeclarationBindingElement;function isBindingOrAssignmentPattern(E){return isObjectBindingOrAssignmentPattern(E)||isArrayBindingOrAssignmentPattern(E)}E.isBindingOrAssignmentPattern=isBindingOrAssignmentPattern;function isObjectBindingOrAssignmentPattern(E){switch(E.kind){case 199:case 203:return true}return false}E.isObjectBindingOrAssignmentPattern=isObjectBindingOrAssignmentPattern;function isObjectBindingOrAssignmentElement(E){switch(E.kind){case 201:case 291:case 292:case 293:return true}return false}E.isObjectBindingOrAssignmentElement=isObjectBindingOrAssignmentElement;function isArrayBindingOrAssignmentPattern(E){switch(E.kind){case 200:case 202:return true}return false}E.isArrayBindingOrAssignmentPattern=isArrayBindingOrAssignmentPattern;function isPropertyAccessOrQualifiedNameOrImportTypeNode(E){var N=E.kind;return N===204||N===159||N===198}E.isPropertyAccessOrQualifiedNameOrImportTypeNode=isPropertyAccessOrQualifiedNameOrImportTypeNode;function isPropertyAccessOrQualifiedName(E){var N=E.kind;return N===204||N===159}E.isPropertyAccessOrQualifiedName=isPropertyAccessOrQualifiedName;function isCallLikeExpression(E){switch(E.kind){case 278:case 277:case 206:case 207:case 208:case 163:return true;default:return false}}E.isCallLikeExpression=isCallLikeExpression;function isCallOrNewExpression(E){return E.kind===206||E.kind===207}E.isCallOrNewExpression=isCallOrNewExpression;function isTemplateLiteral(E){var N=E.kind;return N===221||N===14}E.isTemplateLiteral=isTemplateLiteral;function isLeftHandSideExpression(E){return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isLeftHandSideExpression=isLeftHandSideExpression;function isLeftHandSideExpressionKind(E){switch(E){case 204:case 205:case 207:case 206:case 276:case 277:case 280:case 208:case 202:case 210:case 203:case 224:case 211:case 79:case 13:case 8:case 9:case 10:case 14:case 221:case 95:case 104:case 108:case 110:case 106:case 228:case 229:case 100:return true;default:return false}}function isUnaryExpression(E){return isUnaryExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isUnaryExpression=isUnaryExpression;function isUnaryExpressionKind(E){switch(E){case 217:case 218:case 213:case 214:case 215:case 216:case 209:return true;default:return isLeftHandSideExpressionKind(E)}}function isUnaryExpressionWithWrite(E){switch(E.kind){case 218:return true;case 217:return E.operator===45||E.operator===46;default:return false}}E.isUnaryExpressionWithWrite=isUnaryExpressionWithWrite;function isExpression(E){return isExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isExpression=isExpression;function isExpressionKind(E){switch(E){case 220:case 222:case 212:case 219:case 223:case 227:case 225:case 346:case 345:return true;default:return isUnaryExpressionKind(E)}}function isAssertionExpression(E){var N=E.kind;return N===209||N===227}E.isAssertionExpression=isAssertionExpression;function isNotEmittedOrPartiallyEmittedNode(N){return E.isNotEmittedStatement(N)||E.isPartiallyEmittedExpression(N)}E.isNotEmittedOrPartiallyEmittedNode=isNotEmittedOrPartiallyEmittedNode;function isIterationStatement(E,N){switch(E.kind){case 240:case 241:case 242:case 238:case 239:return true;case 248:return N&&isIterationStatement(E.statement,N)}return false}E.isIterationStatement=isIterationStatement;function isScopeMarker(N){return E.isExportAssignment(N)||E.isExportDeclaration(N)}E.isScopeMarker=isScopeMarker;function hasScopeMarker(N){return E.some(N,isScopeMarker)}E.hasScopeMarker=hasScopeMarker;function needsScopeMarker(N){return!E.isAnyImportOrReExport(N)&&!E.isExportAssignment(N)&&!E.hasSyntacticModifier(N,1)&&!E.isAmbientModule(N)}E.needsScopeMarker=needsScopeMarker;function isExternalModuleIndicator(N){return E.isAnyImportOrReExport(N)||E.isExportAssignment(N)||E.hasSyntacticModifier(N,1)}E.isExternalModuleIndicator=isExternalModuleIndicator;function isForInOrOfStatement(E){return E.kind===241||E.kind===242}E.isForInOrOfStatement=isForInOrOfStatement;function isConciseBody(N){return E.isBlock(N)||isExpression(N)}E.isConciseBody=isConciseBody;function isFunctionBody(N){return E.isBlock(N)}E.isFunctionBody=isFunctionBody;function isForInitializer(N){return E.isVariableDeclarationList(N)||isExpression(N)}E.isForInitializer=isForInitializer;function isModuleBody(E){var N=E.kind;return N===260||N===259||N===79}E.isModuleBody=isModuleBody;function isNamespaceBody(E){var N=E.kind;return N===260||N===259}E.isNamespaceBody=isNamespaceBody;function isJSDocNamespaceBody(E){var N=E.kind;return N===79||N===259}E.isJSDocNamespaceBody=isJSDocNamespaceBody;function isNamedImportBindings(E){var N=E.kind;return N===267||N===266}E.isNamedImportBindings=isNamedImportBindings;function isModuleOrEnumDeclaration(E){return E.kind===259||E.kind===258}E.isModuleOrEnumDeclaration=isModuleOrEnumDeclaration;function isDeclarationKind(E){return E===212||E===201||E===255||E===224||E===168||E===169||E===258||E===294||E===273||E===254||E===211||E===170||E===265||E===263||E===268||E===256||E===283||E===167||E===166||E===259||E===262||E===266||E===272||E===162||E===291||E===165||E===164||E===171||E===292||E===257||E===161||E===252||E===340||E===333||E===342}function isDeclarationStatementKind(E){return E===254||E===274||E===255||E===256||E===257||E===258||E===259||E===264||E===263||E===270||E===269||E===262}function isStatementKindButNotDeclarationKind(E){return E===244||E===243||E===251||E===238||E===236||E===234||E===241||E===242||E===240||E===237||E===248||E===245||E===247||E===249||E===250||E===235||E===239||E===246||E===344||E===348||E===347}function isDeclaration(N){if(N.kind===161){return N.parent&&N.parent.kind!==339||E.isInJSFile(N)}return isDeclarationKind(N.kind)}E.isDeclaration=isDeclaration;function isDeclarationStatement(E){return isDeclarationStatementKind(E.kind)}E.isDeclarationStatement=isDeclarationStatement;function isStatementButNotDeclaration(E){return isStatementKindButNotDeclarationKind(E.kind)}E.isStatementButNotDeclaration=isStatementButNotDeclaration;function isStatement(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||isBlockStatement(E)}E.isStatement=isStatement;function isBlockStatement(N){if(N.kind!==233)return false;if(N.parent!==undefined){if(N.parent.kind===250||N.parent.kind===290){return false}}return!E.isFunctionBlock(N)}function isStatementOrBlock(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||N===233}E.isStatementOrBlock=isStatementOrBlock;function isModuleReference(E){var N=E.kind;return N===275||N===159||N===79}E.isModuleReference=isModuleReference;function isJsxTagNameExpression(E){var N=E.kind;return N===108||N===79||N===204}E.isJsxTagNameExpression=isJsxTagNameExpression;function isJsxChild(E){var N=E.kind;return N===276||N===286||N===277||N===11||N===280}E.isJsxChild=isJsxChild;function isJsxAttributeLike(E){var N=E.kind;return N===283||N===285}E.isJsxAttributeLike=isJsxAttributeLike;function isStringLiteralOrJsxExpression(E){var N=E.kind;return N===10||N===286}E.isStringLiteralOrJsxExpression=isStringLiteralOrJsxExpression;function isJsxOpeningLikeElement(E){var N=E.kind;return N===278||N===277}E.isJsxOpeningLikeElement=isJsxOpeningLikeElement;function isCaseOrDefaultClause(E){var N=E.kind;return N===287||N===288}E.isCaseOrDefaultClause=isCaseOrDefaultClause;function isJSDocNode(E){return E.kind>=304&&E.kind<=342}E.isJSDocNode=isJSDocNode;function isJSDocCommentContainingNode(N){return N.kind===315||N.kind===314||N.kind===316||isJSDocLinkLike(N)||isJSDocTag(N)||E.isJSDocTypeLiteral(N)||E.isJSDocSignature(N)}E.isJSDocCommentContainingNode=isJSDocCommentContainingNode;function isJSDocTag(E){return E.kind>=322&&E.kind<=342}E.isJSDocTag=isJSDocTag;function isSetAccessor(E){return E.kind===171}E.isSetAccessor=isSetAccessor;function isGetAccessor(E){return E.kind===170}E.isGetAccessor=isGetAccessor;function hasJSDocNodes(E){var N=E.jsDoc;return!!N&&N.length>0}E.hasJSDocNodes=hasJSDocNodes;function hasType(E){return!!E.type}E.hasType=hasType;function hasInitializer(E){return!!E.initializer}E.hasInitializer=hasInitializer;function hasOnlyExpressionInitializer(E){switch(E.kind){case 252:case 162:case 201:case 164:case 165:case 291:case 294:return true;default:return false}}E.hasOnlyExpressionInitializer=hasOnlyExpressionInitializer;function isObjectLiteralElement(E){return E.kind===283||E.kind===285||isObjectLiteralElementLike(E)}E.isObjectLiteralElement=isObjectLiteralElement;function isTypeReferenceType(E){return E.kind===176||E.kind===226}E.isTypeReferenceType=isTypeReferenceType;var N=1073741823;function guessIndentation(R){var j=N;for(var $=0,q=R;$=0);return E.getLineStarts(R)[N]}E.getStartPositionOfLine=getStartPositionOfLine;function nodePosToString(N){var R=getSourceFileOfNode(N);var j=E.getLineAndCharacterOfPosition(R,N.pos);return R.fileName+"("+(j.line+1)+","+(j.character+1)+")"}E.nodePosToString=nodePosToString;function getEndLinePosition(N,R){E.Debug.assert(N>=0);var j=E.getLineStarts(R);var $=N;var q=R.text;if($+1===j.length){return q.length-1}else{var G=j[$];var ie=j[$+1]-1;E.Debug.assert(E.isLineBreak(q.charCodeAt(ie)));while(G<=ie&&E.isLineBreak(q.charCodeAt(ie))){ie--}return ie}}E.getEndLinePosition=getEndLinePosition;function isFileLevelUniqueName(E,N,R){return!(R&&R(N))&&!E.identifiers.has(N)}E.isFileLevelUniqueName=isFileLevelUniqueName;function nodeIsMissing(E){if(E===undefined){return true}return E.pos===E.end&&E.pos>=0&&E.kind!==1}E.nodeIsMissing=nodeIsMissing;function nodeIsPresent(E){return!nodeIsMissing(E)}E.nodeIsPresent=nodeIsPresent;function insertStatementsAfterPrologue(E,N,R){if(N===undefined||N.length===0)return E;var $=0;for(;$0){return getTokenPosOfNode(N._children[0],R,j)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.pos,false,false,isInJSDoc(N))}E.getTokenPosOfNode=getTokenPosOfNode;function getNonDecoratorTokenPosOfNode(N,R){if(nodeIsMissing(N)||!N.decorators){return getTokenPosOfNode(N,R)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.decorators.end)}E.getNonDecoratorTokenPosOfNode=getNonDecoratorTokenPosOfNode;function getSourceTextOfNodeFromSourceFile(E,N,R){if(R===void 0){R=false}return getTextOfNodeFromSourceText(E.text,N,R)}E.getSourceTextOfNodeFromSourceFile=getSourceTextOfNodeFromSourceFile;function isJSDocTypeExpressionOrChild(N){return!!E.findAncestor(N,E.isJSDocTypeExpression)}function isExportNamespaceAsDefaultDeclaration(N){return!!(E.isExportDeclaration(N)&&N.exportClause&&E.isNamespaceExport(N.exportClause)&&N.exportClause.name.escapedText==="default")}E.isExportNamespaceAsDefaultDeclaration=isExportNamespaceAsDefaultDeclaration;function getTextOfNodeFromSourceText(N,R,j){if(j===void 0){j=false}if(nodeIsMissing(R)){return""}var $=N.substring(j?R.pos:E.skipTrivia(N,R.pos),R.end);if(isJSDocTypeExpressionOrChild(R)){$=$.split(/\r\n|\n|\r/).map((function(N){return E.trimStringStart(N.replace(/^\s*\*/,""))})).join("\n")}return $}E.getTextOfNodeFromSourceText=getTextOfNodeFromSourceText;function getTextOfNode(E,N){if(N===void 0){N=false}return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(E),E,N)}E.getTextOfNode=getTextOfNode;function getPos(E){return E.pos}function indexOfNode(N,R){return E.binarySearch(N,R,getPos,E.compareValues)}E.indexOfNode=indexOfNode;function getEmitFlags(E){var N=E.emitNode;return N&&N.flags||0}E.getEmitFlags=getEmitFlags;function getScriptTargetFeatures(){return{es2015:{Array:["find","findIndex","fill","copyWithin","entries","keys","values"],RegExp:["flags","sticky","unicode"],Reflect:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],ArrayConstructor:["from","of"],ObjectConstructor:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],NumberConstructor:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"],Math:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"],Map:["entries","keys","values"],Set:["entries","keys","values"],Promise:E.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:E.emptyArray,AsyncIterator:E.emptyArray,String:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],StringConstructor:["fromCodePoint","raw"]},es2016:{Array:["includes"]},es2017:{Atomics:E.emptyArray,SharedArrayBuffer:E.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:E.emptyArray,AsyncIterableIterator:E.emptyArray,AsyncGenerator:E.emptyArray,AsyncGeneratorFunction:E.emptyArray},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:E.emptyArray,BigInt64Array:E.emptyArray,BigUint64Array:E.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},esnext:{NumberFormat:["formatToParts"]}}}E.getScriptTargetFeatures=getScriptTargetFeatures;var R;(function(E){E[E["None"]=0]="None";E[E["NeverAsciiEscape"]=1]="NeverAsciiEscape";E[E["JsxAttributeEscape"]=2]="JsxAttributeEscape";E[E["TerminateUnterminatedLiterals"]=4]="TerminateUnterminatedLiterals";E[E["AllowNumericSeparator"]=8]="AllowNumericSeparator"})(R=E.GetLiteralTextFlags||(E.GetLiteralTextFlags={}));function getLiteralText(N,R,j){var $;if(canUseOriginalText(N,j)){return getSourceTextOfNodeFromSourceFile(R,N)}switch(N.kind){case 10:{var q=j&2?escapeJsxAttributeString:j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;if(N.singleQuote){return"'"+q(N.text,39)+"'"}else{return'"'+q(N.text,34)+'"'}}case 14:case 15:case 16:case 17:{var q=j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;var G=($=N.rawText)!==null&&$!==void 0?$:escapeTemplateSubstitution(q(N.text,96));switch(N.kind){case 14:return"`"+G+"`";case 15:return"`"+G+"${";case 16:return"}"+G+"${";case 17:return"}"+G+"`"}break}case 8:case 9:return N.text;case 13:if(j&4&&N.isUnterminated){return N.text+(N.text.charCodeAt(N.text.length-1)===92?" /":"/")}return N.text}return E.Debug.fail("Literal kind '"+N.kind+"' not accounted for.")}E.getLiteralText=getLiteralText;function canUseOriginalText(N,R){if(nodeIsSynthesized(N)||!N.parent||R&4&&N.isUnterminated){return false}if(E.isNumericLiteral(N)&&N.numericLiteralFlags&512){return!!(R&8)}return!E.isBigIntLiteral(N)}function getTextOfConstantValue(N){return E.isString(N)?'"'+escapeNonAsciiString(N)+'"':""+N}E.getTextOfConstantValue=getTextOfConstantValue;function makeIdentifierFromModuleName(N){return E.getBaseFileName(N).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}E.makeIdentifierFromModuleName=makeIdentifierFromModuleName;function isBlockOrCatchScoped(N){return(E.getCombinedNodeFlags(N)&3)!==0||isCatchClauseVariableDeclarationOrBindingElement(N)}E.isBlockOrCatchScoped=isBlockOrCatchScoped;function isCatchClauseVariableDeclarationOrBindingElement(E){var N=getRootDeclaration(E);return N.kind===252&&N.parent.kind===290}E.isCatchClauseVariableDeclarationOrBindingElement=isCatchClauseVariableDeclarationOrBindingElement;function isAmbientModule(N){return E.isModuleDeclaration(N)&&(N.name.kind===10||isGlobalScopeAugmentation(N))}E.isAmbientModule=isAmbientModule;function isModuleWithStringLiteralName(N){return E.isModuleDeclaration(N)&&N.name.kind===10}E.isModuleWithStringLiteralName=isModuleWithStringLiteralName;function isNonGlobalAmbientModule(N){return E.isModuleDeclaration(N)&&E.isStringLiteral(N.name)}E.isNonGlobalAmbientModule=isNonGlobalAmbientModule;function isEffectiveModuleDeclaration(N){return E.isModuleDeclaration(N)||E.isIdentifier(N)}E.isEffectiveModuleDeclaration=isEffectiveModuleDeclaration;function isShorthandAmbientModuleSymbol(E){return isShorthandAmbientModule(E.valueDeclaration)}E.isShorthandAmbientModuleSymbol=isShorthandAmbientModuleSymbol;function isShorthandAmbientModule(E){return!!E&&E.kind===259&&!E.body}function isBlockScopedContainerTopLevel(N){return N.kind===300||N.kind===259||E.isFunctionLikeOrClassStaticBlockDeclaration(N)}E.isBlockScopedContainerTopLevel=isBlockScopedContainerTopLevel;function isGlobalScopeAugmentation(E){return!!(E.flags&1024)}E.isGlobalScopeAugmentation=isGlobalScopeAugmentation;function isExternalModuleAugmentation(E){return isAmbientModule(E)&&isModuleAugmentationExternal(E)}E.isExternalModuleAugmentation=isExternalModuleAugmentation;function isModuleAugmentationExternal(N){switch(N.parent.kind){case 300:return E.isExternalModule(N.parent);case 260:return isAmbientModule(N.parent.parent)&&E.isSourceFile(N.parent.parent.parent)&&!E.isExternalModule(N.parent.parent.parent)}return false}E.isModuleAugmentationExternal=isModuleAugmentationExternal;function getNonAugmentationDeclaration(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find((function(N){return!isExternalModuleAugmentation(N)&&!(E.isModuleDeclaration(N)&&isGlobalScopeAugmentation(N))}))}E.getNonAugmentationDeclaration=getNonAugmentationDeclaration;function isEffectiveExternalModule(N,R){return E.isExternalModule(N)||R.isolatedModules||getEmitModuleKind(R)===E.ModuleKind.CommonJS&&!!N.commonJsModuleIndicator}E.isEffectiveExternalModule=isEffectiveExternalModule;function isEffectiveStrictModeSourceFile(N,R){switch(N.scriptKind){case 1:case 3:case 2:case 4:break;default:return false}if(N.isDeclarationFile){return false}if(getStrictOptionValue(R,"alwaysStrict")){return true}if(E.startsWithUseStrict(N.statements)){return true}if(E.isExternalModule(N)||R.isolatedModules){if(getEmitModuleKind(R)>=E.ModuleKind.ES2015){return true}return!R.noImplicitUseStrict}return false}E.isEffectiveStrictModeSourceFile=isEffectiveStrictModeSourceFile;function isBlockScope(N,R){switch(N.kind){case 300:case 261:case 290:case 259:case 240:case 241:case 242:case 169:case 167:case 170:case 171:case 254:case 211:case 212:case 165:case 168:return true;case 233:return!E.isFunctionLikeOrClassStaticBlockDeclaration(R)}return false}E.isBlockScope=isBlockScope;function isDeclarationWithTypeParameters(N){switch(N.kind){case 333:case 340:case 318:return true;default:E.assertType(N);return isDeclarationWithTypeParameterChildren(N)}}E.isDeclarationWithTypeParameters=isDeclarationWithTypeParameters;function isDeclarationWithTypeParameterChildren(N){switch(N.kind){case 172:case 173:case 166:case 174:case 177:case 178:case 312:case 255:case 224:case 256:case 257:case 339:case 254:case 167:case 169:case 170:case 171:case 211:case 212:return true;default:E.assertType(N);return false}}E.isDeclarationWithTypeParameterChildren=isDeclarationWithTypeParameterChildren;function isAnyImportSyntax(E){switch(E.kind){case 264:case 263:return true;default:return false}}E.isAnyImportSyntax=isAnyImportSyntax;function isLateVisibilityPaintedStatement(E){switch(E.kind){case 264:case 263:case 235:case 255:case 254:case 259:case 257:case 256:case 258:return true;default:return false}}E.isLateVisibilityPaintedStatement=isLateVisibilityPaintedStatement;function hasPossibleExternalModuleReference(N){return isAnyImportOrReExport(N)||E.isModuleDeclaration(N)||E.isImportTypeNode(N)||isImportCall(N)}E.hasPossibleExternalModuleReference=hasPossibleExternalModuleReference;function isAnyImportOrReExport(N){return isAnyImportSyntax(N)||E.isExportDeclaration(N)}E.isAnyImportOrReExport=isAnyImportOrReExport;function getEnclosingBlockScopeContainer(N){return E.findAncestor(N.parent,(function(E){return isBlockScope(E,E.parent)}))}E.getEnclosingBlockScopeContainer=getEnclosingBlockScopeContainer;function forEachEnclosingBlockScopeContainer(E,N){var R=getEnclosingBlockScopeContainer(E);while(R){N(R);R=getEnclosingBlockScopeContainer(R)}}E.forEachEnclosingBlockScopeContainer=forEachEnclosingBlockScopeContainer;function declarationNameToString(E){return!E||getFullWidth(E)===0?"(Missing)":getTextOfNode(E)}E.declarationNameToString=declarationNameToString;function getNameFromIndexInfo(E){return E.declaration?declarationNameToString(E.declaration.parameters[0].name):undefined}E.getNameFromIndexInfo=getNameFromIndexInfo;function isComputedNonLiteralName(E){return E.kind===160&&!isStringOrNumericLiteralLike(E.expression)}E.isComputedNonLiteralName=isComputedNonLiteralName;function getTextOfPropertyName(N){switch(N.kind){case 79:case 80:return N.escapedText;case 10:case 8:case 14:return E.escapeLeadingUnderscores(N.text);case 160:if(isStringOrNumericLiteralLike(N.expression))return E.escapeLeadingUnderscores(N.expression.text);return E.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return E.Debug.assertNever(N)}}E.getTextOfPropertyName=getTextOfPropertyName;function entityNameToString(N){switch(N.kind){case 108:return"this";case 80:case 79:return getFullWidth(N)===0?E.idText(N):getTextOfNode(N);case 159:return entityNameToString(N.left)+"."+entityNameToString(N.right);case 204:if(E.isIdentifier(N.name)||E.isPrivateIdentifier(N.name)){return entityNameToString(N.expression)+"."+entityNameToString(N.name)}else{return E.Debug.assertNever(N.name)}case 306:return entityNameToString(N.left)+entityNameToString(N.right);default:return E.Debug.assertNever(N)}}E.entityNameToString=entityNameToString;function createDiagnosticForNode(E,N,R,j,$,q){var G=getSourceFileOfNode(E);return createDiagnosticForNodeInSourceFile(G,E,N,R,j,$,q)}E.createDiagnosticForNode=createDiagnosticForNode;function createDiagnosticForNodeArray(N,R,j,$,q,G,ie){var ae=E.skipTrivia(N.text,R.pos);return createFileDiagnostic(N,ae,R.end-ae,j,$,q,G,ie)}E.createDiagnosticForNodeArray=createDiagnosticForNodeArray;function createDiagnosticForNodeInSourceFile(E,N,R,j,$,q,G){var ie=getErrorSpanForNode(E,N);return createFileDiagnostic(E,ie.start,ie.length,R,j,$,q,G)}E.createDiagnosticForNodeInSourceFile=createDiagnosticForNodeInSourceFile;function createDiagnosticForNodeFromMessageChain(E,N,R){var j=getSourceFileOfNode(E);var $=getErrorSpanForNode(j,E);return createFileDiagnosticFromMessageChain(j,$.start,$.length,N,R)}E.createDiagnosticForNodeFromMessageChain=createDiagnosticForNodeFromMessageChain;function assertDiagnosticLocation(N,R,j){E.Debug.assertGreaterThanOrEqual(R,0);E.Debug.assertGreaterThanOrEqual(j,0);if(N){E.Debug.assertLessThanOrEqual(R,N.text.length);E.Debug.assertLessThanOrEqual(R+j,N.text.length)}}function createFileDiagnosticFromMessageChain(E,N,R,j,$){assertDiagnosticLocation(E,N,R);return{file:E,start:N,length:R,code:j.code,category:j.category,messageText:j.next?j:j.messageText,relatedInformation:$}}E.createFileDiagnosticFromMessageChain=createFileDiagnosticFromMessageChain;function createDiagnosticForFileFromMessageChain(E,N,R){return{file:E,start:0,length:0,code:N.code,category:N.category,messageText:N.next?N:N.messageText,relatedInformation:R}}E.createDiagnosticForFileFromMessageChain=createDiagnosticForFileFromMessageChain;function createDiagnosticForRange(E,N,R){return{file:E,start:N.pos,length:N.end-N.pos,code:R.code,category:R.category,messageText:R.message}}E.createDiagnosticForRange=createDiagnosticForRange;function getSpanOfTokenAtPosition(N,R){var j=E.createScanner(N.languageVersion,true,N.languageVariant,N.text,undefined,R);j.scan();var $=j.getTokenPos();return E.createTextSpanFromBounds($,j.getTextPos())}E.getSpanOfTokenAtPosition=getSpanOfTokenAtPosition;function getErrorSpanForArrowFunction(N,R){var j=E.skipTrivia(N.text,R.pos);if(R.body&&R.body.kind===233){var $=E.getLineAndCharacterOfPosition(N,R.body.pos).line;var q=E.getLineAndCharacterOfPosition(N,R.body.end).line;if($0?R.statements[0].pos:R.end;return E.createTextSpanFromBounds(q,G)}if(j===undefined){return getSpanOfTokenAtPosition(N,R.pos)}E.Debug.assert(!E.isJSDoc(j));var ie=nodeIsMissing(j);var ae=ie||E.isJsxText(R)?j.pos:E.skipTrivia(N.text,j.pos);if(ie){E.Debug.assert(ae===j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae===j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}else{E.Debug.assert(ae>=j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae<=j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}return E.createTextSpanFromBounds(ae,j.end)}E.getErrorSpanForNode=getErrorSpanForNode;function isExternalOrCommonJsModule(E){return(E.externalModuleIndicator||E.commonJsModuleIndicator)!==undefined}E.isExternalOrCommonJsModule=isExternalOrCommonJsModule;function isJsonSourceFile(E){return E.scriptKind===6}E.isJsonSourceFile=isJsonSourceFile;function isEnumConst(N){return!!(E.getCombinedModifierFlags(N)&2048)}E.isEnumConst=isEnumConst;function isDeclarationReadonly(N){return!!(E.getCombinedModifierFlags(N)&64&&!E.isParameterPropertyDeclaration(N,N.parent))}E.isDeclarationReadonly=isDeclarationReadonly;function isVarConst(N){return!!(E.getCombinedNodeFlags(N)&2)}E.isVarConst=isVarConst;function isLet(N){return!!(E.getCombinedNodeFlags(N)&1)}E.isLet=isLet;function isSuperCall(E){return E.kind===206&&E.expression.kind===106}E.isSuperCall=isSuperCall;function isImportCall(E){return E.kind===206&&E.expression.kind===100}E.isImportCall=isImportCall;function isImportMeta(N){return E.isMetaProperty(N)&&N.keywordToken===100&&N.name.escapedText==="meta"}E.isImportMeta=isImportMeta;function isLiteralImportTypeNode(N){return E.isImportTypeNode(N)&&E.isLiteralTypeNode(N.argument)&&E.isStringLiteral(N.argument.literal)}E.isLiteralImportTypeNode=isLiteralImportTypeNode;function isPrologueDirective(E){return E.kind===236&&E.expression.kind===10}E.isPrologueDirective=isPrologueDirective;function isCustomPrologue(E){return!!(getEmitFlags(E)&1048576)}E.isCustomPrologue=isCustomPrologue;function isHoistedFunction(N){return isCustomPrologue(N)&&E.isFunctionDeclaration(N)}E.isHoistedFunction=isHoistedFunction;function isHoistedVariable(N){return E.isIdentifier(N.name)&&!N.initializer}function isHoistedVariableStatement(N){return isCustomPrologue(N)&&E.isVariableStatement(N)&&E.every(N.declarationList.declarations,isHoistedVariable)}E.isHoistedVariableStatement=isHoistedVariableStatement;function getLeadingCommentRangesOfNode(N,R){return N.kind!==11?E.getLeadingCommentRanges(R.text,N.pos):undefined}E.getLeadingCommentRangesOfNode=getLeadingCommentRangesOfNode;function getJSDocCommentRanges(N,R){var j=N.kind===162||N.kind===161||N.kind===211||N.kind===212||N.kind===210||N.kind===252?E.concatenate(E.getTrailingCommentRanges(R,N.pos),E.getLeadingCommentRanges(R,N.pos)):E.getLeadingCommentRanges(R,N.pos);return E.filter(j,(function(E){return R.charCodeAt(E.pos+1)===42&&R.charCodeAt(E.pos+2)===42&&R.charCodeAt(E.pos+3)!==47}))}E.getJSDocCommentRanges=getJSDocCommentRanges;E.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var q=/^(\/\/\/\s*/;E.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var G=/^(\/\/\/\s*/;function isPartOfTypeNode(N){if(175<=N.kind&&N.kind<=198){return true}switch(N.kind){case 129:case 153:case 145:case 156:case 148:case 132:case 149:case 146:case 151:case 142:return true;case 114:return N.parent.kind!==215;case 226:return!isExpressionWithTypeArgumentsInClassExtendsClause(N);case 161:return N.parent.kind===193||N.parent.kind===188;case 79:if(N.parent.kind===159&&N.parent.right===N){N=N.parent}else if(N.parent.kind===204&&N.parent.name===N){N=N.parent}E.Debug.assert(N.kind===79||N.kind===159||N.kind===204,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 159:case 204:case 108:{var R=N.parent;if(R.kind===179){return false}if(R.kind===198){return!R.isTypeOf}if(175<=R.kind&&R.kind<=198){return true}switch(R.kind){case 226:return!isExpressionWithTypeArgumentsInClassExtendsClause(R);case 161:return N===R.constraint;case 339:return N===R.constraint;case 165:case 164:case 162:case 252:return N===R.type;case 254:case 211:case 212:case 169:case 167:case 166:case 170:case 171:return N===R.type;case 172:case 173:case 174:return N===R.type;case 209:return N===R.type;case 206:case 207:return E.contains(R.typeArguments,N);case 208:return false}}}return false}E.isPartOfTypeNode=isPartOfTypeNode;function isChildOfNodeWithKind(E,N){while(E){if(E.kind===N){return true}E=E.parent}return false}E.isChildOfNodeWithKind=isChildOfNodeWithKind;function forEachReturnStatement(N,R){return traverse(N);function traverse(N){switch(N.kind){case 245:return R(N);case 261:case 233:case 237:case 238:case 239:case 240:case 241:case 242:case 246:case 247:case 287:case 288:case 248:case 250:case 290:return E.forEachChild(N,traverse)}}}E.forEachReturnStatement=forEachReturnStatement;function forEachYieldExpression(N,R){return traverse(N);function traverse(N){switch(N.kind){case 222:R(N);var j=N.expression;if(j){traverse(j)}return;case 258:case 256:case 259:case 257:return;default:if(E.isFunctionLike(N)){if(N.name&&N.name.kind===160){traverse(N.name.expression);return}}else if(!isPartOfTypeNode(N)){E.forEachChild(N,traverse)}}}}E.forEachYieldExpression=forEachYieldExpression;function getRestParameterElementType(N){if(N&&N.kind===181){return N.elementType}else if(N&&N.kind===176){return E.singleOrUndefined(N.typeArguments)}else{return undefined}}E.getRestParameterElementType=getRestParameterElementType;function getMembersOfDeclaration(E){switch(E.kind){case 256:case 255:case 224:case 180:return E.members;case 203:return E.properties}}E.getMembersOfDeclaration=getMembersOfDeclaration;function isVariableLike(E){if(E){switch(E.kind){case 201:case 294:case 162:case 291:case 165:case 164:case 292:case 252:return true}}return false}E.isVariableLike=isVariableLike;function isVariableLikeOrAccessor(N){return isVariableLike(N)||E.isAccessor(N)}E.isVariableLikeOrAccessor=isVariableLikeOrAccessor;function isVariableDeclarationInVariableStatement(E){return E.parent.kind===253&&E.parent.parent.kind===235}E.isVariableDeclarationInVariableStatement=isVariableDeclarationInVariableStatement;function isValidESSymbolDeclaration(N){return E.isVariableDeclaration(N)?isVarConst(N)&&E.isIdentifier(N.name)&&isVariableDeclarationInVariableStatement(N):E.isPropertyDeclaration(N)?hasEffectiveReadonlyModifier(N)&&hasStaticModifier(N):E.isPropertySignature(N)&&hasEffectiveReadonlyModifier(N)}E.isValidESSymbolDeclaration=isValidESSymbolDeclaration;function introducesArgumentsExoticObject(E){switch(E.kind){case 167:case 166:case 169:case 170:case 171:case 254:case 211:return true}return false}E.introducesArgumentsExoticObject=introducesArgumentsExoticObject;function unwrapInnermostStatementOfLabel(E,N){while(true){if(N){N(E)}if(E.statement.kind!==248){return E.statement}E=E.statement}}E.unwrapInnermostStatementOfLabel=unwrapInnermostStatementOfLabel;function isFunctionBlock(N){return N&&N.kind===233&&E.isFunctionLike(N.parent)}E.isFunctionBlock=isFunctionBlock;function isObjectLiteralMethod(E){return E&&E.kind===167&&E.parent.kind===203}E.isObjectLiteralMethod=isObjectLiteralMethod;function isObjectLiteralOrClassExpressionMethod(E){return E.kind===167&&(E.parent.kind===203||E.parent.kind===224)}E.isObjectLiteralOrClassExpressionMethod=isObjectLiteralOrClassExpressionMethod;function isIdentifierTypePredicate(E){return E&&E.kind===1}E.isIdentifierTypePredicate=isIdentifierTypePredicate;function isThisTypePredicate(E){return E&&E.kind===0}E.isThisTypePredicate=isThisTypePredicate;function getPropertyAssignment(E,N,R){return E.properties.filter((function(E){if(E.kind===291){var j=getTextOfPropertyName(E.name);return N===j||!!R&&R===j}return false}))}E.getPropertyAssignment=getPropertyAssignment;function getPropertyArrayElementValue(N,R,j){return E.firstDefined(getPropertyAssignment(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getPropertyArrayElementValue=getPropertyArrayElementValue;function getTsConfigObjectLiteralExpression(N){if(N&&N.statements.length){var R=N.statements[0].expression;return E.tryCast(R,E.isObjectLiteralExpression)}}E.getTsConfigObjectLiteralExpression=getTsConfigObjectLiteralExpression;function getTsConfigPropArrayElementValue(N,R,j){return E.firstDefined(getTsConfigPropArray(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getTsConfigPropArrayElementValue=getTsConfigPropArrayElementValue;function getTsConfigPropArray(N,R){var j=getTsConfigObjectLiteralExpression(N);return j?getPropertyAssignment(j,R):E.emptyArray}E.getTsConfigPropArray=getTsConfigPropArray;function getContainingFunction(N){return E.findAncestor(N.parent,E.isFunctionLike)}E.getContainingFunction=getContainingFunction;function getContainingFunctionDeclaration(N){return E.findAncestor(N.parent,E.isFunctionLikeDeclaration)}E.getContainingFunctionDeclaration=getContainingFunctionDeclaration;function getContainingClass(N){return E.findAncestor(N.parent,E.isClassLike)}E.getContainingClass=getContainingClass;function getContainingClassStaticBlock(N){return E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)||E.isFunctionLike(N)){return"quit"}return E.isClassStaticBlockDeclaration(N)}))}E.getContainingClassStaticBlock=getContainingClassStaticBlock;function getContainingFunctionOrClassStaticBlock(N){return E.findAncestor(N.parent,E.isFunctionLikeOrClassStaticBlockDeclaration)}E.getContainingFunctionOrClassStaticBlock=getContainingFunctionOrClassStaticBlock;function getThisContainer(N,R){E.Debug.assert(N.kind!==300);while(true){N=N.parent;if(!N){return E.Debug.fail()}switch(N.kind){case 160:if(E.isClassLike(N.parent.parent)){return N}N=N.parent;break;case 163:if(N.parent.kind===162&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break;case 212:if(!R){continue}case 254:case 211:case 259:case 168:case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 172:case 173:case 174:case 258:case 300:return N}}}E.getThisContainer=getThisContainer;function isInTopLevelContext(N){if(E.isIdentifier(N)&&(E.isClassDeclaration(N.parent)||E.isFunctionDeclaration(N.parent))&&N.parent.name===N){N=N.parent}var R=getThisContainer(N,true);return E.isSourceFile(R)}E.isInTopLevelContext=isInTopLevelContext;function getNewTargetContainer(E){var N=getThisContainer(E,false);if(N){switch(N.kind){case 169:case 254:case 211:return N}}return undefined}E.getNewTargetContainer=getNewTargetContainer;function getSuperContainer(N,R){while(true){N=N.parent;if(!N){return N}switch(N.kind){case 160:N=N.parent;break;case 254:case 211:case 212:if(!R){continue}case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 168:return N;case 163:if(N.parent.kind===162&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break}}}E.getSuperContainer=getSuperContainer;function getImmediatelyInvokedFunctionExpression(E){if(E.kind===211||E.kind===212){var N=E;var R=E.parent;while(R.kind===210){N=R;R=R.parent}if(R.kind===206&&R.expression===N){return R}}}E.getImmediatelyInvokedFunctionExpression=getImmediatelyInvokedFunctionExpression;function isSuperOrSuperProperty(E){return E.kind===106||isSuperProperty(E)}E.isSuperOrSuperProperty=isSuperOrSuperProperty;function isSuperProperty(E){var N=E.kind;return(N===204||N===205)&&E.expression.kind===106}E.isSuperProperty=isSuperProperty;function isThisProperty(E){var N=E.kind;return(N===204||N===205)&&E.expression.kind===108}E.isThisProperty=isThisProperty;function isThisInitializedDeclaration(N){var R;return!!N&&E.isVariableDeclaration(N)&&((R=N.initializer)===null||R===void 0?void 0:R.kind)===108}E.isThisInitializedDeclaration=isThisInitializedDeclaration;function isThisInitializedObjectBindingExpression(N){return!!N&&(E.isShorthandPropertyAssignment(N)||E.isPropertyAssignment(N))&&E.isBinaryExpression(N.parent.parent)&&N.parent.parent.operatorToken.kind===63&&N.parent.parent.right.kind===108}E.isThisInitializedObjectBindingExpression=isThisInitializedObjectBindingExpression;function getEntityNameFromTypeNode(E){switch(E.kind){case 176:return E.typeName;case 226:return isEntityNameExpression(E.expression)?E.expression:undefined;case 79:case 159:return E}return undefined}E.getEntityNameFromTypeNode=getEntityNameFromTypeNode;function getInvokedExpression(E){switch(E.kind){case 208:return E.tag;case 278:case 277:return E.tagName;default:return E.expression}}E.getInvokedExpression=getInvokedExpression;function nodeCanBeDecorated(N,R,j){if(E.isNamedDeclaration(N)&&E.isPrivateIdentifier(N.name)){return false}switch(N.kind){case 255:return true;case 165:return R.kind===255;case 170:case 171:case 167:return N.body!==undefined&&R.kind===255;case 162:return R.body!==undefined&&(R.kind===169||R.kind===167||R.kind===171)&&j.kind===255}return false}E.nodeCanBeDecorated=nodeCanBeDecorated;function nodeIsDecorated(E,N,R){return E.decorators!==undefined&&nodeCanBeDecorated(E,N,R)}E.nodeIsDecorated=nodeIsDecorated;function nodeOrChildIsDecorated(E,N,R){return nodeIsDecorated(E,N,R)||childIsDecorated(E,N)}E.nodeOrChildIsDecorated=nodeOrChildIsDecorated;function childIsDecorated(N,R){switch(N.kind){case 255:return E.some(N.members,(function(E){return nodeOrChildIsDecorated(E,N,R)}));case 167:case 171:case 169:return E.some(N.parameters,(function(E){return nodeIsDecorated(E,N,R)}));default:return false}}E.childIsDecorated=childIsDecorated;function classOrConstructorParameterIsDecorated(E){if(nodeIsDecorated(E))return true;var N=getFirstConstructorWithBody(E);return!!N&&childIsDecorated(N,E)}E.classOrConstructorParameterIsDecorated=classOrConstructorParameterIsDecorated;function isJSXTagName(E){var N=E.parent;if(N.kind===278||N.kind===277||N.kind===279){return N.tagName===E}return false}E.isJSXTagName=isJSXTagName;function isExpressionNode(N){switch(N.kind){case 106:case 104:case 110:case 95:case 13:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 227:case 209:case 228:case 210:case 211:case 224:case 212:case 215:case 213:case 214:case 217:case 218:case 219:case 220:case 223:case 221:case 225:case 276:case 277:case 280:case 222:case 216:case 229:return true;case 159:while(N.parent.kind===159){N=N.parent}return N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 306:while(E.isJSDocMemberName(N.parent)){N=N.parent}return N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 79:if(N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N)){return true}case 8:case 9:case 10:case 14:case 108:return isInExpressionContext(N);default:return false}}E.isExpressionNode=isExpressionNode;function isInExpressionContext(E){var N=E.parent;switch(N.kind){case 252:case 162:case 165:case 164:case 294:case 291:case 201:return N.initializer===E;case 236:case 237:case 238:case 239:case 245:case 246:case 247:case 287:case 249:return N.expression===E;case 240:var R=N;return R.initializer===E&&R.initializer.kind!==253||R.condition===E||R.incrementor===E;case 241:case 242:var j=N;return j.initializer===E&&j.initializer.kind!==253||j.expression===E;case 209:case 227:return E===N.expression;case 231:return E===N.expression;case 160:return E===N.expression;case 163:case 286:case 285:case 293:return true;case 226:return N.expression===E&&isExpressionWithTypeArgumentsInClassExtendsClause(N);case 292:return N.objectAssignmentInitializer===E;default:return isExpressionNode(N)}}E.isInExpressionContext=isInExpressionContext;function isPartOfTypeQuery(E){while(E.kind===159||E.kind===79){E=E.parent}return E.kind===179}E.isPartOfTypeQuery=isPartOfTypeQuery;function isNamespaceReexportDeclaration(N){return E.isNamespaceExport(N)&&!!N.parent.moduleSpecifier}E.isNamespaceReexportDeclaration=isNamespaceReexportDeclaration;function isExternalModuleImportEqualsDeclaration(E){return E.kind===263&&E.moduleReference.kind===275}E.isExternalModuleImportEqualsDeclaration=isExternalModuleImportEqualsDeclaration;function getExternalModuleImportEqualsDeclarationExpression(N){E.Debug.assert(isExternalModuleImportEqualsDeclaration(N));return N.moduleReference.expression}E.getExternalModuleImportEqualsDeclarationExpression=getExternalModuleImportEqualsDeclarationExpression;function getExternalModuleRequireArgument(E){return isRequireVariableDeclaration(E)&&getLeftmostAccessExpression(E.initializer).arguments[0]}E.getExternalModuleRequireArgument=getExternalModuleRequireArgument;function isInternalModuleImportEqualsDeclaration(E){return E.kind===263&&E.moduleReference.kind!==275}E.isInternalModuleImportEqualsDeclaration=isInternalModuleImportEqualsDeclaration;function isSourceFileJS(E){return isInJSFile(E)}E.isSourceFileJS=isSourceFileJS;function isSourceFileNotJS(E){return!isInJSFile(E)}E.isSourceFileNotJS=isSourceFileNotJS;function isInJSFile(E){return!!E&&!!(E.flags&131072)}E.isInJSFile=isInJSFile;function isInJsonFile(E){return!!E&&!!(E.flags&33554432)}E.isInJsonFile=isInJsonFile;function isSourceFileNotJson(E){return!isJsonSourceFile(E)}E.isSourceFileNotJson=isSourceFileNotJson;function isInJSDoc(E){return!!E&&!!(E.flags&4194304)}E.isInJSDoc=isInJSDoc;function isJSDocIndexSignature(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&N.typeArguments&&N.typeArguments.length===2&&(N.typeArguments[0].kind===148||N.typeArguments[0].kind===145)}E.isJSDocIndexSignature=isJSDocIndexSignature;function isRequireCall(N,R){if(N.kind!==206){return false}var j=N,$=j.expression,q=j.arguments;if($.kind!==79||$.escapedText!=="require"){return false}if(q.length!==1){return false}var G=q[0];return!R||E.isStringLiteralLike(G)}E.isRequireCall=isRequireCall;function isRequireVariableDeclaration(N){if(N.kind===201){N=N.parent.parent}return E.isVariableDeclaration(N)&&!!N.initializer&&isRequireCall(getLeftmostAccessExpression(N.initializer),true)}E.isRequireVariableDeclaration=isRequireVariableDeclaration;function isRequireVariableStatement(N){return E.isVariableStatement(N)&&N.declarationList.declarations.length>0&&E.every(N.declarationList.declarations,(function(E){return isRequireVariableDeclaration(E)}))}E.isRequireVariableStatement=isRequireVariableStatement;function isSingleOrDoubleQuote(E){return E===39||E===34}E.isSingleOrDoubleQuote=isSingleOrDoubleQuote;function isStringDoubleQuoted(E,N){return getSourceTextOfNodeFromSourceFile(N,E).charCodeAt(0)===34}E.isStringDoubleQuoted=isStringDoubleQuoted;function isAssignmentDeclaration(N){return E.isBinaryExpression(N)||isAccessExpression(N)||E.isIdentifier(N)||E.isCallExpression(N)}E.isAssignmentDeclaration=isAssignmentDeclaration;function getEffectiveInitializer(N){if(isInJSFile(N)&&N.initializer&&E.isBinaryExpression(N.initializer)&&(N.initializer.operatorToken.kind===56||N.initializer.operatorToken.kind===60)&&N.name&&isEntityNameExpression(N.name)&&isSameEntityName(N.name,N.initializer.left)){return N.initializer.right}return N.initializer}E.getEffectiveInitializer=getEffectiveInitializer;function getDeclaredExpandoInitializer(E){var N=getEffectiveInitializer(E);return N&&getExpandoInitializer(N,isPrototypeAccess(E.name))}E.getDeclaredExpandoInitializer=getDeclaredExpandoInitializer;function hasExpandoValueProperty(N,R){return E.forEach(N.properties,(function(N){return E.isPropertyAssignment(N)&&E.isIdentifier(N.name)&&N.name.escapedText==="value"&&N.initializer&&getExpandoInitializer(N.initializer,R)}))}function getAssignedExpandoInitializer(N){if(N&&N.parent&&E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63){var R=isPrototypeAccess(N.parent.left);return getExpandoInitializer(N.parent.right,R)||getDefaultedExpandoInitializer(N.parent.left,N.parent.right,R)}if(N&&E.isCallExpression(N)&&isBindableObjectDefinePropertyCall(N)){var j=hasExpandoValueProperty(N.arguments[2],N.arguments[1].text==="prototype");if(j){return j}}}E.getAssignedExpandoInitializer=getAssignedExpandoInitializer;function getExpandoInitializer(N,R){if(E.isCallExpression(N)){var j=skipParentheses(N.expression);return j.kind===211||j.kind===212?N:undefined}if(N.kind===211||N.kind===224||N.kind===212){return N}if(E.isObjectLiteralExpression(N)&&(N.properties.length===0||R)){return N}}E.getExpandoInitializer=getExpandoInitializer;function getDefaultedExpandoInitializer(N,R,j){var $=E.isBinaryExpression(R)&&(R.operatorToken.kind===56||R.operatorToken.kind===60)&&getExpandoInitializer(R.right,j);if($&&isSameEntityName(N,R.left)){return $}}function isDefaultedExpandoInitializer(N){var R=E.isVariableDeclaration(N.parent)?N.parent.name:E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63?N.parent.left:undefined;return R&&getExpandoInitializer(N.right,isPrototypeAccess(R))&&isEntityNameExpression(R)&&isSameEntityName(R,N.left)}E.isDefaultedExpandoInitializer=isDefaultedExpandoInitializer;function getNameOfExpando(N){if(E.isBinaryExpression(N.parent)){var R=(N.parent.operatorToken.kind===56||N.parent.operatorToken.kind===60)&&E.isBinaryExpression(N.parent.parent)?N.parent.parent:N.parent;if(R.operatorToken.kind===63&&E.isIdentifier(R.left)){return R.left}}else if(E.isVariableDeclaration(N.parent)){return N.parent.name}}E.getNameOfExpando=getNameOfExpando;function isSameEntityName(N,R){if(isPropertyNameLiteral(N)&&isPropertyNameLiteral(R)){return getTextOfIdentifierOrLiteral(N)===getTextOfIdentifierOrLiteral(R)}if(E.isIdentifier(N)&&isLiteralLikeAccess(R)&&(R.expression.kind===108||E.isIdentifier(R.expression)&&(R.expression.escapedText==="window"||R.expression.escapedText==="self"||R.expression.escapedText==="global"))){var j=getNameOrArgument(R);if(E.isPrivateIdentifier(j)){E.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access.")}return isSameEntityName(N,j)}if(isLiteralLikeAccess(N)&&isLiteralLikeAccess(R)){return getElementOrPropertyAccessName(N)===getElementOrPropertyAccessName(R)&&isSameEntityName(N.expression,R.expression)}return false}E.isSameEntityName=isSameEntityName;function getRightMostAssignedExpression(E){while(isAssignmentExpression(E,true)){E=E.right}return E}E.getRightMostAssignedExpression=getRightMostAssignedExpression;function isExportsIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="exports"}E.isExportsIdentifier=isExportsIdentifier;function isModuleIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="module"}E.isModuleIdentifier=isModuleIdentifier;function isModuleExportsAccessExpression(N){return(E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N))&&isModuleIdentifier(N.expression)&&getElementOrPropertyAccessName(N)==="exports"}E.isModuleExportsAccessExpression=isModuleExportsAccessExpression;function getAssignmentDeclarationKind(E){var N=getAssignmentDeclarationKindWorker(E);return N===5||isInJSFile(E)?N:0}E.getAssignmentDeclarationKind=getAssignmentDeclarationKind;function isBindableObjectDefinePropertyCall(N){return E.length(N.arguments)===3&&E.isPropertyAccessExpression(N.expression)&&E.isIdentifier(N.expression.expression)&&E.idText(N.expression.expression)==="Object"&&E.idText(N.expression.name)==="defineProperty"&&isStringOrNumericLiteralLike(N.arguments[1])&&isBindableStaticNameExpression(N.arguments[0],true)}E.isBindableObjectDefinePropertyCall=isBindableObjectDefinePropertyCall;function isLiteralLikeAccess(N){return E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N)}E.isLiteralLikeAccess=isLiteralLikeAccess;function isLiteralLikeElementAccess(N){return E.isElementAccessExpression(N)&&isStringOrNumericLiteralLike(N.argumentExpression)}E.isLiteralLikeElementAccess=isLiteralLikeElementAccess;function isBindableStaticAccessExpression(N,R){return E.isPropertyAccessExpression(N)&&(!R&&N.expression.kind===108||E.isIdentifier(N.name)&&isBindableStaticNameExpression(N.expression,true))||isBindableStaticElementAccessExpression(N,R)}E.isBindableStaticAccessExpression=isBindableStaticAccessExpression;function isBindableStaticElementAccessExpression(E,N){return isLiteralLikeElementAccess(E)&&(!N&&E.expression.kind===108||isEntityNameExpression(E.expression)||isBindableStaticAccessExpression(E.expression,true))}E.isBindableStaticElementAccessExpression=isBindableStaticElementAccessExpression;function isBindableStaticNameExpression(E,N){return isEntityNameExpression(E)||isBindableStaticAccessExpression(E,N)}E.isBindableStaticNameExpression=isBindableStaticNameExpression;function getNameOrArgument(N){if(E.isPropertyAccessExpression(N)){return N.name}return N.argumentExpression}E.getNameOrArgument=getNameOrArgument;function getAssignmentDeclarationKindWorker(N){if(E.isCallExpression(N)){if(!isBindableObjectDefinePropertyCall(N)){return 0}var R=N.arguments[0];if(isExportsIdentifier(R)||isModuleExportsAccessExpression(R)){return 8}if(isBindableStaticAccessExpression(R)&&getElementOrPropertyAccessName(R)==="prototype"){return 9}return 7}if(N.operatorToken.kind!==63||!isAccessExpression(N.left)||isVoidZero(getRightMostAssignedExpression(N))){return 0}if(isBindableStaticNameExpression(N.left.expression,true)&&getElementOrPropertyAccessName(N.left)==="prototype"&&E.isObjectLiteralExpression(getInitializerOfBinaryExpression(N))){return 6}return getAssignmentDeclarationPropertyAccessKind(N.left)}function isVoidZero(N){return E.isVoidExpression(N)&&E.isNumericLiteral(N.expression)&&N.expression.text==="0"}function getElementOrPropertyAccessArgumentExpressionOrName(N){if(E.isPropertyAccessExpression(N)){return N.name}var R=skipParentheses(N.argumentExpression);if(E.isNumericLiteral(R)||E.isStringLiteralLike(R)){return R}return N}E.getElementOrPropertyAccessArgumentExpressionOrName=getElementOrPropertyAccessArgumentExpressionOrName;function getElementOrPropertyAccessName(N){var R=getElementOrPropertyAccessArgumentExpressionOrName(N);if(R){if(E.isIdentifier(R)){return R.escapedText}if(E.isStringLiteralLike(R)||E.isNumericLiteral(R)){return E.escapeLeadingUnderscores(R.text)}}return undefined}E.getElementOrPropertyAccessName=getElementOrPropertyAccessName;function getAssignmentDeclarationPropertyAccessKind(N){if(N.expression.kind===108){return 4}else if(isModuleExportsAccessExpression(N)){return 2}else if(isBindableStaticNameExpression(N.expression,true)){if(isPrototypeAccess(N.expression)){return 3}var R=N;while(!E.isIdentifier(R.expression)){R=R.expression}var j=R.expression;if((j.escapedText==="exports"||j.escapedText==="module"&&getElementOrPropertyAccessName(R)==="exports")&&isBindableStaticAccessExpression(N)){return 1}if(isBindableStaticNameExpression(N,true)||E.isElementAccessExpression(N)&&isDynamicName(N)){return 5}}return 0}E.getAssignmentDeclarationPropertyAccessKind=getAssignmentDeclarationPropertyAccessKind;function getInitializerOfBinaryExpression(N){while(E.isBinaryExpression(N.right)){N=N.right}return N.right}E.getInitializerOfBinaryExpression=getInitializerOfBinaryExpression;function isPrototypePropertyAssignment(N){return E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===3}E.isPrototypePropertyAssignment=isPrototypePropertyAssignment;function isSpecialPropertyDeclaration(N){return isInJSFile(N)&&N.parent&&N.parent.kind===236&&(!E.isElementAccessExpression(N)||isLiteralLikeElementAccess(N))&&!!E.getJSDocTypeTag(N.parent)}E.isSpecialPropertyDeclaration=isSpecialPropertyDeclaration;function setValueDeclaration(E,N){var R=E.valueDeclaration;if(!R||!(N.flags&8388608&&!(R.flags&8388608))&&(isAssignmentDeclaration(R)&&!isAssignmentDeclaration(N))||R.kind!==N.kind&&isEffectiveModuleDeclaration(R)){E.valueDeclaration=N}}E.setValueDeclaration=setValueDeclaration;function isFunctionSymbol(N){if(!N||!N.valueDeclaration){return false}var R=N.valueDeclaration;return R.kind===254||E.isVariableDeclaration(R)&&R.initializer&&E.isFunctionLike(R.initializer)}E.isFunctionSymbol=isFunctionSymbol;function tryGetModuleSpecifierFromDeclaration(N){var R,j,$;switch(N.kind){case 252:return N.initializer.arguments[0].text;case 264:return(R=E.tryCast(N.moduleSpecifier,E.isStringLiteralLike))===null||R===void 0?void 0:R.text;case 263:return($=E.tryCast((j=E.tryCast(N.moduleReference,E.isExternalModuleReference))===null||j===void 0?void 0:j.expression,E.isStringLiteralLike))===null||$===void 0?void 0:$.text;default:E.Debug.assertNever(N)}}E.tryGetModuleSpecifierFromDeclaration=tryGetModuleSpecifierFromDeclaration;function importFromModuleSpecifier(N){return tryGetImportFromModuleSpecifier(N)||E.Debug.failBadSyntaxKind(N.parent)}E.importFromModuleSpecifier=importFromModuleSpecifier;function tryGetImportFromModuleSpecifier(N){switch(N.parent.kind){case 264:case 270:return N.parent;case 275:return N.parent.parent;case 206:return isImportCall(N.parent)||isRequireCall(N.parent,false)?N.parent:undefined;case 194:E.Debug.assert(E.isStringLiteral(N));return E.tryCast(N.parent.parent,E.isImportTypeNode);default:return undefined}}E.tryGetImportFromModuleSpecifier=tryGetImportFromModuleSpecifier;function getExternalModuleName(N){switch(N.kind){case 264:case 270:return N.moduleSpecifier;case 263:return N.moduleReference.kind===275?N.moduleReference.expression:undefined;case 198:return isLiteralImportTypeNode(N)?N.argument.literal:undefined;case 206:return N.arguments[0];case 259:return N.name.kind===10?N.name:undefined;default:return E.Debug.assertNever(N)}}E.getExternalModuleName=getExternalModuleName;function getNamespaceDeclarationNode(N){switch(N.kind){case 264:return N.importClause&&E.tryCast(N.importClause.namedBindings,E.isNamespaceImport);case 263:return N;case 270:return N.exportClause&&E.tryCast(N.exportClause,E.isNamespaceExport);default:return E.Debug.assertNever(N)}}E.getNamespaceDeclarationNode=getNamespaceDeclarationNode;function isDefaultImport(E){return E.kind===264&&!!E.importClause&&!!E.importClause.name}E.isDefaultImport=isDefaultImport;function forEachImportClauseDeclaration(N,R){if(N.name){var j=R(N);if(j)return j}if(N.namedBindings){var j=E.isNamespaceImport(N.namedBindings)?R(N.namedBindings):E.forEach(N.namedBindings.elements,R);if(j)return j}}E.forEachImportClauseDeclaration=forEachImportClauseDeclaration;function hasQuestionToken(E){if(E){switch(E.kind){case 162:case 167:case 166:case 292:case 291:case 165:case 164:return E.questionToken!==undefined}}return false}E.hasQuestionToken=hasQuestionToken;function isJSDocConstructSignature(N){var R=E.isJSDocFunctionType(N)?E.firstOrUndefined(N.parameters):undefined;var j=E.tryCast(R&&R.name,E.isIdentifier);return!!j&&j.escapedText==="new"}E.isJSDocConstructSignature=isJSDocConstructSignature;function isJSDocTypeAlias(E){return E.kind===340||E.kind===333||E.kind===334}E.isJSDocTypeAlias=isJSDocTypeAlias;function isTypeAlias(N){return isJSDocTypeAlias(N)||E.isTypeAliasDeclaration(N)}E.isTypeAlias=isTypeAlias;function getSourceOfAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&N.expression.operatorToken.kind===63?getRightMostAssignedExpression(N.expression):undefined}function getSourceOfDefaultedAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&getAssignmentDeclarationKind(N.expression)!==0&&E.isBinaryExpression(N.expression.right)&&(N.expression.right.operatorToken.kind===56||N.expression.right.operatorToken.kind===60)?N.expression.right.right:undefined}function getSingleInitializerOfVariableStatementOrPropertyDeclaration(E){switch(E.kind){case 235:var N=getSingleVariableOfVariableStatement(E);return N&&N.initializer;case 165:return E.initializer;case 291:return E.initializer}}E.getSingleInitializerOfVariableStatementOrPropertyDeclaration=getSingleInitializerOfVariableStatementOrPropertyDeclaration;function getSingleVariableOfVariableStatement(N){return E.isVariableStatement(N)?E.firstOrUndefined(N.declarationList.declarations):undefined}E.getSingleVariableOfVariableStatement=getSingleVariableOfVariableStatement;function getNestedModuleDeclaration(N){return E.isModuleDeclaration(N)&&N.body&&N.body.kind===259?N.body:undefined}function getJSDocCommentsAndTags(N,R){var j;if(isVariableLike(N)&&E.hasInitializer(N)&&E.hasJSDocNodes(N.initializer)){j=E.append(j,E.last(N.initializer.jsDoc))}var $=N;while($&&$.parent){if(E.hasJSDocNodes($)){j=E.append(j,E.last($.jsDoc))}if($.kind===162){j=E.addRange(j,(R?E.getJSDocParameterTagsNoCache:E.getJSDocParameterTags)($));break}if($.kind===161){j=E.addRange(j,(R?E.getJSDocTypeParameterTagsNoCache:E.getJSDocTypeParameterTags)($));break}$=getNextJSDocCommentLocation($)}return j||E.emptyArray}E.getJSDocCommentsAndTags=getJSDocCommentsAndTags;function getNextJSDocCommentLocation(N){var R=N.parent;if(R.kind===291||R.kind===269||R.kind===165||R.kind===236&&N.kind===204||R.kind===245||getNestedModuleDeclaration(R)||E.isBinaryExpression(N)&&N.operatorToken.kind===63){return R}else if(R.parent&&(getSingleVariableOfVariableStatement(R.parent)===N||E.isBinaryExpression(R)&&R.operatorToken.kind===63)){return R.parent}else if(R.parent&&R.parent.parent&&(getSingleVariableOfVariableStatement(R.parent.parent)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(R.parent.parent)===N||getSourceOfDefaultedAssignment(R.parent.parent))){return R.parent.parent}}E.getNextJSDocCommentLocation=getNextJSDocCommentLocation;function getParameterSymbolFromJSDoc(N){if(N.symbol){return N.symbol}if(!E.isIdentifier(N.name)){return undefined}var R=N.name.escapedText;var j=getHostSignatureFromJSDoc(N);if(!j){return undefined}var $=E.find(j.parameters,(function(E){return E.name.kind===79&&E.name.escapedText===R}));return $&&$.symbol}E.getParameterSymbolFromJSDoc=getParameterSymbolFromJSDoc;function getHostSignatureFromJSDoc(N){var R=getEffectiveJSDocHost(N);return R&&E.isFunctionLike(R)?R:undefined}E.getHostSignatureFromJSDoc=getHostSignatureFromJSDoc;function getEffectiveJSDocHost(E){var N=getJSDocHost(E);if(N){return getSourceOfDefaultedAssignment(N)||getSourceOfAssignment(N)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(N)||getSingleVariableOfVariableStatement(N)||getNestedModuleDeclaration(N)||N}}E.getEffectiveJSDocHost=getEffectiveJSDocHost;function getJSDocHost(N){var R=getJSDocRoot(N);if(!R){return undefined}var j=R.parent;if(j&&j.jsDoc&&R===E.lastOrUndefined(j.jsDoc)){return j}}E.getJSDocHost=getJSDocHost;function getJSDocRoot(N){return E.findAncestor(N.parent,E.isJSDoc)}E.getJSDocRoot=getJSDocRoot;function getTypeParameterFromJsDoc(N){var R=N.name.escapedText;var j=N.parent.parent.parent.typeParameters;return j&&E.find(j,(function(E){return E.name.escapedText===R}))}E.getTypeParameterFromJsDoc=getTypeParameterFromJsDoc;function hasRestParameter(N){var R=E.lastOrUndefined(N.parameters);return!!R&&isRestParameter(R)}E.hasRestParameter=hasRestParameter;function isRestParameter(N){var R=E.isJSDocParameterTag(N)?N.typeExpression&&N.typeExpression.type:N.type;return N.dotDotDotToken!==undefined||!!R&&R.kind===313}E.isRestParameter=isRestParameter;function hasTypeArguments(E){return!!E.typeArguments}E.hasTypeArguments=hasTypeArguments;var ie;(function(E){E[E["None"]=0]="None";E[E["Definite"]=1]="Definite";E[E["Compound"]=2]="Compound"})(ie=E.AssignmentKind||(E.AssignmentKind={}));function getAssignmentTargetKind(E){var N=E.parent;while(true){switch(N.kind){case 219:var R=N.operatorToken.kind;return isAssignmentOperator(R)&&N.left===E?R===63||isLogicalOrCoalescingAssignmentOperator(R)?1:2:0;case 217:case 218:var j=N.operator;return j===45||j===46?2:0;case 241:case 242:return N.initializer===E?1:0;case 210:case 202:case 223:case 228:E=N;break;case 293:E=N.parent;break;case 292:if(N.name!==E){return 0}E=N.parent;break;case 291:if(N.name===E){return 0}E=N.parent;break;default:return 0}N=E.parent}}E.getAssignmentTargetKind=getAssignmentTargetKind;function isAssignmentTarget(E){return getAssignmentTargetKind(E)!==0}E.isAssignmentTarget=isAssignmentTarget;function isNodeWithPossibleHoistedDeclaration(E){switch(E.kind){case 233:case 235:case 246:case 237:case 247:case 261:case 287:case 288:case 248:case 240:case 241:case 242:case 238:case 239:case 250:case 290:return true}return false}E.isNodeWithPossibleHoistedDeclaration=isNodeWithPossibleHoistedDeclaration;function isValueSignatureDeclaration(N){return E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isMethodOrAccessor(N)||E.isFunctionDeclaration(N)||E.isConstructorDeclaration(N)}E.isValueSignatureDeclaration=isValueSignatureDeclaration;function walkUp(E,N){while(E&&E.kind===N){E=E.parent}return E}function walkUpParenthesizedTypes(E){return walkUp(E,189)}E.walkUpParenthesizedTypes=walkUpParenthesizedTypes;function walkUpParenthesizedExpressions(E){return walkUp(E,210)}E.walkUpParenthesizedExpressions=walkUpParenthesizedExpressions;function walkUpParenthesizedTypesAndGetParentAndChild(E){var N;while(E&&E.kind===189){N=E;E=E.parent}return[N,E]}E.walkUpParenthesizedTypesAndGetParentAndChild=walkUpParenthesizedTypesAndGetParentAndChild;function skipParentheses(N){return E.skipOuterExpressions(N,1)}E.skipParentheses=skipParentheses;function isDeleteTarget(E){if(E.kind!==204&&E.kind!==205){return false}E=walkUpParenthesizedExpressions(E.parent);return E&&E.kind===213}E.isDeleteTarget=isDeleteTarget;function isNodeDescendantOf(E,N){while(E){if(E===N)return true;E=E.parent}return false}E.isNodeDescendantOf=isNodeDescendantOf;function isDeclarationName(N){return!E.isSourceFile(N)&&!E.isBindingPattern(N)&&E.isDeclaration(N.parent)&&N.parent.name===N}E.isDeclarationName=isDeclarationName;function getDeclarationFromName(N){var R=N.parent;switch(N.kind){case 10:case 14:case 8:if(E.isComputedPropertyName(R))return R.parent;case 79:if(E.isDeclaration(R)){return R.name===N?R:undefined}else if(E.isQualifiedName(R)){var j=R.parent;return E.isJSDocParameterTag(j)&&j.name===R?j:undefined}else{var $=R.parent;return E.isBinaryExpression($)&&getAssignmentDeclarationKind($)!==0&&($.left.symbol||$.symbol)&&E.getNameOfDeclaration($)===N?$:undefined}case 80:return E.isDeclaration(R)&&R.name===N?R:undefined;default:return undefined}}E.getDeclarationFromName=getDeclarationFromName;function isLiteralComputedPropertyDeclarationName(N){return isStringOrNumericLiteralLike(N)&&N.parent.kind===160&&E.isDeclaration(N.parent.parent)}E.isLiteralComputedPropertyDeclarationName=isLiteralComputedPropertyDeclarationName;function isIdentifierName(E){var N=E.parent;switch(N.kind){case 165:case 164:case 167:case 166:case 170:case 171:case 294:case 291:case 204:return N.name===E;case 159:return N.right===E;case 201:case 268:return N.propertyName===E;case 273:case 283:return true}return false}E.isIdentifierName=isIdentifierName;function isAliasSymbolDeclaration(N){return N.kind===263||N.kind===262||N.kind===265&&!!N.name||N.kind===266||N.kind===272||N.kind===268||N.kind===273||N.kind===269&&exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===2&&exportAssignmentIsAlias(N)||E.isPropertyAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableExpression(N.parent.right)||N.kind===292||N.kind===291&&isAliasableExpression(N.initializer)}E.isAliasSymbolDeclaration=isAliasSymbolDeclaration;function getAliasDeclarationFromName(E){switch(E.parent.kind){case 265:case 268:case 266:case 273:case 269:case 263:return E.parent;case 159:do{E=E.parent}while(E.parent.kind===159);return getAliasDeclarationFromName(E)}}E.getAliasDeclarationFromName=getAliasDeclarationFromName;function isAliasableExpression(N){return isEntityNameExpression(N)||E.isClassExpression(N)}E.isAliasableExpression=isAliasableExpression;function exportAssignmentIsAlias(E){var N=getExportAssignmentExpression(E);return isAliasableExpression(N)}E.exportAssignmentIsAlias=exportAssignmentIsAlias;function getExportAssignmentExpression(N){return E.isExportAssignment(N)?N.expression:N.right}E.getExportAssignmentExpression=getExportAssignmentExpression;function getPropertyAssignmentAliasLikeExpression(E){return E.kind===292?E.name:E.kind===291?E.initializer:E.parent.right}E.getPropertyAssignmentAliasLikeExpression=getPropertyAssignmentAliasLikeExpression;function getEffectiveBaseTypeNode(N){var R=getClassExtendsHeritageElement(N);if(R&&isInJSFile(N)){var j=E.getJSDocAugmentsTag(N);if(j){return j.class}}return R}E.getEffectiveBaseTypeNode=getEffectiveBaseTypeNode;function getClassExtendsHeritageElement(E){var N=getHeritageClause(E.heritageClauses,94);return N&&N.types.length>0?N.types[0]:undefined}E.getClassExtendsHeritageElement=getClassExtendsHeritageElement;function getEffectiveImplementsTypeNodes(N){if(isInJSFile(N)){return E.getJSDocImplementsTags(N).map((function(E){return E.class}))}else{var R=getHeritageClause(N.heritageClauses,117);return R===null||R===void 0?void 0:R.types}}E.getEffectiveImplementsTypeNodes=getEffectiveImplementsTypeNodes;function getAllSuperTypeNodes(N){return E.isInterfaceDeclaration(N)?getInterfaceBaseTypeNodes(N)||E.emptyArray:E.isClassLike(N)?E.concatenate(E.singleElementArray(getEffectiveBaseTypeNode(N)),getEffectiveImplementsTypeNodes(N))||E.emptyArray:E.emptyArray}E.getAllSuperTypeNodes=getAllSuperTypeNodes;function getInterfaceBaseTypeNodes(E){var N=getHeritageClause(E.heritageClauses,94);return N?N.types:undefined}E.getInterfaceBaseTypeNodes=getInterfaceBaseTypeNodes;function getHeritageClause(E,N){if(E){for(var R=0,j=E;R=0){return $[q]}return undefined}function add(q){var G;if(q.file){G=j.get(q.file.fileName);if(!G){G=[];j.set(q.file.fileName,G);E.insertSorted(R,q.file.fileName,E.compareStringsCaseSensitive)}}else{if($){$=false;N=N.slice()}G=N}E.insertSorted(G,q,compareDiagnostics)}function getGlobalDiagnostics(){$=true;return N}function getDiagnostics($){if($){return j.get($)||[]}var q=E.flatMapToMutable(R,(function(E){return j.get(E)}));if(!N.length){return q}q.unshift.apply(q,N);return q}}E.createDiagnosticCollection=createDiagnosticCollection;var _e=/\$\{/g;function escapeTemplateSubstitution(E){return E.replace(_e,"\\${")}function hasInvalidEscape(N){return N&&!!(E.isNoSubstitutionTemplateLiteral(N)?N.templateFlags:N.head.templateFlags||E.some(N.templateSpans,(function(E){return!!E.literal.templateFlags})))}E.hasInvalidEscape=hasInvalidEscape;var Ee=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var Te=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var we=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g;var Ie=new E.Map(E.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function encodeUtf16EscapeSequence(E){var N=E.toString(16).toUpperCase();var R=("0000"+N).slice(-4);return"\\u"+R}function getReplacement(E,N,R){if(E.charCodeAt(0)===0){var j=R.charCodeAt(N+E.length);if(j>=48&&j<=57){return"\\x00"}return"\\0"}return Ie.get(E)||encodeUtf16EscapeSequence(E.charCodeAt(0))}function escapeString(E,N){var R=N===96?we:N===39?Te:Ee;return E.replace(R,getReplacement)}E.escapeString=escapeString;var Ne=/[^\u0000-\u007F]/g;function escapeNonAsciiString(E,N){E=escapeString(E,N);return Ne.test(E)?E.replace(Ne,(function(E){return encodeUtf16EscapeSequence(E.charCodeAt(0))})):E}E.escapeNonAsciiString=escapeNonAsciiString;var Me=/[\"\u0000-\u001f\u2028\u2029\u0085]/g;var Le=/[\'\u0000-\u001f\u2028\u2029\u0085]/g;var Be=new E.Map(E.getEntries({'"':""","'":"'"}));function encodeJsxCharacterEntity(E){var N=E.toString(16).toUpperCase();return"&#x"+N+";"}function getJsxAttributeStringReplacement(E){if(E.charCodeAt(0)===0){return"�"}return Be.get(E)||encodeJsxCharacterEntity(E.charCodeAt(0))}function escapeJsxAttributeString(E,N){var R=N===39?Le:Me;return E.replace(R,getJsxAttributeStringReplacement)}E.escapeJsxAttributeString=escapeJsxAttributeString;function stripQuotes(E){var N=E.length;if(N>=2&&E.charCodeAt(0)===E.charCodeAt(N-1)&&isQuoteOrBacktick(E.charCodeAt(0))){return E.substring(1,N-1)}return E}E.stripQuotes=stripQuotes;function isQuoteOrBacktick(E){return E===39||E===34||E===96}function isIntrinsicJsxName(N){var R=N.charCodeAt(0);return R>=97&&R<=122||E.stringContains(N,"-")||E.stringContains(N,":")}E.isIntrinsicJsxName=isIntrinsicJsxName;var je=[""," "];function getIndentString(E){var N=je[1];for(var R=je.length;R<=E;R++){je.push(je[R-1]+N)}return je[E]}E.getIndentString=getIndentString;function getIndentSize(){return je[1].length}E.getIndentSize=getIndentSize;function createTextWriter(N){var R;var j;var $;var q;var G;var ie=false;function updateLineCountAndPosFor(N){var j=E.computeLineStarts(N);if(j.length>1){q=q+j.length-1;G=R.length-N.length+E.last(j);$=G-R.length===0}else{$=false}}function writeText(E){if(E&&E.length){if($){E=getIndentString(j)+E;$=false}R+=E;updateLineCountAndPosFor(E)}}function write(E){if(E)ie=false;writeText(E)}function writeComment(E){if(E)ie=true;writeText(E)}function reset(){R="";j=0;$=true;q=0;G=0;ie=false}function rawWrite(E){if(E!==undefined){R+=E;updateLineCountAndPosFor(E);ie=false}}function writeLiteral(E){if(E&&E.length){write(E)}}function writeLine(E){if(!$||E){R+=N;q++;G=R.length;$=true;ie=false}}function getTextPosWithWriteLine(){return $?R.length:R.length+N.length}reset();return{write:write,rawWrite:rawWrite,writeLiteral:writeLiteral,writeLine:writeLine,increaseIndent:function(){j++},decreaseIndent:function(){j--},getIndent:function(){return j},getTextPos:function(){return R.length},getLine:function(){return q},getColumn:function(){return $?j*getIndentSize():R.length-G},getText:function(){return R},isAtStartOfLine:function(){return $},hasTrailingComment:function(){return ie},hasTrailingWhitespace:function(){return!!R.length&&E.isWhiteSpaceLike(R.charCodeAt(R.length-1))},clear:reset,reportInaccessibleThisError:E.noop,reportPrivateInBaseOfClassExpression:E.noop,reportInaccessibleUniqueSymbolError:E.noop,trackSymbol:function(){return false},writeKeyword:write,writeOperator:write,writeParameter:write,writeProperty:write,writePunctuation:write,writeSpace:write,writeStringLiteral:write,writeSymbol:function(E,N){return write(E)},writeTrailingSemicolon:write,writeComment:writeComment,getTextPosWithWriteLine:getTextPosWithWriteLine}}E.createTextWriter=createTextWriter;function getTrailingSemicolonDeferringWriter(E){var N=false;function commitPendingTrailingSemicolon(){if(N){E.writeTrailingSemicolon(";");N=false}}return $($({},E),{writeTrailingSemicolon:function(){N=true},writeLiteral:function(N){commitPendingTrailingSemicolon();E.writeLiteral(N)},writeStringLiteral:function(N){commitPendingTrailingSemicolon();E.writeStringLiteral(N)},writeSymbol:function(N,R){commitPendingTrailingSemicolon();E.writeSymbol(N,R)},writePunctuation:function(N){commitPendingTrailingSemicolon();E.writePunctuation(N)},writeKeyword:function(N){commitPendingTrailingSemicolon();E.writeKeyword(N)},writeOperator:function(N){commitPendingTrailingSemicolon();E.writeOperator(N)},writeParameter:function(N){commitPendingTrailingSemicolon();E.writeParameter(N)},writeSpace:function(N){commitPendingTrailingSemicolon();E.writeSpace(N)},writeProperty:function(N){commitPendingTrailingSemicolon();E.writeProperty(N)},writeComment:function(N){commitPendingTrailingSemicolon();E.writeComment(N)},writeLine:function(){commitPendingTrailingSemicolon();E.writeLine()},increaseIndent:function(){commitPendingTrailingSemicolon();E.increaseIndent()},decreaseIndent:function(){commitPendingTrailingSemicolon();E.decreaseIndent()}})}E.getTrailingSemicolonDeferringWriter=getTrailingSemicolonDeferringWriter;function hostUsesCaseSensitiveFileNames(E){return E.useCaseSensitiveFileNames?E.useCaseSensitiveFileNames():false}E.hostUsesCaseSensitiveFileNames=hostUsesCaseSensitiveFileNames;function hostGetCanonicalFileName(N){return E.createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(N))}E.hostGetCanonicalFileName=hostGetCanonicalFileName;function getResolvedExternalModuleName(E,N,R){return N.moduleName||getExternalModuleNameFromPath(E,N.fileName,R&&R.fileName)}E.getResolvedExternalModuleName=getResolvedExternalModuleName;function getCanonicalAbsolutePath(N,R){return N.getCanonicalFileName(E.getNormalizedAbsolutePath(R,N.getCurrentDirectory()))}function getExternalModuleNameFromDeclaration(N,R,j){var $=R.getExternalModuleFileFromDeclaration(j);if(!$||$.isDeclarationFile){return undefined}var q=getExternalModuleName(j);if(q&&E.isStringLiteralLike(q)&&!E.pathIsRelative(q.text)&&getCanonicalAbsolutePath(N,$.path).indexOf(getCanonicalAbsolutePath(N,E.ensureTrailingDirectorySeparator(N.getCommonSourceDirectory())))===-1){return undefined}return getResolvedExternalModuleName(N,$)}E.getExternalModuleNameFromDeclaration=getExternalModuleNameFromDeclaration;function getExternalModuleNameFromPath(N,R,j){var getCanonicalFileName=function(E){return N.getCanonicalFileName(E)};var $=E.toPath(j?E.getDirectoryPath(j):N.getCommonSourceDirectory(),N.getCurrentDirectory(),getCanonicalFileName);var q=E.getNormalizedAbsolutePath(R,N.getCurrentDirectory());var G=E.getRelativePathToDirectoryOrUrl($,q,$,getCanonicalFileName,false);var ie=removeFileExtension(G);return j?E.ensurePathIsNonModuleName(ie):ie}E.getExternalModuleNameFromPath=getExternalModuleNameFromPath;function getOwnEmitOutputFilePath(E,N,R){var j=N.getCompilerOptions();var $;if(j.outDir){$=removeFileExtension(getSourceFilePathInNewDir(E,N,j.outDir))}else{$=removeFileExtension(E)}return $+R}E.getOwnEmitOutputFilePath=getOwnEmitOutputFilePath;function getDeclarationEmitOutputFilePath(E,N){return getDeclarationEmitOutputFilePathWorker(E,N.getCompilerOptions(),N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getDeclarationEmitOutputFilePath=getDeclarationEmitOutputFilePath;function getDeclarationEmitOutputFilePathWorker(E,N,R,j,$){var q=N.declarationDir||N.outDir;var G=q?getSourceFilePathInNewDirWorker(E,q,R,j,$):E;return removeFileExtension(G)+".d.ts"}E.getDeclarationEmitOutputFilePathWorker=getDeclarationEmitOutputFilePathWorker;function outFile(E){return E.outFile||E.out}E.outFile=outFile;function getPathsBasePath(N,R){var j,$;if(!N.paths)return undefined;return(j=N.baseUrl)!==null&&j!==void 0?j:E.Debug.checkDefined(N.pathsBasePath||(($=R.getCurrentDirectory)===null||$===void 0?void 0:$.call(R)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}E.getPathsBasePath=getPathsBasePath;function getSourceFilesToEmit(N,R,j){var $=N.getCompilerOptions();if(outFile($)){var q=getEmitModuleKind($);var G=$.emitDeclarationOnly||q===E.ModuleKind.AMD||q===E.ModuleKind.System;return E.filter(N.getSourceFiles(),(function(R){return(G||!E.isExternalModule(R))&&sourceFileMayBeEmitted(R,N,j)}))}else{var ie=R===undefined?N.getSourceFiles():[R];return E.filter(ie,(function(E){return sourceFileMayBeEmitted(E,N,j)}))}}E.getSourceFilesToEmit=getSourceFilesToEmit;function sourceFileMayBeEmitted(E,N,R){var j=N.getCompilerOptions();return!(j.noEmitForJsFiles&&isSourceFileJS(E))&&!E.isDeclarationFile&&!N.isSourceFileFromExternalLibrary(E)&&(R||!(isJsonSourceFile(E)&&N.getResolvedProjectReferenceToRedirect(E.fileName))&&!N.isSourceOfProjectReferenceRedirect(E.fileName))}E.sourceFileMayBeEmitted=sourceFileMayBeEmitted;function getSourceFilePathInNewDir(E,N,R){return getSourceFilePathInNewDirWorker(E,R,N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getSourceFilePathInNewDir=getSourceFilePathInNewDir;function getSourceFilePathInNewDirWorker(N,R,j,$,q){var G=E.getNormalizedAbsolutePath(N,j);var ie=q(G).indexOf(q($))===0;G=ie?G.substring($.length):G;return E.combinePaths(R,G)}E.getSourceFilePathInNewDirWorker=getSourceFilePathInNewDirWorker;function writeFile(N,R,j,$,q,G){N.writeFile(j,$,q,(function(N){R.add(createCompilerDiagnostic(E.Diagnostics.Could_not_write_file_0_Colon_1,j,N))}),G)}E.writeFile=writeFile;function ensureDirectoriesExist(N,R,j){if(N.length>E.getRootLength(N)&&!j(N)){var $=E.getDirectoryPath(N);ensureDirectoriesExist($,R,j);R(N)}}function writeFileEnsuringDirectories(N,R,j,$,q,G){try{$(N,R,j)}catch(ie){ensureDirectoriesExist(E.getDirectoryPath(E.normalizePath(N)),q,G);$(N,R,j)}}E.writeFileEnsuringDirectories=writeFileEnsuringDirectories;function getLineOfLocalPosition(N,R){var j=E.getLineStarts(N);return E.computeLineOfPosition(j,R)}E.getLineOfLocalPosition=getLineOfLocalPosition;function getLineOfLocalPositionFromLineMap(N,R){return E.computeLineOfPosition(N,R)}E.getLineOfLocalPositionFromLineMap=getLineOfLocalPositionFromLineMap;function getFirstConstructorWithBody(N){return E.find(N.members,(function(N){return E.isConstructorDeclaration(N)&&nodeIsPresent(N.body)}))}E.getFirstConstructorWithBody=getFirstConstructorWithBody;function getSetAccessorValueParameter(E){if(E&&E.parameters.length>0){var N=E.parameters.length===2&¶meterIsThisKeyword(E.parameters[0]);return E.parameters[N?1:0]}}E.getSetAccessorValueParameter=getSetAccessorValueParameter;function getSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&N.type}E.getSetAccessorTypeAnnotationNode=getSetAccessorTypeAnnotationNode;function getThisParameter(N){if(N.parameters.length&&!E.isJSDocSignature(N)){var R=N.parameters[0];if(parameterIsThisKeyword(R)){return R}}}E.getThisParameter=getThisParameter;function parameterIsThisKeyword(E){return isThisIdentifier(E.name)}E.parameterIsThisKeyword=parameterIsThisKeyword;function isThisIdentifier(E){return!!E&&E.kind===79&&identifierIsThisKeyword(E)}E.isThisIdentifier=isThisIdentifier;function isThisInTypeQuery(N){if(!isThisIdentifier(N)){return false}while(E.isQualifiedName(N.parent)&&N.parent.left===N){N=N.parent}return N.parent.kind===179}E.isThisInTypeQuery=isThisInTypeQuery;function identifierIsThisKeyword(E){return E.originalKeywordKind===108}E.identifierIsThisKeyword=identifierIsThisKeyword;function getAllAccessorDeclarations(N,R){var j;var $;var q;var G;if(hasDynamicName(R)){j=R;if(R.kind===170){q=R}else if(R.kind===171){G=R}else{E.Debug.fail("Accessor has wrong kind")}}else{E.forEach(N,(function(N){if(E.isAccessor(N)&&isStatic(N)===isStatic(R)){var ie=getPropertyNameForPropertyNameNode(N.name);var ae=getPropertyNameForPropertyNameNode(R.name);if(ie===ae){if(!j){j=N}else if(!$){$=N}if(N.kind===170&&!q){q=N}if(N.kind===171&&!G){G=N}}}}))}return{firstAccessor:j,secondAccessor:$,getAccessor:q,setAccessor:G}}E.getAllAccessorDeclarations=getAllAccessorDeclarations;function getEffectiveTypeAnnotationNode(N){if(!isInJSFile(N)&&E.isFunctionDeclaration(N))return undefined;var R=N.type;if(R||!isInJSFile(N))return R;return E.isJSDocPropertyLikeTag(N)?N.typeExpression&&N.typeExpression.type:E.getJSDocType(N)}E.getEffectiveTypeAnnotationNode=getEffectiveTypeAnnotationNode;function getTypeAnnotationNode(E){return E.type}E.getTypeAnnotationNode=getTypeAnnotationNode;function getEffectiveReturnTypeNode(N){return E.isJSDocSignature(N)?N.type&&N.type.typeExpression&&N.type.typeExpression.type:N.type||(isInJSFile(N)?E.getJSDocReturnType(N):undefined)}E.getEffectiveReturnTypeNode=getEffectiveReturnTypeNode;function getJSDocTypeParameterDeclarations(N){return E.flatMap(E.getJSDocTags(N),(function(E){return isNonTypeAliasTemplate(E)?E.typeParameters:undefined}))}E.getJSDocTypeParameterDeclarations=getJSDocTypeParameterDeclarations;function isNonTypeAliasTemplate(N){return E.isJSDocTemplateTag(N)&&!(N.parent.kind===315&&N.parent.tags.some(isJSDocTypeAlias))}function getEffectiveSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&getEffectiveTypeAnnotationNode(N)}E.getEffectiveSetAccessorTypeAnnotationNode=getEffectiveSetAccessorTypeAnnotationNode;function emitNewLineBeforeLeadingComments(E,N,R,j){emitNewLineBeforeLeadingCommentsOfPosition(E,N,R.pos,j)}E.emitNewLineBeforeLeadingComments=emitNewLineBeforeLeadingComments;function emitNewLineBeforeLeadingCommentsOfPosition(E,N,R,j){if(j&&j.length&&R!==j[0].pos&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j[0].pos)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentsOfPosition=emitNewLineBeforeLeadingCommentsOfPosition;function emitNewLineBeforeLeadingCommentOfPosition(E,N,R,j){if(R!==j&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentOfPosition=emitNewLineBeforeLeadingCommentOfPosition;function emitComments(E,N,R,j,$,q,G,ie){if(j&&j.length>0){if($){R.writeSpace(" ")}var ae=false;for(var ce=0,le=j;ce=Ie+2){break}}le.push(we);_e=we}if(le.length){var Ie=getLineOfLocalPositionFromLineMap(R,E.last(le).end);var Me=getLineOfLocalPositionFromLineMap(R,E.skipTrivia(N,q.pos));if(Me>=Ie+2){emitNewLineBeforeLeadingComments(R,j,q,ae);emitComments(N,R,j,le,false,true,G,$);ce={nodePos:q.pos,detachedCommentEndPos:E.last(le).end}}}}return ce;function isPinnedCommentLocal(E){return isPinnedComment(N,E.pos)}}E.emitDetachedComments=emitDetachedComments;function writeCommentRange(N,R,j,$,q,G){if(N.charCodeAt($+1)===42){var ie=E.computeLineAndCharacterOfPosition(R,$);var ae=R.length;var ce=void 0;for(var le=$,_e=ie.line;le0){var Ie=we%getIndentSize();var Ne=getIndentString((we-Ie)/getIndentSize());j.rawWrite(Ne);while(Ie){j.rawWrite(" ");Ie--}}else{j.rawWrite("")}}writeTrimmedCurrentLine(N,q,j,G,le,Ee);le=Ee}}else{j.writeComment(N.substring($,q))}}E.writeCommentRange=writeCommentRange;function writeTrimmedCurrentLine(N,R,j,$,q,G){var ie=Math.min(R,G-1);var ae=E.trimString(N.substring(q,ie));if(ae){j.writeComment(ae);if(ie!==R){j.writeLine()}}else{j.rawWrite($)}}function calculateIndent(N,R,j){var $=0;for(;R=0&&E.kind<=158){return 0}if(!(E.modifierFlagsCache&536870912)){E.modifierFlagsCache=getSyntacticModifierFlagsNoCache(E)|536870912}if(N&&!(E.modifierFlagsCache&4096)&&(R||isInJSFile(E))&&E.parent){E.modifierFlagsCache|=getJSDocModifierFlagsNoCache(E)|4096}return E.modifierFlagsCache&~(536870912|4096)}function getEffectiveModifierFlags(E){return getModifierFlagsWorker(E,true)}E.getEffectiveModifierFlags=getEffectiveModifierFlags;function getEffectiveModifierFlagsAlwaysIncludeJSDoc(E){return getModifierFlagsWorker(E,true,true)}E.getEffectiveModifierFlagsAlwaysIncludeJSDoc=getEffectiveModifierFlagsAlwaysIncludeJSDoc;function getSyntacticModifierFlags(E){return getModifierFlagsWorker(E,false)}E.getSyntacticModifierFlags=getSyntacticModifierFlags;function getJSDocModifierFlagsNoCache(N){var R=0;if(!!N.parent&&!E.isParameter(N)){if(isInJSFile(N)){if(E.getJSDocPublicTagNoCache(N))R|=4;if(E.getJSDocPrivateTagNoCache(N))R|=8;if(E.getJSDocProtectedTagNoCache(N))R|=16;if(E.getJSDocReadonlyTagNoCache(N))R|=64;if(E.getJSDocOverrideTagNoCache(N))R|=16384}if(E.getJSDocDeprecatedTagNoCache(N))R|=8192}return R}function getEffectiveModifierFlagsNoCache(E){return getSyntacticModifierFlagsNoCache(E)|getJSDocModifierFlagsNoCache(E)}E.getEffectiveModifierFlagsNoCache=getEffectiveModifierFlagsNoCache;function getSyntacticModifierFlagsNoCache(E){var N=modifiersToFlags(E.modifiers);if(E.flags&4||E.kind===79&&E.isInJSDocNamespace){N|=1}return N}E.getSyntacticModifierFlagsNoCache=getSyntacticModifierFlagsNoCache;function modifiersToFlags(E){var N=0;if(E){for(var R=0,j=E;R=63&&E<=78}E.isAssignmentOperator=isAssignmentOperator;function tryGetClassExtendingExpressionWithTypeArguments(E){var N=tryGetClassImplementingOrExtendingExpressionWithTypeArguments(E);return N&&!N.isImplements?N.class:undefined}E.tryGetClassExtendingExpressionWithTypeArguments=tryGetClassExtendingExpressionWithTypeArguments;function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N){return E.isExpressionWithTypeArguments(N)&&E.isHeritageClause(N.parent)&&E.isClassLike(N.parent.parent)?{class:N.parent.parent,isImplements:N.parent.token===117}:undefined}E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=tryGetClassImplementingOrExtendingExpressionWithTypeArguments;function isAssignmentExpression(N,R){return E.isBinaryExpression(N)&&(R?N.operatorToken.kind===63:isAssignmentOperator(N.operatorToken.kind))&&E.isLeftHandSideExpression(N.left)}E.isAssignmentExpression=isAssignmentExpression;function isLeftHandSideOfAssignment(E){return isAssignmentExpression(E.parent)&&E.parent.left===E}E.isLeftHandSideOfAssignment=isLeftHandSideOfAssignment;function isDestructuringAssignment(E){if(isAssignmentExpression(E,true)){var N=E.left.kind;return N===203||N===202}return false}E.isDestructuringAssignment=isDestructuringAssignment;function isExpressionWithTypeArgumentsInClassExtendsClause(E){return tryGetClassExtendingExpressionWithTypeArguments(E)!==undefined}E.isExpressionWithTypeArgumentsInClassExtendsClause=isExpressionWithTypeArgumentsInClassExtendsClause;function isEntityNameExpression(E){return E.kind===79||isPropertyAccessEntityNameExpression(E)}E.isEntityNameExpression=isEntityNameExpression;function getFirstIdentifier(E){switch(E.kind){case 79:return E;case 159:do{E=E.left}while(E.kind!==79);return E;case 204:do{E=E.expression}while(E.kind!==79);return E}}E.getFirstIdentifier=getFirstIdentifier;function isDottedName(E){return E.kind===79||E.kind===108||E.kind===106||E.kind===229||E.kind===204&&isDottedName(E.expression)||E.kind===210&&isDottedName(E.expression)}E.isDottedName=isDottedName;function isPropertyAccessEntityNameExpression(N){return E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)&&isEntityNameExpression(N.expression)}E.isPropertyAccessEntityNameExpression=isPropertyAccessEntityNameExpression;function tryGetPropertyAccessOrIdentifierToString(N){if(E.isPropertyAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined){return R+"."+entityNameToString(N.name)}}else if(E.isElementAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined&&E.isPropertyName(N.argumentExpression)){return R+"."+getPropertyNameForPropertyNameNode(N.argumentExpression)}}else if(E.isIdentifier(N)){return E.unescapeLeadingUnderscores(N.escapedText)}return undefined}E.tryGetPropertyAccessOrIdentifierToString=tryGetPropertyAccessOrIdentifierToString;function isPrototypeAccess(E){return isBindableStaticAccessExpression(E)&&getElementOrPropertyAccessName(E)==="prototype"}E.isPrototypeAccess=isPrototypeAccess;function isRightSideOfQualifiedNameOrPropertyAccess(E){return E.parent.kind===159&&E.parent.right===E||E.parent.kind===204&&E.parent.name===E}E.isRightSideOfQualifiedNameOrPropertyAccess=isRightSideOfQualifiedNameOrPropertyAccess;function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N||E.isJSDocMemberName(N.parent)&&N.parent.right===N}E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName;function isEmptyObjectLiteral(E){return E.kind===203&&E.properties.length===0}E.isEmptyObjectLiteral=isEmptyObjectLiteral;function isEmptyArrayLiteral(E){return E.kind===202&&E.elements.length===0}E.isEmptyArrayLiteral=isEmptyArrayLiteral;function getLocalSymbolForExportDefault(E){if(!isExportDefaultSymbol(E)||!E.declarations)return undefined;for(var N=0,R=E.declarations;N0&&hasSyntacticModifier(N.declarations[0],512)}function tryExtractTSExtension(N){return E.find(E.supportedTSExtensionsForExtractExtension,(function(R){return E.fileExtensionIs(N,R)}))}E.tryExtractTSExtension=tryExtractTSExtension;function getExpandedCharCodes(N){var R=[];var j=N.length;for(var $=0;$>6|192);R.push(q&63|128)}else if(q<65536){R.push(q>>12|224);R.push(q>>6&63|128);R.push(q&63|128)}else if(q<131072){R.push(q>>18|240);R.push(q>>12&63|128);R.push(q>>6&63|128);R.push(q&63|128)}else{E.Debug.assert(false,"Unexpected code point")}}return R}var Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function convertToBase64(E){var N="";var R=getExpandedCharCodes(E);var j=0;var $=R.length;var q,G,ie,ae;while(j<$){q=R[j]>>2;G=(R[j]&3)<<4|R[j+1]>>4;ie=(R[j+1]&15)<<2|R[j+2]>>6;ae=R[j+2]&63;if(j+1>=$){ie=ae=64}else if(j+2>=$){ae=64}N+=Ue.charAt(q)+Ue.charAt(G)+Ue.charAt(ie)+Ue.charAt(ae);j+=3}return N}E.convertToBase64=convertToBase64;function getStringFromExpandedCharCodes(E){var N="";var R=0;var j=E.length;while(R>4&3;var le=(G&15)<<4|ie>>2&15;var _e=(ie&3)<<6|ae&63;if(le===0&&ie!==0){j.push(ce)}else if(_e===0&&ae!==0){j.push(ce,le)}else{j.push(ce,le,_e)}$+=4}return getStringFromExpandedCharCodes(j)}E.base64decode=base64decode;function readJson(N,R){try{var j=R.readFile(N);if(!j)return{};var $=E.parseConfigFileTextToJson(N,j);if($.error){return{}}return $.config}catch(E){return{}}}E.readJson=readJson;function directoryProbablyExists(E,N){return!N.directoryExists||N.directoryExists(E)}E.directoryProbablyExists=directoryProbablyExists;var ze="\r\n";var We="\n";function getNewLineCharacter(N,R){switch(N.newLine){case 0:return ze;case 1:return We}return R?R():E.sys?E.sys.newLine:ze}E.getNewLineCharacter=getNewLineCharacter;function createRange(N,R){if(R===void 0){R=N}E.Debug.assert(R>=N||R===-1);return{pos:N,end:R}}E.createRange=createRange;function moveRangeEnd(E,N){return createRange(E.pos,N)}E.moveRangeEnd=moveRangeEnd;function moveRangePos(E,N){return createRange(N,E.end)}E.moveRangePos=moveRangePos;function moveRangePastDecorators(E){return E.decorators&&E.decorators.length>0?moveRangePos(E,E.decorators.end):E}E.moveRangePastDecorators=moveRangePastDecorators;function moveRangePastModifiers(E){return E.modifiers&&E.modifiers.length>0?moveRangePos(E,E.modifiers.end):moveRangePastDecorators(E)}E.moveRangePastModifiers=moveRangePastModifiers;function isCollapsedRange(E){return E.pos===E.end}E.isCollapsedRange=isCollapsedRange;function createTokenRange(N,R){return createRange(N,N+E.tokenToString(R).length)}E.createTokenRange=createTokenRange;function rangeIsOnSingleLine(E,N){return rangeStartIsOnSameLineAsRangeEnd(E,E,N)}E.rangeIsOnSingleLine=rangeIsOnSingleLine;function rangeStartPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),getStartPositionOfRange(N,R,false),R)}E.rangeStartPositionsAreOnSameLine=rangeStartPositionsAreOnSameLine;function rangeEndPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(E.end,N.end,R)}E.rangeEndPositionsAreOnSameLine=rangeEndPositionsAreOnSameLine;function rangeStartIsOnSameLineAsRangeEnd(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),N.end,R)}E.rangeStartIsOnSameLineAsRangeEnd=rangeStartIsOnSameLineAsRangeEnd;function rangeEndIsOnSameLineAsRangeStart(E,N,R){return positionsAreOnSameLine(E.end,getStartPositionOfRange(N,R,false),R)}E.rangeEndIsOnSameLineAsRangeStart=rangeEndIsOnSameLineAsRangeStart;function getLinesBetweenRangeEndAndRangeStart(N,R,j,$){var q=getStartPositionOfRange(R,j,$);return E.getLinesBetweenPositions(j,N.end,q)}E.getLinesBetweenRangeEndAndRangeStart=getLinesBetweenRangeEndAndRangeStart;function getLinesBetweenRangeEndPositions(N,R,j){return E.getLinesBetweenPositions(j,N.end,R.end)}E.getLinesBetweenRangeEndPositions=getLinesBetweenRangeEndPositions;function isNodeArrayMultiLine(E,N){return!positionsAreOnSameLine(E.pos,E.end,N)}E.isNodeArrayMultiLine=isNodeArrayMultiLine;function positionsAreOnSameLine(N,R,j){return E.getLinesBetweenPositions(j,N,R)===0}E.positionsAreOnSameLine=positionsAreOnSameLine;function getStartPositionOfRange(N,R,j){return positionIsSynthesized(N.pos)?-1:E.skipTrivia(R.text,N.pos,false,j)}E.getStartPositionOfRange=getStartPositionOfRange;function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);var G=getPreviousNonWhitespacePosition(q,R,j);return E.getLinesBetweenPositions(j,G!==null&&G!==void 0?G:R,q)}E.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter;function getLinesBetweenPositionAndNextNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);return E.getLinesBetweenPositions(j,N,Math.min(R,q))}E.getLinesBetweenPositionAndNextNonWhitespaceCharacter=getLinesBetweenPositionAndNextNonWhitespaceCharacter;function getPreviousNonWhitespacePosition(N,R,j){if(R===void 0){R=0}while(N-- >R){if(!E.isWhiteSpaceLike(j.text.charCodeAt(N))){return N}}}function isDeclarationNameOfEnumOrNamespace(N){var R=E.getParseTreeNode(N);if(R){switch(R.parent.kind){case 258:case 259:return R===R.parent.name}}return false}E.isDeclarationNameOfEnumOrNamespace=isDeclarationNameOfEnumOrNamespace;function getInitializedVariables(N){return E.filter(N.declarations,isInitializedVariable)}E.getInitializedVariables=getInitializedVariables;function isInitializedVariable(E){return E.initializer!==undefined}function isWatchSet(E){return E.watch&&E.hasOwnProperty("watch")}E.isWatchSet=isWatchSet;function closeFileWatcher(E){E.close()}E.closeFileWatcher=closeFileWatcher;function getCheckFlags(E){return E.flags&33554432?E.checkFlags:0}E.getCheckFlags=getCheckFlags;function getDeclarationModifierFlagsFromSymbol(N,R){if(R===void 0){R=false}if(N.valueDeclaration){var j=R&&N.declarations&&E.find(N.declarations,(function(E){return E.kind===171}))||N.valueDeclaration;var $=E.getCombinedModifierFlags(j);return N.parent&&N.parent.flags&32?$:$&~28}if(getCheckFlags(N)&6){var q=N.checkFlags;var G=q&1024?8:q&256?4:16;var ie=q&2048?32:0;return G|ie}if(N.flags&4194304){return 4|32}return 0}E.getDeclarationModifierFlagsFromSymbol=getDeclarationModifierFlagsFromSymbol;function skipAlias(E,N){return E.flags&2097152?N.getAliasedSymbol(E):E}E.skipAlias=skipAlias;function getCombinedLocalAndExportSymbolFlags(E){return E.exportSymbol?E.exportSymbol.flags|E.flags:E.flags}E.getCombinedLocalAndExportSymbolFlags=getCombinedLocalAndExportSymbolFlags;function isWriteOnlyAccess(E){return accessKind(E)===1}E.isWriteOnlyAccess=isWriteOnlyAccess;function isWriteAccess(E){return accessKind(E)!==0}E.isWriteAccess=isWriteAccess;var Je;(function(E){E[E["Read"]=0]="Read";E[E["Write"]=1]="Write";E[E["ReadWrite"]=2]="ReadWrite"})(Je||(Je={}));function accessKind(E){var N=E.parent;if(!N)return 0;switch(N.kind){case 210:return accessKind(N);case 218:case 217:var R=N.operator;return R===45||R===46?writeOrReadWrite():0;case 219:var j=N,$=j.left,q=j.operatorToken;return $===E&&isAssignmentOperator(q.kind)?q.kind===63?1:writeOrReadWrite():0;case 204:return N.name!==E?0:accessKind(N);case 291:{var G=accessKind(N.parent);return E===N.name?reverseAccessKind(G):G}case 292:return E===N.objectAssignmentInitializer?0:accessKind(N.parent);case 202:return accessKind(N);default:return 0}function writeOrReadWrite(){return N.parent&&walkUpParenthesizedExpressions(N.parent).kind===236?1:2}}function reverseAccessKind(N){switch(N){case 0:return 1;case 1:return 0;case 2:return 2;default:return E.Debug.assertNever(N)}}function compareDataObjects(E,N){if(!E||!N||Object.keys(E).length!==Object.keys(N).length){return false}for(var R in E){if(typeof E[R]==="object"){if(!compareDataObjects(E[R],N[R])){return false}}else if(typeof E[R]!=="function"){if(E[R]!==N[R]){return false}}}return true}E.compareDataObjects=compareDataObjects;function clearMap(E,N){E.forEach(N);E.clear()}E.clearMap=clearMap;function mutateMapSkippingNewValues(E,N,R){var j=R.onDeleteValue,$=R.onExistingValue;E.forEach((function(R,q){var G=N.get(q);if(G===undefined){E.delete(q);j(R,q)}else if($){$(R,G,q)}}))}E.mutateMapSkippingNewValues=mutateMapSkippingNewValues;function mutateMap(E,N,R){mutateMapSkippingNewValues(E,N,R);var j=R.createNewValue;N.forEach((function(N,R){if(!E.has(R)){E.set(R,j(R,N))}}))}E.mutateMap=mutateMap;function isAbstractConstructorSymbol(E){if(E.flags&32){var N=getClassLikeDeclarationOfSymbol(E);return!!N&&hasSyntacticModifier(N,128)}return false}E.isAbstractConstructorSymbol=isAbstractConstructorSymbol;function getClassLikeDeclarationOfSymbol(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find(E.isClassLike)}E.getClassLikeDeclarationOfSymbol=getClassLikeDeclarationOfSymbol;function getObjectFlags(E){return E.flags&3899393?E.objectFlags:0}E.getObjectFlags=getObjectFlags;function typeHasCallOrConstructSignatures(E,N){return N.getSignaturesOfType(E,0).length!==0||N.getSignaturesOfType(E,1).length!==0}E.typeHasCallOrConstructSignatures=typeHasCallOrConstructSignatures;function forSomeAncestorDirectory(N,R){return!!E.forEachAncestorDirectory(N,(function(E){return R(E)?true:undefined}))}E.forSomeAncestorDirectory=forSomeAncestorDirectory;function isUMDExportSymbol(N){return!!N&&!!N.declarations&&!!N.declarations[0]&&E.isNamespaceExportDeclaration(N.declarations[0])}E.isUMDExportSymbol=isUMDExportSymbol;function showModuleSpecifier(N){var R=N.moduleSpecifier;return E.isStringLiteral(R)?R.text:getTextOfNode(R)}E.showModuleSpecifier=showModuleSpecifier;function getLastChild(N){var R;E.forEachChild(N,(function(E){if(nodeIsPresent(E))R=E}),(function(E){for(var N=E.length-1;N>=0;N--){if(nodeIsPresent(E[N])){R=E[N];break}}}));return R}E.getLastChild=getLastChild;function addToSeen(E,N,R){if(R===void 0){R=true}if(E.has(N)){return false}E.set(N,R);return true}E.addToSeen=addToSeen;function isObjectTypeDeclaration(N){return E.isClassLike(N)||E.isInterfaceDeclaration(N)||E.isTypeLiteralNode(N)}E.isObjectTypeDeclaration=isObjectTypeDeclaration;function isTypeNodeKind(E){return E>=175&&E<=198||E===129||E===153||E===145||E===156||E===146||E===132||E===148||E===149||E===114||E===151||E===142||E===226||E===307||E===308||E===309||E===310||E===311||E===312||E===313}E.isTypeNodeKind=isTypeNodeKind;function isAccessExpression(E){return E.kind===204||E.kind===205}E.isAccessExpression=isAccessExpression;function getNameOfAccessExpression(N){if(N.kind===204){return N.name}E.Debug.assert(N.kind===205);return N.argumentExpression}E.getNameOfAccessExpression=getNameOfAccessExpression;function isBundleFileTextLike(E){switch(E.kind){case"text":case"internal":return true;default:return false}}E.isBundleFileTextLike=isBundleFileTextLike;function isNamedImportsOrExports(E){return E.kind===267||E.kind===271}E.isNamedImportsOrExports=isNamedImportsOrExports;function getLeftmostAccessExpression(E){while(isAccessExpression(E)){E=E.expression}return E}E.getLeftmostAccessExpression=getLeftmostAccessExpression;function getLeftmostExpression(E,N){while(true){switch(E.kind){case 218:E=E.operand;continue;case 219:E=E.left;continue;case 220:E=E.condition;continue;case 208:E=E.tag;continue;case 206:if(N){return E}case 227:case 205:case 204:case 228:case 345:E=E.expression;continue}return E}}E.getLeftmostExpression=getLeftmostExpression;function Symbol(E,N){this.flags=E;this.escapedName=N;this.declarations=undefined;this.valueDeclaration=undefined;this.id=undefined;this.mergeId=undefined;this.parent=undefined}function Type(N,R){this.flags=R;if(E.Debug.isDebugging||E.tracing){this.checker=N}}function Signature(N,R){this.flags=R;if(E.Debug.isDebugging){this.checker=N}}function Node(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.original=undefined}function Token(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined}function Identifier(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined;this.original=undefined;this.flowNode=undefined}function SourceMapSource(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R||function(E){return E}}E.objectAllocator={getNodeConstructor:function(){return Node},getTokenConstructor:function(){return Token},getIdentifierConstructor:function(){return Identifier},getPrivateIdentifierConstructor:function(){return Node},getSourceFileConstructor:function(){return Node},getSymbolConstructor:function(){return Symbol},getTypeConstructor:function(){return Type},getSignatureConstructor:function(){return Signature},getSourceMapSourceConstructor:function(){return SourceMapSource}};function setObjectAllocator(N){E.objectAllocator=N}E.setObjectAllocator=setObjectAllocator;function formatStringFromArgs(N,R,j){if(j===void 0){j=0}return N.replace(/{(\d+)}/g,(function(N,$){return""+E.Debug.checkDefined(R[+$+j])}))}E.formatStringFromArgs=formatStringFromArgs;function setLocalizedDiagnosticMessages(N){E.localizedDiagnosticMessages=N}E.setLocalizedDiagnosticMessages=setLocalizedDiagnosticMessages;function getLocaleSpecificMessage(N){return E.localizedDiagnosticMessages&&E.localizedDiagnosticMessages[N.key]||N.message}E.getLocaleSpecificMessage=getLocaleSpecificMessage;function createDetachedDiagnostic(E,N,R,j){assertDiagnosticLocation(undefined,N,R);var $=getLocaleSpecificMessage(j);if(arguments.length>4){$=formatStringFromArgs($,arguments,4)}return{file:undefined,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,fileName:E}}E.createDetachedDiagnostic=createDetachedDiagnostic;function isDiagnosticWithDetachedLocation(E){return E.file===undefined&&E.start!==undefined&&E.length!==undefined&&typeof E.fileName==="string"}function attachFileToDiagnostic(N,R){var j=R.fileName||"";var $=R.text.length;E.Debug.assertEqual(N.fileName,j);E.Debug.assertLessThanOrEqual(N.start,$);E.Debug.assertLessThanOrEqual(N.start+N.length,$);var q={file:R,start:N.start,length:N.length,messageText:N.messageText,category:N.category,code:N.code,reportsUnnecessary:N.reportsUnnecessary};if(N.relatedInformation){q.relatedInformation=[];for(var G=0,ie=N.relatedInformation;G4){$=formatStringFromArgs($,arguments,4)}return{file:E,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,reportsDeprecated:j.reportsDeprecated}}E.createFileDiagnostic=createFileDiagnostic;function formatMessage(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return R}E.formatMessage=formatMessage;function createCompilerDiagnostic(E){var N=getLocaleSpecificMessage(E);if(arguments.length>1){N=formatStringFromArgs(N,arguments,1)}return{file:undefined,start:undefined,length:undefined,messageText:N,category:E.category,code:E.code,reportsUnnecessary:E.reportsUnnecessary,reportsDeprecated:E.reportsDeprecated}}E.createCompilerDiagnostic=createCompilerDiagnostic;function createCompilerDiagnosticFromMessageChain(E,N){return{file:undefined,start:undefined,length:undefined,code:E.code,category:E.category,messageText:E.next?E:E.messageText,relatedInformation:N}}E.createCompilerDiagnosticFromMessageChain=createCompilerDiagnosticFromMessageChain;function chainDiagnosticMessages(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return{messageText:R,category:N.category,code:N.code,next:E===undefined||Array.isArray(E)?E:[E]}}E.chainDiagnosticMessages=chainDiagnosticMessages;function concatenateDiagnosticMessageChains(E,N){var R=E;while(R.next){R=R.next[0]}R.next=[N]}E.concatenateDiagnosticMessageChains=concatenateDiagnosticMessageChains;function getDiagnosticFilePath(E){return E.file?E.file.path:undefined}function compareDiagnostics(E,N){return compareDiagnosticsSkipRelatedInformation(E,N)||compareRelatedInformation(E,N)||0}E.compareDiagnostics=compareDiagnostics;function compareDiagnosticsSkipRelatedInformation(N,R){return E.compareStringsCaseSensitive(getDiagnosticFilePath(N),getDiagnosticFilePath(R))||E.compareValues(N.start,R.start)||E.compareValues(N.length,R.length)||E.compareValues(N.code,R.code)||compareMessageText(N.messageText,R.messageText)||0}E.compareDiagnosticsSkipRelatedInformation=compareDiagnosticsSkipRelatedInformation;function compareRelatedInformation(N,R){if(!N.relatedInformation&&!R.relatedInformation){return 0}if(N.relatedInformation&&R.relatedInformation){return E.compareValues(N.relatedInformation.length,R.relatedInformation.length)||E.forEach(N.relatedInformation,(function(E,N){var j=R.relatedInformation[N];return compareDiagnostics(E,j)}))||0}return N.relatedInformation?-1:1}function compareMessageText(N,R){if(typeof N==="string"&&typeof R==="string"){return E.compareStringsCaseSensitive(N,R)}else if(typeof N==="string"){return-1}else if(typeof R==="string"){return 1}var j=E.compareStringsCaseSensitive(N.messageText,R.messageText);if(j){return j}if(!N.next&&!R.next){return 0}if(!N.next){return-1}if(!R.next){return 1}var $=Math.min(N.next.length,R.next.length);for(var q=0;q<$;q++){j=compareMessageText(N.next[q],R.next[q]);if(j){return j}}if(N.next.lengthR.next.length){return 1}return 0}function getLanguageVariant(E){return E===4||E===2||E===1||E===6?1:0}E.getLanguageVariant=getLanguageVariant;function getEmitScriptTarget(E){return E.target||0}E.getEmitScriptTarget=getEmitScriptTarget;function getEmitModuleKind(N){return typeof N.module==="number"?N.module:getEmitScriptTarget(N)>=2?E.ModuleKind.ES2015:E.ModuleKind.CommonJS}E.getEmitModuleKind=getEmitModuleKind;function getEmitModuleResolutionKind(N){var R=N.moduleResolution;if(R===undefined){R=getEmitModuleKind(N)===E.ModuleKind.CommonJS?E.ModuleResolutionKind.NodeJs:E.ModuleResolutionKind.Classic}return R}E.getEmitModuleResolutionKind=getEmitModuleResolutionKind;function hasJsonModuleEmitEnabled(N){switch(getEmitModuleKind(N)){case E.ModuleKind.CommonJS:case E.ModuleKind.AMD:case E.ModuleKind.ES2015:case E.ModuleKind.ES2020:case E.ModuleKind.ESNext:return true;default:return false}}E.hasJsonModuleEmitEnabled=hasJsonModuleEmitEnabled;function unreachableCodeIsError(E){return E.allowUnreachableCode===false}E.unreachableCodeIsError=unreachableCodeIsError;function unusedLabelIsError(E){return E.allowUnusedLabels===false}E.unusedLabelIsError=unusedLabelIsError;function getAreDeclarationMapsEnabled(E){return!!(getEmitDeclarations(E)&&E.declarationMap)}E.getAreDeclarationMapsEnabled=getAreDeclarationMapsEnabled;function getAllowSyntheticDefaultImports(N){var R=getEmitModuleKind(N);return N.allowSyntheticDefaultImports!==undefined?N.allowSyntheticDefaultImports:N.esModuleInterop||R===E.ModuleKind.System}E.getAllowSyntheticDefaultImports=getAllowSyntheticDefaultImports;function getEmitDeclarations(E){return!!(E.declaration||E.composite)}E.getEmitDeclarations=getEmitDeclarations;function shouldPreserveConstEnums(E){return!!(E.preserveConstEnums||E.isolatedModules)}E.shouldPreserveConstEnums=shouldPreserveConstEnums;function isIncrementalCompilation(E){return!!(E.incremental||E.composite)}E.isIncrementalCompilation=isIncrementalCompilation;function getStrictOptionValue(E,N){return E[N]===undefined?!!E.strict:!!E[N]}E.getStrictOptionValue=getStrictOptionValue;function getAllowJSCompilerOption(E){return E.allowJs===undefined?!!E.checkJs:E.allowJs}E.getAllowJSCompilerOption=getAllowJSCompilerOption;function getUseDefineForClassFields(E){return E.useDefineForClassFields===undefined?E.target===99:E.useDefineForClassFields}E.getUseDefineForClassFields=getUseDefineForClassFields;function compilerOptionsAffectSemanticDiagnostics(N,R){return optionsHaveChanges(R,N,E.semanticDiagnosticsOptionDeclarations)}E.compilerOptionsAffectSemanticDiagnostics=compilerOptionsAffectSemanticDiagnostics;function compilerOptionsAffectEmit(N,R){return optionsHaveChanges(R,N,E.affectsEmitOptionDeclarations)}E.compilerOptionsAffectEmit=compilerOptionsAffectEmit;function getCompilerOptionValue(E,N){return N.strictFlag?getStrictOptionValue(E,N.name):E[N.name]}E.getCompilerOptionValue=getCompilerOptionValue;function getJSXTransformEnabled(E){var N=E.jsx;return N===2||N===4||N===5}E.getJSXTransformEnabled=getJSXTransformEnabled;function getJSXImplicitImportBase(N,R){var j=R===null||R===void 0?void 0:R.pragmas.get("jsximportsource");var $=E.isArray(j)?j[j.length-1]:j;return N.jsx===4||N.jsx===5||N.jsxImportSource||$?($===null||$===void 0?void 0:$.arguments.factory)||N.jsxImportSource||"react":undefined}E.getJSXImplicitImportBase=getJSXImplicitImportBase;function getJSXRuntimeImport(E,N){return E?E+"/"+(N.jsx===5?"jsx-dev-runtime":"jsx-runtime"):undefined}E.getJSXRuntimeImport=getJSXRuntimeImport;function hasZeroOrOneAsteriskCharacter(E){var N=false;for(var R=0;R0){ae+=")?";Ee--}return ae}function replaceWildcardCharacter(E,N){return E==="*"?N:E==="?"?"[^/]":"\\"+E}function getFileMatcherPatterns(N,R,j,$,q){N=E.normalizePath(N);q=E.normalizePath(q);var G=E.combinePaths(q,N);return{includeFilePatterns:E.map(getRegularExpressionsForWildcards(j,G,"files"),(function(E){return"^"+E+"$"})),includeFilePattern:getRegularExpressionForWildcard(j,G,"files"),includeDirectoryPattern:getRegularExpressionForWildcard(j,G,"directories"),excludePattern:getRegularExpressionForWildcard(R,G,"exclude"),basePaths:getBasePaths(N,j,$)}}E.getFileMatcherPatterns=getFileMatcherPatterns;function getRegexFromPattern(E,N){return new RegExp(E,N?"":"i")}E.getRegexFromPattern=getRegexFromPattern;function matchFiles(N,R,j,$,q,G,ie,ae,ce,le){N=E.normalizePath(N);G=E.normalizePath(G);var _e=getFileMatcherPatterns(N,j,$,q,G);var Ee=_e.includeFilePatterns&&_e.includeFilePatterns.map((function(E){return getRegexFromPattern(E,q)}));var Te=_e.includeDirectoryPattern&&getRegexFromPattern(_e.includeDirectoryPattern,q);var we=_e.excludePattern&&getRegexFromPattern(_e.excludePattern,q);var Ie=Ee?Ee.map((function(){return[]})):[[]];var Ne=new E.Map;var Me=E.createGetCanonicalFileName(q);for(var Le=0,Be=_e.basePaths;Le=0;j--){if(E.fileExtensionIs(N,R[j])){return adjustExtensionPriority(j,R)}}return 0}E.getExtensionPriority=getExtensionPriority;function adjustExtensionPriority(E,N){if(E<2){return 0}else if(E=0)}E.positionIsSynthesized=positionIsSynthesized;function extensionIsTS(E){return E===".ts"||E===".tsx"||E===".d.ts"}E.extensionIsTS=extensionIsTS;function resolutionExtensionIsTSOrJson(E){return extensionIsTS(E)||E===".json"}E.resolutionExtensionIsTSOrJson=resolutionExtensionIsTSOrJson;function extensionFromPath(N){var R=tryGetExtensionFromPath(N);return R!==undefined?R:E.Debug.fail("File "+N+" has unknown extension.")}E.extensionFromPath=extensionFromPath;function isAnySupportedFileExtension(E){return tryGetExtensionFromPath(E)!==undefined}E.isAnySupportedFileExtension=isAnySupportedFileExtension;function tryGetExtensionFromPath(N){return E.find(tt,(function(R){return E.fileExtensionIs(N,R)}))}E.tryGetExtensionFromPath=tryGetExtensionFromPath;function isCheckJsEnabledForFile(E,N){return E.checkJsDirective?E.checkJsDirective.enabled:N.checkJs}E.isCheckJsEnabledForFile=isCheckJsEnabledForFile;E.emptyFileSystemEntries={files:E.emptyArray,directories:E.emptyArray};function matchPatternOrExact(N,R){var j=[];for(var $=0,q=N;$$){$=G}}return{min:j,max:$}}E.minAndMax=minAndMax;function rangeOfNode(E){return{pos:getTokenPosOfNode(E),end:E.end}}E.rangeOfNode=rangeOfNode;function rangeOfTypeParameters(N,R){var j=R.pos-1;var $=E.skipTrivia(N.text,R.end)+1;return{pos:j,end:$}}E.rangeOfTypeParameters=rangeOfTypeParameters;function skipTypeChecking(E,N,R){return N.skipLibCheck&&E.isDeclarationFile||N.skipDefaultLibCheck&&E.hasNoDefaultLib||R.isSourceOfProjectReferenceRedirect(E.fileName)}E.skipTypeChecking=skipTypeChecking;function isJsonEqual(N,R){return N===R||typeof N==="object"&&N!==null&&typeof R==="object"&&R!==null&&E.equalOwnProperties(N,R,isJsonEqual)}E.isJsonEqual=isJsonEqual;function parsePseudoBigInt(E){var N;switch(E.charCodeAt(1)){case 98:case 66:N=1;break;case 111:case 79:N=3;break;case 120:case 88:N=4;break;default:var R=E.length-1;var j=0;while(E.charCodeAt(j)===48){j++}return E.slice(j,R)||"0"}var $=2,q=E.length-1;var G=(q-$)*N;var ie=new Uint16Array((G>>>4)+(G&15?1:0));for(var ae=q-1,ce=0;ae>=$;ae--,ce+=N){var le=ce>>>4;var _e=E.charCodeAt(ae);var Ee=_e<=57?_e-48:10+_e-(_e<=70?65:97);var Te=Ee<<(ce&15);ie[le]|=Te;var we=Te>>>16;if(we)ie[le+1]|=we}var Ie="";var Ne=ie.length-1;var Me=true;while(Me){var Le=0;Me=false;for(var le=Ne;le>=0;le--){var Be=Le<<16|ie[le];var je=Be/10|0;ie[le]=je;Le=Be-je*10;if(je&&!Me){Ne=le;Me=true}}Ie=Le+Ie}return Ie}E.parsePseudoBigInt=parsePseudoBigInt;function pseudoBigIntToString(E){var N=E.negative,R=E.base10Value;return(N&&R!=="0"?"-":"")+R}E.pseudoBigIntToString=pseudoBigIntToString;function isValidTypeOnlyAliasUseSite(E){return!!(E.flags&8388608)||isPartOfTypeQuery(E)||isIdentifierInNonEmittingHeritageClause(E)||isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E)||!(isExpressionNode(E)||isShorthandPropertyNameUseSite(E))}E.isValidTypeOnlyAliasUseSite=isValidTypeOnlyAliasUseSite;function typeOnlyDeclarationIsExport(E){return E.kind===273}E.typeOnlyDeclarationIsExport=typeOnlyDeclarationIsExport;function isShorthandPropertyNameUseSite(N){return E.isIdentifier(N)&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N}function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E){while(E.kind===79||E.kind===204){E=E.parent}if(E.kind!==160){return false}if(hasSyntacticModifier(E.parent,128)){return true}var N=E.parent.parent.kind;return N===256||N===180}function isIdentifierInNonEmittingHeritageClause(N){if(N.kind!==79)return false;var R=E.findAncestor(N.parent,(function(E){switch(E.kind){case 289:return true;case 204:case 226:return false;default:return"quit"}}));return(R===null||R===void 0?void 0:R.token)===117||(R===null||R===void 0?void 0:R.parent.kind)===256}function isIdentifierTypeReference(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)}E.isIdentifierTypeReference=isIdentifierTypeReference;function arrayIsHomogeneous(N,R){if(R===void 0){R=E.equateValues}if(N.length<2)return true;var j=N[0];for(var $=1,q=N.length;$3){return true}var ae=E.getExpressionPrecedence(ie);switch(E.compareValues(ae,q)){case-1:if(!j&&G===1&&R.kind===222){return false}return true;case 1:return false;case 0:if(j){return G===1}else{if(E.isBinaryExpression(ie)&&ie.operatorToken.kind===N){if(operatorHasAssociativeProperty(N)){return false}if(N===39){var ce=$?getLiteralKindOfBinaryPlusOperand($):0;if(E.isLiteralKind(ce)&&ce===getLiteralKindOfBinaryPlusOperand(ie)){return false}}}var le=E.getExpressionAssociativity(ie);return le===0}}}function operatorHasAssociativeProperty(E){return E===41||E===51||E===50||E===52}function getLiteralKindOfBinaryPlusOperand(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isLiteralKind(N.kind)){return N.kind}if(N.kind===219&&N.operatorToken.kind===39){if(N.cachedLiteralKind!==undefined){return N.cachedLiteralKind}var R=getLiteralKindOfBinaryPlusOperand(N.left);var j=E.isLiteralKind(R)&&R===getLiteralKindOfBinaryPlusOperand(N.right)?R:0;N.cachedLiteralKind=j;return j}return 0}function parenthesizeBinaryOperand(R,j,$,q){var G=E.skipPartiallyEmittedExpressions(j);if(G.kind===210){return j}return binaryOperandNeedsParentheses(R,j,$,q)?N.createParenthesizedExpression(j):j}function parenthesizeLeftSideOfBinary(E,N){return parenthesizeBinaryOperand(E,N,true)}function parenthesizeRightSideOfBinary(E,N,R){return parenthesizeBinaryOperand(E,R,false,N)}function parenthesizeExpressionOfComputedPropertyName(R){return E.isCommaSequence(R)?N.createParenthesizedExpression(R):R}function parenthesizeConditionOfConditionalExpression(R){var j=E.getOperatorPrecedence(220,57);var $=E.skipPartiallyEmittedExpressions(R);var q=E.getExpressionPrecedence($);if(E.compareValues(q,j)!==1){return N.createParenthesizedExpression(R)}return R}function parenthesizeBranchOfConditionalExpression(R){var j=E.skipPartiallyEmittedExpressions(R);return E.isCommaSequence(j)?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfExportDefault(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.isCommaSequence(j);if(!$){switch(E.getLeftmostExpression(j,false).kind){case 224:case 211:$=true}}return $?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfNew(R){var j=E.getLeftmostExpression(R,true);switch(j.kind){case 206:return N.createParenthesizedExpression(R);case 207:return!j.arguments?N.createParenthesizedExpression(R):R}return parenthesizeLeftSideOfAccess(R)}function parenthesizeLeftSideOfAccess(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isLeftHandSideExpression(j)&&(j.kind!==207||j.arguments)){return R}return E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPostfixUnary(R){return E.isLeftHandSideExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPrefixUnary(R){return E.isUnaryExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionsOfCommaDelimitedList(R){var j=E.sameMap(R,parenthesizeExpressionForDisallowedComma);return E.setTextRange(N.createNodeArray(j,R.hasTrailingComma),R)}function parenthesizeExpressionForDisallowedComma(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.getExpressionPrecedence(j);var q=E.getOperatorPrecedence(219,27);return $>q?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionOfExpressionStatement(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isCallExpression(j)){var $=j.expression;var q=E.skipPartiallyEmittedExpressions($).kind;if(q===211||q===212){var G=N.updateCallExpression(j,E.setTextRange(N.createParenthesizedExpression($),$),j.typeArguments,j.arguments);return N.restoreOuterExpressions(R,G,8)}}var ie=E.getLeftmostExpression(j,false).kind;if(ie===203||ie===211){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeConciseBodyOfArrowFunction(R){if(!E.isBlock(R)&&(E.isCommaSequence(R)||E.getLeftmostExpression(R,false).kind===203)){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeMemberOfConditionalType(E){return E.kind===187?N.createParenthesizedType(E):E}function parenthesizeMemberOfElementType(E){switch(E.kind){case 185:case 186:case 177:case 178:return N.createParenthesizedType(E)}return parenthesizeMemberOfConditionalType(E)}function parenthesizeElementTypeOfArrayType(E){switch(E.kind){case 179:case 191:case 188:return N.createParenthesizedType(E)}return parenthesizeMemberOfElementType(E)}function parenthesizeConstituentTypesOfUnionOrIntersectionType(R){return N.createNodeArray(E.sameMap(R,parenthesizeMemberOfElementType))}function parenthesizeOrdinalTypeArgument(R,j){return j===0&&E.isFunctionOrConstructorTypeNode(R)&&R.typeParameters?N.createParenthesizedType(R):R}function parenthesizeTypeArguments(R){if(E.some(R)){return N.createNodeArray(E.sameMap(R,parenthesizeOrdinalTypeArgument))}}}E.createParenthesizerRules=createParenthesizerRules;E.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(N){return E.identity},getParenthesizeRightSideOfBinaryForOperator:function(N){return E.identity},parenthesizeLeftSideOfBinary:function(E,N){return N},parenthesizeRightSideOfBinary:function(E,N,R){return R},parenthesizeExpressionOfComputedPropertyName:E.identity,parenthesizeConditionOfConditionalExpression:E.identity,parenthesizeBranchOfConditionalExpression:E.identity,parenthesizeExpressionOfExportDefault:E.identity,parenthesizeExpressionOfNew:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(N){return E.cast(N,E.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(N){return E.cast(N,E.isNodeArray)},parenthesizeExpressionForDisallowedComma:E.identity,parenthesizeExpressionOfExpressionStatement:E.identity,parenthesizeConciseBodyOfArrowFunction:E.identity,parenthesizeMemberOfConditionalType:E.identity,parenthesizeMemberOfElementType:E.identity,parenthesizeElementTypeOfArrayType:E.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(N){return E.cast(N,E.isNodeArray)},parenthesizeTypeArguments:function(N){return N&&E.cast(N,E.isNodeArray)}}})(ce||(ce={}));var ce;(function(E){function createNodeConverters(N){return{convertToFunctionBlock:convertToFunctionBlock,convertToFunctionExpression:convertToFunctionExpression,convertToArrayAssignmentElement:convertToArrayAssignmentElement,convertToObjectAssignmentElement:convertToObjectAssignmentElement,convertToAssignmentPattern:convertToAssignmentPattern,convertToObjectAssignmentPattern:convertToObjectAssignmentPattern,convertToArrayAssignmentPattern:convertToArrayAssignmentPattern,convertToAssignmentElementTarget:convertToAssignmentElementTarget};function convertToFunctionBlock(R,j){if(E.isBlock(R))return R;var $=N.createReturnStatement(R);E.setTextRange($,R);var q=N.createBlock([$],j);E.setTextRange(q,R);return q}function convertToFunctionExpression(R){if(!R.body)return E.Debug.fail("Cannot convert a FunctionDeclaration without a body");var j=N.createFunctionExpression(R.modifiers,R.asteriskToken,R.name,R.typeParameters,R.parameters,R.type,R.body);E.setOriginalNode(j,R);E.setTextRange(j,R);if(E.getStartsOnNewLine(R)){E.setStartsOnNewLine(j,true)}return j}function convertToArrayAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadElement(R.name),R),R)}var j=convertToAssignmentElementTarget(R.name);return R.initializer?E.setOriginalNode(E.setTextRange(N.createAssignment(j,R.initializer),R),R):j}return E.cast(R,E.isExpression)}function convertToObjectAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadAssignment(R.name),R),R)}if(R.propertyName){var j=convertToAssignmentElementTarget(R.name);return E.setOriginalNode(E.setTextRange(N.createPropertyAssignment(R.propertyName,R.initializer?N.createAssignment(j,R.initializer):j),R),R)}E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createShorthandPropertyAssignment(R.name,R.initializer),R),R)}return E.cast(R,E.isObjectLiteralElementLike)}function convertToAssignmentPattern(E){switch(E.kind){case 200:case 202:return convertToArrayAssignmentPattern(E);case 199:case 203:return convertToObjectAssignmentPattern(E)}}function convertToObjectAssignmentPattern(R){if(E.isObjectBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createObjectLiteralExpression(E.map(R.elements,convertToObjectAssignmentElement)),R),R)}return E.cast(R,E.isObjectLiteralExpression)}function convertToArrayAssignmentPattern(R){if(E.isArrayBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createArrayLiteralExpression(E.map(R.elements,convertToArrayAssignmentElement)),R),R)}return E.cast(R,E.isArrayLiteralExpression)}function convertToAssignmentElementTarget(N){if(E.isBindingPattern(N)){return convertToAssignmentPattern(N)}return E.cast(N,E.isExpression)}}E.createNodeConverters=createNodeConverters;E.nullNodeConverters={convertToFunctionBlock:E.notImplemented,convertToFunctionExpression:E.notImplemented,convertToArrayAssignmentElement:E.notImplemented,convertToObjectAssignmentElement:E.notImplemented,convertToAssignmentPattern:E.notImplemented,convertToObjectAssignmentPattern:E.notImplemented,convertToArrayAssignmentPattern:E.notImplemented,convertToAssignmentElementTarget:E.notImplemented}})(ce||(ce={}));var ce;(function(E){var N=0;var R;(function(E){E[E["None"]=0]="None";E[E["NoParenthesizerRules"]=1]="NoParenthesizerRules";E[E["NoNodeConverters"]=2]="NoNodeConverters";E[E["NoIndentationOnFreshPropertyAccess"]=4]="NoIndentationOnFreshPropertyAccess";E[E["NoOriginalNode"]=8]="NoOriginalNode"})(R=E.NodeFactoryFlags||(E.NodeFactoryFlags={}));function createNodeFactory(R,$){var q=R&8?updateWithoutOriginal:updateWithOriginal;var G=E.memoize((function(){return R&1?E.nullParenthesizerRules:E.createParenthesizerRules(Le)}));var ie=E.memoize((function(){return R&2?E.nullNodeConverters:E.createNodeConverters(Le)}));var ae=E.memoizeOne((function(E){return function(N,R){return createBinaryExpression(N,E,R)}}));var ce=E.memoizeOne((function(E){return function(N){return createPrefixUnaryExpression(E,N)}}));var le=E.memoizeOne((function(E){return function(N){return createPostfixUnaryExpression(N,E)}}));var _e=E.memoizeOne((function(E){return function(){return createJSDocPrimaryTypeWorker(E)}}));var Ee=E.memoizeOne((function(E){return function(N){return createJSDocUnaryTypeWorker(E,N)}}));var Te=E.memoizeOne((function(E){return function(N,R){return updateJSDocUnaryTypeWorker(E,N,R)}}));var we=E.memoizeOne((function(E){return function(N,R){return createJSDocSimpleTagWorker(E,N,R)}}));var Ie=E.memoizeOne((function(E){return function(N,R,j){return updateJSDocSimpleTagWorker(E,N,R,j)}}));var Ne=E.memoizeOne((function(E){return function(N,R,j){return createJSDocTypeLikeTagWorker(E,N,R,j)}}));var Me=E.memoizeOne((function(E){return function(N,R,j,$){return updateJSDocTypeLikeTagWorker(E,N,R,j,$)}}));var Le={get parenthesizer(){return G()},get converters(){return ie()},createNodeArray:createNodeArray,createNumericLiteral:createNumericLiteral,createBigIntLiteral:createBigIntLiteral,createStringLiteral:createStringLiteral,createStringLiteralFromNode:createStringLiteralFromNode,createRegularExpressionLiteral:createRegularExpressionLiteral,createLiteralLikeNode:createLiteralLikeNode,createIdentifier:createIdentifier,updateIdentifier:updateIdentifier,createTempVariable:createTempVariable,createLoopVariable:createLoopVariable,createUniqueName:createUniqueName,getGeneratedNameForNode:getGeneratedNameForNode,createPrivateIdentifier:createPrivateIdentifier,createToken:createToken,createSuper:createSuper,createThis:createThis,createNull:createNull,createTrue:createTrue,createFalse:createFalse,createModifier:createModifier,createModifiersFromModifierFlags:createModifiersFromModifierFlags,createQualifiedName:createQualifiedName,updateQualifiedName:updateQualifiedName,createComputedPropertyName:createComputedPropertyName,updateComputedPropertyName:updateComputedPropertyName,createTypeParameterDeclaration:createTypeParameterDeclaration,updateTypeParameterDeclaration:updateTypeParameterDeclaration,createParameterDeclaration:createParameterDeclaration,updateParameterDeclaration:updateParameterDeclaration,createDecorator:createDecorator,updateDecorator:updateDecorator,createPropertySignature:createPropertySignature,updatePropertySignature:updatePropertySignature,createPropertyDeclaration:createPropertyDeclaration,updatePropertyDeclaration:updatePropertyDeclaration,createMethodSignature:createMethodSignature,updateMethodSignature:updateMethodSignature,createMethodDeclaration:createMethodDeclaration,updateMethodDeclaration:updateMethodDeclaration,createConstructorDeclaration:createConstructorDeclaration,updateConstructorDeclaration:updateConstructorDeclaration,createGetAccessorDeclaration:createGetAccessorDeclaration,updateGetAccessorDeclaration:updateGetAccessorDeclaration,createSetAccessorDeclaration:createSetAccessorDeclaration,updateSetAccessorDeclaration:updateSetAccessorDeclaration,createCallSignature:createCallSignature,updateCallSignature:updateCallSignature,createConstructSignature:createConstructSignature,updateConstructSignature:updateConstructSignature,createIndexSignature:createIndexSignature,updateIndexSignature:updateIndexSignature,createClassStaticBlockDeclaration:createClassStaticBlockDeclaration,updateClassStaticBlockDeclaration:updateClassStaticBlockDeclaration,createTemplateLiteralTypeSpan:createTemplateLiteralTypeSpan,updateTemplateLiteralTypeSpan:updateTemplateLiteralTypeSpan,createKeywordTypeNode:createKeywordTypeNode,createTypePredicateNode:createTypePredicateNode,updateTypePredicateNode:updateTypePredicateNode,createTypeReferenceNode:createTypeReferenceNode,updateTypeReferenceNode:updateTypeReferenceNode,createFunctionTypeNode:createFunctionTypeNode,updateFunctionTypeNode:updateFunctionTypeNode,createConstructorTypeNode:createConstructorTypeNode,updateConstructorTypeNode:updateConstructorTypeNode,createTypeQueryNode:createTypeQueryNode,updateTypeQueryNode:updateTypeQueryNode,createTypeLiteralNode:createTypeLiteralNode,updateTypeLiteralNode:updateTypeLiteralNode,createArrayTypeNode:createArrayTypeNode,updateArrayTypeNode:updateArrayTypeNode,createTupleTypeNode:createTupleTypeNode,updateTupleTypeNode:updateTupleTypeNode,createNamedTupleMember:createNamedTupleMember,updateNamedTupleMember:updateNamedTupleMember,createOptionalTypeNode:createOptionalTypeNode,updateOptionalTypeNode:updateOptionalTypeNode,createRestTypeNode:createRestTypeNode,updateRestTypeNode:updateRestTypeNode,createUnionTypeNode:createUnionTypeNode,updateUnionTypeNode:updateUnionTypeNode,createIntersectionTypeNode:createIntersectionTypeNode,updateIntersectionTypeNode:updateIntersectionTypeNode,createConditionalTypeNode:createConditionalTypeNode,updateConditionalTypeNode:updateConditionalTypeNode,createInferTypeNode:createInferTypeNode,updateInferTypeNode:updateInferTypeNode,createImportTypeNode:createImportTypeNode,updateImportTypeNode:updateImportTypeNode,createParenthesizedType:createParenthesizedType,updateParenthesizedType:updateParenthesizedType,createThisTypeNode:createThisTypeNode,createTypeOperatorNode:createTypeOperatorNode,updateTypeOperatorNode:updateTypeOperatorNode,createIndexedAccessTypeNode:createIndexedAccessTypeNode,updateIndexedAccessTypeNode:updateIndexedAccessTypeNode,createMappedTypeNode:createMappedTypeNode,updateMappedTypeNode:updateMappedTypeNode,createLiteralTypeNode:createLiteralTypeNode,updateLiteralTypeNode:updateLiteralTypeNode,createTemplateLiteralType:createTemplateLiteralType,updateTemplateLiteralType:updateTemplateLiteralType,createObjectBindingPattern:createObjectBindingPattern,updateObjectBindingPattern:updateObjectBindingPattern,createArrayBindingPattern:createArrayBindingPattern,updateArrayBindingPattern:updateArrayBindingPattern,createBindingElement:createBindingElement,updateBindingElement:updateBindingElement,createArrayLiteralExpression:createArrayLiteralExpression,updateArrayLiteralExpression:updateArrayLiteralExpression,createObjectLiteralExpression:createObjectLiteralExpression,updateObjectLiteralExpression:updateObjectLiteralExpression,createPropertyAccessExpression:R&4?function(N,R){return E.setEmitFlags(createPropertyAccessExpression(N,R),131072)}:createPropertyAccessExpression,updatePropertyAccessExpression:updatePropertyAccessExpression,createPropertyAccessChain:R&4?function(N,R,j){return E.setEmitFlags(createPropertyAccessChain(N,R,j),131072)}:createPropertyAccessChain,updatePropertyAccessChain:updatePropertyAccessChain,createElementAccessExpression:createElementAccessExpression,updateElementAccessExpression:updateElementAccessExpression,createElementAccessChain:createElementAccessChain,updateElementAccessChain:updateElementAccessChain,createCallExpression:createCallExpression,updateCallExpression:updateCallExpression,createCallChain:createCallChain,updateCallChain:updateCallChain,createNewExpression:createNewExpression,updateNewExpression:updateNewExpression,createTaggedTemplateExpression:createTaggedTemplateExpression,updateTaggedTemplateExpression:updateTaggedTemplateExpression,createTypeAssertion:createTypeAssertion,updateTypeAssertion:updateTypeAssertion,createParenthesizedExpression:createParenthesizedExpression,updateParenthesizedExpression:updateParenthesizedExpression,createFunctionExpression:createFunctionExpression,updateFunctionExpression:updateFunctionExpression,createArrowFunction:createArrowFunction,updateArrowFunction:updateArrowFunction,createDeleteExpression:createDeleteExpression,updateDeleteExpression:updateDeleteExpression,createTypeOfExpression:createTypeOfExpression,updateTypeOfExpression:updateTypeOfExpression,createVoidExpression:createVoidExpression,updateVoidExpression:updateVoidExpression,createAwaitExpression:createAwaitExpression,updateAwaitExpression:updateAwaitExpression,createPrefixUnaryExpression:createPrefixUnaryExpression,updatePrefixUnaryExpression:updatePrefixUnaryExpression,createPostfixUnaryExpression:createPostfixUnaryExpression,updatePostfixUnaryExpression:updatePostfixUnaryExpression,createBinaryExpression:createBinaryExpression,updateBinaryExpression:updateBinaryExpression,createConditionalExpression:createConditionalExpression,updateConditionalExpression:updateConditionalExpression,createTemplateExpression:createTemplateExpression,updateTemplateExpression:updateTemplateExpression,createTemplateHead:createTemplateHead,createTemplateMiddle:createTemplateMiddle,createTemplateTail:createTemplateTail,createNoSubstitutionTemplateLiteral:createNoSubstitutionTemplateLiteral,createTemplateLiteralLikeNode:createTemplateLiteralLikeNode,createYieldExpression:createYieldExpression,updateYieldExpression:updateYieldExpression,createSpreadElement:createSpreadElement,updateSpreadElement:updateSpreadElement,createClassExpression:createClassExpression,updateClassExpression:updateClassExpression,createOmittedExpression:createOmittedExpression,createExpressionWithTypeArguments:createExpressionWithTypeArguments,updateExpressionWithTypeArguments:updateExpressionWithTypeArguments,createAsExpression:createAsExpression,updateAsExpression:updateAsExpression,createNonNullExpression:createNonNullExpression,updateNonNullExpression:updateNonNullExpression,createNonNullChain:createNonNullChain,updateNonNullChain:updateNonNullChain,createMetaProperty:createMetaProperty,updateMetaProperty:updateMetaProperty,createTemplateSpan:createTemplateSpan,updateTemplateSpan:updateTemplateSpan,createSemicolonClassElement:createSemicolonClassElement,createBlock:createBlock,updateBlock:updateBlock,createVariableStatement:createVariableStatement,updateVariableStatement:updateVariableStatement,createEmptyStatement:createEmptyStatement,createExpressionStatement:createExpressionStatement,updateExpressionStatement:updateExpressionStatement,createIfStatement:createIfStatement,updateIfStatement:updateIfStatement,createDoStatement:createDoStatement,updateDoStatement:updateDoStatement,createWhileStatement:createWhileStatement,updateWhileStatement:updateWhileStatement,createForStatement:createForStatement,updateForStatement:updateForStatement,createForInStatement:createForInStatement,updateForInStatement:updateForInStatement,createForOfStatement:createForOfStatement,updateForOfStatement:updateForOfStatement,createContinueStatement:createContinueStatement,updateContinueStatement:updateContinueStatement,createBreakStatement:createBreakStatement,updateBreakStatement:updateBreakStatement,createReturnStatement:createReturnStatement,updateReturnStatement:updateReturnStatement,createWithStatement:createWithStatement,updateWithStatement:updateWithStatement,createSwitchStatement:createSwitchStatement,updateSwitchStatement:updateSwitchStatement,createLabeledStatement:createLabeledStatement,updateLabeledStatement:updateLabeledStatement,createThrowStatement:createThrowStatement,updateThrowStatement:updateThrowStatement,createTryStatement:createTryStatement,updateTryStatement:updateTryStatement,createDebuggerStatement:createDebuggerStatement,createVariableDeclaration:createVariableDeclaration,updateVariableDeclaration:updateVariableDeclaration,createVariableDeclarationList:createVariableDeclarationList,updateVariableDeclarationList:updateVariableDeclarationList,createFunctionDeclaration:createFunctionDeclaration,updateFunctionDeclaration:updateFunctionDeclaration,createClassDeclaration:createClassDeclaration,updateClassDeclaration:updateClassDeclaration,createInterfaceDeclaration:createInterfaceDeclaration,updateInterfaceDeclaration:updateInterfaceDeclaration,createTypeAliasDeclaration:createTypeAliasDeclaration,updateTypeAliasDeclaration:updateTypeAliasDeclaration,createEnumDeclaration:createEnumDeclaration,updateEnumDeclaration:updateEnumDeclaration,createModuleDeclaration:createModuleDeclaration,updateModuleDeclaration:updateModuleDeclaration,createModuleBlock:createModuleBlock,updateModuleBlock:updateModuleBlock,createCaseBlock:createCaseBlock,updateCaseBlock:updateCaseBlock,createNamespaceExportDeclaration:createNamespaceExportDeclaration,updateNamespaceExportDeclaration:updateNamespaceExportDeclaration,createImportEqualsDeclaration:createImportEqualsDeclaration,updateImportEqualsDeclaration:updateImportEqualsDeclaration,createImportDeclaration:createImportDeclaration,updateImportDeclaration:updateImportDeclaration,createImportClause:createImportClause,updateImportClause:updateImportClause,createNamespaceImport:createNamespaceImport,updateNamespaceImport:updateNamespaceImport,createNamespaceExport:createNamespaceExport,updateNamespaceExport:updateNamespaceExport,createNamedImports:createNamedImports,updateNamedImports:updateNamedImports,createImportSpecifier:createImportSpecifier,updateImportSpecifier:updateImportSpecifier,createExportAssignment:createExportAssignment,updateExportAssignment:updateExportAssignment,createExportDeclaration:createExportDeclaration,updateExportDeclaration:updateExportDeclaration,createNamedExports:createNamedExports,updateNamedExports:updateNamedExports,createExportSpecifier:createExportSpecifier,updateExportSpecifier:updateExportSpecifier,createMissingDeclaration:createMissingDeclaration,createExternalModuleReference:createExternalModuleReference,updateExternalModuleReference:updateExternalModuleReference,get createJSDocAllType(){return _e(307)},get createJSDocUnknownType(){return _e(308)},get createJSDocNonNullableType(){return Ee(310)},get updateJSDocNonNullableType(){return Te(310)},get createJSDocNullableType(){return Ee(309)},get updateJSDocNullableType(){return Te(309)},get createJSDocOptionalType(){return Ee(311)},get updateJSDocOptionalType(){return Te(311)},get createJSDocVariadicType(){return Ee(313)},get updateJSDocVariadicType(){return Te(313)},get createJSDocNamepathType(){return Ee(314)},get updateJSDocNamepathType(){return Te(314)},createJSDocFunctionType:createJSDocFunctionType,updateJSDocFunctionType:updateJSDocFunctionType,createJSDocTypeLiteral:createJSDocTypeLiteral,updateJSDocTypeLiteral:updateJSDocTypeLiteral,createJSDocTypeExpression:createJSDocTypeExpression,updateJSDocTypeExpression:updateJSDocTypeExpression,createJSDocSignature:createJSDocSignature,updateJSDocSignature:updateJSDocSignature,createJSDocTemplateTag:createJSDocTemplateTag,updateJSDocTemplateTag:updateJSDocTemplateTag,createJSDocTypedefTag:createJSDocTypedefTag,updateJSDocTypedefTag:updateJSDocTypedefTag,createJSDocParameterTag:createJSDocParameterTag,updateJSDocParameterTag:updateJSDocParameterTag,createJSDocPropertyTag:createJSDocPropertyTag,updateJSDocPropertyTag:updateJSDocPropertyTag,createJSDocCallbackTag:createJSDocCallbackTag,updateJSDocCallbackTag:updateJSDocCallbackTag,createJSDocAugmentsTag:createJSDocAugmentsTag,updateJSDocAugmentsTag:updateJSDocAugmentsTag,createJSDocImplementsTag:createJSDocImplementsTag,updateJSDocImplementsTag:updateJSDocImplementsTag,createJSDocSeeTag:createJSDocSeeTag,updateJSDocSeeTag:updateJSDocSeeTag,createJSDocNameReference:createJSDocNameReference,updateJSDocNameReference:updateJSDocNameReference,createJSDocMemberName:createJSDocMemberName,updateJSDocMemberName:updateJSDocMemberName,createJSDocLink:createJSDocLink,updateJSDocLink:updateJSDocLink,createJSDocLinkCode:createJSDocLinkCode,updateJSDocLinkCode:updateJSDocLinkCode,createJSDocLinkPlain:createJSDocLinkPlain,updateJSDocLinkPlain:updateJSDocLinkPlain,get createJSDocTypeTag(){return Ne(338)},get updateJSDocTypeTag(){return Me(338)},get createJSDocReturnTag(){return Ne(336)},get updateJSDocReturnTag(){return Me(336)},get createJSDocThisTag(){return Ne(337)},get updateJSDocThisTag(){return Me(337)},get createJSDocEnumTag(){return Ne(334)},get updateJSDocEnumTag(){return Me(334)},get createJSDocAuthorTag(){return we(325)},get updateJSDocAuthorTag(){return Ie(325)},get createJSDocClassTag(){return we(327)},get updateJSDocClassTag(){return Ie(327)},get createJSDocPublicTag(){return we(328)},get updateJSDocPublicTag(){return Ie(328)},get createJSDocPrivateTag(){return we(329)},get updateJSDocPrivateTag(){return Ie(329)},get createJSDocProtectedTag(){return we(330)},get updateJSDocProtectedTag(){return Ie(330)},get createJSDocReadonlyTag(){return we(331)},get updateJSDocReadonlyTag(){return Ie(331)},get createJSDocOverrideTag(){return we(332)},get updateJSDocOverrideTag(){return Ie(332)},get createJSDocDeprecatedTag(){return we(326)},get updateJSDocDeprecatedTag(){return Ie(326)},createJSDocUnknownTag:createJSDocUnknownTag,updateJSDocUnknownTag:updateJSDocUnknownTag,createJSDocText:createJSDocText,updateJSDocText:updateJSDocText,createJSDocComment:createJSDocComment,updateJSDocComment:updateJSDocComment,createJsxElement:createJsxElement,updateJsxElement:updateJsxElement,createJsxSelfClosingElement:createJsxSelfClosingElement,updateJsxSelfClosingElement:updateJsxSelfClosingElement,createJsxOpeningElement:createJsxOpeningElement,updateJsxOpeningElement:updateJsxOpeningElement,createJsxClosingElement:createJsxClosingElement,updateJsxClosingElement:updateJsxClosingElement,createJsxFragment:createJsxFragment,createJsxText:createJsxText,updateJsxText:updateJsxText,createJsxOpeningFragment:createJsxOpeningFragment,createJsxJsxClosingFragment:createJsxJsxClosingFragment,updateJsxFragment:updateJsxFragment,createJsxAttribute:createJsxAttribute,updateJsxAttribute:updateJsxAttribute,createJsxAttributes:createJsxAttributes,updateJsxAttributes:updateJsxAttributes,createJsxSpreadAttribute:createJsxSpreadAttribute,updateJsxSpreadAttribute:updateJsxSpreadAttribute,createJsxExpression:createJsxExpression,updateJsxExpression:updateJsxExpression,createCaseClause:createCaseClause,updateCaseClause:updateCaseClause,createDefaultClause:createDefaultClause,updateDefaultClause:updateDefaultClause,createHeritageClause:createHeritageClause,updateHeritageClause:updateHeritageClause,createCatchClause:createCatchClause,updateCatchClause:updateCatchClause,createPropertyAssignment:createPropertyAssignment,updatePropertyAssignment:updatePropertyAssignment,createShorthandPropertyAssignment:createShorthandPropertyAssignment,updateShorthandPropertyAssignment:updateShorthandPropertyAssignment,createSpreadAssignment:createSpreadAssignment,updateSpreadAssignment:updateSpreadAssignment,createEnumMember:createEnumMember,updateEnumMember:updateEnumMember,createSourceFile:createSourceFile,updateSourceFile:updateSourceFile,createBundle:createBundle,updateBundle:updateBundle,createUnparsedSource:createUnparsedSource,createUnparsedPrologue:createUnparsedPrologue,createUnparsedPrepend:createUnparsedPrepend,createUnparsedTextLike:createUnparsedTextLike,createUnparsedSyntheticReference:createUnparsedSyntheticReference,createInputFiles:createInputFiles,createSyntheticExpression:createSyntheticExpression,createSyntaxList:createSyntaxList,createNotEmittedStatement:createNotEmittedStatement,createPartiallyEmittedExpression:createPartiallyEmittedExpression,updatePartiallyEmittedExpression:updatePartiallyEmittedExpression,createCommaListExpression:createCommaListExpression,updateCommaListExpression:updateCommaListExpression,createEndOfDeclarationMarker:createEndOfDeclarationMarker,createMergeDeclarationMarker:createMergeDeclarationMarker,createSyntheticReferenceExpression:createSyntheticReferenceExpression,updateSyntheticReferenceExpression:updateSyntheticReferenceExpression,cloneNode:cloneNode,get createComma(){return ae(27)},get createAssignment(){return ae(63)},get createLogicalOr(){return ae(56)},get createLogicalAnd(){return ae(55)},get createBitwiseOr(){return ae(51)},get createBitwiseXor(){return ae(52)},get createBitwiseAnd(){return ae(50)},get createStrictEquality(){return ae(36)},get createStrictInequality(){return ae(37)},get createEquality(){return ae(34)},get createInequality(){return ae(35)},get createLessThan(){return ae(29)},get createLessThanEquals(){return ae(32)},get createGreaterThan(){return ae(31)},get createGreaterThanEquals(){return ae(33)},get createLeftShift(){return ae(47)},get createRightShift(){return ae(48)},get createUnsignedRightShift(){return ae(49)},get createAdd(){return ae(39)},get createSubtract(){return ae(40)},get createMultiply(){return ae(41)},get createDivide(){return ae(43)},get createModulo(){return ae(44)},get createExponent(){return ae(42)},get createPrefixPlus(){return ce(39)},get createPrefixMinus(){return ce(40)},get createPrefixIncrement(){return ce(45)},get createPrefixDecrement(){return ce(46)},get createBitwiseNot(){return ce(54)},get createLogicalNot(){return ce(53)},get createPostfixIncrement(){return le(45)},get createPostfixDecrement(){return le(46)},createImmediatelyInvokedFunctionExpression:createImmediatelyInvokedFunctionExpression,createImmediatelyInvokedArrowFunction:createImmediatelyInvokedArrowFunction,createVoidZero:createVoidZero,createExportDefault:createExportDefault,createExternalModuleExport:createExternalModuleExport,createTypeCheck:createTypeCheck,createMethodCall:createMethodCall,createGlobalMethodCall:createGlobalMethodCall,createFunctionBindCall:createFunctionBindCall,createFunctionCallCall:createFunctionCallCall,createFunctionApplyCall:createFunctionApplyCall,createArraySliceCall:createArraySliceCall,createArrayConcatCall:createArrayConcatCall,createObjectDefinePropertyCall:createObjectDefinePropertyCall,createReflectGetCall:createReflectGetCall,createReflectSetCall:createReflectSetCall,createPropertyDescriptor:createPropertyDescriptor,createCallBinding:createCallBinding,createAssignmentTargetWrapper:createAssignmentTargetWrapper,inlineExpressions:inlineExpressions,getInternalName:getInternalName,getLocalName:getLocalName,getExportName:getExportName,getDeclarationName:getDeclarationName,getNamespaceMemberName:getNamespaceMemberName,getExternalModuleOrNamespaceExportName:getExternalModuleOrNamespaceExportName,restoreOuterExpressions:restoreOuterExpressions,restoreEnclosingLabel:restoreEnclosingLabel,createUseStrictPrologue:createUseStrictPrologue,copyPrologue:copyPrologue,copyStandardPrologue:copyStandardPrologue,copyCustomPrologue:copyCustomPrologue,ensureUseStrict:ensureUseStrict,liftToBlock:liftToBlock,mergeLexicalEnvironment:mergeLexicalEnvironment,updateModifiers:updateModifiers};return Le;function createNodeArray(N,R){if(N===undefined||N===E.emptyArray){N=[]}else if(E.isNodeArray(N)){if(R===undefined||N.hasTrailingComma===R){if(N.transformFlags===undefined){aggregateChildrenFlags(N)}E.Debug.attachNodeArrayDebugInfo(N);return N}var j=N.slice();j.pos=N.pos;j.end=N.end;j.hasTrailingComma=R;j.transformFlags=N.transformFlags;E.Debug.attachNodeArrayDebugInfo(j);return j}var $=N.length;var q=$>=1&&$<=4?N.slice():N;E.setTextRangePosEnd(q,-1,-1);q.hasTrailingComma=!!R;aggregateChildrenFlags(q);E.Debug.attachNodeArrayDebugInfo(q);return q}function createBaseNode(E){return $.createBaseNode(E)}function createBaseDeclaration(E,N,R){var j=createBaseNode(E);j.decorators=asNodeArray(N);j.modifiers=asNodeArray(R);j.transformFlags|=propagateChildrenFlags(j.decorators)|propagateChildrenFlags(j.modifiers);j.symbol=undefined;j.localSymbol=undefined;j.locals=undefined;j.nextContainer=undefined;return j}function createBaseNamedDeclaration(N,R,j,$){var q=createBaseDeclaration(N,R,j);$=asName($);q.name=$;if($){switch(q.kind){case 167:case 170:case 171:case 165:case 291:if(E.isIdentifier($)){q.transformFlags|=propagateIdentifierNameFlags($);break}default:q.transformFlags|=propagateChildFlags($);break}}return q}function createBaseGenericNamedDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.typeParameters=asNodeArray($);q.transformFlags|=propagateChildrenFlags(q.typeParameters);if($)q.transformFlags|=1;return q}function createBaseSignatureDeclaration(E,N,R,j,$,q,G){var ie=createBaseGenericNamedDeclaration(E,N,R,j,$);ie.parameters=createNodeArray(q);ie.type=G;ie.transformFlags|=propagateChildrenFlags(ie.parameters)|propagateChildFlags(ie.type);if(G)ie.transformFlags|=1;return ie}function updateBaseSignatureDeclaration(E,N){if(N.typeArguments)E.typeArguments=N.typeArguments;return q(E,N)}function createBaseFunctionLikeDeclaration(E,N,R,j,$,q,G,ie){var ae=createBaseSignatureDeclaration(E,N,R,j,$,q,G);ae.body=ie;ae.transformFlags|=propagateChildFlags(ae.body)&~16777216;if(!ie)ae.transformFlags|=1;return ae}function updateBaseFunctionLikeDeclaration(E,N){if(N.exclamationToken)E.exclamationToken=N.exclamationToken;if(N.typeArguments)E.typeArguments=N.typeArguments;return updateBaseSignatureDeclaration(E,N)}function createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q){var G=createBaseGenericNamedDeclaration(E,N,R,j,$);G.heritageClauses=asNodeArray(q);G.transformFlags|=propagateChildrenFlags(G.heritageClauses);return G}function createBaseClassLikeDeclaration(E,N,R,j,$,q,G){var ie=createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q);ie.members=createNodeArray(G);ie.transformFlags|=propagateChildrenFlags(ie.members);return ie}function createBaseBindingLikeDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.initializer=$;q.transformFlags|=propagateChildFlags(q.initializer);return q}function createBaseVariableLikeDeclaration(E,N,R,j,$,q){var G=createBaseBindingLikeDeclaration(E,N,R,j,q);G.type=$;G.transformFlags|=propagateChildFlags($);if($)G.transformFlags|=1;return G}function createBaseLiteral(E,N){var R=createBaseToken(E);R.text=N;return R}function createNumericLiteral(E,N){if(N===void 0){N=0}var R=createBaseLiteral(8,typeof E==="number"?E+"":E);R.numericLiteralFlags=N;if(N&384)R.transformFlags|=512;return R}function createBigIntLiteral(N){var R=createBaseLiteral(9,typeof N==="string"?N:E.pseudoBigIntToString(N)+"n");R.transformFlags|=4;return R}function createBaseStringLiteral(E,N){var R=createBaseLiteral(10,E);R.singleQuote=N;return R}function createStringLiteral(E,N,R){var j=createBaseStringLiteral(E,N);j.hasExtendedUnicodeEscape=R;if(R)j.transformFlags|=512;return j}function createStringLiteralFromNode(N){var R=createBaseStringLiteral(E.getTextOfIdentifierOrLiteral(N),undefined);R.textSourceNode=N;return R}function createRegularExpressionLiteral(E){var N=createBaseLiteral(13,E);return N}function createLiteralLikeNode(E,N){switch(E){case 8:return createNumericLiteral(N,0);case 9:return createBigIntLiteral(N);case 10:return createStringLiteral(N,undefined);case 11:return createJsxText(N,false);case 12:return createJsxText(N,true);case 13:return createRegularExpressionLiteral(N);case 14:return createTemplateLiteralLikeNode(E,N,undefined,0)}}function createBaseIdentifier(N,R){if(R===undefined&&N){R=E.stringToToken(N)}if(R===79){R=undefined}var j=$.createBaseIdentifierNode(79);j.originalKeywordKind=R;j.escapedText=E.escapeLeadingUnderscores(N);return j}function createBaseGeneratedIdentifier(E,R){var j=createBaseIdentifier(E,undefined);j.autoGenerateFlags=R;j.autoGenerateId=N;N++;return j}function createIdentifier(E,N,R){var j=createBaseIdentifier(E,R);if(N){j.typeArguments=createNodeArray(N)}if(j.originalKeywordKind===131){j.transformFlags|=16777216}return j}function updateIdentifier(N,R){return N.typeArguments!==R?q(createIdentifier(E.idText(N),R),N):N}function createTempVariable(E,N){var R=1;if(N)R|=8;var j=createBaseGeneratedIdentifier("",R);if(E){E(j)}return j}function createLoopVariable(E){var N=2;if(E)N|=8;return createBaseGeneratedIdentifier("",N)}function createUniqueName(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");E.Debug.assert((R&(16|32))!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic");return createBaseGeneratedIdentifier(N,3|R)}function getGeneratedNameForNode(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");var j=createBaseGeneratedIdentifier(N&&E.isIdentifier(N)?E.idText(N):"",4|R);j.original=N;return j}function createPrivateIdentifier(N){if(!E.startsWith(N,"#"))E.Debug.fail("First character of private identifier must be #: "+N);var R=$.createBasePrivateIdentifierNode(80);R.escapedText=E.escapeLeadingUnderscores(N);R.transformFlags|=8388608;return R}function createBaseToken(E){return $.createBaseTokenNode(E)}function createToken(N){E.Debug.assert(N>=0&&N<=158,"Invalid token");E.Debug.assert(N<=14||N>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.");E.Debug.assert(N<=8||N>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals.");E.Debug.assert(N!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var R=createBaseToken(N);var j=0;switch(N){case 130:j=128|64;break;case 123:case 121:case 122:case 143:case 126:case 134:case 85:case 129:case 145:case 156:case 142:case 146:case 157:case 148:case 132:case 149:case 114:case 153:case 151:j=1;break;case 106:j=512|33554432;break;case 124:j=512;break;case 108:j=8192;break}if(j){R.transformFlags|=j}return R}function createSuper(){return createToken(106)}function createThis(){return createToken(108)}function createNull(){return createToken(104)}function createTrue(){return createToken(110)}function createFalse(){return createToken(95)}function createModifier(E){return createToken(E)}function createModifiersFromModifierFlags(E){var N=[];if(E&1){N.push(createModifier(93))}if(E&2){N.push(createModifier(134))}if(E&512){N.push(createModifier(88))}if(E&2048){N.push(createModifier(85))}if(E&4){N.push(createModifier(123))}if(E&8){N.push(createModifier(121))}if(E&16){N.push(createModifier(122))}if(E&128){N.push(createModifier(126))}if(E&32){N.push(createModifier(124))}if(E&16384){N.push(createModifier(157))}if(E&64){N.push(createModifier(143))}if(E&256){N.push(createModifier(130))}return N}function createQualifiedName(E,N){var R=createBaseNode(159);R.left=E;R.right=asName(N);R.transformFlags|=propagateChildFlags(R.left)|propagateIdentifierNameFlags(R.right);return R}function updateQualifiedName(E,N,R){return E.left!==N||E.right!==R?q(createQualifiedName(N,R),E):E}function createComputedPropertyName(E){var N=createBaseNode(160);N.expression=G().parenthesizeExpressionOfComputedPropertyName(E);N.transformFlags|=propagateChildFlags(N.expression)|512|65536;return N}function updateComputedPropertyName(E,N){return E.expression!==N?q(createComputedPropertyName(N),E):E}function createTypeParameterDeclaration(E,N,R){var j=createBaseNamedDeclaration(161,undefined,undefined,E);j.constraint=N;j.default=R;j.transformFlags=1;return j}function updateTypeParameterDeclaration(E,N,R,j){return E.name!==N||E.constraint!==R||E.default!==j?q(createTypeParameterDeclaration(N,R,j),E):E}function createParameterDeclaration(N,R,j,$,q,ie,ae){var ce=createBaseVariableLikeDeclaration(162,N,R,$,ie,ae&&G().parenthesizeExpressionForDisallowedComma(ae));ce.dotDotDotToken=j;ce.questionToken=q;if(E.isThisIdentifier(ce.name)){ce.transformFlags=1}else{ce.transformFlags|=propagateChildFlags(ce.dotDotDotToken)|propagateChildFlags(ce.questionToken);if(q)ce.transformFlags|=1;if(E.modifiersToFlags(ce.modifiers)&16476)ce.transformFlags|=4096;if(ae||j)ce.transformFlags|=512}return ce}function updateParameterDeclaration(E,N,R,j,$,G,ie,ae){return E.decorators!==N||E.modifiers!==R||E.dotDotDotToken!==j||E.name!==$||E.questionToken!==G||E.type!==ie||E.initializer!==ae?q(createParameterDeclaration(N,R,j,$,G,ie,ae),E):E}function createDecorator(E){var N=createBaseNode(163);N.expression=G().parenthesizeLeftSideOfAccess(E);N.transformFlags|=propagateChildFlags(N.expression)|1|4096;return N}function updateDecorator(E,N){return E.expression!==N?q(createDecorator(N),E):E}function createPropertySignature(E,N,R,j){var $=createBaseNamedDeclaration(164,undefined,E,N);$.type=j;$.questionToken=R;$.transformFlags=1;return $}function updatePropertySignature(E,N,R,j,$){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.type!==$?q(createPropertySignature(N,R,j,$),E):E}function createPropertyDeclaration(N,R,j,$,q,G){var ie=createBaseVariableLikeDeclaration(165,N,R,j,q,G);ie.questionToken=$&&E.isQuestionToken($)?$:undefined;ie.exclamationToken=$&&E.isExclamationToken($)?$:undefined;ie.transformFlags|=propagateChildFlags(ie.questionToken)|propagateChildFlags(ie.exclamationToken)|8388608;if(E.isComputedPropertyName(ie.name)||E.hasStaticModifier(ie)&&ie.initializer){ie.transformFlags|=4096}if($||E.modifiersToFlags(ie.modifiers)&2){ie.transformFlags|=1}return ie}function updatePropertyDeclaration(N,R,j,$,G,ie,ae){return N.decorators!==R||N.modifiers!==j||N.name!==$||N.questionToken!==(G!==undefined&&E.isQuestionToken(G)?G:undefined)||N.exclamationToken!==(G!==undefined&&E.isExclamationToken(G)?G:undefined)||N.type!==ie||N.initializer!==ae?q(createPropertyDeclaration(R,j,$,G,ie,ae),N):N}function createMethodSignature(E,N,R,j,$,q){var G=createBaseSignatureDeclaration(166,undefined,E,N,j,$,q);G.questionToken=R;G.transformFlags=1;return G}function updateMethodSignature(E,N,R,j,$,q,G){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.typeParameters!==$||E.parameters!==q||E.type!==G?updateBaseSignatureDeclaration(createMethodSignature(N,R,j,$,q,G),E):E}function createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce){var le=createBaseFunctionLikeDeclaration(167,N,R,$,G,ie,ae,ce);le.asteriskToken=j;le.questionToken=q;le.transformFlags|=propagateChildFlags(le.asteriskToken)|propagateChildFlags(le.questionToken)|512;if(q){le.transformFlags|=1}if(E.modifiersToFlags(le.modifiers)&256){if(j){le.transformFlags|=64}else{le.transformFlags|=128}}else if(j){le.transformFlags|=1024}return le}function updateMethodDeclaration(E,N,R,j,$,q,G,ie,ae,ce){return E.decorators!==N||E.modifiers!==R||E.asteriskToken!==j||E.name!==$||E.questionToken!==q||E.typeParameters!==G||E.parameters!==ie||E.type!==ae||E.body!==ce?updateBaseFunctionLikeDeclaration(createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce),E):E}function createClassStaticBlockDeclaration(E,N,R){var j=createBaseGenericNamedDeclaration(168,E,N,undefined,undefined);j.body=R;j.transformFlags=propagateChildFlags(R)|8388608;return j}function updateClassStaticBlockDeclaration(E,N,R,j){return E.decorators!==N||E.modifier!==R||E.body!==j?q(createClassStaticBlockDeclaration(N,R,j),E):E}function createConstructorDeclaration(E,N,R,j){var $=createBaseFunctionLikeDeclaration(169,E,N,undefined,undefined,R,undefined,j);$.transformFlags|=512;return $}function updateConstructorDeclaration(E,N,R,j,$){return E.decorators!==N||E.modifiers!==R||E.parameters!==j||E.body!==$?updateBaseFunctionLikeDeclaration(createConstructorDeclaration(N,R,j,$),E):E}function createGetAccessorDeclaration(E,N,R,j,$,q){return createBaseFunctionLikeDeclaration(170,E,N,R,undefined,j,$,q)}function updateGetAccessorDeclaration(E,N,R,j,$,q,G){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.type!==q||E.body!==G?updateBaseFunctionLikeDeclaration(createGetAccessorDeclaration(N,R,j,$,q,G),E):E}function createSetAccessorDeclaration(E,N,R,j,$){return createBaseFunctionLikeDeclaration(171,E,N,R,undefined,j,undefined,$)}function updateSetAccessorDeclaration(E,N,R,j,$,q){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.body!==q?updateBaseFunctionLikeDeclaration(createSetAccessorDeclaration(N,R,j,$,q),E):E}function createCallSignature(E,N,R){var j=createBaseSignatureDeclaration(172,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateCallSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createCallSignature(N,R,j),E):E}function createConstructSignature(E,N,R){var j=createBaseSignatureDeclaration(173,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateConstructSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createConstructSignature(N,R,j),E):E}function createIndexSignature(E,N,R,j){var $=createBaseSignatureDeclaration(174,E,N,undefined,undefined,R,j);$.transformFlags=1;return $}function updateIndexSignature(E,N,R,j,$){return E.parameters!==j||E.type!==$||E.decorators!==N||E.modifiers!==R?updateBaseSignatureDeclaration(createIndexSignature(N,R,j,$),E):E}function createTemplateLiteralTypeSpan(E,N){var R=createBaseNode(197);R.type=E;R.literal=N;R.transformFlags=1;return R}function updateTemplateLiteralTypeSpan(E,N,R){return E.type!==N||E.literal!==R?q(createTemplateLiteralTypeSpan(N,R),E):E}function createKeywordTypeNode(E){return createToken(E)}function createTypePredicateNode(E,N,R){var j=createBaseNode(175);j.assertsModifier=E;j.parameterName=asName(N);j.type=R;j.transformFlags=1;return j}function updateTypePredicateNode(E,N,R,j){return E.assertsModifier!==N||E.parameterName!==R||E.type!==j?q(createTypePredicateNode(N,R,j),E):E}function createTypeReferenceNode(E,N){var R=createBaseNode(176);R.typeName=asName(E);R.typeArguments=N&&G().parenthesizeTypeArguments(createNodeArray(N));R.transformFlags=1;return R}function updateTypeReferenceNode(E,N,R){return E.typeName!==N||E.typeArguments!==R?q(createTypeReferenceNode(N,R),E):E}function createFunctionTypeNode(E,N,R){var j=createBaseSignatureDeclaration(177,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateFunctionTypeNode(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createFunctionTypeNode(N,R,j),E):E}function createConstructorTypeNode(){var N=[];for(var R=0;R0;default:return true}}function createCallBinding(N,R,j,$){if($===void 0){$=false}var q=E.skipOuterExpressions(N,15);var ie;var ae;if(E.isSuperProperty(q)){ie=createThis();ae=q}else if(E.isSuperKeyword(q)){ie=createThis();ae=j!==undefined&&j<2?E.setTextRange(createIdentifier("_super"),q):q}else if(E.getEmitFlags(q)&4096){ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(q)}else if(E.isPropertyAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createPropertyAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.name);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else if(E.isElementAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createElementAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.argumentExpression);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else{ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(N)}return{target:ae,thisArg:ie}}function createAssignmentTargetWrapper(E,N){return createPropertyAccessExpression(createParenthesizedExpression(createObjectLiteralExpression([createSetAccessorDeclaration(undefined,undefined,"value",[createParameterDeclaration(undefined,undefined,undefined,E,undefined,undefined,undefined)],createBlock([createExpressionStatement(N)]))])),"value")}function inlineExpressions(N){return N.length>10?createCommaListExpression(N):E.reduceLeft(N,Le.createComma)}function getName(N,R,j,$){if($===void 0){$=0}var q=E.getNameOfDeclaration(N);if(q&&E.isIdentifier(q)&&!E.isGeneratedIdentifier(q)){var G=E.setParent(E.setTextRange(cloneNode(q),q),q.parent);$|=E.getEmitFlags(q);if(!j)$|=48;if(!R)$|=1536;if($)E.setEmitFlags(G,$);return G}return getGeneratedNameForNode(N)}function getInternalName(E,N,R){return getName(E,N,R,16384|32768)}function getLocalName(E,N,R){return getName(E,N,R,16384)}function getExportName(E,N,R){return getName(E,N,R,8192)}function getDeclarationName(E,N,R){return getName(E,N,R)}function getNamespaceMemberName(N,R,j,$){var q=createPropertyAccessExpression(N,E.nodeIsSynthesized(R)?R:cloneNode(R));E.setTextRange(q,R);var G=0;if(!$)G|=48;if(!j)G|=1536;if(G)E.setEmitFlags(q,G);return q}function getExternalModuleOrNamespaceExportName(N,R,j,$){if(N&&E.hasSyntacticModifier(R,1)){return getNamespaceMemberName(N,getName(R),j,$)}return getExportName(R,j,$)}function copyPrologue(E,N,R,j){var $=copyStandardPrologue(E,N,R);return copyCustomPrologue(E,N,$,j)}function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function createUseStrictPrologue(){return E.startOnNewLine(createExpressionStatement(createStringLiteral("use strict")))}function copyStandardPrologue(N,R,j){E.Debug.assert(R.length===0,"Prologue directives should be at the first statement in the target statements array");var $=false;var q=0;var G=N.length;while(qce){_e.splice.apply(_e,j([G,0],R.slice(ce,le),false))}if(ce>ae){_e.splice.apply(_e,j([q,0],R.slice(ae,ce),false))}if(ae>ie){_e.splice.apply(_e,j([$,0],R.slice(ie,ae),false))}if(ie>0){if($===0){_e.splice.apply(_e,j([0,0],R.slice(0,ie),false))}else{var Ee=new E.Map;for(var Te=0;Te<$;Te++){var we=N[Te];Ee.set(we.expression.text,true)}for(var Te=ie-1;Te>=0;Te--){var Ie=R[Te];if(!Ee.has(Ie.expression.text)){_e.unshift(Ie)}}}}if(E.isNodeArray(N)){return E.setTextRange(createNodeArray(_e,N.hasTrailingComma),N)}return N}function updateModifiers(N,R){var j;if(typeof R==="number"){R=createModifiersFromModifierFlags(R)}return E.isParameter(N)?updateParameterDeclaration(N,N.decorators,R,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):E.isPropertySignature(N)?updatePropertySignature(N,R,N.name,N.questionToken,N.type):E.isPropertyDeclaration(N)?updatePropertyDeclaration(N,N.decorators,R,N.name,(j=N.questionToken)!==null&&j!==void 0?j:N.exclamationToken,N.type,N.initializer):E.isMethodSignature(N)?updateMethodSignature(N,R,N.name,N.questionToken,N.typeParameters,N.parameters,N.type):E.isMethodDeclaration(N)?updateMethodDeclaration(N,N.decorators,R,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):E.isConstructorDeclaration(N)?updateConstructorDeclaration(N,N.decorators,R,N.parameters,N.body):E.isGetAccessorDeclaration(N)?updateGetAccessorDeclaration(N,N.decorators,R,N.name,N.parameters,N.type,N.body):E.isSetAccessorDeclaration(N)?updateSetAccessorDeclaration(N,N.decorators,R,N.name,N.parameters,N.body):E.isIndexSignatureDeclaration(N)?updateIndexSignature(N,N.decorators,R,N.parameters,N.type):E.isFunctionExpression(N)?updateFunctionExpression(N,R,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isArrowFunction(N)?updateArrowFunction(N,R,N.typeParameters,N.parameters,N.type,N.equalsGreaterThanToken,N.body):E.isClassExpression(N)?updateClassExpression(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isVariableStatement(N)?updateVariableStatement(N,R,N.declarationList):E.isFunctionDeclaration(N)?updateFunctionDeclaration(N,N.decorators,R,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isClassDeclaration(N)?updateClassDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isInterfaceDeclaration(N)?updateInterfaceDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isTypeAliasDeclaration(N)?updateTypeAliasDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.type):E.isEnumDeclaration(N)?updateEnumDeclaration(N,N.decorators,R,N.name,N.members):E.isModuleDeclaration(N)?updateModuleDeclaration(N,N.decorators,R,N.name,N.body):E.isImportEqualsDeclaration(N)?updateImportEqualsDeclaration(N,N.decorators,R,N.isTypeOnly,N.name,N.moduleReference):E.isImportDeclaration(N)?updateImportDeclaration(N,N.decorators,R,N.importClause,N.moduleSpecifier):E.isExportAssignment(N)?updateExportAssignment(N,N.decorators,R,N.expression):E.isExportDeclaration(N)?updateExportDeclaration(N,N.decorators,R,N.isTypeOnly,N.exportClause,N.moduleSpecifier):E.Debug.assertNever(N)}function asNodeArray(E){return E?createNodeArray(E):undefined}function asName(E){return typeof E==="string"?createIdentifier(E):E}function asExpression(E){return typeof E==="string"?createStringLiteral(E):typeof E==="number"?createNumericLiteral(E):typeof E==="boolean"?E?createTrue():createFalse():E}function asToken(E){return typeof E==="number"?createToken(E):E}function asEmbeddedStatement(N){return N&&E.isNotEmittedStatement(N)?E.setTextRange(setOriginalNode(createEmptyStatement(),N),N):N}}E.createNodeFactory=createNodeFactory;function updateWithoutOriginal(N,R){if(N!==R){E.setTextRange(N,R)}return N}function updateWithOriginal(N,R){if(N!==R){setOriginalNode(N,R);E.setTextRange(N,R)}return N}function getDefaultTagNameForKind(N){switch(N){case 338:return"type";case 336:return"returns";case 337:return"this";case 334:return"enum";case 325:return"author";case 327:return"class";case 328:return"public";case 329:return"private";case 330:return"protected";case 331:return"readonly";case 332:return"override";case 339:return"template";case 340:return"typedef";case 335:return"param";case 342:return"prop";case 333:return"callback";case 323:return"augments";case 324:return"implements";default:return E.Debug.fail("Unsupported kind: "+E.Debug.formatSyntaxKind(N))}}var $;var q={};function getCookedText(N,R){if(!$){$=E.createScanner(99,false,0)}switch(N){case 14:$.setText("`"+R+"`");break;case 15:$.setText("`"+R+"${");break;case 16:$.setText("}"+R+"${");break;case 17:$.setText("}"+R+"`");break}var j=$.scan();if(j===19){j=$.reScanTemplateToken(false)}if($.isUnterminated()){$.setText(undefined);return q}var G;switch(j){case 14:case 15:case 16:case 17:G=$.getTokenValue();break}if(G===undefined||$.scan()!==1){$.setText(undefined);return q}$.setText(undefined);return G}function propagateIdentifierNameFlags(E){return propagateChildFlags(E)&~16777216}function propagatePropertyNameFlagsOfChild(E,N){return N|E.transformFlags&33562624}function propagateChildFlags(N){if(!N)return 0;var R=N.transformFlags&~getTransformFlagsSubtreeExclusions(N.kind);return E.isNamedDeclaration(N)&&E.isPropertyName(N.name)?propagatePropertyNameFlagsOfChild(N.name,R):R}function propagateChildrenFlags(E){return E?E.transformFlags:0}function aggregateChildrenFlags(E){var N=0;for(var R=0,j=E;R=175&&E<=198){return-2}switch(E){case 206:case 207:case 202:return 536887296;case 259:return 589443072;case 162:return 536870912;case 212:return 557748224;case 211:case 254:return 591310848;case 253:return 537165824;case 255:case 224:return 536940544;case 169:return 591306752;case 165:return 570433536;case 167:case 170:case 171:return 574529536;case 129:case 145:case 156:case 142:case 148:case 146:case 132:case 149:case 114:case 161:case 164:case 166:case 172:case 173:case 174:case 256:case 257:return-2;case 203:return 536973312;case 290:return 536903680;case 199:case 200:return 536887296;case 209:case 227:case 345:case 210:case 106:return 536870912;case 204:case 205:return 536870912;default:return 536870912}}E.getTransformFlagsSubtreeExclusions=getTransformFlagsSubtreeExclusions;var G=E.createBaseNodeFactory();function makeSynthetic(E){E.flags|=8;return E}var ie={createBaseSourceFileNode:function(E){return makeSynthetic(G.createBaseSourceFileNode(E))},createBaseIdentifierNode:function(E){return makeSynthetic(G.createBaseIdentifierNode(E))},createBasePrivateIdentifierNode:function(E){return makeSynthetic(G.createBasePrivateIdentifierNode(E))},createBaseTokenNode:function(E){return makeSynthetic(G.createBaseTokenNode(E))},createBaseNode:function(E){return makeSynthetic(G.createBaseNode(E))}};E.factory=createNodeFactory(4,ie);function createUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;if(!E.isString(N)){E.Debug.assert(R==="js"||R==="dts");G=(R==="js"?N.javascriptPath:N.declarationPath)||"";ce=R==="js"?N.javascriptMapPath:N.declarationMapPath;_e=function(){return R==="js"?N.javascriptText:N.declarationText};Ee=function(){return R==="js"?N.javascriptMapText:N.declarationMapText};ae=function(){return _e().length};if(N.buildInfo&&N.buildInfo.bundle){E.Debug.assert(j===undefined||typeof j==="boolean");$=j;q=R==="js"?N.buildInfo.bundle.js:N.buildInfo.bundle.dts;Te=N.oldFileOfCurrentEmit}}else{G="";ie=N;ae=N.length;ce=R;le=j}var we=Te?parseOldFileOfCurrentEmit(E.Debug.assertDefined(q)):parseUnparsedSourceFile(q,$,ae);we.fileName=G;we.sourceMapPath=ce;we.oldFileOfCurrentEmit=Te;if(_e&&Ee){Object.defineProperty(we,"text",{get:_e});Object.defineProperty(we,"sourceMapText",{get:Ee})}else{E.Debug.assert(!Te);we.text=ie!==null&&ie!==void 0?ie:"";we.sourceMapText=le}return we}E.createUnparsedSourceFile=createUnparsedSourceFile;function parseUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;for(var Ee=0,Te=N?N.sections:E.emptyArray;Ee0){q[ae-ie]=ce}}if(ie>0){q.length-=ie}}E.moveEmitHelpers=moveEmitHelpers;function ignoreSourceNewlines(E){getOrCreateEmitNode(E).flags|=134217728;return E}E.ignoreSourceNewlines=ignoreSourceNewlines})(ce||(ce={}));var ce;(function(E){function createEmitHelperFactory(N){var R=N.factory;var $=E.memoize((function(){return E.setEmitFlags(R.createTrue(),268435456)}));var q=E.memoize((function(){return E.setEmitFlags(R.createFalse(),268435456)}));return{getUnscopedHelperName:getUnscopedHelperName,createDecorateHelper:createDecorateHelper,createMetadataHelper:createMetadataHelper,createParamHelper:createParamHelper,createAssignHelper:createAssignHelper,createAwaitHelper:createAwaitHelper,createAsyncGeneratorHelper:createAsyncGeneratorHelper,createAsyncDelegatorHelper:createAsyncDelegatorHelper,createAsyncValuesHelper:createAsyncValuesHelper,createRestHelper:createRestHelper,createAwaiterHelper:createAwaiterHelper,createExtendsHelper:createExtendsHelper,createTemplateObjectHelper:createTemplateObjectHelper,createSpreadArrayHelper:createSpreadArrayHelper,createValuesHelper:createValuesHelper,createReadHelper:createReadHelper,createGeneratorHelper:createGeneratorHelper,createCreateBindingHelper:createCreateBindingHelper,createImportStarHelper:createImportStarHelper,createImportStarCallbackHelper:createImportStarCallbackHelper,createImportDefaultHelper:createImportDefaultHelper,createExportStarHelper:createExportStarHelper,createClassPrivateFieldGetHelper:createClassPrivateFieldGetHelper,createClassPrivateFieldSetHelper:createClassPrivateFieldSetHelper};function getUnscopedHelperName(N){return E.setEmitFlags(R.createIdentifier(N),4096|2)}function createDecorateHelper(j,$,q,G){N.requestEmitHelper(E.decorateHelper);var ie=[];ie.push(R.createArrayLiteralExpression(j,true));ie.push($);if(q){ie.push(q);if(G){ie.push(G)}}return R.createCallExpression(getUnscopedHelperName("__decorate"),undefined,ie)}function createMetadataHelper(j,$){N.requestEmitHelper(E.metadataHelper);return R.createCallExpression(getUnscopedHelperName("__metadata"),undefined,[R.createStringLiteral(j),$])}function createParamHelper(j,$,q){N.requestEmitHelper(E.paramHelper);return E.setTextRange(R.createCallExpression(getUnscopedHelperName("__param"),undefined,[R.createNumericLiteral($+""),j]),q)}function createAssignHelper(j){if(N.getCompilerOptions().target>=2){return R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"assign"),undefined,j)}N.requestEmitHelper(E.assignHelper);return R.createCallExpression(getUnscopedHelperName("__assign"),undefined,j)}function createAwaitHelper(j){N.requestEmitHelper(E.awaitHelper);return R.createCallExpression(getUnscopedHelperName("__await"),undefined,[j])}function createAsyncGeneratorHelper(j,$){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncGeneratorHelper);(j.emitNode||(j.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__asyncGenerator"),undefined,[$?R.createThis():R.createVoidZero(),R.createIdentifier("arguments"),j])}function createAsyncDelegatorHelper(j){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncDelegator);return R.createCallExpression(getUnscopedHelperName("__asyncDelegator"),undefined,[j])}function createAsyncValuesHelper(j){N.requestEmitHelper(E.asyncValues);return R.createCallExpression(getUnscopedHelperName("__asyncValues"),undefined,[j])}function createRestHelper(j,$,q,G){N.requestEmitHelper(E.restHelper);var ie=[];var ae=0;for(var ce=0;ce<$.length-1;ce++){var le=E.getPropertyNameOfBindingOrAssignmentElement($[ce]);if(le){if(E.isComputedPropertyName(le)){E.Debug.assertIsDefined(q,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var _e=q[ae];ae++;ie.push(R.createConditionalExpression(R.createTypeCheck(_e,"symbol"),undefined,_e,undefined,R.createAdd(_e,R.createStringLiteral(""))))}else{ie.push(R.createStringLiteralFromNode(le))}}}return R.createCallExpression(getUnscopedHelperName("__rest"),undefined,[j,E.setTextRange(R.createArrayLiteralExpression(ie),G)])}function createAwaiterHelper(j,$,q,G){N.requestEmitHelper(E.awaiterHelper);var ie=R.createFunctionExpression(undefined,R.createToken(41),undefined,undefined,[],undefined,G);(ie.emitNode||(ie.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__awaiter"),undefined,[j?R.createThis():R.createVoidZero(),$?R.createIdentifier("arguments"):R.createVoidZero(),q?E.createExpressionFromEntityName(R,q):R.createVoidZero(),ie])}function createExtendsHelper(j){N.requestEmitHelper(E.extendsHelper);return R.createCallExpression(getUnscopedHelperName("__extends"),undefined,[j,R.createUniqueName("_super",16|32)])}function createTemplateObjectHelper(j,$){N.requestEmitHelper(E.templateObjectHelper);return R.createCallExpression(getUnscopedHelperName("__makeTemplateObject"),undefined,[j,$])}function createSpreadArrayHelper(j,G,ie){N.requestEmitHelper(E.spreadArrayHelper);return R.createCallExpression(getUnscopedHelperName("__spreadArray"),undefined,[j,G,ie?$():q()])}function createValuesHelper(j){N.requestEmitHelper(E.valuesHelper);return R.createCallExpression(getUnscopedHelperName("__values"),undefined,[j])}function createReadHelper(j,$){N.requestEmitHelper(E.readHelper);return R.createCallExpression(getUnscopedHelperName("__read"),undefined,$!==undefined?[j,R.createNumericLiteral($+"")]:[j])}function createGeneratorHelper(j){N.requestEmitHelper(E.generatorHelper);return R.createCallExpression(getUnscopedHelperName("__generator"),undefined,[R.createThis(),j])}function createCreateBindingHelper($,q,G){N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__createBinding"),undefined,j([R.createIdentifier("exports"),$,q],G?[G]:[],true))}function createImportStarHelper(j){N.requestEmitHelper(E.importStarHelper);return R.createCallExpression(getUnscopedHelperName("__importStar"),undefined,[j])}function createImportStarCallbackHelper(){N.requestEmitHelper(E.importStarHelper);return getUnscopedHelperName("__importStar")}function createImportDefaultHelper(j){N.requestEmitHelper(E.importDefaultHelper);return R.createCallExpression(getUnscopedHelperName("__importDefault"),undefined,[j])}function createExportStarHelper(j,$){if($===void 0){$=R.createIdentifier("exports")}N.requestEmitHelper(E.exportStarHelper);N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__exportStar"),undefined,[j,$])}function createClassPrivateFieldGetHelper(j,$,q,G){N.requestEmitHelper(E.classPrivateFieldGetHelper);var ie;if(!G){ie=[j,$,R.createStringLiteral(q)]}else{ie=[j,$,R.createStringLiteral(q),G]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldGet"),undefined,ie)}function createClassPrivateFieldSetHelper(j,$,q,G,ie){N.requestEmitHelper(E.classPrivateFieldSetHelper);var ae;if(!ie){ae=[j,$,q,R.createStringLiteral(G)]}else{ae=[j,$,q,R.createStringLiteral(G),ie]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldSet"),undefined,ae)}}E.createEmitHelperFactory=createEmitHelperFactory;function compareEmitHelpers(N,R){if(N===R)return 0;if(N.priority===R.priority)return 0;if(N.priority===undefined)return 1;if(R.priority===undefined)return-1;return E.compareValues(N.priority,R.priority)}E.compareEmitHelpers=compareEmitHelpers;function helperString(E){var N=[];for(var R=1;R= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'};E.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:false,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'};E.paramHelper={name:"typescript:param",importName:"__param",scoped:false,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"};E.assignHelper={name:"typescript:assign",importName:"__assign",scoped:false,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"};E.awaitHelper={name:"typescript:await",importName:"__await",scoped:false,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"};E.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'};E.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'};E.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:false,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'};E.restHelper={name:"typescript:rest",importName:"__rest",scoped:false,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'};E.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:false,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};E.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:false,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'};E.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:false,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'};E.readHelper={name:"typescript:read",importName:"__read",scoped:false,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'};E.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:false,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"};E.valuesHelper={name:"typescript:values",importName:"__values",scoped:false,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'};E.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:false,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'};E.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:false,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"};E.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:false,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'};E.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:false,dependencies:[E.createBindingHelper,E.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'};E.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:false,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'};E.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:false,dependencies:[E.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'};E.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:false,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'};E.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:false,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'};var N;function getAllUnscopedEmitHelpers(){return N||(N=E.arrayToMap([E.decorateHelper,E.metadataHelper,E.paramHelper,E.assignHelper,E.awaitHelper,E.asyncGeneratorHelper,E.asyncDelegator,E.asyncValues,E.restHelper,E.awaiterHelper,E.extendsHelper,E.templateObjectHelper,E.spreadArrayHelper,E.valuesHelper,E.readHelper,E.generatorHelper,E.importStarHelper,E.importDefaultHelper,E.exportStarHelper,E.classPrivateFieldGetHelper,E.classPrivateFieldSetHelper,E.createBindingHelper,E.setModuleDefaultHelper],(function(E){return E.name})))}E.getAllUnscopedEmitHelpers=getAllUnscopedEmitHelpers;E.asyncSuperHelper={name:"typescript:async-super",scoped:true,text:helperString(q(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")};E.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:true,text:helperString(q(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")};function isCallToHelper(N,R){return E.isCallExpression(N)&&E.isIdentifier(N.expression)&&(E.getEmitFlags(N.expression)&4096)!==0&&N.expression.escapedText===R}E.isCallToHelper=isCallToHelper})(ce||(ce={}));var ce;(function(E){function isNumericLiteral(E){return E.kind===8}E.isNumericLiteral=isNumericLiteral;function isBigIntLiteral(E){return E.kind===9}E.isBigIntLiteral=isBigIntLiteral;function isStringLiteral(E){return E.kind===10}E.isStringLiteral=isStringLiteral;function isJsxText(E){return E.kind===11}E.isJsxText=isJsxText;function isRegularExpressionLiteral(E){return E.kind===13}E.isRegularExpressionLiteral=isRegularExpressionLiteral;function isNoSubstitutionTemplateLiteral(E){return E.kind===14}E.isNoSubstitutionTemplateLiteral=isNoSubstitutionTemplateLiteral;function isTemplateHead(E){return E.kind===15}E.isTemplateHead=isTemplateHead;function isTemplateMiddle(E){return E.kind===16}E.isTemplateMiddle=isTemplateMiddle;function isTemplateTail(E){return E.kind===17}E.isTemplateTail=isTemplateTail;function isDotDotDotToken(E){return E.kind===25}E.isDotDotDotToken=isDotDotDotToken;function isCommaToken(E){return E.kind===27}E.isCommaToken=isCommaToken;function isPlusToken(E){return E.kind===39}E.isPlusToken=isPlusToken;function isMinusToken(E){return E.kind===40}E.isMinusToken=isMinusToken;function isAsteriskToken(E){return E.kind===41}E.isAsteriskToken=isAsteriskToken;function isExclamationToken(E){return E.kind===53}E.isExclamationToken=isExclamationToken;function isQuestionToken(E){return E.kind===57}E.isQuestionToken=isQuestionToken;function isColonToken(E){return E.kind===58}E.isColonToken=isColonToken;function isQuestionDotToken(E){return E.kind===28}E.isQuestionDotToken=isQuestionDotToken;function isEqualsGreaterThanToken(E){return E.kind===38}E.isEqualsGreaterThanToken=isEqualsGreaterThanToken;function isIdentifier(E){return E.kind===79}E.isIdentifier=isIdentifier;function isPrivateIdentifier(E){return E.kind===80}E.isPrivateIdentifier=isPrivateIdentifier;function isExportModifier(E){return E.kind===93}E.isExportModifier=isExportModifier;function isAsyncModifier(E){return E.kind===130}E.isAsyncModifier=isAsyncModifier;function isAssertsKeyword(E){return E.kind===128}E.isAssertsKeyword=isAssertsKeyword;function isAwaitKeyword(E){return E.kind===131}E.isAwaitKeyword=isAwaitKeyword;function isReadonlyKeyword(E){return E.kind===143}E.isReadonlyKeyword=isReadonlyKeyword;function isStaticModifier(E){return E.kind===124}E.isStaticModifier=isStaticModifier;function isAbstractModifier(E){return E.kind===126}E.isAbstractModifier=isAbstractModifier;function isSuperKeyword(E){return E.kind===106}E.isSuperKeyword=isSuperKeyword;function isImportKeyword(E){return E.kind===100}E.isImportKeyword=isImportKeyword;function isQualifiedName(E){return E.kind===159}E.isQualifiedName=isQualifiedName;function isComputedPropertyName(E){return E.kind===160}E.isComputedPropertyName=isComputedPropertyName;function isTypeParameterDeclaration(E){return E.kind===161}E.isTypeParameterDeclaration=isTypeParameterDeclaration;function isParameter(E){return E.kind===162}E.isParameter=isParameter;function isDecorator(E){return E.kind===163}E.isDecorator=isDecorator;function isPropertySignature(E){return E.kind===164}E.isPropertySignature=isPropertySignature;function isPropertyDeclaration(E){return E.kind===165}E.isPropertyDeclaration=isPropertyDeclaration;function isMethodSignature(E){return E.kind===166}E.isMethodSignature=isMethodSignature;function isMethodDeclaration(E){return E.kind===167}E.isMethodDeclaration=isMethodDeclaration;function isClassStaticBlockDeclaration(E){return E.kind===168}E.isClassStaticBlockDeclaration=isClassStaticBlockDeclaration;function isConstructorDeclaration(E){return E.kind===169}E.isConstructorDeclaration=isConstructorDeclaration;function isGetAccessorDeclaration(E){return E.kind===170}E.isGetAccessorDeclaration=isGetAccessorDeclaration;function isSetAccessorDeclaration(E){return E.kind===171}E.isSetAccessorDeclaration=isSetAccessorDeclaration;function isCallSignatureDeclaration(E){return E.kind===172}E.isCallSignatureDeclaration=isCallSignatureDeclaration;function isConstructSignatureDeclaration(E){return E.kind===173}E.isConstructSignatureDeclaration=isConstructSignatureDeclaration;function isIndexSignatureDeclaration(E){return E.kind===174}E.isIndexSignatureDeclaration=isIndexSignatureDeclaration;function isTypePredicateNode(E){return E.kind===175}E.isTypePredicateNode=isTypePredicateNode;function isTypeReferenceNode(E){return E.kind===176}E.isTypeReferenceNode=isTypeReferenceNode;function isFunctionTypeNode(E){return E.kind===177}E.isFunctionTypeNode=isFunctionTypeNode;function isConstructorTypeNode(E){return E.kind===178}E.isConstructorTypeNode=isConstructorTypeNode;function isTypeQueryNode(E){return E.kind===179}E.isTypeQueryNode=isTypeQueryNode;function isTypeLiteralNode(E){return E.kind===180}E.isTypeLiteralNode=isTypeLiteralNode;function isArrayTypeNode(E){return E.kind===181}E.isArrayTypeNode=isArrayTypeNode;function isTupleTypeNode(E){return E.kind===182}E.isTupleTypeNode=isTupleTypeNode;function isNamedTupleMember(E){return E.kind===195}E.isNamedTupleMember=isNamedTupleMember;function isOptionalTypeNode(E){return E.kind===183}E.isOptionalTypeNode=isOptionalTypeNode;function isRestTypeNode(E){return E.kind===184}E.isRestTypeNode=isRestTypeNode;function isUnionTypeNode(E){return E.kind===185}E.isUnionTypeNode=isUnionTypeNode;function isIntersectionTypeNode(E){return E.kind===186}E.isIntersectionTypeNode=isIntersectionTypeNode;function isConditionalTypeNode(E){return E.kind===187}E.isConditionalTypeNode=isConditionalTypeNode;function isInferTypeNode(E){return E.kind===188}E.isInferTypeNode=isInferTypeNode;function isParenthesizedTypeNode(E){return E.kind===189}E.isParenthesizedTypeNode=isParenthesizedTypeNode;function isThisTypeNode(E){return E.kind===190}E.isThisTypeNode=isThisTypeNode;function isTypeOperatorNode(E){return E.kind===191}E.isTypeOperatorNode=isTypeOperatorNode;function isIndexedAccessTypeNode(E){return E.kind===192}E.isIndexedAccessTypeNode=isIndexedAccessTypeNode;function isMappedTypeNode(E){return E.kind===193}E.isMappedTypeNode=isMappedTypeNode;function isLiteralTypeNode(E){return E.kind===194}E.isLiteralTypeNode=isLiteralTypeNode;function isImportTypeNode(E){return E.kind===198}E.isImportTypeNode=isImportTypeNode;function isTemplateLiteralTypeSpan(E){return E.kind===197}E.isTemplateLiteralTypeSpan=isTemplateLiteralTypeSpan;function isTemplateLiteralTypeNode(E){return E.kind===196}E.isTemplateLiteralTypeNode=isTemplateLiteralTypeNode;function isObjectBindingPattern(E){return E.kind===199}E.isObjectBindingPattern=isObjectBindingPattern;function isArrayBindingPattern(E){return E.kind===200}E.isArrayBindingPattern=isArrayBindingPattern;function isBindingElement(E){return E.kind===201}E.isBindingElement=isBindingElement;function isArrayLiteralExpression(E){return E.kind===202}E.isArrayLiteralExpression=isArrayLiteralExpression;function isObjectLiteralExpression(E){return E.kind===203}E.isObjectLiteralExpression=isObjectLiteralExpression;function isPropertyAccessExpression(E){return E.kind===204}E.isPropertyAccessExpression=isPropertyAccessExpression;function isElementAccessExpression(E){return E.kind===205}E.isElementAccessExpression=isElementAccessExpression;function isCallExpression(E){return E.kind===206}E.isCallExpression=isCallExpression;function isNewExpression(E){return E.kind===207}E.isNewExpression=isNewExpression;function isTaggedTemplateExpression(E){return E.kind===208}E.isTaggedTemplateExpression=isTaggedTemplateExpression;function isTypeAssertionExpression(E){return E.kind===209}E.isTypeAssertionExpression=isTypeAssertionExpression;function isParenthesizedExpression(E){return E.kind===210}E.isParenthesizedExpression=isParenthesizedExpression;function isFunctionExpression(E){return E.kind===211}E.isFunctionExpression=isFunctionExpression;function isArrowFunction(E){return E.kind===212}E.isArrowFunction=isArrowFunction;function isDeleteExpression(E){return E.kind===213}E.isDeleteExpression=isDeleteExpression;function isTypeOfExpression(E){return E.kind===214}E.isTypeOfExpression=isTypeOfExpression;function isVoidExpression(E){return E.kind===215}E.isVoidExpression=isVoidExpression;function isAwaitExpression(E){return E.kind===216}E.isAwaitExpression=isAwaitExpression;function isPrefixUnaryExpression(E){return E.kind===217}E.isPrefixUnaryExpression=isPrefixUnaryExpression;function isPostfixUnaryExpression(E){return E.kind===218}E.isPostfixUnaryExpression=isPostfixUnaryExpression;function isBinaryExpression(E){return E.kind===219}E.isBinaryExpression=isBinaryExpression;function isConditionalExpression(E){return E.kind===220}E.isConditionalExpression=isConditionalExpression;function isTemplateExpression(E){return E.kind===221}E.isTemplateExpression=isTemplateExpression;function isYieldExpression(E){return E.kind===222}E.isYieldExpression=isYieldExpression;function isSpreadElement(E){return E.kind===223}E.isSpreadElement=isSpreadElement;function isClassExpression(E){return E.kind===224}E.isClassExpression=isClassExpression;function isOmittedExpression(E){return E.kind===225}E.isOmittedExpression=isOmittedExpression;function isExpressionWithTypeArguments(E){return E.kind===226}E.isExpressionWithTypeArguments=isExpressionWithTypeArguments;function isAsExpression(E){return E.kind===227}E.isAsExpression=isAsExpression;function isNonNullExpression(E){return E.kind===228}E.isNonNullExpression=isNonNullExpression;function isMetaProperty(E){return E.kind===229}E.isMetaProperty=isMetaProperty;function isSyntheticExpression(E){return E.kind===230}E.isSyntheticExpression=isSyntheticExpression;function isPartiallyEmittedExpression(E){return E.kind===345}E.isPartiallyEmittedExpression=isPartiallyEmittedExpression;function isCommaListExpression(E){return E.kind===346}E.isCommaListExpression=isCommaListExpression;function isTemplateSpan(E){return E.kind===231}E.isTemplateSpan=isTemplateSpan;function isSemicolonClassElement(E){return E.kind===232}E.isSemicolonClassElement=isSemicolonClassElement;function isBlock(E){return E.kind===233}E.isBlock=isBlock;function isVariableStatement(E){return E.kind===235}E.isVariableStatement=isVariableStatement;function isEmptyStatement(E){return E.kind===234}E.isEmptyStatement=isEmptyStatement;function isExpressionStatement(E){return E.kind===236}E.isExpressionStatement=isExpressionStatement;function isIfStatement(E){return E.kind===237}E.isIfStatement=isIfStatement;function isDoStatement(E){return E.kind===238}E.isDoStatement=isDoStatement;function isWhileStatement(E){return E.kind===239}E.isWhileStatement=isWhileStatement;function isForStatement(E){return E.kind===240}E.isForStatement=isForStatement;function isForInStatement(E){return E.kind===241}E.isForInStatement=isForInStatement;function isForOfStatement(E){return E.kind===242}E.isForOfStatement=isForOfStatement;function isContinueStatement(E){return E.kind===243}E.isContinueStatement=isContinueStatement;function isBreakStatement(E){return E.kind===244}E.isBreakStatement=isBreakStatement;function isReturnStatement(E){return E.kind===245}E.isReturnStatement=isReturnStatement;function isWithStatement(E){return E.kind===246}E.isWithStatement=isWithStatement;function isSwitchStatement(E){return E.kind===247}E.isSwitchStatement=isSwitchStatement;function isLabeledStatement(E){return E.kind===248}E.isLabeledStatement=isLabeledStatement;function isThrowStatement(E){return E.kind===249}E.isThrowStatement=isThrowStatement;function isTryStatement(E){return E.kind===250}E.isTryStatement=isTryStatement;function isDebuggerStatement(E){return E.kind===251}E.isDebuggerStatement=isDebuggerStatement;function isVariableDeclaration(E){return E.kind===252}E.isVariableDeclaration=isVariableDeclaration;function isVariableDeclarationList(E){return E.kind===253}E.isVariableDeclarationList=isVariableDeclarationList;function isFunctionDeclaration(E){return E.kind===254}E.isFunctionDeclaration=isFunctionDeclaration;function isClassDeclaration(E){return E.kind===255}E.isClassDeclaration=isClassDeclaration;function isInterfaceDeclaration(E){return E.kind===256}E.isInterfaceDeclaration=isInterfaceDeclaration;function isTypeAliasDeclaration(E){return E.kind===257}E.isTypeAliasDeclaration=isTypeAliasDeclaration;function isEnumDeclaration(E){return E.kind===258}E.isEnumDeclaration=isEnumDeclaration;function isModuleDeclaration(E){return E.kind===259}E.isModuleDeclaration=isModuleDeclaration;function isModuleBlock(E){return E.kind===260}E.isModuleBlock=isModuleBlock;function isCaseBlock(E){return E.kind===261}E.isCaseBlock=isCaseBlock;function isNamespaceExportDeclaration(E){return E.kind===262}E.isNamespaceExportDeclaration=isNamespaceExportDeclaration;function isImportEqualsDeclaration(E){return E.kind===263}E.isImportEqualsDeclaration=isImportEqualsDeclaration;function isImportDeclaration(E){return E.kind===264}E.isImportDeclaration=isImportDeclaration;function isImportClause(E){return E.kind===265}E.isImportClause=isImportClause;function isNamespaceImport(E){return E.kind===266}E.isNamespaceImport=isNamespaceImport;function isNamespaceExport(E){return E.kind===272}E.isNamespaceExport=isNamespaceExport;function isNamedImports(E){return E.kind===267}E.isNamedImports=isNamedImports;function isImportSpecifier(E){return E.kind===268}E.isImportSpecifier=isImportSpecifier;function isExportAssignment(E){return E.kind===269}E.isExportAssignment=isExportAssignment;function isExportDeclaration(E){return E.kind===270}E.isExportDeclaration=isExportDeclaration;function isNamedExports(E){return E.kind===271}E.isNamedExports=isNamedExports;function isExportSpecifier(E){return E.kind===273}E.isExportSpecifier=isExportSpecifier;function isMissingDeclaration(E){return E.kind===274}E.isMissingDeclaration=isMissingDeclaration;function isNotEmittedStatement(E){return E.kind===344}E.isNotEmittedStatement=isNotEmittedStatement;function isSyntheticReference(E){return E.kind===349}E.isSyntheticReference=isSyntheticReference;function isMergeDeclarationMarker(E){return E.kind===347}E.isMergeDeclarationMarker=isMergeDeclarationMarker;function isEndOfDeclarationMarker(E){return E.kind===348}E.isEndOfDeclarationMarker=isEndOfDeclarationMarker;function isExternalModuleReference(E){return E.kind===275}E.isExternalModuleReference=isExternalModuleReference;function isJsxElement(E){return E.kind===276}E.isJsxElement=isJsxElement;function isJsxSelfClosingElement(E){return E.kind===277}E.isJsxSelfClosingElement=isJsxSelfClosingElement;function isJsxOpeningElement(E){return E.kind===278}E.isJsxOpeningElement=isJsxOpeningElement;function isJsxClosingElement(E){return E.kind===279}E.isJsxClosingElement=isJsxClosingElement;function isJsxFragment(E){return E.kind===280}E.isJsxFragment=isJsxFragment;function isJsxOpeningFragment(E){return E.kind===281}E.isJsxOpeningFragment=isJsxOpeningFragment;function isJsxClosingFragment(E){return E.kind===282}E.isJsxClosingFragment=isJsxClosingFragment;function isJsxAttribute(E){return E.kind===283}E.isJsxAttribute=isJsxAttribute;function isJsxAttributes(E){return E.kind===284}E.isJsxAttributes=isJsxAttributes;function isJsxSpreadAttribute(E){return E.kind===285}E.isJsxSpreadAttribute=isJsxSpreadAttribute;function isJsxExpression(E){return E.kind===286}E.isJsxExpression=isJsxExpression;function isCaseClause(E){return E.kind===287}E.isCaseClause=isCaseClause;function isDefaultClause(E){return E.kind===288}E.isDefaultClause=isDefaultClause;function isHeritageClause(E){return E.kind===289}E.isHeritageClause=isHeritageClause;function isCatchClause(E){return E.kind===290}E.isCatchClause=isCatchClause;function isPropertyAssignment(E){return E.kind===291}E.isPropertyAssignment=isPropertyAssignment;function isShorthandPropertyAssignment(E){return E.kind===292}E.isShorthandPropertyAssignment=isShorthandPropertyAssignment;function isSpreadAssignment(E){return E.kind===293}E.isSpreadAssignment=isSpreadAssignment;function isEnumMember(E){return E.kind===294}E.isEnumMember=isEnumMember;function isUnparsedPrepend(E){return E.kind===296}E.isUnparsedPrepend=isUnparsedPrepend;function isSourceFile(E){return E.kind===300}E.isSourceFile=isSourceFile;function isBundle(E){return E.kind===301}E.isBundle=isBundle;function isUnparsedSource(E){return E.kind===302}E.isUnparsedSource=isUnparsedSource;function isJSDocTypeExpression(E){return E.kind===304}E.isJSDocTypeExpression=isJSDocTypeExpression;function isJSDocNameReference(E){return E.kind===305}E.isJSDocNameReference=isJSDocNameReference;function isJSDocMemberName(E){return E.kind===306}E.isJSDocMemberName=isJSDocMemberName;function isJSDocLink(E){return E.kind===319}E.isJSDocLink=isJSDocLink;function isJSDocLinkCode(E){return E.kind===320}E.isJSDocLinkCode=isJSDocLinkCode;function isJSDocLinkPlain(E){return E.kind===321}E.isJSDocLinkPlain=isJSDocLinkPlain;function isJSDocAllType(E){return E.kind===307}E.isJSDocAllType=isJSDocAllType;function isJSDocUnknownType(E){return E.kind===308}E.isJSDocUnknownType=isJSDocUnknownType;function isJSDocNullableType(E){return E.kind===309}E.isJSDocNullableType=isJSDocNullableType;function isJSDocNonNullableType(E){return E.kind===310}E.isJSDocNonNullableType=isJSDocNonNullableType;function isJSDocOptionalType(E){return E.kind===311}E.isJSDocOptionalType=isJSDocOptionalType;function isJSDocFunctionType(E){return E.kind===312}E.isJSDocFunctionType=isJSDocFunctionType;function isJSDocVariadicType(E){return E.kind===313}E.isJSDocVariadicType=isJSDocVariadicType;function isJSDocNamepathType(E){return E.kind===314}E.isJSDocNamepathType=isJSDocNamepathType;function isJSDoc(E){return E.kind===315}E.isJSDoc=isJSDoc;function isJSDocTypeLiteral(E){return E.kind===317}E.isJSDocTypeLiteral=isJSDocTypeLiteral;function isJSDocSignature(E){return E.kind===318}E.isJSDocSignature=isJSDocSignature;function isJSDocAugmentsTag(E){return E.kind===323}E.isJSDocAugmentsTag=isJSDocAugmentsTag;function isJSDocAuthorTag(E){return E.kind===325}E.isJSDocAuthorTag=isJSDocAuthorTag;function isJSDocClassTag(E){return E.kind===327}E.isJSDocClassTag=isJSDocClassTag;function isJSDocCallbackTag(E){return E.kind===333}E.isJSDocCallbackTag=isJSDocCallbackTag;function isJSDocPublicTag(E){return E.kind===328}E.isJSDocPublicTag=isJSDocPublicTag;function isJSDocPrivateTag(E){return E.kind===329}E.isJSDocPrivateTag=isJSDocPrivateTag;function isJSDocProtectedTag(E){return E.kind===330}E.isJSDocProtectedTag=isJSDocProtectedTag;function isJSDocReadonlyTag(E){return E.kind===331}E.isJSDocReadonlyTag=isJSDocReadonlyTag;function isJSDocOverrideTag(E){return E.kind===332}E.isJSDocOverrideTag=isJSDocOverrideTag;function isJSDocDeprecatedTag(E){return E.kind===326}E.isJSDocDeprecatedTag=isJSDocDeprecatedTag;function isJSDocSeeTag(E){return E.kind===341}E.isJSDocSeeTag=isJSDocSeeTag;function isJSDocEnumTag(E){return E.kind===334}E.isJSDocEnumTag=isJSDocEnumTag;function isJSDocParameterTag(E){return E.kind===335}E.isJSDocParameterTag=isJSDocParameterTag;function isJSDocReturnTag(E){return E.kind===336}E.isJSDocReturnTag=isJSDocReturnTag;function isJSDocThisTag(E){return E.kind===337}E.isJSDocThisTag=isJSDocThisTag;function isJSDocTypeTag(E){return E.kind===338}E.isJSDocTypeTag=isJSDocTypeTag;function isJSDocTemplateTag(E){return E.kind===339}E.isJSDocTemplateTag=isJSDocTemplateTag;function isJSDocTypedefTag(E){return E.kind===340}E.isJSDocTypedefTag=isJSDocTypedefTag;function isJSDocUnknownTag(E){return E.kind===322}E.isJSDocUnknownTag=isJSDocUnknownTag;function isJSDocPropertyTag(E){return E.kind===342}E.isJSDocPropertyTag=isJSDocPropertyTag;function isJSDocImplementsTag(E){return E.kind===324}E.isJSDocImplementsTag=isJSDocImplementsTag;function isSyntaxList(E){return E.kind===343}E.isSyntaxList=isSyntaxList})(ce||(ce={}));var ce;(function(E){function createEmptyExports(E){return E.createExportDeclaration(undefined,undefined,false,E.createNamedExports([]),undefined)}E.createEmptyExports=createEmptyExports;function createMemberAccessForPropertyName(N,R,j,$){if(E.isComputedPropertyName(j)){return E.setTextRange(N.createElementAccessExpression(R,j.expression),$)}else{var q=E.setTextRange(E.isMemberName(j)?N.createPropertyAccessExpression(R,j):N.createElementAccessExpression(R,j),j);E.getOrCreateEmitNode(q).flags|=64;return q}}E.createMemberAccessForPropertyName=createMemberAccessForPropertyName;function createReactNamespace(N,R){var j=E.parseNodeFactory.createIdentifier(N||"React");E.setParent(j,E.getParseTreeNode(R));return j}function createJsxFactoryExpressionFromEntityName(N,R,j){if(E.isQualifiedName(R)){var $=createJsxFactoryExpressionFromEntityName(N,R.left,j);var q=N.createIdentifier(E.idText(R.right));q.escapedText=R.right.escapedText;return N.createPropertyAccessExpression($,q)}else{return createReactNamespace(E.idText(R),j)}}function createJsxFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"createElement")}E.createJsxFactoryExpression=createJsxFactoryExpression;function createJsxFragmentFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"Fragment")}function createExpressionForJsxElement(N,R,j,$,q,G){var ie=[j];if($){ie.push($)}if(q&&q.length>0){if(!$){ie.push(N.createNull())}if(q.length>1){for(var ae=0,ce=q;ae0){if(q.length>1){for(var le=0,_e=q;le<_e.length;le++){var Ee=_e[le];startOnNewLine(Ee);ce.push(Ee)}}else{ce.push(q[0])}}return E.setTextRange(N.createCallExpression(createJsxFactoryExpression(N,R,$,G),undefined,ce),ie)}E.createExpressionForJsxFragment=createExpressionForJsxFragment;function createForOfBindingStatement(N,R,j){if(E.isVariableDeclarationList(R)){var $=E.first(R.declarations);var q=N.updateVariableDeclaration($,$.name,undefined,undefined,j);return E.setTextRange(N.createVariableStatement(undefined,N.updateVariableDeclarationList(R,[q])),R)}else{var G=E.setTextRange(N.createAssignment(R,j),R);return E.setTextRange(N.createExpressionStatement(G),R)}}E.createForOfBindingStatement=createForOfBindingStatement;function insertLeadingStatement(N,R,$){if(E.isBlock(R)){return N.updateBlock(R,E.setTextRange(N.createNodeArray(j([$],R.statements,true)),R.statements))}else{return N.createBlock(N.createNodeArray([R,$]),true)}}E.insertLeadingStatement=insertLeadingStatement;function createExpressionFromEntityName(N,R){if(E.isQualifiedName(R)){var j=createExpressionFromEntityName(N,R.left);var $=E.setParent(E.setTextRange(N.cloneNode(R.right),R.right),R.right.parent);return E.setTextRange(N.createPropertyAccessExpression(j,$),R)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionFromEntityName=createExpressionFromEntityName;function createExpressionForPropertyName(N,R){if(E.isIdentifier(R)){return N.createStringLiteralFromNode(R)}else if(E.isComputedPropertyName(R)){return E.setParent(E.setTextRange(N.cloneNode(R.expression),R.expression),R.expression.parent)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionForPropertyName=createExpressionForPropertyName;function createExpressionForAccessorDeclaration(N,R,j,$,q){var G=E.getAllAccessorDeclarations(R,j),ie=G.firstAccessor,ae=G.getAccessor,ce=G.setAccessor;if(j===ie){return E.setTextRange(N.createObjectDefinePropertyCall($,createExpressionForPropertyName(N,j.name),N.createPropertyDescriptor({enumerable:N.createFalse(),configurable:true,get:ae&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ae.modifiers,undefined,undefined,undefined,ae.parameters,undefined,ae.body),ae),ae),set:ce&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ce.modifiers,undefined,undefined,undefined,ce.parameters,undefined,ce.body),ce),ce)},!q)),ie)}return undefined}function createExpressionForPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),R.initializer),R),R)}function createExpressionForShorthandPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),N.cloneNode(R.name)),R),R)}function createExpressionForMethodDeclaration(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),E.setOriginalNode(E.setTextRange(N.createFunctionExpression(R.modifiers,R.asteriskToken,undefined,undefined,R.parameters,undefined,R.body),R),R)),R),R)}function createExpressionForObjectLiteralElementLike(N,R,j,$){if(j.name&&E.isPrivateIdentifier(j.name)){E.Debug.failBadSyntaxKind(j.name,"Private identifiers are not allowed in object literals.")}switch(j.kind){case 170:case 171:return createExpressionForAccessorDeclaration(N,R.properties,j,$,!!R.multiLine);case 291:return createExpressionForPropertyAssignment(N,j,$);case 292:return createExpressionForShorthandPropertyAssignment(N,j,$);case 167:return createExpressionForMethodDeclaration(N,j,$)}}E.createExpressionForObjectLiteralElementLike=createExpressionForObjectLiteralElementLike;function expandPreOrPostfixIncrementOrDecrementExpression(N,R,j,$,q){var G=R.operator;E.Debug.assert(G===45||G===46,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");var ie=N.createTempVariable($);j=N.createAssignment(ie,j);E.setTextRange(j,R.operand);var ae=E.isPrefixUnaryExpression(R)?N.createPrefixUnaryExpression(G,ie):N.createPostfixUnaryExpression(ie,G);E.setTextRange(ae,R);if(q){ae=N.createAssignment(q,ae);E.setTextRange(ae,R)}j=N.createComma(j,ae);E.setTextRange(j,R);if(E.isPostfixUnaryExpression(R)){j=N.createComma(j,ie);E.setTextRange(j,R)}return j}E.expandPreOrPostfixIncrementOrDecrementExpression=expandPreOrPostfixIncrementOrDecrementExpression;function isInternalName(N){return(E.getEmitFlags(N)&32768)!==0}E.isInternalName=isInternalName;function isLocalName(N){return(E.getEmitFlags(N)&16384)!==0}E.isLocalName=isLocalName;function isExportName(N){return(E.getEmitFlags(N)&8192)!==0}E.isExportName=isExportName;function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function findUseStrictPrologue(N){for(var R=0,j=N;R=E.ModuleKind.ES2015&&ce<=E.ModuleKind.ESNext){var le=E.getEmitHelpers(j);if(le){var _e=[];for(var Ee=0,Te=le;Ee0?q[R-1]:undefined;E.Debug.assertEqual(j[R],enter);q[R]=N.onEnter($[R],ae,ie);j[R]=nextState(N,enter);return R}N.enter=enter;function left(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],left);E.Debug.assertIsDefined(N.onLeft);j[R]=nextState(N,left);var ae=N.onLeft($[R].left,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.left=left;function operator(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],operator);E.Debug.assertIsDefined(N.onOperator);j[R]=nextState(N,operator);N.onOperator($[R].operatorToken,q[R],$[R]);return R}N.operator=operator;function right(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],right);E.Debug.assertIsDefined(N.onRight);j[R]=nextState(N,right);var ae=N.onRight($[R].right,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.right=right;function exit(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],exit);j[R]=nextState(N,exit);var ae=N.onExit($[R],q[R]);if(R>0){R--;if(N.foldState){var ce=j[R]===exit?"right":"left";q[R]=N.foldState(q[R],ae,ce)}}else{G.value=ae}return R}N.exit=exit;function done(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],done);return R}N.done=done;function nextState(N,R){switch(R){case enter:if(N.onLeft)return left;case left:if(N.onOperator)return operator;case operator:if(N.onRight)return right;case right:return exit;case exit:return done;case done:return done;default:E.Debug.fail("Invalid state")}}N.nextState=nextState;function pushStack(E,N,R,j,$){E++;N[E]=enter;R[E]=$;j[E]=undefined;return E}function checkCircularity(N,R,j){if(E.Debug.shouldAssert(2)){while(N>=0){E.Debug.assert(R[N]!==j,"Circular traversal detected.");N--}}}})(N||(N={}));var R=function(){function BinaryExpressionStateMachine(E,N,R,j,$,q){this.onEnter=E;this.onLeft=N;this.onOperator=R;this.onRight=j;this.onExit=$;this.foldState=q}return BinaryExpressionStateMachine}();function createBinaryExpressionTrampoline(j,$,q,G,ie,ae){var ce=new R(j,$,q,G,ie,ae);return trampoline;function trampoline(R,j){var $={value:undefined};var q=[N.enter];var G=[R];var ie=[undefined];var ae=0;while(q[ae]!==N.done){ae=q[ae](ce,ae,q,G,ie,$,j)}E.Debug.assertEqual(ae,0);return $.value}}E.createBinaryExpressionTrampoline=createBinaryExpressionTrampoline})(ce||(ce={}));var ce;(function(E){function setTextRange(N,R){return R?E.setTextRangePosEnd(N,R.pos,R.end):N}E.setTextRange=setTextRange})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["None"]=0]="None";E[E["Yield"]=1]="Yield";E[E["Await"]=2]="Await";E[E["Type"]=4]="Type";E[E["IgnoreMissingOpenBrace"]=16]="IgnoreMissingOpenBrace";E[E["JSDoc"]=32]="JSDoc"})(N||(N={}));var R;(function(E){E[E["TryParse"]=0]="TryParse";E[E["Lookahead"]=1]="Lookahead";E[E["Reparse"]=2]="Reparse"})(R||(R={}));var $;var q;var G;var ie;var ae;E.parseBaseNodeFactory={createBaseSourceFileNode:function(N){return new(ae||(ae=E.objectAllocator.getSourceFileConstructor()))(N,-1,-1)},createBaseIdentifierNode:function(N){return new(G||(G=E.objectAllocator.getIdentifierConstructor()))(N,-1,-1)},createBasePrivateIdentifierNode:function(N){return new(ie||(ie=E.objectAllocator.getPrivateIdentifierConstructor()))(N,-1,-1)},createBaseTokenNode:function(N){return new(q||(q=E.objectAllocator.getTokenConstructor()))(N,-1,-1)},createBaseNode:function(N){return new($||($=E.objectAllocator.getNodeConstructor()))(N,-1,-1)}};E.parseNodeFactory=E.createNodeFactory(1,E.parseBaseNodeFactory);function visitNode(E,N){return N&&E(N)}function visitNodes(E,N,R){if(R){if(N){return N(R)}for(var j=0,$=R;j<$.length;j++){var q=$[j];var G=E(q);if(G){return G}}}}function isJSDocLikeText(E,N){return E.charCodeAt(N+1)===42&&E.charCodeAt(N+2)===42&&E.charCodeAt(N+3)!==47}E.isJSDocLikeText=isJSDocLikeText;function forEachChild(N,R,j){if(!N||N.kind<=158){return}switch(N.kind){case 159:return visitNode(R,N.left)||visitNode(R,N.right);case 161:return visitNode(R,N.name)||visitNode(R,N.constraint)||visitNode(R,N.default)||visitNode(R,N.expression);case 292:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.equalsToken)||visitNode(R,N.objectAssignmentInitializer);case 293:return visitNode(R,N.expression);case 162:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 165:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 164:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 291:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.initializer);case 252:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 201:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.propertyName)||visitNode(R,N.name)||visitNode(R,N.initializer);case 177:case 178:case 172:case 173:case 174:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 167:case 166:case 169:case 170:case 171:case 211:case 254:case 212:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.asteriskToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type)||visitNode(R,N.equalsGreaterThanToken)||visitNode(R,N.body);case 168:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.body);case 176:return visitNode(R,N.typeName)||visitNodes(R,j,N.typeArguments);case 175:return visitNode(R,N.assertsModifier)||visitNode(R,N.parameterName)||visitNode(R,N.type);case 179:return visitNode(R,N.exprName);case 180:return visitNodes(R,j,N.members);case 181:return visitNode(R,N.elementType);case 182:return visitNodes(R,j,N.elements);case 185:case 186:return visitNodes(R,j,N.types);case 187:return visitNode(R,N.checkType)||visitNode(R,N.extendsType)||visitNode(R,N.trueType)||visitNode(R,N.falseType);case 188:return visitNode(R,N.typeParameter);case 198:return visitNode(R,N.argument)||visitNode(R,N.qualifier)||visitNodes(R,j,N.typeArguments);case 189:case 191:return visitNode(R,N.type);case 192:return visitNode(R,N.objectType)||visitNode(R,N.indexType);case 193:return visitNode(R,N.readonlyToken)||visitNode(R,N.typeParameter)||visitNode(R,N.nameType)||visitNode(R,N.questionToken)||visitNode(R,N.type);case 194:return visitNode(R,N.literal);case 195:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type);case 199:case 200:return visitNodes(R,j,N.elements);case 202:return visitNodes(R,j,N.elements);case 203:return visitNodes(R,j,N.properties);case 204:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.name);case 205:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.argumentExpression);case 206:case 207:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNodes(R,j,N.arguments);case 208:return visitNode(R,N.tag)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.template);case 209:return visitNode(R,N.type)||visitNode(R,N.expression);case 210:return visitNode(R,N.expression);case 213:return visitNode(R,N.expression);case 214:return visitNode(R,N.expression);case 215:return visitNode(R,N.expression);case 217:return visitNode(R,N.operand);case 222:return visitNode(R,N.asteriskToken)||visitNode(R,N.expression);case 216:return visitNode(R,N.expression);case 218:return visitNode(R,N.operand);case 219:return visitNode(R,N.left)||visitNode(R,N.operatorToken)||visitNode(R,N.right);case 227:return visitNode(R,N.expression)||visitNode(R,N.type);case 228:return visitNode(R,N.expression);case 229:return visitNode(R,N.name);case 220:return visitNode(R,N.condition)||visitNode(R,N.questionToken)||visitNode(R,N.whenTrue)||visitNode(R,N.colonToken)||visitNode(R,N.whenFalse);case 223:return visitNode(R,N.expression);case 233:case 260:return visitNodes(R,j,N.statements);case 300:return visitNodes(R,j,N.statements)||visitNode(R,N.endOfFileToken);case 235:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.declarationList);case 253:return visitNodes(R,j,N.declarations);case 236:return visitNode(R,N.expression);case 237:return visitNode(R,N.expression)||visitNode(R,N.thenStatement)||visitNode(R,N.elseStatement);case 238:return visitNode(R,N.statement)||visitNode(R,N.expression);case 239:return visitNode(R,N.expression)||visitNode(R,N.statement);case 240:return visitNode(R,N.initializer)||visitNode(R,N.condition)||visitNode(R,N.incrementor)||visitNode(R,N.statement);case 241:return visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 242:return visitNode(R,N.awaitModifier)||visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 243:case 244:return visitNode(R,N.label);case 245:return visitNode(R,N.expression);case 246:return visitNode(R,N.expression)||visitNode(R,N.statement);case 247:return visitNode(R,N.expression)||visitNode(R,N.caseBlock);case 261:return visitNodes(R,j,N.clauses);case 287:return visitNode(R,N.expression)||visitNodes(R,j,N.statements);case 288:return visitNodes(R,j,N.statements);case 248:return visitNode(R,N.label)||visitNode(R,N.statement);case 249:return visitNode(R,N.expression);case 250:return visitNode(R,N.tryBlock)||visitNode(R,N.catchClause)||visitNode(R,N.finallyBlock);case 290:return visitNode(R,N.variableDeclaration)||visitNode(R,N.block);case 163:return visitNode(R,N.expression);case 255:case 224:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 256:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 257:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNode(R,N.type);case 258:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.members);case 294:return visitNode(R,N.name)||visitNode(R,N.initializer);case 259:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.body);case 263:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.moduleReference);case 264:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.importClause)||visitNode(R,N.moduleSpecifier);case 265:return visitNode(R,N.name)||visitNode(R,N.namedBindings);case 262:return visitNode(R,N.name);case 266:return visitNode(R,N.name);case 272:return visitNode(R,N.name);case 267:case 271:return visitNodes(R,j,N.elements);case 270:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.exportClause)||visitNode(R,N.moduleSpecifier);case 268:case 273:return visitNode(R,N.propertyName)||visitNode(R,N.name);case 269:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.expression);case 221:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 231:return visitNode(R,N.expression)||visitNode(R,N.literal);case 196:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 197:return visitNode(R,N.type)||visitNode(R,N.literal);case 160:return visitNode(R,N.expression);case 289:return visitNodes(R,j,N.types);case 226:return visitNode(R,N.expression)||visitNodes(R,j,N.typeArguments);case 275:return visitNode(R,N.expression);case 274:return visitNodes(R,j,N.decorators);case 346:return visitNodes(R,j,N.elements);case 276:return visitNode(R,N.openingElement)||visitNodes(R,j,N.children)||visitNode(R,N.closingElement);case 280:return visitNode(R,N.openingFragment)||visitNodes(R,j,N.children)||visitNode(R,N.closingFragment);case 277:case 278:return visitNode(R,N.tagName)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.attributes);case 284:return visitNodes(R,j,N.properties);case 283:return visitNode(R,N.name)||visitNode(R,N.initializer);case 285:return visitNode(R,N.expression);case 286:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.expression);case 279:return visitNode(R,N.tagName);case 183:case 184:case 304:case 310:case 309:case 311:case 313:return visitNode(R,N.type);case 312:return visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 315:return(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment))||visitNodes(R,j,N.tags);case 341:return visitNode(R,N.tagName)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 305:return visitNode(R,N.name);case 306:return visitNode(R,N.left)||visitNode(R,N.right);case 335:case 342:return visitNode(R,N.tagName)||(N.isNameFirst?visitNode(R,N.name)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.typeExpression)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 325:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 324:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 323:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 339:return visitNode(R,N.tagName)||visitNode(R,N.constraint)||visitNodes(R,j,N.typeParameters)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 340:return visitNode(R,N.tagName)||(N.typeExpression&&N.typeExpression.kind===304?visitNode(R,N.typeExpression)||visitNode(R,N.fullName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 333:return visitNode(R,N.tagName)||visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 336:case 338:case 337:case 334:return visitNode(R,N.tagName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 318:return E.forEach(N.typeParameters,R)||E.forEach(N.parameters,R)||visitNode(R,N.type);case 319:case 320:case 321:return visitNode(R,N.name);case 317:return E.forEach(N.jsDocPropertyTags,R);case 322:case 327:case 328:case 329:case 330:case 331:case 326:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 345:return visitNode(R,N.expression)}}E.forEachChild=forEachChild;function forEachChildRecursively(N,R,j){var $=gatherPossibleChildren(N);var q=[];while(q.length<$.length){q.push(N)}while($.length!==0){var G=$.pop();var ie=q.pop();if(E.isArray(G)){if(j){var ae=j(G,ie);if(ae){if(ae==="skip")continue;return ae}}for(var ce=G.length-1;ce>=0;--ce){$.push(G[ce]);q.push(ie)}}else{var ae=R(G,ie);if(ae){if(ae==="skip")continue;return ae}if(G.kind>=159){for(var le=0,_e=gatherPossibleChildren(G);le<_e.length;le++){var Ee=_e[le];$.push(Ee);q.push(G)}}}}}E.forEachChildRecursively=forEachChildRecursively;function gatherPossibleChildren(E){var N=[];forEachChild(E,addWorkItem,addWorkItem);return N;function addWorkItem(E){N.unshift(E)}}function createSourceFile(N,R,j,$,q){if($===void 0){$=false}E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("parse","createSourceFile",{path:N},true);E.performance.mark("beforeParse");var G;E.perfLogger.logStartParseSourceFile(N);if(j===100){G=ce.parseSourceFile(N,R,j,undefined,$,6)}else{G=ce.parseSourceFile(N,R,j,undefined,$,q)}E.perfLogger.logStopParseSourceFile();E.performance.mark("afterParse");E.performance.measure("Parse","beforeParse","afterParse");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}E.createSourceFile=createSourceFile;function parseIsolatedEntityName(E,N){return ce.parseIsolatedEntityName(E,N)}E.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(E,N){return ce.parseJsonText(E,N)}E.parseJsonText=parseJsonText;function isExternalModule(E){return E.externalModuleIndicator!==undefined}E.isExternalModule=isExternalModule;function updateSourceFile(E,N,R,j){if(j===void 0){j=false}var $=le.updateSourceFile(E,N,R,j);$.flags|=E.flags&3145728;return $}E.updateSourceFile=updateSourceFile;function parseIsolatedJSDocComment(E,N,R){var j=ce.JSDocParser.parseIsolatedJSDocComment(E,N,R);if(j&&j.jsDoc){ce.fixupParentReferences(j.jsDoc)}return j}E.parseIsolatedJSDocComment=parseIsolatedJSDocComment;function parseJSDocTypeExpressionForTests(E,N,R){return ce.JSDocParser.parseJSDocTypeExpressionForTests(E,N,R)}E.parseJSDocTypeExpressionForTests=parseJSDocTypeExpressionForTests;var ce;(function(N){var R=E.createScanner(99,true);var $=4096|16384;var q;var G;var ie;var ae;var ce;function countNode(E){We++;return E}var _e={createBaseSourceFileNode:function(E){return countNode(new ce(E,0,0))},createBaseIdentifierNode:function(E){return countNode(new ie(E,0,0))},createBasePrivateIdentifierNode:function(E){return countNode(new ae(E,0,0))},createBaseTokenNode:function(E){return countNode(new G(E,0,0))},createBaseNode:function(E){return countNode(new q(E,0,0))}};var Ee=E.createNodeFactory(1|2|8,_e);var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve;var qe;var He;var Ge;var Ke;var Qe=true;var Xe=false;function parseSourceFile(N,R,j,$,q,G){var ie;if(q===void 0){q=false}G=E.ensureScriptKind(N,G);if(G===6){var ae=parseJsonText(N,R,j,$,q);E.convertToObjectWorker(ae,(ie=ae.statements[0])===null||ie===void 0?void 0:ie.expression,ae.parseDiagnostics,false,undefined,undefined);ae.referencedFiles=E.emptyArray;ae.typeReferenceDirectives=E.emptyArray;ae.libReferenceDirectives=E.emptyArray;ae.amdDependencies=E.emptyArray;ae.hasNoDefaultLib=false;ae.pragmas=E.emptyMap;return ae}initializeState(N,R,j,$,G);var ce=parseSourceFileWorker(j,q,G);clearState();return ce}N.parseSourceFile=parseSourceFile;function parseIsolatedEntityName(E,N){initializeState("",E,N,undefined,1);nextToken();var R=parseEntityName(true);var j=token()===1&&!Be.length;clearState();return j?R:undefined}N.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(N,R,j,$,q){if(j===void 0){j=2}if(q===void 0){q=false}initializeState(N,R,j,$,6);we=Ke;nextToken();var G=getNodePos();var ie,ae;if(token()===1){ie=createNodeArray([],G,G);ae=parseTokenNode()}else{var ce=void 0;while(token()!==1){var le=void 0;switch(token()){case 22:le=parseArrayLiteralExpression();break;case 110:case 95:case 104:le=parseTokenNode();break;case 40:if(lookAhead((function(){return nextToken()===8&&nextToken()!==58}))){le=parsePrefixUnaryExpression()}else{le=parseObjectLiteralExpression()}break;case 8:case 10:if(lookAhead((function(){return nextToken()!==58}))){le=parseLiteralNode();break}default:le=parseObjectLiteralExpression();break}if(ce&&E.isArray(ce)){ce.push(le)}else if(ce){ce=[ce,le]}else{ce=le;if(token()!==1){parseErrorAtCurrentToken(E.Diagnostics.Unexpected_token)}}}var _e=E.isArray(ce)?finishNode(Ee.createArrayLiteralExpression(ce),G):E.Debug.checkDefined(ce);var Te=Ee.createExpressionStatement(_e);finishNode(Te,G);ie=createNodeArray([Te],G);ae=parseExpectedToken(1,E.Diagnostics.Unexpected_token)}var Ie=createSourceFile(N,2,6,false,ie,ae,we);if(q){fixupParentReferences(Ie)}Ie.nodeCount=We;Ie.identifierCount=qe;Ie.identifiers=Je;Ie.parseDiagnostics=E.attachFileToDiagnostics(Be,Ie);if(je){Ie.jsDocDiagnostics=E.attachFileToDiagnostics(je,Ie)}var Ne=Ie;clearState();return Ne}N.parseJsonText=parseJsonText;function initializeState(N,j,$,le,_e){q=E.objectAllocator.getNodeConstructor();G=E.objectAllocator.getTokenConstructor();ie=E.objectAllocator.getIdentifierConstructor();ae=E.objectAllocator.getPrivateIdentifierConstructor();ce=E.objectAllocator.getSourceFileConstructor();Te=E.normalizePath(N);Ie=j;Ne=$;Ue=le;Me=_e;Le=E.getLanguageVariant(_e);Be=[];He=0;Je=new E.Map;Ve=new E.Map;qe=0;We=0;we=0;Qe=true;switch(Me){case 1:case 2:Ke=131072;break;case 6:Ke=131072|33554432;break;default:Ke=0;break}Xe=false;R.setText(Ie);R.setOnError(scanError);R.setScriptTarget(Ne);R.setLanguageVariant(Le)}function clearState(){R.clearCommentDirectives();R.setText("");R.setOnError(undefined);Ie=undefined;Ne=undefined;Ue=undefined;Me=undefined;Le=undefined;we=0;Be=undefined;je=undefined;He=0;Je=undefined;Ge=undefined;Qe=true}function parseSourceFileWorker(N,j,$){var q=isDeclarationFileName(Te);if(q){Ke|=8388608}we=Ke;nextToken();var G=parseList(0,parseStatement);E.Debug.assert(token()===1);var ie=addJSDocComment(parseTokenNode());var ae=createSourceFile(Te,N,$,q,G,ie,we);processCommentPragmas(ae,Ie);processPragmasIntoFields(ae,reportPragmaDiagnostic);ae.commentDirectives=R.getCommentDirectives();ae.nodeCount=We;ae.identifierCount=qe;ae.identifiers=Je;ae.parseDiagnostics=E.attachFileToDiagnostics(Be,ae);if(je){ae.jsDocDiagnostics=E.attachFileToDiagnostics(je,ae)}if(j){fixupParentReferences(ae)}return ae;function reportPragmaDiagnostic(N,R,j){Be.push(E.createDetachedDiagnostic(Te,N,R,j))}}function withJSDoc(E,N){return N?addJSDocComment(E):E}var Ye=false;function addJSDocComment(N){E.Debug.assert(!N.jsDoc);var R=E.mapDefined(E.getJSDocCommentRanges(N,Ie),(function(E){return rt.parseJSDocComment(N,E.pos,E.end-E.pos)}));if(R.length)N.jsDoc=R;if(Ye){Ye=false;N.flags|=134217728}return N}function reparseTopLevelAwait(N){var j=Ue;var $=le.createSyntaxCursor(N);Ue={currentNode:currentNode};var q=[];var G=Be;Be=[];var ie=0;var ae=findNextStatementWithAwait(N.statements,0);var _loop_3=function(){var j=N.statements[ie];var $=N.statements[ae];E.addRange(q,N.statements,ie,ae);ie=findNextStatementWithoutAwait(N.statements,ae);var ce=E.findIndex(G,(function(E){return E.start>=j.pos}));var le=ce>=0?E.findIndex(G,(function(E){return E.start>=$.pos}),ce):-1;if(ce>=0){E.addRange(Be,G,ce,le>=0?le:undefined)}speculationHelper((function(){var E=Ke;Ke|=32768;R.setTextPos($.pos);nextToken();while(token()!==1){var j=R.getStartPos();var G=parseListElement(0,parseStatement);q.push(G);if(j===R.getStartPos()){nextToken()}if(ie>=0){var ae=N.statements[ie];if(G.end===ae.pos){break}if(G.end>ae.pos){ie=findNextStatementWithoutAwait(N.statements,ie+1)}}}Ke=E}),2);ae=ie>=0?findNextStatementWithAwait(N.statements,ie):-1};while(ae!==-1){_loop_3()}if(ie>=0){var ce=N.statements[ie];E.addRange(q,N.statements,ie);var _e=E.findIndex(G,(function(E){return E.start>=ce.pos}));if(_e>=0){E.addRange(Be,G,_e)}}Ue=j;return Ee.updateSourceFile(N,E.setTextRange(Ee.createNodeArray(q),N.statements));function containsPossibleTopLevelAwait(E){return!(E.flags&32768)&&!!(E.transformFlags&16777216)}function findNextStatementWithAwait(E,N){for(var R=N;R116}function isIdentifier(){if(token()===79){return true}if(token()===125&&inYieldContext()){return false}if(token()===131&&inAwaitContext()){return false}return token()>116}function parseExpected(N,R,j){if(j===void 0){j=true}if(token()===N){if(j){nextToken()}return true}if(R){parseErrorAtCurrentToken(R)}else{parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N))}return false}var Ze=Object.keys(E.textToKeywordObj).filter((function(E){return E.length>2}));function parseErrorForMissingSemicolonAfter(N){var j;if(E.isTaggedTemplateExpression(N)){parseErrorAt(E.skipTrivia(Ie,N.template.pos),N.template.end,E.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var $=E.isIdentifier(N)?E.idText(N):undefined;if(!$||!E.isIdentifierText($,Ne)){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26));return}var q=E.skipTrivia(Ie,N.pos);switch($){case"const":case"let":case"var":parseErrorAt(q,N.end,E.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":parseErrorForInvalidName(E.Diagnostics.Interface_name_cannot_be_0,E.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":parseErrorAt(q,R.getTextPos(),E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":parseErrorForInvalidName(E.Diagnostics.Namespace_name_cannot_be_0,E.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":parseErrorForInvalidName(E.Diagnostics.Type_alias_name_cannot_be_0,E.Diagnostics.Type_alias_must_be_given_a_name,63);return}var G=(j=E.getSpellingSuggestion($,Ze,(function(E){return E})))!==null&&j!==void 0?j:getSpaceSuggestion($);if(G){parseErrorAt(q,N.end,E.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,G);return}if(token()===0){return}parseErrorAt(q,N.end,E.Diagnostics.Unexpected_keyword_or_identifier)}function parseErrorForInvalidName(N,R,j){if(token()===j){parseErrorAtCurrentToken(R)}else{parseErrorAtCurrentToken(N,E.tokenToString(token()))}}function getSpaceSuggestion(N){for(var R=0,j=Ze;R$.length+2&&E.startsWith(N,$)){return $+" "+N.slice($.length)}}return undefined}function parseSemicolonAfterPropertyName(N,j,$){if(token()===59&&!R.hasPrecedingLineBreak()){parseErrorAtCurrentToken(E.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(token()===20){parseErrorAtCurrentToken(E.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation);nextToken();return}if(j&&!canParseSemicolon()){if($){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}else{parseErrorAtCurrentToken(E.Diagnostics.Expected_for_property_initializer)}return}if(tryParseSemicolon()){return}if($){if(token()===18){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}return}parseErrorForMissingSemicolonAfter(N)}function parseExpectedJSDoc(N){if(token()===N){nextTokenJSDoc();return true}parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N));return false}function parseOptional(E){if(token()===E){nextToken();return true}return false}function parseOptionalToken(E){if(token()===E){return parseTokenNode()}return undefined}function parseOptionalTokenJSDoc(E){if(token()===E){return parseTokenNodeJSDoc()}return undefined}function parseExpectedToken(N,R,j){return parseOptionalToken(N)||createMissingNode(N,false,R||E.Diagnostics._0_expected,j||E.tokenToString(N))}function parseExpectedTokenJSDoc(N){return parseOptionalTokenJSDoc(N)||createMissingNode(N,false,E.Diagnostics._0_expected,E.tokenToString(N))}function parseTokenNode(){var E=getNodePos();var N=token();nextToken();return finishNode(Ee.createToken(N),E)}function parseTokenNodeJSDoc(){var E=getNodePos();var N=token();nextTokenJSDoc();return finishNode(Ee.createToken(N),E)}function canParseSemicolon(){if(token()===26){return true}return token()===19||token()===1||R.hasPrecedingLineBreak()}function tryParseSemicolon(){if(!canParseSemicolon()){return false}if(token()===26){nextToken()}return true}function parseSemicolon(){return tryParseSemicolon()||parseExpected(26)}function createNodeArray(N,j,$,q){var G=Ee.createNodeArray(N,q);E.setTextRangePosEnd(G,j,$!==null&&$!==void 0?$:R.getStartPos());return G}function finishNode(N,j,$){E.setTextRangePosEnd(N,j,$!==null&&$!==void 0?$:R.getStartPos());if(Ke){N.flags|=Ke}if(Xe){Xe=false;N.flags|=65536}return N}function createMissingNode(N,j,$,q){if(j){parseErrorAtPosition(R.getStartPos(),0,$,q)}else if($){parseErrorAtCurrentToken($,q)}var G=getNodePos();var ie=N===79?Ee.createIdentifier("",undefined,undefined):E.isTemplateLiteralKind(N)?Ee.createTemplateLiteralLikeNode(N,"","",undefined):N===8?Ee.createNumericLiteral("",undefined):N===10?Ee.createStringLiteral("",undefined):N===274?Ee.createMissingDeclaration():Ee.createToken(N);return finishNode(ie,G)}function internIdentifier(E){var N=Je.get(E);if(N===undefined){Je.set(E,N=E)}return N}function createIdentifier(N,j,$){if(N){qe++;var q=getNodePos();var G=token();var ie=internIdentifier(R.getTokenValue());nextTokenWithoutCheck();return finishNode(Ee.createIdentifier(ie,undefined,G),q)}if(token()===80){parseErrorAtCurrentToken($||E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return createIdentifier(true)}if(token()===0&&R.tryScan((function(){return R.reScanInvalidIdentifier()===79}))){return createIdentifier(true)}qe++;var ae=token()===1;var ce=R.isReservedWord();var le=R.getTokenText();var _e=ce?E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:E.Diagnostics.Identifier_expected;return createMissingNode(79,ae,j||_e,le)}function parseBindingIdentifier(E){return createIdentifier(isBindingIdentifier(),undefined,E)}function parseIdentifier(E,N){return createIdentifier(isIdentifier(),E,N)}function parseIdentifierName(N){return createIdentifier(E.tokenIsIdentifierOrKeyword(token()),N)}function isLiteralPropertyName(){return E.tokenIsIdentifierOrKeyword(token())||token()===10||token()===8}function parsePropertyNameWorker(E){if(token()===10||token()===8){var N=parseLiteralNode();N.text=internIdentifier(N.text);return N}if(E&&token()===22){return parseComputedPropertyName()}if(token()===80){return parsePrivateIdentifier()}return parseIdentifierName()}function parsePropertyName(){return parsePropertyNameWorker(true)}function parseComputedPropertyName(){var E=getNodePos();parseExpected(22);var N=allowInAnd(parseExpression);parseExpected(23);return finishNode(Ee.createComputedPropertyName(N),E)}function internPrivateIdentifier(E){var N=Ve.get(E);if(N===undefined){Ve.set(E,N=E)}return N}function parsePrivateIdentifier(){var E=getNodePos();var N=Ee.createPrivateIdentifier(internPrivateIdentifier(R.getTokenText()));nextToken();return finishNode(N,E)}function parseContextualModifier(E){return token()===E&&tryParse(nextTokenCanFollowModifier)}function nextTokenIsOnSameLineAndCanFollowModifier(){nextToken();if(R.hasPrecedingLineBreak()){return false}return canFollowModifier()}function nextTokenCanFollowModifier(){switch(token()){case 85:return nextToken()===92;case 93:nextToken();if(token()===88){return lookAhead(nextTokenCanFollowDefaultKeyword)}if(token()===150){return lookAhead(nextTokenCanFollowExportModifier)}return canFollowExportModifier();case 88:return nextTokenCanFollowDefaultKeyword();case 124:return nextTokenIsOnSameLineAndCanFollowModifier();case 135:case 147:nextToken();return canFollowModifier();default:return nextTokenIsOnSameLineAndCanFollowModifier()}}function canFollowExportModifier(){return token()!==41&&token()!==127&&token()!==18&&canFollowModifier()}function nextTokenCanFollowExportModifier(){nextToken();return canFollowExportModifier()}function parseAnyContextualModifier(){return E.isModifierKind(token())&&tryParse(nextTokenCanFollowModifier)}function canFollowModifier(){return token()===22||token()===18||token()===41||token()===25||isLiteralPropertyName()}function nextTokenCanFollowDefaultKeyword(){nextToken();return token()===84||token()===98||token()===118||token()===126&&lookAhead(nextTokenIsClassKeywordOnSameLine)||token()===130&&lookAhead(nextTokenIsFunctionKeywordOnSameLine)}function isListElement(N,R){var j=currentNode(N);if(j){return true}switch(N){case 0:case 1:case 3:return!(token()===26&&R)&&isStartOfStatement();case 2:return token()===82||token()===88;case 4:return lookAhead(isTypeMemberStart);case 5:return lookAhead(isClassMemberStart)||token()===26&&!R;case 6:return token()===22||isLiteralPropertyName();case 12:switch(token()){case 22:case 41:case 25:case 24:return true;default:return isLiteralPropertyName()}case 18:return isLiteralPropertyName();case 9:return token()===22||token()===25||isLiteralPropertyName();case 7:if(token()===18){return lookAhead(isValidHeritageClauseObjectLiteral)}if(!R){return isStartOfLeftHandSideExpression()&&!isHeritageClauseExtendsOrImplementsKeyword()}else{return isIdentifier()&&!isHeritageClauseExtendsOrImplementsKeyword()}case 8:return isBindingIdentifierOrPrivateIdentifierOrPattern();case 10:return token()===27||token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern();case 19:return isIdentifier();case 15:switch(token()){case 27:case 24:return true}case 11:return token()===25||isStartOfExpression();case 16:return isStartOfParameter(false);case 17:return isStartOfParameter(true);case 20:case 21:return token()===27||isStartOfType();case 22:return isHeritageClause();case 23:return E.tokenIsIdentifierOrKeyword(token());case 13:return E.tokenIsIdentifierOrKeyword(token())||token()===18;case 14:return true}return E.Debug.fail("Non-exhaustive case in 'isListElement'.")}function isValidHeritageClauseObjectLiteral(){E.Debug.assert(token()===18);if(nextToken()===19){var N=nextToken();return N===27||N===18||N===94||N===117}return true}function nextTokenIsIdentifier(){nextToken();return isIdentifier()}function nextTokenIsIdentifierOrKeyword(){nextToken();return E.tokenIsIdentifierOrKeyword(token())}function nextTokenIsIdentifierOrKeywordOrGreaterThan(){nextToken();return E.tokenIsIdentifierOrKeywordOrGreaterThan(token())}function isHeritageClauseExtendsOrImplementsKeyword(){if(token()===117||token()===94){return lookAhead(nextTokenIsStartOfExpression)}return false}function nextTokenIsStartOfExpression(){nextToken();return isStartOfExpression()}function nextTokenIsStartOfType(){nextToken();return isStartOfType()}function isListTerminator(E){if(token()===1){return true}switch(E){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return token()===19;case 3:return token()===19||token()===82||token()===88;case 7:return token()===18||token()===94||token()===117;case 8:return isVariableDeclaratorListTerminator();case 19:return token()===31||token()===20||token()===18||token()===94||token()===117;case 11:return token()===21||token()===26;case 15:case 21:case 10:return token()===23;case 17:case 16:case 18:return token()===21||token()===23;case 20:return token()!==27;case 22:return token()===18||token()===19;case 13:return token()===31||token()===43;case 14:return token()===29&&lookAhead(nextTokenIsSlash);default:return false}}function isVariableDeclaratorListTerminator(){if(canParseSemicolon()){return true}if(isInOrOfKeyword(token())){return true}if(token()===38){return true}return false}function isInSomeParsingContext(){for(var E=0;E<24;E++){if(He&1<=0)}function getExpectedCommaDiagnostic(N){return N===6?E.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:undefined}function createMissingList(){var E=createNodeArray([],getNodePos());E.isMissingList=true;return E}function isMissingList(E){return!!E.isMissingList}function parseBracketedList(E,N,R,j){if(parseExpected(R)){var $=parseDelimitedList(E,N);parseExpected(j);return $}return createMissingList()}function parseEntityName(E,N){var R=getNodePos();var j=E?parseIdentifierName(N):parseIdentifier(N);var $=getNodePos();while(parseOptional(24)){if(token()===29){j.jsdocDotPos=$;break}$=getNodePos();j=finishNode(Ee.createQualifiedName(j,parseRightSideOfDot(E,false)),R)}return j}function createQualifiedName(E,N){return finishNode(Ee.createQualifiedName(E,N),E.pos)}function parseRightSideOfDot(N,j){if(R.hasPrecedingLineBreak()&&E.tokenIsIdentifierOrKeyword(token())){var $=lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);if($){return createMissingNode(79,true,E.Diagnostics.Identifier_expected)}}if(token()===80){var q=parsePrivateIdentifier();return j?q:createMissingNode(79,true,E.Diagnostics.Identifier_expected)}return N?parseIdentifierName():parseIdentifier()}function parseTemplateSpans(E){var N=getNodePos();var R=[];var j;do{j=parseTemplateSpan(E);R.push(j)}while(j.literal.kind===16);return createNodeArray(R,N)}function parseTemplateExpression(E){var N=getNodePos();return finishNode(Ee.createTemplateExpression(parseTemplateHead(E),parseTemplateSpans(E)),N)}function parseTemplateType(){var E=getNodePos();return finishNode(Ee.createTemplateLiteralType(parseTemplateHead(false),parseTemplateTypeSpans()),E)}function parseTemplateTypeSpans(){var E=getNodePos();var N=[];var R;do{R=parseTemplateTypeSpan();N.push(R)}while(R.literal.kind===16);return createNodeArray(N,E)}function parseTemplateTypeSpan(){var E=getNodePos();return finishNode(Ee.createTemplateLiteralTypeSpan(parseType(),parseLiteralOfTemplateSpan(false)),E)}function parseLiteralOfTemplateSpan(N){if(token()===19){reScanTemplateToken(N);return parseTemplateMiddleOrTemplateTail()}else{return parseExpectedToken(17,E.Diagnostics._0_expected,E.tokenToString(19))}}function parseTemplateSpan(E){var N=getNodePos();return finishNode(Ee.createTemplateSpan(allowInAnd(parseExpression),parseLiteralOfTemplateSpan(E)),N)}function parseLiteralNode(){return parseLiteralLikeNode(token())}function parseTemplateHead(N){if(N){reScanTemplateHeadOrNoSubstitutionTemplate()}var R=parseLiteralLikeNode(token());E.Debug.assert(R.kind===15,"Template head has wrong token kind");return R}function parseTemplateMiddleOrTemplateTail(){var N=parseLiteralLikeNode(token());E.Debug.assert(N.kind===16||N.kind===17,"Template fragment has wrong token kind");return N}function getTemplateLiteralRawText(E){var N=E===14||E===17;var j=R.getTokenText();return j.substring(1,j.length-(R.isUnterminated()?0:N?1:2))}function parseLiteralLikeNode(N){var j=getNodePos();var $=E.isTemplateLiteralKind(N)?Ee.createTemplateLiteralLikeNode(N,R.getTokenValue(),getTemplateLiteralRawText(N),R.getTokenFlags()&2048):N===8?Ee.createNumericLiteral(R.getTokenValue(),R.getNumericLiteralFlags()):N===10?Ee.createStringLiteral(R.getTokenValue(),undefined,R.hasExtendedUnicodeEscape()):E.isLiteralKind(N)?Ee.createLiteralLikeNode(N,R.getTokenValue()):E.Debug.fail();if(R.hasExtendedUnicodeEscape()){$.hasExtendedUnicodeEscape=true}if(R.isUnterminated()){$.isUnterminated=true}nextToken();return finishNode($,j)}function parseEntityNameOfTypeReference(){return parseEntityName(true,E.Diagnostics.Type_expected)}function parseTypeArgumentsOfTypeReference(){if(!R.hasPrecedingLineBreak()&&reScanLessThanToken()===29){return parseBracketedList(20,parseType,29,31)}}function parseTypeReference(){var E=getNodePos();return finishNode(Ee.createTypeReferenceNode(parseEntityNameOfTypeReference(),parseTypeArgumentsOfTypeReference()),E)}function typeHasArrowFunctionBlockingParseError(N){switch(N.kind){case 176:return E.nodeIsMissing(N.typeName);case 177:case 178:{var R=N,j=R.parameters,$=R.type;return isMissingList(j)||typeHasArrowFunctionBlockingParseError($)}case 189:return typeHasArrowFunctionBlockingParseError(N.type);default:return false}}function parseThisTypePredicate(E){nextToken();return finishNode(Ee.createTypePredicateNode(undefined,E,parseType()),E.pos)}function parseThisTypeNode(){var E=getNodePos();nextToken();return finishNode(Ee.createThisTypeNode(),E)}function parseJSDocAllType(){var E=getNodePos();nextToken();return finishNode(Ee.createJSDocAllType(),E)}function parseJSDocNonNullableType(){var E=getNodePos();nextToken();return finishNode(Ee.createJSDocNonNullableType(parseNonArrayType()),E)}function parseJSDocUnknownOrNullableType(){var E=getNodePos();nextToken();if(token()===27||token()===19||token()===21||token()===31||token()===63||token()===51){return finishNode(Ee.createJSDocUnknownType(),E)}else{return finishNode(Ee.createJSDocNullableType(parseType()),E)}}function parseJSDocFunctionType(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(lookAhead(nextTokenIsOpenParen)){nextToken();var R=parseParameters(4|32);var j=parseReturnType(58,false);return withJSDoc(finishNode(Ee.createJSDocFunctionType(R,j),E),N)}return finishNode(Ee.createTypeReferenceNode(parseIdentifierName(),undefined),E)}function parseJSDocParameter(){var E=getNodePos();var N;if(token()===108||token()===103){N=parseIdentifierName();parseExpected(58)}return finishNode(Ee.createParameterDeclaration(undefined,undefined,undefined,N,undefined,parseJSDocType(),undefined),E)}function parseJSDocType(){R.setInJSDocType(true);var E=getNodePos();if(parseOptional(140)){var N=Ee.createJSDocNamepathType(undefined);e:while(true){switch(token()){case 19:case 1:case 27:case 5:break e;default:nextTokenJSDoc()}}R.setInJSDocType(false);return finishNode(N,E)}var j=parseOptional(25);var $=parseTypeOrTypePredicate();R.setInJSDocType(false);if(j){$=finishNode(Ee.createJSDocVariadicType($),E)}if(token()===63){nextToken();return finishNode(Ee.createJSDocOptionalType($),E)}return $}function parseTypeQuery(){var E=getNodePos();parseExpected(112);return finishNode(Ee.createTypeQueryNode(parseEntityName(true)),E)}function parseTypeParameter(){var E=getNodePos();var N=parseIdentifier();var R;var j;if(parseOptional(94)){if(isStartOfType()||!isStartOfExpression()){R=parseType()}else{j=parseUnaryExpressionOrHigher()}}var $=parseOptional(63)?parseType():undefined;var q=Ee.createTypeParameterDeclaration(N,R,$);q.expression=j;return finishNode(q,E)}function parseTypeParameters(){if(token()===29){return parseBracketedList(19,parseTypeParameter,29,31)}}function isStartOfParameter(N){return token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern()||E.isModifierKind(token())||token()===59||isStartOfType(!N)}function parseNameOfParameter(N){var R=parseIdentifierOrPattern(E.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);if(E.getFullWidth(R)===0&&!E.some(N)&&E.isModifierKind(token())){nextToken()}return R}function parseParameterInOuterAwaitContext(){return parseParameterWorker(true)}function parseParameter(){return parseParameterWorker(false)}function parseParameterWorker(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=N?doInAwaitContext(parseDecorators):parseDecorators();if(token()===108){var q=Ee.createParameterDeclaration($,undefined,undefined,createIdentifier(true),undefined,parseTypeAnnotation(),undefined);if($){parseErrorAtRange($[0],E.Diagnostics.Decorators_may_not_be_applied_to_this_parameters)}return withJSDoc(finishNode(q,R),j)}var G=Qe;Qe=false;var ie=parseModifiers();var ae=withJSDoc(finishNode(Ee.createParameterDeclaration($,ie,parseOptionalToken(25),parseNameOfParameter(ie),parseOptionalToken(57),parseTypeAnnotation(),parseInitializer()),R),j);Qe=G;return ae}function parseReturnType(E,N){if(shouldParseReturnType(E,N)){return parseTypeOrTypePredicate()}}function shouldParseReturnType(N,R){if(N===38){parseExpected(N);return true}else if(parseOptional(58)){return true}else if(R&&token()===38){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(58));nextToken();return true}return false}function parseParametersWorker(E){var N=inYieldContext();var R=inAwaitContext();setYieldContext(!!(E&1));setAwaitContext(!!(E&2));var j=E&32?parseDelimitedList(17,parseJSDocParameter):parseDelimitedList(16,R?parseParameterInOuterAwaitContext:parseParameter);setYieldContext(N);setAwaitContext(R);return j}function parseParameters(E){if(!parseExpected(20)){return createMissingList()}var N=parseParametersWorker(E);parseExpected(21);return N}function parseTypeMemberSemicolon(){if(parseOptional(27)){return}parseSemicolon()}function parseSignatureMember(E){var N=getNodePos();var R=hasPrecedingJSDocComment();if(E===173){parseExpected(103)}var j=parseTypeParameters();var $=parseParameters(4);var q=parseReturnType(58,true);parseTypeMemberSemicolon();var G=E===172?Ee.createCallSignature(j,$,q):Ee.createConstructSignature(j,$,q);return withJSDoc(finishNode(G,N),R)}function isIndexSignature(){return token()===22&&lookAhead(isUnambiguouslyIndexSignature)}function isUnambiguouslyIndexSignature(){nextToken();if(token()===25||token()===23){return true}if(E.isModifierKind(token())){nextToken();if(isIdentifier()){return true}}else if(!isIdentifier()){return false}else{nextToken()}if(token()===58||token()===27){return true}if(token()!==57){return false}nextToken();return token()===58||token()===27||token()===23}function parseIndexSignatureDeclaration(E,N,R,j){var $=parseBracketedList(16,parseParameter,22,23);var q=parseTypeAnnotation();parseTypeMemberSemicolon();var G=Ee.createIndexSignature(R,j,$,q);return withJSDoc(finishNode(G,E),N)}function parsePropertyOrMethodSignature(E,N,R){var j=parsePropertyName();var $=parseOptionalToken(57);var q;if(token()===20||token()===29){var G=parseTypeParameters();var ie=parseParameters(4);var ae=parseReturnType(58,true);q=Ee.createMethodSignature(R,j,$,G,ie,ae)}else{var ae=parseTypeAnnotation();q=Ee.createPropertySignature(R,j,$,ae);if(token()===63)q.initializer=parseInitializer()}parseTypeMemberSemicolon();return withJSDoc(finishNode(q,E),N)}function isTypeMemberStart(){if(token()===20||token()===29||token()===135||token()===147){return true}var N=false;while(E.isModifierKind(token())){N=true;nextToken()}if(token()===22){return true}if(isLiteralPropertyName()){N=true;nextToken()}if(N){return token()===20||token()===29||token()===57||token()===58||token()===27||canParseSemicolon()}return false}function parseTypeMember(){if(token()===20||token()===29){return parseSignatureMember(172)}if(token()===103&&lookAhead(nextTokenIsOpenParenOrLessThan)){return parseSignatureMember(173)}var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiers();if(parseContextualModifier(135)){return parseAccessorDeclaration(E,N,undefined,R,170)}if(parseContextualModifier(147)){return parseAccessorDeclaration(E,N,undefined,R,171)}if(isIndexSignature()){return parseIndexSignatureDeclaration(E,N,undefined,R)}return parsePropertyOrMethodSignature(E,N,R)}function nextTokenIsOpenParenOrLessThan(){nextToken();return token()===20||token()===29}function nextTokenIsDot(){return nextToken()===24}function nextTokenIsOpenParenOrLessThanOrDot(){switch(nextToken()){case 20:case 29:case 24:return true}return false}function parseTypeLiteral(){var E=getNodePos();return finishNode(Ee.createTypeLiteralNode(parseObjectTypeMembers()),E)}function parseObjectTypeMembers(){var E;if(parseExpected(18)){E=parseList(4,parseTypeMember);parseExpected(19)}else{E=createMissingList()}return E}function isStartOfMappedType(){nextToken();if(token()===39||token()===40){return nextToken()===143}if(token()===143){nextToken()}return token()===22&&nextTokenIsIdentifier()&&nextToken()===101}function parseMappedTypeParameter(){var E=getNodePos();var N=parseIdentifierName();parseExpected(101);var R=parseType();return finishNode(Ee.createTypeParameterDeclaration(N,R,undefined),E)}function parseMappedType(){var E=getNodePos();parseExpected(18);var N;if(token()===143||token()===39||token()===40){N=parseTokenNode();if(N.kind!==143){parseExpected(143)}}parseExpected(22);var R=parseMappedTypeParameter();var j=parseOptional(127)?parseType():undefined;parseExpected(23);var $;if(token()===57||token()===39||token()===40){$=parseTokenNode();if($.kind!==57){parseExpected(57)}}var q=parseTypeAnnotation();parseSemicolon();parseExpected(19);return finishNode(Ee.createMappedTypeNode(N,R,j,$,q),E)}function parseTupleElementType(){var N=getNodePos();if(parseOptional(25)){return finishNode(Ee.createRestTypeNode(parseType()),N)}var R=parseType();if(E.isJSDocNullableType(R)&&R.pos===R.type.pos){var j=Ee.createOptionalTypeNode(R.type);E.setTextRange(j,R);j.flags=R.flags;return j}return R}function isNextTokenColonOrQuestionColon(){return nextToken()===58||token()===57&&nextToken()===58}function isTupleElementName(){if(token()===25){return E.tokenIsIdentifierOrKeyword(nextToken())&&isNextTokenColonOrQuestionColon()}return E.tokenIsIdentifierOrKeyword(token())&&isNextTokenColonOrQuestionColon()}function parseTupleElementNameOrTupleElementType(){if(lookAhead(isTupleElementName)){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseOptionalToken(25);var j=parseIdentifierName();var $=parseOptionalToken(57);parseExpected(58);var q=parseTupleElementType();var G=Ee.createNamedTupleMember(R,j,$,q);return withJSDoc(finishNode(G,E),N)}return parseTupleElementType()}function parseTupleType(){var E=getNodePos();return finishNode(Ee.createTupleTypeNode(parseBracketedList(21,parseTupleElementNameOrTupleElementType,22,23)),E)}function parseParenthesizedType(){var E=getNodePos();parseExpected(20);var N=parseType();parseExpected(21);return finishNode(Ee.createParenthesizedType(N),E)}function parseModifiersForConstructorType(){var E;if(token()===126){var N=getNodePos();nextToken();var R=finishNode(Ee.createToken(126),N);E=createNodeArray([R],N)}return E}function parseFunctionOrConstructorType(){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiersForConstructorType();var j=parseOptional(103);var $=parseTypeParameters();var q=parseParameters(4);var G=parseReturnType(38,false);var ie=j?Ee.createConstructorTypeNode(R,$,q,G):Ee.createFunctionTypeNode($,q,G);if(!j)ie.modifiers=R;return withJSDoc(finishNode(ie,E),N)}function parseKeywordAndNoDot(){var E=parseTokenNode();return token()===24?undefined:E}function parseLiteralTypeNode(E){var N=getNodePos();if(E){nextToken()}var R=token()===110||token()===95||token()===104?parseTokenNode():parseLiteralLikeNode(token());if(E){R=finishNode(Ee.createPrefixUnaryExpression(40,R),N)}return finishNode(Ee.createLiteralTypeNode(R),N)}function isStartOfTypeOfImportType(){nextToken();return token()===100}function parseImportType(){we|=1048576;var E=getNodePos();var N=parseOptional(112);parseExpected(100);parseExpected(20);var R=parseType();parseExpected(21);var j=parseOptional(24)?parseEntityNameOfTypeReference():undefined;var $=parseTypeArgumentsOfTypeReference();return finishNode(Ee.createImportTypeNode(R,j,$,N),E)}function nextTokenIsNumericOrBigIntLiteral(){nextToken();return token()===8||token()===9}function parseNonArrayType(){switch(token()){case 129:case 153:case 148:case 145:case 156:case 149:case 132:case 151:case 142:case 146:return tryParse(parseKeywordAndNoDot)||parseTypeReference();case 66:R.reScanAsteriskEqualsToken();case 41:return parseJSDocAllType();case 60:R.reScanQuestionToken();case 57:return parseJSDocUnknownOrNullableType();case 98:return parseJSDocFunctionType();case 53:return parseJSDocNonNullableType();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return parseLiteralTypeNode();case 40:return lookAhead(nextTokenIsNumericOrBigIntLiteral)?parseLiteralTypeNode(true):parseTypeReference();case 114:return parseTokenNode();case 108:{var E=parseThisTypeNode();if(token()===138&&!R.hasPrecedingLineBreak()){return parseThisTypePredicate(E)}else{return E}}case 112:return lookAhead(isStartOfTypeOfImportType)?parseImportType():parseTypeQuery();case 18:return lookAhead(isStartOfMappedType)?parseMappedType():parseTypeLiteral();case 22:return parseTupleType();case 20:return parseParenthesizedType();case 100:return parseImportType();case 128:return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine)?parseAssertsTypePredicate():parseTypeReference();case 15:return parseTemplateType();default:return parseTypeReference()}}function isStartOfType(E){switch(token()){case 129:case 153:case 148:case 145:case 156:case 132:case 143:case 149:case 152:case 114:case 151:case 104:case 108:case 112:case 142:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 146:case 41:case 57:case 53:case 25:case 136:case 100:case 128:case 14:case 15:return true;case 98:return!E;case 40:return!E&&lookAhead(nextTokenIsNumericOrBigIntLiteral);case 20:return!E&&lookAhead(isStartOfParenthesizedOrFunctionType);default:return isIdentifier()}}function isStartOfParenthesizedOrFunctionType(){nextToken();return token()===21||isStartOfParameter(false)||isStartOfType()}function parsePostfixTypeOrHigher(){var E=getNodePos();var N=parseNonArrayType();while(!R.hasPrecedingLineBreak()){switch(token()){case 53:nextToken();N=finishNode(Ee.createJSDocNonNullableType(N),E);break;case 57:if(lookAhead(nextTokenIsStartOfType)){return N}nextToken();N=finishNode(Ee.createJSDocNullableType(N),E);break;case 22:parseExpected(22);if(isStartOfType()){var j=parseType();parseExpected(23);N=finishNode(Ee.createIndexedAccessTypeNode(N,j),E)}else{parseExpected(23);N=finishNode(Ee.createArrayTypeNode(N),E)}break;default:return N}}return N}function parseTypeOperator(E){var N=getNodePos();parseExpected(E);return finishNode(Ee.createTypeOperatorNode(E,parseTypeOperatorOrHigher()),N)}function parseTypeParameterOfInferType(){var E=getNodePos();return finishNode(Ee.createTypeParameterDeclaration(parseIdentifier(),undefined,undefined),E)}function parseInferType(){var E=getNodePos();parseExpected(136);return finishNode(Ee.createInferTypeNode(parseTypeParameterOfInferType()),E)}function parseTypeOperatorOrHigher(){var E=token();switch(E){case 139:case 152:case 143:return parseTypeOperator(E);case 136:return parseInferType()}return parsePostfixTypeOrHigher()}function parseFunctionOrConstructorTypeToError(N){if(isStartOfFunctionTypeOrConstructorType()){var R=parseFunctionOrConstructorType();var j=void 0;if(E.isFunctionTypeNode(R)){j=N?E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}else{j=N?E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}parseErrorAtRange(R,j);return R}return undefined}function parseUnionOrIntersectionType(E,N,R){var j=getNodePos();var $=E===51;var q=parseOptional(E);var G=q&&parseFunctionOrConstructorTypeToError($)||N();if(token()===E||q){var ie=[G];while(parseOptional(E)){ie.push(parseFunctionOrConstructorTypeToError($)||N())}G=finishNode(R(createNodeArray(ie,j)),j)}return G}function parseIntersectionTypeOrHigher(){return parseUnionOrIntersectionType(50,parseTypeOperatorOrHigher,Ee.createIntersectionTypeNode)}function parseUnionTypeOrHigher(){return parseUnionOrIntersectionType(51,parseIntersectionTypeOrHigher,Ee.createUnionTypeNode)}function nextTokenIsNewKeyword(){nextToken();return token()===103}function isStartOfFunctionTypeOrConstructorType(){if(token()===29){return true}if(token()===20&&lookAhead(isUnambiguouslyStartOfFunctionType)){return true}return token()===103||token()===126&&lookAhead(nextTokenIsNewKeyword)}function skipParameterStart(){if(E.isModifierKind(token())){parseModifiers()}if(isIdentifier()||token()===108){nextToken();return true}if(token()===22||token()===18){var N=Be.length;parseIdentifierOrPattern();return N===Be.length}return false}function isUnambiguouslyStartOfFunctionType(){nextToken();if(token()===21||token()===25){return true}if(skipParameterStart()){if(token()===58||token()===27||token()===57||token()===63){return true}if(token()===21){nextToken();if(token()===38){return true}}}return false}function parseTypeOrTypePredicate(){var E=getNodePos();var N=isIdentifier()&&tryParse(parseTypePredicatePrefix);var R=parseType();if(N){return finishNode(Ee.createTypePredicateNode(undefined,N,R),E)}else{return R}}function parseTypePredicatePrefix(){var E=parseIdentifier();if(token()===138&&!R.hasPrecedingLineBreak()){nextToken();return E}}function parseAssertsTypePredicate(){var E=getNodePos();var N=parseExpectedToken(128);var R=token()===108?parseThisTypeNode():parseIdentifier();var j=parseOptional(138)?parseType():undefined;return finishNode(Ee.createTypePredicateNode(N,R,j),E)}function parseType(){return doOutsideOfContext(40960,parseTypeWorker)}function parseTypeWorker(E){if(isStartOfFunctionTypeOrConstructorType()){return parseFunctionOrConstructorType()}var N=getNodePos();var j=parseUnionTypeOrHigher();if(!E&&!R.hasPrecedingLineBreak()&&parseOptional(94)){var $=parseTypeWorker(true);parseExpected(57);var q=parseTypeWorker();parseExpected(58);var G=parseTypeWorker();return finishNode(Ee.createConditionalTypeNode(j,$,q,G),N)}return j}function parseTypeAnnotation(){return parseOptional(58)?parseType():undefined}function isStartOfLeftHandSideExpression(){switch(token()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return true;case 100:return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);default:return isIdentifier()}}function isStartOfExpression(){if(isStartOfLeftHandSideExpression()){return true}switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 131:case 125:case 80:return true;default:if(isBinaryOperator()){return true}return isIdentifier()}}function isStartOfExpressionStatement(){return token()!==18&&token()!==98&&token()!==84&&token()!==59&&isStartOfExpression()}function parseExpression(){var E=inDecoratorContext();if(E){setDecoratorContext(false)}var N=getNodePos();var R=parseAssignmentExpressionOrHigher();var j;while(j=parseOptionalToken(27)){R=makeBinaryExpression(R,j,parseAssignmentExpressionOrHigher(),N)}if(E){setDecoratorContext(true)}return R}function parseInitializer(){return parseOptional(63)?parseAssignmentExpressionOrHigher():undefined}function parseAssignmentExpressionOrHigher(){if(isYieldExpression()){return parseYieldExpression()}var N=tryParseParenthesizedArrowFunctionExpression()||tryParseAsyncSimpleArrowFunctionExpression();if(N){return N}var R=getNodePos();var j=parseBinaryExpressionOrHigher(0);if(j.kind===79&&token()===38){return parseSimpleArrowFunctionExpression(R,j,undefined)}if(E.isLeftHandSideExpression(j)&&E.isAssignmentOperator(reScanGreaterToken())){return makeBinaryExpression(j,parseTokenNode(),parseAssignmentExpressionOrHigher(),R)}return parseConditionalExpressionRest(j,R)}function isYieldExpression(){if(token()===125){if(inYieldContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function nextTokenIsIdentifierOnSameLine(){nextToken();return!R.hasPrecedingLineBreak()&&isIdentifier()}function parseYieldExpression(){var E=getNodePos();nextToken();if(!R.hasPrecedingLineBreak()&&(token()===41||isStartOfExpression())){return finishNode(Ee.createYieldExpression(parseOptionalToken(41),parseAssignmentExpressionOrHigher()),E)}else{return finishNode(Ee.createYieldExpression(undefined,undefined),E)}}function parseSimpleArrowFunctionExpression(N,R,j){E.Debug.assert(token()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var $=Ee.createParameterDeclaration(undefined,undefined,undefined,R,undefined,undefined,undefined);finishNode($,R.pos);var q=createNodeArray([$],$.pos,$.end);var G=parseExpectedToken(38);var ie=parseArrowFunctionExpressionBody(!!j);var ae=Ee.createArrowFunction(j,undefined,q,undefined,G,ie);return addJSDocComment(finishNode(ae,N))}function tryParseParenthesizedArrowFunctionExpression(){var E=isParenthesizedArrowFunctionExpression();if(E===0){return undefined}return E===1?parseParenthesizedArrowFunctionExpression(true):tryParse(parsePossibleParenthesizedArrowFunctionExpression)}function isParenthesizedArrowFunctionExpression(){if(token()===20||token()===29||token()===130){return lookAhead(isParenthesizedArrowFunctionExpressionWorker)}if(token()===38){return 1}return 0}function isParenthesizedArrowFunctionExpressionWorker(){if(token()===130){nextToken();if(R.hasPrecedingLineBreak()){return 0}if(token()!==20&&token()!==29){return 0}}var N=token();var j=nextToken();if(N===20){if(j===21){var $=nextToken();switch($){case 38:case 58:case 18:return 1;default:return 0}}if(j===22||j===18){return 2}if(j===25){return 1}if(E.isModifierKind(j)&&j!==130&&lookAhead(nextTokenIsIdentifier)){return 1}if(!isIdentifier()&&j!==108){return 0}switch(nextToken()){case 58:return 1;case 57:nextToken();if(token()===58||token()===27||token()===63||token()===21){return 1}return 0;case 27:case 63:case 21:return 2}return 0}else{E.Debug.assert(N===29);if(!isIdentifier()){return 0}if(Le===1){var q=lookAhead((function(){var E=nextToken();if(E===94){var N=nextToken();switch(N){case 63:case 31:return false;default:return true}}else if(E===27){return true}return false}));if(q){return 1}return 0}return 2}}function parsePossibleParenthesizedArrowFunctionExpression(){var N=R.getTokenPos();if(Ge===null||Ge===void 0?void 0:Ge.has(N)){return undefined}var j=parseParenthesizedArrowFunctionExpression(false);if(!j){(Ge||(Ge=new E.Set)).add(N)}return j}function tryParseAsyncSimpleArrowFunctionExpression(){if(token()===130){if(lookAhead(isUnParenthesizedAsyncArrowFunctionWorker)===1){var E=getNodePos();var N=parseModifiersForArrowFunction();var R=parseBinaryExpressionOrHigher(0);return parseSimpleArrowFunctionExpression(E,R,N)}}return undefined}function isUnParenthesizedAsyncArrowFunctionWorker(){if(token()===130){nextToken();if(R.hasPrecedingLineBreak()||token()===38){return 0}var E=parseBinaryExpressionOrHigher(0);if(!R.hasPrecedingLineBreak()&&E.kind===79&&token()===38){return 1}}return 0}function parseParenthesizedArrowFunctionExpression(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiersForArrowFunction();var q=E.some($,E.isAsyncModifier)?2:0;var G=parseTypeParameters();var ie;if(!parseExpected(20)){if(!N){return undefined}ie=createMissingList()}else{ie=parseParametersWorker(q);if(!parseExpected(21)&&!N){return undefined}}var ae=parseReturnType(58,false);if(ae&&!N&&typeHasArrowFunctionBlockingParseError(ae)){return undefined}var ce=ae&&E.isJSDocFunctionType(ae);if(!N&&token()!==38&&(ce||token()!==18)){return undefined}var le=token();var _e=parseExpectedToken(38);var Te=le===38||le===18?parseArrowFunctionExpressionBody(E.some($,E.isAsyncModifier)):parseIdentifier();var we=Ee.createArrowFunction($,G,ie,ae,_e,Te);return withJSDoc(finishNode(we,R),j)}function parseArrowFunctionExpressionBody(E){if(token()===18){return parseFunctionBlock(E?2:0)}if(token()!==26&&token()!==98&&token()!==84&&isStartOfStatement()&&!isStartOfExpressionStatement()){return parseFunctionBlock(16|(E?2:0))}var N=Qe;Qe=false;var R=E?doInAwaitContext(parseAssignmentExpressionOrHigher):doOutsideOfAwaitContext(parseAssignmentExpressionOrHigher);Qe=N;return R}function parseConditionalExpressionRest(N,R){var j=parseOptionalToken(57);if(!j){return N}var q;return finishNode(Ee.createConditionalExpression(N,j,doOutsideOfContext($,parseAssignmentExpressionOrHigher),q=parseExpectedToken(58),E.nodeIsPresent(q)?parseAssignmentExpressionOrHigher():createMissingNode(79,false,E.Diagnostics._0_expected,E.tokenToString(58))),R)}function parseBinaryExpressionOrHigher(E){var N=getNodePos();var R=parseUnaryExpressionOrHigher();return parseBinaryExpressionRest(E,R,N)}function isInOrOfKeyword(E){return E===101||E===158}function parseBinaryExpressionRest(N,j,$){while(true){reScanGreaterToken();var q=E.getBinaryOperatorPrecedence(token());var G=token()===42?q>=N:q>N;if(!G){break}if(token()===101&&inDisallowInContext()){break}if(token()===127){if(R.hasPrecedingLineBreak()){break}else{nextToken();j=makeAsExpression(j,parseType())}}else{j=makeBinaryExpression(j,parseTokenNode(),parseBinaryExpressionOrHigher(q),$)}}return j}function isBinaryOperator(){if(inDisallowInContext()&&token()===101){return false}return E.getBinaryOperatorPrecedence(token())>0}function makeBinaryExpression(E,N,R,j){return finishNode(Ee.createBinaryExpression(E,N,R),j)}function makeAsExpression(E,N){return finishNode(Ee.createAsExpression(E,N),E.pos)}function parsePrefixUnaryExpression(){var E=getNodePos();return finishNode(Ee.createPrefixUnaryExpression(token(),nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseDeleteExpression(){var E=getNodePos();return finishNode(Ee.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseTypeOfExpression(){var E=getNodePos();return finishNode(Ee.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseVoidExpression(){var E=getNodePos();return finishNode(Ee.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function isAwaitExpression(){if(token()===131){if(inAwaitContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function parseAwaitExpression(){var E=getNodePos();return finishNode(Ee.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseUnaryExpressionOrHigher(){if(isUpdateExpression()){var N=getNodePos();var R=parseUpdateExpression();return token()===42?parseBinaryExpressionRest(E.getBinaryOperatorPrecedence(token()),R,N):R}var j=token();var $=parseSimpleUnaryExpression();if(token()===42){var N=E.skipTrivia(Ie,$.pos);var q=$.end;if($.kind===209){parseErrorAt(N,q,E.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses)}else{parseErrorAt(N,q,E.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,E.tokenToString(j))}}return $}function parseSimpleUnaryExpression(){switch(token()){case 39:case 40:case 54:case 53:return parsePrefixUnaryExpression();case 89:return parseDeleteExpression();case 112:return parseTypeOfExpression();case 114:return parseVoidExpression();case 29:return parseTypeAssertion();case 131:if(isAwaitExpression()){return parseAwaitExpression()}default:return parseUpdateExpression()}}function isUpdateExpression(){switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 131:return false;case 29:if(Le!==1){return false}default:return true}}function parseUpdateExpression(){if(token()===45||token()===46){var N=getNodePos();return finishNode(Ee.createPrefixUnaryExpression(token(),nextTokenAnd(parseLeftHandSideExpressionOrHigher)),N)}else if(Le===1&&token()===29&&lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)){return parseJsxElementOrSelfClosingElementOrFragment(true)}var j=parseLeftHandSideExpressionOrHigher();E.Debug.assert(E.isLeftHandSideExpression(j));if((token()===45||token()===46)&&!R.hasPrecedingLineBreak()){var $=token();nextToken();return finishNode(Ee.createPostfixUnaryExpression(j,$),j.pos)}return j}function parseLeftHandSideExpressionOrHigher(){var E=getNodePos();var N;if(token()===100){if(lookAhead(nextTokenIsOpenParenOrLessThan)){we|=1048576;N=parseTokenNode()}else if(lookAhead(nextTokenIsDot)){nextToken();nextToken();N=finishNode(Ee.createMetaProperty(100,parseIdentifierName()),E);we|=2097152}else{N=parseMemberExpressionOrHigher()}}else{N=token()===106?parseSuperExpression():parseMemberExpressionOrHigher()}return parseCallExpressionRest(E,N)}function parseMemberExpressionOrHigher(){var E=getNodePos();var N=parsePrimaryExpression();return parseMemberExpressionRest(E,N,true)}function parseSuperExpression(){var N=getNodePos();var R=parseTokenNode();if(token()===29){var j=getNodePos();var $=tryParse(parseTypeArgumentsInExpression);if($!==undefined){parseErrorAt(j,getNodePos(),E.Diagnostics.super_may_not_use_type_arguments)}}if(token()===20||token()===24||token()===22){return R}parseExpectedToken(24,E.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);return finishNode(Ee.createPropertyAccessExpression(R,parseRightSideOfDot(true,true)),N)}function parseJsxElementOrSelfClosingElementOrFragment(N,R,$){var q=getNodePos();var G=parseJsxOpeningOrSelfClosingElementOrOpeningFragment(N);var ie;if(G.kind===278){var ae=parseJsxChildren(G);var ce=void 0;var le=ae[ae.length-1];if((le===null||le===void 0?void 0:le.kind)===276&&!tagNamesAreEquivalent(le.openingElement.tagName,le.closingElement.tagName)&&tagNamesAreEquivalent(G.tagName,le.closingElement.tagName)){var _e=le.openingElement.end;var Te=finishNode(Ee.createJsxElement(le.openingElement,createNodeArray([],_e,_e),finishNode(Ee.createJsxClosingElement(finishNode(Ee.createIdentifier(""),_e,_e)),_e,_e)),le.openingElement.pos,_e);ae=createNodeArray(j(j([],ae.slice(0,ae.length-1),true),[Te],false),ae.pos,_e);ce=le.closingElement}else{ce=parseJsxClosingElement(G,N);if(!tagNamesAreEquivalent(G.tagName,ce.tagName)){if($&&E.isJsxOpeningElement($)&&tagNamesAreEquivalent(ce.tagName,$.tagName)){parseErrorAtRange(G.tagName,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,G.tagName))}else{parseErrorAtRange(ce.tagName,E.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,E.getTextOfNodeFromSourceText(Ie,G.tagName))}}}ie=finishNode(Ee.createJsxElement(G,ae,ce),q)}else if(G.kind===281){ie=finishNode(Ee.createJsxFragment(G,parseJsxChildren(G),parseJsxClosingFragment(N)),q)}else{E.Debug.assert(G.kind===277);ie=G}if(N&&token()===29){var we=typeof R==="undefined"?ie.pos:R;var Ne=tryParse((function(){return parseJsxElementOrSelfClosingElementOrFragment(true,we)}));if(Ne){var Me=createMissingNode(27,false);E.setTextRangePosWidth(Me,Ne.pos,0);parseErrorAt(E.skipTrivia(Ie,we),Ne.end,E.Diagnostics.JSX_expressions_must_have_one_parent_element);return finishNode(Ee.createBinaryExpression(ie,Me,Ne),q)}}return ie}function parseJsxText(){var E=getNodePos();var N=Ee.createJsxText(R.getTokenValue(),ze===12);ze=R.scanJsxToken();return finishNode(N,E)}function parseJsxChild(N,R){switch(R){case 1:if(E.isJsxOpeningFragment(N)){parseErrorAtRange(N,E.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag)}else{var j=N.tagName;var $=E.skipTrivia(Ie,j.pos);parseErrorAt($,j.end,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,N.tagName))}return undefined;case 30:case 7:return undefined;case 11:case 12:return parseJsxText();case 18:return parseJsxExpression(false);case 29:return parseJsxElementOrSelfClosingElementOrFragment(false,undefined,N);default:return E.Debug.assertNever(R)}}function parseJsxChildren(N){var j=[];var $=getNodePos();var q=He;He|=1<<14;while(true){var G=parseJsxChild(N,ze=R.reScanJsxToken());if(!G)break;j.push(G);if(E.isJsxOpeningElement(N)&&(G===null||G===void 0?void 0:G.kind)===276&&!tagNamesAreEquivalent(G.openingElement.tagName,G.closingElement.tagName)&&tagNamesAreEquivalent(N.tagName,G.closingElement.tagName)){break}}He=q;return createNodeArray(j,$)}function parseJsxAttributes(){var E=getNodePos();return finishNode(Ee.createJsxAttributes(parseList(13,parseJsxAttribute)),E)}function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(E){var N=getNodePos();parseExpected(29);if(token()===31){scanJsxText();return finishNode(Ee.createJsxOpeningFragment(),N)}var R=parseJsxElementName();var j=(Ke&131072)===0?tryParseTypeArguments():undefined;var $=parseJsxAttributes();var q;if(token()===31){scanJsxText();q=Ee.createJsxOpeningElement(R,j,$)}else{parseExpected(43);if(parseExpected(31,undefined,false)){if(E){nextToken()}else{scanJsxText()}}q=Ee.createJsxSelfClosingElement(R,j,$)}return finishNode(q,N)}function parseJsxElementName(){var E=getNodePos();scanJsxIdentifier();var N=token()===108?parseTokenNode():parseIdentifierName();while(parseOptional(24)){N=finishNode(Ee.createPropertyAccessExpression(N,parseRightSideOfDot(true,false)),E)}return N}function parseJsxExpression(E){var N=getNodePos();if(!parseExpected(18)){return undefined}var R;var j;if(token()!==19){R=parseOptionalToken(25);j=parseExpression()}if(E){parseExpected(19)}else{if(parseExpected(19,undefined,false)){scanJsxText()}}return finishNode(Ee.createJsxExpression(R,j),N)}function parseJsxAttribute(){if(token()===18){return parseJsxSpreadAttribute()}scanJsxIdentifier();var E=getNodePos();return finishNode(Ee.createJsxAttribute(parseIdentifierName(),token()!==63?undefined:scanJsxAttributeValue()===10?parseLiteralNode():parseJsxExpression(true)),E)}function parseJsxSpreadAttribute(){var E=getNodePos();parseExpected(18);parseExpected(25);var N=parseExpression();parseExpected(19);return finishNode(Ee.createJsxSpreadAttribute(N),E)}function parseJsxClosingElement(E,N){var R=getNodePos();parseExpected(30);var j=parseJsxElementName();if(parseExpected(31,undefined,false)){if(N||!tagNamesAreEquivalent(E.tagName,j)){nextToken()}else{scanJsxText()}}return finishNode(Ee.createJsxClosingElement(j),R)}function parseJsxClosingFragment(N){var R=getNodePos();parseExpected(30);if(E.tokenIsIdentifierOrKeyword(token())){parseErrorAtRange(parseJsxElementName(),E.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment)}if(parseExpected(31,undefined,false)){if(N){nextToken()}else{scanJsxText()}}return finishNode(Ee.createJsxJsxClosingFragment(),R)}function parseTypeAssertion(){var E=getNodePos();parseExpected(29);var N=parseType();parseExpected(31);var R=parseSimpleUnaryExpression();return finishNode(Ee.createTypeAssertion(N,R),E)}function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate(){nextToken();return E.tokenIsIdentifierOrKeyword(token())||token()===22||isTemplateStartOfTaggedTemplate()}function isStartOfOptionalPropertyOrElementAccessChain(){return token()===28&&lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate)}function tryReparseOptionalChain(N){if(N.flags&32){return true}if(E.isNonNullExpression(N)){var R=N.expression;while(E.isNonNullExpression(R)&&!(R.flags&32)){R=R.expression}if(R.flags&32){while(E.isNonNullExpression(N)){N.flags|=32;N=N.expression}return true}}return false}function parsePropertyAccessExpressionRest(N,R,j){var $=parseRightSideOfDot(true,true);var q=j||tryReparseOptionalChain(R);var G=q?Ee.createPropertyAccessChain(R,j,$):Ee.createPropertyAccessExpression(R,$);if(q&&E.isPrivateIdentifier(G.name)){parseErrorAtRange(G.name,E.Diagnostics.An_optional_chain_cannot_contain_private_identifiers)}return finishNode(G,N)}function parseElementAccessExpressionRest(N,R,j){var $;if(token()===23){$=createMissingNode(79,true,E.Diagnostics.An_element_access_expression_should_take_an_argument)}else{var q=allowInAnd(parseExpression);if(E.isStringOrNumericLiteralLike(q)){q.text=internIdentifier(q.text)}$=q}parseExpected(23);var G=j||tryReparseOptionalChain(R)?Ee.createElementAccessChain(R,j,$):Ee.createElementAccessExpression(R,$);return finishNode(G,N)}function parseMemberExpressionRest(N,j,$){while(true){var q=void 0;var G=false;if($&&isStartOfOptionalPropertyOrElementAccessChain()){q=parseExpectedToken(28);G=E.tokenIsIdentifierOrKeyword(token())}else{G=parseOptional(24)}if(G){j=parsePropertyAccessExpressionRest(N,j,q);continue}if(!q&&token()===53&&!R.hasPrecedingLineBreak()){nextToken();j=finishNode(Ee.createNonNullExpression(j),N);continue}if((q||!inDecoratorContext())&&parseOptional(22)){j=parseElementAccessExpressionRest(N,j,q);continue}if(isTemplateStartOfTaggedTemplate()){j=parseTaggedTemplateRest(N,j,q,undefined);continue}return j}}function isTemplateStartOfTaggedTemplate(){return token()===14||token()===15}function parseTaggedTemplateRest(E,N,R,j){var $=Ee.createTaggedTemplateExpression(N,j,token()===14?(reScanTemplateHeadOrNoSubstitutionTemplate(),parseLiteralNode()):parseTemplateExpression(true));if(R||N.flags&32){$.flags|=32}$.questionDotToken=R;return finishNode($,E)}function parseCallExpressionRest(N,R){while(true){R=parseMemberExpressionRest(N,R,true);var j=parseOptionalToken(28);if((Ke&131072)===0&&(token()===29||token()===47)){var $=tryParse(parseTypeArgumentsInExpression);if($){if(isTemplateStartOfTaggedTemplate()){R=parseTaggedTemplateRest(N,R,j,$);continue}var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Ee.createCallChain(R,j,$,q):Ee.createCallExpression(R,$,q);R=finishNode(G,N);continue}}else if(token()===20){var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Ee.createCallChain(R,j,undefined,q):Ee.createCallExpression(R,undefined,q);R=finishNode(G,N);continue}if(j){var ie=createMissingNode(79,false,E.Diagnostics.Identifier_expected);R=finishNode(Ee.createPropertyAccessChain(R,j,ie),N)}break}return R}function parseArgumentList(){parseExpected(20);var E=parseDelimitedList(11,parseArgumentExpression);parseExpected(21);return E}function parseTypeArgumentsInExpression(){if((Ke&131072)!==0){return undefined}if(reScanLessThanToken()!==29){return undefined}nextToken();var E=parseDelimitedList(20,parseType);if(!parseExpected(31)){return undefined}return E&&canFollowTypeArgumentsInExpression()?E:undefined}function canFollowTypeArgumentsInExpression(){switch(token()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return true;case 27:case 18:default:return false}}function parsePrimaryExpression(){switch(token()){case 8:case 9:case 10:case 14:return parseLiteralNode();case 108:case 106:case 104:case 110:case 95:return parseTokenNode();case 20:return parseParenthesizedExpression();case 22:return parseArrayLiteralExpression();case 18:return parseObjectLiteralExpression();case 130:if(!lookAhead(nextTokenIsFunctionKeywordOnSameLine)){break}return parseFunctionExpression();case 84:return parseClassExpression();case 98:return parseFunctionExpression();case 103:return parseNewExpressionOrNewDotTarget();case 43:case 68:if(reScanSlashToken()===13){return parseLiteralNode()}break;case 15:return parseTemplateExpression(false)}return parseIdentifier(E.Diagnostics.Expression_expected)}function parseParenthesizedExpression(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);return withJSDoc(finishNode(Ee.createParenthesizedExpression(R),E),N)}function parseSpreadElement(){var E=getNodePos();parseExpected(25);var N=parseAssignmentExpressionOrHigher();return finishNode(Ee.createSpreadElement(N),E)}function parseArgumentOrArrayLiteralElement(){return token()===25?parseSpreadElement():token()===27?finishNode(Ee.createOmittedExpression(),getNodePos()):parseAssignmentExpressionOrHigher()}function parseArgumentExpression(){return doOutsideOfContext($,parseArgumentOrArrayLiteralElement)}function parseArrayLiteralExpression(){var E=getNodePos();parseExpected(22);var N=R.hasPrecedingLineBreak();var j=parseDelimitedList(15,parseArgumentOrArrayLiteralElement);parseExpected(23);return finishNode(Ee.createArrayLiteralExpression(j,N),E)}function parseObjectLiteralElement(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(parseOptionalToken(25)){var R=parseAssignmentExpressionOrHigher();return withJSDoc(finishNode(Ee.createSpreadAssignment(R),E),N)}var j=parseDecorators();var $=parseModifiers();if(parseContextualModifier(135)){return parseAccessorDeclaration(E,N,j,$,170)}if(parseContextualModifier(147)){return parseAccessorDeclaration(E,N,j,$,171)}var q=parseOptionalToken(41);var G=isIdentifier();var ie=parsePropertyName();var ae=parseOptionalToken(57);var ce=parseOptionalToken(53);if(q||token()===20||token()===29){return parseMethodDeclaration(E,N,j,$,q,ie,ae,ce)}var le;var _e=G&&token()!==58;if(_e){var Te=parseOptionalToken(63);var we=Te?allowInAnd(parseAssignmentExpressionOrHigher):undefined;le=Ee.createShorthandPropertyAssignment(ie,we);le.equalsToken=Te}else{parseExpected(58);var Ie=allowInAnd(parseAssignmentExpressionOrHigher);le=Ee.createPropertyAssignment(ie,Ie)}le.decorators=j;le.modifiers=$;le.questionToken=ae;le.exclamationToken=ce;return withJSDoc(finishNode(le,E),N)}function parseObjectLiteralExpression(){var N=getNodePos();var j=R.getTokenPos();parseExpected(18);var $=R.hasPrecedingLineBreak();var q=parseDelimitedList(12,parseObjectLiteralElement,true);if(!parseExpected(19)){var G=E.lastOrUndefined(Be);if(G&&G.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(G,E.createDetachedDiagnostic(Te,j,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}return finishNode(Ee.createObjectLiteralExpression(q,$),N)}function parseFunctionExpression(){var N=inDecoratorContext();setDecoratorContext(false);var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiers();parseExpected(98);var q=parseOptionalToken(41);var G=q?1:0;var ie=E.some($,E.isAsyncModifier)?2:0;var ae=G&&ie?doInYieldAndAwaitContext(parseOptionalBindingIdentifier):G?doInYieldContext(parseOptionalBindingIdentifier):ie?doInAwaitContext(parseOptionalBindingIdentifier):parseOptionalBindingIdentifier();var ce=parseTypeParameters();var le=parseParameters(G|ie);var _e=parseReturnType(58,false);var Te=parseFunctionBlock(G|ie);setDecoratorContext(N);var we=Ee.createFunctionExpression($,q,ae,ce,le,_e,Te);return withJSDoc(finishNode(we,R),j)}function parseOptionalBindingIdentifier(){return isBindingIdentifier()?parseBindingIdentifier():undefined}function parseNewExpressionOrNewDotTarget(){var N=getNodePos();parseExpected(103);if(parseOptional(24)){var j=parseIdentifierName();return finishNode(Ee.createMetaProperty(103,j),N)}var $=getNodePos();var q=parsePrimaryExpression();var G;while(true){q=parseMemberExpressionRest($,q,false);G=tryParse(parseTypeArgumentsInExpression);if(isTemplateStartOfTaggedTemplate()){E.Debug.assert(!!G,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'");q=parseTaggedTemplateRest($,q,undefined,G);G=undefined}break}var ie;if(token()===20){ie=parseArgumentList()}else if(G){parseErrorAt(N,R.getStartPos(),E.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list)}return finishNode(Ee.createNewExpression(q,G,ie),N)}function parseBlock(N,j){var $=getNodePos();var q=hasPrecedingJSDocComment();var G=R.getTokenPos();if(parseExpected(18,j)||N){var ie=R.hasPrecedingLineBreak();var ae=parseList(1,parseStatement);if(!parseExpected(19)){var ce=E.lastOrUndefined(Be);if(ce&&ce.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(ce,E.createDetachedDiagnostic(Te,G,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}var le=withJSDoc(finishNode(Ee.createBlock(ae,ie),$),q);if(token()===63){parseErrorAtCurrentToken(E.Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses);nextToken()}return le}else{var ae=createMissingList();return withJSDoc(finishNode(Ee.createBlock(ae,undefined),$),q)}}function parseFunctionBlock(E,N){var R=inYieldContext();setYieldContext(!!(E&1));var j=inAwaitContext();setAwaitContext(!!(E&2));var $=Qe;Qe=false;var q=inDecoratorContext();if(q){setDecoratorContext(false)}var G=parseBlock(!!(E&16),N);if(q){setDecoratorContext(true)}Qe=$;setYieldContext(R);setAwaitContext(j);return G}function parseEmptyStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(26);return withJSDoc(finishNode(Ee.createEmptyStatement(),E),N)}function parseIfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(99);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();var $=parseOptional(91)?parseStatement():undefined;return withJSDoc(finishNode(Ee.createIfStatement(R,j,$),E),N)}function parseDoStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(90);var R=parseStatement();parseExpected(115);parseExpected(20);var j=allowInAnd(parseExpression);parseExpected(21);parseOptional(26);return withJSDoc(finishNode(Ee.createDoStatement(R,j),E),N)}function parseWhileStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(115);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();return withJSDoc(finishNode(Ee.createWhileStatement(R,j),E),N)}function parseForOrForInOrForOfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(97);var R=parseOptionalToken(131);parseExpected(20);var j;if(token()!==26){if(token()===113||token()===119||token()===85){j=parseVariableDeclarationList(true)}else{j=disallowInAnd(parseExpression)}}var $;if(R?parseExpected(158):parseOptional(158)){var q=allowInAnd(parseAssignmentExpressionOrHigher);parseExpected(21);$=Ee.createForOfStatement(R,j,q,parseStatement())}else if(parseOptional(101)){var q=allowInAnd(parseExpression);parseExpected(21);$=Ee.createForInStatement(j,q,parseStatement())}else{parseExpected(26);var G=token()!==26&&token()!==21?allowInAnd(parseExpression):undefined;parseExpected(26);var ie=token()!==21?allowInAnd(parseExpression):undefined;parseExpected(21);$=Ee.createForStatement(j,G,ie,parseStatement())}return withJSDoc(finishNode($,E),N)}function parseBreakOrContinueStatement(E){var N=getNodePos();var R=hasPrecedingJSDocComment();parseExpected(E===244?81:86);var j=canParseSemicolon()?undefined:parseIdentifier();parseSemicolon();var $=E===244?Ee.createBreakStatement(j):Ee.createContinueStatement(j);return withJSDoc(finishNode($,N),R)}function parseReturnStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(105);var R=canParseSemicolon()?undefined:allowInAnd(parseExpression);parseSemicolon();return withJSDoc(finishNode(Ee.createReturnStatement(R),E),N)}function parseWithStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(116);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=doInsideOfContext(16777216,parseStatement);return withJSDoc(finishNode(Ee.createWithStatement(R,j),E),N)}function parseCaseClause(){var E=getNodePos();parseExpected(82);var N=allowInAnd(parseExpression);parseExpected(58);var R=parseList(3,parseStatement);return finishNode(Ee.createCaseClause(N,R),E)}function parseDefaultClause(){var E=getNodePos();parseExpected(88);parseExpected(58);var N=parseList(3,parseStatement);return finishNode(Ee.createDefaultClause(N),E)}function parseCaseOrDefaultClause(){return token()===82?parseCaseClause():parseDefaultClause()}function parseCaseBlock(){var E=getNodePos();parseExpected(18);var N=parseList(2,parseCaseOrDefaultClause);parseExpected(19);return finishNode(Ee.createCaseBlock(N),E)}function parseSwitchStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(107);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseCaseBlock();return withJSDoc(finishNode(Ee.createSwitchStatement(R,j),E),N)}function parseThrowStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(109);var j=R.hasPrecedingLineBreak()?undefined:allowInAnd(parseExpression);if(j===undefined){qe++;j=finishNode(Ee.createIdentifier(""),getNodePos())}if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(j)}return withJSDoc(finishNode(Ee.createThrowStatement(j),E),N)}function parseTryStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(111);var R=parseBlock(false);var j=token()===83?parseCatchClause():undefined;var $;if(!j||token()===96){parseExpected(96);$=parseBlock(false)}return withJSDoc(finishNode(Ee.createTryStatement(R,j,$),E),N)}function parseCatchClause(){var E=getNodePos();parseExpected(83);var N;if(parseOptional(20)){N=parseVariableDeclaration();parseExpected(21)}else{N=undefined}var R=parseBlock(false);return finishNode(Ee.createCatchClause(N,R),E)}function parseDebuggerStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(87);parseSemicolon();return withJSDoc(finishNode(Ee.createDebuggerStatement(),E),N)}function parseExpressionOrLabeledStatement(){var N=getNodePos();var R=hasPrecedingJSDocComment();var j;var $=token()===20;var q=allowInAnd(parseExpression);if(E.isIdentifier(q)&&parseOptional(58)){j=Ee.createLabeledStatement(q,parseStatement())}else{if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(q)}j=Ee.createExpressionStatement(q);if($){R=false}}return withJSDoc(finishNode(j,N),R)}function nextTokenIsIdentifierOrKeywordOnSameLine(){nextToken();return E.tokenIsIdentifierOrKeyword(token())&&!R.hasPrecedingLineBreak()}function nextTokenIsClassKeywordOnSameLine(){nextToken();return token()===84&&!R.hasPrecedingLineBreak()}function nextTokenIsFunctionKeywordOnSameLine(){nextToken();return token()===98&&!R.hasPrecedingLineBreak()}function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine(){nextToken();return(E.tokenIsIdentifierOrKeyword(token())||token()===8||token()===9||token()===10)&&!R.hasPrecedingLineBreak()}function isDeclaration(){while(true){switch(token()){case 113:case 119:case 85:case 98:case 84:case 92:return true;case 118:case 150:return nextTokenIsIdentifierOnSameLine();case 140:case 141:return nextTokenIsIdentifierOrStringLiteralOnSameLine();case 126:case 130:case 134:case 121:case 122:case 123:case 143:nextToken();if(R.hasPrecedingLineBreak()){return false}continue;case 155:nextToken();return token()===18||token()===79||token()===93;case 100:nextToken();return token()===10||token()===41||token()===18||E.tokenIsIdentifierOrKeyword(token());case 93:var N=nextToken();if(N===150){N=lookAhead(nextToken)}if(N===63||N===41||N===18||N===88||N===127){return true}continue;case 124:nextToken();continue;default:return false}}}function isStartOfDeclaration(){return lookAhead(isDeclaration)}function isStartOfStatement(){switch(token()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return true;case 100:return isStartOfDeclaration()||lookAhead(nextTokenIsOpenParenOrLessThanOrDot);case 85:case 93:return isStartOfDeclaration();case 130:case 134:case 118:case 140:case 141:case 150:case 155:return true;case 123:case 121:case 122:case 124:case 143:return isStartOfDeclaration()||!lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);default:return isStartOfExpression()}}function nextTokenIsBindingIdentifierOrStartOfDestructuring(){nextToken();return isBindingIdentifier()||token()===18||token()===22}function isLetDeclaration(){return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring)}function parseStatement(){switch(token()){case 26:return parseEmptyStatement();case 18:return parseBlock(false);case 113:return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 119:if(isLetDeclaration()){return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined)}break;case 98:return parseFunctionDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 84:return parseClassDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 99:return parseIfStatement();case 90:return parseDoStatement();case 115:return parseWhileStatement();case 97:return parseForOrForInOrForOfStatement();case 86:return parseBreakOrContinueStatement(243);case 81:return parseBreakOrContinueStatement(244);case 105:return parseReturnStatement();case 116:return parseWithStatement();case 107:return parseSwitchStatement();case 109:return parseThrowStatement();case 111:case 83:case 96:return parseTryStatement();case 87:return parseDebuggerStatement();case 59:return parseDeclaration();case 130:case 118:case 150:case 140:case 141:case 134:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 143:case 155:if(isStartOfDeclaration()){return parseDeclaration()}break}return parseExpressionOrLabeledStatement()}function isDeclareModifier(E){return E.kind===134}function parseDeclaration(){var N=E.some(lookAhead((function(){return parseDecorators(),parseModifiers()})),isDeclareModifier);if(N){var R=tryReuseAmbientDeclaration();if(R){return R}}var j=getNodePos();var $=hasPrecedingJSDocComment();var q=parseDecorators();var G=parseModifiers();if(N){for(var ie=0,ae=G;ie=0);E.Debug.assert(N<=q);E.Debug.assert(q<=$.length);if(!isJSDocLikeText($,N)){return undefined}var G;var ie;var ae;var ce;var le;var _e=[];var we=[];return R.scanRange(N+3,j-5,(function(){var j=1;var Te;var Ie=N-($.lastIndexOf("\n",N)+1)+4;function pushComment(E){if(!Te){Te=Ie}_e.push(E);Ie+=E.length}nextTokenJSDoc();while(parseOptionalJsdoc(5));if(parseOptionalJsdoc(4)){j=0;Ie=0}e:while(true){switch(token()){case 59:if(j===0||j===1){removeTrailingWhitespace(_e);if(!le)le=getNodePos();addTag(parseTag(Ie));j=0;Te=undefined}else{pushComment(R.getTokenText())}break;case 4:_e.push(R.getTokenText());j=0;Ie=0;break;case 41:var Ne=R.getTokenText();if(j===1||j===2){j=2;pushComment(Ne)}else{j=1;Ie+=Ne.length}break;case 5:var Me=R.getTokenText();if(j===2){_e.push(Me)}else if(Te!==undefined&&Ie+Me.length>Te){_e.push(Me.slice(Te-Ie))}Ie+=Me.length;break;case 1:break e;case 18:j=2;var Le=R.getStartPos();var Be=R.getTextPos()-1;var je=parseJSDocLink(Be);if(je){if(!ce){removeLeadingNewlines(_e)}we.push(finishNode(Ee.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,Le));we.push(je);_e=[];ce=R.getTextPos();break}default:j=2;pushComment(R.getTokenText());break}nextTokenJSDoc()}removeTrailingWhitespace(_e);if(we.length&&_e.length){we.push(finishNode(Ee.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,le))}if(we.length&&G)E.Debug.assertIsDefined(le,"having parsed tags implies that the end of the comment span should be set");var Ue=G&&createNodeArray(G,ie,ae);return finishNode(Ee.createJSDocComment(we.length?createNodeArray(we,N,le):_e.length?_e.join(""):undefined,Ue),N,q)}));function removeLeadingNewlines(E){while(E.length&&(E[0]==="\n"||E[0]==="\r")){E.shift()}}function removeTrailingWhitespace(E){while(E.length&&E[E.length-1].trim()===""){E.pop()}}function isNextNonwhitespaceTokenEndOfFile(){while(true){nextTokenJSDoc();if(token()===1){return true}if(!(token()===5||token()===4)){return false}}}function skipWhitespace(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return}}while(token()===5||token()===4){nextTokenJSDoc()}}function skipWhitespaceOrAsterisk(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return""}}var E=R.hasPrecedingLineBreak();var N=false;var j="";while(E&&token()===41||token()===5||token()===4){j+=R.getTokenText();if(token()===4){E=true;N=true;j=""}else if(token()===41){E=false}nextTokenJSDoc()}return N?j:""}function parseTag(N){E.Debug.assert(token()===59);var j=R.getTokenPos();nextTokenJSDoc();var $=parseJSDocIdentifierName(undefined);var q=skipWhitespaceOrAsterisk();var G;switch($.escapedText){case"author":G=parseAuthorTag(j,$,N,q);break;case"implements":G=parseImplementsTag(j,$,N,q);break;case"augments":case"extends":G=parseAugmentsTag(j,$,N,q);break;case"class":case"constructor":G=parseSimpleTag(j,Ee.createJSDocClassTag,$,N,q);break;case"public":G=parseSimpleTag(j,Ee.createJSDocPublicTag,$,N,q);break;case"private":G=parseSimpleTag(j,Ee.createJSDocPrivateTag,$,N,q);break;case"protected":G=parseSimpleTag(j,Ee.createJSDocProtectedTag,$,N,q);break;case"readonly":G=parseSimpleTag(j,Ee.createJSDocReadonlyTag,$,N,q);break;case"override":G=parseSimpleTag(j,Ee.createJSDocOverrideTag,$,N,q);break;case"deprecated":Ye=true;G=parseSimpleTag(j,Ee.createJSDocDeprecatedTag,$,N,q);break;case"this":G=parseThisTag(j,$,N,q);break;case"enum":G=parseEnumTag(j,$,N,q);break;case"arg":case"argument":case"param":return parseParameterOrPropertyTag(j,$,2,N);case"return":case"returns":G=parseReturnTag(j,$,N,q);break;case"template":G=parseTemplateTag(j,$,N,q);break;case"type":G=parseTypeTag(j,$,N,q);break;case"typedef":G=parseTypedefTag(j,$,N,q);break;case"callback":G=parseCallbackTag(j,$,N,q);break;case"see":G=parseSeeTag(j,$,N,q);break;default:G=parseUnknownTag(j,$,N,q);break}return G}function parseTrailingTagComments(E,N,R,j){if(!j){R+=N-E}return parseTagComments(R,j.slice(R))}function parseTagComments(E,N){var j=getNodePos();var $=[];var q=[];var G;var ie=0;var ae=true;var ce;function pushComment(N){if(!ce){ce=E}$.push(N);E+=N.length}if(N!==undefined){if(N!==""){pushComment(N)}ie=1}var le=token();e:while(true){switch(le){case 4:ie=0;$.push(R.getTokenText());E=0;break;case 59:if(ie===3||ie===2&&(!ae||lookAhead(isNextJSDocTokenWhitespace))){$.push(R.getTokenText());break}R.setTextPos(R.getTextPos()-1);case 1:break e;case 5:if(ie===2||ie===3){pushComment(R.getTokenText())}else{var _e=R.getTokenText();if(ce!==undefined&&E+_e.length>ce){$.push(_e.slice(ce-E))}E+=_e.length}break;case 18:ie=2;var Te=R.getStartPos();var we=R.getTextPos()-1;var Ie=parseJSDocLink(we);if(Ie){q.push(finishNode(Ee.createJSDocText($.join("")),G!==null&&G!==void 0?G:j,Te));q.push(Ie);$=[];G=R.getTextPos()}else{pushComment(R.getTokenText())}break;case 61:if(ie===3){ie=2}else{ie=3}pushComment(R.getTokenText());break;case 41:if(ie===0){ie=1;E+=1;break}default:if(ie!==3){ie=2}pushComment(R.getTokenText());break}ae=token()===5;le=nextTokenJSDoc()}removeLeadingNewlines($);removeTrailingWhitespace($);if(q.length){if($.length){q.push(finishNode(Ee.createJSDocText($.join("")),G!==null&&G!==void 0?G:j))}return createNodeArray(q,j,R.getTextPos())}else if($.length){return $.join("")}}function isNextJSDocTokenWhitespace(){var E=nextTokenJSDoc();return E===5||E===4}function parseJSDocLink(N){var j=tryParse(parseJSDocLinkPrefix);if(!j){return undefined}nextTokenJSDoc();skipWhitespace();var $=getNodePos();var q=E.tokenIsIdentifierOrKeyword(token())?parseEntityName(true):undefined;if(q){while(token()===80){reScanHashToken();nextTokenJSDoc();q=finishNode(Ee.createJSDocMemberName(q,parseIdentifier()),$)}}var G=[];while(token()!==19&&token()!==4&&token()!==1){G.push(R.getTokenText());nextTokenJSDoc()}var ie=j==="link"?Ee.createJSDocLink:j==="linkcode"?Ee.createJSDocLinkCode:Ee.createJSDocLinkPlain;return finishNode(ie(q,G.join("")),N,R.getTextPos())}function parseJSDocLinkPrefix(){skipWhitespaceOrAsterisk();if(token()===18&&nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())){var N=R.getTokenValue();if(N==="link"||N==="linkcode"||N==="linkplain"){return N}}}function parseUnknownTag(E,N,R,j){return finishNode(Ee.createJSDocUnknownTag(N,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function addTag(E){if(!E){return}if(!G){G=[E];ie=E.pos}else{G.push(E)}ae=E.end}function tryParseTypeExpression(){skipWhitespaceOrAsterisk();return token()===18?parseJSDocTypeExpression():undefined}function parseBracketNameInPropertyAndParamTag(){var E=parseOptionalJsdoc(22);if(E){skipWhitespace()}var N=parseOptionalJsdoc(61);var R=parseJSDocEntityName();if(N){parseExpectedTokenJSDoc(61)}if(E){skipWhitespace();if(parseOptionalToken(63)){parseExpression()}parseExpected(23)}return{name:R,isBracketed:E}}function isObjectOrObjectArrayTypeReference(N){switch(N.kind){case 146:return true;case 181:return isObjectOrObjectArrayTypeReference(N.elementType);default:return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&!N.typeArguments}}function parseParameterOrPropertyTag(E,N,R,j){var $=tryParseTypeExpression();var q=!$;skipWhitespaceOrAsterisk();var G=parseBracketNameInPropertyAndParamTag(),ie=G.name,ae=G.isBracketed;var ce=skipWhitespaceOrAsterisk();if(q&&!lookAhead(parseJSDocLinkPrefix)){$=tryParseTypeExpression()}var le=parseTrailingTagComments(E,getNodePos(),j,ce);var _e=R!==4&&parseNestedTypeLiteral($,ie,R,j);if(_e){$=_e;q=true}var Te=R===1?Ee.createJSDocPropertyTag(N,ie,ae,$,q,le):Ee.createJSDocParameterTag(N,ie,ae,$,q,le);return finishNode(Te,E)}function parseNestedTypeLiteral(N,R,j,$){if(N&&isObjectOrObjectArrayTypeReference(N.type)){var q=getNodePos();var G=void 0;var ie=void 0;while(G=tryParse((function(){return parseChildParameterOrPropertyTag(j,$,R)}))){if(G.kind===335||G.kind===342){ie=E.append(ie,G)}}if(ie){var ae=finishNode(Ee.createJSDocTypeLiteral(ie,N.type.kind===181),q);return finishNode(Ee.createJSDocTypeExpression(ae),q)}}}function parseReturnTag(N,j,$,q){if(E.some(G,E.isJSDocReturnTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=tryParseTypeExpression();return finishNode(Ee.createJSDocReturnTag(j,ie,parseTrailingTagComments(N,getNodePos(),$,q)),N)}function parseTypeTag(N,j,$,q){if(E.some(G,E.isJSDocTypeTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=parseJSDocTypeExpression(true);var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Ee.createJSDocTypeTag(j,ie,ae),N)}function parseSeeTag(N,j,$,q){var G=lookAhead((function(){return nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())&&R.getTokenValue()==="link"}));var ie=G?undefined:parseJSDocNameReference();var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Ee.createJSDocSeeTag(j,ie,ae),N)}function parseAuthorTag(N,j,$,q){var G=getNodePos();var ie=parseAuthorNameAndEmail();var ae=R.getStartPos();var ce=parseTrailingTagComments(N,ae,$,q);if(!ce){ae=R.getStartPos()}var le=typeof ce!=="string"?createNodeArray(E.concatenate([finishNode(ie,G,ae)],ce),G):ie.text+ce;return finishNode(Ee.createJSDocAuthorTag(j,le),N)}function parseAuthorNameAndEmail(){var E=[];var N=false;var j=R.getToken();while(j!==1&&j!==4){if(j===29){N=true}else if(j===59&&!N){break}else if(j===31&&N){E.push(R.getTokenText());R.setTextPos(R.getTokenPos()+1);break}E.push(R.getTokenText());j=nextTokenJSDoc()}return Ee.createJSDocText(E.join(""))}function parseImplementsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Ee.createJSDocImplementsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseAugmentsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Ee.createJSDocAugmentsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseExpressionWithTypeArgumentsForAugments(){var E=parseOptional(18);var N=getNodePos();var R=parsePropertyAccessEntityNameExpression();var j=tryParseTypeArguments();var $=Ee.createExpressionWithTypeArguments(R,j);var q=finishNode($,N);if(E){parseExpected(19)}return q}function parsePropertyAccessEntityNameExpression(){var E=getNodePos();var N=parseJSDocIdentifierName();while(parseOptional(24)){var R=parseJSDocIdentifierName();N=finishNode(Ee.createPropertyAccessExpression(N,R),E)}return N}function parseSimpleTag(E,N,R,j,$){return finishNode(N(R,parseTrailingTagComments(E,getNodePos(),j,$)),E)}function parseThisTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Ee.createJSDocThisTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseEnumTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Ee.createJSDocEnumTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseTypedefTag(N,R,j,$){var q;var G=tryParseTypeExpression();skipWhitespaceOrAsterisk();var ie=parseJSDocTypeNameWithNamespace();skipWhitespace();var ae=parseTagComments(j);var ce;if(!G||isObjectOrObjectArrayTypeReference(G.type)){var le=void 0;var _e=void 0;var we=void 0;var Ie=false;while(le=tryParse((function(){return parseChildPropertyTag(j)}))){Ie=true;if(le.kind===338){if(_e){parseErrorAtCurrentToken(E.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var Ne=E.lastOrUndefined(Be);if(Ne){E.addRelatedInfo(Ne,E.createDetachedDiagnostic(Te,0,0,E.Diagnostics.The_tag_was_first_specified_here))}break}else{_e=le}}else{we=E.append(we,le)}}if(Ie){var Me=G&&G.type.kind===181;var Le=Ee.createJSDocTypeLiteral(we,Me);G=_e&&_e.typeExpression&&!isObjectOrObjectArrayTypeReference(_e.typeExpression.type)?_e.typeExpression:finishNode(Le,N);ce=G.end}}ce=ce||ae!==undefined?getNodePos():((q=ie!==null&&ie!==void 0?ie:G)!==null&&q!==void 0?q:R).end;if(!ae){ae=parseTrailingTagComments(N,ce,j,$)}var je=Ee.createJSDocTypedefTag(R,G,ie,ae);return finishNode(je,N,ce)}function parseJSDocTypeNameWithNamespace(N){var j=R.getTokenPos();if(!E.tokenIsIdentifierOrKeyword(token())){return undefined}var $=parseJSDocIdentifierName();if(parseOptional(24)){var q=parseJSDocTypeNameWithNamespace(true);var G=Ee.createModuleDeclaration(undefined,undefined,$,q,N?4:undefined);return finishNode(G,j)}if(N){$.isInJSDocNamespace=true}return $}function parseCallbackTagParameters(N){var R=getNodePos();var j;var $;while(j=tryParse((function(){return parseChildParameterOrPropertyTag(4,N)}))){$=E.append($,j)}return createNodeArray($||[],R)}function parseCallbackTag(E,N,R,j){var $=parseJSDocTypeNameWithNamespace();skipWhitespace();var q=parseTagComments(R);var G=parseCallbackTagParameters(R);var ie=tryParse((function(){if(parseOptionalJsdoc(59)){var E=parseTag(R);if(E&&E.kind===336){return E}}}));var ae=finishNode(Ee.createJSDocSignature(undefined,G,ie),E);if(!q){q=parseTrailingTagComments(E,getNodePos(),R,j)}return finishNode(Ee.createJSDocCallbackTag(N,ae,$,q),E)}function escapedTextsEqual(N,R){while(!E.isIdentifier(N)||!E.isIdentifier(R)){if(!E.isIdentifier(N)&&!E.isIdentifier(R)&&N.right.escapedText===R.right.escapedText){N=N.left;R=R.left}else{return false}}return N.escapedText===R.escapedText}function parseChildPropertyTag(E){return parseChildParameterOrPropertyTag(1,E)}function parseChildParameterOrPropertyTag(N,R,j){var $=true;var q=false;while(true){switch(nextTokenJSDoc()){case 59:if($){var G=tryParseChildTag(N,R);if(G&&(G.kind===335||G.kind===342)&&N!==4&&j&&(E.isIdentifier(G.name)||!escapedTextsEqual(j,G.name.left))){return false}return G}q=false;break;case 4:$=true;q=false;break;case 41:if(q){$=false}q=true;break;case 79:$=false;break;case 1:return false}}}function tryParseChildTag(N,j){E.Debug.assert(token()===59);var $=R.getStartPos();nextTokenJSDoc();var q=parseJSDocIdentifierName();skipWhitespace();var G;switch(q.escapedText){case"type":return N===1&&parseTypeTag($,q);case"prop":case"property":G=1;break;case"arg":case"argument":case"param":G=2|4;break;default:return false}if(!(N&G)){return false}return parseParameterOrPropertyTag($,q,N,j)}function parseTemplateTagTypeParameter(){var N=getNodePos();var R=parseJSDocIdentifierName(E.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(E.nodeIsMissing(R)){return undefined}return finishNode(Ee.createTypeParameterDeclaration(R,undefined,undefined),N)}function parseTemplateTagTypeParameters(){var E=getNodePos();var N=[];do{skipWhitespace();var R=parseTemplateTagTypeParameter();if(R!==undefined){N.push(R)}skipWhitespaceOrAsterisk()}while(parseOptionalJsdoc(27));return createNodeArray(N,E)}function parseTemplateTag(E,N,R,j){var $=token()===18?parseJSDocTypeExpression():undefined;var q=parseTemplateTagTypeParameters();return finishNode(Ee.createJSDocTemplateTag(N,$,q,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseOptionalJsdoc(E){if(token()===E){nextTokenJSDoc();return true}return false}function parseJSDocEntityName(){var E=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}while(parseOptional(24)){var N=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}E=createQualifiedName(E,N)}return E}function parseJSDocIdentifierName(N){if(!E.tokenIsIdentifierOrKeyword(token())){return createMissingNode(79,!N,N||E.Diagnostics.Identifier_expected)}qe++;var j=R.getTokenPos();var $=R.getTextPos();var q=token();var G=internIdentifier(R.getTokenValue());var ie=finishNode(Ee.createIdentifier(G,undefined,q),j,$);nextTokenJSDoc();return ie}}})(rt=N.JSDocParser||(N.JSDocParser={}))})(ce||(ce={}));var le;(function(N){function updateSourceFile(N,R,j,$){$=$||E.Debug.shouldAssert(2);checkChangeRange(N,R,j,$);if(E.textChangeRangeIsUnchanged(j)){return N}if(N.statements.length===0){return ce.parseSourceFile(N.fileName,R,N.languageVersion,undefined,true,N.scriptKind)}var q=N;E.Debug.assert(!q.hasBeenIncrementallyParsed);q.hasBeenIncrementallyParsed=true;ce.fixupParentReferences(q);var G=N.text;var ie=createSyntaxCursor(N);var ae=extendToAffectedRange(N,j);checkChangeRange(N,R,ae,$);E.Debug.assert(ae.span.start<=j.span.start);E.Debug.assert(E.textSpanEnd(ae.span)===E.textSpanEnd(j.span));E.Debug.assert(E.textSpanEnd(E.textChangeRangeNewSpan(ae))===E.textSpanEnd(E.textChangeRangeNewSpan(j)));var le=E.textChangeRangeNewSpan(ae).length-ae.span.length;updateTokenPositionsAndMarkElements(q,ae.span.start,E.textSpanEnd(ae.span),E.textSpanEnd(E.textChangeRangeNewSpan(ae)),le,G,R,$);var _e=ce.parseSourceFile(N.fileName,R,N.languageVersion,ie,true,N.scriptKind);_e.commentDirectives=getNewCommentDirectives(N.commentDirectives,_e.commentDirectives,ae.span.start,E.textSpanEnd(ae.span),le,G,R,$);return _e}N.updateSourceFile=updateSourceFile;function getNewCommentDirectives(N,R,j,$,q,G,ie,ae){if(!N)return R;var ce;var le=false;for(var _e=0,Ee=N;_e$){addNewlyScannedDirectives();var Ne={range:{pos:we.pos+q,end:we.end+q},type:Ie};ce=E.append(ce,Ne);if(ae){E.Debug.assert(G.substring(we.pos,we.end)===ie.substring(Ne.range.pos,Ne.range.end))}}}addNewlyScannedDirectives();return ce;function addNewlyScannedDirectives(){if(le)return;le=true;if(!ce){ce=R}else if(R){ce.push.apply(ce,R)}}}function moveElementEntirelyPastChangeRange(N,R,j,$,q,G){if(R){visitArray(N)}else{visitNode(N)}return;function visitNode(N){var R="";if(G&&shouldCheckNode(N)){R=$.substring(N.pos,N.end)}if(N._children){N._children=undefined}E.setTextRangePosEnd(N,N.pos+j,N.end+j);if(G&&shouldCheckNode(N)){E.Debug.assert(R===q.substring(N.pos,N.end))}forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var ie=0,ae=N.jsDoc;ie=R,"Adjusting an element that was entirely before the change range");E.Debug.assert(N.pos<=j,"Adjusting an element that was entirely after the change range");E.Debug.assert(N.pos<=N.end);var G=Math.min(N.pos,$);var ie=N.end>=j?N.end+q:Math.min(N.end,$);E.Debug.assert(G<=ie);if(N.parent){E.Debug.assertGreaterThanOrEqual(G,N.parent.pos);E.Debug.assertLessThanOrEqual(ie,N.parent.end)}E.setTextRangePosEnd(N,G,ie)}function checkNodePositions(N,R){if(R){var j=N.pos;var visitNode_1=function(N){E.Debug.assert(N.pos>=j);j=N.end};if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$j){moveElementEntirelyPastChangeRange(N,false,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var le=0,_e=N.jsDoc;le<_e.length;le++){var Ee=_e[le];visitNode(Ee)}}checkNodePositions(N,ae);return}E.Debug.assert(cej){moveElementEntirelyPastChangeRange(N,true,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];visitNode(Ee)}return}E.Debug.assert(ce0&&q<=j;q++){var G=findNearestNodeStartingBeforeOrAtPosition(N,$);E.Debug.assert(G.pos<=$);var ie=G.pos;$=Math.max(0,ie-1)}var ae=E.createTextSpanFromBounds($,E.textSpanEnd(R.span));var ce=R.newLength+(R.span.start-$);return E.createTextChangeRange(ae,ce)}function findNearestNodeStartingBeforeOrAtPosition(N,R){var j=N;var $;forEachChild(N,visit);if($){var q=getLastDescendant($);if(q.pos>j.pos){j=q}}return j;function getLastDescendant(N){while(true){var R=E.getLastChild(N);if(R){N=R}else{return N}}}function visit(N){if(E.nodeIsMissing(N)){return}if(N.pos<=R){if(N.pos>=j.pos){j=N}if(RR);return true}}}function checkChangeRange(N,R,j,$){var q=N.text;if(j){E.Debug.assert(q.length-j.span.length+j.newLength===R.length);if($||E.Debug.shouldAssert(3)){var G=q.substr(0,j.span.start);var ie=R.substr(0,j.span.start);E.Debug.assert(G===ie);var ae=q.substring(E.textSpanEnd(j.span),q.length);var ce=R.substring(E.textSpanEnd(E.textChangeRangeNewSpan(j)),R.length);E.Debug.assert(ae===ce)}}}function createSyntaxCursor(N){var R=N.statements;var j=0;E.Debug.assert(j=N.pos&&E=N.pos&&EN.checkJsDirective.pos){N.checkJsDirective={enabled:$==="ts-check",end:E.range.end,pos:E.range.pos}}}));break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:E.Debug.fail("Unhandled pragma kind")}}))}E.processPragmasIntoFields=processPragmasIntoFields;var _e=new E.Map;function getNamedArgRegEx(E){if(_e.has(E)){return _e.get(E)}var N=new RegExp("(\\s"+E+"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))","im");_e.set(E,N);return N}var Ee=/^\/\/\/\s*<(\S+)\s.*?\/>/im;var Te=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function extractPragmas(N,R,j){var $=R.kind===2&&Ee.exec(j);if($){var q=$[1].toLowerCase();var G=E.commentPragmas[q];if(!G||!(G.kind&1)){return}if(G.args){var ie={};for(var ae=0,ce=G.args;ae=R.length)break;var G=q;if(R.charCodeAt(G)===34){q++;while(q32)q++;$.push(R.substring(G,q))}}parseStrings($)}}E.parseCommandLineWorker=parseCommandLineWorker;function parseOptionValue(N,R,j,$,q,G){if($.isTSConfigOnly){var ie=N[R];if(ie==="null"){q[$.name]=undefined;R++}else if($.type==="boolean"){if(ie==="false"){q[$.name]=validateJsonOptionValue($,false,G);R++}else{if(ie==="true")R++;G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,$.name))}}else{G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,$.name));if(ie&&!E.startsWith(ie,"-"))R++}}else{if(!N[R]&&$.type!=="boolean"){G.push(E.createCompilerDiagnostic(j.optionTypeMismatchDiagnostic,$.name,getCompilerOptionValueTypeString($)))}if(N[R]!=="null"){switch($.type){case"number":q[$.name]=validateJsonOptionValue($,parseInt(N[R]),G);R++;break;case"boolean":var ie=N[R];q[$.name]=validateJsonOptionValue($,ie!=="false",G);if(ie==="false"||ie==="true"){R++}break;case"string":q[$.name]=validateJsonOptionValue($,N[R]||"",G);R++;break;case"list":var ae=parseListTypeOption($,N[R],G);q[$.name]=ae||[];if(ae){R++}break;default:q[$.name]=parseCustomTypeOption($,N[R],G);R++;break}}else{q[$.name]=undefined;R++}}return R}E.compilerOptionsDidYouMeanDiagnostics={alternateMode:ie,getOptionsNameMap:getOptionsNameMap,optionDeclarations:E.optionDeclarations,unknownOptionDiagnostic:E.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Compiler_option_0_expects_an_argument};function parseCommandLine(N,R){return parseCommandLineWorker(E.compilerOptionsDidYouMeanDiagnostics,N,R)}E.parseCommandLine=parseCommandLine;function getOptionFromName(E,N){return getOptionDeclarationFromName(getOptionsNameMap,E,N)}E.getOptionFromName=getOptionFromName;function getOptionDeclarationFromName(E,N,R){if(R===void 0){R=false}N=N.toLowerCase();var j=E(),$=j.optionsNameMap,q=j.shortOptionNames;if(R){var G=q.get(N);if(G!==undefined){N=G}}return $.get(N)}var ae;function getBuildOptionsNameMap(){return ae||(ae=createOptionNameMap(E.buildOpts))}var ce={diagnostic:E.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:getOptionsNameMap};var le={alternateMode:ce,getOptionsNameMap:getBuildOptionsNameMap,optionDeclarations:E.buildOpts,unknownOptionDiagnostic:E.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Build_option_0_requires_a_value_of_type_1};function parseBuildCommand(N){var R=parseCommandLineWorker(le,N),j=R.options,$=R.watchOptions,q=R.fileNames,G=R.errors;var ie=j;if(q.length===0){q.push(".")}if(ie.clean&&ie.force){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force"))}if(ie.clean&&ie.verbose){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose"))}if(ie.clean&&ie.watch){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch"))}if(ie.watch&&ie.dry){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry"))}return{buildOptions:ie,watchOptions:$,projects:q,errors:G}}E.parseBuildCommand=parseBuildCommand;function getDiagnosticText(N){var R=[];for(var j=1;j=0){ae.push(E.createCompilerDiagnostic(E.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,j(j([],ie,true),[_e],false).join(" -> ")));return{raw:N||convertToObject(R,ae)}}var Ee=N?parseOwnConfigOfJson(N,$,q,G,ae):parseOwnConfigOfJsonSourceFile(R,$,q,G,ae);if((le=Ee.options)===null||le===void 0?void 0:le.paths){Ee.options.pathsBasePath=q}if(Ee.extendedConfigPath){ie=ie.concat([_e]);var Te=getExtendedConfig(R,Ee.extendedConfigPath,$,ie,ae,ce);if(Te&&isSuccessfulParsedTsconfig(Te)){var we=Te.raw;var Ie=Ee.raw;var Ne;var setPropertyInRawIfNotUndefined=function(N){if(!Ie[N]&&we[N]){Ie[N]=E.map(we[N],(function(N){return E.isRootedDiskPath(N)?N:E.combinePaths(Ne||(Ne=E.convertToRelativePath(E.getDirectoryPath(Ee.extendedConfigPath),q,E.createGetCanonicalFileName($.useCaseSensitiveFileNames))),N)}))}};setPropertyInRawIfNotUndefined("include");setPropertyInRawIfNotUndefined("exclude");setPropertyInRawIfNotUndefined("files");if(Ie.compileOnSave===undefined){Ie.compileOnSave=we.compileOnSave}Ee.options=E.assign({},Te.options,Ee.options);Ee.watchOptions=Ee.watchOptions&&Te.watchOptions?E.assign({},Te.watchOptions,Ee.watchOptions):Ee.watchOptions||Te.watchOptions}}return Ee}function parseOwnConfigOfJson(N,R,j,$,q){if(E.hasProperty(N,"excludes")){q.push(E.createCompilerDiagnostic(E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}var G=convertCompilerOptionsFromJsonWorker(N.compilerOptions,j,q,$);var ie=convertTypeAcquisitionFromJsonWorker(N.typeAcquisition||N.typingOptions,j,q,$);var ae=convertWatchOptionsFromJsonWorker(N.watchOptions,j,q);N.compileOnSave=convertCompileOnSaveOptionFromJson(N,j,q);var ce;if(N.extends){if(!E.isString(N.extends)){q.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"))}else{var le=$?directoryOfCombinedPath($,j):j;ce=getExtendsConfigPath(N.extends,R,le,q,E.createCompilerDiagnostic)}}return{raw:N,options:G,watchOptions:ae,typeAcquisition:ie,extendedConfigPath:ce}}function parseOwnConfigOfJsonSourceFile(N,R,j,$,q){var G=getDefaultCompilerOptions($);var ie,ae;var ce;var le;var _e={onSetValidOptionKeyValueInParent:function(N,R,q){var le;switch(N){case"compilerOptions":le=G;break;case"watchOptions":le=ce||(ce={});break;case"typeAcquisition":le=ie||(ie=getDefaultTypeAcquisition($));break;case"typingOptions":le=ae||(ae=getDefaultTypeAcquisition($));break;default:E.Debug.fail("Unknown option")}le[R.name]=normalizeOptionValue(R,j,q)},onSetValidOptionKeyValueInRoot:function(G,ie,ae,ce){switch(G){case"extends":var _e=$?directoryOfCombinedPath($,j):j;le=getExtendsConfigPath(ae,R,_e,q,(function(R,j){return E.createDiagnosticForNodeInSourceFile(N,ce,R,j)}));return}},onSetUnknownOptionKeyValueInRoot:function(R,j,$,G){if(R==="excludes"){q.push(E.createDiagnosticForNodeInSourceFile(N,j,E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}}};var Ee=convertConfigFileToObject(N,q,true,_e);if(!ie){if(ae){ie=ae.enableAutoDiscovery!==undefined?{enable:ae.enableAutoDiscovery,include:ae.include,exclude:ae.exclude}:ae}else{ie=getDefaultTypeAcquisition($)}}return{raw:Ee,options:G,watchOptions:ce,typeAcquisition:ie,extendedConfigPath:le}}function getExtendsConfigPath(N,R,j,$,q){N=E.normalizeSlashes(N);if(E.isRootedDiskPath(N)||E.startsWith(N,"./")||E.startsWith(N,"../")){var G=E.getNormalizedAbsolutePath(N,j);if(!R.fileExists(G)&&!E.endsWith(G,".json")){G=G+".json";if(!R.fileExists(G)){$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}}return G}var ie=E.nodeModuleNameResolver(N,E.combinePaths(j,"tsconfig.json"),{moduleResolution:E.ModuleResolutionKind.NodeJs},R,undefined,undefined,true);if(ie.resolvedModule){return ie.resolvedModule.resolvedFileName}$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}function getExtendedConfig(N,R,j,$,q,G){var ie;var ae=j.useCaseSensitiveFileNames?R:E.toFileNameLowerCase(R);var ce;var le;var _e;if(G&&(ce=G.get(ae))){le=ce.extendedResult,_e=ce.extendedConfig}else{le=readJsonConfigFile(R,(function(E){return j.readFile(E)}));if(!le.parseDiagnostics.length){_e=parseConfig(undefined,le,j,E.getDirectoryPath(R),E.getBaseFileName(R),$,q,G)}if(G){G.set(ae,{extendedResult:le,extendedConfig:_e})}}if(N){N.extendedSourceFiles=[le.fileName];if(le.extendedSourceFiles){(ie=N.extendedSourceFiles).push.apply(ie,le.extendedSourceFiles)}}if(le.parseDiagnostics.length){q.push.apply(q,le.parseDiagnostics);return undefined}return _e}function convertCompileOnSaveOptionFromJson(N,R,j){if(!E.hasProperty(N,E.compileOnSaveCommandLineOption.name)){return false}var $=convertJsonOption(E.compileOnSaveCommandLineOption,N.compileOnSave,R,j);return typeof $==="boolean"&&$}function convertCompilerOptionsFromJson(E,N,R){var j=[];var $=convertCompilerOptionsFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertCompilerOptionsFromJson=convertCompilerOptionsFromJson;function convertTypeAcquisitionFromJson(E,N,R){var j=[];var $=convertTypeAcquisitionFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertTypeAcquisitionFromJson=convertTypeAcquisitionFromJson;function getDefaultCompilerOptions(N){var R=N&&E.getBaseFileName(N)==="jsconfig.json"?{allowJs:true,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:true,skipLibCheck:true,noEmit:true}:{};return R}function convertCompilerOptionsFromJsonWorker(N,R,j,$){var q=getDefaultCompilerOptions($);convertOptionsFromJson(getCommandLineCompilerOptionsMap(),N,R,q,E.compilerOptionsDidYouMeanDiagnostics,j);if($){q.configFilePath=E.normalizeSlashes($)}return q}function getDefaultTypeAcquisition(N){return{enable:!!N&&E.getBaseFileName(N)==="jsconfig.json",include:[],exclude:[]}}function convertTypeAcquisitionFromJsonWorker(E,N,R,j){var $=getDefaultTypeAcquisition(j);var q=convertEnableAutoDiscoveryToEnable(E);convertOptionsFromJson(getCommandLineTypeAcquisitionMap(),q,N,$,_e,R);return $}function convertWatchOptionsFromJsonWorker(E,N,R){return convertOptionsFromJson(getCommandLineWatchOptionsMap(),E,N,undefined,Te,R)}function convertOptionsFromJson(N,R,j,$,q,G){if(!R){return}for(var ie in R){var ae=N.get(ie);if(ae){($||($={}))[ae.name]=convertJsonOption(ae,R[ie],j,G)}else{G.push(createUnknownOptionError(ie,q,E.createCompilerDiagnostic))}}return $}function convertJsonOption(N,R,j,$){if(isCompilerOptionsValue(N,R)){var q=N.type;if(q==="list"&&E.isArray(R)){return convertJsonOptionOfListType(N,R,j,$)}else if(!E.isString(q)){return convertJsonOptionOfCustomType(N,R,$)}var G=validateJsonOptionValue(N,R,$);return isNullOrUndefined(G)?G:normalizeNonListOptionValue(N,j,G)}else{$.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,N.name,getCompilerOptionValueTypeString(N)))}}E.convertJsonOption=convertJsonOption;function normalizeOptionValue(N,R,j){if(isNullOrUndefined(j))return undefined;if(N.type==="list"){var $=N;if($.element.isFilePath||!E.isString($.element.type)){return E.filter(E.map(j,(function(E){return normalizeOptionValue($.element,R,E)})),(function(E){return!!E}))}return j}else if(!E.isString(N.type)){return N.type.get(E.isString(j)?j.toLowerCase():j)}return normalizeNonListOptionValue(N,R,j)}function normalizeNonListOptionValue(N,R,j){if(N.isFilePath){j=E.getNormalizedAbsolutePath(j,R);if(j===""){j="."}}return j}function validateJsonOptionValue(N,R,j){var $;if(isNullOrUndefined(R))return undefined;var q=($=N.extraValidation)===null||$===void 0?void 0:$.call(N,R);if(!q)return R;j.push(E.createCompilerDiagnostic.apply(void 0,q));return undefined}function convertJsonOptionOfCustomType(E,N,R){if(isNullOrUndefined(N))return undefined;var j=N.toLowerCase();var $=E.type.get(j);if($!==undefined){return validateJsonOptionValue(E,$,R)}else{R.push(createCompilerDiagnosticForInvalidCustomType(E))}}function convertJsonOptionOfListType(N,R,j,$){return E.filter(E.map(R,(function(E){return convertJsonOption(N.element,E,j,$)})),(function(E){return!!E}))}var Le=/(^|\/)\*\*\/?$/;var Be=/^[^*?]*(?=\/[^/]*[*?])/;function getFileNamesFromConfigSpecs(N,R,j,$,q){if(q===void 0){q=E.emptyArray}R=E.normalizePath(R);var G=E.createGetCanonicalFileName($.useCaseSensitiveFileNames);var ie=new E.Map;var ae=new E.Map;var ce=new E.Map;var le=N.validatedFilesSpec,_e=N.validatedIncludeSpecs,Ee=N.validatedExcludeSpecs;var Te=E.getSupportedExtensions(j,q);var we=E.getSuppoertedExtensionsWithJsonIfResolveJsonModule(j,Te);if(le){for(var Ie=0,Ne=le;Ie0){var _loop_6=function(N){if(E.fileExtensionIs(N,".json")){if(!Be){var j=_e.filter((function(N){return E.endsWith(N,".json")}));var q=E.map(E.getRegularExpressionsForWildcards(j,R,"files"),(function(E){return"^"+E+"$"}));Be=q?q.map((function(N){return E.getRegexFromPattern(N,$.useCaseSensitiveFileNames)})):E.emptyArray}var le=E.findIndex(Be,(function(E){return E.test(N)}));if(le!==-1){var Ee=G(N);if(!ie.has(Ee)&&!ce.has(Ee)){ce.set(Ee,N)}}return"continue"}if(hasFileWithHigherPriorityExtension(N,ie,ae,Te,G)){return"continue"}removeWildcardFilesWithLowerPriorityExtension(N,ae,Te,G);var we=G(N);if(!ie.has(we)&&!ae.has(we)){ae.set(we,N)}};for(var je=0,Ue=$.readDirectory(R,we,Ee,_e,undefined);jeR}function matchesExclude(N,R,j,$){return matchesExcludeWorker(N,E.filter(R,(function(E){return!invalidDotDotAfterRecursiveWildcard(E)})),j,$)}E.matchesExclude=matchesExclude;function matchesExcludeWorker(N,R,j,$,q){var G=E.getRegularExpressionForWildcard(R,E.combinePaths(E.normalizePath($),q),"exclude");var ie=G&&E.getRegexFromPattern(G,j);if(!ie)return false;if(ie.test(N))return true;return!E.hasExtension(N)&&ie.test(E.ensureTrailingDirectorySeparator(N))}function validateSpecs(N,R,j,$,q){return N.filter((function(N){if(!E.isString(N))return false;var $=specToDiagnostic(N,j);if($!==undefined){R.push(createDiagnostic.apply(void 0,$))}return $===undefined}));function createDiagnostic(N,R){var j=E.getTsConfigPropArrayElementValue($,q,R);return j?E.createDiagnosticForNodeInSourceFile($,j,N,R):E.createCompilerDiagnostic(N,R)}}function specToDiagnostic(N,R){if(R&&Le.test(N)){return[E.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}else if(invalidDotDotAfterRecursiveWildcard(N)){return[E.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}}function getWildcardDirectories(N,R,j){var $=N.validatedIncludeSpecs,q=N.validatedExcludeSpecs;var G=E.getRegularExpressionForWildcard(q,R,"exclude");var ie=G&&new RegExp(G,j?"":"i");var ae={};if($!==undefined){var ce=[];for(var le=0,_e=$;le<_e.length;le++){var Ee=_e[le];var Te=E.normalizePath(E.combinePaths(R,Ee));if(ie&&ie.test(Te)){continue}var we=getWildcardDirectoryFromSpec(Te,j);if(we){var Ie=we.key,Ne=we.flags;var Me=ae[Ie];if(Me===undefined||Me0);var $={sourceFile:N.configFile,commandLine:{options:N}};R.setOwnMap(R.getOrCreateMapOfCacheRedirects($));j===null||j===void 0?void 0:j.setOwnMap(j.getOrCreateMapOfCacheRedirects($))}R.setOwnOptions(N);j===null||j===void 0?void 0:j.setOwnOptions(N)}function createPerDirectoryResolutionCache(N,R,j){return{getOrCreateCacheForDirectory:getOrCreateCacheForDirectory,clear:clear,update:update};function clear(){j.clear()}function update(E){updateRedirectsMap(E,j)}function getOrCreateCacheForDirectory($,q){var G=E.toPath($,N,R);return getOrCreateCache(j,q,G,(function(){return new E.Map}))}}function createModuleResolutionCache(N,R,j,q,G){var ie=createPerDirectoryResolutionCache(N,R,q||(q=createCacheWithRedirects(j)));G||(G=createCacheWithRedirects(j));var ae=createPackageJsonInfoCache(N,R);return $($($({},ae),ie),{getOrCreateCacheForModuleName:getOrCreateCacheForModuleName,clear:clear,update:update,getPackageJsonInfoCache:function(){return ae}});function clear(){ie.clear();G.clear();ae.clear()}function update(E){updateRedirectsMap(E,q,G)}function getOrCreateCacheForModuleName(N,R){E.Debug.assert(!E.isExternalModuleNameRelative(N));return getOrCreateCache(G,R,N,createPerModuleNameCache)}function createPerModuleNameCache(){var j=new E.Map;return{get:get,set:set};function get($){return j.get(E.toPath($,N,R))}function set($,q){var G=E.toPath($,N,R);if(j.has(G)){return}j.set(G,q);var ie=q.resolvedModule&&(q.resolvedModule.originalPath||q.resolvedModule.resolvedFileName);var ae=ie&&getCommonPrefix(G,ie);var ce=G;while(ce!==ae){var le=E.getDirectoryPath(ce);if(le===ce||j.has(le)){break}j.set(le,q);ce=le}}function getCommonPrefix(j,$){var q=E.toPath(E.getDirectoryPath($),N,R);var G=0;var ie=Math.min(j.length,q.length);while(G$){$=ae}if($===1){return $}}return $}break;case 260:{var ce=0;E.forEachChild(N,(function(N){var j=getModuleInstanceStateCached(N,R);switch(j){case 0:return;case 2:ce=2;return;case 1:ce=1;return true;default:E.Debug.assertNever(j)}}));return ce}case 259:return getModuleInstanceState(N,R);case 79:if(N.isInJSDocNamespace){return 0}}return 1}function getModuleInstanceStateForAliasTarget(N,R){var j=N.propertyName||N.name;var $=N.parent;while($){if(E.isBlock($)||E.isModuleBlock($)||E.isSourceFile($)){var q=$.statements;var G=void 0;for(var ie=0,ae=q;ieG){G=le}if(G===1){return G}}}if(G!==undefined){return G}}$=$.parent}return 1}var R;(function(E){E[E["None"]=0]="None";E[E["IsContainer"]=1]="IsContainer";E[E["IsBlockScopedContainer"]=2]="IsBlockScopedContainer";E[E["IsControlFlowContainer"]=4]="IsControlFlowContainer";E[E["IsFunctionLike"]=8]="IsFunctionLike";E[E["IsFunctionExpression"]=16]="IsFunctionExpression";E[E["HasLocals"]=32]="HasLocals";E[E["IsInterface"]=64]="IsInterface";E[E["IsObjectLiteralOrClassExpressionMethod"]=128]="IsObjectLiteralOrClassExpressionMethod"})(R||(R={}));function initFlowNode(N){E.Debug.attachFlowNodeDebugInfo(N);return N}var q=createBinder();function bindSourceFile(N,R){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("bind","bindSourceFile",{path:N.path},true);E.performance.mark("beforeBind");E.perfLogger.logStartBindFile(""+N.fileName);q(N,R);E.perfLogger.logStopBindFile();E.performance.mark("afterBind");E.performance.measure("Bind","beforeBind","afterBind");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}E.bindSourceFile=bindSourceFile;function createBinder(){var N;var R;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve=false;var qe=0;var He;var Ge;var Ke={flags:1};var Qe={flags:1};var Xe=createBindBinaryExpressionFlow();function createDiagnosticForNode(R,j,$,q,G){return E.createDiagnosticForNodeInSourceFile(E.getSourceFileOfNode(R)||N,R,j,$,q,G)}function bindSourceFile(j,$){N=j;R=$;q=E.getEmitScriptTarget(R);Je=bindInStrictMode(N,$);Ge=new E.Set;qe=0;He=E.objectAllocator.getSymbolConstructor();E.Debug.attachFlowNodeDebugInfo(Ke);E.Debug.attachFlowNodeDebugInfo(Qe);if(!N.locals){bind(N);N.symbolCount=qe;N.classifiableNames=Ge;delayedBindJSDocTypedefTag()}N=undefined;R=undefined;q=undefined;G=undefined;ie=undefined;ae=undefined;ce=undefined;le=undefined;_e=undefined;Ee=false;Te=undefined;we=undefined;Ie=undefined;Ne=undefined;Me=undefined;Le=undefined;Be=undefined;Ue=undefined;ze=false;Ve=false;We=0}return bindSourceFile;function bindInStrictMode(N,R){if(E.getStrictOptionValue(R,"alwaysStrict")&&!N.isDeclarationFile){return true}else{return!!N.externalModuleIndicator}}function createSymbol(E,N){qe++;return new He(E,N)}function addDeclarationToSymbol(N,R,j){N.flags|=j;R.symbol=N;N.declarations=E.appendIfUnique(N.declarations,R);if(j&(32|384|1536|3)&&!N.exports){N.exports=E.createSymbolTable()}if(j&(32|64|2048|4096)&&!N.members){N.members=E.createSymbolTable()}if(N.constEnumOnlyModule&&N.flags&(16|32|256)){N.constEnumOnlyModule=false}if(j&111551){E.setValueDeclaration(N,R)}}function getDeclarationName(N){if(N.kind===269){return N.isExportEquals?"export=":"default"}var R=E.getNameOfDeclaration(N);if(R){if(E.isAmbientModule(N)){var j=E.getTextOfIdentifierOrLiteral(R);return E.isGlobalScopeAugmentation(N)?"__global":'"'+j+'"'}if(R.kind===160){var $=R.expression;if(E.isStringOrNumericLiteralLike($)){return E.escapeLeadingUnderscores($.text)}if(E.isSignedNumericLiteral($)){return E.tokenToString($.operator)+$.operand.text}else{E.Debug.fail("Only computed properties with literal names have declaration names")}}if(E.isPrivateIdentifier(R)){var q=E.getContainingClass(N);if(!q){return undefined}var G=q.symbol;return E.getSymbolNameForPrivateIdentifier(G,R.escapedText)}return E.isPropertyNameLiteral(R)?E.getEscapedTextOfIdentifierOrLiteral(R):undefined}switch(N.kind){case 169:return"__constructor";case 177:case 172:case 318:return"__call";case 178:case 173:return"__new";case 174:return"__index";case 270:return"__export";case 300:return"export=";case 219:if(E.getAssignmentDeclarationKind(N)===2){return"export="}E.Debug.fail("Unknown binary declaration kind");break;case 312:return E.isJSDocConstructSignature(N)?"__new":"__call";case 162:E.Debug.assert(N.parent.kind===312,"Impossible parameter parent kind",(function(){return"parent is: "+(E.SyntaxKind?E.SyntaxKind[N.parent.kind]:N.parent.kind)+", expected JSDocFunctionType"}));var ie=N.parent;var ae=ie.parameters.indexOf(N);return"arg"+ae}}function getDisplayName(N){return E.isNamedDeclaration(N)?E.declarationNameToString(N.name):E.unescapeLeadingUnderscores(E.Debug.checkDefined(getDeclarationName(N)))}function declareSymbol(R,$,q,G,ie,ae,ce){E.Debug.assert(ce||!E.hasDynamicName(q));var le=E.hasSyntacticModifier(q,512)||E.isExportSpecifier(q)&&q.name.escapedText==="default";var _e=ce?"__computed":le&&$?"default":getDeclarationName(q);var Ee;if(_e===undefined){Ee=createSymbol(0,"__missing")}else{Ee=R.get(_e);if(G&2885600){Ge.add(_e)}if(!Ee){R.set(_e,Ee=createSymbol(0,_e));if(ae)Ee.isReplaceableByMethod=true}else if(ae&&!Ee.isReplaceableByMethod){return Ee}else if(Ee.flags&ie){if(Ee.isReplaceableByMethod){R.set(_e,Ee=createSymbol(0,_e))}else if(!(G&3&&Ee.flags&67108864)){if(E.isNamedDeclaration(q)){E.setParent(q.name,q)}var Te=Ee.flags&2?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var we=true;if(Ee.flags&384||G&384){Te=E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;we=false}var Ie=false;if(E.length(Ee.declarations)){if(le){Te=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}else{if(Ee.declarations&&Ee.declarations.length&&(q.kind===269&&!q.isExportEquals)){Te=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}}}var Ne=[];if(E.isTypeAliasDeclaration(q)&&E.nodeIsMissing(q.type)&&E.hasSyntacticModifier(q,1)&&Ee.flags&(2097152|788968|1920)){Ne.push(createDiagnosticForNode(q,E.Diagnostics.Did_you_mean_0,"export type { "+E.unescapeLeadingUnderscores(q.name.escapedText)+" }"))}var Me=E.getNameOfDeclaration(q)||q;E.forEach(Ee.declarations,(function(R,j){var $=E.getNameOfDeclaration(R)||R;var q=createDiagnosticForNode($,Te,we?getDisplayName(R):undefined);N.bindDiagnostics.push(Ie?E.addRelatedInfo(q,createDiagnosticForNode(Me,j===0?E.Diagnostics.Another_export_default_is_here:E.Diagnostics.and_here)):q);if(Ie){Ne.push(createDiagnosticForNode($,E.Diagnostics.The_first_export_default_is_here))}}));var Le=createDiagnosticForNode(Me,Te,we?getDisplayName(q):undefined);N.bindDiagnostics.push(E.addRelatedInfo.apply(void 0,j([Le],Ne,false)));Ee=createSymbol(0,_e)}}}addDeclarationToSymbol(Ee,q,G);if(Ee.parent){E.Debug.assert(Ee.parent===$,"Existing symbol parent should match new one")}else{Ee.parent=$}return Ee}function declareModuleMember(N,R,j){var $=!!(E.getCombinedModifierFlags(N)&1)||jsdocTreatAsExported(N);if(R&2097152){if(N.kind===273||N.kind===263&&$){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}else{return declareSymbol(ie.locals,undefined,N,R,j)}}else{if(E.isJSDocTypeAlias(N))E.Debug.assert(E.isInJSFile(N));if(!E.isAmbientModule(N)&&($||ie.flags&64)){if(!ie.locals||E.hasSyntacticModifier(N,512)&&!getDeclarationName(N)){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}var q=R&111551?1048576:0;var G=declareSymbol(ie.locals,undefined,N,q,j);G.exportSymbol=declareSymbol(ie.symbol.exports,ie.symbol,N,R,j);N.localSymbol=G;return G}else{return declareSymbol(ie.locals,undefined,N,R,j)}}}function jsdocTreatAsExported(N){if(N.parent&&E.isModuleDeclaration(N)){N=N.parent}if(!E.isJSDocTypeAlias(N))return false;if(!E.isJSDocEnumTag(N)&&!!N.fullName)return true;var R=E.getNameOfDeclaration(N);if(!R)return false;if(E.isPropertyAccessEntityNameExpression(R.parent)&&isTopLevelNamespaceAssignment(R.parent))return true;if(E.isDeclaration(R.parent)&&E.getCombinedModifierFlags(R.parent)&1)return true;return false}function bindContainer(N,R){var j=ie;var $=ae;var q=ce;if(R&1){if(N.kind!==212){ae=ie}ie=ce=N;if(R&32){ie.locals=E.createSymbolTable()}addToContainerChain(ie)}else if(R&2){ce=N;ce.locals=undefined}if(R&4){var G=Te;var le=we;var _e=Ie;var Me=Ne;var Le=Be;var je=Ue;var Je=ze;var Ve=R&16&&!E.hasSyntacticModifier(N,256)&&!N.asteriskToken&&!!E.getImmediatelyInvokedFunctionExpression(N);if(!Ve){Te=initFlowNode({flags:2});if(R&(16|128)){Te.node=N}}Ne=Ve||N.kind===169||N.kind===168||E.isInJSFile(N)&&(N.kind===254||N.kind===211)?createBranchLabel():undefined;Be=undefined;we=undefined;Ie=undefined;Ue=undefined;ze=false;bindChildren(N);N.flags&=~2816;if(!(Te.flags&1)&&R&8&&E.nodeIsPresent(N.body)){N.flags|=256;if(ze)N.flags|=512;N.endFlowNode=Te}if(N.kind===300){N.flags|=We;N.endFlowNode=Te}if(Ne){addAntecedent(Ne,Te);Te=finishFlowLabel(Ne);if(N.kind===169||N.kind===168||E.isInJSFile(N)&&(N.kind===254||N.kind===211)){N.returnFlowNode=Te}}if(!Ve){Te=G}we=le;Ie=_e;Ne=Me;Be=Le;Ue=je;ze=Je}else if(R&64){Ee=false;bindChildren(N);N.flags=Ee?N.flags|128:N.flags&~128}else{bindChildren(N)}ie=j;ae=$;ce=q}function bindEachFunctionsFirst(E){bindEach(E,(function(E){return E.kind===254?bind(E):undefined}));bindEach(E,(function(E){return E.kind!==254?bind(E):undefined}))}function bindEach(N,R){if(R===void 0){R=bind}if(N===undefined){return}E.forEach(N,R)}function bindEachChild(N){E.forEachChild(N,bind,bindEach)}function bindChildren(N){var j=Ve;Ve=false;if(checkUnreachable(N)){bindEachChild(N);bindJSDoc(N);Ve=j;return}if(N.kind>=235&&N.kind<=251&&!R.allowUnreachableCode){N.flowNode=Te}switch(N.kind){case 239:bindWhileStatement(N);break;case 238:bindDoStatement(N);break;case 240:bindForStatement(N);break;case 241:case 242:bindForInOrForOfStatement(N);break;case 237:bindIfStatement(N);break;case 245:case 249:bindReturnOrThrow(N);break;case 244:case 243:bindBreakOrContinueStatement(N);break;case 250:bindTryStatement(N);break;case 247:bindSwitchStatement(N);break;case 261:bindCaseBlock(N);break;case 287:bindCaseClause(N);break;case 236:bindExpressionStatement(N);break;case 248:bindLabeledStatement(N);break;case 217:bindPrefixUnaryExpressionFlow(N);break;case 218:bindPostfixUnaryExpressionFlow(N);break;case 219:if(E.isDestructuringAssignment(N)){Ve=j;bindDestructuringAssignmentFlow(N);return}Xe(N);break;case 213:bindDeleteExpressionFlow(N);break;case 220:bindConditionalExpressionFlow(N);break;case 252:bindVariableDeclarationFlow(N);break;case 204:case 205:bindAccessExpressionFlow(N);break;case 206:bindCallExpressionFlow(N);break;case 228:bindNonNullExpressionFlow(N);break;case 340:case 333:case 334:bindJSDocTypeAlias(N);break;case 300:{bindEachFunctionsFirst(N.statements);bind(N.endOfFileToken);break}case 233:case 260:bindEachFunctionsFirst(N.statements);break;case 201:bindBindingElementFlow(N);break;case 203:case 202:case 291:case 223:Ve=j;default:bindEachChild(N);break}bindJSDoc(N);Ve=j}function isNarrowingExpression(E){switch(E.kind){case 79:case 80:case 108:case 204:case 205:return containsNarrowableReference(E);case 206:return hasNarrowableArgument(E);case 210:case 228:return isNarrowingExpression(E.expression);case 219:return isNarrowingBinaryExpression(E);case 217:return E.operator===53&&isNarrowingExpression(E.operand);case 214:return isNarrowingExpression(E.expression)}return false}function isNarrowableReference(N){return E.isDottedName(N)||(E.isPropertyAccessExpression(N)||E.isNonNullExpression(N)||E.isParenthesizedExpression(N))&&isNarrowableReference(N.expression)||E.isBinaryExpression(N)&&N.operatorToken.kind===27&&isNarrowableReference(N.right)||E.isElementAccessExpression(N)&&E.isStringOrNumericLiteralLike(N.argumentExpression)&&isNarrowableReference(N.expression)||E.isAssignmentExpression(N)&&isNarrowableReference(N.left)}function containsNarrowableReference(N){return isNarrowableReference(N)||E.isOptionalChain(N)&&containsNarrowableReference(N.expression)}function hasNarrowableArgument(E){if(E.arguments){for(var N=0,R=E.arguments;N=117&&R.originalKeywordKind<=125){N.bindDiagnostics.push(createDiagnosticForNode(R,getStrictModeIdentifierMessage(R),E.declarationNameToString(R)))}else if(R.originalKeywordKind===131){if(E.isExternalModule(N)&&E.isInTopLevelContext(R)){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,E.declarationNameToString(R)))}else if(R.flags&32768){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}else if(R.originalKeywordKind===125&&R.flags&8192){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}}function getStrictModeIdentifierMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function checkPrivateIdentifier(R){if(R.escapedText==="#constructor"){if(!N.parseDiagnostics.length){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.constructor_is_a_reserved_word,E.declarationNameToString(R)))}}}function checkStrictModeBinaryExpression(N){if(Je&&E.isLeftHandSideExpression(N.left)&&E.isAssignmentOperator(N.operatorToken.kind)){checkStrictModeEvalOrArguments(N,N.left)}}function checkStrictModeCatchClause(E){if(Je&&E.variableDeclaration){checkStrictModeEvalOrArguments(E,E.variableDeclaration.name)}}function checkStrictModeDeleteExpression(R){if(Je&&R.expression.kind===79){var j=E.getErrorSpanForNode(N,R.expression);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,E.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function isEvalOrArgumentsIdentifier(N){return E.isIdentifier(N)&&(N.escapedText==="eval"||N.escapedText==="arguments")}function checkStrictModeEvalOrArguments(R,j){if(j&&j.kind===79){var $=j;if(isEvalOrArgumentsIdentifier($)){var q=E.getErrorSpanForNode(N,j);N.bindDiagnostics.push(E.createFileDiagnostic(N,q.start,q.length,getStrictModeEvalOrArgumentsMessage(R),E.idText($)))}}}function getStrictModeEvalOrArgumentsMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Invalid_use_of_0_in_strict_mode}function checkStrictModeFunctionName(E){if(Je){checkStrictModeEvalOrArguments(E,E.name)}}function getStrictModeBlockScopeFunctionDeclarationMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function checkStrictModeFunctionDeclaration(R){if(q<2){if(ce.kind!==300&&ce.kind!==259&&!E.isFunctionLikeOrClassStaticBlockDeclaration(ce)){var j=E.getErrorSpanForNode(N,R);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,getStrictModeBlockScopeFunctionDeclarationMessage(R)))}}}function checkStrictModeNumericLiteral(R){if(Je&&R.numericLiteralFlags&32){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}}function checkStrictModePostfixUnaryExpression(E){if(Je){checkStrictModeEvalOrArguments(E,E.operand)}}function checkStrictModePrefixUnaryExpression(E){if(Je){if(E.operator===45||E.operator===46){checkStrictModeEvalOrArguments(E,E.operand)}}}function checkStrictModeWithStatement(N){if(Je){errorOnFirstToken(N,E.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}}function checkStrictModeLabeledStatement(N){if(Je&&R.target>=2){if(E.isDeclarationStatement(N.statement)||E.isVariableStatement(N.statement)){errorOnFirstToken(N.label,E.Diagnostics.A_label_is_not_allowed_here)}}}function errorOnFirstToken(R,j,$,q,G){var ie=E.getSpanOfTokenAtPosition(N,R.pos);N.bindDiagnostics.push(E.createFileDiagnostic(N,ie.start,ie.length,j,$,q,G))}function errorOrSuggestionOnNode(E,N,R){errorOrSuggestionOnRange(E,N,N,R)}function errorOrSuggestionOnRange(R,j,$,q){addErrorOrSuggestionDiagnostic(R,{pos:E.getTokenPosOfNode(j,N),end:$.end},q)}function addErrorOrSuggestionDiagnostic(R,j,q){var G=E.createFileDiagnostic(N,j.pos,j.end-j.pos,q);if(R){N.bindDiagnostics.push(G)}else{N.bindSuggestionDiagnostics=E.append(N.bindSuggestionDiagnostics,$($({},G),{category:E.DiagnosticCategory.Suggestion}))}}function bind(N){if(!N){return}E.setParent(N,G);var R=Je;bindWorker(N);if(N.kind>158){var j=G;G=N;var $=getContainerFlags(N);if($===0){bindChildren(N)}else{bindContainer(N,$)}G=j}else{var j=G;if(N.kind===1)G=N;bindJSDoc(N);G=j}Je=R}function bindJSDoc(N){if(E.hasJSDocNodes(N)){if(E.isInJSFile(N)){for(var R=0,j=N.jsDoc;R>",0,zt);var Lr=createSignature(undefined,undefined,undefined,E.emptyArray,zt,undefined,0,0);var Br=createSignature(undefined,undefined,undefined,E.emptyArray,Jt,undefined,0,0);var jr=createSignature(undefined,undefined,undefined,E.emptyArray,zt,undefined,0,0);var Ur=createSignature(undefined,undefined,undefined,E.emptyArray,pr,undefined,0,0);var zr=createIndexInfo(tr,er,true);var Wr=new E.Map;var $r={get yieldType(){return E.Debug.fail("Not supported")},get returnType(){return E.Debug.fail("Not supported")},get nextType(){return E.Debug.fail("Not supported")}};var Jr=createIterationTypes(zt,zt,zt);var Vr=createIterationTypes(zt,zt,Ht);var qr=createIterationTypes(dr,zt,Gt);var Hr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:getGlobalAsyncIteratorType,getGlobalIterableType:getGlobalAsyncIterableType,getGlobalIterableIteratorType:getGlobalAsyncIterableIteratorType,getGlobalGeneratorType:getGlobalAsyncGeneratorType,resolveIterationType:getAwaitedType,mustHaveANextMethodDiagnostic:E.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property};var Gr={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:getGlobalIteratorType,getGlobalIterableType:getGlobalIterableType,getGlobalIterableIteratorType:getGlobalIterableIteratorType,getGlobalGeneratorType:getGlobalGeneratorType,resolveIterationType:function(E,N){return E},mustHaveANextMethodDiagnostic:E.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property};var Kr;var Qr=new E.Map;var Xr=false;var Yr;var Zr;var en;var tn;var rn;var nn;var an;var on;var sn;var cn;var ln;var un;var dn;var pn;var mn;var gn;var hn;var _n;var yn;var vn;var bn;var xn;var Sn;var En;var Tn;var kn;var Cn;var Dn;var An;var wn;var Pn;var Fn;var In;var Nn;var On;var Mn;var Rn;var Ln;var Bn;var jn;var Un;var zn;var Wn=new E.Map;var $n=0;var Jn=0;var Vn=0;var qn=false;var Hn=0;var Gn;var Kn;var Qn;var Xn=getStringLiteralType("");var Yn=getNumberLiteralType(0);var Zn=getBigIntLiteralType({negative:false,base10Value:"0"});var ei=[];var ti=[];var ri=[];var ni=0;var ii=10;var ai=[];var oi=[];var si=[];var ci=[];var li=[];var ui=[];var di=[];var pi=[];var fi=[];var mi=[];var gi=[];var hi=[];var _i=[];var yi=[];var vi=[];var bi=[];var xi=E.createDiagnosticCollection();var Si=E.createDiagnosticCollection();var Ei=new E.Map(E.getEntries({string:er,number:tr,bigint:rr,boolean:cr,symbol:lr,undefined:Gt}));var Ti=createTypeofType();var ki;var Ci;var Di;var Ai=new E.Map;var wi=new E.Map;var Pi=new E.Map;var Fi=new E.Map;var Ii=new E.Map;var Ni=new E.Map;var Oi=E.createSymbolTable();Oi.set(vt.escapedName,vt);initializeTypeChecker();return Tt;function getJsxNamespace(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(E.isJsxOpeningFragment(N)){if(R.localJsxFragmentNamespace){return R.localJsxFragmentNamespace}var j=R.pragmas.get("jsxfrag");if(j){var $=E.isArray(j)?j[0]:j;R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);E.visitNode(R.localJsxFragmentFactory,markAsSynthetic);if(R.localJsxFragmentFactory){return R.localJsxFragmentNamespace=E.getFirstIdentifier(R.localJsxFragmentFactory).escapedText}}var q=getJsxFragmentFactoryEntity(N);if(q){R.localJsxFragmentFactory=q;return R.localJsxFragmentNamespace=E.getFirstIdentifier(q).escapedText}}else{if(R.localJsxNamespace){return R.localJsxNamespace}var G=R.pragmas.get("jsx");if(G){var $=E.isArray(G)?G[0]:G;R.localJsxFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);E.visitNode(R.localJsxFactory,markAsSynthetic);if(R.localJsxFactory){return R.localJsxNamespace=E.getFirstIdentifier(R.localJsxFactory).escapedText}}}}}if(!ki){ki="React";if(Xe.jsxFactory){Ci=E.parseIsolatedEntityName(Xe.jsxFactory,Ye);E.visitNode(Ci,markAsSynthetic);if(Ci){ki=E.getFirstIdentifier(Ci).escapedText}}else if(Xe.reactNamespace){ki=E.escapeLeadingUnderscores(Xe.reactNamespace)}}if(!Ci){Ci=E.factory.createQualifiedName(E.factory.createIdentifier(E.unescapeLeadingUnderscores(ki)),"createElement")}return ki;function markAsSynthetic(N){E.setTextRangePosEnd(N,-1,-1);return E.visitEachChild(N,markAsSynthetic,E.nullTransformationContext)}}function getEmitResolver(E,N){getDiagnostics(E,N);return ht}function lookupOrIssueError(N,R,j,$,q,G){var ie=N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G);var ae=xi.lookup(ie);if(ae){return ae}else{xi.add(ie);return ie}}function errorSkippedOn(E,N,R,j,$,q,G){var ie=error(N,R,j,$,q,G);ie.skippedOn=E;return ie}function createError(N,R,j,$,q,G){return N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G)}function error(E,N,R,j,$,q){var G=createError(E,N,R,j,$,q);xi.add(G);return G}function addErrorOrSuggestion(N,R){if(N){xi.add(R)}else{Si.add($($({},R),{category:E.DiagnosticCategory.Suggestion}))}}function errorOrSuggestion(N,R,j,$,q,G,ie){if(R.pos<0||R.end<0){if(!N){return}var ae=E.getSourceFileOfNode(R);addErrorOrSuggestion(N,"message"in j?E.createFileDiagnostic(ae,0,0,j,$,q,G,ie):E.createDiagnosticForFileFromMessageChain(ae,j));return}addErrorOrSuggestion(N,"message"in j?E.createDiagnosticForNode(R,j,$,q,G,ie):E.createDiagnosticForNodeFromMessageChain(R,j))}function errorAndMaybeSuggestAwait(N,R,j,$,q,G,ie){var ae=error(N,j,$,q,G,ie);if(R){var ce=E.createDiagnosticForNode(N,E.Diagnostics.Did_you_forget_to_use_await);E.addRelatedInfo(ae,ce)}return ae}function addDeprecatedSuggestionWorker(N,R){var j=Array.isArray(N)?E.forEach(N,E.getJSDocDeprecatedTag):E.getJSDocDeprecatedTag(N);if(j){E.addRelatedInfo(R,E.createDiagnosticForNode(j,E.Diagnostics.The_declaration_was_marked_as_deprecated_here))}Si.add(R);return R}function addDeprecatedSuggestion(N,R,j){var $=E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,j);return addDeprecatedSuggestionWorker(R,$)}function addDeprecatedSuggestionWithSignature(N,R,j,$){var q=j?E.createDiagnosticForNode(N,E.Diagnostics.The_signature_0_of_1_is_deprecated,$,j):E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,$);return addDeprecatedSuggestionWorker(R,q)}function createSymbol(E,N,R){je++;var j=new Ne(E|33554432,N);j.checkFlags=R||0;return j}function getExcludedSymbolFlags(E){var N=0;if(E&2)N|=111551;if(E&1)N|=111550;if(E&4)N|=0;if(E&8)N|=900095;if(E&16)N|=110991;if(E&32)N|=899503;if(E&64)N|=788872;if(E&256)N|=899327;if(E&128)N|=899967;if(E&512)N|=110735;if(E&8192)N|=103359;if(E&32768)N|=46015;if(E&65536)N|=78783;if(E&262144)N|=526824;if(E&524288)N|=788968;if(E&2097152)N|=2097152;return N}function recordMergedSymbol(E,N){if(!N.mergeId){N.mergeId=ae;ae++}ai[N.mergeId]=E}function cloneSymbol(N){var R=createSymbol(N.flags,N.escapedName);R.declarations=N.declarations?N.declarations.slice():[];R.parent=N.parent;if(N.valueDeclaration)R.valueDeclaration=N.valueDeclaration;if(N.constEnumOnlyModule)R.constEnumOnlyModule=true;if(N.members)R.members=new E.Map(N.members);if(N.exports)R.exports=new E.Map(N.exports);recordMergedSymbol(R,N);return R}function mergeSymbol(N,R,j){if(j===void 0){j=false}if(!(N.flags&getExcludedSymbolFlags(R.flags))||(R.flags|N.flags)&67108864){if(R===N){return N}if(!(N.flags&33554432)){var $=resolveSymbol(N);if($===jt){return R}N=cloneSymbol($)}if(R.flags&512&&N.flags&512&&N.constEnumOnlyModule&&!R.constEnumOnlyModule){N.constEnumOnlyModule=false}N.flags|=R.flags;if(R.valueDeclaration){E.setValueDeclaration(N,R.valueDeclaration)}E.addRange(N.declarations,R.declarations);if(R.members){if(!N.members)N.members=E.createSymbolTable();mergeSymbolTable(N.members,R.members,j)}if(R.exports){if(!N.exports)N.exports=E.createSymbolTable();mergeSymbolTable(N.exports,R.exports,j)}if(!j){recordMergedSymbol(N,R)}}else if(N.flags&1024){if(N!==bt){error(R.declarations&&E.getNameOfDeclaration(R.declarations[0]),E.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,symbolToString(N))}}else{var q=!!(N.flags&384||R.flags&384);var G=!!(N.flags&2||R.flags&2);var ie=q?E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:G?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var ae=R.declarations&&E.getSourceFileOfNode(R.declarations[0]);var ce=N.declarations&&E.getSourceFileOfNode(N.declarations[0]);var le=symbolToString(R);if(ae&&ce&&Kr&&!q&&ae!==ce){var _e=E.comparePaths(ae.path,ce.path)===-1?ae:ce;var Ee=_e===ae?ce:ae;var Te=E.getOrUpdate(Kr,_e.path+"|"+Ee.path,(function(){return{firstFile:_e,secondFile:Ee,conflictingSymbols:new E.Map}}));var we=E.getOrUpdate(Te.conflictingSymbols,le,(function(){return{isBlockScoped:G,firstFileLocations:[],secondFileLocations:[]}}));addDuplicateLocations(we.firstFileLocations,R);addDuplicateLocations(we.secondFileLocations,N)}else{addDuplicateDeclarationErrorsForSymbols(R,ie,le,N);addDuplicateDeclarationErrorsForSymbols(N,ie,le,R)}}return N;function addDuplicateLocations(N,R){if(R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];E.pushIfUnique(N,q)}}}}function addDuplicateDeclarationErrorsForSymbols(N,R,j,$){E.forEach(N.declarations,(function(E){addDuplicateDeclarationError(E,R,j,$.declarations)}))}function addDuplicateDeclarationError(N,R,j,$){var q=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;var G=lookupOrIssueError(q,R,j);var _loop_7=function(N){var R=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;if(R===q)return"continue";G.relatedInformation=G.relatedInformation||[];var $=E.createDiagnosticForNode(R,E.Diagnostics._0_was_also_declared_here,j);var ie=E.createDiagnosticForNode(R,E.Diagnostics.and_here);if(E.length(G.relatedInformation)>=5||E.some(G.relatedInformation,(function(N){return E.compareDiagnostics(N,ie)===0||E.compareDiagnostics(N,$)===0})))return"continue";E.addRelatedInfo(G,!E.length(G.relatedInformation)?$:ie)};for(var ie=0,ae=$||E.emptyArray;ie1);return}if(E.isGlobalScopeAugmentation(q)){mergeSymbolTable(yt,q.symbol.exports)}else{var G=!(N.parent.parent.flags&8388608)?E.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found:undefined;var ie=resolveExternalModuleNameWorker(N,N,G,true);if(!ie){return}ie=resolveExternalModuleSymbol(ie);if(ie.flags&1920){if(E.some(Zr,(function(E){return ie===E.symbol}))){var ae=mergeSymbol(q.symbol,ie,true);if(!en){en=new E.Map}en.set(N.text,ae)}else{if(((j=ie.exports)===null||j===void 0?void 0:j.get("__export"))&&(($=q.symbol.exports)===null||$===void 0?void 0:$.size)){var ce=getResolvedMembersOrExportsOfSymbol(ie,"resolvedExports");for(var le=0,_e=E.arrayFrom(q.symbol.exports.entries());le<_e.length;le++){var Ee=_e[le],Te=Ee[0],we=Ee[1];if(ce.has(Te)&&!ie.exports.has(Te)){mergeSymbol(ce.get(Te),we)}}}mergeSymbol(ie,q.symbol)}}else{error(N,E.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,N.text)}}}function addToSymbolTable(N,R,j){R.forEach((function(R,$){var q=N.get($);if(q){E.forEach(q.declarations,addDeclarationDiagnostic(E.unescapeLeadingUnderscores($),j))}else{N.set($,R)}}));function addDeclarationDiagnostic(N,R){return function(j){return xi.add(E.createDiagnosticForNode(j,R,N))}}}function getSymbolLinks(E){if(E.flags&33554432)return E;var N=getSymbolId(E);return oi[N]||(oi[N]=new SymbolLinks)}function getNodeLinks(E){var N=getNodeId(E);return si[N]||(si[N]=new NodeLinks)}function isGlobalSourceFile(N){return N.kind===300&&!E.isExternalOrCommonJsModule(N)}function getSymbol(N,R,j){if(j){var $=getMergedSymbol(N.get(R));if($){E.Debug.assert((E.getCheckFlags($)&1)===0,"Should never get an instantiated symbol here.");if($.flags&j){return $}if($.flags&2097152){var q=resolveAlias($);if(q===jt||q.flags&j){return $}}}}}function getSymbolsOfParameterPropertyDeclaration(N,R){var j=N.parent;var $=N.parent.parent;var q=getSymbol(j.locals,R,111551);var G=getSymbol(getMembersOfSymbol($.symbol),R,111551);if(q&&G){return[q,G]}return E.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function isBlockScopedNameDeclaredBeforeUse(N,R){var j=E.getSourceFileOfNode(N);var $=E.getSourceFileOfNode(R);var G=E.getEnclosingBlockScopeContainer(N);if(j!==$){if(Ze&&(j.externalModuleIndicator||$.externalModuleIndicator)||!E.outFile(Xe)||isInTypeQuery(R)||N.flags&8388608){return true}if(isUsedInFunctionOrInstanceProperty(R,N)){return true}var ie=q.getSourceFiles();return ie.indexOf(j)<=ie.indexOf($)}if(N.pos<=R.pos&&!(E.isPropertyDeclaration(N)&&E.isThisProperty(R.parent)&&!N.initializer&&!N.exclamationToken)){if(N.kind===201){var ae=E.getAncestor(R,201);if(ae){return E.findAncestor(ae,E.isBindingElement)!==E.findAncestor(N,E.isBindingElement)||N.posN.end){return false}var $=E.findAncestor(R,(function(R){if(R===N){return"quit"}switch(R.kind){case 212:return true;case 165:return j&&(E.isPropertyDeclaration(N)&&R.parent===N.parent||E.isParameterPropertyDeclaration(N,N.parent)&&R.parent===N.parent.parent)?"quit":true;case 233:switch(R.parent.kind){case 170:case 167:case 171:return true;default:return false}default:return false}}));return $===undefined}}function useOuterVariableScopeInParameter(N,R,j){var $=E.getEmitScriptTarget(Xe);var q=R;if(E.isParameter(j)&&q.body&&N.valueDeclaration&&N.valueDeclaration.pos>=q.body.pos&&N.valueDeclaration.end<=q.body.end){if($>=2){var G=getNodeLinks(q);if(G.declarationRequiresScopeChange===undefined){G.declarationRequiresScopeChange=E.forEach(q.parameters,requiresScopeChange)||false}return!G.declarationRequiresScopeChange}}return false;function requiresScopeChange(E){return requiresScopeChangeWorker(E.name)||!!E.initializer&&requiresScopeChangeWorker(E.initializer)}function requiresScopeChangeWorker(N){switch(N.kind){case 212:case 211:case 254:case 169:return false;case 167:case 170:case 171:case 291:return requiresScopeChangeWorker(N.name);case 165:if(E.hasStaticModifier(N)){return $<99||!et}return requiresScopeChangeWorker(N.name);default:if(E.isNullishCoalesce(N)||E.isOptionalChain(N)){return $<7}if(E.isBindingElement(N)&&N.dotDotDotToken&&E.isObjectBindingPattern(N.parent)){return $<4}if(E.isTypeNode(N))return false;return E.forEachChild(N,requiresScopeChangeWorker)||false}}}function resolveName(E,N,R,j,$,q,G,ie){if(G===void 0){G=false}return resolveNameHelper(E,N,R,j,$,q,G,getSymbol,ie)}function resolveNameHelper(N,R,j,$,q,G,ie,ae,ce){var le;var _e=N;var Ee;var Te;var we;var Ie;var Ne;var Me=false;var Le=N;var Be;var je=false;e:while(N){if(N.locals&&!isGlobalSourceFile(N)){if(Ee=ae(N.locals,R,j)){var Ue=true;if(E.isFunctionLike(N)&&Te&&Te!==N.body){if(j&Ee.flags&788968&&Te.kind!==315){Ue=Ee.flags&262144?Te===N.type||Te.kind===162||Te.kind===161:false}if(j&Ee.flags&3){if(useOuterVariableScopeInParameter(Ee,N,Te)){Ue=false}else if(Ee.flags&1){Ue=Te.kind===162||Te===N.type&&!!E.findAncestor(Ee.valueDeclaration,E.isParameter)}}}else if(N.kind===187){Ue=Te===N.trueType}if(Ue){break e}else{Ee=undefined}}}Me=Me||getIsDeferredContext(N,Te);switch(N.kind){case 300:if(!E.isExternalOrCommonJsModule(N))break;je=true;case 259:var ze=getSymbolOfNode(N).exports||He;if(N.kind===300||E.isModuleDeclaration(N)&&N.flags&8388608&&!E.isGlobalScopeAugmentation(N)){if(Ee=ze.get("default")){var We=E.getLocalSymbolForExportDefault(Ee);if(We&&Ee.flags&j&&We.escapedName===R){break e}Ee=undefined}var Je=ze.get(R);if(Je&&Je.flags===2097152&&(E.getDeclarationOfKind(Je,273)||E.getDeclarationOfKind(Je,272))){break}}if(R!=="default"&&(Ee=ae(ze,R,j&2623475))){if(E.isSourceFile(N)&&N.commonJsModuleIndicator&&!((le=Ee.declarations)===null||le===void 0?void 0:le.some(E.isJSDocTypeAlias))){Ee=undefined}else{break e}}break;case 258:if(Ee=ae(getSymbolOfNode(N).exports,R,j&8)){break e}break;case 165:if(!E.isStatic(N)){var Ve=findConstructorDeclaration(N.parent);if(Ve&&Ve.locals){if(ae(Ve.locals,R,j&111551)){Ie=N}}}break;case 255:case 224:case 256:if(Ee=ae(getSymbolOfNode(N).members||He,R,j&788968)){if(!isTypeParameterSymbolDeclaredInContainer(Ee,N)){Ee=undefined;break}if(Te&&E.isStatic(Te)){error(Le,E.Diagnostics.Static_members_cannot_reference_class_type_parameters);return undefined}break e}if(N.kind===224&&j&32){var qe=N.name;if(qe&&R===qe.escapedText){Ee=N.symbol;break e}}break;case 226:if(Te===N.expression&&N.parent.token===94){var Ge=N.parent.parent;if(E.isClassLike(Ge)&&(Ee=ae(getSymbolOfNode(Ge).members,R,j&788968))){if($){error(Le,E.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters)}return undefined}}break;case 160:Be=N.parent.parent;if(E.isClassLike(Be)||Be.kind===256){if(Ee=ae(getSymbolOfNode(Be).members,R,j&788968)){error(Le,E.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return undefined}}break;case 212:if(Xe.target>=2){break}case 167:case 169:case 170:case 171:case 254:if(j&3&&R==="arguments"){Ee=xt;break e}break;case 211:if(j&3&&R==="arguments"){Ee=xt;break e}if(j&16){var Ke=N.name;if(Ke&&R===Ke.escapedText){Ee=N.symbol;break e}}break;case 163:if(N.parent&&N.parent.kind===162){N=N.parent}if(N.parent&&(E.isClassElement(N.parent)||N.parent.kind===255)){N=N.parent}break;case 340:case 333:case 334:var Qe=E.getJSDocRoot(N);if(Qe){N=Qe.parent}break;case 162:if(Te&&(Te===N.initializer||Te===N.name&&E.isBindingPattern(Te))){if(!Ne){Ne=N}}break;case 201:if(Te&&(Te===N.initializer||Te===N.name&&E.isBindingPattern(Te))){if(E.isParameterDeclaration(N)&&!Ne){Ne=N}}break;case 188:if(j&262144){var Ye=N.typeParameter.name;if(Ye&&R===Ye.escapedText){Ee=N.typeParameter.symbol;break e}}break}if(isSelfReferenceLocation(N)){we=N}Te=N;N=N.parent}if(G&&Ee&&(!we||Ee!==we.symbol)){Ee.isReferenced|=j}if(!Ee){if(Te){E.Debug.assert(Te.kind===300);if(Te.commonJsModuleIndicator&&R==="exports"&&j&Te.symbol.flags){return Te.symbol}}if(!ie){Ee=ae(yt,R,j)}}if(!Ee){if(_e&&E.isInJSFile(_e)&&_e.parent){if(E.isRequireCall(_e.parent,false)){return St}}}if(!Ee){if($){if(!Le||!checkAndReportErrorForMissingPrefix(Le,R,q)&&!checkAndReportErrorForExtendingInterface(Le)&&!checkAndReportErrorForUsingTypeAsNamespace(Le,R,j)&&!checkAndReportErrorForExportingPrimitiveType(Le,R)&&!checkAndReportErrorForUsingTypeAsValue(Le,R,j)&&!checkAndReportErrorForUsingNamespaceModuleAsValue(Le,R,j)&&!checkAndReportErrorForUsingValueAsType(Le,R,j)){var Ze=void 0;if(ce&&niNe.pos&&Qe.parent.locals&&ae(Qe.parent.locals,pt.escapedName,j)===pt){error(Le,E.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,E.declarationNameToString(Ne.name),E.declarationNameToString(Le))}}if(Ee&&Le&&j&111551&&Ee.flags&2097152){checkSymbolUsageInExpressionContext(Ee,R,Le)}}return Ee}function checkSymbolUsageInExpressionContext(N,R,j){if(!E.isValidTypeOnlyAliasUseSite(j)){var $=getTypeOnlyAliasDeclaration(N);if($){var q=E.typeOnlyDeclarationIsExport($);var G=q?E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;var ie=q?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here;var ae=E.unescapeLeadingUnderscores(R);E.addRelatedInfo(error(j,G,ae),E.createDiagnosticForNode($,ie,ae))}}}function getIsDeferredContext(N,R){if(N.kind!==212&&N.kind!==211){return E.isTypeQueryNode(N)||(E.isFunctionLikeDeclaration(N)||N.kind===165&&!E.isStatic(N))&&(!R||R!==N.name)}if(R&&R===N.name){return false}if(N.asteriskToken||E.hasSyntacticModifier(N,256)){return true}return!E.getImmediatelyInvokedFunctionExpression(N)}function isSelfReferenceLocation(E){switch(E.kind){case 254:case 255:case 256:case 258:case 257:case 259:return true;default:return false}}function diagnosticName(N){return E.isString(N)?E.unescapeLeadingUnderscores(N):E.declarationNameToString(N)}function isTypeParameterSymbolDeclaredInContainer(N,R){if(N.declarations){for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===161){var G=E.isJSDocTemplateTag(q.parent)?E.getJSDocHost(q.parent):q.parent;if(G===R){return!(E.isJSDocTemplateTag(q.parent)&&E.find(q.parent.parent.tags,E.isJSDocTypeAlias))}}}}return false}function checkAndReportErrorForMissingPrefix(N,R,j){if(!E.isIdentifier(N)||N.escapedText!==R||isTypeReferenceIdentifier(N)||isInTypeQuery(N)){return false}var $=E.getThisContainer(N,false);var q=$;while(q){if(E.isClassLike(q.parent)){var G=getSymbolOfNode(q.parent);if(!G){break}var ie=getTypeOfSymbol(G);if(getPropertyOfType(ie,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,diagnosticName(j),symbolToString(G));return true}if(q===$&&!E.isStatic(q)){var ae=getDeclaredTypeOfSymbol(G).thisType;if(getPropertyOfType(ae,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,diagnosticName(j));return true}}}q=q.parent}return false}function checkAndReportErrorForExtendingInterface(N){var R=getEntityNameForExtendingInterface(N);if(R&&resolveEntityName(R,64,true)){error(N,E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,E.getTextOfNode(R));return true}return false}function getEntityNameForExtendingInterface(N){switch(N.kind){case 79:case 204:return N.parent?getEntityNameForExtendingInterface(N.parent):undefined;case 226:if(E.isEntityNameExpression(N.expression)){return N.expression}default:return undefined}}function checkAndReportErrorForUsingTypeAsNamespace(N,R,j){var $=1920|(E.isInJSFile(N)?111551:0);if(j===$){var q=resolveSymbol(resolveName(N,R,788968&~$,undefined,undefined,false));var G=N.parent;if(q){if(E.isQualifiedName(G)){E.Debug.assert(G.left===N,"Should only be resolving left side of qualified name as a namespace");var ie=G.right.escapedText;var ae=getPropertyOfType(getDeclaredTypeOfSymbol(q),ie);if(ae){error(G,E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,E.unescapeLeadingUnderscores(R),E.unescapeLeadingUnderscores(ie));return true}}error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,E.unescapeLeadingUnderscores(R));return true}}return false}function checkAndReportErrorForUsingValueAsType(N,R,j){if(j&(788968&~1920)){var $=resolveSymbol(resolveName(N,R,~788968&111551,undefined,undefined,false));if($&&!($.flags&1920)){error(N,E.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,E.unescapeLeadingUnderscores(R));return true}}return false}function isPrimitiveTypeName(E){return E==="any"||E==="string"||E==="number"||E==="boolean"||E==="never"||E==="unknown"}function checkAndReportErrorForExportingPrimitiveType(N,R){if(isPrimitiveTypeName(R)&&N.parent.kind===273){error(N,E.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,R);return true}return false}function checkAndReportErrorForUsingTypeAsValue(N,R,j){if(j&(111551&~1024)){if(isPrimitiveTypeName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,E.unescapeLeadingUnderscores(R));return true}var $=resolveSymbol(resolveName(N,R,788968&~111551,undefined,undefined,false));if($&&!($.flags&1024)){var q=E.unescapeLeadingUnderscores(R);if(isES2015OrLaterConstructorName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,q)}else if(maybeMappedType(N,$)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,q,q==="K"?"P":"K")}else{error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,q)}return true}}return false}function maybeMappedType(N,R){var j=E.findAncestor(N.parent,(function(N){return E.isComputedPropertyName(N)||E.isPropertySignature(N)?false:E.isTypeLiteralNode(N)||"quit"}));if(j&&j.members.length===1){var $=getDeclaredTypeOfSymbol(R);return!!($.flags&1048576)&&allTypesAssignableToKind($,384,true)}return false}function isES2015OrLaterConstructorName(E){switch(E){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return true}return false}function checkAndReportErrorForUsingNamespaceModuleAsValue(N,R,j){if(j&(111551&~1024&~788968)){var $=resolveSymbol(resolveName(N,R,1024&~111551,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_value,E.unescapeLeadingUnderscores(R));return true}}else if(j&(788968&~1024&~111551)){var $=resolveSymbol(resolveName(N,R,(512|1024)&~788968,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_type,E.unescapeLeadingUnderscores(R));return true}}return false}function checkResolvedBlockScopedVariable(N,R){var j;E.Debug.assert(!!(N.flags&2||N.flags&32||N.flags&384));if(N.flags&(16|1|67108864)&&N.flags&32){return}var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isBlockOrCatchScoped(N)||E.isClassLike(N)||N.kind===258}));if($===undefined)return E.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,R)){var q=void 0;var G=E.declarationNameToString(E.getNameOfDeclaration($));if(N.flags&2){q=error(R,E.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,G)}else if(N.flags&32){q=error(R,E.Diagnostics.Class_0_used_before_its_declaration,G)}else if(N.flags&256){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}else{E.Debug.assert(!!(N.flags&128));if(E.shouldPreserveConstEnums(Xe)){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}}function isSameScopeDescendentOf(N,R,j){return!!R&&!!E.findAncestor(N,(function(N){return N===j||E.isFunctionLike(N)?"quit":N===R}))}function getAnyImportSyntax(E){switch(E.kind){case 263:return E;case 265:return E.parent;case 266:return E.parent.parent;case 268:return E.parent.parent.parent;default:return undefined}}function getDeclarationOfAliasSymbol(N){return N.declarations&&E.findLast(N.declarations,isAliasSymbolDeclaration)}function isAliasSymbolDeclaration(N){return N.kind===263||N.kind===262||N.kind===265&&!!N.name||N.kind===266||N.kind===272||N.kind===268||N.kind===273||N.kind===269&&E.exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&E.getAssignmentDeclarationKind(N)===2&&E.exportAssignmentIsAlias(N)||E.isAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableOrJsExpression(N.parent.right)||N.kind===292||N.kind===291&&isAliasableOrJsExpression(N.initializer)||E.isRequireVariableDeclaration(N)}function isAliasableOrJsExpression(N){return E.isAliasableExpression(N)||E.isFunctionExpression(N)&&isJSConstructor(N)}function getTargetOfImportEqualsDeclaration(N,R){var j=getCommonJSPropertyAccess(N);if(j){var $=E.getLeftmostAccessExpression(j.expression).arguments[0];return E.isIdentifier(j.name)?resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral($),j.name.escapedText)):undefined}if(E.isVariableDeclaration(N)||N.moduleReference.kind===275){var q=resolveExternalModuleName(N,E.getExternalModuleRequireArgument(N)||E.getExternalModuleImportEqualsDeclarationExpression(N));var G=resolveExternalModuleSymbol(q);markSymbolOfAliasDeclarationIfTypeOnly(N,q,G,false);return G}var ie=getSymbolOfPartOfRightHandSideOfImportEquals(N.moduleReference,R);checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,ie);return ie}function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,R){if(markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,R,false)&&!N.isTypeOnly){var j=getTypeOnlyAliasDeclaration(getSymbolOfNode(N));var $=E.typeOnlyDeclarationIsExport(j);var q=$?E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type;var G=$?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here;var ie=E.unescapeLeadingUnderscores(j.name.escapedText);E.addRelatedInfo(error(N.moduleReference,q),E.createDiagnosticForNode(j,G,ie))}}function resolveExportByName(E,N,R,j){var $=E.exports.get("export=");var q=$?getPropertyOfType(getTypeOfSymbol($),N):E.exports.get(N);var G=resolveSymbol(q,j);markSymbolOfAliasDeclarationIfTypeOnly(R,q,G,false);return G}function isSyntacticDefault(N){return E.isExportAssignment(N)&&!N.isExportEquals||E.hasSyntacticModifier(N,512)||E.isExportSpecifier(N)}function canHaveSyntheticDefault(N,R,j){if(!tt){return false}if(!N||N.isDeclarationFile){var $=resolveExportByName(R,"default",undefined,true);if($&&E.some($.declarations,isSyntacticDefault)){return false}if(resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)){return false}return true}if(!E.isSourceFileJS(N)){return hasExportAssignmentSymbol(R)}return!N.externalModuleIndicator&&!resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)}function getTargetOfImportClause(N,R){var j;var $=resolveExternalModuleName(N,N.parent.moduleSpecifier);if($){var q=void 0;if(E.isShorthandAmbientModuleSymbol($)){q=$}else{q=resolveExportByName($,"default",N,R)}var G=(j=$.declarations)===null||j===void 0?void 0:j.find(E.isSourceFile);var ie=canHaveSyntheticDefault(G,$,R);if(!q&&!ie){if(hasExportAssignmentSymbol($)){var ae=Ze>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";var ce=$.exports.get("export=");var le=ce.valueDeclaration;var _e=error(N.name,E.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,symbolToString($),ae);if(le){E.addRelatedInfo(_e,E.createDiagnosticForNode(le,E.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ae))}}else{reportNonDefaultExport($,N)}}else if(ie){var Ee=resolveExternalModuleSymbol($,R)||resolveSymbol($,R);markSymbolOfAliasDeclarationIfTypeOnly(N,$,Ee,false);return Ee}markSymbolOfAliasDeclarationIfTypeOnly(N,q,undefined,false);return q}}function reportNonDefaultExport(N,R){var j,$,q;if((j=N.exports)===null||j===void 0?void 0:j.has(R.symbol.escapedName)){error(R.name,E.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,symbolToString(N),symbolToString(R.symbol))}else{var G=error(R.name,E.Diagnostics.Module_0_has_no_default_export,symbolToString(N));var ie=($=N.exports)===null||$===void 0?void 0:$.get("__export");if(ie){var ae=(q=ie.declarations)===null||q===void 0?void 0:q.find((function(N){var R,j;return!!(E.isExportDeclaration(N)&&N.moduleSpecifier&&((j=(R=resolveExternalModuleName(N,N.moduleSpecifier))===null||R===void 0?void 0:R.exports)===null||j===void 0?void 0:j.has("default")))}));if(ae){E.addRelatedInfo(G,E.createDiagnosticForNode(ae,E.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}}function getTargetOfNamespaceImport(E,N){var R=E.parent.parent.moduleSpecifier;var j=resolveExternalModuleName(E,R);var $=resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function getTargetOfNamespaceExport(E,N){var R=E.parent.moduleSpecifier;var j=R&&resolveExternalModuleName(E,R);var $=R&&resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function combineValueAndTypeSymbols(N,R){if(N===jt&&R===jt){return jt}if(N.flags&(788968|1920)){return N}var j=createSymbol(N.flags|R.flags,N.escapedName);j.declarations=E.deduplicate(E.concatenate(N.declarations,R.declarations),E.equateValues);j.parent=N.parent||R.parent;if(N.valueDeclaration)j.valueDeclaration=N.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(N.exports)j.exports=new E.Map(N.exports);return j}function getExportOfModule(E,N,R,j){if(E.flags&1536){var $=getExportsOfSymbol(E).get(N.escapedText);var q=resolveSymbol($,j);markSymbolOfAliasDeclarationIfTypeOnly(R,$,q,false);return q}}function getPropertyOfVariable(E,N){if(E.flags&3){var R=E.valueDeclaration.type;if(R){return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(R),N))}}}function getExternalModuleMember(N,R,j){var $,q;if(j===void 0){j=false}var G=E.getExternalModuleRequireArgument(N)||N.moduleSpecifier;var ie=resolveExternalModuleName(N,G);var ae=!E.isPropertyAccessExpression(R)&&R.propertyName||R.name;if(!E.isIdentifier(ae)){return undefined}var ce=ae.escapedText==="default"&&!!(Xe.allowSyntheticDefaultImports||Xe.esModuleInterop);var le=resolveESModuleSymbol(ie,G,false,ce);if(le){if(ae.escapedText){if(E.isShorthandAmbientModuleSymbol(ie)){return ie}var _e=void 0;if(ie&&ie.exports&&ie.exports.get("export=")){_e=getPropertyOfType(getTypeOfSymbol(le),ae.escapedText,true)}else{_e=getPropertyOfVariable(le,ae.escapedText)}_e=resolveSymbol(_e,j);var Ee=getExportOfModule(le,ae,R,j);if(Ee===undefined&&ae.escapedText==="default"){var Te=($=ie.declarations)===null||$===void 0?void 0:$.find(E.isSourceFile);if(canHaveSyntheticDefault(Te,ie,j)){Ee=resolveExternalModuleSymbol(ie,j)||resolveSymbol(ie,j)}}var we=Ee&&_e&&Ee!==_e?combineValueAndTypeSymbols(_e,Ee):Ee||_e;if(!we){var Ie=getFullyQualifiedName(ie,N);var Ne=E.declarationNameToString(ae);var Me=getSuggestedSymbolForNonexistentModule(ae,le);if(Me!==undefined){var Le=symbolToString(Me);var Be=error(ae,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ie,Ne,Le);if(Me.valueDeclaration){E.addRelatedInfo(Be,E.createDiagnosticForNode(Me.valueDeclaration,E.Diagnostics._0_is_declared_here,Le))}}else{if((q=ie.exports)===null||q===void 0?void 0:q.has("default")){error(ae,E.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Ie,Ne)}else{reportNonExportedMember(N,ae,Ne,ie,Ie)}}}return we}}}function reportNonExportedMember(N,R,$,q,G){var ie,ae;var ce=(ae=(ie=q.valueDeclaration)===null||ie===void 0?void 0:ie.locals)===null||ae===void 0?void 0:ae.get(R.escapedText);var le=q.exports;if(ce){var _e=le===null||le===void 0?void 0:le.get("export=");if(_e){getSymbolIfSameReference(_e,ce)?reportInvalidImportEqualsExportMember(N,R,$,G):error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}else{var Ee=le?E.find(symbolsToArray(le),(function(E){return!!getSymbolIfSameReference(E,ce)})):undefined;var Te=Ee?error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,G,$,symbolToString(Ee)):error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,G,$);if(ce.declarations){E.addRelatedInfo.apply(void 0,j([Te],E.map(ce.declarations,(function(N,R){return E.createDiagnosticForNode(N,R===0?E.Diagnostics._0_is_declared_here:E.Diagnostics.and_here,$)})),false))}}}else{error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}}function reportInvalidImportEqualsExportMember(N,R,j,$){if(Ze>=E.ModuleKind.ES2015){var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{if(E.isInJSFile(N)){var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j,j,$)}}}function getTargetOfImportSpecifier(N,R){var j=E.isBindingElement(N)?E.getRootDeclaration(N):N.parent.parent.parent;var $=getCommonJSPropertyAccess(j);var q=getExternalModuleMember(j,$||N,R);var G=N.propertyName||N.name;if($&&q&&E.isIdentifier(G)){return resolveSymbol(getPropertyOfType(getTypeOfSymbol(q),G.escapedText),R)}markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,q,false);return q}function getCommonJSPropertyAccess(N){if(E.isVariableDeclaration(N)&&N.initializer&&E.isPropertyAccessExpression(N.initializer)){return N.initializer}}function getTargetOfNamespaceExportDeclaration(E,N){var R=resolveExternalModuleSymbol(E.parent.symbol,N);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,R,false);return R}function getTargetOfExportSpecifier(E,N,R){var j=E.parent.parent.moduleSpecifier?getExternalModuleMember(E.parent.parent,E,R):resolveEntityName(E.propertyName||E.name,N,false,R);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,j,false);return j}function getTargetOfExportAssignment(N,R){var j=E.isExportAssignment(N)?N.expression:N.right;var $=getTargetOfAliasLikeExpression(j,R);markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,$,false);return $}function getTargetOfAliasLikeExpression(N,R){if(E.isClassExpression(N)){return checkExpressionCached(N).symbol}if(!E.isEntityName(N)&&!E.isEntityNameExpression(N)){return undefined}var j=resolveEntityName(N,111551|788968|1920,true,R);if(j){return j}checkExpressionCached(N);return getNodeLinks(N).resolvedSymbol}function getTargetOfPropertyAssignment(E,N){var R=E.initializer;return getTargetOfAliasLikeExpression(R,N)}function getTargetOfAccessExpression(N,R){if(!(E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63)){return undefined}return getTargetOfAliasLikeExpression(N.parent.right,R)}function getTargetOfAliasDeclaration(N,R){if(R===void 0){R=false}switch(N.kind){case 263:case 252:return getTargetOfImportEqualsDeclaration(N,R);case 265:return getTargetOfImportClause(N,R);case 266:return getTargetOfNamespaceImport(N,R);case 272:return getTargetOfNamespaceExport(N,R);case 268:case 201:return getTargetOfImportSpecifier(N,R);case 273:return getTargetOfExportSpecifier(N,111551|788968|1920,R);case 269:case 219:return getTargetOfExportAssignment(N,R);case 262:return getTargetOfNamespaceExportDeclaration(N,R);case 292:return resolveEntityName(N.name,111551|788968|1920,true,R);case 291:return getTargetOfPropertyAssignment(N,R);case 205:case 204:return getTargetOfAccessExpression(N,R);default:return E.Debug.fail()}}function isNonLocalAlias(E,N){if(N===void 0){N=111551|788968|1920}if(!E)return false;return(E.flags&(2097152|N))===2097152||!!(E.flags&2097152&&E.flags&67108864)}function resolveSymbol(E,N){return!N&&isNonLocalAlias(E)?resolveAlias(E):E}function resolveAlias(N){E.Debug.assert((N.flags&2097152)!==0,"Should only get Alias here.");var R=getSymbolLinks(N);if(!R.target){R.target=Ut;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();var $=getTargetOfAliasDeclaration(j);if(R.target===Ut){R.target=$||jt}else{error(j,E.Diagnostics.Circular_definition_of_import_alias_0,symbolToString(N))}}else if(R.target===Ut){R.target=jt}return R.target}function tryResolveAlias(E){var N=getSymbolLinks(E);if(N.target!==Ut){return resolveAlias(E)}return undefined}function markSymbolOfAliasDeclarationIfTypeOnly(N,R,j,$){if(!N||E.isPropertyAccessExpression(N))return false;var q=getSymbolOfNode(N);if(E.isTypeOnlyImportOrExportDeclaration(N)){var G=getSymbolLinks(q);G.typeOnlyDeclaration=N;return true}var ie=getSymbolLinks(q);return markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,R,$)||markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,j,$)}function markSymbolOfAliasDeclarationIfTypeOnlyWorker(N,R,j){var $,q,G;if(R&&(N.typeOnlyDeclaration===undefined||j&&N.typeOnlyDeclaration===false)){var ie=(q=($=R.exports)===null||$===void 0?void 0:$.get("export="))!==null&&q!==void 0?q:R;var ae=ie.declarations&&E.find(ie.declarations,E.isTypeOnlyImportOrExportDeclaration);N.typeOnlyDeclaration=(G=ae!==null&&ae!==void 0?ae:getSymbolLinks(ie).typeOnlyDeclaration)!==null&&G!==void 0?G:false}return!!N.typeOnlyDeclaration}function getTypeOnlyAliasDeclaration(E){if(!(E.flags&2097152)){return undefined}var N=getSymbolLinks(E);return N.typeOnlyDeclaration||undefined}function markExportAsReferenced(E){var N=getSymbolOfNode(E);var R=resolveAlias(N);if(R){var j=R===jt||R.flags&111551&&!isConstEnumOrConstEnumOnlyModule(R)&&!getTypeOnlyAliasDeclaration(N);if(j){markAliasSymbolAsReferenced(N)}}}function markAliasSymbolAsReferenced(N){var R=getSymbolLinks(N);if(!R.referenced){R.referenced=true;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();if(E.isInternalModuleImportEqualsDeclaration(j)){var $=resolveSymbol(N);if($===jt||$.flags&111551){checkExpressionCached(j.moduleReference)}}}}function markConstEnumAliasAsReferenced(E){var N=getSymbolLinks(E);if(!N.constEnumReferenced){N.constEnumReferenced=true}}function getSymbolOfPartOfRightHandSideOfImportEquals(N,R){if(N.kind===79&&E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}if(N.kind===79||N.parent.kind===159){return resolveEntityName(N,1920,false,R)}else{E.Debug.assert(N.parent.kind===263);return resolveEntityName(N,111551|788968|1920,false,R)}}function getFullyQualifiedName(E,N){return E.parent?getFullyQualifiedName(E.parent,N)+"."+symbolToString(E):symbolToString(E,N,undefined,16|4)}function resolveEntityName(N,R,j,$,q){if(E.nodeIsMissing(N)){return undefined}var G=1920|(E.isInJSFile(N)?R&111551:0);var ie;if(N.kind===79){var ae=R===G||E.nodeIsSynthesized(N)?E.Diagnostics.Cannot_find_namespace_0:getCannotFindNameDiagnosticForName(E.getFirstIdentifier(N));var ce=E.isInJSFile(N)&&!E.nodeIsSynthesized(N)?resolveEntityNameFromAssignmentDeclaration(N,R):undefined;ie=getMergedSymbol(resolveName(q||N,N.escapedText,R,j||ce?undefined:ae,N,true));if(!ie){return getMergedSymbol(ce)}}else if(N.kind===159||N.kind===204){var le=N.kind===159?N.left:N.expression;var _e=N.kind===159?N.right:N.name;var Ee=resolveEntityName(le,G,j,false,q);if(!Ee||E.nodeIsMissing(_e)){return undefined}else if(Ee===jt){return Ee}if(Ee.valueDeclaration&&E.isInJSFile(Ee.valueDeclaration)&&E.isVariableDeclaration(Ee.valueDeclaration)&&Ee.valueDeclaration.initializer&&isCommonJsRequire(Ee.valueDeclaration.initializer)){var Te=Ee.valueDeclaration.initializer.arguments[0];var we=resolveExternalModuleName(Te,Te);if(we){var Ie=resolveExternalModuleSymbol(we);if(Ie){Ee=Ie}}}ie=getMergedSymbol(getSymbol(getExportsOfSymbol(Ee),_e.escapedText,R));if(!ie){if(!j){var Ne=getFullyQualifiedName(Ee);var Me=E.declarationNameToString(_e);var Le=getSuggestedSymbolForNonexistentModule(_e,Ee);Le?error(_e,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ne,Me,symbolToString(Le)):error(_e,E.Diagnostics.Namespace_0_has_no_exported_member_1,Ne,Me)}return undefined}}else{throw E.Debug.assertNever(N,"Unknown entity name kind.")}E.Debug.assert((E.getCheckFlags(ie)&1)===0,"Should never get an instantiated symbol here.");if(!E.nodeIsSynthesized(N)&&E.isEntityName(N)&&(ie.flags&2097152||N.parent.kind===269)){markSymbolOfAliasDeclarationIfTypeOnly(E.getAliasDeclarationFromName(N),ie,undefined,true)}return ie.flags&R||$?ie:resolveAlias(ie)}function resolveEntityNameFromAssignmentDeclaration(E,N){if(isJSDocTypeReference(E.parent)){var R=getAssignmentDeclarationLocation(E.parent);if(R){return resolveName(R,E.escapedText,N,undefined,E,true)}}}function getAssignmentDeclarationLocation(N){var R=E.findAncestor(N,(function(N){return!(E.isJSDocNode(N)||N.flags&4194304)?"quit":E.isJSDocTypeAlias(N)}));if(R){return}var j=E.getJSDocHost(N);if(j&&E.isExpressionStatement(j)&&E.isBinaryExpression(j.expression)&&E.getAssignmentDeclarationKind(j.expression)===3){var $=getSymbolOfNode(j.expression.left);if($){return getDeclarationOfJSPrototypeContainer($)}}if(j&&(E.isObjectLiteralMethod(j)||E.isPropertyAssignment(j))&&E.isBinaryExpression(j.parent.parent)&&E.getAssignmentDeclarationKind(j.parent.parent)===6){var $=getSymbolOfNode(j.parent.parent.left);if($){return getDeclarationOfJSPrototypeContainer($)}}var q=E.getEffectiveJSDocHost(N);if(q&&E.isFunctionLike(q)){var $=getSymbolOfNode(q);return $&&$.valueDeclaration}}function getDeclarationOfJSPrototypeContainer(N){var R=N.parent.valueDeclaration;if(!R){return undefined}var j=E.isAssignmentDeclaration(R)?E.getAssignedExpandoInitializer(R):E.hasOnlyExpressionInitializer(R)?E.getDeclaredExpandoInitializer(R):undefined;return j||R}function getExpandoSymbol(N){var R=N.valueDeclaration;if(!R||!E.isInJSFile(R)||N.flags&524288||E.getExpandoInitializer(R,false)){return undefined}var j=E.isVariableDeclaration(R)?E.getDeclaredExpandoInitializer(R):E.getAssignedExpandoInitializer(R);if(j){var $=getSymbolOfNode(j);if($){return mergeJSSymbols($,N)}}}function resolveExternalModuleName(N,R,j){var $=E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.Classic;var q=$?E.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:E.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return resolveExternalModuleNameWorker(N,R,j?undefined:q)}function resolveExternalModuleNameWorker(N,R,j,$){if($===void 0){$=false}return E.isStringLiteralLike(R)?resolveExternalModule(N,R.text,j,R,$):undefined}function resolveExternalModule(N,R,j,$,G){if(G===void 0){G=false}if(E.startsWith(R,"@types/")){var ie=E.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;var ae=E.removePrefix(R,"@types/");error($,ie,ae,R)}var ce=tryFindAmbientModule(R,true);if(ce){return ce}var le=E.getSourceFileOfNode(N);var _e=E.getResolvedModule(le,R);var Ee=_e&&E.getResolutionDiagnostic(Xe,_e);var Te=_e&&!Ee&&q.getSourceFile(_e.resolvedFileName);if(Te){if(Te.symbol){if(_e.isExternalLibraryImport&&!E.resolutionExtensionIsTSOrJson(_e.extension)){errorOnImplicitAnyModule(false,$,_e,R)}return getMergedSymbol(Te.symbol)}if(j){error($,E.Diagnostics.File_0_is_not_a_module,Te.fileName)}return undefined}if(Zr){var we=E.findBestPatternMatch(Zr,(function(E){return E.pattern}),R);if(we){var Ie=en&&en.get(R);if(Ie){return getMergedSymbol(Ie)}return getMergedSymbol(we.symbol)}}if(_e&&!E.resolutionExtensionIsTSOrJson(_e.extension)&&Ee===undefined||Ee===E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(G){var ie=E.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;error($,ie,R,_e.resolvedFileName)}else{errorOnImplicitAnyModule(st&&!!j,$,_e,R)}return undefined}if(j){if(_e){var Ne=q.getProjectReferenceRedirect(_e.resolvedFileName);if(Ne){error($,E.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,Ne,_e.resolvedFileName);return undefined}}if(Ee){error($,Ee,R,_e.resolvedFileName)}else{var Me=E.tryExtractTSExtension(R);if(Me){var ie=E.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;var Le=E.removeExtension(R,Me);var Be=Le;var je=E.getEmitModuleKind(Xe);if(je>=E.ModuleKind.ES2015){Be+=".js"}error($,ie,Me,Be)}else if(!Xe.resolveJsonModule&&E.fileExtensionIs(R,".json")&&E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.NodeJs&&E.hasJsonModuleEmitEnabled(Xe)){error($,E.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,R)}else{error($,j,R)}}}return undefined}function errorOnImplicitAnyModule(N,R,j,$){var q=j.packageId,G=j.resolvedFileName;var ie=!E.isExternalModuleNameRelative($)&&q?typesPackageExists(q.name)?E.chainDiagnosticMessages(undefined,E.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,q.name,E.mangleScopedPackageName(q.name)):E.chainDiagnosticMessages(undefined,E.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,$,E.mangleScopedPackageName(q.name)):undefined;errorOrSuggestion(N,R,E.chainDiagnosticMessages(ie,E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,$,G))}function typesPackageExists(N){return le().has(E.getTypesPackageName(N))}function resolveExternalModuleSymbol(E,N){if(E===null||E===void 0?void 0:E.exports){var R=resolveSymbol(E.exports.get("export="),N);var j=getCommonJsExportEquals(getMergedSymbol(R),getMergedSymbol(E));return getMergedSymbol(j)||E}return undefined}function getCommonJsExportEquals(N,R){if(!N||N===jt||N===R||R.exports.size===1||N.flags&2097152){return N}var j=getSymbolLinks(N);if(j.cjsExportMerged){return j.cjsExportMerged}var $=N.flags&33554432?N:cloneSymbol(N);$.flags=$.flags|512;if($.exports===undefined){$.exports=E.createSymbolTable()}R.exports.forEach((function(E,N){if(N==="export=")return;$.exports.set(N,$.exports.has(N)?mergeSymbol($.exports.get(N),E):E)}));getSymbolLinks($).cjsExportMerged=$;return j.cjsExportMerged=$}function resolveESModuleSymbol(N,R,j,$){var q=resolveExternalModuleSymbol(N,j);if(!j&&q){if(!$&&!(q.flags&(1536|3))&&!E.getDeclarationOfKind(q,300)){var G=Ze>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";error(R,E.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,G);return q}if(Xe.esModuleInterop){var ie=R.parent;if(E.isImportDeclaration(ie)&&E.getNamespaceDeclarationNode(ie)||E.isImportCall(ie)){var ae=getTypeOfSymbol(q);var ce=getSignaturesOfStructuredType(ae,0);if(!ce||!ce.length){ce=getSignaturesOfStructuredType(ae,1)}if(ce&&ce.length){var le=getTypeWithSyntheticDefaultImportType(ae,q,N);var _e=createSymbol(q.flags,q.escapedName);_e.declarations=q.declarations?q.declarations.slice():[];_e.parent=q.parent;_e.target=q;_e.originatingImport=ie;if(q.valueDeclaration)_e.valueDeclaration=q.valueDeclaration;if(q.constEnumOnlyModule)_e.constEnumOnlyModule=true;if(q.members)_e.members=new E.Map(q.members);if(q.exports)_e.exports=new E.Map(q.exports);var Ee=resolveStructuredTypeMembers(le);_e.type=createAnonymousType(_e,Ee.members,E.emptyArray,E.emptyArray,Ee.indexInfos);return _e}}}}return q}function hasExportAssignmentSymbol(E){return E.exports.get("export=")!==undefined}function getExportsOfModuleAsArray(E){return symbolsToArray(getExportsOfModule(E))}function getExportsAndPropertiesOfModule(N){var R=getExportsOfModuleAsArray(N);var j=resolveExternalModuleSymbol(N);if(j!==N){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){E.addRange(R,getPropertiesOfType($))}}return R}function forEachExportAndPropertyOfModule(E,N){var R=getExportsOfModule(E);R.forEach((function(E,R){if(!isReservedMemberName(R)){N(E,R)}}));var j=resolveExternalModuleSymbol(E);if(j!==E){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){getPropertiesOfType($).forEach((function(E){N(E,E.escapedName)}))}}}function tryGetMemberInModuleExports(E,N){var R=getExportsOfModule(N);if(R){return R.get(E)}}function tryGetMemberInModuleExportsAndProperties(E,N){var R=tryGetMemberInModuleExports(E,N);if(R){return R}var j=resolveExternalModuleSymbol(N);if(j===N){return undefined}var $=getTypeOfSymbol(j);return shouldTreatPropertiesOfExternalModuleAsExports($)?getPropertyOfType($,E):undefined}function shouldTreatPropertiesOfExternalModuleAsExports(N){return!(N.flags&131068||E.getObjectFlags(N)&1||isArrayType(N)||isTupleType(N))}function getExportsOfSymbol(E){return E.flags&6256?getResolvedMembersOrExportsOfSymbol(E,"resolvedExports"):E.flags&1536?getExportsOfModule(E):E.exports||He}function getExportsOfModule(E){var N=getSymbolLinks(E);return N.resolvedExports||(N.resolvedExports=getExportsOfModuleWorker(E))}function extendExportSymbols(N,R,j,$){if(!R)return;R.forEach((function(R,q){if(q==="default")return;var G=N.get(q);if(!G){N.set(q,R);if(j&&$){j.set(q,{specifierText:E.getTextOfNode($.moduleSpecifier)})}}else if(j&&$&&G&&resolveSymbol(G)!==resolveSymbol(R)){var ie=j.get(q);if(!ie.exportsWithDuplicate){ie.exportsWithDuplicate=[$]}else{ie.exportsWithDuplicate.push($)}}}))}function getExportsOfModuleWorker(N){var R=[];N=resolveExternalModuleSymbol(N);return visit(N)||He;function visit(N){if(!(N&&N.exports&&E.pushIfUnique(R,N))){return}var j=new E.Map(N.exports);var $=N.exports.get("__export");if($){var q=E.createSymbolTable();var G=new E.Map;if($.declarations){for(var ie=0,ae=$.declarations;ie=_e){return le.substr(0,_e-"...".length)+"..."}return le}function getTypeNamesForErrorDisplay(E,N){var R=symbolValueDeclarationIsContextSensitive(E.symbol)?typeToString(E,E.symbol.valueDeclaration):typeToString(E);var j=symbolValueDeclarationIsContextSensitive(N.symbol)?typeToString(N,N.symbol.valueDeclaration):typeToString(N);if(R===j){R=getTypeNameForErrorDisplay(E);j=getTypeNameForErrorDisplay(N)}return[R,j]}function getTypeNameForErrorDisplay(E){return typeToString(E,undefined,64)}function symbolValueDeclarationIsContextSensitive(N){return N&&!!N.valueDeclaration&&E.isExpression(N.valueDeclaration)&&!isContextSensitive(N.valueDeclaration)}function toNodeBuilderFlags(E){if(E===void 0){E=0}return E&814775659}function isClassInstanceSide(N){return!!N.symbol&&!!(N.symbol.flags&32)&&(N===getDeclaredTypeOfClassOrInterface(N.symbol)||!!(N.flags&524288)&&!!(E.getObjectFlags(N)&16777216))}function createNodeBuilder(){return{typeToTypeNode:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeToTypeNodeHelper(E,N)}))},indexInfoToIndexSignatureDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return indexInfoToIndexSignatureDeclarationHelper(E,N,undefined)}))},signatureToSignatureDeclaration:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return signatureToSignatureDeclarationHelper(E,N,R)}))},symbolToEntityName:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToName(E,R,N,false)}))},symbolToExpression:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToExpression(E,R,N)}))},symbolToTypeParameterDeclarations:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParametersToTypeParameterDeclarations(E,N)}))},symbolToParameterDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return symbolToParameterDeclaration(E,N)}))},typeParameterToDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParameterToDeclaration(E,N)}))},symbolTableToDeclarationStatements:function(E,N,R,j,$){return withContext(N,R,j,(function(N){return symbolTableToDeclarationStatements(E,N,$)}))}};function withContext(N,R,j,$){var G,ie;E.Debug.assert(N===undefined||(N.flags&8)===0);var ae={enclosingDeclaration:N,flags:R||0,tracker:j&&j.trackSymbol?j:{trackSymbol:function(){return false},moduleResolverHost:R&134217728?{getCommonSourceDirectory:!!q.getCommonSourceDirectory?function(){return q.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return q.getCurrentDirectory()},getSymlinkCache:E.maybeBind(q,q.getSymlinkCache),useCaseSensitiveFileNames:E.maybeBind(q,q.useCaseSensitiveFileNames),redirectTargetsMap:q.redirectTargetsMap,getProjectReferenceRedirect:function(E){return q.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return q.isSourceOfProjectReferenceRedirect(E)},fileExists:function(E){return q.fileExists(E)},getFileIncludeReasons:function(){return q.getFileIncludeReasons()}}:undefined},encounteredError:false,reportedDiagnostic:false,visitedTypes:undefined,symbolDepth:undefined,inferTypeParameters:undefined,approximateLength:0};ae.tracker=wrapSymbolTrackerToReportForContext(ae,ae.tracker);var ce=$(ae);if(ae.truncating&&ae.flags&1){(ie=(G=ae.tracker)===null||G===void 0?void 0:G.reportTruncationError)===null||ie===void 0?void 0:ie.call(G)}return ae.encounteredError?undefined:ce}function wrapSymbolTrackerToReportForContext(E,N){var R=N.trackSymbol;return $($({},N),{reportCyclicStructureError:wrapReportedDiagnostic(N.reportCyclicStructureError),reportInaccessibleThisError:wrapReportedDiagnostic(N.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:wrapReportedDiagnostic(N.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:wrapReportedDiagnostic(N.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:wrapReportedDiagnostic(N.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:wrapReportedDiagnostic(N.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:wrapReportedDiagnostic(N.reportNonSerializableProperty),trackSymbol:R&&function(){var N=[];for(var j=0;j(N.flags&1?E.noTruncationMaximumTruncationLength:E.defaultMaximumTruncationLength)}function typeToTypeNodeHelper(N,R){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var j=R.flags&8388608;R.flags&=~8388608;if(!N){if(!(R.flags&262144)){R.encounteredError=true;return undefined}R.approximateLength+=3;return E.factory.createKeywordTypeNode(129)}if(!(R.flags&536870912)){N=getReducedType(N)}if(N.flags&1){R.approximateLength+=3;return E.factory.createKeywordTypeNode(N===qt?137:129)}if(N.flags&2){return E.factory.createKeywordTypeNode(153)}if(N.flags&4){R.approximateLength+=6;return E.factory.createKeywordTypeNode(148)}if(N.flags&8){R.approximateLength+=6;return E.factory.createKeywordTypeNode(145)}if(N.flags&64){R.approximateLength+=6;return E.factory.createKeywordTypeNode(156)}if(N.flags&16&&!N.aliasSymbol){R.approximateLength+=7;return E.factory.createKeywordTypeNode(132)}if(N.flags&1024&&!(N.flags&1048576)){var $=getParentOfSymbol(N.symbol);var q=symbolToTypeNode($,R,788968);if(getDeclaredTypeOfSymbol($)===N){return q}var G=E.symbolName(N.symbol);if(E.isIdentifierText(G,0)){return appendReferenceToType(q,E.factory.createTypeReferenceNode(G,undefined))}if(E.isImportTypeNode(q)){q.isTypeOf=true;return E.factory.createIndexedAccessTypeNode(q,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else if(E.isTypeReferenceNode(q)){return E.factory.createIndexedAccessTypeNode(E.factory.createTypeQueryNode(q.typeName),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else{return E.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}}if(N.flags&1056){return symbolToTypeNode(N.symbol,R,788968)}if(N.flags&128){R.approximateLength+=N.value.length+2;return E.factory.createLiteralTypeNode(E.setEmitFlags(E.factory.createStringLiteral(N.value,!!(R.flags&268435456)),16777216))}if(N.flags&256){var ie=N.value;R.approximateLength+=(""+ie).length;return E.factory.createLiteralTypeNode(ie<0?E.factory.createPrefixUnaryExpression(40,E.factory.createNumericLiteral(-ie)):E.factory.createNumericLiteral(ie))}if(N.flags&2048){R.approximateLength+=E.pseudoBigIntToString(N.value).length+1;return E.factory.createLiteralTypeNode(E.factory.createBigIntLiteral(N.value))}if(N.flags&512){R.approximateLength+=N.intrinsicName.length;return E.factory.createLiteralTypeNode(N.intrinsicName==="true"?E.factory.createTrue():E.factory.createFalse())}if(N.flags&8192){if(!(R.flags&1048576)){if(isValueSymbolAccessible(N.symbol,R.enclosingDeclaration)){R.approximateLength+=6;return symbolToTypeNode(N.symbol,R,111551)}if(R.tracker.reportInaccessibleUniqueSymbolError){R.tracker.reportInaccessibleUniqueSymbolError()}}R.approximateLength+=13;return E.factory.createTypeOperatorNode(152,E.factory.createKeywordTypeNode(149))}if(N.flags&16384){R.approximateLength+=4;return E.factory.createKeywordTypeNode(114)}if(N.flags&32768){R.approximateLength+=9;return E.factory.createKeywordTypeNode(151)}if(N.flags&65536){R.approximateLength+=4;return E.factory.createLiteralTypeNode(E.factory.createNull())}if(N.flags&131072){R.approximateLength+=5;return E.factory.createKeywordTypeNode(142)}if(N.flags&4096){R.approximateLength+=6;return E.factory.createKeywordTypeNode(149)}if(N.flags&67108864){R.approximateLength+=6;return E.factory.createKeywordTypeNode(146)}if(isThisTypeParameter(N)){if(R.flags&4194304){if(!R.encounteredError&&!(R.flags&32768)){R.encounteredError=true}if(R.tracker.reportInaccessibleThisError){R.tracker.reportInaccessibleThisError()}}R.approximateLength+=4;return E.factory.createThisTypeNode()}if(!j&&N.aliasSymbol&&(R.flags&16384||isTypeSymbolAccessible(N.aliasSymbol,R.enclosingDeclaration))){var ae=mapToTypeNodes(N.aliasTypeArguments,R);if(isReservedMemberName(N.aliasSymbol.escapedName)&&!(N.aliasSymbol.flags&32))return E.factory.createTypeReferenceNode(E.factory.createIdentifier(""),ae);return symbolToTypeNode(N.aliasSymbol,R,788968,ae)}var ce=E.getObjectFlags(N);if(ce&4){E.Debug.assert(!!(N.flags&524288));return N.node?visitAndTransformType(N,typeReferenceToTypeNode):typeReferenceToTypeNode(N)}if(N.flags&262144||ce&3){if(N.flags&262144&&E.contains(R.inferTypeParameters,N)){R.approximateLength+=E.symbolName(N.symbol).length+6;return E.factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(N,R,undefined))}if(R.flags&4&&N.flags&262144&&!isTypeSymbolAccessible(N.symbol,R.enclosingDeclaration)){var le=typeParameterToName(N,R);R.approximateLength+=E.idText(le).length;return E.factory.createTypeReferenceNode(E.factory.createIdentifier(E.idText(le)),undefined)}return N.symbol?symbolToTypeNode(N.symbol,R,788968):E.factory.createTypeReferenceNode(E.factory.createIdentifier("?"),undefined)}if(N.flags&1048576&&N.origin){N=N.origin}if(N.flags&(1048576|2097152)){var Ee=N.flags&1048576?formatUnionTypes(N.types):N.types;if(E.length(Ee)===1){return typeToTypeNodeHelper(Ee[0],R)}var Te=mapToTypeNodes(Ee,R,true);if(Te&&Te.length>0){return N.flags&1048576?E.factory.createUnionTypeNode(Te):E.factory.createIntersectionTypeNode(Te)}else{if(!R.encounteredError&&!(R.flags&262144)){R.encounteredError=true}return undefined}}if(ce&(16|32)){E.Debug.assert(!!(N.flags&524288));return createAnonymousTypeNode(N)}if(N.flags&4194304){var we=N.type;R.approximateLength+=6;var Ie=typeToTypeNodeHelper(we,R);return E.factory.createTypeOperatorNode(139,Ie)}if(N.flags&134217728){var Ne=N.texts;var Me=N.types;var Le=E.factory.createTemplateHead(Ne[0]);var Be=E.factory.createNodeArray(E.map(Me,(function(N,j){return E.factory.createTemplateLiteralTypeSpan(typeToTypeNodeHelper(N,R),(j10){return createElidedInformationPlaceholder(R)}R.symbolDepth.set(ae,Ee+1)}R.visitedTypes.add(G);var Te=R.approximateLength;var we=j(N);var Ie=R.approximateLength-Te;if(!R.reportedDiagnostic&&!R.encounteredError){if(R.truncating){we.truncating=true}we.addedLength=Ie;(q=ce===null||ce===void 0?void 0:ce.serializedTypes)===null||q===void 0?void 0:q.set(le,we)}R.visitedTypes.delete(G);if(ae){R.symbolDepth.set(ae,Ee)}return we;function deepCloneOrReuseNode(N){if(!E.nodeIsSynthesized(N)&&E.getParseTreeNode(N)===N){return N}return E.setTextRange(E.factory.cloneNode(E.visitEachChild(N,deepCloneOrReuseNode,E.nullTransformationContext)),N)}}function createTypeNodeFromObjectType(N){if(isGenericMappedType(N)||N.containsError){return createMappedTypeNodeFromType(N)}var j=resolveStructuredTypeMembers(N);if(!j.properties.length&&!j.indexInfos.length){if(!j.callSignatures.length&&!j.constructSignatures.length){R.approximateLength+=2;return E.setEmitFlags(E.factory.createTypeLiteralNode(undefined),1)}if(j.callSignatures.length===1&&!j.constructSignatures.length){var $=j.callSignatures[0];var q=signatureToSignatureDeclarationHelper($,177,R);return q}if(j.constructSignatures.length===1&&!j.callSignatures.length){var $=j.constructSignatures[0];var q=signatureToSignatureDeclarationHelper($,178,R);return q}}var G=E.filter(j.constructSignatures,(function(E){return!!(E.flags&4)}));if(E.some(G)){var ie=E.map(G,getOrCreateTypeFromSignature);var ae=j.callSignatures.length+(j.constructSignatures.length-G.length)+j.indexInfos.length+(R.flags&2048?E.countWhere(j.properties,(function(E){return!(E.flags&4194304)})):E.length(j.properties));if(ae){ie.push(getResolvedTypeWithoutAbstractConstructSignatures(j))}return typeToTypeNodeHelper(getIntersectionType(ie),R)}var ce=R.flags;R.flags|=4194304;var le=createTypeNodesFromResolvedType(j);R.flags=ce;var _e=E.factory.createTypeLiteralNode(le);R.approximateLength+=2;E.setEmitFlags(_e,R.flags&1024?0:1);return _e}function typeReferenceToTypeNode(N){var j=getTypeArguments(N);if(N.target===on||N.target===sn){if(R.flags&2){var $=typeToTypeNodeHelper(j[0],R);return E.factory.createTypeReferenceNode(N.target===on?"Array":"ReadonlyArray",[$])}var q=typeToTypeNodeHelper(j[0],R);var G=E.factory.createArrayTypeNode(q);return N.target===on?G:E.factory.createTypeOperatorNode(143,G)}else if(N.target.objectFlags&8){j=E.sameMap(j,(function(E,R){return removeMissingType(E,!!(N.target.elementFlags[R]&2))}));if(j.length>0){var ie=getTypeReferenceArity(N);var ae=mapToTypeNodes(j.slice(0,ie),R);if(ae){if(N.target.labeledElementDeclarations){for(var ce=0;ce0){var Ue=(N.target.typeParameters||E.emptyArray).length;je=mapToTypeNodes(j.slice(ce,Ue),R)}var le=R.flags;R.flags|=16;var ze=symbolToTypeNode(N.symbol,R,788968,je);R.flags=le;return!Te?ze:appendReferenceToType(Te,ze)}}function appendReferenceToType(N,R){if(E.isImportTypeNode(N)){var j=N.typeArguments;var $=N.qualifier;if($){if(E.isIdentifier($)){$=E.factory.updateIdentifier($,j)}else{$=E.factory.updateQualifiedName($,$.left,E.factory.updateIdentifier($.right,j))}}j=R.typeArguments;var q=getAccessStack(R);for(var G=0,ie=q;G2){return[typeToTypeNodeHelper(N[0],R),E.factory.createTypeReferenceNode("... "+(N.length-2)+" more ...",undefined),typeToTypeNodeHelper(N[N.length-1],R)]}}var $=!(R.flags&64);var q=$?E.createUnderscoreEscapedMultiMap():undefined;var G=[];var ie=0;for(var ae=0,ce=N;ae0)}else{q=[N]}return q;function getSymbolChain(N,j,q){var G=getAccessibleSymbolChain(N,R.enclosingDeclaration,j,!!(R.flags&128));var ie;if(!G||needsQualification(G[0],R.enclosingDeclaration,G.length===1?j:getQualifiedLeftMeaning(j))){var ae=getContainersOfSymbol(G?G[0]:N,R.enclosingDeclaration,j);if(E.length(ae)){ie=ae.map((function(N){return E.some(N.declarations,hasNonGlobalAugmentationExternalModuleSymbol)?getSpecifierForModuleSymbol(N,R):undefined}));var ce=ae.map((function(E,N){return N}));ce.sort(sortByBestName);var le=ce.map((function(E){return ae[E]}));for(var _e=0,Ee=le;_e1?createAccessFromSymbolChain(q,q.length-1,1):undefined;var ae=$||lookupTypeParameterNodes(q,0,R);var ce=getSpecifierForModuleSymbol(q[0],R);if(!(R.flags&67108864)&&E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.NodeJs&&ce.indexOf("/node_modules/")>=0){R.encounteredError=true;if(R.tracker.reportLikelyUnsafeImportRequiredError){R.tracker.reportLikelyUnsafeImportRequiredError(ce)}}var le=E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce));if(R.tracker.trackExternalModuleSymbolOfImportTypeNode)R.tracker.trackExternalModuleSymbolOfImportTypeNode(q[0]);R.approximateLength+=ce.length+10;if(!ie||E.isEntityName(ie)){if(ie){var _e=E.isIdentifier(ie)?ie:ie.right;_e.typeArguments=undefined}return E.factory.createImportTypeNode(le,ie,ae,G)}else{var Ee=getTopmostIndexedAccessType(ie);var Te=Ee.objectType.typeName;return E.factory.createIndexedAccessTypeNode(E.factory.createImportTypeNode(le,Te,ae,G),Ee.indexType)}}var we=createAccessFromSymbolChain(q,q.length-1,0);if(E.isIndexedAccessTypeNode(we)){return we}if(G){return E.factory.createTypeQueryNode(we)}else{var _e=E.isIdentifier(we)?we:we.right;var Ie=_e.typeArguments;_e.typeArguments=undefined;return E.factory.createTypeReferenceNode(we,Ie)}function createAccessFromSymbolChain(N,j,q){var G=j===N.length-1?$:lookupTypeParameterNodes(N,j,R);var ie=N[j];var ae=N[j-1];var ce;if(j===0){R.flags|=16777216;ce=getNameOfSymbolAsWritten(ie,R);R.approximateLength+=(ce?ce.length:0)+1;R.flags^=16777216}else{if(ae&&getExportsOfSymbol(ae)){var le=getExportsOfSymbol(ae);E.forEachEntry(le,(function(N,R){if(getSymbolIfSameReference(N,ie)&&!isLateBoundName(R)&&R!=="export="){ce=E.unescapeLeadingUnderscores(R);return true}}))}}if(!ce){ce=getNameOfSymbolAsWritten(ie,R)}R.approximateLength+=ce.length+1;if(!(R.flags&16)&&ae&&getMembersOfSymbol(ae)&&getMembersOfSymbol(ae).get(ie.escapedName)&&getSymbolIfSameReference(getMembersOfSymbol(ae).get(ie.escapedName),ie)){var _e=createAccessFromSymbolChain(N,j-1,q);if(E.isIndexedAccessTypeNode(_e)){return E.factory.createIndexedAccessTypeNode(_e,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}else{return E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(_e,G),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}}var Ee=E.setEmitFlags(E.factory.createIdentifier(ce,G),16777216);Ee.symbol=ie;if(j>q){var _e=createAccessFromSymbolChain(N,j-1,q);if(!E.isEntityName(_e)){return E.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return E.factory.createQualifiedName(_e,Ee)}return Ee}}function typeParameterShadowsNameInScope(E,N,R){var j=resolveName(N.enclosingDeclaration,E,788968,undefined,E,false);if(j){if(j.flags&262144&&j===R.symbol){return false}return true}return false}function typeParameterToName(N,R){var j,$;if(R.flags&4&&R.typeParameterNames){var q=R.typeParameterNames.get(getTypeId(N));if(q){return q}}var G=symbolToName(N.symbol,R,788968,true);if(!(G.kind&79)){return E.factory.createIdentifier("(Missing type parameter)")}if(R.flags&4){var ie=G.escapedText;var ae=((j=R.typeParameterNamesByTextNextNameCount)===null||j===void 0?void 0:j.get(ie))||0;var ce=ie;while((($=R.typeParameterNamesByText)===null||$===void 0?void 0:$.has(ce))||typeParameterShadowsNameInScope(ce,R,N)){ae++;ce=ie+"_"+ae}if(ce!==ie){G=E.factory.createIdentifier(ce,G.typeArguments)}(R.typeParameterNamesByTextNextNameCount||(R.typeParameterNamesByTextNextNameCount=new E.Map)).set(ie,ae);(R.typeParameterNames||(R.typeParameterNames=new E.Map)).set(getTypeId(N),G);(R.typeParameterNamesByText||(R.typeParameterNamesByText=new E.Set)).add(ie)}return G}function symbolToName(N,R,j,$){var q=lookupSymbolChain(N,R,j);if($&&q.length!==1&&!R.encounteredError&&!(R.flags&65536)){R.encounteredError=true}return createEntityNameFromSymbolChain(q,q.length-1);function createEntityNameFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ie.symbol=q;return j>0?E.factory.createQualifiedName(createEntityNameFromSymbolChain(N,j-1),ie):ie}}function symbolToExpression(N,R,j){var $=lookupSymbolChain(N,R,j);return createExpressionFromSymbolChain($,$.length-1);function createExpressionFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=G.charCodeAt(0);if(E.isSingleOrDoubleQuote(ie)&&E.some(q.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){return E.factory.createStringLiteral(getSpecifierForModuleSymbol(q,R))}var ae=ie===35?G.length>1&&E.isIdentifierStart(G.charCodeAt(1),Ye):E.isIdentifierStart(ie,Ye);if(j===0||ae){var ce=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ce.symbol=q;return j>0?E.factory.createPropertyAccessExpression(createExpressionFromSymbolChain(N,j-1),ce):ce}else{if(ie===91){G=G.substring(1,G.length-1);ie=G.charCodeAt(0)}var le=void 0;if(E.isSingleOrDoubleQuote(ie)){le=E.factory.createStringLiteral(G.substring(1,G.length-1).replace(/\\./g,(function(E){return E.substring(1)})),ie===39)}else if(""+ +G===G){le=E.factory.createNumericLiteral(+G)}if(!le){le=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);le.symbol=q}return E.factory.createElementAccessExpression(createExpressionFromSymbolChain(N,j-1),le)}}}function isStringNamed(N){var R=E.getNameOfDeclaration(N);return!!R&&E.isStringLiteral(R)}function isSingleQuotedStringNamed(N){var R=E.getNameOfDeclaration(N);return!!(R&&E.isStringLiteral(R)&&(R.singleQuote||!E.nodeIsSynthesized(R)&&E.startsWith(E.getTextOfNode(R,false),"'")))}function getPropertyNameNodeForSymbol(N,R){var j=!!E.length(N.declarations)&&E.every(N.declarations,isSingleQuotedStringNamed);var $=getPropertyNameNodeForSymbolFromNameType(N,R,j);if($){return $}var q=E.unescapeLeadingUnderscores(N.escapedName);var G=!!E.length(N.declarations)&&E.every(N.declarations,isStringNamed);return createPropertyNameNodeForIdentifierOrLiteral(q,G,j)}function getPropertyNameNodeForSymbolFromNameType(N,R,j){var $=getSymbolLinks(N).nameType;if($){if($.flags&384){var q=""+$.value;if(!E.isIdentifierText(q,Xe.target)&&!isNumericLiteralName(q)){return E.factory.createStringLiteral(q,!!j)}if(isNumericLiteralName(q)&&E.startsWith(q,"-")){return E.factory.createComputedPropertyName(E.factory.createNumericLiteral(+q))}return createPropertyNameNodeForIdentifierOrLiteral(q)}if($.flags&8192){return E.factory.createComputedPropertyName(symbolToExpression($.symbol,R,111551))}}}function createPropertyNameNodeForIdentifierOrLiteral(N,R,j){return E.isIdentifierText(N,Xe.target)?E.factory.createIdentifier(N):!R&&isNumericLiteralName(N)&&+N>=0?E.factory.createNumericLiteral(+N):E.factory.createStringLiteral(N,!!j)}function cloneNodeBuilderContext(N){var R=$({},N);if(R.typeParameterNames){R.typeParameterNames=new E.Map(R.typeParameterNames)}if(R.typeParameterNamesByText){R.typeParameterNamesByText=new E.Set(R.typeParameterNamesByText)}if(R.typeParameterSymbolList){R.typeParameterSymbolList=new E.Set(R.typeParameterSymbolList)}R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);return R}function getDeclarationWithTypeAnnotation(N,R){return N.declarations&&E.find(N.declarations,(function(N){return!!E.getEffectiveTypeAnnotationNode(N)&&(!R||!!E.findAncestor(N,(function(E){return E===R})))}))}function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(N,R){return!(E.getObjectFlags(R)&4)||!E.isTypeReferenceNode(N)||E.length(N.typeArguments)>=getMinTypeArgumentCount(R.target.typeParameters)}function serializeTypeForDeclaration(N,R,j,$,q,G){if(R!==Jt&&$){var ie=getDeclarationWithTypeAnnotation(j,$);if(ie&&!E.isFunctionLikeDeclaration(ie)&&!E.isGetAccessorDeclaration(ie)){var ae=E.getEffectiveTypeAnnotationNode(ie);if(getTypeFromTypeNode(ae)===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(ae,R)){var ce=serializeExistingTypeNode(N,ae,q,G);if(ce){return ce}}}}var le=N.flags;if(R.flags&8192&&R.symbol===j&&(!N.enclosingDeclaration||E.some(j.declarations,(function(R){return E.getSourceFileOfNode(R)===E.getSourceFileOfNode(N.enclosingDeclaration)})))){N.flags|=1048576}var _e=typeToTypeNodeHelper(R,N);N.flags=le;return _e}function serializeReturnTypeForSignature(N,R,j,$,q){if(R!==Jt&&N.enclosingDeclaration){var G=j.declaration&&E.getEffectiveReturnTypeNode(j.declaration);if(!!E.findAncestor(G,(function(E){return E===N.enclosingDeclaration}))&&G){var ie=getTypeFromTypeNode(G);var ae=ie.flags&262144&&ie.isThisType?instantiateType(ie,j.mapper):ie;if(ae===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(G,R)){var ce=serializeExistingTypeNode(N,G,$,q);if(ce){return ce}}}}return typeToTypeNodeHelper(R,N)}function trackExistingEntityName(N,R,j){var $,q;var G=false;var ie=E.getFirstIdentifier(N);if(E.isInJSFile(N)&&(E.isExportsIdentifier(ie)||E.isModuleExportsAccessExpression(ie.parent)||E.isQualifiedName(ie.parent)&&E.isModuleIdentifier(ie.parent.left)&&E.isExportsIdentifier(ie.parent.right))){G=true;return{introducesError:G,node:N}}var ae=resolveEntityName(ie,67108863,true,true);if(ae){if(isSymbolAccessible(ae,R.enclosingDeclaration,67108863,false).accessibility!==0){G=true}else{(q=($=R.tracker)===null||$===void 0?void 0:$.trackSymbol)===null||q===void 0?void 0:q.call($,ae,R.enclosingDeclaration,67108863);j===null||j===void 0?void 0:j(ae)}if(E.isIdentifier(N)){var ce=ae.flags&262144?typeParameterToName(getDeclaredTypeOfSymbol(ae),R):E.factory.cloneNode(N);ce.symbol=ae;return{introducesError:G,node:E.setEmitFlags(E.setOriginalNode(ce,N),16777216)}}}return{introducesError:G,node:N}}function serializeExistingTypeNode(N,R,j,$){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var G=false;var ie=E.getSourceFileOfNode(R);var ae=E.visitNode(R,visitExistingNodeTreeSymbols);if(G){return undefined}return ae===R?E.setTextRange(E.factory.cloneNode(R),R):ae;function visitExistingNodeTreeSymbols(R){if(E.isJSDocAllType(R)||R.kind===314){return E.factory.createKeywordTypeNode(129)}if(E.isJSDocUnknownType(R)){return E.factory.createKeywordTypeNode(153)}if(E.isJSDocNullableType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createLiteralTypeNode(E.factory.createNull())])}if(E.isJSDocOptionalType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createKeywordTypeNode(151)])}if(E.isJSDocNonNullableType(R)){return E.visitNode(R.type,visitExistingNodeTreeSymbols)}if(E.isJSDocVariadicType(R)){return E.factory.createArrayTypeNode(E.visitNode(R.type,visitExistingNodeTreeSymbols))}if(E.isJSDocTypeLiteral(R)){return E.factory.createTypeLiteralNode(E.map(R.jsDocPropertyTags,(function(j){var $=E.isIdentifier(j.name)?j.name:j.name.right;var q=getTypeOfPropertyOfType(getTypeFromTypeNode(R),$.escapedText);var G=q&&j.typeExpression&&getTypeFromTypeNode(j.typeExpression.type)!==q?typeToTypeNodeHelper(q,N):undefined;return E.factory.createPropertySignature(undefined,$,j.isBracketed||j.typeExpression&&E.isJSDocOptionalType(j.typeExpression.type)?E.factory.createToken(57):undefined,G||j.typeExpression&&E.visitNode(j.typeExpression.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))})))}if(E.isTypeReferenceNode(R)&&E.isIdentifier(R.typeName)&&R.typeName.escapedText===""){return E.setOriginalNode(E.factory.createKeywordTypeNode(129),R)}if((E.isExpressionWithTypeArguments(R)||E.isTypeReferenceNode(R))&&E.isJSDocIndexSignature(R)){return E.factory.createTypeLiteralNode([E.factory.createIndexSignature(undefined,undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"x",undefined,E.visitNode(R.typeArguments[0],visitExistingNodeTreeSymbols))],E.visitNode(R.typeArguments[1],visitExistingNodeTreeSymbols))])}if(E.isJSDocFunctionType(R)){if(E.isJSDocConstructSignature(R)){var ae;return E.factory.createConstructorTypeNode(R.modifiers,E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.mapDefined(R.parameters,(function(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="new"?(ae=N.type,undefined):E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(ae||R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))}else{return E.factory.createFunctionTypeNode(E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.map(R.parameters,(function(N,R){return E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))}}if(E.isTypeReferenceNode(R)&&E.isInJSDoc(R)&&(!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(R,getTypeFromTypeNode(R))||getIntendedTypeFromJSDocTypeReference(R)||jt===resolveTypeReferenceName(getTypeReferenceName(R),788968,true))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}if(E.isLiteralImportTypeNode(R)){var ce=getNodeLinks(R).resolvedSymbol;if(E.isInJSDoc(R)&&ce&&(!R.isTypeOf&&!(ce.flags&788968)||!(E.length(R.typeArguments)>=getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ce))))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}return E.factory.updateImportTypeNode(R,E.factory.updateLiteralTypeNode(R.argument,rewriteModuleSpecifier(R,R.argument.literal)),R.qualifier,E.visitNodes(R.typeArguments,visitExistingNodeTreeSymbols,E.isTypeNode),R.isTypeOf)}if(E.isEntityName(R)||E.isEntityNameExpression(R)){var le=trackExistingEntityName(R,N,j),_e=le.introducesError,Ee=le.node;G=G||_e;if(Ee!==R){return Ee}}if(ie&&E.isTupleTypeNode(R)&&E.getLineAndCharacterOfPosition(ie,R.pos).line===E.getLineAndCharacterOfPosition(ie,R.end).line){E.setEmitFlags(R,1)}return E.visitEachChild(R,visitExistingNodeTreeSymbols,E.nullTransformationContext);function getEffectiveDotDotDotForParameter(N){return N.dotDotDotToken||(N.type&&E.isJSDocVariadicType(N.type)?E.factory.createToken(25):undefined)}function getNameForJSDocFunctionParameter(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="this"?"this":getEffectiveDotDotDotForParameter(N)?"args":"arg"+R}function rewriteModuleSpecifier(R,j){if($){if(N.tracker&&N.tracker.moduleResolverHost){var G=getExternalModuleFileFromDeclaration(R);if(G){var ie=E.createGetCanonicalFileName(!!q.useCaseSensitiveFileNames);var ae={getCanonicalFileName:ie,getCurrentDirectory:function(){return N.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return N.tracker.moduleResolverHost.getCommonSourceDirectory()}};var ce=E.getResolvedExternalModuleName(ae,G);return E.factory.createStringLiteral(ce)}}}else{if(N.tracker&&N.tracker.trackExternalModuleSymbolOfImportTypeNode){var le=resolveExternalModuleNameWorker(j,j,undefined);if(le){N.tracker.trackExternalModuleSymbolOfImportTypeNode(le)}}}return j}}}function symbolTableToDeclarationStatements(N,R,q){var G=makeSerializePropertySymbol(E.factory.createPropertyDeclaration,167,true);var ie=makeSerializePropertySymbol((function(N,R,j,$,q){return E.factory.createPropertySignature(R,j,$,q)}),166,false);var ae=R.enclosingDeclaration;var ce=[];var le=new E.Set;var _e=[];var Ee=R;R=$($({},Ee),{usedSymbolNames:new E.Set(Ee.usedSymbolNames),remappedSymbolNames:new E.Map,tracker:$($({},Ee.tracker),{trackSymbol:function(E,N,j){var $=isSymbolAccessible(E,N,j,false);if($.accessibility===0){var q=lookupSymbolChainWorker(E,R,j);if(!(E.flags&4)){includePrivateSymbol(q[0])}}else if(Ee.tracker&&Ee.tracker.trackSymbol){return Ee.tracker.trackSymbol(E,N,j)}return false}})});R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);E.forEachEntry(N,(function(N,R){var j=E.unescapeLeadingUnderscores(R);void getInternalSymbolName(N,j)}));var Te=!q;var we=N.get("export=");if(we&&N.size>1&&we.flags&2097152){N=E.createSymbolTable();N.set("export=",we)}visitSymbolTable(N);return mergeRedundantStatements(ce);function isIdentifierAndNotUndefined(E){return!!E&&E.kind===79}function getNamesOfDeclaration(N){if(E.isVariableStatement(N)){return E.filter(E.map(N.declarationList.declarations,E.getNameOfDeclaration),isIdentifierAndNotUndefined)}return E.filter([E.getNameOfDeclaration(N)],isIdentifierAndNotUndefined)}function flattenExportAssignedNamespace(N){var R=E.find(N,E.isExportAssignment);var $=E.findIndex(N,E.isModuleDeclaration);var q=$!==-1?N[$]:undefined;if(q&&R&&R.isExportEquals&&E.isIdentifier(R.expression)&&E.isIdentifier(q.name)&&E.idText(q.name)===E.idText(R.expression)&&q.body&&E.isModuleBlock(q.body)){var G=E.filter(N,(function(N){return!!(E.getEffectiveModifierFlags(N)&1)}));var ie=q.name;var ae=q.body;if(E.length(G)){q=E.factory.updateModuleDeclaration(q,q.decorators,q.modifiers,q.name,ae=E.factory.updateModuleBlock(ae,E.factory.createNodeArray(j(j([],q.body.statements,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.map(E.flatMap(G,(function(E){return getNamesOfDeclaration(E)})),(function(N){return E.factory.createExportSpecifier(undefined,N)}))),undefined)],false))));N=j(j(j([],N.slice(0,$),true),[q],false),N.slice($+1),true)}if(!E.find(N,(function(N){return N!==q&&E.nodeHasName(N,ie)}))){ce=[];var le=!E.some(ae.statements,(function(N){return E.hasSyntacticModifier(N,1)||E.isExportAssignment(N)||E.isExportDeclaration(N)}));E.forEach(ae.statements,(function(E){addResult(E,le?1:0)}));N=j(j([],E.filter(N,(function(E){return E!==q&&E!==R})),true),ce,true)}}return N}function mergeExportDeclarations(N){var R=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(R)>1){var $=E.filter(N,(function(N){return!E.isExportDeclaration(N)||!!N.moduleSpecifier||!N.exportClause}));N=j(j([],$,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),undefined)],false)}var q=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(q)>1){var G=E.group(q,(function(N){return E.isStringLiteral(N.moduleSpecifier)?">"+N.moduleSpecifier.text:">"}));if(G.length!==q.length){var _loop_9=function(R){if(R.length>1){N=j(j([],E.filter(N,(function(E){return R.indexOf(E)===-1})),true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),R[0].moduleSpecifier)],false)}};for(var ie=0,ae=G;ie=0){var j=N[R];var $=E.mapDefined(j.exportClause.elements,(function(R){if(!R.propertyName){var j=E.indicesOf(N);var $=E.filter(j,(function(j){return E.nodeHasName(N[j],R.name)}));if(E.length($)&&E.every($,(function(E){return canHaveExportModifier(N[E])}))){for(var q=0,G=$;q0&&E.isSingleOrDoubleQuote(q.charCodeAt(0))?E.stripQuotes(q):q}if(j==="default"){j="_default"}else if(j==="export="){j="_exports"}j=E.isIdentifierText(j,Ye)&&!E.isStringANonContextualKeyword(j)?j:"_"+j.replace(/[^a-zA-Z0-9]/g,"_");return j}function getInternalSymbolName(E,N){var j=getSymbolId(E);if(R.remappedSymbolNames.has(j)){return R.remappedSymbolNames.get(j)}N=getNameCandidateWorker(E,N);R.remappedSymbolNames.set(j,N);return N}}}function typePredicateToString(N,R,j,$){if(j===void 0){j=16384}return $?typePredicateToStringWorker($).getText():E.usingSingleLineStringWriter(typePredicateToStringWorker);function typePredicateToStringWorker($){var q=E.factory.createTypePredicateNode(N.kind===2||N.kind===3?E.factory.createToken(128):undefined,N.kind===1||N.kind===3?E.factory.createIdentifier(N.parameterName):E.factory.createThisTypeNode(),N.type&&_t.typeToTypeNode(N.type,R,toNodeBuilderFlags(j)|70221824|512));var G=E.createPrinter({removeComments:true});var ie=R&&E.getSourceFileOfNode(R);G.writeNode(4,q,ie,$);return $}}function formatUnionTypes(E){var N=[];var R=0;for(var j=0;j=0){var j=ei.length;for(var $=R;$=0;R--){if(hasType(ei[R],ri[R])){return-1}if(ei[R]===E&&ri[R]===N){return R}}return-1}function hasType(N,R){switch(R){case 0:return!!getSymbolLinks(N).type;case 5:return!!getNodeLinks(N).resolvedEnumType;case 2:return!!getSymbolLinks(N).declaredType;case 1:return!!N.resolvedBaseConstructorType;case 3:return!!N.resolvedReturnType;case 4:return!!N.immediateBaseConstraint;case 6:return!!N.resolvedTypeArguments;case 7:return!!N.baseTypesResolved}return E.Debug.assertNever(R)}function popTypeResolution(){ei.pop();ri.pop();return ti.pop()}function getDeclarationContainer(N){return E.findAncestor(E.getRootDeclaration(N),(function(E){switch(E.kind){case 252:case 253:case 268:case 267:case 266:case 265:return false;default:return true}})).parent}function getTypeOfPrototypeProperty(N){var R=getDeclaredTypeOfSymbol(getParentOfSymbol(N));return R.typeParameters?createTypeReference(R,E.map(R.typeParameters,(function(E){return zt}))):R}function getTypeOfPropertyOfType(E,N){var R=getPropertyOfType(E,N);return R?getTypeOfSymbol(R):undefined}function getTypeOfPropertyOrIndexSignature(E,N){var R;return getTypeOfPropertyOfType(E,N)||((R=getApplicableIndexInfoForName(E,N))===null||R===void 0?void 0:R.type)||Ht}function isTypeAny(E){return E&&(E.flags&1)!==0}function getTypeForBindingElementParent(E){var N=getSymbolOfNode(E);return N&&getSymbolLinks(N).type||getTypeForVariableLikeDeclaration(E,false)}function getRestType(N,R,j){N=filterType(N,(function(E){return!(E.flags&98304)}));if(N.flags&131072){return Tr}if(N.flags&1048576){return mapType(N,(function(E){return getRestType(E,R,j)}))}var $=getUnionType(E.map(R,getLiteralTypeFromPropertyName));if(isGenericObjectType(N)||isGenericIndexType($)){if($.flags&131072){return N}var q=getGlobalOmitSymbol();if(!q){return Jt}return getTypeAliasInstantiation(q,[N,$])}var G=E.createSymbolTable();for(var ie=0,ae=getPropertiesOfType(N);ie=2?createIterableType(zt):mn}var ie=E.map($,(function(N){return E.isOmittedExpression(N)?zt:getTypeFromBindingElement(N,R,j)}));var ae=E.findLastIndex($,(function(N){return!(N===G||E.isOmittedExpression(N)||hasDefaultValue(N))}),$.length-1)+1;var ce=E.map($,(function(E,N){return E===G?4:N>=ae?2:1}));var le=createTupleType(ie,ce);if(R){le=cloneTypeReference(le);le.pattern=N;le.objectFlags|=262144}return le}function getTypeFromBindingPattern(E,N,R){if(N===void 0){N=false}if(R===void 0){R=false}return E.kind===199?getTypeFromObjectBindingPattern(E,N,R):getTypeFromArrayBindingPattern(E,N,R)}function getWidenedTypeForVariableLikeDeclaration(E,N){return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(E,true),E,N)}function isGlobalSymbolConstructor(E){var N=getSymbolOfNode(E);var R=getGlobalESSymbolConstructorTypeSymbol(false);return R&&N&&N===R}function widenTypeForVariableLikeDeclaration(N,R,j){if(N){if(N.flags&4096&&isGlobalSymbolConstructor(R.parent)){N=getESSymbolLikeTypeForNode(R)}if(j){reportErrorsFromWidening(R,N)}if(N.flags&8192&&(E.isBindingElement(R)||!R.type)&&N.symbol!==getSymbolOfNode(R)){N=lr}return getWidenedType(N)}N=E.isParameter(R)&&R.dotDotDotToken?mn:zt;if(j){if(!declarationBelongsToPrivateAmbientMember(R)){reportImplicitAny(R,N)}}return N}function declarationBelongsToPrivateAmbientMember(N){var R=E.getRootDeclaration(N);var j=R.kind===162?R.parent:R;return isPrivateWithinAmbient(j)}function tryGetTypeFromEffectiveTypeNode(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}}function getTypeOfVariableOrParameterOrProperty(E){var N=getSymbolLinks(E);if(!N.type){var R=getTypeOfVariableOrParameterOrPropertyWorker(E);if(!N.type){N.type=R}}return N.type}function getTypeOfVariableOrParameterOrPropertyWorker(N){if(N.flags&4194304){return getTypeOfPrototypeProperty(N)}if(N===St){return zt}if(N.flags&134217728&&N.valueDeclaration){var R=getSymbolOfNode(E.getSourceFileOfNode(N.valueDeclaration));var j=createSymbol(R.flags,"exports");j.declarations=R.declarations?R.declarations.slice():[];j.parent=N;j.target=R;if(R.valueDeclaration)j.valueDeclaration=R.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(R.exports)j.exports=new E.Map(R.exports);var $=E.createSymbolTable();$.set("exports",j);return createAnonymousType(N,$,E.emptyArray,E.emptyArray,E.emptyArray)}E.Debug.assertIsDefined(N.valueDeclaration);var q=N.valueDeclaration;if(E.isCatchClauseVariableDeclarationOrBindingElement(q)){var G=E.getEffectiveTypeAnnotationNode(q);if(G===undefined){return ut?Ht:zt}var ie=getTypeOfNode(G);return isTypeAny(ie)||ie===Ht?ie:Jt}if(E.isSourceFile(q)&&E.isJsonSourceFile(q)){if(!q.statements.length){return Tr}return getWidenedType(getWidenedLiteralType(checkExpression(q.statements[0].expression)))}if(!pushTypeResolution(N,0)){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}var ae;if(q.kind===269){ae=widenTypeForVariableLikeDeclaration(checkExpressionCached(q.expression),q)}else if(E.isBinaryExpression(q)||E.isInJSFile(q)&&(E.isCallExpression(q)||(E.isPropertyAccessExpression(q)||E.isBindableStaticElementAccessExpression(q))&&E.isBinaryExpression(q.parent))){ae=getWidenedTypeForAssignmentDeclaration(N)}else if(E.isPropertyAccessExpression(q)||E.isElementAccessExpression(q)||E.isIdentifier(q)||E.isStringLiteralLike(q)||E.isNumericLiteral(q)||E.isClassDeclaration(q)||E.isFunctionDeclaration(q)||E.isMethodDeclaration(q)&&!E.isObjectLiteralMethod(q)||E.isMethodSignature(q)||E.isSourceFile(q)){if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}ae=E.isBinaryExpression(q.parent)?getWidenedTypeForAssignmentDeclaration(N):tryGetTypeFromEffectiveTypeNode(q)||zt}else if(E.isPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkPropertyAssignment(q)}else if(E.isJsxAttribute(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkJsxAttribute(q)}else if(E.isShorthandPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkExpressionForMutableLocation(q.name,0)}else if(E.isObjectLiteralMethod(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkObjectLiteralMethod(q,0)}else if(E.isParameter(q)||E.isPropertyDeclaration(q)||E.isPropertySignature(q)||E.isVariableDeclaration(q)||E.isBindingElement(q)||E.isJSDocPropertyLikeTag(q)){ae=getWidenedTypeForVariableLikeDeclaration(q,true)}else if(E.isEnumDeclaration(q)){ae=getTypeOfFuncClassEnumModule(N)}else if(E.isEnumMember(q)){ae=getTypeOfEnumMember(N)}else if(E.isAccessor(q)){ae=resolveTypeOfAccessors(N)||E.Debug.fail("Non-write accessor resolution must always produce a type")}else{return E.Debug.fail("Unhandled declaration kind! "+E.Debug.formatSyntaxKind(q.kind)+" for "+E.Debug.formatSymbol(N))}if(!popTypeResolution()){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}return ae}function getAnnotatedAccessorTypeNode(N){if(N){if(N.kind===170){var R=E.getEffectiveReturnTypeNode(N);return R}else{var j=E.getEffectiveSetAccessorTypeAnnotationNode(N);return j}}return undefined}function getAnnotatedAccessorType(E){var N=getAnnotatedAccessorTypeNode(E);return N&&getTypeFromTypeNode(N)}function getAnnotatedAccessorThisParameter(E){var N=getAccessorThisParameter(E);return N&&N.symbol}function getThisTypeOfDeclaration(E){return getThisTypeOfSignature(getSignatureFromDeclaration(E))}function getTypeOfAccessors(N){var R=getSymbolLinks(N);return R.type||(R.type=getTypeOfAccessorsWorker(N)||E.Debug.fail("Read type of accessor must always produce a type"))}function getTypeOfSetAccessor(E){var N=getSymbolLinks(E);return N.writeType||(N.writeType=getTypeOfAccessorsWorker(E,true))}function getTypeOfAccessorsWorker(N,R){if(R===void 0){R=false}if(!pushTypeResolution(N,0)){return Jt}var j=resolveTypeOfAccessors(N,R);if(!popTypeResolution()){j=zt;if(st){var $=E.getDeclarationOfKind(N,170);error($,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,symbolToString(N))}}return j}function resolveTypeOfAccessors(N,R){if(R===void 0){R=false}var j=E.getDeclarationOfKind(N,170);var $=E.getDeclarationOfKind(N,171);var q=getAnnotatedAccessorType($);if(R&&q){return instantiateTypeIfNeeded(q,N)}if(j&&E.isInJSFile(j)){var G=getTypeForDeclarationFromJSDocComment(j);if(G){return instantiateTypeIfNeeded(G,N)}}var ie=getAnnotatedAccessorType(j);if(ie){return instantiateTypeIfNeeded(ie,N)}if(q){return q}if(j&&j.body){var ae=getReturnTypeFromBody(j);return instantiateTypeIfNeeded(ae,N)}if($){if(!isPrivateWithinAmbient($)){errorOrSuggestion(st,$,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,symbolToString(N))}return zt}else if(j){E.Debug.assert(!!j,"there must exist a getter as we are current checking either setter or getter in this function");if(!isPrivateWithinAmbient(j)){errorOrSuggestion(st,j,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,symbolToString(N))}return zt}return undefined;function instantiateTypeIfNeeded(N,R){if(E.getCheckFlags(R)&1){var j=getSymbolLinks(R);return instantiateType(N,j.mapper)}return N}}function getBaseTypeVariableOfClass(N){var R=getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(N));return R.flags&8650752?R:R.flags&2097152?E.find(R.types,(function(E){return!!(E.flags&8650752)})):undefined}function getTypeOfFuncClassEnumModule(E){var N=getSymbolLinks(E);var R=N;if(!N.type){var j=E.valueDeclaration&&getSymbolOfExpando(E.valueDeclaration,false);if(j){var $=mergeJSSymbols(E,j);if($){E=N=$}}R.type=N.type=getTypeOfFuncClassEnumModuleWorker(E)}return N.type}function getTypeOfFuncClassEnumModuleWorker(N){var R=N.valueDeclaration;if(N.flags&1536&&E.isShorthandAmbientModuleSymbol(N)){return zt}else if(R&&(R.kind===219||E.isAccessExpression(R)&&R.parent.kind===219)){return getWidenedTypeForAssignmentDeclaration(N)}else if(N.flags&512&&R&&E.isSourceFile(R)&&R.commonJsModuleIndicator){var j=resolveExternalModuleSymbol(N);if(j!==N){if(!pushTypeResolution(N,0)){return Jt}var $=getMergedSymbol(N.exports.get("export="));var q=getWidenedTypeForAssignmentDeclaration($,$===j?undefined:j);if(!popTypeResolution()){return reportCircularityError(N)}return q}}var G=createObjectType(16,N);if(N.flags&32){var ie=getBaseTypeVariableOfClass(N);return ie?getIntersectionType([G,ie]):G}else{return rt&&N.flags&16777216?getOptionalType(G):G}}function getTypeOfEnumMember(E){var N=getSymbolLinks(E);return N.type||(N.type=getDeclaredTypeOfEnumMember(E))}function getTypeOfAlias(E){var N=getSymbolLinks(E);if(!N.type){var R=resolveAlias(E);var j=E.declarations&&getTargetOfAliasDeclaration(getDeclarationOfAliasSymbol(E),true);N.type=(j===null||j===void 0?void 0:j.declarations)&&isDuplicatedCommonJSExport(j.declarations)&&E.declarations.length?getFlowTypeFromCommonJSExport(j):isDuplicatedCommonJSExport(E.declarations)?Wt:R.flags&111551?getTypeOfSymbol(R):Jt}return N.type}function getTypeOfInstantiatedSymbol(E){var N=getSymbolLinks(E);if(!N.type){if(!pushTypeResolution(E,0)){return N.type=Jt}var R=instantiateType(getTypeOfSymbol(N.target),N.mapper);if(!popTypeResolution()){R=reportCircularityError(E)}N.type=R}return N.type}function reportCircularityError(N){var R=N.valueDeclaration;if(E.getEffectiveTypeAnnotationNode(R)){error(N.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,symbolToString(N));return Jt}if(st&&(R.kind!==162||R.initializer)){error(N.valueDeclaration,E.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,symbolToString(N))}return zt}function getTypeOfSymbolWithDeferredType(N){var R=getSymbolLinks(N);if(!R.type){E.Debug.assertIsDefined(R.deferralParent);E.Debug.assertIsDefined(R.deferralConstituents);R.type=R.deferralParent.flags&1048576?getUnionType(R.deferralConstituents):getIntersectionType(R.deferralConstituents)}return R.type}function getSetAccessorTypeOfSymbol(E){if(E.flags&98304){var N=getTypeOfSetAccessor(E);if(N){return N}}return getTypeOfSymbol(E)}function getTypeOfSymbol(N){var R=E.getCheckFlags(N);if(R&65536){return getTypeOfSymbolWithDeferredType(N)}if(R&1){return getTypeOfInstantiatedSymbol(N)}if(R&262144){return getTypeOfMappedSymbol(N)}if(R&8192){return getTypeOfReverseMappedSymbol(N)}if(N.flags&(3|4)){return getTypeOfVariableOrParameterOrProperty(N)}if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}if(N.flags&8){return getTypeOfEnumMember(N)}if(N.flags&98304){return getTypeOfAccessors(N)}if(N.flags&2097152){return getTypeOfAlias(N)}return Jt}function getNonMissingTypeOfSymbol(E){return removeMissingType(getTypeOfSymbol(E),!!(E.flags&16777216))}function isReferenceToType(N,R){return N!==undefined&&R!==undefined&&(E.getObjectFlags(N)&4)!==0&&N.target===R}function getTargetType(N){return E.getObjectFlags(N)&4?N.target:N}function hasBaseType(N,R){return check(N);function check(N){if(E.getObjectFlags(N)&(3|4)){var j=getTargetType(N);return j===R||E.some(getBaseTypes(j),check)}else if(N.flags&2097152){return E.some(N.types,check)}return false}}function appendTypeParameters(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=E.appendIfUnique(N,getDeclaredTypeOfTypeParameter(getSymbolOfNode(q)))}return N}function getOuterTypeParameters(N,R){while(true){N=N.parent;if(N&&E.isBinaryExpression(N)){var j=E.getAssignmentDeclarationKind(N);if(j===6||j===3){var $=getSymbolOfNode(N.left);if($&&$.parent&&!E.findAncestor($.parent.valueDeclaration,(function(E){return N===E}))){N=$.parent.valueDeclaration}}}if(!N){return undefined}switch(N.kind){case 255:case 224:case 256:case 172:case 173:case 166:case 177:case 178:case 312:case 254:case 167:case 211:case 212:case 257:case 339:case 340:case 334:case 333:case 193:case 187:{var q=getOuterTypeParameters(N,R);if(N.kind===193){return E.append(q,getDeclaredTypeOfTypeParameter(getSymbolOfNode(N.typeParameter)))}else if(N.kind===187){return E.concatenate(q,getInferTypeParameters(N))}var G=appendTypeParameters(q,E.getEffectiveTypeParameterDeclarations(N));var ie=R&&(N.kind===255||N.kind===224||N.kind===256||isJSConstructor(N))&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(N)).thisType;return ie?E.append(G,ie):G}case 335:var ae=E.getParameterSymbolFromJSDoc(N);if(ae){N=ae.valueDeclaration}break;case 315:{var q=getOuterTypeParameters(N,R);return N.tags?appendTypeParameters(q,E.flatMap(N.tags,(function(N){return E.isJSDocTemplateTag(N)?N.typeParameters:undefined}))):q}}}}function getOuterTypeParametersOfClassOrInterface(N){var R=N.flags&32?N.valueDeclaration:E.getDeclarationOfKind(N,256);E.Debug.assert(!!R,"Class was missing valueDeclaration -OR- non-class had no interface declarations");return getOuterTypeParameters(R)}function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N){if(!N.declarations){return}var R;for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===256||q.kind===255||q.kind===224||isJSConstructor(q)||E.isTypeAlias(q)){var G=q;R=appendTypeParameters(R,E.getEffectiveTypeParameterDeclarations(G))}}return R}function getTypeParametersOfClassOrInterface(N){return E.concatenate(getOuterTypeParametersOfClassOrInterface(N),getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N))}function isMixinConstructorType(E){var N=getSignaturesOfType(E,1);if(N.length===1){var R=N[0];if(!R.typeParameters&&R.parameters.length===1&&signatureHasRestParameter(R)){var j=getTypeOfParameter(R.parameters[0]);return isTypeAny(j)||getElementTypeOfArrayType(j)===zt}}return false}function isConstructorType(E){if(getSignaturesOfType(E,1).length>0){return true}if(E.flags&8650752){var N=getBaseConstraintOfType(E);return!!N&&isMixinConstructorType(N)}return false}function getBaseTypeNodeOfClass(N){return E.getEffectiveBaseTypeNode(N.symbol.valueDeclaration)}function getConstructorsForTypeArguments(N,R,j){var $=E.length(R);var q=E.isInJSFile(j);return E.filter(getSignaturesOfType(N,1),(function(N){return(q||$>=getMinTypeArgumentCount(N.typeParameters))&&$<=E.length(N.typeParameters)}))}function getInstantiatedConstructorsForTypeArguments(N,R,j){var $=getConstructorsForTypeArguments(N,R,j);var q=E.map(R,getTypeFromTypeNode);return E.sameMap($,(function(N){return E.some(N.typeParameters)?getSignatureInstantiation(N,q,E.isInJSFile(j)):N}))}function getBaseConstructorTypeOfClass(N){if(!N.resolvedBaseConstructorType){var R=N.symbol.valueDeclaration;var j=E.getEffectiveBaseTypeNode(R);var $=getBaseTypeNodeOfClass(N);if(!$){return N.resolvedBaseConstructorType=Gt}if(!pushTypeResolution(N,1)){return Jt}var q=checkExpression($.expression);if(j&&$!==j){E.Debug.assert(!j.typeArguments);checkExpression(j.expression)}if(q.flags&(524288|2097152)){resolveStructuredTypeMembers(q)}if(!popTypeResolution()){error(N.symbol.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,symbolToString(N.symbol));return N.resolvedBaseConstructorType=Jt}if(!(q.flags&1)&&q!==Zt&&!isConstructorType(q)){var G=error($.expression,E.Diagnostics.Type_0_is_not_a_constructor_function_type,typeToString(q));if(q.flags&262144){var ie=getConstraintFromTypeParameter(q);var ae=Ht;if(ie){var ce=getSignaturesOfType(ie,1);if(ce[0]){ae=getReturnTypeOfSignature(ce[0])}}if(q.symbol.declarations){E.addRelatedInfo(G,E.createDiagnosticForNode(q.symbol.declarations[0],E.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,symbolToString(q.symbol),typeToString(ae)))}}return N.resolvedBaseConstructorType=Jt}N.resolvedBaseConstructorType=q}return N.resolvedBaseConstructorType}function getImplementsTypes(N){var R=E.emptyArray;if(N.symbol.declarations){for(var j=0,$=N.symbol.declarations;j<$.length;j++){var q=$[j];var G=E.getEffectiveImplementsTypeNodes(q);if(!G)continue;for(var ie=0,ae=G;ie=we&&ce<=Ie){var Ne=Ie?createSignatureInstantiation(Te,fillMissingTypeArguments(ae,Te.typeParameters,we,ie)):cloneSignature(Te);Ne.typeParameters=N.localTypeParameters;Ne.resolvedReturnType=N;Ne.flags=q?Ne.flags|4:Ne.flags&~4;le.push(Ne)}}return le}function findMatchingSignature(E,N,R,j,$){for(var q=0,G=E;q0){return undefined}for(var $=1;$1){j=j===undefined?$:-1}for(var q=0,G=N[$];q1){var le=ie.thisParameter;var _e=E.forEach(ae,(function(E){return E.thisParameter}));if(_e){var Ee=getIntersectionType(E.mapDefined(ae,(function(E){return E.thisParameter&&getTypeOfSymbol(E.thisParameter)})));le=createSymbolWithType(_e,Ee)}ce=createUnionSignature(ie,ae);ce.thisParameter=le}(R||(R=[])).push(ce)}}}}if(!E.length(R)&&j!==-1){var Te=N[j!==undefined?j:0];var we=Te.slice();var _loop_10=function(N){if(N!==Te){var R=N[0];E.Debug.assert(!!R,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass");we=!!R.typeParameters&&E.some(we,(function(E){return!!E.typeParameters&&!compareTypeParametersIdentical(R.typeParameters,E.typeParameters)}))?undefined:E.map(we,(function(E){return combineSignaturesOfUnionMembers(E,R)}));if(!we){return"break"}}};for(var Ie=0,Ne=N;Ie=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg"+_e);je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfUnionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineUnionParameters(N,R,$);var ie=combineUnionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=1048576;ce.compositeSignatures=E.concatenate(N.compositeKind!==2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind!==2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getUnionIndexInfos(N){var R=getIndexInfosOfType(N[0]);if(R){var j=[];var _loop_11=function(R){var $=R.keyType;if(E.every(N,(function(E){return!!getIndexInfoOfType(E,$)}))){j.push(createIndexInfo($,getUnionType(E.map(N,(function(E){return getIndexTypeOfType(E,$)}))),E.some(N,(function(E){return getIndexInfoOfType(E,$).isReadonly}))))}};for(var $=0,q=R;$0}));var j=E.map(N,isMixinConstructorType);if(R>0&&R===E.countWhere(j,(function(E){return E}))){var $=j.indexOf(true);j[$]=false}return j}function includeMixinType(E,N,R,j){var $=[];for(var q=0;q0){le=E.map(le,(function(E){var N=cloneSignature(E);N.resolvedReturnType=includeMixinType(getReturnTypeOfSignature(E),q,G,ae);return N}))}j=appendSignatures(j,le)}R=appendSignatures(R,getSignaturesOfType(ce,0));$=E.reduceLeft(getIndexInfosOfType(ce),(function(E,N){return appendIndexInfo(E,N,false)}),$)};for(var ae=0;ae=7):R.flags&528?un:R.flags&12288?getGlobalESSymbolType(Ye>=2):R.flags&67108864?Tr:R.flags&4194304?vr:R.flags&2&&!rt?Tr:R}function getReducedApparentType(E){return getReducedType(getApparentType(getReducedType(E)))}function createUnionOrIntersectionProperty(N,R,j){var $,q;var G;var ie;var ae;var ce=N.flags&1048576;var le=ce?0:16777216;var _e=4;var Ee=0;var Te=false;for(var we=0,Ie=N.types;we2){Ze.checkFlags|=65536;Ze.deferralParent=N;Ze.deferralConstituents=Ge}else{Ze.type=ce?getUnionType(Ge):getIntersectionType(Ge)}return Ze}function getUnionOrIntersectionProperty(N,R,j){var $,q;var G=(($=N.propertyCacheWithoutObjectFunctionPropertyAugment)===null||$===void 0?void 0:$.get(R))||!j?(q=N.propertyCache)===null||q===void 0?void 0:q.get(R):undefined;if(!G){G=createUnionOrIntersectionProperty(N,R,j);if(G){var ie=j?N.propertyCacheWithoutObjectFunctionPropertyAugment||(N.propertyCacheWithoutObjectFunctionPropertyAugment=E.createSymbolTable()):N.propertyCache||(N.propertyCache=E.createSymbolTable());ie.set(R,G)}}return G}function getPropertyOfUnionOrIntersectionType(N,R,j){var $=getUnionOrIntersectionProperty(N,R,j);return $&&!(E.getCheckFlags($)&16)?$:undefined}function getReducedType(N){if(N.flags&1048576&&N.objectFlags&33554432){return N.resolvedReducedType||(N.resolvedReducedType=getReducedUnionType(N))}else if(N.flags&2097152){if(!(N.objectFlags&33554432)){N.objectFlags|=33554432|(E.some(getPropertiesOfUnionOrIntersectionType(N),isNeverReducedProperty)?67108864:0)}return N.objectFlags&67108864?dr:N}return N}function getReducedUnionType(N){var R=E.sameMap(N.types,getReducedType);if(R===N.types){return N}var j=getUnionType(R);if(j.flags&1048576){j.resolvedReducedType=j}return j}function isNeverReducedProperty(E){return isDiscriminantWithNeverType(E)||isConflictingPrivateProperty(E)}function isDiscriminantWithNeverType(N){return!(N.flags&16777216)&&(E.getCheckFlags(N)&(192|131072))===192&&!!(getTypeOfSymbol(N).flags&131072)}function isConflictingPrivateProperty(N){return!N.valueDeclaration&&!!(E.getCheckFlags(N)&1024)}function elaborateNeverIntersection(N,R){if(R.flags&2097152&&E.getObjectFlags(R)&67108864){var j=E.find(getPropertiesOfUnionOrIntersectionType(R),isDiscriminantWithNeverType);if(j){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,typeToString(R,undefined,536870912),symbolToString(j))}var $=E.find(getPropertiesOfUnionOrIntersectionType(R),isConflictingPrivateProperty);if($){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,typeToString(R,undefined,536870912),symbolToString($))}}return N}function getPropertyOfType(E,N,R){E=getReducedApparentType(E);if(E.flags&524288){var j=resolveStructuredTypeMembers(E);var $=j.members.get(N);if($&&symbolIsValue($)){return $}if(R)return undefined;var q=j===wr?rn:j.callSignatures.length?nn:j.constructSignatures.length?an:undefined;if(q){var G=getPropertyOfObjectType(q,N);if(G){return G}}return getPropertyOfObjectType(tn,N)}if(E.flags&3145728){return getPropertyOfUnionOrIntersectionType(E,N,R)}return undefined}function getSignaturesOfStructuredType(N,R){if(N.flags&3670016){var j=resolveStructuredTypeMembers(N);return R===0?j.callSignatures:j.constructSignatures}return E.emptyArray}function getSignaturesOfType(E,N){return getSignaturesOfStructuredType(getReducedApparentType(E),N)}function findIndexInfo(N,R){return E.find(N,(function(E){return E.keyType===R}))}function findApplicableIndexInfo(N,R){var j;var $;var q;for(var G=0,ie=N;G=0);return j>=getMinArgumentCount(R,1|2)}var $=E.getImmediatelyInvokedFunctionExpression(N.parent);if($){return!N.type&&!N.dotDotDotToken&&N.parent.parameters.indexOf(N)>=$.arguments.length}return false}function isOptionalPropertyDeclaration(N){return E.isPropertyDeclaration(N)&&N.questionToken}function isOptionalJSDocPropertyLikeTag(N){if(!E.isJSDocPropertyLikeTag(N)){return false}var R=N.isBracketed,j=N.typeExpression;return R||!!j&&j.type.kind===311}function createTypePredicate(E,N,R,j){return{kind:E,parameterName:N,parameterIndex:R,type:j}}function getMinTypeArgumentCount(E){var N=0;if(E){for(var R=0;R=j&&G<=q){var ie=N?N.slice():[];for(var ae=G;aeae.arguments.length&&!we||isJSDocOptionalParameter(Ee);if(!Ne){q=j.length}}if((N.kind===170||N.kind===171)&&hasBindableName(N)&&(!ie||!G)){var Me=N.kind===170?171:170;var Le=E.getDeclarationOfKind(getSymbolOfNode(N),Me);if(Le){G=getAnnotatedAccessorThisParameter(Le)}}var Be=N.kind===169?getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol)):undefined;var je=Be?Be.localTypeParameters:getTypeParametersFromDeclaration(N);if(E.hasRestParameter(N)||E.isInJSFile(N)&&maybeAddJsSyntheticRestParameter(N,j)){$|=1}if(E.isConstructorTypeNode(N)&&E.hasSyntacticModifier(N,128)||E.isConstructorDeclaration(N)&&E.hasSyntacticModifier(N.parent,128)){$|=4}R.resolvedSignature=createSignature(N,je,G,j,undefined,undefined,q,$)}return R.resolvedSignature}function maybeAddJsSyntheticRestParameter(N,R){if(E.isJSDocSignature(N)||!containsArgumentsReference(N)){return false}var j=E.lastOrUndefined(N.parameters);var $=j?E.getJSDocParameterTags(j):E.getJSDocTags(N).filter(E.isJSDocParameterTag);var q=E.firstDefined($,(function(N){return N.typeExpression&&E.isJSDocVariadicType(N.typeExpression.type)?N.typeExpression.type:undefined}));var G=createSymbol(3,"args",32768);G.type=q?createArrayType(getTypeFromTypeNode(q.type)):mn;if(q){R.pop()}R.push(G);return true}function getSignatureOfTypeTag(N){if(!(E.isInJSFile(N)&&E.isFunctionLikeDeclaration(N)))return undefined;var R=E.getJSDocTypeTag(N);return(R===null||R===void 0?void 0:R.typeExpression)&&getSingleCallSignature(getTypeFromTypeNode(R.typeExpression))}function getReturnTypeOfTypeTag(E){var N=getSignatureOfTypeTag(E);return N&&getReturnTypeOfSignature(N)}function containsArgumentsReference(N){var R=getNodeLinks(N);if(R.containsArgumentsReference===undefined){if(R.flags&8192){R.containsArgumentsReference=true}else{R.containsArgumentsReference=traverse(N.body)}}return R.containsArgumentsReference;function traverse(N){if(!N)return false;switch(N.kind){case 79:return N.escapedText===xt.escapedName&&getResolvedSymbol(N)===xt;case 165:case 167:case 170:case 171:return N.name.kind===160&&traverse(N.name);case 204:case 205:return traverse(N.expression);default:return!E.nodeStartsNewLexicalEnvironment(N)&&!E.isPartOfTypeNode(N)&&!!E.forEachChild(N,traverse)}}}function getSignaturesOfSymbol(N){if(!N||!N.declarations)return E.emptyArray;var R=[];for(var j=0;j0&&$.body){var q=N.declarations[j-1];if($.parent===q.parent&&$.kind===q.kind&&$.pos===q.end){continue}}R.push(getSignatureFromDeclaration($))}return R}function resolveExternalModuleTypeByLiteral(E){var N=resolveExternalModuleName(E,E);if(N){var R=resolveExternalModuleSymbol(N);if(R){return getTypeOfSymbol(R)}}return zt}function getThisTypeOfSignature(E){if(E.thisParameter){return getTypeOfSymbol(E.thisParameter)}}function getTypePredicateOfSignature(N){if(!N.resolvedTypePredicate){if(N.target){var R=getTypePredicateOfSignature(N.target);N.resolvedTypePredicate=R?instantiateTypePredicate(R,N.mapper):Rr}else if(N.compositeSignatures){N.resolvedTypePredicate=getUnionOrIntersectionTypePredicate(N.compositeSignatures,N.compositeKind)||Rr}else{var j=N.declaration&&E.getEffectiveReturnTypeNode(N.declaration);var $=void 0;if(!j&&E.isInJSFile(N.declaration)){var q=getSignatureOfTypeTag(N.declaration);if(q&&N!==q){$=getTypePredicateOfSignature(q)}}N.resolvedTypePredicate=j&&E.isTypePredicateNode(j)?createTypePredicateFromTypePredicateNode(j,N):$||Rr}E.Debug.assert(!!N.resolvedTypePredicate)}return N.resolvedTypePredicate===Rr?undefined:N.resolvedTypePredicate}function createTypePredicateFromTypePredicateNode(N,R){var j=N.parameterName;var $=N.type&&getTypeFromTypeNode(N.type);return j.kind===190?createTypePredicate(N.assertsModifier?2:0,undefined,undefined,$):createTypePredicate(N.assertsModifier?3:1,j.escapedText,E.findIndex(R.parameters,(function(E){return E.escapedName===j.escapedText})),$)}function getUnionOrIntersectionType(E,N,R){return N!==2097152?getUnionType(E,R):getIntersectionType(E)}function getReturnTypeOfSignature(N){if(!N.resolvedReturnType){if(!pushTypeResolution(N,3)){return Jt}var R=N.target?instantiateType(getReturnTypeOfSignature(N.target),N.mapper):N.compositeSignatures?instantiateType(getUnionOrIntersectionType(E.map(N.compositeSignatures,getReturnTypeOfSignature),N.compositeKind,2),N.mapper):getReturnTypeFromAnnotation(N.declaration)||(E.nodeIsMissing(N.declaration.body)?zt:getReturnTypeFromBody(N.declaration));if(N.flags&8){R=addOptionalTypeMarker(R)}else if(N.flags&16){R=getOptionalType(R)}if(!popTypeResolution()){if(N.declaration){var j=E.getEffectiveReturnTypeNode(N.declaration);if(j){error(j,E.Diagnostics.Return_type_annotation_circularly_references_itself)}else if(st){var $=N.declaration;var q=E.getNameOfDeclaration($);if(q){error(q,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,E.declarationNameToString(q))}else{error($,E.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}}R=zt}N.resolvedReturnType=R}return N.resolvedReturnType}function getReturnTypeFromAnnotation(N){if(N.kind===169){return getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol))}if(E.isJSDocConstructSignature(N)){return getTypeFromTypeNode(N.parameters[0].type)}var R=E.getEffectiveReturnTypeNode(N);if(R){return getTypeFromTypeNode(R)}if(N.kind===170&&hasBindableName(N)){var j=E.isInJSFile(N)&&getTypeForDeclarationFromJSDocComment(N);if(j){return j}var $=E.getDeclarationOfKind(getSymbolOfNode(N),171);var q=getAnnotatedAccessorType($);if(q){return q}}return getReturnTypeOfTypeTag(N)}function isResolvingReturnTypeOfSignature(E){return!E.resolvedReturnType&&findResolutionCycleStartIndex(E,3)>=0}function getRestTypeOfSignature(E){return tryGetRestTypeOfSignature(E)||zt}function tryGetRestTypeOfSignature(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);var R=isTupleType(N)?getRestTypeOfTupleType(N):N;return R&&getIndexTypeOfType(R,tr)}return undefined}function getSignatureInstantiation(E,N,R,j){var $=getSignatureInstantiationWithoutFillingInTypeArguments(E,fillMissingTypeArguments(N,E.typeParameters,getMinTypeArgumentCount(E.typeParameters),R));if(j){var q=getSingleCallOrConstructSignature(getReturnTypeOfSignature($));if(q){var G=cloneSignature(q);G.typeParameters=j;var ie=cloneSignature($);ie.resolvedReturnType=getOrCreateTypeFromSignature(G);return ie}}return $}function getSignatureInstantiationWithoutFillingInTypeArguments(N,R){var j=N.instantiations||(N.instantiations=new E.Map);var $=getTypeListId(R);var q=j.get($);if(!q){j.set($,q=createSignatureInstantiation(N,R))}return q}function createSignatureInstantiation(E,N){return instantiateSignature(E,createSignatureTypeMapper(E,N),true)}function createSignatureTypeMapper(E,N){return createTypeMapper(E.typeParameters,N)}function getErasedSignature(E){return E.typeParameters?E.erasedSignatureCache||(E.erasedSignatureCache=createErasedSignature(E)):E}function createErasedSignature(E){return instantiateSignature(E,createTypeEraser(E.typeParameters),true)}function getCanonicalSignature(E){return E.typeParameters?E.canonicalSignatureCache||(E.canonicalSignatureCache=createCanonicalSignature(E)):E}function createCanonicalSignature(N){return getSignatureInstantiation(N,E.map(N.typeParameters,(function(E){return E.target&&!getConstraintOfTypeParameter(E.target)?E.target:E})),E.isInJSFile(N.declaration))}function getBaseSignature(N){var R=N.typeParameters;if(R){if(N.baseSignatureCache){return N.baseSignatureCache}var j=createTypeEraser(R);var $=createTypeMapper(R,E.map(R,(function(E){return getConstraintOfTypeParameter(E)||Ht})));var q=E.map(R,(function(E){return instantiateType(E,$)||Ht}));for(var G=0;G1){N+=":"+q}j+=q}}return N}function getAliasId(E,N){return E?"@"+getSymbolId(E)+(N?":"+getTypeListId(N):""):""}function getPropagatingFlagsOfTypes(N,R){var j=0;for(var $=0,q=N;$$.length)){var ce=ie&&E.isExpressionWithTypeArguments(N)&&!E.isJSDocAugmentsTag(N.parent);var le=G===$.length?ce?E.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_1_type_argument_s:ce?E.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;var _e=typeToString(j,undefined,2);error(N,le,_e,G,$.length);if(!ie){return Jt}}if(N.kind===176&&isDeferredTypeReferenceNode(N,E.length(N.typeArguments)!==$.length)){return createDeferredTypeReference(j,N,undefined)}var Ee=E.concatenate(j.outerTypeParameters,fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(N),$,G,ie));return createTypeReference(j,Ee)}return checkNoTypeArguments(N,R)?j:Jt}function getTypeAliasInstantiation(N,R,j,$){var q=getDeclaredTypeOfSymbol(N);if(q===qt&&Ke.has(N.escapedName)&&R&&R.length===1){return getStringMappingType(N,R[0])}var G=getSymbolLinks(N);var ie=G.typeParameters;var ae=getTypeListId(R)+getAliasId(j,$);var ce=G.instantiations.get(ae);if(!ce){G.instantiations.set(ae,ce=instantiateTypeWithAlias(q,createTypeMapper(ie,fillMissingTypeArguments(R,ie,getMinTypeArgumentCount(ie),E.isInJSFile(N.valueDeclaration))),j,$))}return ce}function getTypeFromTypeAliasReference(N,R){var j=getDeclaredTypeOfSymbol(R);var $=getSymbolLinks(R).typeParameters;if($){var q=E.length(N.typeArguments);var G=getMinTypeArgumentCount($);if(q$.length){error(N,G===$.length?E.Diagnostics.Generic_type_0_requires_1_type_argument_s:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,symbolToString(R),G,$.length);return Jt}var ie=getAliasSymbolForTypeNode(N);var ae=ie&&(isLocalTypeAlias(R)||!isLocalTypeAlias(ie))?ie:undefined;return getTypeAliasInstantiation(R,typeArgumentsFromTypeReferenceNode(N),ae,getTypeArgumentsForAliasSymbol(ae))}return checkNoTypeArguments(N,R)?j:Jt}function isLocalTypeAlias(N){var R;var j=(R=N.declarations)===null||R===void 0?void 0:R.find(E.isTypeAlias);return!!(j&&E.getContainingFunction(j))}function getTypeReferenceName(N){switch(N.kind){case 176:return N.typeName;case 226:var R=N.expression;if(E.isEntityNameExpression(R)){return R}}return undefined}function resolveTypeReferenceName(E,N,R){if(!E){return jt}return resolveEntityName(E,N,R)||jt}function getTypeReferenceType(E,N){if(N===jt){return Jt}N=getExpandoSymbol(N)||N;if(N.flags&(32|64)){return getTypeFromClassOrInterfaceReference(E,N)}if(N.flags&524288){return getTypeFromTypeAliasReference(E,N)}var R=tryGetDeclaredTypeOfSymbol(N);if(R){return checkNoTypeArguments(E,N)?getRegularTypeOfLiteralType(R):Jt}if(N.flags&111551&&isJSDocTypeReference(E)){var j=getTypeFromJSDocValueReference(E,N);if(j){return j}else{resolveTypeReferenceName(getTypeReferenceName(E),788968);return getTypeOfSymbol(N)}}return Jt}function getTypeFromJSDocValueReference(E,N){var R=getNodeLinks(E);if(!R.resolvedJSDocType){var j=getTypeOfSymbol(N);var $=j;if(N.valueDeclaration){var q=E.kind===198&&E.qualifier;if(j.symbol&&j.symbol!==N&&q){$=getTypeReferenceType(E,j.symbol)}}R.resolvedJSDocType=$}return R.resolvedJSDocType}function getSubstitutionType(E,N){if(N.flags&3||N===E){return E}var R=getTypeId(E)+">"+getTypeId(N);var j=Mt.get(R);if(j){return j}var $=createType(33554432);$.baseType=E;$.substitute=N;Mt.set(R,$);return $}function isUnaryTupleTypeNode(E){return E.kind===182&&E.elements.length===1}function getImpliedConstraint(E,N,R){return isUnaryTupleTypeNode(N)&&isUnaryTupleTypeNode(R)?getImpliedConstraint(E,N.elements[0],R.elements[0]):getActualTypeVariable(getTypeFromTypeNode(N))===E?getTypeFromTypeNode(R):undefined}function getConditionalFlowTypeOfType(N,R){var j;var $=true;while(R&&!E.isStatement(R)&&R.kind!==315){var q=R.parent;if(q.kind===162){$=!$}if(($||N.flags&8650752)&&q.kind===187&&R===q.trueType){var G=getImpliedConstraint(N,q.checkType,q.extendsType);if(G){j=E.append(j,G)}}R=q}return j?getSubstitutionType(N,getIntersectionType(E.append(j,N))):N}function isJSDocTypeReference(E){return!!(E.flags&4194304)&&(E.kind===176||E.kind===198)}function checkNoTypeArguments(N,j){if(N.typeArguments){error(N,E.Diagnostics.Type_0_is_not_generic,j?symbolToString(j):N.typeName?E.declarationNameToString(N.typeName):R);return false}return true}function getIntendedTypeFromJSDocTypeReference(N){if(E.isIdentifier(N.typeName)){var R=N.typeArguments;switch(N.typeName.escapedText){case"String":checkNoTypeArguments(N);return er;case"Number":checkNoTypeArguments(N);return tr;case"Boolean":checkNoTypeArguments(N);return cr;case"Void":checkNoTypeArguments(N);return ur;case"Undefined":checkNoTypeArguments(N);return Gt;case"Null":checkNoTypeArguments(N);return Yt;case"Function":case"function":checkNoTypeArguments(N);return rn;case"array":return(!R||!R.length)&&!st?mn:undefined;case"promise":return(!R||!R.length)&&!st?createPromiseType(zt):undefined;case"Object":if(R&&R.length===2){if(E.isJSDocIndexSignature(N)){var j=getTypeFromTypeNode(R[0]);var $=getTypeFromTypeNode(R[1]);var q=j===er||j===tr?[createIndexInfo(j,$,false)]:E.emptyArray;return createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,q)}return zt}checkNoTypeArguments(N);return!st?zt:undefined}}}function getTypeFromJSDocNullableTypeNode(E){var N=getTypeFromTypeNode(E.type);return rt?getNullableType(N,65536):N}function getTypeFromTypeReference(N){var R=getNodeLinks(N);if(!R.resolvedType){if(E.isConstTypeReference(N)&&E.isAssertionExpression(N.parent)){R.resolvedSymbol=jt;return R.resolvedType=checkExpressionCached(N.parent.expression)}var j=void 0;var $=void 0;var q=788968;if(isJSDocTypeReference(N)){$=getIntendedTypeFromJSDocTypeReference(N);if(!$){j=resolveTypeReferenceName(getTypeReferenceName(N),q,true);if(j===jt){j=resolveTypeReferenceName(getTypeReferenceName(N),q|111551)}else{resolveTypeReferenceName(getTypeReferenceName(N),q)}$=getTypeReferenceType(N,j)}}if(!$){j=resolveTypeReferenceName(getTypeReferenceName(N),q);$=getTypeReferenceType(N,j)}R.resolvedSymbol=j;R.resolvedType=$}return R.resolvedType}function typeArgumentsFromTypeReferenceNode(N){return E.map(N.typeArguments,getTypeFromTypeNode)}function getTypeFromTypeQueryNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=E.isThisIdentifier(N.exprName)?checkThisExpression(N.exprName):checkExpression(N.exprName);R.resolvedType=getRegularTypeOfLiteralType(getWidenedType(j))}return R.resolvedType}function getTypeOfGlobalSymbol(N,R){function getTypeDeclaration(E){var N=E.declarations;if(N){for(var R=0,j=N;R=0){return checkCrossProductUnion(E.map(R,(function(E,R){return N.elementFlags[R]&8?E:Ht})))?mapType(R[G],(function(j){return createNormalizedTupleType(N,E.replaceElement(R,G,j))})):Jt}}var ie=[];var ae=[];var ce=[];var le=-1;var _e=-1;var Ee=-1;var _loop_15=function(G){var ae=R[G];var ce=N.elementFlags[G];if(ce&8){if(ae.flags&58982400||isGenericMappedType(ae)){addElement(ae,8,(j=N.labeledElementDeclarations)===null||j===void 0?void 0:j[G])}else if(isTupleType(ae)){var le=getTypeArguments(ae);if(le.length+ie.length>=1e4){error(qe,E.isPartOfTypeNode(qe)?E.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:E.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent);return{value:Jt}}E.forEach(le,(function(E,N){var R;return addElement(E,ae.target.elementFlags[N],(R=ae.target.labeledElementDeclarations)===null||R===void 0?void 0:R[N])}))}else{addElement(isArrayLikeType(ae)&&getIndexTypeOfType(ae,tr)||Jt,4,($=N.labeledElementDeclarations)===null||$===void 0?void 0:$[G])}}else{addElement(ae,ce,(q=N.labeledElementDeclarations)===null||q===void 0?void 0:q[G])}};for(var Te=0;Te=0&&_e$.fixedLength?getRestArrayTypeOfTupleType(N)||createTupleType(E.emptyArray):createTupleType(getTypeArguments(N).slice(R,q),$.elementFlags.slice(R,q),false,$.labeledElementDeclarations&&$.labeledElementDeclarations.slice(R,q))}function getKnownKeysOfTupleType(N){return getUnionType(E.append(E.arrayOf(N.target.fixedLength,(function(E){return getStringLiteralType(""+E)})),getIndexType(N.target.readonly?sn:on)))}function getStartElementCount(N,R){var j=E.findIndex(N.elementFlags,(function(E){return!(E&R)}));return j>=0?j:N.elementFlags.length}function getEndElementCount(N,R){return N.elementFlags.length-E.findLastIndex(N.elementFlags,(function(E){return!(E&R)}))-1}function getTypeFromOptionalTypeNode(E){return addOptionality(getTypeFromTypeNode(E.type),true)}function getTypeId(E){return E.id}function containsType(N,R){return E.binarySearch(N,R,getTypeId,E.compareValues)>=0}function insertType(N,R){var j=E.binarySearch(N,R,getTypeId,E.compareValues);if(j<0){N.splice(~j,0,R);return true}return false}function addTypeToUnion(N,R,j){var $=j.flags;if($&1048576){return addTypesToUnion(N,R|(isNamedUnionType(j)?1048576:0),j.types)}if(!($&131072)){R|=$&205258751;if($&469499904)R|=262144;if(j===$t)R|=8388608;if(!rt&&$&98304){if(!(E.getObjectFlags(j)&131072))R|=4194304}else{var q=N.length;var G=q&&j.id>N[q-1].id?~q:E.binarySearch(N,j,getTypeId,E.compareValues);if(G<0){N.splice(~G,0,j)}}}return R}function addTypesToUnion(E,N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=addTypeToUnion(E,N,q)}return N}function removeSubtypes(N,R){var j=getTypeListId(N);var $=Rt.get(j);if($){return $}var q=R&&E.some(N,(function(E){return!!(E.flags&524288)&&!isGenericMappedType(E)&&isEmptyResolvedType(resolveStructuredTypeMembers(E))}));var G=N.length;var ie=G;var ae=0;while(ie>0){ie--;var ce=N[ie];if(q||ce.flags&469499904){var le=ce.flags&(524288|2097152|58982400)?E.find(getPropertiesOfType(ce),(function(E){return isUnitType(getTypeOfSymbol(E))})):undefined;var _e=le&&getRegularTypeOfLiteralType(getTypeOfSymbol(le));for(var Ee=0,Te=N;Ee1e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:N.map((function(E){return E.id}))});error(qe,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return undefined}}ae++;if(le&&we.flags&(524288|2097152|58982400)){var Ne=getTypeOfPropertyOfType(we,le.escapedName);if(Ne&&isUnitType(Ne)&&getRegularTypeOfLiteralType(Ne)!==_e){continue}}if(isTypeRelatedTo(ce,we,wi)&&(!(E.getObjectFlags(getTargetType(ce))&1)||!(E.getObjectFlags(getTargetType(we))&1)||isTypeDerivedFrom(ce,we))){E.orderedRemoveItemAt(N,ie);break}}}}}Rt.set(j,N);return N}function removeRedundantLiteralTypes(N,R,j){var $=N.length;while($>0){$--;var q=N[$];var G=q.flags;var ie=G&(128|134217728|268435456)&&R&4||G&256&&R&8||G&2048&&R&64||G&8192&&R&4096||j&&G&32768&&R&16384||isFreshLiteralType(q)&&containsType(N,q.regularType);if(ie){E.orderedRemoveItemAt(N,$)}}}function removeStringLiteralsMatchedByTemplateLiterals(N){var R=E.filter(N,isPatternLiteralType);if(R.length){var j=N.length;var _loop_16=function(){j--;var $=N[j];if($.flags&128&&E.some(R,(function(E){return isTypeSubtypeOf($,E)}))){E.orderedRemoveItemAt(N,j)}};while(j>0){_loop_16()}}}function isNamedUnionType(E){return!!(E.flags&1048576&&(E.aliasSymbol||E.origin))}function addNamedUnions(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if(q.flags&1048576){var G=q.origin;if(q.aliasSymbol||G&&!(G.flags&1048576)){E.pushIfUnique(N,q)}else if(G&&G.flags&1048576){addNamedUnions(N,G.types)}}}}function createOriginUnionOrIntersectionType(E,N){var R=createOriginType(E);R.types=N;return R}function getUnionType(N,R,j,$,q){if(R===void 0){R=1}if(N.length===0){return dr}if(N.length===1){return N[0]}var G=[];var ie=addTypesToUnion(G,0,N);if(R!==0){if(ie&3){return ie&1?ie&8388608?$t:zt:Ht}if(ft&&ie&32768){var ae=E.binarySearch(G,Xt,getTypeId,E.compareValues);if(ae>=0&&containsType(G,Gt)){E.orderedRemoveItemAt(G,ae)}}if(ie&(2944|8192|134217728|268435456)||ie&16384&&ie&32768){removeRedundantLiteralTypes(G,ie,!!(R&2))}if(ie&128&&ie&134217728){removeStringLiteralsMatchedByTemplateLiterals(G)}if(R===2){G=removeSubtypes(G,!!(ie&524288));if(!G){return Jt}}if(G.length===0){return ie&65536?ie&4194304?Yt:Zt:ie&32768?ie&4194304?Gt:Kt:dr}}if(!q&&ie&1048576){var ce=[];addNamedUnions(ce,N);var le=[];var _loop_17=function(N){if(!E.some(ce,(function(E){return containsType(E.types,N)}))){le.push(N)}};for(var _e=0,Ee=G;_e0){j--;var $=N[j];var q=$.flags&4&&R&128||$.flags&8&&R&256||$.flags&64&&R&2048||$.flags&4096&&R&8192;if(q){E.orderedRemoveItemAt(N,j)}}}function eachUnionContains(E,N){for(var R=0,j=E;R0){R--;var $=N[R];if(!($.flags&134217728))continue;for(var q=0,G=j;q=1e5){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:N.map((function(E){return E.id})),size:R});error(qe,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return false}return true}function getCrossProductIntersections(E){var N=getCrossProductUnionSize(E);var R=[];for(var j=0;j=0;G--){if(E[G].flags&1048576){var ie=E[G].types;var ae=ie.length;$[G]=ie[q%ae];q=Math.floor(q/ae)}}var ce=getIntersectionType($);if(!(ce.flags&131072))R.push(ce)}return R}function getTypeFromIntersectionTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getAliasSymbolForTypeNode(N);R.resolvedType=getIntersectionType(E.map(N.types,getTypeFromTypeNode),j,getTypeArgumentsForAliasSymbol(j))}return R.resolvedType}function createIndexType(E,N){var R=createType(4194304);R.type=E;R.stringsOnly=N;return R}function createOriginIndexType(E){var N=createOriginType(4194304);N.type=E;return N}function getIndexTypeForGenericType(E,N){return N?E.resolvedStringIndexType||(E.resolvedStringIndexType=createIndexType(E,true)):E.resolvedIndexType||(E.resolvedIndexType=createIndexType(E,false))}function instantiateTypeAsMappedNameType(E,N,R){return instantiateType(E,appendTypeMapping(N.mapper,getTypeParameterFromMappedType(N),R))}function getIndexTypeForMappedType(N,R){var j=filterType(getConstraintTypeFromMappedType(N),(function(E){return!(R&&E.flags&(1|4))}));var $=N.declaration.nameType&&getTypeFromTypeNode(N.declaration.nameType);var q=$&&everyType(j,(function(E){return!!(E.flags&(4|8|131072))}))&&getPropertiesOfType(getApparentType(getModifiersTypeFromMappedType(N)));return $?getUnionType([mapType(j,(function(E){return instantiateTypeAsMappedNameType($,N,E)})),mapType(getUnionType(E.map(q||E.emptyArray,(function(E){return getLiteralTypeFromProperty(E,8576)}))),(function(E){return instantiateTypeAsMappedNameType($,N,E)}))]):j}function hasDistributiveNameType(N){var R=getTypeParameterFromMappedType(N);return isDistributive(getNameTypeFromMappedType(N)||R);function isDistributive(N){return N.flags&(3|131068|131072|262144|524288|67108864)?true:N.flags&16777216?N.root.isDistributive&&N.checkType===R:N.flags&(3145728|134217728)?E.every(N.types,isDistributive):N.flags&8388608?isDistributive(N.objectType)&&isDistributive(N.indexType):N.flags&33554432?isDistributive(N.substitute):N.flags&268435456?isDistributive(N.type):false}}function getLiteralTypeFromPropertyName(N){if(E.isPrivateIdentifier(N)){return dr}return E.isIdentifier(N)?getStringLiteralType(E.unescapeLeadingUnderscores(N.escapedText)):getRegularTypeOfLiteralType(E.isComputedPropertyName(N)?checkComputedPropertyName(N):checkExpression(N))}function getLiteralTypeFromProperty(N,R,j){if(j||!(E.getDeclarationModifierFlagsFromSymbol(N)&24)){var $=getSymbolLinks(getLateBoundSymbol(N)).nameType;if(!$){var q=E.getNameOfDeclaration(N.valueDeclaration);$=N.escapedName==="default"?getStringLiteralType("default"):q&&getLiteralTypeFromPropertyName(q)||(!E.isKnownSymbol(N)?getStringLiteralType(E.symbolName(N)):undefined)}if($&&$.flags&R){return $}}return dr}function getLiteralTypeFromProperties(N,R,j){var $=j&&(E.getObjectFlags(N)&(3|4)||N.aliasSymbol)?createOriginIndexType(N):undefined;var q=E.map(getPropertiesOfType(N),(function(E){return getLiteralTypeFromProperty(E,R)}));var G=E.map(getIndexInfosOfType(N),(function(E){return E!==zr&&E.keyType.flags&R?E.keyType===er&&R&8?_r:E.keyType:dr}));return getUnionType(E.concatenate(q,G),1,undefined,undefined,$)}function getIndexType(N,R,j){if(R===void 0){R=dt}N=getReducedType(N);return N.flags&1048576?getIntersectionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&2097152?getUnionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&58982400||isGenericTupleType(N)||isGenericMappedType(N)&&!hasDistributiveNameType(N)?getIndexTypeForGenericType(N,R):E.getObjectFlags(N)&32?getIndexTypeForMappedType(N,j):N===$t?$t:N.flags&2?dr:N.flags&(1|131072)?vr:getLiteralTypeFromProperties(N,(j?128:402653316)|(R?0:296|12288),R===dt&&!j)}function getExtractStringType(E){if(dt){return E}var N=getGlobalExtractSymbol();return N?getTypeAliasInstantiation(N,[E,er]):er}function getIndexTypeOrString(E){var N=getExtractStringType(getIndexType(E));return N.flags&131072?er:N}function getTypeFromTypeOperatorNode(N){var R=getNodeLinks(N);if(!R.resolvedType){switch(N.operator){case 139:R.resolvedType=getIndexType(getTypeFromTypeNode(N.type));break;case 152:R.resolvedType=N.type.kind===149?getESSymbolLikeTypeForNode(E.walkUpParenthesizedTypes(N.parent)):Jt;break;case 143:R.resolvedType=getTypeFromTypeNode(N.type);break;default:throw E.Debug.assertNever(N.operator)}}return R.resolvedType}function getTypeFromTemplateTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){R.resolvedType=getTemplateLiteralType(j([N.head.text],E.map(N.templateSpans,(function(E){return E.literal.text})),true),E.map(N.templateSpans,(function(E){return getTypeFromTypeNode(E.type)})))}return R.resolvedType}function getTemplateLiteralType(N,R){var j=E.findIndex(R,(function(E){return!!(E.flags&(131072|1048576))}));if(j>=0){return checkCrossProductUnion(R)?mapType(R[j],(function($){return getTemplateLiteralType(N,E.replaceElement(R,j,$))})):Jt}if(E.contains(R,$t)){return $t}var $=[];var q=[];var G=N[0];if(!addSpans(N,R)){return er}if($.length===0){return getStringLiteralType(G)}q.push(G);if(E.every(q,(function(E){return E===""}))&&E.every($,(function(E){return!!(E.flags&4)}))){return er}var ie=getTypeListId($)+"|"+E.map(q,(function(E){return E.length})).join(",")+"|"+q.join("");var ae=Nt.get(ie);if(!ae){Nt.set(ie,ae=createTemplateLiteralType(q,$))}return ae;function addSpans(E,N){for(var R=0;R=0){if(q&&everyType(R,(function(E){return!E.target.hasRestElement}))&&!(G&16)){var Te=getIndexNodeForAccessExpression(q);if(isTupleType(R)){error(Te,E.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,typeToString(R),getTypeReferenceArity(R),E.unescapeLeadingUnderscores(ce))}else{error(Te,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}}errorIfWritingToReadonlyIndex(getIndexInfoOfType(R,tr));return mapType(R,(function(E){var N=getRestTypeOfTupleType(E)||Gt;return G&1?getUnionType([N,Gt]):N}))}}if(!(j.flags&98304)&&isTypeAssignableToKind(j,402653316|296|12288)){if(R.flags&(1|131072)){return R}var we=getApplicableIndexInfo(R,j)||getIndexInfoOfType(R,er);if(we){if(G&2&&we.keyType!==tr){if(ae){error(ae,E.Diagnostics.Type_0_cannot_be_used_to_index_type_1,typeToString(j),typeToString(N))}return undefined}if(q&&we.keyType===er&&!isTypeAssignableToKind(j,4|8)){var Te=getIndexNodeForAccessExpression(q);error(Te,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j));return G&1?getUnionType([we.type,Gt]):we.type}errorIfWritingToReadonlyIndex(we);return G&1?getUnionType([we.type,Gt]):we.type}if(j.flags&131072){return dr}if(isJSLiteralType(R)){return zt}if(ae&&!isConstEnumObjectType(R)){if(isObjectLiteralType(R)){if(st&&j.flags&(128|256)){xi.add(E.createDiagnosticForNode(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R)));return Gt}else if(j.flags&(8|4)){var Ie=E.map(R.properties,(function(E){return getTypeOfSymbol(E)}));return getUnionType(E.append(Ie,Gt))}}if(R.symbol===bt&&ce!==undefined&&bt.exports.has(ce)&&bt.exports.get(ce).flags&418){error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}else if(st&&!Xe.suppressImplicitAnyIndexErrors&&!(G&128)){if(ce!==undefined&&typeHasStaticProperty(ce,R)){var Ne=typeToString(R);error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,Ne,Ne+"["+E.getTextOfNode(ae.argumentExpression)+"]")}else if(getIndexTypeOfType(R,tr)){error(ae.argumentExpression,E.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number)}else{var Me=void 0;if(ce!==undefined&&(Me=getSuggestionForNonexistentProperty(ce,R))){if(Me!==undefined){error(ae.argumentExpression,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ce,typeToString(R),Me)}}else{var Le=getSuggestionForNonexistentIndexSignature(R,ae,j);if(Le!==undefined){error(ae,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,typeToString(R),Le)}else{var Be=void 0;if(j.flags&1024){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+typeToString(j)+"]",typeToString(R))}else if(j.flags&8192){var je=getFullyQualifiedName(j.symbol,ae);Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+je+"]",typeToString(R))}else if(j.flags&128){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&256){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&(8|4)){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,typeToString(j),typeToString(R))}Be=E.chainDiagnosticMessages(Be,E.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,typeToString($),typeToString(R));xi.add(E.createDiagnosticForNodeFromMessageChain(ae,Be))}}}}return undefined}}if(isJSLiteralType(R)){return zt}if(q){var Te=getIndexNodeForAccessExpression(q);if(j.flags&(128|256)){error(Te,E.Diagnostics.Property_0_does_not_exist_on_type_1,""+j.value,typeToString(R))}else if(j.flags&(4|8)){error(Te,E.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,typeToString(R),typeToString(j))}else{error(Te,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j))}}if(isTypeAny(j)){return j}return undefined;function errorIfWritingToReadonlyIndex(N){if(N&&N.isReadonly&&ae&&(E.isAssignmentTarget(ae)||E.isDeleteTarget(ae))){error(ae,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(R))}}}function getIndexNodeForAccessExpression(E){return E.kind===205?E.argumentExpression:E.kind===192?E.indexType:E.kind===160?E.expression:E}function isPatternLiteralPlaceholderType(E){return!!(E.flags&(1|4|8|64))}function isPatternLiteralType(N){return!!(N.flags&134217728)&&E.every(N.types,isPatternLiteralPlaceholderType)}function isGenericType(E){return!!getGenericObjectFlags(E)}function isGenericObjectType(E){return!!(getGenericObjectFlags(E)&8388608)}function isGenericIndexType(E){return!!(getGenericObjectFlags(E)&16777216)}function getGenericObjectFlags(N){if(N.flags&3145728){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|E.reduceLeft(N.types,(function(E,N){return E|getGenericObjectFlags(N)}),0)}return N.objectFlags&25165824}if(N.flags&33554432){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|getGenericObjectFlags(N.substitute)|getGenericObjectFlags(N.baseType)}return N.objectFlags&25165824}return(N.flags&58982400||isGenericMappedType(N)||isGenericTupleType(N)?8388608:0)|(N.flags&(58982400|4194304|134217728|268435456)&&!isPatternLiteralType(N)?16777216:0)}function isThisTypeParameter(E){return!!(E.flags&262144&&E.isThisType)}function getSimplifiedType(E,N){return E.flags&8388608?getSimplifiedIndexedAccessType(E,N):E.flags&16777216?getSimplifiedConditionalType(E,N):E}function distributeIndexOverObjectType(N,R,j){if(N.flags&3145728){var $=E.map(N.types,(function(E){return getSimplifiedType(getIndexedAccessType(E,R),j)}));return N.flags&2097152||j?getIntersectionType($):getUnionType($)}}function distributeObjectOverIndexType(N,R,j){if(R.flags&1048576){var $=E.map(R.types,(function(E){return getSimplifiedType(getIndexedAccessType(N,E),j)}));return j?getIntersectionType($):getUnionType($)}}function getSimplifiedIndexedAccessType(E,N){var R=N?"simplifiedForWriting":"simplifiedForReading";if(E[R]){return E[R]===Fr?E:E[R]}E[R]=Fr;var j=getSimplifiedType(E.objectType,N);var $=getSimplifiedType(E.indexType,N);var q=distributeObjectOverIndexType(j,$,N);if(q){return E[R]=q}if(!($.flags&465829888)){var G=distributeIndexOverObjectType(j,$,N);if(G){return E[R]=G}}if(isGenericTupleType(j)&&$.flags&296){var ie=getElementTypeOfSliceOfTupleType(j,$.flags&8?0:j.target.fixedLength,0,N);if(ie){return E[R]=ie}}if(isGenericMappedType(j)){return E[R]=mapType(substituteIndexedMappedType(j,E.indexType),(function(E){return getSimplifiedType(E,N)}))}return E[R]=E}function isConditionalTypeAlwaysTrueDisregardingInferTypes(N){var R=N.root.inferTypeParameters&&createTypeMapper(N.root.inferTypeParameters,E.map(N.root.inferTypeParameters,(function(){return $t})));var j=N.checkType;var $=N.extendsType;return isTypeAssignableTo(getRestrictiveInstantiation(j),getRestrictiveInstantiation(instantiateType($,R)))}function getSimplifiedConditionalType(E,N){var R=E.checkType;var j=E.extendsType;var $=getTrueTypeFromConditionalType(E);var q=getFalseTypeFromConditionalType(E);if(q.flags&131072&&getActualTypeVariable($)===getActualTypeVariable(R)){if(R.flags&1||isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return getSimplifiedType($,N)}else if(isIntersectionEmpty(R,j)){return dr}}else if($.flags&131072&&getActualTypeVariable(q)===getActualTypeVariable(R)){if(!(R.flags&1)&&isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return dr}else if(R.flags&1||isIntersectionEmpty(R,j)){return getSimplifiedType(q,N)}}return E}function isIntersectionEmpty(E,N){return!!(getUnionType([intersectTypes(E,N),dr]).flags&131072)}function substituteIndexedMappedType(E,N){var R=createTypeMapper([getTypeParameterFromMappedType(E)],[N]);var j=combineTypeMappers(E.mapper,R);return instantiateType(getTemplateTypeFromMappedType(E),j)}function getIndexedAccessType(E,N,R,j,$,q){if(R===void 0){R=0}return getIndexedAccessTypeOrUndefined(E,N,R,j,$,q)||(j?Jt:Ht)}function indexTypeLessThan(E,N){return everyType(E,(function(E){if(E.flags&384){var R=getPropertyNameFromType(E);if(isNumericLiteralName(R)){var j=+R;return j>=0&&j=R?Ht:j}))}function combineTypeMappers(E,N){return E?makeCompositeTypeMapper(3,E,N):N}function mergeTypeMappers(E,N){return E?makeCompositeTypeMapper(4,E,N):N}function prependTypeMapping(E,N,R){return!R?makeUnaryTypeMapper(E,N):makeCompositeTypeMapper(4,makeUnaryTypeMapper(E,N),R)}function appendTypeMapping(E,N,R){return!E?makeUnaryTypeMapper(N,R):makeCompositeTypeMapper(4,E,makeUnaryTypeMapper(N,R))}function getRestrictiveTypeParameter(E){return E.constraint===Ht?E:E.restrictiveInstantiation||(E.restrictiveInstantiation=createTypeParameter(E.symbol),E.restrictiveInstantiation.constraint=Ht,E.restrictiveInstantiation)}function cloneTypeParameter(E){var N=createTypeParameter(E.symbol);N.target=E;return N}function instantiateTypePredicate(E,N){return createTypePredicate(E.kind,E.parameterName,E.parameterIndex,instantiateType(E.type,N))}function instantiateSignature(N,R,j){var $;if(N.typeParameters&&!j){$=E.map(N.typeParameters,cloneTypeParameter);R=combineTypeMappers(createTypeMapper(N.typeParameters,$),R);for(var q=0,G=$;q=5e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:N.id,instantiationDepth:Ve,instantiationCount:We});error(qe,E.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);return Jt}ze++;We++;Ve++;var q=instantiateTypeWorker(N,R,j,$);Ve--;return q}function instantiateTypeWorker(E,N,R,j){var $=E.flags;if($&262144){return getMappedType(E,N)}if($&524288){var q=E.objectFlags;if(q&(4|16|32)){if(q&4&&!E.node){var G=E.resolvedTypeArguments;var ie=instantiateTypes(G,N);return ie!==G?createNormalizedTypeReference(E.target,ie):E}if(q&1024){return instantiateReverseMappedType(E,N)}return getObjectTypeInstantiation(E,N,R,j)}return E}if($&3145728){var ae=E.flags&1048576?E.origin:undefined;var ce=ae&&ae.flags&3145728?ae.types:E.types;var le=instantiateTypes(ce,N);if(le===ce&&R===E.aliasSymbol){return E}var _e=R||E.aliasSymbol;var Ee=R?j:instantiateTypes(E.aliasTypeArguments,N);return $&2097152||ae&&ae.flags&2097152?getIntersectionType(le,_e,Ee):getUnionType(le,1,_e,Ee)}if($&4194304){return getIndexType(instantiateType(E.type,N))}if($&134217728){return getTemplateLiteralType(E.texts,instantiateTypes(E.types,N))}if($&268435456){return getStringMappingType(E.symbol,instantiateType(E.type,N))}if($&8388608){var _e=R||E.aliasSymbol;var Ee=R?j:instantiateTypes(E.aliasTypeArguments,N);return getIndexedAccessType(instantiateType(E.objectType,N),instantiateType(E.indexType,N),E.accessFlags,undefined,_e,Ee)}if($&16777216){return getConditionalTypeInstantiation(E,combineTypeMappers(E.mapper,N),R,j)}if($&33554432){var Te=instantiateType(E.baseType,N);if(Te.flags&8650752){return getSubstitutionType(Te,instantiateType(E.substitute,N))}else{var we=instantiateType(E.substitute,N);if(we.flags&3||isTypeAssignableTo(getRestrictiveInstantiation(Te),getRestrictiveInstantiation(we))){return Te}return we}}return E}function instantiateReverseMappedType(N,R){var j=instantiateType(N.mappedType,R);if(!(E.getObjectFlags(j)&32)){return N}var $=instantiateType(N.constraintType,R);if(!($.flags&4194304)){return N}var q=inferTypeForHomomorphicMappedType(instantiateType(N.source,R),j,$);if(q){return q}return N}function getPermissiveInstantiation(E){return E.flags&(131068|3|131072)?E:E.permissiveInstantiation||(E.permissiveInstantiation=instantiateType(E,Er))}function getRestrictiveInstantiation(E){if(E.flags&(131068|3|131072)){return E}if(E.restrictiveInstantiation){return E.restrictiveInstantiation}E.restrictiveInstantiation=instantiateType(E,Sr);E.restrictiveInstantiation.restrictiveInstantiation=E.restrictiveInstantiation;return E.restrictiveInstantiation}function instantiateIndexInfo(E,N){return createIndexInfo(E.keyType,instantiateType(E.type,N),E.isReadonly,E.declaration)}function isContextSensitive(N){E.Debug.assert(N.kind!==167||E.isObjectLiteralMethod(N));switch(N.kind){case 211:case 212:case 167:case 254:return isContextSensitiveFunctionLikeDeclaration(N);case 203:return E.some(N.properties,isContextSensitive);case 202:return E.some(N.elements,isContextSensitive);case 220:return isContextSensitive(N.whenTrue)||isContextSensitive(N.whenFalse);case 219:return(N.operatorToken.kind===56||N.operatorToken.kind===60)&&(isContextSensitive(N.left)||isContextSensitive(N.right));case 291:return isContextSensitive(N.initializer);case 210:return isContextSensitive(N.expression);case 284:return E.some(N.properties,isContextSensitive)||E.isJsxOpeningElement(N.parent)&&E.some(N.parent.parent.children,isContextSensitive);case 283:{var R=N.initializer;return!!R&&isContextSensitive(R)}case 286:{var j=N.expression;return!!j&&isContextSensitive(j)}}return false}function isContextSensitiveFunctionLikeDeclaration(N){return(!E.isFunctionDeclaration(N)||E.isInJSFile(N)&&!!getTypeForDeclarationFromJSDocComment(N))&&(E.hasContextSensitiveParameters(N)||hasContextSensitiveReturnExpression(N))}function hasContextSensitiveReturnExpression(N){return!N.typeParameters&&!E.getEffectiveReturnTypeNode(N)&&!!N.body&&N.body.kind!==233&&isContextSensitive(N.body)}function isContextSensitiveFunctionOrObjectLiteralMethod(N){return(E.isInJSFile(N)&&E.isFunctionDeclaration(N)||isFunctionExpressionOrArrowFunction(N)||E.isObjectLiteralMethod(N))&&isContextSensitiveFunctionLikeDeclaration(N)}function getTypeWithoutSignatures(N){if(N.flags&524288){var R=resolveStructuredTypeMembers(N);if(R.constructSignatures.length||R.callSignatures.length){var j=createObjectType(16,N.symbol);j.members=R.members;j.properties=R.properties;j.callSignatures=E.emptyArray;j.constructSignatures=E.emptyArray;j.indexInfos=E.emptyArray;return j}}else if(N.flags&2097152){return getIntersectionType(E.map(N.types,getTypeWithoutSignatures))}return N}function isTypeIdenticalTo(E,N){return isTypeRelatedTo(E,N,Ii)}function compareTypesIdentical(E,N){return isTypeRelatedTo(E,N,Ii)?-1:0}function compareTypesAssignable(E,N){return isTypeRelatedTo(E,N,Pi)?-1:0}function compareTypesSubtypeOf(E,N){return isTypeRelatedTo(E,N,Ai)?-1:0}function isTypeSubtypeOf(E,N){return isTypeRelatedTo(E,N,Ai)}function isTypeAssignableTo(E,N){return isTypeRelatedTo(E,N,Pi)}function isTypeDerivedFrom(N,R){return N.flags&1048576?E.every(N.types,(function(E){return isTypeDerivedFrom(E,R)})):R.flags&1048576?E.some(R.types,(function(E){return isTypeDerivedFrom(N,E)})):N.flags&58982400?isTypeDerivedFrom(getBaseConstraintOfType(N)||Ht,R):R===tn?!!(N.flags&(524288|67108864)):R===rn?!!(N.flags&524288)&&isFunctionObjectType(N):hasBaseType(N,getTargetType(R))||isArrayType(R)&&!isReadonlyArrayType(R)&&isTypeDerivedFrom(N,sn)}function isTypeComparableTo(E,N){return isTypeRelatedTo(E,N,Fi)}function areTypesComparable(E,N){return isTypeComparableTo(E,N)||isTypeComparableTo(N,E)}function checkTypeAssignableTo(E,N,R,j,$,q){return checkTypeRelatedTo(E,N,Pi,R,j,$,q)}function checkTypeAssignableToAndOptionallyElaborate(E,N,R,j,$,q){return checkTypeRelatedToAndOptionallyElaborate(E,N,Pi,R,j,$,q,undefined)}function checkTypeRelatedToAndOptionallyElaborate(E,N,R,j,$,q,G,ie){if(isTypeRelatedTo(E,N,R))return true;if(!j||!elaborateError($,E,N,R,q,G,ie)){return checkTypeRelatedTo(E,N,R,j,q,G,ie)}return false}function isOrHasGenericConditional(N){return!!(N.flags&16777216||N.flags&2097152&&E.some(N.types,isOrHasGenericConditional))}function elaborateError(E,N,R,j,$,q,G){if(!E||isOrHasGenericConditional(R))return false;if(!checkTypeRelatedTo(N,R,j,undefined)&&elaborateDidYouMeanToCallOrConstruct(E,N,R,j,$,q,G)){return true}switch(E.kind){case 286:case 210:return elaborateError(E.expression,N,R,j,$,q,G);case 219:switch(E.operatorToken.kind){case 63:case 27:return elaborateError(E.right,N,R,j,$,q,G)}break;case 203:return elaborateObjectLiteral(E,N,R,j,q,G);case 202:return elaborateArrayLiteral(E,N,R,j,q,G);case 284:return elaborateJsxComponents(E,N,R,j,q,G);case 212:return elaborateArrowFunction(E,N,R,j,q,G)}return false}function elaborateDidYouMeanToCallOrConstruct(N,R,j,$,q,G,ie){var ae=getSignaturesOfType(R,0);var ce=getSignaturesOfType(R,1);for(var le=0,_e=[ce,ae];le<_e.length;le++){var Ee=_e[le];if(E.some(Ee,(function(E){var N=getReturnTypeOfSignature(E);return!(N.flags&(1|131072))&&checkTypeRelatedTo(N,j,$,undefined)}))){var Te=ie||{};checkTypeAssignableTo(R,j,N,q,G,Te);var we=Te.errors[Te.errors.length-1];E.addRelatedInfo(we,E.createDiagnosticForNode(N,Ee===ce?E.Diagnostics.Did_you_mean_to_use_new_with_this_expression:E.Diagnostics.Did_you_mean_to_call_this_expression));return true}}return false}function elaborateArrowFunction(N,R,j,$,q,G){if(E.isBlock(N.body)){return false}if(E.some(N.parameters,E.hasType)){return false}var ie=getSingleCallSignature(R);if(!ie){return false}var ae=getSignaturesOfType(j,0);if(!E.length(ae)){return false}var ce=N.body;var le=getReturnTypeOfSignature(ie);var _e=getUnionType(E.map(ae,getReturnTypeOfSignature));if(!checkTypeRelatedTo(le,_e,$,undefined)){var Ee=ce&&elaborateError(ce,le,_e,$,undefined,q,G);if(Ee){return Ee}var Te=G||{};checkTypeRelatedTo(le,_e,$,ce,undefined,q,Te);if(Te.errors){if(j.symbol&&E.length(j.symbol.declarations)){E.addRelatedInfo(Te.errors[Te.errors.length-1],E.createDiagnosticForNode(j.symbol.declarations[0],E.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature))}if((E.getFunctionFlags(N)&2)===0&&!getTypeOfPropertyOfType(le,"then")&&checkTypeRelatedTo(createPromiseType(le),_e,$,undefined)){E.addRelatedInfo(Te.errors[Te.errors.length-1],E.createDiagnosticForNode(N,E.Diagnostics.Did_you_mean_to_mark_this_function_as_async))}return true}}return false}function getBestMatchIndexedAccessTypeOrUndefined(E,N,R){var j=getIndexedAccessTypeOrUndefined(N,R);if(j){return j}if(N.flags&1048576){var $=getBestMatchingType(E,N);if($){return getIndexedAccessTypeOrUndefined($,R)}}}function checkExpressionForMutableLocationWithContextualType(E,N){E.contextualType=N;try{return checkExpressionForMutableLocation(E,1,N)}finally{E.contextualType=undefined}}function elaborateElementwise(N,R,j,$,q,G){var ie=false;for(var ae=N.next();!ae.done;ae=N.next()){var ce=ae.value,le=ce.errorNode,_e=ce.innerExpression,Ee=ce.nameType,Te=ce.errorMessage;var we=getBestMatchIndexedAccessTypeOrUndefined(R,j,Ee);if(!we||we.flags&8388608)continue;var Ie=getIndexedAccessTypeOrUndefined(R,Ee);if(!Ie)continue;var Ne=getPropertyNameFromIndex(Ee,undefined);var Me=!!(Ne&&(getPropertyOfType(j,Ne)||jt).flags&16777216);var Le=!!(Ne&&(getPropertyOfType(R,Ne)||jt).flags&16777216);we=removeMissingType(we,Me);Ie=removeMissingType(Ie,Me&&Le);if(!checkTypeRelatedTo(Ie,we,$,undefined)){var Be=_e&&elaborateError(_e,Ie,we,$,undefined,q,G);if(Be){ie=true}else{var je=G||{};var Ue=_e?checkExpressionForMutableLocationWithContextualType(_e,Ie):Ie;var ze=checkTypeRelatedTo(Ue,we,$,le,Te,q,je);if(ze&&Ue!==Ie){checkTypeRelatedTo(Ie,we,$,le,Te,q,je)}if(je.errors){var We=je.errors[je.errors.length-1];var Je=isTypeUsableAsPropertyName(Ee)?getPropertyNameFromType(Ee):undefined;var Ve=Je!==undefined?getPropertyOfType(j,Je):undefined;var qe=false;if(!Ve){var He=getApplicableIndexInfo(j,Ee);if(He&&He.declaration&&!E.getSourceFileOfNode(He.declaration).hasNoDefaultLib){qe=true;E.addRelatedInfo(We,E.createDiagnosticForNode(He.declaration,E.Diagnostics.The_expected_type_comes_from_this_index_signature))}}if(!qe&&(Ve&&E.length(Ve.declarations)||j.symbol&&E.length(j.symbol.declarations))){var Ge=Ve&&E.length(Ve.declarations)?Ve.declarations[0]:j.symbol.declarations[0];if(!E.getSourceFileOfNode(Ge).hasNoDefaultLib){E.addRelatedInfo(We,E.createDiagnosticForNode(Ge,E.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,Je&&!(Ee.flags&8192)?E.unescapeLeadingUnderscores(Je):typeToString(Ee),typeToString(j)))}}}ie=true}}}return ie}function generateJsxAttributes(N){var R,j,$;return G(this,(function(q){switch(q.label){case 0:if(!E.length(N.properties))return[2];R=0,j=N.properties;q.label=1;case 1:if(!(R1;var Le=filterType(Ie,isArrayOrTupleLikeType);var Be=filterType(Ie,(function(E){return!isArrayOrTupleLikeType(E)}));if(Me){if(Le!==dr){var je=createTupleType(checkJsxChildren(_e,0));var Ue=generateJsxChildren(_e,getInvalidTextualChildDiagnostic);ce=elaborateElementwise(Ue,je,Le,q,ie,ae)||ce}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Te,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}else{if(Be!==dr){var We=Ne[0];var Je=getElaborationElementForJsxChild(We,we,getInvalidTextualChildDiagnostic);if(Je){ce=elaborateElementwise(function(){return G(this,(function(E){switch(E.label){case 0:return[4,Je];case 1:E.sent();return[2]}}))}(),R,j,q,ie,ae)||ce}}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Te,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}}return ce;function getInvalidTextualChildDiagnostic(){if(!le){var R=E.getTextOfNode(N.parent.tagName);var q=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));var G=q===undefined?"children":E.unescapeLeadingUnderscores(q);var ie=getIndexedAccessType(j,getStringLiteralType(G));var ae=E.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;le=$($({},ae),{key:"!!ALREADY FORMATTED!!",message:E.formatMessage(undefined,ae,R,G,typeToString(ie))})}return le}}function generateLimitedTupleElements(N,R){var j,$,q,ie;return G(this,(function(G){switch(G.label){case 0:j=E.length(N.elements);if(!j)return[2];$=0;G.label=1;case 1:if(!($ce:getMinArgumentCount(N)>ce);if(le){return 0}if(N.typeParameters&&N.typeParameters!==R.typeParameters){R=getCanonicalSignature(R);N=instantiateSignatureInContextOf(N,R,undefined,ie)}var _e=getParameterCount(N);var Ee=getNonArrayRestType(N);var Te=getNonArrayRestType(R);if(Ee||Te){void instantiateType(Ee||Te,ae)}if(Ee&&Te&&_e!==ce){return 0}var we=R.declaration?R.declaration.kind:0;var Ie=!(j&3)&&nt&&we!==167&&we!==166&&we!==169;var Ne=-1;var Me=getThisTypeOfSignature(N);if(Me&&Me!==ur){var Le=getThisTypeOfSignature(R);if(Le){var Be=!Ie&&ie(Me,Le,false)||ie(Le,Me,$);if(!Be){if($){q(E.Diagnostics.The_this_types_of_each_signature_are_incompatible)}return 0}Ne&=Be}}var je=Ee||Te?Math.min(_e,ce):Math.max(_e,ce);var Ue=Ee||Te?je-1:-1;for(var ze=0;ze=getMinArgumentCount(N)&&ze0||typeHasCallOrConstructSignatures(ae));if(we&&!hasCommonProperties(ae,ce,Ee)){if(j){var Ie=typeToString(N.aliasSymbol?N:ae);var Ne=typeToString(R.aliasSymbol?R:ce);var Me=getSignaturesOfType(ae,0);var Le=getSignaturesOfType(ae,1);if(Me.length>0&&isRelatedTo(getReturnTypeOfSignature(Me[0]),ce,false)||Le.length>0&&isRelatedTo(getReturnTypeOfSignature(Le[0]),ce,false)){reportError(E.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ie,Ne)}else{reportError(E.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ie,Ne)}}return 0}traceUnionsOrIntersectionsTooLarge(ae,ce);var Ue=0;var We=captureErrorCalculationState();if(ae.flags&3145728||ce.flags&3145728){Ue=getConstituentCount(ae)*getConstituentCount(ce)>=4?recursiveTypeRelatedTo(ae,ce,j,ie|8):structuredTypeRelatedTo(ae,ce,j,ie|8)}if(!Ue&&!(ae.flags&1048576)&&(ae.flags&469499904||ce.flags&469499904)){if(Ue=recursiveTypeRelatedTo(ae,ce,j,ie)){resetErrorInfo(We)}}if(!Ue&&ae.flags&(2097152|262144)){var Je=getEffectiveConstraintOfIntersection(ae.flags&2097152?ae.types:[ae],!!(ce.flags&1048576));if(Je&&(ae.flags&2097152||ce.flags&1048576)){if(everyType(Je,(function(E){return E!==ae}))){if(Ue=isRelatedTo(Je,ce,false,undefined,ie)){resetErrorInfo(We)}}}}if(Ue&&!ze&&(ce.flags&2097152&&(Te||we)||isNonGenericObjectType(ce)&&!isArrayType(ce)&&!isTupleType(ce)&&ae.flags&2097152&&getApparentType(ae).flags&3670016&&!E.some(ae.types,(function(N){return!!(E.getObjectFlags(N)&524288)})))){ze=true;Ue&=recursiveTypeRelatedTo(ae,ce,j,4);ze=false}reportErrorResults(ae,ce,Ue,Ee);return Ue;function reportErrorResults(q,ie,ae,ce){if(!ae&&j){var _e=!!getSingleBaseForNonAugmentingSubtype(N);var Ee=!!getSingleBaseForNonAugmentingSubtype(R);q=N.aliasSymbol||_e?N:q;ie=R.aliasSymbol||Ee?R:ie;var Te=Be>0;if(Te){Be--}if(q.flags&524288&&ie.flags&524288){var we=le;tryElaborateArrayLikeErrors(q,ie,j);if(le!==we){Te=!!le}}if(q.flags&524288&&ie.flags&131068){tryElaborateErrorsForPrimitivesAndObjects(q,ie)}else if(q.symbol&&q.flags&524288&&tn===q){reportError(E.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead)}else if(ce&&ie.flags&2097152){var Ie=ie.types;var Ne=getJsxType(Qe.IntrinsicAttributes,G);var Me=getJsxType(Qe.IntrinsicClassAttributes,G);if(Ne!==Jt&&Me!==Jt&&(E.contains(Ie,Ne)||E.contains(Ie,Me))){return ae}}else{le=elaborateNeverIntersection(le,R)}if(!$&&Te){je=[q,ie];return ae}reportRelationError($,q,ie)}}}function traceUnionsOrIntersectionsTooLarge(N,R){if(!E.tracing){return}if(N.flags&3145728&&R.flags&3145728){var j=N;var $=R;if(j.objectFlags&$.objectFlags&65536){return}var q=j.types.length;var ie=$.types.length;if(q*ie>1e6){E.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:N.id,sourceSize:q,targetId:R.id,targetSize:ie,pos:G===null||G===void 0?void 0:G.pos,end:G===null||G===void 0?void 0:G.end})}}}function isIdenticalTo(E,N){if(E.flags!==N.flags)return 0;if(E.flags&67358815)return-1;traceUnionsOrIntersectionsTooLarge(E,N);if(E.flags&3145728){var R=eachTypeRelatedToSomeType(E,N);if(R){R&=eachTypeRelatedToSomeType(N,E)}return R}return recursiveTypeRelatedTo(E,N,false,0)}function getTypeOfPropertyInTypes(N,R){var appendPropType=function(N,j){var $;j=getApparentType(j);var q=j.flags&3145728?getPropertyOfUnionOrIntersectionType(j,R):getPropertyOfObjectType(j,R);var G=q&&getTypeOfSymbol(q)||(($=getApplicableIndexInfoForName(j,R))===null||$===void 0?void 0:$.type)||Gt;return E.append(N,G)};return getUnionType(E.reduceLeft(N,appendPropType,undefined)||E.emptyArray)}function hasExcessProperties(N,R,j){var $;if(!isExcessPropertyCheckTarget(R)||!st&&E.getObjectFlags(R)&8192){return false}var ie=!!(E.getObjectFlags(N)&2048);if((q===Pi||q===Fi)&&(isTypeSubsetOf(tn,R)||!ie&&isEmptyObjectType(R))){return false}var ae=R;var ce;if(R.flags&1048576){ae=findMatchingDiscriminantType(N,R,isRelatedTo)||filterPrimitivesIfContainsNonPrimitive(R);ce=ae.flags&1048576?ae.types:[ae]}var _loop_18=function(R){if(shouldCheckAsExcessProperty(R,N.symbol)&&!isIgnoredJsxProperty(N,R)){if(!isKnownProperty(ae,R.escapedName,ie)){if(j){var q=filterType(ae,isExcessPropertyCheckTarget);if(!G)return{value:E.Debug.fail()};if(E.isJsxAttributes(G)||E.isJsxOpeningLikeElement(G)||E.isJsxOpeningLikeElement(G.parent)){if(R.valueDeclaration&&E.isJsxAttribute(R.valueDeclaration)&&E.getSourceFileOfNode(G)===E.getSourceFileOfNode(R.valueDeclaration.name)){G=R.valueDeclaration.name}var le=symbolToString(R);var _e=getSuggestedSymbolForNonexistentJSXAttribute(le,q);var Ee=_e?symbolToString(_e):undefined;if(Ee){reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,le,typeToString(q),Ee)}else{reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1,le,typeToString(q))}}else{var Te=(($=N.symbol)===null||$===void 0?void 0:$.declarations)&&E.firstOrUndefined(N.symbol.declarations);var Ee=void 0;if(R.valueDeclaration&&E.findAncestor(R.valueDeclaration,(function(E){return E===Te}))&&E.getSourceFileOfNode(Te)===E.getSourceFileOfNode(G)){var we=R.valueDeclaration;E.Debug.assertNode(we,E.isObjectLiteralElementLike);G=we;var Ie=we.name;if(E.isIdentifier(Ie)){Ee=getSuggestionForNonexistentProperty(Ie,q)}}if(Ee!==undefined){reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,symbolToString(R),typeToString(q),Ee)}else{reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,symbolToString(R),typeToString(q))}}}return{value:true}}if(ce&&!isRelatedTo(getTypeOfSymbol(R),getTypeOfPropertyInTypes(ce,R.escapedName),j)){if(j){reportIncompatibleError(E.Diagnostics.Types_of_property_0_are_incompatible,symbolToString(R))}return{value:true}}}};for(var le=0,_e=getPropertiesOfType(N);le<_e.length;le++){var Ee=_e[le];var Te=_loop_18(Ee);if(typeof Te==="object")return Te.value}return false}function shouldCheckAsExcessProperty(E,N){return E.valueDeclaration&&N.valueDeclaration&&E.valueDeclaration.parent===N.valueDeclaration}function eachTypeRelatedToSomeType(E,N){var R=-1;var j=E.types;for(var $=0,q=j;$=G.types.length&&q.length%G.types.length===0){var ce=isRelatedTo(ae,G.types[ie%G.types.length],false,undefined,j);if(ce){$&=ce;continue}}var le=isRelatedTo(ae,N,R,undefined,j);if(!le){return 0}$&=le}return $}function typeArgumentsRelatedTo(N,R,j,$,G){if(N===void 0){N=E.emptyArray}if(R===void 0){R=E.emptyArray}if(j===void 0){j=E.emptyArray}if(N.length!==R.length&&q===Ii){return 0}var ie=N.length<=R.length?N.length:R.length;var ae=-1;for(var ce=0;ce25){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:N.id,targetId:R.id,numCombinations:G});return 0}}var le=new Array($.length);var _e=new E.Set;for(var Ee=0;Ee<$.length;Ee++){var ce=$[Ee];var Te=getNonMissingTypeOfSymbol(ce);le[Ee]=Te.flags&1048576?Te.types:[Te];_e.add(ce.escapedName)}var we=E.cartesianProduct(le);var Ie=[];var _loop_19=function(j){var G=false;e:for(var ie=0,ae=R.types;ie5){reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,typeToString(N),typeToString($),E.map(we.slice(0,4),(function(E){return symbolToString(E)})).join(", "),we.length-4)}else{reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,typeToString(N),typeToString($),E.map(we,(function(E){return symbolToString(E)})).join(", "))}if(ae&&le){Be++}}}function propertiesRelatedTo(N,R,j,$,G){if(q===Ii){return propertiesIdenticalTo(N,R,$)}var ie=-1;if(isTupleType(R)){if(isArrayType(N)||isTupleType(N)){if(!R.target.readonly&&(isReadonlyArrayType(N)||isTupleType(N)&&N.target.readonly)){return 0}var ae=getTypeReferenceArity(N);var ce=getTypeReferenceArity(R);var le=isTupleType(N)?N.target.combinedFlags&4:4;var _e=R.target.combinedFlags&4;var Ee=isTupleType(N)?N.target.minLength:0;var Te=R.target.minLength;if(!le&&ae=ce-Me)?N.target.elementFlags[je]:4;var ze=R.target.elementFlags[Be];if(ze&8&&!(Ue&8)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Be)}return 0}if(Ue&8&&!(ze&12)){if(j){reportError(E.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,je,Be)}return 0}if(ze&1&&!(Ue&1)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Be)}return 0}if(Le){if(Ue&12||ze&12){Le=false}if(Le&&($===null||$===void 0?void 0:$.has(""+Be))){continue}}var We=!isTupleType(N)?we[0]:Be=ce-Me?removeMissingType(we[je],!!(Ue&ze&2)):getElementTypeOfSliceOfTupleType(N,Ne,Me)||dr;var Je=Ie[Be];var Ve=Ue&8&&ze&4?createArrayType(Je):removeMissingType(Je,!!(ze&2));var qe=isRelatedTo(We,Ve,j,undefined,G);if(!qe){if(j&&(ce>1||ae>1)){if(Be=ce-Me||ae-Ne-Me===1){reportIncompatibleError(E.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,je,Be)}else{reportIncompatibleError(E.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Ne,ae-Me-1,Be)}}return 0}ie&=qe}return ie}if(R.target.combinedFlags&12){return 0}}var He=(q===Ai||q===wi)&&!isObjectLiteralType(N)&&!isEmptyArrayLiteralType(N)&&!isTupleType(N);var Ge=getUnmatchedProperty(N,R,He,false);if(Ge){if(j){reportUnmatchedProperty(N,R,Ge,He)}return 0}if(isObjectLiteralType(R)){for(var Ke=0,Qe=excludeProperties(getPropertiesOfType(N),$);Ke0&&E.every(R.properties,(function(E){return!!(E.flags&16777216)}))}if(N.flags&2097152){return E.every(N.types,isWeakType)}return false}function hasCommonProperties(E,N,R){for(var j=0,$=getPropertiesOfType(E);j<$.length;j++){var q=$[j];if(isKnownProperty(N,q.escapedName,R)){return true}}return false}function getMarkerTypeReference(N,R,j){var $=createTypeReference(N,E.map(N.typeParameters,(function(E){return E===R?j:E})));$.objectFlags|=4096;return $}function getAliasVariances(E){var N=getSymbolLinks(E);return getVariancesWorker(N.typeParameters,N,(function(R,j,$){var q=getTypeAliasInstantiation(E,instantiateTypes(N.typeParameters,makeUnaryTypeMapper(j,$)));q.aliasTypeArgumentsContainsMarker=true;return q}))}function getVariancesWorker(N,R,j){var $,q,G;if(N===void 0){N=E.emptyArray}var ie=R.variances;if(!ie){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("checkTypes","getVariancesWorker",{arity:N.length,id:(G=($=R.id)!==null&&$!==void 0?$:(q=R.declaredType)===null||q===void 0?void 0:q.id)!==null&&G!==void 0?G:-1});R.variances=E.emptyArray;ie=[];var _loop_21=function(E){var N=false;var $=false;var q=Di;Di=function(E){return E?$=true:N=true};var G=j(R,E,Nr);var ae=j(R,E,Or);var ce=(isTypeAssignableTo(ae,G)?1:0)|(isTypeAssignableTo(G,ae)?2:0);if(ce===3&&isTypeAssignableTo(j(R,E,Mr),G)){ce=4}Di=q;if(N||$){if(N){ce|=8}if($){ce|=16}}ie.push(ce)};for(var ae=0,ce=N;ae"}else{j+="-"+G.id}}return j}function getRelationKey(E,N,R,j){if(j===Ii&&E.id>N.id){var $=E;E=N;N=$}var q=R?":"+R:"";if(isTypeReferenceWithGenericArguments(E)&&isTypeReferenceWithGenericArguments(N)){var G=[];return getTypeReferenceId(E,G)+","+getTypeReferenceId(N,G)+q}return E.id+","+N.id+q}function forEachProperty(N,R){if(E.getCheckFlags(N)&6){for(var j=0,$=N.containingType.types;j<$.length;j++){var q=$[j];var G=getPropertyOfType(q,N.escapedName);var ie=G&&forEachProperty(G,R);if(ie){return ie}}return undefined}return R(N)}function getDeclaringClass(E){return E.parent&&E.parent.flags&32?getDeclaredTypeOfSymbol(getParentOfSymbol(E)):undefined}function getTypeOfPropertyInBaseClass(E){var N=getDeclaringClass(E);var R=N&&getBaseTypes(N)[0];return R&&getTypeOfPropertyOfType(R,E.escapedName)}function isPropertyInClassDerivedFrom(E,N){return forEachProperty(E,(function(E){var R=getDeclaringClass(E);return R?hasBaseType(R,N):false}))}function isValidOverrideOf(N,R){return!forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R)&16?!isPropertyInClassDerivedFrom(N,getDeclaringClass(R)):false}))}function isClassDerivedFromDeclaringClasses(N,R,j){return forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R,j)&16?!hasBaseType(N,getDeclaringClass(R)):false}))?undefined:N}function isDeeplyNestedType(E,N,R){if(R>=5){var j=getRecursionIdentity(E);var $=0;for(var q=0;q=5){return true}}}}return false}function getRecursionIdentity(N){if(N.flags&524288&&!isObjectOrArrayLiteralType(N)){if(E.getObjectFlags(N)&&4&&N.node){return N.node}if(N.symbol&&!(E.getObjectFlags(N)&16&&N.symbol.flags&32)){return N.symbol}if(isTupleType(N)){return N.target}}if(N.flags&262144){return N.symbol}if(N.flags&8388608){do{N=N.objectType}while(N.flags&8388608);return N}if(N.flags&16777216){return N.root}return N}function isPropertyIdenticalTo(E,N){return compareProperties(E,N,compareTypesIdentical)!==0}function compareProperties(N,R,j){if(N===R){return-1}var $=E.getDeclarationModifierFlagsFromSymbol(N)&24;var q=E.getDeclarationModifierFlagsFromSymbol(R)&24;if($!==q){return 0}if($){if(getTargetSymbol(N)!==getTargetSymbol(R)){return 0}}else{if((N.flags&16777216)!==(R.flags&16777216)){return 0}}if(isReadonlySymbol(N)!==isReadonlySymbol(R)){return 0}return j(getTypeOfSymbol(N),getTypeOfSymbol(R))}function isMatchingSignature(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getMinArgumentCount(E);var G=getMinArgumentCount(N);var ie=hasEffectiveRestParameter(E);var ae=hasEffectiveRestParameter(N);if(j===$&&q===G&&ie===ae){return true}if(R&&q<=G){return true}return false}function compareSignaturesIdentical(N,R,j,$,q,G){if(N===R){return-1}if(!isMatchingSignature(N,R,j)){return 0}if(E.length(N.typeParameters)!==E.length(R.typeParameters)){return 0}if(R.typeParameters){var ie=createTypeMapper(N.typeParameters,R.typeParameters);for(var ae=0;aeE.length(R.typeParameters)){q=getTypeWithThisArgument(q,E.last(getTypeArguments(N)))}N.objectFlags|=67108864;return N.cachedEquivalentBaseType=q}function isEmptyLiteralType(E){return rt?E===mr:E===Kt}function isEmptyArrayLiteralType(E){var N=getElementTypeOfArrayType(E);return!!N&&isEmptyLiteralType(N)}function isTupleLikeType(E){return isTupleType(E)||!!getPropertyOfType(E,"0")}function isArrayOrTupleLikeType(E){return isArrayLikeType(E)||isTupleLikeType(E)}function getTupleElementType(E,N){var R=getTypeOfPropertyOfType(E,""+N);if(R){return R}if(everyType(E,isTupleType)){return mapType(E,(function(E){return getRestTypeOfTupleType(E)||Gt}))}return undefined}function isNeitherUnitTypeNorNever(E){return!(E.flags&(109440|131072))}function isUnitType(E){return!!(E.flags&109440)}function isUnitLikeType(N){return N.flags&2097152?E.some(N.types,isUnitType):!!(N.flags&109440)}function extractUnitType(N){return N.flags&2097152?E.find(N.types,isUnitType)||N:N}function isLiteralType(N){return N.flags&16?true:N.flags&1048576?N.flags&1024?true:E.every(N.types,isUnitType):isUnitType(N)}function getBaseTypeOfLiteralType(E){return E.flags&1024?getBaseTypeOfEnumLiteralType(E):E.flags&128?er:E.flags&256?tr:E.flags&2048?rr:E.flags&512?cr:E.flags&1048576?mapType(E,getBaseTypeOfLiteralType):E}function getWidenedLiteralType(E){return E.flags&1024&&isFreshLiteralType(E)?getBaseTypeOfEnumLiteralType(E):E.flags&128&&isFreshLiteralType(E)?er:E.flags&256&&isFreshLiteralType(E)?tr:E.flags&2048&&isFreshLiteralType(E)?rr:E.flags&512&&isFreshLiteralType(E)?cr:E.flags&1048576?mapType(E,getWidenedLiteralType):E}function getWidenedUniqueESSymbolType(E){return E.flags&8192?lr:E.flags&1048576?mapType(E,getWidenedUniqueESSymbolType):E}function getWidenedLiteralLikeTypeForContextualType(E,N){if(!isLiteralOfContextualType(E,N)){E=getWidenedUniqueESSymbolType(getWidenedLiteralType(E))}return E}function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(E,N,R){if(E&&isUnitType(E)){var j=!N?undefined:R?getPromisedTypeOfPromise(N):N;E=getWidenedLiteralLikeTypeForContextualType(E,j)}return E}function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(E,N,R,j){if(E&&isUnitType(E)){var $=!N?undefined:getIterationTypeOfGeneratorFunctionReturnType(R,N,j);E=getWidenedLiteralLikeTypeForContextualType(E,$)}return E}function isTupleType(N){return!!(E.getObjectFlags(N)&4&&N.target.objectFlags&8)}function isGenericTupleType(E){return isTupleType(E)&&!!(E.target.combinedFlags&8)}function isSingleElementGenericTupleType(E){return isGenericTupleType(E)&&E.target.elementFlags.length===1}function getRestTypeOfTupleType(E){return getElementTypeOfSliceOfTupleType(E,E.target.fixedLength)}function getRestArrayTypeOfTupleType(E){var N=getRestTypeOfTupleType(E);return N&&createArrayType(N)}function getElementTypeOfSliceOfTupleType(E,N,R,j){if(R===void 0){R=0}if(j===void 0){j=false}var $=getTypeReferenceArity(E)-R;if(N<$){var q=getTypeArguments(E);var G=[];for(var ie=N;ie<$;ie++){var ae=q[ie];G.push(E.target.elementFlags[ie]&8?getIndexedAccessType(ae,tr):ae)}return j?getIntersectionType(G):getUnionType(G)}return undefined}function isTupleTypeStructureMatching(N,R){return getTypeReferenceArity(N)===getTypeReferenceArity(R)&&E.every(N.target.elementFlags,(function(E,N){return(E&12)===(R.target.elementFlags[N]&12)}))}function isZeroBigInt(E){var N=E.value;return N.base10Value==="0"}function getFalsyFlagsOfTypes(E){var N=0;for(var R=0,j=E;R-1&&(resolveName(G,G.name.escapedText,788968,undefined,G.name.escapedText,true)||G.name.originalKeywordKind&&E.isTypeNodeKind(G.name.originalKeywordKind))){var ie="arg"+G.parent.parameters.indexOf(G);errorOrSuggestion(st,N,E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,ie,E.declarationNameToString(G.name));return}q=N.dotDotDotToken?st?E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:st?E.Diagnostics.Parameter_0_implicitly_has_an_1_type:E.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 201:q=E.Diagnostics.Binding_element_0_implicitly_has_an_1_type;if(!st){return}break;case 312:error(N,E.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$);return;case 254:case 167:case 166:case 170:case 171:case 211:case 212:if(st&&!N.name){if(j===3){error(N,E.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,$)}else{error(N,E.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$)}return}q=!st?E.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:j===3?E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;break;case 193:if(st){error(N,E.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type)}return;default:q=st?E.Diagnostics.Variable_0_implicitly_has_an_1_type:E.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}errorOrSuggestion(st,N,q,E.declarationNameToString(E.getNameOfDeclaration(N)),$)}function reportErrorsFromWidening(N,R,j){if(ie&&st&&E.getObjectFlags(R)&131072&&(!j||!getContextualSignatureForFunctionLikeDeclaration(N))){if(!reportWideningErrorsInType(R)){reportImplicitAny(N,R,j)}}}function applyToParameterTypes(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getEffectiveRestType(E);var G=getEffectiveRestType(N);var ie=G?$-1:$;var ae=q?ie:Math.min(j,ie);var ce=getThisTypeOfSignature(E);if(ce){var le=getThisTypeOfSignature(N);if(le){R(ce,le)}}for(var _e=0;_eE.target.minLength||!N.target.hasRestElement&&(E.target.hasRestElement||N.target.fixedLength0){var Me=Te;var Le=we;while(true){Le=getSourceText(Me).indexOf(Ne,Le);if(Le>=0)break;Me++;if(Me===E.length)return undefined;Le=0}addMatch(Me,Le);we+=Ne.length}else if(we0){for(var je=0,Ue=R;je1){var R=E.filter(N,isObjectOrArrayLiteralType);if(R.length){var j=getUnionType(R,2);return E.concatenate(E.filter(N,(function(E){return!isObjectOrArrayLiteralType(E)})),[j])}}return N}function getContravariantInference(E){return E.priority&416?getIntersectionType(E.contraCandidates):getCommonSubtype(E.contraCandidates)}function getCovariantInference(N,R){var j=unionObjectAndArrayLiteralCandidates(N.candidates);var $=hasPrimitiveConstraint(N.typeParameter);var q=!$&&N.topLevel&&(N.isFixed||!isTypeParameterAtTopLevel(getReturnTypeOfSignature(R),N.typeParameter));var G=$?E.sameMap(j,getRegularTypeOfLiteralType):q?E.sameMap(j,getWidenedLiteralType):j;var ie=N.priority&416?getUnionType(G,2):getCommonSupertype(G);return getWidenedType(ie)}function getInferredType(E,N){var R=E.inferences[N];if(!R.inferredType){var j=void 0;var $=E.signature;if($){var q=R.candidates?getCovariantInference(R,$):undefined;if(R.contraCandidates){var G=getContravariantInference(R);j=q&&!(q.flags&131072)&&isTypeSubtypeOf(q,G)?q:G}else if(q){j=q}else if(E.flags&1){j=pr}else{var ie=getDefaultFromTypeParameter(R.typeParameter);if(ie){j=instantiateType(ie,mergeTypeMappers(createBackreferenceMapper(E,N),E.nonFixingMapper))}}}else{j=getTypeFromInference(R)}R.inferredType=j||getDefaultTypeArgumentType(!!(E.flags&2));var ae=getConstraintOfTypeParameter(R.typeParameter);if(ae){var ce=instantiateType(ae,E.nonFixingMapper);if(!j||!E.compareTypes(j,getTypeWithThisArgument(ce,j))){R.inferredType=j=ce}}}return R.inferredType}function getDefaultTypeArgumentType(E){return E?zt:Ht}function getInferredTypes(E){var N=[];for(var R=0;R=10&&$*2>=N.length?j:undefined}function getKeyPropertyName(N){var R=N.types;if(R.length<10||E.getObjectFlags(N)&65536){return undefined}if(N.keyPropertyName===undefined){var j=E.forEach(R,(function(N){return N.flags&(524288|58982400)?E.forEach(getPropertiesOfType(N),(function(E){return isUnitType(getTypeOfSymbol(E))?E.escapedName:undefined})):undefined}));var $=j&&mapTypesByKeyProperty(R,j);N.keyPropertyName=$?j:"";N.constituentMap=$}return N.keyPropertyName.length?N.keyPropertyName:undefined}function getConstituentTypeForKeyType(E,N){var R;var j=(R=E.constituentMap)===null||R===void 0?void 0:R.get(getTypeId(getRegularTypeOfLiteralType(N)));return j!==Ht?j:undefined}function getMatchingUnionConstituentForType(E,N){var R=getKeyPropertyName(E);var j=R&&getTypeOfPropertyOfType(N,R);return j&&getConstituentTypeForKeyType(E,j)}function getMatchingUnionConstituentForObjectLiteral(N,R){var j=getKeyPropertyName(N);var $=j&&E.find(R.properties,(function(E){return E.symbol&&E.kind===291&&E.symbol.escapedName===j&&isPossiblyDiscriminantValue(E.initializer)}));var q=$&&getTypeOfExpression($.initializer);return q&&getConstituentTypeForKeyType(N,q)}function isOrContainsMatchingReference(E,N){return isMatchingReference(E,N)||containsMatchingReference(E,N)}function hasMatchingArgument(E,N){if(E.arguments){for(var R=0,j=E.arguments;R=0&&R.parameterIndex=j&&G<$;var ae;var ce;if(G>-1){var le=q.filter((function(E){return E!==undefined}));var _e=G=2||(R.flags&(2|32))===0||!R.valueDeclaration||E.isSourceFile(R.valueDeclaration)||R.valueDeclaration.parent.kind===290){return}var j=E.getEnclosingBlockScopeContainer(R.valueDeclaration);var $=isInsideFunctionOrInstancePropertyInitializer(N,j);var q=getEnclosingIterationStatement(j);if(q){if($){var G=true;if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,253);if(ie&&ie.parent===j){var ae=getPartOfForStatementContainingNode(N.parent,j);if(ae){var ce=getNodeLinks(ae);ce.flags|=131072;var le=ce.capturedBlockScopeBindings||(ce.capturedBlockScopeBindings=[]);E.pushIfUnique(le,R);if(ae===j.initializer){G=false}}}}if(G){getNodeLinks(q).flags|=65536}}if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,253);if(ie&&ie.parent===j&&isAssignedInBodyOfForStatement(N,j)){getNodeLinks(R.valueDeclaration).flags|=4194304}}getNodeLinks(R.valueDeclaration).flags|=524288}if($){getNodeLinks(R.valueDeclaration).flags|=262144}}function isBindingCapturedByNode(N,R){var j=getNodeLinks(N);return!!j&&E.contains(j.capturedBlockScopeBindings,getSymbolOfNode(R))}function isAssignedInBodyOfForStatement(N,R){var j=N;while(j.parent.kind===210){j=j.parent}var $=false;if(E.isAssignmentTarget(j)){$=true}else if(j.parent.kind===217||j.parent.kind===218){var q=j.parent;$=q.operator===45||q.operator===46}if(!$){return false}return!!E.findAncestor(j,(function(E){return E===R?"quit":E===R.statement}))}function captureLexicalThis(E,N){getNodeLinks(E).flags|=2;if(N.kind===165||N.kind===169){var R=N.parent;getNodeLinks(R).flags|=4}else{getNodeLinks(N).flags|=4}}function findFirstSuperCall(N){return E.isSuperCall(N)?N:E.isFunctionLike(N)?undefined:E.forEachChild(N,findFirstSuperCall)}function classDeclarationExtendsNull(E){var N=getSymbolOfNode(E);var R=getDeclaredTypeOfSymbol(N);var j=getBaseConstructorTypeOfClass(R);return j===Zt}function checkThisBeforeSuper(N,R,j){var $=R.parent;var q=E.getClassExtendsHeritageElement($);if(q&&!classDeclarationExtendsNull($)){if(N.flowNode&&!isPostSuperFlowNode(N.flowNode,false)){error(N,j)}}}function checkThisInStaticClassFieldInitializerInDecoratedClass(N,R){if(E.isPropertyDeclaration(R)&&E.hasStaticModifier(R)&&R.initializer&&E.textRangeContainsPositionInclusive(R.initializer,N.pos)&&E.length(R.parent.decorators)){error(N,E.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}}function checkThisExpression(N){var R=isInTypeQuery(N);var j=E.getThisContainer(N,true);var $=false;if(j.kind===169){checkThisBeforeSuper(N,j,E.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class)}if(j.kind===212){j=E.getThisContainer(j,false);$=true}checkThisInStaticClassFieldInitializerInDecoratedClass(N,j);switch(j.kind){case 259:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 258:error(N,E.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 169:if(isInConstructorArgumentInitializer(N,j)){error(N,E.Diagnostics.this_cannot_be_referenced_in_constructor_arguments)}break;case 160:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}if(!R&&$&&Ye<2){captureLexicalThis(N,j)}var q=tryGetThisTypeAt(N,true,j);if(ct){var G=getTypeOfSymbol(bt);if(q===G&&$){error(N,E.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this)}else if(!q){var ie=error(N,E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!E.isSourceFile(j)){var ae=tryGetThisTypeAt(j);if(ae&&ae!==G){E.addRelatedInfo(ie,E.createDiagnosticForNode(j,E.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}}return q||zt}function tryGetThisTypeAt(N,R,j){if(R===void 0){R=true}if(j===void 0){j=E.getThisContainer(N,false)}var $=E.isInJSFile(N);if(E.isFunctionLike(j)&&(!isInParameterInitializerBeforeContainingFunction(N)||E.getThisParameter(j))){var q=getThisTypeOfDeclaration(j)||$&&getTypeForThisExpressionFromJSDoc(j);if(!q){var G=getClassNameFromPrototypeMethod(j);if($&&G){var ie=checkExpression(G).symbol;if(ie&&ie.members&&ie.flags&16){q=getDeclaredTypeOfSymbol(ie).thisType}}else if(isJSConstructor(j)){q=getDeclaredTypeOfSymbol(getMergedSymbol(j.symbol)).thisType}q||(q=getContextualThisParameterType(j))}if(q){return getFlowTypeOfReference(N,q)}}if(E.isClassLike(j.parent)){var ae=getSymbolOfNode(j.parent);var ce=E.isStatic(j)?getTypeOfSymbol(ae):getDeclaredTypeOfSymbol(ae).thisType;return getFlowTypeOfReference(N,ce)}if(E.isSourceFile(j)){if(j.commonJsModuleIndicator){var le=getSymbolOfNode(j);return le&&getTypeOfSymbol(le)}else if(j.externalModuleIndicator){return Gt}else if(R){return getTypeOfSymbol(bt)}}}function getExplicitThisType(N){var R=E.getThisContainer(N,false);if(E.isFunctionLike(R)){var j=getSignatureFromDeclaration(R);if(j.thisParameter){return getExplicitTypeOfSymbol(j.thisParameter)}}if(E.isClassLike(R.parent)){var $=getSymbolOfNode(R.parent);return E.isStatic(R)?getTypeOfSymbol($):getDeclaredTypeOfSymbol($).thisType}}function getClassNameFromPrototypeMethod(N){if(N.kind===211&&E.isBinaryExpression(N.parent)&&E.getAssignmentDeclarationKind(N.parent)===3){return N.parent.left.expression.expression}else if(N.kind===167&&N.parent.kind===203&&E.isBinaryExpression(N.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent)===6){return N.parent.parent.left.expression}else if(N.kind===211&&N.parent.kind===291&&N.parent.parent.kind===203&&E.isBinaryExpression(N.parent.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===6){return N.parent.parent.parent.left.expression}else if(N.kind===211&&E.isPropertyAssignment(N.parent)&&E.isIdentifier(N.parent.name)&&(N.parent.name.escapedText==="value"||N.parent.name.escapedText==="get"||N.parent.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent.parent)&&E.isCallExpression(N.parent.parent.parent)&&N.parent.parent.parent.arguments[2]===N.parent.parent&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===9){return N.parent.parent.parent.arguments[0].expression}else if(E.isMethodDeclaration(N)&&E.isIdentifier(N.name)&&(N.name.escapedText==="value"||N.name.escapedText==="get"||N.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent)&&E.isCallExpression(N.parent.parent)&&N.parent.parent.arguments[2]===N.parent&&E.getAssignmentDeclarationKind(N.parent.parent)===9){return N.parent.parent.arguments[0].expression}}function getTypeForThisExpressionFromJSDoc(N){var R=E.getJSDocType(N);if(R&&R.kind===312){var j=R;if(j.parameters.length>0&&j.parameters[0].name&&j.parameters[0].name.escapedText==="this"){return getTypeFromTypeNode(j.parameters[0].type)}}var $=E.getJSDocThisTag(N);if($&&$.typeExpression){return getTypeFromTypeNode($.typeExpression)}}function isInConstructorArgumentInitializer(N,R){return!!E.findAncestor(N,(function(N){return E.isFunctionLikeDeclaration(N)?"quit":N.kind===162&&N.parent===R}))}function checkSuperExpression(N){var R=N.parent.kind===206&&N.parent.expression===N;var j=E.getSuperContainer(N,true);var $=j;var q=false;if(!R){while($&&$.kind===212){$=E.getSuperContainer($,true);q=Ye<2}}var G=isLegalUsageOfSuperExpression($);var ie=0;if(!G){var ae=E.findAncestor(N,(function(E){return E===$?"quit":E.kind===160}));if(ae&&ae.kind===160){error(N,E.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name)}else if(R){error(N,E.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors)}else if(!$||!$.parent||!(E.isClassLike($.parent)||$.parent.kind===203)){error(N,E.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions)}else{error(N,E.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class)}return Jt}if(!R&&j.kind===169){checkThisBeforeSuper(N,$,E.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class)}if(E.isStatic($)||R){ie=512;if(!R&&Ye>=2&&Ye<=8&&(E.isPropertyDeclaration($)||E.isClassStaticBlockDeclaration($))){E.forEachEnclosingBlockScopeContainer(N.parent,(function(N){if(!E.isSourceFile(N)||E.isExternalOrCommonJsModule(N)){getNodeLinks(N).flags|=134217728}}))}}else{ie=256}getNodeLinks(N).flags|=ie;if($.kind===167&&E.hasSyntacticModifier($,256)){if(E.isSuperProperty(N.parent)&&E.isAssignmentTarget(N.parent)){getNodeLinks($).flags|=4096}else{getNodeLinks($).flags|=2048}}if(q){captureLexicalThis(N.parent,$)}if($.parent.kind===203){if(Ye<2){error(N,E.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);return Jt}else{return zt}}var ce=$.parent;if(!E.getClassExtendsHeritageElement(ce)){error(N,E.Diagnostics.super_can_only_be_referenced_in_a_derived_class);return Jt}var le=getDeclaredTypeOfSymbol(getSymbolOfNode(ce));var _e=le&&getBaseTypes(le)[0];if(!_e){return Jt}if($.kind===169&&isInConstructorArgumentInitializer(N,$)){error(N,E.Diagnostics.super_cannot_be_referenced_in_constructor_arguments);return Jt}return ie===512?getBaseConstructorTypeOfClass(le):getTypeWithThisArgument(_e,le.thisType);function isLegalUsageOfSuperExpression(N){if(!N){return false}if(R){return N.kind===169}else{if(E.isClassLike(N.parent)||N.parent.kind===203){if(E.isStatic(N)){return N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===165||N.kind===168}else{return N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===165||N.kind===164||N.kind===169}}}return false}}function getContainingObjectLiteral(E){return(E.kind===167||E.kind===170||E.kind===171)&&E.parent.kind===203?E.parent:E.kind===211&&E.parent.kind===291?E.parent.parent:undefined}function getThisTypeArgument(N){return E.getObjectFlags(N)&4&&N.target===pn?getTypeArguments(N)[0]:undefined}function getThisTypeFromContextualType(N){return mapType(N,(function(N){return N.flags&2097152?E.forEach(N.types,getThisTypeArgument):getThisTypeArgument(N)}))}function getContextualThisParameterType(N){if(N.kind===212){return undefined}if(isContextSensitiveFunctionOrObjectLiteralMethod(N)){var R=getContextualSignature(N);if(R){var j=R.thisParameter;if(j){return getTypeOfSymbol(j)}}}var $=E.isInJSFile(N);if(ct||$){var q=getContainingObjectLiteral(N);if(q){var G=getApparentTypeOfContextualType(q);var ie=q;var ae=G;while(ae){var ce=getThisTypeFromContextualType(ae);if(ce){return instantiateType(ce,getMapperFromContext(getInferenceContext(q)))}if(ie.parent.kind!==291){break}ie=ie.parent.parent;ae=getApparentTypeOfContextualType(ie)}return getWidenedType(G?getNonNullableType(G):checkExpressionCached(q))}var le=E.walkUpParenthesizedExpressions(N.parent);if(le.kind===219&&le.operatorToken.kind===63){var _e=le.left;if(E.isAccessExpression(_e)){var Ee=_e.expression;if($&&E.isIdentifier(Ee)){var Te=E.getSourceFileOfNode(le);if(Te.commonJsModuleIndicator&&getResolvedSymbol(Ee)===Te.symbol){return undefined}}return getWidenedType(checkExpressionCached(Ee))}}}return undefined}function getContextuallyTypedParameterType(N){var R=N.parent;if(!isContextSensitiveFunctionOrObjectLiteralMethod(R)){return undefined}var j=E.getImmediatelyInvokedFunctionExpression(R);if(j&&j.arguments){var $=getEffectiveCallArguments(j);var q=R.parameters.indexOf(N);if(N.dotDotDotToken){return getSpreadArgumentType($,q,$.length,zt,undefined,0)}var G=getNodeLinks(j);var ie=G.resolvedSignature;G.resolvedSignature=Lr;var ae=q<$.length?getWidenedLiteralType(checkExpression($[q])):N.initializer?undefined:Kt;G.resolvedSignature=ie;return ae}var ce=getContextualSignature(R);if(ce){var le=R.parameters.indexOf(N)-(E.getThisParameter(R)?1:0);return N.dotDotDotToken&&E.lastOrUndefined(R.parameters)===N?getRestTypeAtPosition(ce,le):tryGetTypeAtPosition(ce,le)}}function getContextualTypeForVariableLikeDeclaration(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}switch(N.kind){case 162:return getContextuallyTypedParameterType(N);case 201:return getContextualTypeForBindingElement(N);case 165:if(E.isStatic(N)){return getContextualTypeForStaticPropertyDeclaration(N)}}}function getContextualTypeForBindingElement(N){var R=N.parent.parent;var j=N.propertyName||N.name;var $=getContextualTypeForVariableLikeDeclaration(R)||R.kind!==201&&R.initializer&&checkDeclarationInitializer(R);if(!$||E.isBindingPattern(j)||E.isComputedNonLiteralName(j))return undefined;if(R.name.kind===200){var q=E.indexOfNode(N.parent.elements,N);if(q<0)return undefined;return getContextualTypeForElementExpression($,q)}var G=getLiteralTypeFromPropertyName(j);if(isTypeUsableAsPropertyName(G)){var ie=getPropertyNameFromType(G);return getTypeOfPropertyOfType($,ie)}}function getContextualTypeForStaticPropertyDeclaration(N){var R=E.isExpression(N.parent)&&getContextualType(N.parent);if(!R)return undefined;return getTypeOfPropertyOfContextualType(R,getSymbolOfNode(N).escapedName)}function getContextualTypeForInitializerExpression(N,R){var j=N.parent;if(E.hasInitializer(j)&&N===j.initializer){var $=getContextualTypeForVariableLikeDeclaration(j);if($){return $}if(!(R&8)&&E.isBindingPattern(j.name)){return getTypeFromBindingPattern(j.name,true,false)}}return undefined}function getContextualTypeForReturnExpression(N){var R=E.getContainingFunction(N);if(R){var j=getContextualReturnType(R);if(j){var $=E.getFunctionFlags(R);if($&1){var q=$&2?2:1;var G=getIterationTypesOfIterable(j,q,undefined);if(!G){return undefined}j=G.returnType}if($&2){var ie=mapType(j,getAwaitedType);return ie&&getUnionType([ie,createPromiseLikeType(ie)])}return j}}return undefined}function getContextualTypeForAwaitOperand(E,N){var R=getContextualType(E,N);if(R){var j=getAwaitedType(R);return j&&getUnionType([j,createPromiseLikeType(j)])}return undefined}function getContextualTypeForYieldOperand(N){var R=E.getContainingFunction(N);if(R){var j=E.getFunctionFlags(R);var $=getContextualReturnType(R);if($){return N.asteriskToken?$:getIterationTypeOfGeneratorFunctionReturnType(0,$,(j&2)!==0)}}return undefined}function isInParameterInitializerBeforeContainingFunction(N){var R=false;while(N.parent&&!E.isFunctionLike(N.parent)){if(E.isParameter(N.parent)&&(R||N.parent.initializer===N)){return true}if(E.isBindingElement(N.parent)&&N.parent.initializer===N){R=true}N=N.parent}return false}function getContextualIterationType(N,R){var j=!!(E.getFunctionFlags(R)&2);var $=getContextualReturnType(R);if($){return getIterationTypeOfGeneratorFunctionReturnType(N,$,j)||undefined}return undefined}function getContextualReturnType(E){var N=getReturnTypeFromAnnotation(E);if(N){return N}var R=getContextualSignatureForFunctionLikeDeclaration(E);if(R&&!isResolvingReturnTypeOfSignature(R)){return getReturnTypeOfSignature(R)}return undefined}function getContextualTypeForArgument(E,N){var R=getEffectiveCallArguments(E);var j=R.indexOf(N);return j===-1?undefined:getContextualTypeForArgumentAtIndex(E,j)}function getContextualTypeForArgumentAtIndex(N,R){var j=getNodeLinks(N).resolvedSignature===jr?jr:getResolvedSignature(N);if(E.isJsxOpeningLikeElement(N)&&R===0){return getEffectiveFirstArgumentForJsxSignature(j,N)}var $=j.parameters.length-1;return signatureHasRestParameter(j)&&R>=$?getIndexedAccessType(getTypeOfSymbol(j.parameters[$]),getNumberLiteralType(R-$),256):getTypeAtPosition(j,R)}function getContextualTypeForSubstitutionExpression(E,N){if(E.parent.kind===208){return getContextualTypeForArgument(E.parent,N)}return undefined}function getContextualTypeForBinaryOperand(N,R){var j=N.parent;var $=j.left,q=j.operatorToken,G=j.right;switch(q.kind){case 63:case 76:case 75:case 77:return N===G?getContextualTypeForAssignmentDeclaration(j):undefined;case 56:case 60:var ie=getContextualType(j,R);return N===G&&(ie&&ie.pattern||!ie&&!E.isDefaultedExpandoInitializer(j))?getTypeOfExpression($):ie;case 55:case 27:return N===G?getContextualType(j,R):undefined;default:return undefined}}function getSymbolForExpression(N){if(N.symbol){return N.symbol}if(E.isIdentifier(N)){return getResolvedSymbol(N)}if(E.isPropertyAccessExpression(N)){var R=getTypeOfExpression(N.expression);return E.isPrivateIdentifier(N.name)?tryGetPrivateIdentifierPropertyOfType(R,N.name):getPropertyOfType(R,N.name.escapedText)}return undefined;function tryGetPrivateIdentifierPropertyOfType(E,N){var R=lookupSymbolForPrivateIdentifierDeclaration(N.escapedText,N);return R&&getPrivateIdentifierPropertyOfType(E,R)}}function getContextualTypeForAssignmentDeclaration(N){var R,j;var $=E.getAssignmentDeclarationKind(N);switch($){case 0:case 4:var q=getSymbolForExpression(N.left);var G=q&&q.valueDeclaration;if(G&&(E.isPropertyDeclaration(G)||E.isPropertySignature(G))){var ie=E.getEffectiveTypeAnnotationNode(G);return ie&&instantiateType(getTypeFromTypeNode(ie),getSymbolLinks(q).mapper)||G.initializer&&getTypeOfExpression(N.left)}if($===0){return getTypeOfExpression(N.left)}return getContextualTypeForThisPropertyAssignment(N);case 5:if(isPossiblyAliasedThisProperty(N,$)){return getContextualTypeForThisPropertyAssignment(N)}else if(!N.left.symbol){return getTypeOfExpression(N.left)}else{var ae=N.left.symbol.valueDeclaration;if(!ae){return undefined}var ce=E.cast(N.left,E.isAccessExpression);var ie=E.getEffectiveTypeAnnotationNode(ae);if(ie){return getTypeFromTypeNode(ie)}else if(E.isIdentifier(ce.expression)){var le=ce.expression;var _e=resolveName(le,le.escapedText,111551,undefined,le.escapedText,true);if(_e){var Ee=_e.valueDeclaration&&E.getEffectiveTypeAnnotationNode(_e.valueDeclaration);if(Ee){var Te=E.getElementOrPropertyAccessName(ce);if(Te!==undefined){return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(Ee),Te)}}return undefined}}return E.isInJSFile(ae)?undefined:getTypeOfExpression(N.left)}case 1:case 6:case 3:var we=(R=N.left.symbol)===null||R===void 0?void 0:R.valueDeclaration;case 2:we||(we=(j=N.symbol)===null||j===void 0?void 0:j.valueDeclaration);var Ie=we&&E.getEffectiveTypeAnnotationNode(we);return Ie?getTypeFromTypeNode(Ie):undefined;case 7:case 8:case 9:return E.Debug.fail("Does not apply");default:return E.Debug.assertNever($)}}function isPossiblyAliasedThisProperty(N,R){if(R===void 0){R=E.getAssignmentDeclarationKind(N)}if(R===4){return true}if(!E.isInJSFile(N)||R!==5||!E.isIdentifier(N.left.expression)){return false}var j=N.left.expression.escapedText;var $=resolveName(N.left,j,111551,undefined,undefined,true,true);return E.isThisInitializedDeclaration($===null||$===void 0?void 0:$.valueDeclaration)}function getContextualTypeForThisPropertyAssignment(N){if(!N.symbol)return getTypeOfExpression(N.left);if(N.symbol.valueDeclaration){var R=E.getEffectiveTypeAnnotationNode(N.symbol.valueDeclaration);if(R){var j=getTypeFromTypeNode(R);if(j){return j}}}var $=E.cast(N.left,E.isAccessExpression);if(!E.isObjectLiteralMethod(E.getThisContainer($.expression,false))){return undefined}var q=checkThisExpression($.expression);var G=E.getElementOrPropertyAccessName($);return G!==undefined&&getTypeOfPropertyOfContextualType(q,G)||undefined}function isCircularMappedProperty(N){return!!(E.getCheckFlags(N)&262144&&!N.type&&findResolutionCycleStartIndex(N,0)>=0)}function getTypeOfPropertyOfContextualType(N,R){return mapType(N,(function(N){var j;if(isGenericMappedType(N)){var $=getConstraintTypeFromMappedType(N);var q=getBaseConstraintOfType($)||$;var G=getStringLiteralType(E.unescapeLeadingUnderscores(R));if(isTypeAssignableTo(G,q)){return substituteIndexedMappedType(N,G)}}else if(N.flags&3670016){var ie=getPropertyOfType(N,R);if(ie){return isCircularMappedProperty(ie)?undefined:getTypeOfSymbol(ie)}if(isTupleType(N)){var ae=getRestTypeOfTupleType(N);if(ae&&isNumericLiteralName(R)&&+R>=0){return ae}}return(j=findApplicableIndexInfo(getIndexInfosOfStructuredType(N),getStringLiteralType(E.unescapeLeadingUnderscores(R))))===null||j===void 0?void 0:j.type}return undefined}),true)}function getContextualTypeForObjectLiteralMethod(N,R){E.Debug.assert(E.isObjectLiteralMethod(N));if(N.flags&16777216){return undefined}return getContextualTypeForObjectLiteralElement(N,R)}function getContextualTypeForObjectLiteralElement(N,R){var j=N.parent;var $=E.isPropertyAssignment(N)&&getContextualTypeForVariableLikeDeclaration(N);if($){return $}var q=getApparentTypeOfContextualType(j,R);if(q){if(hasBindableName(N)){return getTypeOfPropertyOfContextualType(q,getSymbolOfNode(N).escapedName)}if(N.name){var G=getLiteralTypeFromPropertyName(N.name);return mapType(q,(function(E){var N;return(N=findApplicableIndexInfo(getIndexInfosOfStructuredType(E),G))===null||N===void 0?void 0:N.type}),true)}}return undefined}function getContextualTypeForElementExpression(E,N){return E&&(getTypeOfPropertyOfContextualType(E,""+N)||mapType(E,(function(E){return getIteratedTypeOrElementType(1,E,Gt,undefined,false)}),true))}function getContextualTypeForConditionalOperand(E,N){var R=E.parent;return E===R.whenTrue||E===R.whenFalse?getContextualType(R,N):undefined}function getContextualTypeForChildJsxExpression(N,R){var j=getApparentTypeOfContextualType(N.openingElement.tagName);var $=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));if(!(j&&!isTypeAny(j)&&$&&$!=="")){return undefined}var q=E.getSemanticJsxChildren(N.children);var G=q.indexOf(R);var ie=getTypeOfPropertyOfContextualType(j,$);return ie&&(q.length===1?ie:mapType(ie,(function(E){if(isArrayLikeType(E)){return getIndexedAccessType(E,getNumberLiteralType(G))}else{return E}}),true))}function getContextualTypeForJsxExpression(N){var R=N.parent;return E.isJsxAttributeLike(R)?getContextualType(N):E.isJsxElement(R)?getContextualTypeForChildJsxExpression(R,N):undefined}function getContextualTypeForJsxAttribute(N){if(E.isJsxAttribute(N)){var R=getApparentTypeOfContextualType(N.parent);if(!R||isTypeAny(R)){return undefined}return getTypeOfPropertyOfContextualType(R,N.name.escapedText)}else{return getContextualType(N.parent)}}function isPossiblyDiscriminantValue(E){switch(E.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 151:return true;case 204:case 210:return isPossiblyDiscriminantValue(E.expression);case 286:return!E.expression||isPossiblyDiscriminantValue(E.expression)}return false}function discriminateContextualTypeByObjectMembers(N,R){return getMatchingUnionConstituentForObjectLiteral(R,N)||discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===291&&isPossiblyDiscriminantValue(E.initializer)&&isDiscriminantProperty(R,E.symbol.escapedName)})),(function(E){return[function(){return getContextFreeTypeOfExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Gt},E.escapedName]}))),isTypeAssignableTo,R)}function discriminateContextualTypeByJSXAttributes(N,R){return discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===283&&isDiscriminantProperty(R,E.symbol.escapedName)&&(!E.initializer||isPossiblyDiscriminantValue(E.initializer))})),(function(E){return[!E.initializer?function(){return ar}:function(){return checkExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Gt},E.escapedName]}))),isTypeAssignableTo,R)}function getApparentTypeOfContextualType(N,R){var j=E.isObjectLiteralMethod(N)?getContextualTypeForObjectLiteralMethod(N,R):getContextualType(N,R);var $=instantiateContextualType(j,N,R);if($&&!(R&&R&2&&$.flags&8650752)){var q=mapType($,getApparentType,true);return q.flags&1048576&&E.isObjectLiteralExpression(N)?discriminateContextualTypeByObjectMembers(N,q):q.flags&1048576&&E.isJsxAttributes(N)?discriminateContextualTypeByJSXAttributes(N,q):q}}function instantiateContextualType(N,R,j){if(N&&maybeTypeOfKind(N,465829888)){var $=getInferenceContext(R);if($&&E.some($.inferences,hasInferenceCandidates)){if(j&&j&1){return instantiateInstantiableTypes(N,$.nonFixingMapper)}if($.returnMapper){return instantiateInstantiableTypes(N,$.returnMapper)}}}return N}function instantiateInstantiableTypes(N,R){if(N.flags&465829888){return instantiateType(N,R)}if(N.flags&1048576){return getUnionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})),0)}if(N.flags&2097152){return getIntersectionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})))}return N}function getContextualType(N,R){if(N.flags&16777216){return undefined}if(N.contextualType){return N.contextualType}var j=N.parent;switch(j.kind){case 252:case 162:case 165:case 164:case 201:return getContextualTypeForInitializerExpression(N,R);case 212:case 245:return getContextualTypeForReturnExpression(N);case 222:return getContextualTypeForYieldOperand(j);case 216:return getContextualTypeForAwaitOperand(j,R);case 206:if(j.expression.kind===100){return er}case 207:return getContextualTypeForArgument(j,N);case 209:case 227:return E.isConstTypeReference(j.type)?tryFindWhenConstTypeReference(j):getTypeFromTypeNode(j.type);case 219:return getContextualTypeForBinaryOperand(N,R);case 291:case 292:return getContextualTypeForObjectLiteralElement(j,R);case 293:return getContextualType(j.parent,R);case 202:{var $=j;var q=getApparentTypeOfContextualType($,R);return getContextualTypeForElementExpression(q,E.indexOfNode($.elements,N))}case 220:return getContextualTypeForConditionalOperand(N,R);case 231:E.Debug.assert(j.parent.kind===221);return getContextualTypeForSubstitutionExpression(j.parent,N);case 210:{var G=E.isInJSFile(j)?E.getJSDocTypeTag(j):undefined;return G?getTypeFromTypeNode(G.typeExpression.type):getContextualType(j,R)}case 228:return getContextualType(j,R);case 286:return getContextualTypeForJsxExpression(j);case 283:case 285:return getContextualTypeForJsxAttribute(j);case 278:case 277:return getContextualJsxElementAttributesType(j,R)}return undefined;function tryFindWhenConstTypeReference(E){return getContextualType(E)}}function getInferenceContext(N){var R=E.findAncestor(N,(function(E){return!!E.inferenceContext}));return R&&R.inferenceContext}function getContextualJsxElementAttributesType(N,R){if(E.isJsxOpeningElement(N)&&N.parent.contextualType&&R!==4){return N.parent.contextualType}return getContextualTypeForArgumentAtIndex(N,0)}function getEffectiveFirstArgumentForJsxSignature(E,N){return getJsxReferenceKind(N)!==0?getJsxPropsTypeFromCallSignature(E,N):getJsxPropsTypeFromClassType(E,N)}function getJsxPropsTypeFromCallSignature(E,N){var R=getTypeOfFirstParameterOfSignatureWithFallback(E,Ht);R=getJsxManagedAttributesFromLocatedAttributes(N,getJsxNamespaceAt(N),R);var j=getJsxType(Qe.IntrinsicAttributes,N);if(j!==Jt){R=intersectTypes(j,R)}return R}function getJsxPropsTypeForSignatureFromMember(E,N){if(E.compositeSignatures){var R=[];for(var j=0,$=E.compositeSignatures;j<$.length;j++){var q=$[j];var G=getReturnTypeOfSignature(q);if(isTypeAny(G)){return G}var ie=getTypeOfPropertyOfType(G,N);if(!ie){return}R.push(ie)}return getIntersectionType(R)}var ae=getReturnTypeOfSignature(E);return isTypeAny(ae)?ae:getTypeOfPropertyOfType(ae,N)}function getStaticTypeOfReferencedJsxConstructor(E){if(isJsxIntrinsicIdentifier(E.tagName)){var N=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(E);var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}var j=checkExpressionCached(E.tagName);if(j.flags&128){var N=getIntrinsicAttributesTypeFromStringLiteralType(j,E);if(!N){return Jt}var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}return j}function getJsxManagedAttributesFromLocatedAttributes(N,R,j){var $=getJsxLibraryManagedAttributes(R);if($){var q=getDeclaredTypeOfSymbol($);var G=getStaticTypeOfReferencedJsxConstructor(N);if($.flags&524288){var ie=getSymbolLinks($).typeParameters;if(E.length(ie)>=2){var ae=fillMissingTypeArguments([G,j],ie,2,E.isInJSFile(N));return getTypeAliasInstantiation($,ae)}}if(E.length(q.typeParameters)>=2){var ae=fillMissingTypeArguments([G,j],q.typeParameters,2,E.isInJSFile(N));return createTypeReference(q,ae)}}return j}function getJsxPropsTypeFromClassType(N,R){var j=getJsxNamespaceAt(R);var $=getJsxElementPropertiesName(j);var q=$===undefined?getTypeOfFirstParameterOfSignatureWithFallback(N,Ht):$===""?getReturnTypeOfSignature(N):getJsxPropsTypeForSignatureFromMember(N,$);if(!q){if(!!$&&!!E.length(R.attributes.properties)){error(R,E.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,E.unescapeLeadingUnderscores($))}return Ht}q=getJsxManagedAttributesFromLocatedAttributes(R,j,q);if(isTypeAny(q)){return q}else{var G=q;var ie=getJsxType(Qe.IntrinsicClassAttributes,R);if(ie!==Jt){var ae=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ie.symbol);var ce=getReturnTypeOfSignature(N);G=intersectTypes(ae?createTypeReference(ie,fillMissingTypeArguments([ce],ae,getMinTypeArgumentCount(ae),E.isInJSFile(R))):ie,G)}var le=getJsxType(Qe.IntrinsicAttributes,R);if(le!==Jt){G=intersectTypes(le,G)}return G}}function getIntersectedSignatures(N){return E.getStrictOptionValue(Xe,"noImplicitAny")?E.reduceLeft(N,(function(E,N){return E===N||!E?E:compareTypeParametersIdentical(E.typeParameters,N.typeParameters)?combineSignaturesOfIntersectionMembers(E,N):undefined})):undefined}function combineIntersectionThisParam(E,N,R){if(!E||!N){return E||N}var j=getUnionType([getTypeOfSymbol(E),instantiateType(getTypeOfSymbol(N),R)]);return createSymbolWithType(E,j)}function combineIntersectionParameters(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=j>=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg"+_e);je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfIntersectionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineIntersectionParameters(N,R,$);var ie=combineIntersectionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=2097152;ce.compositeSignatures=E.concatenate(N.compositeKind===2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind===2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getContextualCallSignature(N,R){var j=getSignaturesOfType(N,0);var $=E.filter(j,(function(E){return!isAritySmaller(E,R)}));return $.length===1?$[0]:getIntersectedSignatures($)}function isAritySmaller(N,R){var j=0;for(;j0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false;Be=false}var Ke=getReducedType(checkExpression(qe.expression));if(isValidSpreadType(Ke)){var it=tryMergeUnionOfObjectTypeAndEmptyObject(Ke,le);if($){checkSpreadPropOverrides(it,$,qe)}We=G.length;if(ie===Jt){continue}ie=getSpreadType(ie,it,N.symbol,Ie,le)}else{error(qe,E.Diagnostics.Spread_types_may_only_be_created_from_object_types);ie=Jt}continue}else{E.Debug.assert(qe.kind===170||qe.kind===171);checkNodeDeferred(qe)}if(Ge&&!(Ge.flags&8576)){if(isTypeAssignableTo(Ge,yr)){if(isTypeAssignableTo(Ge,tr)){Le=true}else if(isTypeAssignableTo(Ge,lr)){Be=true}else{Me=true}if(j){Ne=true}}}else{q.set(He.escapedName,He)}G.push(He)}if(ce&&N.parent.kind!==293){for(var ot=0,st=getPropertiesOfType(ae);ot0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false}return mapType(ie,(function(E){return E===Tr?createObjectLiteralType():E}))}return createObjectLiteralType();function createObjectLiteralType(){var R=[];if(Me)R.push(getObjectLiteralIndexInfo(N,We,G,er));if(Le)R.push(getObjectLiteralIndexInfo(N,We,G,tr));if(Be)R.push(getObjectLiteralIndexInfo(N,We,G,lr));var $=createAnonymousType(N.symbol,q,E.emptyArray,E.emptyArray,R);$.objectFlags|=Ie|128|262144;if(we){$.objectFlags|=8192}if(Ne){$.objectFlags|=512}if(j){$.pattern=N}return $}}function isValidSpreadType(N){if(N.flags&465829888){var R=getBaseConstraintOfType(N);if(R!==undefined){return isValidSpreadType(R)}}return!!(N.flags&(1|67108864|524288|58982400)||getFalsyFlags(N)&117632&&isValidSpreadType(removeDefinitelyFalsyTypes(N))||N.flags&3145728&&E.every(N.types,isValidSpreadType))}function checkJsxSelfClosingElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E)}function checkJsxSelfClosingElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||zt}function checkJsxElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E.openingElement);if(isJsxIntrinsicIdentifier(E.closingElement.tagName)){getIntrinsicTagSymbol(E.closingElement)}else{checkExpression(E.closingElement.tagName)}checkJsxChildren(E)}function checkJsxElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||zt}function checkJsxFragment(N){checkJsxOpeningLikeElementOrOpeningFragment(N.openingFragment);var R=E.getSourceFileOfNode(N);if(E.getJSXTransformEnabled(Xe)&&(Xe.jsxFactory||R.pragmas.has("jsx"))&&!Xe.jsxFragmentFactory&&!R.pragmas.has("jsxfrag")){error(N,Xe.jsxFactory?E.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:E.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments)}checkJsxChildren(N);return getJsxElementTypeAt(N)||zt}function isHyphenatedJsxName(N){return E.stringContains(N,"-")}function isJsxIntrinsicIdentifier(N){return N.kind===79&&E.isIntrinsicJsxName(N.escapedText)}function checkJsxAttribute(E,N){return E.initializer?checkExpressionForMutableLocation(E.initializer,N):ar}function createJsxAttributesTypeFromAttributesProperty(N,R){var j=N.attributes;var $=rt?E.createSymbolTable():undefined;var q=E.createSymbolTable();var G=kr;var ie=false;var ae;var ce=false;var le=2048;var _e=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));for(var Ee=0,Te=j.properties;Ee0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false);q=E.createSymbolTable()}var Ne=getReducedType(checkExpressionCached(we.expression,R));if(isTypeAny(Ne)){ie=true}if(isValidSpreadType(Ne)){G=getSpreadType(G,Ne,j.symbol,le,false);if($){checkSpreadPropOverrides(Ne,$,we)}}else{ae=ae?getIntersectionType([ae,Ne]):Ne}}}if(!ie){if(q.size>0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false)}}var Le=N.parent.kind===276?N.parent:undefined;if(Le&&Le.openingElement===N&&Le.children.length>0){var Be=checkJsxChildren(Le,R);if(!ie&&_e&&_e!==""){if(ce){error(j,E.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,E.unescapeLeadingUnderscores(_e))}var je=getApparentTypeOfContextualType(N.attributes);var Ue=je&&getTypeOfPropertyOfContextualType(je,_e);var ze=createSymbol(4,_e);ze.type=Be.length===1?Be[0]:Ue&&someType(Ue,isTupleLikeType)?createTupleType(Be):createArrayType(getUnionType(Be));ze.valueDeclaration=E.factory.createPropertySignature(undefined,E.unescapeLeadingUnderscores(_e),undefined,undefined);E.setParent(ze.valueDeclaration,j);ze.valueDeclaration.symbol=ze;var We=E.createSymbolTable();We.set(_e,ze);G=getSpreadType(G,createAnonymousType(j.symbol,We,E.emptyArray,E.emptyArray,E.emptyArray),j.symbol,le,false)}}if(ie){return zt}if(ae&&G!==kr){return getIntersectionType([ae,G])}return ae||(G===kr?createJsxAttributesType():G);function createJsxAttributesType(){le|=pt;var N=createAnonymousType(j.symbol,q,E.emptyArray,E.emptyArray,E.emptyArray);N.objectFlags|=le|128|262144;return N}}function checkJsxChildren(E,N){var R=[];for(var j=0,$=E.children;j<$.length;j++){var q=$[j];if(q.kind===11){if(!q.containsOnlyTriviaWhiteSpaces){R.push(er)}}else if(q.kind===286&&!q.expression){continue}else{R.push(checkExpressionForMutableLocation(q,N))}}return R}function checkSpreadPropOverrides(N,R,j){for(var $=0,q=getPropertiesOfType(N);$1&&j.declarations){error(j.declarations[0],E.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,E.unescapeLeadingUnderscores(N))}}return undefined}function getJsxLibraryManagedAttributes(E){return E&&getSymbol(E.exports,Qe.LibraryManagedAttributes,788968)}function getJsxElementPropertiesName(E){return getNameFromJsxElementAttributesContainer(Qe.ElementAttributesPropertyNameContainer,E)}function getJsxElementChildrenPropertyName(E){return getNameFromJsxElementAttributesContainer(Qe.ElementChildrenAttributeNameContainer,E)}function getUninstantiatedJsxSignaturesOfType(N,R){if(N.flags&4){return[Lr]}else if(N.flags&128){var j=getIntrinsicAttributesTypeFromStringLiteralType(N,R);if(!j){error(R,E.Diagnostics.Property_0_does_not_exist_on_type_1,N.value,"JSX."+Qe.IntrinsicElements);return E.emptyArray}else{var $=createSignatureForJSXIntrinsic(R,j);return[$]}}var q=getApparentType(N);var G=getSignaturesOfType(q,1);if(G.length===0){G=getSignaturesOfType(q,0)}if(G.length===0&&q.flags&1048576){G=getUnionSignatures(E.map(q.types,(function(E){return getUninstantiatedJsxSignaturesOfType(E,R)})))}return G}function getIntrinsicAttributesTypeFromStringLiteralType(N,R){var j=getJsxType(Qe.IntrinsicElements,R);if(j!==Jt){var $=N.value;var q=getPropertyOfType(j,E.escapeLeadingUnderscores($));if(q){return getTypeOfSymbol(q)}var G=getIndexTypeOfType(j,er);if(G){return G}return undefined}return zt}function checkJsxReturnAssignableToAppropriateBound(N,R,j){if(N===1){var $=getJsxStatelessElementTypeAt(j);if($){checkTypeRelatedTo(R,$,Pi,j.tagName,E.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else if(N===0){var q=getJsxElementClassTypeAt(j);if(q){checkTypeRelatedTo(R,q,Pi,j.tagName,E.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else{var $=getJsxStatelessElementTypeAt(j);var q=getJsxElementClassTypeAt(j);if(!$||!q){return}var G=getUnionType([$,q]);checkTypeRelatedTo(R,G,Pi,j.tagName,E.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}function generateInitialErrorChain(){var N=E.getTextOfNode(j.tagName);return E.chainDiagnosticMessages(undefined,E.Diagnostics._0_cannot_be_used_as_a_JSX_component,N)}}function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N){E.Debug.assert(isJsxIntrinsicIdentifier(N.tagName));var R=getNodeLinks(N);if(!R.resolvedJsxElementAttributesType){var j=getIntrinsicTagSymbol(N);if(R.jsxFlags&1){return R.resolvedJsxElementAttributesType=getTypeOfSymbol(j)||Jt}else if(R.jsxFlags&2){return R.resolvedJsxElementAttributesType=getIndexTypeOfType(getJsxType(Qe.IntrinsicElements,N),er)||Jt}else{return R.resolvedJsxElementAttributesType=Jt}}return R.resolvedJsxElementAttributesType}function getJsxElementClassTypeAt(E){var N=getJsxType(Qe.ElementClass,E);if(N===Jt)return undefined;return N}function getJsxElementTypeAt(E){return getJsxType(Qe.Element,E)}function getJsxStatelessElementTypeAt(E){var N=getJsxElementTypeAt(E);if(N){return getUnionType([N,Yt])}}function getJsxIntrinsicTagNamesAt(N){var R=getJsxType(Qe.IntrinsicElements,N);return R?getPropertiesOfType(R):E.emptyArray}function checkJsxPreconditions(N){if((Xe.jsx||0)===0){error(N,E.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided)}if(getJsxElementTypeAt(N)===undefined){if(st){error(N,E.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}}}function checkJsxOpeningLikeElementOrOpeningFragment(N){var R=E.isJsxOpeningLikeElement(N);if(R){checkGrammarJsxElement(N)}checkJsxPreconditions(N);if(!getJsxNamespaceContainerForImplicitImport(N)){var j=xi&&Xe.jsx===2?E.Diagnostics.Cannot_find_name_0:undefined;var $=getJsxNamespace(N);var q=R?N.tagName:N;var G=void 0;if(!(E.isJsxOpeningFragment(N)&&$==="null")){G=resolveName(q,$,111551,j,$,true)}if(G){G.isReferenced=67108863;if(G.flags&2097152&&!getTypeOnlyAliasDeclaration(G)){markAliasSymbolAsReferenced(G)}}}if(R){var ie=N;var ae=getResolvedSignature(ie);checkDeprecatedSignature(ae,N);checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(ie),getReturnTypeOfSignature(ae),ie)}}function isKnownProperty(E,N,R){if(E.flags&524288){if(getPropertyOfObjectType(E,N)||getApplicableIndexInfoForName(E,N)||isLateBoundName(N)&&getIndexInfoOfType(E,er)||R&&isHyphenatedJsxName(N)){return true}}else if(E.flags&3145728&&isExcessPropertyCheckTarget(E)){for(var j=0,$=E.types;j<$.length;j++){var q=$[j];if(isKnownProperty(q,N,R)){return true}}}return false}function isExcessPropertyCheckTarget(N){return!!(N.flags&524288&&!(E.getObjectFlags(N)&512)||N.flags&67108864||N.flags&1048576&&E.some(N.types,isExcessPropertyCheckTarget)||N.flags&2097152&&E.every(N.types,isExcessPropertyCheckTarget))}function checkJsxExpression(N,R){checkGrammarJsxExpression(N);if(N.expression){var j=checkExpression(N.expression,R);if(N.dotDotDotToken&&j!==zt&&!isArrayType(j)){error(N,E.Diagnostics.JSX_spread_child_must_be_an_array_type)}return j}else{return Jt}}function getDeclarationNodeFlagsFromSymbol(N){return N.valueDeclaration?E.getCombinedNodeFlags(N.valueDeclaration):0}function isPrototypeProperty(N){if(N.flags&8192||E.getCheckFlags(N)&4){return true}if(E.isInJSFile(N.valueDeclaration)){var R=N.valueDeclaration.parent;return R&&E.isBinaryExpression(R)&&E.getAssignmentDeclarationKind(R)===3}}function checkPropertyAccessibility(N,R,j,$,q,G){if(G===void 0){G=true}var ie=E.getDeclarationModifierFlagsFromSymbol(q,j);var ae=N.kind===159?N.right:N.kind===198?N:N.kind===201&&N.propertyName?N.propertyName:N.name;if(R){if(Ye<2){if(symbolHasNonMethodDeclaration(q)){if(G){error(ae,E.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword)}return false}}if(ie&128){if(G){error(ae,E.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}}if(ie&128&&symbolHasNonMethodDeclaration(q)&&(E.isThisProperty(N)||E.isThisInitializedObjectBindingExpression(N)||E.isObjectBindingPattern(N.parent)&&E.isThisInitializedDeclaration(N.parent.parent))){var ce=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(ce&&isNodeUsedDuringClassInitialization(N)){if(G){error(ae,E.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,symbolToString(q),E.getTextOfIdentifierOrLiteral(ce.name))}return false}}if(!(ie&24)){return true}if(ie&8){var ce=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(!isNodeWithinClass(N,ce)){if(G){error(ae,E.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}return true}if(R){return true}var le=forEachEnclosingClass(N,(function(E){var N=getDeclaredTypeOfSymbol(getSymbolOfNode(E));return isClassDerivedFromDeclaringClasses(N,q,j)?N:undefined}));if(!le){var _e=void 0;if(ie&32||!(_e=getThisParameterFromNodeContext(N))||!_e.type){if(G){error(ae,E.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,symbolToString(q),typeToString(getDeclaringClass(q)||$))}return false}var Ee=getTypeFromTypeNode(_e.type);le=(Ee.flags&262144?getConstraintOfTypeParameter(Ee):Ee).target}if(ie&32){return true}if($.flags&262144){$=$.isThisType?getConstraintOfTypeParameter($):getBaseConstraintOfType($)}if(!$||!hasBaseType($,le)){if(G){error(ae,E.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,symbolToString(q),typeToString(le),typeToString($))}return false}return true}function getThisParameterFromNodeContext(N){var R=E.getThisContainer(N,false);return R&&E.isFunctionLike(R)?E.getThisParameter(R):undefined}function symbolHasNonMethodDeclaration(E){return!!forEachProperty(E,(function(E){return!(E.flags&8192)}))}function checkNonNullExpression(E){return checkNonNullType(checkExpression(E),E)}function isNullableType(E){return!!((rt?getFalsyFlags(E):E.flags)&98304)}function getNonNullableTypeIfNeeded(E){return isNullableType(E)?getNonNullableType(E):E}function reportObjectPossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Object_is_possibly_null_or_undefined:E.Diagnostics.Object_is_possibly_undefined:E.Diagnostics.Object_is_possibly_null)}function reportCannotInvokePossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function checkNonNullTypeWithReporter(N,R,j){if(rt&&N.flags&2){error(R,E.Diagnostics.Object_is_of_type_unknown);return Jt}var $=(rt?getFalsyFlags(N):N.flags)&98304;if($){j(R,$);var q=getNonNullableType(N);return q.flags&(98304|131072)?Jt:q}return N}function checkNonNullType(E,N){return checkNonNullTypeWithReporter(E,N,reportObjectPossiblyNullOrUndefinedError)}function checkNonNullNonVoidType(N,R){var j=checkNonNullType(N,R);if(j!==Jt&&j.flags&16384){error(R,E.Diagnostics.Object_is_possibly_undefined)}return j}function checkPropertyAccessExpression(E,N){return E.flags&32?checkPropertyAccessChain(E,N):checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullExpression(E.expression),E.name,N)}function checkPropertyAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullType(j,E.expression),E.name,N),E,j!==R)}function checkQualifiedName(N,R){var j=E.isPartOfTypeQuery(N)&&E.isThisIdentifier(N.left)?checkNonNullType(checkThisExpression(N.left),N.left):checkNonNullExpression(N.left);return checkPropertyAccessExpressionOrQualifiedName(N,N.left,j,N.right,R)}function isMethodAccessForCall(N){while(N.parent.kind===210){N=N.parent}return E.isCallOrNewExpression(N.parent)&&N.parent.expression===N}function lookupSymbolForPrivateIdentifierDeclaration(N,R){for(var j=E.getContainingClass(R);!!j;j=E.getContainingClass(j)){var $=j.symbol;var q=E.getSymbolNameForPrivateIdentifier($,N);var G=$.members&&$.members.get(q)||$.exports&&$.exports.get(q);if(G){return G}}}function getPrivateIdentifierPropertyOfType(E,N){return getPropertyOfType(E,N.escapedName)}function checkPrivateIdentifierPropertyAccess(N,j,$){var q;var G=getPropertiesOfType(N);if(G){E.forEach(G,(function(N){var R=N.valueDeclaration;if(R&&E.isNamedDeclaration(R)&&E.isPrivateIdentifier(R.name)&&R.name.escapedText===j.escapedText){q=N;return true}}))}var ie=diagnosticName(j);if(q){var ae=E.Debug.checkDefined(q.valueDeclaration);var ce=E.Debug.checkDefined(E.getContainingClass(ae));if($===null||$===void 0?void 0:$.valueDeclaration){var le=$.valueDeclaration;var _e=E.getContainingClass(le);E.Debug.assert(!!_e);if(E.findAncestor(_e,(function(E){return ce===E}))){var Ee=error(j,E.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,ie,typeToString(N));E.addRelatedInfo(Ee,E.createDiagnosticForNode(le,E.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,ie),E.createDiagnosticForNode(ae,E.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,ie));return true}}error(j,E.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,ie,diagnosticName(ce.name||R));return true}return false}function isThisPropertyAccessInConstructor(N,R){return(isConstructorDeclaredProperty(R)||E.isThisProperty(N)&&isAutoTypedProperty(R))&&E.getThisContainer(N,true)===getDeclaringConstructor(R)}function checkPropertyAccessExpressionOrQualifiedName(N,R,j,$,q){var G=getNodeLinks(R).resolvedSymbol;var ie=E.getAssignmentTargetKind(N);var ae=getApparentType(ie!==0||isMethodAccessForCall(N)?getWidenedType(j):j);var ce=isTypeAny(ae)||ae===pr;var le;if(E.isPrivateIdentifier($)){if(Ye<99){if(ie!==0){checkExternalEmitHelpers(N,1048576)}if(ie!==1){checkExternalEmitHelpers(N,524288)}}var _e=lookupSymbolForPrivateIdentifierDeclaration($.escapedText,$);if(ie&&_e&&_e.valueDeclaration&&E.isMethodDeclaration(_e.valueDeclaration)){grammarErrorOnNode($,E.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,E.idText($))}if((_e===null||_e===void 0?void 0:_e.valueDeclaration)&&(Xe.target===99&&!et)){var Ee=E.getContainingClass(_e.valueDeclaration);var Te=E.findAncestor(N,(function(N){if(N===Ee)return"quit";if(E.isPropertyDeclaration(N.parent)&&E.hasStaticModifier(N.parent)&&N.parent.initializer===N&&N.parent.parent===Ee){return true}return false}));if(Te){var we=getSymbolOfNode(Te.parent);E.Debug.assert(we,"Initializer without declaration symbol");var Ie=error(N,E.Diagnostics.Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false,E.symbolName(_e));E.addRelatedInfo(Ie,E.createDiagnosticForNode(Te.parent,E.Diagnostics.Initializer_for_property_0,E.symbolName(we)))}}if(ce){if(_e){return ae}if(!E.getContainingClass($)){grammarErrorOnNode($,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return zt}}le=_e?getPrivateIdentifierPropertyOfType(j,_e):undefined;if(!le&&checkPrivateIdentifierPropertyAccess(j,$,_e)){return Jt}else{var Ne=le&&le.flags&65536&&!(le.flags&32768);if(Ne&&ie!==1){error(N,E.Diagnostics.Private_accessor_was_defined_without_a_getter)}}}else{if(ce){if(E.isIdentifier(R)&&G){markAliasReferenced(G,N)}return ae}le=getPropertyOfType(ae,$.escapedText)}if(E.isIdentifier(R)&&G&&(Xe.isolatedModules||!(le&&isConstEnumOrConstEnumOnlyModule(le))||E.shouldPreserveConstEnums(Xe)&&isExportOrExportExpression(N))){markAliasReferenced(G,N)}var Me;if(!le){var Le=!E.isPrivateIdentifier($)&&(ie===0||!isGenericObjectType(j)||isThisTypeParameter(j))?getApplicableIndexInfoForName(ae,$.escapedText):undefined;if(!(Le&&Le.type)){var Be=isUncheckedJSSuggestion(N,j.symbol,true);if(!Be&&isJSLiteralType(j)){return zt}if(j.symbol===bt){if(bt.exports.has($.escapedText)&&bt.exports.get($.escapedText).flags&418){error($,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores($.escapedText),typeToString(j))}else if(st){error($,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,typeToString(j))}return zt}if($.escapedText&&!checkAndReportErrorForExtendingInterface(N)){reportNonexistentProperty($,isThisTypeParameter(j)?ae:j,Be)}return Jt}if(Le.isReadonly&&(E.isAssignmentTarget(N)||E.isDeleteTarget(N))){error(N,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(ae))}Me=Xe.noUncheckedIndexedAccess&&!E.isAssignmentTarget(N)?getUnionType([Le.type,Gt]):Le.type;if(Xe.noPropertyAccessFromIndexSignature&&E.isPropertyAccessExpression(N)){error($,E.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,E.unescapeLeadingUnderscores($.escapedText))}}else{if(le.declarations&&getDeclarationNodeFlagsFromSymbol(le)&134217728&&isUncalledFunctionReference(N,le)){addDeprecatedSuggestion($,le.declarations,$.escapedText)}checkPropertyNotUsedBeforeDeclaration(le,N,$);markPropertyAsReferenced(le,N,isSelfTypeAccess(R,G));getNodeLinks(N).resolvedSymbol=le;var je=E.isWriteAccess(N);checkPropertyAccessibility(N,R.kind===106,je,ae,le);if(isAssignmentToReadonlyEntity(N,le,ie)){error($,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,E.idText($));return Jt}Me=isThisPropertyAccessInConstructor(N,le)?Wt:je?getSetAccessorTypeOfSymbol(le):getTypeOfSymbol(le)}return getFlowTypeOfAccessExpression(N,le,Me,$,q)}function isUncheckedJSSuggestion(N,R,j){var $=E.getSourceFileOfNode(N);if($){if(Xe.checkJs===undefined&&$.checkJsDirective===undefined&&($.scriptKind===1||$.scriptKind===2)){var q=E.forEach(R===null||R===void 0?void 0:R.declarations,E.getSourceFileOfNode);return!($!==q&&!!q&&isGlobalSourceFile(q))&&!(j&&R&&R.flags&32)&&!(!!N&&j&&E.isPropertyAccessExpression(N)&&N.expression.kind===108)}}return false}function getFlowTypeOfAccessExpression(N,R,j,$,q){var G=E.getAssignmentTargetKind(N);if(G===1){return removeMissingType(j,!!(R&&R.flags&16777216))}if(R&&!(R.flags&(3|4|98304))&&!(R.flags&8192&&j.flags&1048576)&&!isDuplicatedCommonJSExport(R.declarations)){return j}if(j===Wt){return getFlowTypeOfProperty(N,R)}j=getNarrowableTypeForReference(j,N,q);var ie=false;if(rt&&ot&&E.isAccessExpression(N)&&N.expression.kind===108){var ae=R&&R.valueDeclaration;if(ae&&isPropertyWithoutInitializer(ae)){if(!E.isStatic(ae)){var ce=getControlFlowContainer(N);if(ce.kind===169&&ce.parent===ae.parent&&!(ae.flags&8388608)){ie=true}}}}else if(rt&&R&&R.valueDeclaration&&E.isPropertyAccessExpression(R.valueDeclaration)&&E.getAssignmentDeclarationPropertyAccessKind(R.valueDeclaration)&&getControlFlowContainer(N)===getControlFlowContainer(R.valueDeclaration)){ie=true}var le=getFlowTypeOfReference(N,j,ie?getOptionalType(j):j);if(ie&&!(getFalsyFlags(j)&32768)&&getFalsyFlags(le)&32768){error($,E.Diagnostics.Property_0_is_used_before_being_assigned,symbolToString(R));return j}return G?getBaseTypeOfLiteralType(le):le}function checkPropertyNotUsedBeforeDeclaration(N,R,j){var $=N.valueDeclaration;if(!$||E.getSourceFileOfNode(R).isDeclarationFile){return}var q;var G=E.idText(j);if(isInPropertyInitializerOrClassStaticBlock(R)&&!isOptionalPropertyDeclaration($)&&!(E.isAccessExpression(R)&&E.isAccessExpression(R.expression))&&!isBlockScopedNameDeclaredBeforeUse($,j)&&(Xe.useDefineForClassFields||!isPropertyDeclaredInAncestorClass(N))){q=error(j,E.Diagnostics.Property_0_is_used_before_its_initialization,G)}else if($.kind===255&&R.parent.kind!==176&&!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,j)){q=error(j,E.Diagnostics.Class_0_used_before_its_declaration,G)}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}function isInPropertyInitializerOrClassStaticBlock(N){return!!E.findAncestor(N,(function(N){switch(N.kind){case 165:return true;case 291:case 167:case 170:case 171:case 293:case 160:case 231:case 286:case 283:case 284:case 285:case 278:case 226:case 289:return false;case 212:case 236:return E.isBlock(N.parent)&&E.isClassStaticBlockDeclaration(N.parent.parent)?true:"quit";default:return E.isExpressionNode(N)?false:"quit"}}))}function isPropertyDeclaredInAncestorClass(E){if(!(E.parent.flags&32)){return false}var N=getTypeOfSymbol(E.parent);while(true){N=N.symbol&&getSuperClass(N);if(!N){return false}var R=getPropertyOfType(N,E.escapedName);if(R&&R.valueDeclaration){return true}}}function getSuperClass(E){var N=getBaseTypes(E);if(N.length===0){return undefined}return getIntersectionType(N)}function reportNonexistentProperty(N,R,j){var $;var q;if(!E.isPrivateIdentifier(N)&&R.flags&1048576&&!(R.flags&131068)){for(var G=0,ie=R.types;G=1&&isTypeAssignableTo(j,getTypeAtPosition($,0))}return false}var $=E.isAssignmentTarget(R)?"set":"get";if(!hasProp($)){return undefined}var q=E.tryGetPropertyAccessOrIdentifierToString(R.expression);if(q===undefined){q=$}else{q+="."+$}return q}function getSpellingSuggestionForName(N,R,j){return E.getSpellingSuggestion(N,R,getCandidateName);function getCandidateName(N){var R=E.symbolName(N);if(E.startsWith(R,'"')){return undefined}if(N.flags&j){return R}if(N.flags&2097152){var $=tryResolveAlias(N);if($&&$.flags&j){return R}}return undefined}}function markPropertyAsReferenced(N,R,j){var $=N&&N.flags&106500&&N.valueDeclaration;if(!$){return}var q=E.hasEffectiveModifier($,8);var G=N.valueDeclaration&&E.isNamedDeclaration(N.valueDeclaration)&&E.isPrivateIdentifier(N.valueDeclaration.name);if(!q&&!G){return}if(R&&E.isWriteOnlyAccess(R)&&!(N.flags&65536)){return}if(j){var ie=E.findAncestor(R,E.isFunctionLikeDeclaration);if(ie&&ie.symbol===N){return}}(E.getCheckFlags(N)&1?getSymbolLinks(N).target:N).isReferenced=67108863}function isSelfTypeAccess(N,R){return N.kind===108||!!R&&E.isEntityNameExpression(N)&&R===getResolvedSymbol(E.getFirstIdentifier(N))}function isValidPropertyAccess(E,N){switch(E.kind){case 204:return isValidPropertyAccessWithType(E,E.expression.kind===106,N,getWidenedType(checkExpression(E.expression)));case 159:return isValidPropertyAccessWithType(E,false,N,getWidenedType(checkExpression(E.left)));case 198:return isValidPropertyAccessWithType(E,false,N,getTypeFromTypeNode(E))}}function isValidPropertyAccessForCompletions(E,N,R){return isValidPropertyAccessWithType(E,E.kind===204&&E.expression.kind===106,R.escapedName,N)}function isValidPropertyAccessWithType(N,R,j,$){if($===Jt||isTypeAny($)){return true}var q=getPropertyOfType($,j);if(q){if(q.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(q.valueDeclaration)){var G=E.getContainingClass(q.valueDeclaration);return!E.isOptionalChain(N)&&!!E.findAncestor(N,(function(E){return E===G}))}return checkPropertyAccessibility(N,R,false,$,q,false)}return E.isInJSFile(N)&&($.flags&1048576)!==0&&$.types.some((function(E){return isValidPropertyAccessWithType(N,R,j,E)}))}function getForInVariableSymbol(N){var R=N.initializer;if(R.kind===253){var j=R.declarations[0];if(j&&!E.isBindingPattern(j.name)){return getSymbolOfNode(j)}}else if(R.kind===79){return getResolvedSymbol(R)}return undefined}function hasNumericPropertyNames(E){return getIndexInfosOfType(E).length===1&&!!getIndexInfoOfType(E,tr)}function isForInVariableForNumericPropertyNames(N){var R=E.skipParentheses(N);if(R.kind===79){var j=getResolvedSymbol(R);if(j.flags&3){var $=N;var q=N.parent;while(q){if(q.kind===241&&$===q.statement&&getForInVariableSymbol(q)===j&&hasNumericPropertyNames(getTypeOfExpression(q.expression))){return true}$=q;q=q.parent}}}return false}function checkIndexedAccess(E,N){return E.flags&32?checkElementAccessChain(E,N):checkElementAccessExpression(E,checkNonNullExpression(E.expression),N)}function checkElementAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkElementAccessExpression(E,checkNonNullType(j,E.expression),N),E,j!==R)}function checkElementAccessExpression(N,R,j){var $=E.getAssignmentTargetKind(N)!==0||isMethodAccessForCall(N)?getWidenedType(R):R;var q=N.argumentExpression;var G=checkExpression(q);if($===Jt||$===pr){return $}if(isConstEnumObjectType($)&&!E.isStringLiteralLike(q)){error(q,E.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);return Jt}var ie=isForInVariableForNumericPropertyNames(q)?tr:G;var ae=E.isAssignmentTarget(N)?4|(isGenericObjectType($)&&!isThisTypeParameter($)?2:0):32;var ce=getIndexedAccessTypeOrUndefined($,ie,ae,N)||Jt;return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(N,getNodeLinks(N).resolvedSymbol,ce,q,j),N)}function callLikeExpressionMayHaveTypeArguments(N){return E.isCallOrNewExpression(N)||E.isTaggedTemplateExpression(N)||E.isJsxOpeningLikeElement(N)}function resolveUntypedCall(N){if(callLikeExpressionMayHaveTypeArguments(N)){E.forEach(N.typeArguments,checkSourceElement)}if(N.kind===208){checkExpression(N.template)}else if(E.isJsxOpeningLikeElement(N)){checkExpression(N.attributes)}else if(N.kind!==163){E.forEach(N.arguments,(function(E){checkExpression(E)}))}return Lr}function resolveErrorCall(E){resolveUntypedCall(E);return Br}function reorderCandidates(N,R,j){var $;var q;var G=0;var ie;var ae=-1;var ce;E.Debug.assert(!R.length);for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];var Te=Ee.declaration&&getSymbolOfNode(Ee.declaration);var we=Ee.declaration&&Ee.declaration.parent;if(!q||Te===q){if($&&we===$){ie=ie+1}else{$=we;ie=G}}else{ie=G=R.length;$=we}q=Te;if(signatureHasLiteralTypes(Ee)){ae++;ce=ae;G++}else{ce=ie}R.splice(ce,0,j?getOptionalCallSignature(Ee,j):Ee)}}function isSpreadArgument(E){return!!E&&(E.kind===223||E.kind===230&&E.isSpread)}function getSpreadArgumentIndex(N){return E.findIndex(N,isSpreadArgument)}function acceptsVoid(E){return!!(E.flags&16384)}function acceptsVoidUndefinedUnknownOrAny(E){return!!(E.flags&(16384|32768|2|1))}function hasCorrectArity(N,R,j,$){if($===void 0){$=false}var q;var G=false;var ie=getParameterCount(j);var ae=getMinArgumentCount(j);if(N.kind===208){q=R.length;if(N.template.kind===221){var ce=E.last(N.template.templateSpans);G=E.nodeIsMissing(ce.literal)||!!ce.literal.isUnterminated}else{var le=N.template;E.Debug.assert(le.kind===14);G=!!le.isUnterminated}}else if(N.kind===163){q=getDecoratorArgumentCount(N,j)}else if(E.isJsxOpeningLikeElement(N)){G=N.attributes.end===N.end;if(G){return true}q=ae===0?R.length:1;ie=R.length===0?ie:1;ae=Math.min(ae,1)}else if(!N.arguments){E.Debug.assert(N.kind===207);return getMinArgumentCount(j)===0}else{q=$?R.length+1:R.length;G=N.arguments.end===N.end;var _e=getSpreadArgumentIndex(R);if(_e>=0){return _e>=getMinArgumentCount(j)&&(hasEffectiveRestParameter(j)||_eie){return false}if(G||q>=ae){return true}for(var Ee=q;Ee=$&&R.length<=j}function getSingleCallSignature(E){return getSingleSignature(E,0,false)}function getSingleCallOrConstructSignature(E){return getSingleSignature(E,0,false)||getSingleSignature(E,1,false)}function getSingleSignature(E,N,R){if(E.flags&524288){var j=resolveStructuredTypeMembers(E);if(R||j.properties.length===0&&j.indexInfos.length===0){if(N===0&&j.callSignatures.length===1&&j.constructSignatures.length===0){return j.callSignatures[0]}if(N===1&&j.constructSignatures.length===1&&j.callSignatures.length===0){return j.constructSignatures[0]}}}return undefined}function instantiateSignatureInContextOf(N,R,j,$){var q=createInferenceContext(N.typeParameters,N,0,$);var G=getEffectiveRestType(R);var ie=j&&(G&&G.flags&262144?j.nonFixingMapper:j.mapper);var ae=ie?instantiateSignature(R,ie):R;applyToParameterTypes(ae,N,(function(E,N){inferTypes(q.inferences,E,N)}));if(!j){applyToReturnTypes(R,N,(function(E,N){inferTypes(q.inferences,E,N,128)}))}return getSignatureInstantiation(N,getInferredTypes(q),E.isInJSFile(R.declaration))}function inferJsxTypeArguments(E,N,R,j){var $=getEffectiveFirstArgumentForJsxSignature(N,E);var q=checkExpressionWithContextualType(E.attributes,$,j,R);inferTypes(j.inferences,q,$);return getInferredTypes(j)}function getThisArgumentType(N){if(!N){return ur}var R=checkExpression(N);return E.isOptionalChainRoot(N.parent)?getNonNullableType(R):E.isOptionalChain(N.parent)?removeOptionalTypeMarker(R):R}function inferTypeArguments(N,R,j,$,q){if(E.isJsxOpeningLikeElement(N)){return inferJsxTypeArguments(N,R,$,q)}if(N.kind!==163){var G=getContextualType(N,E.every(R.typeParameters,(function(E){return!!getDefaultFromTypeParameter(E)}))?8:0);if(G){var ie=getInferenceContext(N);var ae=getMapperFromContext(cloneInferenceContext(ie,1));var ce=instantiateType(G,ae);var le=getSingleCallSignature(ce);var _e=le&&le.typeParameters?getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(le,le.typeParameters)):ce;var Ee=getReturnTypeOfSignature(R);inferTypes(q.inferences,_e,Ee,128);var Te=createInferenceContext(R.typeParameters,R,q.flags);var we=instantiateType(G,ie&&ie.returnMapper);inferTypes(Te.inferences,we,Ee);q.returnMapper=E.some(Te.inferences,hasInferenceCandidates)?getMapperFromContext(cloneInferredPartOfContext(Te)):undefined}}var Ie=getNonArrayRestType(R);var Ne=Ie?Math.min(getParameterCount(R)-1,j.length):j.length;if(Ie&&Ie.flags&262144){var Me=E.find(q.inferences,(function(E){return E.typeParameter===Ie}));if(Me){Me.impliedArity=E.findIndex(j,isSpreadArgument,Ne)<0?j.length-Ne:undefined}}var Le=getThisTypeOfSignature(R);if(Le){var Be=getThisArgumentOfCall(N);inferTypes(q.inferences,getThisArgumentType(Be),Le)}for(var je=0;je=j-1){var ie=N[j-1];if(isSpreadArgument(ie)){return getMutableArrayOrTupleType(ie.kind===230?ie.type:checkExpressionWithContextualType(ie.expression,$,q,G))}}var ae=[];var ce=[];var le=[];for(var _e=R;_eEe){Ee=Ue}}}if(!_e){return true}var ze=Infinity;for(var We=0,Je=$;We0||E.isJsxOpeningElement(N)&&N.parent.children.length>0?[N.attributes]:E.emptyArray}var $=N.arguments||E.emptyArray;var q=getSpreadArgumentIndex($);if(q>=0){var G=$.slice(0,q);var _loop_23=function(N){var R=$[N];var j=R.kind===223&&(Jn?checkExpression(R.expression):checkExpressionCached(R.expression));if(j&&isTupleType(j)){E.forEach(getTypeArguments(j),(function(E,N){var $;var q=j.target.elementFlags[N];var ie=createSyntheticExpression(R,q&4?createArrayType(E):E,!!(q&12),($=j.target.labeledElementDeclarations)===null||$===void 0?void 0:$[N]);G.push(ie)}))}else{G.push(R)}};for(var ie=q;ie<$.length;ie++){_loop_23(ie)}return G}return $}function getEffectiveDecoratorArguments(N){var R=N.parent;var j=N.expression;switch(R.kind){case 255:case 224:return[createSyntheticExpression(j,getTypeOfSymbol(getSymbolOfNode(R)))];case 162:var $=R.parent;return[createSyntheticExpression(j,R.parent.kind===169?getTypeOfSymbol(getSymbolOfNode($)):Jt),createSyntheticExpression(j,zt),createSyntheticExpression(j,tr)];case 165:case 167:case 170:case 171:var q=R.kind!==165&&Ye!==0;return[createSyntheticExpression(j,getParentTypeOfClassElement(R)),createSyntheticExpression(j,getClassElementPropertyKeyType(R)),createSyntheticExpression(j,q?createTypedPropertyDescriptorType(getTypeOfNode(R)):zt)]}return E.Debug.fail()}function getDecoratorArgumentCount(N,R){switch(N.parent.kind){case 255:case 224:return 1;case 165:return 2;case 167:case 170:case 171:return Ye===0||R.parameters.length<=2?2:3;case 162:return 3;default:return E.Debug.fail()}}function getDiagnosticSpanForCallNode(N,R){var j;var $;var q=E.getSourceFileOfNode(N);if(E.isPropertyAccessExpression(N.expression)){var G=E.getErrorSpanForNode(q,N.expression.name);j=G.start;$=R?G.length:N.end-j}else{var ie=E.getErrorSpanForNode(q,N.expression);j=ie.start;$=R?ie.length:N.end-j}return{start:j,length:$,sourceFile:q}}function getDiagnosticForCallNode(N,R,j,$,q,G){if(E.isCallExpression(N)){var ie=getDiagnosticSpanForCallNode(N),ae=ie.sourceFile,ce=ie.start,le=ie.length;return E.createFileDiagnostic(ae,ce,le,R,j,$,q,G)}else{return E.createDiagnosticForNode(N,R,j,$,q,G)}}function isPromiseResolveArityError(N){if(!E.isCallExpression(N)||!E.isIdentifier(N.expression))return false;var R=resolveName(N.expression,N.expression.escapedText,111551,undefined,undefined,false);var j=R===null||R===void 0?void 0:R.valueDeclaration;if(!j||!E.isParameter(j)||!isFunctionExpressionOrArrowFunction(j.parent)||!E.isNewExpression(j.parent.parent)||!E.isIdentifier(j.parent.parent.expression)){return false}var $=getGlobalPromiseConstructorSymbol(false);if(!$)return false;var q=getSymbolAtLocation(j.parent.parent.expression,true);return q===$}function getArgumentArityError(N,R,j){var $;var q=getSpreadArgumentIndex(j);if(q>-1){return E.createDiagnosticForNode(j[q],E.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter)}var G=Number.POSITIVE_INFINITY;var ie=Number.NEGATIVE_INFINITY;var ae=Number.NEGATIVE_INFINITY;var ce=Number.POSITIVE_INFINITY;var le;for(var _e=0,Ee=R;_eae)ae=we;if(j.length$){ce=Math.min(ce,Ee)}else if(ie<$){ae=Math.max(ae,ie)}}if(ae!==-Infinity&&ce!==Infinity){return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,$,ae,ce)}return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.Expected_0_type_arguments_but_got_1,ae===-Infinity?ce:ae,$)}function resolveCall(N,R,$,q,G,ae){var ce=N.kind===208;var le=N.kind===163;var _e=E.isJsxOpeningLikeElement(N);var Ee=!$&&ie;var Te;if(!le){Te=N.typeArguments;if(ce||_e||N.expression.kind!==106){E.forEach(Te,checkSourceElement)}}var we=$||[];reorderCandidates(R,we,G);if(!we.length){if(Ee){xi.add(getDiagnosticForCallNode(N,E.Diagnostics.Call_target_does_not_contain_any_signatures))}return resolveErrorCall(N)}var Ie=getEffectiveCallArguments(N);var Ne=we.length===1&&!we[0].typeParameters;var Me=!le&&!Ne&&E.some(Ie,isContextSensitive)?4:0;var Le;var Be;var je;var Ue;var ze=!!(q&16)&&N.kind===206&&N.arguments.hasTrailingComma;if(we.length>1){Ue=chooseOverload(we,Ai,Ne,ze)}if(!Ue){Ue=chooseOverload(we,Pi,Ne,ze)}if(Ue){return Ue}if(Ee){if(Le){if(Le.length===1||Le.length>3){var We=Le[Le.length-1];var Je;if(Le.length>3){Je=E.chainDiagnosticMessages(Je,E.Diagnostics.The_last_overload_gave_the_following_error);Je=E.chainDiagnosticMessages(Je,E.Diagnostics.No_overload_matches_this_call)}var Ve=getSignatureApplicabilityError(N,Ie,We,Pi,0,true,(function(){return Je}));if(Ve){for(var qe=0,He=Ve;qe3){E.addRelatedInfo(Ge,E.createDiagnosticForNode(We.declaration,E.Diagnostics.The_last_overload_is_declared_here))}addImplementationSuccessElaboration(We,Ge);xi.add(Ge)}}else{E.Debug.fail("No error for last overload signature")}}else{var Ke=[];var Qe=0;var Xe=Number.MAX_VALUE;var Ye=0;var Ze=0;var _loop_24=function(R){var chain_2=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Ze+1,we.length,signatureToString(R))};var j=getSignatureApplicabilityError(N,Ie,R,Pi,0,true,chain_2);if(j){if(j.length<=Xe){Xe=j.length;Ye=Ze}Qe=Math.max(Qe,j.length);Ke.push(j)}else{E.Debug.fail("No error for 3 or fewer overload signatures")}Ze++};for(var et=0,tt=Le;et1?Ke[Ye]:E.flatten(Ke);E.Debug.assert(nt.length>0,"No errors reported for 3 or fewer overload signatures");var it=E.chainDiagnosticMessages(E.map(nt,(function(E){return typeof E.messageText==="string"?E:E.messageText})),E.Diagnostics.No_overload_matches_this_call);var ot=j([],E.flatMap(nt,(function(E){return E.relatedInformation})),true);var st=void 0;if(E.every(nt,(function(E){return E.start===nt[0].start&&E.length===nt[0].length&&E.file===nt[0].file}))){var ct=nt[0],ut=ct.file,dt=ct.start,pt=ct.length;st={file:ut,start:dt,length:pt,code:it.code,category:it.category,messageText:it,relatedInformation:ot}}else{st=E.createDiagnosticForNodeFromMessageChain(N,it,ot)}addImplementationSuccessElaboration(Le[0],st);xi.add(st)}}else if(Be){xi.add(getArgumentArityError(N,[Be],Ie))}else if(je){checkTypeArguments(je,N.typeArguments,true,ae)}else{var ft=E.filter(R,(function(E){return hasCorrectTypeArgumentArity(E,Te)}));if(ft.length===0){xi.add(getTypeArgumentArityError(N,R,Te))}else if(!le){xi.add(getArgumentArityError(N,ft,Ie))}else if(ae){xi.add(getDiagnosticForCallNode(N,ae))}}}return getCandidateForOverloadFailure(N,we,Ie,!!$);function addImplementationSuccessElaboration(N,R){var j,$;var q=Le;var G=Be;var ie=je;var ae=(($=(j=N.declaration)===null||j===void 0?void 0:j.symbol)===null||$===void 0?void 0:$.declarations)||E.emptyArray;var ce=ae.length>1;var le=ce?E.find(ae,(function(N){return E.isFunctionLikeDeclaration(N)&&E.nodeIsPresent(N.body)})):undefined;if(le){var _e=getSignatureFromDeclaration(le);var Ee=!_e.typeParameters;if(chooseOverload([_e],Pi,Ee)){E.addRelatedInfo(R,E.createDiagnosticForNode(le,E.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}}Le=q;Be=G;je=ie}function chooseOverload(R,j,$,q){if(q===void 0){q=false}Le=undefined;Be=undefined;je=undefined;if($){var G=R[0];if(E.some(Te)||!hasCorrectArity(N,Ie,G,q)){return undefined}if(getSignatureApplicabilityError(N,Ie,G,j,0,false,undefined)){Le=[G];return undefined}return G}for(var ie=0;ie0);checkNodeDeferred(N);return $||R.length===1||R.some((function(E){return!!E.typeParameters}))?pickLongestCandidateSignature(N,R,j):createUnionOfSignaturesForOverloadFailure(R)}function createUnionOfSignaturesForOverloadFailure(N){var R=E.mapDefined(N,(function(E){return E.thisParameter}));var j;if(R.length){j=createCombinedSymbolFromTypes(R,R.map(getTypeOfParameter))}var $=E.minAndMax(N,getNumNonRestParameters),q=$.min,G=$.max;var ie=[];var _loop_25=function(R){var j=E.mapDefined(N,(function(N){return signatureHasRestParameter(N)?RN.length){j.pop()}while(j.length=N){return $}if(G>j){j=G;R=$}}return R}function resolveCallExpression(N,R,j){if(N.expression.kind===106){var $=checkSuperExpression(N.expression);if(isTypeAny($)){for(var q=0,G=N.arguments;q=0){error(N.arguments[$],E.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}}var q=checkNonNullExpression(N.expression);if(q===pr){return Ur}q=getApparentType(q);if(q===Jt){return resolveErrorCall(N)}if(isTypeAny(q)){if(N.typeArguments){error(N,E.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments)}return resolveUntypedCall(N)}var G=getSignaturesOfType(q,1);if(G.length){if(!isConstructorAccessible(N,G[0])){return resolveErrorCall(N)}if(G.some((function(E){return E.flags&4}))){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}var ie=q.symbol&&E.getClassLikeDeclarationOfSymbol(q.symbol);if(ie&&E.hasSyntacticModifier(ie,128)){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}var ae=getSignaturesOfType(q,0);if(ae.length){var ce=resolveCall(N,ae,R,j,0);if(!st){if(ce.declaration&&!isJSConstructor(ce.declaration)&&getReturnTypeOfSignature(ce)!==ur){error(N,E.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword)}if(getThisTypeOfSignature(ce)===ur){error(N,E.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)}}return ce}invocationError(N.expression,q,1);return resolveErrorCall(N)}function typeHasProtectedAccessibleBase(N,R){var j=getBaseTypes(R);if(!E.length(j)){return false}var $=j[0];if($.flags&2097152){var q=$.types;var G=findMixins(q);var ie=0;for(var ae=0,ce=$.types;ae0;if(R.flags&1048576){var ae=R.types;var ce=false;for(var le=0,_e=ae;le<_e.length;le++){var Ee=_e[le];var Te=getSignaturesOfType(Ee,j);if(Te.length!==0){ce=true;if($){break}}else{if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(Ee));$=E.chainDiagnosticMessages($,q?E.Diagnostics.Not_all_constituents_of_type_0_are_callable:E.Diagnostics.Not_all_constituents_of_type_0_are_constructable,typeToString(R))}if(ce){break}}}if(!ce){$=E.chainDiagnosticMessages(undefined,q?E.Diagnostics.No_constituent_of_type_0_is_callable:E.Diagnostics.No_constituent_of_type_0_is_constructable,typeToString(R))}if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:E.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,typeToString(R))}}else{$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(R))}var we=q?E.Diagnostics.This_expression_is_not_callable:E.Diagnostics.This_expression_is_not_constructable;if(E.isCallExpression(N.parent)&&N.parent.arguments.length===0){var Ie=getNodeLinks(N).resolvedSymbol;if(Ie&&Ie.flags&32768){we=E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without}}return{messageChain:E.chainDiagnosticMessages($,we),relatedMessage:ie?E.Diagnostics.Did_you_forget_to_use_await:undefined}}function invocationError(N,R,j,$){var q=invocationErrorDetails(N,R,j),G=q.messageChain,ie=q.relatedMessage;var ae=E.createDiagnosticForNodeFromMessageChain(N,G);if(ie){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,ie))}if(E.isCallExpression(N.parent)){var ce=getDiagnosticSpanForCallNode(N.parent,true),le=ce.start,_e=ce.length;ae.start=le;ae.length=_e}xi.add(ae);invocationErrorRecovery(R,j,$?E.addRelatedInfo(ae,$):ae)}function invocationErrorRecovery(N,R,j){if(!N.symbol){return}var $=getSymbolLinks(N.symbol).originatingImport;if($&&!E.isImportCall($)){var q=getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(N.symbol).target),R);if(!q||!q.length)return;E.addRelatedInfo(j,E.createDiagnosticForNode($,E.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}function resolveTaggedTemplateExpression(N,R,j){var $=checkExpression(N.tag);var q=getApparentType($);if(q===Jt){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(!G.length){if(E.isArrayLiteralExpression(N.parent)){var ae=E.createDiagnosticForNode(N.tag,E.Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);xi.add(ae);return resolveErrorCall(N)}invocationError(N.tag,q,0);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}function getDiagnosticHeadMessageForDecoratorResolution(N){switch(N.parent.kind){case 255:case 224:return E.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 162:return E.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 165:return E.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 167:case 170:case 171:return E.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return E.Debug.fail()}}function resolveDecorator(N,R,j){var $=checkExpression(N.expression);var q=getApparentType($);if(q===Jt){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(isPotentiallyUncalledDecorator(N,G)){var ae=E.getTextOfNode(N.expression,false);error(N,E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,ae);return resolveErrorCall(N)}var ce=getDiagnosticHeadMessageForDecoratorResolution(N);if(!G.length){var le=invocationErrorDetails(N.expression,q,0);var _e=E.chainDiagnosticMessages(le.messageChain,ce);var Ee=E.createDiagnosticForNodeFromMessageChain(N.expression,_e);if(le.relatedMessage){E.addRelatedInfo(Ee,E.createDiagnosticForNode(N.expression,le.relatedMessage))}xi.add(Ee);invocationErrorRecovery(q,0,Ee);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0,ce)}function createSignatureForJSXIntrinsic(N,R){var j=getJsxNamespaceAt(N);var $=j&&getExportsOfSymbol(j);var q=$&&getSymbol($,Qe.Element,788968);var G=q&&_t.symbolToEntityName(q,788968,N);var ie=E.factory.createFunctionTypeNode(undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"props",undefined,_t.typeToTypeNode(R,N))],G?E.factory.createTypeReferenceNode(G,undefined):E.factory.createKeywordTypeNode(129));var ae=createSymbol(1,"props");ae.type=R;return createSignature(ie,undefined,undefined,[ae],q?getDeclaredTypeOfSymbol(q):Jt,undefined,1,0)}function resolveJsxOpeningLikeElement(N,R,j){if(isJsxIntrinsicIdentifier(N.tagName)){var $=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N);var q=createSignatureForJSXIntrinsic(N,$);checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType(N.attributes,getEffectiveFirstArgumentForJsxSignature(q,N),undefined,0),$,N.tagName,N.attributes);if(E.length(N.typeArguments)){E.forEach(N.typeArguments,checkSourceElement);xi.add(E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),N.typeArguments,E.Diagnostics.Expected_0_type_arguments_but_got_1,0,E.length(N.typeArguments)))}return q}var G=checkExpression(N.tagName);var ie=getApparentType(G);if(ie===Jt){return resolveErrorCall(N)}var ae=getUninstantiatedJsxSignaturesOfType(G,N);if(isUntypedFunctionCall(G,ie,ae.length,0)){return resolveUntypedCall(N)}if(ae.length===0){error(N.tagName,E.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,E.getTextOfNode(N.tagName));return resolveErrorCall(N)}return resolveCall(N,ae,R,j,0)}function isPotentiallyUncalledDecorator(N,R){return R.length&&E.every(R,(function(E){return E.minArgumentCount===0&&!signatureHasRestParameter(E)&&E.parameters.length=j-1){return R===j-1?q:createArrayType(getIndexedAccessType(q,tr))}var G=[];var ie=[];var ae=[];for(var ce=R;ce0){q=N.parameters.length-1+ae}}}if(q===undefined){if(!j&&N.flags&32){return 0}q=N.minArgumentCount}if($){return q}for(var ce=q-1;ce>=0;ce--){var le=getTypeAtPosition(N,ce);if(filterType(le,acceptsVoid).flags&131072){break}q=ce}N.resolvedMinArgumentCount=q}return N.resolvedMinArgumentCount}function hasEffectiveRestParameter(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);return!isTupleType(N)||N.target.hasRestElement}return false}function getEffectiveRestType(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);if(!isTupleType(N)){return N}if(N.target.hasRestElement){return sliceTupleType(N,N.target.fixedLength)}}return undefined}function getNonArrayRestType(E){var N=getEffectiveRestType(E);return N&&!isArrayType(N)&&!isTypeAny(N)&&(getReducedType(N).flags&131072)===0?N:undefined}function getTypeOfFirstParameterOfSignature(E){return getTypeOfFirstParameterOfSignatureWithFallback(E,dr)}function getTypeOfFirstParameterOfSignatureWithFallback(E,N){return E.parameters.length>0?getTypeAtPosition(E,0):N}function inferFromAnnotatedParameters(N,R,j){var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var G=N.parameters[q].valueDeclaration;if(G.type){var ie=E.getEffectiveTypeAnnotationNode(G);if(ie){inferTypes(j.inferences,getTypeFromTypeNode(ie),getTypeAtPosition(R,q))}}}var ae=getEffectiveRestType(R);if(ae&&ae.flags&262144){var ce=instantiateSignature(R,j.nonFixingMapper);assignContextualParameterTypes(N,ce);var le=getParameterCount(R)-1;inferTypes(j.inferences,getRestTypeAtPosition(N,le),ae)}}function assignContextualParameterTypes(N,R){if(R.typeParameters){if(!N.typeParameters){N.typeParameters=R.typeParameters}else{return}}if(R.thisParameter){var j=N.thisParameter;if(!j||j.valueDeclaration&&!j.valueDeclaration.type){if(!j){N.thisParameter=createSymbolWithType(R.thisParameter,undefined)}assignParameterType(N.thisParameter,getTypeOfSymbol(R.thisParameter))}}var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var j=N.parameters[q];if(!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=tryGetTypeAtPosition(R,q);assignParameterType(j,G)}}if(signatureHasRestParameter(N)){var j=E.last(N.parameters);if(E.isTransientSymbol(j)||!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=getRestTypeAtPosition(R,$);assignParameterType(j,G)}}}function assignNonContextualParameterTypes(E){if(E.thisParameter){assignParameterType(E.thisParameter)}for(var N=0,R=E.parameters;N0){G=getUnionType(le,2)}var _e=checkAndAggregateYieldOperandTypes(N,R),Ee=_e.yieldTypes,Te=_e.nextTypes;ie=E.some(Ee)?getUnionType(Ee,2):undefined;ae=E.some(Te)?getIntersectionType(Te):undefined}else{var we=checkAndAggregateReturnExpressionTypes(N,R);if(!we){return j&2?createPromiseReturnType(N,dr):dr}if(we.length===0){return j&2?createPromiseReturnType(N,ur):ur}G=getUnionType(we,2)}if(G||ie||ae){if(ie)reportErrorsFromWidening(N,ie,3);if(G)reportErrorsFromWidening(N,G,1);if(ae)reportErrorsFromWidening(N,ae,2);if(G&&isUnitType(G)||ie&&isUnitType(ie)||ae&&isUnitType(ae)){var Ie=getContextualSignatureForFunctionLikeDeclaration(N);var Ne=!Ie?undefined:Ie===getSignatureFromDeclaration(N)?q?undefined:G:instantiateContextualType(getReturnTypeOfSignature(Ie),N);if(q){ie=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ie,Ne,0,$);G=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(G,Ne,1,$);ae=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ae,Ne,2,$)}else{G=getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(G,Ne,$)}}if(ie)ie=getWidenedType(ie);if(G)G=getWidenedType(G);if(ae)ae=getWidenedType(ae)}if(q){return createGeneratorReturnType(ie||dr,G||ce,ae||getContextualIterationType(2,N)||Ht,$)}else{return $?createPromiseType(G||ce):G||ce}}function createGeneratorReturnType(E,N,R,j){var $=j?Hr:Gr;var q=$.getGlobalGeneratorType(false);E=$.resolveIterationType(E,undefined)||Ht;N=$.resolveIterationType(N,undefined)||Ht;R=$.resolveIterationType(R,undefined)||Ht;if(q===Ar){var G=$.getGlobalIterableIteratorType(false);var ie=G!==Ar?getIterationTypesOfGlobalIterableType(G,$):undefined;var ae=ie?ie.returnType:zt;var ce=ie?ie.nextType:Gt;if(isTypeAssignableTo(N,ae)&&isTypeAssignableTo(ce,R)){if(G!==Ar){return createTypeFromGenericGlobalType(G,[E])}$.getGlobalIterableIteratorType(true);return Tr}$.getGlobalGeneratorType(true);return Tr}return createTypeFromGenericGlobalType(q,[E,N,R])}function checkAndAggregateYieldOperandTypes(N,R){var j=[];var $=[];var q=(E.getFunctionFlags(N)&2)!==0;E.forEachYieldExpression(N.body,(function(N){var G=N.expression?checkExpression(N.expression,R):Kt;E.pushIfUnique(j,getYieldedTypeOfYieldExpression(N,G,zt,q));var ie;if(N.asteriskToken){var ae=getIterationTypesOfIterable(G,q?19:17,N.expression);ie=ae&&ae.nextType}else{ie=getContextualType(N)}if(ie)E.pushIfUnique($,ie)}));return{yieldTypes:j,nextTypes:$}}function getYieldedTypeOfYieldExpression(N,R,j,$){var q=N.expression||N;var G=N.asteriskToken?checkIteratedTypeOrElementType($?19:17,R,j,q):R;return!$?G:getAwaitedType(G,q,N.asteriskToken?E.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:E.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function getFactsFromTypeofSwitch(E,N,R,j){var $=0;if(j){for(var q=N;q1&&N.charCodeAt(R-1)>=48&&N.charCodeAt(R-1)<=57)R--;var j=N.slice(0,R);for(var $=1;true;$++){var q=j+$;if(!hasTypeParameterByName(E,q)){return q}}}function getReturnTypeOfSingleNonGenericCallSignature(E){var N=getSingleCallSignature(E);if(N&&!N.typeParameters){return getReturnTypeOfSignature(N)}}function getReturnTypeOfSingleNonGenericSignatureOfCallChain(E){var N=checkExpression(E.expression);var R=getOptionalExpressionType(N,E.expression);var j=getReturnTypeOfSingleNonGenericCallSignature(N);return j&&propagateOptionalTypeMarker(j,E,R!==N)}function getTypeOfExpression(N){var R=getQuickTypeOfExpression(N);if(R){return R}if(N.flags&67108864&&Qn){var j=Qn[getNodeId(N)];if(j){return j}}var $=Hn;var q=checkExpression(N);if(Hn!==$){var G=Qn||(Qn=[]);G[getNodeId(N)]=q;E.setNodeFlags(N,N.flags|67108864)}return q}function getQuickTypeOfExpression(N){var R=E.skipParentheses(N);if(E.isCallExpression(R)&&R.expression.kind!==106&&!E.isRequireCall(R,true)&&!isSymbolOrSymbolForCall(R)){var j=E.isCallChain(R)?getReturnTypeOfSingleNonGenericSignatureOfCallChain(R):getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(R.expression));if(j){return j}}else if(E.isAssertionExpression(R)&&!E.isConstTypeReference(R.type)){return getTypeFromTypeNode(R.type)}else if(N.kind===8||N.kind===10||N.kind===110||N.kind===95){return checkExpression(N)}return undefined}function getContextFreeTypeOfExpression(E){var N=getNodeLinks(E);if(N.contextFreeType){return N.contextFreeType}var R=E.contextualType;E.contextualType=zt;try{var j=N.contextFreeType=checkExpression(E,4);return j}finally{E.contextualType=R}}function checkExpression(N,R,j){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkExpression",{kind:N.kind,pos:N.pos,end:N.end});var $=qe;qe=N;We=0;var q=checkExpressionWorker(N,R,j);var G=instantiateTypeWithSingleGenericCallSignature(N,q,R);if(isConstEnumObjectType(G)){checkConstEnumAccess(N,G)}qe=$;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}function checkConstEnumAccess(N,R){var j=N.parent.kind===204&&N.parent.expression===N||N.parent.kind===205&&N.parent.expression===N||((N.kind===79||N.kind===159)&&isInRightSideOfImportOrExportAssignment(N)||N.parent.kind===179&&N.parent.exprName===N)||N.parent.kind===273;if(!j){error(N,E.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query)}if(Xe.isolatedModules){E.Debug.assert(!!(R.symbol.flags&128));var $=R.symbol.valueDeclaration;if($.flags&8388608){error(N,E.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}}function checkParenthesizedExpression(N,R){var j=E.isInJSFile(N)?E.getJSDocTypeTag(N):undefined;if(j){return checkAssertionWorker(j.typeExpression.type,j.typeExpression.type,N.expression,R)}return checkExpression(N.expression,R)}function checkExpressionWorker(N,R,j){var $=N.kind;if(_e){switch($){case 224:case 211:case 212:_e.throwIfCancellationRequested()}}switch($){case 79:return checkIdentifier(N,R);case 108:return checkThisExpression(N);case 106:return checkSuperExpression(N);case 104:return Zt;case 14:case 10:return getFreshTypeOfLiteralType(getStringLiteralType(N.text));case 8:checkGrammarNumericLiteral(N);return getFreshTypeOfLiteralType(getNumberLiteralType(+N.text));case 9:checkGrammarBigIntLiteral(N);return getFreshTypeOfLiteralType(getBigIntLiteralType({negative:false,base10Value:E.parsePseudoBigInt(N.text)}));case 110:return ar;case 95:return nr;case 221:return checkTemplateExpression(N);case 13:return dn;case 202:return checkArrayLiteral(N,R,j);case 203:return checkObjectLiteral(N,R);case 204:return checkPropertyAccessExpression(N,R);case 159:return checkQualifiedName(N,R);case 205:return checkIndexedAccess(N,R);case 206:if(N.expression.kind===100){return checkImportCallExpression(N)}case 207:return checkCallExpression(N,R);case 208:return checkTaggedTemplateExpression(N);case 210:return checkParenthesizedExpression(N,R);case 224:return checkClassExpression(N);case 211:case 212:return checkFunctionExpressionOrObjectLiteralMethod(N,R);case 214:return checkTypeOfExpression(N);case 209:case 227:return checkAssertion(N);case 228:return checkNonNullAssertion(N);case 229:return checkMetaProperty(N);case 213:return checkDeleteExpression(N);case 215:return checkVoidExpression(N);case 216:return checkAwaitExpression(N);case 217:return checkPrefixUnaryExpression(N);case 218:return checkPostfixUnaryExpression(N);case 219:return mt(N,R);case 220:return checkConditionalExpression(N,R);case 223:return checkSpreadExpression(N,R);case 225:return Kt;case 222:return checkYieldExpression(N);case 230:return checkSyntheticExpression(N);case 286:return checkJsxExpression(N,R);case 276:return checkJsxElement(N,R);case 277:return checkJsxSelfClosingElement(N,R);case 280:return checkJsxFragment(N);case 284:return checkJsxAttributes(N,R);case 278:E.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Jt}function checkTypeParameter(N){if(N.expression){grammarErrorOnFirstToken(N.expression,E.Diagnostics.Type_expected)}checkSourceElement(N.constraint);checkSourceElement(N.default);var R=getDeclaredTypeOfTypeParameter(getSymbolOfNode(N));getBaseConstraintOfType(R);if(!hasNonCircularTypeParameterDefault(R)){error(N.default,E.Diagnostics.Type_parameter_0_has_a_circular_default,typeToString(R))}var j=getConstraintOfTypeParameter(R);var $=getDefaultFromTypeParameter(R);if(j&&$){checkTypeAssignableTo($,getTypeWithThisArgument(instantiateType(j,makeUnaryTypeMapper(R,$)),$),N.default,E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Type_parameter_name_cannot_be_0)}}function checkParameter(N){checkGrammarDecoratorsAndModifiers(N);checkVariableLikeDeclaration(N);var R=E.getContainingFunction(N);if(E.hasSyntacticModifier(N,16476)){if(!(R.kind===169&&E.nodeIsPresent(R.body))){error(N,E.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)}if(R.kind===169&&E.isIdentifier(N.name)&&N.name.escapedText==="constructor"){error(N.name,E.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)}}if(N.questionToken&&E.isBindingPattern(N.name)&&R.body){error(N,E.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature)}if(N.name&&E.isIdentifier(N.name)&&(N.name.escapedText==="this"||N.name.escapedText==="new")){if(R.parameters.indexOf(N)!==0){error(N,E.Diagnostics.A_0_parameter_must_be_the_first_parameter,N.name.escapedText)}if(R.kind===169||R.kind===173||R.kind===178){error(N,E.Diagnostics.A_constructor_cannot_have_a_this_parameter)}if(R.kind===212){error(N,E.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)}if(R.kind===170||R.kind===171){error(N,E.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)}}if(N.dotDotDotToken&&!E.isBindingPattern(N.name)&&!isTypeAssignableTo(getReducedType(getTypeOfSymbol(N.symbol)),hn)){error(N,E.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}}function checkTypePredicate(N){var R=getTypePredicateParent(N);if(!R){error(N,E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var j=getSignatureFromDeclaration(R);var $=getTypePredicateOfSignature(j);if(!$){return}checkSourceElement(N.type);var q=N.parameterName;if($.kind===0||$.kind===2){getTypeFromThisTypeNode(q)}else{if($.parameterIndex>=0){if(signatureHasRestParameter(j)&&$.parameterIndex===j.parameters.length-1){error(q,E.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter)}else{if($.type){var leadingError=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};checkTypeAssignableTo($.type,getTypeOfSymbol(j.parameters[$.parameterIndex]),N.type,undefined,leadingError)}}}else if(q){var G=false;for(var ie=0,ae=R.parameters;ie0&&R.declarations[0]!==N){return}}var j=getIndexSymbol(getSymbolOfNode(N));if(j===null||j===void 0?void 0:j.declarations){var $=new E.Map;var _loop_26=function(E){if(E.parameters.length===1&&E.parameters[0].type){forEachType(getTypeFromTypeNode(E.parameters[0].type),(function(N){var R=$.get(getTypeId(N));if(R){R.declarations.push(E)}else{$.set(getTypeId(N),{type:N,declarations:[E]})}}))}};for(var q=0,G=j.declarations;q1){for(var R=0,j=N.declarations;R0}function getAwaitedType(E,N,R,j){if(isTypeAny(E)){return E}var $=E;if($.awaitedTypeOfType){return $.awaitedTypeOfType}return $.awaitedTypeOfType=mapType(E,N?function(E){return getAwaitedTypeWorker(E,N,R,j)}:getAwaitedTypeWorker)}function getAwaitedTypeWorker(N,R,j,$){var q=N;if(q.awaitedTypeOfType){return q.awaitedTypeOfType}var G=getPromisedTypeOfPromise(N);if(G){if(N.id===G.id||bi.lastIndexOf(G.id)>=0){if(R){error(R,E.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method)}return undefined}bi.push(N.id);var ie=getAwaitedType(G,R,j,$);bi.pop();if(!ie){return undefined}return q.awaitedTypeOfType=ie}if(isThenableType(N)){if(R){if(!j)return E.Debug.fail();error(R,j,$)}return undefined}return q.awaitedTypeOfType=N}function checkAsyncFunctionReturnType(N,R){var j=getTypeFromTypeNode(R);if(Ye>=2){if(j===Jt){return}var $=getGlobalPromiseType(true);if($!==Ar&&!isReferenceToType(j,$)){error(R,E.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,typeToString(getAwaitedType(j)||ur));return}}else{markTypeNodeAsReferenced(R);if(j===Jt){return}var q=E.getEntityNameFromTypeNode(R);if(q===undefined){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,typeToString(j));return}var G=resolveEntityName(q,111551,true);var ie=G?getTypeOfSymbol(G):Jt;if(ie===Jt){if(q.kind===79&&q.escapedText==="Promise"&&getTargetType(j)===getGlobalPromiseType(false)){error(R,E.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option)}else{error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q))}return}var ae=getGlobalPromiseConstructorLikeType(true);if(ae===Tr){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q));return}if(!checkTypeAssignableTo(ie,ae,R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value)){return}var ce=q&&E.getFirstIdentifier(q);var le=getSymbol(N.locals,ce.escapedText,111551);if(le){error(le.valueDeclaration,E.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,E.idText(ce),E.entityNameToString(q));return}}checkAwaitedType(j,N,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function checkDecorator(N){var R=getResolvedSignature(N);checkDeprecatedSignature(R,N);var j=getReturnTypeOfSignature(R);if(j.flags&1){return}var $;var q=getDiagnosticHeadMessageForDecoratorResolution(N);var G;switch(N.parent.kind){case 255:var ie=getSymbolOfNode(N.parent);var ae=getTypeOfSymbol(ie);$=getUnionType([ae,ur]);break;case 162:$=ur;G=E.chainDiagnosticMessages(undefined,E.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 165:$=ur;G=E.chainDiagnosticMessages(undefined,E.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 167:case 170:case 171:var ce=getTypeOfNode(N.parent);var le=createTypedPropertyDescriptorType(ce);$=getUnionType([le,ur]);break;default:return E.Debug.fail()}checkTypeAssignableTo(j,$,N,q,(function(){return G}))}function markTypeNodeAsReferenced(N){markEntityNameOrEntityExpressionAsReference(N&&E.getEntityNameFromTypeNode(N))}function markEntityNameOrEntityExpressionAsReference(N){if(!N)return;var R=E.getFirstIdentifier(N);var j=(N.kind===79?788968:1920)|2097152;var $=resolveName(R,R.escapedText,j,undefined,undefined,true);if($&&$.flags&2097152&&symbolIsValue($)&&!isConstEnumOrConstEnumOnlyModule(resolveAlias($))&&!getTypeOnlyAliasDeclaration($)){markAliasSymbolAsReferenced($)}}function markDecoratorMedataDataTypeNodeAsReferenced(N){var R=getEntityNameForDecoratorMetadata(N);if(R&&E.isEntityName(R)){markEntityNameOrEntityExpressionAsReference(R)}}function getEntityNameForDecoratorMetadata(E){if(E){switch(E.kind){case 186:case 185:return getEntityNameForDecoratorMetadataFromTypeList(E.types);case 187:return getEntityNameForDecoratorMetadataFromTypeList([E.trueType,E.falseType]);case 189:case 195:return getEntityNameForDecoratorMetadata(E.type);case 176:return E.typeName}}}function getEntityNameForDecoratorMetadataFromTypeList(N){var R;for(var j=0,$=N;j<$.length;j++){var q=$[j];while(q.kind===189||q.kind===195){q=q.type}if(q.kind===142){continue}if(!rt&&(q.kind===194&&q.literal.kind===104||q.kind===151)){continue}var G=getEntityNameForDecoratorMetadata(q);if(!G){return undefined}if(R){if(!E.isIdentifier(R)||!E.isIdentifier(G)||R.escapedText!==G.escapedText){return undefined}}else{R=G}}return R}function getParameterTypeNodeForDecoratorCheck(N){var R=E.getEffectiveTypeAnnotationNode(N);return E.isRestParameter(N)?E.getRestParameterElementType(R):R}function checkDecorators(N){if(!N.decorators){return}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){return}if(!Xe.experimentalDecorators){error(N,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)}var R=N.decorators[0];checkExternalEmitHelpers(R,8);if(N.kind===162){checkExternalEmitHelpers(R,32)}if(Xe.emitDecoratorMetadata){checkExternalEmitHelpers(R,16);switch(N.kind){case 255:var j=E.getFirstConstructorWithBody(N);if(j){for(var $=0,q=j.parameters;$-1&&j0);if(j.length>1){error(j[1],E.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag)}var $=getIdentifierFromEntityNameExpression(N.class.expression);var q=E.getClassExtendsHeritageElement(R);if(q){var G=getIdentifierFromEntityNameExpression(q.expression);if(G&&$.escapedText!==G.escapedText){error($,E.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,E.idText(N.tagName),E.idText($),E.idText(G))}}}function getIdentifierFromEntityNameExpression(E){switch(E.kind){case 79:return E;case 204:return E.name;default:return undefined}}function checkFunctionOrMethodDeclaration(N){var R;checkDecorators(N);checkSignatureDeclaration(N);var j=E.getFunctionFlags(N);if(N.name&&N.name.kind===160){checkComputedPropertyName(N.name)}if(hasBindableName(N)){var $=getSymbolOfNode(N);var q=N.localSymbol||$;var G=(R=q.declarations)===null||R===void 0?void 0:R.find((function(E){return E.kind===N.kind&&!(E.flags&131072)}));if(N===G){checkFunctionOrConstructorSymbol(q)}if($.parent){checkFunctionOrConstructorSymbol($)}}var ae=N.kind===166?undefined:N.body;checkSourceElement(ae);checkAllCodePathsInNonVoidFunctionReturnOrThrow(N,getReturnTypeFromAnnotation(N));if(ie&&!E.getEffectiveReturnTypeNode(N)){if(E.nodeIsMissing(ae)&&!isPrivateWithinAmbient(N)){reportImplicitAny(N,zt)}if(j&1&&E.nodeIsPresent(ae)){getReturnTypeOfSignature(getSignatureFromDeclaration(N))}}if(E.isInJSFile(N)){var ce=E.getJSDocTypeTag(N);if(ce&&ce.typeExpression&&!getContextualCallSignature(getTypeFromTypeNode(ce.typeExpression),N)){error(ce.typeExpression.type,E.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}}function registerForUnusedIdentifiersCheck(N){if(ie){var R=E.getSourceFileOfNode(N);var j=Wn.get(R.path);if(!j){j=[];Wn.set(R.path,j)}j.push(N)}}function checkUnusedIdentifiers(N,R){for(var j=0,$=N;j<$.length;j++){var q=$[j];switch(q.kind){case 255:case 224:checkUnusedClassMembers(q,R);checkUnusedTypeParameters(q,R);break;case 300:case 259:case 233:case 261:case 240:case 241:case 242:checkUnusedLocalsAndParameters(q,R);break;case 169:case 211:case 254:case 212:case 167:case 170:case 171:if(q.body){checkUnusedLocalsAndParameters(q,R)}checkUnusedTypeParameters(q,R);break;case 166:case 172:case 173:case 177:case 178:case 257:case 256:checkUnusedTypeParameters(q,R);break;case 188:checkUnusedInferTypeParameter(q,R);break;default:E.Debug.assertNever(q,"Node should not have been registered for unused identifiers check")}}}function errorUnusedLocal(N,R,j){var $=E.getNameOfDeclaration(N)||N;var q=isTypeDeclaration(N)?E.Diagnostics._0_is_declared_but_never_used:E.Diagnostics._0_is_declared_but_its_value_is_never_read;j(N,0,E.createDiagnosticForNode($,q,R))}function isIdentifierThatStartsWithUnderscore(N){return E.isIdentifier(N)&&E.idText(N).charCodeAt(0)===95}function checkUnusedClassMembers(N,R){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];switch(q.kind){case 167:case 165:case 170:case 171:if(q.kind===171&&q.symbol.flags&32768){break}var G=getSymbolOfNode(q);if(!G.isReferenced&&(E.hasEffectiveModifier(q,8)||E.isNamedDeclaration(q)&&E.isPrivateIdentifier(q.name))&&!(q.flags&8388608)){R(q,0,E.createDiagnosticForNode(q.name,E.Diagnostics._0_is_declared_but_its_value_is_never_read,symbolToString(G)))}break;case 169:for(var ie=0,ae=q.parameters;ie=2||!E.hasRestParameter(N)||N.flags&8388608||E.nodeIsMissing(N.body)){return}E.forEach(N.parameters,(function(N){if(N.name&&!E.isBindingPattern(N.name)&&N.name.escapedText===xt.escapedName){errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}}))}function needCollisionCheckForIdentifier(N,R,j){if((R===null||R===void 0?void 0:R.escapedText)!==j){return false}if(N.kind===165||N.kind===164||N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===291){return false}if(N.flags&8388608){return false}if(E.isImportClause(N)||E.isImportEqualsDeclaration(N)||E.isImportSpecifier(N)){if(E.isTypeOnlyImportOrExportDeclaration(N)){return false}}var $=E.getRootDeclaration(N);if(E.isParameter($)&&E.nodeIsMissing($.parent.body)){return false}return true}function checkIfThisIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&4){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference)}return true}return false}))}function checkIfNewTargetIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&8){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference)}return true}return false}))}function checkCollisionWithRequireExportsInGeneratedCode(N,R){if(Ze>=E.ModuleKind.ES2015){return}if(!R||!needCollisionCheckForIdentifier(N,R,"require")&&!needCollisionCheckForIdentifier(N,R,"exports")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===300&&E.isExternalOrCommonJsModule(j)){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,E.declarationNameToString(R),E.declarationNameToString(R))}}function checkCollisionWithGlobalPromiseInGeneratedCode(N,R){if(!R||Ye>=4||!needCollisionCheckForIdentifier(N,R,"Promise")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===300&&E.isExternalOrCommonJsModule(j)&&j.flags&2048){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,E.declarationNameToString(R),E.declarationNameToString(R))}}function recordPotentialCollisionWithWeakMapSetInGeneratedCode(E,N){if(Ye<=8&&(needCollisionCheckForIdentifier(E,N,"WeakMap")||needCollisionCheckForIdentifier(E,N,"WeakSet"))){yi.push(E)}}function checkWeakMapSetCollision(N){var R=E.getEnclosingBlockScopeContainer(N);if(getNodeCheckFlags(R)&67108864){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name)&&typeof N.name.escapedText==="string","The target of a WeakMap/WeakSet collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,N.name.escapedText)}}function recordPotentialCollisionWithReflectInGeneratedCode(E,N){if(N&&Ye>=2&&Ye<=8&&needCollisionCheckForIdentifier(E,N,"Reflect")){vi.push(E)}}function checkReflectCollision(N){var R=false;if(E.isClassExpression(N)){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];if(getNodeCheckFlags(q)&134217728){R=true;break}}}else if(E.isFunctionExpression(N)){if(getNodeCheckFlags(N)&134217728){R=true}}else{var G=E.getEnclosingBlockScopeContainer(N);if(G&&getNodeCheckFlags(G)&134217728){R=true}}if(R){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name),"The target of a Reflect collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,E.declarationNameToString(N.name),"Reflect")}}function checkCollisionsForDeclarationName(N,R){if(!R)return;checkCollisionWithRequireExportsInGeneratedCode(N,R);checkCollisionWithGlobalPromiseInGeneratedCode(N,R);recordPotentialCollisionWithWeakMapSetInGeneratedCode(N,R);recordPotentialCollisionWithReflectInGeneratedCode(N,R);if(E.isClassLike(N)){checkTypeNameIsReserved(R,E.Diagnostics.Class_name_cannot_be_0);if(!(N.flags&8388608)){checkClassNameCollisionWithObject(R)}}else if(E.isEnumDeclaration(N)){checkTypeNameIsReserved(R,E.Diagnostics.Enum_name_cannot_be_0)}}function checkVarDeclaredNamesNotShadowed(N){if((E.getCombinedNodeFlags(N)&3)!==0||E.isParameterDeclaration(N)){return}if(N.kind===252&&!N.initializer){return}var R=getSymbolOfNode(N);if(R.flags&1){if(!E.isIdentifier(N.name))return E.Debug.fail();var j=resolveName(N,N.name.escapedText,3,undefined,undefined,false);if(j&&j!==R&&j.flags&2){if(getDeclarationNodeFlagsFromSymbol(j)&3){var $=E.getAncestor(j.valueDeclaration,253);var q=$.parent.kind===235&&$.parent.parent?$.parent.parent:undefined;var G=q&&(q.kind===233&&E.isFunctionLike(q.parent)||q.kind===260||q.kind===259||q.kind===300);if(!G){var ie=symbolToString(j);error(N,E.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,ie,ie)}}}}}function convertAutoToAny(E){return E===Wt?zt:E===gn?mn:E}function checkVariableLikeDeclaration(N){var R;checkDecorators(N);if(!E.isBindingElement(N)){checkSourceElement(N.type)}if(!N.name){return}if(N.name.kind===160){checkComputedPropertyName(N.name);if(N.initializer){checkExpressionCached(N.initializer)}}if(E.isBindingElement(N)){if(E.isObjectBindingPattern(N.parent)&&N.dotDotDotToken&&Ye<5){checkExternalEmitHelpers(N,4)}if(N.propertyName&&N.propertyName.kind===160){checkComputedPropertyName(N.propertyName)}var j=N.parent.parent;var $=getTypeForBindingElementParent(j);var q=N.propertyName||N.name;if($&&!E.isBindingPattern(q)){var G=getLiteralTypeFromPropertyName(q);if(isTypeUsableAsPropertyName(G)){var ie=getPropertyNameFromType(G);var ae=getPropertyOfType($,ie);if(ae){markPropertyAsReferenced(ae,undefined,false);checkPropertyAccessibility(N,!!j.initializer&&j.initializer.kind===106,false,$,ae)}}}}if(E.isBindingPattern(N.name)){if(N.name.kind===200&&Ye<2&&Xe.downlevelIteration){checkExternalEmitHelpers(N,512)}E.forEach(N.name.elements,checkSourceElement)}if(N.initializer&&E.isParameterDeclaration(N)&&E.nodeIsMissing(E.getContainingFunction(N).body)){error(N,E.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(E.isBindingPattern(N.name)){var ce=N.initializer&&N.parent.parent.kind!==241;var le=N.name.elements.length===0;if(ce||le){var _e=getWidenedTypeForVariableLikeDeclaration(N);if(ce){var Ee=checkExpressionCached(N.initializer);if(rt&&le){checkNonNullNonVoidType(Ee,N)}else{checkTypeAssignableToAndOptionallyElaborate(Ee,getWidenedTypeForVariableLikeDeclaration(N),N,N.initializer)}}if(le){if(E.isArrayBindingPattern(N.name)){checkIteratedTypeOrElementType(65,_e,Gt,N)}else if(rt){checkNonNullNonVoidType(_e,N)}}}return}var Te=getSymbolOfNode(N);if(Te.flags&2097152&&E.isRequireVariableDeclaration(N)){checkAliasSymbol(N);return}var we=convertAutoToAny(getTypeOfSymbol(Te));if(N===Te.valueDeclaration){var Ie=E.getEffectiveInitializer(N);if(Ie){var Ne=E.isInJSFile(N)&&E.isObjectLiteralExpression(Ie)&&(Ie.properties.length===0||E.isPrototypeAccess(N.name))&&!!((R=Te.exports)===null||R===void 0?void 0:R.size);if(!Ne&&N.parent.parent.kind!==241){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(Ie),we,N,Ie,undefined)}}if(Te.declarations&&Te.declarations.length>1){if(E.some(Te.declarations,(function(R){return R!==N&&E.isVariableLike(R)&&!areDeclarationFlagsIdentical(R,N)}))){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}}else{var Me=convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(N));if(we!==Jt&&Me!==Jt&&!isTypeIdenticalTo(we,Me)&&!(Te.flags&67108864)){errorNextVariableOrPropertyDeclarationMustHaveSameType(Te.valueDeclaration,we,N,Me)}if(N.initializer){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(N.initializer),Me,N,N.initializer,undefined)}if(Te.valueDeclaration&&!areDeclarationFlagsIdentical(N,Te.valueDeclaration)){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}if(N.kind!==165&&N.kind!==164){checkExportsOnMergedDeclarations(N);if(N.kind===252||N.kind===201){checkVarDeclaredNamesNotShadowed(N)}checkCollisionsForDeclarationName(N,N.name)}}function errorNextVariableOrPropertyDeclarationMustHaveSameType(N,R,j,$){var q=E.getNameOfDeclaration(j);var G=j.kind===165||j.kind===164?E.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:E.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;var ie=E.declarationNameToString(q);var ae=error(q,G,ie,typeToString(R),typeToString($));if(N){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,E.Diagnostics._0_was_also_declared_here,ie))}}function areDeclarationFlagsIdentical(N,R){if(N.kind===162&&R.kind===252||N.kind===252&&R.kind===162){return true}if(E.hasQuestionToken(N)!==E.hasQuestionToken(R)){return false}var j=8|16|256|128|64|32;return E.getSelectedEffectiveModifierFlags(N,j)===E.getSelectedEffectiveModifierFlags(R,j)}function checkVariableDeclaration(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkVariableDeclaration",{kind:N.kind,pos:N.pos,end:N.end});checkGrammarVariableDeclaration(N);checkVariableLikeDeclaration(N);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkBindingElement(E){checkGrammarBindingElement(E);return checkVariableLikeDeclaration(E)}function checkVariableStatement(N){if(!checkGrammarDecoratorsAndModifiers(N)&&!checkGrammarVariableDeclarationList(N.declarationList))checkGrammarForDisallowedLetOrConstStatement(N);E.forEach(N.declarationList.declarations,checkSourceElement)}function checkExpressionStatement(E){checkGrammarStatementInAmbientContext(E);checkExpression(E.expression)}function checkIfStatement(N){checkGrammarStatementInAmbientContext(N);var R=checkTruthinessExpression(N.expression);checkTestingKnownTruthyCallableOrAwaitableType(N.expression,R,N.thenStatement);checkSourceElement(N.thenStatement);if(N.thenStatement.kind===234){error(N.thenStatement,E.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement)}checkSourceElement(N.elseStatement)}function checkTestingKnownTruthyCallableOrAwaitableType(N,R,j){if(!rt)return;if(getFalsyFlags(R))return;var $=E.isBinaryExpression(N)?N.right:N;if(E.isPropertyAccessExpression($)&&E.isAssertionExpression(E.skipParentheses($.expression))){return}var q=E.isIdentifier($)?$:E.isPropertyAccessExpression($)?$.name:E.isBinaryExpression($)&&E.isIdentifier($.right)?$.right:undefined;var G=getSignaturesOfType(R,0);var ie=!!getAwaitedTypeOfPromise(R);if(G.length===0&&!ie){return}var ae=q&&getSymbolAtLocation(q);if(!ae&&!ie){return}var ce=ae&&E.isBinaryExpression(N.parent)&&isSymbolUsedInBinaryExpressionChain(N.parent,ae)||ae&&j&&isSymbolUsedInConditionBody(N,j,q,ae);if(!ce){if(ie){errorAndMaybeSuggestAwait($,true,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,getTypeNameForErrorDisplay(R))}else{error($,E.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}function isSymbolUsedInConditionBody(N,R,j,$){return!!E.forEachChild(R,(function check(R){if(E.isIdentifier(R)){var q=getSymbolAtLocation(R);if(q&&q===$){if(E.isIdentifier(N)){return true}var G=j.parent;var ie=R.parent;while(G&&ie){if(E.isIdentifier(G)&&E.isIdentifier(ie)||G.kind===108&&ie.kind===108){return getSymbolAtLocation(G)===getSymbolAtLocation(ie)}else if(E.isPropertyAccessExpression(G)&&E.isPropertyAccessExpression(ie)){if(getSymbolAtLocation(G.name)!==getSymbolAtLocation(ie.name)){return false}ie=ie.expression;G=G.expression}else if(E.isCallExpression(G)&&E.isCallExpression(ie)){ie=ie.expression;G=G.expression}else{return false}}}}return E.forEachChild(R,check)}))}function isSymbolUsedInBinaryExpressionChain(N,R){while(E.isBinaryExpression(N)&&N.operatorToken.kind===55){var j=E.forEachChild(N.right,(function visit(N){if(E.isIdentifier(N)){var j=getSymbolAtLocation(N);if(j&&j===R){return true}}return E.forEachChild(N,visit)}));if(j){return true}N=N.parent}return false}function checkDoStatement(E){checkGrammarStatementInAmbientContext(E);checkSourceElement(E.statement);checkTruthinessExpression(E.expression)}function checkWhileStatement(E){checkGrammarStatementInAmbientContext(E);checkTruthinessExpression(E.expression);checkSourceElement(E.statement)}function checkTruthinessOfType(N,R){if(N.flags&16384){error(R,E.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness)}return N}function checkTruthinessExpression(E,N){return checkTruthinessOfType(checkExpression(E,N),E)}function checkForStatement(N){if(!checkGrammarStatementInAmbientContext(N)){if(N.initializer&&N.initializer.kind===253){checkGrammarVariableDeclarationList(N.initializer)}}if(N.initializer){if(N.initializer.kind===253){E.forEach(N.initializer.declarations,checkVariableDeclaration)}else{checkExpression(N.initializer)}}if(N.condition)checkTruthinessExpression(N.condition);if(N.incrementor)checkExpression(N.incrementor);checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForOfStatement(N){checkGrammarForInOrForOfStatement(N);var R=E.getContainingFunctionOrClassStaticBlock(N);if(N.awaitModifier){if(R&&E.isClassStaticBlockDeclaration(R)){grammarErrorOnNode(N.awaitModifier,E.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block)}else{var j=E.getFunctionFlags(R);if((j&(4|2))===2&&Ye<99){checkExternalEmitHelpers(N,16384)}}}else if(Xe.downlevelIteration&&Ye<2){checkExternalEmitHelpers(N,256)}if(N.initializer.kind===253){checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkRightHandSideOfForOf(N);if($.kind===202||$.kind===203){checkDestructuringAssignment($,q||Jt)}else{var G=checkExpression($);checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access);if(q){checkTypeAssignableToAndOptionallyElaborate(q,G,$,N.expression)}}}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInStatement(N){checkGrammarForInOrForOfStatement(N);var R=getNonNullableTypeIfNeeded(checkExpression(N.expression));if(N.initializer.kind===253){var j=N.initializer.declarations[0];if(j&&E.isBindingPattern(j.name)){error(j.name,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkExpression($);if($.kind===202||$.kind===203){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}else if(!isTypeAssignableTo(getIndexTypeOrString(R),q)){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}else{checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access)}}if(R===dr||!isTypeAssignableToKind(R,67108864|58982400)){error(N.expression,E.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,typeToString(R))}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInOrForOfVariableDeclaration(E){var N=E.initializer;if(N.declarations.length>=1){var R=N.declarations[0];checkVariableDeclaration(R)}}function checkRightHandSideOfForOf(E){var N=E.awaitModifier?15:13;return checkIteratedTypeOrElementType(N,checkNonNullExpression(E.expression),Gt,E.expression)}function checkIteratedTypeOrElementType(E,N,R,j){if(isTypeAny(N)){return N}return getIteratedTypeOrElementType(E,N,R,j,true)||zt}function getIteratedTypeOrElementType(N,R,j,$,q){var G=(N&2)!==0;if(R===dr){reportTypeNotIterableError($,R,G);return undefined}var ie=Ye>=2;var ae=!ie&&Xe.downlevelIteration;var ce=Xe.noUncheckedIndexedAccess&&!!(N&128);if(ie||ae||G){var le=getIterationTypesOfIterable(R,N,ie?$:undefined);if(q){if(le){var _e=N&8?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:N&32?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:N&64?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:N&16?E.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:undefined;if(_e){checkTypeAssignableTo(j,le.nextType,$,_e)}}}if(le||ie){return ce?includeUndefinedInIndexSignature(le&&le.yieldType):le&&le.yieldType}}var Ee=R;var Te=false;var we=false;if(N&4){if(Ee.flags&1048576){var Ie=R.types;var Ne=E.filter(Ie,(function(E){return!(E.flags&402653316)}));if(Ne!==Ie){Ee=getUnionType(Ne,2)}}else if(Ee.flags&402653316){Ee=dr}we=Ee!==R;if(we){if(Ye<1){if($){error($,E.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);Te=true}}if(Ee.flags&131072){return ce?includeUndefinedInIndexSignature(er):er}}}if(!isArrayLikeType(Ee)){if($&&!Te){var Me=!!(N&4)&&!we;var Le=getIterationDiagnosticDetails(Me,ae),Be=Le[0],je=Le[1];errorAndMaybeSuggestAwait($,je&&!!getAwaitedTypeOfPromise(Ee),Be,typeToString(Ee))}return we?ce?includeUndefinedInIndexSignature(er):er:undefined}var Ue=getIndexTypeOfType(Ee,tr);if(we&&Ue){if(Ue.flags&402653316&&!Xe.noUncheckedIndexedAccess){return er}return getUnionType(ce?[Ue,er,Gt]:[Ue,er],2)}return N&128?includeUndefinedInIndexSignature(Ue):Ue;function getIterationDiagnosticDetails(j,$){var q;if($){return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]:[E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]}var G=getIterationTypeOfIterable(N,0,R,undefined);if(G){return[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]}if(isES2015OrLaterIterable((q=R.symbol)===null||q===void 0?void 0:q.escapedName)){return[E.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,true]}return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,true]:[E.Diagnostics.Type_0_is_not_an_array_type,true]}}function isES2015OrLaterIterable(E){switch(E){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return true}return false}function getIterationTypeOfIterable(E,N,R,j){if(isTypeAny(R)){return undefined}var $=getIterationTypesOfIterable(R,E,j);return $&&$[getIterationTypesKeyFromIterationTypeKind(N)]}function createIterationTypes(E,N,R){if(E===void 0){E=dr}if(N===void 0){N=dr}if(R===void 0){R=Ht}if(E.flags&67359327&&N.flags&(1|131072|2|16384|32768)&&R.flags&(1|131072|2|16384|32768)){var j=getTypeListId([E,N,R]);var $=Wr.get(j);if(!$){$={yieldType:E,returnType:N,nextType:R};Wr.set(j,$)}return $}return{yieldType:E,returnType:N,nextType:R}}function combineIterationTypes(N){var R;var j;var $;for(var q=0,G=N;q1){for(var Ee=0,Te=j;Eej){return false}for(var le=0;le=$&&ae.pos<=q){var ce=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent(ce.expression,ce);E.setParent(ce,ae);ce.flowNode=ae.returnFlowNode;var le=getFlowTypeOfReference(ce,R,getOptionalType(R));if(!(getFalsyFlags(le)&32768)){return true}}}return false}function isPropertyInitializedInConstructor(N,R,j){var $=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent($.expression,$);E.setParent($,j);$.flowNode=j.returnFlowNode;var q=getFlowTypeOfReference($,R,getOptionalType(R));return!(getFalsyFlags(q)&32768)}function checkInterfaceDeclaration(N){if(!checkGrammarDecoratorsAndModifiers(N))checkGrammarInterfaceDeclaration(N);checkTypeParameters(N.typeParameters);if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Interface_name_cannot_be_0);checkExportsOnMergedDeclarations(N);var R=getSymbolOfNode(N);checkTypeParameterListsIdentical(R);var j=E.getDeclarationOfKind(R,256);if(N===j){var $=getDeclaredTypeOfSymbol(R);var q=getTypeWithThisArgument($);if(checkInheritedPropertiesAreIdentical($,N.name)){for(var G=0,ae=getBaseTypes($);G>q;case 49:return $>>>q;case 47:return $<1){var $=E.isEnumConst(N);E.forEach(R.declarations,(function(N){if(E.isEnumDeclaration(N)&&E.isEnumConst(N)!==$){error(E.getNameOfDeclaration(N),E.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}}))}var q=false;E.forEach(R.declarations,(function(N){if(N.kind!==258){return false}var R=N;if(!R.members.length){return false}var j=R.members[0];if(!j.initializer){if(q){error(j.name,E.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element)}else{q=true}}}))}}function checkEnumMember(N){if(E.isPrivateIdentifier(N.name)){error(N,E.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}}function getFirstNonAmbientClassOrFunctionDeclaration(N){var R=N.declarations;if(R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if((q.kind===255||q.kind===254&&E.nodeIsPresent(q.body))&&!(q.flags&8388608)){return q}}}return undefined}function inSameLexicalScope(N,R){var j=E.getEnclosingBlockScopeContainer(N);var $=E.getEnclosingBlockScopeContainer(R);if(isGlobalSourceFile(j)){return isGlobalSourceFile($)}else if(isGlobalSourceFile($)){return false}else{return j===$}}function checkModuleDeclaration(N){if(ie){var R=E.isGlobalScopeAugmentation(N);var j=N.flags&8388608;if(R&&!j){error(N.name,E.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context)}var $=E.isAmbientModule(N);var q=$?E.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:E.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module;if(checkGrammarModuleElementContext(N,q)){return}if(!checkGrammarDecoratorsAndModifiers(N)){if(!j&&N.name.kind===10){grammarErrorOnNode(N.name,E.Diagnostics.Only_ambient_modules_can_use_quoted_names)}}if(E.isIdentifier(N.name)){checkCollisionsForDeclarationName(N,N.name)}checkExportsOnMergedDeclarations(N);var G=getSymbolOfNode(N);if(G.flags&512&&!j&&G.declarations&&G.declarations.length>1&&isInstantiatedModule(N,E.shouldPreserveConstEnums(Xe))){var ae=getFirstNonAmbientClassOrFunctionDeclaration(G);if(ae){if(E.getSourceFileOfNode(N)!==E.getSourceFileOfNode(ae)){error(N.name,E.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged)}else if(N.pos=E.ModuleKind.ES2015&&!N.isTypeOnly&&!(N.flags&8388608)){grammarErrorOnNode(N,E.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}}}}function checkExportDeclaration(N){if(checkGrammarModuleElementContext(N,E.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){return}if(!checkGrammarDecoratorsAndModifiers(N)&&E.hasEffectiveModifiers(N)){grammarErrorOnFirstToken(N,E.Diagnostics.An_export_declaration_cannot_have_modifiers)}if(N.moduleSpecifier&&N.exportClause&&E.isNamedExports(N.exportClause)&&E.length(N.exportClause.elements)&&Ye===0){checkExternalEmitHelpers(N,2097152)}checkGrammarExportDeclaration(N);if(!N.moduleSpecifier||checkExternalImportOrExportDeclaration(N)){if(N.exportClause&&!E.isNamespaceExport(N.exportClause)){E.forEach(N.exportClause.elements,checkExportSpecifier);var R=N.parent.kind===260&&E.isAmbientModule(N.parent.parent);var j=!R&&N.parent.kind===260&&!N.moduleSpecifier&&N.flags&8388608;if(N.parent.kind!==300&&!R&&!j){error(N,E.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}}else{var $=resolveExternalModuleName(N,N.moduleSpecifier);if($&&hasExportAssignmentSymbol($)){error(N.moduleSpecifier,E.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,symbolToString($))}else if(N.exportClause){checkAliasSymbol(N.exportClause)}if(Ze!==E.ModuleKind.System&&Ze=E.ModuleKind.ES2015){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead)}else if(Ze===E.ModuleKind.System){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system)}}}function hasExportedMembers(N){return E.forEachEntry(N.exports,(function(E,N){return N!=="export="}))}function checkExternalModuleExports(N){var R=getSymbolOfNode(N);var j=getSymbolLinks(R);if(!j.exportsChecked){var $=R.exports.get("export=");if($&&hasExportedMembers(R)){var q=getDeclarationOfAliasSymbol($)||$.valueDeclaration;if(q&&!isTopLevelInExternalModuleAugmentation(q)&&!E.isInJSFile(q)){error(q,E.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}}var G=getExportsOfModule(R);if(G){G.forEach((function(N,R){var j=N.declarations,$=N.flags;if(R==="__export"){return}if($&(1920|64|384)){return}var q=E.countWhere(j,Je);if($&524288&&q<=2){return}if(q>1){if(!isDuplicatedCommonJSExport(j)){for(var G=0,ie=j;G1&&N.every((function(N){return E.isInJSFile(N)&&E.isAccessExpression(N)&&(E.isExportsIdentifier(N.expression)||E.isModuleExportsAccessExpression(N.expression))}))}function checkSourceElement(E){if(E){var N=qe;qe=E;We=0;checkSourceElementWorker(E);qe=N}}function checkSourceElementWorker(N){if(E.isInJSFile(N)){E.forEach(N.jsDoc,(function(N){var R=N.tags;return E.forEach(R,checkSourceElement)}))}var R=N.kind;if(_e){switch(R){case 259:case 255:case 256:case 254:_e.throwIfCancellationRequested()}}if(R>=235&&R<=251&&N.flowNode&&!isReachableFlowNode(N.flowNode)){errorOrSuggestion(Xe.allowUnreachableCode===false,N,E.Diagnostics.Unreachable_code_detected)}switch(R){case 161:return checkTypeParameter(N);case 162:return checkParameter(N);case 165:return checkPropertyDeclaration(N);case 164:return checkPropertySignature(N);case 178:case 177:case 172:case 173:case 174:return checkSignatureDeclaration(N);case 167:case 166:return checkMethodDeclaration(N);case 168:return checkClassStaticBlockDeclaration(N);case 169:return checkConstructorDeclaration(N);case 170:case 171:return checkAccessorDeclaration(N);case 176:return checkTypeReferenceNode(N);case 175:return checkTypePredicate(N);case 179:return checkTypeQuery(N);case 180:return checkTypeLiteral(N);case 181:return checkArrayType(N);case 182:return checkTupleType(N);case 185:case 186:return checkUnionOrIntersectionType(N);case 189:case 183:case 184:return checkSourceElement(N.type);case 190:return checkThisType(N);case 191:return checkTypeOperator(N);case 187:return checkConditionalType(N);case 188:return checkInferType(N);case 196:return checkTemplateLiteralType(N);case 198:return checkImportType(N);case 195:return checkNamedTupleMember(N);case 323:return checkJSDocAugmentsTag(N);case 324:return checkJSDocImplementsTag(N);case 340:case 333:case 334:return checkJSDocTypeAliasTag(N);case 339:return checkJSDocTemplateTag(N);case 338:return checkJSDocTypeTag(N);case 335:return checkJSDocParameterTag(N);case 342:return checkJSDocPropertyTag(N);case 312:checkJSDocFunctionType(N);case 310:case 309:case 307:case 308:case 317:checkJSDocTypeIsInJsFile(N);E.forEachChild(N,checkSourceElement);return;case 313:checkJSDocVariadicType(N);return;case 304:return checkSourceElement(N.type);case 192:return checkIndexedAccessType(N);case 193:return checkMappedType(N);case 254:return checkFunctionDeclaration(N);case 233:case 260:return checkBlock(N);case 235:return checkVariableStatement(N);case 236:return checkExpressionStatement(N);case 237:return checkIfStatement(N);case 238:return checkDoStatement(N);case 239:return checkWhileStatement(N);case 240:return checkForStatement(N);case 241:return checkForInStatement(N);case 242:return checkForOfStatement(N);case 243:case 244:return checkBreakOrContinueStatement(N);case 245:return checkReturnStatement(N);case 246:return checkWithStatement(N);case 247:return checkSwitchStatement(N);case 248:return checkLabeledStatement(N);case 249:return checkThrowStatement(N);case 250:return checkTryStatement(N);case 252:return checkVariableDeclaration(N);case 201:return checkBindingElement(N);case 255:return checkClassDeclaration(N);case 256:return checkInterfaceDeclaration(N);case 257:return checkTypeAliasDeclaration(N);case 258:return checkEnumDeclaration(N);case 259:return checkModuleDeclaration(N);case 264:return checkImportDeclaration(N);case 263:return checkImportEqualsDeclaration(N);case 270:return checkExportDeclaration(N);case 269:return checkExportAssignment(N);case 234:case 251:checkGrammarStatementInAmbientContext(N);return;case 274:return checkMissingDeclaration(N)}}function checkJSDocTypeIsInJsFile(N){if(!E.isInJSFile(N)){grammarErrorOnNode(N,E.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}}function checkJSDocVariadicType(N){checkJSDocTypeIsInJsFile(N);checkSourceElement(N.type);var R=N.parent;if(E.isParameter(R)&&E.isJSDocFunctionType(R.parent)){if(E.last(R.parent.parameters)!==R){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}return}if(!E.isJSDocTypeExpression(R)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}var j=N.parent.parent;if(!E.isJSDocParameterTag(j)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var $=E.getParameterSymbolFromJSDoc(j);if(!$){return}var q=E.getHostSignatureFromJSDoc(j);if(!q||E.last(q.parameters).symbol!==$){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function getTypeFromJSDocVariadicType(N){var R=getTypeFromTypeNode(N.type);var j=N.parent;var $=N.parent.parent;if(E.isJSDocTypeExpression(N.parent)&&E.isJSDocParameterTag($)){var q=E.getHostSignatureFromJSDoc($);var G=E.isJSDocCallbackTag($.parent.parent);if(q||G){var ie=G?E.lastOrUndefined($.parent.parent.typeExpression.parameters):E.lastOrUndefined(q.parameters);var ae=E.getParameterSymbolFromJSDoc($);if(!ie||ae&&ie.symbol===ae&&E.isRestParameter(ie)){return createArrayType(R)}}}if(E.isParameter(j)&&E.isJSDocFunctionType(j.parent)){return createArrayType(R)}return addOptionality(R)}function checkNodeDeferred(N){var R=E.getSourceFileOfNode(N);var j=getNodeLinks(R);if(!(j.flags&1)){j.deferredNodes=j.deferredNodes||new E.Map;var $=getNodeId(N);j.deferredNodes.set($,N)}}function checkDeferredNodes(E){var N=getNodeLinks(E);if(N.deferredNodes){N.deferredNodes.forEach(checkDeferredNode)}}function checkDeferredNode(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkDeferredNode",{kind:N.kind,pos:N.pos,end:N.end});var R=qe;qe=N;We=0;switch(N.kind){case 206:case 207:case 208:case 163:case 278:resolveUntypedCall(N);break;case 211:case 212:case 167:case 166:checkFunctionExpressionOrObjectLiteralMethodDeferred(N);break;case 170:case 171:checkAccessorDeclaration(N);break;case 224:checkClassExpressionDeferred(N);break;case 277:checkJsxSelfClosingElementDeferred(N);break;case 276:checkJsxElementDeferred(N);break}qe=R;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkSourceFile(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkSourceFile",{path:N.path},true);E.performance.mark("beforeCheck");checkSourceFileWorker(N);E.performance.mark("afterCheck");E.performance.measure("Check","beforeCheck","afterCheck");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function unusedIsError(N,R){if(R){return false}switch(N){case 0:return!!Xe.noUnusedLocals;case 1:return!!Xe.noUnusedParameters;default:return E.Debug.assertNever(N)}}function getPotentiallyUnusedIdentifiers(N){return Wn.get(N.path)||E.emptyArray}function checkSourceFileWorker(N){var R=getNodeLinks(N);if(!(R.flags&1)){if(E.skipTypeChecking(N,Xe,q)){return}checkGrammarSourceFile(N);E.clear(hi);E.clear(_i);E.clear(yi);E.clear(vi);E.forEach(N.statements,checkSourceElement);checkSourceElement(N.endOfFileToken);checkDeferredNodes(N);if(E.isExternalOrCommonJsModule(N)){registerForUnusedIdentifiersCheck(N)}if(!N.isDeclarationFile&&(Xe.noUnusedLocals||Xe.noUnusedParameters)){checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(N),(function(N,R,j){if(!E.containsParseError(N)&&unusedIsError(R,!!(N.flags&8388608))){xi.add(j)}}))}if(Xe.importsNotUsedAsValues===2&&!N.isDeclarationFile&&E.isExternalModule(N)){checkImportsForTypeOnlyConversion(N)}if(E.isExternalOrCommonJsModule(N)){checkExternalModuleExports(N)}if(hi.length){E.forEach(hi,checkIfThisIsCapturedInEnclosingScope);E.clear(hi)}if(_i.length){E.forEach(_i,checkIfNewTargetIsCapturedInEnclosingScope);E.clear(_i)}if(yi.length){E.forEach(yi,checkWeakMapSetCollision);E.clear(yi)}if(vi.length){E.forEach(vi,checkReflectCollision);E.clear(vi)}R.flags|=1}}function getDiagnostics(E,N){try{_e=N;return getDiagnosticsWorker(E)}finally{_e=undefined}}function getDiagnosticsWorker(N){throwIfNonDiagnosticsProducing();if(N){var R=xi.getGlobalDiagnostics();var j=R.length;checkSourceFile(N);var $=xi.getDiagnostics(N.fileName);var G=xi.getGlobalDiagnostics();if(G!==R){var ie=E.relativeComplement(R,G,E.compareDiagnostics);return E.concatenate(ie,$)}else if(j===0&&G.length>0){return E.concatenate(G,$)}return $}E.forEach(q.getSourceFiles(),checkSourceFile);return xi.getDiagnostics()}function getGlobalDiagnostics(){throwIfNonDiagnosticsProducing();return xi.getGlobalDiagnostics()}function throwIfNonDiagnosticsProducing(){if(!ie){throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}}function getSymbolsInScope(N,R){if(N.flags&16777216){return[]}var j=E.createSymbolTable();var $=false;populateSymbols();j.delete("this");return symbolsToArray(j);function populateSymbols(){while(N){if(N.locals&&!isGlobalSourceFile(N)){copySymbols(N.locals,R)}switch(N.kind){case 300:if(!E.isExternalModule(N))break;case 259:copyLocallyVisibleExportSymbols(getSymbolOfNode(N).exports,R&2623475);break;case 258:copySymbols(getSymbolOfNode(N).exports,R&8);break;case 224:var j=N.name;if(j){copySymbol(N.symbol,R)}case 255:case 256:if(!$){copySymbols(getMembersOfSymbol(getSymbolOfNode(N)),R&788968)}break;case 211:var q=N.name;if(q){copySymbol(N.symbol,R)}break}if(E.introducesArgumentsExoticObject(N)){copySymbol(xt,R)}$=E.isStatic(N);N=N.parent}copySymbols(yt,R)}function copySymbol(N,R){if(E.getCombinedLocalAndExportSymbolFlags(N)&R){var $=N.escapedName;if(!j.has($)){j.set($,N)}}}function copySymbols(E,N){if(N){E.forEach((function(E){copySymbol(E,N)}))}}function copyLocallyVisibleExportSymbols(N,R){if(R){N.forEach((function(N){if(!E.getDeclarationOfKind(N,273)&&!E.getDeclarationOfKind(N,272)){copySymbol(N,R)}}))}}}function isTypeDeclarationName(N){return N.kind===79&&isTypeDeclaration(N.parent)&&E.getNameOfDeclaration(N.parent)===N}function isTypeDeclaration(E){switch(E.kind){case 161:case 255:case 256:case 257:case 258:case 340:case 333:case 334:return true;case 265:return E.isTypeOnly;case 268:case 273:return E.parent.parent.isTypeOnly;default:return false}}function isTypeReferenceIdentifier(E){while(E.parent.kind===159){E=E.parent}return E.parent.kind===176}function isHeritageClauseElementIdentifier(E){while(E.parent.kind===204){E=E.parent}return E.parent.kind===226}function forEachEnclosingClass(N,R){var j;while(true){N=E.getContainingClass(N);if(!N)break;if(j=R(N))break}return j}function isNodeUsedDuringClassInitialization(N){return!!E.findAncestor(N,(function(N){if(E.isConstructorDeclaration(N)&&E.nodeIsPresent(N.body)||E.isPropertyDeclaration(N)){return true}else if(E.isClassLike(N)||E.isFunctionLikeDeclaration(N)){return"quit"}return false}))}function isNodeWithinClass(E,N){return!!forEachEnclosingClass(E,(function(E){return E===N}))}function getLeftSideOfImportEqualsOrExportAssignment(E){while(E.parent.kind===159){E=E.parent}if(E.parent.kind===263){return E.parent.moduleReference===E?E.parent:undefined}if(E.parent.kind===269){return E.parent.expression===E?E.parent:undefined}return undefined}function isInRightSideOfImportOrExportAssignment(E){return getLeftSideOfImportEqualsOrExportAssignment(E)!==undefined}function getSpecialPropertyAssignmentSymbolFromEntityName(N){var R=E.getAssignmentDeclarationKind(N.parent.parent);switch(R){case 1:case 3:return getSymbolOfNode(N.parent);case 4:case 2:case 5:return getSymbolOfNode(N.parent.parent)}}function isImportTypeQualifierPart(N){var R=N.parent;while(E.isQualifiedName(R)){N=R;R=R.parent}if(R&&R.kind===198&&R.qualifier===N){return R}return undefined}function getSymbolOfNameOrPropertyAccessExpression(N){if(E.isDeclarationName(N)){return getSymbolOfNode(N.parent)}if(E.isInJSFile(N)&&N.parent.kind===204&&N.parent===N.parent.parent.left){if(!E.isPrivateIdentifier(N)&&!E.isJSDocMemberName(N)){var R=getSpecialPropertyAssignmentSymbolFromEntityName(N);if(R){return R}}}if(N.parent.kind===269&&E.isEntityNameExpression(N)){var j=resolveEntityName(N,111551|788968|1920|2097152,true);if(j&&j!==jt){return j}}else if(E.isEntityName(N)&&isInRightSideOfImportOrExportAssignment(N)){var $=E.getAncestor(N,263);E.Debug.assert($!==undefined);return getSymbolOfPartOfRightHandSideOfImportEquals(N,true)}if(E.isEntityName(N)){var q=isImportTypeQualifierPart(N);if(q){getTypeFromTypeNode(q);var G=getNodeLinks(N).resolvedSymbol;return G===jt?undefined:G}}while(E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N)){N=N.parent}if(isHeritageClauseElementIdentifier(N)){var ie=0;if(N.parent.kind===226){ie=788968;if(E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)){ie|=111551}}else{ie=1920}ie|=2097152;var ae=E.isEntityNameExpression(N)?resolveEntityName(N,ie):undefined;if(ae){return ae}}if(N.parent.kind===335){return E.getParameterSymbolFromJSDoc(N.parent)}if(N.parent.kind===161&&N.parent.parent.kind===339){E.Debug.assert(!E.isInJSFile(N));var ce=E.getTypeParameterFromJsDoc(N.parent);return ce&&ce.symbol}if(E.isExpressionNode(N)){if(E.nodeIsMissing(N)){return undefined}var le=E.findAncestor(N,E.or(E.isJSDocLinkLike,E.isJSDocNameReference,E.isJSDocMemberName));var ie=le?788968|1920|111551:111551;if(N.kind===79){if(E.isJSXTagName(N)&&isJsxIntrinsicIdentifier(N)){var _e=getIntrinsicTagSymbol(N.parent);return _e===jt?undefined:_e}var Ee=resolveEntityName(N,ie,false,!le,E.getHostSignatureFromJSDoc(N));if(!Ee&&le){var Te=E.findAncestor(N,E.or(E.isClassLike,E.isInterfaceDeclaration));if(Te){return resolveJSDocMemberName(N,getSymbolOfNode(Te))}}return Ee}else if(N.kind===204||N.kind===159){var we=getNodeLinks(N);if(we.resolvedSymbol){return we.resolvedSymbol}if(N.kind===204){checkPropertyAccessExpression(N,0)}else{checkQualifiedName(N,0)}if(!we.resolvedSymbol&&le&&E.isQualifiedName(N)){return resolveJSDocMemberName(N)}return we.resolvedSymbol}else if(E.isJSDocMemberName(N)){return resolveJSDocMemberName(N)}}else if(isTypeReferenceIdentifier(N)){var ie=N.parent.kind===176?788968:1920;return resolveEntityName(N,ie,false,true)}if(N.parent.kind===175){return resolveEntityName(N,1)}return undefined}function resolveJSDocMemberName(N,R){if(E.isEntityName(N)){var j=788968|1920|111551;var $=resolveEntityName(N,j,false,true,E.getHostSignatureFromJSDoc(N));if(!$&&E.isIdentifier(N)&&R){$=getMergedSymbol(getSymbol(getExportsOfSymbol(R),N.escapedText,j))}if($){return $}}var q=E.isIdentifier(N)?R:resolveJSDocMemberName(N.left);var G=E.isIdentifier(N)?N.escapedText:N.right.escapedText;if(q){var ie=q.flags&111551&&getPropertyOfType(getTypeOfSymbol(q),"prototype");var ae=ie?getTypeOfSymbol(ie):getDeclaredTypeOfSymbol(q);return getPropertyOfType(ae,G)}}function getSymbolAtLocation(N,R){if(N.kind===300){return E.isExternalModule(N)?getMergedSymbol(N.symbol):undefined}var j=N.parent;var $=j.parent;if(N.flags&16777216){return undefined}if(isDeclarationNameOrImportPropertyName(N)){var q=getSymbolOfNode(j);return E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N?getImmediateAliasedSymbol(q):q}else if(E.isLiteralComputedPropertyDeclarationName(N)){return getSymbolOfNode(j.parent)}if(N.kind===79){if(isInRightSideOfImportOrExportAssignment(N)){return getSymbolOfNameOrPropertyAccessExpression(N)}else if(j.kind===201&&$.kind===199&&N===j.propertyName){var G=getTypeOfNode($);var ie=getPropertyOfType(G,N.escapedText);if(ie){return ie}}else if(E.isMetaProperty(j)){var ae=getTypeOfNode(j);var ie=getPropertyOfType(ae,N.escapedText);if(ie){return ie}if(j.keywordToken===103){return checkNewTargetMetaProperty(j).symbol}}}switch(N.kind){case 79:case 80:case 204:case 159:return getSymbolOfNameOrPropertyAccessExpression(N);case 108:var ce=E.getThisContainer(N,false);if(E.isFunctionLike(ce)){var le=getSignatureFromDeclaration(ce);if(le.thisParameter){return le.thisParameter}}if(E.isInExpressionContext(N)){return checkExpression(N).symbol}case 190:return getTypeFromThisTypeNode(N).symbol;case 106:return checkExpression(N).symbol;case 133:var _e=N.parent;if(_e&&_e.kind===169){return _e.parent.symbol}return undefined;case 10:case 14:if(E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N||(N.parent.kind===264||N.parent.kind===270)&&N.parent.moduleSpecifier===N||(E.isInJSFile(N)&&E.isRequireCall(N.parent,false)||E.isImportCall(N.parent))||E.isLiteralTypeNode(N.parent)&&E.isLiteralImportTypeNode(N.parent.parent)&&N.parent.parent.argument===N.parent){return resolveExternalModuleName(N,N,R)}if(E.isCallExpression(j)&&E.isBindableObjectDefinePropertyCall(j)&&j.arguments[1]===N){return getSymbolOfNode(j)}case 8:var Ee=E.isElementAccessExpression(j)?j.argumentExpression===N?getTypeOfExpression(j.expression):undefined:E.isLiteralTypeNode(j)&&E.isIndexedAccessTypeNode($)?getTypeFromTypeNode($.objectType):undefined;return Ee&&getPropertyOfType(Ee,E.escapeLeadingUnderscores(N.text));case 88:case 98:case 38:case 84:return getSymbolOfNode(N.parent);case 198:return E.isLiteralImportTypeNode(N)?getSymbolAtLocation(N.argument.literal,R):undefined;case 93:return E.isExportAssignment(N.parent)?E.Debug.checkDefined(N.parent.symbol):undefined;case 100:case 103:return E.isMetaProperty(N.parent)?checkMetaPropertyKeyword(N.parent).symbol:undefined;case 229:return checkExpression(N).symbol;default:return undefined}}function getIndexInfosAtLocation(N){if(E.isIdentifier(N)&&E.isPropertyAccessExpression(N.parent)&&N.parent.name===N){var R=getLiteralTypeFromPropertyName(N);var j=getTypeOfExpression(N.parent.expression);var $=j.flags&1048576?j.types:[j];return E.flatMap($,(function(N){return E.filter(getIndexInfosOfType(N),(function(E){return isApplicableIndexType(R,E.keyType)}))}))}return undefined}function getShorthandAssignmentValueSymbol(E){if(E&&E.kind===292){return resolveEntityName(E.name,111551|2097152)}return undefined}function getExportSpecifierLocalTargetSymbol(N){if(E.isExportSpecifier(N)){return N.parent.parent.moduleSpecifier?getExternalModuleMember(N.parent.parent,N):resolveEntityName(N.propertyName||N.name,111551|788968|1920|2097152)}else{return resolveEntityName(N,111551|788968|1920|2097152)}}function getTypeOfNode(N){if(E.isSourceFile(N)&&!E.isExternalModule(N)){return Jt}if(N.flags&16777216){return Jt}var R=E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N);var j=R&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(R.class));if(E.isPartOfTypeNode(N)){var $=getTypeFromTypeNode(N);return j?getTypeWithThisArgument($,j.thisType):$}if(E.isExpressionNode(N)){return getRegularTypeOfExpression(N)}if(j&&!R.isImplements){var q=E.firstOrUndefined(getBaseTypes(j));return q?getTypeWithThisArgument(q,j.thisType):Jt}if(isTypeDeclaration(N)){var G=getSymbolOfNode(N);return getDeclaredTypeOfSymbol(G)}if(isTypeDeclarationName(N)){var G=getSymbolAtLocation(N);return G?getDeclaredTypeOfSymbol(G):Jt}if(E.isDeclaration(N)){var G=getSymbolOfNode(N);return getTypeOfSymbol(G)}if(isDeclarationNameOrImportPropertyName(N)){var G=getSymbolAtLocation(N);if(G){return getTypeOfSymbol(G)}return Jt}if(E.isBindingPattern(N)){return getTypeForVariableLikeDeclaration(N.parent,true)||Jt}if(isInRightSideOfImportOrExportAssignment(N)){var G=getSymbolAtLocation(N);if(G){var ie=getDeclaredTypeOfSymbol(G);return ie!==Jt?ie:getTypeOfSymbol(G)}}if(E.isMetaProperty(N.parent)&&N.parent.keywordToken===N.kind){return checkMetaPropertyKeyword(N.parent)}return Jt}function getTypeOfAssignmentPattern(N){E.Debug.assert(N.kind===203||N.kind===202);if(N.parent.kind===242){var R=checkRightHandSideOfForOf(N.parent);return checkDestructuringAssignment(N,R||Jt)}if(N.parent.kind===219){var R=getTypeOfExpression(N.parent.right);return checkDestructuringAssignment(N,R||Jt)}if(N.parent.kind===291){var j=E.cast(N.parent.parent,E.isObjectLiteralExpression);var $=getTypeOfAssignmentPattern(j)||Jt;var q=E.indexOfNode(j.properties,N.parent);return checkObjectLiteralDestructuringPropertyAssignment(j,$,q)}var G=E.cast(N.parent,E.isArrayLiteralExpression);var ie=getTypeOfAssignmentPattern(G)||Jt;var ae=checkIteratedTypeOrElementType(65,ie,Gt,N.parent)||Jt;return checkArrayLiteralDestructuringElementAssignment(G,ie,G.elements.indexOf(N),ae)}function getPropertySymbolOfDestructuringAssignment(N){var R=getTypeOfAssignmentPattern(E.cast(N.parent.parent,E.isAssignmentPattern));return R&&getPropertyOfType(R,N.escapedText)}function getRegularTypeOfExpression(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return getRegularTypeOfLiteralType(getTypeOfExpression(N))}function getParentTypeOfClassElement(N){var R=getSymbolOfNode(N.parent);return E.isStatic(N)?getTypeOfSymbol(R):getDeclaredTypeOfSymbol(R)}function getClassElementPropertyKeyType(N){var R=N.name;switch(R.kind){case 79:return getStringLiteralType(E.idText(R));case 8:case 10:return getStringLiteralType(R.text);case 160:var j=checkComputedPropertyName(R);return isTypeAssignableToKind(j,12288)?j:er;default:return E.Debug.fail("Unsupported property name.")}}function getAugmentedPropertiesOfType(N){N=getApparentType(N);var R=E.createSymbolTable(getPropertiesOfType(N));var j=getSignaturesOfType(N,0).length?nn:getSignaturesOfType(N,1).length?an:undefined;if(j){E.forEach(getPropertiesOfType(j),(function(E){if(!R.has(E.escapedName)){R.set(E.escapedName,E)}}))}return getNamedMembers(R)}function typeHasCallOrConstructSignatures(N){return E.typeHasCallOrConstructSignatures(N,Tt)}function getRootSymbols(N){var R=getImmediateRootSymbols(N);return R?E.flatMap(R,getRootSymbols):[N]}function getImmediateRootSymbols(N){if(E.getCheckFlags(N)&6){return E.mapDefined(getSymbolLinks(N).containingType.types,(function(E){return getPropertyOfType(E,N.escapedName)}))}else if(N.flags&33554432){var R=N,j=R.leftSpread,$=R.rightSpread,q=R.syntheticOrigin;return j?[j,$]:q?[q]:E.singleElementArray(tryGetAliasTarget(N))}return undefined}function tryGetAliasTarget(E){var N;var R=E;while(R=getSymbolLinks(R).target){N=R}return N}function isArgumentsLocalBinding(N){if(E.isGeneratedIdentifier(N))return false;var R=E.getParseTreeNode(N,E.isIdentifier);if(!R)return false;var j=R.parent;if(!j)return false;var $=(E.isPropertyAccessExpression(j)||E.isPropertyAssignment(j))&&j.name===R;return!$&&getReferencedValueSymbol(R)===xt}function moduleExportsSomeValue(N){var R=resolveExternalModuleName(N.parent,N);if(!R||E.isShorthandAmbientModuleSymbol(R)){return true}var j=hasExportAssignmentSymbol(R);R=resolveExternalModuleSymbol(R);var $=getSymbolLinks(R);if($.exportsSomeValue===undefined){$.exportsSomeValue=j?!!(R.flags&111551):E.forEachEntry(getExportsOfModule(R),isValue)}return $.exportsSomeValue;function isValue(E){E=resolveSymbol(E);return E&&!!(E.flags&111551)}}function isNameOfModuleOrEnumDeclaration(N){return E.isModuleOrEnumDeclaration(N.parent)&&N===N.parent.name}function getReferencedExportContainer(N,R){var j;var $=E.getParseTreeNode(N,E.isIdentifier);if($){var q=getReferencedValueSymbol($,isNameOfModuleOrEnumDeclaration($));if(q){if(q.flags&1048576){var G=getMergedSymbol(q.exportSymbol);if(!R&&G.flags&944&&!(G.flags&3)){return undefined}q=G}var ie=getParentOfSymbol(q);if(ie){if(ie.flags&512&&((j=ie.valueDeclaration)===null||j===void 0?void 0:j.kind)===300){var ae=ie.valueDeclaration;var ce=E.getSourceFileOfNode($);var le=ae!==ce;return le?undefined:ae}return E.findAncestor($.parent,(function(N){return E.isModuleOrEnumDeclaration(N)&&getSymbolOfNode(N)===ie}))}}}}function getReferencedImportDeclaration(N){if(N.generatedImportReference){return N.generatedImportReference}var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(isNonLocalAlias(j,111551)&&!getTypeOnlyAliasDeclaration(j)){return getDeclarationOfAliasSymbol(j)}}return undefined}function isSymbolOfDestructuredElementOfCatchBinding(N){return N.valueDeclaration&&E.isBindingElement(N.valueDeclaration)&&E.walkUpBindingElementsAndPatterns(N.valueDeclaration).parent.kind===290}function isSymbolOfDeclarationWithCollidingName(N){if(N.flags&418&&N.valueDeclaration&&!E.isSourceFile(N.valueDeclaration)){var R=getSymbolLinks(N);if(R.isDeclarationWithCollidingName===undefined){var j=E.getEnclosingBlockScopeContainer(N.valueDeclaration);if(E.isStatementWithLocals(j)||isSymbolOfDestructuredElementOfCatchBinding(N)){var $=getNodeLinks(N.valueDeclaration);if(resolveName(j.parent,N.escapedName,111551,undefined,undefined,false)){R.isDeclarationWithCollidingName=true}else if($.flags&262144){var q=$.flags&524288;var G=E.isIterationStatement(j,false);var ie=j.kind===233&&E.isIterationStatement(j.parent,false);R.isDeclarationWithCollidingName=!E.isBlockScopedContainerTopLevel(j)&&(!q||!G&&!ie)}else{R.isDeclarationWithCollidingName=false}}}return R.isDeclarationWithCollidingName}return false}function getReferencedDeclarationWithCollidingName(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j&&isSymbolOfDeclarationWithCollidingName(j)){return j.valueDeclaration}}}return undefined}function isDeclarationWithCollidingName(N){var R=E.getParseTreeNode(N,E.isDeclaration);if(R){var j=getSymbolOfNode(R);if(j){return isSymbolOfDeclarationWithCollidingName(j)}}return false}function isValueAliasDeclaration(N){switch(N.kind){case 263:return isAliasResolvedToValue(getSymbolOfNode(N)||jt);case 265:case 266:case 268:case 273:var R=getSymbolOfNode(N)||jt;return isAliasResolvedToValue(R)&&!getTypeOnlyAliasDeclaration(R);case 270:var j=N.exportClause;return!!j&&(E.isNamespaceExport(j)||E.some(j.elements,isValueAliasDeclaration));case 269:return N.expression&&N.expression.kind===79?isAliasResolvedToValue(getSymbolOfNode(N)||jt):true}return false}function isTopLevelValueImportEqualsWithEntityName(N){var R=E.getParseTreeNode(N,E.isImportEqualsDeclaration);if(R===undefined||R.parent.kind!==300||!E.isInternalModuleImportEqualsDeclaration(R)){return false}var j=isAliasResolvedToValue(getSymbolOfNode(R));return j&&R.moduleReference&&!E.nodeIsMissing(R.moduleReference)}function isAliasResolvedToValue(N){var R=resolveAlias(N);if(R===jt){return true}return!!(R.flags&111551)&&(E.shouldPreserveConstEnums(Xe)||!isConstEnumOrConstEnumOnlyModule(R))}function isConstEnumOrConstEnumOnlyModule(E){return isConstEnumSymbol(E)||!!E.constEnumOnlyModule}function isReferencedAliasDeclaration(N,R){if(isAliasSymbolDeclaration(N)){var j=getSymbolOfNode(N);var $=j&&getSymbolLinks(j);if($===null||$===void 0?void 0:$.referenced){return true}var q=getSymbolLinks(j).target;if(q&&E.getEffectiveModifierFlags(N)&1&&q.flags&111551&&(E.shouldPreserveConstEnums(Xe)||!isConstEnumOrConstEnumOnlyModule(q))){return true}}if(R){return!!E.forEachChild(N,(function(E){return isReferencedAliasDeclaration(E,R)}))}return false}function isImplementationOfOverload(N){if(E.nodeIsPresent(N.body)){if(E.isGetAccessor(N)||E.isSetAccessor(N))return false;var R=getSymbolOfNode(N);var j=getSignaturesOfSymbol(R);return j.length>1||j.length===1&&j[0].declaration!==N}return false}function isRequiredInitializedParameter(N){return!!rt&&!isOptionalParameter(N)&&!E.isJSDocParameterTag(N)&&!!N.initializer&&!E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameterProperty(N){return rt&&isOptionalParameter(N)&&!N.initializer&&E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameter(E){return!!rt&&isOptionalParameter(E)&&!E.initializer}function isExpandoFunctionDeclaration(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return false}var j=getSymbolOfNode(R);if(!j||!(j.flags&16)){return false}return!!E.forEachEntry(getExportsOfSymbol(j),(function(N){return N.flags&111551&&N.valueDeclaration&&E.isPropertyAccessExpression(N.valueDeclaration)}))}function getPropertiesOfContainerFunction(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return E.emptyArray}var j=getSymbolOfNode(R);return j&&getPropertiesOfType(getTypeOfSymbol(j))||E.emptyArray}function getNodeCheckFlags(E){var N;var R=E.id||0;if(R<0||R>=si.length)return 0;return((N=si[R])===null||N===void 0?void 0:N.flags)||0}function getEnumMemberValue(E){computeEnumMemberValues(E.parent);return getNodeLinks(E).enumMemberValue}function canHaveConstantValue(E){switch(E.kind){case 294:case 204:case 205:return true}return false}function getConstantValue(N){if(N.kind===294){return getEnumMemberValue(N)}var R=getNodeLinks(N).resolvedSymbol;if(R&&R.flags&8){var j=R.valueDeclaration;if(E.isEnumConst(j.parent)){return getEnumMemberValue(j)}}return undefined}function isFunctionType(E){return!!(E.flags&524288)&&getSignaturesOfType(E,0).length>0}function getTypeReferenceSerializationKind(N,R){var j,$;var q=E.getParseTreeNode(N,E.isEntityName);if(!q)return E.TypeReferenceSerializationKind.Unknown;if(R){R=E.getParseTreeNode(R);if(!R)return E.TypeReferenceSerializationKind.Unknown}var G=false;if(E.isQualifiedName(q)){var ie=resolveEntityName(E.getFirstIdentifier(q),111551,true,true,R);G=!!((j=ie===null||ie===void 0?void 0:ie.declarations)===null||j===void 0?void 0:j.every(E.isTypeOnlyImportOrExportDeclaration))}var ae=resolveEntityName(q,111551,true,true,R);var ce=ae&&ae.flags&2097152?resolveAlias(ae):ae;G||(G=!!(($=ae===null||ae===void 0?void 0:ae.declarations)===null||$===void 0?void 0:$.every(E.isTypeOnlyImportOrExportDeclaration)));var le=resolveEntityName(q,788968,true,false,R);if(ce&&ce===le){var _e=getGlobalPromiseConstructorSymbol(false);if(_e&&ce===_e){return E.TypeReferenceSerializationKind.Promise}var Ee=getTypeOfSymbol(ce);if(Ee&&isConstructorType(Ee)){return G?E.TypeReferenceSerializationKind.TypeWithCallSignature:E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}}if(!le){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}var Te=getDeclaredTypeOfSymbol(le);if(Te===Jt){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}else if(Te.flags&3){return E.TypeReferenceSerializationKind.ObjectType}else if(isTypeAssignableToKind(Te,16384|98304|131072)){return E.TypeReferenceSerializationKind.VoidNullableOrNeverType}else if(isTypeAssignableToKind(Te,528)){return E.TypeReferenceSerializationKind.BooleanType}else if(isTypeAssignableToKind(Te,296)){return E.TypeReferenceSerializationKind.NumberLikeType}else if(isTypeAssignableToKind(Te,2112)){return E.TypeReferenceSerializationKind.BigIntLikeType}else if(isTypeAssignableToKind(Te,402653316)){return E.TypeReferenceSerializationKind.StringLikeType}else if(isTupleType(Te)){return E.TypeReferenceSerializationKind.ArrayLikeType}else if(isTypeAssignableToKind(Te,12288)){return E.TypeReferenceSerializationKind.ESSymbolType}else if(isFunctionType(Te)){return E.TypeReferenceSerializationKind.TypeWithCallSignature}else if(isArrayType(Te)){return E.TypeReferenceSerializationKind.ArrayLikeType}else{return E.TypeReferenceSerializationKind.ObjectType}}function createTypeOfDeclaration(N,R,j,$,q){var G=E.getParseTreeNode(N,E.isVariableLikeOrAccessor);if(!G){return E.factory.createToken(129)}var ie=getSymbolOfNode(G);var ae=ie&&!(ie.flags&(2048|131072))?getWidenedLiteralType(getTypeOfSymbol(ie)):Jt;if(ae.flags&8192&&ae.symbol===ie){j|=1048576}if(q){ae=getOptionalType(ae)}return _t.typeToTypeNode(ae,R,j|1024,$)}function createReturnTypeOfSignatureDeclaration(N,R,j,$){var q=E.getParseTreeNode(N,E.isFunctionLike);if(!q){return E.factory.createToken(129)}var G=getSignatureFromDeclaration(q);return _t.typeToTypeNode(getReturnTypeOfSignature(G),R,j|1024,$)}function createTypeOfExpression(N,R,j,$){var q=E.getParseTreeNode(N,E.isExpression);if(!q){return E.factory.createToken(129)}var G=getWidenedType(getRegularTypeOfExpression(q));return _t.typeToTypeNode(G,R,j|1024,$)}function hasGlobalName(N){return yt.has(E.escapeLeadingUnderscores(N))}function getReferencedValueSymbol(N,R){var j=getNodeLinks(N).resolvedSymbol;if(j){return j}var $=N;if(R){var q=N.parent;if(E.isDeclaration(q)&&N===q.name){$=getDeclarationContainer(q)}}return resolveName($,N.escapedText,111551|1048576|2097152,undefined,undefined,true)}function getReferencedValueDeclaration(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j){return getExportSymbolOfValueSymbolIfExported(j).valueDeclaration}}}return undefined}function isLiteralConstDeclaration(N){if(E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N)){return isFreshLiteralType(getTypeOfSymbol(getSymbolOfNode(N)))}return false}function literalTypeToNode(N,R,j){var $=N.flags&1024?_t.symbolToExpression(N.symbol,111551,R,undefined,j):N===ar?E.factory.createTrue():N===nr&&E.factory.createFalse();if($)return $;var q=N.value;return typeof q==="object"?E.factory.createBigIntLiteral(q):typeof q==="number"?E.factory.createNumericLiteral(q):E.factory.createStringLiteral(q)}function createLiteralConstValue(E,N){var R=getTypeOfSymbol(getSymbolOfNode(E));return literalTypeToNode(R,E,N)}function getJsxFactoryEntity(N){return N?(getJsxNamespace(N),E.getSourceFileOfNode(N).localJsxFactory||Ci):Ci}function getJsxFragmentFactoryEntity(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(R.localJsxFragmentFactory){return R.localJsxFragmentFactory}var j=R.pragmas.get("jsxfrag");var $=E.isArray(j)?j[0]:j;if($){R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);return R.localJsxFragmentFactory}}}if(Xe.jsxFragmentFactory){return E.parseIsolatedEntityName(Xe.jsxFragmentFactory,Ye)}}function createResolver(){var N=q.getResolvedTypeReferenceDirectives();var R;if(N){R=new E.Map;N.forEach((function(E,N){if(!E||!E.resolvedFileName){return}var R=q.getSourceFile(E.resolvedFileName);if(R){addReferencedFilesToTypeDirective(R,N)}}))}return{getReferencedExportContainer:getReferencedExportContainer,getReferencedImportDeclaration:getReferencedImportDeclaration,getReferencedDeclarationWithCollidingName:getReferencedDeclarationWithCollidingName,isDeclarationWithCollidingName:isDeclarationWithCollidingName,isValueAliasDeclaration:function(N){var R=E.getParseTreeNode(N);return R?isValueAliasDeclaration(R):true},hasGlobalName:hasGlobalName,isReferencedAliasDeclaration:function(N,R){var j=E.getParseTreeNode(N);return j?isReferencedAliasDeclaration(j,R):true},getNodeCheckFlags:function(N){var R=E.getParseTreeNode(N);return R?getNodeCheckFlags(R):0},isTopLevelValueImportEqualsWithEntityName:isTopLevelValueImportEqualsWithEntityName,isDeclarationVisible:isDeclarationVisible,isImplementationOfOverload:isImplementationOfOverload,isRequiredInitializedParameter:isRequiredInitializedParameter,isOptionalUninitializedParameterProperty:isOptionalUninitializedParameterProperty,isExpandoFunctionDeclaration:isExpandoFunctionDeclaration,getPropertiesOfContainerFunction:getPropertiesOfContainerFunction,createTypeOfDeclaration:createTypeOfDeclaration,createReturnTypeOfSignatureDeclaration:createReturnTypeOfSignatureDeclaration,createTypeOfExpression:createTypeOfExpression,createLiteralConstValue:createLiteralConstValue,isSymbolAccessible:isSymbolAccessible,isEntityNameVisible:isEntityNameVisible,getConstantValue:function(N){var R=E.getParseTreeNode(N,canHaveConstantValue);return R?getConstantValue(R):undefined},collectLinkedAliases:collectLinkedAliases,getReferencedValueDeclaration:getReferencedValueDeclaration,getTypeReferenceSerializationKind:getTypeReferenceSerializationKind,isOptionalParameter:isOptionalParameter,moduleExportsSomeValue:moduleExportsSomeValue,isArgumentsLocalBinding:isArgumentsLocalBinding,getExternalModuleFileFromDeclaration:function(N){var R=E.getParseTreeNode(N,E.hasPossibleExternalModuleReference);return R&&getExternalModuleFileFromDeclaration(R)},getTypeReferenceDirectivesForEntityName:getTypeReferenceDirectivesForEntityName,getTypeReferenceDirectivesForSymbol:getTypeReferenceDirectivesForSymbol,isLiteralConstDeclaration:isLiteralConstDeclaration,isLateBound:function(N){var R=E.getParseTreeNode(N,E.isDeclaration);var j=R&&getSymbolOfNode(R);return!!(j&&E.getCheckFlags(j)&4096)},getJsxFactoryEntity:getJsxFactoryEntity,getJsxFragmentFactoryEntity:getJsxFragmentFactoryEntity,getAllAccessorDeclarations:function(N){N=E.getParseTreeNode(N,E.isGetOrSetAccessorDeclaration);var R=N.kind===171?170:171;var j=E.getDeclarationOfKind(getSymbolOfNode(N),R);var $=j&&j.pos3}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,4)}}else if(G&1048576){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>4}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,5)}}else if(G&1024){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>2}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,3)}}}}}Ee|=R}}}function getHelperName(N){switch(N){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spreadArray";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__importStar";case 131072:return"__importDefault";case 262144:return"__makeTemplateObject";case 524288:return"__classPrivateFieldGet";case 1048576:return"__classPrivateFieldSet";case 2097152:return"__createBinding";default:return E.Debug.fail("Unrecognized helper")}}function resolveHelpersModule(N,R){if(!Te){Te=resolveExternalModule(N,E.externalHelpersModuleNameText,E.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,R)||jt}return Te}function checkGrammarDecoratorsAndModifiers(E){return checkGrammarDecorators(E)||checkGrammarModifiers(E)}function checkGrammarDecorators(N){if(!N.decorators){return false}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){if(N.kind===167&&!E.nodeIsPresent(N.body)){return grammarErrorOnFirstToken(N,E.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload)}else{return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_are_not_valid_here)}}else if(N.kind===170||N.kind===171){var R=E.getAllAccessorDeclarations(N.parent.members,N);if(R.firstAccessor.decorators&&N===R.secondAccessor){return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}return false}function checkGrammarModifiers(N){var R=reportObviousModifierErrors(N);if(R!==undefined){return R}var j,$,q,G,ie;var ae=0;for(var ce=0,le=N.modifiers;ce1||E.modifiers[0].kind!==N}function checkGrammarAsyncModifier(N,R){switch(N.kind){case 167:case 254:case 211:case 212:return false}return grammarErrorOnNode(R,E.Diagnostics._0_modifier_cannot_be_used_here,"async")}function checkGrammarForDisallowedTrailingComma(N,R){if(R===void 0){R=E.Diagnostics.Trailing_comma_not_allowed}if(N&&N.hasTrailingComma){return grammarErrorAtPos(N[0],N.end-",".length,",".length,R)}return false}function checkGrammarTypeParameterList(N,R){if(N&&N.length===0){var j=N.pos-"<".length;var $=E.skipTrivia(R.text,N.end)+">".length;return grammarErrorAtPos(R,j,$-j,E.Diagnostics.Type_parameter_list_cannot_be_empty)}return false}function checkGrammarParameterList(N){var R=false;var j=N.length;for(var $=0;$=3){var R=N.body&&E.isBlock(N.body)&&E.findUseStrictPrologue(N.body.statements);if(R){var $=getNonSimpleParameters(N.parameters);if(E.length($)){E.forEach($,(function(N){E.addRelatedInfo(error(N,E.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),E.createDiagnosticForNode(R,E.Diagnostics.use_strict_directive_used_here))}));var q=$.map((function(N,R){return R===0?E.createDiagnosticForNode(N,E.Diagnostics.Non_simple_parameter_declared_here):E.createDiagnosticForNode(N,E.Diagnostics.and_here)}));E.addRelatedInfo.apply(void 0,j([error(R,E.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],q,false));return true}}}return false}function checkGrammarFunctionLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarDecoratorsAndModifiers(N)||checkGrammarTypeParameterList(N.typeParameters,R)||checkGrammarParameterList(N.parameters)||checkGrammarArrowFunction(N,R)||E.isFunctionLikeDeclaration(N)&&checkGrammarForUseStrictSimpleParameterList(N)}function checkGrammarClassLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarClassDeclarationHeritageClauses(N)||checkGrammarTypeParameterList(N.typeParameters,R)}function checkGrammarArrowFunction(N,R){if(!E.isArrowFunction(N)){return false}var j=N.equalsGreaterThanToken;var $=E.getLineAndCharacterOfPosition(R,j.pos).line;var q=E.getLineAndCharacterOfPosition(R,j.end).line;return $!==q&&grammarErrorOnNode(j,E.Diagnostics.Line_terminator_not_permitted_before_arrow)}function checkGrammarIndexSignatureParameters(N){var R=N.parameters[0];if(N.parameters.length!==1){if(R){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}else{return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}}checkGrammarForDisallowedTrailingComma(N.parameters,E.Diagnostics.An_index_signature_cannot_have_a_trailing_comma);if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.An_index_signature_cannot_have_a_rest_parameter)}if(E.hasEffectiveModifiers(R)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark)}if(R.initializer){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer)}if(!R.type){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation)}var j=getTypeFromTypeNode(R.type);if(someType(j,(function(E){return!!(E.flags&8576)}))||isGenericType(j)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead)}if(!everyType(j,isValidIndexKeyType)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}if(!N.type){return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_a_type_annotation)}return false}function checkGrammarIndexSignature(E){return checkGrammarDecoratorsAndModifiers(E)||checkGrammarIndexSignatureParameters(E)}function checkGrammarForAtLeastOneTypeArgument(N,R){if(R&&R.length===0){var j=E.getSourceFileOfNode(N);var $=R.pos-"<".length;var q=E.skipTrivia(j.text,R.end)+">".length;return grammarErrorAtPos(j,$,q-$,E.Diagnostics.Type_argument_list_cannot_be_empty)}return false}function checkGrammarTypeArguments(E,N){return checkGrammarForDisallowedTrailingComma(N)||checkGrammarForAtLeastOneTypeArgument(E,N)}function checkGrammarTaggedTemplateChain(N){if(N.questionDotToken||N.flags&32){return grammarErrorOnNode(N.template,E.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)}return false}function checkGrammarForOmittedArgument(N){if(N){for(var R=0,j=N;R1){return grammarErrorOnFirstToken(G.types[1],E.Diagnostics.Classes_can_only_extend_a_single_class)}R=true}else{E.Debug.assert(G.token===117);if(j){return grammarErrorOnFirstToken(G,E.Diagnostics.implements_clause_already_seen)}j=true}checkGrammarHeritageClause(G)}}}function checkGrammarInterfaceDeclaration(N){var R=false;if(N.heritageClauses){for(var j=0,$=N.heritageClauses;j<$.length;j++){var q=$[j];if(q.token===94){if(R){return grammarErrorOnFirstToken(q,E.Diagnostics.extends_clause_already_seen)}R=true}else{E.Debug.assert(q.token===117);return grammarErrorOnFirstToken(q,E.Diagnostics.Interface_declaration_cannot_have_implements_clause)}checkGrammarHeritageClause(q)}}return false}function checkGrammarComputedPropertyName(N){if(N.kind!==160){return false}var R=N;if(R.expression.kind===219&&R.expression.operatorToken.kind===27){return grammarErrorOnNode(R.expression,E.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}return false}function checkGrammarForGenerator(N){if(N.asteriskToken){E.Debug.assert(N.kind===254||N.kind===211||N.kind===167);if(N.flags&8388608){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.Generators_are_not_allowed_in_an_ambient_context)}if(!N.body){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}}function checkGrammarForInvalidQuestionMark(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarForInvalidExclamationToken(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarObjectLiteralExpression(N,R){var j=new E.Map;for(var $=0,q=N.properties;$1){var j=N.kind===241?E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return grammarErrorOnFirstToken(G.declarations[1],j)}var ae=ie[0];if(ae.initializer){var j=N.kind===241?E.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:E.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return grammarErrorOnNode(ae.name,j)}if(ae.type){var j=N.kind===241?E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:E.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return grammarErrorOnNode(ae,j)}}}return false}function checkGrammarAccessor(N){if(!(N.flags&8388608)&&N.parent.kind!==180&&N.parent.kind!==256){if(Ye<1){return grammarErrorOnNode(N.name,E.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher)}if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.body===undefined&&!E.hasSyntacticModifier(N,128)){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(N.body){if(E.hasSyntacticModifier(N,128)){return grammarErrorOnNode(N,E.Diagnostics.An_abstract_accessor_cannot_have_an_implementation)}if(N.parent.kind===180||N.parent.kind===256){return grammarErrorOnNode(N.body,E.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}}if(N.typeParameters){return grammarErrorOnNode(N.name,E.Diagnostics.An_accessor_cannot_have_type_parameters)}if(!doesAccessorHaveCorrectParameterCount(N)){return grammarErrorOnNode(N.name,N.kind===170?E.Diagnostics.A_get_accessor_cannot_have_parameters:E.Diagnostics.A_set_accessor_must_have_exactly_one_parameter)}if(N.kind===171){if(N.type){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation)}var R=E.Debug.checkDefined(E.getSetAccessorValueParameter(N),"Return value does not match parameter count assertion.");if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.A_set_accessor_cannot_have_rest_parameter)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter)}if(R.initializer){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}return false}function doesAccessorHaveCorrectParameterCount(E){return getAccessorThisParameter(E)||E.parameters.length===(E.kind===170?0:1)}function getAccessorThisParameter(N){if(N.parameters.length===(N.kind===170?1:2)){return E.getThisParameter(N)}}function checkGrammarTypeOperatorNode(N){if(N.operator===152){if(N.type.kind!==149){return grammarErrorOnNode(N.type,E.Diagnostics._0_expected,E.tokenToString(149))}var R=E.walkUpParenthesizedTypes(N.parent);if(E.isInJSFile(R)&&E.isJSDocTypeExpression(R)){R=R.parent;if(E.isJSDocTypeTag(R)){R=R.parent.parent}}switch(R.kind){case 252:var j=R;if(j.name.kind!==79){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name)}if(!E.isVariableDeclarationInVariableStatement(j)){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement)}if(!(j.parent.flags&2)){return grammarErrorOnNode(R.name,E.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const)}break;case 165:if(!E.isStatic(R)||!E.hasEffectiveReadonlyModifier(R)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly)}break;case 164:if(!E.hasSyntacticModifier(R,64)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly)}break;default:return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(N.operator===143){if(N.type.kind!==181&&N.type.kind!==182){return grammarErrorOnFirstToken(N,E.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,E.tokenToString(149))}}}function checkGrammarForInvalidDynamicName(E,N){if(isNonBindableDynamicName(E)){return grammarErrorOnNode(E,N)}}function checkGrammarMethod(N){if(checkGrammarFunctionLikeDeclaration(N)){return true}if(N.kind===167){if(N.parent.kind===203){if(N.modifiers&&!(N.modifiers.length===1&&E.first(N.modifiers).kind===130)){return grammarErrorOnFirstToken(N,E.Diagnostics.Modifiers_cannot_appear_here)}else if(checkGrammarForInvalidQuestionMark(N.questionToken,E.Diagnostics.An_object_member_cannot_be_declared_optional)){return true}else if(checkGrammarForInvalidExclamationToken(N.exclamationToken,E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)){return true}else if(N.body===undefined){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(checkGrammarForGenerator(N)){return true}}if(E.isClassLike(N.parent)){if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.flags&8388608){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.kind===167&&!N.body){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}else if(N.parent.kind===256){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.parent.kind===180){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function checkGrammarBreakOrContinueStatement(N){var R=N;while(R){if(E.isFunctionLikeOrClassStaticBlockDeclaration(R)){return grammarErrorOnNode(N,E.Diagnostics.Jump_target_cannot_cross_function_boundary)}switch(R.kind){case 248:if(N.label&&R.label.escapedText===N.label.escapedText){var j=N.kind===243&&!E.isIterationStatement(R.statement,true);if(j){return grammarErrorOnNode(N,E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}return false}break;case 247:if(N.kind===244&&!N.label){return false}break;default:if(E.isIterationStatement(R,false)&&!N.label){return false}break}R=R.parent}if(N.label){var $=N.kind===244?E.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}else{var $=N.kind===244?E.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:E.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}}function checkGrammarBindingElement(N){if(N.dotDotDotToken){var R=N.parent.elements;if(N!==E.last(R)){return grammarErrorOnNode(N,E.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}checkGrammarForDisallowedTrailingComma(R,E.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);if(N.propertyName){return grammarErrorOnNode(N.name,E.Diagnostics.A_rest_element_cannot_have_a_property_name)}}if(N.dotDotDotToken&&N.initializer){return grammarErrorAtPos(N,N.initializer.pos-1,1,E.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function isStringOrNumberLiteralExpression(N){return E.isStringOrNumericLiteralLike(N)||N.kind===217&&N.operator===40&&N.operand.kind===8}function isBigIntLiteralExpression(E){return E.kind===9||E.kind===217&&E.operator===40&&E.operand.kind===9}function isSimpleLiteralEnumReference(N){if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)&&isStringOrNumberLiteralExpression(N.argumentExpression))&&E.isEntityNameExpression(N.expression)){return!!(checkExpressionCached(N).flags&1024)}}function checkAmbientInitializer(N){var R=N.initializer;if(R){var j=!(isStringOrNumberLiteralExpression(R)||isSimpleLiteralEnumReference(R)||R.kind===110||R.kind===95||isBigIntLiteralExpression(R));var $=E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N);if($&&!N.type){if(j){return grammarErrorOnNode(R,E.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}}else{return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!$||j){return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}}function checkGrammarVariableDeclaration(N){if(N.parent.parent.kind!==241&&N.parent.parent.kind!==242){if(N.flags&8388608){checkAmbientInitializer(N)}else if(!N.initializer){if(E.isBindingPattern(N.name)&&!E.isBindingPattern(N.parent)){return grammarErrorOnNode(N,E.Diagnostics.A_destructuring_declaration_must_have_an_initializer)}if(E.isVarConst(N)){return grammarErrorOnNode(N,E.Diagnostics.const_declarations_must_be_initialized)}}}if(N.exclamationToken&&(N.parent.parent.kind!==235||!N.type||N.initializer||N.flags&8388608)){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}var j=E.getEmitModuleKind(Xe);if(j0}function grammarErrorOnFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);xi.add(E.createFileDiagnostic(G,ie.start,ie.length,R,j,$,q));return true}return false}function grammarErrorAtPos(N,R,j,$,q,G,ie){var ae=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(ae)){xi.add(E.createFileDiagnostic(ae,R,j,$,q,G,ie));return true}return false}function grammarErrorOnNodeSkippedOn(N,R,j,$,q,G){var ie=E.getSourceFileOfNode(R);if(!hasParseDiagnostics(ie)){errorSkippedOn(N,R,j,$,q,G);return true}return false}function grammarErrorOnNode(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){xi.add(E.createDiagnosticForNode(N,R,j,$,q));return true}return false}function checkGrammarConstructorTypeParameters(N){var R=E.isInJSFile(N)?E.getJSDocTypeParameterDeclarations(N):undefined;var j=N.typeParameters||R&&E.firstOrUndefined(R);if(j){var $=j.pos===j.end?j.pos:E.skipTrivia(E.getSourceFileOfNode(N).text,j.pos);return grammarErrorAtPos(N,$,j.end-$,E.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function checkGrammarConstructorTypeAnnotation(N){var R=E.getEffectiveReturnTypeNode(N);if(R){return grammarErrorOnNode(R,E.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}}function checkGrammarProperty(N){if(E.isClassLike(N.parent)){if(E.isStringLiteral(N.name)&&N.name.text==="constructor"){return grammarErrorOnNode(N.name,E.Diagnostics.Classes_may_not_have_a_field_named_constructor)}if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)){return true}if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}}else if(N.parent.kind===256){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.An_interface_property_cannot_have_an_initializer)}}else if(N.parent.kind===180){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}}if(N.flags&8388608){checkAmbientInitializer(N)}if(E.isPropertyDeclaration(N)&&N.exclamationToken&&(!E.isClassLike(N.parent)||!N.type||N.initializer||N.flags&8388608||E.isStatic(N)||E.hasAbstractModifier(N))){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}}function checkGrammarTopLevelElementForRequiredDeclareModifier(N){if(N.kind===256||N.kind===257||N.kind===264||N.kind===263||N.kind===270||N.kind===269||N.kind===262||E.hasSyntacticModifier(N,2|1|512)){return false}return grammarErrorOnFirstToken(N,E.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function checkGrammarTopLevelElementsForRequiredDeclareModifier(N){for(var R=0,j=N.statements;R=1){R=E.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,194)){R=E.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,294)){R=E.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0}if(R){var j=E.isPrefixUnaryExpression(N.parent)&&N.parent.operator===40;var $=(j?"-":"")+"0o"+N.text;return grammarErrorOnNode(j?N.parent:N,R,$)}}checkNumericLiteralValueSize(N);return false}function checkNumericLiteralValueSize(N){if(N.numericLiteralFlags&16||N.text.length<=15||N.text.indexOf(".")!==-1){return}var R=+E.getTextOfNode(N);if(R<=Math.pow(2,53)-1&&R+1>R){return}addErrorOrSuggestion(false,E.createDiagnosticForNode(N,E.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function checkGrammarBigIntLiteral(N){var R=E.isLiteralTypeNode(N.parent)||E.isPrefixUnaryExpression(N.parent)&&E.isLiteralTypeNode(N.parent.parent);if(!R){if(Ye<7){if(grammarErrorOnNode(N,E.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)){return true}}}return false}function grammarErrorAfterFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);xi.add(E.createFileDiagnostic(G,E.textSpanEnd(ie),0,R,j,$,q));return true}return false}function getAmbientModules(){if(!Yr){Yr=[];yt.forEach((function(E,R){if(N.test(R)){Yr.push(E)}}))}return Yr}function checkGrammarImportClause(N){if(N.isTypeOnly&&N.name&&N.namedBindings){return grammarErrorOnNode(N,E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both)}return false}function checkGrammarImportCallExpression(N){if(Ze===E.ModuleKind.ES2015){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd)}if(N.typeArguments){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_import_cannot_have_type_arguments)}var R=N.arguments;if(R.length!==1){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument)}checkGrammarForDisallowedTrailingComma(R);if(E.isSpreadElement(R[0])){return grammarErrorOnNode(R[0],E.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}return false}function findMatchingTypeReferenceOrTypeAliasReference(N,R){var j=E.getObjectFlags(N);if(j&(4|16)&&R.flags&1048576){return E.find(R.types,(function(R){if(R.flags&524288){var $=j&E.getObjectFlags(R);if($&4){return N.target===R.target}if($&16){return!!N.aliasSymbol&&N.aliasSymbol===R.aliasSymbol}}return false}))}}function findBestTypeForObjectLiteral(N,R){if(E.getObjectFlags(N)&128&&someType(R,isArrayLikeType)){return E.find(R.types,(function(E){return!isArrayLikeType(E)}))}}function findBestTypeForInvokable(N,R){var j=0;var $=getSignaturesOfType(N,j).length>0||(j=1,getSignaturesOfType(N,j).length>0);if($){return E.find(R.types,(function(E){return getSignaturesOfType(E,j).length>0}))}}function findMostOverlappyType(N,R){var j;var $=0;for(var q=0,G=R.types;q=$){j=ie;$=ce}}else if(isUnitType(ae)&&1>=$){j=ie;$=1}}return j}function filterPrimitivesIfContainsNonPrimitive(E){if(maybeTypeOfKind(E,67108864)){var N=filterType(E,(function(E){return!(E.flags&131068)}));if(!(N.flags&131072)){return N}}return E}function findMatchingDiscriminantType(N,R,j,$){if(R.flags&1048576&&N.flags&(2097152|524288)){var q=getMatchingUnionConstituentForType(R,N);if(q){return q}var G=getPropertiesOfType(N);if(G){var ie=findDiscriminantProperties(G,R);if(ie){return discriminateTypeByDiscriminableItems(R,E.map(ie,(function(E){return[function(){return getTypeOfSymbol(E)},E.escapedName]})),j,undefined,$)}}}return undefined}}E.createTypeChecker=createTypeChecker;function isNotAccessor(N){return!E.isAccessor(N)}function isNotOverload(E){return E.kind!==254&&E.kind!==167||!!E.body}function isDeclarationNameOrImportPropertyName(N){switch(N.parent.kind){case 268:case 273:return E.isIdentifier(N);default:return E.isDeclarationName(N)}}var Qe;(function(E){E.JSX="JSX";E.IntrinsicElements="IntrinsicElements";E.ElementClass="ElementClass";E.ElementAttributesPropertyNameContainer="ElementAttributesProperty";E.ElementChildrenAttributeNameContainer="ElementChildrenAttribute";E.Element="Element";E.IntrinsicAttributes="IntrinsicAttributes";E.IntrinsicClassAttributes="IntrinsicClassAttributes";E.LibraryManagedAttributes="LibraryManagedAttributes"})(Qe||(Qe={}));function getIterationTypesKeyFromIterationTypeKind(E){switch(E){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function signatureHasRestParameter(E){return!!(E.flags&1)}E.signatureHasRestParameter=signatureHasRestParameter;function signatureHasLiteralTypes(E){return!!(E.flags&2)}E.signatureHasLiteralTypes=signatureHasLiteralTypes})(ce||(ce={}));var ce;(function(E){function visitNode(N,R,j,$){if(N===undefined||R===undefined){return N}var q=R(N);if(q===N){return N}var G;if(q===undefined){return undefined}else if(E.isArray(q)){G=($||extractSingleNode)(q)}else{G=q}E.Debug.assertNode(G,j);return G}E.visitNode=visitNode;function visitNodes(N,R,j,$,q){if(N===undefined||R===undefined){return N}var G;var ie=N.length;if($===undefined||$<0){$=0}if(q===undefined||q>ie-$){q=ie-$}var ae;var ce=-1;var le=-1;if($>0||q=2){q=addDefaultValueAssignmentsIfNeeded(q,j)}j.setLexicalEnvironmentFlags(1,false)}j.suspendLexicalEnvironment();return q}E.visitParameterList=visitParameterList;function addDefaultValueAssignmentsIfNeeded(N,R){var j;for(var $=0;$0&&ie<=158||ie===190){return N}var ae=j.factory;switch(ie){case 79:E.Debug.type(N);return ae.updateIdentifier(N,$(N.typeArguments,R,E.isTypeNodeOrTypeParameterDeclaration));case 159:E.Debug.type(N);return ae.updateQualifiedName(N,G(N.left,R,E.isEntityName),G(N.right,R,E.isIdentifier));case 160:E.Debug.type(N);return ae.updateComputedPropertyName(N,G(N.expression,R,E.isExpression));case 161:E.Debug.type(N);return ae.updateTypeParameterDeclaration(N,G(N.name,R,E.isIdentifier),G(N.constraint,R,E.isTypeNode),G(N.default,R,E.isTypeNode));case 162:E.Debug.type(N);return ae.updateParameterDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.name,R,E.isBindingName),G(N.questionToken,q,E.isQuestionToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 163:E.Debug.type(N);return ae.updateDecorator(N,G(N.expression,R,E.isExpression));case 164:E.Debug.type(N);return ae.updatePropertySignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isToken),G(N.type,R,E.isTypeNode));case 165:E.Debug.type(N);return ae.updatePropertyDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken||N.exclamationToken,q,E.isQuestionOrExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 166:E.Debug.type(N);return ae.updateMethodSignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 167:E.Debug.type(N);return ae.updateMethodDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 169:E.Debug.type(N);return ae.updateConstructorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 170:E.Debug.type(N);return ae.updateGetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 171:E.Debug.type(N);return ae.updateSetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 168:E.Debug.type(N);j.startLexicalEnvironment();j.suspendLexicalEnvironment();return ae.updateClassStaticBlockDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitFunctionBody(N.body,R,j,G));case 172:E.Debug.type(N);return ae.updateCallSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 173:E.Debug.type(N);return ae.updateConstructSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 174:E.Debug.type(N);return ae.updateIndexSignature(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 175:E.Debug.type(N);return ae.updateTypePredicateNode(N,G(N.assertsModifier,R,E.isAssertsKeyword),G(N.parameterName,R,E.isIdentifierOrThisTypeNode),G(N.type,R,E.isTypeNode));case 176:E.Debug.type(N);return ae.updateTypeReferenceNode(N,G(N.typeName,R,E.isEntityName),$(N.typeArguments,R,E.isTypeNode));case 177:E.Debug.type(N);return ae.updateFunctionTypeNode(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 178:E.Debug.type(N);return ae.updateConstructorTypeNode(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 179:E.Debug.type(N);return ae.updateTypeQueryNode(N,G(N.exprName,R,E.isEntityName));case 180:E.Debug.type(N);return ae.updateTypeLiteralNode(N,$(N.members,R,E.isTypeElement));case 181:E.Debug.type(N);return ae.updateArrayTypeNode(N,G(N.elementType,R,E.isTypeNode));case 182:E.Debug.type(N);return ae.updateTupleTypeNode(N,$(N.elements,R,E.isTypeNode));case 183:E.Debug.type(N);return ae.updateOptionalTypeNode(N,G(N.type,R,E.isTypeNode));case 184:E.Debug.type(N);return ae.updateRestTypeNode(N,G(N.type,R,E.isTypeNode));case 185:E.Debug.type(N);return ae.updateUnionTypeNode(N,$(N.types,R,E.isTypeNode));case 186:E.Debug.type(N);return ae.updateIntersectionTypeNode(N,$(N.types,R,E.isTypeNode));case 187:E.Debug.type(N);return ae.updateConditionalTypeNode(N,G(N.checkType,R,E.isTypeNode),G(N.extendsType,R,E.isTypeNode),G(N.trueType,R,E.isTypeNode),G(N.falseType,R,E.isTypeNode));case 188:E.Debug.type(N);return ae.updateInferTypeNode(N,G(N.typeParameter,R,E.isTypeParameterDeclaration));case 198:E.Debug.type(N);return ae.updateImportTypeNode(N,G(N.argument,R,E.isTypeNode),G(N.qualifier,R,E.isEntityName),visitNodes(N.typeArguments,R,E.isTypeNode),N.isTypeOf);case 195:E.Debug.type(N);return ae.updateNamedTupleMember(N,visitNode(N.dotDotDotToken,R,E.isDotDotDotToken),visitNode(N.name,R,E.isIdentifier),visitNode(N.questionToken,R,E.isQuestionToken),visitNode(N.type,R,E.isTypeNode));case 189:E.Debug.type(N);return ae.updateParenthesizedType(N,G(N.type,R,E.isTypeNode));case 191:E.Debug.type(N);return ae.updateTypeOperatorNode(N,G(N.type,R,E.isTypeNode));case 192:E.Debug.type(N);return ae.updateIndexedAccessTypeNode(N,G(N.objectType,R,E.isTypeNode),G(N.indexType,R,E.isTypeNode));case 193:E.Debug.type(N);return ae.updateMappedTypeNode(N,G(N.readonlyToken,q,E.isReadonlyKeywordOrPlusOrMinusToken),G(N.typeParameter,R,E.isTypeParameterDeclaration),G(N.nameType,R,E.isTypeNode),G(N.questionToken,q,E.isQuestionOrPlusOrMinusToken),G(N.type,R,E.isTypeNode));case 194:E.Debug.type(N);return ae.updateLiteralTypeNode(N,G(N.literal,R,E.isExpression));case 196:E.Debug.type(N);return ae.updateTemplateLiteralType(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateLiteralTypeSpan));case 197:E.Debug.type(N);return ae.updateTemplateLiteralTypeSpan(N,G(N.type,R,E.isTypeNode),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 199:E.Debug.type(N);return ae.updateObjectBindingPattern(N,$(N.elements,R,E.isBindingElement));case 200:E.Debug.type(N);return ae.updateArrayBindingPattern(N,$(N.elements,R,E.isArrayBindingElement));case 201:E.Debug.type(N);return ae.updateBindingElement(N,G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.propertyName,R,E.isPropertyName),G(N.name,R,E.isBindingName),G(N.initializer,R,E.isExpression));case 202:E.Debug.type(N);return ae.updateArrayLiteralExpression(N,$(N.elements,R,E.isExpression));case 203:E.Debug.type(N);return ae.updateObjectLiteralExpression(N,$(N.properties,R,E.isObjectLiteralElementLike));case 204:if(N.flags&32){E.Debug.type(N);return ae.updatePropertyAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.name,R,E.isMemberName))}E.Debug.type(N);return ae.updatePropertyAccessExpression(N,G(N.expression,R,E.isExpression),G(N.name,R,E.isMemberName));case 205:if(N.flags&32){E.Debug.type(N);return ae.updateElementAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.argumentExpression,R,E.isExpression))}E.Debug.type(N);return ae.updateElementAccessExpression(N,G(N.expression,R,E.isExpression),G(N.argumentExpression,R,E.isExpression));case 206:if(N.flags&32){E.Debug.type(N);return ae.updateCallChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression))}E.Debug.type(N);return ae.updateCallExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 207:E.Debug.type(N);return ae.updateNewExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 208:E.Debug.type(N);return ae.updateTaggedTemplateExpression(N,G(N.tag,R,E.isExpression),visitNodes(N.typeArguments,R,E.isTypeNode),G(N.template,R,E.isTemplateLiteral));case 209:E.Debug.type(N);return ae.updateTypeAssertion(N,G(N.type,R,E.isTypeNode),G(N.expression,R,E.isExpression));case 210:E.Debug.type(N);return ae.updateParenthesizedExpression(N,G(N.expression,R,E.isExpression));case 211:E.Debug.type(N);return ae.updateFunctionExpression(N,$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 212:E.Debug.type(N);return ae.updateArrowFunction(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),G(N.equalsGreaterThanToken,q,E.isEqualsGreaterThanToken),visitFunctionBody(N.body,R,j,G));case 213:E.Debug.type(N);return ae.updateDeleteExpression(N,G(N.expression,R,E.isExpression));case 214:E.Debug.type(N);return ae.updateTypeOfExpression(N,G(N.expression,R,E.isExpression));case 215:E.Debug.type(N);return ae.updateVoidExpression(N,G(N.expression,R,E.isExpression));case 216:E.Debug.type(N);return ae.updateAwaitExpression(N,G(N.expression,R,E.isExpression));case 217:E.Debug.type(N);return ae.updatePrefixUnaryExpression(N,G(N.operand,R,E.isExpression));case 218:E.Debug.type(N);return ae.updatePostfixUnaryExpression(N,G(N.operand,R,E.isExpression));case 219:E.Debug.type(N);return ae.updateBinaryExpression(N,G(N.left,R,E.isExpression),G(N.operatorToken,q,E.isBinaryOperatorToken),G(N.right,R,E.isExpression));case 220:E.Debug.type(N);return ae.updateConditionalExpression(N,G(N.condition,R,E.isExpression),G(N.questionToken,q,E.isQuestionToken),G(N.whenTrue,R,E.isExpression),G(N.colonToken,q,E.isColonToken),G(N.whenFalse,R,E.isExpression));case 221:E.Debug.type(N);return ae.updateTemplateExpression(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateSpan));case 222:E.Debug.type(N);return ae.updateYieldExpression(N,G(N.asteriskToken,q,E.isAsteriskToken),G(N.expression,R,E.isExpression));case 223:E.Debug.type(N);return ae.updateSpreadElement(N,G(N.expression,R,E.isExpression));case 224:E.Debug.type(N);return ae.updateClassExpression(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 226:E.Debug.type(N);return ae.updateExpressionWithTypeArguments(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode));case 227:E.Debug.type(N);return ae.updateAsExpression(N,G(N.expression,R,E.isExpression),G(N.type,R,E.isTypeNode));case 228:if(N.flags&32){E.Debug.type(N);return ae.updateNonNullChain(N,G(N.expression,R,E.isExpression))}E.Debug.type(N);return ae.updateNonNullExpression(N,G(N.expression,R,E.isExpression));case 229:E.Debug.type(N);return ae.updateMetaProperty(N,G(N.name,R,E.isIdentifier));case 231:E.Debug.type(N);return ae.updateTemplateSpan(N,G(N.expression,R,E.isExpression),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 233:E.Debug.type(N);return ae.updateBlock(N,$(N.statements,R,E.isStatement));case 235:E.Debug.type(N);return ae.updateVariableStatement(N,$(N.modifiers,R,E.isModifier),G(N.declarationList,R,E.isVariableDeclarationList));case 236:E.Debug.type(N);return ae.updateExpressionStatement(N,G(N.expression,R,E.isExpression));case 237:E.Debug.type(N);return ae.updateIfStatement(N,G(N.expression,R,E.isExpression),G(N.thenStatement,R,E.isStatement,ae.liftToBlock),G(N.elseStatement,R,E.isStatement,ae.liftToBlock));case 238:E.Debug.type(N);return ae.updateDoStatement(N,visitIterationBody(N.statement,R,j),G(N.expression,R,E.isExpression));case 239:E.Debug.type(N);return ae.updateWhileStatement(N,G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 240:E.Debug.type(N);return ae.updateForStatement(N,G(N.initializer,R,E.isForInitializer),G(N.condition,R,E.isExpression),G(N.incrementor,R,E.isExpression),visitIterationBody(N.statement,R,j));case 241:E.Debug.type(N);return ae.updateForInStatement(N,G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 242:E.Debug.type(N);return ae.updateForOfStatement(N,G(N.awaitModifier,q,E.isAwaitKeyword),G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 243:E.Debug.type(N);return ae.updateContinueStatement(N,G(N.label,R,E.isIdentifier));case 244:E.Debug.type(N);return ae.updateBreakStatement(N,G(N.label,R,E.isIdentifier));case 245:E.Debug.type(N);return ae.updateReturnStatement(N,G(N.expression,R,E.isExpression));case 246:E.Debug.type(N);return ae.updateWithStatement(N,G(N.expression,R,E.isExpression),G(N.statement,R,E.isStatement,ae.liftToBlock));case 247:E.Debug.type(N);return ae.updateSwitchStatement(N,G(N.expression,R,E.isExpression),G(N.caseBlock,R,E.isCaseBlock));case 248:E.Debug.type(N);return ae.updateLabeledStatement(N,G(N.label,R,E.isIdentifier),G(N.statement,R,E.isStatement,ae.liftToBlock));case 249:E.Debug.type(N);return ae.updateThrowStatement(N,G(N.expression,R,E.isExpression));case 250:E.Debug.type(N);return ae.updateTryStatement(N,G(N.tryBlock,R,E.isBlock),G(N.catchClause,R,E.isCatchClause),G(N.finallyBlock,R,E.isBlock));case 252:E.Debug.type(N);return ae.updateVariableDeclaration(N,G(N.name,R,E.isBindingName),G(N.exclamationToken,q,E.isExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 253:E.Debug.type(N);return ae.updateVariableDeclarationList(N,$(N.declarations,R,E.isVariableDeclaration));case 254:E.Debug.type(N);return ae.updateFunctionDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 255:E.Debug.type(N);return ae.updateClassDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 256:E.Debug.type(N);return ae.updateInterfaceDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isTypeElement));case 257:E.Debug.type(N);return ae.updateTypeAliasDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),G(N.type,R,E.isTypeNode));case 258:E.Debug.type(N);return ae.updateEnumDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.members,R,E.isEnumMember));case 259:E.Debug.type(N);return ae.updateModuleDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isModuleName),G(N.body,R,E.isModuleBody));case 260:E.Debug.type(N);return ae.updateModuleBlock(N,$(N.statements,R,E.isStatement));case 261:E.Debug.type(N);return ae.updateCaseBlock(N,$(N.clauses,R,E.isCaseOrDefaultClause));case 262:E.Debug.type(N);return ae.updateNamespaceExportDeclaration(N,G(N.name,R,E.isIdentifier));case 263:E.Debug.type(N);return ae.updateImportEqualsDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.moduleReference,R,E.isModuleReference));case 264:E.Debug.type(N);return ae.updateImportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.importClause,R,E.isImportClause),G(N.moduleSpecifier,R,E.isExpression));case 265:E.Debug.type(N);return ae.updateImportClause(N,N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.namedBindings,R,E.isNamedImportBindings));case 266:E.Debug.type(N);return ae.updateNamespaceImport(N,G(N.name,R,E.isIdentifier));case 272:E.Debug.type(N);return ae.updateNamespaceExport(N,G(N.name,R,E.isIdentifier));case 267:E.Debug.type(N);return ae.updateNamedImports(N,$(N.elements,R,E.isImportSpecifier));case 268:E.Debug.type(N);return ae.updateImportSpecifier(N,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 269:E.Debug.type(N);return ae.updateExportAssignment(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.expression,R,E.isExpression));case 270:E.Debug.type(N);return ae.updateExportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.exportClause,R,E.isNamedExportBindings),G(N.moduleSpecifier,R,E.isExpression));case 271:E.Debug.type(N);return ae.updateNamedExports(N,$(N.elements,R,E.isExportSpecifier));case 273:E.Debug.type(N);return ae.updateExportSpecifier(N,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 275:E.Debug.type(N);return ae.updateExternalModuleReference(N,G(N.expression,R,E.isExpression));case 276:E.Debug.type(N);return ae.updateJsxElement(N,G(N.openingElement,R,E.isJsxOpeningElement),$(N.children,R,E.isJsxChild),G(N.closingElement,R,E.isJsxClosingElement));case 277:E.Debug.type(N);return ae.updateJsxSelfClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 278:E.Debug.type(N);return ae.updateJsxOpeningElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 279:E.Debug.type(N);return ae.updateJsxClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression));case 280:E.Debug.type(N);return ae.updateJsxFragment(N,G(N.openingFragment,R,E.isJsxOpeningFragment),$(N.children,R,E.isJsxChild),G(N.closingFragment,R,E.isJsxClosingFragment));case 283:E.Debug.type(N);return ae.updateJsxAttribute(N,G(N.name,R,E.isIdentifier),G(N.initializer,R,E.isStringLiteralOrJsxExpression));case 284:E.Debug.type(N);return ae.updateJsxAttributes(N,$(N.properties,R,E.isJsxAttributeLike));case 285:E.Debug.type(N);return ae.updateJsxSpreadAttribute(N,G(N.expression,R,E.isExpression));case 286:E.Debug.type(N);return ae.updateJsxExpression(N,G(N.expression,R,E.isExpression));case 287:E.Debug.type(N);return ae.updateCaseClause(N,G(N.expression,R,E.isExpression),$(N.statements,R,E.isStatement));case 288:E.Debug.type(N);return ae.updateDefaultClause(N,$(N.statements,R,E.isStatement));case 289:E.Debug.type(N);return ae.updateHeritageClause(N,$(N.types,R,E.isExpressionWithTypeArguments));case 290:E.Debug.type(N);return ae.updateCatchClause(N,G(N.variableDeclaration,R,E.isVariableDeclaration),G(N.block,R,E.isBlock));case 291:E.Debug.type(N);return ae.updatePropertyAssignment(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 292:E.Debug.type(N);return ae.updateShorthandPropertyAssignment(N,G(N.name,R,E.isIdentifier),G(N.objectAssignmentInitializer,R,E.isExpression));case 293:E.Debug.type(N);return ae.updateSpreadAssignment(N,G(N.expression,R,E.isExpression));case 294:E.Debug.type(N);return ae.updateEnumMember(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 300:E.Debug.type(N);return ae.updateSourceFile(N,visitLexicalEnvironment(N.statements,R,j));case 345:E.Debug.type(N);return ae.updatePartiallyEmittedExpression(N,G(N.expression,R,E.isExpression));case 346:E.Debug.type(N);return ae.updateCommaListExpression(N,$(N.elements,R,E.isExpression));default:return N}}E.visitEachChild=visitEachChild;function extractSingleNode(N){E.Debug.assert(N.length<=1,"Too many nodes written to output.");return E.singleOrUndefined(N)}})(ce||(ce={}));var ce;(function(E){function createSourceMapGenerator(N,R,j,$,q){var G=q.extendedDiagnostics?E.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):E.performance.nullTimer,ie=G.enter,ae=G.exit;var ce=[];var le=[];var _e=new E.Map;var Ee;var Te=[];var we;var Ie=[];var Ne="";var Me=0;var Le=0;var Be=0;var je=0;var Ue=0;var ze=0;var We=false;var Je=0;var Ve=0;var qe=0;var He=0;var Ge=0;var Ke=0;var Qe=false;var Xe=false;var Ye=false;return{getSources:function(){return ce},addSource:addSource,setSourceContent:setSourceContent,addName:addName,addMapping:addMapping,appendSourceMap:appendSourceMap,toJSON:toJSON,toString:function(){return JSON.stringify(toJSON())}};function addSource(R){ie();var j=E.getRelativePathToDirectoryOrUrl($,R,N.getCurrentDirectory(),N.getCanonicalFileName,true);var q=_e.get(j);if(q===undefined){q=le.length;le.push(j);ce.push(R);_e.set(j,q)}ae();return q}function setSourceContent(E,N){ie();if(N!==null){if(!Ee)Ee=[];while(Ee.lengthN||He===N&&Ge>R)}function addMapping(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");E.Debug.assert(j===undefined||j>=0,"sourceIndex cannot be negative");E.Debug.assert($===undefined||$>=0,"sourceLine cannot be negative");E.Debug.assert(q===undefined||q>=0,"sourceCharacter cannot be negative");ie();if(isNewGeneratedPosition(N,R)||isBacktrackingSourcePosition(j,$,q)){commitPendingMapping();Je=N;Ve=R;Xe=false;Ye=false;Qe=true}if(j!==undefined&&$!==undefined&&q!==undefined){qe=j;He=$;Ge=q;Xe=true;if(G!==undefined){Ke=G;Ye=true}}ae()}function appendSourceMap(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");ie();var ce=[];var le;var _e=decodeMappings(j.mappings);for(var Ee=_e.next();!Ee.done;Ee=_e.next()){var Te=Ee.value;if(G&&(Te.generatedLine>G.line||Te.generatedLine===G.line&&Te.generatedCharacter>G.character)){break}if(q&&(Te.generatedLine=1024){flushMappingBuffer()}}function commitPendingMapping(){if(!Qe||!shouldCommitMapping()){return}ie();if(Me0){Ne+=String.fromCharCode.apply(undefined,Ie);Ie.length=0}}function toJSON(){commitPendingMapping();flushMappingBuffer();return{version:3,file:R,sourceRoot:j,sources:le,names:Te,mappings:Ne,sourcesContent:Ee}}function appendBase64VLQ(E){if(E<0){E=(-E<<1)+1}else{E=E<<1}do{var N=E&31;E=E>>5;if(E>0){N=N|32}appendMappingCharCode(base64FormatEncode(N))}while(E>0)}}E.createSourceMapGenerator=createSourceMapGenerator;var N=/^\/\/[@#] source[M]appingURL=(.+)$/;var R=/^\s*(\/\/[@#] .*)?$/;function getLineInfo(E,N){return{getLineCount:function(){return N.length},getLineText:function(R){return E.substring(N[R],N[R+1])}}}E.getLineInfo=getLineInfo;function tryGetSourceMappingURL(j){for(var $=j.getLineCount()-1;$>=0;$--){var q=j.getLineText($);var G=N.exec(q);if(G){return E.trimStringEnd(G[1])}else if(!q.match(R)){break}}}E.tryGetSourceMappingURL=tryGetSourceMappingURL;function isStringOrNull(E){return typeof E==="string"||E===null}function isRawSourceMap(N){return N!==null&&typeof N==="object"&&N.version===3&&typeof N.file==="string"&&typeof N.mappings==="string"&&E.isArray(N.sources)&&E.every(N.sources,E.isString)&&(N.sourceRoot===undefined||N.sourceRoot===null||typeof N.sourceRoot==="string")&&(N.sourcesContent===undefined||N.sourcesContent===null||E.isArray(N.sourcesContent)&&E.every(N.sourcesContent,isStringOrNull))&&(N.names===undefined||N.names===null||E.isArray(N.names)&&E.every(N.names,E.isString))}E.isRawSourceMap=isRawSourceMap;function tryParseRawSourceMap(E){try{var N=JSON.parse(E);if(isRawSourceMap(N)){return N}}catch(E){}return undefined}E.tryParseRawSourceMap=tryParseRawSourceMap;function decodeMappings(E){var N=false;var R=0;var j=0;var $=0;var q=0;var G=0;var ie=0;var ae=0;var ce;return{get pos(){return R},get error(){return ce},get state(){return captureMapping(true,true)},next:function(){while(!N&&R=E.length)return setError("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var q=base64FormatDecode(E.charCodeAt(R));if(q===-1)return setError("Invalid character in VLQ"),-1;N=(q&32)!==0;$=$|(q&31)<>1}else{$=$>>1;$=-$}return $}}E.decodeMappings=decodeMappings;function sameMapping(E,N){return E===N||E.generatedLine===N.generatedLine&&E.generatedCharacter===N.generatedCharacter&&E.sourceIndex===N.sourceIndex&&E.sourceLine===N.sourceLine&&E.sourceCharacter===N.sourceCharacter&&E.nameIndex===N.nameIndex}E.sameMapping=sameMapping;function isSourceMapping(E){return E.sourceIndex!==undefined&&E.sourceLine!==undefined&&E.sourceCharacter!==undefined}E.isSourceMapping=isSourceMapping;function base64FormatEncode(N){return N>=0&&N<26?65+N:N>=26&&N<52?97+N-26:N>=52&&N<62?48+N-52:N===62?43:N===63?47:E.Debug.fail(N+": not a base64 value")}function base64FormatDecode(E){return E>=65&&E<=90?E-65:E>=97&&E<=122?E-97+26:E>=48&&E<=57?E-48+52:E===43?62:E===47?63:-1}function isSourceMappedPosition(E){return E.sourceIndex!==undefined&&E.sourcePosition!==undefined}function sameMappedPosition(E,N){return E.generatedPosition===N.generatedPosition&&E.sourceIndex===N.sourceIndex&&E.sourcePosition===N.sourcePosition}function compareSourcePositions(N,R){E.Debug.assert(N.sourceIndex===R.sourceIndex);return E.compareValues(N.sourcePosition,R.sourcePosition)}function compareGeneratedPositions(N,R){return E.compareValues(N.generatedPosition,R.generatedPosition)}function getSourcePositionOfMapping(E){return E.sourcePosition}function getGeneratedPositionOfMapping(E){return E.generatedPosition}function createDocumentPositionMapper(N,R,j){var $=E.getDirectoryPath(j);var q=R.sourceRoot?E.getNormalizedAbsolutePath(R.sourceRoot,$):$;var G=E.getNormalizedAbsolutePath(R.file,$);var ie=N.getSourceFileLike(G);var ae=R.sources.map((function(N){return E.getNormalizedAbsolutePath(N,q)}));var ce=new E.Map(ae.map((function(E,R){return[N.getCanonicalFileName(E),R]})));var le;var _e;var Ee;return{getSourcePosition:getSourcePosition,getGeneratedPosition:getGeneratedPosition};function processMapping(j){var $=ie!==undefined?E.getPositionOfLineAndCharacter(ie,j.generatedLine,j.generatedCharacter,true):-1;var q;var G;if(isSourceMapping(j)){var ce=N.getSourceFileLike(ae[j.sourceIndex]);q=R.sources[j.sourceIndex];G=ce!==undefined?E.getPositionOfLineAndCharacter(ce,j.sourceLine,j.sourceCharacter,true):-1}return{generatedPosition:$,source:q,sourceIndex:j.sourceIndex,sourcePosition:G,nameIndex:j.nameIndex}}function getDecodedMappings(){if(le===undefined){var j=decodeMappings(R.mappings);var $=E.arrayFrom(j,processMapping);if(j.error!==undefined){if(N.log){N.log("Encountered error while decoding sourcemap: "+j.error)}le=E.emptyArray}else{le=$}}return le}function getSourceMappings(N){if(Ee===undefined){var R=[];for(var j=0,$=getDecodedMappings();j<$.length;j++){var q=$[j];if(!isSourceMappedPosition(q))continue;var G=R[q.sourceIndex];if(!G)R[q.sourceIndex]=G=[];G.push(q)}Ee=R.map((function(N){return E.sortAndDeduplicate(N,compareSourcePositions,sameMappedPosition)}))}return Ee[N]}function getGeneratedMappings(){if(_e===undefined){var N=[];for(var R=0,j=getDecodedMappings();R0&&j!==R.elements.length||!!(R.elements.length-j)&&E.isDefaultImport(N)}E.getImportNeedsImportStarHelper=getImportNeedsImportStarHelper;function getImportNeedsImportDefaultHelper(N){return!getImportNeedsImportStarHelper(N)&&(E.isDefaultImport(N)||!!N.importClause&&E.isNamedImports(N.importClause.namedBindings)&&containsDefaultReference(N.importClause.namedBindings))}E.getImportNeedsImportDefaultHelper=getImportNeedsImportDefaultHelper;function collectExternalModuleInfo(N,R,j,$){var q=[];var G=E.createMultiMap();var ie=[];var ae=new E.Map;var ce;var le=false;var _e;var Ee=false;var Te=false;var we=false;for(var Ie=0,Ne=R.statements;Ie=64&&E<=78}E.isCompoundAssignment=isCompoundAssignment;function getNonAssignmentOperatorForCompoundAssignment(E){switch(E){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}E.getNonAssignmentOperatorForCompoundAssignment=getNonAssignmentOperatorForCompoundAssignment;function addPrologueDirectivesAndInitialSuperCall(N,R,j,$){if(R.body){var q=R.body.statements;var G=N.copyPrologue(q,j,false,$);if(G===q.length){return G}var ie=E.findIndex(q,(function(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)}),G);if(ie>-1){for(var ae=G;ae<=ie;ae++){j.push(E.visitNode(q[ae],$,E.isStatement))}return ie+1}return G}return 0}E.addPrologueDirectivesAndInitialSuperCall=addPrologueDirectivesAndInitialSuperCall;function getProperties(N,R,j){return E.filter(N.members,(function(E){return isInitializedOrStaticProperty(E,R,j)}))}E.getProperties=getProperties;function isStaticPropertyDeclarationOrClassStaticBlockDeclaration(N){return isStaticPropertyDeclaration(N)||E.isClassStaticBlockDeclaration(N)}function getStaticPropertiesAndClassStaticBlock(N){return E.filter(N.members,isStaticPropertyDeclarationOrClassStaticBlockDeclaration)}E.getStaticPropertiesAndClassStaticBlock=getStaticPropertiesAndClassStaticBlock;function isInitializedOrStaticProperty(N,R,j){return E.isPropertyDeclaration(N)&&(!!N.initializer||!R)&&E.hasStaticModifier(N)===j}function isStaticPropertyDeclaration(N){return E.isPropertyDeclaration(N)&&E.hasStaticModifier(N)}function isInitializedProperty(E){return E.kind===165&&E.initializer!==undefined}E.isInitializedProperty=isInitializedProperty;function isNonStaticMethodOrAccessorWithPrivateName(N){return!E.isStatic(N)&&E.isMethodOrAccessor(N)&&E.isPrivateIdentifier(N.name)}E.isNonStaticMethodOrAccessorWithPrivateName=isNonStaticMethodOrAccessorWithPrivateName})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["All"]=0]="All";E[E["ObjectRest"]=1]="ObjectRest"})(N=E.FlattenLevel||(E.FlattenLevel={}));function flattenDestructuringAssignment(N,R,j,$,q,G){var ie=N;var ae;if(E.isDestructuringAssignment(N)){ae=N.right;while(E.isEmptyArrayLiteral(N.left)||E.isEmptyObjectLiteral(N.left)){if(E.isDestructuringAssignment(ae)){ie=N=ae;ae=N.right}else{return E.visitNode(ae,R,E.isExpression)}}}var ce;var le={context:j,level:$,downlevelIteration:!!j.getCompilerOptions().downlevelIteration,hoistTempVariables:true,emitExpression:emitExpression,emitBindingOrAssignment:emitBindingOrAssignment,createArrayBindingOrAssignmentPattern:function(E){return makeArrayAssignmentPattern(j.factory,E)},createObjectBindingOrAssignmentPattern:function(E){return makeObjectAssignmentPattern(j.factory,E)},createArrayBindingOrAssignmentElement:makeAssignmentElement,visitor:R};if(ae){ae=E.visitNode(ae,R,E.isExpression);if(E.isIdentifier(ae)&&bindingOrAssignmentElementAssignsToName(N,ae.escapedText)||bindingOrAssignmentElementContainsNonLiteralComputedName(N)){ae=ensureIdentifier(le,ae,false,ie)}else if(q){ae=ensureIdentifier(le,ae,true,ie)}else if(E.nodeIsSynthesized(N)){ie=ae}}flattenBindingOrAssignmentElement(le,N,ae,ie,E.isDestructuringAssignment(N));if(ae&&q){if(!E.some(ce)){return ae}ce.push(ae)}return j.factory.inlineExpressions(ce)||j.factory.createOmittedExpression();function emitExpression(N){ce=E.append(ce,N)}function emitBindingOrAssignment(N,$,q,ie){E.Debug.assertNode(N,G?E.isIdentifier:E.isExpression);var ae=G?G(N,$,q):E.setTextRange(j.factory.createAssignment(E.visitNode(N,R,E.isExpression),$),q);ae.original=ie;emitExpression(ae)}}E.flattenDestructuringAssignment=flattenDestructuringAssignment;function bindingOrAssignmentElementAssignsToName(N,R){var j=E.getTargetOfBindingOrAssignmentElement(N);if(E.isBindingOrAssignmentPattern(j)){return bindingOrAssignmentPatternAssignsToName(j,R)}else if(E.isIdentifier(j)){return j.escapedText===R}return false}function bindingOrAssignmentPatternAssignsToName(N,R){var j=E.getElementsOfBindingOrAssignmentPattern(N);for(var $=0,q=j;$=1&&!(Ee.transformFlags&(16384|32768))&&!(E.getTargetOfBindingOrAssignmentElement(Ee).transformFlags&(16384|32768))&&!E.isComputedPropertyName(Te)){ce=E.append(ce,E.visitNode(Ee,N.visitor))}else{if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=createDestructuringPropertyAccess(N,$,Te);if(E.isComputedPropertyName(Te)){le=E.append(le,we.argumentExpression)}flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}else if(_e===ie-1){if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=N.context.getEmitHelperFactory().createRestHelper($,G,le,j);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j)}}function flattenArrayBindingOrAssignmentPattern(N,R,j,$,q){var G=E.getElementsOfBindingOrAssignmentPattern(j);var ie=G.length;if(N.level<1&&N.downlevelIteration){$=ensureIdentifier(N,E.setTextRange(N.context.getEmitHelperFactory().createReadHelper($,ie>0&&E.getRestIndicatorOfBindingOrAssignmentElement(G[ie-1])?undefined:ie),q),false,q)}else if(ie!==1&&(N.level<1||ie===0)||E.every(G,E.isOmittedExpression)){var ae=!E.isDeclarationBindingElement(R)||ie!==0;$=ensureIdentifier(N,$,ae,q)}var ce;var le;for(var _e=0;_e=1){if(Ee.transformFlags&32768||N.hasTransformedPriorElement&&!isSimpleBindingOrAssignmentElement(Ee)){N.hasTransformedPriorElement=true;var Te=N.context.factory.createTempVariable(undefined);if(N.hoistTempVariables){N.context.hoistVariableDeclaration(Te)}le=E.append(le,[Te,Ee]);ce=E.append(ce,N.createArrayBindingOrAssignmentElement(Te))}else{ce=E.append(ce,Ee)}}else if(E.isOmittedExpression(Ee)){continue}else if(!E.getRestIndicatorOfBindingOrAssignmentElement(Ee)){var we=N.context.factory.createElementAccessExpression($,_e);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}else if(_e===ie-1){var we=N.context.factory.createArraySliceCall($,_e);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}if(ce){N.emitBindingOrAssignment(N.createArrayBindingOrAssignmentPattern(ce),$,q,j)}if(le){for(var Ie=0,Ne=le;Ie=E.ModuleKind.ES2015)&&!E.isJsonSourceFile(N);return j.updateSourceFile(N,E.visitLexicalEnvironment(N.statements,sourceElementVisitor,R,0,$))}function getClassFacts(N,R){var j=0;if(E.some(R))j|=1;var $=E.getEffectiveBaseTypeNode(N);if($&&E.skipOuterExpressions($.expression).kind!==104)j|=64;if(E.classOrConstructorParameterIsDecorated(N))j|=2;if(E.childIsDecorated(N))j|=4;if(isExportOfNamespace(N))j|=8;else if(isDefaultExternalModuleExport(N))j|=32;else if(isNamedExternalModuleExport(N))j|=16;if(Ee<=1&&j&7)j|=128;return j}function hasTypeScriptClassSyntax(E){return!!(E.transformFlags&4096)}function isClassLikeDeclarationWithTypeScriptSyntax(N){return E.some(N.decorators)||E.some(N.typeParameters)||E.some(N.heritageClauses,hasTypeScriptClassSyntax)||E.some(N.members,hasTypeScriptClassSyntax)}function visitClassDeclaration(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)&&!(Me&&E.hasSyntacticModifier(N,1))){return E.visitEachChild(N,visitor,R)}var $=E.getProperties(N,true,true);var q=getClassFacts(N,$);if(q&128){R.startLexicalEnvironment()}var G=N.name||(q&5?j.getGeneratedNameForNode(N):undefined);var ie=q&2?createClassDeclarationHeadWithDecorators(N,G):createClassDeclarationHeadWithoutDecorators(N,G,q);var ae=[ie];addClassElementDecorationStatements(ae,N,false);addClassElementDecorationStatements(ae,N,true);addConstructorDecorationStatement(ae,N);if(q&128){var ce=E.createTokenRange(E.skipTrivia(Ne.text,N.members.end),19);var le=j.getInternalName(N);var _e=j.createPartiallyEmittedExpression(le);E.setTextRangeEnd(_e,ce.end);E.setEmitFlags(_e,1536);var Ee=j.createReturnStatement(_e);E.setTextRangePos(Ee,ce.pos);E.setEmitFlags(Ee,1536|384);ae.push(Ee);E.insertStatementsAfterStandardPrologue(ae,R.endLexicalEnvironment());var Te=j.createImmediatelyInvokedArrowFunction(ae);E.setEmitFlags(Te,33554432);var we=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(j.getLocalName(N,false,false),undefined,undefined,Te)]));E.setOriginalNode(we,N);E.setCommentRange(we,N);E.setSourceMapRange(we,E.moveRangePastDecorators(N));E.startOnNewLine(we);ae=[we]}if(q&8){addExportMemberAssignment(ae,N)}else if(q&128||q&2){if(q&32){ae.push(j.createExportDefault(j.getLocalName(N,false,true)))}else if(q&16){ae.push(j.createExternalModuleExport(j.getLocalName(N,false,true)))}}if(ae.length>1){ae.push(j.createEndOfDeclarationMarker(N));E.setEmitFlags(ie,E.getEmitFlags(ie)|4194304)}return E.singleOrMany(ae)}function createClassDeclarationHeadWithoutDecorators(N,R,$){var q=!($&128)?E.visitNodes(N.modifiers,modifierVisitor,E.isModifier):undefined;var G=j.createClassDeclaration(undefined,q,R,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));var ie=E.getEmitFlags(N);if($&1){ie|=32}E.setTextRange(G,N);E.setOriginalNode(G,N);E.setEmitFlags(G,ie);return G}function createClassDeclarationHeadWithDecorators(N,R){var $=E.moveRangePastDecorators(N);var q=getClassAliasIfNeeded(N);var G=Ee<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ie=E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause);var ae=transformClassMembers(N);var ce=j.createClassExpression(undefined,undefined,R,undefined,ie,ae);E.setOriginalNode(ce,N);E.setTextRange(ce,$);var le=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(G,undefined,undefined,q?j.createAssignment(q,ce):ce)],1));E.setOriginalNode(le,N);E.setTextRange(le,$);E.setCommentRange(le,N);return le}function visitClassExpression(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)){return E.visitEachChild(N,visitor,R)}var $=j.createClassExpression(undefined,undefined,N.name,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));E.setOriginalNode($,N);E.setTextRange($,N);return $}function transformClassMembers(N){var R=[];var $=E.getFirstConstructorWithBody(N);var q=$&&E.filter($.parameters,(function(N){return E.isParameterPropertyDeclaration(N,$)}));if(q){for(var G=0,ie=q;G0&&E.parameterIsThisKeyword(j[0]);var q=$?1:0;var G=$?j.length-1:j.length;for(var ie=0;ie0?R.kind===165?j.createVoidZero():j.createNull():undefined;var le=$().createDecorateHelper(G,ie,ae,ce);E.setTextRange(le,E.moveRangePastDecorators(R));E.setEmitFlags(le,1536);return le}function addConstructorDecorationStatement(N,R){var $=generateConstructorDecorationExpression(R);if($){N.push(E.setOriginalNode(j.createExpressionStatement($),R))}}function generateConstructorDecorationExpression(N){var R=getAllDecoratorsOfConstructor(N);var q=transformAllDecoratorsOfDeclaration(N,N,R);if(!q){return undefined}var G=Je&&Je[E.getOriginalNodeId(N)];var ie=Ee<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ae=$().createDecorateHelper(q,ie);var ce=j.createAssignment(ie,G?j.createAssignment(G,ae):ae);E.setEmitFlags(ce,1536);E.setSourceMapRange(ce,E.moveRangePastDecorators(N));return ce}function transformDecorator(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformDecoratorsOfParameter(N,R){var j;if(N){j=[];for(var q=0,G=N;q=2;var Ie=_e<=8||!Ee;var Ne=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Me=N.onEmitNode;N.onEmitNode=onEmitNode;var Le;var Be;var je;var Ue;var ze=[];var We=new E.Map;var Je;var Ve;var qe;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){var j=N.getCompilerOptions();if(R.isDeclarationFile||Ee&&j.target===99){return R}var $=E.visitEachChild(R,visitor,N);E.addEmitHelpers($,N.readEmitHelpers());return $}function visitorWorker(R,j){if(R.transformFlags&8388608){switch(R.kind){case 224:case 255:return visitClassLike(R);case 165:return visitPropertyDeclaration(R);case 235:return visitVariableStatement(R);case 80:return visitPrivateIdentifier(R);case 168:return visitClassStaticBlockDeclaration(R)}}if(R.transformFlags&8388608||R.transformFlags&33554432&&we&&qe&&Je){switch(R.kind){case 217:case 218:return visitPreOrPostfixUnaryExpression(R,j);case 219:return visitBinaryExpression(R,j);case 206:return visitCallExpression(R);case 208:return visitTaggedTemplateExpression(R);case 204:return visitPropertyAccessExpression(R);case 205:return visitElementAccessExpression(R);case 236:return visitExpressionStatement(R);case 240:return visitForStatement(R);case 254:case 211:case 169:case 167:case 170:case 171:{var $=qe;qe=undefined;var q=E.visitEachChild(R,visitor,N);qe=$;return q}}}return E.visitEachChild(R,visitor,N)}function discardedValueVisitor(E){return visitorWorker(E,true)}function visitor(E){return visitorWorker(E,false)}function heritageClauseVisitor(R){switch(R.kind){case 289:return E.visitEachChild(R,heritageClauseVisitor,N);case 226:return visitExpressionWithTypeArguments(R)}return visitor(R)}function visitorDestructuringTarget(E){switch(E.kind){case 203:case 202:return visitAssignmentPattern(E);default:return visitor(E)}}function visitPrivateIdentifier(N){if(!Te){return N}return E.setOriginalNode(R.createIdentifier(""),N)}function classElementVisitor(E){switch(E.kind){case 169:return undefined;case 170:case 171:case 167:return visitMethodOrAccessorDeclaration(E);case 165:return visitPropertyDeclaration(E);case 160:return visitComputedPropertyName(E);case 232:return E;default:return visitor(E)}}function visitVariableStatement(R){var $=Ue;Ue=[];var q=E.visitEachChild(R,visitor,N);var G=E.some(Ue)?j([q],Ue,true):q;Ue=$;return G}function visitComputedPropertyName(j){var $=E.visitEachChild(j,visitor,N);if(E.some(je)){var q=je;q.push($.expression);je=[];$=R.updateComputedPropertyName($,R.inlineExpressions(q))}return $}function visitMethodOrAccessorDeclaration(j){E.Debug.assert(!E.some(j.decorators));if(!Te||!E.isPrivateIdentifier(j.name)){return E.visitEachChild(j,classElementVisitor,N)}var $=accessPrivateIdentifier(j.name);E.Debug.assert($,"Undeclared private name for property declaration.");if(!$.isValid){return j}var q=getHoistedFunctionName(j);if(q){getPendingExpressions().push(R.createAssignment(q,R.createFunctionExpression(E.filter(j.modifiers,(function(N){return!E.isStaticModifier(N)})),j.asteriskToken,q,undefined,E.visitParameterList(j.parameters,classElementVisitor,N),undefined,E.visitFunctionBody(j.body,classElementVisitor,N))))}return undefined}function getHoistedFunctionName(N){E.Debug.assert(E.isPrivateIdentifier(N.name));var R=accessPrivateIdentifier(N.name);E.Debug.assert(R,"Undeclared private name for property declaration.");if(R.kind==="m"){return R.methodName}if(R.kind==="a"){if(E.isGetAccessor(N)){return R.getterName}if(E.isSetAccessor(N)){return R.setterName}}}function visitPropertyDeclaration(N){E.Debug.assert(!E.some(N.decorators));if(E.isPrivateIdentifier(N.name)){if(!Te){return R.updatePropertyDeclaration(N,undefined,E.visitNodes(N.modifiers,visitor,E.isModifier),N.name,undefined,undefined,undefined)}var j=accessPrivateIdentifier(N.name);E.Debug.assert(j,"Undeclared private name for property declaration.");if(!j.isValid){return N}}var $=getPropertyNameExpressionIfNeeded(N.name,!!N.initializer||Ee);if($&&!E.isSimpleInlineableExpression($)){getPendingExpressions().push($)}return undefined}function createPrivateIdentifierAccess(N,R){return createPrivateIdentifierAccessHelper(N,E.visitNode(R,visitor,E.isExpression))}function createPrivateIdentifierAccessHelper(R,j){E.setCommentRange(j,E.moveRangePos(j,-1));switch(R.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.getterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.methodName);case"f":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.variableName);default:E.Debug.assertNever(R,"Unknown private element type")}}function visitPropertyAccessExpression(j){if(Te&&E.isPrivateIdentifier(j.name)){var $=accessPrivateIdentifier(j.name);if($){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAccess($,j.expression),j),j)}}if(we&&E.isSuperProperty(j)&&E.isIdentifier(j.name)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){return visitInvalidSuperProperty(j)}if(q&&G){var ae=R.createReflectGetCall(G,R.createStringLiteralFromNode(j.name),q);E.setOriginalNode(ae,j.expression);E.setTextRange(ae,j.expression);return ae}}return E.visitEachChild(j,visitor,N)}function visitElementAccessExpression(j){if(we&&E.isSuperProperty(j)&&qe&&Je){var $=Je.classConstructor,q=Je.superClassReference,G=Je.facts;if(G&1){return visitInvalidSuperProperty(j)}if($&&q){var ie=R.createReflectGetCall(q,E.visitNode(j.argumentExpression,visitor,E.isExpression),$);E.setOriginalNode(ie,j.expression);E.setTextRange(ie,j.expression);return ie}}return E.visitEachChild(j,visitor,N)}function visitPreOrPostfixUnaryExpression(j,q){if(j.operator===45||j.operator===46){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(j.operand)){var G=void 0;if(G=accessPrivateIdentifier(j.operand.name)){var ie=E.visitNode(j.operand.expression,visitor,E.isExpression);var ae=createCopiableReceiverExpr(ie),ce=ae.readExpression,le=ae.initializeExpression;var _e=createPrivateIdentifierAccess(G,ce);var Ee=E.isPrefixUnaryExpression(j)||q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Ee);_e=createPrivateIdentifierAssignment(G,le||ce,_e,63);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Ee){_e=R.createComma(_e,Ee);E.setTextRange(_e,j)}return _e}}else if(we&&E.isSuperProperty(j.operand)&&qe&&Je){var Ie=Je.classConstructor,Ne=Je.superClassReference,Me=Je.facts;if(Me&1){var Le=visitInvalidSuperProperty(j.operand);return E.isPrefixUnaryExpression(j)?R.updatePrefixUnaryExpression(j,Le):R.updatePostfixUnaryExpression(j,Le)}if(Ie&&Ne){var Be=void 0;var je=void 0;if(E.isPropertyAccessExpression(j.operand)){if(E.isIdentifier(j.operand.name)){je=Be=R.createStringLiteralFromNode(j.operand.name)}}else{if(E.isSimpleInlineableExpression(j.operand.argumentExpression)){je=Be=j.operand.argumentExpression}else{je=R.createTempVariable($);Be=R.createAssignment(je,E.visitNode(j.operand.argumentExpression,visitor,E.isExpression))}}if(Be&&je){var _e=R.createReflectGetCall(Ne,je,Ie);E.setTextRange(_e,j.operand);var Ee=q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Ee);_e=R.createReflectSetCall(Ne,Be,_e,Ie);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Ee){_e=R.createComma(_e,Ee);E.setTextRange(_e,j)}return _e}}}}return E.visitEachChild(j,visitor,N)}function visitForStatement(j){return R.updateForStatement(j,E.visitNode(j.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}function visitExpressionStatement(N){return R.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function createCopiableReceiverExpr(N){var j=E.nodeIsSynthesized(N)?N:R.cloneNode(N);if(E.isSimpleInlineableExpression(N)){return{readExpression:j,initializeExpression:undefined}}var q=R.createTempVariable($);var G=R.createAssignment(q,j);return{readExpression:q,initializeExpression:G}}function visitCallExpression(q){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(q.expression)){var G=R.createCallBinding(q.expression,$,_e),ie=G.thisArg,ae=G.target;if(E.isCallChain(q)){return R.updateCallChain(q,R.createPropertyAccessChain(E.visitNode(ae,visitor),q.questionDotToken,"call"),undefined,undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}return R.updateCallExpression(q,R.createPropertyAccessExpression(E.visitNode(ae,visitor),"call"),undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}if(we&&E.isSuperProperty(q.expression)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ce=R.createFunctionCallCall(E.visitNode(q.expression,visitor,E.isExpression),Je.classConstructor,E.visitNodes(q.arguments,visitor,E.isExpression));E.setOriginalNode(ce,q);E.setTextRange(ce,q);return ce}return E.visitEachChild(q,visitor,N)}function visitTaggedTemplateExpression(j){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(j.tag)){var q=R.createCallBinding(j.tag,$,_e),G=q.thisArg,ie=q.target;return R.updateTaggedTemplateExpression(j,R.createCallExpression(R.createPropertyAccessExpression(E.visitNode(ie,visitor),"bind"),undefined,[E.visitNode(G,visitor,E.isExpression)]),undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}if(we&&E.isSuperProperty(j.tag)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ae=R.createFunctionBindCall(E.visitNode(j.tag,visitor,E.isExpression),Je.classConstructor,[]);E.setOriginalNode(ae,j);E.setTextRange(ae,j);return R.updateTaggedTemplateExpression(j,ae,undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}return E.visitEachChild(j,visitor,N)}function transformClassStaticBlockDeclaration(N){if(Te){if(Je){We.set(E.getOriginalNodeId(N),Je)}G();var j=qe;qe=N;var $=E.visitNodes(N.body.statements,visitor,E.isStatement);$=R.mergeLexicalEnvironment($,q());qe=j;var ie=R.createImmediatelyInvokedArrowFunction($);E.setOriginalNode(ie,N);E.setTextRange(ie,N);E.addEmitFlags(ie,2);return ie}}function visitBinaryExpression(q,G){if(E.isDestructuringAssignment(q)){var ie=je;je=undefined;q=R.updateBinaryExpression(q,E.visitNode(q.left,visitorDestructuringTarget),q.operatorToken,E.visitNode(q.right,visitor));var ae=E.some(je)?R.inlineExpressions(E.compact(j(j([],je,true),[q],false))):q;je=ie;return ae}if(E.isAssignmentExpression(q)){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(q.left)){var ce=accessPrivateIdentifier(q.left.name);if(ce){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAssignment(ce,q.left.expression,q.right,q.operatorToken.kind),q),q)}}else if(we&&E.isSuperProperty(q.left)&&qe&&Je){var le=Je.classConstructor,_e=Je.superClassReference,Ee=Je.facts;if(Ee&1){return R.updateBinaryExpression(q,visitInvalidSuperProperty(q.left),q.operatorToken,E.visitNode(q.right,visitor,E.isExpression))}if(le&&_e){var Ie=E.isElementAccessExpression(q.left)?E.visitNode(q.left.argumentExpression,visitor,E.isExpression):E.isIdentifier(q.left.name)?R.createStringLiteralFromNode(q.left.name):undefined;if(Ie){var Ne=E.visitNode(q.right,visitor,E.isExpression);if(E.isCompoundAssignment(q.operatorToken.kind)){var Me=Ie;if(!E.isSimpleInlineableExpression(Ie)){Me=R.createTempVariable($);Ie=R.createAssignment(Me,Ie)}var Le=R.createReflectGetCall(_e,Me,le);E.setOriginalNode(Le,q.left);E.setTextRange(Le,q.left);Ne=R.createBinaryExpression(Le,E.getNonAssignmentOperatorForCompoundAssignment(q.operatorToken.kind),Ne);E.setTextRange(Ne,q)}var Be=G?undefined:R.createTempVariable($);if(Be){Ne=R.createAssignment(Be,Ne);E.setTextRange(Be,q)}Ne=R.createReflectSetCall(_e,Ie,Ne,le);E.setOriginalNode(Ne,q);E.setTextRange(Ne,q);if(Be){Ne=R.createComma(Ne,Be);E.setTextRange(Ne,q)}return Ne}}}}return E.visitEachChild(q,visitor,N)}function createPrivateIdentifierAssignment(j,$,q,G){$=E.visitNode($,visitor,E.isExpression);q=E.visitNode(q,visitor,E.isExpression);if(E.isCompoundAssignment(G)){var ie=createCopiableReceiverExpr($),ae=ie.readExpression,ce=ie.initializeExpression;$=ce||ae;q=R.createBinaryExpression(createPrivateIdentifierAccessHelper(j,ae),E.getNonAssignmentOperatorForCompoundAssignment(G),q)}E.setCommentRange($,E.moveRangePos($,-1));switch(j.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.setterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,undefined);case"f":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.variableName);default:E.Debug.assertNever(j,"Unknown private element type")}}function visitClassLike(R){if(!E.forEach(R.members,doesClassElementNeedTransform)){return E.visitEachChild(R,visitor,N)}var j=je;je=undefined;startClassLexicalEnvironment();if(Te){var $=E.getNameOfDeclaration(R);if($&&E.isIdentifier($)){getPrivateIdentifierEnvironment().className=E.idText($)}var q=getPrivateInstanceMethodsAndAccessors(R);if(E.some(q)){getPrivateIdentifierEnvironment().weakSetName=createHoistedVariableForClass("instances",q[0].name)}}var G=E.isClassDeclaration(R)?visitClassDeclaration(R):visitClassExpression(R);endClassLexicalEnvironment();je=j;return G}function doesClassElementNeedTransform(N){return E.isPropertyDeclaration(N)||E.isClassStaticBlockDeclaration(N)||Te&&N.name&&E.isPrivateIdentifier(N.name)}function getPrivateInstanceMethodsAndAccessors(N){return E.filter(N.members,E.isNonStaticMethodOrAccessorWithPrivateName)}function getClassFacts(N){var R=0;var j=E.getOriginalNode(N);if(E.isClassDeclaration(j)&&E.classOrConstructorParameterIsDecorated(j)){R|=1}for(var $=0,q=N.members;$_e){if(!Ee){E.addRange(Te,E.visitNodes($.body.statements,visitor,E.isStatement,_e,we-_e))}_e=we}}var Ie=R.createThis();addMethodStatements(Te,ce,Ie);addPropertyOrClassStaticBlockStatements(Te,ae,Ie);if($){E.addRange(Te,E.visitNodes($.body.statements,visitor,E.isStatement,_e))}Te=R.mergeLexicalEnvironment(Te,q());return E.setTextRange(R.createBlock(E.setTextRange(R.createNodeArray(Te),$?$.body.statements:j.members),true),$?$.body:undefined)}function addPropertyOrClassStaticBlockStatements(N,j,$){for(var q=0,G=j;q=0;--j){var $=ze[j];if(!$){continue}var R=(N=$.privateIdentifierEnvironment)===null||N===void 0?void 0:N.identifiers.get(E.escapedText);if(R){return R}}return undefined}function wrapPrivateIdentifierForDestructuringTarget(j){var q=R.getGeneratedNameForNode(j);var G=accessPrivateIdentifier(j.name);if(!G){return E.visitEachChild(j,visitor,N)}var ie=j.expression;if(E.isThisProperty(j)||E.isSuperProperty(j)||!E.isSimpleCopiableExpression(j.expression)){ie=R.createTempVariable($,true);getPendingExpressions().push(R.createBinaryExpression(ie,63,E.visitNode(j.expression,visitor,E.isExpression)))}return R.createAssignmentTargetWrapper(q,createPrivateIdentifierAssignment(G,ie,q,63))}function visitArrayAssignmentTarget(N){var j=E.getTargetOfBindingOrAssignmentElement(N);if(j){var $=void 0;if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(we&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}if($){if(E.isAssignmentExpression(N)){return R.updateBinaryExpression(N,$,N.operatorToken,E.visitNode(N.right,visitor,E.isExpression))}else if(E.isSpreadElement(N)){return R.updateSpreadElement(N,$)}else{return $}}}return E.visitNode(N,visitorDestructuringTarget)}function visitObjectAssignmentTarget(N){if(E.isObjectBindingOrAssignmentElement(N)&&!E.isShorthandPropertyAssignment(N)){var j=E.getTargetOfBindingOrAssignmentElement(N);var $=void 0;if(j){if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(we&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}}if(E.isPropertyAssignment(N)){var le=E.getInitializerOfBindingOrAssignmentElement(N);return R.updatePropertyAssignment(N,E.visitNode(N.name,visitor,E.isPropertyName),$?le?R.createAssignment($,E.visitNode(le,visitor)):$:E.visitNode(N.initializer,visitorDestructuringTarget,E.isExpression))}if(E.isSpreadAssignment(N)){return R.updateSpreadAssignment(N,$||E.visitNode(N.expression,visitorDestructuringTarget,E.isExpression))}E.Debug.assert($===undefined,"Should not have generated a wrapped target")}return E.visitNode(N,visitor)}function visitAssignmentPattern(N){if(E.isArrayLiteralExpression(N)){return R.updateArrayLiteralExpression(N,E.visitNodes(N.elements,visitArrayAssignmentTarget,E.isExpression))}else{return R.updateObjectLiteralExpression(N,E.visitNodes(N.properties,visitObjectAssignmentTarget,E.isObjectLiteralElementLike))}}}E.transformClassFields=transformClassFields;function createPrivateStaticFieldInitializer(N,R){return E.factory.createAssignment(N,E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment("value",R||E.factory.createVoidZero())]))}function createPrivateInstanceFieldInitializer(N,R,j){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(j,"set"),undefined,[N,R||E.factory.createVoidZero()])}function createPrivateInstanceMethodInitializer(N,R){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(R,"add"),undefined,[N])}function isReservedPrivateName(E){return E.escapedText==="#constructor"}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["NonTopLevel"]=1]="NonTopLevel";E[E["HasLexicalThis"]=2]="HasLexicalThis"})(R||(R={}));function transformES2017(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e;var Ee=0;var Te;var we;var Ie;var Ne=[];var Me=0;var Le=N.onEmitNode;var Be=N.onSubstituteNode;N.onEmitNode=onEmitNode;N.onSubstituteNode=onSubstituteNode;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}setContextFlag(1,false);setContextFlag(2,!E.isEffectiveStrictModeSourceFile(R,ce));var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function setContextFlag(E,N){Me=N?Me|E:Me&~E}function inContext(E){return(Me&E)!==0}function inTopLevelContext(){return!inContext(1)}function inHasLexicalThisContext(){return inContext(2)}function doWithContext(E,N,R){var j=E&~Me;if(j){setContextFlag(j,true);var $=N(R);setContextFlag(j,false);return $}return N(R)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&128)===0){return R}switch(R.kind){case 130:return undefined;case 216:return visitAwaitExpression(R);case 167:return doWithContext(1|2,visitMethodDeclaration,R);case 254:return doWithContext(1|2,visitFunctionDeclaration,R);case 211:return doWithContext(1|2,visitFunctionExpression,R);case 212:return doWithContext(1,visitArrowFunction,R);case 204:if(we&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){we.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 205:if(we&&R.expression.kind===106){Ie=true}return E.visitEachChild(R,visitor,N);case 170:case 171:case 169:case 255:case 224:return doWithContext(1|2,visitDefault,R);default:return E.visitEachChild(R,visitor,N)}}function asyncBodyVisitor(R){if(E.isNodeWithPossibleHoistedDeclaration(R)){switch(R.kind){case 235:return visitVariableStatementInAsyncBody(R);case 240:return visitForStatementInAsyncBody(R);case 241:return visitForInStatementInAsyncBody(R);case 242:return visitForOfStatementInAsyncBody(R);case 290:return visitCatchClauseInAsyncBody(R);case 233:case 247:case 261:case 287:case 288:case 250:case 238:case 239:case 237:case 246:case 248:return E.visitEachChild(R,asyncBodyVisitor,N);default:return E.Debug.assertNever(R,"Unhandled node.")}}return visitor(R)}function visitCatchClauseInAsyncBody(R){var j=new E.Set;recordDeclarationName(R.variableDeclaration,j);var $;j.forEach((function(N,R){if(Te.has(R)){if(!$){$=new E.Set(Te)}$.delete(R)}}));if($){var q=Te;Te=$;var G=E.visitEachChild(R,asyncBodyVisitor,N);Te=q;return G}else{return E.visitEachChild(R,asyncBodyVisitor,N)}}function visitVariableStatementInAsyncBody(j){if(isVariableDeclarationListWithCollidingName(j.declarationList)){var $=visitVariableDeclarationListWithCollidingNames(j.declarationList,false);return $?R.createExpressionStatement($):undefined}return E.visitEachChild(j,visitor,N)}function visitForInStatementInAsyncBody(j){return R.updateForInStatement(j,isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForOfStatementInAsyncBody(j){return R.updateForOfStatement(j,E.visitNode(j.awaitModifier,visitor,E.isToken),isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForStatementInAsyncBody(j){var $=j.initializer;return R.updateForStatement(j,isVariableDeclarationListWithCollidingName($)?visitVariableDeclarationListWithCollidingNames($,false):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitAwaitExpression(j){if(inTopLevelContext()){return E.visitEachChild(j,visitor,N)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,E.visitNode(j.expression,visitor,E.isExpression)),j),j)}function visitMethodDeclaration(j){return R.updateMethodDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionDeclaration(j){return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionExpression(j){return R.updateFunctionExpression(j,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitArrowFunction(j){return R.updateArrowFunction(j,E.visitNodes(j.modifiers,visitor,E.isModifier),undefined,E.visitParameterList(j.parameters,visitor,N),undefined,j.equalsGreaterThanToken,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function recordDeclarationName(N,R){var j=N.name;if(E.isIdentifier(j)){R.add(j.escapedText)}else{for(var $=0,q=j.elements;$=2&&ae.getNodeCheckFlags(N)&(4096|2048);if(qe){enableSubstitutionForAsyncMethodsWithSuper();if(we.size){var He=createSuperAccessVariableStatement(R,ae,N,we);Ne[E.getNodeId(He)]=true;E.insertStatementsAfterStandardPrologue(Je,[He])}}var Ge=R.createBlock(Je,true);E.setTextRange(Ge,N.body);if(qe&&Ie){if(ae.getNodeCheckFlags(N)&4096){E.addEmitHelper(Ge,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(N)&2048){E.addEmitHelper(Ge,E.asyncSuperHelper)}}We=Ge}else{var Ke=$().createAwaiterHelper(inHasLexicalThisContext(),Ee,ce,transformAsyncFunctionBodyWorker(N.body));var Qe=G();if(E.some(Qe)){var Ge=R.converters.convertToFunctionBlock(Ke);We=R.updateBlock(Ge,E.setTextRange(R.createNodeArray(E.concatenate(Qe,Ge.statements)),Ge.statements))}else{We=Ke}}Te=Me;if(!_e){we=Ue;Ie=ze}return We}function transformAsyncFunctionBodyWorker(N,j){if(E.isBlock(N)){return R.updateBlock(N,E.visitNodes(N.statements,asyncBodyVisitor,E.isStatement,j))}else{return R.converters.convertToFunctionBlock(E.visitNode(N,asyncBodyVisitor,E.isConciseBody))}}function getPromiseConstructor(N){var R=N&&E.getEntityNameFromTypeNode(N);if(R&&E.isEntityName(R)){var j=ae.getTypeReferenceSerializationKind(R);if(j===E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||j===E.TypeReferenceSerializationKind.Unknown){return R}}return undefined}function enableSubstitutionForAsyncMethodsWithSuper(){if((_e&1)===0){_e|=1;N.enableSubstitution(206);N.enableSubstitution(204);N.enableSubstitution(205);N.enableEmitNotification(255);N.enableEmitNotification(167);N.enableEmitNotification(170);N.enableEmitNotification(171);N.enableEmitNotification(169);N.enableEmitNotification(235)}}function onEmitNode(N,R,j){if(_e&1&&isSuperContainer(R)){var $=ae.getNodeCheckFlags(R)&(2048|4096);if($!==Ee){var q=Ee;Ee=$;Le(N,R,j);Ee=q;return}}else if(_e&&Ne[E.getNodeId(R)]){var q=Ee;Ee=0;Le(N,R,j);Ee=q;return}Le(N,R,j)}function onSubstituteNode(E,N){N=Be(E,N);if(E===1&&Ee){return substituteExpression(N)}return N}function substituteExpression(E){switch(E.kind){case 204:return substitutePropertyAccessExpression(E);case 205:return substituteElementAccessExpression(E);case 206:return substituteCallExpression(E)}return E}function substitutePropertyAccessExpression(N){if(N.expression.kind===106){return E.setTextRange(R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),N.name),N)}return N}function substituteElementAccessExpression(E){if(E.expression.kind===106){return createSuperElementAccessInAsyncMethod(E.argumentExpression,E)}return E}function substituteCallExpression(N){var $=N.expression;if(E.isSuperProperty($)){var q=E.isPropertyAccessExpression($)?substitutePropertyAccessExpression($):substituteElementAccessExpression($);return R.createCallExpression(R.createPropertyAccessExpression(q,"call"),undefined,j([R.createThis()],N.arguments,true))}return N}function isSuperContainer(E){var N=E.kind;return N===255||N===169||N===167||N===170||N===171}function createSuperElementAccessInAsyncMethod(N,j){if(Ee&4096){return E.setTextRange(R.createPropertyAccessExpression(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),"value"),j)}else{return E.setTextRange(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),j)}}}E.transformES2017=transformES2017;function createSuperAccessVariableStatement(N,R,j,$){var q=(R.getNodeCheckFlags(j)&4096)!==0;var G=[];$.forEach((function(R,j){var $=E.unescapeLeadingUnderscores(j);var ie=[];ie.push(N.createPropertyAssignment("get",N.createArrowFunction(undefined,undefined,[],undefined,undefined,E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4))));if(q){ie.push(N.createPropertyAssignment("set",N.createArrowFunction(undefined,undefined,[N.createParameterDeclaration(undefined,undefined,undefined,"v",undefined,undefined,undefined)],undefined,undefined,N.createAssignment(E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4),N.createIdentifier("v")))))}G.push(N.createPropertyAssignment($,N.createObjectLiteralExpression(ie)))}));return N.createVariableStatement(undefined,N.createVariableDeclarationList([N.createVariableDeclaration(N.createUniqueName("_super",16|32),undefined,undefined,N.createCallExpression(N.createPropertyAccessExpression(N.createIdentifier("Object"),"create"),undefined,[N.createNull(),N.createObjectLiteralExpression(G,true)]))],2))}E.createSuperAccessVariableStatement=createSuperAccessVariableStatement})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["None"]=0]="None";E[E["HasLexicalThis"]=1]="HasLexicalThis";E[E["IterationContainer"]=2]="IterationContainer";E[E["AncestorFactsMask"]=3]="AncestorFactsMask";E[E["SourceFileIncludes"]=1]="SourceFileIncludes";E[E["SourceFileExcludes"]=2]="SourceFileExcludes";E[E["StrictModeSourceFileIncludes"]=0]="StrictModeSourceFileIncludes";E[E["ClassOrFunctionIncludes"]=1]="ClassOrFunctionIncludes";E[E["ClassOrFunctionExcludes"]=2]="ClassOrFunctionExcludes";E[E["ArrowFunctionIncludes"]=0]="ArrowFunctionIncludes";E[E["ArrowFunctionExcludes"]=2]="ArrowFunctionExcludes";E[E["IterationStatementIncludes"]=2]="IterationStatementIncludes";E[E["IterationStatementExcludes"]=0]="IterationStatementExcludes"})(R||(R={}));function transformES2018(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.onEmitNode;N.onEmitNode=onEmitNode;var Ee=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Te=false;var we;var Ie;var Ne=0;var Me=0;var Le;var Be;var je;var Ue;var ze=[];return E.chainBundle(N,transformSourceFile);function affectsSubtree(E,N){return Me!==(Me&~E|N)}function enterSubtree(E,N){var R=Me;Me=(Me&~E|N)&3;return R}function exitSubtree(E){Me=E}function recordTaggedTemplateString(N){Be=E.append(Be,R.createVariableDeclaration(N))}function transformSourceFile(R){if(R.isDeclarationFile){return R}Le=R;var j=visitSourceFile(R);E.addEmitHelpers(j,N.readEmitHelpers());Le=undefined;Be=undefined;return j}function visitor(E){return visitorWorker(E,false)}function visitorWithUnusedExpressionResult(E){return visitorWorker(E,true)}function visitorNoAsyncModifier(E){if(E.kind===130){return undefined}return E}function doWithHierarchyFacts(E,N,R,j){if(affectsSubtree(R,j)){var $=enterSubtree(R,j);var q=E(N);exitSubtree($);return q}return E(N)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitorWorker(R,j){if((R.transformFlags&64)===0){return R}switch(R.kind){case 216:return visitAwaitExpression(R);case 222:return visitYieldExpression(R);case 245:return visitReturnStatement(R);case 248:return visitLabeledStatement(R);case 203:return visitObjectLiteralExpression(R);case 219:return visitBinaryExpression(R,j);case 346:return visitCommaListExpression(R,j);case 290:return visitCatchClause(R);case 235:return visitVariableStatement(R);case 252:return visitVariableDeclaration(R);case 238:case 239:case 241:return doWithHierarchyFacts(visitDefault,R,0,2);case 242:return visitForOfStatement(R,undefined);case 240:return doWithHierarchyFacts(visitForStatement,R,0,2);case 215:return visitVoidExpression(R);case 169:return doWithHierarchyFacts(visitConstructorDeclaration,R,2,1);case 167:return doWithHierarchyFacts(visitMethodDeclaration,R,2,1);case 170:return doWithHierarchyFacts(visitGetAccessorDeclaration,R,2,1);case 171:return doWithHierarchyFacts(visitSetAccessorDeclaration,R,2,1);case 254:return doWithHierarchyFacts(visitFunctionDeclaration,R,2,1);case 211:return doWithHierarchyFacts(visitFunctionExpression,R,2,1);case 212:return doWithHierarchyFacts(visitArrowFunction,R,2,0);case 162:return visitParameter(R);case 236:return visitExpressionStatement(R);case 210:return visitParenthesizedExpression(R,j);case 208:return visitTaggedTemplateExpression(R);case 204:if(je&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){je.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 205:if(je&&R.expression.kind===106){Ue=true}return E.visitEachChild(R,visitor,N);case 255:case 224:return doWithHierarchyFacts(visitDefault,R,2,1);default:return E.visitEachChild(R,visitor,N)}}function visitAwaitExpression(j){if(Ie&2&&Ie&1){return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(E.visitNode(j.expression,visitor,E.isExpression))),j),j)}return E.visitEachChild(j,visitor,N)}function visitYieldExpression(j){if(Ie&2&&Ie&1){if(j.asteriskToken){var q=E.visitNode(E.Debug.assertDefined(j.expression),visitor,E.isExpression);return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(R.updateYieldExpression(j,j.asteriskToken,E.setTextRange($().createAsyncDelegatorHelper(E.setTextRange($().createAsyncValuesHelper(q),q)),q)))),j),j)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero())),j),j)}return E.visitEachChild(j,visitor,N)}function visitReturnStatement(j){if(Ie&2&&Ie&1){return R.updateReturnStatement(j,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero()))}return E.visitEachChild(j,visitor,N)}function visitLabeledStatement(j){if(Ie&2){var $=E.unwrapInnermostStatementOfLabel(j);if($.kind===242&&$.awaitModifier){return visitForOfStatement($,j)}return R.restoreEnclosingLabel(E.visitNode($,visitor,E.isStatement,R.liftToBlock),j)}return E.visitEachChild(j,visitor,N)}function chunkObjectLiteralElements(N){var j;var $=[];for(var q=0,G=N;q1){for(var ie=1;ie=2&&ae.getNodeCheckFlags(j)&(4096|2048);if(we){enableSubstitutionForAsyncMethodsWithSuper();var Ie=E.createSuperAccessVariableStatement(R,ae,j,je);ze[E.getNodeId(Ie)]=true;E.insertStatementsAfterStandardPrologue(ie,[Ie])}ie.push(Te);E.insertStatementsAfterStandardPrologue(ie,G());var Ne=R.updateBlock(j.body,ie);if(we&&Ue){if(ae.getNodeCheckFlags(j)&4096){E.addEmitHelper(Ne,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(j)&2048){E.addEmitHelper(Ne,E.asyncSuperHelper)}}je=_e;Ue=Ee;return Ne}function transformFunctionBody(N){var j;q();var $=0;var ie=[];var ae=(j=E.visitNode(N.body,visitor,E.isConciseBody))!==null&&j!==void 0?j:R.createBlock([]);if(E.isBlock(ae)){$=R.copyPrologue(ae.statements,ie,false,visitor)}E.addRange(ie,appendObjectRestAssignmentsIfNeeded(undefined,N));var ce=G();if($>0||E.some(ie)||E.some(ce)){var le=R.converters.convertToFunctionBlock(ae,true);E.insertStatementsAfterStandardPrologue(ie,ce);E.addRange(ie,le.statements.slice($));return R.updateBlock(le,E.setTextRange(R.createNodeArray(ie),le.statements))}return ae}function appendObjectRestAssignmentsIfNeeded(j,$){for(var q=0,G=$.parameters;q1?"jsxs":"jsx"}function getJsxFactoryCallee(E){var N=getJsxFactoryCalleePrimitive(E);return getImplicitImportForName(N)}function getImplicitJsxFragmentReference(){return getImplicitImportForName("Fragment")}function getImplicitImportForName(N){var R,$;var G=N==="createElement"?ie.importSpecifier:E.getJSXRuntimeImport(ie.importSpecifier,q);var ae=($=(R=ie.utilizedImplicitRuntimeImports)===null||R===void 0?void 0:R.get(G))===null||$===void 0?void 0:$.get(N);if(ae){return ae.name}if(!ie.utilizedImplicitRuntimeImports){ie.utilizedImplicitRuntimeImports=E.createMap()}var ce=ie.utilizedImplicitRuntimeImports.get(G);if(!ce){ce=E.createMap();ie.utilizedImplicitRuntimeImports.set(G,ce)}var le=j.createUniqueName("_"+N,16|32|64);var _e=j.createImportSpecifier(j.createIdentifier(N),le);le.generatedImportReference=_e;ce.set(N,_e);return le}function transformSourceFile(N){if(N.isDeclarationFile){return N}G=N;ie={};ie.importSpecifier=E.getJSXImplicitImportBase(q,N);var $=E.visitEachChild(N,visitor,R);E.addEmitHelpers($,R.readEmitHelpers());var ae=$.statements;if(ie.filenameDeclaration){ae=E.insertStatementAfterCustomPrologue(ae.slice(),j.createVariableStatement(undefined,j.createVariableDeclarationList([ie.filenameDeclaration],2)))}if(ie.utilizedImplicitRuntimeImports){for(var ce=0,le=E.arrayFrom(ie.utilizedImplicitRuntimeImports.entries());ce1?j.createTrue():j.createFalse());var Ee=E.getLineAndCharacterOfPosition(_e,ce.pos);le.push(j.createObjectLiteralExpression([j.createPropertyAssignment("fileName",getCurrentFileNameExpression()),j.createPropertyAssignment("lineNumber",j.createNumericLiteral(Ee.line+1)),j.createPropertyAssignment("columnNumber",j.createNumericLiteral(Ee.character+1))]));le.push(j.createThis())}}var Te=E.setTextRange(j.createCallExpression(getJsxFactoryCallee(ie),undefined,le),ce);if(ae){E.startOnNewLine(Te)}return Te}function visitJsxOpeningLikeElementCreateElement(N,ae,ce,le){var _e=getTagName(N);var Ee;var Te=N.attributes.properties;if(Te.length===0){Ee=j.createNull()}else{var we=q.target;if(we&&we>=5){Ee=j.createObjectLiteralExpression(E.flatten(E.spanMap(Te,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToSpreadAssignment):E.map(N,transformJsxAttributeToObjectLiteralElement)}))))}else{var Ie=E.flatten(E.spanMap(Te,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToExpression):j.createObjectLiteralExpression(E.map(N,transformJsxAttributeToObjectLiteralElement))})));if(E.isJsxSpreadAttribute(Te[0])){Ie.unshift(j.createObjectLiteralExpression())}Ee=E.singleOrUndefined(Ie);if(!Ee){Ee=$().createAssignHelper(Ie)}}}var Ne=ie.importSpecifier===undefined?E.createJsxFactoryExpression(j,R.getEmitResolver().getJsxFactoryEntity(G),q.reactNamespace,N):getImplicitImportForName("createElement");var Me=E.createExpressionForJsxElement(j,Ne,_e,Ee,E.mapDefined(ae,transformJsxChildToExpression),le);if(ce){E.startOnNewLine(Me)}return Me}function visitJsxOpeningFragmentJSX(N,R,$,q){var G;if(R&&R.length){var ie=convertJsxChildrenToChildrenPropObject(R);if(ie){G=ie}}return visitJsxOpeningLikeElementOrFragmentJSX(getImplicitJsxFragmentReference(),G||j.createObjectLiteralExpression([]),undefined,E.length(E.getSemanticJsxChildren(R)),$,q)}function visitJsxOpeningFragmentCreateElement(N,$,ie,ae){var ce=E.createExpressionForJsxFragment(j,R.getEmitResolver().getJsxFactoryEntity(G),R.getEmitResolver().getJsxFragmentFactoryEntity(G),q.reactNamespace,E.mapDefined($,transformJsxChildToExpression),N,ae);if(ie){E.startOnNewLine(ce)}return ce}function transformJsxSpreadAttributeToSpreadAssignment(N){return j.createSpreadAssignment(E.visitNode(N.expression,visitor,E.isExpression))}function transformJsxSpreadAttributeToExpression(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformJsxAttributeToObjectLiteralElement(E){var N=getAttributeName(E);var R=transformJsxAttributeInitializer(E.initializer);return j.createPropertyAssignment(N,R)}function transformJsxAttributeInitializer(N){if(N===undefined){return j.createTrue()}else if(N.kind===10){var R=N.singleQuote!==undefined?N.singleQuote:!E.isStringDoubleQuoted(N,G);var $=j.createStringLiteral(tryDecodeEntities(N.text)||N.text,R);return E.setTextRange($,N)}else if(N.kind===286){if(N.expression===undefined){return j.createTrue()}return E.visitNode(N.expression,visitor,E.isExpression)}else{return E.Debug.failBadSyntaxKind(N)}}function visitJsxText(E){var N=fixupWhitespaceAndDecodeEntities(E.text);return N===undefined?undefined:j.createStringLiteral(N)}function fixupWhitespaceAndDecodeEntities(N){var R;var j=0;var $=-1;for(var q=0;q0){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding($,visitor,N,0,R.getGeneratedNameForNode($)))),1048576));return true}else if(G){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createExpressionStatement(R.createAssignment(R.getGeneratedNameForNode($),E.visitNode(G,visitor,E.isExpression))),1048576));return true}return false}function insertDefaultValueAssignmentForInitializer(N,j,$,q){q=E.visitNode(q,visitor,E.isExpression);var G=R.createIfStatement(R.createTypeCheck(R.cloneNode($),"undefined"),E.setEmitFlags(E.setTextRange(R.createBlock([R.createExpressionStatement(E.setEmitFlags(E.setTextRange(R.createAssignment(E.setEmitFlags(E.setParent(E.setTextRange(R.cloneNode($),$),$.parent),48),E.setEmitFlags(q,48|E.getEmitFlags(q)|1536)),j),1536))]),j),1|32|384|1536));E.startOnNewLine(G);E.setTextRange(G,j);E.setEmitFlags(G,384|32|1048576|1536);E.insertStatementAfterCustomPrologue(N,G)}function shouldAddRestParameter(E,N){return!!(E&&E.dotDotDotToken&&!N)}function addRestParameterIfNeeded(j,$,q){var G=[];var ie=E.lastOrUndefined($.parameters);if(!shouldAddRestParameter(ie,q)){return false}var ae=ie.name.kind===79?E.setParent(E.setTextRange(R.cloneNode(ie.name),ie.name),ie.name.parent):R.createTempVariable(undefined);E.setEmitFlags(ae,48);var ce=ie.name.kind===79?R.cloneNode(ie.name):ae;var le=$.parameters.length-1;var _e=R.createLoopVariable();G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(ae,undefined,undefined,R.createArrayLiteralExpression([]))])),ie),1048576));var Ee=R.createForStatement(E.setTextRange(R.createVariableDeclarationList([R.createVariableDeclaration(_e,undefined,undefined,R.createNumericLiteral(le))]),ie),E.setTextRange(R.createLessThan(_e,R.createPropertyAccessExpression(R.createIdentifier("arguments"),"length")),ie),E.setTextRange(R.createPostfixIncrement(_e),ie),R.createBlock([E.startOnNewLine(E.setTextRange(R.createExpressionStatement(R.createAssignment(R.createElementAccessExpression(ce,le===0?_e:R.createSubtract(_e,R.createNumericLiteral(le))),R.createElementAccessExpression(R.createIdentifier("arguments"),_e))),ie))]));E.setEmitFlags(Ee,1048576);E.startOnNewLine(Ee);G.push(Ee);if(ie.name.kind!==79){G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding(ie,visitor,N,0,ce))),ie),1048576))}E.insertStatementsAfterCustomPrologue(j,G);return true}function insertCaptureThisForNodeIfNeeded(E,N){if(Ie&65536&&N.kind!==212){insertCaptureThisForNode(E,N,R.createThis());return true}return false}function insertCaptureThisForNode(N,j,$){enableSubstitutionsForCapturedThis();var q=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_this",16|32),undefined,undefined,$)]));E.setEmitFlags(q,1536|1048576);E.setSourceMapRange(q,j);E.insertStatementAfterCustomPrologue(N,q)}function insertCaptureNewTargetIfNeeded(N,j,$){if(Ie&32768){var q=void 0;switch(j.kind){case 212:return N;case 167:case 170:case 171:q=R.createVoidZero();break;case 169:q=R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor");break;case 254:case 211:q=R.createConditionalExpression(R.createLogicalAnd(E.setEmitFlags(R.createThis(),4),R.createBinaryExpression(E.setEmitFlags(R.createThis(),4),102,R.getLocalName(j))),undefined,R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor"),undefined,R.createVoidZero());break;default:return E.Debug.failBadSyntaxKind(j)}var G=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_newTarget",16|32),undefined,undefined,q)]));E.setEmitFlags(G,1536|1048576);if($){N=N.slice()}E.insertStatementAfterCustomPrologue(N,G)}return N}function addClassMembers(N,R){for(var j=0,$=R.members;j<$.length;j++){var q=$[j];switch(q.kind){case 232:N.push(transformSemicolonClassElementToStatement(q));break;case 167:N.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(R,q),q,R));break;case 170:case 171:var G=E.getAllAccessorDeclarations(R.members,q);if(q===G.firstAccessor){N.push(transformAccessorsToStatement(getClassMemberPrefix(R,q),G,R))}break;case 169:case 168:break;default:E.Debug.failBadSyntaxKind(q,Te&&Te.fileName);break}}}function transformSemicolonClassElementToStatement(N){return E.setTextRange(R.createEmptyStatement(),N)}function transformClassMethodDeclarationToStatement(j,$,q){var G=E.getCommentRange($);var ie=E.getSourceMapRange($);var ae=transformFunctionLikeToExpression($,$,undefined,q);var ce=E.visitNode($.name,visitor,E.isPropertyName);var le;if(!E.isPrivateIdentifier(ce)&&E.getUseDefineForClassFields(N.getCompilerOptions())){var _e=E.isComputedPropertyName(ce)?ce.expression:E.isIdentifier(ce)?R.createStringLiteral(E.unescapeLeadingUnderscores(ce.escapedText)):ce;le=R.createObjectDefinePropertyCall(j,_e,R.createPropertyDescriptor({value:ae,enumerable:false,writable:true,configurable:true}))}else{var Ee=E.createMemberAccessForPropertyName(R,j,ce,$.name);le=R.createAssignment(Ee,ae)}E.setEmitFlags(ae,1536);E.setSourceMapRange(ae,ie);var Te=E.setTextRange(R.createExpressionStatement(le),$);E.setOriginalNode(Te,$);E.setCommentRange(Te,G);E.setEmitFlags(Te,48);return Te}function transformAccessorsToStatement(N,j,$){var q=R.createExpressionStatement(transformAccessorsToExpression(N,j,$,false));E.setEmitFlags(q,1536);E.setSourceMapRange(q,E.getSourceMapRange(j.firstAccessor));return q}function transformAccessorsToExpression(N,j,$,q){var G=j.firstAccessor,ie=j.getAccessor,ae=j.setAccessor;var ce=E.setParent(E.setTextRange(R.cloneNode(N),N),N.parent);E.setEmitFlags(ce,1536|32);E.setSourceMapRange(ce,G.name);var le=E.visitNode(G.name,visitor,E.isPropertyName);if(E.isPrivateIdentifier(le)){return E.Debug.failBadSyntaxKind(le,"Encountered unhandled private identifier while transforming ES2015.")}var _e=E.createExpressionForPropertyName(R,le);E.setEmitFlags(_e,1536|16);E.setSourceMapRange(_e,G.name);var Ee=[];if(ie){var Te=transformFunctionLikeToExpression(ie,undefined,undefined,$);E.setSourceMapRange(Te,E.getSourceMapRange(ie));E.setEmitFlags(Te,512);var we=R.createPropertyAssignment("get",Te);E.setCommentRange(we,E.getCommentRange(ie));Ee.push(we)}if(ae){var Ie=transformFunctionLikeToExpression(ae,undefined,undefined,$);E.setSourceMapRange(Ie,E.getSourceMapRange(ae));E.setEmitFlags(Ie,512);var Ne=R.createPropertyAssignment("set",Ie);E.setCommentRange(Ne,E.getCommentRange(ae));Ee.push(Ne)}Ee.push(R.createPropertyAssignment("enumerable",ie||ae?R.createFalse():R.createTrue()),R.createPropertyAssignment("configurable",R.createTrue()));var Me=R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"defineProperty"),undefined,[ce,_e,R.createObjectLiteralExpression(Ee,true)]);if(q){E.startOnNewLine(Me)}return Me}function visitArrowFunction(j){if(j.transformFlags&8192&&!(Ie&16384)){Ie|=65536}var $=Me;Me=undefined;var q=enterSubtree(15232,66);var G=R.createFunctionExpression(undefined,undefined,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformFunctionBody(j));E.setTextRange(G,j);E.setOriginalNode(G,j);E.setEmitFlags(G,8);exitSubtree(q,0,0);Me=$;return G}function visitFunctionExpression(j){var $=E.getEmitFlags(j)&262144?enterSubtree(32662,69):enterSubtree(32670,65);var q=Me;Me=undefined;var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree($,98304,0);Me=q;return R.updateFunctionExpression(j,undefined,j.asteriskToken,ae,undefined,G,undefined,ie)}function visitFunctionDeclaration(j){var $=Me;Me=undefined;var q=enterSubtree(32670,65);var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree(q,98304,0);Me=$;return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,ae,undefined,G,undefined,ie)}function transformFunctionLikeToExpression(j,$,q,G){var ie=Me;Me=undefined;var ae=G&&E.isClassLike(G)&&!E.isStatic(j)?enterSubtree(32670,65|8):enterSubtree(32670,65);var ce=E.visitParameterList(j.parameters,visitor,N);var le=transformFunctionBody(j);if(Ie&32768&&!q&&(j.kind===254||j.kind===211)){q=R.getGeneratedNameForNode(j)}exitSubtree(ae,98304,0);Me=ie;return E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,j.asteriskToken,q,undefined,ce,undefined,le),$),j)}function transformFunctionBody(N){var j=false;var $=false;var q;var ae;var ce=[];var le=[];var _e=N.body;var Ee;G();if(E.isBlock(_e)){Ee=R.copyStandardPrologue(_e.statements,ce,false);Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor,E.isHoistedFunction);Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor,E.isHoistedVariableStatement)}j=addDefaultValueAssignmentsIfNeeded(le,N)||j;j=addRestParameterIfNeeded(le,N,false)||j;if(E.isBlock(_e)){Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor);q=_e.statements;E.addRange(le,E.visitNodes(_e.statements,visitor,E.isStatement,Ee));if(!j&&_e.multiLine){j=true}}else{E.Debug.assert(N.kind===212);q=E.moveRangeEnd(_e,-1);var we=N.equalsGreaterThanToken;if(!E.nodeIsSynthesized(we)&&!E.nodeIsSynthesized(_e)){if(E.rangeEndIsOnSameLineAsRangeStart(we,_e,Te)){$=true}else{j=true}}var Ie=E.visitNode(_e,visitor,E.isExpression);var Ne=R.createReturnStatement(Ie);E.setTextRange(Ne,_e);E.moveSyntheticComments(Ne,_e);E.setEmitFlags(Ne,384|32|1024);le.push(Ne);ae=_e}R.mergeLexicalEnvironment(ce,ie());insertCaptureNewTargetIfNeeded(ce,N,false);insertCaptureThisForNodeIfNeeded(ce,N);if(E.some(ce)){j=true}le.unshift.apply(le,ce);if(E.isBlock(_e)&&E.arrayIsEqualTo(le,_e.statements)){return _e}var Me=R.createBlock(E.setTextRange(R.createNodeArray(le),q),j);E.setTextRange(Me,N.body);if(!j&&$){E.setEmitFlags(Me,1)}if(ae){E.setTokenSourceMapRange(Me,19,ae)}E.setOriginalNode(Me,N.body);return Me}function visitBlock(R,j){if(j){return E.visitEachChild(R,visitor,N)}var $=Ie&256?enterSubtree(7104,512):enterSubtree(6976,128);var q=E.visitEachChild(R,visitor,N);exitSubtree($,0,0);return q}function visitExpressionStatement(R){return E.visitEachChild(R,visitorWithUnusedExpressionResult,N)}function visitParenthesizedExpression(R,j){return E.visitEachChild(R,j?visitorWithUnusedExpressionResult:visitor,N)}function visitBinaryExpression(j,$){if(E.isDestructuringAssignment(j)){return E.flattenDestructuringAssignment(j,visitor,N,0,!$)}if(j.operatorToken.kind===27){return R.updateBinaryExpression(j,E.visitNode(j.left,visitorWithUnusedExpressionResult,E.isExpression),j.operatorToken,E.visitNode(j.right,$?visitorWithUnusedExpressionResult:visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaListExpression(j,$){if($){return E.visitEachChild(j,visitorWithUnusedExpressionResult,N)}var q;for(var G=0;G=N.end){return false}var $=E.getEnclosingBlockScopeContainer(N);while(j){if(j===$||j===N){return false}if(E.isClassElement(j)&&j.parent===N){return true}j=j.parent}return false}function substituteThisKeyword(N){if(Le&1&&Ie&16){return E.setTextRange(R.createUniqueName("_this",16|32),N)}return N}function getClassMemberPrefix(N,j){return E.isStatic(j)?R.getInternalName(N):R.createPropertyAccessExpression(R.getInternalName(N),"prototype")}function hasSynthesizedDefaultSuperCall(N,R){if(!N||!R){return false}if(E.some(N.parameters)){return false}var j=E.firstOrUndefined(N.body.statements);if(!j||!E.nodeIsSynthesized(j)||j.kind!==236){return false}var $=j.expression;if(!E.nodeIsSynthesized($)||$.kind!==206){return false}var q=$.expression;if(!E.nodeIsSynthesized(q)||q.kind!==106){return false}var G=E.singleOrUndefined($.arguments);if(!G||!E.nodeIsSynthesized(G)||G.kind!==223){return false}var ie=G.expression;return E.isIdentifier(ie)&&ie.escapedText==="arguments"}}E.transformES2015=transformES2015})(ce||(ce={}));var ce;(function(E){function transformES5(N){var R=N.factory;var j=N.getCompilerOptions();var $;var q;if(j.jsx===1||j.jsx===3){$=N.onEmitNode;N.onEmitNode=onEmitNode;N.enableEmitNotification(278);N.enableEmitNotification(279);N.enableEmitNotification(277);q=[]}var G=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;N.enableSubstitution(204);N.enableSubstitution(291);return E.chainBundle(N,transformSourceFile);function transformSourceFile(E){return E}function onEmitNode(N,R,j){switch(R.kind){case 278:case 279:case 277:var G=R.tagName;q[E.getOriginalNodeId(G)]=true;break}$(N,R,j)}function onSubstituteNode(N,R){if(R.id&&q&&q[R.id]){return G(N,R)}R=G(N,R);if(E.isPropertyAccessExpression(R)){return substitutePropertyAccessExpression(R)}else if(E.isPropertyAssignment(R)){return substitutePropertyAssignment(R)}return R}function substitutePropertyAccessExpression(N){if(E.isPrivateIdentifier(N.name)){return N}var j=trySubstituteReservedName(N.name);if(j){return E.setTextRange(R.createElementAccessExpression(N.expression,j),N)}return N}function substitutePropertyAssignment(N){var j=E.isIdentifier(N.name)&&trySubstituteReservedName(N.name);if(j){return R.updatePropertyAssignment(N,j,N.initializer)}return N}function trySubstituteReservedName(N){var j=N.originalKeywordKind||(E.nodeIsSynthesized(N)?E.stringToToken(E.idText(N)):undefined);if(j!==undefined&&j>=81&&j<=116){return E.setTextRange(R.createStringLiteralFromNode(N),N)}return undefined}}E.transformES5=transformES5})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Nop"]=0]="Nop";E[E["Statement"]=1]="Statement";E[E["Assign"]=2]="Assign";E[E["Break"]=3]="Break";E[E["BreakWhenTrue"]=4]="BreakWhenTrue";E[E["BreakWhenFalse"]=5]="BreakWhenFalse";E[E["Yield"]=6]="Yield";E[E["YieldStar"]=7]="YieldStar";E[E["Return"]=8]="Return";E[E["Throw"]=9]="Throw";E[E["Endfinally"]=10]="Endfinally"})(N||(N={}));var R;(function(E){E[E["Open"]=0]="Open";E[E["Close"]=1]="Close"})(R||(R={}));var $;(function(E){E[E["Exception"]=0]="Exception";E[E["With"]=1]="With";E[E["Switch"]=2]="Switch";E[E["Loop"]=3]="Loop";E[E["Labeled"]=4]="Labeled"})($||($={}));var q;(function(E){E[E["Try"]=0]="Try";E[E["Catch"]=1]="Catch";E[E["Finally"]=2]="Finally";E[E["Done"]=3]="Done"})(q||(q={}));var G;(function(E){E[E["Next"]=0]="Next";E[E["Throw"]=1]="Throw";E[E["Return"]=2]="Return";E[E["Break"]=3]="Break";E[E["Yield"]=4]="Yield";E[E["YieldStar"]=5]="YieldStar";E[E["Catch"]=6]="Catch";E[E["Endfinally"]=7]="Endfinally"})(G||(G={}));function getInstructionName(E){switch(E){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return undefined}}function transformGenerators(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistFunctionDeclaration,ae=N.hoistVariableDeclaration;var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.getEmitResolver();var Ee=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We=1;var Je;var Ve;var qe;var He;var Ge=0;var Ke=0;var Qe;var Xe;var Ye;var Ze;var et;var tt;var rt;var nt;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile||(R.transformFlags&1024)===0){return R}var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function visitor(R){var j=R.transformFlags;if(Ne){return visitJavaScriptInStatementContainingYield(R)}else if(Ie){return visitJavaScriptInGeneratorFunctionBody(R)}else if(E.isFunctionLikeDeclaration(R)&&R.asteriskToken){return visitGenerator(R)}else if(j&1024){return E.visitEachChild(R,visitor,N)}else{return R}}function visitJavaScriptInStatementContainingYield(E){switch(E.kind){case 238:return visitDoStatement(E);case 239:return visitWhileStatement(E);case 247:return visitSwitchStatement(E);case 248:return visitLabeledStatement(E);default:return visitJavaScriptInGeneratorFunctionBody(E)}}function visitJavaScriptInGeneratorFunctionBody(R){switch(R.kind){case 254:return visitFunctionDeclaration(R);case 211:return visitFunctionExpression(R);case 170:case 171:return visitAccessorDeclaration(R);case 235:return visitVariableStatement(R);case 240:return visitForStatement(R);case 241:return visitForInStatement(R);case 244:return visitBreakStatement(R);case 243:return visitContinueStatement(R);case 245:return visitReturnStatement(R);default:if(R.transformFlags&524288){return visitJavaScriptContainingYield(R)}else if(R.transformFlags&(1024|2097152)){return E.visitEachChild(R,visitor,N)}else{return R}}}function visitJavaScriptContainingYield(R){switch(R.kind){case 219:return visitBinaryExpression(R);case 346:return visitCommaListExpression(R);case 220:return visitConditionalExpression(R);case 222:return visitYieldExpression(R);case 202:return visitArrayLiteralExpression(R);case 203:return visitObjectLiteralExpression(R);case 205:return visitElementAccessExpression(R);case 206:return visitCallExpression(R);case 207:return visitNewExpression(R);default:return E.visitEachChild(R,visitor,N)}}function visitGenerator(N){switch(N.kind){case 254:return visitFunctionDeclaration(N);case 211:return visitFunctionExpression(N);default:return E.Debug.failBadSyntaxKind(N)}}function visitFunctionDeclaration(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionDeclaration(undefined,j.modifiers,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}if(Ie){ie(j);return undefined}else{return j}}function visitFunctionExpression(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}return j}function visitAccessorDeclaration(R){var j=Ie;var $=Ne;Ie=false;Ne=false;R=E.visitEachChild(R,visitor,N);Ie=j;Ne=$;return R}function transformGeneratorFunctionBody(N){var j=[];var $=Ie;var ie=Ne;var ae=Me;var ce=Le;var le=Be;var _e=je;var Ee=Ue;var Te=ze;var we=We;var Ge=Je;var Ke=Ve;var Qe=qe;var Xe=He;Ie=true;Ne=false;Me=undefined;Le=undefined;Be=undefined;je=undefined;Ue=undefined;ze=undefined;We=1;Je=undefined;Ve=undefined;qe=undefined;He=R.createTempVariable(undefined);q();var Ye=R.copyPrologue(N.statements,j,false,visitor);transformAndEmitStatements(N.statements,Ye);var Ze=build();E.insertStatementsAfterStandardPrologue(j,G());j.push(R.createReturnStatement(Ze));Ie=$;Ne=ie;Me=ae;Le=ce;Be=le;je=_e;Ue=Ee;ze=Te;We=we;Je=Ge;Ve=Ke;qe=Qe;He=Xe;return E.setTextRange(R.createBlock(j,N.multiLine),N)}function visitVariableStatement(N){if(N.transformFlags&524288){transformAndEmitVariableDeclarationList(N.declarationList);return undefined}else{if(E.getEmitFlags(N)&1048576){return N}for(var j=0,$=N.declarationList.declarations;j<$.length;j++){var q=$[j];ae(q.name)}var G=E.getInitializedVariables(N.declarationList);if(G.length===0){return undefined}return E.setSourceMapRange(R.createExpressionStatement(R.inlineExpressions(E.map(G,transformInitializedVariable))),N)}}function visitBinaryExpression(N){var R=E.getExpressionAssociativity(N);switch(R){case 0:return visitLeftAssociativeBinaryExpression(N);case 1:return visitRightAssociativeBinaryExpression(N);default:return E.Debug.assertNever(R)}}function visitRightAssociativeBinaryExpression(j){var $=j.left,q=j.right;if(containsYield(q)){var G=void 0;switch($.kind){case 204:G=R.updatePropertyAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),$.name);break;case 205:G=R.updateElementAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),cacheExpression(E.visitNode($.argumentExpression,visitor,E.isExpression)));break;default:G=E.visitNode($,visitor,E.isExpression);break}var ie=j.operatorToken.kind;if(E.isCompoundAssignment(ie)){return E.setTextRange(R.createAssignment(G,E.setTextRange(R.createBinaryExpression(cacheExpression(G),E.getNonAssignmentOperatorForCompoundAssignment(ie),E.visitNode(q,visitor,E.isExpression)),j)),j)}else{return R.updateBinaryExpression(j,G,j.operatorToken,E.visitNode(q,visitor,E.isExpression))}}return E.visitEachChild(j,visitor,N)}function visitLeftAssociativeBinaryExpression(j){if(containsYield(j.right)){if(E.isLogicalOperator(j.operatorToken.kind)){return visitLogicalBinaryExpression(j)}else if(j.operatorToken.kind===27){return visitCommaExpression(j)}return R.updateBinaryExpression(j,cacheExpression(E.visitNode(j.left,visitor,E.isExpression)),j.operatorToken,E.visitNode(j.right,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaExpression(N){var j=[];visit(N.left);visit(N.right);return R.inlineExpressions(j);function visit(N){if(E.isBinaryExpression(N)&&N.operatorToken.kind===27){visit(N.left);visit(N.right)}else{if(containsYield(N)&&j.length>0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(N,visitor,E.isExpression))}}}function visitCommaListExpression(N){var j=[];for(var $=0,q=N.elements;$0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(G,visitor,E.isExpression))}}return R.inlineExpressions(j)}function visitLogicalBinaryExpression(N){var R=defineLabel();var j=declareLocal();emitAssignment(j,E.visitNode(N.left,visitor,E.isExpression),N.left);if(N.operatorToken.kind===55){emitBreakWhenFalse(R,j,N.left)}else{emitBreakWhenTrue(R,j,N.left)}emitAssignment(j,E.visitNode(N.right,visitor,E.isExpression),N.right);markLabel(R);return j}function visitConditionalExpression(R){if(containsYield(R.whenTrue)||containsYield(R.whenFalse)){var j=defineLabel();var $=defineLabel();var q=declareLocal();emitBreakWhenFalse(j,E.visitNode(R.condition,visitor,E.isExpression),R.condition);emitAssignment(q,E.visitNode(R.whenTrue,visitor,E.isExpression),R.whenTrue);emitBreak($);markLabel(j);emitAssignment(q,E.visitNode(R.whenFalse,visitor,E.isExpression),R.whenFalse);markLabel($);return q}return E.visitEachChild(R,visitor,N)}function visitYieldExpression(N){var R=defineLabel();var j=E.visitNode(N.expression,visitor,E.isExpression);if(N.asteriskToken){var q=(E.getEmitFlags(N.expression)&8388608)===0?E.setTextRange($().createValuesHelper(j),N):j;emitYieldStar(q,N)}else{emitYield(j,N)}markLabel(R);return createGeneratorResume(N)}function visitArrayLiteralExpression(E){return visitElements(E.elements,undefined,undefined,E.multiLine)}function visitElements(N,$,q,G){var ie=countInitialNodesWithoutYield(N);var ae;if(ie>0){ae=declareLocal();var ce=E.visitNodes(N,visitor,E.isExpression,0,ie);emitAssignment(ae,R.createArrayLiteralExpression($?j([$],ce,true):ce));$=undefined}var le=E.reduceLeft(N,reduceElement,[],ie);return ae?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(le,G)]):E.setTextRange(R.createArrayLiteralExpression($?j([$],le,true):le,G),q);function reduceElement(N,q){if(containsYield(q)&&N.length>0){var ie=ae!==undefined;if(!ae){ae=declareLocal()}emitAssignment(ae,ie?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(N,G)]):R.createArrayLiteralExpression($?j([$],N,true):N,G));$=undefined;N=[]}N.push(E.visitNode(q,visitor,E.isExpression));return N}}function visitObjectLiteralExpression(N){var j=N.properties;var $=N.multiLine;var q=countInitialNodesWithoutYield(j);var G=declareLocal();emitAssignment(G,R.createObjectLiteralExpression(E.visitNodes(j,visitor,E.isObjectLiteralElementLike,0,q),$));var ie=E.reduceLeft(j,reduceProperty,[],q);ie.push($?E.startOnNewLine(E.setParent(E.setTextRange(R.cloneNode(G),G),G.parent)):G);return R.inlineExpressions(ie);function reduceProperty(j,q){if(containsYield(q)&&j.length>0){emitStatement(R.createExpressionStatement(R.inlineExpressions(j)));j=[]}var ie=E.createExpressionForObjectLiteralElementLike(R,N,q,G);var ae=E.visitNode(ie,visitor,E.isExpression);if(ae){if($){E.startOnNewLine(ae)}j.push(ae)}return j}}function visitElementAccessExpression(j){if(containsYield(j.argumentExpression)){return R.updateElementAccessExpression(j,cacheExpression(E.visitNode(j.expression,visitor,E.isLeftHandSideExpression)),E.visitNode(j.argumentExpression,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCallExpression(j){if(!E.isImportCall(j)&&E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(j.expression,ae,le,true),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isLeftHandSideExpression)),G,visitElements(j.arguments)),j),j)}return E.visitEachChild(j,visitor,N)}function visitNewExpression(j){if(E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(R.createPropertyAccessExpression(j.expression,"bind"),ae),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createNewExpression(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isExpression)),G,visitElements(j.arguments,R.createVoidZero())),undefined,[]),j),j)}return E.visitEachChild(j,visitor,N)}function transformAndEmitStatements(E,N){if(N===void 0){N=0}var R=E.length;for(var j=N;j0){break}_e.push(transformInitializedVariable(q))}if(_e.length){emitStatement(R.createExpressionStatement(R.inlineExpressions(_e)));le+=_e.length;_e=[]}}return undefined}function transformInitializedVariable(N){return E.setSourceMapRange(R.createAssignment(E.setSourceMapRange(R.cloneNode(N.name),N.name),E.visitNode(N.initializer,visitor,E.isExpression)),N)}function transformAndEmitIfStatement(N){if(containsYield(N)){if(containsYield(N.thenStatement)||containsYield(N.elseStatement)){var R=defineLabel();var j=N.elseStatement?defineLabel():undefined;emitBreakWhenFalse(N.elseStatement?j:R,E.visitNode(N.expression,visitor,E.isExpression),N.expression);transformAndEmitEmbeddedStatement(N.thenStatement);if(N.elseStatement){emitBreak(R);markLabel(j);transformAndEmitEmbeddedStatement(N.elseStatement)}markLabel(R)}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitDoStatement(N){if(containsYield(N)){var R=defineLabel();var j=defineLabel();beginLoopBlock(R);markLabel(j);transformAndEmitEmbeddedStatement(N.statement);markLabel(R);emitBreakWhenTrue(j,E.visitNode(N.expression,visitor,E.isExpression));endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitDoStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitWhileStatement(N){if(containsYield(N)){var R=defineLabel();var j=beginLoopBlock(R);markLabel(R);emitBreakWhenFalse(j,E.visitNode(N.expression,visitor,E.isExpression));transformAndEmitEmbeddedStatement(N.statement);emitBreak(R);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitWhileStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitForStatement(N){if(containsYield(N)){var j=defineLabel();var $=defineLabel();var q=beginLoopBlock($);if(N.initializer){var G=N.initializer;if(E.isVariableDeclarationList(G)){transformAndEmitVariableDeclarationList(G)}else{emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(G,visitor,E.isExpression)),G))}}markLabel(j);if(N.condition){emitBreakWhenFalse(q,E.visitNode(N.condition,visitor,E.isExpression))}transformAndEmitEmbeddedStatement(N.statement);markLabel($);if(N.incrementor){emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(N.incrementor,visitor,E.isExpression)),N.incrementor))}emitBreak(j);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitForStatement(j){if(Ne){beginScriptLoopBlock()}var $=j.initializer;if($&&E.isVariableDeclarationList($)){for(var q=0,G=$.declarations;q0?R.inlineExpressions(E.map(ce,transformInitializedVariable)):undefined,E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}else{j=E.visitEachChild(j,visitor,N)}if(Ne){endLoopBlock()}return j}function transformAndEmitForInStatement(N){if(containsYield(N)){var j=declareLocal();var $=declareLocal();var q=R.createLoopVariable();var G=N.initializer;ae(q);emitAssignment(j,R.createArrayLiteralExpression());emitStatement(R.createForInStatement($,E.visitNode(N.expression,visitor,E.isExpression),R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(j,"push"),undefined,[$]))));emitAssignment(q,R.createNumericLiteral(0));var ie=defineLabel();var ce=defineLabel();var le=beginLoopBlock(ce);markLabel(ie);emitBreakWhenFalse(le,R.createLessThan(q,R.createPropertyAccessExpression(j,"length")));var _e=void 0;if(E.isVariableDeclarationList(G)){for(var Ee=0,Te=G.declarations;Ee0){emitBreak(R,N)}else{emitStatement(N)}}function visitContinueStatement(R){if(Ne){var j=findContinueTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitBreakStatement(N){var R=findBreakTarget(N.label?E.idText(N.label):undefined);if(R>0){emitBreak(R,N)}else{emitStatement(N)}}function visitBreakStatement(R){if(Ne){var j=findBreakTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitReturnStatement(N){emitReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function visitReturnStatement(N){return createInlineReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function transformAndEmitWithStatement(N){if(containsYield(N)){beginWithBlock(cacheExpression(E.visitNode(N.expression,visitor,E.isExpression)));transformAndEmitEmbeddedStatement(N.statement);endWithBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitSwitchStatement(N){if(containsYield(N.caseBlock)){var j=N.caseBlock;var $=j.clauses.length;var q=beginSwitchBlock();var G=cacheExpression(E.visitNode(N.expression,visitor,E.isExpression));var ie=[];var ae=-1;for(var ce=0;ce<$;ce++){var le=j.clauses[ce];ie.push(defineLabel());if(le.kind===288&&ae===-1){ae=ce}}var _e=0;var Ee=[];while(_e<$){var Te=0;for(var ce=_e;ce<$;ce++){var le=j.clauses[ce];if(le.kind===287){if(containsYield(le.expression)&&Ee.length>0){break}Ee.push(R.createCaseClause(E.visitNode(le.expression,visitor,E.isExpression),[createInlineBreak(ie[ce],le.expression)]))}else{Te++}}if(Ee.length){emitStatement(R.createSwitchStatement(G,R.createCaseBlock(Ee)));_e+=Ee.length;Ee=[]}if(Te>0){_e+=Te;Te=0}}if(ae>=0){emitBreak(ie[ae])}else{emitBreak(q)}for(var ce=0;ce<$;ce++){markLabel(ie[ce]);transformAndEmitStatements(j.clauses[ce].statements)}endSwitchBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitSwitchStatement(R){if(Ne){beginScriptSwitchBlock()}R=E.visitEachChild(R,visitor,N);if(Ne){endSwitchBlock()}return R}function transformAndEmitLabeledStatement(N){if(containsYield(N)){beginLabeledBlock(E.idText(N.label));transformAndEmitEmbeddedStatement(N.statement);endLabeledBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitLabeledStatement(R){if(Ne){beginScriptLabeledBlock(E.idText(R.label))}R=E.visitEachChild(R,visitor,N);if(Ne){endLabeledBlock()}return R}function transformAndEmitThrowStatement(N){var j;emitThrow(E.visitNode((j=N.expression)!==null&&j!==void 0?j:R.createVoidZero(),visitor,E.isExpression),N)}function transformAndEmitTryStatement(R){if(containsYield(R)){beginExceptionBlock();transformAndEmitEmbeddedStatement(R.tryBlock);if(R.catchClause){beginCatchBlock(R.catchClause.variableDeclaration);transformAndEmitEmbeddedStatement(R.catchClause.block)}if(R.finallyBlock){beginFinallyBlock();transformAndEmitEmbeddedStatement(R.finallyBlock)}endExceptionBlock()}else{emitStatement(E.visitEachChild(R,visitor,N))}}function containsYield(E){return!!E&&(E.transformFlags&524288)!==0}function countInitialNodesWithoutYield(E){var N=E.length;for(var R=0;R=0;R--){var j=je[R];if(supportsLabeledBreakOrContinue(j)){if(j.labelText===E){return true}}else{break}}return false}function findBreakTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsLabeledBreakOrContinue(R)&&R.labelText===E){return R.breakLabel}else if(supportsUnlabeledBreak(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.breakLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledBreak(R)){return R.breakLabel}}}}return 0}function findContinueTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.continueLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)){return R.continueLabel}}}}return 0}function createLabel(E){if(E!==undefined&&E>0){if(ze===undefined){ze=[]}var N=R.createNumericLiteral(-1);if(ze[E]===undefined){ze[E]=[N]}else{ze[E].push(N)}return N}return R.createOmittedExpression()}function createInstruction(N){var j=R.createNumericLiteral(N);E.addSyntheticTrailingComment(j,3,getInstructionName(N));return j}function createInlineBreak(N,j){E.Debug.assertLessThan(0,N,"Invalid label");return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(3),createLabel(N)])),j)}function createInlineReturn(N,j){return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression(N?[createInstruction(2),N]:[createInstruction(2)])),j)}function createGeneratorResume(N){return E.setTextRange(R.createCallExpression(R.createPropertyAccessExpression(He,"sent"),undefined,[]),N)}function emitNop(){emitWorker(0)}function emitStatement(E){if(E){emitWorker(1,[E])}else{emitNop()}}function emitAssignment(E,N,R){emitWorker(2,[E,N],R)}function emitBreak(E,N){emitWorker(3,[E],N)}function emitBreakWhenTrue(E,N,R){emitWorker(4,[E,N],R)}function emitBreakWhenFalse(E,N,R){emitWorker(5,[E,N],R)}function emitYieldStar(E,N){emitWorker(7,[E],N)}function emitYield(E,N){emitWorker(6,[E],N)}function emitReturn(E,N){emitWorker(8,[E],N)}function emitThrow(E,N){emitWorker(9,[E],N)}function emitEndfinally(){emitWorker(10)}function emitWorker(E,N,R){if(Je===undefined){Je=[];Ve=[];qe=[]}if(Ue===undefined){markLabel(defineLabel())}var j=Je.length;Je[j]=E;Ve[j]=N;qe[j]=R}function build(){Ge=0;Ke=0;Qe=undefined;Xe=false;Ye=false;Ze=undefined;et=undefined;tt=undefined;rt=undefined;nt=undefined;var N=buildStatements();return $().createGeneratorHelper(E.setEmitFlags(R.createFunctionExpression(undefined,undefined,undefined,undefined,[R.createParameterDeclaration(undefined,undefined,undefined,He)],undefined,R.createBlock(N,N.length>0)),524288))}function buildStatements(){if(Je){for(var N=0;N=0;N--){var j=nt[N];et=[R.createWithStatement(j.expression,R.createBlock(et))]}}if(rt){var $=rt.startLabel,q=rt.catchLabel,G=rt.finallyLabel,ie=rt.endLabel;et.unshift(R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(R.createPropertyAccessExpression(He,"trys"),"push"),undefined,[R.createArrayLiteralExpression([createLabel($),createLabel(q),createLabel(G),createLabel(ie)])])));rt=undefined}if(E){et.push(R.createExpressionStatement(R.createAssignment(R.createPropertyAccessExpression(He,"label"),R.createNumericLiteral(Ke+1))))}}Ze.push(R.createCaseClause(R.createNumericLiteral(Ke),et||[]));et=undefined}function tryEnterLabel(E){if(!Ue){return}for(var N=0;N(E.isExportName(N)?1:0)}return false}function visitDestructuringAssignment(N,j){if(destructuringNeedsFlattening(N.left)){return E.flattenDestructuringAssignment(N,visitor,R,0,!j,createAllExportExpressions)}return E.visitEachChild(N,visitor,R)}function visitForStatement(N){return $.updateForStatement(N,E.visitNode(N.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(N.condition,visitor,E.isExpression),E.visitNode(N.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(N.statement,visitor,R))}function visitExpressionStatement(N){return $.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function visitParenthesizedExpression(N,R){return $.updateParenthesizedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPartiallyEmittedExpression(N,R){return $.updatePartiallyEmittedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPreOrPostfixUnaryExpression(N,j){if((N.operator===45||N.operator===46)&&E.isIdentifier(N.operand)&&!E.isGeneratedIdentifier(N.operand)&&!E.isLocalName(N.operand)&&!E.isDeclarationNameOfEnumOrNamespace(N.operand)){var q=getExports(N.operand);if(q){var G=void 0;var ie=E.visitNode(N.operand,visitor,E.isExpression);if(E.isPrefixUnaryExpression(N)){ie=$.updatePrefixUnaryExpression(N,ie)}else{ie=$.updatePostfixUnaryExpression(N,ie);if(!j){G=$.createTempVariable(ae);ie=$.createAssignment(G,ie);E.setTextRange(ie,N)}ie=$.createComma(ie,$.cloneNode(N.operand));E.setTextRange(ie,N)}for(var ce=0,le=q;ce=2){le=$.createArrowFunction(undefined,undefined,ie,undefined,undefined,ae)}else{le=$.createFunctionExpression(undefined,undefined,undefined,undefined,ie,undefined,ae);if(R){E.setEmitFlags(le,8)}}var _e=$.createNewExpression($.createIdentifier("Promise"),undefined,[le]);if(ce.esModuleInterop){return $.createCallExpression($.createPropertyAccessExpression(_e,$.createIdentifier("then")),undefined,[q().createImportStarCallbackHelper()])}return _e}function createImportCallExpressionCommonJS(N,R){var j=$.createCallExpression($.createPropertyAccessExpression($.createIdentifier("Promise"),"resolve"),undefined,[]);var G=$.createCallExpression($.createIdentifier("require"),undefined,N?[N]:[]);if(ce.esModuleInterop){G=q().createImportStarHelper(G)}var ie;if(Ee>=2){ie=$.createArrowFunction(undefined,undefined,[],undefined,undefined,G)}else{ie=$.createFunctionExpression(undefined,undefined,undefined,undefined,[],undefined,$.createBlock([$.createReturnStatement(G)]));if(R){E.setEmitFlags(ie,8)}}return $.createCallExpression($.createPropertyAccessExpression(j,"then"),undefined,[ie])}function getHelperExpressionForExport(N,R){if(!ce.esModuleInterop||E.getEmitFlags(N)&67108864){return R}if(E.getExportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}return R}function getHelperExpressionForImport(N,R){if(!ce.esModuleInterop||E.getEmitFlags(N)&67108864){return R}if(E.getImportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}if(E.getImportNeedsImportDefaultHelper(N)){return q().createImportDefaultHelper(R)}return R}function visitImportDeclaration(N){var R;var j=E.getNamespaceDeclarationNode(N);if(Te!==E.ModuleKind.AMD){if(!N.importClause){return E.setOriginalNode(E.setTextRange($.createExpressionStatement(createRequireCall(N)),N),N)}else{var q=[];if(j&&!E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))))}else{q.push($.createVariableDeclaration($.getGeneratedNameForNode(N),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))));if(j&&E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)))}}R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList(q,Ee>=2?2:0)),N),N))}}else if(j&&E.isDefaultImport(N)){R=E.append(R,$.createVariableStatement(undefined,$.createVariableDeclarationList([E.setOriginalNode(E.setTextRange($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)),N),N)],Ee>=2?2:0)))}if(hasAssociatedEndOfDeclarationMarker(N)){var G=E.getOriginalNodeId(N);Me[G]=appendExportsOfImportDeclaration(Me[G],N)}else{R=appendExportsOfImportDeclaration(R,N)}return E.singleOrMany(R)}function createRequireCall(N){var R=E.getExternalModuleNameLiteral($,N,Le,_e,le,ce);var j=[];if(R){j.push(R)}return $.createCallExpression($.createIdentifier("require"),undefined,j)}function visitImportEqualsDeclaration(N){E.Debug.assert(E.isExternalModuleImportEqualsDeclaration(N),"import= for internal module references should be handled in an earlier transformer.");var R;if(Te!==E.ModuleKind.AMD){if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression(N.name,createRequireCall(N))),N),N))}else{R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration($.cloneNode(N.name),undefined,undefined,createRequireCall(N))],Ee>=2?2:0)),N),N))}}else{if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression($.getExportName(N),$.getLocalName(N))),N),N))}}if(hasAssociatedEndOfDeclarationMarker(N)){var j=E.getOriginalNodeId(N);Me[j]=appendExportsOfImportEqualsDeclaration(Me[j],N)}else{R=appendExportsOfImportEqualsDeclaration(R,N)}return E.singleOrMany(R)}function visitExportDeclaration(N){if(!N.moduleSpecifier){return undefined}var R=$.getGeneratedNameForNode(N);if(N.exportClause&&E.isNamedExports(N.exportClause)){var j=[];if(Te!==E.ModuleKind.AMD){j.push(E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration(R,undefined,undefined,createRequireCall(N))])),N),N))}for(var G=0,ie=N.exportClause.elements;GE.ModuleKind.ES2015){return N}if(!N.exportClause||!E.isNamespaceExport(N.exportClause)||!N.moduleSpecifier){return N}var j=N.exportClause.name;var $=R.getGeneratedNameForNode(j);var G=R.createImportDeclaration(undefined,undefined,R.createImportClause(false,undefined,R.createNamespaceImport($)),N.moduleSpecifier);E.setOriginalNode(G,N.exportClause);var ie=E.isExportNamespaceAsDefaultDeclaration(N)?R.createExportDefault($):R.createExportDeclaration(undefined,undefined,false,R.createNamedExports([R.createExportSpecifier($,j)]));E.setOriginalNode(ie,N);return[G,ie]}function onEmitNode(N,R,j){if(E.isSourceFile(R)){if((E.isExternalModule(R)||q.isolatedModules)&&q.importHelpers){ae=new E.Map}G(N,R,j);ae=undefined}else{G(N,R,j)}}function onSubstituteNode(N,R){R=ie(N,R);if(ae&&E.isIdentifier(R)&&E.getEmitFlags(R)&4096){return substituteHelperName(R)}return R}function substituteHelperName(N){var j=E.idText(N);var $=ae.get(j);if(!$){ae.set(j,$=R.createUniqueName(j,16|32))}return $}}E.transformECMAScriptModule=transformECMAScriptModule})(ce||(ce={}));var ce;(function(E){function canProduceDiagnostics(N){return E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isBindingElement(N)||E.isSetAccessor(N)||E.isGetAccessor(N)||E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isParameter(N)||E.isTypeParameterDeclaration(N)||E.isExpressionWithTypeArguments(N)||E.isImportEqualsDeclaration(N)||E.isTypeAliasDeclaration(N)||E.isConstructorDeclaration(N)||E.isIndexSignatureDeclaration(N)||E.isPropertyAccessExpression(N)||E.isJSDocTypeAlias(N)}E.canProduceDiagnostics=canProduceDiagnostics;function createGetSymbolAccessibilityDiagnosticForNodeName(N){if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorNameVisibilityError}else if(E.isMethodSignature(N)||E.isMethodDeclaration(N)){return getMethodNameVisibilityError}else{return createGetSymbolAccessibilityDiagnosticForNode(N)}function getAccessorNameVisibilityError(E){var R=getAccessorNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}function getMethodNameVisibilityError(E){var R=getMethodNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getMethodNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}}E.createGetSymbolAccessibilityDiagnosticForNodeName=createGetSymbolAccessibilityDiagnosticForNodeName;function createGetSymbolAccessibilityDiagnosticForNode(N){if(E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isPropertyAccessExpression(N)||E.isBindingElement(N)||E.isConstructorDeclaration(N)){return getVariableDeclarationTypeVisibilityError}else if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorDeclarationTypeVisibilityError}else if(E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isIndexSignatureDeclaration(N)){return getReturnTypeVisibilityError}else if(E.isParameter(N)){if(E.isParameterPropertyDeclaration(N,N.parent)&&E.hasSyntacticModifier(N.parent,8)){return getVariableDeclarationTypeVisibilityError}return getParameterDeclarationTypeVisibilityError}else if(E.isTypeParameterDeclaration(N)){return getTypeParameterConstraintVisibilityError}else if(E.isExpressionWithTypeArguments(N)){return getHeritageClauseVisibilityError}else if(E.isImportEqualsDeclaration(N)){return getImportEntityNameVisibilityError}else if(E.isTypeAliasDeclaration(N)||E.isJSDocTypeAlias(N)){return getTypeAliasDeclarationVisibilityError}else{return E.Debug.assertNever(N,"Attempted to set a declaration diagnostic context for unhandled node kind: "+E.SyntaxKind[N.kind])}function getVariableDeclarationTypeVisibilityDiagnosticMessage(R){if(N.kind===252||N.kind===201){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1}else if(N.kind===165||N.kind===204||N.kind===164||N.kind===162&&E.hasSyntacticModifier(N.parent,8)){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255||N.kind===162){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}}function getVariableDeclarationTypeVisibilityError(E){var R=getVariableDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorDeclarationTypeVisibilityError(R){var j;if(N.kind===171){if(E.isStatic(N)){j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1}}else{if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1}}return{diagnosticMessage:j,errorNode:N.name,typeName:N.name}}function getReturnTypeVisibilityError(R){var j;switch(N.kind){case 173:j=R.errorModuleName?E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 172:j=R.errorModuleName?E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:j=R.errorModuleName?E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 167:case 166:if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0}else if(N.parent.kind===255){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0}else{j=R.errorModuleName?E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0}break;case 254:j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return E.Debug.fail("This is unknown kind for signature: "+N.kind)}return{diagnosticMessage:j,errorNode:N.name||N}}function getParameterDeclarationTypeVisibilityError(E){var R=getParameterDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getParameterDeclarationTypeVisibilityDiagnosticMessage(R){switch(N.parent.kind){case 169:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 173:case 178:return R.errorModuleName?E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 172:return R.errorModuleName?E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:return R.errorModuleName?E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 167:case 166:if(E.isStatic(N.parent)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}case 254:case 177:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 171:case 170:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return E.Debug.fail("Unknown parent for parameter: "+E.SyntaxKind[N.parent.kind])}}function getTypeParameterConstraintVisibilityError(){var R;switch(N.parent.kind){case 255:R=E.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 256:R=E.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 193:R=E.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 178:case 173:R=E.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 172:R=E.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 167:case 166:if(E.isStatic(N.parent)){R=E.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===255){R=E.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{R=E.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}break;case 177:case 254:R=E.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 257:R=E.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return E.Debug.fail("This is unknown parent for type parameter: "+N.parent.kind)}return{diagnosticMessage:R,errorNode:N,typeName:N.name}}function getHeritageClauseVisibilityError(){var R;if(E.isClassDeclaration(N.parent.parent)){R=E.isHeritageClause(N.parent)&&N.parent.token===117?E.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:N.parent.parent.name?E.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:E.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0}else{R=E.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1}return{diagnosticMessage:R,errorNode:N,typeName:E.getNameOfDeclaration(N.parent.parent)}}function getImportEntityNameVisibilityError(){return{diagnosticMessage:E.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:N,typeName:N.name}}function getTypeAliasDeclarationVisibilityError(R){return{diagnosticMessage:R.errorModuleName?E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:E.isJSDocTypeAlias(N)?E.Debug.checkDefined(N.typeExpression):N.type,typeName:E.isJSDocTypeAlias(N)?E.getNameOfDeclaration(N):N.name}}}E.createGetSymbolAccessibilityDiagnosticForNode=createGetSymbolAccessibilityDiagnosticForNode})(ce||(ce={}));var ce;(function(E){function getDeclarationDiagnostics(N,R,j){var $=N.getCompilerOptions();var q=E.transformNodes(R,N,E.factory,$,j?[j]:E.filter(N.getSourceFiles(),E.isSourceFileNotJson),[transformDeclarations],false);return q.diagnostics}E.getDeclarationDiagnostics=getDeclarationDiagnostics;function hasInternalAnnotation(N,R){var j=R.text.substring(N.pos,N.end);return E.stringContains(j,"@internal")}function isInternalDeclaration(N,R){var j=E.getParseTreeNode(N);if(j&&j.kind===162){var $=j.parent.parameters.indexOf(j);var q=$>0?j.parent.parameters[$-1]:undefined;var G=R.text;var ie=q?E.concatenate(E.getTrailingCommentRanges(G,E.skipTrivia(G,q.end+1,false,true)),E.getLeadingCommentRanges(G,N.pos)):E.getTrailingCommentRanges(G,E.skipTrivia(G,N.pos,false,true));return ie&&ie.length&&hasInternalAnnotation(E.last(ie),R)}var ae=j&&E.getLeadingCommentRangesOfNode(j,R);return!!E.forEach(ae,(function(E){return hasInternalAnnotation(E,R)}))}E.isInternalDeclaration=isInternalDeclaration;var N=1024|2048|4096|8|524288|4|1;function transformDeclarations(R){var throwDiagnostic=function(){return E.Debug.fail("Diagnostic emitted without context")};var $=throwDiagnostic;var q=true;var G=false;var ie=false;var ae=false;var ce=false;var le;var _e;var Ee;var Te;var we;var Ie;var Ne=R.factory;var Me=R.getEmitHost();var Le={trackSymbol:trackSymbol,reportInaccessibleThisError:reportInaccessibleThisError,reportInaccessibleUniqueSymbolError:reportInaccessibleUniqueSymbolError,reportCyclicStructureError:reportCyclicStructureError,reportPrivateInBaseOfClassExpression:reportPrivateInBaseOfClassExpression,reportLikelyUnsafeImportRequiredError:reportLikelyUnsafeImportRequiredError,reportTruncationError:reportTruncationError,moduleResolverHost:Me,trackReferencedAmbientModule:trackReferencedAmbientModule,trackExternalModuleSymbolOfImportTypeNode:trackExternalModuleSymbolOfImportTypeNode,reportNonlocalAugmentation:reportNonlocalAugmentation,reportNonSerializableProperty:reportNonSerializableProperty};var Be;var je;var Ue;var ze;var We;var Je;var Ve=R.getEmitResolver();var qe=R.getCompilerOptions();var He=qe.noResolve,Ge=qe.stripInternal;return transformRoot;function recordTypeReferenceDirectivesIfNecessary(N){if(!N){return}_e=_e||new E.Set;for(var R=0,j=N;R0?E.parameters[0].type:undefined}}function canHaveLiteralInitializer(N){switch(N.kind){case 165:case 164:return!E.hasEffectiveModifier(N,8);case 162:case 252:return true}return false}function isPreservedDeclarationStatement(E){switch(E.kind){case 254:case 259:case 263:case 256:case 255:case 257:case 258:case 235:case 264:case 270:case 269:return true}return false}function isProcessedComponent(E){switch(E.kind){case 173:case 169:case 167:case 170:case 171:case 165:case 164:case 166:case 172:case 174:case 252:case 161:case 226:case 176:case 187:case 177:case 178:case 198:return true}return false}})(ce||(ce={}));var ce;(function(E){function getModuleTransformer(N){switch(N){case E.ModuleKind.ESNext:case E.ModuleKind.ES2020:case E.ModuleKind.ES2015:return E.transformECMAScriptModule;case E.ModuleKind.System:return E.transformSystemModule;default:return E.transformModule}}var N;(function(E){E[E["Uninitialized"]=0]="Uninitialized";E[E["Initialized"]=1]="Initialized";E[E["Completed"]=2]="Completed";E[E["Disposed"]=3]="Disposed"})(N||(N={}));var R;(function(E){E[E["Substitution"]=1]="Substitution";E[E["EmitNotifications"]=2]="EmitNotifications"})(R||(R={}));E.noTransformers={scriptTransformers:E.emptyArray,declarationTransformers:E.emptyArray};function getTransformers(E,N,R){return{scriptTransformers:getScriptTransformers(E,N,R),declarationTransformers:getDeclarationTransformers(N)}}E.getTransformers=getTransformers;function getScriptTransformers(N,R,j){if(j)return E.emptyArray;var $=E.getEmitScriptTarget(N);var q=E.getEmitModuleKind(N);var G=[];E.addRange(G,R&&E.map(R.before,wrapScriptTransformerFactory));G.push(E.transformTypeScript);G.push(E.transformClassFields);if(E.getJSXTransformEnabled(N)){G.push(E.transformJsx)}if($<99){G.push(E.transformESNext)}if($<8){G.push(E.transformES2021)}if($<7){G.push(E.transformES2020)}if($<6){G.push(E.transformES2019)}if($<5){G.push(E.transformES2018)}if($<4){G.push(E.transformES2017)}if($<3){G.push(E.transformES2016)}if($<2){G.push(E.transformES2015);G.push(E.transformGenerators)}G.push(getModuleTransformer(q));if($<1){G.push(E.transformES5)}E.addRange(G,R&&E.map(R.after,wrapScriptTransformerFactory));return G}function getDeclarationTransformers(N){var R=[];R.push(E.transformDeclarations);E.addRange(R,N&&E.map(N.afterDeclarations,wrapDeclarationTransformerFactory));return R}function wrapCustomTransformer(N){return function(R){return E.isBundle(R)?N.transformBundle(R):N.transformSourceFile(R)}}function wrapCustomTransformerFactory(E,N){return function(R){var j=E(R);return typeof j==="function"?N(R,j):wrapCustomTransformer(j)}}function wrapScriptTransformerFactory(N){return wrapCustomTransformerFactory(N,E.chainBundle)}function wrapDeclarationTransformerFactory(E){return wrapCustomTransformerFactory(E,(function(E,N){return N}))}function noEmitSubstitution(E,N){return N}E.noEmitSubstitution=noEmitSubstitution;function noEmitNotification(E,N,R){R(E,N)}E.noEmitNotification=noEmitNotification;function transformNodes(N,R,$,q,G,ie,ae){var ce=new Array(350);var le;var _e;var Ee;var Te=0;var we=[];var Ie=[];var Ne=[];var Me=[];var Le=0;var Be=false;var je=[];var Ue=0;var ze;var We;var Je=noEmitSubstitution;var Ve=noEmitNotification;var qe=0;var He=[];var Ge={factory:$,getCompilerOptions:function(){return q},getEmitResolver:function(){return N},getEmitHost:function(){return R},getEmitHelperFactory:E.memoize((function(){return E.createEmitHelperFactory(Ge)})),startLexicalEnvironment:startLexicalEnvironment,suspendLexicalEnvironment:suspendLexicalEnvironment,resumeLexicalEnvironment:resumeLexicalEnvironment,endLexicalEnvironment:endLexicalEnvironment,setLexicalEnvironmentFlags:setLexicalEnvironmentFlags,getLexicalEnvironmentFlags:getLexicalEnvironmentFlags,hoistVariableDeclaration:hoistVariableDeclaration,hoistFunctionDeclaration:hoistFunctionDeclaration,addInitializationStatement:addInitializationStatement,startBlockScope:startBlockScope,endBlockScope:endBlockScope,addBlockScopedVariable:addBlockScopedVariable,requestEmitHelper:requestEmitHelper,readEmitHelpers:readEmitHelpers,enableSubstitution:enableSubstitution,enableEmitNotification:enableEmitNotification,isSubstitutionEnabled:isSubstitutionEnabled,isEmitNotificationEnabled:isEmitNotificationEnabled,get onSubstituteNode(){return Je},set onSubstituteNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Je=N},get onEmitNode(){return Ve},set onEmitNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Ve=N},addDiagnostic:function(E){He.push(E)}};for(var Ke=0,Qe=G;Ke0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");var R=E.setEmitFlags($.createVariableDeclaration(N),64);if(!le){le=[R]}else{le.push(R)}if(Te&1){Te|=2}}function hoistFunctionDeclaration(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!_e){_e=[N]}else{_e.push(N)}}function addInitializationStatement(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!Ee){Ee=[N]}else{Ee.push(N)}}function startLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");we[Le]=le;Ie[Le]=_e;Ne[Le]=Ee;Me[Le]=Te;Le++;le=undefined;_e=undefined;Ee=undefined;Te=0}function suspendLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is already suspended.");Be=true}function resumeLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(Be,"Lexical environment is not suspended.");Be=false}function endLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");var N;if(le||_e||Ee){if(_e){N=j([],_e,true)}if(le){var R=$.createVariableStatement(undefined,$.createVariableDeclarationList(le));E.setEmitFlags(R,1048576);if(!N){N=[R]}else{N.push(R)}}if(Ee){if(!N){N=j([],Ee,true)}else{N=j(j([],N,true),Ee,true)}}}Le--;le=we[Le];_e=Ie[Le];Ee=Ne[Le];Te=Me[Le];if(Le===0){we=[];Ie=[];Ne=[];Me=[]}return N}function setLexicalEnvironmentFlags(E,N){Te=N?Te|E:Te&~E}function getLexicalEnvironmentFlags(){return Te}function startBlockScope(){E.Debug.assert(qe>0,"Cannot start a block scope during initialization.");E.Debug.assert(qe<2,"Cannot start a block scope after transformation has completed.");je[Ue]=ze;Ue++;ze=undefined}function endBlockScope(){E.Debug.assert(qe>0,"Cannot end a block scope during initialization.");E.Debug.assert(qe<2,"Cannot end a block scope after transformation has completed.");var N=E.some(ze)?[$.createVariableStatement(undefined,$.createVariableDeclarationList(ze.map((function(E){return $.createVariableDeclaration(E)})),1))]:undefined;Ue--;ze=je[Ue];if(Ue===0){je=[]}return N}function addBlockScopedVariable(N){E.Debug.assert(Ue>0,"Cannot add a block scoped variable outside of an iteration body.");(ze||(ze=[])).push(N)}function requestEmitHelper(N){E.Debug.assert(qe>0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");E.Debug.assert(!N.scoped,"Cannot request a scoped emit helper.");if(N.dependencies){for(var R=0,j=N.dependencies;R0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");var N=We;We=undefined;return N}function dispose(){if(qe<3){for(var N=0,R=G;N");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitJSDocFunctionType(E){writeKeyword("function");emitParameters(E,E.parameters);writePunctuation(":");emit(E.type)}function emitJSDocNullableType(E){writePunctuation("?");emit(E.type)}function emitJSDocNonNullableType(E){writePunctuation("!");emit(E.type)}function emitJSDocOptionalType(E){emit(E.type);writePunctuation("=")}function emitConstructorType(E){pushNameGenerationScope(E);emitModifiers(E,E.modifiers);writeKeyword("new");writeSpace();emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);writeSpace();writePunctuation("=>");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitTypeQuery(E){writeKeyword("typeof");writeSpace();emit(E.exprName)}function emitTypeLiteral(N){writePunctuation("{");var R=E.getEmitFlags(N)&1?768:32897;emitList(N,N.members,R|524288);writePunctuation("}")}function emitArrayType(E){emit(E.elementType,kt.parenthesizeElementTypeOfArrayType);writePunctuation("[");writePunctuation("]")}function emitRestOrJSDocVariadicType(E){writePunctuation("...");emit(E.type)}function emitTupleType(N){emitTokenWithComment(22,N.pos,writePunctuation,N);var R=E.getEmitFlags(N)&1?528:657;emitList(N,N.elements,R|524288);emitTokenWithComment(23,N.elements.end,writePunctuation,N)}function emitNamedTupleMember(E){emit(E.dotDotDotToken);emit(E.name);emit(E.questionToken);emitTokenWithComment(58,E.name.end,writePunctuation,E);writeSpace();emit(E.type)}function emitOptionalType(E){emit(E.type,kt.parenthesizeElementTypeOfArrayType);writePunctuation("?")}function emitUnionType(E){emitList(E,E.types,516,kt.parenthesizeMemberOfElementType)}function emitIntersectionType(E){emitList(E,E.types,520,kt.parenthesizeMemberOfElementType)}function emitConditionalType(E){emit(E.checkType,kt.parenthesizeMemberOfConditionalType);writeSpace();writeKeyword("extends");writeSpace();emit(E.extendsType,kt.parenthesizeMemberOfConditionalType);writeSpace();writePunctuation("?");writeSpace();emit(E.trueType);writeSpace();writePunctuation(":");writeSpace();emit(E.falseType)}function emitInferType(E){writeKeyword("infer");writeSpace();emit(E.typeParameter)}function emitParenthesizedType(E){writePunctuation("(");emit(E.type);writePunctuation(")")}function emitThisType(){writeKeyword("this")}function emitTypeOperator(E){writeTokenText(E.operator,writeKeyword);writeSpace();emit(E.type,kt.parenthesizeMemberOfElementType)}function emitIndexedAccessType(E){emit(E.objectType,kt.parenthesizeMemberOfElementType);writePunctuation("[");emit(E.indexType);writePunctuation("]")}function emitMappedType(N){var R=E.getEmitFlags(N);writePunctuation("{");if(R&1){writeSpace()}else{writeLine();increaseIndent()}if(N.readonlyToken){emit(N.readonlyToken);if(N.readonlyToken.kind!==143){writeKeyword("readonly")}writeSpace()}writePunctuation("[");pipelineEmit(3,N.typeParameter);if(N.nameType){writeSpace();writeKeyword("as");writeSpace();emit(N.nameType)}writePunctuation("]");if(N.questionToken){emit(N.questionToken);if(N.questionToken.kind!==57){writePunctuation("?")}}writePunctuation(":");writeSpace();emit(N.type);writeTrailingSemicolon();if(R&1){writeSpace()}else{writeLine();decreaseIndent()}writePunctuation("}")}function emitLiteralType(E){emitExpression(E.literal)}function emitTemplateType(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitImportTypeNode(E){if(E.isTypeOf){writeKeyword("typeof");writeSpace()}writeKeyword("import");writePunctuation("(");emit(E.argument);writePunctuation(")");if(E.qualifier){writePunctuation(".");emit(E.qualifier)}emitTypeArguments(E,E.typeArguments)}function emitObjectBindingPattern(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitArrayBindingPattern(E){writePunctuation("[");emitList(E,E.elements,524880);writePunctuation("]")}function emitBindingElement(E){emit(E.dotDotDotToken);if(E.propertyName){emit(E.propertyName);writePunctuation(":");writeSpace()}emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitArrayLiteralExpression(E){var N=E.elements;var R=E.multiLine?65536:0;emitExpressionList(E,N,8914|R,kt.parenthesizeExpressionForDisallowedComma)}function emitObjectLiteralExpression(N){E.forEach(N.properties,generateMemberNames);var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}var j=N.multiLine?65536:0;var $=Be.languageVersion>=1&&!E.isJsonSourceFile(Be)?64:0;emitList(N,N.properties,526226|$|j);if(R){decreaseIndent()}}function emitPropertyAccessExpression(N){emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);var R=N.questionDotToken||E.setTextRangePosEnd(E.factory.createToken(24),N.expression.end,N.name.pos);var j=getLinesBetweenNodes(N,N.expression,R);var $=getLinesBetweenNodes(N,R,N.name);writeLinesAndIndent(j,false);var q=R.kind!==28&&mayNeedDotDotForPropertyAccess(N.expression)&&!Ke.hasTrailingComment()&&!Ke.hasTrailingWhitespace();if(q){writePunctuation(".")}if(N.questionDotToken){emit(R)}else{emitTokenWithComment(R.kind,N.expression.end,writePunctuation,N)}writeLinesAndIndent($,false);emit(N.name);decreaseIndentIf(j,$)}function mayNeedDotDotForPropertyAccess(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isNumericLiteral(N)){var R=getLiteralTextOfNode(N,true,false);return!N.numericLiteralFlags&&!E.stringContains(R,E.tokenToString(24))}else if(E.isAccessExpression(N)){var j=E.getConstantValue(N);return typeof j==="number"&&isFinite(j)&&Math.floor(j)===j}}function emitElementAccessExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emit(E.questionDotToken);emitTokenWithComment(22,E.expression.end,writePunctuation,E);emitExpression(E.argumentExpression);emitTokenWithComment(23,E.argumentExpression.end,writePunctuation,E)}function emitCallExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emit(N.questionDotToken);emitTypeArguments(N,N.typeArguments);emitExpressionList(N,N.arguments,2576,kt.parenthesizeExpressionForDisallowedComma)}function emitNewExpression(E){emitTokenWithComment(103,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionOfNew);emitTypeArguments(E,E.typeArguments);emitExpressionList(E,E.arguments,18960,kt.parenthesizeExpressionForDisallowedComma)}function emitTaggedTemplateExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.tag,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emitTypeArguments(N,N.typeArguments);writeSpace();emitExpression(N.template)}function emitTypeAssertionExpression(E){writePunctuation("<");emit(E.type);writePunctuation(">");emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitParenthesizedExpression(E){var N=emitTokenWithComment(20,E.pos,writePunctuation,E);var R=writeLineSeparatorsAndIndentBefore(E.expression,E);emitExpression(E.expression,undefined);writeLineSeparatorsAfter(E.expression,E);decreaseIndentIf(R);emitTokenWithComment(21,E.expression?E.expression.end:N,writePunctuation,E)}function emitFunctionExpression(E){generateNameIfNeeded(E.name);emitFunctionDeclarationOrExpression(E)}function emitArrowFunction(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emitSignatureAndBody(E,emitArrowFunctionHead)}function emitArrowFunctionHead(E){emitTypeParameters(E,E.typeParameters);emitParametersForArrow(E,E.parameters);emitTypeAnnotation(E.type);writeSpace();emit(E.equalsGreaterThanToken)}function emitDeleteExpression(E){emitTokenWithComment(89,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitTypeOfExpression(E){emitTokenWithComment(112,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitVoidExpression(E){emitTokenWithComment(114,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitAwaitExpression(E){emitTokenWithComment(131,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitPrefixUnaryExpression(E){writeTokenText(E.operator,writeOperator);if(shouldEmitWhitespaceBeforeOperand(E)){writeSpace()}emitExpression(E.operand,kt.parenthesizeOperandOfPrefixUnary)}function shouldEmitWhitespaceBeforeOperand(E){var N=E.operand;return N.kind===217&&(E.operator===39&&(N.operator===39||N.operator===45)||E.operator===40&&(N.operator===40||N.operator===46))}function emitPostfixUnaryExpression(E){emitExpression(E.operand,kt.parenthesizeOperandOfPostfixUnary);writeTokenText(E.operator,writeOperator)}function createEmitBinaryExpression(){return E.createBinaryExpressionTrampoline(onEnter,onLeft,onOperator,onRight,onExit,undefined);function onEnter(E,N){if(N){N.stackIndex++;N.preserveSourceNewlinesStack[N.stackIndex]=He;N.containerPosStack[N.stackIndex]=pt;N.containerEndStack[N.stackIndex]=ft;N.declarationListContainerEndStack[N.stackIndex]=mt;var R=N.shouldEmitCommentsStack[N.stackIndex]=shouldEmitComments(E);var j=N.shouldEmitSourceMapsStack[N.stackIndex]=shouldEmitSourceMaps(E);ce===null||ce===void 0?void 0:ce(E);if(R)emitCommentsBeforeNode(E);if(j)emitSourceMapsBeforeNode(E);beforeEmitNode(E)}else{N={stackIndex:0,preserveSourceNewlinesStack:[undefined],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[false],shouldEmitSourceMapsStack:[false]}}return N}function onLeft(E,N,R){return maybeEmitExpression(E,R,"left")}function onOperator(E,N,R){var j=E.kind!==27;var $=getLinesBetweenNodes(R,R.left,E);var q=getLinesBetweenNodes(R,E,R.right);writeLinesAndIndent($,j);emitLeadingCommentsOfPosition(E.pos);writeTokenNode(E,E.kind===101?writeKeyword:writeOperator);emitTrailingCommentsOfPosition(E.end,true);writeLinesAndIndent(q,true)}function onRight(E,N,R){return maybeEmitExpression(E,R,"right")}function onExit(E,N){var R=getLinesBetweenNodes(E,E.left,E.operatorToken);var j=getLinesBetweenNodes(E,E.operatorToken,E.right);decreaseIndentIf(R,j);if(N.stackIndex>0){var $=N.preserveSourceNewlinesStack[N.stackIndex];var q=N.containerPosStack[N.stackIndex];var G=N.containerEndStack[N.stackIndex];var ie=N.declarationListContainerEndStack[N.stackIndex];var ae=N.shouldEmitCommentsStack[N.stackIndex];var ce=N.shouldEmitSourceMapsStack[N.stackIndex];afterEmitNode($);if(ce)emitSourceMapsAfterNode(E);if(ae)emitCommentsAfterNode(E,q,G,ie);le===null||le===void 0?void 0:le(E);N.stackIndex--}}function maybeEmitExpression(N,R,j){var $=j==="left"?kt.getParenthesizeLeftSideOfBinaryForOperator(R.operatorToken.kind):kt.getParenthesizeRightSideOfBinaryForOperator(R.operatorToken.kind);var q=getPipelinePhase(0,1,N);if(q===pipelineEmitWithSubstitution){E.Debug.assertIsDefined(bt);N=$(E.cast(bt,E.isExpression));q=getNextPipelinePhase(1,1,N);bt=undefined}if(q===pipelineEmitWithComments||q===pipelineEmitWithSourceMaps||q===pipelineEmitWithHint){if(E.isBinaryExpression(N)){return N}}xt=$;q(1,N)}}function emitConditionalExpression(E){var N=getLinesBetweenNodes(E,E.condition,E.questionToken);var R=getLinesBetweenNodes(E,E.questionToken,E.whenTrue);var j=getLinesBetweenNodes(E,E.whenTrue,E.colonToken);var $=getLinesBetweenNodes(E,E.colonToken,E.whenFalse);emitExpression(E.condition,kt.parenthesizeConditionOfConditionalExpression);writeLinesAndIndent(N,true);emit(E.questionToken);writeLinesAndIndent(R,true);emitExpression(E.whenTrue,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(N,R);writeLinesAndIndent(j,true);emit(E.colonToken);writeLinesAndIndent($,true);emitExpression(E.whenFalse,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(j,$)}function emitTemplateExpression(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitYieldExpression(E){emitTokenWithComment(125,E.pos,writeKeyword,E);emit(E.asteriskToken);emitExpressionWithLeadingSpace(E.expression,kt.parenthesizeExpressionForDisallowedComma)}function emitSpreadElement(E){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}function emitClassExpression(E){generateNameIfNeeded(E.name);emitClassDeclarationOrExpression(E)}function emitExpressionWithTypeArguments(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emitTypeArguments(E,E.typeArguments)}function emitAsExpression(E){emitExpression(E.expression,undefined);if(E.type){writeSpace();writeKeyword("as");writeSpace();emit(E.type)}}function emitNonNullExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);writeOperator("!")}function emitMetaProperty(E){writeToken(E.keywordToken,E.pos,writePunctuation);writePunctuation(".");emit(E.name)}function emitTemplateSpan(E){emitExpression(E.expression);emit(E.literal)}function emitBlock(E){emitBlockStatements(E,!E.multiLine&&isEmptyBlock(E))}function emitBlockStatements(N,R){emitTokenWithComment(18,N.pos,writePunctuation,N);var j=R||E.getEmitFlags(N)&1?768:129;emitList(N,N.statements,j);emitTokenWithComment(19,N.statements.end,writePunctuation,N,!!(j&1))}function emitVariableStatement(E){emitModifiers(E,E.modifiers);emit(E.declarationList);writeTrailingSemicolon()}function emitEmptyStatement(E){if(E){writePunctuation(";")}else{writeTrailingSemicolon()}}function emitExpressionStatement(N){emitExpression(N.expression,kt.parenthesizeExpressionOfExpressionStatement);if(!E.isJsonSourceFile(Be)||E.nodeIsSynthesized(N.expression)){writeTrailingSemicolon()}}function emitIfStatement(E){var N=emitTokenWithComment(99,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.thenStatement);if(E.elseStatement){writeLineOrSpace(E,E.thenStatement,E.elseStatement);emitTokenWithComment(91,E.thenStatement.end,writeKeyword,E);if(E.elseStatement.kind===237){writeSpace();emit(E.elseStatement)}else{emitEmbeddedStatement(E,E.elseStatement)}}}function emitWhileClause(E,N){var R=emitTokenWithComment(115,N,writeKeyword,E);writeSpace();emitTokenWithComment(20,R,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E)}function emitDoStatement(N){emitTokenWithComment(90,N.pos,writeKeyword,N);emitEmbeddedStatement(N,N.statement);if(E.isBlock(N.statement)&&!He){writeSpace()}else{writeLineOrSpace(N,N.statement,N.expression)}emitWhileClause(N,N.statement.end);writeTrailingSemicolon()}function emitWhileStatement(E){emitWhileClause(E,E.pos);emitEmbeddedStatement(E,E.statement)}function emitForStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();var R=emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);R=emitTokenWithComment(26,E.initializer?E.initializer.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.condition);R=emitTokenWithComment(26,E.condition?E.condition.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.incrementor);emitTokenWithComment(21,E.incrementor?E.incrementor.end:R,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForInStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(101,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForOfStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitWithTrailingSpace(E.awaitModifier);emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(158,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForBinding(E){if(E!==undefined){if(E.kind===253){emit(E)}else{emitExpression(E)}}}function emitContinueStatement(E){emitTokenWithComment(86,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitBreakStatement(E){emitTokenWithComment(81,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitTokenWithComment(N,R,j,$,q){var G=E.getParseTreeNode($);var ie=G&&G.kind===$.kind;var ae=R;if(ie&&Be){R=E.skipTrivia(Be.text,R)}if(ie&&$.pos!==ae){var ce=q&&Be&&!E.positionsAreOnSameLine(ae,R,Be);if(ce){increaseIndent()}emitLeadingCommentsOfPosition(ae);if(ce){decreaseIndent()}}R=writeTokenText(N,j,R);if(ie&&$.end!==R){var le=$.kind===286;emitTrailingCommentsOfPosition(R,!le,le)}return R}function emitReturnStatement(E){emitTokenWithComment(105,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(E.expression);writeTrailingSemicolon()}function emitWithStatement(E){var N=emitTokenWithComment(116,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitSwitchStatement(E){var N=emitTokenWithComment(107,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);writeSpace();emit(E.caseBlock)}function emitLabeledStatement(E){emit(E.label);emitTokenWithComment(58,E.label.end,writePunctuation,E);writeSpace();emit(E.statement)}function emitThrowStatement(E){emitTokenWithComment(109,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(E.expression);writeTrailingSemicolon()}function emitTryStatement(E){emitTokenWithComment(111,E.pos,writeKeyword,E);writeSpace();emit(E.tryBlock);if(E.catchClause){writeLineOrSpace(E,E.tryBlock,E.catchClause);emit(E.catchClause)}if(E.finallyBlock){writeLineOrSpace(E,E.catchClause||E.tryBlock,E.finallyBlock);emitTokenWithComment(96,(E.catchClause||E.tryBlock).end,writeKeyword,E);writeSpace();emit(E.finallyBlock)}}function emitDebuggerStatement(E){writeToken(87,E.pos,writeKeyword);writeTrailingSemicolon()}function emitVariableDeclaration(E){emit(E.name);emit(E.exclamationToken);emitTypeAnnotation(E.type);emitInitializer(E.initializer,E.type?E.type.end:E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitVariableDeclarationList(N){writeKeyword(E.isLet(N)?"let":E.isVarConst(N)?"const":"var");writeSpace();emitList(N,N.declarations,528)}function emitFunctionDeclaration(E){emitFunctionDeclarationOrExpression(E)}function emitFunctionDeclarationOrExpression(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("function");emit(E.asteriskToken);writeSpace();emitIdentifierName(E.name);emitSignatureAndBody(E,emitSignatureHead)}function emitSignatureAndBody(N,R){var j=N.body;if(j){if(E.isBlock(j)){var $=E.getEmitFlags(N)&65536;if($){increaseIndent()}pushNameGenerationScope(N);E.forEach(N.parameters,generateNames);generateNames(N.body);R(N);emitBlockFunctionBody(j);popNameGenerationScope(N);if($){decreaseIndent()}}else{R(N);writeSpace();emitExpression(j,kt.parenthesizeConciseBodyOfArrowFunction)}}else{R(N);writeTrailingSemicolon()}}function emitSignatureHead(E){emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);emitTypeAnnotation(E.type)}function shouldEmitBlockFunctionBodyOnSingleLine(N){if(E.getEmitFlags(N)&1){return true}if(N.multiLine){return false}if(!E.nodeIsSynthesized(N)&&!E.rangeIsOnSingleLine(N,Be)){return false}if(getLeadingLineTerminatorCount(N,N.statements,2)||getClosingLineTerminatorCount(N,N.statements,2)){return false}var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(getSeparatingLineTerminatorCount(R,q,2)>0){return false}R=q}return true}function emitBlockFunctionBody(E){ce===null||ce===void 0?void 0:ce(E);writeSpace();writePunctuation("{");increaseIndent();var N=shouldEmitBlockFunctionBodyOnSingleLine(E)?emitBlockFunctionBodyOnSingleLine:emitBlockFunctionBodyWorker;if(emitBodyWithDetachedComments){emitBodyWithDetachedComments(E,E.statements,N)}else{N(E)}decreaseIndent();writeToken(19,E.statements.end,writePunctuation,E);le===null||le===void 0?void 0:le(E)}function emitBlockFunctionBodyOnSingleLine(E){emitBlockFunctionBodyWorker(E,true)}function emitBlockFunctionBodyWorker(E,N){var R=emitPrologueDirectives(E.statements);var j=Ke.getTextPos();emitHelpers(E);if(R===0&&j===Ke.getTextPos()&&N){decreaseIndent();emitList(E,E.statements,768);increaseIndent()}else{emitList(E,E.statements,1,undefined,R)}}function emitClassDeclaration(E){emitClassDeclarationOrExpression(E)}function emitClassDeclarationOrExpression(N){E.forEach(N.members,generateMemberNames);emitDecorators(N,N.decorators);emitModifiers(N,N.modifiers);writeKeyword("class");if(N.name){writeSpace();emitIdentifierName(N.name)}var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}emitTypeParameters(N,N.typeParameters);emitList(N,N.heritageClauses,0);writeSpace();writePunctuation("{");emitList(N,N.members,129);writePunctuation("}");if(R){decreaseIndent()}}function emitInterfaceDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("interface");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);emitList(E,E.heritageClauses,512);writeSpace();writePunctuation("{");emitList(E,E.members,129);writePunctuation("}")}function emitTypeAliasDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("type");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);writeSpace();writePunctuation("=");writeSpace();emit(E.type);writeTrailingSemicolon()}function emitEnumDeclaration(E){emitModifiers(E,E.modifiers);writeKeyword("enum");writeSpace();emit(E.name);writeSpace();writePunctuation("{");emitList(E,E.members,145);writePunctuation("}")}function emitModuleDeclaration(N){emitModifiers(N,N.modifiers);if(~N.flags&1024){writeKeyword(N.flags&16?"namespace":"module");writeSpace()}emit(N.name);var R=N.body;if(!R)return writeTrailingSemicolon();while(R&&E.isModuleDeclaration(R)){writePunctuation(".");emit(R.name);R=R.body}writeSpace();emit(R)}function emitModuleBlock(N){pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitBlockStatements(N,isEmptyBlock(N));popNameGenerationScope(N)}function emitCaseBlock(E){emitTokenWithComment(18,E.pos,writePunctuation,E);emitList(E,E.clauses,129);emitTokenWithComment(19,E.clauses.end,writePunctuation,E,true)}function emitImportEqualsDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){emitTokenWithComment(150,E.pos,writeKeyword,E);writeSpace()}emit(E.name);writeSpace();emitTokenWithComment(63,E.name.end,writePunctuation,E);writeSpace();emitModuleReference(E.moduleReference);writeTrailingSemicolon()}function emitModuleReference(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitImportDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.importClause){emit(E.importClause);writeSpace();emitTokenWithComment(154,E.importClause.end,writeKeyword,E);writeSpace()}emitExpression(E.moduleSpecifier);writeTrailingSemicolon()}function emitImportClause(E){if(E.isTypeOnly){emitTokenWithComment(150,E.pos,writeKeyword,E);writeSpace()}emit(E.name);if(E.name&&E.namedBindings){emitTokenWithComment(27,E.name.end,writePunctuation,E);writeSpace()}emit(E.namedBindings)}function emitNamespaceImport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedImports(E){emitNamedImportsOrExports(E)}function emitImportSpecifier(E){emitImportOrExportSpecifier(E)}function emitExportAssignment(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isExportEquals){emitTokenWithComment(63,N,writeOperator,E)}else{emitTokenWithComment(88,N,writeKeyword,E)}writeSpace();emitExpression(E.expression,E.isExportEquals?kt.getParenthesizeRightSideOfBinaryForOperator(63):kt.parenthesizeExpressionOfExportDefault);writeTrailingSemicolon()}function emitExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){N=emitTokenWithComment(150,N,writeKeyword,E);writeSpace()}if(E.exportClause){emit(E.exportClause)}else{N=emitTokenWithComment(41,N,writePunctuation,E)}if(E.moduleSpecifier){writeSpace();var R=E.exportClause?E.exportClause.end:N;emitTokenWithComment(154,R,writeKeyword,E);writeSpace();emitExpression(E.moduleSpecifier)}writeTrailingSemicolon()}function emitNamespaceExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();N=emitTokenWithComment(127,N,writeKeyword,E);writeSpace();N=emitTokenWithComment(141,N,writeKeyword,E);writeSpace();emit(E.name);writeTrailingSemicolon()}function emitNamespaceExport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedExports(E){emitNamedImportsOrExports(E)}function emitExportSpecifier(E){emitImportOrExportSpecifier(E)}function emitNamedImportsOrExports(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitImportOrExportSpecifier(E){if(E.propertyName){emit(E.propertyName);writeSpace();emitTokenWithComment(127,E.propertyName.end,writeKeyword,E);writeSpace()}emit(E.name)}function emitExternalModuleReference(E){writeKeyword("require");writePunctuation("(");emitExpression(E.expression);writePunctuation(")")}function emitJsxElement(E){emit(E.openingElement);emitList(E,E.children,262144);emit(E.closingElement)}function emitJsxSelfClosingElement(E){writePunctuation("<");emitJsxTagName(E.tagName);emitTypeArguments(E,E.typeArguments);writeSpace();emit(E.attributes);writePunctuation("/>")}function emitJsxFragment(E){emit(E.openingFragment);emitList(E,E.children,262144);emit(E.closingFragment)}function emitJsxOpeningElementOrFragment(N){writePunctuation("<");if(E.isJsxOpeningElement(N)){var R=writeLineSeparatorsAndIndentBefore(N.tagName,N);emitJsxTagName(N.tagName);emitTypeArguments(N,N.typeArguments);if(N.attributes.properties&&N.attributes.properties.length>0){writeSpace()}emit(N.attributes);writeLineSeparatorsAfter(N.attributes,N);decreaseIndentIf(R)}writePunctuation(">")}function emitJsxText(E){Ke.writeLiteral(E.text)}function emitJsxClosingElementOrFragment(N){writePunctuation("")}function emitJsxAttributes(E){emitList(E,E.properties,262656)}function emitJsxAttribute(E){emit(E.name);emitNodeWithPrefix("=",writePunctuation,E.initializer,emitJsxAttributeValue)}function emitJsxSpreadAttribute(E){writePunctuation("{...");emitExpression(E.expression);writePunctuation("}")}function hasTrailingCommentsAtPosition(N){var R=false;E.forEachTrailingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasLeadingCommentsAtPosition(N){var R=false;E.forEachLeadingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasCommentsAtPosition(E){return hasTrailingCommentsAtPosition(E)||hasLeadingCommentsAtPosition(E)}function emitJsxExpression(N){var R;if(N.expression||!vt&&!E.nodeIsSynthesized(N)&&hasCommentsAtPosition(N.pos)){var j=Be&&!E.nodeIsSynthesized(N)&&E.getLineAndCharacterOfPosition(Be,N.pos).line!==E.getLineAndCharacterOfPosition(Be,N.end).line;if(j){Ke.increaseIndent()}var $=emitTokenWithComment(18,N.pos,writePunctuation,N);emit(N.dotDotDotToken);emitExpression(N.expression);emitTokenWithComment(19,((R=N.expression)===null||R===void 0?void 0:R.end)||$,writePunctuation,N);if(j){Ke.decreaseIndent()}}}function emitJsxTagName(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitCaseClause(E){emitTokenWithComment(82,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma);emitCaseOrDefaultClauseRest(E,E.statements,E.expression.end)}function emitDefaultClause(E){var N=emitTokenWithComment(88,E.pos,writeKeyword,E);emitCaseOrDefaultClauseRest(E,E.statements,N)}function emitCaseOrDefaultClauseRest(N,R,j){var $=R.length===1&&(E.nodeIsSynthesized(N)||E.nodeIsSynthesized(R[0])||E.rangeStartPositionsAreOnSameLine(N,R[0],Be));var q=163969;if($){writeToken(58,j,writePunctuation,N);writeSpace();q&=~(1|128)}else{emitTokenWithComment(58,j,writePunctuation,N)}emitList(N,R,q)}function emitHeritageClause(E){writeSpace();writeTokenText(E.token,writeKeyword);writeSpace();emitList(E,E.types,528)}function emitCatchClause(E){var N=emitTokenWithComment(83,E.pos,writeKeyword,E);writeSpace();if(E.variableDeclaration){emitTokenWithComment(20,N,writePunctuation,E);emit(E.variableDeclaration);emitTokenWithComment(21,E.variableDeclaration.end,writePunctuation,E);writeSpace()}emit(E.block)}function emitPropertyAssignment(N){emit(N.name);writePunctuation(":");writeSpace();var R=N.initializer;if((E.getEmitFlags(R)&512)===0){var j=E.getCommentRange(R);emitTrailingCommentsOfPosition(j.pos)}emitExpression(R,kt.parenthesizeExpressionForDisallowedComma)}function emitShorthandPropertyAssignment(E){emit(E.name);if(E.objectAssignmentInitializer){writeSpace();writePunctuation("=");writeSpace();emitExpression(E.objectAssignmentInitializer,kt.parenthesizeExpressionForDisallowedComma)}}function emitSpreadAssignment(E){if(E.expression){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}}function emitEnumMember(E){emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitJSDoc(N){Xe("/**");if(N.comment){var R=E.getTextOfJSDocComment(N.comment);if(R){var j=R.split(/\r\n?|\n/g);for(var $=0,q=j;$');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"no-default-lib"});writeLine()}if(Be&&Be.moduleName){writeComment('/// ');writeLine()}if(Be&&Be.amdDependencies){for(var q=0,G=Be.amdDependencies;q')}else{writeComment('/// ')}writeLine()}}for(var ae=0,ce=N;ae');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"reference",data:le.fileName});writeLine()}for(var _e=0,Ee=R;_e');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"type",data:le.fileName});writeLine()}for(var Te=0,we=j;Te');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"lib",data:le.fileName});writeLine()}}function emitSourceFileWorker(N){var R=N.statements;pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitHelpers(N);var j=E.findIndex(R,(function(N){return!E.isPrologueDirective(N)}));emitTripleSlashDirectivesIfNeeded(N);emitList(N,R,1,undefined,j===-1?R.length:j);popNameGenerationScope(N)}function emitPartiallyEmittedExpression(E){emitExpression(E.expression)}function emitCommaList(E){emitExpressionList(E,E.elements,528,undefined)}function emitPrologueDirectives(N,R,j,$){var q=!!R;for(var G=0;G=j.length||ie===0;if(ce&&$&32768){if(_e){_e(j)}if(Ee){Ee(j)}return}if($&15360){writePunctuation(getOpeningBracket($));if(ce&&j){emitTrailingCommentsOfPosition(j.pos,true)}}if(_e){_e(j)}if(ce){if($&1&&!(He&&(!R||E.rangeIsOnSingleLine(R,Be)))){writeLine()}else if($&256&&!($&524288)){writeSpace()}}else{E.Debug.type(j);var le=($&262144)===0;var Te=le;var we=getLeadingLineTerminatorCount(R,j,$);if(we){writeLine(we);Te=false}else if($&256){writeSpace()}if($&128){increaseIndent()}var Ie=void 0;var Ne=void 0;var Me=false;for(var Le=0;Le0){if(($&(3|128))===0){increaseIndent();Me=true}writeLine(Ue);Te=false}else if(Ie&&$&512){writeSpace()}}Ne=recordBundleFileInternalSectionStart(je);if(Te){if(emitTrailingCommentsOfPosition){var ze=E.getCommentRange(je);emitTrailingCommentsOfPosition(ze.pos)}}else{Te=le}Ge=je.pos;if(N.length===1){N(je)}else{N(je,q)}if(Me){decreaseIndent();Me=false}Ie=je}var We=Ie?E.getEmitFlags(Ie):0;var Je=vt||!!(We&1024);var Ve=(j===null||j===void 0?void 0:j.hasTrailingComma)&&$&64&&$&16;if(Ve){if(Ie&&!Je){emitTokenWithComment(27,Ie.end,writePunctuation,Ie)}else{writePunctuation(",")}}if(Ie&&(R?R.end:-1)!==Ie.end&&$&60&&!Je){emitLeadingCommentsOfPosition(Ve&&(j===null||j===void 0?void 0:j.end)?j.end:Ie.end)}if($&128){decreaseIndent()}recordBundleFileInternalSectionEnd(Ne);var qe=getClosingLineTerminatorCount(R,j,$);if(qe){writeLine(qe)}else if($&(2097152|256)){writeSpace()}}if(Ee){Ee(j)}if($&15360){if(ce&&j){emitLeadingCommentsOfPosition(j.end)}writePunctuation(getClosingBracket($))}}function writeLiteral(E){Ke.writeLiteral(E)}function writeStringLiteral(E){Ke.writeStringLiteral(E)}function writeBase(E){Ke.write(E)}function writeSymbol(E,N){Ke.writeSymbol(E,N)}function writePunctuation(E){Ke.writePunctuation(E)}function writeTrailingSemicolon(){Ke.writeTrailingSemicolon(";")}function writeKeyword(E){Ke.writeKeyword(E)}function writeOperator(E){Ke.writeOperator(E)}function writeParameter(E){Ke.writeParameter(E)}function writeComment(E){Ke.writeComment(E)}function writeSpace(){Ke.writeSpace(" ")}function writeProperty(E){Ke.writeProperty(E)}function writeLine(E){if(E===void 0){E=1}for(var N=0;N0)}}function increaseIndent(){Ke.increaseIndent()}function decreaseIndent(){Ke.decreaseIndent()}function writeToken(E,N,R,j){return!it?emitTokenWithSourceMap(j,E,R,N,writeTokenText):writeTokenText(E,R,N)}function writeTokenNode(N,R){if(Te){Te(N)}R(E.tokenToString(N.kind));if(we){we(N)}}function writeTokenText(N,R,j){var $=E.tokenToString(N);R($);return j<0?j:j+$.length}function writeLineOrSpace(N,R,j){if(E.getEmitFlags(N)&1){writeSpace()}else if(He){var $=getLinesBetweenNodes(N,R,j);if($){writeLine($)}else{writeSpace()}}else{writeLine()}}function writeLines(N){var R=N.split(/\r\n?|\n/g);var j=E.guessIndentation(R);for(var $=0,q=R;$0||$>0)&&j!==$){if(!q){emitLeadingComments(j,N.kind!==344)}if(!q||j>=0&&(R&512)!==0){pt=j}if(!G||$>=0&&(R&1024)!==0){ft=$;if(N.kind===253){mt=$}}}E.forEach(E.getSyntheticLeadingComments(N),emitLeadingSynthesizedComment);Tt()}function emitTrailingCommentsOfNode(N,R,j,$,q,G,ie){Et();var ae=$<0||(R&1024)!==0||N.kind===11;E.forEach(E.getSyntheticTrailingComments(N),emitTrailingSynthesizedComment);if((j>0||$>0)&&j!==$){pt=q;ft=G;mt=ie;if(!ae&&N.kind!==344){emitTrailingComments($)}}Tt()}function emitLeadingSynthesizedComment(E){if(E.hasLeadingNewline||E.kind===2){Ke.writeLine()}writeSynthesizedComment(E);if(E.hasTrailingNewLine||E.kind===2){Ke.writeLine()}else{Ke.writeSpace(" ")}}function emitTrailingSynthesizedComment(E){if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}writeSynthesizedComment(E);if(E.hasTrailingNewLine){Ke.writeLine()}}function writeSynthesizedComment(N){var R=formatSynthesizedComment(N);var j=N.kind===3?E.computeLineStarts(R):undefined;E.writeCommentRange(R,j,Ke,0,R.length,Ne)}function formatSynthesizedComment(E){return E.kind===3?"/*"+E.text+"*/":"//"+E.text}function emitBodyWithDetachedComments(N,R,j){Et();var $=R.pos,q=R.end;var G=E.getEmitFlags(N);var ie=$<0||(G&512)!==0;var ae=vt||q<0||(G&1024)!==0;if(!ie){emitDetachedCommentsAndUpdateCommentsInfo(R)}Tt();if(G&2048&&!vt){vt=true;j(N);vt=false}else{j(N)}Et();if(!ae){emitLeadingComments(R.end,true);if(yt&&!Ke.isAtStartOfLine()){Ke.writeLine()}}Tt()}function originalNodesHaveSameParent(N,R){N=E.getOriginalNode(N);return N.parent&&N.parent===E.getOriginalNode(R).parent}function siblingNodePositionsAreComparable(N,R){if(R.pos-1&&$.indexOf(R)===q+1}function emitLeadingComments(E,N){yt=false;if(N){if(E===0&&(Be===null||Be===void 0?void 0:Be.isDeclarationFile)){forEachLeadingCommentToEmit(E,emitNonTripleSlashLeadingComment)}else{forEachLeadingCommentToEmit(E,emitLeadingComment)}}else if(E===0){forEachLeadingCommentToEmit(E,emitTripleSlashLeadingComment)}}function emitTripleSlashLeadingComment(E,N,R,j,$){if(isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function emitNonTripleSlashLeadingComment(E,N,R,j,$){if(!isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function shouldWriteComment(R,j){if(N.onlyPrintJsDocStyle){return E.isJSDocLikeText(R,j)||E.isPinnedComment(R,j)}return true}function emitLeadingComment(N,R,j,$,q){if(!shouldWriteComment(Be.text,N))return;if(!yt){E.emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(),Ke,q,N);yt=true}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else if(j===3){Ke.writeSpace(" ")}}function emitLeadingCommentsOfPosition(E){if(vt||E===-1){return}emitLeadingComments(E,true)}function emitTrailingComments(E){forEachTrailingCommentToEmit(E,emitTrailingComment)}function emitTrailingComment(N,R,j,$){if(!shouldWriteComment(Be.text,N))return;if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}}function emitTrailingCommentsOfPosition(E,N,R){if(vt){return}Et();forEachTrailingCommentToEmit(E,N?emitTrailingComment:R?emitTrailingCommentOfPositionNoNewline:emitTrailingCommentOfPosition);Tt()}function emitTrailingCommentOfPositionNoNewline(N,R,j){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if(j===2){Ke.writeLine()}}function emitTrailingCommentOfPosition(N,R,j,$){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else{Ke.writeSpace(" ")}}function forEachLeadingCommentToEmit(N,R){if(Be&&(pt===-1||N!==pt)){if(hasDetachedComments(N)){forEachLeadingCommentWithoutDetachedComments(R)}else{E.forEachLeadingCommentRange(Be.text,N,R,N)}}}function forEachTrailingCommentToEmit(N,R){if(Be&&(ft===-1||N!==ft&&N!==mt)){E.forEachTrailingCommentRange(Be.text,N,R)}}function hasDetachedComments(N){return _t!==undefined&&E.last(_t).nodePos===N}function forEachLeadingCommentWithoutDetachedComments(N){var R=E.last(_t).detachedCommentEndPos;if(_t.length-1){_t.pop()}else{_t=undefined}E.forEachLeadingCommentRange(Be.text,R,N,R)}function emitDetachedCommentsAndUpdateCommentsInfo(N){var R=E.emitDetachedComments(Be.text,getCurrentLineMap(),Ke,emitComment,N,Ne,vt);if(R){if(_t){_t.push(R)}else{_t=[R]}}}function emitComment(N,R,j,$,q,G){if(!shouldWriteComment(Be.text,$))return;emitPos($);E.writeCommentRange(N,R,j,$,q,G);emitPos(q)}function isTripleSlashComment(N,R){return E.isRecognizedTripleSlashComment(Be.text,N,R)}function getParsedSourceMap(N){if(N.parsedSourceMap===undefined&&N.sourceMapText!==undefined){N.parsedSourceMap=E.tryParseRawSourceMap(N.sourceMapText)||false}return N.parsedSourceMap||undefined}function pipelineEmitWithSourceMaps(E,N){var R=getNextPipelinePhase(3,E,N);emitSourceMapsBeforeNode(N);R(E,N);emitSourceMapsAfterNode(N)}function emitSourceMapsBeforeNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(E.isUnparsedNode(N)){E.Debug.assertIsDefined(N.parent,"UnparsedNodes must have parent pointers");var $=getParsedSourceMap(N.parent);if($&&ot){ot.appendSourceMap(Ke.getLine(),Ke.getColumn(),$,N.parent.sourceMapPath,N.parent.getLineAndCharacterOfPosition(N.pos),N.parent.getLineAndCharacterOfPosition(N.end))}}else{var q=j.source||st;if(N.kind!==344&&(R&16)===0&&j.pos>=0){emitSourcePos(j.source||st,skipSourceTrivia(q,j.pos))}if(R&64){it=true}}}function emitSourceMapsAfterNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(!E.isUnparsedNode(N)){if(R&64){it=false}if(N.kind!==344&&(R&32)===0&&j.end>=0){emitSourcePos(j.source||st,j.end)}}}function skipSourceTrivia(N,R){return N.skipTrivia?N.skipTrivia(R):E.skipTrivia(N.text,R)}function emitPos(N){if(it||E.positionIsSynthesized(N)||isJsonSourceMapSource(st)){return}var R=E.getLineAndCharacterOfPosition(st,N),j=R.line,$=R.character;ot.addMapping(Ke.getLine(),Ke.getColumn(),ct,j,$,undefined)}function emitSourcePos(E,N){if(E!==st){var R=st;var j=ct;setSourceMapSource(E);emitPos(N);resetSourceMapSource(R,j)}else{emitPos(N)}}function emitTokenWithSourceMap(N,R,j,$,q){if(it||N&&E.isInJsonFile(N)){return q(R,j,$)}var G=N&&N.emitNode;var ie=G&&G.flags||0;var ae=G&&G.tokenSourceMapRanges&&G.tokenSourceMapRanges[R];var ce=ae&&ae.source||st;$=skipSourceTrivia(ce,ae?ae.pos:$);if((ie&128)===0&&$>=0){emitSourcePos(ce,$)}$=q(R,j,$);if(ae)$=ae.end;if((ie&256)===0&&$>=0){emitSourcePos(ce,$)}return $}function setSourceMapSource(E){if(it){return}st=E;if(E===ut){ct=dt;return}if(isJsonSourceMapSource(E)){return}ct=ot.addSource(E.fileName);if(N.inlineSources){ot.setSourceContent(ct,E.text)}ut=E;dt=ct}function resetSourceMapSource(E,N){st=E;ct=N}function isJsonSourceMapSource(N){return E.fileExtensionIs(N.fileName,".json")}}E.createPrinter=createPrinter;function createBracketsMap(){var E=[];E[1024]=["{","}"];E[2048]=["(",")"];E[4096]=["<",">"];E[8192]=["[","]"];return E}function getOpeningBracket(E){return N[E&15360][0]}function getClosingBracket(E){return N[E&15360][1]}var $;(function(E){E[E["Auto"]=0]="Auto";E[E["CountMask"]=268435455]="CountMask";E[E["_i"]=268435456]="_i"})($||($={}))})(ce||(ce={}));var ce;(function(E){function createCachedDirectoryStructureHost(N,R,j){if(!N.getDirectories||!N.readDirectory){return undefined}var $=new E.Map;var q=E.createGetCanonicalFileName(j);return{useCaseSensitiveFileNames:j,fileExists:fileExists,readFile:function(E,R){return N.readFile(E,R)},directoryExists:N.directoryExists&&directoryExists,getDirectories:getDirectories,readDirectory:readDirectory,createDirectory:N.createDirectory&&createDirectory,writeFile:N.writeFile&&writeFile,addOrDeleteFileOrDirectory:addOrDeleteFileOrDirectory,addOrDeleteFile:addOrDeleteFile,clearCache:clearCache,realpath:N.realpath&&realpath};function toPath(N){return E.toPath(N,R,q)}function getCachedFileSystemEntries(N){return $.get(E.ensureTrailingDirectorySeparator(N))}function getCachedFileSystemEntriesForBaseDir(N){return getCachedFileSystemEntries(E.getDirectoryPath(N))}function getBaseNameOfFileName(N){return E.getBaseFileName(E.normalizePath(N))}function createCachedFileSystemEntries(R,j){var q;if(!N.realpath||E.ensureTrailingDirectorySeparator(toPath(N.realpath(R)))===j){var G={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||[],directories:N.getDirectories(R)||[]};$.set(E.ensureTrailingDirectorySeparator(j),G);return G}if((q=N.directoryExists)===null||q===void 0?void 0:q.call(N,R)){$.set(j,false);return false}return undefined}function tryReadDirectory(N,R){R=E.ensureTrailingDirectorySeparator(R);var j=getCachedFileSystemEntries(R);if(j){return j}try{return createCachedFileSystemEntries(N,R)}catch(N){E.Debug.assert(!$.has(E.ensureTrailingDirectorySeparator(R)));return undefined}}function fileNameEqual(E,N){return q(E)===q(N)}function hasEntry(N,R){return E.some(N,(function(E){return fileNameEqual(E,R)}))}function updateFileSystemEntry(N,R,j){if(hasEntry(N,R)){if(!j){return E.filterMutate(N,(function(E){return!fileNameEqual(E,R)}))}}else if(j){return N.push(R)}}function writeFile(E,R,j){var $=toPath(E);var q=getCachedFileSystemEntriesForBaseDir($);if(q){updateFilesOfFileSystemEntry(q,getBaseNameOfFileName(E),true)}return N.writeFile(E,R,j)}function fileExists(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);return j&&hasEntry(j.files,getBaseNameOfFileName(E))||N.fileExists(E)}function directoryExists(R){var j=toPath(R);return $.has(E.ensureTrailingDirectorySeparator(j))||N.directoryExists(R)}function createDirectory(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);var $=getBaseNameOfFileName(E);if(j){updateFileSystemEntry(j.directories,$,true)}N.createDirectory(E)}function getDirectories(E){var R=toPath(E);var j=tryReadDirectory(E,R);if(j){return j.directories.slice()}return N.getDirectories(E)}function readDirectory($,q,G,ie,ae){var ce=toPath($);var le=tryReadDirectory($,ce);var _e;if(le!==undefined){return E.matchFiles($,q,G,ie,j,R,ae,getFileSystemEntries,realpath,directoryExists)}return N.readDirectory($,q,G,ie,ae);function getFileSystemEntries(N){var R=toPath(N);if(R===ce){return le||getFileSystemEntriesFromHost(N,R)}var j=tryReadDirectory(N,R);return j!==undefined?j||getFileSystemEntriesFromHost(N,R):E.emptyFileSystemEntries}function getFileSystemEntriesFromHost(R,j){if(_e&&j===ce)return _e;var $={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||E.emptyArray,directories:N.getDirectories(R)||E.emptyArray};if(j===ce)_e=$;return $}}function realpath(E){return N.realpath?N.realpath(E):E}function addOrDeleteFileOrDirectory(E,R){var j=getCachedFileSystemEntries(R);if(j!==undefined){clearCache();return undefined}var $=getCachedFileSystemEntriesForBaseDir(R);if(!$){return undefined}if(!N.directoryExists){clearCache();return undefined}var q=getBaseNameOfFileName(E);var G={fileExists:N.fileExists(R),directoryExists:N.directoryExists(R)};if(G.directoryExists||hasEntry($.directories,q)){clearCache()}else{updateFilesOfFileSystemEntry($,q,G.fileExists)}return G}function addOrDeleteFile(N,R,j){if(j===E.FileWatcherEventKind.Changed){return}var $=getCachedFileSystemEntriesForBaseDir(R);if($){updateFilesOfFileSystemEntry($,getBaseNameOfFileName(N),j===E.FileWatcherEventKind.Created)}}function updateFilesOfFileSystemEntry(E,N,R){updateFileSystemEntry(E.files,N,R)}function clearCache(){$.clear()}}E.createCachedDirectoryStructureHost=createCachedDirectoryStructureHost;var N;(function(E){E[E["None"]=0]="None";E[E["Partial"]=1]="Partial";E[E["Full"]=2]="Full"})(N=E.ConfigFileProgramReloadLevel||(E.ConfigFileProgramReloadLevel={}));function updateSharedExtendedConfigFileWatcher(N,R,j,$,q){var G;var ie=E.arrayToMap(((G=R===null||R===void 0?void 0:R.configFile)===null||G===void 0?void 0:G.extendedSourceFiles)||E.emptyArray,q);j.forEach((function(E,R){if(!ie.has(R)){E.projects.delete(N);E.close()}}));ie.forEach((function(R,q){var G=j.get(q);if(G){G.projects.add(N)}else{j.set(q,{projects:new E.Set([N]),watcher:$(R,q),close:function(){var E=j.get(q);if(!E||E.projects.size!==0)return;E.watcher.close();j.delete(q)}})}}))}E.updateSharedExtendedConfigFileWatcher=updateSharedExtendedConfigFileWatcher;function clearSharedExtendedConfigFileWatcher(E,N){N.forEach((function(N){if(N.projects.delete(E))N.close()}))}E.clearSharedExtendedConfigFileWatcher=clearSharedExtendedConfigFileWatcher;function cleanExtendedConfigCache(E,N,R){if(!E.delete(N))return;E.forEach((function(j,$){var q;var G=j.extendedResult;if((q=G.extendedSourceFiles)===null||q===void 0?void 0:q.some((function(E){return R(E)===N}))){cleanExtendedConfigCache(E,$,R)}}))}E.cleanExtendedConfigCache=cleanExtendedConfigCache;function updatePackageJsonWatch(N,R,j){var $=new E.Map(N);E.mutateMap(R,$,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updatePackageJsonWatch=updatePackageJsonWatch;function updateMissingFilePathsWatch(N,R,j){var $=N.getMissingFilePaths();var q=E.arrayToMap($,E.identity,E.returnTrue);E.mutateMap(R,q,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updateMissingFilePathsWatch=updateMissingFilePathsWatch;function updateWatchingWildcardDirectories(N,R,j){E.mutateMap(N,R,{createNewValue:createWildcardDirectoryWatcher,onDeleteValue:closeFileWatcherOf,onExistingValue:updateWildcardDirectoryWatcher});function createWildcardDirectoryWatcher(E,N){return{watcher:j(E,N),flags:N}}function updateWildcardDirectoryWatcher(E,R,j){if(E.flags===R){return}E.watcher.close();N.set(j,createWildcardDirectoryWatcher(j,R))}}E.updateWatchingWildcardDirectories=updateWatchingWildcardDirectories;function isIgnoredFileFromWildCardWatching(N){var R=N.watchedDirPath,j=N.fileOrDirectory,$=N.fileOrDirectoryPath,q=N.configFileName,G=N.options,ie=N.program,ae=N.extraFileExtensions,ce=N.currentDirectory,le=N.useCaseSensitiveFileNames,_e=N.writeLog,Ee=N.toPath;var Te=E.removeIgnoredPath($);if(!Te){_e("Project: "+q+" Detected ignored path: "+j);return true}$=Te;if($===R)return false;if(E.hasExtension($)&&!E.isSupportedSourceFileName(j,G,ae)){_e("Project: "+q+" Detected file add/remove of non supported extension: "+j);return true}if(E.isExcludedFile(j,G.configFile.configFileSpecs,E.getNormalizedAbsolutePath(E.getDirectoryPath(q),ce),le,ce)){_e("Project: "+q+" Detected excluded file: "+j);return true}if(!ie)return false;if(E.outFile(G)||G.outDir)return false;if(E.fileExtensionIs($,".d.ts")){if(G.declarationDir)return false}else if(!E.fileExtensionIsOneOf($,E.supportedJSExtensions)){return false}var we=E.removeFileExtension($);var Ie=E.isArray(ie)?undefined:isBuilderProgram(ie)?ie.getProgramOrUndefined():ie;var Ne=!Ie&&!E.isArray(ie)?ie:undefined;if(hasSourceFile(we+".ts")||hasSourceFile(we+".tsx")){_e("Project: "+q+" Detected output file: "+j);return true}return false;function hasSourceFile(N){return Ie?!!Ie.getSourceFileByPath(N):Ne?Ne.getState().fileInfos.has(N):!!E.find(ie,(function(E){return Ee(E)===N}))}}E.isIgnoredFileFromWildCardWatching=isIgnoredFileFromWildCardWatching;function isBuilderProgram(E){return!!E.getState}function isEmittedFileOfProgram(E,N){if(!E){return false}return E.isEmittedFile(N)}E.isEmittedFileOfProgram=isEmittedFileOfProgram;var R;(function(E){E[E["None"]=0]="None";E[E["TriggerOnly"]=1]="TriggerOnly";E[E["Verbose"]=2]="Verbose"})(R=E.WatchLogLevel||(E.WatchLogLevel={}));function getWatchFactory(N,$,q,G){E.setSysLog($===R.Verbose?q:E.noop);var ie={watchFile:function(E,R,j,$){return N.watchFile(E,R,j,$)},watchDirectory:function(E,R,j,$){return N.watchDirectory(E,R,(j&1)!==0,$)}};var ae=$!==R.None?{watchFile:createTriggerLoggingAddWatch("watchFile"),watchDirectory:createTriggerLoggingAddWatch("watchDirectory")}:undefined;var ce=$===R.Verbose?{watchFile:createFileWatcherWithLogging,watchDirectory:createDirectoryWatcherWithLogging}:ae||ie;var le=$===R.Verbose?createExcludeWatcherWithLogging:E.returnNoopFileWatcher;return{watchFile:createExcludeHandlingAddWatch("watchFile"),watchDirectory:createExcludeHandlingAddWatch("watchDirectory")};function createExcludeHandlingAddWatch(R){return function(j,$,q,G,ie,ae){var _e;return!E.matchesExclude(j,R==="watchFile"?G===null||G===void 0?void 0:G.excludeFiles:G===null||G===void 0?void 0:G.excludeDirectories,useCaseSensitiveFileNames(),((_e=N.getCurrentDirectory)===null||_e===void 0?void 0:_e.call(N))||"")?ce[R].call(undefined,j,$,q,G,ie,ae):le(j,q,G,ie,ae)}}function useCaseSensitiveFileNames(){return typeof N.useCaseSensitiveFileNames==="boolean"?N.useCaseSensitiveFileNames:N.useCaseSensitiveFileNames()}function createExcludeWatcherWithLogging(E,N,R,j,$){q("ExcludeWatcher:: Added:: "+getWatchInfo(E,N,R,j,$,G));return{close:function(){return q("ExcludeWatcher:: Close:: "+getWatchInfo(E,N,R,j,$,G))}}}function createFileWatcherWithLogging(E,N,R,j,$,ie){q("FileWatcher:: Added:: "+getWatchInfo(E,R,j,$,ie,G));var ce=ae.watchFile(E,N,R,j,$,ie);return{close:function(){q("FileWatcher:: Close:: "+getWatchInfo(E,R,j,$,ie,G));ce.close()}}}function createDirectoryWatcherWithLogging(N,R,j,$,ie,ce){var le="DirectoryWatcher:: Added:: "+getWatchInfo(N,j,$,ie,ce,G);q(le);var _e=E.timestamp();var Ee=ae.watchDirectory(N,R,j,$,ie,ce);var Te=E.timestamp()-_e;q("Elapsed:: "+Te+"ms "+le);return{close:function(){var R="DirectoryWatcher:: Close:: "+getWatchInfo(N,j,$,ie,ce,G);q(R);var ae=E.timestamp();Ee.close();var le=E.timestamp()-ae;q("Elapsed:: "+le+"ms "+R)}}}function createTriggerLoggingAddWatch(N){return function(R,$,ae,ce,le,_e){return ie[N].call(undefined,R,(function(){var ie=[];for(var Ee=0;Ee=4;var Be=(Ie+1+"").length;if(Le){Be=Math.max(G.length,Be)}var je="";for(var Ue=Ee;Ue<=Ie;Ue++){je+=le.getNewLine();if(Le&&Ee+1=0){if(R.markUsed(G)){return G}var ie=j.text.slice(q[G],q[G+1]).trim();if(ie!==""&&!/^(\s*)\/\/(.*)$/.test(ie)){return-1}G--}return-1}function getJSSyntacticDiagnosticsForFile(N){return runWithCancellationToken((function(){var R=[];walk(N,N);E.forEachChildRecursively(N,walk,walkArray);return R;function walk(N,j){switch(j.kind){case 162:case 165:case 167:if(j.questionToken===N){R.push(createDiagnosticForNode(N,E.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?"));return"skip"}case 166:case 169:case 170:case 171:case 211:case 254:case 212:case 252:if(j.type===N){R.push(createDiagnosticForNode(N,E.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));return"skip"}}switch(N.kind){case 265:if(N.isTypeOnly){R.push(createDiagnosticForNode(j,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type"));return"skip"}break;case 270:if(N.isTypeOnly){R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type"));return"skip"}break;case 263:R.push(createDiagnosticForNode(N,E.Diagnostics.import_can_only_be_used_in_TypeScript_files));return"skip";case 269:if(N.isExportEquals){R.push(createDiagnosticForNode(N,E.Diagnostics.export_can_only_be_used_in_TypeScript_files));return"skip"}break;case 289:var $=N;if($.token===117){R.push(createDiagnosticForNode(N,E.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));return"skip"}break;case 256:var q=E.tokenToString(118);E.Debug.assertIsDefined(q);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,q));return"skip";case 259:var G=N.flags&16?E.tokenToString(141):E.tokenToString(140);E.Debug.assertIsDefined(G);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,G));return"skip";case 257:R.push(createDiagnosticForNode(N,E.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));return"skip";case 258:var ie=E.Debug.checkDefined(E.tokenToString(92));R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,ie));return"skip";case 228:R.push(createDiagnosticForNode(N,E.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));return"skip";case 227:R.push(createDiagnosticForNode(N.type,E.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));return"skip";case 209:E.Debug.fail()}}function walkArray(N,j){if(j.decorators===N&&!Ee.experimentalDecorators){R.push(createDiagnosticForNode(j,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning))}switch(j.kind){case 255:case 224:case 167:case 169:case 170:case 171:case 211:case 254:case 212:if(N===j.typeParameters){R.push(createDiagnosticForNodeArray(N,E.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));return"skip"}case 235:if(N===j.modifiers){checkModifiers(j.modifiers,j.kind===235);return"skip"}break;case 165:if(N===j.modifiers){for(var $=0,q=N;$0);Object.defineProperties(G,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(E){this.redirectInfo.redirectTarget.id=E}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(E){this.redirectInfo.redirectTarget.symbol=E}}});return G}function findSourceFile(N,R,j,$,q,G){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","findSourceFile",{fileName:N,isDefaultLib:j||undefined,fileIncludeKind:E.FileIncludeKind[q.kind]});var ie=findSourceFileWorker(N,R,j,$,q,G);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return ie}function findSourceFileWorker(N,R,j,$,q,G){if(Pt){var ie=getSourceOfProjectReferenceRedirect(N);if(!ie&&et.realpath&&Ee.preserveSymlinks&&E.isDeclarationFileName(N)&&E.stringContains(N,E.nodeModulesPathPart)){var ae=et.realpath(N);if(ae!==N)ie=getSourceOfProjectReferenceRedirect(ae)}if(ie){var ce=E.isString(ie)?findSourceFile(ie,toPath(ie),j,$,q,G):undefined;if(ce)addFileToFilesByName(ce,R,undefined);return ce}}var le=N;if(Et.has(R)){var _e=Et.get(R);addFileIncludeReason(_e||undefined,q);if(_e&&Ee.forceConsistentCasingInFileNames){var Te=_e.fileName;var we=toPath(Te)!==toPath(N);if(we){N=getProjectReferenceRedirect(N)||N}var Ie=E.getNormalizedAbsolutePathWithoutRoot(Te,st);var Le=E.getNormalizedAbsolutePathWithoutRoot(N,st);if(Ie!==Le){reportFileNamesDifferOnlyInCasingError(N,_e,q)}}if(_e&&Ze.get(_e.path)&&Xe===0){Ze.set(_e.path,false);if(!Ee.noResolve){processReferencedFiles(_e,j);processTypeReferenceDirectives(_e)}if(!Ee.noLib){processLibReferenceDirectives(_e)}Ye.set(_e.path,false);processImportedModules(_e)}else if(_e&&Ye.get(_e.path)){if(Xe0);ze.fileName=N;ze.path=R;ze.resolvedPath=toPath(N);ze.originalFileName=le;addFileIncludeReason(ze,q);if(et.useCaseSensitiveFileNames()){var qe=E.toFileNameLowerCase(R);var He=kt.get(qe);if(He){reportFileNamesDifferOnlyInCasingError(N,He,q)}else{kt.set(qe,ze)}}rt=rt||ze.hasNoDefaultLib&&!$;if(!Ee.noResolve){processReferencedFiles(ze,j);processTypeReferenceDirectives(ze)}if(!Ee.noLib){processLibReferenceDirectives(ze)}processImportedModules(ze);if(j){Ne.push(ze)}else{Me.push(ze)}}return ze}function addFileIncludeReason(E,N){if(E)Ve.add(E.path,N)}function addFileToFilesByName(E,N,R){if(R){Et.set(R,E);Et.set(N,E||false)}else{Et.set(N,E)}}function getProjectReferenceRedirect(E){var N=getProjectReferenceRedirectProject(E);return N&&getProjectReferenceOutputName(N,E)}function getProjectReferenceRedirectProject(N){if(!Ct||!Ct.length||E.fileExtensionIs(N,".d.ts")||E.fileExtensionIs(N,".json")){return undefined}return getResolvedProjectReferenceToRedirect(N)}function getProjectReferenceOutputName(N,R){var j=E.outFile(N.commandLine.options);return j?E.changeExtension(j,".d.ts"):E.getOutputDeclarationFileName(R,N.commandLine,!et.useCaseSensitiveFileNames())}function getResolvedProjectReferenceToRedirect(N){if(At===undefined){At=new E.Map;forEachResolvedProjectReference((function(E){if(toPath(Ee.configFilePath)!==E.sourceFile.path){E.commandLine.fileNames.forEach((function(N){return At.set(toPath(N),E.sourceFile.path)}))}}))}var R=At.get(toPath(N));return R&&getResolvedProjectReferenceByPath(R)}function forEachResolvedProjectReference(N){return E.forEachResolvedProjectReference(Ct,N)}function getSourceOfProjectReferenceRedirect(N){if(!E.isDeclarationFileName(N))return undefined;if(wt===undefined){wt=new E.Map;forEachResolvedProjectReference((function(N){var R=E.outFile(N.commandLine.options);if(R){var j=E.changeExtension(R,".d.ts");wt.set(toPath(j),true)}else{var $=E.memoize((function(){return E.getCommonSourceDirectoryOfConfig(N.commandLine,!et.useCaseSensitiveFileNames())}));E.forEach(N.commandLine.fileNames,(function(R){if(!E.fileExtensionIs(R,".d.ts")&&!E.fileExtensionIs(R,".json")){var j=E.getOutputDeclarationFileName(R,N.commandLine,!et.useCaseSensitiveFileNames(),$);wt.set(toPath(j),R)}}))}}))}return wt.get(toPath(N))}function isSourceOfProjectReferenceRedirect(E){return Pt&&!!getResolvedProjectReferenceToRedirect(E)}function getResolvedProjectReferenceByPath(E){if(!Dt){return undefined}return Dt.get(E)||undefined}function processReferencedFiles(N,R){E.forEach(N.referencedFiles,(function(j,$){processSourceFile(resolveTripleslashReference(j.fileName,N.fileName),R,false,undefined,{kind:E.FileIncludeKind.ReferenceFile,file:N.path,index:$})}))}function processTypeReferenceDirectives(N){var R=E.map(N.typeReferenceDirectives,(function(N){return E.toFileNameLowerCase(N.fileName)}));if(!R){return}var j=resolveTypeReferenceDirectiveNamesWorker(R,N);for(var $=0;$Qe;var we=_e&&!getResolutionDiagnostic(q,ie)&&!q.noResolve&&G1}))){createDiagnosticForOptionName(E.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}}if(Ee.useDefineForClassFields&&Te===0){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields")}if(Ee.checkJs&&!E.getAllowJSCompilerOption(Ee)){ot.add(E.createCompilerDiagnostic(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"))}if(Ee.emitDeclarationOnly){if(!E.getEmitDeclarations(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite")}if(Ee.noEmit){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")}}if(Ee.emitDecoratorMetadata&&!Ee.experimentalDecorators){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")}if(Ee.jsxFactory){if(Ee.reactNamespace){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFactory,Te)){createOptionValueDiagnostic("jsxFactory",E.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFactory)}}else if(Ee.reactNamespace&&!E.isIdentifierText(Ee.reactNamespace,Te)){createOptionValueDiagnostic("reactNamespace",E.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,Ee.reactNamespace)}if(Ee.jsxFragmentFactory){if(!Ee.jsxFactory){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFragmentFactory,Te)){createOptionValueDiagnostic("jsxFragmentFactory",E.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFragmentFactory)}}if(Ee.reactNamespace){if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(Ee.jsxImportSource){if(Ee.jsx===2){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(!Ee.noEmit&&!Ee.suppressOutputPathCheck){var Be=getEmitHost();var je=new E.Set;E.forEachEmittedFile(Be,(function(E){if(!Ee.emitDeclarationOnly){verifyEmitFilePath(E.jsFilePath,je)}verifyEmitFilePath(E.declarationFilePath,je)}))}function verifyEmitFilePath(N,R){if(N){var j=toPath(N);if(Et.has(j)){var $=void 0;if(!Ee.configFilePath){$=E.chainDiagnosticMessages(undefined,E.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)}$=E.chainDiagnosticMessages($,E.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,N);blockEmittingOfFile(N,E.createCompilerDiagnosticFromMessageChain($))}var q=!et.useCaseSensitiveFileNames()?E.toFileNameLowerCase(j):j;if(R.has(q)){blockEmittingOfFile(N,E.createCompilerDiagnostic(E.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,N))}else{R.add(q)}}}}function createDiagnosticExplainingFile(N,R,$,q){var G;var ie;var ae;var ce=isReferencedFile(R)?R:undefined;if(N)(G=Ve.get(N.path))===null||G===void 0?void 0:G.forEach(processReason);if(R)processReason(R);if(ce&&(ie===null||ie===void 0?void 0:ie.length)===1)ie=undefined;var le=ce&&getReferencedFileLocation(getSourceFileByPath,ce);var _e=ie&&E.chainDiagnosticMessages(ie,E.Diagnostics.The_file_is_in_the_program_because_Colon);var Ee=N&&E.explainIfFileIsRedirect(N);var Te=E.chainDiagnosticMessages.apply(void 0,j([Ee?_e?j([_e],Ee,true):Ee:_e,$],q||E.emptyArray,false));return le&&isReferenceFileLocation(le)?E.createFileDiagnosticFromMessageChain(le.file,le.pos,le.end-le.pos,Te,ae):E.createCompilerDiagnosticFromMessageChain(Te,ae);function processReason(N){(ie||(ie=[])).push(E.fileIncludeReasonToDiagnostics(Gt,N));if(!ce&&isReferencedFile(N)){ce=N}else if(ce!==N){ae=E.append(ae,fileIncludeReasonToRelatedInformation(N))}if(N===R)R=undefined}}function addFilePreprocessingFileExplainingDiagnostic(E,N,R,j){(Ke||(Ke=[])).push({kind:1,file:E&&E.path,fileProcessingReason:N,diagnostic:R,args:j})}function addProgramDiagnosticExplainingFile(E,N,R){ot.add(createDiagnosticExplainingFile(E,undefined,N,R))}function fileIncludeReasonToRelatedInformation(N){if(isReferencedFile(N)){var R=getReferencedFileLocation(getSourceFileByPath,N);var j;switch(N.kind){case E.FileIncludeKind.Import:j=E.Diagnostics.File_is_included_via_import_here;break;case E.FileIncludeKind.ReferenceFile:j=E.Diagnostics.File_is_included_via_reference_here;break;case E.FileIncludeKind.TypeReferenceDirective:j=E.Diagnostics.File_is_included_via_type_library_reference_here;break;case E.FileIncludeKind.LibReferenceDirective:j=E.Diagnostics.File_is_included_via_library_reference_here;break;default:E.Debug.assertNever(N)}return isReferenceFileLocation(R)?E.createFileDiagnostic(R.file,R.pos,R.end-R.pos,j):undefined}if(!Ee.configFile)return undefined;var $;var q;switch(N.kind){case E.FileIncludeKind.RootFile:if(!Ee.configFile.configFileSpecs)return undefined;var G=E.getNormalizedAbsolutePath(_e[N.index],st);var ie=E.getMatchedFileSpec(Gt,G);if(ie){$=E.getTsConfigPropArrayElementValue(Ee.configFile,"files",ie);q=E.Diagnostics.File_is_matched_by_files_list_specified_here;break}var ae=E.getMatchedIncludeSpec(Gt,G);if(!ae)return undefined;$=E.getTsConfigPropArrayElementValue(Ee.configFile,"include",ae);q=E.Diagnostics.File_is_matched_by_include_pattern_specified_here;break;case E.FileIncludeKind.SourceFromProjectReference:case E.FileIncludeKind.OutputFromProjectReference:var ce=E.Debug.checkDefined(Ct===null||Ct===void 0?void 0:Ct[N.index]);var le=forEachProjectReference(we,Ct,(function(E,N,R){return E===ce?{sourceFile:(N===null||N===void 0?void 0:N.sourceFile)||Ee.configFile,index:R}:undefined}));if(!le)return undefined;var Te=le.sourceFile,Ie=le.index;var Ne=E.firstDefined(E.getTsConfigPropArray(Te,"references"),(function(N){return E.isArrayLiteralExpression(N.initializer)?N.initializer:undefined}));return Ne&&Ne.elements.length>Ie?E.createDiagnosticForNodeInSourceFile(Te,Ne.elements[Ie],N.kind===E.FileIncludeKind.OutputFromProjectReference?E.Diagnostics.File_is_output_from_referenced_project_specified_here:E.Diagnostics.File_is_source_from_referenced_project_specified_here):undefined;case E.FileIncludeKind.AutomaticTypeDirectiveFile:if(!Ee.types)return undefined;$=getOptionsSyntaxByArrayElementValue("types",N.typeReference);q=E.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case E.FileIncludeKind.LibFile:if(N.index!==undefined){$=getOptionsSyntaxByArrayElementValue("lib",Ee.lib[N.index]);q=E.Diagnostics.File_is_library_specified_here;break}var Me=E.forEachEntry(E.targetOptionDeclaration.type,(function(E,N){return E===Ee.target?N:undefined}));$=Me?getOptionsSyntaxByValue("target",Me):undefined;q=E.Diagnostics.File_is_default_library_for_target_specified_here;break;default:E.Debug.assertNever(N)}return $&&E.createDiagnosticForNodeInSourceFile(Ee.configFile,$,q)}function verifyProjectReferences(){var N=!Ee.suppressOutputPathCheck?E.getTsBuildInfoEmitOutputFilePath(Ee):undefined;forEachProjectReference(we,Ct,(function(R,j,$){var q=(j?j.commandLine.projectReferences:we)[$];var G=j&&j.sourceFile;if(!R){createDiagnosticForReference(G,$,E.Diagnostics.File_0_not_found,q.path);return}var ie=R.commandLine.options;if(!ie.composite||ie.noEmit){var ae=j?j.commandLine.fileNames:_e;if(ae.length){if(!ie.composite)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,q.path);if(ie.noEmit)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_may_not_disable_emit,q.path)}}if(q.prepend){var ce=E.outFile(ie);if(ce){if(!et.fileExists(ce)){createDiagnosticForReference(G,$,E.Diagnostics.Output_file_0_from_project_1_does_not_exist,ce,q.path)}}else{createDiagnosticForReference(G,$,E.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,q.path)}}if(!j&&N&&N===E.getTsBuildInfoEmitOutputFilePath(ie)){createDiagnosticForReference(G,$,E.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,N,q.path);dt.set(toPath(N),true)}}))}function createDiagnosticForOptionPathKeyValue(N,R,j,$,q,G){var ie=true;var ae=getOptionPathsSyntax();for(var ce=0,le=ae;ceR){ot.add(E.createDiagnosticForNodeInSourceFile(Ee.configFile,Ne.elements[R],j,$,q,G));ie=false}}}}if(ie){ot.add(E.createCompilerDiagnostic(j,$,q,G))}}function createDiagnosticForOptionPaths(N,R,j,$){var q=true;var G=getOptionPathsSyntax();for(var ie=0,ae=G;ieR){ot.add(E.createDiagnosticForNodeInSourceFile(N||Ee.configFile,G.elements[R],j,$,q))}else{ot.add(E.createCompilerDiagnostic(j,$,q))}}function createDiagnosticForOption(N,R,j,$,q,G,ie){var ae=getCompilerOptionsObjectLiteralSyntax();var ce=!ae||!createOptionDiagnosticInObjectLiteralSyntax(ae,N,R,j,$,q,G,ie);if(ce){ot.add(E.createCompilerDiagnostic($,q,G,ie))}}function getCompilerOptionsObjectLiteralSyntax(){if(pt===undefined){pt=false;var N=E.getTsConfigObjectLiteralExpression(Ee.configFile);if(N){for(var R=0,j=E.getPropertyAssignment(N,"compilerOptions");R0){var q=N.getTypeChecker();for(var G=0,ie=R.imports;G0){for(var _e=0,Ee=R.referencedFiles;_e1){addReferenceFromAmbientModule(Ue)}}return $;function addReferenceFromAmbientModule(N){if(!N.declarations){return}for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];var G=E.getSourceFileOfNode(q);if(G&&G!==R){addReferencedFile(G.resolvedPath)}}}function addReferencedFile(N){($||($=new E.Set)).add(N)}}function canReuseOldState(E,N){return N&&!N.referencedMap===!E}N.canReuseOldState=canReuseOldState;function create(N,R,j,$){var q=new E.Map;var G=N.getCompilerOptions().module!==E.ModuleKind.None?createManyToManyPathMap():undefined;var ie=G?createManyToManyPathMap():undefined;var ae=new E.Set;var ce=canReuseOldState(G,j);N.getTypeChecker();for(var le=0,_e=N.getSourceFiles();le<_e.length;le++){var Ee=_e[le];var Te=E.Debug.checkDefined(Ee.version,"Program intended to be used with Builder should have source files with versions set");var we=ce?j.fileInfos.get(Ee.resolvedPath):undefined;if(G){var Ie=getReferencedFiles(N,Ee,R);if(Ie){G.set(Ee.resolvedPath,Ie)}if(ce){var Ne=j.exportedModulesMap.getValues(Ee.resolvedPath);if(Ne){ie.set(Ee.resolvedPath,Ne)}}}q.set(Ee.resolvedPath,{version:Te,signature:we&&we.signature,affectsGlobalScope:isFileAffectingGlobalScope(Ee)||undefined})}return{fileInfos:q,referencedMap:G,exportedModulesMap:ie,hasCalledUpdateShapeSignature:ae,useFileVersionAsSignature:!$&&!ce}}N.create=create;function releaseCache(E){E.allFilesExcludingDefaultLibraryFile=undefined;E.allFileNames=undefined}N.releaseCache=releaseCache;function clone(N){var R,j;return{fileInfos:new E.Map(N.fileInfos),referencedMap:(R=N.referencedMap)===null||R===void 0?void 0:R.clone(),exportedModulesMap:(j=N.exportedModulesMap)===null||j===void 0?void 0:j.clone(),hasCalledUpdateShapeSignature:new E.Set(N.hasCalledUpdateShapeSignature),useFileVersionAsSignature:N.useFileVersionAsSignature}}N.clone=clone;function getFilesAffectedBy(N,R,j,$,q,G,ie){var ae=G||new E.Map;var ce=R.getSourceFileByPath(j);if(!ce){return E.emptyArray}if(!updateShapeSignature(N,R,ce,ae,$,q,ie)){return[ce]}var le=(N.referencedMap?getFilesAffectedByUpdatedShapeWhenModuleEmit:getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(N,R,ce,ae,$,q,ie);if(!G){updateSignaturesFromCache(N,ae)}return le}N.getFilesAffectedBy=getFilesAffectedBy;function updateSignaturesFromCache(E,N){N.forEach((function(N,R){return updateSignatureOfFile(E,N,R)}))}N.updateSignaturesFromCache=updateSignaturesFromCache;function updateSignatureOfFile(E,N,R){E.fileInfos.get(R).signature=N;E.hasCalledUpdateShapeSignature.add(R)}N.updateSignatureOfFile=updateSignatureOfFile;function updateShapeSignature(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=N.useFileVersionAsSignature}E.Debug.assert(!!j);E.Debug.assert(!ie||!!N.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state");if(N.hasCalledUpdateShapeSignature.has(j.resolvedPath)||$.has(j.resolvedPath)){return false}var ce=N.fileInfos.get(j.resolvedPath);if(!ce)return E.Debug.fail();var le=ce.signature;var _e;if(!j.isDeclarationFile&&!ae){var Ee=getFileEmitOutput(R,j,true,q,undefined,true);var Te=E.firstOrUndefined(Ee.outputFiles);if(Te){E.Debug.assert(E.fileExtensionIs(Te.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+E.getAnyExtensionFromPath(Te.name)+" for "+Te.name+":: All output files: "+JSON.stringify(Ee.outputFiles.map((function(E){return E.name})))}));_e=(G||E.generateDjb2Hash)(Te.text);if(ie&&_e!==le){updateExportedModules(j,Ee.exportedModulesFromDeclarationEmit,ie)}}}if(_e===undefined){_e=j.version;if(ie&&_e!==le){var we=N.referencedMap?N.referencedMap.getValues(j.resolvedPath):undefined;if(we){ie.set(j.resolvedPath,we)}else{ie.deleteKey(j.resolvedPath)}}}$.set(j.resolvedPath,_e);return _e!==le}N.updateShapeSignature=updateShapeSignature;function updateExportedModules(N,R,j){if(!R){j.deleteKey(N.resolvedPath);return}var $;R.forEach((function(E){return addExportedModule(getReferencedFilesFromImportedModuleSymbol(E))}));if($){j.set(N.resolvedPath,$)}else{j.deleteKey(N.resolvedPath)}function addExportedModule(N){if(N===null||N===void 0?void 0:N.length){if(!$){$=new E.Set}N.forEach((function(E){return $.add(E)}))}}}function updateExportedFilesMapFromCache(N,R){var j;if(R){E.Debug.assert(!!N.exportedModulesMap);var $=R.id;var q=R.version();if(N.previousCache){if(N.previousCache.id===$&&N.previousCache.version===q){return}N.previousCache.id=$;N.previousCache.version=q}else{N.previousCache={id:$,version:q}}(j=R.deletedKeys())===null||j===void 0?void 0:j.forEach((function(E){return N.exportedModulesMap.deleteKey(E)}));R.forEach((function(E,R){return N.exportedModulesMap.set(R,E)}))}}N.updateExportedFilesMapFromCache=updateExportedFilesMapFromCache;function getAllDependencies(N,R,j){var $=R.getCompilerOptions();if(E.outFile($)){return getAllFileNames(N,R)}if(!N.referencedMap||isFileAffectingGlobalScope(j)){return getAllFileNames(N,R)}var q=new E.Set;var G=[j.resolvedPath];while(G.length){var ie=G.pop();if(!q.has(ie)){q.add(ie);var ae=N.referencedMap.getValues(ie);if(ae){var ce=ae.keys();for(var le=ce.next();!le.done;le=ce.next()){G.push(le.value)}}}}return E.arrayFrom(E.mapDefinedIterator(q.keys(),(function(E){var N,j;return(j=(N=R.getSourceFileByPath(E))===null||N===void 0?void 0:N.fileName)!==null&&j!==void 0?j:E})))}N.getAllDependencies=getAllDependencies;function getAllFileNames(N,R){if(!N.allFileNames){var j=R.getSourceFiles();N.allFileNames=j===E.emptyArray?E.emptyArray:j.map((function(E){return E.fileName}))}return N.allFileNames}function getReferencedByPaths(N,R){var j=N.referencedMap.getKeys(R);return j?E.arrayFrom(j.keys()):[]}N.getReferencedByPaths=getReferencedByPaths;function containsOnlyAmbientModules(N){for(var R=0,j=N.statements;R0){var _e=le.pop();if(!ce.has(_e)){var Ee=R.getSourceFileByPath(_e);ce.set(_e,Ee);if(Ee&&updateShapeSignature(N,R,Ee,$,q,G,ie)){le.push.apply(le,getReferencedByPaths(N,Ee.resolvedPath))}}}return E.arrayFrom(E.mapDefinedIterator(ce.values(),(function(E){return E})))}})(N=E.BuilderState||(E.BuilderState={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["DtsOnly"]=0]="DtsOnly";E[E["Full"]=1]="Full"})(N=E.BuilderFileEmit||(E.BuilderFileEmit={}));function hasSameKeys(N,R){return N===R||N!==undefined&&R!==undefined&&N.size===R.size&&!E.forEachKey(N,(function(E){return!R.has(E)}))}function createBuilderProgramState(N,R,j,$){var q=E.BuilderState.create(N,R,j,$);q.program=N;var G=N.getCompilerOptions();q.compilerOptions=G;if(!E.outFile(G)){q.semanticDiagnosticsPerFile=new E.Map}q.changedFilesSet=new E.Set;var ie=E.BuilderState.canReuseOldState(q.referencedMap,j);var ae=ie?j.compilerOptions:undefined;var ce=ie&&j.semanticDiagnosticsPerFile&&!!q.semanticDiagnosticsPerFile&&!E.compilerOptionsAffectSemanticDiagnostics(G,ae);if(ie){if(!j.currentChangedFilePath){var le=j.currentAffectedFilesSignatures;E.Debug.assert(!j.affectedFiles&&(!le||!le.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var _e=j.changedFilesSet;if(ce){E.Debug.assert(!_e||!E.forEachKey(_e,(function(E){return j.semanticDiagnosticsPerFile.has(E)})),"Semantic diagnostics shouldnt be available for changed files")}_e===null||_e===void 0?void 0:_e.forEach((function(E){return q.changedFilesSet.add(E)}));if(!E.outFile(G)&&j.affectedFilesPendingEmit){q.affectedFilesPendingEmit=j.affectedFilesPendingEmit.slice();q.affectedFilesPendingEmitKind=j.affectedFilesPendingEmitKind&&new E.Map(j.affectedFilesPendingEmitKind);q.affectedFilesPendingEmitIndex=j.affectedFilesPendingEmitIndex;q.seenAffectedFiles=new E.Set}}var Ee=q.referencedMap;var Te=ie?j.referencedMap:undefined;var we=ce&&!G.skipLibCheck===!ae.skipLibCheck;var Ie=we&&!G.skipDefaultLibCheck===!ae.skipDefaultLibCheck;q.fileInfos.forEach((function($,G){var ae;var le;if(!ie||!(ae=j.fileInfos.get(G))||ae.version!==$.version||!hasSameKeys(le=Ee&&Ee.getValues(G),Te&&Te.getValues(G))||le&&E.forEachKey(le,(function(E){return!q.fileInfos.has(E)&&j.fileInfos.has(E)}))){q.changedFilesSet.add(G)}else if(ce){var _e=N.getSourceFileByPath(G);if(_e.isDeclarationFile&&!we){return}if(_e.hasNoDefaultLib&&!Ie){return}var Ne=j.semanticDiagnosticsPerFile.get(G);if(Ne){q.semanticDiagnosticsPerFile.set(G,j.hasReusableDiagnostic?convertToDiagnostics(Ne,N,R):Ne);if(!q.semanticDiagnosticsFromOldState){q.semanticDiagnosticsFromOldState=new E.Set}q.semanticDiagnosticsFromOldState.add(G)}}}));if(ie&&E.forEachEntry(j.fileInfos,(function(E,N){return E.affectsGlobalScope&&!q.fileInfos.has(N)}))){E.BuilderState.getAllFilesExcludingDefaultLibraryFile(q,N,undefined).forEach((function(E){return q.changedFilesSet.add(E.resolvedPath)}))}else if(ae&&!E.outFile(G)&&E.compilerOptionsAffectEmit(G,ae)){N.getSourceFiles().forEach((function(E){return addToAffectedFilesPendingEmit(q,E.resolvedPath,1)}));E.Debug.assert(!q.seenAffectedFiles||!q.seenAffectedFiles.size);q.seenAffectedFiles=q.seenAffectedFiles||new E.Set}q.buildInfoEmitPending=!!q.changedFilesSet.size;return q}function convertToDiagnostics(N,R,j){if(!N.length)return E.emptyArray;var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(R.getCompilerOptions()),R.getCurrentDirectory()));return N.map((function(E){var N=convertToDiagnosticRelatedInformation(E,R,toPath);N.reportsUnnecessary=E.reportsUnnecessary;N.reportsDeprecated=E.reportDeprecated;N.source=E.source;N.skippedOn=E.skippedOn;var j=E.relatedInformation;N.relatedInformation=j?j.length?j.map((function(E){return convertToDiagnosticRelatedInformation(E,R,toPath)})):[]:undefined;return N}));function toPath(N){return E.toPath(N,$,j)}}function convertToDiagnosticRelatedInformation(E,N,R){var j=E.file;return $($({},E),{file:j?N.getSourceFileByPath(R(j)):undefined})}function releaseCache(N){E.BuilderState.releaseCache(N);N.program=undefined}function cloneBuilderProgramState(N){var R;var j=E.BuilderState.clone(N);j.semanticDiagnosticsPerFile=N.semanticDiagnosticsPerFile&&new E.Map(N.semanticDiagnosticsPerFile);j.changedFilesSet=new E.Set(N.changedFilesSet);j.affectedFiles=N.affectedFiles;j.affectedFilesIndex=N.affectedFilesIndex;j.currentChangedFilePath=N.currentChangedFilePath;j.currentAffectedFilesSignatures=N.currentAffectedFilesSignatures&&new E.Map(N.currentAffectedFilesSignatures);j.currentAffectedFilesExportedModulesMap=(R=N.currentAffectedFilesExportedModulesMap)===null||R===void 0?void 0:R.clone();j.seenAffectedFiles=N.seenAffectedFiles&&new E.Set(N.seenAffectedFiles);j.cleanedDiagnosticsOfLibFiles=N.cleanedDiagnosticsOfLibFiles;j.semanticDiagnosticsFromOldState=N.semanticDiagnosticsFromOldState&&new E.Set(N.semanticDiagnosticsFromOldState);j.program=N.program;j.compilerOptions=N.compilerOptions;j.affectedFilesPendingEmit=N.affectedFilesPendingEmit&&N.affectedFilesPendingEmit.slice();j.affectedFilesPendingEmitKind=N.affectedFilesPendingEmitKind&&new E.Map(N.affectedFilesPendingEmitKind);j.affectedFilesPendingEmitIndex=N.affectedFilesPendingEmitIndex;j.seenEmittedFiles=N.seenEmittedFiles&&new E.Map(N.seenEmittedFiles);j.programEmitComplete=N.programEmitComplete;return j}function assertSourceFileOkWithoutNextAffectedCall(N,R){E.Debug.assert(!R||!N.affectedFiles||N.affectedFiles[N.affectedFilesIndex-1]!==R||!N.semanticDiagnosticsPerFile.has(R.resolvedPath))}function getNextAffectedFile(N,R,j){while(true){var $=N.affectedFiles;if($){var q=N.seenAffectedFiles;var G=N.affectedFilesIndex;while(G<$.length){var ie=$[G];if(!q.has(ie.resolvedPath)){N.affectedFilesIndex=G;handleDtsMayChangeOfAffectedFile(N,ie,R,j);return ie}G++}N.changedFilesSet.delete(N.currentChangedFilePath);N.currentChangedFilePath=undefined;E.BuilderState.updateSignaturesFromCache(N,N.currentAffectedFilesSignatures);N.currentAffectedFilesSignatures.clear();E.BuilderState.updateExportedFilesMapFromCache(N,N.currentAffectedFilesExportedModulesMap);N.affectedFiles=undefined}var ae=N.changedFilesSet.keys().next();if(ae.done){return undefined}var ce=E.Debug.checkDefined(N.program);var le=ce.getCompilerOptions();if(E.outFile(le)){E.Debug.assert(!N.semanticDiagnosticsPerFile);return ce}if(!N.currentAffectedFilesSignatures)N.currentAffectedFilesSignatures=new E.Map;if(N.exportedModulesMap){N.currentAffectedFilesExportedModulesMap||(N.currentAffectedFilesExportedModulesMap=E.BuilderState.createManyToManyPathMap())}N.affectedFiles=E.BuilderState.getFilesAffectedBy(N,ce,ae.value,R,j,N.currentAffectedFilesSignatures,N.currentAffectedFilesExportedModulesMap);N.currentChangedFilePath=ae.value;N.affectedFilesIndex=0;if(!N.seenAffectedFiles)N.seenAffectedFiles=new E.Set}}function getNextAffectedFilePendingEmit(N){var R=N.affectedFilesPendingEmit;if(R){var j=N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map);for(var $=N.affectedFilesPendingEmitIndex;$0){var ae=ie.pop();if(!G.has(ae)){G.set(ae,true);j(N,ae);if(isChangedSignature(N,ae)){var ce=E.Debug.checkDefined(N.program).getSourceFileByPath(ae);ie.push.apply(ie,E.BuilderState.getReferencedByPaths(N,ce.resolvedPath))}}}}E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);var le=new E.Set;($=N.currentAffectedFilesExportedModulesMap.getKeys(R.resolvedPath))===null||$===void 0?void 0:$.forEach((function(E){return forEachFilesReferencingPath(N,E,le,j)}));(q=N.exportedModulesMap.getKeys(R.resolvedPath))===null||q===void 0?void 0:q.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFilesReferencingPath(N,E,le,j)}))}function forEachFilesReferencingPath(E,N,R,j){var $;($=E.referencedMap.getKeys(N))===null||$===void 0?void 0:$.forEach((function(N){return forEachFileAndExportsOfFile(E,N,R,j)}))}function forEachFileAndExportsOfFile(N,R,j,$){var q,G,ie;if(!E.tryAddToSet(j,R)){return}$(N,R);E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);(q=N.currentAffectedFilesExportedModulesMap.getKeys(R))===null||q===void 0?void 0:q.forEach((function(E){return forEachFileAndExportsOfFile(N,E,j,$)}));(G=N.exportedModulesMap.getKeys(R))===null||G===void 0?void 0:G.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFileAndExportsOfFile(N,E,j,$)}));(ie=N.referencedMap.getKeys(R))===null||ie===void 0?void 0:ie.forEach((function(E){return!j.has(E)&&$(N,E)}))}function doneWithAffectedFile(N,R,j,$,q){if(q){N.buildInfoEmitPending=false}else if(R===N.program){N.changedFilesSet.clear();N.programEmitComplete=true}else{N.seenAffectedFiles.add(R.resolvedPath);if(j!==undefined){(N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map)).set(R.resolvedPath,j)}if($){N.affectedFilesPendingEmitIndex++;N.buildInfoEmitPending=true}else{N.affectedFilesIndex++}}}function toAffectedFileResult(E,N,R){doneWithAffectedFile(E,R);return{result:N,affected:R}}function toAffectedFileEmitResult(E,N,R,j,$,q){doneWithAffectedFile(E,R,j,$,q);return{result:N,affected:R}}function getSemanticDiagnosticsOfFile(N,R,j){return E.concatenate(getBinderAndCheckerDiagnosticsOfFile(N,R,j),E.Debug.checkDefined(N.program).getProgramDiagnostics(R))}function getBinderAndCheckerDiagnosticsOfFile(N,R,j){var $=R.resolvedPath;if(N.semanticDiagnosticsPerFile){var q=N.semanticDiagnosticsPerFile.get($);if(q){return E.filterSemanticDiagnostics(q,N.compilerOptions)}}var G=E.Debug.checkDefined(N.program).getBindAndCheckDiagnostics(R,j);if(N.semanticDiagnosticsPerFile){N.semanticDiagnosticsPerFile.set($,G)}return E.filterSemanticDiagnostics(G,N.compilerOptions)}function getProgramBuildInfo(N,R){if(E.outFile(N.compilerOptions))return undefined;var j=E.Debug.checkDefined(N.program).getCurrentDirectory();var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(N.compilerOptions),j));var q=[];var G=new E.Map;var ie;var ae;var ce=E.arrayFrom(N.fileInfos.entries(),(function(R){var j=R[0],$=R[1];var G=toFileId(j);E.Debug.assert(q[G-1]===relativeToBuildInfo(j));var ie=N.currentAffectedFilesSignatures&&N.currentAffectedFilesSignatures.get(j);var ae=ie!==null&&ie!==void 0?ie:$.signature;return $.version===ae?$.affectsGlobalScope?{version:$.version,signature:undefined,affectsGlobalScope:true}:$.version:ae!==undefined?ie===undefined?$:{version:$.version,signature:ie,affectsGlobalScope:$.affectsGlobalScope}:{version:$.version,signature:false,affectsGlobalScope:$.affectsGlobalScope}}));var le;if(N.referencedMap){le=E.arrayFrom(N.referencedMap.keys()).sort(E.compareStringsCaseSensitive).map((function(E){return[toFileId(E),toFileIdListId(N.referencedMap.getValues(E))]}))}var _e;if(N.exportedModulesMap){_e=E.mapDefined(E.arrayFrom(N.exportedModulesMap.keys()).sort(E.compareStringsCaseSensitive),(function(E){var R;if(N.currentAffectedFilesExportedModulesMap){if((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E)){return undefined}var j=N.currentAffectedFilesExportedModulesMap.getValues(E);if(j){return[toFileId(E),toFileIdListId(j)]}}return[toFileId(E),toFileIdListId(N.exportedModulesMap.getValues(E))]}))}var Ee;if(N.semanticDiagnosticsPerFile){for(var Te=0,we=E.arrayFrom(N.semanticDiagnosticsPerFile.keys()).sort(E.compareStringsCaseSensitive);Te1||N.charCodeAt(0)!==47;if(q&&N.search(/[a-zA-Z]:/)!==0&&$.search(/[a-zA-z]\$\//)===0){j=N.indexOf(E.directorySeparator,j+1);if(j===-1){return false}$=N.substring(R+$.length,j+1)}if(q&&$.search(/users\//i)!==0){return true}for(var G=j+1,ie=2;ie>0;ie--){G=N.indexOf(E.directorySeparator,G)+1;if(G===0){return false}}return true}E.canWatchDirectory=canWatchDirectory;function createResolutionCache(N,R,j){var $;var q;var G;var ie=E.createMultiMap();var ae=[];var ce=E.createMultiMap();var le=false;var _e;var Ee;var Te;var we=E.memoize((function(){return N.getCurrentDirectory()}));var Ie=N.getCachedDirectoryStructureHost();var Ne=new E.Map;var Me=E.createCacheWithRedirects();var Le=E.createCacheWithRedirects();var Be=E.createModuleResolutionCache(we(),N.getCanonicalFileName,undefined,Me,Le);var je=new E.Map;var Ue=E.createCacheWithRedirects();var ze=E.createTypeReferenceDirectiveResolutionCache(we(),N.getCanonicalFileName,undefined,Be.getPackageJsonInfoCache(),Ue);var We=[".ts",".tsx",".js",".jsx",".json"];var Je=new E.Map;var Ve=new E.Map;var qe=R&&E.removeTrailingDirectorySeparator(E.getNormalizedAbsolutePath(R,we()));var He=qe&&N.toPath(qe);var Ge=He!==undefined?He.split(E.directorySeparator).length:0;var Ke=new E.Map;return{getModuleResolutionCache:function(){return Be},startRecordingFilesWithChangedResolutions:startRecordingFilesWithChangedResolutions,finishRecordingFilesWithChangedResolutions:finishRecordingFilesWithChangedResolutions,startCachingPerDirectoryResolution:clearPerDirectoryResolutions,finishCachingPerDirectoryResolution:finishCachingPerDirectoryResolution,resolveModuleNames:resolveModuleNames,getResolvedModuleWithFailedLookupLocationsFromCache:getResolvedModuleWithFailedLookupLocationsFromCache,resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,removeResolutionsFromProjectReferenceRedirects:removeResolutionsFromProjectReferenceRedirects,removeResolutionsOfFile:removeResolutionsOfFile,hasChangedAutomaticTypeDirectiveNames:function(){return le},invalidateResolutionOfFile:invalidateResolutionOfFile,invalidateResolutionsOfFailedLookupLocations:invalidateResolutionsOfFailedLookupLocations,setFilesWithInvalidatedNonRelativeUnresolvedImports:setFilesWithInvalidatedNonRelativeUnresolvedImports,createHasInvalidatedResolution:createHasInvalidatedResolution,isFileWithInvalidatedNonRelativeUnresolvedImports:isFileWithInvalidatedNonRelativeUnresolvedImports,updateTypeRootsWatch:updateTypeRootsWatch,closeTypeRootsWatch:closeTypeRootsWatch,clear:clear};function getResolvedModule(E){return E.resolvedModule}function getResolvedTypeReferenceDirective(E){return E.resolvedTypeReferenceDirective}function isInDirectoryPath(N,R){if(N===undefined||R.length<=N.length){return false}return E.startsWith(R,N)&&R[N.length]===E.directorySeparator}function clear(){E.clearMap(Ve,E.closeFileWatcherOf);Je.clear();ie.clear();closeTypeRootsWatch();Ne.clear();je.clear();ce.clear();ae.length=0;_e=undefined;Ee=undefined;Te=undefined;clearPerDirectoryResolutions();le=false}function startRecordingFilesWithChangedResolutions(){$=[]}function finishRecordingFilesWithChangedResolutions(){var E=$;$=undefined;return E}function isFileWithInvalidatedNonRelativeUnresolvedImports(E){if(!G){return false}var N=G.get(E);return!!N&&!!N.length}function createHasInvalidatedResolution(N){invalidateResolutionsOfFailedLookupLocations();if(N){q=undefined;return E.returnTrue}var R=q;q=undefined;return function(E){return!!R&&R.has(E)||isFileWithInvalidatedNonRelativeUnresolvedImports(E)}}function clearPerDirectoryResolutions(){Be.clear();ze.clear();ie.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);ie.clear()}function finishCachingPerDirectoryResolution(){G=undefined;clearPerDirectoryResolutions();Ve.forEach((function(E,N){if(E.refCount===0){Ve.delete(N);E.watcher.close()}}));le=false}function resolveModuleName(R,j,$,q,G){var ie;var ae=E.resolveModuleName(R,j,$,q,Be,G);if(!N.getGlobalCache){return ae}var ce=N.getGlobalCache();if(ce!==undefined&&!E.isExternalModuleNameRelative(R)&&!(ae.resolvedModule&&E.extensionIsTS(ae.resolvedModule.extension))){var le=E.loadModuleFromGlobalCache(E.Debug.checkDefined(N.globalCacheResolutionModuleName)(R),N.projectName,$,q,ce,Be),_e=le.resolvedModule,Ee=le.failedLookupLocations;if(_e){ae.resolvedModule=_e;(ie=ae.failedLookupLocations).push.apply(ie,Ee);return ae}}return ae}function resolveTypeReferenceDirective(N,R,j,$,q){return E.resolveTypeReferenceDirective(N,R,j,$,q,ze)}function resolveNamesWithLocalCache(R){var j,q,G;var ie=R.names,ae=R.containingFile,ce=R.redirectedReference,le=R.cache,_e=R.perDirectoryCacheWithRedirects,Ee=R.loader,Te=R.getResolutionWithResolvedFileName,we=R.shouldRetryResolution,Ie=R.reusedNames,Ne=R.logChanges;var Me=N.toPath(ae);var Le=le.get(Me)||le.set(Me,new E.Map).get(Me);var Be=E.getDirectoryPath(Me);var je=_e.getOrCreateMapOfCacheRedirects(ce);var Ue=je.get(Be);if(!Ue){Ue=new E.Map;je.set(Be,Ue)}var ze=[];var We=N.getCompilationSettings();var Je=Ne&&isFileWithInvalidatedNonRelativeUnresolvedImports(Me);var Ve=N.getCurrentProgram();var qe=Ve&&Ve.getResolvedProjectReferenceToRedirect(ae);var He=qe?!ce||ce.sourceFile.path!==qe.sourceFile.path:!!ce;var Ge=new E.Map;for(var Ke=0,Qe=ie;KeGe+1){return{dir:$.slice(0,Ge+1).join(E.directorySeparator),dirPath:j.slice(0,Ge+1).join(E.directorySeparator)}}else{return{dir:qe,dirPath:He,nonRecursive:false}}}return getDirectoryToWatchFromFailedLookupLocationDirectory(E.getDirectoryPath(E.getNormalizedAbsolutePath(N,we())),E.getDirectoryPath(R))}function getDirectoryToWatchFromFailedLookupLocationDirectory(N,R){while(E.pathContainsNodeModules(R)){N=E.getDirectoryPath(N);R=E.getDirectoryPath(R)}if(E.isNodeModulesDirectory(R)){return canWatchDirectory(E.getDirectoryPath(R))?{dir:N,dirPath:R}:undefined}var j=true;var $,q;if(He!==undefined){while(!isInDirectoryPath(R,He)){var G=E.getDirectoryPath(R);if(G===R){break}j=false;$=R;q=N;R=G;N=E.getDirectoryPath(N)}}return canWatchDirectory(R)?{dir:q||N,dirPath:$||R,nonRecursive:j}:undefined}function isPathWithDefaultFailedLookupExtension(N){return E.fileExtensionIsOneOf(N,We)}function watchFailedLookupLocationsOfExternalModuleResolutions(R,j,$,q){if(j.refCount){j.refCount++;E.Debug.assertDefined(j.files)}else{j.refCount=1;E.Debug.assert(E.length(j.files)===0);if(E.isExternalModuleNameRelative(R)){watchFailedLookupLocationOfResolution(j)}else{ie.add(R,j)}var G=q(j);if(G&&G.resolvedFileName){ce.add(N.toPath(G.resolvedFileName),j)}}(j.files||(j.files=[])).push($)}function watchFailedLookupLocationOfResolution(R){E.Debug.assert(!!R.refCount);var j=R.failedLookupLocations;if(!j.length)return;ae.push(R);var $=false;for(var q=0,G=j;q1);Je.set(Te,Ne-1)}}if(Ie===He){ie=true}else{removeDirectoryWatcher(Ie)}}}if(ie){removeDirectoryWatcher(He)}}function removeDirectoryWatcher(E){var N=Ve.get(E);N.refCount--}function createDirectoryWatcher(E,R,j){return N.watchDirectoryOfFailedLookupLocation(E,(function(E){var j=N.toPath(E);if(Ie){Ie.addOrDeleteFileOrDirectory(E,j)}scheduleInvalidateResolutionOfFailedLookupLocation(j,R===j)}),j?0:1)}function removeResolutionsOfFileFromCache(E,N,R){var j=E.get(N);if(j){j.forEach((function(E){return stopWatchFailedLookupLocationOfResolution(E,N,R)}));E.delete(N)}}function removeResolutionsFromProjectReferenceRedirects(R){if(!E.fileExtensionIs(R,".json")){return}var j=N.getCurrentProgram();if(!j){return}var $=j.getResolvedProjectReferenceByPath(R);if(!$){return}$.commandLine.fileNames.forEach((function(E){return removeResolutionsOfFile(N.toPath(E))}))}function removeResolutionsOfFile(E){removeResolutionsOfFileFromCache(Ne,E,getResolvedModule);removeResolutionsOfFileFromCache(je,E,getResolvedTypeReferenceDirective)}function invalidateResolutions(N,R){if(!N)return false;var j=false;for(var $=0,G=N;$1){j.sort(comparePathsByRedirectAndNumberOfDirectorySeparators)}ie.push.apply(ie,j)}var $=E.getDirectoryPath(N);if($===N)return ae=N,"break";N=$;ae=N};var ae;for(var ce=E.getDirectoryPath(N);q.size!==0;){var le=_loop_31(ce);ce=ae;if(le==="break")break}if(q.size){var _e=E.arrayFrom(q.values());if(_e.length>1)_e.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);ie.push.apply(ie,_e)}return ie}function tryGetModuleNameFromAmbientModule(N,R){var j;var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isNonGlobalAmbientModule(N)&&(!E.isExternalModuleAugmentation(N)||!E.isExternalModuleNameRelative(E.getTextOfIdentifierOrLiteral(N.name)))}));if($){return $.name.text}var q=E.mapDefined(N.declarations,(function(N){var j,$,q,G;if(!E.isModuleDeclaration(N))return;var ie=getTopNamespace(N);if(!(((j=ie===null||ie===void 0?void 0:ie.parent)===null||j===void 0?void 0:j.parent)&&E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent)&&E.isSourceFile(ie.parent.parent.parent)))return;var ae=(G=(q=($=ie.parent.parent.symbol.exports)===null||$===void 0?void 0:$.get("export="))===null||q===void 0?void 0:q.valueDeclaration)===null||G===void 0?void 0:G.expression;if(!ae)return;var ce=R.getSymbolAtLocation(ae);if(!ce)return;var le=(ce===null||ce===void 0?void 0:ce.flags)&2097152?R.getAliasedSymbol(ce):ce;if(le===N.symbol)return ie.parent.parent;function getTopNamespace(E){while(E.flags&4){E=E.parent}return E}}));var G=q[0];if(G){return G.name.text}}function tryGetModuleNameFromPaths(N,R,j){for(var $ in j){for(var q=0,G=j[$];q=le.length+_e.length&&E.startsWith(R,le)&&E.endsWith(R,_e)||!_e&&R===E.removeTrailingDirectorySeparator(le)){var Ee=R.substr(le.length,R.length-_e.length-le.length);return $.replace("*",Ee)}}else if(ae===R||ae===N){return $}}}}function tryGetModuleNameFromRootDirs(N,R,j,$,q,G){var ie=getPathRelativeToRootDirs(R,N,$);if(ie===undefined){return undefined}var ae=getPathRelativeToRootDirs(j,N,$);var ce=ae!==undefined?E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory(ae,ie,$)):ie;return E.getEmitModuleResolutionKind(G)===E.ModuleResolutionKind.NodeJs?removeExtensionAndIndexPostFix(ce,q,G):E.removeFileExtension(ce)}function tryGetModuleNameAsNodeModule(N,R,j,$,q){var G=N.path,ie=N.isRedirect;var ae=R.getCanonicalFileName,ce=R.sourceDirectory;if(!j.fileExists||!j.readFile){return undefined}var le=getNodeModulePathParts(G);if(!le){return undefined}var _e=G;var Ee=false;if(!q){var Te=le.packageRootIndex;var we=void 0;while(true){var Ie=tryDirectoryWithPackageJson(Te),Ne=Ie.moduleFileToTry,Me=Ie.packageRootPath;if(Me){_e=Me;Ee=true;break}if(!we)we=Ne;Te=G.indexOf(E.directorySeparator,Te+1);if(Te===-1){_e=getExtensionlessFileName(we);break}}}if(ie&&!Ee){return undefined}var Le=j.getGlobalTypingsCacheLocation&&j.getGlobalTypingsCacheLocation();var Be=ae(_e.substring(0,le.topLevelNodeModulesIndex));if(!(E.startsWith(ce,Be)||Le&&E.startsWith(ae(Le),Be))){return undefined}var je=_e.substring(le.topLevelPackageNameIndex+1);var Ue=E.getPackageNameFromTypesPackageName(je);return E.getEmitModuleResolutionKind($)!==E.ModuleResolutionKind.NodeJs&&Ue===je?undefined:Ue;function tryDirectoryWithPackageJson(N){var R=G.substring(0,N);var q=E.combinePaths(R,"package.json");var ie=G;if(j.fileExists(q)){var ce=JSON.parse(j.readFile(q));var le=ce.typesVersions?E.getPackageJsonTypesVersionsPaths(ce.typesVersions):undefined;if(le){var _e=G.slice(R.length+1);var Ee=tryGetModuleNameFromPaths(E.removeFileExtension(_e),removeExtensionAndIndexPostFix(_e,0,$),le.paths);if(Ee!==undefined){ie=E.combinePaths(R,Ee)}}var Te=ce.typings||ce.types||ce.main;if(E.isString(Te)){var we=E.toPath(Te,R,ae);if(E.removeFileExtension(we)===E.removeFileExtension(ae(ie))){return{packageRootPath:R,moduleFileToTry:ie}}}}return{moduleFileToTry:ie}}function getExtensionlessFileName(N){var R=E.removeFileExtension(N);if(ae(R.substring(le.fileNameIndex))==="/index"&&!tryGetAnyFileFromPath(j,R.substring(0,le.fileNameIndex))){return R.substring(0,le.fileNameIndex)}return R}}function tryGetAnyFileFromPath(N,R){if(!N.fileExists)return;var j=E.getSupportedExtensions({allowJs:true},[{extension:"node",isMixedContent:false},{extension:"json",isMixedContent:false,scriptKind:6}]);for(var $=0,q=j;$=0){ie=ae;ae=N.indexOf("/",ie+1);switch(ce){case 0:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){R=ie;j=ae;ce=1}break;case 1:case 2:if(ce===1&&N.charAt(ie+1)==="@"){ce=2}else{$=ae;ce=3}break;case 3:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){ce=1}else{ce=3}break}}q=ie;return ce>1?{topLevelNodeModulesIndex:R,topLevelPackageNameIndex:j,packageRootIndex:$,fileNameIndex:q}:undefined}function getPathRelativeToRootDirs(N,R,j){return E.firstDefined(R,(function(E){var R=getRelativePathIfInDirectory(N,E,j);return isPathRelativeToParent(R)?undefined:R}))}function removeExtensionAndIndexPostFix(N,R,j){if(E.fileExtensionIs(N,".json"))return N;var $=E.removeFileExtension(N);switch(R){case 0:return E.removeSuffix($,"/index");case 1:return $;case 2:return $+getJSExtensionForFile(N,j);default:return E.Debug.assertNever(R)}}function getJSExtensionForFile(N,R){var j;return(j=tryGetJSExtensionForFile(N,R))!==null&&j!==void 0?j:E.Debug.fail("Extension "+E.extensionFromPath(N)+" is unsupported:: FileName:: "+N)}function tryGetJSExtensionForFile(N,R){var j=E.tryGetExtensionFromPath(N);switch(j){case".ts":case".d.ts":return".js";case".tsx":return R.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return j;default:return undefined}}N.tryGetJSExtensionForFile=tryGetJSExtensionForFile;function getRelativePathIfInDirectory(N,R,j){var $=E.getRelativePathToDirectoryOrUrl(R,N,R,j,false);return E.isRootedDiskPath($)?undefined:$}function isPathRelativeToParent(N){return E.startsWith(N,"..")}})(N=E.moduleSpecifiers||(E.moduleSpecifiers={}))})(ce||(ce={}));var ce;(function(E){var N=E.sys?{getCurrentDirectory:function(){return E.sys.getCurrentDirectory()},getNewLine:function(){return E.sys.newLine},getCanonicalFileName:E.createGetCanonicalFileName(E.sys.useCaseSensitiveFileNames)}:undefined;function createDiagnosticReporter(R,j){var $=R===E.sys&&N?N:{getCurrentDirectory:function(){return R.getCurrentDirectory()},getNewLine:function(){return R.newLine},getCanonicalFileName:E.createGetCanonicalFileName(R.useCaseSensitiveFileNames)};if(!j){return function(N){return R.write(E.formatDiagnostic(N,$))}}var q=new Array(1);return function(N){q[0]=N;R.write(E.formatDiagnosticsWithColorAndContext(q,$)+$.getNewLine());q[0]=undefined}}E.createDiagnosticReporter=createDiagnosticReporter;function clearScreenIfNotWatchingForFileChanges(N,R,j){if(N.clearScreen&&!j.preserveWatchOutput&&!j.extendedDiagnostics&&!j.diagnostics&&E.contains(E.screenStartingMessageCodes,R.code)){N.clearScreen();return true}return false}E.screenStartingMessageCodes=[E.Diagnostics.Starting_compilation_in_watch_mode.code,E.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function getPlainDiagnosticFollowingNewLines(N,R){return E.contains(E.screenStartingMessageCodes,N.code)?R+R:R}function getLocaleTimeString(E){return!E.now?(new Date).toLocaleTimeString():E.now().toLocaleTimeString("en-US",{timeZone:"UTC"})}E.getLocaleTimeString=getLocaleTimeString;function createWatchStatusReporter(N,R){return R?function(R,j,$){clearScreenIfNotWatchingForFileChanges(N,R,$);var q="["+E.formatColorAndReset(getLocaleTimeString(N),E.ForegroundColorEscapeSequences.Grey)+"] ";q+=""+E.flattenDiagnosticMessageText(R.messageText,N.newLine)+(j+j);N.write(q)}:function(R,j,$){var q="";if(!clearScreenIfNotWatchingForFileChanges(N,R,$)){q+=j}q+=getLocaleTimeString(N)+" - ";q+=""+E.flattenDiagnosticMessageText(R.messageText,N.newLine)+getPlainDiagnosticFollowingNewLines(R,j);N.write(q)}}E.createWatchStatusReporter=createWatchStatusReporter;function parseConfigFileWithSystem(N,R,j,$,q,G){var ie=q;ie.onUnRecoverableConfigFileDiagnostic=function(E){return reportUnrecoverableDiagnostic(q,G,E)};var ae=E.getParsedCommandLineOfConfigFile(N,R,ie,j,$);ie.onUnRecoverableConfigFileDiagnostic=undefined;return ae}E.parseConfigFileWithSystem=parseConfigFileWithSystem;function getErrorCountForSummary(N){return E.countWhere(N,(function(N){return N.category===E.DiagnosticCategory.Error}))}E.getErrorCountForSummary=getErrorCountForSummary;function getWatchErrorSummaryDiagnosticMessage(N){return N===1?E.Diagnostics.Found_1_error_Watching_for_file_changes:E.Diagnostics.Found_0_errors_Watching_for_file_changes}E.getWatchErrorSummaryDiagnosticMessage=getWatchErrorSummaryDiagnosticMessage;function getErrorSummaryText(N,R){if(N===0)return"";var j=E.createCompilerDiagnostic(N===1?E.Diagnostics.Found_1_error:E.Diagnostics.Found_0_errors,N);return""+R+E.flattenDiagnosticMessageText(j.messageText,R)+R+R}E.getErrorSummaryText=getErrorSummaryText;function isBuilderProgram(E){return!!E.getState}E.isBuilderProgram=isBuilderProgram;function listFiles(N,R){var j=N.getCompilerOptions();if(j.explainFiles){explainFiles(isBuilderProgram(N)?N.getProgram():N,R)}else if(j.listFiles||j.listFilesOnly){E.forEach(N.getSourceFiles(),(function(E){R(E.fileName)}))}}E.listFiles=listFiles;function explainFiles(N,R){var j,$;var q=N.getFileIncludeReasons();var G=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var relativeFileName=function(R){return E.convertToRelativePath(R,N.getCurrentDirectory(),G)};for(var ie=0,ae=N.getSourceFiles();ie0){return E.ExitStatus.DiagnosticsPresent_OutputsSkipped}else if(_e.length>0){return E.ExitStatus.DiagnosticsPresent_OutputsGenerated}return E.ExitStatus.Success}E.emitFilesAndReportErrorsAndGetExitStatus=emitFilesAndReportErrorsAndGetExitStatus;E.noopFileWatcher={close:E.noop};E.returnNoopFileWatcher=function(){return E.noopFileWatcher};function createWatchHost(N,R){if(N===void 0){N=E.sys}var j=R||createWatchStatusReporter(N);return{onWatchStatusChange:j,watchFile:E.maybeBind(N,N.watchFile)||E.returnNoopFileWatcher,watchDirectory:E.maybeBind(N,N.watchDirectory)||E.returnNoopFileWatcher,setTimeout:E.maybeBind(N,N.setTimeout)||E.noop,clearTimeout:E.maybeBind(N,N.clearTimeout)||E.noop}}E.createWatchHost=createWatchHost;E.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file"};function createWatchFactory(N,R){var j=N.trace?R.extendedDiagnostics?E.WatchLogLevel.Verbose:R.diagnostics?E.WatchLogLevel.TriggerOnly:E.WatchLogLevel.None:E.WatchLogLevel.None;var $=j!==E.WatchLogLevel.None?function(E){return N.trace(E)}:E.noop;var q=E.getWatchFactory(N,j,$);q.writeLog=$;return q}E.createWatchFactory=createWatchFactory;function createCompilerHostFromProgramHost(N,R,j){if(j===void 0){j=N}var $=N.useCaseSensitiveFileNames();var q=E.memoize((function(){return N.getNewLine()}));return{getSourceFile:function(j,$,q){var G;try{E.performance.mark("beforeIORead");G=N.readFile(j,R().charset);E.performance.mark("afterIORead");E.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(E){if(q){q(E.message)}G=""}return G!==undefined?E.createSourceFile(j,G,$):undefined},getDefaultLibLocation:E.maybeBind(N,N.getDefaultLibLocation),getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:writeFile,getCurrentDirectory:E.memoize((function(){return N.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return $},getCanonicalFileName:E.createGetCanonicalFileName($),getNewLine:function(){return E.getNewLineCharacter(R(),q)},fileExists:function(E){return N.fileExists(E)},readFile:function(E){return N.readFile(E)},trace:E.maybeBind(N,N.trace),directoryExists:E.maybeBind(j,j.directoryExists),getDirectories:E.maybeBind(j,j.getDirectories),realpath:E.maybeBind(N,N.realpath),getEnvironmentVariable:E.maybeBind(N,N.getEnvironmentVariable)||function(){return""},createHash:E.maybeBind(N,N.createHash),readDirectory:E.maybeBind(N,N.readDirectory),disableUseFileVersionAsSignature:N.disableUseFileVersionAsSignature};function writeFile(R,j,$,q){try{E.performance.mark("beforeIOWrite");E.writeFileEnsuringDirectories(R,j,$,(function(E,R,j){return N.writeFile(E,R,j)}),(function(E){return N.createDirectory(E)}),(function(E){return N.directoryExists(E)}));E.performance.mark("afterIOWrite");E.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(E){if(q){q(E.message)}}}}E.createCompilerHostFromProgramHost=createCompilerHostFromProgramHost;function setGetSourceFileAsHashVersioned(N,R){var $=N.getSourceFile;var q=E.maybeBind(R,R.createHash)||E.generateDjb2Hash;N.getSourceFile=function(){var E=[];for(var R=0;RE?N:E}function isDeclarationFile(N){return E.fileExtensionIs(N,".d.ts")}function isCircularBuildOrder(E){return!!E&&!!E.buildOrder}E.isCircularBuildOrder=isCircularBuildOrder;function getBuildOrderFromAnyBuildOrder(E){return isCircularBuildOrder(E)?E.buildOrder:E}E.getBuildOrderFromAnyBuildOrder=getBuildOrderFromAnyBuildOrder;function createBuilderStatusReporter(N,R){return function(j){var $=R?"["+E.formatColorAndReset(E.getLocaleTimeString(N),E.ForegroundColorEscapeSequences.Grey)+"] ":E.getLocaleTimeString(N)+" - ";$+=""+E.flattenDiagnosticMessageText(j.messageText,N.newLine)+(N.newLine+N.newLine);N.write($)}}E.createBuilderStatusReporter=createBuilderStatusReporter;function createSolutionBuilderHostBase(N,R,j,$){var q=E.createProgramHost(N,R);q.getModifiedTime=N.getModifiedTime?function(E){return N.getModifiedTime(E)}:E.returnUndefined;q.setModifiedTime=N.setModifiedTime?function(E,R){return N.setModifiedTime(E,R)}:E.noop;q.deleteFile=N.deleteFile?function(E){return N.deleteFile(E)}:E.noop;q.reportDiagnostic=j||E.createDiagnosticReporter(N);q.reportSolutionBuilderStatus=$||createBuilderStatusReporter(N);q.now=E.maybeBind(N,N.now);return q}function createSolutionBuilderHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);G.reportErrorSummary=q;return G}E.createSolutionBuilderHost=createSolutionBuilderHost;function createSolutionBuilderWithWatchHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);var ie=E.createWatchHost(N,q);E.copyProperties(G,ie);return G}E.createSolutionBuilderWithWatchHost=createSolutionBuilderWithWatchHost;function getCompilerOptionsOfBuildOptions(N){var R={};E.commonOptionsWithBuild.forEach((function(j){if(E.hasProperty(N,j.name))R[j.name]=N[j.name]}));return R}function createSolutionBuilder(E,N,R){return createSolutionBuilderWorker(false,E,N,R)}E.createSolutionBuilder=createSolutionBuilder;function createSolutionBuilderWithWatch(E,N,R,j){return createSolutionBuilderWorker(true,E,N,R,j)}E.createSolutionBuilderWithWatch=createSolutionBuilderWithWatch;function createSolutionBuilderState(N,R,j,$,q){var G=R;var ie=R;var ae=G.getCurrentDirectory();var ce=E.createGetCanonicalFileName(G.useCaseSensitiveFileNames());var le=getCompilerOptionsOfBuildOptions($);var _e=E.createCompilerHostFromProgramHost(G,(function(){return Le.projectCompilerOptions}));E.setGetSourceFileAsHashVersioned(_e,G);_e.getParsedCommandLine=function(E){return parseConfigFile(Le,E,toResolvedConfigFilePath(Le,E))};_e.resolveModuleNames=E.maybeBind(G,G.resolveModuleNames);_e.resolveTypeReferenceDirectives=E.maybeBind(G,G.resolveTypeReferenceDirectives);var Ee=!_e.resolveModuleNames?E.createModuleResolutionCache(ae,ce):undefined;var Te=!_e.resolveTypeReferenceDirectives?E.createTypeReferenceDirectiveResolutionCache(ae,ce,undefined,Ee===null||Ee===void 0?void 0:Ee.getPackageJsonInfoCache()):undefined;if(!_e.resolveModuleNames){var loader_3=function(N,R,j){return E.resolveModuleName(N,R,Le.projectCompilerOptions,_e,Ee,j).resolvedModule};_e.resolveModuleNames=function(N,R,j,$){return E.loadWithLocalCache(E.Debug.checkEachDefined(N),R,$,loader_3)}}if(!_e.resolveTypeReferenceDirectives){var loader_4=function(N,R,j){return E.resolveTypeReferenceDirective(N,R,Le.projectCompilerOptions,_e,j,Le.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};_e.resolveTypeReferenceDirectives=function(N,R,j){return E.loadWithLocalCache(E.Debug.checkEachDefined(N),R,j,loader_4)}}var we=E.createWatchFactory(ie,$),Ie=we.watchFile,Ne=we.watchDirectory,Me=we.writeLog;var Le={host:G,hostWithWatch:ie,currentDirectory:ae,getCanonicalFileName:ce,parseConfigFileHost:E.parseConfigHostFromCompilerHostLike(G),write:E.maybeBind(G,G.trace),options:$,baseCompilerOptions:le,rootNames:j,baseWatchOptions:q,resolvedConfigFilePaths:new E.Map,configFileCache:new E.Map,projectStatus:new E.Map,buildInfoChecked:new E.Map,extendedConfigCache:new E.Map,builderPrograms:new E.Map,diagnostics:new E.Map,projectPendingBuild:new E.Map,projectErrorsReported:new E.Map,compilerHost:_e,moduleResolutionCache:Ee,typeReferenceDirectiveResolutionCache:Te,buildOrder:undefined,readFileWithCache:function(E){return G.readFile(E)},projectCompilerOptions:le,cache:undefined,allProjectBuildPending:true,needsSummary:true,watchAllProjectsPending:N,currentInvalidatedProject:undefined,watch:N,allWatchedWildcardDirectories:new E.Map,allWatchedInputFiles:new E.Map,allWatchedConfigFiles:new E.Map,allWatchedExtendedConfigFiles:new E.Map,allWatchedPackageJsonFiles:new E.Map,lastCachedPackageJsonLookups:new E.Map,timerToBuildInvalidatedProject:undefined,reportFileChangeDetected:false,watchFile:Ie,watchDirectory:Ne,writeLog:Me};return Le}function toPath(N,R){return E.toPath(R,N.currentDirectory,N.getCanonicalFileName)}function toResolvedConfigFilePath(E,N){var R=E.resolvedConfigFilePaths;var j=R.get(N);if(j!==undefined)return j;var $=toPath(E,N);R.set(N,$);return $}function isParsedCommandLine(E){return!!E.options}function getCachedParsedConfigFile(E,N){var R=E.configFileCache.get(N);return R&&isParsedCommandLine(R)?R:undefined}function parseConfigFile(N,R,j){var $=N.configFileCache;var q=$.get(j);if(q){return isParsedCommandLine(q)?q:undefined}var G;var ie=N.parseConfigFileHost,ae=N.baseCompilerOptions,ce=N.baseWatchOptions,le=N.extendedConfigCache,_e=N.host;var Ee;if(_e.getParsedCommandLine){Ee=_e.getParsedCommandLine(R);if(!Ee)G=E.createCompilerDiagnostic(E.Diagnostics.File_0_not_found,R)}else{ie.onUnRecoverableConfigFileDiagnostic=function(E){return G=E};Ee=E.getParsedCommandLineOfConfigFile(R,ae,ie,le,ce);ie.onUnRecoverableConfigFileDiagnostic=E.noop}$.set(j,Ee||G);return Ee}function resolveProjectName(N,R){return E.resolveConfigFileProjectName(E.resolvePath(N.currentDirectory,R))}function createBuildOrder(N,R){var j=new E.Map;var $=new E.Map;var q=[];var G;var ie;for(var ae=0,ce=R;aeq)}}}function needsBuild(N,R,j){var $=N.options;if(R.type!==E.UpToDateStatusType.OutOfDateWithPrepend||$.force)return true;return j.fileNames.length===0||!!E.getConfigFileParsingDiagnostics(j).length||!E.isIncrementalCompilation(j.options)}function getNextInvalidatedProject(N,R,j){if(!N.projectPendingBuild.size)return undefined;if(isCircularBuildOrder(R))return undefined;if(N.currentInvalidatedProject){return E.arrayIsEqualTo(N.currentInvalidatedProject.buildOrder,R)?N.currentInvalidatedProject:undefined}var $=N.options,G=N.projectPendingBuild;for(var ie=0;ieae){ie=Ee;ae=Te}}}if(!$.fileNames.length&&!E.canJsonReportNoInputFiles($.raw)){return{type:E.UpToDateStatusType.ContainerOnly}}var we=E.getAllProjectOutputs($,!ce.useCaseSensitiveFileNames());var Ie="(none)";var Ne=R;var Me="(none)";var Le=N;var Be;var je=N;var Ue=false;if(!G){for(var ze=0,We=we;zeLe){Le=Ve;Me=Je}if(isDeclarationFile(Je)){var qe=E.getModifiedTime(ce,Je);je=newer(je,qe)}}}var He=false;var Ge=false;var Ke;if($.projectReferences){j.projectStatus.set(q,{type:E.UpToDateStatusType.ComputingUpstream});for(var Qe=0,Xe=$.projectReferences;Qe=0}N.hasArgument=hasArgument;function findArgument(N){var R=E.sys.args.indexOf(N);return R>=0&&Rq){return 2}if(E.charCodeAt(0)===46){return 3}if(E.charCodeAt(0)===95){return 4}if(N){var R=/^@([^/]+)\/([^/]+)$/.exec(E);if(R){var j=validatePackageNameWorker(R[1],false);if(j!==0){return{name:R[1],isScopeName:true,result:j}}var $=validatePackageNameWorker(R[2],false);if($!==0){return{name:R[2],isScopeName:false,result:$}}return 0}}if(encodeURIComponent(E)!==E){return 5}return 0}function renderPackageNameValidationFailure(E,N){return typeof E==="object"?renderPackageNameValidationFailureWorker(N,E.result,E.name,E.isScopeName):renderPackageNameValidationFailureWorker(N,E,N,false)}N.renderPackageNameValidationFailure=renderPackageNameValidationFailure;function renderPackageNameValidationFailureWorker(N,R,j,$){var G=$?"Scope":"Package";switch(R){case 1:return"'"+N+"':: "+G+" name '"+j+"' cannot be empty";case 2:return"'"+N+"':: "+G+" name '"+j+"' should be less than "+q+" characters";case 3:return"'"+N+"':: "+G+" name '"+j+"' cannot start with '.'";case 4:return"'"+N+"':: "+G+" name '"+j+"' cannot start with '_'";case 5:return"'"+N+"':: "+G+" name '"+j+"' contains non URI safe characters";case 0:return E.Debug.fail();default:throw E.Debug.assertNever(R)}}})(N=E.JsTyping||(E.JsTyping={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){var N=function(){function StringScriptSnapshot(E){this.text=E}StringScriptSnapshot.prototype.getText=function(E,N){return E===0&&N===this.text.length?this.text:this.text.substring(E,N)};StringScriptSnapshot.prototype.getLength=function(){return this.text.length};StringScriptSnapshot.prototype.getChangeRange=function(){return undefined};return StringScriptSnapshot}();function fromString(E){return new N(E)}E.fromString=fromString})(N=E.ScriptSnapshot||(E.ScriptSnapshot={}));var R;(function(E){E[E["Dependencies"]=1]="Dependencies";E[E["DevDependencies"]=2]="DevDependencies";E[E["PeerDependencies"]=4]="PeerDependencies";E[E["OptionalDependencies"]=8]="OptionalDependencies";E[E["All"]=15]="All"})(R=E.PackageJsonDependencyGroup||(E.PackageJsonDependencyGroup={}));var j;(function(E){E[E["Off"]=0]="Off";E[E["On"]=1]="On";E[E["Auto"]=2]="Auto"})(j=E.PackageJsonAutoImportPreference||(E.PackageJsonAutoImportPreference={}));var $;(function(E){E[E["Semantic"]=0]="Semantic";E[E["PartialSemantic"]=1]="PartialSemantic";E[E["Syntactic"]=2]="Syntactic"})($=E.LanguageServiceMode||(E.LanguageServiceMode={}));E.emptyOptions={};var q;(function(E){E["Original"]="original";E["TwentyTwenty"]="2020"})(q=E.SemanticClassificationFormat||(E.SemanticClassificationFormat={}));var G;(function(E){E[E["Invoked"]=1]="Invoked";E[E["TriggerCharacter"]=2]="TriggerCharacter";E[E["TriggerForIncompleteCompletions"]=3]="TriggerForIncompleteCompletions"})(G=E.CompletionTriggerKind||(E.CompletionTriggerKind={}));var ie;(function(E){E["Type"]="Type";E["Parameter"]="Parameter";E["Enum"]="Enum"})(ie=E.InlayHintKind||(E.InlayHintKind={}));var ae;(function(E){E["none"]="none";E["definition"]="definition";E["reference"]="reference";E["writtenReference"]="writtenReference"})(ae=E.HighlightSpanKind||(E.HighlightSpanKind={}));var ce;(function(E){E[E["None"]=0]="None";E[E["Block"]=1]="Block";E[E["Smart"]=2]="Smart"})(ce=E.IndentStyle||(E.IndentStyle={}));var le;(function(E){E["Ignore"]="ignore";E["Insert"]="insert";E["Remove"]="remove"})(le=E.SemicolonPreference||(E.SemicolonPreference={}));function getDefaultFormatCodeSettings(E){return{indentSize:4,tabSize:4,newLineCharacter:E||"\n",convertTabsToSpaces:true,indentStyle:ce.Smart,insertSpaceAfterConstructor:false,insertSpaceAfterCommaDelimiter:true,insertSpaceAfterSemicolonInForStatements:true,insertSpaceBeforeAndAfterBinaryOperators:true,insertSpaceAfterKeywordsInControlFlowStatements:true,insertSpaceAfterFunctionKeywordForAnonymousFunctions:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:true,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:false,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:false,insertSpaceBeforeFunctionParenthesis:false,placeOpenBraceOnNewLineForFunctions:false,placeOpenBraceOnNewLineForControlBlocks:false,semicolons:le.Ignore,trimTrailingWhitespace:true}}E.getDefaultFormatCodeSettings=getDefaultFormatCodeSettings;E.testFormatSettings=getDefaultFormatCodeSettings("\n");var _e;(function(E){E[E["aliasName"]=0]="aliasName";E[E["className"]=1]="className";E[E["enumName"]=2]="enumName";E[E["fieldName"]=3]="fieldName";E[E["interfaceName"]=4]="interfaceName";E[E["keyword"]=5]="keyword";E[E["lineBreak"]=6]="lineBreak";E[E["numericLiteral"]=7]="numericLiteral";E[E["stringLiteral"]=8]="stringLiteral";E[E["localName"]=9]="localName";E[E["methodName"]=10]="methodName";E[E["moduleName"]=11]="moduleName";E[E["operator"]=12]="operator";E[E["parameterName"]=13]="parameterName";E[E["propertyName"]=14]="propertyName";E[E["punctuation"]=15]="punctuation";E[E["space"]=16]="space";E[E["text"]=17]="text";E[E["typeParameterName"]=18]="typeParameterName";E[E["enumMemberName"]=19]="enumMemberName";E[E["functionName"]=20]="functionName";E[E["regularExpressionLiteral"]=21]="regularExpressionLiteral";E[E["link"]=22]="link";E[E["linkName"]=23]="linkName";E[E["linkText"]=24]="linkText"})(_e=E.SymbolDisplayPartKind||(E.SymbolDisplayPartKind={}));var Ee;(function(E){E["Comment"]="comment";E["Region"]="region";E["Code"]="code";E["Imports"]="imports"})(Ee=E.OutliningSpanKind||(E.OutliningSpanKind={}));var Te;(function(E){E[E["JavaScript"]=0]="JavaScript";E[E["SourceMap"]=1]="SourceMap";E[E["Declaration"]=2]="Declaration"})(Te=E.OutputFileType||(E.OutputFileType={}));var we;(function(E){E[E["None"]=0]="None";E[E["InMultiLineCommentTrivia"]=1]="InMultiLineCommentTrivia";E[E["InSingleQuoteStringLiteral"]=2]="InSingleQuoteStringLiteral";E[E["InDoubleQuoteStringLiteral"]=3]="InDoubleQuoteStringLiteral";E[E["InTemplateHeadOrNoSubstitutionTemplate"]=4]="InTemplateHeadOrNoSubstitutionTemplate";E[E["InTemplateMiddleOrTail"]=5]="InTemplateMiddleOrTail";E[E["InTemplateSubstitutionPosition"]=6]="InTemplateSubstitutionPosition"})(we=E.EndOfLineState||(E.EndOfLineState={}));var Ie;(function(E){E[E["Punctuation"]=0]="Punctuation";E[E["Keyword"]=1]="Keyword";E[E["Operator"]=2]="Operator";E[E["Comment"]=3]="Comment";E[E["Whitespace"]=4]="Whitespace";E[E["Identifier"]=5]="Identifier";E[E["NumberLiteral"]=6]="NumberLiteral";E[E["BigIntLiteral"]=7]="BigIntLiteral";E[E["StringLiteral"]=8]="StringLiteral";E[E["RegExpLiteral"]=9]="RegExpLiteral"})(Ie=E.TokenClass||(E.TokenClass={}));var Ne;(function(E){E["unknown"]="";E["warning"]="warning";E["keyword"]="keyword";E["scriptElement"]="script";E["moduleElement"]="module";E["classElement"]="class";E["localClassElement"]="local class";E["interfaceElement"]="interface";E["typeElement"]="type";E["enumElement"]="enum";E["enumMemberElement"]="enum member";E["variableElement"]="var";E["localVariableElement"]="local var";E["functionElement"]="function";E["localFunctionElement"]="local function";E["memberFunctionElement"]="method";E["memberGetAccessorElement"]="getter";E["memberSetAccessorElement"]="setter";E["memberVariableElement"]="property";E["constructorImplementationElement"]="constructor";E["callSignatureElement"]="call";E["indexSignatureElement"]="index";E["constructSignatureElement"]="construct";E["parameterElement"]="parameter";E["typeParameterElement"]="type parameter";E["primitiveType"]="primitive type";E["label"]="label";E["alias"]="alias";E["constElement"]="const";E["letElement"]="let";E["directory"]="directory";E["externalModuleName"]="external module name";E["jsxAttribute"]="JSX attribute";E["string"]="string";E["link"]="link";E["linkName"]="link name";E["linkText"]="link text"})(Ne=E.ScriptElementKind||(E.ScriptElementKind={}));var Me;(function(E){E["none"]="";E["publicMemberModifier"]="public";E["privateMemberModifier"]="private";E["protectedMemberModifier"]="protected";E["exportedModifier"]="export";E["ambientModifier"]="declare";E["staticModifier"]="static";E["abstractModifier"]="abstract";E["optionalModifier"]="optional";E["deprecatedModifier"]="deprecated";E["dtsModifier"]=".d.ts";E["tsModifier"]=".ts";E["tsxModifier"]=".tsx";E["jsModifier"]=".js";E["jsxModifier"]=".jsx";E["jsonModifier"]=".json"})(Me=E.ScriptElementKindModifier||(E.ScriptElementKindModifier={}));var Le;(function(E){E["comment"]="comment";E["identifier"]="identifier";E["keyword"]="keyword";E["numericLiteral"]="number";E["bigintLiteral"]="bigint";E["operator"]="operator";E["stringLiteral"]="string";E["whiteSpace"]="whitespace";E["text"]="text";E["punctuation"]="punctuation";E["className"]="class name";E["enumName"]="enum name";E["interfaceName"]="interface name";E["moduleName"]="module name";E["typeParameterName"]="type parameter name";E["typeAliasName"]="type alias name";E["parameterName"]="parameter name";E["docCommentTagName"]="doc comment tag name";E["jsxOpenTagName"]="jsx open tag name";E["jsxCloseTagName"]="jsx close tag name";E["jsxSelfClosingTagName"]="jsx self closing tag name";E["jsxAttribute"]="jsx attribute";E["jsxText"]="jsx text";E["jsxAttributeStringLiteralValue"]="jsx attribute string literal value"})(Le=E.ClassificationTypeNames||(E.ClassificationTypeNames={}));var Be;(function(E){E[E["comment"]=1]="comment";E[E["identifier"]=2]="identifier";E[E["keyword"]=3]="keyword";E[E["numericLiteral"]=4]="numericLiteral";E[E["operator"]=5]="operator";E[E["stringLiteral"]=6]="stringLiteral";E[E["regularExpressionLiteral"]=7]="regularExpressionLiteral";E[E["whiteSpace"]=8]="whiteSpace";E[E["text"]=9]="text";E[E["punctuation"]=10]="punctuation";E[E["className"]=11]="className";E[E["enumName"]=12]="enumName";E[E["interfaceName"]=13]="interfaceName";E[E["moduleName"]=14]="moduleName";E[E["typeParameterName"]=15]="typeParameterName";E[E["typeAliasName"]=16]="typeAliasName";E[E["parameterName"]=17]="parameterName";E[E["docCommentTagName"]=18]="docCommentTagName";E[E["jsxOpenTagName"]=19]="jsxOpenTagName";E[E["jsxCloseTagName"]=20]="jsxCloseTagName";E[E["jsxSelfClosingTagName"]=21]="jsxSelfClosingTagName";E[E["jsxAttribute"]=22]="jsxAttribute";E[E["jsxText"]=23]="jsxText";E[E["jsxAttributeStringLiteralValue"]=24]="jsxAttributeStringLiteralValue";E[E["bigintLiteral"]=25]="bigintLiteral"})(Be=E.ClassificationType||(E.ClassificationType={}))})(ce||(ce={}));var ce;(function(E){E.scanner=E.createScanner(99,true);var N;(function(E){E[E["None"]=0]="None";E[E["Value"]=1]="Value";E[E["Type"]=2]="Type";E[E["Namespace"]=4]="Namespace";E[E["All"]=7]="All"})(N=E.SemanticMeaning||(E.SemanticMeaning={}));function getMeaningFromDeclaration(N){switch(N.kind){case 252:return E.isInJSFile(N)&&E.getJSDocEnumTag(N)?7:1;case 162:case 201:case 165:case 164:case 291:case 292:case 167:case 166:case 169:case 170:case 171:case 254:case 211:case 212:case 290:case 283:return 1;case 161:case 256:case 257:case 180:return 2;case 340:return N.name===undefined?1|2:2;case 294:case 255:return 1|2;case 259:if(E.isAmbientModule(N)){return 4|1}else if(E.getModuleInstanceState(N)===1){return 4|1}else{return 4}case 258:case 267:case 268:case 263:case 264:case 269:case 270:return 7;case 300:return 4|1}return 7}E.getMeaningFromDeclaration=getMeaningFromDeclaration;function getMeaningFromLocation(N){N=getAdjustedReferenceLocation(N);var R=N.parent;if(N.kind===300){return 1}else if(E.isExportAssignment(R)||E.isExportSpecifier(R)||E.isExternalModuleReference(R)||E.isImportSpecifier(R)||E.isImportClause(R)||E.isImportEqualsDeclaration(R)&&N===R.name){var j=R;while(j){if(E.isImportEqualsDeclaration(j)||E.isImportClause(j)||E.isExportDeclaration(j)){return j.isTypeOnly?2:7}j=j.parent}return 7}else if(isInRightSideOfInternalImportEqualsDeclaration(N)){return getMeaningFromRightHandSideOfImportEquals(N)}else if(E.isDeclarationName(N)){return getMeaningFromDeclaration(R)}else if(E.isEntityName(N)&&E.findAncestor(N,E.or(E.isJSDocNameReference,E.isJSDocLinkLike,E.isJSDocMemberName))){return 7}else if(isTypeReference(N)){return 2}else if(isNamespaceReference(N)){return 4}else if(E.isTypeParameterDeclaration(R)){E.Debug.assert(E.isJSDocTemplateTag(R.parent));return 2}else if(E.isLiteralTypeNode(R)){return 2|1}else{return 1}}E.getMeaningFromLocation=getMeaningFromLocation;function getMeaningFromRightHandSideOfImportEquals(N){var R=N.kind===159?N:E.isQualifiedName(N.parent)&&N.parent.right===N?N.parent:undefined;return R&&R.parent.kind===263?7:4}function isInRightSideOfInternalImportEqualsDeclaration(N){while(N.parent.kind===159){N=N.parent}return E.isInternalModuleImportEqualsDeclaration(N.parent)&&N.parent.moduleReference===N}E.isInRightSideOfInternalImportEqualsDeclaration=isInRightSideOfInternalImportEqualsDeclaration;function isNamespaceReference(E){return isQualifiedNameNamespaceReference(E)||isPropertyAccessNamespaceReference(E)}function isQualifiedNameNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===159){while(N.parent&&N.parent.kind===159){N=N.parent}R=N.right===E}return N.parent.kind===176&&!R}function isPropertyAccessNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===204){while(N.parent&&N.parent.kind===204){N=N.parent}R=N.name===E}if(!R&&N.parent.kind===226&&N.parent.parent.kind===289){var j=N.parent.parent.parent;return j.kind===255&&N.parent.parent.token===117||j.kind===256&&N.parent.parent.token===94}return false}function isTypeReference(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}switch(N.kind){case 108:return!E.isExpressionNode(N);case 190:return true}switch(N.parent.kind){case 176:return true;case 198:return!N.parent.isTypeOf;case 226:return!E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)}return false}function isCallExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallExpressionTarget=isCallExpressionTarget;function isNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isNewExpressionTarget=isNewExpressionTarget;function isCallOrNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallOrNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallOrNewExpressionTarget=isCallOrNewExpressionTarget;function isTaggedTemplateTag(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isTaggedTemplateExpression,selectTagOfTaggedTemplateExpression,R,j)}E.isTaggedTemplateTag=isTaggedTemplateTag;function isDecoratorTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isDecorator,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isDecoratorTarget=isDecoratorTarget;function isJsxOpeningLikeElementTagName(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isJsxOpeningLikeElement,selectTagNameOfJsxOpeningLikeElement,R,j)}E.isJsxOpeningLikeElementTagName=isJsxOpeningLikeElementTagName;function selectExpressionOfCallOrNewExpressionOrDecorator(E){return E.expression}function selectTagOfTaggedTemplateExpression(E){return E.tag}function selectTagNameOfJsxOpeningLikeElement(E){return E.tagName}function isCalleeWorker(N,R,j,$,q){var G=$?climbPastPropertyOrElementAccess(N):climbPastPropertyAccess(N);if(q){G=E.skipOuterExpressions(G)}return!!G&&!!G.parent&&R(G.parent)&&j(G.parent)===G}function climbPastPropertyAccess(E){return isRightSideOfPropertyAccess(E)?E.parent:E}E.climbPastPropertyAccess=climbPastPropertyAccess;function climbPastPropertyOrElementAccess(E){return isRightSideOfPropertyAccess(E)||isArgumentExpressionOfElementAccess(E)?E.parent:E}E.climbPastPropertyOrElementAccess=climbPastPropertyOrElementAccess;function getTargetLabel(E,N){while(E){if(E.kind===248&&E.label.escapedText===N){return E.label}E=E.parent}return undefined}E.getTargetLabel=getTargetLabel;function hasPropertyAccessExpressionWithName(N,R){if(!E.isPropertyAccessExpression(N.expression)){return false}return N.expression.name.text===R}E.hasPropertyAccessExpressionWithName=hasPropertyAccessExpressionWithName;function isJumpStatementTarget(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isBreakOrContinueStatement))===null||R===void 0?void 0:R.label)===N}E.isJumpStatementTarget=isJumpStatementTarget;function isLabelOfLabeledStatement(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isLabeledStatement))===null||R===void 0?void 0:R.label)===N}E.isLabelOfLabeledStatement=isLabelOfLabeledStatement;function isLabelName(E){return isLabelOfLabeledStatement(E)||isJumpStatementTarget(E)}E.isLabelName=isLabelName;function isTagName(N){var R;return((R=E.tryCast(N.parent,E.isJSDocTag))===null||R===void 0?void 0:R.tagName)===N}E.isTagName=isTagName;function isRightSideOfQualifiedName(N){var R;return((R=E.tryCast(N.parent,E.isQualifiedName))===null||R===void 0?void 0:R.right)===N}E.isRightSideOfQualifiedName=isRightSideOfQualifiedName;function isRightSideOfPropertyAccess(N){var R;return((R=E.tryCast(N.parent,E.isPropertyAccessExpression))===null||R===void 0?void 0:R.name)===N}E.isRightSideOfPropertyAccess=isRightSideOfPropertyAccess;function isArgumentExpressionOfElementAccess(N){var R;return((R=E.tryCast(N.parent,E.isElementAccessExpression))===null||R===void 0?void 0:R.argumentExpression)===N}E.isArgumentExpressionOfElementAccess=isArgumentExpressionOfElementAccess;function isNameOfModuleDeclaration(N){var R;return((R=E.tryCast(N.parent,E.isModuleDeclaration))===null||R===void 0?void 0:R.name)===N}E.isNameOfModuleDeclaration=isNameOfModuleDeclaration;function isNameOfFunctionDeclaration(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isFunctionLike))===null||R===void 0?void 0:R.name)===N}E.isNameOfFunctionDeclaration=isNameOfFunctionDeclaration;function isLiteralNameOfPropertyDeclarationOrIndexAccess(N){switch(N.parent.kind){case 165:case 164:case 291:case 294:case 167:case 166:case 170:case 171:case 259:return E.getNameOfDeclaration(N.parent)===N;case 205:return N.parent.argumentExpression===N;case 160:return true;case 194:return N.parent.parent.kind===192;default:return false}}E.isLiteralNameOfPropertyDeclarationOrIndexAccess=isLiteralNameOfPropertyDeclarationOrIndexAccess;function isExpressionOfExternalModuleImportEqualsDeclaration(N){return E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N}E.isExpressionOfExternalModuleImportEqualsDeclaration=isExpressionOfExternalModuleImportEqualsDeclaration;function getContainerNode(N){if(E.isJSDocTypeAlias(N)){N=N.parent.parent}while(true){N=N.parent;if(!N){return undefined}switch(N.kind){case 300:case 167:case 166:case 254:case 211:case 170:case 171:case 255:case 256:case 258:case 259:return N}}}E.getContainerNode=getContainerNode;function getNodeKind(N){switch(N.kind){case 300:return E.isExternalModule(N)?"module":"script";case 259:return"module";case 255:case 224:return"class";case 256:return"interface";case 257:case 333:case 340:return"type";case 258:return"enum";case 252:return getKindOfVariableDeclaration(N);case 201:return getKindOfVariableDeclaration(E.getRootDeclaration(N));case 212:case 254:case 211:return"function";case 170:return"getter";case 171:return"setter";case 167:case 166:return"method";case 291:var R=N.initializer;return E.isFunctionLike(R)?"method":"property";case 165:case 164:case 292:case 293:return"property";case 174:return"index";case 173:return"construct";case 172:return"call";case 169:case 168:return"constructor";case 161:return"type parameter";case 294:return"enum member";case 162:return E.hasSyntacticModifier(N,16476)?"property":"parameter";case 263:case 268:case 273:case 266:case 272:return"alias";case 219:var j=E.getAssignmentDeclarationKind(N);var $=N.right;switch(j){case 7:case 8:case 9:case 0:return"";case 1:case 2:var q=getNodeKind($);return q===""?"const":q;case 3:return E.isFunctionExpression($)?"method":"property";case 4:return"property";case 5:return E.isFunctionExpression($)?"method":"property";case 6:return"local class";default:{E.assertType(j);return""}}case 79:return E.isImportClause(N.parent)?"alias":"";case 269:var G=getNodeKind(N.expression);return G===""?"const":G;default:return""}function getKindOfVariableDeclaration(N){return E.isVarConst(N)?"const":E.isLet(N)?"let":"var"}}E.getNodeKind=getNodeKind;function isThis(N){switch(N.kind){case 108:return true;case 79:return E.identifierIsThisKeyword(N)&&N.parent.kind===162;default:return false}}E.isThis=isThis;var R=/^\/\/\/\s*=R.end}E.startEndContainsRange=startEndContainsRange;function rangeContainsStartEnd(E,N,R){return E.pos<=N&&E.end>=R}E.rangeContainsStartEnd=rangeContainsStartEnd;function rangeOverlapsWithStartEnd(E,N,R){return startEndOverlapsWithStartEnd(E.pos,E.end,N,R)}E.rangeOverlapsWithStartEnd=rangeOverlapsWithStartEnd;function nodeOverlapsWithStartEnd(E,N,R,j){return startEndOverlapsWithStartEnd(E.getStart(N),E.end,R,j)}E.nodeOverlapsWithStartEnd=nodeOverlapsWithStartEnd;function startEndOverlapsWithStartEnd(E,N,R,j){var $=Math.max(E,R);var q=Math.min(N,j);return $N){break}var le=ae.getEnd();if(Nj.getStart(N)&&RN.end||E.pos===N.end;return R&&nodeHasTokens(E,j)?find(E):undefined}))}}E.findNextToken=findNextToken;function findPrecedingToken(N,R,j,$){var q=find(j||R);E.Debug.assert(!(q&&isWhiteSpaceOnlyJsxText(q)));return q;function find(q){if(isNonWhitespaceToken(q)&&q.kind!==1){return q}var G=q.getChildren(R);var ie=E.binarySearchKey(G,N,(function(E,N){return N}),(function(E,R){if(N=G[E-1].end){return 0}return 1}return-1}));if(ie>=0&&G[ie]){var ae=G[ie];if(N=N||!nodeHasTokens(ae,R)||isWhiteSpaceOnlyJsxText(ae);if(le){var _e=findRightmostChildNodeWithTokens(G,ie,R);return _e&&findRightmostToken(_e,R)}else{return find(ae)}}}E.Debug.assert(j!==undefined||q.kind===300||q.kind===1||E.isJSDocCommentContainingNode(q));var Ee=findRightmostChildNodeWithTokens(G,G.length,R);return Ee&&findRightmostToken(Ee,R)}}E.findPrecedingToken=findPrecedingToken;function isNonWhitespaceToken(N){return E.isToken(N)&&!isWhiteSpaceOnlyJsxText(N)}function findRightmostToken(E,N){if(isNonWhitespaceToken(E)){return E}var R=E.getChildren(N);if(R.length===0){return E}var j=findRightmostChildNodeWithTokens(R,R.length,N);return j&&findRightmostToken(j,N)}function findRightmostChildNodeWithTokens(N,R,j){for(var $=R-1;$>=0;$--){var q=N[$];if(isWhiteSpaceOnlyJsxText(q)){E.Debug.assert($>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`")}else if(nodeHasTokens(N[$],j)){return N[$]}}}function isInString(N,R,j){if(j===void 0){j=findPrecedingToken(R,N)}if(j&&E.isStringTextContainingNode(j)){var $=j.getStart(N);var q=j.getEnd();if($j.getStart(N)}E.isInTemplateString=isInTemplateString;function isInJSXText(N,R){var j=getTokenAtPosition(N,R);if(E.isJsxText(j)){return true}if(j.kind===18&&E.isJsxExpression(j.parent)&&E.isJsxElement(j.parent.parent)){return true}if(j.kind===29&&E.isJsxOpeningLikeElement(j.parent)&&E.isJsxElement(j.parent.parent)){return true}return false}E.isInJSXText=isInJSXText;function isInsideJsxElement(E,N){function isInsideJsxElementTraversal(R){while(R){if(R.kind>=277&&R.kind<=286||R.kind===11||R.kind===29||R.kind===31||R.kind===79||R.kind===19||R.kind===18||R.kind===43){R=R.parent}else if(R.kind===276){if(N>R.getStart(E))return true;R=R.parent}else{return false}}return false}return isInsideJsxElementTraversal(getTokenAtPosition(E,N))}E.isInsideJsxElement=isInsideJsxElement;function findPrecedingMatchingToken(N,R,j){var $=E.tokenToString(N.kind);var q=E.tokenToString(R);var G=N.getFullStart();var ie=j.text.lastIndexOf(q,G);if(ie===-1){return undefined}if(j.text.lastIndexOf($,G-1)=R}))}E.getPossibleGenericSignatures=getPossibleGenericSignatures;function getPossibleTypeArgumentsInfo(N,R){if(R.text.lastIndexOf("<",N?N.pos:R.text.length)===-1){return undefined}var j=N;var $=0;var q=0;while(j){switch(j.kind){case 29:j=findPrecedingToken(j.getFullStart(),R);if(j&&j.kind===28){j=findPrecedingToken(j.getFullStart(),R)}if(!j||!E.isIdentifier(j))return undefined;if(!$){return E.isDeclarationName(j)?undefined:{called:j,nTypeArguments:q}}$--;break;case 49:$=+3;break;case 48:$=+2;break;case 31:$++;break;case 19:j=findPrecedingMatchingToken(j,18,R);if(!j)return undefined;break;case 21:j=findPrecedingMatchingToken(j,20,R);if(!j)return undefined;break;case 23:j=findPrecedingMatchingToken(j,22,R);if(!j)return undefined;break;case 27:q++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 139:case 24:case 51:case 57:case 58:break;default:if(E.isTypeNode(j)){break}return undefined}j=findPrecedingToken(j.getFullStart(),R)}return undefined}E.getPossibleTypeArgumentsInfo=getPossibleTypeArgumentsInfo;function isInComment(N,R,j){return E.formatting.getRangeOfEnclosingComment(N,R,undefined,j)}E.isInComment=isInComment;function hasDocComment(N,R){var j=getTokenAtPosition(N,R);return!!E.findAncestor(j,E.isJSDoc)}E.hasDocComment=hasDocComment;function nodeHasTokens(E,N){return E.kind===1?!!E.jsDoc:E.getWidth(N)!==0}function getNodeModifiers(N,R){if(R===void 0){R=0}var j=[];var $=E.isDeclaration(N)?E.getCombinedNodeFlagsAlwaysIncludeJSDoc(N)&~R:0;if($&8)j.push("private");if($&16)j.push("protected");if($&4)j.push("public");if($&32||E.isClassStaticBlockDeclaration(N))j.push("static");if($&128)j.push("abstract");if($&1)j.push("export");if($&8192)j.push("deprecated");if(N.flags&8388608)j.push("declare");if(N.kind===269)j.push("export");return j.length>0?j.join(","):""}E.getNodeModifiers=getNodeModifiers;function getTypeArgumentOrTypeParameterList(N){if(N.kind===176||N.kind===206){return N.typeArguments}if(E.isFunctionLike(N)||N.kind===255||N.kind===256){return N.typeParameters}return undefined}E.getTypeArgumentOrTypeParameterList=getTypeArgumentOrTypeParameterList;function isComment(E){return E===2||E===3}E.isComment=isComment;function isStringOrRegularExpressionOrTemplateLiteral(N){if(N===10||N===13||E.isTemplateLiteralKind(N)){return true}return false}E.isStringOrRegularExpressionOrTemplateLiteral=isStringOrRegularExpressionOrTemplateLiteral;function isPunctuation(E){return 18<=E&&E<=78}E.isPunctuation=isPunctuation;function isInsideTemplateLiteral(N,R,j){return E.isTemplateLiteralKind(N.kind)&&(N.getStart(j)=2||!!E.noEmit}E.compilerOptionsIndicateEs6Modules=compilerOptionsIndicateEs6Modules;function createModuleSpecifierResolutionHost(N,R){return{fileExists:function(E){return N.fileExists(E)},getCurrentDirectory:function(){return R.getCurrentDirectory()},readFile:E.maybeBind(R,R.readFile),useCaseSensitiveFileNames:E.maybeBind(R,R.useCaseSensitiveFileNames),getSymlinkCache:E.maybeBind(R,R.getSymlinkCache)||N.getSymlinkCache,getModuleSpecifierCache:E.maybeBind(R,R.getModuleSpecifierCache),getGlobalTypingsCacheLocation:E.maybeBind(R,R.getGlobalTypingsCacheLocation),redirectTargetsMap:N.redirectTargetsMap,getProjectReferenceRedirect:function(E){return N.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return N.isSourceOfProjectReferenceRedirect(E)},getNearestAncestorDirectoryWithPackageJson:E.maybeBind(R,R.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return N.getFileIncludeReasons()}}}E.createModuleSpecifierResolutionHost=createModuleSpecifierResolutionHost;function getModuleSpecifierResolverHost(E,N){return $($({},createModuleSpecifierResolutionHost(E,N)),{getCommonSourceDirectory:function(){return E.getCommonSourceDirectory()}})}E.getModuleSpecifierResolverHost=getModuleSpecifierResolverHost;function makeImportIfNecessary(E,N,R,j){return E||N&&N.length?makeImport(E,N,R,j):undefined}E.makeImportIfNecessary=makeImportIfNecessary;function makeImport(N,R,j,$,q){return E.factory.createImportDeclaration(undefined,undefined,N||R?E.factory.createImportClause(!!q,N,R&&R.length?E.factory.createNamedImports(R):undefined):undefined,typeof j==="string"?makeStringLiteral(j,$):j)}E.makeImport=makeImport;function makeStringLiteral(N,R){return E.factory.createStringLiteral(N,R===0)}E.makeStringLiteral=makeStringLiteral;var j;(function(E){E[E["Single"]=0]="Single";E[E["Double"]=1]="Double"})(j=E.QuotePreference||(E.QuotePreference={}));function quotePreferenceFromString(N,R){return E.isStringDoubleQuoted(N,R)?1:0}E.quotePreferenceFromString=quotePreferenceFromString;function getQuotePreference(N,R){if(R.quotePreference&&R.quotePreference!=="auto"){return R.quotePreference==="single"?0:1}else{var j=N.imports&&E.find(N.imports,(function(N){return E.isStringLiteral(N)&&!E.nodeIsSynthesized(N.parent)}));return j?quotePreferenceFromString(j,N):1}}E.getQuotePreference=getQuotePreference;function getQuoteFromPreference(N){switch(N){case 0:return"'";case 1:return'"';default:return E.Debug.assertNever(N)}}E.getQuoteFromPreference=getQuoteFromPreference;function symbolNameNoDefault(N){var R=symbolEscapedNameNoDefault(N);return R===undefined?undefined:E.unescapeLeadingUnderscores(R)}E.symbolNameNoDefault=symbolNameNoDefault;function symbolEscapedNameNoDefault(N){if(N.escapedName!=="default"){return N.escapedName}return E.firstDefined(N.declarations,(function(N){var R=E.getNameOfDeclaration(N);return R&&R.kind===79?R.escapedText:undefined}))}E.symbolEscapedNameNoDefault=symbolEscapedNameNoDefault;function isModuleSpecifierLike(N){return E.isStringLiteralLike(N)&&(E.isExternalModuleReference(N.parent)||E.isImportDeclaration(N.parent)||E.isRequireCall(N.parent,false)&&N.parent.arguments[0]===N||E.isImportCall(N.parent)&&N.parent.arguments[0]===N)}E.isModuleSpecifierLike=isModuleSpecifierLike;function isObjectBindingElementWithoutPropertyName(N){return E.isBindingElement(N)&&E.isObjectBindingPattern(N.parent)&&E.isIdentifier(N.name)&&!N.propertyName}E.isObjectBindingElementWithoutPropertyName=isObjectBindingElementWithoutPropertyName;function getPropertySymbolFromBindingElement(E,N){var R=E.getTypeAtLocation(N.parent);return R&&E.getPropertyOfType(R,N.name.text)}E.getPropertySymbolFromBindingElement=getPropertySymbolFromBindingElement;function getParentNodeInSpan(N,R,j){if(!N)return undefined;while(N.parent){if(E.isSourceFile(N.parent)||!spanContainsNode(j,N.parent,R)){return N}N=N.parent}}E.getParentNodeInSpan=getParentNodeInSpan;function spanContainsNode(N,R,j){return E.textSpanContainsPosition(N,R.getStart(j))&&R.getEnd()<=E.textSpanEnd(N)}function findModifier(N,R){return N.modifiers&&E.find(N.modifiers,(function(E){return E.kind===R}))}E.findModifier=findModifier;function insertImports(N,R,j,$){var q=E.isArray(j)?j[0]:j;var G=q.kind===235?E.isRequireVariableStatement:E.isAnyImportSyntax;var ie=E.filter(R.statements,G);var ae=E.isArray(j)?E.stableSort(j,E.OrganizeImports.compareImportsOrRequireStatements):[j];if(!ie.length){N.insertNodesAtTopOfFile(R,ae,$)}else if(ie&&E.OrganizeImports.importsAreSorted(ie)){for(var ce=0,le=ae;ce0&&E.declarations[0].kind===162}E.isFirstDeclarationOfSymbolParameter=isFirstDeclarationOfSymbolParameter;var q=getDisplayPartWriter();function getDisplayPartWriter(){var N=E.defaultMaximumTruncationLength*10;var R;var j;var $;var q;resetWriter();var unknownWrite=function(N){return writeKind(N,E.SymbolDisplayPartKind.text)};return{displayParts:function(){var j=R.length&&R[R.length-1].text;if(q>N&&j&&j!=="..."){if(!E.isWhiteSpaceLike(j.charCodeAt(j.length-1))){R.push(displayPart(" ",E.SymbolDisplayPartKind.space))}R.push(displayPart("...",E.SymbolDisplayPartKind.punctuation))}return R},writeKeyword:function(N){return writeKind(N,E.SymbolDisplayPartKind.keyword)},writeOperator:function(N){return writeKind(N,E.SymbolDisplayPartKind.operator)},writePunctuation:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeSpace:function(N){return writeKind(N,E.SymbolDisplayPartKind.space)},writeStringLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(N){return writeKind(N,E.SymbolDisplayPartKind.parameterName)},writeProperty:function(N){return writeKind(N,E.SymbolDisplayPartKind.propertyName)},writeLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeSymbol:writeSymbol,writeLine:writeLine,write:unknownWrite,writeComment:unknownWrite,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return false},hasTrailingWhitespace:function(){return false},hasTrailingComment:function(){return false},rawWrite:E.notImplemented,getIndent:function(){return $},increaseIndent:function(){$++},decreaseIndent:function(){$--},clear:resetWriter,trackSymbol:function(){return false},reportInaccessibleThisError:E.noop,reportInaccessibleUniqueSymbolError:E.noop,reportPrivateInBaseOfClassExpression:E.noop};function writeIndent(){if(q>N)return;if(j){var G=E.getIndentString($);if(G){q+=G.length;R.push(displayPart(G,E.SymbolDisplayPartKind.space))}j=false}}function writeKind(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(displayPart(E,j))}function writeSymbol(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(symbolPart(E,j))}function writeLine(){if(q>N)return;q+=1;R.push(lineBreakPart());j=true}function resetWriter(){R=[];j=true;$=0;q=0}}function symbolPart(N,R){return displayPart(N,displayPartKind(R));function displayPartKind(N){var R=N.flags;if(R&3){return isFirstDeclarationOfSymbolParameter(N)?E.SymbolDisplayPartKind.parameterName:E.SymbolDisplayPartKind.localName}else if(R&4){return E.SymbolDisplayPartKind.propertyName}else if(R&32768){return E.SymbolDisplayPartKind.propertyName}else if(R&65536){return E.SymbolDisplayPartKind.propertyName}else if(R&8){return E.SymbolDisplayPartKind.enumMemberName}else if(R&16){return E.SymbolDisplayPartKind.functionName}else if(R&32){return E.SymbolDisplayPartKind.className}else if(R&64){return E.SymbolDisplayPartKind.interfaceName}else if(R&384){return E.SymbolDisplayPartKind.enumName}else if(R&1536){return E.SymbolDisplayPartKind.moduleName}else if(R&8192){return E.SymbolDisplayPartKind.methodName}else if(R&262144){return E.SymbolDisplayPartKind.typeParameterName}else if(R&524288){return E.SymbolDisplayPartKind.aliasName}else if(R&2097152){return E.SymbolDisplayPartKind.aliasName}return E.SymbolDisplayPartKind.text}}E.symbolPart=symbolPart;function displayPart(N,R){return{text:N,kind:E.SymbolDisplayPartKind[R]}}E.displayPart=displayPart;function spacePart(){return displayPart(" ",E.SymbolDisplayPartKind.space)}E.spacePart=spacePart;function keywordPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.keyword)}E.keywordPart=keywordPart;function punctuationPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.punctuation)}E.punctuationPart=punctuationPart;function operatorPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.operator)}E.operatorPart=operatorPart;function parameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.parameterName)}E.parameterNamePart=parameterNamePart;function propertyNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.propertyName)}E.propertyNamePart=propertyNamePart;function textOrKeywordPart(N){var R=E.stringToToken(N);return R===undefined?textPart(N):keywordPart(R)}E.textOrKeywordPart=textOrKeywordPart;function textPart(N){return displayPart(N,E.SymbolDisplayPartKind.text)}E.textPart=textPart;function typeAliasNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.aliasName)}E.typeAliasNamePart=typeAliasNamePart;function typeParameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.typeParameterName)}E.typeParameterNamePart=typeParameterNamePart;function linkTextPart(N){return displayPart(N,E.SymbolDisplayPartKind.linkText)}E.linkTextPart=linkTextPart;function linkNamePart(N,R){return{text:E.getTextOfNode(N),kind:E.SymbolDisplayPartKind[E.SymbolDisplayPartKind.linkName],target:{fileName:E.getSourceFileOfNode(R).fileName,textSpan:createTextSpanFromNode(R)}}}E.linkNamePart=linkNamePart;function linkPart(N){return displayPart(N,E.SymbolDisplayPartKind.link)}E.linkPart=linkPart;function buildLinkParts(N,R){var j;var $=E.isJSDocLink(N)?"link":E.isJSDocLinkCode(N)?"linkcode":"linkplain";var q=[linkPart("{@"+$+" ")];if(!N.name){if(N.text){q.push(linkTextPart(N.text))}}else{var G=R===null||R===void 0?void 0:R.getSymbolAtLocation(N.name);var ie=(G===null||G===void 0?void 0:G.valueDeclaration)||((j=G===null||G===void 0?void 0:G.declarations)===null||j===void 0?void 0:j[0]);if(ie){q.push(linkNamePart(N.name,ie));if(N.text){q.push(linkTextPart(N.text))}}else{q.push(linkTextPart(E.getTextOfNode(N.name)+" "+N.text))}}q.push(linkPart("}"));return q}E.buildLinkParts=buildLinkParts;var G="\r\n";function getNewLineOrDefaultFromHost(E,N){var R;return(N===null||N===void 0?void 0:N.newLineCharacter)||((R=E.getNewLine)===null||R===void 0?void 0:R.call(E))||G}E.getNewLineOrDefaultFromHost=getNewLineOrDefaultFromHost;function lineBreakPart(){return displayPart("\n",E.SymbolDisplayPartKind.lineBreak)}E.lineBreakPart=lineBreakPart;function mapToDisplayParts(E){try{E(q);return q.displayParts()}finally{q.clear()}}E.mapToDisplayParts=mapToDisplayParts;function typeToDisplayParts(E,N,R,j){if(j===void 0){j=0}return mapToDisplayParts((function($){E.writeType(N,R,j|1024|16384,$)}))}E.typeToDisplayParts=typeToDisplayParts;function symbolToDisplayParts(E,N,R,j,$){if($===void 0){$=0}return mapToDisplayParts((function(q){E.writeSymbol(N,R,j,$|8,q)}))}E.symbolToDisplayParts=symbolToDisplayParts;function signatureToDisplayParts(E,N,R,j){if(j===void 0){j=0}j|=16384|1024|32|8192;return mapToDisplayParts((function($){E.writeSignature(N,R,j,undefined,$)}))}E.signatureToDisplayParts=signatureToDisplayParts;function isImportOrExportSpecifierName(N){return!!N.parent&&E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N}E.isImportOrExportSpecifierName=isImportOrExportSpecifierName;function getScriptKind(N,R){return E.ensureScriptKind(N,R.getScriptKind&&R.getScriptKind(N))}E.getScriptKind=getScriptKind;function getSymbolTarget(N,R){var j=N;while(isAliasSymbol(j)||isTransientSymbol(j)&&j.target){if(isTransientSymbol(j)&&j.target){j=j.target}else{j=E.skipAlias(j,R)}}return j}E.getSymbolTarget=getSymbolTarget;function isTransientSymbol(E){return(E.flags&33554432)!==0}function isAliasSymbol(E){return(E.flags&2097152)!==0}function getUniqueSymbolId(N,R){return E.getSymbolId(E.skipAlias(N,R))}E.getUniqueSymbolId=getUniqueSymbolId;function getFirstNonSpaceCharacterPosition(N,R){while(E.isWhiteSpaceLike(N.charCodeAt(R))){R+=1}return R}E.getFirstNonSpaceCharacterPosition=getFirstNonSpaceCharacterPosition;function getPrecedingNonSpaceCharacterPosition(N,R){while(R>-1&&E.isWhiteSpaceSingleLine(N.charCodeAt(R))){R-=1}return R+1}E.getPrecedingNonSpaceCharacterPosition=getPrecedingNonSpaceCharacterPosition;function getSynthesizedDeepClone(E,N){if(N===void 0){N=true}var R=E&&getSynthesizedDeepCloneWorker(E);if(R&&!N)suppressLeadingAndTrailingTrivia(R);return R}E.getSynthesizedDeepClone=getSynthesizedDeepClone;function getSynthesizedDeepCloneWithReplacements(N,R,j){var $=j(N);if($){E.setOriginalNode($,N)}else{$=getSynthesizedDeepCloneWorker(N,j)}if($&&!R)suppressLeadingAndTrailingTrivia($);return $}E.getSynthesizedDeepCloneWithReplacements=getSynthesizedDeepCloneWithReplacements;function getSynthesizedDeepCloneWorker(N,R){var j=R?function(E){return getSynthesizedDeepCloneWithReplacements(E,true,R)}:getSynthesizedDeepClone;var $=R?function(E){return E&&getSynthesizedDeepClonesWithReplacements(E,true,R)}:function(E){return E&&getSynthesizedDeepClones(E)};var q=E.visitEachChild(N,j,E.nullTransformationContext,$,j);if(q===N){var G=E.isStringLiteral(N)?E.setOriginalNode(E.factory.createStringLiteralFromNode(N),N):E.isNumericLiteral(N)?E.setOriginalNode(E.factory.createNumericLiteral(N.text,N.numericLiteralFlags),N):E.factory.cloneNode(N);return E.setTextRange(G,N)}q.parent=undefined;return q}function getSynthesizedDeepClones(N,R){if(R===void 0){R=true}return N&&E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepClone(E,R)})),N.hasTrailingComma)}E.getSynthesizedDeepClones=getSynthesizedDeepClones;function getSynthesizedDeepClonesWithReplacements(N,R,j){return E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepCloneWithReplacements(E,R,j)})),N.hasTrailingComma)}E.getSynthesizedDeepClonesWithReplacements=getSynthesizedDeepClonesWithReplacements;function suppressLeadingAndTrailingTrivia(E){suppressLeadingTrivia(E);suppressTrailingTrivia(E)}E.suppressLeadingAndTrailingTrivia=suppressLeadingAndTrailingTrivia;function suppressLeadingTrivia(E){addEmitFlagsRecursively(E,512,getFirstChild)}E.suppressLeadingTrivia=suppressLeadingTrivia;function suppressTrailingTrivia(N){addEmitFlagsRecursively(N,1024,E.getLastChild)}E.suppressTrailingTrivia=suppressTrailingTrivia;function copyComments(E,N){var R=E.getSourceFile();var j=R.text;if(hasLeadingLineBreak(E,j)){copyLeadingComments(E,N,R)}else{copyTrailingAsLeadingComments(E,N,R)}copyTrailingComments(E,N,R)}E.copyComments=copyComments;function hasLeadingLineBreak(E,N){var R=E.getFullStart();var j=E.getStart();for(var $=R;$=0);return G}E.getRenameLocation=getRenameLocation;function copyLeadingComments(N,R,j,$,q){E.forEachLeadingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyLeadingComments=copyLeadingComments;function copyTrailingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.end,getAddCommentsFunction(R,j,$,q,E.addSyntheticTrailingComment))}E.copyTrailingComments=copyTrailingComments;function copyTrailingAsLeadingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyTrailingAsLeadingComments=copyTrailingAsLeadingComments;function getAddCommentsFunction(E,N,R,j,$){return function(q,G,ie,ae){if(ie===3){q+=2;G-=2}else{q+=2}$(E,R||ie,N.text.slice(q,G),j!==undefined?j:ae)}}function indexInTextChange(N,R){if(E.startsWith(N,R))return 0;var j=N.indexOf(" "+R);if(j===-1)j=N.indexOf("."+R);if(j===-1)j=N.indexOf('"'+R);return j===-1?-1:j+1}function needsParentheses(N){return E.isBinaryExpression(N)&&N.operatorToken.kind===27||E.isObjectLiteralExpression(N)||E.isAsExpression(N)&&E.isObjectLiteralExpression(N.expression)}E.needsParentheses=needsParentheses;function getContextualTypeFromParent(E,N){var R=E.parent;switch(R.kind){case 207:return N.getContextualType(R);case 219:{var j=R,$=j.left,q=j.operatorToken,G=j.right;return isEqualityOperatorKind(q.kind)?N.getTypeAtLocation(E===G?$:G):N.getContextualType(E)}case 287:return R.expression===E?getSwitchedType(R,N):undefined;default:return N.getContextualType(E)}}E.getContextualTypeFromParent=getContextualTypeFromParent;function quote(N,R,j){var $=getQuotePreference(N,R);var q=JSON.stringify(j);return $===0?"'"+E.stripQuotes(q).replace(/'/g,"\\'").replace(/\\"/g,'"')+"'":q}E.quote=quote;function isEqualityOperatorKind(E){switch(E){case 36:case 34:case 37:case 35:return true;default:return false}}E.isEqualityOperatorKind=isEqualityOperatorKind;function isStringLiteralOrTemplate(E){switch(E.kind){case 10:case 14:case 221:case 208:return true;default:return false}}E.isStringLiteralOrTemplate=isStringLiteralOrTemplate;function hasIndexSignature(E){return!!E.getStringIndexType()||!!E.getNumberIndexType()}E.hasIndexSignature=hasIndexSignature;function getSwitchedType(E,N){return N.getTypeAtLocation(E.parent.parent.expression)}E.getSwitchedType=getSwitchedType;E.ANONYMOUS="anonymous function";function getTypeNodeIfAccessible(E,N,R,j){var $=R.getTypeChecker();var q=true;var notAccessible=function(){q=false};var G=$.typeToTypeNode(E,N,1,{trackSymbol:function(E,N,R){q=q&&$.isSymbolAccessible(E,N,R,false).accessibility===0;return!q},reportInaccessibleThisError:notAccessible,reportPrivateInBaseOfClassExpression:notAccessible,reportInaccessibleUniqueSymbolError:notAccessible,moduleResolverHost:getModuleSpecifierResolverHost(R,j)});return q?G:undefined}E.getTypeNodeIfAccessible=getTypeNodeIfAccessible;function syntaxRequiresTrailingCommaOrSemicolonOrASI(E){return E===172||E===173||E===174||E===164||E===166}E.syntaxRequiresTrailingCommaOrSemicolonOrASI=syntaxRequiresTrailingCommaOrSemicolonOrASI;function syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(E){return E===254||E===169||E===167||E===170||E===171}E.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI;function syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(E){return E===259}E.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=syntaxRequiresTrailingModuleBlockOrSemicolonOrASI;function syntaxRequiresTrailingSemicolonOrASI(E){return E===235||E===236||E===238||E===243||E===244||E===245||E===249||E===251||E===165||E===257||E===264||E===263||E===270||E===262||E===269}E.syntaxRequiresTrailingSemicolonOrASI=syntaxRequiresTrailingSemicolonOrASI;E.syntaxMayBeASICandidate=E.or(syntaxRequiresTrailingCommaOrSemicolonOrASI,syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,syntaxRequiresTrailingSemicolonOrASI);function nodeIsASICandidate(N,R){var j=N.getLastToken(R);if(j&&j.kind===26){return false}if(syntaxRequiresTrailingCommaOrSemicolonOrASI(N.kind)){if(j&&j.kind===27){return false}}else if(syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isModuleBlock($)){return false}}else if(syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isFunctionBlock($)){return false}}else if(!syntaxRequiresTrailingSemicolonOrASI(N.kind)){return false}if(N.kind===238){return true}var q=E.findAncestor(N,(function(E){return!E.parent}));var G=findNextToken(N,q,R);if(!G||G.kind===19){return true}var ie=R.getLineAndCharacterOfPosition(N.getEnd()).line;var ae=R.getLineAndCharacterOfPosition(G.getStart(R)).line;return ie!==ae}function positionIsASICandidate(N,R,j){var $=E.findAncestor(R,(function(R){if(R.end!==N){return"quit"}return E.syntaxMayBeASICandidate(R.kind)}));return!!$&&nodeIsASICandidate($,j)}E.positionIsASICandidate=positionIsASICandidate;function probablyUsesSemicolons(N){var R=0;var j=0;var $=5;E.forEachChild(N,(function visit(q){if(syntaxRequiresTrailingSemicolonOrASI(q.kind)){var G=q.getLastToken(N);if(G&&G.kind===26){R++}else{j++}}if(R+j>=$){return true}return E.forEachChild(q,visit)}));if(R===0&&j<=1){return true}return R/j>1/$}E.probablyUsesSemicolons=probablyUsesSemicolons;function tryGetDirectories(E,N){return tryIOAndConsumeErrors(E,E.getDirectories,N)||[]}E.tryGetDirectories=tryGetDirectories;function tryReadDirectory(N,R,j,$,q){return tryIOAndConsumeErrors(N,N.readDirectory,R,j,$,q)||E.emptyArray}E.tryReadDirectory=tryReadDirectory;function tryFileExists(E,N){return tryIOAndConsumeErrors(E,E.fileExists,N)}E.tryFileExists=tryFileExists;function tryDirectoryExists(N,R){return tryAndIgnoreErrors((function(){return E.directoryProbablyExists(R,N)}))||false}E.tryDirectoryExists=tryDirectoryExists;function tryAndIgnoreErrors(E){try{return E()}catch(E){return undefined}}E.tryAndIgnoreErrors=tryAndIgnoreErrors;function tryIOAndConsumeErrors(E,N){var R=[];for(var j=2;j=0){var q=R[$];E.Debug.assertEqual(q.file,N.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile");return E.cast(q,isDiagnosticWithLocation)}}E.findDiagnosticForNode=findDiagnosticForNode;function getDiagnosticsWithinSpan(N,R){var j;var $=E.binarySearchKey(R,N.start,(function(E){return E.start}),E.compareValues);if($<0){$=~$}while(((j=R[$-1])===null||j===void 0?void 0:j.start)===N.start){$--}var q=[];var G=E.textSpanEnd(N);while(true){var ie=E.tryCast(R[$],isDiagnosticWithLocation);if(!ie||ie.start>G){break}if(E.textSpanContainsTextSpan(N,ie)){q.push(ie)}$++}return q}E.getDiagnosticsWithinSpan=getDiagnosticsWithinSpan;function getRefactorContextSpan(N){var R=N.startPosition,j=N.endPosition;return E.createTextSpanFromBounds(R,j===undefined?R:j)}E.getRefactorContextSpan=getRefactorContextSpan;function mapOneOrMany(N,R,j){if(j===void 0){j=E.identity}return N?E.isArray(N)?j(E.map(N,R)):R(N,0):undefined}E.mapOneOrMany=mapOneOrMany;function firstOrOnly(N){return E.isArray(N)?E.first(N):N}E.firstOrOnly=firstOrOnly;function getNameForExportedSymbol(N,R){if(!(N.flags&33554432)&&(N.escapedName==="export="||N.escapedName==="default")){return E.firstDefined(N.declarations,(function(N){var R;return E.isExportAssignment(N)?(R=E.tryCast(E.skipOuterExpressions(N.expression),E.isIdentifier))===null||R===void 0?void 0:R.text:undefined}))||E.codefix.moduleSymbolToValidIdentifier(getSymbolParentOrFail(N),R)}return N.name}E.getNameForExportedSymbol=getNameForExportedSymbol;function getSymbolParentOrFail(N){var R;return E.Debug.checkDefined(N.parent,"Symbol parent was undefined. Flags: "+E.Debug.formatSymbolFlags(N.flags)+". "+("Declarations: "+((R=N.declarations)===null||R===void 0?void 0:R.map((function(N){var R=E.Debug.formatSyntaxKind(N.kind);var j=E.isInJSFile(N);var $=N.expression;return(j?"[JS]":"")+R+($?" (expression: "+E.Debug.formatSyntaxKind($.kind)+")":"")})).join(", "))+"."))}function stringContainsAt(E,N,R){var j=N.length;if(j+R>E.length){return false}for(var $=0;$=j.length){var Me=getNewEndOfLineState(R,G,E.lastOrUndefined(ae));if(Me!==undefined){Te=Me}}}while(G!==1);function handleToken(){switch(G){case 43:case 68:if(!N[ie]&&R.reScanSlashToken()===13){G=13}break;case 29:if(ie===79){Ie++}break;case 31:if(Ie>0){Ie--}break;case 129:case 148:case 145:case 132:case 149:if(Ie>0&&!q){G=79}break;case 15:ae.push(G);break;case 18:if(ae.length>0){ae.push(G)}break;case 19:if(ae.length>0){var j=E.lastOrUndefined(ae);if(j===15){G=R.reScanTemplateToken(false);if(G===17){ae.pop()}else{E.Debug.assertEqual(G,16,"Should have been a template middle.")}}else{E.Debug.assertEqual(j,18,"Should have been an open brace");ae.pop()}}break;default:if(!E.isKeyword(G)){break}if(ie===24){G=79}else if(E.isKeyword(ie)&&E.isKeyword(G)&&!canFollow(ie,G)){G=79}}}return{endOfLineState:Te,spans:we}}return{getClassificationsForLine:getClassificationsForLine,getEncodedLexicalClassifications:getEncodedLexicalClassifications}}E.createClassifier=createClassifier;var N=E.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],(function(E){return E}),(function(){return true}));function getNewEndOfLineState(N,R,j){switch(R){case 10:{if(!N.isUnterminated())return undefined;var $=N.getTokenText();var q=$.length-1;var G=0;while($.charCodeAt(q-G)===92){G++}if((G&1)===0)return undefined;return $.charCodeAt(0)===34?3:2}case 3:return N.isUnterminated()?1:undefined;default:if(E.isTemplateLiteralKind(R)){if(!N.isUnterminated()){return undefined}switch(R){case 17:return 5;case 14:return 4;default:return E.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+R)}}return j===15?6:undefined}}function pushEncodedClassification(E,N,R,j,$){if(j===8){return}if(E===0&&R>0){E+=R}var q=N-E;if(q>0){$.push(E-R,q,j)}}function convertClassificationsToResult(N,R){var j=[];var $=N.spans;var q=0;for(var G=0;G<$.length;G+=3){var ie=$[G];var ae=$[G+1];var ce=$[G+2];if(q>=0){var le=ie-q;if(le>0){j.push({length:le,classification:E.TokenClass.Whitespace})}}j.push({length:ae,classification:convertClassification(ce)});q=ie+ae}var _e=R.length-q;if(_e>0){j.push({length:_e,classification:E.TokenClass.Whitespace})}return{entries:j,finalLexState:N.endOfLineState}}function convertClassification(N){switch(N){case 1:return E.TokenClass.Comment;case 3:return E.TokenClass.Keyword;case 4:return E.TokenClass.NumberLiteral;case 25:return E.TokenClass.BigIntLiteral;case 5:return E.TokenClass.Operator;case 6:return E.TokenClass.StringLiteral;case 8:return E.TokenClass.Whitespace;case 10:return E.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return E.TokenClass.Identifier;default:return undefined}}function canFollow(N,R){if(!E.isAccessibilityModifier(N)){return true}switch(R){case 135:case 147:case 133:case 124:return true;default:return false}}function getPrefixFromLexState(N){switch(N){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:true};case 6:return{prefix:"",pushTemplate:true};case 0:return{prefix:""};default:return E.Debug.assertNever(N)}}function isBinaryExpressionOperatorToken(E){switch(E){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 127:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return true;default:return false}}function isPrefixUnaryExpressionOperatorToken(E){switch(E){case 39:case 40:case 54:case 53:case 45:case 46:return true;default:return false}}function classFromKind(N){if(E.isKeyword(N)){return 3}else if(isBinaryExpressionOperatorToken(N)||isPrefixUnaryExpressionOperatorToken(N)){return 5}else if(N>=18&&N<=78){return 10}switch(N){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:if(E.isTemplateLiteralKind(N)){return 6}return 2}}function getSemanticClassifications(E,N,R,j,$){return convertClassificationsToSpans(getEncodedSemanticClassifications(E,N,R,j,$))}E.getSemanticClassifications=getSemanticClassifications;function checkForClassificationCancellation(E,N){switch(N){case 259:case 255:case 256:case 254:case 224:case 211:case 212:E.throwIfCancellationRequested()}}function getEncodedSemanticClassifications(N,R,j,$,q){var G=[];j.forEachChild((function cb(G){if(!G||!E.textSpanIntersectsWith(q,G.pos,G.getFullWidth())){return}checkForClassificationCancellation(R,G.kind);if(E.isIdentifier(G)&&!E.nodeIsMissing(G)&&$.has(G.escapedText)){var ie=N.getSymbolAtLocation(G);var ae=ie&&classifySymbol(ie,E.getMeaningFromLocation(G),N);if(ae){pushClassification(G.getStart(j),G.getEnd(),ae)}}G.forEachChild(cb)}));return{spans:G,endOfLineState:0};function pushClassification(N,R,j){var $=R-N;E.Debug.assert($>0,"Classification had non-positive length of "+$);G.push(N);G.push($);G.push(j)}}E.getEncodedSemanticClassifications=getEncodedSemanticClassifications;function classifySymbol(E,N,R){var j=E.getFlags();if((j&2885600)===0){return undefined}else if(j&32){return 11}else if(j&384){return 12}else if(j&524288){return 16}else if(j&1536){return N&4||N&1&&hasValueSideModule(E)?14:undefined}else if(j&2097152){return classifySymbol(R.getAliasedSymbol(E),N,R)}else if(N&2){return j&64?13:j&262144?15:undefined}else{return undefined}}function hasValueSideModule(N){return E.some(N.declarations,(function(N){return E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)===1}))}function getClassificationTypeName(E){switch(E){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return undefined}}function convertClassificationsToSpans(N){E.Debug.assert(N.spans.length%3===0);var R=N.spans;var j=[];for(var $=0;$])*)(\/>)?)?/im;var q=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim;var G=R.text.substr(N,j);var ie=$.exec(G);if(!ie){return false}if(!ie[3]||!(ie[3]in E.commentPragmas)){return false}var ae=N;pushCommentRange(ae,ie[1].length);ae+=ie[1].length;pushClassification(ae,ie[2].length,10);ae+=ie[2].length;pushClassification(ae,ie[3].length,21);ae+=ie[3].length;var ce=ie[4];var le=ae;while(true){var _e=q.exec(ce);if(!_e){break}var Ee=ae+_e.index+_e[1].length;if(Ee>le){pushCommentRange(le,Ee-le);le=Ee}pushClassification(le,_e[2].length,22);le+=_e[2].length;if(_e[3].length){pushCommentRange(le,_e[3].length);le+=_e[3].length}pushClassification(le,_e[4].length,5);le+=_e[4].length;if(_e[5].length){pushCommentRange(le,_e[5].length);le+=_e[5].length}pushClassification(le,_e[6].length,24);le+=_e[6].length}ae+=ie[4].length;if(ae>le){pushCommentRange(le,ae-le)}if(ie[5]){pushClassification(ae,ie[5].length,10);ae+=ie[5].length}var Te=N+j;if(ae=0);if($>0){var q=R||classifyTokenType(N.kind,N);if(q){pushClassification(j,$,q)}}return true}function tryClassifyJsxElementName(E){switch(E.parent&&E.parent.kind){case 278:if(E.parent.tagName===E){return 19}break;case 279:if(E.parent.tagName===E){return 20}break;case 277:if(E.parent.tagName===E){return 21}break;case 283:if(E.parent.name===E){return 22}break}return undefined}function classifyTokenType(N,R){if(E.isKeyword(N)){return 3}if(N===29||N===31){if(R&&E.getTypeArgumentOrTypeParameterList(R.parent)){return 10}}if(E.isPunctuation(N)){if(R){var j=R.parent;if(N===63){if(j.kind===252||j.kind===165||j.kind===162||j.kind===283){return 5}}if(j.kind===219||j.kind===217||j.kind===218||j.kind===220){return 5}}return 10}else if(N===8){return 4}else if(N===9){return 25}else if(N===10){return R&&R.parent.kind===283?24:6}else if(N===13){return 6}else if(E.isTemplateLiteralKind(N)){return 6}else if(N===11){return 23}else if(N===79){if(R){switch(R.parent.kind){case 255:if(R.parent.name===R){return 11}return;case 161:if(R.parent.name===R){return 15}return;case 256:if(R.parent.name===R){return 13}return;case 258:if(R.parent.name===R){return 12}return;case 259:if(R.parent.name===R){return 14}return;case 162:if(R.parent.name===R){return E.isThisIdentifier(R)?3:17}return}}return 2}}function processElement(j){if(!j){return}if(E.decodedTextSpanIntersectsWith($,q,j.pos,j.getFullWidth())){checkForClassificationCancellation(N,j.kind);for(var G=0,ie=j.getChildren(R);G0}))){return 0}if(test((function(E){return E.getCallSignatures().length>0}))&&!test((function(E){return E.getProperties().length>0}))||isExpressionInCallExpression(N)){return R===9?11:10}}}return R}function isLocalDeclaration(N,R){if(E.isBindingElement(N)){N=getDeclarationForBindingElement(N)}if(E.isVariableDeclaration(N)){return(!E.isSourceFile(N.parent.parent.parent)||E.isCatchClause(N.parent))&&N.getSourceFile()===R}else if(E.isFunctionDeclaration(N)){return!E.isSourceFile(N.parent)&&N.getSourceFile()===R}return false}function getDeclarationForBindingElement(N){while(true){if(E.isBindingElement(N.parent.parent)){N=N.parent.parent}else{return N.parent.parent}}}function inImportClause(N){var R=N.parent;return R&&(E.isImportClause(R)||E.isImportSpecifier(R)||E.isNamespaceImport(R))}function isExpressionInCallExpression(N){while(isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return E.isCallExpression(N.parent)&&N.parent.expression===N}function isRightSideOfQualifiedNameOrPropertyAccess(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N}var q=new E.Map([[252,7],[162,6],[165,9],[259,3],[258,1],[294,8],[255,0],[167,11],[254,10],[211,10],[166,11],[170,9],[171,9],[164,9],[256,2],[257,5],[161,4],[291,9],[292,9]])})(R=N.v2020||(N.v2020={}))})(N=E.classifier||(E.classifier={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){function getStringLiteralCompletions(N,R,j,$,q,G,ie,ae){if(E.isInReferenceComment(N,R)){var ce=getTripleSlashReferenceCompletion(N,R,q,G);return ce&&convertPathCompletions(ce)}if(E.isInString(N,R,j)){if(!j||!E.isStringLiteralLike(j))return undefined;var ce=getStringLiteralCompletionEntries(N,j,R,$,q,G,ae);return convertStringLiteralCompletions(ce,j,N,$,ie,q,ae)}}R.getStringLiteralCompletions=getStringLiteralCompletions;function convertStringLiteralCompletions(R,j,$,q,G,ie,ae){if(R===undefined){return undefined}var ce=E.createTextSpanFromStringLiteralLikeContent(j);switch(R.kind){case 0:return convertPathCompletions(R.paths);case 1:{var le=[];N.getCompletionEntriesFromSymbols(R.symbols,le,j,$,$,q,99,G,4,ae,ie);return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:R.hasIndexSignature,optionalReplacementSpan:ce,entries:le}}case 2:{var le=R.types.map((function(R){return{name:R.value,kindModifiers:"",kind:"string",sortText:N.SortText.LocationPriority,replacementSpan:E.getReplacementSpanForContextToken(j)}}));return{isGlobalCompletion:false,isMemberCompletion:false,isNewIdentifierLocation:R.isNewIdentifier,optionalReplacementSpan:ce,entries:le}}default:return E.Debug.assertNever(R)}}function getStringLiteralCompletionDetails(N,R,j,$,q,G,ie,ae,ce){if(!$||!E.isStringLiteralLike($))return undefined;var le=getStringLiteralCompletionEntries(R,$,j,q,G,ie,ce);return le&&stringLiteralCompletionDetails(N,$,le,R,q,ae)}R.getStringLiteralCompletionDetails=getStringLiteralCompletionDetails;function stringLiteralCompletionDetails(R,j,$,q,G,ie){switch($.kind){case 0:{var ae=E.find($.paths,(function(E){return E.name===R}));return ae&&N.createCompletionDetails(R,kindModifiersFromExtension(ae.extension),ae.kind,[E.textPart(R)])}case 1:{var ae=E.find($.symbols,(function(E){return E.name===R}));return ae&&N.createCompletionDetailsForSymbol(ae,G,q,j,ie)}case 2:return E.find($.types,(function(E){return E.value===R}))?N.createCompletionDetails(R,"","type",[E.textPart(R)]):undefined;default:return E.Debug.assertNever($)}}function convertPathCompletions(E){var R=false;var j=true;var $=E.map((function(E){var R=E.name,j=E.kind,$=E.span,q=E.extension;return{name:R,kind:j,kindModifiers:kindModifiersFromExtension(q),sortText:N.SortText.LocationPriority,replacementSpan:$}}));return{isGlobalCompletion:R,isMemberCompletion:false,isNewIdentifierLocation:j,entries:$}}function kindModifiersFromExtension(N){switch(N){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".tsbuildinfo":return E.Debug.fail("Extension "+".tsbuildinfo"+" is unsupported.");case undefined:return"";default:return E.Debug.assertNever(N)}}var $;(function(E){E[E["Paths"]=0]="Paths";E[E["Properties"]=1]="Properties";E[E["Types"]=2]="Types"})($||($={}));function getStringLiteralCompletionEntries(N,R,j,$,q,G,ie){var ae=walkUpParentheses(R.parent);switch(ae.kind){case 194:{var ce=walkUpParentheses(ae.parent);switch(ce.kind){case 176:{var le=ce;var _e=E.findAncestor(ae,(function(E){return E.parent===le}));if(_e){return{kind:2,types:getStringLiteralTypes($.getTypeArgumentConstraint(_e)),isNewIdentifier:false}}return undefined}case 192:var Ee=ce,Te=Ee.indexType,we=Ee.objectType;if(!E.rangeContainsPosition(Te,j)){return undefined}return stringLiteralCompletionsFromProperties($.getTypeFromTypeNode(we));case 198:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};case 185:{if(!E.isTypeReferenceNode(ce.parent)){return undefined}var Ie=getAlreadyUsedTypesInStringLiteralUnion(ce,ae);var Ne=getStringLiteralTypes($.getTypeArgumentConstraint(ce)).filter((function(N){return!E.contains(Ie,N.value)}));return{kind:2,types:Ne,isNewIdentifier:false}}default:return undefined}}case 291:if(E.isObjectLiteralExpression(ae.parent)&&ae.name===R){return stringLiteralCompletionsForObjectLiteral($,ae.parent)}return fromContextualType();case 205:{var Me=ae,Le=Me.expression,Be=Me.argumentExpression;if(R===E.skipParentheses(Be)){return stringLiteralCompletionsFromProperties($.getTypeAtLocation(Le))}return undefined}case 206:case 207:if(!isRequireCallArgument(R)&&!E.isImportCall(ae)){var je=E.SignatureHelp.getArgumentInfoForCompletions(R,j,N);return je?getStringLiteralCompletionsFromSignature(je,$):fromContextualType()}case 264:case 270:case 275:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};default:return fromContextualType()}function fromContextualType(){return{kind:2,types:getStringLiteralTypes(E.getContextualTypeFromParent(R,$)),isNewIdentifier:false}}}function walkUpParentheses(N){switch(N.kind){case 189:return E.walkUpParenthesizedTypes(N);case 210:return E.walkUpParenthesizedExpressions(N);default:return N}}function getAlreadyUsedTypesInStringLiteralUnion(N,R){return E.mapDefined(N.types,(function(N){return N!==R&&E.isLiteralTypeNode(N)&&E.isStringLiteral(N.literal)?N.literal.text:undefined}))}function getStringLiteralCompletionsFromSignature(N,R){var j=false;var $=new E.Map;var q=[];R.getResolvedSignature(N.invocation,q,N.argumentCount);var G=E.flatMap(q,(function(q){if(!E.signatureHasRestParameter(q)&&N.argumentCount>q.parameters.length)return;var G=R.getParameterType(q,N.argumentIndex);j=j||!!(G.flags&4);return getStringLiteralTypes(G,$)}));return{kind:2,types:G,isNewIdentifier:j}}function stringLiteralCompletionsFromProperties(N){return N&&{kind:1,symbols:E.filter(N.getApparentProperties(),(function(N){return!(N.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(N.valueDeclaration))})),hasIndexSignature:E.hasIndexSignature(N)}}function stringLiteralCompletionsForObjectLiteral(R,j){var $=R.getContextualType(j);if(!$)return undefined;var q=R.getContextualType(j,4);var G=N.getPropertiesForObjectExpression($,q,j,R);return{kind:1,symbols:G,hasIndexSignature:E.hasIndexSignature($)}}function getStringLiteralTypes(N,R){if(R===void 0){R=new E.Map}if(!N)return E.emptyArray;N=E.skipConstraint(N);return N.isUnion()?E.flatMap(N.types,(function(E){return getStringLiteralTypes(E,R)})):N.isStringLiteral()&&!(N.flags&1024)&&E.addToSeen(R,N.value)?[N]:E.emptyArray}function nameAndKind(E,N,R){return{name:E,kind:N,extension:R}}function directoryResult(E){return nameAndKind(E,"directory",undefined)}function addReplacementSpans(N,R,j){var $=getDirectoryFragmentTextSpan(N,R);var q=N.length===0?undefined:E.createTextSpan(R,N.length);return j.map((function(N){var R=N.name,j=N.kind,G=N.extension;return Math.max(R.indexOf(E.directorySeparator),R.indexOf(E.altDirectorySeparator))!==-1?{name:R,kind:j,extension:G,span:q}:{name:R,kind:j,extension:G,span:$}}))}function getStringLiteralCompletionsFromModuleNames(E,N,R,j,$,q){return addReplacementSpans(N.text,N.getStart(E)+1,getStringLiteralCompletionsFromModuleNamesWorker(E,N,R,j,$,q))}function getStringLiteralCompletionsFromModuleNamesWorker(N,R,j,$,q,G){var ie=E.normalizeSlashes(R.text);var ae=N.path;var ce=E.getDirectoryPath(ae);return isPathRelativeToScript(ie)||!j.baseUrl&&(E.isRootedDiskPath(ie)||E.isUrl(ie))?getCompletionEntriesForRelativeModules(ie,ce,j,$,ae,G):getCompletionEntriesForNonRelativeModules(ie,ce,j,$,q)}function getExtensionOptions(E,N){if(N===void 0){N=0}return{extensions:getSupportedExtensionsForModuleResolution(E),includeExtensionsOption:N}}function getCompletionEntriesForRelativeModules(E,N,R,j,$,q){var G=q.importModuleSpecifierEnding==="js"?2:0;var ie=getExtensionOptions(R,G);if(R.rootDirs){return getCompletionEntriesForDirectoryFragmentWithRootDirs(R.rootDirs,E,N,ie,R,j,$)}else{return getCompletionEntriesForDirectoryFragment(E,N,ie,j,$)}}function getSupportedExtensionsForModuleResolution(N){var R=E.getSupportedExtensions(N);return N.resolveJsonModule&&E.getEmitModuleResolutionKind(N)===E.ModuleResolutionKind.NodeJs?R.concat(".json"):R}function getBaseDirectoriesFromRootDirs(N,R,$,q){N=N.map((function(N){return E.normalizePath(E.isRootedDiskPath(N)?N:E.combinePaths(R,N))}));var G=E.firstDefined(N,(function(N){return E.containsPath(N,$,R,q)?$.substr(N.length):undefined}));return E.deduplicate(j(j([],N.map((function(N){return E.combinePaths(N,G)})),true),[$],false),E.equateStringsCaseSensitive,E.compareStringsCaseSensitive)}function getCompletionEntriesForDirectoryFragmentWithRootDirs(N,R,j,$,q,G,ie){var ae=q.project||G.getCurrentDirectory();var ce=!(G.useCaseSensitiveFileNames&&G.useCaseSensitiveFileNames());var le=getBaseDirectoriesFromRootDirs(N,ae,j,ce);return E.flatMap(le,(function(E){return getCompletionEntriesForDirectoryFragment(R,E,$,G,ie)}))}var q;(function(E){E[E["Exclude"]=0]="Exclude";E[E["Include"]=1]="Include";E[E["ModuleSpecifierCompletion"]=2]="ModuleSpecifierCompletion"})(q||(q={}));function getCompletionEntriesForDirectoryFragment(N,R,j,$,q,G){var ie=j.extensions,ae=j.includeExtensionsOption;if(G===void 0){G=[]}if(N===undefined){N=""}N=E.normalizeSlashes(N);if(!E.hasTrailingDirectorySeparator(N)){N=E.getDirectoryPath(N)}if(N===""){N="."+E.directorySeparator}N=E.ensureTrailingDirectorySeparator(N);var ce=E.resolvePath(R,N);var le=E.hasTrailingDirectorySeparator(ce)?ce:E.getDirectoryPath(ce);var _e=!($.useCaseSensitiveFileNames&&$.useCaseSensitiveFileNames());if(!E.tryDirectoryExists($,le))return G;var Ee=E.tryReadDirectory($,le,ie,undefined,["./*"]);if(Ee){var Te=new E.Map;for(var we=0,Ie=Ee;we=E.pos&&R<=E.end}));if(!ae){return undefined}var ce=N.text.slice(ae.pos,R);var le=G.exec(ce);if(!le){return undefined}var _e=le[1],Ee=le[2],Te=le[3];var we=E.getDirectoryPath(N.path);var Ie=Ee==="path"?getCompletionEntriesForDirectoryFragment(Te,we,getExtensionOptions(j,1),$,N.path):Ee==="types"?getCompletionEntriesFromTypings($,j,we,getFragmentDirectory(Te),getExtensionOptions(j)):E.Debug.fail();return addReplacementSpans(Te,ae.pos+_e.length,Ie)}function getCompletionEntriesFromTypings(N,R,j,$,q,G){if(G===void 0){G=[]}var ie=new E.Map;var ae=E.tryAndIgnoreErrors((function(){return E.getEffectiveTypeRoots(R,N)}))||E.emptyArray;for(var ce=0,le=ae;ce=2&&E.charCodeAt(0)===46){var N=E.length>=3&&E.charCodeAt(1)===46?2:1;var R=E.charCodeAt(N);return R===47||R===92}return false}var G=/^(\/\/\/\s*");var ce=E.createTextSpanFromNode($.tagName);var le={name:ae,kind:"class",kindModifiers:undefined,sortText:R.LocationPriority};return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:false,optionalReplacementSpan:ce,entries:[le]}}return}function getJSCompletionEntries(N,j,$,q,G){E.getNameTable(N).forEach((function(N,ie){if(N===j){return}var ae=E.unescapeLeadingUnderscores(ie);if(!$.has(ae)&&E.isIdentifierText(ae,q)){$.add(ae);G.push({name:ae,kind:"warning",kindModifiers:"",sortText:R.JavascriptIdentifiers,isFromUncheckedFile:true})}}))}function completionNameForLiteral(N,R,j){return typeof j==="object"?E.pseudoBigIntToString(j)+"n":E.isString(j)?E.quote(N,R,j):JSON.stringify(j)}function createCompletionEntryForLiteral(E,N,j){return{name:completionNameForLiteral(E,N,j),kind:"string",kindModifiers:"",sortText:R.LocationPriority}}function createCompletionEntry(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne){var Me;var Le;var Be=E.getReplacementSpanForContextToken(j);var je;var Ue;var ze;var We;var Je=ce&&originIsNullableMember(ce);var Ve=ce&&originIsSymbolMember(ce)||ae;if(ce&&originIsThisType(ce)){Le=ae?"this"+(Je?"?.":"")+"["+quotePropertyName(q,Ne,ie)+"]":"this"+(Je?"?.":".")+ie}else if((Ve||Je)&&_e){Le=Ve?ae?"["+quotePropertyName(q,Ne,ie)+"]":"["+ie+"]":ie;if(Je||_e.questionDotToken){Le="?."+Le}var qe=E.findChildOfKind(_e,24,q)||E.findChildOfKind(_e,28,q);if(!qe){return undefined}var He=E.startsWith(ie,_e.name.text)?_e.name.end:qe.end;Be=E.createTextSpanFromBounds(qe.getStart(q),He)}if(Ee){if(Le===undefined)Le=ie;Le="{"+Le+"}";if(typeof Ee!=="boolean"){Be=E.createTextSpanFromNode(Ee,q)}}if(ce&&originIsPromise(ce)&&_e){if(Le===undefined)Le=ie;var Ge=E.findPrecedingToken(_e.pos,q);var Ke="";if(Ge&&E.positionIsASICandidate(Ge.end,Ge.parent,q)){Ke=";"}Ke+="(await "+_e.expression.getText()+")";Le=ae?""+Ke+Le:""+Ke+(Je?"?.":".")+Le;Be=E.createTextSpanFromBounds(_e.getStart(q),_e.end)}if(originIsResolvedExport(ce)){ze=[E.textPart(ce.moduleSpecifier)];if(Te){Me=getInsertTextAndReplacementSpanForImportCompletion(ie,Te,ce,we,Ie,Ne),Le=Me.insertText,Be=Me.replacementSpan;Ue=Ne.includeCompletionsWithSnippetText?true:undefined}}if(Le!==undefined&&!Ne.includeCompletionsWithInsertText){return undefined}if(originIsExport(ce)||originIsResolvedExport(ce)){je=originToCompletionEntryData(ce);We=!Te}return{name:ie,kind:E.SymbolDisplay.getSymbolKind(G,N,$),kindModifiers:E.SymbolDisplay.getSymbolModifiers(G,N),sortText:R,source:getSourceFromOrigin(ce),hasAction:We?true:undefined,isRecommended:isRecommendedCompletionMatch(N,le,G)||undefined,insertText:Le,replacementSpan:Be,sourceDisplay:ze,isSnippet:Ue,isPackageJsonImport:originIsPackageJsonImport(ce)||undefined,isImportStatementCompletion:!!Te||undefined,data:je}}function originToCompletionEntryData(N){return{exportName:N.exportName,fileName:N.fileName,ambientModuleName:N.fileName?undefined:E.stripQuotes(N.moduleSymbol.name),isPackageJsonImport:N.isFromPackageJson?true:undefined,moduleSpecifier:originIsResolvedExport(N)?N.moduleSpecifier:undefined}}function getInsertTextAndReplacementSpanForImportCompletion(N,R,j,$,q,G){var ie=R.getSourceFile();var ae=E.createTextSpanFromNode(R,ie);var ce=E.quote(ie,G,j.moduleSpecifier);var le=j.isDefaultExport?1:j.exportName==="export="?2:0;var _e=G.includeCompletionsWithSnippetText?"$1":"";var Ee=E.codefix.getImportKind(ie,le,q,true);var Te=$?";":"";switch(Ee){case 3:return{replacementSpan:ae,insertText:"import "+N+_e+" = require("+ce+")"+Te};case 1:return{replacementSpan:ae,insertText:"import "+N+_e+" from "+ce+Te};case 2:return{replacementSpan:ae,insertText:"import * as "+N+" from "+ce+Te};case 0:return{replacementSpan:ae,insertText:"import { "+N+_e+" } from "+ce+Te}}}function quotePropertyName(N,R,j){if(/^\d+$/.test(j)){return j}return E.quote(N,R,j)}function isRecommendedCompletionMatch(E,N,R){return E===N||!!(E.flags&1048576)&&R.getExportSymbolOfSymbol(E)===N}function getSourceFromOrigin(N){if(originIsExport(N)){return E.stripQuotes(N.moduleSymbol.name)}if(originIsResolvedExport(N)){return N.moduleSpecifier}if((N===null||N===void 0?void 0:N.kind)===1){return q.ThisProperty}}function getCompletionEntriesFromSymbols(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me,Le,Be){var je;var Ue=E.timestamp();var ze=getVariableDeclaration($);var We=E.probablyUsesSemicolons(q);var Je=new E.Map;for(var Ve=0;Ve-1?createSimpleDetails(we,"keyword",E.SymbolDisplayPartKind.keyword):undefined;default:return E.Debug.assertNever(Me)}}case"symbol":{var Le=Ne.symbol,Be=Ne.location,je=Ne.origin,Ue=Ne.previousToken;var ze=getCompletionEntryCodeActionsAndSourceDisplay(je,Le,R,ie,Te,$,q,Ue,ae,ce,G.data),We=ze.codeActions,Je=ze.sourceDisplay;return createCompletionDetailsForSymbol(Le,_e,$,Be,le,We,Je)}case"literal":{var Ve=Ne.literal;return createSimpleDetails(completionNameForLiteral($,ce,Ve),"string",typeof Ve==="string"?E.SymbolDisplayPartKind.stringLiteral:E.SymbolDisplayPartKind.numericLiteral)}case"none":return Ee().some((function(E){return E.name===we}))?createSimpleDetails(we,"keyword",E.SymbolDisplayPartKind.keyword):undefined;default:E.Debug.assertNever(Ne)}}N.getCompletionEntryDetails=getCompletionEntryDetails;function createSimpleDetails(N,R,j){return createCompletionDetails(N,"",R,[E.displayPart(N,j)])}function createCompletionDetailsForSymbol(N,R,j,$,q,G,ie){var ae=R.runWithCancellationToken(q,(function(R){return E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(R,N,j,$,$,7)})),ce=ae.displayParts,le=ae.documentation,_e=ae.symbolKind,Ee=ae.tags;return createCompletionDetails(N.name,E.SymbolDisplay.getSymbolModifiers(R,N),_e,ce,le,Ee,G,ie)}N.createCompletionDetailsForSymbol=createCompletionDetailsForSymbol;function createCompletionDetails(E,N,R,j,$,q,G,ie){return{name:E,kindModifiers:N,kind:R,displayParts:j,documentation:$,tags:q,codeActions:G,source:ie,sourceDisplay:ie}}N.createCompletionDetails=createCompletionDetails;function getCompletionEntryCodeActionsAndSourceDisplay(N,R,j,$,q,G,ie,ae,ce,le,_e){if(_e===null||_e===void 0?void 0:_e.moduleSpecifier){var Ee=getRelevantTokens(ie,G),Te=Ee.contextToken,we=Ee.previousToken;if(we&&getImportCompletionNode(Te||we)){return{codeActions:undefined,sourceDisplay:[E.textPart(_e.moduleSpecifier)]}}}if(!N||!(originIsExport(N)||originIsResolvedExport(N))){return{codeActions:undefined,sourceDisplay:undefined}}var Ie=N.isFromPackageJson?$.getPackageJsonAutoImportProvider().getTypeChecker():j.getTypeChecker();var Ne=N.moduleSymbol;var Me=Ie.getMergedSymbol(E.skipAlias(R.exportSymbol||R,Ie));var Le=E.codefix.getImportCompletionAction(Me,Ne,G,E.getNameForExportedSymbol(R,q.target),$,j,ce,ae&&E.isIdentifier(ae)?ae.getStart(G):ie,le),Be=Le.moduleSpecifier,je=Le.codeAction;E.Debug.assert(!(_e===null||_e===void 0?void 0:_e.moduleSpecifier)||Be===_e.moduleSpecifier);return{sourceDisplay:[E.textPart(Be)],codeActions:[je]}}function getCompletionEntrySymbol(E,N,R,j,$,q,G){var ie=getSymbolCompletionFromEntryId(E,N,R,j,$,q,G);return ie.type==="symbol"?ie.symbol:undefined}N.getCompletionEntrySymbol=getCompletionEntrySymbol;var ce;(function(E){E[E["Data"]=0]="Data";E[E["JsDocTagName"]=1]="JsDocTagName";E[E["JsDocTag"]=2]="JsDocTag";E[E["JsDocParameterName"]=3]="JsDocParameterName";E[E["Keywords"]=4]="Keywords"})(ce||(ce={}));var le;(function(E){E[E["ObjectPropertyDeclaration"]=0]="ObjectPropertyDeclaration";E[E["Global"]=1]="Global";E[E["PropertyAccess"]=2]="PropertyAccess";E[E["MemberLike"]=3]="MemberLike";E[E["String"]=4]="String";E[E["None"]=5]="None"})(le=N.CompletionKind||(N.CompletionKind={}));function getRecommendedCompletion(N,R,j){return E.firstDefined(R&&(R.isUnion()?R.types:[R]),(function(R){var $=R&&R.symbol;return $&&($.flags&(8|384|32)&&!E.isAbstractConstructorSymbol($))?getFirstSymbolInChain($,N,j):undefined}))}function getContextualType(N,R,j,$){var q=N.parent;switch(N.kind){case 79:return E.getContextualTypeFromParent(N,$);case 63:switch(q.kind){case 252:return $.getContextualType(q.initializer);case 219:return $.getTypeAtLocation(q.left);case 283:return $.getContextualTypeForJsxAttribute(q);default:return undefined}case 103:return $.getContextualType(q);case 82:return E.getSwitchedType(E.cast(q,E.isCaseClause),$);case 18:return E.isJsxExpression(q)&&q.parent.kind!==276?$.getContextualTypeForJsxAttribute(q.parent):undefined;default:var G=E.SignatureHelp.getArgumentInfoForCompletions(N,R,j);return G?$.getContextualTypeForArgumentAtIndex(G.invocation,G.argumentIndex+(N.kind===27?1:0)):E.isEqualityOperatorKind(N.kind)&&E.isBinaryExpression(q)&&E.isEqualityOperatorKind(q.operatorToken.kind)?$.getTypeAtLocation(q.left):$.getContextualType(N)}}function getFirstSymbolInChain(N,R,j){var $=j.getAccessibleSymbolChain(N,R,67108863,false);if($)return E.first($);return N.parent&&(isModuleSymbol(N.parent)?N:getFirstSymbolInChain(N.parent,R,j))}function isModuleSymbol(E){var N;return!!((N=E.declarations)===null||N===void 0?void 0:N.some((function(E){return E.kind===300})))}function getCompletionData(N,R,j,$,q,G,ie,ae,ce){var le=N.getTypeChecker();var _e=E.timestamp();var Ee=E.getTokenAtPosition(j,q);R("getCompletionData: Get current token: "+(E.timestamp()-_e));_e=E.timestamp();var Te=E.isInComment(j,q,Ee);R("getCompletionData: Is inside comment: "+(E.timestamp()-_e));var we=false;var Ie=false;if(Te){if(E.hasDocComment(j,q)){if(j.text.charCodeAt(q-1)===64){return{kind:1}}else{var Ne=E.getLineStartPositionForPosition(q,j);if(!/[^\*|\s(/)]/.test(j.text.substring(Ne,q))){return{kind:2}}}}var Me=getJsDocTagAtPosition(Ee,q);if(Me){if(Me.tagName.pos<=q&&q<=Me.tagName.end){return{kind:1}}if(isTagWithTypeExpression(Me)&&Me.typeExpression&&Me.typeExpression.kind===304){Ee=E.getTokenAtPosition(j,q);if(!Ee||!E.isDeclarationName(Ee)&&(Ee.parent.kind!==342||Ee.parent.name!==Ee)){we=isCurrentlyEditingNode(Me.typeExpression)}}if(!we&&E.isJSDocParameterTag(Me)&&(E.nodeIsMissing(Me.name)||Me.name.pos<=q&&q<=Me.name.end)){return{kind:3,tag:Me}}}if(!we){R("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return undefined}}_e=E.timestamp();var Le=getRelevantTokens(q,j);var Be=Le.previousToken;var je=Le.contextToken;R("getCompletionData: Get previous token: "+(E.timestamp()-_e));var Ue=Ee;var ze;var We=false;var Je=false;var Ve=false;var qe=false;var He=false;var Ge=false;var Ke;var Qe=E.getTouchingPropertyName(j,q);if(je){var Xe=getImportCompletionNode(je);if(Xe===154){return{kind:4,keywords:[154]}}if(Xe&&G.includeCompletionsForImportStatements&&G.includeCompletionsWithInsertText){Ke=Xe}if(!Ke&&isCompletionListBlocker(je)){R("Returning an empty list because completion was requested in an invalid position.");return undefined}var Ye=je.parent;if(je.kind===24||je.kind===28){We=je.kind===24;Je=je.kind===28;switch(Ye.kind){case 204:ze=Ye;Ue=ze.expression;if((E.isCallExpression(Ue)||E.isFunctionLike(Ue))&&Ue.end===je.pos&&Ue.getChildCount(j)&&E.last(Ue.getChildren(j)).kind!==21){return undefined}break;case 159:Ue=Ye.left;break;case 259:Ue=Ye.name;break;case 198:Ue=Ye;break;case 229:Ue=Ye.getFirstToken(j);E.Debug.assert(Ue.kind===100||Ue.kind===103);break;default:return undefined}}else if(!Ke&&j.languageVariant===1){if(Ye&&Ye.kind===204){je=Ye;Ye=Ye.parent}if(Ee.parent===Qe){switch(Ee.kind){case 31:if(Ee.parent.kind===276||Ee.parent.kind===278){Qe=Ee}break;case 43:if(Ee.parent.kind===277){Qe=Ee}break}}switch(Ye.kind){case 279:if(je.kind===43){qe=true;Qe=je}break;case 219:if(!binaryExpressionMayBeOpenTag(Ye)){break}case 277:case 276:case 278:Ge=true;if(je.kind===29){Ve=true;Qe=je}break;case 286:case 285:if(Be.kind===19&&Ee.kind===31){Ge=true}break;case 283:if(Ye.initializer===Be&&Be.end0){ot=E.concatenate(ot,filterObjectMembersList(R,E.Debug.checkDefined(j)))}setSortTextToOptionalMember();return 1}function tryGetImportOrExportClauseCompletionSymbols(){var N=je&&(je.kind===18||je.kind===27)?E.tryCast(je.parent,E.isNamedImportsOrExports):undefined;if(!N)return 0;var R=(N.kind===267?N.parent.parent:N.parent).moduleSpecifier;if(!R)return N.kind===267?2:0;var j=le.getSymbolAtLocation(R);if(!j)return 2;et=3;tt=false;var $=le.getExportsAndPropertiesOfModule(j);var q=new E.Set(N.elements.filter((function(E){return!isCurrentlyEditingNode(E)})).map((function(E){return(E.propertyName||E.name).escapedText})));ot=E.concatenate(ot,$.filter((function(E){return E.escapedName!=="default"&&!q.has(E.escapedName)})));return 1}function tryGetLocalNamedExportCompletionSymbols(){var N;var R=je&&(je.kind===18||je.kind===27)?E.tryCast(je.parent,E.isNamedExports):undefined;if(!R){return 0}var j=E.findAncestor(R,E.or(E.isSourceFile,E.isModuleDeclaration));et=5;tt=false;(N=j.locals)===null||N===void 0?void 0:N.forEach((function(N,R){var $,q;ot.push(N);if((q=($=j.symbol)===null||$===void 0?void 0:$.exports)===null||q===void 0?void 0:q.has(R)){ct[E.getSymbolId(N)]=12}}));return 1}function tryGetClassLikeCompletionSymbols(){var N=tryGetObjectTypeDeclarationCompletionContainer(j,je,Qe,q);if(!N)return 0;et=3;tt=true;it=je.kind===41?0:E.isClassLike(N)?2:3;if(!E.isClassLike(N))return 1;var R=je.kind===26?je.parent.parent:je.parent;var $=E.isClassElement(R)?E.getEffectiveModifierFlags(R):0;if(je.kind===79&&!isCurrentlyEditingNode(je)){switch(je.getText()){case"private":$=$|8;break;case"static":$=$|32;break;case"override":$=$|16384;break}}if(E.isClassStaticBlockDeclaration(R)){$|=32}if(!($&8)){var G=E.isClassLike(N)&&$&16384?E.singleElementArray(E.getEffectiveBaseTypeNode(N)):E.getAllSuperTypeNodes(N);var ie=E.flatMap(G,(function(E){var R=le.getTypeAtLocation(E);return $&32?(R===null||R===void 0?void 0:R.symbol)&&le.getPropertiesOfType(le.getTypeOfSymbolAtLocation(R.symbol,N)):R&&le.getPropertiesOfType(R)}));ot=E.concatenate(ot,filterClassMembersList(ie,N.members,$))}return 1}function tryGetObjectLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 18:case 27:if(E.isObjectLiteralExpression(R)||E.isObjectBindingPattern(R)){return R}break;case 41:return E.isMethodDeclaration(R)?E.tryCast(R.parent,E.isObjectLiteralExpression):undefined;case 79:return N.text==="async"&&E.isShorthandPropertyAssignment(N.parent)?N.parent.parent:undefined}}return undefined}function isConstructorParameterCompletion(N){return!!N.parent&&E.isParameter(N.parent)&&E.isConstructorDeclaration(N.parent.parent)&&(E.isParameterPropertyModifier(N.kind)||E.isDeclarationName(N))}function tryGetConstructorLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 20:case 27:return E.isConstructorDeclaration(N.parent)?N.parent:undefined;default:if(isConstructorParameterCompletion(N)){return R.parent}}}return undefined}function tryGetFunctionLikeBodyCompletionContainer(N){if(N){var R;var j=E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)){return"quit"}if(E.isFunctionLikeDeclaration(N)&&R===N.body){return true}R=N;return false}));return j&&j}}function tryGetContainingJsxElement(N){if(N){var R=N.parent;switch(N.kind){case 31:case 30:case 43:case 79:case 204:case 284:case 283:case 285:if(R&&(R.kind===277||R.kind===278)){if(N.kind===31){var $=E.findPrecedingToken(N.pos,j,undefined);if(!R.typeArguments||$&&$.kind===43)break}return R}else if(R.kind===283){return R.parent.parent}break;case 10:if(R&&(R.kind===283||R.kind===285)){return R.parent.parent}break;case 19:if(R&&R.kind===286&&R.parent&&R.parent.kind===283){return R.parent.parent.parent}if(R&&R.kind===285){return R.parent.parent}break}}return undefined}function isSolelyIdentifierDefinitionLocation(N){var R=N.parent;var j=R.kind;switch(N.kind){case 27:return j===252||isVariableDeclarationListButNotTypeArgument(N)||j===235||j===258||isFunctionLikeButNotConstructor(j)||j===256||j===200||j===257||E.isClassLike(R)&&!!R.typeParameters&&R.typeParameters.end>=N.pos;case 24:return j===200;case 58:return j===201;case 22:return j===200;case 20:return j===290||isFunctionLikeButNotConstructor(j);case 18:return j===258;case 29:return j===255||j===224||j===256||j===257||E.isFunctionLikeKind(j);case 124:return j===165&&!E.isClassLike(R.parent);case 25:return j===162||!!R.parent&&R.parent.kind===200;case 123:case 121:case 122:return j===162&&!E.isConstructorDeclaration(R.parent);case 127:return j===268||j===273||j===266;case 135:case 147:return!isFromObjectTypeDeclaration(N);case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 136:case 150:return true;case 41:return E.isFunctionLike(N.parent)&&!E.isMethodDeclaration(N.parent)}if(isClassMemberCompletionKeyword(keywordForNode(N))&&isFromObjectTypeDeclaration(N)){return false}if(isConstructorParameterCompletion(N)){if(!E.isIdentifier(N)||E.isParameterPropertyModifier(keywordForNode(N))||isCurrentlyEditingNode(N)){return false}}switch(keywordForNode(N)){case 126:case 84:case 85:case 134:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return true;case 130:return E.isPropertyDeclaration(N.parent)}var $=E.findAncestor(N.parent,E.isClassLike);if($&&N===Be&&isPreviousPropertyDeclarationTerminated(N,q)){return false}var G=E.getAncestor(N.parent,165);if(G&&N!==Be&&E.isClassLike(Be.parent.parent)&&q<=Be.end){if(isPreviousPropertyDeclarationTerminated(N,Be.end)){return false}else if(N.kind!==63&&(E.isInitializedProperty(G)||E.hasType(G))){return true}}return E.isDeclarationName(N)&&!E.isShorthandPropertyAssignment(N.parent)&&!E.isJsxAttribute(N.parent)&&!(E.isClassLike(N.parent)&&(N!==Be||q>Be.end))}function isPreviousPropertyDeclarationTerminated(N,R){return N.kind!==63&&(N.kind===26||!E.positionsAreOnSameLine(N.end,R,j))}function isFunctionLikeButNotConstructor(N){return E.isFunctionLikeKind(N)&&N!==169}function isDotOfNumericLiteral(E){if(E.kind===8){var N=E.getFullText();return N.charAt(N.length-1)==="."}return false}function isVariableDeclarationListButNotTypeArgument(N){return N.parent.kind===253&&!E.isPossiblyTypeArgumentPosition(N,j,le)}function filterObjectMembersList(N,R){if(R.length===0){return N}var j=new E.Set;var $=new E.Set;for(var q=0,G=R;q=0;$--){if(pushKeywordIf(R,j[$],115)){break}}}}E.forEach(aggregateAllBreakAndContinueStatements(N.statement),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81,86)}}));return R}function getBreakOrContinueStatementOccurrences(E){var N=getBreakOrContinueOwner(E);if(N){switch(N.kind){case 240:case 241:case 242:case 238:case 239:return getLoopBreakContinueOccurrences(N);case 247:return getSwitchCaseDefaultOccurrences(N)}}return undefined}function getSwitchCaseDefaultOccurrences(N){var R=[];pushKeywordIf(R,N.getFirstToken(),107);E.forEach(N.caseBlock.clauses,(function(j){pushKeywordIf(R,j.getFirstToken(),82,88);E.forEach(aggregateAllBreakAndContinueStatements(j),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81)}}))}));return R}function getTryCatchFinallyOccurrences(N,R){var j=[];pushKeywordIf(j,N.getFirstToken(),111);if(N.catchClause){pushKeywordIf(j,N.catchClause.getFirstToken(),83)}if(N.finallyBlock){var $=E.findChildOfKind(N,96,R);pushKeywordIf(j,$,96)}return j}function getThrowOccurrences(N,R){var j=getThrowStatementOwner(N);if(!j){return undefined}var $=[];E.forEach(aggregateOwnedThrowStatements(j),(function(N){$.push(E.findChildOfKind(N,109,R))}));if(E.isFunctionBlock(j)){E.forEachReturnStatement(j,(function(N){$.push(E.findChildOfKind(N,105,R))}))}return $}function getReturnOccurrences(N,R){var j=E.getContainingFunction(N);if(!j){return undefined}var $=[];E.forEachReturnStatement(E.cast(j.body,E.isBlock),(function(N){$.push(E.findChildOfKind(N,105,R))}));E.forEach(aggregateOwnedThrowStatements(j.body),(function(N){$.push(E.findChildOfKind(N,109,R))}));return $}function getAsyncAndAwaitOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];if(R.modifiers){R.modifiers.forEach((function(E){pushKeywordIf(j,E,130)}))}E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isAwaitExpression(N)){pushKeywordIf(j,N.getFirstToken(),131)}}))}));return j}function getYieldOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isYieldExpression(N)){pushKeywordIf(j,N.getFirstToken(),125)}}))}));return j}function traverseWithoutCrossingFunction(N,R){R(N);if(!E.isFunctionLike(N)&&!E.isClassLike(N)&&!E.isInterfaceDeclaration(N)&&!E.isModuleDeclaration(N)&&!E.isTypeAliasDeclaration(N)&&!E.isTypeNode(N)){E.forEachChild(N,(function(E){return traverseWithoutCrossingFunction(E,R)}))}}function getIfElseOccurrences(N,R){var j=getIfElseKeywords(N,R);var $=[];for(var q=0;q=G.end;ce--){if(!E.isWhiteSpaceSingleLine(R.text.charCodeAt(ce))){ae=false;break}}if(ae){$.push({fileName:R.fileName,textSpan:E.createTextSpanFromBounds(G.getStart(),ie.end),kind:"reference"});q++;continue}}$.push(getHighlightSpanForNode(j[q],R))}return $}function getIfElseKeywords(N,R){var j=[];while(E.isIfStatement(N.parent)&&N.parent.elseStatement===N){N=N.parent}while(true){var $=N.getChildren(R);pushKeywordIf(j,$[0],99);for(var q=$.length-1;q>=0;q--){if(pushKeywordIf(j,$[q],91)){break}}if(!N.elseStatement||!E.isIfStatement(N.elseStatement)){break}N=N.elseStatement}return j}function isLabeledBy(N,R){return!!E.findAncestor(N.parent,(function(N){return!E.isLabeledStatement(N)?"quit":N.label.escapedText===R}))}})(N=E.DocumentHighlights||(E.DocumentHighlights={}))})(ce||(ce={}));var ce;(function(E){function isDocumentRegistryEntry(E){return!!E.sourceFile}function createDocumentRegistry(E,N){return createDocumentRegistryInternal(E,N)}E.createDocumentRegistry=createDocumentRegistry;function createDocumentRegistryInternal(N,R,j){if(R===void 0){R=""}var $=new E.Map;var q=E.createGetCanonicalFileName(!!N);function reportStats(){var N=E.arrayFrom($.keys()).filter((function(E){return E&&E.charAt(0)==="_"})).map((function(E){var N=$.get(E);var R=[];N.forEach((function(E,N){if(isDocumentRegistryEntry(E)){R.push({name:N,scriptKind:E.sourceFile.scriptKind,refCount:E.languageServiceRefCount})}else{E.forEach((function(E,j){return R.push({name:N,scriptKind:j,refCount:E.languageServiceRefCount})}))}}));R.sort((function(E,N){return N.refCount-E.refCount}));return{bucket:E,sourceFiles:R}}));return JSON.stringify(N,undefined,2)}function acquireDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return acquireDocumentWithKey(N,ae,j,ce,$,G,ie)}function acquireDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,true,G)}function updateDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return updateDocumentWithKey(N,ae,j,ce,$,G,ie)}function updateDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,false,G)}function getDocumentRegistryEntry(N,R){var j=isDocumentRegistryEntry(N)?N:N.get(E.Debug.checkDefined(R,"If there are more than one scriptKind's for same document the scriptKind should be provided"));E.Debug.assert(R===undefined||!j||j.sourceFile.scriptKind===R,"Script kind should match provided ScriptKind:"+R+" and sourceFile.scriptKind: "+(j===null||j===void 0?void 0:j.sourceFile.scriptKind)+", !entry: "+!j);return j}function acquireOrUpdateDocument(N,R,q,G,ie,ae,ce,le){le=E.ensureScriptKind(N,le);var _e=le===6?100:q.target||1;var Ee=E.getOrUpdate($,G,(function(){return new E.Map}));var Te=Ee.get(R);var we=Te&&getDocumentRegistryEntry(Te,le);if(!we&&j){var Ie=j.getDocument(G,R);if(Ie){E.Debug.assert(ce);we={sourceFile:Ie,languageServiceRefCount:0};setBucketEntry()}}if(!we){var Ie=E.createLanguageServiceSourceFile(N,ie,_e,ae,false,le);if(j){j.setDocument(G,R,Ie)}we={sourceFile:Ie,languageServiceRefCount:1};setBucketEntry()}else{if(we.sourceFile.version!==ae){we.sourceFile=E.updateLanguageServiceSourceFile(we.sourceFile,ie,ae,ie.getChangeRange(we.sourceFile.scriptSnapshot));if(j){j.setDocument(G,R,we.sourceFile)}}if(ce){we.languageServiceRefCount++}}E.Debug.assert(we.languageServiceRefCount!==0);return we.sourceFile;function setBucketEntry(){if(!Te){Ee.set(R,we)}else if(isDocumentRegistryEntry(Te)){var N=new E.Map;N.set(Te.sourceFile.scriptKind,Te);N.set(le,we);Ee.set(R,N)}else{Te.set(le,we)}}}function releaseDocument(N,j,$){var G=E.toPath(N,R,q);var ie=getKeyForCompilationSettings(j);return releaseDocumentWithKey(G,ie,$)}function releaseDocumentWithKey(N,R,j){var q=E.Debug.checkDefined($.get(R));var G=q.get(N);var ie=getDocumentRegistryEntry(G,j);ie.languageServiceRefCount--;E.Debug.assert(ie.languageServiceRefCount>=0);if(ie.languageServiceRefCount===0){if(isDocumentRegistryEntry(G)){q.delete(N)}else{G.delete(j);if(G.size===1){q.set(N,E.firstDefinedIterator(G.values(),E.identity))}}}}function getLanguageServiceRefCounts(N,R){return E.arrayFrom($.entries(),(function(E){var j=E[0],$=E[1];var q=$.get(N);var G=q&&getDocumentRegistryEntry(q,R);return[j,G&&G.languageServiceRefCount]}))}return{acquireDocument:acquireDocument,acquireDocumentWithKey:acquireDocumentWithKey,updateDocument:updateDocument,updateDocumentWithKey:updateDocumentWithKey,releaseDocument:releaseDocument,releaseDocumentWithKey:releaseDocumentWithKey,getLanguageServiceRefCounts:getLanguageServiceRefCounts,reportStats:reportStats,getKeyForCompilationSettings:getKeyForCompilationSettings}}E.createDocumentRegistryInternal=createDocumentRegistryInternal;function getKeyForCompilationSettings(N){return E.sourceFileAffectingCompilerOptions.map((function(R){return E.getCompilerOptionValue(N,R)})).join("|")}})(ce||(ce={}));var ce;(function(E){var N;(function(N){function createImportTracker(E,N,R,j){var q=getDirectImportsMap(E,R,j);return function(G,ie,ae){var ce=getImportersForExport(E,N,q,ie,R,j),le=ce.directImports,_e=ce.indirectUsers;return $({indirectUsers:_e},getSearchesFromDirectImports(le,G,ie.exportKind,R,ae))}}N.createImportTracker=createImportTracker;var R;(function(E){E[E["Named"]=0]="Named";E[E["Default"]=1]="Default";E[E["ExportEquals"]=2]="ExportEquals"})(R=N.ExportKind||(N.ExportKind={}));var j;(function(E){E[E["Import"]=0]="Import";E[E["Export"]=1]="Export"})(j=N.ImportExport||(N.ImportExport={}));function getImportersForExport(N,R,j,$,q,G){var ie=$.exportingModuleSymbol,ae=$.exportKind;var ce=E.nodeSeenTracker();var le=E.nodeSeenTracker();var _e=[];var Ee=!!ie.globalExports;var Te=Ee?undefined:[];handleDirectImports(ie);return{directImports:_e,indirectUsers:getIndirectUsers()};function getIndirectUsers(){if(Ee){return N}if(ie.declarations){for(var j=0,$=ie.declarations;j<$.length;j++){var q=$[j];if(E.isExternalModuleAugmentation(q)&&R.has(q.getSourceFile().fileName)){addIndirectUser(q)}}}return Te.map(E.getSourceFileOfNode)}function handleDirectImports(N){var R=getDirectImports(N);if(R){for(var j=0,$=R;j<$.length;j++){var ie=$[j];if(!ce(ie)){continue}if(G)G.throwIfCancellationRequested();switch(ie.kind){case 206:if(E.isImportCall(ie)){handleImportCall(ie);break}if(!Ee){var le=ie.parent;if(ae===2&&le.kind===252){var Te=le.name;if(Te.kind===79){_e.push(Te);break}}}break;case 79:break;case 263:handleNamespaceImport(ie,ie.name,E.hasSyntacticModifier(ie,1),false);break;case 264:_e.push(ie);var we=ie.importClause&&ie.importClause.namedBindings;if(we&&we.kind===266){handleNamespaceImport(ie,we.name,false,true)}else if(!Ee&&E.isDefaultImport(ie)){addIndirectUser(getSourceFileLikeForImportDeclaration(ie))}break;case 270:if(!ie.exportClause){handleDirectImports(getContainingModuleSymbol(ie,q))}else if(ie.exportClause.kind===272){addIndirectUser(getSourceFileLikeForImportDeclaration(ie),true)}else{_e.push(ie)}break;case 198:if(ie.isTypeOf&&!ie.qualifier&&isExported(ie)){addIndirectUser(ie.getSourceFile(),true)}_e.push(ie);break;default:E.Debug.failBadSyntaxKind(ie,"Unexpected import kind.")}}}}function handleImportCall(N){var R=E.findAncestor(N,isAmbientModuleDeclaration)||N.getSourceFile();addIndirectUser(R,!!isExported(N,true))}function isExported(N,R){if(R===void 0){R=false}return E.findAncestor(N,(function(N){if(R&&isAmbientModuleDeclaration(N))return"quit";return E.some(N.modifiers,(function(E){return E.kind===93}))}))}function handleNamespaceImport(N,R,j,$){if(ae===2){if(!$)_e.push(N)}else if(!Ee){var G=getSourceFileLikeForImportDeclaration(N);E.Debug.assert(G.kind===300||G.kind===259);if(j||findNamespaceReExports(G,R,q)){addIndirectUser(G,true)}else{addIndirectUser(G)}}}function addIndirectUser(N,R){if(R===void 0){R=false}E.Debug.assert(!Ee);var j=le(N);if(!j)return;Te.push(N);if(!R)return;var $=q.getMergedSymbol(N.symbol);if(!$)return;E.Debug.assert(!!($.flags&1536));var G=getDirectImports($);if(G){for(var ie=0,ae=G;ie=0){if(ae>j.end)break;var ce=ae+ie;if((ae===0||!E.isIdentifierPart(q.charCodeAt(ae-1),99))&&(ce===G||!E.isIdentifierPart(q.charCodeAt(ce),99))){$.push(ae)}ae=q.indexOf(R,ae+ie+1)}return $}function getLabelReferencesInNode(N,R){var j=N.getSourceFile();var $=R.text;var q=E.mapDefined(getPossibleSymbolReferenceNodes(j,$,N),(function(N){return N===R||E.isJumpStatementTarget(N)&&E.getTargetLabel(N,$)===R?nodeEntry(N):undefined}));return[{definition:{type:1,node:R},references:q}]}function isValidReferencePosition(N,R){switch(N.kind){case 80:if(E.isJSDocMemberName(N.parent)){return true}case 79:return N.text.length===R.length;case 14:case 10:{var j=N;return(E.isLiteralNameOfPropertyDeclarationOrIndexAccess(j)||E.isNameOfModuleDeclaration(N)||E.isExpressionOfExternalModuleImportEqualsDeclaration(N)||E.isCallExpression(N.parent)&&E.isBindableObjectDefinePropertyCall(N.parent)&&N.parent.arguments[1]===N)&&j.text.length===R.length}case 8:return E.isLiteralNameOfPropertyDeclarationOrIndexAccess(N)&&N.text.length===R.length;case 88:return"default".length===R.length;default:return false}}function getAllReferencesForKeyword(N,R,j,$){var q=E.flatMap(N,(function(N){j.throwIfCancellationRequested();return E.mapDefined(getPossibleSymbolReferenceNodes(N,E.tokenToString(R),N),(function(E){if(E.kind===R&&(!$||$(E))){return nodeEntry(E)}}))}));return q.length?[{definition:{type:2,node:q[0].node},references:q}]:undefined}function getReferencesInSourceFile(E,N,R,j){if(j===void 0){j=true}R.cancellationToken.throwIfCancellationRequested();return getReferencesInContainer(E,E,N,R,j)}function getReferencesInContainer(E,N,R,j,$){if(!j.markSearchedSymbols(N,R.allSearchSymbols)){return}for(var q=0,G=getPossibleSymbolReferencePositions(N,R.text,E);q0;G--){var $=j[G];startNode(N,$)}return[j.length-1,j[0]]}function startNode(E,N){var R=emptyNavigationBarNode(E,N);pushChild(ce,R);ae.push(ce);le.push(_e);_e=undefined;ce=R}function endNode(){if(ce.children){mergeChildren(ce.children,ce);sortChildren(ce.children)}ce=ae.pop();_e=le.pop()}function addNodeWithRecursiveChild(E,N,R){startNode(E,R);addChildrenRecursively(N);endNode()}function addNodeWithRecursiveInitializer(N){if(N.initializer&&isFunctionOrClassExpression(N.initializer)){startNode(N);E.forEachChild(N.initializer,addChildrenRecursively);endNode()}else{addNodeWithRecursiveChild(N,N.initializer)}}function hasNavigationBarName(N){return!E.hasDynamicName(N)||N.kind!==219&&E.isPropertyAccessExpression(N.name.expression)&&E.isIdentifier(N.name.expression.expression)&&E.idText(N.name.expression.expression)==="Symbol"}function addChildrenRecursively(N){var R;G.throwIfCancellationRequested();if(!N||E.isToken(N)){return}switch(N.kind){case 169:var j=N;addNodeWithRecursiveChild(j,j.body);for(var $=0,q=j.parameters;$0){startNode(Je,Ge);E.forEachChild(Je.right,addChildrenRecursively);endNode()}}}else if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ge)}else{startNode(Je,Ge);addNodeWithRecursiveChild(N,Je.right,Ve.name);endNode()}endNestedNodes(He);return}case 7:case 9:{var Ke=N;var Ge=We===7?Ke.arguments[0]:Ke.arguments[0].expression;var Qe=Ke.arguments[1];var Xe=startNestedNodes(N,Ge),He=Xe[0],Ye=Xe[1];startNode(N,Ye);startNode(N,E.setTextRange(E.factory.createIdentifier(Qe.text),Qe));addChildrenRecursively(N.arguments[2]);endNode();endNode();endNestedNodes(He);return}case 5:{var Je=N;var Ve=Je.left;var Ze=Ve.expression;if(E.isIdentifier(Ze)&&E.getElementOrPropertyAccessName(Ve)!=="prototype"&&_e&&_e.has(Ze.text)){if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ze)}else if(E.isBindableStaticAccessExpression(Ve)){startNode(Je,Ze);addNodeWithRecursiveChild(Je.left,Je.right,E.getNameOrArgument(Ve));endNode()}return}break}case 4:case 0:case 8:break;default:E.Debug.assertNever(We)}}default:if(E.hasJSDocNodes(N)){E.forEach(N.jsDoc,(function(N){E.forEach(N.tags,(function(N){if(E.isJSDocTypeAlias(N)){addLeafNode(N)}}))}))}E.forEachChild(N,addChildrenRecursively)}}function mergeChildren(N,R){var j=new E.Map;E.filterMutate(N,(function(N,$){var q=N.name||E.getNameOfDeclaration(N.node);var G=q&&nodeText(q);if(!G){return true}var ie=j.get(G);if(!ie){j.set(G,N);return true}if(ie instanceof Array){for(var ae=0,ce=ie;ae0){return cleanText(j)}}switch(N.kind){case 300:var $=N;return E.isExternalModule($)?'"'+E.escapeString(E.getBaseFileName(E.removeFileExtension(E.normalizePath($.fileName))))+'"':"";case 269:return E.isExportAssignment(N)&&N.isExportEquals?"export=":"default";case 212:case 254:case 211:case 255:case 224:if(E.getSyntacticModifierFlags(N)&512){return"default"}return getFunctionOrClassName(N);case 169:return"constructor";case 173:return"new()";case 172:return"()";case 174:return"[]";default:return""}}function primaryNavBarMenuItems(E){var N=[];function recur(E){if(shouldAppearInPrimaryNavBarMenu(E)){N.push(E);if(E.children){for(var R=0,j=E.children;R0){return cleanText(E.declarationNameToString(N.name))}else if(E.isVariableDeclaration(R)){return cleanText(E.declarationNameToString(R.name))}else if(E.isBinaryExpression(R)&&R.operatorToken.kind===63){return nodeText(R.left).replace(j,"")}else if(E.isPropertyAssignment(R)){return nodeText(R.name)}else if(E.getSyntacticModifierFlags(N)&512){return"default"}else if(E.isClassLike(N)){return""}else if(E.isCallExpression(R)){var $=getCalledExpressionName(R.expression);if($!==undefined){$=cleanText($);if($.length>q){return $+" callback"}var G=cleanText(E.mapDefined(R.arguments,(function(N){return E.isStringLiteralLike(N)?N.getText(ie):undefined})).join(", "));return $+"("+G+") callback"}}return""}function getCalledExpressionName(N){if(E.isIdentifier(N)){return N.text}else if(E.isPropertyAccessExpression(N)){var R=getCalledExpressionName(N.expression);var j=N.name.text;return R===undefined?j:R+"."+j}else{return undefined}}function isFunctionOrClassExpression(E){switch(E.kind){case 212:case 211:case 224:return true;default:return false}}function cleanText(E){E=E.length>q?E.substring(0,q)+"...":E;return E.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(N=E.NavigationBar||(E.NavigationBar={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function organizeImports(N,R,j,$,q,G){var ie=E.textChanges.ChangeTracker.fromContext({host:j,formatContext:R,preferences:q});var coalesceAndOrganizeImports=function(R){return E.stableSort(coalesceImports(removeUnusedImports(R,N,$,G)),(function(E,N){return compareImportsOrRequireStatements(E,N)}))};var ae=N.statements.filter(E.isImportDeclaration);organizeImportsWorker(ae,coalesceAndOrganizeImports);var ce=N.statements.filter(E.isExportDeclaration);organizeImportsWorker(ce,coalesceExports);for(var le=0,_e=N.statements.filter(E.isAmbientModule);le<_e.length;le++){var Ee=_e[le];if(!Ee.body){continue}var Te=Ee.body.statements.filter(E.isImportDeclaration);organizeImportsWorker(Te,coalesceAndOrganizeImports);var we=Ee.body.statements.filter(E.isExportDeclaration);organizeImportsWorker(we,coalesceExports)}return ie.getChanges();function organizeImportsWorker($,q){if(E.length($)===0){return}E.suppressLeadingTrivia($[0]);var G=E.group($,(function(E){return getExternalModuleName(E.moduleSpecifier)}));var ae=E.stableSort(G,(function(E,N){return compareModuleSpecifiers(E[0].moduleSpecifier,N[0].moduleSpecifier)}));var ce=E.flatMap(ae,(function(E){return getExternalModuleName(E[0].moduleSpecifier)?q(E):E}));if(ce.length===0){ie.deleteNodes(N,$,{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},true)}else{var le={leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include,suffix:E.getNewLineOrDefaultFromHost(j,R.options)};ie.replaceNodeWithNodes(N,$[0],ce,le);var _e=ie.nodeHasTrailingComment(N,$[0],le);ie.deleteNodes(N,$.slice(1),{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},_e)}}}N.organizeImports=organizeImports;function removeUnusedImports(N,R,j,$){if($){return N}var q=j.getTypeChecker();var G=q.getJsxNamespace(R);var ie=q.getJsxFragmentFactory(R);var ae=!!(R.transformFlags&2);var ce=[];for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];var Te=Ee.importClause,we=Ee.moduleSpecifier;if(!Te){ce.push(Ee);continue}var Ie=Te.name,Ne=Te.namedBindings;if(Ie&&!isDeclarationUsed(Ie)){Ie=undefined}if(Ne){if(E.isNamespaceImport(Ne)){if(!isDeclarationUsed(Ne.name)){Ne=undefined}}else{var Me=Ne.elements.filter((function(E){return isDeclarationUsed(E.name)}));if(Me.length0?Ee[0]:we[0];var qe=Je.length===0?je?undefined:E.factory.createNamedImports(E.emptyArray):we.length===0?E.factory.createNamedImports(Je):E.factory.updateNamedImports(we[0].importClause.namedBindings,Je);if(_e&&je&&qe){ie.push(updateImportDeclarationAndClause(Ve,je,undefined));ie.push(updateImportDeclarationAndClause((R=we[0])!==null&&R!==void 0?R:Ve,undefined,qe))}else{ie.push(updateImportDeclarationAndClause(Ve,je,qe))}}return ie}N.coalesceImports=coalesceImports;function getCategorizedImports(N){var R;var j={defaultImports:[],namespaceImports:[],namedImports:[]};var $={defaultImports:[],namespaceImports:[],namedImports:[]};for(var q=0,G=N;q1){$.push(createOutliningSpanFromBounds(G,ie,"comment"))}}}function addOutliningForLeadingCommentsForNode(N,R,j,$){if(E.isJsxText(N))return;addOutliningForLeadingCommentsForPos(N.pos,R,j,$)}function createOutliningSpanFromBounds(N,R,j){return createOutliningSpan(E.createTextSpanFromBounds(N,R),j)}function getOutliningSpanForNode(N,R){switch(N.kind){case 233:if(E.isFunctionLike(N.parent)){return functionSpan(N.parent,N,R)}switch(N.parent.kind){case 238:case 241:case 242:case 240:case 237:case 239:case 246:case 290:return spanForNode(N.parent);case 250:var j=N.parent;if(j.tryBlock===N){return spanForNode(N.parent)}else if(j.finallyBlock===N){var $=E.findChildOfKind(j,96,R);if($)return spanForNode($)}default:return createOutliningSpan(E.createTextSpanFromNode(N,R),"code")}case 260:return spanForNode(N.parent);case 255:case 224:case 256:case 258:case 261:case 180:case 199:return spanForNode(N);case 182:return spanForNode(N,false,!E.isTupleTypeNode(N.parent),22);case 287:case 288:return spanForNodeArray(N.statements);case 203:return spanForObjectOrArrayLiteral(N);case 202:return spanForObjectOrArrayLiteral(N,22);case 276:return spanForJSXElement(N);case 280:return spanForJSXFragment(N);case 277:case 278:return spanForJSXAttributes(N.attributes);case 221:case 14:return spanForTemplateLiteral(N);case 200:return spanForNode(N,false,!E.isBindingElement(N.parent),22);case 212:return spanForArrowFunction(N);case 206:return spanForCallExpression(N)}function spanForCallExpression(N){if(!N.arguments.length){return undefined}var j=E.findChildOfKind(N,20,R);var $=E.findChildOfKind(N,21,R);if(!j||!$||E.positionsAreOnSameLine(j.pos,$.pos,R)){return undefined}return spanBetweenTokens(j,$,N,R,false,true)}function spanForArrowFunction(N){if(E.isBlock(N.body)||E.positionsAreOnSameLine(N.body.getFullStart(),N.body.getEnd(),R)){return undefined}var j=E.createTextSpanFromBounds(N.body.getFullStart(),N.body.getEnd());return createOutliningSpan(j,"code",E.createTextSpanFromNode(N))}function spanForJSXElement(N){var j=E.createTextSpanFromBounds(N.openingElement.getStart(R),N.closingElement.getEnd());var $=N.openingElement.tagName.getText(R);var q="<"+$+">...";return createOutliningSpan(j,"code",j,false,q)}function spanForJSXFragment(N){var j=E.createTextSpanFromBounds(N.openingFragment.getStart(R),N.closingFragment.getEnd());var $="<>...";return createOutliningSpan(j,"code",j,false,$)}function spanForJSXAttributes(E){if(E.properties.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForTemplateLiteral(E){if(E.kind===14&&E.text.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForObjectOrArrayLiteral(N,R){if(R===void 0){R=18}return spanForNode(N,false,!E.isArrayLiteralExpression(N.parent)&&!E.isCallExpression(N.parent),R)}function spanForNode(j,$,q,G,ie){if($===void 0){$=false}if(q===void 0){q=true}if(G===void 0){G=18}if(ie===void 0){ie=G===18?19:23}var ae=E.findChildOfKind(N,G,R);var ce=E.findChildOfKind(N,ie,R);return ae&&ce&&spanBetweenTokens(ae,ce,j,R,$,q)}function spanForNodeArray(N){return N.length?createOutliningSpan(E.createTextSpanFromRange(N),"code"):undefined}}function functionSpan(N,R,j){var $=tryGetFunctionOpenToken(N,R,j);var q=E.findChildOfKind(R,19,j);return $&&q&&spanBetweenTokens($,q,N,j,N.kind!==212)}function spanBetweenTokens(N,R,j,$,q,G){if(q===void 0){q=false}if(G===void 0){G=true}var ie=E.createTextSpanFromBounds(G?N.getFullStart():N.getStart($),R.getEnd());return createOutliningSpan(ie,"code",E.createTextSpanFromNode(j,$),q)}function createOutliningSpan(E,N,R,j,$){if(R===void 0){R=E}if(j===void 0){j=false}if($===void 0){$="..."}return{textSpan:E,kind:N,hintSpan:R,bannerText:$,autoCollapse:j}}function tryGetFunctionOpenToken(N,R,j){if(E.isNodeArrayMultiLine(N.parameters,j)){var $=E.findChildOfKind(N,20,j);if($){return $}}return E.findChildOfKind(R,18,j)}})(N=E.OutliningElementsCollector||(E.OutliningElementsCollector={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["exact"]=0]="exact";E[E["prefix"]=1]="prefix";E[E["substring"]=2]="substring";E[E["camelCase"]=3]="camelCase"})(N=E.PatternMatchKind||(E.PatternMatchKind={}));function createPatternMatch(E,N){return{kind:E,isCaseSensitive:N}}function createPatternMatcher(N){var R=new E.Map;var j=N.trim().split(".").map((function(E){return createSegment(E.trim())}));if(j.some((function(E){return!E.subWordTextChunks.length})))return undefined;return{getFullMatch:function(E,N){return getFullMatch(E,N,j,R)},getMatchForLastSegmentOfPattern:function(N){return matchSegment(N,E.last(j),R)},patternContainsDots:j.length>1}}E.createPatternMatcher=createPatternMatcher;function getFullMatch(N,R,j,$){var q=matchSegment(R,E.last(j),$);if(!q){return undefined}if(j.length-1>N.length){return undefined}var G;for(var ie=j.length-2,ae=N.length-1;ie>=0;ie-=1,ae-=1){G=betterMatch(G,matchSegment(N[ae],j[ie],$))}return G}function getWordSpans(E,N){var R=N.get(E);if(!R){N.set(E,R=breakIntoWordSpans(E))}return R}function matchTextChunk(R,j,$){var q=indexOfIgnoringCase(R,j.textLowerCase);if(q===0){return createPatternMatch(j.text.length===R.length?N.exact:N.prefix,E.startsWith(R,j.text))}if(j.isLowerCase){if(q===-1)return undefined;var G=getWordSpans(R,$);for(var ie=0,ae=G;ie0){return createPatternMatch(N.substring,true)}if(j.characterSpans.length>0){var le=getWordSpans(R,$);var _e=tryCamelCaseMatch(R,le,j,false)?true:tryCamelCaseMatch(R,le,j,true)?false:undefined;if(_e!==undefined){return createPatternMatch(N.camelCase,_e)}}}}function matchSegment(E,N,R){if(every(N.totalTextChunk.text,(function(E){return E!==32&&E!==42}))){var j=matchTextChunk(E,N.totalTextChunk,R);if(j)return j}var $=N.subWordTextChunks;var q;for(var G=0,ie=$;G=65&&N<=90){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toUpperCase()}function isLowerCaseLetter(N){if(N>=97&&N<=122){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toLowerCase()}function indexOfIgnoringCase(E,N){var R=E.length-N.length;var _loop_7=function(R){if(every(N,(function(N,j){return toLowerCase(E.charCodeAt(j+R))===N}))){return{value:R}}};for(var j=0;j<=R;j++){var $=_loop_7(j);if(typeof $==="object")return $.value}return-1}function toLowerCase(E){if(E>=65&&E<=90){return 97+(E-65)}if(E<127){return E}return String.fromCharCode(E).toLowerCase().charCodeAt(0)}function isDigit(E){return E>=48&&E<=57}function isWordChar(E){return isUpperCaseLetter(E)||isLowerCaseLetter(E)||isDigit(E)||E===95||E===36}function breakPatternIntoTextChunks(E){var N=[];var R=0;var j=0;for(var $=0;$0){N.push(createTextChunk(E.substr(R,j)));j=0}}}if(j>0){N.push(createTextChunk(E.substr(R,j)))}return N}function createTextChunk(E){var N=E.toLowerCase();return{text:E,textLowerCase:N,isLowerCase:E===N,characterSpans:breakIntoCharacterSpans(E)}}function breakIntoCharacterSpans(E){return breakIntoSpans(E,false)}E.breakIntoCharacterSpans=breakIntoCharacterSpans;function breakIntoWordSpans(E){return breakIntoSpans(E,true)}E.breakIntoWordSpans=breakIntoWordSpans;function breakIntoSpans(N,R){var j=[];var $=0;for(var q=1;qN){break e}var Ee=E.singleOrUndefined(E.getTrailingCommentRanges(R.text,le.end));if(Ee&&Ee.kind===2){pushSelectionCommentRange(Ee.pos,Ee.end)}if(positionShouldSnapToNode(R,N,le)){if(E.isBlock(le)||E.isTemplateSpan(le)||E.isTemplateHead(le)||E.isTemplateTail(le)||ce&&E.isTemplateHead(ce)||E.isVariableDeclarationList(le)&&E.isVariableStatement(G)||E.isSyntaxList(le)&&E.isVariableDeclarationList(G)||E.isVariableDeclaration(le)&&E.isSyntaxList(G)&&ie.length===1||E.isJSDocTypeExpression(le)||E.isJSDocSignature(le)||E.isJSDocTypeLiteral(le)){G=le;break}if(E.isTemplateSpan(G)&&_e&&E.isTemplateMiddleOrTemplateTail(_e)){var Te=le.getFullStart()-"${".length;var we=_e.getStart()+"}".length;pushSelectionRange(Te,we)}var Ie=E.isSyntaxList(le)&&isListOpener(ce)&&isListCloser(_e)&&!E.positionsAreOnSameLine(ce.getStart(),_e.getStart(),R);var Ne=Ie?ce.getEnd():le.getStart();var Me=Ie?_e.getStart():getEndPos(R,le);if(E.hasJSDocNodes(le)&&((j=le.jsDoc)===null||j===void 0?void 0:j.length)){pushSelectionRange(E.first(le.jsDoc).getStart(),Me)}pushSelectionRange(Ne,Me);if(E.isStringLiteral(le)||E.isTemplateLiteral(le)){pushSelectionRange(Ne+1,Me-1)}G=le;break}if(ae===ie.length-1){break e}}}return q;function pushSelectionRange(R,j){if(R!==j){var G=E.createTextSpanFromBounds(R,j);if(!q||!E.textSpansEqual(G,q.textSpan)&&E.textSpanIntersectsWithPosition(G,N)){q=$({textSpan:G},q&&{parent:q})}}}function pushSelectionCommentRange(E,N){pushSelectionRange(E,N);var j=E;while(R.text.charCodeAt(j)===47){j++}pushSelectionRange(j,N)}}N.getSmartSelectionRange=getSmartSelectionRange;function positionShouldSnapToNode(N,R,j){E.Debug.assert(j.pos<=R);if(R0&&E.last(R).kind===27){j++}return j}function getArgumentIndexForTemplatePiece(N,R,j,$){E.Debug.assert(j>=R.getStart(),"Assumed 'position' could not occur before node.");if(E.isTemplateLiteralToken(R)){if(E.isInsideTemplateLiteral(R,j,$)){return 0}return N+2}return N+1}function getArgumentListInfoForTemplate(N,R,j){var $=E.isNoSubstitutionTemplateLiteral(N.template)?1:N.template.templateSpans.length+1;if(R!==0){E.Debug.assertLessThan(R,$)}return{isTypeParameterList:false,invocation:{kind:0,node:N},argumentsSpan:getApplicableSpanForTaggedTemplate(N,j),argumentIndex:R,argumentCount:$}}function getApplicableSpanForArguments(N,R){var j=N.getFullStart();var $=E.skipTrivia(R.text,N.getEnd(),false);return E.createTextSpan(j,$-j)}function getApplicableSpanForTaggedTemplate(N,R){var j=N.template;var $=j.getStart();var q=j.getEnd();if(j.kind===221){var G=E.last(j.templateSpans);if(G.literal.getFullWidth()===0){q=E.skipTrivia(R.text,q,false)}}return E.createTextSpan($,q-$)}function getContainingArgumentInfo(N,R,j,$,q){var _loop_8=function(N){E.Debug.assert(E.rangeContainsRange(N.parent,N),"Not a subspan",(function(){return"Child: "+E.Debug.formatSyntaxKind(N.kind)+", parent: "+E.Debug.formatSyntaxKind(N.parent.kind)}));var q=getImmediatelyContainingArgumentOrContextualParameterInfo(N,R,j,$);if(q){return{value:q}}};for(var G=N;!E.isSourceFile(G)&&(q||!E.isBlock(G));G=G.parent){var ie=_loop_8(G);if(typeof ie==="object")return ie.value}return undefined}function getChildListThatStartsWithOpenerToken(N,R,j){var $=N.getChildren(j);var q=$.indexOf(R);E.Debug.assert(q>=0&&$.length>q+1);return $[q+1]}function getExpressionFromInvocation(N){return N.kind===0?E.getInvokedExpression(N.node):N.called}function getEnclosingDeclarationFromInvocation(E){return E.kind===0?E.node:E.kind===1?E.called:E.node}var q=8192|70221824|16384;function createSignatureHelpItems(N,R,j,$,q,G){var ie;var ae=j.isTypeParameterList,ce=j.argumentCount,le=j.argumentsSpan,_e=j.invocation,Ee=j.argumentIndex;var Te=getEnclosingDeclarationFromInvocation(_e);var we=_e.kind===2?_e.symbol:q.getSymbolAtLocation(getExpressionFromInvocation(_e))||G&&((ie=R.declaration)===null||ie===void 0?void 0:ie.symbol);var Ie=we?E.symbolToDisplayParts(q,we,G?$:undefined,undefined):E.emptyArray;var Ne=E.map(N,(function(E){return getSignatureHelpItem(E,Ie,ae,q,Te,$)}));if(Ee!==0){E.Debug.assertLessThan(Ee,ce)}var Me=0;var Le=0;for(var Be=0;Be1){var Ue=0;for(var ze=0,We=je;ze=ce){Me=Le+Ue;break}Ue++}}}Le+=je.length}E.Debug.assert(Me!==-1);var Ve={items:E.flatMapToMutable(Ne,E.identity),applicableSpan:le,selectedItemIndex:Me,argumentIndex:Ee,argumentCount:ce};var qe=Ve.items[Me];if(qe.isVariadic){var He=E.findIndex(qe.parameters,(function(E){return!!E.isRest}));if(-1N){return E.substr(0,N-"...".length)+"..."}return E}function printTypeInSingleLine(N){var R=70221824|1048576|16384;var $={removeComments:true};var q=E.createPrinter($);return E.usingSingleLineStringWriter((function($){var G=le.typeToTypeNode(N,undefined,R,$);E.Debug.assertIsDefined(G,"should always get typenode");q.writeNode(4,G,j,$)}))}function isUndefined(E){return E==="undefined"}}N.provideInlayHints=provideInlayHints})(N=E.InlayHints||(E.InlayHints={}))})(ce||(ce={}));var ce;(function(E){var N=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function getSourceMapper(N){var R=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var j=N.getCurrentDirectory();var $=new E.Map;var q=new E.Map;return{tryGetSourcePosition:tryGetSourcePosition,tryGetGeneratedPosition:tryGetGeneratedPosition,toLineColumnOffset:toLineColumnOffset,clearCache:clearCache};function toPath(N){return E.toPath(N,j,R)}function getDocumentPositionMapper(j,$){var G=toPath(j);var ie=q.get(G);if(ie)return ie;var ae;if(N.getDocumentPositionMapper){ae=N.getDocumentPositionMapper(j,$)}else if(N.readFile){var ce=getSourceFileLike(j);ae=ce&&E.getDocumentPositionMapper({getSourceFileLike:getSourceFileLike,getCanonicalFileName:R,log:function(E){return N.log(E)}},j,E.getLineInfo(ce.text,E.getLineStarts(ce)),(function(E){return!N.fileExists||N.fileExists(E)?N.readFile(E):undefined}))}q.set(G,ae||E.identitySourceMapConsumer);return ae||E.identitySourceMapConsumer}function tryGetSourcePosition(N){if(!E.isDeclarationFileName(N.fileName))return undefined;var R=getSourceFile(N.fileName);if(!R)return undefined;var j=getDocumentPositionMapper(N.fileName).getSourcePosition(N);return!j||j===N?undefined:tryGetSourcePosition(j)||j}function tryGetGeneratedPosition($){if(E.isDeclarationFileName($.fileName))return undefined;var q=getSourceFile($.fileName);if(!q)return undefined;var G=N.getProgram();if(G.isSourceOfProjectReferenceRedirect(q.fileName)){return undefined}var ie=G.getCompilerOptions();var ae=E.outFile(ie);var ce=ae?E.removeFileExtension(ae)+".d.ts":E.getDeclarationEmitOutputFilePathWorker($.fileName,G.getCompilerOptions(),j,G.getCommonSourceDirectory(),R);if(ce===undefined)return undefined;var le=getDocumentPositionMapper(ce,$.fileName).getGeneratedPosition($);return le===$?undefined:le}function getSourceFile(E){var R=N.getProgram();if(!R)return undefined;var j=toPath(E);var $=R.getSourceFileByPath(j);return $&&$.resolvedPath===j?$:undefined}function getOrCreateSourceFileLike(E){var R=toPath(E);var j=$.get(R);if(j!==undefined)return j?j:undefined;if(!N.readFile||N.fileExists&&!N.fileExists(R)){$.set(R,false);return undefined}var q=N.readFile(R);var G=q?createSourceFileLike(q):false;$.set(R,G);return G?G:undefined}function getSourceFileLike(E){return!N.getSourceFileLike?getSourceFile(E)||getOrCreateSourceFileLike(E):N.getSourceFileLike(E)}function toLineColumnOffset(E,N){var R=getSourceFileLike(E);return R.getLineAndCharacterOfPosition(N)}function clearCache(){$.clear();q.clear()}}E.getSourceMapper=getSourceMapper;function getDocumentPositionMapper(R,j,$,q){var G=E.tryGetSourceMappingURL($);if(G){var ie=N.exec(G);if(ie){if(ie[1]){var ae=ie[1];return convertDocumentToSourceMapper(R,E.base64decode(E.sys,ae),j)}G=undefined}}var ce=[];if(G){ce.push(G)}ce.push(j+".map");var le=G&&E.getNormalizedAbsolutePath(G,E.getDirectoryPath(j));for(var _e=0,Ee=ce;_e2)return false;if(N.arguments.length<2)return true;return E.some(N.arguments,(function(N){return N.kind===104||E.isIdentifier(N)&&N.text==="undefined"}))}function isFixablePromiseArgument(R,j){switch(R.kind){case 254:case 211:var $=E.getFunctionFlags(R);if($&1){return false}case 212:N.set(getKeyFromNode(R),true);case 104:return true;case 79:case 204:{var q=j.getSymbolAtLocation(R);if(!q){return false}return j.isUndefinedSymbol(q)||E.some(E.skipAlias(q,j).declarations,(function(N){return E.isFunctionLike(N)||E.hasInitializer(N)&&!!N.initializer&&E.isFunctionLike(N.initializer)}))}default:return false}}function getKeyFromNode(E){return E.pos.toString()+":"+E.end.toString()}function canBeConvertedToClass(N,R){var j,$,q,G;if(N.kind===211){if(E.isVariableDeclaration(N.parent)&&((j=N.symbol.members)===null||j===void 0?void 0:j.size)){return true}var ie=R.getSymbolOfExpando(N,false);return!!(ie&&((($=ie.exports)===null||$===void 0?void 0:$.size)||((q=ie.members)===null||q===void 0?void 0:q.size)))}if(N.kind===254){return!!((G=N.symbol.members)===null||G===void 0?void 0:G.size)}return false}function canBeConvertedToAsync(E){switch(E.kind){case 254:case 167:case 211:case 212:return true;default:return false}}E.canBeConvertedToAsync=canBeConvertedToAsync})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=8192|70221824|16384;function getSymbolKind(N,R,j){var $=getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,R,j);if($!==""){return $}var q=E.getCombinedLocalAndExportSymbolFlags(R);if(q&32){return E.getDeclarationOfKind(R,224)?"local class":"class"}if(q&384)return"enum";if(q&524288)return"type";if(q&64)return"interface";if(q&262144)return"type parameter";if(q&8)return"enum member";if(q&2097152)return"alias";if(q&1536)return"module";return $}N.getSymbolKind=getSymbolKind;function getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,R,j){var $=N.getRootSymbols(R);if($.length===1&&E.first($).flags&8192&&N.getTypeOfSymbolAtLocation(R,j).getNonNullableType().getCallSignatures().length!==0){return"method"}if(N.isUndefinedSymbol(R)){return"var"}if(N.isArgumentsSymbol(R)){return"local var"}if(j.kind===108&&E.isExpression(j)){return"parameter"}var q=E.getCombinedLocalAndExportSymbolFlags(R);if(q&3){if(E.isFirstDeclarationOfSymbolParameter(R)){return"parameter"}else if(R.valueDeclaration&&E.isVarConst(R.valueDeclaration)){return"const"}else if(E.forEach(R.declarations,E.isLet)){return"let"}return isLocalVariableOrFunction(R)?"local var":"var"}if(q&16)return isLocalVariableOrFunction(R)?"local function":"function";if(q&32768)return"getter";if(q&65536)return"setter";if(q&8192)return"method";if(q&16384)return"constructor";if(q&4){if(q&33554432&&R.checkFlags&6){var G=E.forEach(N.getRootSymbols(R),(function(E){var N=E.getFlags();if(N&(98308|3)){return"property"}}));if(!G){var ie=N.getTypeOfSymbolAtLocation(R,j);if(ie.getCallSignatures().length){return"method"}return"property"}return G}switch(j.parent&&j.parent.kind){case 278:case 276:case 277:return j.kind===79?"property":"JSX attribute";case 283:return"JSX attribute";default:return"property"}}return""}function getNormalizedSymbolModifiers(N){if(N.declarations&&N.declarations.length){var R=N.declarations,j=R[0],$=R.slice(1);var q=E.length($)&&E.isDeprecatedDeclaration(j)&&E.some($,(function(N){return!E.isDeprecatedDeclaration(N)}))?8192:0;var G=E.getNodeModifiers(j,q);if(G){return G.split(",")}}return[]}function getSymbolModifiers(N,R){if(!R){return""}var j=new E.Set(getNormalizedSymbolModifiers(R));if(R.flags&2097152){var $=N.getAliasedSymbol(R);if($!==R){E.forEach(getNormalizedSymbolModifiers($),(function(E){j.add(E)}))}}if(R.flags&16777216){j.add("optional")}return j.size>0?E.arrayFrom(j.values()).join(","):""}N.getSymbolModifiers=getSymbolModifiers;function getSymbolDisplayPartsDocumentationAndSymbolKind(N,j,$,q,G,ie,ae){var ce;if(ie===void 0){ie=E.getMeaningFromLocation(G)}var le=[];var _e=[];var Ee=[];var Te=E.getCombinedLocalAndExportSymbolFlags(j);var we=ie&1?getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,j,G):"";var Ie=false;var Ne=G.kind===108&&E.isInExpressionContext(G);var Me;var Le;var Be;var je;var Ue=false;if(G.kind===108&&!Ne){return{displayParts:[E.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:undefined}}if(we!==""||Te&32||Te&2097152){if(we==="getter"||we==="setter"){we="property"}var ze=void 0;Me=Ne?N.getTypeAtLocation(G):N.getTypeOfSymbolAtLocation(j,G);if(G.parent&&G.parent.kind===204){var We=G.parent.name;if(We===G||We&&We.getFullWidth()===0){G=G.parent}}var Je=void 0;if(E.isCallOrNewExpression(G)){Je=G}else if(E.isCallExpressionTarget(G)||E.isNewExpressionTarget(G)){Je=G.parent}else if(G.parent&&(E.isJsxOpeningLikeElement(G.parent)||E.isTaggedTemplateExpression(G.parent))&&E.isFunctionLike(j.valueDeclaration)){Je=G.parent}if(Je){ze=N.getResolvedSignature(Je);var Ve=Je.kind===207||E.isCallExpression(Je)&&Je.expression.kind===106;var qe=Ve?Me.getConstructSignatures():Me.getCallSignatures();if(ze&&!E.contains(qe,ze.target)&&!E.contains(qe,ze)){ze=qe.length?qe[0]:undefined}if(ze){if(Ve&&Te&32){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else if(Te&2097152){we="alias";pushSymbolKind(we);le.push(E.spacePart());if(Ve){if(ze.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addFullSymbolName(j)}else{addPrefixForAnyFunctionOrVar(j,we)}switch(we){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":le.push(E.punctuationPart(58));le.push(E.spacePart());if(!(E.getObjectFlags(Me)&16)&&Me.symbol){E.addRange(le,E.symbolToDisplayParts(N,Me.symbol,q,undefined,4|1));le.push(E.lineBreakPart())}if(Ve){if(ze.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addSignatureDisplayParts(ze,qe,262144);break;default:addSignatureDisplayParts(ze,qe)}Ie=true;Ue=qe.length>1}}else if(E.isNameOfFunctionDeclaration(G)&&!(Te&98304)||G.kind===133&&G.parent.kind===169){var He=G.parent;var Ge=j.declarations&&E.find(j.declarations,(function(E){return E===(G.kind===133?He.parent:He)}));if(Ge){var qe=He.kind===169?Me.getNonNullableType().getConstructSignatures():Me.getNonNullableType().getCallSignatures();if(!N.isImplementationOfOverload(He)){ze=N.getSignatureFromDeclaration(He)}else{ze=qe[0]}if(He.kind===169){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else{addPrefixForAnyFunctionOrVar(He.kind===172&&!(Me.symbol.flags&2048||Me.symbol.flags&4096)?Me.symbol:j,we)}if(ze){addSignatureDisplayParts(ze,qe)}Ie=true;Ue=qe.length>1}}}if(Te&32&&!Ie&&!Ne){addAliasPrefixIfNecessary();if(E.getDeclarationOfKind(j,224)){pushSymbolKind("local class")}else{le.push(E.keywordPart(84))}le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Te&64&&ie&2){prefixNextMeaning();le.push(E.keywordPart(118));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Te&524288&&ie&2){prefixNextMeaning();le.push(E.keywordPart(150));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$);le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());E.addRange(le,E.typeToDisplayParts(N,N.getDeclaredTypeOfSymbol(j),q,8388608))}if(Te&384){prefixNextMeaning();if(E.some(j.declarations,(function(N){return E.isEnumDeclaration(N)&&E.isEnumConst(N)}))){le.push(E.keywordPart(85));le.push(E.spacePart())}le.push(E.keywordPart(92));le.push(E.spacePart());addFullSymbolName(j)}if(Te&1536&&!Ne){prefixNextMeaning();var Ke=E.getDeclarationOfKind(j,259);var Qe=Ke&&Ke.name&&Ke.name.kind===79;le.push(E.keywordPart(Qe?141:140));le.push(E.spacePart());addFullSymbolName(j)}if(Te&262144&&ie&2){prefixNextMeaning();le.push(E.punctuationPart(20));le.push(E.textPart("type parameter"));le.push(E.punctuationPart(21));le.push(E.spacePart());addFullSymbolName(j);if(j.parent){addInPrefix();addFullSymbolName(j.parent,q);writeTypeParametersOfSymbol(j.parent,q)}else{var Xe=E.getDeclarationOfKind(j,161);if(Xe===undefined)return E.Debug.fail();var Ke=Xe.parent;if(Ke){if(E.isFunctionLikeKind(Ke.kind)){addInPrefix();var ze=N.getSignatureFromDeclaration(Ke);if(Ke.kind===173){le.push(E.keywordPart(103));le.push(E.spacePart())}else if(Ke.kind!==172&&Ke.name){addFullSymbolName(Ke.symbol)}E.addRange(le,E.signatureToDisplayParts(N,ze,$,32))}else if(Ke.kind===257){addInPrefix();le.push(E.keywordPart(150));le.push(E.spacePart());addFullSymbolName(Ke.symbol);writeTypeParametersOfSymbol(Ke.symbol,$)}}}}if(Te&8){we="enum member";addPrefixForAnyFunctionOrVar(j,"enum member");var Ke=(ce=j.declarations)===null||ce===void 0?void 0:ce[0];if((Ke===null||Ke===void 0?void 0:Ke.kind)===294){var Ye=N.getConstantValue(Ke);if(Ye!==undefined){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.displayPart(E.getTextOfConstantValue(Ye),typeof Ye==="number"?E.SymbolDisplayPartKind.numericLiteral:E.SymbolDisplayPartKind.stringLiteral))}}}if(j.flags&2097152){prefixNextMeaning();if(!Ie){var Ze=N.getAliasedSymbol(j);if(Ze!==j&&Ze.declarations&&Ze.declarations.length>0){var et=Ze.declarations[0];var tt=E.getNameOfDeclaration(et);if(tt){var rt=E.isModuleWithStringLiteralName(et)&&E.hasSyntacticModifier(et,2);var nt=j.name!=="default"&&!rt;var it=getSymbolDisplayPartsDocumentationAndSymbolKind(N,Ze,E.getSourceFileOfNode(et),et,tt,ie,nt?j:Ze);le.push.apply(le,it.displayParts);le.push(E.lineBreakPart());Be=it.documentation;je=it.tags}else{Be=Ze.getContextualDocumentationComment(et,N);je=Ze.getJsDocTags(N)}}}if(j.declarations){switch(j.declarations[0].kind){case 262:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(141));break;case 269:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(j.declarations[0].isExportEquals?63:88));break;case 273:le.push(E.keywordPart(93));break;default:le.push(E.keywordPart(100))}}le.push(E.spacePart());addFullSymbolName(j);E.forEach(j.declarations,(function(R){if(R.kind===263){var j=R;if(E.isExternalModuleImportEqualsDeclaration(j)){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.keywordPart(144));le.push(E.punctuationPart(20));le.push(E.displayPart(E.getTextOfNode(E.getExternalModuleImportEqualsDeclarationExpression(j)),E.SymbolDisplayPartKind.stringLiteral));le.push(E.punctuationPart(21))}else{var $=N.getSymbolAtLocation(j.moduleReference);if($){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());addFullSymbolName($,q)}}return true}}))}if(!Ie){if(we!==""){if(Me){if(Ne){prefixNextMeaning();le.push(E.keywordPart(108))}else{addPrefixForAnyFunctionOrVar(j,we)}if(we==="property"||we==="JSX attribute"||Te&3||we==="local var"||Ne){le.push(E.punctuationPart(58));le.push(E.spacePart());if(Me.symbol&&Me.symbol.flags&262144){var ot=E.mapToDisplayParts((function(j){var $=N.typeParameterToDeclaration(Me,q,R);getPrinter().writeNode(4,$,E.getSourceFileOfNode(E.getParseTreeNode(q)),j)}));E.addRange(le,ot)}else{E.addRange(le,E.typeToDisplayParts(N,Me,q))}if(j.target&&j.target.tupleLabelDeclaration){var st=j.target.tupleLabelDeclaration;E.Debug.assertNode(st.name,E.isIdentifier);le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.textPart(E.idText(st.name)));le.push(E.punctuationPart(21))}}else if(Te&16||Te&8192||Te&16384||Te&131072||Te&98304||we==="method"){var qe=Me.getNonNullableType().getCallSignatures();if(qe.length){addSignatureDisplayParts(qe[0],qe);Ue=qe.length>1}}}}else{we=getSymbolKind(N,j,G)}}if(_e.length===0&&!Ue){_e=j.getContextualDocumentationComment(q,N)}if(_e.length===0&&Te&4){if(j.parent&&j.declarations&&E.forEach(j.parent.declarations,(function(E){return E.kind===300}))){for(var ct=0,ut=j.declarations;ct0){break}}}}if(Ee.length===0&&!Ue){Ee=j.getJsDocTags(N)}if(_e.length===0&&Be){_e=Be}if(Ee.length===0&&je){Ee=je}return{displayParts:le,documentation:_e,symbolKind:we,tags:Ee.length===0?undefined:Ee};function getPrinter(){if(!Le){Le=E.createPrinter({removeComments:true})}return Le}function prefixNextMeaning(){if(le.length){le.push(E.lineBreakPart())}addAliasPrefixIfNecessary()}function addAliasPrefixIfNecessary(){if(ae){pushSymbolKind("alias");le.push(E.spacePart())}}function addInPrefix(){le.push(E.spacePart());le.push(E.keywordPart(101));le.push(E.spacePart())}function addFullSymbolName(R,q){if(ae&&R===j){R=ae}var G=E.symbolToDisplayParts(N,R,q||$,undefined,1|2|4);E.addRange(le,G);if(j.flags&16777216){le.push(E.punctuationPart(57))}}function addPrefixForAnyFunctionOrVar(N,R){prefixNextMeaning();if(R){pushSymbolKind(R);if(N&&!E.some(N.declarations,(function(N){return E.isArrowFunction(N)||(E.isFunctionExpression(N)||E.isClassExpression(N))&&!N.name}))){le.push(E.spacePart());addFullSymbolName(N)}}}function pushSymbolKind(N){switch(N){case"var":case"function":case"let":case"const":case"constructor":le.push(E.textOrKeywordPart(N));return;default:le.push(E.punctuationPart(20));le.push(E.textOrKeywordPart(N));le.push(E.punctuationPart(21));return}}function addSignatureDisplayParts(R,j,$){if($===void 0){$=0}E.addRange(le,E.signatureToDisplayParts(N,R,q,$|32));if(j.length>1){le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.operatorPart(39));le.push(E.displayPart((j.length-1).toString(),E.SymbolDisplayPartKind.numericLiteral));le.push(E.spacePart());le.push(E.textPart(j.length===2?"overload":"overloads"));le.push(E.punctuationPart(21))}_e=R.getDocumentationComment(N);Ee=R.getJsDocTags();if(j.length>1&&_e.length===0&&Ee.length===0){_e=j[0].getDocumentationComment(N);Ee=j[0].getJsDocTags()}}function writeTypeParametersOfSymbol(j,$){var q=E.mapToDisplayParts((function(q){var G=N.symbolToTypeParameterDeclarations(j,$,R);getPrinter().writeList(53776,G,E.getSourceFileOfNode(E.getParseTreeNode($)),q)}));E.addRange(le,q)}}N.getSymbolDisplayPartsDocumentationAndSymbolKind=getSymbolDisplayPartsDocumentationAndSymbolKind;function isLocalVariableOrFunction(N){if(N.parent){return false}return E.forEach(N.declarations,(function(N){if(N.kind===211){return true}if(N.kind!==252&&N.kind!==254){return false}for(var R=N.parent;!E.isFunctionBlock(R);R=R.parent){if(R.kind===300||R.kind===260){return false}}return true}))}})(N=E.SymbolDisplay||(E.SymbolDisplay={}))})(ce||(ce={}));var ce;(function(E){function transpileModule(N,R){var j=[];var $=R.compilerOptions?fixupCompilerOptions(R.compilerOptions,j):{};var q=E.getDefaultCompilerOptions();for(var G in q){if(E.hasProperty(q,G)&&$[G]===undefined){$[G]=q[G]}}for(var ie=0,ae=E.transpileOptionValueCompilerOptions;ie>=j}return R}function increaseInsertionIndex(N,R){var j=(N>>R&$)+1;E.Debug.assert((j&$)===j,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");return N&~($<=j.length){return false}var R=j[$];if(N.end<=R.start){return false}if(E.startEndOverlapsWithStartEnd(N.pos,N.end,R.start,R.start+R.length)){return true}$++}};function rangeHasNoErrors(){return false}}function getScanStartPosition(N,R,j){var $=N.getStart(j);if($===R.pos&&N.end===R.end){return $}var q=E.findPrecedingToken(R.pos,j);if(!q){return N.pos}if(q.end>=R.pos){return N.pos}return q.end}function getOwnOrInheritedDelta(E,R,j){var $=-1;var q;while(E){var G=j.getLineAndCharacterOfPosition(E.getStart(j)).line;if($!==-1&&G!==$){break}if(N.SmartIndenter.shouldIndentChildNode(R,E,q,j)){return R.indentSize}$=G;q=E;E=E.parent}return 0}function formatNodeGivenIndentation(E,R,j,$,q,G){var ie={pos:0,end:R.text.length};return N.getFormattingScanner(R.text,j,ie.pos,ie.end,(function(N){return formatSpanWorker(ie,E,$,q,N,G,1,(function(E){return false}),R)}))}N.formatNodeGivenIndentation=formatNodeGivenIndentation;function formatNodeLines(N,R,j,$){if(!N){return[]}var q={pos:E.getLineStartPositionForPosition(N.getStart(R),R),end:N.end};return formatSpan(q,R,j,$)}function formatSpan(E,R,j,$){var q=findEnclosingNode(E,R);return N.getFormattingScanner(R.text,R.languageVariant,getScanStartPosition(q,E,R),E.end,(function(G){return formatSpanWorker(E,q,N.SmartIndenter.getIndentationForNode(q,E,R,j.options),getOwnOrInheritedDelta(q,j.options,R),G,j,$,prepareRangeContainsErrorFunction(R.parseDiagnostics,E),R)}))}function formatSpanWorker(R,j,$,q,G,ie,ae,ce,le){var _e=ie.options,Ee=ie.getRules,Te=ie.host;var we=new N.FormattingContext(le,ae,_e);var Ie;var Ne;var Me;var Le;var Be=-1;var je=[];G.advance();if(G.isOnToken()){var Ue=le.getLineAndCharacterOfPosition(j.getStart(le)).line;var ze=Ue;if(j.decorators){ze=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(j,le)).line}processNode(j,j,Ue,ze,$,q)}if(!G.isOnToken()){var We=N.SmartIndenter.nodeWillIndentChild(_e,j,undefined,le,false)?$+_e.indentSize:$;var Je=G.getCurrentLeadingTrivia();if(Je){indentTriviaItems(Je,We,false,(function(E){return processRange(E,le.getLineAndCharacterOfPosition(E.pos),j,j,undefined)}))}}if(_e.trimTrailingWhitespace!==false){trimTrailingWhitespacesForRemainingRange()}return je;function tryComputeIndentationForListItem(R,j,$,q,G){if(E.rangeOverlapsWithStartEnd(q,R,j)||E.rangeContainsStartEnd(q,R,j)){if(G!==-1){return G}}else{var ie=le.getLineAndCharacterOfPosition(R).line;var ae=E.getLineStartPositionForPosition(R,le);var ce=N.SmartIndenter.findFirstNonWhitespaceColumn(ae,R,le,_e);if(ie!==$||R===ce){var Ee=N.SmartIndenter.getBaseIndentation(_e);return Ee>ce?Ee:ce}}return-1}function computeIndentation(E,R,j,$,q,G){var ie=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0;if(G===R){return{indentation:R===Le?Be:q.getIndentation(),delta:Math.min(_e.indentSize,q.getDelta(E)+ie)}}else if(j===-1){if(E.kind===20&&R===Le){return{indentation:Be,delta:q.getDelta(E)}}else if(N.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement($,E,R,le)||N.SmartIndenter.childIsUnindentedBranchOfConditionalExpression($,E,R,le)||N.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument($,E,R,le)){return{indentation:q.getIndentation(),delta:ie}}else{return{indentation:q.getIndentation()+q.getDelta(E),delta:ie}}}else{return{indentation:j,delta:ie}}}function getFirstNonDecoratorTokenOfNode(N){if(N.modifiers&&N.modifiers.length){return N.modifiers[0].kind}switch(N.kind){case 255:return 84;case 256:return 118;case 254:return 98;case 258:return 258;case 170:return 135;case 171:return 147;case 167:if(N.asteriskToken){return 41}case 165:case 162:var R=E.getNameOfDeclaration(N);if(R){return R.kind}}}function getDynamicIndentation(E,R,j,$){return{getIndentationForComment:function(E,N,R){switch(E){case 19:case 23:case 21:return j+getDelta(R)}return N!==-1?N:j},getIndentationForToken:function(E,N,R,$){return!$&&shouldAddDelta(E,N,R)?j+getDelta(R):j},getIndentation:function(){return j},getDelta:getDelta,recomputeIndentation:function(R,q){if(N.SmartIndenter.shouldIndentChildNode(_e,q,E,le)){j+=R?_e.indentSize:-_e.indentSize;$=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0}}};function shouldAddDelta(N,j,$){switch(j){case 18:case 19:case 21:case 91:case 115:case 59:return false;case 43:case 31:switch($.kind){case 278:case 279:case 277:case 226:return false}break;case 22:case 23:if($.kind!==193){return false}break}return R!==N&&!(E.decorators&&j===getFirstNonDecoratorTokenOfNode(E))}function getDelta(R){return N.SmartIndenter.nodeWillIndentChild(_e,E,R,le,true)?$:0}}function processNode(j,$,q,ie,ae,Ee){if(!E.rangeOverlapsWithStartEnd(R,j.getStart(le),j.getEnd())){return}var Te=getDynamicIndentation(j,q,ae,Ee);var we=$;E.forEachChild(j,(function(E){processChildNode(E,-1,j,Te,q,ie,false)}),(function(E){processChildNodes(E,j,q,Te)}));while(G.isOnToken()){var je=G.readTokenInfo(j);if(je.token.end>j.end){break}consumeTokenAndAdvanceScanner(je,j,Te,j)}if(!j.parent&&G.isOnEOF()){var Ue=G.readEOFTokenRange();if(Ue.end<=j.end&&Ie){processPair(Ue,le.getLineAndCharacterOfPosition(Ue.pos).line,j,Ie,Me,Ne,$,Te)}}function processChildNode(N,$,q,ie,ae,ce,_e,Ee){var Te=N.getStart(le);var Ie=le.getLineAndCharacterOfPosition(Te).line;var Ne=Ie;if(N.decorators){Ne=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(N,le)).line}var Me=-1;if(_e&&E.rangeContainsRange(R,q)){Me=tryComputeIndentationForListItem(Te,N.end,ae,R,$);if(Me!==-1){$=Me}}if(!E.rangeOverlapsWithStartEnd(R,N.pos,N.end)){if(N.endTe){if(Le.token.pos>Te){G.skipToStartOf(N)}break}consumeTokenAndAdvanceScanner(Le,j,ie,j)}if(!G.isOnToken()){return $}if(E.isToken(N)){var Le=G.readTokenInfo(N);if(N.kind!==11){E.Debug.assert(Le.token.end===N.end,"Token end is child end");consumeTokenAndAdvanceScanner(Le,j,ie,N);return $}}var Be=N.kind===163?Ie:ce;var je=computeIndentation(N,Ie,Me,j,ie,Be);processNode(N,we,Ie,Ne,je.indentation,je.delta);we=j;if(Ee&&q.kind===202&&$===-1){$=je.indentation}return $}function processChildNodes(R,$,q,ie){E.Debug.assert(E.isNodeArray(R));var ae=getOpenTokenForList($,R);var ce=ie;var Ee=q;if(ae!==0){while(G.isOnToken()){var Te=G.readTokenInfo($);if(Te.token.end>R.pos){break}else if(Te.token.kind===ae){Ee=le.getLineAndCharacterOfPosition(Te.token.pos).line;consumeTokenAndAdvanceScanner(Te,$,ie,$);var we=void 0;if(Be!==-1){we=Be}else{var Ie=E.getLineStartPositionForPosition(Te.token.pos,le);we=N.SmartIndenter.findFirstNonWhitespaceColumn(Ie,Te.token.pos,le,_e)}ce=getDynamicIndentation($,q,we,_e.indentSize)}else{consumeTokenAndAdvanceScanner(Te,$,ie,$)}}}var Ne=-1;for(var Me=0;Me0){var ze=getIndentationString(Ue,_e);recordReplace(Be,je.character,ze)}else{recordDelete(Be,je.character)}}}function trimTrailingWhitespacesForLines(N,R,j){for(var $=N;$G){continue}var ie=getTrailingWhitespaceStartPosition(q,G);if(ie!==-1){E.Debug.assert(ie===q||!E.isWhiteSpaceSingleLine(le.text.charCodeAt(ie-1)));recordDelete(ie,G+1-ie)}}}function getTrailingWhitespaceStartPosition(N,R){var j=R;while(j>=N&&E.isWhiteSpaceSingleLine(le.text.charCodeAt(j))){j--}if(j!==R){return j+1}return-1}function trimTrailingWhitespacesForRemainingRange(){var E=Ie?Ie.end:R.pos;var N=le.getLineAndCharacterOfPosition(E).line;var j=le.getLineAndCharacterOfPosition(R.end).line;trimTrailingWhitespacesForLines(N,j+1,Ie)}function recordDelete(N,R){if(R){je.push(E.createTextChangeFromStartLength(N,R,""))}}function recordReplace(N,R,j){if(R||j){je.push(E.createTextChangeFromStartLength(N,R,j))}}function recordInsert(N,R){if(R){je.push(E.createTextChangeFromStartLength(N,0,R))}}function applyRuleEdits(N,R,j,$,q){var G=q!==j;switch(N.action){case 1:return 0;case 16:if(R.end!==$.pos){recordDelete(R.end,$.pos-R.end);return G?2:0}break;case 32:recordDelete(R.pos,R.end-R.pos);break;case 8:if(N.flags!==1&&j!==q){return 0}var ie=q-j;if(ie!==1){recordReplace(R.end,$.pos-R.end,E.getNewLineOrDefaultFromHost(Te,_e));return G?0:1}break;case 4:if(N.flags!==1&&j!==q){return 0}var ae=$.pos-R.end;if(ae!==1||le.text.charCodeAt(R.end)!==32){recordReplace(R.end,$.pos-R.end," ");return G?2:0}break;case 64:recordInsert(R.end,";")}return 0}}var j;(function(E){E[E["None"]=0]="None";E[E["LineAdded"]=1]="LineAdded";E[E["LineRemoved"]=2]="LineRemoved"})(j||(j={}));function getRangeOfEnclosingComment(N,R,j,$){if($===void 0){$=E.getTokenAtPosition(N,R)}var q=E.findAncestor($,E.isJSDoc);if(q)$=q.parent;var G=$.getStart(N);if(G<=R&&R<$.getEnd()){return undefined}j=j===null?undefined:j===undefined?E.findPrecedingToken(R,N):j;var ie=j&&E.getTrailingCommentRanges(N.text,j.end);var ae=E.getLeadingCommentRangesOfNode($,N);var ce=E.concatenate(ie,ae);return ce&&E.find(ce,(function(j){return E.rangeContainsPositionExclusive(j,R)||R===j.end&&(j.kind===2||R===N.getFullWidth())}))}N.getRangeOfEnclosingComment=getRangeOfEnclosingComment;function getOpenTokenForList(E,N){switch(E.kind){case 169:case 254:case 211:case 167:case 166:case 212:if(E.typeParameters===N){return 29}else if(E.parameters===N){return 20}break;case 206:case 207:if(E.typeArguments===N){return 29}else if(E.arguments===N){return 20}break;case 176:if(E.typeArguments===N){return 29}break;case 180:return 18}return 0}function getCloseTokenForOpenToken(E){switch(E){case 20:return 21;case 29:return 31;case 18:return 19}return 0}var $;var q;var G;function getIndentationString(N,R){var j=!$||($.tabSize!==R.tabSize||$.indentSize!==R.indentSize);if(j){$={tabSize:R.tabSize,indentSize:R.indentSize};q=G=undefined}if(!R.convertTabsToSpaces){var ie=Math.floor(N/R.tabSize);var ae=N-ie*R.tabSize;var ce=void 0;if(!q){q=[]}if(q[ie]===undefined){q[ie]=ce=E.repeatString("\t",ie)}else{ce=q[ie]}return ae?ce+E.repeatString(" ",ae):ce}else{var le=void 0;var _e=Math.floor(N/R.indentSize);var Ee=N%R.indentSize;if(!G){G=[]}if(G[_e]===undefined){le=E.repeatString(" ",R.indentSize*_e);G[_e]=le}else{le=G[_e]}return Ee?le+E.repeatString(" ",Ee):le}}N.getIndentationString=getIndentationString})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j;(function(E){E[E["Unknown"]=-1]="Unknown"})(j||(j={}));function getIndentation(R,j,$,q){if(q===void 0){q=false}if(R>j.text.length){return getBaseIndentation($)}if($.indentStyle===E.IndentStyle.None){return 0}var G=E.findPrecedingToken(R,j,undefined,true);var ie=N.getRangeOfEnclosingComment(j,R,G||null);if(ie&&ie.kind===3){return getCommentIndent(j,R,$,ie)}if(!G){return getBaseIndentation($)}var ae=E.isStringOrRegularExpressionOrTemplateLiteral(G.kind);if(ae&&G.getStart(j)<=R&&R=0);if(q<=G){return findFirstNonWhitespaceColumn(E.getStartPositionOfLine(G,N),R,N,j)}var ie=E.getStartPositionOfLine(q,N);var ae=findFirstNonWhitespaceCharacterAndColumn(ie,R,N,j),ce=ae.column,le=ae.character;if(ce===0){return ce}var _e=N.text.charCodeAt(ie+le);return _e===42?ce-1:ce}function getBlockIndent(N,R,j){var $=R;while($>0){var q=N.text.charCodeAt($);if(!E.isWhiteSpaceLike(q)){break}$--}var G=E.getLineStartPositionForPosition($,N);return findFirstNonWhitespaceColumn(G,$,N,j)}function getSmartIndent(N,R,j,$,q,G){var ie;var ae=j;while(ae){if(E.positionBelongsToNode(ae,R,N)&&shouldIndentChildNode(G,ae,ie,N,true)){var ce=getStartLineAndCharacterForNode(ae,N);var le=nextTokenIsCurlyBraceOnSameLineAsCursor(j,ae,$,N);var _e=le!==0?q&&le===2?G.indentSize:0:$!==ce.line?G.indentSize:0;return getIndentationForNodeWorker(ae,ce,undefined,_e,N,true,G)}var Ee=getActualIndentationForListItem(ae,N,G,true);if(Ee!==-1){return Ee}ie=ae;ae=ae.parent}return getBaseIndentation(G)}function getIndentationForNode(E,N,R,j){var $=R.getLineAndCharacterOfPosition(E.getStart(R));return getIndentationForNodeWorker(E,$,N,0,R,false,j)}R.getIndentationForNode=getIndentationForNode;function getBaseIndentation(E){return E.baseIndentSize||0}R.getBaseIndentation=getBaseIndentation;function getIndentationForNodeWorker(E,N,R,j,$,q,G){var ie;var ae=E.parent;while(ae){var ce=true;if(R){var le=E.getStart($);ce=leR.end}var _e=getContainingListOrParentStart(ae,E,$);var Ee=_e.line===N.line||childStartsOnTheSameLineWithElseInIfStatement(ae,E,N.line,$);if(ce){var Te=(ie=getContainingList(E,$))===null||ie===void 0?void 0:ie[0];var we=!!Te&&getStartLineAndCharacterForNode(Te,$).line>_e.line;var Ie=getActualIndentationForListItem(E,$,G,we);if(Ie!==-1){return Ie+j}Ie=getActualIndentationForNode(E,ae,N,Ee,$,G);if(Ie!==-1){return Ie+j}}if(shouldIndentChildNode(G,ae,E,$,q)&&!Ee){j+=G.indentSize}var Ne=isArgumentAndStartLineOverlapsExpressionBeingCalled(ae,E,N.line,$);E=ae;ae=E.parent;N=Ne?$.getLineAndCharacterOfPosition(E.getStart($)):_e}return j+getBaseIndentation(G)}function getContainingListOrParentStart(E,N,R){var j=getContainingList(N,R);var $=j?j.pos:E.getStart(R);return R.getLineAndCharacterOfPosition($)}function getActualIndentationForListItemBeforeComma(N,R,j){var $=E.findListItemInfo(N);if($&&$.listItemIndex>0){return deriveActualIndentationFromList($.list.getChildren(),$.listItemIndex-1,R,j)}else{return-1}}function getActualIndentationForNode(N,R,j,$,q,G){var ie=(E.isDeclaration(N)||E.isStatementButNotDeclaration(N))&&(R.kind===300||!$);if(!ie){return-1}return findColumnForFirstNonWhitespaceCharacterInLine(j,q,G)}var $;(function(E){E[E["Unknown"]=0]="Unknown";E[E["OpenBrace"]=1]="OpenBrace";E[E["CloseBrace"]=2]="CloseBrace"})($||($={}));function nextTokenIsCurlyBraceOnSameLineAsCursor(N,R,j,$){var q=E.findNextToken(N,R,$);if(!q){return 0}if(q.kind===18){return 1}else if(q.kind===19){var G=getStartLineAndCharacterForNode(q,$).line;return j===G?2:0}return 0}function getStartLineAndCharacterForNode(E,N){return N.getLineAndCharacterOfPosition(E.getStart(N))}function isArgumentAndStartLineOverlapsExpressionBeingCalled(N,R,j,$){if(!(E.isCallExpression(N)&&E.contains(N.arguments,R))){return false}var q=N.expression.getEnd();var G=E.getLineAndCharacterOfPosition($,q).line;return G===j}R.isArgumentAndStartLineOverlapsExpressionBeingCalled=isArgumentAndStartLineOverlapsExpressionBeingCalled;function childStartsOnTheSameLineWithElseInIfStatement(N,R,j,$){if(N.kind===237&&N.elseStatement===R){var q=E.findChildOfKind(N,91,$);E.Debug.assert(q!==undefined);var G=getStartLineAndCharacterForNode(q,$).line;return G===j}return false}R.childStartsOnTheSameLineWithElseInIfStatement=childStartsOnTheSameLineWithElseInIfStatement;function childIsUnindentedBranchOfConditionalExpression(N,R,j,$){if(E.isConditionalExpression(N)&&(R===N.whenTrue||R===N.whenFalse)){var q=E.getLineAndCharacterOfPosition($,N.condition.end).line;if(R===N.whenTrue){return j===q}else{var G=getStartLineAndCharacterForNode(N.whenTrue,$).line;var ie=E.getLineAndCharacterOfPosition($,N.whenTrue.end).line;return q===G&&ie===j}}return false}R.childIsUnindentedBranchOfConditionalExpression=childIsUnindentedBranchOfConditionalExpression;function argumentStartsOnSameLineAsPreviousArgument(N,R,j,$){if(E.isCallOrNewExpression(N)){if(!N.arguments)return false;var q=E.find(N.arguments,(function(E){return E.pos===R.pos}));if(!q)return false;var G=N.arguments.indexOf(q);if(G===0)return false;var ie=N.arguments[G-1];var ae=E.getLineAndCharacterOfPosition($,ie.getEnd()).line;if(j===ae){return true}}return false}R.argumentStartsOnSameLineAsPreviousArgument=argumentStartsOnSameLineAsPreviousArgument;function getContainingList(E,N){return E.parent&&getListByRange(E.getStart(N),E.getEnd(),E.parent,N)}R.getContainingList=getContainingList;function getListByPosition(E,N,R){return N&&getListByRange(E,E,N,R)}function getListByRange(N,R,j,$){switch(j.kind){case 176:return getList(j.typeArguments);case 203:return getList(j.properties);case 202:return getList(j.elements);case 180:return getList(j.members);case 254:case 211:case 212:case 167:case 166:case 172:case 169:case 178:case 173:return getList(j.typeParameters)||getList(j.parameters);case 255:case 224:case 256:case 257:case 339:return getList(j.typeParameters);case 207:case 206:return getList(j.typeArguments)||getList(j.arguments);case 253:return getList(j.declarations);case 267:case 271:return getList(j.elements);case 199:case 200:return getList(j.elements)}function getList(q){return q&&E.rangeContainsStartEnd(getVisualListRange(j,q,$),N,R)?q:undefined}}function getVisualListRange(E,N,R){var j=E.getChildren(R);for(var $=1;$=0&&R=0;ie--){if(N[ie].kind===27){continue}var ae=j.getLineAndCharacterOfPosition(N[ie].end).line;if(ae!==G.line){return findColumnForFirstNonWhitespaceCharacterInLine(G,j,$)}G=getStartLineAndCharacterForNode(N[ie],j)}return-1}function findColumnForFirstNonWhitespaceCharacterInLine(E,N,R){var j=N.getPositionOfLineAndCharacter(E.line,0);return findFirstNonWhitespaceColumn(j,j+E.character,N,R)}function findFirstNonWhitespaceCharacterAndColumn(N,R,j,$){var q=0;var G=0;for(var ie=N;ie0?1:0;var Le=E.getStartPositionOfLine(E.getLineOfLocalPosition(N,we)+Me,N);Le=skipWhitespacesAndLineBreaks(N.text,Le);return E.getStartPositionOfLine(E.getLineOfLocalPosition(N,Le),N)}function getEndPositionOfMultilineTrailingComment(N,R,j){var $=R.end;var G=j.trailingTriviaOption;if(G===q.Include){var ie=E.getTrailingCommentRanges(N.text,$);if(ie){var ae=E.getLineOfLocalPosition(N,R.end);for(var ce=0,le=ie;ceae){break}var Ee=E.getLineOfLocalPosition(N,_e.end);if(Ee>ae){return E.skipTrivia(N.text,_e.end,true,true)}}}}return undefined}function getAdjustedEndPosition(N,R,j){var $;var G=R.end;var ie=j.trailingTriviaOption;if(ie===q.Exclude){return G}if(ie===q.ExcludeWhitespace){var ae=E.concatenate(E.getTrailingCommentRanges(N.text,G),E.getLeadingCommentRanges(N.text,G));var ce=($=ae===null||ae===void 0?void 0:ae[ae.length-1])===null||$===void 0?void 0:$.end;if(ce){return ce}return G}var le=getEndPositionOfMultilineTrailingComment(N,R,j);if(le){return le}var _e=E.skipTrivia(N.text,G,true);return _e!==G&&(ie===q.Include||E.isLineBreak(N.text.charCodeAt(_e-1)))?_e:G}function isSeparator(E,N){return!!N&&!!E.parent&&(N.kind===27||N.kind===26&&E.parent.kind===203)}function isThisTypeAnnotatable(N){return E.isFunctionExpression(N)||E.isFunctionDeclaration(N)}N.isThisTypeAnnotatable=isThisTypeAnnotatable;var ae=function(){function ChangeTracker(N,R){this.newLineCharacter=N;this.formatContext=R;this.changes=[];this.newFiles=[];this.classesWithNodesInsertedAtStart=new E.Map;this.deletedNodes=[]}ChangeTracker.fromContext=function(N){return new ChangeTracker(E.getNewLineOrDefaultFromHost(N.host,N.formatContext.options),N.formatContext)};ChangeTracker.with=function(E,N){var R=ChangeTracker.fromContext(E);N(R);return R.getChanges()};ChangeTracker.prototype.pushRaw=function(N,R){E.Debug.assertEqual(N.fileName,R.fileName);for(var j=0,$=R.textChanges;j<$.length;j++){var q=$[j];this.changes.push({kind:ie.Text,sourceFile:N,text:q.newText,range:E.createTextRangeFromSpan(q.span)})}};ChangeTracker.prototype.deleteRange=function(E,N){this.changes.push({kind:ie.Remove,sourceFile:E,range:N})};ChangeTracker.prototype.delete=function(E,N){this.deletedNodes.push({sourceFile:E,node:N})};ChangeTracker.prototype.deleteNode=function(E,N,j){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}this.deleteRange(E,getAdjustedRange(E,N,N,j))};ChangeTracker.prototype.deleteNodes=function(E,N,j,$){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}for(var q=0,G=N;q",joiner:", "})};ChangeTracker.prototype.getOptionsForInsertNodeBefore=function(N,R,j){if(E.isStatement(N)||E.isClassElement(N)){return{suffix:j?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}}else if(E.isVariableDeclaration(N)){return{suffix:", "}}else if(E.isParameter(N)){return E.isParameter(R)?{suffix:", "}:{}}else if(E.isStringLiteral(N)&&E.isImportDeclaration(N.parent)||E.isNamedImports(N)){return{suffix:", "}}else if(E.isImportSpecifier(N)){return{suffix:","+(j?this.newLineCharacter:" ")}}return E.Debug.failBadSyntaxKind(N)};ChangeTracker.prototype.insertNodeAtConstructorStart=function(N,R,$){var q=E.firstOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j([$],R.body.statements,true))}else{this.insertNodeBefore(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorStartAfterSuperCall=function(N,R,$){var q=E.find(R.body.statements,(function(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)}));if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorEnd=function(N,R,$){var q=E.lastOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.replaceConstructorBody=function(N,R,j){this.replaceNode(N,R.body,E.factory.createBlock(j,true))};ChangeTracker.prototype.insertNodeAtEndOfScope=function(N,R,j){var $=getAdjustedStartPosition(N,R.getLastToken(),{});this.insertNodeAt(N,$,j,{prefix:E.isLineBreak(N.text.charCodeAt(R.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})};ChangeTracker.prototype.insertNodeAtClassStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtObjectStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtStartWorker=function(E,N,R){var j;var $=(j=this.guessIndentationFromExistingMembers(E,N))!==null&&j!==void 0?j:this.computeIndentationForNewMember(E,N);this.insertNodeAt(E,getMembersOrProperties(N).pos,R,this.getInsertNodeAtStartInsertOptions(E,N,$))};ChangeTracker.prototype.guessIndentationFromExistingMembers=function(N,R){var j;var $=R;for(var q=0,G=getMembersOrProperties(R);q0?{fileName:q.fileName,textChanges:ae}:undefined}))}N.getTextChangesFromChanges=getTextChangesFromChanges;function newFileChanges(N,R,j,$,q){var G=newFileChangesWorker(N,E.getScriptKindFromFileName(R),j,$,q);return{fileName:R,textChanges:[E.createTextChange(E.createTextSpan(0,0),G)],isNewFile:true}}N.newFileChanges=newFileChanges;function newFileChangesWorker(N,R,j,$,q){var G=j.map((function(E){return E===4?"":getNonformattedText(E,N,$).text})).join($);var ie=E.createSourceFile("any file name",G,99,true,R);var ae=E.formatting.formatDocument(ie,q);return applyChanges(G,ae)+$}N.newFileChangesWorker=newFileChangesWorker;function computeNewText(N,R,j,$,q){var G;if(N.kind===ie.Remove){return""}if(N.kind===ie.Text){return N.text}var ae=N.options,ce=ae===void 0?{}:ae,le=N.range.pos;var format=function(E){return getFormattedTextOfNode(E,R,le,ce,j,$,q)};var _e=N.kind===ie.ReplaceWithMultipleNodes?N.nodes.map((function(N){return E.removeSuffix(format(N),j)})).join(((G=N.options)===null||G===void 0?void 0:G.joiner)||j):format(N.node);var Ee=ce.preserveLeadingWhitespace||ce.indentation!==undefined||E.getLineStartPositionForPosition(le,R)===le?_e:_e.replace(/^\s+/,"");return(ce.prefix||"")+Ee+(!ce.suffix||E.endsWith(Ee,ce.suffix)?"":ce.suffix)}function getFormatCodeSettingsForWriting(N,R){var j=N.options;var q=!j.semicolons||j.semicolons===E.SemicolonPreference.Ignore;var G=j.semicolons===E.SemicolonPreference.Remove||q&&!E.probablyUsesSemicolons(R);return $($({},j),{semicolons:G?E.SemicolonPreference.Remove:E.SemicolonPreference.Ignore})}function getFormattedTextOfNode(N,R,j,q,G,ie,ae){var ce=q.indentation,le=q.prefix,_e=q.delta;var Ee=getNonformattedText(N,R,G),Te=Ee.node,we=Ee.text;if(ae)ae(Te,we);var Ie=getFormatCodeSettingsForWriting(ie,R);var Ne=ce!==undefined?ce:E.formatting.SmartIndenter.getIndentation(j,R,Ie,le===G||E.getLineStartPositionForPosition(j,R)===j);if(_e===undefined){_e=E.formatting.SmartIndenter.shouldIndentChildNode(Ie,N)?Ie.indentSize||0:0}var Me={text:we,getLineAndCharacterOfPosition:function(N){return E.getLineAndCharacterOfPosition(this,N)}};var Le=E.formatting.formatNodeGivenIndentation(Te,Me,R.languageVariant,Ne,_e,$($({},ie),{options:Ie}));return applyChanges(we,Le)}function getNonformattedText(N,R,j){var $=createWriter(j);var q=j==="\n"?1:0;E.createPrinter({newLine:q,neverAsciiEscape:true,preserveSourceNewlines:true,terminateUnterminatedLiterals:true},$).writeNode(4,N,R,$);return{text:$.getText(),node:assignPositionsToNode(N)}}N.getNonformattedText=getNonformattedText})(ce||(ce={}));function applyChanges(N,R){for(var j=R.length-1;j>=0;j--){var $=R[j],q=$.span,G=$.newText;N=""+N.substring(0,q.start)+G+N.substring(E.textSpanEnd(q))}return N}N.applyChanges=applyChanges;function isTrivia(N){return E.skipTrivia(N,0)===N.length}function assignPositionsToNode(N){var R=E.visitEachChild(N,assignPositionsToNode,E.nullTransformationContext,assignPositionsToNodeArray,assignPositionsToNode);var j=E.nodeIsSynthesized(R)?R:Object.create(R);E.setTextRangePosEnd(j,getPos(N),getEnd(N));return j}function assignPositionsToNodeArray(N,R,j,$,q){var G=E.visitNodes(N,R,j,$,q);if(!G){return G}var ie=G===N?E.factory.createNodeArray(G.slice(0)):G;E.setTextRangePosEnd(ie,getPos(N),getEnd(N));return ie}function createWriter(N){var R=0;var j=E.createTextWriter(N);var onBeforeEmitNode=function(E){if(E){setPos(E,R)}};var onAfterEmitNode=function(E){if(E){setEnd(E,R)}};var onBeforeEmitNodeArray=function(E){if(E){setPos(E,R)}};var onAfterEmitNodeArray=function(E){if(E){setEnd(E,R)}};var onBeforeEmitToken=function(E){if(E){setPos(E,R)}};var onAfterEmitToken=function(E){if(E){setEnd(E,R)}};function setLastNonTriviaPosition(N,$){if($||!isTrivia(N)){R=j.getTextPos();var q=0;while(E.isWhiteSpaceLike(N.charCodeAt(N.length-q-1))){q++}R-=q}}function write(E){j.write(E);setLastNonTriviaPosition(E,false)}function writeComment(E){j.writeComment(E)}function writeKeyword(E){j.writeKeyword(E);setLastNonTriviaPosition(E,false)}function writeOperator(E){j.writeOperator(E);setLastNonTriviaPosition(E,false)}function writePunctuation(E){j.writePunctuation(E);setLastNonTriviaPosition(E,false)}function writeTrailingSemicolon(E){j.writeTrailingSemicolon(E);setLastNonTriviaPosition(E,false)}function writeParameter(E){j.writeParameter(E);setLastNonTriviaPosition(E,false)}function writeProperty(E){j.writeProperty(E);setLastNonTriviaPosition(E,false)}function writeSpace(E){j.writeSpace(E);setLastNonTriviaPosition(E,false)}function writeStringLiteral(E){j.writeStringLiteral(E);setLastNonTriviaPosition(E,false)}function writeSymbol(E,N){j.writeSymbol(E,N);setLastNonTriviaPosition(E,false)}function writeLine(E){j.writeLine(E)}function increaseIndent(){j.increaseIndent()}function decreaseIndent(){j.decreaseIndent()}function getText(){return j.getText()}function rawWrite(E){j.rawWrite(E);setLastNonTriviaPosition(E,false)}function writeLiteral(E){j.writeLiteral(E);setLastNonTriviaPosition(E,true)}function getTextPos(){return j.getTextPos()}function getLine(){return j.getLine()}function getColumn(){return j.getColumn()}function getIndent(){return j.getIndent()}function isAtStartOfLine(){return j.isAtStartOfLine()}function clear(){j.clear();R=0}return{onBeforeEmitNode:onBeforeEmitNode,onAfterEmitNode:onAfterEmitNode,onBeforeEmitNodeArray:onBeforeEmitNodeArray,onAfterEmitNodeArray:onAfterEmitNodeArray,onBeforeEmitToken:onBeforeEmitToken,onAfterEmitToken:onAfterEmitToken,write:write,writeComment:writeComment,writeKeyword:writeKeyword,writeOperator:writeOperator,writePunctuation:writePunctuation,writeTrailingSemicolon:writeTrailingSemicolon,writeParameter:writeParameter,writeProperty:writeProperty,writeSpace:writeSpace,writeStringLiteral:writeStringLiteral,writeSymbol:writeSymbol,writeLine:writeLine,increaseIndent:increaseIndent,decreaseIndent:decreaseIndent,getText:getText,rawWrite:rawWrite,writeLiteral:writeLiteral,getTextPos:getTextPos,getLine:getLine,getColumn:getColumn,getIndent:getIndent,isAtStartOfLine:isAtStartOfLine,hasTrailingComment:function(){return j.hasTrailingComment()},hasTrailingWhitespace:function(){return j.hasTrailingWhitespace()},clear:clear}}function getInsertionPositionAtSourceFileTop(N){var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(E.isPrologueDirective(q)){R=q}else{break}}var G=0;var ie=N.text;if(R){G=R.end;advancePastLineBreak();return G}var ae=E.getShebang(ie);if(ae!==undefined){G=ae.length;advancePastLineBreak()}var ce=E.getLeadingCommentRanges(ie,G);if(!ce)return G;var le;var _e;for(var Ee=0,Te=ce;Ee=Ne+2)break}if(N.statements.length){if(_e===undefined)_e=N.getLineAndCharacterOfPosition(N.statements[0].getStart()).line;var Me=N.getLineAndCharacterOfPosition(we.end).line;if(_e1)break}var le=q<2;return function(E){var N=E.fixId,R=E.fixAllDescription,j=ie(E,["fixId","fixAllDescription"]);return le?j:$($({},j),{fixId:N,fixAllDescription:R})}}function getFixes(N){var j=getDiagnostics(N);var $=R.get(String(N.errorCode));return E.flatMap($,(function(R){return E.map(R.getCodeActions(N),removeFixIdIfFixAllUnavailable(R,j))}))}N.getFixes=getFixes;function getAllFixes(N){return q.get(E.cast(N.fixId,E.isString)).getAllCodeActions(N)}N.getAllFixes=getAllFixes;function createCombinedCodeActions(E,N){return{changes:E,commands:N}}N.createCombinedCodeActions=createCombinedCodeActions;function createFileTextChanges(E,N){return{fileName:E,textChanges:N}}N.createFileTextChanges=createFileTextChanges;function codeFixAll(N,R,j){var $=[];var q=E.textChanges.ChangeTracker.with(N,(function(E){return eachDiagnostic(N,R,(function(N){return j(E,N,$)}))}));return createCombinedCodeActions(q,$.length===0?undefined:$)}N.codeFixAll=codeFixAll;function eachDiagnostic(N,R,j){for(var $=0,q=getDiagnostics(N);$E.textSpanEnd(R)){return"quit"}return(E.isArrowFunction(j)||E.isMethodDeclaration(j)||E.isFunctionExpression(j)||E.isFunctionDeclaration(j))&&E.textSpansEqual(R,E.createTextSpanFromNode(j,N))}));return $}function getIsMatchingAsyncError(N,R){return function(j){var $=j.start,q=j.length,G=j.relatedInformation,ie=j.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},N)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingAwait";var $=E.Diagnostics.Property_0_does_not_exist_on_type_1.code;var q=[E.Diagnostics.This_expression_is_not_callable.code,E.Diagnostics.This_expression_is_not_constructable.code];var G=j([E.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,E.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,E.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,E.Diagnostics.Type_0_is_not_an_array_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,$],q,true);N.registerCodeFix({fixIds:[R],errorCodes:G,getCodeActions:function(N){var R=N.sourceFile,j=N.errorCode,$=N.span,q=N.cancellationToken,G=N.program;var ie=getFixableErrorSpanExpression(R,j,$,q,G);if(!ie){return}var ae=N.program.getTypeChecker();var trackChanges=function(R){return E.textChanges.ChangeTracker.with(N,R)};return E.compact([getDeclarationSiteFix(N,ie,j,ae,trackChanges),getUseSiteFix(N,ie,j,ae,trackChanges)])},getAllCodeActions:function(R){var j=R.sourceFile,$=R.program,q=R.cancellationToken;var ie=R.program.getTypeChecker();var ae=new E.Set;return N.codeFixAll(R,G,(function(E,N){var G=getFixableErrorSpanExpression(j,N.code,N,q,$);if(!G){return}var trackChanges=function(N){return N(E),[]};return getDeclarationSiteFix(R,G,N.code,ie,trackChanges,ae)||getUseSiteFix(R,G,N.code,ie,trackChanges,ae)}))}});function getDeclarationSiteFix(R,j,$,q,G,ie){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=findAwaitableInitializers(j,ae,le,ce,q);if(_e){var Ee=G((function(N){E.forEach(_e.initializers,(function(E){var R=E.expression;return makeChange(N,$,ae,q,R,ie)}));if(ie&&_e.needsSecondPassForFixAll){makeChange(N,$,ae,q,j,ie)}}));return N.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",Ee,_e.initializers.length===1?[E.Diagnostics.Add_await_to_initializer_for_0,_e.initializers[0].declarationSymbol.name]:E.Diagnostics.Add_await_to_initializers)}}function getUseSiteFix(j,$,q,G,ie,ae){var ce=ie((function(E){return makeChange(E,q,j.sourceFile,G,$,ae)}));return N.createCodeFixAction(R,ce,E.Diagnostics.Add_await,R,E.Diagnostics.Fix_all_expressions_possibly_missing_await)}function isMissingAwaitError(N,R,j,$,q){var G=q.getDiagnosticsProducingTypeChecker();var ie=G.getDiagnostics(N,$);return E.some(ie,(function(N){var $=N.start,q=N.length,G=N.relatedInformation,ie=N.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},j)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_forget_to_use_await.code}))}))}function getFixableErrorSpanExpression(N,R,j,$,q){var G=E.getTokenAtPosition(N,j.start);var ie=E.findAncestor(G,(function(R){if(R.getStart(N)E.textSpanEnd(j)){return"quit"}return E.isExpression(R)&&E.textSpansEqual(j,E.createTextSpanFromNode(R,N))}));return ie&&isMissingAwaitError(N,R,j,$,q)&&isInsideAwaitableBody(ie)?ie:undefined}function findAwaitableInitializers(N,R,j,$,q){var G=getIdentifiersFromErrorSpanExpression(N,q);if(!G){return}var ie=G.isCompleteFix;var ae;var _loop_12=function(N){var G=q.getSymbolAtLocation(N);if(!G){return"continue"}var ce=E.tryCast(G.valueDeclaration,E.isVariableDeclaration);var le=ce&&E.tryCast(ce.name,E.isIdentifier);var _e=E.getAncestor(ce,235);if(!ce||!_e||ce.type||!ce.initializer||_e.getSourceFile()!==R||E.hasSyntacticModifier(_e,1)||!le||!isInsideAwaitableBody(ce.initializer)){ie=false;return"continue"}var Ee=$.getSemanticDiagnostics(R,j);var Te=E.FindAllReferences.Core.eachSymbolReferenceInFile(le,q,R,(function(E){return N!==E&&!symbolReferenceIsAlsoMissingAwait(E,Ee,R,q)}));if(Te){ie=false;return"continue"}(ae||(ae=[])).push({expression:ce.initializer,declarationSymbol:G})};for(var ce=0,le=G.identifiers;ce0){return[N.createCodeFixAction(R,$,E.Diagnostics.Add_const_to_unresolved_variable,R,E.Diagnostics.Add_const_to_all_unresolved_variables)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,R.program,$)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,(function(N){return E.isForInOrOfStatement(N.parent)?N.parent.initializer===N:isPossiblyPartOfDestructuring(N)?false:"quit"}));if(ie)return applyChange(N,ie,R,q);var ae=G.parent;if(E.isBinaryExpression(ae)&&ae.operatorToken.kind===63&&E.isExpressionStatement(ae.parent)){return applyChange(N,G,R,q)}if(E.isArrayLiteralExpression(ae)){var ce=$.getTypeChecker();if(!E.every(ae.elements,(function(E){return arrayElementCouldBeVariableDeclaration(E,ce)}))){return}return applyChange(N,ae,R,q)}var le=E.findAncestor(G,(function(N){return E.isExpressionStatement(N.parent)?true:isPossiblyPartOfCommaSeperatedInitializer(N)?false:"quit"}));if(le){var _e=$.getTypeChecker();if(!expressionCouldBeVariableDeclaration(le,_e)){return}return applyChange(N,le,R,q)}}function applyChange(N,R,j,$){if(!$||E.tryAddToSet($,R)){N.insertModifierBefore(j,85,R)}}function isPossiblyPartOfDestructuring(E){switch(E.kind){case 79:case 202:case 203:case 291:case 292:return true;default:return false}}function arrayElementCouldBeVariableDeclaration(N,R){var j=E.isIdentifier(N)?N:E.isAssignmentExpression(N,true)&&E.isIdentifier(N.left)?N.left:undefined;return!!j&&!R.getSymbolAtLocation(j)}function isPossiblyPartOfCommaSeperatedInitializer(E){switch(E.kind){case 79:case 219:case 27:return true;default:return false}}function expressionCouldBeVariableDeclaration(N,R){if(!E.isBinaryExpression(N)){return false}if(N.operatorToken.kind===27){return E.every([N.left,N.right],(function(E){return expressionCouldBeVariableDeclaration(E,R)}))}return N.operatorToken.kind===63&&E.isIdentifier(N.left)&&!R.getSymbolAtLocation(N.left)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingDeclareProperty";var j=[E.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Prefix_with_declare,R,E.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,$)}))}});function makeChange(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!E.isIdentifier(q)){return}var G=q.parent;if(G.kind===165&&(!$||E.tryAddToSet($,G))){N.insertModifierBefore(R,134,G)}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingInvocationForDecorator";var j=[E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Call_decorator_expression,R,E.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);var q=E.findAncestor($,E.isDecorator);E.Debug.assert(!!q,"Expected position to be owned by a decorator.");var G=E.factory.createCallExpression(q.expression,undefined,undefined);N.replaceNode(R,q.expression,G)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addNameToNamelessParameter";var j=[E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Add_parameter_name,R,E.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);if(!E.isIdentifier($)){return E.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+E.Debug.formatSyntaxKind($.kind))}var q=$.parent;if(!E.isParameter(q)){return E.Debug.fail("Tried to add a parameter name to a non-parameter: "+E.Debug.formatSyntaxKind($.kind))}var G=q.parent.parameters.indexOf(q);E.Debug.assert(!q.type,"Tried to add a parameter name to a parameter that already had one.");E.Debug.assert(G>-1,"Parameter not found in parent parameter list.");var ie=E.factory.createParameterDeclaration(undefined,q.modifiers,q.dotDotDotToken,"arg"+G,q.questionToken,E.factory.createTypeReferenceNode($,undefined),q.initializer);N.replaceNode(R,$,ie)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="annotateWithTypeFromJSDoc";var j=[E.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getDeclaration(j.sourceFile,j.span.start);if(!$)return;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));return[N.createCodeFixAction(R,q,E.Diagnostics.Annotate_with_type_from_JSDoc,R,E.Diagnostics.Annotate_everything_with_types_from_JSDoc)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getDeclaration(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function getDeclaration(N,R){var j=E.getTokenAtPosition(N,R);return E.tryCast(E.isParameter(j.parent)?j.parent.parent:j.parent,parameterShouldGetTypeFromJSDoc)}function parameterShouldGetTypeFromJSDoc(E){return isDeclarationWithType(E)&&hasUsableJSDoc(E)}N.parameterShouldGetTypeFromJSDoc=parameterShouldGetTypeFromJSDoc;function hasUsableJSDoc(N){return E.isFunctionLikeDeclaration(N)?N.parameters.some(hasUsableJSDoc)||!N.type&&!!E.getJSDocReturnType(N):!N.type&&!!E.getJSDocType(N)}function doChange(N,R,j){if(E.isFunctionLikeDeclaration(j)&&(E.getJSDocReturnType(j)||j.parameters.some((function(N){return!!E.getJSDocType(N)})))){if(!j.typeParameters){var $=E.getJSDocTypeParameterDeclarations(j);if($.length)N.insertTypeParameters(R,j,$)}var q=E.isArrowFunction(j)&&!E.findChildOfKind(j,20,R);if(q)N.insertNodeBefore(R,E.first(j.parameters),E.factory.createToken(20));for(var G=0,ie=j.parameters;G1){N.delete(R,ae);N.insertNodeAfter(R,le,ce)}else{N.replaceNode(R,le,ce)}}function createClassElementsFromSymbol(j){var $=[];if(j.members){j.members.forEach((function(E,j){if(j==="constructor"&&E.valueDeclaration){N.delete(R,E.valueDeclaration.parent);return}var q=createClassElement(E,undefined);if(q){$.push.apply($,q)}}))}if(j.exports){j.exports.forEach((function(N){if(N.name==="prototype"&&N.declarations){var R=N.declarations[0];if(N.declarations.length===1&&E.isPropertyAccessExpression(R)&&E.isBinaryExpression(R.parent)&&R.parent.operatorToken.kind===63&&E.isObjectLiteralExpression(R.parent.right)){var j=R.parent.right;var q=createClassElement(j.symbol,undefined);if(q){$.push.apply($,q)}}}else{var q=createClassElement(N,[E.factory.createToken(124)]);if(q){$.push.apply($,q)}}}))}return $;function shouldConvertDeclaration(N,R){if(E.isAccessExpression(N)){if(E.isPropertyAccessExpression(N)&&isConstructorAssignment(N))return true;return E.isFunctionLike(R)}else{return E.every(N.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N))return true;if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)&&!!N.name)return true;if(isConstructorAssignment(N))return true;return false}))}}function createClassElement(j,$){var ie=[];if(!(j.flags&8192)&&!(j.flags&4096)){return ie}var ae=j.valueDeclaration;var ce=ae.parent;var le=ce.right;if(!shouldConvertDeclaration(ae,le)){return ie}var _e=ce.parent&&ce.parent.kind===236?ce.parent:ce;N.delete(R,_e);if(!le){ie.push(E.factory.createPropertyDeclaration([],$,j.name,undefined,undefined,undefined));return ie}if(E.isAccessExpression(ae)&&(E.isFunctionExpression(le)||E.isArrowFunction(le))){var Ee=E.getQuotePreference(R,q);var Te=tryGetPropertyName(ae,G,Ee);if(Te){return createFunctionLikeExpressionMember(ie,le,Te)}return ie}else if(E.isObjectLiteralExpression(le)){return E.flatMap(le.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N)){return ie.concat(N)}if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)){return createFunctionLikeExpressionMember(ie,N.initializer,N.name)}if(isConstructorAssignment(N))return ie;return[]}))}else{if(E.isSourceFileJS(R))return ie;if(!E.isPropertyAccessExpression(ae))return ie;var we=E.factory.createPropertyDeclaration(undefined,$,ae.name,undefined,undefined,le);E.copyLeadingComments(ce.parent,we,R);ie.push(we);return ie}function createFunctionLikeExpressionMember(N,R,j){if(E.isFunctionExpression(R))return createFunctionExpressionMember(N,R,j);else return createArrowFunctionExpressionMember(N,R,j)}function createFunctionExpressionMember(N,j,q){var G=E.concatenate($,getModifierKindFromSource(j,130));var ie=E.factory.createMethodDeclaration(undefined,G,undefined,q,undefined,undefined,j.parameters,undefined,j.body);E.copyLeadingComments(ce,ie,R);return N.concat(ie)}function createArrowFunctionExpressionMember(N,j,q){var G=j.body;var ie;if(G.kind===233){ie=G}else{ie=E.factory.createBlock([E.factory.createReturnStatement(G)])}var ae=E.concatenate($,getModifierKindFromSource(j,130));var le=E.factory.createMethodDeclaration(undefined,ae,undefined,q,undefined,undefined,j.parameters,undefined,ie);E.copyLeadingComments(ce,le,R);return N.concat(le)}}}function createClassFromVariableDeclaration(N){var R=N.initializer;if(!R||!E.isFunctionExpression(R)||!E.isIdentifier(N.name)){return undefined}var j=createClassElementsFromSymbol(N.symbol);if(R.body){j.unshift(E.factory.createConstructorDeclaration(undefined,undefined,R.parameters,R.body))}var $=getModifierKindFromSource(N.parent.parent,93);var q=E.factory.createClassDeclaration(undefined,$,N.name,undefined,undefined,j);return q}function createClassFromFunctionDeclaration(N){var R=createClassElementsFromSymbol(ie);if(N.body){R.unshift(E.factory.createConstructorDeclaration(undefined,undefined,N.parameters,N.body))}var j=getModifierKindFromSource(N,93);var $=E.factory.createClassDeclaration(undefined,j,N.name,undefined,undefined,R);return $}}function getModifierKindFromSource(N,R){return E.filter(N.modifiers,(function(E){return E.kind===R}))}function isConstructorAssignment(N){if(!N.name)return false;if(E.isIdentifier(N.name)&&N.name.text==="constructor")return true;return false}function tryGetPropertyName(N,R,j){if(E.isPropertyAccessExpression(N)){return N.name}var $=N.argumentExpression;if(E.isNumericLiteral($)){return $}if(E.isStringLiteralLike($)){return E.isIdentifierText($.text,R.target)?E.factory.createIdentifier($.text):E.isNoSubstitutionTemplateLiteral($)?E.factory.createStringLiteral($.text,j===0):$}return undefined}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertToAsyncFunction";var $=[E.Diagnostics.This_may_be_converted_to_an_async_function.code];var q=true;N.registerCodeFix({errorCodes:$,getCodeActions:function(j){q=true;var $=E.textChanges.ChangeTracker.with(j,(function(E){return convertToAsyncFunction(E,j.sourceFile,j.span.start,j.program.getTypeChecker())}));return q?[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_async_function,R,E.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return convertToAsyncFunction(N,R.file,R.start,E.program.getTypeChecker())}))}});var G;(function(E){E[E["Identifier"]=0]="Identifier";E[E["BindingPattern"]=1]="BindingPattern"})(G||(G={}));function convertToAsyncFunction(N,R,j,$){var q=E.getTokenAtPosition(R,j);var G;if(E.isIdentifier(q)&&E.isVariableDeclaration(q.parent)&&q.parent.initializer&&E.isFunctionLikeDeclaration(q.parent.initializer)){G=q.parent.initializer}else{G=E.tryCast(E.getContainingFunction(E.getTokenAtPosition(R,j)),E.canBeConvertedToAsync)}if(!G){return}var ie=new E.Map;var ae=E.isInJSFile(G);var ce=getAllPromiseExpressionsToReturn(G,$);var le=renameCollidingVarNames(G,$,ie);if(!E.returnsPromise(le,$)){return}var _e=le.body&&E.isBlock(le.body)?getReturnStatementsWithPromiseHandlers(le.body,$):E.emptyArray;var Ee={checker:$,synthNamesMap:ie,setOfExpressionsToReturn:ce,isInJSFile:ae};if(!_e.length){return}var Te=G.modifiers?G.modifiers.end:G.decorators?E.skipTrivia(R.text,G.decorators.end):G.getStart(R);var we=G.modifiers?{prefix:" "}:{suffix:" "};N.insertModifierAt(R,Te,130,we);var _loop_13=function(j){E.forEachChild(j,(function visit($){if(E.isCallExpression($)){var q=transformExpression($,Ee);N.replaceNodeWithNodes(R,j,q)}else if(!E.isFunctionLike($)){E.forEachChild($,visit)}}))};for(var Ie=0,Ne=_e;Ie0){return Ve}if(Me){var We=getPossiblyAwaitedRightHandSide(q.checker,Me,Ne);if(!shouldReturn($,q)){var qe=createVariableOrAssignmentOrExpressionStatement(R,We,undefined);if(R){R.types.push(Me)}return qe}else{return maybeAnnotateAndReturn(We,(le=$.typeArguments)===null||le===void 0?void 0:le[0])}}else{return silentFail()}}}default:return silentFail()}return E.emptyArray}function getPossiblyAwaitedRightHandSide(N,R,j){var $=E.getSynthesizedDeepClone(j);return!!N.getPromisedTypeOfPromise(R)?E.factory.createAwaitExpression($):$}function getLastCallSignature(N,R){var j=R.getSignaturesOfType(N,0);return E.lastOrUndefined(j)}function removeReturns(N,R,j,$){var q=[];for(var G=0,ie=N;G0){return}}else if(!E.isFunctionLike(R)){E.forEachChild(R,visit)}}))}return $}function getArgBindingName(N,R){var j=[];var $;if(E.isFunctionLikeDeclaration(N)){if(N.parameters.length>0){var q=N.parameters[0].name;$=getMappedBindingNameOrDefault(q)}}else if(E.isIdentifier(N)){$=getMapEntryOrDefault(N)}else if(E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)){$=getMapEntryOrDefault(N.name)}if(!$||"identifier"in $&&$.identifier.text==="undefined"){return undefined}return $;function getMappedBindingNameOrDefault(N){if(E.isIdentifier(N))return getMapEntryOrDefault(N);var R=E.flatMap(N.elements,(function(N){if(E.isOmittedExpression(N))return[];return[getMappedBindingNameOrDefault(N.name)]}));return createSynthBindingPattern(N,R)}function getMapEntryOrDefault(N){var $=getOriginalNode(N);var q=getSymbol($);if(!q){return createSynthIdentifier(N,j)}var G=R.synthNamesMap.get(E.getSymbolId(q).toString());return G||createSynthIdentifier(N,j)}function getSymbol(E){return E.symbol?E.symbol:R.checker.getSymbolAtLocation(E)}function getOriginalNode(E){return E.original?E.original:E}}function isEmptyBindingName(N){if(!N){return true}if(isSynthIdentifier(N)){return!N.identifier.text}return E.every(N.elements,isEmptyBindingName)}function getNode(E){return isSynthIdentifier(E)?E.identifier:E.bindingPattern}function createSynthIdentifier(E,N){if(N===void 0){N=[]}return{kind:0,identifier:E,types:N,hasBeenDeclared:false}}function createSynthBindingPattern(N,R,j){if(R===void 0){R=E.emptyArray}if(j===void 0){j=[]}return{kind:1,bindingPattern:N,elements:R,types:j}}function isSynthIdentifier(E){return E.kind===0}function isSynthBindingPattern(E){return E.kind===1}function shouldReturn(N,R){return!!N.original&&R.setOfExpressionsToReturn.has(E.getNodeId(N.original))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.registerCodeFix({errorCodes:[E.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(R){var j=R.sourceFile,$=R.program,q=R.preferences;var G=E.textChanges.ChangeTracker.with(R,(function(N){var R=convertFileToEs6Module(j,$.getTypeChecker(),N,$.getCompilerOptions().target,E.getQuotePreference(j,q));if(R){for(var G=0,ie=$.getSourceFiles();G1?[[reExportStar(j),reExportDefault(j)],true]:[[reExportDefault(j)],true]}function reExportStar(E){return makeExportDeclaration(undefined,E)}function reExportDefault(N){return makeExportDeclaration([E.factory.createExportSpecifier(undefined,"default")],N)}function convertExportsPropertyAssignment(N,R,j){var $=N.left,q=N.right,G=N.parent;var ie=$.name.text;if((E.isFunctionExpression(q)||E.isArrowFunction(q)||E.isClassExpression(q))&&(!q.name||q.name.text===ie)){j.replaceRange(R,{pos:$.getStart(R),end:q.getStart(R)},E.factory.createToken(93),{suffix:" "});if(!q.name)j.insertName(R,q,ie);var ae=E.findChildOfKind(G,26,R);if(ae)j.delete(R,ae)}else{j.replaceNodeRangeWithNodes(R,$.expression,E.findChildOfKind($,24,R),[E.factory.createToken(93),E.factory.createToken(85)],{joiner:" ",suffix:" "})}}function convertExportsDotXEquals_replaceNode(N,R,j){var $=[E.factory.createToken(93)];switch(R.kind){case 211:{var q=R.name;if(q&&q.text!==N){return exportConst()}}case 212:return functionExpressionToDeclaration(N,$,R,j);case 224:return classExpressionToDeclaration(N,$,R,j);default:return exportConst()}function exportConst(){return makeConst($,E.factory.createIdentifier(N),replaceImportUseSites(R,j))}}function replaceImportUseSites(N,R){if(!R||!E.some(E.arrayFrom(R.keys()),(function(R){return E.rangeContainsRange(N,R)}))){return N}return E.isArray(N)?E.getSynthesizedDeepClonesWithReplacements(N,true,replaceNode):E.getSynthesizedDeepCloneWithReplacements(N,true,replaceNode);function replaceNode(E){if(E.kind===204){var N=R.get(E);R.delete(E);return N}}}function convertSingleImport(R,j,$,q,G,ie){switch(R.kind){case 199:{var ae=E.mapAllOrFail(R.elements,(function(N){return N.dotDotDotToken||N.initializer||N.propertyName&&!E.isIdentifier(N.propertyName)||!E.isIdentifier(N.name)?undefined:makeImportSpecifier(N.propertyName&&N.propertyName.text,N.name.text)}));if(ae){return convertedImports([E.makeImport(undefined,ae,j,ie)])}}case 200:{var ce=makeUniqueName(N.moduleSpecifierToValidIdentifier(j.text,G),q);return convertedImports([E.makeImport(E.factory.createIdentifier(ce),undefined,j,ie),makeConst(undefined,E.getSynthesizedDeepClone(R),E.factory.createIdentifier(ce))])}case 79:return convertSingleIdentifierImport(R,j,$,q,ie);default:return E.Debug.assertNever(R,"Convert to ES6 module got invalid name kind "+R.kind)}}function convertSingleIdentifierImport(N,R,j,$,q){var G=j.getSymbolAtLocation(N);var ie=new E.Map;var ae=false;var ce;for(var le=0,_e=$.original.get(N.text);le<_e.length;le++){var Ee=_e[le];if(j.getSymbolAtLocation(Ee)!==G||Ee===N){continue}var Te=Ee.parent;if(E.isPropertyAccessExpression(Te)){var we=Te.name.text;if(we==="default"){ae=true;var Ie=Ee.getText();(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Te,E.factory.createIdentifier(Ie))}else{E.Debug.assert(Te.expression===Ee,"Didn't expect expression === use");var Ne=ie.get(we);if(Ne===undefined){Ne=makeUniqueName(we,$);ie.set(we,Ne)}(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Te,E.factory.createIdentifier(Ne))}}else{ae=true}}var Me=ie.size===0?undefined:E.arrayFrom(E.mapIterator(ie.entries(),(function(N){var R=N[0],j=N[1];return E.factory.createImportSpecifier(R===j?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(j))})));if(!Me){ae=true}return convertedImports([E.makeImport(ae?E.getSynthesizedDeepClone(N):undefined,Me,R,q)],ce)}function makeUniqueName(E,N){while(N.original.has(E)||N.additional.has(E)){E="_"+E}N.additional.add(E);return E}function collectFreeIdentifiers(N){var R=E.createMultiMap();forEachFreeIdentifier(N,(function(E){return R.add(E.text,E)}));return R}function forEachFreeIdentifier(N,R){if(E.isIdentifier(N)&&isFreeIdentifier(N))R(N);N.forEachChild((function(E){return forEachFreeIdentifier(E,R)}))}function isFreeIdentifier(E){var N=E.parent;switch(N.kind){case 204:return N.name!==E;case 201:return N.propertyName!==E;case 268:return N.propertyName!==E;default:return true}}function functionExpressionToDeclaration(N,R,j,$){return E.factory.createFunctionDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),E.getSynthesizedDeepClone(j.asteriskToken),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.parameters),E.getSynthesizedDeepClone(j.type),E.factory.converters.convertToFunctionBlock(replaceImportUseSites(j.body,$)))}function classExpressionToDeclaration(N,R,j,$){return E.factory.createClassDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.heritageClauses),replaceImportUseSites(j.members,$))}function makeSingleImport(N,R,j,$){return R==="default"?E.makeImport(E.factory.createIdentifier(N),undefined,j,$):E.makeImport(undefined,[makeImportSpecifier(R,N)],j,$)}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(N!==undefined&&N!==R?E.factory.createIdentifier(N):undefined,E.factory.createIdentifier(R))}function makeConst(N,R,j){return E.factory.createVariableStatement(N,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(R,undefined,undefined,j)],2))}function makeExportDeclaration(N,R){return E.factory.createExportDeclaration(undefined,undefined,false,N&&E.factory.createNamedExports(N),R===undefined?undefined:E.factory.createStringLiteral(R))}function convertedImports(E,N){return{newImports:E,useSitesToUnqualify:N}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="correctQualifiedNameToIndexedAccessType";var j=[E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getQualifiedName(j.sourceFile,j.span.start);if(!$)return undefined;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));var G=$.left.text+'["'+$.right.text+'"]';return[N.createCodeFixAction(R,q,[E.Diagnostics.Rewrite_as_the_indexed_access_type_0,G],R,E.Diagnostics.Rewrite_all_as_indexed_access_types)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getQualifiedName(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getQualifiedName(N,R){var j=E.findAncestor(E.getTokenAtPosition(N,R),E.isQualifiedName);E.Debug.assert(!!j,"Expected position to be owned by a qualified name.");return E.isIdentifier(j.left)?j:undefined}function doChange(N,R,j){var $=j.right.text;var q=E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(j.left,undefined),E.factory.createLiteralTypeNode(E.factory.createStringLiteral($)));N.replaceNode(R,j,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code];var j="convertToTypeOnlyExport";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return fixSingleExportDeclaration(E,getExportSpecifierForDiagnosticSpan(R.span,R.sourceFile),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_export,j,E.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]}},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getExportSpecifierForDiagnosticSpan(R,j.sourceFile);if(q&&E.addToSeen($,E.getNodeId(q.parent.parent))){fixSingleExportDeclaration(N,q,j)}}))}});function getExportSpecifierForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isExportSpecifier)}function fixSingleExportDeclaration(N,R,j){if(!R){return}var $=R.parent;var q=$.parent;var G=getTypeExportSpecifiers(R,j);if(G.length===$.elements.length){N.insertModifierBefore(j.sourceFile,150,$)}else{var ie=E.factory.updateExportDeclaration(q,q.decorators,q.modifiers,false,E.factory.updateNamedExports($,E.filter($.elements,(function(N){return!E.contains(G,N)}))),q.moduleSpecifier);var ae=E.factory.createExportDeclaration(undefined,undefined,true,E.factory.createNamedExports(G),q.moduleSpecifier);N.replaceNode(j.sourceFile,q,ie,{leadingTriviaOption:E.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude});N.insertNodeAfter(j.sourceFile,q,ae)}}function getTypeExportSpecifiers(N,j){var $=N.parent;if($.elements.length===1){return $.elements}var q=E.getDiagnosticsWithinSpan(E.createTextSpanFromNode($),j.program.getSemanticDiagnostics(j.sourceFile,j.cancellationToken));return E.filter($.elements,(function(j){var $;return j===N||(($=E.findDiagnosticForNode(j,q))===null||$===void 0?void 0:$.code)===R[0]}))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code];var j="convertToTypeOnlyImport";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){var N=getImportDeclarationForDiagnosticSpan(R.span,R.sourceFile);fixSingleImportDeclaration(E,N,R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_import,j,E.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){var j=getImportDeclarationForDiagnosticSpan(R,E.sourceFile);fixSingleImportDeclaration(N,j,E)}))}});function getImportDeclarationForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isImportDeclaration)}function fixSingleImportDeclaration(N,R,j){if(!(R===null||R===void 0?void 0:R.importClause)){return}var $=R.importClause;N.insertText(j.sourceFile,R.getStart()+"import".length," type");if($.name&&$.namedBindings){N.deleteNodeRangeExcludingEnd(j.sourceFile,$.name,R.importClause.namedBindings);N.insertNodeBefore(j.sourceFile,R,E.factory.updateImportDeclaration(R,undefined,undefined,E.factory.createImportClause(true,$.name,undefined),R.moduleSpecifier))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertLiteralTypeToMappedType";var j=[E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getInfo($,q.start);if(!G){return undefined}var ie=G.name,ae=G.constraint;var ce=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Convert_0_to_1_in_0,ae,ie],R,E.Diagnostics.Convert_all_type_literals_to_mapped_type)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getInfo(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);if(E.isIdentifier(j)){var $=E.cast(j.parent.parent,E.isPropertySignature);var q=j.getText(N);return{container:E.cast($.parent,E.isTypeLiteralNode),typeNode:$.type,constraint:q,name:q==="K"?"P":"K"}}return undefined}function doChange(N,R,j){var $=j.container,q=j.typeNode,G=j.constraint,ie=j.name;N.replaceNode(R,$,E.factory.createMappedTypeNode(undefined,E.factory.createTypeParameterDeclaration(ie,E.factory.createTypeReferenceNode(G)),undefined,undefined,q))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Class_0_incorrectly_implements_interface_1.code,E.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code];var j="fixClassIncorrectlyImplementsInterface";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=getClass($,q.start);return E.mapDefined(E.getEffectiveImplementsTypeNodes(G),(function(q){var ie=E.textChanges.ChangeTracker.with(R,(function(E){return addMissingDeclarations(R,q,$,G,E,R.preferences)}));return ie.length===0?undefined:N.createCodeFixAction(j,ie,[E.Diagnostics.Implement_interface_0,q.getText($)],j,E.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getClass(R.file,R.start);if(E.addToSeen($,E.getNodeId(q))){for(var G=0,ie=E.getEffectiveImplementsTypeNodes(q);G=E.ModuleKind.ES2015){return $?1:2}if(q){return E.isExternalModule(N)||j?$?1:2:3}for(var G=0,ie=N.statements;G");return[E.Diagnostics.Convert_function_expression_0_to_arrow_function,ae?ae.text:E.ANONYMOUS]}else{N.replaceNode(R,ie,E.factory.createToken(85));N.insertText(R,ae.end," = ");N.insertText(R,ce.pos," =>");return[E.Diagnostics.Convert_function_declaration_0_to_arrow_function,ae.text]}}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixIncorrectNamedTupleSyntax";var j=[E.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,E.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getNamedTupleMember($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,R,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[R]});function getNamedTupleMember(N,R){var j=E.getTokenAtPosition(N,R);return E.findAncestor(j,(function(E){return E.kind===195}))}function doChange(N,R,j){if(!j){return}var $=j.type;var q=false;var G=false;while($.kind===183||$.kind===184||$.kind===189){if($.kind===183){q=true}else if($.kind===184){G=true}$=$.type}var ie=E.factory.updateNamedTupleMember(j,j.dotDotDotToken||(G?E.factory.createToken(25):undefined),j.name,j.questionToken||(q?E.factory.createToken(57):undefined),$);if(ie===j){return}N.replaceNode(R,j,ie)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixSpelling";var j=[E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,E.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,E.Diagnostics.No_overload_matches_this_call.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.errorCode;var G=getInfo($,j.span.start,j,q);if(!G)return undefined;var ie=G.node,ae=G.suggestedSymbol;var ce=j.host.getCompilationSettings().target;var le=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie,ae,ce)}));return[N.createCodeFixAction("spelling",le,[E.Diagnostics.Change_spelling_to_0,E.symbolName(ae)],R,E.Diagnostics.Fix_all_detected_spelling_errors)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=getInfo(R.file,R.start,E,R.code);var $=E.host.getCompilationSettings().target;if(j)doChange(N,E.sourceFile,j.node,j.suggestedSymbol,$)}))}});function getInfo(N,R,j,$){var q=E.getTokenAtPosition(N,R);var G=q.parent;if(($===E.Diagnostics.No_overload_matches_this_call.code||$===E.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!E.isJsxAttribute(G))return undefined;var ie=j.program.getTypeChecker();var ae;if(E.isPropertyAccessExpression(G)&&G.name===q){E.Debug.assert(E.isMemberName(q),"Expected an identifier for spelling (property access)");var ce=ie.getTypeAtLocation(G.expression);if(G.flags&32){ce=ie.getNonNullableType(ce)}ae=ie.getSuggestedSymbolForNonexistentProperty(q,ce)}else if(E.isQualifiedName(G)&&G.right===q){var le=ie.getSymbolAtLocation(G.left);if(le&&le.flags&1536){ae=ie.getSuggestedSymbolForNonexistentModule(G.right,le)}}else if(E.isImportSpecifier(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for spelling (import)");var _e=E.findAncestor(q,E.isImportDeclaration);var Ee=getResolvedSourceFileFromImportDeclaration(N,j,_e);if(Ee&&Ee.symbol){ae=ie.getSuggestedSymbolForNonexistentModule(q,Ee.symbol)}}else if(E.isJsxAttribute(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for JSX attribute");var Te=E.findAncestor(q,E.isJsxOpeningLikeElement);var we=ie.getContextualTypeForArgumentAtIndex(Te,0);ae=ie.getSuggestedSymbolForNonexistentJSXAttribute(q,we)}else if(E.hasSyntacticModifier(G,16384)&&E.isClassElement(G)&&G.name===q){var Ie=E.findAncestor(q,E.isClassLike);var Ne=Ie?E.getEffectiveBaseTypeNode(Ie):undefined;var Me=Ne?ie.getTypeAtLocation(Ne):undefined;if(Me){ae=ie.getSuggestedSymbolForNonexistentClassMember(E.getTextOfNode(q),Me)}}else{var Le=E.getMeaningFromLocation(q);var Be=E.getTextOfNode(q);E.Debug.assert(Be!==undefined,"name should be defined");ae=ie.getSuggestedSymbolForNonexistentSymbol(q,Be,convertSemanticMeaningToSymbolFlags(Le))}return ae===undefined?undefined:{node:q,suggestedSymbol:ae}}function doChange(N,R,j,$,q){var G=E.symbolName($);if(!E.isIdentifierText(G,q)&&E.isPropertyAccessExpression(j.parent)){var ie=$.valueDeclaration;if(ie&&E.isNamedDeclaration(ie)&&E.isPrivateIdentifier(ie.name)){N.replaceNode(R,j,E.factory.createIdentifier(G))}else{N.replaceNode(R,j.parent,E.factory.createElementAccessExpression(j.parent.expression,E.factory.createStringLiteral(G)))}}else{N.replaceNode(R,j,E.factory.createIdentifier(G))}}function convertSemanticMeaningToSymbolFlags(E){var N=0;if(E&4){N|=1920}if(E&2){N|=788968}if(E&1){N|=111551}return N}function getResolvedSourceFileFromImportDeclaration(N,R,j){if(!j||!E.isStringLiteralLike(j.moduleSpecifier))return undefined;var $=E.getResolvedModule(N,j.moduleSpecifier.text);if(!$)return undefined;return R.program.getSourceFile($.resolvedFileName)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="returnValueCorrect";var j="fixAddReturnStatement";var $="fixRemoveBracesFromArrowFunctionBody";var q="fixWrapTheBlockWithParen";var G=[E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];var ie;(function(E){E[E["MissingReturnStatement"]=0]="MissingReturnStatement";E[E["MissingParentheses"]=1]="MissingParentheses"})(ie||(ie={}));N.registerCodeFix({errorCodes:G,fixIds:[j,$,q],getCodeActions:function(N){var R=N.program,j=N.sourceFile,$=N.span.start,q=N.errorCode;var G=getInfo(R.getTypeChecker(),j,$,q);if(!G)return undefined;if(G.kind===ie.MissingReturnStatement){return E.append([getActionForfixAddReturnStatement(N,G.expression,G.statement)],E.isArrowFunction(G.declaration)?getActionForFixRemoveBracesFromArrowFunctionBody(N,G.declaration,G.expression,G.commentSource):undefined)}else{return[getActionForfixWrapTheBlockWithParen(N,G.declaration,G.expression)]}},getAllCodeActions:function(R){return N.codeFixAll(R,G,(function(N,G){var ie=getInfo(R.program.getTypeChecker(),G.file,G.start,G.code);if(!ie)return undefined;switch(R.fixId){case j:addReturnStatement(N,G.file,ie.expression,ie.statement);break;case $:if(!E.isArrowFunction(ie.declaration))return undefined;removeBlockBodyBrace(N,G.file,ie.declaration,ie.expression,ie.commentSource,false);break;case q:if(!E.isArrowFunction(ie.declaration))return undefined;wrapBlockWithParen(N,G.file,ie.declaration,ie.expression);break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function createObjectTypeFromLabeledExpression(N,R,j){var $=N.createSymbol(4,R.escapedText);$.type=N.getTypeAtLocation(j);var q=E.createSymbolTable([$]);return N.createAnonymousType(undefined,q,[],[],[])}function getFixInfo(N,R,j,$){if(!R.body||!E.isBlock(R.body)||E.length(R.body.statements)!==1)return undefined;var q=E.first(R.body.statements);if(E.isExpressionStatement(q)&&checkFixedAssignableTo(N,R,N.getTypeAtLocation(q.expression),j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:q.expression,statement:q,commentSource:q.expression}}else if(E.isLabeledStatement(q)&&E.isExpressionStatement(q.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(q.label,q.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,q.label,q.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return E.isArrowFunction(R)?{declaration:R,kind:ie.MissingParentheses,expression:G,statement:q,commentSource:q.statement.expression}:{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:q.statement.expression}}}else if(E.isBlock(q)&&E.length(q.statements)===1){var ce=E.first(q.statements);if(E.isLabeledStatement(ce)&&E.isExpressionStatement(ce.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(ce.label,ce.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,ce.label,ce.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:ce}}}}return undefined}function checkFixedAssignableTo(N,R,j,$,q){if(q){var G=N.getSignatureFromDeclaration(R);if(G){if(E.hasSyntacticModifier(R,256)){j=N.createPromiseType(j)}var ie=N.createSignature(R,G.typeParameters,G.thisParameter,G.parameters,j,undefined,G.minArgumentCount,G.flags);j=N.createAnonymousType(undefined,E.createSymbolTable(),[ie],[],[])}else{j=N.getAnyType()}}return N.isTypeAssignableTo(j,$)}function getInfo(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!q.parent)return undefined;var G=E.findAncestor(q.parent,E.isFunctionLikeDeclaration);switch($){case E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!G||!G.body||!G.type||!E.rangeContainsRange(G.type,q))return undefined;return getFixInfo(N,G,N.getTypeFromTypeNode(G.type),false);case E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!G||!E.isCallExpression(G.parent)||!G.body)return undefined;var ie=G.parent.arguments.indexOf(G);var ae=N.getContextualTypeForArgumentAtIndex(G.parent,ie);if(!ae)return undefined;return getFixInfo(N,G,ae,true);case E.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!E.isDeclarationName(q)||!E.isVariableLike(q.parent)&&!E.isJsxAttribute(q.parent))return undefined;var ce=getVariableLikeInitializer(q.parent);if(!ce||!E.isFunctionLikeDeclaration(ce)||!ce.body)return undefined;return getFixInfo(N,ce,N.getTypeAtLocation(q.parent),true)}return undefined}function getVariableLikeInitializer(N){switch(N.kind){case 252:case 162:case 201:case 165:case 291:return N.initializer;case 283:return N.initializer&&(E.isJsxExpression(N.initializer)?N.initializer.expression:undefined);case 292:case 164:case 294:case 342:case 335:return undefined}}function addReturnStatement(N,R,j,$){E.suppressLeadingAndTrailingTrivia(j);var q=E.probablyUsesSemicolons(R);N.replaceNode(R,$,E.factory.createReturnStatement(j),{leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude,suffix:q?";":undefined})}function removeBlockBodyBrace(N,R,j,$,q,G){var ie=G||E.needsParentheses($)?E.factory.createParenthesizedExpression($):$;E.suppressLeadingAndTrailingTrivia(q);E.copyComments(q,ie);N.replaceNode(R,j.body,ie)}function wrapBlockWithParen(N,R,j,$){N.replaceNode(R,j.body,E.factory.createParenthesizedExpression($))}function getActionForfixAddReturnStatement($,q,G){var ie=E.textChanges.ChangeTracker.with($,(function(E){return addReturnStatement(E,$.sourceFile,q,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Add_a_return_statement,j,E.Diagnostics.Add_all_missing_return_statement)}function getActionForFixRemoveBracesFromArrowFunctionBody(j,q,G,ie){var ae=E.textChanges.ChangeTracker.with(j,(function(E){return removeBlockBodyBrace(E,j.sourceFile,q,G,ie,false)}));return N.createCodeFixAction(R,ae,E.Diagnostics.Remove_braces_from_arrow_function_body,$,E.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function getActionForfixWrapTheBlockWithParen(j,$,G){var ie=E.textChanges.ChangeTracker.with(j,(function(E){return wrapBlockWithParen(E,j.sourceFile,$,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,q,E.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixMissingMember";var $="fixMissingProperties";var q="fixMissingAttributes";var G="fixMissingFunctionDeclaration";var ie=[E.Diagnostics.Property_0_does_not_exist_on_type_1.code,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,E.Diagnostics.Cannot_find_name_0.code];N.registerCodeFix({errorCodes:ie,getCodeActions:function(j){var ie=j.program.getTypeChecker();var ae=getInfo(j.sourceFile,j.span.start,ie,j.program);if(!ae){return undefined}if(ae.kind===3){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addObjectLiteralProperties(E,j,ae)}));return[N.createCodeFixAction($,ce,E.Diagnostics.Add_missing_properties,$,E.Diagnostics.Add_all_missing_properties)]}if(ae.kind===4){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addJsxAttributes(E,j,ae)}));return[N.createCodeFixAction(q,ce,E.Diagnostics.Add_missing_attributes,q,E.Diagnostics.Add_all_missing_attributes)]}if(ae.kind===2){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addFunctionDeclaration(E,j,ae)}));return[N.createCodeFixAction(G,ce,[E.Diagnostics.Add_missing_function_declaration_0,ae.token.text],G,E.Diagnostics.Add_all_missing_function_declarations)]}if(ae.kind===0){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addEnumMemberDeclaration(E,j.program.getTypeChecker(),ae)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Add_missing_enum_member_0,ae.token.text],R,E.Diagnostics.Add_all_missing_members)]}return E.concatenate(getActionsForMissingMethodDeclaration(j,ae),getActionsForMissingMemberDeclaration(j,ae))},fixIds:[R,G,$,q],getAllCodeActions:function(R){var j=R.program,ae=R.fixId;var ce=j.getTypeChecker();var le=new E.Map;var _e=new E.Map;return N.createCombinedCodeActions(E.textChanges.ChangeTracker.with(R,(function(Ee){N.eachDiagnostic(R,ie,(function(N){var j=getInfo(N.file,N.start,ce,R.program);if(!j||!E.addToSeen(le,E.getNodeId(j.parentDeclaration)+"#"+j.token.text)){return}if(ae===G&&j.kind===2){addFunctionDeclaration(Ee,R,j)}else if(ae===$&&j.kind===3){addObjectLiteralProperties(Ee,R,j)}else if(ae===q&&j.kind===4){addJsxAttributes(Ee,R,j)}else{if(j.kind===0){addEnumMemberDeclaration(Ee,ce,j)}if(j.kind===1){var ie=j.parentDeclaration,Te=j.token;var we=E.getOrUpdate(_e,ie,(function(){return[]}));if(!we.some((function(E){return E.token.text===Te.text}))){we.push(j)}}}}));_e.forEach((function($,q){var G=N.getAllSupers(q,ce);var _loop_14=function(N){if(G.some((function(E){var R=_e.get(E);return!!R&&R.some((function(E){var R=E.token;return R.text===N.token.text}))})))return"continue";var $=N.parentDeclaration,q=N.declSourceFile,ie=N.modifierFlags,ae=N.token,ce=N.call,le=N.isJSFile;if(ce&&!E.isPrivateIdentifier(ae)){addMethodDeclaration(R,Ee,ce,ae,ie&32,$,q)}else{if(le&&!E.isInterfaceDeclaration($)){addMissingMemberInJs(Ee,q,$,ae,!!(ie&32))}else{var Te=getTypeNode(j.getTypeChecker(),$,ae);addPropertyDeclaration(Ee,q,$,ae.text,Te,ie&32)}}};for(var ie=0,ae=$;ie=E.ModuleKind.ES2015&&G99;if(le){var ae=E.textChanges.ChangeTracker.with(R,(function(R){var j=E.getTsConfigObjectLiteralExpression($);if(!j)return;var q=[["target",E.factory.createStringLiteral("es2017")]];if(G===E.ModuleKind.CommonJS){q.push(["module",E.factory.createStringLiteral("commonjs")])}N.setJsonCompilerOptionValues(R,$,q)}));q.push(N.createCodeFixActionWithoutFixAll("fixTargetOption",ae,[E.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return q.length?q:undefined}})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixPropertyAssignment";var j=[E.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];N.registerCodeFix({errorCodes:j,fixIds:[R],getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getProperty($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,G)}));return[N.createCodeFixAction(R,ie,[E.Diagnostics.Change_0_to_1,"=",":"],R,[E.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,getProperty(N.file,N.start))}))}});function doChange(N,R,j){N.replaceNode(R,j,E.factory.createPropertyAssignment(j.name,j.objectAssignmentInitializer))}function getProperty(N,R){return E.cast(E.getTokenAtPosition(N,R).parent,E.isShorthandPropertyAssignment)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="extendsInterfaceBecomesImplements";var j=[E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile;var q=getNodes($,j.span.start);if(!q)return undefined;var G=q.extendsToken,ie=q.heritageClauses;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChanges(E,$,G,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Change_extends_to_implements,R,E.Diagnostics.Change_all_extended_interfaces_to_implements)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getNodes(N.file,N.start);if(R)doChanges(E,N.file,R.extendsToken,R.heritageClauses)}))}});function getNodes(N,R){var j=E.getTokenAtPosition(N,R);var $=E.getContainingClass(j).heritageClauses;var q=$[0].getFirstToken();return q.kind===94?{extendsToken:q,heritageClauses:$}:undefined}function doChanges(N,R,j,$){N.replaceNode(R,j,E.factory.createToken(117));if($.length===2&&$[0].token===94&&$[1].token===117){var q=$[1].getFirstToken();var G=q.getFullStart();N.replaceRange(R,{pos:G,end:G},E.factory.createToken(27));var ie=R.text;var ae=q.end;while(ae":">","}":"}"};function isValidCharacter(N){return E.hasProperty(q,N)}function doChange(N,R,j,$,G){var ie=j.getText()[$];if(!isValidCharacter(ie)){return}var ae=G?q[ie]:"{"+E.quote(j,R,ie)+"}";N.replaceRangeWithText(j,{pos:$,end:$+1},ae)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="unusedIdentifier";var j="unusedIdentifier_prefix";var $="unusedIdentifier_delete";var q="unusedIdentifier_deleteImports";var G="unusedIdentifier_infer";var ie=[E.Diagnostics._0_is_declared_but_its_value_is_never_read.code,E.Diagnostics._0_is_declared_but_never_used.code,E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,E.Diagnostics.All_imports_in_import_declaration_are_unused.code,E.Diagnostics.All_destructured_elements_are_unused.code,E.Diagnostics.All_variables_are_unused.code,E.Diagnostics.All_type_parameters_are_unused.code];N.registerCodeFix({errorCodes:ie,getCodeActions:function($){var ie=$.errorCode,ae=$.sourceFile,ce=$.program,le=$.cancellationToken;var _e=ce.getTypeChecker();var Ee=ce.getSourceFiles();var Te=E.getTokenAtPosition(ae,$.span.start);if(E.isJSDocTemplateTag(Te)){return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Te)})),E.Diagnostics.Remove_template_tag)]}if(Te.kind===29){var we=E.textChanges.ChangeTracker.with($,(function(E){return deleteTypeParameters(E,ae,Te)}));return[createDeleteFix(we,E.Diagnostics.Remove_type_parameters)]}var Ie=tryGetFullImport(Te);if(Ie){var we=E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Ie)}));return[N.createCodeFixAction(R,we,[E.Diagnostics.Remove_import_from_0,E.showModuleSpecifier(Ie)],q,E.Diagnostics.Delete_all_unused_imports)]}else if(isImport(Te)){var Ne=E.textChanges.ChangeTracker.with($,(function(E){return tryDeleteDeclaration(ae,Te,E,_e,Ee,ce,le,false)}));if(Ne.length){return[N.createCodeFixAction(R,Ne,[E.Diagnostics.Remove_unused_declaration_for_Colon_0,Te.getText(ae)],q,E.Diagnostics.Delete_all_unused_imports)]}}if(E.isObjectBindingPattern(Te.parent)||E.isArrayBindingPattern(Te.parent)){if(E.isParameter(Te.parent.parent)){var Me=Te.parent.elements;var Le=[Me.length>1?E.Diagnostics.Remove_unused_declarations_for_Colon_0:E.Diagnostics.Remove_unused_declaration_for_Colon_0,E.map(Me,(function(E){return E.getText(ae)})).join(", ")];return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteDestructuringElements(E,ae,Te.parent)})),Le)]}return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Te.parent.parent)})),E.Diagnostics.Remove_unused_destructuring_declaration)]}if(canDeleteEntireVariableStatement(ae,Te)){return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteEntireVariableStatement(E,ae,Te.parent)})),E.Diagnostics.Remove_variable_statement)]}var Be=[];if(Te.kind===136){var we=E.textChanges.ChangeTracker.with($,(function(E){return changeInferToUnknown(E,ae,Te)}));var je=E.cast(Te.parent,E.isInferTypeNode).typeParameter.name.text;Be.push(N.createCodeFixAction(R,we,[E.Diagnostics.Replace_infer_0_with_unknown,je],G,E.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var Ne=E.textChanges.ChangeTracker.with($,(function(E){return tryDeleteDeclaration(ae,Te,E,_e,Ee,ce,le,false)}));if(Ne.length){var je=E.isComputedPropertyName(Te.parent)?Te.parent:Te;Be.push(createDeleteFix(Ne,[E.Diagnostics.Remove_unused_declaration_for_Colon_0,je.getText(ae)]))}}var Ue=E.textChanges.ChangeTracker.with($,(function(E){return tryPrefixDeclaration(E,ie,ae,Te)}));if(Ue.length){Be.push(N.createCodeFixAction(R,Ue,[E.Diagnostics.Prefix_0_with_an_underscore,Te.getText(ae)],j,E.Diagnostics.Prefix_all_unused_declarations_with_where_possible))}return Be},fixIds:[j,$,q,G],getAllCodeActions:function(R){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=ce.getTypeChecker();var Ee=ce.getSourceFiles();return N.codeFixAll(R,ie,(function(N,ie){var Te=E.getTokenAtPosition(ae,ie.start);switch(R.fixId){case j:tryPrefixDeclaration(N,ie.code,ae,Te);break;case q:{var we=tryGetFullImport(Te);if(we){N.delete(ae,we)}else if(isImport(Te)){tryDeleteDeclaration(ae,Te,N,_e,Ee,ce,le,true)}break}case $:{if(Te.kind===136||isImport(Te)){break}else if(E.isJSDocTemplateTag(Te)){N.delete(ae,Te)}else if(Te.kind===29){deleteTypeParameters(N,ae,Te)}else if(E.isObjectBindingPattern(Te.parent)){if(Te.parent.parent.initializer){break}else if(!E.isParameter(Te.parent.parent)||isNotProvidedArguments(Te.parent.parent,_e,Ee)){N.delete(ae,Te.parent.parent)}}else if(E.isArrayBindingPattern(Te.parent.parent)&&Te.parent.parent.parent.initializer){break}else if(canDeleteEntireVariableStatement(ae,Te)){deleteEntireVariableStatement(N,ae,Te.parent)}else{tryDeleteDeclaration(ae,Te,N,_e,Ee,ce,le,true)}break}case G:if(Te.kind===136){changeInferToUnknown(N,ae,Te)}break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function changeInferToUnknown(N,R,j){N.replaceNode(R,j.parent,E.factory.createKeywordTypeNode(153))}function createDeleteFix(j,q){return N.createCodeFixAction(R,j,q,$,E.Diagnostics.Delete_all_unused_declarations)}function deleteTypeParameters(N,R,j){N.delete(R,E.Debug.checkDefined(E.cast(j.parent,E.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function isImport(E){return E.kind===100||E.kind===79&&(E.parent.kind===268||E.parent.kind===265)}function tryGetFullImport(N){return N.kind===100?E.tryCast(N.parent,E.isImportDeclaration):undefined}function canDeleteEntireVariableStatement(N,R){return E.isVariableDeclarationList(R.parent)&&E.first(R.parent.getChildren(N))===R}function deleteEntireVariableStatement(E,N,R){E.delete(N,R.parent.kind===235?R.parent:R)}function deleteDestructuringElements(N,R,j){E.forEach(j.elements,(function(E){return N.delete(R,E)}))}function tryPrefixDeclaration(N,R,j,$){if(R===E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)return;if($.kind===136){$=E.cast($.parent,E.isInferTypeNode).typeParameter.name}if(E.isIdentifier($)&&canPrefix($)){N.replaceNode(j,$,E.factory.createIdentifier("_"+$.text));if(E.isParameter($.parent)){E.getJSDocParameterTags($.parent).forEach((function(R){if(E.isIdentifier(R.name)){N.replaceNode(j,R.name,E.factory.createIdentifier("_"+R.name.text))}}))}}}function canPrefix(E){switch(E.parent.kind){case 162:case 161:return true;case 252:{var N=E.parent;switch(N.parent.parent.kind){case 242:case 241:return true}}}return false}function tryDeleteDeclaration(N,R,j,$,q,G,ie,ae){tryDeleteDeclarationWorker(R,j,N,$,q,G,ie,ae);if(E.isIdentifier(R)){E.FindAllReferences.Core.eachSymbolReferenceInFile(R,$,N,(function(R){if(E.isPropertyAccessExpression(R.parent)&&R.parent.name===R)R=R.parent;if(!ae&&mayDeleteExpression(R)){j.delete(N,R.parent.parent)}}))}}function tryDeleteDeclarationWorker(N,R,j,$,q,G,ie,ae){var ce=N.parent;if(E.isParameter(ce)){tryDeleteParameter(R,j,ce,$,q,G,ie,ae)}else if(!(ae&&E.isIdentifier(N)&&E.FindAllReferences.Core.isSymbolReferencedInFile(N,$,j))){var le=E.isImportClause(ce)?N:E.isComputedPropertyName(ce)?ce.parent:ce;E.Debug.assert(le!==j,"should not delete whole source file");R.delete(j,le)}}function tryDeleteParameter(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=false}if(mayDeleteParameter($,R,j,q,G,ie,ae)){if(j.modifiers&&j.modifiers.length>0&&(!E.isIdentifier(j.name)||E.FindAllReferences.Core.isSymbolReferencedInFile(j.name,$,R))){j.modifiers.forEach((function(E){return N.deleteModifier(R,E)}))}else if(!j.initializer&&isNotProvidedArguments(j,$,q)){N.delete(R,j)}}}function isNotProvidedArguments(N,R,j){var $=N.parent.parameters.indexOf(N);return!E.FindAllReferences.Core.someSignatureUsage(N.parent,j,R,(function(E,N){return!N||N.arguments.length>$}))}function mayDeleteParameter(N,R,j,$,q,G,ie){var ae=j.parent;switch(ae.kind){case 167:case 169:var ce=ae.parameters.indexOf(j);var le=E.isMethodDeclaration(ae)?ae.name:ae;var _e=E.FindAllReferences.Core.getReferencedSymbolsForNode(ae.pos,le,q,$,G);if(_e){for(var Ee=0,Te=_e;Eece;var Be=E.isPropertyAccessExpression(Me.node.parent)&&E.isSuperKeyword(Me.node.parent.expression)&&E.isCallExpression(Me.node.parent.parent)&&Me.node.parent.parent.arguments.length>ce;var je=(E.isMethodDeclaration(Me.node.parent)||E.isMethodSignature(Me.node.parent))&&Me.node.parent!==j.parent&&Me.node.parent.parameters.length>ce;if(Le||Be||je)return false}}}}return true;case 254:{if(ae.name&&isCallbackLike(N,R,ae.name)){return isLastParameter(ae,j,ie)}return true}case 211:case 212:return isLastParameter(ae,j,ie);case 171:return false;default:return E.Debug.failBadSyntaxKind(ae)}}function isCallbackLike(N,R,j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j,N,R,(function(N){return E.isIdentifier(N)&&E.isCallExpression(N.parent)&&N.parent.arguments.indexOf(N)>=0}))}function isLastParameter(N,R,j){var $=N.parameters;var q=$.indexOf(R);E.Debug.assert(q!==-1,"The parameter should already be in the list");return j?$.slice(q+1).every((function(N){return E.isIdentifier(N.name)&&!N.symbol.isReferenced})):q===$.length-1}function mayDeleteExpression(N){return(E.isBinaryExpression(N.parent)&&N.parent.left===N||(E.isPostfixUnaryExpression(N.parent)||E.isPrefixUnaryExpression(N.parent))&&N.parent.operand===N)&&E.isExpressionStatement(N.parent.parent)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixUnreachableCode";var j=[E.Diagnostics.Unreachable_code_detected.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,j.span.start,j.span.length,j.errorCode)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unreachable_code,R,E.Diagnostics.Remove_all_unreachable_code)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,N.start,N.length,N.code)}))}});function doChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,E.isStatement);if(ie.getStart(R)!==G.getStart(R)){var ae=JSON.stringify({statementKind:E.Debug.formatSyntaxKind(ie.kind),tokenKind:E.Debug.formatSyntaxKind(G.kind),errorCode:q,start:j,length:$});E.Debug.fail("Token and statement should start at the same point. "+ae)}var ce=(E.isBlock(ie.parent)?ie.parent:ie).parent;if(!E.isBlock(ie.parent)||ie===E.first(ie.parent.statements)){switch(ce.kind){case 237:if(ce.elseStatement){if(E.isBlock(ie.parent)){break}else{N.replaceNode(R,ie,E.factory.createBlock(E.emptyArray))}return}case 239:case 240:N.delete(R,ce);return}}if(E.isBlock(ie.parent)){var le=j+$;var _e=E.Debug.checkDefined(lastWhere(E.sliceAfter(ie.parent.statements,ie),(function(E){return E.posQe.length){var Xe=ce.getSignatureFromDeclaration(ae[ae.length-1]);outputMethod(Le,Xe,we,Ee,createStubbedMethodBody(Le))}else{E.Debug.assert(ae.length===Qe.length,"Declarations and signatures should match count");ie(createMethodImplementingSignatures(ce,$,R,Qe,Ee,Ne,we,Le))}}break}function outputMethod(E,N,j,q,ae){var ce=createSignatureDeclarationFromSignature(167,$,E,N,ae,q,j,Ne,R,G);if(ce)ie(ce)}}function createSignatureDeclarationFromSignature(N,R,j,$,q,G,ie,ae,ce,le){var _e=R.program;var Ee=_e.getTypeChecker();var Te=E.getEmitScriptTarget(_e.getCompilerOptions());var we=1|1073741824|256|(j===0?268435456:0);var Ie=Ee.signatureToSignatureDeclaration($,N,ce,we,getNoopSymbolTrackerWithResolver(R));if(!Ie){return undefined}var Ne=Ie.typeParameters;var Me=Ie.parameters;var Le=Ie.type;if(le){if(Ne){var Be=E.sameMap(Ne,(function(N){var R=N.constraint;var j=N.default;if(R){var $=tryGetAutoImportableReferenceFromTypeNode(R,Te);if($){R=$.typeNode;importSymbols(le,$.symbols)}}if(j){var $=tryGetAutoImportableReferenceFromTypeNode(j,Te);if($){j=$.typeNode;importSymbols(le,$.symbols)}}return E.factory.updateTypeParameterDeclaration(N,N.name,R,j)}));if(Ne!==Be){Ne=E.setTextRange(E.factory.createNodeArray(Be,Ne.hasTrailingComma),Ne)}}var je=E.sameMap(Me,(function(N){var R=tryGetAutoImportableReferenceFromTypeNode(N.type,Te);var j=N.type;if(R){j=R.typeNode;importSymbols(le,R.symbols)}return E.factory.updateParameterDeclaration(N,N.decorators,N.modifiers,N.dotDotDotToken,N.name,N.questionToken,j,N.initializer)}));if(Me!==je){Me=E.setTextRange(E.factory.createNodeArray(je,Me.hasTrailingComma),Me)}if(Le){var Ue=tryGetAutoImportableReferenceFromTypeNode(Le,Te);if(Ue){Le=Ue.typeNode;importSymbols(le,Ue.symbols)}}}var ze=ae?E.factory.createToken(57):undefined;var We=Ie.asteriskToken;if(E.isFunctionExpression(Ie)){return E.factory.updateFunctionExpression(Ie,ie,Ie.asteriskToken,E.tryCast(G,E.isIdentifier),Ne,Me,Le,q!==null&&q!==void 0?q:Ie.body)}if(E.isArrowFunction(Ie)){return E.factory.updateArrowFunction(Ie,ie,Ne,Me,Le,Ie.equalsGreaterThanToken,q!==null&&q!==void 0?q:Ie.body)}if(E.isMethodDeclaration(Ie)){return E.factory.updateMethodDeclaration(Ie,undefined,ie,We,G!==null&&G!==void 0?G:E.factory.createIdentifier(""),ze,Ne,Me,Le,q)}return undefined}N.createSignatureDeclarationFromSignature=createSignatureDeclarationFromSignature;function createSignatureDeclarationFromCallExpression(N,R,j,$,q,G,ie){var ae=E.getQuotePreference(R.sourceFile,R.preferences);var ce=E.getEmitScriptTarget(R.program.getCompilerOptions());var le=getNoopSymbolTrackerWithResolver(R);var _e=R.program.getTypeChecker();var Ee=E.isInJSFile(ie);var Te=$.typeArguments,we=$.arguments,Ie=$.parent;var Ne=Ee?undefined:_e.getContextualType($);var Me=E.map(we,(function(N){return E.isIdentifier(N)?N.text:E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)?N.name.text:undefined}));var Le=Ee?[]:E.map(we,(function(E){return typeToAutoImportableTypeNode(_e,j,_e.getBaseTypeOfLiteralType(_e.getTypeAtLocation(E)),ie,ce,undefined,le)}));var Be=G?E.factory.createNodeArray(E.factory.createModifiersFromModifierFlags(G)):undefined;var je=E.isYieldExpression(Ie)?E.factory.createToken(41):undefined;var Ue=Ee||Te===undefined?undefined:E.map(Te,(function(N,R){return E.factory.createTypeParameterDeclaration(84+Te.length-1<=90?String.fromCharCode(84+R):"T"+R)}));var ze=createDummyParameters(we.length,Me,Le,undefined,Ee);var We=Ee||Ne===undefined?undefined:_e.typeToTypeNode(Ne,ie,undefined,le);if(N===167){return E.factory.createMethodDeclaration(undefined,Be,je,q,undefined,Ue,ze,We,E.isInterfaceDeclaration(ie)?undefined:createStubbedMethodBody(ae))}return E.factory.createFunctionDeclaration(undefined,Be,je,q,Ue,ze,We,createStubbedBody(E.Diagnostics.Function_not_implemented.message,ae))}N.createSignatureDeclarationFromCallExpression=createSignatureDeclarationFromCallExpression;function typeToAutoImportableTypeNode(N,R,j,$,q,G,ie){var ae=N.typeToTypeNode(j,$,G,ie);if(ae&&E.isImportTypeNode(ae)){var ce=tryGetAutoImportableReferenceFromTypeNode(ae,q);if(ce){importSymbols(R,ce.symbols);ae=ce.typeNode}}return E.getSynthesizedDeepClone(ae)}N.typeToAutoImportableTypeNode=typeToAutoImportableTypeNode;function createDummyParameters(N,R,j,$,q){var G=[];for(var ie=0;ie=$?E.factory.createToken(57):undefined,q?undefined:j&&j[ie]||E.factory.createKeywordTypeNode(129),undefined);G.push(ae)}return G}function createMethodImplementingSignatures(N,R,j,$,q,G,ie,ae){var ce=$[0];var le=$[0].minArgumentCount;var _e=false;for(var Ee=0,Te=$;Ee=ce.parameters.length&&(!E.signatureHasRestParameter(we)||E.signatureHasRestParameter(ce))){ce=we}}var Ie=ce.parameters.length-(E.signatureHasRestParameter(ce)?1:0);var Ne=ce.parameters.map((function(E){return E.name}));var Me=createDummyParameters(Ie,Ne,undefined,le,false);if(_e){var Le=E.factory.createArrayTypeNode(E.factory.createKeywordTypeNode(129));var Be=E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),Ne[Ie]||"rest",Ie>=le?E.factory.createToken(57):undefined,Le,undefined);Me.push(Be)}return createStubbedMethod(ie,q,G,undefined,Me,getReturnTypeFromSignatures($,N,R,j),ae)}function getReturnTypeFromSignatures(N,R,j,$){if(E.length(N)){var q=R.getUnionType(E.map(N,R.getReturnTypeOfSignature));return R.typeToTypeNode(q,$,undefined,getNoopSymbolTrackerWithResolver(j))}}function createStubbedMethod(N,R,j,$,q,G,ie){return E.factory.createMethodDeclaration(undefined,N,undefined,R,j?E.factory.createToken(57):undefined,$,q,G,createStubbedMethodBody(ie))}function createStubbedMethodBody(N){return createStubbedBody(E.Diagnostics.Method_not_implemented.message,N)}function createStubbedBody(N,R){return E.factory.createBlock([E.factory.createThrowStatement(E.factory.createNewExpression(E.factory.createIdentifier("Error"),undefined,[E.factory.createStringLiteral(N,R===0)]))],true)}N.createStubbedBody=createStubbedBody;function createVisibilityModifier(N){if(N&4){return E.factory.createToken(123)}else if(N&16){return E.factory.createToken(122)}return undefined}function setJsonCompilerOptionValues(N,R,j){var $=E.getTsConfigObjectLiteralExpression(R);if(!$)return undefined;var q=findJsonProperty($,"compilerOptions");if(q===undefined){N.insertNodeAtObjectStart(R,$,createJsonPropertyAssignment("compilerOptions",E.factory.createObjectLiteralExpression(j.map((function(E){var N=E[0],R=E[1];return createJsonPropertyAssignment(N,R)})),true)));return}var G=q.initializer;if(!E.isObjectLiteralExpression(G)){return}for(var ie=0,ae=j;ie0){return[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_a_bigint_numeric_literal,R,E.Diagnostics.Convert_all_to_bigint_numeric_literals)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),E.isNumericLiteral);if(!$){return}var q=$.getText(R)+"n";N.replaceNode(R,$,E.factory.createBigIntLiteral(q))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixAddModuleReferTypeMissingTypeof";var j=R;var $=[E.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];N.registerCodeFix({errorCodes:$,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=getImportTypeNode($,q.start);var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(j,ie,E.Diagnostics.Add_missing_typeof,j,E.Diagnostics.Add_missing_typeof)]},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return doChange(N,E.sourceFile,getImportTypeNode(R.file,R.start))}))}});function getImportTypeNode(N,R){var j=E.getTokenAtPosition(N,R);E.Debug.assert(j.kind===100,"This token should be an ImportKeyword");E.Debug.assert(j.parent.kind===198,"Token parent should be an ImportType");return j.parent}function doChange(N,R,j){var $=E.factory.updateImportTypeNode(j,j.argument,j.qualifier,j.typeArguments,true);N.replaceNode(R,j,$)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="wrapJsxInFragment";var j=[E.Diagnostics.JSX_expressions_must_have_one_parent_element.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=findNodeToFix($,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_in_JSX_fragment,R,E.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=findNodeToFix(E.sourceFile,R.start);if(!j)return undefined;doChange(N,E.sourceFile,j)}))}});function findNodeToFix(N,R){var j=E.getTokenAtPosition(N,R);var $=j.parent;var q=$.parent;if(!E.isBinaryExpression(q)){q=q.parent;if(!E.isBinaryExpression(q))return undefined}if(!E.nodeIsMissing(q.operatorToken))return undefined;return q}function doChange(N,R,j){var $=flattenInvalidBinaryExpr(j);if($)N.replaceNode(R,j,E.factory.createJsxFragment(E.factory.createJsxOpeningFragment(),$,E.factory.createJsxJsxClosingFragment()))}function flattenInvalidBinaryExpr(N){var R=[];var j=N;while(true){if(E.isBinaryExpression(j)&&E.nodeIsMissing(j.operatorToken)&&j.operatorToken.kind===27){R.push(j.left);if(E.isJsxChild(j.right)){R.push(j.right);return R}else if(E.isBinaryExpression(j.right)){j=j.right;continue}else return undefined}else return undefined}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertToMappedObjectType";var $=R;var q=[E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];N.registerCodeFix({errorCodes:q,getCodeActions:function(R){var j=R.sourceFile,q=R.span;var G=getInfo(j,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(E,j,G)}));var ae=E.idText(G.container.name);return[N.createCodeFixAction($,ie,[E.Diagnostics.Convert_0_to_mapped_object_type,ae],$,[E.Diagnostics.Convert_0_to_mapped_object_type,ae])]},fixIds:[$],getAllCodeActions:function(E){return N.codeFixAll(E,q,(function(E,N){var R=getInfo(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);var $=E.cast(j.parent.parent,E.isIndexSignatureDeclaration);if(E.isClassDeclaration($.parent))return undefined;var q=E.isInterfaceDeclaration($.parent)?$.parent:E.cast($.parent.parent,E.isTypeAliasDeclaration);return{indexSignature:$,container:q}}function createTypeAliasFromInterface(N,R){return E.factory.createTypeAliasDeclaration(N.decorators,N.modifiers,N.name,N.typeParameters,R)}function doChange(N,R,$){var q=$.indexSignature,G=$.container;var ie=E.isInterfaceDeclaration(G)?G.members:G.type.members;var ae=ie.filter((function(N){return!E.isIndexSignatureDeclaration(N)}));var ce=E.first(q.parameters);var le=E.factory.createTypeParameterDeclaration(E.cast(ce.name,E.isIdentifier),ce.type);var _e=E.factory.createMappedTypeNode(E.hasEffectiveReadonlyModifier(q)?E.factory.createModifier(143):undefined,le,undefined,q.questionToken,q.type);var Ee=E.factory.createIntersectionTypeNode(j(j(j([],E.getAllSuperTypeNodes(G),true),[_e],false),ae.length?[E.factory.createTypeLiteralNode(ae)]:E.emptyArray,true));N.replaceNode(R,G,createTypeAliasFromInterface(G,Ee))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeAccidentalCallParentheses";var j=[E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.findAncestor(E.getTokenAtPosition(j.sourceFile,j.span.start),E.isCallExpression);if(!$){return undefined}var q=E.textChanges.ChangeTracker.with(j,(function(E){E.deleteRange(j.sourceFile,{pos:$.expression.end,end:$.end})}));return[N.createCodeFixActionWithoutFixAll(R,q,E.Diagnostics.Remove_parentheses)]},fixIds:[R]})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeUnnecessaryAwait";var j=[E.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unnecessary_await,R,E.Diagnostics.Remove_all_unnecessary_uses_of_await)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),(function(E){return E.kind===131}));var q=$&&E.tryCast($.parent,E.isAwaitExpression);if(!q){return}var G=q;var ie=E.isParenthesizedExpression(q.parent);if(ie){var ae=E.getLeftmostExpression(q.expression,false);if(E.isIdentifier(ae)){var ce=E.findPrecedingToken(q.parent.pos,R);if(ce&&ce.kind!==103){G=q.parent}}}N.replaceNode(R,G,q.expression)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];var j="splitTypeOnlyImport";N.registerCodeFix({errorCodes:R,fixIds:[j],getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return splitTypeOnlyImport(E,getImportDeclaration(R.sourceFile,R.span),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Split_into_two_separate_import_declarations,j,E.Diagnostics.Split_all_invalid_type_only_imports)]}},getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){splitTypeOnlyImport(N,getImportDeclaration(E.sourceFile,R),E)}))}});function getImportDeclaration(N,R){return E.findAncestor(E.getTokenAtPosition(N,R.start),E.isImportDeclaration)}function splitTypeOnlyImport(N,R,j){if(!R){return}var $=E.Debug.checkDefined(R.importClause);N.replaceNode(j.sourceFile,R,E.factory.updateImportDeclaration(R,R.decorators,R.modifiers,E.factory.updateImportClause($,$.isTypeOnly,$.name,undefined),R.moduleSpecifier));N.insertNodeAfter(j.sourceFile,R,E.factory.createImportDeclaration(undefined,undefined,E.factory.updateImportClause($,$.isTypeOnly,undefined,$.namedBindings),R.moduleSpecifier))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertConstToLet";var j=[E.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span,G=j.program;var ie=getConstTokenRange($,q.start,G);if(ie===undefined)return;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Convert_const_to_let,R,E.Diagnostics.Convert_const_to_let)]},fixIds:[R]});function getConstTokenRange(N,R,j){var $;var q=j.getTypeChecker();var G=q.getSymbolAtLocation(E.getTokenAtPosition(N,R));var ie=E.tryCast(($=G===null||G===void 0?void 0:G.valueDeclaration)===null||$===void 0?void 0:$.parent,E.isVariableDeclarationList);if(ie===undefined)return;var ae=E.findChildOfKind(ie,85,N);if(ae===undefined)return;return E.createRange(ae.pos,ae.end)}function doChange(E,N,R){E.replaceRangeWithText(N,R,"let")}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixExpectedComma";var j=E.Diagnostics._0_expected.code;var $=[j];N.registerCodeFix({errorCodes:$,getCodeActions:function(j){var $=j.sourceFile;var q=getInfo($,j.span.start,j.errorCode);if(!q){return undefined}var G=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,q)}));return[N.createCodeFixAction(R,G,[E.Diagnostics.Change_0_to_1,";",","],R,[E.Diagnostics.Change_0_to_1,";",","])]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){var j=getInfo(R.file,R.start,R.code);if(j)doChange(N,E.sourceFile,j)}))}});function getInfo(N,R,j){var $=E.getTokenAtPosition(N,R);return $.kind===26&&$.parent&&(E.isObjectLiteralExpression($.parent)||E.isArrayLiteralExpression($.parent))?{node:$}:undefined}function doChange(N,R,j){var $=j.node;var q=E.factory.createToken(27);N.replaceNode(R,$,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addVoidToPromise";var j="addVoidToPromise";var $=[E.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];N.registerCodeFix({errorCodes:$,fixIds:[j],getCodeActions:function($){var q=E.textChanges.ChangeTracker.with($,(function(E){return makeChange(E,$.sourceFile,$.span,$.program)}));if(q.length>0){return[N.createCodeFixAction(R,q,E.Diagnostics.Add_void_to_Promise_resolved_without_a_value,j,E.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]}},getAllCodeActions:function(R){return N.codeFixAll(R,$,(function(N,j){return makeChange(N,j.file,j,R.program,new E.Set)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j.start);if(!E.isIdentifier(G)||!E.isCallExpression(G.parent)||G.parent.expression!==G||G.parent.arguments.length!==0)return;var ie=$.getTypeChecker();var ae=ie.getSymbolAtLocation(G);var ce=ae===null||ae===void 0?void 0:ae.valueDeclaration;if(!ce||!E.isParameter(ce)||!E.isNewExpression(ce.parent.parent))return;if(q===null||q===void 0?void 0:q.has(ce))return;q===null||q===void 0?void 0:q.add(ce);var le=getEffectiveTypeArguments(ce.parent.parent);if(E.some(le)){var _e=le[0];var Ee=!E.isUnionTypeNode(_e)&&!E.isParenthesizedTypeNode(_e)&&E.isParenthesizedTypeNode(E.factory.createUnionTypeNode([_e,E.factory.createKeywordTypeNode(114)]).types[0]);if(Ee){N.insertText(R,_e.pos,"(")}N.insertText(R,_e.end,Ee?") | void":" | void")}else{var Te=ie.getResolvedSignature(G.parent);var we=Te===null||Te===void 0?void 0:Te.parameters[0];var Ie=we&&ie.getTypeOfSymbolAtLocation(we,ce.parent.parent);if(E.isInJSFile(ce)){if(!Ie||Ie.flags&3){N.insertText(R,ce.parent.parent.end,")");N.insertText(R,E.skipTrivia(R.text,ce.parent.parent.pos),"/** @type {Promise} */(")}}else{if(!Ie||Ie.flags&2){N.insertText(R,ce.parent.parent.expression.end,"")}}}}function getEffectiveTypeArguments(N){var R;if(E.isInJSFile(N)){if(E.isParenthesizedExpression(N.parent)){var j=(R=E.getJSDocTypeTag(N.parent))===null||R===void 0?void 0:R.typeExpression.type;if(j&&E.isTypeReferenceNode(j)&&E.isIdentifier(j.typeName)&&E.idText(j.typeName)==="Promise"){return j.typeArguments}}}else{return N.typeArguments}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Convert export";var j={name:"Convert default export to named export",description:E.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"};var q={name:"Convert named export to default export",description:E.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};N.registerRefactor(R,{kinds:[j.kind,q.kind],getAvailableActions:function(G){var ie=getInfo(G,G.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){var ae=ie.wasDefault?j:q;return[{name:R,description:ae.description,actions:[ae]}]}if(G.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.Diagnostics.Convert_default_export_to_named_export.message,actions:[$($({},j),{notApplicableReason:ie.error}),$($({},q),{notApplicableReason:ie.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){E.Debug.assert($===j.name||$===q.name,"Unexpected action name");var G=getInfo(R);E.Debug.assert(G&&!N.isRefactorErrorInfo(G),"Expected applicable refactor info");var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,G,E,R.cancellationToken)}));return{edits:ie,renameFilename:undefined,renameLocation:undefined}}});function getInfo(N,R){if(R===void 0){R=true}var j=N.file,$=N.program;var q=E.getRefactorContextSpan(N);var G=E.getTokenAtPosition(j,q.start);var ie=!!(G.parent&&E.getSyntacticModifierFlags(G.parent)&1)&&R?G.parent:E.getParentNodeInSpan(G,j,q);if(!ie||!E.isSourceFile(ie.parent)&&!(E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_export_statement)}}var ae=E.isSourceFile(ie.parent)?ie.parent.symbol:ie.parent.parent.symbol;var ce=E.getSyntacticModifierFlags(ie)||(E.isExportAssignment(ie)&&!ie.isExportEquals?513:0);var le=!!(ce&512);if(!(ce&1)||!le&&ae.exports.has("default")){return{error:E.getLocaleSpecificMessage(E.Diagnostics.This_file_already_has_a_default_export)}}var _e=$.getTypeChecker();var noSymbolError=function(N){return E.isIdentifier(N)&&_e.getSymbolAtLocation(N)?undefined:{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_named_export)}};switch(ie.kind){case 254:case 255:case 256:case 258:case 257:case 259:{var Ee=ie;if(!Ee.name)return undefined;return noSymbolError(Ee.name)||{exportNode:Ee,exportName:Ee.name,wasDefault:le,exportingModuleSymbol:ae}}case 235:{var Te=ie;if(!(Te.declarationList.flags&2)||Te.declarationList.declarations.length!==1){return undefined}var we=E.first(Te.declarationList.declarations);if(!we.initializer)return undefined;E.Debug.assert(!le,"Can't have a default flag here");return noSymbolError(we.name)||{exportNode:Te,exportName:we.name,wasDefault:le,exportingModuleSymbol:ae}}case 269:{var Ee=ie;if(Ee.isExportEquals)return undefined;return noSymbolError(Ee.expression)||{exportNode:Ee,exportName:Ee.expression,wasDefault:le,exportingModuleSymbol:ae}}default:return undefined}}function doChange(E,N,R,j,$){changeExport(E,R,j,N.getTypeChecker());changeImports(N,R,j,$)}function changeExport(N,R,j,$){var q=R.wasDefault,G=R.exportNode,ie=R.exportName;if(q){if(E.isExportAssignment(G)&&!G.isExportEquals){var ae=G.expression;var ce=makeExportSpecifier(ae.text,ae.text);j.replaceNode(N,G,E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([ce])))}else{j.delete(N,E.Debug.checkDefined(E.findModifier(G,88),"Should find a default keyword in modifier list"))}}else{var le=E.Debug.checkDefined(E.findModifier(G,93),"Should find an export keyword in modifier list");switch(G.kind){case 254:case 255:case 256:j.insertNodeAfter(N,le,E.factory.createToken(88));break;case 235:var _e=E.first(G.declarationList.declarations);if(!E.FindAllReferences.Core.isSymbolReferencedInFile(ie,$,N)&&!_e.type){j.replaceNode(N,G,E.factory.createExportDefault(E.Debug.checkDefined(_e.initializer,"Initializer was previously known to be present")));break}case 258:case 257:case 259:j.deleteModifier(N,le);j.insertNodeAfter(N,G,E.factory.createExportDefault(E.factory.createIdentifier(ie.text)));break;default:E.Debug.fail("Unexpected exportNode kind "+G.kind)}}}function changeImports(N,R,j,$){var q=R.wasDefault,G=R.exportName,ie=R.exportingModuleSymbol;var ae=N.getTypeChecker();var ce=E.Debug.checkDefined(ae.getSymbolAtLocation(G),"Export name should resolve to a symbol");E.FindAllReferences.Core.eachExportReference(N.getSourceFiles(),ae,$,ce,ie,G.text,q,(function(E){var N=E.getSourceFile();if(q){changeDefaultToNamedImport(N,E,j,G.text)}else{changeNamedToDefaultImport(N,E,j)}}))}function changeDefaultToNamedImport(N,R,j,$){var q=R.parent;switch(q.kind){case 204:j.replaceNode(N,R,E.factory.createIdentifier($));break;case 268:case 273:{var G=q;j.replaceNode(N,G,makeImportSpecifier($,G.name.text));break}case 265:{var ie=q;E.Debug.assert(ie.name===R,"Import clause name should match provided ref");var G=makeImportSpecifier($,R.text);var ae=ie.namedBindings;if(!ae){j.replaceNode(N,R,E.factory.createNamedImports([G]))}else if(ae.kind===266){j.deleteRange(N,{pos:R.getStart(N),end:ae.getStart(N)});var ce=E.isStringLiteral(ie.parent.moduleSpecifier)?E.quotePreferenceFromString(ie.parent.moduleSpecifier,N):1;var le=E.makeImport(undefined,[makeImportSpecifier($,R.text)],ie.parent.moduleSpecifier,ce);j.insertNodeAfter(N,ie.parent,le)}else{j.delete(N,R);j.insertNodeAtEndOfList(N,ae.elements,G)}break}default:E.Debug.failBadSyntaxKind(q)}}function changeNamedToDefaultImport(N,R,j){var $=R.parent;switch($.kind){case 204:j.replaceNode(N,R,E.factory.createIdentifier("default"));break;case 268:{var q=E.factory.createIdentifier($.name.text);if($.parent.elements.length===1){j.replaceNode(N,$.parent,q)}else{j.delete(N,$);j.insertNodeBefore(N,$.parent,q)}break}case 273:{j.replaceNode(N,$,makeExportSpecifier("default",$.name.text));break}default:E.Debug.assertNever($,"Unexpected parent kind "+$.kind)}}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}function makeExportSpecifier(N,R){return E.factory.createExportSpecifier(N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Convert import";var j={name:"Convert namespace import to named imports",description:E.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"};var q={name:"Convert named imports to namespace import",description:E.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"};N.registerRefactor(R,{kinds:[j.kind,q.kind],getAvailableActions:function(G){var ie=getImportToConvert(G,G.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){var ae=ie.kind===266;var ce=ae?j:q;return[{name:R,description:ce.description,actions:[ce]}]}if(G.preferences.provideRefactorNotApplicableReason){return[{name:R,description:j.description,actions:[$($({},j),{notApplicableReason:ie.error})]},{name:R,description:q.description,actions:[$($({},q),{notApplicableReason:ie.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){E.Debug.assert($===j.name||$===q.name,"Unexpected action name");var G=getImportToConvert(R);E.Debug.assert(G&&!N.isRefactorErrorInfo(G),"Expected applicable refactor info");var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,E,G)}));return{edits:ie,renameFilename:undefined,renameLocation:undefined}}});function getImportToConvert(N,R){if(R===void 0){R=true}var j=N.file;var $=E.getRefactorContextSpan(N);var q=E.getTokenAtPosition(j,$.start);var G=R?E.findAncestor(q,E.isImportDeclaration):E.getParentNodeInSpan(q,j,$);if(!G||!E.isImportDeclaration(G))return{error:"Selection is not an import declaration."};if(G.getEnd()<$.start+$.length)return undefined;var ie=G.importClause;if(!ie){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_import_clause)}}if(!ie.namedBindings){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_namespace_import_or_named_imports)}}return ie.namedBindings}function doChange(N,R,j,$){var q=R.getTypeChecker();if($.kind===266){doChangeNamespaceToNamed(N,q,j,$,E.getAllowSyntheticDefaultImports(R.getCompilerOptions()))}else{doChangeNamedToNamespace(N,q,j,$)}}function doChangeNamespaceToNamed(N,R,j,$,q){var G=false;var ie=[];var ae=new E.Map;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(N){if(!E.isPropertyAccessOrQualifiedName(N.parent)){G=true}else{var j=getRightOfPropertyAccessOrQualifiedName(N.parent).text;if(R.resolveName(j,N,67108863,true)){ae.set(j,true)}E.Debug.assert(getLeftOfPropertyAccessOrQualifiedName(N.parent)===N,"Parent expression should match id");ie.push(N.parent)}}));var ce=new E.Map;for(var le=0,_e=ie;le<_e.length;le++){var Ee=_e[le];var Te=getRightOfPropertyAccessOrQualifiedName(Ee).text;var we=ce.get(Te);if(we===undefined){ce.set(Te,we=ae.has(Te)?E.getUniqueName(Te,N):Te)}j.replaceNode(N,Ee,E.factory.createIdentifier(we))}var Ie=[];ce.forEach((function(N,R){Ie.push(E.factory.createImportSpecifier(N===R?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(N)))}));var Ne=$.parent.parent;if(G&&!q){j.insertNodeAfter(N,Ne,updateImport(Ne,undefined,Ie))}else{j.replaceNode(N,Ne,updateImport(Ne,G?E.factory.createIdentifier($.name.text):undefined,Ie))}}function getRightOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.name:N.right}function getLeftOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.expression:N.left}function doChangeNamedToNamespace(N,R,j,$){var q=$.parent.parent;var G=q.moduleSpecifier;var ie=new E.Set;$.elements.forEach((function(E){var N=R.getSymbolAtLocation(E.name);if(N){ie.add(N)}}));var ae=G&&E.isStringLiteral(G)?E.codefix.moduleSpecifierToValidIdentifier(G.text,99):"module";function hasNamespaceNameConflict(j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j.name,R,N,(function(N){var j=R.resolveName(ae,N,67108863,true);if(j){if(ie.has(j)){return E.isExportSpecifier(N.parent)}return true}return false}))}var ce=$.elements.some(hasNamespaceNameConflict);var le=ce?E.getUniqueName(ae,N):ae;var _e=new E.Set;var _loop_16=function($){var q=($.propertyName||$.name).text;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(R){var G=E.factory.createPropertyAccessExpression(E.factory.createIdentifier(le),q);if(E.isShorthandPropertyAssignment(R.parent)){j.replaceNode(N,R.parent,E.factory.createPropertyAssignment(R.text,G))}else if(E.isExportSpecifier(R.parent)){_e.add($)}else{j.replaceNode(N,R,G)}}))};for(var Ee=0,Te=$.elements;Ee=ie.pos?ae.getEnd():ie.getEnd());var le=G?getValidParentNodeOfEmptySpan(ie):getValidParentNodeContainingSpan(ie,ce);var _e=le&&isValidExpressionOrStatement(le)?getExpression(le):undefined;if(!_e)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var Ee=$.getTypeChecker();return E.isConditionalExpression(_e)?getConditionalInfo(_e,Ee):getBinaryInfo(_e)}function getConditionalInfo(N,R){var j=N.condition;var $=getFinalExpressionInChain(N.whenTrue);if(!$||R.isNullableType(R.getTypeAtLocation($))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)}}if((E.isPropertyAccessExpression(j)||E.isIdentifier(j))&&getMatchingStart(j,$.expression)){return{finalExpression:$,occurrences:[j],expression:N}}else if(E.isBinaryExpression(j)){var q=getOccurrencesInExpression($.expression,j);return q?{finalExpression:$,occurrences:q,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}}function getBinaryInfo(N){if(N.operatorToken.kind!==55){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_logical_AND_access_chains)}}var R=getFinalExpressionInChain(N.right);if(!R)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var j=getOccurrencesInExpression(R.expression,N.left);return j?{finalExpression:R,occurrences:j,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}function getOccurrencesInExpression(N,R){var j=[];while(E.isBinaryExpression(R)&&R.operatorToken.kind===55){var $=getMatchingStart(E.skipParentheses(N),E.skipParentheses(R.right));if(!$){break}j.push($);N=$;R=R.left}var q=getMatchingStart(N,R);if(q){j.push(q)}return j.length>0?j:undefined}function getMatchingStart(N,R){if(!E.isIdentifier(R)&&!E.isPropertyAccessExpression(R)&&!E.isElementAccessExpression(R)){return undefined}return chainStartsWith(N,R)?R:undefined}function chainStartsWith(N,R){while(E.isCallExpression(N)||E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)){if(getTextOfChainNode(N)===getTextOfChainNode(R))break;N=N.expression}while(E.isPropertyAccessExpression(N)&&E.isPropertyAccessExpression(R)||E.isElementAccessExpression(N)&&E.isElementAccessExpression(R)){if(getTextOfChainNode(N)!==getTextOfChainNode(R))return false;N=N.expression;R=R.expression}return E.isIdentifier(N)&&E.isIdentifier(R)&&N.getText()===R.getText()}function getTextOfChainNode(N){if(E.isIdentifier(N)||E.isStringOrNumericLiteralLike(N)){return N.getText()}if(E.isPropertyAccessExpression(N)){return getTextOfChainNode(N.name)}if(E.isElementAccessExpression(N)){return getTextOfChainNode(N.argumentExpression)}return undefined}function getValidParentNodeContainingSpan(E,N){while(E.parent){if(isValidExpressionOrStatement(E)&&N.length!==0&&E.end>=N.start+N.length){return E}E=E.parent}return undefined}function getValidParentNodeOfEmptySpan(E){while(E.parent){if(isValidExpressionOrStatement(E)&&!isValidExpressionOrStatement(E.parent)){return E}E=E.parent}return undefined}function getExpression(N){if(isValidExpression(N)){return N}if(E.isVariableStatement(N)){var R=E.getSingleVariableOfVariableStatement(N);var j=R===null||R===void 0?void 0:R.initializer;return j&&isValidExpression(j)?j:undefined}return N.expression&&isValidExpression(N.expression)?N.expression:undefined}function getFinalExpressionInChain(N){N=E.skipParentheses(N);if(E.isBinaryExpression(N)){return getFinalExpressionInChain(N.left)}else if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)||E.isCallExpression(N))&&!E.isOptionalChain(N)){return N}return undefined}function convertOccurrences(N,R,j){if(E.isPropertyAccessExpression(R)||E.isElementAccessExpression(R)||E.isCallExpression(R)){var $=convertOccurrences(N,R.expression,j);var q=j.length>0?j[j.length-1]:undefined;var G=(q===null||q===void 0?void 0:q.getText())===R.expression.getText();if(G)j.pop();if(E.isCallExpression(R)){return G?E.factory.createCallChain($,E.factory.createToken(28),R.typeArguments,R.arguments):E.factory.createCallChain($,R.questionDotToken,R.typeArguments,R.arguments)}else if(E.isPropertyAccessExpression(R)){return G?E.factory.createPropertyAccessChain($,E.factory.createToken(28),R.name):E.factory.createPropertyAccessChain($,R.questionDotToken,R.name)}else if(E.isElementAccessExpression(R)){return G?E.factory.createElementAccessChain($,E.factory.createToken(28),R.argumentExpression):E.factory.createElementAccessChain($,R.questionDotToken,R.argumentExpression)}}return R}function doChange(N,R,j,$,q){var G=$.finalExpression,ie=$.occurrences,ae=$.expression;var ce=ie[ie.length-1];var le=convertOccurrences(R,G,ie);if(le&&(E.isPropertyAccessExpression(le)||E.isElementAccessExpression(le)||E.isCallExpression(le))){if(E.isBinaryExpression(ae)){j.replaceNodeRange(N,ce,G,le)}else if(E.isConditionalExpression(ae)){j.replaceNode(N,ae,E.factory.createBinaryExpression(le,E.factory.createToken(60),ae.whenFalse))}}}})(R=N.convertToOptionalChainExpression||(N.convertToOptionalChainExpression={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert overload list to single signature";var $=E.Diagnostics.Convert_overload_list_to_single_signature.message;var q={name:j,description:$,kind:"refactor.rewrite.function.overloadList"};N.registerRefactor(j,{kinds:[q.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(N){var R=N.file,G=N.startPosition,ie=N.program;var ae=getConvertableOverloadListAtPosition(R,G,ie);if(!ae)return E.emptyArray;return[{name:j,description:$,actions:[q]}]}function getEditsForAction(N){var R=N.file,j=N.startPosition,$=N.program;var q=getConvertableOverloadListAtPosition(R,j,$);if(!q)return undefined;var G=$.getTypeChecker();var ie=q[q.length-1];var ae=ie;switch(ie.kind){case 166:{ae=E.factory.updateMethodSignature(ie,ie.modifiers,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 167:{ae=E.factory.updateMethodDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}case 172:{ae=E.factory.updateCallSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 169:{ae=E.factory.updateConstructorDeclaration(ie,ie.decorators,ie.modifiers,getNewParametersForCombinedSignature(q),ie.body);break}case 173:{ae=E.factory.updateConstructSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 254:{ae=E.factory.updateFunctionDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}default:return E.Debug.failBadSyntaxKind(ie,"Unhandled signature kind in overload list conversion refactoring")}if(ae===ie){return}var ce=E.textChanges.ChangeTracker.with(N,(function(E){E.replaceNodeRange(R,q[0],q[q.length-1],ae)}));return{renameFilename:undefined,renameLocation:undefined,edits:ce};function getNewParametersForCombinedSignature(N){var R=N[N.length-1];if(E.isFunctionLikeDeclaration(R)&&R.body){N=N.slice(0,N.length-1)}return E.factory.createNodeArray([E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),"args",undefined,E.factory.createUnionTypeNode(E.map(N,convertSignatureParametersToTuple)))])}function convertSignatureParametersToTuple(N){var R=E.map(N.parameters,convertParameterToNamedTupleMember);return E.setEmitFlags(E.factory.createTupleTypeNode(R),E.some(R,(function(N){return!!E.length(E.getSyntheticLeadingComments(N))}))?0:1)}function convertParameterToNamedTupleMember(N){E.Debug.assert(E.isIdentifier(N.name));var R=E.setTextRange(E.factory.createNamedTupleMember(N.dotDotDotToken,N.name,N.questionToken,N.type||E.factory.createKeywordTypeNode(129)),N);var j=N.symbol&&N.symbol.getDocumentationComment(G);if(j){var $=E.displayPartsToString(j);if($.length){E.setSyntheticLeadingComments(R,[{text:"*\n"+$.split("\n").map((function(E){return" * "+E})).join("\n")+"\n ",kind:3,pos:-1,end:-1,hasTrailingNewLine:true,hasLeadingNewline:true}])}}return R}}function isConvertableSignatureDeclaration(E){switch(E.kind){case 166:case 167:case 172:case 169:case 173:case 254:return true}return false}function getConvertableOverloadListAtPosition(N,R,j){var $=E.getTokenAtPosition(N,R);var q=E.findAncestor($,isConvertableSignatureDeclaration);if(!q){return}var G=j.getTypeChecker();var ie=q.symbol;if(!ie){return}var ae=ie.declarations;if(E.length(ae)<=1){return}if(!E.every(ae,(function(R){return E.getSourceFileOfNode(R)===N}))){return}if(!isConvertableSignatureDeclaration(ae[0])){return}var ce=ae[0].kind;if(!E.every(ae,(function(E){return E.kind===ce}))){return}var le=ae;if(E.some(le,(function(N){return!!N.typeParameters||E.some(N.parameters,(function(N){return!!N.decorators||!!N.modifiers||!E.isIdentifier(N.name)}))}))){return}var _e=E.mapDefined(le,(function(E){return G.getSignatureFromDeclaration(E)}));if(E.length(_e)!==E.length(ae)){return}var Ee=G.getReturnTypeOfSignature(_e[0]);if(!E.every(_e,(function(E){return G.getReturnTypeOfSignature(E)===Ee}))){return}return le}})(R=N.addOrRemoveBracesToArrowFunction||(N.addOrRemoveBracesToArrowFunction={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Extract Symbol";var q={name:"Extract Constant",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_constant),kind:"refactor.extract.constant"};var G={name:"Extract Function",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_function),kind:"refactor.extract.function"};N.registerRefactor(j,{kinds:[q.kind,G.kind],getAvailableActions:getAvailableActions,getEditsForAction:getEditsForAction});function getAvailableActions(R){var ie=R.kind;var ae=getRangeToExtract(R.file,E.getRefactorContextSpan(R),R.triggerReason==="invoked");var ce=ae.targetRange;if(ce===undefined){if(!ae.errors||ae.errors.length===0||!R.preferences.provideRefactorNotApplicableReason){return E.emptyArray}var le=[];if(N.refactorKindBeginsWith(G.kind,ie)){le.push({name:j,description:G.description,actions:[$($({},G),{notApplicableReason:getStringError(ae.errors)})]})}if(N.refactorKindBeginsWith(q.kind,ie)){le.push({name:j,description:q.description,actions:[$($({},q),{notApplicableReason:getStringError(ae.errors)})]})}return le}var _e=getPossibleExtractions(ce,R);if(_e===undefined){return E.emptyArray}var Ee=[];var Te=new E.Map;var we;var Ie=[];var Ne=new E.Map;var Me;var Le=0;for(var Be=0,je=_e;Be=R.start+R.length){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractSuper));return true}}else{we|=ae.UsesThis}break;case 212:E.forEachChild(N,(function check(N){if(E.isThis(N)){we|=ae.UsesThis}else if(E.isClassLike(N)||E.isFunctionLike(N)&&!E.isArrowFunction(N)){return false}else{E.forEachChild(N,check)}}));case 255:case 254:if(E.isSourceFile(N.parent)&&N.parent.externalModuleIndicator===undefined){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.functionWillNotBeVisibleInTheNewScope))}case 224:case 211:case 167:case 169:case 170:case 171:return false}var le=G;switch(N.kind){case 237:G=0;break;case 250:G=0;break;case 233:if(N.parent&&N.parent.kind===250&&N.parent.finallyBlock===N){G=4}break;case 288:case 287:G|=1;break;default:if(E.isIterationStatement(N,false)){G|=1|2}break}switch(N.kind){case 190:case 108:we|=ae.UsesThis;break;case 248:{var _e=N.label;(ce||(ce=[])).push(_e.escapedText);E.forEachChild(N,visit);ce.pop();break}case 244:case 243:{var _e=N.label;if(_e){if(!E.contains(ce,_e.escapedText)){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange))}}else{if(!(G&(N.kind===244?1:2))){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalBreakOrContinueStatements))}}break}case 216:we|=ae.IsAsyncFunction;break;case 222:we|=ae.IsGenerator;break;case 245:if(G&4){we|=ae.HasReturn}else{(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalReturnStatement))}break;default:E.forEachChild(N,visit);break}G=le}}}R.getRangeToExtract=getRangeToExtract;function getAdjustedSpanFromNodes(E,N,R){var j=E.getStart(R);var $=N.getEnd();if(R.text.charCodeAt($)===59){$++}return{start:j,length:$-j}}function getStatementOrExpressionRange(N){if(E.isStatement(N)){return[N]}else if(E.isExpressionNode(N)){return E.isExpressionStatement(N.parent)?[N.parent]:N}return undefined}function isScope(N){return E.isFunctionLikeDeclaration(N)||E.isSourceFile(N)||E.isModuleBlock(N)||E.isClassLike(N)}function collectEnclosingScopes(N){var R=isReadonlyArray(N.range)?E.first(N.range):N.range;if(N.facts&ae.UsesThis){var j=E.getContainingClass(R);if(j){var $=E.findAncestor(R,E.isFunctionLikeDeclaration);return $?[$,j]:[j]}}var q=[];while(true){R=R.parent;if(R.kind===162){R=E.findAncestor(R,(function(N){return E.isFunctionLikeDeclaration(N)})).parent}if(isScope(R)){q.push(R);if(R.kind===300){return q}}}}function getFunctionExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.functionErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");R.cancellationToken.throwIfCancellationRequested();return extractFunctionInScope(ie,q[j],ae[j],le,N,R)}function getConstantExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.constantErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");E.Debug.assert(le.length===0,"Extract constant accepted a range containing a variable declaration?");R.cancellationToken.throwIfCancellationRequested();var _e=E.isExpression(ie)?ie:ie.statements[0].expression;return extractConstantInScope(_e,q[j],ae[j],N.facts,R)}function getPossibleExtractions(N,R){var j=getPossibleExtractionsWorker(N,R),$=j.scopes,q=j.readsAndWrites,G=q.functionErrorsPerScope,ie=q.constantErrorsPerScope;var ae=$.map((function(N,R){var j=getDescriptionForFunctionInScope(N);var $=getDescriptionForConstantInScope(N);var q=E.isFunctionLikeDeclaration(N)?getDescriptionForFunctionLikeDeclaration(N):E.isClassLike(N)?getDescriptionForClassLikeDeclaration(N):getDescriptionForModuleLikeDeclaration(N);var ae;var ce;if(q===1){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"global"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"global"])}else if(q===0){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"module"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"module"])}else{ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[j,q]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[$,q])}if(R===0&&!E.isClassLike(N)){ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_enclosing_scope),[$])}return{functionExtraction:{description:ae,errors:G[R]},constantExtraction:{description:ce,errors:ie[R]}}}));return ae}function getPossibleExtractionsWorker(E,N){var R=N.file;var j=collectEnclosingScopes(E);var $=getEnclosingTextRange(E,R);var q=collectReadsAndWrites(E,j,$,R,N.program.getTypeChecker(),N.cancellationToken);return{scopes:j,readsAndWrites:q}}function getDescriptionForFunctionInScope(N){return E.isFunctionLikeDeclaration(N)?"inner function":E.isClassLike(N)?"method":"function"}function getDescriptionForConstantInScope(N){return E.isClassLike(N)?"readonly field":"constant"}function getDescriptionForFunctionLikeDeclaration(N){switch(N.kind){case 169:return"constructor";case 211:case 254:return N.name?"function '"+N.name.text+"'":E.ANONYMOUS;case 212:return"arrow function";case 167:return"method '"+N.name.getText()+"'";case 170:return"'get "+N.name.getText()+"'";case 171:return"'set "+N.name.getText()+"'";default:throw E.Debug.assertNever(N,"Unexpected scope kind "+N.kind)}}function getDescriptionForClassLikeDeclaration(E){return E.kind===255?E.name?"class '"+E.name.text+"'":"anonymous class declaration":E.name?"class expression '"+E.name.text+"'":"anonymous class expression"}function getDescriptionForModuleLikeDeclaration(E){return E.kind===260?"namespace '"+E.parent.name.getText()+"'":E.externalModuleIndicator?0:1}var ce;(function(E){E[E["Module"]=0]="Module";E[E["Global"]=1]="Global"})(ce||(ce={}));function extractFunctionInScope(N,R,j,$,q,G){var ie=j.usages,ce=j.typeParameterUsages,le=j.substitutions;var _e=G.program.getTypeChecker();var Ee=E.getEmitScriptTarget(G.program.getCompilerOptions());var Te=E.codefix.createImportAdder(G.file,G.program,G.preferences,G.host);var we=R.getSourceFile();var Ie=E.getUniqueName(E.isClassLike(R)?"newMethod":"newFunction",we);var Ne=E.isInJSFile(R);var Me=E.factory.createIdentifier(Ie);var Le;var Be=[];var je=[];var Ue;ie.forEach((function(N,j){var $;if(!Ne){var q=_e.getTypeOfSymbolAtLocation(N.symbol,N.node);q=_e.getBaseTypeOfLiteralType(q);$=E.codefix.typeToAutoImportableTypeNode(_e,Te,q,R,Ee,1)}var G=E.factory.createParameterDeclaration(undefined,undefined,undefined,j,undefined,$);Be.push(G);if(N.usage===2){(Ue||(Ue=[])).push(N)}je.push(E.factory.createIdentifier(j))}));var ze=E.arrayFrom(ce.values()).map((function(E){return{type:E,declaration:getFirstDeclaration(E)}}));var We=ze.sort(compareTypesByDeclarationOrder);var Je=We.length===0?undefined:We.map((function(E){return E.declaration}));var Ve=Je!==undefined?Je.map((function(N){return E.factory.createTypeReferenceNode(N.name,undefined)})):undefined;if(E.isExpression(N)&&!Ne){var qe=_e.getContextualType(N);Le=_e.typeToTypeNode(qe,R,1)}var He=transformFunctionBody(N,$,Ue,le,!!(q.facts&ae.HasReturn)),Ge=He.body,Ke=He.returnValueProperty;E.suppressLeadingAndTrailingTrivia(Ge);var Qe;if(E.isClassLike(R)){var Xe=Ne?[]:[E.factory.createModifier(121)];if(q.facts&ae.InStaticRegion){Xe.push(E.factory.createModifier(124))}if(q.facts&ae.IsAsyncFunction){Xe.push(E.factory.createModifier(130))}Qe=E.factory.createMethodDeclaration(undefined,Xe.length?Xe:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,undefined,Je,Be,Le,Ge)}else{Qe=E.factory.createFunctionDeclaration(undefined,q.facts&ae.IsAsyncFunction?[E.factory.createToken(130)]:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,Je,Be,Le,Ge)}var Ye=E.textChanges.ChangeTracker.fromContext(G);var Ze=(isReadonlyArray(q.range)?E.last(q.range):q.range).end;var et=getNodeToInsertFunctionBefore(Ze,R);if(et){Ye.insertNodeBefore(G.file,et,Qe,true)}else{Ye.insertNodeAtEndOfScope(G.file,R,Qe)}Te.writeFixes(Ye);var tt=[];var rt=getCalledExpression(R,q,Ie);var nt=E.factory.createCallExpression(rt,Ve,je);if(q.facts&ae.IsGenerator){nt=E.factory.createYieldExpression(E.factory.createToken(41),nt)}if(q.facts&ae.IsAsyncFunction){nt=E.factory.createAwaitExpression(nt)}if(isInJSXContent(N)){nt=E.factory.createJsxExpression(undefined,nt)}if($.length&&!Ue){E.Debug.assert(!Ke,"Expected no returnValueProperty");E.Debug.assert(!(q.facts&ae.HasReturn),"Expected RangeFacts.HasReturn flag to be unset");if($.length===1){var it=$[0];tt.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(E.getSynthesizedDeepClone(it.name),undefined,E.getSynthesizedDeepClone(it.type),nt)],it.parent.flags)))}else{var ot=[];var st=[];var ct=$[0].parent.flags;var ut=false;for(var dt=0,pt=$;dt1){return N}j=N;N=N.parent}}function getFirstDeclaration(E){var N;var R=E.symbol;if(R&&R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];if(N===undefined||q.pos0;if(E.isBlock(N)&&!G&&$.size===0){return{body:E.factory.createBlock(N.statements,true),returnValueProperty:undefined}}var ie;var ae=false;var ce=E.factory.createNodeArray(E.isBlock(N)?N.statements.slice(0):[E.isStatement(N)?N:E.factory.createReturnStatement(N)]);if(G||$.size){var le=E.visitNodes(ce,visitor).slice();if(G&&!q&&E.isStatement(N)){var _e=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(_e.length===1){le.push(E.factory.createReturnStatement(_e[0].name))}else{le.push(E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(_e)))}}return{body:E.factory.createBlock(le,true),returnValueProperty:ie}}else{return{body:E.factory.createBlock(ce,true),returnValueProperty:undefined}}function visitor(N){if(!ae&&E.isReturnStatement(N)&&G){var q=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(N.expression){if(!ie){ie="__return"}q.unshift(E.factory.createPropertyAssignment(ie,E.visitNode(N.expression,visitor)))}if(q.length===1){return E.factory.createReturnStatement(q[0].name)}else{return E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(q))}}else{var ce=ae;ae=ae||E.isFunctionLikeDeclaration(N)||E.isClassLike(N);var le=$.get(E.getNodeId(N).toString());var _e=le?E.getSynthesizedDeepClone(le):E.visitEachChild(N,visitor,E.nullTransformationContext);ae=ce;return _e}}}function transformConstantInitializer(N,R){return R.size?visitor(N):N;function visitor(N){var j=R.get(E.getNodeId(N).toString());return j?E.getSynthesizedDeepClone(j):E.visitEachChild(N,visitor,E.nullTransformationContext)}}function getStatementsOrClassElements(N){if(E.isFunctionLikeDeclaration(N)){var R=N.body;if(E.isBlock(R)){return R.statements}}else if(E.isModuleBlock(N)||E.isSourceFile(N)){return N.statements}else if(E.isClassLike(N)){return N.members}else{E.assertType(N)}return E.emptyArray}function getNodeToInsertFunctionBefore(N,R){return E.find(getStatementsOrClassElements(R),(function(R){return R.pos>=N&&E.isFunctionLikeDeclaration(R)&&!E.isConstructorDeclaration(R)}))}function getNodeToInsertPropertyBefore(N,R){var j=R.members;E.Debug.assert(j.length>0,"Found no members");var $;var q=true;for(var G=0,ie=j;GN){return $||j[0]}if(q&&!E.isPropertyDeclaration(ae)){if($!==undefined){return ae}q=false}$=ae}if($===undefined)return E.Debug.fail();return $}function getNodeToInsertConstantBefore(N,R){E.Debug.assert(!E.isClassLike(R));var j;for(var $=N;$!==R;$=$.parent){if(isScope($)){j=$}}for(var $=(j||N).parent;;$=$.parent){if(isBlockLike($)){var q=void 0;for(var G=0,ie=$.statements;GN.pos){break}q=ae}if(!q&&E.isCaseClause($)){E.Debug.assert(E.isSwitchStatement($.parent.parent),"Grandparent isn't a switch statement");return $.parent.parent}return E.Debug.checkDefined(q,"prevStatement failed to get set")}E.Debug.assert($!==R,"Didn't encounter a block-like before encountering scope")}}function getPropertyAssignmentsForWritesAndVariableDeclarations(N,R){var j=E.map(N,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));var $=E.map(R,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));return j===undefined?$:$===undefined?j:j.concat($)}function isReadonlyArray(N){return E.isArray(N)}function getEnclosingTextRange(N,R){return isReadonlyArray(N.range)?{pos:E.first(N.range).getStart(R),end:E.last(N.range).getEnd()}:N.range}var le;(function(E){E[E["Read"]=1]="Read";E[E["Write"]=2]="Write"})(le||(le={}));function collectReadsAndWrites(N,R,j,$,q,G){var ce=new E.Map;var le=[];var _e=[];var Ee=[];var Te=[];var we=[];var Ie=new E.Map;var Ne=[];var Me;var Le=!isReadonlyArray(N.range)?N.range:N.range.length===1&&E.isExpressionStatement(N.range[0])?N.range[0].expression:undefined;var Be;if(Le===undefined){var je=N.range;var Ue=E.first(je).getStart();var ze=E.last(je).end;Be=E.createFileDiagnostic($,Ue,ze-Ue,ie.expressionExpected)}else if(q.getTypeAtLocation(Le).flags&(16384|131072)){Be=E.createDiagnosticForNode(Le,ie.uselessConstantType)}for(var We=0,Je=R;We0){var Ye=new E.Map;var Ze=0;for(var et=Ke;et!==undefined&&Ze0&&(j.usages.size>0||j.typeParameterUsages.size>0)){var $=isReadonlyArray(N.range)?N.range[0]:N.range;Te[R].push(E.createDiagnosticForNode($,ie.cannotAccessVariablesFromNestedScopes))}var q=false;var G;le[R].usages.forEach((function(N){if(N.usage===2){q=true;if(N.symbol.flags&106500&&N.symbol.valueDeclaration&&E.hasEffectiveModifier(N.symbol.valueDeclaration,64)){G=N.symbol.valueDeclaration}}}));E.Debug.assert(isReadonlyArray(N.range)||Ne.length===0,"No variable declarations expected if something was extracted");if(q&&!isReadonlyArray(N.range)){var ae=E.createDiagnosticForNode(N.range,ie.cannotWriteInExpression);Ee[R].push(ae);Te[R].push(ae)}else if(G&&R>0){var ae=E.createDiagnosticForNode(G,ie.cannotExtractReadonlyPropertyInitializerOutsideConstructor);Ee[R].push(ae);Te[R].push(ae)}else if(Me){var ae=E.createDiagnosticForNode(Me,ie.cannotExtractExportedEntity);Ee[R].push(ae);Te[R].push(ae)}};for(var st=0;st=ce){return Ne}He.set(Ne,ce);if(Me){for(var Le=0,Be=le;Le=0){return}var j=E.isIdentifier(R)?getSymbolReferencedByIdentifier(R):q.getSymbolAtLocation(R);if(j){var $=E.find(we,(function(E){return E.symbol===j}));if($){if(E.isVariableDeclaration($)){var G=$.symbol.id.toString();if(!Ie.has(G)){Ne.push($);Ie.set(G,true)}}else{Me=Me||$}}}E.forEachChild(R,checkForUsedDeclarations)}function getSymbolReferencedByIdentifier(N){return N.parent&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N?q.getShorthandAssignmentValueSymbol(N.parent):q.getSymbolAtLocation(N)}function tryReplaceWithQualifiedNameOrPropertyAccess(N,R,j){if(!N){return undefined}var $=N.getDeclarations();if($&&$.some((function(E){return E.parent===R}))){return E.factory.createIdentifier(N.name)}var q=tryReplaceWithQualifiedNameOrPropertyAccess(N.parent,R,j);if(q===undefined){return undefined}return j?E.factory.createQualifiedName(q,E.factory.createIdentifier(N.name)):E.factory.createPropertyAccessExpression(q,N.name)}}function getExtractableParent(N){return E.findAncestor(N,(function(N){return N.parent&&isExtractableExpression(N)&&!E.isBinaryExpression(N.parent)}))}function isExtractableExpression(E){var N=E.parent;switch(N.kind){case 294:return false}switch(E.kind){case 10:return N.kind!==264&&N.kind!==268;case 223:case 199:case 201:return false;case 79:return N.kind!==201&&N.kind!==268&&N.kind!==273}return true}function isBlockLike(E){switch(E.kind){case 233:case 300:case 260:case 287:return true;default:return false}}function isInJSXContent(N){return(E.isJsxElement(N)||E.isJsxSelfClosingElement(N)||E.isJsxFragment(N))&&(E.isJsxElement(N.parent)||E.isJsxFragment(N.parent))}})(R=N.extractSymbol||(N.extractSymbol={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Extract type";var j={name:"Extract to type alias",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"};var q={name:"Extract to interface",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"};var G={name:"Extract to typedef",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};N.registerRefactor(R,{kinds:[j.kind,q.kind,G.kind],getAvailableActions:function(ie){var ae=getRangeToExtract(ie,ie.triggerReason==="invoked");if(!ae)return E.emptyArray;if(!N.isRefactorErrorInfo(ae)){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:ae.isJS?[G]:E.append([j],ae.typeElements&&q)}]}if(ie.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:[$($({},G),{notApplicableReason:ae.error}),$($({},j),{notApplicableReason:ae.error}),$($({},q),{notApplicableReason:ae.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){var ie=R.file;var ae=getRangeToExtract(R);E.Debug.assert(ae&&!N.isRefactorErrorInfo(ae),"Expected to find a range to extract");var ce=E.getUniqueName("NewType",ie);var le=E.textChanges.ChangeTracker.with(R,(function(N){switch($){case j.name:E.Debug.assert(!ae.isJS,"Invalid actionName/JS combo");return doTypeAliasChange(N,ie,ce,ae);case G.name:E.Debug.assert(ae.isJS,"Invalid actionName/JS combo");return doTypedefChange(N,ie,ce,ae);case q.name:E.Debug.assert(!ae.isJS&&!!ae.typeElements,"Invalid actionName/JS combo");return doInterfaceChange(N,ie,ce,ae);default:E.Debug.fail("Unexpected action name")}}));var _e=ie.fileName;var Ee=E.getRenameLocation(le,_e,ce,false);return{edits:le,renameFilename:_e,renameLocation:Ee}}});function getRangeToExtract(N,R){if(R===void 0){R=true}var j=N.file,$=N.startPosition;var q=E.isSourceFileJS(j);var G=E.getTokenAtPosition(j,$);var ie=E.createTextRangeFromSpan(E.getRefactorContextSpan(N));var ae=ie.pos===ie.end&&R;var ce=E.findAncestor(G,(function(N){return N.parent&&E.isTypeNode(N)&&!rangeContainsSkipTrivia(ie,N.parent,j)&&(ae||E.nodeOverlapsWithStartEnd(G,j,ie.pos,ie.end))}));if(!ce||!E.isTypeNode(ce))return{error:E.getLocaleSpecificMessage(E.Diagnostics.Selection_is_not_a_valid_type_node)};var le=N.program.getTypeChecker();var _e=E.Debug.checkDefined(E.findAncestor(ce,E.isStatement),"Should find a statement");var Ee=collectTypeParameters(le,ce,_e,j);if(!Ee)return{error:E.getLocaleSpecificMessage(E.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var Te=flattenTypeLiteralNodeReference(le,ce);return{isJS:q,selection:ce,firstStatement:_e,typeParameters:Ee,typeElements:Te}}function flattenTypeLiteralNodeReference(N,R){if(!R)return undefined;if(E.isIntersectionTypeNode(R)){var j=[];var $=new E.Map;for(var q=0,G=R.types;qj.pos}));if(q===-1)return undefined;var G=$[q];if(E.isNamedDeclaration(G)&&G.name&&E.rangeContainsRange(G.name,j)){return{toMove:[$[q]],afterLast:$[q+1]}}if(j.pos>G.getStart(R))return undefined;var ie=E.findIndex($,(function(E){return E.end>j.end}),q);if(ie!==-1&&(ie===0||$[ie].getStart(R)=q&&E.every(N,(function(E){return isValidParameterDeclaration(E,R)}))}function isValidParameterDeclaration(N,R){if(E.isRestParameter(N)){var j=R.getTypeAtLocation(N);if(!R.isArrayType(j)&&!R.isTupleType(j))return false}return!N.modifiers&&!N.decorators&&E.isIdentifier(N.name)}function isValidVariableDeclaration(N){return E.isVariableDeclaration(N)&&E.isVarConst(N)&&E.isIdentifier(N.name)&&!N.type}function hasThisParameter(N){return N.length>0&&E.isThis(N[0].name)}function getRefactorableParametersLength(E){if(hasThisParameter(E)){return E.length-1}return E.length}function getRefactorableParameters(N){if(hasThisParameter(N)){N=E.factory.createNodeArray(N.slice(1),N.hasTrailingComma)}return N}function createPropertyOrShorthandAssignment(N,R){if(E.isIdentifier(R)&&E.getTextOfIdentifierOrLiteral(R)===N){return E.factory.createShorthandPropertyAssignment(N)}return E.factory.createPropertyAssignment(N,R)}function createNewArgument(N,R){var j=getRefactorableParameters(N.parameters);var $=E.isRestParameter(E.last(j));var q=$?R.slice(0,j.length-1):R;var G=E.map(q,(function(N,R){var $=getParameterName(j[R]);var q=createPropertyOrShorthandAssignment($,N);E.suppressLeadingAndTrailingTrivia(q.name);if(E.isPropertyAssignment(q))E.suppressLeadingAndTrailingTrivia(q.initializer);E.copyComments(N,q);return q}));if($&&R.length>=j.length){var ie=R.slice(j.length-1);var ae=E.factory.createPropertyAssignment(getParameterName(E.last(j)),E.factory.createArrayLiteralExpression(ie));G.push(ae)}var ce=E.factory.createObjectLiteralExpression(G,false);return ce}function createNewParameters(N,R,j){var $=R.getTypeChecker();var q=getRefactorableParameters(N.parameters);var G=E.map(q,createBindingElementFromParameterDeclaration);var ie=E.factory.createObjectBindingPattern(G);var ae=createParameterTypeNode(q);var ce;if(E.every(q,isOptionalParameter)){ce=E.factory.createObjectLiteralExpression()}var le=E.factory.createParameterDeclaration(undefined,undefined,undefined,ie,undefined,ae,ce);if(hasThisParameter(N.parameters)){var _e=N.parameters[0];var Ee=E.factory.createParameterDeclaration(undefined,undefined,undefined,_e.name,undefined,_e.type);E.suppressLeadingAndTrailingTrivia(Ee.name);E.copyComments(_e.name,Ee.name);if(_e.type){E.suppressLeadingAndTrailingTrivia(Ee.type);E.copyComments(_e.type,Ee.type)}return E.factory.createNodeArray([Ee,le])}return E.factory.createNodeArray([le]);function createBindingElementFromParameterDeclaration(N){var R=E.factory.createBindingElement(undefined,undefined,getParameterName(N),E.isRestParameter(N)&&isOptionalParameter(N)?E.factory.createArrayLiteralExpression():N.initializer);E.suppressLeadingAndTrailingTrivia(R);if(N.initializer&&R.initializer){E.copyComments(N.initializer,R.initializer)}return R}function createParameterTypeNode(N){var R=E.map(N,createPropertySignatureFromParameterDeclaration);var j=E.addEmitFlags(E.factory.createTypeLiteralNode(R),1);return j}function createPropertySignatureFromParameterDeclaration(N){var R=N.type;if(!R&&(N.initializer||E.isRestParameter(N))){R=getTypeNode(N)}var j=E.factory.createPropertySignature(undefined,getParameterName(N),isOptionalParameter(N)?E.factory.createToken(57):N.questionToken,R);E.suppressLeadingAndTrailingTrivia(j);E.copyComments(N.name,j.name);if(N.type&&j.type){E.copyComments(N.type,j.type)}return j}function getTypeNode(N){var q=$.getTypeAtLocation(N);return E.getTypeNodeIfAccessible(q,N,R,j)}function isOptionalParameter(N){if(E.isRestParameter(N)){var R=$.getTypeAtLocation(N);return!$.isTupleType(R)}return $.isOptionalParameter(N)}}function getParameterName(N){return E.getTextOfIdentifierOrLiteral(N.name)}function getClassNames(N){switch(N.parent.kind){case 255:var R=N.parent;if(R.name)return[R.name];var j=E.Debug.checkDefined(E.findModifier(R,88),"Nameless class declaration should be a default export");return[j];case 224:var $=N.parent;var q=N.parent.parent;var G=$.name;if(G)return[G,q.name];return[q.name]}}function getFunctionNames(N){switch(N.kind){case 254:if(N.name)return[N.name];var R=E.Debug.checkDefined(E.findModifier(N,88),"Nameless function declaration should be a default export");return[R];case 167:return[N.name];case 169:var j=E.Debug.checkDefined(E.findChildOfKind(N,133,N.getSourceFile()),"Constructor declaration should have constructor keyword");if(N.parent.kind===224){var $=N.parent.parent;return[$.name,j]}return[j];case 212:return[N.parent.name];case 211:if(N.name)return[N.name,N.parent.name];return[N.parent.name];default:return E.Debug.assertNever(N,"Unexpected function declaration kind "+N.kind)}}})(R=N.convertParamsToDestructuredObject||(N.convertParamsToDestructuredObject={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert to template string";var q=E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_template_string);var G={name:j,description:q,kind:"refactor.rewrite.string"};N.registerRefactor(j,{kinds:[G.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(N){var R=N.file,ie=N.startPosition;var ae=getNodeOrParentOfParentheses(R,ie);var ce=getParentBinaryExpression(ae);var le={name:j,description:q,actions:[]};if(E.isBinaryExpression(ce)&&treeToArray(ce).isValidConcatenation){le.actions.push(G);return[le]}else if(N.preferences.provideRefactorNotApplicableReason){le.actions.push($($({},G),{notApplicableReason:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_string_concatenation)}));return[le]}return E.emptyArray}function getNodeOrParentOfParentheses(N,R){var j=E.getTokenAtPosition(N,R);var $=getParentBinaryExpression(j);var q=!treeToArray($).isValidConcatenation;if(q&&E.isParenthesizedExpression($.parent)&&E.isBinaryExpression($.parent.parent)){return $.parent.parent}return j}function getEditsForAction(N,R){var j=N.file,$=N.startPosition;var G=getNodeOrParentOfParentheses(j,$);switch(R){case q:return{edits:getEditsForToTemplateLiteral(N,G)};default:return E.Debug.fail("invalid action")}}function getEditsForToTemplateLiteral(N,R){var j=getParentBinaryExpression(R);var $=N.file;var q=nodesToTemplate(treeToArray(j),$);var G=E.getTrailingCommentRanges($.text,j.end);if(G){var ie=G[G.length-1];var ae={pos:G[0].pos,end:ie.end};return E.textChanges.ChangeTracker.with(N,(function(E){E.deleteRange($,ae);E.replaceNode($,j,q)}))}else{return E.textChanges.ChangeTracker.with(N,(function(E){return E.replaceNode($,j,q)}))}}function isNotEqualsOperator(E){return E.operatorToken.kind!==63}function getParentBinaryExpression(N){var R=E.findAncestor(N.parent,(function(N){switch(N.kind){case 204:case 205:return false;case 221:case 219:return!(E.isBinaryExpression(N.parent)&&isNotEqualsOperator(N.parent));default:return"quit"}}));return R||N}function treeToArray(N){var loop=function(N){if(!E.isBinaryExpression(N)){return{nodes:[N],operators:[],validOperators:true,hasString:E.isStringLiteral(N)||E.isNoSubstitutionTemplateLiteral(N)}}var R=loop(N.left),j=R.nodes,$=R.operators,q=R.hasString,G=R.validOperators;if(!(q||E.isStringLiteral(N.right)||E.isTemplateExpression(N.right))){return{nodes:[N],operators:[],hasString:false,validOperators:true}}var ie=N.operatorToken.kind===39;var ae=G&&ie;j.push(N.right);$.push(N.operatorToken);return{nodes:j,operators:$,hasString:true,validOperators:ae}};var R=loop(N),j=R.nodes,$=R.operators,q=R.validOperators,G=R.hasString;return{nodes:j,operators:$,isValidConcatenation:q&&G}}var copyTrailingOperatorComments=function(N,R){return function(j,$){if(j0){var G=$.shift();E.copyTrailingComments(N[G],q,R,3,false);j(G,q)}}};function escapeRawStringForTemplate(E){return E.replace(/\\.|[$`]/g,(function(E){return E[0]==="\\"?E:"\\"+E}))}function getRawTextOfTemplate(N){var R=E.isTemplateHead(N)||E.isTemplateMiddle(N)?-2:-1;return E.getTextOfNode(N).slice(1,R)}function concatConsecutiveString(N,R){var j=[];var $="",q="";while(N1){return N.getUnionType(E.mapDefined(j,(function(E){return E.getReturnType()})))}}var $=N.getSignatureFromDeclaration(R);if($){return N.getReturnTypeOfSignature($)}}})(R=N.inferFunctionReturnType||(N.inferFunctionReturnType={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){E.servicesVersion="0.8";function createNode(R,j,$,q){var G=E.isNodeKind(R)?new N(R,j,$):R===79?new ce(79,j,$):R===80?new le(80,j,$):new ie(R,j,$);G.parent=q;G.flags=q.flags&25358336;return G}var N=function(){function NodeObject(E,N,R){this.pos=N;this.end=R;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.kind=E}NodeObject.prototype.assertHasRealPosition=function(N){E.Debug.assert(!E.positionIsSynthesized(this.pos)&&!E.positionIsSynthesized(this.end),N||"Node must have a real position for this operation")};NodeObject.prototype.getSourceFile=function(){return E.getSourceFileOfNode(this)};NodeObject.prototype.getStart=function(N,R){this.assertHasRealPosition();return E.getTokenPosOfNode(this,N,R)};NodeObject.prototype.getFullStart=function(){this.assertHasRealPosition();return this.pos};NodeObject.prototype.getEnd=function(){this.assertHasRealPosition();return this.end};NodeObject.prototype.getWidth=function(E){this.assertHasRealPosition();return this.getEnd()-this.getStart(E)};NodeObject.prototype.getFullWidth=function(){this.assertHasRealPosition();return this.end-this.pos};NodeObject.prototype.getLeadingTriviaWidth=function(E){this.assertHasRealPosition();return this.getStart(E)-this.pos};NodeObject.prototype.getFullText=function(E){this.assertHasRealPosition();return(E||this.getSourceFile()).text.substring(this.pos,this.end)};NodeObject.prototype.getText=function(E){this.assertHasRealPosition();if(!E){E=this.getSourceFile()}return E.text.substring(this.getStart(E),this.getEnd())};NodeObject.prototype.getChildCount=function(E){return this.getChildren(E).length};NodeObject.prototype.getChildAt=function(E,N){return this.getChildren(N)[E]};NodeObject.prototype.getChildren=function(E){this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine");return this._children||(this._children=createChildren(this,E))};NodeObject.prototype.getFirstToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);if(!R.length){return undefined}var j=E.find(R,(function(E){return E.kind<304||E.kind>342}));return j.kind<159?j:j.getFirstToken(N)};NodeObject.prototype.getLastToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);var j=E.lastOrUndefined(R);if(!j){return undefined}return j.kind<159?j:j.getLastToken(N)};NodeObject.prototype.forEachChild=function(N,R){return E.forEachChild(this,N,R)};return NodeObject}();function createChildren(N,R){if(!E.isNodeKind(N.kind)){return E.emptyArray}var j=[];if(E.isJSDocCommentContainingNode(N)){N.forEachChild((function(E){j.push(E)}));return j}E.scanner.setText((R||N.getSourceFile()).text);var $=N.pos;var processNode=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(E);$=E.end};var processNodes=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(createSyntaxList(E,N));$=E.end};E.forEach(N.jsDoc,processNode);$=N.pos;N.forEachChild(processNode,processNodes);addSyntheticNodes(j,$,N.end,N);E.scanner.setText(undefined);return j}function addSyntheticNodes(N,R,j,$){E.scanner.setTextPos(R);while(R=R.length){j=this.getEnd()}if(!j){j=R[N+1]-1}var $=this.getFullText();return $[j]==="\n"&&$[j-1]==="\r"?j-1:j};SourceFileObject.prototype.getNamedDeclarations=function(){if(!this.namedDeclarations){this.namedDeclarations=this.computeNamedDeclarations()}return this.namedDeclarations};SourceFileObject.prototype.computeNamedDeclarations=function(){var N=E.createMultiMap();this.forEachChild(visit);return N;function addDeclaration(E){var R=getDeclarationName(E);if(R){N.add(R,E)}}function getDeclarations(E){var R=N.get(E);if(!R){N.set(E,R=[])}return R}function getDeclarationName(N){var R=E.getNonAssignedNameOfDeclaration(N);return R&&(E.isComputedPropertyName(R)&&E.isPropertyAccessExpression(R.expression)?R.expression.name.text:E.isPropertyName(R)?E.getNameFromPropertyName(R):undefined)}function visit(N){switch(N.kind){case 254:case 211:case 167:case 166:var R=N;var j=getDeclarationName(R);if(j){var $=getDeclarations(j);var q=E.lastOrUndefined($);if(q&&R.parent===q.parent&&R.symbol===q.symbol){if(R.body&&!q.body){$[$.length-1]=R}}else{$.push(R)}}E.forEachChild(N,visit);break;case 255:case 224:case 256:case 257:case 258:case 259:case 263:case 273:case 268:case 265:case 266:case 170:case 171:case 180:addDeclaration(N);E.forEachChild(N,visit);break;case 162:if(!E.hasSyntacticModifier(N,16476)){break}case 252:case 201:{var G=N;if(E.isBindingPattern(G.name)){E.forEachChild(G.name,visit);break}if(G.initializer){visit(G.initializer)}}case 294:case 165:case 164:addDeclaration(N);break;case 270:var ie=N;if(ie.exportClause){if(E.isNamedExports(ie.exportClause)){E.forEach(ie.exportClause.elements,visit)}else{visit(ie.exportClause.name)}}break;case 264:var ae=N.importClause;if(ae){if(ae.name){addDeclaration(ae.name)}if(ae.namedBindings){if(ae.namedBindings.kind===266){addDeclaration(ae.namedBindings)}else{E.forEach(ae.namedBindings.elements,visit)}}}break;case 219:if(E.getAssignmentDeclarationKind(N)!==0){addDeclaration(N)}default:E.forEachChild(N,visit)}}};return SourceFileObject}(N);var we=function(){function SourceMapSourceObject(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R}SourceMapSourceObject.prototype.getLineAndCharacterOfPosition=function(N){return E.getLineAndCharacterOfPosition(this,N)};return SourceMapSourceObject}();function getServicesObjectAllocator(){return{getNodeConstructor:function(){return N},getTokenConstructor:function(){return ie},getIdentifierConstructor:function(){return ce},getPrivateIdentifierConstructor:function(){return le},getSourceFileConstructor:function(){return Te},getSymbolConstructor:function(){return G},getTypeConstructor:function(){return _e},getSignatureConstructor:function(){return Ee},getSourceMapSourceConstructor:function(){return we}}}function toEditorSettings(N){var R=true;for(var j in N){if(E.hasProperty(N,j)&&!isCamelCase(j)){R=false;break}}if(R){return N}var $={};for(var j in N){if(E.hasProperty(N,j)){var q=isCamelCase(j)?j:j.charAt(0).toLowerCase()+j.substr(1);$[q]=N[j]}}return $}E.toEditorSettings=toEditorSettings;function isCamelCase(E){return!E.length||E.charAt(0)===E.charAt(0).toLowerCase()}function displayPartsToString(N){if(N){return E.map(N,(function(E){return E.text})).join("")}return""}E.displayPartsToString=displayPartsToString;function getDefaultCompilerOptions(){return{target:1,jsx:1}}E.getDefaultCompilerOptions=getDefaultCompilerOptions;function getSupportedCodeFixes(){return E.codefix.getSupportedErrorCodes()}E.getSupportedCodeFixes=getSupportedCodeFixes;var Ie=function(){function HostCache(N,R){this.host=N;this.currentDirectory=N.getCurrentDirectory();this.fileNameToEntry=new E.Map;var j=N.getScriptFileNames();for(var $=0,q=j;$=this.throttleWaitMilliseconds){this.lastCancellationCheckTime=N;return this.hostCancellationToken.isCancellationRequested()}return false};ThrottledCancellationToken.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested()){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"});throw new E.OperationCanceledException}};return ThrottledCancellationToken}();E.ThrottledCancellationToken=Be;var je=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"];var Ue=j(j([],je,true),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],false);function createLanguageService(N,R,q){var G;if(R===void 0){R=E.createDocumentRegistry(N.useCaseSensitiveFileNames&&N.useCaseSensitiveFileNames(),N.getCurrentDirectory())}var ie;if(q===undefined){ie=E.LanguageServiceMode.Semantic}else if(typeof q==="boolean"){ie=q?E.LanguageServiceMode.Syntactic:E.LanguageServiceMode.Semantic}else{ie=q}var ae=new Ne(N);var ce;var le;var _e=0;var Ee=N.getCancellationToken?new Le(N.getCancellationToken()):Me;var Te=N.getCurrentDirectory();if(!E.localizedDiagnosticMessages&&N.getLocalizedDiagnosticMessages){E.setLocalizedDiagnosticMessages(N.getLocalizedDiagnosticMessages())}function log(E){if(N.log){N.log(E)}}var we=E.hostUsesCaseSensitiveFileNames(N);var Be=E.createGetCanonicalFileName(we);var ze=E.getSourceMapper({useCaseSensitiveFileNames:function(){return we},getCurrentDirectory:function(){return Te},getProgram:getProgram,fileExists:E.maybeBind(N,N.fileExists),readFile:E.maybeBind(N,N.readFile),getDocumentPositionMapper:E.maybeBind(N,N.getDocumentPositionMapper),getSourceFileLike:E.maybeBind(N,N.getSourceFileLike),log:log});function getValidSourceFile(E){var N=ce.getSourceFile(E);if(!N){var R=new Error("Could not find source file: '"+E+"'.");R.ProgramFiles=ce.getSourceFiles().map((function(E){return E.fileName}));throw R}return N}function synchronizeHostData(){var j,$,q;E.Debug.assert(ie!==E.LanguageServiceMode.Syntactic);if(N.getProjectVersion){var G=N.getProjectVersion();if(G){if(le===G&&!((j=N.hasChangedAutomaticTypeDirectiveNames)===null||j===void 0?void 0:j.call(N))){return}le=G}}var ae=N.getTypeRootsVersion?N.getTypeRootsVersion():0;if(_e!==ae){log("TypeRoots version has changed; provide new program");ce=undefined;_e=ae}var Ne=new Ie(N,Be);var Me=Ne.getRootFileNames();var Le=N.getCompilationSettings()||getDefaultCompilerOptions();var je=N.hasInvalidatedResolution||E.returnFalse;var Ue=E.maybeBind(N,N.hasChangedAutomaticTypeDirectiveNames);var We=($=N.getProjectReferences)===null||$===void 0?void 0:$.call(N);var Je;var Ve={useCaseSensitiveFileNames:we,fileExists:fileExists,readFile:readFile,readDirectory:readDirectory,trace:E.maybeBind(N,N.trace),getCurrentDirectory:function(){return Te},onUnRecoverableConfigFileDiagnostic:E.noop};if(E.isProgramUptoDate(ce,Me,Le,(function(E,R){return N.getScriptVersion(R)}),fileExists,je,Ue,getParsedCommandLine,We)){return}var qe={getSourceFile:getOrCreateSourceFile,getSourceFileByPath:getOrCreateSourceFileByPath,getCancellationToken:function(){return Ee},getCanonicalFileName:Be,useCaseSensitiveFileNames:function(){return we},getNewLine:function(){return E.getNewLineCharacter(Le,(function(){return E.getNewLineOrDefaultFromHost(N)}))},getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:E.noop,getCurrentDirectory:function(){return Te},fileExists:fileExists,readFile:readFile,getSymlinkCache:E.maybeBind(N,N.getSymlinkCache),realpath:E.maybeBind(N,N.realpath),directoryExists:function(R){return E.directoryProbablyExists(R,N)},getDirectories:function(E){return N.getDirectories?N.getDirectories(E):[]},readDirectory:readDirectory,onReleaseOldSourceFile:onReleaseOldSourceFile,onReleaseParsedCommandLine:onReleaseParsedCommandLine,hasInvalidatedResolution:je,hasChangedAutomaticTypeDirectiveNames:Ue,trace:Ve.trace,resolveModuleNames:E.maybeBind(N,N.resolveModuleNames),resolveTypeReferenceDirectives:E.maybeBind(N,N.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:E.maybeBind(N,N.useSourceOfProjectReferenceRedirect),getParsedCommandLine:getParsedCommandLine};(q=N.setCompilerHost)===null||q===void 0?void 0:q.call(N,qe);var He=R.getKeyForCompilationSettings(Le);var Ge={rootNames:Me,options:Le,host:qe,oldProgram:ce,projectReferences:We};ce=E.createProgram(Ge);Ne=undefined;Je=undefined;ze.clearCache();ce.getTypeChecker();return;function getParsedCommandLine(R){var j=E.toPath(R,Te,Be);var $=Je===null||Je===void 0?void 0:Je.get(j);if($!==undefined)return $||undefined;var q=N.getParsedCommandLine?N.getParsedCommandLine(R):getParsedCommandLineOfConfigFileUsingSourceFile(R);(Je||(Je=new E.Map)).set(j,q||false);return q}function getParsedCommandLineOfConfigFileUsingSourceFile(N){var R=getOrCreateSourceFile(N,100);if(!R)return undefined;R.path=E.toPath(N,Te,Be);R.resolvedPath=R.path;R.originalFileName=R.fileName;return E.parseJsonSourceFileConfigFileContent(R,Ve,E.getNormalizedAbsolutePath(E.getDirectoryPath(N),Te),undefined,E.getNormalizedAbsolutePath(N,Te))}function onReleaseParsedCommandLine(E,R,j){var $;if(N.getParsedCommandLine){($=N.onReleaseParsedCommandLine)===null||$===void 0?void 0:$.call(N,E,R,j)}else if(R){onReleaseOldSourceFile(R.sourceFile,j)}}function fileExists(R){var j=E.toPath(R,Te,Be);var $=Ne&&Ne.getEntryByPath(j);return $?!E.isString($):!!N.fileExists&&N.fileExists(R)}function readFile(R){var j=E.toPath(R,Te,Be);var $=Ne&&Ne.getEntryByPath(j);if($){return E.isString($)?undefined:E.getSnapshotText($.scriptSnapshot)}return N.readFile&&N.readFile(R)}function readDirectory(R,j,$,q,G){E.Debug.checkDefined(N.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'");return N.readDirectory(R,j,$,q,G)}function onReleaseOldSourceFile(E,N){var j=R.getKeyForCompilationSettings(N);R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}function getOrCreateSourceFile(N,R,j,$){return getOrCreateSourceFileByPath(N,E.toPath(N,Te,Be),R,j,$)}function getOrCreateSourceFileByPath(N,j,$,q,G){E.Debug.assert(Ne!==undefined,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var ie=Ne&&Ne.getOrCreateEntryByPath(N,j);if(!ie){return undefined}if(!G){var ae=ce&&ce.getSourceFileByPath(j);if(ae){if(ie.scriptKind===ae.scriptKind){return R.updateDocumentWithKey(N,j,Le,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}else{R.releaseDocumentWithKey(ae.resolvedPath,R.getKeyForCompilationSettings(ce.getCompilerOptions()),ae.scriptKind)}}}return R.acquireDocumentWithKey(N,j,Le,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}}function getProgram(){if(ie===E.LanguageServiceMode.Syntactic){E.Debug.assert(ce===undefined);return undefined}synchronizeHostData();return ce}function getAutoImportProvider(){var E;return(E=N.getPackageJsonAutoImportProvider)===null||E===void 0?void 0:E.call(N)}function cleanupSemanticCache(){ce=undefined}function dispose(){if(ce){var j=R.getKeyForCompilationSettings(ce.getCompilerOptions());E.forEach(ce.getSourceFiles(),(function(E){return R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}));ce=undefined}N=undefined}function getSyntacticDiagnostics(E){synchronizeHostData();return ce.getSyntacticDiagnostics(getValidSourceFile(E),Ee).slice()}function getSemanticDiagnostics(N){synchronizeHostData();var R=getValidSourceFile(N);var $=ce.getSemanticDiagnostics(R,Ee);if(!E.getEmitDeclarations(ce.getCompilerOptions())){return $.slice()}var q=ce.getDeclarationDiagnostics(R,Ee);return j(j([],$,true),q,true)}function getSuggestionDiagnostics(N){synchronizeHostData();return E.computeSuggestionDiagnostics(getValidSourceFile(N),ce,Ee)}function getCompilerOptionsDiagnostics(){synchronizeHostData();return j(j([],ce.getOptionsDiagnostics(Ee),true),ce.getGlobalDiagnostics(Ee),true)}function getCompletionsAtPosition(R,j,q){if(q===void 0){q=E.emptyOptions}var G=$($({},E.identity(q)),{includeCompletionsForModuleExports:q.includeCompletionsForModuleExports||q.includeExternalModuleExports,includeCompletionsWithInsertText:q.includeCompletionsWithInsertText||q.includeInsertTextCompletions});synchronizeHostData();return E.Completions.getCompletionsAtPosition(N,ce,log,getValidSourceFile(R),j,G,q.triggerCharacter,q.triggerKind,Ee)}function getCompletionEntryDetails(R,j,$,q,G,ie,ae){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntryDetails(ce,log,getValidSourceFile(R),j,{name:$,source:G,data:ae},N,q&&E.formatting.getFormatContext(q,N),ie,Ee)}function getCompletionEntrySymbol(R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntrySymbol(ce,log,getValidSourceFile(R),j,{name:$,source:q},N,G)}function getQuickInfoAtPosition(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.getTouchingPropertyName(j,R);if($===j){return undefined}var q=ce.getTypeChecker();var G=getNodeForQuickInfo($);var ie=getSymbolAtLocationForQuickInfo(G,q);if(!ie||q.isUnknownSymbol(ie)){var ae=shouldGetType(j,G,R)?q.getTypeAtLocation(G):undefined;return ae&&{kind:"",kindModifiers:"",textSpan:E.createTextSpanFromNode(G,j),displayParts:q.runWithCancellationToken(Ee,(function(N){return E.typeToDisplayParts(N,ae,E.getContainerNode(G))})),documentation:ae.symbol?ae.symbol.getDocumentationComment(q):undefined,tags:ae.symbol?ae.symbol.getJsDocTags(q):undefined}}var le=q.runWithCancellationToken(Ee,(function(N){return E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(N,ie,j,E.getContainerNode(G),G)})),_e=le.symbolKind,Te=le.displayParts,we=le.documentation,Ie=le.tags;return{kind:_e,kindModifiers:E.SymbolDisplay.getSymbolModifiers(q,ie),textSpan:E.createTextSpanFromNode(G,j),displayParts:Te,documentation:we,tags:Ie}}function getNodeForQuickInfo(N){if(E.isNewExpression(N.parent)&&N.pos===N.parent.pos){return N.parent.expression}if(E.isNamedTupleMember(N.parent)&&N.pos===N.parent.pos){return N.parent}return N}function shouldGetType(N,R,j){switch(R.kind){case 79:return!E.isLabelName(R)&&!E.isTagName(R)&&!E.isConstTypeReference(R.parent);case 204:case 159:return!E.isInComment(N,j);case 108:case 190:case 106:case 195:return true;default:return false}}function getDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAtPosition(ce,getValidSourceFile(N),R)}function getDefinitionAndBoundSpan(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAndBoundSpan(ce,getValidSourceFile(N),R)}function getTypeDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getTypeDefinitionAtPosition(ce.getTypeChecker(),getValidSourceFile(N),R)}function getImplementationAtPosition(N,R){synchronizeHostData();return E.FindAllReferences.getImplementationsAtPosition(ce,Ee,ce.getSourceFiles(),getValidSourceFile(N),R)}function getOccurrencesAtPosition(N,R){return E.flatMap(getDocumentHighlights(N,R,[N]),(function(E){return E.highlightSpans.map((function(N){return $($({fileName:E.fileName,textSpan:N.textSpan,isWriteAccess:N.kind==="writtenReference",isDefinition:false},N.isInString&&{isInString:true}),N.contextSpan&&{contextSpan:N.contextSpan})}))}))}function getDocumentHighlights(N,R,j){var $=E.normalizePath(N);E.Debug.assert(j.some((function(N){return E.normalizePath(N)===$})));synchronizeHostData();var q=E.mapDefined(j,(function(E){return ce.getSourceFile(E)}));var G=getValidSourceFile(N);return E.DocumentHighlights.getDocumentHighlights(ce,Ee,G,R,q)}function findRenameLocations(N,R,j,q,G){synchronizeHostData();var ie=getValidSourceFile(N);var ae=E.getAdjustedRenameLocation(E.getTouchingPropertyName(ie,R));if(E.isIdentifier(ae)&&(E.isJsxOpeningElement(ae.parent)||E.isJsxClosingElement(ae.parent))&&E.isIntrinsicJsxName(ae.escapedText)){var ce=ae.parent.parent,le=ce.openingElement,_e=ce.closingElement;return[le,_e].map((function(N){var R=E.createTextSpanFromNode(N.tagName,ie);return $({fileName:ie.fileName,textSpan:R},E.FindAllReferences.toContextSpan(R,ie,N.parent))}))}else{return getReferencesWorker(ae,R,{findInStrings:j,findInComments:q,providePrefixAndSuffixTextForRename:G,use:2},(function(N,R,j){return E.FindAllReferences.toRenameLocation(N,R,j,G||false)}))}}function getReferencesAtPosition(N,R){synchronizeHostData();return getReferencesWorker(E.getTouchingPropertyName(getValidSourceFile(N),R),R,{use:1},E.FindAllReferences.toReferenceEntry)}function getReferencesWorker(N,R,j,$){synchronizeHostData();var q=j&&j.use===2?ce.getSourceFiles().filter((function(E){return!ce.isSourceFileDefaultLibrary(E)})):ce.getSourceFiles();return E.FindAllReferences.findReferenceOrRenameEntries(ce,Ee,q,N,R,j,$)}function findReferences(N,R){synchronizeHostData();return E.FindAllReferences.findReferencedSymbols(ce,Ee,ce.getSourceFiles(),getValidSourceFile(N),R)}function getFileReferences(N){synchronizeHostData();return E.FindAllReferences.Core.getReferencesForFileName(N,ce,ce.getSourceFiles()).map(E.FindAllReferences.toReferenceEntry)}function getNavigateToItems(N,R,j,$){if($===void 0){$=false}synchronizeHostData();var q=j?[getValidSourceFile(j)]:ce.getSourceFiles();return E.NavigateTo.getNavigateToItems(q,ce.getTypeChecker(),Ee,N,R,$)}function getEmitOutput(R,j,$){synchronizeHostData();var q=getValidSourceFile(R);var G=N.getCustomTransformers&&N.getCustomTransformers();return E.getFileEmitOutput(ce,q,!!j,Ee,G,$)}function getSignatureHelpItems(N,R,j){var $=j===void 0?E.emptyOptions:j,q=$.triggerReason;synchronizeHostData();var G=getValidSourceFile(N);return E.SignatureHelp.getSignatureHelpItems(ce,G,R,q,Ee)}function getNonBoundSourceFile(E){return ae.getCurrentSourceFile(E)}function getNameOrDottedNameSpan(N,R,j){var $=ae.getCurrentSourceFile(N);var q=E.getTouchingPropertyName($,R);if(q===$){return undefined}switch(q.kind){case 204:case 159:case 10:case 95:case 110:case 104:case 106:case 108:case 190:case 79:break;default:return undefined}var G=q;while(true){if(E.isRightSideOfPropertyAccess(G)||E.isRightSideOfQualifiedName(G)){G=G.parent}else if(E.isNameOfModuleDeclaration(G)){if(G.parent.parent.kind===259&&G.parent.parent.body===G.parent){G=G.parent.parent.name}else{break}}else{break}}return E.createTextSpanFromBounds(G.getStart(),q.getEnd())}function getBreakpointStatementAtPosition(N,R){var j=ae.getCurrentSourceFile(N);return E.BreakpointResolver.spanInSourceFileAtLocation(j,R)}function getNavigationBarItems(N){return E.NavigationBar.getNavigationBarItems(ae.getCurrentSourceFile(N),Ee)}function getNavigationTree(N){return E.NavigationBar.getNavigationTree(ae.getCurrentSourceFile(N),Ee)}function getSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="2020"){return E.classifier.v2020.getSemanticClassifications(ce,Ee,getValidSourceFile(N),R)}else{return E.getSemanticClassifications(ce.getTypeChecker(),Ee,getValidSourceFile(N),ce.getClassifiableNames(),R)}}function getEncodedSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="original"){return E.getEncodedSemanticClassifications(ce.getTypeChecker(),Ee,getValidSourceFile(N),ce.getClassifiableNames(),R)}else{return E.classifier.v2020.getEncodedSemanticClassifications(ce,Ee,getValidSourceFile(N),R)}}function getSyntacticClassifications(N,R){return E.getSyntacticClassifications(Ee,ae.getCurrentSourceFile(N),R)}function getEncodedSyntacticClassifications(N,R){return E.getEncodedSyntacticClassifications(Ee,ae.getCurrentSourceFile(N),R)}function getOutliningSpans(N){var R=ae.getCurrentSourceFile(N);return E.OutliningElementsCollector.collectElements(R,Ee)}var We=new E.Map(E.getEntries((G={},G[18]=19,G[20]=21,G[22]=23,G[31]=29,G)));We.forEach((function(E,N){return We.set(E.toString(),Number(N))}));function getBraceMatchingAtPosition(N,R){var j=ae.getCurrentSourceFile(N);var $=E.getTouchingToken(j,R);var q=$.getStart(j)===R?We.get($.kind.toString()):undefined;var G=q&&E.findChildOfKind($.parent,q,j);return G?[E.createTextSpanFromNode($,j),E.createTextSpanFromNode(G,j)].sort((function(E,N){return E.start-N.start})):E.emptyArray}function getIndentationAtPosition(N,R,j){var $=E.timestamp();var q=toEditorSettings(j);var G=ae.getCurrentSourceFile(N);log("getIndentationAtPosition: getCurrentSourceFile: "+(E.timestamp()-$));$=E.timestamp();var ie=E.formatting.SmartIndenter.getIndentation(R,G,q);log("getIndentationAtPosition: computeIndentation : "+(E.timestamp()-$));return ie}function getFormattingEditsForRange(R,j,$,q){var G=ae.getCurrentSourceFile(R);return E.formatting.formatSelection(j,$,G,E.formatting.getFormatContext(toEditorSettings(q),N))}function getFormattingEditsForDocument(R,j){return E.formatting.formatDocument(ae.getCurrentSourceFile(R),E.formatting.getFormatContext(toEditorSettings(j),N))}function getFormattingEditsAfterKeystroke(R,j,$,q){var G=ae.getCurrentSourceFile(R);var ie=E.formatting.getFormatContext(toEditorSettings(q),N);if(!E.isInComment(G,j)){switch($){case"{":return E.formatting.formatOnOpeningCurly(j,G,ie);case"}":return E.formatting.formatOnClosingCurly(j,G,ie);case";":return E.formatting.formatOnSemicolon(j,G,ie);case"\n":return E.formatting.formatOnEnter(j,G,ie)}}return[]}function getCodeFixesAtPosition(R,j,$,q,G,ie){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();var ae=getValidSourceFile(R);var le=E.createTextSpanFromBounds(j,$);var _e=E.formatting.getFormatContext(G,N);return E.flatMap(E.deduplicate(q,E.equateValues,E.compareValues),(function(R){Ee.throwIfCancellationRequested();return E.codefix.getFixes({errorCode:R,sourceFile:ae,span:le,program:ce,host:N,cancellationToken:Ee,formatContext:_e,preferences:ie})}))}function getCombinedCodeFix(R,j,$,q){if(q===void 0){q=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var G=getValidSourceFile(R.fileName);var ie=E.formatting.getFormatContext($,N);return E.codefix.getAllFixes({fixId:j,sourceFile:G,program:ce,host:N,cancellationToken:Ee,formatContext:ie,preferences:q})}function organizeImports(R,j,$){if($===void 0){$=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var q=getValidSourceFile(R.fileName);var G=E.formatting.getFormatContext(j,N);return E.OrganizeImports.organizeImports(q,G,N,ce,$,R.skipDestructiveCodeActions)}function getEditsForFileRename(R,j,$,q){if(q===void 0){q=E.emptyOptions}return E.getEditsForFileRename(getProgram(),R,j,N,E.formatting.getFormatContext($,N),q,ze)}function applyCodeActionCommand(N,R){var j=typeof N==="string"?R:N;return E.isArray(j)?Promise.all(j.map((function(E){return applySingleCodeActionCommand(E)}))):applySingleCodeActionCommand(j)}function applySingleCodeActionCommand(R){var getPath=function(N){return E.toPath(N,Te,Be)};E.Debug.assertEqual(R.type,"install package");return N.installPackage?N.installPackage({fileName:getPath(R.file),packageName:R.packageName}):Promise.reject("Host does not implement `installPackage`")}function getDocCommentTemplateAtPosition(R,j,$){return E.JsDoc.getDocCommentTemplateAtPosition(E.getNewLineOrDefaultFromHost(N),ae.getCurrentSourceFile(R),j,$)}function isValidBraceCompletionAtPosition(N,R,j){if(j===60){return false}var $=ae.getCurrentSourceFile(N);if(E.isInString($,R)){return false}if(E.isInsideJsxElementOrAttribute($,R)){return j===123}if(E.isInTemplateString($,R)){return false}switch(j){case 39:case 34:case 96:return!E.isInComment($,R)}return true}function getJsxClosingTagAtPosition(N,R){var j=ae.getCurrentSourceFile(N);var $=E.findPrecedingToken(R,j);if(!$)return undefined;var q=$.kind===31&&E.isJsxOpeningElement($.parent)?$.parent.parent:E.isJsxText($)?$.parent:undefined;if(q&&isUnclosedTag(q)){return{newText:""}}}function getLinesForRange(E,N){return{lineStarts:E.getLineStarts(),firstLine:E.getLineAndCharacterOfPosition(N.pos).line,lastLine:E.getLineAndCharacterOfPosition(N.end).line}}function toggleLineComment(N,R,j){var $=ae.getCurrentSourceFile(N);var q=[];var G=getLinesForRange($,R),ie=G.lineStarts,ce=G.firstLine,le=G.lastLine;var _e=j||false;var Ee=Number.MAX_VALUE;var Te=new E.Map;var we=new RegExp(/\S/);var Ie=E.isInsideJsxElement($,ie[ce]);var Ne=Ie?"{/*":"//";for(var Me=ce;Me<=le;Me++){var Le=$.text.substring(ie[Me],$.getLineEndOfPosition(ie[Me]));var Be=we.exec(Le);if(Be){Ee=Math.min(Ee,Be.index);Te.set(Me.toString(),Be.index);if(Le.substr(Be.index,Ne.length)!==Ne){_e=j===undefined||j}}}for(var Me=ce;Me<=le;Me++){if(ce!==le&&ie[Me]===R.end){continue}var je=Te.get(Me.toString());if(je!==undefined){if(Ie){q.push.apply(q,toggleMultilineComment(N,{pos:ie[Me]+Ee,end:$.getLineEndOfPosition(ie[Me])},_e,Ie))}else if(_e){q.push({newText:Ne,span:{length:0,start:ie[Me]+Ee}})}else if($.text.substr(ie[Me]+je,Ne.length)===Ne){q.push({newText:"",span:{length:Ne.length,start:ie[Me]+je}})}}}return q}function toggleMultilineComment(N,R,j,$){var q;var G=ae.getCurrentSourceFile(N);var ie=[];var ce=G.text;var le=false;var _e=j||false;var Ee=[];var Te=R.pos;var we=$!==undefined?$:E.isInsideJsxElement(G,Te);var Ie=we?"{/*":"/*";var Ne=we?"*/}":"*/";var Me=we?"\\{\\/\\*":"\\/\\*";var Le=we?"\\*\\/\\}":"\\*\\/";while(Te<=R.end){var Be=ce.substr(Te,Ie.length)===Ie?Ie.length:0;var je=E.isInComment(G,Te+Be);if(je){if(we){je.pos--;je.end++}Ee.push(je.pos);if(je.kind===3){Ee.push(je.end)}le=true;Te=je.end+1}else{var Ue=ce.substring(Te,R.end).search("("+Me+")|("+Le+")");_e=j!==undefined?j:_e||!E.isTextWhiteSpaceLike(ce,Te,Ue===-1?R.end:Te+Ue);Te=Ue===-1?R.end+1:Te+Ue+Ne.length}}if(_e||!le){if(((q=E.isInComment(G,R.pos))===null||q===void 0?void 0:q.kind)!==2){E.insertSorted(Ee,R.pos,E.compareValues)}E.insertSorted(Ee,R.end,E.compareValues);var ze=Ee[0];if(ce.substr(ze,Ie.length)!==Ie){ie.push({newText:Ie,span:{length:0,start:ze}})}for(var We=1;We0?qe-Ne.length:0;var Be=ce.substr(He,Ne.length)===Ne?Ne.length:0;ie.push({newText:"",span:{length:Ie.length,start:qe-Be}})}}return ie}function commentSelection(E,N){var R=ae.getCurrentSourceFile(E);var j=getLinesForRange(R,N),$=j.firstLine,q=j.lastLine;return $===q&&N.pos!==N.end?toggleMultilineComment(E,N,true):toggleLineComment(E,N,true)}function uncommentSelection(N,R){var j=ae.getCurrentSourceFile(N);var $=[];var q=R.pos;var G=R.end;if(q===G){G+=E.isInsideJsxElement(j,q)?2:1}for(var ie=q;ie<=G;ie++){var ce=E.isInComment(j,ie);if(ce){switch(ce.kind){case 2:$.push.apply($,toggleLineComment(N,{end:ce.end,pos:ce.pos+1},false));break;case 3:$.push.apply($,toggleMultilineComment(N,{end:ce.end,pos:ce.pos+1},false))}ie=ce.end+1}}return $}function isUnclosedTag(N){var R=N.openingElement,j=N.closingElement,$=N.parent;return!E.tagNamesAreEquivalent(R.tagName,j.tagName)||E.isJsxElement($)&&E.tagNamesAreEquivalent(R.tagName,$.openingElement.tagName)&&isUnclosedTag($)}function getSpanOfEnclosingComment(N,R,j){var $=ae.getCurrentSourceFile(N);var q=E.formatting.getRangeOfEnclosingComment($,R);return q&&(!j||q.kind===3)?E.createTextSpanFromRange(q):undefined}function getTodoComments(N,R){synchronizeHostData();var j=getValidSourceFile(N);Ee.throwIfCancellationRequested();var $=j.text;var q=[];if(R.length>0&&!isNodeModulesFile(j.fileName)){var G=getTodoCommentsRegExp();var ie=void 0;while(ie=G.exec($)){Ee.throwIfCancellationRequested();var ae=3;E.Debug.assert(ie.length===R.length+ae);var ce=ie[1];var le=ie.index+ce.length;if(!E.isInComment(j,le)){continue}var _e=void 0;for(var Te=0;Te=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57}function isNodeModulesFile(N){return E.stringContains(N,"/node_modules/")}}function getRenameInfo(N,R,j){synchronizeHostData();return E.Rename.getRenameInfo(ce,getValidSourceFile(N),R,j)}function getRefactorContext(R,j,$,q,G,ie){var ae=typeof j==="number"?[j,undefined]:[j.pos,j.end],ce=ae[0],le=ae[1];return{file:R,startPosition:ce,endPosition:le,program:getProgram(),host:N,formatContext:E.formatting.getFormatContext(q,N),cancellationToken:Ee,preferences:$,triggerReason:G,kind:ie}}function getInlayHintsContext(E,R,j){return{file:E,program:getProgram(),host:N,span:R,preferences:j,cancellationToken:Ee}}function getSmartSelectionRange(N,R){return E.SmartSelectionRange.getSmartSelectionRange(R,ae.getCurrentSourceFile(N))}function getApplicableRefactors(N,R,j,$,q){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var G=getValidSourceFile(N);return E.refactor.getApplicableRefactors(getRefactorContext(G,R,j,E.emptyOptions,$,q))}function getEditsForRefactor(N,R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();var ie=getValidSourceFile(N);return E.refactor.getEditsForRefactor(getRefactorContext(ie,j,G,R),$,q)}function toLineColumnOffset(E,N){if(N===0){return{line:0,character:0}}return ze.toLineColumnOffset(E,N)}function prepareCallHierarchy(N,R){synchronizeHostData();var j=E.CallHierarchy.resolveCallHierarchyDeclaration(ce,E.getTouchingPropertyName(getValidSourceFile(N),R));return j&&E.mapOneOrMany(j,(function(N){return E.CallHierarchy.createCallHierarchyItem(ce,N)}))}function provideCallHierarchyIncomingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(ce,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getIncomingCalls(ce,$,Ee):[]}function provideCallHierarchyOutgoingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(ce,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getOutgoingCalls(ce,$):[]}function provideInlayHints(N,R,j){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var $=getValidSourceFile(N);return E.InlayHints.provideInlayHints(getInlayHintsContext($,R,j))}var Je={dispose:dispose,cleanupSemanticCache:cleanupSemanticCache,getSyntacticDiagnostics:getSyntacticDiagnostics,getSemanticDiagnostics:getSemanticDiagnostics,getSuggestionDiagnostics:getSuggestionDiagnostics,getCompilerOptionsDiagnostics:getCompilerOptionsDiagnostics,getSyntacticClassifications:getSyntacticClassifications,getSemanticClassifications:getSemanticClassifications,getEncodedSyntacticClassifications:getEncodedSyntacticClassifications,getEncodedSemanticClassifications:getEncodedSemanticClassifications,getCompletionsAtPosition:getCompletionsAtPosition,getCompletionEntryDetails:getCompletionEntryDetails,getCompletionEntrySymbol:getCompletionEntrySymbol,getSignatureHelpItems:getSignatureHelpItems,getQuickInfoAtPosition:getQuickInfoAtPosition,getDefinitionAtPosition:getDefinitionAtPosition,getDefinitionAndBoundSpan:getDefinitionAndBoundSpan,getImplementationAtPosition:getImplementationAtPosition,getTypeDefinitionAtPosition:getTypeDefinitionAtPosition,getReferencesAtPosition:getReferencesAtPosition,findReferences:findReferences,getFileReferences:getFileReferences,getOccurrencesAtPosition:getOccurrencesAtPosition,getDocumentHighlights:getDocumentHighlights,getNameOrDottedNameSpan:getNameOrDottedNameSpan,getBreakpointStatementAtPosition:getBreakpointStatementAtPosition,getNavigateToItems:getNavigateToItems,getRenameInfo:getRenameInfo,getSmartSelectionRange:getSmartSelectionRange,findRenameLocations:findRenameLocations,getNavigationBarItems:getNavigationBarItems,getNavigationTree:getNavigationTree,getOutliningSpans:getOutliningSpans,getTodoComments:getTodoComments,getBraceMatchingAtPosition:getBraceMatchingAtPosition,getIndentationAtPosition:getIndentationAtPosition,getFormattingEditsForRange:getFormattingEditsForRange,getFormattingEditsForDocument:getFormattingEditsForDocument,getFormattingEditsAfterKeystroke:getFormattingEditsAfterKeystroke,getDocCommentTemplateAtPosition:getDocCommentTemplateAtPosition,isValidBraceCompletionAtPosition:isValidBraceCompletionAtPosition,getJsxClosingTagAtPosition:getJsxClosingTagAtPosition,getSpanOfEnclosingComment:getSpanOfEnclosingComment,getCodeFixesAtPosition:getCodeFixesAtPosition,getCombinedCodeFix:getCombinedCodeFix,applyCodeActionCommand:applyCodeActionCommand,organizeImports:organizeImports,getEditsForFileRename:getEditsForFileRename,getEmitOutput:getEmitOutput,getNonBoundSourceFile:getNonBoundSourceFile,getProgram:getProgram,getAutoImportProvider:getAutoImportProvider,getApplicableRefactors:getApplicableRefactors,getEditsForRefactor:getEditsForRefactor,toLineColumnOffset:toLineColumnOffset,getSourceMapper:function(){return ze},clearSourceMapperCache:function(){return ze.clearCache()},prepareCallHierarchy:prepareCallHierarchy,provideCallHierarchyIncomingCalls:provideCallHierarchyIncomingCalls,provideCallHierarchyOutgoingCalls:provideCallHierarchyOutgoingCalls,toggleLineComment:toggleLineComment,toggleMultilineComment:toggleMultilineComment,commentSelection:commentSelection,uncommentSelection:uncommentSelection,provideInlayHints:provideInlayHints};switch(ie){case E.LanguageServiceMode.Semantic:break;case E.LanguageServiceMode.PartialSemantic:je.forEach((function(E){return Je[E]=function(){throw new Error("LanguageService Operation: "+E+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case E.LanguageServiceMode.Syntactic:Ue.forEach((function(E){return Je[E]=function(){throw new Error("LanguageService Operation: "+E+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:E.Debug.assertNever(ie)}return Je}E.createLanguageService=createLanguageService;function getNameTable(E){if(!E.nameTable){initializeNameTable(E)}return E.nameTable}E.getNameTable=getNameTable;function initializeNameTable(N){var R=N.nameTable=new E.Map;N.forEachChild((function walk(N){if(E.isIdentifier(N)&&!E.isTagName(N)&&N.escapedText||E.isStringOrNumericLiteralLike(N)&&literalIsName(N)){var j=E.getEscapedTextOfIdentifierOrLiteral(N);R.set(j,R.get(j)===undefined?N.pos:-1)}else if(E.isPrivateIdentifier(N)){var j=N.escapedText;R.set(j,R.get(j)===undefined?N.pos:-1)}E.forEachChild(N,walk);if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$$){var q=E.findPrecedingToken(j.pos,N);if(!q||N.getLineAndCharacterOfPosition(q.getEnd()).line!==$){return undefined}j=q}if(j.flags&8388608){return undefined}return spanInNode(j);function textSpan(R,j){var $=R.decorators?E.skipTrivia(N.text,R.decorators.end):R.getStart(N);return E.createTextSpanFromBounds($,(j||R).getEnd())}function textSpanEndingAtNextToken(R,j){return textSpan(R,E.findNextToken(j,j.parent,N))}function spanInNodeIfStartsOnSameLine(E,R){if(E&&$===N.getLineAndCharacterOfPosition(E.getStart(N)).line){return spanInNode(E)}return spanInNode(R)}function spanInNodeArray(R){return E.createTextSpanFromBounds(E.skipTrivia(N.text,R.pos),R.end)}function spanInPreviousNode(R){return spanInNode(E.findPrecedingToken(R.pos,N))}function spanInNextNode(R){return spanInNode(E.findNextToken(R,R.parent,N))}function spanInNode(R){if(R){var j=R.parent;switch(R.kind){case 235:return spanInVariableDeclaration(R.declarationList.declarations[0]);case 252:case 165:case 164:return spanInVariableDeclaration(R);case 162:return spanInParameterDeclaration(R);case 254:case 167:case 166:case 170:case 171:case 169:case 211:case 212:return spanInFunctionDeclaration(R);case 233:if(E.isFunctionBlock(R)){return spanInFunctionBlock(R)}case 260:return spanInBlock(R);case 290:return spanInBlock(R.block);case 236:return textSpan(R.expression);case 245:return textSpan(R.getChildAt(0),R.expression);case 239:return textSpanEndingAtNextToken(R,R.expression);case 238:return spanInNode(R.statement);case 251:return textSpan(R.getChildAt(0));case 237:return textSpanEndingAtNextToken(R,R.expression);case 248:return spanInNode(R.statement);case 244:case 243:return textSpan(R.getChildAt(0),R.label);case 240:return spanInForStatement(R);case 241:return textSpanEndingAtNextToken(R,R.expression);case 242:return spanInInitializerOfForLike(R);case 247:return textSpanEndingAtNextToken(R,R.expression);case 287:case 288:return spanInNode(R.statements[0]);case 250:return spanInBlock(R.tryBlock);case 249:return textSpan(R,R.expression);case 269:return textSpan(R,R.expression);case 263:return textSpan(R,R.moduleReference);case 264:return textSpan(R,R.moduleSpecifier);case 270:return textSpan(R,R.moduleSpecifier);case 259:if(E.getModuleInstanceState(R)!==1){return undefined}case 255:case 258:case 294:case 201:return textSpan(R);case 246:return spanInNode(R.statement);case 163:return spanInNodeArray(j.decorators);case 199:case 200:return spanInBindingPattern(R);case 256:case 257:return undefined;case 26:case 1:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N));case 27:return spanInPreviousNode(R);case 18:return spanInOpenBraceToken(R);case 19:return spanInCloseBraceToken(R);case 23:return spanInCloseBracketToken(R);case 20:return spanInOpenParenToken(R);case 21:return spanInCloseParenToken(R);case 58:return spanInColonToken(R);case 31:case 29:return spanInGreaterThanOrLessThanToken(R);case 115:return spanInWhileKeyword(R);case 91:case 83:case 96:return spanInNextNode(R);case 158:return spanInOfKeyword(R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(R)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(R)}if((R.kind===79||R.kind===223||R.kind===291||R.kind===292)&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(j)){return textSpan(R)}if(R.kind===219){var $=R,q=$.left,G=$.operatorToken;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(q)}if(G.kind===63&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){return textSpan(R)}if(G.kind===27){return spanInNode(q)}}if(E.isExpressionNode(R)){switch(j.kind){case 238:return spanInPreviousNode(R);case 163:return spanInNode(R.parent);case 240:case 242:return textSpan(R);case 219:if(R.parent.operatorToken.kind===27){return textSpan(R)}break;case 212:if(R.parent.body===R){return textSpan(R)}break}}switch(R.parent.kind){case 291:if(R.parent.name===R&&!E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent.parent)){return spanInNode(R.parent.initializer)}break;case 209:if(R.parent.type===R){return spanInNextNode(R.parent.type)}break;case 252:case 162:{var ie=R.parent,ae=ie.initializer,ce=ie.type;if(ae===R||ce===R||E.isAssignmentOperator(R.kind)){return spanInPreviousNode(R)}break}case 219:{var q=R.parent.left;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)&&R!==q){return spanInPreviousNode(R)}break}default:if(E.isFunctionLike(R.parent)&&R.parent.type===R){return spanInPreviousNode(R)}}return spanInNode(R.parent)}}function textSpanFromVariableDeclaration(R){if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]===R){return textSpan(E.findPrecedingToken(R.pos,N,R.parent),R)}else{return textSpan(R)}}function spanInVariableDeclaration(R){if(R.parent.parent.kind===241){return spanInNode(R.parent.parent)}var j=R.parent;if(E.isBindingPattern(R.name)){return spanInBindingPattern(R.name)}if(R.initializer||E.hasSyntacticModifier(R,1)||j.parent.kind===242){return textSpanFromVariableDeclaration(R)}if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]!==R){return spanInNode(E.findPrecedingToken(R.pos,N,R.parent))}}function canHaveSpanInParameterDeclaration(N){return!!N.initializer||N.dotDotDotToken!==undefined||E.hasSyntacticModifier(N,4|8)}function spanInParameterDeclaration(N){if(E.isBindingPattern(N.name)){return spanInBindingPattern(N.name)}else if(canHaveSpanInParameterDeclaration(N)){return textSpan(N)}else{var R=N.parent;var j=R.parameters.indexOf(N);E.Debug.assert(j!==-1);if(j!==0){return spanInParameterDeclaration(R.parameters[j-1])}else{return spanInNode(R.body)}}}function canFunctionHaveSpanInWholeDeclaration(N){return E.hasSyntacticModifier(N,1)||N.parent.kind===255&&N.kind!==169}function spanInFunctionDeclaration(E){if(!E.body){return undefined}if(canFunctionHaveSpanInWholeDeclaration(E)){return textSpan(E)}return spanInNode(E.body)}function spanInFunctionBlock(E){var N=E.statements.length?E.statements[0]:E.getLastToken();if(canFunctionHaveSpanInWholeDeclaration(E.parent)){return spanInNodeIfStartsOnSameLine(E.parent,N)}return spanInNode(N)}function spanInBlock(R){switch(R.parent.kind){case 259:if(E.getModuleInstanceState(R.parent)!==1){return undefined}case 239:case 237:case 241:return spanInNodeIfStartsOnSameLine(R.parent,R.statements[0]);case 240:case 242:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),R.statements[0])}return spanInNode(R.statements[0])}function spanInInitializerOfForLike(E){if(E.initializer.kind===253){var N=E.initializer;if(N.declarations.length>0){return spanInNode(N.declarations[0])}}else{return spanInNode(E.initializer)}}function spanInForStatement(E){if(E.initializer){return spanInInitializerOfForLike(E)}if(E.condition){return textSpan(E.condition)}if(E.incrementor){return textSpan(E.incrementor)}}function spanInBindingPattern(N){var R=E.forEach(N.elements,(function(E){return E.kind!==225?E:undefined}));if(R){return spanInNode(R)}if(N.parent.kind===201){return textSpan(N.parent)}return textSpanFromVariableDeclaration(N.parent)}function spanInArrayLiteralOrObjectLiteralDestructuringPattern(N){E.Debug.assert(N.kind!==200&&N.kind!==199);var R=N.kind===202?N.elements:N.properties;var j=E.forEach(R,(function(E){return E.kind!==225?E:undefined}));if(j){return spanInNode(j)}return textSpan(N.parent.kind===219?N.parent:N)}function spanInOpenBraceToken(R){switch(R.parent.kind){case 258:var j=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),j.members.length?j.members[0]:j.getLastToken(N));case 255:var $=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),$.members.length?$.members[0]:$.getLastToken(N));case 261:return spanInNodeIfStartsOnSameLine(R.parent.parent,R.parent.clauses[0])}return spanInNode(R.parent)}function spanInCloseBraceToken(N){switch(N.parent.kind){case 260:if(E.getModuleInstanceState(N.parent.parent)!==1){return undefined}case 258:case 255:return textSpan(N);case 233:if(E.isFunctionBlock(N.parent)){return textSpan(N)}case 290:return spanInNode(E.lastOrUndefined(N.parent.statements));case 261:var R=N.parent;var j=E.lastOrUndefined(R.clauses);if(j){return spanInNode(E.lastOrUndefined(j.statements))}return undefined;case 199:var $=N.parent;return spanInNode(E.lastOrUndefined($.elements)||$);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var q=N.parent;return textSpan(E.lastOrUndefined(q.properties)||q)}return spanInNode(N.parent)}}function spanInCloseBracketToken(N){switch(N.parent.kind){case 200:var R=N.parent;return textSpan(E.lastOrUndefined(R.elements)||R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var j=N.parent;return textSpan(E.lastOrUndefined(j.elements)||j)}return spanInNode(N.parent)}}function spanInOpenParenToken(E){if(E.parent.kind===238||E.parent.kind===206||E.parent.kind===207){return spanInPreviousNode(E)}if(E.parent.kind===210){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInCloseParenToken(E){switch(E.parent.kind){case 211:case 254:case 212:case 167:case 166:case 170:case 171:case 169:case 239:case 238:case 240:case 242:case 206:case 207:case 210:return spanInPreviousNode(E);default:return spanInNode(E.parent)}}function spanInColonToken(N){if(E.isFunctionLike(N.parent)||N.parent.kind===291||N.parent.kind===162){return spanInPreviousNode(N)}return spanInNode(N.parent)}function spanInGreaterThanOrLessThanToken(E){if(E.parent.kind===209){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInWhileKeyword(E){if(E.parent.kind===238){return textSpanEndingAtNextToken(E,E.parent.expression)}return spanInNode(E.parent)}function spanInOfKeyword(E){if(E.parent.kind===242){return spanInNextNode(E)}return spanInNode(E.parent)}}}N.spanInSourceFileAtLocation=spanInSourceFileAtLocation})(N=E.BreakpointResolver||(E.BreakpointResolver={}))})(ce||(ce={}));var ce;(function(E){function transform(N,R,j){var $=[];j=E.fixupCompilerOptions(j,$);var q=E.isArray(N)?N:[N];var G=E.transformNodes(undefined,undefined,E.factory,j,q,R,true);G.diagnostics=E.concatenate(G.diagnostics,$);return G}E.transform=transform})(ce||(ce={}));var le=function(){return this}();var ce;(function(E){function logInternalError(E,N){if(E){E.log("*INTERNAL ERROR* - Exception in typescript services: "+N.message)}}var N=function(){function ScriptSnapshotShimAdapter(E){this.scriptSnapshotShim=E}ScriptSnapshotShimAdapter.prototype.getText=function(E,N){return this.scriptSnapshotShim.getText(E,N)};ScriptSnapshotShimAdapter.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()};ScriptSnapshotShimAdapter.prototype.getChangeRange=function(N){var R=N;var j=this.scriptSnapshotShim.getChangeRange(R.scriptSnapshotShim);if(j===null){return null}var $=JSON.parse(j);return E.createTextChangeRange(E.createTextSpan($.span.start,$.span.length),$.newLength)};ScriptSnapshotShimAdapter.prototype.dispose=function(){if("dispose"in this.scriptSnapshotShim){this.scriptSnapshotShim.dispose()}};return ScriptSnapshotShimAdapter}();var R=function(){function LanguageServiceShimHostAdapter(N){var R=this;this.shimHost=N;this.loggingEnabled=false;this.tracingEnabled=false;if("getModuleResolutionsForFile"in this.shimHost){this.resolveModuleNames=function(N,j){var $=JSON.parse(R.shimHost.getModuleResolutionsForFile(j));return E.map(N,(function(N){var R=E.getProperty($,N);return R?{resolvedFileName:R,extension:E.extensionFromPath(R),isExternalLibraryImport:false}:undefined}))}}if("directoryExists"in this.shimHost){this.directoryExists=function(E){return R.shimHost.directoryExists(E)}}if("getTypeReferenceDirectiveResolutionsForFile"in this.shimHost){this.resolveTypeReferenceDirectives=function(N,j){var $=JSON.parse(R.shimHost.getTypeReferenceDirectiveResolutionsForFile(j));return E.map(N,(function(N){return E.getProperty($,N)}))}}}LanguageServiceShimHostAdapter.prototype.log=function(E){if(this.loggingEnabled){this.shimHost.log(E)}};LanguageServiceShimHostAdapter.prototype.trace=function(E){if(this.tracingEnabled){this.shimHost.trace(E)}};LanguageServiceShimHostAdapter.prototype.error=function(E){this.shimHost.error(E)};LanguageServiceShimHostAdapter.prototype.getProjectVersion=function(){if(!this.shimHost.getProjectVersion){return undefined}return this.shimHost.getProjectVersion()};LanguageServiceShimHostAdapter.prototype.getTypeRootsVersion=function(){if(!this.shimHost.getTypeRootsVersion){return 0}return this.shimHost.getTypeRootsVersion()};LanguageServiceShimHostAdapter.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false};LanguageServiceShimHostAdapter.prototype.getCompilationSettings=function(){var E=this.shimHost.getCompilationSettings();if(E===null||E===""){throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings")}var N=JSON.parse(E);N.allowNonTsExtensions=true;return N};LanguageServiceShimHostAdapter.prototype.getScriptFileNames=function(){var E=this.shimHost.getScriptFileNames();return JSON.parse(E)};LanguageServiceShimHostAdapter.prototype.getScriptSnapshot=function(E){var R=this.shimHost.getScriptSnapshot(E);return R&&new N(R)};LanguageServiceShimHostAdapter.prototype.getScriptKind=function(E){if("getScriptKind"in this.shimHost){return this.shimHost.getScriptKind(E)}else{return 0}};LanguageServiceShimHostAdapter.prototype.getScriptVersion=function(E){return this.shimHost.getScriptVersion(E)};LanguageServiceShimHostAdapter.prototype.getLocalizedDiagnosticMessages=function(){var E=this.shimHost.getLocalizedDiagnosticMessages();if(E===null||E===""){return null}try{return JSON.parse(E)}catch(E){this.log(E.description||"diagnosticMessages.generated.json has invalid JSON format");return null}};LanguageServiceShimHostAdapter.prototype.getCancellationToken=function(){var N=this.shimHost.getCancellationToken();return new E.ThrottledCancellationToken(N)};LanguageServiceShimHostAdapter.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()};LanguageServiceShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};LanguageServiceShimHostAdapter.prototype.getDefaultLibFileName=function(E){return this.shimHost.getDefaultLibFileName(JSON.stringify(E))};LanguageServiceShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};LanguageServiceShimHostAdapter.prototype.readFile=function(E,N){return this.shimHost.readFile(E,N)};LanguageServiceShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};return LanguageServiceShimHostAdapter}();E.LanguageServiceShimHostAdapter=R;var q=function(){function CoreServicesShimHostAdapter(E){var N=this;this.shimHost=E;this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false;if("directoryExists"in this.shimHost){this.directoryExists=function(E){return N.shimHost.directoryExists(E)}}else{this.directoryExists=undefined}if("realpath"in this.shimHost){this.realpath=function(E){return N.shimHost.realpath(E)}}else{this.realpath=undefined}}CoreServicesShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};CoreServicesShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};CoreServicesShimHostAdapter.prototype.readFile=function(E){return this.shimHost.readFile(E)};CoreServicesShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};return CoreServicesShimHostAdapter}();E.CoreServicesShimHostAdapter=q;function simpleForwardCall(N,R,j,$){var q;if($){N.log(R);q=E.timestamp()}var G=j();if($){var ie=E.timestamp();N.log(R+" completed in "+(ie-q)+" msec");if(E.isString(G)){var ae=G;if(ae.length>128){ae=ae.substring(0,128)+"..."}N.log(" result.length="+ae.length+", result='"+JSON.stringify(ae)+"'")}}return G}function forwardJSONCall(E,N,R,j){return forwardCall(E,N,true,R,j)}function forwardCall(N,R,j,$,q){try{var G=simpleForwardCall(N,R,$,q);return j?JSON.stringify({result:G}):G}catch(j){if(j instanceof E.OperationCanceledException){return JSON.stringify({canceled:true})}logInternalError(N,j);j.description=R;return JSON.stringify({error:j})}}var G=function(){function ShimBase(E){this.factory=E;E.registerShim(this)}ShimBase.prototype.dispose=function(E){this.factory.unregisterShim(this)};return ShimBase}();function realizeDiagnostics(E,N){return E.map((function(E){return realizeDiagnostic(E,N)}))}E.realizeDiagnostics=realizeDiagnostics;function realizeDiagnostic(N,R){return{message:E.flattenDiagnosticMessageText(N.messageText,R),start:N.start,length:N.length,category:E.diagnosticCategoryName(N),code:N.code,reportsUnnecessary:N.reportsUnnecessary,reportsDeprecated:N.reportsDeprecated}}var ce=function(N){ae(LanguageServiceShimObject,N);function LanguageServiceShimObject(E,R,j){var $=N.call(this,E)||this;$.host=R;$.languageService=j;$.logPerformance=false;$.logger=$.host;return $}LanguageServiceShimObject.prototype.forwardJSONCall=function(E,N){return forwardJSONCall(this.logger,E,N,this.logPerformance)};LanguageServiceShimObject.prototype.dispose=function(E){this.logger.log("dispose()");this.languageService.dispose();this.languageService=null;if(le&&le.CollectGarbage){le.CollectGarbage();this.logger.log("CollectGarbage()")}this.logger=null;N.prototype.dispose.call(this,E)};LanguageServiceShimObject.prototype.refresh=function(E){this.forwardJSONCall("refresh("+E+")",(function(){return null}))};LanguageServiceShimObject.prototype.cleanupSemanticCache=function(){var E=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){E.languageService.cleanupSemanticCache();return null}))};LanguageServiceShimObject.prototype.realizeDiagnostics=function(N){var R=E.getNewLineOrDefaultFromHost(this.host);return realizeDiagnostics(N,R)};LanguageServiceShimObject.prototype.getSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSyntacticClassifications('"+N+"', "+R+", "+j+")",(function(){return $.languageService.getSyntacticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSemanticClassifications('"+N+"', "+R+", "+j+")",(function(){return $.languageService.getSemanticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getEncodedSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+N+"', "+R+", "+j+")",(function(){return convertClassifications($.languageService.getEncodedSyntacticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getEncodedSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+N+"', "+R+", "+j+")",(function(){return convertClassifications($.languageService.getEncodedSemanticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getSyntacticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+E+"')",(function(){var R=N.languageService.getSyntacticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSemanticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSemanticDiagnostics('"+E+"')",(function(){var R=N.languageService.getSemanticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSuggestionDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+E+"')",(function(){return N.realizeDiagnostics(N.languageService.getSuggestionDiagnostics(E))}))};LanguageServiceShimObject.prototype.getCompilerOptionsDiagnostics=function(){var E=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var N=E.languageService.getCompilerOptionsDiagnostics();return E.realizeDiagnostics(N)}))};LanguageServiceShimObject.prototype.getQuickInfoAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getQuickInfoAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getNameOrDottedNameSpan=function(E,N,R){var j=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getNameOrDottedNameSpan(E,N,R)}))};LanguageServiceShimObject.prototype.getBreakpointStatementAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getBreakpointStatementAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getSignatureHelpItems=function(E,N,R){var j=this;return this.forwardJSONCall("getSignatureHelpItems('"+E+"', "+N+")",(function(){return j.languageService.getSignatureHelpItems(E,N,R)}))};LanguageServiceShimObject.prototype.getDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDefinitionAndBoundSpan=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+E+"', "+N+")",(function(){return R.languageService.getDefinitionAndBoundSpan(E,N)}))};LanguageServiceShimObject.prototype.getTypeDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getTypeDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getImplementationAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getImplementationAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getImplementationAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getRenameInfo=function(E,N,R){var j=this;return this.forwardJSONCall("getRenameInfo('"+E+"', "+N+")",(function(){return j.languageService.getRenameInfo(E,N,R)}))};LanguageServiceShimObject.prototype.getSmartSelectionRange=function(E,N){var R=this;return this.forwardJSONCall("getSmartSelectionRange('"+E+"', "+N+")",(function(){return R.languageService.getSmartSelectionRange(E,N)}))};LanguageServiceShimObject.prototype.findRenameLocations=function(E,N,R,j,$){var q=this;return this.forwardJSONCall("findRenameLocations('"+E+"', "+N+", "+R+", "+j+", "+$+")",(function(){return q.languageService.findRenameLocations(E,N,R,j,$)}))};LanguageServiceShimObject.prototype.getBraceMatchingAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getBraceMatchingAtPosition(E,N)}))};LanguageServiceShimObject.prototype.isValidBraceCompletionAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+E+"', "+N+", "+R+")",(function(){return j.languageService.isValidBraceCompletionAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getSpanOfEnclosingComment=function(E,N,R){var j=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+E+"', "+N+")",(function(){return j.languageService.getSpanOfEnclosingComment(E,N,R)}))};LanguageServiceShimObject.prototype.getIndentationAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getIndentationAtPosition('"+E+"', "+N+")",(function(){var $=JSON.parse(R);return j.languageService.getIndentationAtPosition(E,N,$)}))};LanguageServiceShimObject.prototype.getReferencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getReferencesAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getReferencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.findReferences=function(E,N){var R=this;return this.forwardJSONCall("findReferences('"+E+"', "+N+")",(function(){return R.languageService.findReferences(E,N)}))};LanguageServiceShimObject.prototype.getFileReferences=function(E){var N=this;return this.forwardJSONCall("getFileReferences('"+E+")",(function(){return N.languageService.getFileReferences(E)}))};LanguageServiceShimObject.prototype.getOccurrencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getOccurrencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDocumentHighlights=function(N,R,j){var $=this;return this.forwardJSONCall("getDocumentHighlights('"+N+"', "+R+")",(function(){var q=$.languageService.getDocumentHighlights(N,R,JSON.parse(j));var G=E.toFileNameLowerCase(E.normalizeSlashes(N));return E.filter(q,(function(N){return E.toFileNameLowerCase(E.normalizeSlashes(N.fileName))===G}))}))};LanguageServiceShimObject.prototype.getCompletionsAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getCompletionsAtPosition('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getCompletionsAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getCompletionEntryDetails=function(E,N,R,j,$,q,G){var ie=this;return this.forwardJSONCall("getCompletionEntryDetails('"+E+"', "+N+", '"+R+"')",(function(){var ae=j===undefined?undefined:JSON.parse(j);return ie.languageService.getCompletionEntryDetails(E,N,R,ae,$,q,G)}))};LanguageServiceShimObject.prototype.getFormattingEditsForRange=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsForRange('"+E+"', "+N+", "+R+")",(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsForRange(E,N,R,q)}))};LanguageServiceShimObject.prototype.getFormattingEditsForDocument=function(E,N){var R=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+E+"')",(function(){var j=JSON.parse(N);return R.languageService.getFormattingEditsForDocument(E,j)}))};LanguageServiceShimObject.prototype.getFormattingEditsAfterKeystroke=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+E+"', "+N+", '"+R+"')",(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsAfterKeystroke(E,N,R,q)}))};LanguageServiceShimObject.prototype.getDocCommentTemplateAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+E+"', "+N+")",(function(){return j.languageService.getDocCommentTemplateAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigateToItems=function(E,N,R){var j=this;return this.forwardJSONCall("getNavigateToItems('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getNavigateToItems(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigationBarItems=function(E){var N=this;return this.forwardJSONCall("getNavigationBarItems('"+E+"')",(function(){return N.languageService.getNavigationBarItems(E)}))};LanguageServiceShimObject.prototype.getNavigationTree=function(E){var N=this;return this.forwardJSONCall("getNavigationTree('"+E+"')",(function(){return N.languageService.getNavigationTree(E)}))};LanguageServiceShimObject.prototype.getOutliningSpans=function(E){var N=this;return this.forwardJSONCall("getOutliningSpans('"+E+"')",(function(){return N.languageService.getOutliningSpans(E)}))};LanguageServiceShimObject.prototype.getTodoComments=function(E,N){var R=this;return this.forwardJSONCall("getTodoComments('"+E+"')",(function(){return R.languageService.getTodoComments(E,JSON.parse(N))}))};LanguageServiceShimObject.prototype.prepareCallHierarchy=function(E,N){var R=this;return this.forwardJSONCall("prepareCallHierarchy('"+E+"', "+N+")",(function(){return R.languageService.prepareCallHierarchy(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyIncomingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+E+"', "+N+")",(function(){return R.languageService.provideCallHierarchyIncomingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyOutgoingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+E+"', "+N+")",(function(){return R.languageService.provideCallHierarchyOutgoingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideInlayHints=function(E,N,R){var j=this;return this.forwardJSONCall("provideInlayHints('"+E+"', '"+JSON.stringify(N)+"', "+JSON.stringify(R)+")",(function(){return j.languageService.provideInlayHints(E,N,R)}))};LanguageServiceShimObject.prototype.getEmitOutput=function(E){var N=this;return this.forwardJSONCall("getEmitOutput('"+E+"')",(function(){var R=N.languageService.getEmitOutput(E),j=R.diagnostics,q=ie(R,["diagnostics"]);return $($({},q),{diagnostics:N.realizeDiagnostics(j)})}))};LanguageServiceShimObject.prototype.getEmitOutputObject=function(E){var N=this;return forwardCall(this.logger,"getEmitOutput('"+E+"')",false,(function(){return N.languageService.getEmitOutput(E)}),this.logPerformance)};LanguageServiceShimObject.prototype.toggleLineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleLineComment('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.toggleLineComment(E,N)}))};LanguageServiceShimObject.prototype.toggleMultilineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleMultilineComment('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.toggleMultilineComment(E,N)}))};LanguageServiceShimObject.prototype.commentSelection=function(E,N){var R=this;return this.forwardJSONCall("commentSelection('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.commentSelection(E,N)}))};LanguageServiceShimObject.prototype.uncommentSelection=function(E,N){var R=this;return this.forwardJSONCall("uncommentSelection('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.uncommentSelection(E,N)}))};return LanguageServiceShimObject}(G);function convertClassifications(E){return{spans:E.spans.join(","),endOfLineState:E.endOfLineState}}var _e=function(N){ae(ClassifierShimObject,N);function ClassifierShimObject(R,j){var $=N.call(this,R)||this;$.logger=j;$.logPerformance=false;$.classifier=E.createClassifier();return $}ClassifierShimObject.prototype.getEncodedLexicalClassifications=function(E,N,R){var j=this;if(R===void 0){R=false}return forwardJSONCall(this.logger,"getEncodedLexicalClassifications",(function(){return convertClassifications(j.classifier.getEncodedLexicalClassifications(E,N,R))}),this.logPerformance)};ClassifierShimObject.prototype.getClassificationsForLine=function(E,N,R){if(R===void 0){R=false}var j=this.classifier.getClassificationsForLine(E,N,R);var $="";for(var q=0,G=j.entries;q=1&&arguments.length<=3?E.factory.createVariableDeclaration(N,undefined,R,j):E.Debug.fail("Argument count mismatch")}),N);E.updateVariableDeclaration=E.Debug.deprecate((function updateVariableDeclaration(N,R,j,$,q){return arguments.length===5?E.factory.updateVariableDeclaration(N,R,j,$,q):arguments.length===4?E.factory.updateVariableDeclaration(N,R,N.exclamationToken,j,$):E.Debug.fail("Argument count mismatch")}),N);E.createImportClause=E.Debug.deprecate((function createImportClause(N,R,j){if(j===void 0){j=false}return E.factory.createImportClause(j,N,R)}),N);E.updateImportClause=E.Debug.deprecate((function updateImportClause(N,R,j,$){return E.factory.updateImportClause(N,$,R,j)}),N);E.createExportDeclaration=E.Debug.deprecate((function createExportDeclaration(N,R,j,$,q){if(q===void 0){q=false}return E.factory.createExportDeclaration(N,R,q,j,$)}),N);E.updateExportDeclaration=E.Debug.deprecate((function updateExportDeclaration(N,R,j,$,q,G){return E.factory.updateExportDeclaration(N,R,j,G,$,q)}),N);E.createJSDocParamTag=E.Debug.deprecate((function createJSDocParamTag(N,R,j,$){return E.factory.createJSDocParameterTag(undefined,N,R,j,false,$?E.factory.createNodeArray([E.factory.createJSDocText($)]):undefined)}),N);E.createComma=E.Debug.deprecate((function createComma(N,R){return E.factory.createComma(N,R)}),N);E.createLessThan=E.Debug.deprecate((function createLessThan(N,R){return E.factory.createLessThan(N,R)}),N);E.createAssignment=E.Debug.deprecate((function createAssignment(N,R){return E.factory.createAssignment(N,R)}),N);E.createStrictEquality=E.Debug.deprecate((function createStrictEquality(N,R){return E.factory.createStrictEquality(N,R)}),N);E.createStrictInequality=E.Debug.deprecate((function createStrictInequality(N,R){return E.factory.createStrictInequality(N,R)}),N);E.createAdd=E.Debug.deprecate((function createAdd(N,R){return E.factory.createAdd(N,R)}),N);E.createSubtract=E.Debug.deprecate((function createSubtract(N,R){return E.factory.createSubtract(N,R)}),N);E.createLogicalAnd=E.Debug.deprecate((function createLogicalAnd(N,R){return E.factory.createLogicalAnd(N,R)}),N);E.createLogicalOr=E.Debug.deprecate((function createLogicalOr(N,R){return E.factory.createLogicalOr(N,R)}),N);E.createPostfixIncrement=E.Debug.deprecate((function createPostfixIncrement(N){return E.factory.createPostfixIncrement(N)}),N);E.createLogicalNot=E.Debug.deprecate((function createLogicalNot(N){return E.factory.createLogicalNot(N)}),N);E.createNode=E.Debug.deprecate((function createNode(N,R,j){if(R===void 0){R=0}if(j===void 0){j=0}return E.setTextRangePosEnd(N===300?E.parseBaseNodeFactory.createBaseSourceFileNode(N):N===79?E.parseBaseNodeFactory.createBaseIdentifierNode(N):N===80?E.parseBaseNodeFactory.createBasePrivateIdentifierNode(N):!E.isNodeKind(N)?E.parseBaseNodeFactory.createBaseTokenNode(N):E.parseBaseNodeFactory.createBaseNode(N),R,j)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."});E.getMutableClone=E.Debug.deprecate((function getMutableClone(N){var R=E.factory.cloneNode(N);E.setTextRange(R,N);E.setParent(R,N.parent);return R}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."});E.isTypeAssertion=E.Debug.deprecate((function isTypeAssertion(E){return E.kind===209}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."});E.isIdentifierOrPrivateIdentifier=E.Debug.deprecate((function isIdentifierOrPrivateIdentifier(N){return E.isMemberName(N)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(ce||(ce={}))},30823:function(E,N){ +***************************************************************************** */var j=this&&this.__spreadArray||function(E,N,R){if(R||arguments.length===2)for(var j=0,$=N.length,q;j<$;j++){if(q||!(j in N)){if(!q)q=Array.prototype.slice.call(N,0,j);q[j]=N[j]}}return E.concat(q||Array.prototype.slice.call(N))};var $=this&&this.__assign||function(){$=Object.assign||function(E){for(var N,R=1,j=arguments.length;R0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=0;R--){var j=N(E[R],R);if(j){return j}}}return undefined}E.forEachRight=forEachRight;function firstDefined(E,N){if(E===undefined){return undefined}for(var R=0;R=0;R--){var j=E[R];if(N(j,R)){return j}}return undefined}E.findLast=findLast;function findIndex(E,N,R){for(var j=R||0;j=0;j--){if(N(E[j],j)){return j}}return-1}E.findLastIndex=findLastIndex;function findMap(N,R){for(var j=0;j0}}return false}E.some=some;function getRangesWhere(E,N,R){var j;for(var $=0;$0){E.Debug.assertGreaterThanOrEqual(j(R[G],R[G-1]),0)}t:for(var ie=q;qie){E.Debug.assertGreaterThanOrEqual(j(N[q],N[q-1]),0)}switch(j(R[G],N[q])){case-1:$.push(R[G]);continue e;case 0:continue e;case 1:continue t}}}return $}E.relativeComplement=relativeComplement;function sum(E,N){var R=0;for(var j=0,$=E;j<$.length;j++){var q=$[j];R+=q[N]}return R}E.sum=sum;function append(E,N){if(N===undefined)return E;if(E===undefined)return[N];E.push(N);return E}E.append=append;function combine(E,N){if(E===undefined)return N;if(N===undefined)return E;if(isArray(E))return isArray(N)?concatenate(E,N):append(E,N);if(isArray(N))return append(N,E);return[E,N]}E.combine=combine;function toOffset(E,N){return N<0?E.length+N:N}function addRange(E,N,R,j){if(N===undefined||N.length===0)return E;if(E===undefined)return N.slice(R,j);R=R===undefined?0:toOffset(N,R);j=j===undefined?N.length:toOffset(N,j);for(var $=R;$>1);var ae=R(E[ie],ie);switch(j(ae,N)){case-1:q=ie+1;break;case 0:return ie;case 1:G=ie-1;break}}return~q}E.binarySearchKey=binarySearchKey;function reduceLeft(E,N,R,j,$){if(E&&E.length>0){var q=E.length;if(q>0){var G=j===undefined||j<0?0:j;var ie=$===undefined||G+$>q-1?q-1:G+$;var ae=void 0;if(arguments.length<=2){ae=E[G];G++}else{ae=R}while(G<=ie){ae=N(ae,E[G],G);G++}return ae}}return R}E.reduceLeft=reduceLeft;var N=Object.prototype.hasOwnProperty;function hasProperty(E,R){return N.call(E,R)}E.hasProperty=hasProperty;function getProperty(E,R){return N.call(E,R)?E[R]:undefined}E.getProperty=getProperty;function getOwnKeys(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(j)}}return R}E.getOwnKeys=getOwnKeys;function getAllKeys(E){var N=[];do{var R=Object.getOwnPropertyNames(E);for(var j=0,$=R;j<$.length;j++){var q=$[j];pushIfUnique(N,q)}}while(E=Object.getPrototypeOf(E));return N}E.getAllKeys=getAllKeys;function getOwnValues(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(E[j])}}return R}E.getOwnValues=getOwnValues;var R=Object.entries||function(E){var N=getOwnKeys(E);var R=Array(N.length);for(var j=0;jN?1:0}E.compareStringsCaseInsensitive=compareStringsCaseInsensitive;function compareStringsCaseSensitive(E,N){return compareComparableValues(E,N)}E.compareStringsCaseSensitive=compareStringsCaseSensitive;function getStringComparer(E){return E?compareStringsCaseInsensitive:compareStringsCaseSensitive}E.getStringComparer=getStringComparer;var G=function(){var E;var N;var R=getStringComparerFactory();return createStringComparer;function compareWithCallback(E,N,R){if(E===N)return 0;if(E===undefined)return-1;if(N===undefined)return 1;var j=R(E,N);return j<0?-1:j>0?1:0}function createIntlCollatorStringComparer(E){var N=new Intl.Collator(E,{usage:"sort",sensitivity:"variant"}).compare;return function(E,R){return compareWithCallback(E,R,N)}}function createLocaleCompareStringComparer(E){if(E!==undefined)return createFallbackStringComparer();return function(E,N){return compareWithCallback(E,N,compareStrings)};function compareStrings(E,N){return E.localeCompare(N)}}function createFallbackStringComparer(){return function(E,N){return compareWithCallback(E,N,compareDictionaryOrder)};function compareDictionaryOrder(E,N){return compareStrings(E.toUpperCase(),N.toUpperCase())||compareStrings(E,N)}function compareStrings(E,N){return EN?1:0}}function getStringComparerFactory(){if(typeof Intl==="object"&&typeof Intl.Collator==="function"){return createIntlCollatorStringComparer}if(typeof String.prototype.localeCompare==="function"&&typeof String.prototype.toLocaleUpperCase==="function"&&"a".localeCompare("B")<0){return createLocaleCompareStringComparer}return createFallbackStringComparer}function createStringComparer(j){if(j===undefined){return E||(E=R(j))}else if(j==="en-US"){return N||(N=R(j))}else{return R(j)}}}();var ie;var ae;function getUILocale(){return ae}E.getUILocale=getUILocale;function setUILocale(E){if(ae!==E){ae=E;ie=undefined}}E.setUILocale=setUILocale;function compareStringsCaseSensitiveUI(E,N){var R=ie||(ie=G(ae));return R(E,N)}E.compareStringsCaseSensitiveUI=compareStringsCaseSensitiveUI;function compareProperties(E,N,R,j){return E===N?0:E===undefined?-1:N===undefined?1:j(E[R],N[R])}E.compareProperties=compareProperties;function compareBooleans(E,N){return compareValues(E?1:0,N?1:0)}E.compareBooleans=compareBooleans;function getSpellingSuggestion(N,R,j){var $=Math.min(2,Math.floor(N.length*.34));var q=Math.floor(N.length*.4)+1;var G;for(var ie=0,ae=R;ieR?G-R:1);var ce=Math.floor(N.length>R+G?R+G:N.length);$[0]=G;var le=G;for(var _e=1;_eR){return undefined}var we=j;j=$;$=we}var Ie=j[N.length];return Ie>R?undefined:Ie}function endsWith(E,N){var R=E.length-N.length;return R>=0&&E.indexOf(N,R)===R}E.endsWith=endsWith;function removeSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):E}E.removeSuffix=removeSuffix;function tryRemoveSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):undefined}E.tryRemoveSuffix=tryRemoveSuffix;function stringContains(E,N){return E.indexOf(N)!==-1}E.stringContains=stringContains;function removeMinAndVersionNumbers(E){var N=E.length;for(var R=N-1;R>0;R--){var j=E.charCodeAt(R);if(j>=48&&j<=57){do{--R;j=E.charCodeAt(R)}while(R>0&&j>=48&&j<=57)}else if(R>4&&(j===110||j===78)){--R;j=E.charCodeAt(R);if(j!==105&&j!==73){break}--R;j=E.charCodeAt(R);if(j!==109&&j!==77){break}--R;j=E.charCodeAt(R)}else{break}if(j!==45&&j!==46){break}N=R}return N===E.length?E:E.slice(0,N)}E.removeMinAndVersionNumbers=removeMinAndVersionNumbers;function orderedRemoveItem(E,N){for(var R=0;R$){$=ae.prefix.length;j=ie}}return j}E.findBestPatternMatch=findBestPatternMatch;function startsWith(E,N){return E.lastIndexOf(N,0)===0}E.startsWith=startsWith;function removePrefix(E,N){return startsWith(E,N)?E.substr(N.length):E}E.removePrefix=removePrefix;function tryRemovePrefix(E,N,R){if(R===void 0){R=identity}return startsWith(R(E),R(N))?E.substring(N.length):undefined}E.tryRemovePrefix=tryRemovePrefix;function isPatternMatch(E,N){var R=E.prefix,j=E.suffix;return N.length>=R.length+j.length&&startsWith(N,R)&&endsWith(N,j)}function and(E,N){return function(R){return E(R)&&N(R)}}E.and=and;function or(){var E=[];for(var N=0;N=0){if(!E.isWhiteSpaceLike(N.charCodeAt(R)))break;R--}return N.slice(0,R+1)}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Off"]=0]="Off";E[E["Error"]=1]="Error";E[E["Warning"]=2]="Warning";E[E["Info"]=3]="Info";E[E["Verbose"]=4]="Verbose"})(N=E.LogLevel||(E.LogLevel={}));var R;(function(R){var j;var $=0;R.currentLogLevel=N.Warning;R.isDebugging=false;function getTypeScriptVersion(){return j!==null&&j!==void 0?j:j=new E.Version(E.version)}R.getTypeScriptVersion=getTypeScriptVersion;function shouldLog(E){return R.currentLogLevel<=E}R.shouldLog=shouldLog;function logMessage(E,N){if(R.loggingHost&&shouldLog(E)){R.loggingHost.log(E,N)}}function log(E){logMessage(N.Info,E)}R.log=log;(function(E){function error(E){logMessage(N.Error,E)}E.error=error;function warn(E){logMessage(N.Warning,E)}E.warn=warn;function log(E){logMessage(N.Info,E)}E.log=log;function trace(E){logMessage(N.Verbose,E)}E.trace=trace})(log=R.log||(R.log={}));var q={};function getAssertionLevel(){return $}R.getAssertionLevel=getAssertionLevel;function setAssertionLevel(N){var j=$;$=N;if(N>j){for(var G=0,ie=E.getOwnKeys(q);G=ce.level){R[ae]=ce;q[ae]=undefined}}}}R.setAssertionLevel=setAssertionLevel;function shouldAssert(E){return $>=E}R.shouldAssert=shouldAssert;function shouldAssertFunction(N,j){if(!shouldAssert(N)){q[j]={level:N,assertion:R[j]};R[j]=E.noop;return false}return true}function fail(E,N){debugger;var R=new Error(E?"Debug Failure. ".concat(E):"Debug Failure.");if(Error.captureStackTrace){Error.captureStackTrace(R,N||fail)}throw R}R.fail=fail;function failBadSyntaxKind(E,N,R){return fail("".concat(N||"Unexpected node.","\r\nNode ").concat(formatSyntaxKind(E.kind)," was unexpected."),R||failBadSyntaxKind)}R.failBadSyntaxKind=failBadSyntaxKind;function assert(E,N,R,j){if(!E){N=N?"False expression: ".concat(N):"False expression.";if(R){N+="\r\nVerbose Debug Information: "+(typeof R==="string"?R:R())}fail(N,j||assert)}}R.assert=assert;function assertEqual(E,N,R,j,$){if(E!==N){var q=R?j?"".concat(R," ").concat(j):R:"";fail("Expected ".concat(E," === ").concat(N,". ").concat(q),$||assertEqual)}}R.assertEqual=assertEqual;function assertLessThan(E,N,R,j){if(E>=N){fail("Expected ".concat(E," < ").concat(N,". ").concat(R||""),j||assertLessThan)}}R.assertLessThan=assertLessThan;function assertLessThanOrEqual(E,N,R){if(E>N){fail("Expected ".concat(E," <= ").concat(N),R||assertLessThanOrEqual)}}R.assertLessThanOrEqual=assertLessThanOrEqual;function assertGreaterThanOrEqual(E,N,R){if(E= ").concat(N),R||assertGreaterThanOrEqual)}}R.assertGreaterThanOrEqual=assertGreaterThanOrEqual;function assertIsDefined(E,N,R){if(E===undefined||E===null){fail(N,R||assertIsDefined)}}R.assertIsDefined=assertIsDefined;function checkDefined(E,N,R){assertIsDefined(E,N,R||checkDefined);return E}R.checkDefined=checkDefined;function assertEachIsDefined(E,N,R){for(var j=0,$=E;j<$.length;j++){var q=$[j];assertIsDefined(q,N,R||assertEachIsDefined)}}R.assertEachIsDefined=assertEachIsDefined;function checkEachDefined(E,N,R){assertEachIsDefined(E,N,R||checkEachDefined);return E}R.checkEachDefined=checkEachDefined;function assertNever(N,R,j){if(R===void 0){R="Illegal value:"}var $=typeof N==="object"&&E.hasProperty(N,"kind")&&E.hasProperty(N,"pos")&&formatSyntaxKind?"SyntaxKind: "+formatSyntaxKind(N.kind):JSON.stringify(N);return fail("".concat(R," ").concat($),j||assertNever)}R.assertNever=assertNever;function assertEachNode(N,R,j,$){if(shouldAssertFunction(1,"assertEachNode")){assert(R===undefined||E.every(N,R),j||"Unexpected node.",(function(){return"Node array did not pass test '".concat(getFunctionName(R),"'.")}),$||assertEachNode)}}R.assertEachNode=assertEachNode;function assertNode(E,N,R,j){if(shouldAssertFunction(1,"assertNode")){assert(E!==undefined&&(N===undefined||N(E)),R||"Unexpected node.",(function(){return"Node ".concat(formatSyntaxKind(E===null||E===void 0?void 0:E.kind)," did not pass test '").concat(getFunctionName(N),"'.")}),j||assertNode)}}R.assertNode=assertNode;function assertNotNode(E,N,R,j){if(shouldAssertFunction(1,"assertNotNode")){assert(E===undefined||N===undefined||!N(E),R||"Unexpected node.",(function(){return"Node ".concat(formatSyntaxKind(E.kind)," should not have passed test '").concat(getFunctionName(N),"'.")}),j||assertNotNode)}}R.assertNotNode=assertNotNode;function assertOptionalNode(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalNode")){assert(N===undefined||E===undefined||N(E),R||"Unexpected node.",(function(){return"Node ".concat(formatSyntaxKind(E===null||E===void 0?void 0:E.kind)," did not pass test '").concat(getFunctionName(N),"'.")}),j||assertOptionalNode)}}R.assertOptionalNode=assertOptionalNode;function assertOptionalToken(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalToken")){assert(N===undefined||E===undefined||E.kind===N,R||"Unexpected node.",(function(){return"Node ".concat(formatSyntaxKind(E===null||E===void 0?void 0:E.kind)," was not a '").concat(formatSyntaxKind(N),"' token.")}),j||assertOptionalToken)}}R.assertOptionalToken=assertOptionalToken;function assertMissingNode(E,N,R){if(shouldAssertFunction(1,"assertMissingNode")){assert(E===undefined,N||"Unexpected node.",(function(){return"Node ".concat(formatSyntaxKind(E.kind)," was unexpected'.")}),R||assertMissingNode)}}R.assertMissingNode=assertMissingNode;function type(E){}R.type=type;function getFunctionName(E){if(typeof E!=="function"){return""}else if(E.hasOwnProperty("name")){return E.name}else{var N=Function.prototype.toString.call(E);var R=/^function\s+([\w\$]+)\s*\(/.exec(N);return R?R[1]:""}}R.getFunctionName=getFunctionName;function formatSymbol(N){return"{ name: ".concat(E.unescapeLeadingUnderscores(N.escapedName),"; flags: ").concat(formatSymbolFlags(N.flags),"; declarations: ").concat(E.map(N.declarations,(function(E){return formatSyntaxKind(E.kind)}))," }")}R.formatSymbol=formatSymbol;function formatEnum(E,N,R){if(E===void 0){E=0}var j=getEnumMembers(N);if(E===0){return j.length>0&&j[0][0]===0?j[0][1]:"0"}if(R){var $="";var q=E;for(var G=0,ie=j;GE){break}if(ce!==0&&ce&E){$="".concat($).concat($?"|":"").concat(le);q&=~ce}}if(q===0){return $}}else{for(var _e=0,Te=j;_e=0;return ce?createErrorDeprecation(N,G,ae,R.message):le?createWarningDeprecation(N,G,ae,R.message):E.noop}function wrapFunction(E,N){return function(){E();return N.apply(this,arguments)}}function deprecate(E,N){var R=createDeprecation(getFunctionName(E),N);return wrapFunction(R,E)}R.deprecate=deprecate})(R=E.Debug||(E.Debug={}))})(ce||(ce={}));var ce;(function(E){var N=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i;var R=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i;var j=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;var $=/^(0|[1-9]\d*)$/;var q=function(){function Version(N,$,q,G,ie){if($===void 0){$=0}if(q===void 0){q=0}if(G===void 0){G=""}if(ie===void 0){ie=""}if(typeof N==="string"){var ae=E.Debug.checkDefined(tryParseComponents(N),"Invalid version");N=ae.major,$=ae.minor,q=ae.patch,G=ae.prerelease,ie=ae.build}E.Debug.assert(N>=0,"Invalid argument: major");E.Debug.assert($>=0,"Invalid argument: minor");E.Debug.assert(q>=0,"Invalid argument: patch");E.Debug.assert(!G||R.test(G),"Invalid argument: prerelease");E.Debug.assert(!ie||j.test(ie),"Invalid argument: build");this.major=N;this.minor=$;this.patch=q;this.prerelease=G?G.split("."):E.emptyArray;this.build=ie?ie.split("."):E.emptyArray}Version.tryParse=function(E){var N=tryParseComponents(E);if(!N)return undefined;var R=N.major,j=N.minor,$=N.patch,q=N.prerelease,G=N.build;return new Version(R,j,$,q,G)};Version.prototype.compareTo=function(N){if(this===N)return 0;if(N===undefined)return 1;return E.compareValues(this.major,N.major)||E.compareValues(this.minor,N.minor)||E.compareValues(this.patch,N.patch)||comparePrereleaseIdentifiers(this.prerelease,N.prerelease)};Version.prototype.increment=function(N){switch(N){case"major":return new Version(this.major+1,0,0);case"minor":return new Version(this.major,this.minor+1,0);case"patch":return new Version(this.major,this.minor,this.patch+1);default:return E.Debug.assertNever(N)}};Version.prototype.toString=function(){var N="".concat(this.major,".").concat(this.minor,".").concat(this.patch);if(E.some(this.prerelease))N+="-".concat(this.prerelease.join("."));if(E.some(this.build))N+="+".concat(this.build.join("."));return N};Version.zero=new Version(0,0,0);return Version}();E.Version=q;function tryParseComponents(E){var $=N.exec(E);if(!$)return undefined;var q=$[1],G=$[2],ie=G===void 0?"0":G,ae=$[3],ce=ae===void 0?"0":ae,le=$[4],_e=le===void 0?"":le,Te=$[5],Ee=Te===void 0?"":Te;if(_e&&!R.test(_e))return undefined;if(Ee&&!j.test(Ee))return undefined;return{major:parseInt(q,10),minor:parseInt(ie,10),patch:parseInt(ce,10),prerelease:_e,build:Ee}}function comparePrereleaseIdentifiers(N,R){if(N===R)return 0;if(N.length===0)return R.length===0?0:1;if(R.length===0)return-1;var j=Math.min(N.length,R.length);for(var q=0;q|>=|=)?\s*([a-z0-9-+.*]+)$/i;function parseRange(N){var R=[];for(var j=0,$=E.trimString(N).split(ie);j<$.length;j++){var q=$[j];if(!q)continue;var G=[];q=E.trimString(q);var ce=le.exec(q);if(ce){if(!parseHyphen(ce[1],ce[2],G))return undefined}else{for(var Te=0,Ee=q.split(ae);Te=",j.version))}if(!isWildcard($.major)){R.push(isWildcard($.minor)?createComparator("<",$.version.increment("major")):isWildcard($.patch)?createComparator("<",$.version.increment("minor")):createComparator("<=",$.version))}return true}function parseComparator(E,N,R){var j=parsePartial(N);if(!j)return false;var $=j.version,G=j.major,ie=j.minor,ae=j.patch;if(!isWildcard(G)){switch(E){case"~":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")));break;case"^":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment($.major>0||isWildcard(ie)?"major":$.minor>0||isWildcard(ae)?"minor":"patch")));break;case"<":case">=":R.push(createComparator(E,$));break;case"<=":case">":R.push(isWildcard(ie)?createComparator(E==="<="?"<":">=",$.increment("major")):isWildcard(ae)?createComparator(E==="<="?"<":">=",$.increment("minor")):createComparator(E,$));break;case"=":case undefined:if(isWildcard(ie)||isWildcard(ae)){R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")))}else{R.push(createComparator("=",$))}break;default:return false}}else if(E==="<"||E===">"){R.push(createComparator("<",q.zero))}return true}function isWildcard(E){return E==="*"||E==="x"||E==="X"}function createComparator(E,N){return{operator:E,operand:N}}function testDisjunction(E,N){if(N.length===0)return true;for(var R=0,j=N;R":return $>0;case">=":return $>=0;case"=":return $===0;default:return E.Debug.assertNever(R)}}function formatDisjunction(N){return E.map(N,formatAlternative).join(" || ")||"*"}function formatAlternative(N){return E.map(N,formatComparator).join(" ")}function formatComparator(E){return"".concat(E.operator).concat(E.operand)}})(ce||(ce={}));var ce;(function(E){function hasRequiredAPI(E,N){return typeof E==="object"&&typeof E.timeOrigin==="number"&&typeof E.mark==="function"&&typeof E.measure==="function"&&typeof E.now==="function"&&typeof N==="function"}function tryGetWebPerformanceHooks(){if(typeof performance==="object"&&typeof PerformanceObserver==="function"&&hasRequiredAPI(performance,PerformanceObserver)){return{shouldWriteNativeEvents:true,performance:performance,PerformanceObserver:PerformanceObserver}}}function tryGetNodePerformanceHooks(){if(typeof process!=="undefined"&&process.nextTick&&!process.browser&&"object"==="object"&&"function"==="function"){try{var N;var j=R(4074),$=j.performance,q=j.PerformanceObserver;if(hasRequiredAPI($,q)){N=$;var G=new E.Version(process.versions.node);var ie=new E.VersionRange("<12.16.3 || 13 <13.13");if(ie.test(G)){N={get timeOrigin(){return $.timeOrigin},now:function(){return $.now()},mark:function(E){return $.mark(E)},measure:function(E,N,R){if(N===void 0){N="nodeStart"}if(R===undefined){R="__performance.measure-fix__";$.mark(R)}$.measure(E,N,R);if(R==="__performance.measure-fix__"){$.clearMarks("__performance.measure-fix__")}}}}return{shouldWriteNativeEvents:false,performance:N,PerformanceObserver:q}}}catch(E){}}}var N=tryGetWebPerformanceHooks()||tryGetNodePerformanceHooks();var j=N===null||N===void 0?void 0:N.performance;function tryGetNativePerformanceHooks(){return N}E.tryGetNativePerformanceHooks=tryGetNativePerformanceHooks;E.timestamp=j?function(){return j.now()}:Date.now?Date.now:function(){return+new Date}})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;var j;function createTimerIf(E,R,j,$){return E?createTimer(R,j,$):N.nullTimer}N.createTimerIf=createTimerIf;function createTimer(N,R,j){var $=0;return{enter:enter,exit:exit};function enter(){if(++$===1){mark(R)}}function exit(){if(--$===0){mark(j);measure(N,R,j)}else if($<0){E.Debug.fail("enter/exit count does not match.")}}}N.createTimer=createTimer;N.nullTimer={enter:E.noop,exit:E.noop};var $=false;var q=E.timestamp();var G=new E.Map;var ie=new E.Map;var ae=new E.Map;function mark(N){var R;if($){var q=(R=ie.get(N))!==null&&R!==void 0?R:0;ie.set(N,q+1);G.set(N,E.timestamp());j===null||j===void 0?void 0:j.mark(N)}}N.mark=mark;function measure(N,R,ie){var ce,le;if($){var _e=(ce=ie!==undefined?G.get(ie):undefined)!==null&&ce!==void 0?ce:E.timestamp();var Te=(le=R!==undefined?G.get(R):undefined)!==null&&le!==void 0?le:q;var Ee=ae.get(N)||0;ae.set(N,Ee+(_e-Te));j===null||j===void 0?void 0:j.measure(N,R,ie)}}N.measure=measure;function getCount(E){return ie.get(E)||0}N.getCount=getCount;function getDuration(E){return ae.get(E)||0}N.getDuration=getDuration;function forEachMeasure(E){ae.forEach((function(N,R){return E(R,N)}))}N.forEachMeasure=forEachMeasure;function isEnabled(){return $}N.isEnabled=isEnabled;function enable(N){var G;if(N===void 0){N=E.sys}if(!$){$=true;R||(R=E.tryGetNativePerformanceHooks());if(R){q=R.performance.timeOrigin;if(R.shouldWriteNativeEvents||((G=N===null||N===void 0?void 0:N.cpuProfilingEnabled)===null||G===void 0?void 0:G.call(N))||(N===null||N===void 0?void 0:N.debugMode)){j=R.performance}}}return true}N.enable=enable;function disable(){if($){G.clear();ie.clear();ae.clear();j=undefined;$=false}}N.disable=disable})(N=E.performance||(E.performance={}))})(ce||(ce={}));var ce;(function(E){var N;var R={logEvent:E.noop,logErrEvent:E.noop,logPerfEvent:E.noop,logInfoEvent:E.noop,logStartCommand:E.noop,logStopCommand:E.noop,logStartUpdateProgram:E.noop,logStopUpdateProgram:E.noop,logStartUpdateGraph:E.noop,logStopUpdateGraph:E.noop,logStartResolveModule:E.noop,logStopResolveModule:E.noop,logStartParseSourceFile:E.noop,logStopParseSourceFile:E.noop,logStartReadFile:E.noop,logStopReadFile:E.noop,logStartBindFile:E.noop,logStopBindFile:E.noop,logStartScheduledOperation:E.noop,logStopScheduledOperation:E.noop};var j;try{var $=(N=process.env.TS_ETW_MODULE_PATH)!==null&&N!==void 0?N:"./node_modules/@microsoft/typescript-etw";j=require($)}catch(E){j=undefined}E.perfLogger=j&&j.logEvent?j:R})(ce||(ce={}));var ce;(function(E){var N;(function(N){var j;var q=0;var G=0;var ie;var ae=[];var ce;var le=[];function startTracing(_e,Te,Ee){E.Debug.assert(!E.tracing,"Tracing already started");if(j===undefined){try{j=R(57147)}catch(E){throw new Error("tracing requires having fs\n(original error: ".concat(E.message||E,")"))}}ie=_e;ae.length=0;if(ce===undefined){ce=E.combinePaths(Te,"legend.json")}if(!j.existsSync(Te)){j.mkdirSync(Te,{recursive:true})}var we=ie==="build"?".".concat(process.pid,"-").concat(++q):ie==="server"?".".concat(process.pid):"";var Ie=E.combinePaths(Te,"trace".concat(we,".json"));var Ne=E.combinePaths(Te,"types".concat(we,".json"));le.push({configFilePath:Ee,tracePath:Ie,typesPath:Ne});G=j.openSync(Ie,"w");E.tracing=N;var Me={cat:"__metadata",ph:"M",ts:1e3*E.timestamp(),pid:1,tid:1};j.writeSync(G,"[\n"+[$({name:"process_name",args:{name:"tsc"}},Me),$({name:"thread_name",args:{name:"Main"}},Me),$($({name:"TracingStartedInBrowser"},Me),{cat:"disabled-by-default-devtools.timeline"})].map((function(E){return JSON.stringify(E)})).join(",\n"))}N.startTracing=startTracing;function stopTracing(){E.Debug.assert(E.tracing,"Tracing is not in progress");E.Debug.assert(!!ae.length===(ie!=="server"));j.writeSync(G,"\n]\n");j.closeSync(G);E.tracing=undefined;if(ae.length){dumpTypes(ae)}else{le[le.length-1].typesPath=undefined}}N.stopTracing=stopTracing;function recordType(E){if(ie!=="server"){ae.push(E)}}N.recordType=recordType;var _e;(function(E){E["Parse"]="parse";E["Program"]="program";E["Bind"]="bind";E["Check"]="check";E["CheckTypes"]="checkTypes";E["Emit"]="emit";E["Session"]="session"})(_e=N.Phase||(N.Phase={}));function instant(E,N,R){writeEvent("I",E,N,R,'"s":"g"')}N.instant=instant;var Te=[];function push(N,R,j,$){if($===void 0){$=false}if($){writeEvent("B",N,R,j)}Te.push({phase:N,name:R,args:j,time:1e3*E.timestamp(),separateBeginAndEnd:$})}N.push=push;function pop(){E.Debug.assert(Te.length>0);writeStackEvent(Te.length-1,1e3*E.timestamp());Te.length--}N.pop=pop;function popAll(){var N=1e3*E.timestamp();for(var R=Te.length-1;R>=0;R--){writeStackEvent(R,N)}Te.length=0}N.popAll=popAll;var Ee=1e3*10;function writeStackEvent(E,N){var R=Te[E],j=R.phase,$=R.name,q=R.args,G=R.time,ie=R.separateBeginAndEnd;if(ie){writeEvent("E",j,$,q,undefined,N)}else if(Ee-G%Ee<=N-G){writeEvent("X",j,$,q,'"dur":'.concat(N-G),G)}}function writeEvent(N,R,$,q,ae,ce){if(ce===void 0){ce=1e3*E.timestamp()}if(ie==="server"&&R==="checkTypes")return;E.performance.mark("beginTracing");j.writeSync(G,',\n{"pid":1,"tid":1,"ph":"'.concat(N,'","cat":"').concat(R,'","ts":').concat(ce,',"name":"').concat($,'"'));if(ae)j.writeSync(G,",".concat(ae));if(q)j.writeSync(G,',"args":'.concat(JSON.stringify(q)));j.writeSync(G,"}");E.performance.mark("endTracing");E.performance.measure("Tracing","beginTracing","endTracing")}function getLocation(N){var R=E.getSourceFileOfNode(N);return!R?undefined:{path:R.path,start:indexFromOne(E.getLineAndCharacterOfPosition(R,N.pos)),end:indexFromOne(E.getLineAndCharacterOfPosition(R,N.end))};function indexFromOne(E){return{line:E.line+1,character:E.character+1}}}function dumpTypes(N){var R,q,G,ie,ae,ce,_e,Te,Ee,we,Ie,Ne,Me,Le,Be,je,Ue,ze,We,Je,Ve,qe;E.performance.mark("beginDumpTypes");var He=le[le.length-1].typesPath;var Ge=j.openSync(He,"w");var Ke=new E.Map;j.writeSync(Ge,"[");var Qe=N.length;for(var Xe=0;Xe=4;var Me=process.platform==="linux"||process.platform==="darwin";var Le=ce.platform();var Be=isFileSystemCaseSensitive();var je=(q=ie.realpathSync.native)!==null&&q!==void 0?q:ie.realpathSync;var Ue=Ne&&(process.platform==="win32"||process.platform==="darwin");var ze=E.memoize((function(){return process.cwd()}));var We=createSystemWatchFunctions({pollingWatchFile:createSingleFileWatcherPerName(fsWatchFileWorker,Be),getModifiedTime:getModifiedTime,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatch:fsWatch,useCaseSensitiveFileNames:Be,getCurrentDirectory:ze,fileExists:fileExists,fsSupportsRecursiveFsWatch:Ue,directoryExists:directoryExists,getAccessibleSortedChildDirectories:function(E){return getAccessibleFileSystemEntries(E).directories},realpath:realpath,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,defaultWatchFileKind:function(){var E,N;return(N=(E=$).defaultWatchFileKind)===null||N===void 0?void 0:N.call(E)}}),Je=We.watchFile,Ve=We.watchDirectory;var qe={args:process.argv.slice(2),newLine:ce.EOL,useCaseSensitiveFileNames:Be,write:function(E){process.stdout.write(E)},getWidthOfTerminal:function(){return process.stdout.columns},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:readFile,writeFile:writeFile,watchFile:Je,watchDirectory:Ve,resolvePath:function(E){return ae.resolve(E)},fileExists:fileExists,directoryExists:directoryExists,createDirectory:function(E){if(!qe.directoryExists(E)){try{ie.mkdirSync(E)}catch(E){if(E.code!=="EEXIST"){throw E}}}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:ze,getDirectories:getDirectories,getEnvironmentVariable:function(E){return process.env[E]||""},readDirectory:readDirectory,getModifiedTime:getModifiedTime,setModifiedTime:setModifiedTime,deleteFile:deleteFile,createHash:le?createSHA256Hash:generateDjb2Hash,createSHA256Hash:le?createSHA256Hash:undefined,getMemoryUsage:function(){if(global.gc){global.gc()}return process.memoryUsage().heapUsed},getFileSize:function(E){try{var N=statSync(E);if(N===null||N===void 0?void 0:N.isFile()){return N.size}}catch(E){}return 0},exit:function(E){disableCPUProfiler((function(){return process.exit(E)}))},enableCPUProfiler:enableCPUProfiler,disableCPUProfiler:disableCPUProfiler,cpuProfilingEnabled:function(){return!!_e||E.contains(process.execArgv,"--cpu-prof")||E.contains(process.execArgv,"--prof")},realpath:realpath,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||E.some(process.execArgv,(function(E){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(E)})),tryEnableSourceMapsForHost:function(){try{R(22284).install()}catch(E){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){if(process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking){process.stdout._handle.setBlocking(true)}},bufferFrom:bufferFrom,base64decode:function(E){return bufferFrom(E,"base64").toString("utf8")},base64encode:function(E){return bufferFrom(E).toString("base64")},require:function(N,R){try{var j=E.resolveJSModule(R,N,qe);return{module:require(j),modulePath:j,error:undefined}}catch(E){return{module:undefined,modulePath:undefined,error:E}}}};return qe;function statSync(E){return ie.statSync(E,{throwIfNoEntry:false})}function enableCPUProfiler(E,N){if(_e){N();return false}var j=R(31405);if(!j||!j.Session){N();return false}var $=new j.Session;$.connect();$.post("Profiler.enable",(function(){$.post("Profiler.start",(function(){_e=$;Te=E;N()}))}));return true}function cleanupPaths(N){var R=0;var j=new E.Map;var $=E.normalizeSlashes(__dirname);var q="file://".concat(E.getRootLength($)===1?"":"/").concat($);for(var ie=0,ae=N.nodes;ie=2&&R[0]===254&&R[1]===255){j&=~1;for(var $=0;$=2&&R[0]===255&&R[1]===254){return R.toString("utf16le",2)}if(j>=3&&R[0]===239&&R[1]===187&&R[2]===191){return R.toString("utf8",3)}return R.toString("utf8")}function readFile(N,R){E.perfLogger.logStartReadFile(N);var j=readFileWorker(N,R);E.perfLogger.logStopReadFile();return j}function writeFile(N,R,$){E.perfLogger.logEvent("WriteFile: "+N);if($){R=j+R}var q;try{q=ie.openSync(N,"w");ie.writeSync(q,R,undefined,"utf8")}finally{if(q!==undefined){ie.closeSync(q)}}}function getAccessibleFileSystemEntries(N){E.perfLogger.logEvent("ReadDir: "+(N||"."));try{var R=ie.readdirSync(N||".",{withFileTypes:true});var j=[];var $=[];for(var q=0,G=R;q0}E.isRootedDiskPath=isRootedDiskPath;function isDiskPathRoot(E){var N=getEncodedRootLength(E);return N>0&&N===E.length}E.isDiskPathRoot=isDiskPathRoot;function pathIsAbsolute(E){return getEncodedRootLength(E)!==0}E.pathIsAbsolute=pathIsAbsolute;function pathIsRelative(E){return/^\.\.?($|[\\/])/.test(E)}E.pathIsRelative=pathIsRelative;function pathIsBareSpecifier(E){return!pathIsAbsolute(E)&&!pathIsRelative(E)}E.pathIsBareSpecifier=pathIsBareSpecifier;function hasExtension(N){return E.stringContains(getBaseFileName(N),".")}E.hasExtension=hasExtension;function fileExtensionIs(N,R){return N.length>R.length&&E.endsWith(N,R)}E.fileExtensionIs=fileExtensionIs;function fileExtensionIsOneOf(E,N){for(var R=0,j=N;R0&&isAnyDirectorySeparator(E.charCodeAt(E.length-1))}E.hasTrailingDirectorySeparator=hasTrailingDirectorySeparator;function isVolumeCharacter(E){return E>=97&&E<=122||E>=65&&E<=90}function getFileUrlVolumeSeparatorEnd(E,N){var R=E.charCodeAt(N);if(R===58)return N+1;if(R===37&&E.charCodeAt(N+1)===51){var j=E.charCodeAt(N+2);if(j===97||j===65)return N+3}return-1}function getEncodedRootLength(R){if(!R)return 0;var j=R.charCodeAt(0);if(j===47||j===92){if(R.charCodeAt(1)!==j)return 1;var $=R.indexOf(j===47?E.directorySeparator:E.altDirectorySeparator,2);if($<0)return R.length;return $+1}if(isVolumeCharacter(j)&&R.charCodeAt(1)===58){var q=R.charCodeAt(2);if(q===47||q===92)return 3;if(R.length===2)return 2}var G=R.indexOf(N);if(G!==-1){var ie=G+N.length;var ae=R.indexOf(E.directorySeparator,ie);if(ae!==-1){var ce=R.slice(0,G);var le=R.slice(ie,ae);if(ce==="file"&&(le===""||le==="localhost")&&isVolumeCharacter(R.charCodeAt(ae+1))){var _e=getFileUrlVolumeSeparatorEnd(R,ae+2);if(_e!==-1){if(R.charCodeAt(_e)===47){return~(_e+1)}if(_e===R.length){return~_e}}}return~(ae+1)}return~R.length}return 0}function getRootLength(E){var N=getEncodedRootLength(E);return N<0?~N:N}E.getRootLength=getRootLength;function getDirectoryPath(N){N=normalizeSlashes(N);var R=getRootLength(N);if(R===N.length)return N;N=removeTrailingDirectorySeparator(N);return N.slice(0,Math.max(R,N.lastIndexOf(E.directorySeparator)))}E.getDirectoryPath=getDirectoryPath;function getBaseFileName(N,R,j){N=normalizeSlashes(N);var $=getRootLength(N);if($===N.length)return"";N=removeTrailingDirectorySeparator(N);var q=N.slice(Math.max(getRootLength(N),N.lastIndexOf(E.directorySeparator)+1));var G=R!==undefined&&j!==undefined?getAnyExtensionFromPath(q,R,j):undefined;return G?q.slice(0,q.length-G.length):q}E.getBaseFileName=getBaseFileName;function tryGetExtensionFromPath(N,R,j){if(!E.startsWith(R,"."))R="."+R;if(N.length>=R.length&&N.charCodeAt(N.length-R.length)===46){var $=N.slice(N.length-R.length);if(j($,R)){return $}}}function getAnyExtensionFromPathWorker(E,N,R){if(typeof N==="string"){return tryGetExtensionFromPath(E,N,R)||""}for(var j=0,$=N;j<$.length;j++){var q=$[j];var G=tryGetExtensionFromPath(E,q,R);if(G)return G}return""}function getAnyExtensionFromPath(N,R,j){if(R){return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(N),R,j?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive)}var $=getBaseFileName(N);var q=$.lastIndexOf(".");if(q>=0){return $.substring(q)}return""}E.getAnyExtensionFromPath=getAnyExtensionFromPath;function pathComponents(N,R){var $=N.substring(0,R);var q=N.substring(R).split(E.directorySeparator);if(q.length&&!E.lastOrUndefined(q))q.pop();return j([$],q,true)}function getPathComponents(E,N){if(N===void 0){N=""}E=combinePaths(N,E);return pathComponents(E,getRootLength(E))}E.getPathComponents=getPathComponents;function getPathFromPathComponents(N){if(N.length===0)return"";var R=N[0]&&ensureTrailingDirectorySeparator(N[0]);return R+N.slice(1).join(E.directorySeparator)}E.getPathFromPathComponents=getPathFromPathComponents;function normalizeSlashes(N){var j=N.indexOf("\\");if(j===-1){return N}R.lastIndex=j;return N.replace(R,E.directorySeparator)}E.normalizeSlashes=normalizeSlashes;function reducePathComponents(N){if(!E.some(N))return[];var R=[N[0]];for(var j=1;j1){if(R[R.length-1]!==".."){R.pop();continue}}else if(R[0])continue}R.push($)}return R}E.reducePathComponents=reducePathComponents;function combinePaths(E){var N=[];for(var R=1;R0===getRootLength(R)>0,"Paths must either both be absolute or both be relative");var $=typeof j==="function"?j:E.identity;var q=typeof j==="boolean"?j:false;var G=getPathComponentsRelativeTo(N,R,q?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive,$);return getPathFromPathComponents(G)}E.getRelativePathFromDirectory=getRelativePathFromDirectory;function convertToRelativePath(E,N,R){return!isRootedDiskPath(E)?E:getRelativePathToDirectoryOrUrl(N,E,N,R,false)}E.convertToRelativePath=convertToRelativePath;function getRelativePathFromFile(E,N,R){return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(E),N,R))}E.getRelativePathFromFile=getRelativePathFromFile;function getRelativePathToDirectoryOrUrl(N,R,j,$,q){var G=getPathComponentsRelativeTo(resolvePath(j,N),resolvePath(j,R),E.equateStringsCaseSensitive,$);var ie=G[0];if(q&&isRootedDiskPath(ie)){var ae=ie.charAt(0)===E.directorySeparator?"file://":"file:///";G[0]=ae+ie}return getPathFromPathComponents(G)}E.getRelativePathToDirectoryOrUrl=getRelativePathToDirectoryOrUrl;function forEachAncestorDirectory(E,N){while(true){var R=N(E);if(R!==undefined){return R}var j=getDirectoryPath(E);if(j===E){return undefined}E=j}}E.forEachAncestorDirectory=forEachAncestorDirectory;function isNodeModulesDirectory(N){return E.endsWith(N,"/node_modules")}E.isNodeModulesDirectory=isNodeModulesDirectory})(ce||(ce={}));var ce;(function(E){function diag(E,N,R,j,$,q,G){return{code:E,category:N,key:R,message:j,reportsUnnecessary:$,elidedInCompatabilityPyramid:q,reportsDeprecated:G}}E.Diagnostics={Unterminated_string_literal:diag(1002,E.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:diag(1003,E.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:diag(1005,E.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:diag(1006,E.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:diag(1007,E.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:diag(1009,E.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:diag(1010,E.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:diag(1011,E.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:diag(1012,E.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:diag(1013,E.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:diag(1014,E.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:diag(1015,E.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:diag(1016,E.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:diag(1017,E.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:diag(1018,E.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:diag(1019,E.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:diag(1020,E.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:diag(1021,E.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:diag(1022,E.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:diag(1024,E.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:diag(1025,E.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:diag(1028,E.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:diag(1029,E.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:diag(1030,E.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:diag(1031,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:diag(1034,E.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:diag(1035,E.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:diag(1036,E.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:diag(1038,E.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:diag(1039,E.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:diag(1040,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:diag(1042,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:diag(1044,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:diag(1046,E.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:diag(1047,E.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:diag(1048,E.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:diag(1049,E.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:diag(1051,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:diag(1052,E.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:diag(1053,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:diag(1054,E.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:diag(1055,E.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:diag(1056,E.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1058,E.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:diag(1059,E.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:diag(1060,E.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:diag(1061,E.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:diag(1062,E.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:diag(1063,E.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:diag(1064,E.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:diag(1066,E.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:diag(1068,E.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:diag(1069,E.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:diag(1070,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:diag(1071,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:diag(1079,E.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:diag(1084,E.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:diag(1085,E.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:diag(1089,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:diag(1090,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:diag(1091,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:diag(1092,E.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:diag(1093,E.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:diag(1094,E.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:diag(1095,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:diag(1096,E.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:diag(1097,E.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:diag(1098,E.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:diag(1099,E.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:diag(1100,E.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:diag(1101,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:diag(1102,E.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1103,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:diag(1104,E.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:diag(1105,E.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:diag(1106,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:diag(1107,E.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:diag(1108,E.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:diag(1109,E.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:diag(1110,E.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:diag(1113,E.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:diag(1114,E.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:diag(1115,E.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:diag(1116,E.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:diag(1117,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:diag(1118,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:diag(1119,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:diag(1120,E.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:diag(1121,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:diag(1123,E.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:diag(1124,E.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:diag(1125,E.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:diag(1126,E.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:diag(1127,E.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:diag(1128,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:diag(1129,E.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:diag(1130,E.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:diag(1131,E.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:diag(1132,E.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:diag(1134,E.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:diag(1135,E.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:diag(1136,E.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:diag(1137,E.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:diag(1138,E.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:diag(1139,E.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:diag(1140,E.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:diag(1141,E.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:diag(1142,E.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:diag(1144,E.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:diag(1146,E.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:diag(1147,E.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:diag(1148,E.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:diag(1149,E.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:diag(1155,E.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:diag(1156,E.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:diag(1157,E.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:diag(1160,E.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:diag(1161,E.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:diag(1162,E.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:diag(1163,E.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:diag(1164,E.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1165,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:diag(1166,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1168,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1169,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1170,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:diag(1171,E.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:diag(1172,E.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:diag(1173,E.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:diag(1174,E.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:diag(1175,E.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:diag(1176,E.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:diag(1177,E.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:diag(1178,E.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:diag(1179,E.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:diag(1180,E.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:diag(1181,E.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:diag(1182,E.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:diag(1183,E.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:diag(1184,E.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:diag(1185,E.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:diag(1186,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:diag(1187,E.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:diag(1188,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:diag(1189,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:diag(1190,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:diag(1191,E.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:diag(1192,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:diag(1193,E.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:diag(1194,E.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:diag(1195,E.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:diag(1196,E.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:diag(1197,E.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:diag(1198,E.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:diag(1199,E.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:diag(1200,E.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:diag(1202,E.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:diag(1203,E.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:diag(1205,E.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:diag(1206,E.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:diag(1207,E.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:diag(1208,E.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:diag(1210,E.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:diag(1211,E.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:diag(1212,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:diag(1213,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:diag(1214,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:diag(1215,E.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:diag(1216,E.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:diag(1218,E.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:diag(1219,E.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_not_allowed_in_an_ambient_context:diag(1221,E.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:diag(1222,E.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:diag(1223,E.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:diag(1224,E.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:diag(1225,E.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:diag(1226,E.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:diag(1227,E.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:diag(1228,E.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:diag(1229,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:diag(1230,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1231,E.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:diag(1232,E.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:diag(1233,E.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:diag(1234,E.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:diag(1235,E.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:diag(1236,E.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:diag(1237,E.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:diag(1238,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:diag(1239,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:diag(1240,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:diag(1241,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:diag(1242,E.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:diag(1243,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:diag(1244,E.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:diag(1245,E.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:diag(1246,E.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:diag(1247,E.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:diag(1248,E.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:diag(1249,E.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:diag(1250,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:diag(1251,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:diag(1252,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:diag(1254,E.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:diag(1255,E.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:diag(1257,E.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1258,E.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:diag(1259,E.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:diag(1260,E.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:diag(1261,E.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:diag(1262,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:diag(1263,E.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:diag(1264,E.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:diag(1265,E.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:diag(1266,E.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:diag(1267,E.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:diag(1268,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided:diag(1269,E.DiagnosticCategory.Error,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided_1269","Cannot use 'export import' on a type or type-only namespace when the '--isolatedModules' flag is provided."),Decorator_function_return_type_0_is_not_assignable_to_type_1:diag(1270,E.DiagnosticCategory.Error,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:diag(1271,E.DiagnosticCategory.Error,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),with_statements_are_not_allowed_in_an_async_function_block:diag(1300,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1308,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:diag(1312,E.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:diag(1313,E.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:diag(1314,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:diag(1315,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:diag(1316,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:diag(1317,E.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:diag(1318,E.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:diag(1319,E.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1320,E.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1321,E.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1322,E.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext:diag(1323,E.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext:diag(1324,E.DiagnosticCategory.Error,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext' or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:diag(1325,E.DiagnosticCategory.Error,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:diag(1326,E.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:diag(1327,E.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:diag(1328,E.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:diag(1329,E.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:diag(1330,E.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:diag(1331,E.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:diag(1332,E.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:diag(1333,E.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:diag(1334,E.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:diag(1335,E.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:diag(1337,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:diag(1338,E.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:diag(1339,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:diag(1340,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:diag(1342,E.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node12_or_nodenext:diag(1343,E.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node12', or 'nodenext'."),A_label_is_not_allowed_here:diag(1344,E.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:diag(1345,E.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:diag(1346,E.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:diag(1347,E.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:diag(1348,E.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:diag(1349,E.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:diag(1350,E.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:diag(1351,E.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:diag(1352,E.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:diag(1353,E.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:diag(1354,E.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:diag(1355,E.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:diag(1356,E.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:diag(1357,E.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:diag(1358,E.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:diag(1359,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:diag(1361,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:diag(1362,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:diag(1363,E.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:diag(1364,E.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:diag(1365,E.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:diag(1366,E.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:diag(1367,E.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:diag(1369,E.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:diag(1371,E.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:diag(1373,E.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:diag(1374,E.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1375,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:diag(1376,E.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:diag(1377,E.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:diag(1378,E.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:diag(1379,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:diag(1380,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:diag(1381,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:diag(1382,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:diag(1383,E.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:diag(1384,E.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1385,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1386,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1387,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1388,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:diag(1389,E.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:diag(1390,E.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:diag(1392,E.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:diag(1393,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:diag(1394,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:diag(1395,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:diag(1396,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:diag(1397,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:diag(1398,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:diag(1399,E.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:diag(1400,E.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:diag(1401,E.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:diag(1402,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:diag(1403,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:diag(1404,E.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:diag(1405,E.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:diag(1406,E.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:diag(1407,E.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:diag(1408,E.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:diag(1409,E.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:diag(1410,E.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:diag(1411,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1412,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:diag(1413,E.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:diag(1414,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1415,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:diag(1416,E.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:diag(1417,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:diag(1418,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:diag(1419,E.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:diag(1420,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:diag(1421,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:diag(1422,E.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:diag(1423,E.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:diag(1424,E.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:diag(1425,E.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:diag(1426,E.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:diag(1427,E.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:diag(1428,E.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:diag(1429,E.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:diag(1430,E.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1431,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:diag(1432,E.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or__1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:diag(1433,E.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:diag(1434,E.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:diag(1435,E.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:diag(1436,E.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:diag(1437,E.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:diag(1438,E.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:diag(1439,E.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:diag(1440,E.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:diag(1441,E.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:diag(1442,E.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:diag(1443,E.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:diag(1444,E.DiagnosticCategory.Error,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:diag(1446,E.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled:diag(1448,E.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isol_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:diag(1449,E.DiagnosticCategory.Message,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:diag(1450,E.DiagnosticCategory.Message,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:diag(1451,E.DiagnosticCategory.Error,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:diag(1470,E.DiagnosticCategory.Error,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead:diag(1471,E.DiagnosticCategory.Error,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead."),catch_or_finally_expected:diag(1472,E.DiagnosticCategory.Error,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:diag(1473,E.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:diag(1474,E.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),The_types_of_0_are_incompatible_between_these_types:diag(2200,E.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:diag(2201,E.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:diag(2202,E.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",undefined,true),Construct_signature_return_types_0_and_1_are_incompatible:diag(2203,E.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",undefined,true),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2204,E.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2205,E.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:diag(2206,E.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:diag(2207,E.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),Duplicate_identifier_0:diag(2300,E.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:diag(2301,E.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:diag(2302,E.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:diag(2303,E.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:diag(2304,E.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:diag(2305,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:diag(2306,E.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:diag(2307,E.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:diag(2308,E.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:diag(2309,E.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:diag(2310,E.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:diag(2311,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2312,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:diag(2313,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:diag(2314,E.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:diag(2315,E.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:diag(2316,E.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:diag(2317,E.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:diag(2318,E.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:diag(2319,E.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:diag(2320,E.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:diag(2321,E.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:diag(2322,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:diag(2323,E.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:diag(2324,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:diag(2325,E.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:diag(2326,E.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:diag(2327,E.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:diag(2328,E.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:diag(2329,E.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:diag(2330,E.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:diag(2331,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:diag(2332,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:diag(2333,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:diag(2334,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:diag(2335,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:diag(2336,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:diag(2337,E.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:diag(2338,E.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:diag(2339,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:diag(2340,E.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:diag(2341,E.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:diag(2343,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:diag(2344,E.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:diag(2345,E.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:diag(2346,E.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:diag(2347,E.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:diag(2348,E.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:diag(2349,E.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:diag(2350,E.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:diag(2351,E.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:diag(2352,E.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:diag(2353,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:diag(2354,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:diag(2355,E.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2356,E.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:diag(2357,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2358,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:diag(2359,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or_symbol:diag(2360,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360","The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:diag(2361,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2362,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2363,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:diag(2364,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:diag(2365,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:diag(2366,E.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:diag(2367,E.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:diag(2368,E.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:diag(2369,E.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:diag(2370,E.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:diag(2371,E.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:diag(2372,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:diag(2373,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:diag(2374,E.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:diag(2375,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:diag(2376,E.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:diag(2377,E.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:diag(2378,E.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:diag(2379,E.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:diag(2380,E.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:diag(2383,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:diag(2384,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:diag(2385,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:diag(2386,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:diag(2387,E.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:diag(2388,E.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:diag(2389,E.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:diag(2390,E.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:diag(2391,E.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:diag(2392,E.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:diag(2393,E.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:diag(2394,E.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:diag(2395,E.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:diag(2396,E.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:diag(2397,E.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:diag(2398,E.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:diag(2399,E.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:diag(2400,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:diag(2401,E.DiagnosticCategory.Error,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:diag(2402,E.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:diag(2403,E.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:diag(2404,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:diag(2405,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:diag(2406,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:diag(2407,E.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:diag(2408,E.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:diag(2409,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:diag(2410,E.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:diag(2412,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:diag(2411,E.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:diag(2413,E.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:diag(2414,E.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:diag(2415,E.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:diag(2416,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:diag(2417,E.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:diag(2418,E.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:diag(2419,E.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:diag(2420,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2422,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:diag(2423,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2425,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2426,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:diag(2427,E.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:diag(2428,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:diag(2430,E.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:diag(2431,E.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:diag(2432,E.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:diag(2433,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:diag(2434,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:diag(2435,E.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:diag(2436,E.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:diag(2437,E.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:diag(2438,E.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:diag(2439,E.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:diag(2440,E.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:diag(2441,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:diag(2442,E.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:diag(2443,E.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:diag(2444,E.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:diag(2445,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:diag(2446,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:diag(2447,E.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:diag(2448,E.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:diag(2449,E.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:diag(2450,E.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:diag(2451,E.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:diag(2452,E.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:diag(2454,E.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:diag(2456,E.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:diag(2457,E.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:diag(2458,E.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:diag(2459,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:diag(2460,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:diag(2461,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:diag(2462,E.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:diag(2463,E.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:diag(2464,E.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:diag(2465,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:diag(2466,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:diag(2467,E.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:diag(2468,E.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:diag(2469,E.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:diag(2472,E.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:diag(2473,E.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:diag(2474,E.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:diag(2475,E.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:diag(2476,E.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:diag(2477,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:diag(2478,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:diag(2480,E.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:diag(2481,E.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:diag(2483,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:diag(2484,E.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:diag(2487,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2488,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:diag(2489,E.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:diag(2490,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:diag(2491,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:diag(2492,E.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:diag(2493,E.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:diag(2494,E.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:diag(2495,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:diag(2496,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:diag(2497,E.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:diag(2498,E.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2499,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2500,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:diag(2501,E.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:diag(2502,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:diag(2503,E.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:diag(2504,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:diag(2505,E.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:diag(2506,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:diag(2507,E.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:diag(2508,E.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2509,E.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:diag(2510,E.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:diag(2511,E.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:diag(2512,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:diag(2513,E.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:diag(2515,E.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:diag(2516,E.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:diag(2517,E.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:diag(2518,E.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:diag(2519,E.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:diag(2520,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:diag(2522,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:diag(2523,E.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:diag(2524,E.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:diag(2525,E.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:diag(2526,E.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:diag(2527,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:diag(2528,E.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:diag(2529,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:diag(2530,E.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:diag(2531,E.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:diag(2532,E.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:diag(2533,E.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:diag(2534,E.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:diag(2535,E.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:diag(2536,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:diag(2537,E.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:diag(2538,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:diag(2539,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:diag(2540,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:diag(2542,E.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:diag(2543,E.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:diag(2544,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:diag(2545,E.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:diag(2547,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2548,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2549,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:diag(2550,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:diag(2551,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:diag(2552,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:diag(2553,E.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:diag(2554,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:diag(2555,E.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:diag(2556,E.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:diag(2558,E.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:diag(2559,E.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:diag(2560,E.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:diag(2561,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:diag(2562,E.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:diag(2563,E.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:diag(2564,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:diag(2565,E.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:diag(2566,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:diag(2567,E.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:diag(2568,E.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:diag(2569,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Could_not_find_name_0_Did_you_mean_1:diag(2570,E.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:diag(2571,E.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:diag(2574,E.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:diag(2575,E.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:diag(2576,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:diag(2577,E.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:diag(2578,E.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:diag(2580,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:diag(2581,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:diag(2582,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:diag(2583,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:diag(2584,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2585,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:diag(2588,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:diag(2589,E.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:diag(2590,E.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:diag(2591,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:diag(2592,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:diag(2593,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:diag(2594,E.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:diag(2595,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2596,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:diag(2597,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2598,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:diag(2602,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:diag(2603,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:diag(2604,E.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:diag(2606,E.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:diag(2607,E.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:diag(2608,E.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:diag(2609,E.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:diag(2610,E.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:diag(2611,E.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:diag(2612,E.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:diag(2613,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:diag(2614,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:diag(2615,E.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:diag(2616,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2617,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:diag(2618,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:diag(2619,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:diag(2620,E.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:diag(2621,E.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:diag(2623,E.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:diag(2624,E.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:diag(2625,E.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:diag(2626,E.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:diag(2627,E.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:diag(2628,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:diag(2629,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:diag(2630,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:diag(2631,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:diag(2632,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:diag(2633,E.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:diag(2634,E.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:diag(2649,E.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:diag(2651,E.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:diag(2652,E.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:diag(2653,E.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:diag(2657,E.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:diag(2658,E.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:diag(2659,E.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:diag(2660,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:diag(2661,E.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:diag(2662,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:diag(2663,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:diag(2664,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:diag(2665,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:diag(2666,E.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:diag(2667,E.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:diag(2668,E.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:diag(2669,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:diag(2670,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:diag(2671,E.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:diag(2672,E.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:diag(2673,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:diag(2674,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:diag(2675,E.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:diag(2676,E.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:diag(2677,E.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:diag(2678,E.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:diag(2679,E.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:diag(2680,E.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:diag(2681,E.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:diag(2683,E.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:diag(2684,E.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:diag(2685,E.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:diag(2686,E.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:diag(2687,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:diag(2688,E.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:diag(2689,E.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:diag(2690,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:diag(2691,E.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:diag(2692,E.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:diag(2693,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:diag(2694,E.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:diag(2695,E.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",true),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:diag(2696,E.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2697,E.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:diag(2698,E.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:diag(2699,E.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:diag(2700,E.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:diag(2701,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:diag(2702,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:diag(2703,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:diag(2704,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2705,E.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:diag(2706,E.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:diag(2707,E.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:diag(2708,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:diag(2709,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:diag(2710,E.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2711,E.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2712,E.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:diag(2713,E.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:diag(2714,E.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:diag(2715,E.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:diag(2716,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:diag(2717,E.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:diag(2718,E.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:diag(2719,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:diag(2720,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:diag(2721,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:diag(2722,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:diag(2723,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:diag(2724,E.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:diag(2725,E.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:diag(2726,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:diag(2727,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:diag(2728,E.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:diag(2729,E.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:diag(2730,E.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:diag(2731,E.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:diag(2732,E.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:diag(2733,E.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:diag(2734,E.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:diag(2735,E.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:diag(2736,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:diag(2737,E.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:diag(2738,E.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:diag(2739,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:diag(2740,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:diag(2741,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:diag(2742,E.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:diag(2743,E.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:diag(2744,E.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:diag(2745,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:diag(2746,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:diag(2747,E.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:diag(2748,E.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:diag(2749,E.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:diag(2750,E.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:diag(2751,E.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:diag(2752,E.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:diag(2753,E.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:diag(2754,E.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:diag(2755,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:diag(2756,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:diag(2757,E.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2758,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:diag(2759,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:diag(2760,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:diag(2761,E.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2762,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:diag(2763,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:diag(2764,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:diag(2765,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:diag(2766,E.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:diag(2767,E.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:diag(2768,E.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:diag(2769,E.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:diag(2770,E.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:diag(2771,E.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:diag(2772,E.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:diag(2773,E.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:diag(2774,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:diag(2775,E.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:diag(2776,E.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:diag(2777,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:diag(2778,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:diag(2779,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:diag(2780,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:diag(2781,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:diag(2782,E.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:diag(2783,E.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:diag(2784,E.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:diag(2785,E.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:diag(2786,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:diag(2787,E.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:diag(2788,E.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:diag(2789,E.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:diag(2790,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:diag(2791,E.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:diag(2792,E.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:diag(2793,E.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:diag(2794,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:diag(2795,E.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:diag(2796,E.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:diag(2797,E.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:diag(2798,E.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:diag(2799,E.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:diag(2800,E.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:diag(2801,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:diag(2802,E.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:diag(2803,E.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:diag(2804,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:diag(2806,E.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:diag(2807,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:diag(2808,E.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:diag(2809,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Initializer_for_property_0:diag(2811,E.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:diag(2812,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:diag(2813,E.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:diag(2814,E.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:diag(2815,E.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:diag(2816,E.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:diag(2817,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:diag(2818,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:diag(2819,E.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:diag(2820,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:diag(2821,E.DiagnosticCategory.Error,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:diag(2822,E.DiagnosticCategory.Error,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:diag(2833,E.DiagnosticCategory.Error,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path:diag(2834,E.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0:diag(2835,E.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:diag(2836,E.DiagnosticCategory.Error,"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836","Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:diag(2837,E.DiagnosticCategory.Error,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),Import_declaration_0_is_using_private_name_1:diag(4e3,E.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:diag(4002,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:diag(4004,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4006,E.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4008,E.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4010,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4012,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4014,E.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4016,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4019,E.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4020,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:diag(4021,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:diag(4022,E.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4023,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:diag(4024,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:diag(4025,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4026,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4027,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4028,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4029,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4030,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4031,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4032,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:diag(4033,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4034,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4035,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4036,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4037,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4038,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4039,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4040,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4041,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4042,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4043,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4044,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4045,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4046,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4047,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4048,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4049,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4050,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4051,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:diag(4052,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4053,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4054,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:diag(4055,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4056,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:diag(4057,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4058,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:diag(4059,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:diag(4060,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4061,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4062,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:diag(4063,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4064,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4065,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4066,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4067,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4068,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4069,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4070,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4071,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4072,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4073,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4074,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4075,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4076,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:diag(4077,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4078,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:diag(4081,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:diag(4082,E.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:diag(4083,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:diag(4084,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:diag(4090,E.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4091,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4092,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:diag(4094,E.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4095,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4096,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4097,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4098,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4099,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4100,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4101,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:diag(4102,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:diag(4103,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:diag(4104,E.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:diag(4105,E.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:diag(4106,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:diag(4107,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4108,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:diag(4109,E.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:diag(4110,E.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:diag(4111,E.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:diag(4112,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:diag(4113,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:diag(4114,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:diag(4115,E.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:diag(4116,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:diag(4117,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:diag(4118,E.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:diag(4119,E.DiagnosticCategory.Error,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:diag(4120,E.DiagnosticCategory.Error,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:diag(4121,E.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:diag(4122,E.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:diag(4123,E.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:diag(4124,E.DiagnosticCategory.Error,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:diag(5001,E.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:diag(5009,E.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5010,E.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:diag(5012,E.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:diag(5014,E.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:diag(5023,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:diag(5024,E.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:diag(5025,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:diag(5033,E.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:diag(5042,E.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:diag(5047,E.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:diag(5048,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:diag(5051,E.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:diag(5052,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:diag(5053,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:diag(5054,E.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:diag(5055,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:diag(5056,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:diag(5057,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:diag(5058,E.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:diag(5059,E.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:diag(5061,E.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:diag(5062,E.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:diag(5063,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:diag(5064,E.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5065,E.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:diag(5066,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(5067,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:diag(5068,E.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:diag(5069,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:diag(5070,E.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:diag(5071,E.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:diag(5072,E.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:diag(5073,E.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:diag(5074,E.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:diag(5075,E.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:diag(5076,E.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:diag(5077,E.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:diag(5078,E.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:diag(5079,E.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:diag(5080,E.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:diag(5081,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:diag(5082,E.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:diag(5083,E.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:diag(5084,E.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:diag(5085,E.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:diag(5086,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:diag(5087,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:diag(5088,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:diag(5089,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:diag(5090,E.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:diag(5091,E.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:diag(5092,E.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:diag(5093,E.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:diag(5094,E.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later:diag(5095,E.DiagnosticCategory.Error,"Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:diag(6e3,E.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:diag(6001,E.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:diag(6002,E.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:diag(6004,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:diag(6005,E.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:diag(6006,E.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:diag(6007,E.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:diag(6008,E.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:diag(6009,E.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:diag(6010,E.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:diag(6011,E.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:diag(6012,E.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:diag(6013,E.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:diag(6014,E.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:diag(6015,E.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:diag(6016,E.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:diag(6017,E.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:diag(6019,E.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:diag(6020,E.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:diag(6023,E.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:diag(6024,E.DiagnosticCategory.Message,"options_6024","options"),file:diag(6025,E.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:diag(6026,E.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:diag(6027,E.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:diag(6029,E.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:diag(6030,E.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:diag(6031,E.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:diag(6032,E.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:diag(6034,E.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:diag(6035,E.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:diag(6036,E.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:diag(6037,E.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:diag(6038,E.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:diag(6039,E.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:diag(6040,E.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:diag(6041,E.DiagnosticCategory.Message,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:diag(6043,E.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:diag(6044,E.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:diag(6045,E.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:diag(6046,E.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:diag(6048,E.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:diag(6050,E.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:diag(6051,E.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:diag(6052,E.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:diag(6053,E.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:diag(6054,E.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:diag(6055,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:diag(6056,E.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:diag(6058,E.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:diag(6059,E.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:diag(6060,E.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:diag(6061,E.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:diag(6064,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:diag(6065,E.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:diag(6066,E.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:diag(6069,E.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:diag(6070,E.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:diag(6071,E.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:diag(6072,E.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:diag(6073,E.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:diag(6074,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:diag(6075,E.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:diag(6076,E.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:diag(6077,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:diag(6078,E.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:diag(6079,E.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:diag(6080,E.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:diag(6081,E.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:diag(6082,E.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:diag(6083,E.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:diag(6084,E.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:diag(6085,E.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:diag(6086,E.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:diag(6087,E.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:diag(6088,E.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:diag(6089,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:diag(6090,E.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:diag(6091,E.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:diag(6092,E.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:diag(6093,E.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:diag(6094,E.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:diag(6095,E.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:diag(6096,E.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:diag(6097,E.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:diag(6098,E.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:diag(6099,E.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:diag(6100,E.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:diag(6101,E.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:diag(6102,E.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:diag(6104,E.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:diag(6105,E.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:diag(6106,E.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:diag(6107,E.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:diag(6108,E.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:diag(6109,E.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:diag(6110,E.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:diag(6111,E.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:diag(6112,E.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:diag(6113,E.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:diag(6114,E.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:diag(6115,E.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:diag(6116,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:diag(6119,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:diag(6120,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:diag(6121,E.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:diag(6122,E.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:diag(6123,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:diag(6124,E.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:diag(6125,E.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:diag(6126,E.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:diag(6127,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:diag(6128,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:diag(6130,E.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:diag(6131,E.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:diag(6132,E.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:diag(6133,E.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",true),Report_errors_on_unused_locals:diag(6134,E.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:diag(6135,E.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:diag(6136,E.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:diag(6137,E.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:diag(6138,E.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",true),Import_emit_helpers_from_tslib:diag(6139,E.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:diag(6140,E.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:diag(6141,E.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:diag(6142,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:diag(6144,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:diag(6145,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:diag(6146,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:diag(6147,E.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:diag(6148,E.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:diag(6149,E.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:diag(6150,E.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:diag(6151,E.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:diag(6152,E.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:diag(6153,E.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:diag(6154,E.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:diag(6155,E.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:diag(6156,E.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:diag(6157,E.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:diag(6158,E.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:diag(6159,E.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:diag(6160,E.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:diag(6161,E.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:diag(6162,E.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:diag(6163,E.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:diag(6165,E.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:diag(6166,E.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:diag(6167,E.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:diag(6168,E.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:diag(6169,E.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:diag(6170,E.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:diag(6171,E.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:diag(6179,E.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:diag(6180,E.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:diag(6181,E.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:diag(6182,E.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6183,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6184,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:diag(6186,E.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:diag(6187,E.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:diag(6188,E.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:diag(6189,E.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:diag(6191,E.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:diag(6192,E.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",true),Found_1_error_Watching_for_file_changes:diag(6193,E.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:diag(6194,E.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:diag(6195,E.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:diag(6196,E.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",true),Include_modules_imported_with_json_extension:diag(6197,E.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:diag(6198,E.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",true),All_variables_are_unused:diag(6199,E.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",true),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:diag(6200,E.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:diag(6201,E.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:diag(6202,E.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:diag(6203,E.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:diag(6204,E.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:diag(6205,E.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:diag(6206,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:diag(6207,E.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:diag(6208,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:diag(6209,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:diag(6210,E.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:diag(6211,E.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:diag(6212,E.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:diag(6213,E.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:diag(6214,E.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:diag(6215,E.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:diag(6216,E.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:diag(6217,E.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:diag(6218,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:diag(6219,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:diag(6220,E.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:diag(6221,E.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:diag(6222,E.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:diag(6223,E.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:diag(6224,E.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:diag(6225,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:diag(6226,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:diag(6227,E.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:diag(6229,E.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:diag(6230,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:diag(6231,E.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:diag(6232,E.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:diag(6233,E.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:diag(6234,E.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:diag(6235,E.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:diag(6236,E.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:diag(6237,E.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:diag(6238,E.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:diag(6239,E.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:diag(6240,E.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:diag(6241,E.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:diag(6242,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:diag(6243,E.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:diag(6244,E.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:diag(6245,E.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:diag(6246,E.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:diag(6247,E.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:diag(6248,E.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:diag(6249,E.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:diag(6250,E.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:diag(6251,E.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:diag(6252,E.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:diag(6253,E.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:diag(6254,E.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:diag(6255,E.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:diag(6256,E.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:diag(6257,E.DiagnosticCategory.Message,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:diag(6258,E.DiagnosticCategory.Error,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_1:diag(6259,E.DiagnosticCategory.Message,"Found_1_error_in_1_6259","Found 1 error in {1}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:diag(6260,E.DiagnosticCategory.Message,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:diag(6261,E.DiagnosticCategory.Message,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:diag(6270,E.DiagnosticCategory.Message,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:diag(6271,E.DiagnosticCategory.Message,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:diag(6272,E.DiagnosticCategory.Message,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:diag(6273,E.DiagnosticCategory.Message,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:diag(6274,E.DiagnosticCategory.Message,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:diag(6275,E.DiagnosticCategory.Message,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:diag(6276,E.DiagnosticCategory.Message,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Enable_project_compilation:diag(6302,E.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:diag(6304,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:diag(6305,E.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:diag(6306,E.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:diag(6307,E.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:diag(6308,E.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:diag(6309,E.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:diag(6310,E.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:diag(6350,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:diag(6351,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:diag(6352,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:diag(6353,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:diag(6354,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:diag(6355,E.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:diag(6356,E.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:diag(6357,E.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:diag(6358,E.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:diag(6359,E.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:diag(6361,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:diag(6362,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:diag(6363,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:diag(6364,E.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:diag(6365,E.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Show_what_would_be_built_or_deleted_if_specified_with_clean:diag(6367,E.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:diag(6369,E.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:diag(6370,E.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:diag(6371,E.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:diag(6372,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:diag(6373,E.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:diag(6374,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:diag(6375,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:diag(6376,E.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:diag(6377,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:diag(6378,E.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:diag(6379,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:diag(6380,E.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:diag(6381,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:diag(6382,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:diag(6383,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6384,E.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:diag(6385,E.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",undefined,undefined,true),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:diag(6386,E.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:diag(6387,E.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",undefined,undefined,true),Project_0_is_being_forcibly_rebuilt:diag(6388,E.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:diag(6389,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6390,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6391,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:diag(6392,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6393,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6394,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6395,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6396,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6397,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6398,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:diag(6500,E.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:diag(6501,E.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:diag(6502,E.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:diag(6503,E.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:diag(6504,E.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:diag(6505,E.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:diag(6506,E.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:diag(6600,E.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:diag(6601,E.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:diag(6602,E.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:diag(6603,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:diag(6604,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:diag(6605,E.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6606,E.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use `incremental` and `watch` mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:diag(6607,E.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:diag(6608,E.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:diag(6609,E.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:diag(6611,E.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:diag(6612,E.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:diag(6613,E.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:diag(6614,E.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:diag(6615,E.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:diag(6616,E.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:diag(6617,E.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:diag(6618,E.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:diag(6619,E.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:diag(6620,E.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:diag(6621,E.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:diag(6622,E.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:diag(6623,E.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:diag(6624,E.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:diag(6625,E.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:diag(6626,E.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility."),Filters_results_from_the_include_option:diag(6627,E.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:diag(6628,E.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:diag(6629,E.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:diag(6630,E.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:diag(6631,E.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:diag(6632,E.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:diag(6633,E.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:diag(6634,E.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:diag(6635,E.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:diag(6636,E.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date"),Ensure_that_casing_is_correct_in_imports:diag(6637,E.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:diag(6638,E.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:diag(6639,E.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:diag(6641,E.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:diag(6642,E.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:diag(6643,E.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:diag(6644,E.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:diag(6645,E.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:diag(6646,E.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:diag(6647,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:diag(6648,E.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:diag(6649,E.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.`"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:diag(6650,E.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:diag(6651,E.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:diag(6652,E.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:diag(6653,E.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:diag(6654,E.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:diag(6655,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:diag(6656,E.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`."),Specify_what_module_code_is_generated:diag(6657,E.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:diag(6658,E.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:diag(6659,E.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:diag(6660,E.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:diag(6661,E.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like `__extends` in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:diag(6662,E.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:diag(6663,E.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:diag(6664,E.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:diag(6665,E.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied `any` type.."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:diag(6666,E.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:diag(6667,E.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:diag(6668,E.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when `this` is given the type `any`."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:diag(6669,E.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:diag(6670,E.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:diag(6671,E.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:diag(6672,E.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow `import`s, `require`s or ``s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:diag(6673,E.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:diag(6674,E.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add `undefined` to a type when accessed using an index."),Enable_error_reporting_when_a_local_variables_aren_t_read:diag(6675,E.DiagnosticCategory.Message,"Enable_error_reporting_when_a_local_variables_aren_t_read_6675","Enable error reporting when a local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:diag(6676,E.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read"),Deprecated_setting_Use_outFile_instead:diag(6677,E.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:diag(6678,E.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:diag(6679,E.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:diag(6680,E.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:diag(6681,E.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:diag(6682,E.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing `const enum` declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:diag(6683,E.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:diag(6684,E.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:diag(6685,E.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:diag(6686,E.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:diag(6687,E.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:diag(6688,E.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:diag(6689,E.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:diag(6690,E.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:diag(6691,E.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:diag(6692,E.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:diag(6693,E.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:diag(6694,E.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:diag(6695,E.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:diag(6697,E.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for `bind`, `call`, and `apply` methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:diag(6698,E.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:diag(6699,E.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account `null` and `undefined`."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:diag(6700,E.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:diag(6701,E.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have `@internal` in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:diag(6702,E.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:diag(6703,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress `noImplicitAny` errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:diag(6704,E.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:diag(6705,E.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:diag(6706,E.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:diag(6707,E.DiagnosticCategory.Message,"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707","Specify the folder for .tsbuildinfo incremental compilation files."),Specify_options_for_automatic_acquisition_of_declaration_files:diag(6709,E.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:diag(6710,E.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like `./node_modules/@types`."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:diag(6711,E.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:diag(6712,E.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:diag(6713,E.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:diag(6714,E.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:diag(6715,E.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:diag(6716,E.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6716","Include 'undefined' in index signature results"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:diag(6717,E.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:diag(6718,E.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types"),Type_catch_clause_variables_as_unknown_instead_of_any:diag(6803,E.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:diag(6900,E.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:diag(6901,E.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:diag(6902,E.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:diag(6903,E.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:diag(6904,E.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:diag(6905,E.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:diag(6906,E.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:diag(6907,E.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:diag(6908,E.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:diag(6909,E.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:diag(69010,E.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:diag(6911,E.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:diag(6912,E.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:diag(6913,E.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:diag(6914,E.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:diag(6915,E.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:diag(6916,E.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:diag(6917,E.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:diag(6918,E.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:diag(6919,E.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:diag(6920,E.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:diag(6921,E.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:diag(6922,E.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:diag(6923,E.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:diag(6924,E.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:diag(6925,E.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:diag(6926,E.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:diag(6927,E.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:diag(6928,E.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:diag(6929,E.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:diag(6930,E.DiagnosticCategory.Message,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),Variable_0_implicitly_has_an_1_type:diag(7005,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:diag(7006,E.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:diag(7008,E.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:diag(7009,E.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:diag(7010,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7011,E.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7013,E.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7014,E.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:diag(7015,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:diag(7016,E.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:diag(7017,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:diag(7018,E.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:diag(7019,E.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7020,E.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:diag(7022,E.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7023,E.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7024,E.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:diag(7025,E.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:diag(7026,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:diag(7027,E.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",true),Unused_label:diag(7028,E.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",true),Fallthrough_case_in_switch:diag(7029,E.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:diag(7030,E.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:diag(7031,E.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:diag(7032,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:diag(7033,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:diag(7034,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:diag(7035,E.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:diag(7036,E.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:diag(7037,E.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:diag(7038,E.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:diag(7039,E.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:diag(7040,E.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:diag(7041,E.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:diag(7042,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7043,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7044,E.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7045,E.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:diag(7046,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:diag(7047,E.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:diag(7048,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:diag(7049,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:diag(7050,E.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:diag(7051,E.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:diag(7052,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:diag(7053,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:diag(7054,E.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:diag(7055,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:diag(7056,E.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:diag(7057,E.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:diag(7058,E.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:diag(7059,E.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:diag(7060,E.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:diag(7061,E.DiagnosticCategory.Error,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),JSON_imports_are_experimental_in_ES_module_mode_imports:diag(7062,E.DiagnosticCategory.Error,"JSON_imports_are_experimental_in_ES_module_mode_imports_7062","JSON imports are experimental in ES module mode imports."),You_cannot_rename_this_element:diag(8e3,E.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:diag(8001,E.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:diag(8002,E.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:diag(8003,E.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:diag(8004,E.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:diag(8005,E.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:diag(8006,E.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:diag(8008,E.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:diag(8009,E.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:diag(8010,E.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:diag(8011,E.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:diag(8012,E.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:diag(8013,E.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:diag(8016,E.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:diag(8017,E.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:diag(8018,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:diag(8019,E.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:diag(8020,E.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:diag(8021,E.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:diag(8022,E.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:diag(8023,E.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:diag(8024,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:diag(8025,E.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:diag(8026,E.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:diag(8027,E.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:diag(8028,E.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:diag(8029,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:diag(8030,E.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:diag(8031,E.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:diag(8032,E.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:diag(8033,E.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:diag(8034,E.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9005,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9006,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:diag(17e3,E.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:diag(17001,E.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:diag(17002,E.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:diag(17004,E.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:diag(17005,E.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17006,E.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17007,E.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:diag(17008,E.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:diag(17009,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:diag(17010,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:diag(17011,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:diag(17012,E.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:diag(17013,E.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:diag(17014,E.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:diag(17015,E.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:diag(17016,E.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:diag(17017,E.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:diag(17018,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:diag(18e3,E.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:diag(18002,E.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:diag(18003,E.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:diag(80001,E.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:diag(80002,E.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:diag(80003,E.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:diag(80004,E.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:diag(80005,E.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:diag(80006,E.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:diag(80007,E.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:diag(80008,E.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:diag(90001,E.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:diag(90002,E.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:diag(90003,E.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:diag(90004,E.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:diag(90005,E.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:diag(90006,E.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:diag(90007,E.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:diag(90008,E.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:diag(90010,E.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:diag(90011,E.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:diag(90012,E.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:diag(90013,E.DiagnosticCategory.Message,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:diag(90014,E.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:diag(90016,E.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:diag(90017,E.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:diag(90018,E.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:diag(90019,E.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:diag(90020,E.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:diag(90021,E.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:diag(90022,E.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:diag(90023,E.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:diag(90024,E.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:diag(90025,E.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:diag(90026,E.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:diag(90027,E.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:diag(90028,E.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:diag(90029,E.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:diag(90030,E.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:diag(90031,E.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:diag(90034,E.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:diag(90035,E.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:diag(90036,E.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:diag(90037,E.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:diag(90038,E.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:diag(90039,E.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:diag(90041,E.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:diag(90053,E.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:diag(90054,E.DiagnosticCategory.Message,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:diag(90055,E.DiagnosticCategory.Message,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:diag(90056,E.DiagnosticCategory.Message,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:diag(90057,E.DiagnosticCategory.Message,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:diag(90058,E.DiagnosticCategory.Message,"Update_import_from_0_90058",'Update import from "{0}"'),Convert_function_to_an_ES2015_class:diag(95001,E.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:diag(95003,E.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:diag(95004,E.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:diag(95005,E.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:diag(95006,E.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:diag(95007,E.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:diag(95008,E.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:diag(95009,E.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:diag(95011,E.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:diag(95012,E.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:diag(95013,E.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:diag(95014,E.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:diag(95015,E.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:diag(95016,E.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:diag(95017,E.DiagnosticCategory.Message,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:diag(95018,E.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:diag(95019,E.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:diag(95020,E.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:diag(95021,E.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:diag(95022,E.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:diag(95023,E.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:diag(95024,E.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:diag(95025,E.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:diag(95026,E.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:diag(95027,E.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:diag(95028,E.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:diag(95029,E.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:diag(95030,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:diag(95031,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:diag(95032,E.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:diag(95033,E.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:diag(95034,E.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:diag(95035,E.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:diag(95036,E.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:diag(95037,E.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:diag(95038,E.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:diag(95039,E.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:diag(95040,E.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:diag(95041,E.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:diag(95042,E.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:diag(95043,E.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:diag(95044,E.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:diag(95045,E.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:diag(95046,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:diag(95047,E.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:diag(95048,E.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:diag(95049,E.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:diag(95050,E.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:diag(95051,E.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:diag(95052,E.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:diag(95053,E.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:diag(95054,E.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:diag(95055,E.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:diag(95056,E.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:diag(95057,E.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:diag(95058,E.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:diag(95059,E.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:diag(95060,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:diag(95061,E.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:diag(95062,E.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:diag(95063,E.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:diag(95064,E.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:diag(95065,E.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:diag(95066,E.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:diag(95067,E.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:diag(95068,E.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:diag(95069,E.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:diag(95070,E.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:diag(95071,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:diag(95072,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:diag(95073,E.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:diag(95074,E.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:diag(95075,E.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:diag(95077,E.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:diag(95078,E.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:diag(95079,E.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:diag(95080,E.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:diag(95081,E.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:diag(95082,E.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:diag(95083,E.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:diag(95084,E.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:diag(95085,E.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:diag(95086,E.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:diag(95087,E.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:diag(95088,E.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:diag(95089,E.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:diag(95090,E.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:diag(95091,E.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:diag(95092,E.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:diag(95093,E.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:diag(95094,E.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:diag(95095,E.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:diag(95096,E.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:diag(95097,E.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:diag(95098,E.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:diag(95099,E.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:diag(95100,E.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:diag(95101,E.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_function_expression_0_to_arrow_function:diag(95105,E.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:diag(95106,E.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:diag(95107,E.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:diag(95108,E.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:diag(95109,E.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:diag(95110,E.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:diag(95111,E.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:diag(95112,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:diag(95113,E.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:diag(95114,E.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:diag(95115,E.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:diag(95116,E.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:diag(95117,E.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:diag(95118,E.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:diag(95119,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:diag(95120,E.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:diag(95121,E.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:diag(95122,E.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:diag(95123,E.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:diag(95124,E.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:diag(95125,E.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:diag(95126,E.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:diag(95127,E.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:diag(95128,E.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:diag(95129,E.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:diag(95130,E.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:diag(95131,E.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:diag(95132,E.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:diag(95133,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:diag(95134,E.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:diag(95135,E.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:diag(95136,E.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:diag(95137,E.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:diag(95138,E.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:diag(95139,E.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:diag(95140,E.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:diag(95141,E.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:diag(95142,E.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:diag(95143,E.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:diag(95144,E.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:diag(95145,E.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:diag(95146,E.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:diag(95147,E.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:diag(95148,E.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:diag(95149,E.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:diag(95150,E.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:diag(95151,E.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:diag(95152,E.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:diag(95153,E.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:diag(95154,E.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:diag(95155,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:diag(95156,E.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:diag(95157,E.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:diag(95158,E.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:diag(95159,E.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:diag(95160,E.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:diag(95161,E.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:diag(95162,E.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:diag(95163,E.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:diag(95164,E.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:diag(95165,E.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:diag(95166,E.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:diag(95167,E.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:diag(95168,E.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:diag(95169,E.DiagnosticCategory.Message,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:diag(95170,E.DiagnosticCategory.Message,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:diag(95171,E.DiagnosticCategory.Message,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:diag(95172,E.DiagnosticCategory.Message,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:diag(95173,E.DiagnosticCategory.Message,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:diag(18004,E.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:diag(18006,E.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:diag(18007,E.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:diag(18009,E.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:diag(18010,E.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:diag(18011,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:diag(18012,E.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:diag(18013,E.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:diag(18014,E.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:diag(18015,E.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:diag(18016,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:diag(18017,E.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:diag(18018,E.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:diag(18019,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:diag(18024,E.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:diag(18026,E.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:diag(18027,E.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:diag(18028,E.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:diag(18029,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:diag(18030,E.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:diag(18031,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:diag(18032,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:diag(18033,E.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:diag(18034,E.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(18035,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:diag(18036,E.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:diag(18037,E.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:diag(18038,E.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:diag(18039,E.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:diag(18041,E.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block.")}})(ce||(ce={}));var ce;(function(E){var N;function tokenIsIdentifierOrKeyword(E){return E>=79}E.tokenIsIdentifierOrKeyword=tokenIsIdentifierOrKeyword;function tokenIsIdentifierOrKeywordOrGreaterThan(E){return E===31||tokenIsIdentifierOrKeyword(E)}E.tokenIsIdentifierOrKeywordOrGreaterThan=tokenIsIdentifierOrKeywordOrGreaterThan;E.textToKeywordObj=(N={abstract:126,any:130,as:127,asserts:128,assert:129,bigint:157,boolean:133,break:81,case:82,catch:83,class:84,continue:86,const:85},N[""+"constructor"]=134,N.debugger=87,N.declare=135,N.default=88,N.delete=89,N.do=90,N.else=91,N.enum=92,N.export=93,N.extends=94,N.false=95,N.finally=96,N.for=97,N.from=155,N.function=98,N.get=136,N.if=99,N.implements=117,N.import=100,N.in=101,N.infer=137,N.instanceof=102,N.interface=118,N.intrinsic=138,N.is=139,N.keyof=140,N.let=119,N.module=141,N.namespace=142,N.never=143,N.new=103,N.null=104,N.number=146,N.object=147,N.package=120,N.private=121,N.protected=122,N.public=123,N.override=158,N.readonly=144,N.require=145,N.global=156,N.return=105,N.set=148,N.static=124,N.string=149,N.super=106,N.switch=107,N.symbol=150,N.this=108,N.throw=109,N.true=110,N.try=111,N.type=151,N.typeof=112,N.undefined=152,N.unique=153,N.unknown=154,N.var=113,N.void=114,N.while=115,N.with=116,N.yield=125,N.async=131,N.await=132,N.of=159,N);var R=new E.Map(E.getEntries(E.textToKeywordObj));var j=new E.Map(E.getEntries($($({},E.textToKeywordObj),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61})));var q=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var G=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ie=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ae=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ce=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101];var le=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999];var _e=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/;var Te=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function lookupInUnicodeMap(E,N){if(E=2?lookupInUnicodeMap(E,ce):N===1?lookupInUnicodeMap(E,ie):lookupInUnicodeMap(E,q)}E.isUnicodeIdentifierStart=isUnicodeIdentifierStart;function isUnicodeIdentifierPart(E,N){return N>=2?lookupInUnicodeMap(E,le):N===1?lookupInUnicodeMap(E,ae):lookupInUnicodeMap(E,G)}function makeReverseMap(E){var N=[];E.forEach((function(E,R){N[E]=R}));return N}var Ee=makeReverseMap(j);function tokenToString(E){return Ee[E]}E.tokenToString=tokenToString;function stringToToken(E){return j.get(E)}E.stringToToken=stringToToken;function computeLineStarts(E){var N=new Array;var R=0;var j=0;while(R127&&isLineBreak($)){N.push(j);j=R}break}}N.push(j);return N}E.computeLineStarts=computeLineStarts;function getPositionOfLineAndCharacter(E,N,R,j){return E.getPositionOfLineAndCharacter?E.getPositionOfLineAndCharacter(N,R,j):computePositionOfLineAndCharacter(getLineStarts(E),N,R,E.text,j)}E.getPositionOfLineAndCharacter=getPositionOfLineAndCharacter;function computePositionOfLineAndCharacter(N,R,j,$,q){if(R<0||R>=N.length){if(q){R=R<0?0:R>=N.length?N.length-1:R}else{E.Debug.fail("Bad line number. Line: ".concat(R,", lineStarts.length: ").concat(N.length," , line map is correct? ").concat($!==undefined?E.arraysEqual(N,computeLineStarts($)):"unknown"))}}var G=N[R]+j;if(q){return G>N[R+1]?N[R+1]:typeof $==="string"&&G>$.length?$.length:G}if(R=8192&&E<=8203||E===8239||E===8287||E===12288||E===65279}E.isWhiteSpaceSingleLine=isWhiteSpaceSingleLine;function isLineBreak(E){return E===10||E===13||E===8232||E===8233}E.isLineBreak=isLineBreak;function isDigit(E){return E>=48&&E<=57}function isHexDigit(E){return isDigit(E)||E>=65&&E<=70||E>=97&&E<=102}function isCodePoint(E){return E<=1114111}function isOctalDigit(E){return E>=48&&E<=55}E.isOctalDigit=isOctalDigit;function couldStartTrivia(E,N){var R=E.charCodeAt(N);switch(R){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return true;case 35:return N===0;default:return R>127}}E.couldStartTrivia=couldStartTrivia;function skipTrivia(N,R,j,$,q){if(E.positionIsSynthesized(R)){return R}var G=false;while(true){var ie=N.charCodeAt(R);switch(ie){case 13:if(N.charCodeAt(R+1)===10){R++}case 10:R++;if(j){return R}G=!!q;continue;case 9:case 11:case 12:case 32:R++;continue;case 47:if($){break}if(N.charCodeAt(R+1)===47){R+=2;while(R127&&isWhiteSpaceLike(ie)){R++;continue}break}return R}}E.skipTrivia=skipTrivia;var we="<<<<<<<".length;function isConflictMarkerTrivia(N,R){E.Debug.assert(R>=0);if(R===0||isLineBreak(N.charCodeAt(R-1))){var j=N.charCodeAt(R);if(R+we=0&&R127&&isWhiteSpaceLike(Ie)){if(_e&&isLineBreak(Ie)){le=true}R++;continue}break e}}if(_e){Ee=$(ie,ae,ce,le,q,Ee)}return Ee}function forEachLeadingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,false,R,j)}E.forEachLeadingCommentRange=forEachLeadingCommentRange;function forEachTrailingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,true,R,j)}E.forEachTrailingCommentRange=forEachTrailingCommentRange;function reduceEachLeadingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,false,R,j,$)}E.reduceEachLeadingCommentRange=reduceEachLeadingCommentRange;function reduceEachTrailingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,true,R,j,$)}E.reduceEachTrailingCommentRange=reduceEachTrailingCommentRange;function appendCommentRange(E,N,R,j,$,q){if(!q){q=[]}q.push({kind:R,pos:E,end:N,hasTrailingNewLine:j});return q}function getLeadingCommentRanges(E,N){return reduceEachLeadingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getLeadingCommentRanges=getLeadingCommentRanges;function getTrailingCommentRanges(E,N){return reduceEachTrailingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getTrailingCommentRanges=getTrailingCommentRanges;function getShebang(E){var N=Ie.exec(E);if(N){return N[0]}}E.getShebang=getShebang;function isIdentifierStart(E,N){return E>=65&&E<=90||E>=97&&E<=122||E===36||E===95||E>127&&isUnicodeIdentifierStart(E,N)}E.isIdentifierStart=isIdentifierStart;function isIdentifierPart(E,N,R){return E>=65&&E<=90||E>=97&&E<=122||E>=48&&E<=57||E===36||E===95||(R===1?E===45||E===58:false)||E>127&&isUnicodeIdentifierPart(E,N)}E.isIdentifierPart=isIdentifierPart;function isIdentifierText(E,N,R){var j=Ne(E,0);if(!isIdentifierStart(j,N)){return false}for(var $=charSize(j);$116},isReservedWord:function(){return Me>=81&&Me<=116},isUnterminated:function(){return(Be&4)!==0},getCommentDirectives:function(){return je},getNumericLiteralFlags:function(){return Be&1008},getTokenFlags:function(){return Be},reScanGreaterToken:reScanGreaterToken,reScanAsteriskEqualsToken:reScanAsteriskEqualsToken,reScanSlashToken:reScanSlashToken,reScanTemplateToken:reScanTemplateToken,reScanTemplateHeadOrNoSubstitutionTemplate:reScanTemplateHeadOrNoSubstitutionTemplate,scanJsxIdentifier:scanJsxIdentifier,scanJsxAttributeValue:scanJsxAttributeValue,reScanJsxAttributeValue:reScanJsxAttributeValue,reScanJsxToken:reScanJsxToken,reScanLessThanToken:reScanLessThanToken,reScanHashToken:reScanHashToken,reScanQuestionToken:reScanQuestionToken,reScanInvalidIdentifier:reScanInvalidIdentifier,scanJsxToken:scanJsxToken,scanJsDocToken:scanJsDocToken,scan:scan,getText:getText,clearCommentDirectives:clearCommentDirectives,setText:setText,setScriptTarget:setScriptTarget,setLanguageVariant:setLanguageVariant,setOnError:setOnError,setTextPos:setTextPos,setInJSDocType:setInJSDocType,tryScan:tryScan,lookAhead:lookAhead,scanRange:scanRange};if(E.Debug.isDebugging){Object.defineProperty(ze,"__debugShowCurrentPositionInText",{get:function(){var E=ze.getText();return E.slice(0,ze.getStartPos())+"║"+E.slice(ze.getStartPos())}})}return ze;function error(E,N,R){if(N===void 0){N=le}if(G){var j=le;le=N;G(E,R||0);le=j}}function scanNumberFragment(){var N=le;var R=false;var j=false;var $="";while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(R){R=false;j=true;$+=ce.substring(N,le)}else if(j){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;N=le;continue}if(isDigit(q)){R=true;j=false;le++;continue}break}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return $+ce.substring(N,le)}function scanNumber(){var N=le;var R=scanNumberFragment();var j;var $;if(ce.charCodeAt(le)===46){le++;j=scanNumberFragment()}var q=le;if(ce.charCodeAt(le)===69||ce.charCodeAt(le)===101){le++;Be|=16;if(ce.charCodeAt(le)===43||ce.charCodeAt(le)===45)le++;var G=le;var ie=scanNumberFragment();if(!ie){error(E.Diagnostics.Digit_expected)}else{$=ce.substring(q,G)+ie;q=le}}var ae;if(Be&512){ae=R;if(j){ae+="."+j}if($){ae+=$}}else{ae=ce.substring(N,q)}if(j!==undefined||Be&16){checkForIdentifierStartAfterNumericLiteral(N,j===undefined&&!!(Be&16));return{type:8,value:""+ +ae}}else{Le=ae;var _e=checkBigIntSuffix();checkForIdentifierStartAfterNumericLiteral(N);return{type:_e,value:Le}}}function checkForIdentifierStartAfterNumericLiteral(R,j){if(!isIdentifierStart(Ne(ce,le),N)){return}var $=le;var q=scanIdentifierParts().length;if(q===1&&ce[$]==="n"){if(j){error(E.Diagnostics.A_bigint_literal_cannot_use_exponential_notation,R,$-R+1)}else{error(E.Diagnostics.A_bigint_literal_must_be_an_integer,R,$-R+1)}}else{error(E.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,$,q);le=$}}function scanOctalDigits(){var E=le;while(isOctalDigit(ce.charCodeAt(le))){le++}return+ce.substring(E,le)}function scanExactNumberOfHexDigits(E,N){var R=scanHexDigits(E,false,N);return R?parseInt(R,16):-1}function scanMinimumNumberOfHexDigits(E,N){return scanHexDigits(E,true,N)}function scanHexDigits(N,R,j){var $=[];var q=false;var G=false;while($.length=65&&ie<=70){ie+=97-65}else if(!(ie>=48&&ie<=57||ie>=97&&ie<=102)){break}$.push(ie);le++;G=false}if($.length=Ee){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}var q=ce.charCodeAt(le);if(q===R){j+=ce.substring($,le);le++;break}if(q===92&&!N){j+=ce.substring($,le);j+=scanEscapeSequence();$=le;continue}if(isLineBreak(q)&&!N){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}le++}return j}function scanTemplateAndSetTokenValue(N){var R=ce.charCodeAt(le)===96;le++;var j=le;var $="";var q;while(true){if(le>=Ee){$+=ce.substring(j,le);Be|=4;error(E.Diagnostics.Unterminated_template_literal);q=R?14:17;break}var G=ce.charCodeAt(le);if(G===96){$+=ce.substring(j,le);le++;q=R?14:17;break}if(G===36&&le+1=Ee){error(E.Diagnostics.Unexpected_end_of_text);return""}var j=ce.charCodeAt(le);le++;switch(j){case 48:if(N&&le=0){return String.fromCharCode(R)}else{error(E.Diagnostics.Hexadecimal_digit_expected);return""}}function scanExtendedUnicodeEscape(){var N=scanMinimumNumberOfHexDigits(1,false);var R=N?parseInt(N,16):-1;var j=false;if(R<0){error(E.Diagnostics.Hexadecimal_digit_expected);j=true}else if(R>1114111){error(E.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);j=true}if(le>=Ee){error(E.Diagnostics.Unexpected_end_of_text);j=true}else if(ce.charCodeAt(le)===125){le++}else{error(E.Diagnostics.Unterminated_Unicode_escape_sequence);j=true}if(j){return""}return utf16EncodeAsString(R)}function peekUnicodeEscape(){if(le+5=2&&Ne(ce,le+1)===117&&Ne(ce,le+2)===123){var E=le;le+=3;var R=scanMinimumNumberOfHexDigits(1,false);var j=R?parseInt(R,16):-1;le=E;return j}return-1}function scanIdentifierParts(){var E="";var R=le;while(le=0&&isIdentifierPart(j,N)){le+=3;Be|=8;E+=scanExtendedUnicodeEscape();R=le;continue}j=peekUnicodeEscape();if(!(j>=0&&isIdentifierPart(j,N))){break}Be|=1024;E+=ce.substring(R,le);E+=utf16EncodeAsString(j);le+=6;R=le}else{break}}E+=ce.substring(R,le);return E}function getIdentifierToken(){var E=Le.length;if(E>=2&&E<=12){var N=Le.charCodeAt(0);if(N>=97&&N<=122){var j=R.get(Le);if(j!==undefined){return Me=j}}}return Me=79}function scanBinaryOrOctalDigits(N){var R="";var j=false;var $=false;while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(j){j=false;$=true}else if($){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;continue}j=true;if(!isDigit(q)||q-48>=N){break}R+=ce[le];le++;$=false}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return R}function checkBigIntSuffix(){if(ce.charCodeAt(le)===110){Le+="n";if(Be&384){Le=E.parsePseudoBigInt(Le)+"n"}le++;return 9}else{var N=Be&128?parseInt(Le.slice(2),2):Be&256?parseInt(Le.slice(2),8):+Le;Le=""+N;return 8}}function scan(){var R;we=le;Be=0;var q=false;while(true){Ie=le;if(le>=Ee){return Me=1}var G=Ne(ce,le);if(G===35&&le===0&&isShebangTrivia(ce,le)){le=scanShebangTrivia(ce,le);if(j){continue}else{return Me=6}}switch(G){case 10:case 13:Be|=1;if(j){le++;continue}else{if(G===13&&le+1=0&&isIdentifierStart(We,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var Je=peekUnicodeEscape();if(Je>=0&&isIdentifierStart(Je,N)){le+=6;Be|=1024;Le=String.fromCharCode(Je)+scanIdentifierParts();return Me=getIdentifierToken()}error(E.Diagnostics.Invalid_character);le++;return Me=0;case 35:if(le!==0&&ce[le+1]==="!"){error(E.Diagnostics.can_only_be_used_at_the_start_of_a_file);le++;return Me=0}if(isIdentifierStart(Ne(ce,le+1),N)){le++;scanIdentifier(Ne(ce,le),N)}else{Le=String.fromCharCode(Ne(ce,le));error(E.Diagnostics.Invalid_character,le++,charSize(G))}return Me=80;default:var Ve=scanIdentifier(G,N);if(Ve){return Me=Ve}else if(isWhiteSpaceSingleLine(G)){le+=charSize(G);continue}else if(isLineBreak(G)){Be|=1;le+=charSize(G);continue}var qe=charSize(G);error(E.Diagnostics.Invalid_character,le,qe);le+=qe;return Me=0}}}function reScanInvalidIdentifier(){E.Debug.assert(Me===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.");le=Ie=we;Be=0;var N=Ne(ce,le);var R=scanIdentifier(N,99);if(R){return Me=R}le+=charSize(N);return Me}function scanIdentifier(E,N){var R=E;if(isIdentifierStart(R,N)){le+=charSize(R);while(le=Ee){return Me=1}var R=ce.charCodeAt(le);if(R===60){if(ce.charCodeAt(le+1)===47){le+=2;return Me=30}le++;return Me=29}if(R===123){le++;return Me=18}var j=0;while(le0){break}else if(!isWhiteSpaceLike(R)){j=le}le++}Le=ce.substring(we,le);return j===-1?12:11}function scanJsxIdentifier(){if(tokenIsIdentifierOrKeyword(Me)){var E=false;while(le=Ee){return Me=1}var E=Ne(ce,le);le+=charSize(E);switch(E){case 9:case 11:case 12:case 32:while(le=0&&isIdentifierStart(R,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var j=peekUnicodeEscape();if(j>=0&&isIdentifierStart(j,N)){le+=6;Be|=1024;Le=String.fromCharCode(j)+scanIdentifierParts();return Me=getIdentifierToken()}le++;return Me=0}if(isIdentifierStart(E,N)){var $=E;while(le=0);le=N;we=N;Ie=N;Me=0;Le=undefined;Be=0}function setInJSDocType(E){Ue+=E?1:-1}}E.createScanner=createScanner;var Ne=String.prototype.codePointAt?function(E,N){return E.codePointAt(N)}:function codePointAt(E,N){var R=E.length;if(N<0||N>=R){return undefined}var j=E.charCodeAt(N);if(j>=55296&&j<=56319&&R>N+1){var $=E.charCodeAt(N+1);if($>=56320&&$<=57343){return(j-55296)*1024+$-56320+65536}}return j};function charSize(E){if(E>=65536){return 2}return 1}function utf16EncodeAsStringFallback(N){E.Debug.assert(0<=N&&N<=1114111);if(N<=65535){return String.fromCharCode(N)}var R=Math.floor((N-65536)/1024)+55296;var j=(N-65536)%1024+56320;return String.fromCharCode(R,j)}var Me=String.fromCodePoint?function(E){return String.fromCodePoint(E)}:utf16EncodeAsStringFallback;function utf16EncodeAsString(E){return Me(E)}E.utf16EncodeAsString=utf16EncodeAsString})(ce||(ce={}));var ce;(function(E){function isExternalModuleNameRelative(N){return E.pathIsRelative(N)||E.isRootedDiskPath(N)}E.isExternalModuleNameRelative=isExternalModuleNameRelative;function sortAndDeduplicateDiagnostics(N){return E.sortAndDeduplicate(N,E.compareDiagnostics)}E.sortAndDeduplicateDiagnostics=sortAndDeduplicateDiagnostics;function getDefaultLibFileName(N){switch(E.getEmitScriptTarget(N)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}E.getDefaultLibFileName=getDefaultLibFileName;function textSpanEnd(E){return E.start+E.length}E.textSpanEnd=textSpanEnd;function textSpanIsEmpty(E){return E.length===0}E.textSpanIsEmpty=textSpanIsEmpty;function textSpanContainsPosition(E,N){return N>=E.start&&N=E.pos&&N<=E.end}E.textRangeContainsPositionInclusive=textRangeContainsPositionInclusive;function textSpanContainsTextSpan(E,N){return N.start>=E.start&&textSpanEnd(N)<=textSpanEnd(E)}E.textSpanContainsTextSpan=textSpanContainsTextSpan;function textSpanOverlapsWith(E,N){return textSpanOverlap(E,N)!==undefined}E.textSpanOverlapsWith=textSpanOverlapsWith;function textSpanOverlap(E,N){var R=textSpanIntersection(E,N);return R&&R.length===0?undefined:R}E.textSpanOverlap=textSpanOverlap;function textSpanIntersectsWithTextSpan(E,N){return decodedTextSpanIntersectsWith(E.start,E.length,N.start,N.length)}E.textSpanIntersectsWithTextSpan=textSpanIntersectsWithTextSpan;function textSpanIntersectsWith(E,N,R){return decodedTextSpanIntersectsWith(E.start,E.length,N,R)}E.textSpanIntersectsWith=textSpanIntersectsWith;function decodedTextSpanIntersectsWith(E,N,R,j){var $=E+N;var q=R+j;return R<=$&&q>=E}E.decodedTextSpanIntersectsWith=decodedTextSpanIntersectsWith;function textSpanIntersectsWithPosition(E,N){return N<=textSpanEnd(E)&&N>=E.start}E.textSpanIntersectsWithPosition=textSpanIntersectsWithPosition;function textSpanIntersection(E,N){var R=Math.max(E.start,N.start);var j=Math.min(textSpanEnd(E),textSpanEnd(N));return R<=j?createTextSpanFromBounds(R,j):undefined}E.textSpanIntersection=textSpanIntersection;function createTextSpan(E,N){if(E<0){throw new Error("start < 0")}if(N<0){throw new Error("length < 0")}return{start:E,length:N}}E.createTextSpan=createTextSpan;function createTextSpanFromBounds(E,N){return createTextSpan(E,N-E)}E.createTextSpanFromBounds=createTextSpanFromBounds;function textChangeRangeNewSpan(E){return createTextSpan(E.span.start,E.newLength)}E.textChangeRangeNewSpan=textChangeRangeNewSpan;function textChangeRangeIsUnchanged(E){return textSpanIsEmpty(E.span)&&E.newLength===0}E.textChangeRangeIsUnchanged=textChangeRangeIsUnchanged;function createTextChangeRange(E,N){if(N<0){throw new Error("newLength < 0")}return{span:E,newLength:N}}E.createTextChangeRange=createTextChangeRange;E.unchangedTextChangeRange=createTextChangeRange(createTextSpan(0,0),0);function collapseTextChangeRangesAcrossMultipleVersions(N){if(N.length===0){return E.unchangedTextChangeRange}if(N.length===1){return N[0]}var R=N[0];var j=R.span.start;var $=textSpanEnd(R.span);var q=j+R.newLength;for(var G=1;G=2&&E.charCodeAt(0)===95&&E.charCodeAt(1)===95?"_"+E:E}E.escapeLeadingUnderscores=escapeLeadingUnderscores;function unescapeLeadingUnderscores(E){var N=E;return N.length>=3&&N.charCodeAt(0)===95&&N.charCodeAt(1)===95&&N.charCodeAt(2)===95?N.substr(1):N}E.unescapeLeadingUnderscores=unescapeLeadingUnderscores;function idText(E){return unescapeLeadingUnderscores(E.escapedText)}E.idText=idText;function symbolName(E){if(E.valueDeclaration&&isPrivateIdentifierClassElementDeclaration(E.valueDeclaration)){return idText(E.valueDeclaration.name)}return unescapeLeadingUnderscores(E.escapedName)}E.symbolName=symbolName;function nameForNamelessJSDocTypedef(N){var R=N.parent.parent;if(!R){return undefined}if(isDeclaration(R)){return getDeclarationIdentifier(R)}switch(R.kind){case 236:if(R.declarationList&&R.declarationList.declarations[0]){return getDeclarationIdentifier(R.declarationList.declarations[0])}break;case 237:var j=R.expression;if(j.kind===220&&j.operatorToken.kind===63){j=j.left}switch(j.kind){case 205:return j.name;case 206:var $=j.argumentExpression;if(E.isIdentifier($)){return $}}break;case 211:{return getDeclarationIdentifier(R.expression)}case 249:{if(isDeclaration(R.statement)||isExpression(R.statement)){return getDeclarationIdentifier(R.statement)}break}}}function getDeclarationIdentifier(N){var R=getNameOfDeclaration(N);return R&&E.isIdentifier(R)?R:undefined}function nodeHasName(N,R){if(isNamedDeclaration(N)&&E.isIdentifier(N.name)&&idText(N.name)===idText(R)){return true}if(E.isVariableStatement(N)&&E.some(N.declarationList.declarations,(function(E){return nodeHasName(E,R)}))){return true}return false}E.nodeHasName=nodeHasName;function getNameOfJSDocTypedef(E){return E.name||nameForNamelessJSDocTypedef(E)}E.getNameOfJSDocTypedef=getNameOfJSDocTypedef;function isNamedDeclaration(E){return!!E.name}E.isNamedDeclaration=isNamedDeclaration;function getNonAssignedNameOfDeclaration(N){switch(N.kind){case 79:return N;case 345:case 338:{var R=N.name;if(R.kind===160){return R.right}break}case 207:case 220:{var j=N;switch(E.getAssignmentDeclarationKind(j)){case 1:case 4:case 5:case 3:return E.getElementOrPropertyAccessArgumentExpressionOrName(j.left);case 7:case 8:case 9:return j.arguments[1];default:return undefined}}case 343:return getNameOfJSDocTypedef(N);case 337:return nameForNamelessJSDocTypedef(N);case 270:{var $=N.expression;return E.isIdentifier($)?$:undefined}case 206:var q=N;if(E.isBindableStaticElementAccessExpression(q)){return q.argumentExpression}}return N.name}E.getNonAssignedNameOfDeclaration=getNonAssignedNameOfDeclaration;function getNameOfDeclaration(N){if(N===undefined)return undefined;return getNonAssignedNameOfDeclaration(N)||(E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isClassExpression(N)?getAssignedName(N):undefined)}E.getNameOfDeclaration=getNameOfDeclaration;function getAssignedName(N){if(!N.parent){return undefined}else if(E.isPropertyAssignment(N.parent)||E.isBindingElement(N.parent)){return N.parent.name}else if(E.isBinaryExpression(N.parent)&&N===N.parent.right){if(E.isIdentifier(N.parent.left)){return N.parent.left}else if(E.isAccessExpression(N.parent.left)){return E.getElementOrPropertyAccessArgumentExpressionOrName(N.parent.left)}}else if(E.isVariableDeclaration(N.parent)&&E.isIdentifier(N.parent.name)){return N.parent.name}}E.getAssignedName=getAssignedName;function getJSDocParameterTagsWorker(N,R){if(N.name){if(E.isIdentifier(N.name)){var j=N.name.escapedText;return getJSDocTagsWorker(N.parent,R).filter((function(N){return E.isJSDocParameterTag(N)&&E.isIdentifier(N.name)&&N.name.escapedText===j}))}else{var $=N.parent.parameters.indexOf(N);E.Debug.assert($>-1,"Parameters should always be in their parents' parameter list");var q=getJSDocTagsWorker(N.parent,R).filter(E.isJSDocParameterTag);if($=160}E.isNodeKind=isNodeKind;function isTokenKind(E){return E>=0&&E<=159}E.isTokenKind=isTokenKind;function isToken(E){return isTokenKind(E.kind)}E.isToken=isToken;function isNodeArray(E){return E.hasOwnProperty("pos")&&E.hasOwnProperty("end")}E.isNodeArray=isNodeArray;function isLiteralKind(E){return 8<=E&&E<=14}E.isLiteralKind=isLiteralKind;function isLiteralExpression(E){return isLiteralKind(E.kind)}E.isLiteralExpression=isLiteralExpression;function isTemplateLiteralKind(E){return 14<=E&&E<=17}E.isTemplateLiteralKind=isTemplateLiteralKind;function isTemplateLiteralToken(E){return isTemplateLiteralKind(E.kind)}E.isTemplateLiteralToken=isTemplateLiteralToken;function isTemplateMiddleOrTemplateTail(E){var N=E.kind;return N===16||N===17}E.isTemplateMiddleOrTemplateTail=isTemplateMiddleOrTemplateTail;function isImportOrExportSpecifier(N){return E.isImportSpecifier(N)||E.isExportSpecifier(N)}E.isImportOrExportSpecifier=isImportOrExportSpecifier;function isTypeOnlyImportOrExportDeclaration(E){switch(E.kind){case 269:case 274:return E.isTypeOnly||E.parent.parent.isTypeOnly;case 267:return E.parent.isTypeOnly;case 266:case 264:return E.isTypeOnly;default:return false}}E.isTypeOnlyImportOrExportDeclaration=isTypeOnlyImportOrExportDeclaration;function isAssertionKey(N){return E.isStringLiteral(N)||E.isIdentifier(N)}E.isAssertionKey=isAssertionKey;function isStringTextContainingNode(E){return E.kind===10||isTemplateLiteralKind(E.kind)}E.isStringTextContainingNode=isStringTextContainingNode;function isGeneratedIdentifier(N){return E.isIdentifier(N)&&(N.autoGenerateFlags&7)>0}E.isGeneratedIdentifier=isGeneratedIdentifier;function isPrivateIdentifierClassElementDeclaration(N){return(E.isPropertyDeclaration(N)||isMethodOrAccessor(N))&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierClassElementDeclaration=isPrivateIdentifierClassElementDeclaration;function isPrivateIdentifierPropertyAccessExpression(N){return E.isPropertyAccessExpression(N)&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierPropertyAccessExpression=isPrivateIdentifierPropertyAccessExpression;function isModifierKind(E){switch(E){case 126:case 131:case 85:case 135:case 88:case 93:case 123:case 121:case 122:case 144:case 124:case 158:return true}return false}E.isModifierKind=isModifierKind;function isParameterPropertyModifier(N){return!!(E.modifierToFlag(N)&16476)}E.isParameterPropertyModifier=isParameterPropertyModifier;function isClassMemberModifier(E){return isParameterPropertyModifier(E)||E===124||E===158}E.isClassMemberModifier=isClassMemberModifier;function isModifier(E){return isModifierKind(E.kind)}E.isModifier=isModifier;function isEntityName(E){var N=E.kind;return N===160||N===79}E.isEntityName=isEntityName;function isPropertyName(E){var N=E.kind;return N===79||N===80||N===10||N===8||N===161}E.isPropertyName=isPropertyName;function isBindingName(E){var N=E.kind;return N===79||N===200||N===201}E.isBindingName=isBindingName;function isFunctionLike(E){return!!E&&isFunctionLikeKind(E.kind)}E.isFunctionLike=isFunctionLike;function isFunctionLikeOrClassStaticBlockDeclaration(N){return!!N&&(isFunctionLikeKind(N.kind)||E.isClassStaticBlockDeclaration(N))}E.isFunctionLikeOrClassStaticBlockDeclaration=isFunctionLikeOrClassStaticBlockDeclaration;function isFunctionLikeDeclaration(E){return E&&isFunctionLikeDeclarationKind(E.kind)}E.isFunctionLikeDeclaration=isFunctionLikeDeclaration;function isBooleanLiteral(E){return E.kind===110||E.kind===95}E.isBooleanLiteral=isBooleanLiteral;function isFunctionLikeDeclarationKind(E){switch(E){case 255:case 168:case 170:case 171:case 172:case 212:case 213:return true;default:return false}}function isFunctionLikeKind(E){switch(E){case 167:case 173:case 321:case 174:case 175:case 178:case 315:case 179:return true;default:return isFunctionLikeDeclarationKind(E)}}E.isFunctionLikeKind=isFunctionLikeKind;function isFunctionOrModuleBlock(N){return E.isSourceFile(N)||E.isModuleBlock(N)||E.isBlock(N)&&isFunctionLike(N.parent)}E.isFunctionOrModuleBlock=isFunctionOrModuleBlock;function isClassElement(E){var N=E.kind;return N===170||N===166||N===168||N===171||N===172||N===175||N===169||N===233}E.isClassElement=isClassElement;function isClassLike(E){return E&&(E.kind===256||E.kind===225)}E.isClassLike=isClassLike;function isAccessor(E){return E&&(E.kind===171||E.kind===172)}E.isAccessor=isAccessor;function isMethodOrAccessor(E){switch(E.kind){case 168:case 171:case 172:return true;default:return false}}E.isMethodOrAccessor=isMethodOrAccessor;function isTypeElement(E){var N=E.kind;return N===174||N===173||N===165||N===167||N===175}E.isTypeElement=isTypeElement;function isClassOrTypeElement(E){return isTypeElement(E)||isClassElement(E)}E.isClassOrTypeElement=isClassOrTypeElement;function isObjectLiteralElementLike(E){var N=E.kind;return N===294||N===295||N===296||N===168||N===171||N===172}E.isObjectLiteralElementLike=isObjectLiteralElementLike;function isTypeNode(N){return E.isTypeNodeKind(N.kind)}E.isTypeNode=isTypeNode;function isFunctionOrConstructorTypeNode(E){switch(E.kind){case 178:case 179:return true}return false}E.isFunctionOrConstructorTypeNode=isFunctionOrConstructorTypeNode;function isBindingPattern(E){if(E){var N=E.kind;return N===201||N===200}return false}E.isBindingPattern=isBindingPattern;function isAssignmentPattern(E){var N=E.kind;return N===203||N===204}E.isAssignmentPattern=isAssignmentPattern;function isArrayBindingElement(E){var N=E.kind;return N===202||N===226}E.isArrayBindingElement=isArrayBindingElement;function isDeclarationBindingElement(E){switch(E.kind){case 253:case 163:case 202:return true}return false}E.isDeclarationBindingElement=isDeclarationBindingElement;function isBindingOrAssignmentPattern(E){return isObjectBindingOrAssignmentPattern(E)||isArrayBindingOrAssignmentPattern(E)}E.isBindingOrAssignmentPattern=isBindingOrAssignmentPattern;function isObjectBindingOrAssignmentPattern(E){switch(E.kind){case 200:case 204:return true}return false}E.isObjectBindingOrAssignmentPattern=isObjectBindingOrAssignmentPattern;function isObjectBindingOrAssignmentElement(E){switch(E.kind){case 202:case 294:case 295:case 296:return true}return false}E.isObjectBindingOrAssignmentElement=isObjectBindingOrAssignmentElement;function isArrayBindingOrAssignmentPattern(E){switch(E.kind){case 201:case 203:return true}return false}E.isArrayBindingOrAssignmentPattern=isArrayBindingOrAssignmentPattern;function isPropertyAccessOrQualifiedNameOrImportTypeNode(E){var N=E.kind;return N===205||N===160||N===199}E.isPropertyAccessOrQualifiedNameOrImportTypeNode=isPropertyAccessOrQualifiedNameOrImportTypeNode;function isPropertyAccessOrQualifiedName(E){var N=E.kind;return N===205||N===160}E.isPropertyAccessOrQualifiedName=isPropertyAccessOrQualifiedName;function isCallLikeExpression(E){switch(E.kind){case 279:case 278:case 207:case 208:case 209:case 164:return true;default:return false}}E.isCallLikeExpression=isCallLikeExpression;function isCallOrNewExpression(E){return E.kind===207||E.kind===208}E.isCallOrNewExpression=isCallOrNewExpression;function isTemplateLiteral(E){var N=E.kind;return N===222||N===14}E.isTemplateLiteral=isTemplateLiteral;function isLeftHandSideExpression(E){return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isLeftHandSideExpression=isLeftHandSideExpression;function isLeftHandSideExpressionKind(E){switch(E){case 205:case 206:case 208:case 207:case 277:case 278:case 281:case 209:case 203:case 211:case 204:case 225:case 212:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 222:case 95:case 104:case 108:case 110:case 106:case 229:case 230:case 100:return true;default:return false}}function isUnaryExpression(E){return isUnaryExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isUnaryExpression=isUnaryExpression;function isUnaryExpressionKind(E){switch(E){case 218:case 219:case 214:case 215:case 216:case 217:case 210:return true;default:return isLeftHandSideExpressionKind(E)}}function isUnaryExpressionWithWrite(E){switch(E.kind){case 219:return true;case 218:return E.operator===45||E.operator===46;default:return false}}E.isUnaryExpressionWithWrite=isUnaryExpressionWithWrite;function isExpression(E){return isExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isExpression=isExpression;function isExpressionKind(E){switch(E){case 221:case 223:case 213:case 220:case 224:case 228:case 226:case 349:case 348:return true;default:return isUnaryExpressionKind(E)}}function isAssertionExpression(E){var N=E.kind;return N===210||N===228}E.isAssertionExpression=isAssertionExpression;function isNotEmittedOrPartiallyEmittedNode(N){return E.isNotEmittedStatement(N)||E.isPartiallyEmittedExpression(N)}E.isNotEmittedOrPartiallyEmittedNode=isNotEmittedOrPartiallyEmittedNode;function isIterationStatement(E,N){switch(E.kind){case 241:case 242:case 243:case 239:case 240:return true;case 249:return N&&isIterationStatement(E.statement,N)}return false}E.isIterationStatement=isIterationStatement;function isScopeMarker(N){return E.isExportAssignment(N)||E.isExportDeclaration(N)}E.isScopeMarker=isScopeMarker;function hasScopeMarker(N){return E.some(N,isScopeMarker)}E.hasScopeMarker=hasScopeMarker;function needsScopeMarker(N){return!E.isAnyImportOrReExport(N)&&!E.isExportAssignment(N)&&!E.hasSyntacticModifier(N,1)&&!E.isAmbientModule(N)}E.needsScopeMarker=needsScopeMarker;function isExternalModuleIndicator(N){return E.isAnyImportOrReExport(N)||E.isExportAssignment(N)||E.hasSyntacticModifier(N,1)}E.isExternalModuleIndicator=isExternalModuleIndicator;function isForInOrOfStatement(E){return E.kind===242||E.kind===243}E.isForInOrOfStatement=isForInOrOfStatement;function isConciseBody(N){return E.isBlock(N)||isExpression(N)}E.isConciseBody=isConciseBody;function isFunctionBody(N){return E.isBlock(N)}E.isFunctionBody=isFunctionBody;function isForInitializer(N){return E.isVariableDeclarationList(N)||isExpression(N)}E.isForInitializer=isForInitializer;function isModuleBody(E){var N=E.kind;return N===261||N===260||N===79}E.isModuleBody=isModuleBody;function isNamespaceBody(E){var N=E.kind;return N===261||N===260}E.isNamespaceBody=isNamespaceBody;function isJSDocNamespaceBody(E){var N=E.kind;return N===79||N===260}E.isJSDocNamespaceBody=isJSDocNamespaceBody;function isNamedImportBindings(E){var N=E.kind;return N===268||N===267}E.isNamedImportBindings=isNamedImportBindings;function isModuleOrEnumDeclaration(E){return E.kind===260||E.kind===259}E.isModuleOrEnumDeclaration=isModuleOrEnumDeclaration;function isDeclarationKind(E){return E===213||E===202||E===256||E===225||E===169||E===170||E===259||E===297||E===274||E===255||E===212||E===171||E===266||E===264||E===269||E===257||E===284||E===168||E===167||E===260||E===263||E===267||E===273||E===163||E===294||E===166||E===165||E===172||E===295||E===258||E===162||E===253||E===343||E===336||E===345}function isDeclarationStatementKind(E){return E===255||E===275||E===256||E===257||E===258||E===259||E===260||E===265||E===264||E===271||E===270||E===263}function isStatementKindButNotDeclarationKind(E){return E===245||E===244||E===252||E===239||E===237||E===235||E===242||E===243||E===241||E===238||E===249||E===246||E===248||E===250||E===251||E===236||E===240||E===247||E===347||E===351||E===350}function isDeclaration(N){if(N.kind===162){return N.parent&&N.parent.kind!==342||E.isInJSFile(N)}return isDeclarationKind(N.kind)}E.isDeclaration=isDeclaration;function isDeclarationStatement(E){return isDeclarationStatementKind(E.kind)}E.isDeclarationStatement=isDeclarationStatement;function isStatementButNotDeclaration(E){return isStatementKindButNotDeclarationKind(E.kind)}E.isStatementButNotDeclaration=isStatementButNotDeclaration;function isStatement(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||isBlockStatement(E)}E.isStatement=isStatement;function isBlockStatement(N){if(N.kind!==234)return false;if(N.parent!==undefined){if(N.parent.kind===251||N.parent.kind===291){return false}}return!E.isFunctionBlock(N)}function isStatementOrBlock(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||N===234}E.isStatementOrBlock=isStatementOrBlock;function isModuleReference(E){var N=E.kind;return N===276||N===160||N===79}E.isModuleReference=isModuleReference;function isJsxTagNameExpression(E){var N=E.kind;return N===108||N===79||N===205}E.isJsxTagNameExpression=isJsxTagNameExpression;function isJsxChild(E){var N=E.kind;return N===277||N===287||N===278||N===11||N===281}E.isJsxChild=isJsxChild;function isJsxAttributeLike(E){var N=E.kind;return N===284||N===286}E.isJsxAttributeLike=isJsxAttributeLike;function isStringLiteralOrJsxExpression(E){var N=E.kind;return N===10||N===287}E.isStringLiteralOrJsxExpression=isStringLiteralOrJsxExpression;function isJsxOpeningLikeElement(E){var N=E.kind;return N===279||N===278}E.isJsxOpeningLikeElement=isJsxOpeningLikeElement;function isCaseOrDefaultClause(E){var N=E.kind;return N===288||N===289}E.isCaseOrDefaultClause=isCaseOrDefaultClause;function isJSDocNode(E){return E.kind>=307&&E.kind<=345}E.isJSDocNode=isJSDocNode;function isJSDocCommentContainingNode(N){return N.kind===318||N.kind===317||N.kind===319||isJSDocLinkLike(N)||isJSDocTag(N)||E.isJSDocTypeLiteral(N)||E.isJSDocSignature(N)}E.isJSDocCommentContainingNode=isJSDocCommentContainingNode;function isJSDocTag(E){return E.kind>=325&&E.kind<=345}E.isJSDocTag=isJSDocTag;function isSetAccessor(E){return E.kind===172}E.isSetAccessor=isSetAccessor;function isGetAccessor(E){return E.kind===171}E.isGetAccessor=isGetAccessor;function hasJSDocNodes(E){var N=E.jsDoc;return!!N&&N.length>0}E.hasJSDocNodes=hasJSDocNodes;function hasType(E){return!!E.type}E.hasType=hasType;function hasInitializer(E){return!!E.initializer}E.hasInitializer=hasInitializer;function hasOnlyExpressionInitializer(E){switch(E.kind){case 253:case 163:case 202:case 165:case 166:case 294:case 297:return true;default:return false}}E.hasOnlyExpressionInitializer=hasOnlyExpressionInitializer;function isObjectLiteralElement(E){return E.kind===284||E.kind===286||isObjectLiteralElementLike(E)}E.isObjectLiteralElement=isObjectLiteralElement;function isTypeReferenceType(E){return E.kind===177||E.kind===227}E.isTypeReferenceType=isTypeReferenceType;var N=1073741823;function guessIndentation(R){var j=N;for(var $=0,q=R;$=0);return E.getLineStarts(R)[N]}E.getStartPositionOfLine=getStartPositionOfLine;function nodePosToString(N){var R=getSourceFileOfNode(N);var j=E.getLineAndCharacterOfPosition(R,N.pos);return"".concat(R.fileName,"(").concat(j.line+1,",").concat(j.character+1,")")}E.nodePosToString=nodePosToString;function getEndLinePosition(N,R){E.Debug.assert(N>=0);var j=E.getLineStarts(R);var $=N;var q=R.text;if($+1===j.length){return q.length-1}else{var G=j[$];var ie=j[$+1]-1;E.Debug.assert(E.isLineBreak(q.charCodeAt(ie)));while(G<=ie&&E.isLineBreak(q.charCodeAt(ie))){ie--}return ie}}E.getEndLinePosition=getEndLinePosition;function isFileLevelUniqueName(E,N,R){return!(R&&R(N))&&!E.identifiers.has(N)}E.isFileLevelUniqueName=isFileLevelUniqueName;function nodeIsMissing(E){if(E===undefined){return true}return E.pos===E.end&&E.pos>=0&&E.kind!==1}E.nodeIsMissing=nodeIsMissing;function nodeIsPresent(E){return!nodeIsMissing(E)}E.nodeIsPresent=nodeIsPresent;function insertStatementsAfterPrologue(E,N,R){if(N===undefined||N.length===0)return E;var $=0;for(;$0){return getTokenPosOfNode(N._children[0],R,j)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.pos,false,false,isInJSDoc(N))}E.getTokenPosOfNode=getTokenPosOfNode;function getNonDecoratorTokenPosOfNode(N,R){if(nodeIsMissing(N)||!N.decorators){return getTokenPosOfNode(N,R)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.decorators.end)}E.getNonDecoratorTokenPosOfNode=getNonDecoratorTokenPosOfNode;function getSourceTextOfNodeFromSourceFile(E,N,R){if(R===void 0){R=false}return getTextOfNodeFromSourceText(E.text,N,R)}E.getSourceTextOfNodeFromSourceFile=getSourceTextOfNodeFromSourceFile;function isJSDocTypeExpressionOrChild(N){return!!E.findAncestor(N,E.isJSDocTypeExpression)}function isExportNamespaceAsDefaultDeclaration(N){return!!(E.isExportDeclaration(N)&&N.exportClause&&E.isNamespaceExport(N.exportClause)&&N.exportClause.name.escapedText==="default")}E.isExportNamespaceAsDefaultDeclaration=isExportNamespaceAsDefaultDeclaration;function getTextOfNodeFromSourceText(N,R,j){if(j===void 0){j=false}if(nodeIsMissing(R)){return""}var $=N.substring(j?R.pos:E.skipTrivia(N,R.pos),R.end);if(isJSDocTypeExpressionOrChild(R)){$=$.split(/\r\n|\n|\r/).map((function(N){return E.trimStringStart(N.replace(/^\s*\*/,""))})).join("\n")}return $}E.getTextOfNodeFromSourceText=getTextOfNodeFromSourceText;function getTextOfNode(E,N){if(N===void 0){N=false}return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(E),E,N)}E.getTextOfNode=getTextOfNode;function getPos(E){return E.pos}function indexOfNode(N,R){return E.binarySearch(N,R,getPos,E.compareValues)}E.indexOfNode=indexOfNode;function getEmitFlags(E){var N=E.emitNode;return N&&N.flags||0}E.getEmitFlags=getEmitFlags;function getScriptTargetFeatures(){return{es2015:{Array:["find","findIndex","fill","copyWithin","entries","keys","values"],RegExp:["flags","sticky","unicode"],Reflect:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],ArrayConstructor:["from","of"],ObjectConstructor:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],NumberConstructor:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"],Math:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"],Map:["entries","keys","values"],Set:["entries","keys","values"],Promise:E.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:E.emptyArray,AsyncIterator:E.emptyArray,String:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],StringConstructor:["fromCodePoint","raw"]},es2016:{Array:["includes"]},es2017:{Atomics:E.emptyArray,SharedArrayBuffer:E.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:E.emptyArray,AsyncIterableIterator:E.emptyArray,AsyncGenerator:E.emptyArray,AsyncGeneratorFunction:E.emptyArray,NumberFormat:["formatToParts"]},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:E.emptyArray,BigInt64Array:E.emptyArray,BigUint64Array:E.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},es2022:{Array:["at"],String:["at"],Int8Array:["at"],Uint8Array:["at"],Uint8ClampedArray:["at"],Int16Array:["at"],Uint16Array:["at"],Int32Array:["at"],Uint32Array:["at"],Float32Array:["at"],Float64Array:["at"],BigInt64Array:["at"],BigUint64Array:["at"],ObjectConstructor:["hasOwn"],Error:["cause"]}}}E.getScriptTargetFeatures=getScriptTargetFeatures;var R;(function(E){E[E["None"]=0]="None";E[E["NeverAsciiEscape"]=1]="NeverAsciiEscape";E[E["JsxAttributeEscape"]=2]="JsxAttributeEscape";E[E["TerminateUnterminatedLiterals"]=4]="TerminateUnterminatedLiterals";E[E["AllowNumericSeparator"]=8]="AllowNumericSeparator"})(R=E.GetLiteralTextFlags||(E.GetLiteralTextFlags={}));function getLiteralText(N,R,j){var $;if(canUseOriginalText(N,j)){return getSourceTextOfNodeFromSourceFile(R,N)}switch(N.kind){case 10:{var q=j&2?escapeJsxAttributeString:j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;if(N.singleQuote){return"'"+q(N.text,39)+"'"}else{return'"'+q(N.text,34)+'"'}}case 14:case 15:case 16:case 17:{var q=j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;var G=($=N.rawText)!==null&&$!==void 0?$:escapeTemplateSubstitution(q(N.text,96));switch(N.kind){case 14:return"`"+G+"`";case 15:return"`"+G+"${";case 16:return"}"+G+"${";case 17:return"}"+G+"`"}break}case 8:case 9:return N.text;case 13:if(j&4&&N.isUnterminated){return N.text+(N.text.charCodeAt(N.text.length-1)===92?" /":"/")}return N.text}return E.Debug.fail("Literal kind '".concat(N.kind,"' not accounted for."))}E.getLiteralText=getLiteralText;function canUseOriginalText(N,R){if(nodeIsSynthesized(N)||!N.parent||R&4&&N.isUnterminated){return false}if(E.isNumericLiteral(N)&&N.numericLiteralFlags&512){return!!(R&8)}return!E.isBigIntLiteral(N)}function getTextOfConstantValue(N){return E.isString(N)?'"'+escapeNonAsciiString(N)+'"':""+N}E.getTextOfConstantValue=getTextOfConstantValue;function makeIdentifierFromModuleName(N){return E.getBaseFileName(N).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}E.makeIdentifierFromModuleName=makeIdentifierFromModuleName;function isBlockOrCatchScoped(N){return(E.getCombinedNodeFlags(N)&3)!==0||isCatchClauseVariableDeclarationOrBindingElement(N)}E.isBlockOrCatchScoped=isBlockOrCatchScoped;function isCatchClauseVariableDeclarationOrBindingElement(E){var N=getRootDeclaration(E);return N.kind===253&&N.parent.kind===291}E.isCatchClauseVariableDeclarationOrBindingElement=isCatchClauseVariableDeclarationOrBindingElement;function isAmbientModule(N){return E.isModuleDeclaration(N)&&(N.name.kind===10||isGlobalScopeAugmentation(N))}E.isAmbientModule=isAmbientModule;function isModuleWithStringLiteralName(N){return E.isModuleDeclaration(N)&&N.name.kind===10}E.isModuleWithStringLiteralName=isModuleWithStringLiteralName;function isNonGlobalAmbientModule(N){return E.isModuleDeclaration(N)&&E.isStringLiteral(N.name)}E.isNonGlobalAmbientModule=isNonGlobalAmbientModule;function isEffectiveModuleDeclaration(N){return E.isModuleDeclaration(N)||E.isIdentifier(N)}E.isEffectiveModuleDeclaration=isEffectiveModuleDeclaration;function isShorthandAmbientModuleSymbol(E){return isShorthandAmbientModule(E.valueDeclaration)}E.isShorthandAmbientModuleSymbol=isShorthandAmbientModuleSymbol;function isShorthandAmbientModule(E){return!!E&&E.kind===260&&!E.body}function isBlockScopedContainerTopLevel(N){return N.kind===303||N.kind===260||E.isFunctionLikeOrClassStaticBlockDeclaration(N)}E.isBlockScopedContainerTopLevel=isBlockScopedContainerTopLevel;function isGlobalScopeAugmentation(E){return!!(E.flags&1024)}E.isGlobalScopeAugmentation=isGlobalScopeAugmentation;function isExternalModuleAugmentation(E){return isAmbientModule(E)&&isModuleAugmentationExternal(E)}E.isExternalModuleAugmentation=isExternalModuleAugmentation;function isModuleAugmentationExternal(N){switch(N.parent.kind){case 303:return E.isExternalModule(N.parent);case 261:return isAmbientModule(N.parent.parent)&&E.isSourceFile(N.parent.parent.parent)&&!E.isExternalModule(N.parent.parent.parent)}return false}E.isModuleAugmentationExternal=isModuleAugmentationExternal;function getNonAugmentationDeclaration(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find((function(N){return!isExternalModuleAugmentation(N)&&!(E.isModuleDeclaration(N)&&isGlobalScopeAugmentation(N))}))}E.getNonAugmentationDeclaration=getNonAugmentationDeclaration;function isCommonJSContainingModuleKind(N){return N===E.ModuleKind.CommonJS||N===E.ModuleKind.Node12||N===E.ModuleKind.NodeNext}function isEffectiveExternalModule(N,R){return E.isExternalModule(N)||R.isolatedModules||isCommonJSContainingModuleKind(getEmitModuleKind(R))&&!!N.commonJsModuleIndicator}E.isEffectiveExternalModule=isEffectiveExternalModule;function isEffectiveStrictModeSourceFile(N,R){switch(N.scriptKind){case 1:case 3:case 2:case 4:break;default:return false}if(N.isDeclarationFile){return false}if(getStrictOptionValue(R,"alwaysStrict")){return true}if(E.startsWithUseStrict(N.statements)){return true}if(E.isExternalModule(N)||R.isolatedModules){if(getEmitModuleKind(R)>=E.ModuleKind.ES2015){return true}return!R.noImplicitUseStrict}return false}E.isEffectiveStrictModeSourceFile=isEffectiveStrictModeSourceFile;function isBlockScope(N,R){switch(N.kind){case 303:case 262:case 291:case 260:case 241:case 242:case 243:case 170:case 168:case 171:case 172:case 255:case 212:case 213:case 166:case 169:return true;case 234:return!E.isFunctionLikeOrClassStaticBlockDeclaration(R)}return false}E.isBlockScope=isBlockScope;function isDeclarationWithTypeParameters(N){switch(N.kind){case 336:case 343:case 321:return true;default:E.assertType(N);return isDeclarationWithTypeParameterChildren(N)}}E.isDeclarationWithTypeParameters=isDeclarationWithTypeParameters;function isDeclarationWithTypeParameterChildren(N){switch(N.kind){case 173:case 174:case 167:case 175:case 178:case 179:case 315:case 256:case 225:case 257:case 258:case 342:case 255:case 168:case 170:case 171:case 172:case 212:case 213:return true;default:E.assertType(N);return false}}E.isDeclarationWithTypeParameterChildren=isDeclarationWithTypeParameterChildren;function isAnyImportSyntax(E){switch(E.kind){case 265:case 264:return true;default:return false}}E.isAnyImportSyntax=isAnyImportSyntax;function isLateVisibilityPaintedStatement(E){switch(E.kind){case 265:case 264:case 236:case 256:case 255:case 260:case 258:case 257:case 259:return true;default:return false}}E.isLateVisibilityPaintedStatement=isLateVisibilityPaintedStatement;function hasPossibleExternalModuleReference(N){return isAnyImportOrReExport(N)||E.isModuleDeclaration(N)||E.isImportTypeNode(N)||isImportCall(N)}E.hasPossibleExternalModuleReference=hasPossibleExternalModuleReference;function isAnyImportOrReExport(N){return isAnyImportSyntax(N)||E.isExportDeclaration(N)}E.isAnyImportOrReExport=isAnyImportOrReExport;function getEnclosingBlockScopeContainer(N){return E.findAncestor(N.parent,(function(E){return isBlockScope(E,E.parent)}))}E.getEnclosingBlockScopeContainer=getEnclosingBlockScopeContainer;function forEachEnclosingBlockScopeContainer(E,N){var R=getEnclosingBlockScopeContainer(E);while(R){N(R);R=getEnclosingBlockScopeContainer(R)}}E.forEachEnclosingBlockScopeContainer=forEachEnclosingBlockScopeContainer;function declarationNameToString(E){return!E||getFullWidth(E)===0?"(Missing)":getTextOfNode(E)}E.declarationNameToString=declarationNameToString;function getNameFromIndexInfo(E){return E.declaration?declarationNameToString(E.declaration.parameters[0].name):undefined}E.getNameFromIndexInfo=getNameFromIndexInfo;function isComputedNonLiteralName(E){return E.kind===161&&!isStringOrNumericLiteralLike(E.expression)}E.isComputedNonLiteralName=isComputedNonLiteralName;function getTextOfPropertyName(N){switch(N.kind){case 79:case 80:return N.escapedText;case 10:case 8:case 14:return E.escapeLeadingUnderscores(N.text);case 161:if(isStringOrNumericLiteralLike(N.expression))return E.escapeLeadingUnderscores(N.expression.text);return E.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return E.Debug.assertNever(N)}}E.getTextOfPropertyName=getTextOfPropertyName;function entityNameToString(N){switch(N.kind){case 108:return"this";case 80:case 79:return getFullWidth(N)===0?E.idText(N):getTextOfNode(N);case 160:return entityNameToString(N.left)+"."+entityNameToString(N.right);case 205:if(E.isIdentifier(N.name)||E.isPrivateIdentifier(N.name)){return entityNameToString(N.expression)+"."+entityNameToString(N.name)}else{return E.Debug.assertNever(N.name)}case 309:return entityNameToString(N.left)+entityNameToString(N.right);default:return E.Debug.assertNever(N)}}E.entityNameToString=entityNameToString;function createDiagnosticForNode(E,N,R,j,$,q){var G=getSourceFileOfNode(E);return createDiagnosticForNodeInSourceFile(G,E,N,R,j,$,q)}E.createDiagnosticForNode=createDiagnosticForNode;function createDiagnosticForNodeArray(N,R,j,$,q,G,ie){var ae=E.skipTrivia(N.text,R.pos);return createFileDiagnostic(N,ae,R.end-ae,j,$,q,G,ie)}E.createDiagnosticForNodeArray=createDiagnosticForNodeArray;function createDiagnosticForNodeInSourceFile(E,N,R,j,$,q,G){var ie=getErrorSpanForNode(E,N);return createFileDiagnostic(E,ie.start,ie.length,R,j,$,q,G)}E.createDiagnosticForNodeInSourceFile=createDiagnosticForNodeInSourceFile;function createDiagnosticForNodeFromMessageChain(E,N,R){var j=getSourceFileOfNode(E);var $=getErrorSpanForNode(j,E);return createFileDiagnosticFromMessageChain(j,$.start,$.length,N,R)}E.createDiagnosticForNodeFromMessageChain=createDiagnosticForNodeFromMessageChain;function assertDiagnosticLocation(N,R,j){E.Debug.assertGreaterThanOrEqual(R,0);E.Debug.assertGreaterThanOrEqual(j,0);if(N){E.Debug.assertLessThanOrEqual(R,N.text.length);E.Debug.assertLessThanOrEqual(R+j,N.text.length)}}function createFileDiagnosticFromMessageChain(E,N,R,j,$){assertDiagnosticLocation(E,N,R);return{file:E,start:N,length:R,code:j.code,category:j.category,messageText:j.next?j:j.messageText,relatedInformation:$}}E.createFileDiagnosticFromMessageChain=createFileDiagnosticFromMessageChain;function createDiagnosticForFileFromMessageChain(E,N,R){return{file:E,start:0,length:0,code:N.code,category:N.category,messageText:N.next?N:N.messageText,relatedInformation:R}}E.createDiagnosticForFileFromMessageChain=createDiagnosticForFileFromMessageChain;function createDiagnosticMessageChainFromDiagnostic(E){return typeof E.messageText==="string"?{code:E.code,category:E.category,messageText:E.messageText,next:E.next}:E.messageText}E.createDiagnosticMessageChainFromDiagnostic=createDiagnosticMessageChainFromDiagnostic;function createDiagnosticForRange(E,N,R){return{file:E,start:N.pos,length:N.end-N.pos,code:R.code,category:R.category,messageText:R.message}}E.createDiagnosticForRange=createDiagnosticForRange;function getSpanOfTokenAtPosition(N,R){var j=E.createScanner(N.languageVersion,true,N.languageVariant,N.text,undefined,R);j.scan();var $=j.getTokenPos();return E.createTextSpanFromBounds($,j.getTextPos())}E.getSpanOfTokenAtPosition=getSpanOfTokenAtPosition;function getErrorSpanForArrowFunction(N,R){var j=E.skipTrivia(N.text,R.pos);if(R.body&&R.body.kind===234){var $=E.getLineAndCharacterOfPosition(N,R.body.pos).line;var q=E.getLineAndCharacterOfPosition(N,R.body.end).line;if($0?R.statements[0].pos:R.end;return E.createTextSpanFromBounds(q,G)}if(j===undefined){return getSpanOfTokenAtPosition(N,R.pos)}E.Debug.assert(!E.isJSDoc(j));var ie=nodeIsMissing(j);var ae=ie||E.isJsxText(R)?j.pos:E.skipTrivia(N.text,j.pos);if(ie){E.Debug.assert(ae===j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae===j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}else{E.Debug.assert(ae>=j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae<=j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}return E.createTextSpanFromBounds(ae,j.end)}E.getErrorSpanForNode=getErrorSpanForNode;function isExternalOrCommonJsModule(E){return(E.externalModuleIndicator||E.commonJsModuleIndicator)!==undefined}E.isExternalOrCommonJsModule=isExternalOrCommonJsModule;function isJsonSourceFile(E){return E.scriptKind===6}E.isJsonSourceFile=isJsonSourceFile;function isEnumConst(N){return!!(E.getCombinedModifierFlags(N)&2048)}E.isEnumConst=isEnumConst;function isDeclarationReadonly(N){return!!(E.getCombinedModifierFlags(N)&64&&!E.isParameterPropertyDeclaration(N,N.parent))}E.isDeclarationReadonly=isDeclarationReadonly;function isVarConst(N){return!!(E.getCombinedNodeFlags(N)&2)}E.isVarConst=isVarConst;function isLet(N){return!!(E.getCombinedNodeFlags(N)&1)}E.isLet=isLet;function isSuperCall(E){return E.kind===207&&E.expression.kind===106}E.isSuperCall=isSuperCall;function isImportCall(E){return E.kind===207&&E.expression.kind===100}E.isImportCall=isImportCall;function isImportMeta(N){return E.isMetaProperty(N)&&N.keywordToken===100&&N.name.escapedText==="meta"}E.isImportMeta=isImportMeta;function isLiteralImportTypeNode(N){return E.isImportTypeNode(N)&&E.isLiteralTypeNode(N.argument)&&E.isStringLiteral(N.argument.literal)}E.isLiteralImportTypeNode=isLiteralImportTypeNode;function isPrologueDirective(E){return E.kind===237&&E.expression.kind===10}E.isPrologueDirective=isPrologueDirective;function isCustomPrologue(E){return!!(getEmitFlags(E)&1048576)}E.isCustomPrologue=isCustomPrologue;function isHoistedFunction(N){return isCustomPrologue(N)&&E.isFunctionDeclaration(N)}E.isHoistedFunction=isHoistedFunction;function isHoistedVariable(N){return E.isIdentifier(N.name)&&!N.initializer}function isHoistedVariableStatement(N){return isCustomPrologue(N)&&E.isVariableStatement(N)&&E.every(N.declarationList.declarations,isHoistedVariable)}E.isHoistedVariableStatement=isHoistedVariableStatement;function getLeadingCommentRangesOfNode(N,R){return N.kind!==11?E.getLeadingCommentRanges(R.text,N.pos):undefined}E.getLeadingCommentRangesOfNode=getLeadingCommentRangesOfNode;function getJSDocCommentRanges(N,R){var j=N.kind===163||N.kind===162||N.kind===212||N.kind===213||N.kind===211||N.kind===253||N.kind===274?E.concatenate(E.getTrailingCommentRanges(R,N.pos),E.getLeadingCommentRanges(R,N.pos)):E.getLeadingCommentRanges(R,N.pos);return E.filter(j,(function(E){return R.charCodeAt(E.pos+1)===42&&R.charCodeAt(E.pos+2)===42&&R.charCodeAt(E.pos+3)!==47}))}E.getJSDocCommentRanges=getJSDocCommentRanges;E.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var q=/^(\/\/\/\s*/;E.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var G=/^(\/\/\/\s*/;function isPartOfTypeNode(N){if(176<=N.kind&&N.kind<=199){return true}switch(N.kind){case 130:case 154:case 146:case 157:case 149:case 133:case 150:case 147:case 152:case 143:return true;case 114:return N.parent.kind!==216;case 227:return!isExpressionWithTypeArgumentsInClassExtendsClause(N);case 162:return N.parent.kind===194||N.parent.kind===189;case 79:if(N.parent.kind===160&&N.parent.right===N){N=N.parent}else if(N.parent.kind===205&&N.parent.name===N){N=N.parent}E.Debug.assert(N.kind===79||N.kind===160||N.kind===205,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 160:case 205:case 108:{var R=N.parent;if(R.kind===180){return false}if(R.kind===199){return!R.isTypeOf}if(176<=R.kind&&R.kind<=199){return true}switch(R.kind){case 227:return!isExpressionWithTypeArgumentsInClassExtendsClause(R);case 162:return N===R.constraint;case 342:return N===R.constraint;case 166:case 165:case 163:case 253:return N===R.type;case 255:case 212:case 213:case 170:case 168:case 167:case 171:case 172:return N===R.type;case 173:case 174:case 175:return N===R.type;case 210:return N===R.type;case 207:case 208:return E.contains(R.typeArguments,N);case 209:return false}}}return false}E.isPartOfTypeNode=isPartOfTypeNode;function isChildOfNodeWithKind(E,N){while(E){if(E.kind===N){return true}E=E.parent}return false}E.isChildOfNodeWithKind=isChildOfNodeWithKind;function forEachReturnStatement(N,R){return traverse(N);function traverse(N){switch(N.kind){case 246:return R(N);case 262:case 234:case 238:case 239:case 240:case 241:case 242:case 243:case 247:case 248:case 288:case 289:case 249:case 251:case 291:return E.forEachChild(N,traverse)}}}E.forEachReturnStatement=forEachReturnStatement;function forEachYieldExpression(N,R){return traverse(N);function traverse(N){switch(N.kind){case 223:R(N);var j=N.expression;if(j){traverse(j)}return;case 259:case 257:case 260:case 258:return;default:if(E.isFunctionLike(N)){if(N.name&&N.name.kind===161){traverse(N.name.expression);return}}else if(!isPartOfTypeNode(N)){E.forEachChild(N,traverse)}}}}E.forEachYieldExpression=forEachYieldExpression;function getRestParameterElementType(N){if(N&&N.kind===182){return N.elementType}else if(N&&N.kind===177){return E.singleOrUndefined(N.typeArguments)}else{return undefined}}E.getRestParameterElementType=getRestParameterElementType;function getMembersOfDeclaration(E){switch(E.kind){case 257:case 256:case 225:case 181:return E.members;case 204:return E.properties}}E.getMembersOfDeclaration=getMembersOfDeclaration;function isVariableLike(E){if(E){switch(E.kind){case 202:case 297:case 163:case 294:case 166:case 165:case 295:case 253:return true}}return false}E.isVariableLike=isVariableLike;function isVariableLikeOrAccessor(N){return isVariableLike(N)||E.isAccessor(N)}E.isVariableLikeOrAccessor=isVariableLikeOrAccessor;function isVariableDeclarationInVariableStatement(E){return E.parent.kind===254&&E.parent.parent.kind===236}E.isVariableDeclarationInVariableStatement=isVariableDeclarationInVariableStatement;function isValidESSymbolDeclaration(N){return E.isVariableDeclaration(N)?isVarConst(N)&&E.isIdentifier(N.name)&&isVariableDeclarationInVariableStatement(N):E.isPropertyDeclaration(N)?hasEffectiveReadonlyModifier(N)&&hasStaticModifier(N):E.isPropertySignature(N)&&hasEffectiveReadonlyModifier(N)}E.isValidESSymbolDeclaration=isValidESSymbolDeclaration;function introducesArgumentsExoticObject(E){switch(E.kind){case 168:case 167:case 170:case 171:case 172:case 255:case 212:return true}return false}E.introducesArgumentsExoticObject=introducesArgumentsExoticObject;function unwrapInnermostStatementOfLabel(E,N){while(true){if(N){N(E)}if(E.statement.kind!==249){return E.statement}E=E.statement}}E.unwrapInnermostStatementOfLabel=unwrapInnermostStatementOfLabel;function isFunctionBlock(N){return N&&N.kind===234&&E.isFunctionLike(N.parent)}E.isFunctionBlock=isFunctionBlock;function isObjectLiteralMethod(E){return E&&E.kind===168&&E.parent.kind===204}E.isObjectLiteralMethod=isObjectLiteralMethod;function isObjectLiteralOrClassExpressionMethodOrAccessor(E){return(E.kind===168||E.kind===171||E.kind===172)&&(E.parent.kind===204||E.parent.kind===225)}E.isObjectLiteralOrClassExpressionMethodOrAccessor=isObjectLiteralOrClassExpressionMethodOrAccessor;function isIdentifierTypePredicate(E){return E&&E.kind===1}E.isIdentifierTypePredicate=isIdentifierTypePredicate;function isThisTypePredicate(E){return E&&E.kind===0}E.isThisTypePredicate=isThisTypePredicate;function getPropertyAssignment(E,N,R){return E.properties.filter((function(E){if(E.kind===294){var j=getTextOfPropertyName(E.name);return N===j||!!R&&R===j}return false}))}E.getPropertyAssignment=getPropertyAssignment;function getPropertyArrayElementValue(N,R,j){return E.firstDefined(getPropertyAssignment(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getPropertyArrayElementValue=getPropertyArrayElementValue;function getTsConfigObjectLiteralExpression(N){if(N&&N.statements.length){var R=N.statements[0].expression;return E.tryCast(R,E.isObjectLiteralExpression)}}E.getTsConfigObjectLiteralExpression=getTsConfigObjectLiteralExpression;function getTsConfigPropArrayElementValue(N,R,j){return E.firstDefined(getTsConfigPropArray(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getTsConfigPropArrayElementValue=getTsConfigPropArrayElementValue;function getTsConfigPropArray(N,R){var j=getTsConfigObjectLiteralExpression(N);return j?getPropertyAssignment(j,R):E.emptyArray}E.getTsConfigPropArray=getTsConfigPropArray;function getContainingFunction(N){return E.findAncestor(N.parent,E.isFunctionLike)}E.getContainingFunction=getContainingFunction;function getContainingFunctionDeclaration(N){return E.findAncestor(N.parent,E.isFunctionLikeDeclaration)}E.getContainingFunctionDeclaration=getContainingFunctionDeclaration;function getContainingClass(N){return E.findAncestor(N.parent,E.isClassLike)}E.getContainingClass=getContainingClass;function getContainingClassStaticBlock(N){return E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)||E.isFunctionLike(N)){return"quit"}return E.isClassStaticBlockDeclaration(N)}))}E.getContainingClassStaticBlock=getContainingClassStaticBlock;function getContainingFunctionOrClassStaticBlock(N){return E.findAncestor(N.parent,E.isFunctionLikeOrClassStaticBlockDeclaration)}E.getContainingFunctionOrClassStaticBlock=getContainingFunctionOrClassStaticBlock;function getThisContainer(N,R){E.Debug.assert(N.kind!==303);while(true){N=N.parent;if(!N){return E.Debug.fail()}switch(N.kind){case 161:if(E.isClassLike(N.parent.parent)){return N}N=N.parent;break;case 164:if(N.parent.kind===163&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break;case 213:if(!R){continue}case 255:case 212:case 260:case 169:case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 173:case 174:case 175:case 259:case 303:return N}}}E.getThisContainer=getThisContainer;function isThisContainerOrFunctionBlock(E){switch(E.kind){case 213:case 255:case 212:case 166:return true;case 234:switch(E.parent.kind){case 170:case 168:case 171:case 172:return true;default:return false}default:return false}}E.isThisContainerOrFunctionBlock=isThisContainerOrFunctionBlock;function isInTopLevelContext(N){if(E.isIdentifier(N)&&(E.isClassDeclaration(N.parent)||E.isFunctionDeclaration(N.parent))&&N.parent.name===N){N=N.parent}var R=getThisContainer(N,true);return E.isSourceFile(R)}E.isInTopLevelContext=isInTopLevelContext;function getNewTargetContainer(E){var N=getThisContainer(E,false);if(N){switch(N.kind){case 170:case 255:case 212:return N}}return undefined}E.getNewTargetContainer=getNewTargetContainer;function getSuperContainer(N,R){while(true){N=N.parent;if(!N){return N}switch(N.kind){case 161:N=N.parent;break;case 255:case 212:case 213:if(!R){continue}case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 169:return N;case 164:if(N.parent.kind===163&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break}}}E.getSuperContainer=getSuperContainer;function getImmediatelyInvokedFunctionExpression(E){if(E.kind===212||E.kind===213){var N=E;var R=E.parent;while(R.kind===211){N=R;R=R.parent}if(R.kind===207&&R.expression===N){return R}}}E.getImmediatelyInvokedFunctionExpression=getImmediatelyInvokedFunctionExpression;function isSuperOrSuperProperty(E){return E.kind===106||isSuperProperty(E)}E.isSuperOrSuperProperty=isSuperOrSuperProperty;function isSuperProperty(E){var N=E.kind;return(N===205||N===206)&&E.expression.kind===106}E.isSuperProperty=isSuperProperty;function isThisProperty(E){var N=E.kind;return(N===205||N===206)&&E.expression.kind===108}E.isThisProperty=isThisProperty;function isThisInitializedDeclaration(N){var R;return!!N&&E.isVariableDeclaration(N)&&((R=N.initializer)===null||R===void 0?void 0:R.kind)===108}E.isThisInitializedDeclaration=isThisInitializedDeclaration;function isThisInitializedObjectBindingExpression(N){return!!N&&(E.isShorthandPropertyAssignment(N)||E.isPropertyAssignment(N))&&E.isBinaryExpression(N.parent.parent)&&N.parent.parent.operatorToken.kind===63&&N.parent.parent.right.kind===108}E.isThisInitializedObjectBindingExpression=isThisInitializedObjectBindingExpression;function getEntityNameFromTypeNode(E){switch(E.kind){case 177:return E.typeName;case 227:return isEntityNameExpression(E.expression)?E.expression:undefined;case 79:case 160:return E}return undefined}E.getEntityNameFromTypeNode=getEntityNameFromTypeNode;function getInvokedExpression(E){switch(E.kind){case 209:return E.tag;case 279:case 278:return E.tagName;default:return E.expression}}E.getInvokedExpression=getInvokedExpression;function nodeCanBeDecorated(N,R,j){if(E.isNamedDeclaration(N)&&E.isPrivateIdentifier(N.name)){return false}switch(N.kind){case 256:return true;case 166:return R.kind===256;case 171:case 172:case 168:return N.body!==undefined&&R.kind===256;case 163:return R.body!==undefined&&(R.kind===170||R.kind===168||R.kind===172)&&j.kind===256}return false}E.nodeCanBeDecorated=nodeCanBeDecorated;function nodeIsDecorated(E,N,R){return E.decorators!==undefined&&nodeCanBeDecorated(E,N,R)}E.nodeIsDecorated=nodeIsDecorated;function nodeOrChildIsDecorated(E,N,R){return nodeIsDecorated(E,N,R)||childIsDecorated(E,N)}E.nodeOrChildIsDecorated=nodeOrChildIsDecorated;function childIsDecorated(N,R){switch(N.kind){case 256:return E.some(N.members,(function(E){return nodeOrChildIsDecorated(E,N,R)}));case 168:case 172:case 170:return E.some(N.parameters,(function(E){return nodeIsDecorated(E,N,R)}));default:return false}}E.childIsDecorated=childIsDecorated;function classOrConstructorParameterIsDecorated(E){if(nodeIsDecorated(E))return true;var N=getFirstConstructorWithBody(E);return!!N&&childIsDecorated(N,E)}E.classOrConstructorParameterIsDecorated=classOrConstructorParameterIsDecorated;function isJSXTagName(E){var N=E.parent;if(N.kind===279||N.kind===278||N.kind===280){return N.tagName===E}return false}E.isJSXTagName=isJSXTagName;function isExpressionNode(N){switch(N.kind){case 106:case 104:case 110:case 95:case 13:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 228:case 210:case 229:case 211:case 212:case 225:case 213:case 216:case 214:case 215:case 218:case 219:case 220:case 221:case 224:case 222:case 226:case 277:case 278:case 281:case 223:case 217:case 230:return true;case 160:while(N.parent.kind===160){N=N.parent}return N.parent.kind===180||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 309:while(E.isJSDocMemberName(N.parent)){N=N.parent}return N.parent.kind===180||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 80:return E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===101;case 79:if(N.parent.kind===180||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N)){return true}case 8:case 9:case 10:case 14:case 108:return isInExpressionContext(N);default:return false}}E.isExpressionNode=isExpressionNode;function isInExpressionContext(E){var N=E.parent;switch(N.kind){case 253:case 163:case 166:case 165:case 297:case 294:case 202:return N.initializer===E;case 237:case 238:case 239:case 240:case 246:case 247:case 248:case 288:case 250:return N.expression===E;case 241:var R=N;return R.initializer===E&&R.initializer.kind!==254||R.condition===E||R.incrementor===E;case 242:case 243:var j=N;return j.initializer===E&&j.initializer.kind!==254||j.expression===E;case 210:case 228:return E===N.expression;case 232:return E===N.expression;case 161:return E===N.expression;case 164:case 287:case 286:case 296:return true;case 227:return N.expression===E&&isExpressionWithTypeArgumentsInClassExtendsClause(N);case 295:return N.objectAssignmentInitializer===E;default:return isExpressionNode(N)}}E.isInExpressionContext=isInExpressionContext;function isPartOfTypeQuery(E){while(E.kind===160||E.kind===79){E=E.parent}return E.kind===180}E.isPartOfTypeQuery=isPartOfTypeQuery;function isNamespaceReexportDeclaration(N){return E.isNamespaceExport(N)&&!!N.parent.moduleSpecifier}E.isNamespaceReexportDeclaration=isNamespaceReexportDeclaration;function isExternalModuleImportEqualsDeclaration(E){return E.kind===264&&E.moduleReference.kind===276}E.isExternalModuleImportEqualsDeclaration=isExternalModuleImportEqualsDeclaration;function getExternalModuleImportEqualsDeclarationExpression(N){E.Debug.assert(isExternalModuleImportEqualsDeclaration(N));return N.moduleReference.expression}E.getExternalModuleImportEqualsDeclarationExpression=getExternalModuleImportEqualsDeclarationExpression;function getExternalModuleRequireArgument(E){return isVariableDeclarationInitializedToBareOrAccessedRequire(E)&&getLeftmostAccessExpression(E.initializer).arguments[0]}E.getExternalModuleRequireArgument=getExternalModuleRequireArgument;function isInternalModuleImportEqualsDeclaration(E){return E.kind===264&&E.moduleReference.kind!==276}E.isInternalModuleImportEqualsDeclaration=isInternalModuleImportEqualsDeclaration;function isSourceFileJS(E){return isInJSFile(E)}E.isSourceFileJS=isSourceFileJS;function isSourceFileNotJS(E){return!isInJSFile(E)}E.isSourceFileNotJS=isSourceFileNotJS;function isInJSFile(E){return!!E&&!!(E.flags&131072)}E.isInJSFile=isInJSFile;function isInJsonFile(E){return!!E&&!!(E.flags&33554432)}E.isInJsonFile=isInJsonFile;function isSourceFileNotJson(E){return!isJsonSourceFile(E)}E.isSourceFileNotJson=isSourceFileNotJson;function isInJSDoc(E){return!!E&&!!(E.flags&4194304)}E.isInJSDoc=isInJSDoc;function isJSDocIndexSignature(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&N.typeArguments&&N.typeArguments.length===2&&(N.typeArguments[0].kind===149||N.typeArguments[0].kind===146)}E.isJSDocIndexSignature=isJSDocIndexSignature;function isRequireCall(N,R){if(N.kind!==207){return false}var j=N,$=j.expression,q=j.arguments;if($.kind!==79||$.escapedText!=="require"){return false}if(q.length!==1){return false}var G=q[0];return!R||E.isStringLiteralLike(G)}E.isRequireCall=isRequireCall;function isVariableDeclarationInitializedToRequire(E){return isVariableDeclarationInitializedWithRequireHelper(E,false)}E.isVariableDeclarationInitializedToRequire=isVariableDeclarationInitializedToRequire;function isVariableDeclarationInitializedToBareOrAccessedRequire(E){return isVariableDeclarationInitializedWithRequireHelper(E,true)}E.isVariableDeclarationInitializedToBareOrAccessedRequire=isVariableDeclarationInitializedToBareOrAccessedRequire;function isVariableDeclarationInitializedWithRequireHelper(N,R){if(N.kind===202){N=N.parent.parent}return E.isVariableDeclaration(N)&&!!N.initializer&&isRequireCall(R?getLeftmostAccessExpression(N.initializer):N.initializer,true)}function isRequireVariableStatement(N){return E.isVariableStatement(N)&&N.declarationList.declarations.length>0&&E.every(N.declarationList.declarations,(function(E){return isVariableDeclarationInitializedToRequire(E)}))}E.isRequireVariableStatement=isRequireVariableStatement;function isSingleOrDoubleQuote(E){return E===39||E===34}E.isSingleOrDoubleQuote=isSingleOrDoubleQuote;function isStringDoubleQuoted(E,N){return getSourceTextOfNodeFromSourceFile(N,E).charCodeAt(0)===34}E.isStringDoubleQuoted=isStringDoubleQuoted;function isAssignmentDeclaration(N){return E.isBinaryExpression(N)||isAccessExpression(N)||E.isIdentifier(N)||E.isCallExpression(N)}E.isAssignmentDeclaration=isAssignmentDeclaration;function getEffectiveInitializer(N){if(isInJSFile(N)&&N.initializer&&E.isBinaryExpression(N.initializer)&&(N.initializer.operatorToken.kind===56||N.initializer.operatorToken.kind===60)&&N.name&&isEntityNameExpression(N.name)&&isSameEntityName(N.name,N.initializer.left)){return N.initializer.right}return N.initializer}E.getEffectiveInitializer=getEffectiveInitializer;function getDeclaredExpandoInitializer(E){var N=getEffectiveInitializer(E);return N&&getExpandoInitializer(N,isPrototypeAccess(E.name))}E.getDeclaredExpandoInitializer=getDeclaredExpandoInitializer;function hasExpandoValueProperty(N,R){return E.forEach(N.properties,(function(N){return E.isPropertyAssignment(N)&&E.isIdentifier(N.name)&&N.name.escapedText==="value"&&N.initializer&&getExpandoInitializer(N.initializer,R)}))}function getAssignedExpandoInitializer(N){if(N&&N.parent&&E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63){var R=isPrototypeAccess(N.parent.left);return getExpandoInitializer(N.parent.right,R)||getDefaultedExpandoInitializer(N.parent.left,N.parent.right,R)}if(N&&E.isCallExpression(N)&&isBindableObjectDefinePropertyCall(N)){var j=hasExpandoValueProperty(N.arguments[2],N.arguments[1].text==="prototype");if(j){return j}}}E.getAssignedExpandoInitializer=getAssignedExpandoInitializer;function getExpandoInitializer(N,R){if(E.isCallExpression(N)){var j=skipParentheses(N.expression);return j.kind===212||j.kind===213?N:undefined}if(N.kind===212||N.kind===225||N.kind===213){return N}if(E.isObjectLiteralExpression(N)&&(N.properties.length===0||R)){return N}}E.getExpandoInitializer=getExpandoInitializer;function getDefaultedExpandoInitializer(N,R,j){var $=E.isBinaryExpression(R)&&(R.operatorToken.kind===56||R.operatorToken.kind===60)&&getExpandoInitializer(R.right,j);if($&&isSameEntityName(N,R.left)){return $}}function isDefaultedExpandoInitializer(N){var R=E.isVariableDeclaration(N.parent)?N.parent.name:E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63?N.parent.left:undefined;return R&&getExpandoInitializer(N.right,isPrototypeAccess(R))&&isEntityNameExpression(R)&&isSameEntityName(R,N.left)}E.isDefaultedExpandoInitializer=isDefaultedExpandoInitializer;function getNameOfExpando(N){if(E.isBinaryExpression(N.parent)){var R=(N.parent.operatorToken.kind===56||N.parent.operatorToken.kind===60)&&E.isBinaryExpression(N.parent.parent)?N.parent.parent:N.parent;if(R.operatorToken.kind===63&&E.isIdentifier(R.left)){return R.left}}else if(E.isVariableDeclaration(N.parent)){return N.parent.name}}E.getNameOfExpando=getNameOfExpando;function isSameEntityName(N,R){if(isPropertyNameLiteral(N)&&isPropertyNameLiteral(R)){return getTextOfIdentifierOrLiteral(N)===getTextOfIdentifierOrLiteral(R)}if(E.isIdentifier(N)&&isLiteralLikeAccess(R)&&(R.expression.kind===108||E.isIdentifier(R.expression)&&(R.expression.escapedText==="window"||R.expression.escapedText==="self"||R.expression.escapedText==="global"))){var j=getNameOrArgument(R);if(E.isPrivateIdentifier(j)){E.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access.")}return isSameEntityName(N,j)}if(isLiteralLikeAccess(N)&&isLiteralLikeAccess(R)){return getElementOrPropertyAccessName(N)===getElementOrPropertyAccessName(R)&&isSameEntityName(N.expression,R.expression)}return false}E.isSameEntityName=isSameEntityName;function getRightMostAssignedExpression(E){while(isAssignmentExpression(E,true)){E=E.right}return E}E.getRightMostAssignedExpression=getRightMostAssignedExpression;function isExportsIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="exports"}E.isExportsIdentifier=isExportsIdentifier;function isModuleIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="module"}E.isModuleIdentifier=isModuleIdentifier;function isModuleExportsAccessExpression(N){return(E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N))&&isModuleIdentifier(N.expression)&&getElementOrPropertyAccessName(N)==="exports"}E.isModuleExportsAccessExpression=isModuleExportsAccessExpression;function getAssignmentDeclarationKind(E){var N=getAssignmentDeclarationKindWorker(E);return N===5||isInJSFile(E)?N:0}E.getAssignmentDeclarationKind=getAssignmentDeclarationKind;function isBindableObjectDefinePropertyCall(N){return E.length(N.arguments)===3&&E.isPropertyAccessExpression(N.expression)&&E.isIdentifier(N.expression.expression)&&E.idText(N.expression.expression)==="Object"&&E.idText(N.expression.name)==="defineProperty"&&isStringOrNumericLiteralLike(N.arguments[1])&&isBindableStaticNameExpression(N.arguments[0],true)}E.isBindableObjectDefinePropertyCall=isBindableObjectDefinePropertyCall;function isLiteralLikeAccess(N){return E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N)}E.isLiteralLikeAccess=isLiteralLikeAccess;function isLiteralLikeElementAccess(N){return E.isElementAccessExpression(N)&&isStringOrNumericLiteralLike(N.argumentExpression)}E.isLiteralLikeElementAccess=isLiteralLikeElementAccess;function isBindableStaticAccessExpression(N,R){return E.isPropertyAccessExpression(N)&&(!R&&N.expression.kind===108||E.isIdentifier(N.name)&&isBindableStaticNameExpression(N.expression,true))||isBindableStaticElementAccessExpression(N,R)}E.isBindableStaticAccessExpression=isBindableStaticAccessExpression;function isBindableStaticElementAccessExpression(E,N){return isLiteralLikeElementAccess(E)&&(!N&&E.expression.kind===108||isEntityNameExpression(E.expression)||isBindableStaticAccessExpression(E.expression,true))}E.isBindableStaticElementAccessExpression=isBindableStaticElementAccessExpression;function isBindableStaticNameExpression(E,N){return isEntityNameExpression(E)||isBindableStaticAccessExpression(E,N)}E.isBindableStaticNameExpression=isBindableStaticNameExpression;function getNameOrArgument(N){if(E.isPropertyAccessExpression(N)){return N.name}return N.argumentExpression}E.getNameOrArgument=getNameOrArgument;function getAssignmentDeclarationKindWorker(N){if(E.isCallExpression(N)){if(!isBindableObjectDefinePropertyCall(N)){return 0}var R=N.arguments[0];if(isExportsIdentifier(R)||isModuleExportsAccessExpression(R)){return 8}if(isBindableStaticAccessExpression(R)&&getElementOrPropertyAccessName(R)==="prototype"){return 9}return 7}if(N.operatorToken.kind!==63||!isAccessExpression(N.left)||isVoidZero(getRightMostAssignedExpression(N))){return 0}if(isBindableStaticNameExpression(N.left.expression,true)&&getElementOrPropertyAccessName(N.left)==="prototype"&&E.isObjectLiteralExpression(getInitializerOfBinaryExpression(N))){return 6}return getAssignmentDeclarationPropertyAccessKind(N.left)}function isVoidZero(N){return E.isVoidExpression(N)&&E.isNumericLiteral(N.expression)&&N.expression.text==="0"}function getElementOrPropertyAccessArgumentExpressionOrName(N){if(E.isPropertyAccessExpression(N)){return N.name}var R=skipParentheses(N.argumentExpression);if(E.isNumericLiteral(R)||E.isStringLiteralLike(R)){return R}return N}E.getElementOrPropertyAccessArgumentExpressionOrName=getElementOrPropertyAccessArgumentExpressionOrName;function getElementOrPropertyAccessName(N){var R=getElementOrPropertyAccessArgumentExpressionOrName(N);if(R){if(E.isIdentifier(R)){return R.escapedText}if(E.isStringLiteralLike(R)||E.isNumericLiteral(R)){return E.escapeLeadingUnderscores(R.text)}}return undefined}E.getElementOrPropertyAccessName=getElementOrPropertyAccessName;function getAssignmentDeclarationPropertyAccessKind(N){if(N.expression.kind===108){return 4}else if(isModuleExportsAccessExpression(N)){return 2}else if(isBindableStaticNameExpression(N.expression,true)){if(isPrototypeAccess(N.expression)){return 3}var R=N;while(!E.isIdentifier(R.expression)){R=R.expression}var j=R.expression;if((j.escapedText==="exports"||j.escapedText==="module"&&getElementOrPropertyAccessName(R)==="exports")&&isBindableStaticAccessExpression(N)){return 1}if(isBindableStaticNameExpression(N,true)||E.isElementAccessExpression(N)&&isDynamicName(N)){return 5}}return 0}E.getAssignmentDeclarationPropertyAccessKind=getAssignmentDeclarationPropertyAccessKind;function getInitializerOfBinaryExpression(N){while(E.isBinaryExpression(N.right)){N=N.right}return N.right}E.getInitializerOfBinaryExpression=getInitializerOfBinaryExpression;function isPrototypePropertyAssignment(N){return E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===3}E.isPrototypePropertyAssignment=isPrototypePropertyAssignment;function isSpecialPropertyDeclaration(N){return isInJSFile(N)&&N.parent&&N.parent.kind===237&&(!E.isElementAccessExpression(N)||isLiteralLikeElementAccess(N))&&!!E.getJSDocTypeTag(N.parent)}E.isSpecialPropertyDeclaration=isSpecialPropertyDeclaration;function setValueDeclaration(E,N){var R=E.valueDeclaration;if(!R||!(N.flags&8388608&&!(R.flags&8388608))&&(isAssignmentDeclaration(R)&&!isAssignmentDeclaration(N))||R.kind!==N.kind&&isEffectiveModuleDeclaration(R)){E.valueDeclaration=N}}E.setValueDeclaration=setValueDeclaration;function isFunctionSymbol(N){if(!N||!N.valueDeclaration){return false}var R=N.valueDeclaration;return R.kind===255||E.isVariableDeclaration(R)&&R.initializer&&E.isFunctionLike(R.initializer)}E.isFunctionSymbol=isFunctionSymbol;function tryGetModuleSpecifierFromDeclaration(N){var R,j,$;switch(N.kind){case 253:return N.initializer.arguments[0].text;case 265:return(R=E.tryCast(N.moduleSpecifier,E.isStringLiteralLike))===null||R===void 0?void 0:R.text;case 264:return($=E.tryCast((j=E.tryCast(N.moduleReference,E.isExternalModuleReference))===null||j===void 0?void 0:j.expression,E.isStringLiteralLike))===null||$===void 0?void 0:$.text;default:E.Debug.assertNever(N)}}E.tryGetModuleSpecifierFromDeclaration=tryGetModuleSpecifierFromDeclaration;function importFromModuleSpecifier(N){return tryGetImportFromModuleSpecifier(N)||E.Debug.failBadSyntaxKind(N.parent)}E.importFromModuleSpecifier=importFromModuleSpecifier;function tryGetImportFromModuleSpecifier(N){switch(N.parent.kind){case 265:case 271:return N.parent;case 276:return N.parent.parent;case 207:return isImportCall(N.parent)||isRequireCall(N.parent,false)?N.parent:undefined;case 195:E.Debug.assert(E.isStringLiteral(N));return E.tryCast(N.parent.parent,E.isImportTypeNode);default:return undefined}}E.tryGetImportFromModuleSpecifier=tryGetImportFromModuleSpecifier;function getExternalModuleName(N){switch(N.kind){case 265:case 271:return N.moduleSpecifier;case 264:return N.moduleReference.kind===276?N.moduleReference.expression:undefined;case 199:return isLiteralImportTypeNode(N)?N.argument.literal:undefined;case 207:return N.arguments[0];case 260:return N.name.kind===10?N.name:undefined;default:return E.Debug.assertNever(N)}}E.getExternalModuleName=getExternalModuleName;function getNamespaceDeclarationNode(N){switch(N.kind){case 265:return N.importClause&&E.tryCast(N.importClause.namedBindings,E.isNamespaceImport);case 264:return N;case 271:return N.exportClause&&E.tryCast(N.exportClause,E.isNamespaceExport);default:return E.Debug.assertNever(N)}}E.getNamespaceDeclarationNode=getNamespaceDeclarationNode;function isDefaultImport(E){return E.kind===265&&!!E.importClause&&!!E.importClause.name}E.isDefaultImport=isDefaultImport;function forEachImportClauseDeclaration(N,R){if(N.name){var j=R(N);if(j)return j}if(N.namedBindings){var j=E.isNamespaceImport(N.namedBindings)?R(N.namedBindings):E.forEach(N.namedBindings.elements,R);if(j)return j}}E.forEachImportClauseDeclaration=forEachImportClauseDeclaration;function hasQuestionToken(E){if(E){switch(E.kind){case 163:case 168:case 167:case 295:case 294:case 166:case 165:return E.questionToken!==undefined}}return false}E.hasQuestionToken=hasQuestionToken;function isJSDocConstructSignature(N){var R=E.isJSDocFunctionType(N)?E.firstOrUndefined(N.parameters):undefined;var j=E.tryCast(R&&R.name,E.isIdentifier);return!!j&&j.escapedText==="new"}E.isJSDocConstructSignature=isJSDocConstructSignature;function isJSDocTypeAlias(E){return E.kind===343||E.kind===336||E.kind===337}E.isJSDocTypeAlias=isJSDocTypeAlias;function isTypeAlias(N){return isJSDocTypeAlias(N)||E.isTypeAliasDeclaration(N)}E.isTypeAlias=isTypeAlias;function getSourceOfAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&N.expression.operatorToken.kind===63?getRightMostAssignedExpression(N.expression):undefined}function getSourceOfDefaultedAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&getAssignmentDeclarationKind(N.expression)!==0&&E.isBinaryExpression(N.expression.right)&&(N.expression.right.operatorToken.kind===56||N.expression.right.operatorToken.kind===60)?N.expression.right.right:undefined}function getSingleInitializerOfVariableStatementOrPropertyDeclaration(E){switch(E.kind){case 236:var N=getSingleVariableOfVariableStatement(E);return N&&N.initializer;case 166:return E.initializer;case 294:return E.initializer}}E.getSingleInitializerOfVariableStatementOrPropertyDeclaration=getSingleInitializerOfVariableStatementOrPropertyDeclaration;function getSingleVariableOfVariableStatement(N){return E.isVariableStatement(N)?E.firstOrUndefined(N.declarationList.declarations):undefined}E.getSingleVariableOfVariableStatement=getSingleVariableOfVariableStatement;function getNestedModuleDeclaration(N){return E.isModuleDeclaration(N)&&N.body&&N.body.kind===260?N.body:undefined}function getJSDocCommentsAndTags(N,R){var j;if(isVariableLike(N)&&E.hasInitializer(N)&&E.hasJSDocNodes(N.initializer)){j=E.addRange(j,filterOwnedJSDocTags(N,E.last(N.initializer.jsDoc)))}var $=N;while($&&$.parent){if(E.hasJSDocNodes($)){j=E.addRange(j,filterOwnedJSDocTags(N,E.last($.jsDoc)))}if($.kind===163){j=E.addRange(j,(R?E.getJSDocParameterTagsNoCache:E.getJSDocParameterTags)($));break}if($.kind===162){j=E.addRange(j,(R?E.getJSDocTypeParameterTagsNoCache:E.getJSDocTypeParameterTags)($));break}$=getNextJSDocCommentLocation($)}return j||E.emptyArray}E.getJSDocCommentsAndTags=getJSDocCommentsAndTags;function filterOwnedJSDocTags(N,R){if(E.isJSDoc(R)){var j=E.filter(R.tags,(function(E){return ownsJSDocTag(N,E)}));return R.tags===j?[R]:j}return ownsJSDocTag(N,R)?[R]:undefined}function ownsJSDocTag(N,R){return!E.isJSDocTypeTag(R)||!R.parent||!E.isJSDoc(R.parent)||!E.isParenthesizedExpression(R.parent.parent)||R.parent.parent===N}function getNextJSDocCommentLocation(N){var R=N.parent;if(R.kind===294||R.kind===270||R.kind===166||R.kind===237&&N.kind===205||R.kind===246||getNestedModuleDeclaration(R)||E.isBinaryExpression(N)&&N.operatorToken.kind===63){return R}else if(R.parent&&(getSingleVariableOfVariableStatement(R.parent)===N||E.isBinaryExpression(R)&&R.operatorToken.kind===63)){return R.parent}else if(R.parent&&R.parent.parent&&(getSingleVariableOfVariableStatement(R.parent.parent)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(R.parent.parent)===N||getSourceOfDefaultedAssignment(R.parent.parent))){return R.parent.parent}}E.getNextJSDocCommentLocation=getNextJSDocCommentLocation;function getParameterSymbolFromJSDoc(N){if(N.symbol){return N.symbol}if(!E.isIdentifier(N.name)){return undefined}var R=N.name.escapedText;var j=getHostSignatureFromJSDoc(N);if(!j){return undefined}var $=E.find(j.parameters,(function(E){return E.name.kind===79&&E.name.escapedText===R}));return $&&$.symbol}E.getParameterSymbolFromJSDoc=getParameterSymbolFromJSDoc;function getEffectiveContainerForJSDocTemplateTag(N){if(E.isJSDoc(N.parent)&&N.parent.tags){var R=E.find(N.parent.tags,isJSDocTypeAlias);if(R){return R}}return getHostSignatureFromJSDoc(N)}E.getEffectiveContainerForJSDocTemplateTag=getEffectiveContainerForJSDocTemplateTag;function getHostSignatureFromJSDoc(N){var R=getEffectiveJSDocHost(N);return R&&E.isFunctionLike(R)?R:undefined}E.getHostSignatureFromJSDoc=getHostSignatureFromJSDoc;function getEffectiveJSDocHost(E){var N=getJSDocHost(E);if(N){return getSourceOfDefaultedAssignment(N)||getSourceOfAssignment(N)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(N)||getSingleVariableOfVariableStatement(N)||getNestedModuleDeclaration(N)||N}}E.getEffectiveJSDocHost=getEffectiveJSDocHost;function getJSDocHost(N){var R=getJSDocRoot(N);if(!R){return undefined}var j=R.parent;if(j&&j.jsDoc&&R===E.lastOrUndefined(j.jsDoc)){return j}}E.getJSDocHost=getJSDocHost;function getJSDocRoot(N){return E.findAncestor(N.parent,E.isJSDoc)}E.getJSDocRoot=getJSDocRoot;function getTypeParameterFromJsDoc(N){var R=N.name.escapedText;var j=N.parent.parent.parent.typeParameters;return j&&E.find(j,(function(E){return E.name.escapedText===R}))}E.getTypeParameterFromJsDoc=getTypeParameterFromJsDoc;function hasRestParameter(N){var R=E.lastOrUndefined(N.parameters);return!!R&&isRestParameter(R)}E.hasRestParameter=hasRestParameter;function isRestParameter(N){var R=E.isJSDocParameterTag(N)?N.typeExpression&&N.typeExpression.type:N.type;return N.dotDotDotToken!==undefined||!!R&&R.kind===316}E.isRestParameter=isRestParameter;function hasTypeArguments(E){return!!E.typeArguments}E.hasTypeArguments=hasTypeArguments;var ie;(function(E){E[E["None"]=0]="None";E[E["Definite"]=1]="Definite";E[E["Compound"]=2]="Compound"})(ie=E.AssignmentKind||(E.AssignmentKind={}));function getAssignmentTargetKind(E){var N=E.parent;while(true){switch(N.kind){case 220:var R=N.operatorToken.kind;return isAssignmentOperator(R)&&N.left===E?R===63||isLogicalOrCoalescingAssignmentOperator(R)?1:2:0;case 218:case 219:var j=N.operator;return j===45||j===46?2:0;case 242:case 243:return N.initializer===E?1:0;case 211:case 203:case 224:case 229:E=N;break;case 296:E=N.parent;break;case 295:if(N.name!==E){return 0}E=N.parent;break;case 294:if(N.name===E){return 0}E=N.parent;break;default:return 0}N=E.parent}}E.getAssignmentTargetKind=getAssignmentTargetKind;function isAssignmentTarget(E){return getAssignmentTargetKind(E)!==0}E.isAssignmentTarget=isAssignmentTarget;function isNodeWithPossibleHoistedDeclaration(E){switch(E.kind){case 234:case 236:case 247:case 238:case 248:case 262:case 288:case 289:case 249:case 241:case 242:case 243:case 239:case 240:case 251:case 291:return true}return false}E.isNodeWithPossibleHoistedDeclaration=isNodeWithPossibleHoistedDeclaration;function isValueSignatureDeclaration(N){return E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isMethodOrAccessor(N)||E.isFunctionDeclaration(N)||E.isConstructorDeclaration(N)}E.isValueSignatureDeclaration=isValueSignatureDeclaration;function walkUp(E,N){while(E&&E.kind===N){E=E.parent}return E}function walkUpParenthesizedTypes(E){return walkUp(E,190)}E.walkUpParenthesizedTypes=walkUpParenthesizedTypes;function walkUpParenthesizedExpressions(E){return walkUp(E,211)}E.walkUpParenthesizedExpressions=walkUpParenthesizedExpressions;function walkUpParenthesizedTypesAndGetParentAndChild(E){var N;while(E&&E.kind===190){N=E;E=E.parent}return[N,E]}E.walkUpParenthesizedTypesAndGetParentAndChild=walkUpParenthesizedTypesAndGetParentAndChild;function skipParentheses(N,R){var j=R?1|16:1;return E.skipOuterExpressions(N,j)}E.skipParentheses=skipParentheses;function isDeleteTarget(E){if(E.kind!==205&&E.kind!==206){return false}E=walkUpParenthesizedExpressions(E.parent);return E&&E.kind===214}E.isDeleteTarget=isDeleteTarget;function isNodeDescendantOf(E,N){while(E){if(E===N)return true;E=E.parent}return false}E.isNodeDescendantOf=isNodeDescendantOf;function isDeclarationName(N){return!E.isSourceFile(N)&&!E.isBindingPattern(N)&&E.isDeclaration(N.parent)&&N.parent.name===N}E.isDeclarationName=isDeclarationName;function getDeclarationFromName(N){var R=N.parent;switch(N.kind){case 10:case 14:case 8:if(E.isComputedPropertyName(R))return R.parent;case 79:if(E.isDeclaration(R)){return R.name===N?R:undefined}else if(E.isQualifiedName(R)){var j=R.parent;return E.isJSDocParameterTag(j)&&j.name===R?j:undefined}else{var $=R.parent;return E.isBinaryExpression($)&&getAssignmentDeclarationKind($)!==0&&($.left.symbol||$.symbol)&&E.getNameOfDeclaration($)===N?$:undefined}case 80:return E.isDeclaration(R)&&R.name===N?R:undefined;default:return undefined}}E.getDeclarationFromName=getDeclarationFromName;function isLiteralComputedPropertyDeclarationName(N){return isStringOrNumericLiteralLike(N)&&N.parent.kind===161&&E.isDeclaration(N.parent.parent)}E.isLiteralComputedPropertyDeclarationName=isLiteralComputedPropertyDeclarationName;function isIdentifierName(E){var N=E.parent;switch(N.kind){case 166:case 165:case 168:case 167:case 171:case 172:case 297:case 294:case 205:return N.name===E;case 160:return N.right===E;case 202:case 269:return N.propertyName===E;case 274:case 284:return true}return false}E.isIdentifierName=isIdentifierName;function isAliasSymbolDeclaration(N){return N.kind===264||N.kind===263||N.kind===266&&!!N.name||N.kind===267||N.kind===273||N.kind===269||N.kind===274||N.kind===270&&exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===2&&exportAssignmentIsAlias(N)||E.isPropertyAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableExpression(N.parent.right)||N.kind===295||N.kind===294&&isAliasableExpression(N.initializer)}E.isAliasSymbolDeclaration=isAliasSymbolDeclaration;function getAliasDeclarationFromName(E){switch(E.parent.kind){case 266:case 269:case 267:case 274:case 270:case 264:return E.parent;case 160:do{E=E.parent}while(E.parent.kind===160);return getAliasDeclarationFromName(E)}}E.getAliasDeclarationFromName=getAliasDeclarationFromName;function isAliasableExpression(N){return isEntityNameExpression(N)||E.isClassExpression(N)}E.isAliasableExpression=isAliasableExpression;function exportAssignmentIsAlias(E){var N=getExportAssignmentExpression(E);return isAliasableExpression(N)}E.exportAssignmentIsAlias=exportAssignmentIsAlias;function getExportAssignmentExpression(N){return E.isExportAssignment(N)?N.expression:N.right}E.getExportAssignmentExpression=getExportAssignmentExpression;function getPropertyAssignmentAliasLikeExpression(E){return E.kind===295?E.name:E.kind===294?E.initializer:E.parent.right}E.getPropertyAssignmentAliasLikeExpression=getPropertyAssignmentAliasLikeExpression;function getEffectiveBaseTypeNode(N){var R=getClassExtendsHeritageElement(N);if(R&&isInJSFile(N)){var j=E.getJSDocAugmentsTag(N);if(j){return j.class}}return R}E.getEffectiveBaseTypeNode=getEffectiveBaseTypeNode;function getClassExtendsHeritageElement(E){var N=getHeritageClause(E.heritageClauses,94);return N&&N.types.length>0?N.types[0]:undefined}E.getClassExtendsHeritageElement=getClassExtendsHeritageElement;function getEffectiveImplementsTypeNodes(N){if(isInJSFile(N)){return E.getJSDocImplementsTags(N).map((function(E){return E.class}))}else{var R=getHeritageClause(N.heritageClauses,117);return R===null||R===void 0?void 0:R.types}}E.getEffectiveImplementsTypeNodes=getEffectiveImplementsTypeNodes;function getAllSuperTypeNodes(N){return E.isInterfaceDeclaration(N)?getInterfaceBaseTypeNodes(N)||E.emptyArray:E.isClassLike(N)?E.concatenate(E.singleElementArray(getEffectiveBaseTypeNode(N)),getEffectiveImplementsTypeNodes(N))||E.emptyArray:E.emptyArray}E.getAllSuperTypeNodes=getAllSuperTypeNodes;function getInterfaceBaseTypeNodes(E){var N=getHeritageClause(E.heritageClauses,94);return N?N.types:undefined}E.getInterfaceBaseTypeNodes=getInterfaceBaseTypeNodes;function getHeritageClause(E,N){if(E){for(var R=0,j=E;R=0){return $[q]}return undefined}function add(q){var G;if(q.file){G=j.get(q.file.fileName);if(!G){G=[];j.set(q.file.fileName,G);E.insertSorted(R,q.file.fileName,E.compareStringsCaseSensitive)}}else{if($){$=false;N=N.slice()}G=N}E.insertSorted(G,q,compareDiagnostics)}function getGlobalDiagnostics(){$=true;return N}function getDiagnostics($){if($){return j.get($)||[]}var q=E.flatMapToMutable(R,(function(E){return j.get(E)}));if(!N.length){return q}q.unshift.apply(q,N);return q}}E.createDiagnosticCollection=createDiagnosticCollection;var _e=/\$\{/g;function escapeTemplateSubstitution(E){return E.replace(_e,"\\${")}function hasInvalidEscape(N){return N&&!!(E.isNoSubstitutionTemplateLiteral(N)?N.templateFlags:N.head.templateFlags||E.some(N.templateSpans,(function(E){return!!E.literal.templateFlags})))}E.hasInvalidEscape=hasInvalidEscape;var Te=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var Ee=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var we=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g;var Ie=new E.Map(E.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function encodeUtf16EscapeSequence(E){var N=E.toString(16).toUpperCase();var R=("0000"+N).slice(-4);return"\\u"+R}function getReplacement(E,N,R){if(E.charCodeAt(0)===0){var j=R.charCodeAt(N+E.length);if(j>=48&&j<=57){return"\\x00"}return"\\0"}return Ie.get(E)||encodeUtf16EscapeSequence(E.charCodeAt(0))}function escapeString(E,N){var R=N===96?we:N===39?Ee:Te;return E.replace(R,getReplacement)}E.escapeString=escapeString;var Ne=/[^\u0000-\u007F]/g;function escapeNonAsciiString(E,N){E=escapeString(E,N);return Ne.test(E)?E.replace(Ne,(function(E){return encodeUtf16EscapeSequence(E.charCodeAt(0))})):E}E.escapeNonAsciiString=escapeNonAsciiString;var Me=/[\"\u0000-\u001f\u2028\u2029\u0085]/g;var Le=/[\'\u0000-\u001f\u2028\u2029\u0085]/g;var Be=new E.Map(E.getEntries({'"':""","'":"'"}));function encodeJsxCharacterEntity(E){var N=E.toString(16).toUpperCase();return"&#x"+N+";"}function getJsxAttributeStringReplacement(E){if(E.charCodeAt(0)===0){return"�"}return Be.get(E)||encodeJsxCharacterEntity(E.charCodeAt(0))}function escapeJsxAttributeString(E,N){var R=N===39?Le:Me;return E.replace(R,getJsxAttributeStringReplacement)}E.escapeJsxAttributeString=escapeJsxAttributeString;function stripQuotes(E){var N=E.length;if(N>=2&&E.charCodeAt(0)===E.charCodeAt(N-1)&&isQuoteOrBacktick(E.charCodeAt(0))){return E.substring(1,N-1)}return E}E.stripQuotes=stripQuotes;function isQuoteOrBacktick(E){return E===39||E===34||E===96}function isIntrinsicJsxName(N){var R=N.charCodeAt(0);return R>=97&&R<=122||E.stringContains(N,"-")||E.stringContains(N,":")}E.isIntrinsicJsxName=isIntrinsicJsxName;var je=[""," "];function getIndentString(E){var N=je[1];for(var R=je.length;R<=E;R++){je.push(je[R-1]+N)}return je[E]}E.getIndentString=getIndentString;function getIndentSize(){return je[1].length}E.getIndentSize=getIndentSize;function createTextWriter(N){var R;var j;var $;var q;var G;var ie=false;function updateLineCountAndPosFor(N){var j=E.computeLineStarts(N);if(j.length>1){q=q+j.length-1;G=R.length-N.length+E.last(j);$=G-R.length===0}else{$=false}}function writeText(E){if(E&&E.length){if($){E=getIndentString(j)+E;$=false}R+=E;updateLineCountAndPosFor(E)}}function write(E){if(E)ie=false;writeText(E)}function writeComment(E){if(E)ie=true;writeText(E)}function reset(){R="";j=0;$=true;q=0;G=0;ie=false}function rawWrite(E){if(E!==undefined){R+=E;updateLineCountAndPosFor(E);ie=false}}function writeLiteral(E){if(E&&E.length){write(E)}}function writeLine(E){if(!$||E){R+=N;q++;G=R.length;$=true;ie=false}}function getTextPosWithWriteLine(){return $?R.length:R.length+N.length}reset();return{write:write,rawWrite:rawWrite,writeLiteral:writeLiteral,writeLine:writeLine,increaseIndent:function(){j++},decreaseIndent:function(){j--},getIndent:function(){return j},getTextPos:function(){return R.length},getLine:function(){return q},getColumn:function(){return $?j*getIndentSize():R.length-G},getText:function(){return R},isAtStartOfLine:function(){return $},hasTrailingComment:function(){return ie},hasTrailingWhitespace:function(){return!!R.length&&E.isWhiteSpaceLike(R.charCodeAt(R.length-1))},clear:reset,reportInaccessibleThisError:E.noop,reportPrivateInBaseOfClassExpression:E.noop,reportInaccessibleUniqueSymbolError:E.noop,trackSymbol:function(){return false},writeKeyword:write,writeOperator:write,writeParameter:write,writeProperty:write,writePunctuation:write,writeSpace:write,writeStringLiteral:write,writeSymbol:function(E,N){return write(E)},writeTrailingSemicolon:write,writeComment:writeComment,getTextPosWithWriteLine:getTextPosWithWriteLine}}E.createTextWriter=createTextWriter;function getTrailingSemicolonDeferringWriter(E){var N=false;function commitPendingTrailingSemicolon(){if(N){E.writeTrailingSemicolon(";");N=false}}return $($({},E),{writeTrailingSemicolon:function(){N=true},writeLiteral:function(N){commitPendingTrailingSemicolon();E.writeLiteral(N)},writeStringLiteral:function(N){commitPendingTrailingSemicolon();E.writeStringLiteral(N)},writeSymbol:function(N,R){commitPendingTrailingSemicolon();E.writeSymbol(N,R)},writePunctuation:function(N){commitPendingTrailingSemicolon();E.writePunctuation(N)},writeKeyword:function(N){commitPendingTrailingSemicolon();E.writeKeyword(N)},writeOperator:function(N){commitPendingTrailingSemicolon();E.writeOperator(N)},writeParameter:function(N){commitPendingTrailingSemicolon();E.writeParameter(N)},writeSpace:function(N){commitPendingTrailingSemicolon();E.writeSpace(N)},writeProperty:function(N){commitPendingTrailingSemicolon();E.writeProperty(N)},writeComment:function(N){commitPendingTrailingSemicolon();E.writeComment(N)},writeLine:function(){commitPendingTrailingSemicolon();E.writeLine()},increaseIndent:function(){commitPendingTrailingSemicolon();E.increaseIndent()},decreaseIndent:function(){commitPendingTrailingSemicolon();E.decreaseIndent()}})}E.getTrailingSemicolonDeferringWriter=getTrailingSemicolonDeferringWriter;function hostUsesCaseSensitiveFileNames(E){return E.useCaseSensitiveFileNames?E.useCaseSensitiveFileNames():false}E.hostUsesCaseSensitiveFileNames=hostUsesCaseSensitiveFileNames;function hostGetCanonicalFileName(N){return E.createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(N))}E.hostGetCanonicalFileName=hostGetCanonicalFileName;function getResolvedExternalModuleName(E,N,R){return N.moduleName||getExternalModuleNameFromPath(E,N.fileName,R&&R.fileName)}E.getResolvedExternalModuleName=getResolvedExternalModuleName;function getCanonicalAbsolutePath(N,R){return N.getCanonicalFileName(E.getNormalizedAbsolutePath(R,N.getCurrentDirectory()))}function getExternalModuleNameFromDeclaration(N,R,j){var $=R.getExternalModuleFileFromDeclaration(j);if(!$||$.isDeclarationFile){return undefined}var q=getExternalModuleName(j);if(q&&E.isStringLiteralLike(q)&&!E.pathIsRelative(q.text)&&getCanonicalAbsolutePath(N,$.path).indexOf(getCanonicalAbsolutePath(N,E.ensureTrailingDirectorySeparator(N.getCommonSourceDirectory())))===-1){return undefined}return getResolvedExternalModuleName(N,$)}E.getExternalModuleNameFromDeclaration=getExternalModuleNameFromDeclaration;function getExternalModuleNameFromPath(N,R,j){var getCanonicalFileName=function(E){return N.getCanonicalFileName(E)};var $=E.toPath(j?E.getDirectoryPath(j):N.getCommonSourceDirectory(),N.getCurrentDirectory(),getCanonicalFileName);var q=E.getNormalizedAbsolutePath(R,N.getCurrentDirectory());var G=E.getRelativePathToDirectoryOrUrl($,q,$,getCanonicalFileName,false);var ie=removeFileExtension(G);return j?E.ensurePathIsNonModuleName(ie):ie}E.getExternalModuleNameFromPath=getExternalModuleNameFromPath;function getOwnEmitOutputFilePath(E,N,R){var j=N.getCompilerOptions();var $;if(j.outDir){$=removeFileExtension(getSourceFilePathInNewDir(E,N,j.outDir))}else{$=removeFileExtension(E)}return $+R}E.getOwnEmitOutputFilePath=getOwnEmitOutputFilePath;function getDeclarationEmitOutputFilePath(E,N){return getDeclarationEmitOutputFilePathWorker(E,N.getCompilerOptions(),N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getDeclarationEmitOutputFilePath=getDeclarationEmitOutputFilePath;function getDeclarationEmitOutputFilePathWorker(E,N,R,j,$){var q=N.declarationDir||N.outDir;var G=q?getSourceFilePathInNewDirWorker(E,q,R,j,$):E;var ie=getDeclarationEmitExtensionForPath(G);return removeFileExtension(G)+ie}E.getDeclarationEmitOutputFilePathWorker=getDeclarationEmitOutputFilePathWorker;function getDeclarationEmitExtensionForPath(N){return E.fileExtensionIsOneOf(N,[".mjs",".mts"])?".d.mts":E.fileExtensionIsOneOf(N,[".cjs",".cts"])?".d.cts":E.fileExtensionIsOneOf(N,[".json"])?".json.d.ts":".d.ts"}E.getDeclarationEmitExtensionForPath=getDeclarationEmitExtensionForPath;function outFile(E){return E.outFile||E.out}E.outFile=outFile;function getPathsBasePath(N,R){var j,$;if(!N.paths)return undefined;return(j=N.baseUrl)!==null&&j!==void 0?j:E.Debug.checkDefined(N.pathsBasePath||(($=R.getCurrentDirectory)===null||$===void 0?void 0:$.call(R)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}E.getPathsBasePath=getPathsBasePath;function getSourceFilesToEmit(N,R,j){var $=N.getCompilerOptions();if(outFile($)){var q=getEmitModuleKind($);var G=$.emitDeclarationOnly||q===E.ModuleKind.AMD||q===E.ModuleKind.System;return E.filter(N.getSourceFiles(),(function(R){return(G||!E.isExternalModule(R))&&sourceFileMayBeEmitted(R,N,j)}))}else{var ie=R===undefined?N.getSourceFiles():[R];return E.filter(ie,(function(E){return sourceFileMayBeEmitted(E,N,j)}))}}E.getSourceFilesToEmit=getSourceFilesToEmit;function sourceFileMayBeEmitted(E,N,R){var j=N.getCompilerOptions();return!(j.noEmitForJsFiles&&isSourceFileJS(E))&&!E.isDeclarationFile&&!N.isSourceFileFromExternalLibrary(E)&&(R||!(isJsonSourceFile(E)&&N.getResolvedProjectReferenceToRedirect(E.fileName))&&!N.isSourceOfProjectReferenceRedirect(E.fileName))}E.sourceFileMayBeEmitted=sourceFileMayBeEmitted;function getSourceFilePathInNewDir(E,N,R){return getSourceFilePathInNewDirWorker(E,R,N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getSourceFilePathInNewDir=getSourceFilePathInNewDir;function getSourceFilePathInNewDirWorker(N,R,j,$,q){var G=E.getNormalizedAbsolutePath(N,j);var ie=q(G).indexOf(q($))===0;G=ie?G.substring($.length):G;return E.combinePaths(R,G)}E.getSourceFilePathInNewDirWorker=getSourceFilePathInNewDirWorker;function writeFile(N,R,j,$,q,G){N.writeFile(j,$,q,(function(N){R.add(createCompilerDiagnostic(E.Diagnostics.Could_not_write_file_0_Colon_1,j,N))}),G)}E.writeFile=writeFile;function ensureDirectoriesExist(N,R,j){if(N.length>E.getRootLength(N)&&!j(N)){var $=E.getDirectoryPath(N);ensureDirectoriesExist($,R,j);R(N)}}function writeFileEnsuringDirectories(N,R,j,$,q,G){try{$(N,R,j)}catch(ie){ensureDirectoriesExist(E.getDirectoryPath(E.normalizePath(N)),q,G);$(N,R,j)}}E.writeFileEnsuringDirectories=writeFileEnsuringDirectories;function getLineOfLocalPosition(N,R){var j=E.getLineStarts(N);return E.computeLineOfPosition(j,R)}E.getLineOfLocalPosition=getLineOfLocalPosition;function getLineOfLocalPositionFromLineMap(N,R){return E.computeLineOfPosition(N,R)}E.getLineOfLocalPositionFromLineMap=getLineOfLocalPositionFromLineMap;function getFirstConstructorWithBody(N){return E.find(N.members,(function(N){return E.isConstructorDeclaration(N)&&nodeIsPresent(N.body)}))}E.getFirstConstructorWithBody=getFirstConstructorWithBody;function getSetAccessorValueParameter(E){if(E&&E.parameters.length>0){var N=E.parameters.length===2&¶meterIsThisKeyword(E.parameters[0]);return E.parameters[N?1:0]}}E.getSetAccessorValueParameter=getSetAccessorValueParameter;function getSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&N.type}E.getSetAccessorTypeAnnotationNode=getSetAccessorTypeAnnotationNode;function getThisParameter(N){if(N.parameters.length&&!E.isJSDocSignature(N)){var R=N.parameters[0];if(parameterIsThisKeyword(R)){return R}}}E.getThisParameter=getThisParameter;function parameterIsThisKeyword(E){return isThisIdentifier(E.name)}E.parameterIsThisKeyword=parameterIsThisKeyword;function isThisIdentifier(E){return!!E&&E.kind===79&&identifierIsThisKeyword(E)}E.isThisIdentifier=isThisIdentifier;function isThisInTypeQuery(N){if(!isThisIdentifier(N)){return false}while(E.isQualifiedName(N.parent)&&N.parent.left===N){N=N.parent}return N.parent.kind===180}E.isThisInTypeQuery=isThisInTypeQuery;function identifierIsThisKeyword(E){return E.originalKeywordKind===108}E.identifierIsThisKeyword=identifierIsThisKeyword;function getAllAccessorDeclarations(N,R){var j;var $;var q;var G;if(hasDynamicName(R)){j=R;if(R.kind===171){q=R}else if(R.kind===172){G=R}else{E.Debug.fail("Accessor has wrong kind")}}else{E.forEach(N,(function(N){if(E.isAccessor(N)&&isStatic(N)===isStatic(R)){var ie=getPropertyNameForPropertyNameNode(N.name);var ae=getPropertyNameForPropertyNameNode(R.name);if(ie===ae){if(!j){j=N}else if(!$){$=N}if(N.kind===171&&!q){q=N}if(N.kind===172&&!G){G=N}}}}))}return{firstAccessor:j,secondAccessor:$,getAccessor:q,setAccessor:G}}E.getAllAccessorDeclarations=getAllAccessorDeclarations;function getEffectiveTypeAnnotationNode(N){if(!isInJSFile(N)&&E.isFunctionDeclaration(N))return undefined;var R=N.type;if(R||!isInJSFile(N))return R;return E.isJSDocPropertyLikeTag(N)?N.typeExpression&&N.typeExpression.type:E.getJSDocType(N)}E.getEffectiveTypeAnnotationNode=getEffectiveTypeAnnotationNode;function getTypeAnnotationNode(E){return E.type}E.getTypeAnnotationNode=getTypeAnnotationNode;function getEffectiveReturnTypeNode(N){return E.isJSDocSignature(N)?N.type&&N.type.typeExpression&&N.type.typeExpression.type:N.type||(isInJSFile(N)?E.getJSDocReturnType(N):undefined)}E.getEffectiveReturnTypeNode=getEffectiveReturnTypeNode;function getJSDocTypeParameterDeclarations(N){return E.flatMap(E.getJSDocTags(N),(function(E){return isNonTypeAliasTemplate(E)?E.typeParameters:undefined}))}E.getJSDocTypeParameterDeclarations=getJSDocTypeParameterDeclarations;function isNonTypeAliasTemplate(N){return E.isJSDocTemplateTag(N)&&!(N.parent.kind===318&&N.parent.tags.some(isJSDocTypeAlias))}function getEffectiveSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&getEffectiveTypeAnnotationNode(N)}E.getEffectiveSetAccessorTypeAnnotationNode=getEffectiveSetAccessorTypeAnnotationNode;function emitNewLineBeforeLeadingComments(E,N,R,j){emitNewLineBeforeLeadingCommentsOfPosition(E,N,R.pos,j)}E.emitNewLineBeforeLeadingComments=emitNewLineBeforeLeadingComments;function emitNewLineBeforeLeadingCommentsOfPosition(E,N,R,j){if(j&&j.length&&R!==j[0].pos&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j[0].pos)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentsOfPosition=emitNewLineBeforeLeadingCommentsOfPosition;function emitNewLineBeforeLeadingCommentOfPosition(E,N,R,j){if(R!==j&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentOfPosition=emitNewLineBeforeLeadingCommentOfPosition;function emitComments(E,N,R,j,$,q,G,ie){if(j&&j.length>0){if($){R.writeSpace(" ")}var ae=false;for(var ce=0,le=j;ce=Ie+2){break}}le.push(we);_e=we}if(le.length){var Ie=getLineOfLocalPositionFromLineMap(R,E.last(le).end);var Me=getLineOfLocalPositionFromLineMap(R,E.skipTrivia(N,q.pos));if(Me>=Ie+2){emitNewLineBeforeLeadingComments(R,j,q,ae);emitComments(N,R,j,le,false,true,G,$);ce={nodePos:q.pos,detachedCommentEndPos:E.last(le).end}}}}return ce;function isPinnedCommentLocal(E){return isPinnedComment(N,E.pos)}}E.emitDetachedComments=emitDetachedComments;function writeCommentRange(N,R,j,$,q,G){if(N.charCodeAt($+1)===42){var ie=E.computeLineAndCharacterOfPosition(R,$);var ae=R.length;var ce=void 0;for(var le=$,_e=ie.line;le0){var Ie=we%getIndentSize();var Ne=getIndentString((we-Ie)/getIndentSize());j.rawWrite(Ne);while(Ie){j.rawWrite(" ");Ie--}}else{j.rawWrite("")}}writeTrimmedCurrentLine(N,q,j,G,le,Te);le=Te}}else{j.writeComment(N.substring($,q))}}E.writeCommentRange=writeCommentRange;function writeTrimmedCurrentLine(N,R,j,$,q,G){var ie=Math.min(R,G-1);var ae=E.trimString(N.substring(q,ie));if(ae){j.writeComment(ae);if(ie!==R){j.writeLine()}}else{j.rawWrite($)}}function calculateIndent(N,R,j){var $=0;for(;R=0&&E.kind<=159){return 0}if(!(E.modifierFlagsCache&536870912)){E.modifierFlagsCache=getSyntacticModifierFlagsNoCache(E)|536870912}if(N&&!(E.modifierFlagsCache&4096)&&(R||isInJSFile(E))&&E.parent){E.modifierFlagsCache|=getJSDocModifierFlagsNoCache(E)|4096}return E.modifierFlagsCache&~(536870912|4096)}function getEffectiveModifierFlags(E){return getModifierFlagsWorker(E,true)}E.getEffectiveModifierFlags=getEffectiveModifierFlags;function getEffectiveModifierFlagsAlwaysIncludeJSDoc(E){return getModifierFlagsWorker(E,true,true)}E.getEffectiveModifierFlagsAlwaysIncludeJSDoc=getEffectiveModifierFlagsAlwaysIncludeJSDoc;function getSyntacticModifierFlags(E){return getModifierFlagsWorker(E,false)}E.getSyntacticModifierFlags=getSyntacticModifierFlags;function getJSDocModifierFlagsNoCache(N){var R=0;if(!!N.parent&&!E.isParameter(N)){if(isInJSFile(N)){if(E.getJSDocPublicTagNoCache(N))R|=4;if(E.getJSDocPrivateTagNoCache(N))R|=8;if(E.getJSDocProtectedTagNoCache(N))R|=16;if(E.getJSDocReadonlyTagNoCache(N))R|=64;if(E.getJSDocOverrideTagNoCache(N))R|=16384}if(E.getJSDocDeprecatedTagNoCache(N))R|=8192}return R}function getEffectiveModifierFlagsNoCache(E){return getSyntacticModifierFlagsNoCache(E)|getJSDocModifierFlagsNoCache(E)}E.getEffectiveModifierFlagsNoCache=getEffectiveModifierFlagsNoCache;function getSyntacticModifierFlagsNoCache(E){var N=modifiersToFlags(E.modifiers);if(E.flags&4||E.kind===79&&E.isInJSDocNamespace){N|=1}return N}E.getSyntacticModifierFlagsNoCache=getSyntacticModifierFlagsNoCache;function modifiersToFlags(E){var N=0;if(E){for(var R=0,j=E;R=63&&E<=78}E.isAssignmentOperator=isAssignmentOperator;function tryGetClassExtendingExpressionWithTypeArguments(E){var N=tryGetClassImplementingOrExtendingExpressionWithTypeArguments(E);return N&&!N.isImplements?N.class:undefined}E.tryGetClassExtendingExpressionWithTypeArguments=tryGetClassExtendingExpressionWithTypeArguments;function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N){return E.isExpressionWithTypeArguments(N)&&E.isHeritageClause(N.parent)&&E.isClassLike(N.parent.parent)?{class:N.parent.parent,isImplements:N.parent.token===117}:undefined}E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=tryGetClassImplementingOrExtendingExpressionWithTypeArguments;function isAssignmentExpression(N,R){return E.isBinaryExpression(N)&&(R?N.operatorToken.kind===63:isAssignmentOperator(N.operatorToken.kind))&&E.isLeftHandSideExpression(N.left)}E.isAssignmentExpression=isAssignmentExpression;function isLeftHandSideOfAssignment(E){return isAssignmentExpression(E.parent)&&E.parent.left===E}E.isLeftHandSideOfAssignment=isLeftHandSideOfAssignment;function isDestructuringAssignment(E){if(isAssignmentExpression(E,true)){var N=E.left.kind;return N===204||N===203}return false}E.isDestructuringAssignment=isDestructuringAssignment;function isExpressionWithTypeArgumentsInClassExtendsClause(E){return tryGetClassExtendingExpressionWithTypeArguments(E)!==undefined}E.isExpressionWithTypeArgumentsInClassExtendsClause=isExpressionWithTypeArgumentsInClassExtendsClause;function isEntityNameExpression(E){return E.kind===79||isPropertyAccessEntityNameExpression(E)}E.isEntityNameExpression=isEntityNameExpression;function getFirstIdentifier(E){switch(E.kind){case 79:return E;case 160:do{E=E.left}while(E.kind!==79);return E;case 205:do{E=E.expression}while(E.kind!==79);return E}}E.getFirstIdentifier=getFirstIdentifier;function isDottedName(E){return E.kind===79||E.kind===108||E.kind===106||E.kind===230||E.kind===205&&isDottedName(E.expression)||E.kind===211&&isDottedName(E.expression)}E.isDottedName=isDottedName;function isPropertyAccessEntityNameExpression(N){return E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)&&isEntityNameExpression(N.expression)}E.isPropertyAccessEntityNameExpression=isPropertyAccessEntityNameExpression;function tryGetPropertyAccessOrIdentifierToString(N){if(E.isPropertyAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined){return R+"."+entityNameToString(N.name)}}else if(E.isElementAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined&&E.isPropertyName(N.argumentExpression)){return R+"."+getPropertyNameForPropertyNameNode(N.argumentExpression)}}else if(E.isIdentifier(N)){return E.unescapeLeadingUnderscores(N.escapedText)}return undefined}E.tryGetPropertyAccessOrIdentifierToString=tryGetPropertyAccessOrIdentifierToString;function isPrototypeAccess(E){return isBindableStaticAccessExpression(E)&&getElementOrPropertyAccessName(E)==="prototype"}E.isPrototypeAccess=isPrototypeAccess;function isRightSideOfQualifiedNameOrPropertyAccess(E){return E.parent.kind===160&&E.parent.right===E||E.parent.kind===205&&E.parent.name===E}E.isRightSideOfQualifiedNameOrPropertyAccess=isRightSideOfQualifiedNameOrPropertyAccess;function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N||E.isJSDocMemberName(N.parent)&&N.parent.right===N}E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName;function isEmptyObjectLiteral(E){return E.kind===204&&E.properties.length===0}E.isEmptyObjectLiteral=isEmptyObjectLiteral;function isEmptyArrayLiteral(E){return E.kind===203&&E.elements.length===0}E.isEmptyArrayLiteral=isEmptyArrayLiteral;function getLocalSymbolForExportDefault(E){if(!isExportDefaultSymbol(E)||!E.declarations)return undefined;for(var N=0,R=E.declarations;N0&&hasSyntacticModifier(N.declarations[0],512)}function tryExtractTSExtension(N){return E.find(et,(function(R){return E.fileExtensionIs(N,R)}))}E.tryExtractTSExtension=tryExtractTSExtension;function getExpandedCharCodes(N){var R=[];var j=N.length;for(var $=0;$>6|192);R.push(q&63|128)}else if(q<65536){R.push(q>>12|224);R.push(q>>6&63|128);R.push(q&63|128)}else if(q<131072){R.push(q>>18|240);R.push(q>>12&63|128);R.push(q>>6&63|128);R.push(q&63|128)}else{E.Debug.assert(false,"Unexpected code point")}}return R}var Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function convertToBase64(E){var N="";var R=getExpandedCharCodes(E);var j=0;var $=R.length;var q,G,ie,ae;while(j<$){q=R[j]>>2;G=(R[j]&3)<<4|R[j+1]>>4;ie=(R[j+1]&15)<<2|R[j+2]>>6;ae=R[j+2]&63;if(j+1>=$){ie=ae=64}else if(j+2>=$){ae=64}N+=Ue.charAt(q)+Ue.charAt(G)+Ue.charAt(ie)+Ue.charAt(ae);j+=3}return N}E.convertToBase64=convertToBase64;function getStringFromExpandedCharCodes(E){var N="";var R=0;var j=E.length;while(R>4&3;var le=(G&15)<<4|ie>>2&15;var _e=(ie&3)<<6|ae&63;if(le===0&&ie!==0){j.push(ce)}else if(_e===0&&ae!==0){j.push(ce,le)}else{j.push(ce,le,_e)}$+=4}return getStringFromExpandedCharCodes(j)}E.base64decode=base64decode;function readJson(N,R){try{var j=R.readFile(N);if(!j)return{};var $=E.parseConfigFileTextToJson(N,j);if($.error){return{}}return $.config}catch(E){return{}}}E.readJson=readJson;function directoryProbablyExists(E,N){return!N.directoryExists||N.directoryExists(E)}E.directoryProbablyExists=directoryProbablyExists;var ze="\r\n";var We="\n";function getNewLineCharacter(N,R){switch(N.newLine){case 0:return ze;case 1:return We}return R?R():E.sys?E.sys.newLine:ze}E.getNewLineCharacter=getNewLineCharacter;function createRange(N,R){if(R===void 0){R=N}E.Debug.assert(R>=N||R===-1);return{pos:N,end:R}}E.createRange=createRange;function moveRangeEnd(E,N){return createRange(E.pos,N)}E.moveRangeEnd=moveRangeEnd;function moveRangePos(E,N){return createRange(N,E.end)}E.moveRangePos=moveRangePos;function moveRangePastDecorators(E){return E.decorators&&E.decorators.length>0?moveRangePos(E,E.decorators.end):E}E.moveRangePastDecorators=moveRangePastDecorators;function moveRangePastModifiers(E){return E.modifiers&&E.modifiers.length>0?moveRangePos(E,E.modifiers.end):moveRangePastDecorators(E)}E.moveRangePastModifiers=moveRangePastModifiers;function isCollapsedRange(E){return E.pos===E.end}E.isCollapsedRange=isCollapsedRange;function createTokenRange(N,R){return createRange(N,N+E.tokenToString(R).length)}E.createTokenRange=createTokenRange;function rangeIsOnSingleLine(E,N){return rangeStartIsOnSameLineAsRangeEnd(E,E,N)}E.rangeIsOnSingleLine=rangeIsOnSingleLine;function rangeStartPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),getStartPositionOfRange(N,R,false),R)}E.rangeStartPositionsAreOnSameLine=rangeStartPositionsAreOnSameLine;function rangeEndPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(E.end,N.end,R)}E.rangeEndPositionsAreOnSameLine=rangeEndPositionsAreOnSameLine;function rangeStartIsOnSameLineAsRangeEnd(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),N.end,R)}E.rangeStartIsOnSameLineAsRangeEnd=rangeStartIsOnSameLineAsRangeEnd;function rangeEndIsOnSameLineAsRangeStart(E,N,R){return positionsAreOnSameLine(E.end,getStartPositionOfRange(N,R,false),R)}E.rangeEndIsOnSameLineAsRangeStart=rangeEndIsOnSameLineAsRangeStart;function getLinesBetweenRangeEndAndRangeStart(N,R,j,$){var q=getStartPositionOfRange(R,j,$);return E.getLinesBetweenPositions(j,N.end,q)}E.getLinesBetweenRangeEndAndRangeStart=getLinesBetweenRangeEndAndRangeStart;function getLinesBetweenRangeEndPositions(N,R,j){return E.getLinesBetweenPositions(j,N.end,R.end)}E.getLinesBetweenRangeEndPositions=getLinesBetweenRangeEndPositions;function isNodeArrayMultiLine(E,N){return!positionsAreOnSameLine(E.pos,E.end,N)}E.isNodeArrayMultiLine=isNodeArrayMultiLine;function positionsAreOnSameLine(N,R,j){return E.getLinesBetweenPositions(j,N,R)===0}E.positionsAreOnSameLine=positionsAreOnSameLine;function getStartPositionOfRange(N,R,j){return positionIsSynthesized(N.pos)?-1:E.skipTrivia(R.text,N.pos,false,j)}E.getStartPositionOfRange=getStartPositionOfRange;function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);var G=getPreviousNonWhitespacePosition(q,R,j);return E.getLinesBetweenPositions(j,G!==null&&G!==void 0?G:R,q)}E.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter;function getLinesBetweenPositionAndNextNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);return E.getLinesBetweenPositions(j,N,Math.min(R,q))}E.getLinesBetweenPositionAndNextNonWhitespaceCharacter=getLinesBetweenPositionAndNextNonWhitespaceCharacter;function getPreviousNonWhitespacePosition(N,R,j){if(R===void 0){R=0}while(N-- >R){if(!E.isWhiteSpaceLike(j.text.charCodeAt(N))){return N}}}function isDeclarationNameOfEnumOrNamespace(N){var R=E.getParseTreeNode(N);if(R){switch(R.parent.kind){case 259:case 260:return R===R.parent.name}}return false}E.isDeclarationNameOfEnumOrNamespace=isDeclarationNameOfEnumOrNamespace;function getInitializedVariables(N){return E.filter(N.declarations,isInitializedVariable)}E.getInitializedVariables=getInitializedVariables;function isInitializedVariable(E){return E.initializer!==undefined}function isWatchSet(E){return E.watch&&E.hasOwnProperty("watch")}E.isWatchSet=isWatchSet;function closeFileWatcher(E){E.close()}E.closeFileWatcher=closeFileWatcher;function getCheckFlags(E){return E.flags&33554432?E.checkFlags:0}E.getCheckFlags=getCheckFlags;function getDeclarationModifierFlagsFromSymbol(N,R){if(R===void 0){R=false}if(N.valueDeclaration){var j=R&&N.declarations&&E.find(N.declarations,(function(E){return E.kind===172}))||N.valueDeclaration;var $=E.getCombinedModifierFlags(j);return N.parent&&N.parent.flags&32?$:$&~28}if(getCheckFlags(N)&6){var q=N.checkFlags;var G=q&1024?8:q&256?4:16;var ie=q&2048?32:0;return G|ie}if(N.flags&4194304){return 4|32}return 0}E.getDeclarationModifierFlagsFromSymbol=getDeclarationModifierFlagsFromSymbol;function skipAlias(E,N){return E.flags&2097152?N.getAliasedSymbol(E):E}E.skipAlias=skipAlias;function getCombinedLocalAndExportSymbolFlags(E){return E.exportSymbol?E.exportSymbol.flags|E.flags:E.flags}E.getCombinedLocalAndExportSymbolFlags=getCombinedLocalAndExportSymbolFlags;function isWriteOnlyAccess(E){return accessKind(E)===1}E.isWriteOnlyAccess=isWriteOnlyAccess;function isWriteAccess(E){return accessKind(E)!==0}E.isWriteAccess=isWriteAccess;var Je;(function(E){E[E["Read"]=0]="Read";E[E["Write"]=1]="Write";E[E["ReadWrite"]=2]="ReadWrite"})(Je||(Je={}));function accessKind(E){var N=E.parent;if(!N)return 0;switch(N.kind){case 211:return accessKind(N);case 219:case 218:var R=N.operator;return R===45||R===46?writeOrReadWrite():0;case 220:var j=N,$=j.left,q=j.operatorToken;return $===E&&isAssignmentOperator(q.kind)?q.kind===63?1:writeOrReadWrite():0;case 205:return N.name!==E?0:accessKind(N);case 294:{var G=accessKind(N.parent);return E===N.name?reverseAccessKind(G):G}case 295:return E===N.objectAssignmentInitializer?0:accessKind(N.parent);case 203:return accessKind(N);default:return 0}function writeOrReadWrite(){return N.parent&&walkUpParenthesizedExpressions(N.parent).kind===237?1:2}}function reverseAccessKind(N){switch(N){case 0:return 1;case 1:return 0;case 2:return 2;default:return E.Debug.assertNever(N)}}function compareDataObjects(E,N){if(!E||!N||Object.keys(E).length!==Object.keys(N).length){return false}for(var R in E){if(typeof E[R]==="object"){if(!compareDataObjects(E[R],N[R])){return false}}else if(typeof E[R]!=="function"){if(E[R]!==N[R]){return false}}}return true}E.compareDataObjects=compareDataObjects;function clearMap(E,N){E.forEach(N);E.clear()}E.clearMap=clearMap;function mutateMapSkippingNewValues(E,N,R){var j=R.onDeleteValue,$=R.onExistingValue;E.forEach((function(R,q){var G=N.get(q);if(G===undefined){E.delete(q);j(R,q)}else if($){$(R,G,q)}}))}E.mutateMapSkippingNewValues=mutateMapSkippingNewValues;function mutateMap(E,N,R){mutateMapSkippingNewValues(E,N,R);var j=R.createNewValue;N.forEach((function(N,R){if(!E.has(R)){E.set(R,j(R,N))}}))}E.mutateMap=mutateMap;function isAbstractConstructorSymbol(E){if(E.flags&32){var N=getClassLikeDeclarationOfSymbol(E);return!!N&&hasSyntacticModifier(N,128)}return false}E.isAbstractConstructorSymbol=isAbstractConstructorSymbol;function getClassLikeDeclarationOfSymbol(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find(E.isClassLike)}E.getClassLikeDeclarationOfSymbol=getClassLikeDeclarationOfSymbol;function getObjectFlags(E){return E.flags&3899393?E.objectFlags:0}E.getObjectFlags=getObjectFlags;function typeHasCallOrConstructSignatures(E,N){return N.getSignaturesOfType(E,0).length!==0||N.getSignaturesOfType(E,1).length!==0}E.typeHasCallOrConstructSignatures=typeHasCallOrConstructSignatures;function forSomeAncestorDirectory(N,R){return!!E.forEachAncestorDirectory(N,(function(E){return R(E)?true:undefined}))}E.forSomeAncestorDirectory=forSomeAncestorDirectory;function isUMDExportSymbol(N){return!!N&&!!N.declarations&&!!N.declarations[0]&&E.isNamespaceExportDeclaration(N.declarations[0])}E.isUMDExportSymbol=isUMDExportSymbol;function showModuleSpecifier(N){var R=N.moduleSpecifier;return E.isStringLiteral(R)?R.text:getTextOfNode(R)}E.showModuleSpecifier=showModuleSpecifier;function getLastChild(N){var R;E.forEachChild(N,(function(E){if(nodeIsPresent(E))R=E}),(function(E){for(var N=E.length-1;N>=0;N--){if(nodeIsPresent(E[N])){R=E[N];break}}}));return R}E.getLastChild=getLastChild;function addToSeen(E,N,R){if(R===void 0){R=true}if(E.has(N)){return false}E.set(N,R);return true}E.addToSeen=addToSeen;function isObjectTypeDeclaration(N){return E.isClassLike(N)||E.isInterfaceDeclaration(N)||E.isTypeLiteralNode(N)}E.isObjectTypeDeclaration=isObjectTypeDeclaration;function isTypeNodeKind(E){return E>=176&&E<=199||E===130||E===154||E===146||E===157||E===147||E===133||E===149||E===150||E===114||E===152||E===143||E===227||E===310||E===311||E===312||E===313||E===314||E===315||E===316}E.isTypeNodeKind=isTypeNodeKind;function isAccessExpression(E){return E.kind===205||E.kind===206}E.isAccessExpression=isAccessExpression;function getNameOfAccessExpression(N){if(N.kind===205){return N.name}E.Debug.assert(N.kind===206);return N.argumentExpression}E.getNameOfAccessExpression=getNameOfAccessExpression;function isBundleFileTextLike(E){switch(E.kind){case"text":case"internal":return true;default:return false}}E.isBundleFileTextLike=isBundleFileTextLike;function isNamedImportsOrExports(E){return E.kind===268||E.kind===272}E.isNamedImportsOrExports=isNamedImportsOrExports;function getLeftmostAccessExpression(E){while(isAccessExpression(E)){E=E.expression}return E}E.getLeftmostAccessExpression=getLeftmostAccessExpression;function getLeftmostExpression(E,N){while(true){switch(E.kind){case 219:E=E.operand;continue;case 220:E=E.left;continue;case 221:E=E.condition;continue;case 209:E=E.tag;continue;case 207:if(N){return E}case 228:case 206:case 205:case 229:case 348:E=E.expression;continue}return E}}E.getLeftmostExpression=getLeftmostExpression;function Symbol(E,N){this.flags=E;this.escapedName=N;this.declarations=undefined;this.valueDeclaration=undefined;this.id=undefined;this.mergeId=undefined;this.parent=undefined}function Type(N,R){this.flags=R;if(E.Debug.isDebugging||E.tracing){this.checker=N}}function Signature(N,R){this.flags=R;if(E.Debug.isDebugging){this.checker=N}}function Node(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.original=undefined}function Token(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined}function Identifier(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined;this.original=undefined;this.flowNode=undefined}function SourceMapSource(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R||function(E){return E}}E.objectAllocator={getNodeConstructor:function(){return Node},getTokenConstructor:function(){return Token},getIdentifierConstructor:function(){return Identifier},getPrivateIdentifierConstructor:function(){return Node},getSourceFileConstructor:function(){return Node},getSymbolConstructor:function(){return Symbol},getTypeConstructor:function(){return Type},getSignatureConstructor:function(){return Signature},getSourceMapSourceConstructor:function(){return SourceMapSource}};function setObjectAllocator(N){Object.assign(E.objectAllocator,N)}E.setObjectAllocator=setObjectAllocator;function formatStringFromArgs(N,R,j){if(j===void 0){j=0}return N.replace(/{(\d+)}/g,(function(N,$){return""+E.Debug.checkDefined(R[+$+j])}))}E.formatStringFromArgs=formatStringFromArgs;var Ve;function setLocalizedDiagnosticMessages(E){Ve=E}E.setLocalizedDiagnosticMessages=setLocalizedDiagnosticMessages;function maybeSetLocalizedDiagnosticMessages(E){if(!Ve&&E){Ve=E()}}E.maybeSetLocalizedDiagnosticMessages=maybeSetLocalizedDiagnosticMessages;function getLocaleSpecificMessage(E){return Ve&&Ve[E.key]||E.message}E.getLocaleSpecificMessage=getLocaleSpecificMessage;function createDetachedDiagnostic(E,N,R,j){assertDiagnosticLocation(undefined,N,R);var $=getLocaleSpecificMessage(j);if(arguments.length>4){$=formatStringFromArgs($,arguments,4)}return{file:undefined,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,fileName:E}}E.createDetachedDiagnostic=createDetachedDiagnostic;function isDiagnosticWithDetachedLocation(E){return E.file===undefined&&E.start!==undefined&&E.length!==undefined&&typeof E.fileName==="string"}function attachFileToDiagnostic(N,R){var j=R.fileName||"";var $=R.text.length;E.Debug.assertEqual(N.fileName,j);E.Debug.assertLessThanOrEqual(N.start,$);E.Debug.assertLessThanOrEqual(N.start+N.length,$);var q={file:R,start:N.start,length:N.length,messageText:N.messageText,category:N.category,code:N.code,reportsUnnecessary:N.reportsUnnecessary};if(N.relatedInformation){q.relatedInformation=[];for(var G=0,ie=N.relatedInformation;G4){$=formatStringFromArgs($,arguments,4)}return{file:E,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,reportsDeprecated:j.reportsDeprecated}}E.createFileDiagnostic=createFileDiagnostic;function formatMessage(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return R}E.formatMessage=formatMessage;function createCompilerDiagnostic(E){var N=getLocaleSpecificMessage(E);if(arguments.length>1){N=formatStringFromArgs(N,arguments,1)}return{file:undefined,start:undefined,length:undefined,messageText:N,category:E.category,code:E.code,reportsUnnecessary:E.reportsUnnecessary,reportsDeprecated:E.reportsDeprecated}}E.createCompilerDiagnostic=createCompilerDiagnostic;function createCompilerDiagnosticFromMessageChain(E,N){return{file:undefined,start:undefined,length:undefined,code:E.code,category:E.category,messageText:E.next?E:E.messageText,relatedInformation:N}}E.createCompilerDiagnosticFromMessageChain=createCompilerDiagnosticFromMessageChain;function chainDiagnosticMessages(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return{messageText:R,category:N.category,code:N.code,next:E===undefined||Array.isArray(E)?E:[E]}}E.chainDiagnosticMessages=chainDiagnosticMessages;function concatenateDiagnosticMessageChains(E,N){var R=E;while(R.next){R=R.next[0]}R.next=[N]}E.concatenateDiagnosticMessageChains=concatenateDiagnosticMessageChains;function getDiagnosticFilePath(E){return E.file?E.file.path:undefined}function compareDiagnostics(E,N){return compareDiagnosticsSkipRelatedInformation(E,N)||compareRelatedInformation(E,N)||0}E.compareDiagnostics=compareDiagnostics;function compareDiagnosticsSkipRelatedInformation(N,R){return E.compareStringsCaseSensitive(getDiagnosticFilePath(N),getDiagnosticFilePath(R))||E.compareValues(N.start,R.start)||E.compareValues(N.length,R.length)||E.compareValues(N.code,R.code)||compareMessageText(N.messageText,R.messageText)||0}E.compareDiagnosticsSkipRelatedInformation=compareDiagnosticsSkipRelatedInformation;function compareRelatedInformation(N,R){if(!N.relatedInformation&&!R.relatedInformation){return 0}if(N.relatedInformation&&R.relatedInformation){return E.compareValues(N.relatedInformation.length,R.relatedInformation.length)||E.forEach(N.relatedInformation,(function(E,N){var j=R.relatedInformation[N];return compareDiagnostics(E,j)}))||0}return N.relatedInformation?-1:1}function compareMessageText(N,R){if(typeof N==="string"&&typeof R==="string"){return E.compareStringsCaseSensitive(N,R)}else if(typeof N==="string"){return-1}else if(typeof R==="string"){return 1}var j=E.compareStringsCaseSensitive(N.messageText,R.messageText);if(j){return j}if(!N.next&&!R.next){return 0}if(!N.next){return-1}if(!R.next){return 1}var $=Math.min(N.next.length,R.next.length);for(var q=0;q<$;q++){j=compareMessageText(N.next[q],R.next[q]);if(j){return j}}if(N.next.lengthR.next.length){return 1}return 0}function getLanguageVariant(E){return E===4||E===2||E===1||E===6?1:0}E.getLanguageVariant=getLanguageVariant;function getEmitScriptTarget(N){return N.target||N.module===E.ModuleKind.Node12&&7||N.module===E.ModuleKind.NodeNext&&99||0}E.getEmitScriptTarget=getEmitScriptTarget;function getEmitModuleKind(N){return typeof N.module==="number"?N.module:getEmitScriptTarget(N)>=2?E.ModuleKind.ES2015:E.ModuleKind.CommonJS}E.getEmitModuleKind=getEmitModuleKind;function getEmitModuleResolutionKind(N){var R=N.moduleResolution;if(R===undefined){switch(getEmitModuleKind(N)){case E.ModuleKind.CommonJS:R=E.ModuleResolutionKind.NodeJs;break;case E.ModuleKind.Node12:R=E.ModuleResolutionKind.Node12;break;case E.ModuleKind.NodeNext:R=E.ModuleResolutionKind.NodeNext;break;default:R=E.ModuleResolutionKind.Classic;break}}return R}E.getEmitModuleResolutionKind=getEmitModuleResolutionKind;function hasJsonModuleEmitEnabled(N){switch(getEmitModuleKind(N)){case E.ModuleKind.CommonJS:case E.ModuleKind.AMD:case E.ModuleKind.ES2015:case E.ModuleKind.ES2020:case E.ModuleKind.ES2022:case E.ModuleKind.ESNext:case E.ModuleKind.Node12:case E.ModuleKind.NodeNext:return true;default:return false}}E.hasJsonModuleEmitEnabled=hasJsonModuleEmitEnabled;function unreachableCodeIsError(E){return E.allowUnreachableCode===false}E.unreachableCodeIsError=unreachableCodeIsError;function unusedLabelIsError(E){return E.allowUnusedLabels===false}E.unusedLabelIsError=unusedLabelIsError;function getAreDeclarationMapsEnabled(E){return!!(getEmitDeclarations(E)&&E.declarationMap)}E.getAreDeclarationMapsEnabled=getAreDeclarationMapsEnabled;function getESModuleInterop(N){if(N.esModuleInterop!==undefined){return N.esModuleInterop}switch(getEmitModuleKind(N)){case E.ModuleKind.Node12:case E.ModuleKind.NodeNext:return true}return undefined}E.getESModuleInterop=getESModuleInterop;function getAllowSyntheticDefaultImports(N){var R=getEmitModuleKind(N);return N.allowSyntheticDefaultImports!==undefined?N.allowSyntheticDefaultImports:getESModuleInterop(N)||R===E.ModuleKind.System}E.getAllowSyntheticDefaultImports=getAllowSyntheticDefaultImports;function getEmitDeclarations(E){return!!(E.declaration||E.composite)}E.getEmitDeclarations=getEmitDeclarations;function shouldPreserveConstEnums(E){return!!(E.preserveConstEnums||E.isolatedModules)}E.shouldPreserveConstEnums=shouldPreserveConstEnums;function isIncrementalCompilation(E){return!!(E.incremental||E.composite)}E.isIncrementalCompilation=isIncrementalCompilation;function getStrictOptionValue(E,N){return E[N]===undefined?!!E.strict:!!E[N]}E.getStrictOptionValue=getStrictOptionValue;function getAllowJSCompilerOption(E){return E.allowJs===undefined?!!E.checkJs:E.allowJs}E.getAllowJSCompilerOption=getAllowJSCompilerOption;function getUseDefineForClassFields(E){return E.useDefineForClassFields===undefined?getEmitScriptTarget(E)>=9:E.useDefineForClassFields}E.getUseDefineForClassFields=getUseDefineForClassFields;function compilerOptionsAffectSemanticDiagnostics(N,R){return optionsHaveChanges(R,N,E.semanticDiagnosticsOptionDeclarations)}E.compilerOptionsAffectSemanticDiagnostics=compilerOptionsAffectSemanticDiagnostics;function compilerOptionsAffectEmit(N,R){return optionsHaveChanges(R,N,E.affectsEmitOptionDeclarations)}E.compilerOptionsAffectEmit=compilerOptionsAffectEmit;function getCompilerOptionValue(E,N){return N.strictFlag?getStrictOptionValue(E,N.name):E[N.name]}E.getCompilerOptionValue=getCompilerOptionValue;function getJSXTransformEnabled(E){var N=E.jsx;return N===2||N===4||N===5}E.getJSXTransformEnabled=getJSXTransformEnabled;function getJSXImplicitImportBase(N,R){var j=R===null||R===void 0?void 0:R.pragmas.get("jsximportsource");var $=E.isArray(j)?j[j.length-1]:j;return N.jsx===4||N.jsx===5||N.jsxImportSource||$?($===null||$===void 0?void 0:$.arguments.factory)||N.jsxImportSource||"react":undefined}E.getJSXImplicitImportBase=getJSXImplicitImportBase;function getJSXRuntimeImport(E,N){return E?"".concat(E,"/").concat(N.jsx===5?"jsx-dev-runtime":"jsx-runtime"):undefined}E.getJSXRuntimeImport=getJSXRuntimeImport;function hasZeroOrOneAsteriskCharacter(E){var N=false;for(var R=0;R=2&&G.length>=2&&!isNodeModulesOrScopedPackageDirectory(q[q.length-2],$)&&!isNodeModulesOrScopedPackageDirectory(G[G.length-2],$)&&$(q[q.length-1])===$(G[G.length-1])){q.pop();G.pop();ie=true}return ie?[E.getPathFromPathComponents(q),E.getPathFromPathComponents(G)]:undefined}function isNodeModulesOrScopedPackageDirectory(N,R){return N!==undefined&&(R(N)==="node_modules"||E.startsWith(N,"@"))}function stripLeadingDirectorySeparator(N){return E.isAnyDirectorySeparator(N.charCodeAt(0))?N.slice(1):undefined}function tryRemoveDirectoryPrefix(N,R,j){var $=E.tryRemovePrefix(N,R,j);return $===undefined?undefined:stripLeadingDirectorySeparator($)}E.tryRemoveDirectoryPrefix=tryRemoveDirectoryPrefix;var qe=/[^\w\s\/]/g;function regExpEscape(E){return E.replace(qe,escapeRegExpCharacter)}E.regExpEscape=regExpEscape;function escapeRegExpCharacter(E){return"\\"+E}var He=[42,63];E.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var Ge="(?!(".concat(E.commonPackageFolders.join("|"),")(/|$))");var Ke={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(Ge,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(E){return replaceWildcardCharacter(E,Ke.singleAsteriskRegexFragment)}};var Qe={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(Ge,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(E){return replaceWildcardCharacter(E,Qe.singleAsteriskRegexFragment)}};var Xe={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(E){return replaceWildcardCharacter(E,Xe.singleAsteriskRegexFragment)}};var Ye={files:Ke,directories:Qe,exclude:Xe};function getRegularExpressionForWildcard(E,N,R){var j=getRegularExpressionsForWildcards(E,N,R);if(!j||!j.length){return undefined}var $=j.map((function(E){return"(".concat(E,")")})).join("|");var q=R==="exclude"?"($|/)":"$";return"^(".concat($,")").concat(q)}E.getRegularExpressionForWildcard=getRegularExpressionForWildcard;function getRegularExpressionsForWildcards(N,R,j){if(N===undefined||N.length===0){return undefined}return E.flatMap(N,(function(E){return E&&getSubPatternFromSpec(E,R,j,Ye[j])}))}E.getRegularExpressionsForWildcards=getRegularExpressionsForWildcards;function isImplicitGlob(E){return!/[.*?]/.test(E)}E.isImplicitGlob=isImplicitGlob;function getPatternFromSpec(E,N,R){var j=E&&getSubPatternFromSpec(E,N,R,Ye[R]);return j&&"^(".concat(j,")").concat(R==="exclude"?"($|/)":"$")}E.getPatternFromSpec=getPatternFromSpec;function getSubPatternFromSpec(N,R,j,$){var q=$.singleAsteriskRegexFragment,G=$.doubleAsteriskRegexFragment,ie=$.replaceWildcardCharacter;var ae="";var ce=false;var le=E.getNormalizedPathComponents(N,R);var _e=E.last(le);if(j!=="exclude"&&_e==="**"){return undefined}le[0]=E.removeTrailingDirectorySeparator(le[0]);if(isImplicitGlob(_e)){le.push("**","*")}var Te=0;for(var Ee=0,we=le;Ee0){ae+=")?";Te--}return ae}function replaceWildcardCharacter(E,N){return E==="*"?N:E==="?"?"[^/]":"\\"+E}function getFileMatcherPatterns(N,R,j,$,q){N=E.normalizePath(N);q=E.normalizePath(q);var G=E.combinePaths(q,N);return{includeFilePatterns:E.map(getRegularExpressionsForWildcards(j,G,"files"),(function(E){return"^".concat(E,"$")})),includeFilePattern:getRegularExpressionForWildcard(j,G,"files"),includeDirectoryPattern:getRegularExpressionForWildcard(j,G,"directories"),excludePattern:getRegularExpressionForWildcard(R,G,"exclude"),basePaths:getBasePaths(N,j,$)}}E.getFileMatcherPatterns=getFileMatcherPatterns;function getRegexFromPattern(E,N){return new RegExp(E,N?"":"i")}E.getRegexFromPattern=getRegexFromPattern;function matchFiles(N,R,j,$,q,G,ie,ae,ce){N=E.normalizePath(N);G=E.normalizePath(G);var le=getFileMatcherPatterns(N,j,$,q,G);var _e=le.includeFilePatterns&&le.includeFilePatterns.map((function(E){return getRegexFromPattern(E,q)}));var Te=le.includeDirectoryPattern&&getRegexFromPattern(le.includeDirectoryPattern,q);var Ee=le.excludePattern&&getRegexFromPattern(le.excludePattern,q);var we=_e?_e.map((function(){return[]})):[[]];var Ie=new E.Map;var Ne=E.createGetCanonicalFileName(q);for(var Me=0,Le=le.basePaths;Me=0)}E.positionIsSynthesized=positionIsSynthesized;function extensionIsTS(E){return E===".ts"||E===".tsx"||E===".d.ts"||E===".cts"||E===".mts"||E===".d.mts"||E===".d.cts"}E.extensionIsTS=extensionIsTS;function resolutionExtensionIsTSOrJson(E){return extensionIsTS(E)||E===".json"}E.resolutionExtensionIsTSOrJson=resolutionExtensionIsTSOrJson;function extensionFromPath(N){var R=tryGetExtensionFromPath(N);return R!==undefined?R:E.Debug.fail("File ".concat(N," has unknown extension."))}E.extensionFromPath=extensionFromPath;function isAnySupportedFileExtension(E){return tryGetExtensionFromPath(E)!==undefined}E.isAnySupportedFileExtension=isAnySupportedFileExtension;function tryGetExtensionFromPath(N){return E.find(nt,(function(R){return E.fileExtensionIs(N,R)}))}E.tryGetExtensionFromPath=tryGetExtensionFromPath;function isCheckJsEnabledForFile(E,N){return E.checkJsDirective?E.checkJsDirective.enabled:N.checkJs}E.isCheckJsEnabledForFile=isCheckJsEnabledForFile;E.emptyFileSystemEntries={files:E.emptyArray,directories:E.emptyArray};function matchPatternOrExact(N,R){var j=[];for(var $=0,q=N;$$){$=G}}return{min:j,max:$}}E.minAndMax=minAndMax;function rangeOfNode(E){return{pos:getTokenPosOfNode(E),end:E.end}}E.rangeOfNode=rangeOfNode;function rangeOfTypeParameters(N,R){var j=R.pos-1;var $=E.skipTrivia(N.text,R.end)+1;return{pos:j,end:$}}E.rangeOfTypeParameters=rangeOfTypeParameters;function skipTypeChecking(E,N,R){return N.skipLibCheck&&E.isDeclarationFile||N.skipDefaultLibCheck&&E.hasNoDefaultLib||R.isSourceOfProjectReferenceRedirect(E.fileName)}E.skipTypeChecking=skipTypeChecking;function isJsonEqual(N,R){return N===R||typeof N==="object"&&N!==null&&typeof R==="object"&&R!==null&&E.equalOwnProperties(N,R,isJsonEqual)}E.isJsonEqual=isJsonEqual;function parsePseudoBigInt(E){var N;switch(E.charCodeAt(1)){case 98:case 66:N=1;break;case 111:case 79:N=3;break;case 120:case 88:N=4;break;default:var R=E.length-1;var j=0;while(E.charCodeAt(j)===48){j++}return E.slice(j,R)||"0"}var $=2,q=E.length-1;var G=(q-$)*N;var ie=new Uint16Array((G>>>4)+(G&15?1:0));for(var ae=q-1,ce=0;ae>=$;ae--,ce+=N){var le=ce>>>4;var _e=E.charCodeAt(ae);var Te=_e<=57?_e-48:10+_e-(_e<=70?65:97);var Ee=Te<<(ce&15);ie[le]|=Ee;var we=Ee>>>16;if(we)ie[le+1]|=we}var Ie="";var Ne=ie.length-1;var Me=true;while(Me){var Le=0;Me=false;for(var le=Ne;le>=0;le--){var Be=Le<<16|ie[le];var je=Be/10|0;ie[le]=je;Le=Be-je*10;if(je&&!Me){Ne=le;Me=true}}Ie=Le+Ie}return Ie}E.parsePseudoBigInt=parsePseudoBigInt;function pseudoBigIntToString(E){var N=E.negative,R=E.base10Value;return(N&&R!=="0"?"-":"")+R}E.pseudoBigIntToString=pseudoBigIntToString;function isValidTypeOnlyAliasUseSite(E){return!!(E.flags&8388608)||isPartOfTypeQuery(E)||isIdentifierInNonEmittingHeritageClause(E)||isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E)||!(isExpressionNode(E)||isShorthandPropertyNameUseSite(E))}E.isValidTypeOnlyAliasUseSite=isValidTypeOnlyAliasUseSite;function isShorthandPropertyNameUseSite(N){return E.isIdentifier(N)&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N}function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E){while(E.kind===79||E.kind===205){E=E.parent}if(E.kind!==161){return false}if(hasSyntacticModifier(E.parent,128)){return true}var N=E.parent.parent.kind;return N===257||N===181}function isIdentifierInNonEmittingHeritageClause(N){if(N.kind!==79)return false;var R=E.findAncestor(N.parent,(function(E){switch(E.kind){case 290:return true;case 205:case 227:return false;default:return"quit"}}));return(R===null||R===void 0?void 0:R.token)===117||(R===null||R===void 0?void 0:R.parent.kind)===257}function isIdentifierTypeReference(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)}E.isIdentifierTypeReference=isIdentifierTypeReference;function arrayIsHomogeneous(N,R){if(R===void 0){R=E.equateValues}if(N.length<2)return true;var j=N[0];for(var $=1,q=N.length;$=0?E.factory.createNumericLiteral(+N):E.factory.createStringLiteral(N,!!j)}E.createPropertyNameNodeForIdentifierOrLiteral=createPropertyNameNodeForIdentifierOrLiteral;function isThisTypeParameter(E){return!!(E.flags&262144&&E.isThisType)}E.isThisTypeParameter=isThisTypeParameter;function getNodeModulePathParts(N){var R=0;var j=0;var $=0;var q=0;var G;(function(E){E[E["BeforeNodeModules"]=0]="BeforeNodeModules";E[E["NodeModules"]=1]="NodeModules";E[E["Scope"]=2]="Scope";E[E["PackageContent"]=3]="PackageContent"})(G||(G={}));var ie=0;var ae=0;var ce=0;while(ae>=0){ie=ae;ae=N.indexOf("/",ie+1);switch(ce){case 0:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){R=ie;j=ae;ce=1}break;case 1:case 2:if(ce===1&&N.charAt(ie+1)==="@"){ce=2}else{$=ae;ce=3}break;case 3:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){ce=1}else{ce=3}break}}q=ie;return ce>1?{topLevelNodeModulesIndex:R,topLevelPackageNameIndex:j,packageRootIndex:$,fileNameIndex:q}:undefined}E.getNodeModulePathParts=getNodeModulePathParts})(ce||(ce={}));var ce;(function(E){function createBaseNodeFactory(){var N;var R;var j;var $;var q;return{createBaseSourceFileNode:createBaseSourceFileNode,createBaseIdentifierNode:createBaseIdentifierNode,createBasePrivateIdentifierNode:createBasePrivateIdentifierNode,createBaseTokenNode:createBaseTokenNode,createBaseNode:createBaseNode};function createBaseSourceFileNode(N){return new(q||(q=E.objectAllocator.getSourceFileConstructor()))(N,-1,-1)}function createBaseIdentifierNode(N){return new(j||(j=E.objectAllocator.getIdentifierConstructor()))(N,-1,-1)}function createBasePrivateIdentifierNode(N){return new($||($=E.objectAllocator.getPrivateIdentifierConstructor()))(N,-1,-1)}function createBaseTokenNode(N){return new(R||(R=E.objectAllocator.getTokenConstructor()))(N,-1,-1)}function createBaseNode(R){return new(N||(N=E.objectAllocator.getNodeConstructor()))(R,-1,-1)}}E.createBaseNodeFactory=createBaseNodeFactory})(ce||(ce={}));var ce;(function(E){function createParenthesizerRules(N){var R;var j;return{getParenthesizeLeftSideOfBinaryForOperator:getParenthesizeLeftSideOfBinaryForOperator,getParenthesizeRightSideOfBinaryForOperator:getParenthesizeRightSideOfBinaryForOperator,parenthesizeLeftSideOfBinary:parenthesizeLeftSideOfBinary,parenthesizeRightSideOfBinary:parenthesizeRightSideOfBinary,parenthesizeExpressionOfComputedPropertyName:parenthesizeExpressionOfComputedPropertyName,parenthesizeConditionOfConditionalExpression:parenthesizeConditionOfConditionalExpression,parenthesizeBranchOfConditionalExpression:parenthesizeBranchOfConditionalExpression,parenthesizeExpressionOfExportDefault:parenthesizeExpressionOfExportDefault,parenthesizeExpressionOfNew:parenthesizeExpressionOfNew,parenthesizeLeftSideOfAccess:parenthesizeLeftSideOfAccess,parenthesizeOperandOfPostfixUnary:parenthesizeOperandOfPostfixUnary,parenthesizeOperandOfPrefixUnary:parenthesizeOperandOfPrefixUnary,parenthesizeExpressionsOfCommaDelimitedList:parenthesizeExpressionsOfCommaDelimitedList,parenthesizeExpressionForDisallowedComma:parenthesizeExpressionForDisallowedComma,parenthesizeExpressionOfExpressionStatement:parenthesizeExpressionOfExpressionStatement,parenthesizeConciseBodyOfArrowFunction:parenthesizeConciseBodyOfArrowFunction,parenthesizeMemberOfConditionalType:parenthesizeMemberOfConditionalType,parenthesizeMemberOfElementType:parenthesizeMemberOfElementType,parenthesizeElementTypeOfArrayType:parenthesizeElementTypeOfArrayType,parenthesizeConstituentTypesOfUnionOrIntersectionType:parenthesizeConstituentTypesOfUnionOrIntersectionType,parenthesizeTypeArguments:parenthesizeTypeArguments};function getParenthesizeLeftSideOfBinaryForOperator(N){R||(R=new E.Map);var j=R.get(N);if(!j){j=function(E){return parenthesizeLeftSideOfBinary(N,E)};R.set(N,j)}return j}function getParenthesizeRightSideOfBinaryForOperator(N){j||(j=new E.Map);var R=j.get(N);if(!R){R=function(E){return parenthesizeRightSideOfBinary(N,undefined,E)};j.set(N,R)}return R}function binaryOperandNeedsParentheses(N,R,j,$){var q=E.getOperatorPrecedence(220,N);var G=E.getOperatorAssociativity(220,N);var ie=E.skipPartiallyEmittedExpressions(R);if(!j&&R.kind===213&&q>3){return true}var ae=E.getExpressionPrecedence(ie);switch(E.compareValues(ae,q)){case-1:if(!j&&G===1&&R.kind===223){return false}return true;case 1:return false;case 0:if(j){return G===1}else{if(E.isBinaryExpression(ie)&&ie.operatorToken.kind===N){if(operatorHasAssociativeProperty(N)){return false}if(N===39){var ce=$?getLiteralKindOfBinaryPlusOperand($):0;if(E.isLiteralKind(ce)&&ce===getLiteralKindOfBinaryPlusOperand(ie)){return false}}}var le=E.getExpressionAssociativity(ie);return le===0}}}function operatorHasAssociativeProperty(E){return E===41||E===51||E===50||E===52}function getLiteralKindOfBinaryPlusOperand(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isLiteralKind(N.kind)){return N.kind}if(N.kind===220&&N.operatorToken.kind===39){if(N.cachedLiteralKind!==undefined){return N.cachedLiteralKind}var R=getLiteralKindOfBinaryPlusOperand(N.left);var j=E.isLiteralKind(R)&&R===getLiteralKindOfBinaryPlusOperand(N.right)?R:0;N.cachedLiteralKind=j;return j}return 0}function parenthesizeBinaryOperand(R,j,$,q){var G=E.skipPartiallyEmittedExpressions(j);if(G.kind===211){return j}return binaryOperandNeedsParentheses(R,j,$,q)?N.createParenthesizedExpression(j):j}function parenthesizeLeftSideOfBinary(E,N){return parenthesizeBinaryOperand(E,N,true)}function parenthesizeRightSideOfBinary(E,N,R){return parenthesizeBinaryOperand(E,R,false,N)}function parenthesizeExpressionOfComputedPropertyName(R){return E.isCommaSequence(R)?N.createParenthesizedExpression(R):R}function parenthesizeConditionOfConditionalExpression(R){var j=E.getOperatorPrecedence(221,57);var $=E.skipPartiallyEmittedExpressions(R);var q=E.getExpressionPrecedence($);if(E.compareValues(q,j)!==1){return N.createParenthesizedExpression(R)}return R}function parenthesizeBranchOfConditionalExpression(R){var j=E.skipPartiallyEmittedExpressions(R);return E.isCommaSequence(j)?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfExportDefault(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.isCommaSequence(j);if(!$){switch(E.getLeftmostExpression(j,false).kind){case 225:case 212:$=true}}return $?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfNew(R){var j=E.getLeftmostExpression(R,true);switch(j.kind){case 207:return N.createParenthesizedExpression(R);case 208:return!j.arguments?N.createParenthesizedExpression(R):R}return parenthesizeLeftSideOfAccess(R)}function parenthesizeLeftSideOfAccess(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isLeftHandSideExpression(j)&&(j.kind!==208||j.arguments)){return R}return E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPostfixUnary(R){return E.isLeftHandSideExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPrefixUnary(R){return E.isUnaryExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionsOfCommaDelimitedList(R){var j=E.sameMap(R,parenthesizeExpressionForDisallowedComma);return E.setTextRange(N.createNodeArray(j,R.hasTrailingComma),R)}function parenthesizeExpressionForDisallowedComma(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.getExpressionPrecedence(j);var q=E.getOperatorPrecedence(220,27);return $>q?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionOfExpressionStatement(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isCallExpression(j)){var $=j.expression;var q=E.skipPartiallyEmittedExpressions($).kind;if(q===212||q===213){var G=N.updateCallExpression(j,E.setTextRange(N.createParenthesizedExpression($),$),j.typeArguments,j.arguments);return N.restoreOuterExpressions(R,G,8)}}var ie=E.getLeftmostExpression(j,false).kind;if(ie===204||ie===212){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeConciseBodyOfArrowFunction(R){if(!E.isBlock(R)&&(E.isCommaSequence(R)||E.getLeftmostExpression(R,false).kind===204)){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeMemberOfConditionalType(E){return E.kind===188?N.createParenthesizedType(E):E}function parenthesizeMemberOfElementType(E){switch(E.kind){case 186:case 187:case 178:case 179:return N.createParenthesizedType(E)}return parenthesizeMemberOfConditionalType(E)}function parenthesizeElementTypeOfArrayType(E){switch(E.kind){case 180:case 192:case 189:return N.createParenthesizedType(E)}return parenthesizeMemberOfElementType(E)}function parenthesizeConstituentTypesOfUnionOrIntersectionType(R){return N.createNodeArray(E.sameMap(R,parenthesizeMemberOfElementType))}function parenthesizeOrdinalTypeArgument(R,j){return j===0&&E.isFunctionOrConstructorTypeNode(R)&&R.typeParameters?N.createParenthesizedType(R):R}function parenthesizeTypeArguments(R){if(E.some(R)){return N.createNodeArray(E.sameMap(R,parenthesizeOrdinalTypeArgument))}}}E.createParenthesizerRules=createParenthesizerRules;E.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(N){return E.identity},getParenthesizeRightSideOfBinaryForOperator:function(N){return E.identity},parenthesizeLeftSideOfBinary:function(E,N){return N},parenthesizeRightSideOfBinary:function(E,N,R){return R},parenthesizeExpressionOfComputedPropertyName:E.identity,parenthesizeConditionOfConditionalExpression:E.identity,parenthesizeBranchOfConditionalExpression:E.identity,parenthesizeExpressionOfExportDefault:E.identity,parenthesizeExpressionOfNew:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(N){return E.cast(N,E.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(N){return E.cast(N,E.isNodeArray)},parenthesizeExpressionForDisallowedComma:E.identity,parenthesizeExpressionOfExpressionStatement:E.identity,parenthesizeConciseBodyOfArrowFunction:E.identity,parenthesizeMemberOfConditionalType:E.identity,parenthesizeMemberOfElementType:E.identity,parenthesizeElementTypeOfArrayType:E.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(N){return E.cast(N,E.isNodeArray)},parenthesizeTypeArguments:function(N){return N&&E.cast(N,E.isNodeArray)}}})(ce||(ce={}));var ce;(function(E){function createNodeConverters(N){return{convertToFunctionBlock:convertToFunctionBlock,convertToFunctionExpression:convertToFunctionExpression,convertToArrayAssignmentElement:convertToArrayAssignmentElement,convertToObjectAssignmentElement:convertToObjectAssignmentElement,convertToAssignmentPattern:convertToAssignmentPattern,convertToObjectAssignmentPattern:convertToObjectAssignmentPattern,convertToArrayAssignmentPattern:convertToArrayAssignmentPattern,convertToAssignmentElementTarget:convertToAssignmentElementTarget};function convertToFunctionBlock(R,j){if(E.isBlock(R))return R;var $=N.createReturnStatement(R);E.setTextRange($,R);var q=N.createBlock([$],j);E.setTextRange(q,R);return q}function convertToFunctionExpression(R){if(!R.body)return E.Debug.fail("Cannot convert a FunctionDeclaration without a body");var j=N.createFunctionExpression(R.modifiers,R.asteriskToken,R.name,R.typeParameters,R.parameters,R.type,R.body);E.setOriginalNode(j,R);E.setTextRange(j,R);if(E.getStartsOnNewLine(R)){E.setStartsOnNewLine(j,true)}return j}function convertToArrayAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadElement(R.name),R),R)}var j=convertToAssignmentElementTarget(R.name);return R.initializer?E.setOriginalNode(E.setTextRange(N.createAssignment(j,R.initializer),R),R):j}return E.cast(R,E.isExpression)}function convertToObjectAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadAssignment(R.name),R),R)}if(R.propertyName){var j=convertToAssignmentElementTarget(R.name);return E.setOriginalNode(E.setTextRange(N.createPropertyAssignment(R.propertyName,R.initializer?N.createAssignment(j,R.initializer):j),R),R)}E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createShorthandPropertyAssignment(R.name,R.initializer),R),R)}return E.cast(R,E.isObjectLiteralElementLike)}function convertToAssignmentPattern(E){switch(E.kind){case 201:case 203:return convertToArrayAssignmentPattern(E);case 200:case 204:return convertToObjectAssignmentPattern(E)}}function convertToObjectAssignmentPattern(R){if(E.isObjectBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createObjectLiteralExpression(E.map(R.elements,convertToObjectAssignmentElement)),R),R)}return E.cast(R,E.isObjectLiteralExpression)}function convertToArrayAssignmentPattern(R){if(E.isArrayBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createArrayLiteralExpression(E.map(R.elements,convertToArrayAssignmentElement)),R),R)}return E.cast(R,E.isArrayLiteralExpression)}function convertToAssignmentElementTarget(N){if(E.isBindingPattern(N)){return convertToAssignmentPattern(N)}return E.cast(N,E.isExpression)}}E.createNodeConverters=createNodeConverters;E.nullNodeConverters={convertToFunctionBlock:E.notImplemented,convertToFunctionExpression:E.notImplemented,convertToArrayAssignmentElement:E.notImplemented,convertToObjectAssignmentElement:E.notImplemented,convertToAssignmentPattern:E.notImplemented,convertToObjectAssignmentPattern:E.notImplemented,convertToArrayAssignmentPattern:E.notImplemented,convertToAssignmentElementTarget:E.notImplemented}})(ce||(ce={}));var ce;(function(E){var N=0;var R;(function(E){E[E["None"]=0]="None";E[E["NoParenthesizerRules"]=1]="NoParenthesizerRules";E[E["NoNodeConverters"]=2]="NoNodeConverters";E[E["NoIndentationOnFreshPropertyAccess"]=4]="NoIndentationOnFreshPropertyAccess";E[E["NoOriginalNode"]=8]="NoOriginalNode"})(R=E.NodeFactoryFlags||(E.NodeFactoryFlags={}));function createNodeFactory(R,$){var q=R&8?updateWithoutOriginal:updateWithOriginal;var G=E.memoize((function(){return R&1?E.nullParenthesizerRules:E.createParenthesizerRules(Le)}));var ie=E.memoize((function(){return R&2?E.nullNodeConverters:E.createNodeConverters(Le)}));var ae=E.memoizeOne((function(E){return function(N,R){return createBinaryExpression(N,E,R)}}));var ce=E.memoizeOne((function(E){return function(N){return createPrefixUnaryExpression(E,N)}}));var le=E.memoizeOne((function(E){return function(N){return createPostfixUnaryExpression(N,E)}}));var _e=E.memoizeOne((function(E){return function(){return createJSDocPrimaryTypeWorker(E)}}));var Te=E.memoizeOne((function(E){return function(N){return createJSDocUnaryTypeWorker(E,N)}}));var Ee=E.memoizeOne((function(E){return function(N,R){return updateJSDocUnaryTypeWorker(E,N,R)}}));var we=E.memoizeOne((function(E){return function(N,R){return createJSDocSimpleTagWorker(E,N,R)}}));var Ie=E.memoizeOne((function(E){return function(N,R,j){return updateJSDocSimpleTagWorker(E,N,R,j)}}));var Ne=E.memoizeOne((function(E){return function(N,R,j){return createJSDocTypeLikeTagWorker(E,N,R,j)}}));var Me=E.memoizeOne((function(E){return function(N,R,j,$){return updateJSDocTypeLikeTagWorker(E,N,R,j,$)}}));var Le={get parenthesizer(){return G()},get converters(){return ie()},createNodeArray:createNodeArray,createNumericLiteral:createNumericLiteral,createBigIntLiteral:createBigIntLiteral,createStringLiteral:createStringLiteral,createStringLiteralFromNode:createStringLiteralFromNode,createRegularExpressionLiteral:createRegularExpressionLiteral,createLiteralLikeNode:createLiteralLikeNode,createIdentifier:createIdentifier,updateIdentifier:updateIdentifier,createTempVariable:createTempVariable,createLoopVariable:createLoopVariable,createUniqueName:createUniqueName,getGeneratedNameForNode:getGeneratedNameForNode,createPrivateIdentifier:createPrivateIdentifier,createToken:createToken,createSuper:createSuper,createThis:createThis,createNull:createNull,createTrue:createTrue,createFalse:createFalse,createModifier:createModifier,createModifiersFromModifierFlags:createModifiersFromModifierFlags,createQualifiedName:createQualifiedName,updateQualifiedName:updateQualifiedName,createComputedPropertyName:createComputedPropertyName,updateComputedPropertyName:updateComputedPropertyName,createTypeParameterDeclaration:createTypeParameterDeclaration,updateTypeParameterDeclaration:updateTypeParameterDeclaration,createParameterDeclaration:createParameterDeclaration,updateParameterDeclaration:updateParameterDeclaration,createDecorator:createDecorator,updateDecorator:updateDecorator,createPropertySignature:createPropertySignature,updatePropertySignature:updatePropertySignature,createPropertyDeclaration:createPropertyDeclaration,updatePropertyDeclaration:updatePropertyDeclaration,createMethodSignature:createMethodSignature,updateMethodSignature:updateMethodSignature,createMethodDeclaration:createMethodDeclaration,updateMethodDeclaration:updateMethodDeclaration,createConstructorDeclaration:createConstructorDeclaration,updateConstructorDeclaration:updateConstructorDeclaration,createGetAccessorDeclaration:createGetAccessorDeclaration,updateGetAccessorDeclaration:updateGetAccessorDeclaration,createSetAccessorDeclaration:createSetAccessorDeclaration,updateSetAccessorDeclaration:updateSetAccessorDeclaration,createCallSignature:createCallSignature,updateCallSignature:updateCallSignature,createConstructSignature:createConstructSignature,updateConstructSignature:updateConstructSignature,createIndexSignature:createIndexSignature,updateIndexSignature:updateIndexSignature,createClassStaticBlockDeclaration:createClassStaticBlockDeclaration,updateClassStaticBlockDeclaration:updateClassStaticBlockDeclaration,createTemplateLiteralTypeSpan:createTemplateLiteralTypeSpan,updateTemplateLiteralTypeSpan:updateTemplateLiteralTypeSpan,createKeywordTypeNode:createKeywordTypeNode,createTypePredicateNode:createTypePredicateNode,updateTypePredicateNode:updateTypePredicateNode,createTypeReferenceNode:createTypeReferenceNode,updateTypeReferenceNode:updateTypeReferenceNode,createFunctionTypeNode:createFunctionTypeNode,updateFunctionTypeNode:updateFunctionTypeNode,createConstructorTypeNode:createConstructorTypeNode,updateConstructorTypeNode:updateConstructorTypeNode,createTypeQueryNode:createTypeQueryNode,updateTypeQueryNode:updateTypeQueryNode,createTypeLiteralNode:createTypeLiteralNode,updateTypeLiteralNode:updateTypeLiteralNode,createArrayTypeNode:createArrayTypeNode,updateArrayTypeNode:updateArrayTypeNode,createTupleTypeNode:createTupleTypeNode,updateTupleTypeNode:updateTupleTypeNode,createNamedTupleMember:createNamedTupleMember,updateNamedTupleMember:updateNamedTupleMember,createOptionalTypeNode:createOptionalTypeNode,updateOptionalTypeNode:updateOptionalTypeNode,createRestTypeNode:createRestTypeNode,updateRestTypeNode:updateRestTypeNode,createUnionTypeNode:createUnionTypeNode,updateUnionTypeNode:updateUnionTypeNode,createIntersectionTypeNode:createIntersectionTypeNode,updateIntersectionTypeNode:updateIntersectionTypeNode,createConditionalTypeNode:createConditionalTypeNode,updateConditionalTypeNode:updateConditionalTypeNode,createInferTypeNode:createInferTypeNode,updateInferTypeNode:updateInferTypeNode,createImportTypeNode:createImportTypeNode,updateImportTypeNode:updateImportTypeNode,createParenthesizedType:createParenthesizedType,updateParenthesizedType:updateParenthesizedType,createThisTypeNode:createThisTypeNode,createTypeOperatorNode:createTypeOperatorNode,updateTypeOperatorNode:updateTypeOperatorNode,createIndexedAccessTypeNode:createIndexedAccessTypeNode,updateIndexedAccessTypeNode:updateIndexedAccessTypeNode,createMappedTypeNode:createMappedTypeNode,updateMappedTypeNode:updateMappedTypeNode,createLiteralTypeNode:createLiteralTypeNode,updateLiteralTypeNode:updateLiteralTypeNode,createTemplateLiteralType:createTemplateLiteralType,updateTemplateLiteralType:updateTemplateLiteralType,createObjectBindingPattern:createObjectBindingPattern,updateObjectBindingPattern:updateObjectBindingPattern,createArrayBindingPattern:createArrayBindingPattern,updateArrayBindingPattern:updateArrayBindingPattern,createBindingElement:createBindingElement,updateBindingElement:updateBindingElement,createArrayLiteralExpression:createArrayLiteralExpression,updateArrayLiteralExpression:updateArrayLiteralExpression,createObjectLiteralExpression:createObjectLiteralExpression,updateObjectLiteralExpression:updateObjectLiteralExpression,createPropertyAccessExpression:R&4?function(N,R){return E.setEmitFlags(createPropertyAccessExpression(N,R),131072)}:createPropertyAccessExpression,updatePropertyAccessExpression:updatePropertyAccessExpression,createPropertyAccessChain:R&4?function(N,R,j){return E.setEmitFlags(createPropertyAccessChain(N,R,j),131072)}:createPropertyAccessChain,updatePropertyAccessChain:updatePropertyAccessChain,createElementAccessExpression:createElementAccessExpression,updateElementAccessExpression:updateElementAccessExpression,createElementAccessChain:createElementAccessChain,updateElementAccessChain:updateElementAccessChain,createCallExpression:createCallExpression,updateCallExpression:updateCallExpression,createCallChain:createCallChain,updateCallChain:updateCallChain,createNewExpression:createNewExpression,updateNewExpression:updateNewExpression,createTaggedTemplateExpression:createTaggedTemplateExpression,updateTaggedTemplateExpression:updateTaggedTemplateExpression,createTypeAssertion:createTypeAssertion,updateTypeAssertion:updateTypeAssertion,createParenthesizedExpression:createParenthesizedExpression,updateParenthesizedExpression:updateParenthesizedExpression,createFunctionExpression:createFunctionExpression,updateFunctionExpression:updateFunctionExpression,createArrowFunction:createArrowFunction,updateArrowFunction:updateArrowFunction,createDeleteExpression:createDeleteExpression,updateDeleteExpression:updateDeleteExpression,createTypeOfExpression:createTypeOfExpression,updateTypeOfExpression:updateTypeOfExpression,createVoidExpression:createVoidExpression,updateVoidExpression:updateVoidExpression,createAwaitExpression:createAwaitExpression,updateAwaitExpression:updateAwaitExpression,createPrefixUnaryExpression:createPrefixUnaryExpression,updatePrefixUnaryExpression:updatePrefixUnaryExpression,createPostfixUnaryExpression:createPostfixUnaryExpression,updatePostfixUnaryExpression:updatePostfixUnaryExpression,createBinaryExpression:createBinaryExpression,updateBinaryExpression:updateBinaryExpression,createConditionalExpression:createConditionalExpression,updateConditionalExpression:updateConditionalExpression,createTemplateExpression:createTemplateExpression,updateTemplateExpression:updateTemplateExpression,createTemplateHead:createTemplateHead,createTemplateMiddle:createTemplateMiddle,createTemplateTail:createTemplateTail,createNoSubstitutionTemplateLiteral:createNoSubstitutionTemplateLiteral,createTemplateLiteralLikeNode:createTemplateLiteralLikeNode,createYieldExpression:createYieldExpression,updateYieldExpression:updateYieldExpression,createSpreadElement:createSpreadElement,updateSpreadElement:updateSpreadElement,createClassExpression:createClassExpression,updateClassExpression:updateClassExpression,createOmittedExpression:createOmittedExpression,createExpressionWithTypeArguments:createExpressionWithTypeArguments,updateExpressionWithTypeArguments:updateExpressionWithTypeArguments,createAsExpression:createAsExpression,updateAsExpression:updateAsExpression,createNonNullExpression:createNonNullExpression,updateNonNullExpression:updateNonNullExpression,createNonNullChain:createNonNullChain,updateNonNullChain:updateNonNullChain,createMetaProperty:createMetaProperty,updateMetaProperty:updateMetaProperty,createTemplateSpan:createTemplateSpan,updateTemplateSpan:updateTemplateSpan,createSemicolonClassElement:createSemicolonClassElement,createBlock:createBlock,updateBlock:updateBlock,createVariableStatement:createVariableStatement,updateVariableStatement:updateVariableStatement,createEmptyStatement:createEmptyStatement,createExpressionStatement:createExpressionStatement,updateExpressionStatement:updateExpressionStatement,createIfStatement:createIfStatement,updateIfStatement:updateIfStatement,createDoStatement:createDoStatement,updateDoStatement:updateDoStatement,createWhileStatement:createWhileStatement,updateWhileStatement:updateWhileStatement,createForStatement:createForStatement,updateForStatement:updateForStatement,createForInStatement:createForInStatement,updateForInStatement:updateForInStatement,createForOfStatement:createForOfStatement,updateForOfStatement:updateForOfStatement,createContinueStatement:createContinueStatement,updateContinueStatement:updateContinueStatement,createBreakStatement:createBreakStatement,updateBreakStatement:updateBreakStatement,createReturnStatement:createReturnStatement,updateReturnStatement:updateReturnStatement,createWithStatement:createWithStatement,updateWithStatement:updateWithStatement,createSwitchStatement:createSwitchStatement,updateSwitchStatement:updateSwitchStatement,createLabeledStatement:createLabeledStatement,updateLabeledStatement:updateLabeledStatement,createThrowStatement:createThrowStatement,updateThrowStatement:updateThrowStatement,createTryStatement:createTryStatement,updateTryStatement:updateTryStatement,createDebuggerStatement:createDebuggerStatement,createVariableDeclaration:createVariableDeclaration,updateVariableDeclaration:updateVariableDeclaration,createVariableDeclarationList:createVariableDeclarationList,updateVariableDeclarationList:updateVariableDeclarationList,createFunctionDeclaration:createFunctionDeclaration,updateFunctionDeclaration:updateFunctionDeclaration,createClassDeclaration:createClassDeclaration,updateClassDeclaration:updateClassDeclaration,createInterfaceDeclaration:createInterfaceDeclaration,updateInterfaceDeclaration:updateInterfaceDeclaration,createTypeAliasDeclaration:createTypeAliasDeclaration,updateTypeAliasDeclaration:updateTypeAliasDeclaration,createEnumDeclaration:createEnumDeclaration,updateEnumDeclaration:updateEnumDeclaration,createModuleDeclaration:createModuleDeclaration,updateModuleDeclaration:updateModuleDeclaration,createModuleBlock:createModuleBlock,updateModuleBlock:updateModuleBlock,createCaseBlock:createCaseBlock,updateCaseBlock:updateCaseBlock,createNamespaceExportDeclaration:createNamespaceExportDeclaration,updateNamespaceExportDeclaration:updateNamespaceExportDeclaration,createImportEqualsDeclaration:createImportEqualsDeclaration,updateImportEqualsDeclaration:updateImportEqualsDeclaration,createImportDeclaration:createImportDeclaration,updateImportDeclaration:updateImportDeclaration,createImportClause:createImportClause,updateImportClause:updateImportClause,createAssertClause:createAssertClause,updateAssertClause:updateAssertClause,createAssertEntry:createAssertEntry,updateAssertEntry:updateAssertEntry,createNamespaceImport:createNamespaceImport,updateNamespaceImport:updateNamespaceImport,createNamespaceExport:createNamespaceExport,updateNamespaceExport:updateNamespaceExport,createNamedImports:createNamedImports,updateNamedImports:updateNamedImports,createImportSpecifier:createImportSpecifier,updateImportSpecifier:updateImportSpecifier,createExportAssignment:createExportAssignment,updateExportAssignment:updateExportAssignment,createExportDeclaration:createExportDeclaration,updateExportDeclaration:updateExportDeclaration,createNamedExports:createNamedExports,updateNamedExports:updateNamedExports,createExportSpecifier:createExportSpecifier,updateExportSpecifier:updateExportSpecifier,createMissingDeclaration:createMissingDeclaration,createExternalModuleReference:createExternalModuleReference,updateExternalModuleReference:updateExternalModuleReference,get createJSDocAllType(){return _e(310)},get createJSDocUnknownType(){return _e(311)},get createJSDocNonNullableType(){return Te(313)},get updateJSDocNonNullableType(){return Ee(313)},get createJSDocNullableType(){return Te(312)},get updateJSDocNullableType(){return Ee(312)},get createJSDocOptionalType(){return Te(314)},get updateJSDocOptionalType(){return Ee(314)},get createJSDocVariadicType(){return Te(316)},get updateJSDocVariadicType(){return Ee(316)},get createJSDocNamepathType(){return Te(317)},get updateJSDocNamepathType(){return Ee(317)},createJSDocFunctionType:createJSDocFunctionType,updateJSDocFunctionType:updateJSDocFunctionType,createJSDocTypeLiteral:createJSDocTypeLiteral,updateJSDocTypeLiteral:updateJSDocTypeLiteral,createJSDocTypeExpression:createJSDocTypeExpression,updateJSDocTypeExpression:updateJSDocTypeExpression,createJSDocSignature:createJSDocSignature,updateJSDocSignature:updateJSDocSignature,createJSDocTemplateTag:createJSDocTemplateTag,updateJSDocTemplateTag:updateJSDocTemplateTag,createJSDocTypedefTag:createJSDocTypedefTag,updateJSDocTypedefTag:updateJSDocTypedefTag,createJSDocParameterTag:createJSDocParameterTag,updateJSDocParameterTag:updateJSDocParameterTag,createJSDocPropertyTag:createJSDocPropertyTag,updateJSDocPropertyTag:updateJSDocPropertyTag,createJSDocCallbackTag:createJSDocCallbackTag,updateJSDocCallbackTag:updateJSDocCallbackTag,createJSDocAugmentsTag:createJSDocAugmentsTag,updateJSDocAugmentsTag:updateJSDocAugmentsTag,createJSDocImplementsTag:createJSDocImplementsTag,updateJSDocImplementsTag:updateJSDocImplementsTag,createJSDocSeeTag:createJSDocSeeTag,updateJSDocSeeTag:updateJSDocSeeTag,createJSDocNameReference:createJSDocNameReference,updateJSDocNameReference:updateJSDocNameReference,createJSDocMemberName:createJSDocMemberName,updateJSDocMemberName:updateJSDocMemberName,createJSDocLink:createJSDocLink,updateJSDocLink:updateJSDocLink,createJSDocLinkCode:createJSDocLinkCode,updateJSDocLinkCode:updateJSDocLinkCode,createJSDocLinkPlain:createJSDocLinkPlain,updateJSDocLinkPlain:updateJSDocLinkPlain,get createJSDocTypeTag(){return Ne(341)},get updateJSDocTypeTag(){return Me(341)},get createJSDocReturnTag(){return Ne(339)},get updateJSDocReturnTag(){return Me(339)},get createJSDocThisTag(){return Ne(340)},get updateJSDocThisTag(){return Me(340)},get createJSDocEnumTag(){return Ne(337)},get updateJSDocEnumTag(){return Me(337)},get createJSDocAuthorTag(){return we(328)},get updateJSDocAuthorTag(){return Ie(328)},get createJSDocClassTag(){return we(330)},get updateJSDocClassTag(){return Ie(330)},get createJSDocPublicTag(){return we(331)},get updateJSDocPublicTag(){return Ie(331)},get createJSDocPrivateTag(){return we(332)},get updateJSDocPrivateTag(){return Ie(332)},get createJSDocProtectedTag(){return we(333)},get updateJSDocProtectedTag(){return Ie(333)},get createJSDocReadonlyTag(){return we(334)},get updateJSDocReadonlyTag(){return Ie(334)},get createJSDocOverrideTag(){return we(335)},get updateJSDocOverrideTag(){return Ie(335)},get createJSDocDeprecatedTag(){return we(329)},get updateJSDocDeprecatedTag(){return Ie(329)},createJSDocUnknownTag:createJSDocUnknownTag,updateJSDocUnknownTag:updateJSDocUnknownTag,createJSDocText:createJSDocText,updateJSDocText:updateJSDocText,createJSDocComment:createJSDocComment,updateJSDocComment:updateJSDocComment,createJsxElement:createJsxElement,updateJsxElement:updateJsxElement,createJsxSelfClosingElement:createJsxSelfClosingElement,updateJsxSelfClosingElement:updateJsxSelfClosingElement,createJsxOpeningElement:createJsxOpeningElement,updateJsxOpeningElement:updateJsxOpeningElement,createJsxClosingElement:createJsxClosingElement,updateJsxClosingElement:updateJsxClosingElement,createJsxFragment:createJsxFragment,createJsxText:createJsxText,updateJsxText:updateJsxText,createJsxOpeningFragment:createJsxOpeningFragment,createJsxJsxClosingFragment:createJsxJsxClosingFragment,updateJsxFragment:updateJsxFragment,createJsxAttribute:createJsxAttribute,updateJsxAttribute:updateJsxAttribute,createJsxAttributes:createJsxAttributes,updateJsxAttributes:updateJsxAttributes,createJsxSpreadAttribute:createJsxSpreadAttribute,updateJsxSpreadAttribute:updateJsxSpreadAttribute,createJsxExpression:createJsxExpression,updateJsxExpression:updateJsxExpression,createCaseClause:createCaseClause,updateCaseClause:updateCaseClause,createDefaultClause:createDefaultClause,updateDefaultClause:updateDefaultClause,createHeritageClause:createHeritageClause,updateHeritageClause:updateHeritageClause,createCatchClause:createCatchClause,updateCatchClause:updateCatchClause,createPropertyAssignment:createPropertyAssignment,updatePropertyAssignment:updatePropertyAssignment,createShorthandPropertyAssignment:createShorthandPropertyAssignment,updateShorthandPropertyAssignment:updateShorthandPropertyAssignment,createSpreadAssignment:createSpreadAssignment,updateSpreadAssignment:updateSpreadAssignment,createEnumMember:createEnumMember,updateEnumMember:updateEnumMember,createSourceFile:createSourceFile,updateSourceFile:updateSourceFile,createBundle:createBundle,updateBundle:updateBundle,createUnparsedSource:createUnparsedSource,createUnparsedPrologue:createUnparsedPrologue,createUnparsedPrepend:createUnparsedPrepend,createUnparsedTextLike:createUnparsedTextLike,createUnparsedSyntheticReference:createUnparsedSyntheticReference,createInputFiles:createInputFiles,createSyntheticExpression:createSyntheticExpression,createSyntaxList:createSyntaxList,createNotEmittedStatement:createNotEmittedStatement,createPartiallyEmittedExpression:createPartiallyEmittedExpression,updatePartiallyEmittedExpression:updatePartiallyEmittedExpression,createCommaListExpression:createCommaListExpression,updateCommaListExpression:updateCommaListExpression,createEndOfDeclarationMarker:createEndOfDeclarationMarker,createMergeDeclarationMarker:createMergeDeclarationMarker,createSyntheticReferenceExpression:createSyntheticReferenceExpression,updateSyntheticReferenceExpression:updateSyntheticReferenceExpression,cloneNode:cloneNode,get createComma(){return ae(27)},get createAssignment(){return ae(63)},get createLogicalOr(){return ae(56)},get createLogicalAnd(){return ae(55)},get createBitwiseOr(){return ae(51)},get createBitwiseXor(){return ae(52)},get createBitwiseAnd(){return ae(50)},get createStrictEquality(){return ae(36)},get createStrictInequality(){return ae(37)},get createEquality(){return ae(34)},get createInequality(){return ae(35)},get createLessThan(){return ae(29)},get createLessThanEquals(){return ae(32)},get createGreaterThan(){return ae(31)},get createGreaterThanEquals(){return ae(33)},get createLeftShift(){return ae(47)},get createRightShift(){return ae(48)},get createUnsignedRightShift(){return ae(49)},get createAdd(){return ae(39)},get createSubtract(){return ae(40)},get createMultiply(){return ae(41)},get createDivide(){return ae(43)},get createModulo(){return ae(44)},get createExponent(){return ae(42)},get createPrefixPlus(){return ce(39)},get createPrefixMinus(){return ce(40)},get createPrefixIncrement(){return ce(45)},get createPrefixDecrement(){return ce(46)},get createBitwiseNot(){return ce(54)},get createLogicalNot(){return ce(53)},get createPostfixIncrement(){return le(45)},get createPostfixDecrement(){return le(46)},createImmediatelyInvokedFunctionExpression:createImmediatelyInvokedFunctionExpression,createImmediatelyInvokedArrowFunction:createImmediatelyInvokedArrowFunction,createVoidZero:createVoidZero,createExportDefault:createExportDefault,createExternalModuleExport:createExternalModuleExport,createTypeCheck:createTypeCheck,createMethodCall:createMethodCall,createGlobalMethodCall:createGlobalMethodCall,createFunctionBindCall:createFunctionBindCall,createFunctionCallCall:createFunctionCallCall,createFunctionApplyCall:createFunctionApplyCall,createArraySliceCall:createArraySliceCall,createArrayConcatCall:createArrayConcatCall,createObjectDefinePropertyCall:createObjectDefinePropertyCall,createReflectGetCall:createReflectGetCall,createReflectSetCall:createReflectSetCall,createPropertyDescriptor:createPropertyDescriptor,createCallBinding:createCallBinding,createAssignmentTargetWrapper:createAssignmentTargetWrapper,inlineExpressions:inlineExpressions,getInternalName:getInternalName,getLocalName:getLocalName,getExportName:getExportName,getDeclarationName:getDeclarationName,getNamespaceMemberName:getNamespaceMemberName,getExternalModuleOrNamespaceExportName:getExternalModuleOrNamespaceExportName,restoreOuterExpressions:restoreOuterExpressions,restoreEnclosingLabel:restoreEnclosingLabel,createUseStrictPrologue:createUseStrictPrologue,copyPrologue:copyPrologue,copyStandardPrologue:copyStandardPrologue,copyCustomPrologue:copyCustomPrologue,ensureUseStrict:ensureUseStrict,liftToBlock:liftToBlock,mergeLexicalEnvironment:mergeLexicalEnvironment,updateModifiers:updateModifiers};return Le;function createNodeArray(N,R){if(N===undefined||N===E.emptyArray){N=[]}else if(E.isNodeArray(N)){if(R===undefined||N.hasTrailingComma===R){if(N.transformFlags===undefined){aggregateChildrenFlags(N)}E.Debug.attachNodeArrayDebugInfo(N);return N}var j=N.slice();j.pos=N.pos;j.end=N.end;j.hasTrailingComma=R;j.transformFlags=N.transformFlags;E.Debug.attachNodeArrayDebugInfo(j);return j}var $=N.length;var q=$>=1&&$<=4?N.slice():N;E.setTextRangePosEnd(q,-1,-1);q.hasTrailingComma=!!R;aggregateChildrenFlags(q);E.Debug.attachNodeArrayDebugInfo(q);return q}function createBaseNode(E){return $.createBaseNode(E)}function createBaseDeclaration(E,N,R){var j=createBaseNode(E);j.decorators=asNodeArray(N);j.modifiers=asNodeArray(R);j.transformFlags|=propagateChildrenFlags(j.decorators)|propagateChildrenFlags(j.modifiers);j.symbol=undefined;j.localSymbol=undefined;j.locals=undefined;j.nextContainer=undefined;return j}function createBaseNamedDeclaration(N,R,j,$){var q=createBaseDeclaration(N,R,j);$=asName($);q.name=$;if($){switch(q.kind){case 168:case 171:case 172:case 166:case 294:if(E.isIdentifier($)){q.transformFlags|=propagateIdentifierNameFlags($);break}default:q.transformFlags|=propagateChildFlags($);break}}return q}function createBaseGenericNamedDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.typeParameters=asNodeArray($);q.transformFlags|=propagateChildrenFlags(q.typeParameters);if($)q.transformFlags|=1;return q}function createBaseSignatureDeclaration(E,N,R,j,$,q,G){var ie=createBaseGenericNamedDeclaration(E,N,R,j,$);ie.parameters=createNodeArray(q);ie.type=G;ie.transformFlags|=propagateChildrenFlags(ie.parameters)|propagateChildFlags(ie.type);if(G)ie.transformFlags|=1;return ie}function updateBaseSignatureDeclaration(E,N){if(N.typeArguments)E.typeArguments=N.typeArguments;return q(E,N)}function createBaseFunctionLikeDeclaration(E,N,R,j,$,q,G,ie){var ae=createBaseSignatureDeclaration(E,N,R,j,$,q,G);ae.body=ie;ae.transformFlags|=propagateChildFlags(ae.body)&~16777216;if(!ie)ae.transformFlags|=1;return ae}function updateBaseFunctionLikeDeclaration(E,N){if(N.exclamationToken)E.exclamationToken=N.exclamationToken;if(N.typeArguments)E.typeArguments=N.typeArguments;return updateBaseSignatureDeclaration(E,N)}function createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q){var G=createBaseGenericNamedDeclaration(E,N,R,j,$);G.heritageClauses=asNodeArray(q);G.transformFlags|=propagateChildrenFlags(G.heritageClauses);return G}function createBaseClassLikeDeclaration(E,N,R,j,$,q,G){var ie=createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q);ie.members=createNodeArray(G);ie.transformFlags|=propagateChildrenFlags(ie.members);return ie}function createBaseBindingLikeDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.initializer=$;q.transformFlags|=propagateChildFlags(q.initializer);return q}function createBaseVariableLikeDeclaration(E,N,R,j,$,q){var G=createBaseBindingLikeDeclaration(E,N,R,j,q);G.type=$;G.transformFlags|=propagateChildFlags($);if($)G.transformFlags|=1;return G}function createBaseLiteral(E,N){var R=createBaseToken(E);R.text=N;return R}function createNumericLiteral(E,N){if(N===void 0){N=0}var R=createBaseLiteral(8,typeof E==="number"?E+"":E);R.numericLiteralFlags=N;if(N&384)R.transformFlags|=1024;return R}function createBigIntLiteral(N){var R=createBaseLiteral(9,typeof N==="string"?N:E.pseudoBigIntToString(N)+"n");R.transformFlags|=4;return R}function createBaseStringLiteral(E,N){var R=createBaseLiteral(10,E);R.singleQuote=N;return R}function createStringLiteral(E,N,R){var j=createBaseStringLiteral(E,N);j.hasExtendedUnicodeEscape=R;if(R)j.transformFlags|=1024;return j}function createStringLiteralFromNode(N){var R=createBaseStringLiteral(E.getTextOfIdentifierOrLiteral(N),undefined);R.textSourceNode=N;return R}function createRegularExpressionLiteral(E){var N=createBaseLiteral(13,E);return N}function createLiteralLikeNode(E,N){switch(E){case 8:return createNumericLiteral(N,0);case 9:return createBigIntLiteral(N);case 10:return createStringLiteral(N,undefined);case 11:return createJsxText(N,false);case 12:return createJsxText(N,true);case 13:return createRegularExpressionLiteral(N);case 14:return createTemplateLiteralLikeNode(E,N,undefined,0)}}function createBaseIdentifier(N,R){if(R===undefined&&N){R=E.stringToToken(N)}if(R===79){R=undefined}var j=$.createBaseIdentifierNode(79);j.originalKeywordKind=R;j.escapedText=E.escapeLeadingUnderscores(N);return j}function createBaseGeneratedIdentifier(E,R){var j=createBaseIdentifier(E,undefined);j.autoGenerateFlags=R;j.autoGenerateId=N;N++;return j}function createIdentifier(E,N,R){var j=createBaseIdentifier(E,R);if(N){j.typeArguments=createNodeArray(N)}if(j.originalKeywordKind===132){j.transformFlags|=16777216}return j}function updateIdentifier(N,R){return N.typeArguments!==R?q(createIdentifier(E.idText(N),R),N):N}function createTempVariable(E,N){var R=1;if(N)R|=8;var j=createBaseGeneratedIdentifier("",R);if(E){E(j)}return j}function createLoopVariable(E){var N=2;if(E)N|=8;return createBaseGeneratedIdentifier("",N)}function createUniqueName(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");E.Debug.assert((R&(16|32))!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic");return createBaseGeneratedIdentifier(N,3|R)}function getGeneratedNameForNode(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");var j=createBaseGeneratedIdentifier(N&&E.isIdentifier(N)?E.idText(N):"",4|R);j.original=N;return j}function createPrivateIdentifier(N){if(!E.startsWith(N,"#"))E.Debug.fail("First character of private identifier must be #: "+N);var R=$.createBasePrivateIdentifierNode(80);R.escapedText=E.escapeLeadingUnderscores(N);R.transformFlags|=8388608;return R}function createBaseToken(E){return $.createBaseTokenNode(E)}function createToken(N){E.Debug.assert(N>=0&&N<=159,"Invalid token");E.Debug.assert(N<=14||N>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.");E.Debug.assert(N<=8||N>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals.");E.Debug.assert(N!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var R=createBaseToken(N);var j=0;switch(N){case 131:j=256|128;break;case 123:case 121:case 122:case 144:case 126:case 135:case 85:case 130:case 146:case 157:case 143:case 147:case 158:case 149:case 133:case 150:case 114:case 154:case 152:j=1;break;case 106:j=1024|33554432;break;case 124:j=1024;break;case 108:j=8192;break}if(j){R.transformFlags|=j}return R}function createSuper(){return createToken(106)}function createThis(){return createToken(108)}function createNull(){return createToken(104)}function createTrue(){return createToken(110)}function createFalse(){return createToken(95)}function createModifier(E){return createToken(E)}function createModifiersFromModifierFlags(E){var N=[];if(E&1)N.push(createModifier(93));if(E&2)N.push(createModifier(135));if(E&512)N.push(createModifier(88));if(E&2048)N.push(createModifier(85));if(E&4)N.push(createModifier(123));if(E&8)N.push(createModifier(121));if(E&16)N.push(createModifier(122));if(E&128)N.push(createModifier(126));if(E&32)N.push(createModifier(124));if(E&16384)N.push(createModifier(158));if(E&64)N.push(createModifier(144));if(E&256)N.push(createModifier(131));return N.length?N:undefined}function createQualifiedName(E,N){var R=createBaseNode(160);R.left=E;R.right=asName(N);R.transformFlags|=propagateChildFlags(R.left)|propagateIdentifierNameFlags(R.right);return R}function updateQualifiedName(E,N,R){return E.left!==N||E.right!==R?q(createQualifiedName(N,R),E):E}function createComputedPropertyName(E){var N=createBaseNode(161);N.expression=G().parenthesizeExpressionOfComputedPropertyName(E);N.transformFlags|=propagateChildFlags(N.expression)|1024|65536;return N}function updateComputedPropertyName(E,N){return E.expression!==N?q(createComputedPropertyName(N),E):E}function createTypeParameterDeclaration(E,N,R){var j=createBaseNamedDeclaration(162,undefined,undefined,E);j.constraint=N;j.default=R;j.transformFlags=1;return j}function updateTypeParameterDeclaration(E,N,R,j){return E.name!==N||E.constraint!==R||E.default!==j?q(createTypeParameterDeclaration(N,R,j),E):E}function createParameterDeclaration(N,R,j,$,q,ie,ae){var ce=createBaseVariableLikeDeclaration(163,N,R,$,ie,ae&&G().parenthesizeExpressionForDisallowedComma(ae));ce.dotDotDotToken=j;ce.questionToken=q;if(E.isThisIdentifier(ce.name)){ce.transformFlags=1}else{ce.transformFlags|=propagateChildFlags(ce.dotDotDotToken)|propagateChildFlags(ce.questionToken);if(q)ce.transformFlags|=1;if(E.modifiersToFlags(ce.modifiers)&16476)ce.transformFlags|=4096;if(ae||j)ce.transformFlags|=1024}return ce}function updateParameterDeclaration(E,N,R,j,$,G,ie,ae){return E.decorators!==N||E.modifiers!==R||E.dotDotDotToken!==j||E.name!==$||E.questionToken!==G||E.type!==ie||E.initializer!==ae?q(createParameterDeclaration(N,R,j,$,G,ie,ae),E):E}function createDecorator(E){var N=createBaseNode(164);N.expression=G().parenthesizeLeftSideOfAccess(E);N.transformFlags|=propagateChildFlags(N.expression)|1|4096;return N}function updateDecorator(E,N){return E.expression!==N?q(createDecorator(N),E):E}function createPropertySignature(E,N,R,j){var $=createBaseNamedDeclaration(165,undefined,E,N);$.type=j;$.questionToken=R;$.transformFlags=1;return $}function updatePropertySignature(E,N,R,j,$){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.type!==$?q(createPropertySignature(N,R,j,$),E):E}function createPropertyDeclaration(N,R,j,$,q,G){var ie=createBaseVariableLikeDeclaration(166,N,R,j,q,G);ie.questionToken=$&&E.isQuestionToken($)?$:undefined;ie.exclamationToken=$&&E.isExclamationToken($)?$:undefined;ie.transformFlags|=propagateChildFlags(ie.questionToken)|propagateChildFlags(ie.exclamationToken)|8388608;if(E.isComputedPropertyName(ie.name)||E.hasStaticModifier(ie)&&ie.initializer){ie.transformFlags|=4096}if($||E.modifiersToFlags(ie.modifiers)&2){ie.transformFlags|=1}return ie}function updatePropertyDeclaration(N,R,j,$,G,ie,ae){return N.decorators!==R||N.modifiers!==j||N.name!==$||N.questionToken!==(G!==undefined&&E.isQuestionToken(G)?G:undefined)||N.exclamationToken!==(G!==undefined&&E.isExclamationToken(G)?G:undefined)||N.type!==ie||N.initializer!==ae?q(createPropertyDeclaration(R,j,$,G,ie,ae),N):N}function createMethodSignature(E,N,R,j,$,q){var G=createBaseSignatureDeclaration(167,undefined,E,N,j,$,q);G.questionToken=R;G.transformFlags=1;return G}function updateMethodSignature(E,N,R,j,$,q,G){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.typeParameters!==$||E.parameters!==q||E.type!==G?updateBaseSignatureDeclaration(createMethodSignature(N,R,j,$,q,G),E):E}function createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce){var le=createBaseFunctionLikeDeclaration(168,N,R,$,G,ie,ae,ce);le.asteriskToken=j;le.questionToken=q;le.transformFlags|=propagateChildFlags(le.asteriskToken)|propagateChildFlags(le.questionToken)|1024;if(q){le.transformFlags|=1}if(E.modifiersToFlags(le.modifiers)&256){if(j){le.transformFlags|=128}else{le.transformFlags|=256}}else if(j){le.transformFlags|=2048}return le}function updateMethodDeclaration(E,N,R,j,$,q,G,ie,ae,ce){return E.decorators!==N||E.modifiers!==R||E.asteriskToken!==j||E.name!==$||E.questionToken!==q||E.typeParameters!==G||E.parameters!==ie||E.type!==ae||E.body!==ce?updateBaseFunctionLikeDeclaration(createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce),E):E}function createClassStaticBlockDeclaration(E,N,R){var j=createBaseGenericNamedDeclaration(169,E,N,undefined,undefined);j.body=R;j.transformFlags=propagateChildFlags(R)|8388608;return j}function updateClassStaticBlockDeclaration(E,N,R,j){return E.decorators!==N||E.modifier!==R||E.body!==j?q(createClassStaticBlockDeclaration(N,R,j),E):E}function createConstructorDeclaration(E,N,R,j){var $=createBaseFunctionLikeDeclaration(170,E,N,undefined,undefined,R,undefined,j);$.transformFlags|=1024;return $}function updateConstructorDeclaration(E,N,R,j,$){return E.decorators!==N||E.modifiers!==R||E.parameters!==j||E.body!==$?updateBaseFunctionLikeDeclaration(createConstructorDeclaration(N,R,j,$),E):E}function createGetAccessorDeclaration(E,N,R,j,$,q){return createBaseFunctionLikeDeclaration(171,E,N,R,undefined,j,$,q)}function updateGetAccessorDeclaration(E,N,R,j,$,q,G){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.type!==q||E.body!==G?updateBaseFunctionLikeDeclaration(createGetAccessorDeclaration(N,R,j,$,q,G),E):E}function createSetAccessorDeclaration(E,N,R,j,$){return createBaseFunctionLikeDeclaration(172,E,N,R,undefined,j,undefined,$)}function updateSetAccessorDeclaration(E,N,R,j,$,q){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.body!==q?updateBaseFunctionLikeDeclaration(createSetAccessorDeclaration(N,R,j,$,q),E):E}function createCallSignature(E,N,R){var j=createBaseSignatureDeclaration(173,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateCallSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createCallSignature(N,R,j),E):E}function createConstructSignature(E,N,R){var j=createBaseSignatureDeclaration(174,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateConstructSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createConstructSignature(N,R,j),E):E}function createIndexSignature(E,N,R,j){var $=createBaseSignatureDeclaration(175,E,N,undefined,undefined,R,j);$.transformFlags=1;return $}function updateIndexSignature(E,N,R,j,$){return E.parameters!==j||E.type!==$||E.decorators!==N||E.modifiers!==R?updateBaseSignatureDeclaration(createIndexSignature(N,R,j,$),E):E}function createTemplateLiteralTypeSpan(E,N){var R=createBaseNode(198);R.type=E;R.literal=N;R.transformFlags=1;return R}function updateTemplateLiteralTypeSpan(E,N,R){return E.type!==N||E.literal!==R?q(createTemplateLiteralTypeSpan(N,R),E):E}function createKeywordTypeNode(E){return createToken(E)}function createTypePredicateNode(E,N,R){var j=createBaseNode(176);j.assertsModifier=E;j.parameterName=asName(N);j.type=R;j.transformFlags=1;return j}function updateTypePredicateNode(E,N,R,j){return E.assertsModifier!==N||E.parameterName!==R||E.type!==j?q(createTypePredicateNode(N,R,j),E):E}function createTypeReferenceNode(E,N){var R=createBaseNode(177);R.typeName=asName(E);R.typeArguments=N&&G().parenthesizeTypeArguments(createNodeArray(N));R.transformFlags=1;return R}function updateTypeReferenceNode(E,N,R){return E.typeName!==N||E.typeArguments!==R?q(createTypeReferenceNode(N,R),E):E}function createFunctionTypeNode(E,N,R){var j=createBaseSignatureDeclaration(178,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateFunctionTypeNode(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createFunctionTypeNode(N,R,j),E):E}function createConstructorTypeNode(){var N=[];for(var R=0;R0;default:return true}}function createCallBinding(N,R,j,$){if($===void 0){$=false}var q=E.skipOuterExpressions(N,15);var ie;var ae;if(E.isSuperProperty(q)){ie=createThis();ae=q}else if(E.isSuperKeyword(q)){ie=createThis();ae=j!==undefined&&j<2?E.setTextRange(createIdentifier("_super"),q):q}else if(E.getEmitFlags(q)&4096){ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(q)}else if(E.isPropertyAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createPropertyAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.name);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else if(E.isElementAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createElementAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.argumentExpression);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else{ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(N)}return{target:ae,thisArg:ie}}function createAssignmentTargetWrapper(E,N){return createPropertyAccessExpression(createParenthesizedExpression(createObjectLiteralExpression([createSetAccessorDeclaration(undefined,undefined,"value",[createParameterDeclaration(undefined,undefined,undefined,E,undefined,undefined,undefined)],createBlock([createExpressionStatement(N)]))])),"value")}function inlineExpressions(N){return N.length>10?createCommaListExpression(N):E.reduceLeft(N,Le.createComma)}function getName(N,R,j,$){if($===void 0){$=0}var q=E.getNameOfDeclaration(N);if(q&&E.isIdentifier(q)&&!E.isGeneratedIdentifier(q)){var G=E.setParent(E.setTextRange(cloneNode(q),q),q.parent);$|=E.getEmitFlags(q);if(!j)$|=48;if(!R)$|=1536;if($)E.setEmitFlags(G,$);return G}return getGeneratedNameForNode(N)}function getInternalName(E,N,R){return getName(E,N,R,16384|32768)}function getLocalName(E,N,R){return getName(E,N,R,16384)}function getExportName(E,N,R){return getName(E,N,R,8192)}function getDeclarationName(E,N,R){return getName(E,N,R)}function getNamespaceMemberName(N,R,j,$){var q=createPropertyAccessExpression(N,E.nodeIsSynthesized(R)?R:cloneNode(R));E.setTextRange(q,R);var G=0;if(!$)G|=48;if(!j)G|=1536;if(G)E.setEmitFlags(q,G);return q}function getExternalModuleOrNamespaceExportName(N,R,j,$){if(N&&E.hasSyntacticModifier(R,1)){return getNamespaceMemberName(N,getName(R),j,$)}return getExportName(R,j,$)}function copyPrologue(E,N,R,j){var $=copyStandardPrologue(E,N,0,R);return copyCustomPrologue(E,N,$,j)}function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function createUseStrictPrologue(){return E.startOnNewLine(createExpressionStatement(createStringLiteral("use strict")))}function copyStandardPrologue(N,R,j,$){if(j===void 0){j=0}E.Debug.assert(R.length===0,"Prologue directives should be at the first statement in the target statements array");var q=false;var G=N.length;while(jce){_e.splice.apply(_e,j([G,0],R.slice(ce,le),false))}if(ce>ae){_e.splice.apply(_e,j([q,0],R.slice(ae,ce),false))}if(ae>ie){_e.splice.apply(_e,j([$,0],R.slice(ie,ae),false))}if(ie>0){if($===0){_e.splice.apply(_e,j([0,0],R.slice(0,ie),false))}else{var Te=new E.Map;for(var Ee=0;Ee<$;Ee++){var we=N[Ee];Te.set(we.expression.text,true)}for(var Ee=ie-1;Ee>=0;Ee--){var Ie=R[Ee];if(!Te.has(Ie.expression.text)){_e.unshift(Ie)}}}}if(E.isNodeArray(N)){return E.setTextRange(createNodeArray(_e,N.hasTrailingComma),N)}return N}function updateModifiers(N,R){var j;var $;if(typeof R==="number"){$=createModifiersFromModifierFlags(R)}else{$=R}return E.isParameter(N)?updateParameterDeclaration(N,N.decorators,$,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):E.isPropertySignature(N)?updatePropertySignature(N,$,N.name,N.questionToken,N.type):E.isPropertyDeclaration(N)?updatePropertyDeclaration(N,N.decorators,$,N.name,(j=N.questionToken)!==null&&j!==void 0?j:N.exclamationToken,N.type,N.initializer):E.isMethodSignature(N)?updateMethodSignature(N,$,N.name,N.questionToken,N.typeParameters,N.parameters,N.type):E.isMethodDeclaration(N)?updateMethodDeclaration(N,N.decorators,$,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):E.isConstructorDeclaration(N)?updateConstructorDeclaration(N,N.decorators,$,N.parameters,N.body):E.isGetAccessorDeclaration(N)?updateGetAccessorDeclaration(N,N.decorators,$,N.name,N.parameters,N.type,N.body):E.isSetAccessorDeclaration(N)?updateSetAccessorDeclaration(N,N.decorators,$,N.name,N.parameters,N.body):E.isIndexSignatureDeclaration(N)?updateIndexSignature(N,N.decorators,$,N.parameters,N.type):E.isFunctionExpression(N)?updateFunctionExpression(N,$,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isArrowFunction(N)?updateArrowFunction(N,$,N.typeParameters,N.parameters,N.type,N.equalsGreaterThanToken,N.body):E.isClassExpression(N)?updateClassExpression(N,N.decorators,$,N.name,N.typeParameters,N.heritageClauses,N.members):E.isVariableStatement(N)?updateVariableStatement(N,$,N.declarationList):E.isFunctionDeclaration(N)?updateFunctionDeclaration(N,N.decorators,$,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isClassDeclaration(N)?updateClassDeclaration(N,N.decorators,$,N.name,N.typeParameters,N.heritageClauses,N.members):E.isInterfaceDeclaration(N)?updateInterfaceDeclaration(N,N.decorators,$,N.name,N.typeParameters,N.heritageClauses,N.members):E.isTypeAliasDeclaration(N)?updateTypeAliasDeclaration(N,N.decorators,$,N.name,N.typeParameters,N.type):E.isEnumDeclaration(N)?updateEnumDeclaration(N,N.decorators,$,N.name,N.members):E.isModuleDeclaration(N)?updateModuleDeclaration(N,N.decorators,$,N.name,N.body):E.isImportEqualsDeclaration(N)?updateImportEqualsDeclaration(N,N.decorators,$,N.isTypeOnly,N.name,N.moduleReference):E.isImportDeclaration(N)?updateImportDeclaration(N,N.decorators,$,N.importClause,N.moduleSpecifier,N.assertClause):E.isExportAssignment(N)?updateExportAssignment(N,N.decorators,$,N.expression):E.isExportDeclaration(N)?updateExportDeclaration(N,N.decorators,$,N.isTypeOnly,N.exportClause,N.moduleSpecifier,N.assertClause):E.Debug.assertNever(N)}function asNodeArray(E){return E?createNodeArray(E):undefined}function asName(E){return typeof E==="string"?createIdentifier(E):E}function asExpression(E){return typeof E==="string"?createStringLiteral(E):typeof E==="number"?createNumericLiteral(E):typeof E==="boolean"?E?createTrue():createFalse():E}function asToken(E){return typeof E==="number"?createToken(E):E}function asEmbeddedStatement(N){return N&&E.isNotEmittedStatement(N)?E.setTextRange(setOriginalNode(createEmptyStatement(),N),N):N}}E.createNodeFactory=createNodeFactory;function updateWithoutOriginal(N,R){if(N!==R){E.setTextRange(N,R)}return N}function updateWithOriginal(N,R){if(N!==R){setOriginalNode(N,R);E.setTextRange(N,R)}return N}function getDefaultTagNameForKind(N){switch(N){case 341:return"type";case 339:return"returns";case 340:return"this";case 337:return"enum";case 328:return"author";case 330:return"class";case 331:return"public";case 332:return"private";case 333:return"protected";case 334:return"readonly";case 335:return"override";case 342:return"template";case 343:return"typedef";case 338:return"param";case 345:return"prop";case 336:return"callback";case 326:return"augments";case 327:return"implements";default:return E.Debug.fail("Unsupported kind: ".concat(E.Debug.formatSyntaxKind(N)))}}var $;var q={};function getCookedText(N,R){if(!$){$=E.createScanner(99,false,0)}switch(N){case 14:$.setText("`"+R+"`");break;case 15:$.setText("`"+R+"${");break;case 16:$.setText("}"+R+"${");break;case 17:$.setText("}"+R+"`");break}var j=$.scan();if(j===19){j=$.reScanTemplateToken(false)}if($.isUnterminated()){$.setText(undefined);return q}var G;switch(j){case 14:case 15:case 16:case 17:G=$.getTokenValue();break}if(G===undefined||$.scan()!==1){$.setText(undefined);return q}$.setText(undefined);return G}function propagateIdentifierNameFlags(E){return propagateChildFlags(E)&~16777216}function propagatePropertyNameFlagsOfChild(E,N){return N|E.transformFlags&33562624}function propagateChildFlags(N){if(!N)return 0;var R=N.transformFlags&~getTransformFlagsSubtreeExclusions(N.kind);return E.isNamedDeclaration(N)&&E.isPropertyName(N.name)?propagatePropertyNameFlagsOfChild(N.name,R):R}function propagateChildrenFlags(E){return E?E.transformFlags:0}function aggregateChildrenFlags(E){var N=0;for(var R=0,j=E;R=176&&E<=199){return-2}switch(E){case 207:case 208:case 203:return 536887296;case 260:return 589443072;case 163:return 536870912;case 213:return 557748224;case 212:case 255:return 591310848;case 254:return 537165824;case 256:case 225:return 536940544;case 170:return 591306752;case 166:return 570433536;case 168:case 171:case 172:return 574529536;case 130:case 146:case 157:case 143:case 149:case 147:case 133:case 150:case 114:case 162:case 165:case 167:case 173:case 174:case 175:case 257:case 258:return-2;case 204:return 536973312;case 291:return 536903680;case 200:case 201:return 536887296;case 210:case 228:case 348:case 211:case 106:return 536870912;case 205:case 206:return 536870912;default:return 536870912}}E.getTransformFlagsSubtreeExclusions=getTransformFlagsSubtreeExclusions;var G=E.createBaseNodeFactory();function makeSynthetic(E){E.flags|=8;return E}var ie={createBaseSourceFileNode:function(E){return makeSynthetic(G.createBaseSourceFileNode(E))},createBaseIdentifierNode:function(E){return makeSynthetic(G.createBaseIdentifierNode(E))},createBasePrivateIdentifierNode:function(E){return makeSynthetic(G.createBasePrivateIdentifierNode(E))},createBaseTokenNode:function(E){return makeSynthetic(G.createBaseTokenNode(E))},createBaseNode:function(E){return makeSynthetic(G.createBaseNode(E))}};E.factory=createNodeFactory(4,ie);function createUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Te;var Ee;if(!E.isString(N)){E.Debug.assert(R==="js"||R==="dts");G=(R==="js"?N.javascriptPath:N.declarationPath)||"";ce=R==="js"?N.javascriptMapPath:N.declarationMapPath;_e=function(){return R==="js"?N.javascriptText:N.declarationText};Te=function(){return R==="js"?N.javascriptMapText:N.declarationMapText};ae=function(){return _e().length};if(N.buildInfo&&N.buildInfo.bundle){E.Debug.assert(j===undefined||typeof j==="boolean");$=j;q=R==="js"?N.buildInfo.bundle.js:N.buildInfo.bundle.dts;Ee=N.oldFileOfCurrentEmit}}else{G="";ie=N;ae=N.length;ce=R;le=j}var we=Ee?parseOldFileOfCurrentEmit(E.Debug.checkDefined(q)):parseUnparsedSourceFile(q,$,ae);we.fileName=G;we.sourceMapPath=ce;we.oldFileOfCurrentEmit=Ee;if(_e&&Te){Object.defineProperty(we,"text",{get:_e});Object.defineProperty(we,"sourceMapText",{get:Te})}else{E.Debug.assert(!Ee);we.text=ie!==null&&ie!==void 0?ie:"";we.sourceMapText=le}return we}E.createUnparsedSourceFile=createUnparsedSourceFile;function parseUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;for(var Te=0,Ee=N?N.sections:E.emptyArray;Te0){q[ae-ie]=ce}}if(ie>0){q.length-=ie}}E.moveEmitHelpers=moveEmitHelpers;function getSnippetElement(E){var N;return(N=E.emitNode)===null||N===void 0?void 0:N.snippetElement}E.getSnippetElement=getSnippetElement;function setSnippetElement(E,N){var R=getOrCreateEmitNode(E);R.snippetElement=N;return E}E.setSnippetElement=setSnippetElement;function ignoreSourceNewlines(E){getOrCreateEmitNode(E).flags|=134217728;return E}E.ignoreSourceNewlines=ignoreSourceNewlines})(ce||(ce={}));var ce;(function(E){function createEmitHelperFactory(N){var R=N.factory;var $=E.memoize((function(){return E.setEmitFlags(R.createTrue(),268435456)}));var q=E.memoize((function(){return E.setEmitFlags(R.createFalse(),268435456)}));return{getUnscopedHelperName:getUnscopedHelperName,createDecorateHelper:createDecorateHelper,createMetadataHelper:createMetadataHelper,createParamHelper:createParamHelper,createAssignHelper:createAssignHelper,createAwaitHelper:createAwaitHelper,createAsyncGeneratorHelper:createAsyncGeneratorHelper,createAsyncDelegatorHelper:createAsyncDelegatorHelper,createAsyncValuesHelper:createAsyncValuesHelper,createRestHelper:createRestHelper,createAwaiterHelper:createAwaiterHelper,createExtendsHelper:createExtendsHelper,createTemplateObjectHelper:createTemplateObjectHelper,createSpreadArrayHelper:createSpreadArrayHelper,createValuesHelper:createValuesHelper,createReadHelper:createReadHelper,createGeneratorHelper:createGeneratorHelper,createCreateBindingHelper:createCreateBindingHelper,createImportStarHelper:createImportStarHelper,createImportStarCallbackHelper:createImportStarCallbackHelper,createImportDefaultHelper:createImportDefaultHelper,createExportStarHelper:createExportStarHelper,createClassPrivateFieldGetHelper:createClassPrivateFieldGetHelper,createClassPrivateFieldSetHelper:createClassPrivateFieldSetHelper,createClassPrivateFieldInHelper:createClassPrivateFieldInHelper};function getUnscopedHelperName(N){return E.setEmitFlags(R.createIdentifier(N),4096|2)}function createDecorateHelper(j,$,q,G){N.requestEmitHelper(E.decorateHelper);var ie=[];ie.push(R.createArrayLiteralExpression(j,true));ie.push($);if(q){ie.push(q);if(G){ie.push(G)}}return R.createCallExpression(getUnscopedHelperName("__decorate"),undefined,ie)}function createMetadataHelper(j,$){N.requestEmitHelper(E.metadataHelper);return R.createCallExpression(getUnscopedHelperName("__metadata"),undefined,[R.createStringLiteral(j),$])}function createParamHelper(j,$,q){N.requestEmitHelper(E.paramHelper);return E.setTextRange(R.createCallExpression(getUnscopedHelperName("__param"),undefined,[R.createNumericLiteral($+""),j]),q)}function createAssignHelper(j){if(E.getEmitScriptTarget(N.getCompilerOptions())>=2){return R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"assign"),undefined,j)}N.requestEmitHelper(E.assignHelper);return R.createCallExpression(getUnscopedHelperName("__assign"),undefined,j)}function createAwaitHelper(j){N.requestEmitHelper(E.awaitHelper);return R.createCallExpression(getUnscopedHelperName("__await"),undefined,[j])}function createAsyncGeneratorHelper(j,$){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncGeneratorHelper);(j.emitNode||(j.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__asyncGenerator"),undefined,[$?R.createThis():R.createVoidZero(),R.createIdentifier("arguments"),j])}function createAsyncDelegatorHelper(j){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncDelegator);return R.createCallExpression(getUnscopedHelperName("__asyncDelegator"),undefined,[j])}function createAsyncValuesHelper(j){N.requestEmitHelper(E.asyncValues);return R.createCallExpression(getUnscopedHelperName("__asyncValues"),undefined,[j])}function createRestHelper(j,$,q,G){N.requestEmitHelper(E.restHelper);var ie=[];var ae=0;for(var ce=0;ce<$.length-1;ce++){var le=E.getPropertyNameOfBindingOrAssignmentElement($[ce]);if(le){if(E.isComputedPropertyName(le)){E.Debug.assertIsDefined(q,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var _e=q[ae];ae++;ie.push(R.createConditionalExpression(R.createTypeCheck(_e,"symbol"),undefined,_e,undefined,R.createAdd(_e,R.createStringLiteral(""))))}else{ie.push(R.createStringLiteralFromNode(le))}}}return R.createCallExpression(getUnscopedHelperName("__rest"),undefined,[j,E.setTextRange(R.createArrayLiteralExpression(ie),G)])}function createAwaiterHelper(j,$,q,G){N.requestEmitHelper(E.awaiterHelper);var ie=R.createFunctionExpression(undefined,R.createToken(41),undefined,undefined,[],undefined,G);(ie.emitNode||(ie.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__awaiter"),undefined,[j?R.createThis():R.createVoidZero(),$?R.createIdentifier("arguments"):R.createVoidZero(),q?E.createExpressionFromEntityName(R,q):R.createVoidZero(),ie])}function createExtendsHelper(j){N.requestEmitHelper(E.extendsHelper);return R.createCallExpression(getUnscopedHelperName("__extends"),undefined,[j,R.createUniqueName("_super",16|32)])}function createTemplateObjectHelper(j,$){N.requestEmitHelper(E.templateObjectHelper);return R.createCallExpression(getUnscopedHelperName("__makeTemplateObject"),undefined,[j,$])}function createSpreadArrayHelper(j,G,ie){N.requestEmitHelper(E.spreadArrayHelper);return R.createCallExpression(getUnscopedHelperName("__spreadArray"),undefined,[j,G,ie?$():q()])}function createValuesHelper(j){N.requestEmitHelper(E.valuesHelper);return R.createCallExpression(getUnscopedHelperName("__values"),undefined,[j])}function createReadHelper(j,$){N.requestEmitHelper(E.readHelper);return R.createCallExpression(getUnscopedHelperName("__read"),undefined,$!==undefined?[j,R.createNumericLiteral($+"")]:[j])}function createGeneratorHelper(j){N.requestEmitHelper(E.generatorHelper);return R.createCallExpression(getUnscopedHelperName("__generator"),undefined,[R.createThis(),j])}function createCreateBindingHelper($,q,G){N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__createBinding"),undefined,j([R.createIdentifier("exports"),$,q],G?[G]:[],true))}function createImportStarHelper(j){N.requestEmitHelper(E.importStarHelper);return R.createCallExpression(getUnscopedHelperName("__importStar"),undefined,[j])}function createImportStarCallbackHelper(){N.requestEmitHelper(E.importStarHelper);return getUnscopedHelperName("__importStar")}function createImportDefaultHelper(j){N.requestEmitHelper(E.importDefaultHelper);return R.createCallExpression(getUnscopedHelperName("__importDefault"),undefined,[j])}function createExportStarHelper(j,$){if($===void 0){$=R.createIdentifier("exports")}N.requestEmitHelper(E.exportStarHelper);N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__exportStar"),undefined,[j,$])}function createClassPrivateFieldGetHelper(j,$,q,G){N.requestEmitHelper(E.classPrivateFieldGetHelper);var ie;if(!G){ie=[j,$,R.createStringLiteral(q)]}else{ie=[j,$,R.createStringLiteral(q),G]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldGet"),undefined,ie)}function createClassPrivateFieldSetHelper(j,$,q,G,ie){N.requestEmitHelper(E.classPrivateFieldSetHelper);var ae;if(!ie){ae=[j,$,q,R.createStringLiteral(G)]}else{ae=[j,$,q,R.createStringLiteral(G),ie]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldSet"),undefined,ae)}function createClassPrivateFieldInHelper(j,$){N.requestEmitHelper(E.classPrivateFieldInHelper);return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldIn"),undefined,[j,$])}}E.createEmitHelperFactory=createEmitHelperFactory;function compareEmitHelpers(N,R){if(N===R)return 0;if(N.priority===R.priority)return 0;if(N.priority===undefined)return 1;if(R.priority===undefined)return-1;return E.compareValues(N.priority,R.priority)}E.compareEmitHelpers=compareEmitHelpers;function helperString(E){var N=[];for(var R=1;R= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'};E.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:false,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'};E.paramHelper={name:"typescript:param",importName:"__param",scoped:false,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"};E.assignHelper={name:"typescript:assign",importName:"__assign",scoped:false,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"};E.awaitHelper={name:"typescript:await",importName:"__await",scoped:false,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"};E.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'};E.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'};E.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:false,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'};E.restHelper={name:"typescript:rest",importName:"__rest",scoped:false,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'};E.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:false,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};E.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:false,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'};E.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:false,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'};E.readHelper={name:"typescript:read",importName:"__read",scoped:false,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'};E.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:false,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"};E.valuesHelper={name:"typescript:values",importName:"__values",scoped:false,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'};E.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:false,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'};E.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:false,priority:1,text:'\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));'};E.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:false,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'};E.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:false,dependencies:[E.createBindingHelper,E.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'};E.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:false,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'};E.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:false,dependencies:[E.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'};E.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:false,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'};E.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:false,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'};E.classPrivateFieldInHelper={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:false,text:'\n var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n return typeof state === "function" ? receiver === state : state.has(receiver);\n };'};var N;function getAllUnscopedEmitHelpers(){return N||(N=E.arrayToMap([E.decorateHelper,E.metadataHelper,E.paramHelper,E.assignHelper,E.awaitHelper,E.asyncGeneratorHelper,E.asyncDelegator,E.asyncValues,E.restHelper,E.awaiterHelper,E.extendsHelper,E.templateObjectHelper,E.spreadArrayHelper,E.valuesHelper,E.readHelper,E.generatorHelper,E.importStarHelper,E.importDefaultHelper,E.exportStarHelper,E.classPrivateFieldGetHelper,E.classPrivateFieldSetHelper,E.classPrivateFieldInHelper,E.createBindingHelper,E.setModuleDefaultHelper],(function(E){return E.name})))}E.getAllUnscopedEmitHelpers=getAllUnscopedEmitHelpers;E.asyncSuperHelper={name:"typescript:async-super",scoped:true,text:helperString(q(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")};E.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:true,text:helperString(q(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")};function isCallToHelper(N,R){return E.isCallExpression(N)&&E.isIdentifier(N.expression)&&(E.getEmitFlags(N.expression)&4096)!==0&&N.expression.escapedText===R}E.isCallToHelper=isCallToHelper})(ce||(ce={}));var ce;(function(E){function isNumericLiteral(E){return E.kind===8}E.isNumericLiteral=isNumericLiteral;function isBigIntLiteral(E){return E.kind===9}E.isBigIntLiteral=isBigIntLiteral;function isStringLiteral(E){return E.kind===10}E.isStringLiteral=isStringLiteral;function isJsxText(E){return E.kind===11}E.isJsxText=isJsxText;function isRegularExpressionLiteral(E){return E.kind===13}E.isRegularExpressionLiteral=isRegularExpressionLiteral;function isNoSubstitutionTemplateLiteral(E){return E.kind===14}E.isNoSubstitutionTemplateLiteral=isNoSubstitutionTemplateLiteral;function isTemplateHead(E){return E.kind===15}E.isTemplateHead=isTemplateHead;function isTemplateMiddle(E){return E.kind===16}E.isTemplateMiddle=isTemplateMiddle;function isTemplateTail(E){return E.kind===17}E.isTemplateTail=isTemplateTail;function isDotDotDotToken(E){return E.kind===25}E.isDotDotDotToken=isDotDotDotToken;function isCommaToken(E){return E.kind===27}E.isCommaToken=isCommaToken;function isPlusToken(E){return E.kind===39}E.isPlusToken=isPlusToken;function isMinusToken(E){return E.kind===40}E.isMinusToken=isMinusToken;function isAsteriskToken(E){return E.kind===41}E.isAsteriskToken=isAsteriskToken;function isExclamationToken(E){return E.kind===53}E.isExclamationToken=isExclamationToken;function isQuestionToken(E){return E.kind===57}E.isQuestionToken=isQuestionToken;function isColonToken(E){return E.kind===58}E.isColonToken=isColonToken;function isQuestionDotToken(E){return E.kind===28}E.isQuestionDotToken=isQuestionDotToken;function isEqualsGreaterThanToken(E){return E.kind===38}E.isEqualsGreaterThanToken=isEqualsGreaterThanToken;function isIdentifier(E){return E.kind===79}E.isIdentifier=isIdentifier;function isPrivateIdentifier(E){return E.kind===80}E.isPrivateIdentifier=isPrivateIdentifier;function isExportModifier(E){return E.kind===93}E.isExportModifier=isExportModifier;function isAsyncModifier(E){return E.kind===131}E.isAsyncModifier=isAsyncModifier;function isAssertsKeyword(E){return E.kind===128}E.isAssertsKeyword=isAssertsKeyword;function isAwaitKeyword(E){return E.kind===132}E.isAwaitKeyword=isAwaitKeyword;function isReadonlyKeyword(E){return E.kind===144}E.isReadonlyKeyword=isReadonlyKeyword;function isStaticModifier(E){return E.kind===124}E.isStaticModifier=isStaticModifier;function isAbstractModifier(E){return E.kind===126}E.isAbstractModifier=isAbstractModifier;function isSuperKeyword(E){return E.kind===106}E.isSuperKeyword=isSuperKeyword;function isImportKeyword(E){return E.kind===100}E.isImportKeyword=isImportKeyword;function isQualifiedName(E){return E.kind===160}E.isQualifiedName=isQualifiedName;function isComputedPropertyName(E){return E.kind===161}E.isComputedPropertyName=isComputedPropertyName;function isTypeParameterDeclaration(E){return E.kind===162}E.isTypeParameterDeclaration=isTypeParameterDeclaration;function isParameter(E){return E.kind===163}E.isParameter=isParameter;function isDecorator(E){return E.kind===164}E.isDecorator=isDecorator;function isPropertySignature(E){return E.kind===165}E.isPropertySignature=isPropertySignature;function isPropertyDeclaration(E){return E.kind===166}E.isPropertyDeclaration=isPropertyDeclaration;function isMethodSignature(E){return E.kind===167}E.isMethodSignature=isMethodSignature;function isMethodDeclaration(E){return E.kind===168}E.isMethodDeclaration=isMethodDeclaration;function isClassStaticBlockDeclaration(E){return E.kind===169}E.isClassStaticBlockDeclaration=isClassStaticBlockDeclaration;function isConstructorDeclaration(E){return E.kind===170}E.isConstructorDeclaration=isConstructorDeclaration;function isGetAccessorDeclaration(E){return E.kind===171}E.isGetAccessorDeclaration=isGetAccessorDeclaration;function isSetAccessorDeclaration(E){return E.kind===172}E.isSetAccessorDeclaration=isSetAccessorDeclaration;function isCallSignatureDeclaration(E){return E.kind===173}E.isCallSignatureDeclaration=isCallSignatureDeclaration;function isConstructSignatureDeclaration(E){return E.kind===174}E.isConstructSignatureDeclaration=isConstructSignatureDeclaration;function isIndexSignatureDeclaration(E){return E.kind===175}E.isIndexSignatureDeclaration=isIndexSignatureDeclaration;function isTypePredicateNode(E){return E.kind===176}E.isTypePredicateNode=isTypePredicateNode;function isTypeReferenceNode(E){return E.kind===177}E.isTypeReferenceNode=isTypeReferenceNode;function isFunctionTypeNode(E){return E.kind===178}E.isFunctionTypeNode=isFunctionTypeNode;function isConstructorTypeNode(E){return E.kind===179}E.isConstructorTypeNode=isConstructorTypeNode;function isTypeQueryNode(E){return E.kind===180}E.isTypeQueryNode=isTypeQueryNode;function isTypeLiteralNode(E){return E.kind===181}E.isTypeLiteralNode=isTypeLiteralNode;function isArrayTypeNode(E){return E.kind===182}E.isArrayTypeNode=isArrayTypeNode;function isTupleTypeNode(E){return E.kind===183}E.isTupleTypeNode=isTupleTypeNode;function isNamedTupleMember(E){return E.kind===196}E.isNamedTupleMember=isNamedTupleMember;function isOptionalTypeNode(E){return E.kind===184}E.isOptionalTypeNode=isOptionalTypeNode;function isRestTypeNode(E){return E.kind===185}E.isRestTypeNode=isRestTypeNode;function isUnionTypeNode(E){return E.kind===186}E.isUnionTypeNode=isUnionTypeNode;function isIntersectionTypeNode(E){return E.kind===187}E.isIntersectionTypeNode=isIntersectionTypeNode;function isConditionalTypeNode(E){return E.kind===188}E.isConditionalTypeNode=isConditionalTypeNode;function isInferTypeNode(E){return E.kind===189}E.isInferTypeNode=isInferTypeNode;function isParenthesizedTypeNode(E){return E.kind===190}E.isParenthesizedTypeNode=isParenthesizedTypeNode;function isThisTypeNode(E){return E.kind===191}E.isThisTypeNode=isThisTypeNode;function isTypeOperatorNode(E){return E.kind===192}E.isTypeOperatorNode=isTypeOperatorNode;function isIndexedAccessTypeNode(E){return E.kind===193}E.isIndexedAccessTypeNode=isIndexedAccessTypeNode;function isMappedTypeNode(E){return E.kind===194}E.isMappedTypeNode=isMappedTypeNode;function isLiteralTypeNode(E){return E.kind===195}E.isLiteralTypeNode=isLiteralTypeNode;function isImportTypeNode(E){return E.kind===199}E.isImportTypeNode=isImportTypeNode;function isTemplateLiteralTypeSpan(E){return E.kind===198}E.isTemplateLiteralTypeSpan=isTemplateLiteralTypeSpan;function isTemplateLiteralTypeNode(E){return E.kind===197}E.isTemplateLiteralTypeNode=isTemplateLiteralTypeNode;function isObjectBindingPattern(E){return E.kind===200}E.isObjectBindingPattern=isObjectBindingPattern;function isArrayBindingPattern(E){return E.kind===201}E.isArrayBindingPattern=isArrayBindingPattern;function isBindingElement(E){return E.kind===202}E.isBindingElement=isBindingElement;function isArrayLiteralExpression(E){return E.kind===203}E.isArrayLiteralExpression=isArrayLiteralExpression;function isObjectLiteralExpression(E){return E.kind===204}E.isObjectLiteralExpression=isObjectLiteralExpression;function isPropertyAccessExpression(E){return E.kind===205}E.isPropertyAccessExpression=isPropertyAccessExpression;function isElementAccessExpression(E){return E.kind===206}E.isElementAccessExpression=isElementAccessExpression;function isCallExpression(E){return E.kind===207}E.isCallExpression=isCallExpression;function isNewExpression(E){return E.kind===208}E.isNewExpression=isNewExpression;function isTaggedTemplateExpression(E){return E.kind===209}E.isTaggedTemplateExpression=isTaggedTemplateExpression;function isTypeAssertionExpression(E){return E.kind===210}E.isTypeAssertionExpression=isTypeAssertionExpression;function isParenthesizedExpression(E){return E.kind===211}E.isParenthesizedExpression=isParenthesizedExpression;function isFunctionExpression(E){return E.kind===212}E.isFunctionExpression=isFunctionExpression;function isArrowFunction(E){return E.kind===213}E.isArrowFunction=isArrowFunction;function isDeleteExpression(E){return E.kind===214}E.isDeleteExpression=isDeleteExpression;function isTypeOfExpression(E){return E.kind===215}E.isTypeOfExpression=isTypeOfExpression;function isVoidExpression(E){return E.kind===216}E.isVoidExpression=isVoidExpression;function isAwaitExpression(E){return E.kind===217}E.isAwaitExpression=isAwaitExpression;function isPrefixUnaryExpression(E){return E.kind===218}E.isPrefixUnaryExpression=isPrefixUnaryExpression;function isPostfixUnaryExpression(E){return E.kind===219}E.isPostfixUnaryExpression=isPostfixUnaryExpression;function isBinaryExpression(E){return E.kind===220}E.isBinaryExpression=isBinaryExpression;function isConditionalExpression(E){return E.kind===221}E.isConditionalExpression=isConditionalExpression;function isTemplateExpression(E){return E.kind===222}E.isTemplateExpression=isTemplateExpression;function isYieldExpression(E){return E.kind===223}E.isYieldExpression=isYieldExpression;function isSpreadElement(E){return E.kind===224}E.isSpreadElement=isSpreadElement;function isClassExpression(E){return E.kind===225}E.isClassExpression=isClassExpression;function isOmittedExpression(E){return E.kind===226}E.isOmittedExpression=isOmittedExpression;function isExpressionWithTypeArguments(E){return E.kind===227}E.isExpressionWithTypeArguments=isExpressionWithTypeArguments;function isAsExpression(E){return E.kind===228}E.isAsExpression=isAsExpression;function isNonNullExpression(E){return E.kind===229}E.isNonNullExpression=isNonNullExpression;function isMetaProperty(E){return E.kind===230}E.isMetaProperty=isMetaProperty;function isSyntheticExpression(E){return E.kind===231}E.isSyntheticExpression=isSyntheticExpression;function isPartiallyEmittedExpression(E){return E.kind===348}E.isPartiallyEmittedExpression=isPartiallyEmittedExpression;function isCommaListExpression(E){return E.kind===349}E.isCommaListExpression=isCommaListExpression;function isTemplateSpan(E){return E.kind===232}E.isTemplateSpan=isTemplateSpan;function isSemicolonClassElement(E){return E.kind===233}E.isSemicolonClassElement=isSemicolonClassElement;function isBlock(E){return E.kind===234}E.isBlock=isBlock;function isVariableStatement(E){return E.kind===236}E.isVariableStatement=isVariableStatement;function isEmptyStatement(E){return E.kind===235}E.isEmptyStatement=isEmptyStatement;function isExpressionStatement(E){return E.kind===237}E.isExpressionStatement=isExpressionStatement;function isIfStatement(E){return E.kind===238}E.isIfStatement=isIfStatement;function isDoStatement(E){return E.kind===239}E.isDoStatement=isDoStatement;function isWhileStatement(E){return E.kind===240}E.isWhileStatement=isWhileStatement;function isForStatement(E){return E.kind===241}E.isForStatement=isForStatement;function isForInStatement(E){return E.kind===242}E.isForInStatement=isForInStatement;function isForOfStatement(E){return E.kind===243}E.isForOfStatement=isForOfStatement;function isContinueStatement(E){return E.kind===244}E.isContinueStatement=isContinueStatement;function isBreakStatement(E){return E.kind===245}E.isBreakStatement=isBreakStatement;function isReturnStatement(E){return E.kind===246}E.isReturnStatement=isReturnStatement;function isWithStatement(E){return E.kind===247}E.isWithStatement=isWithStatement;function isSwitchStatement(E){return E.kind===248}E.isSwitchStatement=isSwitchStatement;function isLabeledStatement(E){return E.kind===249}E.isLabeledStatement=isLabeledStatement;function isThrowStatement(E){return E.kind===250}E.isThrowStatement=isThrowStatement;function isTryStatement(E){return E.kind===251}E.isTryStatement=isTryStatement;function isDebuggerStatement(E){return E.kind===252}E.isDebuggerStatement=isDebuggerStatement;function isVariableDeclaration(E){return E.kind===253}E.isVariableDeclaration=isVariableDeclaration;function isVariableDeclarationList(E){return E.kind===254}E.isVariableDeclarationList=isVariableDeclarationList;function isFunctionDeclaration(E){return E.kind===255}E.isFunctionDeclaration=isFunctionDeclaration;function isClassDeclaration(E){return E.kind===256}E.isClassDeclaration=isClassDeclaration;function isInterfaceDeclaration(E){return E.kind===257}E.isInterfaceDeclaration=isInterfaceDeclaration;function isTypeAliasDeclaration(E){return E.kind===258}E.isTypeAliasDeclaration=isTypeAliasDeclaration;function isEnumDeclaration(E){return E.kind===259}E.isEnumDeclaration=isEnumDeclaration;function isModuleDeclaration(E){return E.kind===260}E.isModuleDeclaration=isModuleDeclaration;function isModuleBlock(E){return E.kind===261}E.isModuleBlock=isModuleBlock;function isCaseBlock(E){return E.kind===262}E.isCaseBlock=isCaseBlock;function isNamespaceExportDeclaration(E){return E.kind===263}E.isNamespaceExportDeclaration=isNamespaceExportDeclaration;function isImportEqualsDeclaration(E){return E.kind===264}E.isImportEqualsDeclaration=isImportEqualsDeclaration;function isImportDeclaration(E){return E.kind===265}E.isImportDeclaration=isImportDeclaration;function isImportClause(E){return E.kind===266}E.isImportClause=isImportClause;function isAssertClause(E){return E.kind===292}E.isAssertClause=isAssertClause;function isAssertEntry(E){return E.kind===293}E.isAssertEntry=isAssertEntry;function isNamespaceImport(E){return E.kind===267}E.isNamespaceImport=isNamespaceImport;function isNamespaceExport(E){return E.kind===273}E.isNamespaceExport=isNamespaceExport;function isNamedImports(E){return E.kind===268}E.isNamedImports=isNamedImports;function isImportSpecifier(E){return E.kind===269}E.isImportSpecifier=isImportSpecifier;function isExportAssignment(E){return E.kind===270}E.isExportAssignment=isExportAssignment;function isExportDeclaration(E){return E.kind===271}E.isExportDeclaration=isExportDeclaration;function isNamedExports(E){return E.kind===272}E.isNamedExports=isNamedExports;function isExportSpecifier(E){return E.kind===274}E.isExportSpecifier=isExportSpecifier;function isMissingDeclaration(E){return E.kind===275}E.isMissingDeclaration=isMissingDeclaration;function isNotEmittedStatement(E){return E.kind===347}E.isNotEmittedStatement=isNotEmittedStatement;function isSyntheticReference(E){return E.kind===352}E.isSyntheticReference=isSyntheticReference;function isMergeDeclarationMarker(E){return E.kind===350}E.isMergeDeclarationMarker=isMergeDeclarationMarker;function isEndOfDeclarationMarker(E){return E.kind===351}E.isEndOfDeclarationMarker=isEndOfDeclarationMarker;function isExternalModuleReference(E){return E.kind===276}E.isExternalModuleReference=isExternalModuleReference;function isJsxElement(E){return E.kind===277}E.isJsxElement=isJsxElement;function isJsxSelfClosingElement(E){return E.kind===278}E.isJsxSelfClosingElement=isJsxSelfClosingElement;function isJsxOpeningElement(E){return E.kind===279}E.isJsxOpeningElement=isJsxOpeningElement;function isJsxClosingElement(E){return E.kind===280}E.isJsxClosingElement=isJsxClosingElement;function isJsxFragment(E){return E.kind===281}E.isJsxFragment=isJsxFragment;function isJsxOpeningFragment(E){return E.kind===282}E.isJsxOpeningFragment=isJsxOpeningFragment;function isJsxClosingFragment(E){return E.kind===283}E.isJsxClosingFragment=isJsxClosingFragment;function isJsxAttribute(E){return E.kind===284}E.isJsxAttribute=isJsxAttribute;function isJsxAttributes(E){return E.kind===285}E.isJsxAttributes=isJsxAttributes;function isJsxSpreadAttribute(E){return E.kind===286}E.isJsxSpreadAttribute=isJsxSpreadAttribute;function isJsxExpression(E){return E.kind===287}E.isJsxExpression=isJsxExpression;function isCaseClause(E){return E.kind===288}E.isCaseClause=isCaseClause;function isDefaultClause(E){return E.kind===289}E.isDefaultClause=isDefaultClause;function isHeritageClause(E){return E.kind===290}E.isHeritageClause=isHeritageClause;function isCatchClause(E){return E.kind===291}E.isCatchClause=isCatchClause;function isPropertyAssignment(E){return E.kind===294}E.isPropertyAssignment=isPropertyAssignment;function isShorthandPropertyAssignment(E){return E.kind===295}E.isShorthandPropertyAssignment=isShorthandPropertyAssignment;function isSpreadAssignment(E){return E.kind===296}E.isSpreadAssignment=isSpreadAssignment;function isEnumMember(E){return E.kind===297}E.isEnumMember=isEnumMember;function isUnparsedPrepend(E){return E.kind===299}E.isUnparsedPrepend=isUnparsedPrepend;function isSourceFile(E){return E.kind===303}E.isSourceFile=isSourceFile;function isBundle(E){return E.kind===304}E.isBundle=isBundle;function isUnparsedSource(E){return E.kind===305}E.isUnparsedSource=isUnparsedSource;function isJSDocTypeExpression(E){return E.kind===307}E.isJSDocTypeExpression=isJSDocTypeExpression;function isJSDocNameReference(E){return E.kind===308}E.isJSDocNameReference=isJSDocNameReference;function isJSDocMemberName(E){return E.kind===309}E.isJSDocMemberName=isJSDocMemberName;function isJSDocLink(E){return E.kind===322}E.isJSDocLink=isJSDocLink;function isJSDocLinkCode(E){return E.kind===323}E.isJSDocLinkCode=isJSDocLinkCode;function isJSDocLinkPlain(E){return E.kind===324}E.isJSDocLinkPlain=isJSDocLinkPlain;function isJSDocAllType(E){return E.kind===310}E.isJSDocAllType=isJSDocAllType;function isJSDocUnknownType(E){return E.kind===311}E.isJSDocUnknownType=isJSDocUnknownType;function isJSDocNullableType(E){return E.kind===312}E.isJSDocNullableType=isJSDocNullableType;function isJSDocNonNullableType(E){return E.kind===313}E.isJSDocNonNullableType=isJSDocNonNullableType;function isJSDocOptionalType(E){return E.kind===314}E.isJSDocOptionalType=isJSDocOptionalType;function isJSDocFunctionType(E){return E.kind===315}E.isJSDocFunctionType=isJSDocFunctionType;function isJSDocVariadicType(E){return E.kind===316}E.isJSDocVariadicType=isJSDocVariadicType;function isJSDocNamepathType(E){return E.kind===317}E.isJSDocNamepathType=isJSDocNamepathType;function isJSDoc(E){return E.kind===318}E.isJSDoc=isJSDoc;function isJSDocTypeLiteral(E){return E.kind===320}E.isJSDocTypeLiteral=isJSDocTypeLiteral;function isJSDocSignature(E){return E.kind===321}E.isJSDocSignature=isJSDocSignature;function isJSDocAugmentsTag(E){return E.kind===326}E.isJSDocAugmentsTag=isJSDocAugmentsTag;function isJSDocAuthorTag(E){return E.kind===328}E.isJSDocAuthorTag=isJSDocAuthorTag;function isJSDocClassTag(E){return E.kind===330}E.isJSDocClassTag=isJSDocClassTag;function isJSDocCallbackTag(E){return E.kind===336}E.isJSDocCallbackTag=isJSDocCallbackTag;function isJSDocPublicTag(E){return E.kind===331}E.isJSDocPublicTag=isJSDocPublicTag;function isJSDocPrivateTag(E){return E.kind===332}E.isJSDocPrivateTag=isJSDocPrivateTag;function isJSDocProtectedTag(E){return E.kind===333}E.isJSDocProtectedTag=isJSDocProtectedTag;function isJSDocReadonlyTag(E){return E.kind===334}E.isJSDocReadonlyTag=isJSDocReadonlyTag;function isJSDocOverrideTag(E){return E.kind===335}E.isJSDocOverrideTag=isJSDocOverrideTag;function isJSDocDeprecatedTag(E){return E.kind===329}E.isJSDocDeprecatedTag=isJSDocDeprecatedTag;function isJSDocSeeTag(E){return E.kind===344}E.isJSDocSeeTag=isJSDocSeeTag;function isJSDocEnumTag(E){return E.kind===337}E.isJSDocEnumTag=isJSDocEnumTag;function isJSDocParameterTag(E){return E.kind===338}E.isJSDocParameterTag=isJSDocParameterTag;function isJSDocReturnTag(E){return E.kind===339}E.isJSDocReturnTag=isJSDocReturnTag;function isJSDocThisTag(E){return E.kind===340}E.isJSDocThisTag=isJSDocThisTag;function isJSDocTypeTag(E){return E.kind===341}E.isJSDocTypeTag=isJSDocTypeTag;function isJSDocTemplateTag(E){return E.kind===342}E.isJSDocTemplateTag=isJSDocTemplateTag;function isJSDocTypedefTag(E){return E.kind===343}E.isJSDocTypedefTag=isJSDocTypedefTag;function isJSDocUnknownTag(E){return E.kind===325}E.isJSDocUnknownTag=isJSDocUnknownTag;function isJSDocPropertyTag(E){return E.kind===345}E.isJSDocPropertyTag=isJSDocPropertyTag;function isJSDocImplementsTag(E){return E.kind===327}E.isJSDocImplementsTag=isJSDocImplementsTag;function isSyntaxList(E){return E.kind===346}E.isSyntaxList=isSyntaxList})(ce||(ce={}));var ce;(function(E){function createEmptyExports(E){return E.createExportDeclaration(undefined,undefined,false,E.createNamedExports([]),undefined)}E.createEmptyExports=createEmptyExports;function createMemberAccessForPropertyName(N,R,j,$){if(E.isComputedPropertyName(j)){return E.setTextRange(N.createElementAccessExpression(R,j.expression),$)}else{var q=E.setTextRange(E.isMemberName(j)?N.createPropertyAccessExpression(R,j):N.createElementAccessExpression(R,j),j);E.getOrCreateEmitNode(q).flags|=64;return q}}E.createMemberAccessForPropertyName=createMemberAccessForPropertyName;function createReactNamespace(N,R){var j=E.parseNodeFactory.createIdentifier(N||"React");E.setParent(j,E.getParseTreeNode(R));return j}function createJsxFactoryExpressionFromEntityName(N,R,j){if(E.isQualifiedName(R)){var $=createJsxFactoryExpressionFromEntityName(N,R.left,j);var q=N.createIdentifier(E.idText(R.right));q.escapedText=R.right.escapedText;return N.createPropertyAccessExpression($,q)}else{return createReactNamespace(E.idText(R),j)}}function createJsxFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"createElement")}E.createJsxFactoryExpression=createJsxFactoryExpression;function createJsxFragmentFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"Fragment")}function createExpressionForJsxElement(N,R,j,$,q,G){var ie=[j];if($){ie.push($)}if(q&&q.length>0){if(!$){ie.push(N.createNull())}if(q.length>1){for(var ae=0,ce=q;ae0){if(q.length>1){for(var le=0,_e=q;le<_e.length;le++){var Te=_e[le];startOnNewLine(Te);ce.push(Te)}}else{ce.push(q[0])}}return E.setTextRange(N.createCallExpression(createJsxFactoryExpression(N,R,$,G),undefined,ce),ie)}E.createExpressionForJsxFragment=createExpressionForJsxFragment;function createForOfBindingStatement(N,R,j){if(E.isVariableDeclarationList(R)){var $=E.first(R.declarations);var q=N.updateVariableDeclaration($,$.name,undefined,undefined,j);return E.setTextRange(N.createVariableStatement(undefined,N.updateVariableDeclarationList(R,[q])),R)}else{var G=E.setTextRange(N.createAssignment(R,j),R);return E.setTextRange(N.createExpressionStatement(G),R)}}E.createForOfBindingStatement=createForOfBindingStatement;function insertLeadingStatement(N,R,$){if(E.isBlock(R)){return N.updateBlock(R,E.setTextRange(N.createNodeArray(j([$],R.statements,true)),R.statements))}else{return N.createBlock(N.createNodeArray([R,$]),true)}}E.insertLeadingStatement=insertLeadingStatement;function createExpressionFromEntityName(N,R){if(E.isQualifiedName(R)){var j=createExpressionFromEntityName(N,R.left);var $=E.setParent(E.setTextRange(N.cloneNode(R.right),R.right),R.right.parent);return E.setTextRange(N.createPropertyAccessExpression(j,$),R)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionFromEntityName=createExpressionFromEntityName;function createExpressionForPropertyName(N,R){if(E.isIdentifier(R)){return N.createStringLiteralFromNode(R)}else if(E.isComputedPropertyName(R)){return E.setParent(E.setTextRange(N.cloneNode(R.expression),R.expression),R.expression.parent)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionForPropertyName=createExpressionForPropertyName;function createExpressionForAccessorDeclaration(N,R,j,$,q){var G=E.getAllAccessorDeclarations(R,j),ie=G.firstAccessor,ae=G.getAccessor,ce=G.setAccessor;if(j===ie){return E.setTextRange(N.createObjectDefinePropertyCall($,createExpressionForPropertyName(N,j.name),N.createPropertyDescriptor({enumerable:N.createFalse(),configurable:true,get:ae&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ae.modifiers,undefined,undefined,undefined,ae.parameters,undefined,ae.body),ae),ae),set:ce&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ce.modifiers,undefined,undefined,undefined,ce.parameters,undefined,ce.body),ce),ce)},!q)),ie)}return undefined}function createExpressionForPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),R.initializer),R),R)}function createExpressionForShorthandPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),N.cloneNode(R.name)),R),R)}function createExpressionForMethodDeclaration(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),E.setOriginalNode(E.setTextRange(N.createFunctionExpression(R.modifiers,R.asteriskToken,undefined,undefined,R.parameters,undefined,R.body),R),R)),R),R)}function createExpressionForObjectLiteralElementLike(N,R,j,$){if(j.name&&E.isPrivateIdentifier(j.name)){E.Debug.failBadSyntaxKind(j.name,"Private identifiers are not allowed in object literals.")}switch(j.kind){case 171:case 172:return createExpressionForAccessorDeclaration(N,R.properties,j,$,!!R.multiLine);case 294:return createExpressionForPropertyAssignment(N,j,$);case 295:return createExpressionForShorthandPropertyAssignment(N,j,$);case 168:return createExpressionForMethodDeclaration(N,j,$)}}E.createExpressionForObjectLiteralElementLike=createExpressionForObjectLiteralElementLike;function expandPreOrPostfixIncrementOrDecrementExpression(N,R,j,$,q){var G=R.operator;E.Debug.assert(G===45||G===46,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");var ie=N.createTempVariable($);j=N.createAssignment(ie,j);E.setTextRange(j,R.operand);var ae=E.isPrefixUnaryExpression(R)?N.createPrefixUnaryExpression(G,ie):N.createPostfixUnaryExpression(ie,G);E.setTextRange(ae,R);if(q){ae=N.createAssignment(q,ae);E.setTextRange(ae,R)}j=N.createComma(j,ae);E.setTextRange(j,R);if(E.isPostfixUnaryExpression(R)){j=N.createComma(j,ie);E.setTextRange(j,R)}return j}E.expandPreOrPostfixIncrementOrDecrementExpression=expandPreOrPostfixIncrementOrDecrementExpression;function isInternalName(N){return(E.getEmitFlags(N)&32768)!==0}E.isInternalName=isInternalName;function isLocalName(N){return(E.getEmitFlags(N)&16384)!==0}E.isLocalName=isLocalName;function isExportName(N){return(E.getEmitFlags(N)&8192)!==0}E.isExportName=isExportName;function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function findUseStrictPrologue(N){for(var R=0,j=N;R=E.ModuleKind.ES2015&&ce<=E.ModuleKind.ESNext||j.impliedNodeFormat===E.ModuleKind.ESNext){var le=E.getEmitHelpers(j);if(le){var _e=[];for(var Te=0,Ee=le;Te0?q[R-1]:undefined;E.Debug.assertEqual(j[R],enter);q[R]=N.onEnter($[R],ae,ie);j[R]=nextState(N,enter);return R}N.enter=enter;function left(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],left);E.Debug.assertIsDefined(N.onLeft);j[R]=nextState(N,left);var ae=N.onLeft($[R].left,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.left=left;function operator(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],operator);E.Debug.assertIsDefined(N.onOperator);j[R]=nextState(N,operator);N.onOperator($[R].operatorToken,q[R],$[R]);return R}N.operator=operator;function right(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],right);E.Debug.assertIsDefined(N.onRight);j[R]=nextState(N,right);var ae=N.onRight($[R].right,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.right=right;function exit(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],exit);j[R]=nextState(N,exit);var ae=N.onExit($[R],q[R]);if(R>0){R--;if(N.foldState){var ce=j[R]===exit?"right":"left";q[R]=N.foldState(q[R],ae,ce)}}else{G.value=ae}return R}N.exit=exit;function done(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],done);return R}N.done=done;function nextState(N,R){switch(R){case enter:if(N.onLeft)return left;case left:if(N.onOperator)return operator;case operator:if(N.onRight)return right;case right:return exit;case exit:return done;case done:return done;default:E.Debug.fail("Invalid state")}}N.nextState=nextState;function pushStack(E,N,R,j,$){E++;N[E]=enter;R[E]=$;j[E]=undefined;return E}function checkCircularity(N,R,j){if(E.Debug.shouldAssert(2)){while(N>=0){E.Debug.assert(R[N]!==j,"Circular traversal detected.");N--}}}})(N||(N={}));var R=function(){function BinaryExpressionStateMachine(E,N,R,j,$,q){this.onEnter=E;this.onLeft=N;this.onOperator=R;this.onRight=j;this.onExit=$;this.foldState=q}return BinaryExpressionStateMachine}();function createBinaryExpressionTrampoline(j,$,q,G,ie,ae){var ce=new R(j,$,q,G,ie,ae);return trampoline;function trampoline(R,j){var $={value:undefined};var q=[N.enter];var G=[R];var ie=[undefined];var ae=0;while(q[ae]!==N.done){ae=q[ae](ce,ae,q,G,ie,$,j)}E.Debug.assertEqual(ae,0);return $.value}}E.createBinaryExpressionTrampoline=createBinaryExpressionTrampoline})(ce||(ce={}));var ce;(function(E){function setTextRange(N,R){return R?E.setTextRangePosEnd(N,R.pos,R.end):N}E.setTextRange=setTextRange})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["None"]=0]="None";E[E["Yield"]=1]="Yield";E[E["Await"]=2]="Await";E[E["Type"]=4]="Type";E[E["IgnoreMissingOpenBrace"]=16]="IgnoreMissingOpenBrace";E[E["JSDoc"]=32]="JSDoc"})(N||(N={}));var R;(function(E){E[E["TryParse"]=0]="TryParse";E[E["Lookahead"]=1]="Lookahead";E[E["Reparse"]=2]="Reparse"})(R||(R={}));var $;var q;var G;var ie;var ae;E.parseBaseNodeFactory={createBaseSourceFileNode:function(N){return new(ae||(ae=E.objectAllocator.getSourceFileConstructor()))(N,-1,-1)},createBaseIdentifierNode:function(N){return new(G||(G=E.objectAllocator.getIdentifierConstructor()))(N,-1,-1)},createBasePrivateIdentifierNode:function(N){return new(ie||(ie=E.objectAllocator.getPrivateIdentifierConstructor()))(N,-1,-1)},createBaseTokenNode:function(N){return new(q||(q=E.objectAllocator.getTokenConstructor()))(N,-1,-1)},createBaseNode:function(N){return new($||($=E.objectAllocator.getNodeConstructor()))(N,-1,-1)}};E.parseNodeFactory=E.createNodeFactory(1,E.parseBaseNodeFactory);function visitNode(E,N){return N&&E(N)}function visitNodes(E,N,R){if(R){if(N){return N(R)}for(var j=0,$=R;j<$.length;j++){var q=$[j];var G=E(q);if(G){return G}}}}function isJSDocLikeText(E,N){return E.charCodeAt(N+1)===42&&E.charCodeAt(N+2)===42&&E.charCodeAt(N+3)!==47}E.isJSDocLikeText=isJSDocLikeText;function forEachChild(N,R,j){if(!N||N.kind<=159){return}switch(N.kind){case 160:return visitNode(R,N.left)||visitNode(R,N.right);case 162:return visitNode(R,N.name)||visitNode(R,N.constraint)||visitNode(R,N.default)||visitNode(R,N.expression);case 295:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.equalsToken)||visitNode(R,N.objectAssignmentInitializer);case 296:return visitNode(R,N.expression);case 163:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 166:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 165:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 294:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.initializer);case 253:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 202:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.propertyName)||visitNode(R,N.name)||visitNode(R,N.initializer);case 178:case 179:case 173:case 174:case 175:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 168:case 167:case 170:case 171:case 172:case 212:case 255:case 213:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.asteriskToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type)||visitNode(R,N.equalsGreaterThanToken)||visitNode(R,N.body);case 169:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.body);case 177:return visitNode(R,N.typeName)||visitNodes(R,j,N.typeArguments);case 176:return visitNode(R,N.assertsModifier)||visitNode(R,N.parameterName)||visitNode(R,N.type);case 180:return visitNode(R,N.exprName);case 181:return visitNodes(R,j,N.members);case 182:return visitNode(R,N.elementType);case 183:return visitNodes(R,j,N.elements);case 186:case 187:return visitNodes(R,j,N.types);case 188:return visitNode(R,N.checkType)||visitNode(R,N.extendsType)||visitNode(R,N.trueType)||visitNode(R,N.falseType);case 189:return visitNode(R,N.typeParameter);case 199:return visitNode(R,N.argument)||visitNode(R,N.qualifier)||visitNodes(R,j,N.typeArguments);case 190:case 192:return visitNode(R,N.type);case 193:return visitNode(R,N.objectType)||visitNode(R,N.indexType);case 194:return visitNode(R,N.readonlyToken)||visitNode(R,N.typeParameter)||visitNode(R,N.nameType)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNodes(R,j,N.members);case 195:return visitNode(R,N.literal);case 196:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type);case 200:case 201:return visitNodes(R,j,N.elements);case 203:return visitNodes(R,j,N.elements);case 204:return visitNodes(R,j,N.properties);case 205:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.name);case 206:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.argumentExpression);case 207:case 208:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNodes(R,j,N.arguments);case 209:return visitNode(R,N.tag)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.template);case 210:return visitNode(R,N.type)||visitNode(R,N.expression);case 211:return visitNode(R,N.expression);case 214:return visitNode(R,N.expression);case 215:return visitNode(R,N.expression);case 216:return visitNode(R,N.expression);case 218:return visitNode(R,N.operand);case 223:return visitNode(R,N.asteriskToken)||visitNode(R,N.expression);case 217:return visitNode(R,N.expression);case 219:return visitNode(R,N.operand);case 220:return visitNode(R,N.left)||visitNode(R,N.operatorToken)||visitNode(R,N.right);case 228:return visitNode(R,N.expression)||visitNode(R,N.type);case 229:return visitNode(R,N.expression);case 230:return visitNode(R,N.name);case 221:return visitNode(R,N.condition)||visitNode(R,N.questionToken)||visitNode(R,N.whenTrue)||visitNode(R,N.colonToken)||visitNode(R,N.whenFalse);case 224:return visitNode(R,N.expression);case 234:case 261:return visitNodes(R,j,N.statements);case 303:return visitNodes(R,j,N.statements)||visitNode(R,N.endOfFileToken);case 236:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.declarationList);case 254:return visitNodes(R,j,N.declarations);case 237:return visitNode(R,N.expression);case 238:return visitNode(R,N.expression)||visitNode(R,N.thenStatement)||visitNode(R,N.elseStatement);case 239:return visitNode(R,N.statement)||visitNode(R,N.expression);case 240:return visitNode(R,N.expression)||visitNode(R,N.statement);case 241:return visitNode(R,N.initializer)||visitNode(R,N.condition)||visitNode(R,N.incrementor)||visitNode(R,N.statement);case 242:return visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 243:return visitNode(R,N.awaitModifier)||visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 244:case 245:return visitNode(R,N.label);case 246:return visitNode(R,N.expression);case 247:return visitNode(R,N.expression)||visitNode(R,N.statement);case 248:return visitNode(R,N.expression)||visitNode(R,N.caseBlock);case 262:return visitNodes(R,j,N.clauses);case 288:return visitNode(R,N.expression)||visitNodes(R,j,N.statements);case 289:return visitNodes(R,j,N.statements);case 249:return visitNode(R,N.label)||visitNode(R,N.statement);case 250:return visitNode(R,N.expression);case 251:return visitNode(R,N.tryBlock)||visitNode(R,N.catchClause)||visitNode(R,N.finallyBlock);case 291:return visitNode(R,N.variableDeclaration)||visitNode(R,N.block);case 164:return visitNode(R,N.expression);case 256:case 225:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 257:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 258:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNode(R,N.type);case 259:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.members);case 297:return visitNode(R,N.name)||visitNode(R,N.initializer);case 260:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.body);case 264:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.moduleReference);case 265:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.importClause)||visitNode(R,N.moduleSpecifier)||visitNode(R,N.assertClause);case 266:return visitNode(R,N.name)||visitNode(R,N.namedBindings);case 292:return visitNodes(R,j,N.elements);case 293:return visitNode(R,N.name)||visitNode(R,N.value);case 263:return visitNode(R,N.name);case 267:return visitNode(R,N.name);case 273:return visitNode(R,N.name);case 268:case 272:return visitNodes(R,j,N.elements);case 271:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.exportClause)||visitNode(R,N.moduleSpecifier)||visitNode(R,N.assertClause);case 269:case 274:return visitNode(R,N.propertyName)||visitNode(R,N.name);case 270:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.expression);case 222:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 232:return visitNode(R,N.expression)||visitNode(R,N.literal);case 197:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 198:return visitNode(R,N.type)||visitNode(R,N.literal);case 161:return visitNode(R,N.expression);case 290:return visitNodes(R,j,N.types);case 227:return visitNode(R,N.expression)||visitNodes(R,j,N.typeArguments);case 276:return visitNode(R,N.expression);case 275:return visitNodes(R,j,N.decorators);case 349:return visitNodes(R,j,N.elements);case 277:return visitNode(R,N.openingElement)||visitNodes(R,j,N.children)||visitNode(R,N.closingElement);case 281:return visitNode(R,N.openingFragment)||visitNodes(R,j,N.children)||visitNode(R,N.closingFragment);case 278:case 279:return visitNode(R,N.tagName)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.attributes);case 285:return visitNodes(R,j,N.properties);case 284:return visitNode(R,N.name)||visitNode(R,N.initializer);case 286:return visitNode(R,N.expression);case 287:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.expression);case 280:return visitNode(R,N.tagName);case 184:case 185:case 307:case 313:case 312:case 314:case 316:return visitNode(R,N.type);case 315:return visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 318:return(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment))||visitNodes(R,j,N.tags);case 344:return visitNode(R,N.tagName)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 308:return visitNode(R,N.name);case 309:return visitNode(R,N.left)||visitNode(R,N.right);case 338:case 345:return visitNode(R,N.tagName)||(N.isNameFirst?visitNode(R,N.name)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.typeExpression)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 328:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 327:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 326:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 342:return visitNode(R,N.tagName)||visitNode(R,N.constraint)||visitNodes(R,j,N.typeParameters)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 343:return visitNode(R,N.tagName)||(N.typeExpression&&N.typeExpression.kind===307?visitNode(R,N.typeExpression)||visitNode(R,N.fullName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 336:return visitNode(R,N.tagName)||visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 339:case 341:case 340:case 337:return visitNode(R,N.tagName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 321:return E.forEach(N.typeParameters,R)||E.forEach(N.parameters,R)||visitNode(R,N.type);case 322:case 323:case 324:return visitNode(R,N.name);case 320:return E.forEach(N.jsDocPropertyTags,R);case 325:case 330:case 331:case 332:case 333:case 334:case 329:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 348:return visitNode(R,N.expression)}}E.forEachChild=forEachChild;function forEachChildRecursively(N,R,j){var $=gatherPossibleChildren(N);var q=[];while(q.length<$.length){q.push(N)}while($.length!==0){var G=$.pop();var ie=q.pop();if(E.isArray(G)){if(j){var ae=j(G,ie);if(ae){if(ae==="skip")continue;return ae}}for(var ce=G.length-1;ce>=0;--ce){$.push(G[ce]);q.push(ie)}}else{var ae=R(G,ie);if(ae){if(ae==="skip")continue;return ae}if(G.kind>=160){for(var le=0,_e=gatherPossibleChildren(G);le<_e.length;le++){var Te=_e[le];$.push(Te);q.push(G)}}}}}E.forEachChildRecursively=forEachChildRecursively;function gatherPossibleChildren(E){var N=[];forEachChild(E,addWorkItem,addWorkItem);return N;function addWorkItem(E){N.unshift(E)}}function createSourceFile(N,R,j,$,q){if($===void 0){$=false}E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("parse","createSourceFile",{path:N},true);E.performance.mark("beforeParse");var G;E.perfLogger.logStartParseSourceFile(N);if(j===100){G=ce.parseSourceFile(N,R,j,undefined,$,6)}else{G=ce.parseSourceFile(N,R,j,undefined,$,q)}E.perfLogger.logStopParseSourceFile();E.performance.mark("afterParse");E.performance.measure("Parse","beforeParse","afterParse");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}E.createSourceFile=createSourceFile;function parseIsolatedEntityName(E,N){return ce.parseIsolatedEntityName(E,N)}E.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(E,N){return ce.parseJsonText(E,N)}E.parseJsonText=parseJsonText;function isExternalModule(E){return E.externalModuleIndicator!==undefined}E.isExternalModule=isExternalModule;function updateSourceFile(E,N,R,j){if(j===void 0){j=false}var $=le.updateSourceFile(E,N,R,j);$.flags|=E.flags&3145728;return $}E.updateSourceFile=updateSourceFile;function parseIsolatedJSDocComment(E,N,R){var j=ce.JSDocParser.parseIsolatedJSDocComment(E,N,R);if(j&&j.jsDoc){ce.fixupParentReferences(j.jsDoc)}return j}E.parseIsolatedJSDocComment=parseIsolatedJSDocComment;function parseJSDocTypeExpressionForTests(E,N,R){return ce.JSDocParser.parseJSDocTypeExpressionForTests(E,N,R)}E.parseJSDocTypeExpressionForTests=parseJSDocTypeExpressionForTests;var ce;(function(N){var R=E.createScanner(99,true);var $=4096|16384;var q;var G;var ie;var ae;var ce;function countNode(E){We++;return E}var _e={createBaseSourceFileNode:function(E){return countNode(new ce(E,0,0))},createBaseIdentifierNode:function(E){return countNode(new ie(E,0,0))},createBasePrivateIdentifierNode:function(E){return countNode(new ae(E,0,0))},createBaseTokenNode:function(E){return countNode(new G(E,0,0))},createBaseNode:function(E){return countNode(new q(E,0,0))}};var Te=E.createNodeFactory(1|2|8,_e);var Ee;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve;var qe;var He;var Ge;var Ke;var Qe=true;var Xe=false;function parseSourceFile(N,R,j,$,q,G){var ie;if(q===void 0){q=false}G=E.ensureScriptKind(N,G);if(G===6){var ae=parseJsonText(N,R,j,$,q);E.convertToObjectWorker(ae,(ie=ae.statements[0])===null||ie===void 0?void 0:ie.expression,ae.parseDiagnostics,false,undefined,undefined);ae.referencedFiles=E.emptyArray;ae.typeReferenceDirectives=E.emptyArray;ae.libReferenceDirectives=E.emptyArray;ae.amdDependencies=E.emptyArray;ae.hasNoDefaultLib=false;ae.pragmas=E.emptyMap;return ae}initializeState(N,R,j,$,G);var ce=parseSourceFileWorker(j,q,G);clearState();return ce}N.parseSourceFile=parseSourceFile;function parseIsolatedEntityName(E,N){initializeState("",E,N,undefined,1);nextToken();var R=parseEntityName(true);var j=token()===1&&!Be.length;clearState();return j?R:undefined}N.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(N,R,j,$,q){if(j===void 0){j=2}if(q===void 0){q=false}initializeState(N,R,j,$,6);we=Ke;nextToken();var G=getNodePos();var ie,ae;if(token()===1){ie=createNodeArray([],G,G);ae=parseTokenNode()}else{var ce=void 0;while(token()!==1){var le=void 0;switch(token()){case 22:le=parseArrayLiteralExpression();break;case 110:case 95:case 104:le=parseTokenNode();break;case 40:if(lookAhead((function(){return nextToken()===8&&nextToken()!==58}))){le=parsePrefixUnaryExpression()}else{le=parseObjectLiteralExpression()}break;case 8:case 10:if(lookAhead((function(){return nextToken()!==58}))){le=parseLiteralNode();break}default:le=parseObjectLiteralExpression();break}if(ce&&E.isArray(ce)){ce.push(le)}else if(ce){ce=[ce,le]}else{ce=le;if(token()!==1){parseErrorAtCurrentToken(E.Diagnostics.Unexpected_token)}}}var _e=E.isArray(ce)?finishNode(Te.createArrayLiteralExpression(ce),G):E.Debug.checkDefined(ce);var Ee=Te.createExpressionStatement(_e);finishNode(Ee,G);ie=createNodeArray([Ee],G);ae=parseExpectedToken(1,E.Diagnostics.Unexpected_token)}var Ie=createSourceFile(N,2,6,false,ie,ae,we);if(q){fixupParentReferences(Ie)}Ie.nodeCount=We;Ie.identifierCount=qe;Ie.identifiers=Je;Ie.parseDiagnostics=E.attachFileToDiagnostics(Be,Ie);if(je){Ie.jsDocDiagnostics=E.attachFileToDiagnostics(je,Ie)}var Ne=Ie;clearState();return Ne}N.parseJsonText=parseJsonText;function initializeState(N,j,$,le,_e){q=E.objectAllocator.getNodeConstructor();G=E.objectAllocator.getTokenConstructor();ie=E.objectAllocator.getIdentifierConstructor();ae=E.objectAllocator.getPrivateIdentifierConstructor();ce=E.objectAllocator.getSourceFileConstructor();Ee=E.normalizePath(N);Ie=j;Ne=$;Ue=le;Me=_e;Le=E.getLanguageVariant(_e);Be=[];He=0;Je=new E.Map;Ve=new E.Map;qe=0;We=0;we=0;Qe=true;switch(Me){case 1:case 2:Ke=131072;break;case 6:Ke=131072|33554432;break;default:Ke=0;break}Xe=false;R.setText(Ie);R.setOnError(scanError);R.setScriptTarget(Ne);R.setLanguageVariant(Le)}function clearState(){R.clearCommentDirectives();R.setText("");R.setOnError(undefined);Ie=undefined;Ne=undefined;Ue=undefined;Me=undefined;Le=undefined;we=0;Be=undefined;je=undefined;He=0;Je=undefined;Ge=undefined;Qe=true}function parseSourceFileWorker(N,j,$){var q=isDeclarationFileName(Ee);if(q){Ke|=8388608}we=Ke;nextToken();var G=parseList(0,parseStatement);E.Debug.assert(token()===1);var ie=addJSDocComment(parseTokenNode());var ae=createSourceFile(Ee,N,$,q,G,ie,we);processCommentPragmas(ae,Ie);processPragmasIntoFields(ae,reportPragmaDiagnostic);ae.commentDirectives=R.getCommentDirectives();ae.nodeCount=We;ae.identifierCount=qe;ae.identifiers=Je;ae.parseDiagnostics=E.attachFileToDiagnostics(Be,ae);if(je){ae.jsDocDiagnostics=E.attachFileToDiagnostics(je,ae)}if(j){fixupParentReferences(ae)}return ae;function reportPragmaDiagnostic(N,R,j){Be.push(E.createDetachedDiagnostic(Ee,N,R,j))}}function withJSDoc(E,N){return N?addJSDocComment(E):E}var Ye=false;function addJSDocComment(N){E.Debug.assert(!N.jsDoc);var R=E.mapDefined(E.getJSDocCommentRanges(N,Ie),(function(E){return rt.parseJSDocComment(N,E.pos,E.end-E.pos)}));if(R.length)N.jsDoc=R;if(Ye){Ye=false;N.flags|=134217728}return N}function reparseTopLevelAwait(N){var j=Ue;var $=le.createSyntaxCursor(N);Ue={currentNode:currentNode};var q=[];var G=Be;Be=[];var ie=0;var ae=findNextStatementWithAwait(N.statements,0);var _loop_3=function(){var j=N.statements[ie];var $=N.statements[ae];E.addRange(q,N.statements,ie,ae);ie=findNextStatementWithoutAwait(N.statements,ae);var ce=E.findIndex(G,(function(E){return E.start>=j.pos}));var le=ce>=0?E.findIndex(G,(function(E){return E.start>=$.pos}),ce):-1;if(ce>=0){E.addRange(Be,G,ce,le>=0?le:undefined)}speculationHelper((function(){var E=Ke;Ke|=32768;R.setTextPos($.pos);nextToken();while(token()!==1){var j=R.getStartPos();var G=parseListElement(0,parseStatement);q.push(G);if(j===R.getStartPos()){nextToken()}if(ie>=0){var ae=N.statements[ie];if(G.end===ae.pos){break}if(G.end>ae.pos){ie=findNextStatementWithoutAwait(N.statements,ie+1)}}}Ke=E}),2);ae=ie>=0?findNextStatementWithAwait(N.statements,ie):-1};while(ae!==-1){_loop_3()}if(ie>=0){var ce=N.statements[ie];E.addRange(q,N.statements,ie);var _e=E.findIndex(G,(function(E){return E.start>=ce.pos}));if(_e>=0){E.addRange(Be,G,_e)}}Ue=j;return Te.updateSourceFile(N,E.setTextRange(Te.createNodeArray(q),N.statements));function containsPossibleTopLevelAwait(E){return!(E.flags&32768)&&!!(E.transformFlags&16777216)}function findNextStatementWithAwait(E,N){for(var R=N;R116}function isIdentifier(){if(token()===79){return true}if(token()===125&&inYieldContext()){return false}if(token()===132&&inAwaitContext()){return false}return token()>116}function parseExpected(N,R,j){if(j===void 0){j=true}if(token()===N){if(j){nextToken()}return true}if(R){parseErrorAtCurrentToken(R)}else{parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N))}return false}var Ze=Object.keys(E.textToKeywordObj).filter((function(E){return E.length>2}));function parseErrorForMissingSemicolonAfter(N){var j;if(E.isTaggedTemplateExpression(N)){parseErrorAt(E.skipTrivia(Ie,N.template.pos),N.template.end,E.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var $=E.isIdentifier(N)?E.idText(N):undefined;if(!$||!E.isIdentifierText($,Ne)){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26));return}var q=E.skipTrivia(Ie,N.pos);switch($){case"const":case"let":case"var":parseErrorAt(q,N.end,E.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":parseErrorForInvalidName(E.Diagnostics.Interface_name_cannot_be_0,E.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":parseErrorAt(q,R.getTextPos(),E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":parseErrorForInvalidName(E.Diagnostics.Namespace_name_cannot_be_0,E.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":parseErrorForInvalidName(E.Diagnostics.Type_alias_name_cannot_be_0,E.Diagnostics.Type_alias_must_be_given_a_name,63);return}var G=(j=E.getSpellingSuggestion($,Ze,(function(E){return E})))!==null&&j!==void 0?j:getSpaceSuggestion($);if(G){parseErrorAt(q,N.end,E.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,G);return}if(token()===0){return}parseErrorAt(q,N.end,E.Diagnostics.Unexpected_keyword_or_identifier)}function parseErrorForInvalidName(E,N,j){if(token()===j){parseErrorAtCurrentToken(N)}else{parseErrorAtCurrentToken(E,R.getTokenValue())}}function getSpaceSuggestion(N){for(var R=0,j=Ze;R$.length+2&&E.startsWith(N,$)){return"".concat($," ").concat(N.slice($.length))}}return undefined}function parseSemicolonAfterPropertyName(N,j,$){if(token()===59&&!R.hasPrecedingLineBreak()){parseErrorAtCurrentToken(E.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(token()===20){parseErrorAtCurrentToken(E.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation);nextToken();return}if(j&&!canParseSemicolon()){if($){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}else{parseErrorAtCurrentToken(E.Diagnostics.Expected_for_property_initializer)}return}if(tryParseSemicolon()){return}if($){if(token()===18){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}return}parseErrorForMissingSemicolonAfter(N)}function parseExpectedJSDoc(N){if(token()===N){nextTokenJSDoc();return true}parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N));return false}function parseOptional(E){if(token()===E){nextToken();return true}return false}function parseOptionalToken(E){if(token()===E){return parseTokenNode()}return undefined}function parseOptionalTokenJSDoc(E){if(token()===E){return parseTokenNodeJSDoc()}return undefined}function parseExpectedToken(N,R,j){return parseOptionalToken(N)||createMissingNode(N,false,R||E.Diagnostics._0_expected,j||E.tokenToString(N))}function parseExpectedTokenJSDoc(N){return parseOptionalTokenJSDoc(N)||createMissingNode(N,false,E.Diagnostics._0_expected,E.tokenToString(N))}function parseTokenNode(){var E=getNodePos();var N=token();nextToken();return finishNode(Te.createToken(N),E)}function parseTokenNodeJSDoc(){var E=getNodePos();var N=token();nextTokenJSDoc();return finishNode(Te.createToken(N),E)}function canParseSemicolon(){if(token()===26){return true}return token()===19||token()===1||R.hasPrecedingLineBreak()}function tryParseSemicolon(){if(!canParseSemicolon()){return false}if(token()===26){nextToken()}return true}function parseSemicolon(){return tryParseSemicolon()||parseExpected(26)}function createNodeArray(N,j,$,q){var G=Te.createNodeArray(N,q);E.setTextRangePosEnd(G,j,$!==null&&$!==void 0?$:R.getStartPos());return G}function finishNode(N,j,$){E.setTextRangePosEnd(N,j,$!==null&&$!==void 0?$:R.getStartPos());if(Ke){N.flags|=Ke}if(Xe){Xe=false;N.flags|=65536}return N}function createMissingNode(N,j,$,q){if(j){parseErrorAtPosition(R.getStartPos(),0,$,q)}else if($){parseErrorAtCurrentToken($,q)}var G=getNodePos();var ie=N===79?Te.createIdentifier("",undefined,undefined):E.isTemplateLiteralKind(N)?Te.createTemplateLiteralLikeNode(N,"","",undefined):N===8?Te.createNumericLiteral("",undefined):N===10?Te.createStringLiteral("",undefined):N===275?Te.createMissingDeclaration():Te.createToken(N);return finishNode(ie,G)}function internIdentifier(E){var N=Je.get(E);if(N===undefined){Je.set(E,N=E)}return N}function createIdentifier(N,j,$){if(N){qe++;var q=getNodePos();var G=token();var ie=internIdentifier(R.getTokenValue());nextTokenWithoutCheck();return finishNode(Te.createIdentifier(ie,undefined,G),q)}if(token()===80){parseErrorAtCurrentToken($||E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return createIdentifier(true)}if(token()===0&&R.tryScan((function(){return R.reScanInvalidIdentifier()===79}))){return createIdentifier(true)}qe++;var ae=token()===1;var ce=R.isReservedWord();var le=R.getTokenText();var _e=ce?E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:E.Diagnostics.Identifier_expected;return createMissingNode(79,ae,j||_e,le)}function parseBindingIdentifier(E){return createIdentifier(isBindingIdentifier(),undefined,E)}function parseIdentifier(E,N){return createIdentifier(isIdentifier(),E,N)}function parseIdentifierName(N){return createIdentifier(E.tokenIsIdentifierOrKeyword(token()),N)}function isLiteralPropertyName(){return E.tokenIsIdentifierOrKeyword(token())||token()===10||token()===8}function isAssertionKey(){return E.tokenIsIdentifierOrKeyword(token())||token()===10}function parsePropertyNameWorker(E){if(token()===10||token()===8){var N=parseLiteralNode();N.text=internIdentifier(N.text);return N}if(E&&token()===22){return parseComputedPropertyName()}if(token()===80){return parsePrivateIdentifier()}return parseIdentifierName()}function parsePropertyName(){return parsePropertyNameWorker(true)}function parseComputedPropertyName(){var E=getNodePos();parseExpected(22);var N=allowInAnd(parseExpression);parseExpected(23);return finishNode(Te.createComputedPropertyName(N),E)}function internPrivateIdentifier(E){var N=Ve.get(E);if(N===undefined){Ve.set(E,N=E)}return N}function parsePrivateIdentifier(){var E=getNodePos();var N=Te.createPrivateIdentifier(internPrivateIdentifier(R.getTokenText()));nextToken();return finishNode(N,E)}function parseContextualModifier(E){return token()===E&&tryParse(nextTokenCanFollowModifier)}function nextTokenIsOnSameLineAndCanFollowModifier(){nextToken();if(R.hasPrecedingLineBreak()){return false}return canFollowModifier()}function nextTokenCanFollowModifier(){switch(token()){case 85:return nextToken()===92;case 93:nextToken();if(token()===88){return lookAhead(nextTokenCanFollowDefaultKeyword)}if(token()===151){return lookAhead(nextTokenCanFollowExportModifier)}return canFollowExportModifier();case 88:return nextTokenCanFollowDefaultKeyword();case 124:case 136:case 148:nextToken();return canFollowModifier();default:return nextTokenIsOnSameLineAndCanFollowModifier()}}function canFollowExportModifier(){return token()!==41&&token()!==127&&token()!==18&&canFollowModifier()}function nextTokenCanFollowExportModifier(){nextToken();return canFollowExportModifier()}function parseAnyContextualModifier(){return E.isModifierKind(token())&&tryParse(nextTokenCanFollowModifier)}function canFollowModifier(){return token()===22||token()===18||token()===41||token()===25||isLiteralPropertyName()}function nextTokenCanFollowDefaultKeyword(){nextToken();return token()===84||token()===98||token()===118||token()===126&&lookAhead(nextTokenIsClassKeywordOnSameLine)||token()===131&&lookAhead(nextTokenIsFunctionKeywordOnSameLine)}function isListElement(N,R){var j=currentNode(N);if(j){return true}switch(N){case 0:case 1:case 3:return!(token()===26&&R)&&isStartOfStatement();case 2:return token()===82||token()===88;case 4:return lookAhead(isTypeMemberStart);case 5:return lookAhead(isClassMemberStart)||token()===26&&!R;case 6:return token()===22||isLiteralPropertyName();case 12:switch(token()){case 22:case 41:case 25:case 24:return true;default:return isLiteralPropertyName()}case 18:return isLiteralPropertyName();case 9:return token()===22||token()===25||isLiteralPropertyName();case 24:return isAssertionKey();case 7:if(token()===18){return lookAhead(isValidHeritageClauseObjectLiteral)}if(!R){return isStartOfLeftHandSideExpression()&&!isHeritageClauseExtendsOrImplementsKeyword()}else{return isIdentifier()&&!isHeritageClauseExtendsOrImplementsKeyword()}case 8:return isBindingIdentifierOrPrivateIdentifierOrPattern();case 10:return token()===27||token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern();case 19:return isIdentifier();case 15:switch(token()){case 27:case 24:return true}case 11:return token()===25||isStartOfExpression();case 16:return isStartOfParameter(false);case 17:return isStartOfParameter(true);case 20:case 21:return token()===27||isStartOfType();case 22:return isHeritageClause();case 23:return E.tokenIsIdentifierOrKeyword(token());case 13:return E.tokenIsIdentifierOrKeyword(token())||token()===18;case 14:return true}return E.Debug.fail("Non-exhaustive case in 'isListElement'.")}function isValidHeritageClauseObjectLiteral(){E.Debug.assert(token()===18);if(nextToken()===19){var N=nextToken();return N===27||N===18||N===94||N===117}return true}function nextTokenIsIdentifier(){nextToken();return isIdentifier()}function nextTokenIsIdentifierOrKeyword(){nextToken();return E.tokenIsIdentifierOrKeyword(token())}function nextTokenIsIdentifierOrKeywordOrGreaterThan(){nextToken();return E.tokenIsIdentifierOrKeywordOrGreaterThan(token())}function isHeritageClauseExtendsOrImplementsKeyword(){if(token()===117||token()===94){return lookAhead(nextTokenIsStartOfExpression)}return false}function nextTokenIsStartOfExpression(){nextToken();return isStartOfExpression()}function nextTokenIsStartOfType(){nextToken();return isStartOfType()}function isListTerminator(E){if(token()===1){return true}switch(E){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return token()===19;case 3:return token()===19||token()===82||token()===88;case 7:return token()===18||token()===94||token()===117;case 8:return isVariableDeclaratorListTerminator();case 19:return token()===31||token()===20||token()===18||token()===94||token()===117;case 11:return token()===21||token()===26;case 15:case 21:case 10:return token()===23;case 17:case 16:case 18:return token()===21||token()===23;case 20:return token()!==27;case 22:return token()===18||token()===19;case 13:return token()===31||token()===43;case 14:return token()===29&&lookAhead(nextTokenIsSlash);default:return false}}function isVariableDeclaratorListTerminator(){if(canParseSemicolon()){return true}if(isInOrOfKeyword(token())){return true}if(token()===38){return true}return false}function isInSomeParsingContext(){for(var E=0;E<25;E++){if(He&1<=0)}function getExpectedCommaDiagnostic(N){return N===6?E.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:undefined}function createMissingList(){var E=createNodeArray([],getNodePos());E.isMissingList=true;return E}function isMissingList(E){return!!E.isMissingList}function parseBracketedList(E,N,R,j){if(parseExpected(R)){var $=parseDelimitedList(E,N);parseExpected(j);return $}return createMissingList()}function parseEntityName(E,N){var R=getNodePos();var j=E?parseIdentifierName(N):parseIdentifier(N);var $=getNodePos();while(parseOptional(24)){if(token()===29){j.jsdocDotPos=$;break}$=getNodePos();j=finishNode(Te.createQualifiedName(j,parseRightSideOfDot(E,false)),R)}return j}function createQualifiedName(E,N){return finishNode(Te.createQualifiedName(E,N),E.pos)}function parseRightSideOfDot(N,j){if(R.hasPrecedingLineBreak()&&E.tokenIsIdentifierOrKeyword(token())){var $=lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);if($){return createMissingNode(79,true,E.Diagnostics.Identifier_expected)}}if(token()===80){var q=parsePrivateIdentifier();return j?q:createMissingNode(79,true,E.Diagnostics.Identifier_expected)}return N?parseIdentifierName():parseIdentifier()}function parseTemplateSpans(E){var N=getNodePos();var R=[];var j;do{j=parseTemplateSpan(E);R.push(j)}while(j.literal.kind===16);return createNodeArray(R,N)}function parseTemplateExpression(E){var N=getNodePos();return finishNode(Te.createTemplateExpression(parseTemplateHead(E),parseTemplateSpans(E)),N)}function parseTemplateType(){var E=getNodePos();return finishNode(Te.createTemplateLiteralType(parseTemplateHead(false),parseTemplateTypeSpans()),E)}function parseTemplateTypeSpans(){var E=getNodePos();var N=[];var R;do{R=parseTemplateTypeSpan();N.push(R)}while(R.literal.kind===16);return createNodeArray(N,E)}function parseTemplateTypeSpan(){var E=getNodePos();return finishNode(Te.createTemplateLiteralTypeSpan(parseType(),parseLiteralOfTemplateSpan(false)),E)}function parseLiteralOfTemplateSpan(N){if(token()===19){reScanTemplateToken(N);return parseTemplateMiddleOrTemplateTail()}else{return parseExpectedToken(17,E.Diagnostics._0_expected,E.tokenToString(19))}}function parseTemplateSpan(E){var N=getNodePos();return finishNode(Te.createTemplateSpan(allowInAnd(parseExpression),parseLiteralOfTemplateSpan(E)),N)}function parseLiteralNode(){return parseLiteralLikeNode(token())}function parseTemplateHead(N){if(N){reScanTemplateHeadOrNoSubstitutionTemplate()}var R=parseLiteralLikeNode(token());E.Debug.assert(R.kind===15,"Template head has wrong token kind");return R}function parseTemplateMiddleOrTemplateTail(){var N=parseLiteralLikeNode(token());E.Debug.assert(N.kind===16||N.kind===17,"Template fragment has wrong token kind");return N}function getTemplateLiteralRawText(E){var N=E===14||E===17;var j=R.getTokenText();return j.substring(1,j.length-(R.isUnterminated()?0:N?1:2))}function parseLiteralLikeNode(N){var j=getNodePos();var $=E.isTemplateLiteralKind(N)?Te.createTemplateLiteralLikeNode(N,R.getTokenValue(),getTemplateLiteralRawText(N),R.getTokenFlags()&2048):N===8?Te.createNumericLiteral(R.getTokenValue(),R.getNumericLiteralFlags()):N===10?Te.createStringLiteral(R.getTokenValue(),undefined,R.hasExtendedUnicodeEscape()):E.isLiteralKind(N)?Te.createLiteralLikeNode(N,R.getTokenValue()):E.Debug.fail();if(R.hasExtendedUnicodeEscape()){$.hasExtendedUnicodeEscape=true}if(R.isUnterminated()){$.isUnterminated=true}nextToken();return finishNode($,j)}function parseEntityNameOfTypeReference(){return parseEntityName(true,E.Diagnostics.Type_expected)}function parseTypeArgumentsOfTypeReference(){if(!R.hasPrecedingLineBreak()&&reScanLessThanToken()===29){return parseBracketedList(20,parseType,29,31)}}function parseTypeReference(){var E=getNodePos();return finishNode(Te.createTypeReferenceNode(parseEntityNameOfTypeReference(),parseTypeArgumentsOfTypeReference()),E)}function typeHasArrowFunctionBlockingParseError(N){switch(N.kind){case 177:return E.nodeIsMissing(N.typeName);case 178:case 179:{var R=N,j=R.parameters,$=R.type;return isMissingList(j)||typeHasArrowFunctionBlockingParseError($)}case 190:return typeHasArrowFunctionBlockingParseError(N.type);default:return false}}function parseThisTypePredicate(E){nextToken();return finishNode(Te.createTypePredicateNode(undefined,E,parseType()),E.pos)}function parseThisTypeNode(){var E=getNodePos();nextToken();return finishNode(Te.createThisTypeNode(),E)}function parseJSDocAllType(){var E=getNodePos();nextToken();return finishNode(Te.createJSDocAllType(),E)}function parseJSDocNonNullableType(){var E=getNodePos();nextToken();return finishNode(Te.createJSDocNonNullableType(parseNonArrayType()),E)}function parseJSDocUnknownOrNullableType(){var E=getNodePos();nextToken();if(token()===27||token()===19||token()===21||token()===31||token()===63||token()===51){return finishNode(Te.createJSDocUnknownType(),E)}else{return finishNode(Te.createJSDocNullableType(parseType()),E)}}function parseJSDocFunctionType(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(lookAhead(nextTokenIsOpenParen)){nextToken();var R=parseParameters(4|32);var j=parseReturnType(58,false);return withJSDoc(finishNode(Te.createJSDocFunctionType(R,j),E),N)}return finishNode(Te.createTypeReferenceNode(parseIdentifierName(),undefined),E)}function parseJSDocParameter(){var E=getNodePos();var N;if(token()===108||token()===103){N=parseIdentifierName();parseExpected(58)}return finishNode(Te.createParameterDeclaration(undefined,undefined,undefined,N,undefined,parseJSDocType(),undefined),E)}function parseJSDocType(){R.setInJSDocType(true);var E=getNodePos();if(parseOptional(141)){var N=Te.createJSDocNamepathType(undefined);e:while(true){switch(token()){case 19:case 1:case 27:case 5:break e;default:nextTokenJSDoc()}}R.setInJSDocType(false);return finishNode(N,E)}var j=parseOptional(25);var $=parseTypeOrTypePredicate();R.setInJSDocType(false);if(j){$=finishNode(Te.createJSDocVariadicType($),E)}if(token()===63){nextToken();return finishNode(Te.createJSDocOptionalType($),E)}return $}function parseTypeQuery(){var E=getNodePos();parseExpected(112);return finishNode(Te.createTypeQueryNode(parseEntityName(true)),E)}function parseTypeParameter(){var E=getNodePos();var N=parseIdentifier();var R;var j;if(parseOptional(94)){if(isStartOfType()||!isStartOfExpression()){R=parseType()}else{j=parseUnaryExpressionOrHigher()}}var $=parseOptional(63)?parseType():undefined;var q=Te.createTypeParameterDeclaration(N,R,$);q.expression=j;return finishNode(q,E)}function parseTypeParameters(){if(token()===29){return parseBracketedList(19,parseTypeParameter,29,31)}}function isStartOfParameter(N){return token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern()||E.isModifierKind(token())||token()===59||isStartOfType(!N)}function parseNameOfParameter(N){var R=parseIdentifierOrPattern(E.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);if(E.getFullWidth(R)===0&&!E.some(N)&&E.isModifierKind(token())){nextToken()}return R}function parseParameterInOuterAwaitContext(){return parseParameterWorker(true)}function parseParameter(){return parseParameterWorker(false)}function parseParameterWorker(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=N?doInAwaitContext(parseDecorators):parseDecorators();if(token()===108){var q=Te.createParameterDeclaration($,undefined,undefined,createIdentifier(true),undefined,parseTypeAnnotation(),undefined);if($){parseErrorAtRange($[0],E.Diagnostics.Decorators_may_not_be_applied_to_this_parameters)}return withJSDoc(finishNode(q,R),j)}var G=Qe;Qe=false;var ie=parseModifiers();var ae=withJSDoc(finishNode(Te.createParameterDeclaration($,ie,parseOptionalToken(25),parseNameOfParameter(ie),parseOptionalToken(57),parseTypeAnnotation(),parseInitializer()),R),j);Qe=G;return ae}function parseReturnType(E,N){if(shouldParseReturnType(E,N)){return parseTypeOrTypePredicate()}}function shouldParseReturnType(N,R){if(N===38){parseExpected(N);return true}else if(parseOptional(58)){return true}else if(R&&token()===38){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(58));nextToken();return true}return false}function parseParametersWorker(E){var N=inYieldContext();var R=inAwaitContext();setYieldContext(!!(E&1));setAwaitContext(!!(E&2));var j=E&32?parseDelimitedList(17,parseJSDocParameter):parseDelimitedList(16,R?parseParameterInOuterAwaitContext:parseParameter);setYieldContext(N);setAwaitContext(R);return j}function parseParameters(E){if(!parseExpected(20)){return createMissingList()}var N=parseParametersWorker(E);parseExpected(21);return N}function parseTypeMemberSemicolon(){if(parseOptional(27)){return}parseSemicolon()}function parseSignatureMember(E){var N=getNodePos();var R=hasPrecedingJSDocComment();if(E===174){parseExpected(103)}var j=parseTypeParameters();var $=parseParameters(4);var q=parseReturnType(58,true);parseTypeMemberSemicolon();var G=E===173?Te.createCallSignature(j,$,q):Te.createConstructSignature(j,$,q);return withJSDoc(finishNode(G,N),R)}function isIndexSignature(){return token()===22&&lookAhead(isUnambiguouslyIndexSignature)}function isUnambiguouslyIndexSignature(){nextToken();if(token()===25||token()===23){return true}if(E.isModifierKind(token())){nextToken();if(isIdentifier()){return true}}else if(!isIdentifier()){return false}else{nextToken()}if(token()===58||token()===27){return true}if(token()!==57){return false}nextToken();return token()===58||token()===27||token()===23}function parseIndexSignatureDeclaration(E,N,R,j){var $=parseBracketedList(16,parseParameter,22,23);var q=parseTypeAnnotation();parseTypeMemberSemicolon();var G=Te.createIndexSignature(R,j,$,q);return withJSDoc(finishNode(G,E),N)}function parsePropertyOrMethodSignature(E,N,R){var j=parsePropertyName();var $=parseOptionalToken(57);var q;if(token()===20||token()===29){var G=parseTypeParameters();var ie=parseParameters(4);var ae=parseReturnType(58,true);q=Te.createMethodSignature(R,j,$,G,ie,ae)}else{var ae=parseTypeAnnotation();q=Te.createPropertySignature(R,j,$,ae);if(token()===63)q.initializer=parseInitializer()}parseTypeMemberSemicolon();return withJSDoc(finishNode(q,E),N)}function isTypeMemberStart(){if(token()===20||token()===29||token()===136||token()===148){return true}var N=false;while(E.isModifierKind(token())){N=true;nextToken()}if(token()===22){return true}if(isLiteralPropertyName()){N=true;nextToken()}if(N){return token()===20||token()===29||token()===57||token()===58||token()===27||canParseSemicolon()}return false}function parseTypeMember(){if(token()===20||token()===29){return parseSignatureMember(173)}if(token()===103&&lookAhead(nextTokenIsOpenParenOrLessThan)){return parseSignatureMember(174)}var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiers();if(parseContextualModifier(136)){return parseAccessorDeclaration(E,N,undefined,R,171)}if(parseContextualModifier(148)){return parseAccessorDeclaration(E,N,undefined,R,172)}if(isIndexSignature()){return parseIndexSignatureDeclaration(E,N,undefined,R)}return parsePropertyOrMethodSignature(E,N,R)}function nextTokenIsOpenParenOrLessThan(){nextToken();return token()===20||token()===29}function nextTokenIsDot(){return nextToken()===24}function nextTokenIsOpenParenOrLessThanOrDot(){switch(nextToken()){case 20:case 29:case 24:return true}return false}function parseTypeLiteral(){var E=getNodePos();return finishNode(Te.createTypeLiteralNode(parseObjectTypeMembers()),E)}function parseObjectTypeMembers(){var E;if(parseExpected(18)){E=parseList(4,parseTypeMember);parseExpected(19)}else{E=createMissingList()}return E}function isStartOfMappedType(){nextToken();if(token()===39||token()===40){return nextToken()===144}if(token()===144){nextToken()}return token()===22&&nextTokenIsIdentifier()&&nextToken()===101}function parseMappedTypeParameter(){var E=getNodePos();var N=parseIdentifierName();parseExpected(101);var R=parseType();return finishNode(Te.createTypeParameterDeclaration(N,R,undefined),E)}function parseMappedType(){var E=getNodePos();parseExpected(18);var N;if(token()===144||token()===39||token()===40){N=parseTokenNode();if(N.kind!==144){parseExpected(144)}}parseExpected(22);var R=parseMappedTypeParameter();var j=parseOptional(127)?parseType():undefined;parseExpected(23);var $;if(token()===57||token()===39||token()===40){$=parseTokenNode();if($.kind!==57){parseExpected(57)}}var q=parseTypeAnnotation();parseSemicolon();var G=parseList(4,parseTypeMember);parseExpected(19);return finishNode(Te.createMappedTypeNode(N,R,j,$,q,G),E)}function parseTupleElementType(){var N=getNodePos();if(parseOptional(25)){return finishNode(Te.createRestTypeNode(parseType()),N)}var R=parseType();if(E.isJSDocNullableType(R)&&R.pos===R.type.pos){var j=Te.createOptionalTypeNode(R.type);E.setTextRange(j,R);j.flags=R.flags;return j}return R}function isNextTokenColonOrQuestionColon(){return nextToken()===58||token()===57&&nextToken()===58}function isTupleElementName(){if(token()===25){return E.tokenIsIdentifierOrKeyword(nextToken())&&isNextTokenColonOrQuestionColon()}return E.tokenIsIdentifierOrKeyword(token())&&isNextTokenColonOrQuestionColon()}function parseTupleElementNameOrTupleElementType(){if(lookAhead(isTupleElementName)){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseOptionalToken(25);var j=parseIdentifierName();var $=parseOptionalToken(57);parseExpected(58);var q=parseTupleElementType();var G=Te.createNamedTupleMember(R,j,$,q);return withJSDoc(finishNode(G,E),N)}return parseTupleElementType()}function parseTupleType(){var E=getNodePos();return finishNode(Te.createTupleTypeNode(parseBracketedList(21,parseTupleElementNameOrTupleElementType,22,23)),E)}function parseParenthesizedType(){var E=getNodePos();parseExpected(20);var N=parseType();parseExpected(21);return finishNode(Te.createParenthesizedType(N),E)}function parseModifiersForConstructorType(){var E;if(token()===126){var N=getNodePos();nextToken();var R=finishNode(Te.createToken(126),N);E=createNodeArray([R],N)}return E}function parseFunctionOrConstructorType(){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiersForConstructorType();var j=parseOptional(103);var $=parseTypeParameters();var q=parseParameters(4);var G=parseReturnType(38,false);var ie=j?Te.createConstructorTypeNode(R,$,q,G):Te.createFunctionTypeNode($,q,G);if(!j)ie.modifiers=R;return withJSDoc(finishNode(ie,E),N)}function parseKeywordAndNoDot(){var E=parseTokenNode();return token()===24?undefined:E}function parseLiteralTypeNode(E){var N=getNodePos();if(E){nextToken()}var R=token()===110||token()===95||token()===104?parseTokenNode():parseLiteralLikeNode(token());if(E){R=finishNode(Te.createPrefixUnaryExpression(40,R),N)}return finishNode(Te.createLiteralTypeNode(R),N)}function isStartOfTypeOfImportType(){nextToken();return token()===100}function parseImportType(){we|=1048576;var E=getNodePos();var N=parseOptional(112);parseExpected(100);parseExpected(20);var R=parseType();parseExpected(21);var j=parseOptional(24)?parseEntityNameOfTypeReference():undefined;var $=parseTypeArgumentsOfTypeReference();return finishNode(Te.createImportTypeNode(R,j,$,N),E)}function nextTokenIsNumericOrBigIntLiteral(){nextToken();return token()===8||token()===9}function parseNonArrayType(){switch(token()){case 130:case 154:case 149:case 146:case 157:case 150:case 133:case 152:case 143:case 147:return tryParse(parseKeywordAndNoDot)||parseTypeReference();case 66:R.reScanAsteriskEqualsToken();case 41:return parseJSDocAllType();case 60:R.reScanQuestionToken();case 57:return parseJSDocUnknownOrNullableType();case 98:return parseJSDocFunctionType();case 53:return parseJSDocNonNullableType();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return parseLiteralTypeNode();case 40:return lookAhead(nextTokenIsNumericOrBigIntLiteral)?parseLiteralTypeNode(true):parseTypeReference();case 114:return parseTokenNode();case 108:{var E=parseThisTypeNode();if(token()===139&&!R.hasPrecedingLineBreak()){return parseThisTypePredicate(E)}else{return E}}case 112:return lookAhead(isStartOfTypeOfImportType)?parseImportType():parseTypeQuery();case 18:return lookAhead(isStartOfMappedType)?parseMappedType():parseTypeLiteral();case 22:return parseTupleType();case 20:return parseParenthesizedType();case 100:return parseImportType();case 128:return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine)?parseAssertsTypePredicate():parseTypeReference();case 15:return parseTemplateType();default:return parseTypeReference()}}function isStartOfType(E){switch(token()){case 130:case 154:case 149:case 146:case 157:case 133:case 144:case 150:case 153:case 114:case 152:case 104:case 108:case 112:case 143:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 147:case 41:case 57:case 53:case 25:case 137:case 100:case 128:case 14:case 15:return true;case 98:return!E;case 40:return!E&&lookAhead(nextTokenIsNumericOrBigIntLiteral);case 20:return!E&&lookAhead(isStartOfParenthesizedOrFunctionType);default:return isIdentifier()}}function isStartOfParenthesizedOrFunctionType(){nextToken();return token()===21||isStartOfParameter(false)||isStartOfType()}function parsePostfixTypeOrHigher(){var E=getNodePos();var N=parseNonArrayType();while(!R.hasPrecedingLineBreak()){switch(token()){case 53:nextToken();N=finishNode(Te.createJSDocNonNullableType(N),E);break;case 57:if(lookAhead(nextTokenIsStartOfType)){return N}nextToken();N=finishNode(Te.createJSDocNullableType(N),E);break;case 22:parseExpected(22);if(isStartOfType()){var j=parseType();parseExpected(23);N=finishNode(Te.createIndexedAccessTypeNode(N,j),E)}else{parseExpected(23);N=finishNode(Te.createArrayTypeNode(N),E)}break;default:return N}}return N}function parseTypeOperator(E){var N=getNodePos();parseExpected(E);return finishNode(Te.createTypeOperatorNode(E,parseTypeOperatorOrHigher()),N)}function parseTypeParameterOfInferType(){var E=getNodePos();return finishNode(Te.createTypeParameterDeclaration(parseIdentifier(),undefined,undefined),E)}function parseInferType(){var E=getNodePos();parseExpected(137);return finishNode(Te.createInferTypeNode(parseTypeParameterOfInferType()),E)}function parseTypeOperatorOrHigher(){var E=token();switch(E){case 140:case 153:case 144:return parseTypeOperator(E);case 137:return parseInferType()}return parsePostfixTypeOrHigher()}function parseFunctionOrConstructorTypeToError(N){if(isStartOfFunctionTypeOrConstructorType()){var R=parseFunctionOrConstructorType();var j=void 0;if(E.isFunctionTypeNode(R)){j=N?E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}else{j=N?E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}parseErrorAtRange(R,j);return R}return undefined}function parseUnionOrIntersectionType(E,N,R){var j=getNodePos();var $=E===51;var q=parseOptional(E);var G=q&&parseFunctionOrConstructorTypeToError($)||N();if(token()===E||q){var ie=[G];while(parseOptional(E)){ie.push(parseFunctionOrConstructorTypeToError($)||N())}G=finishNode(R(createNodeArray(ie,j)),j)}return G}function parseIntersectionTypeOrHigher(){return parseUnionOrIntersectionType(50,parseTypeOperatorOrHigher,Te.createIntersectionTypeNode)}function parseUnionTypeOrHigher(){return parseUnionOrIntersectionType(51,parseIntersectionTypeOrHigher,Te.createUnionTypeNode)}function nextTokenIsNewKeyword(){nextToken();return token()===103}function isStartOfFunctionTypeOrConstructorType(){if(token()===29){return true}if(token()===20&&lookAhead(isUnambiguouslyStartOfFunctionType)){return true}return token()===103||token()===126&&lookAhead(nextTokenIsNewKeyword)}function skipParameterStart(){if(E.isModifierKind(token())){parseModifiers()}if(isIdentifier()||token()===108){nextToken();return true}if(token()===22||token()===18){var N=Be.length;parseIdentifierOrPattern();return N===Be.length}return false}function isUnambiguouslyStartOfFunctionType(){nextToken();if(token()===21||token()===25){return true}if(skipParameterStart()){if(token()===58||token()===27||token()===57||token()===63){return true}if(token()===21){nextToken();if(token()===38){return true}}}return false}function parseTypeOrTypePredicate(){var E=getNodePos();var N=isIdentifier()&&tryParse(parseTypePredicatePrefix);var R=parseType();if(N){return finishNode(Te.createTypePredicateNode(undefined,N,R),E)}else{return R}}function parseTypePredicatePrefix(){var E=parseIdentifier();if(token()===139&&!R.hasPrecedingLineBreak()){nextToken();return E}}function parseAssertsTypePredicate(){var E=getNodePos();var N=parseExpectedToken(128);var R=token()===108?parseThisTypeNode():parseIdentifier();var j=parseOptional(139)?parseType():undefined;return finishNode(Te.createTypePredicateNode(N,R,j),E)}function parseType(){return doOutsideOfContext(40960,parseTypeWorker)}function parseTypeWorker(E){if(isStartOfFunctionTypeOrConstructorType()){return parseFunctionOrConstructorType()}var N=getNodePos();var j=parseUnionTypeOrHigher();if(!E&&!R.hasPrecedingLineBreak()&&parseOptional(94)){var $=parseTypeWorker(true);parseExpected(57);var q=parseTypeWorker();parseExpected(58);var G=parseTypeWorker();return finishNode(Te.createConditionalTypeNode(j,$,q,G),N)}return j}function parseTypeAnnotation(){return parseOptional(58)?parseType():undefined}function isStartOfLeftHandSideExpression(){switch(token()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return true;case 100:return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);default:return isIdentifier()}}function isStartOfExpression(){if(isStartOfLeftHandSideExpression()){return true}switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 132:case 125:case 80:return true;default:if(isBinaryOperator()){return true}return isIdentifier()}}function isStartOfExpressionStatement(){return token()!==18&&token()!==98&&token()!==84&&token()!==59&&isStartOfExpression()}function parseExpression(){var E=inDecoratorContext();if(E){setDecoratorContext(false)}var N=getNodePos();var R=parseAssignmentExpressionOrHigher();var j;while(j=parseOptionalToken(27)){R=makeBinaryExpression(R,j,parseAssignmentExpressionOrHigher(),N)}if(E){setDecoratorContext(true)}return R}function parseInitializer(){return parseOptional(63)?parseAssignmentExpressionOrHigher():undefined}function parseAssignmentExpressionOrHigher(){if(isYieldExpression()){return parseYieldExpression()}var N=tryParseParenthesizedArrowFunctionExpression()||tryParseAsyncSimpleArrowFunctionExpression();if(N){return N}var R=getNodePos();var j=parseBinaryExpressionOrHigher(0);if(j.kind===79&&token()===38){return parseSimpleArrowFunctionExpression(R,j,undefined)}if(E.isLeftHandSideExpression(j)&&E.isAssignmentOperator(reScanGreaterToken())){return makeBinaryExpression(j,parseTokenNode(),parseAssignmentExpressionOrHigher(),R)}return parseConditionalExpressionRest(j,R)}function isYieldExpression(){if(token()===125){if(inYieldContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function nextTokenIsIdentifierOnSameLine(){nextToken();return!R.hasPrecedingLineBreak()&&isIdentifier()}function parseYieldExpression(){var E=getNodePos();nextToken();if(!R.hasPrecedingLineBreak()&&(token()===41||isStartOfExpression())){return finishNode(Te.createYieldExpression(parseOptionalToken(41),parseAssignmentExpressionOrHigher()),E)}else{return finishNode(Te.createYieldExpression(undefined,undefined),E)}}function parseSimpleArrowFunctionExpression(N,R,j){E.Debug.assert(token()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var $=Te.createParameterDeclaration(undefined,undefined,undefined,R,undefined,undefined,undefined);finishNode($,R.pos);var q=createNodeArray([$],$.pos,$.end);var G=parseExpectedToken(38);var ie=parseArrowFunctionExpressionBody(!!j);var ae=Te.createArrowFunction(j,undefined,q,undefined,G,ie);return addJSDocComment(finishNode(ae,N))}function tryParseParenthesizedArrowFunctionExpression(){var E=isParenthesizedArrowFunctionExpression();if(E===0){return undefined}return E===1?parseParenthesizedArrowFunctionExpression(true):tryParse(parsePossibleParenthesizedArrowFunctionExpression)}function isParenthesizedArrowFunctionExpression(){if(token()===20||token()===29||token()===131){return lookAhead(isParenthesizedArrowFunctionExpressionWorker)}if(token()===38){return 1}return 0}function isParenthesizedArrowFunctionExpressionWorker(){if(token()===131){nextToken();if(R.hasPrecedingLineBreak()){return 0}if(token()!==20&&token()!==29){return 0}}var N=token();var j=nextToken();if(N===20){if(j===21){var $=nextToken();switch($){case 38:case 58:case 18:return 1;default:return 0}}if(j===22||j===18){return 2}if(j===25){return 1}if(E.isModifierKind(j)&&j!==131&&lookAhead(nextTokenIsIdentifier)){return 1}if(!isIdentifier()&&j!==108){return 0}switch(nextToken()){case 58:return 1;case 57:nextToken();if(token()===58||token()===27||token()===63||token()===21){return 1}return 0;case 27:case 63:case 21:return 2}return 0}else{E.Debug.assert(N===29);if(!isIdentifier()){return 0}if(Le===1){var q=lookAhead((function(){var E=nextToken();if(E===94){var N=nextToken();switch(N){case 63:case 31:return false;default:return true}}else if(E===27||E===63){return true}return false}));if(q){return 1}return 0}return 2}}function parsePossibleParenthesizedArrowFunctionExpression(){var N=R.getTokenPos();if(Ge===null||Ge===void 0?void 0:Ge.has(N)){return undefined}var j=parseParenthesizedArrowFunctionExpression(false);if(!j){(Ge||(Ge=new E.Set)).add(N)}return j}function tryParseAsyncSimpleArrowFunctionExpression(){if(token()===131){if(lookAhead(isUnParenthesizedAsyncArrowFunctionWorker)===1){var E=getNodePos();var N=parseModifiersForArrowFunction();var R=parseBinaryExpressionOrHigher(0);return parseSimpleArrowFunctionExpression(E,R,N)}}return undefined}function isUnParenthesizedAsyncArrowFunctionWorker(){if(token()===131){nextToken();if(R.hasPrecedingLineBreak()||token()===38){return 0}var E=parseBinaryExpressionOrHigher(0);if(!R.hasPrecedingLineBreak()&&E.kind===79&&token()===38){return 1}}return 0}function parseParenthesizedArrowFunctionExpression(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiersForArrowFunction();var q=E.some($,E.isAsyncModifier)?2:0;var G=parseTypeParameters();var ie;if(!parseExpected(20)){if(!N){return undefined}ie=createMissingList()}else{ie=parseParametersWorker(q);if(!parseExpected(21)&&!N){return undefined}}var ae=parseReturnType(58,false);if(ae&&!N&&typeHasArrowFunctionBlockingParseError(ae)){return undefined}var ce=ae;while((ce===null||ce===void 0?void 0:ce.kind)===190){ce=ce.type}var le=ce&&E.isJSDocFunctionType(ce);if(!N&&token()!==38&&(le||token()!==18)){return undefined}var _e=token();var Ee=parseExpectedToken(38);var we=_e===38||_e===18?parseArrowFunctionExpressionBody(E.some($,E.isAsyncModifier)):parseIdentifier();var Ie=Te.createArrowFunction($,G,ie,ae,Ee,we);return withJSDoc(finishNode(Ie,R),j)}function parseArrowFunctionExpressionBody(E){if(token()===18){return parseFunctionBlock(E?2:0)}if(token()!==26&&token()!==98&&token()!==84&&isStartOfStatement()&&!isStartOfExpressionStatement()){return parseFunctionBlock(16|(E?2:0))}var N=Qe;Qe=false;var R=E?doInAwaitContext(parseAssignmentExpressionOrHigher):doOutsideOfAwaitContext(parseAssignmentExpressionOrHigher);Qe=N;return R}function parseConditionalExpressionRest(N,R){var j=parseOptionalToken(57);if(!j){return N}var q;return finishNode(Te.createConditionalExpression(N,j,doOutsideOfContext($,parseAssignmentExpressionOrHigher),q=parseExpectedToken(58),E.nodeIsPresent(q)?parseAssignmentExpressionOrHigher():createMissingNode(79,false,E.Diagnostics._0_expected,E.tokenToString(58))),R)}function parseBinaryExpressionOrHigher(E){var N=getNodePos();var R=parseUnaryExpressionOrHigher();return parseBinaryExpressionRest(E,R,N)}function isInOrOfKeyword(E){return E===101||E===159}function parseBinaryExpressionRest(N,j,$){while(true){reScanGreaterToken();var q=E.getBinaryOperatorPrecedence(token());var G=token()===42?q>=N:q>N;if(!G){break}if(token()===101&&inDisallowInContext()){break}if(token()===127){if(R.hasPrecedingLineBreak()){break}else{nextToken();j=makeAsExpression(j,parseType())}}else{j=makeBinaryExpression(j,parseTokenNode(),parseBinaryExpressionOrHigher(q),$)}}return j}function isBinaryOperator(){if(inDisallowInContext()&&token()===101){return false}return E.getBinaryOperatorPrecedence(token())>0}function makeBinaryExpression(E,N,R,j){return finishNode(Te.createBinaryExpression(E,N,R),j)}function makeAsExpression(E,N){return finishNode(Te.createAsExpression(E,N),E.pos)}function parsePrefixUnaryExpression(){var E=getNodePos();return finishNode(Te.createPrefixUnaryExpression(token(),nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseDeleteExpression(){var E=getNodePos();return finishNode(Te.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseTypeOfExpression(){var E=getNodePos();return finishNode(Te.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseVoidExpression(){var E=getNodePos();return finishNode(Te.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function isAwaitExpression(){if(token()===132){if(inAwaitContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function parseAwaitExpression(){var E=getNodePos();return finishNode(Te.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseUnaryExpressionOrHigher(){if(isUpdateExpression()){var N=getNodePos();var R=parseUpdateExpression();return token()===42?parseBinaryExpressionRest(E.getBinaryOperatorPrecedence(token()),R,N):R}var j=token();var $=parseSimpleUnaryExpression();if(token()===42){var N=E.skipTrivia(Ie,$.pos);var q=$.end;if($.kind===210){parseErrorAt(N,q,E.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses)}else{parseErrorAt(N,q,E.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,E.tokenToString(j))}}return $}function parseSimpleUnaryExpression(){switch(token()){case 39:case 40:case 54:case 53:return parsePrefixUnaryExpression();case 89:return parseDeleteExpression();case 112:return parseTypeOfExpression();case 114:return parseVoidExpression();case 29:return parseTypeAssertion();case 132:if(isAwaitExpression()){return parseAwaitExpression()}default:return parseUpdateExpression()}}function isUpdateExpression(){switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 132:return false;case 29:if(Le!==1){return false}default:return true}}function parseUpdateExpression(){if(token()===45||token()===46){var N=getNodePos();return finishNode(Te.createPrefixUnaryExpression(token(),nextTokenAnd(parseLeftHandSideExpressionOrHigher)),N)}else if(Le===1&&token()===29&&lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)){return parseJsxElementOrSelfClosingElementOrFragment(true)}var j=parseLeftHandSideExpressionOrHigher();E.Debug.assert(E.isLeftHandSideExpression(j));if((token()===45||token()===46)&&!R.hasPrecedingLineBreak()){var $=token();nextToken();return finishNode(Te.createPostfixUnaryExpression(j,$),j.pos)}return j}function parseLeftHandSideExpressionOrHigher(){var E=getNodePos();var N;if(token()===100){if(lookAhead(nextTokenIsOpenParenOrLessThan)){we|=1048576;N=parseTokenNode()}else if(lookAhead(nextTokenIsDot)){nextToken();nextToken();N=finishNode(Te.createMetaProperty(100,parseIdentifierName()),E);we|=2097152}else{N=parseMemberExpressionOrHigher()}}else{N=token()===106?parseSuperExpression():parseMemberExpressionOrHigher()}return parseCallExpressionRest(E,N)}function parseMemberExpressionOrHigher(){var E=getNodePos();var N=parsePrimaryExpression();return parseMemberExpressionRest(E,N,true)}function parseSuperExpression(){var N=getNodePos();var R=parseTokenNode();if(token()===29){var j=getNodePos();var $=tryParse(parseTypeArgumentsInExpression);if($!==undefined){parseErrorAt(j,getNodePos(),E.Diagnostics.super_may_not_use_type_arguments)}}if(token()===20||token()===24||token()===22){return R}parseExpectedToken(24,E.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);return finishNode(Te.createPropertyAccessExpression(R,parseRightSideOfDot(true,true)),N)}function parseJsxElementOrSelfClosingElementOrFragment(N,R,$){var q=getNodePos();var G=parseJsxOpeningOrSelfClosingElementOrOpeningFragment(N);var ie;if(G.kind===279){var ae=parseJsxChildren(G);var ce=void 0;var le=ae[ae.length-1];if((le===null||le===void 0?void 0:le.kind)===277&&!tagNamesAreEquivalent(le.openingElement.tagName,le.closingElement.tagName)&&tagNamesAreEquivalent(G.tagName,le.closingElement.tagName)){var _e=le.children.end;var Ee=finishNode(Te.createJsxElement(le.openingElement,le.children,finishNode(Te.createJsxClosingElement(finishNode(Te.createIdentifier(""),_e,_e)),_e,_e)),le.openingElement.pos,_e);ae=createNodeArray(j(j([],ae.slice(0,ae.length-1),true),[Ee],false),ae.pos,_e);ce=le.closingElement}else{ce=parseJsxClosingElement(G,N);if(!tagNamesAreEquivalent(G.tagName,ce.tagName)){if($&&E.isJsxOpeningElement($)&&tagNamesAreEquivalent(ce.tagName,$.tagName)){parseErrorAtRange(G.tagName,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,G.tagName))}else{parseErrorAtRange(ce.tagName,E.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,E.getTextOfNodeFromSourceText(Ie,G.tagName))}}}ie=finishNode(Te.createJsxElement(G,ae,ce),q)}else if(G.kind===282){ie=finishNode(Te.createJsxFragment(G,parseJsxChildren(G),parseJsxClosingFragment(N)),q)}else{E.Debug.assert(G.kind===278);ie=G}if(N&&token()===29){var we=typeof R==="undefined"?ie.pos:R;var Ne=tryParse((function(){return parseJsxElementOrSelfClosingElementOrFragment(true,we)}));if(Ne){var Me=createMissingNode(27,false);E.setTextRangePosWidth(Me,Ne.pos,0);parseErrorAt(E.skipTrivia(Ie,we),Ne.end,E.Diagnostics.JSX_expressions_must_have_one_parent_element);return finishNode(Te.createBinaryExpression(ie,Me,Ne),q)}}return ie}function parseJsxText(){var E=getNodePos();var N=Te.createJsxText(R.getTokenValue(),ze===12);ze=R.scanJsxToken();return finishNode(N,E)}function parseJsxChild(N,R){switch(R){case 1:if(E.isJsxOpeningFragment(N)){parseErrorAtRange(N,E.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag)}else{var j=N.tagName;var $=E.skipTrivia(Ie,j.pos);parseErrorAt($,j.end,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,N.tagName))}return undefined;case 30:case 7:return undefined;case 11:case 12:return parseJsxText();case 18:return parseJsxExpression(false);case 29:return parseJsxElementOrSelfClosingElementOrFragment(false,undefined,N);default:return E.Debug.assertNever(R)}}function parseJsxChildren(N){var j=[];var $=getNodePos();var q=He;He|=1<<14;while(true){var G=parseJsxChild(N,ze=R.reScanJsxToken());if(!G)break;j.push(G);if(E.isJsxOpeningElement(N)&&(G===null||G===void 0?void 0:G.kind)===277&&!tagNamesAreEquivalent(G.openingElement.tagName,G.closingElement.tagName)&&tagNamesAreEquivalent(N.tagName,G.closingElement.tagName)){break}}He=q;return createNodeArray(j,$)}function parseJsxAttributes(){var E=getNodePos();return finishNode(Te.createJsxAttributes(parseList(13,parseJsxAttribute)),E)}function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(E){var N=getNodePos();parseExpected(29);if(token()===31){scanJsxText();return finishNode(Te.createJsxOpeningFragment(),N)}var R=parseJsxElementName();var j=(Ke&131072)===0?tryParseTypeArguments():undefined;var $=parseJsxAttributes();var q;if(token()===31){scanJsxText();q=Te.createJsxOpeningElement(R,j,$)}else{parseExpected(43);if(parseExpected(31,undefined,false)){if(E){nextToken()}else{scanJsxText()}}q=Te.createJsxSelfClosingElement(R,j,$)}return finishNode(q,N)}function parseJsxElementName(){var E=getNodePos();scanJsxIdentifier();var N=token()===108?parseTokenNode():parseIdentifierName();while(parseOptional(24)){N=finishNode(Te.createPropertyAccessExpression(N,parseRightSideOfDot(true,false)),E)}return N}function parseJsxExpression(E){var N=getNodePos();if(!parseExpected(18)){return undefined}var R;var j;if(token()!==19){R=parseOptionalToken(25);j=parseExpression()}if(E){parseExpected(19)}else{if(parseExpected(19,undefined,false)){scanJsxText()}}return finishNode(Te.createJsxExpression(R,j),N)}function parseJsxAttribute(){if(token()===18){return parseJsxSpreadAttribute()}scanJsxIdentifier();var E=getNodePos();return finishNode(Te.createJsxAttribute(parseIdentifierName(),token()!==63?undefined:scanJsxAttributeValue()===10?parseLiteralNode():parseJsxExpression(true)),E)}function parseJsxSpreadAttribute(){var E=getNodePos();parseExpected(18);parseExpected(25);var N=parseExpression();parseExpected(19);return finishNode(Te.createJsxSpreadAttribute(N),E)}function parseJsxClosingElement(E,N){var R=getNodePos();parseExpected(30);var j=parseJsxElementName();if(parseExpected(31,undefined,false)){if(N||!tagNamesAreEquivalent(E.tagName,j)){nextToken()}else{scanJsxText()}}return finishNode(Te.createJsxClosingElement(j),R)}function parseJsxClosingFragment(N){var R=getNodePos();parseExpected(30);if(E.tokenIsIdentifierOrKeyword(token())){parseErrorAtRange(parseJsxElementName(),E.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment)}if(parseExpected(31,undefined,false)){if(N){nextToken()}else{scanJsxText()}}return finishNode(Te.createJsxJsxClosingFragment(),R)}function parseTypeAssertion(){var E=getNodePos();parseExpected(29);var N=parseType();parseExpected(31);var R=parseSimpleUnaryExpression();return finishNode(Te.createTypeAssertion(N,R),E)}function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate(){nextToken();return E.tokenIsIdentifierOrKeyword(token())||token()===22||isTemplateStartOfTaggedTemplate()}function isStartOfOptionalPropertyOrElementAccessChain(){return token()===28&&lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate)}function tryReparseOptionalChain(N){if(N.flags&32){return true}if(E.isNonNullExpression(N)){var R=N.expression;while(E.isNonNullExpression(R)&&!(R.flags&32)){R=R.expression}if(R.flags&32){while(E.isNonNullExpression(N)){N.flags|=32;N=N.expression}return true}}return false}function parsePropertyAccessExpressionRest(N,R,j){var $=parseRightSideOfDot(true,true);var q=j||tryReparseOptionalChain(R);var G=q?Te.createPropertyAccessChain(R,j,$):Te.createPropertyAccessExpression(R,$);if(q&&E.isPrivateIdentifier(G.name)){parseErrorAtRange(G.name,E.Diagnostics.An_optional_chain_cannot_contain_private_identifiers)}return finishNode(G,N)}function parseElementAccessExpressionRest(N,R,j){var $;if(token()===23){$=createMissingNode(79,true,E.Diagnostics.An_element_access_expression_should_take_an_argument)}else{var q=allowInAnd(parseExpression);if(E.isStringOrNumericLiteralLike(q)){q.text=internIdentifier(q.text)}$=q}parseExpected(23);var G=j||tryReparseOptionalChain(R)?Te.createElementAccessChain(R,j,$):Te.createElementAccessExpression(R,$);return finishNode(G,N)}function parseMemberExpressionRest(N,j,$){while(true){var q=void 0;var G=false;if($&&isStartOfOptionalPropertyOrElementAccessChain()){q=parseExpectedToken(28);G=E.tokenIsIdentifierOrKeyword(token())}else{G=parseOptional(24)}if(G){j=parsePropertyAccessExpressionRest(N,j,q);continue}if(!q&&token()===53&&!R.hasPrecedingLineBreak()){nextToken();j=finishNode(Te.createNonNullExpression(j),N);continue}if((q||!inDecoratorContext())&&parseOptional(22)){j=parseElementAccessExpressionRest(N,j,q);continue}if(isTemplateStartOfTaggedTemplate()){j=parseTaggedTemplateRest(N,j,q,undefined);continue}return j}}function isTemplateStartOfTaggedTemplate(){return token()===14||token()===15}function parseTaggedTemplateRest(E,N,R,j){var $=Te.createTaggedTemplateExpression(N,j,token()===14?(reScanTemplateHeadOrNoSubstitutionTemplate(),parseLiteralNode()):parseTemplateExpression(true));if(R||N.flags&32){$.flags|=32}$.questionDotToken=R;return finishNode($,E)}function parseCallExpressionRest(N,R){while(true){R=parseMemberExpressionRest(N,R,true);var j=parseOptionalToken(28);if((Ke&131072)===0&&(token()===29||token()===47)){var $=tryParse(parseTypeArgumentsInExpression);if($){if(isTemplateStartOfTaggedTemplate()){R=parseTaggedTemplateRest(N,R,j,$);continue}var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Te.createCallChain(R,j,$,q):Te.createCallExpression(R,$,q);R=finishNode(G,N);continue}}else if(token()===20){var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Te.createCallChain(R,j,undefined,q):Te.createCallExpression(R,undefined,q);R=finishNode(G,N);continue}if(j){var ie=createMissingNode(79,false,E.Diagnostics.Identifier_expected);R=finishNode(Te.createPropertyAccessChain(R,j,ie),N)}break}return R}function parseArgumentList(){parseExpected(20);var E=parseDelimitedList(11,parseArgumentExpression);parseExpected(21);return E}function parseTypeArgumentsInExpression(){if((Ke&131072)!==0){return undefined}if(reScanLessThanToken()!==29){return undefined}nextToken();var E=parseDelimitedList(20,parseType);if(!parseExpected(31)){return undefined}return E&&canFollowTypeArgumentsInExpression()?E:undefined}function canFollowTypeArgumentsInExpression(){switch(token()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return true;case 27:case 18:default:return false}}function parsePrimaryExpression(){switch(token()){case 8:case 9:case 10:case 14:return parseLiteralNode();case 108:case 106:case 104:case 110:case 95:return parseTokenNode();case 20:return parseParenthesizedExpression();case 22:return parseArrayLiteralExpression();case 18:return parseObjectLiteralExpression();case 131:if(!lookAhead(nextTokenIsFunctionKeywordOnSameLine)){break}return parseFunctionExpression();case 84:return parseClassExpression();case 98:return parseFunctionExpression();case 103:return parseNewExpressionOrNewDotTarget();case 43:case 68:if(reScanSlashToken()===13){return parseLiteralNode()}break;case 15:return parseTemplateExpression(false);case 80:return parsePrivateIdentifier()}return parseIdentifier(E.Diagnostics.Expression_expected)}function parseParenthesizedExpression(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);return withJSDoc(finishNode(Te.createParenthesizedExpression(R),E),N)}function parseSpreadElement(){var E=getNodePos();parseExpected(25);var N=parseAssignmentExpressionOrHigher();return finishNode(Te.createSpreadElement(N),E)}function parseArgumentOrArrayLiteralElement(){return token()===25?parseSpreadElement():token()===27?finishNode(Te.createOmittedExpression(),getNodePos()):parseAssignmentExpressionOrHigher()}function parseArgumentExpression(){return doOutsideOfContext($,parseArgumentOrArrayLiteralElement)}function parseArrayLiteralExpression(){var E=getNodePos();parseExpected(22);var N=R.hasPrecedingLineBreak();var j=parseDelimitedList(15,parseArgumentOrArrayLiteralElement);parseExpected(23);return finishNode(Te.createArrayLiteralExpression(j,N),E)}function parseObjectLiteralElement(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(parseOptionalToken(25)){var R=parseAssignmentExpressionOrHigher();return withJSDoc(finishNode(Te.createSpreadAssignment(R),E),N)}var j=parseDecorators();var $=parseModifiers();if(parseContextualModifier(136)){return parseAccessorDeclaration(E,N,j,$,171)}if(parseContextualModifier(148)){return parseAccessorDeclaration(E,N,j,$,172)}var q=parseOptionalToken(41);var G=isIdentifier();var ie=parsePropertyName();var ae=parseOptionalToken(57);var ce=parseOptionalToken(53);if(q||token()===20||token()===29){return parseMethodDeclaration(E,N,j,$,q,ie,ae,ce)}var le;var _e=G&&token()!==58;if(_e){var Ee=parseOptionalToken(63);var we=Ee?allowInAnd(parseAssignmentExpressionOrHigher):undefined;le=Te.createShorthandPropertyAssignment(ie,we);le.equalsToken=Ee}else{parseExpected(58);var Ie=allowInAnd(parseAssignmentExpressionOrHigher);le=Te.createPropertyAssignment(ie,Ie)}le.decorators=j;le.modifiers=$;le.questionToken=ae;le.exclamationToken=ce;return withJSDoc(finishNode(le,E),N)}function parseObjectLiteralExpression(){var N=getNodePos();var j=R.getTokenPos();parseExpected(18);var $=R.hasPrecedingLineBreak();var q=parseDelimitedList(12,parseObjectLiteralElement,true);if(!parseExpected(19)){var G=E.lastOrUndefined(Be);if(G&&G.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(G,E.createDetachedDiagnostic(Ee,j,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}return finishNode(Te.createObjectLiteralExpression(q,$),N)}function parseFunctionExpression(){var N=inDecoratorContext();setDecoratorContext(false);var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiers();parseExpected(98);var q=parseOptionalToken(41);var G=q?1:0;var ie=E.some($,E.isAsyncModifier)?2:0;var ae=G&&ie?doInYieldAndAwaitContext(parseOptionalBindingIdentifier):G?doInYieldContext(parseOptionalBindingIdentifier):ie?doInAwaitContext(parseOptionalBindingIdentifier):parseOptionalBindingIdentifier();var ce=parseTypeParameters();var le=parseParameters(G|ie);var _e=parseReturnType(58,false);var Ee=parseFunctionBlock(G|ie);setDecoratorContext(N);var we=Te.createFunctionExpression($,q,ae,ce,le,_e,Ee);return withJSDoc(finishNode(we,R),j)}function parseOptionalBindingIdentifier(){return isBindingIdentifier()?parseBindingIdentifier():undefined}function parseNewExpressionOrNewDotTarget(){var N=getNodePos();parseExpected(103);if(parseOptional(24)){var j=parseIdentifierName();return finishNode(Te.createMetaProperty(103,j),N)}var $=getNodePos();var q=parsePrimaryExpression();var G;while(true){q=parseMemberExpressionRest($,q,false);G=tryParse(parseTypeArgumentsInExpression);if(isTemplateStartOfTaggedTemplate()){E.Debug.assert(!!G,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'");q=parseTaggedTemplateRest($,q,undefined,G);G=undefined}break}var ie;if(token()===20){ie=parseArgumentList()}else if(G){parseErrorAt(N,R.getStartPos(),E.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list)}return finishNode(Te.createNewExpression(q,G,ie),N)}function parseBlock(N,j){var $=getNodePos();var q=hasPrecedingJSDocComment();var G=R.getTokenPos();if(parseExpected(18,j)||N){var ie=R.hasPrecedingLineBreak();var ae=parseList(1,parseStatement);if(!parseExpected(19)){var ce=E.lastOrUndefined(Be);if(ce&&ce.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(ce,E.createDetachedDiagnostic(Ee,G,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}var le=withJSDoc(finishNode(Te.createBlock(ae,ie),$),q);if(token()===63){parseErrorAtCurrentToken(E.Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses);nextToken()}return le}else{var ae=createMissingList();return withJSDoc(finishNode(Te.createBlock(ae,undefined),$),q)}}function parseFunctionBlock(E,N){var R=inYieldContext();setYieldContext(!!(E&1));var j=inAwaitContext();setAwaitContext(!!(E&2));var $=Qe;Qe=false;var q=inDecoratorContext();if(q){setDecoratorContext(false)}var G=parseBlock(!!(E&16),N);if(q){setDecoratorContext(true)}Qe=$;setYieldContext(R);setAwaitContext(j);return G}function parseEmptyStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(26);return withJSDoc(finishNode(Te.createEmptyStatement(),E),N)}function parseIfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(99);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();var $=parseOptional(91)?parseStatement():undefined;return withJSDoc(finishNode(Te.createIfStatement(R,j,$),E),N)}function parseDoStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(90);var R=parseStatement();parseExpected(115);parseExpected(20);var j=allowInAnd(parseExpression);parseExpected(21);parseOptional(26);return withJSDoc(finishNode(Te.createDoStatement(R,j),E),N)}function parseWhileStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(115);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();return withJSDoc(finishNode(Te.createWhileStatement(R,j),E),N)}function parseForOrForInOrForOfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(97);var R=parseOptionalToken(132);parseExpected(20);var j;if(token()!==26){if(token()===113||token()===119||token()===85){j=parseVariableDeclarationList(true)}else{j=disallowInAnd(parseExpression)}}var $;if(R?parseExpected(159):parseOptional(159)){var q=allowInAnd(parseAssignmentExpressionOrHigher);parseExpected(21);$=Te.createForOfStatement(R,j,q,parseStatement())}else if(parseOptional(101)){var q=allowInAnd(parseExpression);parseExpected(21);$=Te.createForInStatement(j,q,parseStatement())}else{parseExpected(26);var G=token()!==26&&token()!==21?allowInAnd(parseExpression):undefined;parseExpected(26);var ie=token()!==21?allowInAnd(parseExpression):undefined;parseExpected(21);$=Te.createForStatement(j,G,ie,parseStatement())}return withJSDoc(finishNode($,E),N)}function parseBreakOrContinueStatement(E){var N=getNodePos();var R=hasPrecedingJSDocComment();parseExpected(E===245?81:86);var j=canParseSemicolon()?undefined:parseIdentifier();parseSemicolon();var $=E===245?Te.createBreakStatement(j):Te.createContinueStatement(j);return withJSDoc(finishNode($,N),R)}function parseReturnStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(105);var R=canParseSemicolon()?undefined:allowInAnd(parseExpression);parseSemicolon();return withJSDoc(finishNode(Te.createReturnStatement(R),E),N)}function parseWithStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(116);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=doInsideOfContext(16777216,parseStatement);return withJSDoc(finishNode(Te.createWithStatement(R,j),E),N)}function parseCaseClause(){var E=getNodePos();parseExpected(82);var N=allowInAnd(parseExpression);parseExpected(58);var R=parseList(3,parseStatement);return finishNode(Te.createCaseClause(N,R),E)}function parseDefaultClause(){var E=getNodePos();parseExpected(88);parseExpected(58);var N=parseList(3,parseStatement);return finishNode(Te.createDefaultClause(N),E)}function parseCaseOrDefaultClause(){return token()===82?parseCaseClause():parseDefaultClause()}function parseCaseBlock(){var E=getNodePos();parseExpected(18);var N=parseList(2,parseCaseOrDefaultClause);parseExpected(19);return finishNode(Te.createCaseBlock(N),E)}function parseSwitchStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(107);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseCaseBlock();return withJSDoc(finishNode(Te.createSwitchStatement(R,j),E),N)}function parseThrowStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(109);var j=R.hasPrecedingLineBreak()?undefined:allowInAnd(parseExpression);if(j===undefined){qe++;j=finishNode(Te.createIdentifier(""),getNodePos())}if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(j)}return withJSDoc(finishNode(Te.createThrowStatement(j),E),N)}function parseTryStatement(){var N=getNodePos();var R=hasPrecedingJSDocComment();parseExpected(111);var j=parseBlock(false);var $=token()===83?parseCatchClause():undefined;var q;if(!$||token()===96){parseExpected(96,E.Diagnostics.catch_or_finally_expected);q=parseBlock(false)}return withJSDoc(finishNode(Te.createTryStatement(j,$,q),N),R)}function parseCatchClause(){var E=getNodePos();parseExpected(83);var N;if(parseOptional(20)){N=parseVariableDeclaration();parseExpected(21)}else{N=undefined}var R=parseBlock(false);return finishNode(Te.createCatchClause(N,R),E)}function parseDebuggerStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(87);parseSemicolon();return withJSDoc(finishNode(Te.createDebuggerStatement(),E),N)}function parseExpressionOrLabeledStatement(){var N=getNodePos();var R=hasPrecedingJSDocComment();var j;var $=token()===20;var q=allowInAnd(parseExpression);if(E.isIdentifier(q)&&parseOptional(58)){j=Te.createLabeledStatement(q,parseStatement())}else{if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(q)}j=Te.createExpressionStatement(q);if($){R=false}}return withJSDoc(finishNode(j,N),R)}function nextTokenIsIdentifierOrKeywordOnSameLine(){nextToken();return E.tokenIsIdentifierOrKeyword(token())&&!R.hasPrecedingLineBreak()}function nextTokenIsClassKeywordOnSameLine(){nextToken();return token()===84&&!R.hasPrecedingLineBreak()}function nextTokenIsFunctionKeywordOnSameLine(){nextToken();return token()===98&&!R.hasPrecedingLineBreak()}function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine(){nextToken();return(E.tokenIsIdentifierOrKeyword(token())||token()===8||token()===9||token()===10)&&!R.hasPrecedingLineBreak()}function isDeclaration(){while(true){switch(token()){case 113:case 119:case 85:case 98:case 84:case 92:return true;case 118:case 151:return nextTokenIsIdentifierOnSameLine();case 141:case 142:return nextTokenIsIdentifierOrStringLiteralOnSameLine();case 126:case 131:case 135:case 121:case 122:case 123:case 144:nextToken();if(R.hasPrecedingLineBreak()){return false}continue;case 156:nextToken();return token()===18||token()===79||token()===93;case 100:nextToken();return token()===10||token()===41||token()===18||E.tokenIsIdentifierOrKeyword(token());case 93:var N=nextToken();if(N===151){N=lookAhead(nextToken)}if(N===63||N===41||N===18||N===88||N===127){return true}continue;case 124:nextToken();continue;default:return false}}}function isStartOfDeclaration(){return lookAhead(isDeclaration)}function isStartOfStatement(){switch(token()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return true;case 100:return isStartOfDeclaration()||lookAhead(nextTokenIsOpenParenOrLessThanOrDot);case 85:case 93:return isStartOfDeclaration();case 131:case 135:case 118:case 141:case 142:case 151:case 156:return true;case 123:case 121:case 122:case 124:case 144:return isStartOfDeclaration()||!lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);default:return isStartOfExpression()}}function nextTokenIsBindingIdentifierOrStartOfDestructuring(){nextToken();return isBindingIdentifier()||token()===18||token()===22}function isLetDeclaration(){return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring)}function parseStatement(){switch(token()){case 26:return parseEmptyStatement();case 18:return parseBlock(false);case 113:return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 119:if(isLetDeclaration()){return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined)}break;case 98:return parseFunctionDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 84:return parseClassDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 99:return parseIfStatement();case 90:return parseDoStatement();case 115:return parseWhileStatement();case 97:return parseForOrForInOrForOfStatement();case 86:return parseBreakOrContinueStatement(244);case 81:return parseBreakOrContinueStatement(245);case 105:return parseReturnStatement();case 116:return parseWithStatement();case 107:return parseSwitchStatement();case 109:return parseThrowStatement();case 111:case 83:case 96:return parseTryStatement();case 87:return parseDebuggerStatement();case 59:return parseDeclaration();case 131:case 118:case 151:case 141:case 142:case 135:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 144:case 156:if(isStartOfDeclaration()){return parseDeclaration()}break}return parseExpressionOrLabeledStatement()}function isDeclareModifier(E){return E.kind===135}function parseDeclaration(){var N=E.some(lookAhead((function(){return parseDecorators(),parseModifiers()})),isDeclareModifier);if(N){var R=tryReuseAmbientDeclaration();if(R){return R}}var j=getNodePos();var $=hasPrecedingJSDocComment();var q=parseDecorators();var G=parseModifiers();if(N){for(var ie=0,ae=G;ie=0);E.Debug.assert(N<=q);E.Debug.assert(q<=$.length);if(!isJSDocLikeText($,N)){return undefined}var G;var ie;var ae;var ce;var le;var _e=[];var we=[];return R.scanRange(N+3,j-5,(function(){var j=1;var Ee;var Ie=N-($.lastIndexOf("\n",N)+1)+4;function pushComment(E){if(!Ee){Ee=Ie}_e.push(E);Ie+=E.length}nextTokenJSDoc();while(parseOptionalJsdoc(5));if(parseOptionalJsdoc(4)){j=0;Ie=0}e:while(true){switch(token()){case 59:if(j===0||j===1){removeTrailingWhitespace(_e);if(!le)le=getNodePos();addTag(parseTag(Ie));j=0;Ee=undefined}else{pushComment(R.getTokenText())}break;case 4:_e.push(R.getTokenText());j=0;Ie=0;break;case 41:var Ne=R.getTokenText();if(j===1||j===2){j=2;pushComment(Ne)}else{j=1;Ie+=Ne.length}break;case 5:var Me=R.getTokenText();if(j===2){_e.push(Me)}else if(Ee!==undefined&&Ie+Me.length>Ee){_e.push(Me.slice(Ee-Ie))}Ie+=Me.length;break;case 1:break e;case 18:j=2;var Le=R.getStartPos();var Be=R.getTextPos()-1;var je=parseJSDocLink(Be);if(je){if(!ce){removeLeadingNewlines(_e)}we.push(finishNode(Te.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,Le));we.push(je);_e=[];ce=R.getTextPos();break}default:j=2;pushComment(R.getTokenText());break}nextTokenJSDoc()}removeTrailingWhitespace(_e);if(we.length&&_e.length){we.push(finishNode(Te.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,le))}if(we.length&&G)E.Debug.assertIsDefined(le,"having parsed tags implies that the end of the comment span should be set");var Ue=G&&createNodeArray(G,ie,ae);return finishNode(Te.createJSDocComment(we.length?createNodeArray(we,N,le):_e.length?_e.join(""):undefined,Ue),N,q)}));function removeLeadingNewlines(E){while(E.length&&(E[0]==="\n"||E[0]==="\r")){E.shift()}}function removeTrailingWhitespace(E){while(E.length&&E[E.length-1].trim()===""){E.pop()}}function isNextNonwhitespaceTokenEndOfFile(){while(true){nextTokenJSDoc();if(token()===1){return true}if(!(token()===5||token()===4)){return false}}}function skipWhitespace(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return}}while(token()===5||token()===4){nextTokenJSDoc()}}function skipWhitespaceOrAsterisk(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return""}}var E=R.hasPrecedingLineBreak();var N=false;var j="";while(E&&token()===41||token()===5||token()===4){j+=R.getTokenText();if(token()===4){E=true;N=true;j=""}else if(token()===41){E=false}nextTokenJSDoc()}return N?j:""}function parseTag(N){E.Debug.assert(token()===59);var j=R.getTokenPos();nextTokenJSDoc();var $=parseJSDocIdentifierName(undefined);var q=skipWhitespaceOrAsterisk();var G;switch($.escapedText){case"author":G=parseAuthorTag(j,$,N,q);break;case"implements":G=parseImplementsTag(j,$,N,q);break;case"augments":case"extends":G=parseAugmentsTag(j,$,N,q);break;case"class":case"constructor":G=parseSimpleTag(j,Te.createJSDocClassTag,$,N,q);break;case"public":G=parseSimpleTag(j,Te.createJSDocPublicTag,$,N,q);break;case"private":G=parseSimpleTag(j,Te.createJSDocPrivateTag,$,N,q);break;case"protected":G=parseSimpleTag(j,Te.createJSDocProtectedTag,$,N,q);break;case"readonly":G=parseSimpleTag(j,Te.createJSDocReadonlyTag,$,N,q);break;case"override":G=parseSimpleTag(j,Te.createJSDocOverrideTag,$,N,q);break;case"deprecated":Ye=true;G=parseSimpleTag(j,Te.createJSDocDeprecatedTag,$,N,q);break;case"this":G=parseThisTag(j,$,N,q);break;case"enum":G=parseEnumTag(j,$,N,q);break;case"arg":case"argument":case"param":return parseParameterOrPropertyTag(j,$,2,N);case"return":case"returns":G=parseReturnTag(j,$,N,q);break;case"template":G=parseTemplateTag(j,$,N,q);break;case"type":G=parseTypeTag(j,$,N,q);break;case"typedef":G=parseTypedefTag(j,$,N,q);break;case"callback":G=parseCallbackTag(j,$,N,q);break;case"see":G=parseSeeTag(j,$,N,q);break;default:G=parseUnknownTag(j,$,N,q);break}return G}function parseTrailingTagComments(E,N,R,j){if(!j){R+=N-E}return parseTagComments(R,j.slice(R))}function parseTagComments(E,N){var j=getNodePos();var $=[];var q=[];var G;var ie=0;var ae=true;var ce;function pushComment(N){if(!ce){ce=E}$.push(N);E+=N.length}if(N!==undefined){if(N!==""){pushComment(N)}ie=1}var le=token();e:while(true){switch(le){case 4:ie=0;$.push(R.getTokenText());E=0;break;case 59:if(ie===3||ie===2&&(!ae||lookAhead(isNextJSDocTokenWhitespace))){$.push(R.getTokenText());break}R.setTextPos(R.getTextPos()-1);case 1:break e;case 5:if(ie===2||ie===3){pushComment(R.getTokenText())}else{var _e=R.getTokenText();if(ce!==undefined&&E+_e.length>ce){$.push(_e.slice(ce-E))}E+=_e.length}break;case 18:ie=2;var Ee=R.getStartPos();var we=R.getTextPos()-1;var Ie=parseJSDocLink(we);if(Ie){q.push(finishNode(Te.createJSDocText($.join("")),G!==null&&G!==void 0?G:j,Ee));q.push(Ie);$=[];G=R.getTextPos()}else{pushComment(R.getTokenText())}break;case 61:if(ie===3){ie=2}else{ie=3}pushComment(R.getTokenText());break;case 41:if(ie===0){ie=1;E+=1;break}default:if(ie!==3){ie=2}pushComment(R.getTokenText());break}ae=token()===5;le=nextTokenJSDoc()}removeLeadingNewlines($);removeTrailingWhitespace($);if(q.length){if($.length){q.push(finishNode(Te.createJSDocText($.join("")),G!==null&&G!==void 0?G:j))}return createNodeArray(q,j,R.getTextPos())}else if($.length){return $.join("")}}function isNextJSDocTokenWhitespace(){var E=nextTokenJSDoc();return E===5||E===4}function parseJSDocLink(N){var j=tryParse(parseJSDocLinkPrefix);if(!j){return undefined}nextTokenJSDoc();skipWhitespace();var $=getNodePos();var q=E.tokenIsIdentifierOrKeyword(token())?parseEntityName(true):undefined;if(q){while(token()===80){reScanHashToken();nextTokenJSDoc();q=finishNode(Te.createJSDocMemberName(q,parseIdentifier()),$)}}var G=[];while(token()!==19&&token()!==4&&token()!==1){G.push(R.getTokenText());nextTokenJSDoc()}var ie=j==="link"?Te.createJSDocLink:j==="linkcode"?Te.createJSDocLinkCode:Te.createJSDocLinkPlain;return finishNode(ie(q,G.join("")),N,R.getTextPos())}function parseJSDocLinkPrefix(){skipWhitespaceOrAsterisk();if(token()===18&&nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())){var N=R.getTokenValue();if(N==="link"||N==="linkcode"||N==="linkplain"){return N}}}function parseUnknownTag(E,N,R,j){return finishNode(Te.createJSDocUnknownTag(N,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function addTag(E){if(!E){return}if(!G){G=[E];ie=E.pos}else{G.push(E)}ae=E.end}function tryParseTypeExpression(){skipWhitespaceOrAsterisk();return token()===18?parseJSDocTypeExpression():undefined}function parseBracketNameInPropertyAndParamTag(){var E=parseOptionalJsdoc(22);if(E){skipWhitespace()}var N=parseOptionalJsdoc(61);var R=parseJSDocEntityName();if(N){parseExpectedTokenJSDoc(61)}if(E){skipWhitespace();if(parseOptionalToken(63)){parseExpression()}parseExpected(23)}return{name:R,isBracketed:E}}function isObjectOrObjectArrayTypeReference(N){switch(N.kind){case 147:return true;case 182:return isObjectOrObjectArrayTypeReference(N.elementType);default:return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&!N.typeArguments}}function parseParameterOrPropertyTag(E,N,R,j){var $=tryParseTypeExpression();var q=!$;skipWhitespaceOrAsterisk();var G=parseBracketNameInPropertyAndParamTag(),ie=G.name,ae=G.isBracketed;var ce=skipWhitespaceOrAsterisk();if(q&&!lookAhead(parseJSDocLinkPrefix)){$=tryParseTypeExpression()}var le=parseTrailingTagComments(E,getNodePos(),j,ce);var _e=R!==4&&parseNestedTypeLiteral($,ie,R,j);if(_e){$=_e;q=true}var Ee=R===1?Te.createJSDocPropertyTag(N,ie,ae,$,q,le):Te.createJSDocParameterTag(N,ie,ae,$,q,le);return finishNode(Ee,E)}function parseNestedTypeLiteral(N,R,j,$){if(N&&isObjectOrObjectArrayTypeReference(N.type)){var q=getNodePos();var G=void 0;var ie=void 0;while(G=tryParse((function(){return parseChildParameterOrPropertyTag(j,$,R)}))){if(G.kind===338||G.kind===345){ie=E.append(ie,G)}}if(ie){var ae=finishNode(Te.createJSDocTypeLiteral(ie,N.type.kind===182),q);return finishNode(Te.createJSDocTypeExpression(ae),q)}}}function parseReturnTag(N,j,$,q){if(E.some(G,E.isJSDocReturnTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=tryParseTypeExpression();return finishNode(Te.createJSDocReturnTag(j,ie,parseTrailingTagComments(N,getNodePos(),$,q)),N)}function parseTypeTag(N,j,$,q){if(E.some(G,E.isJSDocTypeTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=parseJSDocTypeExpression(true);var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Te.createJSDocTypeTag(j,ie,ae),N)}function parseSeeTag(N,j,$,q){var G=token()===22||lookAhead((function(){return nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())&&R.getTokenValue()==="link"}));var ie=G?undefined:parseJSDocNameReference();var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Te.createJSDocSeeTag(j,ie,ae),N)}function parseAuthorTag(N,j,$,q){var G=getNodePos();var ie=parseAuthorNameAndEmail();var ae=R.getStartPos();var ce=parseTrailingTagComments(N,ae,$,q);if(!ce){ae=R.getStartPos()}var le=typeof ce!=="string"?createNodeArray(E.concatenate([finishNode(ie,G,ae)],ce),G):ie.text+ce;return finishNode(Te.createJSDocAuthorTag(j,le),N)}function parseAuthorNameAndEmail(){var E=[];var N=false;var j=R.getToken();while(j!==1&&j!==4){if(j===29){N=true}else if(j===59&&!N){break}else if(j===31&&N){E.push(R.getTokenText());R.setTextPos(R.getTokenPos()+1);break}E.push(R.getTokenText());j=nextTokenJSDoc()}return Te.createJSDocText(E.join(""))}function parseImplementsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Te.createJSDocImplementsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseAugmentsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Te.createJSDocAugmentsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseExpressionWithTypeArgumentsForAugments(){var E=parseOptional(18);var N=getNodePos();var R=parsePropertyAccessEntityNameExpression();var j=tryParseTypeArguments();var $=Te.createExpressionWithTypeArguments(R,j);var q=finishNode($,N);if(E){parseExpected(19)}return q}function parsePropertyAccessEntityNameExpression(){var E=getNodePos();var N=parseJSDocIdentifierName();while(parseOptional(24)){var R=parseJSDocIdentifierName();N=finishNode(Te.createPropertyAccessExpression(N,R),E)}return N}function parseSimpleTag(E,N,R,j,$){return finishNode(N(R,parseTrailingTagComments(E,getNodePos(),j,$)),E)}function parseThisTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Te.createJSDocThisTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseEnumTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Te.createJSDocEnumTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseTypedefTag(N,R,j,$){var q;var G=tryParseTypeExpression();skipWhitespaceOrAsterisk();var ie=parseJSDocTypeNameWithNamespace();skipWhitespace();var ae=parseTagComments(j);var ce;if(!G||isObjectOrObjectArrayTypeReference(G.type)){var le=void 0;var _e=void 0;var we=void 0;var Ie=false;while(le=tryParse((function(){return parseChildPropertyTag(j)}))){Ie=true;if(le.kind===341){if(_e){parseErrorAtCurrentToken(E.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var Ne=E.lastOrUndefined(Be);if(Ne){E.addRelatedInfo(Ne,E.createDetachedDiagnostic(Ee,0,0,E.Diagnostics.The_tag_was_first_specified_here))}break}else{_e=le}}else{we=E.append(we,le)}}if(Ie){var Me=G&&G.type.kind===182;var Le=Te.createJSDocTypeLiteral(we,Me);G=_e&&_e.typeExpression&&!isObjectOrObjectArrayTypeReference(_e.typeExpression.type)?_e.typeExpression:finishNode(Le,N);ce=G.end}}ce=ce||ae!==undefined?getNodePos():((q=ie!==null&&ie!==void 0?ie:G)!==null&&q!==void 0?q:R).end;if(!ae){ae=parseTrailingTagComments(N,ce,j,$)}var je=Te.createJSDocTypedefTag(R,G,ie,ae);return finishNode(je,N,ce)}function parseJSDocTypeNameWithNamespace(N){var j=R.getTokenPos();if(!E.tokenIsIdentifierOrKeyword(token())){return undefined}var $=parseJSDocIdentifierName();if(parseOptional(24)){var q=parseJSDocTypeNameWithNamespace(true);var G=Te.createModuleDeclaration(undefined,undefined,$,q,N?4:undefined);return finishNode(G,j)}if(N){$.isInJSDocNamespace=true}return $}function parseCallbackTagParameters(N){var R=getNodePos();var j;var $;while(j=tryParse((function(){return parseChildParameterOrPropertyTag(4,N)}))){$=E.append($,j)}return createNodeArray($||[],R)}function parseCallbackTag(E,N,R,j){var $=parseJSDocTypeNameWithNamespace();skipWhitespace();var q=parseTagComments(R);var G=parseCallbackTagParameters(R);var ie=tryParse((function(){if(parseOptionalJsdoc(59)){var E=parseTag(R);if(E&&E.kind===339){return E}}}));var ae=finishNode(Te.createJSDocSignature(undefined,G,ie),E);if(!q){q=parseTrailingTagComments(E,getNodePos(),R,j)}return finishNode(Te.createJSDocCallbackTag(N,ae,$,q),E)}function escapedTextsEqual(N,R){while(!E.isIdentifier(N)||!E.isIdentifier(R)){if(!E.isIdentifier(N)&&!E.isIdentifier(R)&&N.right.escapedText===R.right.escapedText){N=N.left;R=R.left}else{return false}}return N.escapedText===R.escapedText}function parseChildPropertyTag(E){return parseChildParameterOrPropertyTag(1,E)}function parseChildParameterOrPropertyTag(N,R,j){var $=true;var q=false;while(true){switch(nextTokenJSDoc()){case 59:if($){var G=tryParseChildTag(N,R);if(G&&(G.kind===338||G.kind===345)&&N!==4&&j&&(E.isIdentifier(G.name)||!escapedTextsEqual(j,G.name.left))){return false}return G}q=false;break;case 4:$=true;q=false;break;case 41:if(q){$=false}q=true;break;case 79:$=false;break;case 1:return false}}}function tryParseChildTag(N,j){E.Debug.assert(token()===59);var $=R.getStartPos();nextTokenJSDoc();var q=parseJSDocIdentifierName();skipWhitespace();var G;switch(q.escapedText){case"type":return N===1&&parseTypeTag($,q);case"prop":case"property":G=1;break;case"arg":case"argument":case"param":G=2|4;break;default:return false}if(!(N&G)){return false}return parseParameterOrPropertyTag($,q,N,j)}function parseTemplateTagTypeParameter(){var N=getNodePos();var R=parseOptionalJsdoc(22);if(R){skipWhitespace()}var j=parseJSDocIdentifierName(E.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);var $;if(R){skipWhitespace();parseExpected(63);$=doInsideOfContext(4194304,parseJSDocType);parseExpected(23)}if(E.nodeIsMissing(j)){return undefined}return finishNode(Te.createTypeParameterDeclaration(j,undefined,$),N)}function parseTemplateTagTypeParameters(){var E=getNodePos();var N=[];do{skipWhitespace();var R=parseTemplateTagTypeParameter();if(R!==undefined){N.push(R)}skipWhitespaceOrAsterisk()}while(parseOptionalJsdoc(27));return createNodeArray(N,E)}function parseTemplateTag(E,N,R,j){var $=token()===18?parseJSDocTypeExpression():undefined;var q=parseTemplateTagTypeParameters();return finishNode(Te.createJSDocTemplateTag(N,$,q,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseOptionalJsdoc(E){if(token()===E){nextTokenJSDoc();return true}return false}function parseJSDocEntityName(){var E=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}while(parseOptional(24)){var N=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}E=createQualifiedName(E,N)}return E}function parseJSDocIdentifierName(N){if(!E.tokenIsIdentifierOrKeyword(token())){return createMissingNode(79,!N,N||E.Diagnostics.Identifier_expected)}qe++;var j=R.getTokenPos();var $=R.getTextPos();var q=token();var G=internIdentifier(R.getTokenValue());var ie=finishNode(Te.createIdentifier(G,undefined,q),j,$);nextTokenJSDoc();return ie}}})(rt=N.JSDocParser||(N.JSDocParser={}))})(ce||(ce={}));var le;(function(N){function updateSourceFile(N,R,j,$){$=$||E.Debug.shouldAssert(2);checkChangeRange(N,R,j,$);if(E.textChangeRangeIsUnchanged(j)){return N}if(N.statements.length===0){return ce.parseSourceFile(N.fileName,R,N.languageVersion,undefined,true,N.scriptKind)}var q=N;E.Debug.assert(!q.hasBeenIncrementallyParsed);q.hasBeenIncrementallyParsed=true;ce.fixupParentReferences(q);var G=N.text;var ie=createSyntaxCursor(N);var ae=extendToAffectedRange(N,j);checkChangeRange(N,R,ae,$);E.Debug.assert(ae.span.start<=j.span.start);E.Debug.assert(E.textSpanEnd(ae.span)===E.textSpanEnd(j.span));E.Debug.assert(E.textSpanEnd(E.textChangeRangeNewSpan(ae))===E.textSpanEnd(E.textChangeRangeNewSpan(j)));var le=E.textChangeRangeNewSpan(ae).length-ae.span.length;updateTokenPositionsAndMarkElements(q,ae.span.start,E.textSpanEnd(ae.span),E.textSpanEnd(E.textChangeRangeNewSpan(ae)),le,G,R,$);var _e=ce.parseSourceFile(N.fileName,R,N.languageVersion,ie,true,N.scriptKind);_e.commentDirectives=getNewCommentDirectives(N.commentDirectives,_e.commentDirectives,ae.span.start,E.textSpanEnd(ae.span),le,G,R,$);_e.impliedNodeFormat=N.impliedNodeFormat;return _e}N.updateSourceFile=updateSourceFile;function getNewCommentDirectives(N,R,j,$,q,G,ie,ae){if(!N)return R;var ce;var le=false;for(var _e=0,Te=N;_e$){addNewlyScannedDirectives();var Ne={range:{pos:we.pos+q,end:we.end+q},type:Ie};ce=E.append(ce,Ne);if(ae){E.Debug.assert(G.substring(we.pos,we.end)===ie.substring(Ne.range.pos,Ne.range.end))}}}addNewlyScannedDirectives();return ce;function addNewlyScannedDirectives(){if(le)return;le=true;if(!ce){ce=R}else if(R){ce.push.apply(ce,R)}}}function moveElementEntirelyPastChangeRange(N,R,j,$,q,G){if(R){visitArray(N)}else{visitNode(N)}return;function visitNode(N){var R="";if(G&&shouldCheckNode(N)){R=$.substring(N.pos,N.end)}if(N._children){N._children=undefined}E.setTextRangePosEnd(N,N.pos+j,N.end+j);if(G&&shouldCheckNode(N)){E.Debug.assert(R===q.substring(N.pos,N.end))}forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var ie=0,ae=N.jsDoc;ie=R,"Adjusting an element that was entirely before the change range");E.Debug.assert(N.pos<=j,"Adjusting an element that was entirely after the change range");E.Debug.assert(N.pos<=N.end);var G=Math.min(N.pos,$);var ie=N.end>=j?N.end+q:Math.min(N.end,$);E.Debug.assert(G<=ie);if(N.parent){E.Debug.assertGreaterThanOrEqual(G,N.parent.pos);E.Debug.assertLessThanOrEqual(ie,N.parent.end)}E.setTextRangePosEnd(N,G,ie)}function checkNodePositions(N,R){if(R){var j=N.pos;var visitNode_1=function(N){E.Debug.assert(N.pos>=j);j=N.end};if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$j){moveElementEntirelyPastChangeRange(N,false,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var le=0,_e=N.jsDoc;le<_e.length;le++){var Te=_e[le];visitNode(Te)}}checkNodePositions(N,ae);return}E.Debug.assert(cej){moveElementEntirelyPastChangeRange(N,true,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);for(var le=0,_e=N;le<_e.length;le++){var Te=_e[le];visitNode(Te)}return}E.Debug.assert(ce0&&q<=j;q++){var G=findNearestNodeStartingBeforeOrAtPosition(N,$);E.Debug.assert(G.pos<=$);var ie=G.pos;$=Math.max(0,ie-1)}var ae=E.createTextSpanFromBounds($,E.textSpanEnd(R.span));var ce=R.newLength+(R.span.start-$);return E.createTextChangeRange(ae,ce)}function findNearestNodeStartingBeforeOrAtPosition(N,R){var j=N;var $;forEachChild(N,visit);if($){var q=getLastDescendant($);if(q.pos>j.pos){j=q}}return j;function getLastDescendant(N){while(true){var R=E.getLastChild(N);if(R){N=R}else{return N}}}function visit(N){if(E.nodeIsMissing(N)){return}if(N.pos<=R){if(N.pos>=j.pos){j=N}if(RR);return true}}}function checkChangeRange(N,R,j,$){var q=N.text;if(j){E.Debug.assert(q.length-j.span.length+j.newLength===R.length);if($||E.Debug.shouldAssert(3)){var G=q.substr(0,j.span.start);var ie=R.substr(0,j.span.start);E.Debug.assert(G===ie);var ae=q.substring(E.textSpanEnd(j.span),q.length);var ce=R.substring(E.textSpanEnd(E.textChangeRangeNewSpan(j)),R.length);E.Debug.assert(ae===ce)}}}function createSyntaxCursor(N){var R=N.statements;var j=0;E.Debug.assert(j=N.pos&&E=N.pos&&EN.checkJsDirective.pos){N.checkJsDirective={enabled:$==="ts-check",end:E.range.end,pos:E.range.pos}}}));break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:E.Debug.fail("Unhandled pragma kind")}}))}E.processPragmasIntoFields=processPragmasIntoFields;var _e=new E.Map;function getNamedArgRegEx(E){if(_e.has(E)){return _e.get(E)}var N=new RegExp("(\\s".concat(E,"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))"),"im");_e.set(E,N);return N}var Te=/^\/\/\/\s*<(\S+)\s.*?\/>/im;var Ee=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function extractPragmas(N,R,j){var $=R.kind===2&&Te.exec(j);if($){var q=$[1].toLowerCase();var G=E.commentPragmas[q];if(!G||!(G.kind&1)){return}if(G.args){var ie={};for(var ae=0,ce=G.args;ae=R.length)break;var G=q;if(R.charCodeAt(G)===34){q++;while(q32)q++;$.push(R.substring(G,q))}}parseStrings($)}}E.parseCommandLineWorker=parseCommandLineWorker;function parseOptionValue(N,R,j,$,q,G){if($.isTSConfigOnly){var ie=N[R];if(ie==="null"){q[$.name]=undefined;R++}else if($.type==="boolean"){if(ie==="false"){q[$.name]=validateJsonOptionValue($,false,G);R++}else{if(ie==="true")R++;G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,$.name))}}else{G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,$.name));if(ie&&!E.startsWith(ie,"-"))R++}}else{if(!N[R]&&$.type!=="boolean"){G.push(E.createCompilerDiagnostic(j.optionTypeMismatchDiagnostic,$.name,getCompilerOptionValueTypeString($)))}if(N[R]!=="null"){switch($.type){case"number":q[$.name]=validateJsonOptionValue($,parseInt(N[R]),G);R++;break;case"boolean":var ie=N[R];q[$.name]=validateJsonOptionValue($,ie!=="false",G);if(ie==="false"||ie==="true"){R++}break;case"string":q[$.name]=validateJsonOptionValue($,N[R]||"",G);R++;break;case"list":var ae=parseListTypeOption($,N[R],G);q[$.name]=ae||[];if(ae){R++}break;default:q[$.name]=parseCustomTypeOption($,N[R],G);R++;break}}else{q[$.name]=undefined;R++}}return R}E.compilerOptionsDidYouMeanDiagnostics={alternateMode:ie,getOptionsNameMap:getOptionsNameMap,optionDeclarations:E.optionDeclarations,unknownOptionDiagnostic:E.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Compiler_option_0_expects_an_argument};function parseCommandLine(N,R){return parseCommandLineWorker(E.compilerOptionsDidYouMeanDiagnostics,N,R)}E.parseCommandLine=parseCommandLine;function getOptionFromName(E,N){return getOptionDeclarationFromName(getOptionsNameMap,E,N)}E.getOptionFromName=getOptionFromName;function getOptionDeclarationFromName(E,N,R){if(R===void 0){R=false}N=N.toLowerCase();var j=E(),$=j.optionsNameMap,q=j.shortOptionNames;if(R){var G=q.get(N);if(G!==undefined){N=G}}return $.get(N)}var ae;function getBuildOptionsNameMap(){return ae||(ae=createOptionNameMap(E.buildOpts))}var ce={diagnostic:E.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:getOptionsNameMap};var le={alternateMode:ce,getOptionsNameMap:getBuildOptionsNameMap,optionDeclarations:E.buildOpts,unknownOptionDiagnostic:E.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Build_option_0_requires_a_value_of_type_1};function parseBuildCommand(N){var R=parseCommandLineWorker(le,N),j=R.options,$=R.watchOptions,q=R.fileNames,G=R.errors;var ie=j;if(q.length===0){q.push(".")}if(ie.clean&&ie.force){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force"))}if(ie.clean&&ie.verbose){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose"))}if(ie.clean&&ie.watch){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch"))}if(ie.watch&&ie.dry){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry"))}return{buildOptions:ie,watchOptions:$,projects:q,errors:G}}E.parseBuildCommand=parseBuildCommand;function getDiagnosticText(N){var R=[];for(var j=1;j=0){ae.push(E.createCompilerDiagnostic(E.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,j(j([],ie,true),[_e],false).join(" -> ")));return{raw:N||convertToObject(R,ae)}}var Te=N?parseOwnConfigOfJson(N,$,q,G,ae):parseOwnConfigOfJsonSourceFile(R,$,q,G,ae);if((le=Te.options)===null||le===void 0?void 0:le.paths){Te.options.pathsBasePath=q}if(Te.extendedConfigPath){ie=ie.concat([_e]);var Ee=getExtendedConfig(R,Te.extendedConfigPath,$,ie,ae,ce);if(Ee&&isSuccessfulParsedTsconfig(Ee)){var we=Ee.raw;var Ie=Te.raw;var Ne;var setPropertyInRawIfNotUndefined=function(N){if(!Ie[N]&&we[N]){Ie[N]=E.map(we[N],(function(N){return E.isRootedDiskPath(N)?N:E.combinePaths(Ne||(Ne=E.convertToRelativePath(E.getDirectoryPath(Te.extendedConfigPath),q,E.createGetCanonicalFileName($.useCaseSensitiveFileNames))),N)}))}};setPropertyInRawIfNotUndefined("include");setPropertyInRawIfNotUndefined("exclude");setPropertyInRawIfNotUndefined("files");if(Ie.compileOnSave===undefined){Ie.compileOnSave=we.compileOnSave}Te.options=E.assign({},Ee.options,Te.options);Te.watchOptions=Te.watchOptions&&Ee.watchOptions?E.assign({},Ee.watchOptions,Te.watchOptions):Te.watchOptions||Ee.watchOptions}}return Te}function parseOwnConfigOfJson(N,R,j,$,q){if(E.hasProperty(N,"excludes")){q.push(E.createCompilerDiagnostic(E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}var G=convertCompilerOptionsFromJsonWorker(N.compilerOptions,j,q,$);var ie=convertTypeAcquisitionFromJsonWorker(N.typeAcquisition||N.typingOptions,j,q,$);var ae=convertWatchOptionsFromJsonWorker(N.watchOptions,j,q);N.compileOnSave=convertCompileOnSaveOptionFromJson(N,j,q);var ce;if(N.extends){if(!E.isString(N.extends)){q.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"))}else{var le=$?directoryOfCombinedPath($,j):j;ce=getExtendsConfigPath(N.extends,R,le,q,E.createCompilerDiagnostic)}}return{raw:N,options:G,watchOptions:ae,typeAcquisition:ie,extendedConfigPath:ce}}function parseOwnConfigOfJsonSourceFile(N,R,j,$,G){var ie=getDefaultCompilerOptions($);var ae,ce;var le;var _e;var Te;var Ee={onSetValidOptionKeyValueInParent:function(N,R,q){var G;switch(N){case"compilerOptions":G=ie;break;case"watchOptions":G=le||(le={});break;case"typeAcquisition":G=ae||(ae=getDefaultTypeAcquisition($));break;case"typingOptions":G=ce||(ce=getDefaultTypeAcquisition($));break;default:E.Debug.fail("Unknown option")}G[R.name]=normalizeOptionValue(R,j,q)},onSetValidOptionKeyValueInRoot:function(q,ie,ae,ce){switch(q){case"extends":var le=$?directoryOfCombinedPath($,j):j;_e=getExtendsConfigPath(ae,R,le,G,(function(R,j){return E.createDiagnosticForNodeInSourceFile(N,ce,R,j)}));return}},onSetUnknownOptionKeyValueInRoot:function(R,j,$,ie){if(R==="excludes"){G.push(E.createDiagnosticForNodeInSourceFile(N,j,E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}if(E.find(q,(function(E){return E.name===R}))){Te=E.append(Te,j)}}};var we=convertConfigFileToObject(N,G,true,Ee);if(!ae){if(ce){ae=ce.enableAutoDiscovery!==undefined?{enable:ce.enableAutoDiscovery,include:ce.include,exclude:ce.exclude}:ce}else{ae=getDefaultTypeAcquisition($)}}if(Te&&we&&we.compilerOptions===undefined){G.push(E.createDiagnosticForNodeInSourceFile(N,Te[0],E.Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,E.getTextOfPropertyName(Te[0])))}return{raw:we,options:ie,watchOptions:le,typeAcquisition:ae,extendedConfigPath:_e}}function getExtendsConfigPath(N,R,j,$,q){N=E.normalizeSlashes(N);if(E.isRootedDiskPath(N)||E.startsWith(N,"./")||E.startsWith(N,"../")){var G=E.getNormalizedAbsolutePath(N,j);if(!R.fileExists(G)&&!E.endsWith(G,".json")){G="".concat(G,".json");if(!R.fileExists(G)){$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}}return G}var ie=E.nodeModuleNameResolver(N,E.combinePaths(j,"tsconfig.json"),{moduleResolution:E.ModuleResolutionKind.NodeJs},R,undefined,undefined,true);if(ie.resolvedModule){return ie.resolvedModule.resolvedFileName}$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}function getExtendedConfig(N,R,j,$,q,G){var ie;var ae=j.useCaseSensitiveFileNames?R:E.toFileNameLowerCase(R);var ce;var le;var _e;if(G&&(ce=G.get(ae))){le=ce.extendedResult,_e=ce.extendedConfig}else{le=readJsonConfigFile(R,(function(E){return j.readFile(E)}));if(!le.parseDiagnostics.length){_e=parseConfig(undefined,le,j,E.getDirectoryPath(R),E.getBaseFileName(R),$,q,G)}if(G){G.set(ae,{extendedResult:le,extendedConfig:_e})}}if(N){N.extendedSourceFiles=[le.fileName];if(le.extendedSourceFiles){(ie=N.extendedSourceFiles).push.apply(ie,le.extendedSourceFiles)}}if(le.parseDiagnostics.length){q.push.apply(q,le.parseDiagnostics);return undefined}return _e}function convertCompileOnSaveOptionFromJson(N,R,j){if(!E.hasProperty(N,E.compileOnSaveCommandLineOption.name)){return false}var $=convertJsonOption(E.compileOnSaveCommandLineOption,N.compileOnSave,R,j);return typeof $==="boolean"&&$}function convertCompilerOptionsFromJson(E,N,R){var j=[];var $=convertCompilerOptionsFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertCompilerOptionsFromJson=convertCompilerOptionsFromJson;function convertTypeAcquisitionFromJson(E,N,R){var j=[];var $=convertTypeAcquisitionFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertTypeAcquisitionFromJson=convertTypeAcquisitionFromJson;function getDefaultCompilerOptions(N){var R=N&&E.getBaseFileName(N)==="jsconfig.json"?{allowJs:true,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:true,skipLibCheck:true,noEmit:true}:{};return R}function convertCompilerOptionsFromJsonWorker(N,R,j,$){var q=getDefaultCompilerOptions($);convertOptionsFromJson(getCommandLineCompilerOptionsMap(),N,R,q,E.compilerOptionsDidYouMeanDiagnostics,j);if($){q.configFilePath=E.normalizeSlashes($)}return q}function getDefaultTypeAcquisition(N){return{enable:!!N&&E.getBaseFileName(N)==="jsconfig.json",include:[],exclude:[]}}function convertTypeAcquisitionFromJsonWorker(E,N,R,j){var $=getDefaultTypeAcquisition(j);var q=convertEnableAutoDiscoveryToEnable(E);convertOptionsFromJson(getCommandLineTypeAcquisitionMap(),q,N,$,_e,R);return $}function convertWatchOptionsFromJsonWorker(E,N,R){return convertOptionsFromJson(getCommandLineWatchOptionsMap(),E,N,undefined,Ee,R)}function convertOptionsFromJson(N,R,j,$,q,G){if(!R){return}for(var ie in R){var ae=N.get(ie);if(ae){($||($={}))[ae.name]=convertJsonOption(ae,R[ie],j,G)}else{G.push(createUnknownOptionError(ie,q,E.createCompilerDiagnostic))}}return $}function convertJsonOption(N,R,j,$){if(isCompilerOptionsValue(N,R)){var q=N.type;if(q==="list"&&E.isArray(R)){return convertJsonOptionOfListType(N,R,j,$)}else if(!E.isString(q)){return convertJsonOptionOfCustomType(N,R,$)}var G=validateJsonOptionValue(N,R,$);return isNullOrUndefined(G)?G:normalizeNonListOptionValue(N,j,G)}else{$.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,N.name,getCompilerOptionValueTypeString(N)))}}E.convertJsonOption=convertJsonOption;function normalizeOptionValue(N,R,j){if(isNullOrUndefined(j))return undefined;if(N.type==="list"){var $=N;if($.element.isFilePath||!E.isString($.element.type)){return E.filter(E.map(j,(function(E){return normalizeOptionValue($.element,R,E)})),(function(E){return!!E}))}return j}else if(!E.isString(N.type)){return N.type.get(E.isString(j)?j.toLowerCase():j)}return normalizeNonListOptionValue(N,R,j)}function normalizeNonListOptionValue(N,R,j){if(N.isFilePath){j=E.getNormalizedAbsolutePath(j,R);if(j===""){j="."}}return j}function validateJsonOptionValue(N,R,j){var $;if(isNullOrUndefined(R))return undefined;var q=($=N.extraValidation)===null||$===void 0?void 0:$.call(N,R);if(!q)return R;j.push(E.createCompilerDiagnostic.apply(void 0,q));return undefined}function convertJsonOptionOfCustomType(E,N,R){if(isNullOrUndefined(N))return undefined;var j=N.toLowerCase();var $=E.type.get(j);if($!==undefined){return validateJsonOptionValue(E,$,R)}else{R.push(createCompilerDiagnosticForInvalidCustomType(E))}}function convertJsonOptionOfListType(N,R,j,$){return E.filter(E.map(R,(function(E){return convertJsonOption(N.element,E,j,$)})),(function(E){return!!E}))}var Le=/(^|\/)\*\*\/?$/;var Be=/^[^*?]*(?=\/[^/]*[*?])/;function getFileNamesFromConfigSpecs(N,R,j,$,q){if(q===void 0){q=E.emptyArray}R=E.normalizePath(R);var G=E.createGetCanonicalFileName($.useCaseSensitiveFileNames);var ie=new E.Map;var ae=new E.Map;var ce=new E.Map;var le=N.validatedFilesSpec,_e=N.validatedIncludeSpecs,Te=N.validatedExcludeSpecs;var Ee=E.getSupportedExtensions(j,q);var we=E.getSupportedExtensionsWithJsonIfResolveJsonModule(j,Ee);if(le){for(var Ie=0,Ne=le;Ie0){var _loop_6=function(N){if(E.fileExtensionIs(N,".json")){if(!Be){var j=_e.filter((function(N){return E.endsWith(N,".json")}));var q=E.map(E.getRegularExpressionsForWildcards(j,R,"files"),(function(E){return"^".concat(E,"$")}));Be=q?q.map((function(N){return E.getRegexFromPattern(N,$.useCaseSensitiveFileNames)})):E.emptyArray}var le=E.findIndex(Be,(function(E){return E.test(N)}));if(le!==-1){var Te=G(N);if(!ie.has(Te)&&!ce.has(Te)){ce.set(Te,N)}}return"continue"}if(hasFileWithHigherPriorityExtension(N,ie,ae,Ee,G)){return"continue"}removeWildcardFilesWithLowerPriorityExtension(N,ae,Ee,G);var we=G(N);if(!ie.has(we)&&!ae.has(we)){ae.set(we,N)}};for(var je=0,Ue=$.readDirectory(R,E.flatten(we),Te,_e,undefined);jeR}function matchesExclude(N,R,j,$){return matchesExcludeWorker(N,E.filter(R,(function(E){return!invalidDotDotAfterRecursiveWildcard(E)})),j,$)}E.matchesExclude=matchesExclude;function matchesExcludeWorker(N,R,j,$,q){var G=E.getRegularExpressionForWildcard(R,E.combinePaths(E.normalizePath($),q),"exclude");var ie=G&&E.getRegexFromPattern(G,j);if(!ie)return false;if(ie.test(N))return true;return!E.hasExtension(N)&&ie.test(E.ensureTrailingDirectorySeparator(N))}function validateSpecs(N,R,j,$,q){return N.filter((function(N){if(!E.isString(N))return false;var $=specToDiagnostic(N,j);if($!==undefined){R.push(createDiagnostic.apply(void 0,$))}return $===undefined}));function createDiagnostic(N,R){var j=E.getTsConfigPropArrayElementValue($,q,R);return j?E.createDiagnosticForNodeInSourceFile($,j,N,R):E.createCompilerDiagnostic(N,R)}}function specToDiagnostic(N,R){if(R&&Le.test(N)){return[E.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}else if(invalidDotDotAfterRecursiveWildcard(N)){return[E.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}}function getWildcardDirectories(N,R,j){var $=N.validatedIncludeSpecs,q=N.validatedExcludeSpecs;var G=E.getRegularExpressionForWildcard(q,R,"exclude");var ie=G&&new RegExp(G,j?"":"i");var ae={};if($!==undefined){var ce=[];for(var le=0,_e=$;le<_e.length;le++){var Te=_e[le];var Ee=E.normalizePath(E.combinePaths(R,Te));if(ie&&ie.test(Ee)){continue}var we=getWildcardDirectoryFromSpec(Ee,j);if(we){var Ie=we.key,Ne=we.flags;var Me=ae[Ie];if(Me===undefined||Me=0;G--){var ie=q[G];if(E.fileExtensionIs(N,ie)){return}var ae=$(E.changeExtension(N,ie));R.delete(ae)}}function convertCompilerOptionsForTelemetry(E){var N={};for(var R in E){if(E.hasOwnProperty(R)){var j=getOptionFromName(R);if(j!==undefined){N[R]=getOptionValueWithEmptyStrings(E[R],j)}}}return N}E.convertCompilerOptionsForTelemetry=convertCompilerOptionsForTelemetry;function getOptionValueWithEmptyStrings(N,R){switch(R.type){case"object":return"";case"string":return"";case"number":return typeof N==="number"?N:"";case"boolean":return typeof N==="boolean"?N:"";case"list":var j=R.element;return E.isArray(N)?N.map((function(E){return getOptionValueWithEmptyStrings(E,j)})):"";default:return E.forEachEntry(R.type,(function(E,R){if(E===N){return R}}))}}function getDefaultValueForOption(N){switch(N.type){case"number":return 1;case"boolean":return true;case"string":return N.isFilePath?"./":"";case"list":return[];case"object":return{};default:var R=N.type.keys().next();if(!R.done)return R.value;return E.Debug.fail("Expected 'option.type' to have entries.")}}})(ce||(ce={}));var ce;(function(E){function trace(N){N.trace(E.formatMessage.apply(undefined,arguments))}E.trace=trace;function isTraceEnabled(E,N){return!!E.traceResolution&&N.trace!==undefined}E.isTraceEnabled=isTraceEnabled;function withPackageId(N,R){var j;if(R&&N){var $=N.packageJsonContent;if(typeof $.name==="string"&&typeof $.version==="string"){j={name:$.name,subModuleName:R.path.slice(N.packageDirectory.length+E.directorySeparator.length),version:$.version}}}return R&&{path:R.path,extension:R.ext,packageId:j}}function noPackageId(E){return withPackageId(undefined,E)}function removeIgnoredPackageId(N){if(N){E.Debug.assert(N.packageId===undefined);return{path:N.path,ext:N.extension}}}var N;(function(E){E[E["TypeScript"]=0]="TypeScript";E[E["JavaScript"]=1]="JavaScript";E[E["Json"]=2]="Json";E[E["TSConfig"]=3]="TSConfig";E[E["DtsOnly"]=4]="DtsOnly"})(N||(N={}));function resolvedTypeScriptOnly(N){if(!N){return undefined}E.Debug.assert(E.extensionIsTS(N.extension));return{fileName:N.path,packageId:N.packageId}}function createResolvedModuleWithFailedLookupLocations(E,N,R,j){var $;if(j){($=j.failedLookupLocations).push.apply($,R);return j}return{resolvedModule:E&&{resolvedFileName:E.path,originalPath:E.originalPath===true?undefined:E.originalPath,extension:E.extension,isExternalLibraryImport:N,packageId:E.packageId},failedLookupLocations:R}}function readPackageJsonField(N,R,j,$){if(!E.hasProperty(N,R)){if($.traceEnabled){trace($.host,E.Diagnostics.package_json_does_not_have_a_0_field,R)}return}var q=N[R];if(typeof q!==j||q===null){if($.traceEnabled){trace($.host,E.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,R,j,q===null?"null":typeof q)}return}return q}function readPackageJsonPathField(N,R,j,$){var q=readPackageJsonField(N,R,"string",$);if(q===undefined){return}if(!q){if($.traceEnabled){trace($.host,E.Diagnostics.package_json_had_a_falsy_0_field,R)}return}var G=E.normalizePath(E.combinePaths(j,q));if($.traceEnabled){trace($.host,E.Diagnostics.package_json_has_0_field_1_that_references_2,R,q,G)}return G}function readPackageJsonTypesFields(E,N,R){return readPackageJsonPathField(E,"typings",N,R)||readPackageJsonPathField(E,"types",N,R)}function readPackageJsonTSConfigField(E,N,R){return readPackageJsonPathField(E,"tsconfig",N,R)}function readPackageJsonMainField(E,N,R){return readPackageJsonPathField(E,"main",N,R)}function readPackageJsonTypesVersionsField(N,R){var j=readPackageJsonField(N,"typesVersions","object",R);if(j===undefined)return;if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings)}return j}function readPackageJsonTypesVersionPaths(N,R){var j=readPackageJsonTypesVersionsField(N,R);if(j===undefined)return;if(R.traceEnabled){for(var $ in j){if(E.hasProperty(j,$)&&!E.VersionRange.tryParse($)){trace(R.host,E.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,$)}}}var q=getPackageJsonTypesVersionsPaths(j);if(!q){if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,E.versionMajorMinor)}return}var G=q.version,ie=q.paths;if(typeof ie!=="object"){if(R.traceEnabled){trace(R.host,E.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(G,"']"),"object",typeof ie)}return}return q}var R;function getPackageJsonTypesVersionsPaths(N){if(!R)R=new E.Version(E.version);for(var j in N){if(!E.hasProperty(N,j))continue;var $=E.VersionRange.tryParse(j);if($===undefined){continue}if($.test(R)){return{version:j,paths:N[j]}}}}E.getPackageJsonTypesVersionsPaths=getPackageJsonTypesVersionsPaths;function getEffectiveTypeRoots(N,R){if(N.typeRoots){return N.typeRoots}var j;if(N.configFilePath){j=E.getDirectoryPath(N.configFilePath)}else if(R.getCurrentDirectory){j=R.getCurrentDirectory()}if(j!==undefined){return getDefaultTypeRoots(j,R)}}E.getEffectiveTypeRoots=getEffectiveTypeRoots;function getDefaultTypeRoots(N,R){if(!R.directoryExists){return[E.combinePaths(N,q)]}var j;E.forEachAncestorDirectory(E.normalizePath(N),(function(N){var $=E.combinePaths(N,q);if(R.directoryExists($)){(j||(j=[])).push($)}return undefined}));return j}var q=E.combinePaths("node_modules","@types");function arePathsEqual(N,R,j){var $=typeof j.useCaseSensitiveFileNames==="function"?j.useCaseSensitiveFileNames():j.useCaseSensitiveFileNames;return E.comparePaths(N,R,!$)===0}function resolveTypeReferenceDirective(R,j,$,q,G,ie){var ae=isTraceEnabled($,q);if(G){$=G.commandLine.options}var ce=j?E.getDirectoryPath(j):undefined;var le=ce?ie&&ie.getOrCreateCacheForDirectory(ce,G):undefined;var _e=le&&le.get(R,undefined);if(_e){if(ae){trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,R,j);if(G)trace(q,E.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,G.sourceFile.fileName);trace(q,E.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,R,ce);traceResult(_e)}return _e}var Te=getEffectiveTypeRoots($,q);if(ae){if(j===undefined){if(Te===undefined){trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,R)}else{trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,R,Te)}}else{if(Te===undefined){trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,R,j)}else{trace(q,E.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,R,j,Te)}}if(G){trace(q,E.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,G.sourceFile.fileName)}}var Ee=[];var we=getDefaultNodeResolutionFeatures($);var Ie={compilerOptions:$,host:q,traceEnabled:ae,failedLookupLocations:Ee,packageJsonInfoCache:ie,features:we,conditions:["node","require","types"]};var Ne=primaryLookup();var Me=true;if(!Ne){Ne=secondaryLookup();Me=false}var Le;if(Ne){var Be=Ne.fileName,je=Ne.packageId;var Ue=$.preserveSymlinks?Be:realPath(Be,q,ae);Le={primary:Me,resolvedFileName:Ue,originalPath:arePathsEqual(Be,Ue,q)?undefined:Be,packageId:je,isExternalLibraryImport:pathContainsNodeModules(Be)}}_e={resolvedTypeReferenceDirective:Le,failedLookupLocations:Ee};le===null||le===void 0?void 0:le.set(R,undefined,_e);if(ae)traceResult(_e);return _e;function traceResult(N){var j;if(!((j=N.resolvedTypeReferenceDirective)===null||j===void 0?void 0:j.resolvedFileName)){trace(q,E.Diagnostics.Type_reference_directive_0_was_not_resolved,R)}else if(N.resolvedTypeReferenceDirective.packageId){trace(q,E.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,R,N.resolvedTypeReferenceDirective.resolvedFileName,E.packageIdToString(N.resolvedTypeReferenceDirective.packageId),N.resolvedTypeReferenceDirective.primary)}else{trace(q,E.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,R,N.resolvedTypeReferenceDirective.resolvedFileName,N.resolvedTypeReferenceDirective.primary)}}function primaryLookup(){if(Te&&Te.length){if(ae){trace(q,E.Diagnostics.Resolving_with_primary_search_path_0,Te.join(", "))}return E.firstDefined(Te,(function(j){var $=E.combinePaths(j,R);var G=E.getDirectoryPath($);var ie=E.directoryProbablyExists(G,q);if(!ie&&ae){trace(q,E.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,G)}return resolvedTypeScriptOnly(loadNodeModuleFromDirectory(N.DtsOnly,$,!ie,Ie))}))}else{if(ae){trace(q,E.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}}}function secondaryLookup(){var $=j&&E.getDirectoryPath(j);if($!==undefined){if(ae){trace(q,E.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,$)}var G;if(!E.isExternalModuleNameRelative(R)){var ie=loadModuleFromNearestNodeModulesDirectory(N.DtsOnly,R,$,Ie,undefined,undefined);G=ie&&ie.value}else{var ce=E.normalizePathAndParts(E.combinePaths($,R)).path;G=nodeLoadModuleByRelativeName(N.DtsOnly,ce,false,Ie,true)}return resolvedTypeScriptOnly(G)}else{if(ae){trace(q,E.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}}}E.resolveTypeReferenceDirective=resolveTypeReferenceDirective;function getDefaultNodeResolutionFeatures(N){return E.getEmitModuleResolutionKind(N)===E.ModuleResolutionKind.Node12?G.Node12Default:E.getEmitModuleResolutionKind(N)===E.ModuleResolutionKind.NodeNext?G.NodeNextDefault:G.None}function resolvePackageNameToPackageJson(N,R,j,$,q){var ie={compilerOptions:j,host:$,traceEnabled:isTraceEnabled(j,$),failedLookupLocations:[],packageJsonInfoCache:q===null||q===void 0?void 0:q.getPackageJsonInfoCache(),conditions:E.emptyArray,features:G.None};return E.forEachAncestorDirectory(R,(function(R){if(E.getBaseFileName(R)!=="node_modules"){var j=E.combinePaths(R,"node_modules");var $=E.combinePaths(j,N);return getPackageJsonInfo($,false,ie)}}))}E.resolvePackageNameToPackageJson=resolvePackageNameToPackageJson;function getAutomaticTypeDirectiveNames(N,R){if(N.types){return N.types}var j=[];if(R.directoryExists&&R.getDirectories){var $=getEffectiveTypeRoots(N,R);if($){for(var q=0,G=$;q0);var $={sourceFile:N.configFile,commandLine:{options:N}};R.setOwnMap(R.getOrCreateMapOfCacheRedirects($));j===null||j===void 0?void 0:j.setOwnMap(j.getOrCreateMapOfCacheRedirects($))}R.setOwnOptions(N);j===null||j===void 0?void 0:j.setOwnOptions(N)}function createPerDirectoryResolutionCache(N,R,j){return{getOrCreateCacheForDirectory:getOrCreateCacheForDirectory,clear:clear,update:update};function clear(){j.clear()}function update(E){updateRedirectsMap(E,j)}function getOrCreateCacheForDirectory($,q){var G=E.toPath($,N,R);return getOrCreateCache(j,q,G,(function(){return createModeAwareCache()}))}}function createModeAwareCache(){var N=new E.Map;var R=new E.Map;var j={get:function(E,R){return N.get(getUnderlyingCacheKey(E,R))},set:function(E,R,$){N.set(getUnderlyingCacheKey(E,R),$);return j},delete:function(E,R){N.delete(getUnderlyingCacheKey(E,R));return j},has:function(E,R){return N.has(getUnderlyingCacheKey(E,R))},forEach:function(E){return N.forEach((function(N,j){var $=R.get(j),q=$[0],G=$[1];return E(N,q,G)}))},size:function(){return N.size}};return j;function getUnderlyingCacheKey(E,N){var j=N===undefined?E:"".concat(N,"|").concat(E);R.set(j,[E,N]);return j}}E.createModeAwareCache=createModeAwareCache;function zipToModeAwareCache(N,R,j){E.Debug.assert(R.length===j.length);var $=createModeAwareCache();for(var q=0;q=0||ae.indexOf(".")>=0||ae.indexOf("node_modules")>=0){return false}var ce=E.combinePaths(N.packageDirectory,R);var le=E.getNormalizedAbsolutePath(ce,(ie=(G=j.host).getCurrentDirectory)===null||ie===void 0?void 0:ie.call(G));var _e=loadJSOrExactTSFileName($,le,false,j);if(_e){q=E.appendIfUnique(q,_e,(function(E,N){return E.path===N.path}));return true}}else if(Array.isArray(R)){for(var Te=0,Ee=R;Te0){var ie=getPackageJsonInfo(E.getPathFromPathComponents(G),false,q);if(ie){return ie}G.pop()}return undefined}E.getPackageScopeForPath=getPackageScopeForPath;function getPackageJsonInfo(N,R,j){var $,q,G;var ie=j.host,ae=j.traceEnabled;var ce=E.combinePaths(N,"package.json");if(R){j.failedLookupLocations.push(ce);return undefined}var le=($=j.packageJsonInfoCache)===null||$===void 0?void 0:$.getPackageJsonInfo(ce);if(le!==undefined){if(typeof le!=="boolean"){if(ae)trace(ie,E.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,ce);return le}else{if(le&&ae)trace(ie,E.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,ce);j.failedLookupLocations.push(ce);return undefined}}var _e=E.directoryProbablyExists(N,ie);if(_e&&ie.fileExists(ce)){var Te=E.readJson(ce,ie);if(ae){trace(ie,E.Diagnostics.Found_package_json_at_0,ce)}var Ee=readPackageJsonTypesVersionPaths(Te,j);var we={packageDirectory:N,packageJsonContent:Te,versionPaths:Ee,resolvedEntrypoints:undefined};(q=j.packageJsonInfoCache)===null||q===void 0?void 0:q.setPackageJsonInfo(ce,we);return we}else{if(_e&&ae){trace(ie,E.Diagnostics.File_0_does_not_exist,ce)}(G=j.packageJsonInfoCache)===null||G===void 0?void 0:G.setPackageJsonInfo(ce,_e);j.failedLookupLocations.push(ce)}}E.getPackageJsonInfo=getPackageJsonInfo;function loadNodeModuleFromDirectoryWorker(R,j,$,q,ie,ae){var ce;if(ie){switch(R){case N.JavaScript:case N.Json:ce=readPackageJsonMainField(ie,j,q);break;case N.TypeScript:ce=readPackageJsonTypesFields(ie,j,q)||readPackageJsonMainField(ie,j,q);break;case N.DtsOnly:ce=readPackageJsonTypesFields(ie,j,q);break;case N.TSConfig:ce=readPackageJsonTSConfigField(ie,j,q);break;default:return E.Debug.assertNever(R)}}var loader=function(R,j,$,q){var G=tryFile(j,$,q);if(G){var ie=resolvedIfExtensionMatches(R,G);if(ie){return noPackageId(ie)}if(q.traceEnabled){trace(q.host,E.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,G)}}var ae=R===N.DtsOnly?N.TypeScript:R;return nodeLoadModuleByRelativeName(ae,j,$,q,false)};var le=ce?!E.directoryProbablyExists(E.getDirectoryPath(ce),q.host):undefined;var _e=$||!E.directoryProbablyExists(j,q.host);var Te=E.combinePaths(j,R===N.TSConfig?"tsconfig":"index");if(ae&&(!ce||E.containsPath(j,ce))){var Ee=E.getRelativePathFromDirectory(j,ce||Te,false);if(q.traceEnabled){trace(q.host,E.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,ae.version,E.version,Ee)}var we=tryLoadModuleUsingPaths(R,Ee,j,ae.paths,undefined,loader,le||_e,q);if(we){return removeIgnoredPackageId(we.value)}}var Ie=ce&&removeIgnoredPackageId(loader(R,ce,le,q));if(Ie)return Ie;if(!(q.features&G.EsmMode)){return loadModuleFromFile(R,Te,_e,q)}}function resolvedIfExtensionMatches(N,R){var j=E.tryGetExtensionFromPath(R);return j!==undefined&&extensionIsOk(N,j)?{path:R,ext:j}:undefined}function extensionIsOk(E,R){switch(E){case N.JavaScript:return R===".js"||R===".jsx";case N.TSConfig:case N.Json:return R===".json";case N.TypeScript:return R===".ts"||R===".tsx"||R===".d.ts";case N.DtsOnly:return R===".d.ts"}}function parsePackageName(N){var R=N.indexOf(E.directorySeparator);if(N[0]==="@"){R=N.indexOf(E.directorySeparator,R+1)}return R===-1?{packageName:N,rest:""}:{packageName:N.slice(0,R),rest:N.slice(R+1)}}E.parsePackageName=parsePackageName;function allKeysStartWithDot(N){return E.every(E.getOwnKeys(N),(function(N){return E.startsWith(N,".")}))}E.allKeysStartWithDot=allKeysStartWithDot;function noKeyStartsWithDot(N){return!E.some(E.getOwnKeys(N),(function(N){return E.startsWith(N,".")}))}function loadModuleFromSelfNameReference(N,R,j,$,q,G){var ie,ae;var ce=typeof $.host.useCaseSensitiveFileNames==="function"?$.host.useCaseSensitiveFileNames():$.host.useCaseSensitiveFileNames;var le=E.toPath(E.combinePaths(j,"dummy"),(ae=(ie=$.host).getCurrentDirectory)===null||ae===void 0?void 0:ae.call(ie),E.createGetCanonicalFileName(ce===undefined?true:ce));var _e=getPackageScopeForPath(le,$.packageJsonInfoCache,$.host,$.compilerOptions);if(!_e||!_e.packageJsonContent.exports){return undefined}if(typeof _e.packageJsonContent.name!=="string"){return undefined}var Te=E.getPathComponents(R);var Ee=E.getPathComponents(_e.packageJsonContent.name);if(!E.every(Ee,(function(E,N){return Te[N]===E}))){return undefined}var we=Te.slice(Ee.length);return loadModuleFromExports(_e,N,!E.length(we)?".":".".concat(E.directorySeparator).concat(we.join(E.directorySeparator)),$,q,G)}function loadModuleFromExports(N,R,j,$,q,G){if(!N.packageJsonContent.exports){return undefined}if(j==="."){var ie=void 0;if(typeof N.packageJsonContent.exports==="string"||Array.isArray(N.packageJsonContent.exports)||typeof N.packageJsonContent.exports==="object"&&noKeyStartsWithDot(N.packageJsonContent.exports)){ie=N.packageJsonContent.exports}else if(E.hasProperty(N.packageJsonContent.exports,".")){ie=N.packageJsonContent.exports["."]}if(ie){var ae=getLoadModuleFromTargetImportOrExport(R,$,q,G,j,N,false);return ae(ie,"",false)}}else if(allKeysStartWithDot(N.packageJsonContent.exports)){if(typeof N.packageJsonContent.exports!=="object"){if($.traceEnabled){trace($.host,E.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,j,N.packageDirectory)}return toSearchResult(undefined)}var ce=loadModuleFromImportsOrExports(R,$,q,G,j,N.packageJsonContent.exports,N,false);if(ce){return ce}}if($.traceEnabled){trace($.host,E.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,j,N.packageDirectory)}return toSearchResult(undefined)}function loadModuleFromImports(N,R,j,$,q,G){var ie,ae;if(R==="#"||E.startsWith(R,"#/")){if($.traceEnabled){trace($.host,E.Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions,R)}return toSearchResult(undefined)}var ce=typeof $.host.useCaseSensitiveFileNames==="function"?$.host.useCaseSensitiveFileNames():$.host.useCaseSensitiveFileNames;var le=E.toPath(E.combinePaths(j,"dummy"),(ae=(ie=$.host).getCurrentDirectory)===null||ae===void 0?void 0:ae.call(ie),E.createGetCanonicalFileName(ce===undefined?true:ce));var _e=getPackageScopeForPath(le,$.packageJsonInfoCache,$.host,$.compilerOptions);if(!_e){if($.traceEnabled){trace($.host,E.Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,le)}return toSearchResult(undefined)}if(!_e.packageJsonContent.imports){if($.traceEnabled){trace($.host,E.Diagnostics.package_json_scope_0_has_no_imports_defined,_e.packageDirectory)}return toSearchResult(undefined)}var Te=loadModuleFromImportsOrExports(N,$,q,G,R,_e.packageJsonContent.imports,_e,true);if(Te){return Te}if($.traceEnabled){trace($.host,E.Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,R,_e.packageDirectory)}return toSearchResult(undefined)}function loadModuleFromImportsOrExports(N,R,j,$,q,ie,ae,ce){var le=getLoadModuleFromTargetImportOrExport(N,R,j,$,q,ae,ce);if(!E.endsWith(q,E.directorySeparator)&&q.indexOf("*")===-1&&E.hasProperty(ie,q)){var _e=ie[q];return le(_e,"",false)}var Te=E.sort(E.filter(E.getOwnKeys(ie),(function(N){return N.indexOf("*")!==-1||E.endsWith(N,"/")})),(function(E,N){return E.length-N.length}));for(var Ee=0,we=Te;Ee0&&!E.endsWith(ae,"/")){if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,G.packageDirectory,q)}return toSearchResult(undefined)}if(!E.startsWith(ae,"./")){if(ie&&!E.startsWith(ae,"../")&&!E.startsWith(ae,"/")&&!E.isRootedDiskPath(ae)){var Ee=le?ae.replace(/\*/g,ce):ae+ce;var we=nodeModuleNameResolverWorker(R.features,Ee,G.packageDirectory+"/",R.compilerOptions,R.host,j,[N],$);return toSearchResult(we.resolvedModule?{path:we.resolvedModule.resolvedFileName,extension:we.resolvedModule.extension,packageId:we.resolvedModule.packageId,originalPath:we.resolvedModule.originalPath}:undefined)}if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,G.packageDirectory,q)}return toSearchResult(undefined)}var Ie=E.pathIsRelative(ae)?E.getPathComponents(ae).slice(1):E.getPathComponents(ae);var Ne=Ie.slice(1);if(Ne.indexOf("..")>=0||Ne.indexOf(".")>=0||Ne.indexOf("node_modules")>=0){if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,G.packageDirectory,q)}return toSearchResult(undefined)}var Me=E.combinePaths(G.packageDirectory,ae);var Le=E.getPathComponents(ce);if(Le.indexOf("..")>=0||Le.indexOf(".")>=0||Le.indexOf("node_modules")>=0){if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,G.packageDirectory,q)}return toSearchResult(undefined)}var Be=E.getNormalizedAbsolutePath(le?Me.replace(/\*/g,ce):Me+ce,(Te=(_e=R.host).getCurrentDirectory)===null||Te===void 0?void 0:Te.call(_e));return toSearchResult(withPackageId(G,loadJSOrExactTSFileName(N,Be,false,R)))}else if(typeof ae==="object"&&ae!==null){if(!Array.isArray(ae)){for(var je=0,Ue=E.getOwnKeys(ae);je=0||isApplicableVersionedTypesKey(R.conditions,ze)){var We=ae[ze];var we=loadModuleFromTargetImportOrExport(We,ce,le);if(we){return we}}}return undefined}else{if(!E.length(ae)){if(R.traceEnabled){trace(R.host,E.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,G.packageDirectory,q)}return toSearchResult(undefined)}for(var Je=0,Ve=ae;Je$){$=ae}if($===1){return $}}return $}break;case 261:{var ce=0;E.forEachChild(N,(function(N){var j=getModuleInstanceStateCached(N,R);switch(j){case 0:return;case 2:ce=2;return;case 1:ce=1;return true;default:E.Debug.assertNever(j)}}));return ce}case 260:return getModuleInstanceState(N,R);case 79:if(N.isInJSDocNamespace){return 0}}return 1}function getModuleInstanceStateForAliasTarget(N,R){var j=N.propertyName||N.name;var $=N.parent;while($){if(E.isBlock($)||E.isModuleBlock($)||E.isSourceFile($)){var q=$.statements;var G=void 0;for(var ie=0,ae=q;ieG){G=le}if(G===1){return G}}}if(G!==undefined){return G}}$=$.parent}return 1}var R;(function(E){E[E["None"]=0]="None";E[E["IsContainer"]=1]="IsContainer";E[E["IsBlockScopedContainer"]=2]="IsBlockScopedContainer";E[E["IsControlFlowContainer"]=4]="IsControlFlowContainer";E[E["IsFunctionLike"]=8]="IsFunctionLike";E[E["IsFunctionExpression"]=16]="IsFunctionExpression";E[E["HasLocals"]=32]="HasLocals";E[E["IsInterface"]=64]="IsInterface";E[E["IsObjectLiteralOrClassExpressionMethodOrAccessor"]=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor"})(R||(R={}));function initFlowNode(N){E.Debug.attachFlowNodeDebugInfo(N);return N}var q=createBinder();function bindSourceFile(N,R){E.performance.mark("beforeBind");E.perfLogger.logStartBindFile(""+N.fileName);q(N,R);E.perfLogger.logStopBindFile();E.performance.mark("afterBind");E.performance.measure("Bind","beforeBind","afterBind")}E.bindSourceFile=bindSourceFile;function createBinder(){var N;var R;var q;var G;var ie;var ae;var ce;var le;var _e;var Te;var Ee;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve=false;var qe=0;var He;var Ge;var Ke={flags:1};var Qe={flags:1};var Xe=createBindBinaryExpressionFlow();function createDiagnosticForNode(R,j,$,q,G){return E.createDiagnosticForNodeInSourceFile(E.getSourceFileOfNode(R)||N,R,j,$,q,G)}function bindSourceFile(j,$){N=j;R=$;q=E.getEmitScriptTarget(R);Je=bindInStrictMode(N,$);Ge=new E.Set;qe=0;He=E.objectAllocator.getSymbolConstructor();E.Debug.attachFlowNodeDebugInfo(Ke);E.Debug.attachFlowNodeDebugInfo(Qe);if(!N.locals){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("bind","bindSourceFile",{path:N.path},true);bind(N);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();N.symbolCount=qe;N.classifiableNames=Ge;delayedBindJSDocTypedefTag()}N=undefined;R=undefined;q=undefined;G=undefined;ie=undefined;ae=undefined;ce=undefined;le=undefined;_e=undefined;Te=false;Ee=undefined;we=undefined;Ie=undefined;Ne=undefined;Me=undefined;Le=undefined;Be=undefined;Ue=undefined;ze=false;Ve=false;We=0}return bindSourceFile;function bindInStrictMode(N,R){if(E.getStrictOptionValue(R,"alwaysStrict")&&!N.isDeclarationFile){return true}else{return!!N.externalModuleIndicator}}function createSymbol(E,N){qe++;return new He(E,N)}function addDeclarationToSymbol(N,R,j){N.flags|=j;R.symbol=N;N.declarations=E.appendIfUnique(N.declarations,R);if(j&(32|384|1536|3)&&!N.exports){N.exports=E.createSymbolTable()}if(j&(32|64|2048|4096)&&!N.members){N.members=E.createSymbolTable()}if(N.constEnumOnlyModule&&N.flags&(16|32|256)){N.constEnumOnlyModule=false}if(j&111551){E.setValueDeclaration(N,R)}}function getDeclarationName(N){if(N.kind===270){return N.isExportEquals?"export=":"default"}var R=E.getNameOfDeclaration(N);if(R){if(E.isAmbientModule(N)){var j=E.getTextOfIdentifierOrLiteral(R);return E.isGlobalScopeAugmentation(N)?"__global":'"'.concat(j,'"')}if(R.kind===161){var $=R.expression;if(E.isStringOrNumericLiteralLike($)){return E.escapeLeadingUnderscores($.text)}if(E.isSignedNumericLiteral($)){return E.tokenToString($.operator)+$.operand.text}else{E.Debug.fail("Only computed properties with literal names have declaration names")}}if(E.isPrivateIdentifier(R)){var q=E.getContainingClass(N);if(!q){return undefined}var G=q.symbol;return E.getSymbolNameForPrivateIdentifier(G,R.escapedText)}return E.isPropertyNameLiteral(R)?E.getEscapedTextOfIdentifierOrLiteral(R):undefined}switch(N.kind){case 170:return"__constructor";case 178:case 173:case 321:return"__call";case 179:case 174:return"__new";case 175:return"__index";case 271:return"__export";case 303:return"export=";case 220:if(E.getAssignmentDeclarationKind(N)===2){return"export="}E.Debug.fail("Unknown binary declaration kind");break;case 315:return E.isJSDocConstructSignature(N)?"__new":"__call";case 163:E.Debug.assert(N.parent.kind===315,"Impossible parameter parent kind",(function(){return"parent is: ".concat(E.SyntaxKind?E.SyntaxKind[N.parent.kind]:N.parent.kind,", expected JSDocFunctionType")}));var ie=N.parent;var ae=ie.parameters.indexOf(N);return"arg"+ae}}function getDisplayName(N){return E.isNamedDeclaration(N)?E.declarationNameToString(N.name):E.unescapeLeadingUnderscores(E.Debug.checkDefined(getDeclarationName(N)))}function declareSymbol(R,$,q,G,ie,ae,ce){E.Debug.assert(ce||!E.hasDynamicName(q));var le=E.hasSyntacticModifier(q,512)||E.isExportSpecifier(q)&&q.name.escapedText==="default";var _e=ce?"__computed":le&&$?"default":getDeclarationName(q);var Te;if(_e===undefined){Te=createSymbol(0,"__missing")}else{Te=R.get(_e);if(G&2885600){Ge.add(_e)}if(!Te){R.set(_e,Te=createSymbol(0,_e));if(ae)Te.isReplaceableByMethod=true}else if(ae&&!Te.isReplaceableByMethod){return Te}else if(Te.flags&ie){if(Te.isReplaceableByMethod){R.set(_e,Te=createSymbol(0,_e))}else if(!(G&3&&Te.flags&67108864)){if(E.isNamedDeclaration(q)){E.setParent(q.name,q)}var Ee=Te.flags&2?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var we=true;if(Te.flags&384||G&384){Ee=E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;we=false}var Ie=false;if(E.length(Te.declarations)){if(le){Ee=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}else{if(Te.declarations&&Te.declarations.length&&(q.kind===270&&!q.isExportEquals)){Ee=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}}}var Ne=[];if(E.isTypeAliasDeclaration(q)&&E.nodeIsMissing(q.type)&&E.hasSyntacticModifier(q,1)&&Te.flags&(2097152|788968|1920)){Ne.push(createDiagnosticForNode(q,E.Diagnostics.Did_you_mean_0,"export type { ".concat(E.unescapeLeadingUnderscores(q.name.escapedText)," }")))}var Me=E.getNameOfDeclaration(q)||q;E.forEach(Te.declarations,(function(R,j){var $=E.getNameOfDeclaration(R)||R;var q=createDiagnosticForNode($,Ee,we?getDisplayName(R):undefined);N.bindDiagnostics.push(Ie?E.addRelatedInfo(q,createDiagnosticForNode(Me,j===0?E.Diagnostics.Another_export_default_is_here:E.Diagnostics.and_here)):q);if(Ie){Ne.push(createDiagnosticForNode($,E.Diagnostics.The_first_export_default_is_here))}}));var Le=createDiagnosticForNode(Me,Ee,we?getDisplayName(q):undefined);N.bindDiagnostics.push(E.addRelatedInfo.apply(void 0,j([Le],Ne,false)));Te=createSymbol(0,_e)}}}addDeclarationToSymbol(Te,q,G);if(Te.parent){E.Debug.assert(Te.parent===$,"Existing symbol parent should match new one")}else{Te.parent=$}return Te}function declareModuleMember(N,R,j){var $=!!(E.getCombinedModifierFlags(N)&1)||jsdocTreatAsExported(N);if(R&2097152){if(N.kind===274||N.kind===264&&$){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}else{return declareSymbol(ie.locals,undefined,N,R,j)}}else{if(E.isJSDocTypeAlias(N))E.Debug.assert(E.isInJSFile(N));if(!E.isAmbientModule(N)&&($||ie.flags&64)){if(!ie.locals||E.hasSyntacticModifier(N,512)&&!getDeclarationName(N)){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}var q=R&111551?1048576:0;var G=declareSymbol(ie.locals,undefined,N,q,j);G.exportSymbol=declareSymbol(ie.symbol.exports,ie.symbol,N,R,j);N.localSymbol=G;return G}else{return declareSymbol(ie.locals,undefined,N,R,j)}}}function jsdocTreatAsExported(N){if(N.parent&&E.isModuleDeclaration(N)){N=N.parent}if(!E.isJSDocTypeAlias(N))return false;if(!E.isJSDocEnumTag(N)&&!!N.fullName)return true;var R=E.getNameOfDeclaration(N);if(!R)return false;if(E.isPropertyAccessEntityNameExpression(R.parent)&&isTopLevelNamespaceAssignment(R.parent))return true;if(E.isDeclaration(R.parent)&&E.getCombinedModifierFlags(R.parent)&1)return true;return false}function bindContainer(N,R){var j=ie;var $=ae;var q=ce;if(R&1){if(N.kind!==213){ae=ie}ie=ce=N;if(R&32){ie.locals=E.createSymbolTable()}addToContainerChain(ie)}else if(R&2){ce=N;ce.locals=undefined}if(R&4){var G=Ee;var le=we;var _e=Ie;var Me=Ne;var Le=Be;var je=Ue;var Je=ze;var Ve=R&16&&!E.hasSyntacticModifier(N,256)&&!N.asteriskToken&&!!E.getImmediatelyInvokedFunctionExpression(N);if(!Ve){Ee=initFlowNode({flags:2});if(R&(16|128)){Ee.node=N}}Ne=Ve||N.kind===170||N.kind===169||E.isInJSFile(N)&&(N.kind===255||N.kind===212)?createBranchLabel():undefined;Be=undefined;we=undefined;Ie=undefined;Ue=undefined;ze=false;bindChildren(N);N.flags&=~2816;if(!(Ee.flags&1)&&R&8&&E.nodeIsPresent(N.body)){N.flags|=256;if(ze)N.flags|=512;N.endFlowNode=Ee}if(N.kind===303){N.flags|=We;N.endFlowNode=Ee}if(Ne){addAntecedent(Ne,Ee);Ee=finishFlowLabel(Ne);if(N.kind===170||N.kind===169||E.isInJSFile(N)&&(N.kind===255||N.kind===212)){N.returnFlowNode=Ee}}if(!Ve){Ee=G}we=le;Ie=_e;Ne=Me;Be=Le;Ue=je;ze=Je}else if(R&64){Te=false;bindChildren(N);N.flags=Te?N.flags|128:N.flags&~128}else{bindChildren(N)}ie=j;ae=$;ce=q}function bindEachFunctionsFirst(E){bindEach(E,(function(E){return E.kind===255?bind(E):undefined}));bindEach(E,(function(E){return E.kind!==255?bind(E):undefined}))}function bindEach(N,R){if(R===void 0){R=bind}if(N===undefined){return}E.forEach(N,R)}function bindEachChild(N){E.forEachChild(N,bind,bindEach)}function bindChildren(N){var j=Ve;Ve=false;if(checkUnreachable(N)){bindEachChild(N);bindJSDoc(N);Ve=j;return}if(N.kind>=236&&N.kind<=252&&!R.allowUnreachableCode){N.flowNode=Ee}switch(N.kind){case 240:bindWhileStatement(N);break;case 239:bindDoStatement(N);break;case 241:bindForStatement(N);break;case 242:case 243:bindForInOrForOfStatement(N);break;case 238:bindIfStatement(N);break;case 246:case 250:bindReturnOrThrow(N);break;case 245:case 244:bindBreakOrContinueStatement(N);break;case 251:bindTryStatement(N);break;case 248:bindSwitchStatement(N);break;case 262:bindCaseBlock(N);break;case 288:bindCaseClause(N);break;case 237:bindExpressionStatement(N);break;case 249:bindLabeledStatement(N);break;case 218:bindPrefixUnaryExpressionFlow(N);break;case 219:bindPostfixUnaryExpressionFlow(N);break;case 220:if(E.isDestructuringAssignment(N)){Ve=j;bindDestructuringAssignmentFlow(N);return}Xe(N);break;case 214:bindDeleteExpressionFlow(N);break;case 221:bindConditionalExpressionFlow(N);break;case 253:bindVariableDeclarationFlow(N);break;case 205:case 206:bindAccessExpressionFlow(N);break;case 207:bindCallExpressionFlow(N);break;case 229:bindNonNullExpressionFlow(N);break;case 343:case 336:case 337:bindJSDocTypeAlias(N);break;case 303:{bindEachFunctionsFirst(N.statements);bind(N.endOfFileToken);break}case 234:case 261:bindEachFunctionsFirst(N.statements);break;case 202:bindBindingElementFlow(N);break;case 204:case 203:case 294:case 224:Ve=j;default:bindEachChild(N);break}bindJSDoc(N);Ve=j}function isNarrowingExpression(E){switch(E.kind){case 79:case 80:case 108:case 205:case 206:return containsNarrowableReference(E);case 207:return hasNarrowableArgument(E);case 211:case 229:return isNarrowingExpression(E.expression);case 220:return isNarrowingBinaryExpression(E);case 218:return E.operator===53&&isNarrowingExpression(E.operand);case 215:return isNarrowingExpression(E.expression)}return false}function isNarrowableReference(N){return E.isDottedName(N)||(E.isPropertyAccessExpression(N)||E.isNonNullExpression(N)||E.isParenthesizedExpression(N))&&isNarrowableReference(N.expression)||E.isBinaryExpression(N)&&N.operatorToken.kind===27&&isNarrowableReference(N.right)||E.isElementAccessExpression(N)&&E.isStringOrNumericLiteralLike(N.argumentExpression)&&isNarrowableReference(N.expression)||E.isAssignmentExpression(N)&&isNarrowableReference(N.left)}function containsNarrowableReference(N){return isNarrowableReference(N)||E.isOptionalChain(N)&&containsNarrowableReference(N.expression)}function hasNarrowableArgument(E){if(E.arguments){for(var N=0,R=E.arguments;N=117&&R.originalKeywordKind<=125){N.bindDiagnostics.push(createDiagnosticForNode(R,getStrictModeIdentifierMessage(R),E.declarationNameToString(R)))}else if(R.originalKeywordKind===132){if(E.isExternalModule(N)&&E.isInTopLevelContext(R)){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,E.declarationNameToString(R)))}else if(R.flags&32768){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}else if(R.originalKeywordKind===125&&R.flags&8192){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}}function getStrictModeIdentifierMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function checkPrivateIdentifier(R){if(R.escapedText==="#constructor"){if(!N.parseDiagnostics.length){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.constructor_is_a_reserved_word,E.declarationNameToString(R)))}}}function checkStrictModeBinaryExpression(N){if(Je&&E.isLeftHandSideExpression(N.left)&&E.isAssignmentOperator(N.operatorToken.kind)){checkStrictModeEvalOrArguments(N,N.left)}}function checkStrictModeCatchClause(E){if(Je&&E.variableDeclaration){checkStrictModeEvalOrArguments(E,E.variableDeclaration.name)}}function checkStrictModeDeleteExpression(R){if(Je&&R.expression.kind===79){var j=E.getErrorSpanForNode(N,R.expression);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,E.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function isEvalOrArgumentsIdentifier(N){return E.isIdentifier(N)&&(N.escapedText==="eval"||N.escapedText==="arguments")}function checkStrictModeEvalOrArguments(R,j){if(j&&j.kind===79){var $=j;if(isEvalOrArgumentsIdentifier($)){var q=E.getErrorSpanForNode(N,j);N.bindDiagnostics.push(E.createFileDiagnostic(N,q.start,q.length,getStrictModeEvalOrArgumentsMessage(R),E.idText($)))}}}function getStrictModeEvalOrArgumentsMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Invalid_use_of_0_in_strict_mode}function checkStrictModeFunctionName(E){if(Je){checkStrictModeEvalOrArguments(E,E.name)}}function getStrictModeBlockScopeFunctionDeclarationMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function checkStrictModeFunctionDeclaration(R){if(q<2){if(ce.kind!==303&&ce.kind!==260&&!E.isFunctionLikeOrClassStaticBlockDeclaration(ce)){var j=E.getErrorSpanForNode(N,R);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,getStrictModeBlockScopeFunctionDeclarationMessage(R)))}}}function checkStrictModeNumericLiteral(R){if(q<1&&Je&&R.numericLiteralFlags&32){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}}function checkStrictModePostfixUnaryExpression(E){if(Je){checkStrictModeEvalOrArguments(E,E.operand)}}function checkStrictModePrefixUnaryExpression(E){if(Je){if(E.operator===45||E.operator===46){checkStrictModeEvalOrArguments(E,E.operand)}}}function checkStrictModeWithStatement(N){if(Je){errorOnFirstToken(N,E.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}}function checkStrictModeLabeledStatement(N){if(Je&&E.getEmitScriptTarget(R)>=2){if(E.isDeclarationStatement(N.statement)||E.isVariableStatement(N.statement)){errorOnFirstToken(N.label,E.Diagnostics.A_label_is_not_allowed_here)}}}function errorOnFirstToken(R,j,$,q,G){var ie=E.getSpanOfTokenAtPosition(N,R.pos);N.bindDiagnostics.push(E.createFileDiagnostic(N,ie.start,ie.length,j,$,q,G))}function errorOrSuggestionOnNode(E,N,R){errorOrSuggestionOnRange(E,N,N,R)}function errorOrSuggestionOnRange(R,j,$,q){addErrorOrSuggestionDiagnostic(R,{pos:E.getTokenPosOfNode(j,N),end:$.end},q)}function addErrorOrSuggestionDiagnostic(R,j,q){var G=E.createFileDiagnostic(N,j.pos,j.end-j.pos,q);if(R){N.bindDiagnostics.push(G)}else{N.bindSuggestionDiagnostics=E.append(N.bindSuggestionDiagnostics,$($({},G),{category:E.DiagnosticCategory.Suggestion}))}}function bind(R){if(!R){return}E.setParent(R,G);if(E.tracing)R.tracingPath=N.path;var j=Je;bindWorker(R);if(R.kind>159){var $=G;G=R;var q=getContainerFlags(R);if(q===0){bindChildren(R)}else{bindContainer(R,q)}G=$}else{var $=G;if(R.kind===1)G=R;bindJSDoc(R);G=$}Je=j}function bindJSDoc(N){if(E.hasJSDocNodes(N)){if(E.isInJSFile(N)){for(var R=0,j=N.jsDoc;R>",0,$t);var Wr=createSignature(undefined,undefined,undefined,E.emptyArray,$t,undefined,0,0);var Jr=createSignature(undefined,undefined,undefined,E.emptyArray,Ht,undefined,0,0);var $r=createSignature(undefined,undefined,undefined,E.emptyArray,$t,undefined,0,0);var Vr=createSignature(undefined,undefined,undefined,E.emptyArray,_r,undefined,0,0);var qr=createIndexInfo(sr,ar,true);var Hr=new E.Map;var Gr={get yieldType(){return E.Debug.fail("Not supported")},get returnType(){return E.Debug.fail("Not supported")},get nextType(){return E.Debug.fail("Not supported")}};var Kr=createIterationTypes($t,$t,$t);var Qr=createIterationTypes($t,$t,Xt);var Xr=createIterationTypes(hr,$t,Zt);var Yr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:getGlobalAsyncIteratorType,getGlobalIterableType:getGlobalAsyncIterableType,getGlobalIterableIteratorType:getGlobalAsyncIterableIteratorType,getGlobalGeneratorType:getGlobalAsyncGeneratorType,resolveIterationType:getAwaitedType,mustHaveANextMethodDiagnostic:E.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property};var Zr={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:getGlobalIteratorType,getGlobalIterableType:getGlobalIterableType,getGlobalIterableIteratorType:getGlobalIterableIteratorType,getGlobalGeneratorType:getGlobalGeneratorType,resolveIterationType:function(E,N){return E},mustHaveANextMethodDiagnostic:E.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property};var en;var tn=new E.Map;var rn=false;var nn;var an;var on;var sn;var cn;var ln;var un;var dn;var pn;var mn;var gn;var hn;var _n;var yn;var vn;var bn;var xn;var Sn;var Tn;var En;var kn;var Cn;var Dn;var An;var wn;var Pn;var In;var Nn;var Fn;var On;var Mn;var Rn;var Ln;var Bn;var jn;var Un;var zn;var Wn;var Jn;var $n;var Vn;var qn;var Hn;var Gn;var Kn=new E.Map;var Qn=0;var Xn=0;var Yn=0;var Zn=false;var ei=0;var ti;var ri;var ni;var ii=getStringLiteralType("");var ai=getNumberLiteralType(0);var oi=getBigIntLiteralType({negative:false,base10Value:"0"});var si=[];var ci=[];var li=[];var ui=0;var di=10;var pi=[];var fi=[];var mi=[];var gi=[];var hi=[];var _i=[];var yi=[];var vi=[];var bi=[];var xi=[];var Si=[];var Ti=[];var Ei=[];var ki=[];var Ci=[];var Di=[];var Ai=E.createDiagnosticCollection();var wi=E.createDiagnosticCollection();var Pi=new E.Map(E.getEntries({string:ar,number:sr,bigint:cr,boolean:fr,symbol:mr,undefined:Zt}));var Ii=createTypeofType();var Ni;var Fi;var Oi;var Mi=new E.Map;var Ri=new E.Map;var Li=new E.Map;var Bi=new E.Map;var ji=new E.Map;var Ui=new E.Map;var zi=E.createSymbolTable();zi.set(bt.escapedName,bt);var Wi=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",Ye.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];initializeTypeChecker();return kt;function getJsxNamespace(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(E.isJsxOpeningFragment(N)){if(R.localJsxFragmentNamespace){return R.localJsxFragmentNamespace}var j=R.pragmas.get("jsxfrag");if(j){var $=E.isArray(j)?j[0]:j;R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ze);E.visitNode(R.localJsxFragmentFactory,markAsSynthetic);if(R.localJsxFragmentFactory){return R.localJsxFragmentNamespace=E.getFirstIdentifier(R.localJsxFragmentFactory).escapedText}}var q=getJsxFragmentFactoryEntity(N);if(q){R.localJsxFragmentFactory=q;return R.localJsxFragmentNamespace=E.getFirstIdentifier(q).escapedText}}else{var G=getLocalJsxNamespace(R);if(G){return R.localJsxNamespace=G}}}}if(!Ni){Ni="React";if(Ye.jsxFactory){Fi=E.parseIsolatedEntityName(Ye.jsxFactory,Ze);E.visitNode(Fi,markAsSynthetic);if(Fi){Ni=E.getFirstIdentifier(Fi).escapedText}}else if(Ye.reactNamespace){Ni=E.escapeLeadingUnderscores(Ye.reactNamespace)}}if(!Fi){Fi=E.factory.createQualifiedName(E.factory.createIdentifier(E.unescapeLeadingUnderscores(Ni)),"createElement")}return Ni}function getLocalJsxNamespace(N){if(N.localJsxNamespace){return N.localJsxNamespace}var R=N.pragmas.get("jsx");if(R){var j=E.isArray(R)?R[0]:R;N.localJsxFactory=E.parseIsolatedEntityName(j.arguments.factory,Ze);E.visitNode(N.localJsxFactory,markAsSynthetic);if(N.localJsxFactory){return N.localJsxNamespace=E.getFirstIdentifier(N.localJsxFactory).escapedText}}}function markAsSynthetic(N){E.setTextRangePosEnd(N,-1,-1);return E.visitEachChild(N,markAsSynthetic,E.nullTransformationContext)}function getEmitResolver(E,N){getDiagnostics(E,N);return _t}function lookupOrIssueError(N,R,j,$,q,G){var ie=N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G);var ae=Ai.lookup(ie);if(ae){return ae}else{Ai.add(ie);return ie}}function errorSkippedOn(E,N,R,j,$,q,G){var ie=error(N,R,j,$,q,G);ie.skippedOn=E;return ie}function createError(N,R,j,$,q,G){return N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G)}function error(E,N,R,j,$,q){var G=createError(E,N,R,j,$,q);Ai.add(G);return G}function addErrorOrSuggestion(N,R){if(N){Ai.add(R)}else{wi.add($($({},R),{category:E.DiagnosticCategory.Suggestion}))}}function errorOrSuggestion(N,R,j,$,q,G,ie){if(R.pos<0||R.end<0){if(!N){return}var ae=E.getSourceFileOfNode(R);addErrorOrSuggestion(N,"message"in j?E.createFileDiagnostic(ae,0,0,j,$,q,G,ie):E.createDiagnosticForFileFromMessageChain(ae,j));return}addErrorOrSuggestion(N,"message"in j?E.createDiagnosticForNode(R,j,$,q,G,ie):E.createDiagnosticForNodeFromMessageChain(R,j))}function errorAndMaybeSuggestAwait(N,R,j,$,q,G,ie){var ae=error(N,j,$,q,G,ie);if(R){var ce=E.createDiagnosticForNode(N,E.Diagnostics.Did_you_forget_to_use_await);E.addRelatedInfo(ae,ce)}return ae}function addDeprecatedSuggestionWorker(N,R){var j=Array.isArray(N)?E.forEach(N,E.getJSDocDeprecatedTag):E.getJSDocDeprecatedTag(N);if(j){E.addRelatedInfo(R,E.createDiagnosticForNode(j,E.Diagnostics.The_declaration_was_marked_as_deprecated_here))}wi.add(R);return R}function isDeprecatedSymbol(E){return!!(getDeclarationNodeFlagsFromSymbol(E)&134217728)}function addDeprecatedSuggestion(N,R,j){var $=E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,j);return addDeprecatedSuggestionWorker(R,$)}function addDeprecatedSuggestionWithSignature(N,R,j,$){var q=j?E.createDiagnosticForNode(N,E.Diagnostics.The_signature_0_of_1_is_deprecated,$,j):E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,$);return addDeprecatedSuggestionWorker(R,q)}function createSymbol(E,N,R){je++;var j=new Ne(E|33554432,N);j.checkFlags=R||0;return j}function getExcludedSymbolFlags(E){var N=0;if(E&2)N|=111551;if(E&1)N|=111550;if(E&4)N|=0;if(E&8)N|=900095;if(E&16)N|=110991;if(E&32)N|=899503;if(E&64)N|=788872;if(E&256)N|=899327;if(E&128)N|=899967;if(E&512)N|=110735;if(E&8192)N|=103359;if(E&32768)N|=46015;if(E&65536)N|=78783;if(E&262144)N|=526824;if(E&524288)N|=788968;if(E&2097152)N|=2097152;return N}function recordMergedSymbol(E,N){if(!N.mergeId){N.mergeId=ae;ae++}pi[N.mergeId]=E}function cloneSymbol(N){var R=createSymbol(N.flags,N.escapedName);R.declarations=N.declarations?N.declarations.slice():[];R.parent=N.parent;if(N.valueDeclaration)R.valueDeclaration=N.valueDeclaration;if(N.constEnumOnlyModule)R.constEnumOnlyModule=true;if(N.members)R.members=new E.Map(N.members);if(N.exports)R.exports=new E.Map(N.exports);recordMergedSymbol(R,N);return R}function mergeSymbol(N,R,j){if(j===void 0){j=false}if(!(N.flags&getExcludedSymbolFlags(R.flags))||(R.flags|N.flags)&67108864){if(R===N){return N}if(!(N.flags&33554432)){var $=resolveSymbol(N);if($===Ut){return R}N=cloneSymbol($)}if(R.flags&512&&N.flags&512&&N.constEnumOnlyModule&&!R.constEnumOnlyModule){N.constEnumOnlyModule=false}N.flags|=R.flags;if(R.valueDeclaration){E.setValueDeclaration(N,R.valueDeclaration)}E.addRange(N.declarations,R.declarations);if(R.members){if(!N.members)N.members=E.createSymbolTable();mergeSymbolTable(N.members,R.members,j)}if(R.exports){if(!N.exports)N.exports=E.createSymbolTable();mergeSymbolTable(N.exports,R.exports,j)}if(!j){recordMergedSymbol(N,R)}}else if(N.flags&1024){if(N!==xt){error(R.declarations&&E.getNameOfDeclaration(R.declarations[0]),E.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,symbolToString(N))}}else{var q=!!(N.flags&384||R.flags&384);var G=!!(N.flags&2||R.flags&2);var ie=q?E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:G?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var ae=R.declarations&&E.getSourceFileOfNode(R.declarations[0]);var ce=N.declarations&&E.getSourceFileOfNode(N.declarations[0]);var le=E.isPlainJsFile(ae,Ye.checkJs);var _e=E.isPlainJsFile(ce,Ye.checkJs);var Te=symbolToString(R);if(ae&&ce&&en&&!q&&ae!==ce){var Ee=E.comparePaths(ae.path,ce.path)===-1?ae:ce;var we=Ee===ae?ce:ae;var Ie=E.getOrUpdate(en,"".concat(Ee.path,"|").concat(we.path),(function(){return{firstFile:Ee,secondFile:we,conflictingSymbols:new E.Map}}));var Ne=E.getOrUpdate(Ie.conflictingSymbols,Te,(function(){return{isBlockScoped:G,firstFileLocations:[],secondFileLocations:[]}}));if(!le)addDuplicateLocations(Ne.firstFileLocations,R);if(!_e)addDuplicateLocations(Ne.secondFileLocations,N)}else{if(!le)addDuplicateDeclarationErrorsForSymbols(R,ie,Te,N);if(!_e)addDuplicateDeclarationErrorsForSymbols(N,ie,Te,R)}}return N;function addDuplicateLocations(N,R){if(R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];E.pushIfUnique(N,q)}}}}function addDuplicateDeclarationErrorsForSymbols(N,R,j,$){E.forEach(N.declarations,(function(E){addDuplicateDeclarationError(E,R,j,$.declarations)}))}function addDuplicateDeclarationError(N,R,j,$){var q=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;var G=lookupOrIssueError(q,R,j);var _loop_7=function(N){var R=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;if(R===q)return"continue";G.relatedInformation=G.relatedInformation||[];var $=E.createDiagnosticForNode(R,E.Diagnostics._0_was_also_declared_here,j);var ie=E.createDiagnosticForNode(R,E.Diagnostics.and_here);if(E.length(G.relatedInformation)>=5||E.some(G.relatedInformation,(function(N){return E.compareDiagnostics(N,ie)===0||E.compareDiagnostics(N,$)===0})))return"continue";E.addRelatedInfo(G,!E.length(G.relatedInformation)?$:ie)};for(var ie=0,ae=$||E.emptyArray;ie1);return}if(E.isGlobalScopeAugmentation(q)){mergeSymbolTable(vt,q.symbol.exports)}else{var G=!(N.parent.parent.flags&8388608)?E.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found:undefined;var ie=resolveExternalModuleNameWorker(N,N,G,true);if(!ie){return}ie=resolveExternalModuleSymbol(ie);if(ie.flags&1920){if(E.some(an,(function(E){return ie===E.symbol}))){var ae=mergeSymbol(q.symbol,ie,true);if(!on){on=new E.Map}on.set(N.text,ae)}else{if(((j=ie.exports)===null||j===void 0?void 0:j.get("__export"))&&(($=q.symbol.exports)===null||$===void 0?void 0:$.size)){var ce=getResolvedMembersOrExportsOfSymbol(ie,"resolvedExports");for(var le=0,_e=E.arrayFrom(q.symbol.exports.entries());le<_e.length;le++){var Te=_e[le],Ee=Te[0],we=Te[1];if(ce.has(Ee)&&!ie.exports.has(Ee)){mergeSymbol(ce.get(Ee),we)}}}mergeSymbol(ie,q.symbol)}}else{error(N,E.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,N.text)}}}function addToSymbolTable(N,R,j){R.forEach((function(R,$){var q=N.get($);if(q){E.forEach(q.declarations,addDeclarationDiagnostic(E.unescapeLeadingUnderscores($),j))}else{N.set($,R)}}));function addDeclarationDiagnostic(N,R){return function(j){return Ai.add(E.createDiagnosticForNode(j,R,N))}}}function getSymbolLinks(E){if(E.flags&33554432)return E;var N=getSymbolId(E);return fi[N]||(fi[N]=new SymbolLinks)}function getNodeLinks(E){var N=getNodeId(E);return mi[N]||(mi[N]=new NodeLinks)}function isGlobalSourceFile(N){return N.kind===303&&!E.isExternalOrCommonJsModule(N)}function getSymbol(N,R,j){if(j){var $=getMergedSymbol(N.get(R));if($){E.Debug.assert((E.getCheckFlags($)&1)===0,"Should never get an instantiated symbol here.");if($.flags&j){return $}if($.flags&2097152){var q=resolveAlias($);if(q===Ut||q.flags&j){return $}}}}}function getSymbolsOfParameterPropertyDeclaration(N,R){var j=N.parent;var $=N.parent.parent;var q=getSymbol(j.locals,R,111551);var G=getSymbol(getMembersOfSymbol($.symbol),R,111551);if(q&&G){return[q,G]}return E.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function isBlockScopedNameDeclaredBeforeUse(N,R){var j=E.getSourceFileOfNode(N);var $=E.getSourceFileOfNode(R);var G=E.getEnclosingBlockScopeContainer(N);if(j!==$){if(et&&(j.externalModuleIndicator||$.externalModuleIndicator)||!E.outFile(Ye)||isInTypeQuery(R)||N.flags&8388608){return true}if(isUsedInFunctionOrInstanceProperty(R,N)){return true}var ie=q.getSourceFiles();return ie.indexOf(j)<=ie.indexOf($)}if(N.pos<=R.pos&&!(E.isPropertyDeclaration(N)&&E.isThisProperty(R.parent)&&!N.initializer&&!N.exclamationToken)){if(N.kind===202){var ae=E.getAncestor(R,202);if(ae){return E.findAncestor(ae,E.isBindingElement)!==E.findAncestor(N,E.isBindingElement)||N.posN.end){return false}var $=E.findAncestor(R,(function(R){if(R===N){return"quit"}switch(R.kind){case 213:return true;case 166:return j&&(E.isPropertyDeclaration(N)&&R.parent===N.parent||E.isParameterPropertyDeclaration(N,N.parent)&&R.parent===N.parent.parent)?"quit":true;case 234:switch(R.parent.kind){case 171:case 168:case 172:return true;default:return false}default:return false}}));return $===undefined}}function useOuterVariableScopeInParameter(N,R,j){var $=E.getEmitScriptTarget(Ye);var q=R;if(E.isParameter(j)&&q.body&&N.valueDeclaration&&N.valueDeclaration.pos>=q.body.pos&&N.valueDeclaration.end<=q.body.end){if($>=2){var G=getNodeLinks(q);if(G.declarationRequiresScopeChange===undefined){G.declarationRequiresScopeChange=E.forEach(q.parameters,requiresScopeChange)||false}return!G.declarationRequiresScopeChange}}return false;function requiresScopeChange(E){return requiresScopeChangeWorker(E.name)||!!E.initializer&&requiresScopeChangeWorker(E.initializer)}function requiresScopeChangeWorker(N){switch(N.kind){case 213:case 212:case 255:case 170:return false;case 168:case 171:case 172:case 294:return requiresScopeChangeWorker(N.name);case 166:if(E.hasStaticModifier(N)){return $<99||!tt}return requiresScopeChangeWorker(N.name);default:if(E.isNullishCoalesce(N)||E.isOptionalChain(N)){return $<7}if(E.isBindingElement(N)&&N.dotDotDotToken&&E.isObjectBindingPattern(N.parent)){return $<4}if(E.isTypeNode(N))return false;return E.forEachChild(N,requiresScopeChangeWorker)||false}}}function resolveName(E,N,R,j,$,q,G,ie){if(G===void 0){G=false}if(ie===void 0){ie=true}return resolveNameHelper(E,N,R,j,$,q,G,ie,getSymbol)}function resolveNameHelper(N,R,j,$,q,G,ae,ce,le){var _e,Te,Ee;var we=N;var Ie;var Ne;var Me;var Le;var Be;var je=false;var Ue=N;var ze;var We=false;e:while(N){if(N.locals&&!isGlobalSourceFile(N)){if(Ie=le(N.locals,R,j)){var Je=true;if(E.isFunctionLike(N)&&Ne&&Ne!==N.body){if(j&Ie.flags&788968&&Ne.kind!==318){Je=Ie.flags&262144?Ne===N.type||Ne.kind===163||Ne.kind===338||Ne.kind===339||Ne.kind===162:false}if(j&Ie.flags&3){if(useOuterVariableScopeInParameter(Ie,N,Ne)){Je=false}else if(Ie.flags&1){Je=Ne.kind===163||Ne===N.type&&!!E.findAncestor(Ie.valueDeclaration,E.isParameter)}}}else if(N.kind===188){Je=Ne===N.trueType}if(Je){break e}else{Ie=undefined}}}je=je||getIsDeferredContext(N,Ne);switch(N.kind){case 303:if(!E.isExternalOrCommonJsModule(N))break;We=true;case 260:var Ve=((_e=getSymbolOfNode(N))===null||_e===void 0?void 0:_e.exports)||Ge;if(N.kind===303||E.isModuleDeclaration(N)&&N.flags&8388608&&!E.isGlobalScopeAugmentation(N)){if(Ie=Ve.get("default")){var qe=E.getLocalSymbolForExportDefault(Ie);if(qe&&Ie.flags&j&&qe.escapedName===R){break e}Ie=undefined}var He=Ve.get(R);if(He&&He.flags===2097152&&(E.getDeclarationOfKind(He,274)||E.getDeclarationOfKind(He,273))){break}}if(R!=="default"&&(Ie=le(Ve,R,j&2623475))){if(E.isSourceFile(N)&&N.commonJsModuleIndicator&&!((Te=Ie.declarations)===null||Te===void 0?void 0:Te.some(E.isJSDocTypeAlias))){Ie=undefined}else{break e}}break;case 259:if(Ie=le(((Ee=getSymbolOfNode(N))===null||Ee===void 0?void 0:Ee.exports)||Ge,R,j&8)){break e}break;case 166:if(!E.isStatic(N)){var Ke=findConstructorDeclaration(N.parent);if(Ke&&Ke.locals){if(le(Ke.locals,R,j&111551)){Le=N}}}break;case 256:case 225:case 257:if(Ie=le(getSymbolOfNode(N).members||Ge,R,j&788968)){if(!isTypeParameterSymbolDeclaredInContainer(Ie,N)){Ie=undefined;break}if(Ne&&E.isStatic(Ne)){error(Ue,E.Diagnostics.Static_members_cannot_reference_class_type_parameters);return undefined}break e}if(N.kind===225&&j&32){var Qe=N.name;if(Qe&&R===Qe.escapedText){Ie=N.symbol;break e}}break;case 227:if(Ne===N.expression&&N.parent.token===94){var Xe=N.parent.parent;if(E.isClassLike(Xe)&&(Ie=le(getSymbolOfNode(Xe).members,R,j&788968))){if($){error(Ue,E.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters)}return undefined}}break;case 161:ze=N.parent.parent;if(E.isClassLike(ze)||ze.kind===257){if(Ie=le(getSymbolOfNode(ze).members,R,j&788968)){error(Ue,E.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return undefined}}break;case 213:if(E.getEmitScriptTarget(Ye)>=2){break}case 168:case 170:case 171:case 172:case 255:if(j&3&&R==="arguments"){Ie=St;break e}break;case 212:if(j&3&&R==="arguments"){Ie=St;break e}if(j&16){var Ze=N.name;if(Ze&&R===Ze.escapedText){Ie=N.symbol;break e}}break;case 164:if(N.parent&&N.parent.kind===163){N=N.parent}if(N.parent&&(E.isClassElement(N.parent)||N.parent.kind===256)){N=N.parent}break;case 343:case 336:case 337:var et=E.getJSDocRoot(N);if(et){N=et.parent}break;case 163:if(Ne&&(Ne===N.initializer||Ne===N.name&&E.isBindingPattern(Ne))){if(!Be){Be=N}}break;case 202:if(Ne&&(Ne===N.initializer||Ne===N.name&&E.isBindingPattern(Ne))){if(E.isParameterDeclaration(N)&&!Be){Be=N}}break;case 189:if(j&262144){var rt=N.typeParameter.name;if(rt&&R===rt.escapedText){Ie=N.typeParameter.symbol;break e}}break}if(isSelfReferenceLocation(N)){Me=N}Ne=N;N=E.isJSDocTemplateTag(N)?E.getEffectiveContainerForJSDocTemplateTag(N)||N.parent:E.isJSDocParameterTag(N)||E.isJSDocReturnTag(N)?E.getHostSignatureFromJSDoc(N)||N.parent:N.parent}if(G&&Ie&&(!Me||Ie!==Me.symbol)){Ie.isReferenced|=j}if(!Ie){if(Ne){E.Debug.assert(Ne.kind===303);if(Ne.commonJsModuleIndicator&&R==="exports"&&j&Ne.symbol.flags){return Ne.symbol}}if(!ae){Ie=le(vt,R,j)}}if(!Ie){if(we&&E.isInJSFile(we)&&we.parent){if(E.isRequireCall(we.parent,false)){return Tt}}}if(!Ie){if($&&ie){if(!Ue||!checkAndReportErrorForMissingPrefix(Ue,R,q)&&!checkAndReportErrorForExtendingInterface(Ue)&&!checkAndReportErrorForUsingTypeAsNamespace(Ue,R,j)&&!checkAndReportErrorForExportingPrimitiveType(Ue,R)&&!checkAndReportErrorForUsingTypeAsValue(Ue,R,j)&&!checkAndReportErrorForUsingNamespaceModuleAsValue(Ue,R,j)&&!checkAndReportErrorForUsingValueAsType(Ue,R,j)){var nt=void 0;if(ce&&uiBe.pos&&et.parent.locals&&le(et.parent.locals,ht.escapedName,j)===ht){error(Ue,E.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,E.declarationNameToString(Be.name),E.declarationNameToString(Ue))}}if(Ie&&Ue&&j&111551&&Ie.flags&2097152&&!(Ie.flags&111551)&&!E.isValidTypeOnlyAliasUseSite(Ue)){var _t=getTypeOnlyAliasDeclaration(Ie);if(_t){var ct=_t.kind===274?E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;var yt=E.unescapeLeadingUnderscores(R);addTypeOnlyDeclarationRelatedInfo(error(Ue,ct,yt),_t,yt)}}}return Ie}function addTypeOnlyDeclarationRelatedInfo(N,R,j){if(!R)return N;return E.addRelatedInfo(N,E.createDiagnosticForNode(R,R.kind===274?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here,j))}function getIsDeferredContext(N,R){if(N.kind!==213&&N.kind!==212){return E.isTypeQueryNode(N)||(E.isFunctionLikeDeclaration(N)||N.kind===166&&!E.isStatic(N))&&(!R||R!==N.name)}if(R&&R===N.name){return false}if(N.asteriskToken||E.hasSyntacticModifier(N,256)){return true}return!E.getImmediatelyInvokedFunctionExpression(N)}function isSelfReferenceLocation(E){switch(E.kind){case 255:case 256:case 257:case 259:case 258:case 260:return true;default:return false}}function diagnosticName(N){return E.isString(N)?E.unescapeLeadingUnderscores(N):E.declarationNameToString(N)}function isTypeParameterSymbolDeclaredInContainer(N,R){if(N.declarations){for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===162){var G=E.isJSDocTemplateTag(q.parent)?E.getJSDocHost(q.parent):q.parent;if(G===R){return!(E.isJSDocTemplateTag(q.parent)&&E.find(q.parent.parent.tags,E.isJSDocTypeAlias))}}}}return false}function checkAndReportErrorForMissingPrefix(N,R,j){if(!E.isIdentifier(N)||N.escapedText!==R||isTypeReferenceIdentifier(N)||isInTypeQuery(N)){return false}var $=E.getThisContainer(N,false);var q=$;while(q){if(E.isClassLike(q.parent)){var G=getSymbolOfNode(q.parent);if(!G){break}var ie=getTypeOfSymbol(G);if(getPropertyOfType(ie,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,diagnosticName(j),symbolToString(G));return true}if(q===$&&!E.isStatic(q)){var ae=getDeclaredTypeOfSymbol(G).thisType;if(getPropertyOfType(ae,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,diagnosticName(j));return true}}}q=q.parent}return false}function checkAndReportErrorForExtendingInterface(N){var R=getEntityNameForExtendingInterface(N);if(R&&resolveEntityName(R,64,true)){error(N,E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,E.getTextOfNode(R));return true}return false}function getEntityNameForExtendingInterface(N){switch(N.kind){case 79:case 205:return N.parent?getEntityNameForExtendingInterface(N.parent):undefined;case 227:if(E.isEntityNameExpression(N.expression)){return N.expression}default:return undefined}}function checkAndReportErrorForUsingTypeAsNamespace(N,R,j){var $=1920|(E.isInJSFile(N)?111551:0);if(j===$){var q=resolveSymbol(resolveName(N,R,788968&~$,undefined,undefined,false));var G=N.parent;if(q){if(E.isQualifiedName(G)){E.Debug.assert(G.left===N,"Should only be resolving left side of qualified name as a namespace");var ie=G.right.escapedText;var ae=getPropertyOfType(getDeclaredTypeOfSymbol(q),ie);if(ae){error(G,E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,E.unescapeLeadingUnderscores(R),E.unescapeLeadingUnderscores(ie));return true}}error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,E.unescapeLeadingUnderscores(R));return true}}return false}function checkAndReportErrorForUsingValueAsType(N,R,j){if(j&(788968&~1920)){var $=resolveSymbol(resolveName(N,R,~788968&111551,undefined,undefined,false));if($&&!($.flags&1920)){error(N,E.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,E.unescapeLeadingUnderscores(R));return true}}return false}function isPrimitiveTypeName(E){return E==="any"||E==="string"||E==="number"||E==="boolean"||E==="never"||E==="unknown"}function checkAndReportErrorForExportingPrimitiveType(N,R){if(isPrimitiveTypeName(R)&&N.parent.kind===274){error(N,E.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,R);return true}return false}function checkAndReportErrorForUsingTypeAsValue(N,R,j){if(j&(111551&~1024)){if(isPrimitiveTypeName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,E.unescapeLeadingUnderscores(R));return true}var $=resolveSymbol(resolveName(N,R,788968&~111551,undefined,undefined,false));if($&&!($.flags&1024)){var q=E.unescapeLeadingUnderscores(R);if(isES2015OrLaterConstructorName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,q)}else if(maybeMappedType(N,$)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,q,q==="K"?"P":"K")}else{error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,q)}return true}}return false}function maybeMappedType(N,R){var j=E.findAncestor(N.parent,(function(N){return E.isComputedPropertyName(N)||E.isPropertySignature(N)?false:E.isTypeLiteralNode(N)||"quit"}));if(j&&j.members.length===1){var $=getDeclaredTypeOfSymbol(R);return!!($.flags&1048576)&&allTypesAssignableToKind($,384,true)}return false}function isES2015OrLaterConstructorName(E){switch(E){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return true}return false}function checkAndReportErrorForUsingNamespaceModuleAsValue(N,R,j){if(j&(111551&~1024&~788968)){var $=resolveSymbol(resolveName(N,R,1024&~111551,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_value,E.unescapeLeadingUnderscores(R));return true}}else if(j&(788968&~1024&~111551)){var $=resolveSymbol(resolveName(N,R,(512|1024)&~788968,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_type,E.unescapeLeadingUnderscores(R));return true}}return false}function checkResolvedBlockScopedVariable(N,R){var j;E.Debug.assert(!!(N.flags&2||N.flags&32||N.flags&384));if(N.flags&(16|1|67108864)&&N.flags&32){return}var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isBlockOrCatchScoped(N)||E.isClassLike(N)||N.kind===259}));if($===undefined)return E.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,R)){var q=void 0;var G=E.declarationNameToString(E.getNameOfDeclaration($));if(N.flags&2){q=error(R,E.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,G)}else if(N.flags&32){q=error(R,E.Diagnostics.Class_0_used_before_its_declaration,G)}else if(N.flags&256){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}else{E.Debug.assert(!!(N.flags&128));if(E.shouldPreserveConstEnums(Ye)){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}}function isSameScopeDescendentOf(N,R,j){return!!R&&!!E.findAncestor(N,(function(N){return N===R||(N===j||E.isFunctionLike(N)&&!E.getImmediatelyInvokedFunctionExpression(N)?"quit":false)}))}function getAnyImportSyntax(E){switch(E.kind){case 264:return E;case 266:return E.parent;case 267:return E.parent.parent;case 269:return E.parent.parent.parent;default:return undefined}}function getDeclarationOfAliasSymbol(N){return N.declarations&&E.findLast(N.declarations,isAliasSymbolDeclaration)}function isAliasSymbolDeclaration(N){return N.kind===264||N.kind===263||N.kind===266&&!!N.name||N.kind===267||N.kind===273||N.kind===269||N.kind===274||N.kind===270&&E.exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&E.getAssignmentDeclarationKind(N)===2&&E.exportAssignmentIsAlias(N)||E.isAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableOrJsExpression(N.parent.right)||N.kind===295||N.kind===294&&isAliasableOrJsExpression(N.initializer)||E.isVariableDeclarationInitializedToBareOrAccessedRequire(N)}function isAliasableOrJsExpression(N){return E.isAliasableExpression(N)||E.isFunctionExpression(N)&&isJSConstructor(N)}function getTargetOfImportEqualsDeclaration(N,R){var j=getCommonJSPropertyAccess(N);if(j){var $=E.getLeftmostAccessExpression(j.expression).arguments[0];return E.isIdentifier(j.name)?resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral($),j.name.escapedText)):undefined}if(E.isVariableDeclaration(N)||N.moduleReference.kind===276){var q=resolveExternalModuleName(N,E.getExternalModuleRequireArgument(N)||E.getExternalModuleImportEqualsDeclarationExpression(N));var G=resolveExternalModuleSymbol(q);markSymbolOfAliasDeclarationIfTypeOnly(N,q,G,false);return G}var ie=getSymbolOfPartOfRightHandSideOfImportEquals(N.moduleReference,R);checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,ie);return ie}function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,R){if(markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,R,false)&&!N.isTypeOnly){var j=getTypeOnlyAliasDeclaration(getSymbolOfNode(N));var $=j.kind===274;var q=$?E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type;var G=$?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here;var ie=E.unescapeLeadingUnderscores(j.name.escapedText);E.addRelatedInfo(error(N.moduleReference,q),E.createDiagnosticForNode(j,G,ie))}}function resolveExportByName(E,N,R,j){var $=E.exports.get("export=");var q=$?getPropertyOfType(getTypeOfSymbol($),N):E.exports.get(N);var G=resolveSymbol(q,j);markSymbolOfAliasDeclarationIfTypeOnly(R,q,G,false);return G}function isSyntacticDefault(N){return E.isExportAssignment(N)&&!N.isExportEquals||E.hasSyntacticModifier(N,512)||E.isExportSpecifier(N)}function getUsageModeForExpression(N){return E.isStringLiteralLike(N)?E.getModeForUsageLocation(E.getSourceFileOfNode(N),N):undefined}function isESMFormatImportImportingCommonjsFormatFile(N,R){return N===E.ModuleKind.ESNext&&R===E.ModuleKind.CommonJS}function isOnlyImportedAsDefault(N){var R=getUsageModeForExpression(N);return R===E.ModuleKind.ESNext&&E.endsWith(N.text,".json")}function canHaveSyntheticDefault(N,R,j,$){var q=N&&getUsageModeForExpression($);if(N&&q!==undefined){var G=isESMFormatImportImportingCommonjsFormatFile(q,N.impliedNodeFormat);if(q===E.ModuleKind.ESNext||G){return G}}if(!rt){return false}if(!N||N.isDeclarationFile){var ie=resolveExportByName(R,"default",undefined,true);if(ie&&E.some(ie.declarations,isSyntacticDefault)){return false}if(resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)){return false}return true}if(!E.isSourceFileJS(N)){return hasExportAssignmentSymbol(R)}return!N.externalModuleIndicator&&!resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)}function getTargetOfImportClause(N,R){var j;var $=resolveExternalModuleName(N,N.parent.moduleSpecifier);if($){var q=void 0;if(E.isShorthandAmbientModuleSymbol($)){q=$}else{q=resolveExportByName($,"default",N,R)}var G=(j=$.declarations)===null||j===void 0?void 0:j.find(E.isSourceFile);var ie=isOnlyImportedAsDefault(N.parent.moduleSpecifier);var ae=canHaveSyntheticDefault(G,$,R,N.parent.moduleSpecifier);if(!q&&!ae&&!ie){if(hasExportAssignmentSymbol($)){var ce=et>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";var le=$.exports.get("export=");var _e=le.valueDeclaration;var Te=error(N.name,E.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,symbolToString($),ce);if(_e){E.addRelatedInfo(Te,E.createDiagnosticForNode(_e,E.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ce))}}else{reportNonDefaultExport($,N)}}else if(ae||ie){var Ee=resolveExternalModuleSymbol($,R)||resolveSymbol($,R);markSymbolOfAliasDeclarationIfTypeOnly(N,$,Ee,false);return Ee}markSymbolOfAliasDeclarationIfTypeOnly(N,q,undefined,false);return q}}function reportNonDefaultExport(N,R){var j,$,q;if((j=N.exports)===null||j===void 0?void 0:j.has(R.symbol.escapedName)){error(R.name,E.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,symbolToString(N),symbolToString(R.symbol))}else{var G=error(R.name,E.Diagnostics.Module_0_has_no_default_export,symbolToString(N));var ie=($=N.exports)===null||$===void 0?void 0:$.get("__export");if(ie){var ae=(q=ie.declarations)===null||q===void 0?void 0:q.find((function(N){var R,j;return!!(E.isExportDeclaration(N)&&N.moduleSpecifier&&((j=(R=resolveExternalModuleName(N,N.moduleSpecifier))===null||R===void 0?void 0:R.exports)===null||j===void 0?void 0:j.has("default")))}));if(ae){E.addRelatedInfo(G,E.createDiagnosticForNode(ae,E.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}}function getTargetOfNamespaceImport(E,N){var R=E.parent.parent.moduleSpecifier;var j=resolveExternalModuleName(E,R);var $=resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function getTargetOfNamespaceExport(E,N){var R=E.parent.moduleSpecifier;var j=R&&resolveExternalModuleName(E,R);var $=R&&resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function combineValueAndTypeSymbols(N,R){if(N===Ut&&R===Ut){return Ut}if(N.flags&(788968|1920)){return N}var j=createSymbol(N.flags|R.flags,N.escapedName);j.declarations=E.deduplicate(E.concatenate(N.declarations,R.declarations),E.equateValues);j.parent=N.parent||R.parent;if(N.valueDeclaration)j.valueDeclaration=N.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(N.exports)j.exports=new E.Map(N.exports);return j}function getExportOfModule(E,N,R,j){if(E.flags&1536){var $=getExportsOfSymbol(E).get(N.escapedText);var q=resolveSymbol($,j);markSymbolOfAliasDeclarationIfTypeOnly(R,$,q,false);return q}}function getPropertyOfVariable(E,N){if(E.flags&3){var R=E.valueDeclaration.type;if(R){return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(R),N))}}}function getExternalModuleMember(N,R,j){var $,q;if(j===void 0){j=false}var G=E.getExternalModuleRequireArgument(N)||N.moduleSpecifier;var ie=resolveExternalModuleName(N,G);var ae=!E.isPropertyAccessExpression(R)&&R.propertyName||R.name;if(!E.isIdentifier(ae)){return undefined}var ce=ae.escapedText==="default"&&!!(Ye.allowSyntheticDefaultImports||E.getESModuleInterop(Ye));var le=resolveESModuleSymbol(ie,G,false,ce);if(le){if(ae.escapedText){if(E.isShorthandAmbientModuleSymbol(ie)){return ie}var _e=void 0;if(ie&&ie.exports&&ie.exports.get("export=")){_e=getPropertyOfType(getTypeOfSymbol(le),ae.escapedText,true)}else{_e=getPropertyOfVariable(le,ae.escapedText)}_e=resolveSymbol(_e,j);var Te=getExportOfModule(le,ae,R,j);if(Te===undefined&&ae.escapedText==="default"){var Ee=($=ie.declarations)===null||$===void 0?void 0:$.find(E.isSourceFile);if(isOnlyImportedAsDefault(G)||canHaveSyntheticDefault(Ee,ie,j,G)){Te=resolveExternalModuleSymbol(ie,j)||resolveSymbol(ie,j)}}var we=Te&&_e&&Te!==_e?combineValueAndTypeSymbols(_e,Te):Te||_e;if(!we){var Ie=getFullyQualifiedName(ie,N);var Ne=E.declarationNameToString(ae);var Me=getSuggestedSymbolForNonexistentModule(ae,le);if(Me!==undefined){var Le=symbolToString(Me);var Be=error(ae,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ie,Ne,Le);if(Me.valueDeclaration){E.addRelatedInfo(Be,E.createDiagnosticForNode(Me.valueDeclaration,E.Diagnostics._0_is_declared_here,Le))}}else{if((q=ie.exports)===null||q===void 0?void 0:q.has("default")){error(ae,E.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Ie,Ne)}else{reportNonExportedMember(N,ae,Ne,ie,Ie)}}}return we}}}function reportNonExportedMember(N,R,$,q,G){var ie,ae;var ce=(ae=(ie=q.valueDeclaration)===null||ie===void 0?void 0:ie.locals)===null||ae===void 0?void 0:ae.get(R.escapedText);var le=q.exports;if(ce){var _e=le===null||le===void 0?void 0:le.get("export=");if(_e){getSymbolIfSameReference(_e,ce)?reportInvalidImportEqualsExportMember(N,R,$,G):error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}else{var Te=le?E.find(symbolsToArray(le),(function(E){return!!getSymbolIfSameReference(E,ce)})):undefined;var Ee=Te?error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,G,$,symbolToString(Te)):error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,G,$);if(ce.declarations){E.addRelatedInfo.apply(void 0,j([Ee],E.map(ce.declarations,(function(N,R){return E.createDiagnosticForNode(N,R===0?E.Diagnostics._0_is_declared_here:E.Diagnostics.and_here,$)})),false))}}}else{error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}}function reportInvalidImportEqualsExportMember(N,R,j,$){if(et>=E.ModuleKind.ES2015){var q=E.getESModuleInterop(Ye)?E.Diagnostics._0_can_only_be_imported_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{if(E.isInJSFile(N)){var q=E.getESModuleInterop(Ye)?E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{var q=E.getESModuleInterop(Ye)?E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j,j,$)}}}function getTargetOfImportSpecifier(N,R){var j=E.isBindingElement(N)?E.getRootDeclaration(N):N.parent.parent.parent;var $=getCommonJSPropertyAccess(j);var q=getExternalModuleMember(j,$||N,R);var G=N.propertyName||N.name;if($&&q&&E.isIdentifier(G)){return resolveSymbol(getPropertyOfType(getTypeOfSymbol(q),G.escapedText),R)}markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,q,false);return q}function getCommonJSPropertyAccess(N){if(E.isVariableDeclaration(N)&&N.initializer&&E.isPropertyAccessExpression(N.initializer)){return N.initializer}}function getTargetOfNamespaceExportDeclaration(E,N){var R=resolveExternalModuleSymbol(E.parent.symbol,N);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,R,false);return R}function getTargetOfExportSpecifier(E,N,R){var j=E.parent.parent.moduleSpecifier?getExternalModuleMember(E.parent.parent,E,R):resolveEntityName(E.propertyName||E.name,N,false,R);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,j,false);return j}function getTargetOfExportAssignment(N,R){var j=E.isExportAssignment(N)?N.expression:N.right;var $=getTargetOfAliasLikeExpression(j,R);markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,$,false);return $}function getTargetOfAliasLikeExpression(N,R){if(E.isClassExpression(N)){return checkExpressionCached(N).symbol}if(!E.isEntityName(N)&&!E.isEntityNameExpression(N)){return undefined}var j=resolveEntityName(N,111551|788968|1920,true,R);if(j){return j}checkExpressionCached(N);return getNodeLinks(N).resolvedSymbol}function getTargetOfPropertyAssignment(E,N){var R=E.initializer;return getTargetOfAliasLikeExpression(R,N)}function getTargetOfAccessExpression(N,R){if(!(E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63)){return undefined}return getTargetOfAliasLikeExpression(N.parent.right,R)}function getTargetOfAliasDeclaration(N,R){if(R===void 0){R=false}switch(N.kind){case 264:case 253:return getTargetOfImportEqualsDeclaration(N,R);case 266:return getTargetOfImportClause(N,R);case 267:return getTargetOfNamespaceImport(N,R);case 273:return getTargetOfNamespaceExport(N,R);case 269:case 202:return getTargetOfImportSpecifier(N,R);case 274:return getTargetOfExportSpecifier(N,111551|788968|1920,R);case 270:case 220:return getTargetOfExportAssignment(N,R);case 263:return getTargetOfNamespaceExportDeclaration(N,R);case 295:return resolveEntityName(N.name,111551|788968|1920,true,R);case 294:return getTargetOfPropertyAssignment(N,R);case 206:case 205:return getTargetOfAccessExpression(N,R);default:return E.Debug.fail()}}function isNonLocalAlias(E,N){if(N===void 0){N=111551|788968|1920}if(!E)return false;return(E.flags&(2097152|N))===2097152||!!(E.flags&2097152&&E.flags&67108864)}function resolveSymbol(E,N){return!N&&isNonLocalAlias(E)?resolveAlias(E):E}function resolveAlias(N){E.Debug.assert((N.flags&2097152)!==0,"Should only get Alias here.");var R=getSymbolLinks(N);if(!R.target){R.target=zt;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();var $=getTargetOfAliasDeclaration(j);if(R.target===zt){R.target=$||Ut}else{error(j,E.Diagnostics.Circular_definition_of_import_alias_0,symbolToString(N))}}else if(R.target===zt){R.target=Ut}return R.target}function tryResolveAlias(E){var N=getSymbolLinks(E);if(N.target!==zt){return resolveAlias(E)}return undefined}function markSymbolOfAliasDeclarationIfTypeOnly(N,R,j,$){if(!N||E.isPropertyAccessExpression(N))return false;var q=getSymbolOfNode(N);if(E.isTypeOnlyImportOrExportDeclaration(N)){var G=getSymbolLinks(q);G.typeOnlyDeclaration=N;return true}var ie=getSymbolLinks(q);return markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,R,$)||markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,j,$)}function markSymbolOfAliasDeclarationIfTypeOnlyWorker(N,R,j){var $,q,G;if(R&&(N.typeOnlyDeclaration===undefined||j&&N.typeOnlyDeclaration===false)){var ie=(q=($=R.exports)===null||$===void 0?void 0:$.get("export="))!==null&&q!==void 0?q:R;var ae=ie.declarations&&E.find(ie.declarations,E.isTypeOnlyImportOrExportDeclaration);N.typeOnlyDeclaration=(G=ae!==null&&ae!==void 0?ae:getSymbolLinks(ie).typeOnlyDeclaration)!==null&&G!==void 0?G:false}return!!N.typeOnlyDeclaration}function getTypeOnlyAliasDeclaration(E){if(!(E.flags&2097152)){return undefined}var N=getSymbolLinks(E);return N.typeOnlyDeclaration||undefined}function markExportAsReferenced(E){var N=getSymbolOfNode(E);var R=resolveAlias(N);if(R){var j=R===Ut||R.flags&111551&&!isConstEnumOrConstEnumOnlyModule(R)&&!getTypeOnlyAliasDeclaration(N);if(j){markAliasSymbolAsReferenced(N)}}}function markAliasSymbolAsReferenced(N){var R=getSymbolLinks(N);if(!R.referenced){R.referenced=true;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();if(E.isInternalModuleImportEqualsDeclaration(j)){var $=resolveSymbol(N);if($===Ut||$.flags&111551){checkExpressionCached(j.moduleReference)}}}}function markConstEnumAliasAsReferenced(E){var N=getSymbolLinks(E);if(!N.constEnumReferenced){N.constEnumReferenced=true}}function getSymbolOfPartOfRightHandSideOfImportEquals(N,R){if(N.kind===79&&E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}if(N.kind===79||N.parent.kind===160){return resolveEntityName(N,1920,false,R)}else{E.Debug.assert(N.parent.kind===264);return resolveEntityName(N,111551|788968|1920,false,R)}}function getFullyQualifiedName(E,N){return E.parent?getFullyQualifiedName(E.parent,N)+"."+symbolToString(E):symbolToString(E,N,undefined,16|4)}function getContainingQualifiedNameNode(N){while(E.isQualifiedName(N.parent)){N=N.parent}return N}function tryGetQualifiedNameAsValue(N){var R=E.getFirstIdentifier(N);var j=resolveName(R,R.escapedText,111551,undefined,R,true);if(!j){return undefined}while(E.isQualifiedName(R.parent)){var $=getTypeOfSymbol(j);j=getPropertyOfType($,R.parent.right.escapedText);if(!j){return undefined}R=R.parent}return j}function resolveEntityName(N,R,j,$,q){if(E.nodeIsMissing(N)){return undefined}var G=1920|(E.isInJSFile(N)?R&111551:0);var ie;if(N.kind===79){var ae=R===G||E.nodeIsSynthesized(N)?E.Diagnostics.Cannot_find_namespace_0:getCannotFindNameDiagnosticForName(E.getFirstIdentifier(N));var ce=E.isInJSFile(N)&&!E.nodeIsSynthesized(N)?resolveEntityNameFromAssignmentDeclaration(N,R):undefined;ie=getMergedSymbol(resolveName(q||N,N.escapedText,R,j||ce?undefined:ae,N,true,false));if(!ie){return getMergedSymbol(ce)}}else if(N.kind===160||N.kind===205){var le=N.kind===160?N.left:N.expression;var _e=N.kind===160?N.right:N.name;var Te=resolveEntityName(le,G,j,false,q);if(!Te||E.nodeIsMissing(_e)){return undefined}else if(Te===Ut){return Te}if(Te.valueDeclaration&&E.isInJSFile(Te.valueDeclaration)&&E.isVariableDeclaration(Te.valueDeclaration)&&Te.valueDeclaration.initializer&&isCommonJsRequire(Te.valueDeclaration.initializer)){var Ee=Te.valueDeclaration.initializer.arguments[0];var we=resolveExternalModuleName(Ee,Ee);if(we){var Ie=resolveExternalModuleSymbol(we);if(Ie){Te=Ie}}}ie=getMergedSymbol(getSymbol(getExportsOfSymbol(Te),_e.escapedText,R));if(!ie){if(!j){var Ne=getFullyQualifiedName(Te);var Me=E.declarationNameToString(_e);var Le=getSuggestedSymbolForNonexistentModule(_e,Te);if(Le){error(_e,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ne,Me,symbolToString(Le));return undefined}var Be=E.isQualifiedName(N)&&getContainingQualifiedNameNode(N);var je=sn&&R&788968&&Be&&!E.isTypeOfExpression(Be.parent)&&tryGetQualifiedNameAsValue(Be);if(je){error(Be,E.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,E.entityNameToString(Be));return undefined}if(R&1920&&E.isQualifiedName(N.parent)){var Ue=getMergedSymbol(getSymbol(getExportsOfSymbol(Te),_e.escapedText,788968));if(Ue){error(N.parent.right,E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,symbolToString(Ue),E.unescapeLeadingUnderscores(N.parent.right.escapedText));return undefined}}error(_e,E.Diagnostics.Namespace_0_has_no_exported_member_1,Ne,Me)}return undefined}}else{throw E.Debug.assertNever(N,"Unknown entity name kind.")}E.Debug.assert((E.getCheckFlags(ie)&1)===0,"Should never get an instantiated symbol here.");if(!E.nodeIsSynthesized(N)&&E.isEntityName(N)&&(ie.flags&2097152||N.parent.kind===270)){markSymbolOfAliasDeclarationIfTypeOnly(E.getAliasDeclarationFromName(N),ie,undefined,true)}return ie.flags&R||$?ie:resolveAlias(ie)}function resolveEntityNameFromAssignmentDeclaration(E,N){if(isJSDocTypeReference(E.parent)){var R=getAssignmentDeclarationLocation(E.parent);if(R){return resolveName(R,E.escapedText,N,undefined,E,true)}}}function getAssignmentDeclarationLocation(N){var R=E.findAncestor(N,(function(N){return!(E.isJSDocNode(N)||N.flags&4194304)?"quit":E.isJSDocTypeAlias(N)}));if(R){return}var j=E.getJSDocHost(N);if(j&&E.isExpressionStatement(j)&&E.isPrototypePropertyAssignment(j.expression)){var $=getSymbolOfNode(j.expression.left);if($){return getDeclarationOfJSPrototypeContainer($)}}if(j&&E.isFunctionExpression(j)&&E.isPrototypePropertyAssignment(j.parent)&&E.isExpressionStatement(j.parent.parent)){var $=getSymbolOfNode(j.parent.left);if($){return getDeclarationOfJSPrototypeContainer($)}}if(j&&(E.isObjectLiteralMethod(j)||E.isPropertyAssignment(j))&&E.isBinaryExpression(j.parent.parent)&&E.getAssignmentDeclarationKind(j.parent.parent)===6){var $=getSymbolOfNode(j.parent.parent.left);if($){return getDeclarationOfJSPrototypeContainer($)}}var q=E.getEffectiveJSDocHost(N);if(q&&E.isFunctionLike(q)){var $=getSymbolOfNode(q);return $&&$.valueDeclaration}}function getDeclarationOfJSPrototypeContainer(N){var R=N.parent.valueDeclaration;if(!R){return undefined}var j=E.isAssignmentDeclaration(R)?E.getAssignedExpandoInitializer(R):E.hasOnlyExpressionInitializer(R)?E.getDeclaredExpandoInitializer(R):undefined;return j||R}function getExpandoSymbol(N){var R=N.valueDeclaration;if(!R||!E.isInJSFile(R)||N.flags&524288||E.getExpandoInitializer(R,false)){return undefined}var j=E.isVariableDeclaration(R)?E.getDeclaredExpandoInitializer(R):E.getAssignedExpandoInitializer(R);if(j){var $=getSymbolOfNode(j);if($){return mergeJSSymbols($,N)}}}function resolveExternalModuleName(N,R,j){var $=E.getEmitModuleResolutionKind(Ye)===E.ModuleResolutionKind.Classic;var q=$?E.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:E.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return resolveExternalModuleNameWorker(N,R,j?undefined:q)}function resolveExternalModuleNameWorker(N,R,j,$){if($===void 0){$=false}return E.isStringLiteralLike(R)?resolveExternalModule(N,R.text,j,R,$):undefined}function resolveExternalModule(N,R,j,$,G){var ie,ae,ce,le,_e,Te,Ee;if(G===void 0){G=false}if(E.startsWith(R,"@types/")){var we=E.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;var Ie=E.removePrefix(R,"@types/");error($,we,Ie,R)}var Ne=tryFindAmbientModule(R,true);if(Ne){return Ne}var Me=E.getSourceFileOfNode(N);var Le=E.isStringLiteralLike(N)?N:((ie=E.findAncestor(N,E.isImportCall))===null||ie===void 0?void 0:ie.arguments[0])||((ae=E.findAncestor(N,E.isImportDeclaration))===null||ae===void 0?void 0:ae.moduleSpecifier)||((ce=E.findAncestor(N,E.isExternalModuleImportEqualsDeclaration))===null||ce===void 0?void 0:ce.moduleReference.expression)||((le=E.findAncestor(N,E.isExportDeclaration))===null||le===void 0?void 0:le.moduleSpecifier)||((_e=E.isModuleDeclaration(N)?N:N.parent&&E.isModuleDeclaration(N.parent)&&N.parent.name===N?N.parent:undefined)===null||_e===void 0?void 0:_e.name)||((Te=E.isLiteralImportTypeNode(N)?N:undefined)===null||Te===void 0?void 0:Te.argument.literal);var Be=Le&&E.isStringLiteralLike(Le)?E.getModeForUsageLocation(Me,Le):Me.impliedNodeFormat;var je=E.getResolvedModule(Me,R,Be);var Ue=je&&E.getResolutionDiagnostic(Ye,je);var ze=je&&(!Ue||Ue===E.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&q.getSourceFile(je.resolvedFileName);if(ze){if(Ue){error($,Ue,R,je.resolvedFileName)}if(ze.symbol){if(je.isExternalLibraryImport&&!E.resolutionExtensionIsTSOrJson(je.extension)){errorOnImplicitAnyModule(false,$,je,R)}if(E.getEmitModuleResolutionKind(Ye)===E.ModuleResolutionKind.Node12||E.getEmitModuleResolutionKind(Ye)===E.ModuleResolutionKind.NodeNext){var We=Me.impliedNodeFormat===E.ModuleKind.CommonJS&&!E.findAncestor(N,E.isImportCall)||!!E.findAncestor(N,E.isImportEqualsDeclaration);if(We&&ze.impliedNodeFormat===E.ModuleKind.ESNext){error($,E.Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead,R)}if(Be===E.ModuleKind.ESNext&&Ye.resolveJsonModule&&je.extension===".json"){error($,E.Diagnostics.JSON_imports_are_experimental_in_ES_module_mode_imports)}}return getMergedSymbol(ze.symbol)}if(j){error($,E.Diagnostics.File_0_is_not_a_module,ze.fileName)}return undefined}if(an){var Je=E.findBestPatternMatch(an,(function(E){return E.pattern}),R);if(Je){var Ve=on&&on.get(R);if(Ve){return getMergedSymbol(Ve)}return getMergedSymbol(Je.symbol)}}if(je&&!E.resolutionExtensionIsTSOrJson(je.extension)&&Ue===undefined||Ue===E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(G){var we=E.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;error($,we,R,je.resolvedFileName)}else{errorOnImplicitAnyModule(ct&&!!j,$,je,R)}return undefined}if(j){if(je){var qe=q.getProjectReferenceRedirect(je.resolvedFileName);if(qe){error($,E.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,qe,je.resolvedFileName);return undefined}}if(Ue){error($,Ue,R,je.resolvedFileName)}else{var He=E.tryExtractTSExtension(R);var Ge=E.pathIsRelative(R)&&!E.hasExtension(R);var Ke=E.getEmitModuleResolutionKind(Ye);var Qe=Ke===E.ModuleResolutionKind.Node12||Ke===E.ModuleResolutionKind.NodeNext;if(He){var we=E.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;var Xe=E.removeExtension(R,He);var Ze=Xe;if(et>=E.ModuleKind.ES2015){Ze+=He===".mts"?".mjs":He===".cts"?".cjs":".js"}error($,we,He,Ze)}else if(!Ye.resolveJsonModule&&E.fileExtensionIs(R,".json")&&E.getEmitModuleResolutionKind(Ye)!==E.ModuleResolutionKind.Classic&&E.hasJsonModuleEmitEnabled(Ye)){error($,E.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,R)}else if(Be===E.ModuleKind.ESNext&&Qe&&Ge){var tt=E.getNormalizedAbsolutePath(R,E.getDirectoryPath(Me.path));var rt=(Ee=Wi.find((function(E){var N=E[0],R=E[1];return q.fileExists(tt+N)})))===null||Ee===void 0?void 0:Ee[1];if(rt){error($,E.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0,R+rt)}else{error($,E.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path)}}else{error($,j,R)}}}return undefined}function errorOnImplicitAnyModule(N,R,j,$){var q=j.packageId,G=j.resolvedFileName;var ie=!E.isExternalModuleNameRelative($)&&q?typesPackageExists(q.name)?E.chainDiagnosticMessages(undefined,E.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,q.name,E.mangleScopedPackageName(q.name)):packageBundlesTypes(q.name)?E.chainDiagnosticMessages(undefined,E.Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,q.name,$):E.chainDiagnosticMessages(undefined,E.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,$,E.mangleScopedPackageName(q.name)):undefined;errorOrSuggestion(N,R,E.chainDiagnosticMessages(ie,E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,$,G))}function typesPackageExists(N){return le().has(E.getTypesPackageName(N))}function packageBundlesTypes(E){return!!le().get(E)}function resolveExternalModuleSymbol(E,N){if(E===null||E===void 0?void 0:E.exports){var R=resolveSymbol(E.exports.get("export="),N);var j=getCommonJsExportEquals(getMergedSymbol(R),getMergedSymbol(E));return getMergedSymbol(j)||E}return undefined}function getCommonJsExportEquals(N,R){if(!N||N===Ut||N===R||R.exports.size===1||N.flags&2097152){return N}var j=getSymbolLinks(N);if(j.cjsExportMerged){return j.cjsExportMerged}var $=N.flags&33554432?N:cloneSymbol(N);$.flags=$.flags|512;if($.exports===undefined){$.exports=E.createSymbolTable()}R.exports.forEach((function(E,N){if(N==="export=")return;$.exports.set(N,$.exports.has(N)?mergeSymbol($.exports.get(N),E):E)}));getSymbolLinks($).cjsExportMerged=$;return j.cjsExportMerged=$}function resolveESModuleSymbol(N,R,j,$){var q=resolveExternalModuleSymbol(N,j);if(!j&&q){if(!$&&!(q.flags&(1536|3))&&!E.getDeclarationOfKind(q,303)){var G=et>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";error(R,E.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,G);return q}var ie=R.parent;if(E.isImportDeclaration(ie)&&E.getNamespaceDeclarationNode(ie)||E.isImportCall(ie)){var ae=E.isImportCall(ie)?ie.arguments[0]:ie.moduleSpecifier;var ce=getTypeOfSymbol(q);var le=getTypeWithSyntheticDefaultOnly(ce,q,N,ae);if(le){return cloneTypeAsModuleType(q,le,ie)}if(E.getESModuleInterop(Ye)){var _e=getSignaturesOfStructuredType(ce,0);if(!_e||!_e.length){_e=getSignaturesOfStructuredType(ce,1)}if(_e&&_e.length||getPropertyOfType(ce,"default",true)){var Te=getTypeWithSyntheticDefaultImportType(ce,q,N,ae);return cloneTypeAsModuleType(q,Te,ie)}}}}return q}function cloneTypeAsModuleType(N,R,j){var $=createSymbol(N.flags,N.escapedName);$.declarations=N.declarations?N.declarations.slice():[];$.parent=N.parent;$.target=N;$.originatingImport=j;if(N.valueDeclaration)$.valueDeclaration=N.valueDeclaration;if(N.constEnumOnlyModule)$.constEnumOnlyModule=true;if(N.members)$.members=new E.Map(N.members);if(N.exports)$.exports=new E.Map(N.exports);var q=resolveStructuredTypeMembers(R);$.type=createAnonymousType($,q.members,E.emptyArray,E.emptyArray,q.indexInfos);return $}function hasExportAssignmentSymbol(E){return E.exports.get("export=")!==undefined}function getExportsOfModuleAsArray(E){return symbolsToArray(getExportsOfModule(E))}function getExportsAndPropertiesOfModule(N){var R=getExportsOfModuleAsArray(N);var j=resolveExternalModuleSymbol(N);if(j!==N){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){E.addRange(R,getPropertiesOfType($))}}return R}function forEachExportAndPropertyOfModule(E,N){var R=getExportsOfModule(E);R.forEach((function(E,R){if(!isReservedMemberName(R)){N(E,R)}}));var j=resolveExternalModuleSymbol(E);if(j!==E){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){forEachPropertyOfType($,(function(E,R){N(E,R)}))}}}function tryGetMemberInModuleExports(E,N){var R=getExportsOfModule(N);if(R){return R.get(E)}}function tryGetMemberInModuleExportsAndProperties(E,N){var R=tryGetMemberInModuleExports(E,N);if(R){return R}var j=resolveExternalModuleSymbol(N);if(j===N){return undefined}var $=getTypeOfSymbol(j);return shouldTreatPropertiesOfExternalModuleAsExports($)?getPropertyOfType($,E):undefined}function shouldTreatPropertiesOfExternalModuleAsExports(N){return!(N.flags&131068||E.getObjectFlags(N)&1||isArrayType(N)||isTupleType(N))}function getExportsOfSymbol(E){return E.flags&6256?getResolvedMembersOrExportsOfSymbol(E,"resolvedExports"):E.flags&1536?getExportsOfModule(E):E.exports||Ge}function getExportsOfModule(E){var N=getSymbolLinks(E);return N.resolvedExports||(N.resolvedExports=getExportsOfModuleWorker(E))}function extendExportSymbols(N,R,j,$){if(!R)return;R.forEach((function(R,q){if(q==="default")return;var G=N.get(q);if(!G){N.set(q,R);if(j&&$){j.set(q,{specifierText:E.getTextOfNode($.moduleSpecifier)})}}else if(j&&$&&G&&resolveSymbol(G)!==resolveSymbol(R)){var ie=j.get(q);if(!ie.exportsWithDuplicate){ie.exportsWithDuplicate=[$]}else{ie.exportsWithDuplicate.push($)}}}))}function getExportsOfModuleWorker(N){var R=[];N=resolveExternalModuleSymbol(N);return visit(N)||Ge;function visit(N){if(!(N&&N.exports&&E.pushIfUnique(R,N))){return}var j=new E.Map(N.exports);var $=N.exports.get("__export");if($){var q=E.createSymbolTable();var G=new E.Map;if($.declarations){for(var ie=0,ae=$.declarations;ie=_e){return le.substr(0,_e-"...".length)+"..."}return le}function getTypeNamesForErrorDisplay(E,N){var R=symbolValueDeclarationIsContextSensitive(E.symbol)?typeToString(E,E.symbol.valueDeclaration):typeToString(E);var j=symbolValueDeclarationIsContextSensitive(N.symbol)?typeToString(N,N.symbol.valueDeclaration):typeToString(N);if(R===j){R=getTypeNameForErrorDisplay(E);j=getTypeNameForErrorDisplay(N)}return[R,j]}function getTypeNameForErrorDisplay(E){return typeToString(E,undefined,64)}function symbolValueDeclarationIsContextSensitive(N){return N&&!!N.valueDeclaration&&E.isExpression(N.valueDeclaration)&&!isContextSensitive(N.valueDeclaration)}function toNodeBuilderFlags(E){if(E===void 0){E=0}return E&814775659}function isClassInstanceSide(N){return!!N.symbol&&!!(N.symbol.flags&32)&&(N===getDeclaredTypeOfClassOrInterface(N.symbol)||!!(N.flags&524288)&&!!(E.getObjectFlags(N)&16777216))}function createNodeBuilder(){return{typeToTypeNode:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeToTypeNodeHelper(E,N)}))},indexInfoToIndexSignatureDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return indexInfoToIndexSignatureDeclarationHelper(E,N,undefined)}))},signatureToSignatureDeclaration:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return signatureToSignatureDeclarationHelper(E,N,R)}))},symbolToEntityName:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToName(E,R,N,false)}))},symbolToExpression:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToExpression(E,R,N)}))},symbolToTypeParameterDeclarations:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParametersToTypeParameterDeclarations(E,N)}))},symbolToParameterDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return symbolToParameterDeclaration(E,N)}))},typeParameterToDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParameterToDeclaration(E,N)}))},symbolTableToDeclarationStatements:function(E,N,R,j,$){return withContext(N,R,j,(function(N){return symbolTableToDeclarationStatements(E,N,$)}))}};function withContext(N,R,j,$){var G,ie;E.Debug.assert(N===undefined||(N.flags&8)===0);var ae={enclosingDeclaration:N,flags:R||0,tracker:j&&j.trackSymbol?j:{trackSymbol:function(){return false},moduleResolverHost:R&134217728?{getCommonSourceDirectory:!!q.getCommonSourceDirectory?function(){return q.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return q.getCurrentDirectory()},getSymlinkCache:E.maybeBind(q,q.getSymlinkCache),getPackageJsonInfoCache:function(){var E;return(E=q.getPackageJsonInfoCache)===null||E===void 0?void 0:E.call(q)},useCaseSensitiveFileNames:E.maybeBind(q,q.useCaseSensitiveFileNames),redirectTargetsMap:q.redirectTargetsMap,getProjectReferenceRedirect:function(E){return q.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return q.isSourceOfProjectReferenceRedirect(E)},fileExists:function(E){return q.fileExists(E)},getFileIncludeReasons:function(){return q.getFileIncludeReasons()},readFile:q.readFile?function(E){return q.readFile(E)}:undefined}:undefined},encounteredError:false,reportedDiagnostic:false,visitedTypes:undefined,symbolDepth:undefined,inferTypeParameters:undefined,approximateLength:0};ae.tracker=wrapSymbolTrackerToReportForContext(ae,ae.tracker);var ce=$(ae);if(ae.truncating&&ae.flags&1){(ie=(G=ae.tracker)===null||G===void 0?void 0:G.reportTruncationError)===null||ie===void 0?void 0:ie.call(G)}return ae.encounteredError?undefined:ce}function wrapSymbolTrackerToReportForContext(E,N){var R=N.trackSymbol;return $($({},N),{reportCyclicStructureError:wrapReportedDiagnostic(N.reportCyclicStructureError),reportInaccessibleThisError:wrapReportedDiagnostic(N.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:wrapReportedDiagnostic(N.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:wrapReportedDiagnostic(N.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:wrapReportedDiagnostic(N.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:wrapReportedDiagnostic(N.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:wrapReportedDiagnostic(N.reportNonSerializableProperty),trackSymbol:R&&function(){var N=[];for(var j=0;j(N.flags&1?E.noTruncationMaximumTruncationLength:E.defaultMaximumTruncationLength)}function typeToTypeNodeHelper(N,R){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var j=R.flags&8388608;R.flags&=~8388608;if(!N){if(!(R.flags&262144)){R.encounteredError=true;return undefined}R.approximateLength+=3;return E.factory.createKeywordTypeNode(130)}if(!(R.flags&536870912)){N=getReducedType(N)}if(N.flags&1){if(N.aliasSymbol){return E.factory.createTypeReferenceNode(symbolToEntityNameNode(N.aliasSymbol),mapToTypeNodes(N.aliasTypeArguments,R))}if(N===Gt){return E.addSyntheticLeadingComment(E.factory.createKeywordTypeNode(130),3,"unresolved")}R.approximateLength+=3;return E.factory.createKeywordTypeNode(N===Qt?138:130)}if(N.flags&2){return E.factory.createKeywordTypeNode(154)}if(N.flags&4){R.approximateLength+=6;return E.factory.createKeywordTypeNode(149)}if(N.flags&8){R.approximateLength+=6;return E.factory.createKeywordTypeNode(146)}if(N.flags&64){R.approximateLength+=6;return E.factory.createKeywordTypeNode(157)}if(N.flags&16&&!N.aliasSymbol){R.approximateLength+=7;return E.factory.createKeywordTypeNode(133)}if(N.flags&1024&&!(N.flags&1048576)){var $=getParentOfSymbol(N.symbol);var q=symbolToTypeNode($,R,788968);if(getDeclaredTypeOfSymbol($)===N){return q}var G=E.symbolName(N.symbol);if(E.isIdentifierText(G,0)){return appendReferenceToType(q,E.factory.createTypeReferenceNode(G,undefined))}if(E.isImportTypeNode(q)){q.isTypeOf=true;return E.factory.createIndexedAccessTypeNode(q,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else if(E.isTypeReferenceNode(q)){return E.factory.createIndexedAccessTypeNode(E.factory.createTypeQueryNode(q.typeName),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else{return E.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}}if(N.flags&1056){return symbolToTypeNode(N.symbol,R,788968)}if(N.flags&128){R.approximateLength+=N.value.length+2;return E.factory.createLiteralTypeNode(E.setEmitFlags(E.factory.createStringLiteral(N.value,!!(R.flags&268435456)),16777216))}if(N.flags&256){var ie=N.value;R.approximateLength+=(""+ie).length;return E.factory.createLiteralTypeNode(ie<0?E.factory.createPrefixUnaryExpression(40,E.factory.createNumericLiteral(-ie)):E.factory.createNumericLiteral(ie))}if(N.flags&2048){R.approximateLength+=E.pseudoBigIntToString(N.value).length+1;return E.factory.createLiteralTypeNode(E.factory.createBigIntLiteral(N.value))}if(N.flags&512){R.approximateLength+=N.intrinsicName.length;return E.factory.createLiteralTypeNode(N.intrinsicName==="true"?E.factory.createTrue():E.factory.createFalse())}if(N.flags&8192){if(!(R.flags&1048576)){if(isValueSymbolAccessible(N.symbol,R.enclosingDeclaration)){R.approximateLength+=6;return symbolToTypeNode(N.symbol,R,111551)}if(R.tracker.reportInaccessibleUniqueSymbolError){R.tracker.reportInaccessibleUniqueSymbolError()}}R.approximateLength+=13;return E.factory.createTypeOperatorNode(153,E.factory.createKeywordTypeNode(150))}if(N.flags&16384){R.approximateLength+=4;return E.factory.createKeywordTypeNode(114)}if(N.flags&32768){R.approximateLength+=9;return E.factory.createKeywordTypeNode(152)}if(N.flags&65536){R.approximateLength+=4;return E.factory.createLiteralTypeNode(E.factory.createNull())}if(N.flags&131072){R.approximateLength+=5;return E.factory.createKeywordTypeNode(143)}if(N.flags&4096){R.approximateLength+=6;return E.factory.createKeywordTypeNode(150)}if(N.flags&67108864){R.approximateLength+=6;return E.factory.createKeywordTypeNode(147)}if(E.isThisTypeParameter(N)){if(R.flags&4194304){if(!R.encounteredError&&!(R.flags&32768)){R.encounteredError=true}if(R.tracker.reportInaccessibleThisError){R.tracker.reportInaccessibleThisError()}}R.approximateLength+=4;return E.factory.createThisTypeNode()}if(!j&&N.aliasSymbol&&(R.flags&16384||isTypeSymbolAccessible(N.aliasSymbol,R.enclosingDeclaration))){var ae=mapToTypeNodes(N.aliasTypeArguments,R);if(isReservedMemberName(N.aliasSymbol.escapedName)&&!(N.aliasSymbol.flags&32))return E.factory.createTypeReferenceNode(E.factory.createIdentifier(""),ae);return symbolToTypeNode(N.aliasSymbol,R,788968,ae)}var ce=E.getObjectFlags(N);if(ce&4){E.Debug.assert(!!(N.flags&524288));return N.node?visitAndTransformType(N,typeReferenceToTypeNode):typeReferenceToTypeNode(N)}if(N.flags&262144||ce&3){if(N.flags&262144&&E.contains(R.inferTypeParameters,N)){R.approximateLength+=E.symbolName(N.symbol).length+6;return E.factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(N,R,undefined))}if(R.flags&4&&N.flags&262144&&!isTypeSymbolAccessible(N.symbol,R.enclosingDeclaration)){var le=typeParameterToName(N,R);R.approximateLength+=E.idText(le).length;return E.factory.createTypeReferenceNode(E.factory.createIdentifier(E.idText(le)),undefined)}return N.symbol?symbolToTypeNode(N.symbol,R,788968):E.factory.createTypeReferenceNode(E.factory.createIdentifier("?"),undefined)}if(N.flags&1048576&&N.origin){N=N.origin}if(N.flags&(1048576|2097152)){var Te=N.flags&1048576?formatUnionTypes(N.types):N.types;if(E.length(Te)===1){return typeToTypeNodeHelper(Te[0],R)}var Ee=mapToTypeNodes(Te,R,true);if(Ee&&Ee.length>0){return N.flags&1048576?E.factory.createUnionTypeNode(Ee):E.factory.createIntersectionTypeNode(Ee)}else{if(!R.encounteredError&&!(R.flags&262144)){R.encounteredError=true}return undefined}}if(ce&(16|32)){E.Debug.assert(!!(N.flags&524288));return createAnonymousTypeNode(N)}if(N.flags&4194304){var we=N.type;R.approximateLength+=6;var Ie=typeToTypeNodeHelper(we,R);return E.factory.createTypeOperatorNode(140,Ie)}if(N.flags&134217728){var Ne=N.texts;var Me=N.types;var Le=E.factory.createTemplateHead(Ne[0]);var Be=E.factory.createNodeArray(E.map(Me,(function(N,j){return E.factory.createTemplateLiteralTypeSpan(typeToTypeNodeHelper(N,R),(j10){return createElidedInformationPlaceholder(R)}R.symbolDepth.set(ae,Te+1)}R.visitedTypes.add(G);var Ee=R.approximateLength;var we=j(N);var Ie=R.approximateLength-Ee;if(!R.reportedDiagnostic&&!R.encounteredError){if(R.truncating){we.truncating=true}we.addedLength=Ie;(q=ce===null||ce===void 0?void 0:ce.serializedTypes)===null||q===void 0?void 0:q.set(le,we)}R.visitedTypes.delete(G);if(ae){R.symbolDepth.set(ae,Te)}return we;function deepCloneOrReuseNode(N){if(!E.nodeIsSynthesized(N)&&E.getParseTreeNode(N)===N){return N}return E.setTextRange(E.factory.cloneNode(E.visitEachChild(N,deepCloneOrReuseNode,E.nullTransformationContext)),N)}}function createTypeNodeFromObjectType(N){if(isGenericMappedType(N)||N.containsError){return createMappedTypeNodeFromType(N)}var j=resolveStructuredTypeMembers(N);if(!j.properties.length&&!j.indexInfos.length){if(!j.callSignatures.length&&!j.constructSignatures.length){R.approximateLength+=2;return E.setEmitFlags(E.factory.createTypeLiteralNode(undefined),1)}if(j.callSignatures.length===1&&!j.constructSignatures.length){var $=j.callSignatures[0];var q=signatureToSignatureDeclarationHelper($,178,R);return q}if(j.constructSignatures.length===1&&!j.callSignatures.length){var $=j.constructSignatures[0];var q=signatureToSignatureDeclarationHelper($,179,R);return q}}var G=E.filter(j.constructSignatures,(function(E){return!!(E.flags&4)}));if(E.some(G)){var ie=E.map(G,getOrCreateTypeFromSignature);var ae=j.callSignatures.length+(j.constructSignatures.length-G.length)+j.indexInfos.length+(R.flags&2048?E.countWhere(j.properties,(function(E){return!(E.flags&4194304)})):E.length(j.properties));if(ae){ie.push(getResolvedTypeWithoutAbstractConstructSignatures(j))}return typeToTypeNodeHelper(getIntersectionType(ie),R)}var ce=R.flags;R.flags|=4194304;var le=createTypeNodesFromResolvedType(j);R.flags=ce;var _e=E.factory.createTypeLiteralNode(le);R.approximateLength+=2;E.setEmitFlags(_e,R.flags&1024?0:1);return _e}function typeReferenceToTypeNode(N){var j=getTypeArguments(N);if(N.target===dn||N.target===pn){if(R.flags&2){var $=typeToTypeNodeHelper(j[0],R);return E.factory.createTypeReferenceNode(N.target===dn?"Array":"ReadonlyArray",[$])}var q=typeToTypeNodeHelper(j[0],R);var G=E.factory.createArrayTypeNode(q);return N.target===dn?G:E.factory.createTypeOperatorNode(144,G)}else if(N.target.objectFlags&8){j=E.sameMap(j,(function(E,R){return removeMissingType(E,!!(N.target.elementFlags[R]&2))}));if(j.length>0){var ie=getTypeReferenceArity(N);var ae=mapToTypeNodes(j.slice(0,ie),R);if(ae){if(N.target.labeledElementDeclarations){for(var ce=0;ce0){var Ue=(N.target.typeParameters||E.emptyArray).length;je=mapToTypeNodes(j.slice(ce,Ue),R)}var le=R.flags;R.flags|=16;var ze=symbolToTypeNode(N.symbol,R,788968,je);R.flags=le;return!Ee?ze:appendReferenceToType(Ee,ze)}}function appendReferenceToType(N,R){if(E.isImportTypeNode(N)){var j=N.typeArguments;var $=N.qualifier;if($){if(E.isIdentifier($)){$=E.factory.updateIdentifier($,j)}else{$=E.factory.updateQualifiedName($,$.left,E.factory.updateIdentifier($.right,j))}}j=R.typeArguments;var q=getAccessStack(R);for(var G=0,ie=q;G2){return[typeToTypeNodeHelper(N[0],R),E.factory.createTypeReferenceNode("... ".concat(N.length-2," more ..."),undefined),typeToTypeNodeHelper(N[N.length-1],R)]}}var $=!(R.flags&64);var q=$?E.createUnderscoreEscapedMultiMap():undefined;var G=[];var ie=0;for(var ae=0,ce=N;ae0)}else{q=[N]}return q;function getSymbolChain(N,j,q){var G=getAccessibleSymbolChain(N,R.enclosingDeclaration,j,!!(R.flags&128));var ie;if(!G||needsQualification(G[0],R.enclosingDeclaration,G.length===1?j:getQualifiedLeftMeaning(j))){var ae=getContainersOfSymbol(G?G[0]:N,R.enclosingDeclaration,j);if(E.length(ae)){ie=ae.map((function(N){return E.some(N.declarations,hasNonGlobalAugmentationExternalModuleSymbol)?getSpecifierForModuleSymbol(N,R):undefined}));var ce=ae.map((function(E,N){return N}));ce.sort(sortByBestName);var le=ce.map((function(E){return ae[E]}));for(var _e=0,Te=le;_e1?createAccessFromSymbolChain(q,q.length-1,1):undefined;var ae=$||lookupTypeParameterNodes(q,0,R);var ce=getSpecifierForModuleSymbol(q[0],R);if(!(R.flags&67108864)&&E.getEmitModuleResolutionKind(Ye)!==E.ModuleResolutionKind.Classic&&ce.indexOf("/node_modules/")>=0){R.encounteredError=true;if(R.tracker.reportLikelyUnsafeImportRequiredError){R.tracker.reportLikelyUnsafeImportRequiredError(ce)}}var le=E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce));if(R.tracker.trackExternalModuleSymbolOfImportTypeNode)R.tracker.trackExternalModuleSymbolOfImportTypeNode(q[0]);R.approximateLength+=ce.length+10;if(!ie||E.isEntityName(ie)){if(ie){var _e=E.isIdentifier(ie)?ie:ie.right;_e.typeArguments=undefined}return E.factory.createImportTypeNode(le,ie,ae,G)}else{var Te=getTopmostIndexedAccessType(ie);var Ee=Te.objectType.typeName;return E.factory.createIndexedAccessTypeNode(E.factory.createImportTypeNode(le,Ee,ae,G),Te.indexType)}}var we=createAccessFromSymbolChain(q,q.length-1,0);if(E.isIndexedAccessTypeNode(we)){return we}if(G){return E.factory.createTypeQueryNode(we)}else{var _e=E.isIdentifier(we)?we:we.right;var Ie=_e.typeArguments;_e.typeArguments=undefined;return E.factory.createTypeReferenceNode(we,Ie)}function createAccessFromSymbolChain(N,j,q){var G=j===N.length-1?$:lookupTypeParameterNodes(N,j,R);var ie=N[j];var ae=N[j-1];var ce;if(j===0){R.flags|=16777216;ce=getNameOfSymbolAsWritten(ie,R);R.approximateLength+=(ce?ce.length:0)+1;R.flags^=16777216}else{if(ae&&getExportsOfSymbol(ae)){var le=getExportsOfSymbol(ae);E.forEachEntry(le,(function(N,R){if(getSymbolIfSameReference(N,ie)&&!isLateBoundName(R)&&R!=="export="){ce=E.unescapeLeadingUnderscores(R);return true}}))}}if(!ce){ce=getNameOfSymbolAsWritten(ie,R)}R.approximateLength+=ce.length+1;if(!(R.flags&16)&&ae&&getMembersOfSymbol(ae)&&getMembersOfSymbol(ae).get(ie.escapedName)&&getSymbolIfSameReference(getMembersOfSymbol(ae).get(ie.escapedName),ie)){var _e=createAccessFromSymbolChain(N,j-1,q);if(E.isIndexedAccessTypeNode(_e)){return E.factory.createIndexedAccessTypeNode(_e,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}else{return E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(_e,G),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}}var Te=E.setEmitFlags(E.factory.createIdentifier(ce,G),16777216);Te.symbol=ie;if(j>q){var _e=createAccessFromSymbolChain(N,j-1,q);if(!E.isEntityName(_e)){return E.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return E.factory.createQualifiedName(_e,Te)}return Te}}function typeParameterShadowsNameInScope(E,N,R){var j=resolveName(N.enclosingDeclaration,E,788968,undefined,E,false);if(j){if(j.flags&262144&&j===R.symbol){return false}return true}return false}function typeParameterToName(N,R){var j,$;if(R.flags&4&&R.typeParameterNames){var q=R.typeParameterNames.get(getTypeId(N));if(q){return q}}var G=symbolToName(N.symbol,R,788968,true);if(!(G.kind&79)){return E.factory.createIdentifier("(Missing type parameter)")}if(R.flags&4){var ie=G.escapedText;var ae=((j=R.typeParameterNamesByTextNextNameCount)===null||j===void 0?void 0:j.get(ie))||0;var ce=ie;while((($=R.typeParameterNamesByText)===null||$===void 0?void 0:$.has(ce))||typeParameterShadowsNameInScope(ce,R,N)){ae++;ce="".concat(ie,"_").concat(ae)}if(ce!==ie){G=E.factory.createIdentifier(ce,G.typeArguments)}(R.typeParameterNamesByTextNextNameCount||(R.typeParameterNamesByTextNextNameCount=new E.Map)).set(ie,ae);(R.typeParameterNames||(R.typeParameterNames=new E.Map)).set(getTypeId(N),G);(R.typeParameterNamesByText||(R.typeParameterNamesByText=new E.Set)).add(ie)}return G}function symbolToName(N,R,j,$){var q=lookupSymbolChain(N,R,j);if($&&q.length!==1&&!R.encounteredError&&!(R.flags&65536)){R.encounteredError=true}return createEntityNameFromSymbolChain(q,q.length-1);function createEntityNameFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ie.symbol=q;return j>0?E.factory.createQualifiedName(createEntityNameFromSymbolChain(N,j-1),ie):ie}}function symbolToExpression(N,R,j){var $=lookupSymbolChain(N,R,j);return createExpressionFromSymbolChain($,$.length-1);function createExpressionFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=G.charCodeAt(0);if(E.isSingleOrDoubleQuote(ie)&&E.some(q.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){return E.factory.createStringLiteral(getSpecifierForModuleSymbol(q,R))}var ae=ie===35?G.length>1&&E.isIdentifierStart(G.charCodeAt(1),Ze):E.isIdentifierStart(ie,Ze);if(j===0||ae){var ce=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ce.symbol=q;return j>0?E.factory.createPropertyAccessExpression(createExpressionFromSymbolChain(N,j-1),ce):ce}else{if(ie===91){G=G.substring(1,G.length-1);ie=G.charCodeAt(0)}var le=void 0;if(E.isSingleOrDoubleQuote(ie)&&!(q.flags&8)){le=E.factory.createStringLiteral(E.stripQuotes(G).replace(/\\./g,(function(E){return E.substring(1)})),ie===39)}else if(""+ +G===G){le=E.factory.createNumericLiteral(+G)}if(!le){le=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);le.symbol=q}return E.factory.createElementAccessExpression(createExpressionFromSymbolChain(N,j-1),le)}}}function isStringNamed(N){var R=E.getNameOfDeclaration(N);return!!R&&E.isStringLiteral(R)}function isSingleQuotedStringNamed(N){var R=E.getNameOfDeclaration(N);return!!(R&&E.isStringLiteral(R)&&(R.singleQuote||!E.nodeIsSynthesized(R)&&E.startsWith(E.getTextOfNode(R,false),"'")))}function getPropertyNameNodeForSymbol(N,R){var j=!!E.length(N.declarations)&&E.every(N.declarations,isSingleQuotedStringNamed);var $=getPropertyNameNodeForSymbolFromNameType(N,R,j);if($){return $}var q=E.unescapeLeadingUnderscores(N.escapedName);var G=!!E.length(N.declarations)&&E.every(N.declarations,isStringNamed);return E.createPropertyNameNodeForIdentifierOrLiteral(q,E.getEmitScriptTarget(Ye),j,G)}function getPropertyNameNodeForSymbolFromNameType(N,R,j){var $=getSymbolLinks(N).nameType;if($){if($.flags&384){var q=""+$.value;if(!E.isIdentifierText(q,E.getEmitScriptTarget(Ye))&&!E.isNumericLiteralName(q)){return E.factory.createStringLiteral(q,!!j)}if(E.isNumericLiteralName(q)&&E.startsWith(q,"-")){return E.factory.createComputedPropertyName(E.factory.createNumericLiteral(+q))}return E.createPropertyNameNodeForIdentifierOrLiteral(q,E.getEmitScriptTarget(Ye))}if($.flags&8192){return E.factory.createComputedPropertyName(symbolToExpression($.symbol,R,111551))}}}function cloneNodeBuilderContext(N){var R=$({},N);if(R.typeParameterNames){R.typeParameterNames=new E.Map(R.typeParameterNames)}if(R.typeParameterNamesByText){R.typeParameterNamesByText=new E.Set(R.typeParameterNamesByText)}if(R.typeParameterSymbolList){R.typeParameterSymbolList=new E.Set(R.typeParameterSymbolList)}R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);return R}function getDeclarationWithTypeAnnotation(N,R){return N.declarations&&E.find(N.declarations,(function(N){return!!E.getEffectiveTypeAnnotationNode(N)&&(!R||!!E.findAncestor(N,(function(E){return E===R})))}))}function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(N,R){return!(E.getObjectFlags(R)&4)||!E.isTypeReferenceNode(N)||E.length(N.typeArguments)>=getMinTypeArgumentCount(R.target.typeParameters)}function serializeTypeForDeclaration(N,R,j,$,q,G){if(!isErrorType(R)&&$){var ie=getDeclarationWithTypeAnnotation(j,$);if(ie&&!E.isFunctionLikeDeclaration(ie)&&!E.isGetAccessorDeclaration(ie)){var ae=E.getEffectiveTypeAnnotationNode(ie);if(getTypeFromTypeNode(ae)===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(ae,R)){var ce=serializeExistingTypeNode(N,ae,q,G);if(ce){return ce}}}}var le=N.flags;if(R.flags&8192&&R.symbol===j&&(!N.enclosingDeclaration||E.some(j.declarations,(function(R){return E.getSourceFileOfNode(R)===E.getSourceFileOfNode(N.enclosingDeclaration)})))){N.flags|=1048576}var _e=typeToTypeNodeHelper(R,N);N.flags=le;return _e}function serializeReturnTypeForSignature(N,R,j,$,q){if(!isErrorType(R)&&N.enclosingDeclaration){var G=j.declaration&&E.getEffectiveReturnTypeNode(j.declaration);if(!!E.findAncestor(G,(function(E){return E===N.enclosingDeclaration}))&&G){var ie=getTypeFromTypeNode(G);var ae=ie.flags&262144&&ie.isThisType?instantiateType(ie,j.mapper):ie;if(ae===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(G,R)){var ce=serializeExistingTypeNode(N,G,$,q);if(ce){return ce}}}}return typeToTypeNodeHelper(R,N)}function trackExistingEntityName(N,R,j){var $,q;var G=false;var ie=E.getFirstIdentifier(N);if(E.isInJSFile(N)&&(E.isExportsIdentifier(ie)||E.isModuleExportsAccessExpression(ie.parent)||E.isQualifiedName(ie.parent)&&E.isModuleIdentifier(ie.parent.left)&&E.isExportsIdentifier(ie.parent.right))){G=true;return{introducesError:G,node:N}}var ae=resolveEntityName(ie,67108863,true,true);if(ae){if(isSymbolAccessible(ae,R.enclosingDeclaration,67108863,false).accessibility!==0){G=true}else{(q=($=R.tracker)===null||$===void 0?void 0:$.trackSymbol)===null||q===void 0?void 0:q.call($,ae,R.enclosingDeclaration,67108863);j===null||j===void 0?void 0:j(ae)}if(E.isIdentifier(N)){var ce=getDeclaredTypeOfSymbol(ae);var le=ae.flags&262144&&!isTypeSymbolAccessible(ce.symbol,R.enclosingDeclaration)?typeParameterToName(ce,R):E.factory.cloneNode(N);le.symbol=ae;return{introducesError:G,node:E.setEmitFlags(E.setOriginalNode(le,N),16777216)}}}return{introducesError:G,node:N}}function serializeExistingTypeNode(N,R,j,$){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var G=false;var ie=E.getSourceFileOfNode(R);var ae=E.visitNode(R,visitExistingNodeTreeSymbols);if(G){return undefined}return ae===R?E.setTextRange(E.factory.cloneNode(R),R):ae;function visitExistingNodeTreeSymbols(R){if(E.isJSDocAllType(R)||R.kind===317){return E.factory.createKeywordTypeNode(130)}if(E.isJSDocUnknownType(R)){return E.factory.createKeywordTypeNode(154)}if(E.isJSDocNullableType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createLiteralTypeNode(E.factory.createNull())])}if(E.isJSDocOptionalType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createKeywordTypeNode(152)])}if(E.isJSDocNonNullableType(R)){return E.visitNode(R.type,visitExistingNodeTreeSymbols)}if(E.isJSDocVariadicType(R)){return E.factory.createArrayTypeNode(E.visitNode(R.type,visitExistingNodeTreeSymbols))}if(E.isJSDocTypeLiteral(R)){return E.factory.createTypeLiteralNode(E.map(R.jsDocPropertyTags,(function(j){var $=E.isIdentifier(j.name)?j.name:j.name.right;var q=getTypeOfPropertyOfType(getTypeFromTypeNode(R),$.escapedText);var G=q&&j.typeExpression&&getTypeFromTypeNode(j.typeExpression.type)!==q?typeToTypeNodeHelper(q,N):undefined;return E.factory.createPropertySignature(undefined,$,j.isBracketed||j.typeExpression&&E.isJSDocOptionalType(j.typeExpression.type)?E.factory.createToken(57):undefined,G||j.typeExpression&&E.visitNode(j.typeExpression.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(130))})))}if(E.isTypeReferenceNode(R)&&E.isIdentifier(R.typeName)&&R.typeName.escapedText===""){return E.setOriginalNode(E.factory.createKeywordTypeNode(130),R)}if((E.isExpressionWithTypeArguments(R)||E.isTypeReferenceNode(R))&&E.isJSDocIndexSignature(R)){return E.factory.createTypeLiteralNode([E.factory.createIndexSignature(undefined,undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"x",undefined,E.visitNode(R.typeArguments[0],visitExistingNodeTreeSymbols))],E.visitNode(R.typeArguments[1],visitExistingNodeTreeSymbols))])}if(E.isJSDocFunctionType(R)){if(E.isJSDocConstructSignature(R)){var ae;return E.factory.createConstructorTypeNode(R.modifiers,E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.mapDefined(R.parameters,(function(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="new"?(ae=N.type,undefined):E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(ae||R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(130))}else{return E.factory.createFunctionTypeNode(E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.map(R.parameters,(function(N,R){return E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(130))}}if(E.isTypeReferenceNode(R)&&E.isInJSDoc(R)&&(!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(R,getTypeFromTypeNode(R))||getIntendedTypeFromJSDocTypeReference(R)||Ut===resolveTypeReferenceName(R,788968,true))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}if(E.isLiteralImportTypeNode(R)){var ce=getNodeLinks(R).resolvedSymbol;if(E.isInJSDoc(R)&&ce&&(!R.isTypeOf&&!(ce.flags&788968)||!(E.length(R.typeArguments)>=getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ce))))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}return E.factory.updateImportTypeNode(R,E.factory.updateLiteralTypeNode(R.argument,rewriteModuleSpecifier(R,R.argument.literal)),R.qualifier,E.visitNodes(R.typeArguments,visitExistingNodeTreeSymbols,E.isTypeNode),R.isTypeOf)}if(E.isEntityName(R)||E.isEntityNameExpression(R)){var le=trackExistingEntityName(R,N,j),_e=le.introducesError,Te=le.node;G=G||_e;if(Te!==R){return Te}}if(ie&&E.isTupleTypeNode(R)&&E.getLineAndCharacterOfPosition(ie,R.pos).line===E.getLineAndCharacterOfPosition(ie,R.end).line){E.setEmitFlags(R,1)}return E.visitEachChild(R,visitExistingNodeTreeSymbols,E.nullTransformationContext);function getEffectiveDotDotDotForParameter(N){return N.dotDotDotToken||(N.type&&E.isJSDocVariadicType(N.type)?E.factory.createToken(25):undefined)}function getNameForJSDocFunctionParameter(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="this"?"this":getEffectiveDotDotDotForParameter(N)?"args":"arg".concat(R)}function rewriteModuleSpecifier(R,j){if($){if(N.tracker&&N.tracker.moduleResolverHost){var G=getExternalModuleFileFromDeclaration(R);if(G){var ie=E.createGetCanonicalFileName(!!q.useCaseSensitiveFileNames);var ae={getCanonicalFileName:ie,getCurrentDirectory:function(){return N.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return N.tracker.moduleResolverHost.getCommonSourceDirectory()}};var ce=E.getResolvedExternalModuleName(ae,G);return E.factory.createStringLiteral(ce)}}}else{if(N.tracker&&N.tracker.trackExternalModuleSymbolOfImportTypeNode){var le=resolveExternalModuleNameWorker(j,j,undefined);if(le){N.tracker.trackExternalModuleSymbolOfImportTypeNode(le)}}}return j}}}function symbolTableToDeclarationStatements(N,R,q){var G=makeSerializePropertySymbol(E.factory.createPropertyDeclaration,168,true);var ie=makeSerializePropertySymbol((function(N,R,j,$,q){return E.factory.createPropertySignature(R,j,$,q)}),167,false);var ae=R.enclosingDeclaration;var ce=[];var le=new E.Set;var _e=[];var Te=R;R=$($({},Te),{usedSymbolNames:new E.Set(Te.usedSymbolNames),remappedSymbolNames:new E.Map,tracker:$($({},Te.tracker),{trackSymbol:function(E,N,j){var $=isSymbolAccessible(E,N,j,false);if($.accessibility===0){var q=lookupSymbolChainWorker(E,R,j);if(!(E.flags&4)){includePrivateSymbol(q[0])}}else if(Te.tracker&&Te.tracker.trackSymbol){return Te.tracker.trackSymbol(E,N,j)}return false}})});R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);E.forEachEntry(N,(function(N,R){var j=E.unescapeLeadingUnderscores(R);void getInternalSymbolName(N,j)}));var Ee=!q;var we=N.get("export=");if(we&&N.size>1&&we.flags&2097152){N=E.createSymbolTable();N.set("export=",we)}visitSymbolTable(N);return mergeRedundantStatements(ce);function isIdentifierAndNotUndefined(E){return!!E&&E.kind===79}function getNamesOfDeclaration(N){if(E.isVariableStatement(N)){return E.filter(E.map(N.declarationList.declarations,E.getNameOfDeclaration),isIdentifierAndNotUndefined)}return E.filter([E.getNameOfDeclaration(N)],isIdentifierAndNotUndefined)}function flattenExportAssignedNamespace(N){var R=E.find(N,E.isExportAssignment);var $=E.findIndex(N,E.isModuleDeclaration);var q=$!==-1?N[$]:undefined;if(q&&R&&R.isExportEquals&&E.isIdentifier(R.expression)&&E.isIdentifier(q.name)&&E.idText(q.name)===E.idText(R.expression)&&q.body&&E.isModuleBlock(q.body)){var G=E.filter(N,(function(N){return!!(E.getEffectiveModifierFlags(N)&1)}));var ie=q.name;var ae=q.body;if(E.length(G)){q=E.factory.updateModuleDeclaration(q,q.decorators,q.modifiers,q.name,ae=E.factory.updateModuleBlock(ae,E.factory.createNodeArray(j(j([],q.body.statements,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.map(E.flatMap(G,(function(E){return getNamesOfDeclaration(E)})),(function(N){return E.factory.createExportSpecifier(false,undefined,N)}))),undefined)],false))));N=j(j(j([],N.slice(0,$),true),[q],false),N.slice($+1),true)}if(!E.find(N,(function(N){return N!==q&&E.nodeHasName(N,ie)}))){ce=[];var le=!E.some(ae.statements,(function(N){return E.hasSyntacticModifier(N,1)||E.isExportAssignment(N)||E.isExportDeclaration(N)}));E.forEach(ae.statements,(function(E){addResult(E,le?1:0)}));N=j(j([],E.filter(N,(function(E){return E!==q&&E!==R})),true),ce,true)}}return N}function mergeExportDeclarations(N){var R=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(R)>1){var $=E.filter(N,(function(N){return!E.isExportDeclaration(N)||!!N.moduleSpecifier||!N.exportClause}));N=j(j([],$,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),undefined)],false)}var q=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(q)>1){var G=E.group(q,(function(N){return E.isStringLiteral(N.moduleSpecifier)?">"+N.moduleSpecifier.text:">"}));if(G.length!==q.length){var _loop_9=function(R){if(R.length>1){N=j(j([],E.filter(N,(function(E){return R.indexOf(E)===-1})),true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),R[0].moduleSpecifier)],false)}};for(var ie=0,ae=G;ie=0){var j=N[R];var $=E.mapDefined(j.exportClause.elements,(function(R){if(!R.propertyName){var j=E.indicesOf(N);var $=E.filter(j,(function(j){return E.nodeHasName(N[j],R.name)}));if(E.length($)&&E.every($,(function(E){return canHaveExportModifier(N[E])}))){for(var q=0,G=$;q0&&E.isSingleOrDoubleQuote(q.charCodeAt(0))?E.stripQuotes(q):q}if(j==="default"){j="_default"}else if(j==="export="){j="_exports"}j=E.isIdentifierText(j,Ze)&&!E.isStringANonContextualKeyword(j)?j:"_"+j.replace(/[^a-zA-Z0-9]/g,"_");return j}function getInternalSymbolName(E,N){var j=getSymbolId(E);if(R.remappedSymbolNames.has(j)){return R.remappedSymbolNames.get(j)}N=getNameCandidateWorker(E,N);R.remappedSymbolNames.set(j,N);return N}}}function typePredicateToString(N,R,j,$){if(j===void 0){j=16384}return $?typePredicateToStringWorker($).getText():E.usingSingleLineStringWriter(typePredicateToStringWorker);function typePredicateToStringWorker($){var q=E.factory.createTypePredicateNode(N.kind===2||N.kind===3?E.factory.createToken(128):undefined,N.kind===1||N.kind===3?E.factory.createIdentifier(N.parameterName):E.factory.createThisTypeNode(),N.type&&yt.typeToTypeNode(N.type,R,toNodeBuilderFlags(j)|70221824|512));var G=E.createPrinter({removeComments:true});var ie=R&&E.getSourceFileOfNode(R);G.writeNode(4,q,ie,$);return $}}function formatUnionTypes(E){var N=[];var R=0;for(var j=0;j=0){var j=si.length;for(var $=R;$=0;R--){if(hasType(si[R],li[R])){return-1}if(si[R]===E&&li[R]===N){return R}}return-1}function hasType(N,R){switch(R){case 0:return!!getSymbolLinks(N).type;case 5:return!!getNodeLinks(N).resolvedEnumType;case 2:return!!getSymbolLinks(N).declaredType;case 1:return!!N.resolvedBaseConstructorType;case 3:return!!N.resolvedReturnType;case 4:return!!N.immediateBaseConstraint;case 6:return!!N.resolvedTypeArguments;case 7:return!!N.baseTypesResolved}return E.Debug.assertNever(R)}function popTypeResolution(){si.pop();li.pop();return ci.pop()}function getDeclarationContainer(N){return E.findAncestor(E.getRootDeclaration(N),(function(E){switch(E.kind){case 253:case 254:case 269:case 268:case 267:case 266:return false;default:return true}})).parent}function getTypeOfPrototypeProperty(N){var R=getDeclaredTypeOfSymbol(getParentOfSymbol(N));return R.typeParameters?createTypeReference(R,E.map(R.typeParameters,(function(E){return $t}))):R}function getTypeOfPropertyOfType(E,N){var R=getPropertyOfType(E,N);return R?getTypeOfSymbol(R):undefined}function getTypeOfPropertyOrIndexSignature(E,N){var R;return getTypeOfPropertyOfType(E,N)||((R=getApplicableIndexInfoForName(E,N))===null||R===void 0?void 0:R.type)||Xt}function isTypeAny(E){return E&&(E.flags&1)!==0}function isErrorType(E){return E===Ht||!!(E.flags&1&&E.aliasSymbol)}function getTypeForBindingElementParent(E,N){if(N!==0){return getTypeForVariableLikeDeclaration(E,false,N)}var R=getSymbolOfNode(E);return R&&getSymbolLinks(R).type||getTypeForVariableLikeDeclaration(E,false,N)}function getRestType(N,R,$){N=filterType(N,(function(E){return!(E.flags&98304)}));if(N.flags&131072){return wr}if(N.flags&1048576){return mapType(N,(function(E){return getRestType(E,R,$)}))}var q=getUnionType(E.map(R,getLiteralTypeFromPropertyName));var G=[];var ie=[];for(var ae=0,ce=getPropertiesOfType(N);ae=2?createIterableType($t):vn}var ie=E.map($,(function(N){return E.isOmittedExpression(N)?$t:getTypeFromBindingElement(N,R,j)}));var ae=E.findLastIndex($,(function(N){return!(N===G||E.isOmittedExpression(N)||hasDefaultValue(N))}),$.length-1)+1;var ce=E.map($,(function(E,N){return E===G?4:N>=ae?2:1}));var le=createTupleType(ie,ce);if(R){le=cloneTypeReference(le);le.pattern=N;le.objectFlags|=262144}return le}function getTypeFromBindingPattern(E,N,R){if(N===void 0){N=false}if(R===void 0){R=false}return E.kind===200?getTypeFromObjectBindingPattern(E,N,R):getTypeFromArrayBindingPattern(E,N,R)}function getWidenedTypeForVariableLikeDeclaration(E,N){return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(E,true,0),E,N)}function isGlobalSymbolConstructor(E){var N=getSymbolOfNode(E);var R=getGlobalESSymbolConstructorTypeSymbol(false);return R&&N&&N===R}function widenTypeForVariableLikeDeclaration(N,R,j){if(N){if(N.flags&4096&&isGlobalSymbolConstructor(R.parent)){N=getESSymbolLikeTypeForNode(R)}if(j){reportErrorsFromWidening(R,N)}if(N.flags&8192&&(E.isBindingElement(R)||!R.type)&&N.symbol!==getSymbolOfNode(R)){N=mr}return getWidenedType(N)}N=E.isParameter(R)&&R.dotDotDotToken?vn:$t;if(j){if(!declarationBelongsToPrivateAmbientMember(R)){reportImplicitAny(R,N)}}return N}function declarationBelongsToPrivateAmbientMember(N){var R=E.getRootDeclaration(N);var j=R.kind===163?R.parent:R;return isPrivateWithinAmbient(j)}function tryGetTypeFromEffectiveTypeNode(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}}function getTypeOfVariableOrParameterOrProperty(E){var N=getSymbolLinks(E);if(!N.type){var R=getTypeOfVariableOrParameterOrPropertyWorker(E);if(!N.type){N.type=R}}return N.type}function getTypeOfVariableOrParameterOrPropertyWorker(N){if(N.flags&4194304){return getTypeOfPrototypeProperty(N)}if(N===Tt){return $t}if(N.flags&134217728&&N.valueDeclaration){var R=getSymbolOfNode(E.getSourceFileOfNode(N.valueDeclaration));var j=createSymbol(R.flags,"exports");j.declarations=R.declarations?R.declarations.slice():[];j.parent=N;j.target=R;if(R.valueDeclaration)j.valueDeclaration=R.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(R.exports)j.exports=new E.Map(R.exports);var $=E.createSymbolTable();$.set("exports",j);return createAnonymousType(N,$,E.emptyArray,E.emptyArray,E.emptyArray)}E.Debug.assertIsDefined(N.valueDeclaration);var q=N.valueDeclaration;if(E.isCatchClauseVariableDeclarationOrBindingElement(q)){var G=E.getEffectiveTypeAnnotationNode(q);if(G===undefined){return dt?Xt:$t}var ie=getTypeOfNode(G);return isTypeAny(ie)||ie===Xt?ie:Ht}if(E.isSourceFile(q)&&E.isJsonSourceFile(q)){if(!q.statements.length){return wr}return getWidenedType(getWidenedLiteralType(checkExpression(q.statements[0].expression)))}if(!pushTypeResolution(N,0)){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}var ae;if(q.kind===270){ae=widenTypeForVariableLikeDeclaration(tryGetTypeFromEffectiveTypeNode(q)||checkExpressionCached(q.expression),q)}else if(E.isBinaryExpression(q)||E.isInJSFile(q)&&(E.isCallExpression(q)||(E.isPropertyAccessExpression(q)||E.isBindableStaticElementAccessExpression(q))&&E.isBinaryExpression(q.parent))){ae=getWidenedTypeForAssignmentDeclaration(N)}else if(E.isPropertyAccessExpression(q)||E.isElementAccessExpression(q)||E.isIdentifier(q)||E.isStringLiteralLike(q)||E.isNumericLiteral(q)||E.isClassDeclaration(q)||E.isFunctionDeclaration(q)||E.isMethodDeclaration(q)&&!E.isObjectLiteralMethod(q)||E.isMethodSignature(q)||E.isSourceFile(q)){if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}ae=E.isBinaryExpression(q.parent)?getWidenedTypeForAssignmentDeclaration(N):tryGetTypeFromEffectiveTypeNode(q)||$t}else if(E.isPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkPropertyAssignment(q)}else if(E.isJsxAttribute(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkJsxAttribute(q)}else if(E.isShorthandPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkExpressionForMutableLocation(q.name,0)}else if(E.isObjectLiteralMethod(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkObjectLiteralMethod(q,0)}else if(E.isParameter(q)||E.isPropertyDeclaration(q)||E.isPropertySignature(q)||E.isVariableDeclaration(q)||E.isBindingElement(q)||E.isJSDocPropertyLikeTag(q)){ae=getWidenedTypeForVariableLikeDeclaration(q,true)}else if(E.isEnumDeclaration(q)){ae=getTypeOfFuncClassEnumModule(N)}else if(E.isEnumMember(q)){ae=getTypeOfEnumMember(N)}else if(E.isAccessor(q)){ae=resolveTypeOfAccessors(N)||E.Debug.fail("Non-write accessor resolution must always produce a type")}else{return E.Debug.fail("Unhandled declaration kind! "+E.Debug.formatSyntaxKind(q.kind)+" for "+E.Debug.formatSymbol(N))}if(!popTypeResolution()){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}return ae}function getAnnotatedAccessorTypeNode(N){if(N){if(N.kind===171){var R=E.getEffectiveReturnTypeNode(N);return R}else{var j=E.getEffectiveSetAccessorTypeAnnotationNode(N);return j}}return undefined}function getAnnotatedAccessorType(E){var N=getAnnotatedAccessorTypeNode(E);return N&&getTypeFromTypeNode(N)}function getAnnotatedAccessorThisParameter(E){var N=getAccessorThisParameter(E);return N&&N.symbol}function getThisTypeOfDeclaration(E){return getThisTypeOfSignature(getSignatureFromDeclaration(E))}function getTypeOfAccessors(N){var R=getSymbolLinks(N);return R.type||(R.type=getTypeOfAccessorsWorker(N)||E.Debug.fail("Read type of accessor must always produce a type"))}function getTypeOfSetAccessor(E){var N=getSymbolLinks(E);return N.writeType||(N.writeType=getTypeOfAccessorsWorker(E,true))}function getTypeOfAccessorsWorker(N,R){if(R===void 0){R=false}if(!pushTypeResolution(N,0)){return Ht}var j=resolveTypeOfAccessors(N,R);if(!popTypeResolution()){j=$t;if(ct){var $=E.getDeclarationOfKind(N,171);error($,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,symbolToString(N))}}return j}function resolveTypeOfAccessors(N,R){if(R===void 0){R=false}var j=E.getDeclarationOfKind(N,171);var $=E.getDeclarationOfKind(N,172);if(R){var q=getAnnotatedAccessorType($);if(q){return instantiateTypeIfNeeded(q,N)}}if(j&&E.isInJSFile(j)){var G=getTypeForDeclarationFromJSDocComment(j);if(G){return instantiateTypeIfNeeded(G,N)}}var ie=getAnnotatedAccessorType(j);if(ie){return instantiateTypeIfNeeded(ie,N)}var ae=getAnnotatedAccessorType($);if(ae){return ae}if(j&&j.body){var ce=getReturnTypeFromBody(j);return instantiateTypeIfNeeded(ce,N)}if($){if(!isPrivateWithinAmbient($)){errorOrSuggestion(ct,$,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,symbolToString(N))}return $t}else if(j){E.Debug.assert(!!j,"there must exist a getter as we are current checking either setter or getter in this function");if(!isPrivateWithinAmbient(j)){errorOrSuggestion(ct,j,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,symbolToString(N))}return $t}return undefined;function instantiateTypeIfNeeded(N,R){if(E.getCheckFlags(R)&1){var j=getSymbolLinks(R);return instantiateType(N,j.mapper)}return N}}function getBaseTypeVariableOfClass(N){var R=getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(N));return R.flags&8650752?R:R.flags&2097152?E.find(R.types,(function(E){return!!(E.flags&8650752)})):undefined}function getTypeOfFuncClassEnumModule(E){var N=getSymbolLinks(E);var R=N;if(!N.type){var j=E.valueDeclaration&&getSymbolOfExpando(E.valueDeclaration,false);if(j){var $=mergeJSSymbols(E,j);if($){E=N=$}}R.type=N.type=getTypeOfFuncClassEnumModuleWorker(E)}return N.type}function getTypeOfFuncClassEnumModuleWorker(N){var R=N.valueDeclaration;if(N.flags&1536&&E.isShorthandAmbientModuleSymbol(N)){return $t}else if(R&&(R.kind===220||E.isAccessExpression(R)&&R.parent.kind===220)){return getWidenedTypeForAssignmentDeclaration(N)}else if(N.flags&512&&R&&E.isSourceFile(R)&&R.commonJsModuleIndicator){var j=resolveExternalModuleSymbol(N);if(j!==N){if(!pushTypeResolution(N,0)){return Ht}var $=getMergedSymbol(N.exports.get("export="));var q=getWidenedTypeForAssignmentDeclaration($,$===j?undefined:j);if(!popTypeResolution()){return reportCircularityError(N)}return q}}var G=createObjectType(16,N);if(N.flags&32){var ie=getBaseTypeVariableOfClass(N);return ie?getIntersectionType([G,ie]):G}else{return nt&&N.flags&16777216?getOptionalType(G):G}}function getTypeOfEnumMember(E){var N=getSymbolLinks(E);return N.type||(N.type=getDeclaredTypeOfEnumMember(E))}function getTypeOfAlias(N){var R=getSymbolLinks(N);if(!R.type){var j=resolveAlias(N);var $=N.declarations&&getTargetOfAliasDeclaration(getDeclarationOfAliasSymbol(N),true);var q=E.firstDefined($===null||$===void 0?void 0:$.declarations,(function(N){return E.isExportAssignment(N)?tryGetTypeFromEffectiveTypeNode(N):undefined}));R.type=($===null||$===void 0?void 0:$.declarations)&&isDuplicatedCommonJSExport($.declarations)&&N.declarations.length?getFlowTypeFromCommonJSExport($):isDuplicatedCommonJSExport(N.declarations)?Vt:q?q:j.flags&111551?getTypeOfSymbol(j):Ht}return R.type}function getTypeOfInstantiatedSymbol(E){var N=getSymbolLinks(E);if(!N.type){if(!pushTypeResolution(E,0)){return N.type=Ht}var R=instantiateType(getTypeOfSymbol(N.target),N.mapper);if(!popTypeResolution()){R=reportCircularityError(E)}N.type=R}return N.type}function reportCircularityError(N){var R=N.valueDeclaration;if(E.getEffectiveTypeAnnotationNode(R)){error(N.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,symbolToString(N));return Ht}if(ct&&(R.kind!==163||R.initializer)){error(N.valueDeclaration,E.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,symbolToString(N))}return $t}function getTypeOfSymbolWithDeferredType(N){var R=getSymbolLinks(N);if(!R.type){E.Debug.assertIsDefined(R.deferralParent);E.Debug.assertIsDefined(R.deferralConstituents);R.type=R.deferralParent.flags&1048576?getUnionType(R.deferralConstituents):getIntersectionType(R.deferralConstituents)}return R.type}function getWriteTypeOfSymbolWithDeferredType(N){var R=getSymbolLinks(N);if(!R.writeType&&R.deferralWriteConstituents){E.Debug.assertIsDefined(R.deferralParent);E.Debug.assertIsDefined(R.deferralConstituents);R.writeType=R.deferralParent.flags&1048576?getUnionType(R.deferralWriteConstituents):getIntersectionType(R.deferralWriteConstituents)}return R.writeType}function getWriteTypeOfSymbol(N){var R=E.getCheckFlags(N);if(R&65536){var j=getWriteTypeOfSymbolWithDeferredType(N);if(j){return j}}if(N.flags&33554432){var j=N.writeType;if(j){return j}}return getSetAccessorTypeOfSymbol(N)}function getSetAccessorTypeOfSymbol(E){if(E.flags&98304){var N=getTypeOfSetAccessor(E);if(N){return N}}return getTypeOfSymbol(E)}function getTypeOfSymbol(N){var R=E.getCheckFlags(N);if(R&65536){return getTypeOfSymbolWithDeferredType(N)}if(R&1){return getTypeOfInstantiatedSymbol(N)}if(R&262144){return getTypeOfMappedSymbol(N)}if(R&8192){return getTypeOfReverseMappedSymbol(N)}if(N.flags&(3|4)){return getTypeOfVariableOrParameterOrProperty(N)}if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}if(N.flags&8){return getTypeOfEnumMember(N)}if(N.flags&98304){return getTypeOfAccessors(N)}if(N.flags&2097152){return getTypeOfAlias(N)}return Ht}function getNonMissingTypeOfSymbol(E){return removeMissingType(getTypeOfSymbol(E),!!(E.flags&16777216))}function isReferenceToType(N,R){return N!==undefined&&R!==undefined&&(E.getObjectFlags(N)&4)!==0&&N.target===R}function getTargetType(N){return E.getObjectFlags(N)&4?N.target:N}function hasBaseType(N,R){return check(N);function check(N){if(E.getObjectFlags(N)&(3|4)){var j=getTargetType(N);return j===R||E.some(getBaseTypes(j),check)}else if(N.flags&2097152){return E.some(N.types,check)}return false}}function appendTypeParameters(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=E.appendIfUnique(N,getDeclaredTypeOfTypeParameter(getSymbolOfNode(q)))}return N}function getOuterTypeParameters(N,R){while(true){N=N.parent;if(N&&E.isBinaryExpression(N)){var j=E.getAssignmentDeclarationKind(N);if(j===6||j===3){var $=getSymbolOfNode(N.left);if($&&$.parent&&!E.findAncestor($.parent.valueDeclaration,(function(E){return N===E}))){N=$.parent.valueDeclaration}}}if(!N){return undefined}switch(N.kind){case 256:case 225:case 257:case 173:case 174:case 167:case 178:case 179:case 315:case 255:case 168:case 212:case 213:case 258:case 342:case 343:case 337:case 336:case 194:case 188:{var q=getOuterTypeParameters(N,R);if(N.kind===194){return E.append(q,getDeclaredTypeOfTypeParameter(getSymbolOfNode(N.typeParameter)))}else if(N.kind===188){return E.concatenate(q,getInferTypeParameters(N))}var G=appendTypeParameters(q,E.getEffectiveTypeParameterDeclarations(N));var ie=R&&(N.kind===256||N.kind===225||N.kind===257||isJSConstructor(N))&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(N)).thisType;return ie?E.append(G,ie):G}case 338:var ae=E.getParameterSymbolFromJSDoc(N);if(ae){N=ae.valueDeclaration}break;case 318:{var q=getOuterTypeParameters(N,R);return N.tags?appendTypeParameters(q,E.flatMap(N.tags,(function(N){return E.isJSDocTemplateTag(N)?N.typeParameters:undefined}))):q}}}}function getOuterTypeParametersOfClassOrInterface(N){var R=N.flags&32?N.valueDeclaration:E.getDeclarationOfKind(N,257);E.Debug.assert(!!R,"Class was missing valueDeclaration -OR- non-class had no interface declarations");return getOuterTypeParameters(R)}function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N){if(!N.declarations){return}var R;for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===257||q.kind===256||q.kind===225||isJSConstructor(q)||E.isTypeAlias(q)){var G=q;R=appendTypeParameters(R,E.getEffectiveTypeParameterDeclarations(G))}}return R}function getTypeParametersOfClassOrInterface(N){return E.concatenate(getOuterTypeParametersOfClassOrInterface(N),getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N))}function isMixinConstructorType(E){var N=getSignaturesOfType(E,1);if(N.length===1){var R=N[0];if(!R.typeParameters&&R.parameters.length===1&&signatureHasRestParameter(R)){var j=getTypeOfParameter(R.parameters[0]);return isTypeAny(j)||getElementTypeOfArrayType(j)===$t}}return false}function isConstructorType(E){if(getSignaturesOfType(E,1).length>0){return true}if(E.flags&8650752){var N=getBaseConstraintOfType(E);return!!N&&isMixinConstructorType(N)}return false}function getBaseTypeNodeOfClass(N){var R=E.getClassLikeDeclarationOfSymbol(N.symbol);return R&&E.getEffectiveBaseTypeNode(R)}function getConstructorsForTypeArguments(N,R,j){var $=E.length(R);var q=E.isInJSFile(j);return E.filter(getSignaturesOfType(N,1),(function(N){return(q||$>=getMinTypeArgumentCount(N.typeParameters))&&$<=E.length(N.typeParameters)}))}function getInstantiatedConstructorsForTypeArguments(N,R,j){var $=getConstructorsForTypeArguments(N,R,j);var q=E.map(R,getTypeFromTypeNode);return E.sameMap($,(function(N){return E.some(N.typeParameters)?getSignatureInstantiation(N,q,E.isInJSFile(j)):N}))}function getBaseConstructorTypeOfClass(N){if(!N.resolvedBaseConstructorType){var R=E.getClassLikeDeclarationOfSymbol(N.symbol);var j=R&&E.getEffectiveBaseTypeNode(R);var $=getBaseTypeNodeOfClass(N);if(!$){return N.resolvedBaseConstructorType=Zt}if(!pushTypeResolution(N,1)){return Ht}var q=checkExpression($.expression);if(j&&$!==j){E.Debug.assert(!j.typeArguments);checkExpression(j.expression)}if(q.flags&(524288|2097152)){resolveStructuredTypeMembers(q)}if(!popTypeResolution()){error(N.symbol.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,symbolToString(N.symbol));return N.resolvedBaseConstructorType=Ht}if(!(q.flags&1)&&q!==ir&&!isConstructorType(q)){var G=error($.expression,E.Diagnostics.Type_0_is_not_a_constructor_function_type,typeToString(q));if(q.flags&262144){var ie=getConstraintFromTypeParameter(q);var ae=Xt;if(ie){var ce=getSignaturesOfType(ie,1);if(ce[0]){ae=getReturnTypeOfSignature(ce[0])}}if(q.symbol.declarations){E.addRelatedInfo(G,E.createDiagnosticForNode(q.symbol.declarations[0],E.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,symbolToString(q.symbol),typeToString(ae)))}}return N.resolvedBaseConstructorType=Ht}N.resolvedBaseConstructorType=q}return N.resolvedBaseConstructorType}function getImplementsTypes(N){var R=E.emptyArray;if(N.symbol.declarations){for(var j=0,$=N.symbol.declarations;j<$.length;j++){var q=$[j];var G=E.getEffectiveImplementsTypeNodes(q);if(!G)continue;for(var ie=0,ae=G;ie=we&&ce<=Ie){var Ne=Ie?createSignatureInstantiation(Ee,fillMissingTypeArguments(ae,Ee.typeParameters,we,ie)):cloneSignature(Ee);Ne.typeParameters=N.localTypeParameters;Ne.resolvedReturnType=N;Ne.flags=q?Ne.flags|4:Ne.flags&~4;le.push(Ne)}}return le}function findMatchingSignature(E,N,R,j,$){for(var q=0,G=E;q0){return undefined}for(var $=1;$1){j=j===undefined?$:-1}for(var q=0,G=N[$];q1){var le=ie.thisParameter;var _e=E.forEach(ae,(function(E){return E.thisParameter}));if(_e){var Te=getIntersectionType(E.mapDefined(ae,(function(E){return E.thisParameter&&getTypeOfSymbol(E.thisParameter)})));le=createSymbolWithType(_e,Te)}ce=createUnionSignature(ie,ae);ce.thisParameter=le}(R||(R=[])).push(ce)}}}}if(!E.length(R)&&j!==-1){var Ee=N[j!==undefined?j:0];var we=Ee.slice();var _loop_10=function(N){if(N!==Ee){var R=N[0];E.Debug.assert(!!R,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass");we=!!R.typeParameters&&E.some(we,(function(E){return!!E.typeParameters&&!compareTypeParametersIdentical(R.typeParameters,E.typeParameters)}))?undefined:E.map(we,(function(E){return combineSignaturesOfUnionMembers(E,R)}));if(!we){return"break"}}};for(var Ie=0,Ne=N;Ie=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg".concat(_e));je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfUnionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineUnionParameters(N,R,$);var ie=combineUnionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=1048576;ce.compositeSignatures=E.concatenate(N.compositeKind!==2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind!==2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getUnionIndexInfos(N){var R=getIndexInfosOfType(N[0]);if(R){var j=[];var _loop_11=function(R){var $=R.keyType;if(E.every(N,(function(E){return!!getIndexInfoOfType(E,$)}))){j.push(createIndexInfo($,getUnionType(E.map(N,(function(E){return getIndexTypeOfType(E,$)}))),E.some(N,(function(E){return getIndexInfoOfType(E,$).isReadonly}))))}};for(var $=0,q=R;$0}));var j=E.map(N,isMixinConstructorType);if(R>0&&R===E.countWhere(j,(function(E){return E}))){var $=j.indexOf(true);j[$]=false}return j}function includeMixinType(E,N,R,j){var $=[];for(var q=0;q0){le=E.map(le,(function(E){var N=cloneSignature(E);N.resolvedReturnType=includeMixinType(getReturnTypeOfSignature(E),q,G,ae);return N}))}j=appendSignatures(j,le)}R=appendSignatures(R,getSignaturesOfType(ce,0));$=E.reduceLeft(getIndexInfosOfType(ce),(function(E,N){return appendIndexInfo(E,N,false)}),$)};for(var ae=0;ae=7):R.flags&528?hn:R.flags&12288?getGlobalESSymbolType(Ze>=2):R.flags&67108864?wr:R.flags&4194304?Er:R.flags&2&&!nt?wr:R}function getReducedApparentType(E){return getReducedType(getApparentType(getReducedType(E)))}function createUnionOrIntersectionProperty(N,R,j){var $,q;var G;var ie;var ae;var ce=N.flags&1048576;var le=ce?0:16777216;var _e=4;var Te=ce?0:8;var Ee=false;for(var we=0,Ie=N.types;we2){tt.checkFlags|=65536;tt.deferralParent=N;tt.deferralConstituents=Ge;tt.deferralWriteConstituents=Ke}else{tt.type=ce?getUnionType(Ge):getIntersectionType(Ge);if(Ke){tt.writeType=ce?getUnionType(Ke):getIntersectionType(Ke)}}return tt}function getUnionOrIntersectionProperty(N,R,j){var $,q;var G=(($=N.propertyCacheWithoutObjectFunctionPropertyAugment)===null||$===void 0?void 0:$.get(R))||!j?(q=N.propertyCache)===null||q===void 0?void 0:q.get(R):undefined;if(!G){G=createUnionOrIntersectionProperty(N,R,j);if(G){var ie=j?N.propertyCacheWithoutObjectFunctionPropertyAugment||(N.propertyCacheWithoutObjectFunctionPropertyAugment=E.createSymbolTable()):N.propertyCache||(N.propertyCache=E.createSymbolTable());ie.set(R,G)}}return G}function getPropertyOfUnionOrIntersectionType(N,R,j){var $=getUnionOrIntersectionProperty(N,R,j);return $&&!(E.getCheckFlags($)&16)?$:undefined}function getReducedType(N){if(N.flags&1048576&&N.objectFlags&33554432){return N.resolvedReducedType||(N.resolvedReducedType=getReducedUnionType(N))}else if(N.flags&2097152){if(!(N.objectFlags&33554432)){N.objectFlags|=33554432|(E.some(getPropertiesOfUnionOrIntersectionType(N),isNeverReducedProperty)?67108864:0)}return N.objectFlags&67108864?hr:N}return N}function getReducedUnionType(N){var R=E.sameMap(N.types,getReducedType);if(R===N.types){return N}var j=getUnionType(R);if(j.flags&1048576){j.resolvedReducedType=j}return j}function isNeverReducedProperty(E){return isDiscriminantWithNeverType(E)||isConflictingPrivateProperty(E)}function isDiscriminantWithNeverType(N){return!(N.flags&16777216)&&(E.getCheckFlags(N)&(192|131072))===192&&!!(getTypeOfSymbol(N).flags&131072)}function isConflictingPrivateProperty(N){return!N.valueDeclaration&&!!(E.getCheckFlags(N)&1024)}function elaborateNeverIntersection(N,R){if(R.flags&2097152&&E.getObjectFlags(R)&67108864){var j=E.find(getPropertiesOfUnionOrIntersectionType(R),isDiscriminantWithNeverType);if(j){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,typeToString(R,undefined,536870912),symbolToString(j))}var $=E.find(getPropertiesOfUnionOrIntersectionType(R),isConflictingPrivateProperty);if($){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,typeToString(R,undefined,536870912),symbolToString($))}}return N}function getPropertyOfType(E,N,R){E=getReducedApparentType(E);if(E.flags&524288){var j=resolveStructuredTypeMembers(E);var $=j.members.get(N);if($&&symbolIsValue($)){return $}if(R)return undefined;var q=j===Or?cn:j.callSignatures.length?ln:j.constructSignatures.length?un:undefined;if(q){var G=getPropertyOfObjectType(q,N);if(G){return G}}return getPropertyOfObjectType(sn,N)}if(E.flags&3145728){return getPropertyOfUnionOrIntersectionType(E,N,R)}return undefined}function getSignaturesOfStructuredType(N,R){if(N.flags&3670016){var j=resolveStructuredTypeMembers(N);return R===0?j.callSignatures:j.constructSignatures}return E.emptyArray}function getSignaturesOfType(E,N){return getSignaturesOfStructuredType(getReducedApparentType(E),N)}function findIndexInfo(N,R){return E.find(N,(function(E){return E.keyType===R}))}function findApplicableIndexInfo(N,R){var j;var $;var q;for(var G=0,ie=N;G=0);return j>=getMinArgumentCount(R,1|2)}var $=E.getImmediatelyInvokedFunctionExpression(N.parent);if($){return!N.type&&!N.dotDotDotToken&&N.parent.parameters.indexOf(N)>=$.arguments.length}return false}function isOptionalPropertyDeclaration(N){return E.isPropertyDeclaration(N)&&N.questionToken}function isOptionalJSDocPropertyLikeTag(N){if(!E.isJSDocPropertyLikeTag(N)){return false}var R=N.isBracketed,j=N.typeExpression;return R||!!j&&j.type.kind===314}function createTypePredicate(E,N,R,j){return{kind:E,parameterName:N,parameterIndex:R,type:j}}function getMinTypeArgumentCount(E){var N=0;if(E){for(var R=0;R=j&&G<=q){var ie=N?N.slice():[];for(var ae=G;aeae.arguments.length&&!we||isJSDocOptionalParameter(Te);if(!Ne){q=j.length}}if((N.kind===171||N.kind===172)&&hasBindableName(N)&&(!ie||!G)){var Me=N.kind===171?172:171;var Le=E.getDeclarationOfKind(getSymbolOfNode(N),Me);if(Le){G=getAnnotatedAccessorThisParameter(Le)}}var Be=N.kind===170?getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol)):undefined;var je=Be?Be.localTypeParameters:getTypeParametersFromDeclaration(N);if(E.hasRestParameter(N)||E.isInJSFile(N)&&maybeAddJsSyntheticRestParameter(N,j)){$|=1}if(E.isConstructorTypeNode(N)&&E.hasSyntacticModifier(N,128)||E.isConstructorDeclaration(N)&&E.hasSyntacticModifier(N.parent,128)){$|=4}R.resolvedSignature=createSignature(N,je,G,j,undefined,undefined,q,$)}return R.resolvedSignature}function maybeAddJsSyntheticRestParameter(N,R){if(E.isJSDocSignature(N)||!containsArgumentsReference(N)){return false}var j=E.lastOrUndefined(N.parameters);var $=j?E.getJSDocParameterTags(j):E.getJSDocTags(N).filter(E.isJSDocParameterTag);var q=E.firstDefined($,(function(N){return N.typeExpression&&E.isJSDocVariadicType(N.typeExpression.type)?N.typeExpression.type:undefined}));var G=createSymbol(3,"args",32768);G.type=q?createArrayType(getTypeFromTypeNode(q.type)):vn;if(q){R.pop()}R.push(G);return true}function getSignatureOfTypeTag(N){if(!(E.isInJSFile(N)&&E.isFunctionLikeDeclaration(N)))return undefined;var R=E.getJSDocTypeTag(N);return(R===null||R===void 0?void 0:R.typeExpression)&&getSingleCallSignature(getTypeFromTypeNode(R.typeExpression))}function getParameterTypeOfTypeTag(E,N){var R=getSignatureOfTypeTag(E);if(!R)return undefined;var j=E.parameters.indexOf(N);return N.dotDotDotToken?getRestTypeAtPosition(R,j):getTypeAtPosition(R,j)}function getReturnTypeOfTypeTag(E){var N=getSignatureOfTypeTag(E);return N&&getReturnTypeOfSignature(N)}function containsArgumentsReference(N){var R=getNodeLinks(N);if(R.containsArgumentsReference===undefined){if(R.flags&8192){R.containsArgumentsReference=true}else{R.containsArgumentsReference=traverse(N.body)}}return R.containsArgumentsReference;function traverse(N){if(!N)return false;switch(N.kind){case 79:return N.escapedText===St.escapedName&&getReferencedValueSymbol(N)===St;case 166:case 168:case 171:case 172:return N.name.kind===161&&traverse(N.name);case 205:case 206:return traverse(N.expression);case 294:return traverse(N.initializer);default:return!E.nodeStartsNewLexicalEnvironment(N)&&!E.isPartOfTypeNode(N)&&!!E.forEachChild(N,traverse)}}}function getSignaturesOfSymbol(N){if(!N||!N.declarations)return E.emptyArray;var R=[];for(var j=0;j0&&$.body){var q=N.declarations[j-1];if($.parent===q.parent&&$.kind===q.kind&&$.pos===q.end){continue}}R.push(getSignatureFromDeclaration($))}return R}function resolveExternalModuleTypeByLiteral(E){var N=resolveExternalModuleName(E,E);if(N){var R=resolveExternalModuleSymbol(N);if(R){return getTypeOfSymbol(R)}}return $t}function getThisTypeOfSignature(E){if(E.thisParameter){return getTypeOfSymbol(E.thisParameter)}}function getTypePredicateOfSignature(N){if(!N.resolvedTypePredicate){if(N.target){var R=getTypePredicateOfSignature(N.target);N.resolvedTypePredicate=R?instantiateTypePredicate(R,N.mapper):zr}else if(N.compositeSignatures){N.resolvedTypePredicate=getUnionOrIntersectionTypePredicate(N.compositeSignatures,N.compositeKind)||zr}else{var j=N.declaration&&E.getEffectiveReturnTypeNode(N.declaration);var $=void 0;if(!j&&E.isInJSFile(N.declaration)){var q=getSignatureOfTypeTag(N.declaration);if(q&&N!==q){$=getTypePredicateOfSignature(q)}}N.resolvedTypePredicate=j&&E.isTypePredicateNode(j)?createTypePredicateFromTypePredicateNode(j,N):$||zr}E.Debug.assert(!!N.resolvedTypePredicate)}return N.resolvedTypePredicate===zr?undefined:N.resolvedTypePredicate}function createTypePredicateFromTypePredicateNode(N,R){var j=N.parameterName;var $=N.type&&getTypeFromTypeNode(N.type);return j.kind===191?createTypePredicate(N.assertsModifier?2:0,undefined,undefined,$):createTypePredicate(N.assertsModifier?3:1,j.escapedText,E.findIndex(R.parameters,(function(E){return E.escapedName===j.escapedText})),$)}function getUnionOrIntersectionType(E,N,R){return N!==2097152?getUnionType(E,R):getIntersectionType(E)}function getReturnTypeOfSignature(N){if(!N.resolvedReturnType){if(!pushTypeResolution(N,3)){return Ht}var R=N.target?instantiateType(getReturnTypeOfSignature(N.target),N.mapper):N.compositeSignatures?instantiateType(getUnionOrIntersectionType(E.map(N.compositeSignatures,getReturnTypeOfSignature),N.compositeKind,2),N.mapper):getReturnTypeFromAnnotation(N.declaration)||(E.nodeIsMissing(N.declaration.body)?$t:getReturnTypeFromBody(N.declaration));if(N.flags&8){R=addOptionalTypeMarker(R)}else if(N.flags&16){R=getOptionalType(R)}if(!popTypeResolution()){if(N.declaration){var j=E.getEffectiveReturnTypeNode(N.declaration);if(j){error(j,E.Diagnostics.Return_type_annotation_circularly_references_itself)}else if(ct){var $=N.declaration;var q=E.getNameOfDeclaration($);if(q){error(q,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,E.declarationNameToString(q))}else{error($,E.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}}R=$t}N.resolvedReturnType=R}return N.resolvedReturnType}function getReturnTypeFromAnnotation(N){if(N.kind===170){return getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol))}if(E.isJSDocConstructSignature(N)){return getTypeFromTypeNode(N.parameters[0].type)}var R=E.getEffectiveReturnTypeNode(N);if(R){return getTypeFromTypeNode(R)}if(N.kind===171&&hasBindableName(N)){var j=E.isInJSFile(N)&&getTypeForDeclarationFromJSDocComment(N);if(j){return j}var $=E.getDeclarationOfKind(getSymbolOfNode(N),172);var q=getAnnotatedAccessorType($);if(q){return q}}return getReturnTypeOfTypeTag(N)}function isResolvingReturnTypeOfSignature(E){return!E.resolvedReturnType&&findResolutionCycleStartIndex(E,3)>=0}function getRestTypeOfSignature(E){return tryGetRestTypeOfSignature(E)||$t}function tryGetRestTypeOfSignature(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);var R=isTupleType(N)?getRestTypeOfTupleType(N):N;return R&&getIndexTypeOfType(R,sr)}return undefined}function getSignatureInstantiation(E,N,R,j){var $=getSignatureInstantiationWithoutFillingInTypeArguments(E,fillMissingTypeArguments(N,E.typeParameters,getMinTypeArgumentCount(E.typeParameters),R));if(j){var q=getSingleCallOrConstructSignature(getReturnTypeOfSignature($));if(q){var G=cloneSignature(q);G.typeParameters=j;var ie=cloneSignature($);ie.resolvedReturnType=getOrCreateTypeFromSignature(G);return ie}}return $}function getSignatureInstantiationWithoutFillingInTypeArguments(N,R){var j=N.instantiations||(N.instantiations=new E.Map);var $=getTypeListId(R);var q=j.get($);if(!q){j.set($,q=createSignatureInstantiation(N,R))}return q}function createSignatureInstantiation(E,N){return instantiateSignature(E,createSignatureTypeMapper(E,N),true)}function createSignatureTypeMapper(E,N){return createTypeMapper(E.typeParameters,N)}function getErasedSignature(E){return E.typeParameters?E.erasedSignatureCache||(E.erasedSignatureCache=createErasedSignature(E)):E}function createErasedSignature(E){return instantiateSignature(E,createTypeEraser(E.typeParameters),true)}function getCanonicalSignature(E){return E.typeParameters?E.canonicalSignatureCache||(E.canonicalSignatureCache=createCanonicalSignature(E)):E}function createCanonicalSignature(N){return getSignatureInstantiation(N,E.map(N.typeParameters,(function(E){return E.target&&!getConstraintOfTypeParameter(E.target)?E.target:E})),E.isInJSFile(N.declaration))}function getBaseSignature(N){var R=N.typeParameters;if(R){if(N.baseSignatureCache){return N.baseSignatureCache}var j=createTypeEraser(R);var $=createTypeMapper(R,E.map(R,(function(E){return getConstraintOfTypeParameter(E)||Xt})));var q=E.map(R,(function(E){return instantiateType(E,$)||Xt}));for(var G=0;G1){N+=":"+q}j+=q}}return N}function getAliasId(E,N){return E?"@".concat(getSymbolId(E))+(N?":".concat(getTypeListId(N)):""):""}function getPropagatingFlagsOfTypes(N,R){var j=0;for(var $=0,q=N;$$.length)){var ce=ie&&E.isExpressionWithTypeArguments(N)&&!E.isJSDocAugmentsTag(N.parent);var le=G===$.length?ce?E.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_1_type_argument_s:ce?E.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;var _e=typeToString(j,undefined,2);error(N,le,_e,G,$.length);if(!ie){return Ht}}if(N.kind===177&&isDeferredTypeReferenceNode(N,E.length(N.typeArguments)!==$.length)){return createDeferredTypeReference(j,N,undefined)}var Te=E.concatenate(j.outerTypeParameters,fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(N),$,G,ie));return createTypeReference(j,Te)}return checkNoTypeArguments(N,R)?j:Ht}function getTypeAliasInstantiation(N,R,j,$){var q=getDeclaredTypeOfSymbol(N);if(q===Qt&&Qe.has(N.escapedName)&&R&&R.length===1){return getStringMappingType(N,R[0])}var G=getSymbolLinks(N);var ie=G.typeParameters;var ae=getTypeListId(R)+getAliasId(j,$);var ce=G.instantiations.get(ae);if(!ce){G.instantiations.set(ae,ce=instantiateTypeWithAlias(q,createTypeMapper(ie,fillMissingTypeArguments(R,ie,getMinTypeArgumentCount(ie),E.isInJSFile(N.valueDeclaration))),j,$))}return ce}function getTypeFromTypeAliasReference(N,R){if(E.getCheckFlags(R)&1048576){var j=typeArgumentsFromTypeReferenceNode(N);var $=getAliasId(R,j);var q=Jt.get($);if(!q){q=createIntrinsicType(1,"error");q.aliasSymbol=R;q.aliasTypeArguments=j;Jt.set($,q)}return q}var G=getDeclaredTypeOfSymbol(R);var ie=getSymbolLinks(R).typeParameters;if(ie){var ae=E.length(N.typeArguments);var ce=getMinTypeArgumentCount(ie);if(aeie.length){error(N,ce===ie.length?E.Diagnostics.Generic_type_0_requires_1_type_argument_s:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,symbolToString(R),ce,ie.length);return Ht}var le=getAliasSymbolForTypeNode(N);var _e=le&&(isLocalTypeAlias(R)||!isLocalTypeAlias(le))?le:undefined;return getTypeAliasInstantiation(R,typeArgumentsFromTypeReferenceNode(N),_e,getTypeArgumentsForAliasSymbol(_e))}return checkNoTypeArguments(N,R)?G:Ht}function isLocalTypeAlias(N){var R;var j=(R=N.declarations)===null||R===void 0?void 0:R.find(E.isTypeAlias);return!!(j&&E.getContainingFunction(j))}function getTypeReferenceName(N){switch(N.kind){case 177:return N.typeName;case 227:var R=N.expression;if(E.isEntityNameExpression(R)){return R}}return undefined}function getSymbolPath(E){return E.parent?"".concat(getSymbolPath(E.parent),".").concat(E.escapedName):E.escapedName}function getUnresolvedSymbolForEntityName(E){var N=E.kind===160?E.right:E.kind===205?E.name:E;var R=N.escapedText;if(R){var j=E.kind===160?getUnresolvedSymbolForEntityName(E.left):E.kind===205?getUnresolvedSymbolForEntityName(E.expression):undefined;var $=j?"".concat(getSymbolPath(j),".").concat(R):R;var q=Wt.get($);if(!q){Wt.set($,q=createSymbol(524288,R,1048576));q.parent=j;q.declaredType=Gt}return q}return Ut}function resolveTypeReferenceName(E,N,R){var j=getTypeReferenceName(E);if(!j){return Ut}var $=resolveEntityName(j,N,R);return $&&$!==Ut?$:R?Ut:getUnresolvedSymbolForEntityName(j)}function getTypeReferenceType(E,N){if(N===Ut){return Ht}N=getExpandoSymbol(N)||N;if(N.flags&(32|64)){return getTypeFromClassOrInterfaceReference(E,N)}if(N.flags&524288){return getTypeFromTypeAliasReference(E,N)}var R=tryGetDeclaredTypeOfSymbol(N);if(R){return checkNoTypeArguments(E,N)?getRegularTypeOfLiteralType(R):Ht}if(N.flags&111551&&isJSDocTypeReference(E)){var j=getTypeFromJSDocValueReference(E,N);if(j){return j}else{resolveTypeReferenceName(E,788968);return getTypeOfSymbol(N)}}return Ht}function getTypeFromJSDocValueReference(E,N){var R=getNodeLinks(E);if(!R.resolvedJSDocType){var j=getTypeOfSymbol(N);var $=j;if(N.valueDeclaration){var q=E.kind===199&&E.qualifier;if(j.symbol&&j.symbol!==N&&q){$=getTypeReferenceType(E,j.symbol)}}R.resolvedJSDocType=$}return R.resolvedJSDocType}function getSubstitutionType(E,N){if(N.flags&3||N===E){return E}var R="".concat(getTypeId(E),">").concat(getTypeId(N));var j=Rt.get(R);if(j){return j}var $=createType(33554432);$.baseType=E;$.substitute=N;Rt.set(R,$);return $}function isUnaryTupleTypeNode(E){return E.kind===183&&E.elements.length===1}function getImpliedConstraint(E,N,R){return isUnaryTupleTypeNode(N)&&isUnaryTupleTypeNode(R)?getImpliedConstraint(E,N.elements[0],R.elements[0]):getActualTypeVariable(getTypeFromTypeNode(N))===getActualTypeVariable(E)?getTypeFromTypeNode(R):undefined}function getConditionalFlowTypeOfType(N,R){var j;var $=true;while(R&&!E.isStatement(R)&&R.kind!==318){var q=R.parent;if(q.kind===163){$=!$}if(($||N.flags&8650752)&&q.kind===188&&R===q.trueType){var G=getImpliedConstraint(N,q.checkType,q.extendsType);if(G){j=E.append(j,G)}}R=q}return j?getSubstitutionType(N,getIntersectionType(E.append(j,N))):N}function isJSDocTypeReference(E){return!!(E.flags&4194304)&&(E.kind===177||E.kind===199)}function checkNoTypeArguments(N,j){if(N.typeArguments){error(N,E.Diagnostics.Type_0_is_not_generic,j?symbolToString(j):N.typeName?E.declarationNameToString(N.typeName):R);return false}return true}function getIntendedTypeFromJSDocTypeReference(N){if(E.isIdentifier(N.typeName)){var R=N.typeArguments;switch(N.typeName.escapedText){case"String":checkNoTypeArguments(N);return ar;case"Number":checkNoTypeArguments(N);return sr;case"Boolean":checkNoTypeArguments(N);return fr;case"Void":checkNoTypeArguments(N);return gr;case"Undefined":checkNoTypeArguments(N);return Zt;case"Null":checkNoTypeArguments(N);return nr;case"Function":case"function":checkNoTypeArguments(N);return cn;case"array":return(!R||!R.length)&&!ct?vn:undefined;case"promise":return(!R||!R.length)&&!ct?createPromiseType($t):undefined;case"Object":if(R&&R.length===2){if(E.isJSDocIndexSignature(N)){var j=getTypeFromTypeNode(R[0]);var $=getTypeFromTypeNode(R[1]);var q=j===ar||j===sr?[createIndexInfo(j,$,false)]:E.emptyArray;return createAnonymousType(undefined,Ge,E.emptyArray,E.emptyArray,q)}return $t}checkNoTypeArguments(N);return!ct?$t:undefined}}}function getTypeFromJSDocNullableTypeNode(E){var N=getTypeFromTypeNode(E.type);return nt?getNullableType(N,65536):N}function getTypeFromTypeReference(N){var R=getNodeLinks(N);if(!R.resolvedType){if(E.isConstTypeReference(N)&&E.isAssertionExpression(N.parent)){R.resolvedSymbol=Ut;return R.resolvedType=checkExpressionCached(N.parent.expression)}var j=void 0;var $=void 0;var q=788968;if(isJSDocTypeReference(N)){$=getIntendedTypeFromJSDocTypeReference(N);if(!$){j=resolveTypeReferenceName(N,q,true);if(j===Ut){j=resolveTypeReferenceName(N,q|111551)}else{resolveTypeReferenceName(N,q)}$=getTypeReferenceType(N,j)}}if(!$){j=resolveTypeReferenceName(N,q);$=getTypeReferenceType(N,j)}R.resolvedSymbol=j;R.resolvedType=$}return R.resolvedType}function typeArgumentsFromTypeReferenceNode(N){return E.map(N.typeArguments,getTypeFromTypeNode)}function getTypeFromTypeQueryNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=E.isThisIdentifier(N.exprName)?checkThisExpression(N.exprName):checkExpression(N.exprName);R.resolvedType=getRegularTypeOfLiteralType(getWidenedType(j))}return R.resolvedType}function getTypeOfGlobalSymbol(N,R){function getTypeDeclaration(E){var N=E.declarations;if(N){for(var R=0,j=N;R=0){return checkCrossProductUnion(E.map(R,(function(E,R){return N.elementFlags[R]&8?E:Xt})))?mapType(R[G],(function(j){return createNormalizedTupleType(N,E.replaceElement(R,G,j))})):Ht}}var ie=[];var ae=[];var ce=[];var le=-1;var _e=-1;var Te=-1;var _loop_15=function(G){var ae=R[G];var ce=N.elementFlags[G];if(ce&8){if(ae.flags&58982400||isGenericMappedType(ae)){addElement(ae,8,(j=N.labeledElementDeclarations)===null||j===void 0?void 0:j[G])}else if(isTupleType(ae)){var le=getTypeArguments(ae);if(le.length+ie.length>=1e4){error(He,E.isPartOfTypeNode(He)?E.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:E.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent);return{value:Ht}}E.forEach(le,(function(E,N){var R;return addElement(E,ae.target.elementFlags[N],(R=ae.target.labeledElementDeclarations)===null||R===void 0?void 0:R[N])}))}else{addElement(isArrayLikeType(ae)&&getIndexTypeOfType(ae,sr)||Ht,4,($=N.labeledElementDeclarations)===null||$===void 0?void 0:$[G])}}else{addElement(ae,ce,(q=N.labeledElementDeclarations)===null||q===void 0?void 0:q[G])}};for(var Ee=0;Ee=0&&_e$.fixedLength?getRestArrayTypeOfTupleType(N)||createTupleType(E.emptyArray):createTupleType(getTypeArguments(N).slice(R,q),$.elementFlags.slice(R,q),false,$.labeledElementDeclarations&&$.labeledElementDeclarations.slice(R,q))}function getKnownKeysOfTupleType(N){return getUnionType(E.append(E.arrayOf(N.target.fixedLength,(function(E){return getStringLiteralType(""+E)})),getIndexType(N.target.readonly?pn:dn)))}function getStartElementCount(N,R){var j=E.findIndex(N.elementFlags,(function(E){return!(E&R)}));return j>=0?j:N.elementFlags.length}function getEndElementCount(N,R){return N.elementFlags.length-E.findLastIndex(N.elementFlags,(function(E){return!(E&R)}))-1}function getTypeFromOptionalTypeNode(E){return addOptionality(getTypeFromTypeNode(E.type),true)}function getTypeId(E){return E.id}function containsType(N,R){return E.binarySearch(N,R,getTypeId,E.compareValues)>=0}function insertType(N,R){var j=E.binarySearch(N,R,getTypeId,E.compareValues);if(j<0){N.splice(~j,0,R);return true}return false}function addTypeToUnion(N,R,j){var $=j.flags;if($&1048576){return addTypesToUnion(N,R|(isNamedUnionType(j)?1048576:0),j.types)}if(!($&131072)){R|=$&205258751;if($&465829888)R|=33554432;if(j===qt)R|=8388608;if(!nt&&$&98304){if(!(E.getObjectFlags(j)&131072))R|=4194304}else{var q=N.length;var G=q&&j.id>N[q-1].id?~q:E.binarySearch(N,j,getTypeId,E.compareValues);if(G<0){N.splice(~G,0,j)}}}return R}function addTypesToUnion(E,N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=addTypeToUnion(E,N,q)}return N}function removeSubtypes(N,R){var j=getTypeListId(N);var $=Lt.get(j);if($){return $}var q=R&&E.some(N,(function(E){return!!(E.flags&524288)&&!isGenericMappedType(E)&&isEmptyResolvedType(resolveStructuredTypeMembers(E))}));var G=N.length;var ie=G;var ae=0;while(ie>0){ie--;var ce=N[ie];if(q||ce.flags&469499904){var le=ce.flags&(524288|2097152|58982400)?E.find(getPropertiesOfType(ce),(function(E){return isUnitType(getTypeOfSymbol(E))})):undefined;var _e=le&&getRegularTypeOfLiteralType(getTypeOfSymbol(le));for(var Te=0,Ee=N;Te1e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:N.map((function(E){return E.id}))});error(He,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return undefined}}ae++;if(le&&we.flags&(524288|2097152|58982400)){var Ne=getTypeOfPropertyOfType(we,le.escapedName);if(Ne&&isUnitType(Ne)&&getRegularTypeOfLiteralType(Ne)!==_e){continue}}if(isTypeRelatedTo(ce,we,Ri)&&(!(E.getObjectFlags(getTargetType(ce))&1)||!(E.getObjectFlags(getTargetType(we))&1)||isTypeDerivedFrom(ce,we))){E.orderedRemoveItemAt(N,ie);break}}}}}Lt.set(j,N);return N}function removeRedundantLiteralTypes(N,R,j){var $=N.length;while($>0){$--;var q=N[$];var G=q.flags;var ie=G&(128|134217728|268435456)&&R&4||G&256&&R&8||G&2048&&R&64||G&8192&&R&4096||j&&G&32768&&R&16384||isFreshLiteralType(q)&&containsType(N,q.regularType);if(ie){E.orderedRemoveItemAt(N,$)}}}function removeStringLiteralsMatchedByTemplateLiterals(N){var R=E.filter(N,isPatternLiteralType);if(R.length){var j=N.length;var _loop_16=function(){j--;var $=N[j];if($.flags&128&&E.some(R,(function(E){return isTypeMatchedByTemplateLiteralType($,E)}))){E.orderedRemoveItemAt(N,j)}};while(j>0){_loop_16()}}}function isNamedUnionType(E){return!!(E.flags&1048576&&(E.aliasSymbol||E.origin))}function addNamedUnions(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if(q.flags&1048576){var G=q.origin;if(q.aliasSymbol||G&&!(G.flags&1048576)){E.pushIfUnique(N,q)}else if(G&&G.flags&1048576){addNamedUnions(N,G.types)}}}}function createOriginUnionOrIntersectionType(E,N){var R=createOriginType(E);R.types=N;return R}function getUnionType(N,R,j,$,q){if(R===void 0){R=1}if(N.length===0){return hr}if(N.length===1){return N[0]}var G=[];var ie=addTypesToUnion(G,0,N);if(R!==0){if(ie&3){return ie&1?ie&8388608?qt:$t:ie&65536||containsType(G,Xt)?Xt:Yt}if(mt&&ie&32768){var ae=E.binarySearch(G,rr,getTypeId,E.compareValues);if(ae>=0&&containsType(G,Zt)){E.orderedRemoveItemAt(G,ae)}}if(ie&(2944|8192|134217728|268435456)||ie&16384&&ie&32768){removeRedundantLiteralTypes(G,ie,!!(R&2))}if(ie&128&&ie&134217728){removeStringLiteralsMatchedByTemplateLiterals(G)}if(R===2){G=removeSubtypes(G,!!(ie&524288));if(!G){return Ht}}if(G.length===0){return ie&65536?ie&4194304?nr:ir:ie&32768?ie&4194304?Zt:er:hr}}if(!q&&ie&1048576){var ce=[];addNamedUnions(ce,N);var le=[];var _loop_17=function(N){if(!E.some(ce,(function(E){return containsType(E.types,N)}))){le.push(N)}};for(var _e=0,Te=G;_e0){j--;var $=N[j];var q=$.flags&4&&R&128||$.flags&8&&R&256||$.flags&64&&R&2048||$.flags&4096&&R&8192;if(q){E.orderedRemoveItemAt(N,j)}}}function eachUnionContains(E,N){for(var R=0,j=E;R0){R--;var $=N[R];if(!($.flags&134217728))continue;for(var q=0,G=j;q=1e5){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:N.map((function(E){return E.id})),size:R});error(He,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return false}return true}function getCrossProductIntersections(E){var N=getCrossProductUnionSize(E);var R=[];for(var j=0;j=0;G--){if(E[G].flags&1048576){var ie=E[G].types;var ae=ie.length;$[G]=ie[q%ae];q=Math.floor(q/ae)}}var ce=getIntersectionType($);if(!(ce.flags&131072))R.push(ce)}return R}function getTypeFromIntersectionTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getAliasSymbolForTypeNode(N);R.resolvedType=getIntersectionType(E.map(N.types,getTypeFromTypeNode),j,getTypeArgumentsForAliasSymbol(j))}return R.resolvedType}function createIndexType(E,N){var R=createType(4194304);R.type=E;R.stringsOnly=N;return R}function createOriginIndexType(E){var N=createOriginType(4194304);N.type=E;return N}function getIndexTypeForGenericType(E,N){return N?E.resolvedStringIndexType||(E.resolvedStringIndexType=createIndexType(E,true)):E.resolvedIndexType||(E.resolvedIndexType=createIndexType(E,false))}function getIndexTypeForMappedType(E,N,R){var j=getTypeParameterFromMappedType(E);var $=getConstraintTypeFromMappedType(E);var q=getNameTypeFromMappedType(E.target||E);if(!q&&!R){return $}var G=[];if(isMappedTypeWithKeyofConstraintDeclaration(E)){if(!isGenericIndexType($)){var ie=getApparentType(getModifiersTypeFromMappedType(E));forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(ie,8576,N,addMemberForKeyType)}else{return getIndexTypeForGenericType(E,N)}}else{forEachType(getLowerBoundOfKeyType($),addMemberForKeyType)}if(isGenericIndexType($)){forEachType($,addMemberForKeyType)}var ae=R?filterType(getUnionType(G),(function(E){return!(E.flags&(1|4))})):getUnionType(G);if(ae.flags&1048576&&$.flags&1048576&&getTypeListId(ae.types)===getTypeListId($.types)){return $}return ae;function addMemberForKeyType(N){var R=q?instantiateType(q,appendTypeMapping(E.mapper,j,N)):N;G.push(R===ar?Sr:R)}}function hasDistributiveNameType(N){var R=getTypeParameterFromMappedType(N);return isDistributive(getNameTypeFromMappedType(N)||R);function isDistributive(N){return N.flags&(3|131068|131072|262144|524288|67108864)?true:N.flags&16777216?N.root.isDistributive&&N.checkType===R:N.flags&(3145728|134217728)?E.every(N.types,isDistributive):N.flags&8388608?isDistributive(N.objectType)&&isDistributive(N.indexType):N.flags&33554432?isDistributive(N.substitute):N.flags&268435456?isDistributive(N.type):false}}function getLiteralTypeFromPropertyName(N){if(E.isPrivateIdentifier(N)){return hr}return E.isIdentifier(N)?getStringLiteralType(E.unescapeLeadingUnderscores(N.escapedText)):getRegularTypeOfLiteralType(E.isComputedPropertyName(N)?checkComputedPropertyName(N):checkExpression(N))}function getLiteralTypeFromProperty(N,R,j){if(j||!(E.getDeclarationModifierFlagsFromSymbol(N)&24)){var $=getSymbolLinks(getLateBoundSymbol(N)).nameType;if(!$){var q=E.getNameOfDeclaration(N.valueDeclaration);$=N.escapedName==="default"?getStringLiteralType("default"):q&&getLiteralTypeFromPropertyName(q)||(!E.isKnownSymbol(N)?getStringLiteralType(E.symbolName(N)):undefined)}if($&&$.flags&R){return $}}return hr}function isKeyTypeIncluded(N,R){return!!(N.flags&R||N.flags&2097152&&E.some(N.types,(function(E){return isKeyTypeIncluded(E,R)})))}function getLiteralTypeFromProperties(N,R,j){var $=j&&(E.getObjectFlags(N)&(3|4)||N.aliasSymbol)?createOriginIndexType(N):undefined;var q=E.map(getPropertiesOfType(N),(function(E){return getLiteralTypeFromProperty(E,R)}));var G=E.map(getIndexInfosOfType(N),(function(E){return E!==qr&&isKeyTypeIncluded(E.keyType,R)?E.keyType===ar&&R&8?Sr:E.keyType:hr}));return getUnionType(E.concatenate(q,G),1,undefined,undefined,$)}function getIndexType(N,R,j){if(R===void 0){R=pt}N=getReducedType(N);return N.flags&1048576?getIntersectionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&2097152?getUnionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&58982400||isGenericTupleType(N)||isGenericMappedType(N)&&!hasDistributiveNameType(N)?getIndexTypeForGenericType(N,R):E.getObjectFlags(N)&32?getIndexTypeForMappedType(N,R,j):N===qt?qt:N.flags&2?hr:N.flags&(1|131072)?Er:getLiteralTypeFromProperties(N,(j?128:402653316)|(R?0:296|12288),R===pt&&!j)}function getExtractStringType(E){if(pt){return E}var N=getGlobalExtractSymbol();return N?getTypeAliasInstantiation(N,[E,ar]):ar}function getIndexTypeOrString(E){var N=getExtractStringType(getIndexType(E));return N.flags&131072?ar:N}function getTypeFromTypeOperatorNode(N){var R=getNodeLinks(N);if(!R.resolvedType){switch(N.operator){case 140:R.resolvedType=getIndexType(getTypeFromTypeNode(N.type));break;case 153:R.resolvedType=N.type.kind===150?getESSymbolLikeTypeForNode(E.walkUpParenthesizedTypes(N.parent)):Ht;break;case 144:R.resolvedType=getTypeFromTypeNode(N.type);break;default:throw E.Debug.assertNever(N.operator)}}return R.resolvedType}function getTypeFromTemplateTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){R.resolvedType=getTemplateLiteralType(j([N.head.text],E.map(N.templateSpans,(function(E){return E.literal.text})),true),E.map(N.templateSpans,(function(E){return getTypeFromTypeNode(E.type)})))}return R.resolvedType}function getTemplateLiteralType(N,R){var j=E.findIndex(R,(function(E){return!!(E.flags&(131072|1048576))}));if(j>=0){return checkCrossProductUnion(R)?mapType(R[j],(function($){return getTemplateLiteralType(N,E.replaceElement(R,j,$))})):Ht}if(E.contains(R,qt)){return qt}var $=[];var q=[];var G=N[0];if(!addSpans(N,R)){return ar}if($.length===0){return getStringLiteralType(G)}q.push(G);if(E.every(q,(function(E){return E===""}))&&E.every($,(function(E){return!!(E.flags&4)}))){return ar}var ie="".concat(getTypeListId($),"|").concat(E.map(q,(function(E){return E.length})).join(","),"|").concat(q.join(""));var ae=Ot.get(ie);if(!ae){Ot.set(ie,ae=createTemplateLiteralType(q,$))}return ae;function addSpans(E,N){for(var R=0;R=0){if(q&&everyType(R,(function(E){return!E.target.hasRestElement}))&&!(G&16)){var Ee=getIndexNodeForAccessExpression(q);if(isTupleType(R)){error(Ee,E.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,typeToString(R),getTypeReferenceArity(R),E.unescapeLeadingUnderscores(ce))}else{error(Ee,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}}errorIfWritingToReadonlyIndex(getIndexInfoOfType(R,sr));return mapType(R,(function(E){var N=getRestTypeOfTupleType(E)||Zt;return G&1?getUnionType([N,Zt]):N}))}}if(!(j.flags&98304)&&isTypeAssignableToKind(j,402653316|296|12288)){if(R.flags&(1|131072)){return R}var we=getApplicableIndexInfo(R,j)||getIndexInfoOfType(R,ar);if(we){if(G&2&&we.keyType!==sr){if(ae){error(ae,E.Diagnostics.Type_0_cannot_be_used_to_index_type_1,typeToString(j),typeToString(N))}return undefined}if(q&&we.keyType===ar&&!isTypeAssignableToKind(j,4|8)){var Ee=getIndexNodeForAccessExpression(q);error(Ee,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j));return G&1?getUnionType([we.type,Zt]):we.type}errorIfWritingToReadonlyIndex(we);return G&1?getUnionType([we.type,Zt]):we.type}if(j.flags&131072){return hr}if(isJSLiteralType(R)){return $t}if(ae&&!isConstEnumObjectType(R)){if(isObjectLiteralType(R)){if(ct&&j.flags&(128|256)){Ai.add(E.createDiagnosticForNode(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R)));return Zt}else if(j.flags&(8|4)){var Ie=E.map(R.properties,(function(E){return getTypeOfSymbol(E)}));return getUnionType(E.append(Ie,Zt))}}if(R.symbol===xt&&ce!==undefined&&xt.exports.has(ce)&&xt.exports.get(ce).flags&418){error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}else if(ct&&!Ye.suppressImplicitAnyIndexErrors&&!(G&128)){if(ce!==undefined&&typeHasStaticProperty(ce,R)){var Ne=typeToString(R);error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,Ne,Ne+"["+E.getTextOfNode(ae.argumentExpression)+"]")}else if(getIndexTypeOfType(R,sr)){error(ae.argumentExpression,E.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number)}else{var Me=void 0;if(ce!==undefined&&(Me=getSuggestionForNonexistentProperty(ce,R))){if(Me!==undefined){error(ae.argumentExpression,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ce,typeToString(R),Me)}}else{var Le=getSuggestionForNonexistentIndexSignature(R,ae,j);if(Le!==undefined){error(ae,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,typeToString(R),Le)}else{var Be=void 0;if(j.flags&1024){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+typeToString(j)+"]",typeToString(R))}else if(j.flags&8192){var je=getFullyQualifiedName(j.symbol,ae);Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+je+"]",typeToString(R))}else if(j.flags&128){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&256){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&(8|4)){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,typeToString(j),typeToString(R))}Be=E.chainDiagnosticMessages(Be,E.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,typeToString($),typeToString(R));Ai.add(E.createDiagnosticForNodeFromMessageChain(ae,Be))}}}}return undefined}}if(isJSLiteralType(R)){return $t}if(q){var Ee=getIndexNodeForAccessExpression(q);if(j.flags&(128|256)){error(Ee,E.Diagnostics.Property_0_does_not_exist_on_type_1,""+j.value,typeToString(R))}else if(j.flags&(4|8)){error(Ee,E.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,typeToString(R),typeToString(j))}else{error(Ee,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j))}}if(isTypeAny(j)){return j}return undefined;function errorIfWritingToReadonlyIndex(N){if(N&&N.isReadonly&&ae&&(E.isAssignmentTarget(ae)||E.isDeleteTarget(ae))){error(ae,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(R))}}}function getIndexNodeForAccessExpression(E){return E.kind===206?E.argumentExpression:E.kind===193?E.indexType:E.kind===161?E.expression:E}function isPatternLiteralPlaceholderType(E){return!!(E.flags&(1|4|8|64))}function isPatternLiteralType(N){return!!(N.flags&134217728)&&E.every(N.types,isPatternLiteralPlaceholderType)}function isGenericType(E){return!!getGenericObjectFlags(E)}function isGenericObjectType(E){return!!(getGenericObjectFlags(E)&8388608)}function isGenericIndexType(E){return!!(getGenericObjectFlags(E)&16777216)}function getGenericObjectFlags(N){if(N.flags&3145728){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|E.reduceLeft(N.types,(function(E,N){return E|getGenericObjectFlags(N)}),0)}return N.objectFlags&25165824}if(N.flags&33554432){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|getGenericObjectFlags(N.substitute)|getGenericObjectFlags(N.baseType)}return N.objectFlags&25165824}return(N.flags&58982400||isGenericMappedType(N)||isGenericTupleType(N)?8388608:0)|(N.flags&(58982400|4194304|134217728|268435456)&&!isPatternLiteralType(N)?16777216:0)}function getSimplifiedType(E,N){return E.flags&8388608?getSimplifiedIndexedAccessType(E,N):E.flags&16777216?getSimplifiedConditionalType(E,N):E}function distributeIndexOverObjectType(N,R,j){if(N.flags&3145728){var $=E.map(N.types,(function(E){return getSimplifiedType(getIndexedAccessType(E,R),j)}));return N.flags&2097152||j?getIntersectionType($):getUnionType($)}}function distributeObjectOverIndexType(N,R,j){if(R.flags&1048576){var $=E.map(R.types,(function(E){return getSimplifiedType(getIndexedAccessType(N,E),j)}));return j?getIntersectionType($):getUnionType($)}}function getSimplifiedIndexedAccessType(E,N){var R=N?"simplifiedForWriting":"simplifiedForReading";if(E[R]){return E[R]===Rr?E:E[R]}E[R]=Rr;var j=getSimplifiedType(E.objectType,N);var $=getSimplifiedType(E.indexType,N);var q=distributeObjectOverIndexType(j,$,N);if(q){return E[R]=q}if(!($.flags&465829888)){var G=distributeIndexOverObjectType(j,$,N);if(G){return E[R]=G}}if(isGenericTupleType(j)&&$.flags&296){var ie=getElementTypeOfSliceOfTupleType(j,$.flags&8?0:j.target.fixedLength,0,N);if(ie){return E[R]=ie}}if(isGenericMappedType(j)){return E[R]=mapType(substituteIndexedMappedType(j,E.indexType),(function(E){return getSimplifiedType(E,N)}))}return E[R]=E}function getSimplifiedConditionalType(E,N){var R=E.checkType;var j=E.extendsType;var $=getTrueTypeFromConditionalType(E);var q=getFalseTypeFromConditionalType(E);if(q.flags&131072&&getActualTypeVariable($)===getActualTypeVariable(R)){if(R.flags&1||isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return getSimplifiedType($,N)}else if(isIntersectionEmpty(R,j)){return hr}}else if($.flags&131072&&getActualTypeVariable(q)===getActualTypeVariable(R)){if(!(R.flags&1)&&isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return hr}else if(R.flags&1||isIntersectionEmpty(R,j)){return getSimplifiedType(q,N)}}return E}function isIntersectionEmpty(E,N){return!!(getUnionType([intersectTypes(E,N),hr]).flags&131072)}function substituteIndexedMappedType(E,N){var R=createTypeMapper([getTypeParameterFromMappedType(E)],[N]);var j=combineTypeMappers(E.mapper,R);return instantiateType(getTemplateTypeFromMappedType(E),j)}function getIndexedAccessType(E,N,R,j,$,q){if(R===void 0){R=0}return getIndexedAccessTypeOrUndefined(E,N,R,j,$,q)||(j?Ht:Xt)}function indexTypeLessThan(N,R){return everyType(N,(function(N){if(N.flags&384){var j=getPropertyNameFromType(N);if(E.isNumericLiteralName(j)){var $=+j;return $>=0&&$=R?Xt:j}))}function combineTypeMappers(E,N){return E?makeCompositeTypeMapper(3,E,N):N}function mergeTypeMappers(E,N){return E?makeCompositeTypeMapper(4,E,N):N}function prependTypeMapping(E,N,R){return!R?makeUnaryTypeMapper(E,N):makeCompositeTypeMapper(4,makeUnaryTypeMapper(E,N),R)}function appendTypeMapping(E,N,R){return!E?makeUnaryTypeMapper(N,R):makeCompositeTypeMapper(4,E,makeUnaryTypeMapper(N,R))}function getRestrictiveTypeParameter(E){return E.constraint===Xt?E:E.restrictiveInstantiation||(E.restrictiveInstantiation=createTypeParameter(E.symbol),E.restrictiveInstantiation.constraint=Xt,E.restrictiveInstantiation)}function cloneTypeParameter(E){var N=createTypeParameter(E.symbol);N.target=E;return N}function instantiateTypePredicate(E,N){return createTypePredicate(E.kind,E.parameterName,E.parameterIndex,instantiateType(E.type,N))}function instantiateSignature(N,R,j){var $;if(N.typeParameters&&!j){$=E.map(N.typeParameters,cloneTypeParameter);R=combineTypeMappers(createTypeMapper(N.typeParameters,$),R);for(var q=0,G=$;q=5e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:N.id,instantiationDepth:Je,instantiationCount:We});error(He,E.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);return Ht}ze++;We++;Je++;var q=instantiateTypeWorker(N,R,j,$);Je--;return q}function instantiateTypeWorker(E,N,R,j){var $=E.flags;if($&262144){return getMappedType(E,N)}if($&524288){var q=E.objectFlags;if(q&(4|16|32)){if(q&4&&!E.node){var G=E.resolvedTypeArguments;var ie=instantiateTypes(G,N);return ie!==G?createNormalizedTypeReference(E.target,ie):E}if(q&1024){return instantiateReverseMappedType(E,N)}return getObjectTypeInstantiation(E,N,R,j)}return E}if($&3145728){var ae=E.flags&1048576?E.origin:undefined;var ce=ae&&ae.flags&3145728?ae.types:E.types;var le=instantiateTypes(ce,N);if(le===ce&&R===E.aliasSymbol){return E}var _e=R||E.aliasSymbol;var Te=R?j:instantiateTypes(E.aliasTypeArguments,N);return $&2097152||ae&&ae.flags&2097152?getIntersectionType(le,_e,Te):getUnionType(le,1,_e,Te)}if($&4194304){return getIndexType(instantiateType(E.type,N))}if($&134217728){return getTemplateLiteralType(E.texts,instantiateTypes(E.types,N))}if($&268435456){return getStringMappingType(E.symbol,instantiateType(E.type,N))}if($&8388608){var _e=R||E.aliasSymbol;var Te=R?j:instantiateTypes(E.aliasTypeArguments,N);return getIndexedAccessType(instantiateType(E.objectType,N),instantiateType(E.indexType,N),E.accessFlags,undefined,_e,Te)}if($&16777216){return getConditionalTypeInstantiation(E,combineTypeMappers(E.mapper,N),R,j)}if($&33554432){var Ee=instantiateType(E.baseType,N);if(Ee.flags&8650752){return getSubstitutionType(Ee,instantiateType(E.substitute,N))}else{var we=instantiateType(E.substitute,N);if(we.flags&3||isTypeAssignableTo(getRestrictiveInstantiation(Ee),getRestrictiveInstantiation(we))){return Ee}return we}}return E}function instantiateReverseMappedType(N,R){var j=instantiateType(N.mappedType,R);if(!(E.getObjectFlags(j)&32)){return N}var $=instantiateType(N.constraintType,R);if(!($.flags&4194304)){return N}var q=inferTypeForHomomorphicMappedType(instantiateType(N.source,R),j,$);if(q){return q}return N}function getPermissiveInstantiation(E){return E.flags&(131068|3|131072)?E:E.permissiveInstantiation||(E.permissiveInstantiation=instantiateType(E,Ar))}function getRestrictiveInstantiation(E){if(E.flags&(131068|3|131072)){return E}if(E.restrictiveInstantiation){return E.restrictiveInstantiation}E.restrictiveInstantiation=instantiateType(E,Dr);E.restrictiveInstantiation.restrictiveInstantiation=E.restrictiveInstantiation;return E.restrictiveInstantiation}function instantiateIndexInfo(E,N){return createIndexInfo(E.keyType,instantiateType(E.type,N),E.isReadonly,E.declaration)}function isContextSensitive(N){E.Debug.assert(N.kind!==168||E.isObjectLiteralMethod(N));switch(N.kind){case 212:case 213:case 168:case 255:return isContextSensitiveFunctionLikeDeclaration(N);case 204:return E.some(N.properties,isContextSensitive);case 203:return E.some(N.elements,isContextSensitive);case 221:return isContextSensitive(N.whenTrue)||isContextSensitive(N.whenFalse);case 220:return(N.operatorToken.kind===56||N.operatorToken.kind===60)&&(isContextSensitive(N.left)||isContextSensitive(N.right));case 294:return isContextSensitive(N.initializer);case 211:return isContextSensitive(N.expression);case 285:return E.some(N.properties,isContextSensitive)||E.isJsxOpeningElement(N.parent)&&E.some(N.parent.parent.children,isContextSensitive);case 284:{var R=N.initializer;return!!R&&isContextSensitive(R)}case 287:{var j=N.expression;return!!j&&isContextSensitive(j)}}return false}function isContextSensitiveFunctionLikeDeclaration(N){return(!E.isFunctionDeclaration(N)||E.isInJSFile(N)&&!!getTypeForDeclarationFromJSDocComment(N))&&(E.hasContextSensitiveParameters(N)||hasContextSensitiveReturnExpression(N))}function hasContextSensitiveReturnExpression(N){return!N.typeParameters&&!E.getEffectiveReturnTypeNode(N)&&!!N.body&&N.body.kind!==234&&isContextSensitive(N.body)}function isContextSensitiveFunctionOrObjectLiteralMethod(N){return(E.isInJSFile(N)&&E.isFunctionDeclaration(N)||E.isFunctionExpressionOrArrowFunction(N)||E.isObjectLiteralMethod(N))&&isContextSensitiveFunctionLikeDeclaration(N)}function getTypeWithoutSignatures(N){if(N.flags&524288){var R=resolveStructuredTypeMembers(N);if(R.constructSignatures.length||R.callSignatures.length){var j=createObjectType(16,N.symbol);j.members=R.members;j.properties=R.properties;j.callSignatures=E.emptyArray;j.constructSignatures=E.emptyArray;j.indexInfos=E.emptyArray;return j}}else if(N.flags&2097152){return getIntersectionType(E.map(N.types,getTypeWithoutSignatures))}return N}function isTypeIdenticalTo(E,N){return isTypeRelatedTo(E,N,ji)}function compareTypesIdentical(E,N){return isTypeRelatedTo(E,N,ji)?-1:0}function compareTypesAssignable(E,N){return isTypeRelatedTo(E,N,Li)?-1:0}function compareTypesSubtypeOf(E,N){return isTypeRelatedTo(E,N,Mi)?-1:0}function isTypeSubtypeOf(E,N){return isTypeRelatedTo(E,N,Mi)}function isTypeAssignableTo(E,N){return isTypeRelatedTo(E,N,Li)}function isTypeDerivedFrom(N,R){return N.flags&1048576?E.every(N.types,(function(E){return isTypeDerivedFrom(E,R)})):R.flags&1048576?E.some(R.types,(function(E){return isTypeDerivedFrom(N,E)})):N.flags&58982400?isTypeDerivedFrom(getBaseConstraintOfType(N)||Xt,R):R===sn?!!(N.flags&(524288|67108864)):R===cn?!!(N.flags&524288)&&isFunctionObjectType(N):hasBaseType(N,getTargetType(R))||isArrayType(R)&&!isReadonlyArrayType(R)&&isTypeDerivedFrom(N,pn)}function isTypeComparableTo(E,N){return isTypeRelatedTo(E,N,Bi)}function areTypesComparable(E,N){return isTypeComparableTo(E,N)||isTypeComparableTo(N,E)}function checkTypeAssignableTo(E,N,R,j,$,q){return checkTypeRelatedTo(E,N,Li,R,j,$,q)}function checkTypeAssignableToAndOptionallyElaborate(E,N,R,j,$,q){return checkTypeRelatedToAndOptionallyElaborate(E,N,Li,R,j,$,q,undefined)}function checkTypeRelatedToAndOptionallyElaborate(E,N,R,j,$,q,G,ie){if(isTypeRelatedTo(E,N,R))return true;if(!j||!elaborateError($,E,N,R,q,G,ie)){return checkTypeRelatedTo(E,N,R,j,q,G,ie)}return false}function isOrHasGenericConditional(N){return!!(N.flags&16777216||N.flags&2097152&&E.some(N.types,isOrHasGenericConditional))}function elaborateError(E,N,R,j,$,q,G){if(!E||isOrHasGenericConditional(R))return false;if(!checkTypeRelatedTo(N,R,j,undefined)&&elaborateDidYouMeanToCallOrConstruct(E,N,R,j,$,q,G)){return true}switch(E.kind){case 287:case 211:return elaborateError(E.expression,N,R,j,$,q,G);case 220:switch(E.operatorToken.kind){case 63:case 27:return elaborateError(E.right,N,R,j,$,q,G)}break;case 204:return elaborateObjectLiteral(E,N,R,j,q,G);case 203:return elaborateArrayLiteral(E,N,R,j,q,G);case 285:return elaborateJsxComponents(E,N,R,j,q,G);case 213:return elaborateArrowFunction(E,N,R,j,q,G)}return false}function elaborateDidYouMeanToCallOrConstruct(N,R,j,$,q,G,ie){var ae=getSignaturesOfType(R,0);var ce=getSignaturesOfType(R,1);for(var le=0,_e=[ce,ae];le<_e.length;le++){var Te=_e[le];if(E.some(Te,(function(E){var N=getReturnTypeOfSignature(E);return!(N.flags&(1|131072))&&checkTypeRelatedTo(N,j,$,undefined)}))){var Ee=ie||{};checkTypeAssignableTo(R,j,N,q,G,Ee);var we=Ee.errors[Ee.errors.length-1];E.addRelatedInfo(we,E.createDiagnosticForNode(N,Te===ce?E.Diagnostics.Did_you_mean_to_use_new_with_this_expression:E.Diagnostics.Did_you_mean_to_call_this_expression));return true}}return false}function elaborateArrowFunction(N,R,j,$,q,G){if(E.isBlock(N.body)){return false}if(E.some(N.parameters,E.hasType)){return false}var ie=getSingleCallSignature(R);if(!ie){return false}var ae=getSignaturesOfType(j,0);if(!E.length(ae)){return false}var ce=N.body;var le=getReturnTypeOfSignature(ie);var _e=getUnionType(E.map(ae,getReturnTypeOfSignature));if(!checkTypeRelatedTo(le,_e,$,undefined)){var Te=ce&&elaborateError(ce,le,_e,$,undefined,q,G);if(Te){return Te}var Ee=G||{};checkTypeRelatedTo(le,_e,$,ce,undefined,q,Ee);if(Ee.errors){if(j.symbol&&E.length(j.symbol.declarations)){E.addRelatedInfo(Ee.errors[Ee.errors.length-1],E.createDiagnosticForNode(j.symbol.declarations[0],E.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature))}if((E.getFunctionFlags(N)&2)===0&&!getTypeOfPropertyOfType(le,"then")&&checkTypeRelatedTo(createPromiseType(le),_e,$,undefined)){E.addRelatedInfo(Ee.errors[Ee.errors.length-1],E.createDiagnosticForNode(N,E.Diagnostics.Did_you_mean_to_mark_this_function_as_async))}return true}}return false}function getBestMatchIndexedAccessTypeOrUndefined(E,N,R){var j=getIndexedAccessTypeOrUndefined(N,R);if(j){return j}if(N.flags&1048576){var $=getBestMatchingType(E,N);if($){return getIndexedAccessTypeOrUndefined($,R)}}}function checkExpressionForMutableLocationWithContextualType(E,N){E.contextualType=N;try{return checkExpressionForMutableLocation(E,1,N)}finally{E.contextualType=undefined}}function elaborateElementwise(N,R,j,$,q,G){var ie=false;for(var ae=N.next();!ae.done;ae=N.next()){var ce=ae.value,le=ce.errorNode,_e=ce.innerExpression,Te=ce.nameType,Ee=ce.errorMessage;var we=getBestMatchIndexedAccessTypeOrUndefined(R,j,Te);if(!we||we.flags&8388608)continue;var Ie=getIndexedAccessTypeOrUndefined(R,Te);if(!Ie)continue;var Ne=getPropertyNameFromIndex(Te,undefined);if(!checkTypeRelatedTo(Ie,we,$,undefined)){var Me=_e&&elaborateError(_e,Ie,we,$,undefined,q,G);ie=true;if(!Me){var Le=G||{};var Be=_e?checkExpressionForMutableLocationWithContextualType(_e,Ie):Ie;if(mt&&isExactOptionalPropertyMismatch(Be,we)){var je=E.createDiagnosticForNode(le,E.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,typeToString(Be),typeToString(we));Ai.add(je);Le.errors=[je]}else{var Ue=!!(Ne&&(getPropertyOfType(j,Ne)||Ut).flags&16777216);var ze=!!(Ne&&(getPropertyOfType(R,Ne)||Ut).flags&16777216);we=removeMissingType(we,Ue);Ie=removeMissingType(Ie,Ue&&ze);var We=checkTypeRelatedTo(Be,we,$,le,Ee,q,Le);if(We&&Be!==Ie){checkTypeRelatedTo(Ie,we,$,le,Ee,q,Le)}}if(Le.errors){var Je=Le.errors[Le.errors.length-1];var Ve=isTypeUsableAsPropertyName(Te)?getPropertyNameFromType(Te):undefined;var qe=Ve!==undefined?getPropertyOfType(j,Ve):undefined;var He=false;if(!qe){var Ge=getApplicableIndexInfo(j,Te);if(Ge&&Ge.declaration&&!E.getSourceFileOfNode(Ge.declaration).hasNoDefaultLib){He=true;E.addRelatedInfo(Je,E.createDiagnosticForNode(Ge.declaration,E.Diagnostics.The_expected_type_comes_from_this_index_signature))}}if(!He&&(qe&&E.length(qe.declarations)||j.symbol&&E.length(j.symbol.declarations))){var Ke=qe&&E.length(qe.declarations)?qe.declarations[0]:j.symbol.declarations[0];if(!E.getSourceFileOfNode(Ke).hasNoDefaultLib){E.addRelatedInfo(Je,E.createDiagnosticForNode(Ke,E.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,Ve&&!(Te.flags&8192)?E.unescapeLeadingUnderscores(Ve):typeToString(Te),typeToString(j)))}}}}}}return ie}function generateJsxAttributes(N){var R,j,$;return G(this,(function(q){switch(q.label){case 0:if(!E.length(N.properties))return[2];R=0,j=N.properties;q.label=1;case 1:if(!(R1;var Le=filterType(Ie,isArrayOrTupleLikeType);var Be=filterType(Ie,(function(E){return!isArrayOrTupleLikeType(E)}));if(Me){if(Le!==hr){var je=createTupleType(checkJsxChildren(_e,0));var Ue=generateJsxChildren(_e,getInvalidTextualChildDiagnostic);ce=elaborateElementwise(Ue,je,Le,q,ie,ae)||ce}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ee,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}else{if(Be!==hr){var We=Ne[0];var Je=getElaborationElementForJsxChild(We,we,getInvalidTextualChildDiagnostic);if(Je){ce=elaborateElementwise(function(){return G(this,(function(E){switch(E.label){case 0:return[4,Je];case 1:E.sent();return[2]}}))}(),R,j,q,ie,ae)||ce}}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Ee,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}}return ce;function getInvalidTextualChildDiagnostic(){if(!le){var R=E.getTextOfNode(N.parent.tagName);var q=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));var G=q===undefined?"children":E.unescapeLeadingUnderscores(q);var ie=getIndexedAccessType(j,getStringLiteralType(G));var ae=E.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;le=$($({},ae),{key:"!!ALREADY FORMATTED!!",message:E.formatMessage(undefined,ae,R,G,typeToString(ie))})}return le}}function generateLimitedTupleElements(N,R){var j,$,q,ie;return G(this,(function(G){switch(G.label){case 0:j=E.length(N.elements);if(!j)return[2];$=0;G.label=1;case 1:if(!($ce:getMinArgumentCount(N)>ce);if(le){return 0}if(N.typeParameters&&N.typeParameters!==R.typeParameters){R=getCanonicalSignature(R);N=instantiateSignatureInContextOf(N,R,undefined,ie)}var _e=getParameterCount(N);var Te=getNonArrayRestType(N);var Ee=getNonArrayRestType(R);if(Te||Ee){void instantiateType(Te||Ee,ae)}if(Te&&Ee&&_e!==ce){return 0}var we=R.declaration?R.declaration.kind:0;var Ie=!(j&3)&&it&&we!==168&&we!==167&&we!==170;var Ne=-1;var Me=getThisTypeOfSignature(N);if(Me&&Me!==gr){var Le=getThisTypeOfSignature(R);if(Le){var Be=!Ie&&ie(Me,Le,false)||ie(Le,Me,$);if(!Be){if($){q(E.Diagnostics.The_this_types_of_each_signature_are_incompatible)}return 0}Ne&=Be}}var je=Te||Ee?Math.min(_e,ce):Math.max(_e,ce);var Ue=Te||Ee?je-1:-1;for(var ze=0;ze=getMinArgumentCount(N)&&ze0||typeHasCallOrConstructSignatures(ae));var we=!!(E.getObjectFlags(ae)&2048);if(Ee&&!hasCommonProperties(ae,ce,we)){if($){var Ie=typeToString(N.aliasSymbol?N:ae);var Ne=typeToString(R.aliasSymbol?R:ce);var Me=getSignaturesOfType(ae,0);var Le=getSignaturesOfType(ae,1);if(Me.length>0&&isRelatedTo(getReturnTypeOfSignature(Me[0]),ce,1,false)||Le.length>0&&isRelatedTo(getReturnTypeOfSignature(Le[0]),ce,1,false)){reportError(E.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ie,Ne)}else{reportError(E.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ie,Ne)}}return 0}traceUnionsOrIntersectionsTooLarge(ae,ce);var Be=ae.flags&1048576&&ae.types.length<4&&!(ce.flags&1048576)||ce.flags&1048576&&ce.types.length<4&&!(ae.flags&469499904);var je=Be?unionOrIntersectionRelatedTo(ae,ce,$,ie):recursiveTypeRelatedTo(ae,ce,$,ie,j);if(je&&!We&&(ce.flags&2097152&&(Te||Ee)||isNonGenericObjectType(ce)&&!isArrayType(ce)&&!isTupleType(ce)&&ae.flags&2097152&&getApparentType(ae).flags&3670016&&!E.some(ae.types,(function(N){return!!(E.getObjectFlags(N)&524288)})))){We=true;je&=recursiveTypeRelatedTo(ae,ce,$,4,j);We=false}if(je){return je}}if($){reportErrorResults(N,R,ae,ce,G)}return 0}function reportErrorResults(N,R,j,$,q){var ie=!!getSingleBaseForNonAugmentingSubtype(N);var ae=!!getSingleBaseForNonAugmentingSubtype(R);j=N.aliasSymbol||ie?N:j;$=R.aliasSymbol||ae?R:$;var ce=je>0;if(ce){je--}if(j.flags&524288&&$.flags&524288){var _e=le;tryElaborateArrayLikeErrors(j,$,true);if(le!==_e){ce=!!le}}if(j.flags&524288&&$.flags&131068){tryElaborateErrorsForPrimitivesAndObjects(j,$)}else if(j.symbol&&j.flags&524288&&sn===j){reportError(E.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead)}else if(E.getObjectFlags(j)&2048&&$.flags&2097152){var Te=$.types;var Ee=getJsxType(Xe.IntrinsicAttributes,G);var we=getJsxType(Xe.IntrinsicClassAttributes,G);if(!isErrorType(Ee)&&!isErrorType(we)&&(E.contains(Te,Ee)||E.contains(Te,we))){return}}else{le=elaborateNeverIntersection(le,R)}if(!q&&ce){Ue=[j,$];return}reportRelationError(q,j,$)}function traceUnionsOrIntersectionsTooLarge(N,R){if(!E.tracing){return}if(N.flags&3145728&&R.flags&3145728){var j=N;var $=R;if(j.objectFlags&$.objectFlags&65536){return}var q=j.types.length;var ie=$.types.length;if(q*ie>1e6){E.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:N.id,sourceSize:q,targetId:R.id,targetSize:ie,pos:G===null||G===void 0?void 0:G.pos,end:G===null||G===void 0?void 0:G.end})}}}function getTypeOfPropertyInTypes(N,R){var appendPropType=function(N,j){var $;j=getApparentType(j);var q=j.flags&3145728?getPropertyOfUnionOrIntersectionType(j,R):getPropertyOfObjectType(j,R);var G=q&&getTypeOfSymbol(q)||(($=getApplicableIndexInfoForName(j,R))===null||$===void 0?void 0:$.type)||Zt;return E.append(N,G)};return getUnionType(E.reduceLeft(N,appendPropType,undefined)||E.emptyArray)}function hasExcessProperties(N,R,j){var $;if(!isExcessPropertyCheckTarget(R)||!ct&&E.getObjectFlags(R)&8192){return false}var ie=!!(E.getObjectFlags(N)&2048);if((q===Li||q===Bi)&&(isTypeSubsetOf(sn,R)||!ie&&isEmptyObjectType(R))){return false}var ae=R;var ce;if(R.flags&1048576){ae=findMatchingDiscriminantType(N,R,isRelatedTo)||filterPrimitivesIfContainsNonPrimitive(R);ce=ae.flags&1048576?ae.types:[ae]}var _loop_18=function(R){if(shouldCheckAsExcessProperty(R,N.symbol)&&!isIgnoredJsxProperty(N,R)){if(!isKnownProperty(ae,R.escapedName,ie)){if(j){var q=filterType(ae,isExcessPropertyCheckTarget);if(!G)return{value:E.Debug.fail()};if(E.isJsxAttributes(G)||E.isJsxOpeningLikeElement(G)||E.isJsxOpeningLikeElement(G.parent)){if(R.valueDeclaration&&E.isJsxAttribute(R.valueDeclaration)&&E.getSourceFileOfNode(G)===E.getSourceFileOfNode(R.valueDeclaration.name)){G=R.valueDeclaration.name}var le=symbolToString(R);var _e=getSuggestedSymbolForNonexistentJSXAttribute(le,q);var Te=_e?symbolToString(_e):undefined;if(Te){reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,le,typeToString(q),Te)}else{reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1,le,typeToString(q))}}else{var Ee=(($=N.symbol)===null||$===void 0?void 0:$.declarations)&&E.firstOrUndefined(N.symbol.declarations);var Te=void 0;if(R.valueDeclaration&&E.findAncestor(R.valueDeclaration,(function(E){return E===Ee}))&&E.getSourceFileOfNode(Ee)===E.getSourceFileOfNode(G)){var we=R.valueDeclaration;E.Debug.assertNode(we,E.isObjectLiteralElementLike);G=we;var Ie=we.name;if(E.isIdentifier(Ie)){Te=getSuggestionForNonexistentProperty(Ie,q)}}if(Te!==undefined){reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,symbolToString(R),typeToString(q),Te)}else{reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,symbolToString(R),typeToString(q))}}}return{value:true}}if(ce&&!isRelatedTo(getTypeOfSymbol(R),getTypeOfPropertyInTypes(ce,R.escapedName),3,j)){if(j){reportIncompatibleError(E.Diagnostics.Types_of_property_0_are_incompatible,symbolToString(R))}return{value:true}}}};for(var le=0,_e=getPropertiesOfType(N);le<_e.length;le++){var Te=_e[le];var Ee=_loop_18(Te);if(typeof Ee==="object")return Ee.value}return false}function shouldCheckAsExcessProperty(E,N){return E.valueDeclaration&&N.valueDeclaration&&E.valueDeclaration.parent===N.valueDeclaration}function unionOrIntersectionRelatedTo(N,R,j,$){if(N.flags&1048576){return q===Bi?someTypeRelatedToType(N,R,j&&!(N.flags&131068),$):eachTypeRelatedToType(N,R,j&&!(N.flags&131068),$)}if(R.flags&1048576){return typeRelatedToSomeType(getRegularTypeOfObjectLiteral(N),R,j&&!(N.flags&131068)&&!(R.flags&131068))}if(R.flags&2097152){return typeRelatedToEachType(getRegularTypeOfObjectLiteral(N),R,j,2)}if(q===Bi&&R.flags&131068){var G=E.sameMap(N.types,getBaseConstraintOrType);if(G!==N.types){N=getIntersectionType(G);if(!(N.flags&2097152)){return isRelatedTo(N,R,1,false)}}}return someTypeRelatedToType(N,R,false,1)}function eachTypeRelatedToSomeType(E,N){var R=-1;var j=E.types;for(var $=0,q=j;$=G.types.length&&q.length%G.types.length===0){var ce=isRelatedTo(ae,G.types[ie%G.types.length],3,false,undefined,j);if(ce){$&=ce;continue}}var le=isRelatedTo(ae,N,1,R,undefined,j);if(!le){return 0}$&=le}return $}function typeArgumentsRelatedTo(N,R,j,$,G){if(N===void 0){N=E.emptyArray}if(R===void 0){R=E.emptyArray}if(j===void 0){j=E.emptyArray}if(N.length!==R.length&&q===ji){return 0}var ie=N.length<=R.length?N.length:R.length;var ae=-1;for(var ce=0;ce25){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:N.id,targetId:R.id,numCombinations:G});return 0}}var le=new Array($.length);var _e=new E.Set;for(var Te=0;Te<$.length;Te++){var ce=$[Te];var Ee=getNonMissingTypeOfSymbol(ce);le[Te]=Ee.flags&1048576?Ee.types:[Ee];_e.add(ce.escapedName)}var we=E.cartesianProduct(le);var Ie=[];var _loop_19=function(j){var G=false;e:for(var ie=0,ae=R.types;ie5){reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,typeToString(N),typeToString($),E.map(we.slice(0,4),(function(E){return symbolToString(E)})).join(", "),we.length-4)}else{reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,typeToString(N),typeToString($),E.map(we,(function(E){return symbolToString(E)})).join(", "))}if(ae&&le){je++}}}function propertiesRelatedTo(N,R,j,$,G){if(q===ji){return propertiesIdenticalTo(N,R,$)}var ie=-1;if(isTupleType(R)){if(isArrayType(N)||isTupleType(N)){if(!R.target.readonly&&(isReadonlyArrayType(N)||isTupleType(N)&&N.target.readonly)){return 0}var ae=getTypeReferenceArity(N);var ce=getTypeReferenceArity(R);var le=isTupleType(N)?N.target.combinedFlags&4:4;var _e=R.target.combinedFlags&4;var Te=isTupleType(N)?N.target.minLength:0;var Ee=R.target.minLength;if(!le&&ae=ce-Me)?N.target.elementFlags[je]:4;var ze=R.target.elementFlags[Be];if(ze&8&&!(Ue&8)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Be)}return 0}if(Ue&8&&!(ze&12)){if(j){reportError(E.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,je,Be)}return 0}if(ze&1&&!(Ue&1)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Be)}return 0}if(Le){if(Ue&12||ze&12){Le=false}if(Le&&($===null||$===void 0?void 0:$.has(""+Be))){continue}}var We=!isTupleType(N)?we[0]:Be=ce-Me?removeMissingType(we[je],!!(Ue&ze&2)):getElementTypeOfSliceOfTupleType(N,Ne,Me)||hr;var Je=Ie[Be];var Ve=Ue&8&&ze&4?createArrayType(Je):removeMissingType(Je,!!(ze&2));var qe=isRelatedTo(We,Ve,3,j,undefined,G);if(!qe){if(j&&(ce>1||ae>1)){if(Be=ce-Me||ae-Ne-Me===1){reportIncompatibleError(E.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,je,Be)}else{reportIncompatibleError(E.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Ne,ae-Me-1,Be)}}return 0}ie&=qe}return ie}if(R.target.combinedFlags&12){return 0}}var He=(q===Mi||q===Ri)&&!isObjectLiteralType(N)&&!isEmptyArrayLiteralType(N)&&!isTupleType(N);var Ge=getUnmatchedProperty(N,R,He,false);if(Ge){if(j){reportUnmatchedProperty(N,R,Ge,He)}return 0}if(isObjectLiteralType(R)){for(var Ke=0,Qe=excludeProperties(getPropertiesOfType(N),$);Ke0&&E.every(R.properties,(function(E){return!!(E.flags&16777216)}))}if(N.flags&2097152){return E.every(N.types,isWeakType)}return false}function hasCommonProperties(E,N,R){for(var j=0,$=getPropertiesOfType(E);j<$.length;j++){var q=$[j];if(isKnownProperty(N,q.escapedName,R)){return true}}return false}function getMarkerTypeReference(N,R,j){var $=createTypeReference(N,E.map(N.typeParameters,(function(E){return E===R?j:E})));$.objectFlags|=4096;return $}function getAliasVariances(E){var N=getSymbolLinks(E);return getVariancesWorker(N.typeParameters,N,(function(R,j,$){var q=getTypeAliasInstantiation(E,instantiateTypes(N.typeParameters,makeUnaryTypeMapper(j,$)));q.aliasTypeArgumentsContainsMarker=true;return q}))}function getVariancesWorker(N,R,j){var $,q,G;if(N===void 0){N=E.emptyArray}var ie=R.variances;if(!ie){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("checkTypes","getVariancesWorker",{arity:N.length,id:(G=($=R.id)!==null&&$!==void 0?$:(q=R.declaredType)===null||q===void 0?void 0:q.id)!==null&&G!==void 0?G:-1});R.variances=E.emptyArray;ie=[];var _loop_21=function(E){var N=false;var $=false;var q=Oi;Oi=function(E){return E?$=true:N=true};var G=j(R,E,Br);var ae=j(R,E,jr);var ce=(isTypeAssignableTo(ae,G)?1:0)|(isTypeAssignableTo(G,ae)?2:0);if(ce===3&&isTypeAssignableTo(j(R,E,Ur),G)){ce=4}Oi=q;if(N||$){if(N){ce|=8}if($){ce|=16}}ie.push(ce)};for(var ae=0,ce=N;ae";continue}R+="-"+ae.id}return R}}function getRelationKey(E,N,R,j,$){if(j===ji&&E.id>N.id){var q=E;E=N;N=q}var G=R?":"+R:"";return isTypeReferenceWithGenericArguments(E)&&isTypeReferenceWithGenericArguments(N)?getGenericTypeReferenceRelationKey(E,N,G,$):"".concat(E.id,",").concat(N.id).concat(G)}function forEachProperty(N,R){if(E.getCheckFlags(N)&6){for(var j=0,$=N.containingType.types;j<$.length;j++){var q=$[j];var G=getPropertyOfType(q,N.escapedName);var ie=G&&forEachProperty(G,R);if(ie){return ie}}return undefined}return R(N)}function getDeclaringClass(E){return E.parent&&E.parent.flags&32?getDeclaredTypeOfSymbol(getParentOfSymbol(E)):undefined}function getTypeOfPropertyInBaseClass(E){var N=getDeclaringClass(E);var R=N&&getBaseTypes(N)[0];return R&&getTypeOfPropertyOfType(R,E.escapedName)}function isPropertyInClassDerivedFrom(E,N){return forEachProperty(E,(function(E){var R=getDeclaringClass(E);return R?hasBaseType(R,N):false}))}function isValidOverrideOf(N,R){return!forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R)&16?!isPropertyInClassDerivedFrom(N,getDeclaringClass(R)):false}))}function isClassDerivedFromDeclaringClasses(N,R,j){return forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R,j)&16?!hasBaseType(N,getDeclaringClass(R)):false}))?undefined:N}function isDeeplyNestedType(E,N,R,j){if(j===void 0){j=3}if(R>=j){var $=getRecursionIdentity(E);var q=0;var G=0;for(var ie=0;ie=G){q++;if(q>=j){return true}}G=ae.id}}}return false}function getRecursionIdentity(N){if(N.flags&524288&&!isObjectOrArrayLiteralType(N)){if(E.getObjectFlags(N)&&4&&N.node){return N.node}if(N.symbol&&!(E.getObjectFlags(N)&16&&N.symbol.flags&32)){return N.symbol}if(isTupleType(N)){return N.target}}if(N.flags&262144){return N.symbol}if(N.flags&8388608){do{N=N.objectType}while(N.flags&8388608);return N}if(N.flags&16777216){return N.root}return N}function isPropertyIdenticalTo(E,N){return compareProperties(E,N,compareTypesIdentical)!==0}function compareProperties(N,R,j){if(N===R){return-1}var $=E.getDeclarationModifierFlagsFromSymbol(N)&24;var q=E.getDeclarationModifierFlagsFromSymbol(R)&24;if($!==q){return 0}if($){if(getTargetSymbol(N)!==getTargetSymbol(R)){return 0}}else{if((N.flags&16777216)!==(R.flags&16777216)){return 0}}if(isReadonlySymbol(N)!==isReadonlySymbol(R)){return 0}return j(getTypeOfSymbol(N),getTypeOfSymbol(R))}function isMatchingSignature(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getMinArgumentCount(E);var G=getMinArgumentCount(N);var ie=hasEffectiveRestParameter(E);var ae=hasEffectiveRestParameter(N);if(j===$&&q===G&&ie===ae){return true}if(R&&q<=G){return true}return false}function compareSignaturesIdentical(N,R,j,$,q,G){if(N===R){return-1}if(!isMatchingSignature(N,R,j)){return 0}if(E.length(N.typeParameters)!==E.length(R.typeParameters)){return 0}if(R.typeParameters){var ie=createTypeMapper(N.typeParameters,R.typeParameters);for(var ae=0;aeE.length(R.typeParameters)){q=getTypeWithThisArgument(q,E.last(getTypeArguments(N)))}N.objectFlags|=67108864;return N.cachedEquivalentBaseType=q}function isEmptyLiteralType(E){return nt?E===vr:E===er}function isEmptyArrayLiteralType(E){var N=getElementTypeOfArrayType(E);return!!N&&isEmptyLiteralType(N)}function isTupleLikeType(E){return isTupleType(E)||!!getPropertyOfType(E,"0")}function isArrayOrTupleLikeType(E){return isArrayLikeType(E)||isTupleLikeType(E)}function getTupleElementType(E,N){var R=getTypeOfPropertyOfType(E,""+N);if(R){return R}if(everyType(E,isTupleType)){return mapType(E,(function(E){return getRestTypeOfTupleType(E)||Zt}))}return undefined}function isNeitherUnitTypeNorNever(E){return!(E.flags&(109440|131072))}function isUnitType(E){return!!(E.flags&109440)}function isUnitLikeType(N){return N.flags&2097152?E.some(N.types,isUnitType):!!(N.flags&109440)}function extractUnitType(N){return N.flags&2097152?E.find(N.types,isUnitType)||N:N}function isLiteralType(N){return N.flags&16?true:N.flags&1048576?N.flags&1024?true:E.every(N.types,isUnitType):isUnitType(N)}function getBaseTypeOfLiteralType(E){return E.flags&1024?getBaseTypeOfEnumLiteralType(E):E.flags&(128|134217728|268435456)?ar:E.flags&256?sr:E.flags&2048?cr:E.flags&512?fr:E.flags&1048576?mapType(E,getBaseTypeOfLiteralType):E}function getWidenedLiteralType(E){return E.flags&1024&&isFreshLiteralType(E)?getBaseTypeOfEnumLiteralType(E):E.flags&128&&isFreshLiteralType(E)?ar:E.flags&256&&isFreshLiteralType(E)?sr:E.flags&2048&&isFreshLiteralType(E)?cr:E.flags&512&&isFreshLiteralType(E)?fr:E.flags&1048576?mapType(E,getWidenedLiteralType):E}function getWidenedUniqueESSymbolType(E){return E.flags&8192?mr:E.flags&1048576?mapType(E,getWidenedUniqueESSymbolType):E}function getWidenedLiteralLikeTypeForContextualType(E,N){if(!isLiteralOfContextualType(E,N)){E=getWidenedUniqueESSymbolType(getWidenedLiteralType(E))}return E}function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(E,N,R){if(E&&isUnitType(E)){var j=!N?undefined:R?getPromisedTypeOfPromise(N):N;E=getWidenedLiteralLikeTypeForContextualType(E,j)}return E}function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(E,N,R,j){if(E&&isUnitType(E)){var $=!N?undefined:getIterationTypeOfGeneratorFunctionReturnType(R,N,j);E=getWidenedLiteralLikeTypeForContextualType(E,$)}return E}function isTupleType(N){return!!(E.getObjectFlags(N)&4&&N.target.objectFlags&8)}function isGenericTupleType(E){return isTupleType(E)&&!!(E.target.combinedFlags&8)}function isSingleElementGenericTupleType(E){return isGenericTupleType(E)&&E.target.elementFlags.length===1}function getRestTypeOfTupleType(E){return getElementTypeOfSliceOfTupleType(E,E.target.fixedLength)}function getRestArrayTypeOfTupleType(E){var N=getRestTypeOfTupleType(E);return N&&createArrayType(N)}function getElementTypeOfSliceOfTupleType(E,N,R,j){if(R===void 0){R=0}if(j===void 0){j=false}var $=getTypeReferenceArity(E)-R;if(N<$){var q=getTypeArguments(E);var G=[];for(var ie=N;ie<$;ie++){var ae=q[ie];G.push(E.target.elementFlags[ie]&8?getIndexedAccessType(ae,sr):ae)}return j?getIntersectionType(G):getUnionType(G)}return undefined}function isTupleTypeStructureMatching(N,R){return getTypeReferenceArity(N)===getTypeReferenceArity(R)&&E.every(N.target.elementFlags,(function(E,N){return(E&12)===(R.target.elementFlags[N]&12)}))}function isZeroBigInt(E){var N=E.value;return N.base10Value==="0"}function getFalsyFlagsOfTypes(E){var N=0;for(var R=0,j=E;R-1&&(resolveName(G,G.name.escapedText,788968,undefined,G.name.escapedText,true)||G.name.originalKeywordKind&&E.isTypeNodeKind(G.name.originalKeywordKind))){var ie="arg"+G.parent.parameters.indexOf(G);var ae=E.declarationNameToString(G.name)+(G.dotDotDotToken?"[]":"");errorOrSuggestion(ct,N,E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,ie,ae);return}q=N.dotDotDotToken?ct?E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:ct?E.Diagnostics.Parameter_0_implicitly_has_an_1_type:E.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 202:q=E.Diagnostics.Binding_element_0_implicitly_has_an_1_type;if(!ct){return}break;case 315:error(N,E.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$);return;case 255:case 168:case 167:case 171:case 172:case 212:case 213:if(ct&&!N.name){if(j===3){error(N,E.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,$)}else{error(N,E.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$)}return}q=!ct?E.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:j===3?E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;break;case 194:if(ct){error(N,E.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type)}return;default:q=ct?E.Diagnostics.Variable_0_implicitly_has_an_1_type:E.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}errorOrSuggestion(ct,N,q,E.declarationNameToString(E.getNameOfDeclaration(N)),$)}function reportErrorsFromWidening(N,R,j){if(ie&&ct&&E.getObjectFlags(R)&131072&&(!j||!getContextualSignatureForFunctionLikeDeclaration(N))){if(!reportWideningErrorsInType(R)){reportImplicitAny(N,R,j)}}}function applyToParameterTypes(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getEffectiveRestType(E);var G=getEffectiveRestType(N);var ie=G?$-1:$;var ae=q?ie:Math.min(j,ie);var ce=getThisTypeOfSignature(E);if(ce){var le=getThisTypeOfSignature(N);if(le){R(ce,le)}}for(var _e=0;_eE.target.minLength||!N.target.hasRestElement&&(E.target.hasRestElement||N.target.fixedLength0){var Me=Ee;var Le=we;while(true){Le=getSourceText(Me).indexOf(Ne,Le);if(Le>=0)break;Me++;if(Me===E.length)return undefined;Le=0}addMatch(Me,Le);we+=Ne.length}else if(we0){for(var je=0,Ue=R;je1){var R=E.filter(N,isObjectOrArrayLiteralType);if(R.length){var j=getUnionType(R,2);return E.concatenate(E.filter(N,(function(E){return!isObjectOrArrayLiteralType(E)})),[j])}}return N}function getContravariantInference(E){return E.priority&416?getIntersectionType(E.contraCandidates):getCommonSubtype(E.contraCandidates)}function getCovariantInference(N,R){var j=unionObjectAndArrayLiteralCandidates(N.candidates);var $=hasPrimitiveConstraint(N.typeParameter);var q=!$&&N.topLevel&&(N.isFixed||!isTypeParameterAtTopLevel(getReturnTypeOfSignature(R),N.typeParameter));var G=$?E.sameMap(j,getRegularTypeOfLiteralType):q?E.sameMap(j,getWidenedLiteralType):j;var ie=N.priority&416?getUnionType(G,2):getCommonSupertype(G);return getWidenedType(ie)}function getInferredType(N,R){var j=N.inferences[R];if(!j.inferredType){var $=void 0;var q=N.signature;if(q){var G=j.candidates?getCovariantInference(j,q):undefined;if(j.contraCandidates){$=G&&!(G.flags&131072)&&E.some(j.contraCandidates,(function(E){return isTypeSubtypeOf(G,E)}))?G:getContravariantInference(j)}else if(G){$=G}else if(N.flags&1){$=_r}else{var ie=getDefaultFromTypeParameter(j.typeParameter);if(ie){$=instantiateType(ie,mergeTypeMappers(createBackreferenceMapper(N,R),N.nonFixingMapper))}}}else{$=getTypeFromInference(j)}j.inferredType=$||getDefaultTypeArgumentType(!!(N.flags&2));var ae=getConstraintOfTypeParameter(j.typeParameter);if(ae){var ce=instantiateType(ae,N.nonFixingMapper);if(!$||!N.compareTypes($,getTypeWithThisArgument(ce,$))){j.inferredType=$=ce}}}return j.inferredType}function getDefaultTypeArgumentType(E){return E?$t:Xt}function getInferredTypes(E){var N=[];for(var R=0;R=10&&$*2>=N.length?j:undefined}function getKeyPropertyName(N){var R=N.types;if(R.length<10||E.getObjectFlags(N)&65536||E.countWhere(R,(function(E){return!!(E.flags&(524288|58982400))}))<10){return undefined}if(N.keyPropertyName===undefined){var j=E.forEach(R,(function(N){return N.flags&(524288|58982400)?E.forEach(getPropertiesOfType(N),(function(E){return isUnitType(getTypeOfSymbol(E))?E.escapedName:undefined})):undefined}));var $=j&&mapTypesByKeyProperty(R,j);N.keyPropertyName=$?j:"";N.constituentMap=$}return N.keyPropertyName.length?N.keyPropertyName:undefined}function getConstituentTypeForKeyType(E,N){var R;var j=(R=E.constituentMap)===null||R===void 0?void 0:R.get(getTypeId(getRegularTypeOfLiteralType(N)));return j!==Xt?j:undefined}function getMatchingUnionConstituentForType(E,N){var R=getKeyPropertyName(E);var j=R&&getTypeOfPropertyOfType(N,R);return j&&getConstituentTypeForKeyType(E,j)}function getMatchingUnionConstituentForObjectLiteral(N,R){var j=getKeyPropertyName(N);var $=j&&E.find(R.properties,(function(E){return E.symbol&&E.kind===294&&E.symbol.escapedName===j&&isPossiblyDiscriminantValue(E.initializer)}));var q=$&&getContextFreeTypeOfExpression($.initializer);return q&&getConstituentTypeForKeyType(N,q)}function isOrContainsMatchingReference(E,N){return isMatchingReference(E,N)||containsMatchingReference(E,N)}function hasMatchingArgument(E,N){if(E.arguments){for(var R=0,j=E.arguments;R=0&&R.parameterIndex=j&&G<$;var ae;var ce;if(G>-1){var le=q.filter((function(E){return E!==undefined}));var _e=G=2){var $=j.parent.parent;if($.kind===253&&E.getCombinedNodeFlags(j)&2||$.kind===163){var q=getNodeLinks(R);if(!(q.flags&268435456)){q.flags|=268435456;var G=getTypeForBindingElementParent($,0);q.flags&=~268435456;if(G&&G.flags&1048576&&!($.kind===163&&isSymbolAssigned(N))){var ie=j.parent;var ae=getFlowTypeOfReference(ie,G,G,undefined,R.flowNode);if(ae.flags&131072){return hr}return getBindingElementTypeFromParentType(j,ae)}}}}if(E.isParameter(j)&&!j.type&&!j.initializer&&!j.dotDotDotToken){var ce=j.parent;if(ce.parameters.length>=2&&isContextSensitiveFunctionOrObjectLiteralMethod(ce)){var le=getContextualSignature(ce);if(le&&le.parameters.length===1&&signatureHasRestParameter(le)){var _e=getTypeOfSymbol(le.parameters[0]);if(_e.flags&1048576&&everyType(_e,isTupleType)&&!isSymbolAssigned(N)){var ae=getFlowTypeOfReference(ce,_e,_e,undefined,R.flowNode);var Te=ce.parameters.indexOf(j)-(E.getThisParameter(ce)?1:0);return getIndexedAccessType(ae,getNumberLiteralType(Te))}}}}}return getTypeOfSymbol(N)}function checkIdentifier(N,R){if(E.isThisInTypeQuery(N)){return checkThisExpression(N)}var j=getResolvedSymbol(N);if(j===Ut){return Ht}if(j===St){if(isInPropertyInitializerOrClassStaticBlock(N)){error(N,E.Diagnostics.arguments_cannot_be_referenced_in_property_initializers);return Ht}var $=E.getContainingFunction(N);if(Ze<2){if($.kind===213){error(N,E.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression)}else if(E.hasSyntacticModifier($,256)){error(N,E.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)}}getNodeLinks($).flags|=8192;return getTypeOfSymbol(j)}if(!(N.parent&&E.isPropertyAccessExpression(N.parent)&&N.parent.expression===N)){markAliasReferenced(j,N)}var q=getExportSymbolOfValueSymbolIfExported(j);var G=checkDeprecatedAliasedSymbol(q,N);if(isDeprecatedSymbol(G)&&isUncalledFunctionReference(N,G)&&G.declarations){addDeprecatedSuggestion(N,G.declarations,N.escapedText)}var ie=q.valueDeclaration;if(ie&&q.flags&32){if(ie.kind===256&&E.nodeIsDecorated(ie)){var $=E.getContainingClass(N);while($!==undefined){if($===ie&&$.name!==N){getNodeLinks(ie).flags|=16777216;getNodeLinks(N).flags|=33554432;break}$=E.getContainingClass($)}}else if(ie.kind===225){var $=E.getThisContainer(N,false);while($.kind!==303){if($.parent===ie){if(E.isPropertyDeclaration($)&&E.isStatic($)||E.isClassStaticBlockDeclaration($)){getNodeLinks(ie).flags|=16777216;getNodeLinks(N).flags|=33554432}break}$=E.getThisContainer($,false)}}}checkNestedBlockScopedBinding(N,j);var ae=getNarrowedTypeOfSymbol(q,N);var ce=E.getAssignmentTargetKind(N);if(ce){if(!(q.flags&3)&&!(E.isInJSFile(N)&&q.flags&512)){var le=q.flags&384?E.Diagnostics.Cannot_assign_to_0_because_it_is_an_enum:q.flags&32?E.Diagnostics.Cannot_assign_to_0_because_it_is_a_class:q.flags&1536?E.Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace:q.flags&16?E.Diagnostics.Cannot_assign_to_0_because_it_is_a_function:q.flags&2097152?E.Diagnostics.Cannot_assign_to_0_because_it_is_an_import:E.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable;error(N,le,symbolToString(j));return Ht}if(isReadonlySymbol(q)){if(q.flags&3){error(N,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,symbolToString(j))}else{error(N,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,symbolToString(j))}return Ht}}var _e=q.flags&2097152;if(q.flags&3){if(ce===1){return ae}}else if(_e){ie=getDeclarationOfAliasSymbol(j)}else{return ae}if(!ie){return ae}ae=getNarrowableTypeForReference(ae,N,R);var Te=E.getRootDeclaration(ie).kind===163;var Ee=getControlFlowContainer(ie);var we=getControlFlowContainer(N);var Ie=we!==Ee;var Ne=N.parent&&N.parent.parent&&E.isSpreadAssignment(N.parent)&&isDestructuringAssignmentTarget(N.parent.parent);var Me=j.flags&134217728;while(we!==Ee&&(we.kind===212||we.kind===213||E.isObjectLiteralOrClassExpressionMethodOrAccessor(we))&&(isConstVariable(q)&&ae!==bn||Te&&!isSymbolAssigned(q))){we=getControlFlowContainer(we)}var Le=Te||_e||Ie||Ne||Me||E.isBindingElement(ie)||ae!==Vt&&ae!==bn&&(!nt||(ae.flags&(3|16384))!==0||isInTypeQuery(N)||N.parent.kind===274)||N.parent.kind===229||ie.kind===253&&ie.exclamationToken||ie.flags&8388608;var Be=Le?Te?removeOptionalityFromDeclaredType(ae,ie):ae:ae===Vt||ae===bn?Zt:getOptionalType(ae);var je=getFlowTypeOfReference(N,ae,Be,we);if(!isEvolvingArrayOperationTarget(N)&&(ae===Vt||ae===bn)){if(je===Vt||je===bn){if(ct){error(E.getNameOfDeclaration(ie),E.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,symbolToString(j),typeToString(je));error(N,E.Diagnostics.Variable_0_implicitly_has_an_1_type,symbolToString(j),typeToString(je))}return convertAutoToAny(je)}}else if(!Le&&!(getFalsyFlags(ae)&32768)&&getFalsyFlags(je)&32768){error(N,E.Diagnostics.Variable_0_is_used_before_being_assigned,symbolToString(j));return ae}return ce?getBaseTypeOfLiteralType(je):je}function isInsideFunctionOrInstancePropertyInitializer(N,R){return!!E.findAncestor(N,(function(N){return N===R?"quit":E.isFunctionLike(N)||N.parent&&E.isPropertyDeclaration(N.parent)&&!E.hasStaticModifier(N.parent)&&N.parent.initializer===N}))}function getPartOfForStatementContainingNode(N,R){return E.findAncestor(N,(function(E){return E===R?"quit":E===R.initializer||E===R.condition||E===R.incrementor||E===R.statement}))}function getEnclosingIterationStatement(N){return E.findAncestor(N,(function(N){return!N||E.nodeStartsNewLexicalEnvironment(N)?"quit":E.isIterationStatement(N,false)}))}function checkNestedBlockScopedBinding(N,R){if(Ze>=2||(R.flags&(2|32))===0||!R.valueDeclaration||E.isSourceFile(R.valueDeclaration)||R.valueDeclaration.parent.kind===291){return}var j=E.getEnclosingBlockScopeContainer(R.valueDeclaration);var $=isInsideFunctionOrInstancePropertyInitializer(N,j);var q=getEnclosingIterationStatement(j);if(q){if($){var G=true;if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,254);if(ie&&ie.parent===j){var ae=getPartOfForStatementContainingNode(N.parent,j);if(ae){var ce=getNodeLinks(ae);ce.flags|=131072;var le=ce.capturedBlockScopeBindings||(ce.capturedBlockScopeBindings=[]);E.pushIfUnique(le,R);if(ae===j.initializer){G=false}}}}if(G){getNodeLinks(q).flags|=65536}}if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,254);if(ie&&ie.parent===j&&isAssignedInBodyOfForStatement(N,j)){getNodeLinks(R.valueDeclaration).flags|=4194304}}getNodeLinks(R.valueDeclaration).flags|=524288}if($){getNodeLinks(R.valueDeclaration).flags|=262144}}function isBindingCapturedByNode(N,R){var j=getNodeLinks(N);return!!j&&E.contains(j.capturedBlockScopeBindings,getSymbolOfNode(R))}function isAssignedInBodyOfForStatement(N,R){var j=N;while(j.parent.kind===211){j=j.parent}var $=false;if(E.isAssignmentTarget(j)){$=true}else if(j.parent.kind===218||j.parent.kind===219){var q=j.parent;$=q.operator===45||q.operator===46}if(!$){return false}return!!E.findAncestor(j,(function(E){return E===R?"quit":E===R.statement}))}function captureLexicalThis(E,N){getNodeLinks(E).flags|=2;if(N.kind===166||N.kind===170){var R=N.parent;getNodeLinks(R).flags|=4}else{getNodeLinks(N).flags|=4}}function findFirstSuperCall(N){return E.isSuperCall(N)?N:E.isFunctionLike(N)?undefined:E.forEachChild(N,findFirstSuperCall)}function classDeclarationExtendsNull(E){var N=getSymbolOfNode(E);var R=getDeclaredTypeOfSymbol(N);var j=getBaseConstructorTypeOfClass(R);return j===ir}function checkThisBeforeSuper(N,R,j){var $=R.parent;var q=E.getClassExtendsHeritageElement($);if(q&&!classDeclarationExtendsNull($)){if(N.flowNode&&!isPostSuperFlowNode(N.flowNode,false)){error(N,j)}}}function checkThisInStaticClassFieldInitializerInDecoratedClass(N,R){if(E.isPropertyDeclaration(R)&&E.hasStaticModifier(R)&&R.initializer&&E.textRangeContainsPositionInclusive(R.initializer,N.pos)&&E.length(R.parent.decorators)){error(N,E.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}}function checkThisExpression(N){var R=isInTypeQuery(N);var j=E.getThisContainer(N,true);var $=false;if(j.kind===170){checkThisBeforeSuper(N,j,E.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class)}if(j.kind===213){j=E.getThisContainer(j,false);$=true}checkThisInStaticClassFieldInitializerInDecoratedClass(N,j);switch(j.kind){case 260:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 259:error(N,E.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 170:if(isInConstructorArgumentInitializer(N,j)){error(N,E.Diagnostics.this_cannot_be_referenced_in_constructor_arguments)}break;case 161:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}if(!R&&$&&Ze<2){captureLexicalThis(N,j)}var q=tryGetThisTypeAt(N,true,j);if(ut){var G=getTypeOfSymbol(xt);if(q===G&&$){error(N,E.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this)}else if(!q){var ie=error(N,E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!E.isSourceFile(j)){var ae=tryGetThisTypeAt(j);if(ae&&ae!==G){E.addRelatedInfo(ie,E.createDiagnosticForNode(j,E.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}}return q||$t}function tryGetThisTypeAt(N,R,j){if(R===void 0){R=true}if(j===void 0){j=E.getThisContainer(N,false)}var $=E.isInJSFile(N);if(E.isFunctionLike(j)&&(!isInParameterInitializerBeforeContainingFunction(N)||E.getThisParameter(j))){var q=getThisTypeOfDeclaration(j)||$&&getTypeForThisExpressionFromJSDoc(j);if(!q){var G=getClassNameFromPrototypeMethod(j);if($&&G){var ie=checkExpression(G).symbol;if(ie&&ie.members&&ie.flags&16){q=getDeclaredTypeOfSymbol(ie).thisType}}else if(isJSConstructor(j)){q=getDeclaredTypeOfSymbol(getMergedSymbol(j.symbol)).thisType}q||(q=getContextualThisParameterType(j))}if(q){return getFlowTypeOfReference(N,q)}}if(E.isClassLike(j.parent)){var ae=getSymbolOfNode(j.parent);var ce=E.isStatic(j)?getTypeOfSymbol(ae):getDeclaredTypeOfSymbol(ae).thisType;return getFlowTypeOfReference(N,ce)}if(E.isSourceFile(j)){if(j.commonJsModuleIndicator){var le=getSymbolOfNode(j);return le&&getTypeOfSymbol(le)}else if(j.externalModuleIndicator){return Zt}else if(R){return getTypeOfSymbol(xt)}}}function getExplicitThisType(N){var R=E.getThisContainer(N,false);if(E.isFunctionLike(R)){var j=getSignatureFromDeclaration(R);if(j.thisParameter){return getExplicitTypeOfSymbol(j.thisParameter)}}if(E.isClassLike(R.parent)){var $=getSymbolOfNode(R.parent);return E.isStatic(R)?getTypeOfSymbol($):getDeclaredTypeOfSymbol($).thisType}}function getClassNameFromPrototypeMethod(N){if(N.kind===212&&E.isBinaryExpression(N.parent)&&E.getAssignmentDeclarationKind(N.parent)===3){return N.parent.left.expression.expression}else if(N.kind===168&&N.parent.kind===204&&E.isBinaryExpression(N.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent)===6){return N.parent.parent.left.expression}else if(N.kind===212&&N.parent.kind===294&&N.parent.parent.kind===204&&E.isBinaryExpression(N.parent.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===6){return N.parent.parent.parent.left.expression}else if(N.kind===212&&E.isPropertyAssignment(N.parent)&&E.isIdentifier(N.parent.name)&&(N.parent.name.escapedText==="value"||N.parent.name.escapedText==="get"||N.parent.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent.parent)&&E.isCallExpression(N.parent.parent.parent)&&N.parent.parent.parent.arguments[2]===N.parent.parent&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===9){return N.parent.parent.parent.arguments[0].expression}else if(E.isMethodDeclaration(N)&&E.isIdentifier(N.name)&&(N.name.escapedText==="value"||N.name.escapedText==="get"||N.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent)&&E.isCallExpression(N.parent.parent)&&N.parent.parent.arguments[2]===N.parent&&E.getAssignmentDeclarationKind(N.parent.parent)===9){return N.parent.parent.arguments[0].expression}}function getTypeForThisExpressionFromJSDoc(N){var R=E.getJSDocType(N);if(R&&R.kind===315){var j=R;if(j.parameters.length>0&&j.parameters[0].name&&j.parameters[0].name.escapedText==="this"){return getTypeFromTypeNode(j.parameters[0].type)}}var $=E.getJSDocThisTag(N);if($&&$.typeExpression){return getTypeFromTypeNode($.typeExpression)}}function isInConstructorArgumentInitializer(N,R){return!!E.findAncestor(N,(function(N){return E.isFunctionLikeDeclaration(N)?"quit":N.kind===163&&N.parent===R}))}function checkSuperExpression(N){var R=N.parent.kind===207&&N.parent.expression===N;var j=E.getSuperContainer(N,true);var $=j;var q=false;if(!R){while($&&$.kind===213){$=E.getSuperContainer($,true);q=Ze<2}}var G=isLegalUsageOfSuperExpression($);var ie=0;if(!G){var ae=E.findAncestor(N,(function(E){return E===$?"quit":E.kind===161}));if(ae&&ae.kind===161){error(N,E.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name)}else if(R){error(N,E.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors)}else if(!$||!$.parent||!(E.isClassLike($.parent)||$.parent.kind===204)){error(N,E.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions)}else{error(N,E.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class)}return Ht}if(!R&&j.kind===170){checkThisBeforeSuper(N,$,E.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class)}if(E.isStatic($)||R){ie=512;if(!R&&Ze>=2&&Ze<=8&&(E.isPropertyDeclaration($)||E.isClassStaticBlockDeclaration($))){E.forEachEnclosingBlockScopeContainer(N.parent,(function(N){if(!E.isSourceFile(N)||E.isExternalOrCommonJsModule(N)){getNodeLinks(N).flags|=134217728}}))}}else{ie=256}getNodeLinks(N).flags|=ie;if($.kind===168&&E.hasSyntacticModifier($,256)){if(E.isSuperProperty(N.parent)&&E.isAssignmentTarget(N.parent)){getNodeLinks($).flags|=4096}else{getNodeLinks($).flags|=2048}}if(q){captureLexicalThis(N.parent,$)}if($.parent.kind===204){if(Ze<2){error(N,E.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);return Ht}else{return $t}}var ce=$.parent;if(!E.getClassExtendsHeritageElement(ce)){error(N,E.Diagnostics.super_can_only_be_referenced_in_a_derived_class);return Ht}var le=getDeclaredTypeOfSymbol(getSymbolOfNode(ce));var _e=le&&getBaseTypes(le)[0];if(!_e){return Ht}if($.kind===170&&isInConstructorArgumentInitializer(N,$)){error(N,E.Diagnostics.super_cannot_be_referenced_in_constructor_arguments);return Ht}return ie===512?getBaseConstructorTypeOfClass(le):getTypeWithThisArgument(_e,le.thisType);function isLegalUsageOfSuperExpression(N){if(!N){return false}if(R){return N.kind===170}else{if(E.isClassLike(N.parent)||N.parent.kind===204){if(E.isStatic(N)){return N.kind===168||N.kind===167||N.kind===171||N.kind===172||N.kind===166||N.kind===169}else{return N.kind===168||N.kind===167||N.kind===171||N.kind===172||N.kind===166||N.kind===165||N.kind===170}}}return false}}function getContainingObjectLiteral(E){return(E.kind===168||E.kind===171||E.kind===172)&&E.parent.kind===204?E.parent:E.kind===212&&E.parent.kind===294?E.parent.parent:undefined}function getThisTypeArgument(N){return E.getObjectFlags(N)&4&&N.target===yn?getTypeArguments(N)[0]:undefined}function getThisTypeFromContextualType(N){return mapType(N,(function(N){return N.flags&2097152?E.forEach(N.types,getThisTypeArgument):getThisTypeArgument(N)}))}function getContextualThisParameterType(N){if(N.kind===213){return undefined}if(isContextSensitiveFunctionOrObjectLiteralMethod(N)){var R=getContextualSignature(N);if(R){var j=R.thisParameter;if(j){return getTypeOfSymbol(j)}}}var $=E.isInJSFile(N);if(ut||$){var q=getContainingObjectLiteral(N);if(q){var G=getApparentTypeOfContextualType(q);var ie=q;var ae=G;while(ae){var ce=getThisTypeFromContextualType(ae);if(ce){return instantiateType(ce,getMapperFromContext(getInferenceContext(q)))}if(ie.parent.kind!==294){break}ie=ie.parent.parent;ae=getApparentTypeOfContextualType(ie)}return getWidenedType(G?getNonNullableType(G):checkExpressionCached(q))}var le=E.walkUpParenthesizedExpressions(N.parent);if(le.kind===220&&le.operatorToken.kind===63){var _e=le.left;if(E.isAccessExpression(_e)){var Te=_e.expression;if($&&E.isIdentifier(Te)){var Ee=E.getSourceFileOfNode(le);if(Ee.commonJsModuleIndicator&&getResolvedSymbol(Te)===Ee.symbol){return undefined}}return getWidenedType(checkExpressionCached(Te))}}}return undefined}function getContextuallyTypedParameterType(N){var R=N.parent;if(!isContextSensitiveFunctionOrObjectLiteralMethod(R)){return undefined}var j=E.getImmediatelyInvokedFunctionExpression(R);if(j&&j.arguments){var $=getEffectiveCallArguments(j);var q=R.parameters.indexOf(N);if(N.dotDotDotToken){return getSpreadArgumentType($,q,$.length,$t,undefined,0)}var G=getNodeLinks(j);var ie=G.resolvedSignature;G.resolvedSignature=Wr;var ae=q<$.length?getWidenedLiteralType(checkExpression($[q])):N.initializer?undefined:er;G.resolvedSignature=ie;return ae}var ce=getContextualSignature(R);if(ce){var le=R.parameters.indexOf(N)-(E.getThisParameter(R)?1:0);return N.dotDotDotToken&&E.lastOrUndefined(R.parameters)===N?getRestTypeAtPosition(ce,le):tryGetTypeAtPosition(ce,le)}}function getContextualTypeForVariableLikeDeclaration(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}switch(N.kind){case 163:return getContextuallyTypedParameterType(N);case 202:return getContextualTypeForBindingElement(N);case 166:if(E.isStatic(N)){return getContextualTypeForStaticPropertyDeclaration(N)}}}function getContextualTypeForBindingElement(N){var R=N.parent.parent;var j=N.propertyName||N.name;var $=getContextualTypeForVariableLikeDeclaration(R)||R.kind!==202&&R.initializer&&checkDeclarationInitializer(R,N.dotDotDotToken?32:0);if(!$||E.isBindingPattern(j)||E.isComputedNonLiteralName(j))return undefined;if(R.name.kind===201){var q=E.indexOfNode(N.parent.elements,N);if(q<0)return undefined;return getContextualTypeForElementExpression($,q)}var G=getLiteralTypeFromPropertyName(j);if(isTypeUsableAsPropertyName(G)){var ie=getPropertyNameFromType(G);return getTypeOfPropertyOfType($,ie)}}function getContextualTypeForStaticPropertyDeclaration(N){var R=E.isExpression(N.parent)&&getContextualType(N.parent);if(!R)return undefined;return getTypeOfPropertyOfContextualType(R,getSymbolOfNode(N).escapedName)}function getContextualTypeForInitializerExpression(N,R){var j=N.parent;if(E.hasInitializer(j)&&N===j.initializer){var $=getContextualTypeForVariableLikeDeclaration(j);if($){return $}if(!(R&8)&&E.isBindingPattern(j.name)){return getTypeFromBindingPattern(j.name,true,false)}}return undefined}function getContextualTypeForReturnExpression(N){var R=E.getContainingFunction(N);if(R){var j=getContextualReturnType(R);if(j){var $=E.getFunctionFlags(R);if($&1){var q=$&2?2:1;var G=getIterationTypesOfIterable(j,q,undefined);if(!G){return undefined}j=G.returnType}if($&2){var ie=mapType(j,getAwaitedTypeNoAlias);return ie&&getUnionType([ie,createPromiseLikeType(ie)])}return j}}return undefined}function getContextualTypeForAwaitOperand(E,N){var R=getContextualType(E,N);if(R){var j=getAwaitedTypeNoAlias(R);return j&&getUnionType([j,createPromiseLikeType(j)])}return undefined}function getContextualTypeForYieldOperand(N){var R=E.getContainingFunction(N);if(R){var j=E.getFunctionFlags(R);var $=getContextualReturnType(R);if($){return N.asteriskToken?$:getIterationTypeOfGeneratorFunctionReturnType(0,$,(j&2)!==0)}}return undefined}function isInParameterInitializerBeforeContainingFunction(N){var R=false;while(N.parent&&!E.isFunctionLike(N.parent)){if(E.isParameter(N.parent)&&(R||N.parent.initializer===N)){return true}if(E.isBindingElement(N.parent)&&N.parent.initializer===N){R=true}N=N.parent}return false}function getContextualIterationType(N,R){var j=!!(E.getFunctionFlags(R)&2);var $=getContextualReturnType(R);if($){return getIterationTypeOfGeneratorFunctionReturnType(N,$,j)||undefined}return undefined}function getContextualReturnType(N){var R=getReturnTypeFromAnnotation(N);if(R){return R}var j=getContextualSignatureForFunctionLikeDeclaration(N);if(j&&!isResolvingReturnTypeOfSignature(j)){return getReturnTypeOfSignature(j)}var $=E.getImmediatelyInvokedFunctionExpression(N);if($){return getContextualType($)}return undefined}function getContextualTypeForArgument(E,N){var R=getEffectiveCallArguments(E);var j=R.indexOf(N);return j===-1?undefined:getContextualTypeForArgumentAtIndex(E,j)}function getContextualTypeForArgumentAtIndex(N,R){if(E.isImportCall(N)){return R===0?ar:R===1?getGlobalImportCallOptionsType(false):$t}var j=getNodeLinks(N).resolvedSignature===$r?$r:getResolvedSignature(N);if(E.isJsxOpeningLikeElement(N)&&R===0){return getEffectiveFirstArgumentForJsxSignature(j,N)}var $=j.parameters.length-1;return signatureHasRestParameter(j)&&R>=$?getIndexedAccessType(getTypeOfSymbol(j.parameters[$]),getNumberLiteralType(R-$),256):getTypeAtPosition(j,R)}function getContextualTypeForSubstitutionExpression(E,N){if(E.parent.kind===209){return getContextualTypeForArgument(E.parent,N)}return undefined}function getContextualTypeForBinaryOperand(N,R){var j=N.parent;var $=j.left,q=j.operatorToken,G=j.right;switch(q.kind){case 63:case 76:case 75:case 77:return N===G?getContextualTypeForAssignmentDeclaration(j):undefined;case 56:case 60:var ie=getContextualType(j,R);return N===G&&(ie&&ie.pattern||!ie&&!E.isDefaultedExpandoInitializer(j))?getTypeOfExpression($):ie;case 55:case 27:return N===G?getContextualType(j,R):undefined;default:return undefined}}function getSymbolForExpression(N){if(N.symbol){return N.symbol}if(E.isIdentifier(N)){return getResolvedSymbol(N)}if(E.isPropertyAccessExpression(N)){var R=getTypeOfExpression(N.expression);return E.isPrivateIdentifier(N.name)?tryGetPrivateIdentifierPropertyOfType(R,N.name):getPropertyOfType(R,N.name.escapedText)}return undefined;function tryGetPrivateIdentifierPropertyOfType(E,N){var R=lookupSymbolForPrivateIdentifierDeclaration(N.escapedText,N);return R&&getPrivateIdentifierPropertyOfType(E,R)}}function getContextualTypeForAssignmentDeclaration(N){var R,j;var $=E.getAssignmentDeclarationKind(N);switch($){case 0:case 4:var q=getSymbolForExpression(N.left);var G=q&&q.valueDeclaration;if(G&&(E.isPropertyDeclaration(G)||E.isPropertySignature(G))){var ie=E.getEffectiveTypeAnnotationNode(G);return ie&&instantiateType(getTypeFromTypeNode(ie),getSymbolLinks(q).mapper)||G.initializer&&getTypeOfExpression(N.left)}if($===0){return getTypeOfExpression(N.left)}return getContextualTypeForThisPropertyAssignment(N);case 5:if(isPossiblyAliasedThisProperty(N,$)){return getContextualTypeForThisPropertyAssignment(N)}else if(!N.left.symbol){return getTypeOfExpression(N.left)}else{var ae=N.left.symbol.valueDeclaration;if(!ae){return undefined}var ce=E.cast(N.left,E.isAccessExpression);var ie=E.getEffectiveTypeAnnotationNode(ae);if(ie){return getTypeFromTypeNode(ie)}else if(E.isIdentifier(ce.expression)){var le=ce.expression;var _e=resolveName(le,le.escapedText,111551,undefined,le.escapedText,true);if(_e){var Te=_e.valueDeclaration&&E.getEffectiveTypeAnnotationNode(_e.valueDeclaration);if(Te){var Ee=E.getElementOrPropertyAccessName(ce);if(Ee!==undefined){return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(Te),Ee)}}return undefined}}return E.isInJSFile(ae)?undefined:getTypeOfExpression(N.left)}case 1:case 6:case 3:var we=(R=N.left.symbol)===null||R===void 0?void 0:R.valueDeclaration;case 2:we||(we=(j=N.symbol)===null||j===void 0?void 0:j.valueDeclaration);var Ie=we&&E.getEffectiveTypeAnnotationNode(we);return Ie?getTypeFromTypeNode(Ie):undefined;case 7:case 8:case 9:return E.Debug.fail("Does not apply");default:return E.Debug.assertNever($)}}function isPossiblyAliasedThisProperty(N,R){if(R===void 0){R=E.getAssignmentDeclarationKind(N)}if(R===4){return true}if(!E.isInJSFile(N)||R!==5||!E.isIdentifier(N.left.expression)){return false}var j=N.left.expression.escapedText;var $=resolveName(N.left,j,111551,undefined,undefined,true,true);return E.isThisInitializedDeclaration($===null||$===void 0?void 0:$.valueDeclaration)}function getContextualTypeForThisPropertyAssignment(N){if(!N.symbol)return getTypeOfExpression(N.left);if(N.symbol.valueDeclaration){var R=E.getEffectiveTypeAnnotationNode(N.symbol.valueDeclaration);if(R){var j=getTypeFromTypeNode(R);if(j){return j}}}var $=E.cast(N.left,E.isAccessExpression);if(!E.isObjectLiteralMethod(E.getThisContainer($.expression,false))){return undefined}var q=checkThisExpression($.expression);var G=E.getElementOrPropertyAccessName($);return G!==undefined&&getTypeOfPropertyOfContextualType(q,G)||undefined}function isCircularMappedProperty(N){return!!(E.getCheckFlags(N)&262144&&!N.type&&findResolutionCycleStartIndex(N,0)>=0)}function getTypeOfPropertyOfContextualType(N,R,j){return mapType(N,(function(N){var $;if(isGenericMappedType(N)){var q=getConstraintTypeFromMappedType(N);var G=getBaseConstraintOfType(q)||q;var ie=j||getStringLiteralType(E.unescapeLeadingUnderscores(R));if(isTypeAssignableTo(ie,G)){return substituteIndexedMappedType(N,ie)}}else if(N.flags&3670016){var ae=getPropertyOfType(N,R);if(ae){return isCircularMappedProperty(ae)?undefined:getTypeOfSymbol(ae)}if(isTupleType(N)){var ce=getRestTypeOfTupleType(N);if(ce&&E.isNumericLiteralName(R)&&+R>=0){return ce}}return($=findApplicableIndexInfo(getIndexInfosOfStructuredType(N),j||getStringLiteralType(E.unescapeLeadingUnderscores(R))))===null||$===void 0?void 0:$.type}return undefined}),true)}function getContextualTypeForObjectLiteralMethod(N,R){E.Debug.assert(E.isObjectLiteralMethod(N));if(N.flags&16777216){return undefined}return getContextualTypeForObjectLiteralElement(N,R)}function getContextualTypeForObjectLiteralElement(N,R){var j=N.parent;var $=E.isPropertyAssignment(N)&&getContextualTypeForVariableLikeDeclaration(N);if($){return $}var q=getApparentTypeOfContextualType(j,R);if(q){if(hasBindableName(N)){var G=getSymbolOfNode(N);return getTypeOfPropertyOfContextualType(q,G.escapedName,getSymbolLinks(G).nameType)}if(N.name){var ie=getLiteralTypeFromPropertyName(N.name);return mapType(q,(function(E){var N;return(N=findApplicableIndexInfo(getIndexInfosOfStructuredType(E),ie))===null||N===void 0?void 0:N.type}),true)}}return undefined}function getContextualTypeForElementExpression(E,N){return E&&(getTypeOfPropertyOfContextualType(E,""+N)||mapType(E,(function(E){return getIteratedTypeOrElementType(1,E,Zt,undefined,false)}),true))}function getContextualTypeForConditionalOperand(E,N){var R=E.parent;return E===R.whenTrue||E===R.whenFalse?getContextualType(R,N):undefined}function getContextualTypeForChildJsxExpression(N,R){var j=getApparentTypeOfContextualType(N.openingElement.tagName);var $=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));if(!(j&&!isTypeAny(j)&&$&&$!=="")){return undefined}var q=E.getSemanticJsxChildren(N.children);var G=q.indexOf(R);var ie=getTypeOfPropertyOfContextualType(j,$);return ie&&(q.length===1?ie:mapType(ie,(function(E){if(isArrayLikeType(E)){return getIndexedAccessType(E,getNumberLiteralType(G))}else{return E}}),true))}function getContextualTypeForJsxExpression(N){var R=N.parent;return E.isJsxAttributeLike(R)?getContextualType(N):E.isJsxElement(R)?getContextualTypeForChildJsxExpression(R,N):undefined}function getContextualTypeForJsxAttribute(N){if(E.isJsxAttribute(N)){var R=getApparentTypeOfContextualType(N.parent);if(!R||isTypeAny(R)){return undefined}return getTypeOfPropertyOfContextualType(R,N.name.escapedText)}else{return getContextualType(N.parent)}}function isPossiblyDiscriminantValue(E){switch(E.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 152:return true;case 205:case 211:return isPossiblyDiscriminantValue(E.expression);case 287:return!E.expression||isPossiblyDiscriminantValue(E.expression)}return false}function discriminateContextualTypeByObjectMembers(N,R){return getMatchingUnionConstituentForObjectLiteral(R,N)||discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===294&&isPossiblyDiscriminantValue(E.initializer)&&isDiscriminantProperty(R,E.symbol.escapedName)})),(function(E){return[function(){return getContextFreeTypeOfExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Zt},E.escapedName]}))),isTypeAssignableTo,R)}function discriminateContextualTypeByJSXAttributes(N,R){return discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===284&&isDiscriminantProperty(R,E.symbol.escapedName)&&(!E.initializer||isPossiblyDiscriminantValue(E.initializer))})),(function(E){return[!E.initializer?function(){return dr}:function(){return getContextFreeTypeOfExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Zt},E.escapedName]}))),isTypeAssignableTo,R)}function getApparentTypeOfContextualType(N,R){var j=E.isObjectLiteralMethod(N)?getContextualTypeForObjectLiteralMethod(N,R):getContextualType(N,R);var $=instantiateContextualType(j,N,R);if($&&!(R&&R&2&&$.flags&8650752)){var q=mapType($,getApparentType,true);return q.flags&1048576&&E.isObjectLiteralExpression(N)?discriminateContextualTypeByObjectMembers(N,q):q.flags&1048576&&E.isJsxAttributes(N)?discriminateContextualTypeByJSXAttributes(N,q):q}}function instantiateContextualType(N,R,j){if(N&&maybeTypeOfKind(N,465829888)){var $=getInferenceContext(R);if($&&E.some($.inferences,hasInferenceCandidates)){if(j&&j&1){return instantiateInstantiableTypes(N,$.nonFixingMapper)}if($.returnMapper){return instantiateInstantiableTypes(N,$.returnMapper)}}}return N}function instantiateInstantiableTypes(N,R){if(N.flags&465829888){return instantiateType(N,R)}if(N.flags&1048576){return getUnionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})),0)}if(N.flags&2097152){return getIntersectionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})))}return N}function getContextualType(N,R){if(N.flags&16777216){return undefined}if(N.contextualType){return N.contextualType}var j=N.parent;switch(j.kind){case 253:case 163:case 166:case 165:case 202:return getContextualTypeForInitializerExpression(N,R);case 213:case 246:return getContextualTypeForReturnExpression(N);case 223:return getContextualTypeForYieldOperand(j);case 217:return getContextualTypeForAwaitOperand(j,R);case 207:case 208:return getContextualTypeForArgument(j,N);case 210:case 228:return E.isConstTypeReference(j.type)?tryFindWhenConstTypeReference(j):getTypeFromTypeNode(j.type);case 220:return getContextualTypeForBinaryOperand(N,R);case 294:case 295:return getContextualTypeForObjectLiteralElement(j,R);case 296:return getContextualType(j.parent,R);case 203:{var $=j;var q=getApparentTypeOfContextualType($,R);return getContextualTypeForElementExpression(q,E.indexOfNode($.elements,N))}case 221:return getContextualTypeForConditionalOperand(N,R);case 232:E.Debug.assert(j.parent.kind===222);return getContextualTypeForSubstitutionExpression(j.parent,N);case 211:{var G=E.isInJSFile(j)?E.getJSDocTypeTag(j):undefined;return!G?getContextualType(j,R):E.isJSDocTypeTag(G)&&E.isConstTypeReference(G.typeExpression.type)?tryFindWhenConstTypeReference(j):getTypeFromTypeNode(G.typeExpression.type)}case 229:return getContextualType(j,R);case 287:return getContextualTypeForJsxExpression(j);case 284:case 286:return getContextualTypeForJsxAttribute(j);case 279:case 278:return getContextualJsxElementAttributesType(j,R)}return undefined;function tryFindWhenConstTypeReference(E){return getContextualType(E)}}function getInferenceContext(N){var R=E.findAncestor(N,(function(E){return!!E.inferenceContext}));return R&&R.inferenceContext}function getContextualJsxElementAttributesType(N,R){if(E.isJsxOpeningElement(N)&&N.parent.contextualType&&R!==4){return N.parent.contextualType}return getContextualTypeForArgumentAtIndex(N,0)}function getEffectiveFirstArgumentForJsxSignature(E,N){return getJsxReferenceKind(N)!==0?getJsxPropsTypeFromCallSignature(E,N):getJsxPropsTypeFromClassType(E,N)}function getJsxPropsTypeFromCallSignature(E,N){var R=getTypeOfFirstParameterOfSignatureWithFallback(E,Xt);R=getJsxManagedAttributesFromLocatedAttributes(N,getJsxNamespaceAt(N),R);var j=getJsxType(Xe.IntrinsicAttributes,N);if(!isErrorType(j)){R=intersectTypes(j,R)}return R}function getJsxPropsTypeForSignatureFromMember(E,N){if(E.compositeSignatures){var R=[];for(var j=0,$=E.compositeSignatures;j<$.length;j++){var q=$[j];var G=getReturnTypeOfSignature(q);if(isTypeAny(G)){return G}var ie=getTypeOfPropertyOfType(G,N);if(!ie){return}R.push(ie)}return getIntersectionType(R)}var ae=getReturnTypeOfSignature(E);return isTypeAny(ae)?ae:getTypeOfPropertyOfType(ae,N)}function getStaticTypeOfReferencedJsxConstructor(E){if(isJsxIntrinsicIdentifier(E.tagName)){var N=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(E);var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}var j=checkExpressionCached(E.tagName);if(j.flags&128){var N=getIntrinsicAttributesTypeFromStringLiteralType(j,E);if(!N){return Ht}var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}return j}function getJsxManagedAttributesFromLocatedAttributes(N,R,j){var $=getJsxLibraryManagedAttributes(R);if($){var q=getDeclaredTypeOfSymbol($);var G=getStaticTypeOfReferencedJsxConstructor(N);if($.flags&524288){var ie=getSymbolLinks($).typeParameters;if(E.length(ie)>=2){var ae=fillMissingTypeArguments([G,j],ie,2,E.isInJSFile(N));return getTypeAliasInstantiation($,ae)}}if(E.length(q.typeParameters)>=2){var ae=fillMissingTypeArguments([G,j],q.typeParameters,2,E.isInJSFile(N));return createTypeReference(q,ae)}}return j}function getJsxPropsTypeFromClassType(N,R){var j=getJsxNamespaceAt(R);var $=getJsxElementPropertiesName(j);var q=$===undefined?getTypeOfFirstParameterOfSignatureWithFallback(N,Xt):$===""?getReturnTypeOfSignature(N):getJsxPropsTypeForSignatureFromMember(N,$);if(!q){if(!!$&&!!E.length(R.attributes.properties)){error(R,E.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,E.unescapeLeadingUnderscores($))}return Xt}q=getJsxManagedAttributesFromLocatedAttributes(R,j,q);if(isTypeAny(q)){return q}else{var G=q;var ie=getJsxType(Xe.IntrinsicClassAttributes,R);if(!isErrorType(ie)){var ae=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ie.symbol);var ce=getReturnTypeOfSignature(N);G=intersectTypes(ae?createTypeReference(ie,fillMissingTypeArguments([ce],ae,getMinTypeArgumentCount(ae),E.isInJSFile(R))):ie,G)}var le=getJsxType(Xe.IntrinsicAttributes,R);if(!isErrorType(le)){G=intersectTypes(le,G)}return G}}function getIntersectedSignatures(N){return E.getStrictOptionValue(Ye,"noImplicitAny")?E.reduceLeft(N,(function(E,N){return E===N||!E?E:compareTypeParametersIdentical(E.typeParameters,N.typeParameters)?combineSignaturesOfIntersectionMembers(E,N):undefined})):undefined}function combineIntersectionThisParam(E,N,R){if(!E||!N){return E||N}var j=getUnionType([getTypeOfSymbol(E),instantiateType(getTypeOfSymbol(N),R)]);return createSymbolWithType(E,j)}function combineIntersectionParameters(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=j>=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg".concat(_e));je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfIntersectionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineIntersectionParameters(N,R,$);var ie=combineIntersectionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=2097152;ce.compositeSignatures=E.concatenate(N.compositeKind===2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind===2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getContextualCallSignature(N,R){var j=getSignaturesOfType(N,0);var $=E.filter(j,(function(E){return!isAritySmaller(E,R)}));return $.length===1?$[0]:getIntersectedSignatures($)}function isAritySmaller(N,R){var j=0;for(;j0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false;Be=false}var Ke=getReducedType(checkExpression(qe.expression));if(isValidSpreadType(Ke)){var it=tryMergeUnionOfObjectTypeAndEmptyObject(Ke,le);if($){checkSpreadPropOverrides(it,$,qe)}We=G.length;if(isErrorType(ie)){continue}ie=getSpreadType(ie,it,N.symbol,Ie,le)}else{error(qe,E.Diagnostics.Spread_types_may_only_be_created_from_object_types);ie=Ht}continue}else{E.Debug.assert(qe.kind===171||qe.kind===172);checkNodeDeferred(qe)}if(Ge&&!(Ge.flags&8576)){if(isTypeAssignableTo(Ge,Tr)){if(isTypeAssignableTo(Ge,sr)){Le=true}else if(isTypeAssignableTo(Ge,mr)){Be=true}else{Me=true}if(j){Ne=true}}}else{q.set(He.escapedName,He)}G.push(He)}if(ce&&N.parent.kind!==296){for(var ot=0,st=getPropertiesOfType(ae);ot0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false}return mapType(ie,(function(E){return E===wr?createObjectLiteralType():E}))}return createObjectLiteralType();function createObjectLiteralType(){var R=[];if(Me)R.push(getObjectLiteralIndexInfo(N,We,G,ar));if(Le)R.push(getObjectLiteralIndexInfo(N,We,G,sr));if(Be)R.push(getObjectLiteralIndexInfo(N,We,G,mr));var $=createAnonymousType(N.symbol,q,E.emptyArray,E.emptyArray,R);$.objectFlags|=Ie|128|262144;if(we){$.objectFlags|=8192}if(Ne){$.objectFlags|=512}if(j){$.pattern=N}return $}}function isValidSpreadType(N){var R=removeDefinitelyFalsyTypes(mapType(N,getBaseConstraintOrType));return!!(R.flags&(1|67108864|524288|58982400)||R.flags&3145728&&E.every(R.types,isValidSpreadType))}function checkJsxSelfClosingElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E)}function checkJsxSelfClosingElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||$t}function checkJsxElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E.openingElement);if(isJsxIntrinsicIdentifier(E.closingElement.tagName)){getIntrinsicTagSymbol(E.closingElement)}else{checkExpression(E.closingElement.tagName)}checkJsxChildren(E)}function checkJsxElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||$t}function checkJsxFragment(N){checkJsxOpeningLikeElementOrOpeningFragment(N.openingFragment);var R=E.getSourceFileOfNode(N);if(E.getJSXTransformEnabled(Ye)&&(Ye.jsxFactory||R.pragmas.has("jsx"))&&!Ye.jsxFragmentFactory&&!R.pragmas.has("jsxfrag")){error(N,Ye.jsxFactory?E.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:E.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments)}checkJsxChildren(N);return getJsxElementTypeAt(N)||$t}function isHyphenatedJsxName(N){return E.stringContains(N,"-")}function isJsxIntrinsicIdentifier(N){return N.kind===79&&E.isIntrinsicJsxName(N.escapedText)}function checkJsxAttribute(E,N){return E.initializer?checkExpressionForMutableLocation(E.initializer,N):dr}function createJsxAttributesTypeFromAttributesProperty(N,R){var j=N.attributes;var $=nt?E.createSymbolTable():undefined;var q=E.createSymbolTable();var G=Pr;var ie=false;var ae;var ce=false;var le=2048;var _e=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));for(var Te=0,Ee=j.properties;Te0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false);q=E.createSymbolTable()}var Ne=getReducedType(checkExpressionCached(we.expression,R));if(isTypeAny(Ne)){ie=true}if(isValidSpreadType(Ne)){G=getSpreadType(G,Ne,j.symbol,le,false);if($){checkSpreadPropOverrides(Ne,$,we)}}else{ae=ae?getIntersectionType([ae,Ne]):Ne}}}if(!ie){if(q.size>0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false)}}var Le=N.parent.kind===277?N.parent:undefined;if(Le&&Le.openingElement===N&&Le.children.length>0){var Be=checkJsxChildren(Le,R);if(!ie&&_e&&_e!==""){if(ce){error(j,E.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,E.unescapeLeadingUnderscores(_e))}var je=getApparentTypeOfContextualType(N.attributes);var Ue=je&&getTypeOfPropertyOfContextualType(je,_e);var ze=createSymbol(4,_e);ze.type=Be.length===1?Be[0]:Ue&&someType(Ue,isTupleLikeType)?createTupleType(Be):createArrayType(getUnionType(Be));ze.valueDeclaration=E.factory.createPropertySignature(undefined,E.unescapeLeadingUnderscores(_e),undefined,undefined);E.setParent(ze.valueDeclaration,j);ze.valueDeclaration.symbol=ze;var We=E.createSymbolTable();We.set(_e,ze);G=getSpreadType(G,createAnonymousType(j.symbol,We,E.emptyArray,E.emptyArray,E.emptyArray),j.symbol,le,false)}}if(ie){return $t}if(ae&&G!==Pr){return getIntersectionType([ae,G])}return ae||(G===Pr?createJsxAttributesType():G);function createJsxAttributesType(){le|=ft;var N=createAnonymousType(j.symbol,q,E.emptyArray,E.emptyArray,E.emptyArray);N.objectFlags|=le|128|262144;return N}}function checkJsxChildren(E,N){var R=[];for(var j=0,$=E.children;j<$.length;j++){var q=$[j];if(q.kind===11){if(!q.containsOnlyTriviaWhiteSpaces){R.push(ar)}}else if(q.kind===287&&!q.expression){continue}else{R.push(checkExpressionForMutableLocation(q,N))}}return R}function checkSpreadPropOverrides(N,R,j){for(var $=0,q=getPropertiesOfType(N);$1&&j.declarations){error(j.declarations[0],E.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,E.unescapeLeadingUnderscores(N))}}return undefined}function getJsxLibraryManagedAttributes(E){return E&&getSymbol(E.exports,Xe.LibraryManagedAttributes,788968)}function getJsxElementPropertiesName(E){return getNameFromJsxElementAttributesContainer(Xe.ElementAttributesPropertyNameContainer,E)}function getJsxElementChildrenPropertyName(E){return getNameFromJsxElementAttributesContainer(Xe.ElementChildrenAttributeNameContainer,E)}function getUninstantiatedJsxSignaturesOfType(N,R){if(N.flags&4){return[Wr]}else if(N.flags&128){var j=getIntrinsicAttributesTypeFromStringLiteralType(N,R);if(!j){error(R,E.Diagnostics.Property_0_does_not_exist_on_type_1,N.value,"JSX."+Xe.IntrinsicElements);return E.emptyArray}else{var $=createSignatureForJSXIntrinsic(R,j);return[$]}}var q=getApparentType(N);var G=getSignaturesOfType(q,1);if(G.length===0){G=getSignaturesOfType(q,0)}if(G.length===0&&q.flags&1048576){G=getUnionSignatures(E.map(q.types,(function(E){return getUninstantiatedJsxSignaturesOfType(E,R)})))}return G}function getIntrinsicAttributesTypeFromStringLiteralType(N,R){var j=getJsxType(Xe.IntrinsicElements,R);if(!isErrorType(j)){var $=N.value;var q=getPropertyOfType(j,E.escapeLeadingUnderscores($));if(q){return getTypeOfSymbol(q)}var G=getIndexTypeOfType(j,ar);if(G){return G}return undefined}return $t}function checkJsxReturnAssignableToAppropriateBound(N,R,j){if(N===1){var $=getJsxStatelessElementTypeAt(j);if($){checkTypeRelatedTo(R,$,Li,j.tagName,E.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else if(N===0){var q=getJsxElementClassTypeAt(j);if(q){checkTypeRelatedTo(R,q,Li,j.tagName,E.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else{var $=getJsxStatelessElementTypeAt(j);var q=getJsxElementClassTypeAt(j);if(!$||!q){return}var G=getUnionType([$,q]);checkTypeRelatedTo(R,G,Li,j.tagName,E.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}function generateInitialErrorChain(){var N=E.getTextOfNode(j.tagName);return E.chainDiagnosticMessages(undefined,E.Diagnostics._0_cannot_be_used_as_a_JSX_component,N)}}function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N){E.Debug.assert(isJsxIntrinsicIdentifier(N.tagName));var R=getNodeLinks(N);if(!R.resolvedJsxElementAttributesType){var j=getIntrinsicTagSymbol(N);if(R.jsxFlags&1){return R.resolvedJsxElementAttributesType=getTypeOfSymbol(j)||Ht}else if(R.jsxFlags&2){return R.resolvedJsxElementAttributesType=getIndexTypeOfType(getJsxType(Xe.IntrinsicElements,N),ar)||Ht}else{return R.resolvedJsxElementAttributesType=Ht}}return R.resolvedJsxElementAttributesType}function getJsxElementClassTypeAt(E){var N=getJsxType(Xe.ElementClass,E);if(isErrorType(N))return undefined;return N}function getJsxElementTypeAt(E){return getJsxType(Xe.Element,E)}function getJsxStatelessElementTypeAt(E){var N=getJsxElementTypeAt(E);if(N){return getUnionType([N,nr])}}function getJsxIntrinsicTagNamesAt(N){var R=getJsxType(Xe.IntrinsicElements,N);return R?getPropertiesOfType(R):E.emptyArray}function checkJsxPreconditions(N){if((Ye.jsx||0)===0){error(N,E.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided)}if(getJsxElementTypeAt(N)===undefined){if(ct){error(N,E.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}}}function checkJsxOpeningLikeElementOrOpeningFragment(N){var R=E.isJsxOpeningLikeElement(N);if(R){checkGrammarJsxElement(N)}checkJsxPreconditions(N);if(!getJsxNamespaceContainerForImplicitImport(N)){var j=Ai&&Ye.jsx===2?E.Diagnostics.Cannot_find_name_0:undefined;var $=getJsxNamespace(N);var q=R?N.tagName:N;var G=void 0;if(!(E.isJsxOpeningFragment(N)&&$==="null")){G=resolveName(q,$,111551,j,$,true)}if(G){G.isReferenced=67108863;if(G.flags&2097152&&!getTypeOnlyAliasDeclaration(G)){markAliasSymbolAsReferenced(G)}}if(E.isJsxOpeningFragment(N)){var ie=E.getSourceFileOfNode(N);var ae=getLocalJsxNamespace(ie);if(ae){resolveName(q,ae,111551,j,ae,true)}}}if(R){var ce=N;var le=getResolvedSignature(ce);checkDeprecatedSignature(le,N);checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(ce),getReturnTypeOfSignature(le),ce)}}function isKnownProperty(E,N,R){if(E.flags&524288){if(getPropertyOfObjectType(E,N)||getApplicableIndexInfoForName(E,N)||isLateBoundName(N)&&getIndexInfoOfType(E,ar)||R&&isHyphenatedJsxName(N)){return true}}else if(E.flags&3145728&&isExcessPropertyCheckTarget(E)){for(var j=0,$=E.types;j<$.length;j++){var q=$[j];if(isKnownProperty(q,N,R)){return true}}}return false}function isExcessPropertyCheckTarget(N){return!!(N.flags&524288&&!(E.getObjectFlags(N)&512)||N.flags&67108864||N.flags&1048576&&E.some(N.types,isExcessPropertyCheckTarget)||N.flags&2097152&&E.every(N.types,isExcessPropertyCheckTarget))}function checkJsxExpression(N,R){checkGrammarJsxExpression(N);if(N.expression){var j=checkExpression(N.expression,R);if(N.dotDotDotToken&&j!==$t&&!isArrayType(j)){error(N,E.Diagnostics.JSX_spread_child_must_be_an_array_type)}return j}else{return Ht}}function getDeclarationNodeFlagsFromSymbol(N){return N.valueDeclaration?E.getCombinedNodeFlags(N.valueDeclaration):0}function isPrototypeProperty(N){if(N.flags&8192||E.getCheckFlags(N)&4){return true}if(E.isInJSFile(N.valueDeclaration)){var R=N.valueDeclaration.parent;return R&&E.isBinaryExpression(R)&&E.getAssignmentDeclarationKind(R)===3}}function checkPropertyAccessibility(E,N,R,j,$,q){if(q===void 0){q=true}var G=!q?undefined:E.kind===160?E.right:E.kind===199?E:E.kind===202&&E.propertyName?E.propertyName:E.name;return checkPropertyAccessibilityAtLocation(E,N,R,j,$,G)}function checkPropertyAccessibilityAtLocation(N,R,j,$,q,G){var ie=E.getDeclarationModifierFlagsFromSymbol(q,j);if(R){if(Ze<2){if(symbolHasNonMethodDeclaration(q)){if(G){error(G,E.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword)}return false}}if(ie&128){if(G){error(G,E.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}}if(ie&128&&symbolHasNonMethodDeclaration(q)&&(E.isThisProperty(N)||E.isThisInitializedObjectBindingExpression(N)||E.isObjectBindingPattern(N.parent)&&E.isThisInitializedDeclaration(N.parent.parent))){var ae=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(ae&&isNodeUsedDuringClassInitialization(N)){if(G){error(G,E.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,symbolToString(q),E.getTextOfIdentifierOrLiteral(ae.name))}return false}}if(!(ie&24)){return true}if(ie&8){var ae=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(!isNodeWithinClass(N,ae)){if(G){error(G,E.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}return true}if(R){return true}var ce=forEachEnclosingClass(N,(function(E){var N=getDeclaredTypeOfSymbol(getSymbolOfNode(E));return isClassDerivedFromDeclaringClasses(N,q,j)?N:undefined}));if(!ce){var le=void 0;if(ie&32||!(le=getThisParameterFromNodeContext(N))||!le.type){if(G){error(G,E.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,symbolToString(q),typeToString(getDeclaringClass(q)||$))}return false}var _e=getTypeFromTypeNode(le.type);ce=(_e.flags&262144?getConstraintOfTypeParameter(_e):_e).target}if(ie&32){return true}if($.flags&262144){$=$.isThisType?getConstraintOfTypeParameter($):getBaseConstraintOfType($)}if(!$||!hasBaseType($,ce)){if(G){error(G,E.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,symbolToString(q),typeToString(ce),typeToString($))}return false}return true}function getThisParameterFromNodeContext(N){var R=E.getThisContainer(N,false);return R&&E.isFunctionLike(R)?E.getThisParameter(R):undefined}function symbolHasNonMethodDeclaration(E){return!!forEachProperty(E,(function(E){return!(E.flags&8192)}))}function checkNonNullExpression(E){return checkNonNullType(checkExpression(E),E)}function isNullableType(E){return!!((nt?getFalsyFlags(E):E.flags)&98304)}function getNonNullableTypeIfNeeded(E){return isNullableType(E)?getNonNullableType(E):E}function reportObjectPossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Object_is_possibly_null_or_undefined:E.Diagnostics.Object_is_possibly_undefined:E.Diagnostics.Object_is_possibly_null)}function reportCannotInvokePossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function checkNonNullTypeWithReporter(N,R,j){if(nt&&N.flags&2){error(R,E.Diagnostics.Object_is_of_type_unknown);return Ht}var $=(nt?getFalsyFlags(N):N.flags)&98304;if($){j(R,$);var q=getNonNullableType(N);return q.flags&(98304|131072)?Ht:q}return N}function checkNonNullType(E,N){return checkNonNullTypeWithReporter(E,N,reportObjectPossiblyNullOrUndefinedError)}function checkNonNullNonVoidType(N,R){var j=checkNonNullType(N,R);if(j.flags&16384){error(R,E.Diagnostics.Object_is_possibly_undefined)}return j}function checkPropertyAccessExpression(E,N){return E.flags&32?checkPropertyAccessChain(E,N):checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullExpression(E.expression),E.name,N)}function checkPropertyAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullType(j,E.expression),E.name,N),E,j!==R)}function checkQualifiedName(N,R){var j=E.isPartOfTypeQuery(N)&&E.isThisIdentifier(N.left)?checkNonNullType(checkThisExpression(N.left),N.left):checkNonNullExpression(N.left);return checkPropertyAccessExpressionOrQualifiedName(N,N.left,j,N.right,R)}function isMethodAccessForCall(N){while(N.parent.kind===211){N=N.parent}return E.isCallOrNewExpression(N.parent)&&N.parent.expression===N}function lookupSymbolForPrivateIdentifierDeclaration(N,R){for(var j=E.getContainingClass(R);!!j;j=E.getContainingClass(j)){var $=j.symbol;var q=E.getSymbolNameForPrivateIdentifier($,N);var G=$.members&&$.members.get(q)||$.exports&&$.exports.get(q);if(G){return G}}}function checkGrammarPrivateIdentifierExpression(N){if(!E.getContainingClass(N)){return grammarErrorOnNode(N,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies)}if(!E.isForInStatement(N.parent)){if(!E.isExpressionNode(N)){return grammarErrorOnNode(N,E.Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression)}var R=E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===101;if(!getSymbolForPrivateIdentifierExpression(N)&&!R){return grammarErrorOnNode(N,E.Diagnostics.Cannot_find_name_0,E.idText(N))}}return false}function checkPrivateIdentifierExpression(E){checkGrammarPrivateIdentifierExpression(E);var N=getSymbolForPrivateIdentifierExpression(E);if(N){markPropertyAsReferenced(N,undefined,false)}return $t}function getSymbolForPrivateIdentifierExpression(N){if(!E.isExpressionNode(N)){return undefined}var R=getNodeLinks(N);if(R.resolvedSymbol===undefined){R.resolvedSymbol=lookupSymbolForPrivateIdentifierDeclaration(N.escapedText,N)}return R.resolvedSymbol}function getPrivateIdentifierPropertyOfType(E,N){return getPropertyOfType(E,N.escapedName)}function checkPrivateIdentifierPropertyAccess(N,j,$){var q;var G=getPropertiesOfType(N);if(G){E.forEach(G,(function(N){var R=N.valueDeclaration;if(R&&E.isNamedDeclaration(R)&&E.isPrivateIdentifier(R.name)&&R.name.escapedText===j.escapedText){q=N;return true}}))}var ie=diagnosticName(j);if(q){var ae=E.Debug.checkDefined(q.valueDeclaration);var ce=E.Debug.checkDefined(E.getContainingClass(ae));if($===null||$===void 0?void 0:$.valueDeclaration){var le=$.valueDeclaration;var _e=E.getContainingClass(le);E.Debug.assert(!!_e);if(E.findAncestor(_e,(function(E){return ce===E}))){var Te=error(j,E.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,ie,typeToString(N));E.addRelatedInfo(Te,E.createDiagnosticForNode(le,E.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,ie),E.createDiagnosticForNode(ae,E.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,ie));return true}}error(j,E.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,ie,diagnosticName(ce.name||R));return true}return false}function isThisPropertyAccessInConstructor(N,R){return(isConstructorDeclaredProperty(R)||E.isThisProperty(N)&&isAutoTypedProperty(R))&&E.getThisContainer(N,true)===getDeclaringConstructor(R)}function checkPropertyAccessExpressionOrQualifiedName(N,R,j,$,q){var G=getNodeLinks(R).resolvedSymbol;var ie=E.getAssignmentTargetKind(N);var ae=getApparentType(ie!==0||isMethodAccessForCall(N)?getWidenedType(j):j);var ce=isTypeAny(ae)||ae===_r;var le;if(E.isPrivateIdentifier($)){if(Ze<99){if(ie!==0){checkExternalEmitHelpers(N,1048576)}if(ie!==1){checkExternalEmitHelpers(N,524288)}}var _e=lookupSymbolForPrivateIdentifierDeclaration($.escapedText,$);if(ie&&_e&&_e.valueDeclaration&&E.isMethodDeclaration(_e.valueDeclaration)){grammarErrorOnNode($,E.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,E.idText($))}if(ce){if(_e){return isErrorType(ae)?Ht:ae}if(!E.getContainingClass($)){grammarErrorOnNode($,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return $t}}le=_e?getPrivateIdentifierPropertyOfType(j,_e):undefined;if(!le&&checkPrivateIdentifierPropertyAccess(j,$,_e)){return Ht}else{var Te=le&&le.flags&65536&&!(le.flags&32768);if(Te&&ie!==1){error(N,E.Diagnostics.Private_accessor_was_defined_without_a_getter)}}}else{if(ce){if(E.isIdentifier(R)&&G){markAliasReferenced(G,N)}return isErrorType(ae)?Ht:ae}le=getPropertyOfType(ae,$.escapedText)}if(E.isIdentifier(R)&&G&&(Ye.isolatedModules||!(le&&isConstEnumOrConstEnumOnlyModule(le))||E.shouldPreserveConstEnums(Ye)&&isExportOrExportExpression(N))){markAliasReferenced(G,N)}var Ee;if(!le){var we=!E.isPrivateIdentifier($)&&(ie===0||!isGenericObjectType(j)||E.isThisTypeParameter(j))?getApplicableIndexInfoForName(ae,$.escapedText):undefined;if(!(we&&we.type)){var Ie=isUncheckedJSSuggestion(N,j.symbol,true);if(!Ie&&isJSLiteralType(j)){return $t}if(j.symbol===xt){if(xt.exports.has($.escapedText)&&xt.exports.get($.escapedText).flags&418){error($,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores($.escapedText),typeToString(j))}else if(ct){error($,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,typeToString(j))}return $t}if($.escapedText&&!checkAndReportErrorForExtendingInterface(N)){reportNonexistentProperty($,E.isThisTypeParameter(j)?ae:j,Ie)}return Ht}if(we.isReadonly&&(E.isAssignmentTarget(N)||E.isDeleteTarget(N))){error(N,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(ae))}Ee=Ye.noUncheckedIndexedAccess&&!E.isAssignmentTarget(N)?getUnionType([we.type,Zt]):we.type;if(Ye.noPropertyAccessFromIndexSignature&&E.isPropertyAccessExpression(N)){error($,E.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,E.unescapeLeadingUnderscores($.escapedText))}}else{if(isDeprecatedSymbol(le)&&isUncalledFunctionReference(N,le)&&le.declarations){addDeprecatedSuggestion($,le.declarations,$.escapedText)}checkPropertyNotUsedBeforeDeclaration(le,N,$);markPropertyAsReferenced(le,N,isSelfTypeAccess(R,G));getNodeLinks(N).resolvedSymbol=le;var Ne=E.isWriteAccess(N);checkPropertyAccessibility(N,R.kind===106,Ne,ae,le);if(isAssignmentToReadonlyEntity(N,le,ie)){error($,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,E.idText($));return Ht}Ee=isThisPropertyAccessInConstructor(N,le)?Vt:Ne?getWriteTypeOfSymbol(le):getTypeOfSymbol(le)}return getFlowTypeOfAccessExpression(N,le,Ee,$,q)}function isUncheckedJSSuggestion(N,R,j){var $=E.getSourceFileOfNode(N);if($){if(Ye.checkJs===undefined&&$.checkJsDirective===undefined&&($.scriptKind===1||$.scriptKind===2)){var q=E.forEach(R===null||R===void 0?void 0:R.declarations,E.getSourceFileOfNode);return!($!==q&&!!q&&isGlobalSourceFile(q))&&!(j&&R&&R.flags&32)&&!(!!N&&j&&E.isPropertyAccessExpression(N)&&N.expression.kind===108)}}return false}function getFlowTypeOfAccessExpression(N,R,j,$,q){var G=E.getAssignmentTargetKind(N);if(G===1){return removeMissingType(j,!!(R&&R.flags&16777216))}if(R&&!(R.flags&(3|4|98304))&&!(R.flags&8192&&j.flags&1048576)&&!isDuplicatedCommonJSExport(R.declarations)){return j}if(j===Vt){return getFlowTypeOfProperty(N,R)}j=getNarrowableTypeForReference(j,N,q);var ie=false;if(nt&&st&&E.isAccessExpression(N)&&N.expression.kind===108){var ae=R&&R.valueDeclaration;if(ae&&isPropertyWithoutInitializer(ae)){if(!E.isStatic(ae)){var ce=getControlFlowContainer(N);if(ce.kind===170&&ce.parent===ae.parent&&!(ae.flags&8388608)){ie=true}}}}else if(nt&&R&&R.valueDeclaration&&E.isPropertyAccessExpression(R.valueDeclaration)&&E.getAssignmentDeclarationPropertyAccessKind(R.valueDeclaration)&&getControlFlowContainer(N)===getControlFlowContainer(R.valueDeclaration)){ie=true}var le=getFlowTypeOfReference(N,j,ie?getOptionalType(j):j);if(ie&&!(getFalsyFlags(j)&32768)&&getFalsyFlags(le)&32768){error($,E.Diagnostics.Property_0_is_used_before_being_assigned,symbolToString(R));return j}return G?getBaseTypeOfLiteralType(le):le}function checkPropertyNotUsedBeforeDeclaration(N,R,j){var $=N.valueDeclaration;if(!$||E.getSourceFileOfNode(R).isDeclarationFile){return}var q;var G=E.idText(j);if(isInPropertyInitializerOrClassStaticBlock(R)&&!isOptionalPropertyDeclaration($)&&!(E.isAccessExpression(R)&&E.isAccessExpression(R.expression))&&!isBlockScopedNameDeclaredBeforeUse($,j)&&(Ye.useDefineForClassFields||!isPropertyDeclaredInAncestorClass(N))){q=error(j,E.Diagnostics.Property_0_is_used_before_its_initialization,G)}else if($.kind===256&&R.parent.kind!==177&&!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,j)){q=error(j,E.Diagnostics.Class_0_used_before_its_declaration,G)}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}function isInPropertyInitializerOrClassStaticBlock(N){return!!E.findAncestor(N,(function(N){switch(N.kind){case 166:return true;case 294:case 168:case 171:case 172:case 296:case 161:case 232:case 287:case 284:case 285:case 286:case 279:case 227:case 290:return false;case 213:case 237:return E.isBlock(N.parent)&&E.isClassStaticBlockDeclaration(N.parent.parent)?true:"quit";default:return E.isExpressionNode(N)?false:"quit"}}))}function isPropertyDeclaredInAncestorClass(E){if(!(E.parent.flags&32)){return false}var N=getTypeOfSymbol(E.parent);while(true){N=N.symbol&&getSuperClass(N);if(!N){return false}var R=getPropertyOfType(N,E.escapedName);if(R&&R.valueDeclaration){return true}}}function getSuperClass(E){var N=getBaseTypes(E);if(N.length===0){return undefined}return getIntersectionType(N)}function reportNonexistentProperty(N,R,j){var $;var q;if(!E.isPrivateIdentifier(N)&&R.flags&1048576&&!(R.flags&131068)){for(var G=0,ie=R.types;G=1&&isTypeAssignableTo(j,getTypeAtPosition($,0))}return false}var $=E.isAssignmentTarget(R)?"set":"get";if(!hasProp($)){return undefined}var q=E.tryGetPropertyAccessOrIdentifierToString(R.expression);if(q===undefined){q=$}else{q+="."+$}return q}function getSuggestedTypeForNonexistentStringLiteralType(N,R){var j=R.types.filter((function(E){return!!(E.flags&128)}));return E.getSpellingSuggestion(N.value,j,(function(E){return E.value}))}function getSpellingSuggestionForName(N,R,j){return E.getSpellingSuggestion(N,R,getCandidateName);function getCandidateName(N){var R=E.symbolName(N);if(E.startsWith(R,'"')){return undefined}if(N.flags&j){return R}if(N.flags&2097152){var $=tryResolveAlias(N);if($&&$.flags&j){return R}}return undefined}}function markPropertyAsReferenced(N,R,j){var $=N&&N.flags&106500&&N.valueDeclaration;if(!$){return}var q=E.hasEffectiveModifier($,8);var G=N.valueDeclaration&&E.isNamedDeclaration(N.valueDeclaration)&&E.isPrivateIdentifier(N.valueDeclaration.name);if(!q&&!G){return}if(R&&E.isWriteOnlyAccess(R)&&!(N.flags&65536)){return}if(j){var ie=E.findAncestor(R,E.isFunctionLikeDeclaration);if(ie&&ie.symbol===N){return}}(E.getCheckFlags(N)&1?getSymbolLinks(N).target:N).isReferenced=67108863}function isSelfTypeAccess(N,R){return N.kind===108||!!R&&E.isEntityNameExpression(N)&&R===getResolvedSymbol(E.getFirstIdentifier(N))}function isValidPropertyAccess(E,N){switch(E.kind){case 205:return isValidPropertyAccessWithType(E,E.expression.kind===106,N,getWidenedType(checkExpression(E.expression)));case 160:return isValidPropertyAccessWithType(E,false,N,getWidenedType(checkExpression(E.left)));case 199:return isValidPropertyAccessWithType(E,false,N,getTypeFromTypeNode(E))}}function isValidPropertyAccessForCompletions(E,N,R){return isPropertyAccessible(E,E.kind===205&&E.expression.kind===106,false,N,R)}function isValidPropertyAccessWithType(E,N,R,j){if(isTypeAny(j)){return true}var $=getPropertyOfType(j,R);return!!$&&isPropertyAccessible(E,N,false,j,$)}function isPropertyAccessible(N,R,j,$,q){if(isTypeAny($)){return true}if(q.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(q.valueDeclaration)){var G=E.getContainingClass(q.valueDeclaration);return!E.isOptionalChain(N)&&!!E.findAncestor(N,(function(E){return E===G}))}return checkPropertyAccessibilityAtLocation(N,R,j,$,q)}function getForInVariableSymbol(N){var R=N.initializer;if(R.kind===254){var j=R.declarations[0];if(j&&!E.isBindingPattern(j.name)){return getSymbolOfNode(j)}}else if(R.kind===79){return getResolvedSymbol(R)}return undefined}function hasNumericPropertyNames(E){return getIndexInfosOfType(E).length===1&&!!getIndexInfoOfType(E,sr)}function isForInVariableForNumericPropertyNames(N){var R=E.skipParentheses(N);if(R.kind===79){var j=getResolvedSymbol(R);if(j.flags&3){var $=N;var q=N.parent;while(q){if(q.kind===242&&$===q.statement&&getForInVariableSymbol(q)===j&&hasNumericPropertyNames(getTypeOfExpression(q.expression))){return true}$=q;q=q.parent}}}return false}function checkIndexedAccess(E,N){return E.flags&32?checkElementAccessChain(E,N):checkElementAccessExpression(E,checkNonNullExpression(E.expression),N)}function checkElementAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkElementAccessExpression(E,checkNonNullType(j,E.expression),N),E,j!==R)}function checkElementAccessExpression(N,R,j){var $=E.getAssignmentTargetKind(N)!==0||isMethodAccessForCall(N)?getWidenedType(R):R;var q=N.argumentExpression;var G=checkExpression(q);if(isErrorType($)||$===_r){return $}if(isConstEnumObjectType($)&&!E.isStringLiteralLike(q)){error(q,E.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);return Ht}var ie=isForInVariableForNumericPropertyNames(q)?sr:G;var ae=E.isAssignmentTarget(N)?4|(isGenericObjectType($)&&!E.isThisTypeParameter($)?2:0):32;var ce=getIndexedAccessTypeOrUndefined($,ie,ae,N)||Ht;return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(N,getNodeLinks(N).resolvedSymbol,ce,q,j),N)}function callLikeExpressionMayHaveTypeArguments(N){return E.isCallOrNewExpression(N)||E.isTaggedTemplateExpression(N)||E.isJsxOpeningLikeElement(N)}function resolveUntypedCall(N){if(callLikeExpressionMayHaveTypeArguments(N)){E.forEach(N.typeArguments,checkSourceElement)}if(N.kind===209){checkExpression(N.template)}else if(E.isJsxOpeningLikeElement(N)){checkExpression(N.attributes)}else if(N.kind!==164){E.forEach(N.arguments,(function(E){checkExpression(E)}))}return Wr}function resolveErrorCall(E){resolveUntypedCall(E);return Jr}function reorderCandidates(N,R,j){var $;var q;var G=0;var ie;var ae=-1;var ce;E.Debug.assert(!R.length);for(var le=0,_e=N;le<_e.length;le++){var Te=_e[le];var Ee=Te.declaration&&getSymbolOfNode(Te.declaration);var we=Te.declaration&&Te.declaration.parent;if(!q||Ee===q){if($&&we===$){ie=ie+1}else{$=we;ie=G}}else{ie=G=R.length;$=we}q=Ee;if(signatureHasLiteralTypes(Te)){ae++;ce=ae;G++}else{ce=ie}R.splice(ce,0,j?getOptionalCallSignature(Te,j):Te)}}function isSpreadArgument(E){return!!E&&(E.kind===224||E.kind===231&&E.isSpread)}function getSpreadArgumentIndex(N){return E.findIndex(N,isSpreadArgument)}function acceptsVoid(E){return!!(E.flags&16384)}function acceptsVoidUndefinedUnknownOrAny(E){return!!(E.flags&(16384|32768|2|1))}function hasCorrectArity(N,R,j,$){if($===void 0){$=false}var q;var G=false;var ie=getParameterCount(j);var ae=getMinArgumentCount(j);if(N.kind===209){q=R.length;if(N.template.kind===222){var ce=E.last(N.template.templateSpans);G=E.nodeIsMissing(ce.literal)||!!ce.literal.isUnterminated}else{var le=N.template;E.Debug.assert(le.kind===14);G=!!le.isUnterminated}}else if(N.kind===164){q=getDecoratorArgumentCount(N,j)}else if(E.isJsxOpeningLikeElement(N)){G=N.attributes.end===N.end;if(G){return true}q=ae===0?R.length:1;ie=R.length===0?ie:1;ae=Math.min(ae,1)}else if(!N.arguments){E.Debug.assert(N.kind===208);return getMinArgumentCount(j)===0}else{q=$?R.length+1:R.length;G=N.arguments.end===N.end;var _e=getSpreadArgumentIndex(R);if(_e>=0){return _e>=getMinArgumentCount(j)&&(hasEffectiveRestParameter(j)||_eie){return false}if(G||q>=ae){return true}for(var Te=q;Te=$&&R.length<=j}function getSingleCallSignature(E){return getSingleSignature(E,0,false)}function getSingleCallOrConstructSignature(E){return getSingleSignature(E,0,false)||getSingleSignature(E,1,false)}function getSingleSignature(E,N,R){if(E.flags&524288){var j=resolveStructuredTypeMembers(E);if(R||j.properties.length===0&&j.indexInfos.length===0){if(N===0&&j.callSignatures.length===1&&j.constructSignatures.length===0){return j.callSignatures[0]}if(N===1&&j.constructSignatures.length===1&&j.callSignatures.length===0){return j.constructSignatures[0]}}}return undefined}function instantiateSignatureInContextOf(N,R,j,$){var q=createInferenceContext(N.typeParameters,N,0,$);var G=getEffectiveRestType(R);var ie=j&&(G&&G.flags&262144?j.nonFixingMapper:j.mapper);var ae=ie?instantiateSignature(R,ie):R;applyToParameterTypes(ae,N,(function(E,N){inferTypes(q.inferences,E,N)}));if(!j){applyToReturnTypes(R,N,(function(E,N){inferTypes(q.inferences,E,N,128)}))}return getSignatureInstantiation(N,getInferredTypes(q),E.isInJSFile(R.declaration))}function inferJsxTypeArguments(E,N,R,j){var $=getEffectiveFirstArgumentForJsxSignature(N,E);var q=checkExpressionWithContextualType(E.attributes,$,j,R);inferTypes(j.inferences,q,$);return getInferredTypes(j)}function getThisArgumentType(N){if(!N){return gr}var R=checkExpression(N);return E.isOptionalChainRoot(N.parent)?getNonNullableType(R):E.isOptionalChain(N.parent)?removeOptionalTypeMarker(R):R}function inferTypeArguments(N,R,j,$,q){if(E.isJsxOpeningLikeElement(N)){return inferJsxTypeArguments(N,R,$,q)}if(N.kind!==164){var G=getContextualType(N,E.every(R.typeParameters,(function(E){return!!getDefaultFromTypeParameter(E)}))?8:0);if(G){var ie=getInferenceContext(N);var ae=getMapperFromContext(cloneInferenceContext(ie,1));var ce=instantiateType(G,ae);var le=getSingleCallSignature(ce);var _e=le&&le.typeParameters?getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(le,le.typeParameters)):ce;var Te=getReturnTypeOfSignature(R);inferTypes(q.inferences,_e,Te,128);var Ee=createInferenceContext(R.typeParameters,R,q.flags);var we=instantiateType(G,ie&&ie.returnMapper);inferTypes(Ee.inferences,we,Te);q.returnMapper=E.some(Ee.inferences,hasInferenceCandidates)?getMapperFromContext(cloneInferredPartOfContext(Ee)):undefined}}var Ie=getNonArrayRestType(R);var Ne=Ie?Math.min(getParameterCount(R)-1,j.length):j.length;if(Ie&&Ie.flags&262144){var Me=E.find(q.inferences,(function(E){return E.typeParameter===Ie}));if(Me){Me.impliedArity=E.findIndex(j,isSpreadArgument,Ne)<0?j.length-Ne:undefined}}var Le=getThisTypeOfSignature(R);if(Le){var Be=getThisArgumentOfCall(N);inferTypes(q.inferences,getThisArgumentType(Be),Le)}for(var je=0;je=j-1){var ie=N[j-1];if(isSpreadArgument(ie)){return getMutableArrayOrTupleType(ie.kind===231?ie.type:checkExpressionWithContextualType(ie.expression,$,q,G))}}var ae=[];var ce=[];var le=[];for(var _e=R;_eTe){Te=Ue}}}if(!_e){return true}var ze=Infinity;for(var We=0,Je=$;We0||E.isJsxOpeningElement(N)&&N.parent.children.length>0?[N.attributes]:E.emptyArray}var $=N.arguments||E.emptyArray;var q=getSpreadArgumentIndex($);if(q>=0){var G=$.slice(0,q);var _loop_23=function(N){var R=$[N];var j=R.kind===224&&(Xn?checkExpression(R.expression):checkExpressionCached(R.expression));if(j&&isTupleType(j)){E.forEach(getTypeArguments(j),(function(E,N){var $;var q=j.target.elementFlags[N];var ie=createSyntheticExpression(R,q&4?createArrayType(E):E,!!(q&12),($=j.target.labeledElementDeclarations)===null||$===void 0?void 0:$[N]);G.push(ie)}))}else{G.push(R)}};for(var ie=q;ie<$.length;ie++){_loop_23(ie)}return G}return $}function getEffectiveDecoratorArguments(N){var R=N.parent;var j=N.expression;switch(R.kind){case 256:case 225:return[createSyntheticExpression(j,getTypeOfSymbol(getSymbolOfNode(R)))];case 163:var $=R.parent;return[createSyntheticExpression(j,R.parent.kind===170?getTypeOfSymbol(getSymbolOfNode($)):Ht),createSyntheticExpression(j,$t),createSyntheticExpression(j,sr)];case 166:case 168:case 171:case 172:var q=R.kind!==166&&Ze!==0;return[createSyntheticExpression(j,getParentTypeOfClassElement(R)),createSyntheticExpression(j,getClassElementPropertyKeyType(R)),createSyntheticExpression(j,q?createTypedPropertyDescriptorType(getTypeOfNode(R)):$t)]}return E.Debug.fail()}function getDecoratorArgumentCount(N,R){switch(N.parent.kind){case 256:case 225:return 1;case 166:return 2;case 168:case 171:case 172:return Ze===0||R.parameters.length<=2?2:3;case 163:return 3;default:return E.Debug.fail()}}function getDiagnosticSpanForCallNode(N,R){var j;var $;var q=E.getSourceFileOfNode(N);if(E.isPropertyAccessExpression(N.expression)){var G=E.getErrorSpanForNode(q,N.expression.name);j=G.start;$=R?G.length:N.end-j}else{var ie=E.getErrorSpanForNode(q,N.expression);j=ie.start;$=R?ie.length:N.end-j}return{start:j,length:$,sourceFile:q}}function getDiagnosticForCallNode(N,R,j,$,q,G){if(E.isCallExpression(N)){var ie=getDiagnosticSpanForCallNode(N),ae=ie.sourceFile,ce=ie.start,le=ie.length;return E.createFileDiagnostic(ae,ce,le,R,j,$,q,G)}else{return E.createDiagnosticForNode(N,R,j,$,q,G)}}function isPromiseResolveArityError(N){if(!E.isCallExpression(N)||!E.isIdentifier(N.expression))return false;var R=resolveName(N.expression,N.expression.escapedText,111551,undefined,undefined,false);var j=R===null||R===void 0?void 0:R.valueDeclaration;if(!j||!E.isParameter(j)||!E.isFunctionExpressionOrArrowFunction(j.parent)||!E.isNewExpression(j.parent.parent)||!E.isIdentifier(j.parent.parent.expression)){return false}var $=getGlobalPromiseConstructorSymbol(false);if(!$)return false;var q=getSymbolAtLocation(j.parent.parent.expression,true);return q===$}function getArgumentArityError(N,R,j){var $;var q=getSpreadArgumentIndex(j);if(q>-1){return E.createDiagnosticForNode(j[q],E.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter)}var G=Number.POSITIVE_INFINITY;var ie=Number.NEGATIVE_INFINITY;var ae=Number.NEGATIVE_INFINITY;var ce=Number.POSITIVE_INFINITY;var le;for(var _e=0,Te=R;_eae)ae=we;if(j.length$){ce=Math.min(ce,Te)}else if(ie<$){ae=Math.max(ae,ie)}}if(ae!==-Infinity&&ce!==Infinity){return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,$,ae,ce)}return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.Expected_0_type_arguments_but_got_1,ae===-Infinity?ce:ae,$)}function resolveCall(N,R,$,q,G,ae){var ce=N.kind===209;var le=N.kind===164;var _e=E.isJsxOpeningLikeElement(N);var Te=!$&&ie;var Ee;if(!le){Ee=N.typeArguments;if(ce||_e||N.expression.kind!==106){E.forEach(Ee,checkSourceElement)}}var we=$||[];reorderCandidates(R,we,G);if(!we.length){if(Te){Ai.add(getDiagnosticForCallNode(N,E.Diagnostics.Call_target_does_not_contain_any_signatures))}return resolveErrorCall(N)}var Ie=getEffectiveCallArguments(N);var Ne=we.length===1&&!we[0].typeParameters;var Me=!le&&!Ne&&E.some(Ie,isContextSensitive)?4:0;var Le;var Be;var je;var Ue;var ze=!!(q&16)&&N.kind===207&&N.arguments.hasTrailingComma;if(we.length>1){Ue=chooseOverload(we,Mi,Ne,ze)}if(!Ue){Ue=chooseOverload(we,Li,Ne,ze)}if(Ue){return Ue}if(Te){if(Le){if(Le.length===1||Le.length>3){var We=Le[Le.length-1];var Je;if(Le.length>3){Je=E.chainDiagnosticMessages(Je,E.Diagnostics.The_last_overload_gave_the_following_error);Je=E.chainDiagnosticMessages(Je,E.Diagnostics.No_overload_matches_this_call)}var Ve=getSignatureApplicabilityError(N,Ie,We,Li,0,true,(function(){return Je}));if(Ve){for(var qe=0,He=Ve;qe3){E.addRelatedInfo(Ge,E.createDiagnosticForNode(We.declaration,E.Diagnostics.The_last_overload_is_declared_here))}addImplementationSuccessElaboration(We,Ge);Ai.add(Ge)}}else{E.Debug.fail("No error for last overload signature")}}else{var Ke=[];var Qe=0;var Xe=Number.MAX_VALUE;var Ye=0;var Ze=0;var _loop_24=function(R){var chain_2=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Ze+1,we.length,signatureToString(R))};var j=getSignatureApplicabilityError(N,Ie,R,Li,0,true,chain_2);if(j){if(j.length<=Xe){Xe=j.length;Ye=Ze}Qe=Math.max(Qe,j.length);Ke.push(j)}else{E.Debug.fail("No error for 3 or fewer overload signatures")}Ze++};for(var et=0,tt=Le;et1?Ke[Ye]:E.flatten(Ke);E.Debug.assert(nt.length>0,"No errors reported for 3 or fewer overload signatures");var it=E.chainDiagnosticMessages(E.map(nt,E.createDiagnosticMessageChainFromDiagnostic),E.Diagnostics.No_overload_matches_this_call);var ot=j([],E.flatMap(nt,(function(E){return E.relatedInformation})),true);var st=void 0;if(E.every(nt,(function(E){return E.start===nt[0].start&&E.length===nt[0].length&&E.file===nt[0].file}))){var ct=nt[0],ut=ct.file,dt=ct.start,pt=ct.length;st={file:ut,start:dt,length:pt,code:it.code,category:it.category,messageText:it,relatedInformation:ot}}else{st=E.createDiagnosticForNodeFromMessageChain(N,it,ot)}addImplementationSuccessElaboration(Le[0],st);Ai.add(st)}}else if(Be){Ai.add(getArgumentArityError(N,[Be],Ie))}else if(je){checkTypeArguments(je,N.typeArguments,true,ae)}else{var ft=E.filter(R,(function(E){return hasCorrectTypeArgumentArity(E,Ee)}));if(ft.length===0){Ai.add(getTypeArgumentArityError(N,R,Ee))}else if(!le){Ai.add(getArgumentArityError(N,ft,Ie))}else if(ae){Ai.add(getDiagnosticForCallNode(N,ae))}}}return getCandidateForOverloadFailure(N,we,Ie,!!$);function addImplementationSuccessElaboration(N,R){var j,$;var q=Le;var G=Be;var ie=je;var ae=(($=(j=N.declaration)===null||j===void 0?void 0:j.symbol)===null||$===void 0?void 0:$.declarations)||E.emptyArray;var ce=ae.length>1;var le=ce?E.find(ae,(function(N){return E.isFunctionLikeDeclaration(N)&&E.nodeIsPresent(N.body)})):undefined;if(le){var _e=getSignatureFromDeclaration(le);var Te=!_e.typeParameters;if(chooseOverload([_e],Li,Te)){E.addRelatedInfo(R,E.createDiagnosticForNode(le,E.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}}Le=q;Be=G;je=ie}function chooseOverload(R,j,$,q){if(q===void 0){q=false}Le=undefined;Be=undefined;je=undefined;if($){var G=R[0];if(E.some(Ee)||!hasCorrectArity(N,Ie,G,q)){return undefined}if(getSignatureApplicabilityError(N,Ie,G,j,0,false,undefined)){Le=[G];return undefined}return G}for(var ie=0;ie0);checkNodeDeferred(N);return $||R.length===1||R.some((function(E){return!!E.typeParameters}))?pickLongestCandidateSignature(N,R,j):createUnionOfSignaturesForOverloadFailure(R)}function createUnionOfSignaturesForOverloadFailure(N){var R=E.mapDefined(N,(function(E){return E.thisParameter}));var j;if(R.length){j=createCombinedSymbolFromTypes(R,R.map(getTypeOfParameter))}var $=E.minAndMax(N,getNumNonRestParameters),q=$.min,G=$.max;var ie=[];var _loop_25=function(R){var j=E.mapDefined(N,(function(N){return signatureHasRestParameter(N)?RN.length){j.pop()}while(j.length=N){return $}if(G>j){j=G;R=$}}return R}function resolveCallExpression(N,R,j){if(N.expression.kind===106){var $=checkSuperExpression(N.expression);if(isTypeAny($)){for(var q=0,G=N.arguments;q=0){error(N.arguments[$],E.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}}var q=checkNonNullExpression(N.expression);if(q===_r){return Vr}q=getApparentType(q);if(isErrorType(q)){return resolveErrorCall(N)}if(isTypeAny(q)){if(N.typeArguments){error(N,E.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments)}return resolveUntypedCall(N)}var G=getSignaturesOfType(q,1);if(G.length){if(!isConstructorAccessible(N,G[0])){return resolveErrorCall(N)}if(G.some((function(E){return E.flags&4}))){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}var ie=q.symbol&&E.getClassLikeDeclarationOfSymbol(q.symbol);if(ie&&E.hasSyntacticModifier(ie,128)){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}var ae=getSignaturesOfType(q,0);if(ae.length){var ce=resolveCall(N,ae,R,j,0);if(!ct){if(ce.declaration&&!isJSConstructor(ce.declaration)&&getReturnTypeOfSignature(ce)!==gr){error(N,E.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword)}if(getThisTypeOfSignature(ce)===gr){error(N,E.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)}}return ce}invocationError(N.expression,q,1);return resolveErrorCall(N)}function typeHasProtectedAccessibleBase(N,R){var j=getBaseTypes(R);if(!E.length(j)){return false}var $=j[0];if($.flags&2097152){var q=$.types;var G=findMixins(q);var ie=0;for(var ae=0,ce=$.types;ae0;if(R.flags&1048576){var ae=R.types;var ce=false;for(var le=0,_e=ae;le<_e.length;le++){var Te=_e[le];var Ee=getSignaturesOfType(Te,j);if(Ee.length!==0){ce=true;if($){break}}else{if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(Te));$=E.chainDiagnosticMessages($,q?E.Diagnostics.Not_all_constituents_of_type_0_are_callable:E.Diagnostics.Not_all_constituents_of_type_0_are_constructable,typeToString(R))}if(ce){break}}}if(!ce){$=E.chainDiagnosticMessages(undefined,q?E.Diagnostics.No_constituent_of_type_0_is_callable:E.Diagnostics.No_constituent_of_type_0_is_constructable,typeToString(R))}if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:E.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,typeToString(R))}}else{$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(R))}var we=q?E.Diagnostics.This_expression_is_not_callable:E.Diagnostics.This_expression_is_not_constructable;if(E.isCallExpression(N.parent)&&N.parent.arguments.length===0){var Ie=getNodeLinks(N).resolvedSymbol;if(Ie&&Ie.flags&32768){we=E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without}}return{messageChain:E.chainDiagnosticMessages($,we),relatedMessage:ie?E.Diagnostics.Did_you_forget_to_use_await:undefined}}function invocationError(N,R,j,$){var q=invocationErrorDetails(N,R,j),G=q.messageChain,ie=q.relatedMessage;var ae=E.createDiagnosticForNodeFromMessageChain(N,G);if(ie){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,ie))}if(E.isCallExpression(N.parent)){var ce=getDiagnosticSpanForCallNode(N.parent,true),le=ce.start,_e=ce.length;ae.start=le;ae.length=_e}Ai.add(ae);invocationErrorRecovery(R,j,$?E.addRelatedInfo(ae,$):ae)}function invocationErrorRecovery(N,R,j){if(!N.symbol){return}var $=getSymbolLinks(N.symbol).originatingImport;if($&&!E.isImportCall($)){var q=getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(N.symbol).target),R);if(!q||!q.length)return;E.addRelatedInfo(j,E.createDiagnosticForNode($,E.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}function resolveTaggedTemplateExpression(N,R,j){var $=checkExpression(N.tag);var q=getApparentType($);if(isErrorType(q)){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(!G.length){if(E.isArrayLiteralExpression(N.parent)){var ae=E.createDiagnosticForNode(N.tag,E.Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);Ai.add(ae);return resolveErrorCall(N)}invocationError(N.tag,q,0);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}function getDiagnosticHeadMessageForDecoratorResolution(N){switch(N.parent.kind){case 256:case 225:return E.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 163:return E.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 166:return E.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 168:case 171:case 172:return E.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return E.Debug.fail()}}function resolveDecorator(N,R,j){var $=checkExpression(N.expression);var q=getApparentType($);if(isErrorType(q)){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(isPotentiallyUncalledDecorator(N,G)){var ae=E.getTextOfNode(N.expression,false);error(N,E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,ae);return resolveErrorCall(N)}var ce=getDiagnosticHeadMessageForDecoratorResolution(N);if(!G.length){var le=invocationErrorDetails(N.expression,q,0);var _e=E.chainDiagnosticMessages(le.messageChain,ce);var Te=E.createDiagnosticForNodeFromMessageChain(N.expression,_e);if(le.relatedMessage){E.addRelatedInfo(Te,E.createDiagnosticForNode(N.expression,le.relatedMessage))}Ai.add(Te);invocationErrorRecovery(q,0,Te);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0,ce)}function createSignatureForJSXIntrinsic(N,R){var j=getJsxNamespaceAt(N);var $=j&&getExportsOfSymbol(j);var q=$&&getSymbol($,Xe.Element,788968);var G=q&&yt.symbolToEntityName(q,788968,N);var ie=E.factory.createFunctionTypeNode(undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"props",undefined,yt.typeToTypeNode(R,N))],G?E.factory.createTypeReferenceNode(G,undefined):E.factory.createKeywordTypeNode(130));var ae=createSymbol(1,"props");ae.type=R;return createSignature(ie,undefined,undefined,[ae],q?getDeclaredTypeOfSymbol(q):Ht,undefined,1,0)}function resolveJsxOpeningLikeElement(N,R,j){if(isJsxIntrinsicIdentifier(N.tagName)){var $=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N);var q=createSignatureForJSXIntrinsic(N,$);checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType(N.attributes,getEffectiveFirstArgumentForJsxSignature(q,N),undefined,0),$,N.tagName,N.attributes);if(E.length(N.typeArguments)){E.forEach(N.typeArguments,checkSourceElement);Ai.add(E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),N.typeArguments,E.Diagnostics.Expected_0_type_arguments_but_got_1,0,E.length(N.typeArguments)))}return q}var G=checkExpression(N.tagName);var ie=getApparentType(G);if(isErrorType(ie)){return resolveErrorCall(N)}var ae=getUninstantiatedJsxSignaturesOfType(G,N);if(isUntypedFunctionCall(G,ie,ae.length,0)){return resolveUntypedCall(N)}if(ae.length===0){error(N.tagName,E.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,E.getTextOfNode(N.tagName));return resolveErrorCall(N)}return resolveCall(N,ae,R,j,0)}function isPotentiallyUncalledDecorator(N,R){return R.length&&E.every(R,(function(E){return E.minArgumentCount===0&&!signatureHasRestParameter(E)&&E.parameters.length1?checkExpressionCached(N.arguments[1]):undefined;for(var q=2;q=j-1){return R===j-1?q:createArrayType(getIndexedAccessType(q,sr))}var G=[];var ie=[];var ae=[];for(var ce=R;ce0){q=N.parameters.length-1+ae}}}if(q===undefined){if(!j&&N.flags&32){return 0}q=N.minArgumentCount}if($){return q}for(var ce=q-1;ce>=0;ce--){var le=getTypeAtPosition(N,ce);if(filterType(le,acceptsVoid).flags&131072){break}q=ce}N.resolvedMinArgumentCount=q}return N.resolvedMinArgumentCount}function hasEffectiveRestParameter(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);return!isTupleType(N)||N.target.hasRestElement}return false}function getEffectiveRestType(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);if(!isTupleType(N)){return N}if(N.target.hasRestElement){return sliceTupleType(N,N.target.fixedLength)}}return undefined}function getNonArrayRestType(E){var N=getEffectiveRestType(E);return N&&!isArrayType(N)&&!isTypeAny(N)&&(getReducedType(N).flags&131072)===0?N:undefined}function getTypeOfFirstParameterOfSignature(E){return getTypeOfFirstParameterOfSignatureWithFallback(E,hr)}function getTypeOfFirstParameterOfSignatureWithFallback(E,N){return E.parameters.length>0?getTypeAtPosition(E,0):N}function inferFromAnnotatedParameters(N,R,j){var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var G=N.parameters[q].valueDeclaration;if(G.type){var ie=E.getEffectiveTypeAnnotationNode(G);if(ie){inferTypes(j.inferences,getTypeFromTypeNode(ie),getTypeAtPosition(R,q))}}}var ae=getEffectiveRestType(R);if(ae&&ae.flags&262144){var ce=instantiateSignature(R,j.nonFixingMapper);assignContextualParameterTypes(N,ce);var le=getParameterCount(R)-1;inferTypes(j.inferences,getRestTypeAtPosition(N,le),ae)}}function assignContextualParameterTypes(N,R){if(R.typeParameters){if(!N.typeParameters){N.typeParameters=R.typeParameters}else{return}}if(R.thisParameter){var j=N.thisParameter;if(!j||j.valueDeclaration&&!j.valueDeclaration.type){if(!j){N.thisParameter=createSymbolWithType(R.thisParameter,undefined)}assignParameterType(N.thisParameter,getTypeOfSymbol(R.thisParameter))}}var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var j=N.parameters[q];if(!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=tryGetTypeAtPosition(R,q);assignParameterType(j,G)}}if(signatureHasRestParameter(N)){var j=E.last(N.parameters);if(E.isTransientSymbol(j)||!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=getRestTypeAtPosition(R,$);assignParameterType(j,G)}}}function assignNonContextualParameterTypes(E){if(E.thisParameter){assignParameterType(E.thisParameter)}for(var N=0,R=E.parameters;N0){G=getUnionType(le,2)}var _e=checkAndAggregateYieldOperandTypes(N,R),Te=_e.yieldTypes,Ee=_e.nextTypes;ie=E.some(Te)?getUnionType(Te,2):undefined;ae=E.some(Ee)?getIntersectionType(Ee):undefined}else{var we=checkAndAggregateReturnExpressionTypes(N,R);if(!we){return j&2?createPromiseReturnType(N,hr):hr}if(we.length===0){return j&2?createPromiseReturnType(N,gr):gr}G=getUnionType(we,2)}if(G||ie||ae){if(ie)reportErrorsFromWidening(N,ie,3);if(G)reportErrorsFromWidening(N,G,1);if(ae)reportErrorsFromWidening(N,ae,2);if(G&&isUnitType(G)||ie&&isUnitType(ie)||ae&&isUnitType(ae)){var Ie=getContextualSignatureForFunctionLikeDeclaration(N);var Ne=!Ie?undefined:Ie===getSignatureFromDeclaration(N)?q?undefined:G:instantiateContextualType(getReturnTypeOfSignature(Ie),N);if(q){ie=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ie,Ne,0,$);G=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(G,Ne,1,$);ae=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ae,Ne,2,$)}else{G=getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(G,Ne,$)}}if(ie)ie=getWidenedType(ie);if(G)G=getWidenedType(G);if(ae)ae=getWidenedType(ae)}if(q){return createGeneratorReturnType(ie||hr,G||ce,ae||getContextualIterationType(2,N)||Xt,$)}else{return $?createPromiseType(G||ce):G||ce}}function createGeneratorReturnType(E,N,R,j){var $=j?Yr:Zr;var q=$.getGlobalGeneratorType(false);E=$.resolveIterationType(E,undefined)||Xt;N=$.resolveIterationType(N,undefined)||Xt;R=$.resolveIterationType(R,undefined)||Xt;if(q===Fr){var G=$.getGlobalIterableIteratorType(false);var ie=G!==Fr?getIterationTypesOfGlobalIterableType(G,$):undefined;var ae=ie?ie.returnType:$t;var ce=ie?ie.nextType:Zt;if(isTypeAssignableTo(N,ae)&&isTypeAssignableTo(ce,R)){if(G!==Fr){return createTypeFromGenericGlobalType(G,[E])}$.getGlobalIterableIteratorType(true);return wr}$.getGlobalGeneratorType(true);return wr}return createTypeFromGenericGlobalType(q,[E,N,R])}function checkAndAggregateYieldOperandTypes(N,R){var j=[];var $=[];var q=(E.getFunctionFlags(N)&2)!==0;E.forEachYieldExpression(N.body,(function(N){var G=N.expression?checkExpression(N.expression,R):er;E.pushIfUnique(j,getYieldedTypeOfYieldExpression(N,G,$t,q));var ie;if(N.asteriskToken){var ae=getIterationTypesOfIterable(G,q?19:17,N.expression);ie=ae&&ae.nextType}else{ie=getContextualType(N)}if(ie)E.pushIfUnique($,ie)}));return{yieldTypes:j,nextTypes:$}}function getYieldedTypeOfYieldExpression(N,R,j,$){var q=N.expression||N;var G=N.asteriskToken?checkIteratedTypeOrElementType($?19:17,R,j,q):R;return!$?G:getAwaitedType(G,q,N.asteriskToken?E.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:E.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function getFactsFromTypeofSwitch(E,N,R,j){var $=0;if(j){for(var q=N;q1&&N.charCodeAt(R-1)>=48&&N.charCodeAt(R-1)<=57)R--;var j=N.slice(0,R);for(var $=1;true;$++){var q=j+$;if(!hasTypeParameterByName(E,q)){return q}}}function getReturnTypeOfSingleNonGenericCallSignature(E){var N=getSingleCallSignature(E);if(N&&!N.typeParameters){return getReturnTypeOfSignature(N)}}function getReturnTypeOfSingleNonGenericSignatureOfCallChain(E){var N=checkExpression(E.expression);var R=getOptionalExpressionType(N,E.expression);var j=getReturnTypeOfSingleNonGenericCallSignature(N);return j&&propagateOptionalTypeMarker(j,E,R!==N)}function getTypeOfExpression(N){var R=getQuickTypeOfExpression(N);if(R){return R}if(N.flags&67108864&&ni){var j=ni[getNodeId(N)];if(j){return j}}var $=ei;var q=checkExpression(N);if(ei!==$){var G=ni||(ni=[]);G[getNodeId(N)]=q;E.setNodeFlags(N,N.flags|67108864)}return q}function getQuickTypeOfExpression(N){var R=E.skipParentheses(N,true);if(E.isJSDocTypeAssertion(R)){var j=E.getJSDocTypeAssertionType(R);if(!E.isConstTypeReference(j)){return getTypeFromTypeNode(j)}}R=E.skipParentheses(N);if(E.isCallExpression(R)&&R.expression.kind!==106&&!E.isRequireCall(R,true)&&!isSymbolOrSymbolForCall(R)){var j=E.isCallChain(R)?getReturnTypeOfSingleNonGenericSignatureOfCallChain(R):getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(R.expression));if(j){return j}}else if(E.isAssertionExpression(R)&&!E.isConstTypeReference(R.type)){return getTypeFromTypeNode(R.type)}else if(N.kind===8||N.kind===10||N.kind===110||N.kind===95){return checkExpression(N)}return undefined}function getContextFreeTypeOfExpression(E){var N=getNodeLinks(E);if(N.contextFreeType){return N.contextFreeType}var R=E.contextualType;E.contextualType=$t;try{var j=N.contextFreeType=checkExpression(E,4);return j}finally{E.contextualType=R}}function checkExpression(N,R,j){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkExpression",{kind:N.kind,pos:N.pos,end:N.end,path:N.tracingPath});var $=He;He=N;We=0;var q=checkExpressionWorker(N,R,j);var G=instantiateTypeWithSingleGenericCallSignature(N,q,R);if(isConstEnumObjectType(G)){checkConstEnumAccess(N,G)}He=$;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}function checkConstEnumAccess(N,R){var j=N.parent.kind===205&&N.parent.expression===N||N.parent.kind===206&&N.parent.expression===N||((N.kind===79||N.kind===160)&&isInRightSideOfImportOrExportAssignment(N)||N.parent.kind===180&&N.parent.exprName===N)||N.parent.kind===274;if(!j){error(N,E.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query)}if(Ye.isolatedModules){E.Debug.assert(!!(R.symbol.flags&128));var $=R.symbol.valueDeclaration;if($.flags&8388608){error(N,E.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}}function checkParenthesizedExpression(N,R){if(E.hasJSDocNodes(N)&&E.isJSDocTypeAssertion(N)){var j=E.getJSDocTypeAssertionType(N);return checkAssertionWorker(j,j,N.expression,R)}return checkExpression(N.expression,R)}function checkExpressionWorker(N,R,j){var $=N.kind;if(_e){switch($){case 225:case 212:case 213:_e.throwIfCancellationRequested()}}switch($){case 79:return checkIdentifier(N,R);case 80:return checkPrivateIdentifierExpression(N);case 108:return checkThisExpression(N);case 106:return checkSuperExpression(N);case 104:return ir;case 14:case 10:return getFreshTypeOfLiteralType(getStringLiteralType(N.text));case 8:checkGrammarNumericLiteral(N);return getFreshTypeOfLiteralType(getNumberLiteralType(+N.text));case 9:checkGrammarBigIntLiteral(N);return getFreshTypeOfLiteralType(getBigIntLiteralType({negative:false,base10Value:E.parsePseudoBigInt(N.text)}));case 110:return dr;case 95:return lr;case 222:return checkTemplateExpression(N);case 13:return _n;case 203:return checkArrayLiteral(N,R,j);case 204:return checkObjectLiteral(N,R);case 205:return checkPropertyAccessExpression(N,R);case 160:return checkQualifiedName(N,R);case 206:return checkIndexedAccess(N,R);case 207:if(N.expression.kind===100){return checkImportCallExpression(N)}case 208:return checkCallExpression(N,R);case 209:return checkTaggedTemplateExpression(N);case 211:return checkParenthesizedExpression(N,R);case 225:return checkClassExpression(N);case 212:case 213:return checkFunctionExpressionOrObjectLiteralMethod(N,R);case 215:return checkTypeOfExpression(N);case 210:case 228:return checkAssertion(N);case 229:return checkNonNullAssertion(N);case 230:return checkMetaProperty(N);case 214:return checkDeleteExpression(N);case 216:return checkVoidExpression(N);case 217:return checkAwaitExpression(N);case 218:return checkPrefixUnaryExpression(N);case 219:return checkPostfixUnaryExpression(N);case 220:return ht(N,R);case 221:return checkConditionalExpression(N,R);case 224:return checkSpreadExpression(N,R);case 226:return er;case 223:return checkYieldExpression(N);case 231:return checkSyntheticExpression(N);case 287:return checkJsxExpression(N,R);case 277:return checkJsxElement(N,R);case 278:return checkJsxSelfClosingElement(N,R);case 281:return checkJsxFragment(N);case 285:return checkJsxAttributes(N,R);case 279:E.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Ht}function checkTypeParameter(N){if(N.expression){grammarErrorOnFirstToken(N.expression,E.Diagnostics.Type_expected)}checkSourceElement(N.constraint);checkSourceElement(N.default);var R=getDeclaredTypeOfTypeParameter(getSymbolOfNode(N));getBaseConstraintOfType(R);if(!hasNonCircularTypeParameterDefault(R)){error(N.default,E.Diagnostics.Type_parameter_0_has_a_circular_default,typeToString(R))}var j=getConstraintOfTypeParameter(R);var $=getDefaultFromTypeParameter(R);if(j&&$){checkTypeAssignableTo($,getTypeWithThisArgument(instantiateType(j,makeUnaryTypeMapper(R,$)),$),N.default,E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Type_parameter_name_cannot_be_0)}}function checkParameter(N){checkGrammarDecoratorsAndModifiers(N);checkVariableLikeDeclaration(N);var R=E.getContainingFunction(N);if(E.hasSyntacticModifier(N,16476)){if(!(R.kind===170&&E.nodeIsPresent(R.body))){error(N,E.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)}if(R.kind===170&&E.isIdentifier(N.name)&&N.name.escapedText==="constructor"){error(N.name,E.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)}}if(N.questionToken&&E.isBindingPattern(N.name)&&R.body){error(N,E.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature)}if(N.name&&E.isIdentifier(N.name)&&(N.name.escapedText==="this"||N.name.escapedText==="new")){if(R.parameters.indexOf(N)!==0){error(N,E.Diagnostics.A_0_parameter_must_be_the_first_parameter,N.name.escapedText)}if(R.kind===170||R.kind===174||R.kind===179){error(N,E.Diagnostics.A_constructor_cannot_have_a_this_parameter)}if(R.kind===213){error(N,E.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)}if(R.kind===171||R.kind===172){error(N,E.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)}}if(N.dotDotDotToken&&!E.isBindingPattern(N.name)&&!isTypeAssignableTo(getReducedType(getTypeOfSymbol(N.symbol)),xn)){error(N,E.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}}function checkTypePredicate(N){var R=getTypePredicateParent(N);if(!R){error(N,E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var j=getSignatureFromDeclaration(R);var $=getTypePredicateOfSignature(j);if(!$){return}checkSourceElement(N.type);var q=N.parameterName;if($.kind===0||$.kind===2){getTypeFromThisTypeNode(q)}else{if($.parameterIndex>=0){if(signatureHasRestParameter(j)&&$.parameterIndex===j.parameters.length-1){error(q,E.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter)}else{if($.type){var leadingError=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};checkTypeAssignableTo($.type,getTypeOfSymbol(j.parameters[$.parameterIndex]),N.type,undefined,leadingError)}}}else if(q){var G=false;for(var ie=0,ae=R.parameters;ie0&&R.declarations[0]!==N){return}}var j=getIndexSymbol(getSymbolOfNode(N));if(j===null||j===void 0?void 0:j.declarations){var $=new E.Map;var _loop_26=function(E){if(E.parameters.length===1&&E.parameters[0].type){forEachType(getTypeFromTypeNode(E.parameters[0].type),(function(N){var R=$.get(getTypeId(N));if(R){R.declarations.push(E)}else{$.set(getTypeId(N),{type:N,declarations:[E]})}}))}};for(var q=0,G=j.declarations;q1){for(var R=0,j=N.declarations;R0}function isAwaitedTypeInstantiation(E){var N;if(E.flags&16777216){var R=getGlobalAwaitedSymbol(false);return!!R&&E.aliasSymbol===R&&((N=E.aliasTypeArguments)===null||N===void 0?void 0:N.length)===1}return false}function unwrapAwaitedType(E){return E.flags&1048576?mapType(E,unwrapAwaitedType):isAwaitedTypeInstantiation(E)?E.aliasTypeArguments[0]:E}function createAwaitedTypeIfNeeded(N){if(isTypeAny(N)){return N}if(isAwaitedTypeInstantiation(N)){return N}if(isGenericObjectType(N)){var R=getBaseConstraintOfType(N);if(!R||R.flags&3||isEmptyObjectType(R)||isThenableType(R)){var j=getGlobalAwaitedSymbol(true);if(j){return getTypeAliasInstantiation(j,[unwrapAwaitedType(N)])}}}E.Debug.assert(getPromisedTypeOfPromise(N)===undefined,"type provided should not be a non-generic 'promise'-like.");return N}function getAwaitedType(E,N,R,j){var $=getAwaitedTypeNoAlias(E,N,R,j);return $&&createAwaitedTypeIfNeeded($)}function getAwaitedTypeNoAlias(N,R,j,$){if(isTypeAny(N)){return N}if(isAwaitedTypeInstantiation(N)){return N}var q=N;if(q.awaitedTypeOfType){return q.awaitedTypeOfType}if(N.flags&1048576){var G=R?function(E){return getAwaitedTypeNoAlias(E,R,j,$)}:getAwaitedTypeNoAlias;return q.awaitedTypeOfType=mapType(N,G)}var ie=getPromisedTypeOfPromise(N);if(ie){if(N.id===ie.id||Di.lastIndexOf(ie.id)>=0){if(R){error(R,E.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method)}return undefined}Di.push(N.id);var ae=getAwaitedTypeNoAlias(ie,R,j,$);Di.pop();if(!ae){return undefined}return q.awaitedTypeOfType=ae}if(isThenableType(N)){if(R){E.Debug.assertIsDefined(j);error(R,j,$)}return undefined}return q.awaitedTypeOfType=N}function checkAsyncFunctionReturnType(N,R){var j=getTypeFromTypeNode(R);if(Ze>=2){if(isErrorType(j)){return}var $=getGlobalPromiseType(true);if($!==Fr&&!isReferenceToType(j,$)){error(R,E.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,typeToString(getAwaitedTypeNoAlias(j)||gr));return}}else{markTypeNodeAsReferenced(R);if(isErrorType(j)){return}var q=E.getEntityNameFromTypeNode(R);if(q===undefined){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,typeToString(j));return}var G=resolveEntityName(q,111551,true);var ie=G?getTypeOfSymbol(G):Ht;if(isErrorType(ie)){if(q.kind===79&&q.escapedText==="Promise"&&getTargetType(j)===getGlobalPromiseType(false)){error(R,E.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option)}else{error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q))}return}var ae=getGlobalPromiseConstructorLikeType(true);if(ae===wr){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q));return}if(!checkTypeAssignableTo(ie,ae,R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value)){return}var ce=q&&E.getFirstIdentifier(q);var le=getSymbol(N.locals,ce.escapedText,111551);if(le){error(le.valueDeclaration,E.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,E.idText(ce),E.entityNameToString(q));return}}checkAwaitedType(j,false,N,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function checkDecorator(N){var R=getResolvedSignature(N);checkDeprecatedSignature(R,N);var j=getReturnTypeOfSignature(R);if(j.flags&1){return}var $;var q;switch(N.parent.kind){case 256:$=E.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;var G=getSymbolOfNode(N.parent);var ie=getTypeOfSymbol(G);q=getUnionType([ie,gr]);break;case 166:case 163:$=E.Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;q=gr;break;case 168:case 171:case 172:$=E.Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;var ae=getTypeOfNode(N.parent);var ce=createTypedPropertyDescriptorType(ae);q=getUnionType([ce,gr]);break;default:return E.Debug.fail()}checkTypeAssignableTo(j,q,N,$)}function markTypeNodeAsReferenced(N){markEntityNameOrEntityExpressionAsReference(N&&E.getEntityNameFromTypeNode(N))}function markEntityNameOrEntityExpressionAsReference(N){if(!N)return;var R=E.getFirstIdentifier(N);var j=(N.kind===79?788968:1920)|2097152;var $=resolveName(R,R.escapedText,j,undefined,undefined,true);if($&&$.flags&2097152&&symbolIsValue($)&&!isConstEnumOrConstEnumOnlyModule(resolveAlias($))&&!getTypeOnlyAliasDeclaration($)){markAliasSymbolAsReferenced($)}}function markDecoratorMedataDataTypeNodeAsReferenced(N){var R=getEntityNameForDecoratorMetadata(N);if(R&&E.isEntityName(R)){markEntityNameOrEntityExpressionAsReference(R)}}function getEntityNameForDecoratorMetadata(E){if(E){switch(E.kind){case 187:case 186:return getEntityNameForDecoratorMetadataFromTypeList(E.types);case 188:return getEntityNameForDecoratorMetadataFromTypeList([E.trueType,E.falseType]);case 190:case 196:return getEntityNameForDecoratorMetadata(E.type);case 177:return E.typeName}}}function getEntityNameForDecoratorMetadataFromTypeList(N){var R;for(var j=0,$=N;j<$.length;j++){var q=$[j];while(q.kind===190||q.kind===196){q=q.type}if(q.kind===143){continue}if(!nt&&(q.kind===195&&q.literal.kind===104||q.kind===152)){continue}var G=getEntityNameForDecoratorMetadata(q);if(!G){return undefined}if(R){if(!E.isIdentifier(R)||!E.isIdentifier(G)||R.escapedText!==G.escapedText){return undefined}}else{R=G}}return R}function getParameterTypeNodeForDecoratorCheck(N){var R=E.getEffectiveTypeAnnotationNode(N);return E.isRestParameter(N)?E.getRestParameterElementType(R):R}function checkDecorators(N){if(!N.decorators){return}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){return}if(!Ye.experimentalDecorators){error(N,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)}var R=N.decorators[0];checkExternalEmitHelpers(R,8);if(N.kind===163){checkExternalEmitHelpers(R,32)}if(Ye.emitDecoratorMetadata){checkExternalEmitHelpers(R,16);switch(N.kind){case 256:var j=E.getFirstConstructorWithBody(N);if(j){for(var $=0,q=j.parameters;$0);if(j.length>1){error(j[1],E.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag)}var $=getIdentifierFromEntityNameExpression(N.class.expression);var q=E.getClassExtendsHeritageElement(R);if(q){var G=getIdentifierFromEntityNameExpression(q.expression);if(G&&$.escapedText!==G.escapedText){error($,E.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,E.idText(N.tagName),E.idText($),E.idText(G))}}}function checkJSDocAccessibilityModifiers(N){var R=E.getJSDocHost(N);if(R&&E.isPrivateIdentifierClassElementDeclaration(R)){error(N,E.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}}function getIdentifierFromEntityNameExpression(E){switch(E.kind){case 79:return E;case 205:return E.name;default:return undefined}}function checkFunctionOrMethodDeclaration(N){var R;checkDecorators(N);checkSignatureDeclaration(N);var j=E.getFunctionFlags(N);if(N.name&&N.name.kind===161){checkComputedPropertyName(N.name)}if(hasBindableName(N)){var $=getSymbolOfNode(N);var q=N.localSymbol||$;var G=(R=q.declarations)===null||R===void 0?void 0:R.find((function(E){return E.kind===N.kind&&!(E.flags&131072)}));if(N===G){checkFunctionOrConstructorSymbol(q)}if($.parent){checkFunctionOrConstructorSymbol($)}}var ae=N.kind===167?undefined:N.body;checkSourceElement(ae);checkAllCodePathsInNonVoidFunctionReturnOrThrow(N,getReturnTypeFromAnnotation(N));if(ie&&!E.getEffectiveReturnTypeNode(N)){if(E.nodeIsMissing(ae)&&!isPrivateWithinAmbient(N)){reportImplicitAny(N,$t)}if(j&1&&E.nodeIsPresent(ae)){getReturnTypeOfSignature(getSignatureFromDeclaration(N))}}if(E.isInJSFile(N)){var ce=E.getJSDocTypeTag(N);if(ce&&ce.typeExpression&&!getContextualCallSignature(getTypeFromTypeNode(ce.typeExpression),N)){error(ce.typeExpression.type,E.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}}function registerForUnusedIdentifiersCheck(N){if(ie){var R=E.getSourceFileOfNode(N);var j=Kn.get(R.path);if(!j){j=[];Kn.set(R.path,j)}j.push(N)}}function checkUnusedIdentifiers(N,R){for(var j=0,$=N;j<$.length;j++){var q=$[j];switch(q.kind){case 256:case 225:checkUnusedClassMembers(q,R);checkUnusedTypeParameters(q,R);break;case 303:case 260:case 234:case 262:case 241:case 242:case 243:checkUnusedLocalsAndParameters(q,R);break;case 170:case 212:case 255:case 213:case 168:case 171:case 172:if(q.body){checkUnusedLocalsAndParameters(q,R)}checkUnusedTypeParameters(q,R);break;case 167:case 173:case 174:case 178:case 179:case 258:case 257:checkUnusedTypeParameters(q,R);break;case 189:checkUnusedInferTypeParameter(q,R);break;default:E.Debug.assertNever(q,"Node should not have been registered for unused identifiers check")}}}function errorUnusedLocal(N,R,j){var $=E.getNameOfDeclaration(N)||N;var q=isTypeDeclaration(N)?E.Diagnostics._0_is_declared_but_never_used:E.Diagnostics._0_is_declared_but_its_value_is_never_read;j(N,0,E.createDiagnosticForNode($,q,R))}function isIdentifierThatStartsWithUnderscore(N){return E.isIdentifier(N)&&E.idText(N).charCodeAt(0)===95}function checkUnusedClassMembers(N,R){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];switch(q.kind){case 168:case 166:case 171:case 172:if(q.kind===172&&q.symbol.flags&32768){break}var G=getSymbolOfNode(q);if(!G.isReferenced&&(E.hasEffectiveModifier(q,8)||E.isNamedDeclaration(q)&&E.isPrivateIdentifier(q.name))&&!(q.flags&8388608)){R(q,0,E.createDiagnosticForNode(q.name,E.Diagnostics._0_is_declared_but_its_value_is_never_read,symbolToString(G)))}break;case 170:for(var ie=0,ae=q.parameters;ie=2||!E.hasRestParameter(N)||N.flags&8388608||E.nodeIsMissing(N.body)){return}E.forEach(N.parameters,(function(N){if(N.name&&!E.isBindingPattern(N.name)&&N.name.escapedText===St.escapedName){errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}}))}function needCollisionCheckForIdentifier(N,R,j){if((R===null||R===void 0?void 0:R.escapedText)!==j){return false}if(N.kind===166||N.kind===165||N.kind===168||N.kind===167||N.kind===171||N.kind===172||N.kind===294){return false}if(N.flags&8388608){return false}if(E.isImportClause(N)||E.isImportEqualsDeclaration(N)||E.isImportSpecifier(N)){if(E.isTypeOnlyImportOrExportDeclaration(N)){return false}}var $=E.getRootDeclaration(N);if(E.isParameter($)&&E.nodeIsMissing($.parent.body)){return false}return true}function checkIfThisIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&4){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference)}return true}return false}))}function checkIfNewTargetIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&8){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference)}return true}return false}))}function checkCollisionWithRequireExportsInGeneratedCode(N,R){if(et>=E.ModuleKind.ES2015&&!(et>=E.ModuleKind.Node12&&E.getSourceFileOfNode(N).impliedNodeFormat===E.ModuleKind.CommonJS)){return}if(!R||!needCollisionCheckForIdentifier(N,R,"require")&&!needCollisionCheckForIdentifier(N,R,"exports")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===303&&E.isExternalOrCommonJsModule(j)){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,E.declarationNameToString(R),E.declarationNameToString(R))}}function checkCollisionWithGlobalPromiseInGeneratedCode(N,R){if(!R||Ze>=4||!needCollisionCheckForIdentifier(N,R,"Promise")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===303&&E.isExternalOrCommonJsModule(j)&&j.flags&2048){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,E.declarationNameToString(R),E.declarationNameToString(R))}}function recordPotentialCollisionWithWeakMapSetInGeneratedCode(E,N){if(Ze<=8&&(needCollisionCheckForIdentifier(E,N,"WeakMap")||needCollisionCheckForIdentifier(E,N,"WeakSet"))){ki.push(E)}}function checkWeakMapSetCollision(N){var R=E.getEnclosingBlockScopeContainer(N);if(getNodeCheckFlags(R)&67108864){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name)&&typeof N.name.escapedText==="string","The target of a WeakMap/WeakSet collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,N.name.escapedText)}}function recordPotentialCollisionWithReflectInGeneratedCode(E,N){if(N&&Ze>=2&&Ze<=8&&needCollisionCheckForIdentifier(E,N,"Reflect")){Ci.push(E)}}function checkReflectCollision(N){var R=false;if(E.isClassExpression(N)){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];if(getNodeCheckFlags(q)&134217728){R=true;break}}}else if(E.isFunctionExpression(N)){if(getNodeCheckFlags(N)&134217728){R=true}}else{var G=E.getEnclosingBlockScopeContainer(N);if(G&&getNodeCheckFlags(G)&134217728){R=true}}if(R){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name),"The target of a Reflect collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,E.declarationNameToString(N.name),"Reflect")}}function checkCollisionsForDeclarationName(N,R){if(!R)return;checkCollisionWithRequireExportsInGeneratedCode(N,R);checkCollisionWithGlobalPromiseInGeneratedCode(N,R);recordPotentialCollisionWithWeakMapSetInGeneratedCode(N,R);recordPotentialCollisionWithReflectInGeneratedCode(N,R);if(E.isClassLike(N)){checkTypeNameIsReserved(R,E.Diagnostics.Class_name_cannot_be_0);if(!(N.flags&8388608)){checkClassNameCollisionWithObject(R)}}else if(E.isEnumDeclaration(N)){checkTypeNameIsReserved(R,E.Diagnostics.Enum_name_cannot_be_0)}}function checkVarDeclaredNamesNotShadowed(N){if((E.getCombinedNodeFlags(N)&3)!==0||E.isParameterDeclaration(N)){return}if(N.kind===253&&!N.initializer){return}var R=getSymbolOfNode(N);if(R.flags&1){if(!E.isIdentifier(N.name))return E.Debug.fail();var j=resolveName(N,N.name.escapedText,3,undefined,undefined,false);if(j&&j!==R&&j.flags&2){if(getDeclarationNodeFlagsFromSymbol(j)&3){var $=E.getAncestor(j.valueDeclaration,254);var q=$.parent.kind===236&&$.parent.parent?$.parent.parent:undefined;var G=q&&(q.kind===234&&E.isFunctionLike(q.parent)||q.kind===261||q.kind===260||q.kind===303);if(!G){var ie=symbolToString(j);error(N,E.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,ie,ie)}}}}}function convertAutoToAny(E){return E===Vt?$t:E===bn?vn:E}function checkVariableLikeDeclaration(N){var R;checkDecorators(N);if(!E.isBindingElement(N)){checkSourceElement(N.type)}if(!N.name){return}if(N.name.kind===161){checkComputedPropertyName(N.name);if(N.initializer){checkExpressionCached(N.initializer)}}if(E.isBindingElement(N)){if(E.isObjectBindingPattern(N.parent)&&N.dotDotDotToken&&Ze<5){checkExternalEmitHelpers(N,4)}if(N.propertyName&&N.propertyName.kind===161){checkComputedPropertyName(N.propertyName)}var j=N.parent.parent;var $=N.dotDotDotToken?32:0;var q=getTypeForBindingElementParent(j,$);var G=N.propertyName||N.name;if(q&&!E.isBindingPattern(G)){var ie=getLiteralTypeFromPropertyName(G);if(isTypeUsableAsPropertyName(ie)){var ae=getPropertyNameFromType(ie);var ce=getPropertyOfType(q,ae);if(ce){markPropertyAsReferenced(ce,undefined,false);checkPropertyAccessibility(N,!!j.initializer&&j.initializer.kind===106,false,q,ce)}}}}if(E.isBindingPattern(N.name)){if(N.name.kind===201&&Ze<2&&Ye.downlevelIteration){checkExternalEmitHelpers(N,512)}E.forEach(N.name.elements,checkSourceElement)}if(N.initializer&&E.isParameterDeclaration(N)&&E.nodeIsMissing(E.getContainingFunction(N).body)){error(N,E.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(E.isBindingPattern(N.name)){var le=N.initializer&&N.parent.parent.kind!==242;var _e=N.name.elements.length===0;if(le||_e){var Te=getWidenedTypeForVariableLikeDeclaration(N);if(le){var Ee=checkExpressionCached(N.initializer);if(nt&&_e){checkNonNullNonVoidType(Ee,N)}else{checkTypeAssignableToAndOptionallyElaborate(Ee,getWidenedTypeForVariableLikeDeclaration(N),N,N.initializer)}}if(_e){if(E.isArrayBindingPattern(N.name)){checkIteratedTypeOrElementType(65,Te,Zt,N)}else if(nt){checkNonNullNonVoidType(Te,N)}}}return}var we=getSymbolOfNode(N);if(we.flags&2097152&&E.isVariableDeclarationInitializedToBareOrAccessedRequire(N)){checkAliasSymbol(N);return}var Ie=convertAutoToAny(getTypeOfSymbol(we));if(N===we.valueDeclaration){var Ne=E.getEffectiveInitializer(N);if(Ne){var Me=E.isInJSFile(N)&&E.isObjectLiteralExpression(Ne)&&(Ne.properties.length===0||E.isPrototypeAccess(N.name))&&!!((R=we.exports)===null||R===void 0?void 0:R.size);if(!Me&&N.parent.parent.kind!==242){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(Ne),Ie,N,Ne,undefined)}}if(we.declarations&&we.declarations.length>1){if(E.some(we.declarations,(function(R){return R!==N&&E.isVariableLike(R)&&!areDeclarationFlagsIdentical(R,N)}))){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}}else{var Le=convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(N));if(!isErrorType(Ie)&&!isErrorType(Le)&&!isTypeIdenticalTo(Ie,Le)&&!(we.flags&67108864)){errorNextVariableOrPropertyDeclarationMustHaveSameType(we.valueDeclaration,Ie,N,Le)}if(N.initializer){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(N.initializer),Le,N,N.initializer,undefined)}if(we.valueDeclaration&&!areDeclarationFlagsIdentical(N,we.valueDeclaration)){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}if(N.kind!==166&&N.kind!==165){checkExportsOnMergedDeclarations(N);if(N.kind===253||N.kind===202){checkVarDeclaredNamesNotShadowed(N)}checkCollisionsForDeclarationName(N,N.name)}}function errorNextVariableOrPropertyDeclarationMustHaveSameType(N,R,j,$){var q=E.getNameOfDeclaration(j);var G=j.kind===166||j.kind===165?E.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:E.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;var ie=E.declarationNameToString(q);var ae=error(q,G,ie,typeToString(R),typeToString($));if(N){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,E.Diagnostics._0_was_also_declared_here,ie))}}function areDeclarationFlagsIdentical(N,R){if(N.kind===163&&R.kind===253||N.kind===253&&R.kind===163){return true}if(E.hasQuestionToken(N)!==E.hasQuestionToken(R)){return false}var j=8|16|256|128|64|32;return E.getSelectedEffectiveModifierFlags(N,j)===E.getSelectedEffectiveModifierFlags(R,j)}function checkVariableDeclaration(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkVariableDeclaration",{kind:N.kind,pos:N.pos,end:N.end,path:N.tracingPath});checkGrammarVariableDeclaration(N);checkVariableLikeDeclaration(N);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkBindingElement(E){checkGrammarBindingElement(E);return checkVariableLikeDeclaration(E)}function checkVariableStatement(N){if(!checkGrammarDecoratorsAndModifiers(N)&&!checkGrammarVariableDeclarationList(N.declarationList))checkGrammarForDisallowedLetOrConstStatement(N);E.forEach(N.declarationList.declarations,checkSourceElement)}function checkExpressionStatement(E){checkGrammarStatementInAmbientContext(E);checkExpression(E.expression)}function checkIfStatement(N){checkGrammarStatementInAmbientContext(N);var R=checkTruthinessExpression(N.expression);checkTestingKnownTruthyCallableOrAwaitableType(N.expression,R,N.thenStatement);checkSourceElement(N.thenStatement);if(N.thenStatement.kind===235){error(N.thenStatement,E.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement)}checkSourceElement(N.elseStatement)}function checkTestingKnownTruthyCallableOrAwaitableType(N,R,j){if(!nt)return;if(getFalsyFlags(R))return;var $=E.isBinaryExpression(N)?N.right:N;if(E.isPropertyAccessExpression($)&&isTypeAssertion($.expression)){return}var q=E.isIdentifier($)?$:E.isPropertyAccessExpression($)?$.name:E.isBinaryExpression($)&&E.isIdentifier($.right)?$.right:undefined;var G=getSignaturesOfType(R,0);var ie=!!getAwaitedTypeOfPromise(R);if(G.length===0&&!ie){return}var ae=q&&getSymbolAtLocation(q);if(!ae&&!ie){return}var ce=ae&&E.isBinaryExpression(N.parent)&&isSymbolUsedInBinaryExpressionChain(N.parent,ae)||ae&&j&&isSymbolUsedInConditionBody(N,j,q,ae);if(!ce){if(ie){errorAndMaybeSuggestAwait($,true,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,getTypeNameForErrorDisplay(R))}else{error($,E.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}function isSymbolUsedInConditionBody(N,R,j,$){return!!E.forEachChild(R,(function check(R){if(E.isIdentifier(R)){var q=getSymbolAtLocation(R);if(q&&q===$){if(E.isIdentifier(N)){return true}var G=j.parent;var ie=R.parent;while(G&&ie){if(E.isIdentifier(G)&&E.isIdentifier(ie)||G.kind===108&&ie.kind===108){return getSymbolAtLocation(G)===getSymbolAtLocation(ie)}else if(E.isPropertyAccessExpression(G)&&E.isPropertyAccessExpression(ie)){if(getSymbolAtLocation(G.name)!==getSymbolAtLocation(ie.name)){return false}ie=ie.expression;G=G.expression}else if(E.isCallExpression(G)&&E.isCallExpression(ie)){ie=ie.expression;G=G.expression}else{return false}}}}return E.forEachChild(R,check)}))}function isSymbolUsedInBinaryExpressionChain(N,R){while(E.isBinaryExpression(N)&&N.operatorToken.kind===55){var j=E.forEachChild(N.right,(function visit(N){if(E.isIdentifier(N)){var j=getSymbolAtLocation(N);if(j&&j===R){return true}}return E.forEachChild(N,visit)}));if(j){return true}N=N.parent}return false}function checkDoStatement(E){checkGrammarStatementInAmbientContext(E);checkSourceElement(E.statement);checkTruthinessExpression(E.expression)}function checkWhileStatement(E){checkGrammarStatementInAmbientContext(E);checkTruthinessExpression(E.expression);checkSourceElement(E.statement)}function checkTruthinessOfType(N,R){if(N.flags&16384){error(R,E.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness)}return N}function checkTruthinessExpression(E,N){return checkTruthinessOfType(checkExpression(E,N),E)}function checkForStatement(N){if(!checkGrammarStatementInAmbientContext(N)){if(N.initializer&&N.initializer.kind===254){checkGrammarVariableDeclarationList(N.initializer)}}if(N.initializer){if(N.initializer.kind===254){E.forEach(N.initializer.declarations,checkVariableDeclaration)}else{checkExpression(N.initializer)}}if(N.condition)checkTruthinessExpression(N.condition);if(N.incrementor)checkExpression(N.incrementor);checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForOfStatement(N){checkGrammarForInOrForOfStatement(N);var R=E.getContainingFunctionOrClassStaticBlock(N);if(N.awaitModifier){if(R&&E.isClassStaticBlockDeclaration(R)){grammarErrorOnNode(N.awaitModifier,E.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block)}else{var j=E.getFunctionFlags(R);if((j&(4|2))===2&&Ze<99){checkExternalEmitHelpers(N,16384)}}}else if(Ye.downlevelIteration&&Ze<2){checkExternalEmitHelpers(N,256)}if(N.initializer.kind===254){checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkRightHandSideOfForOf(N);if($.kind===203||$.kind===204){checkDestructuringAssignment($,q||Ht)}else{var G=checkExpression($);checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access);if(q){checkTypeAssignableToAndOptionallyElaborate(q,G,$,N.expression)}}}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInStatement(N){checkGrammarForInOrForOfStatement(N);var R=getNonNullableTypeIfNeeded(checkExpression(N.expression));if(N.initializer.kind===254){var j=N.initializer.declarations[0];if(j&&E.isBindingPattern(j.name)){error(j.name,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkExpression($);if($.kind===203||$.kind===204){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}else if(!isTypeAssignableTo(getIndexTypeOrString(R),q)){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}else{checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access)}}if(R===hr||!isTypeAssignableToKind(R,67108864|58982400)){error(N.expression,E.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,typeToString(R))}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInOrForOfVariableDeclaration(E){var N=E.initializer;if(N.declarations.length>=1){var R=N.declarations[0];checkVariableDeclaration(R)}}function checkRightHandSideOfForOf(E){var N=E.awaitModifier?15:13;return checkIteratedTypeOrElementType(N,checkNonNullExpression(E.expression),Zt,E.expression)}function checkIteratedTypeOrElementType(E,N,R,j){if(isTypeAny(N)){return N}return getIteratedTypeOrElementType(E,N,R,j,true)||$t}function getIteratedTypeOrElementType(N,R,j,$,q){var G=(N&2)!==0;if(R===hr){reportTypeNotIterableError($,R,G);return undefined}var ie=Ze>=2;var ae=!ie&&Ye.downlevelIteration;var ce=Ye.noUncheckedIndexedAccess&&!!(N&128);if(ie||ae||G){var le=getIterationTypesOfIterable(R,N,ie?$:undefined);if(q){if(le){var _e=N&8?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:N&32?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:N&64?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:N&16?E.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:undefined;if(_e){checkTypeAssignableTo(j,le.nextType,$,_e)}}}if(le||ie){return ce?includeUndefinedInIndexSignature(le&&le.yieldType):le&&le.yieldType}}var Te=R;var Ee=false;var we=false;if(N&4){if(Te.flags&1048576){var Ie=R.types;var Ne=E.filter(Ie,(function(E){return!(E.flags&402653316)}));if(Ne!==Ie){Te=getUnionType(Ne,2)}}else if(Te.flags&402653316){Te=hr}we=Te!==R;if(we){if(Ze<1){if($){error($,E.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);Ee=true}}if(Te.flags&131072){return ce?includeUndefinedInIndexSignature(ar):ar}}}if(!isArrayLikeType(Te)){if($&&!Ee){var Me=!!(N&4)&&!we;var Le=getIterationDiagnosticDetails(Me,ae),Be=Le[0],je=Le[1];errorAndMaybeSuggestAwait($,je&&!!getAwaitedTypeOfPromise(Te),Be,typeToString(Te))}return we?ce?includeUndefinedInIndexSignature(ar):ar:undefined}var Ue=getIndexTypeOfType(Te,sr);if(we&&Ue){if(Ue.flags&402653316&&!Ye.noUncheckedIndexedAccess){return ar}return getUnionType(ce?[Ue,ar,Zt]:[Ue,ar],2)}return N&128?includeUndefinedInIndexSignature(Ue):Ue;function getIterationDiagnosticDetails(j,$){var q;if($){return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]:[E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]}var G=getIterationTypeOfIterable(N,0,R,undefined);if(G){return[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]}if(isES2015OrLaterIterable((q=R.symbol)===null||q===void 0?void 0:q.escapedName)){return[E.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,true]}return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,true]:[E.Diagnostics.Type_0_is_not_an_array_type,true]}}function isES2015OrLaterIterable(E){switch(E){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return true}return false}function getIterationTypeOfIterable(E,N,R,j){if(isTypeAny(R)){return undefined}var $=getIterationTypesOfIterable(R,E,j);return $&&$[getIterationTypesKeyFromIterationTypeKind(N)]}function createIterationTypes(E,N,R){if(E===void 0){E=hr}if(N===void 0){N=hr}if(R===void 0){R=Xt}if(E.flags&67359327&&N.flags&(1|131072|2|16384|32768)&&R.flags&(1|131072|2|16384|32768)){var j=getTypeListId([E,N,R]);var $=Hr.get(j);if(!$){$={yieldType:E,returnType:N,nextType:R};Hr.set(j,$)}return $}return{yieldType:E,returnType:N,nextType:R}}function combineIterationTypes(N){var R;var j;var $;for(var q=0,G=N;q1){for(var Ee=0,we=$;Ee=1&&N.escapedText==="Object"&&(etj){return false}for(var le=0;le=$&&ae.pos<=q){var ce=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent(ce.expression,ce);E.setParent(ce,ae);ce.flowNode=ae.returnFlowNode;var le=getFlowTypeOfReference(ce,R,getOptionalType(R));if(!(getFalsyFlags(le)&32768)){return true}}}return false}function isPropertyInitializedInConstructor(N,R,j){var $=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent($.expression,$);E.setParent($,j);$.flowNode=j.returnFlowNode;var q=getFlowTypeOfReference($,R,getOptionalType(R));return!(getFalsyFlags(q)&32768)}function checkInterfaceDeclaration(N){if(!checkGrammarDecoratorsAndModifiers(N))checkGrammarInterfaceDeclaration(N);checkTypeParameters(N.typeParameters);if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Interface_name_cannot_be_0);checkExportsOnMergedDeclarations(N);var R=getSymbolOfNode(N);checkTypeParameterListsIdentical(R);var j=E.getDeclarationOfKind(R,257);if(N===j){var $=getDeclaredTypeOfSymbol(R);var q=getTypeWithThisArgument($);if(checkInheritedPropertiesAreIdentical($,N.name)){for(var G=0,ae=getBaseTypes($);G>q;case 49:return $>>>q;case 47:return $<1){var $=E.isEnumConst(N);E.forEach(R.declarations,(function(N){if(E.isEnumDeclaration(N)&&E.isEnumConst(N)!==$){error(E.getNameOfDeclaration(N),E.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}}))}var q=false;E.forEach(R.declarations,(function(N){if(N.kind!==259){return false}var R=N;if(!R.members.length){return false}var j=R.members[0];if(!j.initializer){if(q){error(j.name,E.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element)}else{q=true}}}))}}function checkEnumMember(N){if(E.isPrivateIdentifier(N.name)){error(N,E.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}}function getFirstNonAmbientClassOrFunctionDeclaration(N){var R=N.declarations;if(R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if((q.kind===256||q.kind===255&&E.nodeIsPresent(q.body))&&!(q.flags&8388608)){return q}}}return undefined}function inSameLexicalScope(N,R){var j=E.getEnclosingBlockScopeContainer(N);var $=E.getEnclosingBlockScopeContainer(R);if(isGlobalSourceFile(j)){return isGlobalSourceFile($)}else if(isGlobalSourceFile($)){return false}else{return j===$}}function checkModuleDeclaration(N){if(ie){var R=E.isGlobalScopeAugmentation(N);var j=N.flags&8388608;if(R&&!j){error(N.name,E.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context)}var $=E.isAmbientModule(N);var q=$?E.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:E.Diagnostics.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(checkGrammarModuleElementContext(N,q)){return}if(!checkGrammarDecoratorsAndModifiers(N)){if(!j&&N.name.kind===10){grammarErrorOnNode(N.name,E.Diagnostics.Only_ambient_modules_can_use_quoted_names)}}if(E.isIdentifier(N.name)){checkCollisionsForDeclarationName(N,N.name)}checkExportsOnMergedDeclarations(N);var G=getSymbolOfNode(N);if(G.flags&512&&!j&&G.declarations&&G.declarations.length>1&&isInstantiatedModule(N,E.shouldPreserveConstEnums(Ye))){var ae=getFirstNonAmbientClassOrFunctionDeclaration(G);if(ae){if(E.getSourceFileOfNode(N)!==E.getSourceFileOfNode(ae)){error(N.name,E.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged)}else if(N.pos=E.ModuleKind.ES2015&&E.getSourceFileOfNode(N).impliedNodeFormat===undefined&&!N.isTypeOnly&&!(N.flags&8388608)){grammarErrorOnNode(N,E.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}}}}function checkExportDeclaration(N){if(checkGrammarModuleElementContext(N,E.isInJSFile(N)?E.Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:E.Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){return}if(!checkGrammarDecoratorsAndModifiers(N)&&E.hasEffectiveModifiers(N)){grammarErrorOnFirstToken(N,E.Diagnostics.An_export_declaration_cannot_have_modifiers)}if(N.moduleSpecifier&&N.exportClause&&E.isNamedExports(N.exportClause)&&E.length(N.exportClause.elements)&&Ze===0){checkExternalEmitHelpers(N,4194304)}checkGrammarExportDeclaration(N);if(!N.moduleSpecifier||checkExternalImportOrExportDeclaration(N)){if(N.exportClause&&!E.isNamespaceExport(N.exportClause)){E.forEach(N.exportClause.elements,checkExportSpecifier);var R=N.parent.kind===261&&E.isAmbientModule(N.parent.parent);var j=!R&&N.parent.kind===261&&!N.moduleSpecifier&&N.flags&8388608;if(N.parent.kind!==303&&!R&&!j){error(N,E.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}}else{var $=resolveExternalModuleName(N,N.moduleSpecifier);if($&&hasExportAssignmentSymbol($)){error(N.moduleSpecifier,E.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,symbolToString($))}else if(N.exportClause){checkAliasSymbol(N.exportClause)}if(et!==E.ModuleKind.System&&(et=E.ModuleKind.ES2015&&E.getSourceFileOfNode(N).impliedNodeFormat!==E.ModuleKind.CommonJS){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead)}else if(et===E.ModuleKind.System){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system)}}}function hasExportedMembers(N){return E.forEachEntry(N.exports,(function(E,N){return N!=="export="}))}function checkExternalModuleExports(N){var R=getSymbolOfNode(N);var j=getSymbolLinks(R);if(!j.exportsChecked){var $=R.exports.get("export=");if($&&hasExportedMembers(R)){var q=getDeclarationOfAliasSymbol($)||$.valueDeclaration;if(q&&!isTopLevelInExternalModuleAugmentation(q)&&!E.isInJSFile(q)){error(q,E.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}}var G=getExportsOfModule(R);if(G){G.forEach((function(N,R){var j=N.declarations,$=N.flags;if(R==="__export"){return}if($&(1920|64|384)){return}var q=E.countWhere(j,Ve);if($&524288&&q<=2){return}if(q>1){if(!isDuplicatedCommonJSExport(j)){for(var G=0,ie=j;G1&&N.every((function(N){return E.isInJSFile(N)&&E.isAccessExpression(N)&&(E.isExportsIdentifier(N.expression)||E.isModuleExportsAccessExpression(N.expression))}))}function checkSourceElement(E){if(E){var N=He;He=E;We=0;checkSourceElementWorker(E);He=N}}function checkSourceElementWorker(N){if(E.isInJSFile(N)){E.forEach(N.jsDoc,(function(N){var R=N.tags;return E.forEach(R,checkSourceElement)}))}var R=N.kind;if(_e){switch(R){case 260:case 256:case 257:case 255:_e.throwIfCancellationRequested()}}if(R>=236&&R<=252&&N.flowNode&&!isReachableFlowNode(N.flowNode)){errorOrSuggestion(Ye.allowUnreachableCode===false,N,E.Diagnostics.Unreachable_code_detected)}switch(R){case 162:return checkTypeParameter(N);case 163:return checkParameter(N);case 166:return checkPropertyDeclaration(N);case 165:return checkPropertySignature(N);case 179:case 178:case 173:case 174:case 175:return checkSignatureDeclaration(N);case 168:case 167:return checkMethodDeclaration(N);case 169:return checkClassStaticBlockDeclaration(N);case 170:return checkConstructorDeclaration(N);case 171:case 172:return checkAccessorDeclaration(N);case 177:return checkTypeReferenceNode(N);case 176:return checkTypePredicate(N);case 180:return checkTypeQuery(N);case 181:return checkTypeLiteral(N);case 182:return checkArrayType(N);case 183:return checkTupleType(N);case 186:case 187:return checkUnionOrIntersectionType(N);case 190:case 184:case 185:return checkSourceElement(N.type);case 191:return checkThisType(N);case 192:return checkTypeOperator(N);case 188:return checkConditionalType(N);case 189:return checkInferType(N);case 197:return checkTemplateLiteralType(N);case 199:return checkImportType(N);case 196:return checkNamedTupleMember(N);case 326:return checkJSDocAugmentsTag(N);case 327:return checkJSDocImplementsTag(N);case 343:case 336:case 337:return checkJSDocTypeAliasTag(N);case 342:return checkJSDocTemplateTag(N);case 341:return checkJSDocTypeTag(N);case 338:return checkJSDocParameterTag(N);case 345:return checkJSDocPropertyTag(N);case 315:checkJSDocFunctionType(N);case 313:case 312:case 310:case 311:case 320:checkJSDocTypeIsInJsFile(N);E.forEachChild(N,checkSourceElement);return;case 316:checkJSDocVariadicType(N);return;case 307:return checkSourceElement(N.type);case 331:case 333:case 332:return checkJSDocAccessibilityModifiers(N);case 193:return checkIndexedAccessType(N);case 194:return checkMappedType(N);case 255:return checkFunctionDeclaration(N);case 234:case 261:return checkBlock(N);case 236:return checkVariableStatement(N);case 237:return checkExpressionStatement(N);case 238:return checkIfStatement(N);case 239:return checkDoStatement(N);case 240:return checkWhileStatement(N);case 241:return checkForStatement(N);case 242:return checkForInStatement(N);case 243:return checkForOfStatement(N);case 244:case 245:return checkBreakOrContinueStatement(N);case 246:return checkReturnStatement(N);case 247:return checkWithStatement(N);case 248:return checkSwitchStatement(N);case 249:return checkLabeledStatement(N);case 250:return checkThrowStatement(N);case 251:return checkTryStatement(N);case 253:return checkVariableDeclaration(N);case 202:return checkBindingElement(N);case 256:return checkClassDeclaration(N);case 257:return checkInterfaceDeclaration(N);case 258:return checkTypeAliasDeclaration(N);case 259:return checkEnumDeclaration(N);case 260:return checkModuleDeclaration(N);case 265:return checkImportDeclaration(N);case 264:return checkImportEqualsDeclaration(N);case 271:return checkExportDeclaration(N);case 270:return checkExportAssignment(N);case 235:case 252:checkGrammarStatementInAmbientContext(N);return;case 275:return checkMissingDeclaration(N)}}function checkJSDocTypeIsInJsFile(N){if(!E.isInJSFile(N)){grammarErrorOnNode(N,E.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}}function checkJSDocVariadicType(N){checkJSDocTypeIsInJsFile(N);checkSourceElement(N.type);var R=N.parent;if(E.isParameter(R)&&E.isJSDocFunctionType(R.parent)){if(E.last(R.parent.parameters)!==R){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}return}if(!E.isJSDocTypeExpression(R)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}var j=N.parent.parent;if(!E.isJSDocParameterTag(j)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var $=E.getParameterSymbolFromJSDoc(j);if(!$){return}var q=E.getHostSignatureFromJSDoc(j);if(!q||E.last(q.parameters).symbol!==$){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function getTypeFromJSDocVariadicType(N){var R=getTypeFromTypeNode(N.type);var j=N.parent;var $=N.parent.parent;if(E.isJSDocTypeExpression(N.parent)&&E.isJSDocParameterTag($)){var q=E.getHostSignatureFromJSDoc($);var G=E.isJSDocCallbackTag($.parent.parent);if(q||G){var ie=G?E.lastOrUndefined($.parent.parent.typeExpression.parameters):E.lastOrUndefined(q.parameters);var ae=E.getParameterSymbolFromJSDoc($);if(!ie||ae&&ie.symbol===ae&&E.isRestParameter(ie)){return createArrayType(R)}}}if(E.isParameter(j)&&E.isJSDocFunctionType(j.parent)){return createArrayType(R)}return addOptionality(R)}function checkNodeDeferred(N){var R=E.getSourceFileOfNode(N);var j=getNodeLinks(R);if(!(j.flags&1)){j.deferredNodes||(j.deferredNodes=new E.Set);j.deferredNodes.add(N)}}function checkDeferredNodes(E){var N=getNodeLinks(E);if(N.deferredNodes){N.deferredNodes.forEach(checkDeferredNode)}}function checkDeferredNode(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkDeferredNode",{kind:N.kind,pos:N.pos,end:N.end,path:N.tracingPath});var R=He;He=N;We=0;switch(N.kind){case 207:case 208:case 209:case 164:case 279:resolveUntypedCall(N);break;case 212:case 213:case 168:case 167:checkFunctionExpressionOrObjectLiteralMethodDeferred(N);break;case 171:case 172:checkAccessorDeclaration(N);break;case 225:checkClassExpressionDeferred(N);break;case 278:checkJsxSelfClosingElementDeferred(N);break;case 277:checkJsxElementDeferred(N);break}He=R;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkSourceFile(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkSourceFile",{path:N.path},true);E.performance.mark("beforeCheck");checkSourceFileWorker(N);E.performance.mark("afterCheck");E.performance.measure("Check","beforeCheck","afterCheck");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function unusedIsError(N,R){if(R){return false}switch(N){case 0:return!!Ye.noUnusedLocals;case 1:return!!Ye.noUnusedParameters;default:return E.Debug.assertNever(N)}}function getPotentiallyUnusedIdentifiers(N){return Kn.get(N.path)||E.emptyArray}function checkSourceFileWorker(N){var R=getNodeLinks(N);if(!(R.flags&1)){if(E.skipTypeChecking(N,Ye,q)){return}checkGrammarSourceFile(N);E.clear(Ti);E.clear(Ei);E.clear(ki);E.clear(Ci);E.forEach(N.statements,checkSourceElement);checkSourceElement(N.endOfFileToken);checkDeferredNodes(N);if(E.isExternalOrCommonJsModule(N)){registerForUnusedIdentifiersCheck(N)}if(!N.isDeclarationFile&&(Ye.noUnusedLocals||Ye.noUnusedParameters)){checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(N),(function(N,R,j){if(!E.containsParseError(N)&&unusedIsError(R,!!(N.flags&8388608))){Ai.add(j)}}))}if(Ye.importsNotUsedAsValues===2&&!N.isDeclarationFile&&E.isExternalModule(N)){checkImportsForTypeOnlyConversion(N)}if(E.isExternalOrCommonJsModule(N)){checkExternalModuleExports(N)}if(Ti.length){E.forEach(Ti,checkIfThisIsCapturedInEnclosingScope);E.clear(Ti)}if(Ei.length){E.forEach(Ei,checkIfNewTargetIsCapturedInEnclosingScope);E.clear(Ei)}if(ki.length){E.forEach(ki,checkWeakMapSetCollision);E.clear(ki)}if(Ci.length){E.forEach(Ci,checkReflectCollision);E.clear(Ci)}R.flags|=1}}function getDiagnostics(E,N){try{_e=N;return getDiagnosticsWorker(E)}finally{_e=undefined}}function getDiagnosticsWorker(N){throwIfNonDiagnosticsProducing();if(N){var R=Ai.getGlobalDiagnostics();var j=R.length;checkSourceFile(N);var $=Ai.getDiagnostics(N.fileName);var G=Ai.getGlobalDiagnostics();if(G!==R){var ie=E.relativeComplement(R,G,E.compareDiagnostics);return E.concatenate(ie,$)}else if(j===0&&G.length>0){return E.concatenate(G,$)}return $}E.forEach(q.getSourceFiles(),checkSourceFile);return Ai.getDiagnostics()}function getGlobalDiagnostics(){throwIfNonDiagnosticsProducing();return Ai.getGlobalDiagnostics()}function throwIfNonDiagnosticsProducing(){if(!ie){throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}}function getSymbolsInScope(N,R){if(N.flags&16777216){return[]}var j=E.createSymbolTable();var $=false;populateSymbols();j.delete("this");return symbolsToArray(j);function populateSymbols(){while(N){if(N.locals&&!isGlobalSourceFile(N)){copySymbols(N.locals,R)}switch(N.kind){case 303:if(!E.isExternalModule(N))break;case 260:copyLocallyVisibleExportSymbols(getSymbolOfNode(N).exports,R&2623475);break;case 259:copySymbols(getSymbolOfNode(N).exports,R&8);break;case 225:var j=N.name;if(j){copySymbol(N.symbol,R)}case 256:case 257:if(!$){copySymbols(getMembersOfSymbol(getSymbolOfNode(N)),R&788968)}break;case 212:var q=N.name;if(q){copySymbol(N.symbol,R)}break}if(E.introducesArgumentsExoticObject(N)){copySymbol(St,R)}$=E.isStatic(N);N=N.parent}copySymbols(vt,R)}function copySymbol(N,R){if(E.getCombinedLocalAndExportSymbolFlags(N)&R){var $=N.escapedName;if(!j.has($)){j.set($,N)}}}function copySymbols(E,N){if(N){E.forEach((function(E){copySymbol(E,N)}))}}function copyLocallyVisibleExportSymbols(N,R){if(R){N.forEach((function(N){if(!E.getDeclarationOfKind(N,274)&&!E.getDeclarationOfKind(N,273)){copySymbol(N,R)}}))}}}function isTypeDeclarationName(N){return N.kind===79&&isTypeDeclaration(N.parent)&&E.getNameOfDeclaration(N.parent)===N}function isTypeDeclaration(E){switch(E.kind){case 162:case 256:case 257:case 258:case 259:case 343:case 336:case 337:return true;case 266:return E.isTypeOnly;case 269:case 274:return E.parent.parent.isTypeOnly;default:return false}}function isTypeReferenceIdentifier(E){while(E.parent.kind===160){E=E.parent}return E.parent.kind===177}function isHeritageClauseElementIdentifier(E){while(E.parent.kind===205){E=E.parent}return E.parent.kind===227}function forEachEnclosingClass(N,R){var j;while(true){N=E.getContainingClass(N);if(!N)break;if(j=R(N))break}return j}function isNodeUsedDuringClassInitialization(N){return!!E.findAncestor(N,(function(N){if(E.isConstructorDeclaration(N)&&E.nodeIsPresent(N.body)||E.isPropertyDeclaration(N)){return true}else if(E.isClassLike(N)||E.isFunctionLikeDeclaration(N)){return"quit"}return false}))}function isNodeWithinClass(E,N){return!!forEachEnclosingClass(E,(function(E){return E===N}))}function getLeftSideOfImportEqualsOrExportAssignment(E){while(E.parent.kind===160){E=E.parent}if(E.parent.kind===264){return E.parent.moduleReference===E?E.parent:undefined}if(E.parent.kind===270){return E.parent.expression===E?E.parent:undefined}return undefined}function isInRightSideOfImportOrExportAssignment(E){return getLeftSideOfImportEqualsOrExportAssignment(E)!==undefined}function getSpecialPropertyAssignmentSymbolFromEntityName(N){var R=E.getAssignmentDeclarationKind(N.parent.parent);switch(R){case 1:case 3:return getSymbolOfNode(N.parent);case 4:case 2:case 5:return getSymbolOfNode(N.parent.parent)}}function isImportTypeQualifierPart(N){var R=N.parent;while(E.isQualifiedName(R)){N=R;R=R.parent}if(R&&R.kind===199&&R.qualifier===N){return R}return undefined}function getSymbolOfNameOrPropertyAccessExpression(N){if(E.isDeclarationName(N)){return getSymbolOfNode(N.parent)}if(E.isInJSFile(N)&&N.parent.kind===205&&N.parent===N.parent.parent.left){if(!E.isPrivateIdentifier(N)&&!E.isJSDocMemberName(N)){var R=getSpecialPropertyAssignmentSymbolFromEntityName(N);if(R){return R}}}if(N.parent.kind===270&&E.isEntityNameExpression(N)){var j=resolveEntityName(N,111551|788968|1920|2097152,true);if(j&&j!==Ut){return j}}else if(E.isEntityName(N)&&isInRightSideOfImportOrExportAssignment(N)){var $=E.getAncestor(N,264);E.Debug.assert($!==undefined);return getSymbolOfPartOfRightHandSideOfImportEquals(N,true)}if(E.isEntityName(N)){var q=isImportTypeQualifierPart(N);if(q){getTypeFromTypeNode(q);var G=getNodeLinks(N).resolvedSymbol;return G===Ut?undefined:G}}while(E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N)){N=N.parent}if(isHeritageClauseElementIdentifier(N)){var ie=0;if(N.parent.kind===227){ie=788968;if(E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)){ie|=111551}}else{ie=1920}ie|=2097152;var ae=E.isEntityNameExpression(N)?resolveEntityName(N,ie):undefined;if(ae){return ae}}if(N.parent.kind===338){return E.getParameterSymbolFromJSDoc(N.parent)}if(N.parent.kind===162&&N.parent.parent.kind===342){E.Debug.assert(!E.isInJSFile(N));var ce=E.getTypeParameterFromJsDoc(N.parent);return ce&&ce.symbol}if(E.isExpressionNode(N)){if(E.nodeIsMissing(N)){return undefined}var le=E.findAncestor(N,E.or(E.isJSDocLinkLike,E.isJSDocNameReference,E.isJSDocMemberName));var ie=le?788968|1920|111551:111551;if(N.kind===79){if(E.isJSXTagName(N)&&isJsxIntrinsicIdentifier(N)){var _e=getIntrinsicTagSymbol(N.parent);return _e===Ut?undefined:_e}var Te=resolveEntityName(N,ie,false,!le,E.getHostSignatureFromJSDoc(N));if(!Te&&le){var Ee=E.findAncestor(N,E.or(E.isClassLike,E.isInterfaceDeclaration));if(Ee){return resolveJSDocMemberName(N,getSymbolOfNode(Ee))}}return Te}else if(E.isPrivateIdentifier(N)){return getSymbolForPrivateIdentifierExpression(N)}else if(N.kind===205||N.kind===160){var we=getNodeLinks(N);if(we.resolvedSymbol){return we.resolvedSymbol}if(N.kind===205){checkPropertyAccessExpression(N,0)}else{checkQualifiedName(N,0)}if(!we.resolvedSymbol&&le&&E.isQualifiedName(N)){return resolveJSDocMemberName(N)}return we.resolvedSymbol}else if(E.isJSDocMemberName(N)){return resolveJSDocMemberName(N)}}else if(isTypeReferenceIdentifier(N)){var ie=N.parent.kind===177?788968:1920;var _e=resolveEntityName(N,ie,false,true);return _e&&_e!==Ut?_e:getUnresolvedSymbolForEntityName(N)}if(N.parent.kind===176){return resolveEntityName(N,1)}return undefined}function resolveJSDocMemberName(N,R){if(E.isEntityName(N)){var j=788968|1920|111551;var $=resolveEntityName(N,j,false,true,E.getHostSignatureFromJSDoc(N));if(!$&&E.isIdentifier(N)&&R){$=getMergedSymbol(getSymbol(getExportsOfSymbol(R),N.escapedText,j))}if($){return $}}var q=E.isIdentifier(N)?R:resolveJSDocMemberName(N.left);var G=E.isIdentifier(N)?N.escapedText:N.right.escapedText;if(q){var ie=q.flags&111551&&getPropertyOfType(getTypeOfSymbol(q),"prototype");var ae=ie?getTypeOfSymbol(ie):getDeclaredTypeOfSymbol(q);return getPropertyOfType(ae,G)}}function getSymbolAtLocation(N,R){if(N.kind===303){return E.isExternalModule(N)?getMergedSymbol(N.symbol):undefined}var j=N.parent;var $=j.parent;if(N.flags&16777216){return undefined}if(isDeclarationNameOrImportPropertyName(N)){var q=getSymbolOfNode(j);return E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N?getImmediateAliasedSymbol(q):q}else if(E.isLiteralComputedPropertyDeclarationName(N)){return getSymbolOfNode(j.parent)}if(N.kind===79){if(isInRightSideOfImportOrExportAssignment(N)){return getSymbolOfNameOrPropertyAccessExpression(N)}else if(j.kind===202&&$.kind===200&&N===j.propertyName){var G=getTypeOfNode($);var ie=getPropertyOfType(G,N.escapedText);if(ie){return ie}}else if(E.isMetaProperty(j)){var ae=getTypeOfNode(j);var ie=getPropertyOfType(ae,N.escapedText);if(ie){return ie}if(j.keywordToken===103){return checkNewTargetMetaProperty(j).symbol}}}switch(N.kind){case 79:case 80:case 205:case 160:if(!E.isThisInTypeQuery(N)){return getSymbolOfNameOrPropertyAccessExpression(N)}case 108:var ce=E.getThisContainer(N,false);if(E.isFunctionLike(ce)){var le=getSignatureFromDeclaration(ce);if(le.thisParameter){return le.thisParameter}}if(E.isInExpressionContext(N)){return checkExpression(N).symbol}case 191:return getTypeFromThisTypeNode(N).symbol;case 106:return checkExpression(N).symbol;case 134:var _e=N.parent;if(_e&&_e.kind===170){return _e.parent.symbol}return undefined;case 10:case 14:if(E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N||(N.parent.kind===265||N.parent.kind===271)&&N.parent.moduleSpecifier===N||(E.isInJSFile(N)&&E.isRequireCall(N.parent,false)||E.isImportCall(N.parent))||E.isLiteralTypeNode(N.parent)&&E.isLiteralImportTypeNode(N.parent.parent)&&N.parent.parent.argument===N.parent){return resolveExternalModuleName(N,N,R)}if(E.isCallExpression(j)&&E.isBindableObjectDefinePropertyCall(j)&&j.arguments[1]===N){return getSymbolOfNode(j)}case 8:var Te=E.isElementAccessExpression(j)?j.argumentExpression===N?getTypeOfExpression(j.expression):undefined:E.isLiteralTypeNode(j)&&E.isIndexedAccessTypeNode($)?getTypeFromTypeNode($.objectType):undefined;return Te&&getPropertyOfType(Te,E.escapeLeadingUnderscores(N.text));case 88:case 98:case 38:case 84:return getSymbolOfNode(N.parent);case 199:return E.isLiteralImportTypeNode(N)?getSymbolAtLocation(N.argument.literal,R):undefined;case 93:return E.isExportAssignment(N.parent)?E.Debug.checkDefined(N.parent.symbol):undefined;case 100:case 103:return E.isMetaProperty(N.parent)?checkMetaPropertyKeyword(N.parent).symbol:undefined;case 230:return checkExpression(N).symbol;default:return undefined}}function getIndexInfosAtLocation(N){if(E.isIdentifier(N)&&E.isPropertyAccessExpression(N.parent)&&N.parent.name===N){var R=getLiteralTypeFromPropertyName(N);var j=getTypeOfExpression(N.parent.expression);var $=j.flags&1048576?j.types:[j];return E.flatMap($,(function(N){return E.filter(getIndexInfosOfType(N),(function(E){return isApplicableIndexType(R,E.keyType)}))}))}return undefined}function getShorthandAssignmentValueSymbol(E){if(E&&E.kind===295){return resolveEntityName(E.name,111551|2097152)}return undefined}function getExportSpecifierLocalTargetSymbol(N){if(E.isExportSpecifier(N)){return N.parent.parent.moduleSpecifier?getExternalModuleMember(N.parent.parent,N):resolveEntityName(N.propertyName||N.name,111551|788968|1920|2097152)}else{return resolveEntityName(N,111551|788968|1920|2097152)}}function getTypeOfNode(N){if(E.isSourceFile(N)&&!E.isExternalModule(N)){return Ht}if(N.flags&16777216){return Ht}var R=E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N);var j=R&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(R.class));if(E.isPartOfTypeNode(N)){var $=getTypeFromTypeNode(N);return j?getTypeWithThisArgument($,j.thisType):$}if(E.isExpressionNode(N)){return getRegularTypeOfExpression(N)}if(j&&!R.isImplements){var q=E.firstOrUndefined(getBaseTypes(j));return q?getTypeWithThisArgument(q,j.thisType):Ht}if(isTypeDeclaration(N)){var G=getSymbolOfNode(N);return getDeclaredTypeOfSymbol(G)}if(isTypeDeclarationName(N)){var G=getSymbolAtLocation(N);return G?getDeclaredTypeOfSymbol(G):Ht}if(E.isDeclaration(N)){var G=getSymbolOfNode(N);return getTypeOfSymbol(G)}if(isDeclarationNameOrImportPropertyName(N)){var G=getSymbolAtLocation(N);if(G){return getTypeOfSymbol(G)}return Ht}if(E.isBindingPattern(N)){return getTypeForVariableLikeDeclaration(N.parent,true,0)||Ht}if(isInRightSideOfImportOrExportAssignment(N)){var G=getSymbolAtLocation(N);if(G){var ie=getDeclaredTypeOfSymbol(G);return!isErrorType(ie)?ie:getTypeOfSymbol(G)}}if(E.isMetaProperty(N.parent)&&N.parent.keywordToken===N.kind){return checkMetaPropertyKeyword(N.parent)}return Ht}function getTypeOfAssignmentPattern(N){E.Debug.assert(N.kind===204||N.kind===203);if(N.parent.kind===243){var R=checkRightHandSideOfForOf(N.parent);return checkDestructuringAssignment(N,R||Ht)}if(N.parent.kind===220){var R=getTypeOfExpression(N.parent.right);return checkDestructuringAssignment(N,R||Ht)}if(N.parent.kind===294){var j=E.cast(N.parent.parent,E.isObjectLiteralExpression);var $=getTypeOfAssignmentPattern(j)||Ht;var q=E.indexOfNode(j.properties,N.parent);return checkObjectLiteralDestructuringPropertyAssignment(j,$,q)}var G=E.cast(N.parent,E.isArrayLiteralExpression);var ie=getTypeOfAssignmentPattern(G)||Ht;var ae=checkIteratedTypeOrElementType(65,ie,Zt,N.parent)||Ht;return checkArrayLiteralDestructuringElementAssignment(G,ie,G.elements.indexOf(N),ae)}function getPropertySymbolOfDestructuringAssignment(N){var R=getTypeOfAssignmentPattern(E.cast(N.parent.parent,E.isAssignmentPattern));return R&&getPropertyOfType(R,N.escapedText)}function getRegularTypeOfExpression(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return getRegularTypeOfLiteralType(getTypeOfExpression(N))}function getParentTypeOfClassElement(N){var R=getSymbolOfNode(N.parent);return E.isStatic(N)?getTypeOfSymbol(R):getDeclaredTypeOfSymbol(R)}function getClassElementPropertyKeyType(N){var R=N.name;switch(R.kind){case 79:return getStringLiteralType(E.idText(R));case 8:case 10:return getStringLiteralType(R.text);case 161:var j=checkComputedPropertyName(R);return isTypeAssignableToKind(j,12288)?j:ar;default:return E.Debug.fail("Unsupported property name.")}}function getAugmentedPropertiesOfType(N){N=getApparentType(N);var R=E.createSymbolTable(getPropertiesOfType(N));var j=getSignaturesOfType(N,0).length?ln:getSignaturesOfType(N,1).length?un:undefined;if(j){E.forEach(getPropertiesOfType(j),(function(E){if(!R.has(E.escapedName)){R.set(E.escapedName,E)}}))}return getNamedMembers(R)}function typeHasCallOrConstructSignatures(N){return E.typeHasCallOrConstructSignatures(N,kt)}function getRootSymbols(N){var R=getImmediateRootSymbols(N);return R?E.flatMap(R,getRootSymbols):[N]}function getImmediateRootSymbols(N){if(E.getCheckFlags(N)&6){return E.mapDefined(getSymbolLinks(N).containingType.types,(function(E){return getPropertyOfType(E,N.escapedName)}))}else if(N.flags&33554432){var R=N,j=R.leftSpread,$=R.rightSpread,q=R.syntheticOrigin;return j?[j,$]:q?[q]:E.singleElementArray(tryGetAliasTarget(N))}return undefined}function tryGetAliasTarget(E){var N;var R=E;while(R=getSymbolLinks(R).target){N=R}return N}function isArgumentsLocalBinding(N){if(E.isGeneratedIdentifier(N))return false;var R=E.getParseTreeNode(N,E.isIdentifier);if(!R)return false;var j=R.parent;if(!j)return false;var $=(E.isPropertyAccessExpression(j)||E.isPropertyAssignment(j))&&j.name===R;return!$&&getReferencedValueSymbol(R)===St}function moduleExportsSomeValue(N){var R=resolveExternalModuleName(N.parent,N);if(!R||E.isShorthandAmbientModuleSymbol(R)){return true}var j=hasExportAssignmentSymbol(R);R=resolveExternalModuleSymbol(R);var $=getSymbolLinks(R);if($.exportsSomeValue===undefined){$.exportsSomeValue=j?!!(R.flags&111551):E.forEachEntry(getExportsOfModule(R),isValue)}return $.exportsSomeValue;function isValue(E){E=resolveSymbol(E);return E&&!!(E.flags&111551)}}function isNameOfModuleOrEnumDeclaration(N){return E.isModuleOrEnumDeclaration(N.parent)&&N===N.parent.name}function getReferencedExportContainer(N,R){var j;var $=E.getParseTreeNode(N,E.isIdentifier);if($){var q=getReferencedValueSymbol($,isNameOfModuleOrEnumDeclaration($));if(q){if(q.flags&1048576){var G=getMergedSymbol(q.exportSymbol);if(!R&&G.flags&944&&!(G.flags&3)){return undefined}q=G}var ie=getParentOfSymbol(q);if(ie){if(ie.flags&512&&((j=ie.valueDeclaration)===null||j===void 0?void 0:j.kind)===303){var ae=ie.valueDeclaration;var ce=E.getSourceFileOfNode($);var le=ae!==ce;return le?undefined:ae}return E.findAncestor($.parent,(function(N){return E.isModuleOrEnumDeclaration(N)&&getSymbolOfNode(N)===ie}))}}}}function getReferencedImportDeclaration(N){if(N.generatedImportReference){return N.generatedImportReference}var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(isNonLocalAlias(j,111551)&&!getTypeOnlyAliasDeclaration(j)){return getDeclarationOfAliasSymbol(j)}}return undefined}function isSymbolOfDestructuredElementOfCatchBinding(N){return N.valueDeclaration&&E.isBindingElement(N.valueDeclaration)&&E.walkUpBindingElementsAndPatterns(N.valueDeclaration).parent.kind===291}function isSymbolOfDeclarationWithCollidingName(N){if(N.flags&418&&N.valueDeclaration&&!E.isSourceFile(N.valueDeclaration)){var R=getSymbolLinks(N);if(R.isDeclarationWithCollidingName===undefined){var j=E.getEnclosingBlockScopeContainer(N.valueDeclaration);if(E.isStatementWithLocals(j)||isSymbolOfDestructuredElementOfCatchBinding(N)){var $=getNodeLinks(N.valueDeclaration);if(resolveName(j.parent,N.escapedName,111551,undefined,undefined,false)){R.isDeclarationWithCollidingName=true}else if($.flags&262144){var q=$.flags&524288;var G=E.isIterationStatement(j,false);var ie=j.kind===234&&E.isIterationStatement(j.parent,false);R.isDeclarationWithCollidingName=!E.isBlockScopedContainerTopLevel(j)&&(!q||!G&&!ie)}else{R.isDeclarationWithCollidingName=false}}}return R.isDeclarationWithCollidingName}return false}function getReferencedDeclarationWithCollidingName(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j&&isSymbolOfDeclarationWithCollidingName(j)){return j.valueDeclaration}}}return undefined}function isDeclarationWithCollidingName(N){var R=E.getParseTreeNode(N,E.isDeclaration);if(R){var j=getSymbolOfNode(R);if(j){return isSymbolOfDeclarationWithCollidingName(j)}}return false}function isValueAliasDeclaration(N){switch(N.kind){case 264:return isAliasResolvedToValue(getSymbolOfNode(N));case 266:case 267:case 269:case 274:var R=getSymbolOfNode(N);return!!R&&isAliasResolvedToValue(R)&&!getTypeOnlyAliasDeclaration(R);case 271:var j=N.exportClause;return!!j&&(E.isNamespaceExport(j)||E.some(j.elements,isValueAliasDeclaration));case 270:return N.expression&&N.expression.kind===79?isAliasResolvedToValue(getSymbolOfNode(N)):true}return false}function isTopLevelValueImportEqualsWithEntityName(N){var R=E.getParseTreeNode(N,E.isImportEqualsDeclaration);if(R===undefined||R.parent.kind!==303||!E.isInternalModuleImportEqualsDeclaration(R)){return false}var j=isAliasResolvedToValue(getSymbolOfNode(R));return j&&R.moduleReference&&!E.nodeIsMissing(R.moduleReference)}function isAliasResolvedToValue(N){if(!N){return false}var R=getExportSymbolOfValueSymbolIfExported(resolveAlias(N));if(R===Ut){return true}return!!(R.flags&111551)&&(E.shouldPreserveConstEnums(Ye)||!isConstEnumOrConstEnumOnlyModule(R))}function isConstEnumOrConstEnumOnlyModule(E){return isConstEnumSymbol(E)||!!E.constEnumOnlyModule}function isReferencedAliasDeclaration(N,R){if(isAliasSymbolDeclaration(N)){var j=getSymbolOfNode(N);var $=j&&getSymbolLinks(j);if($===null||$===void 0?void 0:$.referenced){return true}var q=getSymbolLinks(j).target;if(q&&E.getEffectiveModifierFlags(N)&1&&q.flags&111551&&(E.shouldPreserveConstEnums(Ye)||!isConstEnumOrConstEnumOnlyModule(q))){return true}}if(R){return!!E.forEachChild(N,(function(E){return isReferencedAliasDeclaration(E,R)}))}return false}function isImplementationOfOverload(N){if(E.nodeIsPresent(N.body)){if(E.isGetAccessor(N)||E.isSetAccessor(N))return false;var R=getSymbolOfNode(N);var j=getSignaturesOfSymbol(R);return j.length>1||j.length===1&&j[0].declaration!==N}return false}function isRequiredInitializedParameter(N){return!!nt&&!isOptionalParameter(N)&&!E.isJSDocParameterTag(N)&&!!N.initializer&&!E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameterProperty(N){return nt&&isOptionalParameter(N)&&!N.initializer&&E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameter(E){return!!nt&&isOptionalParameter(E)&&!E.initializer}function isExpandoFunctionDeclaration(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return false}var j=getSymbolOfNode(R);if(!j||!(j.flags&16)){return false}return!!E.forEachEntry(getExportsOfSymbol(j),(function(N){return N.flags&111551&&N.valueDeclaration&&E.isPropertyAccessExpression(N.valueDeclaration)}))}function getPropertiesOfContainerFunction(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return E.emptyArray}var j=getSymbolOfNode(R);return j&&getPropertiesOfType(getTypeOfSymbol(j))||E.emptyArray}function getNodeCheckFlags(E){var N;var R=E.id||0;if(R<0||R>=mi.length)return 0;return((N=mi[R])===null||N===void 0?void 0:N.flags)||0}function getEnumMemberValue(E){computeEnumMemberValues(E.parent);return getNodeLinks(E).enumMemberValue}function canHaveConstantValue(E){switch(E.kind){case 297:case 205:case 206:return true}return false}function getConstantValue(N){if(N.kind===297){return getEnumMemberValue(N)}var R=getNodeLinks(N).resolvedSymbol;if(R&&R.flags&8){var j=R.valueDeclaration;if(E.isEnumConst(j.parent)){return getEnumMemberValue(j)}}return undefined}function isFunctionType(E){return!!(E.flags&524288)&&getSignaturesOfType(E,0).length>0}function getTypeReferenceSerializationKind(N,R){var j,$;var q=E.getParseTreeNode(N,E.isEntityName);if(!q)return E.TypeReferenceSerializationKind.Unknown;if(R){R=E.getParseTreeNode(R);if(!R)return E.TypeReferenceSerializationKind.Unknown}var G=false;if(E.isQualifiedName(q)){var ie=resolveEntityName(E.getFirstIdentifier(q),111551,true,true,R);G=!!((j=ie===null||ie===void 0?void 0:ie.declarations)===null||j===void 0?void 0:j.every(E.isTypeOnlyImportOrExportDeclaration))}var ae=resolveEntityName(q,111551,true,true,R);var ce=ae&&ae.flags&2097152?resolveAlias(ae):ae;G||(G=!!(($=ae===null||ae===void 0?void 0:ae.declarations)===null||$===void 0?void 0:$.every(E.isTypeOnlyImportOrExportDeclaration)));var le=resolveEntityName(q,788968,true,false,R);if(ce&&ce===le){var _e=getGlobalPromiseConstructorSymbol(false);if(_e&&ce===_e){return E.TypeReferenceSerializationKind.Promise}var Te=getTypeOfSymbol(ce);if(Te&&isConstructorType(Te)){return G?E.TypeReferenceSerializationKind.TypeWithCallSignature:E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}}if(!le){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}var Ee=getDeclaredTypeOfSymbol(le);if(isErrorType(Ee)){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}else if(Ee.flags&3){return E.TypeReferenceSerializationKind.ObjectType}else if(isTypeAssignableToKind(Ee,16384|98304|131072)){return E.TypeReferenceSerializationKind.VoidNullableOrNeverType}else if(isTypeAssignableToKind(Ee,528)){return E.TypeReferenceSerializationKind.BooleanType}else if(isTypeAssignableToKind(Ee,296)){return E.TypeReferenceSerializationKind.NumberLikeType}else if(isTypeAssignableToKind(Ee,2112)){return E.TypeReferenceSerializationKind.BigIntLikeType}else if(isTypeAssignableToKind(Ee,402653316)){return E.TypeReferenceSerializationKind.StringLikeType}else if(isTupleType(Ee)){return E.TypeReferenceSerializationKind.ArrayLikeType}else if(isTypeAssignableToKind(Ee,12288)){return E.TypeReferenceSerializationKind.ESSymbolType}else if(isFunctionType(Ee)){return E.TypeReferenceSerializationKind.TypeWithCallSignature}else if(isArrayType(Ee)){return E.TypeReferenceSerializationKind.ArrayLikeType}else{return E.TypeReferenceSerializationKind.ObjectType}}function createTypeOfDeclaration(N,R,j,$,q){var G=E.getParseTreeNode(N,E.isVariableLikeOrAccessor);if(!G){return E.factory.createToken(130)}var ie=getSymbolOfNode(G);var ae=ie&&!(ie.flags&(2048|131072))?getWidenedLiteralType(getTypeOfSymbol(ie)):Ht;if(ae.flags&8192&&ae.symbol===ie){j|=1048576}if(q){ae=getOptionalType(ae)}return yt.typeToTypeNode(ae,R,j|1024,$)}function createReturnTypeOfSignatureDeclaration(N,R,j,$){var q=E.getParseTreeNode(N,E.isFunctionLike);if(!q){return E.factory.createToken(130)}var G=getSignatureFromDeclaration(q);return yt.typeToTypeNode(getReturnTypeOfSignature(G),R,j|1024,$)}function createTypeOfExpression(N,R,j,$){var q=E.getParseTreeNode(N,E.isExpression);if(!q){return E.factory.createToken(130)}var G=getWidenedType(getRegularTypeOfExpression(q));return yt.typeToTypeNode(G,R,j|1024,$)}function hasGlobalName(N){return vt.has(E.escapeLeadingUnderscores(N))}function getReferencedValueSymbol(N,R){var j=getNodeLinks(N).resolvedSymbol;if(j){return j}var $=N;if(R){var q=N.parent;if(E.isDeclaration(q)&&N===q.name){$=getDeclarationContainer(q)}}return resolveName($,N.escapedText,111551|1048576|2097152,undefined,undefined,true)}function getReferencedValueDeclaration(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j){return getExportSymbolOfValueSymbolIfExported(j).valueDeclaration}}}return undefined}function isLiteralConstDeclaration(N){if(E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N)){return isFreshLiteralType(getTypeOfSymbol(getSymbolOfNode(N)))}return false}function literalTypeToNode(N,R,j){var $=N.flags&1024?yt.symbolToExpression(N.symbol,111551,R,undefined,j):N===dr?E.factory.createTrue():N===lr&&E.factory.createFalse();if($)return $;var q=N.value;return typeof q==="object"?E.factory.createBigIntLiteral(q):typeof q==="number"?E.factory.createNumericLiteral(q):E.factory.createStringLiteral(q)}function createLiteralConstValue(E,N){var R=getTypeOfSymbol(getSymbolOfNode(E));return literalTypeToNode(R,E,N)}function getJsxFactoryEntity(N){return N?(getJsxNamespace(N),E.getSourceFileOfNode(N).localJsxFactory||Fi):Fi}function getJsxFragmentFactoryEntity(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(R.localJsxFragmentFactory){return R.localJsxFragmentFactory}var j=R.pragmas.get("jsxfrag");var $=E.isArray(j)?j[0]:j;if($){R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ze);return R.localJsxFragmentFactory}}}if(Ye.jsxFragmentFactory){return E.parseIsolatedEntityName(Ye.jsxFragmentFactory,Ze)}}function createResolver(){var N=q.getResolvedTypeReferenceDirectives();var R;if(N){R=new E.Map;N.forEach((function(E,N){if(!E||!E.resolvedFileName){return}var R=q.getSourceFile(E.resolvedFileName);if(R){addReferencedFilesToTypeDirective(R,N)}}))}return{getReferencedExportContainer:getReferencedExportContainer,getReferencedImportDeclaration:getReferencedImportDeclaration,getReferencedDeclarationWithCollidingName:getReferencedDeclarationWithCollidingName,isDeclarationWithCollidingName:isDeclarationWithCollidingName,isValueAliasDeclaration:function(N){var R=E.getParseTreeNode(N);return R?isValueAliasDeclaration(R):true},hasGlobalName:hasGlobalName,isReferencedAliasDeclaration:function(N,R){var j=E.getParseTreeNode(N);return j?isReferencedAliasDeclaration(j,R):true},getNodeCheckFlags:function(N){var R=E.getParseTreeNode(N);return R?getNodeCheckFlags(R):0},isTopLevelValueImportEqualsWithEntityName:isTopLevelValueImportEqualsWithEntityName,isDeclarationVisible:isDeclarationVisible,isImplementationOfOverload:isImplementationOfOverload,isRequiredInitializedParameter:isRequiredInitializedParameter,isOptionalUninitializedParameterProperty:isOptionalUninitializedParameterProperty,isExpandoFunctionDeclaration:isExpandoFunctionDeclaration,getPropertiesOfContainerFunction:getPropertiesOfContainerFunction,createTypeOfDeclaration:createTypeOfDeclaration,createReturnTypeOfSignatureDeclaration:createReturnTypeOfSignatureDeclaration,createTypeOfExpression:createTypeOfExpression,createLiteralConstValue:createLiteralConstValue,isSymbolAccessible:isSymbolAccessible,isEntityNameVisible:isEntityNameVisible,getConstantValue:function(N){var R=E.getParseTreeNode(N,canHaveConstantValue);return R?getConstantValue(R):undefined},collectLinkedAliases:collectLinkedAliases,getReferencedValueDeclaration:getReferencedValueDeclaration,getTypeReferenceSerializationKind:getTypeReferenceSerializationKind,isOptionalParameter:isOptionalParameter,moduleExportsSomeValue:moduleExportsSomeValue,isArgumentsLocalBinding:isArgumentsLocalBinding,getExternalModuleFileFromDeclaration:function(N){var R=E.getParseTreeNode(N,E.hasPossibleExternalModuleReference);return R&&getExternalModuleFileFromDeclaration(R)},getTypeReferenceDirectivesForEntityName:getTypeReferenceDirectivesForEntityName,getTypeReferenceDirectivesForSymbol:getTypeReferenceDirectivesForSymbol,isLiteralConstDeclaration:isLiteralConstDeclaration,isLateBound:function(N){var R=E.getParseTreeNode(N,E.isDeclaration);var j=R&&getSymbolOfNode(R);return!!(j&&E.getCheckFlags(j)&4096)},getJsxFactoryEntity:getJsxFactoryEntity,getJsxFragmentFactoryEntity:getJsxFragmentFactoryEntity,getAllAccessorDeclarations:function(N){N=E.getParseTreeNode(N,E.isGetOrSetAccessorDeclaration);var R=N.kind===172?171:172;var j=E.getDeclarationOfKind(getSymbolOfNode(N),R);var $=j&&j.pos3}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,4)}}else if(G&1048576){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>4}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,5)}}else if(G&1024){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>2}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,3)}}}}}Te|=R}}}function getHelperName(N){switch(N){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spreadArray";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__importStar";case 131072:return"__importDefault";case 262144:return"__makeTemplateObject";case 524288:return"__classPrivateFieldGet";case 1048576:return"__classPrivateFieldSet";case 2097152:return"__classPrivateFieldIn";case 4194304:return"__createBinding";default:return E.Debug.fail("Unrecognized helper")}}function resolveHelpersModule(N,R){if(!Ee){Ee=resolveExternalModule(N,E.externalHelpersModuleNameText,E.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,R)||Ut}return Ee}function checkGrammarDecoratorsAndModifiers(E){return checkGrammarDecorators(E)||checkGrammarModifiers(E)}function checkGrammarDecorators(N){if(!N.decorators){return false}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){if(N.kind===168&&!E.nodeIsPresent(N.body)){return grammarErrorOnFirstToken(N,E.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload)}else{return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_are_not_valid_here)}}else if(N.kind===171||N.kind===172){var R=E.getAllAccessorDeclarations(N.parent.members,N);if(R.firstAccessor.decorators&&N===R.secondAccessor){return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}return false}function checkGrammarModifiers(N){var R=reportObviousModifierErrors(N);if(R!==undefined){return R}var j,$,q,G;var ie=0;for(var ae=0,ce=N.modifiers;ae1||E.modifiers[0].kind!==N}function checkGrammarAsyncModifier(N,R){switch(N.kind){case 168:case 255:case 212:case 213:return false}return grammarErrorOnNode(R,E.Diagnostics._0_modifier_cannot_be_used_here,"async")}function checkGrammarForDisallowedTrailingComma(N,R){if(R===void 0){R=E.Diagnostics.Trailing_comma_not_allowed}if(N&&N.hasTrailingComma){return grammarErrorAtPos(N[0],N.end-",".length,",".length,R)}return false}function checkGrammarTypeParameterList(N,R){if(N&&N.length===0){var j=N.pos-"<".length;var $=E.skipTrivia(R.text,N.end)+">".length;return grammarErrorAtPos(R,j,$-j,E.Diagnostics.Type_parameter_list_cannot_be_empty)}return false}function checkGrammarParameterList(N){var R=false;var j=N.length;for(var $=0;$=3){var R=N.body&&E.isBlock(N.body)&&E.findUseStrictPrologue(N.body.statements);if(R){var $=getNonSimpleParameters(N.parameters);if(E.length($)){E.forEach($,(function(N){E.addRelatedInfo(error(N,E.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),E.createDiagnosticForNode(R,E.Diagnostics.use_strict_directive_used_here))}));var q=$.map((function(N,R){return R===0?E.createDiagnosticForNode(N,E.Diagnostics.Non_simple_parameter_declared_here):E.createDiagnosticForNode(N,E.Diagnostics.and_here)}));E.addRelatedInfo.apply(void 0,j([error(R,E.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],q,false));return true}}}return false}function checkGrammarFunctionLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarDecoratorsAndModifiers(N)||checkGrammarTypeParameterList(N.typeParameters,R)||checkGrammarParameterList(N.parameters)||checkGrammarArrowFunction(N,R)||E.isFunctionLikeDeclaration(N)&&checkGrammarForUseStrictSimpleParameterList(N)}function checkGrammarClassLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarClassDeclarationHeritageClauses(N)||checkGrammarTypeParameterList(N.typeParameters,R)}function checkGrammarArrowFunction(N,R){if(!E.isArrowFunction(N)){return false}if(N.typeParameters&&!(E.length(N.typeParameters)>1||N.typeParameters.hasTrailingComma||N.typeParameters[0].constraint)){if(R&&E.fileExtensionIsOneOf(R.fileName,[".mts",".cts"])){grammarErrorOnNode(N.typeParameters[0],E.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint)}}var j=N.equalsGreaterThanToken;var $=E.getLineAndCharacterOfPosition(R,j.pos).line;var q=E.getLineAndCharacterOfPosition(R,j.end).line;return $!==q&&grammarErrorOnNode(j,E.Diagnostics.Line_terminator_not_permitted_before_arrow)}function checkGrammarIndexSignatureParameters(N){var R=N.parameters[0];if(N.parameters.length!==1){if(R){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}else{return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}}checkGrammarForDisallowedTrailingComma(N.parameters,E.Diagnostics.An_index_signature_cannot_have_a_trailing_comma);if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.An_index_signature_cannot_have_a_rest_parameter)}if(E.hasEffectiveModifiers(R)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark)}if(R.initializer){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer)}if(!R.type){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation)}var j=getTypeFromTypeNode(R.type);if(someType(j,(function(E){return!!(E.flags&8576)}))||isGenericType(j)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead)}if(!everyType(j,isValidIndexKeyType)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}if(!N.type){return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_a_type_annotation)}return false}function checkGrammarIndexSignature(E){return checkGrammarDecoratorsAndModifiers(E)||checkGrammarIndexSignatureParameters(E)}function checkGrammarForAtLeastOneTypeArgument(N,R){if(R&&R.length===0){var j=E.getSourceFileOfNode(N);var $=R.pos-"<".length;var q=E.skipTrivia(j.text,R.end)+">".length;return grammarErrorAtPos(j,$,q-$,E.Diagnostics.Type_argument_list_cannot_be_empty)}return false}function checkGrammarTypeArguments(E,N){return checkGrammarForDisallowedTrailingComma(N)||checkGrammarForAtLeastOneTypeArgument(E,N)}function checkGrammarTaggedTemplateChain(N){if(N.questionDotToken||N.flags&32){return grammarErrorOnNode(N.template,E.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)}return false}function checkGrammarHeritageClause(N){var R=N.types;if(checkGrammarForDisallowedTrailingComma(R)){return true}if(R&&R.length===0){var j=E.tokenToString(N.token);return grammarErrorAtPos(N,R.pos,0,E.Diagnostics._0_list_cannot_be_empty,j)}return E.some(R,checkGrammarExpressionWithTypeArguments)}function checkGrammarExpressionWithTypeArguments(E){return checkGrammarTypeArguments(E,E.typeArguments)}function checkGrammarClassDeclarationHeritageClauses(N){var R=false;var j=false;if(!checkGrammarDecoratorsAndModifiers(N)&&N.heritageClauses){for(var $=0,q=N.heritageClauses;$1){return grammarErrorOnFirstToken(G.types[1],E.Diagnostics.Classes_can_only_extend_a_single_class)}R=true}else{E.Debug.assert(G.token===117);if(j){return grammarErrorOnFirstToken(G,E.Diagnostics.implements_clause_already_seen)}j=true}checkGrammarHeritageClause(G)}}}function checkGrammarInterfaceDeclaration(N){var R=false;if(N.heritageClauses){for(var j=0,$=N.heritageClauses;j<$.length;j++){var q=$[j];if(q.token===94){if(R){return grammarErrorOnFirstToken(q,E.Diagnostics.extends_clause_already_seen)}R=true}else{E.Debug.assert(q.token===117);return grammarErrorOnFirstToken(q,E.Diagnostics.Interface_declaration_cannot_have_implements_clause)}checkGrammarHeritageClause(q)}}return false}function checkGrammarComputedPropertyName(N){if(N.kind!==161){return false}var R=N;if(R.expression.kind===220&&R.expression.operatorToken.kind===27){return grammarErrorOnNode(R.expression,E.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}return false}function checkGrammarForGenerator(N){if(N.asteriskToken){E.Debug.assert(N.kind===255||N.kind===212||N.kind===168);if(N.flags&8388608){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.Generators_are_not_allowed_in_an_ambient_context)}if(!N.body){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}}function checkGrammarForInvalidQuestionMark(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarForInvalidExclamationToken(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarObjectLiteralExpression(N,R){var j=new E.Map;for(var $=0,q=N.properties;$1){var j=N.kind===242?E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return grammarErrorOnFirstToken(G.declarations[1],j)}var ae=ie[0];if(ae.initializer){var j=N.kind===242?E.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:E.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return grammarErrorOnNode(ae.name,j)}if(ae.type){var j=N.kind===242?E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:E.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return grammarErrorOnNode(ae,j)}}}return false}function checkGrammarAccessor(N){if(!(N.flags&8388608)&&N.parent.kind!==181&&N.parent.kind!==257){if(Ze<1){return grammarErrorOnNode(N.name,E.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher)}if(Ze<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.body===undefined&&!E.hasSyntacticModifier(N,128)){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(N.body){if(E.hasSyntacticModifier(N,128)){return grammarErrorOnNode(N,E.Diagnostics.An_abstract_accessor_cannot_have_an_implementation)}if(N.parent.kind===181||N.parent.kind===257){return grammarErrorOnNode(N.body,E.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}}if(N.typeParameters){return grammarErrorOnNode(N.name,E.Diagnostics.An_accessor_cannot_have_type_parameters)}if(!doesAccessorHaveCorrectParameterCount(N)){return grammarErrorOnNode(N.name,N.kind===171?E.Diagnostics.A_get_accessor_cannot_have_parameters:E.Diagnostics.A_set_accessor_must_have_exactly_one_parameter)}if(N.kind===172){if(N.type){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation)}var R=E.Debug.checkDefined(E.getSetAccessorValueParameter(N),"Return value does not match parameter count assertion.");if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.A_set_accessor_cannot_have_rest_parameter)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter)}if(R.initializer){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}return false}function doesAccessorHaveCorrectParameterCount(E){return getAccessorThisParameter(E)||E.parameters.length===(E.kind===171?0:1)}function getAccessorThisParameter(N){if(N.parameters.length===(N.kind===171?1:2)){return E.getThisParameter(N)}}function checkGrammarTypeOperatorNode(N){if(N.operator===153){if(N.type.kind!==150){return grammarErrorOnNode(N.type,E.Diagnostics._0_expected,E.tokenToString(150))}var R=E.walkUpParenthesizedTypes(N.parent);if(E.isInJSFile(R)&&E.isJSDocTypeExpression(R)){R=R.parent;if(E.isJSDocTypeTag(R)){R=R.parent.parent}}switch(R.kind){case 253:var j=R;if(j.name.kind!==79){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name)}if(!E.isVariableDeclarationInVariableStatement(j)){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement)}if(!(j.parent.flags&2)){return grammarErrorOnNode(R.name,E.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const)}break;case 166:if(!E.isStatic(R)||!E.hasEffectiveReadonlyModifier(R)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly)}break;case 165:if(!E.hasSyntacticModifier(R,64)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly)}break;default:return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(N.operator===144){if(N.type.kind!==182&&N.type.kind!==183){return grammarErrorOnFirstToken(N,E.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,E.tokenToString(150))}}}function checkGrammarForInvalidDynamicName(E,N){if(isNonBindableDynamicName(E)){return grammarErrorOnNode(E,N)}}function checkGrammarMethod(N){if(checkGrammarFunctionLikeDeclaration(N)){return true}if(N.kind===168){if(N.parent.kind===204){if(N.modifiers&&!(N.modifiers.length===1&&E.first(N.modifiers).kind===131)){return grammarErrorOnFirstToken(N,E.Diagnostics.Modifiers_cannot_appear_here)}else if(checkGrammarForInvalidQuestionMark(N.questionToken,E.Diagnostics.An_object_member_cannot_be_declared_optional)){return true}else if(checkGrammarForInvalidExclamationToken(N.exclamationToken,E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)){return true}else if(N.body===undefined){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(checkGrammarForGenerator(N)){return true}}if(E.isClassLike(N.parent)){if(Ze<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.flags&8388608){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.kind===168&&!N.body){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}else if(N.parent.kind===257){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.parent.kind===181){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function checkGrammarBreakOrContinueStatement(N){var R=N;while(R){if(E.isFunctionLikeOrClassStaticBlockDeclaration(R)){return grammarErrorOnNode(N,E.Diagnostics.Jump_target_cannot_cross_function_boundary)}switch(R.kind){case 249:if(N.label&&R.label.escapedText===N.label.escapedText){var j=N.kind===244&&!E.isIterationStatement(R.statement,true);if(j){return grammarErrorOnNode(N,E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}return false}break;case 248:if(N.kind===245&&!N.label){return false}break;default:if(E.isIterationStatement(R,false)&&!N.label){return false}break}R=R.parent}if(N.label){var $=N.kind===245?E.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}else{var $=N.kind===245?E.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:E.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}}function checkGrammarBindingElement(N){if(N.dotDotDotToken){var R=N.parent.elements;if(N!==E.last(R)){return grammarErrorOnNode(N,E.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}checkGrammarForDisallowedTrailingComma(R,E.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);if(N.propertyName){return grammarErrorOnNode(N.name,E.Diagnostics.A_rest_element_cannot_have_a_property_name)}}if(N.dotDotDotToken&&N.initializer){return grammarErrorAtPos(N,N.initializer.pos-1,1,E.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function isStringOrNumberLiteralExpression(N){return E.isStringOrNumericLiteralLike(N)||N.kind===218&&N.operator===40&&N.operand.kind===8}function isBigIntLiteralExpression(E){return E.kind===9||E.kind===218&&E.operator===40&&E.operand.kind===9}function isSimpleLiteralEnumReference(N){if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)&&isStringOrNumberLiteralExpression(N.argumentExpression))&&E.isEntityNameExpression(N.expression)){return!!(checkExpressionCached(N).flags&1024)}}function checkAmbientInitializer(N){var R=N.initializer;if(R){var j=!(isStringOrNumberLiteralExpression(R)||isSimpleLiteralEnumReference(R)||R.kind===110||R.kind===95||isBigIntLiteralExpression(R));var $=E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N);if($&&!N.type){if(j){return grammarErrorOnNode(R,E.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}}else{return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!$||j){return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}}function checkGrammarVariableDeclaration(N){if(N.parent.parent.kind!==242&&N.parent.parent.kind!==243){if(N.flags&8388608){checkAmbientInitializer(N)}else if(!N.initializer){if(E.isBindingPattern(N.name)&&!E.isBindingPattern(N.parent)){return grammarErrorOnNode(N,E.Diagnostics.A_destructuring_declaration_must_have_an_initializer)}if(E.isVarConst(N)){return grammarErrorOnNode(N,E.Diagnostics.const_declarations_must_be_initialized)}}}if(N.exclamationToken&&(N.parent.parent.kind!==236||!N.type||N.initializer||N.flags&8388608)){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}if((et0}function grammarErrorOnFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);Ai.add(E.createFileDiagnostic(G,ie.start,ie.length,R,j,$,q));return true}return false}function grammarErrorAtPos(N,R,j,$,q,G,ie){var ae=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(ae)){Ai.add(E.createFileDiagnostic(ae,R,j,$,q,G,ie));return true}return false}function grammarErrorOnNodeSkippedOn(N,R,j,$,q,G){var ie=E.getSourceFileOfNode(R);if(!hasParseDiagnostics(ie)){errorSkippedOn(N,R,j,$,q,G);return true}return false}function grammarErrorOnNode(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){Ai.add(E.createDiagnosticForNode(N,R,j,$,q));return true}return false}function checkGrammarConstructorTypeParameters(N){var R=E.isInJSFile(N)?E.getJSDocTypeParameterDeclarations(N):undefined;var j=N.typeParameters||R&&E.firstOrUndefined(R);if(j){var $=j.pos===j.end?j.pos:E.skipTrivia(E.getSourceFileOfNode(N).text,j.pos);return grammarErrorAtPos(N,$,j.end-$,E.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function checkGrammarConstructorTypeAnnotation(N){var R=E.getEffectiveReturnTypeNode(N);if(R){return grammarErrorOnNode(R,E.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}}function checkGrammarProperty(N){if(E.isComputedPropertyName(N.name)&&E.isBinaryExpression(N.name.expression)&&N.name.expression.operatorToken.kind===101){return grammarErrorOnNode(N.parent.members[0],E.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods)}if(E.isClassLike(N.parent)){if(E.isStringLiteral(N.name)&&N.name.text==="constructor"){return grammarErrorOnNode(N.name,E.Diagnostics.Classes_may_not_have_a_field_named_constructor)}if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)){return true}if(Ze<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}}else if(N.parent.kind===257){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.An_interface_property_cannot_have_an_initializer)}}else if(E.isTypeLiteralNode(N.parent)){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}}if(N.flags&8388608){checkAmbientInitializer(N)}if(E.isPropertyDeclaration(N)&&N.exclamationToken&&(!E.isClassLike(N.parent)||!N.type||N.initializer||N.flags&8388608||E.isStatic(N)||E.hasAbstractModifier(N))){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}}function checkGrammarTopLevelElementForRequiredDeclareModifier(N){if(N.kind===257||N.kind===258||N.kind===265||N.kind===264||N.kind===271||N.kind===270||N.kind===263||E.hasSyntacticModifier(N,2|1|512)){return false}return grammarErrorOnFirstToken(N,E.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function checkGrammarTopLevelElementsForRequiredDeclareModifier(N){for(var R=0,j=N.statements;R=1){R=E.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,195)){R=E.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,297)){R=E.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0}if(R){var j=E.isPrefixUnaryExpression(N.parent)&&N.parent.operator===40;var $=(j?"-":"")+"0o"+N.text;return grammarErrorOnNode(j?N.parent:N,R,$)}}checkNumericLiteralValueSize(N);return false}function checkNumericLiteralValueSize(N){var R=E.getTextOfNode(N).indexOf(".")!==-1;var j=N.numericLiteralFlags&16;if(R||j){return}var $=+N.text;if($<=Math.pow(2,53)-1){return}addErrorOrSuggestion(false,E.createDiagnosticForNode(N,E.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function checkGrammarBigIntLiteral(N){var R=E.isLiteralTypeNode(N.parent)||E.isPrefixUnaryExpression(N.parent)&&E.isLiteralTypeNode(N.parent.parent);if(!R){if(Ze<7){if(grammarErrorOnNode(N,E.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)){return true}}}return false}function grammarErrorAfterFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);Ai.add(E.createFileDiagnostic(G,E.textSpanEnd(ie),0,R,j,$,q));return true}return false}function getAmbientModules(){if(!nn){nn=[];vt.forEach((function(E,R){if(N.test(R)){nn.push(E)}}))}return nn}function checkGrammarImportClause(N){var R;if(N.isTypeOnly&&N.name&&N.namedBindings){return grammarErrorOnNode(N,E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both)}if(N.isTypeOnly&&((R=N.namedBindings)===null||R===void 0?void 0:R.kind)===268){return checkGrammarNamedImportsOrExports(N.namedBindings)}return false}function checkGrammarNamedImportsOrExports(N){return!!E.forEach(N.elements,(function(N){if(N.isTypeOnly){return grammarErrorOnFirstToken(N,N.kind===269?E.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:E.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)}}))}function checkGrammarImportCallExpression(N){if(et===E.ModuleKind.ES2015){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext)}if(N.typeArguments){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_import_cannot_have_type_arguments)}var R=N.arguments;if(et!==E.ModuleKind.ESNext&&et!==E.ModuleKind.NodeNext){checkGrammarForDisallowedTrailingComma(R);if(R.length>1){var j=R[1];return grammarErrorOnNode(j,E.Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext)}}if(R.length===0||R.length>2){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments)}var $=E.find(R,E.isSpreadElement);if($){return grammarErrorOnNode($,E.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element)}return false}function findMatchingTypeReferenceOrTypeAliasReference(N,R){var j=E.getObjectFlags(N);if(j&(4|16)&&R.flags&1048576){return E.find(R.types,(function(R){if(R.flags&524288){var $=j&E.getObjectFlags(R);if($&4){return N.target===R.target}if($&16){return!!N.aliasSymbol&&N.aliasSymbol===R.aliasSymbol}}return false}))}}function findBestTypeForObjectLiteral(N,R){if(E.getObjectFlags(N)&128&&someType(R,isArrayLikeType)){return E.find(R.types,(function(E){return!isArrayLikeType(E)}))}}function findBestTypeForInvokable(N,R){var j=0;var $=getSignaturesOfType(N,j).length>0||(j=1,getSignaturesOfType(N,j).length>0);if($){return E.find(R.types,(function(E){return getSignaturesOfType(E,j).length>0}))}}function findMostOverlappyType(N,R){var j;if(!(N.flags&(131068|406847488))){var $=0;for(var q=0,G=R.types;q=$){j=ie;$=ce}}}}}return j}function filterPrimitivesIfContainsNonPrimitive(E){if(maybeTypeOfKind(E,67108864)){var N=filterType(E,(function(E){return!(E.flags&131068)}));if(!(N.flags&131072)){return N}}return E}function findMatchingDiscriminantType(N,R,j,$){if(R.flags&1048576&&N.flags&(2097152|524288)){var q=getMatchingUnionConstituentForType(R,N);if(q){return q}var G=getPropertiesOfType(N);if(G){var ie=findDiscriminantProperties(G,R);if(ie){return discriminateTypeByDiscriminableItems(R,E.map(ie,(function(E){return[function(){return getTypeOfSymbol(E)},E.escapedName]})),j,undefined,$)}}}return undefined}}E.createTypeChecker=createTypeChecker;function isNotAccessor(N){return!E.isAccessor(N)}function isNotOverload(E){return E.kind!==255&&E.kind!==168||!!E.body}function isDeclarationNameOrImportPropertyName(N){switch(N.parent.kind){case 269:case 274:return E.isIdentifier(N);default:return E.isDeclarationName(N)}}var Xe;(function(E){E.JSX="JSX";E.IntrinsicElements="IntrinsicElements";E.ElementClass="ElementClass";E.ElementAttributesPropertyNameContainer="ElementAttributesProperty";E.ElementChildrenAttributeNameContainer="ElementChildrenAttribute";E.Element="Element";E.IntrinsicAttributes="IntrinsicAttributes";E.IntrinsicClassAttributes="IntrinsicClassAttributes";E.LibraryManagedAttributes="LibraryManagedAttributes"})(Xe||(Xe={}));function getIterationTypesKeyFromIterationTypeKind(E){switch(E){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function signatureHasRestParameter(E){return!!(E.flags&1)}E.signatureHasRestParameter=signatureHasRestParameter;function signatureHasLiteralTypes(E){return!!(E.flags&2)}E.signatureHasLiteralTypes=signatureHasLiteralTypes})(ce||(ce={}));var ce;(function(E){function visitNode(N,R,j,$){if(N===undefined||R===undefined){return N}var q=R(N);if(q===N){return N}var G;if(q===undefined){return undefined}else if(E.isArray(q)){G=($||extractSingleNode)(q)}else{G=q}E.Debug.assertNode(G,j);return G}E.visitNode=visitNode;function visitNodes(N,R,j,$,q){if(N===undefined||R===undefined){return N}var G;var ie=N.length;if($===undefined||$<0){$=0}if(q===undefined||q>ie-$){q=ie-$}var ae;var ce=-1;var le=-1;if($>0||q=2){q=addDefaultValueAssignmentsIfNeeded(q,j)}j.setLexicalEnvironmentFlags(1,false)}j.suspendLexicalEnvironment();return q}E.visitParameterList=visitParameterList;function addDefaultValueAssignmentsIfNeeded(N,R){var j;for(var $=0;$0&&ie<=159||ie===191){return N}var ae=j.factory;switch(ie){case 79:E.Debug.type(N);return ae.updateIdentifier(N,$(N.typeArguments,R,E.isTypeNodeOrTypeParameterDeclaration));case 160:E.Debug.type(N);return ae.updateQualifiedName(N,G(N.left,R,E.isEntityName),G(N.right,R,E.isIdentifier));case 161:E.Debug.type(N);return ae.updateComputedPropertyName(N,G(N.expression,R,E.isExpression));case 162:E.Debug.type(N);return ae.updateTypeParameterDeclaration(N,G(N.name,R,E.isIdentifier),G(N.constraint,R,E.isTypeNode),G(N.default,R,E.isTypeNode));case 163:E.Debug.type(N);return ae.updateParameterDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.name,R,E.isBindingName),G(N.questionToken,q,E.isQuestionToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 164:E.Debug.type(N);return ae.updateDecorator(N,G(N.expression,R,E.isExpression));case 165:E.Debug.type(N);return ae.updatePropertySignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isToken),G(N.type,R,E.isTypeNode));case 166:E.Debug.type(N);return ae.updatePropertyDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken||N.exclamationToken,q,E.isQuestionOrExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 167:E.Debug.type(N);return ae.updateMethodSignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 168:E.Debug.type(N);return ae.updateMethodDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 170:E.Debug.type(N);return ae.updateConstructorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 171:E.Debug.type(N);return ae.updateGetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 172:E.Debug.type(N);return ae.updateSetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 169:E.Debug.type(N);j.startLexicalEnvironment();j.suspendLexicalEnvironment();return ae.updateClassStaticBlockDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitFunctionBody(N.body,R,j,G));case 173:E.Debug.type(N);return ae.updateCallSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 174:E.Debug.type(N);return ae.updateConstructSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 175:E.Debug.type(N);return ae.updateIndexSignature(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 176:E.Debug.type(N);return ae.updateTypePredicateNode(N,G(N.assertsModifier,R,E.isAssertsKeyword),G(N.parameterName,R,E.isIdentifierOrThisTypeNode),G(N.type,R,E.isTypeNode));case 177:E.Debug.type(N);return ae.updateTypeReferenceNode(N,G(N.typeName,R,E.isEntityName),$(N.typeArguments,R,E.isTypeNode));case 178:E.Debug.type(N);return ae.updateFunctionTypeNode(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 179:E.Debug.type(N);return ae.updateConstructorTypeNode(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 180:E.Debug.type(N);return ae.updateTypeQueryNode(N,G(N.exprName,R,E.isEntityName));case 181:E.Debug.type(N);return ae.updateTypeLiteralNode(N,$(N.members,R,E.isTypeElement));case 182:E.Debug.type(N);return ae.updateArrayTypeNode(N,G(N.elementType,R,E.isTypeNode));case 183:E.Debug.type(N);return ae.updateTupleTypeNode(N,$(N.elements,R,E.isTypeNode));case 184:E.Debug.type(N);return ae.updateOptionalTypeNode(N,G(N.type,R,E.isTypeNode));case 185:E.Debug.type(N);return ae.updateRestTypeNode(N,G(N.type,R,E.isTypeNode));case 186:E.Debug.type(N);return ae.updateUnionTypeNode(N,$(N.types,R,E.isTypeNode));case 187:E.Debug.type(N);return ae.updateIntersectionTypeNode(N,$(N.types,R,E.isTypeNode));case 188:E.Debug.type(N);return ae.updateConditionalTypeNode(N,G(N.checkType,R,E.isTypeNode),G(N.extendsType,R,E.isTypeNode),G(N.trueType,R,E.isTypeNode),G(N.falseType,R,E.isTypeNode));case 189:E.Debug.type(N);return ae.updateInferTypeNode(N,G(N.typeParameter,R,E.isTypeParameterDeclaration));case 199:E.Debug.type(N);return ae.updateImportTypeNode(N,G(N.argument,R,E.isTypeNode),G(N.qualifier,R,E.isEntityName),visitNodes(N.typeArguments,R,E.isTypeNode),N.isTypeOf);case 196:E.Debug.type(N);return ae.updateNamedTupleMember(N,visitNode(N.dotDotDotToken,R,E.isDotDotDotToken),visitNode(N.name,R,E.isIdentifier),visitNode(N.questionToken,R,E.isQuestionToken),visitNode(N.type,R,E.isTypeNode));case 190:E.Debug.type(N);return ae.updateParenthesizedType(N,G(N.type,R,E.isTypeNode));case 192:E.Debug.type(N);return ae.updateTypeOperatorNode(N,G(N.type,R,E.isTypeNode));case 193:E.Debug.type(N);return ae.updateIndexedAccessTypeNode(N,G(N.objectType,R,E.isTypeNode),G(N.indexType,R,E.isTypeNode));case 194:E.Debug.type(N);return ae.updateMappedTypeNode(N,G(N.readonlyToken,q,E.isReadonlyKeywordOrPlusOrMinusToken),G(N.typeParameter,R,E.isTypeParameterDeclaration),G(N.nameType,R,E.isTypeNode),G(N.questionToken,q,E.isQuestionOrPlusOrMinusToken),G(N.type,R,E.isTypeNode),$(N.members,R,E.isTypeElement));case 195:E.Debug.type(N);return ae.updateLiteralTypeNode(N,G(N.literal,R,E.isExpression));case 197:E.Debug.type(N);return ae.updateTemplateLiteralType(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateLiteralTypeSpan));case 198:E.Debug.type(N);return ae.updateTemplateLiteralTypeSpan(N,G(N.type,R,E.isTypeNode),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 200:E.Debug.type(N);return ae.updateObjectBindingPattern(N,$(N.elements,R,E.isBindingElement));case 201:E.Debug.type(N);return ae.updateArrayBindingPattern(N,$(N.elements,R,E.isArrayBindingElement));case 202:E.Debug.type(N);return ae.updateBindingElement(N,G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.propertyName,R,E.isPropertyName),G(N.name,R,E.isBindingName),G(N.initializer,R,E.isExpression));case 203:E.Debug.type(N);return ae.updateArrayLiteralExpression(N,$(N.elements,R,E.isExpression));case 204:E.Debug.type(N);return ae.updateObjectLiteralExpression(N,$(N.properties,R,E.isObjectLiteralElementLike));case 205:if(N.flags&32){E.Debug.type(N);return ae.updatePropertyAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.name,R,E.isMemberName))}E.Debug.type(N);return ae.updatePropertyAccessExpression(N,G(N.expression,R,E.isExpression),G(N.name,R,E.isMemberName));case 206:if(N.flags&32){E.Debug.type(N);return ae.updateElementAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.argumentExpression,R,E.isExpression))}E.Debug.type(N);return ae.updateElementAccessExpression(N,G(N.expression,R,E.isExpression),G(N.argumentExpression,R,E.isExpression));case 207:if(N.flags&32){E.Debug.type(N);return ae.updateCallChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression))}E.Debug.type(N);return ae.updateCallExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 208:E.Debug.type(N);return ae.updateNewExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 209:E.Debug.type(N);return ae.updateTaggedTemplateExpression(N,G(N.tag,R,E.isExpression),visitNodes(N.typeArguments,R,E.isTypeNode),G(N.template,R,E.isTemplateLiteral));case 210:E.Debug.type(N);return ae.updateTypeAssertion(N,G(N.type,R,E.isTypeNode),G(N.expression,R,E.isExpression));case 211:E.Debug.type(N);return ae.updateParenthesizedExpression(N,G(N.expression,R,E.isExpression));case 212:E.Debug.type(N);return ae.updateFunctionExpression(N,$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 213:E.Debug.type(N);return ae.updateArrowFunction(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),G(N.equalsGreaterThanToken,q,E.isEqualsGreaterThanToken),visitFunctionBody(N.body,R,j,G));case 214:E.Debug.type(N);return ae.updateDeleteExpression(N,G(N.expression,R,E.isExpression));case 215:E.Debug.type(N);return ae.updateTypeOfExpression(N,G(N.expression,R,E.isExpression));case 216:E.Debug.type(N);return ae.updateVoidExpression(N,G(N.expression,R,E.isExpression));case 217:E.Debug.type(N);return ae.updateAwaitExpression(N,G(N.expression,R,E.isExpression));case 218:E.Debug.type(N);return ae.updatePrefixUnaryExpression(N,G(N.operand,R,E.isExpression));case 219:E.Debug.type(N);return ae.updatePostfixUnaryExpression(N,G(N.operand,R,E.isExpression));case 220:E.Debug.type(N);return ae.updateBinaryExpression(N,G(N.left,R,E.isExpression),G(N.operatorToken,q,E.isBinaryOperatorToken),G(N.right,R,E.isExpression));case 221:E.Debug.type(N);return ae.updateConditionalExpression(N,G(N.condition,R,E.isExpression),G(N.questionToken,q,E.isQuestionToken),G(N.whenTrue,R,E.isExpression),G(N.colonToken,q,E.isColonToken),G(N.whenFalse,R,E.isExpression));case 222:E.Debug.type(N);return ae.updateTemplateExpression(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateSpan));case 223:E.Debug.type(N);return ae.updateYieldExpression(N,G(N.asteriskToken,q,E.isAsteriskToken),G(N.expression,R,E.isExpression));case 224:E.Debug.type(N);return ae.updateSpreadElement(N,G(N.expression,R,E.isExpression));case 225:E.Debug.type(N);return ae.updateClassExpression(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 227:E.Debug.type(N);return ae.updateExpressionWithTypeArguments(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode));case 228:E.Debug.type(N);return ae.updateAsExpression(N,G(N.expression,R,E.isExpression),G(N.type,R,E.isTypeNode));case 229:if(N.flags&32){E.Debug.type(N);return ae.updateNonNullChain(N,G(N.expression,R,E.isExpression))}E.Debug.type(N);return ae.updateNonNullExpression(N,G(N.expression,R,E.isExpression));case 230:E.Debug.type(N);return ae.updateMetaProperty(N,G(N.name,R,E.isIdentifier));case 232:E.Debug.type(N);return ae.updateTemplateSpan(N,G(N.expression,R,E.isExpression),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 234:E.Debug.type(N);return ae.updateBlock(N,$(N.statements,R,E.isStatement));case 236:E.Debug.type(N);return ae.updateVariableStatement(N,$(N.modifiers,R,E.isModifier),G(N.declarationList,R,E.isVariableDeclarationList));case 237:E.Debug.type(N);return ae.updateExpressionStatement(N,G(N.expression,R,E.isExpression));case 238:E.Debug.type(N);return ae.updateIfStatement(N,G(N.expression,R,E.isExpression),G(N.thenStatement,R,E.isStatement,ae.liftToBlock),G(N.elseStatement,R,E.isStatement,ae.liftToBlock));case 239:E.Debug.type(N);return ae.updateDoStatement(N,visitIterationBody(N.statement,R,j),G(N.expression,R,E.isExpression));case 240:E.Debug.type(N);return ae.updateWhileStatement(N,G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 241:E.Debug.type(N);return ae.updateForStatement(N,G(N.initializer,R,E.isForInitializer),G(N.condition,R,E.isExpression),G(N.incrementor,R,E.isExpression),visitIterationBody(N.statement,R,j));case 242:E.Debug.type(N);return ae.updateForInStatement(N,G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 243:E.Debug.type(N);return ae.updateForOfStatement(N,G(N.awaitModifier,q,E.isAwaitKeyword),G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 244:E.Debug.type(N);return ae.updateContinueStatement(N,G(N.label,R,E.isIdentifier));case 245:E.Debug.type(N);return ae.updateBreakStatement(N,G(N.label,R,E.isIdentifier));case 246:E.Debug.type(N);return ae.updateReturnStatement(N,G(N.expression,R,E.isExpression));case 247:E.Debug.type(N);return ae.updateWithStatement(N,G(N.expression,R,E.isExpression),G(N.statement,R,E.isStatement,ae.liftToBlock));case 248:E.Debug.type(N);return ae.updateSwitchStatement(N,G(N.expression,R,E.isExpression),G(N.caseBlock,R,E.isCaseBlock));case 249:E.Debug.type(N);return ae.updateLabeledStatement(N,G(N.label,R,E.isIdentifier),G(N.statement,R,E.isStatement,ae.liftToBlock));case 250:E.Debug.type(N);return ae.updateThrowStatement(N,G(N.expression,R,E.isExpression));case 251:E.Debug.type(N);return ae.updateTryStatement(N,G(N.tryBlock,R,E.isBlock),G(N.catchClause,R,E.isCatchClause),G(N.finallyBlock,R,E.isBlock));case 253:E.Debug.type(N);return ae.updateVariableDeclaration(N,G(N.name,R,E.isBindingName),G(N.exclamationToken,q,E.isExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 254:E.Debug.type(N);return ae.updateVariableDeclarationList(N,$(N.declarations,R,E.isVariableDeclaration));case 255:E.Debug.type(N);return ae.updateFunctionDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 256:E.Debug.type(N);return ae.updateClassDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 257:E.Debug.type(N);return ae.updateInterfaceDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isTypeElement));case 258:E.Debug.type(N);return ae.updateTypeAliasDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),G(N.type,R,E.isTypeNode));case 259:E.Debug.type(N);return ae.updateEnumDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.members,R,E.isEnumMember));case 260:E.Debug.type(N);return ae.updateModuleDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isModuleName),G(N.body,R,E.isModuleBody));case 261:E.Debug.type(N);return ae.updateModuleBlock(N,$(N.statements,R,E.isStatement));case 262:E.Debug.type(N);return ae.updateCaseBlock(N,$(N.clauses,R,E.isCaseOrDefaultClause));case 263:E.Debug.type(N);return ae.updateNamespaceExportDeclaration(N,G(N.name,R,E.isIdentifier));case 264:E.Debug.type(N);return ae.updateImportEqualsDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.moduleReference,R,E.isModuleReference));case 265:E.Debug.type(N);return ae.updateImportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.importClause,R,E.isImportClause),G(N.moduleSpecifier,R,E.isExpression),G(N.assertClause,R,E.isAssertClause));case 292:E.Debug.type(N);return ae.updateAssertClause(N,$(N.elements,R,E.isAssertEntry),N.multiLine);case 293:E.Debug.type(N);return ae.updateAssertEntry(N,G(N.name,R,E.isAssertionKey),G(N.value,R,E.isExpressionNode));case 266:E.Debug.type(N);return ae.updateImportClause(N,N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.namedBindings,R,E.isNamedImportBindings));case 267:E.Debug.type(N);return ae.updateNamespaceImport(N,G(N.name,R,E.isIdentifier));case 273:E.Debug.type(N);return ae.updateNamespaceExport(N,G(N.name,R,E.isIdentifier));case 268:E.Debug.type(N);return ae.updateNamedImports(N,$(N.elements,R,E.isImportSpecifier));case 269:E.Debug.type(N);return ae.updateImportSpecifier(N,N.isTypeOnly,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 270:E.Debug.type(N);return ae.updateExportAssignment(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.expression,R,E.isExpression));case 271:E.Debug.type(N);return ae.updateExportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.exportClause,R,E.isNamedExportBindings),G(N.moduleSpecifier,R,E.isExpression),G(N.assertClause,R,E.isAssertClause));case 272:E.Debug.type(N);return ae.updateNamedExports(N,$(N.elements,R,E.isExportSpecifier));case 274:E.Debug.type(N);return ae.updateExportSpecifier(N,N.isTypeOnly,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 276:E.Debug.type(N);return ae.updateExternalModuleReference(N,G(N.expression,R,E.isExpression));case 277:E.Debug.type(N);return ae.updateJsxElement(N,G(N.openingElement,R,E.isJsxOpeningElement),$(N.children,R,E.isJsxChild),G(N.closingElement,R,E.isJsxClosingElement));case 278:E.Debug.type(N);return ae.updateJsxSelfClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 279:E.Debug.type(N);return ae.updateJsxOpeningElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 280:E.Debug.type(N);return ae.updateJsxClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression));case 281:E.Debug.type(N);return ae.updateJsxFragment(N,G(N.openingFragment,R,E.isJsxOpeningFragment),$(N.children,R,E.isJsxChild),G(N.closingFragment,R,E.isJsxClosingFragment));case 284:E.Debug.type(N);return ae.updateJsxAttribute(N,G(N.name,R,E.isIdentifier),G(N.initializer,R,E.isStringLiteralOrJsxExpression));case 285:E.Debug.type(N);return ae.updateJsxAttributes(N,$(N.properties,R,E.isJsxAttributeLike));case 286:E.Debug.type(N);return ae.updateJsxSpreadAttribute(N,G(N.expression,R,E.isExpression));case 287:E.Debug.type(N);return ae.updateJsxExpression(N,G(N.expression,R,E.isExpression));case 288:E.Debug.type(N);return ae.updateCaseClause(N,G(N.expression,R,E.isExpression),$(N.statements,R,E.isStatement));case 289:E.Debug.type(N);return ae.updateDefaultClause(N,$(N.statements,R,E.isStatement));case 290:E.Debug.type(N);return ae.updateHeritageClause(N,$(N.types,R,E.isExpressionWithTypeArguments));case 291:E.Debug.type(N);return ae.updateCatchClause(N,G(N.variableDeclaration,R,E.isVariableDeclaration),G(N.block,R,E.isBlock));case 294:E.Debug.type(N);return ae.updatePropertyAssignment(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 295:E.Debug.type(N);return ae.updateShorthandPropertyAssignment(N,G(N.name,R,E.isIdentifier),G(N.objectAssignmentInitializer,R,E.isExpression));case 296:E.Debug.type(N);return ae.updateSpreadAssignment(N,G(N.expression,R,E.isExpression));case 297:E.Debug.type(N);return ae.updateEnumMember(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 303:E.Debug.type(N);return ae.updateSourceFile(N,visitLexicalEnvironment(N.statements,R,j));case 348:E.Debug.type(N);return ae.updatePartiallyEmittedExpression(N,G(N.expression,R,E.isExpression));case 349:E.Debug.type(N);return ae.updateCommaListExpression(N,$(N.elements,R,E.isExpression));default:return N}}E.visitEachChild=visitEachChild;function extractSingleNode(N){E.Debug.assert(N.length<=1,"Too many nodes written to output.");return E.singleOrUndefined(N)}})(ce||(ce={}));var ce;(function(E){function createSourceMapGenerator(N,R,j,$,q){var G=q.extendedDiagnostics?E.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):E.performance.nullTimer,ie=G.enter,ae=G.exit;var ce=[];var le=[];var _e=new E.Map;var Te;var Ee=[];var we;var Ie=[];var Ne="";var Me=0;var Le=0;var Be=0;var je=0;var Ue=0;var ze=0;var We=false;var Je=0;var Ve=0;var qe=0;var He=0;var Ge=0;var Ke=0;var Qe=false;var Xe=false;var Ye=false;return{getSources:function(){return ce},addSource:addSource,setSourceContent:setSourceContent,addName:addName,addMapping:addMapping,appendSourceMap:appendSourceMap,toJSON:toJSON,toString:function(){return JSON.stringify(toJSON())}};function addSource(R){ie();var j=E.getRelativePathToDirectoryOrUrl($,R,N.getCurrentDirectory(),N.getCanonicalFileName,true);var q=_e.get(j);if(q===undefined){q=le.length;le.push(j);ce.push(R);_e.set(j,q)}ae();return q}function setSourceContent(E,N){ie();if(N!==null){if(!Te)Te=[];while(Te.lengthN||He===N&&Ge>R)}function addMapping(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");E.Debug.assert(j===undefined||j>=0,"sourceIndex cannot be negative");E.Debug.assert($===undefined||$>=0,"sourceLine cannot be negative");E.Debug.assert(q===undefined||q>=0,"sourceCharacter cannot be negative");ie();if(isNewGeneratedPosition(N,R)||isBacktrackingSourcePosition(j,$,q)){commitPendingMapping();Je=N;Ve=R;Xe=false;Ye=false;Qe=true}if(j!==undefined&&$!==undefined&&q!==undefined){qe=j;He=$;Ge=q;Xe=true;if(G!==undefined){Ke=G;Ye=true}}ae()}function appendSourceMap(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");ie();var ce=[];var le;var _e=decodeMappings(j.mappings);for(var Te=_e.next();!Te.done;Te=_e.next()){var Ee=Te.value;if(G&&(Ee.generatedLine>G.line||Ee.generatedLine===G.line&&Ee.generatedCharacter>G.character)){break}if(q&&(Ee.generatedLine=1024){flushMappingBuffer()}}function commitPendingMapping(){if(!Qe||!shouldCommitMapping()){return}ie();if(Me0){Ne+=String.fromCharCode.apply(undefined,Ie);Ie.length=0}}function toJSON(){commitPendingMapping();flushMappingBuffer();return{version:3,file:R,sourceRoot:j,sources:le,names:Ee,mappings:Ne,sourcesContent:Te}}function appendBase64VLQ(E){if(E<0){E=(-E<<1)+1}else{E=E<<1}do{var N=E&31;E=E>>5;if(E>0){N=N|32}appendMappingCharCode(base64FormatEncode(N))}while(E>0)}}E.createSourceMapGenerator=createSourceMapGenerator;var N=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/;var R=/^\s*(\/\/[@#] .*)?$/;function getLineInfo(E,N){return{getLineCount:function(){return N.length},getLineText:function(R){return E.substring(N[R],N[R+1])}}}E.getLineInfo=getLineInfo;function tryGetSourceMappingURL(j){for(var $=j.getLineCount()-1;$>=0;$--){var q=j.getLineText($);var G=N.exec(q);if(G){return E.trimStringEnd(G[1])}else if(!q.match(R)){break}}}E.tryGetSourceMappingURL=tryGetSourceMappingURL;function isStringOrNull(E){return typeof E==="string"||E===null}function isRawSourceMap(N){return N!==null&&typeof N==="object"&&N.version===3&&typeof N.file==="string"&&typeof N.mappings==="string"&&E.isArray(N.sources)&&E.every(N.sources,E.isString)&&(N.sourceRoot===undefined||N.sourceRoot===null||typeof N.sourceRoot==="string")&&(N.sourcesContent===undefined||N.sourcesContent===null||E.isArray(N.sourcesContent)&&E.every(N.sourcesContent,isStringOrNull))&&(N.names===undefined||N.names===null||E.isArray(N.names)&&E.every(N.names,E.isString))}E.isRawSourceMap=isRawSourceMap;function tryParseRawSourceMap(E){try{var N=JSON.parse(E);if(isRawSourceMap(N)){return N}}catch(E){}return undefined}E.tryParseRawSourceMap=tryParseRawSourceMap;function decodeMappings(E){var N=false;var R=0;var j=0;var $=0;var q=0;var G=0;var ie=0;var ae=0;var ce;return{get pos(){return R},get error(){return ce},get state(){return captureMapping(true,true)},next:function(){while(!N&&R=E.length)return setError("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var q=base64FormatDecode(E.charCodeAt(R));if(q===-1)return setError("Invalid character in VLQ"),-1;N=(q&32)!==0;$=$|(q&31)<>1}else{$=$>>1;$=-$}return $}}E.decodeMappings=decodeMappings;function sameMapping(E,N){return E===N||E.generatedLine===N.generatedLine&&E.generatedCharacter===N.generatedCharacter&&E.sourceIndex===N.sourceIndex&&E.sourceLine===N.sourceLine&&E.sourceCharacter===N.sourceCharacter&&E.nameIndex===N.nameIndex}E.sameMapping=sameMapping;function isSourceMapping(E){return E.sourceIndex!==undefined&&E.sourceLine!==undefined&&E.sourceCharacter!==undefined}E.isSourceMapping=isSourceMapping;function base64FormatEncode(N){return N>=0&&N<26?65+N:N>=26&&N<52?97+N-26:N>=52&&N<62?48+N-52:N===62?43:N===63?47:E.Debug.fail("".concat(N,": not a base64 value"))}function base64FormatDecode(E){return E>=65&&E<=90?E-65:E>=97&&E<=122?E-97+26:E>=48&&E<=57?E-48+52:E===43?62:E===47?63:-1}function isSourceMappedPosition(E){return E.sourceIndex!==undefined&&E.sourcePosition!==undefined}function sameMappedPosition(E,N){return E.generatedPosition===N.generatedPosition&&E.sourceIndex===N.sourceIndex&&E.sourcePosition===N.sourcePosition}function compareSourcePositions(N,R){E.Debug.assert(N.sourceIndex===R.sourceIndex);return E.compareValues(N.sourcePosition,R.sourcePosition)}function compareGeneratedPositions(N,R){return E.compareValues(N.generatedPosition,R.generatedPosition)}function getSourcePositionOfMapping(E){return E.sourcePosition}function getGeneratedPositionOfMapping(E){return E.generatedPosition}function createDocumentPositionMapper(N,R,j){var $=E.getDirectoryPath(j);var q=R.sourceRoot?E.getNormalizedAbsolutePath(R.sourceRoot,$):$;var G=E.getNormalizedAbsolutePath(R.file,$);var ie=N.getSourceFileLike(G);var ae=R.sources.map((function(N){return E.getNormalizedAbsolutePath(N,q)}));var ce=new E.Map(ae.map((function(E,R){return[N.getCanonicalFileName(E),R]})));var le;var _e;var Te;return{getSourcePosition:getSourcePosition,getGeneratedPosition:getGeneratedPosition};function processMapping(j){var $=ie!==undefined?E.getPositionOfLineAndCharacter(ie,j.generatedLine,j.generatedCharacter,true):-1;var q;var G;if(isSourceMapping(j)){var ce=N.getSourceFileLike(ae[j.sourceIndex]);q=R.sources[j.sourceIndex];G=ce!==undefined?E.getPositionOfLineAndCharacter(ce,j.sourceLine,j.sourceCharacter,true):-1}return{generatedPosition:$,source:q,sourceIndex:j.sourceIndex,sourcePosition:G,nameIndex:j.nameIndex}}function getDecodedMappings(){if(le===undefined){var j=decodeMappings(R.mappings);var $=E.arrayFrom(j,processMapping);if(j.error!==undefined){if(N.log){N.log("Encountered error while decoding sourcemap: ".concat(j.error))}le=E.emptyArray}else{le=$}}return le}function getSourceMappings(N){if(Te===undefined){var R=[];for(var j=0,$=getDecodedMappings();j<$.length;j++){var q=$[j];if(!isSourceMappedPosition(q))continue;var G=R[q.sourceIndex];if(!G)R[q.sourceIndex]=G=[];G.push(q)}Te=R.map((function(N){return E.sortAndDeduplicate(N,compareSourcePositions,sameMappedPosition)}))}return Te[N]}function getGeneratedMappings(){if(_e===undefined){var N=[];for(var R=0,j=getDecodedMappings();R0&&j!==R.elements.length||!!(R.elements.length-j)&&E.isDefaultImport(N)}E.getImportNeedsImportStarHelper=getImportNeedsImportStarHelper;function getImportNeedsImportDefaultHelper(N){return!getImportNeedsImportStarHelper(N)&&(E.isDefaultImport(N)||!!N.importClause&&E.isNamedImports(N.importClause.namedBindings)&&containsDefaultReference(N.importClause.namedBindings))}E.getImportNeedsImportDefaultHelper=getImportNeedsImportDefaultHelper;function collectExternalModuleInfo(N,R,j,$){var q=[];var G=E.createMultiMap();var ie=[];var ae=new E.Map;var ce;var le=false;var _e;var Te=false;var Ee=false;var we=false;for(var Ie=0,Ne=R.statements;Ie=64&&E<=78}E.isCompoundAssignment=isCompoundAssignment;function getNonAssignmentOperatorForCompoundAssignment(E){switch(E){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}E.getNonAssignmentOperatorForCompoundAssignment=getNonAssignmentOperatorForCompoundAssignment;function getSuperCallFromStatement(N){if(!E.isExpressionStatement(N)){return undefined}var R=E.skipParentheses(N.expression);return E.isSuperCall(R)?R:undefined}E.getSuperCallFromStatement=getSuperCallFromStatement;function findSuperStatementIndex(E,N){for(var R=N;R=1&&!(Te.transformFlags&(16384|32768))&&!(E.getTargetOfBindingOrAssignmentElement(Te).transformFlags&(16384|32768))&&!E.isComputedPropertyName(Ee)){ce=E.append(ce,E.visitNode(Te,N.visitor))}else{if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=createDestructuringPropertyAccess(N,$,Ee);if(E.isComputedPropertyName(Ee)){le=E.append(le,we.argumentExpression)}flattenBindingOrAssignmentElement(N,Te,we,Te)}}else if(_e===ie-1){if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=N.context.getEmitHelperFactory().createRestHelper($,G,le,j);flattenBindingOrAssignmentElement(N,Te,we,Te)}}if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j)}}function flattenArrayBindingOrAssignmentPattern(N,R,j,$,q){var G=E.getElementsOfBindingOrAssignmentPattern(j);var ie=G.length;if(N.level<1&&N.downlevelIteration){$=ensureIdentifier(N,E.setTextRange(N.context.getEmitHelperFactory().createReadHelper($,ie>0&&E.getRestIndicatorOfBindingOrAssignmentElement(G[ie-1])?undefined:ie),q),false,q)}else if(ie!==1&&(N.level<1||ie===0)||E.every(G,E.isOmittedExpression)){var ae=!E.isDeclarationBindingElement(R)||ie!==0;$=ensureIdentifier(N,$,ae,q)}var ce;var le;for(var _e=0;_e=1){if(Te.transformFlags&32768||N.hasTransformedPriorElement&&!isSimpleBindingOrAssignmentElement(Te)){N.hasTransformedPriorElement=true;var Ee=N.context.factory.createTempVariable(undefined);if(N.hoistTempVariables){N.context.hoistVariableDeclaration(Ee)}le=E.append(le,[Ee,Te]);ce=E.append(ce,N.createArrayBindingOrAssignmentElement(Ee))}else{ce=E.append(ce,Te)}}else if(E.isOmittedExpression(Te)){continue}else if(!E.getRestIndicatorOfBindingOrAssignmentElement(Te)){var we=N.context.factory.createElementAccessExpression($,_e);flattenBindingOrAssignmentElement(N,Te,we,Te)}else if(_e===ie-1){var we=N.context.factory.createArraySliceCall($,_e);flattenBindingOrAssignmentElement(N,Te,we,Te)}}if(ce){N.emitBindingOrAssignment(N.createArrayBindingOrAssignmentPattern(ce),$,q,j)}if(le){for(var Ie=0,Ne=le;Ie=E.ModuleKind.ES2015)&&!E.isJsonSourceFile(N);return j.updateSourceFile(N,E.visitLexicalEnvironment(N.statements,sourceElementVisitor,R,0,$))}function getClassFacts(N,R){var j=0;if(E.some(R))j|=1;var $=E.getEffectiveBaseTypeNode(N);if($&&E.skipOuterExpressions($.expression).kind!==104)j|=64;if(E.classOrConstructorParameterIsDecorated(N))j|=2;if(E.childIsDecorated(N))j|=4;if(isExportOfNamespace(N))j|=8;else if(isDefaultExternalModuleExport(N))j|=32;else if(isNamedExternalModuleExport(N))j|=16;if(Te<=1&&j&7)j|=128;return j}function hasTypeScriptClassSyntax(E){return!!(E.transformFlags&4096)}function isClassLikeDeclarationWithTypeScriptSyntax(N){return E.some(N.decorators)||E.some(N.typeParameters)||E.some(N.heritageClauses,hasTypeScriptClassSyntax)||E.some(N.members,hasTypeScriptClassSyntax)}function visitClassDeclaration(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)&&!(Me&&E.hasSyntacticModifier(N,1))){return E.visitEachChild(N,visitor,R)}var $=E.getProperties(N,true,true);var q=getClassFacts(N,$);if(q&128){R.startLexicalEnvironment()}var G=N.name||(q&5?j.getGeneratedNameForNode(N):undefined);var ie=q&2?createClassDeclarationHeadWithDecorators(N,G):createClassDeclarationHeadWithoutDecorators(N,G,q);var ae=[ie];addClassElementDecorationStatements(ae,N,false);addClassElementDecorationStatements(ae,N,true);addConstructorDecorationStatement(ae,N);if(q&128){var ce=E.createTokenRange(E.skipTrivia(Ne.text,N.members.end),19);var le=j.getInternalName(N);var _e=j.createPartiallyEmittedExpression(le);E.setTextRangeEnd(_e,ce.end);E.setEmitFlags(_e,1536);var Te=j.createReturnStatement(_e);E.setTextRangePos(Te,ce.pos);E.setEmitFlags(Te,1536|384);ae.push(Te);E.insertStatementsAfterStandardPrologue(ae,R.endLexicalEnvironment());var Ee=j.createImmediatelyInvokedArrowFunction(ae);E.setEmitFlags(Ee,33554432);var we=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(j.getLocalName(N,false,false),undefined,undefined,Ee)]));E.setOriginalNode(we,N);E.setCommentRange(we,N);E.setSourceMapRange(we,E.moveRangePastDecorators(N));E.startOnNewLine(we);ae=[we]}if(q&8){addExportMemberAssignment(ae,N)}else if(q&128||q&2){if(q&32){ae.push(j.createExportDefault(j.getLocalName(N,false,true)))}else if(q&16){ae.push(j.createExternalModuleExport(j.getLocalName(N,false,true)))}}if(ae.length>1){ae.push(j.createEndOfDeclarationMarker(N));E.setEmitFlags(ie,E.getEmitFlags(ie)|4194304)}return E.singleOrMany(ae)}function createClassDeclarationHeadWithoutDecorators(N,R,$){var q=!($&128)?E.visitNodes(N.modifiers,modifierVisitor,E.isModifier):undefined;var G=j.createClassDeclaration(undefined,q,R,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));var ie=E.getEmitFlags(N);if($&1){ie|=32}E.setTextRange(G,N);E.setOriginalNode(G,N);E.setEmitFlags(G,ie);return G}function createClassDeclarationHeadWithDecorators(N,R){var $=E.moveRangePastDecorators(N);var q=getClassAliasIfNeeded(N);var G=Te<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ie=E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause);var ae=transformClassMembers(N);var ce=j.createClassExpression(undefined,undefined,R,undefined,ie,ae);E.setOriginalNode(ce,N);E.setTextRange(ce,$);var le=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(G,undefined,undefined,q?j.createAssignment(q,ce):ce)],1));E.setOriginalNode(le,N);E.setTextRange(le,$);E.setCommentRange(le,N);return le}function visitClassExpression(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)){return E.visitEachChild(N,visitor,R)}var $=j.createClassExpression(undefined,undefined,N.name,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));E.setOriginalNode($,N);E.setTextRange($,N);return $}function transformClassMembers(N){var R=[];var $=E.getFirstConstructorWithBody(N);var q=$&&E.filter($.parameters,(function(N){return E.isParameterPropertyDeclaration(N,$)}));if(q){for(var G=0,ie=q;G0&&E.parameterIsThisKeyword(j[0]);var q=$?1:0;var G=$?j.length-1:j.length;for(var ie=0;ie0?R.kind===166?j.createVoidZero():j.createNull():undefined;var le=$().createDecorateHelper(G,ie,ae,ce);E.setTextRange(le,E.moveRangePastDecorators(R));E.setEmitFlags(le,1536);return le}function addConstructorDecorationStatement(N,R){var $=generateConstructorDecorationExpression(R);if($){N.push(E.setOriginalNode(j.createExpressionStatement($),R))}}function generateConstructorDecorationExpression(N){var R=getAllDecoratorsOfConstructor(N);var q=transformAllDecoratorsOfDeclaration(N,N,R);if(!q){return undefined}var G=Je&&Je[E.getOriginalNodeId(N)];var ie=Te<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ae=$().createDecorateHelper(q,ie);var ce=j.createAssignment(ie,G?j.createAssignment(G,ae):ae);E.setEmitFlags(ce,1536);E.setSourceMapRange(ce,E.moveRangePastDecorators(N));return ce}function transformDecorator(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformDecoratorsOfParameter(N,R){var j;if(N){j=[];for(var q=0,G=N;q=0){E.addRange(ae,E.visitNodes(N.statements,visitor,E.isStatement,ce,le+1-ce))}var _e=E.mapDefined(q,transformParameterWithPropertyAssignment);if(le>=0){E.addRange(ae,_e)}else{ae=E.addRange(_e,ae)}E.addRange(ae,E.visitNodes(N.statements,visitor,E.isStatement,le+1));ae=j.mergeLexicalEnvironment(ae,ie());var Te=j.createBlock(E.setTextRange(j.createNodeArray(ae),N.statements),true);E.setTextRange(Te,N);E.setOriginalNode(Te,N);return Te}function transformParameterWithPropertyAssignment(N){var R=N.name;if(!E.isIdentifier(R)){return undefined}var $=E.setParent(E.setTextRange(j.cloneNode(R),R),R.parent);E.setEmitFlags($,1536|48);var q=E.setParent(E.setTextRange(j.cloneNode(R),R),R.parent);E.setEmitFlags(q,1536);return E.startOnNewLine(E.removeAllComments(E.setTextRange(E.setOriginalNode(j.createExpressionStatement(j.createAssignment(E.setTextRange(j.createPropertyAccessExpression(j.createThis(),$),N.name),q)),N),E.moveRangePos(N,-1))))}function visitMethodDeclaration(N){if(!shouldEmitFunctionLikeDeclaration(N)){return undefined}var $=j.updateMethodDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),N.asteriskToken,visitPropertyNameOfClassElement(N),undefined,undefined,E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R));if($!==N){E.setCommentRange($,N);E.setSourceMapRange($,E.moveRangePastDecorators(N))}return $}function shouldEmitAccessorDeclaration(N){return!(E.nodeIsMissing(N.body)&&E.hasSyntacticModifier(N,128))}function visitGetAccessor(N){if(!shouldEmitAccessorDeclaration(N)){return undefined}var $=j.updateGetAccessorDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),visitPropertyNameOfClassElement(N),E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));if($!==N){E.setCommentRange($,N);E.setSourceMapRange($,E.moveRangePastDecorators(N))}return $}function visitSetAccessor(N){if(!shouldEmitAccessorDeclaration(N)){return undefined}var $=j.updateSetAccessorDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),visitPropertyNameOfClassElement(N),E.visitParameterList(N.parameters,visitor,R),E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));if($!==N){E.setCommentRange($,N);E.setSourceMapRange($,E.moveRangePastDecorators(N))}return $}function visitFunctionDeclaration(N){if(!shouldEmitFunctionLikeDeclaration(N)){return j.createNotEmittedStatement(N)}var $=j.updateFunctionDeclaration(N,undefined,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),N.asteriskToken,N.name,undefined,E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));if(isExportOfNamespace(N)){var q=[$];addExportMemberAssignment(q,N);return q}return $}function visitFunctionExpression(N){if(!shouldEmitFunctionLikeDeclaration(N)){return j.createOmittedExpression()}var $=j.updateFunctionExpression(N,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),N.asteriskToken,N.name,undefined,E.visitParameterList(N.parameters,visitor,R),undefined,E.visitFunctionBody(N.body,visitor,R)||j.createBlock([]));return $}function visitArrowFunction(N){var $=j.updateArrowFunction(N,E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),undefined,E.visitParameterList(N.parameters,visitor,R),undefined,N.equalsGreaterThanToken,E.visitFunctionBody(N.body,visitor,R));return $}function visitParameter(N){if(E.parameterIsThisKeyword(N)){return undefined}var R=j.updateParameterDeclaration(N,undefined,undefined,N.dotDotDotToken,E.visitNode(N.name,visitor,E.isBindingName),undefined,undefined,E.visitNode(N.initializer,visitor,E.isExpression));if(R!==N){E.setCommentRange(R,N);E.setTextRange(R,E.moveRangePastModifiers(N));E.setSourceMapRange(R,E.moveRangePastModifiers(N));E.setEmitFlags(R.name,32)}return R}function visitVariableStatement(N){if(isExportOfNamespace(N)){var $=E.getInitializedVariables(N.declarationList);if($.length===0){return undefined}return E.setTextRange(j.createExpressionStatement(j.inlineExpressions(E.map($,transformInitializedVariable))),N)}else{return E.visitEachChild(N,visitor,R)}}function transformInitializedVariable(N){var $=N.name;if(E.isBindingPattern($)){return E.flattenDestructuringAssignment(N,visitor,R,0,false,createNamespaceExportExpression)}else{return E.setTextRange(j.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments($),E.visitNode(N.initializer,visitor,E.isExpression)),N)}}function visitVariableDeclaration(N){return j.updateVariableDeclaration(N,E.visitNode(N.name,visitor,E.isBindingName),undefined,undefined,E.visitNode(N.initializer,visitor,E.isExpression))}function visitParenthesizedExpression(N){var $=E.skipOuterExpressions(N.expression,~6);if(E.isAssertionExpression($)){var q=E.visitNode(N.expression,visitor,E.isExpression);return j.createPartiallyEmittedExpression(q,N)}return E.visitEachChild(N,visitor,R)}function visitAssertionExpression(N){var R=E.visitNode(N.expression,visitor,E.isExpression);return j.createPartiallyEmittedExpression(R,N)}function visitNonNullExpression(N){var R=E.visitNode(N.expression,visitor,E.isLeftHandSideExpression);return j.createPartiallyEmittedExpression(R,N)}function visitCallExpression(N){return j.updateCallExpression(N,E.visitNode(N.expression,visitor,E.isExpression),undefined,E.visitNodes(N.arguments,visitor,E.isExpression))}function visitNewExpression(N){return j.updateNewExpression(N,E.visitNode(N.expression,visitor,E.isExpression),undefined,E.visitNodes(N.arguments,visitor,E.isExpression))}function visitTaggedTemplateExpression(N){return j.updateTaggedTemplateExpression(N,E.visitNode(N.tag,visitor,E.isExpression),undefined,E.visitNode(N.template,visitor,E.isExpression))}function visitJsxSelfClosingElement(N){return j.updateJsxSelfClosingElement(N,E.visitNode(N.tagName,visitor,E.isJsxTagNameExpression),undefined,E.visitNode(N.attributes,visitor,E.isJsxAttributes))}function visitJsxJsxOpeningElement(N){return j.updateJsxOpeningElement(N,E.visitNode(N.tagName,visitor,E.isJsxTagNameExpression),undefined,E.visitNode(N.attributes,visitor,E.isJsxAttributes))}function shouldEmitEnumDeclaration(N){return!E.isEnumConst(N)||E.shouldPreserveConstEnums(le)}function visitEnumDeclaration(N){if(!shouldEmitEnumDeclaration(N)){return j.createNotEmittedStatement(N)}var R=[];var $=2;var q=addVarForEnumOrModuleDeclaration(R,N);if(q){if(Ee!==E.ModuleKind.System||Be!==Ne){$|=512}}var G=getNamespaceParameterName(N);var ie=getNamespaceContainerName(N);var ae=E.hasSyntacticModifier(N,1)?j.getExternalModuleOrNamespaceExportName(Le,N,false,true):j.getLocalName(N,false,true);var ce=j.createLogicalOr(ae,j.createAssignment(ae,j.createObjectLiteralExpression()));if(hasNamespaceQualifiedExportName(N)){var le=j.getLocalName(N,false,true);ce=j.createAssignment(le,ce)}var _e=j.createExpressionStatement(j.createCallExpression(j.createFunctionExpression(undefined,undefined,undefined,undefined,[j.createParameterDeclaration(undefined,undefined,undefined,G)],undefined,transformEnumBody(N,ie)),undefined,[ce]));E.setOriginalNode(_e,N);if(q){E.setSyntheticLeadingComments(_e,undefined);E.setSyntheticTrailingComments(_e,undefined)}E.setTextRange(_e,N);E.addEmitFlags(_e,$);R.push(_e);R.push(j.createEndOfDeclarationMarker(N));return R}function transformEnumBody(N,R){var $=Le;Le=R;var G=[];q();var ae=E.map(N.members,transformEnumMember);E.insertStatementsAfterStandardPrologue(G,ie());E.addRange(G,ae);Le=$;return j.createBlock(E.setTextRange(j.createNodeArray(G),N.members),true)}function transformEnumMember(N){var R=getExpressionForPropertyName(N,false);var $=transformEnumMemberDeclarationValue(N);var q=j.createAssignment(j.createElementAccessExpression(Le,R),$);var G=$.kind===10?q:j.createAssignment(j.createElementAccessExpression(Le,q),R);return E.setTextRange(j.createExpressionStatement(E.setTextRange(G,N)),N)}function transformEnumMemberDeclarationValue(N){var R=ce.getConstantValue(N);if(R!==undefined){return typeof R==="string"?j.createStringLiteral(R):j.createNumericLiteral(R)}else{enableSubstitutionForNonQualifiedEnumMembers();if(N.initializer){return E.visitNode(N.initializer,visitor,E.isExpression)}else{return j.createVoidZero()}}}function shouldEmitModuleDeclaration(N){var R=E.getParseTreeNode(N,E.isModuleDeclaration);if(!R){return true}return E.isInstantiatedModule(R,E.shouldPreserveConstEnums(le))}function hasNamespaceQualifiedExportName(N){return isExportOfNamespace(N)||isExternalModuleExport(N)&&Ee!==E.ModuleKind.ES2015&&Ee!==E.ModuleKind.ES2020&&Ee!==E.ModuleKind.ES2022&&Ee!==E.ModuleKind.ESNext&&Ee!==E.ModuleKind.System}function recordEmittedDeclarationInScope(N){if(!Ue){Ue=new E.Map}var R=declaredNameInScope(N);if(!Ue.has(R)){Ue.set(R,N)}}function isFirstEmittedDeclarationInScope(E){if(Ue){var N=declaredNameInScope(E);return Ue.get(N)===E}return true}function declaredNameInScope(N){E.Debug.assertNode(N.name,E.isIdentifier);return N.name.escapedText}function addVarForEnumOrModuleDeclaration(N,R){var $=j.createVariableStatement(E.visitNodes(R.modifiers,modifierVisitor,E.isModifier),j.createVariableDeclarationList([j.createVariableDeclaration(j.getLocalName(R,false,true))],Be.kind===303?0:1));E.setOriginalNode($,R);recordEmittedDeclarationInScope(R);if(isFirstEmittedDeclarationInScope(R)){if(R.kind===259){E.setSourceMapRange($.declarationList,R)}else{E.setSourceMapRange($,R)}E.setCommentRange($,R);E.addEmitFlags($,1024|4194304);N.push($);return true}else{var q=j.createMergeDeclarationMarker($);E.setEmitFlags(q,1536|4194304);N.push(q);return false}}function visitModuleDeclaration(N){if(!shouldEmitModuleDeclaration(N)){return j.createNotEmittedStatement(N)}E.Debug.assertNode(N.name,E.isIdentifier,"A TypeScript namespace should have an Identifier name.");enableSubstitutionForNamespaceExports();var R=[];var $=2;var q=addVarForEnumOrModuleDeclaration(R,N);if(q){if(Ee!==E.ModuleKind.System||Be!==Ne){$|=512}}var G=getNamespaceParameterName(N);var ie=getNamespaceContainerName(N);var ae=E.hasSyntacticModifier(N,1)?j.getExternalModuleOrNamespaceExportName(Le,N,false,true):j.getLocalName(N,false,true);var ce=j.createLogicalOr(ae,j.createAssignment(ae,j.createObjectLiteralExpression()));if(hasNamespaceQualifiedExportName(N)){var le=j.getLocalName(N,false,true);ce=j.createAssignment(le,ce)}var _e=j.createExpressionStatement(j.createCallExpression(j.createFunctionExpression(undefined,undefined,undefined,undefined,[j.createParameterDeclaration(undefined,undefined,undefined,G)],undefined,transformModuleBody(N,ie)),undefined,[ce]));E.setOriginalNode(_e,N);if(q){E.setSyntheticLeadingComments(_e,undefined);E.setSyntheticTrailingComments(_e,undefined)}E.setTextRange(_e,N);E.addEmitFlags(_e,$);R.push(_e);R.push(j.createEndOfDeclarationMarker(N));return R}function transformModuleBody(N,R){var $=Le;var G=Me;var ae=Ue;Le=R;Me=N;Ue=undefined;var ce=[];q();var le;var _e;if(N.body){if(N.body.kind===261){saveStateAndInvoke(N.body,(function(N){return E.addRange(ce,E.visitNodes(N.statements,namespaceElementVisitor,E.isStatement))}));le=N.body.statements;_e=N.body}else{var Te=visitModuleDeclaration(N.body);if(Te){if(E.isArray(Te)){E.addRange(ce,Te)}else{ce.push(Te)}}var Ee=getInnerMostModuleDeclarationFromDottedModule(N).body;le=E.moveRangePos(Ee.statements,-1)}}E.insertStatementsAfterStandardPrologue(ce,ie());Le=$;Me=G;Ue=ae;var we=j.createBlock(E.setTextRange(j.createNodeArray(ce),le),true);E.setTextRange(we,_e);if(!N.body||N.body.kind!==261){E.setEmitFlags(we,E.getEmitFlags(we)|1536)}return we}function getInnerMostModuleDeclarationFromDottedModule(E){if(E.body.kind===260){var N=getInnerMostModuleDeclarationFromDottedModule(E.body);return N||E.body}}function visitImportDeclaration(N){if(!N.importClause){return N}if(N.importClause.isTypeOnly){return undefined}var R=E.visitNode(N.importClause,visitImportClause,E.isImportClause);return R||le.importsNotUsedAsValues===1||le.importsNotUsedAsValues===2?j.updateImportDeclaration(N,undefined,undefined,R,N.moduleSpecifier,N.assertClause):undefined}function visitImportClause(N){E.Debug.assert(!N.isTypeOnly);var R=shouldEmitAliasDeclaration(N)?N.name:undefined;var $=E.visitNode(N.namedBindings,visitNamedImportBindings,E.isNamedImportBindings);return R||$?j.updateImportClause(N,false,R,$):undefined}function visitNamedImportBindings(N){if(N.kind===267){return shouldEmitAliasDeclaration(N)?N:undefined}else{var R=le.preserveValueImports&&(le.importsNotUsedAsValues===1||le.importsNotUsedAsValues===2);var $=E.visitNodes(N.elements,visitImportSpecifier,E.isImportSpecifier);return R||E.some($)?j.updateNamedImports(N,$):undefined}}function visitImportSpecifier(E){return!E.isTypeOnly&&shouldEmitAliasDeclaration(E)?E:undefined}function visitExportAssignment(N){return ce.isValueAliasDeclaration(N)?E.visitEachChild(N,visitor,R):undefined}function visitExportDeclaration(N){if(N.isTypeOnly){return undefined}if(!N.exportClause||E.isNamespaceExport(N.exportClause)){return N}var R=!!N.moduleSpecifier&&(le.importsNotUsedAsValues===1||le.importsNotUsedAsValues===2);var $=E.visitNode(N.exportClause,(function(E){return visitNamedExportBindings(E,R)}),E.isNamedExportBindings);return $?j.updateExportDeclaration(N,undefined,undefined,N.isTypeOnly,$,N.moduleSpecifier,N.assertClause):undefined}function visitNamedExports(N,R){var $=E.visitNodes(N.elements,visitExportSpecifier,E.isExportSpecifier);return R||E.some($)?j.updateNamedExports(N,$):undefined}function visitNamespaceExports(N){return j.updateNamespaceExport(N,E.visitNode(N.name,visitor,E.isIdentifier))}function visitNamedExportBindings(N,R){return E.isNamespaceExport(N)?visitNamespaceExports(N):visitNamedExports(N,R)}function visitExportSpecifier(E){return!E.isTypeOnly&&ce.isValueAliasDeclaration(E)?E:undefined}function shouldEmitImportEqualsDeclaration(N){return shouldEmitAliasDeclaration(N)||!E.isExternalModule(Ne)&&ce.isTopLevelValueImportEqualsWithEntityName(N)}function visitImportEqualsDeclaration(N){if(N.isTypeOnly){return undefined}if(E.isExternalModuleImportEqualsDeclaration(N)){var $=shouldEmitAliasDeclaration(N);if(!$&&le.importsNotUsedAsValues===1){return E.setOriginalNode(E.setTextRange(j.createImportDeclaration(undefined,undefined,undefined,N.moduleReference.expression,undefined),N),N)}return $?E.visitEachChild(N,visitor,R):undefined}if(!shouldEmitImportEqualsDeclaration(N)){return undefined}var q=E.createExpressionFromEntityName(j,N.moduleReference);E.setEmitFlags(q,1536|2048);if(isNamedExternalModuleExport(N)||!isExportOfNamespace(N)){return E.setOriginalNode(E.setTextRange(j.createVariableStatement(E.visitNodes(N.modifiers,modifierVisitor,E.isModifier),j.createVariableDeclarationList([E.setOriginalNode(j.createVariableDeclaration(N.name,undefined,undefined,q),N)])),N),N)}else{return E.setOriginalNode(createNamespaceExport(N.name,q,N),N)}}function isExportOfNamespace(N){return Me!==undefined&&E.hasSyntacticModifier(N,1)}function isExternalModuleExport(N){return Me===undefined&&E.hasSyntacticModifier(N,1)}function isNamedExternalModuleExport(N){return isExternalModuleExport(N)&&!E.hasSyntacticModifier(N,512)}function isDefaultExternalModuleExport(N){return isExternalModuleExport(N)&&E.hasSyntacticModifier(N,512)}function expressionToStatement(E){return j.createExpressionStatement(E)}function addExportMemberAssignment(N,R){var $=j.createAssignment(j.getExternalModuleOrNamespaceExportName(Le,R,false,true),j.getLocalName(R));E.setSourceMapRange($,E.createRange(R.name?R.name.pos:R.pos,R.end));var q=j.createExpressionStatement($);E.setSourceMapRange(q,E.createRange(-1,R.end));N.push(q)}function createNamespaceExport(N,R,$){return E.setTextRange(j.createExpressionStatement(j.createAssignment(j.getNamespaceMemberName(Le,N,false,true),R)),$)}function createNamespaceExportExpression(N,R,$){return E.setTextRange(j.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments(N),R),$)}function getNamespaceMemberNameWithSourceMapsAndWithoutComments(E){return j.getNamespaceMemberName(Le,E,false,true)}function getNamespaceParameterName(N){var R=j.getGeneratedNameForNode(N);E.setSourceMapRange(R,N.name);return R}function getNamespaceContainerName(E){return j.getGeneratedNameForNode(E)}function getClassAliasIfNeeded(N){if(ce.getNodeCheckFlags(N)&16777216){enableSubstitutionForClassAliases();var R=j.createUniqueName(N.name&&!E.isGeneratedIdentifier(N.name)?E.idText(N.name):"default");Je[E.getOriginalNodeId(N)]=R;ae(R);return R}}function getClassPrototype(E){return j.createPropertyAccessExpression(j.getDeclarationName(E),"prototype")}function getClassMemberPrefix(N,R){return E.isStatic(R)?j.getDeclarationName(N):getClassPrototype(N)}function enableSubstitutionForNonQualifiedEnumMembers(){if((We&8)===0){We|=8;R.enableSubstitution(79)}}function enableSubstitutionForClassAliases(){if((We&1)===0){We|=1;R.enableSubstitution(79);Je=[]}}function enableSubstitutionForNamespaceExports(){if((We&2)===0){We|=2;R.enableSubstitution(79);R.enableSubstitution(295);R.enableEmitNotification(260)}}function isTransformedModuleDeclaration(N){return E.getOriginalNode(N).kind===260}function isTransformedEnumDeclaration(N){return E.getOriginalNode(N).kind===259}function onEmitNode(N,R,j){var $=Ve;var q=Ne;if(E.isSourceFile(R)){Ne=R}if(We&2&&isTransformedModuleDeclaration(R)){Ve|=2}if(We&8&&isTransformedEnumDeclaration(R)){Ve|=8}we(N,R,j);Ve=$;Ne=q}function onSubstituteNode(N,R){R=Ie(N,R);if(N===1){return substituteExpression(R)}else if(E.isShorthandPropertyAssignment(R)){return substituteShorthandPropertyAssignment(R)}return R}function substituteShorthandPropertyAssignment(N){if(We&2){var R=N.name;var $=trySubstituteNamespaceExportedName(R);if($){if(N.objectAssignmentInitializer){var q=j.createAssignment($,N.objectAssignmentInitializer);return E.setTextRange(j.createPropertyAssignment(R,q),N)}return E.setTextRange(j.createPropertyAssignment(R,$),N)}}return N}function substituteExpression(E){switch(E.kind){case 79:return substituteExpressionIdentifier(E);case 205:return substitutePropertyAccessExpression(E);case 206:return substituteElementAccessExpression(E)}return E}function substituteExpressionIdentifier(E){return trySubstituteClassAlias(E)||trySubstituteNamespaceExportedName(E)||E}function trySubstituteClassAlias(N){if(We&1){if(ce.getNodeCheckFlags(N)&33554432){var R=ce.getReferencedValueDeclaration(N);if(R){var $=Je[R.id];if($){var q=j.cloneNode($);E.setSourceMapRange(q,N);E.setCommentRange(q,N);return q}}}}return undefined}function trySubstituteNamespaceExportedName(N){if(We&Ve&&!E.isGeneratedIdentifier(N)&&!E.isLocalName(N)){var R=ce.getReferencedExportContainer(N,false);if(R&&R.kind!==303){var $=Ve&2&&R.kind===260||Ve&8&&R.kind===259;if($){return E.setTextRange(j.createPropertyAccessExpression(j.getGeneratedNameForNode(R),N),N)}}}return undefined}function substitutePropertyAccessExpression(E){return substituteConstantValue(E)}function substituteElementAccessExpression(E){return substituteConstantValue(E)}function substituteConstantValue(N){var R=tryGetConstEnumValue(N);if(R!==undefined){E.setConstantValue(N,R);var $=typeof R==="string"?j.createStringLiteral(R):j.createNumericLiteral(R);if(!le.removeComments){var q=E.getOriginalNode(N,E.isAccessExpression);var G=E.isPropertyAccessExpression(q)?E.declarationNameToString(q.name):E.getTextOfNode(q.argumentExpression);E.addSyntheticTrailingComment($,3," ".concat(G," "))}return $}return N}function tryGetConstEnumValue(N){if(le.isolatedModules){return undefined}return E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)?ce.getConstantValue(N):undefined}function shouldEmitAliasDeclaration(E){return le.preserveValueImports?ce.isValueAliasDeclaration(E):ce.isReferencedAliasDeclaration(E)}}E.transformTypeScript=transformTypeScript})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["ClassAliases"]=1]="ClassAliases";E[E["ClassStaticThisOrSuperReference"]=2]="ClassStaticThisOrSuperReference"})(N||(N={}));var R;(function(E){E["Field"]="f";E["Method"]="m";E["Accessor"]="a"})(R=E.PrivateIdentifierKind||(E.PrivateIdentifierKind={}));var $;(function(E){E[E["None"]=0]="None";E[E["ClassWasDecorated"]=1]="ClassWasDecorated";E[E["NeedsClassConstructorReference"]=2]="NeedsClassConstructorReference";E[E["NeedsClassSuperReference"]=4]="NeedsClassSuperReference";E[E["NeedsSubstitutionForThisInClassStaticField"]=8]="NeedsSubstitutionForThisInClassStaticField"})($||($={}));function transformClassFields(N){var R=N.factory,$=N.hoistVariableDeclaration,q=N.endLexicalEnvironment,G=N.startLexicalEnvironment,ie=N.resumeLexicalEnvironment,ae=N.addBlockScopedVariable;var ce=N.getEmitResolver();var le=N.getCompilerOptions();var _e=E.getEmitScriptTarget(le);var Te=E.getUseDefineForClassFields(le);var Ee=_e<9;var we=_e<9;var Ie=we&&_e>=2;var Ne=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Me=N.onEmitNode;N.onEmitNode=onEmitNode;var Le;var Be;var je;var Ue;var ze=[];var We=new E.Map;var Je;var Ve;var qe;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){var j=N.getCompilerOptions();if(R.isDeclarationFile||Te&&E.getEmitScriptTarget(j)>=9){return R}var $=E.visitEachChild(R,visitor,N);E.addEmitHelpers($,N.readEmitHelpers());return $}function visitorWorker(R,j){if(R.transformFlags&8388608){switch(R.kind){case 225:case 256:return visitClassLike(R);case 166:return visitPropertyDeclaration(R);case 236:return visitVariableStatement(R);case 80:return visitPrivateIdentifier(R);case 169:return visitClassStaticBlockDeclaration(R)}}if(R.transformFlags&8388608||R.transformFlags&33554432&&Ie&&qe&&Je){switch(R.kind){case 218:case 219:return visitPreOrPostfixUnaryExpression(R,j);case 220:return visitBinaryExpression(R,j);case 207:return visitCallExpression(R);case 209:return visitTaggedTemplateExpression(R);case 205:return visitPropertyAccessExpression(R);case 206:return visitElementAccessExpression(R);case 237:return visitExpressionStatement(R);case 241:return visitForStatement(R);case 255:case 212:case 170:case 168:case 171:case 172:{var $=qe;qe=undefined;var q=E.visitEachChild(R,visitor,N);qe=$;return q}}}return E.visitEachChild(R,visitor,N)}function discardedValueVisitor(E){return visitorWorker(E,true)}function visitor(E){return visitorWorker(E,false)}function heritageClauseVisitor(R){switch(R.kind){case 290:return E.visitEachChild(R,heritageClauseVisitor,N);case 227:return visitExpressionWithTypeArguments(R)}return visitor(R)}function visitorDestructuringTarget(E){switch(E.kind){case 204:case 203:return visitAssignmentPattern(E);default:return visitor(E)}}function visitPrivateIdentifier(N){if(!Ee){return N}if(E.isStatement(N.parent)){return N}return E.setOriginalNode(R.createIdentifier(""),N)}function visitPrivateIdentifierInInExpression(R){if(!Ee){return R}var j=R.left;E.Debug.assertNode(j,E.isPrivateIdentifier);E.Debug.assert(R.operatorToken.kind===101);var $=accessPrivateIdentifier(j);if($){var q=E.visitNode(R.right,visitor,E.isExpression);return E.setOriginalNode(N.getEmitHelperFactory().createClassPrivateFieldInHelper($.brandCheckIdentifier,q),R)}return E.visitEachChild(R,visitor,N)}function classElementVisitor(E){switch(E.kind){case 170:return undefined;case 171:case 172:case 168:return visitMethodOrAccessorDeclaration(E);case 166:return visitPropertyDeclaration(E);case 161:return visitComputedPropertyName(E);case 233:return E;default:return visitor(E)}}function visitVariableStatement(R){var $=Ue;Ue=[];var q=E.visitEachChild(R,visitor,N);var G=E.some(Ue)?j([q],Ue,true):q;Ue=$;return G}function visitComputedPropertyName(j){var $=E.visitEachChild(j,visitor,N);if(E.some(je)){var q=je;q.push($.expression);je=[];$=R.updateComputedPropertyName($,R.inlineExpressions(q))}return $}function visitMethodOrAccessorDeclaration(j){E.Debug.assert(!E.some(j.decorators));if(!Ee||!E.isPrivateIdentifier(j.name)){return E.visitEachChild(j,classElementVisitor,N)}var $=accessPrivateIdentifier(j.name);E.Debug.assert($,"Undeclared private name for property declaration.");if(!$.isValid){return j}var q=getHoistedFunctionName(j);if(q){getPendingExpressions().push(R.createAssignment(q,R.createFunctionExpression(E.filter(j.modifiers,(function(N){return!E.isStaticModifier(N)})),j.asteriskToken,q,undefined,E.visitParameterList(j.parameters,classElementVisitor,N),undefined,E.visitFunctionBody(j.body,classElementVisitor,N))))}return undefined}function getHoistedFunctionName(N){E.Debug.assert(E.isPrivateIdentifier(N.name));var R=accessPrivateIdentifier(N.name);E.Debug.assert(R,"Undeclared private name for property declaration.");if(R.kind==="m"){return R.methodName}if(R.kind==="a"){if(E.isGetAccessor(N)){return R.getterName}if(E.isSetAccessor(N)){return R.setterName}}}function visitPropertyDeclaration(j){E.Debug.assert(!E.some(j.decorators));if(E.isPrivateIdentifier(j.name)){if(!Ee){if(E.isStatic(j)){return E.visitEachChild(j,visitor,N)}return R.updatePropertyDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.name,undefined,undefined,undefined)}var $=accessPrivateIdentifier(j.name);E.Debug.assert($,"Undeclared private name for property declaration.");if(!$.isValid){return j}}var q=getPropertyNameExpressionIfNeeded(j.name,!!j.initializer||Te);if(q&&!E.isSimpleInlineableExpression(q)){getPendingExpressions().push(q)}if(E.isStatic(j)&&!Ee&&!Te){var G=transformPropertyOrClassStaticBlock(j,R.createThis());if(G){var ie=R.createClassStaticBlockDeclaration(undefined,undefined,R.createBlock([G]));E.setOriginalNode(ie,j);E.setCommentRange(ie,j);E.setCommentRange(G,{pos:-1,end:-1});E.setSyntheticLeadingComments(G,undefined);E.setSyntheticTrailingComments(G,undefined);return ie}}return undefined}function createPrivateIdentifierAccess(N,R){return createPrivateIdentifierAccessHelper(N,E.visitNode(R,visitor,E.isExpression))}function createPrivateIdentifierAccessHelper(R,j){E.setCommentRange(j,E.moveRangePos(j,-1));switch(R.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.getterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.methodName);case"f":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.variableName);default:E.Debug.assertNever(R,"Unknown private element type")}}function visitPropertyAccessExpression(j){if(Ee&&E.isPrivateIdentifier(j.name)){var $=accessPrivateIdentifier(j.name);if($){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAccess($,j.expression),j),j)}}if(Ie&&E.isSuperProperty(j)&&E.isIdentifier(j.name)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){return visitInvalidSuperProperty(j)}if(q&&G){var ae=R.createReflectGetCall(G,R.createStringLiteralFromNode(j.name),q);E.setOriginalNode(ae,j.expression);E.setTextRange(ae,j.expression);return ae}}return E.visitEachChild(j,visitor,N)}function visitElementAccessExpression(j){if(Ie&&E.isSuperProperty(j)&&qe&&Je){var $=Je.classConstructor,q=Je.superClassReference,G=Je.facts;if(G&1){return visitInvalidSuperProperty(j)}if($&&q){var ie=R.createReflectGetCall(q,E.visitNode(j.argumentExpression,visitor,E.isExpression),$);E.setOriginalNode(ie,j.expression);E.setTextRange(ie,j.expression);return ie}}return E.visitEachChild(j,visitor,N)}function visitPreOrPostfixUnaryExpression(j,q){if(j.operator===45||j.operator===46){if(Ee&&E.isPrivateIdentifierPropertyAccessExpression(j.operand)){var G=void 0;if(G=accessPrivateIdentifier(j.operand.name)){var ie=E.visitNode(j.operand.expression,visitor,E.isExpression);var ae=createCopiableReceiverExpr(ie),ce=ae.readExpression,le=ae.initializeExpression;var _e=createPrivateIdentifierAccess(G,ce);var Te=E.isPrefixUnaryExpression(j)||q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Te);_e=createPrivateIdentifierAssignment(G,le||ce,_e,63);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Te){_e=R.createComma(_e,Te);E.setTextRange(_e,j)}return _e}}else if(Ie&&E.isSuperProperty(j.operand)&&qe&&Je){var we=Je.classConstructor,Ne=Je.superClassReference,Me=Je.facts;if(Me&1){var Le=visitInvalidSuperProperty(j.operand);return E.isPrefixUnaryExpression(j)?R.updatePrefixUnaryExpression(j,Le):R.updatePostfixUnaryExpression(j,Le)}if(we&&Ne){var Be=void 0;var je=void 0;if(E.isPropertyAccessExpression(j.operand)){if(E.isIdentifier(j.operand.name)){je=Be=R.createStringLiteralFromNode(j.operand.name)}}else{if(E.isSimpleInlineableExpression(j.operand.argumentExpression)){je=Be=j.operand.argumentExpression}else{je=R.createTempVariable($);Be=R.createAssignment(je,E.visitNode(j.operand.argumentExpression,visitor,E.isExpression))}}if(Be&&je){var _e=R.createReflectGetCall(Ne,je,we);E.setTextRange(_e,j.operand);var Te=q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Te);_e=R.createReflectSetCall(Ne,Be,_e,we);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Te){_e=R.createComma(_e,Te);E.setTextRange(_e,j)}return _e}}}}return E.visitEachChild(j,visitor,N)}function visitForStatement(j){return R.updateForStatement(j,E.visitNode(j.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}function visitExpressionStatement(N){return R.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function createCopiableReceiverExpr(N){var j=E.nodeIsSynthesized(N)?N:R.cloneNode(N);if(E.isSimpleInlineableExpression(N)){return{readExpression:j,initializeExpression:undefined}}var q=R.createTempVariable($);var G=R.createAssignment(q,j);return{readExpression:q,initializeExpression:G}}function visitCallExpression(q){if(Ee&&E.isPrivateIdentifierPropertyAccessExpression(q.expression)){var G=R.createCallBinding(q.expression,$,_e),ie=G.thisArg,ae=G.target;if(E.isCallChain(q)){return R.updateCallChain(q,R.createPropertyAccessChain(E.visitNode(ae,visitor),q.questionDotToken,"call"),undefined,undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}return R.updateCallExpression(q,R.createPropertyAccessExpression(E.visitNode(ae,visitor),"call"),undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}if(Ie&&E.isSuperProperty(q.expression)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ce=R.createFunctionCallCall(E.visitNode(q.expression,visitor,E.isExpression),Je.classConstructor,E.visitNodes(q.arguments,visitor,E.isExpression));E.setOriginalNode(ce,q);E.setTextRange(ce,q);return ce}return E.visitEachChild(q,visitor,N)}function visitTaggedTemplateExpression(j){if(Ee&&E.isPrivateIdentifierPropertyAccessExpression(j.tag)){var q=R.createCallBinding(j.tag,$,_e),G=q.thisArg,ie=q.target;return R.updateTaggedTemplateExpression(j,R.createCallExpression(R.createPropertyAccessExpression(E.visitNode(ie,visitor),"bind"),undefined,[E.visitNode(G,visitor,E.isExpression)]),undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}if(Ie&&E.isSuperProperty(j.tag)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ae=R.createFunctionBindCall(E.visitNode(j.tag,visitor,E.isExpression),Je.classConstructor,[]);E.setOriginalNode(ae,j);E.setTextRange(ae,j);return R.updateTaggedTemplateExpression(j,ae,undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}return E.visitEachChild(j,visitor,N)}function transformClassStaticBlockDeclaration(N){if(Ee){if(Je){We.set(E.getOriginalNodeId(N),Je)}G();var j=qe;qe=N;var $=E.visitNodes(N.body.statements,visitor,E.isStatement);$=R.mergeLexicalEnvironment($,q());qe=j;var ie=R.createImmediatelyInvokedArrowFunction($);E.setOriginalNode(ie,N);E.setTextRange(ie,N);E.addEmitFlags(ie,2);return ie}}function visitBinaryExpression(q,G){if(E.isDestructuringAssignment(q)){var ie=je;je=undefined;q=R.updateBinaryExpression(q,E.visitNode(q.left,visitorDestructuringTarget),q.operatorToken,E.visitNode(q.right,visitor));var ae=E.some(je)?R.inlineExpressions(E.compact(j(j([],je,true),[q],false))):q;je=ie;return ae}if(E.isAssignmentExpression(q)){if(Ee&&E.isPrivateIdentifierPropertyAccessExpression(q.left)){var ce=accessPrivateIdentifier(q.left.name);if(ce){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAssignment(ce,q.left.expression,q.right,q.operatorToken.kind),q),q)}}else if(Ie&&E.isSuperProperty(q.left)&&qe&&Je){var le=Je.classConstructor,_e=Je.superClassReference,Te=Je.facts;if(Te&1){return R.updateBinaryExpression(q,visitInvalidSuperProperty(q.left),q.operatorToken,E.visitNode(q.right,visitor,E.isExpression))}if(le&&_e){var we=E.isElementAccessExpression(q.left)?E.visitNode(q.left.argumentExpression,visitor,E.isExpression):E.isIdentifier(q.left.name)?R.createStringLiteralFromNode(q.left.name):undefined;if(we){var Ne=E.visitNode(q.right,visitor,E.isExpression);if(E.isCompoundAssignment(q.operatorToken.kind)){var Me=we;if(!E.isSimpleInlineableExpression(we)){Me=R.createTempVariable($);we=R.createAssignment(Me,we)}var Le=R.createReflectGetCall(_e,Me,le);E.setOriginalNode(Le,q.left);E.setTextRange(Le,q.left);Ne=R.createBinaryExpression(Le,E.getNonAssignmentOperatorForCompoundAssignment(q.operatorToken.kind),Ne);E.setTextRange(Ne,q)}var Be=G?undefined:R.createTempVariable($);if(Be){Ne=R.createAssignment(Be,Ne);E.setTextRange(Be,q)}Ne=R.createReflectSetCall(_e,we,Ne,le);E.setOriginalNode(Ne,q);E.setTextRange(Ne,q);if(Be){Ne=R.createComma(Ne,Be);E.setTextRange(Ne,q)}return Ne}}}}if(q.operatorToken.kind===101&&E.isPrivateIdentifier(q.left)){return visitPrivateIdentifierInInExpression(q)}return E.visitEachChild(q,visitor,N)}function createPrivateIdentifierAssignment(j,$,q,G){$=E.visitNode($,visitor,E.isExpression);q=E.visitNode(q,visitor,E.isExpression);if(E.isCompoundAssignment(G)){var ie=createCopiableReceiverExpr($),ae=ie.readExpression,ce=ie.initializeExpression;$=ce||ae;q=R.createBinaryExpression(createPrivateIdentifierAccessHelper(j,ae),E.getNonAssignmentOperatorForCompoundAssignment(G),q)}E.setCommentRange($,E.moveRangePos($,-1));switch(j.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.setterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,undefined);case"f":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.variableName);default:E.Debug.assertNever(j,"Unknown private element type")}}function visitClassLike(R){if(!E.forEach(R.members,doesClassElementNeedTransform)){return E.visitEachChild(R,visitor,N)}var j=je;je=undefined;startClassLexicalEnvironment();if(Ee){var $=E.getNameOfDeclaration(R);if($&&E.isIdentifier($)){getPrivateIdentifierEnvironment().className=E.idText($)}var q=getPrivateInstanceMethodsAndAccessors(R);if(E.some(q)){getPrivateIdentifierEnvironment().weakSetName=createHoistedVariableForClass("instances",q[0].name)}}var G=E.isClassDeclaration(R)?visitClassDeclaration(R):visitClassExpression(R);endClassLexicalEnvironment();je=j;return G}function doesClassElementNeedTransform(N){return E.isPropertyDeclaration(N)||E.isClassStaticBlockDeclaration(N)||Ee&&N.name&&E.isPrivateIdentifier(N.name)}function getPrivateInstanceMethodsAndAccessors(N){return E.filter(N.members,E.isNonStaticMethodOrAccessorWithPrivateName)}function getClassFacts(N){var R=0;var j=E.getOriginalNode(N);if(E.isClassDeclaration(j)&&E.classOrConstructorParameterIsDecorated(j)){R|=1}for(var $=0,q=N.members;$=0){Ie=Me+1;Le=j(j(j([],Le.slice(0,Ne),true),E.visitNodes(G.body.statements,visitor,E.isStatement,Ne,Ie-Ne),true),Le.slice(Ne),true)}}if(we){Le.push(R.createExpressionStatement(R.createCallExpression(R.createSuper(),undefined,[R.createSpreadElement(R.createIdentifier("arguments"))])))}var Be=0;if(G===null||G===void 0?void 0:G.body){if(Te){Le=Le.filter((function(N){return!E.isParameterPropertyDeclaration(E.getOriginalNode(N),G)}))}else{for(var je=0,Ue=G.body.statements;je0){var We=E.visitNodes(G.body.statements,visitor,E.isStatement,Ie,Be);if(Me>=0){E.addRange(Le,We)}else if(we){Le=j(j([Le[0]],We,true),Le.slice(1),true)}else{Le=j(j([],We,true),Le,true)}Ie+=Be}}}var Je=R.createThis();addMethodStatements(Le,_e,Je);addPropertyOrClassStaticBlockStatements(Le,le,Je);if(G){E.addRange(Le,E.visitNodes(G.body.statements,visitBodyStatement,E.isStatement,Ie+Ne))}Le=R.mergeLexicalEnvironment(Le,q());return E.setTextRange(R.createBlock(E.setTextRange(R.createNodeArray(Le),G?G.body.statements:$.members),true),G?G.body:undefined);function visitBodyStatement(N){if(Te&&E.isParameterPropertyDeclaration(E.getOriginalNode(N),G)){return undefined}return visitor(N)}}function addPropertyOrClassStaticBlockStatements(N,R,j){for(var $=0,q=R;$=0;--j){var $=ze[j];if(!$){continue}var R=(N=$.privateIdentifierEnvironment)===null||N===void 0?void 0:N.identifiers.get(E.escapedText);if(R){return R}}return undefined}function wrapPrivateIdentifierForDestructuringTarget(j){var q=R.getGeneratedNameForNode(j);var G=accessPrivateIdentifier(j.name);if(!G){return E.visitEachChild(j,visitor,N)}var ie=j.expression;if(E.isThisProperty(j)||E.isSuperProperty(j)||!E.isSimpleCopiableExpression(j.expression)){ie=R.createTempVariable($,true);getPendingExpressions().push(R.createBinaryExpression(ie,63,E.visitNode(j.expression,visitor,E.isExpression)))}return R.createAssignmentTargetWrapper(q,createPrivateIdentifierAssignment(G,ie,q,63))}function visitArrayAssignmentTarget(N){var j=E.getTargetOfBindingOrAssignmentElement(N);if(j){var $=void 0;if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(Ie&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}if($){if(E.isAssignmentExpression(N)){return R.updateBinaryExpression(N,$,N.operatorToken,E.visitNode(N.right,visitor,E.isExpression))}else if(E.isSpreadElement(N)){return R.updateSpreadElement(N,$)}else{return $}}}return E.visitNode(N,visitorDestructuringTarget)}function visitObjectAssignmentTarget(N){if(E.isObjectBindingOrAssignmentElement(N)&&!E.isShorthandPropertyAssignment(N)){var j=E.getTargetOfBindingOrAssignmentElement(N);var $=void 0;if(j){if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(Ie&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}}if(E.isPropertyAssignment(N)){var le=E.getInitializerOfBindingOrAssignmentElement(N);return R.updatePropertyAssignment(N,E.visitNode(N.name,visitor,E.isPropertyName),$?le?R.createAssignment($,E.visitNode(le,visitor)):$:E.visitNode(N.initializer,visitorDestructuringTarget,E.isExpression))}if(E.isSpreadAssignment(N)){return R.updateSpreadAssignment(N,$||E.visitNode(N.expression,visitorDestructuringTarget,E.isExpression))}E.Debug.assert($===undefined,"Should not have generated a wrapped target")}return E.visitNode(N,visitor)}function visitAssignmentPattern(N){if(E.isArrayLiteralExpression(N)){return R.updateArrayLiteralExpression(N,E.visitNodes(N.elements,visitArrayAssignmentTarget,E.isExpression))}else{return R.updateObjectLiteralExpression(N,E.visitNodes(N.properties,visitObjectAssignmentTarget,E.isObjectLiteralElementLike))}}}E.transformClassFields=transformClassFields;function createPrivateStaticFieldInitializer(N,R){return E.factory.createAssignment(N,E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment("value",R||E.factory.createVoidZero())]))}function createPrivateInstanceFieldInitializer(N,R,j){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(j,"set"),undefined,[N,R||E.factory.createVoidZero()])}function createPrivateInstanceMethodInitializer(N,R){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(R,"add"),undefined,[N])}function isReservedPrivateName(E){return E.escapedText==="#constructor"}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["NonTopLevel"]=1]="NonTopLevel";E[E["HasLexicalThis"]=2]="HasLexicalThis"})(R||(R={}));function transformES2017(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e;var Te=0;var Ee;var we;var Ie;var Ne=[];var Me=0;var Le=N.onEmitNode;var Be=N.onSubstituteNode;N.onEmitNode=onEmitNode;N.onSubstituteNode=onSubstituteNode;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}setContextFlag(1,false);setContextFlag(2,!E.isEffectiveStrictModeSourceFile(R,ce));var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function setContextFlag(E,N){Me=N?Me|E:Me&~E}function inContext(E){return(Me&E)!==0}function inTopLevelContext(){return!inContext(1)}function inHasLexicalThisContext(){return inContext(2)}function doWithContext(E,N,R){var j=E&~Me;if(j){setContextFlag(j,true);var $=N(R);setContextFlag(j,false);return $}return N(R)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&256)===0){return R}switch(R.kind){case 131:return undefined;case 217:return visitAwaitExpression(R);case 168:return doWithContext(1|2,visitMethodDeclaration,R);case 255:return doWithContext(1|2,visitFunctionDeclaration,R);case 212:return doWithContext(1|2,visitFunctionExpression,R);case 213:return doWithContext(1,visitArrowFunction,R);case 205:if(we&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){we.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 206:if(we&&R.expression.kind===106){Ie=true}return E.visitEachChild(R,visitor,N);case 171:case 172:case 170:case 256:case 225:return doWithContext(1|2,visitDefault,R);default:return E.visitEachChild(R,visitor,N)}}function asyncBodyVisitor(R){if(E.isNodeWithPossibleHoistedDeclaration(R)){switch(R.kind){case 236:return visitVariableStatementInAsyncBody(R);case 241:return visitForStatementInAsyncBody(R);case 242:return visitForInStatementInAsyncBody(R);case 243:return visitForOfStatementInAsyncBody(R);case 291:return visitCatchClauseInAsyncBody(R);case 234:case 248:case 262:case 288:case 289:case 251:case 239:case 240:case 238:case 247:case 249:return E.visitEachChild(R,asyncBodyVisitor,N);default:return E.Debug.assertNever(R,"Unhandled node.")}}return visitor(R)}function visitCatchClauseInAsyncBody(R){var j=new E.Set;recordDeclarationName(R.variableDeclaration,j);var $;j.forEach((function(N,R){if(Ee.has(R)){if(!$){$=new E.Set(Ee)}$.delete(R)}}));if($){var q=Ee;Ee=$;var G=E.visitEachChild(R,asyncBodyVisitor,N);Ee=q;return G}else{return E.visitEachChild(R,asyncBodyVisitor,N)}}function visitVariableStatementInAsyncBody(j){if(isVariableDeclarationListWithCollidingName(j.declarationList)){var $=visitVariableDeclarationListWithCollidingNames(j.declarationList,false);return $?R.createExpressionStatement($):undefined}return E.visitEachChild(j,visitor,N)}function visitForInStatementInAsyncBody(j){return R.updateForInStatement(j,isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForOfStatementInAsyncBody(j){return R.updateForOfStatement(j,E.visitNode(j.awaitModifier,visitor,E.isToken),isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForStatementInAsyncBody(j){var $=j.initializer;return R.updateForStatement(j,isVariableDeclarationListWithCollidingName($)?visitVariableDeclarationListWithCollidingNames($,false):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitAwaitExpression(j){if(inTopLevelContext()){return E.visitEachChild(j,visitor,N)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,E.visitNode(j.expression,visitor,E.isExpression)),j),j)}function visitMethodDeclaration(j){return R.updateMethodDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionDeclaration(j){return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionExpression(j){return R.updateFunctionExpression(j,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitArrowFunction(j){return R.updateArrowFunction(j,E.visitNodes(j.modifiers,visitor,E.isModifier),undefined,E.visitParameterList(j.parameters,visitor,N),undefined,j.equalsGreaterThanToken,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function recordDeclarationName(N,R){var j=N.name;if(E.isIdentifier(j)){R.add(j.escapedText)}else{for(var $=0,q=j.elements;$=2&&ae.getNodeCheckFlags(N)&(4096|2048);if(qe){enableSubstitutionForAsyncMethodsWithSuper();if(we.size){var He=createSuperAccessVariableStatement(R,ae,N,we);Ne[E.getNodeId(He)]=true;E.insertStatementsAfterStandardPrologue(Je,[He])}}var Ge=R.createBlock(Je,true);E.setTextRange(Ge,N.body);if(qe&&Ie){if(ae.getNodeCheckFlags(N)&4096){E.addEmitHelper(Ge,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(N)&2048){E.addEmitHelper(Ge,E.asyncSuperHelper)}}We=Ge}else{var Ke=$().createAwaiterHelper(inHasLexicalThisContext(),Te,ce,transformAsyncFunctionBodyWorker(N.body));var Qe=G();if(E.some(Qe)){var Ge=R.converters.convertToFunctionBlock(Ke);We=R.updateBlock(Ge,E.setTextRange(R.createNodeArray(E.concatenate(Qe,Ge.statements)),Ge.statements))}else{We=Ke}}Ee=Me;if(!_e){we=Ue;Ie=ze}return We}function transformAsyncFunctionBodyWorker(N,j){if(E.isBlock(N)){return R.updateBlock(N,E.visitNodes(N.statements,asyncBodyVisitor,E.isStatement,j))}else{return R.converters.convertToFunctionBlock(E.visitNode(N,asyncBodyVisitor,E.isConciseBody))}}function getPromiseConstructor(N){var R=N&&E.getEntityNameFromTypeNode(N);if(R&&E.isEntityName(R)){var j=ae.getTypeReferenceSerializationKind(R);if(j===E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||j===E.TypeReferenceSerializationKind.Unknown){return R}}return undefined}function enableSubstitutionForAsyncMethodsWithSuper(){if((_e&1)===0){_e|=1;N.enableSubstitution(207);N.enableSubstitution(205);N.enableSubstitution(206);N.enableEmitNotification(256);N.enableEmitNotification(168);N.enableEmitNotification(171);N.enableEmitNotification(172);N.enableEmitNotification(170);N.enableEmitNotification(236)}}function onEmitNode(N,R,j){if(_e&1&&isSuperContainer(R)){var $=ae.getNodeCheckFlags(R)&(2048|4096);if($!==Te){var q=Te;Te=$;Le(N,R,j);Te=q;return}}else if(_e&&Ne[E.getNodeId(R)]){var q=Te;Te=0;Le(N,R,j);Te=q;return}Le(N,R,j)}function onSubstituteNode(E,N){N=Be(E,N);if(E===1&&Te){return substituteExpression(N)}return N}function substituteExpression(E){switch(E.kind){case 205:return substitutePropertyAccessExpression(E);case 206:return substituteElementAccessExpression(E);case 207:return substituteCallExpression(E)}return E}function substitutePropertyAccessExpression(N){if(N.expression.kind===106){return E.setTextRange(R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),N.name),N)}return N}function substituteElementAccessExpression(E){if(E.expression.kind===106){return createSuperElementAccessInAsyncMethod(E.argumentExpression,E)}return E}function substituteCallExpression(N){var $=N.expression;if(E.isSuperProperty($)){var q=E.isPropertyAccessExpression($)?substitutePropertyAccessExpression($):substituteElementAccessExpression($);return R.createCallExpression(R.createPropertyAccessExpression(q,"call"),undefined,j([R.createThis()],N.arguments,true))}return N}function isSuperContainer(E){var N=E.kind;return N===256||N===170||N===168||N===171||N===172}function createSuperElementAccessInAsyncMethod(N,j){if(Te&4096){return E.setTextRange(R.createPropertyAccessExpression(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),"value"),j)}else{return E.setTextRange(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),j)}}}E.transformES2017=transformES2017;function createSuperAccessVariableStatement(N,R,j,$){var q=(R.getNodeCheckFlags(j)&4096)!==0;var G=[];$.forEach((function(R,j){var $=E.unescapeLeadingUnderscores(j);var ie=[];ie.push(N.createPropertyAssignment("get",N.createArrowFunction(undefined,undefined,[],undefined,undefined,E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4))));if(q){ie.push(N.createPropertyAssignment("set",N.createArrowFunction(undefined,undefined,[N.createParameterDeclaration(undefined,undefined,undefined,"v",undefined,undefined,undefined)],undefined,undefined,N.createAssignment(E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4),N.createIdentifier("v")))))}G.push(N.createPropertyAssignment($,N.createObjectLiteralExpression(ie)))}));return N.createVariableStatement(undefined,N.createVariableDeclarationList([N.createVariableDeclaration(N.createUniqueName("_super",16|32),undefined,undefined,N.createCallExpression(N.createPropertyAccessExpression(N.createIdentifier("Object"),"create"),undefined,[N.createNull(),N.createObjectLiteralExpression(G,true)]))],2))}E.createSuperAccessVariableStatement=createSuperAccessVariableStatement})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["None"]=0]="None";E[E["HasLexicalThis"]=1]="HasLexicalThis";E[E["IterationContainer"]=2]="IterationContainer";E[E["AncestorFactsMask"]=3]="AncestorFactsMask";E[E["SourceFileIncludes"]=1]="SourceFileIncludes";E[E["SourceFileExcludes"]=2]="SourceFileExcludes";E[E["StrictModeSourceFileIncludes"]=0]="StrictModeSourceFileIncludes";E[E["ClassOrFunctionIncludes"]=1]="ClassOrFunctionIncludes";E[E["ClassOrFunctionExcludes"]=2]="ClassOrFunctionExcludes";E[E["ArrowFunctionIncludes"]=0]="ArrowFunctionIncludes";E[E["ArrowFunctionExcludes"]=2]="ArrowFunctionExcludes";E[E["IterationStatementIncludes"]=2]="IterationStatementIncludes";E[E["IterationStatementExcludes"]=0]="IterationStatementExcludes"})(R||(R={}));function transformES2018(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.onEmitNode;N.onEmitNode=onEmitNode;var Te=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Ee=false;var we;var Ie;var Ne;var Me=0;var Le=0;var Be;var je;var Ue;var ze;var We=[];return E.chainBundle(N,transformSourceFile);function affectsSubtree(E,N){return Le!==(Le&~E|N)}function enterSubtree(E,N){var R=Le;Le=(Le&~E|N)&3;return R}function exitSubtree(E){Le=E}function recordTaggedTemplateString(N){je=E.append(je,R.createVariableDeclaration(N))}function transformSourceFile(R){if(R.isDeclarationFile){return R}Be=R;var j=visitSourceFile(R);E.addEmitHelpers(j,N.readEmitHelpers());Be=undefined;je=undefined;return j}function visitor(E){return visitorWorker(E,false)}function visitorWithUnusedExpressionResult(E){return visitorWorker(E,true)}function visitorNoAsyncModifier(E){if(E.kind===131){return undefined}return E}function doWithHierarchyFacts(E,N,R,j){if(affectsSubtree(R,j)){var $=enterSubtree(R,j);var q=E(N);exitSubtree($);return q}return E(N)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitorWorker(R,j){if((R.transformFlags&128)===0){return R}switch(R.kind){case 217:return visitAwaitExpression(R);case 223:return visitYieldExpression(R);case 246:return visitReturnStatement(R);case 249:return visitLabeledStatement(R);case 204:return visitObjectLiteralExpression(R);case 220:return visitBinaryExpression(R,j);case 349:return visitCommaListExpression(R,j);case 291:return visitCatchClause(R);case 236:return visitVariableStatement(R);case 253:return visitVariableDeclaration(R);case 239:case 240:case 242:return doWithHierarchyFacts(visitDefault,R,0,2);case 243:return visitForOfStatement(R,undefined);case 241:return doWithHierarchyFacts(visitForStatement,R,0,2);case 216:return visitVoidExpression(R);case 170:return doWithHierarchyFacts(visitConstructorDeclaration,R,2,1);case 168:return doWithHierarchyFacts(visitMethodDeclaration,R,2,1);case 171:return doWithHierarchyFacts(visitGetAccessorDeclaration,R,2,1);case 172:return doWithHierarchyFacts(visitSetAccessorDeclaration,R,2,1);case 255:return doWithHierarchyFacts(visitFunctionDeclaration,R,2,1);case 212:return doWithHierarchyFacts(visitFunctionExpression,R,2,1);case 213:return doWithHierarchyFacts(visitArrowFunction,R,2,0);case 163:return visitParameter(R);case 237:return visitExpressionStatement(R);case 211:return visitParenthesizedExpression(R,j);case 209:return visitTaggedTemplateExpression(R);case 205:if(Ue&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){Ue.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 206:if(Ue&&R.expression.kind===106){ze=true}return E.visitEachChild(R,visitor,N);case 256:case 225:return doWithHierarchyFacts(visitDefault,R,2,1);default:return E.visitEachChild(R,visitor,N)}}function visitAwaitExpression(j){if(Ie&2&&Ie&1){return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(E.visitNode(j.expression,visitor,E.isExpression))),j),j)}return E.visitEachChild(j,visitor,N)}function visitYieldExpression(j){if(Ie&2&&Ie&1){if(j.asteriskToken){var q=E.visitNode(E.Debug.checkDefined(j.expression),visitor,E.isExpression);return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(R.updateYieldExpression(j,j.asteriskToken,E.setTextRange($().createAsyncDelegatorHelper(E.setTextRange($().createAsyncValuesHelper(q),q)),q)))),j),j)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero())),j),j)}return E.visitEachChild(j,visitor,N)}function visitReturnStatement(j){if(Ie&2&&Ie&1){return R.updateReturnStatement(j,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero()))}return E.visitEachChild(j,visitor,N)}function visitLabeledStatement(j){if(Ie&2){var $=E.unwrapInnermostStatementOfLabel(j);if($.kind===243&&$.awaitModifier){return visitForOfStatement($,j)}return R.restoreEnclosingLabel(E.visitNode($,visitor,E.isStatement,R.liftToBlock),j)}return E.visitEachChild(j,visitor,N)}function chunkObjectLiteralElements(N){var j;var $=[];for(var q=0,G=N;q1){for(var ie=1;ie=2&&ae.getNodeCheckFlags(j)&(4096|2048);if(we){enableSubstitutionForAsyncMethodsWithSuper();var Ie=E.createSuperAccessVariableStatement(R,ae,j,Ue);We[E.getNodeId(Ie)]=true;E.insertStatementsAfterStandardPrologue(ie,[Ie])}ie.push(Ee);E.insertStatementsAfterStandardPrologue(ie,G());var Ne=R.updateBlock(j.body,ie);if(we&&ze){if(ae.getNodeCheckFlags(j)&4096){E.addEmitHelper(Ne,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(j)&2048){E.addEmitHelper(Ne,E.asyncSuperHelper)}}Ue=_e;ze=Te;return Ne}function transformFunctionBody(N){var j;q();var $=0;var ie=[];var ae=(j=E.visitNode(N.body,visitor,E.isConciseBody))!==null&&j!==void 0?j:R.createBlock([]);if(E.isBlock(ae)){$=R.copyPrologue(ae.statements,ie,false,visitor)}E.addRange(ie,appendObjectRestAssignmentsIfNeeded(undefined,N));var ce=G();if($>0||E.some(ie)||E.some(ce)){var le=R.converters.convertToFunctionBlock(ae,true);E.insertStatementsAfterStandardPrologue(ie,ce);E.addRange(ie,le.statements.slice($));return R.updateBlock(le,E.setTextRange(R.createNodeArray(ie),le.statements))}return ae}function appendObjectRestAssignmentsIfNeeded(j,$){var q=false;for(var G=0,ie=$.parameters;G0){var ce=E.flattenDestructuringBinding(ae,visitor,N,0,R.getGeneratedNameForNode(ae));if(E.some(ce)){var le=R.createVariableDeclarationList(ce);var _e=R.createVariableStatement(undefined,le);E.setEmitFlags(_e,1048576);j=E.append(j,_e)}}else if(ae.initializer){var Te=R.getGeneratedNameForNode(ae);var Ee=E.visitNode(ae.initializer,visitor,E.isExpression);var we=R.createAssignment(Te,Ee);var _e=R.createExpressionStatement(we);E.setEmitFlags(_e,1048576);j=E.append(j,_e)}}else if(ae.initializer){var Te=R.cloneNode(ae.name);E.setTextRange(Te,ae.name);E.setEmitFlags(Te,48);var Ee=E.visitNode(ae.initializer,visitor,E.isExpression);E.addEmitFlags(Ee,48|1536);var we=R.createAssignment(Te,Ee);E.setTextRange(we,ae);E.setEmitFlags(we,1536);var Ie=R.createBlock([R.createExpressionStatement(we)]);E.setTextRange(Ie,ae);E.setEmitFlags(Ie,1|32|384|1536);var Ne=R.createTypeCheck(R.cloneNode(ae.name),"undefined");var _e=R.createIfStatement(Ne,Ie);E.startOnNewLine(_e);E.setTextRange(_e,ae);E.setEmitFlags(_e,384|32|1048576|1536);j=E.append(j,_e)}}else if(ae.transformFlags&32768){q=true;var ce=E.flattenDestructuringBinding(ae,visitor,N,1,R.getGeneratedNameForNode(ae),false,true);if(E.some(ce)){var le=R.createVariableDeclarationList(ce);var _e=R.createVariableStatement(undefined,le);E.setEmitFlags(_e,1048576);j=E.append(j,_e)}}}return j}function enableSubstitutionForAsyncMethodsWithSuper(){if((we&1)===0){we|=1;N.enableSubstitution(207);N.enableSubstitution(205);N.enableSubstitution(206);N.enableEmitNotification(256);N.enableEmitNotification(168);N.enableEmitNotification(171);N.enableEmitNotification(172);N.enableEmitNotification(170);N.enableEmitNotification(236)}}function onEmitNode(N,R,j){if(we&1&&isSuperContainer(R)){var $=ae.getNodeCheckFlags(R)&(2048|4096);if($!==Me){var q=Me;Me=$;_e(N,R,j);Me=q;return}}else if(we&&We[E.getNodeId(R)]){var q=Me;Me=0;_e(N,R,j);Me=q;return}_e(N,R,j)}function onSubstituteNode(E,N){N=Te(E,N);if(E===1&&Me){return substituteExpression(N)}return N}function substituteExpression(E){switch(E.kind){case 205:return substitutePropertyAccessExpression(E);case 206:return substituteElementAccessExpression(E);case 207:return substituteCallExpression(E)}return E}function substitutePropertyAccessExpression(N){if(N.expression.kind===106){return E.setTextRange(R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),N.name),N)}return N}function substituteElementAccessExpression(E){if(E.expression.kind===106){return createSuperElementAccessInAsyncMethod(E.argumentExpression,E)}return E}function substituteCallExpression(N){var $=N.expression;if(E.isSuperProperty($)){var q=E.isPropertyAccessExpression($)?substitutePropertyAccessExpression($):substituteElementAccessExpression($);return R.createCallExpression(R.createPropertyAccessExpression(q,"call"),undefined,j([R.createThis()],N.arguments,true))}return N}function isSuperContainer(E){var N=E.kind;return N===256||N===170||N===168||N===171||N===172}function createSuperElementAccessInAsyncMethod(N,j){if(Me&4096){return E.setTextRange(R.createPropertyAccessExpression(R.createCallExpression(R.createIdentifier("_superIndex"),undefined,[N]),"value"),j)}else{return E.setTextRange(R.createCallExpression(R.createIdentifier("_superIndex"),undefined,[N]),j)}}}E.transformES2018=transformES2018})(ce||(ce={}));var ce;(function(E){function transformES2019(N){var R=N.factory;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&64)===0){return R}switch(R.kind){case 291:return visitCatchClause(R);default:return E.visitEachChild(R,visitor,N)}}function visitCatchClause(j){if(!j.variableDeclaration){return R.updateCatchClause(j,R.createVariableDeclaration(R.createTempVariable(undefined)),E.visitNode(j.block,visitor,E.isBlock))}return E.visitEachChild(j,visitor,N)}}E.transformES2019=transformES2019})(ce||(ce={}));var ce;(function(E){function transformES2020(N){var R=N.factory,j=N.hoistVariableDeclaration;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&32)===0){return R}switch(R.kind){case 207:{var j=visitNonOptionalCallExpression(R,false);E.Debug.assertNotNode(j,E.isSyntheticReference);return j}case 205:case 206:if(E.isOptionalChain(R)){var j=visitOptionalExpression(R,false,false);E.Debug.assertNotNode(j,E.isSyntheticReference);return j}return E.visitEachChild(R,visitor,N);case 220:if(R.operatorToken.kind===60){return transformNullishCoalescingExpression(R)}return E.visitEachChild(R,visitor,N);case 214:return visitDeleteExpression(R);default:return E.visitEachChild(R,visitor,N)}}function flattenChain(N){E.Debug.assertNotNode(N,E.isNonNullChain);var R=[N];while(!N.questionDotToken&&!E.isTaggedTemplateExpression(N)){N=E.cast(E.skipPartiallyEmittedExpressions(N.expression),E.isOptionalChain);E.Debug.assertNotNode(N,E.isNonNullChain);R.unshift(N)}return{expression:N.expression,chain:R}}function visitNonOptionalParenthesizedExpression(N,j,$){var q=visitNonOptionalExpression(N.expression,j,$);if(E.isSyntheticReference(q)){return R.createSyntheticReferenceExpression(R.updateParenthesizedExpression(N,q.expression),q.thisArg)}return R.updateParenthesizedExpression(N,q)}function visitNonOptionalPropertyOrElementAccessExpression(N,$,q){if(E.isOptionalChain(N)){return visitOptionalExpression(N,$,q)}var G=E.visitNode(N.expression,visitor,E.isExpression);E.Debug.assertNotNode(G,E.isSyntheticReference);var ie;if($){if(!E.isSimpleCopiableExpression(G)){ie=R.createTempVariable(j);G=R.createAssignment(ie,G)}else{ie=G}}G=N.kind===205?R.updatePropertyAccessExpression(N,G,E.visitNode(N.name,visitor,E.isIdentifier)):R.updateElementAccessExpression(N,G,E.visitNode(N.argumentExpression,visitor,E.isExpression));return ie?R.createSyntheticReferenceExpression(G,ie):G}function visitNonOptionalCallExpression(j,$){if(E.isOptionalChain(j)){return visitOptionalExpression(j,$,false)}if(E.isParenthesizedExpression(j.expression)&&E.isOptionalChain(E.skipParentheses(j.expression))){var q=visitNonOptionalParenthesizedExpression(j.expression,true,false);var G=E.visitNodes(j.arguments,visitor,E.isExpression);if(E.isSyntheticReference(q)){return E.setTextRange(R.createFunctionCallCall(q.expression,q.thisArg,G),j)}return R.updateCallExpression(j,q,undefined,G)}return E.visitEachChild(j,visitor,N)}function visitNonOptionalExpression(N,R,j){switch(N.kind){case 211:return visitNonOptionalParenthesizedExpression(N,R,j);case 205:case 206:return visitNonOptionalPropertyOrElementAccessExpression(N,R,j);case 207:return visitNonOptionalCallExpression(N,R);default:return E.visitNode(N,visitor,E.isExpression)}}function visitOptionalExpression(N,$,q){var G=flattenChain(N),ie=G.expression,ae=G.chain;var ce=visitNonOptionalExpression(E.skipPartiallyEmittedExpressions(ie),E.isCallChain(ae[0]),false);var le=E.isSyntheticReference(ce)?ce.thisArg:undefined;var _e=E.isSyntheticReference(ce)?ce.expression:ce;var Te=R.restoreOuterExpressions(ie,_e,8);if(!E.isSimpleCopiableExpression(_e)){_e=R.createTempVariable(j);Te=R.createAssignment(_e,Te)}var Ee=_e;var we;for(var Ie=0;Ie1||!!((le=_e[0])===null||le===void 0?void 0:le.dotDotDotToken);var Ee=[N,R];if($){Ee.push(transformJsxAttributeInitializer($.initializer))}if(q.jsx===5){var we=E.getOriginalNode(G);if(we&&E.isSourceFile(we)){if($===undefined){Ee.push(j.createVoidZero())}Ee.push(Te?j.createTrue():j.createFalse());var Ie=E.getLineAndCharacterOfPosition(we,ce.pos);Ee.push(j.createObjectLiteralExpression([j.createPropertyAssignment("fileName",getCurrentFileNameExpression()),j.createPropertyAssignment("lineNumber",j.createNumericLiteral(Ie.line+1)),j.createPropertyAssignment("columnNumber",j.createNumericLiteral(Ie.character+1))]));Ee.push(j.createThis())}}var Ne=E.setTextRange(j.createCallExpression(getJsxFactoryCallee(Te),undefined,Ee),ce);if(ae){E.startOnNewLine(Ne)}return Ne}function visitJsxOpeningLikeElementCreateElement(N,$,ae,ce){var le=getTagName(N);var _e=N.attributes.properties;var Te=E.length(_e)?transformJsxAttributesToObjectProps(_e):j.createNull();var Ee=ie.importSpecifier===undefined?E.createJsxFactoryExpression(j,R.getEmitResolver().getJsxFactoryEntity(G),q.reactNamespace,N):getImplicitImportForName("createElement");var we=E.createExpressionForJsxElement(j,Ee,le,Te,E.mapDefined($,transformJsxChildToExpression),ce);if(ae){E.startOnNewLine(we)}return we}function visitJsxOpeningFragmentJSX(E,N,R,$){var q;if(N&&N.length){var G=convertJsxChildrenToChildrenPropObject(N);if(G){q=G}}return visitJsxOpeningLikeElementOrFragmentJSX(getImplicitJsxFragmentReference(),q||j.createObjectLiteralExpression([]),undefined,N,R,$)}function visitJsxOpeningFragmentCreateElement(N,$,ie,ae){var ce=E.createExpressionForJsxFragment(j,R.getEmitResolver().getJsxFactoryEntity(G),R.getEmitResolver().getJsxFragmentFactoryEntity(G),q.reactNamespace,E.mapDefined($,transformJsxChildToExpression),N,ae);if(ie){E.startOnNewLine(ce)}return ce}function transformJsxSpreadAttributeToSpreadAssignment(N){return j.createSpreadAssignment(E.visitNode(N.expression,visitor,E.isExpression))}function transformJsxAttributesToObjectProps(N,R){var $=E.getEmitScriptTarget(q);return $&&$>=5?j.createObjectLiteralExpression(transformJsxAttributesToProps(N,R)):transformJsxAttributesToExpression(N,R)}function transformJsxAttributesToProps(N,R){var j=E.flatten(E.spanMap(N,E.isJsxSpreadAttribute,(function(N,R){return E.map(N,(function(E){return R?transformJsxSpreadAttributeToSpreadAssignment(E):transformJsxAttributeToObjectLiteralElement(E)}))})));if(R){j.push(R)}return j}function transformJsxAttributesToExpression(N,R){var q=E.flatten(E.spanMap(N,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToExpression):j.createObjectLiteralExpression(E.map(N,transformJsxAttributeToObjectLiteralElement))})));if(E.isJsxSpreadAttribute(N[0])){q.unshift(j.createObjectLiteralExpression())}if(R){q.push(j.createObjectLiteralExpression([R]))}return E.singleOrUndefined(q)||$().createAssignHelper(q)}function transformJsxSpreadAttributeToExpression(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformJsxAttributeToObjectLiteralElement(E){var N=getAttributeName(E);var R=transformJsxAttributeInitializer(E.initializer);return j.createPropertyAssignment(N,R)}function transformJsxAttributeInitializer(N){if(N===undefined){return j.createTrue()}else if(N.kind===10){var R=N.singleQuote!==undefined?N.singleQuote:!E.isStringDoubleQuoted(N,G);var $=j.createStringLiteral(tryDecodeEntities(N.text)||N.text,R);return E.setTextRange($,N)}else if(N.kind===287){if(N.expression===undefined){return j.createTrue()}return E.visitNode(N.expression,visitor,E.isExpression)}else{return E.Debug.failBadSyntaxKind(N)}}function visitJsxText(E){var N=fixupWhitespaceAndDecodeEntities(E.text);return N===undefined?undefined:j.createStringLiteral(N)}function fixupWhitespaceAndDecodeEntities(N){var R;var j=0;var $=-1;for(var q=0;q0){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding($,visitor,N,0,R.getGeneratedNameForNode($)))),1048576));return true}else if(G){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createExpressionStatement(R.createAssignment(R.getGeneratedNameForNode($),E.visitNode(G,visitor,E.isExpression))),1048576));return true}return false}function insertDefaultValueAssignmentForInitializer(N,j,$,q){q=E.visitNode(q,visitor,E.isExpression);var G=R.createIfStatement(R.createTypeCheck(R.cloneNode($),"undefined"),E.setEmitFlags(E.setTextRange(R.createBlock([R.createExpressionStatement(E.setEmitFlags(E.setTextRange(R.createAssignment(E.setEmitFlags(E.setParent(E.setTextRange(R.cloneNode($),$),$.parent),48),E.setEmitFlags(q,48|E.getEmitFlags(q)|1536)),j),1536))]),j),1|32|384|1536));E.startOnNewLine(G);E.setTextRange(G,j);E.setEmitFlags(G,384|32|1048576|1536);E.insertStatementAfterCustomPrologue(N,G)}function shouldAddRestParameter(E,N){return!!(E&&E.dotDotDotToken&&!N)}function addRestParameterIfNeeded(j,$,q){var G=[];var ie=E.lastOrUndefined($.parameters);if(!shouldAddRestParameter(ie,q)){return false}var ae=ie.name.kind===79?E.setParent(E.setTextRange(R.cloneNode(ie.name),ie.name),ie.name.parent):R.createTempVariable(undefined);E.setEmitFlags(ae,48);var ce=ie.name.kind===79?R.cloneNode(ie.name):ae;var le=$.parameters.length-1;var _e=R.createLoopVariable();G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(ae,undefined,undefined,R.createArrayLiteralExpression([]))])),ie),1048576));var Te=R.createForStatement(E.setTextRange(R.createVariableDeclarationList([R.createVariableDeclaration(_e,undefined,undefined,R.createNumericLiteral(le))]),ie),E.setTextRange(R.createLessThan(_e,R.createPropertyAccessExpression(R.createIdentifier("arguments"),"length")),ie),E.setTextRange(R.createPostfixIncrement(_e),ie),R.createBlock([E.startOnNewLine(E.setTextRange(R.createExpressionStatement(R.createAssignment(R.createElementAccessExpression(ce,le===0?_e:R.createSubtract(_e,R.createNumericLiteral(le))),R.createElementAccessExpression(R.createIdentifier("arguments"),_e))),ie))]));E.setEmitFlags(Te,1048576);E.startOnNewLine(Te);G.push(Te);if(ie.name.kind!==79){G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding(ie,visitor,N,0,ce))),ie),1048576))}E.insertStatementsAfterCustomPrologue(j,G);return true}function insertCaptureThisForNodeIfNeeded(E,N){if(Ie&65536&&N.kind!==213){insertCaptureThisForNode(E,N,R.createThis());return true}return false}function insertSuperThisCaptureThisForNode(N,j){enableSubstitutionsForCapturedThis();var $=R.createExpressionStatement(R.createBinaryExpression(R.createThis(),63,j));E.insertStatementAfterCustomPrologue(N,$);E.setCommentRange($,E.getOriginalNode(j).parent)}function insertCaptureThisForNode(N,j,$){enableSubstitutionsForCapturedThis();var q=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_this",16|32),undefined,undefined,$)]));E.setEmitFlags(q,1536|1048576);E.setSourceMapRange(q,j);E.insertStatementAfterCustomPrologue(N,q)}function insertCaptureNewTargetIfNeeded(N,j,$){if(Ie&32768){var q=void 0;switch(j.kind){case 213:return N;case 168:case 171:case 172:q=R.createVoidZero();break;case 170:q=R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor");break;case 255:case 212:q=R.createConditionalExpression(R.createLogicalAnd(E.setEmitFlags(R.createThis(),4),R.createBinaryExpression(E.setEmitFlags(R.createThis(),4),102,R.getLocalName(j))),undefined,R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor"),undefined,R.createVoidZero());break;default:return E.Debug.failBadSyntaxKind(j)}var G=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_newTarget",16|32),undefined,undefined,q)]));E.setEmitFlags(G,1536|1048576);if($){N=N.slice()}E.insertStatementAfterCustomPrologue(N,G)}return N}function addClassMembers(N,R){for(var j=0,$=R.members;j<$.length;j++){var q=$[j];switch(q.kind){case 233:N.push(transformSemicolonClassElementToStatement(q));break;case 168:N.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(R,q),q,R));break;case 171:case 172:var G=E.getAllAccessorDeclarations(R.members,q);if(q===G.firstAccessor){N.push(transformAccessorsToStatement(getClassMemberPrefix(R,q),G,R))}break;case 170:case 169:break;default:E.Debug.failBadSyntaxKind(q,Ee&&Ee.fileName);break}}}function transformSemicolonClassElementToStatement(N){return E.setTextRange(R.createEmptyStatement(),N)}function transformClassMethodDeclarationToStatement(j,$,q){var G=E.getCommentRange($);var ie=E.getSourceMapRange($);var ae=transformFunctionLikeToExpression($,$,undefined,q);var ce=E.visitNode($.name,visitor,E.isPropertyName);var le;if(!E.isPrivateIdentifier(ce)&&E.getUseDefineForClassFields(N.getCompilerOptions())){var _e=E.isComputedPropertyName(ce)?ce.expression:E.isIdentifier(ce)?R.createStringLiteral(E.unescapeLeadingUnderscores(ce.escapedText)):ce;le=R.createObjectDefinePropertyCall(j,_e,R.createPropertyDescriptor({value:ae,enumerable:false,writable:true,configurable:true}))}else{var Te=E.createMemberAccessForPropertyName(R,j,ce,$.name);le=R.createAssignment(Te,ae)}E.setEmitFlags(ae,1536);E.setSourceMapRange(ae,ie);var Ee=E.setTextRange(R.createExpressionStatement(le),$);E.setOriginalNode(Ee,$);E.setCommentRange(Ee,G);E.setEmitFlags(Ee,48);return Ee}function transformAccessorsToStatement(N,j,$){var q=R.createExpressionStatement(transformAccessorsToExpression(N,j,$,false));E.setEmitFlags(q,1536);E.setSourceMapRange(q,E.getSourceMapRange(j.firstAccessor));return q}function transformAccessorsToExpression(N,j,$,q){var G=j.firstAccessor,ie=j.getAccessor,ae=j.setAccessor;var ce=E.setParent(E.setTextRange(R.cloneNode(N),N),N.parent);E.setEmitFlags(ce,1536|32);E.setSourceMapRange(ce,G.name);var le=E.visitNode(G.name,visitor,E.isPropertyName);if(E.isPrivateIdentifier(le)){return E.Debug.failBadSyntaxKind(le,"Encountered unhandled private identifier while transforming ES2015.")}var _e=E.createExpressionForPropertyName(R,le);E.setEmitFlags(_e,1536|16);E.setSourceMapRange(_e,G.name);var Te=[];if(ie){var Ee=transformFunctionLikeToExpression(ie,undefined,undefined,$);E.setSourceMapRange(Ee,E.getSourceMapRange(ie));E.setEmitFlags(Ee,512);var we=R.createPropertyAssignment("get",Ee);E.setCommentRange(we,E.getCommentRange(ie));Te.push(we)}if(ae){var Ie=transformFunctionLikeToExpression(ae,undefined,undefined,$);E.setSourceMapRange(Ie,E.getSourceMapRange(ae));E.setEmitFlags(Ie,512);var Ne=R.createPropertyAssignment("set",Ie);E.setCommentRange(Ne,E.getCommentRange(ae));Te.push(Ne)}Te.push(R.createPropertyAssignment("enumerable",ie||ae?R.createFalse():R.createTrue()),R.createPropertyAssignment("configurable",R.createTrue()));var Me=R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"defineProperty"),undefined,[ce,_e,R.createObjectLiteralExpression(Te,true)]);if(q){E.startOnNewLine(Me)}return Me}function visitArrowFunction(j){if(j.transformFlags&8192&&!(Ie&16384)){Ie|=65536}var $=Me;Me=undefined;var q=enterSubtree(15232,66);var G=R.createFunctionExpression(undefined,undefined,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformFunctionBody(j));E.setTextRange(G,j);E.setOriginalNode(G,j);E.setEmitFlags(G,8);exitSubtree(q,0,0);Me=$;return G}function visitFunctionExpression(j){var $=E.getEmitFlags(j)&262144?enterSubtree(32662,69):enterSubtree(32670,65);var q=Me;Me=undefined;var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree($,98304,0);Me=q;return R.updateFunctionExpression(j,undefined,j.asteriskToken,ae,undefined,G,undefined,ie)}function visitFunctionDeclaration(j){var $=Me;Me=undefined;var q=enterSubtree(32670,65);var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree(q,98304,0);Me=$;return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,ae,undefined,G,undefined,ie)}function transformFunctionLikeToExpression(j,$,q,G){var ie=Me;Me=undefined;var ae=G&&E.isClassLike(G)&&!E.isStatic(j)?enterSubtree(32670,65|8):enterSubtree(32670,65);var ce=E.visitParameterList(j.parameters,visitor,N);var le=transformFunctionBody(j);if(Ie&32768&&!q&&(j.kind===255||j.kind===212)){q=R.getGeneratedNameForNode(j)}exitSubtree(ae,98304,0);Me=ie;return E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,j.asteriskToken,q,undefined,ce,undefined,le),$),j)}function transformFunctionBody(N){var j=false;var $=false;var q;var ae;var ce=[];var le=[];var _e=N.body;var Te;G();if(E.isBlock(_e)){Te=R.copyStandardPrologue(_e.statements,ce,0,false);Te=R.copyCustomPrologue(_e.statements,le,Te,visitor,E.isHoistedFunction);Te=R.copyCustomPrologue(_e.statements,le,Te,visitor,E.isHoistedVariableStatement)}j=addDefaultValueAssignmentsIfNeeded(le,N)||j;j=addRestParameterIfNeeded(le,N,false)||j;if(E.isBlock(_e)){Te=R.copyCustomPrologue(_e.statements,le,Te,visitor);q=_e.statements;E.addRange(le,E.visitNodes(_e.statements,visitor,E.isStatement,Te));if(!j&&_e.multiLine){j=true}}else{E.Debug.assert(N.kind===213);q=E.moveRangeEnd(_e,-1);var we=N.equalsGreaterThanToken;if(!E.nodeIsSynthesized(we)&&!E.nodeIsSynthesized(_e)){if(E.rangeEndIsOnSameLineAsRangeStart(we,_e,Ee)){$=true}else{j=true}}var Ie=E.visitNode(_e,visitor,E.isExpression);var Ne=R.createReturnStatement(Ie);E.setTextRange(Ne,_e);E.moveSyntheticComments(Ne,_e);E.setEmitFlags(Ne,384|32|1024);le.push(Ne);ae=_e}R.mergeLexicalEnvironment(ce,ie());insertCaptureNewTargetIfNeeded(ce,N,false);insertCaptureThisForNodeIfNeeded(ce,N);if(E.some(ce)){j=true}le.unshift.apply(le,ce);if(E.isBlock(_e)&&E.arrayIsEqualTo(le,_e.statements)){return _e}var Me=R.createBlock(E.setTextRange(R.createNodeArray(le),q),j);E.setTextRange(Me,N.body);if(!j&&$){E.setEmitFlags(Me,1)}if(ae){E.setTokenSourceMapRange(Me,19,ae)}E.setOriginalNode(Me,N.body);return Me}function visitBlock(R,j){if(j){return E.visitEachChild(R,visitor,N)}var $=Ie&256?enterSubtree(7104,512):enterSubtree(6976,128);var q=E.visitEachChild(R,visitor,N);exitSubtree($,0,0);return q}function visitExpressionStatement(R){return E.visitEachChild(R,visitorWithUnusedExpressionResult,N)}function visitParenthesizedExpression(R,j){return E.visitEachChild(R,j?visitorWithUnusedExpressionResult:visitor,N)}function visitBinaryExpression(j,$){if(E.isDestructuringAssignment(j)){return E.flattenDestructuringAssignment(j,visitor,N,0,!$)}if(j.operatorToken.kind===27){return R.updateBinaryExpression(j,E.visitNode(j.left,visitorWithUnusedExpressionResult,E.isExpression),j.operatorToken,E.visitNode(j.right,$?visitorWithUnusedExpressionResult:visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaListExpression(j,$){if($){return E.visitEachChild(j,visitorWithUnusedExpressionResult,N)}var q;for(var G=0;G0){ie.push(R.createStringLiteral(G.literal.text))}j=R.createCallExpression(R.createPropertyAccessExpression(j,"concat"),undefined,ie)}return E.setTextRange(j,N)}function visitSuperKeyword(E){return Ie&8&&!E?R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),"prototype"):R.createUniqueName("_super",16|32)}function visitMetaProperty(E){if(E.keywordToken===103&&E.name.escapedText==="target"){Ie|=32768;return R.createUniqueName("_newTarget",16|32)}return E}function onEmitNode(N,R,j){if(Le&1&&E.isFunctionLike(R)){var $=enterSubtree(32670,E.getEmitFlags(R)&8?65|16:65);Te(N,R,j);exitSubtree($,0,0);return}Te(N,R,j)}function enableSubstitutionsForBlockScopedBindings(){if((Le&2)===0){Le|=2;N.enableSubstitution(79)}}function enableSubstitutionsForCapturedThis(){if((Le&1)===0){Le|=1;N.enableSubstitution(108);N.enableEmitNotification(170);N.enableEmitNotification(168);N.enableEmitNotification(171);N.enableEmitNotification(172);N.enableEmitNotification(213);N.enableEmitNotification(212);N.enableEmitNotification(255)}}function onSubstituteNode(N,R){R=_e(N,R);if(N===1){return substituteExpression(R)}if(E.isIdentifier(R)){return substituteIdentifier(R)}return R}function substituteIdentifier(N){if(Le&2&&!E.isInternalName(N)){var j=E.getParseTreeNode(N,E.isIdentifier);if(j&&isNameOfDeclarationWithCollidingName(j)){return E.setTextRange(R.getGeneratedNameForNode(j),N)}}return N}function isNameOfDeclarationWithCollidingName(E){switch(E.parent.kind){case 202:case 256:case 259:case 253:return E.parent.name===E&&le.isDeclarationWithCollidingName(E.parent)}return false}function substituteExpression(E){switch(E.kind){case 79:return substituteExpressionIdentifier(E);case 108:return substituteThisKeyword(E)}return E}function substituteExpressionIdentifier(N){if(Le&2&&!E.isInternalName(N)){var j=le.getReferencedDeclarationWithCollidingName(N);if(j&&!(E.isClassLike(j)&&isPartOfClassBody(j,N))){return E.setTextRange(R.getGeneratedNameForNode(E.getNameOfDeclaration(j)),N)}}return N}function isPartOfClassBody(N,R){var j=E.getParseTreeNode(R);if(!j||j===N||j.end<=N.pos||j.pos>=N.end){return false}var $=E.getEnclosingBlockScopeContainer(N);while(j){if(j===$||j===N){return false}if(E.isClassElement(j)&&j.parent===N){return true}j=j.parent}return false}function substituteThisKeyword(N){if(Le&1&&Ie&16){return E.setTextRange(R.createUniqueName("_this",16|32),N)}return N}function getClassMemberPrefix(N,j){return E.isStatic(j)?R.getInternalName(N):R.createPropertyAccessExpression(R.getInternalName(N),"prototype")}function hasSynthesizedDefaultSuperCall(N,R){if(!N||!R){return false}if(E.some(N.parameters)){return false}var j=E.firstOrUndefined(N.body.statements);if(!j||!E.nodeIsSynthesized(j)||j.kind!==237){return false}var $=j.expression;if(!E.nodeIsSynthesized($)||$.kind!==207){return false}var q=$.expression;if(!E.nodeIsSynthesized(q)||q.kind!==106){return false}var G=E.singleOrUndefined($.arguments);if(!G||!E.nodeIsSynthesized(G)||G.kind!==224){return false}var ie=G.expression;return E.isIdentifier(ie)&&ie.escapedText==="arguments"}}E.transformES2015=transformES2015})(ce||(ce={}));var ce;(function(E){function transformES5(N){var R=N.factory;var j=N.getCompilerOptions();var $;var q;if(j.jsx===1||j.jsx===3){$=N.onEmitNode;N.onEmitNode=onEmitNode;N.enableEmitNotification(279);N.enableEmitNotification(280);N.enableEmitNotification(278);q=[]}var G=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;N.enableSubstitution(205);N.enableSubstitution(294);return E.chainBundle(N,transformSourceFile);function transformSourceFile(E){return E}function onEmitNode(N,R,j){switch(R.kind){case 279:case 280:case 278:var G=R.tagName;q[E.getOriginalNodeId(G)]=true;break}$(N,R,j)}function onSubstituteNode(N,R){if(R.id&&q&&q[R.id]){return G(N,R)}R=G(N,R);if(E.isPropertyAccessExpression(R)){return substitutePropertyAccessExpression(R)}else if(E.isPropertyAssignment(R)){return substitutePropertyAssignment(R)}return R}function substitutePropertyAccessExpression(N){if(E.isPrivateIdentifier(N.name)){return N}var j=trySubstituteReservedName(N.name);if(j){return E.setTextRange(R.createElementAccessExpression(N.expression,j),N)}return N}function substitutePropertyAssignment(N){var j=E.isIdentifier(N.name)&&trySubstituteReservedName(N.name);if(j){return R.updatePropertyAssignment(N,j,N.initializer)}return N}function trySubstituteReservedName(N){var j=N.originalKeywordKind||(E.nodeIsSynthesized(N)?E.stringToToken(E.idText(N)):undefined);if(j!==undefined&&j>=81&&j<=116){return E.setTextRange(R.createStringLiteralFromNode(N),N)}return undefined}}E.transformES5=transformES5})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Nop"]=0]="Nop";E[E["Statement"]=1]="Statement";E[E["Assign"]=2]="Assign";E[E["Break"]=3]="Break";E[E["BreakWhenTrue"]=4]="BreakWhenTrue";E[E["BreakWhenFalse"]=5]="BreakWhenFalse";E[E["Yield"]=6]="Yield";E[E["YieldStar"]=7]="YieldStar";E[E["Return"]=8]="Return";E[E["Throw"]=9]="Throw";E[E["Endfinally"]=10]="Endfinally"})(N||(N={}));var R;(function(E){E[E["Open"]=0]="Open";E[E["Close"]=1]="Close"})(R||(R={}));var $;(function(E){E[E["Exception"]=0]="Exception";E[E["With"]=1]="With";E[E["Switch"]=2]="Switch";E[E["Loop"]=3]="Loop";E[E["Labeled"]=4]="Labeled"})($||($={}));var q;(function(E){E[E["Try"]=0]="Try";E[E["Catch"]=1]="Catch";E[E["Finally"]=2]="Finally";E[E["Done"]=3]="Done"})(q||(q={}));var G;(function(E){E[E["Next"]=0]="Next";E[E["Throw"]=1]="Throw";E[E["Return"]=2]="Return";E[E["Break"]=3]="Break";E[E["Yield"]=4]="Yield";E[E["YieldStar"]=5]="YieldStar";E[E["Catch"]=6]="Catch";E[E["Endfinally"]=7]="Endfinally"})(G||(G={}));function getInstructionName(E){switch(E){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return undefined}}function transformGenerators(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistFunctionDeclaration,ae=N.hoistVariableDeclaration;var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.getEmitResolver();var Te=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Ee;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We=1;var Je;var Ve;var qe;var He;var Ge=0;var Ke=0;var Qe;var Xe;var Ye;var Ze;var et;var tt;var rt;var nt;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile||(R.transformFlags&2048)===0){return R}var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function visitor(R){var j=R.transformFlags;if(Ne){return visitJavaScriptInStatementContainingYield(R)}else if(Ie){return visitJavaScriptInGeneratorFunctionBody(R)}else if(E.isFunctionLikeDeclaration(R)&&R.asteriskToken){return visitGenerator(R)}else if(j&2048){return E.visitEachChild(R,visitor,N)}else{return R}}function visitJavaScriptInStatementContainingYield(E){switch(E.kind){case 239:return visitDoStatement(E);case 240:return visitWhileStatement(E);case 248:return visitSwitchStatement(E);case 249:return visitLabeledStatement(E);default:return visitJavaScriptInGeneratorFunctionBody(E)}}function visitJavaScriptInGeneratorFunctionBody(R){switch(R.kind){case 255:return visitFunctionDeclaration(R);case 212:return visitFunctionExpression(R);case 171:case 172:return visitAccessorDeclaration(R);case 236:return visitVariableStatement(R);case 241:return visitForStatement(R);case 242:return visitForInStatement(R);case 245:return visitBreakStatement(R);case 244:return visitContinueStatement(R);case 246:return visitReturnStatement(R);default:if(R.transformFlags&524288){return visitJavaScriptContainingYield(R)}else if(R.transformFlags&(2048|2097152)){return E.visitEachChild(R,visitor,N)}else{return R}}}function visitJavaScriptContainingYield(R){switch(R.kind){case 220:return visitBinaryExpression(R);case 349:return visitCommaListExpression(R);case 221:return visitConditionalExpression(R);case 223:return visitYieldExpression(R);case 203:return visitArrayLiteralExpression(R);case 204:return visitObjectLiteralExpression(R);case 206:return visitElementAccessExpression(R);case 207:return visitCallExpression(R);case 208:return visitNewExpression(R);default:return E.visitEachChild(R,visitor,N)}}function visitGenerator(N){switch(N.kind){case 255:return visitFunctionDeclaration(N);case 212:return visitFunctionExpression(N);default:return E.Debug.failBadSyntaxKind(N)}}function visitFunctionDeclaration(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionDeclaration(undefined,j.modifiers,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}if(Ie){ie(j);return undefined}else{return j}}function visitFunctionExpression(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}return j}function visitAccessorDeclaration(R){var j=Ie;var $=Ne;Ie=false;Ne=false;R=E.visitEachChild(R,visitor,N);Ie=j;Ne=$;return R}function transformGeneratorFunctionBody(N){var j=[];var $=Ie;var ie=Ne;var ae=Me;var ce=Le;var le=Be;var _e=je;var Te=Ue;var Ee=ze;var we=We;var Ge=Je;var Ke=Ve;var Qe=qe;var Xe=He;Ie=true;Ne=false;Me=undefined;Le=undefined;Be=undefined;je=undefined;Ue=undefined;ze=undefined;We=1;Je=undefined;Ve=undefined;qe=undefined;He=R.createTempVariable(undefined);q();var Ye=R.copyPrologue(N.statements,j,false,visitor);transformAndEmitStatements(N.statements,Ye);var Ze=build();E.insertStatementsAfterStandardPrologue(j,G());j.push(R.createReturnStatement(Ze));Ie=$;Ne=ie;Me=ae;Le=ce;Be=le;je=_e;Ue=Te;ze=Ee;We=we;Je=Ge;Ve=Ke;qe=Qe;He=Xe;return E.setTextRange(R.createBlock(j,N.multiLine),N)}function visitVariableStatement(N){if(N.transformFlags&524288){transformAndEmitVariableDeclarationList(N.declarationList);return undefined}else{if(E.getEmitFlags(N)&1048576){return N}for(var j=0,$=N.declarationList.declarations;j<$.length;j++){var q=$[j];ae(q.name)}var G=E.getInitializedVariables(N.declarationList);if(G.length===0){return undefined}return E.setSourceMapRange(R.createExpressionStatement(R.inlineExpressions(E.map(G,transformInitializedVariable))),N)}}function visitBinaryExpression(N){var R=E.getExpressionAssociativity(N);switch(R){case 0:return visitLeftAssociativeBinaryExpression(N);case 1:return visitRightAssociativeBinaryExpression(N);default:return E.Debug.assertNever(R)}}function visitRightAssociativeBinaryExpression(j){var $=j.left,q=j.right;if(containsYield(q)){var G=void 0;switch($.kind){case 205:G=R.updatePropertyAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),$.name);break;case 206:G=R.updateElementAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),cacheExpression(E.visitNode($.argumentExpression,visitor,E.isExpression)));break;default:G=E.visitNode($,visitor,E.isExpression);break}var ie=j.operatorToken.kind;if(E.isCompoundAssignment(ie)){return E.setTextRange(R.createAssignment(G,E.setTextRange(R.createBinaryExpression(cacheExpression(G),E.getNonAssignmentOperatorForCompoundAssignment(ie),E.visitNode(q,visitor,E.isExpression)),j)),j)}else{return R.updateBinaryExpression(j,G,j.operatorToken,E.visitNode(q,visitor,E.isExpression))}}return E.visitEachChild(j,visitor,N)}function visitLeftAssociativeBinaryExpression(j){if(containsYield(j.right)){if(E.isLogicalOperator(j.operatorToken.kind)){return visitLogicalBinaryExpression(j)}else if(j.operatorToken.kind===27){return visitCommaExpression(j)}return R.updateBinaryExpression(j,cacheExpression(E.visitNode(j.left,visitor,E.isExpression)),j.operatorToken,E.visitNode(j.right,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaExpression(N){var j=[];visit(N.left);visit(N.right);return R.inlineExpressions(j);function visit(N){if(E.isBinaryExpression(N)&&N.operatorToken.kind===27){visit(N.left);visit(N.right)}else{if(containsYield(N)&&j.length>0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(N,visitor,E.isExpression))}}}function visitCommaListExpression(N){var j=[];for(var $=0,q=N.elements;$0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(G,visitor,E.isExpression))}}return R.inlineExpressions(j)}function visitLogicalBinaryExpression(N){var R=defineLabel();var j=declareLocal();emitAssignment(j,E.visitNode(N.left,visitor,E.isExpression),N.left);if(N.operatorToken.kind===55){emitBreakWhenFalse(R,j,N.left)}else{emitBreakWhenTrue(R,j,N.left)}emitAssignment(j,E.visitNode(N.right,visitor,E.isExpression),N.right);markLabel(R);return j}function visitConditionalExpression(R){if(containsYield(R.whenTrue)||containsYield(R.whenFalse)){var j=defineLabel();var $=defineLabel();var q=declareLocal();emitBreakWhenFalse(j,E.visitNode(R.condition,visitor,E.isExpression),R.condition);emitAssignment(q,E.visitNode(R.whenTrue,visitor,E.isExpression),R.whenTrue);emitBreak($);markLabel(j);emitAssignment(q,E.visitNode(R.whenFalse,visitor,E.isExpression),R.whenFalse);markLabel($);return q}return E.visitEachChild(R,visitor,N)}function visitYieldExpression(N){var R=defineLabel();var j=E.visitNode(N.expression,visitor,E.isExpression);if(N.asteriskToken){var q=(E.getEmitFlags(N.expression)&8388608)===0?E.setTextRange($().createValuesHelper(j),N):j;emitYieldStar(q,N)}else{emitYield(j,N)}markLabel(R);return createGeneratorResume(N)}function visitArrayLiteralExpression(E){return visitElements(E.elements,undefined,undefined,E.multiLine)}function visitElements(N,$,q,G){var ie=countInitialNodesWithoutYield(N);var ae;if(ie>0){ae=declareLocal();var ce=E.visitNodes(N,visitor,E.isExpression,0,ie);emitAssignment(ae,R.createArrayLiteralExpression($?j([$],ce,true):ce));$=undefined}var le=E.reduceLeft(N,reduceElement,[],ie);return ae?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(le,G)]):E.setTextRange(R.createArrayLiteralExpression($?j([$],le,true):le,G),q);function reduceElement(N,q){if(containsYield(q)&&N.length>0){var ie=ae!==undefined;if(!ae){ae=declareLocal()}emitAssignment(ae,ie?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(N,G)]):R.createArrayLiteralExpression($?j([$],N,true):N,G));$=undefined;N=[]}N.push(E.visitNode(q,visitor,E.isExpression));return N}}function visitObjectLiteralExpression(N){var j=N.properties;var $=N.multiLine;var q=countInitialNodesWithoutYield(j);var G=declareLocal();emitAssignment(G,R.createObjectLiteralExpression(E.visitNodes(j,visitor,E.isObjectLiteralElementLike,0,q),$));var ie=E.reduceLeft(j,reduceProperty,[],q);ie.push($?E.startOnNewLine(E.setParent(E.setTextRange(R.cloneNode(G),G),G.parent)):G);return R.inlineExpressions(ie);function reduceProperty(j,q){if(containsYield(q)&&j.length>0){emitStatement(R.createExpressionStatement(R.inlineExpressions(j)));j=[]}var ie=E.createExpressionForObjectLiteralElementLike(R,N,q,G);var ae=E.visitNode(ie,visitor,E.isExpression);if(ae){if($){E.startOnNewLine(ae)}j.push(ae)}return j}}function visitElementAccessExpression(j){if(containsYield(j.argumentExpression)){return R.updateElementAccessExpression(j,cacheExpression(E.visitNode(j.expression,visitor,E.isLeftHandSideExpression)),E.visitNode(j.argumentExpression,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCallExpression(j){if(!E.isImportCall(j)&&E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(j.expression,ae,le,true),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isLeftHandSideExpression)),G,visitElements(j.arguments)),j),j)}return E.visitEachChild(j,visitor,N)}function visitNewExpression(j){if(E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(R.createPropertyAccessExpression(j.expression,"bind"),ae),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createNewExpression(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isExpression)),G,visitElements(j.arguments,R.createVoidZero())),undefined,[]),j),j)}return E.visitEachChild(j,visitor,N)}function transformAndEmitStatements(E,N){if(N===void 0){N=0}var R=E.length;for(var j=N;j0){break}_e.push(transformInitializedVariable(q))}if(_e.length){emitStatement(R.createExpressionStatement(R.inlineExpressions(_e)));le+=_e.length;_e=[]}}return undefined}function transformInitializedVariable(N){return E.setSourceMapRange(R.createAssignment(E.setSourceMapRange(R.cloneNode(N.name),N.name),E.visitNode(N.initializer,visitor,E.isExpression)),N)}function transformAndEmitIfStatement(N){if(containsYield(N)){if(containsYield(N.thenStatement)||containsYield(N.elseStatement)){var R=defineLabel();var j=N.elseStatement?defineLabel():undefined;emitBreakWhenFalse(N.elseStatement?j:R,E.visitNode(N.expression,visitor,E.isExpression),N.expression);transformAndEmitEmbeddedStatement(N.thenStatement);if(N.elseStatement){emitBreak(R);markLabel(j);transformAndEmitEmbeddedStatement(N.elseStatement)}markLabel(R)}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitDoStatement(N){if(containsYield(N)){var R=defineLabel();var j=defineLabel();beginLoopBlock(R);markLabel(j);transformAndEmitEmbeddedStatement(N.statement);markLabel(R);emitBreakWhenTrue(j,E.visitNode(N.expression,visitor,E.isExpression));endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitDoStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitWhileStatement(N){if(containsYield(N)){var R=defineLabel();var j=beginLoopBlock(R);markLabel(R);emitBreakWhenFalse(j,E.visitNode(N.expression,visitor,E.isExpression));transformAndEmitEmbeddedStatement(N.statement);emitBreak(R);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitWhileStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitForStatement(N){if(containsYield(N)){var j=defineLabel();var $=defineLabel();var q=beginLoopBlock($);if(N.initializer){var G=N.initializer;if(E.isVariableDeclarationList(G)){transformAndEmitVariableDeclarationList(G)}else{emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(G,visitor,E.isExpression)),G))}}markLabel(j);if(N.condition){emitBreakWhenFalse(q,E.visitNode(N.condition,visitor,E.isExpression))}transformAndEmitEmbeddedStatement(N.statement);markLabel($);if(N.incrementor){emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(N.incrementor,visitor,E.isExpression)),N.incrementor))}emitBreak(j);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitForStatement(j){if(Ne){beginScriptLoopBlock()}var $=j.initializer;if($&&E.isVariableDeclarationList($)){for(var q=0,G=$.declarations;q0?R.inlineExpressions(E.map(ce,transformInitializedVariable)):undefined,E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}else{j=E.visitEachChild(j,visitor,N)}if(Ne){endLoopBlock()}return j}function transformAndEmitForInStatement(N){if(containsYield(N)){var j=declareLocal();var $=declareLocal();var q=R.createLoopVariable();var G=N.initializer;ae(q);emitAssignment(j,R.createArrayLiteralExpression());emitStatement(R.createForInStatement($,E.visitNode(N.expression,visitor,E.isExpression),R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(j,"push"),undefined,[$]))));emitAssignment(q,R.createNumericLiteral(0));var ie=defineLabel();var ce=defineLabel();var le=beginLoopBlock(ce);markLabel(ie);emitBreakWhenFalse(le,R.createLessThan(q,R.createPropertyAccessExpression(j,"length")));var _e=void 0;if(E.isVariableDeclarationList(G)){for(var Te=0,Ee=G.declarations;Te0){emitBreak(R,N)}else{emitStatement(N)}}function visitContinueStatement(R){if(Ne){var j=findContinueTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitBreakStatement(N){var R=findBreakTarget(N.label?E.idText(N.label):undefined);if(R>0){emitBreak(R,N)}else{emitStatement(N)}}function visitBreakStatement(R){if(Ne){var j=findBreakTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitReturnStatement(N){emitReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function visitReturnStatement(N){return createInlineReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function transformAndEmitWithStatement(N){if(containsYield(N)){beginWithBlock(cacheExpression(E.visitNode(N.expression,visitor,E.isExpression)));transformAndEmitEmbeddedStatement(N.statement);endWithBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitSwitchStatement(N){if(containsYield(N.caseBlock)){var j=N.caseBlock;var $=j.clauses.length;var q=beginSwitchBlock();var G=cacheExpression(E.visitNode(N.expression,visitor,E.isExpression));var ie=[];var ae=-1;for(var ce=0;ce<$;ce++){var le=j.clauses[ce];ie.push(defineLabel());if(le.kind===289&&ae===-1){ae=ce}}var _e=0;var Te=[];while(_e<$){var Ee=0;for(var ce=_e;ce<$;ce++){var le=j.clauses[ce];if(le.kind===288){if(containsYield(le.expression)&&Te.length>0){break}Te.push(R.createCaseClause(E.visitNode(le.expression,visitor,E.isExpression),[createInlineBreak(ie[ce],le.expression)]))}else{Ee++}}if(Te.length){emitStatement(R.createSwitchStatement(G,R.createCaseBlock(Te)));_e+=Te.length;Te=[]}if(Ee>0){_e+=Ee;Ee=0}}if(ae>=0){emitBreak(ie[ae])}else{emitBreak(q)}for(var ce=0;ce<$;ce++){markLabel(ie[ce]);transformAndEmitStatements(j.clauses[ce].statements)}endSwitchBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitSwitchStatement(R){if(Ne){beginScriptSwitchBlock()}R=E.visitEachChild(R,visitor,N);if(Ne){endSwitchBlock()}return R}function transformAndEmitLabeledStatement(N){if(containsYield(N)){beginLabeledBlock(E.idText(N.label));transformAndEmitEmbeddedStatement(N.statement);endLabeledBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitLabeledStatement(R){if(Ne){beginScriptLabeledBlock(E.idText(R.label))}R=E.visitEachChild(R,visitor,N);if(Ne){endLabeledBlock()}return R}function transformAndEmitThrowStatement(N){var j;emitThrow(E.visitNode((j=N.expression)!==null&&j!==void 0?j:R.createVoidZero(),visitor,E.isExpression),N)}function transformAndEmitTryStatement(R){if(containsYield(R)){beginExceptionBlock();transformAndEmitEmbeddedStatement(R.tryBlock);if(R.catchClause){beginCatchBlock(R.catchClause.variableDeclaration);transformAndEmitEmbeddedStatement(R.catchClause.block)}if(R.finallyBlock){beginFinallyBlock();transformAndEmitEmbeddedStatement(R.finallyBlock)}endExceptionBlock()}else{emitStatement(E.visitEachChild(R,visitor,N))}}function containsYield(E){return!!E&&(E.transformFlags&524288)!==0}function countInitialNodesWithoutYield(E){var N=E.length;for(var R=0;R=0;R--){var j=je[R];if(supportsLabeledBreakOrContinue(j)){if(j.labelText===E){return true}}else{break}}return false}function findBreakTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsLabeledBreakOrContinue(R)&&R.labelText===E){return R.breakLabel}else if(supportsUnlabeledBreak(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.breakLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledBreak(R)){return R.breakLabel}}}}return 0}function findContinueTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.continueLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)){return R.continueLabel}}}}return 0}function createLabel(E){if(E!==undefined&&E>0){if(ze===undefined){ze=[]}var N=R.createNumericLiteral(-1);if(ze[E]===undefined){ze[E]=[N]}else{ze[E].push(N)}return N}return R.createOmittedExpression()}function createInstruction(N){var j=R.createNumericLiteral(N);E.addSyntheticTrailingComment(j,3,getInstructionName(N));return j}function createInlineBreak(N,j){E.Debug.assertLessThan(0,N,"Invalid label");return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(3),createLabel(N)])),j)}function createInlineReturn(N,j){return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression(N?[createInstruction(2),N]:[createInstruction(2)])),j)}function createGeneratorResume(N){return E.setTextRange(R.createCallExpression(R.createPropertyAccessExpression(He,"sent"),undefined,[]),N)}function emitNop(){emitWorker(0)}function emitStatement(E){if(E){emitWorker(1,[E])}else{emitNop()}}function emitAssignment(E,N,R){emitWorker(2,[E,N],R)}function emitBreak(E,N){emitWorker(3,[E],N)}function emitBreakWhenTrue(E,N,R){emitWorker(4,[E,N],R)}function emitBreakWhenFalse(E,N,R){emitWorker(5,[E,N],R)}function emitYieldStar(E,N){emitWorker(7,[E],N)}function emitYield(E,N){emitWorker(6,[E],N)}function emitReturn(E,N){emitWorker(8,[E],N)}function emitThrow(E,N){emitWorker(9,[E],N)}function emitEndfinally(){emitWorker(10)}function emitWorker(E,N,R){if(Je===undefined){Je=[];Ve=[];qe=[]}if(Ue===undefined){markLabel(defineLabel())}var j=Je.length;Je[j]=E;Ve[j]=N;qe[j]=R}function build(){Ge=0;Ke=0;Qe=undefined;Xe=false;Ye=false;Ze=undefined;et=undefined;tt=undefined;rt=undefined;nt=undefined;var N=buildStatements();return $().createGeneratorHelper(E.setEmitFlags(R.createFunctionExpression(undefined,undefined,undefined,undefined,[R.createParameterDeclaration(undefined,undefined,undefined,He)],undefined,R.createBlock(N,N.length>0)),524288))}function buildStatements(){if(Je){for(var N=0;N=0;N--){var j=nt[N];et=[R.createWithStatement(j.expression,R.createBlock(et))]}}if(rt){var $=rt.startLabel,q=rt.catchLabel,G=rt.finallyLabel,ie=rt.endLabel;et.unshift(R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(R.createPropertyAccessExpression(He,"trys"),"push"),undefined,[R.createArrayLiteralExpression([createLabel($),createLabel(q),createLabel(G),createLabel(ie)])])));rt=undefined}if(E){et.push(R.createExpressionStatement(R.createAssignment(R.createPropertyAccessExpression(He,"label"),R.createNumericLiteral(Ke+1))))}}Ze.push(R.createCaseClause(R.createNumericLiteral(Ke),et||[]));et=undefined}function tryEnterLabel(E){if(!Ue){return}for(var N=0;N(E.isExportName(N)?1:0)}return false}function visitDestructuringAssignment(N,j){if(destructuringNeedsFlattening(N.left)){return E.flattenDestructuringAssignment(N,visitor,R,0,!j,createAllExportExpressions)}return E.visitEachChild(N,visitor,R)}function visitForStatement(N){return $.updateForStatement(N,E.visitNode(N.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(N.condition,visitor,E.isExpression),E.visitNode(N.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(N.statement,visitor,R))}function visitExpressionStatement(N){return $.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function visitParenthesizedExpression(N,R){return $.updateParenthesizedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPartiallyEmittedExpression(N,R){return $.updatePartiallyEmittedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPreOrPostfixUnaryExpression(N,j){if((N.operator===45||N.operator===46)&&E.isIdentifier(N.operand)&&!E.isGeneratedIdentifier(N.operand)&&!E.isLocalName(N.operand)&&!E.isDeclarationNameOfEnumOrNamespace(N.operand)){var q=getExports(N.operand);if(q){var G=void 0;var ie=E.visitNode(N.operand,visitor,E.isExpression);if(E.isPrefixUnaryExpression(N)){ie=$.updatePrefixUnaryExpression(N,ie)}else{ie=$.updatePostfixUnaryExpression(N,ie);if(!j){G=$.createTempVariable(ae);ie=$.createAssignment(G,ie);E.setTextRange(ie,N)}ie=$.createComma(ie,$.cloneNode(N.operand));E.setTextRange(ie,N)}for(var ce=0,le=q;ce=2){le=$.createArrowFunction(undefined,undefined,ie,undefined,undefined,ae)}else{le=$.createFunctionExpression(undefined,undefined,undefined,undefined,ie,undefined,ae);if(R){E.setEmitFlags(le,8)}}var _e=$.createNewExpression($.createIdentifier("Promise"),undefined,[le]);if(E.getESModuleInterop(ce)){return $.createCallExpression($.createPropertyAccessExpression(_e,$.createIdentifier("then")),undefined,[q().createImportStarCallbackHelper()])}return _e}function createImportCallExpressionCommonJS(N,R){var j=$.createCallExpression($.createPropertyAccessExpression($.createIdentifier("Promise"),"resolve"),undefined,[]);var G=$.createCallExpression($.createIdentifier("require"),undefined,N?[N]:[]);if(E.getESModuleInterop(ce)){G=q().createImportStarHelper(G)}var ie;if(Te>=2){ie=$.createArrowFunction(undefined,undefined,[],undefined,undefined,G)}else{ie=$.createFunctionExpression(undefined,undefined,undefined,undefined,[],undefined,$.createBlock([$.createReturnStatement(G)]));if(R){E.setEmitFlags(ie,8)}}return $.createCallExpression($.createPropertyAccessExpression(j,"then"),undefined,[ie])}function getHelperExpressionForExport(N,R){if(!E.getESModuleInterop(ce)||E.getEmitFlags(N)&67108864){return R}if(E.getExportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}return R}function getHelperExpressionForImport(N,R){if(!E.getESModuleInterop(ce)||E.getEmitFlags(N)&67108864){return R}if(E.getImportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}if(E.getImportNeedsImportDefaultHelper(N)){return q().createImportDefaultHelper(R)}return R}function visitImportDeclaration(N){var R;var j=E.getNamespaceDeclarationNode(N);if(Ee!==E.ModuleKind.AMD){if(!N.importClause){return E.setOriginalNode(E.setTextRange($.createExpressionStatement(createRequireCall(N)),N),N)}else{var q=[];if(j&&!E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))))}else{q.push($.createVariableDeclaration($.getGeneratedNameForNode(N),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))));if(j&&E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)))}}R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList(q,Te>=2?2:0)),N),N))}}else if(j&&E.isDefaultImport(N)){R=E.append(R,$.createVariableStatement(undefined,$.createVariableDeclarationList([E.setOriginalNode(E.setTextRange($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)),N),N)],Te>=2?2:0)))}if(hasAssociatedEndOfDeclarationMarker(N)){var G=E.getOriginalNodeId(N);Me[G]=appendExportsOfImportDeclaration(Me[G],N)}else{R=appendExportsOfImportDeclaration(R,N)}return E.singleOrMany(R)}function createRequireCall(N){var R=E.getExternalModuleNameLiteral($,N,Le,_e,le,ce);var j=[];if(R){j.push(R)}return $.createCallExpression($.createIdentifier("require"),undefined,j)}function visitImportEqualsDeclaration(N){E.Debug.assert(E.isExternalModuleImportEqualsDeclaration(N),"import= for internal module references should be handled in an earlier transformer.");var R;if(Ee!==E.ModuleKind.AMD){if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression(N.name,createRequireCall(N))),N),N))}else{R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration($.cloneNode(N.name),undefined,undefined,createRequireCall(N))],Te>=2?2:0)),N),N))}}else{if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression($.getExportName(N),$.getLocalName(N))),N),N))}}if(hasAssociatedEndOfDeclarationMarker(N)){var j=E.getOriginalNodeId(N);Me[j]=appendExportsOfImportEqualsDeclaration(Me[j],N)}else{R=appendExportsOfImportEqualsDeclaration(R,N)}return E.singleOrMany(R)}function visitExportDeclaration(N){if(!N.moduleSpecifier){return undefined}var R=$.getGeneratedNameForNode(N);if(N.exportClause&&E.isNamedExports(N.exportClause)){var j=[];if(Ee!==E.ModuleKind.AMD){j.push(E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration(R,undefined,undefined,createRequireCall(N))])),N),N))}for(var G=0,ie=N.exportClause.elements;G=E.ModuleKind.ES2020?visitImportEqualsDeclaration(N):undefined;case 270:return visitExportAssignment(N);case 271:var R=N;return visitExportDeclaration(R)}return N}function createRequireCall(N){var j=E.getExternalModuleNameLiteral(R,N,E.Debug.checkDefined(Te),q,G,ie);var $=[];if(j){$.push(j)}if(!Ee){var ce=R.createUniqueName("_createRequire",16|32);var le=R.createImportDeclaration(undefined,undefined,R.createImportClause(false,undefined,R.createNamedImports([R.createImportSpecifier(false,R.createIdentifier("createRequire"),ce)])),R.createStringLiteral("module"));var _e=R.createUniqueName("__require",16|32);var we=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(_e,undefined,undefined,R.createCallExpression(R.cloneNode(ce),undefined,[R.createPropertyAccessExpression(R.createMetaProperty(100,R.createIdentifier("meta")),R.createIdentifier("url"))]))],ae>=2?2:0));Ee=[le,we]}var Ie=Ee[1].declarationList.declarations[0].name;E.Debug.assertNode(Ie,E.isIdentifier);return R.createCallExpression(R.cloneNode(Ie),undefined,$)}function visitImportEqualsDeclaration(N){E.Debug.assert(E.isExternalModuleImportEqualsDeclaration(N),"import= for internal module references should be handled in an earlier transformer.");var j;j=E.append(j,E.setOriginalNode(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.cloneNode(N.name),undefined,undefined,createRequireCall(N))],ae>=2?2:0)),N),N));j=appendExportsOfImportEqualsDeclaration(j,N);return E.singleOrMany(j)}function appendExportsOfImportEqualsDeclaration(N,j){if(E.hasSyntacticModifier(j,1)){N=E.append(N,R.createExportDeclaration(undefined,undefined,j.isTypeOnly,R.createNamedExports([R.createExportSpecifier(false,undefined,E.idText(j.name))])))}return N}function visitExportAssignment(E){return E.isExportEquals?undefined:E}function visitExportDeclaration(N){if(ie.module!==undefined&&ie.module>E.ModuleKind.ES2015){return N}if(!N.exportClause||!E.isNamespaceExport(N.exportClause)||!N.moduleSpecifier){return N}var j=N.exportClause.name;var $=R.getGeneratedNameForNode(j);var q=R.createImportDeclaration(undefined,undefined,R.createImportClause(false,undefined,R.createNamespaceImport($)),N.moduleSpecifier,N.assertClause);E.setOriginalNode(q,N.exportClause);var G=E.isExportNamespaceAsDefaultDeclaration(N)?R.createExportDefault($):R.createExportDeclaration(undefined,undefined,false,R.createNamedExports([R.createExportSpecifier(false,$,j)]));E.setOriginalNode(G,N);return[q,G]}function onEmitNode(N,R,j){if(E.isSourceFile(R)){if((E.isExternalModule(R)||ie.isolatedModules)&&ie.importHelpers){_e=new E.Map}ce(N,R,j);_e=undefined}else{ce(N,R,j)}}function onSubstituteNode(N,R){R=le(N,R);if(_e&&E.isIdentifier(R)&&E.getEmitFlags(R)&4096){return substituteHelperName(R)}return R}function substituteHelperName(N){var j=E.idText(N);var $=_e.get(j);if(!$){_e.set(j,$=R.createUniqueName(j,16|32))}return $}}E.transformECMAScriptModule=transformECMAScriptModule})(ce||(ce={}));var ce;(function(E){function transformNodeModule(N){var R=N.onSubstituteNode;var j=N.onEmitNode;var $=E.transformECMAScriptModule(N);var q=N.onSubstituteNode;var G=N.onEmitNode;N.onSubstituteNode=R;N.onEmitNode=j;var ie=E.transformModule(N);var ae=N.onSubstituteNode;var ce=N.onEmitNode;N.onSubstituteNode=onSubstituteNode;N.onEmitNode=onEmitNode;N.enableSubstitution(303);N.enableEmitNotification(303);var le;return transformSourceFileOrBundle;function onSubstituteNode(N,j){if(E.isSourceFile(j)){le=j;return R(N,j)}else{if(!le){return R(N,j)}if(le.impliedNodeFormat===E.ModuleKind.ESNext){return q(N,j)}return ae(N,j)}}function onEmitNode(N,R,$){if(E.isSourceFile(R)){le=R}if(!le){return j(N,R,$)}if(le.impliedNodeFormat===E.ModuleKind.ESNext){return G(N,R,$)}return ce(N,R,$)}function getModuleTransformForFile(N){return N.impliedNodeFormat===E.ModuleKind.ESNext?$:ie}function transformSourceFile(N){if(N.isDeclarationFile){return N}le=N;var R=getModuleTransformForFile(N)(N);le=undefined;E.Debug.assert(E.isSourceFile(R));return R}function transformSourceFileOrBundle(E){return E.kind===303?transformSourceFile(E):transformBundle(E)}function transformBundle(R){return N.factory.createBundle(E.map(R.sourceFiles,transformSourceFile),R.prepends)}}E.transformNodeModule=transformNodeModule})(ce||(ce={}));var ce;(function(E){function canProduceDiagnostics(N){return E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isBindingElement(N)||E.isSetAccessor(N)||E.isGetAccessor(N)||E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isParameter(N)||E.isTypeParameterDeclaration(N)||E.isExpressionWithTypeArguments(N)||E.isImportEqualsDeclaration(N)||E.isTypeAliasDeclaration(N)||E.isConstructorDeclaration(N)||E.isIndexSignatureDeclaration(N)||E.isPropertyAccessExpression(N)||E.isJSDocTypeAlias(N)}E.canProduceDiagnostics=canProduceDiagnostics;function createGetSymbolAccessibilityDiagnosticForNodeName(N){if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorNameVisibilityError}else if(E.isMethodSignature(N)||E.isMethodDeclaration(N)){return getMethodNameVisibilityError}else{return createGetSymbolAccessibilityDiagnosticForNode(N)}function getAccessorNameVisibilityError(E){var R=getAccessorNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===256){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}function getMethodNameVisibilityError(E){var R=getMethodNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getMethodNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===256){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}}E.createGetSymbolAccessibilityDiagnosticForNodeName=createGetSymbolAccessibilityDiagnosticForNodeName;function createGetSymbolAccessibilityDiagnosticForNode(N){if(E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isPropertyAccessExpression(N)||E.isBindingElement(N)||E.isConstructorDeclaration(N)){return getVariableDeclarationTypeVisibilityError}else if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorDeclarationTypeVisibilityError}else if(E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isIndexSignatureDeclaration(N)){return getReturnTypeVisibilityError}else if(E.isParameter(N)){if(E.isParameterPropertyDeclaration(N,N.parent)&&E.hasSyntacticModifier(N.parent,8)){return getVariableDeclarationTypeVisibilityError}return getParameterDeclarationTypeVisibilityError}else if(E.isTypeParameterDeclaration(N)){return getTypeParameterConstraintVisibilityError}else if(E.isExpressionWithTypeArguments(N)){return getHeritageClauseVisibilityError}else if(E.isImportEqualsDeclaration(N)){return getImportEntityNameVisibilityError}else if(E.isTypeAliasDeclaration(N)||E.isJSDocTypeAlias(N)){return getTypeAliasDeclarationVisibilityError}else{return E.Debug.assertNever(N,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(E.SyntaxKind[N.kind]))}function getVariableDeclarationTypeVisibilityDiagnosticMessage(R){if(N.kind===253||N.kind===202){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1}else if(N.kind===166||N.kind===205||N.kind===165||N.kind===163&&E.hasSyntacticModifier(N.parent,8)){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===256||N.kind===163){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}}function getVariableDeclarationTypeVisibilityError(E){var R=getVariableDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorDeclarationTypeVisibilityError(R){var j;if(N.kind===172){if(E.isStatic(N)){j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1}}else{if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1}}return{diagnosticMessage:j,errorNode:N.name,typeName:N.name}}function getReturnTypeVisibilityError(R){var j;switch(N.kind){case 174:j=R.errorModuleName?E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 173:j=R.errorModuleName?E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 175:j=R.errorModuleName?E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 168:case 167:if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0}else if(N.parent.kind===256){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0}else{j=R.errorModuleName?E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0}break;case 255:j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return E.Debug.fail("This is unknown kind for signature: "+N.kind)}return{diagnosticMessage:j,errorNode:N.name||N}}function getParameterDeclarationTypeVisibilityError(E){var R=getParameterDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getParameterDeclarationTypeVisibilityDiagnosticMessage(R){switch(N.parent.kind){case 170:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 174:case 179:return R.errorModuleName?E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 173:return R.errorModuleName?E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 175:return R.errorModuleName?E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 168:case 167:if(E.isStatic(N.parent)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===256){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}case 255:case 178:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 172:case 171:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return E.Debug.fail("Unknown parent for parameter: ".concat(E.SyntaxKind[N.parent.kind]))}}function getTypeParameterConstraintVisibilityError(){var R;switch(N.parent.kind){case 256:R=E.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 257:R=E.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 194:R=E.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 179:case 174:R=E.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 173:R=E.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:case 167:if(E.isStatic(N.parent)){R=E.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===256){R=E.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{R=E.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}break;case 178:case 255:R=E.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 258:R=E.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return E.Debug.fail("This is unknown parent for type parameter: "+N.parent.kind)}return{diagnosticMessage:R,errorNode:N,typeName:N.name}}function getHeritageClauseVisibilityError(){var R;if(E.isClassDeclaration(N.parent.parent)){R=E.isHeritageClause(N.parent)&&N.parent.token===117?E.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:N.parent.parent.name?E.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:E.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0}else{R=E.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1}return{diagnosticMessage:R,errorNode:N,typeName:E.getNameOfDeclaration(N.parent.parent)}}function getImportEntityNameVisibilityError(){return{diagnosticMessage:E.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:N,typeName:N.name}}function getTypeAliasDeclarationVisibilityError(R){return{diagnosticMessage:R.errorModuleName?E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:E.isJSDocTypeAlias(N)?E.Debug.checkDefined(N.typeExpression):N.type,typeName:E.isJSDocTypeAlias(N)?E.getNameOfDeclaration(N):N.name}}}E.createGetSymbolAccessibilityDiagnosticForNode=createGetSymbolAccessibilityDiagnosticForNode})(ce||(ce={}));var ce;(function(E){function getDeclarationDiagnostics(N,R,j){var $=N.getCompilerOptions();var q=E.transformNodes(R,N,E.factory,$,j?[j]:E.filter(N.getSourceFiles(),E.isSourceFileNotJson),[transformDeclarations],false);return q.diagnostics}E.getDeclarationDiagnostics=getDeclarationDiagnostics;function hasInternalAnnotation(N,R){var j=R.text.substring(N.pos,N.end);return E.stringContains(j,"@internal")}function isInternalDeclaration(N,R){var j=E.getParseTreeNode(N);if(j&&j.kind===163){var $=j.parent.parameters.indexOf(j);var q=$>0?j.parent.parameters[$-1]:undefined;var G=R.text;var ie=q?E.concatenate(E.getTrailingCommentRanges(G,E.skipTrivia(G,q.end+1,false,true)),E.getLeadingCommentRanges(G,N.pos)):E.getTrailingCommentRanges(G,E.skipTrivia(G,N.pos,false,true));return ie&&ie.length&&hasInternalAnnotation(E.last(ie),R)}var ae=j&&E.getLeadingCommentRangesOfNode(j,R);return!!E.forEach(ae,(function(E){return hasInternalAnnotation(E,R)}))}E.isInternalDeclaration=isInternalDeclaration;var N=1024|2048|4096|8|524288|4|1;function transformDeclarations(R){var throwDiagnostic=function(){return E.Debug.fail("Diagnostic emitted without context")};var $=throwDiagnostic;var q=true;var G=false;var ie=false;var ae=false;var ce=false;var le;var _e;var Te;var Ee;var we;var Ie;var Ne=R.factory;var Me=R.getEmitHost();var Le={trackSymbol:trackSymbol,reportInaccessibleThisError:reportInaccessibleThisError,reportInaccessibleUniqueSymbolError:reportInaccessibleUniqueSymbolError,reportCyclicStructureError:reportCyclicStructureError,reportPrivateInBaseOfClassExpression:reportPrivateInBaseOfClassExpression,reportLikelyUnsafeImportRequiredError:reportLikelyUnsafeImportRequiredError,reportTruncationError:reportTruncationError,moduleResolverHost:Me,trackReferencedAmbientModule:trackReferencedAmbientModule,trackExternalModuleSymbolOfImportTypeNode:trackExternalModuleSymbolOfImportTypeNode,reportNonlocalAugmentation:reportNonlocalAugmentation,reportNonSerializableProperty:reportNonSerializableProperty};var Be;var je;var Ue;var ze;var We;var Je;var Ve=R.getEmitResolver();var qe=R.getCompilerOptions();var He=qe.noResolve,Ge=qe.stripInternal;return transformRoot;function recordTypeReferenceDirectivesIfNecessary(N){if(!N){return}_e=_e||new E.Set;for(var R=0,j=N;R0?E.parameters[0].type:undefined}}function canHaveLiteralInitializer(N){switch(N.kind){case 166:case 165:return!E.hasEffectiveModifier(N,8);case 163:case 253:return true}return false}function isPreservedDeclarationStatement(E){switch(E.kind){case 255:case 260:case 264:case 257:case 256:case 258:case 259:case 236:case 265:case 271:case 270:return true}return false}function isProcessedComponent(E){switch(E.kind){case 174:case 170:case 168:case 171:case 172:case 166:case 165:case 167:case 173:case 175:case 253:case 162:case 227:case 177:case 188:case 178:case 179:case 199:return true}return false}})(ce||(ce={}));var ce;(function(E){function getModuleTransformer(N){switch(N){case E.ModuleKind.ESNext:case E.ModuleKind.ES2022:case E.ModuleKind.ES2020:case E.ModuleKind.ES2015:return E.transformECMAScriptModule;case E.ModuleKind.System:return E.transformSystemModule;case E.ModuleKind.Node12:case E.ModuleKind.NodeNext:return E.transformNodeModule;default:return E.transformModule}}var N;(function(E){E[E["Uninitialized"]=0]="Uninitialized";E[E["Initialized"]=1]="Initialized";E[E["Completed"]=2]="Completed";E[E["Disposed"]=3]="Disposed"})(N||(N={}));var R;(function(E){E[E["Substitution"]=1]="Substitution";E[E["EmitNotifications"]=2]="EmitNotifications"})(R||(R={}));E.noTransformers={scriptTransformers:E.emptyArray,declarationTransformers:E.emptyArray};function getTransformers(E,N,R){return{scriptTransformers:getScriptTransformers(E,N,R),declarationTransformers:getDeclarationTransformers(N)}}E.getTransformers=getTransformers;function getScriptTransformers(N,R,j){if(j)return E.emptyArray;var $=E.getEmitScriptTarget(N);var q=E.getEmitModuleKind(N);var G=[];E.addRange(G,R&&E.map(R.before,wrapScriptTransformerFactory));G.push(E.transformTypeScript);G.push(E.transformClassFields);if(E.getJSXTransformEnabled(N)){G.push(E.transformJsx)}if($<99){G.push(E.transformESNext)}if($<8){G.push(E.transformES2021)}if($<7){G.push(E.transformES2020)}if($<6){G.push(E.transformES2019)}if($<5){G.push(E.transformES2018)}if($<4){G.push(E.transformES2017)}if($<3){G.push(E.transformES2016)}if($<2){G.push(E.transformES2015);G.push(E.transformGenerators)}G.push(getModuleTransformer(q));if($<1){G.push(E.transformES5)}E.addRange(G,R&&E.map(R.after,wrapScriptTransformerFactory));return G}function getDeclarationTransformers(N){var R=[];R.push(E.transformDeclarations);E.addRange(R,N&&E.map(N.afterDeclarations,wrapDeclarationTransformerFactory));return R}function wrapCustomTransformer(N){return function(R){return E.isBundle(R)?N.transformBundle(R):N.transformSourceFile(R)}}function wrapCustomTransformerFactory(E,N){return function(R){var j=E(R);return typeof j==="function"?N(R,j):wrapCustomTransformer(j)}}function wrapScriptTransformerFactory(N){return wrapCustomTransformerFactory(N,E.chainBundle)}function wrapDeclarationTransformerFactory(E){return wrapCustomTransformerFactory(E,(function(E,N){return N}))}function noEmitSubstitution(E,N){return N}E.noEmitSubstitution=noEmitSubstitution;function noEmitNotification(E,N,R){R(E,N)}E.noEmitNotification=noEmitNotification;function transformNodes(N,R,$,q,G,ie,ae){var ce=new Array(353);var le;var _e;var Te;var Ee=0;var we=[];var Ie=[];var Ne=[];var Me=[];var Le=0;var Be=false;var je=[];var Ue=0;var ze;var We;var Je=noEmitSubstitution;var Ve=noEmitNotification;var qe=0;var He=[];var Ge={factory:$,getCompilerOptions:function(){return q},getEmitResolver:function(){return N},getEmitHost:function(){return R},getEmitHelperFactory:E.memoize((function(){return E.createEmitHelperFactory(Ge)})),startLexicalEnvironment:startLexicalEnvironment,suspendLexicalEnvironment:suspendLexicalEnvironment,resumeLexicalEnvironment:resumeLexicalEnvironment,endLexicalEnvironment:endLexicalEnvironment,setLexicalEnvironmentFlags:setLexicalEnvironmentFlags,getLexicalEnvironmentFlags:getLexicalEnvironmentFlags,hoistVariableDeclaration:hoistVariableDeclaration,hoistFunctionDeclaration:hoistFunctionDeclaration,addInitializationStatement:addInitializationStatement,startBlockScope:startBlockScope,endBlockScope:endBlockScope,addBlockScopedVariable:addBlockScopedVariable,requestEmitHelper:requestEmitHelper,readEmitHelpers:readEmitHelpers,enableSubstitution:enableSubstitution,enableEmitNotification:enableEmitNotification,isSubstitutionEnabled:isSubstitutionEnabled,isEmitNotificationEnabled:isEmitNotificationEnabled,get onSubstituteNode(){return Je},set onSubstituteNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Je=N},get onEmitNode(){return Ve},set onEmitNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Ve=N},addDiagnostic:function(E){He.push(E)}};for(var Ke=0,Qe=G;Ke0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");var R=E.setEmitFlags($.createVariableDeclaration(N),64);if(!le){le=[R]}else{le.push(R)}if(Ee&1){Ee|=2}}function hoistFunctionDeclaration(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!_e){_e=[N]}else{_e.push(N)}}function addInitializationStatement(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!Te){Te=[N]}else{Te.push(N)}}function startLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");we[Le]=le;Ie[Le]=_e;Ne[Le]=Te;Me[Le]=Ee;Le++;le=undefined;_e=undefined;Te=undefined;Ee=0}function suspendLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is already suspended.");Be=true}function resumeLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(Be,"Lexical environment is not suspended.");Be=false}function endLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");var N;if(le||_e||Te){if(_e){N=j([],_e,true)}if(le){var R=$.createVariableStatement(undefined,$.createVariableDeclarationList(le));E.setEmitFlags(R,1048576);if(!N){N=[R]}else{N.push(R)}}if(Te){if(!N){N=j([],Te,true)}else{N=j(j([],N,true),Te,true)}}}Le--;le=we[Le];_e=Ie[Le];Te=Ne[Le];Ee=Me[Le];if(Le===0){we=[];Ie=[];Ne=[];Me=[]}return N}function setLexicalEnvironmentFlags(E,N){Ee=N?Ee|E:Ee&~E}function getLexicalEnvironmentFlags(){return Ee}function startBlockScope(){E.Debug.assert(qe>0,"Cannot start a block scope during initialization.");E.Debug.assert(qe<2,"Cannot start a block scope after transformation has completed.");je[Ue]=ze;Ue++;ze=undefined}function endBlockScope(){E.Debug.assert(qe>0,"Cannot end a block scope during initialization.");E.Debug.assert(qe<2,"Cannot end a block scope after transformation has completed.");var N=E.some(ze)?[$.createVariableStatement(undefined,$.createVariableDeclarationList(ze.map((function(E){return $.createVariableDeclaration(E)})),1))]:undefined;Ue--;ze=je[Ue];if(Ue===0){je=[]}return N}function addBlockScopedVariable(N){E.Debug.assert(Ue>0,"Cannot add a block scoped variable outside of an iteration body.");(ze||(ze=[])).push(N)}function requestEmitHelper(N){E.Debug.assert(qe>0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");E.Debug.assert(!N.scoped,"Cannot request a scoped emit helper.");if(N.dependencies){for(var R=0,j=N.dependencies;R0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");var N=We;We=undefined;return N}function dispose(){if(qe<3){for(var N=0,R=G;N");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitJSDocFunctionType(E){writeKeyword("function");emitParameters(E,E.parameters);writePunctuation(":");emit(E.type)}function emitJSDocNullableType(E){writePunctuation("?");emit(E.type)}function emitJSDocNonNullableType(E){writePunctuation("!");emit(E.type)}function emitJSDocOptionalType(E){emit(E.type);writePunctuation("=")}function emitConstructorType(E){pushNameGenerationScope(E);emitModifiers(E,E.modifiers);writeKeyword("new");writeSpace();emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);writeSpace();writePunctuation("=>");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitTypeQuery(E){writeKeyword("typeof");writeSpace();emit(E.exprName)}function emitTypeLiteral(N){writePunctuation("{");var R=E.getEmitFlags(N)&1?768:32897;emitList(N,N.members,R|524288);writePunctuation("}")}function emitArrayType(E){emit(E.elementType,kt.parenthesizeElementTypeOfArrayType);writePunctuation("[");writePunctuation("]")}function emitRestOrJSDocVariadicType(E){writePunctuation("...");emit(E.type)}function emitTupleType(N){emitTokenWithComment(22,N.pos,writePunctuation,N);var R=E.getEmitFlags(N)&1?528:657;emitList(N,N.elements,R|524288);emitTokenWithComment(23,N.elements.end,writePunctuation,N)}function emitNamedTupleMember(E){emit(E.dotDotDotToken);emit(E.name);emit(E.questionToken);emitTokenWithComment(58,E.name.end,writePunctuation,E);writeSpace();emit(E.type)}function emitOptionalType(E){emit(E.type,kt.parenthesizeElementTypeOfArrayType);writePunctuation("?")}function emitUnionType(E){emitList(E,E.types,516,kt.parenthesizeMemberOfElementType)}function emitIntersectionType(E){emitList(E,E.types,520,kt.parenthesizeMemberOfElementType)}function emitConditionalType(E){emit(E.checkType,kt.parenthesizeMemberOfConditionalType);writeSpace();writeKeyword("extends");writeSpace();emit(E.extendsType,kt.parenthesizeMemberOfConditionalType);writeSpace();writePunctuation("?");writeSpace();emit(E.trueType);writeSpace();writePunctuation(":");writeSpace();emit(E.falseType)}function emitInferType(E){writeKeyword("infer");writeSpace();emit(E.typeParameter)}function emitParenthesizedType(E){writePunctuation("(");emit(E.type);writePunctuation(")")}function emitThisType(){writeKeyword("this")}function emitTypeOperator(E){writeTokenText(E.operator,writeKeyword);writeSpace();emit(E.type,kt.parenthesizeMemberOfElementType)}function emitIndexedAccessType(E){emit(E.objectType,kt.parenthesizeMemberOfElementType);writePunctuation("[");emit(E.indexType);writePunctuation("]")}function emitMappedType(N){var R=E.getEmitFlags(N);writePunctuation("{");if(R&1){writeSpace()}else{writeLine();increaseIndent()}if(N.readonlyToken){emit(N.readonlyToken);if(N.readonlyToken.kind!==144){writeKeyword("readonly")}writeSpace()}writePunctuation("[");pipelineEmit(3,N.typeParameter);if(N.nameType){writeSpace();writeKeyword("as");writeSpace();emit(N.nameType)}writePunctuation("]");if(N.questionToken){emit(N.questionToken);if(N.questionToken.kind!==57){writePunctuation("?")}}writePunctuation(":");writeSpace();emit(N.type);writeTrailingSemicolon();if(R&1){writeSpace()}else{writeLine();decreaseIndent()}writePunctuation("}")}function emitLiteralType(E){emitExpression(E.literal)}function emitTemplateType(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitImportTypeNode(E){if(E.isTypeOf){writeKeyword("typeof");writeSpace()}writeKeyword("import");writePunctuation("(");emit(E.argument);writePunctuation(")");if(E.qualifier){writePunctuation(".");emit(E.qualifier)}emitTypeArguments(E,E.typeArguments)}function emitObjectBindingPattern(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitArrayBindingPattern(E){writePunctuation("[");emitList(E,E.elements,524880);writePunctuation("]")}function emitBindingElement(E){emit(E.dotDotDotToken);if(E.propertyName){emit(E.propertyName);writePunctuation(":");writeSpace()}emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitArrayLiteralExpression(E){var N=E.elements;var R=E.multiLine?65536:0;emitExpressionList(E,N,8914|R,kt.parenthesizeExpressionForDisallowedComma)}function emitObjectLiteralExpression(N){E.forEach(N.properties,generateMemberNames);var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}var j=N.multiLine?65536:0;var $=Be.languageVersion>=1&&!E.isJsonSourceFile(Be)?64:0;emitList(N,N.properties,526226|$|j);if(R){decreaseIndent()}}function emitPropertyAccessExpression(N){emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);var R=N.questionDotToken||E.setTextRangePosEnd(E.factory.createToken(24),N.expression.end,N.name.pos);var j=getLinesBetweenNodes(N,N.expression,R);var $=getLinesBetweenNodes(N,R,N.name);writeLinesAndIndent(j,false);var q=R.kind!==28&&mayNeedDotDotForPropertyAccess(N.expression)&&!Ke.hasTrailingComment()&&!Ke.hasTrailingWhitespace();if(q){writePunctuation(".")}if(N.questionDotToken){emit(R)}else{emitTokenWithComment(R.kind,N.expression.end,writePunctuation,N)}writeLinesAndIndent($,false);emit(N.name);decreaseIndentIf(j,$)}function mayNeedDotDotForPropertyAccess(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isNumericLiteral(N)){var R=getLiteralTextOfNode(N,true,false);return!N.numericLiteralFlags&&!E.stringContains(R,E.tokenToString(24))}else if(E.isAccessExpression(N)){var j=E.getConstantValue(N);return typeof j==="number"&&isFinite(j)&&Math.floor(j)===j}}function emitElementAccessExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emit(E.questionDotToken);emitTokenWithComment(22,E.expression.end,writePunctuation,E);emitExpression(E.argumentExpression);emitTokenWithComment(23,E.argumentExpression.end,writePunctuation,E)}function emitCallExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emit(N.questionDotToken);emitTypeArguments(N,N.typeArguments);emitExpressionList(N,N.arguments,2576,kt.parenthesizeExpressionForDisallowedComma)}function emitNewExpression(E){emitTokenWithComment(103,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionOfNew);emitTypeArguments(E,E.typeArguments);emitExpressionList(E,E.arguments,18960,kt.parenthesizeExpressionForDisallowedComma)}function emitTaggedTemplateExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.tag,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emitTypeArguments(N,N.typeArguments);writeSpace();emitExpression(N.template)}function emitTypeAssertionExpression(E){writePunctuation("<");emit(E.type);writePunctuation(">");emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitParenthesizedExpression(E){var N=emitTokenWithComment(20,E.pos,writePunctuation,E);var R=writeLineSeparatorsAndIndentBefore(E.expression,E);emitExpression(E.expression,undefined);writeLineSeparatorsAfter(E.expression,E);decreaseIndentIf(R);emitTokenWithComment(21,E.expression?E.expression.end:N,writePunctuation,E)}function emitFunctionExpression(E){generateNameIfNeeded(E.name);emitFunctionDeclarationOrExpression(E)}function emitArrowFunction(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emitSignatureAndBody(E,emitArrowFunctionHead)}function emitArrowFunctionHead(E){emitTypeParameters(E,E.typeParameters);emitParametersForArrow(E,E.parameters);emitTypeAnnotation(E.type);writeSpace();emit(E.equalsGreaterThanToken)}function emitDeleteExpression(E){emitTokenWithComment(89,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitTypeOfExpression(E){emitTokenWithComment(112,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitVoidExpression(E){emitTokenWithComment(114,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitAwaitExpression(E){emitTokenWithComment(132,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitPrefixUnaryExpression(E){writeTokenText(E.operator,writeOperator);if(shouldEmitWhitespaceBeforeOperand(E)){writeSpace()}emitExpression(E.operand,kt.parenthesizeOperandOfPrefixUnary)}function shouldEmitWhitespaceBeforeOperand(E){var N=E.operand;return N.kind===218&&(E.operator===39&&(N.operator===39||N.operator===45)||E.operator===40&&(N.operator===40||N.operator===46))}function emitPostfixUnaryExpression(E){emitExpression(E.operand,kt.parenthesizeOperandOfPostfixUnary);writeTokenText(E.operator,writeOperator)}function createEmitBinaryExpression(){return E.createBinaryExpressionTrampoline(onEnter,onLeft,onOperator,onRight,onExit,undefined);function onEnter(E,N){if(N){N.stackIndex++;N.preserveSourceNewlinesStack[N.stackIndex]=He;N.containerPosStack[N.stackIndex]=pt;N.containerEndStack[N.stackIndex]=ft;N.declarationListContainerEndStack[N.stackIndex]=mt;var R=N.shouldEmitCommentsStack[N.stackIndex]=shouldEmitComments(E);var j=N.shouldEmitSourceMapsStack[N.stackIndex]=shouldEmitSourceMaps(E);ce===null||ce===void 0?void 0:ce(E);if(R)emitCommentsBeforeNode(E);if(j)emitSourceMapsBeforeNode(E);beforeEmitNode(E)}else{N={stackIndex:0,preserveSourceNewlinesStack:[undefined],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[false],shouldEmitSourceMapsStack:[false]}}return N}function onLeft(E,N,R){return maybeEmitExpression(E,R,"left")}function onOperator(E,N,R){var j=E.kind!==27;var $=getLinesBetweenNodes(R,R.left,E);var q=getLinesBetweenNodes(R,E,R.right);writeLinesAndIndent($,j);emitLeadingCommentsOfPosition(E.pos);writeTokenNode(E,E.kind===101?writeKeyword:writeOperator);emitTrailingCommentsOfPosition(E.end,true);writeLinesAndIndent(q,true)}function onRight(E,N,R){return maybeEmitExpression(E,R,"right")}function onExit(E,N){var R=getLinesBetweenNodes(E,E.left,E.operatorToken);var j=getLinesBetweenNodes(E,E.operatorToken,E.right);decreaseIndentIf(R,j);if(N.stackIndex>0){var $=N.preserveSourceNewlinesStack[N.stackIndex];var q=N.containerPosStack[N.stackIndex];var G=N.containerEndStack[N.stackIndex];var ie=N.declarationListContainerEndStack[N.stackIndex];var ae=N.shouldEmitCommentsStack[N.stackIndex];var ce=N.shouldEmitSourceMapsStack[N.stackIndex];afterEmitNode($);if(ce)emitSourceMapsAfterNode(E);if(ae)emitCommentsAfterNode(E,q,G,ie);le===null||le===void 0?void 0:le(E);N.stackIndex--}}function maybeEmitExpression(N,R,j){var $=j==="left"?kt.getParenthesizeLeftSideOfBinaryForOperator(R.operatorToken.kind):kt.getParenthesizeRightSideOfBinaryForOperator(R.operatorToken.kind);var q=getPipelinePhase(0,1,N);if(q===pipelineEmitWithSubstitution){E.Debug.assertIsDefined(bt);N=$(E.cast(bt,E.isExpression));q=getNextPipelinePhase(1,1,N);bt=undefined}if(q===pipelineEmitWithComments||q===pipelineEmitWithSourceMaps||q===pipelineEmitWithHint){if(E.isBinaryExpression(N)){return N}}xt=$;q(1,N)}}function emitConditionalExpression(E){var N=getLinesBetweenNodes(E,E.condition,E.questionToken);var R=getLinesBetweenNodes(E,E.questionToken,E.whenTrue);var j=getLinesBetweenNodes(E,E.whenTrue,E.colonToken);var $=getLinesBetweenNodes(E,E.colonToken,E.whenFalse);emitExpression(E.condition,kt.parenthesizeConditionOfConditionalExpression);writeLinesAndIndent(N,true);emit(E.questionToken);writeLinesAndIndent(R,true);emitExpression(E.whenTrue,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(N,R);writeLinesAndIndent(j,true);emit(E.colonToken);writeLinesAndIndent($,true);emitExpression(E.whenFalse,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(j,$)}function emitTemplateExpression(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitYieldExpression(E){emitTokenWithComment(125,E.pos,writeKeyword,E);emit(E.asteriskToken);emitExpressionWithLeadingSpace(E.expression&&parenthesizeExpressionForNoAsi(E.expression),parenthesizeExpressionForNoAsiAndDisallowedComma)}function emitSpreadElement(E){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}function emitClassExpression(E){generateNameIfNeeded(E.name);emitClassDeclarationOrExpression(E)}function emitExpressionWithTypeArguments(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emitTypeArguments(E,E.typeArguments)}function emitAsExpression(E){emitExpression(E.expression,undefined);if(E.type){writeSpace();writeKeyword("as");writeSpace();emit(E.type)}}function emitNonNullExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);writeOperator("!")}function emitMetaProperty(E){writeToken(E.keywordToken,E.pos,writePunctuation);writePunctuation(".");emit(E.name)}function emitTemplateSpan(E){emitExpression(E.expression);emit(E.literal)}function emitBlock(E){emitBlockStatements(E,!E.multiLine&&isEmptyBlock(E))}function emitBlockStatements(N,R){emitTokenWithComment(18,N.pos,writePunctuation,N);var j=R||E.getEmitFlags(N)&1?768:129;emitList(N,N.statements,j);emitTokenWithComment(19,N.statements.end,writePunctuation,N,!!(j&1))}function emitVariableStatement(E){emitModifiers(E,E.modifiers);emit(E.declarationList);writeTrailingSemicolon()}function emitEmptyStatement(E){if(E){writePunctuation(";")}else{writeTrailingSemicolon()}}function emitExpressionStatement(N){emitExpression(N.expression,kt.parenthesizeExpressionOfExpressionStatement);if(!E.isJsonSourceFile(Be)||E.nodeIsSynthesized(N.expression)){writeTrailingSemicolon()}}function emitIfStatement(E){var N=emitTokenWithComment(99,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.thenStatement);if(E.elseStatement){writeLineOrSpace(E,E.thenStatement,E.elseStatement);emitTokenWithComment(91,E.thenStatement.end,writeKeyword,E);if(E.elseStatement.kind===238){writeSpace();emit(E.elseStatement)}else{emitEmbeddedStatement(E,E.elseStatement)}}}function emitWhileClause(E,N){var R=emitTokenWithComment(115,N,writeKeyword,E);writeSpace();emitTokenWithComment(20,R,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E)}function emitDoStatement(N){emitTokenWithComment(90,N.pos,writeKeyword,N);emitEmbeddedStatement(N,N.statement);if(E.isBlock(N.statement)&&!He){writeSpace()}else{writeLineOrSpace(N,N.statement,N.expression)}emitWhileClause(N,N.statement.end);writeTrailingSemicolon()}function emitWhileStatement(E){emitWhileClause(E,E.pos);emitEmbeddedStatement(E,E.statement)}function emitForStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();var R=emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);R=emitTokenWithComment(26,E.initializer?E.initializer.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.condition);R=emitTokenWithComment(26,E.condition?E.condition.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.incrementor);emitTokenWithComment(21,E.incrementor?E.incrementor.end:R,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForInStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(101,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForOfStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitWithTrailingSpace(E.awaitModifier);emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(159,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForBinding(E){if(E!==undefined){if(E.kind===254){emit(E)}else{emitExpression(E)}}}function emitContinueStatement(E){emitTokenWithComment(86,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitBreakStatement(E){emitTokenWithComment(81,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitTokenWithComment(N,R,j,$,q){var G=E.getParseTreeNode($);var ie=G&&G.kind===$.kind;var ae=R;if(ie&&Be){R=E.skipTrivia(Be.text,R)}if(ie&&$.pos!==ae){var ce=q&&Be&&!E.positionsAreOnSameLine(ae,R,Be);if(ce){increaseIndent()}emitLeadingCommentsOfPosition(ae);if(ce){decreaseIndent()}}R=writeTokenText(N,j,R);if(ie&&$.end!==R){var le=$.kind===287;emitTrailingCommentsOfPosition(R,!le,le)}return R}function commentWillEmitNewLine(E){return E.kind===2||!!E.hasTrailingNewLine}function willEmitLeadingNewLine(N){if(!Be)return false;if(E.some(E.getLeadingCommentRanges(Be.text,N.pos),commentWillEmitNewLine))return true;if(E.some(E.getSyntheticLeadingComments(N),commentWillEmitNewLine))return true;if(E.isPartiallyEmittedExpression(N)){if(N.pos!==N.expression.pos){if(E.some(E.getTrailingCommentRanges(Be.text,N.expression.pos),commentWillEmitNewLine))return true}return willEmitLeadingNewLine(N.expression)}return false}function parenthesizeExpressionForNoAsi(N){if(!vt&&E.isPartiallyEmittedExpression(N)&&willEmitLeadingNewLine(N)){var R=E.getParseTreeNode(N);if(R&&E.isParenthesizedExpression(R)){var j=E.factory.createParenthesizedExpression(N.expression);E.setOriginalNode(j,N);E.setTextRange(j,R);return j}return E.factory.createParenthesizedExpression(N)}return N}function parenthesizeExpressionForNoAsiAndDisallowedComma(E){return parenthesizeExpressionForNoAsi(kt.parenthesizeExpressionForDisallowedComma(E))}function emitReturnStatement(E){emitTokenWithComment(105,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(E.expression&&parenthesizeExpressionForNoAsi(E.expression),parenthesizeExpressionForNoAsi);writeTrailingSemicolon()}function emitWithStatement(E){var N=emitTokenWithComment(116,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitSwitchStatement(E){var N=emitTokenWithComment(107,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);writeSpace();emit(E.caseBlock)}function emitLabeledStatement(E){emit(E.label);emitTokenWithComment(58,E.label.end,writePunctuation,E);writeSpace();emit(E.statement)}function emitThrowStatement(E){emitTokenWithComment(109,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(parenthesizeExpressionForNoAsi(E.expression),parenthesizeExpressionForNoAsi);writeTrailingSemicolon()}function emitTryStatement(E){emitTokenWithComment(111,E.pos,writeKeyword,E);writeSpace();emit(E.tryBlock);if(E.catchClause){writeLineOrSpace(E,E.tryBlock,E.catchClause);emit(E.catchClause)}if(E.finallyBlock){writeLineOrSpace(E,E.catchClause||E.tryBlock,E.finallyBlock);emitTokenWithComment(96,(E.catchClause||E.tryBlock).end,writeKeyword,E);writeSpace();emit(E.finallyBlock)}}function emitDebuggerStatement(E){writeToken(87,E.pos,writeKeyword);writeTrailingSemicolon()}function emitVariableDeclaration(E){emit(E.name);emit(E.exclamationToken);emitTypeAnnotation(E.type);emitInitializer(E.initializer,E.type?E.type.end:E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitVariableDeclarationList(N){writeKeyword(E.isLet(N)?"let":E.isVarConst(N)?"const":"var");writeSpace();emitList(N,N.declarations,528)}function emitFunctionDeclaration(E){emitFunctionDeclarationOrExpression(E)}function emitFunctionDeclarationOrExpression(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("function");emit(E.asteriskToken);writeSpace();emitIdentifierName(E.name);emitSignatureAndBody(E,emitSignatureHead)}function emitSignatureAndBody(N,R){var j=N.body;if(j){if(E.isBlock(j)){var $=E.getEmitFlags(N)&65536;if($){increaseIndent()}pushNameGenerationScope(N);E.forEach(N.parameters,generateNames);generateNames(N.body);R(N);emitBlockFunctionBody(j);popNameGenerationScope(N);if($){decreaseIndent()}}else{R(N);writeSpace();emitExpression(j,kt.parenthesizeConciseBodyOfArrowFunction)}}else{R(N);writeTrailingSemicolon()}}function emitSignatureHead(E){emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);emitTypeAnnotation(E.type)}function shouldEmitBlockFunctionBodyOnSingleLine(N){if(E.getEmitFlags(N)&1){return true}if(N.multiLine){return false}if(!E.nodeIsSynthesized(N)&&!E.rangeIsOnSingleLine(N,Be)){return false}if(getLeadingLineTerminatorCount(N,N.statements,2)||getClosingLineTerminatorCount(N,N.statements,2)){return false}var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(getSeparatingLineTerminatorCount(R,q,2)>0){return false}R=q}return true}function emitBlockFunctionBody(E){ce===null||ce===void 0?void 0:ce(E);writeSpace();writePunctuation("{");increaseIndent();var N=shouldEmitBlockFunctionBodyOnSingleLine(E)?emitBlockFunctionBodyOnSingleLine:emitBlockFunctionBodyWorker;if(emitBodyWithDetachedComments){emitBodyWithDetachedComments(E,E.statements,N)}else{N(E)}decreaseIndent();writeToken(19,E.statements.end,writePunctuation,E);le===null||le===void 0?void 0:le(E)}function emitBlockFunctionBodyOnSingleLine(E){emitBlockFunctionBodyWorker(E,true)}function emitBlockFunctionBodyWorker(E,N){var R=emitPrologueDirectives(E.statements);var j=Ke.getTextPos();emitHelpers(E);if(R===0&&j===Ke.getTextPos()&&N){decreaseIndent();emitList(E,E.statements,768);increaseIndent()}else{emitList(E,E.statements,1,undefined,R)}}function emitClassDeclaration(E){emitClassDeclarationOrExpression(E)}function emitClassDeclarationOrExpression(N){E.forEach(N.members,generateMemberNames);emitDecorators(N,N.decorators);emitModifiers(N,N.modifiers);writeKeyword("class");if(N.name){writeSpace();emitIdentifierName(N.name)}var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}emitTypeParameters(N,N.typeParameters);emitList(N,N.heritageClauses,0);writeSpace();writePunctuation("{");emitList(N,N.members,129);writePunctuation("}");if(R){decreaseIndent()}}function emitInterfaceDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("interface");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);emitList(E,E.heritageClauses,512);writeSpace();writePunctuation("{");emitList(E,E.members,129);writePunctuation("}")}function emitTypeAliasDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("type");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);writeSpace();writePunctuation("=");writeSpace();emit(E.type);writeTrailingSemicolon()}function emitEnumDeclaration(E){emitModifiers(E,E.modifiers);writeKeyword("enum");writeSpace();emit(E.name);writeSpace();writePunctuation("{");emitList(E,E.members,145);writePunctuation("}")}function emitModuleDeclaration(N){emitModifiers(N,N.modifiers);if(~N.flags&1024){writeKeyword(N.flags&16?"namespace":"module");writeSpace()}emit(N.name);var R=N.body;if(!R)return writeTrailingSemicolon();while(R&&E.isModuleDeclaration(R)){writePunctuation(".");emit(R.name);R=R.body}writeSpace();emit(R)}function emitModuleBlock(N){pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitBlockStatements(N,isEmptyBlock(N));popNameGenerationScope(N)}function emitCaseBlock(E){emitTokenWithComment(18,E.pos,writePunctuation,E);emitList(E,E.clauses,129);emitTokenWithComment(19,E.clauses.end,writePunctuation,E,true)}function emitImportEqualsDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){emitTokenWithComment(151,E.pos,writeKeyword,E);writeSpace()}emit(E.name);writeSpace();emitTokenWithComment(63,E.name.end,writePunctuation,E);writeSpace();emitModuleReference(E.moduleReference);writeTrailingSemicolon()}function emitModuleReference(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitImportDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.importClause){emit(E.importClause);writeSpace();emitTokenWithComment(155,E.importClause.end,writeKeyword,E);writeSpace()}emitExpression(E.moduleSpecifier);if(E.assertClause){emitWithLeadingSpace(E.assertClause)}writeTrailingSemicolon()}function emitImportClause(E){if(E.isTypeOnly){emitTokenWithComment(151,E.pos,writeKeyword,E);writeSpace()}emit(E.name);if(E.name&&E.namedBindings){emitTokenWithComment(27,E.name.end,writePunctuation,E);writeSpace()}emit(E.namedBindings)}function emitNamespaceImport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedImports(E){emitNamedImportsOrExports(E)}function emitImportSpecifier(E){emitImportOrExportSpecifier(E)}function emitExportAssignment(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isExportEquals){emitTokenWithComment(63,N,writeOperator,E)}else{emitTokenWithComment(88,N,writeKeyword,E)}writeSpace();emitExpression(E.expression,E.isExportEquals?kt.getParenthesizeRightSideOfBinaryForOperator(63):kt.parenthesizeExpressionOfExportDefault);writeTrailingSemicolon()}function emitExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){N=emitTokenWithComment(151,N,writeKeyword,E);writeSpace()}if(E.exportClause){emit(E.exportClause)}else{N=emitTokenWithComment(41,N,writePunctuation,E)}if(E.moduleSpecifier){writeSpace();var R=E.exportClause?E.exportClause.end:N;emitTokenWithComment(155,R,writeKeyword,E);writeSpace();emitExpression(E.moduleSpecifier)}if(E.assertClause){emitWithLeadingSpace(E.assertClause)}writeTrailingSemicolon()}function emitAssertClause(E){emitTokenWithComment(129,E.pos,writeKeyword,E);writeSpace();var N=E.elements;emitList(E,N,526226)}function emitAssertEntry(N){emit(N.name);writePunctuation(":");writeSpace();var R=N.value;if((E.getEmitFlags(R)&512)===0){var j=E.getCommentRange(R);emitTrailingCommentsOfPosition(j.pos)}emit(R)}function emitNamespaceExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();N=emitTokenWithComment(127,N,writeKeyword,E);writeSpace();N=emitTokenWithComment(142,N,writeKeyword,E);writeSpace();emit(E.name);writeTrailingSemicolon()}function emitNamespaceExport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedExports(E){emitNamedImportsOrExports(E)}function emitExportSpecifier(E){emitImportOrExportSpecifier(E)}function emitNamedImportsOrExports(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitImportOrExportSpecifier(E){if(E.isTypeOnly){writeKeyword("type");writeSpace()}if(E.propertyName){emit(E.propertyName);writeSpace();emitTokenWithComment(127,E.propertyName.end,writeKeyword,E);writeSpace()}emit(E.name)}function emitExternalModuleReference(E){writeKeyword("require");writePunctuation("(");emitExpression(E.expression);writePunctuation(")")}function emitJsxElement(E){emit(E.openingElement);emitList(E,E.children,262144);emit(E.closingElement)}function emitJsxSelfClosingElement(E){writePunctuation("<");emitJsxTagName(E.tagName);emitTypeArguments(E,E.typeArguments);writeSpace();emit(E.attributes);writePunctuation("/>")}function emitJsxFragment(E){emit(E.openingFragment);emitList(E,E.children,262144);emit(E.closingFragment)}function emitJsxOpeningElementOrFragment(N){writePunctuation("<");if(E.isJsxOpeningElement(N)){var R=writeLineSeparatorsAndIndentBefore(N.tagName,N);emitJsxTagName(N.tagName);emitTypeArguments(N,N.typeArguments);if(N.attributes.properties&&N.attributes.properties.length>0){writeSpace()}emit(N.attributes);writeLineSeparatorsAfter(N.attributes,N);decreaseIndentIf(R)}writePunctuation(">")}function emitJsxText(E){Ke.writeLiteral(E.text)}function emitJsxClosingElementOrFragment(N){writePunctuation("")}function emitJsxAttributes(E){emitList(E,E.properties,262656)}function emitJsxAttribute(E){emit(E.name);emitNodeWithPrefix("=",writePunctuation,E.initializer,emitJsxAttributeValue)}function emitJsxSpreadAttribute(E){writePunctuation("{...");emitExpression(E.expression);writePunctuation("}")}function hasTrailingCommentsAtPosition(N){var R=false;E.forEachTrailingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasLeadingCommentsAtPosition(N){var R=false;E.forEachLeadingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasCommentsAtPosition(E){return hasTrailingCommentsAtPosition(E)||hasLeadingCommentsAtPosition(E)}function emitJsxExpression(N){var R;if(N.expression||!vt&&!E.nodeIsSynthesized(N)&&hasCommentsAtPosition(N.pos)){var j=Be&&!E.nodeIsSynthesized(N)&&E.getLineAndCharacterOfPosition(Be,N.pos).line!==E.getLineAndCharacterOfPosition(Be,N.end).line;if(j){Ke.increaseIndent()}var $=emitTokenWithComment(18,N.pos,writePunctuation,N);emit(N.dotDotDotToken);emitExpression(N.expression);emitTokenWithComment(19,((R=N.expression)===null||R===void 0?void 0:R.end)||$,writePunctuation,N);if(j){Ke.decreaseIndent()}}}function emitJsxTagName(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitCaseClause(E){emitTokenWithComment(82,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma);emitCaseOrDefaultClauseRest(E,E.statements,E.expression.end)}function emitDefaultClause(E){var N=emitTokenWithComment(88,E.pos,writeKeyword,E);emitCaseOrDefaultClauseRest(E,E.statements,N)}function emitCaseOrDefaultClauseRest(N,R,j){var $=R.length===1&&(E.nodeIsSynthesized(N)||E.nodeIsSynthesized(R[0])||E.rangeStartPositionsAreOnSameLine(N,R[0],Be));var q=163969;if($){writeToken(58,j,writePunctuation,N);writeSpace();q&=~(1|128)}else{emitTokenWithComment(58,j,writePunctuation,N)}emitList(N,R,q)}function emitHeritageClause(E){writeSpace();writeTokenText(E.token,writeKeyword);writeSpace();emitList(E,E.types,528)}function emitCatchClause(E){var N=emitTokenWithComment(83,E.pos,writeKeyword,E);writeSpace();if(E.variableDeclaration){emitTokenWithComment(20,N,writePunctuation,E);emit(E.variableDeclaration);emitTokenWithComment(21,E.variableDeclaration.end,writePunctuation,E);writeSpace()}emit(E.block)}function emitPropertyAssignment(N){emit(N.name);writePunctuation(":");writeSpace();var R=N.initializer;if((E.getEmitFlags(R)&512)===0){var j=E.getCommentRange(R);emitTrailingCommentsOfPosition(j.pos)}emitExpression(R,kt.parenthesizeExpressionForDisallowedComma)}function emitShorthandPropertyAssignment(E){emit(E.name);if(E.objectAssignmentInitializer){writeSpace();writePunctuation("=");writeSpace();emitExpression(E.objectAssignmentInitializer,kt.parenthesizeExpressionForDisallowedComma)}}function emitSpreadAssignment(E){if(E.expression){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}}function emitEnumMember(E){emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitJSDoc(N){Xe("/**");if(N.comment){var R=E.getTextOfJSDocComment(N.comment);if(R){var j=R.split(/\r\n?|\n/g);for(var $=0,q=j;$');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"no-default-lib"});writeLine()}if(Be&&Be.moduleName){writeComment('/// '));writeLine()}if(Be&&Be.amdDependencies){for(var q=0,G=Be.amdDependencies;q'))}else{writeComment('/// '))}writeLine()}}for(var ae=0,ce=N;ae'));if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"reference",data:le.fileName});writeLine()}for(var _e=0,Te=R;_e'));if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"type",data:le.fileName});writeLine()}for(var Ee=0,we=j;Ee'));if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"lib",data:le.fileName});writeLine()}}function emitSourceFileWorker(N){var R=N.statements;pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitHelpers(N);var j=E.findIndex(R,(function(N){return!E.isPrologueDirective(N)}));emitTripleSlashDirectivesIfNeeded(N);emitList(N,R,1,undefined,j===-1?R.length:j);popNameGenerationScope(N)}function emitPartiallyEmittedExpression(N){var R=E.getEmitFlags(N);if(!(R&512)&&N.pos!==N.expression.pos){emitTrailingCommentsOfPosition(N.expression.pos)}emitExpression(N.expression);if(!(R&1024)&&N.end!==N.expression.end){emitLeadingCommentsOfPosition(N.expression.end)}}function emitCommaList(E){emitExpressionList(E,E.elements,528,undefined)}function emitPrologueDirectives(N,R,j,$){var q=!!R;for(var G=0;G=j.length||ie===0;if(ce&&$&32768){if(_e){_e(j)}if(Te){Te(j)}return}if($&15360){writePunctuation(getOpeningBracket($));if(ce&&j){emitTrailingCommentsOfPosition(j.pos,true)}}if(_e){_e(j)}if(ce){if($&1&&!(He&&(!R||E.rangeIsOnSingleLine(R,Be)))){writeLine()}else if($&256&&!($&524288)){writeSpace()}}else{E.Debug.type(j);var le=($&262144)===0;var Ee=le;var we=getLeadingLineTerminatorCount(R,j,$);if(we){writeLine(we);Ee=false}else if($&256){writeSpace()}if($&128){increaseIndent()}var Ie=void 0;var Ne=void 0;var Me=false;for(var Le=0;Le0){if(($&(3|128))===0){increaseIndent();Me=true}writeLine(Ue);Ee=false}else if(Ie&&$&512){writeSpace()}}Ne=recordBundleFileInternalSectionStart(je);if(Ee){var ze=E.getCommentRange(je);emitTrailingCommentsOfPosition(ze.pos)}else{Ee=le}Ge=je.pos;if(N.length===1){N(je)}else{N(je,q)}if(Me){decreaseIndent();Me=false}Ie=je}var We=Ie?E.getEmitFlags(Ie):0;var Je=vt||!!(We&1024);var Ve=(j===null||j===void 0?void 0:j.hasTrailingComma)&&$&64&&$&16;if(Ve){if(Ie&&!Je){emitTokenWithComment(27,Ie.end,writePunctuation,Ie)}else{writePunctuation(",")}}if(Ie&&(R?R.end:-1)!==Ie.end&&$&60&&!Je){emitLeadingCommentsOfPosition(Ve&&(j===null||j===void 0?void 0:j.end)?j.end:Ie.end)}if($&128){decreaseIndent()}recordBundleFileInternalSectionEnd(Ne);var qe=getClosingLineTerminatorCount(R,j,$);if(qe){writeLine(qe)}else if($&(2097152|256)){writeSpace()}}if(Te){Te(j)}if($&15360){if(ce&&j){emitLeadingCommentsOfPosition(j.end)}writePunctuation(getClosingBracket($))}}function writeLiteral(E){Ke.writeLiteral(E)}function writeStringLiteral(E){Ke.writeStringLiteral(E)}function writeBase(E){Ke.write(E)}function writeSymbol(E,N){Ke.writeSymbol(E,N)}function writePunctuation(E){Ke.writePunctuation(E)}function writeTrailingSemicolon(){Ke.writeTrailingSemicolon(";")}function writeKeyword(E){Ke.writeKeyword(E)}function writeOperator(E){Ke.writeOperator(E)}function writeParameter(E){Ke.writeParameter(E)}function writeComment(E){Ke.writeComment(E)}function writeSpace(){Ke.writeSpace(" ")}function writeProperty(E){Ke.writeProperty(E)}function nonEscapingWrite(E){if(Ke.nonEscapingWrite){Ke.nonEscapingWrite(E)}else{Ke.write(E)}}function writeLine(E){if(E===void 0){E=1}for(var N=0;N0)}}function increaseIndent(){Ke.increaseIndent()}function decreaseIndent(){Ke.decreaseIndent()}function writeToken(E,N,R,j){return!it?emitTokenWithSourceMap(j,E,R,N,writeTokenText):writeTokenText(E,R,N)}function writeTokenNode(N,R){if(Ee){Ee(N)}R(E.tokenToString(N.kind));if(we){we(N)}}function writeTokenText(N,R,j){var $=E.tokenToString(N);R($);return j<0?j:j+$.length}function writeLineOrSpace(N,R,j){if(E.getEmitFlags(N)&1){writeSpace()}else if(He){var $=getLinesBetweenNodes(N,R,j);if($){writeLine($)}else{writeSpace()}}else{writeLine()}}function writeLines(N){var R=N.split(/\r\n?|\n/g);var j=E.guessIndentation(R);for(var $=0,q=R;$0||$>0)&&j!==$){if(!q){emitLeadingComments(j,N.kind!==347)}if(!q||j>=0&&(R&512)!==0){pt=j}if(!G||$>=0&&(R&1024)!==0){ft=$;if(N.kind===254){mt=$}}}E.forEach(E.getSyntheticLeadingComments(N),emitLeadingSynthesizedComment);Et()}function emitTrailingCommentsOfNode(N,R,j,$,q,G,ie){Tt();var ae=$<0||(R&1024)!==0||N.kind===11;E.forEach(E.getSyntheticTrailingComments(N),emitTrailingSynthesizedComment);if((j>0||$>0)&&j!==$){pt=q;ft=G;mt=ie;if(!ae&&N.kind!==347){emitTrailingComments($)}}Et()}function emitLeadingSynthesizedComment(E){if(E.hasLeadingNewline||E.kind===2){Ke.writeLine()}writeSynthesizedComment(E);if(E.hasTrailingNewLine||E.kind===2){Ke.writeLine()}else{Ke.writeSpace(" ")}}function emitTrailingSynthesizedComment(E){if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}writeSynthesizedComment(E);if(E.hasTrailingNewLine){Ke.writeLine()}}function writeSynthesizedComment(N){var R=formatSynthesizedComment(N);var j=N.kind===3?E.computeLineStarts(R):undefined;E.writeCommentRange(R,j,Ke,0,R.length,Ne)}function formatSynthesizedComment(E){return E.kind===3?"/*".concat(E.text,"*/"):"//".concat(E.text)}function emitBodyWithDetachedComments(N,R,j){Tt();var $=R.pos,q=R.end;var G=E.getEmitFlags(N);var ie=$<0||(G&512)!==0;var ae=vt||q<0||(G&1024)!==0;if(!ie){emitDetachedCommentsAndUpdateCommentsInfo(R)}Et();if(G&2048&&!vt){vt=true;j(N);vt=false}else{j(N)}Tt();if(!ae){emitLeadingComments(R.end,true);if(yt&&!Ke.isAtStartOfLine()){Ke.writeLine()}}Et()}function originalNodesHaveSameParent(N,R){N=E.getOriginalNode(N);return N.parent&&N.parent===E.getOriginalNode(R).parent}function siblingNodePositionsAreComparable(N,R){if(R.pos-1&&$.indexOf(R)===q+1}function emitLeadingComments(E,N){yt=false;if(N){if(E===0&&(Be===null||Be===void 0?void 0:Be.isDeclarationFile)){forEachLeadingCommentToEmit(E,emitNonTripleSlashLeadingComment)}else{forEachLeadingCommentToEmit(E,emitLeadingComment)}}else if(E===0){forEachLeadingCommentToEmit(E,emitTripleSlashLeadingComment)}}function emitTripleSlashLeadingComment(E,N,R,j,$){if(isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function emitNonTripleSlashLeadingComment(E,N,R,j,$){if(!isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function shouldWriteComment(R,j){if(N.onlyPrintJsDocStyle){return E.isJSDocLikeText(R,j)||E.isPinnedComment(R,j)}return true}function emitLeadingComment(N,R,j,$,q){if(!shouldWriteComment(Be.text,N))return;if(!yt){E.emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(),Ke,q,N);yt=true}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else if(j===3){Ke.writeSpace(" ")}}function emitLeadingCommentsOfPosition(E){if(vt||E===-1){return}emitLeadingComments(E,true)}function emitTrailingComments(E){forEachTrailingCommentToEmit(E,emitTrailingComment)}function emitTrailingComment(N,R,j,$){if(!shouldWriteComment(Be.text,N))return;if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}}function emitTrailingCommentsOfPosition(E,N,R){if(vt){return}Tt();forEachTrailingCommentToEmit(E,N?emitTrailingComment:R?emitTrailingCommentOfPositionNoNewline:emitTrailingCommentOfPosition);Et()}function emitTrailingCommentOfPositionNoNewline(N,R,j){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if(j===2){Ke.writeLine()}}function emitTrailingCommentOfPosition(N,R,j,$){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else{Ke.writeSpace(" ")}}function forEachLeadingCommentToEmit(N,R){if(Be&&(pt===-1||N!==pt)){if(hasDetachedComments(N)){forEachLeadingCommentWithoutDetachedComments(R)}else{E.forEachLeadingCommentRange(Be.text,N,R,N)}}}function forEachTrailingCommentToEmit(N,R){if(Be&&(ft===-1||N!==ft&&N!==mt)){E.forEachTrailingCommentRange(Be.text,N,R)}}function hasDetachedComments(N){return _t!==undefined&&E.last(_t).nodePos===N}function forEachLeadingCommentWithoutDetachedComments(N){var R=E.last(_t).detachedCommentEndPos;if(_t.length-1){_t.pop()}else{_t=undefined}E.forEachLeadingCommentRange(Be.text,R,N,R)}function emitDetachedCommentsAndUpdateCommentsInfo(N){var R=E.emitDetachedComments(Be.text,getCurrentLineMap(),Ke,emitComment,N,Ne,vt);if(R){if(_t){_t.push(R)}else{_t=[R]}}}function emitComment(N,R,j,$,q,G){if(!shouldWriteComment(Be.text,$))return;emitPos($);E.writeCommentRange(N,R,j,$,q,G);emitPos(q)}function isTripleSlashComment(N,R){return E.isRecognizedTripleSlashComment(Be.text,N,R)}function getParsedSourceMap(N){if(N.parsedSourceMap===undefined&&N.sourceMapText!==undefined){N.parsedSourceMap=E.tryParseRawSourceMap(N.sourceMapText)||false}return N.parsedSourceMap||undefined}function pipelineEmitWithSourceMaps(E,N){var R=getNextPipelinePhase(3,E,N);emitSourceMapsBeforeNode(N);R(E,N);emitSourceMapsAfterNode(N)}function emitSourceMapsBeforeNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(E.isUnparsedNode(N)){E.Debug.assertIsDefined(N.parent,"UnparsedNodes must have parent pointers");var $=getParsedSourceMap(N.parent);if($&&ot){ot.appendSourceMap(Ke.getLine(),Ke.getColumn(),$,N.parent.sourceMapPath,N.parent.getLineAndCharacterOfPosition(N.pos),N.parent.getLineAndCharacterOfPosition(N.end))}}else{var q=j.source||st;if(N.kind!==347&&(R&16)===0&&j.pos>=0){emitSourcePos(j.source||st,skipSourceTrivia(q,j.pos))}if(R&64){it=true}}}function emitSourceMapsAfterNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(!E.isUnparsedNode(N)){if(R&64){it=false}if(N.kind!==347&&(R&32)===0&&j.end>=0){emitSourcePos(j.source||st,j.end)}}}function skipSourceTrivia(N,R){return N.skipTrivia?N.skipTrivia(R):E.skipTrivia(N.text,R)}function emitPos(N){if(it||E.positionIsSynthesized(N)||isJsonSourceMapSource(st)){return}var R=E.getLineAndCharacterOfPosition(st,N),j=R.line,$=R.character;ot.addMapping(Ke.getLine(),Ke.getColumn(),ct,j,$,undefined)}function emitSourcePos(E,N){if(E!==st){var R=st;var j=ct;setSourceMapSource(E);emitPos(N);resetSourceMapSource(R,j)}else{emitPos(N)}}function emitTokenWithSourceMap(N,R,j,$,q){if(it||N&&E.isInJsonFile(N)){return q(R,j,$)}var G=N&&N.emitNode;var ie=G&&G.flags||0;var ae=G&&G.tokenSourceMapRanges&&G.tokenSourceMapRanges[R];var ce=ae&&ae.source||st;$=skipSourceTrivia(ce,ae?ae.pos:$);if((ie&128)===0&&$>=0){emitSourcePos(ce,$)}$=q(R,j,$);if(ae)$=ae.end;if((ie&256)===0&&$>=0){emitSourcePos(ce,$)}return $}function setSourceMapSource(E){if(it){return}st=E;if(E===ut){ct=dt;return}if(isJsonSourceMapSource(E)){return}ct=ot.addSource(E.fileName);if(N.inlineSources){ot.setSourceContent(ct,E.text)}ut=E;dt=ct}function resetSourceMapSource(E,N){st=E;ct=N}function isJsonSourceMapSource(N){return E.fileExtensionIs(N.fileName,".json")}}E.createPrinter=createPrinter;function createBracketsMap(){var E=[];E[1024]=["{","}"];E[2048]=["(",")"];E[4096]=["<",">"];E[8192]=["[","]"];return E}function getOpeningBracket(E){return N[E&15360][0]}function getClosingBracket(E){return N[E&15360][1]}var $;(function(E){E[E["Auto"]=0]="Auto";E[E["CountMask"]=268435455]="CountMask";E[E["_i"]=268435456]="_i"})($||($={}))})(ce||(ce={}));var ce;(function(E){function createCachedDirectoryStructureHost(N,R,j){if(!N.getDirectories||!N.readDirectory){return undefined}var $=new E.Map;var q=E.createGetCanonicalFileName(j);return{useCaseSensitiveFileNames:j,fileExists:fileExists,readFile:function(E,R){return N.readFile(E,R)},directoryExists:N.directoryExists&&directoryExists,getDirectories:getDirectories,readDirectory:readDirectory,createDirectory:N.createDirectory&&createDirectory,writeFile:N.writeFile&&writeFile,addOrDeleteFileOrDirectory:addOrDeleteFileOrDirectory,addOrDeleteFile:addOrDeleteFile,clearCache:clearCache,realpath:N.realpath&&realpath};function toPath(N){return E.toPath(N,R,q)}function getCachedFileSystemEntries(N){return $.get(E.ensureTrailingDirectorySeparator(N))}function getCachedFileSystemEntriesForBaseDir(N){return getCachedFileSystemEntries(E.getDirectoryPath(N))}function getBaseNameOfFileName(N){return E.getBaseFileName(E.normalizePath(N))}function createCachedFileSystemEntries(R,j){var q;if(!N.realpath||E.ensureTrailingDirectorySeparator(toPath(N.realpath(R)))===j){var G={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||[],directories:N.getDirectories(R)||[]};$.set(E.ensureTrailingDirectorySeparator(j),G);return G}if((q=N.directoryExists)===null||q===void 0?void 0:q.call(N,R)){$.set(j,false);return false}return undefined}function tryReadDirectory(N,R){R=E.ensureTrailingDirectorySeparator(R);var j=getCachedFileSystemEntries(R);if(j){return j}try{return createCachedFileSystemEntries(N,R)}catch(N){E.Debug.assert(!$.has(E.ensureTrailingDirectorySeparator(R)));return undefined}}function fileNameEqual(E,N){return q(E)===q(N)}function hasEntry(N,R){return E.some(N,(function(E){return fileNameEqual(E,R)}))}function updateFileSystemEntry(N,R,j){if(hasEntry(N,R)){if(!j){return E.filterMutate(N,(function(E){return!fileNameEqual(E,R)}))}}else if(j){return N.push(R)}}function writeFile(E,R,j){var $=toPath(E);var q=getCachedFileSystemEntriesForBaseDir($);if(q){updateFilesOfFileSystemEntry(q,getBaseNameOfFileName(E),true)}return N.writeFile(E,R,j)}function fileExists(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);return j&&hasEntry(j.files,getBaseNameOfFileName(E))||N.fileExists(E)}function directoryExists(R){var j=toPath(R);return $.has(E.ensureTrailingDirectorySeparator(j))||N.directoryExists(R)}function createDirectory(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);var $=getBaseNameOfFileName(E);if(j){updateFileSystemEntry(j.directories,$,true)}N.createDirectory(E)}function getDirectories(E){var R=toPath(E);var j=tryReadDirectory(E,R);if(j){return j.directories.slice()}return N.getDirectories(E)}function readDirectory($,q,G,ie,ae){var ce=toPath($);var le=tryReadDirectory($,ce);var _e;if(le!==undefined){return E.matchFiles($,q,G,ie,j,R,ae,getFileSystemEntries,realpath)}return N.readDirectory($,q,G,ie,ae);function getFileSystemEntries(N){var R=toPath(N);if(R===ce){return le||getFileSystemEntriesFromHost(N,R)}var j=tryReadDirectory(N,R);return j!==undefined?j||getFileSystemEntriesFromHost(N,R):E.emptyFileSystemEntries}function getFileSystemEntriesFromHost(R,j){if(_e&&j===ce)return _e;var $={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||E.emptyArray,directories:N.getDirectories(R)||E.emptyArray};if(j===ce)_e=$;return $}}function realpath(E){return N.realpath?N.realpath(E):E}function addOrDeleteFileOrDirectory(E,R){var j=getCachedFileSystemEntries(R);if(j!==undefined){clearCache();return undefined}var $=getCachedFileSystemEntriesForBaseDir(R);if(!$){return undefined}if(!N.directoryExists){clearCache();return undefined}var q=getBaseNameOfFileName(E);var G={fileExists:N.fileExists(R),directoryExists:N.directoryExists(R)};if(G.directoryExists||hasEntry($.directories,q)){clearCache()}else{updateFilesOfFileSystemEntry($,q,G.fileExists)}return G}function addOrDeleteFile(N,R,j){if(j===E.FileWatcherEventKind.Changed){return}var $=getCachedFileSystemEntriesForBaseDir(R);if($){updateFilesOfFileSystemEntry($,getBaseNameOfFileName(N),j===E.FileWatcherEventKind.Created)}}function updateFilesOfFileSystemEntry(E,N,R){updateFileSystemEntry(E.files,N,R)}function clearCache(){$.clear()}}E.createCachedDirectoryStructureHost=createCachedDirectoryStructureHost;var N;(function(E){E[E["None"]=0]="None";E[E["Partial"]=1]="Partial";E[E["Full"]=2]="Full"})(N=E.ConfigFileProgramReloadLevel||(E.ConfigFileProgramReloadLevel={}));function updateSharedExtendedConfigFileWatcher(N,R,j,$,q){var G;var ie=E.arrayToMap(((G=R===null||R===void 0?void 0:R.configFile)===null||G===void 0?void 0:G.extendedSourceFiles)||E.emptyArray,q);j.forEach((function(E,R){if(!ie.has(R)){E.projects.delete(N);E.close()}}));ie.forEach((function(R,q){var G=j.get(q);if(G){G.projects.add(N)}else{j.set(q,{projects:new E.Set([N]),watcher:$(R,q),close:function(){var E=j.get(q);if(!E||E.projects.size!==0)return;E.watcher.close();j.delete(q)}})}}))}E.updateSharedExtendedConfigFileWatcher=updateSharedExtendedConfigFileWatcher;function clearSharedExtendedConfigFileWatcher(E,N){N.forEach((function(N){if(N.projects.delete(E))N.close()}))}E.clearSharedExtendedConfigFileWatcher=clearSharedExtendedConfigFileWatcher;function cleanExtendedConfigCache(E,N,R){if(!E.delete(N))return;E.forEach((function(j,$){var q;var G=j.extendedResult;if((q=G.extendedSourceFiles)===null||q===void 0?void 0:q.some((function(E){return R(E)===N}))){cleanExtendedConfigCache(E,$,R)}}))}E.cleanExtendedConfigCache=cleanExtendedConfigCache;function updatePackageJsonWatch(N,R,j){var $=new E.Map(N);E.mutateMap(R,$,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updatePackageJsonWatch=updatePackageJsonWatch;function updateMissingFilePathsWatch(N,R,j){var $=N.getMissingFilePaths();var q=E.arrayToMap($,E.identity,E.returnTrue);E.mutateMap(R,q,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updateMissingFilePathsWatch=updateMissingFilePathsWatch;function updateWatchingWildcardDirectories(N,R,j){E.mutateMap(N,R,{createNewValue:createWildcardDirectoryWatcher,onDeleteValue:closeFileWatcherOf,onExistingValue:updateWildcardDirectoryWatcher});function createWildcardDirectoryWatcher(E,N){return{watcher:j(E,N),flags:N}}function updateWildcardDirectoryWatcher(E,R,j){if(E.flags===R){return}E.watcher.close();N.set(j,createWildcardDirectoryWatcher(j,R))}}E.updateWatchingWildcardDirectories=updateWatchingWildcardDirectories;function isIgnoredFileFromWildCardWatching(N){var R=N.watchedDirPath,j=N.fileOrDirectory,$=N.fileOrDirectoryPath,q=N.configFileName,G=N.options,ie=N.program,ae=N.extraFileExtensions,ce=N.currentDirectory,le=N.useCaseSensitiveFileNames,_e=N.writeLog,Te=N.toPath;var Ee=E.removeIgnoredPath($);if(!Ee){_e("Project: ".concat(q," Detected ignored path: ").concat(j));return true}$=Ee;if($===R)return false;if(E.hasExtension($)&&!E.isSupportedSourceFileName(j,G,ae)){_e("Project: ".concat(q," Detected file add/remove of non supported extension: ").concat(j));return true}if(E.isExcludedFile(j,G.configFile.configFileSpecs,E.getNormalizedAbsolutePath(E.getDirectoryPath(q),ce),le,ce)){_e("Project: ".concat(q," Detected excluded file: ").concat(j));return true}if(!ie)return false;if(E.outFile(G)||G.outDir)return false;if(E.fileExtensionIs($,".d.ts")){if(G.declarationDir)return false}else if(!E.fileExtensionIsOneOf($,E.supportedJSExtensionsFlat)){return false}var we=E.removeFileExtension($);var Ie=E.isArray(ie)?undefined:isBuilderProgram(ie)?ie.getProgramOrUndefined():ie;var Ne=!Ie&&!E.isArray(ie)?ie:undefined;if(hasSourceFile(we+".ts")||hasSourceFile(we+".tsx")){_e("Project: ".concat(q," Detected output file: ").concat(j));return true}return false;function hasSourceFile(N){return Ie?!!Ie.getSourceFileByPath(N):Ne?Ne.getState().fileInfos.has(N):!!E.find(ie,(function(E){return Te(E)===N}))}}E.isIgnoredFileFromWildCardWatching=isIgnoredFileFromWildCardWatching;function isBuilderProgram(E){return!!E.getState}function isEmittedFileOfProgram(E,N){if(!E){return false}return E.isEmittedFile(N)}E.isEmittedFileOfProgram=isEmittedFileOfProgram;var R;(function(E){E[E["None"]=0]="None";E[E["TriggerOnly"]=1]="TriggerOnly";E[E["Verbose"]=2]="Verbose"})(R=E.WatchLogLevel||(E.WatchLogLevel={}));function getWatchFactory(N,$,q,G){E.setSysLog($===R.Verbose?q:E.noop);var ie={watchFile:function(E,R,j,$){return N.watchFile(E,R,j,$)},watchDirectory:function(E,R,j,$){return N.watchDirectory(E,R,(j&1)!==0,$)}};var ae=$!==R.None?{watchFile:createTriggerLoggingAddWatch("watchFile"),watchDirectory:createTriggerLoggingAddWatch("watchDirectory")}:undefined;var ce=$===R.Verbose?{watchFile:createFileWatcherWithLogging,watchDirectory:createDirectoryWatcherWithLogging}:ae||ie;var le=$===R.Verbose?createExcludeWatcherWithLogging:E.returnNoopFileWatcher;return{watchFile:createExcludeHandlingAddWatch("watchFile"),watchDirectory:createExcludeHandlingAddWatch("watchDirectory")};function createExcludeHandlingAddWatch(R){return function(j,$,q,G,ie,ae){var _e;return!E.matchesExclude(j,R==="watchFile"?G===null||G===void 0?void 0:G.excludeFiles:G===null||G===void 0?void 0:G.excludeDirectories,useCaseSensitiveFileNames(),((_e=N.getCurrentDirectory)===null||_e===void 0?void 0:_e.call(N))||"")?ce[R].call(undefined,j,$,q,G,ie,ae):le(j,q,G,ie,ae)}}function useCaseSensitiveFileNames(){return typeof N.useCaseSensitiveFileNames==="boolean"?N.useCaseSensitiveFileNames:N.useCaseSensitiveFileNames()}function createExcludeWatcherWithLogging(E,N,R,j,$){q("ExcludeWatcher:: Added:: ".concat(getWatchInfo(E,N,R,j,$,G)));return{close:function(){return q("ExcludeWatcher:: Close:: ".concat(getWatchInfo(E,N,R,j,$,G)))}}}function createFileWatcherWithLogging(E,N,R,j,$,ie){q("FileWatcher:: Added:: ".concat(getWatchInfo(E,R,j,$,ie,G)));var ce=ae.watchFile(E,N,R,j,$,ie);return{close:function(){q("FileWatcher:: Close:: ".concat(getWatchInfo(E,R,j,$,ie,G)));ce.close()}}}function createDirectoryWatcherWithLogging(N,R,j,$,ie,ce){var le="DirectoryWatcher:: Added:: ".concat(getWatchInfo(N,j,$,ie,ce,G));q(le);var _e=E.timestamp();var Te=ae.watchDirectory(N,R,j,$,ie,ce);var Ee=E.timestamp()-_e;q("Elapsed:: ".concat(Ee,"ms ").concat(le));return{close:function(){var R="DirectoryWatcher:: Close:: ".concat(getWatchInfo(N,j,$,ie,ce,G));q(R);var ae=E.timestamp();Te.close();var le=E.timestamp()-ae;q("Elapsed:: ".concat(le,"ms ").concat(R))}}}function createTriggerLoggingAddWatch(N){return function(R,$,ae,ce,le,_e){return ie[N].call(undefined,R,(function(){var ie=[];for(var Te=0;Te=4;var Be=(Ie+1+"").length;if(Le){Be=Math.max(G.length,Be)}var je="";for(var Ue=Te;Ue<=Ie;Ue++){je+=le.getNewLine();if(Le&&Te+1=E.length(j===null||j===void 0?void 0:j.imports)+E.length(j===null||j===void 0?void 0:j.moduleAugmentations))return false;var $=E.getResolvedModule(j,N,j&&getModeForResolutionAtIndex(j,R));var q=$&&Ne.getSourceFile($.resolvedFileName);if($&&q){return false}var G=Ve.get(N);if(!G){return false}if(E.isTraceEnabled(Ee,tt)){E.trace(tt,E.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,N,G)}return true}}function canReuseProjectReferences(){return!forEachProjectReference(Ne.getProjectReferences(),Ne.getResolvedProjectReferences(),(function(N,R,j){var $=(R?R.commandLine.projectReferences:Ie)[j];var q=parseProjectReferenceConfigFile($);if(N){return!q||q.sourceFile!==N.sourceFile||!E.arrayIsEqualTo(N.commandLine.fileNames,q.commandLine.fileNames)}else{return q!==undefined}}),(function(N,R){var j=R?getResolvedProjectReferenceByPath(R.sourceFile.path).commandLine.projectReferences:Ie;return!E.arrayIsEqualTo(N,j,E.projectReferenceIsEqualTo)}))}function tryReuseStructureFromOldProgram(){var N;if(!Ne){return 0}var R=Ne.getCompilerOptions();if(E.changesAffectModuleResolution(R,Ee)){return 0}var j=Ne.getRootFileNames();if(!E.arrayIsEqualTo(j,Te)){return 0}if(!canReuseProjectReferences()){return 0}if(Ie){Dt=Ie.map(parseProjectReferenceConfigFile)}var $=[];var q=[];Bt=2;if(Ne.getMissingFilePaths().some((function(E){return tt.fileExists(E)}))){return 0}var G=Ne.getSourceFiles();var ie;(function(E){E[E["Exists"]=0]="Exists";E[E["Modified"]=1]="Modified"})(ie||(ie={}));var ae=new E.Map;for(var ce=0,le=G;ce=0){if(R.markUsed(G)){return G}var ie=j.text.slice(q[G],q[G+1]).trim();if(ie!==""&&!/^(\s*)\/\/(.*)$/.test(ie)){return-1}G--}return-1}function getJSSyntacticDiagnosticsForFile(N){return runWithCancellationToken((function(){var R=[];walk(N,N);E.forEachChildRecursively(N,walk,walkArray);return R;function walk(N,j){switch(j.kind){case 163:case 166:case 168:if(j.questionToken===N){R.push(createDiagnosticForNode(N,E.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?"));return"skip"}case 167:case 170:case 171:case 172:case 212:case 255:case 213:case 253:if(j.type===N){R.push(createDiagnosticForNode(N,E.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));return"skip"}}switch(N.kind){case 266:if(N.isTypeOnly){R.push(createDiagnosticForNode(j,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type"));return"skip"}break;case 271:if(N.isTypeOnly){R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type"));return"skip"}break;case 264:R.push(createDiagnosticForNode(N,E.Diagnostics.import_can_only_be_used_in_TypeScript_files));return"skip";case 270:if(N.isExportEquals){R.push(createDiagnosticForNode(N,E.Diagnostics.export_can_only_be_used_in_TypeScript_files));return"skip"}break;case 290:var $=N;if($.token===117){R.push(createDiagnosticForNode(N,E.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));return"skip"}break;case 257:var q=E.tokenToString(118);E.Debug.assertIsDefined(q);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,q));return"skip";case 260:var G=N.flags&16?E.tokenToString(142):E.tokenToString(141);E.Debug.assertIsDefined(G);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,G));return"skip";case 258:R.push(createDiagnosticForNode(N,E.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));return"skip";case 259:var ie=E.Debug.checkDefined(E.tokenToString(92));R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,ie));return"skip";case 229:R.push(createDiagnosticForNode(N,E.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));return"skip";case 228:R.push(createDiagnosticForNode(N.type,E.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));return"skip";case 210:E.Debug.fail()}}function walkArray(N,j){if(j.decorators===N&&!Ee.experimentalDecorators){R.push(createDiagnosticForNode(j,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning))}switch(j.kind){case 256:case 225:case 168:case 170:case 171:case 172:case 212:case 255:case 213:if(N===j.typeParameters){R.push(createDiagnosticForNodeArray(N,E.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));return"skip"}case 236:if(N===j.modifiers){checkModifiers(j.modifiers,j.kind===236);return"skip"}break;case 166:if(N===j.modifiers){for(var $=0,q=N;$=1&&E.isStringLiteralLike(q.arguments[0])){E.setParentRecursive(q,false);$=E.append($,q.arguments[0])}else if(E.isLiteralImportTypeNode(q)){E.setParentRecursive(q,false);$=E.append($,q.argument.literal)}}}function getNodeAtPosition(N,j){var $=N;var getContainingChild=function(E){if(E.pos<=j&&(j0);Object.defineProperties(G,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(E){this.redirectInfo.redirectTarget.id=E}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(E){this.redirectInfo.redirectTarget.symbol=E}}});return G}function findSourceFile(N,R,j,$,q){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","findSourceFile",{fileName:N,isDefaultLib:R||undefined,fileIncludeKind:E.FileIncludeKind[$.kind]});var G=findSourceFileWorker(N,R,j,$,q);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}function findSourceFileWorker(N,R,j,$,q){var G=toPath(N);if(It){var ie=getSourceOfProjectReferenceRedirect(G);if(!ie&&tt.realpath&&Ee.preserveSymlinks&&E.isDeclarationFileName(N)&&E.stringContains(N,E.nodeModulesPathPart)){var ae=toPath(tt.realpath(N));if(ae!==G)ie=getSourceOfProjectReferenceRedirect(ae)}if(ie){var ce=E.isString(ie)?findSourceFile(ie,R,j,$,q):undefined;if(ce)addFileToFilesByName(ce,G,undefined);return ce}}var le=N;if(Et.has(G)){var _e=Et.get(G);addFileIncludeReason(_e||undefined,$);if(_e&&Ee.forceConsistentCasingInFileNames){var Te=_e.fileName;var we=toPath(Te)!==toPath(N);if(we){N=getProjectReferenceRedirect(N)||N}var Ie=E.getNormalizedAbsolutePathWithoutRoot(Te,ct);var Ne=E.getNormalizedAbsolutePathWithoutRoot(N,ct);if(Ie!==Ne){reportFileNamesDifferOnlyInCasingError(N,_e,$)}}if(_e&&et.get(_e.path)&&Ye===0){et.set(_e.path,false);if(!Ee.noResolve){processReferencedFiles(_e,R);processTypeReferenceDirectives(_e)}if(!Ee.noLib){processLibReferenceDirectives(_e)}Ze.set(_e.path,false);processImportedModules(_e)}else if(_e&&Ze.get(_e.path)){if(Ye0);ze.fileName=N;ze.path=G;ze.resolvedPath=toPath(N);ze.originalFileName=le;ze.impliedNodeFormat=getImpliedNodeFormatForFile(ze.resolvedPath,mt===null||mt===void 0?void 0:mt.getPackageJsonInfoCache(),tt,Ee);addFileIncludeReason(ze,$);if(tt.useCaseSensitiveFileNames()){var qe=E.toFileNameLowerCase(G);var He=Ct.get(qe);if(He){reportFileNamesDifferOnlyInCasingError(N,He,$)}else{Ct.set(qe,ze)}}nt=nt||ze.hasNoDefaultLib&&!j;if(!Ee.noResolve){processReferencedFiles(ze,R);processTypeReferenceDirectives(ze)}if(!Ee.noLib){processLibReferenceDirectives(ze)}processImportedModules(ze);if(R){Me.push(ze)}else{Le.push(ze)}}return ze}function addFileIncludeReason(E,N){if(E)qe.add(E.path,N)}function addFileToFilesByName(E,N,R){if(R){Et.set(R,E);Et.set(N,E||false)}else{Et.set(N,E)}}function getProjectReferenceRedirect(E){var N=getProjectReferenceRedirectProject(E);return N&&getProjectReferenceOutputName(N,E)}function getProjectReferenceRedirectProject(N){if(!Dt||!Dt.length||E.fileExtensionIs(N,".d.ts")||E.fileExtensionIs(N,".json")){return undefined}return getResolvedProjectReferenceToRedirect(N)}function getProjectReferenceOutputName(N,R){var j=E.outFile(N.commandLine.options);return j?E.changeExtension(j,".d.ts"):E.getOutputDeclarationFileName(R,N.commandLine,!tt.useCaseSensitiveFileNames())}function getResolvedProjectReferenceToRedirect(N){if(wt===undefined){wt=new E.Map;forEachResolvedProjectReference((function(E){if(toPath(Ee.configFilePath)!==E.sourceFile.path){E.commandLine.fileNames.forEach((function(N){return wt.set(toPath(N),E.sourceFile.path)}))}}))}var R=wt.get(toPath(N));return R&&getResolvedProjectReferenceByPath(R)}function forEachResolvedProjectReference(N){return E.forEachResolvedProjectReference(Dt,N)}function getSourceOfProjectReferenceRedirect(N){if(!E.isDeclarationFileName(N))return undefined;if(Pt===undefined){Pt=new E.Map;forEachResolvedProjectReference((function(N){var R=E.outFile(N.commandLine.options);if(R){var j=E.changeExtension(R,".d.ts");Pt.set(toPath(j),true)}else{var $=E.memoize((function(){return E.getCommonSourceDirectoryOfConfig(N.commandLine,!tt.useCaseSensitiveFileNames())}));E.forEach(N.commandLine.fileNames,(function(R){if(!E.fileExtensionIs(R,".d.ts")&&!E.fileExtensionIs(R,".json")){var j=E.getOutputDeclarationFileName(R,N.commandLine,!tt.useCaseSensitiveFileNames(),$);Pt.set(toPath(j),R)}}))}}))}return Pt.get(N)}function isSourceOfProjectReferenceRedirect(E){return It&&!!getResolvedProjectReferenceToRedirect(E)}function getResolvedProjectReferenceByPath(E){if(!At){return undefined}return At.get(E)||undefined}function processReferencedFiles(N,R){E.forEach(N.referencedFiles,(function(j,$){processSourceFile(resolveTripleslashReference(j.fileName,N.fileName),R,false,undefined,{kind:E.FileIncludeKind.ReferenceFile,file:N.path,index:$})}))}function processTypeReferenceDirectives(N){var R=E.map(N.typeReferenceDirectives,(function(N){return E.toFileNameLowerCase(N.fileName)}));if(!R){return}var j=resolveTypeReferenceDirectiveNamesWorker(R,N);for(var $=0;$Xe;var we=_e&&!getResolutionDiagnostic(q,ie)&&!q.noResolve&&G1}))){createDiagnosticForOptionName(E.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}}if(Ee.useDefineForClassFields&&we===0){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields")}if(Ee.checkJs&&!E.getAllowJSCompilerOption(Ee)){st.add(E.createCompilerDiagnostic(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"))}if(Ee.emitDeclarationOnly){if(!E.getEmitDeclarations(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite")}if(Ee.noEmit){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")}}if(Ee.emitDecoratorMetadata&&!Ee.experimentalDecorators){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")}if(Ee.jsxFactory){if(Ee.reactNamespace){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFactory,we)){createOptionValueDiagnostic("jsxFactory",E.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFactory)}}else if(Ee.reactNamespace&&!E.isIdentifierText(Ee.reactNamespace,we)){createOptionValueDiagnostic("reactNamespace",E.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,Ee.reactNamespace)}if(Ee.jsxFragmentFactory){if(!Ee.jsxFactory){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFragmentFactory,we)){createOptionValueDiagnostic("jsxFragmentFactory",E.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFragmentFactory)}}if(Ee.reactNamespace){if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(Ee.jsxImportSource){if(Ee.jsx===2){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(Ee.preserveValueImports&&E.getEmitModuleKind(Ee)we?E.createDiagnosticForNodeInSourceFile(_e,Ne.elements[we],N.kind===E.FileIncludeKind.OutputFromProjectReference?E.Diagnostics.File_is_output_from_referenced_project_specified_here:E.Diagnostics.File_is_source_from_referenced_project_specified_here):undefined;case E.FileIncludeKind.AutomaticTypeDirectiveFile:if(!Ee.types)return undefined;$=getOptionsSyntaxByArrayElementValue("types",N.typeReference);q=E.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case E.FileIncludeKind.LibFile:if(N.index!==undefined){$=getOptionsSyntaxByArrayElementValue("lib",Ee.lib[N.index]);q=E.Diagnostics.File_is_library_specified_here;break}var Me=E.forEachEntry(E.targetOptionDeclaration.type,(function(N,R){return N===E.getEmitScriptTarget(Ee)?R:undefined}));$=Me?getOptionsSyntaxByValue("target",Me):undefined;q=E.Diagnostics.File_is_default_library_for_target_specified_here;break;default:E.Debug.assertNever(N)}return $&&E.createDiagnosticForNodeInSourceFile(Ee.configFile,$,q)}function verifyProjectReferences(){var N=!Ee.suppressOutputPathCheck?E.getTsBuildInfoEmitOutputFilePath(Ee):undefined;forEachProjectReference(Ie,Dt,(function(R,j,$){var q=(j?j.commandLine.projectReferences:Ie)[$];var G=j&&j.sourceFile;if(!R){createDiagnosticForReference(G,$,E.Diagnostics.File_0_not_found,q.path);return}var ie=R.commandLine.options;if(!ie.composite||ie.noEmit){var ae=j?j.commandLine.fileNames:Te;if(ae.length){if(!ie.composite)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,q.path);if(ie.noEmit)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_may_not_disable_emit,q.path)}}if(q.prepend){var ce=E.outFile(ie);if(ce){if(!tt.fileExists(ce)){createDiagnosticForReference(G,$,E.Diagnostics.Output_file_0_from_project_1_does_not_exist,ce,q.path)}}else{createDiagnosticForReference(G,$,E.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,q.path)}}if(!j&&N&&N===E.getTsBuildInfoEmitOutputFilePath(ie)){createDiagnosticForReference(G,$,E.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,N,q.path);pt.set(toPath(N),true)}}))}function createDiagnosticForOptionPathKeyValue(N,R,j,$,q,G){var ie=true;var ae=getOptionPathsSyntax();for(var ce=0,le=ae;ceR){st.add(E.createDiagnosticForNodeInSourceFile(Ee.configFile,Ne.elements[R],j,$,q,G));ie=false}}}}if(ie){st.add(E.createCompilerDiagnostic(j,$,q,G))}}function createDiagnosticForOptionPaths(N,R,j,$){var q=true;var G=getOptionPathsSyntax();for(var ie=0,ae=G;ieR){st.add(E.createDiagnosticForNodeInSourceFile(N||Ee.configFile,G.elements[R],j,$,q))}else{st.add(E.createCompilerDiagnostic(j,$,q))}}function createDiagnosticForOption(N,R,j,$,q,G,ie){var ae=getCompilerOptionsObjectLiteralSyntax();var ce=!ae||!createOptionDiagnosticInObjectLiteralSyntax(ae,N,R,j,$,q,G,ie);if(ce){st.add(E.createCompilerDiagnostic($,q,G,ie))}}function getCompilerOptionsObjectLiteralSyntax(){if(ft===undefined){ft=false;var N=E.getTsConfigObjectLiteralExpression(Ee.configFile);if(N){for(var R=0,j=E.getPropertyAssignment(N,"compilerOptions");R0){var q=N.getTypeChecker();for(var G=0,ie=R.imports;G0){for(var _e=0,Te=R.referencedFiles;_e1){addReferenceFromAmbientModule(Ue)}}return $;function addReferenceFromAmbientModule(N){if(!N.declarations){return}for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];var G=E.getSourceFileOfNode(q);if(G&&G!==R){addReferencedFile(G.resolvedPath)}}}function addReferencedFile(N){($||($=new E.Set)).add(N)}}function canReuseOldState(E,N){return N&&!N.referencedMap===!E}N.canReuseOldState=canReuseOldState;function create(N,R,j,$){var q=new E.Map;var G=N.getCompilerOptions().module!==E.ModuleKind.None?createManyToManyPathMap():undefined;var ie=G?createManyToManyPathMap():undefined;var ae=new E.Set;var ce=canReuseOldState(G,j);N.getTypeChecker();for(var le=0,_e=N.getSourceFiles();le<_e.length;le++){var Te=_e[le];var Ee=E.Debug.checkDefined(Te.version,"Program intended to be used with Builder should have source files with versions set");var we=ce?j.fileInfos.get(Te.resolvedPath):undefined;if(G){var Ie=getReferencedFiles(N,Te,R);if(Ie){G.set(Te.resolvedPath,Ie)}if(ce){var Ne=j.exportedModulesMap.getValues(Te.resolvedPath);if(Ne){ie.set(Te.resolvedPath,Ne)}}}q.set(Te.resolvedPath,{version:Ee,signature:we&&we.signature,affectsGlobalScope:isFileAffectingGlobalScope(Te)||undefined,impliedFormat:Te.impliedNodeFormat})}return{fileInfos:q,referencedMap:G,exportedModulesMap:ie,hasCalledUpdateShapeSignature:ae,useFileVersionAsSignature:!$&&!ce}}N.create=create;function releaseCache(E){E.allFilesExcludingDefaultLibraryFile=undefined;E.allFileNames=undefined}N.releaseCache=releaseCache;function clone(N){var R,j;return{fileInfos:new E.Map(N.fileInfos),referencedMap:(R=N.referencedMap)===null||R===void 0?void 0:R.clone(),exportedModulesMap:(j=N.exportedModulesMap)===null||j===void 0?void 0:j.clone(),hasCalledUpdateShapeSignature:new E.Set(N.hasCalledUpdateShapeSignature),useFileVersionAsSignature:N.useFileVersionAsSignature}}N.clone=clone;function getFilesAffectedBy(N,R,j,$,q,G,ie){var ae=G||new E.Map;var ce=R.getSourceFileByPath(j);if(!ce){return E.emptyArray}if(!updateShapeSignature(N,R,ce,ae,$,q,ie)){return[ce]}var le=(N.referencedMap?getFilesAffectedByUpdatedShapeWhenModuleEmit:getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(N,R,ce,ae,$,q,ie);if(!G){updateSignaturesFromCache(N,ae)}return le}N.getFilesAffectedBy=getFilesAffectedBy;function updateSignaturesFromCache(E,N){N.forEach((function(N,R){return updateSignatureOfFile(E,N,R)}))}N.updateSignaturesFromCache=updateSignaturesFromCache;function updateSignatureOfFile(E,N,R){E.fileInfos.get(R).signature=N;E.hasCalledUpdateShapeSignature.add(R)}N.updateSignatureOfFile=updateSignatureOfFile;function updateShapeSignature(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=N.useFileVersionAsSignature}E.Debug.assert(!!j);E.Debug.assert(!ie||!!N.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state");if(N.hasCalledUpdateShapeSignature.has(j.resolvedPath)||$.has(j.resolvedPath)){return false}var ce=N.fileInfos.get(j.resolvedPath);if(!ce)return E.Debug.fail();var le=ce.signature;var _e;if(!j.isDeclarationFile&&!ae){var Te=getFileEmitOutput(R,j,true,q,undefined,true);var Ee=E.firstOrUndefined(Te.outputFiles);if(Ee){E.Debug.assert(E.fileExtensionIsOneOf(Ee.name,[".d.ts",".d.mts",".d.cts"]),"File extension for signature expected to be dts",(function(){return"Found: ".concat(E.getAnyExtensionFromPath(Ee.name)," for ").concat(Ee.name,":: All output files: ").concat(JSON.stringify(Te.outputFiles.map((function(E){return E.name}))))}));_e=(G||E.generateDjb2Hash)(Ee.text);if(ie&&_e!==le){updateExportedModules(j,Te.exportedModulesFromDeclarationEmit,ie)}}}if(_e===undefined){_e=j.version;if(ie&&_e!==le){var we=N.referencedMap?N.referencedMap.getValues(j.resolvedPath):undefined;if(we){ie.set(j.resolvedPath,we)}else{ie.deleteKey(j.resolvedPath)}}}$.set(j.resolvedPath,_e);return _e!==le}N.updateShapeSignature=updateShapeSignature;function updateExportedModules(N,R,j){if(!R){j.deleteKey(N.resolvedPath);return}var $;R.forEach((function(E){return addExportedModule(getReferencedFilesFromImportedModuleSymbol(E))}));if($){j.set(N.resolvedPath,$)}else{j.deleteKey(N.resolvedPath)}function addExportedModule(N){if(N===null||N===void 0?void 0:N.length){if(!$){$=new E.Set}N.forEach((function(E){return $.add(E)}))}}}function updateExportedFilesMapFromCache(N,R){var j;if(R){E.Debug.assert(!!N.exportedModulesMap);var $=R.id;var q=R.version();if(N.previousCache){if(N.previousCache.id===$&&N.previousCache.version===q){return}N.previousCache.id=$;N.previousCache.version=q}else{N.previousCache={id:$,version:q}}(j=R.deletedKeys())===null||j===void 0?void 0:j.forEach((function(E){return N.exportedModulesMap.deleteKey(E)}));R.forEach((function(E,R){return N.exportedModulesMap.set(R,E)}))}}N.updateExportedFilesMapFromCache=updateExportedFilesMapFromCache;function getAllDependencies(N,R,j){var $=R.getCompilerOptions();if(E.outFile($)){return getAllFileNames(N,R)}if(!N.referencedMap||isFileAffectingGlobalScope(j)){return getAllFileNames(N,R)}var q=new E.Set;var G=[j.resolvedPath];while(G.length){var ie=G.pop();if(!q.has(ie)){q.add(ie);var ae=N.referencedMap.getValues(ie);if(ae){var ce=ae.keys();for(var le=ce.next();!le.done;le=ce.next()){G.push(le.value)}}}}return E.arrayFrom(E.mapDefinedIterator(q.keys(),(function(E){var N,j;return(j=(N=R.getSourceFileByPath(E))===null||N===void 0?void 0:N.fileName)!==null&&j!==void 0?j:E})))}N.getAllDependencies=getAllDependencies;function getAllFileNames(N,R){if(!N.allFileNames){var j=R.getSourceFiles();N.allFileNames=j===E.emptyArray?E.emptyArray:j.map((function(E){return E.fileName}))}return N.allFileNames}function getReferencedByPaths(N,R){var j=N.referencedMap.getKeys(R);return j?E.arrayFrom(j.keys()):[]}N.getReferencedByPaths=getReferencedByPaths;function containsOnlyAmbientModules(N){for(var R=0,j=N.statements;R0){var _e=le.pop();if(!ce.has(_e)){var Te=R.getSourceFileByPath(_e);ce.set(_e,Te);if(Te&&updateShapeSignature(N,R,Te,$,q,G,ie)){le.push.apply(le,getReferencedByPaths(N,Te.resolvedPath))}}}return E.arrayFrom(E.mapDefinedIterator(ce.values(),(function(E){return E})))}})(N=E.BuilderState||(E.BuilderState={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["DtsOnly"]=0]="DtsOnly";E[E["Full"]=1]="Full"})(N=E.BuilderFileEmit||(E.BuilderFileEmit={}));function hasSameKeys(N,R){return N===R||N!==undefined&&R!==undefined&&N.size===R.size&&!E.forEachKey(N,(function(E){return!R.has(E)}))}function createBuilderProgramState(N,R,j,$){var q=E.BuilderState.create(N,R,j,$);q.program=N;var G=N.getCompilerOptions();q.compilerOptions=G;if(!E.outFile(G)){q.semanticDiagnosticsPerFile=new E.Map}q.changedFilesSet=new E.Set;var ie=E.BuilderState.canReuseOldState(q.referencedMap,j);var ae=ie?j.compilerOptions:undefined;var ce=ie&&j.semanticDiagnosticsPerFile&&!!q.semanticDiagnosticsPerFile&&!E.compilerOptionsAffectSemanticDiagnostics(G,ae);if(ie){if(!j.currentChangedFilePath){var le=j.currentAffectedFilesSignatures;E.Debug.assert(!j.affectedFiles&&(!le||!le.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var _e=j.changedFilesSet;if(ce){E.Debug.assert(!_e||!E.forEachKey(_e,(function(E){return j.semanticDiagnosticsPerFile.has(E)})),"Semantic diagnostics shouldnt be available for changed files")}_e===null||_e===void 0?void 0:_e.forEach((function(E){return q.changedFilesSet.add(E)}));if(!E.outFile(G)&&j.affectedFilesPendingEmit){q.affectedFilesPendingEmit=j.affectedFilesPendingEmit.slice();q.affectedFilesPendingEmitKind=j.affectedFilesPendingEmitKind&&new E.Map(j.affectedFilesPendingEmitKind);q.affectedFilesPendingEmitIndex=j.affectedFilesPendingEmitIndex;q.seenAffectedFiles=new E.Set}}var Te=q.referencedMap;var Ee=ie?j.referencedMap:undefined;var we=ce&&!G.skipLibCheck===!ae.skipLibCheck;var Ie=we&&!G.skipDefaultLibCheck===!ae.skipDefaultLibCheck;q.fileInfos.forEach((function($,G){var ae;var le;if(!ie||!(ae=j.fileInfos.get(G))||ae.version!==$.version||!hasSameKeys(le=Te&&Te.getValues(G),Ee&&Ee.getValues(G))||le&&E.forEachKey(le,(function(E){return!q.fileInfos.has(E)&&j.fileInfos.has(E)}))){q.changedFilesSet.add(G)}else if(ce){var _e=N.getSourceFileByPath(G);if(_e.isDeclarationFile&&!we)return;if(_e.hasNoDefaultLib&&!Ie)return;var Ne=j.semanticDiagnosticsPerFile.get(G);if(Ne){q.semanticDiagnosticsPerFile.set(G,j.hasReusableDiagnostic?convertToDiagnostics(Ne,N,R):Ne);if(!q.semanticDiagnosticsFromOldState){q.semanticDiagnosticsFromOldState=new E.Set}q.semanticDiagnosticsFromOldState.add(G)}}}));if(ie&&E.forEachEntry(j.fileInfos,(function(E,N){return E.affectsGlobalScope&&!q.fileInfos.has(N)}))){E.BuilderState.getAllFilesExcludingDefaultLibraryFile(q,N,undefined).forEach((function(E){return q.changedFilesSet.add(E.resolvedPath)}))}else if(ae&&!E.outFile(G)&&E.compilerOptionsAffectEmit(G,ae)){N.getSourceFiles().forEach((function(E){return addToAffectedFilesPendingEmit(q,E.resolvedPath,1)}));E.Debug.assert(!q.seenAffectedFiles||!q.seenAffectedFiles.size);q.seenAffectedFiles=q.seenAffectedFiles||new E.Set}if(ie){E.forEachEntry(j.fileInfos,(function(E,N){if(q.fileInfos.has(N)&&q.fileInfos.get(N).impliedFormat!==E.impliedFormat){q.changedFilesSet.add(N)}}))}q.buildInfoEmitPending=!!q.changedFilesSet.size;return q}function convertToDiagnostics(N,R,j){if(!N.length)return E.emptyArray;var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(R.getCompilerOptions()),R.getCurrentDirectory()));return N.map((function(E){var N=convertToDiagnosticRelatedInformation(E,R,toPath);N.reportsUnnecessary=E.reportsUnnecessary;N.reportsDeprecated=E.reportDeprecated;N.source=E.source;N.skippedOn=E.skippedOn;var j=E.relatedInformation;N.relatedInformation=j?j.length?j.map((function(E){return convertToDiagnosticRelatedInformation(E,R,toPath)})):[]:undefined;return N}));function toPath(N){return E.toPath(N,$,j)}}function convertToDiagnosticRelatedInformation(E,N,R){var j=E.file;return $($({},E),{file:j?N.getSourceFileByPath(R(j)):undefined})}function releaseCache(N){E.BuilderState.releaseCache(N);N.program=undefined}function cloneBuilderProgramState(N){var R;var j=E.BuilderState.clone(N);j.semanticDiagnosticsPerFile=N.semanticDiagnosticsPerFile&&new E.Map(N.semanticDiagnosticsPerFile);j.changedFilesSet=new E.Set(N.changedFilesSet);j.affectedFiles=N.affectedFiles;j.affectedFilesIndex=N.affectedFilesIndex;j.currentChangedFilePath=N.currentChangedFilePath;j.currentAffectedFilesSignatures=N.currentAffectedFilesSignatures&&new E.Map(N.currentAffectedFilesSignatures);j.currentAffectedFilesExportedModulesMap=(R=N.currentAffectedFilesExportedModulesMap)===null||R===void 0?void 0:R.clone();j.seenAffectedFiles=N.seenAffectedFiles&&new E.Set(N.seenAffectedFiles);j.cleanedDiagnosticsOfLibFiles=N.cleanedDiagnosticsOfLibFiles;j.semanticDiagnosticsFromOldState=N.semanticDiagnosticsFromOldState&&new E.Set(N.semanticDiagnosticsFromOldState);j.program=N.program;j.compilerOptions=N.compilerOptions;j.affectedFilesPendingEmit=N.affectedFilesPendingEmit&&N.affectedFilesPendingEmit.slice();j.affectedFilesPendingEmitKind=N.affectedFilesPendingEmitKind&&new E.Map(N.affectedFilesPendingEmitKind);j.affectedFilesPendingEmitIndex=N.affectedFilesPendingEmitIndex;j.seenEmittedFiles=N.seenEmittedFiles&&new E.Map(N.seenEmittedFiles);j.programEmitComplete=N.programEmitComplete;return j}function assertSourceFileOkWithoutNextAffectedCall(N,R){E.Debug.assert(!R||!N.affectedFiles||N.affectedFiles[N.affectedFilesIndex-1]!==R||!N.semanticDiagnosticsPerFile.has(R.resolvedPath))}function getNextAffectedFile(N,R,j){while(true){var $=N.affectedFiles;if($){var q=N.seenAffectedFiles;var G=N.affectedFilesIndex;while(G<$.length){var ie=$[G];if(!q.has(ie.resolvedPath)){N.affectedFilesIndex=G;handleDtsMayChangeOfAffectedFile(N,ie,R,j);return ie}G++}N.changedFilesSet.delete(N.currentChangedFilePath);N.currentChangedFilePath=undefined;E.BuilderState.updateSignaturesFromCache(N,N.currentAffectedFilesSignatures);N.currentAffectedFilesSignatures.clear();E.BuilderState.updateExportedFilesMapFromCache(N,N.currentAffectedFilesExportedModulesMap);N.affectedFiles=undefined}var ae=N.changedFilesSet.keys().next();if(ae.done){return undefined}var ce=E.Debug.checkDefined(N.program);var le=ce.getCompilerOptions();if(E.outFile(le)){E.Debug.assert(!N.semanticDiagnosticsPerFile);return ce}if(!N.currentAffectedFilesSignatures)N.currentAffectedFilesSignatures=new E.Map;if(N.exportedModulesMap){N.currentAffectedFilesExportedModulesMap||(N.currentAffectedFilesExportedModulesMap=E.BuilderState.createManyToManyPathMap())}N.affectedFiles=E.BuilderState.getFilesAffectedBy(N,ce,ae.value,R,j,N.currentAffectedFilesSignatures,N.currentAffectedFilesExportedModulesMap);N.currentChangedFilePath=ae.value;N.affectedFilesIndex=0;if(!N.seenAffectedFiles)N.seenAffectedFiles=new E.Set}}function getNextAffectedFilePendingEmit(N){var R=N.affectedFilesPendingEmit;if(R){var j=N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map);for(var $=N.affectedFilesPendingEmitIndex;$0){var ae=ie.pop();if(!G.has(ae)){G.set(ae,true);j(N,ae);if(isChangedSignature(N,ae)){var ce=E.Debug.checkDefined(N.program).getSourceFileByPath(ae);ie.push.apply(ie,E.BuilderState.getReferencedByPaths(N,ce.resolvedPath))}}}}E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);var le=new E.Set;($=N.currentAffectedFilesExportedModulesMap.getKeys(R.resolvedPath))===null||$===void 0?void 0:$.forEach((function(E){return forEachFilesReferencingPath(N,E,le,j)}));(q=N.exportedModulesMap.getKeys(R.resolvedPath))===null||q===void 0?void 0:q.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFilesReferencingPath(N,E,le,j)}))}function forEachFilesReferencingPath(E,N,R,j){var $;($=E.referencedMap.getKeys(N))===null||$===void 0?void 0:$.forEach((function(N){return forEachFileAndExportsOfFile(E,N,R,j)}))}function forEachFileAndExportsOfFile(N,R,j,$){var q,G,ie;if(!E.tryAddToSet(j,R)){return}$(N,R);E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);(q=N.currentAffectedFilesExportedModulesMap.getKeys(R))===null||q===void 0?void 0:q.forEach((function(E){return forEachFileAndExportsOfFile(N,E,j,$)}));(G=N.exportedModulesMap.getKeys(R))===null||G===void 0?void 0:G.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFileAndExportsOfFile(N,E,j,$)}));(ie=N.referencedMap.getKeys(R))===null||ie===void 0?void 0:ie.forEach((function(E){return!j.has(E)&&$(N,E)}))}function doneWithAffectedFile(N,R,j,$,q){if(q){N.buildInfoEmitPending=false}else if(R===N.program){N.changedFilesSet.clear();N.programEmitComplete=true}else{N.seenAffectedFiles.add(R.resolvedPath);if(j!==undefined){(N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map)).set(R.resolvedPath,j)}if($){N.affectedFilesPendingEmitIndex++;N.buildInfoEmitPending=true}else{N.affectedFilesIndex++}}}function toAffectedFileResult(E,N,R){doneWithAffectedFile(E,R);return{result:N,affected:R}}function toAffectedFileEmitResult(E,N,R,j,$,q){doneWithAffectedFile(E,R,j,$,q);return{result:N,affected:R}}function getSemanticDiagnosticsOfFile(N,R,j){return E.concatenate(getBinderAndCheckerDiagnosticsOfFile(N,R,j),E.Debug.checkDefined(N.program).getProgramDiagnostics(R))}function getBinderAndCheckerDiagnosticsOfFile(N,R,j){var $=R.resolvedPath;if(N.semanticDiagnosticsPerFile){var q=N.semanticDiagnosticsPerFile.get($);if(q){return E.filterSemanticDiagnostics(q,N.compilerOptions)}}var G=E.Debug.checkDefined(N.program).getBindAndCheckDiagnostics(R,j);if(N.semanticDiagnosticsPerFile){N.semanticDiagnosticsPerFile.set($,G)}return E.filterSemanticDiagnostics(G,N.compilerOptions)}function getProgramBuildInfo(N,R){if(E.outFile(N.compilerOptions))return undefined;var j=E.Debug.checkDefined(N.program).getCurrentDirectory();var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(N.compilerOptions),j));var q=[];var G=new E.Map;var ie;var ae;var ce=E.arrayFrom(N.fileInfos.entries(),(function(R){var j=R[0],$=R[1];var G=toFileId(j);E.Debug.assert(q[G-1]===relativeToBuildInfo(j));var ie=N.currentAffectedFilesSignatures&&N.currentAffectedFilesSignatures.get(j);var ae=ie!==null&&ie!==void 0?ie:$.signature;return $.version===ae?$.affectsGlobalScope?{version:$.version,signature:undefined,affectsGlobalScope:true,impliedFormat:$.impliedFormat}:$.version:ae!==undefined?ie===undefined?$:{version:$.version,signature:ie,affectsGlobalScope:$.affectsGlobalScope,impliedFormat:$.impliedFormat}:{version:$.version,signature:false,affectsGlobalScope:$.affectsGlobalScope,impliedFormat:$.impliedFormat}}));var le;if(N.referencedMap){le=E.arrayFrom(N.referencedMap.keys()).sort(E.compareStringsCaseSensitive).map((function(E){return[toFileId(E),toFileIdListId(N.referencedMap.getValues(E))]}))}var _e;if(N.exportedModulesMap){_e=E.mapDefined(E.arrayFrom(N.exportedModulesMap.keys()).sort(E.compareStringsCaseSensitive),(function(E){var R;if(N.currentAffectedFilesExportedModulesMap){if((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E)){return undefined}var j=N.currentAffectedFilesExportedModulesMap.getValues(E);if(j){return[toFileId(E),toFileIdListId(j)]}}return[toFileId(E),toFileIdListId(N.exportedModulesMap.getValues(E))]}))}var Te;if(N.semanticDiagnosticsPerFile){for(var Ee=0,we=E.arrayFrom(N.semanticDiagnosticsPerFile.keys()).sort(E.compareStringsCaseSensitive);Ee1||N.charCodeAt(0)!==47;if(q&&N.search(/[a-zA-Z]:/)!==0&&$.search(/[a-zA-z]\$\//)===0){j=N.indexOf(E.directorySeparator,j+1);if(j===-1){return false}$=N.substring(R+$.length,j+1)}if(q&&$.search(/users\//i)!==0){return true}for(var G=j+1,ie=2;ie>0;ie--){G=N.indexOf(E.directorySeparator,G)+1;if(G===0){return false}}return true}E.canWatchDirectory=canWatchDirectory;function createResolutionCache(N,R,j){var $;var q;var G;var ie=E.createMultiMap();var ae=[];var ce=E.createMultiMap();var le=false;var _e;var Te;var Ee;var we=E.memoize((function(){return N.getCurrentDirectory()}));var Ie=N.getCachedDirectoryStructureHost();var Ne=new E.Map;var Me=E.createCacheWithRedirects();var Le=E.createCacheWithRedirects();var Be=E.createModuleResolutionCache(we(),N.getCanonicalFileName,undefined,Me,Le);var je=new E.Map;var Ue=E.createCacheWithRedirects();var ze=E.createTypeReferenceDirectiveResolutionCache(we(),N.getCanonicalFileName,undefined,Be.getPackageJsonInfoCache(),Ue);var We=[".ts",".tsx",".js",".jsx",".json"];var Je=new E.Map;var Ve=new E.Map;var qe=R&&E.removeTrailingDirectorySeparator(E.getNormalizedAbsolutePath(R,we()));var He=qe&&N.toPath(qe);var Ge=He!==undefined?He.split(E.directorySeparator).length:0;var Ke=new E.Map;return{getModuleResolutionCache:function(){return Be},startRecordingFilesWithChangedResolutions:startRecordingFilesWithChangedResolutions,finishRecordingFilesWithChangedResolutions:finishRecordingFilesWithChangedResolutions,startCachingPerDirectoryResolution:clearPerDirectoryResolutions,finishCachingPerDirectoryResolution:finishCachingPerDirectoryResolution,resolveModuleNames:resolveModuleNames,getResolvedModuleWithFailedLookupLocationsFromCache:getResolvedModuleWithFailedLookupLocationsFromCache,resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,removeResolutionsFromProjectReferenceRedirects:removeResolutionsFromProjectReferenceRedirects,removeResolutionsOfFile:removeResolutionsOfFile,hasChangedAutomaticTypeDirectiveNames:function(){return le},invalidateResolutionOfFile:invalidateResolutionOfFile,invalidateResolutionsOfFailedLookupLocations:invalidateResolutionsOfFailedLookupLocations,setFilesWithInvalidatedNonRelativeUnresolvedImports:setFilesWithInvalidatedNonRelativeUnresolvedImports,createHasInvalidatedResolution:createHasInvalidatedResolution,isFileWithInvalidatedNonRelativeUnresolvedImports:isFileWithInvalidatedNonRelativeUnresolvedImports,updateTypeRootsWatch:updateTypeRootsWatch,closeTypeRootsWatch:closeTypeRootsWatch,clear:clear};function getResolvedModule(E){return E.resolvedModule}function getResolvedTypeReferenceDirective(E){return E.resolvedTypeReferenceDirective}function isInDirectoryPath(N,R){if(N===undefined||R.length<=N.length){return false}return E.startsWith(R,N)&&R[N.length]===E.directorySeparator}function clear(){E.clearMap(Ve,E.closeFileWatcherOf);Je.clear();ie.clear();closeTypeRootsWatch();Ne.clear();je.clear();ce.clear();ae.length=0;_e=undefined;Te=undefined;Ee=undefined;clearPerDirectoryResolutions();le=false}function startRecordingFilesWithChangedResolutions(){$=[]}function finishRecordingFilesWithChangedResolutions(){var E=$;$=undefined;return E}function isFileWithInvalidatedNonRelativeUnresolvedImports(E){if(!G){return false}var N=G.get(E);return!!N&&!!N.length}function createHasInvalidatedResolution(N){invalidateResolutionsOfFailedLookupLocations();if(N){q=undefined;return E.returnTrue}var R=q;q=undefined;return function(E){return!!R&&R.has(E)||isFileWithInvalidatedNonRelativeUnresolvedImports(E)}}function clearPerDirectoryResolutions(){Be.clear();ze.clear();ie.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);ie.clear()}function finishCachingPerDirectoryResolution(){G=undefined;clearPerDirectoryResolutions();Ve.forEach((function(E,N){if(E.refCount===0){Ve.delete(N);E.watcher.close()}}));le=false}function resolveModuleName(R,j,$,q,G){var ie;var ae=E.resolveModuleName(R,j,$,q,Be,G);if(!N.getGlobalCache){return ae}var ce=N.getGlobalCache();if(ce!==undefined&&!E.isExternalModuleNameRelative(R)&&!(ae.resolvedModule&&E.extensionIsTS(ae.resolvedModule.extension))){var le=E.loadModuleFromGlobalCache(E.Debug.checkDefined(N.globalCacheResolutionModuleName)(R),N.projectName,$,q,ce,Be),_e=le.resolvedModule,Te=le.failedLookupLocations;if(_e){ae.resolvedModule=_e;(ie=ae.failedLookupLocations).push.apply(ie,Te);return ae}}return ae}function resolveTypeReferenceDirective(N,R,j,$,q){return E.resolveTypeReferenceDirective(N,R,j,$,q,ze)}function resolveNamesWithLocalCache(R){var j,q,G;var ie=R.names,ae=R.containingFile,ce=R.redirectedReference,le=R.cache,_e=R.perDirectoryCacheWithRedirects,Te=R.loader,Ee=R.getResolutionWithResolvedFileName,we=R.shouldRetryResolution,Ie=R.reusedNames,Ne=R.logChanges,Me=R.containingSourceFile;var Le=N.toPath(ae);var Be=le.get(Le)||le.set(Le,E.createModeAwareCache()).get(Le);var je=E.getDirectoryPath(Le);var Ue=_e.getOrCreateMapOfCacheRedirects(ce);var ze=Ue.get(je);if(!ze){ze=E.createModeAwareCache();Ue.set(je,ze)}var We=[];var Je=N.getCompilationSettings();var Ve=Ne&&isFileWithInvalidatedNonRelativeUnresolvedImports(Le);var qe=N.getCurrentProgram();var He=qe&&qe.getResolvedProjectReferenceToRedirect(ae);var Ge=He?!ce||ce.sourceFile.path!==He.sourceFile.path:!!ce;var Ke=E.createModeAwareCache();var Qe=0;for(var Xe=0,Ye=ie;XeGe+1){return{dir:$.slice(0,Ge+1).join(E.directorySeparator),dirPath:j.slice(0,Ge+1).join(E.directorySeparator)}}else{return{dir:qe,dirPath:He,nonRecursive:false}}}return getDirectoryToWatchFromFailedLookupLocationDirectory(E.getDirectoryPath(E.getNormalizedAbsolutePath(N,we())),E.getDirectoryPath(R))}function getDirectoryToWatchFromFailedLookupLocationDirectory(N,R){while(E.pathContainsNodeModules(R)){N=E.getDirectoryPath(N);R=E.getDirectoryPath(R)}if(E.isNodeModulesDirectory(R)){return canWatchDirectory(E.getDirectoryPath(R))?{dir:N,dirPath:R}:undefined}var j=true;var $,q;if(He!==undefined){while(!isInDirectoryPath(R,He)){var G=E.getDirectoryPath(R);if(G===R){break}j=false;$=R;q=N;R=G;N=E.getDirectoryPath(N)}}return canWatchDirectory(R)?{dir:q||N,dirPath:$||R,nonRecursive:j}:undefined}function isPathWithDefaultFailedLookupExtension(N){return E.fileExtensionIsOneOf(N,We)}function watchFailedLookupLocationsOfExternalModuleResolutions(R,j,$,q){if(j.refCount){j.refCount++;E.Debug.assertIsDefined(j.files)}else{j.refCount=1;E.Debug.assert(E.length(j.files)===0);if(E.isExternalModuleNameRelative(R)){watchFailedLookupLocationOfResolution(j)}else{ie.add(R,j)}var G=q(j);if(G&&G.resolvedFileName){ce.add(N.toPath(G.resolvedFileName),j)}}(j.files||(j.files=[])).push($)}function watchFailedLookupLocationOfResolution(R){E.Debug.assert(!!R.refCount);var j=R.failedLookupLocations;if(!j.length)return;ae.push(R);var $=false;for(var q=0,G=j;q1);Je.set(Ee,Ne-1)}}if(Ie===He){ie=true}else{removeDirectoryWatcher(Ie)}}}if(ie){removeDirectoryWatcher(He)}}function removeDirectoryWatcher(E){var N=Ve.get(E);N.refCount--}function createDirectoryWatcher(E,R,j){return N.watchDirectoryOfFailedLookupLocation(E,(function(E){var j=N.toPath(E);if(Ie){Ie.addOrDeleteFileOrDirectory(E,j)}scheduleInvalidateResolutionOfFailedLookupLocation(j,R===j)}),j?0:1)}function removeResolutionsOfFileFromCache(E,N,R){var j=E.get(N);if(j){j.forEach((function(E){return stopWatchFailedLookupLocationOfResolution(E,N,R)}));E.delete(N)}}function removeResolutionsFromProjectReferenceRedirects(R){if(!E.fileExtensionIs(R,".json"))return;var j=N.getCurrentProgram();if(!j)return;var $=j.getResolvedProjectReferenceByPath(R);if(!$)return;$.commandLine.fileNames.forEach((function(E){return removeResolutionsOfFile(N.toPath(E))}))}function removeResolutionsOfFile(E){removeResolutionsOfFileFromCache(Ne,E,getResolvedModule);removeResolutionsOfFileFromCache(je,E,getResolvedTypeReferenceDirective)}function invalidateResolutions(N,R){if(!N)return false;var j=false;for(var $=0,G=N;$1){j.sort(comparePathsByRedirectAndNumberOfDirectorySeparators)}ie.push.apply(ie,j)}var $=E.getDirectoryPath(N);if($===N)return ae=N,"break";N=$;ae=N};var ae;for(var ce=E.getDirectoryPath(N);q.size!==0;){var le=_loop_31(ce);ce=ae;if(le==="break")break}if(q.size){var _e=E.arrayFrom(q.values());if(_e.length>1)_e.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);ie.push.apply(ie,_e)}return ie}function tryGetModuleNameFromAmbientModule(N,R){var j;var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isNonGlobalAmbientModule(N)&&(!E.isExternalModuleAugmentation(N)||!E.isExternalModuleNameRelative(E.getTextOfIdentifierOrLiteral(N.name)))}));if($){return $.name.text}var q=E.mapDefined(N.declarations,(function(N){var j,$,q,G;if(!E.isModuleDeclaration(N))return;var ie=getTopNamespace(N);if(!(((j=ie===null||ie===void 0?void 0:ie.parent)===null||j===void 0?void 0:j.parent)&&E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent)&&E.isSourceFile(ie.parent.parent.parent)))return;var ae=(G=(q=($=ie.parent.parent.symbol.exports)===null||$===void 0?void 0:$.get("export="))===null||q===void 0?void 0:q.valueDeclaration)===null||G===void 0?void 0:G.expression;if(!ae)return;var ce=R.getSymbolAtLocation(ae);if(!ce)return;var le=(ce===null||ce===void 0?void 0:ce.flags)&2097152?R.getAliasedSymbol(ce):ce;if(le===N.symbol)return ie.parent.parent;function getTopNamespace(E){while(E.flags&4){E=E.parent}return E}}));var G=q[0];if(G){return G.name.text}}function tryGetModuleNameFromPaths(N,R,j){for(var $ in j){for(var q=0,G=j[$];q=le.length+_e.length&&E.startsWith(R,le)&&E.endsWith(R,_e)||!_e&&R===E.removeTrailingDirectorySeparator(le)){var Te=R.substr(le.length,R.length-_e.length-le.length);return $.replace("*",Te)}}else if(ae===R||ae===N){return $}}}}var G;(function(E){E[E["Exact"]=0]="Exact";E[E["Directory"]=1]="Directory";E[E["Pattern"]=2]="Pattern"})(G||(G={}));function tryGetModuleNameFromExports(N,R,j,$,q,G,ie){if(ie===void 0){ie=0}if(typeof q==="string"){var ae=E.getNormalizedAbsolutePath(E.combinePaths(j,q),undefined);var ce=E.hasTSFileExtension(R)?E.removeFileExtension(R)+tryGetJSExtensionForFile(R,N):undefined;switch(ie){case 0:if(E.comparePaths(R,ae)===0||ce&&E.comparePaths(ce,ae)===0){return{moduleFileToTry:$}}break;case 1:if(E.containsPath(ae,R)){var le=E.getRelativePathFromDirectory(ae,R,false);return{moduleFileToTry:E.getNormalizedAbsolutePath(E.combinePaths(E.combinePaths($,q),le),undefined)}}break;case 2:var _e=ae.indexOf("*");var Te=ae.slice(0,_e);var Ee=ae.slice(_e+1);if(E.startsWith(R,Te)&&E.endsWith(R,Ee)){var we=R.slice(Te.length,R.length-Ee.length);return{moduleFileToTry:$.replace("*",we)}}if(ce&&E.startsWith(ce,Te)&&E.endsWith(ce,Ee)){var we=ce.slice(Te.length,ce.length-Ee.length);return{moduleFileToTry:$.replace("*",we)}}break}}else if(Array.isArray(q)){return E.forEach(q,(function(E){return tryGetModuleNameFromExports(N,R,j,$,E,G)}))}else if(typeof q==="object"&&q!==null){if(E.allKeysStartWithDot(q)){return E.forEach(E.getOwnKeys(q),(function(ie){var ae=E.getNormalizedAbsolutePath(E.combinePaths($,ie),undefined);var ce=E.endsWith(ie,"/")?1:E.stringContains(ie,"*")?2:0;return tryGetModuleNameFromExports(N,R,j,ae,q[ie],G,ce)}))}else{for(var Ie=0,Ne=E.getOwnKeys(q);Ie=0||E.isApplicableVersionedTypesKey(G,Me)){var Le=q[Me];var Be=tryGetModuleNameFromExports(N,R,j,$,Le,G);if(Be){return Be}}}}}return undefined}function tryGetModuleNameFromRootDirs(N,R,j,$,q,G){var ie=getPathRelativeToRootDirs(R,N,$);if(ie===undefined){return undefined}var ae=getPathRelativeToRootDirs(j,N,$);var ce=ae!==undefined?E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory(ae,ie,$)):ie;return E.getEmitModuleResolutionKind(G)===E.ModuleResolutionKind.NodeJs?removeExtensionAndIndexPostFix(ce,q,G):E.removeFileExtension(ce)}function tryGetModuleNameAsNodeModule(N,R,j,q,G,ie){var ae=N.path,ce=N.isRedirect;var le=R.getCanonicalFileName,_e=R.sourceDirectory;if(!q.fileExists||!q.readFile){return undefined}var Te=E.getNodeModulePathParts(ae);if(!Te){return undefined}var Ee=ae;var we=false;if(!ie){var Ie=Te.packageRootIndex;var Ne=void 0;while(true){var Me=tryDirectoryWithPackageJson(Ie),Le=Me.moduleFileToTry,Be=Me.packageRootPath,je=Me.blockedByExports,Ue=Me.verbatimFromExports;if(E.getEmitModuleResolutionKind(G)!==E.ModuleResolutionKind.Classic){if(je){return undefined}if(Ue){return Le}}if(Be){Ee=Be;we=true;break}if(!Ne)Ne=Le;Ie=ae.indexOf(E.directorySeparator,Ie+1);if(Ie===-1){Ee=getExtensionlessFileName(Ne);break}}}if(ce&&!we){return undefined}var ze=q.getGlobalTypingsCacheLocation&&q.getGlobalTypingsCacheLocation();var We=le(Ee.substring(0,Te.topLevelNodeModulesIndex));if(!(E.startsWith(_e,We)||ze&&E.startsWith(le(ze),We))){return undefined}var Je=Ee.substring(Te.topLevelPackageNameIndex+1);var Ve=E.getPackageNameFromTypesPackageName(Je);return E.getEmitModuleResolutionKind(G)===E.ModuleResolutionKind.Classic&&Ve===Je?undefined:Ve;function tryDirectoryWithPackageJson(N){var R,ie;var ce=ae.substring(0,N);var _e=E.combinePaths(ce,"package.json");var Te=ae;var Ee=(ie=(R=q.getPackageJsonInfoCache)===null||R===void 0?void 0:R.call(q))===null||ie===void 0?void 0:ie.getPackageJsonInfo(_e);if(typeof Ee==="object"||Ee===undefined&&q.fileExists(_e)){var we=(Ee===null||Ee===void 0?void 0:Ee.packageJsonContent)||JSON.parse(q.readFile(_e));if(E.getEmitModuleResolutionKind(G)===E.ModuleResolutionKind.Node12||E.getEmitModuleResolutionKind(G)===E.ModuleResolutionKind.NodeNext){var Ie=["node",j.impliedNodeFormat===E.ModuleKind.ESNext?"import":"require","types"];var Ne=we.exports&&typeof we.name==="string"?tryGetModuleNameFromExports(G,ae,ce,E.getPackageNameFromTypesPackageName(we.name),we.exports,Ie):undefined;if(Ne){var Me=!E.hasTSFileExtension(Ne.moduleFileToTry)?Ne:{moduleFileToTry:E.removeFileExtension(Ne.moduleFileToTry)+tryGetJSExtensionForFile(Ne.moduleFileToTry,G)};return $($({},Me),{verbatimFromExports:true})}if(we.exports){return{moduleFileToTry:ae,blockedByExports:true}}}var Le=we.typesVersions?E.getPackageJsonTypesVersionsPaths(we.typesVersions):undefined;if(Le){var Be=ae.slice(ce.length+1);var je=tryGetModuleNameFromPaths(E.removeFileExtension(Be),removeExtensionAndIndexPostFix(Be,0,G),Le.paths);if(je!==undefined){Te=E.combinePaths(ce,je)}}var Ue=we.typings||we.types||we.main;if(E.isString(Ue)){var ze=E.toPath(Ue,ce,le);if(E.removeFileExtension(ze)===E.removeFileExtension(le(Te))){return{packageRootPath:ce,moduleFileToTry:Te}}}}return{moduleFileToTry:Te}}function getExtensionlessFileName(N){var R=E.removeFileExtension(N);if(le(R.substring(Te.fileNameIndex))==="/index"&&!tryGetAnyFileFromPath(q,R.substring(0,Te.fileNameIndex))){return R.substring(0,Te.fileNameIndex)}return R}}function tryGetAnyFileFromPath(N,R){if(!N.fileExists)return;var j=E.flatten(E.getSupportedExtensions({allowJs:true},[{extension:"node",isMixedContent:false},{extension:"json",isMixedContent:false,scriptKind:6}]));for(var $=0,q=j;$1?createTabularErrorsDisplay(q,$):"";return"".concat(j).concat(E.flattenDiagnosticMessageText(ae.messageText,j)).concat(j).concat(j).concat(ce)}E.getErrorSummaryText=getErrorSummaryText;function createTabularErrorsDisplay(N,R){var j=N.filter((function(E,N,R){return N===R.findIndex((function(N){return(N===null||N===void 0?void 0:N.fileName)===(E===null||E===void 0?void 0:E.fileName)}))}));if(j.length===0)return"";var numberLength=function(E){return Math.log(E)*Math.LOG10E+1};var $=j.map((function(R){return[R,E.countWhere(N,(function(E){return E.fileName===R.fileName}))]}));var q=$.reduce((function(E,N){return Math.max(E,N[1]||0)}),0);var G=E.Diagnostics.Errors_Files.message;var ie=G.split(" ")[0].length;var ae=Math.max(ie,numberLength(q));var ce=Math.max(numberLength(q)-ie,0);var le="";le+=" ".repeat(ce)+G+"\n";$.forEach((function(E){var N=E[0],j=E[1];var $=Math.log(j)*Math.LOG10E+1|0;var q=$0){return E.ExitStatus.DiagnosticsPresent_OutputsSkipped}else if(_e.length>0){return E.ExitStatus.DiagnosticsPresent_OutputsGenerated}return E.ExitStatus.Success}E.emitFilesAndReportErrorsAndGetExitStatus=emitFilesAndReportErrorsAndGetExitStatus;E.noopFileWatcher={close:E.noop};E.returnNoopFileWatcher=function(){return E.noopFileWatcher};function createWatchHost(N,R){if(N===void 0){N=E.sys}var j=R||createWatchStatusReporter(N);return{onWatchStatusChange:j,watchFile:E.maybeBind(N,N.watchFile)||E.returnNoopFileWatcher,watchDirectory:E.maybeBind(N,N.watchDirectory)||E.returnNoopFileWatcher,setTimeout:E.maybeBind(N,N.setTimeout)||E.noop,clearTimeout:E.maybeBind(N,N.clearTimeout)||E.noop}}E.createWatchHost=createWatchHost;E.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file"};function createWatchFactory(N,R){var j=N.trace?R.extendedDiagnostics?E.WatchLogLevel.Verbose:R.diagnostics?E.WatchLogLevel.TriggerOnly:E.WatchLogLevel.None:E.WatchLogLevel.None;var $=j!==E.WatchLogLevel.None?function(E){return N.trace(E)}:E.noop;var q=E.getWatchFactory(N,j,$);q.writeLog=$;return q}E.createWatchFactory=createWatchFactory;function createCompilerHostFromProgramHost(N,R,j){if(j===void 0){j=N}var $=N.useCaseSensitiveFileNames();var q=E.memoize((function(){return N.getNewLine()}));return{getSourceFile:function(j,$,q){var G;try{E.performance.mark("beforeIORead");G=N.readFile(j,R().charset);E.performance.mark("afterIORead");E.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(E){if(q){q(E.message)}G=""}return G!==undefined?E.createSourceFile(j,G,$):undefined},getDefaultLibLocation:E.maybeBind(N,N.getDefaultLibLocation),getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:writeFile,getCurrentDirectory:E.memoize((function(){return N.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return $},getCanonicalFileName:E.createGetCanonicalFileName($),getNewLine:function(){return E.getNewLineCharacter(R(),q)},fileExists:function(E){return N.fileExists(E)},readFile:function(E){return N.readFile(E)},trace:E.maybeBind(N,N.trace),directoryExists:E.maybeBind(j,j.directoryExists),getDirectories:E.maybeBind(j,j.getDirectories),realpath:E.maybeBind(N,N.realpath),getEnvironmentVariable:E.maybeBind(N,N.getEnvironmentVariable)||function(){return""},createHash:E.maybeBind(N,N.createHash),readDirectory:E.maybeBind(N,N.readDirectory),disableUseFileVersionAsSignature:N.disableUseFileVersionAsSignature};function writeFile(R,j,$,q){try{E.performance.mark("beforeIOWrite");E.writeFileEnsuringDirectories(R,j,$,(function(E,R,j){return N.writeFile(E,R,j)}),(function(E){return N.createDirectory(E)}),(function(E){return N.directoryExists(E)}));E.performance.mark("afterIOWrite");E.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(E){if(q){q(E.message)}}}}E.createCompilerHostFromProgramHost=createCompilerHostFromProgramHost;function setGetSourceFileAsHashVersioned(N,R){var $=N.getSourceFile;var q=E.maybeBind(R,R.createHash)||E.generateDjb2Hash;N.getSourceFile=function(){var E=[];for(var R=0;RE?N:E}function isDeclarationFile(N){return E.fileExtensionIs(N,".d.ts")}function isCircularBuildOrder(E){return!!E&&!!E.buildOrder}E.isCircularBuildOrder=isCircularBuildOrder;function getBuildOrderFromAnyBuildOrder(E){return isCircularBuildOrder(E)?E.buildOrder:E}E.getBuildOrderFromAnyBuildOrder=getBuildOrderFromAnyBuildOrder;function createBuilderStatusReporter(N,R){return function(j){var $=R?"[".concat(E.formatColorAndReset(E.getLocaleTimeString(N),E.ForegroundColorEscapeSequences.Grey),"] "):"".concat(E.getLocaleTimeString(N)," - ");$+="".concat(E.flattenDiagnosticMessageText(j.messageText,N.newLine)).concat(N.newLine+N.newLine);N.write($)}}E.createBuilderStatusReporter=createBuilderStatusReporter;function createSolutionBuilderHostBase(N,R,j,$){var q=E.createProgramHost(N,R);q.getModifiedTime=N.getModifiedTime?function(E){return N.getModifiedTime(E)}:E.returnUndefined;q.setModifiedTime=N.setModifiedTime?function(E,R){return N.setModifiedTime(E,R)}:E.noop;q.deleteFile=N.deleteFile?function(E){return N.deleteFile(E)}:E.noop;q.reportDiagnostic=j||E.createDiagnosticReporter(N);q.reportSolutionBuilderStatus=$||createBuilderStatusReporter(N);q.now=E.maybeBind(N,N.now);return q}function createSolutionBuilderHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);G.reportErrorSummary=q;return G}E.createSolutionBuilderHost=createSolutionBuilderHost;function createSolutionBuilderWithWatchHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);var ie=E.createWatchHost(N,q);E.copyProperties(G,ie);return G}E.createSolutionBuilderWithWatchHost=createSolutionBuilderWithWatchHost;function getCompilerOptionsOfBuildOptions(N){var R={};E.commonOptionsWithBuild.forEach((function(j){if(E.hasProperty(N,j.name))R[j.name]=N[j.name]}));return R}function createSolutionBuilder(E,N,R){return createSolutionBuilderWorker(false,E,N,R)}E.createSolutionBuilder=createSolutionBuilder;function createSolutionBuilderWithWatch(E,N,R,j){return createSolutionBuilderWorker(true,E,N,R,j)}E.createSolutionBuilderWithWatch=createSolutionBuilderWithWatch;function createSolutionBuilderState(N,R,j,$,q){var G=R;var ie=R;var ae=G.getCurrentDirectory();var ce=E.createGetCanonicalFileName(G.useCaseSensitiveFileNames());var le=getCompilerOptionsOfBuildOptions($);var _e=E.createCompilerHostFromProgramHost(G,(function(){return Le.projectCompilerOptions}));E.setGetSourceFileAsHashVersioned(_e,G);_e.getParsedCommandLine=function(E){return parseConfigFile(Le,E,toResolvedConfigFilePath(Le,E))};_e.resolveModuleNames=E.maybeBind(G,G.resolveModuleNames);_e.resolveTypeReferenceDirectives=E.maybeBind(G,G.resolveTypeReferenceDirectives);var Te=!_e.resolveModuleNames?E.createModuleResolutionCache(ae,ce):undefined;var Ee=!_e.resolveTypeReferenceDirectives?E.createTypeReferenceDirectiveResolutionCache(ae,ce,undefined,Te===null||Te===void 0?void 0:Te.getPackageJsonInfoCache()):undefined;if(!_e.resolveModuleNames){var loader_3=function(N,R,j,$){return E.resolveModuleName(N,j,Le.projectCompilerOptions,_e,Te,$,R).resolvedModule};_e.resolveModuleNames=function(N,R,j,$,q,G){return E.loadWithModeAwareCache(E.Debug.checkEachDefined(N),E.Debug.checkDefined(G),R,$,loader_3)};_e.getModuleResolutionCache=function(){return Te}}if(!_e.resolveTypeReferenceDirectives){var loader_4=function(N,R,j){return E.resolveTypeReferenceDirective(N,R,Le.projectCompilerOptions,_e,j,Le.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};_e.resolveTypeReferenceDirectives=function(N,R,j){return E.loadWithLocalCache(E.Debug.checkEachDefined(N),R,j,loader_4)}}var we=E.createWatchFactory(ie,$),Ie=we.watchFile,Ne=we.watchDirectory,Me=we.writeLog;var Le={host:G,hostWithWatch:ie,currentDirectory:ae,getCanonicalFileName:ce,parseConfigFileHost:E.parseConfigHostFromCompilerHostLike(G),write:E.maybeBind(G,G.trace),options:$,baseCompilerOptions:le,rootNames:j,baseWatchOptions:q,resolvedConfigFilePaths:new E.Map,configFileCache:new E.Map,projectStatus:new E.Map,buildInfoChecked:new E.Map,extendedConfigCache:new E.Map,builderPrograms:new E.Map,diagnostics:new E.Map,projectPendingBuild:new E.Map,projectErrorsReported:new E.Map,compilerHost:_e,moduleResolutionCache:Te,typeReferenceDirectiveResolutionCache:Ee,buildOrder:undefined,readFileWithCache:function(E){return G.readFile(E)},projectCompilerOptions:le,cache:undefined,allProjectBuildPending:true,needsSummary:true,watchAllProjectsPending:N,currentInvalidatedProject:undefined,watch:N,allWatchedWildcardDirectories:new E.Map,allWatchedInputFiles:new E.Map,allWatchedConfigFiles:new E.Map,allWatchedExtendedConfigFiles:new E.Map,allWatchedPackageJsonFiles:new E.Map,lastCachedPackageJsonLookups:new E.Map,timerToBuildInvalidatedProject:undefined,reportFileChangeDetected:false,watchFile:Ie,watchDirectory:Ne,writeLog:Me};return Le}function toPath(N,R){return E.toPath(R,N.currentDirectory,N.getCanonicalFileName)}function toResolvedConfigFilePath(E,N){var R=E.resolvedConfigFilePaths;var j=R.get(N);if(j!==undefined)return j;var $=toPath(E,N);R.set(N,$);return $}function isParsedCommandLine(E){return!!E.options}function getCachedParsedConfigFile(E,N){var R=E.configFileCache.get(N);return R&&isParsedCommandLine(R)?R:undefined}function parseConfigFile(N,R,j){var $=N.configFileCache;var q=$.get(j);if(q){return isParsedCommandLine(q)?q:undefined}var G;var ie=N.parseConfigFileHost,ae=N.baseCompilerOptions,ce=N.baseWatchOptions,le=N.extendedConfigCache,_e=N.host;var Te;if(_e.getParsedCommandLine){Te=_e.getParsedCommandLine(R);if(!Te)G=E.createCompilerDiagnostic(E.Diagnostics.File_0_not_found,R)}else{ie.onUnRecoverableConfigFileDiagnostic=function(E){return G=E};Te=E.getParsedCommandLineOfConfigFile(R,ae,ie,le,ce);ie.onUnRecoverableConfigFileDiagnostic=E.noop}$.set(j,Te||G);return Te}function resolveProjectName(N,R){return E.resolveConfigFileProjectName(E.resolvePath(N.currentDirectory,R))}function createBuildOrder(N,R){var j=new E.Map;var $=new E.Map;var q=[];var G;var ie;for(var ae=0,ce=R;aeq)}}}function needsBuild(N,R,j){var $=N.options;if(R.type!==E.UpToDateStatusType.OutOfDateWithPrepend||$.force)return true;return j.fileNames.length===0||!!E.getConfigFileParsingDiagnostics(j).length||!E.isIncrementalCompilation(j.options)}function getNextInvalidatedProject(N,R,j){if(!N.projectPendingBuild.size)return undefined;if(isCircularBuildOrder(R))return undefined;if(N.currentInvalidatedProject){return E.arrayIsEqualTo(N.currentInvalidatedProject.buildOrder,R)?N.currentInvalidatedProject:undefined}var $=N.options,G=N.projectPendingBuild;for(var ie=0;ieae){ie=Te;ae=Ee}}}if(!$.fileNames.length&&!E.canJsonReportNoInputFiles($.raw)){return{type:E.UpToDateStatusType.ContainerOnly}}var we=E.getAllProjectOutputs($,!ce.useCaseSensitiveFileNames());var Ie="(none)";var Ne=R;var Me="(none)";var Le=N;var Be;var je=N;var Ue=false;if(!G){for(var ze=0,We=we;zeLe){Le=Ve;Me=Je}if(isDeclarationFile(Je)){var qe=E.getModifiedTime(ce,Je);je=newer(je,qe)}}}var He=false;var Ge=false;var Ke;if($.projectReferences){j.projectStatus.set(q,{type:E.UpToDateStatusType.ComputingUpstream});for(var Qe=0,Xe=$.projectReferences;Qe=0}N.hasArgument=hasArgument;function findArgument(N){var R=E.sys.args.indexOf(N);return R>=0&&Rq){return 2}if(E.charCodeAt(0)===46){return 3}if(E.charCodeAt(0)===95){return 4}if(N){var R=/^@([^/]+)\/([^/]+)$/.exec(E);if(R){var j=validatePackageNameWorker(R[1],false);if(j!==0){return{name:R[1],isScopeName:true,result:j}}var $=validatePackageNameWorker(R[2],false);if($!==0){return{name:R[2],isScopeName:false,result:$}}return 0}}if(encodeURIComponent(E)!==E){return 5}return 0}function renderPackageNameValidationFailure(E,N){return typeof E==="object"?renderPackageNameValidationFailureWorker(N,E.result,E.name,E.isScopeName):renderPackageNameValidationFailureWorker(N,E,N,false)}N.renderPackageNameValidationFailure=renderPackageNameValidationFailure;function renderPackageNameValidationFailureWorker(N,R,j,$){var G=$?"Scope":"Package";switch(R){case 1:return"'".concat(N,"':: ").concat(G," name '").concat(j,"' cannot be empty");case 2:return"'".concat(N,"':: ").concat(G," name '").concat(j,"' should be less than ").concat(q," characters");case 3:return"'".concat(N,"':: ").concat(G," name '").concat(j,"' cannot start with '.'");case 4:return"'".concat(N,"':: ").concat(G," name '").concat(j,"' cannot start with '_'");case 5:return"'".concat(N,"':: ").concat(G," name '").concat(j,"' contains non URI safe characters");case 0:return E.Debug.fail();default:throw E.Debug.assertNever(R)}}})(N=E.JsTyping||(E.JsTyping={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){var N=function(){function StringScriptSnapshot(E){this.text=E}StringScriptSnapshot.prototype.getText=function(E,N){return E===0&&N===this.text.length?this.text:this.text.substring(E,N)};StringScriptSnapshot.prototype.getLength=function(){return this.text.length};StringScriptSnapshot.prototype.getChangeRange=function(){return undefined};return StringScriptSnapshot}();function fromString(E){return new N(E)}E.fromString=fromString})(N=E.ScriptSnapshot||(E.ScriptSnapshot={}));var R;(function(E){E[E["Dependencies"]=1]="Dependencies";E[E["DevDependencies"]=2]="DevDependencies";E[E["PeerDependencies"]=4]="PeerDependencies";E[E["OptionalDependencies"]=8]="OptionalDependencies";E[E["All"]=15]="All"})(R=E.PackageJsonDependencyGroup||(E.PackageJsonDependencyGroup={}));var j;(function(E){E[E["Off"]=0]="Off";E[E["On"]=1]="On";E[E["Auto"]=2]="Auto"})(j=E.PackageJsonAutoImportPreference||(E.PackageJsonAutoImportPreference={}));var $;(function(E){E[E["Semantic"]=0]="Semantic";E[E["PartialSemantic"]=1]="PartialSemantic";E[E["Syntactic"]=2]="Syntactic"})($=E.LanguageServiceMode||(E.LanguageServiceMode={}));E.emptyOptions={};var q;(function(E){E["Original"]="original";E["TwentyTwenty"]="2020"})(q=E.SemanticClassificationFormat||(E.SemanticClassificationFormat={}));var G;(function(E){E[E["Invoked"]=1]="Invoked";E[E["TriggerCharacter"]=2]="TriggerCharacter";E[E["TriggerForIncompleteCompletions"]=3]="TriggerForIncompleteCompletions"})(G=E.CompletionTriggerKind||(E.CompletionTriggerKind={}));var ie;(function(E){E["Type"]="Type";E["Parameter"]="Parameter";E["Enum"]="Enum"})(ie=E.InlayHintKind||(E.InlayHintKind={}));var ae;(function(E){E["none"]="none";E["definition"]="definition";E["reference"]="reference";E["writtenReference"]="writtenReference"})(ae=E.HighlightSpanKind||(E.HighlightSpanKind={}));var ce;(function(E){E[E["None"]=0]="None";E[E["Block"]=1]="Block";E[E["Smart"]=2]="Smart"})(ce=E.IndentStyle||(E.IndentStyle={}));var le;(function(E){E["Ignore"]="ignore";E["Insert"]="insert";E["Remove"]="remove"})(le=E.SemicolonPreference||(E.SemicolonPreference={}));function getDefaultFormatCodeSettings(E){return{indentSize:4,tabSize:4,newLineCharacter:E||"\n",convertTabsToSpaces:true,indentStyle:ce.Smart,insertSpaceAfterConstructor:false,insertSpaceAfterCommaDelimiter:true,insertSpaceAfterSemicolonInForStatements:true,insertSpaceBeforeAndAfterBinaryOperators:true,insertSpaceAfterKeywordsInControlFlowStatements:true,insertSpaceAfterFunctionKeywordForAnonymousFunctions:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:true,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:false,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:false,insertSpaceBeforeFunctionParenthesis:false,placeOpenBraceOnNewLineForFunctions:false,placeOpenBraceOnNewLineForControlBlocks:false,semicolons:le.Ignore,trimTrailingWhitespace:true}}E.getDefaultFormatCodeSettings=getDefaultFormatCodeSettings;E.testFormatSettings=getDefaultFormatCodeSettings("\n");var _e;(function(E){E[E["aliasName"]=0]="aliasName";E[E["className"]=1]="className";E[E["enumName"]=2]="enumName";E[E["fieldName"]=3]="fieldName";E[E["interfaceName"]=4]="interfaceName";E[E["keyword"]=5]="keyword";E[E["lineBreak"]=6]="lineBreak";E[E["numericLiteral"]=7]="numericLiteral";E[E["stringLiteral"]=8]="stringLiteral";E[E["localName"]=9]="localName";E[E["methodName"]=10]="methodName";E[E["moduleName"]=11]="moduleName";E[E["operator"]=12]="operator";E[E["parameterName"]=13]="parameterName";E[E["propertyName"]=14]="propertyName";E[E["punctuation"]=15]="punctuation";E[E["space"]=16]="space";E[E["text"]=17]="text";E[E["typeParameterName"]=18]="typeParameterName";E[E["enumMemberName"]=19]="enumMemberName";E[E["functionName"]=20]="functionName";E[E["regularExpressionLiteral"]=21]="regularExpressionLiteral";E[E["link"]=22]="link";E[E["linkName"]=23]="linkName";E[E["linkText"]=24]="linkText"})(_e=E.SymbolDisplayPartKind||(E.SymbolDisplayPartKind={}));var Te;(function(E){E["Comment"]="comment";E["Region"]="region";E["Code"]="code";E["Imports"]="imports"})(Te=E.OutliningSpanKind||(E.OutliningSpanKind={}));var Ee;(function(E){E[E["JavaScript"]=0]="JavaScript";E[E["SourceMap"]=1]="SourceMap";E[E["Declaration"]=2]="Declaration"})(Ee=E.OutputFileType||(E.OutputFileType={}));var we;(function(E){E[E["None"]=0]="None";E[E["InMultiLineCommentTrivia"]=1]="InMultiLineCommentTrivia";E[E["InSingleQuoteStringLiteral"]=2]="InSingleQuoteStringLiteral";E[E["InDoubleQuoteStringLiteral"]=3]="InDoubleQuoteStringLiteral";E[E["InTemplateHeadOrNoSubstitutionTemplate"]=4]="InTemplateHeadOrNoSubstitutionTemplate";E[E["InTemplateMiddleOrTail"]=5]="InTemplateMiddleOrTail";E[E["InTemplateSubstitutionPosition"]=6]="InTemplateSubstitutionPosition"})(we=E.EndOfLineState||(E.EndOfLineState={}));var Ie;(function(E){E[E["Punctuation"]=0]="Punctuation";E[E["Keyword"]=1]="Keyword";E[E["Operator"]=2]="Operator";E[E["Comment"]=3]="Comment";E[E["Whitespace"]=4]="Whitespace";E[E["Identifier"]=5]="Identifier";E[E["NumberLiteral"]=6]="NumberLiteral";E[E["BigIntLiteral"]=7]="BigIntLiteral";E[E["StringLiteral"]=8]="StringLiteral";E[E["RegExpLiteral"]=9]="RegExpLiteral"})(Ie=E.TokenClass||(E.TokenClass={}));var Ne;(function(E){E["unknown"]="";E["warning"]="warning";E["keyword"]="keyword";E["scriptElement"]="script";E["moduleElement"]="module";E["classElement"]="class";E["localClassElement"]="local class";E["interfaceElement"]="interface";E["typeElement"]="type";E["enumElement"]="enum";E["enumMemberElement"]="enum member";E["variableElement"]="var";E["localVariableElement"]="local var";E["functionElement"]="function";E["localFunctionElement"]="local function";E["memberFunctionElement"]="method";E["memberGetAccessorElement"]="getter";E["memberSetAccessorElement"]="setter";E["memberVariableElement"]="property";E["constructorImplementationElement"]="constructor";E["callSignatureElement"]="call";E["indexSignatureElement"]="index";E["constructSignatureElement"]="construct";E["parameterElement"]="parameter";E["typeParameterElement"]="type parameter";E["primitiveType"]="primitive type";E["label"]="label";E["alias"]="alias";E["constElement"]="const";E["letElement"]="let";E["directory"]="directory";E["externalModuleName"]="external module name";E["jsxAttribute"]="JSX attribute";E["string"]="string";E["link"]="link";E["linkName"]="link name";E["linkText"]="link text"})(Ne=E.ScriptElementKind||(E.ScriptElementKind={}));var Me;(function(E){E["none"]="";E["publicMemberModifier"]="public";E["privateMemberModifier"]="private";E["protectedMemberModifier"]="protected";E["exportedModifier"]="export";E["ambientModifier"]="declare";E["staticModifier"]="static";E["abstractModifier"]="abstract";E["optionalModifier"]="optional";E["deprecatedModifier"]="deprecated";E["dtsModifier"]=".d.ts";E["tsModifier"]=".ts";E["tsxModifier"]=".tsx";E["jsModifier"]=".js";E["jsxModifier"]=".jsx";E["jsonModifier"]=".json";E["dmtsModifier"]=".d.mts";E["mtsModifier"]=".mts";E["mjsModifier"]=".mjs";E["dctsModifier"]=".d.cts";E["ctsModifier"]=".cts";E["cjsModifier"]=".cjs"})(Me=E.ScriptElementKindModifier||(E.ScriptElementKindModifier={}));var Le;(function(E){E["comment"]="comment";E["identifier"]="identifier";E["keyword"]="keyword";E["numericLiteral"]="number";E["bigintLiteral"]="bigint";E["operator"]="operator";E["stringLiteral"]="string";E["whiteSpace"]="whitespace";E["text"]="text";E["punctuation"]="punctuation";E["className"]="class name";E["enumName"]="enum name";E["interfaceName"]="interface name";E["moduleName"]="module name";E["typeParameterName"]="type parameter name";E["typeAliasName"]="type alias name";E["parameterName"]="parameter name";E["docCommentTagName"]="doc comment tag name";E["jsxOpenTagName"]="jsx open tag name";E["jsxCloseTagName"]="jsx close tag name";E["jsxSelfClosingTagName"]="jsx self closing tag name";E["jsxAttribute"]="jsx attribute";E["jsxText"]="jsx text";E["jsxAttributeStringLiteralValue"]="jsx attribute string literal value"})(Le=E.ClassificationTypeNames||(E.ClassificationTypeNames={}));var Be;(function(E){E[E["comment"]=1]="comment";E[E["identifier"]=2]="identifier";E[E["keyword"]=3]="keyword";E[E["numericLiteral"]=4]="numericLiteral";E[E["operator"]=5]="operator";E[E["stringLiteral"]=6]="stringLiteral";E[E["regularExpressionLiteral"]=7]="regularExpressionLiteral";E[E["whiteSpace"]=8]="whiteSpace";E[E["text"]=9]="text";E[E["punctuation"]=10]="punctuation";E[E["className"]=11]="className";E[E["enumName"]=12]="enumName";E[E["interfaceName"]=13]="interfaceName";E[E["moduleName"]=14]="moduleName";E[E["typeParameterName"]=15]="typeParameterName";E[E["typeAliasName"]=16]="typeAliasName";E[E["parameterName"]=17]="parameterName";E[E["docCommentTagName"]=18]="docCommentTagName";E[E["jsxOpenTagName"]=19]="jsxOpenTagName";E[E["jsxCloseTagName"]=20]="jsxCloseTagName";E[E["jsxSelfClosingTagName"]=21]="jsxSelfClosingTagName";E[E["jsxAttribute"]=22]="jsxAttribute";E[E["jsxText"]=23]="jsxText";E[E["jsxAttributeStringLiteralValue"]=24]="jsxAttributeStringLiteralValue";E[E["bigintLiteral"]=25]="bigintLiteral"})(Be=E.ClassificationType||(E.ClassificationType={}))})(ce||(ce={}));var ce;(function(E){E.scanner=E.createScanner(99,true);var N;(function(E){E[E["None"]=0]="None";E[E["Value"]=1]="Value";E[E["Type"]=2]="Type";E[E["Namespace"]=4]="Namespace";E[E["All"]=7]="All"})(N=E.SemanticMeaning||(E.SemanticMeaning={}));function getMeaningFromDeclaration(N){switch(N.kind){case 253:return E.isInJSFile(N)&&E.getJSDocEnumTag(N)?7:1;case 163:case 202:case 166:case 165:case 294:case 295:case 168:case 167:case 170:case 171:case 172:case 255:case 212:case 213:case 291:case 284:return 1;case 162:case 257:case 258:case 181:return 2;case 343:return N.name===undefined?1|2:2;case 297:case 256:return 1|2;case 260:if(E.isAmbientModule(N)){return 4|1}else if(E.getModuleInstanceState(N)===1){return 4|1}else{return 4}case 259:case 268:case 269:case 264:case 265:case 270:case 271:return 7;case 303:return 4|1}return 7}E.getMeaningFromDeclaration=getMeaningFromDeclaration;function getMeaningFromLocation(N){N=getAdjustedReferenceLocation(N);var R=N.parent;if(N.kind===303){return 1}else if(E.isExportAssignment(R)||E.isExportSpecifier(R)||E.isExternalModuleReference(R)||E.isImportSpecifier(R)||E.isImportClause(R)||E.isImportEqualsDeclaration(R)&&N===R.name){return 7}else if(isInRightSideOfInternalImportEqualsDeclaration(N)){return getMeaningFromRightHandSideOfImportEquals(N)}else if(E.isDeclarationName(N)){return getMeaningFromDeclaration(R)}else if(E.isEntityName(N)&&E.findAncestor(N,E.or(E.isJSDocNameReference,E.isJSDocLinkLike,E.isJSDocMemberName))){return 7}else if(isTypeReference(N)){return 2}else if(isNamespaceReference(N)){return 4}else if(E.isTypeParameterDeclaration(R)){E.Debug.assert(E.isJSDocTemplateTag(R.parent));return 2}else if(E.isLiteralTypeNode(R)){return 2|1}else{return 1}}E.getMeaningFromLocation=getMeaningFromLocation;function getMeaningFromRightHandSideOfImportEquals(N){var R=N.kind===160?N:E.isQualifiedName(N.parent)&&N.parent.right===N?N.parent:undefined;return R&&R.parent.kind===264?7:4}function isInRightSideOfInternalImportEqualsDeclaration(N){while(N.parent.kind===160){N=N.parent}return E.isInternalModuleImportEqualsDeclaration(N.parent)&&N.parent.moduleReference===N}E.isInRightSideOfInternalImportEqualsDeclaration=isInRightSideOfInternalImportEqualsDeclaration;function isNamespaceReference(E){return isQualifiedNameNamespaceReference(E)||isPropertyAccessNamespaceReference(E)}function isQualifiedNameNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===160){while(N.parent&&N.parent.kind===160){N=N.parent}R=N.right===E}return N.parent.kind===177&&!R}function isPropertyAccessNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===205){while(N.parent&&N.parent.kind===205){N=N.parent}R=N.name===E}if(!R&&N.parent.kind===227&&N.parent.parent.kind===290){var j=N.parent.parent.parent;return j.kind===256&&N.parent.parent.token===117||j.kind===257&&N.parent.parent.token===94}return false}function isTypeReference(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}switch(N.kind){case 108:return!E.isExpressionNode(N);case 191:return true}switch(N.parent.kind){case 177:return true;case 199:return!N.parent.isTypeOf;case 227:return!E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)}return false}function isCallExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallExpressionTarget=isCallExpressionTarget;function isNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isNewExpressionTarget=isNewExpressionTarget;function isCallOrNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallOrNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallOrNewExpressionTarget=isCallOrNewExpressionTarget;function isTaggedTemplateTag(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isTaggedTemplateExpression,selectTagOfTaggedTemplateExpression,R,j)}E.isTaggedTemplateTag=isTaggedTemplateTag;function isDecoratorTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isDecorator,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isDecoratorTarget=isDecoratorTarget;function isJsxOpeningLikeElementTagName(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isJsxOpeningLikeElement,selectTagNameOfJsxOpeningLikeElement,R,j)}E.isJsxOpeningLikeElementTagName=isJsxOpeningLikeElementTagName;function selectExpressionOfCallOrNewExpressionOrDecorator(E){return E.expression}function selectTagOfTaggedTemplateExpression(E){return E.tag}function selectTagNameOfJsxOpeningLikeElement(E){return E.tagName}function isCalleeWorker(N,R,j,$,q){var G=$?climbPastPropertyOrElementAccess(N):climbPastPropertyAccess(N);if(q){G=E.skipOuterExpressions(G)}return!!G&&!!G.parent&&R(G.parent)&&j(G.parent)===G}function climbPastPropertyAccess(E){return isRightSideOfPropertyAccess(E)?E.parent:E}E.climbPastPropertyAccess=climbPastPropertyAccess;function climbPastPropertyOrElementAccess(E){return isRightSideOfPropertyAccess(E)||isArgumentExpressionOfElementAccess(E)?E.parent:E}E.climbPastPropertyOrElementAccess=climbPastPropertyOrElementAccess;function getTargetLabel(E,N){while(E){if(E.kind===249&&E.label.escapedText===N){return E.label}E=E.parent}return undefined}E.getTargetLabel=getTargetLabel;function hasPropertyAccessExpressionWithName(N,R){if(!E.isPropertyAccessExpression(N.expression)){return false}return N.expression.name.text===R}E.hasPropertyAccessExpressionWithName=hasPropertyAccessExpressionWithName;function isJumpStatementTarget(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isBreakOrContinueStatement))===null||R===void 0?void 0:R.label)===N}E.isJumpStatementTarget=isJumpStatementTarget;function isLabelOfLabeledStatement(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isLabeledStatement))===null||R===void 0?void 0:R.label)===N}E.isLabelOfLabeledStatement=isLabelOfLabeledStatement;function isLabelName(E){return isLabelOfLabeledStatement(E)||isJumpStatementTarget(E)}E.isLabelName=isLabelName;function isTagName(N){var R;return((R=E.tryCast(N.parent,E.isJSDocTag))===null||R===void 0?void 0:R.tagName)===N}E.isTagName=isTagName;function isRightSideOfQualifiedName(N){var R;return((R=E.tryCast(N.parent,E.isQualifiedName))===null||R===void 0?void 0:R.right)===N}E.isRightSideOfQualifiedName=isRightSideOfQualifiedName;function isRightSideOfPropertyAccess(N){var R;return((R=E.tryCast(N.parent,E.isPropertyAccessExpression))===null||R===void 0?void 0:R.name)===N}E.isRightSideOfPropertyAccess=isRightSideOfPropertyAccess;function isArgumentExpressionOfElementAccess(N){var R;return((R=E.tryCast(N.parent,E.isElementAccessExpression))===null||R===void 0?void 0:R.argumentExpression)===N}E.isArgumentExpressionOfElementAccess=isArgumentExpressionOfElementAccess;function isNameOfModuleDeclaration(N){var R;return((R=E.tryCast(N.parent,E.isModuleDeclaration))===null||R===void 0?void 0:R.name)===N}E.isNameOfModuleDeclaration=isNameOfModuleDeclaration;function isNameOfFunctionDeclaration(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isFunctionLike))===null||R===void 0?void 0:R.name)===N}E.isNameOfFunctionDeclaration=isNameOfFunctionDeclaration;function isLiteralNameOfPropertyDeclarationOrIndexAccess(N){switch(N.parent.kind){case 166:case 165:case 294:case 297:case 168:case 167:case 171:case 172:case 260:return E.getNameOfDeclaration(N.parent)===N;case 206:return N.parent.argumentExpression===N;case 161:return true;case 195:return N.parent.parent.kind===193;default:return false}}E.isLiteralNameOfPropertyDeclarationOrIndexAccess=isLiteralNameOfPropertyDeclarationOrIndexAccess;function isExpressionOfExternalModuleImportEqualsDeclaration(N){return E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N}E.isExpressionOfExternalModuleImportEqualsDeclaration=isExpressionOfExternalModuleImportEqualsDeclaration;function getContainerNode(N){if(E.isJSDocTypeAlias(N)){N=N.parent.parent}while(true){N=N.parent;if(!N){return undefined}switch(N.kind){case 303:case 168:case 167:case 255:case 212:case 171:case 172:case 256:case 257:case 259:case 260:return N}}}E.getContainerNode=getContainerNode;function getNodeKind(N){switch(N.kind){case 303:return E.isExternalModule(N)?"module":"script";case 260:return"module";case 256:case 225:return"class";case 257:return"interface";case 258:case 336:case 343:return"type";case 259:return"enum";case 253:return getKindOfVariableDeclaration(N);case 202:return getKindOfVariableDeclaration(E.getRootDeclaration(N));case 213:case 255:case 212:return"function";case 171:return"getter";case 172:return"setter";case 168:case 167:return"method";case 294:var R=N.initializer;return E.isFunctionLike(R)?"method":"property";case 166:case 165:case 295:case 296:return"property";case 175:return"index";case 174:return"construct";case 173:return"call";case 170:case 169:return"constructor";case 162:return"type parameter";case 297:return"enum member";case 163:return E.hasSyntacticModifier(N,16476)?"property":"parameter";case 264:case 269:case 274:case 267:case 273:return"alias";case 220:var j=E.getAssignmentDeclarationKind(N);var $=N.right;switch(j){case 7:case 8:case 9:case 0:return"";case 1:case 2:var q=getNodeKind($);return q===""?"const":q;case 3:return E.isFunctionExpression($)?"method":"property";case 4:return"property";case 5:return E.isFunctionExpression($)?"method":"property";case 6:return"local class";default:{E.assertType(j);return""}}case 79:return E.isImportClause(N.parent)?"alias":"";case 270:var G=getNodeKind(N.expression);return G===""?"const":G;default:return""}function getKindOfVariableDeclaration(N){return E.isVarConst(N)?"const":E.isLet(N)?"let":"var"}}E.getNodeKind=getNodeKind;function isThis(N){switch(N.kind){case 108:return true;case 79:return E.identifierIsThisKeyword(N)&&N.parent.kind===163;default:return false}}E.isThis=isThis;var R=/^\/\/\/\s*=R.end}E.startEndContainsRange=startEndContainsRange;function rangeContainsStartEnd(E,N,R){return E.pos<=N&&E.end>=R}E.rangeContainsStartEnd=rangeContainsStartEnd;function rangeOverlapsWithStartEnd(E,N,R){return startEndOverlapsWithStartEnd(E.pos,E.end,N,R)}E.rangeOverlapsWithStartEnd=rangeOverlapsWithStartEnd;function nodeOverlapsWithStartEnd(E,N,R,j){return startEndOverlapsWithStartEnd(E.getStart(N),E.end,R,j)}E.nodeOverlapsWithStartEnd=nodeOverlapsWithStartEnd;function startEndOverlapsWithStartEnd(E,N,R,j){var $=Math.max(E,R);var q=Math.min(N,j);return $R){return 1}if(nodeContainsPosition(q[E])){if(q[E-1]){if(nodeContainsPosition(q[E-1])){return 1}}return 0}if($&&ie===R&&q[E-1]&&q[E-1].getEnd()===R&&nodeContainsPosition(q[E-1])){return 1}return-1}));if(ie){return{value:ie}}if(ae>=0&&q[ae]){G=q[ae];return"continue-outer"}return{value:G}};e:while(true){var ae=_loop_1();if(typeof ae==="object")return ae.value;switch(ae){case"continue-outer":continue e}}function nodeContainsPosition(E){var G=j?E.getFullStart():E.getStart(N,true);if(G>R){return false}var ae=E.getEnd();if(Rj.getStart(N)&&RN.end||E.pos===N.end;return R&&nodeHasTokens(E,j)?find(E):undefined}))}}E.findNextToken=findNextToken;function findPrecedingToken(N,R,j,$){var q=find(j||R);E.Debug.assert(!(q&&isWhiteSpaceOnlyJsxText(q)));return q;function find(q){if(isNonWhitespaceToken(q)&&q.kind!==1){return q}var G=q.getChildren(R);var ie=E.binarySearchKey(G,N,(function(E,N){return N}),(function(E,R){if(N=G[E-1].end){return 0}return 1}return-1}));if(ie>=0&&G[ie]){var ae=G[ie];if(N=N||!nodeHasTokens(ae,R)||isWhiteSpaceOnlyJsxText(ae);if(le){var _e=findRightmostChildNodeWithTokens(G,ie,R,q.kind);return _e&&findRightmostToken(_e,R)}else{return find(ae)}}}E.Debug.assert(j!==undefined||q.kind===303||q.kind===1||E.isJSDocCommentContainingNode(q));var Te=findRightmostChildNodeWithTokens(G,G.length,R,q.kind);return Te&&findRightmostToken(Te,R)}}E.findPrecedingToken=findPrecedingToken;function isNonWhitespaceToken(N){return E.isToken(N)&&!isWhiteSpaceOnlyJsxText(N)}function findRightmostToken(E,N){if(isNonWhitespaceToken(E)){return E}var R=E.getChildren(N);if(R.length===0){return E}var j=findRightmostChildNodeWithTokens(R,R.length,N,E.kind);return j&&findRightmostToken(j,N)}function findRightmostChildNodeWithTokens(N,R,j,$){for(var q=R-1;q>=0;q--){var G=N[q];if(isWhiteSpaceOnlyJsxText(G)){if(q===0&&($===11||$===278)){E.Debug.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`")}}else if(nodeHasTokens(N[q],j)){return N[q]}}}function isInString(N,R,j){if(j===void 0){j=findPrecedingToken(R,N)}if(j&&E.isStringTextContainingNode(j)){var $=j.getStart(N);var q=j.getEnd();if($j.getStart(N)}E.isInTemplateString=isInTemplateString;function isInJSXText(N,R){var j=getTokenAtPosition(N,R);if(E.isJsxText(j)){return true}if(j.kind===18&&E.isJsxExpression(j.parent)&&E.isJsxElement(j.parent.parent)){return true}if(j.kind===29&&E.isJsxOpeningLikeElement(j.parent)&&E.isJsxElement(j.parent.parent)){return true}return false}E.isInJSXText=isInJSXText;function isInsideJsxElement(E,N){function isInsideJsxElementTraversal(R){while(R){if(R.kind>=278&&R.kind<=287||R.kind===11||R.kind===29||R.kind===31||R.kind===79||R.kind===19||R.kind===18||R.kind===43){R=R.parent}else if(R.kind===277){if(N>R.getStart(E))return true;R=R.parent}else{return false}}return false}return isInsideJsxElementTraversal(getTokenAtPosition(E,N))}E.isInsideJsxElement=isInsideJsxElement;function findPrecedingMatchingToken(N,R,j){var $=E.tokenToString(N.kind);var q=E.tokenToString(R);var G=N.getFullStart();var ie=j.text.lastIndexOf(q,G);if(ie===-1){return undefined}if(j.text.lastIndexOf($,G-1)=R}))}E.getPossibleGenericSignatures=getPossibleGenericSignatures;function getPossibleTypeArgumentsInfo(N,R){if(R.text.lastIndexOf("<",N?N.pos:R.text.length)===-1){return undefined}var j=N;var $=0;var q=0;while(j){switch(j.kind){case 29:j=findPrecedingToken(j.getFullStart(),R);if(j&&j.kind===28){j=findPrecedingToken(j.getFullStart(),R)}if(!j||!E.isIdentifier(j))return undefined;if(!$){return E.isDeclarationName(j)?undefined:{called:j,nTypeArguments:q}}$--;break;case 49:$=+3;break;case 48:$=+2;break;case 31:$++;break;case 19:j=findPrecedingMatchingToken(j,18,R);if(!j)return undefined;break;case 21:j=findPrecedingMatchingToken(j,20,R);if(!j)return undefined;break;case 23:j=findPrecedingMatchingToken(j,22,R);if(!j)return undefined;break;case 27:q++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 140:case 24:case 51:case 57:case 58:break;default:if(E.isTypeNode(j)){break}return undefined}j=findPrecedingToken(j.getFullStart(),R)}return undefined}E.getPossibleTypeArgumentsInfo=getPossibleTypeArgumentsInfo;function isInComment(N,R,j){return E.formatting.getRangeOfEnclosingComment(N,R,undefined,j)}E.isInComment=isInComment;function hasDocComment(N,R){var j=getTokenAtPosition(N,R);return!!E.findAncestor(j,E.isJSDoc)}E.hasDocComment=hasDocComment;function nodeHasTokens(E,N){return E.kind===1?!!E.jsDoc:E.getWidth(N)!==0}function getNodeModifiers(N,R){if(R===void 0){R=0}var j=[];var $=E.isDeclaration(N)?E.getCombinedNodeFlagsAlwaysIncludeJSDoc(N)&~R:0;if($&8)j.push("private");if($&16)j.push("protected");if($&4)j.push("public");if($&32||E.isClassStaticBlockDeclaration(N))j.push("static");if($&128)j.push("abstract");if($&1)j.push("export");if($&8192)j.push("deprecated");if(N.flags&8388608)j.push("declare");if(N.kind===270)j.push("export");return j.length>0?j.join(","):""}E.getNodeModifiers=getNodeModifiers;function getTypeArgumentOrTypeParameterList(N){if(N.kind===177||N.kind===207){return N.typeArguments}if(E.isFunctionLike(N)||N.kind===256||N.kind===257){return N.typeParameters}return undefined}E.getTypeArgumentOrTypeParameterList=getTypeArgumentOrTypeParameterList;function isComment(E){return E===2||E===3}E.isComment=isComment;function isStringOrRegularExpressionOrTemplateLiteral(N){if(N===10||N===13||E.isTemplateLiteralKind(N)){return true}return false}E.isStringOrRegularExpressionOrTemplateLiteral=isStringOrRegularExpressionOrTemplateLiteral;function isPunctuation(E){return 18<=E&&E<=78}E.isPunctuation=isPunctuation;function isInsideTemplateLiteral(N,R,j){return E.isTemplateLiteralKind(N.kind)&&(N.getStart(j)=2||!!N.noEmit}E.compilerOptionsIndicateEsModules=compilerOptionsIndicateEsModules;function createModuleSpecifierResolutionHost(N,R){return{fileExists:function(E){return N.fileExists(E)},getCurrentDirectory:function(){return R.getCurrentDirectory()},readFile:E.maybeBind(R,R.readFile),useCaseSensitiveFileNames:E.maybeBind(R,R.useCaseSensitiveFileNames),getSymlinkCache:E.maybeBind(R,R.getSymlinkCache)||N.getSymlinkCache,getModuleSpecifierCache:E.maybeBind(R,R.getModuleSpecifierCache),getPackageJsonInfoCache:function(){var E;return(E=N.getModuleResolutionCache())===null||E===void 0?void 0:E.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:E.maybeBind(R,R.getGlobalTypingsCacheLocation),redirectTargetsMap:N.redirectTargetsMap,getProjectReferenceRedirect:function(E){return N.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return N.isSourceOfProjectReferenceRedirect(E)},getNearestAncestorDirectoryWithPackageJson:E.maybeBind(R,R.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return N.getFileIncludeReasons()}}}E.createModuleSpecifierResolutionHost=createModuleSpecifierResolutionHost;function getModuleSpecifierResolverHost(E,N){return $($({},createModuleSpecifierResolutionHost(E,N)),{getCommonSourceDirectory:function(){return E.getCommonSourceDirectory()}})}E.getModuleSpecifierResolverHost=getModuleSpecifierResolverHost;function makeImportIfNecessary(E,N,R,j){return E||N&&N.length?makeImport(E,N,R,j):undefined}E.makeImportIfNecessary=makeImportIfNecessary;function makeImport(N,R,j,$,q){return E.factory.createImportDeclaration(undefined,undefined,N||R?E.factory.createImportClause(!!q,N,R&&R.length?E.factory.createNamedImports(R):undefined):undefined,typeof j==="string"?makeStringLiteral(j,$):j,undefined)}E.makeImport=makeImport;function makeStringLiteral(N,R){return E.factory.createStringLiteral(N,R===0)}E.makeStringLiteral=makeStringLiteral;var j;(function(E){E[E["Single"]=0]="Single";E[E["Double"]=1]="Double"})(j=E.QuotePreference||(E.QuotePreference={}));function quotePreferenceFromString(N,R){return E.isStringDoubleQuoted(N,R)?1:0}E.quotePreferenceFromString=quotePreferenceFromString;function getQuotePreference(N,R){if(R.quotePreference&&R.quotePreference!=="auto"){return R.quotePreference==="single"?0:1}else{var j=N.imports&&E.find(N.imports,(function(N){return E.isStringLiteral(N)&&!E.nodeIsSynthesized(N.parent)}));return j?quotePreferenceFromString(j,N):1}}E.getQuotePreference=getQuotePreference;function getQuoteFromPreference(N){switch(N){case 0:return"'";case 1:return'"';default:return E.Debug.assertNever(N)}}E.getQuoteFromPreference=getQuoteFromPreference;function symbolNameNoDefault(N){var R=symbolEscapedNameNoDefault(N);return R===undefined?undefined:E.unescapeLeadingUnderscores(R)}E.symbolNameNoDefault=symbolNameNoDefault;function symbolEscapedNameNoDefault(N){if(N.escapedName!=="default"){return N.escapedName}return E.firstDefined(N.declarations,(function(N){var R=E.getNameOfDeclaration(N);return R&&R.kind===79?R.escapedText:undefined}))}E.symbolEscapedNameNoDefault=symbolEscapedNameNoDefault;function isModuleSpecifierLike(N){return E.isStringLiteralLike(N)&&(E.isExternalModuleReference(N.parent)||E.isImportDeclaration(N.parent)||E.isRequireCall(N.parent,false)&&N.parent.arguments[0]===N||E.isImportCall(N.parent)&&N.parent.arguments[0]===N)}E.isModuleSpecifierLike=isModuleSpecifierLike;function isObjectBindingElementWithoutPropertyName(N){return E.isBindingElement(N)&&E.isObjectBindingPattern(N.parent)&&E.isIdentifier(N.name)&&!N.propertyName}E.isObjectBindingElementWithoutPropertyName=isObjectBindingElementWithoutPropertyName;function getPropertySymbolFromBindingElement(E,N){var R=E.getTypeAtLocation(N.parent);return R&&E.getPropertyOfType(R,N.name.text)}E.getPropertySymbolFromBindingElement=getPropertySymbolFromBindingElement;function getParentNodeInSpan(N,R,j){if(!N)return undefined;while(N.parent){if(E.isSourceFile(N.parent)||!spanContainsNode(j,N.parent,R)){return N}N=N.parent}}E.getParentNodeInSpan=getParentNodeInSpan;function spanContainsNode(N,R,j){return E.textSpanContainsPosition(N,R.getStart(j))&&R.getEnd()<=E.textSpanEnd(N)}function findModifier(N,R){return N.modifiers&&E.find(N.modifiers,(function(E){return E.kind===R}))}E.findModifier=findModifier;function insertImports(N,R,j,$){var q=E.isArray(j)?j[0]:j;var G=q.kind===236?E.isRequireVariableStatement:E.isAnyImportSyntax;var ie=E.filter(R.statements,G);var ae=E.isArray(j)?E.stableSort(j,E.OrganizeImports.compareImportsOrRequireStatements):[j];if(!ie.length){N.insertNodesAtTopOfFile(R,ae,$)}else if(ie&&E.OrganizeImports.importsAreSorted(ie)){for(var ce=0,le=ae;ceN&&j&&j!=="..."){if(!E.isWhiteSpaceLike(j.charCodeAt(j.length-1))){R.push(displayPart(" ",E.SymbolDisplayPartKind.space))}R.push(displayPart("...",E.SymbolDisplayPartKind.punctuation))}return R},writeKeyword:function(N){return writeKind(N,E.SymbolDisplayPartKind.keyword)},writeOperator:function(N){return writeKind(N,E.SymbolDisplayPartKind.operator)},writePunctuation:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeSpace:function(N){return writeKind(N,E.SymbolDisplayPartKind.space)},writeStringLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(N){return writeKind(N,E.SymbolDisplayPartKind.parameterName)},writeProperty:function(N){return writeKind(N,E.SymbolDisplayPartKind.propertyName)},writeLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeSymbol:writeSymbol,writeLine:writeLine,write:unknownWrite,writeComment:unknownWrite,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return false},hasTrailingWhitespace:function(){return false},hasTrailingComment:function(){return false},rawWrite:E.notImplemented,getIndent:function(){return $},increaseIndent:function(){$++},decreaseIndent:function(){$--},clear:resetWriter,trackSymbol:function(){return false},reportInaccessibleThisError:E.noop,reportInaccessibleUniqueSymbolError:E.noop,reportPrivateInBaseOfClassExpression:E.noop};function writeIndent(){if(q>N)return;if(j){var G=E.getIndentString($);if(G){q+=G.length;R.push(displayPart(G,E.SymbolDisplayPartKind.space))}j=false}}function writeKind(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(displayPart(E,j))}function writeSymbol(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(symbolPart(E,j))}function writeLine(){if(q>N)return;q+=1;R.push(lineBreakPart());j=true}function resetWriter(){R=[];j=true;$=0;q=0}}function symbolPart(N,R){return displayPart(N,displayPartKind(R));function displayPartKind(N){var R=N.flags;if(R&3){return isFirstDeclarationOfSymbolParameter(N)?E.SymbolDisplayPartKind.parameterName:E.SymbolDisplayPartKind.localName}if(R&4)return E.SymbolDisplayPartKind.propertyName;if(R&32768)return E.SymbolDisplayPartKind.propertyName;if(R&65536)return E.SymbolDisplayPartKind.propertyName;if(R&8)return E.SymbolDisplayPartKind.enumMemberName;if(R&16)return E.SymbolDisplayPartKind.functionName;if(R&32)return E.SymbolDisplayPartKind.className;if(R&64)return E.SymbolDisplayPartKind.interfaceName;if(R&384)return E.SymbolDisplayPartKind.enumName;if(R&1536)return E.SymbolDisplayPartKind.moduleName;if(R&8192)return E.SymbolDisplayPartKind.methodName;if(R&262144)return E.SymbolDisplayPartKind.typeParameterName;if(R&524288)return E.SymbolDisplayPartKind.aliasName;if(R&2097152)return E.SymbolDisplayPartKind.aliasName;return E.SymbolDisplayPartKind.text}}E.symbolPart=symbolPart;function displayPart(N,R){return{text:N,kind:E.SymbolDisplayPartKind[R]}}E.displayPart=displayPart;function spacePart(){return displayPart(" ",E.SymbolDisplayPartKind.space)}E.spacePart=spacePart;function keywordPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.keyword)}E.keywordPart=keywordPart;function punctuationPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.punctuation)}E.punctuationPart=punctuationPart;function operatorPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.operator)}E.operatorPart=operatorPart;function parameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.parameterName)}E.parameterNamePart=parameterNamePart;function propertyNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.propertyName)}E.propertyNamePart=propertyNamePart;function textOrKeywordPart(N){var R=E.stringToToken(N);return R===undefined?textPart(N):keywordPart(R)}E.textOrKeywordPart=textOrKeywordPart;function textPart(N){return displayPart(N,E.SymbolDisplayPartKind.text)}E.textPart=textPart;function typeAliasNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.aliasName)}E.typeAliasNamePart=typeAliasNamePart;function typeParameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.typeParameterName)}E.typeParameterNamePart=typeParameterNamePart;function linkTextPart(N){return displayPart(N,E.SymbolDisplayPartKind.linkText)}E.linkTextPart=linkTextPart;function linkNamePart(N,R){return{text:N,kind:E.SymbolDisplayPartKind[E.SymbolDisplayPartKind.linkName],target:{fileName:E.getSourceFileOfNode(R).fileName,textSpan:createTextSpanFromNode(R)}}}E.linkNamePart=linkNamePart;function linkPart(N){return displayPart(N,E.SymbolDisplayPartKind.link)}E.linkPart=linkPart;function buildLinkParts(N,R){var j;var $=E.isJSDocLink(N)?"link":E.isJSDocLinkCode(N)?"linkcode":"linkplain";var q=[linkPart("{@".concat($," "))];if(!N.name){if(N.text)q.push(linkTextPart(N.text))}else{var G=R===null||R===void 0?void 0:R.getSymbolAtLocation(N.name);var ie=findLinkNameEnd(N.text);var ae=E.getTextOfNode(N.name)+N.text.slice(0,ie);var ce=N.text.slice(ie);var le=(G===null||G===void 0?void 0:G.valueDeclaration)||((j=G===null||G===void 0?void 0:G.declarations)===null||j===void 0?void 0:j[0]);if(le){q.push(linkNamePart(ae,le));if(ce)q.push(linkTextPart(ce))}else{q.push(linkTextPart(ae+(ie||ce.indexOf("://")===0?"":" ")+ce))}}q.push(linkPart("}"));return q}E.buildLinkParts=buildLinkParts;function findLinkNameEnd(E){if(E.indexOf("()")===0)return 2;if(E[0]!=="<")return 0;var N=0;var R=0;while(R")N--;R++;if(!N)return R}return 0}var G="\r\n";function getNewLineOrDefaultFromHost(E,N){var R;return(N===null||N===void 0?void 0:N.newLineCharacter)||((R=E.getNewLine)===null||R===void 0?void 0:R.call(E))||G}E.getNewLineOrDefaultFromHost=getNewLineOrDefaultFromHost;function lineBreakPart(){return displayPart("\n",E.SymbolDisplayPartKind.lineBreak)}E.lineBreakPart=lineBreakPart;function mapToDisplayParts(E){try{E(q);return q.displayParts()}finally{q.clear()}}E.mapToDisplayParts=mapToDisplayParts;function typeToDisplayParts(E,N,R,j){if(j===void 0){j=0}return mapToDisplayParts((function($){E.writeType(N,R,j|1024|16384,$)}))}E.typeToDisplayParts=typeToDisplayParts;function symbolToDisplayParts(E,N,R,j,$){if($===void 0){$=0}return mapToDisplayParts((function(q){E.writeSymbol(N,R,j,$|8,q)}))}E.symbolToDisplayParts=symbolToDisplayParts;function signatureToDisplayParts(E,N,R,j){if(j===void 0){j=0}j|=16384|1024|32|8192;return mapToDisplayParts((function($){E.writeSignature(N,R,j,undefined,$)}))}E.signatureToDisplayParts=signatureToDisplayParts;function isImportOrExportSpecifierName(N){return!!N.parent&&E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N}E.isImportOrExportSpecifierName=isImportOrExportSpecifierName;function getScriptKind(N,R){return E.ensureScriptKind(N,R.getScriptKind&&R.getScriptKind(N))}E.getScriptKind=getScriptKind;function getSymbolTarget(N,R){var j=N;while(isAliasSymbol(j)||isTransientSymbol(j)&&j.target){if(isTransientSymbol(j)&&j.target){j=j.target}else{j=E.skipAlias(j,R)}}return j}E.getSymbolTarget=getSymbolTarget;function isTransientSymbol(E){return(E.flags&33554432)!==0}function isAliasSymbol(E){return(E.flags&2097152)!==0}function getUniqueSymbolId(N,R){return E.getSymbolId(E.skipAlias(N,R))}E.getUniqueSymbolId=getUniqueSymbolId;function getFirstNonSpaceCharacterPosition(N,R){while(E.isWhiteSpaceLike(N.charCodeAt(R))){R+=1}return R}E.getFirstNonSpaceCharacterPosition=getFirstNonSpaceCharacterPosition;function getPrecedingNonSpaceCharacterPosition(N,R){while(R>-1&&E.isWhiteSpaceSingleLine(N.charCodeAt(R))){R-=1}return R+1}E.getPrecedingNonSpaceCharacterPosition=getPrecedingNonSpaceCharacterPosition;function getSynthesizedDeepClone(E,N){if(N===void 0){N=true}var R=E&&getSynthesizedDeepCloneWorker(E);if(R&&!N)suppressLeadingAndTrailingTrivia(R);return R}E.getSynthesizedDeepClone=getSynthesizedDeepClone;function getSynthesizedDeepCloneWithReplacements(N,R,j){var $=j(N);if($){E.setOriginalNode($,N)}else{$=getSynthesizedDeepCloneWorker(N,j)}if($&&!R)suppressLeadingAndTrailingTrivia($);return $}E.getSynthesizedDeepCloneWithReplacements=getSynthesizedDeepCloneWithReplacements;function getSynthesizedDeepCloneWorker(N,R){var j=R?function(E){return getSynthesizedDeepCloneWithReplacements(E,true,R)}:getSynthesizedDeepClone;var $=R?function(E){return E&&getSynthesizedDeepClonesWithReplacements(E,true,R)}:function(E){return E&&getSynthesizedDeepClones(E)};var q=E.visitEachChild(N,j,E.nullTransformationContext,$,j);if(q===N){var G=E.isStringLiteral(N)?E.setOriginalNode(E.factory.createStringLiteralFromNode(N),N):E.isNumericLiteral(N)?E.setOriginalNode(E.factory.createNumericLiteral(N.text,N.numericLiteralFlags),N):E.factory.cloneNode(N);return E.setTextRange(G,N)}q.parent=undefined;return q}function getSynthesizedDeepClones(N,R){if(R===void 0){R=true}return N&&E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepClone(E,R)})),N.hasTrailingComma)}E.getSynthesizedDeepClones=getSynthesizedDeepClones;function getSynthesizedDeepClonesWithReplacements(N,R,j){return E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepCloneWithReplacements(E,R,j)})),N.hasTrailingComma)}E.getSynthesizedDeepClonesWithReplacements=getSynthesizedDeepClonesWithReplacements;function suppressLeadingAndTrailingTrivia(E){suppressLeadingTrivia(E);suppressTrailingTrivia(E)}E.suppressLeadingAndTrailingTrivia=suppressLeadingAndTrailingTrivia;function suppressLeadingTrivia(E){addEmitFlagsRecursively(E,512,getFirstChild)}E.suppressLeadingTrivia=suppressLeadingTrivia;function suppressTrailingTrivia(N){addEmitFlagsRecursively(N,1024,E.getLastChild)}E.suppressTrailingTrivia=suppressTrailingTrivia;function copyComments(E,N){var R=E.getSourceFile();var j=R.text;if(hasLeadingLineBreak(E,j)){copyLeadingComments(E,N,R)}else{copyTrailingAsLeadingComments(E,N,R)}copyTrailingComments(E,N,R)}E.copyComments=copyComments;function hasLeadingLineBreak(E,N){var R=E.getFullStart();var j=E.getStart();for(var $=R;$=0);return G}E.getRenameLocation=getRenameLocation;function copyLeadingComments(N,R,j,$,q){E.forEachLeadingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyLeadingComments=copyLeadingComments;function copyTrailingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.end,getAddCommentsFunction(R,j,$,q,E.addSyntheticTrailingComment))}E.copyTrailingComments=copyTrailingComments;function copyTrailingAsLeadingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyTrailingAsLeadingComments=copyTrailingAsLeadingComments;function getAddCommentsFunction(E,N,R,j,$){return function(q,G,ie,ae){if(ie===3){q+=2;G-=2}else{q+=2}$(E,R||ie,N.text.slice(q,G),j!==undefined?j:ae)}}function indexInTextChange(N,R){if(E.startsWith(N,R))return 0;var j=N.indexOf(" "+R);if(j===-1)j=N.indexOf("."+R);if(j===-1)j=N.indexOf('"'+R);return j===-1?-1:j+1}function needsParentheses(N){return E.isBinaryExpression(N)&&N.operatorToken.kind===27||E.isObjectLiteralExpression(N)||E.isAsExpression(N)&&E.isObjectLiteralExpression(N.expression)}E.needsParentheses=needsParentheses;function getContextualTypeFromParent(E,N){var R=E.parent;switch(R.kind){case 208:return N.getContextualType(R);case 220:{var j=R,$=j.left,q=j.operatorToken,G=j.right;return isEqualityOperatorKind(q.kind)?N.getTypeAtLocation(E===G?$:G):N.getContextualType(E)}case 288:return R.expression===E?getSwitchedType(R,N):undefined;default:return N.getContextualType(E)}}E.getContextualTypeFromParent=getContextualTypeFromParent;function quote(N,R,j){var $=getQuotePreference(N,R);var q=JSON.stringify(j);return $===0?"'".concat(E.stripQuotes(q).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):q}E.quote=quote;function isEqualityOperatorKind(E){switch(E){case 36:case 34:case 37:case 35:return true;default:return false}}E.isEqualityOperatorKind=isEqualityOperatorKind;function isStringLiteralOrTemplate(E){switch(E.kind){case 10:case 14:case 222:case 209:return true;default:return false}}E.isStringLiteralOrTemplate=isStringLiteralOrTemplate;function hasIndexSignature(E){return!!E.getStringIndexType()||!!E.getNumberIndexType()}E.hasIndexSignature=hasIndexSignature;function getSwitchedType(E,N){return N.getTypeAtLocation(E.parent.parent.expression)}E.getSwitchedType=getSwitchedType;E.ANONYMOUS="anonymous function";function getTypeNodeIfAccessible(E,N,R,j){var $=R.getTypeChecker();var q=true;var notAccessible=function(){return q=false};var G=$.typeToTypeNode(E,N,1,{trackSymbol:function(E,N,R){q=q&&$.isSymbolAccessible(E,N,R,false).accessibility===0;return!q},reportInaccessibleThisError:notAccessible,reportPrivateInBaseOfClassExpression:notAccessible,reportInaccessibleUniqueSymbolError:notAccessible,moduleResolverHost:getModuleSpecifierResolverHost(R,j)});return q?G:undefined}E.getTypeNodeIfAccessible=getTypeNodeIfAccessible;function syntaxRequiresTrailingCommaOrSemicolonOrASI(E){return E===173||E===174||E===175||E===165||E===167}function syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(E){return E===255||E===170||E===168||E===171||E===172}function syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(E){return E===260}function syntaxRequiresTrailingSemicolonOrASI(E){return E===236||E===237||E===239||E===244||E===245||E===246||E===250||E===252||E===166||E===258||E===265||E===264||E===271||E===263||E===270}E.syntaxRequiresTrailingSemicolonOrASI=syntaxRequiresTrailingSemicolonOrASI;E.syntaxMayBeASICandidate=E.or(syntaxRequiresTrailingCommaOrSemicolonOrASI,syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,syntaxRequiresTrailingSemicolonOrASI);function nodeIsASICandidate(N,R){var j=N.getLastToken(R);if(j&&j.kind===26){return false}if(syntaxRequiresTrailingCommaOrSemicolonOrASI(N.kind)){if(j&&j.kind===27){return false}}else if(syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isModuleBlock($)){return false}}else if(syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isFunctionBlock($)){return false}}else if(!syntaxRequiresTrailingSemicolonOrASI(N.kind)){return false}if(N.kind===239){return true}var q=E.findAncestor(N,(function(E){return!E.parent}));var G=findNextToken(N,q,R);if(!G||G.kind===19){return true}var ie=R.getLineAndCharacterOfPosition(N.getEnd()).line;var ae=R.getLineAndCharacterOfPosition(G.getStart(R)).line;return ie!==ae}function positionIsASICandidate(N,R,j){var $=E.findAncestor(R,(function(R){if(R.end!==N){return"quit"}return E.syntaxMayBeASICandidate(R.kind)}));return!!$&&nodeIsASICandidate($,j)}E.positionIsASICandidate=positionIsASICandidate;function probablyUsesSemicolons(N){var R=0;var j=0;var $=5;E.forEachChild(N,(function visit(q){if(syntaxRequiresTrailingSemicolonOrASI(q.kind)){var G=q.getLastToken(N);if((G===null||G===void 0?void 0:G.kind)===26){R++}else{j++}}else if(syntaxRequiresTrailingCommaOrSemicolonOrASI(q.kind)){var G=q.getLastToken(N);if((G===null||G===void 0?void 0:G.kind)===26){R++}else if(G&&G.kind!==27){var ie=E.getLineAndCharacterOfPosition(N,G.getStart(N)).line;var ae=E.getLineAndCharacterOfPosition(N,E.getSpanOfTokenAtPosition(N,G.end).start).line;if(ie!==ae){j++}}}if(R+j>=$){return true}return E.forEachChild(q,visit)}));if(R===0&&j<=1){return true}return R/j>1/$}E.probablyUsesSemicolons=probablyUsesSemicolons;function tryGetDirectories(E,N){return tryIOAndConsumeErrors(E,E.getDirectories,N)||[]}E.tryGetDirectories=tryGetDirectories;function tryReadDirectory(N,R,j,$,q){return tryIOAndConsumeErrors(N,N.readDirectory,R,j,$,q)||E.emptyArray}E.tryReadDirectory=tryReadDirectory;function tryFileExists(E,N){return tryIOAndConsumeErrors(E,E.fileExists,N)}E.tryFileExists=tryFileExists;function tryDirectoryExists(N,R){return tryAndIgnoreErrors((function(){return E.directoryProbablyExists(R,N)}))||false}E.tryDirectoryExists=tryDirectoryExists;function tryAndIgnoreErrors(E){try{return E()}catch(E){return undefined}}E.tryAndIgnoreErrors=tryAndIgnoreErrors;function tryIOAndConsumeErrors(E,N){var R=[];for(var j=2;j=0){var q=R[$];E.Debug.assertEqual(q.file,N.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile");return E.cast(q,isDiagnosticWithLocation)}}E.findDiagnosticForNode=findDiagnosticForNode;function getDiagnosticsWithinSpan(N,R){var j;var $=E.binarySearchKey(R,N.start,(function(E){return E.start}),E.compareValues);if($<0){$=~$}while(((j=R[$-1])===null||j===void 0?void 0:j.start)===N.start){$--}var q=[];var G=E.textSpanEnd(N);while(true){var ie=E.tryCast(R[$],isDiagnosticWithLocation);if(!ie||ie.start>G){break}if(E.textSpanContainsTextSpan(N,ie)){q.push(ie)}$++}return q}E.getDiagnosticsWithinSpan=getDiagnosticsWithinSpan;function getRefactorContextSpan(N){var R=N.startPosition,j=N.endPosition;return E.createTextSpanFromBounds(R,j===undefined?R:j)}E.getRefactorContextSpan=getRefactorContextSpan;function getFixableErrorSpanExpression(N,R){var j=getTokenAtPosition(N,R.start);var $=E.findAncestor(j,(function(j){if(j.getStart(N)E.textSpanEnd(R)){return"quit"}return E.isExpression(j)&&textSpansEqual(R,createTextSpanFromNode(j,N))}));return $}E.getFixableErrorSpanExpression=getFixableErrorSpanExpression;function mapOneOrMany(N,R,j){if(j===void 0){j=E.identity}return N?E.isArray(N)?j(E.map(N,R)):R(N,0):undefined}E.mapOneOrMany=mapOneOrMany;function firstOrOnly(N){return E.isArray(N)?E.first(N):N}E.firstOrOnly=firstOrOnly;function getNamesForExportedSymbol(N,R){if(needsNameFromDeclaration(N)){var j=getDefaultLikeExportNameFromDeclaration(N);if(j)return j;var $=E.codefix.moduleSymbolToValidIdentifier(getSymbolParentOrFail(N),R,false);var q=E.codefix.moduleSymbolToValidIdentifier(getSymbolParentOrFail(N),R,true);if($===q)return $;return[$,q]}return N.name}E.getNamesForExportedSymbol=getNamesForExportedSymbol;function getNameForExportedSymbol(N,R,j){if(needsNameFromDeclaration(N)){return getDefaultLikeExportNameFromDeclaration(N)||E.codefix.moduleSymbolToValidIdentifier(getSymbolParentOrFail(N),R,!!j)}return N.name}E.getNameForExportedSymbol=getNameForExportedSymbol;function needsNameFromDeclaration(E){return!(E.flags&33554432)&&(E.escapedName==="export="||E.escapedName==="default")}function getDefaultLikeExportNameFromDeclaration(N){return E.firstDefined(N.declarations,(function(N){var R;return E.isExportAssignment(N)?(R=E.tryCast(E.skipOuterExpressions(N.expression),E.isIdentifier))===null||R===void 0?void 0:R.text:undefined}))}function getSymbolParentOrFail(N){var R;return E.Debug.checkDefined(N.parent,"Symbol parent was undefined. Flags: ".concat(E.Debug.formatSymbolFlags(N.flags),". ")+"Declarations: ".concat((R=N.declarations)===null||R===void 0?void 0:R.map((function(N){var R=E.Debug.formatSyntaxKind(N.kind);var j=E.isInJSFile(N);var $=N.expression;return(j?"[JS]":"")+R+($?" (expression: ".concat(E.Debug.formatSyntaxKind($.kind),")"):"")})).join(", "),"."))}function stringContainsAt(E,N,R){var j=N.length;if(j+R>E.length){return false}for(var $=0;$ze){q.set(Ie,Ue)}}else{q.set(Ie,Ue)}}}}var We=Te===1;var Je=We&&E.getLocalSymbolForExportDefault(ae)||ae;var Ve=Te===0||E.isExternalModuleSymbol(Je)?E.unescapeLeadingUnderscores(ce):E.getNamesForExportedSymbol(Je,undefined);var qe=typeof Ve==="string"?Ve:Ve[0];var He=typeof Ve==="string"?undefined:Ve[1];var Ge=E.stripQuotes(le.name);var Ke=R++;var Qe=E.skipAlias(ae,we);var Xe=ae.flags&33554432?undefined:ae;var Ye=le.flags&33554432?undefined:le;if(!Xe||!Ye)$.set(Ke,[ae,le]);j.add(key(qe,ae,E.isExternalModuleNameRelative(Ge)?undefined:Ge,we),{id:Ke,symbolTableKey:ce,symbolName:qe,capitalizedSymbolName:He,moduleName:Ge,moduleFile:_e,moduleFileName:_e===null||_e===void 0?void 0:_e.fileName,packageName:Ie,exportKind:Te,targetFlags:Qe.flags,isFromPackageJson:Ee,symbol:Xe,moduleSymbol:Ye})},get:function(E,N){if(E!==G)return;var R=j.get(N);return R===null||R===void 0?void 0:R.map(rehydrateCachedInfo)},search:function(E,N,R,$){if(E!==G)return;j.forEach((function(E,j){var q=parseKey(j),G=q.symbolName,ie=q.ambientModuleName;var ae=N&&E[0].capitalizedSymbolName||G;if(R(ae,E[0].targetFlags)){var ce=E.map(rehydrateCachedInfo);var le=ce.filter((function(N,R){return isNotShadowedByDeeperNodeModulesPackage(N,E[R].packageName)}));if(le.length){$(le,ae,!!ie,j)}}}))},releaseSymbols:function(){$.clear()},onFileChanged:function(N,R,j){if(fileIsGlobalOnly(N)&&fileIsGlobalOnly(R)){return false}if(G&&G!==R.path||j&&E.consumesNodeCoreModules(N)!==E.consumesNodeCoreModules(R)||!E.arrayIsEqualTo(N.moduleAugmentations,R.moduleAugmentations)||!ambientModuleDeclarationsAreEqual(N,R)){ie.clear();return true}G=R.path;return false}};if(E.Debug.isDebugging){Object.defineProperty(ie,"__cache",{get:function(){return j}})}return ie;function rehydrateCachedInfo(R){if(R.symbol&&R.moduleSymbol)return R;var j=R.id,q=R.exportKind,G=R.targetFlags,ie=R.isFromPackageJson,ae=R.moduleFileName;var ce=$.get(j)||E.emptyArray,le=ce[0],_e=ce[1];if(le&&_e){return{symbol:le,moduleSymbol:_e,moduleFileName:ae,exportKind:q,targetFlags:G,isFromPackageJson:ie}}var Te=(ie?N.getPackageJsonAutoImportProvider():N.getCurrentProgram()).getTypeChecker();var Ee=R.moduleSymbol||_e||E.Debug.checkDefined(R.moduleFile?Te.getMergedSymbol(R.moduleFile.symbol):Te.tryFindAmbientModule(R.moduleName));var we=R.symbol||le||E.Debug.checkDefined(q===2?Te.resolveExternalModuleSymbol(Ee):Te.tryGetMemberInModuleExportsAndProperties(E.unescapeLeadingUnderscores(R.symbolTableKey),Ee),"Could not find symbol '".concat(R.symbolName,"' by key '").concat(R.symbolTableKey,"' in module ").concat(Ee.name));$.set(j,[we,Ee]);return{symbol:we,moduleSymbol:Ee,moduleFileName:ae,exportKind:q,targetFlags:G,isFromPackageJson:ie}}function key(N,R,j,$){var q=j||"";return"".concat(N,"|").concat(E.getSymbolId(E.skipAlias(R,$)),"|").concat(q)}function parseKey(E){var N=E.substring(0,E.indexOf("|"));var R=E.substring(E.lastIndexOf("|")+1);var j=R===""?undefined:R;return{symbolName:N,ambientModuleName:j}}function fileIsGlobalOnly(E){return!E.commonJsModuleIndicator&&!E.externalModuleIndicator&&!E.moduleAugmentations&&!E.ambientModuleNames}function ambientModuleDeclarationsAreEqual(N,R){if(!E.arrayIsEqualTo(N.ambientModuleNames,R.ambientModuleNames)){return false}var j=-1;var $=-1;var _loop_2=function(q){var isMatchingModuleDeclaration=function(N){return E.isNonGlobalAmbientModule(N)&&N.name.text===q};j=E.findIndex(N.statements,isMatchingModuleDeclaration,j+1);$=E.findIndex(R.statements,isMatchingModuleDeclaration,$+1);if(N.statements[j]!==R.statements[$]){return{value:false}}};for(var q=0,G=R.ambientModuleNames;q=j.length){var Me=getNewEndOfLineState(R,G,E.lastOrUndefined(ae));if(Me!==undefined){Ee=Me}}}while(G!==1);function handleToken(){switch(G){case 43:case 68:if(!N[ie]&&R.reScanSlashToken()===13){G=13}break;case 29:if(ie===79){Ie++}break;case 31:if(Ie>0){Ie--}break;case 130:case 149:case 146:case 133:case 150:if(Ie>0&&!q){G=79}break;case 15:ae.push(G);break;case 18:if(ae.length>0){ae.push(G)}break;case 19:if(ae.length>0){var j=E.lastOrUndefined(ae);if(j===15){G=R.reScanTemplateToken(false);if(G===17){ae.pop()}else{E.Debug.assertEqual(G,16,"Should have been a template middle.")}}else{E.Debug.assertEqual(j,18,"Should have been an open brace");ae.pop()}}break;default:if(!E.isKeyword(G)){break}if(ie===24){G=79}else if(E.isKeyword(ie)&&E.isKeyword(G)&&!canFollow(ie,G)){G=79}}}return{endOfLineState:Ee,spans:we}}return{getClassificationsForLine:getClassificationsForLine,getEncodedLexicalClassifications:getEncodedLexicalClassifications}}E.createClassifier=createClassifier;var N=E.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],(function(E){return E}),(function(){return true}));function getNewEndOfLineState(N,R,j){switch(R){case 10:{if(!N.isUnterminated())return undefined;var $=N.getTokenText();var q=$.length-1;var G=0;while($.charCodeAt(q-G)===92){G++}if((G&1)===0)return undefined;return $.charCodeAt(0)===34?3:2}case 3:return N.isUnterminated()?1:undefined;default:if(E.isTemplateLiteralKind(R)){if(!N.isUnterminated()){return undefined}switch(R){case 17:return 5;case 14:return 4;default:return E.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+R)}}return j===15?6:undefined}}function pushEncodedClassification(E,N,R,j,$){if(j===8){return}if(E===0&&R>0){E+=R}var q=N-E;if(q>0){$.push(E-R,q,j)}}function convertClassificationsToResult(N,R){var j=[];var $=N.spans;var q=0;for(var G=0;G<$.length;G+=3){var ie=$[G];var ae=$[G+1];var ce=$[G+2];if(q>=0){var le=ie-q;if(le>0){j.push({length:le,classification:E.TokenClass.Whitespace})}}j.push({length:ae,classification:convertClassification(ce)});q=ie+ae}var _e=R.length-q;if(_e>0){j.push({length:_e,classification:E.TokenClass.Whitespace})}return{entries:j,finalLexState:N.endOfLineState}}function convertClassification(N){switch(N){case 1:return E.TokenClass.Comment;case 3:return E.TokenClass.Keyword;case 4:return E.TokenClass.NumberLiteral;case 25:return E.TokenClass.BigIntLiteral;case 5:return E.TokenClass.Operator;case 6:return E.TokenClass.StringLiteral;case 8:return E.TokenClass.Whitespace;case 10:return E.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return E.TokenClass.Identifier;default:return undefined}}function canFollow(N,R){if(!E.isAccessibilityModifier(N)){return true}switch(R){case 136:case 148:case 134:case 124:return true;default:return false}}function getPrefixFromLexState(N){switch(N){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:true};case 6:return{prefix:"",pushTemplate:true};case 0:return{prefix:""};default:return E.Debug.assertNever(N)}}function isBinaryExpressionOperatorToken(E){switch(E){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 127:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return true;default:return false}}function isPrefixUnaryExpressionOperatorToken(E){switch(E){case 39:case 40:case 54:case 53:case 45:case 46:return true;default:return false}}function classFromKind(N){if(E.isKeyword(N)){return 3}else if(isBinaryExpressionOperatorToken(N)||isPrefixUnaryExpressionOperatorToken(N)){return 5}else if(N>=18&&N<=78){return 10}switch(N){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:if(E.isTemplateLiteralKind(N)){return 6}return 2}}function getSemanticClassifications(E,N,R,j,$){return convertClassificationsToSpans(getEncodedSemanticClassifications(E,N,R,j,$))}E.getSemanticClassifications=getSemanticClassifications;function checkForClassificationCancellation(E,N){switch(N){case 260:case 256:case 257:case 255:case 225:case 212:case 213:E.throwIfCancellationRequested()}}function getEncodedSemanticClassifications(N,R,j,$,q){var G=[];j.forEachChild((function cb(G){if(!G||!E.textSpanIntersectsWith(q,G.pos,G.getFullWidth())){return}checkForClassificationCancellation(R,G.kind);if(E.isIdentifier(G)&&!E.nodeIsMissing(G)&&$.has(G.escapedText)){var ie=N.getSymbolAtLocation(G);var ae=ie&&classifySymbol(ie,E.getMeaningFromLocation(G),N);if(ae){pushClassification(G.getStart(j),G.getEnd(),ae)}}G.forEachChild(cb)}));return{spans:G,endOfLineState:0};function pushClassification(N,R,j){var $=R-N;E.Debug.assert($>0,"Classification had non-positive length of ".concat($));G.push(N);G.push($);G.push(j)}}E.getEncodedSemanticClassifications=getEncodedSemanticClassifications;function classifySymbol(E,N,R){var j=E.getFlags();if((j&2885600)===0){return undefined}else if(j&32){return 11}else if(j&384){return 12}else if(j&524288){return 16}else if(j&1536){return N&4||N&1&&hasValueSideModule(E)?14:undefined}else if(j&2097152){return classifySymbol(R.getAliasedSymbol(E),N,R)}else if(N&2){return j&64?13:j&262144?15:undefined}else{return undefined}}function hasValueSideModule(N){return E.some(N.declarations,(function(N){return E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)===1}))}function getClassificationTypeName(E){switch(E){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return undefined}}function convertClassificationsToSpans(N){E.Debug.assert(N.spans.length%3===0);var R=N.spans;var j=[];for(var $=0;$])*)(\/>)?)?/im;var q=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim;var G=R.text.substr(N,j);var ie=$.exec(G);if(!ie){return false}if(!ie[3]||!(ie[3]in E.commentPragmas)){return false}var ae=N;pushCommentRange(ae,ie[1].length);ae+=ie[1].length;pushClassification(ae,ie[2].length,10);ae+=ie[2].length;pushClassification(ae,ie[3].length,21);ae+=ie[3].length;var ce=ie[4];var le=ae;while(true){var _e=q.exec(ce);if(!_e){break}var Te=ae+_e.index+_e[1].length;if(Te>le){pushCommentRange(le,Te-le);le=Te}pushClassification(le,_e[2].length,22);le+=_e[2].length;if(_e[3].length){pushCommentRange(le,_e[3].length);le+=_e[3].length}pushClassification(le,_e[4].length,5);le+=_e[4].length;if(_e[5].length){pushCommentRange(le,_e[5].length);le+=_e[5].length}pushClassification(le,_e[6].length,24);le+=_e[6].length}ae+=ie[4].length;if(ae>le){pushCommentRange(le,ae-le)}if(ie[5]){pushClassification(ae,ie[5].length,10);ae+=ie[5].length}var Ee=N+j;if(ae=0);if($>0){var q=R||classifyTokenType(N.kind,N);if(q){pushClassification(j,$,q)}}return true}function tryClassifyJsxElementName(E){switch(E.parent&&E.parent.kind){case 279:if(E.parent.tagName===E){return 19}break;case 280:if(E.parent.tagName===E){return 20}break;case 278:if(E.parent.tagName===E){return 21}break;case 284:if(E.parent.name===E){return 22}break}return undefined}function classifyTokenType(N,R){if(E.isKeyword(N)){return 3}if(N===29||N===31){if(R&&E.getTypeArgumentOrTypeParameterList(R.parent)){return 10}}if(E.isPunctuation(N)){if(R){var j=R.parent;if(N===63){if(j.kind===253||j.kind===166||j.kind===163||j.kind===284){return 5}}if(j.kind===220||j.kind===218||j.kind===219||j.kind===221){return 5}}return 10}else if(N===8){return 4}else if(N===9){return 25}else if(N===10){return R&&R.parent.kind===284?24:6}else if(N===13){return 6}else if(E.isTemplateLiteralKind(N)){return 6}else if(N===11){return 23}else if(N===79){if(R){switch(R.parent.kind){case 256:if(R.parent.name===R){return 11}return;case 162:if(R.parent.name===R){return 15}return;case 257:if(R.parent.name===R){return 13}return;case 259:if(R.parent.name===R){return 12}return;case 260:if(R.parent.name===R){return 14}return;case 163:if(R.parent.name===R){return E.isThisIdentifier(R)?3:17}return}if(E.isConstTypeReference(R.parent)){return 3}}return 2}}function processElement(j){if(!j){return}if(E.decodedTextSpanIntersectsWith($,q,j.pos,j.getFullWidth())){checkForClassificationCancellation(N,j.kind);for(var G=0,ie=j.getChildren(R);G0}))){return 0}if(test((function(E){return E.getCallSignatures().length>0}))&&!test((function(E){return E.getProperties().length>0}))||isExpressionInCallExpression(N)){return R===9?11:10}}}return R}function isLocalDeclaration(N,R){if(E.isBindingElement(N)){N=getDeclarationForBindingElement(N)}if(E.isVariableDeclaration(N)){return(!E.isSourceFile(N.parent.parent.parent)||E.isCatchClause(N.parent))&&N.getSourceFile()===R}else if(E.isFunctionDeclaration(N)){return!E.isSourceFile(N.parent)&&N.getSourceFile()===R}return false}function getDeclarationForBindingElement(N){while(true){if(E.isBindingElement(N.parent.parent)){N=N.parent.parent}else{return N.parent.parent}}}function inImportClause(N){var R=N.parent;return R&&(E.isImportClause(R)||E.isImportSpecifier(R)||E.isNamespaceImport(R))}function isExpressionInCallExpression(N){while(isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return E.isCallExpression(N.parent)&&N.parent.expression===N}function isRightSideOfQualifiedNameOrPropertyAccess(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N}var q=new E.Map([[253,7],[163,6],[166,9],[260,3],[259,1],[297,8],[256,0],[168,11],[255,10],[212,10],[167,11],[171,9],[172,9],[165,9],[257,2],[258,5],[162,4],[294,9],[295,9]])})(R=N.v2020||(N.v2020={}))})(N=E.classifier||(E.classifier={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){function getStringLiteralCompletions(N,R,j,$,q,G,ie,ae){if(E.isInReferenceComment(N,R)){var ce=getTripleSlashReferenceCompletion(N,R,$,q);return ce&&convertPathCompletions(ce)}if(E.isInString(N,R,j)){if(!j||!E.isStringLiteralLike(j))return undefined;var ce=getStringLiteralCompletionEntries(N,j,R,G.getTypeChecker(),$,q,ae);return convertStringLiteralCompletions(ce,j,N,q,G,ie,$,ae)}}R.getStringLiteralCompletions=getStringLiteralCompletions;function convertStringLiteralCompletions(R,j,$,q,G,ie,ae,ce){if(R===undefined){return undefined}var le=E.createTextSpanFromStringLiteralLikeContent(j);switch(R.kind){case 0:return convertPathCompletions(R.paths);case 1:{var _e=E.createSortedArray();N.getCompletionEntriesFromSymbols(R.symbols,_e,j,j,$,$,q,G,99,ie,4,ce,ae,undefined);return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:R.hasIndexSignature,optionalReplacementSpan:le,entries:_e}}case 2:{var _e=R.types.map((function(R){return{name:R.value,kindModifiers:"",kind:"string",sortText:N.SortText.LocationPriority,replacementSpan:E.getReplacementSpanForContextToken(j)}}));return{isGlobalCompletion:false,isMemberCompletion:false,isNewIdentifierLocation:R.isNewIdentifier,optionalReplacementSpan:le,entries:_e}}default:return E.Debug.assertNever(R)}}function getStringLiteralCompletionDetails(N,R,j,$,q,G,ie,ae,ce){if(!$||!E.isStringLiteralLike($))return undefined;var le=getStringLiteralCompletionEntries(R,$,j,q,G,ie,ce);return le&&stringLiteralCompletionDetails(N,$,le,R,q,ae)}R.getStringLiteralCompletionDetails=getStringLiteralCompletionDetails;function stringLiteralCompletionDetails(R,j,$,q,G,ie){switch($.kind){case 0:{var ae=E.find($.paths,(function(E){return E.name===R}));return ae&&N.createCompletionDetails(R,kindModifiersFromExtension(ae.extension),ae.kind,[E.textPart(R)])}case 1:{var ae=E.find($.symbols,(function(E){return E.name===R}));return ae&&N.createCompletionDetailsForSymbol(ae,G,q,j,ie)}case 2:return E.find($.types,(function(E){return E.value===R}))?N.createCompletionDetails(R,"","type",[E.textPart(R)]):undefined;default:return E.Debug.assertNever($)}}function convertPathCompletions(E){var R=false;var j=true;var $=E.map((function(E){var R=E.name,j=E.kind,$=E.span,q=E.extension;return{name:R,kind:j,kindModifiers:kindModifiersFromExtension(q),sortText:N.SortText.LocationPriority,replacementSpan:$}}));return{isGlobalCompletion:R,isMemberCompletion:false,isNewIdentifierLocation:j,entries:$}}function kindModifiersFromExtension(N){switch(N){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return E.Debug.fail("Extension ".concat(".tsbuildinfo"," is unsupported."));case undefined:return"";default:return E.Debug.assertNever(N)}}var $;(function(E){E[E["Paths"]=0]="Paths";E[E["Properties"]=1]="Properties";E[E["Types"]=2]="Types"})($||($={}));function getStringLiteralCompletionEntries(N,R,j,$,q,G,ie){var ae=walkUpParentheses(R.parent);switch(ae.kind){case 195:{var ce=walkUpParentheses(ae.parent);switch(ce.kind){case 177:{var le=ce;var _e=E.findAncestor(ae,(function(E){return E.parent===le}));if(_e){return{kind:2,types:getStringLiteralTypes($.getTypeArgumentConstraint(_e)),isNewIdentifier:false}}return undefined}case 193:var Te=ce,Ee=Te.indexType,we=Te.objectType;if(!E.rangeContainsPosition(Ee,j)){return undefined}return stringLiteralCompletionsFromProperties($.getTypeFromTypeNode(we));case 199:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};case 186:{if(!E.isTypeReferenceNode(ce.parent)){return undefined}var Ie=getAlreadyUsedTypesInStringLiteralUnion(ce,ae);var Ne=getStringLiteralTypes($.getTypeArgumentConstraint(ce)).filter((function(N){return!E.contains(Ie,N.value)}));return{kind:2,types:Ne,isNewIdentifier:false}}default:return undefined}}case 294:if(E.isObjectLiteralExpression(ae.parent)&&ae.name===R){return stringLiteralCompletionsForObjectLiteral($,ae.parent)}return fromContextualType();case 206:{var Me=ae,Le=Me.expression,Be=Me.argumentExpression;if(R===E.skipParentheses(Be)){return stringLiteralCompletionsFromProperties($.getTypeAtLocation(Le))}return undefined}case 207:case 208:if(!isRequireCallArgument(R)&&!E.isImportCall(ae)){var je=E.SignatureHelp.getArgumentInfoForCompletions(R,j,N);return je?getStringLiteralCompletionsFromSignature(je,$):fromContextualType()}case 265:case 271:case 276:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};default:return fromContextualType()}function fromContextualType(){return{kind:2,types:getStringLiteralTypes(E.getContextualTypeFromParent(R,$)),isNewIdentifier:false}}}function walkUpParentheses(N){switch(N.kind){case 190:return E.walkUpParenthesizedTypes(N);case 211:return E.walkUpParenthesizedExpressions(N);default:return N}}function getAlreadyUsedTypesInStringLiteralUnion(N,R){return E.mapDefined(N.types,(function(N){return N!==R&&E.isLiteralTypeNode(N)&&E.isStringLiteral(N.literal)?N.literal.text:undefined}))}function getStringLiteralCompletionsFromSignature(N,R){var j=false;var $=new E.Map;var q=[];R.getResolvedSignature(N.invocation,q,N.argumentCount);var G=E.flatMap(q,(function(R){if(!E.signatureHasRestParameter(R)&&N.argumentCount>R.parameters.length)return;var q=R.getTypeParameterAtPosition(N.argumentIndex);j=j||!!(q.flags&4);return getStringLiteralTypes(q,$)}));return{kind:2,types:G,isNewIdentifier:j}}function stringLiteralCompletionsFromProperties(N){return N&&{kind:1,symbols:E.filter(N.getApparentProperties(),(function(N){return!(N.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(N.valueDeclaration))})),hasIndexSignature:E.hasIndexSignature(N)}}function stringLiteralCompletionsForObjectLiteral(R,j){var $=R.getContextualType(j);if(!$)return undefined;var q=R.getContextualType(j,4);var G=N.getPropertiesForObjectExpression($,q,j,R);return{kind:1,symbols:G,hasIndexSignature:E.hasIndexSignature($)}}function getStringLiteralTypes(N,R){if(R===void 0){R=new E.Map}if(!N)return E.emptyArray;N=E.skipConstraint(N);return N.isUnion()?E.flatMap(N.types,(function(E){return getStringLiteralTypes(E,R)})):N.isStringLiteral()&&!(N.flags&1024)&&E.addToSeen(R,N.value)?[N]:E.emptyArray}function nameAndKind(E,N,R){return{name:E,kind:N,extension:R}}function directoryResult(E){return nameAndKind(E,"directory",undefined)}function addReplacementSpans(N,R,j){var $=getDirectoryFragmentTextSpan(N,R);var q=N.length===0?undefined:E.createTextSpan(R,N.length);return j.map((function(N){var R=N.name,j=N.kind,G=N.extension;return Math.max(R.indexOf(E.directorySeparator),R.indexOf(E.altDirectorySeparator))!==-1?{name:R,kind:j,extension:G,span:q}:{name:R,kind:j,extension:G,span:$}}))}function getStringLiteralCompletionsFromModuleNames(E,N,R,j,$,q){return addReplacementSpans(N.text,N.getStart(E)+1,getStringLiteralCompletionsFromModuleNamesWorker(E,N,R,j,$,q))}function getStringLiteralCompletionsFromModuleNamesWorker(N,R,j,$,q,G){var ie=E.normalizeSlashes(R.text);var ae=N.path;var ce=E.getDirectoryPath(ae);return isPathRelativeToScript(ie)||!j.baseUrl&&(E.isRootedDiskPath(ie)||E.isUrl(ie))?getCompletionEntriesForRelativeModules(ie,ce,j,$,ae,getIncludeExtensionOption()):getCompletionEntriesForNonRelativeModules(ie,ce,j,$,q);function getIncludeExtensionOption(){var j=E.isStringLiteralLike(R)?E.getModeForUsageLocation(N,R):undefined;return G.importModuleSpecifierEnding==="js"||j===E.ModuleKind.ESNext?2:0}}function getExtensionOptions(N,R){if(R===void 0){R=0}return{extensions:E.flatten(getSupportedExtensionsForModuleResolution(N)),includeExtensionsOption:R}}function getCompletionEntriesForRelativeModules(E,N,R,j,$,q){var G=getExtensionOptions(R,q);if(R.rootDirs){return getCompletionEntriesForDirectoryFragmentWithRootDirs(R.rootDirs,E,N,G,R,j,$)}else{return getCompletionEntriesForDirectoryFragment(E,N,G,j,$)}}function getSupportedExtensionsForModuleResolution(N){var R=E.getSupportedExtensions(N);return E.getEmitModuleResolutionKind(N)===E.ModuleResolutionKind.NodeJs?E.getSupportedExtensionsWithJsonIfResolveJsonModule(N,R):R}function getBaseDirectoriesFromRootDirs(N,R,$,q){N=N.map((function(N){return E.normalizePath(E.isRootedDiskPath(N)?N:E.combinePaths(R,N))}));var G=E.firstDefined(N,(function(N){return E.containsPath(N,$,R,q)?$.substr(N.length):undefined}));return E.deduplicate(j(j([],N.map((function(N){return E.combinePaths(N,G)})),true),[$],false),E.equateStringsCaseSensitive,E.compareStringsCaseSensitive)}function getCompletionEntriesForDirectoryFragmentWithRootDirs(N,R,j,$,q,G,ie){var ae=q.project||G.getCurrentDirectory();var ce=!(G.useCaseSensitiveFileNames&&G.useCaseSensitiveFileNames());var le=getBaseDirectoriesFromRootDirs(N,ae,j,ce);return E.flatMap(le,(function(E){return getCompletionEntriesForDirectoryFragment(R,E,$,G,ie)}))}var q;(function(E){E[E["Exclude"]=0]="Exclude";E[E["Include"]=1]="Include";E[E["ModuleSpecifierCompletion"]=2]="ModuleSpecifierCompletion"})(q||(q={}));function getCompletionEntriesForDirectoryFragment(N,R,j,$,q,G){var ie=j.extensions,ae=j.includeExtensionsOption;if(G===void 0){G=[]}if(N===undefined){N=""}N=E.normalizeSlashes(N);if(!E.hasTrailingDirectorySeparator(N)){N=E.getDirectoryPath(N)}if(N===""){N="."+E.directorySeparator}N=E.ensureTrailingDirectorySeparator(N);var ce=E.resolvePath(R,N);var le=E.hasTrailingDirectorySeparator(ce)?ce:E.getDirectoryPath(ce);var _e=!($.useCaseSensitiveFileNames&&$.useCaseSensitiveFileNames());if(!E.tryDirectoryExists($,le))return G;var Te=E.tryReadDirectory($,le,ie,undefined,["./*"]);if(Te){var Ee=new E.Map;for(var we=0,Ie=Te;we=E.pos&&R<=E.end}));if(!ae){return undefined}var ce=N.text.slice(ae.pos,R);var le=G.exec(ce);if(!le){return undefined}var _e=le[1],Te=le[2],Ee=le[3];var we=E.getDirectoryPath(N.path);var Ie=Te==="path"?getCompletionEntriesForDirectoryFragment(Ee,we,getExtensionOptions(j,1),$,N.path):Te==="types"?getCompletionEntriesFromTypings($,j,we,getFragmentDirectory(Ee),getExtensionOptions(j)):E.Debug.fail();return addReplacementSpans(Ee,ae.pos+_e.length,Ie)}function getCompletionEntriesFromTypings(N,R,j,$,q,G){if(G===void 0){G=[]}var ie=new E.Map;var ae=E.tryAndIgnoreErrors((function(){return E.getEffectiveTypeRoots(R,N)}))||E.emptyArray;for(var ce=0,le=ae;ce=2&&E.charCodeAt(0)===46){var N=E.length>=3&&E.charCodeAt(1)===46?2:1;var R=E.charCodeAt(N);return R===47||R===92}return false}var G=/^(\/\/\/\s*");var ce=E.createTextSpanFromNode($.tagName);var le={name:ae,kind:"class",kindModifiers:undefined,sortText:R.LocationPriority};return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:false,optionalReplacementSpan:ce,entries:[le]}}return}function getJSCompletionEntries(N,j,$,q,G){E.getNameTable(N).forEach((function(N,ie){if(N===j){return}var ae=E.unescapeLeadingUnderscores(ie);if(!$.has(ae)&&E.isIdentifierText(ae,q)){$.add(ae);E.insertSorted(G,{name:ae,kind:"warning",kindModifiers:"",sortText:R.JavascriptIdentifiers,isFromUncheckedFile:true},compareCompletionEntries)}}))}function completionNameForLiteral(N,R,j){return typeof j==="object"?E.pseudoBigIntToString(j)+"n":E.isString(j)?E.quote(N,R,j):JSON.stringify(j)}function createCompletionEntryForLiteral(E,N,j){return{name:completionNameForLiteral(E,N,j),kind:"string",kindModifiers:"",sortText:R.LocationPriority}}function createCompletionEntry(N,R,j,$,G,ie,ae,ce,le,_e,Te,Ee,we,Ie,Ne,Me,Le,Be,je,Ue,ze,We){var Je,Ve;var qe;var He=E.getReplacementSpanForContextToken(j);var Ge;var Ke;var Qe=getSourceFromOrigin(Te);var Xe;var Ye;var Ze=ce.getTypeChecker();var et=Te&&originIsNullableMember(Te);var tt=Te&&originIsSymbolMember(Te)||_e;if(Te&&originIsThisType(Te)){qe=_e?"this".concat(et?"?.":"","[").concat(quotePropertyName(ie,Be,le),"]"):"this".concat(et?"?.":".").concat(le)}else if((tt||et)&&we){qe=tt?_e?"[".concat(quotePropertyName(ie,Be,le),"]"):"[".concat(le,"]"):le;if(et||we.questionDotToken){qe="?.".concat(qe)}var rt=E.findChildOfKind(we,24,ie)||E.findChildOfKind(we,28,ie);if(!rt){return undefined}var nt=E.startsWith(le,we.name.text)?we.name.end:rt.end;He=E.createTextSpanFromBounds(rt.getStart(ie),nt)}if(Ie){if(qe===undefined)qe=le;qe="{".concat(qe,"}");if(typeof Ie!=="boolean"){He=E.createTextSpanFromNode(Ie,ie)}}if(Te&&originIsPromise(Te)&&we){if(qe===undefined)qe=le;var it=E.findPrecedingToken(we.pos,ie);var ot="";if(it&&E.positionIsASICandidate(it.end,it.parent,ie)){ot=";"}ot+="(await ".concat(we.expression.getText(),")");qe=_e?"".concat(ot).concat(qe):"".concat(ot).concat(et?"?.":".").concat(qe);He=E.createTextSpanFromBounds(we.getStart(ie),we.end)}if(originIsResolvedExport(Te)){Xe=[E.textPart(Te.moduleSpecifier)];if(Ne){Je=getInsertTextAndReplacementSpanForImportCompletion(le,Ne,$,Te,Me,Le,Be),qe=Je.insertText,He=Je.replacementSpan;Ke=Be.includeCompletionsWithSnippetText?true:undefined}}if((Te===null||Te===void 0?void 0:Te.kind)===64){Ye=true}if(Be.includeCompletionsWithClassMemberSnippets&&Be.includeCompletionsWithInsertText&&je===3&&isClassLikeMemberCompletion(N,G)){var st=void 0;Ve=getEntryForMemberCompletion(ae,ce,Le,Be,le,N,G,$,Ue),qe=Ve.insertText,Ke=Ve.isSnippet,st=Ve.importAdder;if(st===null||st===void 0?void 0:st.hasFixes()){Ye=true;Qe=q.ClassMemberSnippet}}if(ze&&!We&&Be.includeCompletionsWithSnippetText&&Be.jsxAttributeCompletionStyle&&Be.jsxAttributeCompletionStyle!=="none"){var ct=Be.jsxAttributeCompletionStyle==="braces";var ut=Ze.getTypeOfSymbolAtLocation(N,G);if(Be.jsxAttributeCompletionStyle==="auto"&&!(ut.flags&528)&&!(ut.flags&1048576&&E.find(ut.types,(function(E){return!!(E.flags&528)})))){if(ut.flags&402653316||ut.flags&1048576&&E.every(ut.types,(function(E){return!!(E.flags&(402653316|32768))}))){qe="".concat(E.escapeSnippetText(le),"=").concat(E.quote(ie,Be,"$1"));Ke=true}else{ct=true}}if(ct){qe="".concat(E.escapeSnippetText(le),"={$1}");Ke=true}}if(qe!==undefined&&!Be.includeCompletionsWithInsertText){return undefined}if(originIsExport(Te)||originIsResolvedExport(Te)){Ge=originToCompletionEntryData(Te);Ye=!Ne}return{name:le,kind:E.SymbolDisplay.getSymbolKind(Ze,N,G),kindModifiers:E.SymbolDisplay.getSymbolModifiers(Ze,N),sortText:R,source:Qe,hasAction:Ye?true:undefined,isRecommended:isRecommendedCompletionMatch(N,Ee,Ze)||undefined,insertText:qe,replacementSpan:He,sourceDisplay:Xe,isSnippet:Ke,isPackageJsonImport:originIsPackageJsonImport(Te)||undefined,isImportStatementCompletion:!!Ne||undefined,data:Ge}}function isClassLikeMemberCompletion(N,R){if(E.isInJSFile(R)){return false}var j=106500&900095;return!!(N.flags&j)&&(E.isClassLike(R)||R.parent&&R.parent.parent&&E.isClassElement(R.parent)&&R===R.parent.name&&E.isClassLike(R.parent.parent)||R.parent&&E.isSyntaxList(R)&&E.isClassLike(R.parent))}function getEntryForMemberCompletion(N,R,j,q,G,ie,ae,ce,le){var _e=E.findAncestor(ae,E.isClassLike);if(!_e){return{insertText:G}}var Te;var Ee=G;var we=R.getTypeChecker();var Ie=ae.getSourceFile();var Ne=createSnippetPrinter({removeComments:true,module:j.module,target:j.target,omitTrailingSemicolon:false,newLine:E.getNewLineKind(E.getNewLineCharacter(j,E.maybeBind(N,N.getNewLine)))});var Me=E.codefix.createImportAdder(Ie,R,q,N);var Le;if(q.includeCompletionsWithSnippetText){Te=true;var Be=E.factory.createEmptyStatement();Le=E.factory.createBlock([Be],true);E.setSnippetElement(Be,{kind:0,order:0})}else{Le=E.factory.createBlock([],true)}var je=0;var Ue=ce&&isModifierLike(ce)===126;var ze=[];E.codefix.addNewNodeForMemberSymbol(ie,_e,Ie,{program:R,host:N},q,Me,(function(N){var R=0;if(Ue){R|=128}if(E.isClassElement(N)&&we.getMemberOverrideModifierStatus(_e,N)===1){R|=16384}var j=0;if(!ze.length){if(ce){j=getPresentModifiers(ce)}je=N.modifierFlagsCache|R|j}N=E.factory.updateModifiers(N,je&~j);ze.push(N)}),Le,2,Ue);if(ze.length){if(le){var We={text:Ne.printSnippetList(1|131072,E.factory.createNodeArray(ze),Ie),getLineAndCharacterOfPosition:function(N){return E.getLineAndCharacterOfPosition(this,N)}};var Je=E.getFormatCodeSettingsForWriting(le,Ie);var Ve=E.flatMap(ze,(function(N){var R=E.textChanges.assignPositionsToNode(N);return E.formatting.formatNodeGivenIndentation(R,We,Ie.languageVariant,0,0,$($({},le),{options:Je}))}));Ee=E.textChanges.applyChanges(We.text,Ve)}else{Ee=Ne.printSnippetList(1|131072,E.factory.createNodeArray(ze),Ie)}}return{insertText:Ee,isSnippet:Te,importAdder:Me}}function getPresentModifiers(N){var R=0;var j;if(j=isModifierLike(N)){R|=E.modifierToFlag(j)}if(E.isPropertyDeclaration(N.parent)){R|=E.modifiersToFlags(N.parent.modifiers)}return R}function isModifierLike(N){if(E.isModifier(N)){return N.kind}if(E.isIdentifier(N)&&N.originalKeywordKind&&E.isModifierKind(N.originalKeywordKind)){return N.originalKeywordKind}return undefined}function createSnippetPrinter(N){var R=E.textChanges.createWriter(E.getNewLineCharacter(N));var j=E.createPrinter(N,R);var q=$($({},R),{write:function(N){return R.write(E.escapeSnippetText(N))},nonEscapingWrite:R.write,writeLiteral:function(N){return R.writeLiteral(E.escapeSnippetText(N))},writeStringLiteral:function(N){return R.writeStringLiteral(E.escapeSnippetText(N))},writeSymbol:function(N,j){return R.writeSymbol(E.escapeSnippetText(N),j)},writeParameter:function(N){return R.writeParameter(E.escapeSnippetText(N))},writeComment:function(N){return R.writeComment(E.escapeSnippetText(N))},writeProperty:function(N){return R.writeProperty(E.escapeSnippetText(N))}});return{printSnippetList:printSnippetList};function printSnippetList(E,N,R){q.clear();j.writeList(E,N,R,q);return q.getText()}}function originToCompletionEntryData(N){var R=N.fileName?undefined:E.stripQuotes(N.moduleSymbol.name);var j=N.isFromPackageJson?true:undefined;if(originIsResolvedExport(N)){var $={exportName:N.exportName,moduleSpecifier:N.moduleSpecifier,ambientModuleName:R,fileName:N.fileName,isPackageJsonImport:j};return $}var q={exportName:N.exportName,exportMapKey:N.exportMapKey,fileName:N.fileName,ambientModuleName:N.fileName?undefined:E.stripQuotes(N.moduleSymbol.name),isPackageJsonImport:N.isFromPackageJson?true:undefined};return q}function completionEntryDataToSymbolOriginInfo(E,N,R){var j=E.exportName==="default";var $=!!E.isPackageJsonImport;if(completionEntryDataIsResolved(E)){var q={kind:32,exportName:E.exportName,moduleSpecifier:E.moduleSpecifier,symbolName:N,fileName:E.fileName,moduleSymbol:R,isDefaultExport:j,isFromPackageJson:$};return q}var G={kind:4,exportName:E.exportName,exportMapKey:E.exportMapKey,symbolName:N,fileName:E.fileName,moduleSymbol:R,isDefaultExport:j,isFromPackageJson:$};return G}function getInsertTextAndReplacementSpanForImportCompletion(N,R,j,$,q,G,ie){var ae,ce,le;var _e=R.getSourceFile();var Te=E.createTextSpanFromNode(E.findAncestor(R,E.or(E.isImportDeclaration,E.isImportEqualsDeclaration))||R,_e);var Ee=E.quote(_e,ie,$.moduleSpecifier);var we=$.isDefaultExport?1:$.exportName==="export="?2:0;var Ie=ie.includeCompletionsWithSnippetText?"$1":"";var Ne=E.codefix.getImportKind(_e,we,G,true);var Me=((ce=(ae=E.tryCast(R,E.isImportDeclaration))===null||ae===void 0?void 0:ae.importClause)===null||ce===void 0?void 0:ce.isTypeOnly)||((le=E.tryCast(R,E.isImportEqualsDeclaration))===null||le===void 0?void 0:le.isTypeOnly);var Le=couldBeTypeOnlyImportSpecifier(R,j);var Be=Me?" ".concat(E.tokenToString(151)," "):" ";var je=Le?"".concat(E.tokenToString(151)," "):"";var Ue=q?";":"";switch(Ne){case 3:return{replacementSpan:Te,insertText:"import".concat(Be).concat(E.escapeSnippetText(N)).concat(Ie," = require(").concat(Ee,")").concat(Ue)};case 1:return{replacementSpan:Te,insertText:"import".concat(Be).concat(E.escapeSnippetText(N)).concat(Ie," from ").concat(Ee).concat(Ue)};case 2:return{replacementSpan:Te,insertText:"import".concat(Be,"* as ").concat(E.escapeSnippetText(N)," from ").concat(Ee).concat(Ue)};case 0:return{replacementSpan:Te,insertText:"import".concat(Be,"{ ").concat(je).concat(E.escapeSnippetText(N)).concat(Ie," } from ").concat(Ee).concat(Ue)}}}function quotePropertyName(N,R,j){if(/^\d+$/.test(j)){return j}return E.quote(N,R,j)}function isRecommendedCompletionMatch(E,N,R){return E===N||!!(E.flags&1048576)&&R.getExportSymbolOfSymbol(E)===N}function getSourceFromOrigin(N){if(originIsExport(N)){return E.stripQuotes(N.moduleSymbol.name)}if(originIsResolvedExport(N)){return N.moduleSpecifier}if((N===null||N===void 0?void 0:N.kind)===1){return q.ThisProperty}if((N===null||N===void 0?void 0:N.kind)===64){return q.TypeOnlyAlias}}function getCompletionEntriesFromSymbols(N,R,j,$,q,G,ie,ae,ce,le,_e,Te,Ee,we,Ie,Ne,Me,Le,Be,je,Ue,ze,We,Je){var Ve;var qe=E.timestamp();var He=getVariableDeclaration(q);var Ge=E.probablyUsesSemicolons(G);var Ke=ae.getTypeChecker();var Qe=new E.Map;for(var Xe=0;Xe90))return false;if(ie)return true;return charactersFuzzyMatchInString(N,le)}),(function(R,j,$,q){if(ie&&!E.some(R,(function(N){return ie.source===E.stripQuotes(N.moduleSymbol.name)}))){return}var G=E.find(R,isImportableExportInfo);if(!G){return}var ae=N.tryResolve(R,$)||{},ce=ae.exportInfo,le=ce===void 0?G:ce,_e=ae.moduleSpecifier;var Te=le.exportKind===1;var Ee=Te&&E.getLocalSymbolForExportDefault(le.symbol)||le.symbol;pushAutoImportSymbol(Ee,{kind:_e?32:4,moduleSpecifier:_e,symbolName:j,exportMapKey:q,exportName:le.exportKind===2?"export=":le.symbol.name,fileName:le.moduleFileName,isDefaultExport:Te,moduleSymbol:le.moduleSymbol,isFromPackageJson:le.isFromPackageJson})}));st=N.resolutionLimitExceeded()}));function isImportableExportInfo(R){var $=E.tryCast(R.moduleSymbol.valueDeclaration,E.isSourceFile);if(!$){var q=E.stripQuotes(R.moduleSymbol.name);if(E.JsTyping.nodeCoreModules.has(q)&&E.startsWith(q,"node:")!==E.shouldUseUriStyleNodeCoreModules(j,N)){return false}return we?we.allowsImportingAmbientModule(R.moduleSymbol,mt(R.isFromPackageJson)):true}return E.isImportableFile(R.isFromPackageJson?Ee:N,j,$,G,we,mt(R.isFromPackageJson),_e)}}function pushAutoImportSymbol(N,R){var j=E.getSymbolId(N);if(dt[j]===15){return}ut[ct.length]=R;dt[j]=Qe?11:16;ct.push(N)}function getScopeNode(N,R,j){var $=N;while($&&!E.positionBelongsToNode($,R,j)){$=$.parent}return $}function isCompletionListBlocker(N){var j=E.timestamp();var $=isInStringOrRegularExpressionOrTemplateLiteral(N)||isSolelyIdentifierDefinitionLocation(N)||isDotOfNumericLiteral(N)||isInJsxText(N)||E.isBigIntLiteral(N);R("getCompletionsAtPosition: isCompletionListBlocker: "+(E.timestamp()-j));return $}function isInJsxText(E){if(E.kind===11){return true}if(E.kind===31&&E.parent){if(Xe===E.parent&&(Xe.kind===279||Xe.kind===278)){return false}if(E.parent.kind===279){return Xe.parent.kind!==279}if(E.parent.kind===280||E.parent.kind===278){return!!E.parent.parent&&E.parent.parent.kind===277}}return false}function isNewIdentifierDefinitionLocation(){if(Ue){var E=Ue.parent.kind;var N=keywordForNode(Ue);switch(N){case 27:return E===207||E===170||E===208||E===203||E===220||E===178||E===204;case 20:return E===207||E===170||E===208||E===211||E===190;case 22:return E===203||E===175||E===161;case 141:case 142:case 100:return true;case 24:return E===260;case 18:return E===256||E===204;case 63:return E===253||E===220;case 15:return E===222;case 16:return E===232;case 131:return E===168||E===295;case 41:return E===168}if(isClassMemberCompletionKeyword(N)){return true}}return false}function isInStringOrRegularExpressionOrTemplateLiteral(N){return(E.isRegularExpressionLiteral(N)||E.isStringTextContainingNode(N))&&(E.rangeContainsPositionExclusive(E.createTextRangeFromSpan(E.createTextSpanFromNode(N)),q)||q===N.end&&(!!N.isUnterminated||E.isRegularExpressionLiteral(N)))}function tryGetObjectTypeLiteralInTypeArgumentCompletionSymbols(){var N=tryGetTypeLiteralNode(Ue);if(!N)return 0;var R=E.isIntersectionTypeNode(N.parent)?N.parent:undefined;var j=R||N;var $=getConstraintOfTypeArgumentProperty(j,le);if(!$)return 0;var q=le.getTypeFromTypeNode(j);var G=getPropertiesForCompletion($,le);var ie=getPropertiesForCompletion(q,le);var ae=new E.Set;ie.forEach((function(E){return ae.add(E.escapedName)}));ct=E.concatenate(ct,E.filter(G,(function(E){return!ae.has(E.escapedName)})));it=0;Ze=true;return 1}function tryGetObjectLikeCompletionSymbols(){var N=tryGetObjectLikeCompletionContainer(Ue);if(!N)return 0;it=0;var R;var j;if(N.kind===204){var $=tryGetObjectLiteralContextualType(N,le);if($===undefined){if(N.flags&16777216){return 2}ot=true;return 0}var q=le.getContextualType(N,4);var G=(q||$).getStringIndexType();var ie=(q||$).getNumberIndexType();Ze=!!G||!!ie;R=getPropertiesForObjectExpression($,q,N,le);j=N.properties;if(R.length===0){if(!ie){ot=true;return 0}}}else{E.Debug.assert(N.kind===200);Ze=false;var ae=E.getRootDeclaration(N.parent);if(!E.isVariableLike(ae))return E.Debug.fail("Root declaration is not variable-like.");var ce=E.hasInitializer(ae)||E.hasType(ae)||ae.parent.parent.kind===243;if(!ce&&ae.kind===163){if(E.isExpression(ae.parent)){ce=!!le.getContextualType(ae.parent)}else if(ae.parent.kind===168||ae.parent.kind===172){ce=E.isExpression(ae.parent.parent)&&!!le.getContextualType(ae.parent.parent)}}if(ce){var _e=le.getTypeAtLocation(N);if(!_e)return 2;R=le.getPropertiesOfType(_e).filter((function(E){return le.isPropertyAccessible(N,false,false,_e,E)}));j=N.elements}}if(R&&R.length>0){ct=E.concatenate(ct,filterObjectMembersList(R,E.Debug.checkDefined(j)))}setSortTextToOptionalMember();return 1}function tryGetImportOrExportClauseCompletionSymbols(){if(!Ue)return 0;var N=Ue.kind===18||Ue.kind===27?E.tryCast(Ue.parent,E.isNamedImportsOrExports):E.isTypeKeywordTokenOrIdentifier(Ue)?E.tryCast(Ue.parent.parent,E.isNamedImportsOrExports):undefined;if(!N)return 0;if(!E.isTypeKeywordTokenOrIdentifier(Ue)){Ye=8}var R=(N.kind===268?N.parent.parent:N.parent).moduleSpecifier;if(!R){Ze=true;return N.kind===268?2:0}var j=le.getSymbolAtLocation(R);if(!j){Ze=true;return 2}it=3;Ze=false;var $=le.getExportsAndPropertiesOfModule(j);var q=new E.Set(N.elements.filter((function(E){return!isCurrentlyEditingNode(E)})).map((function(E){return(E.propertyName||E.name).escapedText})));var G=$.filter((function(E){return E.escapedName!=="default"&&!q.has(E.escapedName)}));ct=E.concatenate(ct,G);if(!G.length){Ye=0}return 1}function tryGetLocalNamedExportCompletionSymbols(){var N;var R=Ue&&(Ue.kind===18||Ue.kind===27)?E.tryCast(Ue.parent,E.isNamedExports):undefined;if(!R){return 0}var j=E.findAncestor(R,E.or(E.isSourceFile,E.isModuleDeclaration));it=5;Ze=false;(N=j.locals)===null||N===void 0?void 0:N.forEach((function(N,R){var $,q;ct.push(N);if((q=($=j.symbol)===null||$===void 0?void 0:$.exports)===null||q===void 0?void 0:q.has(R)){dt[E.getSymbolId(N)]=12}}));return 1}function tryGetClassLikeCompletionSymbols(){var N=tryGetObjectTypeDeclarationCompletionContainer(j,Ue,Xe,q);if(!N)return 0;it=3;Ze=true;Ye=Ue.kind===41?0:E.isClassLike(N)?2:3;if(!E.isClassLike(N))return 1;var R=Ue.kind===26?Ue.parent.parent:Ue.parent;var $=E.isClassElement(R)?E.getEffectiveModifierFlags(R):0;if(Ue.kind===79&&!isCurrentlyEditingNode(Ue)){switch(Ue.getText()){case"private":$=$|8;break;case"static":$=$|32;break;case"override":$=$|16384;break}}if(E.isClassStaticBlockDeclaration(R)){$|=32}if(!($&8)){var G=E.isClassLike(N)&&$&16384?E.singleElementArray(E.getEffectiveBaseTypeNode(N)):E.getAllSuperTypeNodes(N);var ie=E.flatMap(G,(function(E){var R=le.getTypeAtLocation(E);return $&32?(R===null||R===void 0?void 0:R.symbol)&&le.getPropertiesOfType(le.getTypeOfSymbolAtLocation(R.symbol,N)):R&&le.getPropertiesOfType(R)}));ct=E.concatenate(ct,filterClassMembersList(ie,N.members,$))}return 1}function tryGetObjectLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 18:case 27:if(E.isObjectLiteralExpression(R)||E.isObjectBindingPattern(R)){return R}break;case 41:return E.isMethodDeclaration(R)?E.tryCast(R.parent,E.isObjectLiteralExpression):undefined;case 79:return N.text==="async"&&E.isShorthandPropertyAssignment(N.parent)?N.parent.parent:undefined}}return undefined}function isConstructorParameterCompletion(N){return!!N.parent&&E.isParameter(N.parent)&&E.isConstructorDeclaration(N.parent.parent)&&(E.isParameterPropertyModifier(N.kind)||E.isDeclarationName(N))}function tryGetConstructorLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 20:case 27:return E.isConstructorDeclaration(N.parent)?N.parent:undefined;default:if(isConstructorParameterCompletion(N)){return R.parent}}}return undefined}function tryGetFunctionLikeBodyCompletionContainer(N){if(N){var R;var j=E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)){return"quit"}if(E.isFunctionLikeDeclaration(N)&&R===N.body){return true}R=N;return false}));return j&&j}}function tryGetContainingJsxElement(N){if(N){var R=N.parent;switch(N.kind){case 31:case 30:case 43:case 79:case 205:case 285:case 284:case 286:if(R&&(R.kind===278||R.kind===279)){if(N.kind===31){var $=E.findPrecedingToken(N.pos,j,undefined);if(!R.typeArguments||$&&$.kind===43)break}return R}else if(R.kind===284){return R.parent.parent}break;case 10:if(R&&(R.kind===284||R.kind===286)){return R.parent.parent}break;case 19:if(R&&R.kind===287&&R.parent&&R.parent.kind===284){return R.parent.parent.parent}if(R&&R.kind===286){return R.parent.parent}break}}return undefined}function isSolelyIdentifierDefinitionLocation(N){var R=N.parent;var j=R.kind;switch(N.kind){case 27:return j===253||isVariableDeclarationListButNotTypeArgument(N)||j===236||j===259||isFunctionLikeButNotConstructor(j)||j===257||j===201||j===258||E.isClassLike(R)&&!!R.typeParameters&&R.typeParameters.end>=N.pos;case 24:return j===201;case 58:return j===202;case 22:return j===201;case 20:return j===291||isFunctionLikeButNotConstructor(j);case 18:return j===259;case 29:return j===256||j===225||j===257||j===258||E.isFunctionLikeKind(j);case 124:return j===166&&!E.isClassLike(R.parent);case 25:return j===163||!!R.parent&&R.parent.kind===201;case 123:case 121:case 122:return j===163&&!E.isConstructorDeclaration(R.parent);case 127:return j===269||j===274||j===267;case 136:case 148:return!isFromObjectTypeDeclaration(N);case 79:if(j===269&&N===R.name&&N.text==="type"){return false}break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 137:return true;case 151:return j!==269;case 41:return E.isFunctionLike(N.parent)&&!E.isMethodDeclaration(N.parent)}if(isClassMemberCompletionKeyword(keywordForNode(N))&&isFromObjectTypeDeclaration(N)){return false}if(isConstructorParameterCompletion(N)){if(!E.isIdentifier(N)||E.isParameterPropertyModifier(keywordForNode(N))||isCurrentlyEditingNode(N)){return false}}switch(keywordForNode(N)){case 126:case 84:case 85:case 135:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return true;case 131:return E.isPropertyDeclaration(N.parent)}var $=E.findAncestor(N.parent,E.isClassLike);if($&&N===je&&isPreviousPropertyDeclarationTerminated(N,q)){return false}var G=E.getAncestor(N.parent,166);if(G&&N!==je&&E.isClassLike(je.parent.parent)&&q<=je.end){if(isPreviousPropertyDeclarationTerminated(N,je.end)){return false}else if(N.kind!==63&&(E.isInitializedProperty(G)||E.hasType(G))){return true}}return E.isDeclarationName(N)&&!E.isShorthandPropertyAssignment(N.parent)&&!E.isJsxAttribute(N.parent)&&!(E.isClassLike(N.parent)&&(N!==je||q>je.end))}function isPreviousPropertyDeclarationTerminated(N,R){return N.kind!==63&&(N.kind===26||!E.positionsAreOnSameLine(N.end,R,j))}function isFunctionLikeButNotConstructor(N){return E.isFunctionLikeKind(N)&&N!==170}function isDotOfNumericLiteral(E){if(E.kind===8){var N=E.getFullText();return N.charAt(N.length-1)==="."}return false}function isVariableDeclarationListButNotTypeArgument(N){return N.parent.kind===254&&!E.isPossiblyTypeArgumentPosition(N,j,le)}function filterObjectMembersList(N,R){if(R.length===0){return N}var j=new E.Set;var $=new E.Set;for(var q=0,G=R;q=0;$--){if(pushKeywordIf(R,j[$],115)){break}}}}E.forEach(aggregateAllBreakAndContinueStatements(N.statement),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81,86)}}));return R}function getBreakOrContinueStatementOccurrences(E){var N=getBreakOrContinueOwner(E);if(N){switch(N.kind){case 241:case 242:case 243:case 239:case 240:return getLoopBreakContinueOccurrences(N);case 248:return getSwitchCaseDefaultOccurrences(N)}}return undefined}function getSwitchCaseDefaultOccurrences(N){var R=[];pushKeywordIf(R,N.getFirstToken(),107);E.forEach(N.caseBlock.clauses,(function(j){pushKeywordIf(R,j.getFirstToken(),82,88);E.forEach(aggregateAllBreakAndContinueStatements(j),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81)}}))}));return R}function getTryCatchFinallyOccurrences(N,R){var j=[];pushKeywordIf(j,N.getFirstToken(),111);if(N.catchClause){pushKeywordIf(j,N.catchClause.getFirstToken(),83)}if(N.finallyBlock){var $=E.findChildOfKind(N,96,R);pushKeywordIf(j,$,96)}return j}function getThrowOccurrences(N,R){var j=getThrowStatementOwner(N);if(!j){return undefined}var $=[];E.forEach(aggregateOwnedThrowStatements(j),(function(N){$.push(E.findChildOfKind(N,109,R))}));if(E.isFunctionBlock(j)){E.forEachReturnStatement(j,(function(N){$.push(E.findChildOfKind(N,105,R))}))}return $}function getReturnOccurrences(N,R){var j=E.getContainingFunction(N);if(!j){return undefined}var $=[];E.forEachReturnStatement(E.cast(j.body,E.isBlock),(function(N){$.push(E.findChildOfKind(N,105,R))}));E.forEach(aggregateOwnedThrowStatements(j.body),(function(N){$.push(E.findChildOfKind(N,109,R))}));return $}function getAsyncAndAwaitOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];if(R.modifiers){R.modifiers.forEach((function(E){pushKeywordIf(j,E,131)}))}E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isAwaitExpression(N)){pushKeywordIf(j,N.getFirstToken(),132)}}))}));return j}function getYieldOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isYieldExpression(N)){pushKeywordIf(j,N.getFirstToken(),125)}}))}));return j}function traverseWithoutCrossingFunction(N,R){R(N);if(!E.isFunctionLike(N)&&!E.isClassLike(N)&&!E.isInterfaceDeclaration(N)&&!E.isModuleDeclaration(N)&&!E.isTypeAliasDeclaration(N)&&!E.isTypeNode(N)){E.forEachChild(N,(function(E){return traverseWithoutCrossingFunction(E,R)}))}}function getIfElseOccurrences(N,R){var j=getIfElseKeywords(N,R);var $=[];for(var q=0;q=G.end;ce--){if(!E.isWhiteSpaceSingleLine(R.text.charCodeAt(ce))){ae=false;break}}if(ae){$.push({fileName:R.fileName,textSpan:E.createTextSpanFromBounds(G.getStart(),ie.end),kind:"reference"});q++;continue}}$.push(getHighlightSpanForNode(j[q],R))}return $}function getIfElseKeywords(N,R){var j=[];while(E.isIfStatement(N.parent)&&N.parent.elseStatement===N){N=N.parent}while(true){var $=N.getChildren(R);pushKeywordIf(j,$[0],99);for(var q=$.length-1;q>=0;q--){if(pushKeywordIf(j,$[q],91)){break}}if(!N.elseStatement||!E.isIfStatement(N.elseStatement)){break}N=N.elseStatement}return j}function isLabeledBy(N,R){return!!E.findAncestor(N.parent,(function(N){return!E.isLabeledStatement(N)?"quit":N.label.escapedText===R}))}})(N=E.DocumentHighlights||(E.DocumentHighlights={}))})(ce||(ce={}));var ce;(function(E){function isDocumentRegistryEntry(E){return!!E.sourceFile}function createDocumentRegistry(E,N){return createDocumentRegistryInternal(E,N)}E.createDocumentRegistry=createDocumentRegistry;function createDocumentRegistryInternal(N,R,j){if(R===void 0){R=""}var $=new E.Map;var q=E.createGetCanonicalFileName(!!N);function reportStats(){var N=E.arrayFrom($.keys()).filter((function(E){return E&&E.charAt(0)==="_"})).map((function(E){var N=$.get(E);var R=[];N.forEach((function(E,N){if(isDocumentRegistryEntry(E)){R.push({name:N,scriptKind:E.sourceFile.scriptKind,refCount:E.languageServiceRefCount})}else{E.forEach((function(E,j){return R.push({name:N,scriptKind:j,refCount:E.languageServiceRefCount})}))}}));R.sort((function(E,N){return N.refCount-E.refCount}));return{bucket:E,sourceFiles:R}}));return JSON.stringify(N,undefined,2)}function acquireDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return acquireDocumentWithKey(N,ae,j,ce,$,G,ie)}function acquireDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,true,G)}function updateDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return updateDocumentWithKey(N,ae,j,ce,$,G,ie)}function updateDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,false,G)}function getDocumentRegistryEntry(N,R){var j=isDocumentRegistryEntry(N)?N:N.get(E.Debug.checkDefined(R,"If there are more than one scriptKind's for same document the scriptKind should be provided"));E.Debug.assert(R===undefined||!j||j.sourceFile.scriptKind===R,"Script kind should match provided ScriptKind:".concat(R," and sourceFile.scriptKind: ").concat(j===null||j===void 0?void 0:j.sourceFile.scriptKind,", !entry: ").concat(!j));return j}function acquireOrUpdateDocument(N,R,q,G,ie,ae,ce,le){le=E.ensureScriptKind(N,le);var _e=le===6?100:E.getEmitScriptTarget(q);var Te=$.size;var Ee=E.getOrUpdate($,G,(function(){return new E.Map}));if(E.tracing){if($.size>Te){E.tracing.instant("session","createdDocumentRegistryBucket",{configFilePath:q.configFilePath,key:G})}var we=!E.fileExtensionIs(R,".d.ts")&&E.forEachEntry($,(function(E,N){return N!==G&&E.has(R)&&N}));if(we){E.tracing.instant("session","documentRegistryBucketOverlap",{path:R,key1:we,key2:G})}}var Ie=Ee.get(R);var Ne=Ie&&getDocumentRegistryEntry(Ie,le);if(!Ne&&j){var Me=j.getDocument(G,R);if(Me){E.Debug.assert(ce);Ne={sourceFile:Me,languageServiceRefCount:0};setBucketEntry()}}if(!Ne){var Me=E.createLanguageServiceSourceFile(N,ie,_e,ae,false,le);if(j){j.setDocument(G,R,Me)}Ne={sourceFile:Me,languageServiceRefCount:1};setBucketEntry()}else{if(Ne.sourceFile.version!==ae){Ne.sourceFile=E.updateLanguageServiceSourceFile(Ne.sourceFile,ie,ae,ie.getChangeRange(Ne.sourceFile.scriptSnapshot));if(j){j.setDocument(G,R,Ne.sourceFile)}}if(ce){Ne.languageServiceRefCount++}}E.Debug.assert(Ne.languageServiceRefCount!==0);return Ne.sourceFile;function setBucketEntry(){if(!Ie){Ee.set(R,Ne)}else if(isDocumentRegistryEntry(Ie)){var N=new E.Map;N.set(Ie.sourceFile.scriptKind,Ie);N.set(le,Ne);Ee.set(R,N)}else{Ie.set(le,Ne)}}}function releaseDocument(N,j,$){var G=E.toPath(N,R,q);var ie=getKeyForCompilationSettings(j);return releaseDocumentWithKey(G,ie,$)}function releaseDocumentWithKey(N,R,j){var q=E.Debug.checkDefined($.get(R));var G=q.get(N);var ie=getDocumentRegistryEntry(G,j);ie.languageServiceRefCount--;E.Debug.assert(ie.languageServiceRefCount>=0);if(ie.languageServiceRefCount===0){if(isDocumentRegistryEntry(G)){q.delete(N)}else{G.delete(j);if(G.size===1){q.set(N,E.firstDefinedIterator(G.values(),E.identity))}}}}function getLanguageServiceRefCounts(N,R){return E.arrayFrom($.entries(),(function(E){var j=E[0],$=E[1];var q=$.get(N);var G=q&&getDocumentRegistryEntry(q,R);return[j,G&&G.languageServiceRefCount]}))}return{acquireDocument:acquireDocument,acquireDocumentWithKey:acquireDocumentWithKey,updateDocument:updateDocument,updateDocumentWithKey:updateDocumentWithKey,releaseDocument:releaseDocument,releaseDocumentWithKey:releaseDocumentWithKey,getLanguageServiceRefCounts:getLanguageServiceRefCounts,reportStats:reportStats,getKeyForCompilationSettings:getKeyForCompilationSettings}}E.createDocumentRegistryInternal=createDocumentRegistryInternal;function getKeyForCompilationSettings(N){return E.sourceFileAffectingCompilerOptions.map((function(R){return E.getCompilerOptionValue(N,R)})).join("|")}})(ce||(ce={}));var ce;(function(E){var N;(function(N){function createImportTracker(E,N,R,j){var q=getDirectImportsMap(E,R,j);return function(G,ie,ae){var ce=getImportersForExport(E,N,q,ie,R,j),le=ce.directImports,_e=ce.indirectUsers;return $({indirectUsers:_e},getSearchesFromDirectImports(le,G,ie.exportKind,R,ae))}}N.createImportTracker=createImportTracker;var R;(function(E){E[E["Named"]=0]="Named";E[E["Default"]=1]="Default";E[E["ExportEquals"]=2]="ExportEquals"})(R=N.ExportKind||(N.ExportKind={}));var j;(function(E){E[E["Import"]=0]="Import";E[E["Export"]=1]="Export"})(j=N.ImportExport||(N.ImportExport={}));function getImportersForExport(N,R,j,$,q,G){var ie=$.exportingModuleSymbol,ae=$.exportKind;var ce=E.nodeSeenTracker();var le=E.nodeSeenTracker();var _e=[];var Te=!!ie.globalExports;var Ee=Te?undefined:[];handleDirectImports(ie);return{directImports:_e,indirectUsers:getIndirectUsers()};function getIndirectUsers(){if(Te){return N}if(ie.declarations){for(var j=0,$=ie.declarations;j<$.length;j++){var q=$[j];if(E.isExternalModuleAugmentation(q)&&R.has(q.getSourceFile().fileName)){addIndirectUser(q)}}}return Ee.map(E.getSourceFileOfNode)}function handleDirectImports(N){var R=getDirectImports(N);if(R){for(var j=0,$=R;j<$.length;j++){var ie=$[j];if(!ce(ie)){continue}if(G)G.throwIfCancellationRequested();switch(ie.kind){case 207:if(E.isImportCall(ie)){handleImportCall(ie);break}if(!Te){var le=ie.parent;if(ae===2&&le.kind===253){var Ee=le.name;if(Ee.kind===79){_e.push(Ee);break}}}break;case 79:break;case 264:handleNamespaceImport(ie,ie.name,E.hasSyntacticModifier(ie,1),false);break;case 265:_e.push(ie);var we=ie.importClause&&ie.importClause.namedBindings;if(we&&we.kind===267){handleNamespaceImport(ie,we.name,false,true)}else if(!Te&&E.isDefaultImport(ie)){addIndirectUser(getSourceFileLikeForImportDeclaration(ie))}break;case 271:if(!ie.exportClause){handleDirectImports(getContainingModuleSymbol(ie,q))}else if(ie.exportClause.kind===273){addIndirectUser(getSourceFileLikeForImportDeclaration(ie),true)}else{_e.push(ie)}break;case 199:if(ie.isTypeOf&&!ie.qualifier&&isExported(ie)){addIndirectUser(ie.getSourceFile(),true)}_e.push(ie);break;default:E.Debug.failBadSyntaxKind(ie,"Unexpected import kind.")}}}}function handleImportCall(N){var R=E.findAncestor(N,isAmbientModuleDeclaration)||N.getSourceFile();addIndirectUser(R,!!isExported(N,true))}function isExported(N,R){if(R===void 0){R=false}return E.findAncestor(N,(function(N){if(R&&isAmbientModuleDeclaration(N))return"quit";return E.some(N.modifiers,(function(E){return E.kind===93}))}))}function handleNamespaceImport(N,R,j,$){if(ae===2){if(!$)_e.push(N)}else if(!Te){var G=getSourceFileLikeForImportDeclaration(N);E.Debug.assert(G.kind===303||G.kind===260);if(j||findNamespaceReExports(G,R,q)){addIndirectUser(G,true)}else{addIndirectUser(G)}}}function addIndirectUser(N,R){if(R===void 0){R=false}E.Debug.assert(!Te);var j=le(N);if(!j)return;Ee.push(N);if(!R)return;var $=q.getMergedSymbol(N.symbol);if(!$)return;E.Debug.assert(!!($.flags&1536));var G=getDirectImports($);if(G){for(var ie=0,ae=G;ie2){E.Debug.assert(j===undefined);$+=1;q-=1}return E.createTextSpanFromBounds($,q)}function getTextSpanOfEntry(E){return E.kind===0?E.textSpan:getTextSpan(E.node,E.node.getSourceFile())}N.getTextSpanOfEntry=getTextSpanOfEntry;function isWriteAccessForReference(N){var R=E.getDeclarationFromName(N);return!!R&&declarationIsWriteAccess(R)||N.kind===88||E.isWriteAccess(N)}function isDeclarationOfSymbol(N,R){var j;if(!R)return false;var $=E.getDeclarationFromName(N)||(N.kind===88?N.parent:E.isLiteralComputedPropertyDeclarationName(N)?N.parent.parent:N.kind===134&&E.isConstructorDeclaration(N.parent)?N.parent.parent:undefined);var q=$&&E.isBinaryExpression($)?$.left:undefined;return!!($&&((j=R.declarations)===null||j===void 0?void 0:j.some((function(E){return E===$||E===q}))))}function declarationIsWriteAccess(N){if(!!(N.flags&8388608))return true;switch(N.kind){case 220:case 202:case 256:case 225:case 88:case 259:case 297:case 274:case 266:case 264:case 269:case 257:case 336:case 343:case 284:case 260:case 263:case 267:case 273:case 163:case 295:case 258:case 162:return true;case 294:return!E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent);case 255:case 212:case 170:case 168:case 171:case 172:return!!N.body;case 253:case 166:return!!N.initializer||E.isCatchClause(N.parent);case 167:case 165:case 345:case 338:return false;default:return E.Debug.failBadSyntaxKind(N)}}var ie;(function(R){function getReferencedSymbolsForNode(N,R,j,$,q,G,ie){var ae,ce;if(G===void 0){G={}}if(ie===void 0){ie=new E.Set($.map((function(E){return E.fileName})))}if(G.use===1){R=E.getAdjustedReferenceLocation(R)}else if(G.use===2){R=E.getAdjustedRenameLocation(R)}if(E.isSourceFile(R)){var le=E.GoToDefinition.getReferenceAtPosition(R,N,j);if(!(le===null||le===void 0?void 0:le.file)){return undefined}var _e=j.getTypeChecker().getMergedSymbol(le.file.symbol);if(_e){return getReferencedSymbolsForModule(j,_e,false,$,ie)}var Te=j.getFileIncludeReasons();if(!Te){return undefined}return[{definition:{type:5,reference:le.reference,file:R},references:getReferencesForNonModule(le.file,Te,j)||E.emptyArray}]}if(!G.implementations){var Ee=getReferencedSymbolsSpecial(R,$,q);if(Ee){return Ee}}var we=j.getTypeChecker();var Ie=we.getSymbolAtLocation(E.isConstructorDeclaration(R)&&R.parent.name||R);if(!Ie){if(!G.implementations&&E.isStringLiteralLike(R)){if(E.isModuleSpecifierLike(R)){var Te=j.getFileIncludeReasons();var Ne=(ce=(ae=R.getSourceFile().resolvedModules)===null||ae===void 0?void 0:ae.get(R.text,E.getModeForUsageLocation(R.getSourceFile(),R)))===null||ce===void 0?void 0:ce.resolvedFileName;var Me=Ne?j.getSourceFile(Ne):undefined;if(Me){return[{definition:{type:4,node:R},references:getReferencesForNonModule(Me,Te,j)||E.emptyArray}]}}return getReferencesForStringLiteral(R,$,we,q)}return undefined}if(Ie.escapedName==="export="){return getReferencedSymbolsForModule(j,Ie.parent,false,$,ie)}var Le=getReferencedSymbolsForModuleIfDeclaredBySourceFile(Ie,j,$,q,G,ie);if(Le&&!(Ie.flags&33554432)){return Le}var Be=getMergedAliasedSymbolOfNamespaceExportDeclaration(R,Ie,we);var je=Be&&getReferencedSymbolsForModuleIfDeclaredBySourceFile(Be,j,$,q,G,ie);var Ue=getReferencedSymbolsForSymbol(Ie,R,$,ie,we,q,G);return mergeReferences(j,Le,Ue,je)}R.getReferencedSymbolsForNode=getReferencedSymbolsForNode;function getReferencesForFileName(N,R,j,$){var q,G;if($===void 0){$=new E.Set(j.map((function(E){return E.fileName})))}var ie=(q=R.getSourceFile(N))===null||q===void 0?void 0:q.symbol;if(ie){return((G=getReferencedSymbolsForModule(R,ie,false,j,$)[0])===null||G===void 0?void 0:G.references)||E.emptyArray}var ae=R.getFileIncludeReasons();var ce=R.getSourceFile(N);return ce&&ae&&getReferencesForNonModule(ce,ae,R)||E.emptyArray}R.getReferencesForFileName=getReferencesForFileName;function getReferencesForNonModule(N,R,j){var $;var q=R.get(N.path)||E.emptyArray;for(var G=0,ie=q;G=0){if(ae>j.end)break;var ce=ae+ie;if((ae===0||!E.isIdentifierPart(q.charCodeAt(ae-1),99))&&(ce===G||!E.isIdentifierPart(q.charCodeAt(ce),99))){$.push(ae)}ae=q.indexOf(R,ae+ie+1)}return $}function getLabelReferencesInNode(N,R){var j=N.getSourceFile();var $=R.text;var q=E.mapDefined(getPossibleSymbolReferenceNodes(j,$,N),(function(N){return N===R||E.isJumpStatementTarget(N)&&E.getTargetLabel(N,$)===R?nodeEntry(N):undefined}));return[{definition:{type:1,node:R},references:q}]}function isValidReferencePosition(N,R){switch(N.kind){case 80:if(E.isJSDocMemberName(N.parent)){return true}case 79:return N.text.length===R.length;case 14:case 10:{var j=N;return(E.isLiteralNameOfPropertyDeclarationOrIndexAccess(j)||E.isNameOfModuleDeclaration(N)||E.isExpressionOfExternalModuleImportEqualsDeclaration(N)||E.isCallExpression(N.parent)&&E.isBindableObjectDefinePropertyCall(N.parent)&&N.parent.arguments[1]===N)&&j.text.length===R.length}case 8:return E.isLiteralNameOfPropertyDeclarationOrIndexAccess(N)&&N.text.length===R.length;case 88:return"default".length===R.length;default:return false}}function getAllReferencesForKeyword(N,R,j,$){var q=E.flatMap(N,(function(N){j.throwIfCancellationRequested();return E.mapDefined(getPossibleSymbolReferenceNodes(N,E.tokenToString(R),N),(function(E){if(E.kind===R&&(!$||$(E))){return nodeEntry(E)}}))}));return q.length?[{definition:{type:2,node:q[0].node},references:q}]:undefined}function getReferencesInSourceFile(E,N,R,j){if(j===void 0){j=true}R.cancellationToken.throwIfCancellationRequested();return getReferencesInContainer(E,E,N,R,j)}function getReferencesInContainer(E,N,R,j,$){if(!j.markSearchedSymbols(N,R.allSearchSymbols)){return}for(var q=0,G=getPossibleSymbolReferencePositions(N,R.text,E);q0;G--){var $=j[G];startNode(N,$)}return[j.length-1,j[0]]}function startNode(E,N){var R=emptyNavigationBarNode(E,N);pushChild(ce,R);ae.push(ce);le.push(_e);_e=undefined;ce=R}function endNode(){if(ce.children){mergeChildren(ce.children,ce);sortChildren(ce.children)}ce=ae.pop();_e=le.pop()}function addNodeWithRecursiveChild(E,N,R){startNode(E,R);addChildrenRecursively(N);endNode()}function addNodeWithRecursiveInitializer(N){if(N.initializer&&isFunctionOrClassExpression(N.initializer)){startNode(N);E.forEachChild(N.initializer,addChildrenRecursively);endNode()}else{addNodeWithRecursiveChild(N,N.initializer)}}function hasNavigationBarName(N){return!E.hasDynamicName(N)||N.kind!==220&&E.isPropertyAccessExpression(N.name.expression)&&E.isIdentifier(N.name.expression.expression)&&E.idText(N.name.expression.expression)==="Symbol"}function addChildrenRecursively(N){var R;G.throwIfCancellationRequested();if(!N||E.isToken(N)){return}switch(N.kind){case 170:var j=N;addNodeWithRecursiveChild(j,j.body);for(var $=0,q=j.parameters;$0){startNode(Je,Ge);E.forEachChild(Je.right,addChildrenRecursively);endNode()}}}else if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ge)}else{startNode(Je,Ge);addNodeWithRecursiveChild(N,Je.right,Ve.name);endNode()}endNestedNodes(He);return}case 7:case 9:{var Ke=N;var Ge=We===7?Ke.arguments[0]:Ke.arguments[0].expression;var Qe=Ke.arguments[1];var Xe=startNestedNodes(N,Ge),He=Xe[0],Ye=Xe[1];startNode(N,Ye);startNode(N,E.setTextRange(E.factory.createIdentifier(Qe.text),Qe));addChildrenRecursively(N.arguments[2]);endNode();endNode();endNestedNodes(He);return}case 5:{var Je=N;var Ve=Je.left;var Ze=Ve.expression;if(E.isIdentifier(Ze)&&E.getElementOrPropertyAccessName(Ve)!=="prototype"&&_e&&_e.has(Ze.text)){if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ze)}else if(E.isBindableStaticAccessExpression(Ve)){startNode(Je,Ze);addNodeWithRecursiveChild(Je.left,Je.right,E.getNameOrArgument(Ve));endNode()}return}break}case 4:case 0:case 8:break;default:E.Debug.assertNever(We)}}default:if(E.hasJSDocNodes(N)){E.forEach(N.jsDoc,(function(N){E.forEach(N.tags,(function(N){if(E.isJSDocTypeAlias(N)){addLeafNode(N)}}))}))}E.forEachChild(N,addChildrenRecursively)}}function mergeChildren(N,R){var j=new E.Map;E.filterMutate(N,(function(N,$){var q=N.name||E.getNameOfDeclaration(N.node);var G=q&&nodeText(q);if(!G){return true}var ie=j.get(G);if(!ie){j.set(G,N);return true}if(ie instanceof Array){for(var ae=0,ce=ie;ae0){return cleanText(j)}}switch(N.kind){case 303:var $=N;return E.isExternalModule($)?'"'.concat(E.escapeString(E.getBaseFileName(E.removeFileExtension(E.normalizePath($.fileName)))),'"'):"";case 270:return E.isExportAssignment(N)&&N.isExportEquals?"export=":"default";case 213:case 255:case 212:case 256:case 225:if(E.getSyntacticModifierFlags(N)&512){return"default"}return getFunctionOrClassName(N);case 170:return"constructor";case 174:return"new()";case 173:return"()";case 175:return"[]";default:return""}}function primaryNavBarMenuItems(E){var N=[];function recur(E){if(shouldAppearInPrimaryNavBarMenu(E)){N.push(E);if(E.children){for(var R=0,j=E.children;R0){return cleanText(E.declarationNameToString(N.name))}else if(E.isVariableDeclaration(R)){return cleanText(E.declarationNameToString(R.name))}else if(E.isBinaryExpression(R)&&R.operatorToken.kind===63){return nodeText(R.left).replace(j,"")}else if(E.isPropertyAssignment(R)){return nodeText(R.name)}else if(E.getSyntacticModifierFlags(N)&512){return"default"}else if(E.isClassLike(N)){return""}else if(E.isCallExpression(R)){var $=getCalledExpressionName(R.expression);if($!==undefined){$=cleanText($);if($.length>q){return"".concat($," callback")}var G=cleanText(E.mapDefined(R.arguments,(function(N){return E.isStringLiteralLike(N)?N.getText(ie):undefined})).join(", "));return"".concat($,"(").concat(G,") callback")}}return""}function getCalledExpressionName(N){if(E.isIdentifier(N)){return N.text}else if(E.isPropertyAccessExpression(N)){var R=getCalledExpressionName(N.expression);var j=N.name.text;return R===undefined?j:"".concat(R,".").concat(j)}else{return undefined}}function isFunctionOrClassExpression(E){switch(E.kind){case 213:case 212:case 225:return true;default:return false}}function cleanText(E){E=E.length>q?E.substring(0,q)+"...":E;return E.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(N=E.NavigationBar||(E.NavigationBar={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function organizeImports(N,R,j,$,q,G){var ie=E.textChanges.ChangeTracker.fromContext({host:j,formatContext:R,preferences:q});var coalesceAndOrganizeImports=function(R){return E.stableSort(coalesceImports(removeUnusedImports(R,N,$,G)),(function(E,N){return compareImportsOrRequireStatements(E,N)}))};var ae=N.statements.filter(E.isImportDeclaration);organizeImportsWorker(ae,coalesceAndOrganizeImports);var ce=N.statements.filter(E.isExportDeclaration);organizeImportsWorker(ce,coalesceExports);for(var le=0,_e=N.statements.filter(E.isAmbientModule);le<_e.length;le++){var Te=_e[le];if(!Te.body)continue;var Ee=Te.body.statements.filter(E.isImportDeclaration);organizeImportsWorker(Ee,coalesceAndOrganizeImports);var we=Te.body.statements.filter(E.isExportDeclaration);organizeImportsWorker(we,coalesceExports)}return ie.getChanges();function organizeImportsWorker($,q){if(E.length($)===0){return}E.suppressLeadingTrivia($[0]);var G=E.group($,(function(E){return getExternalModuleName(E.moduleSpecifier)}));var ae=E.stableSort(G,(function(E,N){return compareModuleSpecifiers(E[0].moduleSpecifier,N[0].moduleSpecifier)}));var ce=E.flatMap(ae,(function(E){return getExternalModuleName(E[0].moduleSpecifier)?q(E):E}));if(ce.length===0){ie.deleteNodes(N,$,{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},true)}else{var le={leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include,suffix:E.getNewLineOrDefaultFromHost(j,R.options)};ie.replaceNodeWithNodes(N,$[0],ce,le);var _e=ie.nodeHasTrailingComment(N,$[0],le);ie.deleteNodes(N,$.slice(1),{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},_e)}}}N.organizeImports=organizeImports;function removeUnusedImports(N,R,j,$){if($){return N}var q=j.getTypeChecker();var G=q.getJsxNamespace(R);var ie=q.getJsxFragmentFactory(R);var ae=!!(R.transformFlags&2);var ce=[];for(var le=0,_e=N;le<_e.length;le++){var Te=_e[le];var Ee=Te.importClause,we=Te.moduleSpecifier;if(!Ee){ce.push(Te);continue}var Ie=Ee.name,Ne=Ee.namedBindings;if(Ie&&!isDeclarationUsed(Ie)){Ie=undefined}if(Ne){if(E.isNamespaceImport(Ne)){if(!isDeclarationUsed(Ne.name)){Ne=undefined}}else{var Me=Ne.elements.filter((function(E){return isDeclarationUsed(E.name)}));if(Me.length0?Te[0]:we[0];var qe=Je.length===0?je?undefined:E.factory.createNamedImports(E.emptyArray):we.length===0?E.factory.createNamedImports(Je):E.factory.updateNamedImports(we[0].importClause.namedBindings,Je);if(_e&&je&&qe){ie.push(updateImportDeclarationAndClause(Ve,je,undefined));ie.push(updateImportDeclarationAndClause((R=we[0])!==null&&R!==void 0?R:Ve,undefined,qe))}else{ie.push(updateImportDeclarationAndClause(Ve,je,qe))}}return ie}N.coalesceImports=coalesceImports;function getCategorizedImports(N){var R;var j={defaultImports:[],namespaceImports:[],namedImports:[]};var $={defaultImports:[],namespaceImports:[],namedImports:[]};for(var q=0,G=N;q1){$.push(createOutliningSpanFromBounds(G,ie,"comment"))}}}function addOutliningForLeadingCommentsForNode(N,R,j,$){if(E.isJsxText(N))return;addOutliningForLeadingCommentsForPos(N.pos,R,j,$)}function createOutliningSpanFromBounds(N,R,j){return createOutliningSpan(E.createTextSpanFromBounds(N,R),j)}function getOutliningSpanForNode(N,R){switch(N.kind){case 234:if(E.isFunctionLike(N.parent)){return functionSpan(N.parent,N,R)}switch(N.parent.kind){case 239:case 242:case 243:case 241:case 238:case 240:case 247:case 291:return spanForNode(N.parent);case 251:var j=N.parent;if(j.tryBlock===N){return spanForNode(N.parent)}else if(j.finallyBlock===N){var $=E.findChildOfKind(j,96,R);if($)return spanForNode($)}default:return createOutliningSpan(E.createTextSpanFromNode(N,R),"code")}case 261:return spanForNode(N.parent);case 256:case 225:case 257:case 259:case 262:case 181:case 200:return spanForNode(N);case 183:return spanForNode(N,false,!E.isTupleTypeNode(N.parent),22);case 288:case 289:return spanForNodeArray(N.statements);case 204:return spanForObjectOrArrayLiteral(N);case 203:return spanForObjectOrArrayLiteral(N,22);case 277:return spanForJSXElement(N);case 281:return spanForJSXFragment(N);case 278:case 279:return spanForJSXAttributes(N.attributes);case 222:case 14:return spanForTemplateLiteral(N);case 201:return spanForNode(N,false,!E.isBindingElement(N.parent),22);case 213:return spanForArrowFunction(N);case 207:return spanForCallExpression(N)}function spanForCallExpression(N){if(!N.arguments.length){return undefined}var j=E.findChildOfKind(N,20,R);var $=E.findChildOfKind(N,21,R);if(!j||!$||E.positionsAreOnSameLine(j.pos,$.pos,R)){return undefined}return spanBetweenTokens(j,$,N,R,false,true)}function spanForArrowFunction(N){if(E.isBlock(N.body)||E.positionsAreOnSameLine(N.body.getFullStart(),N.body.getEnd(),R)){return undefined}var j=E.createTextSpanFromBounds(N.body.getFullStart(),N.body.getEnd());return createOutliningSpan(j,"code",E.createTextSpanFromNode(N))}function spanForJSXElement(N){var j=E.createTextSpanFromBounds(N.openingElement.getStart(R),N.closingElement.getEnd());var $=N.openingElement.tagName.getText(R);var q="<"+$+">...";return createOutliningSpan(j,"code",j,false,q)}function spanForJSXFragment(N){var j=E.createTextSpanFromBounds(N.openingFragment.getStart(R),N.closingFragment.getEnd());var $="<>...";return createOutliningSpan(j,"code",j,false,$)}function spanForJSXAttributes(E){if(E.properties.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForTemplateLiteral(E){if(E.kind===14&&E.text.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForObjectOrArrayLiteral(N,R){if(R===void 0){R=18}return spanForNode(N,false,!E.isArrayLiteralExpression(N.parent)&&!E.isCallExpression(N.parent),R)}function spanForNode(j,$,q,G,ie){if($===void 0){$=false}if(q===void 0){q=true}if(G===void 0){G=18}if(ie===void 0){ie=G===18?19:23}var ae=E.findChildOfKind(N,G,R);var ce=E.findChildOfKind(N,ie,R);return ae&&ce&&spanBetweenTokens(ae,ce,j,R,$,q)}function spanForNodeArray(N){return N.length?createOutliningSpan(E.createTextSpanFromRange(N),"code"):undefined}}function functionSpan(N,R,j){var $=tryGetFunctionOpenToken(N,R,j);var q=E.findChildOfKind(R,19,j);return $&&q&&spanBetweenTokens($,q,N,j,N.kind!==213)}function spanBetweenTokens(N,R,j,$,q,G){if(q===void 0){q=false}if(G===void 0){G=true}var ie=E.createTextSpanFromBounds(G?N.getFullStart():N.getStart($),R.getEnd());return createOutliningSpan(ie,"code",E.createTextSpanFromNode(j,$),q)}function createOutliningSpan(E,N,R,j,$){if(R===void 0){R=E}if(j===void 0){j=false}if($===void 0){$="..."}return{textSpan:E,kind:N,hintSpan:R,bannerText:$,autoCollapse:j}}function tryGetFunctionOpenToken(N,R,j){if(E.isNodeArrayMultiLine(N.parameters,j)){var $=E.findChildOfKind(N,20,j);if($){return $}}return E.findChildOfKind(R,18,j)}})(N=E.OutliningElementsCollector||(E.OutliningElementsCollector={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["exact"]=0]="exact";E[E["prefix"]=1]="prefix";E[E["substring"]=2]="substring";E[E["camelCase"]=3]="camelCase"})(N=E.PatternMatchKind||(E.PatternMatchKind={}));function createPatternMatch(E,N){return{kind:E,isCaseSensitive:N}}function createPatternMatcher(N){var R=new E.Map;var j=N.trim().split(".").map((function(E){return createSegment(E.trim())}));if(j.some((function(E){return!E.subWordTextChunks.length})))return undefined;return{getFullMatch:function(E,N){return getFullMatch(E,N,j,R)},getMatchForLastSegmentOfPattern:function(N){return matchSegment(N,E.last(j),R)},patternContainsDots:j.length>1}}E.createPatternMatcher=createPatternMatcher;function getFullMatch(N,R,j,$){var q=matchSegment(R,E.last(j),$);if(!q){return undefined}if(j.length-1>N.length){return undefined}var G;for(var ie=j.length-2,ae=N.length-1;ie>=0;ie-=1,ae-=1){G=betterMatch(G,matchSegment(N[ae],j[ie],$))}return G}function getWordSpans(E,N){var R=N.get(E);if(!R){N.set(E,R=breakIntoWordSpans(E))}return R}function matchTextChunk(R,j,$){var q=indexOfIgnoringCase(R,j.textLowerCase);if(q===0){return createPatternMatch(j.text.length===R.length?N.exact:N.prefix,E.startsWith(R,j.text))}if(j.isLowerCase){if(q===-1)return undefined;var G=getWordSpans(R,$);for(var ie=0,ae=G;ie0){return createPatternMatch(N.substring,true)}if(j.characterSpans.length>0){var le=getWordSpans(R,$);var _e=tryCamelCaseMatch(R,le,j,false)?true:tryCamelCaseMatch(R,le,j,true)?false:undefined;if(_e!==undefined){return createPatternMatch(N.camelCase,_e)}}}}function matchSegment(E,N,R){if(every(N.totalTextChunk.text,(function(E){return E!==32&&E!==42}))){var j=matchTextChunk(E,N.totalTextChunk,R);if(j)return j}var $=N.subWordTextChunks;var q;for(var G=0,ie=$;G=65&&N<=90){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toUpperCase()}function isLowerCaseLetter(N){if(N>=97&&N<=122){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toLowerCase()}function indexOfIgnoringCase(E,N){var R=E.length-N.length;var _loop_8=function(R){if(every(N,(function(N,j){return toLowerCase(E.charCodeAt(j+R))===N}))){return{value:R}}};for(var j=0;j<=R;j++){var $=_loop_8(j);if(typeof $==="object")return $.value}return-1}function toLowerCase(E){if(E>=65&&E<=90){return 97+(E-65)}if(E<127){return E}return String.fromCharCode(E).toLowerCase().charCodeAt(0)}function isDigit(E){return E>=48&&E<=57}function isWordChar(E){return isUpperCaseLetter(E)||isLowerCaseLetter(E)||isDigit(E)||E===95||E===36}function breakPatternIntoTextChunks(E){var N=[];var R=0;var j=0;for(var $=0;$0){N.push(createTextChunk(E.substr(R,j)));j=0}}}if(j>0){N.push(createTextChunk(E.substr(R,j)))}return N}function createTextChunk(E){var N=E.toLowerCase();return{text:E,textLowerCase:N,isLowerCase:E===N,characterSpans:breakIntoCharacterSpans(E)}}function breakIntoCharacterSpans(E){return breakIntoSpans(E,false)}E.breakIntoCharacterSpans=breakIntoCharacterSpans;function breakIntoWordSpans(E){return breakIntoSpans(E,true)}E.breakIntoWordSpans=breakIntoWordSpans;function breakIntoSpans(N,R){var j=[];var $=0;for(var q=1;qN){break e}var Te=E.singleOrUndefined(E.getTrailingCommentRanges(R.text,le.end));if(Te&&Te.kind===2){pushSelectionCommentRange(Te.pos,Te.end)}if(positionShouldSnapToNode(R,N,le)){if(E.isBlock(le)||E.isTemplateSpan(le)||E.isTemplateHead(le)||E.isTemplateTail(le)||ce&&E.isTemplateHead(ce)||E.isVariableDeclarationList(le)&&E.isVariableStatement(G)||E.isSyntaxList(le)&&E.isVariableDeclarationList(G)||E.isVariableDeclaration(le)&&E.isSyntaxList(G)&&ie.length===1||E.isJSDocTypeExpression(le)||E.isJSDocSignature(le)||E.isJSDocTypeLiteral(le)){G=le;break}if(E.isTemplateSpan(G)&&_e&&E.isTemplateMiddleOrTemplateTail(_e)){var Ee=le.getFullStart()-"${".length;var we=_e.getStart()+"}".length;pushSelectionRange(Ee,we)}var Ie=E.isSyntaxList(le)&&isListOpener(ce)&&isListCloser(_e)&&!E.positionsAreOnSameLine(ce.getStart(),_e.getStart(),R);var Ne=Ie?ce.getEnd():le.getStart();var Me=Ie?_e.getStart():getEndPos(R,le);if(E.hasJSDocNodes(le)&&((j=le.jsDoc)===null||j===void 0?void 0:j.length)){pushSelectionRange(E.first(le.jsDoc).getStart(),Me)}pushSelectionRange(Ne,Me);if(E.isStringLiteral(le)||E.isTemplateLiteral(le)){pushSelectionRange(Ne+1,Me-1)}G=le;break}if(ae===ie.length-1){break e}}}return q;function pushSelectionRange(R,j){if(R!==j){var G=E.createTextSpanFromBounds(R,j);if(!q||!E.textSpansEqual(G,q.textSpan)&&E.textSpanIntersectsWithPosition(G,N)){q=$({textSpan:G},q&&{parent:q})}}}function pushSelectionCommentRange(E,N){pushSelectionRange(E,N);var j=E;while(R.text.charCodeAt(j)===47){j++}pushSelectionRange(j,N)}}N.getSmartSelectionRange=getSmartSelectionRange;function positionShouldSnapToNode(N,R,j){E.Debug.assert(j.pos<=R);if(R0&&E.last(j).kind===27){$++}return $}function getArgumentIndexForTemplatePiece(N,R,j,$){E.Debug.assert(j>=R.getStart(),"Assumed 'position' could not occur before node.");if(E.isTemplateLiteralToken(R)){if(E.isInsideTemplateLiteral(R,j,$)){return 0}return N+2}return N+1}function getArgumentListInfoForTemplate(N,R,j){var $=E.isNoSubstitutionTemplateLiteral(N.template)?1:N.template.templateSpans.length+1;if(R!==0){E.Debug.assertLessThan(R,$)}return{isTypeParameterList:false,invocation:{kind:0,node:N},argumentsSpan:getApplicableSpanForTaggedTemplate(N,j),argumentIndex:R,argumentCount:$}}function getApplicableSpanForArguments(N,R){var j=N.getFullStart();var $=E.skipTrivia(R.text,N.getEnd(),false);return E.createTextSpan(j,$-j)}function getApplicableSpanForTaggedTemplate(N,R){var j=N.template;var $=j.getStart();var q=j.getEnd();if(j.kind===222){var G=E.last(j.templateSpans);if(G.literal.getFullWidth()===0){q=E.skipTrivia(R.text,q,false)}}return E.createTextSpan($,q-$)}function getContainingArgumentInfo(N,R,j,$,q){var _loop_9=function(N){E.Debug.assert(E.rangeContainsRange(N.parent,N),"Not a subspan",(function(){return"Child: ".concat(E.Debug.formatSyntaxKind(N.kind),", parent: ").concat(E.Debug.formatSyntaxKind(N.parent.kind))}));var q=getImmediatelyContainingArgumentOrContextualParameterInfo(N,R,j,$);if(q){return{value:q}}};for(var G=N;!E.isSourceFile(G)&&(q||!E.isBlock(G));G=G.parent){var ie=_loop_9(G);if(typeof ie==="object")return ie.value}return undefined}function getChildListThatStartsWithOpenerToken(N,R,j){var $=N.getChildren(j);var q=$.indexOf(R);E.Debug.assert(q>=0&&$.length>q+1);return $[q+1]}function getExpressionFromInvocation(N){return N.kind===0?E.getInvokedExpression(N.node):N.called}function getEnclosingDeclarationFromInvocation(E){return E.kind===0?E.node:E.kind===1?E.called:E.node}var q=8192|70221824|16384;function createSignatureHelpItems(N,R,j,$,q,G){var ie;var ae=j.isTypeParameterList,ce=j.argumentCount,le=j.argumentsSpan,_e=j.invocation,Te=j.argumentIndex;var Ee=getEnclosingDeclarationFromInvocation(_e);var we=_e.kind===2?_e.symbol:q.getSymbolAtLocation(getExpressionFromInvocation(_e))||G&&((ie=R.declaration)===null||ie===void 0?void 0:ie.symbol);var Ie=we?E.symbolToDisplayParts(q,we,G?$:undefined,undefined):E.emptyArray;var Ne=E.map(N,(function(E){return getSignatureHelpItem(E,Ie,ae,q,Ee,$)}));if(Te!==0){E.Debug.assertLessThan(Te,ce)}var Me=0;var Le=0;for(var Be=0;Be1){var Ue=0;for(var ze=0,We=je;ze=ce){Me=Le+Ue;break}Ue++}}}Le+=je.length}E.Debug.assert(Me!==-1);var Ve={items:E.flatMapToMutable(Ne,E.identity),applicableSpan:le,selectedItemIndex:Me,argumentIndex:Te,argumentCount:ce};var qe=Ve.items[Me];if(qe.isVariadic){var He=E.findIndex(qe.parameters,(function(E){return!!E.isRest}));if(-1N){return E.substr(0,N-"...".length)+"..."}return E}function printTypeInSingleLine(N){var R=70221824|1048576|16384;var $={removeComments:true};var q=E.createPrinter($);return E.usingSingleLineStringWriter((function($){var G=le.typeToTypeNode(N,undefined,R,$);E.Debug.assertIsDefined(G,"should always get typenode");q.writeNode(4,G,j,$)}))}function isUndefined(E){return E==="undefined"}}N.provideInlayHints=provideInlayHints})(N=E.InlayHints||(E.InlayHints={}))})(ce||(ce={}));var ce;(function(E){var N=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function getSourceMapper(N){var R=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var j=N.getCurrentDirectory();var $=new E.Map;var q=new E.Map;return{tryGetSourcePosition:tryGetSourcePosition,tryGetGeneratedPosition:tryGetGeneratedPosition,toLineColumnOffset:toLineColumnOffset,clearCache:clearCache};function toPath(N){return E.toPath(N,j,R)}function getDocumentPositionMapper(j,$){var G=toPath(j);var ie=q.get(G);if(ie)return ie;var ae;if(N.getDocumentPositionMapper){ae=N.getDocumentPositionMapper(j,$)}else if(N.readFile){var ce=getSourceFileLike(j);ae=ce&&E.getDocumentPositionMapper({getSourceFileLike:getSourceFileLike,getCanonicalFileName:R,log:function(E){return N.log(E)}},j,E.getLineInfo(ce.text,E.getLineStarts(ce)),(function(E){return!N.fileExists||N.fileExists(E)?N.readFile(E):undefined}))}q.set(G,ae||E.identitySourceMapConsumer);return ae||E.identitySourceMapConsumer}function tryGetSourcePosition(N){if(!E.isDeclarationFileName(N.fileName))return undefined;var R=getSourceFile(N.fileName);if(!R)return undefined;var j=getDocumentPositionMapper(N.fileName).getSourcePosition(N);return!j||j===N?undefined:tryGetSourcePosition(j)||j}function tryGetGeneratedPosition($){if(E.isDeclarationFileName($.fileName))return undefined;var q=getSourceFile($.fileName);if(!q)return undefined;var G=N.getProgram();if(G.isSourceOfProjectReferenceRedirect(q.fileName)){return undefined}var ie=G.getCompilerOptions();var ae=E.outFile(ie);var ce=ae?E.removeFileExtension(ae)+".d.ts":E.getDeclarationEmitOutputFilePathWorker($.fileName,G.getCompilerOptions(),j,G.getCommonSourceDirectory(),R);if(ce===undefined)return undefined;var le=getDocumentPositionMapper(ce,$.fileName).getGeneratedPosition($);return le===$?undefined:le}function getSourceFile(E){var R=N.getProgram();if(!R)return undefined;var j=toPath(E);var $=R.getSourceFileByPath(j);return $&&$.resolvedPath===j?$:undefined}function getOrCreateSourceFileLike(E){var R=toPath(E);var j=$.get(R);if(j!==undefined)return j?j:undefined;if(!N.readFile||N.fileExists&&!N.fileExists(R)){$.set(R,false);return undefined}var q=N.readFile(R);var G=q?createSourceFileLike(q):false;$.set(R,G);return G?G:undefined}function getSourceFileLike(E){return!N.getSourceFileLike?getSourceFile(E)||getOrCreateSourceFileLike(E):N.getSourceFileLike(E)}function toLineColumnOffset(E,N){var R=getSourceFileLike(E);return R.getLineAndCharacterOfPosition(N)}function clearCache(){$.clear();q.clear()}}E.getSourceMapper=getSourceMapper;function getDocumentPositionMapper(R,j,$,q){var G=E.tryGetSourceMappingURL($);if(G){var ie=N.exec(G);if(ie){if(ie[1]){var ae=ie[1];return convertDocumentToSourceMapper(R,E.base64decode(E.sys,ae),j)}G=undefined}}var ce=[];if(G){ce.push(G)}ce.push(j+".map");var le=G&&E.getNormalizedAbsolutePath(G,E.getDirectoryPath(j));for(var _e=0,Te=ce;_ej)return false;if(N.arguments.length0?E.arrayFrom(j.values()).join(","):""}N.getSymbolModifiers=getSymbolModifiers;function getSymbolDisplayPartsDocumentationAndSymbolKind(N,j,$,q,G,ie,ae){var ce;if(ie===void 0){ie=E.getMeaningFromLocation(G)}var le=[];var _e=[];var Te=[];var Ee=E.getCombinedLocalAndExportSymbolFlags(j);var we=ie&1?getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,j,G):"";var Ie=false;var Ne=G.kind===108&&E.isInExpressionContext(G)||E.isThisInTypeQuery(G);var Me;var Le;var Be;var je;var Ue=false;if(G.kind===108&&!Ne){return{displayParts:[E.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:undefined}}if(we!==""||Ee&32||Ee&2097152){if(we==="getter"||we==="setter"){var ze=E.find(j.declarations,(function(E){return E.name===G}));if(ze){switch(ze.kind){case 171:we="getter";break;case 172:we="setter";break;default:E.Debug.assertNever(ze)}}else{we="property"}}var We=void 0;Me=Ne?N.getTypeAtLocation(G):N.getTypeOfSymbolAtLocation(j,G);if(G.parent&&G.parent.kind===205){var Je=G.parent.name;if(Je===G||Je&&Je.getFullWidth()===0){G=G.parent}}var Ve=void 0;if(E.isCallOrNewExpression(G)){Ve=G}else if(E.isCallExpressionTarget(G)||E.isNewExpressionTarget(G)){Ve=G.parent}else if(G.parent&&(E.isJsxOpeningLikeElement(G.parent)||E.isTaggedTemplateExpression(G.parent))&&E.isFunctionLike(j.valueDeclaration)){Ve=G.parent}if(Ve){We=N.getResolvedSignature(Ve);var qe=Ve.kind===208||E.isCallExpression(Ve)&&Ve.expression.kind===106;var He=qe?Me.getConstructSignatures():Me.getCallSignatures();if(We&&!E.contains(He,We.target)&&!E.contains(He,We)){We=He.length?He[0]:undefined}if(We){if(qe&&Ee&32){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else if(Ee&2097152){we="alias";pushSymbolKind(we);le.push(E.spacePart());if(qe){if(We.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addFullSymbolName(j)}else{addPrefixForAnyFunctionOrVar(j,we)}switch(we){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":le.push(E.punctuationPart(58));le.push(E.spacePart());if(!(E.getObjectFlags(Me)&16)&&Me.symbol){E.addRange(le,E.symbolToDisplayParts(N,Me.symbol,q,undefined,4|1));le.push(E.lineBreakPart())}if(qe){if(We.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addSignatureDisplayParts(We,He,262144);break;default:addSignatureDisplayParts(We,He)}Ie=true;Ue=He.length>1}}else if(E.isNameOfFunctionDeclaration(G)&&!(Ee&98304)||G.kind===134&&G.parent.kind===170){var Ge=G.parent;var Ke=j.declarations&&E.find(j.declarations,(function(E){return E===(G.kind===134?Ge.parent:Ge)}));if(Ke){var He=Ge.kind===170?Me.getNonNullableType().getConstructSignatures():Me.getNonNullableType().getCallSignatures();if(!N.isImplementationOfOverload(Ge)){We=N.getSignatureFromDeclaration(Ge)}else{We=He[0]}if(Ge.kind===170){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else{addPrefixForAnyFunctionOrVar(Ge.kind===173&&!(Me.symbol.flags&2048||Me.symbol.flags&4096)?Me.symbol:j,we)}if(We){addSignatureDisplayParts(We,He)}Ie=true;Ue=He.length>1}}}if(Ee&32&&!Ie&&!Ne){addAliasPrefixIfNecessary();if(E.getDeclarationOfKind(j,225)){pushSymbolKind("local class")}else{le.push(E.keywordPart(84))}le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Ee&64&&ie&2){prefixNextMeaning();le.push(E.keywordPart(118));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Ee&524288&&ie&2){prefixNextMeaning();le.push(E.keywordPart(151));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$);le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());E.addRange(le,E.typeToDisplayParts(N,E.isConstTypeReference(G.parent)?N.getTypeAtLocation(G.parent):N.getDeclaredTypeOfSymbol(j),q,8388608))}if(Ee&384){prefixNextMeaning();if(E.some(j.declarations,(function(N){return E.isEnumDeclaration(N)&&E.isEnumConst(N)}))){le.push(E.keywordPart(85));le.push(E.spacePart())}le.push(E.keywordPart(92));le.push(E.spacePart());addFullSymbolName(j)}if(Ee&1536&&!Ne){prefixNextMeaning();var ze=E.getDeclarationOfKind(j,260);var Qe=ze&&ze.name&&ze.name.kind===79;le.push(E.keywordPart(Qe?142:141));le.push(E.spacePart());addFullSymbolName(j)}if(Ee&262144&&ie&2){prefixNextMeaning();le.push(E.punctuationPart(20));le.push(E.textPart("type parameter"));le.push(E.punctuationPart(21));le.push(E.spacePart());addFullSymbolName(j);if(j.parent){addInPrefix();addFullSymbolName(j.parent,q);writeTypeParametersOfSymbol(j.parent,q)}else{var Xe=E.getDeclarationOfKind(j,162);if(Xe===undefined)return E.Debug.fail();var ze=Xe.parent;if(ze){if(E.isFunctionLikeKind(ze.kind)){addInPrefix();var We=N.getSignatureFromDeclaration(ze);if(ze.kind===174){le.push(E.keywordPart(103));le.push(E.spacePart())}else if(ze.kind!==173&&ze.name){addFullSymbolName(ze.symbol)}E.addRange(le,E.signatureToDisplayParts(N,We,$,32))}else if(ze.kind===258){addInPrefix();le.push(E.keywordPart(151));le.push(E.spacePart());addFullSymbolName(ze.symbol);writeTypeParametersOfSymbol(ze.symbol,$)}}}}if(Ee&8){we="enum member";addPrefixForAnyFunctionOrVar(j,"enum member");var ze=(ce=j.declarations)===null||ce===void 0?void 0:ce[0];if((ze===null||ze===void 0?void 0:ze.kind)===297){var Ye=N.getConstantValue(ze);if(Ye!==undefined){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.displayPart(E.getTextOfConstantValue(Ye),typeof Ye==="number"?E.SymbolDisplayPartKind.numericLiteral:E.SymbolDisplayPartKind.stringLiteral))}}}if(j.flags&2097152){prefixNextMeaning();if(!Ie){var Ze=N.getAliasedSymbol(j);if(Ze!==j&&Ze.declarations&&Ze.declarations.length>0){var et=Ze.declarations[0];var tt=E.getNameOfDeclaration(et);if(tt){var rt=E.isModuleWithStringLiteralName(et)&&E.hasSyntacticModifier(et,2);var nt=j.name!=="default"&&!rt;var it=getSymbolDisplayPartsDocumentationAndSymbolKind(N,Ze,E.getSourceFileOfNode(et),et,tt,ie,nt?j:Ze);le.push.apply(le,it.displayParts);le.push(E.lineBreakPart());Be=it.documentation;je=it.tags}else{Be=Ze.getContextualDocumentationComment(et,N);je=Ze.getJsDocTags(N)}}}if(j.declarations){switch(j.declarations[0].kind){case 263:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(142));break;case 270:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(j.declarations[0].isExportEquals?63:88));break;case 274:le.push(E.keywordPart(93));break;default:le.push(E.keywordPart(100))}}le.push(E.spacePart());addFullSymbolName(j);E.forEach(j.declarations,(function(R){if(R.kind===264){var j=R;if(E.isExternalModuleImportEqualsDeclaration(j)){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.keywordPart(145));le.push(E.punctuationPart(20));le.push(E.displayPart(E.getTextOfNode(E.getExternalModuleImportEqualsDeclarationExpression(j)),E.SymbolDisplayPartKind.stringLiteral));le.push(E.punctuationPart(21))}else{var $=N.getSymbolAtLocation(j.moduleReference);if($){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());addFullSymbolName($,q)}}return true}}))}if(!Ie){if(we!==""){if(Me){if(Ne){prefixNextMeaning();le.push(E.keywordPart(108))}else{addPrefixForAnyFunctionOrVar(j,we)}if(we==="property"||we==="getter"||we==="setter"||we==="JSX attribute"||Ee&3||we==="local var"||Ne){le.push(E.punctuationPart(58));le.push(E.spacePart());if(Me.symbol&&Me.symbol.flags&262144){var ot=E.mapToDisplayParts((function(j){var $=N.typeParameterToDeclaration(Me,q,R);getPrinter().writeNode(4,$,E.getSourceFileOfNode(E.getParseTreeNode(q)),j)}));E.addRange(le,ot)}else{E.addRange(le,E.typeToDisplayParts(N,Me,q))}if(j.target&&j.target.tupleLabelDeclaration){var st=j.target.tupleLabelDeclaration;E.Debug.assertNode(st.name,E.isIdentifier);le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.textPart(E.idText(st.name)));le.push(E.punctuationPart(21))}}else if(Ee&16||Ee&8192||Ee&16384||Ee&131072||Ee&98304||we==="method"){var He=Me.getNonNullableType().getCallSignatures();if(He.length){addSignatureDisplayParts(He[0],He);Ue=He.length>1}}}}else{we=getSymbolKind(N,j,G)}}if(_e.length===0&&!Ue){_e=j.getContextualDocumentationComment(q,N)}if(_e.length===0&&Ee&4){if(j.parent&&j.declarations&&E.forEach(j.parent.declarations,(function(E){return E.kind===303}))){for(var ct=0,ut=j.declarations;ct0){break}}}}if(_e.length===0&&E.isIdentifier(G)&&j.valueDeclaration&&E.isBindingElement(j.valueDeclaration)){var ze=j.valueDeclaration;var pt=ze.parent;if(E.isIdentifier(ze.name)&&E.isObjectBindingPattern(pt)){var ft=E.getTextOfIdentifierOrLiteral(ze.name);var mt=N.getTypeAtLocation(pt);_e=E.firstDefined(mt.isUnion()?mt.types:[mt],(function(E){var R=E.getProperty(ft);return R?R.getDocumentationComment(N):undefined}))||E.emptyArray}}if(Te.length===0&&!Ue){Te=j.getContextualJsDocTags(q,N)}if(_e.length===0&&Be){_e=Be}if(Te.length===0&&je){Te=je}return{displayParts:le,documentation:_e,symbolKind:we,tags:Te.length===0?undefined:Te};function getPrinter(){if(!Le){Le=E.createPrinter({removeComments:true})}return Le}function prefixNextMeaning(){if(le.length){le.push(E.lineBreakPart())}addAliasPrefixIfNecessary()}function addAliasPrefixIfNecessary(){if(ae){pushSymbolKind("alias");le.push(E.spacePart())}}function addInPrefix(){le.push(E.spacePart());le.push(E.keywordPart(101));le.push(E.spacePart())}function addFullSymbolName(R,q){if(ae&&R===j){R=ae}var G=E.symbolToDisplayParts(N,R,q||$,undefined,1|2|4);E.addRange(le,G);if(j.flags&16777216){le.push(E.punctuationPart(57))}}function addPrefixForAnyFunctionOrVar(N,R){prefixNextMeaning();if(R){pushSymbolKind(R);if(N&&!E.some(N.declarations,(function(N){return E.isArrowFunction(N)||(E.isFunctionExpression(N)||E.isClassExpression(N))&&!N.name}))){le.push(E.spacePart());addFullSymbolName(N)}}}function pushSymbolKind(N){switch(N){case"var":case"function":case"let":case"const":case"constructor":le.push(E.textOrKeywordPart(N));return;default:le.push(E.punctuationPart(20));le.push(E.textOrKeywordPart(N));le.push(E.punctuationPart(21));return}}function addSignatureDisplayParts(R,j,$){if($===void 0){$=0}E.addRange(le,E.signatureToDisplayParts(N,R,q,$|32));if(j.length>1){le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.operatorPart(39));le.push(E.displayPart((j.length-1).toString(),E.SymbolDisplayPartKind.numericLiteral));le.push(E.spacePart());le.push(E.textPart(j.length===2?"overload":"overloads"));le.push(E.punctuationPart(21))}_e=R.getDocumentationComment(N);Te=R.getJsDocTags();if(j.length>1&&_e.length===0&&Te.length===0){_e=j[0].getDocumentationComment(N);Te=j[0].getJsDocTags()}}function writeTypeParametersOfSymbol(j,$){var q=E.mapToDisplayParts((function(q){var G=N.symbolToTypeParameterDeclarations(j,$,R);getPrinter().writeList(53776,G,E.getSourceFileOfNode(E.getParseTreeNode($)),q)}));E.addRange(le,q)}}N.getSymbolDisplayPartsDocumentationAndSymbolKind=getSymbolDisplayPartsDocumentationAndSymbolKind;function isLocalVariableOrFunction(N){if(N.parent){return false}return E.forEach(N.declarations,(function(N){if(N.kind===212){return true}if(N.kind!==253&&N.kind!==255){return false}for(var R=N.parent;!E.isFunctionBlock(R);R=R.parent){if(R.kind===303||R.kind===261){return false}}return true}))}})(N=E.SymbolDisplay||(E.SymbolDisplay={}))})(ce||(ce={}));var ce;(function(E){function transpileModule(N,R){var j=[];var $=R.compilerOptions?fixupCompilerOptions(R.compilerOptions,j):{};var q=E.getDefaultCompilerOptions();for(var G in q){if(E.hasProperty(q,G)&&$[G]===undefined){$[G]=q[G]}}for(var ie=0,ae=E.transpileOptionValueCompilerOptions;ie>=j}return R}function increaseInsertionIndex(N,R){var j=(N>>R&$)+1;E.Debug.assert((j&$)===j,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");return N&~($<=j.length){return false}var R=j[$];if(N.end<=R.start){return false}if(E.startEndOverlapsWithStartEnd(N.pos,N.end,R.start,R.start+R.length)){return true}$++}};function rangeHasNoErrors(){return false}}function getScanStartPosition(N,R,j){var $=N.getStart(j);if($===R.pos&&N.end===R.end){return $}var q=E.findPrecedingToken(R.pos,j);if(!q){return N.pos}if(q.end>=R.pos){return N.pos}return q.end}function getOwnOrInheritedDelta(E,R,j){var $=-1;var q;while(E){var G=j.getLineAndCharacterOfPosition(E.getStart(j)).line;if($!==-1&&G!==$){break}if(N.SmartIndenter.shouldIndentChildNode(R,E,q,j)){return R.indentSize}$=G;q=E;E=E.parent}return 0}function formatNodeGivenIndentation(E,R,j,$,q,G){var ie={pos:E.pos,end:E.end};return N.getFormattingScanner(R.text,j,ie.pos,ie.end,(function(N){return formatSpanWorker(ie,E,$,q,N,G,1,(function(E){return false}),R)}))}N.formatNodeGivenIndentation=formatNodeGivenIndentation;function formatNodeLines(N,R,j,$){if(!N){return[]}var q={pos:E.getLineStartPositionForPosition(N.getStart(R),R),end:N.end};return formatSpan(q,R,j,$)}function formatSpan(E,R,j,$){var q=findEnclosingNode(E,R);return N.getFormattingScanner(R.text,R.languageVariant,getScanStartPosition(q,E,R),E.end,(function(G){return formatSpanWorker(E,q,N.SmartIndenter.getIndentationForNode(q,E,R,j.options),getOwnOrInheritedDelta(q,j.options,R),G,j,$,prepareRangeContainsErrorFunction(R.parseDiagnostics,E),R)}))}function formatSpanWorker(R,j,$,q,G,ie,ae,ce,le){var _e=ie.options,Te=ie.getRules,Ee=ie.host;var we=new N.FormattingContext(le,ae,_e);var Ie;var Ne;var Me;var Le;var Be=-1;var je=[];G.advance();if(G.isOnToken()){var Ue=le.getLineAndCharacterOfPosition(j.getStart(le)).line;var ze=Ue;if(j.decorators){ze=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(j,le)).line}processNode(j,j,Ue,ze,$,q)}if(!G.isOnToken()){var We=N.SmartIndenter.nodeWillIndentChild(_e,j,undefined,le,false)?$+_e.indentSize:$;var Je=G.getCurrentLeadingTrivia();if(Je){indentTriviaItems(Je,We,false,(function(E){return processRange(E,le.getLineAndCharacterOfPosition(E.pos),j,j,undefined)}));if(_e.trimTrailingWhitespace!==false){trimTrailingWhitespacesForRemainingRange(Je)}}}if(Ie&&G.getStartPos()>=R.end){var Ve=G.isOnEOF()?G.readEOFTokenRange():G.isOnToken()?G.readTokenInfo(j).token:undefined;if(Ve){processPair(Ve,le.getLineAndCharacterOfPosition(Ve.pos).line,j,Ie,Me,Ne,j,undefined)}}return je;function tryComputeIndentationForListItem(R,j,$,q,G){if(E.rangeOverlapsWithStartEnd(q,R,j)||E.rangeContainsStartEnd(q,R,j)){if(G!==-1){return G}}else{var ie=le.getLineAndCharacterOfPosition(R).line;var ae=E.getLineStartPositionForPosition(R,le);var ce=N.SmartIndenter.findFirstNonWhitespaceColumn(ae,R,le,_e);if(ie!==$||R===ce){var Te=N.SmartIndenter.getBaseIndentation(_e);return Te>ce?Te:ce}}return-1}function computeIndentation(E,R,j,$,q,G){var ie=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0;if(G===R){return{indentation:R===Le?Be:q.getIndentation(),delta:Math.min(_e.indentSize,q.getDelta(E)+ie)}}else if(j===-1){if(E.kind===20&&R===Le){return{indentation:Be,delta:q.getDelta(E)}}else if(N.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement($,E,R,le)||N.SmartIndenter.childIsUnindentedBranchOfConditionalExpression($,E,R,le)||N.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument($,E,R,le)){return{indentation:q.getIndentation(),delta:ie}}else{return{indentation:q.getIndentation()+q.getDelta(E),delta:ie}}}else{return{indentation:j,delta:ie}}}function getFirstNonDecoratorTokenOfNode(N){if(N.modifiers&&N.modifiers.length){return N.modifiers[0].kind}switch(N.kind){case 256:return 84;case 257:return 118;case 255:return 98;case 259:return 259;case 171:return 136;case 172:return 148;case 168:if(N.asteriskToken){return 41}case 166:case 163:var R=E.getNameOfDeclaration(N);if(R){return R.kind}}}function getDynamicIndentation(E,R,j,$){return{getIndentationForComment:function(E,N,R){switch(E){case 19:case 23:case 21:return j+getDelta(R)}return N!==-1?N:j},getIndentationForToken:function(E,N,R,$){return!$&&shouldAddDelta(E,N,R)?j+getDelta(R):j},getIndentation:function(){return j},getDelta:getDelta,recomputeIndentation:function(R,q){if(N.SmartIndenter.shouldIndentChildNode(_e,q,E,le)){j+=R?_e.indentSize:-_e.indentSize;$=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0}}};function shouldAddDelta(N,j,$){switch(j){case 18:case 19:case 21:case 91:case 115:case 59:return false;case 43:case 31:switch($.kind){case 279:case 280:case 278:case 227:return false}break;case 22:case 23:if($.kind!==194){return false}break}return R!==N&&!(E.decorators&&j===getFirstNonDecoratorTokenOfNode(E))}function getDelta(R){return N.SmartIndenter.nodeWillIndentChild(_e,E,R,le,true)?$:0}}function processNode(j,$,q,ie,ae,Te){if(!E.rangeOverlapsWithStartEnd(R,j.getStart(le),j.getEnd())){return}var Ee=getDynamicIndentation(j,q,ae,Te);var we=$;E.forEachChild(j,(function(E){processChildNode(E,-1,j,Ee,q,ie,false)}),(function(E){processChildNodes(E,j,q,Ee)}));while(G.isOnToken()&&G.getStartPos()Math.min(j.end,R.end)){break}consumeTokenAndAdvanceScanner(Ne,j,Ee,j)}function processChildNode(N,$,q,ie,ae,ce,_e,Te){var Ee=N.getStart(le);var Ie=le.getLineAndCharacterOfPosition(Ee).line;var Ne=Ie;if(N.decorators){Ne=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(N,le)).line}var Me=-1;if(_e&&E.rangeContainsRange(R,q)){Me=tryComputeIndentationForListItem(Ee,N.end,ae,R,$);if(Me!==-1){$=Me}}if(!E.rangeOverlapsWithStartEnd(R,N.pos,N.end)){if(N.endR.end){return $}if(Le.token.end>Ee){if(Le.token.pos>Ee){G.skipToStartOf(N)}break}consumeTokenAndAdvanceScanner(Le,j,ie,j)}if(!G.isOnToken()||G.getStartPos()>=R.end){return $}if(E.isToken(N)){var Le=G.readTokenInfo(N);if(N.kind!==11){E.Debug.assert(Le.token.end===N.end,"Token end is child end");consumeTokenAndAdvanceScanner(Le,j,ie,N);return $}}var Be=N.kind===164?Ie:ce;var je=computeIndentation(N,Ie,Me,j,ie,Be);processNode(N,we,Ie,Ne,je.indentation,je.delta);we=j;if(Te&&q.kind===203&&$===-1){$=je.indentation}return $}function processChildNodes($,q,ie,ae){E.Debug.assert(E.isNodeArray($));var ce=getOpenTokenForList(q,$);var Te=ae;var Ee=ie;if(ce!==0){while(G.isOnToken()&&G.getStartPos()$.pos){break}else if(we.token.kind===ce){Ee=le.getLineAndCharacterOfPosition(we.token.pos).line;consumeTokenAndAdvanceScanner(we,q,ae,q);var Ie=void 0;if(Be!==-1){Ie=Be}else{var Ne=E.getLineStartPositionForPosition(we.token.pos,le);Ie=N.SmartIndenter.findFirstNonWhitespaceColumn(Ne,we.token.pos,le,_e)}Te=getDynamicIndentation(q,ie,Ie,_e.indentSize)}else{consumeTokenAndAdvanceScanner(we,q,ae,q)}}}var Me=-1;for(var Le=0;Le<$.length;Le++){var je=$[Le];Me=processChildNode(je,Me,j,Te,Ee,Ee,true,Le===0)}var Ue=getCloseTokenForOpenToken(ce);if(Ue!==0&&G.isOnToken()&&G.getStartPos()0){var ze=getIndentationString(Ue,_e);recordReplace(Be,je.character,ze)}else{recordDelete(Be,je.character)}}}function trimTrailingWhitespacesForLines(N,R,j){for(var $=N;$G){continue}var ie=getTrailingWhitespaceStartPosition(q,G);if(ie!==-1){E.Debug.assert(ie===q||!E.isWhiteSpaceSingleLine(le.text.charCodeAt(ie-1)));recordDelete(ie,G+1-ie)}}}function getTrailingWhitespaceStartPosition(N,R){var j=R;while(j>=N&&E.isWhiteSpaceSingleLine(le.text.charCodeAt(j))){j--}if(j!==R){return j+1}return-1}function trimTrailingWhitespacesForRemainingRange(N){var j=Ie?Ie.end:R.pos;for(var $=0,q=N;$j.text.length){return getBaseIndentation($)}if($.indentStyle===E.IndentStyle.None){return 0}var G=E.findPrecedingToken(R,j,undefined,true);var ie=N.getRangeOfEnclosingComment(j,R,G||null);if(ie&&ie.kind===3){return getCommentIndent(j,R,$,ie)}if(!G){return getBaseIndentation($)}var ae=E.isStringOrRegularExpressionOrTemplateLiteral(G.kind);if(ae&&G.getStart(j)<=R&&R=0);if(q<=G){return findFirstNonWhitespaceColumn(E.getStartPositionOfLine(G,N),R,N,j)}var ie=E.getStartPositionOfLine(q,N);var ae=findFirstNonWhitespaceCharacterAndColumn(ie,R,N,j),ce=ae.column,le=ae.character;if(ce===0){return ce}var _e=N.text.charCodeAt(ie+le);return _e===42?ce-1:ce}function getBlockIndent(N,R,j){var $=R;while($>0){var q=N.text.charCodeAt($);if(!E.isWhiteSpaceLike(q)){break}$--}var G=E.getLineStartPositionForPosition($,N);return findFirstNonWhitespaceColumn(G,$,N,j)}function getSmartIndent(N,R,j,$,q,G){var ie;var ae=j;while(ae){if(E.positionBelongsToNode(ae,R,N)&&shouldIndentChildNode(G,ae,ie,N,true)){var ce=getStartLineAndCharacterForNode(ae,N);var le=nextTokenIsCurlyBraceOnSameLineAsCursor(j,ae,$,N);var _e=le!==0?q&&le===2?G.indentSize:0:$!==ce.line?G.indentSize:0;return getIndentationForNodeWorker(ae,ce,undefined,_e,N,true,G)}var Te=getActualIndentationForListItem(ae,N,G,true);if(Te!==-1){return Te}ie=ae;ae=ae.parent}return getBaseIndentation(G)}function getIndentationForNode(E,N,R,j){var $=R.getLineAndCharacterOfPosition(E.getStart(R));return getIndentationForNodeWorker(E,$,N,0,R,false,j)}R.getIndentationForNode=getIndentationForNode;function getBaseIndentation(E){return E.baseIndentSize||0}R.getBaseIndentation=getBaseIndentation;function getIndentationForNodeWorker(E,N,R,j,$,q,G){var ie;var ae=E.parent;while(ae){var ce=true;if(R){var le=E.getStart($);ce=leR.end}var _e=getContainingListOrParentStart(ae,E,$);var Te=_e.line===N.line||childStartsOnTheSameLineWithElseInIfStatement(ae,E,N.line,$);if(ce){var Ee=(ie=getContainingList(E,$))===null||ie===void 0?void 0:ie[0];var we=!!Ee&&getStartLineAndCharacterForNode(Ee,$).line>_e.line;var Ie=getActualIndentationForListItem(E,$,G,we);if(Ie!==-1){return Ie+j}Ie=getActualIndentationForNode(E,ae,N,Te,$,G);if(Ie!==-1){return Ie+j}}if(shouldIndentChildNode(G,ae,E,$,q)&&!Te){j+=G.indentSize}var Ne=isArgumentAndStartLineOverlapsExpressionBeingCalled(ae,E,N.line,$);E=ae;ae=E.parent;N=Ne?$.getLineAndCharacterOfPosition(E.getStart($)):_e}return j+getBaseIndentation(G)}function getContainingListOrParentStart(E,N,R){var j=getContainingList(N,R);var $=j?j.pos:E.getStart(R);return R.getLineAndCharacterOfPosition($)}function getActualIndentationForListItemBeforeComma(N,R,j){var $=E.findListItemInfo(N);if($&&$.listItemIndex>0){return deriveActualIndentationFromList($.list.getChildren(),$.listItemIndex-1,R,j)}else{return-1}}function getActualIndentationForNode(N,R,j,$,q,G){var ie=(E.isDeclaration(N)||E.isStatementButNotDeclaration(N))&&(R.kind===303||!$);if(!ie){return-1}return findColumnForFirstNonWhitespaceCharacterInLine(j,q,G)}var $;(function(E){E[E["Unknown"]=0]="Unknown";E[E["OpenBrace"]=1]="OpenBrace";E[E["CloseBrace"]=2]="CloseBrace"})($||($={}));function nextTokenIsCurlyBraceOnSameLineAsCursor(N,R,j,$){var q=E.findNextToken(N,R,$);if(!q){return 0}if(q.kind===18){return 1}else if(q.kind===19){var G=getStartLineAndCharacterForNode(q,$).line;return j===G?2:0}return 0}function getStartLineAndCharacterForNode(E,N){return N.getLineAndCharacterOfPosition(E.getStart(N))}function isArgumentAndStartLineOverlapsExpressionBeingCalled(N,R,j,$){if(!(E.isCallExpression(N)&&E.contains(N.arguments,R))){return false}var q=N.expression.getEnd();var G=E.getLineAndCharacterOfPosition($,q).line;return G===j}R.isArgumentAndStartLineOverlapsExpressionBeingCalled=isArgumentAndStartLineOverlapsExpressionBeingCalled;function childStartsOnTheSameLineWithElseInIfStatement(N,R,j,$){if(N.kind===238&&N.elseStatement===R){var q=E.findChildOfKind(N,91,$);E.Debug.assert(q!==undefined);var G=getStartLineAndCharacterForNode(q,$).line;return G===j}return false}R.childStartsOnTheSameLineWithElseInIfStatement=childStartsOnTheSameLineWithElseInIfStatement;function childIsUnindentedBranchOfConditionalExpression(N,R,j,$){if(E.isConditionalExpression(N)&&(R===N.whenTrue||R===N.whenFalse)){var q=E.getLineAndCharacterOfPosition($,N.condition.end).line;if(R===N.whenTrue){return j===q}else{var G=getStartLineAndCharacterForNode(N.whenTrue,$).line;var ie=E.getLineAndCharacterOfPosition($,N.whenTrue.end).line;return q===G&&ie===j}}return false}R.childIsUnindentedBranchOfConditionalExpression=childIsUnindentedBranchOfConditionalExpression;function argumentStartsOnSameLineAsPreviousArgument(N,R,j,$){if(E.isCallOrNewExpression(N)){if(!N.arguments)return false;var q=E.find(N.arguments,(function(E){return E.pos===R.pos}));if(!q)return false;var G=N.arguments.indexOf(q);if(G===0)return false;var ie=N.arguments[G-1];var ae=E.getLineAndCharacterOfPosition($,ie.getEnd()).line;if(j===ae){return true}}return false}R.argumentStartsOnSameLineAsPreviousArgument=argumentStartsOnSameLineAsPreviousArgument;function getContainingList(E,N){return E.parent&&getListByRange(E.getStart(N),E.getEnd(),E.parent,N)}R.getContainingList=getContainingList;function getListByPosition(E,N,R){return N&&getListByRange(E,E,N,R)}function getListByRange(N,R,j,$){switch(j.kind){case 177:return getList(j.typeArguments);case 204:return getList(j.properties);case 203:return getList(j.elements);case 181:return getList(j.members);case 255:case 212:case 213:case 168:case 167:case 173:case 170:case 179:case 174:return getList(j.typeParameters)||getList(j.parameters);case 171:return getList(j.parameters);case 256:case 225:case 257:case 258:case 342:return getList(j.typeParameters);case 208:case 207:return getList(j.typeArguments)||getList(j.arguments);case 254:return getList(j.declarations);case 268:case 272:return getList(j.elements);case 200:case 201:return getList(j.elements)}function getList(q){return q&&E.rangeContainsStartEnd(getVisualListRange(j,q,$),N,R)?q:undefined}}function getVisualListRange(E,N,R){var j=E.getChildren(R);for(var $=1;$=0&&R=0;ie--){if(N[ie].kind===27){continue}var ae=j.getLineAndCharacterOfPosition(N[ie].end).line;if(ae!==G.line){return findColumnForFirstNonWhitespaceCharacterInLine(G,j,$)}G=getStartLineAndCharacterForNode(N[ie],j)}return-1}function findColumnForFirstNonWhitespaceCharacterInLine(E,N,R){var j=N.getPositionOfLineAndCharacter(E.line,0);return findFirstNonWhitespaceColumn(j,j+E.character,N,R)}function findFirstNonWhitespaceCharacterAndColumn(N,R,j,$){var q=0;var G=0;for(var ie=N;ie0?1:0;var Le=E.getStartPositionOfLine(E.getLineOfLocalPosition(N,we)+Me,N);Le=skipWhitespacesAndLineBreaks(N.text,Le);return E.getStartPositionOfLine(E.getLineOfLocalPosition(N,Le),N)}function getEndPositionOfMultilineTrailingComment(N,R,j){var $=R.end;var G=j.trailingTriviaOption;if(G===q.Include){var ie=E.getTrailingCommentRanges(N.text,$);if(ie){var ae=E.getLineOfLocalPosition(N,R.end);for(var ce=0,le=ie;ceae){break}var Te=E.getLineOfLocalPosition(N,_e.end);if(Te>ae){return E.skipTrivia(N.text,_e.end,true,true)}}}}return undefined}function getAdjustedEndPosition(N,R,j){var $;var G=R.end;var ie=j.trailingTriviaOption;if(ie===q.Exclude){return G}if(ie===q.ExcludeWhitespace){var ae=E.concatenate(E.getTrailingCommentRanges(N.text,G),E.getLeadingCommentRanges(N.text,G));var ce=($=ae===null||ae===void 0?void 0:ae[ae.length-1])===null||$===void 0?void 0:$.end;if(ce){return ce}return G}var le=getEndPositionOfMultilineTrailingComment(N,R,j);if(le){return le}var _e=E.skipTrivia(N.text,G,true);return _e!==G&&(ie===q.Include||E.isLineBreak(N.text.charCodeAt(_e-1)))?_e:G}function isSeparator(E,N){return!!N&&!!E.parent&&(N.kind===27||N.kind===26&&E.parent.kind===204)}function isThisTypeAnnotatable(N){return E.isFunctionExpression(N)||E.isFunctionDeclaration(N)}N.isThisTypeAnnotatable=isThisTypeAnnotatable;var ae=function(){function ChangeTracker(N,R){this.newLineCharacter=N;this.formatContext=R;this.changes=[];this.newFiles=[];this.classesWithNodesInsertedAtStart=new E.Map;this.deletedNodes=[]}ChangeTracker.fromContext=function(N){return new ChangeTracker(E.getNewLineOrDefaultFromHost(N.host,N.formatContext.options),N.formatContext)};ChangeTracker.with=function(E,N){var R=ChangeTracker.fromContext(E);N(R);return R.getChanges()};ChangeTracker.prototype.pushRaw=function(N,R){E.Debug.assertEqual(N.fileName,R.fileName);for(var j=0,$=R.textChanges;j<$.length;j++){var q=$[j];this.changes.push({kind:ie.Text,sourceFile:N,text:q.newText,range:E.createTextRangeFromSpan(q.span)})}};ChangeTracker.prototype.deleteRange=function(E,N){this.changes.push({kind:ie.Remove,sourceFile:E,range:N})};ChangeTracker.prototype.delete=function(E,N){this.deletedNodes.push({sourceFile:E,node:N})};ChangeTracker.prototype.deleteNode=function(E,N,j){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}this.deleteRange(E,getAdjustedRange(E,N,N,j))};ChangeTracker.prototype.deleteNodes=function(E,N,j,$){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}for(var q=0,G=N;q",joiner:", "})};ChangeTracker.prototype.getOptionsForInsertNodeBefore=function(N,R,j){if(E.isStatement(N)||E.isClassElement(N)){return{suffix:j?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}}else if(E.isVariableDeclaration(N)){return{suffix:", "}}else if(E.isParameter(N)){return E.isParameter(R)?{suffix:", "}:{}}else if(E.isStringLiteral(N)&&E.isImportDeclaration(N.parent)||E.isNamedImports(N)){return{suffix:", "}}else if(E.isImportSpecifier(N)){return{suffix:","+(j?this.newLineCharacter:" ")}}return E.Debug.failBadSyntaxKind(N)};ChangeTracker.prototype.insertNodeAtConstructorStart=function(N,R,$){var q=E.firstOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j([$],R.body.statements,true))}else{this.insertNodeBefore(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorStartAfterSuperCall=function(N,R,$){var q=E.find(R.body.statements,(function(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)}));if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorEnd=function(N,R,$){var q=E.lastOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.replaceConstructorBody=function(N,R,j){this.replaceNode(N,R.body,E.factory.createBlock(j,true))};ChangeTracker.prototype.insertNodeAtEndOfScope=function(N,R,j){var $=getAdjustedStartPosition(N,R.getLastToken(),{});this.insertNodeAt(N,$,j,{prefix:E.isLineBreak(N.text.charCodeAt(R.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})};ChangeTracker.prototype.insertNodeAtClassStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtObjectStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtStartWorker=function(E,N,R){var j;var $=(j=this.guessIndentationFromExistingMembers(E,N))!==null&&j!==void 0?j:this.computeIndentationForNewMember(E,N);this.insertNodeAt(E,getMembersOrProperties(N).pos,R,this.getInsertNodeAtStartInsertOptions(E,N,$))};ChangeTracker.prototype.guessIndentationFromExistingMembers=function(N,R){var j;var $=R;for(var q=0,G=getMembersOrProperties(R);q0?{fileName:q.fileName,textChanges:ae}:undefined}))}N.getTextChangesFromChanges=getTextChangesFromChanges;function newFileChanges(N,R,j,$,q){var G=newFileChangesWorker(N,E.getScriptKindFromFileName(R),j,$,q);return{fileName:R,textChanges:[E.createTextChange(E.createTextSpan(0,0),G)],isNewFile:true}}N.newFileChanges=newFileChanges;function newFileChangesWorker(N,R,j,$,q){var G=j.map((function(E){return E===4?"":getNonformattedText(E,N,$).text})).join($);var ie=E.createSourceFile("any file name",G,99,true,R);var ae=E.formatting.formatDocument(ie,q);return applyChanges(G,ae)+$}N.newFileChangesWorker=newFileChangesWorker;function computeNewText(N,R,j,$,q){var G;if(N.kind===ie.Remove){return""}if(N.kind===ie.Text){return N.text}var ae=N.options,ce=ae===void 0?{}:ae,le=N.range.pos;var format=function(E){return getFormattedTextOfNode(E,R,le,ce,j,$,q)};var _e=N.kind===ie.ReplaceWithMultipleNodes?N.nodes.map((function(N){return E.removeSuffix(format(N),j)})).join(((G=N.options)===null||G===void 0?void 0:G.joiner)||j):format(N.node);var Te=ce.preserveLeadingWhitespace||ce.indentation!==undefined||E.getLineStartPositionForPosition(le,R)===le?_e:_e.replace(/^\s+/,"");return(ce.prefix||"")+Te+(!ce.suffix||E.endsWith(Te,ce.suffix)?"":ce.suffix)}function getFormattedTextOfNode(N,R,j,q,G,ie,ae){var ce=q.indentation,le=q.prefix,_e=q.delta;var Te=getNonformattedText(N,R,G),Ee=Te.node,we=Te.text;if(ae)ae(Ee,we);var Ie=E.getFormatCodeSettingsForWriting(ie,R);var Ne=ce!==undefined?ce:E.formatting.SmartIndenter.getIndentation(j,R,Ie,le===G||E.getLineStartPositionForPosition(j,R)===j);if(_e===undefined){_e=E.formatting.SmartIndenter.shouldIndentChildNode(Ie,N)?Ie.indentSize||0:0}var Me={text:we,getLineAndCharacterOfPosition:function(N){return E.getLineAndCharacterOfPosition(this,N)}};var Le=E.formatting.formatNodeGivenIndentation(Ee,Me,R.languageVariant,Ne,_e,$($({},ie),{options:Ie}));return applyChanges(we,Le)}function getNonformattedText(N,R,j){var $=createWriter(j);var q=E.getNewLineKind(j);E.createPrinter({newLine:q,neverAsciiEscape:true,preserveSourceNewlines:true,terminateUnterminatedLiterals:true},$).writeNode(4,N,R,$);return{text:$.getText(),node:assignPositionsToNode(N)}}N.getNonformattedText=getNonformattedText})(ce||(ce={}));function applyChanges(N,R){for(var j=R.length-1;j>=0;j--){var $=R[j],q=$.span,G=$.newText;N="".concat(N.substring(0,q.start)).concat(G).concat(N.substring(E.textSpanEnd(q)))}return N}N.applyChanges=applyChanges;function isTrivia(N){return E.skipTrivia(N,0)===N.length}function assignPositionsToNode(N){var R=E.visitEachChild(N,assignPositionsToNode,E.nullTransformationContext,assignPositionsToNodeArray,assignPositionsToNode);var j=E.nodeIsSynthesized(R)?R:Object.create(R);E.setTextRangePosEnd(j,getPos(N),getEnd(N));return j}N.assignPositionsToNode=assignPositionsToNode;function assignPositionsToNodeArray(N,R,j,$,q){var G=E.visitNodes(N,R,j,$,q);if(!G){return G}var ie=G===N?E.factory.createNodeArray(G.slice(0)):G;E.setTextRangePosEnd(ie,getPos(N),getEnd(N));return ie}function createWriter(N){var R=0;var j=E.createTextWriter(N);var onBeforeEmitNode=function(E){if(E){setPos(E,R)}};var onAfterEmitNode=function(E){if(E){setEnd(E,R)}};var onBeforeEmitNodeArray=function(E){if(E){setPos(E,R)}};var onAfterEmitNodeArray=function(E){if(E){setEnd(E,R)}};var onBeforeEmitToken=function(E){if(E){setPos(E,R)}};var onAfterEmitToken=function(E){if(E){setEnd(E,R)}};function setLastNonTriviaPosition(N,$){if($||!isTrivia(N)){R=j.getTextPos();var q=0;while(E.isWhiteSpaceLike(N.charCodeAt(N.length-q-1))){q++}R-=q}}function write(E){j.write(E);setLastNonTriviaPosition(E,false)}function writeComment(E){j.writeComment(E)}function writeKeyword(E){j.writeKeyword(E);setLastNonTriviaPosition(E,false)}function writeOperator(E){j.writeOperator(E);setLastNonTriviaPosition(E,false)}function writePunctuation(E){j.writePunctuation(E);setLastNonTriviaPosition(E,false)}function writeTrailingSemicolon(E){j.writeTrailingSemicolon(E);setLastNonTriviaPosition(E,false)}function writeParameter(E){j.writeParameter(E);setLastNonTriviaPosition(E,false)}function writeProperty(E){j.writeProperty(E);setLastNonTriviaPosition(E,false)}function writeSpace(E){j.writeSpace(E);setLastNonTriviaPosition(E,false)}function writeStringLiteral(E){j.writeStringLiteral(E);setLastNonTriviaPosition(E,false)}function writeSymbol(E,N){j.writeSymbol(E,N);setLastNonTriviaPosition(E,false)}function writeLine(E){j.writeLine(E)}function increaseIndent(){j.increaseIndent()}function decreaseIndent(){j.decreaseIndent()}function getText(){return j.getText()}function rawWrite(E){j.rawWrite(E);setLastNonTriviaPosition(E,false)}function writeLiteral(E){j.writeLiteral(E);setLastNonTriviaPosition(E,true)}function getTextPos(){return j.getTextPos()}function getLine(){return j.getLine()}function getColumn(){return j.getColumn()}function getIndent(){return j.getIndent()}function isAtStartOfLine(){return j.isAtStartOfLine()}function clear(){j.clear();R=0}return{onBeforeEmitNode:onBeforeEmitNode,onAfterEmitNode:onAfterEmitNode,onBeforeEmitNodeArray:onBeforeEmitNodeArray,onAfterEmitNodeArray:onAfterEmitNodeArray,onBeforeEmitToken:onBeforeEmitToken,onAfterEmitToken:onAfterEmitToken,write:write,writeComment:writeComment,writeKeyword:writeKeyword,writeOperator:writeOperator,writePunctuation:writePunctuation,writeTrailingSemicolon:writeTrailingSemicolon,writeParameter:writeParameter,writeProperty:writeProperty,writeSpace:writeSpace,writeStringLiteral:writeStringLiteral,writeSymbol:writeSymbol,writeLine:writeLine,increaseIndent:increaseIndent,decreaseIndent:decreaseIndent,getText:getText,rawWrite:rawWrite,writeLiteral:writeLiteral,getTextPos:getTextPos,getLine:getLine,getColumn:getColumn,getIndent:getIndent,isAtStartOfLine:isAtStartOfLine,hasTrailingComment:function(){return j.hasTrailingComment()},hasTrailingWhitespace:function(){return j.hasTrailingWhitespace()},clear:clear}}N.createWriter=createWriter;function getInsertionPositionAtSourceFileTop(N){var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(E.isPrologueDirective(q)){R=q}else{break}}var G=0;var ie=N.text;if(R){G=R.end;advancePastLineBreak();return G}var ae=E.getShebang(ie);if(ae!==undefined){G=ae.length;advancePastLineBreak()}var ce=E.getLeadingCommentRanges(ie,G);if(!ce)return G;var le;var _e;for(var Te=0,Ee=ce;Te=Ne+2)break}if(N.statements.length){if(_e===undefined)_e=N.getLineAndCharacterOfPosition(N.statements[0].getStart()).line;var Me=N.getLineAndCharacterOfPosition(we.end).line;if(_e1)break}var le=q<2;return function(E){var N=E.fixId,R=E.fixAllDescription,j=ie(E,["fixId","fixAllDescription"]);return le?j:$($({},j),{fixId:N,fixAllDescription:R})}}function getFixes(N){var j=getDiagnostics(N);var $=R.get(String(N.errorCode));return E.flatMap($,(function(R){return E.map(R.getCodeActions(N),removeFixIdIfFixAllUnavailable(R,j))}))}N.getFixes=getFixes;function getAllFixes(N){return q.get(E.cast(N.fixId,E.isString)).getAllCodeActions(N)}N.getAllFixes=getAllFixes;function createCombinedCodeActions(E,N){return{changes:E,commands:N}}N.createCombinedCodeActions=createCombinedCodeActions;function createFileTextChanges(E,N){return{fileName:E,textChanges:N}}N.createFileTextChanges=createFileTextChanges;function codeFixAll(N,R,j){var $=[];var q=E.textChanges.ChangeTracker.with(N,(function(E){return eachDiagnostic(N,R,(function(N){return j(E,N,$)}))}));return createCombinedCodeActions(q,$.length===0?undefined:$)}N.codeFixAll=codeFixAll;function eachDiagnostic(N,R,j){for(var $=0,q=getDiagnostics(N);$E.textSpanEnd(R)){return"quit"}return(E.isArrowFunction(j)||E.isMethodDeclaration(j)||E.isFunctionExpression(j)||E.isFunctionDeclaration(j))&&E.textSpansEqual(R,E.createTextSpanFromNode(j,N))}));return $}function getIsMatchingAsyncError(N,R){return function(j){var $=j.start,q=j.length,G=j.relatedInformation,ie=j.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},N)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingAwait";var $=E.Diagnostics.Property_0_does_not_exist_on_type_1.code;var q=[E.Diagnostics.This_expression_is_not_callable.code,E.Diagnostics.This_expression_is_not_constructable.code];var G=j([E.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,E.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,E.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,E.Diagnostics.Type_0_is_not_an_array_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,$],q,true);N.registerCodeFix({fixIds:[R],errorCodes:G,getCodeActions:function getCodeActionsToAddMissingAwait(N){var R=N.sourceFile,j=N.errorCode,$=N.span,q=N.cancellationToken,G=N.program;var ie=getAwaitErrorSpanExpression(R,j,$,q,G);if(!ie){return}var ae=N.program.getTypeChecker();var trackChanges=function(R){return E.textChanges.ChangeTracker.with(N,R)};return E.compact([getDeclarationSiteFix(N,ie,j,ae,trackChanges),getUseSiteFix(N,ie,j,ae,trackChanges)])},getAllCodeActions:function(R){var j=R.sourceFile,$=R.program,q=R.cancellationToken;var ie=R.program.getTypeChecker();var ae=new E.Set;return N.codeFixAll(R,G,(function(E,N){var G=getAwaitErrorSpanExpression(j,N.code,N,q,$);if(!G){return}var trackChanges=function(N){return N(E),[]};return getDeclarationSiteFix(R,G,N.code,ie,trackChanges,ae)||getUseSiteFix(R,G,N.code,ie,trackChanges,ae)}))}});function getAwaitErrorSpanExpression(N,R,j,$,q){var G=E.getFixableErrorSpanExpression(N,j);return G&&isMissingAwaitError(N,R,j,$,q)&&isInsideAwaitableBody(G)?G:undefined}function getDeclarationSiteFix(R,j,$,q,G,ie){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=findAwaitableInitializers(j,ae,le,ce,q);if(_e){var Te=G((function(N){E.forEach(_e.initializers,(function(E){var R=E.expression;return makeChange(N,$,ae,q,R,ie)}));if(ie&&_e.needsSecondPassForFixAll){makeChange(N,$,ae,q,j,ie)}}));return N.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",Te,_e.initializers.length===1?[E.Diagnostics.Add_await_to_initializer_for_0,_e.initializers[0].declarationSymbol.name]:E.Diagnostics.Add_await_to_initializers)}}function getUseSiteFix(j,$,q,G,ie,ae){var ce=ie((function(E){return makeChange(E,q,j.sourceFile,G,$,ae)}));return N.createCodeFixAction(R,ce,E.Diagnostics.Add_await,R,E.Diagnostics.Fix_all_expressions_possibly_missing_await)}function isMissingAwaitError(N,R,j,$,q){var G=q.getDiagnosticsProducingTypeChecker();var ie=G.getDiagnostics(N,$);return E.some(ie,(function(N){var $=N.start,q=N.length,G=N.relatedInformation,ie=N.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},j)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_forget_to_use_await.code}))}))}function findAwaitableInitializers(N,R,j,$,q){var G=getIdentifiersFromErrorSpanExpression(N,q);if(!G){return}var ie=G.isCompleteFix;var ae;var _loop_13=function(N){var G=q.getSymbolAtLocation(N);if(!G){return"continue"}var ce=E.tryCast(G.valueDeclaration,E.isVariableDeclaration);var le=ce&&E.tryCast(ce.name,E.isIdentifier);var _e=E.getAncestor(ce,236);if(!ce||!_e||ce.type||!ce.initializer||_e.getSourceFile()!==R||E.hasSyntacticModifier(_e,1)||!le||!isInsideAwaitableBody(ce.initializer)){ie=false;return"continue"}var Te=$.getSemanticDiagnostics(R,j);var Ee=E.FindAllReferences.Core.eachSymbolReferenceInFile(le,q,R,(function(E){return N!==E&&!symbolReferenceIsAlsoMissingAwait(E,Te,R,q)}));if(Ee){ie=false;return"continue"}(ae||(ae=[])).push({expression:ce.initializer,declarationSymbol:G})};for(var ce=0,le=G.identifiers;ce0){return[N.createCodeFixAction(R,$,E.Diagnostics.Add_const_to_unresolved_variable,R,E.Diagnostics.Add_const_to_all_unresolved_variables)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,R.program,$)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,(function(N){return E.isForInOrOfStatement(N.parent)?N.parent.initializer===N:isPossiblyPartOfDestructuring(N)?false:"quit"}));if(ie)return applyChange(N,ie,R,q);var ae=G.parent;if(E.isBinaryExpression(ae)&&ae.operatorToken.kind===63&&E.isExpressionStatement(ae.parent)){return applyChange(N,G,R,q)}if(E.isArrayLiteralExpression(ae)){var ce=$.getTypeChecker();if(!E.every(ae.elements,(function(E){return arrayElementCouldBeVariableDeclaration(E,ce)}))){return}return applyChange(N,ae,R,q)}var le=E.findAncestor(G,(function(N){return E.isExpressionStatement(N.parent)?true:isPossiblyPartOfCommaSeperatedInitializer(N)?false:"quit"}));if(le){var _e=$.getTypeChecker();if(!expressionCouldBeVariableDeclaration(le,_e)){return}return applyChange(N,le,R,q)}}function applyChange(N,R,j,$){if(!$||E.tryAddToSet($,R)){N.insertModifierBefore(j,85,R)}}function isPossiblyPartOfDestructuring(E){switch(E.kind){case 79:case 203:case 204:case 294:case 295:return true;default:return false}}function arrayElementCouldBeVariableDeclaration(N,R){var j=E.isIdentifier(N)?N:E.isAssignmentExpression(N,true)&&E.isIdentifier(N.left)?N.left:undefined;return!!j&&!R.getSymbolAtLocation(j)}function isPossiblyPartOfCommaSeperatedInitializer(E){switch(E.kind){case 79:case 220:case 27:return true;default:return false}}function expressionCouldBeVariableDeclaration(N,R){if(!E.isBinaryExpression(N)){return false}if(N.operatorToken.kind===27){return E.every([N.left,N.right],(function(E){return expressionCouldBeVariableDeclaration(E,R)}))}return N.operatorToken.kind===63&&E.isIdentifier(N.left)&&!R.getSymbolAtLocation(N.left)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingDeclareProperty";var j=[E.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToAddMissingDeclareOnProperty(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Prefix_with_declare,R,E.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,$)}))}});function makeChange(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!E.isIdentifier(q)){return}var G=q.parent;if(G.kind===166&&(!$||E.tryAddToSet($,G))){N.insertModifierBefore(R,135,G)}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingInvocationForDecorator";var j=[E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToAddMissingInvocationForDecorator(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Call_decorator_expression,R,E.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);var q=E.findAncestor($,E.isDecorator);E.Debug.assert(!!q,"Expected position to be owned by a decorator.");var G=E.factory.createCallExpression(q.expression,undefined,undefined);N.replaceNode(R,q.expression,G)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addNameToNamelessParameter";var j=[E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToAddNameToNamelessParameter(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Add_parameter_name,R,E.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);var q=$.parent;if(!E.isParameter(q)){return E.Debug.fail("Tried to add a parameter name to a non-parameter: "+E.Debug.formatSyntaxKind($.kind))}var G=q.parent.parameters.indexOf(q);E.Debug.assert(!q.type,"Tried to add a parameter name to a parameter that already had one.");E.Debug.assert(G>-1,"Parameter not found in parent parameter list.");var ie=E.factory.createTypeReferenceNode(q.name,undefined);var ae=E.factory.createParameterDeclaration(undefined,q.modifiers,q.dotDotDotToken,"arg"+G,q.questionToken,q.dotDotDotToken?E.factory.createArrayTypeNode(ie):ie,q.initializer);N.replaceNode(R,q,ae)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addOptionalPropertyUndefined";var $=[E.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code];N.registerCodeFix({errorCodes:$,getCodeActions:function(j){var $=j.program.getTypeChecker();var q=getPropertiesToAdd(j.sourceFile,j.span,$);if(!q.length){return undefined}var G=E.textChanges.ChangeTracker.with(j,(function(E){return addUndefinedToOptionalProperty(E,q)}));return[N.createCodeFixActionWithoutFixAll(R,G,E.Diagnostics.Add_undefined_to_optional_property_type)]},fixIds:[R]});function getPropertiesToAdd(N,R,j){var $,q;var G=getSourceTarget(E.getFixableErrorSpanExpression(N,R),j);if(!G){return E.emptyArray}var ie=G.source,ae=G.target;var ce=shouldUseParentTypeOfProperty(ie,ae,j)?j.getTypeAtLocation(ae.expression):j.getTypeAtLocation(ae);if((q=($=ce.symbol)===null||$===void 0?void 0:$.declarations)===null||q===void 0?void 0:q.some((function(N){return E.getSourceFileOfNode(N).fileName.match(/\.d\.ts$/)}))){return E.emptyArray}return j.getExactOptionalProperties(ce)}function shouldUseParentTypeOfProperty(N,R,j){return E.isPropertyAccessExpression(R)&&!!j.getExactOptionalProperties(j.getTypeAtLocation(R.expression)).length&&j.getTypeAtLocation(N)===j.getUndefinedType()}function getSourceTarget(N,R){var j;if(!N){return undefined}else if(E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63){return{source:N.parent.right,target:N.parent.left}}else if(E.isVariableDeclaration(N.parent)&&N.parent.initializer){return{source:N.parent.initializer,target:N.parent.name}}else if(E.isCallExpression(N.parent)){var $=R.getSymbolAtLocation(N.parent.expression);if(!($===null||$===void 0?void 0:$.valueDeclaration)||!E.isFunctionLikeKind($.valueDeclaration.kind))return undefined;if(!E.isExpression(N))return undefined;var q=N.parent.arguments.indexOf(N);if(q===-1)return undefined;var G=$.valueDeclaration.parameters[q].name;if(E.isIdentifier(G))return{source:N,target:G}}else if(E.isPropertyAssignment(N.parent)&&E.isIdentifier(N.parent.name)||E.isShorthandPropertyAssignment(N.parent)){var ie=getSourceTarget(N.parent.parent,R);if(!ie)return undefined;var ae=R.getPropertyOfType(R.getTypeAtLocation(ie.target),N.parent.name.text);var ce=(j=ae===null||ae===void 0?void 0:ae.declarations)===null||j===void 0?void 0:j[0];if(!ce)return undefined;return{source:E.isPropertyAssignment(N.parent)?N.parent.initializer:N.parent.name,target:ce}}return undefined}function addUndefinedToOptionalProperty(N,R){for(var $=0,q=R;$1){N.delete(R,ae);N.insertNodeAfter(R,le,ce)}else{N.replaceNode(R,le,ce)}}function createClassElementsFromSymbol(j){var $=[];if(j.members){j.members.forEach((function(E,j){if(j==="constructor"&&E.valueDeclaration){N.delete(R,E.valueDeclaration.parent);return}var q=createClassElement(E,undefined);if(q){$.push.apply($,q)}}))}if(j.exports){j.exports.forEach((function(N){if(N.name==="prototype"&&N.declarations){var R=N.declarations[0];if(N.declarations.length===1&&E.isPropertyAccessExpression(R)&&E.isBinaryExpression(R.parent)&&R.parent.operatorToken.kind===63&&E.isObjectLiteralExpression(R.parent.right)){var j=R.parent.right;var q=createClassElement(j.symbol,undefined);if(q){$.push.apply($,q)}}}else{var q=createClassElement(N,[E.factory.createToken(124)]);if(q){$.push.apply($,q)}}}))}return $;function shouldConvertDeclaration(N,R){if(E.isAccessExpression(N)){if(E.isPropertyAccessExpression(N)&&isConstructorAssignment(N))return true;return E.isFunctionLike(R)}else{return E.every(N.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N))return true;if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)&&!!N.name)return true;if(isConstructorAssignment(N))return true;return false}))}}function createClassElement(j,$){var ie=[];if(!(j.flags&8192)&&!(j.flags&4096)){return ie}var ae=j.valueDeclaration;var ce=ae.parent;var le=ce.right;if(!shouldConvertDeclaration(ae,le)){return ie}var _e=ce.parent&&ce.parent.kind===237?ce.parent:ce;N.delete(R,_e);if(!le){ie.push(E.factory.createPropertyDeclaration([],$,j.name,undefined,undefined,undefined));return ie}if(E.isAccessExpression(ae)&&(E.isFunctionExpression(le)||E.isArrowFunction(le))){var Te=E.getQuotePreference(R,q);var Ee=tryGetPropertyName(ae,G,Te);if(Ee){return createFunctionLikeExpressionMember(ie,le,Ee)}return ie}else if(E.isObjectLiteralExpression(le)){return E.flatMap(le.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N)){return ie.concat(N)}if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)){return createFunctionLikeExpressionMember(ie,N.initializer,N.name)}if(isConstructorAssignment(N))return ie;return[]}))}else{if(E.isSourceFileJS(R))return ie;if(!E.isPropertyAccessExpression(ae))return ie;var we=E.factory.createPropertyDeclaration(undefined,$,ae.name,undefined,undefined,le);E.copyLeadingComments(ce.parent,we,R);ie.push(we);return ie}function createFunctionLikeExpressionMember(N,R,j){if(E.isFunctionExpression(R))return createFunctionExpressionMember(N,R,j);else return createArrowFunctionExpressionMember(N,R,j)}function createFunctionExpressionMember(N,j,q){var G=E.concatenate($,getModifierKindFromSource(j,131));var ie=E.factory.createMethodDeclaration(undefined,G,undefined,q,undefined,undefined,j.parameters,undefined,j.body);E.copyLeadingComments(ce,ie,R);return N.concat(ie)}function createArrowFunctionExpressionMember(N,j,q){var G=j.body;var ie;if(G.kind===234){ie=G}else{ie=E.factory.createBlock([E.factory.createReturnStatement(G)])}var ae=E.concatenate($,getModifierKindFromSource(j,131));var le=E.factory.createMethodDeclaration(undefined,ae,undefined,q,undefined,undefined,j.parameters,undefined,ie);E.copyLeadingComments(ce,le,R);return N.concat(le)}}}function createClassFromVariableDeclaration(N){var R=N.initializer;if(!R||!E.isFunctionExpression(R)||!E.isIdentifier(N.name)){return undefined}var j=createClassElementsFromSymbol(N.symbol);if(R.body){j.unshift(E.factory.createConstructorDeclaration(undefined,undefined,R.parameters,R.body))}var $=getModifierKindFromSource(N.parent.parent,93);var q=E.factory.createClassDeclaration(undefined,$,N.name,undefined,undefined,j);return q}function createClassFromFunctionDeclaration(N){var R=createClassElementsFromSymbol(ie);if(N.body){R.unshift(E.factory.createConstructorDeclaration(undefined,undefined,N.parameters,N.body))}var j=getModifierKindFromSource(N,93);var $=E.factory.createClassDeclaration(undefined,j,N.name,undefined,undefined,R);return $}}function getModifierKindFromSource(N,R){return E.filter(N.modifiers,(function(E){return E.kind===R}))}function isConstructorAssignment(N){if(!N.name)return false;if(E.isIdentifier(N.name)&&N.name.text==="constructor")return true;return false}function tryGetPropertyName(N,R,j){if(E.isPropertyAccessExpression(N)){return N.name}var $=N.argumentExpression;if(E.isNumericLiteral($)){return $}if(E.isStringLiteralLike($)){return E.isIdentifierText($.text,E.getEmitScriptTarget(R))?E.factory.createIdentifier($.text):E.isNoSubstitutionTemplateLiteral($)?E.factory.createStringLiteral($.text,j===0):$}return undefined}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertToAsyncFunction";var $=[E.Diagnostics.This_may_be_converted_to_an_async_function.code];var q=true;N.registerCodeFix({errorCodes:$,getCodeActions:function(j){q=true;var $=E.textChanges.ChangeTracker.with(j,(function(E){return convertToAsyncFunction(E,j.sourceFile,j.span.start,j.program.getTypeChecker())}));return q?[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_async_function,R,E.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return convertToAsyncFunction(N,R.file,R.start,E.program.getTypeChecker())}))}});var G;(function(E){E[E["Identifier"]=0]="Identifier";E[E["BindingPattern"]=1]="BindingPattern"})(G||(G={}));function convertToAsyncFunction(N,R,j,$){var q=E.getTokenAtPosition(R,j);var G;if(E.isIdentifier(q)&&E.isVariableDeclaration(q.parent)&&q.parent.initializer&&E.isFunctionLikeDeclaration(q.parent.initializer)){G=q.parent.initializer}else{G=E.tryCast(E.getContainingFunction(E.getTokenAtPosition(R,j)),E.canBeConvertedToAsync)}if(!G){return}var ie=new E.Map;var ae=E.isInJSFile(G);var ce=getAllPromiseExpressionsToReturn(G,$);var le=renameCollidingVarNames(G,$,ie);if(!E.returnsPromise(le,$)){return}var _e=le.body&&E.isBlock(le.body)?getReturnStatementsWithPromiseHandlers(le.body,$):E.emptyArray;var Te={checker:$,synthNamesMap:ie,setOfExpressionsToReturn:ce,isInJSFile:ae};if(!_e.length){return}var Ee=G.modifiers?G.modifiers.end:G.decorators?E.skipTrivia(R.text,G.decorators.end):G.getStart(R);var we=G.modifiers?{prefix:" "}:{suffix:" "};N.insertModifierAt(R,Ee,131,we);var _loop_14=function(j){E.forEachChild(j,(function visit($){if(E.isCallExpression($)){var q=transformExpression($,$,Te,false);if(hasFailed()){return true}N.replaceNodeWithNodes(R,j,q)}else if(!E.isFunctionLike($)){E.forEachChild($,visit);if(hasFailed()){return true}}}));if(hasFailed()){return{value:void 0}}};for(var Ie=0,Ne=_e;Ie0){return Ue}if(we){var je=getPossiblyAwaitedRightHandSide(G.checker,we,Ee);if(!shouldReturn(q,G)){var ze=createVariableOrAssignmentOrExpressionStatement(j,je,undefined);if(j){j.types.push(G.checker.getAwaitedType(we)||we)}return ze}else{return maybeAnnotateAndReturn(je,getExplicitPromisedTypeOfPromiseReturningCallExpression(q,N,G.checker))}}else{return silentFail()}}}default:return silentFail()}return E.emptyArray}function getPossiblyAwaitedRightHandSide(N,R,j){var $=E.getSynthesizedDeepClone(j);return!!N.getPromisedTypeOfPromise(R)?E.factory.createAwaitExpression($):$}function getLastCallSignature(N,R){var j=R.getSignaturesOfType(N,0);return E.lastOrUndefined(j)}function removeReturns(N,R,j,$){var q=[];for(var G=0,ie=N;G0){return}}else if(!E.isFunctionLike(R)){E.forEachChild(R,visit)}}));return q}function getArgBindingName(N,R){var j=[];var $;if(E.isFunctionLikeDeclaration(N)){if(N.parameters.length>0){var q=N.parameters[0].name;$=getMappedBindingNameOrDefault(q)}}else if(E.isIdentifier(N)){$=getMapEntryOrDefault(N)}else if(E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)){$=getMapEntryOrDefault(N.name)}if(!$||"identifier"in $&&$.identifier.text==="undefined"){return undefined}return $;function getMappedBindingNameOrDefault(N){if(E.isIdentifier(N))return getMapEntryOrDefault(N);var R=E.flatMap(N.elements,(function(N){if(E.isOmittedExpression(N))return[];return[getMappedBindingNameOrDefault(N.name)]}));return createSynthBindingPattern(N,R)}function getMapEntryOrDefault(N){var $=getOriginalNode(N);var q=getSymbol($);if(!q){return createSynthIdentifier(N,j)}var G=R.synthNamesMap.get(E.getSymbolId(q).toString());return G||createSynthIdentifier(N,j)}function getSymbol(E){return E.symbol?E.symbol:R.checker.getSymbolAtLocation(E)}function getOriginalNode(E){return E.original?E.original:E}}function isEmptyBindingName(N){if(!N){return true}if(isSynthIdentifier(N)){return!N.identifier.text}return E.every(N.elements,isEmptyBindingName)}function createSynthIdentifier(E,N){if(N===void 0){N=[]}return{kind:0,identifier:E,types:N,hasBeenDeclared:false,hasBeenReferenced:false}}function createSynthBindingPattern(N,R,j){if(R===void 0){R=E.emptyArray}if(j===void 0){j=[]}return{kind:1,bindingPattern:N,elements:R,types:j}}function referenceSynthIdentifier(E){E.hasBeenReferenced=true;return E.identifier}function declareSynthBindingName(E){return isSynthIdentifier(E)?declareSynthIdentifier(E):declareSynthBindingPattern(E)}function declareSynthBindingPattern(E){for(var N=0,R=E.elements;N1?[[reExportStar(j),reExportDefault(j)],true]:[[reExportDefault(j)],true]}function reExportStar(E){return makeExportDeclaration(undefined,E)}function reExportDefault(N){return makeExportDeclaration([E.factory.createExportSpecifier(false,undefined,"default")],N)}function convertExportsPropertyAssignment(N,R,j){var $=N.left,q=N.right,G=N.parent;var ie=$.name.text;if((E.isFunctionExpression(q)||E.isArrowFunction(q)||E.isClassExpression(q))&&(!q.name||q.name.text===ie)){j.replaceRange(R,{pos:$.getStart(R),end:q.getStart(R)},E.factory.createToken(93),{suffix:" "});if(!q.name)j.insertName(R,q,ie);var ae=E.findChildOfKind(G,26,R);if(ae)j.delete(R,ae)}else{j.replaceNodeRangeWithNodes(R,$.expression,E.findChildOfKind($,24,R),[E.factory.createToken(93),E.factory.createToken(85)],{joiner:" ",suffix:" "})}}function convertExportsDotXEquals_replaceNode(N,R,j){var $=[E.factory.createToken(93)];switch(R.kind){case 212:{var q=R.name;if(q&&q.text!==N){return exportConst()}}case 213:return functionExpressionToDeclaration(N,$,R,j);case 225:return classExpressionToDeclaration(N,$,R,j);default:return exportConst()}function exportConst(){return makeConst($,E.factory.createIdentifier(N),replaceImportUseSites(R,j))}}function replaceImportUseSites(N,R){if(!R||!E.some(E.arrayFrom(R.keys()),(function(R){return E.rangeContainsRange(N,R)}))){return N}return E.isArray(N)?E.getSynthesizedDeepClonesWithReplacements(N,true,replaceNode):E.getSynthesizedDeepCloneWithReplacements(N,true,replaceNode);function replaceNode(E){if(E.kind===205){var N=R.get(E);R.delete(E);return N}}}function convertSingleImport(R,j,$,q,G,ie){switch(R.kind){case 200:{var ae=E.mapAllOrFail(R.elements,(function(N){return N.dotDotDotToken||N.initializer||N.propertyName&&!E.isIdentifier(N.propertyName)||!E.isIdentifier(N.name)?undefined:makeImportSpecifier(N.propertyName&&N.propertyName.text,N.name.text)}));if(ae){return convertedImports([E.makeImport(undefined,ae,j,ie)])}}case 201:{var ce=makeUniqueName(N.moduleSpecifierToValidIdentifier(j.text,G),q);return convertedImports([E.makeImport(E.factory.createIdentifier(ce),undefined,j,ie),makeConst(undefined,E.getSynthesizedDeepClone(R),E.factory.createIdentifier(ce))])}case 79:return convertSingleIdentifierImport(R,j,$,q,ie);default:return E.Debug.assertNever(R,"Convert to ES module got invalid name kind ".concat(R.kind))}}function convertSingleIdentifierImport(N,R,j,$,q){var G=j.getSymbolAtLocation(N);var ie=new E.Map;var ae=false;var ce;for(var le=0,_e=$.original.get(N.text);le<_e.length;le++){var Te=_e[le];if(j.getSymbolAtLocation(Te)!==G||Te===N){continue}var Ee=Te.parent;if(E.isPropertyAccessExpression(Ee)){var we=Ee.name.text;if(we==="default"){ae=true;var Ie=Te.getText();(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Ee,E.factory.createIdentifier(Ie))}else{E.Debug.assert(Ee.expression===Te,"Didn't expect expression === use");var Ne=ie.get(we);if(Ne===undefined){Ne=makeUniqueName(we,$);ie.set(we,Ne)}(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Ee,E.factory.createIdentifier(Ne))}}else{ae=true}}var Me=ie.size===0?undefined:E.arrayFrom(E.mapIterator(ie.entries(),(function(N){var R=N[0],j=N[1];return E.factory.createImportSpecifier(false,R===j?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(j))})));if(!Me){ae=true}return convertedImports([E.makeImport(ae?E.getSynthesizedDeepClone(N):undefined,Me,R,q)],ce)}function makeUniqueName(E,N){while(N.original.has(E)||N.additional.has(E)){E="_".concat(E)}N.additional.add(E);return E}function collectFreeIdentifiers(N){var R=E.createMultiMap();forEachFreeIdentifier(N,(function(E){return R.add(E.text,E)}));return R}function forEachFreeIdentifier(N,R){if(E.isIdentifier(N)&&isFreeIdentifier(N))R(N);N.forEachChild((function(E){return forEachFreeIdentifier(E,R)}))}function isFreeIdentifier(E){var N=E.parent;switch(N.kind){case 205:return N.name!==E;case 202:return N.propertyName!==E;case 269:return N.propertyName!==E;default:return true}}function functionExpressionToDeclaration(N,R,j,$){return E.factory.createFunctionDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),E.getSynthesizedDeepClone(j.asteriskToken),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.parameters),E.getSynthesizedDeepClone(j.type),E.factory.converters.convertToFunctionBlock(replaceImportUseSites(j.body,$)))}function classExpressionToDeclaration(N,R,j,$){return E.factory.createClassDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.heritageClauses),replaceImportUseSites(j.members,$))}function makeSingleImport(N,R,j,$){return R==="default"?E.makeImport(E.factory.createIdentifier(N),undefined,j,$):E.makeImport(undefined,[makeImportSpecifier(R,N)],j,$)}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(false,N!==undefined&&N!==R?E.factory.createIdentifier(N):undefined,E.factory.createIdentifier(R))}function makeConst(N,R,j){return E.factory.createVariableStatement(N,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(R,undefined,undefined,j)],2))}function makeExportDeclaration(N,R){return E.factory.createExportDeclaration(undefined,undefined,false,N&&E.factory.createNamedExports(N),R===undefined?undefined:E.factory.createStringLiteral(R))}function convertedImports(E,N){return{newImports:E,useSitesToUnqualify:N}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="correctQualifiedNameToIndexedAccessType";var j=[E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getQualifiedName(j.sourceFile,j.span.start);if(!$)return undefined;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));var G="".concat($.left.text,'["').concat($.right.text,'"]');return[N.createCodeFixAction(R,q,[E.Diagnostics.Rewrite_as_the_indexed_access_type_0,G],R,E.Diagnostics.Rewrite_all_as_indexed_access_types)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getQualifiedName(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getQualifiedName(N,R){var j=E.findAncestor(E.getTokenAtPosition(N,R),E.isQualifiedName);E.Debug.assert(!!j,"Expected position to be owned by a qualified name.");return E.isIdentifier(j.left)?j:undefined}function doChange(N,R,j){var $=j.right.text;var q=E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(j.left,undefined),E.factory.createLiteralTypeNode(E.factory.createStringLiteral($)));N.replaceNode(R,j,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code];var j="convertToTypeOnlyExport";N.registerCodeFix({errorCodes:R,getCodeActions:function getCodeActionsToConvertToTypeOnlyExport(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return fixSingleExportDeclaration(E,getExportSpecifierForDiagnosticSpan(R.span,R.sourceFile),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_export,j,E.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]}},fixIds:[j],getAllCodeActions:function getAllCodeActionsToConvertToTypeOnlyExport(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getExportSpecifierForDiagnosticSpan(R,j.sourceFile);if(q&&E.addToSeen($,E.getNodeId(q.parent.parent))){fixSingleExportDeclaration(N,q,j)}}))}});function getExportSpecifierForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isExportSpecifier)}function fixSingleExportDeclaration(N,R,j){if(!R){return}var $=R.parent;var q=$.parent;var G=getTypeExportSpecifiers(R,j);if(G.length===$.elements.length){N.insertModifierBefore(j.sourceFile,151,$)}else{var ie=E.factory.updateExportDeclaration(q,q.decorators,q.modifiers,false,E.factory.updateNamedExports($,E.filter($.elements,(function(N){return!E.contains(G,N)}))),q.moduleSpecifier,undefined);var ae=E.factory.createExportDeclaration(undefined,undefined,true,E.factory.createNamedExports(G),q.moduleSpecifier,undefined);N.replaceNode(j.sourceFile,q,ie,{leadingTriviaOption:E.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude});N.insertNodeAfter(j.sourceFile,q,ae)}}function getTypeExportSpecifiers(N,j){var $=N.parent;if($.elements.length===1){return $.elements}var q=E.getDiagnosticsWithinSpan(E.createTextSpanFromNode($),j.program.getSemanticDiagnostics(j.sourceFile,j.cancellationToken));return E.filter($.elements,(function(j){var $;return j===N||(($=E.findDiagnosticForNode(j,q))===null||$===void 0?void 0:$.code)===R[0]}))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code];var j="convertToTypeOnlyImport";N.registerCodeFix({errorCodes:R,getCodeActions:function getCodeActionsToConvertToTypeOnlyImport(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){var N=getImportDeclarationForDiagnosticSpan(R.span,R.sourceFile);fixSingleImportDeclaration(E,N,R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_import,j,E.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[j],getAllCodeActions:function getAllCodeActionsToConvertToTypeOnlyImport(E){return N.codeFixAll(E,R,(function(N,R){var j=getImportDeclarationForDiagnosticSpan(R,E.sourceFile);fixSingleImportDeclaration(N,j,E)}))}});function getImportDeclarationForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isImportDeclaration)}function fixSingleImportDeclaration(N,R,j){if(!(R===null||R===void 0?void 0:R.importClause)){return}var $=R.importClause;N.insertText(j.sourceFile,R.getStart()+"import".length," type");if($.name&&$.namedBindings){N.deleteNodeRangeExcludingEnd(j.sourceFile,$.name,R.importClause.namedBindings);N.insertNodeBefore(j.sourceFile,R,E.factory.updateImportDeclaration(R,undefined,undefined,E.factory.createImportClause(true,$.name,undefined),R.moduleSpecifier,undefined))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertLiteralTypeToMappedType";var j=[E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToConvertLiteralTypeToMappedType(j){var $=j.sourceFile,q=j.span;var G=getInfo($,q.start);if(!G){return undefined}var ie=G.name,ae=G.constraint;var ce=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Convert_0_to_1_in_0,ae,ie],R,E.Diagnostics.Convert_all_type_literals_to_mapped_type)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getInfo(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);if(E.isIdentifier(j)){var $=E.cast(j.parent.parent,E.isPropertySignature);var q=j.getText(N);return{container:E.cast($.parent,E.isTypeLiteralNode),typeNode:$.type,constraint:q,name:q==="K"?"P":"K"}}return undefined}function doChange(N,R,j){var $=j.container,q=j.typeNode,G=j.constraint,ie=j.name;N.replaceNode(R,$,E.factory.createMappedTypeNode(undefined,E.factory.createTypeParameterDeclaration(ie,E.factory.createTypeReferenceNode(G)),undefined,undefined,q,undefined))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Class_0_incorrectly_implements_interface_1.code,E.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code];var j="fixClassIncorrectlyImplementsInterface";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=getClass($,q.start);return E.mapDefined(E.getEffectiveImplementsTypeNodes(G),(function(q){var ie=E.textChanges.ChangeTracker.with(R,(function(E){return addMissingDeclarations(R,q,$,G,E,R.preferences)}));return ie.length===0?undefined:N.createCodeFixAction(j,ie,[E.Diagnostics.Implement_interface_0,q.getText($)],j,E.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getClass(R.file,R.start);if(E.addToSeen($,E.getNodeId(q))){for(var G=0,ie=E.getEffectiveImplementsTypeNodes(q);G0||ae.length>0||ce.size>0||le.size>0}}var G;(function(E){E[E["UseNamespace"]=0]="UseNamespace";E[E["JsdocTypeImport"]=1]="JsdocTypeImport";E[E["AddToExisting"]=2]="AddToExisting";E[E["AddNew"]=3]="AddNew";E[E["PromoteTypeOnly"]=4]="PromoteTypeOnly"})(G||(G={}));var ie;(function(E){E[E["Allowed"]=1]="Allowed";E[E["Required"]=2]="Required";E[E["NotAllowed"]=4]="NotAllowed"})(ie||(ie={}));function getImportCompletionAction(N,R,j,$,q,G,ie,ae,ce,le){var _e=ie.getCompilerOptions();var Te=E.pathIsBareSpecifier(E.stripQuotes(R.name))?[getSymbolExportInfoForSymbol(N,R,ie,G)]:getAllReExportingModules(j,N,R,$,q,G,ie,le,true);var Ee=shouldUseRequire(j,ie);var we=E.isValidTypeOnlyAliasUseSite(E.getTokenAtPosition(j,ce));var Ie=E.Debug.checkDefined(getImportFixForSymbol(j,Te,R,$,ie,ce,we,Ee,G,le));return{moduleSpecifier:Ie.moduleSpecifier,codeAction:codeFixActionToCodeAction(codeActionForFix({host:G,formatContext:ae,preferences:le},j,$,Ie,false,E.getQuotePreference(j,le),_e))}}N.getImportCompletionAction=getImportCompletionAction;function getPromoteTypeOnlyCompletionAction(E,N,R,j,$,q){var G=R.getCompilerOptions();var ie=getSymbolName(E,R.getTypeChecker(),N,G);var ae=getTypeOnlyPromotionFix(E,N,ie,R);var ce=ie!==N.text;return ae&&codeFixActionToCodeAction(codeActionForFix({host:j,formatContext:$,preferences:q},E,ie,ae,ce,1,G))}N.getPromoteTypeOnlyCompletionAction=getPromoteTypeOnlyCompletionAction;function getImportFixForSymbol(N,R,j,$,q,G,ie,ae,ce,le){E.Debug.assert(R.some((function(E){return E.moduleSymbol===j||E.symbol.parent===j})),"Some exportInfo should match the specified moduleSymbol");var _e=E.createPackageJsonImportFilter(N,le,ce);return getBestFix(getImportFixes(R,$,G,ie,ae,q,N,ce,le),N,q,_e,ce)}function codeFixActionToCodeAction(E){var N=E.description,R=E.changes,j=E.commands;return{description:N,changes:R,commands:j}}function getSymbolExportInfoForSymbol(N,R,j,$){var q,G;var ie=j.getCompilerOptions();var ae=getInfoWithChecker(j.getTypeChecker(),false);if(ae){return ae}var ce=(G=(q=$.getPackageJsonAutoImportProvider)===null||q===void 0?void 0:q.call($))===null||G===void 0?void 0:G.getTypeChecker();return E.Debug.checkDefined(ce&&getInfoWithChecker(ce,true),"Could not find symbol in specified module for code actions");function getInfoWithChecker(j,$){var q=E.getDefaultLikeExportInfo(R,j,ie);if(q&&E.skipAlias(q.symbol,j)===N){return{symbol:q.symbol,moduleSymbol:R,moduleFileName:undefined,exportKind:q.exportKind,targetFlags:E.skipAlias(N,j).flags,isFromPackageJson:$}}var G=j.tryGetMemberInModuleExportsAndProperties(N.name,R);if(G&&E.skipAlias(G,j)===N){return{symbol:G,moduleSymbol:R,moduleFileName:undefined,exportKind:0,targetFlags:E.skipAlias(N,j).flags,isFromPackageJson:$}}}}function getAllReExportingModules(N,R,j,$,q,G,ie,ae,ce){var le=[];var _e=ie.getCompilerOptions();var Te=E.memoizeOne((function(N){return E.createModuleSpecifierResolutionHost(N?G.getPackageJsonAutoImportProvider():ie,G)}));E.forEachExternalModuleToImportFrom(ie,G,ce,(function(G,ie,ae,ce){var Te=ae.getTypeChecker();if(ie&&G!==j&&E.startsWith(N.fileName,E.getDirectoryPath(ie.fileName))){return}var Ee=E.getDefaultLikeExportInfo(G,Te,_e);if(Ee&&(Ee.name===$||moduleSymbolToValidIdentifier(G,E.getEmitScriptTarget(_e),q)===$)&&E.skipAlias(Ee.symbol,Te)===R&&isImportable(ae,ie,ce)){le.push({symbol:Ee.symbol,moduleSymbol:G,moduleFileName:ie===null||ie===void 0?void 0:ie.fileName,exportKind:Ee.exportKind,targetFlags:E.skipAlias(Ee.symbol,Te).flags,isFromPackageJson:ce})}for(var we=0,Ie=Te.getExportsAndPropertiesOfModule(G);we0}:{kind:3,moduleSpecifier:$,importKind:getImportKind(R,E.exportKind,_e),useRequire:q,addAsTypeOnly:Ne,exportInfo:E,isReExport:N>0}}))}));return{computedWithoutCacheCount:Ie,fixes:Ne}}function getFixesForAddImport(N,R,j,$,q,G,ie,ae,ce){var le=E.firstDefined(R,(function(E){return newImportInfoFromExistingSpecifier(E,G,ie,j.getTypeChecker(),j.getCompilerOptions())}));return le?[le]:getNewImportFixes(j,$,q,G,ie,N,ae,ce).fixes}function newImportInfoFromExistingSpecifier(N,R,j,$,q){var G=N.declaration,ie=N.importKind,ae=N.symbol,ce=N.targetFlags;var le=E.tryGetModuleSpecifierFromDeclaration(G);if(le){var _e=j?4:getAddAsTypeOnly(R,true,ae,ce,$,q);return{kind:3,moduleSpecifier:le,importKind:ie,addAsTypeOnly:_e,useRequire:j}}}function getFixesInfo(N,R,j,q){var G=E.getTokenAtPosition(N.sourceFile,j);var ie;if(R===E.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code){ie=getFixesInfoForUMDImport(N,G)}else if(!E.isIdentifier(G)){return undefined}else if(R===E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){var ae=getSymbolName(N.sourceFile,N.program.getTypeChecker(),G,N.program.getCompilerOptions());var ce=getTypeOnlyPromotionFix(N.sourceFile,G,ae,N.program);return ce&&{fixes:[ce],symbolName:ae,errorIdentifierText:G.text}}else{ie=getFixesInfoForNonUMDImport(N,G,q)}var le=E.createPackageJsonImportFilter(N.sourceFile,N.preferences,N.host);return ie&&$($({},ie),{fixes:sortFixes(ie.fixes,N.sourceFile,N.program,le,N.host)})}function sortFixes(N,R,j,$,q){var _toPath=function(N){return E.toPath(N,q.getCurrentDirectory(),E.hostGetCanonicalFileName(q))};return E.sort(N,(function(N,q){return E.compareValues(N.kind,q.kind)||compareModuleSpecifiers(N,q,R,j,$.allowsImportingSpecifier,_toPath)}))}function getBestFix(N,R,j,$,q){if(!E.some(N))return;if(N[0].kind===0||N[0].kind===2){return N[0]}return N.reduce((function(N,G){return compareModuleSpecifiers(G,N,R,j,$.allowsImportingSpecifier,(function(N){return E.toPath(N,q.getCurrentDirectory(),E.hostGetCanonicalFileName(q))}))===-1?G:N}))}function compareModuleSpecifiers(N,R,j,$,q,G){if(N.kind!==0&&R.kind!==0){return E.compareBooleans(q(R.moduleSpecifier),q(N.moduleSpecifier))||compareNodeCoreModuleSpecifiers(N.moduleSpecifier,R.moduleSpecifier,j,$)||E.compareBooleans(isFixPossiblyReExportingImportingFile(N,j,$.getCompilerOptions(),G),isFixPossiblyReExportingImportingFile(R,j,$.getCompilerOptions(),G))||E.compareNumberOfDirectorySeparators(N.moduleSpecifier,R.moduleSpecifier)}return 0}function isFixPossiblyReExportingImportingFile(N,R,j,$){var q;if(N.isReExport&&((q=N.exportInfo)===null||q===void 0?void 0:q.moduleFileName)&&E.getEmitModuleResolutionKind(j)===E.ModuleResolutionKind.NodeJs&&isIndexFileName(N.exportInfo.moduleFileName)){var G=$(E.getDirectoryPath(N.exportInfo.moduleFileName));return E.startsWith(R.path,G)}return false}function isIndexFileName(N){return E.getBaseFileName(N,[".js",".jsx",".d.ts",".ts",".tsx"],true)==="index"}function compareNodeCoreModuleSpecifiers(N,R,j,$){if(E.startsWith(N,"node:")&&!E.startsWith(R,"node:"))return E.shouldUseUriStyleNodeCoreModules(j,$)?-1:1;if(E.startsWith(R,"node:")&&!E.startsWith(N,"node:"))return E.shouldUseUriStyleNodeCoreModules(j,$)?1:-1;return 0}function getFixesInfoForUMDImport(N,R){var j;var $=N.sourceFile,q=N.program,G=N.host,ie=N.preferences;var ae=q.getTypeChecker();var ce=getUmdSymbol(R,ae);if(!ce)return undefined;var le=ae.getAliasedSymbol(ce);var _e=ce.name;var Te=[{symbol:ce,moduleSymbol:le,moduleFileName:undefined,exportKind:3,targetFlags:le.flags,isFromPackageJson:false}];var Ee=shouldUseRequire($,q);var we=getImportFixes(Te,_e,E.isIdentifier(R)?R.getStart($):undefined,false,Ee,q,$,G,ie);return{fixes:we,symbolName:_e,errorIdentifierText:(j=E.tryCast(R,E.isIdentifier))===null||j===void 0?void 0:j.text}}function getUmdSymbol(N,R){var j=E.isIdentifier(N)?R.getSymbolAtLocation(N):undefined;if(E.isUMDExportSymbol(j))return j;var $=N.parent;return E.isJsxOpeningLikeElement($)&&$.tagName===N||E.isJsxOpeningFragment($)?E.tryCast(R.resolveName(R.getJsxNamespace($),E.isJsxOpeningLikeElement($)?N:$,111551,false),E.isUMDExportSymbol):undefined}function getImportKind(N,R,j,$){switch(R){case 0:return 0;case 1:return 1;case 2:return getExportEqualsImportKind(N,j,!!$);case 3:return getUmdImportKind(N,j,!!$);default:return E.Debug.assertNever(R)}}N.getImportKind=getImportKind;function getUmdImportKind(N,R,j){if(E.getAllowSyntheticDefaultImports(R)){return 1}var $=E.getEmitModuleKind(R);switch($){case E.ModuleKind.AMD:case E.ModuleKind.CommonJS:case E.ModuleKind.UMD:if(E.isInJSFile(N)){return E.isExternalModule(N)||j?2:3}return 3;case E.ModuleKind.System:case E.ModuleKind.ES2015:case E.ModuleKind.ES2020:case E.ModuleKind.ES2022:case E.ModuleKind.ESNext:case E.ModuleKind.None:return 2;case E.ModuleKind.Node12:case E.ModuleKind.NodeNext:return N.impliedNodeFormat===E.ModuleKind.ESNext?2:3;default:return E.Debug.assertNever($,"Unexpected moduleKind ".concat($))}}function getFixesInfoForNonUMDImport(N,R,j){var $=N.sourceFile,q=N.program,G=N.cancellationToken,ie=N.host,ae=N.preferences;var ce=q.getTypeChecker();var le=q.getCompilerOptions();var _e=getSymbolName($,ce,R,le);E.Debug.assert(_e!=="default","'default' isn't a legal identifier and couldn't occur here");var Te=E.isValidTypeOnlyAliasUseSite(R);var Ee=shouldUseRequire($,q);var we=getExportInfos(_e,E.isJSXTagName(R),E.getMeaningFromLocation(R),G,$,q,j,ie,ae);var Ie=E.arrayFrom(E.flatMapIterator(we.entries(),(function(E){var N=E[0],j=E[1];return getImportFixes(j,_e,R.getStart($),Te,Ee,q,$,ie,ae)})));return{fixes:Ie,symbolName:_e,errorIdentifierText:R.text}}function getTypeOnlyPromotionFix(N,R,j,$){var q=$.getTypeChecker();var G=q.resolveName(j,R,111551,true);if(!G)return undefined;var ie=q.getTypeOnlyAliasDeclaration(G);if(!ie||E.getSourceFileOfNode(ie)!==N)return undefined;return{kind:4,typeOnlyAliasDeclaration:ie}}function jsxModeNeedsExplicitImport(E){return E===2||E===3}function getSymbolName(N,R,j,$){var q=j.parent;if((E.isJsxOpeningLikeElement(q)||E.isJsxClosingElement(q))&&q.tagName===j&&jsxModeNeedsExplicitImport($.jsx)){var G=R.getJsxNamespace(N);if(needsJsxNamespaceFix(G,j,R)){return G}}return j.text}function needsJsxNamespaceFix(N,R,j){if(E.isIntrinsicJsxName(R.text))return true;var $=j.resolveName(N,R,111551,true);return!$||E.some($.declarations,E.isTypeOnlyImportOrExportDeclaration)&&!($.flags&111551)}function getExportInfos(N,R,j,$,q,G,ie,ae,ce){var le;var _e=E.createMultiMap();var Te=E.createPackageJsonImportFilter(q,ce,ae);var Ee=(le=ae.getModuleSpecifierCache)===null||le===void 0?void 0:le.call(ae);var we=E.memoizeOne((function(N){return E.createModuleSpecifierResolutionHost(N?ae.getPackageJsonAutoImportProvider():G,ae)}));function addSymbol(N,R,j,$,G,ie){var ae=we(ie);if(R&&E.isImportableFile(G,q,R,ce,Te,ae,Ee)||!R&&Te.allowsImportingAmbientModule(N,ae)){var le=G.getTypeChecker();_e.add(E.getUniqueSymbolId(j,le).toString(),{symbol:j,moduleSymbol:N,moduleFileName:R===null||R===void 0?void 0:R.fileName,exportKind:$,targetFlags:E.skipAlias(j,le).flags,isFromPackageJson:ie})}}E.forEachExternalModuleToImportFrom(G,ae,ie,(function(q,G,ie,ae){var ce=ie.getTypeChecker();$.throwIfCancellationRequested();var le=ie.getCompilerOptions();var _e=E.getDefaultLikeExportInfo(q,ce,le);if(_e&&(_e.name===N||moduleSymbolToValidIdentifier(q,E.getEmitScriptTarget(le),R)===N)&&symbolHasMeaning(_e.symbolForMeaning,j)){addSymbol(q,G,_e.symbol,_e.exportKind,ie,ae)}var Te=ce.tryGetMemberInModuleExportsAndProperties(N,q);if(Te&&symbolHasMeaning(Te,j)){addSymbol(q,G,Te,0,ie,ae)}}));return _e}function getExportEqualsImportKind(N,R,j){var $=E.getAllowSyntheticDefaultImports(R);var q=E.isInJSFile(N);if(!q&&E.getEmitModuleKind(R)>=E.ModuleKind.ES2015){return $?1:2}if(q){return E.isExternalModule(N)||j?$?1:2:3}for(var G=0,ie=N.statements;G1&&E.OrganizeImports.importSpecifiersAreSorted(R.parent.elements)){N.delete($,R);var G=E.factory.updateImportSpecifier(R,false,R.propertyName,R.name);var ie=E.OrganizeImports.getImportSpecifierInsertionIndex(R.parent.elements,G);N.insertImportSpecifierAtIndex($,G,R.parent,ie)}else{N.deleteRange($,R.getFirstToken())}return R}else{E.Debug.assert(R.parent.parent.isTypeOnly);promoteImportClause(R.parent.parent);return R.parent.parent}case 266:promoteImportClause(R);return R;case 267:promoteImportClause(R.parent);return R.parent;case 264:N.deleteRange($,R.getChildAt(1));return R;default:E.Debug.failBadSyntaxKind(R)}function promoteImportClause(j){N.delete($,E.getTypeKeywordOfTypeOnlyImport(j,$));if(q){var G=E.tryCast(j.namedBindings,E.isNamedImports);if(G&&G.elements.length>1){if(E.OrganizeImports.importSpecifiersAreSorted(G.elements)&&R.kind===269&&G.elements.indexOf(R)!==0){N.delete($,R);N.insertImportSpecifierAtIndex($,R,G,0)}for(var ie=0,ae=G.elements;ie");return[E.Diagnostics.Convert_function_expression_0_to_arrow_function,ae?ae.text:E.ANONYMOUS]}else{N.replaceNode(R,ie,E.factory.createToken(85));N.insertText(R,ae.end," = ");N.insertText(R,ce.pos," =>");return[E.Diagnostics.Convert_function_declaration_0_to_arrow_function,ae.text]}}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixIncorrectNamedTupleSyntax";var j=[E.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,E.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToFixIncorrectNamedTupleSyntax(j){var $=j.sourceFile,q=j.span;var G=getNamedTupleMember($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,R,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[R]});function getNamedTupleMember(N,R){var j=E.getTokenAtPosition(N,R);return E.findAncestor(j,(function(E){return E.kind===196}))}function doChange(N,R,j){if(!j){return}var $=j.type;var q=false;var G=false;while($.kind===184||$.kind===185||$.kind===190){if($.kind===184){q=true}else if($.kind===185){G=true}$=$.type}var ie=E.factory.updateNamedTupleMember(j,j.dotDotDotToken||(G?E.factory.createToken(25):undefined),j.name,j.questionToken||(q?E.factory.createToken(57):undefined),$);if(ie===j){return}N.replaceNode(R,j,ie)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixSpelling";var j=[E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,E.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,E.Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,E.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,E.Diagnostics.No_overload_matches_this_call.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.errorCode;var G=getInfo($,j.span.start,j,q);if(!G)return undefined;var ie=G.node,ae=G.suggestedSymbol;var ce=E.getEmitScriptTarget(j.host.getCompilationSettings());var le=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie,ae,ce)}));return[N.createCodeFixAction("spelling",le,[E.Diagnostics.Change_spelling_to_0,E.symbolName(ae)],R,E.Diagnostics.Fix_all_detected_spelling_errors)]},fixIds:[R],getAllCodeActions:function(R){return N.codeFixAll(R,j,(function(N,j){var $=getInfo(j.file,j.start,R,j.code);var q=E.getEmitScriptTarget(R.host.getCompilationSettings());if($)doChange(N,R.sourceFile,$.node,$.suggestedSymbol,q)}))}});function getInfo(N,R,j,$){var q=E.getTokenAtPosition(N,R);var G=q.parent;if(($===E.Diagnostics.No_overload_matches_this_call.code||$===E.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!E.isJsxAttribute(G))return undefined;var ie=j.program.getTypeChecker();var ae;if(E.isPropertyAccessExpression(G)&&G.name===q){E.Debug.assert(E.isMemberName(q),"Expected an identifier for spelling (property access)");var ce=ie.getTypeAtLocation(G.expression);if(G.flags&32){ce=ie.getNonNullableType(ce)}ae=ie.getSuggestedSymbolForNonexistentProperty(q,ce)}else if(E.isBinaryExpression(G)&&G.operatorToken.kind===101&&G.left===q&&E.isPrivateIdentifier(q)){var le=ie.getTypeAtLocation(G.right);ae=ie.getSuggestedSymbolForNonexistentProperty(q,le)}else if(E.isQualifiedName(G)&&G.right===q){var _e=ie.getSymbolAtLocation(G.left);if(_e&&_e.flags&1536){ae=ie.getSuggestedSymbolForNonexistentModule(G.right,_e)}}else if(E.isImportSpecifier(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for spelling (import)");var Te=E.findAncestor(q,E.isImportDeclaration);var Ee=getResolvedSourceFileFromImportDeclaration(N,j,Te);if(Ee&&Ee.symbol){ae=ie.getSuggestedSymbolForNonexistentModule(q,Ee.symbol)}}else if(E.isJsxAttribute(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for JSX attribute");var we=E.findAncestor(q,E.isJsxOpeningLikeElement);var Ie=ie.getContextualTypeForArgumentAtIndex(we,0);ae=ie.getSuggestedSymbolForNonexistentJSXAttribute(q,Ie)}else if(E.hasSyntacticModifier(G,16384)&&E.isClassElement(G)&&G.name===q){var Ne=E.findAncestor(q,E.isClassLike);var Me=Ne?E.getEffectiveBaseTypeNode(Ne):undefined;var Le=Me?ie.getTypeAtLocation(Me):undefined;if(Le){ae=ie.getSuggestedSymbolForNonexistentClassMember(E.getTextOfNode(q),Le)}}else{var Be=E.getMeaningFromLocation(q);var je=E.getTextOfNode(q);E.Debug.assert(je!==undefined,"name should be defined");ae=ie.getSuggestedSymbolForNonexistentSymbol(q,je,convertSemanticMeaningToSymbolFlags(Be))}return ae===undefined?undefined:{node:q,suggestedSymbol:ae}}function doChange(N,R,j,$,q){var G=E.symbolName($);if(!E.isIdentifierText(G,q)&&E.isPropertyAccessExpression(j.parent)){var ie=$.valueDeclaration;if(ie&&E.isNamedDeclaration(ie)&&E.isPrivateIdentifier(ie.name)){N.replaceNode(R,j,E.factory.createIdentifier(G))}else{N.replaceNode(R,j.parent,E.factory.createElementAccessExpression(j.parent.expression,E.factory.createStringLiteral(G)))}}else{N.replaceNode(R,j,E.factory.createIdentifier(G))}}function convertSemanticMeaningToSymbolFlags(E){var N=0;if(E&4){N|=1920}if(E&2){N|=788968}if(E&1){N|=111551}return N}function getResolvedSourceFileFromImportDeclaration(N,R,j){if(!j||!E.isStringLiteralLike(j.moduleSpecifier))return undefined;var $=E.getResolvedModule(N,j.moduleSpecifier.text,E.getModeForUsageLocation(N,j.moduleSpecifier));if(!$)return undefined;return R.program.getSourceFile($.resolvedFileName)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="returnValueCorrect";var j="fixAddReturnStatement";var $="fixRemoveBracesFromArrowFunctionBody";var q="fixWrapTheBlockWithParen";var G=[E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];var ie;(function(E){E[E["MissingReturnStatement"]=0]="MissingReturnStatement";E[E["MissingParentheses"]=1]="MissingParentheses"})(ie||(ie={}));N.registerCodeFix({errorCodes:G,fixIds:[j,$,q],getCodeActions:function getCodeActionsToCorrectReturnValue(N){var R=N.program,j=N.sourceFile,$=N.span.start,q=N.errorCode;var G=getInfo(R.getTypeChecker(),j,$,q);if(!G)return undefined;if(G.kind===ie.MissingReturnStatement){return E.append([getActionForfixAddReturnStatement(N,G.expression,G.statement)],E.isArrowFunction(G.declaration)?getActionForFixRemoveBracesFromArrowFunctionBody(N,G.declaration,G.expression,G.commentSource):undefined)}else{return[getActionForfixWrapTheBlockWithParen(N,G.declaration,G.expression)]}},getAllCodeActions:function(R){return N.codeFixAll(R,G,(function(N,G){var ie=getInfo(R.program.getTypeChecker(),G.file,G.start,G.code);if(!ie)return undefined;switch(R.fixId){case j:addReturnStatement(N,G.file,ie.expression,ie.statement);break;case $:if(!E.isArrowFunction(ie.declaration))return undefined;removeBlockBodyBrace(N,G.file,ie.declaration,ie.expression,ie.commentSource,false);break;case q:if(!E.isArrowFunction(ie.declaration))return undefined;wrapBlockWithParen(N,G.file,ie.declaration,ie.expression);break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function createObjectTypeFromLabeledExpression(N,R,j){var $=N.createSymbol(4,R.escapedText);$.type=N.getTypeAtLocation(j);var q=E.createSymbolTable([$]);return N.createAnonymousType(undefined,q,[],[],[])}function getFixInfo(N,R,j,$){if(!R.body||!E.isBlock(R.body)||E.length(R.body.statements)!==1)return undefined;var q=E.first(R.body.statements);if(E.isExpressionStatement(q)&&checkFixedAssignableTo(N,R,N.getTypeAtLocation(q.expression),j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:q.expression,statement:q,commentSource:q.expression}}else if(E.isLabeledStatement(q)&&E.isExpressionStatement(q.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(q.label,q.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,q.label,q.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return E.isArrowFunction(R)?{declaration:R,kind:ie.MissingParentheses,expression:G,statement:q,commentSource:q.statement.expression}:{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:q.statement.expression}}}else if(E.isBlock(q)&&E.length(q.statements)===1){var ce=E.first(q.statements);if(E.isLabeledStatement(ce)&&E.isExpressionStatement(ce.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(ce.label,ce.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,ce.label,ce.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:ce}}}}return undefined}function checkFixedAssignableTo(N,R,j,$,q){if(q){var G=N.getSignatureFromDeclaration(R);if(G){if(E.hasSyntacticModifier(R,256)){j=N.createPromiseType(j)}var ie=N.createSignature(R,G.typeParameters,G.thisParameter,G.parameters,j,undefined,G.minArgumentCount,G.flags);j=N.createAnonymousType(undefined,E.createSymbolTable(),[ie],[],[])}else{j=N.getAnyType()}}return N.isTypeAssignableTo(j,$)}function getInfo(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!q.parent)return undefined;var G=E.findAncestor(q.parent,E.isFunctionLikeDeclaration);switch($){case E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!G||!G.body||!G.type||!E.rangeContainsRange(G.type,q))return undefined;return getFixInfo(N,G,N.getTypeFromTypeNode(G.type),false);case E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!G||!E.isCallExpression(G.parent)||!G.body)return undefined;var ie=G.parent.arguments.indexOf(G);var ae=N.getContextualTypeForArgumentAtIndex(G.parent,ie);if(!ae)return undefined;return getFixInfo(N,G,ae,true);case E.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!E.isDeclarationName(q)||!E.isVariableLike(q.parent)&&!E.isJsxAttribute(q.parent))return undefined;var ce=getVariableLikeInitializer(q.parent);if(!ce||!E.isFunctionLikeDeclaration(ce)||!ce.body)return undefined;return getFixInfo(N,ce,N.getTypeAtLocation(q.parent),true)}return undefined}function getVariableLikeInitializer(N){switch(N.kind){case 253:case 163:case 202:case 166:case 294:return N.initializer;case 284:return N.initializer&&(E.isJsxExpression(N.initializer)?N.initializer.expression:undefined);case 295:case 165:case 297:case 345:case 338:return undefined}}function addReturnStatement(N,R,j,$){E.suppressLeadingAndTrailingTrivia(j);var q=E.probablyUsesSemicolons(R);N.replaceNode(R,$,E.factory.createReturnStatement(j),{leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude,suffix:q?";":undefined})}function removeBlockBodyBrace(N,R,j,$,q,G){var ie=G||E.needsParentheses($)?E.factory.createParenthesizedExpression($):$;E.suppressLeadingAndTrailingTrivia(q);E.copyComments(q,ie);N.replaceNode(R,j.body,ie)}function wrapBlockWithParen(N,R,j,$){N.replaceNode(R,j.body,E.factory.createParenthesizedExpression($))}function getActionForfixAddReturnStatement($,q,G){var ie=E.textChanges.ChangeTracker.with($,(function(E){return addReturnStatement(E,$.sourceFile,q,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Add_a_return_statement,j,E.Diagnostics.Add_all_missing_return_statement)}function getActionForFixRemoveBracesFromArrowFunctionBody(j,q,G,ie){var ae=E.textChanges.ChangeTracker.with(j,(function(E){return removeBlockBodyBrace(E,j.sourceFile,q,G,ie,false)}));return N.createCodeFixAction(R,ae,E.Diagnostics.Remove_braces_from_arrow_function_body,$,E.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function getActionForfixWrapTheBlockWithParen(j,$,G){var ie=E.textChanges.ChangeTracker.with(j,(function(E){return wrapBlockWithParen(E,j.sourceFile,$,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,q,E.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixMissingMember";var $="fixMissingProperties";var q="fixMissingAttributes";var G="fixMissingFunctionDeclaration";var ie=[E.Diagnostics.Property_0_does_not_exist_on_type_1.code,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,E.Diagnostics.Cannot_find_name_0.code];N.registerCodeFix({errorCodes:ie,getCodeActions:function(j){var ie=j.program.getTypeChecker();var ae=getInfo(j.sourceFile,j.span.start,j.errorCode,ie,j.program);if(!ae){return undefined}if(ae.kind===3){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addObjectLiteralProperties(E,j,ae)}));return[N.createCodeFixAction($,ce,E.Diagnostics.Add_missing_properties,$,E.Diagnostics.Add_all_missing_properties)]}if(ae.kind===4){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addJsxAttributes(E,j,ae)}));return[N.createCodeFixAction(q,ce,E.Diagnostics.Add_missing_attributes,q,E.Diagnostics.Add_all_missing_attributes)]}if(ae.kind===2){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addFunctionDeclaration(E,j,ae)}));return[N.createCodeFixAction(G,ce,[E.Diagnostics.Add_missing_function_declaration_0,ae.token.text],G,E.Diagnostics.Add_all_missing_function_declarations)]}if(ae.kind===0){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addEnumMemberDeclaration(E,j.program.getTypeChecker(),ae)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Add_missing_enum_member_0,ae.token.text],R,E.Diagnostics.Add_all_missing_members)]}return E.concatenate(getActionsForMissingMethodDeclaration(j,ae),getActionsForMissingMemberDeclaration(j,ae))},fixIds:[R,G,$,q],getAllCodeActions:function(R){var j=R.program,ae=R.fixId;var ce=j.getTypeChecker();var le=new E.Map;var _e=new E.Map;return N.createCombinedCodeActions(E.textChanges.ChangeTracker.with(R,(function(Te){N.eachDiagnostic(R,ie,(function(N){var j=getInfo(N.file,N.start,N.code,ce,R.program);if(!j||!E.addToSeen(le,E.getNodeId(j.parentDeclaration)+"#"+j.token.text)){return}if(ae===G&&j.kind===2){addFunctionDeclaration(Te,R,j)}else if(ae===$&&j.kind===3){addObjectLiteralProperties(Te,R,j)}else if(ae===q&&j.kind===4){addJsxAttributes(Te,R,j)}else{if(j.kind===0){addEnumMemberDeclaration(Te,ce,j)}if(j.kind===1){var ie=j.parentDeclaration,Ee=j.token;var we=E.getOrUpdate(_e,ie,(function(){return[]}));if(!we.some((function(E){return E.token.text===Ee.text}))){we.push(j)}}}}));_e.forEach((function($,q){var G=N.getAllSupers(q,ce);var _loop_15=function(N){if(G.some((function(E){var R=_e.get(E);return!!R&&R.some((function(E){var R=E.token;return R.text===N.token.text}))})))return"continue";var $=N.parentDeclaration,q=N.declSourceFile,ie=N.modifierFlags,ae=N.token,ce=N.call,le=N.isJSFile;if(ce&&!E.isPrivateIdentifier(ae)){addMethodDeclaration(R,Te,ce,ae,ie&32,$,q)}else{if(le&&!E.isInterfaceDeclaration($)){addMissingMemberInJs(Te,q,$,ae,!!(ie&32))}else{var Ee=getTypeNode(j.getTypeChecker(),$,ae);addPropertyDeclaration(Te,q,$,ae.text,Ee,ie&32)}}};for(var ie=0,ae=$;ie=E.ModuleKind.ES2015&&G99;if(le){var ae=E.textChanges.ChangeTracker.with(R,(function(R){var j=E.getTsConfigObjectLiteralExpression($);if(!j)return;var q=[["target",E.factory.createStringLiteral("es2017")]];if(G===E.ModuleKind.CommonJS){q.push(["module",E.factory.createStringLiteral("commonjs")])}N.setJsonCompilerOptionValues(R,$,q)}));q.push(N.createCodeFixActionWithoutFixAll("fixTargetOption",ae,[E.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return q.length?q:undefined}})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixPropertyAssignment";var j=[E.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];N.registerCodeFix({errorCodes:j,fixIds:[R],getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getProperty($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,G)}));return[N.createCodeFixAction(R,ie,[E.Diagnostics.Change_0_to_1,"=",":"],R,[E.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,getProperty(N.file,N.start))}))}});function doChange(N,R,j){N.replaceNode(R,j,E.factory.createPropertyAssignment(j.name,j.objectAssignmentInitializer))}function getProperty(N,R){return E.cast(E.getTokenAtPosition(N,R).parent,E.isShorthandPropertyAssignment)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="extendsInterfaceBecomesImplements";var j=[E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile;var q=getNodes($,j.span.start);if(!q)return undefined;var G=q.extendsToken,ie=q.heritageClauses;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChanges(E,$,G,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Change_extends_to_implements,R,E.Diagnostics.Change_all_extended_interfaces_to_implements)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getNodes(N.file,N.start);if(R)doChanges(E,N.file,R.extendsToken,R.heritageClauses)}))}});function getNodes(N,R){var j=E.getTokenAtPosition(N,R);var $=E.getContainingClass(j).heritageClauses;var q=$[0].getFirstToken();return q.kind===94?{extendsToken:q,heritageClauses:$}:undefined}function doChanges(N,R,j,$){N.replaceNode(R,j,E.factory.createToken(117));if($.length===2&&$[0].token===94&&$[1].token===117){var q=$[1].getFirstToken();var G=q.getFullStart();N.replaceRange(R,{pos:G,end:G},E.factory.createToken(27));var ie=R.text;var ae=q.end;while(ae":">","}":"}"};function isValidCharacter(N){return E.hasProperty(q,N)}function doChange(N,R,j,$,G){var ie=j.getText()[$];if(!isValidCharacter(ie)){return}var ae=G?q[ie]:"{".concat(E.quote(j,R,ie),"}");N.replaceRangeWithText(j,{pos:$,end:$+1},ae)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="deleteUnmatchedParameter";var j="renameUnmatchedParameter";var $=[E.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code];N.registerCodeFix({fixIds:[R,j],errorCodes:$,getCodeActions:function getCodeActionsToFixUnmatchedParameter(N){var R=N.sourceFile,j=N.span;var $=[];var q=getInfo(R,j.start);if(q){E.append($,getDeleteAction(N,q));E.append($,getRenameAction(N,q));return $}return undefined},getAllCodeActions:function getAllCodeActionsToFixUnmatchedParameter(j){var q=new E.Map;return N.createCombinedCodeActions(E.textChanges.ChangeTracker.with(j,(function(G){N.eachDiagnostic(j,$,(function(N){var R=N.file,j=N.start;var $=getInfo(R,j);if($){q.set($.signature,E.append(q.get($.signature),$.jsDocParameterTag))}}));q.forEach((function(N,$){if(j.fixId===R){var q=new E.Set(N);G.filterJSDocTags($.getSourceFile(),$,(function(E){return!q.has(E)}))}}))})))}});function getDeleteAction(j,$){var q=$.name,G=$.signature,ie=$.jsDocParameterTag;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return E.filterJSDocTags(j.sourceFile,G,(function(E){return E!==ie}))}));return N.createCodeFixAction(R,ae,[E.Diagnostics.Delete_unused_param_tag_0,q.getText(j.sourceFile)],R,E.Diagnostics.Delete_all_unused_param_tags)}function getRenameAction(R,$){var q=$.name,G=$.signature,ie=$.jsDocParameterTag;if(!E.length(G.parameters))return undefined;var ae=R.sourceFile;var ce=E.getJSDocTags(G);var le=new E.Set;for(var _e=0,Te=ce;_e1?E.Diagnostics.Remove_unused_declarations_for_Colon_0:E.Diagnostics.Remove_unused_declaration_for_Colon_0,E.map(Me,(function(E){return E.getText(ae)})).join(", ")];return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteDestructuringElements(E,ae,Ee.parent)})),Le)]}return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Ee.parent.parent)})),E.Diagnostics.Remove_unused_destructuring_declaration)]}if(canDeleteEntireVariableStatement(ae,Ee)){return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteEntireVariableStatement(E,ae,Ee.parent)})),E.Diagnostics.Remove_variable_statement)]}var Be=[];if(Ee.kind===137){var we=E.textChanges.ChangeTracker.with($,(function(E){return changeInferToUnknown(E,ae,Ee)}));var je=E.cast(Ee.parent,E.isInferTypeNode).typeParameter.name.text;Be.push(N.createCodeFixAction(R,we,[E.Diagnostics.Replace_infer_0_with_unknown,je],G,E.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var Ne=E.textChanges.ChangeTracker.with($,(function(E){return tryDeleteDeclaration(ae,Ee,E,_e,Te,ce,le,false)}));if(Ne.length){var je=E.isComputedPropertyName(Ee.parent)?Ee.parent:Ee;Be.push(createDeleteFix(Ne,[E.Diagnostics.Remove_unused_declaration_for_Colon_0,je.getText(ae)]))}}var Ue=E.textChanges.ChangeTracker.with($,(function(E){return tryPrefixDeclaration(E,ie,ae,Ee)}));if(Ue.length){Be.push(N.createCodeFixAction(R,Ue,[E.Diagnostics.Prefix_0_with_an_underscore,Ee.getText(ae)],j,E.Diagnostics.Prefix_all_unused_declarations_with_where_possible))}return Be},fixIds:[j,$,q,G],getAllCodeActions:function(R){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=ce.getTypeChecker();var Te=ce.getSourceFiles();return N.codeFixAll(R,ie,(function(N,ie){var Ee=E.getTokenAtPosition(ae,ie.start);switch(R.fixId){case j:tryPrefixDeclaration(N,ie.code,ae,Ee);break;case q:{var we=tryGetFullImport(Ee);if(we){N.delete(ae,we)}else if(isImport(Ee)){tryDeleteDeclaration(ae,Ee,N,_e,Te,ce,le,true)}break}case $:{if(Ee.kind===137||isImport(Ee)){break}else if(E.isJSDocTemplateTag(Ee)){N.delete(ae,Ee)}else if(Ee.kind===29){deleteTypeParameters(N,ae,Ee)}else if(E.isObjectBindingPattern(Ee.parent)){if(Ee.parent.parent.initializer){break}else if(!E.isParameter(Ee.parent.parent)||isNotProvidedArguments(Ee.parent.parent,_e,Te)){N.delete(ae,Ee.parent.parent)}}else if(E.isArrayBindingPattern(Ee.parent.parent)&&Ee.parent.parent.parent.initializer){break}else if(canDeleteEntireVariableStatement(ae,Ee)){deleteEntireVariableStatement(N,ae,Ee.parent)}else{tryDeleteDeclaration(ae,Ee,N,_e,Te,ce,le,true)}break}case G:if(Ee.kind===137){changeInferToUnknown(N,ae,Ee)}break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function changeInferToUnknown(N,R,j){N.replaceNode(R,j.parent,E.factory.createKeywordTypeNode(154))}function createDeleteFix(j,q){return N.createCodeFixAction(R,j,q,$,E.Diagnostics.Delete_all_unused_declarations)}function deleteTypeParameters(N,R,j){N.delete(R,E.Debug.checkDefined(E.cast(j.parent,E.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function isImport(E){return E.kind===100||E.kind===79&&(E.parent.kind===269||E.parent.kind===266)}function tryGetFullImport(N){return N.kind===100?E.tryCast(N.parent,E.isImportDeclaration):undefined}function canDeleteEntireVariableStatement(N,R){return E.isVariableDeclarationList(R.parent)&&E.first(R.parent.getChildren(N))===R}function deleteEntireVariableStatement(E,N,R){E.delete(N,R.parent.kind===236?R.parent:R)}function deleteDestructuringElements(N,R,j){E.forEach(j.elements,(function(E){return N.delete(R,E)}))}function tryPrefixDeclaration(N,R,j,$){if(R===E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)return;if($.kind===137){$=E.cast($.parent,E.isInferTypeNode).typeParameter.name}if(E.isIdentifier($)&&canPrefix($)){N.replaceNode(j,$,E.factory.createIdentifier("_".concat($.text)));if(E.isParameter($.parent)){E.getJSDocParameterTags($.parent).forEach((function(R){if(E.isIdentifier(R.name)){N.replaceNode(j,R.name,E.factory.createIdentifier("_".concat(R.name.text)))}}))}}}function canPrefix(E){switch(E.parent.kind){case 163:case 162:return true;case 253:{var N=E.parent;switch(N.parent.parent.kind){case 243:case 242:return true}}}return false}function tryDeleteDeclaration(N,R,j,$,q,G,ie,ae){tryDeleteDeclarationWorker(R,j,N,$,q,G,ie,ae);if(E.isIdentifier(R)){E.FindAllReferences.Core.eachSymbolReferenceInFile(R,$,N,(function(R){if(E.isPropertyAccessExpression(R.parent)&&R.parent.name===R)R=R.parent;if(!ae&&mayDeleteExpression(R)){j.delete(N,R.parent.parent)}}))}}function tryDeleteDeclarationWorker(N,R,j,$,q,G,ie,ae){var ce=N.parent;if(E.isParameter(ce)){tryDeleteParameter(R,j,ce,$,q,G,ie,ae)}else if(!(ae&&E.isIdentifier(N)&&E.FindAllReferences.Core.isSymbolReferencedInFile(N,$,j))){var le=E.isImportClause(ce)?N:E.isComputedPropertyName(ce)?ce.parent:ce;E.Debug.assert(le!==j,"should not delete whole source file");R.delete(j,le)}}function tryDeleteParameter(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=false}if(mayDeleteParameter($,R,j,q,G,ie,ae)){if(j.modifiers&&j.modifiers.length>0&&(!E.isIdentifier(j.name)||E.FindAllReferences.Core.isSymbolReferencedInFile(j.name,$,R))){j.modifiers.forEach((function(E){return N.deleteModifier(R,E)}))}else if(!j.initializer&&isNotProvidedArguments(j,$,q)){N.delete(R,j)}}}function isNotProvidedArguments(N,R,j){var $=N.parent.parameters.indexOf(N);return!E.FindAllReferences.Core.someSignatureUsage(N.parent,j,R,(function(E,N){return!N||N.arguments.length>$}))}function mayDeleteParameter(N,R,j,$,q,G,ie){var ae=j.parent;switch(ae.kind){case 168:case 170:var ce=ae.parameters.indexOf(j);var le=E.isMethodDeclaration(ae)?ae.name:ae;var _e=E.FindAllReferences.Core.getReferencedSymbolsForNode(ae.pos,le,q,$,G);if(_e){for(var Te=0,Ee=_e;Tece;var Be=E.isPropertyAccessExpression(Me.node.parent)&&E.isSuperKeyword(Me.node.parent.expression)&&E.isCallExpression(Me.node.parent.parent)&&Me.node.parent.parent.arguments.length>ce;var je=(E.isMethodDeclaration(Me.node.parent)||E.isMethodSignature(Me.node.parent))&&Me.node.parent!==j.parent&&Me.node.parent.parameters.length>ce;if(Le||Be||je)return false}}}}return true;case 255:{if(ae.name&&isCallbackLike(N,R,ae.name)){return isLastParameter(ae,j,ie)}return true}case 212:case 213:return isLastParameter(ae,j,ie);case 172:return false;case 171:return true;default:return E.Debug.failBadSyntaxKind(ae)}}function isCallbackLike(N,R,j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j,N,R,(function(N){return E.isIdentifier(N)&&E.isCallExpression(N.parent)&&N.parent.arguments.indexOf(N)>=0}))}function isLastParameter(N,R,j){var $=N.parameters;var q=$.indexOf(R);E.Debug.assert(q!==-1,"The parameter should already be in the list");return j?$.slice(q+1).every((function(N){return E.isIdentifier(N.name)&&!N.symbol.isReferenced})):q===$.length-1}function mayDeleteExpression(N){return(E.isBinaryExpression(N.parent)&&N.parent.left===N||(E.isPostfixUnaryExpression(N.parent)||E.isPrefixUnaryExpression(N.parent))&&N.parent.operand===N)&&E.isExpressionStatement(N.parent.parent)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixUnreachableCode";var j=[E.Diagnostics.Unreachable_code_detected.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.program.getSyntacticDiagnostics(j.sourceFile,j.cancellationToken);if($.length)return;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,j.span.start,j.span.length,j.errorCode)}));return[N.createCodeFixAction(R,q,E.Diagnostics.Remove_unreachable_code,R,E.Diagnostics.Remove_all_unreachable_code)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,N.start,N.length,N.code)}))}});function doChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,E.isStatement);if(ie.getStart(R)!==G.getStart(R)){var ae=JSON.stringify({statementKind:E.Debug.formatSyntaxKind(ie.kind),tokenKind:E.Debug.formatSyntaxKind(G.kind),errorCode:q,start:j,length:$});E.Debug.fail("Token and statement should start at the same point. "+ae)}var ce=(E.isBlock(ie.parent)?ie.parent:ie).parent;if(!E.isBlock(ie.parent)||ie===E.first(ie.parent.statements)){switch(ce.kind){case 238:if(ce.elseStatement){if(E.isBlock(ie.parent)){break}else{N.replaceNode(R,ie,E.factory.createBlock(E.emptyArray))}return}case 240:case 241:N.delete(R,ce);return}}if(E.isBlock(ie.parent)){var le=j+$;var _e=E.Debug.checkDefined(lastWhere(E.sliceAfter(ie.parent.statements,ie),(function(E){return E.posZe.length){var et=Te.getSignatureFromDeclaration(_e[_e.length-1]);outputMethod(Ue,et,Me,Ie,ae||createStubbedMethodBody(Ue))}else{E.Debug.assert(_e.length===Ze.length,"Declarations and signatures should match count");ie(createMethodImplementingSignatures(Te,$,R,Ze,Ie,Be&&!!(ce&1),Me,Ue,ae))}}break}function outputMethod(E,N,j,q,ae){var le=createSignatureDeclarationFromSignature(168,$,E,N,ae,q,j,Be&&!!(ce&1),R,G);if(le)ie(le)}}N.addNewNodeForMemberSymbol=addNewNodeForMemberSymbol;function createSignatureDeclarationFromSignature(N,R,j,$,q,G,ie,ae,ce,le){var _e=R.program;var Te=_e.getTypeChecker();var Ee=E.getEmitScriptTarget(_e.getCompilerOptions());var we=1|1073741824|256|(j===0?268435456:0);var Ie=Te.signatureToSignatureDeclaration($,N,ce,we,getNoopSymbolTrackerWithResolver(R));if(!Ie){return undefined}var Ne=Ie.typeParameters;var Me=Ie.parameters;var Le=Ie.type;if(le){if(Ne){var Be=E.sameMap(Ne,(function(N){var R=N.constraint;var j=N.default;if(R){var $=tryGetAutoImportableReferenceFromTypeNode(R,Ee);if($){R=$.typeNode;importSymbols(le,$.symbols)}}if(j){var $=tryGetAutoImportableReferenceFromTypeNode(j,Ee);if($){j=$.typeNode;importSymbols(le,$.symbols)}}return E.factory.updateTypeParameterDeclaration(N,N.name,R,j)}));if(Ne!==Be){Ne=E.setTextRange(E.factory.createNodeArray(Be,Ne.hasTrailingComma),Ne)}}var je=E.sameMap(Me,(function(N){var R=tryGetAutoImportableReferenceFromTypeNode(N.type,Ee);var j=N.type;if(R){j=R.typeNode;importSymbols(le,R.symbols)}return E.factory.updateParameterDeclaration(N,N.decorators,N.modifiers,N.dotDotDotToken,N.name,N.questionToken,j,N.initializer)}));if(Me!==je){Me=E.setTextRange(E.factory.createNodeArray(je,Me.hasTrailingComma),Me)}if(Le){var Ue=tryGetAutoImportableReferenceFromTypeNode(Le,Ee);if(Ue){Le=Ue.typeNode;importSymbols(le,Ue.symbols)}}}var ze=ae?E.factory.createToken(57):undefined;var We=Ie.asteriskToken;if(E.isFunctionExpression(Ie)){return E.factory.updateFunctionExpression(Ie,ie,Ie.asteriskToken,E.tryCast(G,E.isIdentifier),Ne,Me,Le,q!==null&&q!==void 0?q:Ie.body)}if(E.isArrowFunction(Ie)){return E.factory.updateArrowFunction(Ie,ie,Ne,Me,Le,Ie.equalsGreaterThanToken,q!==null&&q!==void 0?q:Ie.body)}if(E.isMethodDeclaration(Ie)){return E.factory.updateMethodDeclaration(Ie,undefined,ie,We,G!==null&&G!==void 0?G:E.factory.createIdentifier(""),ze,Ne,Me,Le,q)}return undefined}N.createSignatureDeclarationFromSignature=createSignatureDeclarationFromSignature;function createSignatureDeclarationFromCallExpression(N,R,j,$,q,G,ie){var ae=E.getQuotePreference(R.sourceFile,R.preferences);var ce=E.getEmitScriptTarget(R.program.getCompilerOptions());var le=getNoopSymbolTrackerWithResolver(R);var _e=R.program.getTypeChecker();var Te=E.isInJSFile(ie);var Ee=$.typeArguments,we=$.arguments,Ie=$.parent;var Ne=Te?undefined:_e.getContextualType($);var Me=E.map(we,(function(N){return E.isIdentifier(N)?N.text:E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)?N.name.text:undefined}));var Le=Te?[]:E.map(we,(function(E){return typeToAutoImportableTypeNode(_e,j,_e.getBaseTypeOfLiteralType(_e.getTypeAtLocation(E)),ie,ce,undefined,le)}));var Be=G?E.factory.createNodeArray(E.factory.createModifiersFromModifierFlags(G)):undefined;var je=E.isYieldExpression(Ie)?E.factory.createToken(41):undefined;var Ue=Te||Ee===undefined?undefined:E.map(Ee,(function(N,R){return E.factory.createTypeParameterDeclaration(84+Ee.length-1<=90?String.fromCharCode(84+R):"T".concat(R))}));var ze=createDummyParameters(we.length,Me,Le,undefined,Te);var We=Te||Ne===undefined?undefined:_e.typeToTypeNode(Ne,ie,undefined,le);if(N===168){return E.factory.createMethodDeclaration(undefined,Be,je,q,undefined,Ue,ze,We,E.isInterfaceDeclaration(ie)?undefined:createStubbedMethodBody(ae))}return E.factory.createFunctionDeclaration(undefined,Be,je,q,Ue,ze,We,createStubbedBody(E.Diagnostics.Function_not_implemented.message,ae))}N.createSignatureDeclarationFromCallExpression=createSignatureDeclarationFromCallExpression;function typeToAutoImportableTypeNode(N,R,j,$,q,G,ie){var ae=N.typeToTypeNode(j,$,G,ie);if(ae&&E.isImportTypeNode(ae)){var ce=tryGetAutoImportableReferenceFromTypeNode(ae,q);if(ce){importSymbols(R,ce.symbols);ae=ce.typeNode}}return E.getSynthesizedDeepClone(ae)}N.typeToAutoImportableTypeNode=typeToAutoImportableTypeNode;function createDummyParameters(N,R,j,$,q){var G=[];for(var ie=0;ie=$?E.factory.createToken(57):undefined,q?undefined:j&&j[ie]||E.factory.createKeywordTypeNode(130),undefined);G.push(ae)}return G}function createMethodImplementingSignatures(N,R,j,$,q,G,ie,ae,ce){var le=$[0];var _e=$[0].minArgumentCount;var Te=false;for(var Ee=0,we=$;Ee=le.parameters.length&&(!E.signatureHasRestParameter(Ie)||E.signatureHasRestParameter(le))){le=Ie}}var Ne=le.parameters.length-(E.signatureHasRestParameter(le)?1:0);var Me=le.parameters.map((function(E){return E.name}));var Le=createDummyParameters(Ne,Me,undefined,_e,false);if(Te){var Be=E.factory.createArrayTypeNode(E.factory.createKeywordTypeNode(130));var je=E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),Me[Ne]||"rest",Ne>=_e?E.factory.createToken(57):undefined,Be,undefined);Le.push(je)}return createStubbedMethod(ie,q,G,undefined,Le,getReturnTypeFromSignatures($,N,R,j),ae,ce)}function getReturnTypeFromSignatures(N,R,j,$){if(E.length(N)){var q=R.getUnionType(E.map(N,R.getReturnTypeOfSignature));return R.typeToTypeNode(q,$,undefined,getNoopSymbolTrackerWithResolver(j))}}function createStubbedMethod(N,R,j,$,q,G,ie,ae){return E.factory.createMethodDeclaration(undefined,N,undefined,R,j?E.factory.createToken(57):undefined,$,q,G,ae||createStubbedMethodBody(ie))}function createStubbedMethodBody(N){return createStubbedBody(E.Diagnostics.Method_not_implemented.message,N)}function createStubbedBody(N,R){return E.factory.createBlock([E.factory.createThrowStatement(E.factory.createNewExpression(E.factory.createIdentifier("Error"),undefined,[E.factory.createStringLiteral(N,R===0)]))],true)}N.createStubbedBody=createStubbedBody;function createVisibilityModifier(N){if(N&4){return E.factory.createToken(123)}else if(N&16){return E.factory.createToken(122)}return undefined}function setJsonCompilerOptionValues(N,R,j){var $=E.getTsConfigObjectLiteralExpression(R);if(!$)return undefined;var q=findJsonProperty($,"compilerOptions");if(q===undefined){N.insertNodeAtObjectStart(R,$,createJsonPropertyAssignment("compilerOptions",E.factory.createObjectLiteralExpression(j.map((function(E){var N=E[0],R=E[1];return createJsonPropertyAssignment(N,R)})),true)));return}var G=q.initializer;if(!E.isObjectLiteralExpression(G)){return}for(var ie=0,ae=j;ie0){return[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_a_bigint_numeric_literal,R,E.Diagnostics.Convert_all_to_bigint_numeric_literals)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),E.isNumericLiteral);if(!$){return}var q=$.getText(R)+"n";N.replaceNode(R,$,E.factory.createBigIntLiteral(q))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixAddModuleReferTypeMissingTypeof";var j=R;var $=[E.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];N.registerCodeFix({errorCodes:$,getCodeActions:function getCodeActionsToAddMissingTypeof(R){var $=R.sourceFile,q=R.span;var G=getImportTypeNode($,q.start);var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(j,ie,E.Diagnostics.Add_missing_typeof,j,E.Diagnostics.Add_missing_typeof)]},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return doChange(N,E.sourceFile,getImportTypeNode(R.file,R.start))}))}});function getImportTypeNode(N,R){var j=E.getTokenAtPosition(N,R);E.Debug.assert(j.kind===100,"This token should be an ImportKeyword");E.Debug.assert(j.parent.kind===199,"Token parent should be an ImportType");return j.parent}function doChange(N,R,j){var $=E.factory.updateImportTypeNode(j,j.argument,j.qualifier,j.typeArguments,true);N.replaceNode(R,j,$)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="wrapJsxInFragment";var j=[E.Diagnostics.JSX_expressions_must_have_one_parent_element.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToWrapJsxInFragment(j){var $=j.sourceFile,q=j.span;var G=findNodeToFix($,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_in_JSX_fragment,R,E.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=findNodeToFix(E.sourceFile,R.start);if(!j)return undefined;doChange(N,E.sourceFile,j)}))}});function findNodeToFix(N,R){var j=E.getTokenAtPosition(N,R);var $=j.parent;var q=$.parent;if(!E.isBinaryExpression(q)){q=q.parent;if(!E.isBinaryExpression(q))return undefined}if(!E.nodeIsMissing(q.operatorToken))return undefined;return q}function doChange(N,R,j){var $=flattenInvalidBinaryExpr(j);if($)N.replaceNode(R,j,E.factory.createJsxFragment(E.factory.createJsxOpeningFragment(),$,E.factory.createJsxJsxClosingFragment()))}function flattenInvalidBinaryExpr(N){var R=[];var j=N;while(true){if(E.isBinaryExpression(j)&&E.nodeIsMissing(j.operatorToken)&&j.operatorToken.kind===27){R.push(j.left);if(E.isJsxChild(j.right)){R.push(j.right);return R}else if(E.isBinaryExpression(j.right)){j=j.right;continue}else return undefined}else return undefined}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertToMappedObjectType";var $=[E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];N.registerCodeFix({errorCodes:$,getCodeActions:function getCodeActionsToConvertToMappedTypeObject(j){var $=j.sourceFile,q=j.span;var G=getInfo($,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));var ae=E.idText(G.container.name);return[N.createCodeFixAction(R,ie,[E.Diagnostics.Convert_0_to_mapped_object_type,ae],R,[E.Diagnostics.Convert_0_to_mapped_object_type,ae])]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(E,N){var R=getInfo(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);var $=E.tryCast(j.parent.parent,E.isIndexSignatureDeclaration);if(!$)return undefined;var q=E.isInterfaceDeclaration($.parent)?$.parent:E.tryCast($.parent.parent,E.isTypeAliasDeclaration);if(!q)return undefined;return{indexSignature:$,container:q}}function createTypeAliasFromInterface(N,R){return E.factory.createTypeAliasDeclaration(N.decorators,N.modifiers,N.name,N.typeParameters,R)}function doChange(N,R,$){var q=$.indexSignature,G=$.container;var ie=E.isInterfaceDeclaration(G)?G.members:G.type.members;var ae=ie.filter((function(N){return!E.isIndexSignatureDeclaration(N)}));var ce=E.first(q.parameters);var le=E.factory.createTypeParameterDeclaration(E.cast(ce.name,E.isIdentifier),ce.type);var _e=E.factory.createMappedTypeNode(E.hasEffectiveReadonlyModifier(q)?E.factory.createModifier(144):undefined,le,undefined,q.questionToken,q.type,undefined);var Te=E.factory.createIntersectionTypeNode(j(j(j([],E.getAllSuperTypeNodes(G),true),[_e],false),ae.length?[E.factory.createTypeLiteralNode(ae)]:E.emptyArray,true));N.replaceNode(R,G,createTypeAliasFromInterface(G,Te))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeAccidentalCallParentheses";var j=[E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.findAncestor(E.getTokenAtPosition(j.sourceFile,j.span.start),E.isCallExpression);if(!$){return undefined}var q=E.textChanges.ChangeTracker.with(j,(function(E){E.deleteRange(j.sourceFile,{pos:$.expression.end,end:$.end})}));return[N.createCodeFixActionWithoutFixAll(R,q,E.Diagnostics.Remove_parentheses)]},fixIds:[R]})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeUnnecessaryAwait";var j=[E.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToRemoveUnnecessaryAwait(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unnecessary_await,R,E.Diagnostics.Remove_all_unnecessary_uses_of_await)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),(function(E){return E.kind===132}));var q=$&&E.tryCast($.parent,E.isAwaitExpression);if(!q){return}var G=q;var ie=E.isParenthesizedExpression(q.parent);if(ie){var ae=E.getLeftmostExpression(q.expression,false);if(E.isIdentifier(ae)){var ce=E.findPrecedingToken(q.parent.pos,R);if(ce&&ce.kind!==103){G=q.parent}}}N.replaceNode(R,G,q.expression)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];var j="splitTypeOnlyImport";N.registerCodeFix({errorCodes:R,fixIds:[j],getCodeActions:function getCodeActionsToSplitTypeOnlyImport(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return splitTypeOnlyImport(E,getImportDeclaration(R.sourceFile,R.span),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Split_into_two_separate_import_declarations,j,E.Diagnostics.Split_all_invalid_type_only_imports)]}},getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){splitTypeOnlyImport(N,getImportDeclaration(E.sourceFile,R),E)}))}});function getImportDeclaration(N,R){return E.findAncestor(E.getTokenAtPosition(N,R.start),E.isImportDeclaration)}function splitTypeOnlyImport(N,R,j){if(!R){return}var $=E.Debug.checkDefined(R.importClause);N.replaceNode(j.sourceFile,R,E.factory.updateImportDeclaration(R,R.decorators,R.modifiers,E.factory.updateImportClause($,$.isTypeOnly,$.name,undefined),R.moduleSpecifier,R.assertClause));N.insertNodeAfter(j.sourceFile,R,E.factory.createImportDeclaration(undefined,undefined,E.factory.updateImportClause($,$.isTypeOnly,undefined,$.namedBindings),R.moduleSpecifier,R.assertClause))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertConstToLet";var j=[E.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];N.registerCodeFix({errorCodes:j,getCodeActions:function getCodeActionsToConvertConstToLet(j){var $=j.sourceFile,q=j.span,G=j.program;var ie=getConstTokenRange($,q.start,G);if(ie===undefined)return;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Convert_const_to_let,R,E.Diagnostics.Convert_const_to_let)]},fixIds:[R]});function getConstTokenRange(N,R,j){var $;var q=j.getTypeChecker();var G=q.getSymbolAtLocation(E.getTokenAtPosition(N,R));var ie=E.tryCast(($=G===null||G===void 0?void 0:G.valueDeclaration)===null||$===void 0?void 0:$.parent,E.isVariableDeclarationList);if(ie===undefined)return;var ae=E.findChildOfKind(ie,85,N);if(ae===undefined)return;return E.createRange(ae.pos,ae.end)}function doChange(E,N,R){E.replaceRangeWithText(N,R,"let")}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixExpectedComma";var j=E.Diagnostics._0_expected.code;var $=[j];N.registerCodeFix({errorCodes:$,getCodeActions:function(j){var $=j.sourceFile;var q=getInfo($,j.span.start,j.errorCode);if(!q)return undefined;var G=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,q)}));return[N.createCodeFixAction(R,G,[E.Diagnostics.Change_0_to_1,";",","],R,[E.Diagnostics.Change_0_to_1,";",","])]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){var j=getInfo(R.file,R.start,R.code);if(j)doChange(N,E.sourceFile,j)}))}});function getInfo(N,R,j){var $=E.getTokenAtPosition(N,R);return $.kind===26&&$.parent&&(E.isObjectLiteralExpression($.parent)||E.isArrayLiteralExpression($.parent))?{node:$}:undefined}function doChange(N,R,j){var $=j.node;var q=E.factory.createToken(27);N.replaceNode(R,$,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addVoidToPromise";var j="addVoidToPromise";var $=[E.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];N.registerCodeFix({errorCodes:$,fixIds:[j],getCodeActions:function($){var q=E.textChanges.ChangeTracker.with($,(function(E){return makeChange(E,$.sourceFile,$.span,$.program)}));if(q.length>0){return[N.createCodeFixAction(R,q,E.Diagnostics.Add_void_to_Promise_resolved_without_a_value,j,E.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]}},getAllCodeActions:function(R){return N.codeFixAll(R,$,(function(N,j){return makeChange(N,j.file,j,R.program,new E.Set)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j.start);if(!E.isIdentifier(G)||!E.isCallExpression(G.parent)||G.parent.expression!==G||G.parent.arguments.length!==0)return;var ie=$.getTypeChecker();var ae=ie.getSymbolAtLocation(G);var ce=ae===null||ae===void 0?void 0:ae.valueDeclaration;if(!ce||!E.isParameter(ce)||!E.isNewExpression(ce.parent.parent))return;if(q===null||q===void 0?void 0:q.has(ce))return;q===null||q===void 0?void 0:q.add(ce);var le=getEffectiveTypeArguments(ce.parent.parent);if(E.some(le)){var _e=le[0];var Te=!E.isUnionTypeNode(_e)&&!E.isParenthesizedTypeNode(_e)&&E.isParenthesizedTypeNode(E.factory.createUnionTypeNode([_e,E.factory.createKeywordTypeNode(114)]).types[0]);if(Te){N.insertText(R,_e.pos,"(")}N.insertText(R,_e.end,Te?") | void":" | void")}else{var Ee=ie.getResolvedSignature(G.parent);var we=Ee===null||Ee===void 0?void 0:Ee.parameters[0];var Ie=we&&ie.getTypeOfSymbolAtLocation(we,ce.parent.parent);if(E.isInJSFile(ce)){if(!Ie||Ie.flags&3){N.insertText(R,ce.parent.parent.end,")");N.insertText(R,E.skipTrivia(R.text,ce.parent.parent.pos),"/** @type {Promise} */(")}}else{if(!Ie||Ie.flags&2){N.insertText(R,ce.parent.parent.expression.end,"")}}}}function getEffectiveTypeArguments(N){var R;if(E.isInJSFile(N)){if(E.isParenthesizedExpression(N.parent)){var j=(R=E.getJSDocTypeTag(N.parent))===null||R===void 0?void 0:R.typeExpression.type;if(j&&E.isTypeReferenceNode(j)&&E.isIdentifier(j.typeName)&&E.idText(j.typeName)==="Promise"){return j.typeArguments}}}else{return N.typeArguments}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Convert export";var j={name:"Convert default export to named export",description:E.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"};var q={name:"Convert named export to default export",description:E.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};N.registerRefactor(R,{kinds:[j.kind,q.kind],getAvailableActions:function getRefactorActionsToConvertBetweenNamedAndDefaultExports(G){var ie=getInfo(G,G.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){var ae=ie.wasDefault?j:q;return[{name:R,description:ae.description,actions:[ae]}]}if(G.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.Diagnostics.Convert_default_export_to_named_export.message,actions:[$($({},j),{notApplicableReason:ie.error}),$($({},q),{notApplicableReason:ie.error})]}]}return E.emptyArray},getEditsForAction:function getRefactorEditsToConvertBetweenNamedAndDefaultExports(R,$){E.Debug.assert($===j.name||$===q.name,"Unexpected action name");var G=getInfo(R);E.Debug.assert(G&&!N.isRefactorErrorInfo(G),"Expected applicable refactor info");var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,G,E,R.cancellationToken)}));return{edits:ie,renameFilename:undefined,renameLocation:undefined}}});function getInfo(N,R){if(R===void 0){R=true}var j=N.file,$=N.program;var q=E.getRefactorContextSpan(N);var G=E.getTokenAtPosition(j,q.start);var ie=!!(G.parent&&E.getSyntacticModifierFlags(G.parent)&1)&&R?G.parent:E.getParentNodeInSpan(G,j,q);if(!ie||!E.isSourceFile(ie.parent)&&!(E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_export_statement)}}var ae=E.isSourceFile(ie.parent)?ie.parent.symbol:ie.parent.parent.symbol;var ce=E.getSyntacticModifierFlags(ie)||(E.isExportAssignment(ie)&&!ie.isExportEquals?513:0);var le=!!(ce&512);if(!(ce&1)||!le&&ae.exports.has("default")){return{error:E.getLocaleSpecificMessage(E.Diagnostics.This_file_already_has_a_default_export)}}var _e=$.getTypeChecker();var noSymbolError=function(N){return E.isIdentifier(N)&&_e.getSymbolAtLocation(N)?undefined:{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_named_export)}};switch(ie.kind){case 255:case 256:case 257:case 259:case 258:case 260:{var Te=ie;if(!Te.name)return undefined;return noSymbolError(Te.name)||{exportNode:Te,exportName:Te.name,wasDefault:le,exportingModuleSymbol:ae}}case 236:{var Ee=ie;if(!(Ee.declarationList.flags&2)||Ee.declarationList.declarations.length!==1){return undefined}var we=E.first(Ee.declarationList.declarations);if(!we.initializer)return undefined;E.Debug.assert(!le,"Can't have a default flag here");return noSymbolError(we.name)||{exportNode:Ee,exportName:we.name,wasDefault:le,exportingModuleSymbol:ae}}case 270:{var Te=ie;if(Te.isExportEquals)return undefined;return noSymbolError(Te.expression)||{exportNode:Te,exportName:Te.expression,wasDefault:le,exportingModuleSymbol:ae}}default:return undefined}}function doChange(E,N,R,j,$){changeExport(E,R,j,N.getTypeChecker());changeImports(N,R,j,$)}function changeExport(N,R,j,$){var q=R.wasDefault,G=R.exportNode,ie=R.exportName;if(q){if(E.isExportAssignment(G)&&!G.isExportEquals){var ae=G.expression;var ce=makeExportSpecifier(ae.text,ae.text);j.replaceNode(N,G,E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([ce])))}else{j.delete(N,E.Debug.checkDefined(E.findModifier(G,88),"Should find a default keyword in modifier list"))}}else{var le=E.Debug.checkDefined(E.findModifier(G,93),"Should find an export keyword in modifier list");switch(G.kind){case 255:case 256:case 257:j.insertNodeAfter(N,le,E.factory.createToken(88));break;case 236:var _e=E.first(G.declarationList.declarations);if(!E.FindAllReferences.Core.isSymbolReferencedInFile(ie,$,N)&&!_e.type){j.replaceNode(N,G,E.factory.createExportDefault(E.Debug.checkDefined(_e.initializer,"Initializer was previously known to be present")));break}case 259:case 258:case 260:j.deleteModifier(N,le);j.insertNodeAfter(N,G,E.factory.createExportDefault(E.factory.createIdentifier(ie.text)));break;default:E.Debug.fail("Unexpected exportNode kind ".concat(G.kind))}}}function changeImports(N,R,j,$){var q=R.wasDefault,G=R.exportName,ie=R.exportingModuleSymbol;var ae=N.getTypeChecker();var ce=E.Debug.checkDefined(ae.getSymbolAtLocation(G),"Export name should resolve to a symbol");E.FindAllReferences.Core.eachExportReference(N.getSourceFiles(),ae,$,ce,ie,G.text,q,(function(E){var N=E.getSourceFile();if(q){changeDefaultToNamedImport(N,E,j,G.text)}else{changeNamedToDefaultImport(N,E,j)}}))}function changeDefaultToNamedImport(N,R,j,$){var q=R.parent;switch(q.kind){case 205:j.replaceNode(N,R,E.factory.createIdentifier($));break;case 269:case 274:{var G=q;j.replaceNode(N,G,makeImportSpecifier($,G.name.text));break}case 266:{var ie=q;E.Debug.assert(ie.name===R,"Import clause name should match provided ref");var G=makeImportSpecifier($,R.text);var ae=ie.namedBindings;if(!ae){j.replaceNode(N,R,E.factory.createNamedImports([G]))}else if(ae.kind===267){j.deleteRange(N,{pos:R.getStart(N),end:ae.getStart(N)});var ce=E.isStringLiteral(ie.parent.moduleSpecifier)?E.quotePreferenceFromString(ie.parent.moduleSpecifier,N):1;var le=E.makeImport(undefined,[makeImportSpecifier($,R.text)],ie.parent.moduleSpecifier,ce);j.insertNodeAfter(N,ie.parent,le)}else{j.delete(N,R);j.insertNodeAtEndOfList(N,ae.elements,G)}break}default:E.Debug.failBadSyntaxKind(q)}}function changeNamedToDefaultImport(N,R,j){var $=R.parent;switch($.kind){case 205:j.replaceNode(N,R,E.factory.createIdentifier("default"));break;case 269:{var q=E.factory.createIdentifier($.name.text);if($.parent.elements.length===1){j.replaceNode(N,$.parent,q)}else{j.delete(N,$);j.insertNodeBefore(N,$.parent,q)}break}case 274:{j.replaceNode(N,$,makeExportSpecifier("default",$.name.text));break}default:E.Debug.assertNever($,"Unexpected parent kind ".concat($.kind))}}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(false,N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}function makeExportSpecifier(N,R){return E.factory.createExportSpecifier(false,N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;var j="Convert import";var q=(R={},R[0]={name:"Convert namespace import to named imports",description:E.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},R[2]={name:"Convert named imports to namespace import",description:E.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},R[1]={name:"Convert named imports to default import",description:E.Diagnostics.Convert_named_imports_to_default_import.message,kind:"refactor.rewrite.import.default"},R);N.registerRefactor(j,{kinds:E.getOwnValues(q).map((function(E){return E.kind})),getAvailableActions:function getRefactorActionsToConvertBetweenNamedAndNamespacedImports(R){var G=getImportConversionInfo(R,R.triggerReason==="invoked");if(!G)return E.emptyArray;if(!N.isRefactorErrorInfo(G)){var ie=q[G.convertTo];return[{name:j,description:ie.description,actions:[ie]}]}if(R.preferences.provideRefactorNotApplicableReason){return E.getOwnValues(q).map((function(E){return{name:j,description:E.description,actions:[$($({},E),{notApplicableReason:G.error})]}}))}return E.emptyArray},getEditsForAction:function getRefactorEditsToConvertBetweenNamedAndNamespacedImports(R,j){E.Debug.assert(E.some(E.getOwnValues(q),(function(E){return E.name===j})),"Unexpected action name");var $=getImportConversionInfo(R);E.Debug.assert($&&!N.isRefactorErrorInfo($),"Expected applicable refactor info");var G=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,E,$)}));return{edits:G,renameFilename:undefined,renameLocation:undefined}}});function getImportConversionInfo(N,R){if(R===void 0){R=true}var j=N.file;var $=E.getRefactorContextSpan(N);var q=E.getTokenAtPosition(j,$.start);var G=R?E.findAncestor(q,E.isImportDeclaration):E.getParentNodeInSpan(q,j,$);if(!G||!E.isImportDeclaration(G))return{error:"Selection is not an import declaration."};var ie=$.start+$.length;var ae=E.findNextToken(G,G.parent,j);if(ae&&ie>ae.getStart())return undefined;var ce=G.importClause;if(!ce){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_import_clause)}}if(!ce.namedBindings){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_namespace_import_or_named_imports)}}if(ce.namedBindings.kind===267){return{convertTo:0,import:ce.namedBindings}}var le=N.program.getCompilerOptions();var _e=E.getAllowSyntheticDefaultImports(le)&&isExportEqualsModule(ce.parent.moduleSpecifier,N.program.getTypeChecker());return _e?{convertTo:1,import:ce.namedBindings}:{convertTo:2,import:ce.namedBindings}}function doChange(N,R,j,$){var q=R.getTypeChecker();if($.convertTo===0){doChangeNamespaceToNamed(N,q,j,$.import,E.getAllowSyntheticDefaultImports(R.getCompilerOptions()))}else{doChangeNamedToNamespaceOrDefault(N,q,j,$.import,$.convertTo===1)}}function doChangeNamespaceToNamed(N,R,j,$,q){var G=false;var ie=[];var ae=new E.Map;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(N){if(!E.isPropertyAccessOrQualifiedName(N.parent)){G=true}else{var j=getRightOfPropertyAccessOrQualifiedName(N.parent).text;if(R.resolveName(j,N,67108863,true)){ae.set(j,true)}E.Debug.assert(getLeftOfPropertyAccessOrQualifiedName(N.parent)===N,"Parent expression should match id");ie.push(N.parent)}}));var ce=new E.Map;for(var le=0,_e=ie;le<_e.length;le++){var Te=_e[le];var Ee=getRightOfPropertyAccessOrQualifiedName(Te).text;var we=ce.get(Ee);if(we===undefined){ce.set(Ee,we=ae.has(Ee)?E.getUniqueName(Ee,N):Ee)}j.replaceNode(N,Te,E.factory.createIdentifier(we))}var Ie=[];ce.forEach((function(N,R){Ie.push(E.factory.createImportSpecifier(false,N===R?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(N)))}));var Ne=$.parent.parent;if(G&&!q){j.insertNodeAfter(N,Ne,updateImport(Ne,undefined,Ie))}else{j.replaceNode(N,Ne,updateImport(Ne,G?E.factory.createIdentifier($.name.text):undefined,Ie))}}function getRightOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.name:N.right}function getLeftOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.expression:N.left}function doChangeNamedToNamespaceOrDefault(N,R,j,$,q){var G=$.parent.parent;var ie=G.moduleSpecifier;var ae=new E.Set;$.elements.forEach((function(E){var N=R.getSymbolAtLocation(E.name);if(N){ae.add(N)}}));var ce=ie&&E.isStringLiteral(ie)?E.codefix.moduleSpecifierToValidIdentifier(ie.text,99):"module";function hasNamespaceNameConflict(j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j.name,R,N,(function(N){var j=R.resolveName(ce,N,67108863,true);if(j){if(ae.has(j)){return E.isExportSpecifier(N.parent)}return true}return false}))}var le=$.elements.some(hasNamespaceNameConflict);var _e=le?E.getUniqueName(ce,N):ce;var Te=new E.Set;var _loop_17=function($){var q=($.propertyName||$.name).text;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(R){var G=E.factory.createPropertyAccessExpression(E.factory.createIdentifier(_e),q);if(E.isShorthandPropertyAssignment(R.parent)){j.replaceNode(N,R.parent,E.factory.createPropertyAssignment(R.text,G))}else if(E.isExportSpecifier(R.parent)){Te.add($)}else{j.replaceNode(N,R,G)}}))};for(var Ee=0,we=$.elements;Ee=ie.pos?ae.getEnd():ie.getEnd());var le=G?getValidParentNodeOfEmptySpan(ie):getValidParentNodeContainingSpan(ie,ce);var _e=le&&isValidExpressionOrStatement(le)?getExpression(le):undefined;if(!_e)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var Te=$.getTypeChecker();return E.isConditionalExpression(_e)?getConditionalInfo(_e,Te):getBinaryInfo(_e)}function getConditionalInfo(N,R){var j=N.condition;var $=getFinalExpressionInChain(N.whenTrue);if(!$||R.isNullableType(R.getTypeAtLocation($))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)}}if((E.isPropertyAccessExpression(j)||E.isIdentifier(j))&&getMatchingStart(j,$.expression)){return{finalExpression:$,occurrences:[j],expression:N}}else if(E.isBinaryExpression(j)){var q=getOccurrencesInExpression($.expression,j);return q?{finalExpression:$,occurrences:q,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}}function getBinaryInfo(N){if(N.operatorToken.kind!==55){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_logical_AND_access_chains)}}var R=getFinalExpressionInChain(N.right);if(!R)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var j=getOccurrencesInExpression(R.expression,N.left);return j?{finalExpression:R,occurrences:j,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}function getOccurrencesInExpression(N,R){var j=[];while(E.isBinaryExpression(R)&&R.operatorToken.kind===55){var $=getMatchingStart(E.skipParentheses(N),E.skipParentheses(R.right));if(!$){break}j.push($);N=$;R=R.left}var q=getMatchingStart(N,R);if(q){j.push(q)}return j.length>0?j:undefined}function getMatchingStart(N,R){if(!E.isIdentifier(R)&&!E.isPropertyAccessExpression(R)&&!E.isElementAccessExpression(R)){return undefined}return chainStartsWith(N,R)?R:undefined}function chainStartsWith(N,R){while(E.isCallExpression(N)||E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)){if(getTextOfChainNode(N)===getTextOfChainNode(R))break;N=N.expression}while(E.isPropertyAccessExpression(N)&&E.isPropertyAccessExpression(R)||E.isElementAccessExpression(N)&&E.isElementAccessExpression(R)){if(getTextOfChainNode(N)!==getTextOfChainNode(R))return false;N=N.expression;R=R.expression}return E.isIdentifier(N)&&E.isIdentifier(R)&&N.getText()===R.getText()}function getTextOfChainNode(N){if(E.isIdentifier(N)||E.isStringOrNumericLiteralLike(N)){return N.getText()}if(E.isPropertyAccessExpression(N)){return getTextOfChainNode(N.name)}if(E.isElementAccessExpression(N)){return getTextOfChainNode(N.argumentExpression)}return undefined}function getValidParentNodeContainingSpan(E,N){while(E.parent){if(isValidExpressionOrStatement(E)&&N.length!==0&&E.end>=N.start+N.length){return E}E=E.parent}return undefined}function getValidParentNodeOfEmptySpan(E){while(E.parent){if(isValidExpressionOrStatement(E)&&!isValidExpressionOrStatement(E.parent)){return E}E=E.parent}return undefined}function getExpression(N){if(isValidExpression(N)){return N}if(E.isVariableStatement(N)){var R=E.getSingleVariableOfVariableStatement(N);var j=R===null||R===void 0?void 0:R.initializer;return j&&isValidExpression(j)?j:undefined}return N.expression&&isValidExpression(N.expression)?N.expression:undefined}function getFinalExpressionInChain(N){N=E.skipParentheses(N);if(E.isBinaryExpression(N)){return getFinalExpressionInChain(N.left)}else if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)||E.isCallExpression(N))&&!E.isOptionalChain(N)){return N}return undefined}function convertOccurrences(N,R,j){if(E.isPropertyAccessExpression(R)||E.isElementAccessExpression(R)||E.isCallExpression(R)){var $=convertOccurrences(N,R.expression,j);var q=j.length>0?j[j.length-1]:undefined;var G=(q===null||q===void 0?void 0:q.getText())===R.expression.getText();if(G)j.pop();if(E.isCallExpression(R)){return G?E.factory.createCallChain($,E.factory.createToken(28),R.typeArguments,R.arguments):E.factory.createCallChain($,R.questionDotToken,R.typeArguments,R.arguments)}else if(E.isPropertyAccessExpression(R)){return G?E.factory.createPropertyAccessChain($,E.factory.createToken(28),R.name):E.factory.createPropertyAccessChain($,R.questionDotToken,R.name)}else if(E.isElementAccessExpression(R)){return G?E.factory.createElementAccessChain($,E.factory.createToken(28),R.argumentExpression):E.factory.createElementAccessChain($,R.questionDotToken,R.argumentExpression)}}return R}function doChange(N,R,j,$,q){var G=$.finalExpression,ie=$.occurrences,ae=$.expression;var ce=ie[ie.length-1];var le=convertOccurrences(R,G,ie);if(le&&(E.isPropertyAccessExpression(le)||E.isElementAccessExpression(le)||E.isCallExpression(le))){if(E.isBinaryExpression(ae)){j.replaceNodeRange(N,ce,G,le)}else if(E.isConditionalExpression(ae)){j.replaceNode(N,ae,E.factory.createBinaryExpression(le,E.factory.createToken(60),ae.whenFalse))}}}})(R=N.convertToOptionalChainExpression||(N.convertToOptionalChainExpression={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert overload list to single signature";var $=E.Diagnostics.Convert_overload_list_to_single_signature.message;var q={name:j,description:$,kind:"refactor.rewrite.function.overloadList"};N.registerRefactor(j,{kinds:[q.kind],getEditsForAction:getRefactorEditsToConvertOverloadsToOneSignature,getAvailableActions:getRefactorActionsToConvertOverloadsToOneSignature});function getRefactorActionsToConvertOverloadsToOneSignature(N){var R=N.file,G=N.startPosition,ie=N.program;var ae=getConvertableOverloadListAtPosition(R,G,ie);if(!ae)return E.emptyArray;return[{name:j,description:$,actions:[q]}]}function getRefactorEditsToConvertOverloadsToOneSignature(N){var R=N.file,j=N.startPosition,$=N.program;var q=getConvertableOverloadListAtPosition(R,j,$);if(!q)return undefined;var G=$.getTypeChecker();var ie=q[q.length-1];var ae=ie;switch(ie.kind){case 167:{ae=E.factory.updateMethodSignature(ie,ie.modifiers,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 168:{ae=E.factory.updateMethodDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}case 173:{ae=E.factory.updateCallSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 170:{ae=E.factory.updateConstructorDeclaration(ie,ie.decorators,ie.modifiers,getNewParametersForCombinedSignature(q),ie.body);break}case 174:{ae=E.factory.updateConstructSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 255:{ae=E.factory.updateFunctionDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}default:return E.Debug.failBadSyntaxKind(ie,"Unhandled signature kind in overload list conversion refactoring")}if(ae===ie){return}var ce=E.textChanges.ChangeTracker.with(N,(function(E){E.replaceNodeRange(R,q[0],q[q.length-1],ae)}));return{renameFilename:undefined,renameLocation:undefined,edits:ce};function getNewParametersForCombinedSignature(N){var R=N[N.length-1];if(E.isFunctionLikeDeclaration(R)&&R.body){N=N.slice(0,N.length-1)}return E.factory.createNodeArray([E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),"args",undefined,E.factory.createUnionTypeNode(E.map(N,convertSignatureParametersToTuple)))])}function convertSignatureParametersToTuple(N){var R=E.map(N.parameters,convertParameterToNamedTupleMember);return E.setEmitFlags(E.factory.createTupleTypeNode(R),E.some(R,(function(N){return!!E.length(E.getSyntheticLeadingComments(N))}))?0:1)}function convertParameterToNamedTupleMember(N){E.Debug.assert(E.isIdentifier(N.name));var R=E.setTextRange(E.factory.createNamedTupleMember(N.dotDotDotToken,N.name,N.questionToken,N.type||E.factory.createKeywordTypeNode(130)),N);var j=N.symbol&&N.symbol.getDocumentationComment(G);if(j){var $=E.displayPartsToString(j);if($.length){E.setSyntheticLeadingComments(R,[{text:"*\n".concat($.split("\n").map((function(E){return" * ".concat(E)})).join("\n"),"\n "),kind:3,pos:-1,end:-1,hasTrailingNewLine:true,hasLeadingNewline:true}])}}return R}}function isConvertableSignatureDeclaration(E){switch(E.kind){case 167:case 168:case 173:case 170:case 174:case 255:return true}return false}function getConvertableOverloadListAtPosition(N,R,j){var $=E.getTokenAtPosition(N,R);var q=E.findAncestor($,isConvertableSignatureDeclaration);if(!q){return}var G=j.getTypeChecker();var ie=q.symbol;if(!ie){return}var ae=ie.declarations;if(E.length(ae)<=1){return}if(!E.every(ae,(function(R){return E.getSourceFileOfNode(R)===N}))){return}if(!isConvertableSignatureDeclaration(ae[0])){return}var ce=ae[0].kind;if(!E.every(ae,(function(E){return E.kind===ce}))){return}var le=ae;if(E.some(le,(function(N){return!!N.typeParameters||E.some(N.parameters,(function(N){return!!N.decorators||!!N.modifiers||!E.isIdentifier(N.name)}))}))){return}var _e=E.mapDefined(le,(function(E){return G.getSignatureFromDeclaration(E)}));if(E.length(_e)!==E.length(ae)){return}var Te=G.getReturnTypeOfSignature(_e[0]);if(!E.every(_e,(function(E){return G.getReturnTypeOfSignature(E)===Te}))){return}return le}})(R=N.addOrRemoveBracesToArrowFunction||(N.addOrRemoveBracesToArrowFunction={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Extract Symbol";var q={name:"Extract Constant",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_constant),kind:"refactor.extract.constant"};var G={name:"Extract Function",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_function),kind:"refactor.extract.function"};N.registerRefactor(j,{kinds:[q.kind,G.kind],getEditsForAction:getRefactorEditsToExtractSymbol,getAvailableActions:getRefactorActionsToExtractSymbol});function getRefactorActionsToExtractSymbol(R){var ie=R.kind;var ae=getRangeToExtract(R.file,E.getRefactorContextSpan(R),R.triggerReason==="invoked");var ce=ae.targetRange;if(ce===undefined){if(!ae.errors||ae.errors.length===0||!R.preferences.provideRefactorNotApplicableReason){return E.emptyArray}var le=[];if(N.refactorKindBeginsWith(G.kind,ie)){le.push({name:j,description:G.description,actions:[$($({},G),{notApplicableReason:getStringError(ae.errors)})]})}if(N.refactorKindBeginsWith(q.kind,ie)){le.push({name:j,description:q.description,actions:[$($({},q),{notApplicableReason:getStringError(ae.errors)})]})}return le}var _e=getPossibleExtractions(ce,R);if(_e===undefined){return E.emptyArray}var Te=[];var Ee=new E.Map;var we;var Ie=[];var Ne=new E.Map;var Me;var Le=0;for(var Be=0,je=_e;Be=R.start+R.length){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractSuper));return true}}else{we|=ae.UsesThis}break;case 213:E.forEachChild(N,(function check(N){if(E.isThis(N)){we|=ae.UsesThis}else if(E.isClassLike(N)||E.isFunctionLike(N)&&!E.isArrowFunction(N)){return false}else{E.forEachChild(N,check)}}));case 256:case 255:if(E.isSourceFile(N.parent)&&N.parent.externalModuleIndicator===undefined){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.functionWillNotBeVisibleInTheNewScope))}case 225:case 212:case 168:case 170:case 171:case 172:return false}var le=G;switch(N.kind){case 238:G=0;break;case 251:G=0;break;case 234:if(N.parent&&N.parent.kind===251&&N.parent.finallyBlock===N){G=4}break;case 289:case 288:G|=1;break;default:if(E.isIterationStatement(N,false)){G|=1|2}break}switch(N.kind){case 191:case 108:we|=ae.UsesThis;break;case 249:{var _e=N.label;(ce||(ce=[])).push(_e.escapedText);E.forEachChild(N,visit);ce.pop();break}case 245:case 244:{var _e=N.label;if(_e){if(!E.contains(ce,_e.escapedText)){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange))}}else{if(!(G&(N.kind===245?1:2))){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalBreakOrContinueStatements))}}break}case 217:we|=ae.IsAsyncFunction;break;case 223:we|=ae.IsGenerator;break;case 246:if(G&4){we|=ae.HasReturn}else{(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalReturnStatement))}break;default:E.forEachChild(N,visit);break}G=le}}}R.getRangeToExtract=getRangeToExtract;function getAdjustedSpanFromNodes(E,N,R){var j=E.getStart(R);var $=N.getEnd();if(R.text.charCodeAt($)===59){$++}return{start:j,length:$-j}}function getStatementOrExpressionRange(N){if(E.isStatement(N)){return[N]}else if(E.isExpressionNode(N)){return E.isExpressionStatement(N.parent)?[N.parent]:N}return undefined}function isScope(N){return E.isFunctionLikeDeclaration(N)||E.isSourceFile(N)||E.isModuleBlock(N)||E.isClassLike(N)}function collectEnclosingScopes(N){var R=isReadonlyArray(N.range)?E.first(N.range):N.range;if(N.facts&ae.UsesThis){var j=E.getContainingClass(R);if(j){var $=E.findAncestor(R,E.isFunctionLikeDeclaration);return $?[$,j]:[j]}}var q=[];while(true){R=R.parent;if(R.kind===163){R=E.findAncestor(R,(function(N){return E.isFunctionLikeDeclaration(N)})).parent}if(isScope(R)){q.push(R);if(R.kind===303){return q}}}}function getFunctionExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.functionErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");R.cancellationToken.throwIfCancellationRequested();return extractFunctionInScope(ie,q[j],ae[j],le,N,R)}function getConstantExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.constantErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");E.Debug.assert(le.length===0,"Extract constant accepted a range containing a variable declaration?");R.cancellationToken.throwIfCancellationRequested();var _e=E.isExpression(ie)?ie:ie.statements[0].expression;return extractConstantInScope(_e,q[j],ae[j],N.facts,R)}function getPossibleExtractions(N,R){var j=getPossibleExtractionsWorker(N,R),$=j.scopes,q=j.readsAndWrites,G=q.functionErrorsPerScope,ie=q.constantErrorsPerScope;var ae=$.map((function(N,R){var j=getDescriptionForFunctionInScope(N);var $=getDescriptionForConstantInScope(N);var q=E.isFunctionLikeDeclaration(N)?getDescriptionForFunctionLikeDeclaration(N):E.isClassLike(N)?getDescriptionForClassLikeDeclaration(N):getDescriptionForModuleLikeDeclaration(N);var ae;var ce;if(q===1){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"global"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"global"])}else if(q===0){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"module"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"module"])}else{ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[j,q]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[$,q])}if(R===0&&!E.isClassLike(N)){ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_enclosing_scope),[$])}return{functionExtraction:{description:ae,errors:G[R]},constantExtraction:{description:ce,errors:ie[R]}}}));return ae}function getPossibleExtractionsWorker(E,N){var R=N.file;var j=collectEnclosingScopes(E);var $=getEnclosingTextRange(E,R);var q=collectReadsAndWrites(E,j,$,R,N.program.getTypeChecker(),N.cancellationToken);return{scopes:j,readsAndWrites:q}}function getDescriptionForFunctionInScope(N){return E.isFunctionLikeDeclaration(N)?"inner function":E.isClassLike(N)?"method":"function"}function getDescriptionForConstantInScope(N){return E.isClassLike(N)?"readonly field":"constant"}function getDescriptionForFunctionLikeDeclaration(N){switch(N.kind){case 170:return"constructor";case 212:case 255:return N.name?"function '".concat(N.name.text,"'"):E.ANONYMOUS;case 213:return"arrow function";case 168:return"method '".concat(N.name.getText(),"'");case 171:return"'get ".concat(N.name.getText(),"'");case 172:return"'set ".concat(N.name.getText(),"'");default:throw E.Debug.assertNever(N,"Unexpected scope kind ".concat(N.kind))}}function getDescriptionForClassLikeDeclaration(E){return E.kind===256?E.name?"class '".concat(E.name.text,"'"):"anonymous class declaration":E.name?"class expression '".concat(E.name.text,"'"):"anonymous class expression"}function getDescriptionForModuleLikeDeclaration(E){return E.kind===261?"namespace '".concat(E.parent.name.getText(),"'"):E.externalModuleIndicator?0:1}var ce;(function(E){E[E["Module"]=0]="Module";E[E["Global"]=1]="Global"})(ce||(ce={}));function extractFunctionInScope(N,R,j,$,q,G){var ie=j.usages,ce=j.typeParameterUsages,le=j.substitutions;var _e=G.program.getTypeChecker();var Te=E.getEmitScriptTarget(G.program.getCompilerOptions());var Ee=E.codefix.createImportAdder(G.file,G.program,G.preferences,G.host);var we=R.getSourceFile();var Ie=E.getUniqueName(E.isClassLike(R)?"newMethod":"newFunction",we);var Ne=E.isInJSFile(R);var Me=E.factory.createIdentifier(Ie);var Le;var Be=[];var je=[];var Ue;ie.forEach((function(N,j){var $;if(!Ne){var q=_e.getTypeOfSymbolAtLocation(N.symbol,N.node);q=_e.getBaseTypeOfLiteralType(q);$=E.codefix.typeToAutoImportableTypeNode(_e,Ee,q,R,Te,1)}var G=E.factory.createParameterDeclaration(undefined,undefined,undefined,j,undefined,$);Be.push(G);if(N.usage===2){(Ue||(Ue=[])).push(N)}je.push(E.factory.createIdentifier(j))}));var ze=E.arrayFrom(ce.values()).map((function(E){return{type:E,declaration:getFirstDeclaration(E)}}));var We=ze.sort(compareTypesByDeclarationOrder);var Je=We.length===0?undefined:We.map((function(E){return E.declaration}));var Ve=Je!==undefined?Je.map((function(N){return E.factory.createTypeReferenceNode(N.name,undefined)})):undefined;if(E.isExpression(N)&&!Ne){var qe=_e.getContextualType(N);Le=_e.typeToTypeNode(qe,R,1)}var He=transformFunctionBody(N,$,Ue,le,!!(q.facts&ae.HasReturn)),Ge=He.body,Ke=He.returnValueProperty;E.suppressLeadingAndTrailingTrivia(Ge);var Qe;if(E.isClassLike(R)){var Xe=Ne?[]:[E.factory.createModifier(121)];if(q.facts&ae.InStaticRegion){Xe.push(E.factory.createModifier(124))}if(q.facts&ae.IsAsyncFunction){Xe.push(E.factory.createModifier(131))}Qe=E.factory.createMethodDeclaration(undefined,Xe.length?Xe:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,undefined,Je,Be,Le,Ge)}else{Qe=E.factory.createFunctionDeclaration(undefined,q.facts&ae.IsAsyncFunction?[E.factory.createToken(131)]:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,Je,Be,Le,Ge)}var Ye=E.textChanges.ChangeTracker.fromContext(G);var Ze=(isReadonlyArray(q.range)?E.last(q.range):q.range).end;var et=getNodeToInsertFunctionBefore(Ze,R);if(et){Ye.insertNodeBefore(G.file,et,Qe,true)}else{Ye.insertNodeAtEndOfScope(G.file,R,Qe)}Ee.writeFixes(Ye);var tt=[];var rt=getCalledExpression(R,q,Ie);var nt=E.factory.createCallExpression(rt,Ve,je);if(q.facts&ae.IsGenerator){nt=E.factory.createYieldExpression(E.factory.createToken(41),nt)}if(q.facts&ae.IsAsyncFunction){nt=E.factory.createAwaitExpression(nt)}if(isInJSXContent(N)){nt=E.factory.createJsxExpression(undefined,nt)}if($.length&&!Ue){E.Debug.assert(!Ke,"Expected no returnValueProperty");E.Debug.assert(!(q.facts&ae.HasReturn),"Expected RangeFacts.HasReturn flag to be unset");if($.length===1){var it=$[0];tt.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(E.getSynthesizedDeepClone(it.name),undefined,E.getSynthesizedDeepClone(it.type),nt)],it.parent.flags)))}else{var ot=[];var st=[];var ct=$[0].parent.flags;var ut=false;for(var dt=0,pt=$;dt1){return N}j=N;N=N.parent}}function getFirstDeclaration(E){var N;var R=E.symbol;if(R&&R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];if(N===undefined||q.pos0;if(E.isBlock(N)&&!G&&$.size===0){return{body:E.factory.createBlock(N.statements,true),returnValueProperty:undefined}}var ie;var ae=false;var ce=E.factory.createNodeArray(E.isBlock(N)?N.statements.slice(0):[E.isStatement(N)?N:E.factory.createReturnStatement(E.skipParentheses(N))]);if(G||$.size){var le=E.visitNodes(ce,visitor).slice();if(G&&!q&&E.isStatement(N)){var _e=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(_e.length===1){le.push(E.factory.createReturnStatement(_e[0].name))}else{le.push(E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(_e)))}}return{body:E.factory.createBlock(le,true),returnValueProperty:ie}}else{return{body:E.factory.createBlock(ce,true),returnValueProperty:undefined}}function visitor(N){if(!ae&&E.isReturnStatement(N)&&G){var q=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(N.expression){if(!ie){ie="__return"}q.unshift(E.factory.createPropertyAssignment(ie,E.visitNode(N.expression,visitor)))}if(q.length===1){return E.factory.createReturnStatement(q[0].name)}else{return E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(q))}}else{var ce=ae;ae=ae||E.isFunctionLikeDeclaration(N)||E.isClassLike(N);var le=$.get(E.getNodeId(N).toString());var _e=le?E.getSynthesizedDeepClone(le):E.visitEachChild(N,visitor,E.nullTransformationContext);ae=ce;return _e}}}function transformConstantInitializer(N,R){return R.size?visitor(N):N;function visitor(N){var j=R.get(E.getNodeId(N).toString());return j?E.getSynthesizedDeepClone(j):E.visitEachChild(N,visitor,E.nullTransformationContext)}}function getStatementsOrClassElements(N){if(E.isFunctionLikeDeclaration(N)){var R=N.body;if(E.isBlock(R)){return R.statements}}else if(E.isModuleBlock(N)||E.isSourceFile(N)){return N.statements}else if(E.isClassLike(N)){return N.members}else{E.assertType(N)}return E.emptyArray}function getNodeToInsertFunctionBefore(N,R){return E.find(getStatementsOrClassElements(R),(function(R){return R.pos>=N&&E.isFunctionLikeDeclaration(R)&&!E.isConstructorDeclaration(R)}))}function getNodeToInsertPropertyBefore(N,R){var j=R.members;E.Debug.assert(j.length>0,"Found no members");var $;var q=true;for(var G=0,ie=j;GN){return $||j[0]}if(q&&!E.isPropertyDeclaration(ae)){if($!==undefined){return ae}q=false}$=ae}if($===undefined)return E.Debug.fail();return $}function getNodeToInsertConstantBefore(N,R){E.Debug.assert(!E.isClassLike(R));var j;for(var $=N;$!==R;$=$.parent){if(isScope($)){j=$}}for(var $=(j||N).parent;;$=$.parent){if(isBlockLike($)){var q=void 0;for(var G=0,ie=$.statements;GN.pos){break}q=ae}if(!q&&E.isCaseClause($)){E.Debug.assert(E.isSwitchStatement($.parent.parent),"Grandparent isn't a switch statement");return $.parent.parent}return E.Debug.checkDefined(q,"prevStatement failed to get set")}E.Debug.assert($!==R,"Didn't encounter a block-like before encountering scope")}}function getPropertyAssignmentsForWritesAndVariableDeclarations(N,R){var j=E.map(N,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));var $=E.map(R,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));return j===undefined?$:$===undefined?j:j.concat($)}function isReadonlyArray(N){return E.isArray(N)}function getEnclosingTextRange(N,R){return isReadonlyArray(N.range)?{pos:E.first(N.range).getStart(R),end:E.last(N.range).getEnd()}:N.range}var le;(function(E){E[E["Read"]=1]="Read";E[E["Write"]=2]="Write"})(le||(le={}));function collectReadsAndWrites(N,R,j,$,q,G){var ce=new E.Map;var le=[];var _e=[];var Te=[];var Ee=[];var we=[];var Ie=new E.Map;var Ne=[];var Me;var Le=!isReadonlyArray(N.range)?N.range:N.range.length===1&&E.isExpressionStatement(N.range[0])?N.range[0].expression:undefined;var Be;if(Le===undefined){var je=N.range;var Ue=E.first(je).getStart();var ze=E.last(je).end;Be=E.createFileDiagnostic($,Ue,ze-Ue,ie.expressionExpected)}else if(q.getTypeAtLocation(Le).flags&(16384|131072)){Be=E.createDiagnosticForNode(Le,ie.uselessConstantType)}for(var We=0,Je=R;We0){var Ye=new E.Map;var Ze=0;for(var et=Ke;et!==undefined&&Ze0&&(j.usages.size>0||j.typeParameterUsages.size>0)){var $=isReadonlyArray(N.range)?N.range[0]:N.range;Ee[R].push(E.createDiagnosticForNode($,ie.cannotAccessVariablesFromNestedScopes))}var q=false;var G;le[R].usages.forEach((function(N){if(N.usage===2){q=true;if(N.symbol.flags&106500&&N.symbol.valueDeclaration&&E.hasEffectiveModifier(N.symbol.valueDeclaration,64)){G=N.symbol.valueDeclaration}}}));E.Debug.assert(isReadonlyArray(N.range)||Ne.length===0,"No variable declarations expected if something was extracted");if(q&&!isReadonlyArray(N.range)){var ae=E.createDiagnosticForNode(N.range,ie.cannotWriteInExpression);Te[R].push(ae);Ee[R].push(ae)}else if(G&&R>0){var ae=E.createDiagnosticForNode(G,ie.cannotExtractReadonlyPropertyInitializerOutsideConstructor);Te[R].push(ae);Ee[R].push(ae)}else if(Me){var ae=E.createDiagnosticForNode(Me,ie.cannotExtractExportedEntity);Te[R].push(ae);Ee[R].push(ae)}};for(var st=0;st=ce){return Ne}He.set(Ne,ce);if(Me){for(var Le=0,Be=le;Le=0){return}var j=E.isIdentifier(R)?getSymbolReferencedByIdentifier(R):q.getSymbolAtLocation(R);if(j){var $=E.find(we,(function(E){return E.symbol===j}));if($){if(E.isVariableDeclaration($)){var G=$.symbol.id.toString();if(!Ie.has(G)){Ne.push($);Ie.set(G,true)}}else{Me=Me||$}}}E.forEachChild(R,checkForUsedDeclarations)}function getSymbolReferencedByIdentifier(N){return N.parent&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N?q.getShorthandAssignmentValueSymbol(N.parent):q.getSymbolAtLocation(N)}function tryReplaceWithQualifiedNameOrPropertyAccess(N,R,j){if(!N){return undefined}var $=N.getDeclarations();if($&&$.some((function(E){return E.parent===R}))){return E.factory.createIdentifier(N.name)}var q=tryReplaceWithQualifiedNameOrPropertyAccess(N.parent,R,j);if(q===undefined){return undefined}return j?E.factory.createQualifiedName(q,E.factory.createIdentifier(N.name)):E.factory.createPropertyAccessExpression(q,N.name)}}function getExtractableParent(N){return E.findAncestor(N,(function(N){return N.parent&&isExtractableExpression(N)&&!E.isBinaryExpression(N.parent)}))}function isExtractableExpression(E){var N=E.parent;switch(N.kind){case 297:return false}switch(E.kind){case 10:return N.kind!==265&&N.kind!==269;case 224:case 200:case 202:return false;case 79:return N.kind!==202&&N.kind!==269&&N.kind!==274}return true}function isBlockLike(E){switch(E.kind){case 234:case 303:case 261:case 288:return true;default:return false}}function isInJSXContent(N){return(E.isJsxElement(N)||E.isJsxSelfClosingElement(N)||E.isJsxFragment(N))&&(E.isJsxElement(N.parent)||E.isJsxFragment(N.parent))}})(R=N.extractSymbol||(N.extractSymbol={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Extract type";var j={name:"Extract to type alias",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"};var q={name:"Extract to interface",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"};var G={name:"Extract to typedef",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};N.registerRefactor(R,{kinds:[j.kind,q.kind,G.kind],getAvailableActions:function getRefactorActionsToExtractType(ie){var ae=getRangeToExtract(ie,ie.triggerReason==="invoked");if(!ae)return E.emptyArray;if(!N.isRefactorErrorInfo(ae)){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:ae.isJS?[G]:E.append([j],ae.typeElements&&q)}]}if(ie.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:[$($({},G),{notApplicableReason:ae.error}),$($({},j),{notApplicableReason:ae.error}),$($({},q),{notApplicableReason:ae.error})]}]}return E.emptyArray},getEditsForAction:function getRefactorEditsToExtractType(R,$){var ie=R.file;var ae=getRangeToExtract(R);E.Debug.assert(ae&&!N.isRefactorErrorInfo(ae),"Expected to find a range to extract");var ce=E.getUniqueName("NewType",ie);var le=E.textChanges.ChangeTracker.with(R,(function(N){switch($){case j.name:E.Debug.assert(!ae.isJS,"Invalid actionName/JS combo");return doTypeAliasChange(N,ie,ce,ae);case G.name:E.Debug.assert(ae.isJS,"Invalid actionName/JS combo");return doTypedefChange(N,ie,ce,ae);case q.name:E.Debug.assert(!ae.isJS&&!!ae.typeElements,"Invalid actionName/JS combo");return doInterfaceChange(N,ie,ce,ae);default:E.Debug.fail("Unexpected action name")}}));var _e=ie.fileName;var Te=E.getRenameLocation(le,_e,ce,false);return{edits:le,renameFilename:_e,renameLocation:Te}}});function getRangeToExtract(N,R){if(R===void 0){R=true}var j=N.file,$=N.startPosition;var q=E.isSourceFileJS(j);var G=E.getTokenAtPosition(j,$);var ie=E.createTextRangeFromSpan(E.getRefactorContextSpan(N));var ae=ie.pos===ie.end&&R;var ce=E.findAncestor(G,(function(N){return N.parent&&E.isTypeNode(N)&&!rangeContainsSkipTrivia(ie,N.parent,j)&&(ae||E.nodeOverlapsWithStartEnd(G,j,ie.pos,ie.end))}));if(!ce||!E.isTypeNode(ce))return{error:E.getLocaleSpecificMessage(E.Diagnostics.Selection_is_not_a_valid_type_node)};var le=N.program.getTypeChecker();var _e=E.Debug.checkDefined(E.findAncestor(ce,E.isStatement),"Should find a statement");var Te=collectTypeParameters(le,ce,_e,j);if(!Te)return{error:E.getLocaleSpecificMessage(E.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var Ee=flattenTypeLiteralNodeReference(le,ce);return{isJS:q,selection:ce,firstStatement:_e,typeParameters:Te,typeElements:Ee}}function flattenTypeLiteralNodeReference(N,R){if(!R)return undefined;if(E.isIntersectionTypeNode(R)){var j=[];var $=new E.Map;for(var q=0,G=R.types;qj.pos}));if(q===-1)return undefined;var G=$[q];if(E.isNamedDeclaration(G)&&G.name&&E.rangeContainsRange(G.name,j)){return{toMove:[$[q]],afterLast:$[q+1]}}if(j.pos>G.getStart(R))return undefined;var ie=E.findIndex($,(function(E){return E.end>j.end}),q);if(ie!==-1&&(ie===0||$[ie].getStart(R)=q&&E.every(N,(function(E){return isValidParameterDeclaration(E,R)}))}function isValidParameterDeclaration(N,R){if(E.isRestParameter(N)){var j=R.getTypeAtLocation(N);if(!R.isArrayType(j)&&!R.isTupleType(j))return false}return!N.modifiers&&!N.decorators&&E.isIdentifier(N.name)}function isValidVariableDeclaration(N){return E.isVariableDeclaration(N)&&E.isVarConst(N)&&E.isIdentifier(N.name)&&!N.type}function hasThisParameter(N){return N.length>0&&E.isThis(N[0].name)}function getRefactorableParametersLength(E){if(hasThisParameter(E)){return E.length-1}return E.length}function getRefactorableParameters(N){if(hasThisParameter(N)){N=E.factory.createNodeArray(N.slice(1),N.hasTrailingComma)}return N}function createPropertyOrShorthandAssignment(N,R){if(E.isIdentifier(R)&&E.getTextOfIdentifierOrLiteral(R)===N){return E.factory.createShorthandPropertyAssignment(N)}return E.factory.createPropertyAssignment(N,R)}function createNewArgument(N,R){var j=getRefactorableParameters(N.parameters);var $=E.isRestParameter(E.last(j));var q=$?R.slice(0,j.length-1):R;var G=E.map(q,(function(N,R){var $=getParameterName(j[R]);var q=createPropertyOrShorthandAssignment($,N);E.suppressLeadingAndTrailingTrivia(q.name);if(E.isPropertyAssignment(q))E.suppressLeadingAndTrailingTrivia(q.initializer);E.copyComments(N,q);return q}));if($&&R.length>=j.length){var ie=R.slice(j.length-1);var ae=E.factory.createPropertyAssignment(getParameterName(E.last(j)),E.factory.createArrayLiteralExpression(ie));G.push(ae)}var ce=E.factory.createObjectLiteralExpression(G,false);return ce}function createNewParameters(N,R,j){var $=R.getTypeChecker();var q=getRefactorableParameters(N.parameters);var G=E.map(q,createBindingElementFromParameterDeclaration);var ie=E.factory.createObjectBindingPattern(G);var ae=createParameterTypeNode(q);var ce;if(E.every(q,isOptionalParameter)){ce=E.factory.createObjectLiteralExpression()}var le=E.factory.createParameterDeclaration(undefined,undefined,undefined,ie,undefined,ae,ce);if(hasThisParameter(N.parameters)){var _e=N.parameters[0];var Te=E.factory.createParameterDeclaration(undefined,undefined,undefined,_e.name,undefined,_e.type);E.suppressLeadingAndTrailingTrivia(Te.name);E.copyComments(_e.name,Te.name);if(_e.type){E.suppressLeadingAndTrailingTrivia(Te.type);E.copyComments(_e.type,Te.type)}return E.factory.createNodeArray([Te,le])}return E.factory.createNodeArray([le]);function createBindingElementFromParameterDeclaration(N){var R=E.factory.createBindingElement(undefined,undefined,getParameterName(N),E.isRestParameter(N)&&isOptionalParameter(N)?E.factory.createArrayLiteralExpression():N.initializer);E.suppressLeadingAndTrailingTrivia(R);if(N.initializer&&R.initializer){E.copyComments(N.initializer,R.initializer)}return R}function createParameterTypeNode(N){var R=E.map(N,createPropertySignatureFromParameterDeclaration);var j=E.addEmitFlags(E.factory.createTypeLiteralNode(R),1);return j}function createPropertySignatureFromParameterDeclaration(N){var R=N.type;if(!R&&(N.initializer||E.isRestParameter(N))){R=getTypeNode(N)}var j=E.factory.createPropertySignature(undefined,getParameterName(N),isOptionalParameter(N)?E.factory.createToken(57):N.questionToken,R);E.suppressLeadingAndTrailingTrivia(j);E.copyComments(N.name,j.name);if(N.type&&j.type){E.copyComments(N.type,j.type)}return j}function getTypeNode(N){var q=$.getTypeAtLocation(N);return E.getTypeNodeIfAccessible(q,N,R,j)}function isOptionalParameter(N){if(E.isRestParameter(N)){var R=$.getTypeAtLocation(N);return!$.isTupleType(R)}return $.isOptionalParameter(N)}}function getParameterName(N){return E.getTextOfIdentifierOrLiteral(N.name)}function getClassNames(N){switch(N.parent.kind){case 256:var R=N.parent;if(R.name)return[R.name];var j=E.Debug.checkDefined(E.findModifier(R,88),"Nameless class declaration should be a default export");return[j];case 225:var $=N.parent;var q=N.parent.parent;var G=$.name;if(G)return[G,q.name];return[q.name]}}function getFunctionNames(N){switch(N.kind){case 255:if(N.name)return[N.name];var R=E.Debug.checkDefined(E.findModifier(N,88),"Nameless function declaration should be a default export");return[R];case 168:return[N.name];case 170:var j=E.Debug.checkDefined(E.findChildOfKind(N,134,N.getSourceFile()),"Constructor declaration should have constructor keyword");if(N.parent.kind===225){var $=N.parent.parent;return[$.name,j]}return[j];case 213:return[N.parent.name];case 212:if(N.name)return[N.name,N.parent.name];return[N.parent.name];default:return E.Debug.assertNever(N,"Unexpected function declaration kind ".concat(N.kind))}}})(R=N.convertParamsToDestructuredObject||(N.convertParamsToDestructuredObject={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert to template string";var q=E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_template_string);var G={name:j,description:q,kind:"refactor.rewrite.string"};N.registerRefactor(j,{kinds:[G.kind],getEditsForAction:getRefactorEditsToConvertToTemplateString,getAvailableActions:getRefactorActionsToConvertToTemplateString});function getRefactorActionsToConvertToTemplateString(N){var R=N.file,ie=N.startPosition;var ae=getNodeOrParentOfParentheses(R,ie);var ce=getParentBinaryExpression(ae);var le={name:j,description:q,actions:[]};if(E.isBinaryExpression(ce)&&treeToArray(ce).isValidConcatenation){le.actions.push(G);return[le]}else if(N.preferences.provideRefactorNotApplicableReason){le.actions.push($($({},G),{notApplicableReason:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_string_concatenation)}));return[le]}return E.emptyArray}function getNodeOrParentOfParentheses(N,R){var j=E.getTokenAtPosition(N,R);var $=getParentBinaryExpression(j);var q=!treeToArray($).isValidConcatenation;if(q&&E.isParenthesizedExpression($.parent)&&E.isBinaryExpression($.parent.parent)){return $.parent.parent}return j}function getRefactorEditsToConvertToTemplateString(N,R){var j=N.file,$=N.startPosition;var G=getNodeOrParentOfParentheses(j,$);switch(R){case q:return{edits:getEditsForToTemplateLiteral(N,G)};default:return E.Debug.fail("invalid action")}}function getEditsForToTemplateLiteral(N,R){var j=getParentBinaryExpression(R);var $=N.file;var q=nodesToTemplate(treeToArray(j),$);var G=E.getTrailingCommentRanges($.text,j.end);if(G){var ie=G[G.length-1];var ae={pos:G[0].pos,end:ie.end};return E.textChanges.ChangeTracker.with(N,(function(E){E.deleteRange($,ae);E.replaceNode($,j,q)}))}else{return E.textChanges.ChangeTracker.with(N,(function(E){return E.replaceNode($,j,q)}))}}function isNotEqualsOperator(E){return E.operatorToken.kind!==63}function getParentBinaryExpression(N){var R=E.findAncestor(N.parent,(function(N){switch(N.kind){case 205:case 206:return false;case 222:case 220:return!(E.isBinaryExpression(N.parent)&&isNotEqualsOperator(N.parent));default:return"quit"}}));return R||N}function treeToArray(N){var loop=function(N){if(!E.isBinaryExpression(N)){return{nodes:[N],operators:[],validOperators:true,hasString:E.isStringLiteral(N)||E.isNoSubstitutionTemplateLiteral(N)}}var R=loop(N.left),j=R.nodes,$=R.operators,q=R.hasString,G=R.validOperators;if(!(q||E.isStringLiteral(N.right)||E.isTemplateExpression(N.right))){return{nodes:[N],operators:[],hasString:false,validOperators:true}}var ie=N.operatorToken.kind===39;var ae=G&&ie;j.push(N.right);$.push(N.operatorToken);return{nodes:j,operators:$,hasString:true,validOperators:ae}};var R=loop(N),j=R.nodes,$=R.operators,q=R.validOperators,G=R.hasString;return{nodes:j,operators:$,isValidConcatenation:q&&G}}var copyTrailingOperatorComments=function(N,R){return function(j,$){if(j0){var G=$.shift();E.copyTrailingComments(N[G],q,R,3,false);j(G,q)}}};function escapeRawStringForTemplate(E){return E.replace(/\\.|[$`]/g,(function(E){return E[0]==="\\"?E:"\\"+E}))}function getRawTextOfTemplate(N){var R=E.isTemplateHead(N)||E.isTemplateMiddle(N)?-2:-1;return E.getTextOfNode(N).slice(1,R)}function concatConsecutiveString(N,R){var j=[];var $="",q="";while(N1){return N.getUnionType(E.mapDefined(j,(function(E){return E.getReturnType()})))}}var $=N.getSignatureFromDeclaration(R);if($){return N.getReturnTypeOfSignature($)}}})(R=N.inferFunctionReturnType||(N.inferFunctionReturnType={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){E.servicesVersion="0.8";function createNode(R,j,$,q){var G=E.isNodeKind(R)?new N(R,j,$):R===79?new ce(79,j,$):R===80?new le(80,j,$):new ie(R,j,$);G.parent=q;G.flags=q.flags&25358336;return G}var N=function(){function NodeObject(E,N,R){this.pos=N;this.end=R;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.kind=E}NodeObject.prototype.assertHasRealPosition=function(N){E.Debug.assert(!E.positionIsSynthesized(this.pos)&&!E.positionIsSynthesized(this.end),N||"Node must have a real position for this operation")};NodeObject.prototype.getSourceFile=function(){return E.getSourceFileOfNode(this)};NodeObject.prototype.getStart=function(N,R){this.assertHasRealPosition();return E.getTokenPosOfNode(this,N,R)};NodeObject.prototype.getFullStart=function(){this.assertHasRealPosition();return this.pos};NodeObject.prototype.getEnd=function(){this.assertHasRealPosition();return this.end};NodeObject.prototype.getWidth=function(E){this.assertHasRealPosition();return this.getEnd()-this.getStart(E)};NodeObject.prototype.getFullWidth=function(){this.assertHasRealPosition();return this.end-this.pos};NodeObject.prototype.getLeadingTriviaWidth=function(E){this.assertHasRealPosition();return this.getStart(E)-this.pos};NodeObject.prototype.getFullText=function(E){this.assertHasRealPosition();return(E||this.getSourceFile()).text.substring(this.pos,this.end)};NodeObject.prototype.getText=function(E){this.assertHasRealPosition();if(!E){E=this.getSourceFile()}return E.text.substring(this.getStart(E),this.getEnd())};NodeObject.prototype.getChildCount=function(E){return this.getChildren(E).length};NodeObject.prototype.getChildAt=function(E,N){return this.getChildren(N)[E]};NodeObject.prototype.getChildren=function(E){this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine");return this._children||(this._children=createChildren(this,E))};NodeObject.prototype.getFirstToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);if(!R.length){return undefined}var j=E.find(R,(function(E){return E.kind<307||E.kind>345}));return j.kind<160?j:j.getFirstToken(N)};NodeObject.prototype.getLastToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);var j=E.lastOrUndefined(R);if(!j){return undefined}return j.kind<160?j:j.getLastToken(N)};NodeObject.prototype.forEachChild=function(N,R){return E.forEachChild(this,N,R)};return NodeObject}();function createChildren(N,R){if(!E.isNodeKind(N.kind)){return E.emptyArray}var j=[];if(E.isJSDocCommentContainingNode(N)){N.forEachChild((function(E){j.push(E)}));return j}E.scanner.setText((R||N.getSourceFile()).text);var $=N.pos;var processNode=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(E);$=E.end};var processNodes=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(createSyntaxList(E,N));$=E.end};E.forEach(N.jsDoc,processNode);$=N.pos;N.forEachChild(processNode,processNodes);addSyntheticNodes(j,$,N.end,N);E.scanner.setText(undefined);return j}function addSyntheticNodes(N,R,j,$){E.scanner.setTextPos(R);while(R=R.length){j=this.getEnd()}if(!j){j=R[N+1]-1}var $=this.getFullText();return $[j]==="\n"&&$[j-1]==="\r"?j-1:j};SourceFileObject.prototype.getNamedDeclarations=function(){if(!this.namedDeclarations){this.namedDeclarations=this.computeNamedDeclarations()}return this.namedDeclarations};SourceFileObject.prototype.computeNamedDeclarations=function(){var N=E.createMultiMap();this.forEachChild(visit);return N;function addDeclaration(E){var R=getDeclarationName(E);if(R){N.add(R,E)}}function getDeclarations(E){var R=N.get(E);if(!R){N.set(E,R=[])}return R}function getDeclarationName(N){var R=E.getNonAssignedNameOfDeclaration(N);return R&&(E.isComputedPropertyName(R)&&E.isPropertyAccessExpression(R.expression)?R.expression.name.text:E.isPropertyName(R)?E.getNameFromPropertyName(R):undefined)}function visit(N){switch(N.kind){case 255:case 212:case 168:case 167:var R=N;var j=getDeclarationName(R);if(j){var $=getDeclarations(j);var q=E.lastOrUndefined($);if(q&&R.parent===q.parent&&R.symbol===q.symbol){if(R.body&&!q.body){$[$.length-1]=R}}else{$.push(R)}}E.forEachChild(N,visit);break;case 256:case 225:case 257:case 258:case 259:case 260:case 264:case 274:case 269:case 266:case 267:case 171:case 172:case 181:addDeclaration(N);E.forEachChild(N,visit);break;case 163:if(!E.hasSyntacticModifier(N,16476)){break}case 253:case 202:{var G=N;if(E.isBindingPattern(G.name)){E.forEachChild(G.name,visit);break}if(G.initializer){visit(G.initializer)}}case 297:case 166:case 165:addDeclaration(N);break;case 271:var ie=N;if(ie.exportClause){if(E.isNamedExports(ie.exportClause)){E.forEach(ie.exportClause.elements,visit)}else{visit(ie.exportClause.name)}}break;case 265:var ae=N.importClause;if(ae){if(ae.name){addDeclaration(ae.name)}if(ae.namedBindings){if(ae.namedBindings.kind===267){addDeclaration(ae.namedBindings)}else{E.forEach(ae.namedBindings.elements,visit)}}}break;case 220:if(E.getAssignmentDeclarationKind(N)!==0){addDeclaration(N)}default:E.forEachChild(N,visit)}}};return SourceFileObject}(N);var we=function(){function SourceMapSourceObject(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R}SourceMapSourceObject.prototype.getLineAndCharacterOfPosition=function(N){return E.getLineAndCharacterOfPosition(this,N)};return SourceMapSourceObject}();function getServicesObjectAllocator(){return{getNodeConstructor:function(){return N},getTokenConstructor:function(){return ie},getIdentifierConstructor:function(){return ce},getPrivateIdentifierConstructor:function(){return le},getSourceFileConstructor:function(){return Ee},getSymbolConstructor:function(){return G},getTypeConstructor:function(){return _e},getSignatureConstructor:function(){return Te},getSourceMapSourceConstructor:function(){return we}}}function toEditorSettings(N){var R=true;for(var j in N){if(E.hasProperty(N,j)&&!isCamelCase(j)){R=false;break}}if(R){return N}var $={};for(var j in N){if(E.hasProperty(N,j)){var q=isCamelCase(j)?j:j.charAt(0).toLowerCase()+j.substr(1);$[q]=N[j]}}return $}E.toEditorSettings=toEditorSettings;function isCamelCase(E){return!E.length||E.charAt(0)===E.charAt(0).toLowerCase()}function displayPartsToString(N){if(N){return E.map(N,(function(E){return E.text})).join("")}return""}E.displayPartsToString=displayPartsToString;function getDefaultCompilerOptions(){return{target:1,jsx:1}}E.getDefaultCompilerOptions=getDefaultCompilerOptions;function getSupportedCodeFixes(){return E.codefix.getSupportedErrorCodes()}E.getSupportedCodeFixes=getSupportedCodeFixes;var Ie=function(){function HostCache(N,R){this.host=N;this.currentDirectory=N.getCurrentDirectory();this.fileNameToEntry=new E.Map;var j=N.getScriptFileNames();for(var $=0,q=j;$=this.throttleWaitMilliseconds){this.lastCancellationCheckTime=N;return this.hostCancellationToken.isCancellationRequested()}return false};ThrottledCancellationToken.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested()){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"});throw new E.OperationCanceledException}};return ThrottledCancellationToken}();E.ThrottledCancellationToken=Be;var je=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"];var Ue=j(j([],je,true),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],false);function createLanguageService(N,R,q){var G;var ie;if(R===void 0){R=E.createDocumentRegistry(N.useCaseSensitiveFileNames&&N.useCaseSensitiveFileNames(),N.getCurrentDirectory())}var ae;if(q===undefined){ae=E.LanguageServiceMode.Semantic}else if(typeof q==="boolean"){ae=q?E.LanguageServiceMode.Syntactic:E.LanguageServiceMode.Semantic}else{ae=q}var ce=new Ne(N);var le;var _e;var Te=0;var Ee=N.getCancellationToken?new Le(N.getCancellationToken()):Me;var we=N.getCurrentDirectory();E.maybeSetLocalizedDiagnosticMessages((ie=N.getLocalizedDiagnosticMessages)===null||ie===void 0?void 0:ie.bind(N));function log(E){if(N.log){N.log(E)}}var Be=E.hostUsesCaseSensitiveFileNames(N);var ze=E.createGetCanonicalFileName(Be);var We=E.getSourceMapper({useCaseSensitiveFileNames:function(){return Be},getCurrentDirectory:function(){return we},getProgram:getProgram,fileExists:E.maybeBind(N,N.fileExists),readFile:E.maybeBind(N,N.readFile),getDocumentPositionMapper:E.maybeBind(N,N.getDocumentPositionMapper),getSourceFileLike:E.maybeBind(N,N.getSourceFileLike),log:log});function getValidSourceFile(E){var N=le.getSourceFile(E);if(!N){var R=new Error("Could not find source file: '".concat(E,"'."));R.ProgramFiles=le.getSourceFiles().map((function(E){return E.fileName}));throw R}return N}function synchronizeHostData(){var j,$,q;E.Debug.assert(ae!==E.LanguageServiceMode.Syntactic);if(N.getProjectVersion){var G=N.getProjectVersion();if(G){if(_e===G&&!((j=N.hasChangedAutomaticTypeDirectiveNames)===null||j===void 0?void 0:j.call(N))){return}_e=G}}var ie=N.getTypeRootsVersion?N.getTypeRootsVersion():0;if(Te!==ie){log("TypeRoots version has changed; provide new program");le=undefined;Te=ie}var ce=new Ie(N,ze);var Ne=ce.getRootFileNames();var Me=N.getCompilationSettings()||getDefaultCompilerOptions();var Le=N.hasInvalidatedResolution||E.returnFalse;var je=E.maybeBind(N,N.hasChangedAutomaticTypeDirectiveNames);var Ue=($=N.getProjectReferences)===null||$===void 0?void 0:$.call(N);var Je;var Ve={useCaseSensitiveFileNames:Be,fileExists:fileExists,readFile:readFile,readDirectory:readDirectory,trace:E.maybeBind(N,N.trace),getCurrentDirectory:function(){return we},onUnRecoverableConfigFileDiagnostic:E.noop};if(E.isProgramUptoDate(le,Ne,Me,(function(E,R){return N.getScriptVersion(R)}),fileExists,Le,je,getParsedCommandLine,Ue)){return}var qe={getSourceFile:getOrCreateSourceFile,getSourceFileByPath:getOrCreateSourceFileByPath,getCancellationToken:function(){return Ee},getCanonicalFileName:ze,useCaseSensitiveFileNames:function(){return Be},getNewLine:function(){return E.getNewLineCharacter(Me,(function(){return E.getNewLineOrDefaultFromHost(N)}))},getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:E.noop,getCurrentDirectory:function(){return we},fileExists:fileExists,readFile:readFile,getSymlinkCache:E.maybeBind(N,N.getSymlinkCache),realpath:E.maybeBind(N,N.realpath),directoryExists:function(R){return E.directoryProbablyExists(R,N)},getDirectories:function(E){return N.getDirectories?N.getDirectories(E):[]},readDirectory:readDirectory,onReleaseOldSourceFile:onReleaseOldSourceFile,onReleaseParsedCommandLine:onReleaseParsedCommandLine,hasInvalidatedResolution:Le,hasChangedAutomaticTypeDirectiveNames:je,trace:Ve.trace,resolveModuleNames:E.maybeBind(N,N.resolveModuleNames),getModuleResolutionCache:E.maybeBind(N,N.getModuleResolutionCache),resolveTypeReferenceDirectives:E.maybeBind(N,N.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:E.maybeBind(N,N.useSourceOfProjectReferenceRedirect),getParsedCommandLine:getParsedCommandLine};(q=N.setCompilerHost)===null||q===void 0?void 0:q.call(N,qe);var He=R.getKeyForCompilationSettings(Me);var Ge={rootNames:Ne,options:Me,host:qe,oldProgram:le,projectReferences:Ue};le=E.createProgram(Ge);ce=undefined;Je=undefined;We.clearCache();le.getTypeChecker();return;function getParsedCommandLine(R){var j=E.toPath(R,we,ze);var $=Je===null||Je===void 0?void 0:Je.get(j);if($!==undefined)return $||undefined;var q=N.getParsedCommandLine?N.getParsedCommandLine(R):getParsedCommandLineOfConfigFileUsingSourceFile(R);(Je||(Je=new E.Map)).set(j,q||false);return q}function getParsedCommandLineOfConfigFileUsingSourceFile(N){var R=getOrCreateSourceFile(N,100);if(!R)return undefined;R.path=E.toPath(N,we,ze);R.resolvedPath=R.path;R.originalFileName=R.fileName;return E.parseJsonSourceFileConfigFileContent(R,Ve,E.getNormalizedAbsolutePath(E.getDirectoryPath(N),we),undefined,E.getNormalizedAbsolutePath(N,we))}function onReleaseParsedCommandLine(E,R,j){var $;if(N.getParsedCommandLine){($=N.onReleaseParsedCommandLine)===null||$===void 0?void 0:$.call(N,E,R,j)}else if(R){onReleaseOldSourceFile(R.sourceFile,j)}}function fileExists(R){var j=E.toPath(R,we,ze);var $=ce&&ce.getEntryByPath(j);return $?!E.isString($):!!N.fileExists&&N.fileExists(R)}function readFile(R){var j=E.toPath(R,we,ze);var $=ce&&ce.getEntryByPath(j);if($){return E.isString($)?undefined:E.getSnapshotText($.scriptSnapshot)}return N.readFile&&N.readFile(R)}function readDirectory(R,j,$,q,G){E.Debug.checkDefined(N.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'");return N.readDirectory(R,j,$,q,G)}function onReleaseOldSourceFile(E,N){var j=R.getKeyForCompilationSettings(N);R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}function getOrCreateSourceFile(N,R,j,$){return getOrCreateSourceFileByPath(N,E.toPath(N,we,ze),R,j,$)}function getOrCreateSourceFileByPath(N,j,$,q,G){E.Debug.assert(ce!==undefined,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var ie=ce&&ce.getOrCreateEntryByPath(N,j);if(!ie){return undefined}if(!G){var ae=le&&le.getSourceFileByPath(j);if(ae){if(ie.scriptKind===ae.scriptKind){return R.updateDocumentWithKey(N,j,Me,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}else{R.releaseDocumentWithKey(ae.resolvedPath,R.getKeyForCompilationSettings(le.getCompilerOptions()),ae.scriptKind)}}}return R.acquireDocumentWithKey(N,j,Me,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}}function getProgram(){if(ae===E.LanguageServiceMode.Syntactic){E.Debug.assert(le===undefined);return undefined}synchronizeHostData();return le}function getAutoImportProvider(){var E;return(E=N.getPackageJsonAutoImportProvider)===null||E===void 0?void 0:E.call(N)}function cleanupSemanticCache(){le=undefined}function dispose(){if(le){var j=R.getKeyForCompilationSettings(le.getCompilerOptions());E.forEach(le.getSourceFiles(),(function(E){return R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}));le=undefined}N=undefined}function getSyntacticDiagnostics(E){synchronizeHostData();return le.getSyntacticDiagnostics(getValidSourceFile(E),Ee).slice()}function getSemanticDiagnostics(N){synchronizeHostData();var R=getValidSourceFile(N);var $=le.getSemanticDiagnostics(R,Ee);if(!E.getEmitDeclarations(le.getCompilerOptions())){return $.slice()}var q=le.getDeclarationDiagnostics(R,Ee);return j(j([],$,true),q,true)}function getSuggestionDiagnostics(N){synchronizeHostData();return E.computeSuggestionDiagnostics(getValidSourceFile(N),le,Ee)}function getCompilerOptionsDiagnostics(){synchronizeHostData();return j(j([],le.getOptionsDiagnostics(Ee),true),le.getGlobalDiagnostics(Ee),true)}function getCompletionsAtPosition(R,j,q,G){if(q===void 0){q=E.emptyOptions}var ie=$($({},E.identity(q)),{includeCompletionsForModuleExports:q.includeCompletionsForModuleExports||q.includeExternalModuleExports,includeCompletionsWithInsertText:q.includeCompletionsWithInsertText||q.includeInsertTextCompletions});synchronizeHostData();return E.Completions.getCompletionsAtPosition(N,le,log,getValidSourceFile(R),j,ie,q.triggerCharacter,q.triggerKind,Ee,G&&E.formatting.getFormatContext(G,N))}function getCompletionEntryDetails(R,j,$,q,G,ie,ae){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntryDetails(le,log,getValidSourceFile(R),j,{name:$,source:G,data:ae},N,q&&E.formatting.getFormatContext(q,N),ie,Ee)}function getCompletionEntrySymbol(R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntrySymbol(le,log,getValidSourceFile(R),j,{name:$,source:q},N,G)}function getQuickInfoAtPosition(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.getTouchingPropertyName(j,R);if($===j){return undefined}var q=le.getTypeChecker();var G=getNodeForQuickInfo($);var ie=getSymbolAtLocationForQuickInfo(G,q);if(!ie||q.isUnknownSymbol(ie)){var ae=shouldGetType(j,G,R)?q.getTypeAtLocation(G):undefined;return ae&&{kind:"",kindModifiers:"",textSpan:E.createTextSpanFromNode(G,j),displayParts:q.runWithCancellationToken(Ee,(function(N){return E.typeToDisplayParts(N,ae,E.getContainerNode(G))})),documentation:ae.symbol?ae.symbol.getDocumentationComment(q):undefined,tags:ae.symbol?ae.symbol.getJsDocTags(q):undefined}}var ce=q.runWithCancellationToken(Ee,(function(N){return E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(N,ie,j,E.getContainerNode(G),G)})),_e=ce.symbolKind,Te=ce.displayParts,we=ce.documentation,Ie=ce.tags;return{kind:_e,kindModifiers:E.SymbolDisplay.getSymbolModifiers(q,ie),textSpan:E.createTextSpanFromNode(G,j),displayParts:Te,documentation:we,tags:Ie}}function getNodeForQuickInfo(N){if(E.isNewExpression(N.parent)&&N.pos===N.parent.pos){return N.parent.expression}if(E.isNamedTupleMember(N.parent)&&N.pos===N.parent.pos){return N.parent}return N}function shouldGetType(N,R,j){switch(R.kind){case 79:return!E.isLabelName(R)&&!E.isTagName(R)&&!E.isConstTypeReference(R.parent);case 205:case 160:return!E.isInComment(N,j);case 108:case 191:case 106:case 196:return true;default:return false}}function getDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAtPosition(le,getValidSourceFile(N),R)}function getDefinitionAndBoundSpan(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAndBoundSpan(le,getValidSourceFile(N),R)}function getTypeDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getTypeDefinitionAtPosition(le.getTypeChecker(),getValidSourceFile(N),R)}function getImplementationAtPosition(N,R){synchronizeHostData();return E.FindAllReferences.getImplementationsAtPosition(le,Ee,le.getSourceFiles(),getValidSourceFile(N),R)}function getOccurrencesAtPosition(N,R){return E.flatMap(getDocumentHighlights(N,R,[N]),(function(E){return E.highlightSpans.map((function(N){return $($({fileName:E.fileName,textSpan:N.textSpan,isWriteAccess:N.kind==="writtenReference",isDefinition:false},N.isInString&&{isInString:true}),N.contextSpan&&{contextSpan:N.contextSpan})}))}))}function getDocumentHighlights(N,R,j){var $=E.normalizePath(N);E.Debug.assert(j.some((function(N){return E.normalizePath(N)===$})));synchronizeHostData();var q=E.mapDefined(j,(function(E){return le.getSourceFile(E)}));var G=getValidSourceFile(N);return E.DocumentHighlights.getDocumentHighlights(le,Ee,G,R,q)}function findRenameLocations(N,R,j,q,G){synchronizeHostData();var ie=getValidSourceFile(N);var ae=E.getAdjustedRenameLocation(E.getTouchingPropertyName(ie,R));if(!E.Rename.nodeIsEligibleForRename(ae))return undefined;if(E.isIdentifier(ae)&&(E.isJsxOpeningElement(ae.parent)||E.isJsxClosingElement(ae.parent))&&E.isIntrinsicJsxName(ae.escapedText)){var ce=ae.parent.parent,le=ce.openingElement,_e=ce.closingElement;return[le,_e].map((function(N){var R=E.createTextSpanFromNode(N.tagName,ie);return $({fileName:ie.fileName,textSpan:R},E.FindAllReferences.toContextSpan(R,ie,N.parent))}))}else{return getReferencesWorker(ae,R,{findInStrings:j,findInComments:q,providePrefixAndSuffixTextForRename:G,use:2},(function(N,R,j){return E.FindAllReferences.toRenameLocation(N,R,j,G||false)}))}}function getReferencesAtPosition(N,R){synchronizeHostData();return getReferencesWorker(E.getTouchingPropertyName(getValidSourceFile(N),R),R,{use:1},(function(N,R,j){return E.FindAllReferences.toReferenceEntry(N,j.getSymbolAtLocation(R))}))}function getReferencesWorker(N,R,j,$){synchronizeHostData();var q=j&&j.use===2?le.getSourceFiles().filter((function(E){return!le.isSourceFileDefaultLibrary(E)})):le.getSourceFiles();return E.FindAllReferences.findReferenceOrRenameEntries(le,Ee,q,N,R,j,$)}function findReferences(N,R){synchronizeHostData();return E.FindAllReferences.findReferencedSymbols(le,Ee,le.getSourceFiles(),getValidSourceFile(N),R)}function getFileReferences(N){var R;synchronizeHostData();var j=(R=le.getSourceFile(N))===null||R===void 0?void 0:R.symbol;return E.FindAllReferences.Core.getReferencesForFileName(N,le,le.getSourceFiles()).map((function(N){return E.FindAllReferences.toReferenceEntry(N,j)}))}function getNavigateToItems(N,R,j,$){if($===void 0){$=false}synchronizeHostData();var q=j?[getValidSourceFile(j)]:le.getSourceFiles();return E.NavigateTo.getNavigateToItems(q,le.getTypeChecker(),Ee,N,R,$)}function getEmitOutput(R,j,$){synchronizeHostData();var q=getValidSourceFile(R);var G=N.getCustomTransformers&&N.getCustomTransformers();return E.getFileEmitOutput(le,q,!!j,Ee,G,$)}function getSignatureHelpItems(N,R,j){var $=j===void 0?E.emptyOptions:j,q=$.triggerReason;synchronizeHostData();var G=getValidSourceFile(N);return E.SignatureHelp.getSignatureHelpItems(le,G,R,q,Ee)}function getNonBoundSourceFile(E){return ce.getCurrentSourceFile(E)}function getNameOrDottedNameSpan(N,R,j){var $=ce.getCurrentSourceFile(N);var q=E.getTouchingPropertyName($,R);if(q===$){return undefined}switch(q.kind){case 205:case 160:case 10:case 95:case 110:case 104:case 106:case 108:case 191:case 79:break;default:return undefined}var G=q;while(true){if(E.isRightSideOfPropertyAccess(G)||E.isRightSideOfQualifiedName(G)){G=G.parent}else if(E.isNameOfModuleDeclaration(G)){if(G.parent.parent.kind===260&&G.parent.parent.body===G.parent){G=G.parent.parent.name}else{break}}else{break}}return E.createTextSpanFromBounds(G.getStart(),q.getEnd())}function getBreakpointStatementAtPosition(N,R){var j=ce.getCurrentSourceFile(N);return E.BreakpointResolver.spanInSourceFileAtLocation(j,R)}function getNavigationBarItems(N){return E.NavigationBar.getNavigationBarItems(ce.getCurrentSourceFile(N),Ee)}function getNavigationTree(N){return E.NavigationBar.getNavigationTree(ce.getCurrentSourceFile(N),Ee)}function getSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="2020"){return E.classifier.v2020.getSemanticClassifications(le,Ee,getValidSourceFile(N),R)}else{return E.getSemanticClassifications(le.getTypeChecker(),Ee,getValidSourceFile(N),le.getClassifiableNames(),R)}}function getEncodedSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="original"){return E.getEncodedSemanticClassifications(le.getTypeChecker(),Ee,getValidSourceFile(N),le.getClassifiableNames(),R)}else{return E.classifier.v2020.getEncodedSemanticClassifications(le,Ee,getValidSourceFile(N),R)}}function getSyntacticClassifications(N,R){return E.getSyntacticClassifications(Ee,ce.getCurrentSourceFile(N),R)}function getEncodedSyntacticClassifications(N,R){return E.getEncodedSyntacticClassifications(Ee,ce.getCurrentSourceFile(N),R)}function getOutliningSpans(N){var R=ce.getCurrentSourceFile(N);return E.OutliningElementsCollector.collectElements(R,Ee)}var Je=new E.Map(E.getEntries((G={},G[18]=19,G[20]=21,G[22]=23,G[31]=29,G)));Je.forEach((function(E,N){return Je.set(E.toString(),Number(N))}));function getBraceMatchingAtPosition(N,R){var j=ce.getCurrentSourceFile(N);var $=E.getTouchingToken(j,R);var q=$.getStart(j)===R?Je.get($.kind.toString()):undefined;var G=q&&E.findChildOfKind($.parent,q,j);return G?[E.createTextSpanFromNode($,j),E.createTextSpanFromNode(G,j)].sort((function(E,N){return E.start-N.start})):E.emptyArray}function getIndentationAtPosition(N,R,j){var $=E.timestamp();var q=toEditorSettings(j);var G=ce.getCurrentSourceFile(N);log("getIndentationAtPosition: getCurrentSourceFile: "+(E.timestamp()-$));$=E.timestamp();var ie=E.formatting.SmartIndenter.getIndentation(R,G,q);log("getIndentationAtPosition: computeIndentation : "+(E.timestamp()-$));return ie}function getFormattingEditsForRange(R,j,$,q){var G=ce.getCurrentSourceFile(R);return E.formatting.formatSelection(j,$,G,E.formatting.getFormatContext(toEditorSettings(q),N))}function getFormattingEditsForDocument(R,j){return E.formatting.formatDocument(ce.getCurrentSourceFile(R),E.formatting.getFormatContext(toEditorSettings(j),N))}function getFormattingEditsAfterKeystroke(R,j,$,q){var G=ce.getCurrentSourceFile(R);var ie=E.formatting.getFormatContext(toEditorSettings(q),N);if(!E.isInComment(G,j)){switch($){case"{":return E.formatting.formatOnOpeningCurly(j,G,ie);case"}":return E.formatting.formatOnClosingCurly(j,G,ie);case";":return E.formatting.formatOnSemicolon(j,G,ie);case"\n":return E.formatting.formatOnEnter(j,G,ie)}}return[]}function getCodeFixesAtPosition(R,j,$,q,G,ie){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();var ae=getValidSourceFile(R);var ce=E.createTextSpanFromBounds(j,$);var _e=E.formatting.getFormatContext(G,N);return E.flatMap(E.deduplicate(q,E.equateValues,E.compareValues),(function(R){Ee.throwIfCancellationRequested();return E.codefix.getFixes({errorCode:R,sourceFile:ae,span:ce,program:le,host:N,cancellationToken:Ee,formatContext:_e,preferences:ie})}))}function getCombinedCodeFix(R,j,$,q){if(q===void 0){q=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var G=getValidSourceFile(R.fileName);var ie=E.formatting.getFormatContext($,N);return E.codefix.getAllFixes({fixId:j,sourceFile:G,program:le,host:N,cancellationToken:Ee,formatContext:ie,preferences:q})}function organizeImports(R,j,$){if($===void 0){$=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var q=getValidSourceFile(R.fileName);var G=E.formatting.getFormatContext(j,N);return E.OrganizeImports.organizeImports(q,G,N,le,$,R.skipDestructiveCodeActions)}function getEditsForFileRename(R,j,$,q){if(q===void 0){q=E.emptyOptions}return E.getEditsForFileRename(getProgram(),R,j,N,E.formatting.getFormatContext($,N),q,We)}function applyCodeActionCommand(N,R){var j=typeof N==="string"?R:N;return E.isArray(j)?Promise.all(j.map((function(E){return applySingleCodeActionCommand(E)}))):applySingleCodeActionCommand(j)}function applySingleCodeActionCommand(R){var getPath=function(N){return E.toPath(N,we,ze)};E.Debug.assertEqual(R.type,"install package");return N.installPackage?N.installPackage({fileName:getPath(R.file),packageName:R.packageName}):Promise.reject("Host does not implement `installPackage`")}function getDocCommentTemplateAtPosition(R,j,$){return E.JsDoc.getDocCommentTemplateAtPosition(E.getNewLineOrDefaultFromHost(N),ce.getCurrentSourceFile(R),j,$)}function isValidBraceCompletionAtPosition(N,R,j){if(j===60){return false}var $=ce.getCurrentSourceFile(N);if(E.isInString($,R)){return false}if(E.isInsideJsxElementOrAttribute($,R)){return j===123}if(E.isInTemplateString($,R)){return false}switch(j){case 39:case 34:case 96:return!E.isInComment($,R)}return true}function getJsxClosingTagAtPosition(N,R){var j=ce.getCurrentSourceFile(N);var $=E.findPrecedingToken(R,j);if(!$)return undefined;var q=$.kind===31&&E.isJsxOpeningElement($.parent)?$.parent.parent:E.isJsxText($)&&E.isJsxElement($.parent)?$.parent:undefined;if(q&&isUnclosedTag(q)){return{newText:"")}}var G=$.kind===31&&E.isJsxOpeningFragment($.parent)?$.parent.parent:E.isJsxText($)&&E.isJsxFragment($.parent)?$.parent:undefined;if(G&&isUnclosedFragment(G)){return{newText:""}}}function getLinesForRange(E,N){return{lineStarts:E.getLineStarts(),firstLine:E.getLineAndCharacterOfPosition(N.pos).line,lastLine:E.getLineAndCharacterOfPosition(N.end).line}}function toggleLineComment(N,R,j){var $=ce.getCurrentSourceFile(N);var q=[];var G=getLinesForRange($,R),ie=G.lineStarts,ae=G.firstLine,le=G.lastLine;var _e=j||false;var Te=Number.MAX_VALUE;var Ee=new E.Map;var we=new RegExp(/\S/);var Ie=E.isInsideJsxElement($,ie[ae]);var Ne=Ie?"{/*":"//";for(var Me=ae;Me<=le;Me++){var Le=$.text.substring(ie[Me],$.getLineEndOfPosition(ie[Me]));var Be=we.exec(Le);if(Be){Te=Math.min(Te,Be.index);Ee.set(Me.toString(),Be.index);if(Le.substr(Be.index,Ne.length)!==Ne){_e=j===undefined||j}}}for(var Me=ae;Me<=le;Me++){if(ae!==le&&ie[Me]===R.end){continue}var je=Ee.get(Me.toString());if(je!==undefined){if(Ie){q.push.apply(q,toggleMultilineComment(N,{pos:ie[Me]+Te,end:$.getLineEndOfPosition(ie[Me])},_e,Ie))}else if(_e){q.push({newText:Ne,span:{length:0,start:ie[Me]+Te}})}else if($.text.substr(ie[Me]+je,Ne.length)===Ne){q.push({newText:"",span:{length:Ne.length,start:ie[Me]+je}})}}}return q}function toggleMultilineComment(N,R,j,$){var q;var G=ce.getCurrentSourceFile(N);var ie=[];var ae=G.text;var le=false;var _e=j||false;var Te=[];var Ee=R.pos;var we=$!==undefined?$:E.isInsideJsxElement(G,Ee);var Ie=we?"{/*":"/*";var Ne=we?"*/}":"*/";var Me=we?"\\{\\/\\*":"\\/\\*";var Le=we?"\\*\\/\\}":"\\*\\/";while(Ee<=R.end){var Be=ae.substr(Ee,Ie.length)===Ie?Ie.length:0;var je=E.isInComment(G,Ee+Be);if(je){if(we){je.pos--;je.end++}Te.push(je.pos);if(je.kind===3){Te.push(je.end)}le=true;Ee=je.end+1}else{var Ue=ae.substring(Ee,R.end).search("(".concat(Me,")|(").concat(Le,")"));_e=j!==undefined?j:_e||!E.isTextWhiteSpaceLike(ae,Ee,Ue===-1?R.end:Ee+Ue);Ee=Ue===-1?R.end+1:Ee+Ue+Ne.length}}if(_e||!le){if(((q=E.isInComment(G,R.pos))===null||q===void 0?void 0:q.kind)!==2){E.insertSorted(Te,R.pos,E.compareValues)}E.insertSorted(Te,R.end,E.compareValues);var ze=Te[0];if(ae.substr(ze,Ie.length)!==Ie){ie.push({newText:Ie,span:{length:0,start:ze}})}for(var We=1;We0?qe-Ne.length:0;var Be=ae.substr(He,Ne.length)===Ne?Ne.length:0;ie.push({newText:"",span:{length:Ie.length,start:qe-Be}})}}return ie}function commentSelection(E,N){var R=ce.getCurrentSourceFile(E);var j=getLinesForRange(R,N),$=j.firstLine,q=j.lastLine;return $===q&&N.pos!==N.end?toggleMultilineComment(E,N,true):toggleLineComment(E,N,true)}function uncommentSelection(N,R){var j=ce.getCurrentSourceFile(N);var $=[];var q=R.pos;var G=R.end;if(q===G){G+=E.isInsideJsxElement(j,q)?2:1}for(var ie=q;ie<=G;ie++){var ae=E.isInComment(j,ie);if(ae){switch(ae.kind){case 2:$.push.apply($,toggleLineComment(N,{end:ae.end,pos:ae.pos+1},false));break;case 3:$.push.apply($,toggleMultilineComment(N,{end:ae.end,pos:ae.pos+1},false))}ie=ae.end+1}}return $}function isUnclosedTag(N){var R=N.openingElement,j=N.closingElement,$=N.parent;return!E.tagNamesAreEquivalent(R.tagName,j.tagName)||E.isJsxElement($)&&E.tagNamesAreEquivalent(R.tagName,$.openingElement.tagName)&&isUnclosedTag($)}function isUnclosedFragment(N){var R=N.closingFragment,j=N.parent;return!!(R.flags&65536)||E.isJsxFragment(j)&&isUnclosedFragment(j)}function getSpanOfEnclosingComment(N,R,j){var $=ce.getCurrentSourceFile(N);var q=E.formatting.getRangeOfEnclosingComment($,R);return q&&(!j||q.kind===3)?E.createTextSpanFromRange(q):undefined}function getTodoComments(N,R){synchronizeHostData();var j=getValidSourceFile(N);Ee.throwIfCancellationRequested();var $=j.text;var q=[];if(R.length>0&&!isNodeModulesFile(j.fileName)){var G=getTodoCommentsRegExp();var ie=void 0;while(ie=G.exec($)){Ee.throwIfCancellationRequested();var ae=3;E.Debug.assert(ie.length===R.length+ae);var ce=ie[1];var le=ie.index+ce.length;if(!E.isInComment(j,le)){continue}var _e=void 0;for(var Te=0;Te=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57}function isNodeModulesFile(N){return E.stringContains(N,"/node_modules/")}}function getRenameInfo(N,R,j){synchronizeHostData();return E.Rename.getRenameInfo(le,getValidSourceFile(N),R,j)}function getRefactorContext(R,j,$,q,G,ie){var ae=typeof j==="number"?[j,undefined]:[j.pos,j.end],ce=ae[0],le=ae[1];return{file:R,startPosition:ce,endPosition:le,program:getProgram(),host:N,formatContext:E.formatting.getFormatContext(q,N),cancellationToken:Ee,preferences:$,triggerReason:G,kind:ie}}function getInlayHintsContext(E,R,j){return{file:E,program:getProgram(),host:N,span:R,preferences:j,cancellationToken:Ee}}function getSmartSelectionRange(N,R){return E.SmartSelectionRange.getSmartSelectionRange(R,ce.getCurrentSourceFile(N))}function getApplicableRefactors(N,R,j,$,q){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var G=getValidSourceFile(N);return E.refactor.getApplicableRefactors(getRefactorContext(G,R,j,E.emptyOptions,$,q))}function getEditsForRefactor(N,R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();var ie=getValidSourceFile(N);return E.refactor.getEditsForRefactor(getRefactorContext(ie,j,G,R),$,q)}function toLineColumnOffset(E,N){if(N===0){return{line:0,character:0}}return We.toLineColumnOffset(E,N)}function prepareCallHierarchy(N,R){synchronizeHostData();var j=E.CallHierarchy.resolveCallHierarchyDeclaration(le,E.getTouchingPropertyName(getValidSourceFile(N),R));return j&&E.mapOneOrMany(j,(function(N){return E.CallHierarchy.createCallHierarchyItem(le,N)}))}function provideCallHierarchyIncomingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(le,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getIncomingCalls(le,$,Ee):[]}function provideCallHierarchyOutgoingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(le,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getOutgoingCalls(le,$):[]}function provideInlayHints(N,R,j){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var $=getValidSourceFile(N);return E.InlayHints.provideInlayHints(getInlayHintsContext($,R,j))}var Ve={dispose:dispose,cleanupSemanticCache:cleanupSemanticCache,getSyntacticDiagnostics:getSyntacticDiagnostics,getSemanticDiagnostics:getSemanticDiagnostics,getSuggestionDiagnostics:getSuggestionDiagnostics,getCompilerOptionsDiagnostics:getCompilerOptionsDiagnostics,getSyntacticClassifications:getSyntacticClassifications,getSemanticClassifications:getSemanticClassifications,getEncodedSyntacticClassifications:getEncodedSyntacticClassifications,getEncodedSemanticClassifications:getEncodedSemanticClassifications,getCompletionsAtPosition:getCompletionsAtPosition,getCompletionEntryDetails:getCompletionEntryDetails,getCompletionEntrySymbol:getCompletionEntrySymbol,getSignatureHelpItems:getSignatureHelpItems,getQuickInfoAtPosition:getQuickInfoAtPosition,getDefinitionAtPosition:getDefinitionAtPosition,getDefinitionAndBoundSpan:getDefinitionAndBoundSpan,getImplementationAtPosition:getImplementationAtPosition,getTypeDefinitionAtPosition:getTypeDefinitionAtPosition,getReferencesAtPosition:getReferencesAtPosition,findReferences:findReferences,getFileReferences:getFileReferences,getOccurrencesAtPosition:getOccurrencesAtPosition,getDocumentHighlights:getDocumentHighlights,getNameOrDottedNameSpan:getNameOrDottedNameSpan,getBreakpointStatementAtPosition:getBreakpointStatementAtPosition,getNavigateToItems:getNavigateToItems,getRenameInfo:getRenameInfo,getSmartSelectionRange:getSmartSelectionRange,findRenameLocations:findRenameLocations,getNavigationBarItems:getNavigationBarItems,getNavigationTree:getNavigationTree,getOutliningSpans:getOutliningSpans,getTodoComments:getTodoComments,getBraceMatchingAtPosition:getBraceMatchingAtPosition,getIndentationAtPosition:getIndentationAtPosition,getFormattingEditsForRange:getFormattingEditsForRange,getFormattingEditsForDocument:getFormattingEditsForDocument,getFormattingEditsAfterKeystroke:getFormattingEditsAfterKeystroke,getDocCommentTemplateAtPosition:getDocCommentTemplateAtPosition,isValidBraceCompletionAtPosition:isValidBraceCompletionAtPosition,getJsxClosingTagAtPosition:getJsxClosingTagAtPosition,getSpanOfEnclosingComment:getSpanOfEnclosingComment,getCodeFixesAtPosition:getCodeFixesAtPosition,getCombinedCodeFix:getCombinedCodeFix,applyCodeActionCommand:applyCodeActionCommand,organizeImports:organizeImports,getEditsForFileRename:getEditsForFileRename,getEmitOutput:getEmitOutput,getNonBoundSourceFile:getNonBoundSourceFile,getProgram:getProgram,getAutoImportProvider:getAutoImportProvider,getApplicableRefactors:getApplicableRefactors,getEditsForRefactor:getEditsForRefactor,toLineColumnOffset:toLineColumnOffset,getSourceMapper:function(){return We},clearSourceMapperCache:function(){return We.clearCache()},prepareCallHierarchy:prepareCallHierarchy,provideCallHierarchyIncomingCalls:provideCallHierarchyIncomingCalls,provideCallHierarchyOutgoingCalls:provideCallHierarchyOutgoingCalls,toggleLineComment:toggleLineComment,toggleMultilineComment:toggleMultilineComment,commentSelection:commentSelection,uncommentSelection:uncommentSelection,provideInlayHints:provideInlayHints};switch(ae){case E.LanguageServiceMode.Semantic:break;case E.LanguageServiceMode.PartialSemantic:je.forEach((function(E){return Ve[E]=function(){throw new Error("LanguageService Operation: ".concat(E," not allowed in LanguageServiceMode.PartialSemantic"))}}));break;case E.LanguageServiceMode.Syntactic:Ue.forEach((function(E){return Ve[E]=function(){throw new Error("LanguageService Operation: ".concat(E," not allowed in LanguageServiceMode.Syntactic"))}}));break;default:E.Debug.assertNever(ae)}return Ve}E.createLanguageService=createLanguageService;function getNameTable(E){if(!E.nameTable){initializeNameTable(E)}return E.nameTable}E.getNameTable=getNameTable;function initializeNameTable(N){var R=N.nameTable=new E.Map;N.forEachChild((function walk(N){if(E.isIdentifier(N)&&!E.isTagName(N)&&N.escapedText||E.isStringOrNumericLiteralLike(N)&&literalIsName(N)){var j=E.getEscapedTextOfIdentifierOrLiteral(N);R.set(j,R.get(j)===undefined?N.pos:-1)}else if(E.isPrivateIdentifier(N)){var j=N.escapedText;R.set(j,R.get(j)===undefined?N.pos:-1)}E.forEachChild(N,walk);if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$$){var q=E.findPrecedingToken(j.pos,N);if(!q||N.getLineAndCharacterOfPosition(q.getEnd()).line!==$){return undefined}j=q}if(j.flags&8388608){return undefined}return spanInNode(j);function textSpan(R,j){var $=R.decorators?E.skipTrivia(N.text,R.decorators.end):R.getStart(N);return E.createTextSpanFromBounds($,(j||R).getEnd())}function textSpanEndingAtNextToken(R,j){return textSpan(R,E.findNextToken(j,j.parent,N))}function spanInNodeIfStartsOnSameLine(E,R){if(E&&$===N.getLineAndCharacterOfPosition(E.getStart(N)).line){return spanInNode(E)}return spanInNode(R)}function spanInNodeArray(R){return E.createTextSpanFromBounds(E.skipTrivia(N.text,R.pos),R.end)}function spanInPreviousNode(R){return spanInNode(E.findPrecedingToken(R.pos,N))}function spanInNextNode(R){return spanInNode(E.findNextToken(R,R.parent,N))}function spanInNode(R){if(R){var j=R.parent;switch(R.kind){case 236:return spanInVariableDeclaration(R.declarationList.declarations[0]);case 253:case 166:case 165:return spanInVariableDeclaration(R);case 163:return spanInParameterDeclaration(R);case 255:case 168:case 167:case 171:case 172:case 170:case 212:case 213:return spanInFunctionDeclaration(R);case 234:if(E.isFunctionBlock(R)){return spanInFunctionBlock(R)}case 261:return spanInBlock(R);case 291:return spanInBlock(R.block);case 237:return textSpan(R.expression);case 246:return textSpan(R.getChildAt(0),R.expression);case 240:return textSpanEndingAtNextToken(R,R.expression);case 239:return spanInNode(R.statement);case 252:return textSpan(R.getChildAt(0));case 238:return textSpanEndingAtNextToken(R,R.expression);case 249:return spanInNode(R.statement);case 245:case 244:return textSpan(R.getChildAt(0),R.label);case 241:return spanInForStatement(R);case 242:return textSpanEndingAtNextToken(R,R.expression);case 243:return spanInInitializerOfForLike(R);case 248:return textSpanEndingAtNextToken(R,R.expression);case 288:case 289:return spanInNode(R.statements[0]);case 251:return spanInBlock(R.tryBlock);case 250:return textSpan(R,R.expression);case 270:return textSpan(R,R.expression);case 264:return textSpan(R,R.moduleReference);case 265:return textSpan(R,R.moduleSpecifier);case 271:return textSpan(R,R.moduleSpecifier);case 260:if(E.getModuleInstanceState(R)!==1){return undefined}case 256:case 259:case 297:case 202:return textSpan(R);case 247:return spanInNode(R.statement);case 164:return spanInNodeArray(j.decorators);case 200:case 201:return spanInBindingPattern(R);case 257:case 258:return undefined;case 26:case 1:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N));case 27:return spanInPreviousNode(R);case 18:return spanInOpenBraceToken(R);case 19:return spanInCloseBraceToken(R);case 23:return spanInCloseBracketToken(R);case 20:return spanInOpenParenToken(R);case 21:return spanInCloseParenToken(R);case 58:return spanInColonToken(R);case 31:case 29:return spanInGreaterThanOrLessThanToken(R);case 115:return spanInWhileKeyword(R);case 91:case 83:case 96:return spanInNextNode(R);case 159:return spanInOfKeyword(R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(R)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(R)}if((R.kind===79||R.kind===224||R.kind===294||R.kind===295)&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(j)){return textSpan(R)}if(R.kind===220){var $=R,q=$.left,G=$.operatorToken;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(q)}if(G.kind===63&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){return textSpan(R)}if(G.kind===27){return spanInNode(q)}}if(E.isExpressionNode(R)){switch(j.kind){case 239:return spanInPreviousNode(R);case 164:return spanInNode(R.parent);case 241:case 243:return textSpan(R);case 220:if(R.parent.operatorToken.kind===27){return textSpan(R)}break;case 213:if(R.parent.body===R){return textSpan(R)}break}}switch(R.parent.kind){case 294:if(R.parent.name===R&&!E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent.parent)){return spanInNode(R.parent.initializer)}break;case 210:if(R.parent.type===R){return spanInNextNode(R.parent.type)}break;case 253:case 163:{var ie=R.parent,ae=ie.initializer,ce=ie.type;if(ae===R||ce===R||E.isAssignmentOperator(R.kind)){return spanInPreviousNode(R)}break}case 220:{var q=R.parent.left;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)&&R!==q){return spanInPreviousNode(R)}break}default:if(E.isFunctionLike(R.parent)&&R.parent.type===R){return spanInPreviousNode(R)}}return spanInNode(R.parent)}}function textSpanFromVariableDeclaration(R){if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]===R){return textSpan(E.findPrecedingToken(R.pos,N,R.parent),R)}else{return textSpan(R)}}function spanInVariableDeclaration(R){if(R.parent.parent.kind===242){return spanInNode(R.parent.parent)}var j=R.parent;if(E.isBindingPattern(R.name)){return spanInBindingPattern(R.name)}if(R.initializer||E.hasSyntacticModifier(R,1)||j.parent.kind===243){return textSpanFromVariableDeclaration(R)}if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]!==R){return spanInNode(E.findPrecedingToken(R.pos,N,R.parent))}}function canHaveSpanInParameterDeclaration(N){return!!N.initializer||N.dotDotDotToken!==undefined||E.hasSyntacticModifier(N,4|8)}function spanInParameterDeclaration(N){if(E.isBindingPattern(N.name)){return spanInBindingPattern(N.name)}else if(canHaveSpanInParameterDeclaration(N)){return textSpan(N)}else{var R=N.parent;var j=R.parameters.indexOf(N);E.Debug.assert(j!==-1);if(j!==0){return spanInParameterDeclaration(R.parameters[j-1])}else{return spanInNode(R.body)}}}function canFunctionHaveSpanInWholeDeclaration(N){return E.hasSyntacticModifier(N,1)||N.parent.kind===256&&N.kind!==170}function spanInFunctionDeclaration(E){if(!E.body){return undefined}if(canFunctionHaveSpanInWholeDeclaration(E)){return textSpan(E)}return spanInNode(E.body)}function spanInFunctionBlock(E){var N=E.statements.length?E.statements[0]:E.getLastToken();if(canFunctionHaveSpanInWholeDeclaration(E.parent)){return spanInNodeIfStartsOnSameLine(E.parent,N)}return spanInNode(N)}function spanInBlock(R){switch(R.parent.kind){case 260:if(E.getModuleInstanceState(R.parent)!==1){return undefined}case 240:case 238:case 242:return spanInNodeIfStartsOnSameLine(R.parent,R.statements[0]);case 241:case 243:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),R.statements[0])}return spanInNode(R.statements[0])}function spanInInitializerOfForLike(E){if(E.initializer.kind===254){var N=E.initializer;if(N.declarations.length>0){return spanInNode(N.declarations[0])}}else{return spanInNode(E.initializer)}}function spanInForStatement(E){if(E.initializer){return spanInInitializerOfForLike(E)}if(E.condition){return textSpan(E.condition)}if(E.incrementor){return textSpan(E.incrementor)}}function spanInBindingPattern(N){var R=E.forEach(N.elements,(function(E){return E.kind!==226?E:undefined}));if(R){return spanInNode(R)}if(N.parent.kind===202){return textSpan(N.parent)}return textSpanFromVariableDeclaration(N.parent)}function spanInArrayLiteralOrObjectLiteralDestructuringPattern(N){E.Debug.assert(N.kind!==201&&N.kind!==200);var R=N.kind===203?N.elements:N.properties;var j=E.forEach(R,(function(E){return E.kind!==226?E:undefined}));if(j){return spanInNode(j)}return textSpan(N.parent.kind===220?N.parent:N)}function spanInOpenBraceToken(R){switch(R.parent.kind){case 259:var j=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),j.members.length?j.members[0]:j.getLastToken(N));case 256:var $=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),$.members.length?$.members[0]:$.getLastToken(N));case 262:return spanInNodeIfStartsOnSameLine(R.parent.parent,R.parent.clauses[0])}return spanInNode(R.parent)}function spanInCloseBraceToken(N){switch(N.parent.kind){case 261:if(E.getModuleInstanceState(N.parent.parent)!==1){return undefined}case 259:case 256:return textSpan(N);case 234:if(E.isFunctionBlock(N.parent)){return textSpan(N)}case 291:return spanInNode(E.lastOrUndefined(N.parent.statements));case 262:var R=N.parent;var j=E.lastOrUndefined(R.clauses);if(j){return spanInNode(E.lastOrUndefined(j.statements))}return undefined;case 200:var $=N.parent;return spanInNode(E.lastOrUndefined($.elements)||$);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var q=N.parent;return textSpan(E.lastOrUndefined(q.properties)||q)}return spanInNode(N.parent)}}function spanInCloseBracketToken(N){switch(N.parent.kind){case 201:var R=N.parent;return textSpan(E.lastOrUndefined(R.elements)||R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var j=N.parent;return textSpan(E.lastOrUndefined(j.elements)||j)}return spanInNode(N.parent)}}function spanInOpenParenToken(E){if(E.parent.kind===239||E.parent.kind===207||E.parent.kind===208){return spanInPreviousNode(E)}if(E.parent.kind===211){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInCloseParenToken(E){switch(E.parent.kind){case 212:case 255:case 213:case 168:case 167:case 171:case 172:case 170:case 240:case 239:case 241:case 243:case 207:case 208:case 211:return spanInPreviousNode(E);default:return spanInNode(E.parent)}}function spanInColonToken(N){if(E.isFunctionLike(N.parent)||N.parent.kind===294||N.parent.kind===163){return spanInPreviousNode(N)}return spanInNode(N.parent)}function spanInGreaterThanOrLessThanToken(E){if(E.parent.kind===210){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInWhileKeyword(E){if(E.parent.kind===239){return textSpanEndingAtNextToken(E,E.parent.expression)}return spanInNode(E.parent)}function spanInOfKeyword(E){if(E.parent.kind===243){return spanInNextNode(E)}return spanInNode(E.parent)}}}N.spanInSourceFileAtLocation=spanInSourceFileAtLocation})(N=E.BreakpointResolver||(E.BreakpointResolver={}))})(ce||(ce={}));var ce;(function(E){function transform(N,R,j){var $=[];j=E.fixupCompilerOptions(j,$);var q=E.isArray(N)?N:[N];var G=E.transformNodes(undefined,undefined,E.factory,j,q,R,true);G.diagnostics=E.concatenate(G.diagnostics,$);return G}E.transform=transform})(ce||(ce={}));var le=function(){return this}();var ce;(function(E){function logInternalError(E,N){if(E){E.log("*INTERNAL ERROR* - Exception in typescript services: "+N.message)}}var N=function(){function ScriptSnapshotShimAdapter(E){this.scriptSnapshotShim=E}ScriptSnapshotShimAdapter.prototype.getText=function(E,N){return this.scriptSnapshotShim.getText(E,N)};ScriptSnapshotShimAdapter.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()};ScriptSnapshotShimAdapter.prototype.getChangeRange=function(N){var R=N;var j=this.scriptSnapshotShim.getChangeRange(R.scriptSnapshotShim);if(j===null){return null}var $=JSON.parse(j);return E.createTextChangeRange(E.createTextSpan($.span.start,$.span.length),$.newLength)};ScriptSnapshotShimAdapter.prototype.dispose=function(){if("dispose"in this.scriptSnapshotShim){this.scriptSnapshotShim.dispose()}};return ScriptSnapshotShimAdapter}();var R=function(){function LanguageServiceShimHostAdapter(N){var R=this;this.shimHost=N;this.loggingEnabled=false;this.tracingEnabled=false;if("getModuleResolutionsForFile"in this.shimHost){this.resolveModuleNames=function(N,j){var $=JSON.parse(R.shimHost.getModuleResolutionsForFile(j));return E.map(N,(function(N){var R=E.getProperty($,N);return R?{resolvedFileName:R,extension:E.extensionFromPath(R),isExternalLibraryImport:false}:undefined}))}}if("directoryExists"in this.shimHost){this.directoryExists=function(E){return R.shimHost.directoryExists(E)}}if("getTypeReferenceDirectiveResolutionsForFile"in this.shimHost){this.resolveTypeReferenceDirectives=function(N,j){var $=JSON.parse(R.shimHost.getTypeReferenceDirectiveResolutionsForFile(j));return E.map(N,(function(N){return E.getProperty($,N)}))}}}LanguageServiceShimHostAdapter.prototype.log=function(E){if(this.loggingEnabled){this.shimHost.log(E)}};LanguageServiceShimHostAdapter.prototype.trace=function(E){if(this.tracingEnabled){this.shimHost.trace(E)}};LanguageServiceShimHostAdapter.prototype.error=function(E){this.shimHost.error(E)};LanguageServiceShimHostAdapter.prototype.getProjectVersion=function(){if(!this.shimHost.getProjectVersion){return undefined}return this.shimHost.getProjectVersion()};LanguageServiceShimHostAdapter.prototype.getTypeRootsVersion=function(){if(!this.shimHost.getTypeRootsVersion){return 0}return this.shimHost.getTypeRootsVersion()};LanguageServiceShimHostAdapter.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false};LanguageServiceShimHostAdapter.prototype.getCompilationSettings=function(){var E=this.shimHost.getCompilationSettings();if(E===null||E===""){throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings")}var N=JSON.parse(E);N.allowNonTsExtensions=true;return N};LanguageServiceShimHostAdapter.prototype.getScriptFileNames=function(){var E=this.shimHost.getScriptFileNames();return JSON.parse(E)};LanguageServiceShimHostAdapter.prototype.getScriptSnapshot=function(E){var R=this.shimHost.getScriptSnapshot(E);return R&&new N(R)};LanguageServiceShimHostAdapter.prototype.getScriptKind=function(E){if("getScriptKind"in this.shimHost){return this.shimHost.getScriptKind(E)}else{return 0}};LanguageServiceShimHostAdapter.prototype.getScriptVersion=function(E){return this.shimHost.getScriptVersion(E)};LanguageServiceShimHostAdapter.prototype.getLocalizedDiagnosticMessages=function(){var E=this.shimHost.getLocalizedDiagnosticMessages();if(E===null||E===""){return null}try{return JSON.parse(E)}catch(E){this.log(E.description||"diagnosticMessages.generated.json has invalid JSON format");return null}};LanguageServiceShimHostAdapter.prototype.getCancellationToken=function(){var N=this.shimHost.getCancellationToken();return new E.ThrottledCancellationToken(N)};LanguageServiceShimHostAdapter.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()};LanguageServiceShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};LanguageServiceShimHostAdapter.prototype.getDefaultLibFileName=function(E){return this.shimHost.getDefaultLibFileName(JSON.stringify(E))};LanguageServiceShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};LanguageServiceShimHostAdapter.prototype.readFile=function(E,N){return this.shimHost.readFile(E,N)};LanguageServiceShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};return LanguageServiceShimHostAdapter}();E.LanguageServiceShimHostAdapter=R;var q=function(){function CoreServicesShimHostAdapter(E){var N=this;this.shimHost=E;this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false;if("directoryExists"in this.shimHost){this.directoryExists=function(E){return N.shimHost.directoryExists(E)}}else{this.directoryExists=undefined}if("realpath"in this.shimHost){this.realpath=function(E){return N.shimHost.realpath(E)}}else{this.realpath=undefined}}CoreServicesShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};CoreServicesShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};CoreServicesShimHostAdapter.prototype.readFile=function(E){return this.shimHost.readFile(E)};CoreServicesShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};return CoreServicesShimHostAdapter}();E.CoreServicesShimHostAdapter=q;function simpleForwardCall(N,R,j,$){var q;if($){N.log(R);q=E.timestamp()}var G=j();if($){var ie=E.timestamp();N.log("".concat(R," completed in ").concat(ie-q," msec"));if(E.isString(G)){var ae=G;if(ae.length>128){ae=ae.substring(0,128)+"..."}N.log(" result.length=".concat(ae.length,", result='").concat(JSON.stringify(ae),"'"))}}return G}function forwardJSONCall(E,N,R,j){return forwardCall(E,N,true,R,j)}function forwardCall(N,R,j,$,q){try{var G=simpleForwardCall(N,R,$,q);return j?JSON.stringify({result:G}):G}catch(j){if(j instanceof E.OperationCanceledException){return JSON.stringify({canceled:true})}logInternalError(N,j);j.description=R;return JSON.stringify({error:j})}}var G=function(){function ShimBase(E){this.factory=E;E.registerShim(this)}ShimBase.prototype.dispose=function(E){this.factory.unregisterShim(this)};return ShimBase}();function realizeDiagnostics(E,N){return E.map((function(E){return realizeDiagnostic(E,N)}))}E.realizeDiagnostics=realizeDiagnostics;function realizeDiagnostic(N,R){return{message:E.flattenDiagnosticMessageText(N.messageText,R),start:N.start,length:N.length,category:E.diagnosticCategoryName(N),code:N.code,reportsUnnecessary:N.reportsUnnecessary,reportsDeprecated:N.reportsDeprecated}}var ce=function(N){ae(LanguageServiceShimObject,N);function LanguageServiceShimObject(E,R,j){var $=N.call(this,E)||this;$.host=R;$.languageService=j;$.logPerformance=false;$.logger=$.host;return $}LanguageServiceShimObject.prototype.forwardJSONCall=function(E,N){return forwardJSONCall(this.logger,E,N,this.logPerformance)};LanguageServiceShimObject.prototype.dispose=function(E){this.logger.log("dispose()");this.languageService.dispose();this.languageService=null;if(le&&le.CollectGarbage){le.CollectGarbage();this.logger.log("CollectGarbage()")}this.logger=null;N.prototype.dispose.call(this,E)};LanguageServiceShimObject.prototype.refresh=function(E){this.forwardJSONCall("refresh(".concat(E,")"),(function(){return null}))};LanguageServiceShimObject.prototype.cleanupSemanticCache=function(){var E=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){E.languageService.cleanupSemanticCache();return null}))};LanguageServiceShimObject.prototype.realizeDiagnostics=function(N){var R=E.getNewLineOrDefaultFromHost(this.host);return realizeDiagnostics(N,R)};LanguageServiceShimObject.prototype.getSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSyntacticClassifications('".concat(N,"', ").concat(R,", ").concat(j,")"),(function(){return $.languageService.getSyntacticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSemanticClassifications('".concat(N,"', ").concat(R,", ").concat(j,")"),(function(){return $.languageService.getSemanticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getEncodedSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('".concat(N,"', ").concat(R,", ").concat(j,")"),(function(){return convertClassifications($.languageService.getEncodedSyntacticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getEncodedSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSemanticClassifications('".concat(N,"', ").concat(R,", ").concat(j,")"),(function(){return convertClassifications($.languageService.getEncodedSemanticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getSyntacticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSyntacticDiagnostics('".concat(E,"')"),(function(){var R=N.languageService.getSyntacticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSemanticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSemanticDiagnostics('".concat(E,"')"),(function(){var R=N.languageService.getSemanticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSuggestionDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSuggestionDiagnostics('".concat(E,"')"),(function(){return N.realizeDiagnostics(N.languageService.getSuggestionDiagnostics(E))}))};LanguageServiceShimObject.prototype.getCompilerOptionsDiagnostics=function(){var E=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var N=E.languageService.getCompilerOptionsDiagnostics();return E.realizeDiagnostics(N)}))};LanguageServiceShimObject.prototype.getQuickInfoAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getQuickInfoAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getQuickInfoAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getNameOrDottedNameSpan=function(E,N,R){var j=this;return this.forwardJSONCall("getNameOrDottedNameSpan('".concat(E,"', ").concat(N,", ").concat(R,")"),(function(){return j.languageService.getNameOrDottedNameSpan(E,N,R)}))};LanguageServiceShimObject.prototype.getBreakpointStatementAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getBreakpointStatementAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getSignatureHelpItems=function(E,N,R){var j=this;return this.forwardJSONCall("getSignatureHelpItems('".concat(E,"', ").concat(N,")"),(function(){return j.languageService.getSignatureHelpItems(E,N,R)}))};LanguageServiceShimObject.prototype.getDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDefinitionAndBoundSpan=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getDefinitionAndBoundSpan(E,N)}))};LanguageServiceShimObject.prototype.getTypeDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getTypeDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getImplementationAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getImplementationAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getImplementationAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getRenameInfo=function(E,N,R){var j=this;return this.forwardJSONCall("getRenameInfo('".concat(E,"', ").concat(N,")"),(function(){return j.languageService.getRenameInfo(E,N,R)}))};LanguageServiceShimObject.prototype.getSmartSelectionRange=function(E,N){var R=this;return this.forwardJSONCall("getSmartSelectionRange('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getSmartSelectionRange(E,N)}))};LanguageServiceShimObject.prototype.findRenameLocations=function(E,N,R,j,$){var q=this;return this.forwardJSONCall("findRenameLocations('".concat(E,"', ").concat(N,", ").concat(R,", ").concat(j,", ").concat($,")"),(function(){return q.languageService.findRenameLocations(E,N,R,j,$)}))};LanguageServiceShimObject.prototype.getBraceMatchingAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBraceMatchingAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getBraceMatchingAtPosition(E,N)}))};LanguageServiceShimObject.prototype.isValidBraceCompletionAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('".concat(E,"', ").concat(N,", ").concat(R,")"),(function(){return j.languageService.isValidBraceCompletionAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getSpanOfEnclosingComment=function(E,N,R){var j=this;return this.forwardJSONCall("getSpanOfEnclosingComment('".concat(E,"', ").concat(N,")"),(function(){return j.languageService.getSpanOfEnclosingComment(E,N,R)}))};LanguageServiceShimObject.prototype.getIndentationAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getIndentationAtPosition('".concat(E,"', ").concat(N,")"),(function(){var $=JSON.parse(R);return j.languageService.getIndentationAtPosition(E,N,$)}))};LanguageServiceShimObject.prototype.getReferencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getReferencesAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getReferencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.findReferences=function(E,N){var R=this;return this.forwardJSONCall("findReferences('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.findReferences(E,N)}))};LanguageServiceShimObject.prototype.getFileReferences=function(E){var N=this;return this.forwardJSONCall("getFileReferences('".concat(E,")"),(function(){return N.languageService.getFileReferences(E)}))};LanguageServiceShimObject.prototype.getOccurrencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getOccurrencesAtPosition('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.getOccurrencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDocumentHighlights=function(N,R,j){var $=this;return this.forwardJSONCall("getDocumentHighlights('".concat(N,"', ").concat(R,")"),(function(){var q=$.languageService.getDocumentHighlights(N,R,JSON.parse(j));var G=E.toFileNameLowerCase(E.normalizeSlashes(N));return E.filter(q,(function(N){return E.toFileNameLowerCase(E.normalizeSlashes(N.fileName))===G}))}))};LanguageServiceShimObject.prototype.getCompletionsAtPosition=function(E,N,R,j){var $=this;return this.forwardJSONCall("getCompletionsAtPosition('".concat(E,"', ").concat(N,", ").concat(R,", ").concat(j,")"),(function(){return $.languageService.getCompletionsAtPosition(E,N,R,j)}))};LanguageServiceShimObject.prototype.getCompletionEntryDetails=function(E,N,R,j,$,q,G){var ie=this;return this.forwardJSONCall("getCompletionEntryDetails('".concat(E,"', ").concat(N,", '").concat(R,"')"),(function(){var ae=j===undefined?undefined:JSON.parse(j);return ie.languageService.getCompletionEntryDetails(E,N,R,ae,$,q,G)}))};LanguageServiceShimObject.prototype.getFormattingEditsForRange=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsForRange('".concat(E,"', ").concat(N,", ").concat(R,")"),(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsForRange(E,N,R,q)}))};LanguageServiceShimObject.prototype.getFormattingEditsForDocument=function(E,N){var R=this;return this.forwardJSONCall("getFormattingEditsForDocument('".concat(E,"')"),(function(){var j=JSON.parse(N);return R.languageService.getFormattingEditsForDocument(E,j)}))};LanguageServiceShimObject.prototype.getFormattingEditsAfterKeystroke=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('".concat(E,"', ").concat(N,", '").concat(R,"')"),(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsAfterKeystroke(E,N,R,q)}))};LanguageServiceShimObject.prototype.getDocCommentTemplateAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('".concat(E,"', ").concat(N,")"),(function(){return j.languageService.getDocCommentTemplateAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigateToItems=function(E,N,R){var j=this;return this.forwardJSONCall("getNavigateToItems('".concat(E,"', ").concat(N,", ").concat(R,")"),(function(){return j.languageService.getNavigateToItems(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigationBarItems=function(E){var N=this;return this.forwardJSONCall("getNavigationBarItems('".concat(E,"')"),(function(){return N.languageService.getNavigationBarItems(E)}))};LanguageServiceShimObject.prototype.getNavigationTree=function(E){var N=this;return this.forwardJSONCall("getNavigationTree('".concat(E,"')"),(function(){return N.languageService.getNavigationTree(E)}))};LanguageServiceShimObject.prototype.getOutliningSpans=function(E){var N=this;return this.forwardJSONCall("getOutliningSpans('".concat(E,"')"),(function(){return N.languageService.getOutliningSpans(E)}))};LanguageServiceShimObject.prototype.getTodoComments=function(E,N){var R=this;return this.forwardJSONCall("getTodoComments('".concat(E,"')"),(function(){return R.languageService.getTodoComments(E,JSON.parse(N))}))};LanguageServiceShimObject.prototype.prepareCallHierarchy=function(E,N){var R=this;return this.forwardJSONCall("prepareCallHierarchy('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.prepareCallHierarchy(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyIncomingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.provideCallHierarchyIncomingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyOutgoingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('".concat(E,"', ").concat(N,")"),(function(){return R.languageService.provideCallHierarchyOutgoingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideInlayHints=function(E,N,R){var j=this;return this.forwardJSONCall("provideInlayHints('".concat(E,"', '").concat(JSON.stringify(N),"', ").concat(JSON.stringify(R),")"),(function(){return j.languageService.provideInlayHints(E,N,R)}))};LanguageServiceShimObject.prototype.getEmitOutput=function(E){var N=this;return this.forwardJSONCall("getEmitOutput('".concat(E,"')"),(function(){var R=N.languageService.getEmitOutput(E),j=R.diagnostics,q=ie(R,["diagnostics"]);return $($({},q),{diagnostics:N.realizeDiagnostics(j)})}))};LanguageServiceShimObject.prototype.getEmitOutputObject=function(E){var N=this;return forwardCall(this.logger,"getEmitOutput('".concat(E,"')"),false,(function(){return N.languageService.getEmitOutput(E)}),this.logPerformance)};LanguageServiceShimObject.prototype.toggleLineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleLineComment('".concat(E,"', '").concat(JSON.stringify(N),"')"),(function(){return R.languageService.toggleLineComment(E,N)}))};LanguageServiceShimObject.prototype.toggleMultilineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleMultilineComment('".concat(E,"', '").concat(JSON.stringify(N),"')"),(function(){return R.languageService.toggleMultilineComment(E,N)}))};LanguageServiceShimObject.prototype.commentSelection=function(E,N){var R=this;return this.forwardJSONCall("commentSelection('".concat(E,"', '").concat(JSON.stringify(N),"')"),(function(){return R.languageService.commentSelection(E,N)}))};LanguageServiceShimObject.prototype.uncommentSelection=function(E,N){var R=this;return this.forwardJSONCall("uncommentSelection('".concat(E,"', '").concat(JSON.stringify(N),"')"),(function(){return R.languageService.uncommentSelection(E,N)}))};return LanguageServiceShimObject}(G);function convertClassifications(E){return{spans:E.spans.join(","),endOfLineState:E.endOfLineState}}var _e=function(N){ae(ClassifierShimObject,N);function ClassifierShimObject(R,j){var $=N.call(this,R)||this;$.logger=j;$.logPerformance=false;$.classifier=E.createClassifier();return $}ClassifierShimObject.prototype.getEncodedLexicalClassifications=function(E,N,R){var j=this;if(R===void 0){R=false}return forwardJSONCall(this.logger,"getEncodedLexicalClassifications",(function(){return convertClassifications(j.classifier.getEncodedLexicalClassifications(E,N,R))}),this.logPerformance)};ClassifierShimObject.prototype.getClassificationsForLine=function(E,N,R){if(R===void 0){R=false}var j=this.classifier.getClassificationsForLine(E,N,R);var $="";for(var q=0,G=j.entries;q=1&&arguments.length<=3?E.factory.createVariableDeclaration(N,undefined,R,j):E.Debug.fail("Argument count mismatch")}),N);E.updateVariableDeclaration=E.Debug.deprecate((function updateVariableDeclaration(N,R,j,$,q){return arguments.length===5?E.factory.updateVariableDeclaration(N,R,j,$,q):arguments.length===4?E.factory.updateVariableDeclaration(N,R,N.exclamationToken,j,$):E.Debug.fail("Argument count mismatch")}),N);E.createImportClause=E.Debug.deprecate((function createImportClause(N,R,j){if(j===void 0){j=false}return E.factory.createImportClause(j,N,R)}),N);E.updateImportClause=E.Debug.deprecate((function updateImportClause(N,R,j,$){return E.factory.updateImportClause(N,$,R,j)}),N);E.createExportDeclaration=E.Debug.deprecate((function createExportDeclaration(N,R,j,$,q){if(q===void 0){q=false}return E.factory.createExportDeclaration(N,R,q,j,$)}),N);E.updateExportDeclaration=E.Debug.deprecate((function updateExportDeclaration(N,R,j,$,q,G){return E.factory.updateExportDeclaration(N,R,j,G,$,q,N.assertClause)}),N);E.createJSDocParamTag=E.Debug.deprecate((function createJSDocParamTag(N,R,j,$){return E.factory.createJSDocParameterTag(undefined,N,R,j,false,$?E.factory.createNodeArray([E.factory.createJSDocText($)]):undefined)}),N);E.createComma=E.Debug.deprecate((function createComma(N,R){return E.factory.createComma(N,R)}),N);E.createLessThan=E.Debug.deprecate((function createLessThan(N,R){return E.factory.createLessThan(N,R)}),N);E.createAssignment=E.Debug.deprecate((function createAssignment(N,R){return E.factory.createAssignment(N,R)}),N);E.createStrictEquality=E.Debug.deprecate((function createStrictEquality(N,R){return E.factory.createStrictEquality(N,R)}),N);E.createStrictInequality=E.Debug.deprecate((function createStrictInequality(N,R){return E.factory.createStrictInequality(N,R)}),N);E.createAdd=E.Debug.deprecate((function createAdd(N,R){return E.factory.createAdd(N,R)}),N);E.createSubtract=E.Debug.deprecate((function createSubtract(N,R){return E.factory.createSubtract(N,R)}),N);E.createLogicalAnd=E.Debug.deprecate((function createLogicalAnd(N,R){return E.factory.createLogicalAnd(N,R)}),N);E.createLogicalOr=E.Debug.deprecate((function createLogicalOr(N,R){return E.factory.createLogicalOr(N,R)}),N);E.createPostfixIncrement=E.Debug.deprecate((function createPostfixIncrement(N){return E.factory.createPostfixIncrement(N)}),N);E.createLogicalNot=E.Debug.deprecate((function createLogicalNot(N){return E.factory.createLogicalNot(N)}),N);E.createNode=E.Debug.deprecate((function createNode(N,R,j){if(R===void 0){R=0}if(j===void 0){j=0}return E.setTextRangePosEnd(N===303?E.parseBaseNodeFactory.createBaseSourceFileNode(N):N===79?E.parseBaseNodeFactory.createBaseIdentifierNode(N):N===80?E.parseBaseNodeFactory.createBasePrivateIdentifierNode(N):!E.isNodeKind(N)?E.parseBaseNodeFactory.createBaseTokenNode(N):E.parseBaseNodeFactory.createBaseNode(N),R,j)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."});E.getMutableClone=E.Debug.deprecate((function getMutableClone(N){var R=E.factory.cloneNode(N);E.setTextRange(R,N);E.setParent(R,N.parent);return R}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."});E.isTypeAssertion=E.Debug.deprecate((function isTypeAssertion(E){return E.kind===210}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."});E.isIdentifierOrPrivateIdentifier=E.Debug.deprecate((function isIdentifierOrPrivateIdentifier(N){return E.isMemberName(N)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(ce||(ce={}))},30823:function(E,N){ /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ -(function(E,R){true?R(N):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,N=Array(E),R=0;R1){N[0]=N[0].slice(0,-1);var j=N.length-1;for(var $=1;$= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Me=q-G;var Le=Math.floor;var Be=String.fromCharCode;function error$1(E){throw new RangeError(Ne[E])}function map(E,N){var R=[];var j=E.length;while(j--){R[j]=N(E[j])}return R}function mapDomain(E,N){var R=E.split("@");var j="";if(R.length>1){j=R[0]+"@";E=R[1]}E=E.replace(Ie,".");var $=E.split(".");var q=map($,N).join(".");return j+q}function ucs2decode(E){var N=[];var R=0;var j=E.length;while(R=55296&&$<=56319&&R>1;E+=Le(E/N);for(;E>Me*ie>>1;j+=q){E=Le(E/Me)}return Le(j+(Me+1)*E/(E+ae))};var Je=function decode(E){var N=[];var R=E.length;var j=0;var ae=_e;var ce=le;var Te=E.lastIndexOf(Ee);if(Te<0){Te=0}for(var we=0;we=128){error$1("not-basic")}N.push(E.charCodeAt(we))}for(var Ie=Te>0?Te+1:0;Ie=R){error$1("invalid-input")}var je=Ue(E.charCodeAt(Ie++));if(je>=q||je>Le(($-j)/Me)){error$1("overflow")}j+=je*Me;var ze=Be<=ce?G:Be>=ce+ie?ie:Be-ce;if(jeLe($/Je)){error$1("overflow")}Me*=Je}var Ve=N.length+1;ce=We(j-Ne,Ve,Ne==0);if(Le(j/Ve)>$-ae){error$1("overflow")}ae+=Le(j/Ve);j%=Ve;N.splice(j++,0,ae)}return String.fromCodePoint.apply(String,N)};var Ve=function encode(E){var N=[];E=ucs2decode(E);var R=E.length;var j=_e;var ae=0;var ce=le;var Te=true;var we=false;var Ie=undefined;try{for(var Ne=E[Symbol.iterator](),Me;!(Te=(Me=Ne.next()).done);Te=true){var je=Me.value;if(je<128){N.push(Be(je))}}}catch(E){we=true;Ie=E}finally{try{if(!Te&&Ne.return){Ne.return()}}finally{if(we){throw Ie}}}var Ue=N.length;var Je=Ue;if(Ue){N.push(Ee)}while(Je=j&&XeLe(($-ae)/Ye)){error$1("overflow")}ae+=(Ve-j)*Ye;j=Ve;var Ze=true;var et=false;var tt=undefined;try{for(var rt=E[Symbol.iterator](),nt;!(Ze=(nt=rt.next()).done);Ze=true){var it=nt.value;if(it$){error$1("overflow")}if(it==j){var ot=ae;for(var st=q;;st+=q){var ct=st<=ce?G:st>=ce+ie?ie:st-ce;if(ot>6|192).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();else R="%"+(N>>12|224).toString(16).toUpperCase()+"%"+(N>>6&63|128).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();return R}function pctDecChars(E){var N="";var R=0;var j=E.length;while(R=194&&$<224){if(j-R>=6){var q=parseInt(E.substr(R+4,2),16);N+=String.fromCharCode(($&31)<<6|q&63)}else{N+=E.substr(R,6)}R+=6}else if($>=224){if(j-R>=9){var G=parseInt(E.substr(R+4,2),16);var ie=parseInt(E.substr(R+7,2),16);N+=String.fromCharCode(($&15)<<12|(G&63)<<6|ie&63)}else{N+=E.substr(R,9)}R+=9}else{N+=E.substr(R,3);R+=3}}return N}function _normalizeComponentEncoding(E,N){function decodeUnreserved(E){var R=pctDecChars(E);return!R.match(N.UNRESERVED)?E:R}if(E.scheme)E.scheme=String(E.scheme).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_USERINFO,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_HOST,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(N.PCT_ENCODED,decodeUnreserved).replace(E.scheme?N.NOT_PATH:N.NOT_PATH_NOSCHEME,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_QUERY,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_FRAGMENT,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,N){var R=E.match(N.IPV4ADDRESS)||[];var $=j(R,2),q=$[1];if(q){return q.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,N){var R=E.match(N.IPV6ADDRESS)||[];var $=j(R,3),q=$[1],G=$[2];if(q){var ie=q.toLowerCase().split("::").reverse(),ae=j(ie,2),ce=ae[0],le=ae[1];var _e=le?le.split(":").map(_stripLeadingZeros):[];var Ee=ce.split(":").map(_stripLeadingZeros);var Te=N.IPV4ADDRESS.test(Ee[Ee.length-1]);var we=Te?7:8;var Ie=Ee.length-we;var Ne=Array(we);for(var Me=0;Me1){var Ue=Ne.slice(0,Be.index);var ze=Ne.slice(Be.index+Be.length);je=Ue.join(":")+"::"+ze.join(":")}else{je=Ne.join(":")}if(G){je+="%"+G}return je}else{return E}}var Qe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Xe="".match(/(){0}/)[1]===undefined;function parse(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $={};var q=j.iri!==false?R:N;if(j.reference==="suffix")E=(j.scheme?j.scheme+":":"")+"//"+E;var G=E.match(Qe);if(G){if(Xe){$.scheme=G[1];$.userinfo=G[3];$.host=G[4];$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=G[7];$.fragment=G[8];if(isNaN($.port)){$.port=G[5]}}else{$.scheme=G[1]||undefined;$.userinfo=E.indexOf("@")!==-1?G[3]:undefined;$.host=E.indexOf("//")!==-1?G[4]:undefined;$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=E.indexOf("?")!==-1?G[7]:undefined;$.fragment=E.indexOf("#")!==-1?G[8]:undefined;if(isNaN($.port)){$.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?G[4]:undefined}}if($.host){$.host=_normalizeIPv6(_normalizeIPv4($.host,q),q)}if($.scheme===undefined&&$.userinfo===undefined&&$.host===undefined&&$.port===undefined&&!$.path&&$.query===undefined){$.reference="same-document"}else if($.scheme===undefined){$.reference="relative"}else if($.fragment===undefined){$.reference="absolute"}else{$.reference="uri"}if(j.reference&&j.reference!=="suffix"&&j.reference!==$.reference){$.error=$.error||"URI is not a "+j.reference+" reference."}var ie=Ke[(j.scheme||$.scheme||"").toLowerCase()];if(!j.unicodeSupport&&(!ie||!ie.unicodeSupport)){if($.host&&(j.domainHost||ie&&ie.domainHost)){try{$.host=Ge.toASCII($.host.replace(q.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){$.error=$.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding($,N)}else{_normalizeComponentEncoding($,q)}if(ie&&ie.parse){ie.parse($,j)}}else{$.error=$.error||"URI can not be parsed."}return $}function _recomposeAuthority(E,j){var $=j.iri!==false?R:N;var q=[];if(E.userinfo!==undefined){q.push(E.userinfo);q.push("@")}if(E.host!==undefined){q.push(_normalizeIPv6(_normalizeIPv4(String(E.host),$),$).replace($.IPV6ADDRESS,(function(E,N,R){return"["+N+(R?"%25"+R:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){q.push(":");q.push(String(E.port))}return q.length?q.join(""):undefined}var Ye=/^\.\.?\//;var Ze=/^\/\.(\/|$)/;var et=/^\/\.\.(\/|$)/;var tt=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var N=[];while(E.length){if(E.match(Ye)){E=E.replace(Ye,"")}else if(E.match(Ze)){E=E.replace(Ze,"/")}else if(E.match(et)){E=E.replace(et,"/");N.pop()}else if(E==="."||E===".."){E=""}else{var R=E.match(tt);if(R){var j=R[0];E=E.slice(j.length);N.push(j)}else{throw new Error("Unexpected dot segment condition")}}}return N.join("")}function serialize(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $=j.iri?R:N;var q=[];var G=Ke[(j.scheme||E.scheme||"").toLowerCase()];if(G&&G.serialize)G.serialize(E,j);if(E.host){if($.IPV6ADDRESS.test(E.host)){}else if(j.domainHost||G&&G.domainHost){try{E.host=!j.iri?Ge.toASCII(E.host.replace($.PCT_ENCODED,pctDecChars).toLowerCase()):Ge.toUnicode(E.host)}catch(N){E.error=E.error||"Host's domain name can not be converted to "+(!j.iri?"ASCII":"Unicode")+" via punycode: "+N}}}_normalizeComponentEncoding(E,$);if(j.reference!=="suffix"&&E.scheme){q.push(E.scheme);q.push(":")}var ie=_recomposeAuthority(E,j);if(ie!==undefined){if(j.reference!=="suffix"){q.push("//")}q.push(ie);if(E.path&&E.path.charAt(0)!=="/"){q.push("/")}}if(E.path!==undefined){var ae=E.path;if(!j.absolutePath&&(!G||!G.absolutePath)){ae=removeDotSegments(ae)}if(ie===undefined){ae=ae.replace(/^\/\//,"/%2F")}q.push(ae)}if(E.query!==undefined){q.push("?");q.push(E.query)}if(E.fragment!==undefined){q.push("#");q.push(E.fragment)}return q.join("")}function resolveComponents(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var j=arguments[3];var $={};if(!j){E=parse(serialize(E,R),R);N=parse(serialize(N,R),R)}R=R||{};if(!R.tolerant&&N.scheme){$.scheme=N.scheme;$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(N.userinfo!==undefined||N.host!==undefined||N.port!==undefined){$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(!N.path){$.path=E.path;if(N.query!==undefined){$.query=N.query}else{$.query=E.query}}else{if(N.path.charAt(0)==="/"){$.path=removeDotSegments(N.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){$.path="/"+N.path}else if(!E.path){$.path=N.path}else{$.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+N.path}$.path=removeDotSegments($.path)}$.query=N.query}$.userinfo=E.userinfo;$.host=E.host;$.port=E.port}$.scheme=E.scheme}$.fragment=N.fragment;return $}function resolve(E,N,R){var j=assign({scheme:"null"},R);return serialize(resolveComponents(parse(E,j),parse(N,j),j,true),j)}function normalize(E,N){if(typeof E==="string"){E=serialize(parse(E,N),N)}else if(typeOf(E)==="object"){E=parse(serialize(E,N),N)}return E}function equal(E,N,R){if(typeof E==="string"){E=serialize(parse(E,R),R)}else if(typeOf(E)==="object"){E=serialize(E,R)}if(typeof N==="string"){N=serialize(parse(N,R),R)}else if(typeOf(N)==="object"){N=serialize(N,R)}return E===N}function escapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.ESCAPE:R.ESCAPE,pctEncChar)}function unescapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.PCT_ENCODED:R.PCT_ENCODED,pctDecChars)}var rt={scheme:"http",domainHost:true,parse:function parse(E,N){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,N){var R=String(E.scheme).toLowerCase()==="https";if(E.port===(R?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var nt={scheme:"https",domainHost:rt.domainHost,parse:rt.parse,serialize:rt.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var it={scheme:"ws",domainHost:true,parse:function parse(E,N){var R=E;R.secure=isSecure(R);R.resourceName=(R.path||"/")+(R.query?"?"+R.query:"");R.path=undefined;R.query=undefined;return R},serialize:function serialize(E,N){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var R=E.resourceName.split("?"),$=j(R,2),q=$[0],G=$[1];E.path=q&&q!=="/"?q:undefined;E.query=G;E.resourceName=undefined}E.fragment=undefined;return E}};var ot={scheme:"wss",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};var st={};var ct=true;var ut="[A-Za-z0-9\\-\\.\\_\\~"+(ct?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var dt="[0-9A-Fa-f]";var pt=subexp(subexp("%[EFef]"+dt+"%"+dt+dt+"%"+dt+dt)+"|"+subexp("%[89A-Fa-f]"+dt+"%"+dt+dt)+"|"+subexp("%"+dt+dt));var ft="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var mt="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var ht=merge(mt,'[\\"\\\\]');var _t="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var yt=new RegExp(ut,"g");var vt=new RegExp(pt,"g");var bt=new RegExp(merge("[^]",ft,"[\\.]",'[\\"]',ht),"g");var xt=new RegExp(merge("[^]",ut,_t),"g");var St=xt;function decodeUnreserved(E){var N=pctDecChars(E);return!N.match(yt)?E:N}var Et={scheme:"mailto",parse:function parse$$1(E,N){var R=E;var j=R.to=R.path?R.path.split(","):[];R.path=undefined;if(R.query){var $=false;var q={};var G=R.query.split("&");for(var ie=0,ae=G.length;ie{"use strict";const j=R(82361).EventEmitter;const $=R(15808);const q=R(71017);const G=R(68862);const ie=Object.freeze({});let ae=1e3;const ce=R(22037).platform()==="darwin";const le=process.env.WATCHPACK_POLLING;const _e=`${+le}`===le?+le:!!le&&le!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,N){return function(){if(--E===0){return N()}}}class Watcher extends j{constructor(E,N,R){super();this.directoryWatcher=E;this.path=N;this.startTime=R&&+R;this._cachedTimeInfoEntries=undefined}checkStartTime(E,N){const R=this.startTime;if(typeof R!=="number")return!N;return R<=E}close(){this.emit("closed")}}class DirectoryWatcher extends j{constructor(E,N,R){super();if(_e){R.poll=_e}this.watcherManager=E;this.options=R;this.path=N;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=R.ignored;this.nestedWatching=false;this.polledWatching=typeof R.poll==="number"?R.poll:R.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(E){if(!this.ignored)return false;E=E.replace(/\\/g,"/");return this.ignored.test(E)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(ce){this.watchInParentDirectory()}this.watcher=G.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,N){const R=this.watchers.get(withoutCase(E));if(R!==undefined){for(const E of R){N(E)}}}setMissing(E,N,R){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(E)}const j=this.directories.get(E);if(j){if(this.nestedWatching)j.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",R)));if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}const $=this.files.get(E);if($){this.files.delete(E);const j=withoutCase(E);const $=this.filesWithoutCase.get(j)-1;if($<=0){this.filesWithoutCase.delete(j);this.forEachWatcher(E,(E=>E.emit("remove",R)))}else{this.filesWithoutCase.set(j,$)}if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}}setFileTime(E,N,R,j,$){const q=Date.now();if(this.checkIgnore(E))return;const G=this.files.get(E);let ie,ce;if(R){ie=Math.min(q,N)+ae;ce=ae}else{ie=q;ce=0;if(G&&G.timestamp===N&&N+ae{if(!R||E.checkStartTime(ie,R)){E.emit("change",N,$)}}))}else if(!R){this.forEachWatcher(E,(E=>E.emit("change",N,$)))}this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(ie,R)){N.emit("change",E,ie,$,R)}}))}setDirectory(E,N,R,j){if(this.checkIgnore(E))return;if(E===this.path){if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,N,j,R)))}}else{const $=this.directories.get(E);if(!$){const $=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let q;if(R){q=Math.min($,N)+ae}else{q=$}this.forEachWatcher(E,(E=>{if(!R||E.checkStartTime(q,false)){E.emit("change",N,j)}}));this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(q,R)){N.emit("change",E,q,j,R)}}))}}}createNestedWatcher(E){const N=this.watcherManager.watchDirectory(E,1);N.on("change",((E,N,R,j)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,($=>{if(!j||$.checkStartTime(N,j)){$.emit("change",E,N,R,j)}}))}));this.directories.set(E,N)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,N]of this.directories){N.close();this.directories.set(E,true)}}}}watch(E,N){const R=withoutCase(E);let j=this.watchers.get(R);if(j===undefined){j=new Set;this.watchers.set(R,j)}this.refs++;const $=new Watcher(this,E,N);$.on("closed",(()=>{if(--this.refs<=0){this.close();return}j.delete($);if(j.size===0){this.watchers.delete(R);if(this.path===E)this.setNestedWatching(false)}}));j.add($);let q;if(E===this.path){this.setNestedWatching(true);q=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);q=Math.max(q,E.safeTime)}}else{const N=this.files.get(E);if(N){fixupEntryAccuracy(N);q=N.safeTime}else{q=0}}if(q){if(q>=N){process.nextTick((()=>{if(this.closed)return;if(E===this.path){$.emit("change",E,q,"watch (outdated on attach)",true)}else{$.emit("change",q,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;$.emit("remove")}))}}else if(!this.directories.has(E)&&$.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;$.emit("initial-missing","watch (missing on attach)")}))}return $}onWatchEvent(E,N){if(this.closed)return;if(!N){this.doScan(false);return}const R=q.join(this.path,N);if(this.checkIgnore(R))return;if(this._activeEvents.get(N)===undefined){this._activeEvents.set(N,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(N,false);$.lstat(R,((j,G)=>{if(this.closed)return;if(this._activeEvents.get(N)===true){process.nextTick(checkStats);return}this._activeEvents.delete(N);if(j){if(j.code!=="ENOENT"&&j.code!=="EPERM"&&j.code!=="EBUSY"){this.onStatsError(j)}else{if(N===q.basename(this.path)){if(!$.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!G){this.setMissing(R,false,E)}else if(G.isDirectory()){this.setDirectory(R,+G.birthtime||1,false,E)}else if(G.isFile()||G.isSymbolicLink()){if(G.mtime){ensureFsAccuracy(G.mtime)}this.setFileTime(R,+G.mtime||+G.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(N,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const N=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,N)}for(const E of this.files.keys()){this.setMissing(E,null,N)}}watchInParentDirectory(){if(!this.parentWatcher){const E=q.dirname(this.path);if(q.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,N)=>{if(this.closed)return;if((!ce||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(R=>R.emit("change",this.path,E,N,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;$.readdir(this.path,((N,R)=>{if(this.closed)return;if(N){if(N.code==="ENOENT"||N.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(N)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const N of E){if(N.checkStartTime(this.initialScanFinished,false)){N.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const j=new Set(R.map((E=>q.join(this.path,E.normalize("NFC")))));for(const N of this.files.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}for(const N of this.directories.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const G=needCalls(j.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const N of j){E.delete(withoutCase(N))}for(const N of E.values()){for(const E of N){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const N of j){$.lstat(N,((R,j)=>{if(this.closed)return;if(R){if(R.code==="ENOENT"||R.code==="EPERM"||R.code==="EBUSY"){this.setMissing(N,E,"scan ("+R.code+")")}else{this.onScanError(R)}G();return}if(j.isFile()||j.isSymbolicLink()){if(j.mtime){ensureFsAccuracy(j.mtime)}this.setFileTime(N,+j.mtime||+j.ctime||1,E,true,"scan (file)")}else if(j.isDirectory()){if(!E||!this.directories.has(N))this.setDirectory(N,+j.birthtime||1,E,"scan (dir)")}G()}))}G()}))}))}getTimes(){const E=Object.create(null);let N=this.lastWatchEvent;for(const[R,j]of this.files){fixupEntryAccuracy(j);N=Math.max(N,j.safeTime);E[R]=Math.max(j.safeTime,j.timestamp)}if(this.nestedWatching){for(const R of this.directories.values()){const j=R.directoryWatcher.getTimes();for(const R of Object.keys(j)){const $=j[R];N=Math.max(N,$);E[R]=$}}E[this.path]=N}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!Object.prototype.hasOwnProperty.call(E,N)){E[N]=null}}}}return E}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const E=new Map;let N=this.lastWatchEvent;for(const[R,j]of this.files){fixupEntryAccuracy(j);N=Math.max(N,j.safeTime);E.set(R,j)}if(this.nestedWatching){for(const R of this.directories.values()){const j=R.directoryWatcher.getTimeInfoEntries();for(const[R,$]of j){if($){N=Math.max(N,$.safeTime)}E.set(R,$)}}E.set(this.path,{safeTime:N})}else{for(const N of this.directories.keys()){E.set(N,ie)}E.set(this.path,ie)}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!E.has(N)){E.set(N,null)}}}this._cachedTimeInfoEntries=E}return E}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ie;function fixupEntryAccuracy(E){if(E.accuracy>ae){E.safeTime=E.safeTime-E.accuracy+ae;E.accuracy=ae}}function ensureFsAccuracy(E){if(!E)return;if(ae>1&&E%1!==0)ae=1;else if(ae>10&&E%10!==0)ae=10;else if(ae>100&&E%100!==0)ae=100}},99181:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")q.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const N=this.cache.get(E);if(N!==undefined){return N}const R=$.dirname(E);if(R===E){const N=Object.freeze([E]);this.cache.set(E,N);return N}const G=this.resolve(R);let ie=E;if(G[0]!==R){const N=$.basename(E);ie=$.resolve(G[0],N)}try{const N=j.readlinkSync(ie);const R=$.resolve(G[0],N);const q=this.resolve(R);let ae;if(q.length>1&&G.length>1){const E=new Set(q);E.add(ie);for(let N=1;N1){ae=G.slice();ae[0]=q[0];ae.push(ie);Object.freeze(ae)}else if(q.length>1){ae=q.slice();ae.push(ie);Object.freeze(ae)}else{ae=Object.freeze([q[0],ie])}this.cache.set(E,ae);return ae}catch(N){if(!q.has(N.code)){throw N}const R=G.slice();R[0]=ie;Object.freeze(R);this.cache.set(E,R);return R}}}E.exports=LinkResolver},53982:(E,N,R)=>{"use strict";const j=R(71017);const $=R(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const N=this.directoryWatchers.get(E);if(N===undefined){const N=new $(this,E,this.options);this.directoryWatchers.set(E,N);N.on("closed",(()=>{this.directoryWatchers.delete(E)}));return N}return N}watchFile(E,N){const R=j.dirname(E);if(R===E)return null;return this.getDirectoryWatcher(R).watch(E,N)}watchDirectory(E,N){return this.getDirectoryWatcher(E).watch(E,N)}}const q=new WeakMap;E.exports=E=>{const N=q.get(E);if(N!==undefined)return N;const R=new WatcherManager(E);q.set(E,R);return R};E.exports.WatcherManager=WatcherManager},27601:(E,N,R)=>{"use strict";const j=R(71017);E.exports=(E,N)=>{const R=new Map;for(const[N,j]of E){R.set(N,{filePath:N,parent:undefined,children:undefined,entries:1,active:true,value:j})}let $=R.size;for(const E of R.values()){const N=j.dirname(E.filePath);if(N!==E.filePath){let j=R.get(N);if(j===undefined){j={filePath:N,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};R.set(N,j);E.parent=j}else{E.parent=j;if(j.children===undefined){j.children=[E]}else{j.children.push(E)}do{j.entries+=E.entries;j=j.parent}while(j)}}}while($>N){const E=$-N;let j=undefined;let q=Infinity;for(const $ of R.values()){if($.entries<=1||!$.children||!$.parent)continue;if($.children.length===0)continue;if($.children.length===1&&!$.value)continue;const R=$.entries-1>=E?$.entries-1-E:E-$.entries+1+N*.3;if(R{"use strict";const j=R(57147);const $=R(71017);const{EventEmitter:q}=R(82361);const G=R(27601);const ie=R(22037).platform()==="darwin";const ae=R(22037).platform()==="win32";const ce=ie||ae;const le=+process.env.WATCHPACK_WATCHER_LIMIT||(ie?2e3:1e4);const _e=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let Ee=false;let Te=0;const we=new Map;const Ie=new Map;const Ne=new Map;const Me=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const N=j.watch(E);this.watcher=N;N.on("change",((E,N)=>{for(const R of this.watchers){R.emit("change",E,N)}}));N.on("error",(E=>{for(const N of this.watchers){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.watchers){N.emit("error",E)}}))}Te++}add(E){Me.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Ne.delete(this.filePath);Te--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const N=j.watch(E,{recursive:true});this.watcher=N;N.on("change",((E,N)=>{if(!N){if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const N of this.mapWatcherToPath.keys()){N.emit("change",E)}}else{const R=$.dirname(N);const j=this.mapPathToWatchers.get(R);if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${N}' to ${j?j.size:0} watchers\n`)}if(j===undefined)return;for(const R of j){R.emit("change",E,$.basename(N))}}}));N.on("error",(E=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}Te++;if(_e){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,N){Me.set(N,this);const R=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(N,R);const j=this.mapPathToWatchers.get(R);if(j===undefined){const E=new Set;E.add(N);this.mapPathToWatchers.set(R,E)}else{j.add(N)}}remove(E){const N=this.mapWatcherToPath.get(E);if(!N)return;this.mapWatcherToPath.delete(E);const R=this.mapPathToWatchers.get(N);R.delete(E);if(R.size===0){this.mapPathToWatchers.delete(N)}if(this.mapWatcherToPath.size===0){Ie.delete(this.rootPath);Te--;if(this.watcher)this.watcher.close();if(_e){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends q{close(){if(we.has(this)){we.delete(this);return}const E=Me.get(this);E.remove(this);Me.delete(this)}}const createDirectWatcher=E=>{const N=Ne.get(E);if(N!==undefined)return N;const R=new DirectWatcher(E);Ne.set(E,R);return R};const createRecursiveWatcher=E=>{const N=Ie.get(E);if(N!==undefined)return N;const R=new RecursiveWatcher(E);Ie.set(E,R);return R};const execute=()=>{const E=new Map;const addWatcher=(N,R)=>{const j=E.get(R);if(j===undefined){E.set(R,N)}else if(Array.isArray(j)){j.push(N)}else{E.set(R,[j,N])}};for(const[E,N]of we){addWatcher(E,N)}we.clear();if(!ce||le-Te>=E.size){for(const[N,R]of E){const E=createDirectWatcher(N);if(Array.isArray(R)){for(const N of R)E.add(N)}else{E.add(R)}}return}for(const E of Ie.values()){for(const[N,R]of E.getWatchers()){addWatcher(N,$.join(E.rootPath,R))}}for(const E of Ne.values()){for(const N of E.getWatchers()){addWatcher(N,E.filePath)}}const N=G(E,le*.9);for(const[E,R]of N){if(R.size===1){for(const[E,N]of R){const R=createDirectWatcher(N);const j=Me.get(E);if(j===R)continue;R.add(E);if(j!==undefined)j.remove(E)}}else{const N=new Set(R.values());if(N.size>1){const N=createRecursiveWatcher(E);for(const[E,j]of R){const R=Me.get(E);if(R===N)continue;N.add(j,E);if(R!==undefined)R.remove(E)}}else{for(const E of N){const N=createDirectWatcher(E);for(const E of R.keys()){const R=Me.get(E);if(R===N)continue;N.add(E);if(R!==undefined)R.remove(E)}}}}}};N.watch=E=>{const N=new Watcher;const R=Ne.get(E);if(R!==undefined){R.add(N);return N}let j=E;for(;;){const R=Ie.get(j);if(R!==undefined){R.add(E,N);return N}const q=$.dirname(j);if(q===j)break;j=q}we.set(N,E);if(!Ee)execute();return N};N.batch=E=>{Ee=true;try{E()}finally{Ee=false;execute()}};N.getNumberOfWatchers=()=>Te},92512:(E,N,R)=>{"use strict";const j=R(53982);const $=R(99181);const q=R(82361).EventEmitter;const G=R(70554);const ie=R(68862);let ae;const ce=[];const le={};function addWatchersToSet(E,N){for(const R of E){if(R!==true&&!N.has(R.directoryWatcher)){N.add(R.directoryWatcher);addWatchersToSet(R.directoryWatcher.directories.values(),N)}}}const stringToRegexp=E=>{const N=G(E,{globstar:true,extended:true}).source;const R=N.slice(0,N.length-1)+"(?:$|\\/)";return R};const ignoredToRegexp=E=>{if(Array.isArray(E)){return new RegExp(E.map((E=>stringToRegexp(E))).join("|"))}else if(typeof E==="string"){return new RegExp(stringToRegexp(E))}else if(E instanceof RegExp){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return undefined}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToRegexp(E.ignored),poll:E.poll});const _e=new WeakMap;const cachedNormalizeOptions=E=>{const N=_e.get(E);if(N!==undefined)return N;const R=normalizeOptions(E);_e.set(E,R);return R};class Watchpack extends q{constructor(E){super();if(!E)E=le;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=j(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,N,R){let j,q,G,ae;if(!N){({files:j=ce,directories:q=ce,missing:G=ce,startTime:ae}=E)}else{j=E;q=N;G=ce;ae=R}this.paused=false;const le=this.fileWatchers;const _e=this.directoryWatchers;const Ee=this.watcherOptions.ignored;const Te=Ee?E=>!Ee.test(E.replace(/\\/g,"/")):()=>true;const addToMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,[R])}else{j.push(R)}};const we=new Map;const Ie=new Map;const Ne=new Set;if(this.watcherOptions.followSymlinks){const E=new $;for(const N of j){if(Te(N)){for(const R of E.resolve(N)){if(N===R||Te(R)){addToMap(we,R,N)}}}}for(const N of G){if(Te(N)){for(const R of E.resolve(N)){if(N===R||Te(R)){Ne.add(N);addToMap(we,R,N)}}}}for(const N of q){if(Te(N)){let R=true;for(const j of E.resolve(N)){if(Te(j)){addToMap(R?Ie:we,j,N)}R=false}}}}else{for(const E of j){if(Te(E)){addToMap(we,E,E)}}for(const E of G){if(Te(E)){Ne.add(E);addToMap(we,E,E)}}for(const E of q){if(Te(E)){addToMap(Ie,E,E)}}}const Me=new Map;const Le=new Map;const setupFileWatcher=(E,N,R)=>{E.on("initial-missing",(E=>{for(const N of R){if(!Ne.has(N))this._onRemove(N,N,E)}}));E.on("change",((E,N)=>{for(const j of R){this._onChange(j,E,j,N)}}));E.on("remove",(E=>{for(const N of R){this._onRemove(N,N,E)}}));Me.set(N,E)};const setupDirectoryWatcher=(E,N,R)=>{E.on("initial-missing",(E=>{for(const N of R){this._onRemove(N,N,E)}}));E.on("change",((E,N,j)=>{for(const $ of R){this._onChange($,N,E,j)}}));E.on("remove",(E=>{for(const N of R){this._onRemove(N,N,E)}}));Le.set(N,E)};const Be=[];const je=[];for(const[E,N]of le){if(!we.has(E)){N.close()}else{Be.push(N)}}for(const[E,N]of _e){if(!Ie.has(E)){N.close()}else{je.push(N)}}ie.batch((()=>{for(const[E,N]of we){const R=this.watcherManager.watchFile(E,ae);if(R){setupFileWatcher(R,E,N)}}for(const[E,N]of Ie){const R=this.watcherManager.watchDirectory(E,ae);if(R){setupDirectoryWatcher(R,E,N)}}}));for(const E of Be)E.close();for(const E of je)E.close();this.fileWatchers=Me;this.directoryWatchers=Le;this.startTime=ae}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const N=Object.create(null);for(const R of E){const E=R.getTimes();for(const R of Object.keys(E))N[R]=E[R]}return N}getTimeInfoEntries(){if(ae===undefined){ae=R(56755).EXISTANCE_ONLY_TIME_ENTRY}const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const N=new Map;for(const R of E){const E=R.getTimeInfoEntries();for(const[R,j]of E){if(N.has(R)){if(j===ae)continue;const E=N.get(R);if(E===j)continue;if(E!==ae){N.set(R,Object.assign({},E,j));continue}}N.set(R,j)}}return N}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:N}}_onChange(E,N,R,j){R=R||E;if(!this.paused){this.emit("change",R,N,j);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,N,R){N=N||E;if(!this.paused){this.emit("remove",N,R);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,N)}}E.exports=Watchpack},32323:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{toConstantDependency:ie,evaluateToString:ae}=R(48472);const ce=R(64255);const le=R(75948);const _e={__webpack_require__:{expr:j.require,req:[j.require],type:"function",assign:false},__webpack_public_path__:{expr:j.publicPath,req:[j.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:j.baseURI,req:[j.baseURI],type:"string",assign:true},__webpack_modules__:{expr:j.moduleFactories,req:[j.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:j.ensureChunk,req:[j.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:j.scriptNonce,req:[j.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${j.getFullHash}()`,req:[j.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:j.chunkName,req:[j.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:j.getChunkScriptFilename,req:[j.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:j.runtimeId,req:[j.runtimeId],assign:false},"require.onError":{expr:j.uncaughtErrorHandler,req:[j.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:j.systemContext,req:[j.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:j.shareScopeMap,req:[j.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:j.initializeSharing,req:[j.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.hooks.runtimeRequirementInTree.for(j.chunkName).tap("APIPlugin",(N=>{E.addRuntimeModule(N,new ce(N.name));return true}));E.hooks.runtimeRequirementInTree.for(j.getFullHash).tap("APIPlugin",((N,R)=>{E.addRuntimeModule(N,new le);return true}));const handler=E=>{Object.keys(_e).forEach((N=>{const R=_e[N];E.hooks.expression.for(N).tap("APIPlugin",ie(E,R.expr,R.req));if(R.assign===false){E.hooks.assign.for(N).tap("APIPlugin",(E=>{const R=new $(`${N} must not be assigned`);R.loc=E.loc;throw R}))}if(R.type){E.hooks.evaluateTypeof.for(N).tap("APIPlugin",ae(R.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(N=>{const R=new q(JSON.stringify(E.state.module.layer),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(N=>(E.state.module.layer===null?(new G).setNull():(new G).setString(E.state.module.layer)).setRange(N.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(N=>(new G).setString(E.state.module.layer===null?"object":"string").setRange(N.range)))};N.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);N.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,N,R)=>{"use strict";const j=R(81627);const $=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match($);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends j{constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,N,R)=>{"use strict";const j=R(32448);const $=R(56202);class AsyncDependenciesBlock extends j{constructor(E,N,R){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=N;this.request=R;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){if(this.groupOptions.name!==E){this.groupOptions.name=E;this._stringifiedGroupOptions=undefined}}updateHash(E,N){const{chunkGraph:R}=N;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const j=R.getBlockChunkGroup(this);E.update(`${this._stringifiedGroupOptions}${j?j.id:""}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.groupOptions);N(this.loc);N(this.request);super.serialize(E)}deserialize(E){const{read:N}=E;this.groupOptions=N();this.loc=N();this.request=N();super.deserialize(E)}}$(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,N,R)=>{"use strict";const j=R(81627);class AsyncDependencyToInitialChunkError extends j{constructor(E,N,R){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=N;this.loc=R}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,N,R)=>{"use strict";const j=R(62355);const $=R(53520);const q=R(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));let N=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{N=[];for(const R of E.modules){if(R instanceof $){N.push({context:R.context,request:R.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((R,$)=>{if(!N)return $();j.forEach(N,((N,j)=>{R.addModuleChain(N.context||E.context,new q(`!!${N.request}`),j)}),(E=>{N=null;$(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(3080);const q=R(70354);const G=R(58159);const ie=R(35817);const ae=ie(R(50879),(()=>R(87298)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return G.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}ae(E);this.options=E;const N=E.banner;if(typeof N==="function"){const E=N;this.banner=this.options.raw?E:N=>wrapComment(E(N))}else{const E=this.options.raw?N:wrapComment(N);this.banner=()=>E}}apply(E){const N=this.options;const R=this.banner;const G=q.matchObject.bind(undefined,N);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:$.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const $ of E.chunks){if(N.entryOnly&&!$.canBeInitial()){continue}for(const N of $.files){if(!G(N)){continue}const q={chunk:$,filename:N};const ie=E.getPath(R,q);E.updateAsset(N,(E=>new j(ie,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,N,R)=>{"use strict";const{AsyncParallelHook:j,AsyncSeriesBailHook:$,SyncHook:q}=R(92960);const{makeWebpackError:G,makeWebpackErrorCallback:ie}=R(3728);const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=0;return N(R)}};class Cache{constructor(){this.hooks={get:new $(["identifier","etag","gotHandlers"]),store:new j(["identifier","etag","data"]),storeBuildDependencies:new j(["dependencies"]),beginIdle:new q([]),endIdle:new j([]),shutdown:new j([])}}get(E,N,R){const j=[];this.hooks.get.callAsync(E,N,j,((E,N)=>{if(E){R(G(E,"Cache.hooks.get"));return}if(N===null){N=undefined}if(j.length>1){const E=needCalls(j.length,(()=>R(null,N)));for(const R of j){R(N,E)}}else if(j.length===1){j[0](N,(()=>R(null,N)))}else{R(null,N)}}))}store(E,N,R,j){this.hooks.store.callAsync(E,N,R,ie(j,"Cache.hooks.store"))}storeBuildDependencies(E,N){this.hooks.storeBuildDependencies.callAsync(E,ie(N,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ie(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ie(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,N,R)=>{"use strict";const j=R(62355);const $=R(77034);const q=R(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=N=>{this._items[N].get(((R,j)=>{if(R)return E(R);if(j!==undefined)return E(null,j);if(++N>=this._items.length)return E();next(N)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((N=>{if(N!==undefined)return N;if(++EN.store(E,R)),N)}storePromise(E){return Promise.all(this._items.map((N=>N.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._etag=R}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,N)=>{this._cache.get(this._name,this._etag,((R,j)=>{if(R){N(R)}else{E(j)}}))}))}store(E,N){this._cache.store(this._name,this._etag,E,N)}storePromise(E){return new Promise(((N,R)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){R(E)}else{N()}}))}))}provide(E,N){this.get(((R,j)=>{if(R)return N(R);if(j!==undefined)return j;E(((E,R)=>{if(E)return N(E);this.store(R,(E=>{if(E)return N(E);N(null,R)}))}))}))}async providePromise(E){const N=await this.getPromise();if(N!==undefined)return N;const R=await E();await this.storePromise(R);return R}}class CacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._hashFunction=R}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`,this._hashFunction)}getItemCache(E,N){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,N)}getLazyHashedEtag(E){return $(E,this._hashFunction)}mergeEtags(E,N){return q(E,N)}get(E,N,R){this._cache.get(`${this._name}|${E}`,N,R)}getPromise(E,N){return new Promise(((R,j)=>{this._cache.get(`${this._name}|${E}`,N,((E,N)=>{if(E){j(E)}else{R(N)}}))}))}store(E,N,R,j){this._cache.store(`${this._name}|${E}`,N,R,j)}storePromise(E,N,R){return new Promise(((j,$)=>{this._cache.store(`${this._name}|${E}`,N,R,(E=>{if(E){$(E)}else{j()}}))}))}provide(E,N,R,j){this.get(E,N,(($,q)=>{if($)return j($);if(q!==undefined)return q;R(((R,$)=>{if(R)return j(R);this.store(E,N,$,(E=>{if(E)return j(E);j(null,$)}))}))}))}async providePromise(E,N,R){const j=await this.getPromise(E,N);if(j!==undefined)return j;const $=await R();await this.storePromise(E,N,$);return $}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,N,R)=>{"use strict";const j=R(81627);const sortModules=E=>E.sort(((E,N)=>{const R=E.identifier();const j=N.identifier();if(Rj)return 1;return 0}));const createModulesListMessage=(E,N)=>E.map((E=>{let R=`* ${E.identifier()}`;const j=Array.from(N.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if(j.length>0){R+=`\n Used by ${j.length} module(s), i. e.`;R+=`\n ${j[0].identifier()}`}return R})).join("\n");class CaseSensitiveModulesWarning extends j{constructor(E,N){const R=sortModules(Array.from(E));const j=createModulesListMessage(R,N);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${j}`);this.name="CaseSensitiveModulesWarning";this.module=R[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,N,R)=>{"use strict";const j=R(45137);const $=R(71452);const{intersect:q}=R(26221);const G=R(16102);const ie=R(14146);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:ce,compareModulesById:le}=R(68673);const{createArrayToSetDeprecationSet:_e}=R(16595);const{mergeRuntime:Ee}=R(37416);const Te=_e("chunk.files");let we=1e3;class Chunk{constructor(E,N=true){this.id=null;this.ids=null;this.debugId=we++;this.name=E;this.idNameHints=new G;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new G(undefined,ce);this.runtime=undefined;this.files=N?new Te:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from(j.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return j.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const N=j.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(N.isModuleInChunk(E,this))return false;N.connectChunkAndModule(this,E);return true}removeModule(E){j.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return j.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,ae)}compareTo(E){const N=j.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return N.compareChunks(this,E)}containsModule(E){return j.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return j.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=j.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");R.disconnectChunkAndModule(this,E);R.connectChunkAndModule(N,E)}integrate(E){const N=j.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(N.canChunksBeIntegrated(this,E)){N.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const N=j.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return N.canChunksBeIntegrated(this,E)}isEmpty(){const E=j.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const N=j.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return N.getChunkSize(this,E)}integratedSize(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return R.getIntegratedChunksSize(this,E,N)}getChunkModuleMaps(E){const N=j.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const R=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){let q;for(const G of N.getOrderedChunkModulesIterable(j,le(N))){if(E(G)){if(q===undefined){q=[];R[j.id]=q}const E=N.getModuleId(G);q.push(E);$[E]=N.getRenderedModuleHash(G,undefined)}}}return{id:R,hash:$}}hasModuleInGraph(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return R.hasModuleInGraph(this,E,N)}getChunkMaps(E){const N=Object.create(null);const R=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){N[$.id]=E?$.hash:$.renderedHash;for(const E of Object.keys($.contentHash)){if(!R[E]){R[E]=Object.create(null)}R[E][$.id]=$.contentHash[E]}if($.name){j[$.id]=$.name}}return{hash:N,contentHash:R,name:j}}hasRuntime(){for(const E of this._groups){if(E instanceof $&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof $){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const N of this._groups){N.insertChunk(E,this);E.addGroup(N)}for(const N of this.idNameHints){E.idNameHints.add(N)}E.runtime=Ee(E.runtime,this.runtime)}updateHash(E,N){E.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const R=new ie;for(const E of N.getChunkModulesIterable(this)){R.add(N.getModuleHash(E,this.runtime))}R.updateHash(E);const j=N.getChunkEntryModulesWithChunkGroupIterable(this);for(const[R,$]of j){E.update(`entry${N.getModuleId(R)}${$.id}`)}}getAllAsyncChunks(){const E=new Set;const N=new Set;const R=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const j=new Set(this.groupsIterable);for(const N of j){for(const R of N.childrenIterable){if(R instanceof $){j.add(R)}else{E.add(R)}}}for(const j of E){for(const E of j.chunks){if(!R.has(E)){N.add(E)}}for(const N of j.childrenIterable){E.add(N)}}return N}getAllInitialChunks(){const E=new Set;const N=new Set(this.groupsIterable);for(const R of N){if(R.isInitial()){for(const N of R.chunks)E.add(N);for(const E of R.childrenIterable)N.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.chunks){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.asyncEntrypointsIterable){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}hasAsyncChunks(){const E=new Set;const N=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const N of this.groupsIterable){for(const R of N.childrenIterable){E.add(R)}}for(const R of E){for(const E of R.chunks){if(!N.has(E)){return true}}for(const N of R.childrenIterable){E.add(N)}}return false}getChildIdsByOrders(E,N){const R=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const N of E.childrenIterable){for(const E of Object.keys(N.options)){if(E.endsWith("Order")){const j=E.substr(0,E.length-"Order".length);let $=R.get(j);if($===undefined){$=[];R.set(j,$)}$.push({order:N.options[E],group:N})}}}}}const j=Object.create(null);for(const[$,q]of R){q.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const R=new Set;for(const j of q){for(const $ of j.group.chunks){if(N&&!N($,E))continue;R.add($.id)}}if(R.size>0){j[$]=Array.from(R)}}return j}getChildrenOfTypeInOrder(E,N){const R=[];for(const E of this.groupsIterable){for(const j of E.childrenIterable){const $=j.options[N];if($===undefined)continue;R.push({order:$,group:E,childGroup:j})}}if(R.length===0)return undefined;R.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const j=[];let $;for(const{group:E,childGroup:N}of R){if($&&$.onChunks===E.chunks){for(const E of N.chunks){$.chunks.add(E)}}else{j.push($={onChunks:E.chunks,chunks:new Set(N.chunks)})}}return j}getChildIdsByOrdersMap(E,N,R){const j=Object.create(null);const addChildIdsByOrdersToMap=N=>{const $=N.getChildIdsByOrders(E,R);for(const E of Object.keys($)){let R=j[E];if(R===undefined){j[E]=R=Object.create(null)}R[N.id]=$[E]}};if(N){const E=new Set;for(const N of this.groupsIterable){for(const R of N.chunks){E.add(R)}}for(const N of E){addChildIdsByOrdersToMap(N)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return j}}E.exports=Chunk},45137:(E,N,R)=>{"use strict";const j=R(73837);const $=R(71452);const q=R(79900);const{first:G}=R(26221);const ie=R(16102);const{compareModulesById:ae,compareIterables:ce,compareModulesByIdentifier:le,concatComparators:_e,compareSelect:Ee,compareIds:Te}=R(68673);const we=R(35891);const Ie=R(62598);const{RuntimeSpecMap:Ne,RuntimeSpecSet:Me,runtimeToString:Le,mergeRuntime:Be,forEachRuntime:je}=R(37416);const Ue=new Set;const ze=BigInt(0);const We=ce(le);class ModuleHashInfo{constructor(E,N){this.hash=E;this.renderedHash=N}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const N=new Me;for(const R of E){N.add(R.runtime)}return N};const modulesBySourceType=E=>{const N=new Map;for(const R of E){for(const E of R.getSourceTypes()){let j=N.get(E);if(j===undefined){j=new ie;N.set(E,j)}j.add(R)}}for(const[R,j]of N){if(j.size===E.size){N.set(R,E)}}return N};const Je=new WeakMap;const createOrderedArrayFunction=E=>{let N=Je.get(E);if(N!==undefined)return N;N=N=>{N.sortWith(E);return Array.from(N)};Je.set(E,N);return N};const getModulesSize=E=>{let N=0;for(const R of E){for(const E of R.getSourceTypes()){N+=R.size(E)}}return N};const getModulesSizes=E=>{let N=Object.create(null);for(const R of E){for(const E of R.getSourceTypes()){N[E]=(N[E]||0)+R.size(E)}}return N};const isAvailableChunk=(E,N)=>{const R=new Set(N.groupsIterable);for(const N of R){if(E.isInGroup(N))continue;if(N.isInitial())return false;for(const E of N.parentsIterable){R.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ie;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ie;this.entryModules=new Map;this.runtimeModules=new ie;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E,N="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._hashFunction=N;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(E){let N=this._modules.get(E);if(N===undefined){N=new ChunkGraphModule;this._modules.set(E,N)}return N}_getChunkGraphChunk(E){let N=this._chunks.get(E);if(N===undefined){N=new ChunkGraphChunk;this._chunks.set(E,N)}return N}_getGraphRoots(E){const{moduleGraph:N}=this;return Array.from(Ie(E,(E=>{const R=new Set;const addDependencies=E=>{for(const j of N.getOutgoingConnections(E)){if(!j.module)continue;const E=j.getActiveState(undefined);if(E===false)continue;if(E===q.TRANSITIVE_ONLY){addDependencies(j.module);continue}R.add(j.module)}};addDependencies(E);return R}))).sort(le)}connectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.chunks.add(E);j.modules.add(N)}disconnectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);j.modules.delete(N);R.chunks.delete(E)}disconnectChunk(E){const N=this._getChunkGraphChunk(E);for(const R of N.modules){const N=this._getChunkGraphModule(R);N.chunks.delete(E)}N.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.modules.add(E)}}attachRuntimeModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.runtimeModules.add(E)}}attachFullHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;for(const E of N){R.fullHashModules.add(E)}}attachDependentHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;for(const E of N){R.dependentHashModules.add(E)}}replaceModule(E,N){const R=this._getChunkGraphModule(E);const j=this._getChunkGraphModule(N);for(const $ of R.chunks){const R=this._getChunkGraphChunk($);R.modules.delete(E);R.modules.add(N);j.chunks.add($)}R.chunks.clear();if(R.entryInChunks!==undefined){if(j.entryInChunks===undefined){j.entryInChunks=new Set}for(const $ of R.entryInChunks){const R=this._getChunkGraphChunk($);const q=R.entryModules.get(E);const G=new Map;for(const[j,$]of R.entryModules){if(j===E){G.set(N,q)}else{G.set(j,$)}}R.entryModules=G;j.entryInChunks.add($)}R.entryInChunks=undefined}if(R.runtimeInChunks!==undefined){if(j.runtimeInChunks===undefined){j.runtimeInChunks=new Set}for(const $ of R.runtimeInChunks){const R=this._getChunkGraphChunk($);R.runtimeModules.delete(E);R.runtimeModules.add(N);j.runtimeInChunks.add($);if(R.fullHashModules!==undefined&&R.fullHashModules.has(E)){R.fullHashModules.delete(E);R.fullHashModules.add(N)}if(R.dependentHashModules!==undefined&&R.dependentHashModules.has(E)){R.dependentHashModules.delete(E);R.dependentHashModules.add(N)}}R.runtimeInChunks=undefined}}isModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.modules.has(E)}isModuleInChunkGroup(E,N){for(const R of N.chunks){if(this.isModuleInChunk(E,R))return true}return false}isEntryModule(E){const N=this._getChunkGraphModule(E);return N.entryInChunks!==undefined}getModuleChunksIterable(E){const N=this._getChunkGraphModule(E);return N.chunks}getOrderedModuleChunksIterable(E,N){const R=this._getChunkGraphModule(E);R.chunks.sortWith(N);return R.chunks}getModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.size}getModuleRuntimes(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.size}getNumberOfChunkFullHashModules(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules===undefined?0:N.fullHashModules.size}getChunkModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.modules}getChunkModulesIterableBySourceType(E,N){const R=this._getChunkGraphChunk(E);const j=R.modules.getFromUnorderedCache(modulesBySourceType).get(N);return j}getOrderedChunkModulesIterable(E,N){const R=this._getChunkGraphChunk(E);R.modules.sortWith(N);return R.modules}getOrderedChunkModulesIterableBySourceType(E,N,R){const j=this._getChunkGraphChunk(E);const $=j.modules.getFromUnorderedCache(modulesBySourceType).get(N);if($===undefined)return undefined;$.sortWith(R);return $}getChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,N){const R=this._getChunkGraphChunk(E);const j=createOrderedArrayFunction(N);return R.modules.getFromUnorderedCache(j)}getChunkModuleIdMap(E,N,R=false){const j=Object.create(null);for(const $ of R?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const R of this.getOrderedChunkModulesIterable($,ae(this))){if(N(R)){if(E===undefined){E=[];j[$.id]=E}const N=this.getModuleId(R);E.push(N)}}}return j}getChunkModuleRenderedHashMap(E,N,R=0,j=false){const $=Object.create(null);for(const q of j?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const j of this.getOrderedChunkModulesIterable(q,ae(this))){if(N(j)){if(E===undefined){E=Object.create(null);$[q.id]=E}const N=this.getModuleId(j);const G=this.getRenderedModuleHash(j,q.runtime);E[N]=R?G.slice(0,R):G}}}return $}getChunkConditionMap(E,N){const R=Object.create(null);for(const j of E.getAllReferencedChunks()){R[j.id]=N(j,this)}return R}hasModuleInGraph(E,N,R){const j=new Set(E.groupsIterable);const $=new Set;for(const E of j){for(const j of E.chunks){if(!$.has(j)){$.add(j);if(!R||R(j,this)){for(const E of this.getChunkModulesIterable(j)){if(N(E)){return true}}}}}for(const N of E.childrenIterable){j.add(N)}}return false}compareChunks(E,N){const R=this._getChunkGraphChunk(E);const j=this._getChunkGraphChunk(N);if(R.modules.size>j.modules.size)return-1;if(R.modules.size0||this.getNumberOfEntryModules(N)>0){return false}return true}integrateChunks(E,N){if(E.name&&N.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(N)>0){if(E.name.length!==N.name.length){E.name=E.name.length0){E.name=N.name}}else if(N.name){E.name=N.name}for(const R of N.idNameHints){E.idNameHints.add(R)}E.runtime=Be(E.runtime,N.runtime);for(const R of this.getChunkModules(N)){this.disconnectChunkAndModule(N,R);this.connectChunkAndModule(E,R)}for(const[R,j]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(N))){this.disconnectChunkAndEntryModule(N,R);this.connectChunkAndEntryModule(E,R,j)}for(const R of N.groupsIterable){R.replaceChunk(N,E);E.addGroup(R);N.removeGroup(R)}ChunkGraph.clearChunkGraphForChunk(N)}upgradeDependentToFullHashModules(E){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)return;if(N.fullHashModules===undefined){N.fullHashModules=N.dependentHashModules}else{for(const E of N.dependentHashModules){N.fullHashModules.add(E)}N.dependentHashModules=undefined}}isEntryModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.entryModules.has(E)}connectChunkAndEntryModule(E,N,R){const j=this._getChunkGraphModule(N);const $=this._getChunkGraphChunk(E);if(j.entryInChunks===undefined){j.entryInChunks=new Set}j.entryInChunks.add(E);$.entryModules.set(N,R)}connectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);if(R.runtimeInChunks===undefined){R.runtimeInChunks=new Set}R.runtimeInChunks.add(E);j.runtimeModules.add(N)}addFullHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;R.fullHashModules.add(N)}addDependentHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;R.dependentHashModules.add(N)}disconnectChunkAndEntryModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.entryInChunks.delete(E);if(R.entryInChunks.size===0){R.entryInChunks=undefined}j.entryModules.delete(N)}disconnectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.runtimeInChunks.delete(E);if(R.runtimeInChunks.size===0){R.runtimeInChunks=undefined}j.runtimeModules.delete(N)}disconnectEntryModule(E){const N=this._getChunkGraphModule(E);for(const R of N.entryInChunks){const N=this._getChunkGraphChunk(R);N.entryModules.delete(E)}N.entryInChunks=undefined}disconnectEntries(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.keys()){const N=this._getChunkGraphModule(R);N.entryInChunks.delete(E);if(N.entryInChunks.size===0){N.entryInChunks=undefined}}N.entryModules.clear()}getNumberOfEntryModules(E){const N=this._getChunkGraphChunk(E);return N.entryModules.size}getNumberOfRuntimeModules(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules.size}getChunkEntryModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const N=new Set;for(const R of E.groupsIterable){if(R instanceof $){const j=R.getEntrypointChunk();const $=this._getChunkGraphChunk(j);for(const R of $.entryModules.values()){for(const $ of R.chunks){if($!==E&&$!==j&&!$.hasRuntime()){N.add($)}}}}}return N}hasChunkEntryDependentChunks(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.values()){for(const N of R.chunks){if(N!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules}getChunkRuntimeModulesInOrder(E){const N=this._getChunkGraphChunk(E);const R=Array.from(N.runtimeModules);R.sort(_e(Ee((E=>E.stage),Te),le));return R}getChunkFullHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkFullHashModulesSet(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkDependentHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,N){this._blockChunkGroups.set(E,N);N.addBlock(E)}disconnectChunkGroup(E){for(const N of E.blocksIterable){this._blockChunkGroups.delete(N)}E._blocks.clear()}getModuleId(E){const N=this._getChunkGraphModule(E);return N.id}setModuleId(E,N){const R=this._getChunkGraphModule(E);R.id=N}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,N){this._runtimeIds.set(E,N)}_getModuleHashInfo(E,N,R){if(!N){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (hashes not set at all)`)}else if(R===undefined){const R=new Set(N.values());if(R.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>Le(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return G(R)}else{const j=N.get(R);if(!j){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (available runtimes ${Array.from(N.keys(),Le).join(", ")})`)}return j}}hasModuleHashes(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return j&&j.has(N)}getModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).hash}getRenderedModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).renderedHash}setModuleHashes(E,N,R,j){const $=this._getChunkGraphModule(E);if($.hashes===undefined){$.hashes=new Ne}$.hashes.set(N,new ModuleHashInfo(R,j))}addModuleRuntimeRequirements(E,N,R,j=true){const $=this._getChunkGraphModule(E);const q=$.runtimeRequirements;if(q===undefined){const E=new Ne;E.set(N,j?R:new Set(R));$.runtimeRequirements=E;return}q.update(N,(E=>{if(E===undefined){return j?R:new Set(R)}else if(!j||E.size>=R.size){for(const N of R)E.add(N);return E}else{for(const N of E)R.add(N);return R}}))}addChunkRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirements;if(j===undefined){R.runtimeRequirements=N}else if(j.size>=N.size){for(const E of N)j.add(E)}else{for(const E of j)N.add(E);R.runtimeRequirements=N}}addTreeRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirementsInTree;for(const E of N)j.add(E)}getModuleRuntimeRequirements(E,N){const R=this._getChunkGraphModule(E);const j=R.runtimeRequirements&&R.runtimeRequirements.get(N);return j===undefined?Ue:j}getChunkRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);const R=N.runtimeRequirements;return R===undefined?Ue:R}getModuleGraphHash(E,N,R=true){const j=this._getChunkGraphModule(E);return R?this._getModuleGraphHashWithConnections(j,E,N):this._getModuleGraphHashBigInt(j,E,N).toString(16)}getModuleGraphHashBigInt(E,N,R=true){const j=this._getChunkGraphModule(E);return R?BigInt(`0x${this._getModuleGraphHashWithConnections(j,E,N)}`):this._getModuleGraphHashBigInt(j,E,N)}_getModuleGraphHashBigInt(E,N,R){if(E.graphHashes===undefined){E.graphHashes=new Ne}const j=E.graphHashes.provide(R,(()=>{const j=we(this._hashFunction);j.update(`${E.id}${this.moduleGraph.isAsync(N)}`);this.moduleGraph.getExportsInfo(N).updateHash(j,R);return BigInt(`0x${j.digest("hex")}`)}));return j}_getModuleGraphHashWithConnections(E,N,R){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Ne}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===q.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const j=N.buildMeta&&N.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(R,(()=>{const $=this._getModuleGraphHashBigInt(E,N,R).toString(16);const q=this.moduleGraph.getOutgoingConnections(N);const ie=new Set;const ae=new Map;const processConnection=(E,N)=>{const R=E.module;N+=R.getExportsType(this.moduleGraph,j);if(N==="Tnamespace")ie.add(R);else{const E=ae.get(N);if(E===undefined){ae.set(N,R)}else if(E instanceof Set){E.add(R)}else if(E!==R){ae.set(N,new Set([E,R]))}}};if(R===undefined||typeof R==="string"){for(const E of q){const N=E.getActiveState(R);if(N===false)continue;processConnection(E,N===true?"T":"O")}}else{for(const E of q){const N=new Set;let j="";je(R,(R=>{const $=E.getActiveState(R);N.add($);j+=activeStateToString($)+R}),true);if(N.size===1){const E=G(N);if(E===false)continue;j=activeStateToString(E)}processConnection(E,j)}}if(ie.size===0&&ae.size===0)return $;const ce=ae.size>1?Array.from(ae).sort((([E],[N])=>E{le.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,R).toString(16))};const addModulesToHash=E=>{let N=ze;for(const j of E){N=N^this._getModuleGraphHashBigInt(this._getChunkGraphModule(j),j,R)}le.update(N.toString(16))};if(ie.size===1)addModuleToHash(ie.values().next().value);else if(ie.size>1)addModulesToHash(ie);for(const[E,N]of ce){le.update(E);if(N instanceof Set){addModulesToHash(N)}else{addModuleToHash(N)}}le.update($);return le.digest("hex")}))}getTreeRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);return N.runtimeRequirementsInTree}static getChunkGraphForModule(E,N,R){const $=He.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=Ve.get(E);if(!R)throw new Error(N+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);He.set(N,q);return q(E)}static setChunkGraphForModule(E,N){Ve.set(E,N)}static clearChunkGraphForModule(E){Ve.delete(E)}static getChunkGraphForChunk(E,N,R){const $=Ge.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=qe.get(E);if(!R)throw new Error(N+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);Ge.set(N,q);return q(E)}static setChunkGraphForChunk(E,N){qe.set(E,N)}static clearChunkGraphForChunk(E){qe.delete(E)}}const Ve=new WeakMap;const qe=new WeakMap;const He=new Map;const Ge=new Map;E.exports=ChunkGraph},84558:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16102);const{compareLocations:q,compareChunks:G,compareIterables:ie}=R(68673);let ae=5e3;const getArray=E=>Array.from(E);const sortById=(E,N)=>{if(E.id{const R=E.module?E.module.identifier():"";const j=N.module?N.module.identifier():"";if(Rj)return 1;return q(E.loc,N.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=ae++;this.options=E;this._children=new $(undefined,sortById);this._parents=new $(undefined,sortById);this._asyncEntrypoints=new $(undefined,sortById);this._blocks=new $;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const N of Object.keys(E)){if(this.options[N]===undefined){this.options[N]=E[N]}else if(this.options[N]!==E[N]){if(N.endsWith("Order")){this.options[N]=Math.max(this.options[N],E[N])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${N}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const N=this.chunks.indexOf(E);if(N>0){this.chunks.splice(N,1);this.chunks.unshift(E)}else if(N<0){this.chunks.unshift(E);return true}return false}insertChunk(E,N){const R=this.chunks.indexOf(E);const j=this.chunks.indexOf(N);if(j<0){throw new Error("before chunk not found")}if(R>=0&&R>j){this.chunks.splice(R,1);this.chunks.splice(j,0,E)}else if(R<0){this.chunks.splice(j,0,E);return true}return false}pushChunk(E){const N=this.chunks.indexOf(E);if(N>=0){return false}this.chunks.push(E);return true}replaceChunk(E,N){const R=this.chunks.indexOf(E);if(R<0)return false;const j=this.chunks.indexOf(N);if(j<0){this.chunks[R]=N;return true}if(j=0){this.chunks.splice(N,1);return true}return false}isInitial(){return false}addChild(E){const N=this._children.size;this._children.add(E);return N!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const N=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return N!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,N,R){this.origins.push({module:E,loc:N,request:R})}getFiles(){const E=new Set;for(const N of this.chunks){for(const R of N.files){E.add(R)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const N of this._children){N.addParent(E);E.addChild(N)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,N){if(this.chunks.length>N.chunks.length)return-1;if(this.chunks.length{const j=R.order-E.order;if(j!==0)return j;return E.group.compareTo(N,R.group)}));j[E]=$.map((E=>E.group))}return j}setModulePreOrderIndex(E,N){this._modulePreOrderIndices.set(E,N)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,N){this._modulePostOrderIndices.set(E,N)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const N of E._children){if(!N._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${N.debugId}`)}}for(const N of E._parents){if(!N._children.has(E)){throw new Error(`checkConstraints: parent missing child ${N.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=j.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=j.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,N,R)=>{"use strict";const j=R(81627);class ChunkRenderError extends j{constructor(E,N,R){super();this.name="ChunkRenderError";this.error=R;this.message=R.message;this.details=R.stack;this.file=N;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ChunkTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:j.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(N.chunk.hasRuntime())return E;return R(E,N)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).render.tap(E,((E,N)=>{if(N.chunkGraph.getNumberOfEntryModules(N.chunk)===0||N.chunk.hasRuntime()){return E}return R(E,N.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).chunkHash.tap(E,((E,N,j)=>{if(E.hasRuntime())return;R(N,E,j)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:j.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,N,R)=>{"use strict";const j=R(62355);const{SyncBailHook:$}=R(92960);const q=R(3080);const G=R(35817);const{join:ie}=R(95396);const ae=R(2117);const ce=G(undefined,(()=>{const{definitions:E}=R(46312);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,N,R,$)=>{const q=new Set;for(const E of R){q.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of q){q.add(E.replace(/(^|\/)[^/]*$/,""))}const G=new Set;j.forEachLimit(q,10,((j,$)=>{E.readdir(ie(E,N,j),((E,N)=>{if(E){if(E.code==="ENOENT")return $();if(E.code==="ENOTDIR"){G.add(j);return $()}return $(E)}for(const E of N){const N=E;const $=j?`${j}/${N}`:N;if(!q.has($)&&!R.has($)){G.add($)}}$()}))}),(E=>{if(E)return $(E);$(null,G)}))};const getDiffToOldAssets=(E,N)=>{const R=new Set;for(const j of N){if(!E.has(j))R.add(j)}return R};const applyDiff=(E,N,R,j,$,q,G)=>{const log=E=>{if(R){j.info(E)}else{j.log(E)}};const ce=Array.from($,(E=>({type:"check",filename:E,parent:undefined})));ae(ce,10,(({type:$,filename:G,parent:ae},ce,le)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${G} was removed during cleaning by something else`);handleParent();return le()}return le(E)};const handleParent=()=>{if(ae&&--ae.remaining===0)ce(ae.job)};const _e=ie(E,N,G);switch($){case"check":if(q(G)){log(`${G} will be kept`);return process.nextTick(le)}E.stat(_e,((N,R)=>{if(N)return handleError(N);if(!R.isDirectory()){ce({type:"unlink",filename:G,parent:ae});return le()}E.readdir(_e,((E,N)=>{if(E)return handleError(E);const R={type:"rmdir",filename:G,parent:ae};if(N.length===0){ce(R)}else{const E={remaining:N.length,job:R};for(const R of N){const N=R;if(N.startsWith(".")){log(`${G} will be kept (dot-files will never be removed)`);continue}ce({type:"check",filename:`${G}/${N}`,parent:E})}}return le()}))}));break;case"rmdir":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.rmdir){j.warn(`${G} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(le)}E.rmdir(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break;case"unlink":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.unlink){j.warn(`${G} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(le)}E.unlink(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break}}),G)};const le=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=le.get(E);if(N===undefined){N={keep:new $(["ignore"])};le.set(E,N)}return N}constructor(E={}){ce(E);this.options={dry:false,...E}}apply(E){const{dry:N,keep:R}=this.options;const j=typeof R==="function"?R:typeof R==="string"?E=>E.startsWith(R):typeof R==="object"&&R.test?E=>R.test(E):()=>false;let $;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((R,q)=>{const G=CleanPlugin.getCompilationHooks(R);const ie=R.getLogger("webpack.CleanPlugin");const ae=E.outputFileSystem;if(!ae.readdir){return q(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ce=new Set;for(const E of Object.keys(R.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let N;let R=E.replace(/\\/g,"/");do{N=R;R=N.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(R!==N);if(N.startsWith("../"))continue;ce.add(N)}const le=R.getPath(E.outputPath,{});const isKept=E=>{const N=G.keep.call(E);if(N!==undefined)return N;return j(E)};const diffCallback=(E,R)=>{if(E){$=undefined;return q(E)}applyDiff(ae,le,N,ie,R,isKept,(E=>{if(E){$=undefined}else{$=ce}q(E)}))};if($){diffCallback(null,getDiffToOldAssets(ce,$))}else{getDiffToFs(ae,le,ce,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,N,R)=>{"use strict";const j=R(81627);class CodeGenerationError extends j{constructor(E,N){super();this.name="CodeGenerationError";this.error=N;this.message=N.message;this.details=N.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,N,R)=>{"use strict";const{provide:j}=R(67585);const{first:$}=R(26221);const q=R(35891);const{runtimeToString:G,RuntimeSpecMap:ie}=R(37416);class CodeGenerationResults{constructor(E="md4"){this.map=new Map;this._hashFunction=E}get(E,N){const R=this.map.get(E);if(R===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(N===undefined){if(R.size>1){const N=new Set(R.values());if(N.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return $(N)}return R.values().next().value}const j=R.get(N);if(j===undefined){throw new Error(`No code generation entry for runtime ${G(N)} for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")})`)}return j}has(E,N){const R=this.map.get(E);if(R===undefined){return false}if(N!==undefined){return R.has(N)}else if(R.size>1){const E=new Set(R.values());return E.size===1}else{return R.size===1}}getSource(E,N,R){return this.get(E,N).sources.get(R)}getRuntimeRequirements(E,N){return this.get(E,N).runtimeRequirements}getData(E,N,R){const j=this.get(E,N).data;return j===undefined?undefined:j.get(R)}getHash(E,N){const R=this.get(E,N);if(R.hash!==undefined)return R.hash;const j=q(this._hashFunction);for(const[E,N]of R.sources){j.update(E);N.updateHash(j)}if(R.runtimeRequirements){for(const E of R.runtimeRequirements)j.update(E)}return R.hash=j.digest("hex")}add(E,N,R){const $=j(this.map,E,(()=>new ie));$.set(N,R)}}E.exports=CodeGenerationResults},47207:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CommentCompilationWarning extends j{constructor(E,N){super(E);this.name="CommentCompilationWarning";this.loc=N}}$(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,N,R)=>{"use strict";const j=R(66298);const $=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(j,new j.Template);N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,N)=>{if(N.browserify!==undefined&&!N.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(N=>{if(N.arguments.length!==2)return;const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;if(R.asBool()!==true)return;const $=new j("require",N.callee.range);$.loc=N.loc;if(E.state.current.dependencies.length>0){const N=E.state.current.dependencies[E.state.current.dependencies.length-1];if(N.critical&&N.options&&N.options.request==="."&&N.userRequest==="."&&N.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency($);return true}))}));const handler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(N=>{if(N.type==="FunctionDeclaration"&&N.id&&N.id.name==="__webpack_require__"){const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.id.name,$,{name:R,declaration:{updated:false,loc:N.id.loc,range:N.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(N=>{const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.name,$,{name:R,declaration:{updated:false,loc:N.loc,range:N.range}});return true}));E.hooks.expression.for($).tap("CompatibilityPlugin",(N=>{const{name:R,declaration:$}=E.currentTagData;if(!$.updated){const N=new j(R,$.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);$.updated=true}const q=new j(R,N.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}));E.hooks.program.tap("CompatibilityPlugin",((N,R)=>{if(R.length===0)return;const $=R[0];if($.type==="Line"&&$.range[0]===0){if(E.state.source.slice(0,2).toString()!=="#!")return;const N=new j("//",0);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}}))};N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}E.exports=CompatibilityPlugin},3080:(E,N,R)=>{"use strict";const j=R(62355);const{HookMap:$,SyncHook:q,SyncBailHook:G,SyncWaterfallHook:ie,AsyncSeriesHook:ae,AsyncSeriesBailHook:ce,AsyncParallelHook:le}=R(92960);const _e=R(73837);const{CachedSource:Ee}=R(48135);const{MultiItemCache:Te}=R(6503);const we=R(62433);const Ie=R(45137);const Ne=R(84558);const Me=R(44445);const Le=R(13454);const Be=R(93010);const je=R(53840);const Ue=R(28706);const ze=R(46828);const We=R(71452);const Je=R(50717);const Ve=R(22996);const{connectChunkGroupAndChunk:qe,connectChunkGroupParentAndChild:He}=R(4642);const{makeWebpackError:Ge,tryRunOrWebpackError:Ke}=R(3728);const Qe=R(73694);const Xe=R(53453);const Ye=R(82811);const Ze=R(23280);const et=R(75412);const tt=R(54032);const rt=R(99869);const nt=R(2210);const it=R(31467);const ot=R(68661);const st=R(76150);const ct=R(37130);const ut=R(10140);const dt=R(81627);const pt=R(25457);const ft=R(44547);const{Logger:mt,LogType:ht}=R(78539);const _t=R(87279);const yt=R(30533);const{equals:vt}=R(73910);const bt=R(9738);const xt=R(83379);const{provide:St}=R(67585);const Et=R(4396);const{cachedCleverMerge:Tt}=R(90149);const{compareLocations:kt,concatComparators:Ct,compareSelect:Dt,compareIds:At,compareStringsNumeric:wt,compareModulesByIdentifier:Pt}=R(68673);const Ft=R(35891);const{arrayToSetDeprecation:It,soonFrozenObjectDeprecation:Nt,createFakeHook:Ot}=R(16595);const Mt=R(2117);const{getRuntimeKey:Rt}=R(37416);const{isSourceEqual:Lt}=R(13559);const Bt=Object.freeze({});const jt="esm";const Ut=_e.deprecate((E=>R(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const zt=Dt((E=>E.id),At);const Wt=Ct(Dt((E=>E.name),At),Dt((E=>E.fullHash),At));const $t=Dt((E=>`${E.message}`),wt);const Jt=Dt((E=>E.module&&E.module.identifier()||""),wt);const Vt=Dt((E=>E.loc),kt);const qt=Ct(Jt,Vt,$t);const Ht=new WeakMap;const Gt=new WeakMap;class Compilation{constructor(E,N){this._backCompat=E._backCompat;const getNormalModuleLoader=()=>Ut(this);const R=new ae(["assets"]);let j=new Set;const popNewAssets=E=>{let N=undefined;for(const R of Object.keys(E)){if(j.has(R))continue;if(N===undefined){N=Object.create(null)}N[R]=E[R];j.add(R)}return N};R.intercept({name:"Compilation",call:()=>{j=new Set(Object.keys(this.assets))},register:E=>{const{type:N,name:R}=E;const{fn:j,additionalAssets:$,...q}=E;const G=$===true?j:$;const ie=G?new WeakSet:undefined;switch(N){case"sync":if(G){this.hooks.processAdditionalAssets.tap(R,(E=>{if(ie.has(this.assets))G(E)}))}return{...q,type:"async",fn:(E,N)=>{try{j(E)}catch(E){return N(E)}if(ie!==undefined)ie.add(this.assets);const R=popNewAssets(E);if(R!==undefined){this.hooks.processAdditionalAssets.callAsync(R,N);return}N()}};case"async":if(G){this.hooks.processAdditionalAssets.tapAsync(R,((E,N)=>{if(ie.has(this.assets))return G(E,N);N()}))}return{...q,fn:(E,N)=>{j(E,(R=>{if(R)return N(R);if(ie!==undefined)ie.add(this.assets);const j=popNewAssets(E);if(j!==undefined){this.hooks.processAdditionalAssets.callAsync(j,N);return}N()}))}};case"promise":if(G){this.hooks.processAdditionalAssets.tapPromise(R,(E=>{if(ie.has(this.assets))return G(E);return Promise.resolve()}))}return{...q,fn:E=>{const N=j(E);if(!N||!N.then)return N;return N.then((()=>{if(ie!==undefined)ie.add(this.assets);const N=popNewAssets(E);if(N!==undefined){return this.hooks.processAdditionalAssets.promise(N)}}))}}}}});const Ee=new q(["assets"]);const createProcessAssetsHook=(E,N,j,$)=>{if(!this._backCompat&&$)return undefined;const errorMessage=N=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${N}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:N}};return Ot({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,N)=>{R.tap(getOptions(E),(()=>N(...j())))},tapAsync:(E,N)=>{R.tapAsync(getOptions(E),((E,R)=>N(...j(),R)))},tapPromise:(E,N)=>{R.tapPromise(getOptions(E),(()=>N(...j())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,$)};this.hooks=Object.freeze({buildModule:new q(["module"]),rebuildModule:new q(["module"]),failedModule:new q(["module","error"]),succeedModule:new q(["module"]),stillValidModule:new q(["module"]),addEntry:new q(["entry","options"]),failedEntry:new q(["entry","options","error"]),succeedEntry:new q(["entry","options","module"]),dependencyReferencedExports:new ie(["referencedExports","dependency","runtime"]),executeModule:new q(["options","context"]),prepareModuleExecution:new le(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new q([]),seal:new q([]),beforeChunks:new q([]),afterChunks:new q(["chunks"]),optimizeDependencies:new G(["modules"]),afterOptimizeDependencies:new q(["modules"]),optimize:new q([]),optimizeModules:new G(["modules"]),afterOptimizeModules:new q(["modules"]),optimizeChunks:new G(["chunks","chunkGroups"]),afterOptimizeChunks:new q(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new q(["chunks","modules"]),optimizeChunkModules:new ce(["chunks","modules"]),afterOptimizeChunkModules:new q(["chunks","modules"]),shouldRecord:new G([]),additionalChunkRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new $((()=>new G(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new q(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new $((()=>new G(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new $((()=>new G(["chunk","runtimeRequirements","context"]))),runtimeModule:new q(["module","chunk"]),reviveModules:new q(["modules","records"]),beforeModuleIds:new q(["modules"]),moduleIds:new q(["modules"]),optimizeModuleIds:new q(["modules"]),afterOptimizeModuleIds:new q(["modules"]),reviveChunks:new q(["chunks","records"]),beforeChunkIds:new q(["chunks"]),chunkIds:new q(["chunks"]),optimizeChunkIds:new q(["chunks"]),afterOptimizeChunkIds:new q(["chunks"]),recordModules:new q(["modules","records"]),recordChunks:new q(["chunks","records"]),optimizeCodeGeneration:new q(["modules"]),beforeModuleHash:new q([]),afterModuleHash:new q([]),beforeCodeGeneration:new q([]),afterCodeGeneration:new q([]),beforeRuntimeRequirements:new q([]),afterRuntimeRequirements:new q([]),beforeHash:new q([]),contentHash:new q(["chunk"]),afterHash:new q([]),recordHash:new q(["records"]),record:new q(["compilation","records"]),beforeModuleAssets:new q([]),shouldGenerateChunkAssets:new G([]),beforeChunkAssets:new q([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:R,afterOptimizeAssets:Ee,processAssets:R,afterProcessAssets:Ee,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new G([]),afterSeal:new ae([]),renderManifest:new ie(["result","options"]),fullHash:new q(["hash"]),chunkHash:new q(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new q(["module","filename"]),chunkAsset:new q(["chunk","filename"]),assetPath:new ie(["path","options","assetInfo"]),needAdditionalPass:new G([]),childCompiler:new q(["childCompiler","compilerName","compilerIndex"]),log:new G(["origin","logEntry"]),processWarnings:new ie(["warnings"]),processErrors:new ie(["errors"]),statsPreset:new $((()=>new q(["options","context"]))),statsNormalize:new q(["options","context"]),statsFactory:new q(["statsFactory","options"]),statsPrinter:new q(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new Ve(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps,true)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const Te=E.options;this.options=Te;this.outputOptions=Te&&Te.output;this.bail=Te&&Te.bail||false;this.profile=Te&&Te.profile||false;this.params=N;this.mainTemplate=new Qe(this.outputOptions,this);this.chunkTemplate=new Le(this.outputOptions,this);this.runtimeTemplate=new ct(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ot(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new et;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new bt({name:"processDependencies",parallelism:Te.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new bt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new bt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new bt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new bt({name:"rebuild",parallelism:Te.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){It(this.chunks,"Compilation.chunks");It(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new ze;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new xt;this.contextDependencies=new xt;this.missingDependencies=new xt;this.buildDependencies=new xt;this.compilationDependencies={add:_e.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const we=Te.module.unsafeCache;this._unsafeCache=!!we;this._unsafeCachePredicate=typeof we==="function"?we:()=>true}getStats(){return new ut(this)}createStatsOptions(E,N={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const R={};for(const N in E){R[N]=E[N]}if(R.preset!==undefined){this.hooks.statsPreset.for(R.preset).call(R,N)}this.hooks.statsNormalize.call(R,N);return R}else{const E={};this.hooks.statsNormalize.call(E,N);return E}}createStatsFactory(E){const N=new _t;this.hooks.statsFactory.call(N,E);return N}createStatsPrinter(E){const N=new yt;this.hooks.statsPrinter.call(N,E);return N}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let N;return new mt(((R,j)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let $;switch(R){case ht.warn:case ht.error:case ht.trace:$=Je.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const q={time:Date.now(),type:R,args:j,trace:$};if(this.hooks.log.call(E,q)===undefined){if(q.type===ht.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${q.args[0]}`)}}if(N===undefined){N=this.logging.get(E);if(N===undefined){N=[];this.logging.set(E,N)}}N.push(q);if(q.type===ht.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${q.args[0]}`)}}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger(`${E}/${N}`)}}}))}addModule(E,N){this.addModuleQueue.add(E,N)}_addModule(E,N){const R=E.identifier();const j=this._modules.get(R);if(j){return N(null,j)}const $=this.profile?this.moduleGraph.getProfile(E):undefined;if($!==undefined){$.markRestoringStart()}this._modulesCache.get(R,null,((j,q)=>{if(j)return N(new nt(E,j));if($!==undefined){$.markRestoringEnd();$.markIntegrationStart()}if(q){q.updateCacheModule(E);E=q}this._modules.set(R,E);this.modules.add(E);if(this._backCompat)et.setModuleGraphForModule(E,this.moduleGraph);if($!==undefined){$.markIntegrationEnd()}N(null,E)}))}getModule(E){const N=E.identifier();return this._modules.get(N)}findModule(E){return this._modules.get(E)}buildModule(E,N){this.buildQueue.add(E,N)}_buildModule(E,N){const R=this.profile?this.moduleGraph.getProfile(E):undefined;if(R!==undefined){R.markBuildingStart()}E.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((j,$)=>{if(j)return N(j);if(!$){if(R!==undefined){R.markBuildingEnd()}this.hooks.stillValidModule.call(E);return N()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,(j=>{if(R!==undefined){R.markBuildingEnd()}if(j){this.hooks.failedModule.call(E,j);return N(j)}if(R!==undefined){R.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,(j=>{if(R!==undefined){R.markStoringEnd()}if(j){this.hooks.failedModule.call(E,j);return N(new it(E,j))}this.hooks.succeedModule.call(E);return N()}))}))}))}processModuleDependencies(E,N){this.processDependenciesQueue.add(E,N)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=N=>{if(N.dependencies){let R=0;for(const j of N.dependencies){this.moduleGraph.setParents(j,N,E,R++)}}if(N.blocks){for(const E of N.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,N){const R=[];let j;let $;let q;let G;let ie;let ae;let ce;let le;let _e=1;let Ee=1;const onDependenciesSorted=E=>{if(E)return N(E);if(R.length===0&&Ee===1){return N()}this.processDependenciesQueue.increaseParallelism();for(const E of R){Ee++;this.handleModuleCreation(E,(E=>{if(E&&this.bail){if(Ee<=0)return;Ee=-1;E.stack=E.stack;onTransitiveTasksFinished(E);return}if(--Ee===0)onTransitiveTasksFinished()}))}if(--Ee===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=E=>{if(E)return N(E);this.processDependenciesQueue.decreaseParallelism();return N()};const processDependency=(N,R)=>{this.moduleGraph.setParents(N,j,E,R);if(this._unsafeCache){try{const R=Ht.get(N);if(R===null)return;if(R!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(R)){this._handleExistingModuleFromUnsafeCache(E,N,R);return}const j=R.identifier();const $=this._restoredUnsafeCacheEntries.get(j);if($!==undefined){Ht.set(N,$);this._handleExistingModuleFromUnsafeCache(E,N,$);return}_e++;this._modulesCache.get(j,null,(($,q)=>{if($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}try{if(!this._restoredUnsafeCacheEntries.has(j)){const $=Gt.get(q);if($===undefined){processDependencyForResolving(N);if(--_e===0)onDependenciesSorted();return}if(q!==R){Ht.set(N,q)}q.restoreFromUnsafeCache($,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set(j,q);this._restoredUnsafeCacheModuleEntries.add(q);if(!this.modules.has(q)){Ee++;this._handleNewModuleFromUnsafeCache(E,N,q,(E=>{if(E){if(Ee<=0)return;Ee=-1;onTransitiveTasksFinished(E)}if(--Ee===0)return onTransitiveTasksFinished()}));if(--_e===0)onDependenciesSorted();return}}if(R!==q){Ht.set(N,q)}this._handleExistingModuleFromUnsafeCache(E,N,q)}catch($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}if(--_e===0)onDependenciesSorted()}));return}}catch(E){console.error(E)}}processDependencyForResolving(N)};const processDependencyForResolving=N=>{const j=N.getResourceIdentifier();if(j!==undefined&&j!==null){const _e=N.category;const Ee=N.constructor;if(q===Ee){if(ae===_e&&ce===j){le.push(N);return}}else{const E=this.dependencyFactories.get(Ee);if(E===undefined){throw new Error(`No module factory available for dependency type: ${Ee.name}`)}if(G===E){q=Ee;if(ae===_e&&ce===j){le.push(N);return}}else{if(G!==undefined){if($===undefined)$=new Map;$.set(G,ie);ie=$.get(E);if(ie===undefined){ie=new Map}}else{ie=new Map}q=Ee;G=E}}const Te=_e===jt?j:`${_e}${j}`;let we=ie.get(Te);if(we===undefined){ie.set(Te,we=[]);R.push({factory:G,dependencies:we,originModule:E})}we.push(N);ae=_e;ce=j;le=we}};try{const N=[E];do{const E=N.pop();if(E.dependencies){j=E;let N=0;for(const R of E.dependencies)processDependency(R,N++)}if(E.blocks){for(const R of E.blocks)N.push(R)}}while(N.length!==0)}catch(E){return N(E)}if(--_e===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(E,N,R,j){const $=this.moduleGraph;$.setResolvedModule(E,N,R);$.setIssuerIfUnset(R,E!==undefined?E:null);this._modules.set(R.identifier(),R);this.modules.add(R);if(this._backCompat)et.setModuleGraphForModule(R,this.moduleGraph);this._handleModuleBuildAndDependencies(E,R,true,j)}_handleExistingModuleFromUnsafeCache(E,N,R){const j=this.moduleGraph;j.setResolvedModule(E,N,R)}handleModuleCreation({factory:E,dependencies:N,originModule:R,contextInfo:j,context:$,recursive:q=true,connectOrigin:G=q},ie){const ae=this.moduleGraph;const ce=this.profile?new rt:undefined;this.factorizeModule({currentProfile:ce,factory:E,dependencies:N,factoryResult:true,originModule:R,contextInfo:j,context:$},((E,j)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=j;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}};if(E){if(j)applyFactoryResultDependencies();if(N.every((E=>E.optional))){this.warnings.push(E);return ie()}else{this.errors.push(E);return ie(E)}}const $=j.module;if(!$){applyFactoryResultDependencies();return ie()}if(ce!==undefined){ae.setProfile($,ce)}this.addModule($,((E,le)=>{if(E){applyFactoryResultDependencies();if(!E.module){E.module=le}this.errors.push(E);return ie(E)}if(this._unsafeCache&&j.cacheable!==false&&le.restoreFromUnsafeCache&&this._unsafeCachePredicate(le)){const E=le;for(let j=0;j{if($!==undefined){$.delete(N)}if(E){if(!E.module){E.module=N}this.errors.push(E);return j(E)}if(!R){this.processModuleDependenciesNonRecursive(N);j(null,N);return}if(this.processDependenciesQueue.isProcessing(N)){return j()}this.processModuleDependencies(N,(E=>{if(E){return j(E)}j(null,N)}))}))}_factorizeModule({currentProfile:E,factory:N,dependencies:R,originModule:j,factoryResult:$,contextInfo:q,context:G},ie){if(E!==undefined){E.markFactoryStart()}N.create({contextInfo:{issuer:j?j.nameForCondition():"",issuerLayer:j?j.layer:null,compiler:this.compiler.name,...q},resolveOptions:j?j.resolveOptions:undefined,context:G?G:j?j.context:this.compiler.context,dependencies:R},((N,q)=>{if(q){if(q.module===undefined&&q instanceof Xe){q={module:q}}if(!$){const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=q;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}}}if(N){const E=new tt(j,N,R.map((E=>E.loc)).filter(Boolean)[0]);return ie(E,$?q:undefined)}if(!q){return ie()}if(E!==undefined){E.markFactoryEnd()}ie(null,$?q:q.module)}))}addModuleChain(E,N,R){return this.addModuleTree({context:E,dependency:N},R)}addModuleTree({context:E,dependency:N,contextInfo:R},j){if(typeof N!=="object"||N===null||!N.constructor){return j(new dt("Parameter 'dependency' must be a Dependency"))}const $=N.constructor;const q=this.dependencyFactories.get($);if(!q){return j(new dt(`No dependency factory available for this dependency type: ${N.constructor.name}`))}this.handleModuleCreation({factory:q,dependencies:[N],originModule:null,contextInfo:R,context:E},((E,N)=>{if(E&&this.bail){j(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!E&&N){j(null,N)}else{j()}}))}addEntry(E,N,R,j){const $=typeof R==="object"?R:{name:R};this._addEntryItem(E,N,"dependencies",$,j)}addInclude(E,N,R,j){this._addEntryItem(E,N,"includeDependencies",R,j)}_addEntryItem(E,N,R,j,$){const{name:q}=j;let G=q!==undefined?this.entries.get(q):this.globalEntry;if(G===undefined){G={dependencies:[],includeDependencies:[],options:{name:undefined,...j}};G[R].push(N);this.entries.set(q,G)}else{G[R].push(N);for(const E of Object.keys(j)){if(j[E]===undefined)continue;if(G.options[E]===j[E])continue;if(Array.isArray(G.options[E])&&Array.isArray(j[E])&&vt(G.options[E],j[E])){continue}if(G.options[E]===undefined){G.options[E]=j[E]}else{return $(new dt(`Conflicting entry option ${E} = ${G.options[E]} vs ${j[E]}`))}}}this.hooks.addEntry.call(N,j);this.addModuleTree({context:E,dependency:N,contextInfo:G.options.layer?{issuerLayer:G.options.layer}:undefined},((E,R)=>{if(E){this.hooks.failedEntry.call(N,j,E);return $(E)}this.hooks.succeedEntry.call(N,j,R);return $(null,R)}))}rebuildModule(E,N){this.rebuildQueue.add(E,N)}_rebuildModule(E,N){this.hooks.rebuildModule.call(E);const R=E.dependencies.slice();const j=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,($=>{if($){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){N(Ge(E,"Compilation.hooks.finishRebuildingModule"));return}N($)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,($=>{if($)return N($);this.removeReasonsOfDependencyBlock(E,{dependencies:R,blocks:j});this.hooks.finishRebuildingModule.callAsync(E,(R=>{if(R){N(Ge(R,"Compilation.hooks.finishRebuildingModule"));return}N(null,E)}))}))}))}_computeAffectedModules(E){const N=this.compiler.moduleMemCaches;if(!N)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:R,moduleMemCaches:j}=this;const $=new Set;const q=new Set;let G=0;let ie=0;let ae=0;let ce=0;let le=0;const computeReferences=E=>{let N=undefined;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;const R=j.module;if(!E||!R||Ht.has(E))continue;if(N===undefined)N=new WeakMap;N.set(E,R)}return N};const compareReferences=(E,N)=>{if(N===undefined)return true;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;if(!E)continue;const R=N.get(E);if(R===undefined)continue;if(R!==j.module)return false}return true};const _e=new Set(E);for(const[E,R]of N){if(_e.has(E)){const G=E.buildInfo;if(G){if(R.buildInfo!==G){const N=new Et;j.set(E,N);$.add(E);R.buildInfo=G;R.references=computeReferences(E);R.memCache=N;ie++}else if(!compareReferences(E,R.references)){const N=new Et;j.set(E,N);$.add(E);R.references=computeReferences(E);R.memCache=N;ce++}else{j.set(E,R.memCache);ae++}}else{q.add(E);N.delete(E);le++}_e.delete(E)}else{N.delete(E)}}for(const E of _e){const R=E.buildInfo;if(R){const q=new Et;N.set(E,{buildInfo:R,references:computeReferences(E),memCache:q});j.set(E,q);$.add(E);G++}else{q.add(E);le++}}const reduceAffectType=E=>{let N=false;for(const{dependency:R}of E){if(!R)continue;const E=R.couldAffectReferencingModule();if(E===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(E===false)continue;N=true}return N};const Ee=new Set;for(const E of q){for(const[N,j]of R.getIncomingConnectionsByOriginModule(E)){if(!N)continue;if(q.has(N))continue;const E=reduceAffectType(j);if(!E)continue;if(E===true){Ee.add(N)}else{q.add(N)}}}for(const E of Ee)q.add(E);const Te=new Set;for(const E of $){for(const[G,ie]of R.getIncomingConnectionsByOriginModule(E)){if(!G)continue;if(q.has(G))continue;if($.has(G))continue;const E=reduceAffectType(ie);if(!E)continue;if(E===true){Te.add(G)}else{$.add(G)}const R=new Et;const ae=N.get(G);ae.memCache=R;j.set(G,R)}}for(const E of Te)$.add(E);this.logger.log(`${Math.round(100*($.size+q.size)/this.modules.size)}% (${$.size} affected + ${q.size} infected of ${this.modules.size}) modules flagged as affected (${G} new modules, ${ie} changed, ${ce} references changed, ${ae} unchanged, ${le} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:E}=this;if(!E)return;const N=this.moduleMemCaches2=new Map;const{moduleGraph:R,chunkGraph:j}=this;const $="memCache2";let q=0;let G=0;let ie=0;const computeReferences=E=>{let N=undefined;let $=undefined;const q=R.getOutgoingConnectionsByModule(E);if(q!==undefined){for(const E of q.keys()){if(!E)continue;if(N===undefined)N=new Map;N.set(E,j.getModuleId(E))}}if(E.blocks.length>0){$=[];const N=Array.from(E.blocks);for(const E of N){const R=j.getBlockChunkGroup(E);if(R){for(const E of R.chunks){$.push(E.id)}}else{$.push(null)}N.push.apply(N,E.blocks)}}return{modules:N,blocks:$}};const compareReferences=(E,{modules:N,blocks:R})=>{if(N!==undefined){for(const[E,R]of N){if(j.getModuleId(E)!==R)return false}}if(R!==undefined){const N=Array.from(E.blocks);let $=0;for(const E of N){const q=j.getBlockChunkGroup(E);if(q){for(const E of q.chunks){if($>=R.length||R[$++]!==E.id)return false}}else{if($>=R.length||R[$++]!==null)return false}N.push.apply(N,E.blocks)}if($!==R.length)return false}return true};for(const[R,j]of E){const E=j.get($);if(E===undefined){const E=new Et;j.set($,{references:computeReferences(R),memCache:E});N.set(R,E);ie++}else if(!compareReferences(R,E.references)){const j=new Et;E.references=computeReferences(R);E.memCache=j;N.set(R,j);G++}else{N.set(R,E.memCache);q++}}this.logger.log(`${Math.round(100*G/(ie+G+q))}% modules flagged as affected by chunk graph (${ie} new modules, ${G} changed, ${q} unchanged)`)}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=R(382);const N=new E;const j=this.moduleGraph;const $=new Map;for(const E of this.modules){const R=j.getProfile(E);if(!R)continue;$.set(E,R);N.range(R.buildingStartTime,R.buildingEndTime,(E=>R.buildingParallelismFactor=E));N.range(R.factoryStartTime,R.factoryEndTime,(E=>R.factoryParallelismFactor=E));N.range(R.integrationStartTime,R.integrationEndTime,(E=>R.integrationParallelismFactor=E));N.range(R.storingStartTime,R.storingEndTime,(E=>R.storingParallelismFactor=E));N.range(R.restoringStartTime,R.restoringEndTime,(E=>R.restoringParallelismFactor=E));if(R.additionalFactoryTimes){for(const{start:E,end:j}of R.additionalFactoryTimes){const $=(j-E)/R.additionalFactories;N.range(E,j,(E=>R.additionalFactoriesParallelismFactor+=E*$))}}}N.calculate();const q=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,N)=>{if(E>1e3){q.error(N)}else if(E>500){q.warn(N)}else if(E>200){q.info(N)}else if(E>30){q.log(N)}else{q.debug(N)}};const logNormalSummary=(E,N,R)=>{let j=0;let q=0;for(const[G,ie]of $){const $=R(ie);const ae=N(ie);if(ae===0||$===0)continue;const ce=ae/$;j+=ce;if(ce<=10)continue;logByValue(ce,` | ${Math.round(ce)} ms${$>=1.1?` (parallelism ${Math.round($*10)/10})`:""} ${E} > ${G.readableIdentifier(this.requestShortener)}`);q=Math.max(q,ce)}if(j<=10)return;logByValue(Math.max(j/10,q),`${Math.round(j)} ms ${E}`)};const logByLoadersSummary=(E,N,R)=>{const j=new Map;for(const[E,N]of $){const R=St(j,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));R.push({module:E,profile:N})}let q=0;let G=0;for(const[$,ie]of j){let j=0;let ae=0;for(const{module:$,profile:q}of ie){const G=R(q);const ie=N(q);if(ie===0||G===0)continue;const ce=ie/G;j+=ce;if(ce<=10)continue;logByValue(ce,` | | ${Math.round(ce)} ms${G>=1.1?` (parallelism ${Math.round(G*10)/10})`:""} ${E} > ${$.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,ce)}q+=j;if(j<=10)continue;const ce=$.indexOf("!");const le=$.slice(ce+1);const _e=$.slice(0,ce);const Ee=Math.max(j/10,ae);logByValue(Ee,` | ${Math.round(j)} ms ${E} > ${le?`${ie.length} x ${_e} with ${this.requestShortener.shorten(le)}`:`${ie.length} x ${_e}`}`);G=Math.max(G,Ee)}if(q<=10)return;logByValue(Math.max(q/10,G),`${Math.round(q)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:N,moduleMemCaches:j}=this;this.hooks.finishModules.callAsync(N,(R=>{this.logger.timeEnd("finish modules");if(R)return E(R);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const E of N){const N=j&&j.get(E);if(N&&N.get("noWarningsOrErrors"))continue;let R=this.reportDependencyErrorsAndWarnings(E,[E]);const $=E.getErrors();if($!==undefined){for(const N of $){if(!N.module){N.module=E}this.errors.push(N);R=true}}const q=E.getWarnings();if(q!==undefined){for(const N of q){if(!N.module){N.module=E}this.warnings.push(N);R=true}}if(!R&&N)N.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(E){const finalCallback=N=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(N)};const N=new Ie(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=N;if(this._backCompat){for(const E of this.modules){Ie.setChunkGraphForModule(E,N)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const R=new Map;for(const[E,{dependencies:j,includeDependencies:$,options:q}]of this.entries){const G=this.addChunk(E);if(q.filename){G.filenameTemplate=q.filename}const ie=new We(q);if(!q.dependOn&&!q.runtime){ie.setRuntimeChunk(G)}ie.setEntrypointChunk(G);this.namedChunkGroups.set(E,ie);this.entrypoints.set(E,ie);this.chunkGroups.push(ie);qe(ie,G);const ae=new Set;for(const $ of[...this.globalEntry.dependencies,...j]){ie.addOrigin(null,{name:E},$.request);const j=this.moduleGraph.getModule($);if(j){N.connectChunkAndEntryModule(G,j,ie);ae.add(j);const E=R.get(ie);if(E===undefined){R.set(ie,[j])}else{E.push(j)}}}this.assignDepths(ae);const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(Pt);const ce=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort($)];let le=R.get(ie);if(le===undefined){R.set(ie,le=[])}for(const E of ce){this.assignDepth(E);le.push(E)}}const j=new Set;e:for(const[E,{options:{dependOn:N,runtime:R}}]of this.entries){if(N&&R){const N=new dt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const R=this.entrypoints.get(E);N.chunk=R.getEntrypointChunk();this.errors.push(N)}if(N){const R=this.entrypoints.get(E);const j=R.getEntrypointChunk().getAllReferencedChunks();const $=[];for(const q of N){const N=this.entrypoints.get(q);if(!N){throw new Error(`Entry ${E} depends on ${q}, but this entry was not found`)}if(j.has(N.getEntrypointChunk())){const N=new dt(`Entrypoints '${E}' and '${q}' use 'dependOn' to depend on each other in a circular way.`);const j=R.getEntrypointChunk();N.chunk=j;this.errors.push(N);R.setRuntimeChunk(j);continue e}$.push(N)}for(const E of $){He(E,R)}}else if(R){const N=this.entrypoints.get(E);let $=this.namedChunks.get(R);if($){if(!j.has($)){const j=new dt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${R}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(R)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${R}'? For this '${R}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${R}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const $=N.getEntrypointChunk();j.chunk=$;this.errors.push(j);N.setRuntimeChunk($);continue}}else{$=this.addChunk(R);$.preventIntegration=true;j.add($)}N.unshiftChunk($);$.addGroup(N);N.setRuntimeChunk($)}}pt(this,R);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const R=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(R){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((N=>{if(N){return finalCallback(N)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const j=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(j,(N=>{if(N){return finalCallback(N)}if(R){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Nt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(R){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(Ge(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,N){let R=false;for(let j=0;j1){const $=new Map;for(const q of j){const j=N.getModuleHash(E,q);const G=$.get(j);if(G===undefined){const N={module:E,hash:j,runtime:q,runtimes:[q]};R.push(N);$.set(j,N)}else{G.runtimes.push(q)}}}}this._runCodeGenerationJobs(R,E)}_runCodeGenerationJobs(E,N){let R=0;let $=0;const{chunkGraph:q,moduleGraph:G,dependencyTemplates:ie,runtimeTemplate:ae}=this;const ce=this.codeGenerationResults;const le=[];j.eachLimit(E,this.options.parallelism,(({module:E,hash:N,runtime:j,runtimes:_e},Ee)=>{this._codeGenerationModule(E,j,_e,N,ie,q,G,ae,le,ce,((E,N)=>{if(N)$++;else R++;Ee(E)}))}),(E=>{if(E)return N(E);if(le.length>0){le.sort(Dt((E=>E.module),Pt));for(const E of le){this.errors.push(E)}}this.logger.log(`${Math.round(100*$/($+R))}% code generated (${$} generated, ${R} from cache)`);N()}))}_codeGenerationModule(E,N,R,j,$,q,G,ie,ae,ce,le){let _e=false;const Ee=new Te(R.map((N=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${Rt(N)}`,`${j}|${$.getHash()}`))));Ee.get(((j,Te)=>{if(j)return le(j);let we;if(!Te){try{_e=true;this.codeGeneratedModules.add(E);we=E.codeGeneration({chunkGraph:q,moduleGraph:G,dependencyTemplates:$,runtimeTemplate:ie,runtime:N})}catch(j){ae.push(new Be(E,j));we=Te={sources:new Map,runtimeRequirements:null}}}else{we=Te}for(const N of R){ce.add(E,N,we)}if(!Te){Ee.store(we,(E=>le(E,_e)))}else{le(null,_e)}}))}_getChunkGraphEntries(){const E=new Set;for(const N of this.entrypoints.values()){const R=N.getRuntimeChunk();if(R)E.add(R)}for(const N of this.asyncEntrypoints){const R=N.getRuntimeChunk();if(R)E.add(R)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:N=this.modules,chunks:R=this.chunks,codeGenerationResults:j=this.codeGenerationResults,chunkGraphEntries:$=this._getChunkGraphEntries()}={}){const q={chunkGraph:E,codeGenerationResults:j};const{moduleMemCaches2:G}=this;this.logger.time("runtime requirements.modules");const ie=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const R of N){if(E.getNumberOfModuleChunks(R)>0){const N=G&&G.get(R);for(const $ of E.getModuleRuntimes(R)){if(N){const j=N.get(`moduleRuntimeRequirements-${Rt($)}`);if(j!==undefined){if(j!==null){E.addModuleRuntimeRequirements(R,$,j,false)}continue}}let G;const ce=j.getRuntimeRequirements(R,$);if(ce&&ce.size>0){G=new Set(ce)}else if(ie.isUsed()){G=new Set}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}continue}ie.call(R,G,q);for(const E of G){const N=ae.get(E);if(N!==undefined)N.call(R,G,q)}if(G.size===0){if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,G);E.addModuleRuntimeRequirements(R,$,G,false)}else{E.addModuleRuntimeRequirements(R,$,G)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const N of R){const R=new Set;for(const j of E.getChunkModulesIterable(N)){const $=E.getModuleRuntimeRequirements(j,N.runtime);for(const E of $)R.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInChunk.for(E).call(N,R,q)}E.addChunkRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const N of $){const R=new Set;for(const j of N.getAllReferencedChunks()){const N=E.getChunkRuntimeRequirements(j);for(const E of N)R.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInTree.for(E).call(N,R,q)}E.addTreeRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(E,N,R=this.chunkGraph){if(this._backCompat)et.setModuleGraphForModule(N,this.moduleGraph);this.modules.add(N);this._modules.set(N.identifier(),N);R.connectChunkAndModule(E,N);R.connectChunkAndRuntimeModule(E,N);if(N.fullHash){R.addFullHashModuleToChunk(E,N)}else if(N.dependentHash){R.addDependentHashModuleToChunk(E,N)}N.attach(this,E,R);const j=this.moduleGraph.getExportsInfo(N);j.setHasProvideInfo();if(typeof E.runtime==="string"){j.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){j.setUsedForSideEffectsOnly(undefined)}else{for(const N of E.runtime){j.setUsedForSideEffectsOnly(N)}}R.addModuleRuntimeRequirements(N,E.runtime,new Set([st.requireScope]));R.setModuleId(N,"");this.hooks.runtimeModule.call(N,E)}addChunkInGroup(E,N,R,j){if(typeof E==="string"){E={name:E}}const $=E.name;if($){const q=this.namedChunkGroups.get($);if(q!==undefined){q.addOptions(E);if(N){q.addOrigin(N,R,j)}return q}}const q=new Ne(E);if(N)q.addOrigin(N,R,j);const G=this.addChunk($);qe(q,G);this.chunkGroups.push(q);if($){this.namedChunkGroups.set($,q)}return q}addAsyncEntrypoint(E,N,R,j){const $=E.name;if($){const E=this.namedChunkGroups.get($);if(E instanceof We){if(E!==undefined){if(N){E.addOrigin(N,R,j)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${$}', because there is already an chunk group with this name`)}}const q=this.addChunk($);if(E.filename){q.filenameTemplate=E.filename}const G=new We(E,false);G.setRuntimeChunk(q);G.setEntrypointChunk(q);if($){this.namedChunkGroups.set($,G)}this.chunkGroups.push(G);this.asyncEntrypoints.push(G);qe(G,q);if(N){G.addOrigin(N,R,j)}return G}addChunk(E){if(E){const N=this.namedChunks.get(E);if(N!==undefined){return N}}const N=new we(E,this._backCompat);this.chunks.add(N);if(this._backCompat)Ie.setChunkGraphForChunk(N,this.chunkGraph);if(E){this.namedChunks.set(E,N)}return N}assignDepth(E){const N=this.moduleGraph;const R=new Set([E]);let j;N.setDepth(E,0);const processModule=E=>{if(!N.setDepthIfLower(E,j))return;R.add(E)};for(E of R){R.delete(E);j=N.getDepth(E)+1;for(const R of N.getOutgoingConnections(E)){const E=R.module;if(E){processModule(E)}}}}assignDepths(E){const N=this.moduleGraph;const R=new Set(E);R.add(1);let j=0;let $=0;for(const E of R){$++;if(typeof E==="number"){j=E;if(R.size===$)return;R.add(j+1)}else{N.setDepth(E,j);for(const{module:j}of N.getOutgoingConnections(E)){if(j){R.add(j)}}}}}getDependencyReferencedExports(E,N){const R=E.getReferencedExports(this.moduleGraph,N);return this.hooks.dependencyReferencedExports.call(R,E,N)}removeReasonsOfDependencyBlock(E,N){if(N.blocks){for(const R of N.blocks){this.removeReasonsOfDependencyBlock(E,R)}}if(N.dependencies){for(const E of N.dependencies){const N=this.moduleGraph.getModule(E);if(N){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(N)){this.patchChunksAfterReasonRemoval(N,E)}}}}}}patchChunksAfterReasonRemoval(E,N){if(!E.hasReasons(this.moduleGraph,N.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(N,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,N)){this.chunkGraph.disconnectChunkAndModule(N,E);this.removeChunkFromDependencies(E,N)}}}removeChunkFromDependencies(E,N){const iteratorDependency=E=>{const R=this.moduleGraph.getModule(E);if(!R){return}this.patchChunksAfterReasonRemoval(R,N)};const R=E.blocks;for(let N=0;N{const R=N.options.runtime||N.name;const j=N.getRuntimeChunk();E.setRuntimeId(R,j.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(qt);this.warnings.sort(qt);this.children.sort(Wt)}summarizeDependencies(){for(let E=0;E0){this.logger.time("hashing: hash child compilations");for(const E of this.children){G.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ie=[];const ae=[];for(const E of this.chunks){if(E.hasRuntime()){ie.push(E)}else{ae.push(E)}}ie.sort(zt);ae.sort(zt);const ce=new Map;for(const E of ie){ce.set(E,{chunk:E,referencedBy:[],remaining:0})}let le=0;for(const E of ce.values()){for(const N of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const R=ce.get(N);R.referencedBy.push(E);E.remaining++;le++}}const _e=[];for(const E of ce.values()){if(E.remaining===0){_e.push(E.chunk)}}if(le>0){const N=[];for(const R of _e){const j=E.getNumberOfChunkFullHashModules(R)!==0;const $=ce.get(R);for(const R of $.referencedBy){if(j){E.upgradeDependentToFullHashModules(R.chunk)}le--;if(--R.remaining===0){N.push(R.chunk)}}if(N.length>0){N.sort(zt);for(const E of N)_e.push(E);N.length=0}}}if(le>0){let E=[];for(const N of ce.values()){if(N.remaining!==0){E.push(N)}}E.sort(Dt((E=>E.chunk),zt));const N=new dt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);N.chunk=E[0].chunk;this.warnings.push(N);for(const N of E)_e.push(N.chunk)}this.logger.timeEnd("hashing: sort chunks");const Ee=new Set;const Te=[];const we=new Map;const processChunk=ie=>{this.logger.time("hashing: hash runtime modules");const ae=ie.runtime;for(const R of E.getChunkModulesIterable(ie)){if(!E.hasModuleHashes(R,ae)){const G=this._createModuleHash(R,E,ae,j,N,$,q);let ie=we.get(G);if(ie){const E=ie.get(R);if(E){E.runtimes.push(ae);continue}}else{ie=new Map;we.set(G,ie)}const ce={module:R,hash:G,runtime:ae,runtimes:[ae]};ie.set(R,ce);Te.push(ce)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const ce=Ft(j);try{if(R.hashSalt){ce.update(R.hashSalt)}ie.updateHash(ce,E);this.hooks.chunkHash.call(ie,ce,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const N=ce.digest($);G.update(N);ie.hash=N;ie.renderedHash=ie.hash.substr(0,q);const j=E.getChunkFullHashModulesIterable(ie);if(j){Ee.add(ie)}else{this.hooks.contentHash.call(ie)}}catch(E){this.errors.push(new Me(ie,"",E))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const E of _e)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(G);this.fullHash=G.digest($);this.hash=this.fullHash.substr(0,q);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const R of Ee){for(const G of E.getChunkFullHashModulesIterable(R)){const ie=Ft(j);G.updateHash(ie,{chunkGraph:E,runtime:R.runtime,runtimeTemplate:N});const ae=ie.digest($);const ce=E.getModuleHash(G,R.runtime);E.setModuleHashes(G,R.runtime,ae,ae.substr(0,q));we.get(ce).get(G).hash=ae}const G=Ft(j);G.update(R.hash);G.update(this.hash);const ie=G.digest($);R.hash=ie;R.renderedHash=R.hash.substr(0,q);this.hooks.contentHash.call(R)}this.logger.timeEnd("hashing: process full hash modules");return Te}emitAsset(E,N,R={}){if(this.assets[E]){if(!Lt(this.assets[E],N)){this.errors.push(new dt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=N;this._setAssetInfo(E,R);return}const j=this.assetsInfo.get(E);const $=Object.assign({},j,R);this._setAssetInfo(E,$,j);return}this.assets[E]=N;this._setAssetInfo(E,R,undefined)}_setAssetInfo(E,N,R=this.assetsInfo.get(E)){if(N===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,N)}const j=R&&R.related;const $=N&&N.related;if(j){for(const N of Object.keys(j)){const remove=R=>{const j=this._assetsRelatedIn.get(R);if(j===undefined)return;const $=j.get(N);if($===undefined)return;$.delete(E);if($.size!==0)return;j.delete(N);if(j.size===0)this._assetsRelatedIn.delete(R)};const R=j[N];if(Array.isArray(R)){R.forEach(remove)}else if(R){remove(R)}}}if($){for(const N of Object.keys($)){const add=R=>{let j=this._assetsRelatedIn.get(R);if(j===undefined){this._assetsRelatedIn.set(R,j=new Map)}let $=j.get(N);if($===undefined){j.set(N,$=new Set)}$.add(E)};const R=$[N];if(Array.isArray(R)){R.forEach(add)}else if(R){add(R)}}}}updateAsset(E,N,R=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof N==="function"){this.assets[E]=N(this.assets[E])}else{this.assets[E]=N}if(R!==undefined){const N=this.assetsInfo.get(E)||Bt;if(typeof R==="function"){this._setAssetInfo(E,R(N),N)}else{this._setAssetInfo(E,Tt(N,R),N)}}}renameAsset(E,N){const R=this.assets[E];if(!R){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[N]){if(!Lt(this.assets[E],R)){this.errors.push(new dt(`Conflict: Called Compilation.renameAsset for already existing filename ${N} with different content`))}}const j=this.assetsInfo.get(E);const $=this._assetsRelatedIn.get(E);if($){for(const[R,j]of $){for(const $ of j){const j=this.assetsInfo.get($);if(!j)continue;const q=j.related;if(!q)continue;const G=q[R];let ie;if(Array.isArray(G)){ie=G.map((R=>R===E?N:R))}else if(G===E){ie=N}else continue;this.assetsInfo.set($,{...j,related:{...q,[R]:ie}})}}}this._setAssetInfo(E,undefined,j);this._setAssetInfo(N,j);delete this.assets[E];this.assets[N]=R;for(const R of this.chunks){{const j=R.files.size;R.files.delete(E);if(j!==R.files.size){R.files.add(N)}}{const j=R.auxiliaryFiles.size;R.auxiliaryFiles.delete(E);if(j!==R.auxiliaryFiles.size){R.auxiliaryFiles.add(N)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const N=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,N);const R=N&&N.related;if(R){for(const E of Object.keys(R)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const N=R[E];if(Array.isArray(N)){N.forEach(checkUsedAndDelete)}else if(N){checkUsedAndDelete(N)}}}for(const N of this.chunks){N.files.delete(E);N.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const N of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,N)){E.push({name:N,source:this.assets[N],info:this.assetsInfo.get(N)||Bt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Bt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const N of this.modules){if(N.buildInfo.assets){const R=N.buildInfo.assetsInfo;for(const j of Object.keys(N.buildInfo.assets)){const $=this.getPath(j,{chunkGraph:this.chunkGraph,module:N});for(const R of E.getModuleChunksIterable(N)){R.auxiliaryFiles.add($)}this.emitAsset($,N.buildInfo.assets[j],R?R.get(j):undefined);this.hooks.moduleAsset.call(N,$)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const N=this.outputOptions;const R=new WeakMap;const $=new Map;j.forEachLimit(this.chunks,15,((E,q)=>{let G;try{G=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:N,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(N){this.errors.push(new Me(E,"",N));return q()}j.forEach(G,((N,j)=>{const q=N.identifier;const G=N.hash;const ie=this._assetsCache.getItemCache(q,G);ie.get(((q,ae)=>{let ce;let le;let _e;let Te=true;const errorAndCallback=N=>{const R=le||(typeof le==="string"?le:typeof ce==="string"?ce:"");this.errors.push(new Me(E,R,N));Te=false;return j()};try{if("filename"in N){le=N.filename;_e=N.info}else{ce=N.filenameTemplate;const E=this.getPathWithInfo(ce,N.pathOptions);le=E.path;_e=N.info?{...E.info,...N.info}:E.info}if(q){return errorAndCallback(q)}let we=ae;const Ie=$.get(le);if(Ie!==undefined){if(Ie.hash!==G){Te=false;return j(new dt(`Conflict: Multiple chunks emit assets to the same filename ${le}`+` (chunks ${Ie.chunk.id} and ${E.id})`))}else{we=Ie.source}}else if(!we){we=N.render();if(!(we instanceof Ee)){const E=R.get(we);if(E){we=E}else{const E=new Ee(we);R.set(we,E);we=E}}}this.emitAsset(le,we,_e);if(N.auxiliary){E.auxiliaryFiles.add(le)}else{E.files.add(le)}this.hooks.chunkAsset.call(E,le);$.set(le,{hash:G,source:we,chunk:E});if(we!==ae){ie.store(we,(E=>{if(E)return errorAndCallback(E);Te=false;return j()}))}else{Te=false;j()}}catch(q){if(!Te)throw q;errorAndCallback(q)}}))}),q)}),E)}getPath(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPath(E,N)}getPathWithInfo(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPathWithInfo(E,N)}getAssetPath(E,N){return this.hooks.assetPath.call(typeof E==="function"?E(N):E,N,undefined)}getAssetPathWithInfo(E,N){const R={};const j=this.hooks.assetPath.call(typeof E==="function"?E(N,R):E,N,R);return{path:j,info:R}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,N,R){const j=this.childrenCounters[E]||0;this.childrenCounters[E]=j+1;return this.compiler.createChildCompiler(this,E,j,N,R)}executeModule(E,N,R){const $=new Set([E]);Mt($,10,((E,N,R)=>{this.buildQueue.waitFor(E,(j=>{if(j)return R(j);this.processDependenciesQueue.waitFor(E,(j=>{if(j)return R(j);for(const{module:R}of this.moduleGraph.getOutgoingConnections(E)){const E=$.size;$.add(R);if($.size!==E)N(R)}R()}))}))}),(q=>{if(q)return R(q);const G=new Ie(this.moduleGraph,this.outputOptions.hashFunction);const ie="build time";const{hashFunction:ae,hashDigest:ce,hashDigestLength:le}=this.outputOptions;const _e=this.runtimeTemplate;const Ee=new we("build time chunk",this._backCompat);Ee.id=Ee.name;Ee.ids=[Ee.id];Ee.runtime=ie;const Te=new We({runtime:ie,chunkLoading:false,...N.entryOptions});G.connectChunkAndEntryModule(Ee,E,Te);qe(Te,Ee);Te.setRuntimeChunk(Ee);Te.setEntrypointChunk(Ee);const Ne=new Set([Ee]);for(const E of $){const N=E.identifier();G.setModuleId(E,N);G.connectChunkAndModule(Ee,E)}for(const E of $){this._createModuleHash(E,G,ie,ae,_e,ce,le)}const Me=new je(this.outputOptions.hashFunction);const Le=[];const codeGen=(E,N)=>{this._codeGenerationModule(E,ie,[ie],G.getModuleHash(E,ie),this.dependencyTemplates,G,this.moduleGraph,_e,Le,Me,((E,R)=>{N(E)}))};const reportErrors=()=>{if(Le.length>0){Le.sort(Dt((E=>E.module),Pt));for(const E of Le){this.errors.push(E)}Le.length=0}};j.eachLimit($,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=this.chunkGraph;this.chunkGraph=G;this.processRuntimeRequirements({chunkGraph:G,modules:$,chunks:Ne,codeGenerationResults:Me,chunkGraphEntries:Ne});this.chunkGraph=q;const Te=G.getChunkRuntimeModulesIterable(Ee);for(const E of Te){$.add(E);this._createModuleHash(E,G,ie,ae,_e,ce,le)}j.eachLimit(Te,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=new Map;const ae=new Map;const ce=new xt;const le=new xt;const _e=new xt;const Te=new xt;const we=new Map;let Ie=true;const Ne={assets:we,__webpack_require__:undefined,chunk:Ee,chunkGraph:G};j.eachLimit($,10,((E,N)=>{const R=Me.get(E,ie);const j={module:E,codeGenerationResult:R,preparedInfo:undefined,moduleObject:undefined};q.set(E,j);ae.set(E.identifier(),j);E.addCacheDependencies(ce,le,_e,Te);if(E.buildInfo.cacheable===false){Ie=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:N,assetsInfo:R}=E.buildInfo;for(const E of Object.keys(N)){we.set(E,{source:N[E],info:R?R.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync(j,Ne,N)}),(N=>{if(N)return R(N);let j;try{const{strictModuleErrorHandling:N,strictModuleExceptionHandling:R}=this.outputOptions;const __nested_webpack_require_150631__=E=>{const N=ie[E];if(N!==undefined){if(N.error)throw N.error;return N.exports}const R=ae.get(E);return __webpack_require_module__(R,E)};const $=__nested_webpack_require_150631__[st.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ie=__nested_webpack_require_150631__[st.moduleCache.replace("__webpack_require__.","")]={};Ne.__webpack_require__=__nested_webpack_require_150631__;const __webpack_require_module__=(E,j)=>{var q={id:j,module:{id:j,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_150631__};$.forEach((E=>E(q)));const G=E.module;this.buildTimeExecutedModules.add(G);const ae=q.module;E.moduleObject=ae;try{if(j)ie[j]=ae;Ke((()=>this.hooks.executeModule.call(E,Ne)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(E){if(R){if(j)delete ie[j]}else if(N){ae.error=E}if(!E.module)E.module=G;throw E}};for(const E of G.getChunkRuntimeModulesInOrder(Ee)){__webpack_require_module__(q.get(E))}j=__nested_webpack_require_150631__(E.identifier())}catch(N){const j=new dt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${N.message}`);j.stack=N.stack;j.module=N.module;return R(j)}R(null,{exports:j,assets:we,cacheable:Ie,fileDependencies:ce,contextDependencies:le,missingDependencies:_e,buildDependencies:Te})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const N=new Set;for(const R of this.modules){if(R.type==="runtime")continue;const j=E.getModuleId(R);if(j===null)continue;if(N.has(j)){throw new Error(`checkConstraints: duplicate module id ${j}`)}N.add(j)}for(const N of this.chunks){for(const R of E.getChunkModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}for(const R of E.getChunkEntryModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}Compilation.prototype.factorizeModule=function(E,N){this.factorizeQueue.add(E,N)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:_e.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:_e.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,N,R)=>{"use strict";const j=R(78688);const $=R(62355);const{SyncHook:q,SyncBailHook:G,AsyncParallelHook:ie,AsyncSeriesHook:ae}=R(92960);const{SizeOnlySource:ce}=R(48135);const le=R(86443);const _e=R(54725);const Ee=R(6503);const Te=R(45137);const we=R(3080);const Ie=R(27310);const Ne=R(89869);const Me=R(75412);const Le=R(43229);const Be=R(80910);const je=R(1819);const Ue=R(10140);const ze=R(84693);const We=R(81627);const{Logger:Je}=R(78539);const{join:Ve,dirname:qe,mkdirp:He}=R(95396);const{makePathsRelative:Ge}=R(49197);const{isSourceEqual:Ke}=R(13559);const isSorted=E=>{for(let N=1;NE[N])return false}return true};const sortObject=(E,N)=>{const R={};for(const j of N.sort()){R[j]=E[j]}return R};const includesHash=(E,N)=>{if(!N)return false;if(Array.isArray(N)){return N.some((N=>E.includes(N)))}else{return E.includes(N)}};class Compiler{constructor(E,N={}){this.hooks=Object.freeze({initialize:new q([]),shouldEmit:new G(["compilation"]),done:new ae(["stats"]),afterDone:new q(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new q(["compilation","params"]),compilation:new q(["compilation","params"]),normalModuleFactory:new q(["normalModuleFactory"]),contextModuleFactory:new q(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new q(["params"]),make:new ie(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),watchRun:new ae(["compiler"]),failed:new q(["error"]),invalid:new q(["filename","changeTime"]),watchClose:new q([]),shutdown:new ae([]),infrastructureLog:new G(["origin","type","args"]),environment:new q([]),afterEnvironment:new q([]),afterPlugins:new q(["compiler"]),afterResolvers:new q(["compiler"]),entryOption:new G(["context","entry"])});this.webpack=le;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new je;this.infrastructureLogger=undefined;this.options=N;this.context=E;this.requestShortener=new Be(E,this.root);this.cache=new _e;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new Ee(this.cache,`${this.compilerPath}${E}`,this.options.output.hashFunction)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new Je(((N,R)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,N,R)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,N,R)}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger(`${E}/${N}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Te.clearChunkGraphForModule(E);Me.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Te.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,N){if(this.running){return N(new Ie)}this.running=true;this.watchMode=true;this.watching=new ze(this,E,N);return this.watching}run(E){if(this.running){return E(new Ie)}let N;const finalCallback=(R,j)=>{if(N)N.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(N)N.timeEnd("beginIdle");this.running=false;if(R){this.hooks.failed.call(R)}if(E!==undefined)E(R,j);this.hooks.afterDone.call(j)};const R=Date.now();this.running=true;const onCompiled=(E,j)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call(j)===false){j.startTime=R;j.endTime=Date.now();const E=new Ue(j);this.hooks.done.callAsync(E,(N=>{if(N)return finalCallback(N);return finalCallback(null,E)}));return}process.nextTick((()=>{N=j.getLogger("webpack.Compiler");N.time("emitAssets");this.emitAssets(j,(E=>{N.timeEnd("emitAssets");if(E)return finalCallback(E);if(j.hooks.needAdditionalPass.call()){j.needAdditionalPass=true;j.startTime=R;j.endTime=Date.now();N.time("done hook");const E=new Ue(j);this.hooks.done.callAsync(E,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}N.time("emitRecords");this.emitRecords((E=>{N.timeEnd("emitRecords");if(E)return finalCallback(E);j.startTime=R;j.endTime=Date.now();N.time("done hook");const $=new Ue(j);this.hooks.done.callAsync($,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies(j.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,$)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const N=Date.now();this.compile(((R,j)=>{if(R)return E(R);this.parentCompilation.children.push(j);for(const{name:E,source:N,info:R}of j.getAssets()){this.parentCompilation.emitAsset(E,N,R)}const $=[];for(const E of j.entrypoints.values()){$.push(...E.chunks)}j.startTime=N;j.endTime=Date.now();return E(null,$,j)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,N){let R;const emitFiles=j=>{if(j)return N(j);const q=E.getAssets();E.assets={...E.assets};const G=new Map;const ie=new Set;$.forEachLimit(q,15,(({name:N,source:j,info:$},q)=>{let ae=N;let le=$.immutable;const _e=ae.indexOf("?");if(_e>=0){ae=ae.substr(0,_e);le=le&&(includesHash(ae,$.contenthash)||includesHash(ae,$.chunkhash)||includesHash(ae,$.modulehash)||includesHash(ae,$.fullhash))}const writeOut=$=>{if($)return q($);const _e=Ve(this.outputFileSystem,R,ae);ie.add(_e);const Ee=this._assetEmittingWrittenFiles.get(_e);let Te=this._assetEmittingSourceCache.get(j);if(Te===undefined){Te={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(j,Te)}let we;const checkSimilarFile=()=>{const E=_e.toLowerCase();we=G.get(E);if(we!==undefined){const{path:E,source:R}=we;if(Ke(R,j)){if(we.size!==undefined){updateWithReplacementSource(we.size)}else{if(!we.waiting)we.waiting=[];we.waiting.push({file:N,cacheEntry:Te})}alreadyWritten()}else{const R=new We(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${_e}\n${E}`);R.file=N;q(R)}return true}else{G.set(E,we={path:_e,source:j,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof j.buffer==="function"){return j.buffer()}else{const E=j.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(Ee===undefined){const E=1;this._assetEmittingWrittenFiles.set(_e,E);Te.writtenTo.set(_e,E)}else{Te.writtenTo.set(_e,Ee)}q()};const doWrite=$=>{this.outputFileSystem.writeFile(_e,$,(G=>{if(G)return q(G);E.emittedAssets.add(N);const ie=Ee===undefined?1:Ee+1;Te.writtenTo.set(_e,ie);this._assetEmittingWrittenFiles.set(_e,ie);this.hooks.assetEmitted.callAsync(N,{content:$,source:j,outputPath:R,compilation:E,targetPath:_e},q)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(N,Te,E);we.size=E;if(we.waiting!==undefined){for(const{file:N,cacheEntry:R}of we.waiting){updateFileWithReplacementSource(N,R,E)}}};const updateFileWithReplacementSource=(N,R,j)=>{if(!R.sizeOnlySource){R.sizeOnlySource=new ce(j)}E.updateAsset(N,R.sizeOnlySource,{size:j})};const processExistingFile=R=>{if(le){updateWithReplacementSource(R.size);return alreadyWritten()}const j=getContent();updateWithReplacementSource(j.length);if(j.length===R.size){E.comparedForEmitAssets.add(N);return this.outputFileSystem.readFile(_e,((E,N)=>{if(E||!j.equals(N)){return doWrite(j)}else{return alreadyWritten()}}))}return doWrite(j)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(Ee!==undefined){const R=Te.writtenTo.get(_e);if(R===Ee){if(this._assetEmittingPreviousFiles.has(_e)){E.updateAsset(N,Te.sizeOnlySource,{size:Te.sizeOnlySource.size()});return q()}else{le=true}}else if(!le){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(_e,((E,N)=>{const R=!E&&N.isFile();if(R){processExistingFile(N)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const E=this.outputFileSystem;const N=qe(E,Ve(E,R,ae));He(E,N,writeOut)}else{writeOut()}}),(R=>{G.clear();if(R){this._assetEmittingPreviousFiles.clear();return N(R)}this._assetEmittingPreviousFiles=ie;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return N(E);return N()}))}))};this.hooks.emit.callAsync(E,(j=>{if(j)return N(j);R=E.getPath(this.outputPath,{});He(this.outputFileSystem,R,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,N)=>{if(typeof N==="object"&&N!==null&&!Array.isArray(N)){const E=Object.keys(N);if(!isSorted(E)){return sortObject(N,E)}}return N}),2),E)};const N=qe(this.outputFileSystem,this.recordsOutputPath);if(!N){return writeFile()}He(this.outputFileSystem,N,(N=>{if(N)return E(N);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(N=>{if(N)return E();this.inputFileSystem.readFile(this.recordsInputPath,((N,R)=>{if(N)return E(N);try{this.records=j(R.toString("utf-8"))}catch(N){N.message="Cannot parse records: "+N.message;return E(N)}return E()}))}))}createChildCompiler(E,N,R,j,$){const q=new Compiler(this.context,{...this.options,output:{...this.options.output,...j}});q.name=N;q.outputPath=this.outputPath;q.inputFileSystem=this.inputFileSystem;q.outputFileSystem=null;q.resolverFactory=this.resolverFactory;q.modifiedFiles=this.modifiedFiles;q.removedFiles=this.removedFiles;q.fileTimestamps=this.fileTimestamps;q.contextTimestamps=this.contextTimestamps;q.fsStartTime=this.fsStartTime;q.cache=this.cache;q.compilerPath=`${this.compilerPath}${N}|${R}|`;q._backCompat=this._backCompat;const G=Ge(this.context,N,this.root);if(!this.records[G]){this.records[G]=[]}if(this.records[G][R]){q.records=this.records[G][R]}else{this.records[G].push(q.records={})}q.parentCompilation=E;q.root=this.root;if(Array.isArray($)){for(const E of $){E.apply(q)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(q.hooks[E]){q.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(q,N,R);return q}isChild(){return!!this.parentCompilation}createCompilation(E){this._cleanupLastCompilation();return this._lastCompilation=new we(this,E)}newCompilation(E){const N=this.createCompilation(E);N.name=this.name;N.records=this.records;this.hooks.thisCompilation.call(N,E);this.hooks.compilation.call(N,E);return N}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Le({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Ne(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const N=this.newCompilationParams();this.hooks.beforeCompile.callAsync(N,(R=>{if(R)return E(R);this.hooks.compile.call(N);const j=this.newCompilation(N);const $=j.getLogger("webpack.Compiler");$.time("make hook");this.hooks.make.callAsync(j,(N=>{$.timeEnd("make hook");if(N)return E(N);$.time("finish make hook");this.hooks.finishMake.callAsync(j,(N=>{$.timeEnd("finish make hook");if(N)return E(N);process.nextTick((()=>{$.time("finish compilation");j.finish((N=>{$.timeEnd("finish compilation");if(N)return E(N);$.time("seal compilation");j.seal((N=>{$.timeEnd("seal compilation");if(N)return E(N);$.time("afterCompile hook");this.hooks.afterCompile.callAsync(j,(N=>{$.timeEnd("afterCompile hook");if(N)return E(N);return E(null,j)}))}))}))}))}))}))}))}close(E){if(this.watching){this.watching.close((N=>{this.close(E)}));return}this.hooks.shutdown.callAsync((N=>{if(N)return E(N);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const N=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const R="__WEBPACK_DEFAULT_EXPORT__";const j="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,N){this._currentModule=N;if(Array.isArray(E)){const N=new Map;for(const R of E){N.set(R.module,R)}E=N}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,N){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,N)}}registerRawExport(E,N){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,N)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:N=undefined,call:R=false,directImport:j=false,asiSafe:$=false}){const q=this._modulesMap.get(E);const G=R?"_call":"";const ie=j?"_directImport":"";const ae=$?"_asiSafe1":$===false?"_asiSafe0":"";const ce=N?Buffer.from(JSON.stringify(N),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${q.index}_${ce}${G}${ie}${ae}__._`}static isModuleReference(E){return N.test(E)}static matchModuleReference(E){const R=N.exec(E);if(!R)return null;const j=+R[1];const $=R[5];return{index:j,ids:R[2]==="ns"?[]:JSON.parse(Buffer.from(R[2],"hex").toString("utf-8")),call:!!R[3],directImport:!!R[4],asiSafe:$?$==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=R;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=j;E.exports=ConcatenationScope},27310:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class ConcurrentCompilationError extends j{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(48135);const q=R(63272);const G=R(58159);const{mergeRuntime:ie}=R(37416);const wrapInCondition=(E,N)=>{if(typeof N==="string"){return G.asString([`if (${E}) {`,G.indent(N),"}",""])}else{return new j(`if (${E}) {\n`,new $("\t",N),"}\n")}};class ConditionalInitFragment extends q{constructor(E,N,R,j,$=true,q){super(E,N,R,j,q);this.runtimeCondition=$}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.content;return wrapInCondition(N,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.endContent;return wrapInCondition(N,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const N=ie(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,N,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,N,R)=>{"use strict";const j=R(59455);const $=R(66298);const{evaluateToString:q}=R(48472);const{parseResource:G}=R(49197);const collectDeclaration=(E,N)=>{const R=[N];while(R.length>0){const N=R.pop();switch(N.type){case"Identifier":E.add(N.name);break;case"ArrayPattern":for(const E of N.elements){if(E){R.push(E)}}break;case"AssignmentPattern":R.push(N.left);break;case"ObjectPattern":for(const E of N.properties){R.push(E.value)}break;case"RestElement":R.push(N.argument);break}}};const getHoistedDeclarations=(E,N)=>{const R=new Set;const j=[E];while(j.length>0){const E=j.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const N of E.body){j.push(N)}break;case"IfStatement":j.push(E.consequent);j.push(E.alternate);break;case"ForStatement":j.push(E.init);j.push(E.body);break;case"ForInStatement":case"ForOfStatement":j.push(E.left);j.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":j.push(E.body);break;case"SwitchStatement":for(const N of E.cases){for(const E of N.consequent){j.push(E)}}break;case"TryStatement":j.push(E.block);if(E.handler){j.push(E.handler.body)}j.push(E.finalizer);break;case"FunctionDeclaration":if(N){collectDeclaration(R,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const N of E.declarations){collectDeclaration(R,N.id)}}break}}return Array.from(R)};class ConstPlugin{apply(E){const N=G.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(`${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;if(q){let N;if(E.scope.isStrict){N=getHoistedDeclarations(q,false)}else{N=getHoistedDeclarations(q,true)}let R;if(N.length>0){R=`{ var ${N.join(", ")}; }`}else{R="{}"}const j=new $(R,q.range);j.loc=q.loc;E.state.module.addPresentationalDependency(j)}return j}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;const G=new $("0",q.range);G.loc=q.loc;E.state.module.addPresentationalDependency(G);return j}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(N.operator==="&&"||N.operator==="||"){const R=E.evaluateExpression(N.left);const j=R.asBool();if(typeof j==="boolean"){const q=N.operator==="&&"&&j||N.operator==="||"&&!j;if(!R.couldHaveSideEffects()&&(R.isBoolean()||q)){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.left)}if(!q){const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}return q}}else if(N.operator==="??"){const R=E.evaluateExpression(N.left);const j=R&&R.asNullish();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()&&j){const j=new $(" null",R.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j)}else{const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);E.walkExpression(N.left)}return j}}}));E.hooks.optionalChaining.tap("ConstPlugin",(N=>{const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length){const j=R.pop();const q=E.evaluateExpression(j);if(q&&q.asNullish()){const R=new $(" undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).query)(R)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).query),R.range,"__resourceQuery");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).fragment)(R)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).fragment),R.range,"__resourceFragment");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}))};R.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(98221);const{makeWebpackError:G}=R(3728);const ie=R(53453);const ae=R(76150);const ce=R(58159);const le=R(81627);const{compareLocations:_e,concatComparators:Ee,compareSelect:Te,keepOriginalOrder:we,compareModulesById:Ie}=R(68673);const{contextify:Ne,parseResource:Me}=R(49197);const Le=R(56202);const Be={timestamp:true};const je=new Set(["javascript"]);class ContextModule extends ie{constructor(E,N){const R=Me(N?N.resource:"");const j=R.path;const $=N&&N.resourceQuery||R.query;const q=N&&N.resourceFragment||R.fragment;super("javascript/dynamic",j);this.resolveDependencies=E;this.options={...N,resource:j,resourceQuery:$,resourceFragment:q};if(N&&N.resolveOptions!==undefined){this.resolveOptions=N.resolveOptions}if(N&&typeof N.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return je}updateCacheModule(E){const N=E;this.resolveDependencies=N.resolveDependencies;this.options=N.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let N=E.shorten(this.context)+"/";if(this.options.resourceQuery){N+=` ${this.options.resourceQuery}`}if(this.options.mode){N+=` ${this.options.mode}`}if(!this.options.recursive){N+=" nonrecursive"}if(this.options.addon){N+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){N+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const R of Object.keys(E)){N+=` ${R}: ${E[R]}`}}if(this.options.namespaceObject==="strict"){N+=" strict namespace object"}else if(this.options.namespaceObject){N+=" namespace object"}return N}libIdent(E){let N=Ne(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){N+=` ${this.options.mode}`}if(this.options.recursive){N+=" recursive"}if(this.options.addon){N+=` ${Ne(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return N}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},N){if(this._forceBuild)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,R)=>{N(E,!R)}))}build(E,N,R,j,$){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ie=Date.now();this.resolveDependencies(j,this.options,((E,R)=>{if(E){return $(G(E,"ContextModule.resolveDependencies"))}if(!R){$();return}for(const E of R){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}R.sort(Ee(Te((E=>E.loc),_e),we(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=R}else if(this.options.mode==="lazy-once"){if(R.length>0){const E=new q({...this.options.groupOptions,name:this.options.chunkName});for(const N of R){E.addDependency(N)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of R){E.weak=true}this.dependencies=R}else if(this.options.mode==="lazy"){let E=0;for(const N of R){let R=this.options.chunkName;if(R){if(!/\[(index|request)\]/.test(R)){R+="[index]"}R=R.replace(/\[index\]/g,`${E++}`);R=R.replace(/\[request\]/g,ce.toPath(N.userRequest))}const j=new q({...this.options.groupOptions,name:R},N.loc,N.userRequest);j.addDependency(N);this.addBlock(j)}}else{$(new le(`Unsupported mode "${this.options.mode}" in context`));return}N.fileSystemInfo.createSnapshot(ie,null,[this.context],null,Be,((E,N)=>{if(E)return $(E);this.buildInfo.snapshot=N;$()}))}))}addCacheDependencies(E,N,R,j){N.add(this.context)}getUserRequestMap(E,N){const R=N.moduleGraph;const j=E.filter((E=>R.getModule(E))).sort(((E,N)=>{if(E.userRequest===N.userRequest){return 0}return E.userRequestR.getModule(E))).filter(Boolean).sort($);const G=Object.create(null);for(const E of q){const $=E.getExportsType(R,this.options.namespaceObject==="strict");const q=N.getModuleId(E);switch($){case"namespace":G[q]=9;j|=1;break;case"dynamic":G[q]=7;j|=2;break;case"default-only":G[q]=1;j|=4;break;case"default-with-named":G[q]=3;j|=8;break;default:throw new Error(`Unexpected exports type ${$}`)}}if(j===1){return 9}if(j===2){return 7}if(j===4){return 1}if(j===8){return 3}if(j===0){return 9}return G}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,N){if(E===9){return"__webpack_require__(id)"}return`${ae.createFakeNamespaceObject}(id, ${E}${N?" | 16":""})`}getReturnModuleObjectSource(E,N,R="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,N)};`}return`return ${ae.createFakeNamespaceObject}(id, ${R}${N?" | 16":""})`}getSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(N)};`}getWeakSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=this.getReturnModuleObjectSource(G,true);return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${$?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ie}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=G!==9?`${$?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(G)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ie});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,N,R,{runtimeTemplate:j,chunkGraph:$}){const q=j.blockPromise({chunkGraph:$,block:E,message:"lazy-once context",runtimeRequirements:new Set});const G=j.supportsArrowFunction();const ie=this.getUserRequestMap(N,$);const ce=this.getFakeMap(N,$);const le=ce!==9?`${G?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ce,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ie,null,"\t")};\n${this.getFakeMapInitStatement(ce)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${le});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${q}.then(${G?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=R.moduleGraph;const q=j.supportsArrowFunction();let G=false;let ie=true;const ce=this.getFakeMap(E.map((E=>E.dependencies[0])),R);const le=typeof ce==="object";const _e=E.map((E=>{const N=E.dependencies[0];return{dependency:N,module:$.getModule(N),block:E,userRequest:N.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of _e){const N=R.getBlockChunkGroup(E.block);const j=N&&N.chunks||[];E.chunks=j;if(j.length>0){ie=false}if(j.length!==1){G=true}}const Ee=ie&&!le;const Te=_e.sort(((E,N)=>{if(E.userRequest===N.userRequest)return 0;return E.userRequestE.id)))}}const Ie=le?2:1;const Ne=ie?"Promise.resolve()":G?`Promise.all(ids.slice(${Ie}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Ie}])`;const Me=this.getReturnModuleObjectSource(ce,true,Ee?"invalid":"ids[1]");const Le=Ne==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${Ee?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Me}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Ne}.then(${q?"() =>":"function()"} {\n\t\t${Me}\n\t});\n}`;return`var map = ${JSON.stringify(we,null,"\t")};\n${Le}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,N){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,N){const R=N.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${R?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:N,chunkGraph:R}){const j=R.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,j,R)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,j,R)}return this.getSourceForEmptyContext(j,N)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new j(E,this.identifier())}return new $(E)}codeGeneration(E){const{chunkGraph:N}=E;const R=new Map;R.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const j=new Set;const $=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));j.add(ae.module);j.add(ae.hasOwnProperty);if($.length>0){const E=this.options.mode;j.add(ae.require);if(E==="weak"){j.add(ae.moduleFactories)}else if(E==="async-weak"){j.add(ae.moduleFactories);j.add(ae.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){j.add(ae.ensureChunk)}if(this.getFakeMap($,N)!==9){j.add(ae.createFakeNamespaceObject)}}return{sources:R,runtimeRequirements:j}}size(E){let N=160;for(const E of this.dependencies){const R=E;N+=5+R.userRequest.length}return N}serialize(E){const{write:N}=E;N(this._identifier);N(this._forceBuild);super.serialize(E)}deserialize(E){const{read:N}=E;this._identifier=N();this._forceBuild=N();super.deserialize(E)}}Le(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,N,R)=>{"use strict";const j=R(62355);const{AsyncSeriesWaterfallHook:$,SyncWaterfallHook:q}=R(92960);const G=R(58126);const ie=R(40674);const ae=R(90872);const ce=R(83379);const{cachedSetProperty:le}=R(90149);const{createFakeHook:_e}=R(16595);const{join:Ee}=R(95396);const Te={};E.exports=class ContextModuleFactory extends ie{constructor(E){super();const N=new $(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new $(["data"]),afterResolve:new $(["data"]),contextModuleFiles:new q(["files"]),alternatives:_e({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,R)=>{N.tap(E,R)},tapAsync:(E,R)=>{N.tapAsync(E,((E,N,j)=>R(E,j)))},tapPromise:(E,R)=>{N.tapPromise(E,R)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:N});this.resolverFactory=E}create(E,N){const R=E.context;const $=E.dependencies;const q=E.resolveOptions;const ie=$[0];const ae=new ce;const _e=new ce;const Ee=new ce;this.hooks.beforeResolve.callAsync({context:R,dependencies:$,resolveOptions:q,fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee,...ie.options},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}const q=R.context;const ie=R.request;const ce=R.resolveOptions;let we,Ie,Ne="";const Me=ie.lastIndexOf("!");if(Me>=0){let E=ie.substr(0,Me+1);let N;for(N=0;N0?le(ce||Te,"dependencyType",$[0].category):ce);const Be=this.resolverFactory.get("loader");j.parallel([E=>{Le.resolve({},q,Ie,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee},((N,R)=>{if(N)return E(N);E(null,R)}))},E=>{j.map(we,((E,N)=>{Be.resolve({},q,E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee},((E,R)=>{if(E)return N(E);N(null,R)}))}),E)}],((E,j)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}this.hooks.afterResolve.callAsync({addon:Ne+j[1].join("!")+(j[1].length>0?"!":""),resource:j[0],resolveDependencies:this.resolveDependencies.bind(this),...R},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}return N(null,{module:new G(R.resolveDependencies,R),fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}))}))}))}resolveDependencies(E,N,R){const $=this;const{resource:q,resourceQuery:G,resourceFragment:ie,recursive:ce,regExp:le,include:_e,exclude:Te,referencedExports:we,category:Ie,typePrefix:Ne}=N;if(!le||!q)return R(null,[]);const addDirectoryChecked=(N,R,j)=>{E.realpath(N,((E,$)=>{if(E)return j(E);if(R.has($))return j(null,[]);let q;addDirectory(N,((E,N)=>{if(q===undefined){q=new Set(R);q.add($)}addDirectoryChecked(E,q,N)}),j)}))};const addDirectory=(R,Me,Le)=>{E.readdir(R,((Be,je)=>{if(Be)return Le(Be);const Ue=$.hooks.contextModuleFiles.call(je.map((E=>E.normalize("NFC"))));if(!Ue||Ue.length===0)return Le(null,[]);j.map(Ue.filter((E=>E.indexOf(".")!==0)),((j,$)=>{const Le=Ee(E,R,j);if(!Te||!Le.match(Te)){E.stat(Le,((E,R)=>{if(E){if(E.code==="ENOENT"){return $()}else{return $(E)}}if(R.isDirectory()){if(!ce)return $();Me(Le,$)}else if(R.isFile()&&(!_e||Le.match(_e))){const E={context:q,request:"."+Le.substr(q.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],N,((E,N)=>{if(E)return $(E);N=N.filter((E=>le.test(E.request))).map((E=>{const N=new ae(E.request+G+ie,E.request,Ne,Ie,we);N.optional=true;return N}));$(null,N)}))}else{$()}}))}else{$()}}),((E,N)=>{if(E)return Le(E);if(!N)return Le(null,[]);const R=[];for(const E of N){if(E)R.push(...E)}Le(null,R)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(q,new Set,R)}else{const addSubDirectory=(E,N)=>addDirectory(E,addSubDirectory,N);addDirectory(q,addSubDirectory,R)}}}},26552:(E,N,R)=>{"use strict";const j=R(90872);const{join:$}=R(95396);class ContextReplacementPlugin{constructor(E,N,R,j){this.resourceRegExp=E;if(typeof N==="function"){this.newContentCallback=N}else if(typeof N==="string"&&typeof R==="object"){this.newContentResource=N;this.newContentCreateContextMap=(E,N)=>{N(null,R)}}else if(typeof N==="string"&&typeof R==="function"){this.newContentResource=N;this.newContentCreateContextMap=R}else{if(typeof N!=="string"){j=R;R=N;N=undefined}if(typeof R!=="boolean"){j=R;R=undefined}this.newContentResource=N;this.newContentRecursive=R;this.newContentRegExp=j}}apply(E){const N=this.resourceRegExp;const R=this.newContentCallback;const j=this.newContentResource;const q=this.newContentRecursive;const G=this.newContentRegExp;const ie=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(N.test(E.request)){if(j!==undefined){E.request=j}if(q!==undefined){E.recursive=q}if(G!==undefined){E.regExp=G}if(typeof R==="function"){R(E)}else{for(const N of E.dependencies){if(N.critical)N.critical=false}}}return E}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(N.test(ae.resource)){if(j!==undefined){if(j.startsWith("/")||j.length>1&&j[1]===":"){ae.resource=j}else{ae.resource=$(E.inputFileSystem,ae.resource,j)}}if(q!==undefined){ae.recursive=q}if(G!==undefined){ae.regExp=G}if(typeof ie==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(ie)}if(typeof R==="function"){const N=ae.resource;R(ae);if(ae.resource!==N&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=$(E.inputFileSystem,N,ae.resource)}}else{for(const E of ae.dependencies){if(E.critical)E.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(N,R,$)=>{E(N,((E,N)=>{if(E)return $(E);const q=Object.keys(N).map((E=>new j(N[E]+R.resourceQuery+R.resourceFragment,E,R.category,R.referencedExports)));$(null,q)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{evaluateToString:ie,toConstantDependency:ae}=R(48472);const ce=R(35891);class RuntimeValue{constructor(E,N){this.fn=E;if(Array.isArray(N)){N={fileDependencies:N}}this.options=N||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,N,R){const j=E.state.module.buildInfo;if(this.options===true){j.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){j.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){j.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){j.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){j.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:R,get version(){return N.get(le+R)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,N,R,j,$,q)=>{let G;let ie=Array.isArray(E);if(ie){G=`[${E.map((E=>toCode(E,N,R,j,$,null))).join(",")}]`}else{G=`{${Object.keys(E).map((j=>{const q=E[j];return JSON.stringify(j)+":"+toCode(q,N,R,j,$,null)})).join(",")}}`}switch(q){case null:return G;case true:return ie?G:`(${G})`;case false:return ie?`;${G}`:`;(${G})`;default:return`/*#__PURE__*/Object(${G})`}};const toCode=(E,N,R,j,$,q)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(N,R,j),N,R,j,$,q)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,N,R,j,$,q)}if(typeof E==="bigint"){return $.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const N=Object.keys(E).map((N=>({key:N,value:toCacheVersion(E[N])})));if(N.some((({value:E})=>E===undefined)))return undefined;return`{${N.map((({key:E,value:N})=>`${E}: ${N}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const le="webpack/DefinePlugin ";const _e="webpack/DefinePlugin_hash";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,N){return new RuntimeValue(E,N)}apply(E){const N=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);const{runtimeTemplate:Ee}=E;const Te=ce(E.outputOptions.hashFunction);Te.update(E.valueCacheVersions.get(_e)||"");const handler=R=>{const $=E.valueCacheVersions.get(_e);R.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=R.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(_e,$)}));const addValueDependency=N=>{const{buildInfo:j}=R.state.module;j.valueDependencies.set(le+N,E.valueCacheVersions.get(le+N))};const withValueDependency=(E,N)=>(...R)=>{addValueDependency(E);return N(...R)};const walkDefinitions=(E,N)=>{Object.keys(E).forEach((R=>{const j=E[R];if(j&&typeof j==="object"&&!(j instanceof RuntimeValue)&&!(j instanceof RegExp)){walkDefinitions(j,N+R+".");applyObjectDefine(N+R,j);return}applyDefineKey(N,R);applyDefine(N+R,j)}))};const applyDefineKey=(E,N)=>{const j=N.split(".");j.slice(1).forEach((($,q)=>{const G=E+j.slice(0,q+1).join(".");R.hooks.canRename.for(G).tap("DefinePlugin",(()=>{addValueDependency(N);return true}))}))};const applyDefine=(N,$)=>{const q=N;const G=/^typeof\s+/.test(N);if(G)N=N.replace(/^typeof\s+/,"");let ie=false;let ce=false;if(!G){R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(q);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(j=>{if(ie)return;addValueDependency(q);ie=true;const G=R.evaluate(toCode($,R,E.valueCacheVersions,N,Ee,null));ie=false;G.setRange(j.range);return G}));R.hooks.expression.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const G=toCode($,R,E.valueCacheVersions,q,Ee,!R.isAsiPosition(N.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(N)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(N)}else{return ae(R,G)(N)}}))}R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",(N=>{if(ce)return;ce=true;addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Ee,null);const ie=G?j:"typeof ("+j+")";const ae=R.evaluate(ie);ce=false;ae.setRange(N.range);return ae}));R.hooks.typeof.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Ee,null);const ie=G?j:"typeof ("+j+")";const ce=R.evaluate(ie);if(!ce.isString())return;return ae(R,JSON.stringify(ce.string)).bind(R)(N)}))};const applyObjectDefine=(N,$)=>{R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(N);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(E=>{addValueDependency(N);return(new G).setTruthy().setSideEffects(false).setRange(E.range)}));R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",withValueDependency(N,ie("object")));R.hooks.expression.for(N).tap("DefinePlugin",(q=>{addValueDependency(N);const G=stringifyObj($,R,E.valueCacheVersions,N,Ee,!R.isAsiPosition(q.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(q)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(q)}else{return ae(R,G)(q)}}));R.hooks.typeof.for(N).tap("DefinePlugin",withValueDependency(N,ae(R,JSON.stringify("object"))))};walkDefinitions(N,"")};R.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(N,R)=>{Object.keys(N).forEach((j=>{const q=N[j];const G=toCacheVersion(q);const ie=le+R+j;Te.update("|"+R+j);const ae=E.valueCacheVersions.get(ie);if(ae===undefined){E.valueCacheVersions.set(ie,G)}else if(ae!==G){const N=new $(`DefinePlugin\nConflicting values for '${R+j}'`);N.details=`'${ae}' !== '${G}'`;N.hideStack=true;E.warnings.push(N)}if(q&&typeof q==="object"&&!(q instanceof RuntimeValue)&&!(q instanceof RegExp)){walkDefinitionsForValues(q,R+j+".")}}))};walkDefinitionsForValues(N,"");E.valueCacheVersions.set(_e,Te.digest("hex").slice(0,8))}))}}E.exports=DefinePlugin},3955:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(53453);const G=R(76150);const ie=R(49422);const ae=R(96076);const ce=R(56202);const le=new Set(["javascript"]);const _e=new Set([G.module,G.require]);class DelegatedModule extends q{constructor(E,N,R,j,$){super("javascript/dynamic",null);this.sourceRequest=E;this.request=N.id;this.delegationType=R;this.userRequest=j;this.originalRequest=$;this.delegateData=N;this.delegatedSourceDependency=undefined}getSourceTypes(){return le}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ie(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(this.delegateData.exports||true,false));$()}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const q=this.dependencies[0];const G=N.getModule(q);let ie;if(!G){ie=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ie=`module.exports = (${E.moduleExports({module:G,chunkGraph:R,request:q.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ie+=`(${JSON.stringify(this.request)})`;break;case"object":ie+=`[${JSON.stringify(this.request)}]`;break}ie+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new j(ie,this.identifier()))}else{ae.set("javascript",new $(ie))}return{sources:ae,runtimeRequirements:_e}}size(E){return 42}updateHash(E,N){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceRequest);N(this.delegateData);N(this.delegationType);N(this.userRequest);N(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new DelegatedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.delegationType=N.delegationType;this.userRequest=N.userRequest;this.originalRequest=N.originalRequest;this.delegateData=N.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ce(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,N,R)=>{"use strict";const j=R(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const N=this.options.scope;if(N){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,R)=>{const[$]=E.dependencies;const{request:q}=$;if(q&&q.startsWith(`${N}/`)){const E="."+q.substr(N.length);let $;if(E in this.options.content){$=this.options.content[E];return R(null,new j(this.options.source,$,this.options.type,E,q))}for(let N=0;N{const N=E.libIdent(this.options);if(N){if(N in this.options.content){const R=this.options.content[N];return new j(this.options.source,R,this.options.type,N,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,N,R)=>{"use strict";const j=R(56396);const $=R(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:N})=>{new j({associatedObjectForCache:E.root,...this.options}).apply(N)}))}}E.exports=DelegatedPlugin},32448:(E,N,R)=>{"use strict";const j=R(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let E=this;while(E.parent)E=E.parent;return E}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const N=this.dependencies.indexOf(E);if(N>=0){this.dependencies.splice(N,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,N){for(const R of this.dependencies){R.updateHash(E,N)}for(const R of this.blocks){R.updateHash(E,N)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}j(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("transitive");const q=j((()=>{const E=R(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}couldAffectReferencingModule(){return $}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,N){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,N){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return q()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=$;E.exports=Dependency},84304:(E,N,R)=>{"use strict";class DependencyTemplate{apply(E,N,j){const $=R(75884);throw new $}}E.exports=DependencyTemplate},46828:(E,N,R)=>{"use strict";const j=R(35891);class DependencyTemplates{constructor(E="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=E}get(E){return this._map.get(E)}set(E,N){this._map.set(E,N)}updateHash(E){const N=j(this._hashFunction);N.update(`${this._hash}${E}`);this._hash=N.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,N,R)=>{"use strict";const j=R(80419);const $=R(95189);const q=R(66583);class DllEntryPlugin{constructor(E,N,R){this.context=E;this.entries=N;this.options=R}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:N})=>{const R=new j;E.dependencyFactories.set($,R);E.dependencyFactories.set(q,N)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,N)=>{E.addEntry(this.context,new $(this.entries.map(((E,N)=>{const R=new q(E);R.loc={name:this.options.name,index:N};return R})),this.options.name),this.options,N)}))}}E.exports=DllEntryPlugin},44593:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(56202);const ie=new Set(["javascript"]);const ae=new Set([q.require,q.module]);class DllModule extends ${constructor(E,N,R){super("javascript/dynamic",E);this.dependencies=N;this.name=R}getSourceTypes(){return ie}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={};return $()}codeGeneration(E){const N=new Map;N.set("javascript",new j("module.exports = __webpack_require__;"));return{sources:N,runtimeRequirements:ae}}needBuild(E,N){return N(null,!this.buildMeta)}size(E){return 12}updateHash(E,N){E.update(`dll module${this.name||""}`);super.updateHash(E,N)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}G(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,N,R)=>{"use strict";const j=R(44593);const $=R(40674);class DllModuleFactory extends ${constructor(){super();this.hooks=Object.freeze({})}create(E,N){const R=E.dependencies[0];N(null,{module:new j(E.context,R.dependencies,R.name)})}}E.exports=DllModuleFactory},73887:(E,N,R)=>{"use strict";const j=R(9013);const $=R(6283);const q=R(77750);const G=R(35817);const ie=G(R(43548),(()=>R(28991)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ie(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((N,R)=>{if(typeof R!=="function"){for(const $ of Object.keys(R)){const q={name:$,filename:R.filename};new j(N,R[$].import,q).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new q(this.options).apply(E);if(!this.options.entryOnly){new $("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,N,R)=>{"use strict";const j=R(78688);const $=R(56396);const q=R(59084);const G=R(81627);const ie=R(49422);const ae=R(35817);const ce=R(49197).makePathsRelative;const le=ae(R(69744),(()=>R(67138)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){le(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(ie,N)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((N,R)=>{if("manifest"in this.options){const $=this.options.manifest;if(typeof $==="string"){E.inputFileSystem.readFile($,((q,G)=>{if(q)return R(q);const ie={path:$,data:undefined,error:undefined};try{ie.data=j(G.toString("utf-8"))}catch(N){const R=ce(E.options.context,$,E.root);ie.error=new DllManifestError(R,N.message)}this._compilationData.set(N,ie);return R()}));return}}return R()}));E.hooks.compile.tap("DllReferencePlugin",(N=>{let R=this.options.name;let j=this.options.sourceType;let G="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let $;if(typeof E==="string"){const E=this._compilationData.get(N);if(E.error){return}$=E.data}else{$=E}if($){if(!R)R=$.name;if(!j)j=$.type;if(!G)G=$.content}}const ie={};const ae="dll-reference "+R;ie[ae]=R;const ce=N.normalModuleFactory;new q(j||"var",ie).apply(ce);new $({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:G,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(ce)}));E.hooks.compilation.tap("DllReferencePlugin",((E,N)=>{if("manifest"in this.options){let R=this.options.manifest;if(typeof R==="string"){const j=this._compilationData.get(N);if(j.error){E.errors.push(j.error)}E.fileDependencies.add(R)}}}))}}class DllManifestError extends G{constructor(E,N){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${N}`}}E.exports=DllReferencePlugin},85227:(E,N,R)=>{"use strict";const j=R(64699);const $=R(59674);const q=R(66583);class DynamicEntryPlugin{constructor(E,N){this.context=E;this.entry=N}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((N,R)=>Promise.resolve(this.entry()).then((R=>{const q=[];for(const G of Object.keys(R)){const ie=R[G];const ae=j.entryDescriptionToOptions(E,G,ie);for(const E of ie.import){q.push(new Promise(((R,j)=>{N.addEntry(this.context,$.createDependency(E,ae),ae,(E=>{if(E)return j(E);R()}))})))}}return Promise.all(q)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,N,R)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((N,R)=>{EntryOptionPlugin.applyEntryOption(E,N,R);return true}))}static applyEntryOption(E,N,j){if(typeof j==="function"){const $=R(85227);new $(N,j).apply(E)}else{const $=R(59674);for(const R of Object.keys(j)){const q=j[R];const G=EntryOptionPlugin.entryDescriptionToOptions(E,R,q);for(const R of q.import){new $(N,R,G).apply(E)}}}}static entryDescriptionToOptions(E,N,j){const $={name:N,filename:j.filename,runtime:j.runtime,layer:j.layer,dependOn:j.dependOn,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,library:j.library};if(j.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(j.chunkLoading){const N=R(50369);N.checkEnabled(E,j.chunkLoading)}if(j.wasmLoading){const N=R(69085);N.checkEnabled(E,j.wasmLoading)}if(j.library){const N=R(13984);N.checkEnabled(E,j.library.type)}return $}}E.exports=EntryOptionPlugin},59674:(E,N,R)=>{"use strict";const j=R(66583);class EntryPlugin{constructor(E,N,R){this.context=E;this.entry=N;this.options=R||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));const{entry:N,options:R,context:$}=this;const q=EntryPlugin.createDependency(N,R);E.hooks.make.tapAsync("EntryPlugin",((E,N)=>{E.addEntry($,q,R,(E=>{N(E)}))}))}static createDependency(E,N){const R=new j(E);R.loc={name:typeof N==="object"?N.name:N};return R}}E.exports=EntryPlugin},71452:(E,N,R)=>{"use strict";const j=R(84558);class Entrypoint extends j{constructor(E,N=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=N}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,N){if(this._runtimeChunk===E)this._runtimeChunk=N;if(this._entrypointChunk===E)this._entrypointChunk=N;return super.replaceChunk(E,N)}}E.exports=Entrypoint},64856:(E,N,R)=>{"use strict";const j=R(24820);const $=R(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const N={};for(const R of this.keys){const j=process.env[R]!==undefined?process.env[R]:this.defaultValues[R];if(j===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const N=new $(`EnvironmentPlugin - ${R} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");N.name="EnvVariableNotDefinedError";E.errors.push(N)}))}N[`process.env.${R}`]=j===undefined?"undefined":JSON.stringify(j)}new j(N).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,N)=>{"use strict";const R="LOADER_EXECUTION";const j="WEBPACK_OPTIONS";N.cutOffByFlag=(E,N)=>{E=E.split("\n");for(let R=0;RN.cutOffByFlag(E,R);N.cutOffWebpackOptions=E=>N.cutOffByFlag(E,j);N.cutOffMultilineMessage=(E,N)=>{E=E.split("\n");N=N.split("\n");const R=[];E.forEach(((E,j)=>{if(!E.includes(N[j]))R.push(E)}));return R.join("\n")};N.cutOffMessage=(E,N)=>{const R=E.indexOf("\n");if(R===-1){return E===N?"":E}else{const j=E.substr(0,R);return j===N?E.substr(R+1):E}};N.cleanUp=(E,R)=>{E=N.cutOffLoaderExecution(E);E=N.cutOffMessage(E,R);return E};N.cleanUpWebpackOptions=(E,R)=>{E=N.cutOffWebpackOptions(E);E=N.cutOffMultilineMessage(E,R);return E}},91331:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(16734);const G=R(70354);const ie=R(18161);const ae=new WeakMap;const ce=new $(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const N=ie.getCompilationHooks(E);N.renderModuleContent.tap("EvalDevToolModulePlugin",((N,R,{runtimeTemplate:j,chunkGraph:ie})=>{const ce=ae.get(N);if(ce!==undefined)return ce;if(R instanceof q){ae.set(N,N);return N}const le=N.source();const _e=G.createFilename(R,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:j.requestShortener,chunkGraph:ie,hashFunction:E.outputOptions.hashFunction});const Ee="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(_e).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Te=new $(`eval(${JSON.stringify(le+Ee)});`);ae.set(N,Te);return Te}));N.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));N.render.tap("EvalDevToolModulePlugin",(E=>new j(ce,E)));N.chunkHash.tap("EvalDevToolModulePlugin",((E,N)=>{N.update("EvalDevToolModulePlugin");N.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(70354);const G=R(53520);const ie=R(26867);const ae=R(18161);const ce=R(95734);const{makePathsAbsolute:le}=R(49197);const _e=new WeakMap;const Ee=new $(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let N;if(typeof E==="string"){N={append:E}}else{N=E}this.sourceMapComment=N.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=N.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=N.namespace||"";this.options=N}apply(E){const N=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(R=>{const Te=ae.getCompilationHooks(R);new ie(N).apply(R);const we=q.matchObject.bind(q,N);Te.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((j,ie,{runtimeTemplate:ae,chunkGraph:Ee})=>{const Te=_e.get(j);if(Te!==undefined){return Te}const result=E=>{_e.set(j,E);return E};if(ie instanceof G){const E=ie;if(!we(E.resource)){return result(j)}}else if(ie instanceof ce){const E=ie;if(E.rootModule instanceof G){const N=E.rootModule;if(!we(N.resource)){return result(j)}}else{return result(j)}}else{return result(j)}let Ie;let Ne;if(j.sourceAndMap){const E=j.sourceAndMap(N);Ie=E.map;Ne=E.source}else{Ie=j.map(N);Ne=j.source()}if(!Ie){return result(j)}Ie={...Ie};const Me=E.options.context;const Le=E.root;const Be=Ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(Me,E.slice(10),Le);const N=R.findModule(E);return N||E}));let je=Be.map((E=>q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:Ee,hashFunction:R.outputOptions.hashFunction})));je=q.replaceDuplicates(je,((E,N,R)=>{for(let N=0;N"the eval-source-map devtool is used."));Te.render.tap("EvalSourceMapDevToolPlugin",(E=>new j(Ee,E)));Te.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,N)=>{N.update("EvalSourceMapDevToolPlugin");N.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,N,R)=>{"use strict";const{equals:j}=R(73910);const $=R(16102);const q=R(56202);const{forEachRuntime:G}=R(37416);const ie=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(E,N,R,j){this.exports=E;this.otherProvided=N;this.otherCanMangleProvide=R;this.otherTerminalBinding=j}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}q(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[N,R]of this._exports){E.set(N,R)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[N,R]of this._exports){E.set(N,R)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const N=[];for(const R of E.values()){N.push(R.name)}N.sort();let R=0;for(const j of E.values()){const E=N[R];if(j.name!==E)break;R++}for(;R0){const N=this.getReadOnlyExportInfo(E[0]);if(!N.exportsInfo)return undefined;return N.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,N,R,j,$){let q=false;if(N){for(const E of N){this.getExportInfo(E)}}for(const $ of this._exports.values()){if(N&&N.has($.name))continue;if($.provided!==true&&$.provided!==null){$.provided=null;q=true}if(!E&&$.canMangleProvide!==false){$.canMangleProvide=false;q=true}if(R){$.setTarget(R,j,[$.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,N,R,j,$)){q=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;q=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;q=true}if(R){this._otherExportsInfo.setTarget(R,j,undefined,$)}}return q}setUsedInUnknownWay(E){let N=false;for(const R of this._exports.values()){if(R.setUsedInUnknownWay(E)){N=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){N=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>EE===ie.Unused),ie.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ie.Unused){return true}}for(const N of this._exports.values()){if(N.getUsed(E)!==ie.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ie.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:case ie.OnlyPropertiesUsed:case ie.Used:return true}}const N=[];if(!this._exportsAreOrdered)this._sortExports();for(const R of this._exports.values()){switch(R.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:return true;case ie.OnlyPropertiesUsed:case ie.Used:N.push(R.name)}}if(this._redirectTo!==undefined){const R=this._redirectTo.getUsedExports(E);if(R===null)return null;if(R===true)return true;if(R!==false){for(const E of R){N.push(E)}}}if(N.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unused:return false}}return new $(N)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const N of this._exports.values()){switch(N.provided){case undefined:return null;case null:return true;case true:E.push(N.name)}}if(this._redirectTo!==undefined){const N=this._redirectTo.getProvidedExports();if(N===null)return null;if(N===true)return true;for(const R of N){if(!E.includes(R)){E.push(R)}}}return E}getRelevantExports(E){const N=[];for(const R of this._exports.values()){const j=R.getUsed(E);if(j===ie.Unused)continue;if(R.provided===false)continue;N.push(R)}if(this._redirectTo!==undefined){for(const R of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(R.name))N.push(R)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ie.Unused){N.push(this._otherExportsInfo)}return N}isExportProvided(E){if(Array.isArray(E)){const N=this.getReadOnlyExportInfo(E[0]);if(N.exportsInfo&&E.length>1){return N.exportsInfo.isExportProvided(E.slice(1))}return N.provided}const N=this.getReadOnlyExportInfo(E);return N.provided}getUsageKey(E){const N=[];if(this._redirectTo!==undefined){N.push(this._redirectTo.getUsageKey(E))}else{N.push(this._otherExportsInfo.getUsed(E))}N.push(this._sideEffectsOnlyInfo.getUsed(E));for(const R of this.orderedOwnedExports){N.push(R.getUsed(E))}return N.join("|")}isEquallyUsed(E,N){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,N))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(N)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(N)){return false}for(const R of this.ownedExports){if(R.getUsed(E)!==R.getUsed(N))return false}return true}getUsed(E,N){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(N);let R=this.getReadOnlyExportInfo(E[0]);if(R.exportsInfo&&E.length>1){return R.exportsInfo.getUsed(E.slice(1),N)}return R.getUsed(N)}let R=this.getReadOnlyExportInfo(E);return R.getUsed(N)}getUsedName(E,N){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(N))return false;return E}let R=this.getReadOnlyExportInfo(E[0]);const j=R.getUsedName(E[0],N);if(j===false)return false;const $=j===E[0]&&E.length===1?E:[j];if(E.length===1){return $}if(R.exportsInfo&&R.getUsed(N)===ie.OnlyPropertiesUsed){const j=R.exportsInfo.getUsedName(E.slice(1),N);if(!j)return false;return $.concat(j)}else{return $.concat(E.slice(1))}}else{let R=this.getReadOnlyExportInfo(E);const j=R.getUsedName(E,N);return j}}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){const j=new Set(R);j.add(this);for(const R of this.orderedExports){if(R.hasInfo(this._otherExportsInfo,N)){R._updateHash(E,N,j)}}this._sideEffectsOnlyInfo._updateHash(E,N,j);this._otherExportsInfo._updateHash(E,N,j);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,N,j)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const N=this._otherExportsInfo.canMangleProvide;const R=this._otherExportsInfo.terminalBinding;const j=[];for(const $ of this.orderedExports){if($.provided!==E||$.canMangleProvide!==N||$.terminalBinding!==R||$.exportsInfoOwned){j.push({name:$.name,provided:$.provided,canMangleProvide:$.canMangleProvide,terminalBinding:$.terminalBinding,exportsInfo:$.exportsInfoOwned?$.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(j,E,N,R)}restoreProvided({otherProvided:E,otherCanMangleProvide:N,otherTerminalBinding:R,exports:j}){let $=true;for(const j of this._exports.values()){$=false;j.provided=E;j.canMangleProvide=N;j.terminalBinding=R}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=N;this._otherExportsInfo.terminalBinding=R;for(const E of j){const N=this.getExportInfo(E.name);N.provided=E.provided;N.canMangleProvide=E.canMangleProvide;N.terminalBinding=E.terminalBinding;if(E.exportsInfo){const R=N.createNestedExportsInfo();R.restoreProvided(E.exportsInfo)}}if($)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,N){this.name=E;this._usedName=N?N._usedName:null;this._globalUsed=N?N._globalUsed:undefined;this._usedInRuntime=N&&N._usedInRuntime?new Map(N._usedInRuntime):undefined;this._hasUseInRuntimeInfo=N?N._hasUseInRuntimeInfo:false;this.provided=N?N.provided:undefined;this.terminalBinding=N?N.terminalBinding:false;this.canMangleProvide=N?N.canMangleProvide:undefined;this.canMangleUse=N?N.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(N&&N._target){this._target=new Map;for(const[R,j]of N._target){this._target.set(R,{connection:j.connection,export:j.export||[E],priority:j.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let N=false;if(this.setUsedConditionally((E=>Ethis._usedInRuntime.set(E,N)));return true}}else{let j=false;G(R,(R=>{let $=this._usedInRuntime.get(R);if($===undefined)$=ie.Unused;if(N!==$&&E($)){if(N===ie.Unused){this._usedInRuntime.delete(R)}else{this._usedInRuntime.set(R,N)}j=true}}));if(j){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,N){if(N===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ie.Unused){this._usedInRuntime=new Map;G(N,(N=>this._usedInRuntime.set(N,E)));return true}}else{let R=false;G(N,(N=>{let j=this._usedInRuntime.get(N);if(j===undefined)j=ie.Unused;if(E!==j){if(E===ie.Unused){this._usedInRuntime.delete(N)}else{this._usedInRuntime.set(N,E)}R=true}}));if(R){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,N,R,$=0){if(R)R=[...R];if(!this._target){this._target=new Map;this._target.set(E,{connection:N,export:R,priority:$});return true}const q=this._target.get(E);if(!q){if(q===null&&!N)return false;this._target.set(E,{connection:N,export:R,priority:$});this._maxTarget=undefined;return true}if(q.connection!==N||q.priority!==$||(R?!q.export||!j(q.export,R):q.export)){q.connection=N;q.export=R;q.priority=$;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ie.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ie.Unused}else if(typeof E==="string"){const N=this._usedInRuntime.get(E);return N===undefined?ie.Unused:N}else if(E===undefined){let E=ie.Unused;for(const N of this._usedInRuntime.values()){if(N===ie.Used){return ie.Used}if(E!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,N=RETURNS_TRUE){if(this.terminalBinding)return this;const R=this.getTarget(E,N);if(!R)return undefined;const j=E.getExportsInfo(R.module);if(!R.export)return j;return j.getReadOnlyExportInfoRecursive(R.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let N=Infinity;for(const{priority:R}of this._target.values()){if(ER)N=R}if(E===N)return this._maxTarget=this._target;const R=new Map;for(const[N,j]of this._target){if(E===j.priority){R.set(N,j)}}this._maxTarget=R;return R}findTarget(E,N){return this._findTarget(E,N,new Set)}_findTarget(E,N,R){if(!this._target||this._target.size===0)return undefined;let j=this._getMaxTarget().values().next().value;if(!j)return undefined;let $={module:j.connection.module,export:j.export};for(;;){if(N($.module))return $;const j=E.getExportsInfo($.module);const q=j.getExportInfo($.export[0]);if(R.has(q))return null;const G=q._findTarget(E,N,R);if(!G)return false;if($.export.length===1){$=G}else{$={module:G.module,export:G.export?G.export.concat($.export.slice(1)):$.export.slice(1)}}}}getTarget(E,N=RETURNS_TRUE){const R=this._getTarget(E,N,undefined);if(R===ae)return undefined;return R}_getTarget(E,N,R){const resolveTarget=(R,j)=>{if(!R)return null;if(!R.export){return{module:R.connection.module,connection:R.connection,export:undefined}}let $={module:R.connection.module,connection:R.connection,export:R.export};if(!N($))return $;let q=false;for(;;){const R=E.getExportsInfo($.module);const G=R.getExportInfo($.export[0]);if(!G)return $;if(j.has(G))return ae;const ie=G._getTarget(E,N,j);if(ie===ae)return ae;if(!ie)return $;if($.export.length===1){$=ie;if(!$.export)return $}else{$={module:ie.module,connection:ie.connection,export:ie.export?ie.export.concat($.export.slice(1)):$.export.slice(1)}}if(!N($))return $;if(!q){j=new Set(j);q=true}j.add(G)}};if(!this._target||this._target.size===0)return undefined;if(R&&R.has(this))return ae;const $=new Set(R);$.add(this);const q=this._getMaxTarget().values();const G=resolveTarget(q.next().value,$);if(G===ae)return ae;if(G===null)return undefined;let ie=q.next();while(!ie.done){const E=resolveTarget(ie.value,$);if(E===ae)return ae;if(E===null)return undefined;if(E.module!==G.module)return undefined;if(!E.export!==!G.export)return undefined;if(G.export&&!j(E.export,G.export))return undefined;ie=q.next()}return G}moveTarget(E,N,R){const j=this._getTarget(E,N,undefined);if(j===ae)return undefined;if(!j)return undefined;const $=this._getMaxTarget().values().next().value;if($.connection===j.connection&&$.export===j.export){return undefined}this._target.clear();this._target.set(undefined,{connection:R?R(j):j.connection,export:j.export,priority:0});return j}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,N){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(N)!==E.getUsed(N)}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){E.update(`${this._usedName||this.name}${this.getUsed(N)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!R.has(this.exportsInfo)){this.exportsInfo._updateHash(E,N,R)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ie.Unused:return"unused";case ie.NoInfo:return"no usage info";case ie.Unknown:return"maybe used (runtime-defined)";case ie.Used:return"used";case ie.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[N,R]of this._usedInRuntime){const j=E.get(R);if(j!==undefined)j.push(N);else E.set(R,[N])}const N=Array.from(E,(([E,N])=>{switch(E){case ie.NoInfo:return`no usage info in ${N.join(", ")}`;case ie.Unknown:return`maybe used in ${N.join(", ")} (runtime-defined)`;case ie.Used:return`used in ${N.join(", ")}`;case ie.OnlyPropertiesUsed:return`only properties used in ${N.join(", ")}`}}));if(N.length>0){return N.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ie},29672:(E,N,R)=>{"use strict";const j=R(66298);const $=R(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((N,R)=>{const j=R.length>=2?new $(N.range,R.slice(0,-1),R[R.length-1]):new $(N.range,null,R[0]);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(N=>{const R=new j("true",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}))};N.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(77294);const{UsageState:G}=R(76632);const ie=R(63272);const ae=R(53453);const ce=R(76150);const le=R(58159);const _e=R(96076);const Ee=R(35891);const Te=R(10004);const we=R(56202);const Ie=R(68038);const{register:Ne}=R(24568);const Me=new Set(["javascript"]);const Le=new Set([ce.module]);const Be=new Set([ce.loadScript]);const je=new Set([ce.definePropertyGetters]);const Ue=new Set([]);const getSourceForGlobalVariableExternal=(E,N)=>{if(!Array.isArray(E)){E=[E]}const R=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:N==="this",expression:`${N}${R}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const N=E[0];return{expression:`require(${JSON.stringify(N)})${Ie(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const N=[new ie('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ie.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:N}}const R=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(R)})${Ie(E,1)}`,chunkInitFragments:N}};const getSourceForImportExternal=(E,N)=>{const R=N.outputOptions.importFunctionName;if(!N.supportsDynamicImport()&&R==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${R}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${R}(${JSON.stringify(E[0])});`}}const j=E[0];return{expression:`${R}(${JSON.stringify(j)}).then(${N.returningFunction(`module${Ie(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ie{constructor(E,N,R="md4"){if(N===undefined){N=le.toIdentifier(E);if(N!==E){N+=`_${Ee(R).update(E).digest("hex").slice(0,8)}`}}const j=`__WEBPACK_EXTERNAL_MODULE_${N}__`;super(`import * as ${j} from ${JSON.stringify(E)};\n`,ie.STAGE_HARMONY_IMPORTS,0,`external module import ${N}`);this._ident=N;this._identifier=j;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ne(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:N}){N(E._request);N(E._ident)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)===G.Unused){const j=[];for(const $ of N.orderedExports){const N=$.getUsedName($.name,R);if(!N)continue;const q=$.getNestedExportsInfo();if(q){const R=generateModuleRemapping(`${E}${Ie([$.name])}`,q);if(R){j.push(`[${JSON.stringify(N)}]: y(${R})`);continue}}j.push(`[${JSON.stringify(N)}]: () => ${E}${Ie([$.name])}`)}return`x({ ${j.join(", ")} })`}};const getSourceForModuleExternal=(E,N,R,j)=>{if(!Array.isArray(E))E=[E];const $=new ModuleExternalInitFragment(E[0],undefined,j);const q=`${$.getNamespaceIdentifier()}${Ie(E,1)}`;const G=generateModuleRemapping(q,N,R);let ie=G||q;return{expression:ie,init:`var x = y => { var x = {}; ${ce.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:G?je:undefined,chunkInitFragments:[$]}};const getSourceForScriptExternal=(E,N)=>{if(typeof E==="string"){E=Te(E)}const R=E[0];const j=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${N.basicFunction("resolve, reject",[`if(typeof ${j} !== "undefined") return resolve();`,`${ce.loadScript}(${JSON.stringify(R)}, ${N.basicFunction("event",[`if(typeof ${j} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(j)});`])}).then(${N.returningFunction(`${j}${Ie(E,2)}`)})`,runtimeRequirements:Be}};const checkExternalVariable=(E,N,R)=>`if(typeof ${E} === 'undefined') { ${R.throwMissingModuleErrorBlock({request:N})} }\n`;const getSourceForAmdOrUmdExternal=(E,N,R,j)=>{const $=`__WEBPACK_EXTERNAL_MODULE_${le.toIdentifier(`${E}`)}__`;return{init:N?checkExternalVariable($,Array.isArray(R)?R.join("."):R,j):undefined,expression:$}};const getSourceForDefaultCase=(E,N,R)=>{if(!Array.isArray(N)){N=[N]}const j=N[0];const $=Ie(N,1);return{init:E?checkExternalVariable(j,N.join("."),R):undefined,expression:`${j}${$}`}};class ExternalModule extends ae{constructor(E,N,R){super("javascript/dynamic",null);this.request=E;this.externalType=N;this.userRequest=R}getSourceTypes(){return Me}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:N.outputOptions.module};const{request:q,externalType:G}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ie=false;this.clearDependenciesAndBlocks();switch(G){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}}else{this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}break}this.addDependency(new _e(true,ie));$()}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:N}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[N];return{request:E,externalType:N}}_getSourceData(E,N,R,j){const{request:$,externalType:q}=this._getRequestAndExternalType();switch(q){case"this":case"window":case"self":return getSourceForGlobalVariableExternal($,this.externalType);case"global":return getSourceForGlobalVariableExternal($,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal($);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule($):getSourceForCommonJsExternal($);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const j=R.getModuleId(this);return getSourceForAmdOrUmdExternal(j!==null?j:this.identifier(),this.isOptional(N),$,E)}case"import":return getSourceForImportExternal($,E);case"script":return getSourceForScriptExternal($,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal($,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal($,N.getExportsInfo(this),j,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(N),$,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R,runtime:G,concatenationScope:ie}){const ae=this._getSourceData(E,N,R,G);let le=ae.expression;if(ae.iife)le=`(function() { return ${le}; }())`;if(ie){le=`${E.supportsConst()?"const":"var"} ${q.NAMESPACE_OBJECT_EXPORT} = ${le};`;ie.registerNamespaceExport(q.NAMESPACE_OBJECT_EXPORT)}else{le=`module.exports = ${le};`}if(ae.init)le=`${ae.init}\n${le}`;let _e=undefined;if(ae.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",ae.chunkInitFragments)}const Ee=new Map;if(this.useSourceMap||this.useSimpleSourceMap){Ee.set("javascript",new j(le,this.identifier()))}else{Ee.set("javascript",new $(le))}let Te=ae.runtimeRequirements;if(!ie){if(!Te){Te=Le}else{const E=new Set(Te);E.add(ce.module);Te=E}}return{sources:Ee,runtimeRequirements:Te||Ue,data:_e}}size(E){return 42}updateHash(E,N){const{chunkGraph:R}=N;E.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(R.moduleGraph)}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.request);N(this.externalType);N(this.userRequest);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.externalType=N();this.userRequest=N();super.deserialize(E)}}we(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16734);const{resolveByProperty:q,cachedSetProperty:G}=R(90149);const ie=/^[a-z0-9-]+ /;const ae={};const ce=j.deprecate(((E,N,R,j)=>{E.call(null,N,R,j)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const le=new WeakMap;const resolveLayer=(E,N)=>{let R=le.get(E);if(R===undefined){R=new Map;le.set(E,R)}else{const E=R.get(N);if(E!==undefined)return E}const j=q(E,"byLayer",N);R.set(N,j);return j};class ExternalModuleFactoryPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){const N=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((R,j)=>{const q=R.context;const le=R.contextInfo;const _e=R.dependencies[0];const Ee=R.dependencyType;const handleExternal=(E,R,j)=>{if(E===false){return j()}let q;if(E===true){q=_e.request}else{q=E}if(R===undefined){if(typeof q==="string"&&ie.test(q)){const E=q.indexOf(" ");R=q.substr(0,E);q=q.substr(E+1)}else if(Array.isArray(q)&&q.length>0&&ie.test(q[0])){const E=q[0];const N=E.indexOf(" ");R=E.substr(0,N);q=[E.substr(N+1),...q.slice(1)]}}j(null,new $(q,R||N,_e.request))};const handleExternals=(N,j)=>{if(typeof N==="string"){if(N===_e.request){return handleExternal(_e.request,undefined,j)}}else if(Array.isArray(N)){let E=0;const next=()=>{let R;const handleExternalsAndCallback=(E,N)=>{if(E)return j(E);if(!N){if(R){R=false;return}return next()}j(null,N)};do{R=true;if(E>=N.length)return j();handleExternals(N[E++],handleExternalsAndCallback)}while(!R);R=false};next();return}else if(N instanceof RegExp){if(N.test(_e.request)){return handleExternal(_e.request,undefined,j)}}else if(typeof N==="function"){const cb=(E,N,R)=>{if(E)return j(E);if(N!==undefined){handleExternal(N,R,j)}else{j()}};if(N.length===3){ce(N,q,_e.request,cb)}else{const j=N({context:q,request:_e.request,dependencyType:Ee,contextInfo:le,getResolve:N=>(j,$,q)=>{const ie={fileDependencies:R.fileDependencies,missingDependencies:R.missingDependencies,contextDependencies:R.contextDependencies};let ce=E.getResolver("normal",Ee?G(R.resolveOptions||ae,"dependencyType",Ee):R.resolveOptions);if(N)ce=ce.withOptions(N);if(q){ce.resolve({},j,$,ie,q)}else{return new Promise(((E,N)=>{ce.resolve({},j,$,ie,((R,j)=>{if(R)N(R);else E(j)}))}))}}},cb);if(j&&j.then)j.then((E=>cb(null,E)),cb)}return}else if(typeof N==="object"){const E=resolveLayer(N,le.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,_e.request)){return handleExternal(E[_e.request],undefined,j)}}j()};handleExternals(this.externals,j)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,N,R)=>{"use strict";const j=R(59084);class ExternalsPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new j(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,N,R)=>{"use strict";const{create:j}=R(17583);const $=R(62355);const q=R(9738);const G=R(37269);const ie=R(35891);const{join:ae,dirname:ce,relative:le,lstatReadlinkAbsolute:_e}=R(95396);const Ee=R(56202);const Te=R(2117);const we=+process.versions.modules>=83;let Ie=2e3;const Ne=new Set;const Me=0;const Le=1;const Be=2;const je=3;const Ue=4;const ze=5;const We=6;const Je=7;const Ve=8;const qe=9;const He=Symbol("invalid");const Ge=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,N){this.snapshot=E;this.getMaps=N}[Symbol.iterator](){let E=0;let N;let R;let j;let $;let q;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:$=this.snapshot;R=this.getMaps;j=R($);E=1;case 1:if(j.length>0){const R=j.pop();if(R!==undefined){N=R.keys();E=2}else{break}}else{E=3;break}case 2:{const R=N.next();if(!R.done)return R;E=1;break}case 3:{const N=$.children;if(N!==undefined){if(N.size===1){for(const E of N)$=E;j=R($);E=1;break}if(q===undefined)q=[];for(const E of N){q.push(E)}}if(q!==undefined&&q.length>0){$=q.pop();j=R($);E=1;break}else{E=4}}case 4:return Ge}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,N){if(E){if(N.hasStartTime()){this.setStartTime(Math.min(E,N.startTime))}else{this.setStartTime(E)}}else{if(N.hasStartTime())this.setStartTime(N.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}Ee(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Ke=3;class SnapshotOptimization{constructor(E,N,R,j=true,$=false){this._has=E;this._get=N;this._set=R;this._useStartTime=j;this._isSet=$;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(E,N){const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=E=>{for(const R of E.snapshotContent){const j=this._map.get(R);if(j.shared0){if(this._useStartTime&&E.startTime&&(!j.startTime||j.startTime>E.startTime)){continue}const $=new Set;const q=R.snapshotContent;const G=this._get(j);for(const E of q){if(!N.has(E)){if(!G.has(E)){continue e}$.add(E);continue}}if($.size===0){E.addChild(j);increaseSharedAndStoreOptimizationEntry(R);this._statReusedSharedSnapshots++}else{const N=q.size-$.size;if(N{if(Ie>1&&E%2!==0)Ie=1;else if(Ie>10&&E%20!==0)Ie=10;else if(Ie>100&&E%200!==0)Ie=100;else if(Ie>1e3&&E%2e3!==0)Ie=1e3};const mergeMaps=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Map(E);for(const[E,j]of N){R.set(E,j)}return R};const mergeSets=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Set(E);for(const E of N){R.add(E)}return R};const getManagedItem=(E,N)=>{let R=E.length;let j=1;let $=true;e:while(R=R+13&&N.charCodeAt(R+1)===110&&N.charCodeAt(R+2)===111&&N.charCodeAt(R+3)===100&&N.charCodeAt(R+4)===101&&N.charCodeAt(R+5)===95&&N.charCodeAt(R+6)===109&&N.charCodeAt(R+7)===111&&N.charCodeAt(R+8)===100&&N.charCodeAt(R+9)===117&&N.charCodeAt(R+10)===108&&N.charCodeAt(R+11)===101&&N.charCodeAt(R+12)===115){if(N.length===R+13){return N}const E=N.charCodeAt(R+13);if(E===47||E===92){return getManagedItem(N.slice(0,R+14),N)}}return N.slice(0,R)};const getResolvedTimestamp=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E:undefined};const getResolvedHash=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E.hash:undefined};const addAll=(E,N)=>{for(const R of E)N.add(R)};class FileSystemInfo{constructor(E,{managedPaths:N=[],immutablePaths:R=[],logger:j,hashFunction:$="md4"}={}){this.fs=E;this.logger=j;this._remainingLogs=j?40:0;this._loggedPaths=j?new Set:undefined;this._hashFunction=$;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,N)=>E.setFileTimestamps(N)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,N)=>E.setFileHashes(N)),false);this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,N)=>E.setFileTshs(N)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,N)=>E.setContextTimestamps(N)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,N)=>E.setContextHashes(N)),false);this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,N)=>E.setContextTshs(N)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,N)=>E.setMissingExistence(N)),false);this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,N)=>E.setManagedItemInfo(N)),false);this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,N)=>E.setManagedFiles(N)),false,true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,N)=>E.setManagedContexts(N)),false,true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,N)=>E.setManagedMissing(N)),false,true);this._fileTimestamps=new G;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new G;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(N);this.managedPathsWithSlash=this.managedPaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((E=>typeof E!=="string"));this.immutablePaths=Array.from(R);this.immutablePathsWithSlash=this.immutablePaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((E=>typeof E!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,N)=>{if(N){this.logger.log(`${E}: ${N}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,N,...R){const j=E+N;if(this._loggedPaths.has(j))return;this._loggedPaths.add(j);this.logger.debug(`${E} invalidated because ${N}`,...R);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E,N){this._fileTimestamps.addAll(E,N);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E,N){this._contextTimestamps.addAll(E,N);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,N){const R=this._fileTimestamps.get(E);if(R!==undefined)return N(null,R);this.fileTimestampQueue.add(E,N)}getContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined){if(R==="ignore")return N(null,"ignore");const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTimestamp(R,N)}this.contextTimestampQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTimestamp(R,N)}))}_getUnresolvedContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined)return N(null,R);this.contextTimestampQueue.add(E,N)}getFileHash(E,N){const R=this._fileHashes.get(E);if(R!==undefined)return N(null,R);this.fileHashQueue.add(E,N)}getContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined){const E=getResolvedHash(R);if(E!==undefined)return N(null,E);return this._resolveContextHash(R,N)}this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedHash(R);if(j!==undefined)return N(null,j);this._resolveContextHash(R,N)}))}_getUnresolvedContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined)return N(null,R);this.contextHashQueue.add(E,N)}getContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined){const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTsh(R,N)}this.contextTshQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTsh(R,N)}))}_getUnresolvedContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined)return N(null,R);this.contextTshQueue.add(E,N)}_createBuildDependenciesResolvers(){const E=j({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const N=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const R=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const $=j({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:$,resolveCjs:N,resolveCjsAsChild:R}}resolveBuildDependencies(E,N,j){const{resolveContext:$,resolveEsm:q,resolveCjs:G,resolveCjsAsChild:ie}=this._createBuildDependenciesResolvers();const _e=new Set;const Ee=new Set;const Ie=new Set;const Ne=new Set;const He=new Set;const Ge=new Set;const Ke=new Set;const Qe=new Set;const Xe=new Map;const Ye=new Set;const Ze={fileDependencies:Ge,contextDependencies:Ke,missingDependencies:Qe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Me:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Le:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case Be:return`resolve directory ${E.path}`;case je:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case ze:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case We:return`directory ${E.path}`;case Je:return`file ${E.path}`;case Ve:return`directory dependencies ${E.path}`;case qe:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let N=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){N+=`\n at ${jobToString(E)}`;E=E.issuer}return N};Te(Array.from(N,(N=>({type:Me,context:E,path:N,expected:undefined,issuer:undefined}))),20,((E,N,j)=>{const{type:Te,context:He,path:Ke,expected:et}=E;const resolveDirectory=R=>{const q=`d\n${He}\n${R}`;if(Xe.has(q)){return j()}Xe.set(q,undefined);$(He,R,Ze,(($,G,ie)=>{if($){if(et===false){Xe.set(q,false);return j()}Ye.add(q);$.message+=`\nwhile resolving '${R}' in ${He} to a directory`;return j($)}const ae=ie.path;Xe.set(q,ae);N({type:We,context:undefined,path:ae,expected:undefined,issuer:E});j()}))};const resolveFile=(R,$,q)=>{const G=`${$}\n${He}\n${R}`;if(Xe.has(G)){return j()}Xe.set(G,undefined);q(He,R,Ze,(($,q,ie)=>{if(typeof et==="string"){if(!$&&ie&&ie.path===et){Xe.set(G,ie.path)}else{Ye.add(G);this.logger.warn(`Resolving '${R}' in ${He} for build dependencies doesn't lead to expected result '${et}', but to '${$||ie&&ie.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if($){if(et===false){Xe.set(G,false);return j()}Ye.add(G);$.message+=`\nwhile resolving '${R}' in ${He} as file\n${pathToString(E)}`;return j($)}const q=ie.path;Xe.set(G,q);N({type:Je,context:undefined,path:q,expected:undefined,issuer:E})}j()}))};switch(Te){case Me:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke,"f",G)}break}case Le:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke)}break}case Be:{resolveDirectory(Ke);break}case je:{resolveFile(Ke,"f",G);break}case Ue:{resolveFile(Ke,"c",ie);break}case ze:{resolveFile(Ke,"e",q);break}case Je:{if(_e.has(Ke)){j();break}_e.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Ee.add(Ke);Ge.add(Ke);if(_e.has(q))return j();_e.add(q)}N({type:qe,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case We:{if(Ie.has(Ke)){j();break}Ie.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Ne.add(Ke);Ge.add(Ke);if(Ie.has(q))return j();Ie.add(q)}N({type:Ve,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case qe:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ke)){process.nextTick(j);break}const $=require.cache[Ke];if($&&Array.isArray($.children)){e:for(const R of $.children){let j=R.filename;if(j){N({type:Je,context:undefined,path:j,expected:undefined,issuer:E});const q=ce(this.fs,Ke);for(const G of $.paths){if(j.startsWith(G)){let $=j.slice(G.length+1);const ie=/^(@[^\\/]+[\\/])[^\\/]+/.exec($);if(ie){N({type:Je,context:undefined,path:G+j[G.length]+ie[0]+j[G.length]+"package.json",expected:false,issuer:E})}let ae=$.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);N({type:Ue,context:q,path:ae,expected:R.filename,issuer:E});continue e}}let G=le(this.fs,q,j);if(G.endsWith(".js"))G=G.slice(0,-3);G=G.replace(/\\/g,"/");if(!G.startsWith("../"))G=`./${G}`;N({type:je,context:q,path:G,expected:R.filename,issuer:E})}}}else if(we&&/\.m?js$/.test(Ke)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const $=R(76218);$.init.then((()=>{this.fs.readFile(Ke,((R,q)=>{if(R)return j(R);try{const R=ce(this.fs,Ke);const j=q.toString();const[G]=$.parse(j);for(const $ of G){try{let q;if($.d===-1){q=JSON.parse(j.substring($.s-1,$.e+1))}else if($.d>-1){let E=j.substring($.s,$.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;q=JSON.parse(E)}else{continue}N({type:ze,context:R,path:q,expected:undefined,issuer:E})}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed at 'import(${j.substring($.s,$.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(N.stack)}}}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(N.stack)}process.nextTick(j)}))}),j);break}else{this.logger.log(`Assuming ${Ke} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick(j);break}case Ve:{const R=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Ke);const $=R?R[1]:Ke;const q=ae(this.fs,$,"package.json");this.fs.readFile(q,((R,G)=>{if(R){if(R.code==="ENOENT"){Qe.add(q);const R=ce(this.fs,$);if(R!==$){N({type:Ve,context:undefined,path:R,expected:undefined,issuer:E})}j();return}return j(R)}Ge.add(q);let ie;try{ie=JSON.parse(G.toString("utf-8"))}catch(E){return j(E)}const ae=ie.dependencies;const le=ie.optionalDependencies;const _e=new Set;const Ee=new Set;if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){_e.add(E)}}if(typeof le==="object"&&le){for(const E of Object.keys(le)){_e.add(E);Ee.add(E)}}for(const R of _e){N({type:Be,context:$,path:R,expected:!Ee.has(R),issuer:E})}j()}));break}}}),(E=>{if(E)return j(E);for(const E of Ee)_e.delete(E);for(const E of Ne)Ie.delete(E);for(const E of Ye)Xe.delete(E);j(null,{files:_e,directories:Ie,missing:He,resolveResults:Xe,resolveDependencies:{files:Ge,directories:Ke,missing:Qe}})}))}checkResolveResultsValid(E,N){const{resolveCjs:R,resolveCjsAsChild:j,resolveEsm:q,resolveContext:G}=this._createBuildDependenciesResolvers();$.eachLimit(E,20,(([E,N],$)=>{const[ie,ae,ce]=E.split("\n");switch(ie){case"d":G(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"f":R(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"c":j(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"e":q(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;default:$(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===He){return N(null,false)}if(E){return N(E)}return N(null,true)}))}createSnapshot(E,N,R,j,$,q){const G=new Map;const ie=new Map;const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;const Ee=new Map;const Te=new Map;const we=new Set;const Ie=new Set;const Ne=new Set;const Me=new Set;const Le=new Snapshot;if(E)Le.setStartTime(E);const Be=new Set;const je=$&&$.hash?$.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){if(G.size!==0){Le.setFileTimestamps(G)}if(ie.size!==0){Le.setFileHashes(ie)}if(ae.size!==0){Le.setFileTshs(ae)}if(ce.size!==0){Le.setContextTimestamps(ce)}if(le.size!==0){Le.setContextHashes(le)}if(_e.size!==0){Le.setContextTshs(_e)}if(Ee.size!==0){Le.setMissingExistence(Ee)}if(Te.size!==0){Le.setManagedItemInfo(Te)}this._managedFilesOptimization.optimize(Le,we);if(we.size!==0){Le.setManagedFiles(we)}this._managedContextsOptimization.optimize(Le,Ie);if(Ie.size!==0){Le.setManagedContexts(Ie)}this._managedMissingOptimization.optimize(Le,Ne);if(Ne.size!==0){Le.setManagedMissing(Ne)}if(Me.size!==0){Le.setChildren(Me)}this._snapshotCache.set(Le,true);this._statCreatedSnapshots++;q(null,Le)}};const jobError=()=>{if(Ue>0){Ue=-1e8;q(null,null)}};const checkManaged=(E,N)=>{for(const R of this.immutablePathsRegExps){if(R.test(E)){N.add(E);return true}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){N.add(E);return true}}for(const R of this.managedPathsRegExps){const j=R.exec(E);if(j){const R=getManagedItem(j[1],E);if(R){Be.add(R);N.add(E);return true}}}for(const R of this.managedPathsWithSlash){if(E.startsWith(R)){const j=getManagedItem(R,E);if(j){Be.add(j);N.add(E);return true}}}return false};const captureNonManaged=(E,N)=>{const R=new Set;for(const j of E){if(!checkManaged(j,N))R.add(j)}return R};if(N){const E=captureNonManaged(N,we);switch(je){case 3:this._fileTshsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTshs.get(N);if(E!==undefined){ae.set(N,E)}else{Ue++;this._getFileTimestampAndHash(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{ae.set(N,R);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Le,E);for(const N of E){const E=this._fileHashes.get(N);if(E!==undefined){ie.set(N,E)}else{Ue++;this.fileHashQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${N}: ${E.stack}`)}jobError()}else{ie.set(N,R);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){G.set(N,E)}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${N}: ${E.stack}`)}jobError()}else{G.set(N,R);jobDone()}}))}}break}}if(R){const E=captureNonManaged(R,Ie);switch(je){case 3:this._contextTshsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTshs.get(N);let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){_e.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{_e.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTsh(E,callback)}else{this.getContextTsh(N,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Le,E);for(const N of E){const E=this._contextHashes.get(N);let R;if(E!==undefined&&(R=getResolvedHash(E))!==undefined){le.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${N}: ${E.stack}`)}jobError()}else{le.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(N,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTimestamps.get(N);if(E==="ignore")continue;let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){ce.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${N}: ${E.stack}`)}jobError()}else{ce.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTimestamp(E,callback)}else{this.getContextTimestamp(N,callback)}}}break}}if(j){const E=captureNonManaged(j,Ne);this._missingExistenceOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){Ee.set(N,Boolean(E))}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${N}: ${E.stack}`)}jobError()}else{Ee.set(N,Boolean(R));jobDone()}}))}}}this._managedItemInfoOptimization.optimize(Le,Be);for(const E of Be){const N=this._managedItems.get(E);if(N!==undefined){Te.set(E,N)}else{Ue++;this.managedItemQueue.add(E,((N,R)=>{if(N){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${N.stack}`)}jobError()}else{Te.set(E,R);jobDone()}}))}}jobDone()}mergeSnapshots(E,N){const R=new Snapshot;if(E.hasStartTime()&&N.hasStartTime())R.setStartTime(Math.min(E.startTime,N.startTime));else if(N.hasStartTime())R.startTime=N.startTime;else if(E.hasStartTime())R.startTime=E.startTime;if(E.hasFileTimestamps()||N.hasFileTimestamps()){R.setFileTimestamps(mergeMaps(E.fileTimestamps,N.fileTimestamps))}if(E.hasFileHashes()||N.hasFileHashes()){R.setFileHashes(mergeMaps(E.fileHashes,N.fileHashes))}if(E.hasFileTshs()||N.hasFileTshs()){R.setFileTshs(mergeMaps(E.fileTshs,N.fileTshs))}if(E.hasContextTimestamps()||N.hasContextTimestamps()){R.setContextTimestamps(mergeMaps(E.contextTimestamps,N.contextTimestamps))}if(E.hasContextHashes()||N.hasContextHashes()){R.setContextHashes(mergeMaps(E.contextHashes,N.contextHashes))}if(E.hasContextTshs()||N.hasContextTshs()){R.setContextTshs(mergeMaps(E.contextTshs,N.contextTshs))}if(E.hasMissingExistence()||N.hasMissingExistence()){R.setMissingExistence(mergeMaps(E.missingExistence,N.missingExistence))}if(E.hasManagedItemInfo()||N.hasManagedItemInfo()){R.setManagedItemInfo(mergeMaps(E.managedItemInfo,N.managedItemInfo))}if(E.hasManagedFiles()||N.hasManagedFiles()){R.setManagedFiles(mergeSets(E.managedFiles,N.managedFiles))}if(E.hasManagedContexts()||N.hasManagedContexts()){R.setManagedContexts(mergeSets(E.managedContexts,N.managedContexts))}if(E.hasManagedMissing()||N.hasManagedMissing()){R.setManagedMissing(mergeSets(E.managedMissing,N.managedMissing))}if(E.hasChildren()||N.hasChildren()){R.setChildren(mergeSets(E.children,N.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(N)===true){this._snapshotCache.set(R,true)}return R}checkSnapshotValid(E,N){const R=this._snapshotCache.get(E);if(R!==undefined){this._statTestedSnapshotsCached++;if(typeof R==="boolean"){N(null,R)}else{R.push(N)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,N)}_checkSnapshotValidNoCache(E,N){let R=undefined;if(E.hasStartTime()){R=E.startTime}let j=1;const jobDone=()=>{if(--j===0){this._snapshotCache.set(E,true);N(null,true)}};const invalid=()=>{if(j>0){j=-1e8;this._snapshotCache.set(E,false);N(null,false)}};const invalidWithError=(E,N)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,N)}invalid()};const checkHash=(E,N,R)=>{if(N!==R){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,N,R)}return false}return true};const checkExistence=(E,N,R)=>{if(!N!==!R){if(this._remainingLogs>0){this._log(E,N?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestamp!==undefined&&N.timestamp!==j.timestamp){if($&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,N.timestamp,j.timestamp)}return false}}return true};const checkContext=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestampHash!==undefined&&N.timestampHash!==j.timestampHash){if($&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,N.timestampHash,j.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,N)=>{if(E||!N)return invalid();else jobDone()};for(const N of E.children){const E=this._snapshotCache.get(N);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{j++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;j++;this._checkSnapshotValidNoCache(N,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkFile(E,N,R)){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,N)=>{const R=this._fileHashes.get(E);if(R!==undefined){if(R!=="ignore"&&!checkHash(E,R,N)){invalid();return}}else{j++;this.fileHashQueue.add(E,((R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processFileHashSnapshot(E,R)}}if(E.hasFileTshs()){const{fileTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processFileHashSnapshot(E,R)}else{const N=this._fileTimestamps.get(E);if(N!==undefined){if(N==="ignore"||!checkFile(E,N,R,false)){processFileHashSnapshot(E,R&&R.hash)}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R,false)){processFileHashSnapshot(E,R&&R.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R)){invalid();return}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R)){invalid()}else{jobDone()}};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}const processContextHashSnapshot=(E,N)=>{const R=this._contextHashes.get(E);let $;if(R!==undefined&&($=getResolvedHash(R))!==undefined){if(!checkHash(E,$,N)){invalid();return}}else{j++;const callback=(R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}};if(R!==undefined){this._resolveContextHash(R,callback)}else{this.getContextHash(E,callback)}}};if(E.hasContextHashes()){const{contextHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processContextHashSnapshot(E,R)}}if(E.hasContextTshs()){const{contextTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processContextHashSnapshot(E,R)}else{const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R,false)){processContextHashSnapshot(E,R&&R.hash)}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R,false)){processContextHashSnapshot(E,R&&R.hash)}jobDone()};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}}if(E.hasMissingExistence()){const{missingExistence:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkExistence(E,Boolean(N),Boolean(R))){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkExistence(E,Boolean(j),Boolean(R))){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._managedItems.get(E);if(N!==undefined){if(!checkHash(E,N,R)){invalid();return}}else{j++;this.managedItemQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,j,R)){invalid()}else{jobDone()}}))}}}jobDone();if(j>0){const R=[N];N=(E,N)=>{for(const j of R)j(E,N)};this._snapshotCache.set(E,R)}}_readFileTimestamp(E,N){this.fs.stat(E,((R,j)=>{if(R){if(R.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return N(null,null)}return N(R)}let $;if(j.isDirectory()){$={safeTime:0,timestamp:undefined}}else{const E=+j.mtime;if(E)applyMtime(E);$={safeTime:E?E+Ie:Infinity,timestamp:E}}this._fileTimestamps.set(E,$);this._cachedDeprecatedFileTimestamps=undefined;N(null,$)}))}_readFileHash(E,N){this.fs.readFile(E,((R,j)=>{if(R){if(R.code==="EISDIR"){this._fileHashes.set(E,"directory");return N(null,"directory")}if(R.code==="ENOENT"){this._fileHashes.set(E,null);return N(null,null)}if(R.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return N(null,"too large")}return N(R)}const $=ie(this._hashFunction);$.update(j);const q=$.digest("hex");this._fileHashes.set(E,q);N(null,q)}))}_getFileTimestampAndHash(E,N){const continueWithHash=R=>{const j=this._fileTimestamps.get(E);if(j!==undefined){if(j!=="ignore"){const $={...j,hash:R};this._fileTshs.set(E,$);return N(null,$)}else{this._fileTshs.set(E,R);return N(null,R)}}else{this.fileTimestampQueue.add(E,((j,$)=>{if(j){return N(j)}const q={...$,hash:R};this._fileTshs.set(E,q);return N(null,q)}))}};const R=this._fileHashes.get(E);if(R!==undefined){continueWithHash(R)}else{this.fileHashQueue.add(E,((E,R)=>{if(E){return N(E)}continueWithHash(R)}))}}_readContext({path:E,fromImmutablePath:N,fromManagedItem:R,fromSymlink:j,fromFile:q,fromDirectory:G,reduce:ie},ce){this.fs.readdir(E,((le,Ee)=>{if(le){if(le.code==="ENOENT"){return ce(null,null)}return ce(le)}const Te=Ee.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();$.map(Te,(($,ie)=>{const ce=ae(this.fs,E,$);for(const R of this.immutablePathsRegExps){if(R.test(E)){return ie(null,N(E))}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){return ie(null,N(E))}}for(const N of this.managedPathsRegExps){const j=N.exec(E);if(j){const N=getManagedItem(j[1],E);if(N){return this.managedItemQueue.add(N,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}for(const N of this.managedPathsWithSlash){if(E.startsWith(N)){const E=getManagedItem(N,ce);if(E){return this.managedItemQueue.add(E,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}_e(this.fs,ce,((E,N)=>{if(E)return ie(E);if(typeof N==="string"){return j(ce,N,ie)}if(N.isFile()){return q(ce,N,ie)}if(N.isDirectory()){return G(ce,N,ie)}ie(null,null)}))}),((E,N)=>{if(E)return ce(E);const R=ie(Te,N);ce(null,R)}))}))}_readContextTimestamp(E,N){this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{const j=this._fileTimestamps.get(E);if(j!==undefined)return R(null,j==="ignore"?null:j);const $=+N.mtime;if($)applyMtime($);const q={safeTime:$?$+Ie:Infinity,timestamp:$};this._fileTimestamps.set(E,q);this._cachedDeprecatedFileTimestamps=undefined;R(null,q)},fromDirectory:(E,N,R)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(E,((E,N)=>{this.contextTimestampQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);let $=0;for(const E of N){if(!E){j.update("n");continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){$=Math.max($,E.safeTime)}}const q=j.digest("hex");const G={safeTime:$,timestampHash:q};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTimestamps.set(E,j);this._cachedDeprecatedContextTimestamps=undefined;N(null,j)}))}_resolveContextTimestamp(E,N){const R=[];let j=0;Te(E.symlinks,10,((E,N,$)=>{this._getUnresolvedContextTimestamp(E,((E,q)=>{if(E)return $(E);if(q&&q!=="ignore"){R.push(q.timestampHash);if(q.safeTime){j=Math.max(j,q.safeTime)}if(q.symlinks!==undefined){for(const E of q.symlinks)N(E)}}$()}))}),($=>{if($)return N($);const q=ie(this._hashFunction);q.update(E.timestampHash);if(E.safeTime){j=Math.max(j,E.safeTime)}R.sort();for(const E of R){q.update(E)}N(null,E.resolved={safeTime:j,timestampHash:q.digest("hex")})}))}_readContextHash(E,N){this._readContext({path:E,fromImmutablePath:()=>"",fromManagedItem:E=>E||"",fromSymlink:(E,N,R)=>{R(null,{hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>this.getFileHash(E,((E,N)=>{R(E,N||"")})),fromDirectory:(E,N,R)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(E,((E,N)=>{this.contextHashQueue.decreaseParallelism();R(E,N||"")}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);for(const E of N){if(typeof E==="string"){j.update(E)}else{j.update(E.hash);if(E.symlinks){if(R===undefined)R=new Set;addAll(E.symlinks,R)}}}const $={hash:j.digest("hex")};if(R)$.symlinks=R;return $}},((R,j)=>{if(R)return N(R);this._contextHashes.set(E,j);return N(null,j)}))}_resolveContextHash(E,N){const R=[];Te(E.symlinks,10,((E,N,j)=>{this._getUnresolvedContextHash(E,((E,$)=>{if(E)return j(E);if($){R.push($.hash);if($.symlinks!==undefined){for(const E of $.symlinks)N(E)}}j()}))}),(j=>{if(j)return N(j);const $=ie(this._hashFunction);$.update(E.hash);R.sort();for(const E of R){$.update(E)}N(null,E.resolved=$.digest("hex"))}))}_readContextTimestampAndHash(E,N){const finalize=(R,j)=>{const $=R==="ignore"?j:{...R,...j};this._contextTshs.set(E,$);N(null,$)};const R=this._contextHashes.get(E);const j=this._contextTimestamps.get(E);if(R!==undefined){if(j!==undefined){finalize(j,R)}else{this.contextTimestampQueue.add(E,((E,j)=>{if(E)return N(E);finalize(j,R)}))}}else{if(j!==undefined){this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);finalize(j,R)}))}else{this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E,hash:E||""}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{this._getFileTimestampAndHash(E,R)},fromDirectory:(E,N,R)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(E,((E,N)=>{this.contextTshQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);const $=ie(this._hashFunction);for(const N of E){j.update(N);$.update(N)}let q=0;for(const E of N){if(!E){j.update("n");continue}if(typeof E==="string"){j.update("n");$.update(E);continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){q=Math.max(q,E.safeTime)}$.update(E.hash)}const G={safeTime:q,timestampHash:j.digest("hex"),hash:$.digest("hex")};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTshs.set(E,j);return N(null,j)}))}}}_resolveContextTsh(E,N){const R=[];const j=[];let $=0;Te(E.symlinks,10,((E,N,q)=>{this._getUnresolvedContextTsh(E,((E,G)=>{if(E)return q(E);if(G){R.push(G.hash);if(G.timestampHash)j.push(G.timestampHash);if(G.safeTime){$=Math.max($,G.safeTime)}if(G.symlinks!==undefined){for(const E of G.symlinks)N(E)}}q()}))}),(q=>{if(q)return N(q);const G=ie(this._hashFunction);const ae=ie(this._hashFunction);G.update(E.hash);if(E.timestampHash)ae.update(E.timestampHash);if(E.safeTime){$=Math.max($,E.safeTime)}R.sort();for(const E of R){G.update(E)}j.sort();for(const E of j){ae.update(E)}N(null,E.resolved={safeTime:$,timestampHash:ae.digest("hex"),hash:G.digest("hex")})}))}_getManagedItemDirectoryInfo(E,N){this.fs.readdir(E,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){return N(null,Ne)}return N(R)}const $=new Set(j.map((N=>ae(this.fs,E,N))));N(null,$)}))}_getManagedItemInfo(E,N){const R=ce(this.fs,E);this.managedItemDirectoryQueue.add(R,((R,j)=>{if(R){return N(R)}if(!j.has(E)){this._managedItems.set(E,"missing");return N(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return N(null,"exists")}const $=ae(this.fs,E,"package.json");this.fs.readFile($,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){this.fs.readdir(E,((R,j)=>{if(!R&&j.length===1&&j[0]==="node_modules"){this._managedItems.set(E,"nested");return N(null,"nested")}const $=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn($);return N(new Error($))}));return}return N(R)}let $;try{$=JSON.parse(j.toString("utf-8"))}catch(E){return N(E)}const q=`${$.name||""}@${$.version||""}`;this._managedItems.set(E,q);N(null,q)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[N,R]of this._fileTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[N,R]of this._contextTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,N,R)=>{"use strict";const{getEntryRuntime:j,mergeRuntimeOwned:$}=R(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(R=>{let q=undefined;for(const[N,{options:R}]of E.entries){q=$(q,j(E,N,R))}for(const E of R){const R=N.getExportsInfo(E);R.setUsedInUnknownWay(q);N.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,N,R)=>{"use strict";const j=R(62355);const $=R(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const N=E.moduleGraph;const R=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((q,G)=>{const ie=E.getLogger("webpack.FlagDependencyExportsPlugin");let ae=0;let ce=0;let le=0;let _e=0;let Ee=0;let Te=0;const{moduleMemCaches:we}=E;const Ie=new $;ie.time("restore cached provided exports");j.each(q,((E,j)=>{const $=N.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if($.otherExportsInfo.provided!==null){le++;$.setHasProvideInfo();$.setUnknownExportsProvided();return j()}}if(typeof E.buildInfo.hash!=="string"){_e++;Ie.enqueue(E);$.setHasProvideInfo();return j()}const q=we&&we.get(E);const G=q&&q.get(this);if(G!==undefined){ae++;$.restoreProvided(G);return j()}R.get(E.identifier(),E.buildInfo.hash,((N,R)=>{if(N)return j(N);if(R!==undefined){ce++;$.restoreProvided(R)}else{Ee++;Ie.enqueue(E);$.setHasProvideInfo()}j()}))}),(E=>{ie.timeEnd("restore cached provided exports");if(E)return G(E);const $=new Set;const q=new Map;let Ne;let Me;const Le=new Map;let Be=true;let je=false;const processDependenciesBlock=E=>{for(const N of E.dependencies){processDependency(N)}for(const N of E.blocks){processDependenciesBlock(N)}};const processDependency=E=>{const R=E.getExports(N);if(!R)return;Le.set(E,R)};const processExportsSpec=(E,R)=>{const j=R.exports;const $=R.canMangle;const G=R.from;const ie=R.priority;const ae=R.terminalBinding||false;const ce=R.dependencies;if(R.hideExports){for(const N of R.hideExports){const R=Me.getExportInfo(N);R.unsetTarget(E)}}if(j===true){if(Me.setUnknownExportsProvided($,R.excludeExports,G&&E,G,ie)){je=true}}else if(Array.isArray(j)){const mergeExports=(R,j)=>{for(const ce of j){let j;let le=$;let _e=ae;let Ee=undefined;let Te=G;let we=undefined;let Ie=ie;let Me=false;if(typeof ce==="string"){j=ce}else{j=ce.name;if(ce.canMangle!==undefined)le=ce.canMangle;if(ce.export!==undefined)we=ce.export;if(ce.exports!==undefined)Ee=ce.exports;if(ce.from!==undefined)Te=ce.from;if(ce.priority!==undefined)Ie=ce.priority;if(ce.terminalBinding!==undefined)_e=ce.terminalBinding;if(ce.hidden!==undefined)Me=ce.hidden}const Le=R.getExportInfo(j);if(Le.provided===false||Le.provided===null){Le.provided=true;je=true}if(Le.canMangleProvide!==false&&le===false){Le.canMangleProvide=false;je=true}if(_e&&!Le.terminalBinding){Le.terminalBinding=true;je=true}if(Ee){const E=Le.createNestedExportsInfo();mergeExports(E,Ee)}if(Te&&(Me?Le.unsetTarget(E):Le.setTarget(E,Te,we===undefined?[j]:we,Ie))){je=true}const Be=Le.getTarget(N);let Ue=undefined;if(Be){const E=N.getExportsInfo(Be.module);Ue=E.getNestedExportsInfo(Be.export);const R=q.get(Be.module);if(R===undefined){q.set(Be.module,new Set([Ne]))}else{R.add(Ne)}}if(Le.exportsInfoOwned){if(Le.exportsInfo.setRedirectNamedTo(Ue)){je=true}}else if(Le.exportsInfo!==Ue){Le.exportsInfo=Ue;je=true}}};mergeExports(Me,j)}if(ce){Be=false;for(const E of ce){const N=q.get(E);if(N===undefined){q.set(E,new Set([Ne]))}else{N.add(Ne)}}}};const notifyDependencies=()=>{const E=q.get(Ne);if(E!==undefined){for(const N of E){Ie.enqueue(N)}}};ie.time("figure out provided exports");while(Ie.length>0){Ne=Ie.dequeue();Te++;Me=N.getExportsInfo(Ne);Be=true;je=false;Le.clear();N.freeze();processDependenciesBlock(Ne);N.unfreeze();for(const[E,N]of Le){processExportsSpec(E,N)}if(Be){$.add(Ne)}if(je){notifyDependencies()}}ie.timeEnd("figure out provided exports");ie.log(`${Math.round(100*(_e+Ee)/(ae+ce+Ee+_e+le))}% of exports of modules have been determined (${le} no declared exports, ${Ee} not cached, ${_e} flagged uncacheable, ${ce} from cache, ${ae} from mem cache, ${Te-Ee-_e} additional calculations due to dependencies)`);ie.time("store provided exports into cache");j.each($,((E,j)=>{if(typeof E.buildInfo.hash!=="string"){return j()}const $=N.getExportsInfo(E).getRestoreProvidedData();const q=we&&we.get(E);if(q){q.set(this,$)}R.store(E.identifier(),E.buildInfo.hash,$,j)}),(E=>{ie.timeEnd("store provided exports into cache");G(E)}))}))}));const q=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{q.set(E,N.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{N.getExportsInfo(E).restoreProvided(q.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(79900);const{STAGE_DEFAULT:G}=R(82414);const ie=R(56561);const ae=R(34194);const{getEntryRuntime:ce,mergeRuntimeOwned:le}=R(37416);const{NO_EXPORTS_REFERENCED:_e,EXPORTS_OBJECT_REFERENCED:Ee}=j;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:G},(R=>{if(E.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const j=E.getLogger("webpack.FlagDependencyUsagePlugin");const G=new Map;const Te=new ae;const processReferencedModule=(E,R,j,q)=>{const ie=N.getExportsInfo(E);if(R.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ie.setUsedWithoutInfo(j)){Te.enqueue(E,j)}return}for(const N of R){let R;let q=true;if(Array.isArray(N)){R=N}else{R=N.name;q=N.canMangle!==false}if(R.length===0){if(ie.setUsedInUnknownWay(j)){Te.enqueue(E,j)}}else{let N=ie;for(let ae=0;aeE===$.Unused),$.OnlyPropertiesUsed,j)){const R=N===ie?E:G.get(N);if(R){Te.enqueue(R,j)}}N=R;continue}}if(ce.setUsedConditionally((E=>E!==$.Used),$.Used,j)){const R=N===ie?E:G.get(N);if(R){Te.enqueue(R,j)}}break}}}}else{if(!q&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ie.setUsedForSideEffectsOnly(j)){Te.enqueue(E,j)}}};const processModule=(R,j,$)=>{const G=new Map;const ae=new ie;ae.enqueue(R);for(;;){const R=ae.dequeue();if(R===undefined)break;for(const E of R.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(E)}}for(const $ of R.dependencies){const R=N.getConnection($);if(!R||!R.module){continue}const ie=R.getActiveState(j);if(ie===false)continue;const{module:ae}=R;if(ie===q.TRANSITIVE_ONLY){processModule(ae,j,false);continue}const ce=G.get(ae);if(ce===Ee){continue}const le=E.getDependencyReferencedExports($,j);if(ce===undefined||ce===_e||le===Ee){G.set(ae,le)}else if(ce!==undefined&&le===_e){continue}else{let E;if(Array.isArray(ce)){E=new Map;for(const N of ce){if(Array.isArray(N)){E.set(N.join("\n"),N)}else{E.set(N.name.join("\n"),N)}}G.set(ae,E)}else{E=ce}for(const N of le){if(Array.isArray(N)){const R=N.join("\n");const j=E.get(R);if(j===undefined){E.set(R,N)}}else{const R=N.name.join("\n");const j=E.get(R);if(j===undefined||Array.isArray(j)){E.set(R,N)}else{E.set(R,{name:N.name,canMangle:N.canMangle&&j.canMangle})}}}}}}for(const[E,N]of G){if(Array.isArray(N)){processReferencedModule(E,N,j,$)}else{processReferencedModule(E,Array.from(N.values()),j,$)}}};j.time("initialize exports usage");for(const E of R){const R=N.getExportsInfo(E);G.set(R,E);R.setHasUseInfo()}j.timeEnd("initialize exports usage");j.time("trace exports usage in graph");const processEntryDependency=(E,R)=>{const j=N.getModule(E);if(j){processReferencedModule(j,_e,R,true)}};let we=undefined;for(const[N,{dependencies:R,includeDependencies:j,options:$}]of E.entries){const q=this.global?undefined:ce(E,N,$);for(const E of R){processEntryDependency(E,q)}for(const E of j){processEntryDependency(E,q)}we=le(we,q)}for(const N of E.globalEntry.dependencies){processEntryDependency(N,we)}for(const N of E.globalEntry.includeDependencies){processEntryDependency(N,we)}while(Te.length){const[E,N]=Te.dequeue();processModule(E,N,false)}j.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,N,R)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const N=R(75884);throw new N}getSize(E,N){const j=R(75884);throw new j}generate(E,{dependencyTemplates:N,runtimeTemplate:j,moduleGraph:$,type:q}){const G=R(75884);throw new G}getConcatenationBailoutReason(E,N){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:N,runtime:R}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,N){const R=N||"javascript";const j=this.map[R];return j?j.getSize(E,R):0}generate(E,N){const R=N.type;const j=this.map[R];if(!j){throw new Error(`Generator.byType: no generator specified for ${R}`)}return j.generate(E,N)}}E.exports=Generator},4642:(E,N)=>{"use strict";const connectChunkGroupAndChunk=(E,N)=>{if(E.pushChunk(N)){N.addGroup(E)}};const connectChunkGroupParentAndChild=(E,N)=>{if(E.addChild(N)){N.addParent(E)}};N.connectChunkGroupAndChunk=connectChunkGroupAndChunk;N.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class HarmonyLinkingError extends j{constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,N,R)=>{"use strict";const j=R(81627);class HookWebpackError extends j{constructor(E,N){super(E.message);this.name="HookWebpackError";this.hook=N;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${N}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,N)=>{if(E instanceof j)return E;return new HookWebpackError(E,N)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,N)=>(R,$)=>{if(R){if(R instanceof j){E(R);return}E(new HookWebpackError(R,N));return}E(null,$)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,N)=>{let R;try{R=E()}catch(E){if(E instanceof j){throw E}throw new HookWebpackError(E,N)}return R};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$}=R(48135);const q=R(45137);const G=R(3080);const ie=R(22352);const ae=R(53520);const ce=R(76150);const le=R(81627);const _e=R(66298);const Ee=R(76302);const Te=R(5389);const we=R(21809);const Ie=R(73158);const Ne=R(79838);const Me=R(3711);const{evaluateToIdentifier:Le}=R(48472);const{find:Be,isSubset:je}=R(26221);const Ue=R(86949);const{compareModulesById:ze}=R(68673);const{getRuntimeKey:We,keyToRuntime:Je,forEachRuntime:Ve,mergeRuntimeOwned:qe,subtractRuntime:He,intersectRuntime:Ge}=R(37416);const Ke=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Me)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let N=Ke.get(E);if(N===undefined){N={hotAcceptCallback:new j(["expression","requests"]),hotAcceptWithoutCallback:new j(["expression","requests"])};Ke.set(E,N)}return N}constructor(E){this.options=E||{}}apply(E){const{_backCompat:N}=E;if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const R=[ce.module];const createAcceptHandler=(E,N)=>{const{hotAcceptCallback:j,hotAcceptWithoutCallback:$}=HotModuleReplacementPlugin.getParserHooks(E);return q=>{const G=E.state.module;const ie=new _e(`${G.moduleArgument}.hot.accept`,q.callee.range,R);ie.loc=q.loc;G.addPresentationalDependency(ie);G.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(q.arguments.length>=1){const R=E.evaluateExpression(q.arguments[0]);let ie=[];let ae=[];if(R.isString()){ie=[R]}else if(R.isArray()){ie=R.items.filter((E=>E.isString()))}if(ie.length>0){ie.forEach(((E,R)=>{const j=E.string;const $=new N(j,E.range);$.optional=true;$.loc=Object.create(q.loc);$.loc.index=R;G.addDependency($);ae.push(j)}));if(q.arguments.length>1){j.call(q.arguments[1],ae);for(let N=1;Nj=>{const $=E.state.module;const q=new _e(`${$.moduleArgument}.hot.decline`,j.callee.range,R);q.loc=j.loc;$.addPresentationalDependency(q);$.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(j.arguments.length===1){const R=E.evaluateExpression(j.arguments[0]);let q=[];if(R.isString()){q=[R]}else if(R.isArray()){q=R.items.filter((E=>E.isString()))}q.forEach(((E,R)=>{const q=new N(E.string,E.range);q.optional=true;q.loc=Object.create(j.loc);q.loc.index=R;$.addDependency(q)}))}return true};const createHMRExpressionHandler=E=>N=>{const j=E.state.module;const $=new _e(`${j.moduleArgument}.hot`,N.range,R);$.loc=N.loc;j.addPresentationalDependency($);j.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Le("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ie));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Le("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,Ee));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Te));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((R,{normalModuleFactory:j})=>{if(R.compiler!==E)return;R.dependencyFactories.set(we,j);R.dependencyTemplates.set(we,new we.Template);R.dependencyFactories.set(Ie,j);R.dependencyTemplates.set(Ie,new Ie.Template);R.dependencyFactories.set(Ee,j);R.dependencyTemplates.set(Ee,new Ee.Template);R.dependencyFactories.set(Te,j);R.dependencyTemplates.set(Te,new Te.Template);let _e=0;const Me={};const Le={};R.hooks.record.tap("HotModuleReplacementPlugin",((E,N)=>{if(N.hash===E.hash)return;const R=E.chunkGraph;N.hash=E.hash;N.hotIndex=_e;N.fullHashChunkModuleHashes=Me;N.chunkModuleHashes=Le;N.chunkHashes={};N.chunkRuntime={};for(const R of E.chunks){N.chunkHashes[R.id]=R.hash;N.chunkRuntime[R.id]=We(R.runtime)}N.chunkModuleIds={};for(const j of E.chunks){N.chunkModuleIds[j.id]=Array.from(R.getOrderedChunkModulesIterable(j,ze(R)),(E=>R.getModuleId(E)))}}));const Ke=new Ue;const Qe=new Ue;const Xe=new Ue;R.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const N=R.chunkGraph;const j=R.records;for(const E of R.chunks){const getModuleHash=j=>{if(R.codeGenerationResults.has(j,E.runtime)){return R.codeGenerationResults.getHash(j,E.runtime)}else{Xe.add(j,E.runtime);return N.getModuleHash(j,E.runtime)}};const $=N.getChunkFullHashModulesSet(E);if($!==undefined){for(const N of $){Qe.add(N,E)}}const q=N.getChunkModulesIterable(E);if(q!==undefined){if(j.chunkModuleHashes){if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const q=getModuleHash(N);if($.has(N)){if(j.fullHashChunkModuleHashes[R]!==q){Ke.add(N,E)}Me[R]=q}else{if(j.chunkModuleHashes[R]!==q){Ke.add(N,E)}Le[R]=q}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const $=getModuleHash(N);if(j.chunkModuleHashes[R]!==$){Ke.add(N,E)}Le[R]=$}}}else{if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);if($.has(N)){Me[R]=j}else{Le[R]=j}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);Le[R]=j}}}}}_e=j.hotIndex||0;if(Ke.size>0)_e++;E.update(`${_e}`)}));R.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:G.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=R.chunkGraph;const j=R.records;if(j.hash===R.hash)return;if(!j.chunkModuleHashes||!j.chunkHashes||!j.chunkModuleIds){return}for(const[N,$]of Qe){const q=`${$.id}|${N.identifier()}`;const G=Xe.has(N,$.runtime)?E.getModuleHash(N,$.runtime):R.codeGenerationResults.getHash(N,$.runtime);if(j.chunkModuleHashes[q]!==G){Ke.add(N,$)}Le[q]=G}const G=new Map;let ae;for(const E of Object.keys(j.chunkRuntime)){const N=Je(j.chunkRuntime[E]);ae=qe(ae,N)}Ve(ae,(E=>{const{path:N,info:$}=R.getPathWithInfo(R.outputOptions.hotUpdateMainFilename,{hash:j.hash,runtime:E});G.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:N,assetInfo:$})}));if(G.size===0)return;const ce=new Map;for(const N of R.modules){const R=E.getModuleId(N);ce.set(R,N)}const _e=new Set;for(const $ of Object.keys(j.chunkHashes)){const le=Je(j.chunkRuntime[$]);const Ee=[];for(const E of j.chunkModuleIds[$]){const N=ce.get(E);if(N===undefined){_e.add(E)}else{Ee.push(N)}}let Te;let we;let Ie;let Ne;let Me;let Le;let je;const Ue=Be(R.chunks,(E=>`${E.id}`===$));if(Ue){Te=Ue.id;Le=Ge(Ue.runtime,ae);if(Le===undefined)continue;we=E.getChunkModules(Ue).filter((E=>Ke.has(E,Ue)));Ie=Array.from(E.getChunkRuntimeModulesIterable(Ue)).filter((E=>Ke.has(E,Ue)));const N=E.getChunkFullHashModulesIterable(Ue);Ne=N&&Array.from(N).filter((E=>Ke.has(E,Ue)));const R=E.getChunkDependentHashModulesIterable(Ue);Me=R&&Array.from(R).filter((E=>Ke.has(E,Ue)));je=He(le,Le)}else{Te=`${+$}`===$?+$:$;je=le;Le=le}if(je){Ve(je,(E=>{G.get(E).removedChunkIds.add(Te)}));for(const N of Ee){const q=`${$}|${N.identifier()}`;const ie=j.chunkModuleHashes[q];const ae=E.getModuleRuntimes(N);if(le===Le&&ae.has(Le)){const j=Xe.has(N,Le)?E.getModuleHash(N,Le):R.codeGenerationResults.getHash(N,Le);if(j!==ie){if(N.type==="runtime"){Ie=Ie||[];Ie.push(N)}else{we=we||[];we.push(N)}}}else{Ve(je,(E=>{for(const N of ae){if(typeof N==="string"){if(N===E)return}else if(N!==undefined){if(N.has(E))return}}G.get(E).removedModules.add(N)}))}}}if(we&&we.length>0||Ie&&Ie.length>0){const $=new ie;if(N)q.setChunkGraphForChunk($,E);$.id=Te;$.runtime=Le;if(Ue){for(const E of Ue.groupsIterable)$.addGroup(E)}E.attachModules($,we||[]);E.attachRuntimeModules($,Ie||[]);if(Ne){E.attachFullHashModules($,Ne)}if(Me){E.attachDependentHashModules($,Me)}const ae=R.getRenderManifest({chunk:$,hash:j.hash,fullHash:j.hash,outputOptions:R.outputOptions,moduleTemplates:R.moduleTemplates,dependencyTemplates:R.dependencyTemplates,codeGenerationResults:R.codeGenerationResults,runtimeTemplate:R.runtimeTemplate,moduleGraph:R.moduleGraph,chunkGraph:E});for(const E of ae){let N;let j;if("filename"in E){N=E.filename;j=E.info}else{({path:N,info:j}=R.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const $=E.render();R.additionalChunkAssets.push(N);R.emitAsset(N,$,{hotModuleReplacement:true,...j});if(Ue){Ue.files.add(N);R.hooks.chunkAsset.call(Ue,N)}}Ve(Le,(E=>{G.get(E).updatedChunkIds.add(Te)}))}}const Ee=Array.from(_e);const Te=new Map;for(const{removedChunkIds:E,removedModules:N,updatedChunkIds:j,filename:$,assetInfo:q}of G.values()){const G=Te.get($);if(G&&(!je(G.removedChunkIds,E)||!je(G.removedModules,N)||!je(G.updatedChunkIds,j))){R.warnings.push(new le(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const N of E)G.removedChunkIds.add(N);for(const E of N)G.removedModules.add(E);for(const E of j)G.updatedChunkIds.add(E);continue}Te.set($,{removedChunkIds:E,removedModules:N,updatedChunkIds:j,assetInfo:q})}for(const[N,{removedChunkIds:j,removedModules:q,updatedChunkIds:G,assetInfo:ie}]of Te){const ae={c:Array.from(G),r:Array.from(j),m:q.size===0?Ee:Ee.concat(Array.from(q,(N=>E.getModuleId(N))))};const ce=new $(JSON.stringify(ae));R.emitAsset(N,ce,{hotModuleReplacement:true,...ie})}}));R.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,N)=>{N.add(ce.hmrDownloadManifest);N.add(ce.hmrDownloadUpdateHandlers);N.add(ce.interceptModuleExecution);N.add(ce.moduleCache);R.addRuntimeModule(E,new Ne)}));j.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));j.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));j.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));ae.getCompilationHooks(R).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,N,R)=>{"use strict";const j=R(62433);class HotUpdateChunk extends j{constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,N,R)=>{"use strict";const j=R(40674);class IgnoreErrorModuleFactory extends j{constructor(E){super();this.normalModuleFactory=E}create(E,N){this.normalModuleFactory.create(E,((E,R)=>N(null,R)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(44194),(()=>R(8679)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){$(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(N=>N.filter((N=>!this._ignoreWarnings.some((R=>R(N,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(56202);const extractFragmentIndex=(E,N)=>[E,N];const sortFragmentWithIndex=([E,N],[R,j])=>{const $=E.stage-R.stage;if($!==0)return $;const q=E.position-R.position;if(q!==0)return q;return N-j};class InitFragment{constructor(E,N,R,j,$){this.content=E;this.stage=N;this.position=R;this.key=j;this.endContent=$}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,N,R){if(N.length>0){const $=N.map(extractFragmentIndex).sort(sortFragmentWithIndex);const q=new Map;for(const[E]of $){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const N=q.get(E.key);if(N===undefined){q.set(E.key,E)}else if(Array.isArray(N)){N.push(E)}else{q.set(E.key,[N,E])}continue}else if(typeof E.merge==="function"){const N=q.get(E.key);if(N!==undefined){q.set(E.key,E.merge(N));continue}}q.set(E.key||Symbol(),E)}const G=new j;const ie=[];for(let E of q.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}G.add(E.getContent(R));const N=E.getEndContent(R);if(N){ie.push(N)}}G.add(E);for(const E of ie.reverse()){G.add(E)}return G}else{return E}}serialize(E){const{write:N}=E;N(this.content);N(this.stage);N(this.position);N(this.key);N(this.endContent)}deserialize(E){const{read:N}=E;this.content=N();this.stage=N();this.position=N();this.key=N();this.endContent=N()}}$(InitFragment,"webpack/lib/InitFragment");InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class InvalidDependenciesModuleWarning extends j{constructor(E,N){const R=N?Array.from(N).sort():[];const j=R.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${j.slice(0,3).join("\n")}${j.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=j.slice(3).join("\n");this.module=E}}$(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,N,R)=>{"use strict";const j=R(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;const N=j.getTopLevelSymbol(E.state);if(N){j.addUsage(E.state,null,N)}else{j.bailout(E.state)}}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let N=E.state.module.buildInfo.topLevelDeclarations;if(N===undefined){N=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const R of E.scope.definitions.asSet()){const j=E.getFreeInfoFromVariable(R);if(j===undefined){N.add(R)}}}))};N.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,N,R)=>{"use strict";const j=R(62355);const $=R(66583);const{someInIterable:q}=R(11539);const{compareModulesById:G}=R(68673);const{dirname:ie,mkdirp:ae}=R(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((N,R)=>{const ce=N.moduleGraph;j.forEach(Array.from(N.chunks),((R,j)=>{if(!R.canBeInitial()){j();return}const le=N.chunkGraph;const _e=N.getPath(this.options.path,{chunk:R});const Ee=this.options.name&&N.getPath(this.options.name,{chunk:R});const Te=Object.create(null);for(const N of le.getOrderedChunkModulesIterable(R,G(le))){if(this.options.entryOnly&&!q(ce.getIncomingConnections(N),(E=>E.dependency instanceof $))){continue}const R=N.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(R){const E=ce.getExportsInfo(N);const j=E.getProvidedExports();const $={id:le.getModuleId(N),buildMeta:N.buildMeta,exports:Array.isArray(j)?j:undefined};Te[R]=$}}const we={name:Ee,type:this.options.type,content:Te};const Ie=this.options.format?JSON.stringify(we,null,2):JSON.stringify(we);const Ne=Buffer.from(Ie,"utf8");ae(E.intermediateFileSystem,ie(E.intermediateFileSystem,_e),(N=>{if(N)return j(N);E.intermediateFileSystem.writeFile(_e,Ne,j)}))}),R)}))}}E.exports=LibManifestPlugin},43351:(E,N,R)=>{"use strict";const j=R(13984);class LibraryTemplatePlugin{constructor(E,N,R,j,$){this.library={type:N||"var",name:E,umdNamedDefine:R,auxiliaryComment:j,export:$}}apply(E){const{output:N}=E.options;N.library=this.library;new j(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,N,R)=>{"use strict";const j=R(70354);const $=R(53520);const q=R(35817);const G=q(R(80274),(()=>R(30685)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){G(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{$.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,R)=>{const $=R.resource;if(!$)return;const q=$.indexOf("?");if(j.matchObject(N,q<0?$:$.substr(0,q))){for(const R of Object.keys(N)){if(R==="include"||R==="exclude"||R==="test"){continue}E[R]=N[R]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,N,R)=>{"use strict";const j=R(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{j.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(73837);const q=R(76150);const G=R(91671);const ie=G((()=>R(18161)));const ae=G((()=>R(58421)));const ce=G((()=>R(67104)));class MainTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(!N.chunk.hasRuntime())return E;return R(E,N)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).renderRequire.tap(E,R)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash,N.moduleTemplates.javascript,N.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:$.deprecate(((E,R)=>{N.hooks.assetPath.tap(E,R)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:$.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).chunkHash.tap(E,((E,N)=>{if(!E.hasRuntime())return;return R(N,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new j(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new j(["source","chunk","hash"]),requireExtensions:new j(["source","chunk","hash"]),requireEnsure:new j(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=ce().getCompilationHooks(N);return E.createScript},get linkPrefetch(){const E=ae().getCompilationHooks(N);return E.linkPrefetch},get linkPreload(){const E=ae().getCompilationHooks(N);return E.linkPreload}});this.renderCurrentHashCode=$.deprecate(((E,N)=>{if(N){return`${q.getFullHash} ? ${q.getFullHash}().slice(0, ${N}) : ${E.slice(0,N)}`}return`${q.getFullHash} ? ${q.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=$.deprecate((E=>N.getAssetPath(N.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=$.deprecate(((E,R)=>N.getAssetPathWithInfo(E,R)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:$.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,N,R)=>{"use strict";const j=R(73837);const $=R(45137);const q=R(32448);const G=R(75412);const ie=R(76150);const{first:ae}=R(26221);const{compareChunksById:ce}=R(68673);const le=R(56202);const _e={};let Ee=1e3;const Te=new Set(["unknown"]);const we=new Set(["javascript"]);const Ie=j.deprecate(((E,N)=>E.needRebuild(N.fileSystemInfo.getDeprecatedFileTimestamps(),N.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends q{constructor(E,N=null,R=null){super();this.type=E;this.context=N;this.layer=R;this.needId=true;this.debugId=Ee++;this.resolveOptions=_e;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return $.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}$.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return $.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return $.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return G.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(G.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const N=$.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(N.isModuleInChunk(this,E))return false;N.connectChunkAndModule(E,this);return true}removeChunk(E){return $.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return $.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return $.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return $.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return $.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return $.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,ce)}isProvided(E){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,N){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return N?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return N?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(N)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const R=E.getReadOnlyExportInfo(this,"__esModule");if(R.provided===false){return handleDefault()}const j=R.getTarget(E);if(!j||!j.export||j.export.length!==1||j.export[0]!=="__esModule"){return"dynamic"}switch(j.module.buildMeta&&j.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return N?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let N=false;for(const R of E.getIncomingConnections(this)){if(!R.dependency||!R.dependency.optional||!R.isTargetActive(undefined)){return false}N=true}return N}isAccessibleInChunk(E,N,R){for(const R of N.groupsIterable){if(!this.isAccessibleInChunkGroup(E,R))return false}return true}isAccessibleInChunkGroup(E,N,R){const j=new Set([N]);e:for(const $ of j){for(const N of $.chunks){if(N!==R&&E.isModuleInChunk(this,N))continue e}if(N.isInitial())return false;for(const E of N.parentsIterable)j.add(E)}return true}hasReasonForChunk(E,N,R){for(const[j,$]of N.getIncomingConnectionsByOriginModule(this)){if(!$.some((N=>N.isTargetActive(E.runtime))))continue;for(const N of R.getModuleChunksIterable(j)){if(!this.isAccessibleInChunk(R,N,E))return true}}return false}hasReasons(E,N){for(const R of E.getIncomingConnections(this)){if(R.isTargetActive(N))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,N){N(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Ie(this,E))}needRebuild(E,N){return true}updateHash(E,N={chunkGraph:$.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:R,runtime:j}=N;E.update(R.getModuleGraphHash(this,j));if(this.presentationalDependencies!==undefined){for(const R of this.presentationalDependencies){R.updateHash(E,N)}}super.updateHash(E,N)}invalidateBuild(){}identifier(){const E=R(75884);throw new E}readableIdentifier(E){const N=R(75884);throw new N}build(E,N,j,$,q){const G=R(75884);throw new G}getSourceTypes(){if(this.source===Module.prototype.source){return Te}else{return we}}source(E,N,j="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=R(75884);throw new E}const q=$.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const G={dependencyTemplates:E,runtimeTemplate:N,moduleGraph:q.moduleGraph,chunkGraph:q,runtime:undefined};const ie=this.codeGeneration(G).sources;return j?ie.get(j):ie.get(ae(this.getSourceTypes()))}size(E){const N=R(75884);throw new N}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const N=new Map;for(const R of this.getSourceTypes()){if(R!=="unknown"){N.set(R,this.source(E.dependencyTemplates,E.runtimeTemplate,R))}}return{sources:N,runtimeRequirements:new Set([ie.module,ie.exports,ie.require])}}chunkCondition(E,N){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,N){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,N,R,j){}serialize(E){const{write:N}=E;N(this.type);N(this.layer);N(this.context);N(this.resolveOptions);N(this.factoryMeta);N(this.useSourceMap);N(this.useSimpleSourceMap);N(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);N(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);N(this.buildMeta);N(this.buildInfo);N(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:N}=E;this.type=N();this.layer=N();this.context=N();this.resolveOptions=N();this.factoryMeta=N();this.useSourceMap=N();this.useSimpleSourceMap=N();this._warnings=N();this._errors=N();this.buildMeta=N();this.buildInfo=N();this.presentationalDependencies=N();super.deserialize(E)}}le(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:j.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:j.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,N,R)=>{"use strict";const{cutOffLoaderExecution:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleBuildError extends ${constructor(E,{from:N=null}={}){let R="Module build failed";let $=undefined;if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const N=j(E.stack);if(!E.hideStack){R+=N}else{$=N;if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=E}}}else if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=String(E)}}else{R+=String(E)}super(R);this.name="ModuleBuildError";this.details=$;this.error=E}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,N,R)=>{"use strict";const j=R(81627);class ModuleDependencyError extends j{constructor(E,N,R){super(N.message);this.name="ModuleDependencyError";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class ModuleDependencyWarning extends j{constructor(E,N,R){super(N?N.message:"");this.name="ModuleDependencyWarning";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}$(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleError extends ${constructor(E,{from:N=null}={}){let R="Module Error";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=E}super(R);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,N,R)=>{"use strict";class ModuleFactory{create(E,N){const j=R(75884);throw new j}}E.exports=ModuleFactory},70354:(E,N,R)=>{"use strict";const j=R(35891);const $=R(91671);const q=N;q.ALL_LOADERS_RESOURCE="[all-loaders][resource]";q.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;q.LOADERS_RESOURCE="[loaders][resource]";q.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;q.RESOURCE="[resource]";q.REGEXP_RESOURCE=/\[resource\]/gi;q.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";q.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;q.RESOURCE_PATH="[resource-path]";q.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;q.ALL_LOADERS="[all-loaders]";q.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;q.LOADERS="[loaders]";q.REGEXP_LOADERS=/\[loaders\]/gi;q.QUERY="[query]";q.REGEXP_QUERY=/\[query\]/gi;q.ID="[id]";q.REGEXP_ID=/\[id\]/gi;q.HASH="[hash]";q.REGEXP_HASH=/\[hash\]/gi;q.NAMESPACE="[namespace]";q.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,N)=>()=>{const R=E();const j=R.indexOf(N);return j<0?"":R.substr(j)};const getBefore=(E,N)=>()=>{const R=E();const j=R.lastIndexOf(N);return j<0?"":R.substr(0,j)};const getHash=(E,N)=>()=>{const R=j(N);R.update(E());const $=R.digest("hex");return $.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];Object.defineProperty(N,R,{get:()=>j(),set:E=>{Object.defineProperty(N,R,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return N};const G=/\[\\*([\w-]+)\\*\]/gi;q.createFilename=(E="",N,{requestShortener:R,chunkGraph:j,hashFunction:ie="md4"})=>{const ae={namespace:"",moduleFilenameTemplate:"",...typeof N==="object"?N:{moduleFilenameTemplate:N}};let ce;let le;let _e;let Ee;let Te;if(typeof E==="string"){Te=$((()=>R.shorten(E)));_e=Te;Ee=()=>"";ce=()=>E.split("!").pop();le=getHash(_e,ie)}else{Te=$((()=>E.readableIdentifier(R)));_e=$((()=>R.shorten(E.identifier())));Ee=()=>j.getModuleId(E);ce=()=>E.identifier().split("!").pop();le=getHash(_e,ie)}const we=$((()=>Te().split("!").pop()));const Ie=getBefore(Te,"!");const Ne=getBefore(_e,"!");const Me=getAfter(we,"?");const resourcePath=()=>{const E=Me().length;return E===0?we():we().slice(0,-E)};if(typeof ae.moduleFilenameTemplate==="function"){return ae.moduleFilenameTemplate(lazyObject({identifier:_e,shortIdentifier:Te,resource:we,resourcePath:$(resourcePath),absoluteResourcePath:$(ce),allLoaders:$(Ne),query:$(Me),moduleId:$(Ee),hash:$(le),namespace:()=>ae.namespace}))}const Le=new Map([["identifier",_e],["short-identifier",Te],["resource",we],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",ce],["abs-resource-path",ce],["absoluteresource-path",ce],["absresource-path",ce],["absolute-resourcepath",ce],["abs-resourcepath",ce],["absoluteresourcepath",ce],["absresourcepath",ce],["all-loaders",Ne],["allloaders",Ne],["loaders",Ie],["query",Me],["id",Ee],["hash",le],["namespace",()=>ae.namespace]]);return ae.moduleFilenameTemplate.replace(q.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(q.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(G,((E,N)=>{if(N.length+2===E.length){const E=Le.get(N.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};q.replaceDuplicates=(E,N,R)=>{const j=Object.create(null);const $=Object.create(null);E.forEach(((E,N)=>{j[E]=j[E]||[];j[E].push(N);$[E]=0}));if(R){Object.keys(j).forEach((E=>{j[E].sort(R)}))}return E.map(((E,q)=>{if(j[E].length>1){if(R&&j[E][0]===q)return E;return N(E,q,$[E]++)}else{return E}}))};q.matchPart=(E,N)=>{if(!N)return true;N=asRegExp(N);if(Array.isArray(N)){return N.map(asRegExp).some((N=>N.test(E)))}else{return N.test(E)}};q.matchObject=(E,N)=>{if(E.test){if(!q.matchPart(N,E.test)){return false}}if(E.include){if(!q.matchPart(N,E.include)){return false}}if(E.exclude){if(q.matchPart(N,E.exclude)){return false}}return true}},75412:(E,N,R)=>{"use strict";const j=R(73837);const $=R(76632);const q=R(79900);const G=R(16102);const ie=R(4396);const ae=new Set;const getConnectionsByOriginModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{originModule:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};const getConnectionsByModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{module:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};class ModuleGraphModule{constructor(){this.incomingConnections=new G;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new $;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined}_getModuleGraphModule(E){let N=this._moduleMap.get(E);if(N===undefined){N=new ModuleGraphModule;this._moduleMap.set(E,N)}return N}setParents(E,N,R,j=-1){E._parentDependenciesBlockIndex=j;E._parentDependenciesBlock=N;E._parentModule=R}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}getParentBlockIndex(E){return E._parentDependenciesBlockIndex}setResolvedModule(E,N,R){const j=new q(E,N,R,undefined,N.weak,N.getCondition(this));const $=this._getModuleGraphModule(R).incomingConnections;$.add(j);if(E){const N=this._getModuleGraphModule(E);if(N._unassignedConnections===undefined){N._unassignedConnections=[]}N._unassignedConnections.push(j);if(N.outgoingConnections===undefined){N.outgoingConnections=new G}N.outgoingConnections.add(j)}else{this._dependencyMap.set(N,j)}}updateModule(E,N){const R=this.getConnection(E);if(R.module===N)return;const j=R.clone();j.module=N;this._dependencyMap.set(E,j);R.setActive(false);const $=this._getModuleGraphModule(R.originModule);$.outgoingConnections.add(j);const q=this._getModuleGraphModule(N);q.incomingConnections.add(j)}removeConnection(E){const N=this.getConnection(E);const R=this._getModuleGraphModule(N.module);R.incomingConnections.delete(N);const j=this._getModuleGraphModule(N.originModule);j.outgoingConnections.delete(N);this._dependencyMap.set(E,null)}addExplanation(E,N){const R=this.getConnection(E);R.addExplanation(N)}cloneModuleAttributes(E,N){const R=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(N);j.postOrderIndex=R.postOrderIndex;j.preOrderIndex=R.preOrderIndex;j.depth=R.depth;j.exports=R.exports;j.async=R.async}removeModuleAttributes(E){const N=this._getModuleGraphModule(E);N.postOrderIndex=null;N.preOrderIndex=null;N.depth=null;N.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){j.originModule=N;E.add(j);q.delete(j)}}}const ie=j.incomingConnections;const ae=$.incomingConnections;for(const E of ie){if(R(E)){E.module=N;ae.add(E);ie.delete(E)}}}copyOutgoingModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){const R=j.clone();R.originModule=N;E.add(R);if(R.module!==undefined){const E=this._getModuleGraphModule(R.module);E.incomingConnections.add(R)}}}}}addExtraReason(E,N){const R=this._getModuleGraphModule(E).incomingConnections;R.add(new q(null,null,E,N))}getResolvedModule(E){const N=this.getConnection(E);return N!==undefined?N.resolvedModule:null}getConnection(E){const N=this._dependencyMap.get(E);if(N===undefined){const N=this.getParentModule(E);if(N!==undefined){const R=this._getModuleGraphModule(N);if(R._unassignedConnections&&R._unassignedConnections.length!==0){let N;for(const j of R._unassignedConnections){this._dependencyMap.set(j.dependency,j);if(j.dependency===E)N=j}R._unassignedConnections.length=0;if(N!==undefined){return N}}}this._dependencyMap.set(E,null);return undefined}return N===null?undefined:N}getModule(E){const N=this.getConnection(E);return N!==undefined?N.module:null}getOrigin(E){const N=this.getConnection(E);return N!==undefined?N.originModule:null}getResolvedOrigin(E){const N=this.getConnection(E);return N!==undefined?N.resolvedOriginModule:null}getIncomingConnections(E){const N=this._getModuleGraphModule(E).incomingConnections;return N}getOutgoingConnections(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?ae:N}getIncomingConnectionsByOriginModule(E){const N=this._getModuleGraphModule(E).incomingConnections;return N.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?undefined:N.getFromUnorderedCache(getConnectionsByModule)}getProfile(E){const N=this._getModuleGraphModule(E);return N.profile}setProfile(E,N){const R=this._getModuleGraphModule(E);R.profile=N}getIssuer(E){const N=this._getModuleGraphModule(E);return N.issuer}setIssuer(E,N){const R=this._getModuleGraphModule(E);R.issuer=N}setIssuerIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.issuer===undefined)R.issuer=N}getOptimizationBailout(E){const N=this._getModuleGraphModule(E);return N.optimizationBailout}getProvidedExports(E){const N=this._getModuleGraphModule(E);return N.exports.getProvidedExports()}isExportProvided(E,N){const R=this._getModuleGraphModule(E);const j=R.exports.isExportProvided(N);return j===undefined?null:j}getExportsInfo(E){const N=this._getModuleGraphModule(E);return N.exports}getExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getExportInfo(N)}getReadOnlyExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getReadOnlyExportInfo(N)}getUsedExports(E,N){const R=this._getModuleGraphModule(E);return R.exports.getUsedExports(N)}getPreOrderIndex(E){const N=this._getModuleGraphModule(E);return N.preOrderIndex}getPostOrderIndex(E){const N=this._getModuleGraphModule(E);return N.postOrderIndex}setPreOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.preOrderIndex=N}setPreOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.preOrderIndex===null){R.preOrderIndex=N;return true}return false}setPostOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.postOrderIndex=N}setPostOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.postOrderIndex===null){R.postOrderIndex=N;return true}return false}getDepth(E){const N=this._getModuleGraphModule(E);return N.depth}setDepth(E,N){const R=this._getModuleGraphModule(E);R.depth=N}setDepthIfLower(E,N){const R=this._getModuleGraphModule(E);if(R.depth===null||R.depth>N){R.depth=N;return true}return false}isAsync(E){const N=this._getModuleGraphModule(E);return N.async}setAsync(E){const N=this._getModuleGraphModule(E);N.async=true}getMeta(E){let N=this._metaMap.get(E);if(N===undefined){N=Object.create(null);this._metaMap.set(E,N)}return N}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(E){this._cache=new ie;this._cacheStage=E}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(E,...N){if(this._cache===undefined)return E(this,...N);return this._cache.provide(E,...N,(()=>E(this,...N)))}setModuleMemCaches(E){this._moduleMemCaches=E}dependencyCacheProvide(E,...N){const R=N.pop();if(this._moduleMemCaches&&this._cacheStage){const j=this._moduleMemCaches.get(this.getParentModule(E));if(j!==undefined){return j.provide(E,this._cacheStage,...N,(()=>R(this,E,...N)))}}if(this._cache===undefined)return R(this,E,...N);return this._cache.provide(E,...N,(()=>R(this,E,...N)))}static getModuleGraphForModule(E,N,R){const $=le.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=ce.get(E);if(!R)throw new Error(N+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ModuleGraph API",R);le.set(N,q);return q(E)}static setModuleGraphForModule(E,N){ce.set(E,N)}static clearModuleGraphForModule(E){ce.delete(E)}}const ce=new WeakMap;const le=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=q},79900:E=>{"use strict";const N=Symbol("transitive only");const R=Symbol("circular connection");const addConnectionStates=(E,R)=>{if(E===true||R===true)return true;if(E===false)return R;if(R===false)return E;if(E===N)return R;if(R===N)return E;return E};const intersectConnectionStates=(E,N)=>{if(E===false||N===false)return false;if(E===true)return N;if(N===true)return E;if(E===R)return N;if(N===R)return E;return E};class ModuleGraphConnection{constructor(E,N,R,j,$=false,q=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=N;this.resolvedModule=R;this.module=R;this.weak=$;this.conditional=!!q;this._active=q!==false;this.condition=q||undefined;this.explanations=undefined;if(j){this.explanations=new Set;this.explanations.add(j)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const N=this.condition;this.condition=(R,j)=>intersectConnectionStates(N(R,j),E(R,j))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=N;E.exports.CIRCULAR_CONNECTION=R},21542:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$,CachedSource:q}=R(48135);const{UsageState:G}=R(76632);const ie=R(58159);const ae=R(18161);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const printExportsInfoToSource=(E,N,R,j,$,q=new Set)=>{const ae=R.otherExportsInfo;let ce=0;const le=[];for(const E of R.orderedExports){if(!q.has(E)){q.add(E);le.push(E)}else{ce++}}let _e=false;if(!q.has(ae)){q.add(ae);_e=true}else{ce++}for(const R of le){const G=R.getTarget(j);E.add(ie.toComment(`${N}export ${JSON.stringify(R.name).slice(1,-1)} [${R.getProvidedInfo()}] [${R.getUsedInfo()}] [${R.getRenameInfo()}]${G?` -> ${G.module.readableIdentifier($)}${G.export?` .${G.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(R.exportsInfo){printExportsInfoToSource(E,N+" ",R.exportsInfo,j,$,q)}}if(ce){E.add(ie.toComment(`${N}... (${ce} already listed exports)`)+"\n")}if(_e){const R=ae.getTarget(j);if(R||ae.provided!==false||ae.getUsed(undefined)!==G.Unused){const j=le.length>0||ce>0?"other exports":"exports";E.add(ie.toComment(`${N}${j} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${R?` -> ${R.module.readableIdentifier($)}`:""}`)+"\n")}}};const ce=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:N}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const R=ae.getCompilationHooks(E);R.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,R,{chunk:G,chunkGraph:ae,moduleGraph:le,runtimeTemplate:_e})=>{const{requestShortener:Ee}=_e;let Te;let we=ce.get(Ee);if(we===undefined){ce.set(Ee,we=new WeakMap);we.set(R,Te={header:undefined,full:new WeakMap})}else{Te=we.get(R);if(Te===undefined){we.set(R,Te={header:undefined,full:new WeakMap})}else if(!N){const N=Te.full.get(E);if(N!==undefined)return N}}const Ie=new j;let Ne=Te.header;if(Ne===undefined){const E=R.readableIdentifier(Ee);const N=E.replace(/\*\//g,"*_/");const j="*".repeat(N.length);const q=`/*!****${j}****!*\\\n !*** ${N} ***!\n \\****${j}****/\n`;Ne=new $(q);Te.header=Ne}Ie.add(Ne);if(N){const N=R.buildMeta.exportsType;Ie.add(ie.toComment(N?`${N} exports`:"unknown exports (runtime-defined)")+"\n");if(N){const E=le.getExportsInfo(R);printExportsInfoToSource(Ie,"",E,le,Ee)}Ie.add(ie.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(R,G.runtime))}`)+"\n");const j=le.getOptimizationBailout(R);if(j){for(const E of j){let N;if(typeof E==="function"){N=E(Ee)}else{N=E}Ie.add(ie.toComment(`${N}`)+"\n")}}Ie.add(E);return Ie}else{Ie.add(E);const N=new q(Ie);Te.full.set(E,N);return N}}));R.chunkHash.tap("ModuleInfoHeaderPlugin",((E,N)=>{N.update("ModuleInfoHeaderPlugin");N.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,N,R)=>{"use strict";const j=R(81627);const $={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends j{constructor(E,N,R){let j=`Module not found: ${N.toString()}`;const q=N.message.match(/Can't resolve '([^']+)'/);if(q){const E=q[1];const N=$[E];if(N){const R=N.indexOf("/");const $=R>0?N.slice(0,R):N;j+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";j+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${N}") }'\n`+`\t- install '${$}'\n`;j+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super(j);this.name="ModuleNotFoundError";this.details=N.details;this.module=E;this.error=N;this.loc=R}}E.exports=ModuleNotFoundError},14489:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);const q=Buffer.from([0,97,115,109]);class ModuleParseError extends j{constructor(E,N,R,j){let $="Module parse failed: "+(N&&N.message);let G=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(q)||typeof E==="string"&&/^\0asm/.test(E))&&!j.startsWith("webassembly")){$+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";$+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";$+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";$+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!R){$+="\nYou may need an appropriate loader to handle this file type."}else if(R.length>=1){$+=`\nFile was processed with these loaders:${R.map((E=>`\n * ${E}`)).join("")}`;$+="\nYou may need an additional loader to handle the result of these loaders."}else{$+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(N&&N.loc&&typeof N.loc==="object"&&typeof N.loc.line==="number"){var ie=N.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){$+="\n(Source code omitted for this binary file)"}else{const N=E.split(/\r?\n/);const R=Math.max(0,ie-3);const j=N.slice(R,ie-1);const q=N[ie-1];const G=N.slice(ie,ie+2);$+=j.map((E=>`\n| ${E}`)).join("")+`\n> ${q}`+G.map((E=>`\n| ${E}`)).join("")}G={start:N.loc}}else if(N&&N.stack){$+="\n"+N.stack}super($);this.name="ModuleParseError";this.loc=G;this.error=N}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}$(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,N,R)=>{"use strict";const j=R(81627);class ModuleRestoreError extends j{constructor(E,N){let R="Module restore failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleRestoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleRestoreError},31467:(E,N,R)=>{"use strict";const j=R(81627);class ModuleStoreError extends j{constructor(E,N){let R="Module storing failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleStoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleStoreError},68661:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ModuleTemplate{constructor(E,N){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContainer.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModulePackage.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:j.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleWarning extends ${constructor(E,{from:N=null}={}){let R="Module Warning";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=String(E)}super(R);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.warning);super.serialize(E)}deserialize(E){const{read:N}=E;this.warning=N();super.deserialize(E)}}q(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,N,R)=>{"use strict";const j=R(62355);const{SyncHook:$,MultiHook:q}=R(92960);const G=R(27310);const ie=R(34884);const ae=R(10869);const ce=R(56561);E.exports=class MultiCompiler{constructor(E,N){if(!Array.isArray(E)){E=Object.keys(E).map((N=>{E[N].name=N;return E[N]}))}this.hooks=Object.freeze({done:new $(["stats"]),invalid:new q(E.map((E=>E.hooks.invalid))),run:new q(E.map((E=>E.hooks.run))),watchClose:new $([]),watchRun:new q(E.map((E=>E.hooks.watchRun))),infrastructureLog:new q(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:N.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const R=this.compilers.map((()=>null));let j=0;for(let E=0;E{if(!q){q=true;j++}R[$]=E;if(j===this.compilers.length){this.hooks.done.call(new ie(R))}}));N.hooks.invalid.tap("MultiCompiler",(()=>{if(q){q=false;j--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const N of this.compilers){while(N.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const N of this.compilers){N.inputFileSystem=E}}set outputFileSystem(E){for(const N of this.compilers){N.outputFileSystem=E}}set watchFileSystem(E){for(const N of this.compilers){N.watchFileSystem=E}}set intermediateFileSystem(E){for(const N of this.compilers){N.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,N){this.dependencies.set(E,N)}validateDependencies(E){const N=new Set;const R=[];const targetFound=E=>{for(const R of N){if(R.target===E){return true}}return false};const sortEdges=(E,N)=>E.source.name.localeCompare(N.source.name)||E.target.name.localeCompare(N.target.name);for(const E of this.compilers){const j=this.dependencies.get(E);if(j){for(const $ of j){const j=this.compilers.find((E=>E.name===$));if(!j){R.push($)}else{N.add({source:E,target:j})}}}}const j=R.map((E=>`Compiler dependency \`${E}\` not found.`));const $=this.compilers.filter((E=>!targetFound(E)));while($.length>0){const E=$.pop();for(const R of N){if(R.source===E){N.delete(R);const E=R.target;if(!targetFound(E)){$.push(E)}}}}if(N.size>0){const E=Array.from(N).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");j.unshift(E.join("\n"))}if(j.length>0){const N=j.join("\n");E(new Error(N));return false}return true}runWithDependencies(E,N,R){const $=new Set;let q=E;const isDependencyFulfilled=E=>$.has(E);const getReadyCompilers=()=>{let E=[];let N=q;q=[];for(const R of N){const N=this.dependencies.get(R);const j=!N||N.every(isDependencyFulfilled);if(j){E.push(R)}else{q.push(R)}}return E};const runCompilers=E=>{if(q.length===0)return E();j.map(getReadyCompilers(),((E,R)=>{N(E,(N=>{if(N)return R(N);$.add(E.name);runCompilers(R)}))}),E)};runCompilers(R)}_runGraph(E,N,R){const $=this.compilers.map((E=>({compiler:E,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const q=new Map;for(const E of $)q.set(E.compiler.name,E);for(const E of $){const N=this.dependencies.get(E.compiler);if(!N)continue;for(const R of N){const N=q.get(R);E.parents.push(N);N.children.push(E)}}const G=new ce;for(const E of $){if(E.parents.length===0){E.state="queued";G.enqueue(E)}}let ae=false;let le=0;const _e=this._options.parallelism;const nodeDone=(E,N,q)=>{if(ae)return;if(N){ae=true;return j.each($,((E,N)=>{if(E.compiler.watching){E.compiler.watching.close(N)}else{N()}}),(()=>R(N)))}E.result=q;le--;if(E.state==="running"){E.state="done";for(const N of E.children){if(N.state==="blocked")G.enqueue(N)}}else if(E.state==="running-outdated"){E.state="blocked";G.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){G.enqueue(E);processQueue()}};const Ee=[];$.forEach(((N,R)=>{Ee.push(N.setupResult=E(N.compiler,R,nodeDone.bind(null,N),(()=>N.state!=="starting"&&N.state!=="running"),(()=>nodeChange(N)),(()=>nodeInvalid(N))))}));let Te=true;const processQueue=()=>{if(Te)return;Te=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(le<_e&&G.length>0&&!ae){const E=G.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){le++;E.state="starting";N(E.compiler,E.setupResult,nodeDone.bind(null,E));E.state="running"}}Te=false;if(!ae&&le===0&&$.every((E=>E.state==="done"))){const E=[];for(const N of $){const R=N.result;if(R){N.result=undefined;E.push(R)}}if(E.length>0){R(null,new ie(E))}}};processQueueWorker();return Ee}watch(E,N){if(this.running){return N(new G)}this.running=true;if(this.validateDependencies(N)){const R=this._runGraph(((N,R,j,$,q,G)=>{const ie=N.watch(Array.isArray(E)?E[R]:E,j);if(ie){ie._onInvalid=G;ie._onChange=q;ie._isBlocked=$}return ie}),((E,N,R)=>{if(E.watching!==N)return;if(!N.running)N.invalidate()}),N);return new ae(R,this)}return new ae([],this)}run(E){if(this.running){return E(new G)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,N,R)=>E.run(R)),((N,R)=>{this.running=false;if(E!==undefined){return E(N,R)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){j.each(this.compilers,((E,N)=>{E.close(N)}),E)}}},34884:(E,N,R)=>{"use strict";const j=R(49197);const indent=(E,N)=>{const R=E.replace(/\n([^\n])/g,"\n"+N+"$1");return N+R};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,N){if(!E){E={}}const{children:R=undefined,...j}=typeof E==="string"?{preset:E}:E;const $=this.stats.map(((E,$)=>{const q=Array.isArray(R)?R[$]:R;return E.compilation.createStatsOptions({...j,...typeof q==="string"?{preset:q}:q&&typeof q==="object"?q:undefined},N)}));return{version:$.every((E=>E.version)),hash:$.every((E=>E.hash)),errorsCount:$.every((E=>E.errorsCount)),warningsCount:$.every((E=>E.warningsCount)),errors:$.every((E=>E.errors)),warnings:$.every((E=>E.warnings)),children:$}}toJson(E){E=this._createChildOptions(E,{forToString:false});const N={};N.children=this.stats.map(((N,R)=>{const $=N.toJson(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root);$.name=G;return $}));if(E.version){N.version=N.children[0].version}if(E.hash){N.hash=N.children.map((E=>E.hash)).join("")}const mapError=(E,N)=>({...N,compilerPath:N.compilerPath?`${E.name}.${N.compilerPath}`:E.name});if(E.errors){N.errors=[];for(const E of N.children){for(const R of E.errors){N.errors.push(mapError(E,R))}}}if(E.warnings){N.warnings=[];for(const E of N.children){for(const R of E.warnings){N.warnings.push(mapError(E,R))}}}if(E.errorsCount){N.errorsCount=0;for(const E of N.children){N.errorsCount+=E.errorsCount}}if(E.warningsCount){N.warningsCount=0;for(const E of N.children){N.warningsCount+=E.warningsCount}}return N}toString(E){E=this._createChildOptions(E,{forToString:true});const N=this.stats.map(((N,R)=>{const $=N.toString(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root).replace(/\|/g," ");if(!$)return $;return G?`${G}:\n${indent($," ")}`:$}));return N.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,N,R)=>{"use strict";const j=R(62355);class MultiWatching{constructor(E,N){this.watchings=E;this.compiler=N}invalidate(E){if(E){j.each(this.watchings,((E,N)=>E.invalidate(N)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){j.forEach(this.watchings,((E,N)=>{E.close(N)}),(N=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(N)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoModeWarning extends j{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},39960:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class NodeStuffInWebError extends j{constructor(E,N,R){super(`${JSON.stringify(N)} has been used, it will be undefined in next major version.\n${R}`);this.name="NodeStuffInWebError";this.loc=E}}$(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");E.exports=NodeStuffInWebError},32125:(E,N,R)=>{"use strict";const j=R(39960);const $=R(76150);const q=R(59455);const G=R(66298);const{evaluateToString:ie,expressionIsUnsupported:ae}=R(48472);const{relative:ce}=R(95396);const{parseResource:le}=R(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((R,{normalModuleFactory:_e})=>{const handler=(R,_e)=>{if(_e.node===false)return;let Ee=N;if(_e.node){Ee={...Ee,..._e.node}}if(Ee.global!==false){const E=Ee.global==="warn";R.hooks.expression.for("global").tap("NodeStuffPlugin",(N=>{const q=new G($.global,N.range,[$.global]);q.loc=N.loc;R.state.module.addPresentationalDependency(q);if(E){R.state.module.addWarning(new j(q.loc,"global","The global namespace object is Node.js feature and doesn't present in browser."))}}))}const setModuleConstant=(E,N,$)=>{R.hooks.expression.for(E).tap("NodeStuffPlugin",(G=>{const ie=new q(JSON.stringify(N(R.state.module)),G.range,E);ie.loc=G.loc;R.state.module.addPresentationalDependency(ie);if($){R.state.module.addWarning(new j(ie.loc,E,$))}return true}))};const setConstant=(E,N,R)=>setModuleConstant(E,(()=>N),R);const Te=E.context;if(Ee.__filename){switch(Ee.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","The __filename is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__filename",(N=>ce(E.inputFileSystem,Te,N.resource)));break}R.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;const N=le(R.state.module.resource);return ie(N.path)(E)}))}if(Ee.__dirname){switch(Ee.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","The __dirname is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__dirname",(N=>ce(E.inputFileSystem,Te,N.context)));break}R.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;return ie(R.state.module.context)(E)}))}R.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ae(R,"require.extensions is not supported by webpack. Use a loader instead."))};_e.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);_e.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,N,R)=>{"use strict";const j=R(78688);const{getContext:$,runLoaders:q}=R(60425);const G=R(63477);const{HookMap:ie,SyncHook:ae,AsyncSeriesBailHook:ce}=R(92960);const{CachedSource:le,OriginalSource:_e,RawSource:Ee,SourceMapSource:Te}=R(48135);const we=R(3080);const Ie=R(3728);const Ne=R(53453);const Me=R(26509);const Le=R(91613);const Be=R(79900);const je=R(14489);const Ue=R(8893);const ze=R(76150);const We=R(77090);const Je=R(81627);const Ve=R(72380);const qe=R(83379);const{isSubset:He}=R(26221);const{getScheme:Ge}=R(45754);const{compareLocations:Ke,concatComparators:Qe,compareSelect:Xe,keepOriginalOrder:Ye}=R(68673);const Ze=R(35891);const{createFakeHook:et}=R(16595);const{join:tt}=R(95396);const{contextify:rt,absolutify:nt,makePathsRelative:it}=R(49197);const ot=R(56202);const st=R(91671);const ct=st((()=>R(49619)));const ut=st((()=>R(15235).validate));const dt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,N,R)=>{if(N.startsWith("webpack://"))return N;return`webpack://${it(E,N,R)}`};const contextifySourceMap=(E,N,R)=>{if(!Array.isArray(N.sources))return N;const{sourceRoot:j}=N;const $=!j?E=>E:j.endsWith("/")?E=>E.startsWith("/")?`${j.slice(0,-1)}${E}`:`${j}${E}`:E=>E.startsWith("/")?`${j}${E}`:`${j}/${E}`;const q=N.sources.map((N=>contextifySourceUrl(E,$(N),R)));return{...N,file:"x",sourceRoot:undefined,sources:q}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends Je{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}ot(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const pt=new WeakMap;class NormalModule extends Ne{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=pt.get(E);if(N===undefined){N={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new ie((E=>{const R=N.readResource.for(E);return et({tap:(E,N)=>R.tap(E,(E=>N(E.resource,E._module))),tapAsync:(E,N)=>R.tapAsync(E,((E,R)=>N(E.resource,E._module,R))),tapPromise:(E,N)=>R.tapPromise(E,(E=>N(E.resource,E._module)))})})),readResource:new ie((()=>new ce(["loaderContext"]))),needBuild:new ce(["module","context"])};pt.set(E,N)}return N}constructor({layer:E,type:N,request:R,userRequest:j,rawRequest:q,loaders:G,resource:ie,resourceResolveData:ae,context:ce,matchResource:le,parser:_e,parserOptions:Ee,generator:Te,generatorOptions:we,resolveOptions:Ie}){super(N,ce||$(ie),E);this.request=R;this.userRequest=j;this.rawRequest=q;this.binary=/^(asset|webassembly)\b/.test(N);this.parser=_e;this.parserOptions=Ee;this.generator=Te;this.generatorOptions=we;this.resource=ie;this.resourceResolveData=ae;this.matchResource=le;this.loaders=G;if(Ie!==undefined){this.resolveOptions=Ie}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){if(this.type==="javascript/auto"){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return rt(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const N=E.indexOf("?");if(N>=0)return E.substr(0,N);return E}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.binary=N.binary;this.request=N.request;this.userRequest=N.userRequest;this.rawRequest=N.rawRequest;this.parser=N.parser;this.parserOptions=N.parserOptions;this.generator=N.generator;this.generatorOptions=N.generatorOptions;this.resource=N.resource;this.resourceResolveData=N.resourceResolveData;this.context=N.context;this.matchResource=N.matchResource;this.loaders=N.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}_restoreFromUnsafeCache(E,N){super._restoreFromUnsafeCache(E,N);this.parserOptions=E.parserOptions;this.parser=N.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=N.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,N,R,j,$){if(j){if(typeof j==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new _e(R,contextifySourceUrl(E,j,$))}if(this.useSourceMap){return new Te(R,N,contextifySourceMap(E,j,$))}}return new Ee(R)}_createLoaderContext(E,N,R,$,q){const{requestShortener:ie}=R.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(Te);if(!E)return"(not in loader scope)";return ie.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>Te.addDependency(E)},contextDependencies:{add:E=>Te.addContextDependency(E)},missingDependencies:{add:E=>Te.addMissingDependency(E)}});const ae=st((()=>nt.bindCache(R.compiler.root)));const ce=st((()=>nt.bindContextCache(this.context,R.compiler.root)));const le=st((()=>rt.bindCache(R.compiler.root)));const _e=st((()=>rt.bindContextCache(this.context,R.compiler.root)));const Ee={absolutify:(E,N)=>E===this.context?ce()(N):ae()(E,N),contextify:(E,N)=>E===this.context?_e()(N):le()(E,N),createHash:E=>Ze(E||R.outputOptions.hashFunction)};const Te={version:2,getOptions:E=>{const N=this.getCurrentLoader(Te);let{options:R}=N;if(typeof R==="string"){if(R.substr(0,1)==="{"&&R.substr(-1)==="}"){try{R=j(R)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{R=G.parse(R,"&","=",{maxKeys:0})}}if(R===null||R===undefined){R={}}if(E){let N="Loader";let j="options";let $;if(E.title&&($=/^(.+) (.+)$/.exec(E.title))){[,N,j]=$}ut()(E,R,{name:N,baseDataPath:j})}return R},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Ue(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Le(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const N=this.getCurrentLoader(Te);return R.getLogger((()=>[N&&N.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(N,R,j){E.resolve({},N,R,getResolveContext(),j)},getResolve(N){const R=N?E.withOptions(N):E;return(E,N,j)=>{if(j){R.resolve({},E,N,getResolveContext(),j)}else{return new Promise(((j,$)=>{R.resolve({},E,N,getResolveContext(),((E,N)=>{if(E)$(E);else j(N)}))}))}}},emitFile:(E,j,$,q)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(N.context,E,j,$,R.compiler.root);this.buildInfo.assetsInfo.set(E,q)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new qe}this.buildInfo.buildDependencies.add(E)},utils:Ee,rootContext:N.context,webpack:true,sourceMap:!!this.useSourceMap,mode:N.mode||"production",_module:this,_compilation:R,_compiler:R.compiler,fs:$};Object.assign(Te,N.loader);q.loader.call(Te,this);return Te}getCurrentLoader(E,N=E.loaderIndex){if(this.loaders&&this.loaders.length&&N=0&&this.loaders[N]){return this.loaders[N]}return null}createSource(E,N,R,j){if(Buffer.isBuffer(N)){return new Ee(N)}if(!this.identifier){return new Ee(N)}const $=this.identifier();if(this.useSourceMap&&R){return new Te(N,contextifySourceUrl(E,$,j),contextifySourceMap(E,R,j))}if(this.useSourceMap||this.useSimpleSourceMap){return new _e(N,contextifySourceUrl(E,$,j))}return new Ee(N)}_doBuild(E,N,R,j,$,G){const ie=this._createLoaderContext(R,E,N,j,$);const processResult=(R,j)=>{if(R){if(!(R instanceof Error)){R=new NonErrorEmittedError(R)}const E=this.getCurrentLoader(ie);const j=new Me(R,{from:E&&N.runtimeTemplate.requestShortener.shorten(E.loader)});return G(j)}const $=j[0];const q=j.length>=1?j[1]:null;const ae=j.length>=2?j[2]:null;if(!Buffer.isBuffer($)&&typeof $!=="string"){const E=this.getCurrentLoader(ie,0);const R=new Error(`Final loader (${E?N.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const j=new Me(R);return G(j)}this._source=this.createSource(E.context,this.binary?asBuffer($):asString($),q,N.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return G()};this.buildInfo.fileDependencies=new qe;this.buildInfo.contextDependencies=new qe;this.buildInfo.missingDependencies=new qe;this.buildInfo.cacheable=true;try{$.beforeLoaders.call(this.loaders,this,ie)}catch(E){processResult(E);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new qe}q({resource:this.resource,loaders:this.loaders,context:ie,processResource:(E,N,R)=>{const j=E.resource;const q=Ge(j);$.readResource.for(q).callAsync(E,((E,N)=>{if(E)return R(E);if(typeof N!=="string"&&!N){return R(new We(q,j))}return R(null,N)}))}},((E,N)=>{ie._compilation=ie._compiler=ie._module=ie.fs=undefined;if(!N){this.buildInfo.cacheable=false;return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(N.fileDependencies);this.buildInfo.contextDependencies.addAll(N.contextDependencies);this.buildInfo.missingDependencies.addAll(N.missingDependencies);for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&N.cacheable;processResult(E,N.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,N){if(typeof E==="string"){return N.startsWith(E)}if(typeof E==="function"){return E(N)}return E.test(N)}shouldPreventParsing(E,N){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,N)}for(let R=0;R{if(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const handleParseError=R=>{const j=this._source.source();const q=this.loaders.map((R=>rt(E.context,R.loader,N.compiler.root)));const G=new je(j,R,q,this.type);this.markModuleAsErrored(G);this._initBuildHash(N);return $()};const handleParseResult=E=>{this.dependencies.sort(Qe(Xe((E=>E.loc),Ke),Ye(this.dependencies)));this._initBuildHash(N);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{G.beforeSnapshot.call(this)}catch(E){this.markModuleAsErrored(E);return $()}const E=N.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return $()}let R=undefined;const checkDependencies=E=>{for(const j of E){if(!dt.test(j)){if(R===undefined)R=new Set;R.add(j);E.delete(j);try{const R=j.replace(/[\\/]?\*.*$/,"");const $=tt(N.fileSystemInfo.fs,this.context,R);if($!==j&&dt.test($)){(R!==j?this.buildInfo.contextDependencies:E).add($)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(R!==undefined){const E=ct();this.addWarning(new E(this,R))}N.fileSystemInfo.createSnapshot(q,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,N)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=N;return $()}))};try{G.beforeParse.call(this)}catch(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const j=E.module&&E.module.noParse;if(this.shouldPreventParsing(j,this.request)){this.buildInfo.parsed=false;this._initBuildHash(N);return handleBuildDone()}let ie;try{const R=this._source.source();ie=this.parser.parse(this._ast||R,{source:R,current:this,module:this,compilation:N,options:E})}catch(E){handleParseError(E);return}handleParseResult(ie)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return Be.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let N=false;for(const R of this.dependencies){const j=R.getModuleEvaluationSideEffectsState(E);if(j===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${R.type}) with side effects at ${Ve(R.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(j!==Be.CIRCULAR_CONNECTION){N=Be.addConnectionStates(N,j)}}this._isEvaluatingSideEffects=false;return N}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$,concatenationScope:q}){const G=new Set;if(!this.buildInfo.parsed){G.add(ze.module);G.add(ze.exports);G.add(ze.thisAsExports)}let ie;const getData=()=>{if(ie===undefined)ie=new Map;return ie};const ae=new Map;for(const ie of this.generator.getTypes(this)){const ce=this.error?new Ee("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:G,runtime:$,concatenationScope:q,getData:getData,type:ie});if(ce){ae.set(ie,new le(ce))}}const ce={sources:ae,runtimeRequirements:G,data:ie};return ce}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(E,N){const{fileSystemInfo:R,compilation:j,valueCacheVersions:$}=E;if(this._forceBuild)return N(null,true);if(this.error)return N(null,true);if(!this.buildInfo.cacheable)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);const q=this.buildInfo.valueDependencies;if(q){if(!$)return N(null,true);for(const[E,R]of q){if(R===undefined)return N(null,true);const j=$.get(E);if(R!==j&&(typeof R==="string"||typeof j==="string"||j===undefined||!He(R,j))){return N(null,true)}}}R.checkSnapshotValid(this.buildInfo.snapshot,((R,$)=>{if(R)return N(R);if(!$)return N(null,true);const q=NormalModule.getCompilationHooks(j);q.needBuild.callAsync(this,E,((E,R)=>{if(E){return N(Ie.makeWebpackError(E,"NormalModule.getCompilationHooks().needBuild"))}N(null,!!R)}))}))}size(E){const N=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(N!==undefined){return N}const R=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,R);return R}addCacheDependencies(E,N,R,j){const{snapshot:$,buildDependencies:q}=this.buildInfo;if($){E.addAll($.getFileIterable());N.addAll($.getContextIterable());R.addAll($.getMissingIterable())}else{const{fileDependencies:j,contextDependencies:$,missingDependencies:q}=this.buildInfo;if(j!==undefined)E.addAll(j);if($!==undefined)N.addAll($);if(q!==undefined)R.addAll(q)}if(q!==undefined){j.addAll(q)}}updateHash(E,N){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...N});super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this._source);N(this.error);N(this._lastSuccessfulBuildMeta);N(this._forceBuild);super.serialize(E)}static deserialize(E){const N=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});N.deserialize(E);return N}deserialize(E){const{read:N}=E;this._source=N();this.error=N();this._lastSuccessfulBuildMeta=N();this._forceBuild=N();super.deserialize(E)}}ot(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,N,R)=>{"use strict";const{getContext:j}=R(60425);const $=R(62355);const{AsyncSeriesBailHook:q,SyncWaterfallHook:G,SyncBailHook:ie,SyncHook:ae,HookMap:ce}=R(92960);const le=R(45137);const _e=R(53453);const Ee=R(40674);const Te=R(75412);const we=R(53520);const Ie=R(94288);const Ne=R(1976);const Me=R(95020);const Le=R(73817);const Be=R(19311);const je=R(83379);const{getScheme:Ue}=R(45754);const{cachedCleverMerge:ze,cachedSetProperty:We}=R(90149);const{join:Je}=R(95396);const{parseResource:Ve}=R(49197);const qe={};const He={};const Ge={};const Ke=[];const Qe=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,N)=>{let R="";for(const N of E){R+=loaderToIdent(N)+"!"}return R+N};const identToLoaderRequest=E=>{const N=E.indexOf("?");if(N>=0){const R=E.substr(0,N);const j=E.substr(N+1);return{loader:R,options:j}}else{return{loader:E,options:undefined}}};const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=NaN;return N(R)}};const mergeGlobalOptions=(E,N,R)=>{const j=N.split("/");let $;let q="";for(const N of j){q=q?`${q}/${N}`:N;const R=E[q];if(typeof R==="object"){if($===undefined){$=R}else{$=ze($,R)}}}if($===undefined){return R}else{return ze($,R)}};const deprecationChangedHookMessage=(E,N)=>{const R=N.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${R}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Xe=new Le([new Ne("test","resource"),new Ne("scheme"),new Ne("mimetype"),new Ne("dependency"),new Ne("include","resource"),new Ne("exclude","resource",true),new Ne("resource"),new Ne("resourceQuery"),new Ne("resourceFragment"),new Ne("realResource"),new Ne("issuer"),new Ne("compiler"),new Ne("issuerLayer"),new Me("assert","assertions"),new Me("descriptionData"),new Ie("type"),new Ie("sideEffects"),new Ie("parser"),new Ie("resolve"),new Ie("generator"),new Ie("layer"),new Be]);class NormalModuleFactory extends Ee{constructor({context:E,fs:N,resolverFactory:R,options:$,associatedObjectForCache:le,layers:Ee=false}){super();this.hooks=Object.freeze({resolve:new q(["resolveData"]),resolveForScheme:new ce((()=>new q(["resourceData","resolveData"]))),resolveInScheme:new ce((()=>new q(["resourceData","resolveData"]))),factorize:new q(["resolveData"]),beforeResolve:new q(["resolveData"]),afterResolve:new q(["resolveData"]),createModule:new q(["createData","resolveData"]),module:new G(["module","createData","resolveData"]),createParser:new ce((()=>new ie(["parserOptions"]))),parser:new ce((()=>new ae(["parser","parserOptions"]))),createGenerator:new ce((()=>new ie(["generatorOptions"]))),generator:new ce((()=>new ae(["generator","generatorOptions"])))});this.resolverFactory=R;this.ruleSet=Xe.compile([{rules:$.defaultRules},{rules:$.rules}]);this.context=E||"";this.fs=N;this._globalParserOptions=$.parser;this._globalGeneratorOptions=$.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const Te=Ve.bindCache(le);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{this.hooks.resolve.callAsync(E,((R,j)=>{if(R)return N(R);if(j===false)return N();if(j instanceof _e)return N(null,j);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((R,j)=>{if(R)return N(R);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(j===false)return N();const $=E.createData;this.hooks.createModule.callAsync($,E,((R,j)=>{if(!j){if(!E.request){return N(new Error("Empty dependency (no request)"))}j=new we($)}j=this.hooks.module.call(j,$,E);return N(null,j)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{const{contextInfo:R,context:$,dependencies:q,dependencyType:G,request:ie,assertions:ae,resolveOptions:ce,fileDependencies:le,missingDependencies:_e,contextDependencies:we}=E;const Ie=this.getResolver("loader");let Ne=undefined;let Me;let Le;let Be=false;let je=false;let Ve=false;const He=Ue($);let Ge=Ue(ie);if(!Ge){let E=ie;const N=Qe.exec(ie);if(N){let R=N[1];if(R.charCodeAt(0)===46){const E=R.charCodeAt(1);if(E===47||E===46&&R.charCodeAt(2)===47){R=Je(this.fs,$,R)}}Ne={resource:R,...Te(R)};E=ie.substr(N[0].length)}Ge=Ue(E);if(!Ge&&!He){const N=E.charCodeAt(0);const R=E.charCodeAt(1);Be=N===45&&R===33;je=Be||N===33;Ve=N===33&&R===33;const j=E.slice(Be||Ve?2:je?1:0).split(/!+/);Me=j.pop();Le=j.map(identToLoaderRequest);Ge=Ue(Me)}else{Me=E;Le=Ke}}else{Me=ie;Le=Ke}const Xe={fileDependencies:le,missingDependencies:_e,contextDependencies:we};let Ye;let Ze;const et=needCalls(2,(ce=>{if(ce)return N(ce);try{for(const E of Ze){if(typeof E.options==="string"&&E.options[0]==="?"){const N=E.options.substr(1);if(N==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(N);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=N}}}catch(E){return N(E)}if(!Ye){return N(null,q[0].createIgnoredModule($))}const le=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(Ze,Ye.resource);const _e={};const Te=[];const we=[];const Me=[];let Le;let Ue;if(Ne&&typeof(Le=Ne.resource)==="string"&&(Ue=/\.webpack\[([^\]]+)\]$/.exec(Le))){_e.type=Ue[1];Ne.resource=Ne.resource.slice(0,-_e.type.length-10)}else{_e.type="javascript/auto";const E=Ne||Ye;const N=this.ruleSet.exec({resource:E.path,realResource:Ye.path,resourceQuery:E.query,resourceFragment:E.fragment,scheme:Ge,assertions:ae,mimetype:Ne?"":Ye.data.mimetype||"",dependency:G,descriptionData:Ne?undefined:Ye.data.descriptionFileData,issuer:R.issuer,compiler:R.compiler,issuerLayer:R.issuerLayer||""});for(const E of N){if(E.type==="use"){if(!je&&!Ve){we.push(E.value)}}else if(E.type==="use-post"){if(!Ve){Te.push(E.value)}}else if(E.type==="use-pre"){if(!Be&&!Ve){Me.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof _e[E.type]==="object"&&_e[E.type]!==null){_e[E.type]=ze(_e[E.type],E.value)}else{_e[E.type]=E.value}}}let We,Je,qe;const He=needCalls(3,($=>{if($){return N($)}const q=We;if(Ne===undefined){for(const E of Ze)q.push(E);for(const E of Je)q.push(E)}else{for(const E of Je)q.push(E);for(const E of Ze)q.push(E)}for(const E of qe)q.push(E);let G=_e.type;const ae=_e.resolve;const ce=_e.layer;if(ce!==undefined&&!Ee){return N(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:ce===undefined?R.issuerLayer||null:ce,request:stringifyLoadersAndResource(q,Ye.resource),userRequest:le,rawRequest:ie,loaders:q,resource:Ye.resource,context:Ye.context||j(Ye.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:Ye.data,settings:_e,type:G,parser:this.getParser(G,_e.parser),parserOptions:_e.parser,generator:this.getGenerator(G,_e.generator),generatorOptions:_e.generator,resolveOptions:ae})}catch(E){return N(E)}N()}));this.resolveRequestArray(R,this.context,Te,Ie,Xe,((E,N)=>{We=N;He(E)}));this.resolveRequestArray(R,this.context,we,Ie,Xe,((E,N)=>{Je=N;He(E)}));this.resolveRequestArray(R,this.context,Me,Ie,Xe,((E,N)=>{qe=N;He(E)}))}));this.resolveRequestArray(R,He?this.context:$,Le,Ie,Xe,((E,N)=>{if(E)return et(E);Ze=N;et()}));const defaultResolve=E=>{if(/^($|\?)/.test(Me)){Ye={resource:Me,data:{},...Te(Me)};et()}else{const N=this.getResolver("normal",G?We(ce||qe,"dependencyType",G):ce);this.resolveResource(R,E,Me,N,Xe,((E,N,R)=>{if(E)return et(E);if(N!==false){Ye={resource:N,data:R,...Te(N)}}et()}))}};if(Ge){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Ge).callAsync(Ye,E,(E=>{if(E)return et(E);et()}))}else if(He){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(He).callAsync(Ye,E,((E,N)=>{if(E)return et(E);if(!N)return defaultResolve(this.context);et()}))}else defaultResolve($)}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){le.clearChunkGraphForModule(E);Te.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,N){const R=E.dependencies;const j=E.context||this.context;const $=E.resolveOptions||qe;const q=R[0];const G=q.request;const ie=q.assertions;const ae=E.contextInfo;const ce=new je;const le=new je;const _e=new je;const Ee=R.length>0&&R[0].category||"";const Te={contextInfo:ae,resolveOptions:$,context:j,request:G,assertions:ie,dependencies:R,dependencyType:Ee,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(Te,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}if(R===false){return N(null,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Te.cacheable})}if(typeof R==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(Te,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}const j={module:R,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Te.cacheable};N(null,j)}))}))}resolveResource(E,N,R,j,$,q){j.resolve(E,N,R,$,((G,ie,ae)=>{if(G){return this._resolveResourceErrorHints(G,E,N,R,j,$,((E,N)=>{if(E){G.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;G.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return q(G)}if(N&&N.length>0){G.message+=`\n${N.join("\n\n")}`}q(G)}))}q(G,ie,ae)}))}_resolveResourceErrorHints(E,N,R,j,q,G,ie){$.parallel([E=>{if(!q.options.fullySpecified)return E();q.withOptions({fullySpecified:false}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){const N=Ve(R).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${N}'?\nBREAKING CHANGE: The request '${j}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!q.options.enforceExtension)return E();q.withOptions({enforceExtension:false,extensions:[]}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){let N="";const R=/(\.[^.]+)(\?|$)/.exec(j);if(R){const E=j.replace(/(\.[^.]+)(\?|$)/,"$2");if(q.options.extensions.has(R[1])){N=`Did you mean '${E}'?`}else{N=`Did you mean '${E}'? Also note that '${R[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{N=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${j}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${N}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test(j)||q.options.preferRelative){return E()}q.resolve(N,R,`./${j}`,G,((N,R)=>{if(N||!R)return E();const $=q.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${j}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${$}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,N)=>{if(E)return ie(E);ie(null,N.filter(Boolean))}))}resolveRequestArray(E,N,R,j,q,G){if(R.length===0)return G(null,R);$.map(R,((R,$)=>{j.resolve(E,N,R.loader,q,((G,ie)=>{if(G&&/^[^/]*$/.test(R.loader)&&!/-loader$/.test(R.loader)){return j.resolve(E,N,R.loader+"-loader",q,(E=>{if(!E){G.message=G.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${R.loader}-loader' instead of '${R.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}$(G)}))}if(G)return $(G);const ae=identToLoaderRequest(ie);const ce={loader:ae.loader,options:R.options===undefined?ae.options:R.options,ident:R.options===undefined?undefined:R.ident};return $(null,ce)}))}),G)}getParser(E,N=He){let R=this.parserCache.get(E);if(R===undefined){R=new WeakMap;this.parserCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createParser(E,N);R.set(N,j)}return j}createParser(E,N={}){N=mergeGlobalOptions(this._globalParserOptions,E,N);const R=this.hooks.createParser.for(E).call(N);if(!R){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(R,N);return R}getGenerator(E,N=Ge){let R=this.generatorCache.get(E);if(R===undefined){R=new WeakMap;this.generatorCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createGenerator(E,N);R.set(N,j)}return j}createGenerator(E,N={}){N=mergeGlobalOptions(this._globalGeneratorOptions,E,N);const R=this.hooks.createGenerator.for(E).call(N);if(!R){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(R,N);return R}getResolver(E,N){return this.resolverFactory.get(E,N)}}E.exports=NormalModuleFactory},92234:(E,N,R)=>{"use strict";const{join:j,dirname:$}=R(95396);class NormalModuleReplacementPlugin{constructor(E,N){this.resourceRegExp=E;this.newResource=N}apply(E){const N=this.resourceRegExp;const R=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(q=>{q.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(N.test(E.request)){if(typeof R==="function"){R(E)}else{E.request=R}}}));q.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(q=>{const G=q.createData;if(N.test(G.resource)){if(typeof R==="function"){R(q)}else{const N=E.inputFileSystem;if(R.startsWith("/")||R.length>1&&R[1]===":"){G.resource=R}else{G.resource=j(N,$(N,G.resource),R)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,N)=>{"use strict";N.STAGE_BASIC=-10;N.STAGE_DEFAULT=0;N.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,N){}}E.exports=OptionsApply},2172:(E,N,R)=>{"use strict";class Parser{parse(E,N){const j=R(75884);throw new j}}E.exports=Parser},13125:(E,N,R)=>{"use strict";const j=R(88281);class PrefetchPlugin{constructor(E,N){if(N){this.context=E;this.request=N}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));E.hooks.make.tapAsync("PrefetchPlugin",((N,R)=>{N.addModuleChain(this.context||E.context,new j(this.request),(E=>{R(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,N,R)=>{"use strict";const j=R(63076);const $=R(63433);const q=R(53520);const G=R(35817);const{contextify:ie}=R(49197);const ae=G(R(73971),(()=>R(43691)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,N,R)=>E+N+R-Math.max(E,N,R)-Math.min(E,N,R);const createDefaultHandler=(E,N)=>{const R=[];const defaultHandler=(j,$,...q)=>{if(E){if(j===0){R.length=0}const E=[$,...q];const G=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ie=Date.now();const ae=Math.max(G.length,R.length);for(let E=ae;E>=0;E--){const j=E0){j=R[E-1].value+" > "+j}const G=`${" | ".repeat(E)}${q} ms ${j}`;const ie=q;{if(ie>1e4){N.error(G)}else if(ie>1e3){N.warn(G)}else if(ie>10){N.info(G)}else if(ie>5){N.log(G)}else{N.debug(G)}}}if(j===undefined){R.length=E}else{$.value=j;$.time=ie;R.length=E+1}}}else{R[E]={value:j,time:ie}}}}N.status(`${Math.floor(j*100)}%`,$,...q);if(j===1||!$&&q.length===0)N.status()};return defaultHandler};const ce=new WeakMap;class ProgressPlugin{static getReporter(E){return ce.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}ae(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const N=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof $){this._applyOnMultiCompiler(E,N)}else if(E instanceof j){this._applyOnCompiler(E,N)}}_applyOnMultiCompiler(E,N){const R=E.compilers.map((()=>[0]));E.compilers.forEach(((E,j)=>{new ProgressPlugin(((E,$,...q)=>{R[j]=[E,$,...q];let G=0;for(const[E]of R)G+=E;N(G/R.length,`[${j}] ${$}`,...q)})).apply(E)}))}_applyOnCompiler(E,N){const R=this.showEntries;const j=this.showModules;const $=this.showDependencies;const q=this.showActiveModules;let G="";let ae="";let le=0;let _e=0;let Ee=0;let Te=0;let we=0;let Ie=1;let Ne=0;let Me=0;let Le=0;const Be=new Set;let je=0;const updateThrottled=()=>{if(je+500{const ce=[];const Ue=Ne/Math.max(le||this.modulesCount||1,Te);const ze=Le/Math.max(Ee||this.dependenciesCount||1,Ie);const We=Me/Math.max(_e||1,we);let Je;switch(this.percentBy){case"entries":Je=ze;break;case"dependencies":Je=We;break;case"modules":Je=Ue;break;default:Je=median3(Ue,ze,We)}const Ve=.1+Je*.55;if(ae){ce.push(`import loader ${ie(E.context,ae,E.root)}`)}else{const E=[];if(R){E.push(`${Le}/${Ie} entries`)}if($){E.push(`${Me}/${we} dependencies`)}if(j){E.push(`${Ne}/${Te} modules`)}if(q){E.push(`${Be.size} active`)}if(E.length>0){ce.push(E.join(" "))}if(q){ce.push(G)}}N(Ve,"building",...ce);je=Date.now()};const factorizeAdd=()=>{we++;if(we<50||we%100===0)updateThrottled()};const factorizeDone=()=>{Me++;if(Me<50||Me%100===0)updateThrottled()};const moduleAdd=()=>{Te++;if(Te<50||Te%100===0)updateThrottled()};const moduleBuild=E=>{const N=E.identifier();if(N){Be.add(N);G=N;update()}};const entryAdd=(E,N)=>{Ie++;if(Ie<5||Ie%10===0)updateThrottled()};const moduleDone=E=>{Ne++;if(q){const N=E.identifier();if(N){Be.delete(N);if(G===N){G="";for(const E of Be){G=E}update();return}}}if(Ne<50||Ne%100===0)updateThrottled()};const entryDone=(E,N)=>{Le++;update()};const Ue=E.getCache("ProgressPlugin").getItemCache("counts",null);let ze;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!ze){ze=Ue.getPromise().then((E=>{if(E){le=le||E.modulesCount;_e=_e||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return ze.then((async E=>{if(!E||E.modulesCount!==Te||E.dependenciesCount!==we){await Ue.storePromise({modulesCount:Te,dependenciesCount:we})}}))}));E.hooks.compilation.tap("ProgressPlugin",(R=>{if(R.compiler.isChild())return;le=Te;Ee=Ie;_e=we;Te=we=Ie=0;Ne=Me=Le=0;R.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);R.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);R.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);R.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(q){R.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}R.hooks.addEntry.tap("ProgressPlugin",entryAdd);R.hooks.failedEntry.tap("ProgressPlugin",entryDone);R.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const j={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const $=Object.keys(j).length;Object.keys(j).forEach(((q,G)=>{const ie=j[q];const ae=G/$*.25+.7;R.hooks[q].intercept({name:"ProgressPlugin",call(){N(ae,"sealing",ie)},done(){ce.set(E,undefined);N(ae,"sealing",ie)},result(){N(ae,"sealing",ie)},error(){N(ae,"sealing",ie)},tap(E){ce.set(R.compiler,((R,...j)=>{N(ae,"sealing",ie,E.name,...j)}));N(ae,"sealing",ie,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){N(.1,"building")},done(){N(.65,"building")}});const interceptHook=(R,j,$,q)=>{R.intercept({name:"ProgressPlugin",call(){N(j,$,q)},done(){ce.set(E,undefined);N(j,$,q)},result(){N(j,$,q)},error(){N(j,$,q)},tap(R){ce.set(E,((E,...G)=>{N(j,$,q,R.name,...G)}));N(j,$,q,R.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){N(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){N(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){N(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,N,R)=>{"use strict";const j=R(66298);const $=R(1335);const{approve:q}=R(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const N=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{Object.keys(N).forEach((R=>{const j=[].concat(N[R]);const G=R.split(".");if(G.length>0){G.slice(1).forEach(((N,R)=>{const j=G.slice(0,R+1).join(".");E.hooks.canRename.for(j).tap("ProvidePlugin",q)}))}E.hooks.expression.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.range);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.call.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.callee.range);G.loc=N.callee.loc;E.state.module.addDependency(G);E.walkExpressions(N.arguments);return true}))}))};R.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(53453);const G=R(56202);const ie=new Set(["javascript"]);class RawModule extends q{constructor(E,N,R,j){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=N||this.sourceStr;this.readableIdentifierStr=R||this.identifierStr;this.runtimeRequirements=j||null}getSourceTypes(){return ie}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={cacheable:true};$()}codeGeneration(E){const N=new Map;if(this.useSourceMap||this.useSimpleSourceMap){N.set("javascript",new j(this.sourceStr,this.identifier()))}else{N.set("javascript",new $(this.sourceStr))}return{sources:N,runtimeRequirements:this.runtimeRequirements}}updateHash(E,N){E.update(this.sourceStr);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceStr);N(this.identifierStr);N(this.readableIdentifierStr);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceStr=N();this.identifierStr=N();this.readableIdentifierStr=N();this.runtimeRequirements=N();super.deserialize(E)}}G(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,N,R)=>{"use strict";const{compareNumbers:j}=R(68673);const $=R(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const N=this.options.portableIds;const R=$.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(N){return R(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((N,R)=>{const $=E.chunkGraph;if(!R.modules)R.modules={};if(!R.modules.byIdentifier)R.modules.byIdentifier={};const q=new Set;for(const E of N){const N=$.getModuleId(E);if(typeof N!=="number")continue;const j=getModuleIdentifier(E);R.modules.byIdentifier[j]=N;q.add(N)}R.modules.usedIds=Array.from(q).sort(j)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((N,R)=>{if(!R.modules)return;if(R.modules.byIdentifier){const j=E.chunkGraph;const $=new Set;for(const E of N){const N=j.getModuleId(E);if(N!==null)continue;const q=getModuleIdentifier(E);const G=R.modules.byIdentifier[q];if(G===undefined)continue;if($.has(G))continue;$.add(G);j.setModuleId(E,G)}}if(Array.isArray(R.modules.usedIds)){E.usedModuleIds=new Set(R.modules.usedIds)}}));const getChunkSources=E=>{const N=[];for(const R of E.groupsIterable){const j=R.chunks.indexOf(E);if(R.name){N.push(`${j} ${R.name}`)}else{for(const E of R.origins){if(E.module){if(E.request){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){N.push(`${j} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return N};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,N)=>{if(!N.chunks)N.chunks={};if(!N.chunks.byName)N.chunks.byName={};if(!N.chunks.bySource)N.chunks.bySource={};const R=new Set;for(const j of E){if(typeof j.id!=="number")continue;const E=j.name;if(E)N.chunks.byName[E]=j.id;const $=getChunkSources(j);for(const E of $){N.chunks.bySource[E]=j.id}R.add(j.id)}N.chunks.usedIds=Array.from(R).sort(j)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((N,R)=>{if(!R.chunks)return;const j=new Set;if(R.chunks.byName){for(const E of N){if(E.id!==null)continue;if(!E.name)continue;const N=R.chunks.byName[E.name];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N]}}if(R.chunks.bySource){for(const E of N){if(E.id!==null)continue;const N=getChunkSources(E);for(const $ of N){const N=R.chunks.bySource[$];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N];break}}}if(Array.isArray(R.chunks.usedIds)){E.usedChunkIds=new Set(R.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,N,R)=>{"use strict";const{contextify:j}=R(49197);class RequestShortener{constructor(E,N){this.contextify=j.bindContextCache(E,N)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66298);const{toConstantDependency:q}=R(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.requireJs===undefined||!N.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",q(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",q(E,j.uncaughtErrorHandler,[j.uncaughtErrorHandler]))};N.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,N,R)=>{"use strict";const j=R(17583).ResolverFactory;const{HookMap:$,SyncHook:q,SyncWaterfallHook:G}=R(92960);const{cachedCleverMerge:ie,removeOperations:ae,resolveByProperty:ce}=R(90149);const le={};const convertToResolveOptions=E=>{const{dependencyType:N,plugins:R,...j}=E;const $={...j,plugins:R&&R.filter((E=>E!=="..."))};if(!$.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const q=$;return ae(ce(q,"byDependency",N))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new $((()=>new G(["resolveOptions"]))),resolver:new $((()=>new q(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,N=le){let R=this.cache.get(E);if(!R){R={direct:new WeakMap,stringified:new Map};this.cache.set(E,R)}const j=R.direct.get(N);if(j){return j}const $=JSON.stringify(N);const q=R.stringified.get($);if(q){R.direct.set(N,q);return q}const G=this._create(E,N);R.direct.set(N,G);R.stringified.set($,G);return G}_create(E,N){const R={...N};const $=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(N));const q=j.createResolver($);if(!q){throw new Error("No resolver created")}const G=new WeakMap;q.withOptions=N=>{const j=G.get(N);if(j!==undefined)return j;const $=ie(R,N);const q=this.get(E,$);G.set(N,q);return q};this.hooks.resolver.for(E).call(q,$,R);return q}}},76150:(E,N)=>{"use strict";N.require="__webpack_require__";N.requireScope="__webpack_require__.*";N.exports="__webpack_exports__";N.thisAsExports="top-level-this-exports";N.returnExportsFromRuntime="return-exports-from-runtime";N.module="module";N.moduleId="module.id";N.moduleLoaded="module.loaded";N.publicPath="__webpack_require__.p";N.entryModuleId="__webpack_require__.s";N.moduleCache="__webpack_require__.c";N.moduleFactories="__webpack_require__.m";N.moduleFactoriesAddOnly="__webpack_require__.m (add only)";N.ensureChunk="__webpack_require__.e";N.ensureChunkHandlers="__webpack_require__.f";N.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";N.prefetchChunk="__webpack_require__.E";N.prefetchChunkHandlers="__webpack_require__.F";N.preloadChunk="__webpack_require__.G";N.preloadChunkHandlers="__webpack_require__.H";N.definePropertyGetters="__webpack_require__.d";N.makeNamespaceObject="__webpack_require__.r";N.createFakeNamespaceObject="__webpack_require__.t";N.compatGetDefaultExport="__webpack_require__.n";N.harmonyModuleDecorator="__webpack_require__.hmd";N.nodeModuleDecorator="__webpack_require__.nmd";N.getFullHash="__webpack_require__.h";N.wasmInstances="__webpack_require__.w";N.instantiateWasm="__webpack_require__.v";N.uncaughtErrorHandler="__webpack_require__.oe";N.scriptNonce="__webpack_require__.nc";N.loadScript="__webpack_require__.l";N.createScriptUrl="__webpack_require__.tu";N.chunkName="__webpack_require__.cn";N.runtimeId="__webpack_require__.j";N.getChunkScriptFilename="__webpack_require__.u";N.getChunkUpdateScriptFilename="__webpack_require__.hu";N.startup="__webpack_require__.x";N.startupNoDefault="__webpack_require__.x (no default handler)";N.startupOnlyAfter="__webpack_require__.x (only after)";N.startupOnlyBefore="__webpack_require__.x (only before)";N.chunkCallback="webpackChunk";N.startupEntrypoint="__webpack_require__.X";N.onChunksLoaded="__webpack_require__.O";N.externalInstallChunk="__webpack_require__.C";N.interceptModuleExecution="__webpack_require__.i";N.global="__webpack_require__.g";N.shareScopeMap="__webpack_require__.S";N.initializeSharing="__webpack_require__.I";N.currentRemoteGetScope="__webpack_require__.R";N.getUpdateManifestFilename="__webpack_require__.hmrF";N.hmrDownloadManifest="__webpack_require__.hmrM";N.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";N.hmrModuleData="__webpack_require__.hmrD";N.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";N.hmrRuntimeStatePrefix="__webpack_require__.hmrS";N.amdDefine="__webpack_require__.amdD";N.amdOptions="__webpack_require__.amdO";N.system="__webpack_require__.System";N.hasOwnProperty="__webpack_require__.o";N.systemContext="__webpack_require__.y";N.baseURI="__webpack_require__.b";N.relativeUrl="__webpack_require__.U";N.asyncModule="__webpack_require__.a"},66804:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(48135).OriginalSource;const q=R(53453);const G=new Set(["runtime"]);class RuntimeModule extends q{constructor(E,N=0){super("runtime");this.name=E;this.stage=N;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(E,N,R=E.chunkGraph){this.compilation=E;this.chunk=N;this.chunkGraph=R}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,N){return N(null,false)}build(E,N,R,j,$){$()}updateHash(E,N){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(N){E.update(N.message)}super.updateHash(E,N)}getSourceTypes(){return G}codeGeneration(E){const N=new Map;const R=this.getGeneratedCode();if(R){N.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new $(R,this.identifier()):new j(R))}return{sources:N,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=R(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,N,R)=>{"use strict";const j=R(76150);const $=R(35424);const q=R(18161);const G=R(84997);const ie=R(31164);const ae=R(90202);const ce=R(16710);const le=R(3236);const _e=R(44160);const Ee=R(58957);const Te=R(59179);const we=R(9609);const Ie=R(36100);const Ne=R(13376);const Me=R(37522);const Le=R(67104);const Be=R(14676);const je=R(8299);const Ue=R(48977);const ze=R(21355);const We=R(41982);const Je=R(76752);const Ve=R(54825);const qe=R(14146);const He=[j.chunkName,j.runtimeId,j.compatGetDefaultExport,j.createFakeNamespaceObject,j.createScriptUrl,j.definePropertyGetters,j.ensureChunk,j.entryModuleId,j.getFullHash,j.global,j.makeNamespaceObject,j.moduleCache,j.moduleFactories,j.moduleFactoriesAddOnly,j.interceptModuleExecution,j.publicPath,j.baseURI,j.relativeUrl,j.scriptNonce,j.uncaughtErrorHandler,j.asyncModule,j.wasmInstances,j.instantiateWasm,j.shareScopeMap,j.initializeSharing,j.loadScript,j.systemContext,j.onChunksLoaded];const Ge={[j.moduleLoaded]:[j.module],[j.moduleId]:[j.module]};const Ke={[j.definePropertyGetters]:[j.hasOwnProperty],[j.compatGetDefaultExport]:[j.definePropertyGetters],[j.createFakeNamespaceObject]:[j.definePropertyGetters,j.makeNamespaceObject,j.require],[j.initializeSharing]:[j.shareScopeMap],[j.shareScopeMap]:[j.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set($,new $.Template);for(const N of He){E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}))}for(const N of Object.keys(Ke)){const R=Ke[N];E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}for(const N of Object.keys(Ge)){const R=Ge[N];E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}E.hooks.runtimeRequirementInTree.for(j.definePropertyGetters).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Ee);return true}));E.hooks.runtimeRequirementInTree.for(j.makeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Be);return true}));E.hooks.runtimeRequirementInTree.for(j.createFakeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new le);return true}));E.hooks.runtimeRequirementInTree.for(j.hasOwnProperty).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Me);return true}));E.hooks.runtimeRequirementInTree.for(j.compatGetDefaultExport).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new ae);return true}));E.hooks.runtimeRequirementInTree.for(j.runtimeId).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new We);return true}));E.hooks.runtimeRequirementInTree.for(j.publicPath).tap("RuntimePlugin",((N,R)=>{const{outputOptions:$}=E;const{publicPath:q,scriptType:G}=$;const ae=N.getEntryOptions();const ce=ae&&ae.publicPath!==undefined?ae.publicPath:q;if(ce==="auto"){const $=new ie;if(G!=="module")R.add(j.global);E.addRuntimeModule(N,$)}else{const R=new Ue(ce);if(typeof ce!=="string"||/\[(full)?hash\]/.test(ce)){R.fullHash=true}E.addRuntimeModule(N,R)}return true}));E.hooks.runtimeRequirementInTree.for(j.global).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Ne);return true}));E.hooks.runtimeRequirementInTree.for(j.asyncModule).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new G);return true}));E.hooks.runtimeRequirementInTree.for(j.systemContext).tap("RuntimePlugin",(N=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(N,new Je)}return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkScriptFilename).tap("RuntimePlugin",((N,R)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new we("javascript","javascript",j.getChunkScriptFilename,(N=>N.filenameTemplate||(N.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkUpdateScriptFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))R.add(j.getFullHash);E.addRuntimeModule(N,new we("javascript","javascript update",j.getChunkUpdateScriptFilename,(N=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for(j.getUpdateManifestFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new Ie("update manifest",j.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunk).tap("RuntimePlugin",((N,R)=>{const $=N.hasAsyncChunks();if($){R.add(j.ensureChunkHandlers)}E.addRuntimeModule(N,new Te(R));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,N)=>{N.add(j.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.shareScopeMap).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new Ve);return true}));E.hooks.runtimeRequirementInTree.for(j.loadScript).tap("RuntimePlugin",((N,R)=>{const $=!!E.outputOptions.trustedTypes;if($){R.add(j.createScriptUrl)}E.addRuntimeModule(N,new Le($));return true}));E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new _e);return true}));E.hooks.runtimeRequirementInTree.for(j.relativeUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new ze);return true}));E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new je);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((N,R)=>{const{mainTemplate:j}=E;if(j.hooks.bootstrap.isUsed()||j.hooks.localVars.isUsed()||j.hooks.requireEnsure.isUsed()||j.hooks.requireExtensions.isUsed()){E.addRuntimeModule(N,new ce)}}));q.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,N,{chunkGraph:R})=>{const j=new qe;for(const N of R.getChunkRuntimeModulesIterable(E)){j.add(R.getModuleHash(N,E.runtime))}j.updateHash(N)}))}))}}E.exports=RuntimePlugin},37130:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);const{equals:G}=R(73910);const ie=R(87274);const ae=R(68038);const{forEachRuntime:ce,subtractRuntime:le}=R(37416);const noModuleIdErrorMessage=(E,N)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(N.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(N.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,N,R){this.compilation=E;this.outputOptions=N||{};this.requestShortener=R}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { return ${E}; }`}basicFunction(E,N){return this.supportsArrowFunction()?`(${E}) => {\n${q.indent(N)}\n}`:`function(${E}) {\n${q.indent(N)}\n}`}expressionFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,N){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${N};`:q.asString(E.map(((E,R)=>`var ${E} = ${N}[${R}];`)))}destructureObject(E,N){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${N};`:q.asString(E.map((E=>`var ${E} = ${N}${ae([E])};`)))}iife(E,N){return`(${this.basicFunction(E,N)})()`}forEach(E,N,R){return this.supportsForOf()?`for(const ${E} of ${N}) {\n${q.indent(R)}\n}`:`${N}.forEach(function(${E}) {\n${q.indent(R)}\n});`}comment({request:E,chunkName:N,chunkReason:R,message:j,exportName:$}){let G;if(this.outputOptions.pathinfo){G=[j,E,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{G=[j,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!G)return"";if(this.outputOptions.pathinfo){return q.toComment(G)+" "}else{return q.toNormalComment(G)+" "}}throwMissingModuleErrorBlock({request:E}){const N=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(N)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:N,request:R,idExpr:j,type:$}){const G=N.getModuleId(E);const ie=G===null?JSON.stringify("Module is not available (weak dependency)"):j?`"Module '" + ${j} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${G}' is not available (weak dependency)`);const ae=R?q.toNormalComment(R)+" ":"";const ce=`var e = new Error(${ie}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch($){case"statements":return ce;case"promise":return`Promise.resolve().then(${this.basicFunction("",ce)})`;case"expression":return this.iife("",ce)}}moduleId({module:E,chunkGraph:N,request:R,weak:j}){if(!E){return this.missingModule({request:R})}const $=N.getModuleId(E);if($===null){if(j){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}return`${this.comment({request:R})}${JSON.stringify($)}`}moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:q}){if(!E){return this.missingModule({request:R})}const G=N.getModuleId(E);if(G===null){if(j){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}q.add($.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:N,request:R,weak:j})})`}moduleExports({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$}){return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$})}moduleNamespace({module:E,chunkGraph:N,request:R,strict:j,weak:q,runtimeRequirements:G}){if(!E){return this.missingModule({request:R})}if(N.getModuleId(E)===null){if(q){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,N)}`)}const ie=this.moduleId({module:E,chunkGraph:N,request:R,weak:q});const ae=E.getExportsType(N.moduleGraph,j);switch(ae){case"namespace":return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:q,runtimeRequirements:G});case"default-with-named":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 3)`;case"default-only":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 1)`;case"dynamic":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:N,module:R,request:j,message:q,strict:G,weak:ie,runtimeRequirements:ae}){if(!R){return this.missingModulePromise({request:j})}const ce=E.getModuleId(R);if(ce===null){if(ie){return this.weakError({module:R,chunkGraph:E,request:j,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(R,E)}`)}const le=this.blockPromise({chunkGraph:E,block:N,message:q,runtimeRequirements:ae});let _e;let Ee=JSON.stringify(E.getModuleId(R));const Te=this.comment({request:j});let we="";if(ie){if(Ee.length>8){we+=`var id = ${Ee}; `;Ee="id"}ae.add($.moduleFactories);we+=`if(!${$.moduleFactories}[${Ee}]) { ${this.weakError({module:R,chunkGraph:E,request:j,idExpr:Ee,type:"statements"})} } `}const Ie=this.moduleId({module:R,chunkGraph:E,request:j,weak:ie});const Ne=R.getExportsType(E.moduleGraph,G);let Me=16;switch(Ne){case"namespace":if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Te}${Ee}))`}break;case"dynamic":Me|=4;case"default-with-named":Me|=2;case"default-only":ae.add($.createFakeNamespaceObject);if(E.moduleGraph.isAsync(R)){if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Te}${Ee}))`}_e+=`.then(${this.returningFunction(`${$.createFakeNamespaceObject}(m, ${Me})`,"m")})`}else{Me|=1;if(we){const E=`${$.createFakeNamespaceObject}(${Ie}, ${Me})`;_e=`.then(${this.basicFunction("",`${we}return ${E};`)})`}else{_e=`.then(${$.createFakeNamespaceObject}.bind(__webpack_require__, ${Te}${Ee}, ${Me}))`}}break}return`${le||"Promise.resolve()"}${_e}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:N,runtime:R,runtimeRequirements:j}){if(N===undefined)return"true";if(typeof N==="boolean")return`${N}`;const q=new Set;ce(N,(N=>q.add(`${E.getRuntimeId(N)}`)));const G=new Set;ce(le(R,N),(N=>G.add(`${E.getRuntimeId(N)}`)));j.add($.runtimeId);return ie.fromLists(Array.from(q),Array.from(G))($.runtimeId)}importStatement({update:E,module:N,chunkGraph:R,request:j,importVar:q,originModule:G,weak:ie,runtimeRequirements:ae}){if(!N){return[this.missingModuleStatement({request:j}),""]}if(R.getModuleId(N)===null){if(ie){return[this.weakError({module:N,chunkGraph:R,request:j,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(N,R)}`)}const ce=this.moduleId({module:N,chunkGraph:R,request:j,weak:ie});const le=E?"":"var ";const _e=N.getExportsType(R.moduleGraph,G.buildMeta.strictHarmonyModule);ae.add($.require);const Ee=`/* harmony import */ ${le}${q} = __webpack_require__(${ce});\n`;if(_e==="dynamic"){ae.add($.compatGetDefaultExport);return[Ee,`/* harmony import */ ${le}${q}_default = /*#__PURE__*/${$.compatGetDefaultExport}(${q});\n`]}return[Ee,""]}exportFromImport({moduleGraph:E,module:N,request:R,exportName:ie,originModule:ce,asiSafe:le,isCall:_e,callContext:Ee,defaultInterop:Te,importVar:we,initFragments:Ie,runtime:Ne,runtimeRequirements:Me}){if(!N){return this.missingModule({request:R})}if(!Array.isArray(ie)){ie=ie?[ie]:[]}const Le=N.getExportsType(E,ce.buildMeta.strictHarmonyModule);if(Te){if(ie.length>0&&ie[0]==="default"){switch(Le){case"dynamic":if(_e){return`${we}_default()${ae(ie,1)}`}else{return le?`(${we}_default()${ae(ie,1)})`:le===false?`;(${we}_default()${ae(ie,1)})`:`${we}_default.a${ae(ie,1)}`}case"default-only":case"default-with-named":ie=ie.slice(1);break}}else if(ie.length>0){if(Le==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(ie,1)}else if(Le!=="namespace"&&ie[0]==="__esModule"){return"/* __esModule */true"}}else if(Le==="default-only"||Le==="default-with-named"){Me.add($.createFakeNamespaceObject);Ie.push(new j(`var ${we}_namespace_cache;\n`,j.STAGE_CONSTANTS,-1,`${we}_namespace_cache`));return`/*#__PURE__*/ ${le?"":le===false?";":"Object"}(${we}_namespace_cache || (${we}_namespace_cache = ${$.createFakeNamespaceObject}(${we}${Le==="default-only"?"":", 2"})))`}}if(ie.length>0){const R=E.getExportsInfo(N);const j=R.getUsedName(ie,Ne);if(!j){const E=q.toNormalComment(`unused export ${ae(ie)}`);return`${E} undefined`}const $=G(j,ie)?"":q.toNormalComment(ae(ie))+" ";const ce=`${we}${$}${ae(j)}`;if(_e&&Ee===false){return le?`(0,${ce})`:le===false?`;(0,${ce})`:`/*#__PURE__*/Object(${ce})`}return ce}else{return we}}blockPromise({block:E,message:N,chunkGraph:R,runtimeRequirements:j}){if(!E){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const q=R.getBlockChunkGroup(E);if(!q||q.chunks.length===0){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const G=q.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ie=this.comment({message:N,chunkName:E.chunkName});if(G.length===1){const E=JSON.stringify(G[0].id);j.add($.ensureChunk);return`${$.ensureChunk}(${ie}${E})`}else if(G.length>0){j.add($.ensureChunk);const requireChunkId=E=>`${$.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ie.trim()}[${G.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ie.trim()})`}}asyncModuleFactory({block:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=E.dependencies[0];const q=N.moduleGraph.getModule($);const G=this.blockPromise({block:E,message:"",chunkGraph:N,runtimeRequirements:R});const ie=this.returningFunction(this.moduleRaw({module:q,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(G.startsWith("Promise.resolve(")?`${ie}`:`${G}.then(${this.returningFunction(ie)})`)}syncModuleFactory({dependency:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=N.moduleGraph.getModule(E);const q=this.returningFunction(this.moduleRaw({module:$,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(q)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:N}){N.add($.makeNamespaceObject);N.add($.exports);return`${$.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,N){const R=this.moduleGraph.getParentModule(E.dependencies[0]);N(null,{module:R})}}E.exports=SelfModuleFactory},9192:(E,N)=>{"use strict";N.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const N=["bytes","KiB","MiB","GiB"];const R=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,R)).toPrecision(3)} ${N[R]}`}},26867:(E,N,R)=>{"use strict";const j=R(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const N=this.options;if(N.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}j.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,N,R)=>{"use strict";const j=R(62355);const{ConcatSource:$,RawSource:q}=R(48135);const G=R(3080);const ie=R(70354);const ae=R(52923);const ce=R(26867);const le=R(35817);const _e=R(35891);const{relative:Ee,dirname:Te}=R(95396);const{makePathsAbsolute:we}=R(49197);const Ie=le(R(68337),(()=>R(78061)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,N,R,j,$,q)=>{let G;let ie;if(N.sourceAndMap){const E=N.sourceAndMap(j);ie=E.map;G=E.source}else{ie=N.map(j);G=N.source()}if(!ie||typeof G!=="string")return;const ae=$.options.context;const ce=$.compiler.root;const le=we.bindContextCache(ae,ce);const _e=ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(E.slice(10));const N=$.findModule(E);return N||E}));return{file:E,asset:N,source:G,assetInfo:R,sourceMap:ie,modules:_e,cacheItem:q}};class SourceMapDevToolPlugin{constructor(E={}){Ie(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const N=E.outputFileSystem;const R=this.sourceMapFilename;const le=this.sourceMappingURLComment;const we=this.moduleFilenameTemplate;const Ie=this.namespace;const Ne=this.fallbackModuleFilenameTemplate;const Me=E.requestShortener;const Le=this.options;Le.test=Le.test||/\.((c|m)?js|css)($|\?)/i;const Be=ie.matchObject.bind(undefined,Le);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new ce(Le).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:G.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((G,ce)=>{const je=E.chunkGraph;const Ue=E.getCache("SourceMapDevToolPlugin");const ze=new Map;const We=ae.getReporter(E.compiler)||(()=>{});const Je=new Map;for(const N of E.chunks){for(const E of N.files){Je.set(E,N)}for(const E of N.auxiliaryFiles){Je.set(E,N)}}const Ve=[];for(const E of Object.keys(G)){if(Be(E)){Ve.push(E)}}We(0);const qe=[];let He=0;j.each(Ve,((N,R)=>{const j=E.getAsset(N);if(j.info.related&&j.info.related.sourceMap){He++;return R()}const $=Ue.getItemCache(N,Ue.mergeEtags(Ue.getLazyHashedEtag(j.source),Ie));$.get(((q,G)=>{if(q){return R(q)}if(G){const{assets:j,assetsInfo:$}=G;for(const R of Object.keys(j)){if(R===N){E.updateAsset(R,j[R],$[R])}else{E.emitAsset(R,j[R],$[R])}if(R!==N){const E=Je.get(N);if(E!==undefined)E.auxiliaryFiles.add(R)}}We(.5*++He/Ve.length,N,"restored cached SourceMap");return R()}We(.5*He/Ve.length,N,"generate SourceMap");const ae=getTaskForFile(N,j.source,j.info,{module:Le.module,columns:Le.columns},E,$);if(ae){const N=ae.modules;for(let R=0;R{if(G){return ce(G)}We(.5,"resolve sources");const ae=new Set(ze.values());const we=new Set;const Be=Array.from(ze.keys()).sort(((E,N)=>{const R=typeof E==="string"?E:E.identifier();const j=typeof N==="string"?N:N.identifier();return R.length-j.length}));for(let N=0;N{const ie=Object.create(null);const ae=Object.create(null);const ce=j.file;const we=Je.get(ce);const Ie=j.sourceMap;const Ne=j.source;const Me=j.modules;We(.5+.5*Ue/qe.length,ce,"attach SourceMap");const Be=Me.map((E=>ze.get(E)));Ie.sources=Be;if(Le.noSources){Ie.sourcesContent=undefined}Ie.sourceRoot=Le.sourceRoot||"";Ie.file=ce;const je=R&&/\[contenthash(:\w+)?\]/.test(R);if(je&&j.assetInfo.contenthash){const E=j.assetInfo.contenthash;let N;if(Array.isArray(E)){N=E.map(quoteMeta).join("|")}else{N=quoteMeta(E)}Ie.file=Ie.file.replace(new RegExp(N,"g"),(E=>"x".repeat(E.length)))}let Ve=le;if(Ve!==false&&/\.css($|\?)/i.test(ce)){Ve=Ve.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const He=JSON.stringify(Ie);if(R){let j=ce;const G=je&&_e(E.outputOptions.hashFunction).update(He).digest("hex");const le={chunk:we,filename:Le.fileContext?Ee(N,`/${Le.fileContext}`,`/${j}`):j,contentHash:G};const{path:Ie,info:Me}=E.getPathWithInfo(R,le);const Be=Le.publicPath?Le.publicPath+Ie:Ee(N,Te(N,`/${ce}`),`/${Ie}`);let Ue=new q(Ne);if(Ve!==false){Ue=new $(Ue,E.getPath(Ve,Object.assign({url:Be},le)))}const ze={related:{sourceMap:Ie}};ie[ce]=Ue;ae[ce]=ze;E.updateAsset(ce,Ue,ze);const We=new q(He);const Je={...Me,development:true};ie[Ie]=We;ae[Ie]=Je;E.emitAsset(Ie,We,Je);if(we!==undefined)we.auxiliaryFiles.add(Ie)}else{if(Ve===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const N=new $(new q(Ne),Ve.replace(/\[map\]/g,(()=>He)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(He,"utf-8").toString("base64")}`)));ie[ce]=N;ae[ce]=undefined;E.updateAsset(ce,N)}j.cacheItem.store({assets:ie,assetsInfo:ae},(E=>{We(.5+.5*++Ue/qe.length,j.file,"attached SourceMap");if(E){return G(E)}G()}))}),(E=>{We(1);ce(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const N=this.compilation.createStatsFactory(E);return N.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const N=this.compilation.createStatsFactory(E);const R=this.compilation.createStatsPrinter(E);const j=N.create("compilation",this.compilation,{compilation:this.compilation});const $=R.print("compilation",j);return $===undefined?"":$}}E.exports=Stats},58159:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(48135);const q="a".charCodeAt(0);const G="A".charCodeAt(0);const ie="z".charCodeAt(0)-q+1;const ae=ie*2+2;const ce=ae+10;const le=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const Ee=/\r?\n/g;const Te=/^([^a-zA-Z$_])/;const we=/[^a-zA-Z0-9$]+/g;const Ie=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Me=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(le,"").replace(_e,"").replace(Ee,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Te,"_$1").replace(we,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Ie,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Ie,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Ne,"-").replace(Me,"")}static numberToIdentifier(E){if(E>=ae){return Template.numberToIdentifier(E%ae)+Template.numberToIdentifierContinuation(Math.floor(E/ae))}if(E=ce){return Template.numberToIdentifierContinuation(E%ce)+Template.numberToIdentifierContinuation(Math.floor(E/ce))}if(EE)R=E}if(R<16+(""+R).length){R=0}let j=-1;for(const N of E){j+=`${N.id}`.length+2}const $=R===0?N:16+`${R}`.length+N;return $({id:q.getModuleId(E),source:R(E)||"false"})));const ae=Template.getModulesArrayBounds(ie);if(ae){const E=ae[0];const N=ae[1];if(E!==0){G.add(`Array(${E}).concat(`)}G.add("[\n");const R=new Map;for(const E of ie){R.set(E.id,E)}for(let j=E;j<=N;j++){const N=R.get(j);if(j!==E){G.add(",\n")}G.add(`/* ${j} */`);if(N){G.add("\n");G.add(N.source)}}G.add("\n"+$+"]");if(E!==0){G.add(")")}}else{G.add("{\n");for(let E=0;E {\n");R.add(new $("\t",q));R.add("\n})();\n\n")}else{R.add("!function() {\n");R.add(new $("\t",q));R.add("\n}();\n\n")}}}return R}static renderChunkRuntimeModules(E,N){return new $("/******/ ",new j("function(__webpack_require__) { // webpackRuntimeModules\n",this.renderRuntimeModules(E,N),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=ae;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=ce},30337:(E,N,R)=>{"use strict";const{basename:j,extname:$}=R(71017);const q=R(73837);const G=R(62433);const ie=R(53453);const{parseResource:ae}=R(49197);const ce=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const N=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${N[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,N,R,j)=>{const fn=($,q,G)=>{let ie;const ae=q&&parseInt(q,10);if(ae&&N){ie=N(ae)}else{const N=E($,q,G);ie=ae?N.slice(0,ae):N}if(R){R.immutable=true;if(Array.isArray(R[j])){R[j]=[...R[j],ie]}else if(R[j]){R[j]=[R[j],ie]}else{R[j]=ie}}return ie};return fn};const replacer=(E,N)=>{const fn=(R,j,$)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!N){throw new Error(`Path variable ${R} not implemented in this context: ${$}`)}return""}else{return`${E}`}};return fn};const le=new Map;const _e=(()=>()=>{})();const deprecated=(E,N,R)=>{let j=le.get(N);if(j===undefined){j=q.deprecate(_e,N,R);le.set(N,j)}return(...N)=>{j();return E(...N)}};const replacePathVariables=(E,N,R)=>{const q=N.chunkGraph;const le=new Map;if(typeof N.filename==="string"){const{path:E,query:R,fragment:q}=ae(N.filename);const G=$(E);const ie=j(E);const ce=ie.slice(0,ie.length-G.length);const _e=E.slice(0,E.length-ie.length);le.set("file",replacer(E));le.set("query",replacer(R,true));le.set("fragment",replacer(q,true));le.set("path",replacer(_e,true));le.set("base",replacer(ie));le.set("name",replacer(ce));le.set("ext",replacer(G,true));le.set("filebase",deprecated(replacer(ie),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(N.hash){const E=hashLength(replacer(N.hash),N.hashWithLength,R,"fullhash");le.set("fullhash",E);le.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(N.chunk){const E=N.chunk;const j=N.contentHashType;const $=replacer(E.id);const q=replacer(E.name||E.id);const ie=hashLength(replacer(E instanceof G?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,R,"chunkhash");const ae=hashLength(replacer(N.contentHash||j&&E.contentHash&&E.contentHash[j]),N.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[j]:undefined),R,"contenthash");le.set("id",$);le.set("name",q);le.set("chunkhash",ie);le.set("contenthash",ae)}if(N.module){const E=N.module;const j=replacer((()=>prepareId(E instanceof ie?q.getModuleId(E):E.id)));const $=hashLength(replacer((()=>E instanceof ie?q.getRenderedModuleHash(E,N.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,R,"modulehash");const G=hashLength(replacer(N.contentHash),undefined,R,"contenthash");le.set("id",j);le.set("modulehash",$);le.set("contenthash",G);le.set("hash",N.contentHash?G:$);le.set("moduleid",deprecated(j,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(N.url){le.set("url",replacer(N.url))}if(typeof N.runtime==="string"){le.set("runtime",replacer((()=>prepareId(N.runtime))))}else{le.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(N,R)}E=E.replace(ce,((N,R)=>{if(R.length+2===N.length){const j=/^(\w+)(?::(\w+))?$/.exec(R);if(!j)return N;const[,$,q]=j;const G=le.get($);if(G!==undefined){return G(N,q,E)}}else if(N.startsWith("[\\")&&N.endsWith("\\]")){return`[${N.slice(2,-2)}]`}return N}));return E};const Ee="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(Ee,(E=>{E.hooks.assetPath.tap(Ee,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnhandledSchemeError extends j{constructor(E,N){super(`Reading from "${N}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=N;this.name="UnhandledSchemeError"}}$(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnsupportedFeatureWarning extends j{constructor(E,N){super(E);this.name="UnsupportedFeatureWarning";this.loc=N;this.hideStack=true}}$(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,N,R)=>{"use strict";const j=R(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(N=>{const R=N.body[0];if(R&&R.type==="ExpressionStatement"&&R.expression.type==="Literal"&&R.expression.value==="use strict"){const N=new j("",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);E.state.module.buildInfo.strict=true}}))};N.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,N,R)=>{"use strict";const j=R(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const N=new Map;for(const R of E.modules){const E=R.identifier();const j=E.toLowerCase();let $=N.get(j);if($===undefined){$=new Map;N.set(j,$)}$.set(E,R)}for(const R of N){const N=R[1];if(N.size>1){E.warnings.push(new j(N.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,N,R)=>{"use strict";const j=R(81627);class WarnDeprecatedOptionPlugin{constructor(E,N,R){this.option=E;this.value=N;this.suggestion=R}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends j{constructor(E,N,R){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${N}' for option '${E}' is deprecated. `+`Use '${R}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,N,R)=>{"use strict";const j=R(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new j)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(12798),(()=>R(91014)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const q="ignore";class IgnoringWatchFileSystem{constructor(E,N){this.wfs=E;this.paths=N}watch(E,N,R,j,$,G,ie){E=Array.from(E);N=Array.from(N);const ignored=E=>this.paths.some((N=>N instanceof RegExp?N.test(E):E.indexOf(N)===0));const notIgnored=E=>!ignored(E);const ae=E.filter(ignored);const ce=N.filter(ignored);const le=this.wfs.watch(E.filter(notIgnored),N.filter(notIgnored),R,j,$,((E,N,R,j,$)=>{if(E)return G(E);for(const E of ae){N.set(E,q)}for(const E of ce){R.set(E,q)}G(E,N,R,j,$)}),ie);return{close:()=>le.close(),pause:()=>le.pause(),getContextTimeInfoEntries:()=>{const E=le.getContextTimeInfoEntries();for(const N of ce){E.set(N,q)}return E},getFileTimeInfoEntries:()=>{const E=le.getFileTimeInfoEntries();for(const N of ae){E.set(N,q)}return E}}}}class WatchIgnorePlugin{constructor(E){$(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,N,R)=>{"use strict";const j=R(10140);class Watching{constructor(E,N,R){this.startTime=null;this.invalid=false;this.handler=R;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof N==="number"){this.watchOptions={aggregateTimeout:N}}else if(N&&typeof N==="object"){this.watchOptions={...N}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,N){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(N)}else{for(const N of E){this._collectedChangedFiles.add(N);this._collectedRemovedFiles.delete(N)}for(const E of N){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,N,R,$){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(R||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=$||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=N||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,N)=>{if(E)return this._done(E,N);if(this.invalid)return this._done(null,N);if(this.compiler.hooks.shouldEmit.call(N)===false){return this._done(null,N)}process.nextTick((()=>{const E=N.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(N,(R=>{E.timeEnd("emitAssets");if(R)return this._done(R,N);if(this.invalid)return this._done(null,N);E.time("emitRecords");this.compiler.emitRecords((R=>{E.timeEnd("emitRecords");if(R)return this._done(R,N);if(N.hooks.needAdditionalPass.call()){N.needAdditionalPass=true;N.startTime=this.startTime;N.endTime=Date.now();E.time("done hook");const R=new j(N);this.compiler.hooks.done.callAsync(R,(R=>{E.timeEnd("done hook");if(R)return this._done(R,N);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,N);this.compiler.compile(onCompiled)}))}));return}return this._done(null,N)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const N=new j(E);return N}_done(E,N){this.running=false;const R=N&&N.getLogger("webpack.Watching");let $=null;const handleError=(E,N)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,$);if(!N){N=this.callbacks;this.callbacks=[]}for(const R of N)R(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(N){R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(N){N.startTime=this.startTime;N.endTime=Date.now();$=new j(N)}this.startTime=null;if(E)return handleError(E);const q=this.callbacks;this.callbacks=[];R.time("done hook");this.compiler.hooks.done.callAsync($,(E=>{R.timeEnd("done hook");if(E)return handleError(E,q);this.handler(null,$);R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E,q);R.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;R.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(N.fileDependencies,N.contextDependencies,N.missingDependencies)}}));for(const E of q)E(null);this.compiler.hooks.afterDone.call($)}))}))}watch(E,N,R){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,N,R,this.lastWatcherStartTime,this.watchOptions,((E,N,R,j,$)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(N,R,j,$);this._onChange()}),((E,N)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,N)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,N,R,j){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(R,j);return}if(this.running){this._mergeWithCollected(R,j);this.invalid=true}else{this._go(E,N,R,j)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,N)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=E=>{this.compiler.hooks.watchClose.call();const N=this._closeCallbacks;this._closeCallbacks=undefined;for(const R of N)R(E)};if(N){const R=N.getLogger("webpack.Watching");R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(N=>{R.timeEnd("storeBuildDependencies");shutdown(E||N)}))}else{shutdown(E)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,N,R)=>{"use strict";const j=R(73837).inspect.custom;const $=R(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[j](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}$(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,N,R)=>{"use strict";const j=R(16761);const $=R(46715);const{toConstantDependency:q}=R(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new j(N));E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(N=>{if(N.type!=="CallExpression"||N.arguments.length!==1||N.arguments[0].type==="SpreadElement")return;const R=E.evaluateExpression(N.arguments[0]);if(!R.isString())return;const j=new $(R.string,N.range);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",q(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,N,R)=>{"use strict";const j=R(97614);const $=R(75076);const q=R(18161);const G=R(9483);const ie=R(5538);const ae=R(64699);const ce=R(43806);const le=R(89818);const _e=R(32323);const Ee=R(97489);const Te=R(40552);const we=R(29672);const Ie=R(57694);const Ne=R(30337);const Me=R(79050);const Le=R(12510);const Be=R(68495);const je=R(99184);const Ue=R(13653);const ze=R(91630);const We=R(26165);const Je=R(38586);const Ve=R(54975);const qe=R(2451);const He=R(67634);const Ge=R(51727);const Ke=R(3085);const Qe=R(62630);const Xe=R(65577);const Ye=R(76373);const Ze=R(68778);const et=R(82527);const tt=R(9054);const rt=R(7391);const nt=R(61762);const{cleverMerge:it}=R(90149);class WebpackOptionsApply extends j{constructor(){super()}process(E,N){N.outputPath=E.output.path;N.recordsInputPath=E.recordsInputPath||null;N.recordsOutputPath=E.recordsOutputPath||null;N.name=E.name;if(E.externals){const j=R(61050);new j(E.externalsType,E.externals).apply(N)}if(E.externalsPresets.node){const E=R(84980);(new E).apply(N)}if(E.externalsPresets.electronMain){const E=R(25726);new E("main").apply(N)}if(E.externalsPresets.electronPreload){const E=R(25726);new E("preload").apply(N)}if(E.externalsPresets.electronRenderer){const E=R(25726);new E("renderer").apply(N)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=R(25726);(new E).apply(N)}if(E.externalsPresets.nwjs){const E=R(61050);new E("node-commonjs","nw.gui").apply(N)}if(E.externalsPresets.webAsync){const E=R(61050);new E("import",/^(https?:\/\/|std:)/).apply(N)}else if(E.externalsPresets.web){const E=R(61050);new E("module",/^(https?:\/\/|std:)/).apply(N)}(new ie).apply(N);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=R(41113);(new E).apply(N);break}case"commonjs":{const E=R(77314);(new E).apply(N);break}case"module":{const E=R(57378);(new E).apply(N);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const j of E.output.enabledChunkLoadingTypes){const E=R(50369);new E(j).apply(N)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const j of E.output.enabledWasmLoadingTypes){const E=R(69085);new E(j).apply(N)}}if(E.output.enabledLibraryTypes.length>0){for(const j of E.output.enabledLibraryTypes){const E=R(13984);new E(j).apply(N)}}if(E.output.pathinfo){const j=R(21542);new j(E.output.pathinfo!==true).apply(N)}if(E.output.clean){const j=R(61666);new j(E.output.clean===true?{}:E.output.clean).apply(N)}if(E.devtool){if(E.devtool.includes("source-map")){const j=E.devtool.includes("hidden");const $=E.devtool.includes("inline");const q=E.devtool.includes("eval");const G=E.devtool.includes("cheap");const ie=E.devtool.includes("module");const ae=E.devtool.includes("nosources");const ce=q?R(23641):R(2e4);new ce({filename:$?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:j?false:undefined,module:ie?true:G?false:true,columns:G?false:true,noSources:ae,namespace:E.output.devtoolNamespace}).apply(N)}else if(E.devtool.includes("eval")){const j=R(91331);new j({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(N)}}(new q).apply(N);(new G).apply(N);(new $).apply(N);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const j=R(84387);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.asyncWebAssembly){const j=R(82422);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.lazyCompilation){const j=R(10639);const $=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new j({backend:typeof $.backend==="function"?$.backend:R(64244)({...$.backend,client:$.backend&&$.backend.client||E.externalsPresets.node?R.ab+"lazy-compilation-node.js":R.ab+"lazy-compilation-web.js"}),entries:!$||$.entries!==false,imports:!$||$.imports!==false,test:$&&$.test||undefined}).apply(N)}if(E.experiments.buildHttp){const j=R(7201);const $=E.experiments.buildHttp;new j($).apply(N)}(new ae).apply(N);N.hooks.entryOption.call(E.context,E.entry);(new le).apply(N);(new Ze).apply(N);(new Be).apply(N);(new je).apply(N);(new Ee).apply(N);new We({topLevelAwait:E.experiments.topLevelAwait}).apply(N);if(E.amd!==false){const j=R(19765);const $=R(10830);new j(E.amd||{}).apply(N);(new $).apply(N)}(new ze).apply(N);new qe({}).apply(N);if(E.node!==false){const j=R(32125);new j(E.node).apply(N)}(new _e).apply(N);(new we).apply(N);(new Ie).apply(N);(new Te).apply(N);(new Me).apply(N);(new Ke).apply(N);(new Ge).apply(N);(new He).apply(N);(new Ve).apply(N);(new Qe).apply(N);(new Je).apply(N);(new Xe).apply(N);new Ye(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(N);(new tt).apply(N);(new rt).apply(N);(new nt).apply(N);(new et).apply(N);if(typeof E.mode!=="string"){const E=R(67586);(new E).apply(N)}const j=R(38173);(new j).apply(N);if(E.optimization.removeAvailableModules){const E=R(78016);(new E).apply(N)}if(E.optimization.removeEmptyChunks){const E=R(62665);(new E).apply(N)}if(E.optimization.mergeDuplicateChunks){const E=R(70026);(new E).apply(N)}if(E.optimization.flagIncludedChunks){const E=R(76627);(new E).apply(N)}if(E.optimization.sideEffects){const j=R(63410);new j(E.optimization.sideEffects===true).apply(N)}if(E.optimization.providedExports){const E=R(95629);(new E).apply(N)}if(E.optimization.usedExports){const j=R(1596);new j(E.optimization.usedExports==="global").apply(N)}if(E.optimization.innerGraph){const E=R(10032);(new E).apply(N)}if(E.optimization.mangleExports){const j=R(41694);new j(E.optimization.mangleExports!=="size").apply(N)}if(E.optimization.concatenateModules){const E=R(35442);(new E).apply(N)}if(E.optimization.splitChunks){const j=R(40051);new j(E.optimization.splitChunks).apply(N)}if(E.optimization.runtimeChunk){const j=R(4674);new j(E.optimization.runtimeChunk).apply(N)}if(!E.optimization.emitOnErrors){const E=R(66962);(new E).apply(N)}if(E.optimization.realContentHash){const j=R(30699);new j({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(N)}if(E.optimization.checkWasmTypes){const E=R(8576);(new E).apply(N)}const ot=E.optimization.moduleIds;if(ot){switch(ot){case"natural":{const E=R(97781);(new E).apply(N);break}case"named":{const E=R(9297);(new E).apply(N);break}case"hashed":{const j=R(3571);const $=R(35853);new j("optimization.moduleIds","hashed","deterministic").apply(N);new $({hashFunction:E.output.hashFunction}).apply(N);break}case"deterministic":{const E=R(35579);(new E).apply(N);break}case"size":{const E=R(76059);new E({prioritiseInitial:true}).apply(N);break}default:throw new Error(`webpack bug: moduleIds: ${ot} is not implemented`)}}const st=E.optimization.chunkIds;if(st){switch(st){case"natural":{const E=R(18298);(new E).apply(N);break}case"named":{const E=R(64779);(new E).apply(N);break}case"deterministic":{const E=R(90444);(new E).apply(N);break}case"size":{const E=R(86169);new E({prioritiseInitial:true}).apply(N);break}case"total-size":{const E=R(86169);new E({prioritiseInitial:false}).apply(N);break}default:throw new Error(`webpack bug: chunkIds: ${st} is not implemented`)}}if(E.optimization.nodeEnv){const j=R(24820);new j({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(N)}if(E.optimization.minimize){for(const R of E.optimization.minimizer){if(typeof R==="function"){R.call(N,N)}else if(R!=="..."){R.apply(N)}}}if(E.performance){const j=R(20625);new j(E.performance).apply(N)}(new Ne).apply(N);new ce({portableIds:E.optimization.portableRecords}).apply(N);(new Le).apply(N);const ct=R(46584);new ct(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(N);if(E.cache&&typeof E.cache==="object"){const j=E.cache;switch(j.type){case"memory":{if(isFinite(j.maxGenerations)){const E=R(71162);new E({maxGenerations:j.maxGenerations}).apply(N)}else{const E=R(47786);(new E).apply(N)}if(j.cacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}break}case"filesystem":{const $=R(38016);for(const E in j.buildDependencies){const R=j.buildDependencies[E];new $(R).apply(N)}if(!isFinite(j.maxMemoryGenerations)){const E=R(47786);(new E).apply(N)}else if(j.maxMemoryGenerations!==0){const E=R(71162);new E({maxGenerations:j.maxMemoryGenerations}).apply(N)}if(j.memoryCacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}switch(j.store){case"pack":{const $=R(66620);const q=R(83793);new $(new q({compiler:N,fs:N.intermediateFileSystem,context:E.context,cacheLocation:j.cacheLocation,version:j.version,logger:N.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:j.maxAge,profile:j.profile,allowCollectingMemory:j.allowCollectingMemory,compression:j.compression}),j.idleTimeout,j.idleTimeoutForInitialStore,j.idleTimeoutAfterLargeChanges).apply(N);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${j.type}`)}}(new Ue).apply(N);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const j=R(89056);new j(E.ignoreWarnings).apply(N)}N.hooks.afterPlugins.call(N);if(!N.inputFileSystem){throw new Error("No input filesystem provided")}N.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;return R}));N.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;R.resolveToContext=true;return R}));N.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(R=>{R=it(E.resolveLoader,R);R.fileSystem=N.inputFileSystem;return R}));N.hooks.afterResolvers.call(N);return E}}E.exports=WebpackOptionsApply},94820:(E,N,R)=>{"use strict";const{applyWebpackOptionsDefaults:j}=R(54411);const{getNormalizedWebpackOptions:$}=R(96590);class WebpackOptionsDefaulter{process(E){E=$(E);j(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,N,R)=>{"use strict";const j=R(50007);const $=R(71017);const{RawSource:q}=R(48135);const G=R(36253);const ie=R(76150);const ae=R(35891);const{makePathsRelative:ce}=R(49197);const mergeMaybeArrays=(E,N)=>{const R=new Set;if(Array.isArray(E))for(const N of E)R.add(N);else R.add(E);if(Array.isArray(N))for(const E of N)R.add(E);else R.add(N);return Array.from(R)};const mergeAssetInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;switch(j){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":R[j]=mergeMaybeArrays(E[j],N[j]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":R[j]=E[j]||N[j];break;case"related":R[j]=mergeRelatedInfo(E[j],N[j]);break;default:throw new Error(`Can't handle conflicting asset info for ${j}`)}}}return R};const mergeRelatedInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;R[j]=mergeMaybeArrays(E[j],N[j])}}return R};const le=new Set(["javascript"]);const _e=new Set(["javascript","asset"]);class AssetGenerator extends G{constructor(E,N,R,j){super();this.dataUrlOptions=E;this.filename=N;this.publicPath=R;this.emit=j}generate(E,{runtime:N,chunkGraph:R,runtimeTemplate:G,runtimeRequirements:le,type:_e,getData:Ee}){switch(_e){case"asset":return E.originalSource();default:{le.add(ie.module);const _e=E.originalSource();if(E.buildInfo.dataUrl){let N;if(typeof this.dataUrlOptions==="function"){N=this.dataUrlOptions.call(null,_e.source(),{filename:E.matchResource||E.resource,module:E})}else{let R=this.dataUrlOptions.encoding;if(R===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){R=E.resourceResolveData.encoding}}if(R===undefined){R="base64"}let q;let G=this.dataUrlOptions.mimetype;if(G===undefined){q=$.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){G=E.resourceResolveData.mimetype+E.resourceResolveData.parameters}else if(q){G=j.lookup(q)}}if(typeof G!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${q}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ie;if(E.resourceResolveData&&E.resourceResolveData.encoding===R){ie=E.resourceResolveData.encodedContent}else{switch(R){case"base64":{ie=_e.buffer().toString("base64");break}case false:{const E=_e.source();if(typeof E!=="string"){ie=E.toString("utf-8")}ie=encodeURIComponent(ie).replace(/[!'()*]/g,(E=>"%"+E.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${R}'`)}}N=`data:${G}${R?`;${R}`:""},${ie}`}return new q(`${ie.module}.exports = ${JSON.stringify(N)};`)}else{const j=this.filename||G.outputOptions.assetModuleFilename;const $=ae(G.outputOptions.hashFunction);if(G.outputOptions.hashSalt){$.update(G.outputOptions.hashSalt)}$.update(_e.buffer());const Te=$.digest(G.outputOptions.hashDigest);const we=Te.slice(0,G.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Te;const Ie=ce(G.compilation.compiler.context,E.matchResource||E.resource,G.compilation.compiler.root).replace(/^\.\//,"");let{path:Ne,info:Me}=G.compilation.getAssetPathWithInfo(j,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});let Le;if(this.publicPath!==undefined){const{path:j,info:$}=G.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});Le=JSON.stringify(j);Me=mergeAssetInfo(Me,$)}else{Le=ie.publicPath;le.add(ie.publicPath)}Me={sourceFilename:Ie,...Me};E.buildInfo.filename=Ne;E.buildInfo.assetInfo=Me;if(Ee){const E=Ee();E.set("fullContentHash",Te);E.set("filename",Ne);E.set("assetInfo",Me)}return new q(`${ie.module}.exports = ${Le} + ${JSON.stringify(Ne)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return le}else{return _e}}getSize(E,N){switch(N){case"asset":{const N=E.originalSource();if(!N){return 0}return N.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const N=E.originalSource();if(!N){return 0}return N.size()*1.34+36}else{return 42}}}updateHash(E,{module:N}){E.update(N.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,N,R)=>{"use strict";const{cleverMerge:j}=R(90149);const{compareModulesByIdentifier:$}=R(68673);const q=R(35817);const G=R(91671);const getSchema=E=>{const{definitions:N}=R(46312);return{definitions:N,oneOf:[{$ref:`#/definitions/${E}`}]}};const ie={name:"Asset Modules Plugin",baseDataPath:"generator"};const ae={asset:q(R(68707),(()=>getSchema("AssetGeneratorOptions")),ie),"asset/resource":q(R(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ie),"asset/inline":q(R(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ie)};const ce=q(R(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const le=G((()=>R(20882)));const _e=G((()=>R(74795)));const Ee=G((()=>R(20139)));const Te=G((()=>R(54685)));const we="asset";const Ie="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Ie,((N,{normalModuleFactory:R})=>{R.hooks.createParser.for("asset").tap(Ie,(N=>{ce(N);N=j(E.options.module.parser.asset,N);let R=N.dataUrlCondition;if(!R||typeof R==="object"){R={maxSize:8096,...R}}const $=_e();return new $(R)}));R.hooks.createParser.for("asset/inline").tap(Ie,(E=>{const N=_e();return new N(true)}));R.hooks.createParser.for("asset/resource").tap(Ie,(E=>{const N=_e();return new N(false)}));R.hooks.createParser.for("asset/source").tap(Ie,(E=>{const N=Ee();return new N}));for(const E of["asset","asset/inline","asset/resource"]){R.hooks.createGenerator.for(E).tap(Ie,(N=>{ae[E](N);let R=undefined;if(E!=="asset/resource"){R=N.dataUrl;if(!R||typeof R==="object"){R={encoding:undefined,mimetype:undefined,...R}}}let j=undefined;let $=undefined;if(E!=="asset/inline"){j=N.filename;$=N.publicPath}const q=le();return new q(R,j,$,N.emit!==false)}))}R.hooks.createGenerator.for("asset/source").tap(Ie,(()=>{const E=Te();return new E}));N.hooks.renderManifest.tap(Ie,((E,R)=>{const{chunkGraph:j}=N;const{chunk:q,codeGenerationResults:G}=R;const ie=j.getOrderedChunkModulesIterableBySourceType(q,"asset",$);if(ie){for(const N of ie){try{const R=G.get(N,q.runtime);E.push({render:()=>R.sources.get(we),filename:N.buildInfo.filename||R.data.get("filename"),info:N.buildInfo.assetInfo||R.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${j.getModuleId(N)}`,hash:N.buildInfo.fullContentHash||R.data.get("fullContentHash")})}catch(E){E.message+=`\nduring rendering of asset ${N.identifier()}`;throw E}}}return E}));N.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,N)=>{const{codeGenerationResult:R}=E;const j=R.sources.get("asset");if(j===undefined)return;N.assets.set(R.data.get("filename"),{source:j,info:R.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,N,R)=>{"use strict";const j=R(2172);class AssetParser extends j{constructor(E){super();this.dataUrlCondition=E}parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){N.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:N.module.matchResource||N.module.resource,module:N.module})}else if(typeof this.dataUrlCondition==="boolean"){N.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){N.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return N}}E.exports=AssetParser},54685:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(76150);const G=new Set(["javascript"]);class AssetSourceGenerator extends ${generate(E,{chunkGraph:N,runtimeTemplate:R,runtimeRequirements:$}){$.add(q.module);const G=E.originalSource();if(!G){return new j("")}const ie=G.source();let ae;if(typeof ie==="string"){ae=ie}else{ae=ie.toString("utf-8")}return new j(`${q.module}.exports = ${JSON.stringify(ae)};`)}getTypes(E){return G}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()+12}}E.exports=AssetSourceGenerator},20139:(E,N,R)=>{"use strict";const j=R(2172);class AssetSourceParser extends j{parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:R}=N;R.buildInfo.strict=true;R.buildMeta.exportsType="default";return N}}E.exports=AssetSourceParser},10813:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);class AwaitDependenciesInitFragment extends j{constructor(E){super(undefined,j.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const N=new Set(this.promises);for(const R of E.promises){N.add(R)}return new AwaitDependenciesInitFragment(N)}getContent({runtimeRequirements:E}){E.add($.module);const N=this.promises;if(N.size===0){return""}if(N.size===1){for(const E of N){return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const R=Array.from(N).join(", ");return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${R}]);`,`([${R}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,N,R)=>{"use strict";const j=R(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:N}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const R=new Set;for(const N of E){if(N.buildMeta&&N.buildMeta.async){R.add(N)}}for(const E of R){N.setAsync(E);for(const[$,q]of N.getIncomingConnectionsByOriginModule(E)){if(q.some((E=>E.dependency instanceof j&&E.isTargetActive(undefined)))){R.add($)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,N,R)=>{"use strict";const j=R(21357);const{connectChunkGroupParentAndChild:$}=R(4642);const q=R(79900);const{getEntryRuntime:G,mergeRuntime:ie}=R(37416);const ae=new Set;ae.plus=ae;const bySetSize=(E,N)=>N.size+N.plus.size-E.size-E.plus.size;const extractBlockModules=(E,N,R,j)=>{let $;let G;const ie=[];const ae=[E];while(ae.length>0){const E=ae.pop();const N=[];ie.push(N);j.set(E,N);for(const N of E.blocks){ae.push(N)}}for(const q of N.getOutgoingConnections(E)){const E=q.dependency;if(!E)continue;const ie=q.module;if(!ie)continue;if(q.weak)continue;const ae=q.getActiveState(R);if(ae===false)continue;const ce=N.getParentBlock(E);let le=N.getParentBlockIndex(E);if(le<0){le=ce.dependencies.indexOf(E)}if($!==ce){G=j.get($=ce)}const _e=le<<2;G[_e]=ie;G[_e+1]=ae}for(const E of ie){if(E.length===0)continue;let N;let R=0;e:for(let j=0;j30){N=new Map;for(let j=0;j{const{moduleGraph:_e,chunkGraph:Ee,moduleMemCaches:Te}=N;const we=new Map;let Ie=false;let Ne;const getBlockModules=(N,R)=>{if(Ie!==R){Ne=we.get(R);if(Ne===undefined){Ne=new Map;we.set(R,Ne)}}let j=Ne.get(N);if(j!==undefined)return j;const $=N.getRootBlock();const q=Te&&Te.get($);if(q!==undefined){const j=q.provide("bundleChunkGraph.blockModules",R,(()=>{E.time("visitModules: prepare");const N=new Map;extractBlockModules($,_e,R,N);E.timeAggregate("visitModules: prepare");return N}));for(const[E,N]of j)Ne.set(E,N);return j.get(N)}else{E.time("visitModules: prepare");extractBlockModules($,_e,R,Ne);j=Ne.get(N);E.timeAggregate("visitModules: prepare");return j}};let Me=0;let Le=0;let Be=0;let je=0;let Ue=0;let ze=0;let We=0;let Je=0;let Ve=0;let qe=0;let He=0;let Ge=0;let Ke=0;let Qe=0;let Xe=0;let Ye=0;const Ze=new Map;const et=new Map;const tt=new Map;const rt=0;const nt=1;const it=2;const ot=3;const st=4;const ct=5;let ut=[];const dt=new Map;const pt=new Set;for(const[E,j]of R){const R=G(N,E.name,E.options);const q={chunkGroup:E,runtime:R,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=Qe++;if(E.getNumberOfParents()>0){const E=new Set;for(const N of j){E.add(N)}q.skippedItems=E;pt.add(q)}else{q.minAvailableModules=ae;const N=E.getEntrypointChunk();for(const R of j){ut.push({action:nt,block:R,module:R,chunk:N,chunkGroup:E,chunkGroupInfo:q})}}$.set(E,q);if(E.name){et.set(E.name,q)}}for(const E of pt){const{chunkGroup:N}=E;E.availableSources=new Set;for(const R of N.parentsIterable){const N=$.get(R);E.availableSources.add(N);if(N.availableChildren===undefined){N.availableChildren=new Set}N.availableChildren.add(E)}}ut.reverse();const ft=new Set;const mt=new Set;let ht=[];const _t=[];const yt=[];const vt=[];let bt;let xt;let St;let Et;let Tt;const iteratorBlock=E=>{let R=Ze.get(E);let G;let ie;const ce=E.groupOptions&&E.groupOptions.entryOptions;if(R===undefined){const _e=E.groupOptions&&E.groupOptions.name||E.chunkName;if(ce){R=tt.get(_e);if(!R){ie=N.addAsyncEntrypoint(ce,bt,E.loc,E.request);ie.index=Qe++;R={chunkGroup:ie,runtime:ie.options.runtime||ie.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};$.set(ie,R);Ee.connectBlockAndChunkGroup(E,ie);if(_e){tt.set(_e,R)}}else{ie=R.chunkGroup;ie.addOrigin(bt,E.loc,E.request);Ee.connectBlockAndChunkGroup(E,ie)}ht.push({action:st,block:E,module:bt,chunk:ie.chunks[0],chunkGroup:ie,chunkGroupInfo:R})}else{R=et.get(_e);if(!R){G=N.addChunkInGroup(E.groupOptions||E.chunkName,bt,E.loc,E.request);G.index=Qe++;R={chunkGroup:G,runtime:Tt.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};le.add(G);$.set(G,R);if(_e){et.set(_e,R)}}else{G=R.chunkGroup;if(G.isInitial()){N.errors.push(new j(_e,bt,E.loc));G=St}G.addOptions(E.groupOptions);G.addOrigin(bt,E.loc,E.request)}q.set(E,[])}Ze.set(E,R)}else if(ce){ie=R.chunkGroup}else{G=R.chunkGroup}if(G!==undefined){q.get(E).push({originChunkGroupInfo:Tt,chunkGroup:G});let N=dt.get(Tt);if(N===undefined){N=new Set;dt.set(Tt,N)}N.add(R);ht.push({action:ot,block:E,module:bt,chunk:G.chunks[0],chunkGroup:G,chunkGroupInfo:R})}else{Tt.chunkGroup.addAsyncEntrypoint(ie)}};const processBlock=E=>{Le++;const N=getBlockModules(E,Tt.runtime);if(N!==undefined){const{minAvailableModules:E}=Tt;for(let R=0;R0){let{skippedModuleConnections:E}=Tt;if(E===undefined){Tt.skippedModuleConnections=E=new Set}for(let N=_t.length-1;N>=0;N--){E.add(_t[N])}_t.length=0}if(yt.length>0){let{skippedItems:E}=Tt;if(E===undefined){Tt.skippedItems=E=new Set}for(let N=yt.length-1;N>=0;N--){E.add(yt[N])}yt.length=0}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processEntryBlock=E=>{Le++;const N=getBlockModules(E,Tt.runtime);if(N!==undefined){for(let E=0;E0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processQueue=()=>{while(ut.length){Me++;const E=ut.pop();bt=E.module;Et=E.block;xt=E.chunk;St=E.chunkGroup;Tt=E.chunkGroupInfo;switch(E.action){case rt:Ee.connectChunkAndEntryModule(xt,bt,St);case nt:{if(Ee.isModuleInChunk(bt,xt)){break}Ee.connectChunkAndModule(xt,bt)}case it:{const N=St.getModulePreOrderIndex(bt);if(N===undefined){St.setModulePreOrderIndex(bt,Tt.preOrderIndex++)}if(_e.setPreOrderIndexIfUnset(bt,Xe)){Xe++}E.action=ct;ut.push(E)}case ot:{processBlock(Et);break}case st:{processEntryBlock(Et);break}case ct:{const E=St.getModulePostOrderIndex(bt);if(E===undefined){St.setModulePostOrderIndex(bt,Tt.postOrderIndex++)}if(_e.setPostOrderIndexIfUnset(bt,Ye)){Ye++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const N=E.minAvailableModules;let R;if(N.size>N.plus.size){R=new Set;for(const E of N.plus)N.add(E);N.plus=ae;R.plus=N;E.minAvailableModulesOwned=false}else{R=new Set(N);R.plus=N.plus}for(const N of E.chunkGroup.chunks){for(const E of Ee.getChunkModulesIterable(N)){R.add(E)}}return E.resultingAvailableModules=R};const processConnectQueue=()=>{for(const[E,N]of dt){if(E.children===undefined){E.children=N}else{for(const R of N){E.children.add(R)}}const R=calculateResultingAvailableModules(E);const j=E.runtime;for(const E of N){E.availableModulesToBeMerged.push(R);mt.add(E);const N=E.runtime;const $=ie(N,j);if(N!==$){E.runtime=$;ft.add(E)}}Be+=N.size}dt.clear()};const processChunkGroupsForMerging=()=>{je+=mt.size;for(const E of mt){const N=E.availableModulesToBeMerged;let R=E.minAvailableModules;Ue+=N.length;if(N.length>1){N.sort(bySetSize)}let j=false;e:for(const $ of N){if(R===undefined){R=$;E.minAvailableModules=R;E.minAvailableModulesOwned=false;j=true}else{if(E.minAvailableModulesOwned){if(R.plus===$.plus){for(const E of R){if(!$.has(E)){R.delete(E);j=true}}}else{for(const E of R){if(!$.has(E)&&!$.plus.has(E)){R.delete(E);j=true}}for(const E of R.plus){if(!$.has(E)&&!$.plus.has(E)){const N=R.plus[Symbol.iterator]();let q;while(!(q=N.next()).done){const N=q.value;if(N===E)break;R.add(N)}while(!(q=N.next()).done){const N=q.value;if($.has(N)||$.plus.has(E)){R.add(N)}}R.plus=ae;j=true;continue e}}}}else if(R.plus===$.plus){if($.size{for(const E of pt){for(const N of E.availableSources){if(!N.minAvailableModules){pt.delete(E);break}}}for(const E of pt){const N=new Set;N.plus=ae;const mergeSet=E=>{if(E.size>N.plus.size){for(const E of N.plus)N.add(E);N.plus=E}else{for(const R of E)N.add(R)}};for(const N of E.availableSources){const E=calculateResultingAvailableModules(N);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=N;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;ft.add(E)}pt.clear()};const processOutdatedChunkGroupInfo=()=>{Ge+=ft.size;for(const E of ft){if(E.skippedItems!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedItems){if(!N.has(R)&&!N.plus.has(R)){ut.push({action:nt,block:R,module:R,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(R)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedModuleConnections){const[j,$]=R;if($===false)continue;if($===true){E.skippedModuleConnections.delete(R)}if($===true&&(N.has(j)||N.plus.has(j))){E.skippedItems.add(j);continue}ut.push({action:$===true?nt:ot,block:j,module:j,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){Ke+=E.children.size;for(const N of E.children){let R=dt.get(E);if(R===undefined){R=new Set;dt.set(E,R)}R.add(N)}}if(E.availableChildren!==undefined){for(const N of E.availableChildren){pt.add(N)}}}ft.clear()};while(ut.length||dt.size){E.time("visitModules: visiting");processQueue();E.timeAggregateEnd("visitModules: prepare");E.timeEnd("visitModules: visiting");if(pt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(dt.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(mt.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(ft.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const E=ut;ut=ht.reverse();ht=E}}E.log(`${Me} queue items processed (${Le} blocks)`);E.log(`${Be} chunk groups connected`);E.log(`${je} chunk groups processed for merging (${Ue} module sets, ${ze} forked, ${We} + ${Je} modules forked, ${Ve} + ${qe} modules merged into fork, ${He} resulting modules)`);E.log(`${Ge} chunk group info updated (${Ke} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,N,R,j)=>{const{chunkGraph:q}=E;const areModulesAvailable=(E,N)=>{for(const R of E.chunks){for(const E of q.getChunkModulesIterable(R)){if(!N.has(E)&&!N.plus.has(E))return false}}return true};for(const[E,j]of R){if(!N.has(E)&&j.every((({chunkGroup:E,originChunkGroupInfo:N})=>areModulesAvailable(E,N.resultingAvailableModules)))){continue}for(let N=0;N{const{chunkGraph:R}=E;for(const j of N){if(j.getNumberOfParents()===0){for(const N of j.chunks){E.chunks.delete(N);R.disconnectChunk(N)}R.disconnectChunkGroup(j);j.remove()}}};const buildChunkGraph=(E,N)=>{const R=E.getLogger("webpack.buildChunkGraph");const j=new Map;const $=new Set;const q=new Map;const G=new Set;R.time("visitModules");visitModules(R,E,N,q,j,G,$);R.timeEnd("visitModules");R.time("connectChunkGroups");connectChunkGroups(E,G,j,q);R.timeEnd("connectChunkGroups");for(const[E,N]of q){for(const R of E.chunks)R.runtime=ie(R.runtime,N.runtime)}R.time("cleanup");cleanupUnconnectedGroups(E,$);R.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,N){this.managedPaths=new Set(E);this.immutablePaths=new Set(N)}apply(E){for(const N of this.managedPaths){E.managedPaths.add(N)}for(const N of this.immutablePaths){E.immutablePaths.add(N)}}}E.exports=AddManagedPathsPlugin},66620:(E,N,R)=>{"use strict";const j=R(54725);const $=R(52923);const q=Symbol();class IdleFileCachePlugin{constructor(E,N,R,j){this.strategy=E;this.idleTimeout=N;this.idleTimeoutForInitialStore=R;this.idleTimeoutAfterLargeChanges=j}apply(E){let N=this.strategy;const R=this.idleTimeout;const G=Math.min(R,this.idleTimeoutForInitialStore);const ie=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let ce=0;let le=0;let _e=0;const Ee=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{Ee.set(E,(()=>N.store(E,R,j)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{const restore=()=>N.restore(E,R).then(($=>{if($===undefined){j.push(((j,$)=>{if(j!==undefined){Ee.set(E,(()=>N.store(E,R,j)))}$()}))}else{return $}}));const $=Ee.get(E);if($!==undefined){Ee.delete(E);return $().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(E=>{Ee.set(q,(()=>N.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false;const R=$.getReporter(E);const j=Array.from(Ee.values());if(R)R(0,"process pending cache items");const q=j.map((E=>E()));Ee.clear();q.push(Te);const G=Promise.all(q);Te=G.then((()=>N.afterAllStored()));if(R){Te=Te.then((()=>{R(1,`stored`)}))}return Te.then((()=>{if(N.clear)N.clear()}))}));let Te=ae;let we=false;let Ie=true;const processIdleTasks=()=>{if(we){const R=Date.now();if(Ee.size>0){const E=[Te];const N=R+100;let j=100;for(const[R,$]of Ee){Ee.delete(R);E.push($());if(j--<=0||Date.now()>N)break}Te=Promise.all(E);Te.then((()=>{le+=Date.now()-R;Ne=setTimeout(processIdleTasks,0);Ne.unref()}));return}Te=Te.then((async()=>{await N.afterAllStored();le+=Date.now()-R;_e=Math.max(_e,le)*.9+le*.1;le=0;ce=0})).catch((N=>{const R=E.getInfrastructureLogger("IdleFileCachePlugin");R.warn(`Background tasks during idle failed: ${N.message}`);R.debug(N.stack)}));Ie=false}};let Ne=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{const N=ce>_e*2;if(Ie&&G{Ne=undefined;we=true;ae.then(processIdleTasks)}),Math.min(Ie?G:Infinity,N?ie:Infinity,R));Ne.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{ce*=.9;ce+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,N,R)=>{"use strict";const j=R(54725);class MemoryCachePlugin{apply(E){const N=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{N.set(E,{etag:R,data:j})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{const $=N.get(E);if($===null){return null}else if($!==undefined){return $.etag===R?$.data:null}j.push(((j,$)=>{if(j===undefined){N.set(E,null)}else{N.set(E,{etag:R,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},(()=>{N.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,N,R)=>{"use strict";const j=R(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const N=this._maxGenerations;const R=new Map;const $=new Map;let q=0;let G=0;const ie=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{q++;let E=0;let j;for(const[N,G]of $){if(G.until>q)break;$.delete(N);if(R.get(N)===undefined){R.delete(N);E++;j=N}}if(E>0||$.size>0){ie.log(`${R.size-$.size} active entries, ${$.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${j}`:""}`)}let ae=R.size/N|0;let ce=G>=R.size?0:G;G=ce+ae;for(const[E,j]of R){if(ce!==0){ce--;continue}if(j!==undefined){R.set(E,undefined);$.delete(E);$.set(E,{entry:j,until:q+N});if(ae--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{R.set(E,{etag:N,data:j})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{const q=R.get(E);if(q===null){return null}else if(q!==undefined){return q.etag===N?q.data:null}const G=$.get(E);if(G!==undefined){const j=G.entry;if(j===null){$.delete(E);R.set(E,j);return null}else{if(j.etag!==N)return null;$.delete(E);R.set(E,j);return j.data}}j.push(((j,$)=>{if(j===undefined){R.set(E,null)}else{R.set(E,{etag:N,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},(()=>{R.clear();$.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,N,R)=>{"use strict";const j=R(22996);const $=R(52923);const{formatSize:q}=R(9192);const G=R(43065);const ie=R(83379);const ae=R(56202);const ce=R(91671);const{createFileSerializer:le,NOT_SERIALIZABLE:_e}=R(24568);class PackContainer{constructor(E,N,R,j,$,q){this.data=E;this.version=N;this.buildSnapshot=R;this.buildDependencies=j;this.resolveResults=$;this.resolveBuildDependenciesSnapshot=q}serialize({write:E,writeLazy:N}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);N(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const Ee=1024*1024;const Te=10;const we=100;const Ie=5e4;const Ne=1*60*1e3;class PackItemInfo{constructor(E,N,R){this.identifier=E;this.etag=N;this.location=-1;this.lastAccess=Date.now();this.freshValue=R}}class Pack{constructor(E,N){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=N}_addRequest(E){this.requests.push(E);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Ne);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(E,N){const R=this.itemInfo.get(E);this._addRequest(E);if(R===undefined){return undefined}if(R.etag!==N)return null;R.lastAccess=Date.now();const j=R.location;if(j===-1){return R.freshValue}else{if(!this.content[j]){return undefined}return this.content[j].get(E)}}set(E,N,R){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const j=this.itemInfo.get(E);if(j===undefined){const j=new PackItemInfo(E,N,R);this.itemInfo.set(E,j);this._addRequest(E);this.freshContent.set(E,j)}else{const $=j.location;if($>=0){this._addRequest(E);this.freshContent.set(E,j);const N=this.content[$];N.delete(E);if(N.items.size===0){this.content[$]=undefined;this.logger.debug("Pack %d got empty and is removed",$)}}j.freshValue=R;j.lastAccess=Date.now();j.etag=N;j.location=-1}}getContentStats(){let E=0;let N=0;for(const R of this.content){if(R!==undefined){E++;const j=R.getSize();if(j>0){N+=j}}}return{count:E,size:N}}_findLocation(){let E;for(E=0;Ethis.maxAge){this.itemInfo.delete(G);E.delete(G);N.delete(G);j++;$=G}else{ie.location=R}}if(j>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",j,R,E.size,$)}}_persistFreshContent(){const E=this.freshContent.size;if(E>0){const N=Math.ceil(E/Ie);const R=Math.ceil(E/N);const j=[];let $=0;let q=false;const createNextPack=()=>{const E=this._findLocation();this.content[E]=null;const N={items:new Set,map:new Map,loc:E};j.push(N);return N};let G=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const E of this.requests){if(E===undefined){if(q){q=false}else if(G.items.size>=we){$=0;G=createNextPack()}continue}const N=this.freshContent.get(E);if(N===undefined)continue;G.items.add(E);G.map.set(E,N.freshValue);N.location=G.loc;N.freshValue=undefined;this.freshContent.delete(E);if(++$>R){$=0;G=createNextPack();q=true}}this.requests.length=0;for(const E of j){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}this.logger.log(`${E} fresh items in cache put into pack ${j.length>1?j.map((E=>`${E.loc} (${E.items.size} items)`)).join(", "):j[0].loc}`)}}_optimizeSmallContent(){const E=[];let N=0;const R=[];let j=0;for(let $=0;$Ee)continue;if(q.used.size>0){E.push($);N+=G}else{R.push($);j+=G}}let $;if(E.length>=Te||N>Ee){$=E}else if(R.length>=Te||j>Ee){$=R}else return;const q=[];for(const E of $){q.push(this.content[E]);this.content[E]=undefined}const G=new Set;const ie=new Set;const ae=[];for(const E of q){for(const N of E.items){G.add(N)}for(const N of E.used){ie.add(N)}ae.push((async N=>{await E.unpack("it should be merged with other small pack contents");for(const[R,j]of E.content){N.set(R,j)}}))}const le=this._findLocation();this._gcAndUpdateLocation(G,ie,le);if(G.size>0){this.content[le]=new PackContent(G,ie,ce((async()=>{const E=new Map;await Promise.all(ae.map((N=>N(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",q.length,G.size,le)}}_optimizeUnusedContent(){for(let E=0;E0&&j<$){this.content[E]=undefined;const R=new Set(N.used);const j=this._findLocation();this._gcAndUpdateLocation(R,R,j);if(R.size>0){this.content[j]=new PackContent(R,new Set(R),(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const j of R){E.set(j,N.content.get(j))}return new PackContentItems(E)}))}const $=new Set(N.items);const q=new Set;for(const E of R){$.delete(E)}const G=this._findLocation();this._gcAndUpdateLocation($,q,G);if($.size>0){this.content[G]=new PackContent($,q,(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const R of $){E.set(R,N.content.get(R))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,j,R.size,G,$.size);return}}}_gcOldestContent(){let E=undefined;for(const N of this.itemInfo.values()){if(E===undefined||N.lastAccessthis.maxAge){const N=E.location;if(N<0)return;const R=this.content[N];const j=new Set(R.items);const $=new Set(R.used);this._gcAndUpdateLocation(j,$,N);this.content[N]=j.size>0?new PackContent(j,$,(async()=>{await R.unpack("it contains old items that should be garbage collected");const E=new Map;for(const N of j){E.set(N,R.content.get(N))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:N}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const N of this.itemInfo.keys()){E(N)}E(null);for(const N of this.itemInfo.values()){E(N.etag)}for(const N of this.itemInfo.values()){E(N.lastAccess)}for(let R=0;RN(E,{name:`${R}`})))}else{E(undefined)}}E(null)}deserialize({read:E,logger:N}){this.logger=N;{const N=[];let R=E();while(R!==null){N.push(R);R=E()}this.itemInfo.clear();const j=N.map((E=>{const N=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,N);return N}));for(const N of j){N.etag=E()}for(const N of j){N.lastAccess=E()}}this.content.length=0;let R=E();while(R!==null){if(R===undefined){this.content.push(R)}else{const j=this.content.length;const $=E();this.content.push(new PackContent(R,new Set,$,N,`${this.content.length}`));for(const E of R){this.itemInfo.get(E).location=j}}R=E()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:N,rollback:R,logger:j,profile:$}){if($){E(false);for(const[$,q]of this.map){const G=N();try{E($);const N=process.hrtime();E(q);const R=process.hrtime(N);const G=R[0]*1e3+R[1]/1e6;if(G>1){if(G>500)j.error(`Serialization of '${$}': ${G} ms`);else if(G>50)j.warn(`Serialization of '${$}': ${G} ms`);else if(G>10)j.info(`Serialization of '${$}': ${G} ms`);else if(G>5)j.log(`Serialization of '${$}': ${G} ms`);else j.debug(`Serialization of '${$}': ${G} ms`)}}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null);return}const q=N();try{E(true);E(this.map)}catch($){R(q);E(false);for(const[$,q]of this.map){const G=N();try{E($);E(q)}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null)}}deserialize({read:E,logger:N,profile:R}){if(E()){this.map=E()}else if(R){const R=new Map;let j=E();while(j!==null){const $=process.hrtime();const q=E();const G=process.hrtime($);const ie=G[0]*1e3+G[1]/1e6;if(ie>1){if(ie>100)N.error(`Deserialization of '${j}': ${ie} ms`);else if(ie>20)N.warn(`Deserialization of '${j}': ${ie} ms`);else if(ie>5)N.info(`Deserialization of '${j}': ${ie} ms`);else if(ie>2)N.log(`Deserialization of '${j}': ${ie} ms`);else N.debug(`Deserialization of '${j}': ${ie} ms`)}R.set(j,q);j=E()}this.map=R}else{const N=new Map;let R=E();while(R!==null){N.set(R,E());R=E()}this.map=N}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,N,R,j,$){this.items=E;this.lazy=typeof R==="function"?R:undefined;this.content=typeof R==="function"?undefined:R.map;this.outdated=false;this.used=N;this.logger=j;this.lazyName=$}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`restore cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to restore cache content ${N} (${q(this.getSize())}) because of request to: ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((N=>{const j=N.map;if(R){this.logger.timeEnd(R)}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return j.get(E)}))}else{const N=j.map;if(R){this.logger.timeEnd(R)}this.content=N;this.lazy=G.unMemoizeLazy(this.lazy);return N.get(E)}}unpack(E){if(this.content)return;if(this.lazy){const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((E=>{if(R){this.logger.timeEnd(R)}this.content=E.map}))}else{if(R){this.logger.timeEnd(R)}this.content=j.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const N=E.size;if(typeof N!=="number")return-1;return N}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}writeLazy(E){if(!this.outdated&&this.lazy){E(this.lazy);return}if(!this.outdated&&this.content){const N=new Map(this.content);this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}if(this.content){const N=new Map;for(const E of this.items){N.set(E,this.content.get(E))}this.outdated=false;this.content=N;this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(R)}const j=this.lazy();this.outdated=false;if("then"in j){this.lazy=E((()=>j.then((E=>{if(R){this.logger.timeEnd(R)}const N=E.map;const j=new Map;for(const E of this.items){j.set(E,N.get(E))}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return new PackContentItems(j)}))))}else{if(R){this.logger.timeEnd(R)}const N=j.map;const $=new Map;for(const E of this.items){$.set(E,N.get(E))}this.content=$;this.lazy=E((()=>new PackContentItems($)))}}}const allowCollectingMemory=E=>{const N=E.buffer.byteLength-E.byteLength;if(N>8192&&(N>1048576||N>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:N,context:R,cacheLocation:$,version:q,logger:G,snapshot:ae,maxAge:ce,profile:_e,allowCollectingMemory:Ee,compression:Te}){this.fileSerializer=le(N,E.options.output.hashFunction);this.fileSystemInfo=new j(N,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:G.getChildLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});this.compiler=E;this.context=R;this.cacheLocation=$;this.version=q;this.logger=G;this.maxAge=ce;this.profile=_e;this.allowCollectingMemory=Ee;this.compression=Te;this._extension=Te==="brotli"?".pack.br":Te==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new ie;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:N,cacheLocation:R,version:j}=this;let $;let q;let G;let ie;let ae;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${R}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:N,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((N=>{if(N.code!=="ENOENT"){E.warn(`Restoring pack failed from ${R}${this._extension}: ${N}`);E.debug(N.stack)}else{E.debug(`No pack exists at ${R}${this._extension}: ${N}`)}return undefined})).then((N=>{E.timeEnd("restore cache container");if(!N)return undefined;if(!(N instanceof PackContainer)){E.warn(`Restored pack from ${R}${this._extension}, but contained content is unexpected.`,N);return undefined}if(N.version!==j){E.log(`Restored pack from ${R}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise(((j,q)=>{this.fileSystemInfo.checkSnapshotValid(N.buildSnapshot,((q,G)=>{if(q){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of build dependencies errored: ${q}.`);E.debug(q.stack);return j(false)}if(!G){E.log(`Restored pack from ${R}${this._extension}, but build dependencies have changed.`);return j(false)}$=N.buildSnapshot;return j(true)}))})),new Promise(((j,$)=>{this.fileSystemInfo.checkSnapshotValid(N.resolveBuildDependenciesSnapshot,(($,ce)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(ce){ie=N.resolveBuildDependenciesSnapshot;q=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(N.resolveResults,(($,q)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(q){G=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log(`Restored pack from ${R}${this._extension}, but build dependencies resolve to different locations.`);return j(false)}))}))}))]).catch((N=>{E.timeEnd("check build dependencies");throw N})).then((([R,j])=>{E.timeEnd("check build dependencies");if(R&&j){E.time("restore cache content metadata");const R=N.data();E.timeEnd("restore cache content metadata");return R}return undefined}))})).then((N=>{if(N){N.maxAge=this.maxAge;this.buildSnapshot=$;if(q)this.buildDependencies=q;if(G)this.newBuildDependencies.addAll(G);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=ie;return N}return new Pack(E,this.maxAge)})).catch((N=>{this.logger.warn(`Restoring pack from ${R}${this._extension} failed: ${N}`);this.logger.debug(N.stack);return new Pack(E,this.maxAge)}))}store(E,N,R){return this._getPack().then((j=>{j.set(E,N===null?null:N.toString(),R)}))}restore(E,N){return this._getPack().then((R=>R.get(E,N===null?null:N.toString()))).catch((N=>{if(N&&N.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${N}`);this.logger.debug(N.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const N=$.getReporter(this.compiler);return this.storePromise=E.then((E=>{E.stopCapturingRequests();if(!E.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let R;const j=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){j.add(E)}}if(j.size>0||!this.buildSnapshot){if(N)N(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(j).join(", ")})`);R=new Promise(((E,R)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,j,((j,$)=>{this.logger.timeEnd("resolve build dependencies");if(j)return R(j);this.logger.time("snapshot build dependencies");const{files:q,directories:G,missing:ie,resolveResults:ae,resolveDependencies:ce}=$;if(this.resolveResults){for(const[E,N]of ae){this.resolveResults.set(E,N)}}else{this.resolveResults=ae}if(N){N(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,ce.files,ce.directories,ce.missing,this.snapshot.resolveBuildDependencies,((j,$)=>{if(j){this.logger.timeEnd("snapshot build dependencies");return R(j)}if(!$){this.logger.timeEnd("snapshot build dependencies");return R(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,$)}else{this.resolveBuildDependenciesSnapshot=$}if(N){N(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,q,G,ie,this.snapshot.buildDependencies,((N,j)=>{this.logger.timeEnd("snapshot build dependencies");if(N)return R(N);if(!j){return R(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,j)}else{this.buildSnapshot=j}E()}))}))}))}))}else{R=Promise.resolve()}return R.then((()=>{if(N)N(.8,"serialize pack");this.logger.time(`store pack`);const R=new Set(this.buildDependencies);for(const E of j){R.add(E)}const $=new PackContainer(E,this.version,this.buildSnapshot,R,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize($,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of j){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const N=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,N.count,Math.round(N.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,N,R)=>{"use strict";const j=R(83379);const $=R(56202);class CacheEntry{constructor(E,N){this.result=E;this.snapshot=N}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}$(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,N)=>{if(E instanceof j){E.addAll(N)}else{for(const R of N){E.add(R)}}};const objectToString=(E,N)=>{let R="";for(const j in E){if(N&&j==="context")continue;const $=E[j];if(typeof $==="object"&&$!==null){R+=`|${j}=[${objectToString($,false)}|]`}else{R+=`|${j}=|${$}`}}return R};class ResolverCachePlugin{apply(E){const N=E.getCache("ResolverCachePlugin");let R;let $;let q=0;let G=0;let ie=0;let ae=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{$=E.options.snapshot.resolve;R=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(q+G>0){const N=E.getLogger("webpack.ResolverCachePlugin");N.log(`${Math.round(100*q/(q+G))}% really resolved (${q} real resolves with ${ie} cached but invalid, ${G} cached valid, ${ae} concurrent)`);q=0;G=0;ie=0;ae=0}}))}));const doRealResolve=(E,N,G,ie,ae)=>{q++;const ce={_ResolverCachePluginCacheMiss:true,...ie};const le={...G,stack:new Set,missingDependencies:new j,fileDependencies:new j,contextDependencies:new j};const propagate=E=>{if(G[E]){addAllToSet(G[E],le[E])}};const _e=Date.now();N.doResolve(N.hooks.resolve,ce,"Cache miss",le,((N,j)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(N)return ae(N);const q=le.fileDependencies;const G=le.contextDependencies;const ie=le.missingDependencies;R.createSnapshot(_e,q,G,ie,$,((N,R)=>{if(N)return ae(N);if(!R){if(j)return ae(null,j);return ae()}E.store(new CacheEntry(j,R),(E=>{if(E)return ae(E);if(j)return ae(null,j);ae()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,j){const $=new Map;j.tap("ResolverCachePlugin",((j,q,ae)=>{if(q.cache!==true)return;const ce=objectToString(ae,false);const le=q.cacheWithContext!==undefined?q.cacheWithContext:false;j.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((q,ae,_e)=>{if(q._ResolverCachePluginCacheMiss||!R){return _e()}const Ee=`${E}${ce}${objectToString(q,!le)}`;const Te=$.get(Ee);if(Te){Te.push(_e);return}const we=N.getItemCache(Ee,null);let Ie;const done=(E,N)=>{if(Ie===undefined){_e(E,N);Ie=false}else{for(const R of Ie){R(E,N)}$.delete(Ee);Ie=false}};const processCacheResult=(E,N)=>{if(E)return done(E);if(N){const{snapshot:E,result:$}=N;R.checkSnapshotValid(E,((N,R)=>{if(N||!R){ie++;return doRealResolve(we,j,ae,q,done)}G++;if(ae.missingDependencies){addAllToSet(ae.missingDependencies,E.getMissingIterable())}if(ae.fileDependencies){addAllToSet(ae.fileDependencies,E.getFileIterable())}if(ae.contextDependencies){addAllToSet(ae.contextDependencies,E.getContextIterable())}done(null,$)}))}else{doRealResolve(we,j,ae,q,done)}};we.get(processCacheResult);if(Ie===undefined){Ie=[_e];$.set(Ee,Ie)}}))}));return j}})}}E.exports=ResolverCachePlugin},77034:(E,N,R)=>{"use strict";const j=R(35891);class LazyHashedEtag{constructor(E,N="md4"){this._obj=E;this._hash=undefined;this._hashFunction=N}toString(){if(this._hash===undefined){const E=j(this._hashFunction);this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const $=new Map;const q=new WeakMap;const getter=(E,N="md4")=>{let R;if(typeof N==="string"){R=$.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);$.set(N,R);return j}}else{R=q.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);q.set(N,R);return j}}const j=R.get(E);if(j!==undefined)return j;const G=new LazyHashedEtag(E,N);R.set(E,G);return G};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,N){this.a=E;this.b=N}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const N=new WeakMap;const R=new WeakMap;const mergeEtags=(E,j)=>{if(typeof E==="string"){if(typeof j==="string"){return`${E}|${j}`}else{const N=j;j=E;E=N}}else{if(typeof j!=="string"){let R=N.get(E);if(R===undefined){N.set(E,R=new WeakMap)}const $=R.get(j);if($===undefined){const N=new MergedEtag(E,j);R.set(j,N);return N}else{return $}}}let $=R.get(E);if($===undefined){R.set(E,$=new Map)}const q=$.get(j);if(q===undefined){const N=new MergedEtag(E,j);$.set(j,N);return N}else{return q}};E.exports=mergeEtags},61634:(E,N,R)=>{"use strict";const j=R(71017);const $=R(46312);const getArguments=(E=$)=>{const N={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=N=>{const R=N.split("/");let j=E;for(let E=1;E{for(const{schema:N}of E){if(N.cli&&N.cli.helper)continue;if(N.description)return N.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const R=E[0].path;const j=pathToArgumentName(`${R}.reset`);const $=getDescription(E);N[j]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${R}' configuration. ${$}`,path:R}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,R)=>{const j=schemaToArgumentConfig(E[0].schema);if(!j)return 0;const $=pathToArgumentName(E[0].path);const q={...j,multiple:R,description:getDescription(E),path:E[0].path};if(!N[$]){N[$]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(N[$].configs.some((E=>JSON.stringify(E)===JSON.stringify(q)))){return 0}if(N[$].configs.some((E=>E.type===q.type&&E.multiple!==R))){if(R){throw new Error(`Conflicting schema for ${E[0].path} with ${q.type} type (array type must be before single item type)`)}return 0}N[$].configs.push(q);return 1};const traverse=(E,N="",R=[],j=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const $=R.filter((({schema:N})=>N===E));if($.length>=2||$.some((({path:E})=>E===N))){return 0}if(E.cli&&E.cli.exclude)return 0;const q=[{schema:E,path:N},...R];let G=0;G+=addFlag(q,!!j);if(E.type==="object"){if(E.properties){for(const R of Object.keys(E.properties)){G+=traverse(E.properties[R],N?`${N}.${R}`:R,q,j)}}return G}if(E.type==="array"){if(j){return 0}if(Array.isArray(E.items)){let R=0;for(const j of E.items){G+=traverse(j,`${N}.${R}`,q,N)}return G}G+=traverse(E.items,`${N}[]`,q,N);if(G>0){addResetFlag(q);G++}return G}const ie=E.oneOf||E.anyOf||E.allOf;if(ie){const E=ie;for(let R=0;R{if(!E)return N;if(!N)return E;if(E.includes(N))return E;return`${E} ${N}`}),undefined);R.simpleType=R.configs.reduce(((E,N)=>{let R="string";switch(N.type){case"number":R="number";break;case"reset":case"boolean":R="boolean";break;case"enum":if(N.values.every((E=>typeof E==="boolean")))R="boolean";if(N.values.every((E=>typeof E==="number")))R="number";break}if(E===undefined)return R;return E===R?E:"string"}),undefined);R.multiple=R.configs.some((E=>E.multiple))}return N};const q=new WeakMap;const getObjectAndProperty=(E,N,R=0)=>{if(!N)return{value:E};const j=N.split(".");let $=j.pop();let G=E;let ie=0;for(const E of j){const N=E.endsWith("[]");const $=N?E.slice(0,-2):E;let ae=G[$];if(N){if(ae===undefined){ae={};G[$]=[...Array.from({length:R}),ae];q.set(G[$],R+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:j.slice(0,ie).join(".")}}}else{let E=q.get(ae)||0;while(E<=R){ae.push(undefined);E++}q.set(ae,E);const N=ae.length-E+R;if(ae[N]===undefined){ae[N]={}}else if(ae[N]===null||typeof ae[N]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}ae=ae[N]}}else{if(ae===undefined){ae=G[$]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}}G=ae;ie++}let ae=G[$];if($.endsWith("[]")){const E=$.slice(0,-2);const j=G[E];if(j===undefined){G[E]=[...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R,value:undefined}}else if(!Array.isArray(j)){G[E]=[j,...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R+1,value:undefined}}else{let E=q.get(j)||0;while(E<=R){j.push(undefined);E++}q.set(j,E);const $=j.length-E+R;if(j[$]===undefined){j[$]={}}else if(j[$]===null||typeof j[$]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:N}}}return{object:j,property:$,value:j[$]}}}return{object:G,property:$,value:ae}};const setValue=(E,N,R,j)=>{const{problem:$,object:q,property:G}=getObjectAndProperty(E,N,j);if($)return $;q[G]=R;return null};const processArgumentConfig=(E,N,R,j)=>{if(j!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const $=parseValueForArgumentConfig(E,R);if($===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const q=setValue(N,E.path,$,j);if(q)return q;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,N)=>{switch(E.type){case"string":if(typeof N==="string"){return N}break;case"path":if(typeof N==="string"){return j.resolve(N)}break;case"number":if(typeof N==="number")return N;if(typeof N==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+N;if(!isNaN(E))return E}break;case"boolean":if(typeof N==="boolean")return N;if(N==="true")return true;if(N==="false")return false;break;case"RegExp":if(N instanceof RegExp)return N;if(typeof N==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(N);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(N))return N;for(const R of E.values){if(`${R}`===N)return R}break;case"reset":if(N===true)return[];break}};const processArguments=(E,N,R)=>{const j=[];for(const $ of Object.keys(R)){const q=E[$];if(!q){j.push({type:"unknown-argument",path:"",argument:$});continue}const processValue=(E,R)=>{const G=[];for(const j of q.configs){const q=processArgumentConfig(j,N,E,R);if(!q){return}G.push({...q,argument:$,value:E,index:R})}j.push(...G)};let G=R[$];if(Array.isArray(G)){for(let E=0;E{"use strict";const j=R(69328);const $=R(71017);const q=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,N)=>{if(!E){return{}}if($.isAbsolute(E)){const[,N,R]=q.exec(E)||[];return{configPath:N,env:R}}const R=j.findConfig(N);if(R&&Object.keys(R).includes(E)){return{env:E}}return{query:E}};const load=(E,N)=>{const{configPath:R,env:$,query:q}=parse(E,N);const G=q?q:R?j.loadConfig({config:R,env:$}):j.loadConfig({path:N,env:$});if(!G)return null;return j(G)};const resolve=E=>{const rawChecker=N=>E.every((E=>{const[R,j]=E.split(" ");if(!R)return false;const $=N[R];if(!$)return false;const[q,G]=j==="TP"?[Infinity,Infinity]:j.split(".");if(typeof $==="number"){return+q>=$}return $[0]===+q?+G>=$[1]:+q>$[0]}));const N=E.some((E=>/^node /.test(E)));const R=E.some((E=>/^(?!node)/.test(E)));const j=!R?false:N?null:true;const $=!N?false:R?null:true;const q=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:q,dynamicImportInWorker:q&&!N,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:j,electron:false,node:$,nwjs:false,web:j,webworker:false,document:j,fetchWasm:j,global:$,importScripts:false,importScriptsInWorker:true,nodeBuiltins:$,require:$}};E.exports={resolve:resolve,load:load}},54411:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=R(58159);const{cleverMerge:G}=R(90149);const{getTargetsProperties:ie,getTargetProperties:ae,getDefaultTarget:ce}=R(71322);const le=/[\\/]node_modules[\\/]/i;const D=(E,N,R)=>{if(E[N]===undefined){E[N]=R}};const F=(E,N,R)=>{if(E[N]===undefined){E[N]=R()}};const A=(E,N,R)=>{const j=E[N];if(j===undefined){E[N]=R()}else if(Array.isArray(j)){let $=undefined;for(let q=0;q{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>ce(E.context)));const{mode:N,name:j,target:$}=E;let q=$===false?false:typeof $==="string"?ae($,E.context):ie($,E.context);const le=N==="development";const _e=N==="production"||!N;if(typeof E.entry!=="function"){for(const N of Object.keys(E.entry)){F(E.entry[N],"import",(()=>["./src"]))}}F(E,"devtool",(()=>le?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);applyExperimentsDefaults(E.experiments,{production:_e,development:le});const Ee=E.experiments.futureDefaults;F(E,"cache",(()=>le?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:j||"default",mode:N||"production",development:le,cacheUnaffected:E.experiments.cacheUnaffected});const Te=!!E.cache;applySnapshotDefaults(E.snapshot,{production:_e,futureDefaults:Ee});applyModuleDefaults(E.module,{cache:Te,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:q,isAffectedByBrowserslist:$===undefined||typeof $==="string"&&$.startsWith("browserslist")||Array.isArray($)&&$.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:le,entry:E.entry,module:E.module,futureDefaults:Ee});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:q,buildHttp:!!E.experiments.buildHttp});applyLoaderDefaults(E.loader,{targetProperties:q});F(E,"externalsType",(()=>{const N=R(46312).definitions.ExternalsType["enum"];return E.output.library&&N.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{futureDefaults:E.experiments.futureDefaults,targetProperties:q});F(E,"performance",(()=>_e&&q&&(q.browser||q.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:_e});applyOptimizationDefaults(E.optimization,{development:le,production:_e,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=G(getResolveDefaults({cache:Te,context:E.context,targetProperties:q,mode:E.mode}),E.resolve);E.resolveLoader=G(getResolveLoaderDefaults({cache:Te}),E.resolveLoader)};const applyExperimentsDefaults=(E,{production:N,development:R})=>{D(E,"futureDefaults",false);D(E,"backCompat",!E.futureDefaults);D(E,"topLevelAwait",E.futureDefaults);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",E.futureDefaults);D(E,"outputModule",false);D(E,"layers",false);D(E,"lazyCompilation",undefined);D(E,"buildHttp",undefined);D(E,"cacheUnaffected",E.futureDefaults);if(typeof E.buildHttp==="object"){D(E.buildHttp,"frozen",N);D(E.buildHttp,"upgrade",false)}};const applyCacheDefaults=(E,{name:N,mode:R,development:q,cacheUnaffected:G})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>N+"-"+R));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let N=E;for(;;){try{if(j.statSync($.join(N,"package.json")).isFile())break}catch(E){}const E=$.dirname(N);if(N===E){N=undefined;break}N=E}if(!N){return $.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return $.resolve(N,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return $.resolve(N,".yarn/.cache/webpack")}else{return $.resolve(N,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>$.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",false);D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",q?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",q);D(E,"memoryCacheUnaffected",q&&G);D(E.buildDependencies,"defaultWebpack",[$.resolve(__dirname,"..")+$.sep]);break;case"memory":D(E,"maxGenerations",Infinity);D(E,"cacheUnaffected",q&&G);break}};const applySnapshotDefaults=(E,{production:N,futureDefaults:R})=>{if(R){F(E,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(E,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[$.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}))}F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>N?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>N?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:N,syncWebAssembly:R,asyncWebAssembly:j})=>{if(N){D(E,"unsafeCache",(E=>{const N=E.nameForCondition();return N&&le.test(N)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const N={type:"javascript/dynamic"};const $=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...N},{test:/\.js$/i,descriptionData:{type:"commonjs"},...N},{mimetype:{or:["text/javascript","application/javascript"]},...E}];if(j){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}else if(R){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}$.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:"json"});return $}))};const applyOutputDefaults=(E,{context:N,targetProperties:R,isAffectedByBrowserslist:G,outputModule:ie,development:ae,entry:ce,module:le,futureDefaults:_e})=>{const getLibraryName=E=>{const N=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(N)){return N.join(".")}else if(typeof N==="object"){return getLibraryName(N.root)}else if(typeof N==="string"){return N}return""};F(E,"uniqueName",(()=>{const R=getLibraryName(E.library);if(R)return R;const q=$.resolve(N,"package.json");try{const E=JSON.parse(j.readFileSync(q,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${q}`;throw E}return""}}));F(E,"module",(()=>!!ie));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const N=E.filename;if(typeof N!=="function"){const E=N.includes("[name]");const R=N.includes("[id]");const j=N.includes("[chunkhash]");const $=N.includes("[contenthash]");if(j||$||E||R)return N;return N.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>q.toIdentifier("webpackHotUpdate"+q.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>q.toIdentifier("webpackChunk"+q.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(R){if(R.global)return"global";if(R.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(R){const N=G?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(R.dynamicImport)return"module";if(R.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+N)}else{if(R.document)return"array-push";if(R.require)return"commonjs";if(R.nodeBuiltins)return"commonjs";if(R.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+N)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.document)return"jsonp";if(R.importScripts)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImport)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.document===null||R.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImportInWorker)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(R){if(R.fetchWasm)return"fetch";if(R.nodeBuiltins)return E.module?"async-node-module":"async-node";if(R.nodeBuiltins===null||R.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>$.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>ae));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",R&&(R.document||R.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction",_e?"xxhash64":"md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>R&&optimistic(R.arrowFunction)));F(E.environment,"const",(()=>R&&optimistic(R.const)));F(E.environment,"destructuring",(()=>R&&optimistic(R.destructuring)));F(E.environment,"forOf",(()=>R&&optimistic(R.forOf)));F(E.environment,"bigIntLiteral",(()=>R&&R.bigIntLiteral));F(E.environment,"dynamicImport",(()=>R&&R.dynamicImport));F(E.environment,"module",(()=>R&&R.module));const{trustedTypes:Ee}=E;if(Ee){F(Ee,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const N of Object.keys(ce)){E(ce[N])}};A(E,"enabledLibraryTypes",(()=>{const N=[];if(E.library){N.push(E.library.type)}forEachEntry((E=>{if(E.library){N.push(E.library.type)}}));return N}));A(E,"enabledChunkLoadingTypes",(()=>{const N=new Set;if(E.chunkLoading){N.add(E.chunkLoading)}if(E.workerChunkLoading){N.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){N.add(E.chunkLoading)}}));return Array.from(N)}));A(E,"enabledWasmLoadingTypes",(()=>{const N=new Set;if(E.wasmLoading){N.add(E.wasmLoading)}if(E.workerWasmLoading){N.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){N.add(E.wasmLoading)}}));return Array.from(N)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:N,buildHttp:R})=>{D(E,"web",!R&&N&&N.web);D(E,"node",N&&N.node);D(E,"nwjs",N&&N.nwjs);D(E,"electron",N&&N.electron);D(E,"electronMain",N&&N.electron&&N.electronMain);D(E,"electronPreload",N&&N.electron&&N.electronPreload);D(E,"electronRenderer",N&&N.electron&&N.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:N})=>{F(E,"target",(()=>{if(N){if(N.electron){if(N.electronMain)return"electron-main";if(N.electronPreload)return"electron-preload";if(N.electronRenderer)return"electron-renderer";return"electron"}if(N.nwjs)return"nwjs";if(N.node)return"node";if(N.web)return"web"}}))};const applyNodeDefaults=(E,{futureDefaults:N,targetProperties:R})=>{if(E===false)return;F(E,"global",(()=>{if(R&&R.global)return false;return N?"warn":true}));F(E,"__filename",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}));F(E,"__dirname",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}))};const applyPerformanceDefaults=(E,{production:N})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>N?"warning":false))};const applyOptimizationDefaults=(E,{production:N,development:j,records:$})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",N);F(E,"moduleIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"sideEffects",(()=>N?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",N);D(E,"innerGraph",N);D(E,"mangleExports",N);D(E,"concatenateModules",N);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!N);D(E,"checkWasmTypes",N);D(E,"mangleWasmImports",false);D(E,"portableRecords",$);D(E,"realContentHash",N);D(E,"minimize",N);A(E,"minimizer",(()=>[{apply:E=>{const N=R(96013);new N({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(N)return"production";if(j)return"development";return false}));const{splitChunks:q}=E;if(q){A(q,"defaultSizeTypes",(()=>["javascript","unknown"]));D(q,"hidePathInfo",N);D(q,"chunks","async");D(q,"usedExports",E.usedExports===true);D(q,"minChunks",1);F(q,"minSize",(()=>N?2e4:1e4));F(q,"minRemainingSize",(()=>j?0:undefined));F(q,"enforceSizeThreshold",(()=>N?5e4:3e4));F(q,"maxAsyncRequests",(()=>N?30:Infinity));F(q,"maxInitialRequests",(()=>N?30:Infinity));D(q,"automaticNameDelimiter","-");const{cacheGroups:R}=q;F(R,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(R,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:le,priority:-10})))}};const getResolveDefaults=({cache:E,context:N,targetProperties:R,mode:j})=>{const $=["webpack"];$.push(j==="development"?"development":"production");if(R){if(R.webworker)$.push("worker");if(R.node)$.push("node");if(R.web)$.push("browser");if(R.electron)$.push("electron");if(R.nwjs)$.push("nwjs")}const q=[".js",".json",".wasm"];const G=R;const ie=G&&G.web&&(!G.node||G.electron&&G.electronRenderer);const cjsDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...q]});const esmDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...q]});const ae={cache:E,modules:["node_modules"],conditionNames:$,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[N],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:E})=>{const N={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return N};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const N=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",N);D(E,"appendOnly",!N)};N.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;N.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate(((E,N)=>{if(N!==undefined&&!E===!N){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,N)=>E===undefined?N({}):N(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,N)=>E===undefined?undefined:N(E);const nestedArray=(E,N)=>Array.isArray(E)?N(E):N([]);const optionalNestedArray=(E,N)=>Array.isArray(E)?N(E):undefined;const keyedNestedConfig=(E,N,R)=>{const j=E===undefined?{}:Object.keys(E).reduce(((j,$)=>(j[$]=(R&&$ in R?R[$]:N)(E[$]),j)),{});if(R){for(const E of Object.keys(R)){if(!(E in j)){j[E]=R[E]({})}}}return j};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:nestedConfig(E.experiments,(E=>({...E,buildHttp:optionalNestedConfig(E.buildHttp,(E=>Array.isArray(E)?{allowedUris:E}:E)),lazyCompilation:optionalNestedConfig(E.lazyCompilation,(E=>E===true?{}:E===false?undefined:E))}))),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const N=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:R})=>{if(!N.message&&!N.module&&!N.file)return false;if(N.message&&!N.message.test(E.message)){return false}if(N.module&&(!E.module||!N.module.test(E.module.readableIdentifier(R)))){return false}if(N.file&&(!E.file||!N.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:N=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...N})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?$(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:N}=E;const R=N;const j=typeof N==="object"&&N&&!Array.isArray(N)&&"type"in N?N:R||E.libraryTarget?{name:R}:undefined;const $={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:j&&{type:E.libraryTarget!==undefined?E.libraryTarget:j.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:j.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:j.export,name:j.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:j.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return $})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const N={};for(const R of Object.keys(E)){const j=E[R];if(typeof j==="string"){N[R]={import:[j]}}else if(Array.isArray(j)){N[R]={import:j}}else{N[R]={import:j.import&&(Array.isArray(j.import)?j.import:[j.import]),filename:j.filename,layer:j.layer,runtime:j.runtime,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,dependOn:j.dependOn&&(Array.isArray(j.dependOn)?j.dependOn:[j.dependOn]),library:j.library}}}return N};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:N}=E;return{name:typeof N==="function"?N:()=>N}};N.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(27509)));const getDefaultTarget=E=>{const N=$().load(null,E);return N?"browserslist":"web"};const versionDependent=(E,N)=>{if(!E)return()=>undefined;E=+E;N=N?+N:0;return(R,j=0)=>E>R||E===R&&N>=j};const q=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,N)=>{const R=$();const j=R.load(E?E.trim():null,N);if(!j){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return R.resolve(j)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,N,R)=>{const j=versionDependent(N,R);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:j(12),const:j(6),arrowFunction:j(6),forOf:j(5),destructuring:j(6),bigIntLiteral:j(10,4),dynamicImport:j(12,17),dynamicImportInWorker:N?false:undefined,module:j(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,N,R)=>{const j=versionDependent(E,N);return{node:true,electron:true,web:R!=="main",webworker:false,browser:false,nwjs:false,electronMain:R==="main",electronPreload:R==="preload",electronRenderer:R==="renderer",global:true,nodeBuiltins:true,require:true,document:R==="renderer",fetchWasm:R==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:j(5),const:j(1,1),arrowFunction:j(1,1),forOf:j(0,36),destructuring:j(1,1),bigIntLiteral:j(4),dynamicImport:j(11),dynamicImportInWorker:E?false:undefined,module:j(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,N)=>{const R=versionDependent(E,N);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:R(0,43),const:R(0,15),arrowFunction:R(0,15),forOf:R(0,13),destructuring:R(0,15),bigIntLiteral:R(0,32),dynamicImport:R(0,43),dynamicImportInWorker:E?false:undefined,module:R(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let N=+E;if(N<1e3)N=N+2009;return{const:N>=2015,arrowFunction:N>=2015,forOf:N>=2015,destructuring:N>=2015,module:N>=2015,globalThis:N>=2020,bigIntLiteral:N>=2020,dynamicImport:N>=2020,dynamicImportInWorker:N>=2020}}]];const getTargetProperties=(E,N)=>{for(const[,,R,j]of q){const $=R.exec(E);if($){const[,...E]=$;const R=j(...E,N);if(R)return R}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${q.map((([E,N])=>`* ${E}: ${N}`)).join("\n")}`)};const mergeTargetProperties=E=>{const N=new Set;for(const R of E){for(const E of Object.keys(R)){N.add(E)}}const R={};for(const j of N){let N=false;let $=false;for(const R of E){const E=R[j];switch(E){case true:N=true;break;case false:$=true;break}}if(N||$)R[j]=$&&N?null:N?true:false}return R};const getTargetsProperties=(E,N)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,N))));N.getDefaultTarget=getDefaultTarget;N.getTargetProperties=getTargetProperties;N.getTargetsProperties=getTargetsProperties},76041:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ContainerEntryDependency extends j{constructor(E,N,R){super();this.name=E;this.exposes=N;this.shareScope=R}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}$(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(98221);const G=R(53453);const ie=R(76150);const ae=R(58159);const ce=R(56202);const le=R(4523);const _e=new Set(["javascript"]);class ContainerEntryModule extends G{constructor(E,N,R){super("javascript/dynamic",null);this._name=E;this._exposes=N;this._shareScope=R}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,N]of this._exposes){const R=new q({name:N.name},{name:E},N.import[N.import.length-1]);let j=0;for(const $ of N.import){const N=new le(E,$);N.loc={name:E,index:j++};R.addDependency(N)}this.addBlock(R)}$()}codeGeneration({moduleGraph:E,chunkGraph:N,runtimeTemplate:R}){const q=new Map;const G=new Set([ie.definePropertyGetters,ie.hasOwnProperty,ie.exports]);const ce=[];for(const j of this.blocks){const{dependencies:$}=j;const q=$.map((N=>{const R=N;return{name:R.exposedName,module:E.getModule(R),request:R.userRequest}}));let ie;if(q.some((E=>!E.module))){ie=R.throwMissingModuleErrorBlock({request:q.map((E=>E.request)).join(", ")})}else{ie=`return ${R.blockPromise({block:j,message:"",chunkGraph:N,runtimeRequirements:G})}.then(${R.returningFunction(R.returningFunction(`(${q.map((({module:E,request:j})=>R.moduleRaw({module:E,chunkGraph:N,request:j,weak:false,runtimeRequirements:G}))).join(", ")})`))});`}ce.push(`${JSON.stringify(q[0].name)}: ${R.basicFunction("",ie)}`)}const le=ae.asString([`var moduleMap = {`,ae.indent(ce.join(",\n")),"};",`var get = ${R.basicFunction("module, getScope",[`${ie.currentRemoteGetScope} = getScope;`,"getScope = (",ae.indent([`${ie.hasOwnProperty}(moduleMap, module)`,ae.indent(["? moduleMap[module]()",`: Promise.resolve().then(${R.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ie.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${R.basicFunction("shareScope, initScope",[`if (!${ie.shareScopeMap}) return;`,`var oldScope = ${ie.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ie.shareScopeMap}[name] = shareScope;`,`return ${ie.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ie.definePropertyGetters}(exports, {`,ae.indent([`get: ${R.returningFunction("get")},`,`init: ${R.returningFunction("init")}`]),"});"]);q.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new j(le,"webpack/container-entry"):new $(le));return{sources:q,runtimeRequirements:G}}size(E){return 42}serialize(E){const{write:N}=E;N(this._name);N(this._exposes);N(this._shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ContainerEntryModule(N(),N(),N());R.deserialize(E);return R}}ce(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,N,R)=>{"use strict";const j=R(40674);const $=R(89591);E.exports=class ContainerEntryModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.name,R.exposes,R.shareScope)})}}},4523:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ContainerExposedDependency extends j{constructor(E,N){super(N);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}$(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,N,R)=>{"use strict";const j=R(35817);const $=R(76041);const q=R(76912);const G=R(4523);const{parseOptions:ie}=R(97264);const ae=j(R(28633),(()=>R(93944)),{name:"Container Plugin",baseDataPath:"options"});const ce="ContainerPlugin";class ContainerPlugin{constructor(E){ae(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ie(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:N,exposes:R,shareScope:j,filename:ie,library:ae,runtime:le}=this._options;E.options.output.enabledLibraryTypes.push(ae.type);E.hooks.make.tapAsync(ce,((E,q)=>{const G=new $(N,R,j);G.loc={name:N};E.addEntry(E.options.context,G,{name:N,filename:ie,runtime:le,library:ae},(E=>{if(E)return q(E);q()}))}));E.hooks.thisCompilation.tap(ce,((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new q);E.dependencyFactories.set(G,N)}))}}E.exports=ContainerPlugin},68839:(E,N,R)=>{"use strict";const j=R(61050);const $=R(76150);const q=R(35817);const G=R(27426);const ie=R(55525);const ae=R(68005);const ce=R(68679);const le=R(31122);const _e=R(44742);const{parseOptions:Ee}=R(97264);const Te=q(R(12e3),(()=>R(38279)),{name:"Container Reference Plugin",baseDataPath:"options"});const we="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Te(E);this._remoteType=E.remoteType;this._remotes=Ee(E.remotes,(N=>({external:Array.isArray(N)?N:[N],shareScope:E.shareScope||"default"})),(N=>({external:Array.isArray(N.external)?N.external:[N.external],shareScope:N.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:N,_remoteType:R}=this;const q={};for(const[E,R]of N){let N=0;for(const j of R.external){if(j.startsWith("internal "))continue;q[`webpack/container/reference/${E}${N?`/fallback-${N}`:""}`]=j;N++}}new j(R,q).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(_e,R);E.dependencyFactories.set(ie,R);E.dependencyFactories.set(G,new ae);R.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[R,j]of N){if(E.request.startsWith(`${R}`)&&(E.request.length===R.length||E.request.charCodeAt(R.length)===we)){return new ce(E.request,j.external.map(((E,N)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${R}${N?`/fallback-${N}`:""}`)),`.${E.request.slice(R.length)}`,j.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ContainerReferencePlugin",((N,R)=>{R.add($.module);R.add($.moduleFactoriesAddOnly);R.add($.hasOwnProperty);R.add($.initializeSharing);R.add($.shareScopeMap);E.addRuntimeModule(N,new le)}))}))}}E.exports=ContainerReferencePlugin},27426:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class FallbackDependency extends j{constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackDependency(N());R.deserialize(E);return R}}$(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class FallbackItemDependency extends j{constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}$(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(58159);const ie=R(56202);const ae=R(55525);const ce=new Set(["javascript"]);const le=new Set([q.module]);class FallbackModule extends ${constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new ae(E));$()}size(E){return this.requests.length*5+42}getSourceTypes(){return ce}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=this.dependencies.map((E=>R.getModuleId(N.getModule(E))));const q=G.asString([`var ids = ${JSON.stringify($)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",G.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ie=new Map;ie.set("javascript",new j(q));return{sources:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackModule(N());R.deserialize(E);return R}}ie(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,N,R)=>{"use strict";const j=R(40674);const $=R(13386);E.exports=class FallbackModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.requests)})}}},8019:(E,N,R)=>{"use strict";const j=R(92483);const $=R(16471);const q=R(35817);const G=R(10419);const ie=R(68839);const ae=q(R(43329),(()=>R(85195)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){ae(E);this._options=E}apply(E){const{_options:N}=this;const R=N.library||{type:"var",name:N.name};const q=N.remoteType||(N.library&&j(N.library.type)?N.library.type:"script");if(R&&!E.options.output.enabledLibraryTypes.includes(R.type)){E.options.output.enabledLibraryTypes.push(R.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(N.exposes&&(Array.isArray(N.exposes)?N.exposes.length>0:Object.keys(N.exposes).length>0)){new G({name:N.name,library:R,filename:N.filename,runtime:N.runtime,exposes:N.exposes}).apply(E)}if(N.remotes&&(Array.isArray(N.remotes)?N.remotes.length>0:Object.keys(N.remotes).length>0)){new ie({remoteType:q,remotes:N.remotes}).apply(E)}if(N.shared){new $({shared:N.shared,shareScope:N.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(27426);const ae=R(44742);const ce=new Set(["remote","share-init"]);const le=new Set([q.module]);class RemoteModule extends ${constructor(E,N,R,j){super("remote-module");this.request=E;this.externalRequests=N;this.internalRequest=R;this.shareScope=j;this._identifier=`remote (${j}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new ae(this.externalRequests[0]))}else{this.addDependency(new ie(this.externalRequests))}$()}size(E){return 6}getSourceTypes(){return ce}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=N.getModule(this.dependencies[0]);const q=$&&R.getModuleId($);const G=new Map;G.set("remote",new j(""));const ie=new Map;ie.set("share-init",[{shareScope:this.shareScope,initStage:20,init:q===undefined?"":`initExternal(${JSON.stringify(q)});`}]);return{sources:G,data:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.request);N(this.externalRequests);N(this.internalRequest);N(this.shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new RemoteModule(N(),N(),N(),N());R.deserialize(E);return R}}G(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class RemoteRuntimeModule extends ${constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,moduleGraph:$}=E;const G={};const ie={};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"remote");if(!R)continue;const j=G[E.id]=[];for(const E of R){const R=E;const q=R.internalRequest;const G=N.getModuleId(R);const ae=R.shareScope;const ce=R.dependencies[0];const le=$.getModule(ce);const _e=le&&N.getModuleId(le);j.push(G);ie[G]=[ae,q,_e]}}return q.asString([`var chunkMapping = ${JSON.stringify(G,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ie,null,"\t")};`,`${j.ensureChunkHandlers}.remotes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`var getScope = ${j.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${R.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',q.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${R.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${R.basicFunction("fn, arg1, arg2, d, next, first",["try {",q.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",q.indent([`var p = promise.then(${R.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",q.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",q.indent(["onError(error);"]),"}"])}`,`var onExternal = ${R.returningFunction(`external ? handleFunction(${j.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${R.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${R.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${R.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class RemoteToExternalDependency extends j{constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}$(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,N)=>{"use strict";const process=(E,N,R,j)=>{const array=E=>{for(const R of E){if(typeof R==="string"){j(R,N(R,R))}else if(R&&typeof R==="object"){object(R)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[$,q]of Object.entries(E)){if(typeof q==="string"||Array.isArray(q)){j($,N(q,$))}else{j($,R(q,$))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,N,R)=>{const j=[];process(E,N,R,((E,N)=>{j.push([E,N])}));return j};const scope=(E,N)=>{const R={};process(N,(E=>E),(E=>E),((N,j)=>{R[N.startsWith("./")?`${E}${N.slice(1)}`:`${E}/${N}`]=j}));return R};N.parseOptions=parseOptions;N.scope=scope},26802:(E,N,R)=>{"use strict";const{Tracer:j}=R(25954);const $=R(35817);const{dirname:q,mkdirpSync:G}=R(95396);const ie=$(R(2282),(()=>R(78555)),{name:"Profiling Plugin",baseDataPath:"options"});let ae=undefined;try{ae=R(31405)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new ae.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,N){if(this.hasSession()){return new Promise(((R,j)=>this.session.post(E,N,((E,N)=>{if(E!==null){j(E)}else{R(N)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const N=process.hrtime();const R=N[0]*1e6+Math.round(N[1]/1e3);if(E.startTimeR){const N=E.endTime-E.startTime;const j=R-this._startTime;const $=Math.max(0,j-N);E.startTime=this._startTime+$/2;E.endTime=R-$/2}return{profile:E}}))}}const createTrace=(E,N)=>{const R=new j({noStream:true});const $=new Profiler(ae);if(/\/|\\/.test(N)){const R=q(E,N);G(E,R)}const ie=E.createWriteStream(N);let ce=0;R.pipe(ie);R.instantEvent({name:"TracingStartedInPage",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});R.instantEvent({name:"TracingStartedInBrowser",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:R,counter:ce,profiler:$,end:E=>{ie.on("close",(()=>{E()}));R.push(null)}}};const ce="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ie(E);this.outputPath=E.outputPath||"events.json"}apply(E){const N=createTrace(E.intermediateFileSystem,this.outputPath);N.profiler.startProfiling();Object.keys(E.hooks).forEach((R=>{E.hooks[R].intercept(makeInterceptorFor("Compiler",N)(R))}));Object.keys(E.resolverFactory.hooks).forEach((R=>{E.resolverFactory.hooks[R].intercept(makeInterceptorFor("Resolver",N)(R))}));E.hooks.compilation.tap(ce,((E,{normalModuleFactory:R,contextModuleFactory:j})=>{interceptAllHooksFor(E,N,"Compilation");interceptAllHooksFor(R,N,"Normal Module Factory");interceptAllHooksFor(j,N,"Context Module Factory");interceptAllParserHooks(R,N);interceptAllJavascriptModulesPluginHooks(E,N)}));E.hooks.done.tapAsync({name:ce,stage:Infinity},((E,R)=>{N.profiler.stopProfiling().then((E=>{if(E===undefined){N.profiler.destroy();N.trace.flush();N.end(R);return}const j=E.profile.startTime;const $=E.profile.endTime;N.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++N.counter,cat:["toplevel"],ts:j,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});N.trace.completeEvent({name:"EvaluateScript",id:++N.counter,cat:["devtools.timeline"],ts:j,dur:$-j,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});N.trace.instantEvent({name:"CpuProfile",id:++N.counter,cat:["disabled-by-default-devtools.timeline"],ts:$,args:{data:{cpuProfile:E.profile}}});N.profiler.destroy();N.trace.flush();N.end(R)}))}))}}const interceptAllHooksFor=(E,N,R)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach((j=>{const $=E.hooks[j];if(!$._fakeHook){$.intercept(makeInterceptorFor(R,N)(j))}}))}};const interceptAllParserHooks=(E,N)=>{const R=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];R.forEach((R=>{E.hooks.parser.for(R).tap("ProfilingPlugin",((E,R)=>{interceptAllHooksFor(E,N,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,N)=>{interceptAllHooksFor({hooks:R(18161).getCompilationHooks(E)},N,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,N)=>E=>({register:({name:R,type:j,context:$,fn:q})=>{const G=makeNewProfiledTapFn(E,N,{name:R,type:j,fn:q});return{name:R,type:j,context:$,fn:G}}});const makeNewProfiledTapFn=(E,N,{name:R,type:j,fn:$})=>{const q=["blink.user_timing"];switch(j){case"promise":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=$(...E);return G.then((E=>{N.trace.end({name:R,id:j,cat:q});return E}))};case"async":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=E.pop();$(...E,((...E)=>{N.trace.end({name:R,id:j,cat:q});G(...E)}))};case"sync":return(...E)=>{const j=++N.counter;if(R===ce){return $(...E)}N.trace.begin({name:R,id:j,cat:q});let G;try{G=$(...E)}catch(E){N.trace.end({name:R,id:j,cat:q});throw E}N.trace.end({name:R,id:j,cat:q});return G};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);const G={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},o:{definition:"",content:"!(module.exports = #)",requests:[j.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[j.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[j.require,j.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[j.require,j.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends q{constructor(E,N,R,j,$){super();this.range=E;this.arrayRange=N;this.functionRange=R;this.objectRange=j;this.namedModule=$;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:N}=E;N(this.range);N(this.arrayRange);N(this.functionRange);N(this.objectRange);N(this.namedModule);N(this.localModule);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.arrayRange=N();this.functionRange=N();this.objectRange=N();this.namedModule=N();this.localModule=N();super.deserialize(E)}}$(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const j=E;const $=this.branch(j);const{definition:q,content:ie,requests:ae}=G[$];for(const E of ae){R.add(E)}this.replace(j,N,q,ie)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const N=this.localModuleVar(E)?"l":"";const R=E.arrayRange?"a":"";const j=E.objectRange?"o":"";const $=E.functionRange?"f":"";return N+R+j+$}replace(E,N,R,j){const $=this.localModuleVar(E);if($){j=j.replace(/XXX/g,$.replace(/\$/g,"$$$$"));R=R.replace(/XXX/g,$.replace(/\$/g,"$$$$"))}if(E.namedModule){j=j.replace(/YYY/g,JSON.stringify(E.namedModule))}const q=j.split("#");if(R)N.insert(0,R);let G=E.range[0];if(E.arrayRange){N.replace(G,E.arrayRange[0]-1,q.shift());G=E.arrayRange[1]}if(E.objectRange){N.replace(G,E.objectRange[0]-1,q.shift());G=E.objectRange[1]}else if(E.functionRange){N.replace(G,E.functionRange[0]-1,q.shift());G=E.functionRange[1]}N.replace(G,E.range[1]-1,q.shift());if(q.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,N,R)=>{"use strict";const j=R(76150);const $=R(46960);const q=R(95715);const G=R(38145);const ie=R(29022);const ae=R(66298);const ce=R(95601);const le=R(28140);const _e=R(14229);const{addLocalModule:Ee,getLocalModule:Te}=R(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,N,R,j,$){if(R.isArray()){R.items.forEach(((R,q)=>{if(R.isString()&&["require","module","exports"].includes(R.string))j[q]=R.string;const G=this.processItem(E,N,R,$);if(G===undefined){this.processContext(E,N,R)}}));return true}else if(R.isConstArray()){const $=[];R.array.forEach(((R,q)=>{let G;let ie;if(R==="require"){j[q]=R;G="__webpack_require__"}else if(["exports","module"].includes(R)){j[q]=R;G=R}else if(ie=Te(E.state,R)){ie.flagUsed();G=new _e(ie,undefined,false);G.loc=N.loc;E.state.module.addPresentationalDependency(G)}else{G=this.newRequireItemDependency(R);G.loc=N.loc;G.optional=!!E.scope.inTry;E.state.current.addDependency(G)}$.push(G)}));const q=this.newRequireArrayDependency($,R.range);q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(q);return true}}processItem(E,N,R,$){if(R.isConditional()){R.options.forEach((R=>{const j=this.processItem(E,N,R);if(j===undefined){this.processContext(E,N,R)}}));return true}else if(R.isString()){let q,G;if(R.string==="require"){q=new ae("__webpack_require__",R.range,[j.require])}else if(R.string==="exports"){q=new ae("exports",R.range,[j.exports])}else if(R.string==="module"){q=new ae("module",R.range,[j.module])}else if(G=Te(E.state,R.string,$)){G.flagUsed();q=new _e(G,R.range,false)}else{q=this.newRequireItemDependency(R.string,R.range);q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true}q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}}processContext(E,N,R){const j=ce.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processCallDefine(E,N){let R,j,$,q;switch(N.arguments.length){case 1:if(isCallable(N.arguments[0])){j=N.arguments[0]}else if(N.arguments[0].type==="ObjectExpression"){$=N.arguments[0]}else{$=j=N.arguments[0]}break;case 2:if(N.arguments[0].type==="Literal"){q=N.arguments[0].value;if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}else{R=N.arguments[0];if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}break;case 3:q=N.arguments[0].value;R=N.arguments[1];if(isCallable(N.arguments[2])){j=N.arguments[2]}else if(N.arguments[2].type==="ObjectExpression"){$=N.arguments[2]}else{$=j=N.arguments[2]}break;default:return}le.bailout(E.state);let G=null;let ie=0;if(j){if(isUnboundFunctionExpression(j)){G=j.params}else if(isBoundFunctionExpression(j)){G=j.callee.object.params;ie=j.arguments.length-1;if(ie<0){ie=0}}}let ae=new Map;if(R){const j={};const $=E.evaluateExpression(R);const ce=this.processArray(E,N,$,j,q);if(!ce)return;if(G){G=G.slice(ie).filter(((N,R)=>{if(j[R]){ae.set(N.name,E.getVariableInfo(j[R]));return false}return true}))}}else{const N=["require","exports","module"];if(G){G=G.slice(ie).filter(((R,j)=>{if(N[j]){ae.set(R.name,E.getVariableInfo(N[j]));return false}return true}))}}let ce;if(j&&isUnboundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(G,(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.body.type==="BlockStatement"){E.detectMode(j.body.body);const N=E.prevStatement;E.preWalkStatement(j.body);E.prevStatement=N;E.walkStatement(j.body)}else{E.walkExpression(j.body)}}))}else if(j&&isBoundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(j.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.callee.object.body.type==="BlockStatement"){E.detectMode(j.callee.object.body.body);const N=E.prevStatement;E.preWalkStatement(j.callee.object.body);E.prevStatement=N;E.walkStatement(j.callee.object.body)}else{E.walkExpression(j.callee.object.body)}}));if(j.arguments){E.walkExpressions(j.arguments)}}else if(j||$){E.walkExpression(j||$)}const _e=this.newDefineDependency(N.range,R?R.range:null,j?j.range:null,$?$.range:null,q?q:null);_e.loc=N.loc;if(q){_e.localModule=Ee(E.state,q)}E.state.module.addPresentationalDependency(_e);return true}newDefineDependency(E,N,R,j,q){return new $(E,N,R,j,q)}newRequireArrayDependency(E,N){return new q(E,N)}newRequireItemDependency(E,N){return new ie(E,N)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,N,R)=>{"use strict";const j=R(76150);const{approve:$,evaluateToIdentifier:q,evaluateToString:G,toConstantDependency:ie}=R(48472);const ae=R(46960);const ce=R(98915);const le=R(95715);const _e=R(38145);const Ee=R(19041);const Te=R(45167);const we=R(29022);const{AMDDefineRuntimeModule:Ie,AMDOptionsRuntimeModule:Ne}=R(29035);const Me=R(66298);const Le=R(14229);const Be=R(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const N=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:R,normalModuleFactory:je})=>{E.dependencyTemplates.set(Te,new Te.Template);E.dependencyFactories.set(we,je);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,R);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(Be,new Be.Template);E.dependencyTemplates.set(Le,new Le.Template);E.hooks.runtimeRequirementInModule.for(j.amdDefine).tap("AMDPlugin",((E,N)=>{N.add(j.require)}));E.hooks.runtimeRequirementInModule.for(j.amdOptions).tap("AMDPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.amdDefine).tap("AMDPlugin",((N,R)=>{E.addRuntimeModule(N,new Ie)}));E.hooks.runtimeRequirementInTree.for(j.amdOptions).tap("AMDPlugin",((R,j)=>{E.addRuntimeModule(R,new Ne(N))}));const handler=(E,N)=>{if(N.amd!==undefined&&!N.amd)return;const tapOptionsHooks=(N,R,$)=>{E.hooks.expression.for(N).tap("AMDPlugin",ie(E,j.amdOptions,[j.amdOptions]));E.hooks.evaluateIdentifier.for(N).tap("AMDPlugin",q(N,R,$,true));E.hooks.evaluateTypeof.for(N).tap("AMDPlugin",G("object"));E.hooks.typeof.for(N).tap("AMDPlugin",ie(E,JSON.stringify("object")))};new Ee(N).apply(E);new ce(N).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",G("function"));E.hooks.canRename.for("define").tap("AMDPlugin",$);E.hooks.rename.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",G("function"))};je.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);je.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,N,R)=>{"use strict";const j=R(84304);const $=R(56202);const q=R(12197);class AMDRequireArrayDependency extends q{constructor(E,N){super();this.depsArray=E;this.range=N}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.depsArray);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.depsArray=N();this.range=N();super.deserialize(E)}}$(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends j{apply(E,N,R){const j=E;const $=this.getContent(j,R);N.replace(j.range[0],j.range[1]-1,$)}getContent(E,N){const R=E.depsArray.map((E=>this.contentForDependency(E,N)));return`[${R.join(", ")}]`}contentForDependency(E,{runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:$}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return N.moduleExports({module:R.getModule(E),chunkGraph:j,request:E.request,runtimeRequirements:$})}}};E.exports=AMDRequireArrayDependency},38145:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);class AMDRequireContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=R(42740);E.exports=AMDRequireContextDependency},83842:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class AMDRequireDependenciesBlock extends j{constructor(E,N){super(null,E,N)}}$(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,N,R)=>{"use strict";const j=R(76150);const $=R(53558);const q=R(95715);const G=R(38145);const ie=R(83842);const ae=R(45167);const ce=R(29022);const le=R(66298);const _e=R(95601);const Ee=R(14229);const{getLocalModule:Te}=R(61701);const we=R(12584);const Ie=R(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,N){let R=true;const j=Ie(N);if(j){E.inScope(j.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if(j.fn.body.type==="BlockStatement"){E.walkStatement(j.fn.body)}else{E.walkExpression(j.fn.body)}}));E.walkExpressions(j.expressions);if(j.needThis===false){R=false}}else{E.walkExpression(N)}return R}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,N,R){if(R.isArray()){for(const j of R.items){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isConstArray()){const j=[];for(const $ of R.array){let R,q;if($==="require"){R="__webpack_require__"}else if(["exports","module"].includes($)){R=$}else if(q=Te(E.state,$)){q.flagUsed();R=new Ee(q,undefined,false);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}else{R=this.newRequireItemDependency($);R.loc=N.loc;R.optional=!!E.scope.inTry;E.state.current.addDependency(R)}j.push(R)}const $=this.newRequireArrayDependency(j,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency($);return true}}processItem(E,N,R){if(R.isConditional()){for(const j of R.options){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isString()){let $,q;if(R.string==="require"){$=new le("__webpack_require__",R.string,[j.require])}else if(R.string==="module"){$=new le(E.state.module.buildInfo.moduleArgument,R.range,[j.module])}else if(R.string==="exports"){$=new le(E.state.module.buildInfo.exportsArgument,R.range,[j.exports])}else if(q=Te(E.state,R.string)){q.flagUsed();$=new Ee(q,R.range,false)}else{$=this.newRequireItemDependency(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}}processContext(E,N,R){const j=_e.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processArrayForRequestString(E){if(E.isArray()){const N=E.items.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const N=E.options.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,N){let R;let j;let q;let G;const ie=E.state.current;if(N.arguments.length>=1){R=E.evaluateExpression(N.arguments[0]);j=this.newRequireDependenciesBlock(N.loc,this.processArrayForRequestString(R));q=this.newRequireDependency(N.range,R.range,N.arguments.length>1?N.arguments[1].range:null,N.arguments.length>2?N.arguments[2].range:null);q.loc=N.loc;j.addDependency(q);E.state.current=j}if(N.arguments.length===1){E.inScope([],(()=>{G=this.processArray(E,N,R)}));E.state.current=ie;if(!G)return;E.state.current.addBlock(j);return true}if(N.arguments.length===2||N.arguments.length===3){try{E.inScope([],(()=>{G=this.processArray(E,N,R)}));if(!G){const R=new we("unsupported",N.range);ie.addPresentationalDependency(R);if(E.state.module){E.state.module.addError(new $("Cannot statically analyse 'require(…, …)' in line "+N.loc.start.line,N.loc))}j=null;return true}q.functionBindThis=this.processFunctionArgument(E,N.arguments[1]);if(N.arguments.length===3){q.errorCallbackBindThis=this.processFunctionArgument(E,N.arguments[2])}}finally{E.state.current=ie;if(j)E.state.current.addBlock(j)}return true}}newRequireDependenciesBlock(E,N){return new ie(E,N)}newRequireDependency(E,N,R,j){return new ae(E,N,R,j)}newRequireItemDependency(E,N){return new ce(E,N)}newRequireArrayDependency(E,N){return new q(E,N)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class AMDRequireDependency extends q{constructor(E,N,R,j){super();this.outerRange=E;this.arrayRange=N;this.functionRange=R;this.errorCallbackRange=j;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.outerRange);N(this.arrayRange);N(this.functionRange);N(this.errorCallbackRange);N(this.functionBindThis);N(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.arrayRange=N();this.functionRange=N();this.errorCallbackRange=N();this.functionBindThis=N();this.errorCallbackBindThis=N();super.deserialize(E)}}$(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"AMD require",runtimeRequirements:G});if(ie.arrayRange&&!ie.functionRange){const E=`${ce}.then(function() {`;const R=`;})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.replace(ie.arrayRange[1],ie.outerRange[1]-1,R);return}if(ie.functionRange&&!ie.arrayRange){const E=`${ce}.then((`;const R=`).bind(exports, __webpack_require__, exports, module))['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.functionRange[0]-1,E);N.replace(ie.functionRange[1],ie.outerRange[1]-1,R);return}if(ie.arrayRange&&ie.functionRange&&ie.errorCallbackRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](`;const j=`${ie.errorCallbackBindThis?".bind(this)":""})`;N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.errorCallbackRange[0]-1,R);N.replace(ie.errorCallbackRange[1],ie.outerRange[1]-1,j);return}if(ie.arrayRange&&ie.functionRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.outerRange[1]-1,R)}}};E.exports=AMDRequireDependency},29022:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(87283);class AMDRequireItemDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"amd require"}get category(){return"amd"}}j(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=q;E.exports=AMDRequireItemDependency},29035:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AMDDefineRuntimeModule extends ${constructor(){super("amd define")}generate(){return q.asString([`${j.amdDefine} = function () {`,q.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends ${constructor(E){super("amd options");this.options=E}generate(){return q.asString([`${j.amdOptions} = ${JSON.stringify(this.options)};`])}}N.AMDDefineRuntimeModule=AMDDefineRuntimeModule;N.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,N,R)=>{"use strict";const j=R(84304);const $=R(63272);const q=R(56202);const G=R(12197);class CachedConstDependency extends G{constructor(E,N,R){super();this.expression=E;this.range=N;this.identifier=R;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.identifier);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.identifier=N();super.deserialize(E)}}q(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends j{apply(E,N,{runtimeTemplate:R,dependencyTemplates:j,initFragments:q}){const G=E;q.push(new $(`var ${G.identifier} = ${G.expression};\n`,$.STAGE_CONSTANTS,0,`const ${G.identifier}`));if(typeof G.range==="number"){N.insert(G.range,G.identifier);return}N.replace(G.range[0],G.range[1]-1,G.identifier)}};E.exports=CachedConstDependency},73456:(E,N,R)=>{"use strict";const j=R(76150);N.handleDependencyBase=(E,N,R)=>{let $=undefined;let q;switch(E){case"exports":R.add(j.exports);$=N.exportsArgument;q="expression";break;case"module.exports":R.add(j.module);$=`${N.moduleArgument}.exports`;q="expression";break;case"this":R.add(j.thisAsExports);$="this";q="expression";break;case"Object.defineProperty(exports)":R.add(j.exports);$=N.exportsArgument;q="Object.defineProperty";break;case"Object.defineProperty(module.exports)":R.add(j.module);$=`${N.moduleArgument}.exports`;q="Object.defineProperty";break;case"Object.defineProperty(this)":R.add(j.thisAsExports);$="this";q="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[q,$]}},1248:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(58159);const{equals:G}=R(73910);const ie=R(56202);const ae=R(68038);const{handleDependencyBase:ce}=R(73456);const le=R(79983);const _e=R(18971);const Ee=Symbol("CommonJsExportRequireDependency.ids");const Te={};class CommonJsExportRequireDependency extends le{constructor(E,N,R,j,$,q,G){super($);this.range=E;this.valueRange=N;this.base=R;this.names=j;this.ids=q;this.resultUsed=G;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return j.TRANSITIVE}getIds(E){return E.getMeta(this)[Ee]||this.ids}setIds(E,N){E.getMeta(this)[Ee]=N}getReferencedExports(E,N){const R=this.getIds(E);const getFullResult=()=>{if(R.length===0){return j.EXPORTS_OBJECT_REFERENCED}else{return[{name:R,canMangle:false}]}};if(this.resultUsed)return getFullResult();let q=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const R=q.getReadOnlyExportInfo(E);const G=R.getUsed(N);if(G===$.Unused)return j.NO_EXPORTS_REFERENCED;if(G!==$.OnlyPropertiesUsed)return getFullResult();q=R.exportsInfo;if(!q)return getFullResult()}if(q.otherExportsInfo.getUsed(N)!==$.Unused){return getFullResult()}const G=[];for(const E of q.orderedExports){_e(N,G,R.concat(E.name),E,false)}return G.map((E=>({name:E,canMangle:false})))}getExports(E){const N=this.getIds(E);if(this.names.length===1){const R=this.names[0];const j=E.getConnection(this);if(!j)return;return{exports:[{name:R,from:j,export:N.length===0?null:N,canMangle:!(R in Te)&&false}],dependencies:[j.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Te)&&false}],dependencies:undefined}}else{const R=E.getConnection(this);if(!R)return;const j=this.getStarReexports(E,undefined,R.module);if(j){return{exports:Array.from(j.exports,(E=>({name:E,from:R,export:N.concat(E),canMangle:!(E in Te)&&false}))),dependencies:[R.module]}}else{return{exports:true,from:N.length===0?R:undefined,canMangle:false,dependencies:[R.module]}}}}getStarReexports(E,N,R=E.getModule(this)){let j=E.getExportsInfo(R);const q=this.getIds(E);if(q.length>0)j=j.getNestedExportsInfo(q);let G=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)G=G.getNestedExportsInfo(this.names);const ie=j&&j.otherExportsInfo.provided===false;const ae=G&&G.otherExportsInfo.getUsed(N)===$.Unused;if(!ie&&!ae){return}const ce=R.getExportsType(E,false)==="namespace";const le=new Set;const _e=new Set;if(ae){for(const E of G.orderedExports){const R=E.name;if(E.getUsed(N)===$.Unused)continue;if(R==="__esModule"&&ce){le.add(R)}else if(j){const E=j.getReadOnlyExportInfo(R);if(E.provided===false)continue;le.add(R);if(E.provided===true)continue;_e.add(R)}else{le.add(R);_e.add(R)}}}else if(ie){for(const E of j.orderedExports){const R=E.name;if(E.provided===false)continue;if(G){const E=G.getReadOnlyExportInfo(R);if(E.getUsed(N)===$.Unused)continue}le.add(R);if(E.provided===true)continue;_e.add(R)}if(ce){le.add("__esModule");_e.delete("__esModule")}}return{exports:le,checked:_e}}serialize(E){const{write:N}=E;N(this.asiSafe);N(this.range);N(this.valueRange);N(this.base);N(this.names);N(this.ids);N(this.resultUsed);super.serialize(E)}deserialize(E){const{read:N}=E;this.asiSafe=N();this.range=N();this.valueRange=N();this.base=N();this.names=N();this.ids=N();this.resultUsed=N();super.deserialize(E)}}ie(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends le.Template{apply(E,N,{module:R,runtimeTemplate:j,chunkGraph:$,moduleGraph:ie,runtimeRequirements:le,runtime:_e}){const Ee=E;const Te=ie.getExportsInfo(R).getUsedName(Ee.names,_e);const[we,Ie]=ce(Ee.base,R,le);const Ne=ie.getModule(Ee);let Me=j.moduleExports({module:Ne,chunkGraph:$,request:Ee.request,weak:Ee.weak,runtimeRequirements:le});if(Ne){const E=Ee.getIds(ie);const N=ie.getExportsInfo(Ne).getUsedName(E,_e);if(N){const R=G(N,E)?"":q.toNormalComment(ae(E))+" ";Me+=`${R}${ae(N)}`}}switch(we){case"expression":N.replace(Ee.range[0],Ee.range[1]-1,Te?`${Ie}${ae(Te)} = ${Me}`:`/* unused reexport */ ${Me}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(68038);const{handleDependencyBase:G}=R(73456);const ie=R(12197);const ae={};class CommonJsExportsDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.valueRange=N;this.base=R;this.names=j}get type(){return"cjs exports"}getExports(E){const N=this.names[0];return{exports:[{name:N,canMangle:!(N in ae)}],dependencies:undefined}}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.base);N(this.names);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.base=N();this.names=N();super.deserialize(E)}}$(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:$,initFragments:ie,runtimeRequirements:ae,runtime:ce}){const le=E;const _e=$.getExportsInfo(R).getUsedName(le.names,ce);const[Ee,Te]=G(le.base,R,ae);switch(Ee){case"expression":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.range[1]-1,"__webpack_unused_export__");return}N.replace(le.range[0],le.range[1]-1,`${Te}${q(_e)}`);return;case"Object.defineProperty":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.valueRange[0]-1,"__webpack_unused_export__ = (");N.replace(le.valueRange[1],le.range[1]-1,")");return}N.replace(le.range[0],le.valueRange[0]-1,`Object.defineProperty(${Te}${q(_e.slice(0,-1))}, ${JSON.stringify(_e[_e.length-1])}, (`);N.replace(le.valueRange[1],le.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(72380);const{evaluateToString:q}=R(48472);const G=R(68038);const ie=R(1248);const ae=R(26702);const ce=R(94147);const le=R(28140);const _e=R(25702);const Ee=R(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const N of E.properties){if(N.computed)continue;const E=N.key;if(E.type!=="Identifier"||E.name!=="value")continue;return N.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,N)=>{const R=[];while(N.type==="MemberExpression"){if(N.object.type==="Super")return;if(!N.property)return;const E=N.property;if(N.computed){if(E.type!=="Literal")return;R.push(`${E.value}`)}else{if(E.type!=="Identifier")return;R.push(E.name)}N=N.object}if(N.type!=="CallExpression"||N.arguments.length!==1)return;const j=N.callee;if(j.type!=="Identifier"||E.getVariableInfo(j.name)!=="require"){return}const $=N.arguments[0];if($.type==="SpreadElement")return;const q=E.evaluateExpression($);return{argument:q,ids:R.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{le.enable(E.state)};const checkNamespace=(N,R,j)=>{if(!le.isEnabled(E.state))return;if(R.length>0&&R[0]==="__esModule"){if(j&&isTruthyLiteral(j)&&N){le.setFlagged(E.state)}else{le.setDynamic(E.state)}}};const bailout=N=>{le.bailout(E.state);if(N)bailoutHint(N)};const bailoutHint=N=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${N}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",q("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",q("object"));const handleAssignExport=(N,R,j)=>{if(_e.isEnabled(E.state))return;const $=parseRequireCall(E,N.right);if($&&$.argument.isString()&&(j.length===0||j[0]!=="__esModule")){enableStructuredExports();if(j.length===0)le.setDynamic(E.state);const q=new ie(N.range,null,R,j,$.argument.string,$.ids,!E.isStatementLevelExpression(N));q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addDependency(q);return true}if(j.length===0)return;enableStructuredExports();const q=j;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(N),q,N.right);const G=new ae(N.left.range,null,R,q);G.loc=N.loc;E.state.module.addDependency(G);E.walkExpression(N.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAssignExport(E,"exports",N)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(N,"this",R)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAssignExport(E,"module.exports",N.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(N=>{const R=N;if(!E.isStatementLevelExpression(R))return;if(R.arguments.length!==3)return;if(R.arguments[0].type==="SpreadElement")return;if(R.arguments[1].type==="SpreadElement")return;if(R.arguments[2].type==="SpreadElement")return;const j=E.evaluateExpression(R.arguments[0]);if(!j||!j.isIdentifier())return;if(j.identifier!=="exports"&&j.identifier!=="module.exports"&&(j.identifier!=="this"||!E.scope.topLevelScope)){return}const $=E.evaluateExpression(R.arguments[1]);if(!$)return;const q=$.asString();if(typeof q!=="string")return;enableStructuredExports();const G=R.arguments[2];checkNamespace(E.statementPath.length===1,[q],getValueOfPropertyDescription(G));const ie=new ae(R.range,R.arguments[2].range,`Object.defineProperty(${j.identifier})`,[q]);ie.loc=R.loc;E.state.module.addDependency(ie);E.walkExpression(R.arguments[2]);return true}));const handleAccessExport=(N,R,j,q=undefined)=>{if(_e.isEnabled(E.state))return;if(j.length===0){bailout(`${R} is used directly at ${$(N.loc)}`)}if(q&&j.length===1){bailoutHint(`${R}${G(j)}(...) prevents optimization as ${R} is passed as call context at ${$(N.loc)}`)}const ie=new ce(N.range,R,j,!!q);ie.loc=N.loc;E.state.module.addDependency(ie);if(q){E.walkExpressions(q.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E.callee,"exports",N,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E,"exports",N)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",N.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E,"module.exports",N.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N.callee,"this",R,N)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",R)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(N=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(N=>{bailout();const R=_e.isEnabled(E.state);const $=new Ee(R?j.harmonyModuleDecorator:j.nodeModuleDecorator,!R);$.loc=N.loc;E.state.module.addDependency($);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,N,R)=>{"use strict";const j=R(58159);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(79983);class CommonJsFullRequireDependency extends ie{constructor(E,N,R){super(E);this.range=N;this.names=R;this.call=false;this.asiSafe=undefined}getReferencedExports(E,N){if(this.call){const N=E.getModule(this);if(!N||N.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:N}=E;N(this.names);N(this.call);N(this.asiSafe);super.serialize(E)}deserialize(E){const{read:N}=E;this.names=N();this.call=N();this.asiSafe=N();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:q,moduleGraph:ie,chunkGraph:ae,runtimeRequirements:ce,runtime:le,initFragments:_e}){const Ee=E;if(!Ee.range)return;const Te=ie.getModule(Ee);let we=q.moduleExports({module:Te,chunkGraph:ae,request:Ee.request,weak:Ee.weak,runtimeRequirements:ce});if(Te){const E=Ee.names;const N=ie.getExportsInfo(Te).getUsedName(E,le);if(N){const R=$(N,E)?"":j.toNormalComment(G(E))+" ";const q=`${R}${G(N)}`;we=Ee.asiSafe===true?`(${we}${q})`:`${we}${q}`}}N.replace(Ee.range[0],Ee.range[1]-1,we)}};q(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,N,R)=>{"use strict";const j=R(47207);const $=R(76150);const q=R(53558);const{evaluateToIdentifier:G,evaluateToString:ie,expressionIsUnsupported:ae,toConstantDependency:ce}=R(48472);const le=R(87519);const _e=R(51454);const Ee=R(37313);const Te=R(66298);const we=R(95601);const Ie=R(14229);const{getLocalModule:Ne}=R(61701);const Me=R(70340);const Le=R(84817);const Be=R(76913);const je=R(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const N=this.options;const tapRequireExpression=(N,R)=>{E.hooks.typeof.for(N).tap("CommonJsPlugin",ce(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(N).tap("CommonJsPlugin",ie("function"));E.hooks.evaluateIdentifier.for(N).tap("CommonJsPlugin",G(N,"require",R,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(N=>{const R=new Te("var require;",0);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(N=>{const R=new Te("undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",ce(E,$.moduleCache,[$.moduleCache,$.moduleId,$.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(R=>{const j=new _e({request:N.unknownContextRequest,recursive:N.unknownContextRecursive,regExp:N.unknownContextRegExp,mode:"sync"},R.range,undefined,E.scope.inShorthand);j.critical=N.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}));const processRequireItem=(N,R)=>{if(R.isString()){const j=new Ee(R.string,R.range);j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}};const processRequireContext=(R,j)=>{const $=we.create(_e,R.range,j,R,N,{category:"commonjs"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true};const createRequireHandler=R=>$=>{if(N.commonjsMagicComments){const{options:N,errors:R}=E.parseCommentOptions($.range);if(R){for(const N of R){const{comment:R}=N;E.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(N){if(N.webpackIgnore!==undefined){if(typeof N.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${N.webpackIgnore}.`,$.loc))}else{if(N.webpackIgnore){return true}}}}}if($.arguments.length!==1)return;let G;const ie=E.evaluateExpression($.arguments[0]);if(ie.isConditional()){let N=false;for(const E of ie.options){const R=processRequireItem($,E);if(R===undefined){N=true}}if(!N){const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}}if(ie.isString()&&(G=Ne(E.state,ie.string))){G.flagUsed();const N=new Ie(G,$.range,R);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}else{const N=processRequireItem($,ie);if(N===undefined){processRequireContext($,ie)}else{const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.range,$);R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.loc;E.state.module.addDependency(R);return true}};const callChainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.callee.range,$);R.call=true;R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.callee.loc;E.state.module.addDependency(R);E.walkExpressions(N.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(N,R)=>{if(N.arguments.length!==1)return;const j=E.evaluateExpression(N.arguments[0]);if(j.isConditional()){for(const E of j.options){const j=processResolveItem(N,E,R);if(j===undefined){processResolveContext(N,E,R)}}const $=new je(N.callee.range);$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}else{const $=processResolveItem(N,j,R);if($===undefined){processResolveContext(N,j,R)}const q=new je(N.callee.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}};const processResolveItem=(N,R,j)=>{if(R.isString()){const $=new Be(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;$.weak=j;E.state.current.addDependency($);return true}};const processResolveContext=(R,j,$)=>{const q=we.create(Le,j.range,j,R,N,{category:"commonjs",mode:$?"weak":"sync"},E);if(!q)return;q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(31141);const G=R(58159);const ie=R(26702);const ae=R(87519);const ce=R(51454);const le=R(37313);const _e=R(94147);const Ee=R(2706);const Te=R(70340);const we=R(84817);const Ie=R(76913);const Ne=R(23380);const Me=R(35424);const Le=R(48235);const Be=R(42218);const{evaluateToIdentifier:je,toConstantDependency:Ue}=R(48472);const ze=R(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set(le,R);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(ae,R);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(ce,N);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(we,N);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(Ne,new Ne.Template);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(ze,R);E.dependencyTemplates.set(ze,new ze.Template);const $=new q(E.moduleGraph);E.dependencyFactories.set(_e,$);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,$);E.dependencyTemplates.set(Ee,new Ee.Template);E.hooks.runtimeRequirementInModule.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInModule.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new NodeModuleDecoratorRuntimeModule)}));const handler=(N,R)=>{if(R.commonjs!==undefined&&!R.commonjs)return;N.hooks.typeof.for("module").tap("CommonJsPlugin",Ue(N,JSON.stringify("object")));N.hooks.expression.for("require.main").tap("CommonJsPlugin",Ue(N,`${j.moduleCache}[${j.entryModuleId}]`,[j.moduleCache,j.entryModuleId]));N.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const R=new Me([j.moduleLoaded]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.id";const R=new Me([j.moduleId]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",je("module.hot","module",(()=>["hot"]),null));new Be(R).apply(N);new Le(E.moduleGraph).apply(N)};R.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends ${constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",G.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends ${constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class CommonJsRequireContextDependency extends ${constructor(E,N,R,j){super(E);this.range=N;this.valueRange=R;this.inShorthand=j}get type(){return"cjs require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.inShorthand);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.inShorthand=N();super.deserialize(E)}}j(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=q;E.exports=CommonJsRequireContextDependency},37313:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class CommonJsRequireDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=q;j(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,N,R)=>{"use strict";const j=R(76150);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(12197);class CommonJsSelfReferenceDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.base=N;this.names=R;this.call=j}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:N}=E;N(this.range);N(this.base);N(this.names);N(this.call);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.base=N();this.names=N();this.call=N();super.deserialize(E)}}q(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtime:ie,runtimeRequirements:ae}){const ce=E;let le;if(ce.names.length===0){le=ce.names}else{le=q.getExportsInfo(R).getUsedName(ce.names,ie)}if(!le){throw new Error("Self-reference dependency has unused export name: This should not happen")}let _e=undefined;switch(ce.base){case"exports":ae.add(j.exports);_e=R.exportsArgument;break;case"module.exports":ae.add(j.module);_e=`${R.moduleArgument}.exports`;break;case"this":ae.add(j.thisAsExports);_e="this";break;default:throw new Error(`Unsupported base ${ce.base}`)}if(_e===ce.base&&$(le,ce.names)){return}N.replace(ce.range[0],ce.range[1]-1,`${_e}${G(le)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class ConstDependency extends ${constructor(E,N,R){super();this.expression=E;this.range=N;this.runtimeRequirements=R?new Set(R):null;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){let E=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const N of this.runtimeRequirements){E+="|";E+=N}}this._hashUpdate=E}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.runtimeRequirements=N();super.deserialize(E)}}j(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(j.runtimeRequirements){for(const E of j.runtimeRequirements){R.runtimeRequirements.add(E)}}if(typeof j.range==="number"){N.insert(j.range,j.expression);return}N.replace(j.range[0],j.range[1]-1,j.expression)}};E.exports=ConstDependency},400:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(56202);const G=R(91671);const ie=G((()=>R(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends j{constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.inShorthand=undefined;this.replaces=undefined}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let N=super.getWarnings(E);if(this.critical){if(!N)N=[];const E=ie();N.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!N)N=[];const E=ie();N.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return N}serialize(E){const{write:N}=E;N(this.options);N(this.userRequest);N(this.critical);N(this.hadGlobalOrStickyRegExp);N(this.request);N(this.range);N(this.valueRange);N(this.prepend);N(this.replaces);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();this.userRequest=N();this.critical=N();this.hadGlobalOrStickyRegExp=N();this.request=N();this.range=N();this.valueRange=N();this.prepend=N();this.replaces=N();super.deserialize(E)}}q(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=$;E.exports=ContextDependency},95601:(E,N,R)=>{"use strict";const{parseResource:j}=R(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const N=E.lastIndexOf("/");let R=".";if(N>=0){R=E.substr(0,N);E=`.${E.substr(N)}`}return{context:R,prefix:E}};N.create=(E,N,R,$,q,G,ie)=>{if(R.isTemplateString()){let ae=R.quasis[0].string;let ce=R.quasis.length>1?R.quasis[R.quasis.length-1].string:"";const le=R.range;const{context:_e,prefix:Ee}=splitContextFromPrefix(ae);const{path:Te,query:we,fragment:Ie}=j(ce,ie);const Ne=R.quasis.slice(1,R.quasis.length-1);const Me=q.wrappedContextRegExp.source+Ne.map((E=>quoteMeta(E.string)+q.wrappedContextRegExp.source)).join("");const Le=new RegExp(`^${quoteMeta(Ee)}${Me}${quoteMeta(Te)}$`);const Be=new E({request:_e+we+Ie,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,le);Be.loc=$.loc;const je=[];R.parts.forEach(((E,N)=>{if(N%2===0){let j=E.range;let $=E.string;if(R.templateStringKind==="cooked"){$=JSON.stringify($);$=$.slice(1,$.length-1)}if(N===0){$=Ee;j=[R.range[0],E.range[1]];$=(R.templateStringKind==="cooked"?"`":"String.raw`")+$}else if(N===R.parts.length-1){$=Te;j=[E.range[0],R.range[1]];$=$+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===$){return}je.push({range:j,value:$})}else{ie.walkExpression(E.expression)}}));Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";return Be}else if(R.isWrapped()&&(R.prefix&&R.prefix.isString()||R.postfix&&R.postfix.isString())){let ae=R.prefix&&R.prefix.isString()?R.prefix.string:"";let ce=R.postfix&&R.postfix.isString()?R.postfix.string:"";const le=R.prefix&&R.prefix.isString()?R.prefix.range:null;const _e=R.postfix&&R.postfix.isString()?R.postfix.range:null;const Ee=R.range;const{context:Te,prefix:we}=splitContextFromPrefix(ae);const{path:Ie,query:Ne,fragment:Me}=j(ce,ie);const Le=new RegExp(`^${quoteMeta(we)}${q.wrappedContextRegExp.source}${quoteMeta(Ie)}$`);const Be=new E({request:Te+Ne+Me,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,Ee);Be.loc=$.loc;const je=[];if(le){je.push({range:le,value:JSON.stringify(we)})}if(_e){je.push({range:_e,value:JSON.stringify(Ie)})}Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ie&&R.wrappedInnerExpressions){for(const E of R.wrappedInnerExpressions){if(E.expression)ie.walkExpression(E.expression)}}return Be}else{const j=new E({request:q.exprContextRequest,recursive:q.exprContextRecursive,regExp:q.exprContextRegExp,mode:"sync",...G},N,R.range);j.loc=$.loc;j.critical=q.exprContextCritical&&"the request of a dependency is an expression";ie.walkExpression(R.expression);return j}}},94148:(E,N,R)=>{"use strict";const j=R(400);class ContextDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const j=R(400);class ContextDependencyTemplateAsRequireCall extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;let ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,runtimeRequirements:q});if(G.inShorthand){ie=`${G.inShorthand}: ${ie}`}if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ContextElementDependency extends q{constructor(E,N,R,j,$){super(E);this.referencedExports=$;this._typePrefix=R;this._category=j;if(N){this.userRequest=N}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}$(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class CreateScriptUrlDependency extends q{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.createScriptUrl);N.insert($.range[0],`${j.createScriptUrl}(`);N.insert($.range[1],")")}};$(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CriticalDependencyWarning extends j{constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}$(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class DelegatedSourceDependency extends ${constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}j(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class DllEntryDependency extends j{constructor(E,N){super();this.dependencies=E;this.name=N}get type(){return"dll entry"}serialize(E){const{write:N}=E;N(this.dependencies);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.dependencies=N();this.name=N();super.deserialize(E)}}$(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,N)=>{"use strict";const R=new WeakMap;N.bailout=E=>{const N=R.get(E);R.set(E,false);if(N===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};N.enable=E=>{const N=R.get(E);if(N===false)return;R.set(E,true);if(N!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};N.setFlagged=E=>{const N=R.get(E);if(N!==true)return;const j=E.module.buildMeta;if(j.exportsType==="dynamic")return;j.exportsType="flagged"};N.setDynamic=E=>{const N=R.get(E);if(N!==true)return;E.module.buildMeta.exportsType="dynamic"};N.isEnabled=E=>{const N=R.get(E);return N===true}},66583:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class EntryDependency extends ${constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}j(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const q=R(12197);const getProperty=(E,N,R,$,q)=>{if(!R){switch($){case"usedExports":{const R=E.getExportsInfo(N).getUsedExports(q);if(typeof R==="boolean"||R===undefined||R===null){return R}return Array.from(R).sort()}}}switch($){case"used":return E.getExportsInfo(N).getUsed(R,q)!==j.Unused;case"useInfo":{const $=E.getExportsInfo(N).getUsed(R,q);switch($){case j.Used:case j.OnlyPropertiesUsed:return true;case j.Unused:return false;case j.NoInfo:return undefined;case j.Unknown:return null;default:throw new Error(`Unexpected UsageState ${$}`)}}case"provideInfo":return E.getExportsInfo(N).isExportProvided(R)}return undefined};class ExportsInfoDependency extends q{constructor(E,N,R){super();this.range=E;this.exportName=N;this.property=R}serialize(E){const{write:N}=E;N(this.range);N(this.exportName);N(this.property);super.serialize(E)}static deserialize(E){const N=new ExportsInfoDependency(E.read(),E.read(),E.read());N.deserialize(E);return N}}$(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,runtime:$}){const q=E;const G=getProperty(j,R,q.exportName,q.property,$);N.replace(q.range[0],q.range[1]-1,G===undefined?"undefined":JSON.stringify(G))}};E.exports=ExportsInfoDependency},27790:(E,N,R)=>{"use strict";const j=R(58159);const $=R(56202);const q=R(37359);const G=R(12197);class HarmonyAcceptDependency extends G{constructor(E,N,R){super();this.range=E;this.dependencies=N;this.hasCallback=R}get type(){return"accepted harmony modules"}serialize(E){const{write:N}=E;N(this.range);N(this.dependencies);N(this.hasCallback);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.dependencies=N();this.hasCallback=N();super.deserialize(E)}}$(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends G.Template{apply(E,N,R){const $=E;const{module:G,runtime:ie,runtimeRequirements:ae,runtimeTemplate:ce,moduleGraph:le,chunkGraph:_e}=R;const Ee=$.dependencies.map((E=>{const N=le.getModule(E);return{dependency:E,runtimeCondition:N?q.Template.getImportEmittedRuntime(G,N):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:N})=>{const $=ce.runtimeConditionExpression({chunkGraph:_e,runtime:ie,runtimeCondition:N,runtimeRequirements:ae});const q=E.getImportStatement(true,R);const G=q[0]+q[1];if($!=="true"){return`if (${$}) {\n${j.indent(G)}\n}\n`}return G})).join("");if($.hasCallback){if(ce.supportsArrowFunction()){N.insert($.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${Ee}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{N.insert($.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${Ee}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Te=ce.supportsArrowFunction();N.insert($.range[1]-.5,`, ${Te?"() =>":"function()"} { ${Ee} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyAcceptImportDependency extends ${constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}j(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends $.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class HarmonyCompatibilityDependency extends ie{get type(){return"harmony export header"}}G(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:G,moduleGraph:ie,initFragments:ae,runtimeRequirements:ce,runtime:le,concatenationScope:_e}){if(_e)return;const Ee=ie.getExportsInfo(R);if(Ee.getReadOnlyExportInfo("__esModule").getUsed(le)!==j.Unused){const E=G.defineEsModuleFlagStatement({exportsArgument:R.exportsArgument,runtimeRequirements:ce});ae.push(new $(E,$.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ie.isAsync(R)){ce.add(q.module);ce.add(q.asyncModule);ae.push(new $(G.supportsArrowFunction()?`${q.asyncModule}(${R.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${q.asyncModule}(${R.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,$.STAGE_ASYNC_BOUNDARY,0,undefined,R.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,N,R)=>{"use strict";const j=R(28140);const $=R(54290);const q=R(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:N=false}=E||{};this.topLevelAwait=N}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(N=>{const R=E.state.module.type==="javascript/esm";const G=R||N.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(G){const N=E.state.module;const G=new $;G.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};N.addPresentationalDependency(G);j.bailout(E.state);q.enable(E.state,R);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const N=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!q.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}N.buildMeta.async=true}));const skipInHarmony=()=>{if(q.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(q.isEnabled(E.state)){return null}};const N=["define","exports"];for(const R of N){E.hooks.evaluateTypeof.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,N,R)=>{"use strict";const j=R(58018);const $=R(66298);const q=R(55037);const G=R(48752);const ie=R(44576);const ae=R(14696);const{ExportPresenceModes:ce}=R(37359);const{harmonySpecifierTag:le,getAssertions:_e}=R(29381);const Ee=R(69707);const{HarmonyStarExportsList:Te}=ie;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.reexportExportPresence!==undefined?ce.fromUserOption(E.reexportExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO}apply(E){const{exportPresenceMode:N}=this;E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(N=>{const R=new G(N.declaration&&N.declaration.range,N.range);R.loc=Object.create(N.loc);R.loc.index=-1;E.state.module.addPresentationalDependency(R);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new $("",N.range);j.loc=Object.create(N.loc);j.loc.index=-1;E.state.module.addPresentationalDependency(j);const q=new Ee(R,E.state.lastHarmonyImportOrder,_e(N));q.loc=Object.create(N.loc);q.loc.index=-1;E.state.current.addDependency(q);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{const $=R.type==="FunctionDeclaration";const G=E.getComments([N.range[0],R.range[0]]);const ie=new q(R.range,N.range,G.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),R.type.endsWith("Declaration")&&R.id?R.id.name:$?{id:R.id?R.id.name:undefined,range:[R.range[0],R.params.length>0?R.params[0].range[0]:R.body.range[0]],prefix:`${R.async?"async ":""}function${R.generator?"*":""} `,suffix:`(${R.params.length>0?"":") "}`}:undefined);ie.loc=Object.create(N.loc);ie.loc.index=-1;E.state.current.addDependency(ie);j.addVariableUsage(E,R.type.endsWith("Declaration")&&R.id?R.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,$,q,G)=>{const ce=E.getTagData($,le);let _e;const Ee=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;Ee.add(q);j.addVariableUsage(E,$,q);if(ce){_e=new ie(ce.source,ce.sourceOrder,ce.ids,q,Ee,null,N,null,ce.assertions)}else{_e=new ae($,q)}_e.loc=Object.create(R.loc);_e.loc.index=G;E.state.current.addDependency(_e);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,j,$,q,G)=>{const ae=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let ce=null;if(q){ae.add(q)}else{ce=E.state.harmonyStarExports=E.state.harmonyStarExports||new Te}const le=new ie(j,E.state.lastHarmonyImportOrder,$?[$]:[],q,ae,ce&&ce.slice(),N,ce);if(ce){ce.push(le)}le.loc=Object.create(R.loc);le.loc.index=G;E.state.current.addDependency(le);return true}))}}},55037:(E,N,R)=>{"use strict";const j=R(77294);const $=R(76150);const q=R(56202);const G=R(82296);const ie=R(12197);class HarmonyExportExpressionDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.rangeStatement=N;this.prefix=R;this.declarationId=j}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);N(this.prefix);N(this.declarationId);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();this.prefix=N();this.declarationId=N();super.deserialize(E)}}q(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtimeTemplate:ie,runtimeRequirements:ae,initFragments:ce,runtime:le,concatenationScope:_e}){const Ee=E;const{declarationId:Te}=Ee;const we=R.exportsArgument;if(Te){let E;if(typeof Te==="string"){E=Te}else{E=j.DEFAULT_EXPORT;N.replace(Te.range[0],Te.range[1]-1,`${Te.prefix}${E}${Te.suffix}`)}if(_e){_e.registerExport("default",E)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){const R=new Map;R.set(N,`/* export default binding */ ${E}`);ce.push(new G(we,R))}}N.replace(Ee.rangeStatement[0],Ee.range[0]-1,`/* harmony default export */ ${Ee.prefix}`)}else{let E;const Te=j.DEFAULT_EXPORT;if(ie.supportsConst()){E=`/* harmony default export */ const ${Te} = `;if(_e){_e.registerExport("default",Te)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);const E=new Map;E.set(N,Te);ce.push(new G(we,E))}else{E=`/* unused harmony default export */ var ${Te} = `}}}else if(_e){E=`/* harmony default export */ var ${Te} = `;_e.registerExport("default",Te)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);E=`/* harmony default export */ ${we}[${JSON.stringify(N)}] = `}else{E=`/* unused harmony default export */ var ${Te} = `}}if(Ee.range){N.replace(Ee.rangeStatement[0],Ee.range[0]-1,E+"("+Ee.prefix);N.replace(Ee.range[1],Ee.rangeStatement[1]-.5,");");return}N.replace(Ee.rangeStatement[0],Ee.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class HarmonyExportHeaderDependency extends ${constructor(E,N){super();this.range=E;this.rangeStatement=N}get type(){return"harmony export header"}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();super.deserialize(E)}}j(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends $.Template{apply(E,N,R){const j=E;const $="";const q=j.range?j.range[0]-1:j.rangeStatement[1]-1;N.replace(j.rangeStatement[0],q,$)}};E.exports=HarmonyExportHeaderDependency},44576:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(36756);const G=R(63272);const ie=R(76150);const ae=R(58159);const{countIterable:ce}=R(11539);const{first:le,combine:_e}=R(26221);const Ee=R(56202);const Te=R(68038);const{getRuntimeKey:we,keyToRuntime:Ie}=R(37416);const Ne=R(82296);const Me=R(37359);const Le=R(18971);const{ExportPresenceModes:Be}=Me;const je=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,N,R,j,$){this.name=E;this.ids=N;this.exportInfo=R;this.checked=j;this.hidden=$}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,N,R)=>{const j=new Set;const $=[];if(R){N=N.concat(R)}for(const R of N){const N=$.length;$[N]=j.size;const q=E.getModule(R);if(q){const R=E.getExportsInfo(q);for(const E of R.exports){if(E.provided===true&&E.name!=="default"&&!j.has(E.name)){j.add(E.name);$[N]=j.size}}}}$.push(j.size);return{names:Array.from(j),dependencyIndices:$}};const findDependencyForName=({names:E,dependencyIndices:N},R,j)=>{const $=j[Symbol.iterator]();const q=N[Symbol.iterator]();let G=$.next();let ie=q.next();if(ie.done)return;for(let N=0;N=ie.value){G=$.next();ie=q.next();if(ie.done)return}if(E[N]===R)return G.value}return undefined};const getMode=(E,N,R)=>{const j=E.getModule(N);if(!j){const E=new ExportMode("missing");E.userRequest=N.userRequest;return E}const q=N.name;const G=Ie(R);const ie=E.getParentModule(N);const ae=E.getExportsInfo(ie);if(q?ae.getUsed(q,G)===$.Unused:ae.isUsed(G)===false){const E=new ExportMode("unused");E.name=q||"*";return E}const ce=j.getExportsType(E,ie.buildMeta.strictHarmonyModule);const le=N.getIds(E);if(q&&le.length>0&&le[0]==="default"){switch(ce){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=q;return E}case"default-only":case"default-with-named":{const E=ae.getReadOnlyExportInfo(q);const N=new ExportMode("reexport-named-default");N.name=q;N.partialNamespaceExportInfo=E;return N}}}if(q){let E;const N=ae.getReadOnlyExportInfo(q);if(le.length>0){switch(ce){case"default-only":E=new ExportMode("reexport-undefined");E.name=q;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(q,le,N,false,false)];break}}else{switch(ce){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=q;E.partialNamespaceExportInfo=N}}return E}const{ignoredExports:_e,exports:Ee,checked:Te,hidden:we}=N.getStarReexports(E,G,ae,j);if(!Ee){const E=new ExportMode("dynamic-reexport");E.ignored=_e;E.hidden=we;return E}if(Ee.size===0){const E=new ExportMode("empty-star");E.hidden=we;return E}const Ne=new ExportMode("normal-reexport");Ne.items=Array.from(Ee,(E=>new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),Te.has(E),false)));if(we!==undefined){for(const E of we){Ne.items.push(new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),false,true))}}return Ne};class HarmonyExportImportedSpecifierDependency extends Me{constructor(E,N,R,j,$,q,G,ie,ae){super(E,N,ae);this.ids=R;this.name=j;this.activeExports=$;this.otherStarExports=q;this.exportPresenceMode=G;this.allStarExports=ie}couldAffectReferencingModule(){return j.TRANSITIVE}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[je]||this.ids}setIds(E,N){E.getMeta(this)[je]=N}getMode(E,N){return E.dependencyCacheProvide(this,we(N),getMode)}getStarReexports(E,N,R=E.getExportsInfo(E.getParentModule(this)),j=E.getModule(this)){const q=E.getExportsInfo(j);const G=q.otherExportsInfo.provided===false;const ie=R.otherExportsInfo.getUsed(N)===$.Unused;const ae=new Set(["default",...this.activeExports]);let ce=undefined;const le=this._discoverActiveExportsFromOtherStarExports(E);if(le!==undefined){ce=new Set;for(let E=0;E{const j=this.getMode(E,R);return j.type!=="unused"&&j.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){const R=this.getMode(E,N);switch(R.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return j.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return j.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo,R.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return j.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:j,exportInfo:$,hidden:q}of R.items){if(q)continue;Le(N,E,j,$,false)}return E}default:throw new Error(`Unknown mode ${R.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const N="length"in this.otherStarExports?this.otherStarExports.length:ce(this.otherStarExports);if(N===0)return undefined;if(this.allStarExports){const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}getExports(E){const N=this.getMode(E,undefined);switch(N.type){case"missing":return undefined;case"dynamic-reexport":{const R=E.getConnection(this);return{exports:true,from:R,canMangle:false,excludeExports:N.hidden?_e(N.ignored,N.hidden):N.ignored,hideExports:N.hidden,dependencies:[R.module]}}case"empty-star":return{exports:[],hideExports:N.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const R=E.getConnection(this);return{exports:Array.from(N.items,(E=>({name:E.name,from:R,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[R.module]}}case"reexport-dynamic-default":{{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}}case"reexport-undefined":return{exports:[N.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null,exports:[{name:"default",canMangle:false,from:R,export:null}]}],priority:1,dependencies:[R.module]}}case"reexport-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null}],priority:1,dependencies:[R.module]}}case"reexport-named-default":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}default:throw new Error(`Unknown mode ${N.type}`)}}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==Be.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?Be.ERROR:Be.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);let R=this.getLinkingErrors(E,N,`(reexported as '${this.name}')`);if(N.length===0&&this.name===null){const N=this._discoverActiveExportsFromOtherStarExports(E);if(N&&N.namesSlice>0){const j=new Set(N.names.slice(N.namesSlice,N.dependencyIndices[N.dependencyIndex]));const $=E.getModule(this);if($){const G=E.getExportsInfo($);const ie=new Map;for(const R of G.orderedExports){if(R.provided!==true)continue;if(R.name==="default")continue;if(this.activeExports.has(R.name))continue;if(j.has(R.name))continue;const q=findDependencyForName(N,R.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!q)continue;const G=R.getTerminalBinding(E);if(!G)continue;const ae=E.getModule(q);if(ae===$)continue;const ce=E.getExportInfo(ae,R.name);const le=ce.getTerminalBinding(E);if(!le)continue;if(G===le)continue;const _e=ie.get(q.request);if(_e===undefined){ie.set(q.request,[R.name])}else{_e.push(R.name)}}for(const[E,N]of ie){if(!R)R=[];R.push(new q(`The requested module '${this.request}' contains conflicting star exports for the ${N.length>1?"names":"name"} ${N.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return R}serialize(E){const{write:N,setCircularReference:R}=E;R(this);N(this.ids);N(this.name);N(this.activeExports);N(this.otherStarExports);N(this.exportPresenceMode);N(this.allStarExports);super.serialize(E)}deserialize(E){const{read:N,setCircularReference:R}=E;R(this);this.ids=N();this.name=N();this.activeExports=N();this.otherStarExports=N();this.exportPresenceMode=N();this.allStarExports=N();super.deserialize(E)}}Ee(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Me.Template{apply(E,N,R){const{moduleGraph:j,runtime:$,concatenationScope:q}=R;const G=E;const ie=G.getMode(j,$);if(q){switch(ie.type){case"reexport-undefined":q.registerRawExport(ie.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ie.type!=="unused"&&ie.type!=="empty-star"){super.apply(E,N,R);this._addExportFragments(R.initFragments,G,ie,R.module,j,$,R.runtimeTemplate,R.runtimeRequirements)}}_addExportFragments(E,N,R,j,$,q,ce,Ee){const Te=$.getModule(N);const we=N.getImportVar($);switch(R.type){case"missing":case"empty-star":E.push(new G("/* empty/unused harmony star reexport */\n",G.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new G(`${ae.toNormalComment(`unused harmony reexport ${R.name}`)}\n`,G.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment(j,"reexport default from dynamic",$.getExportsInfo(j).getUsedName(R.name,q),we,null,Ee));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments(j,$.getExportsInfo(j).getUsedName(R.name,q),we,R.fakeType,Ee));break;case"reexport-undefined":E.push(this.getReexportFragment(j,"reexport non-default export from non-harmony",$.getExportsInfo(j).getUsedName(R.name,q),"undefined","",Ee));break;case"reexport-named-default":E.push(this.getReexportFragment(j,"reexport default export from named module",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Ee));break;case"reexport-namespace-object":E.push(this.getReexportFragment(j,"reexport module object",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Ee));break;case"normal-reexport":for(const{name:ie,ids:ae,checked:ce,hidden:le}of R.items){if(le)continue;if(ce){E.push(new G("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(j,ie,we,ae,Ee),$.isAsync(Te)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder))}else{E.push(this.getReexportFragment(j,"reexport safe",$.getExportsInfo(j).getUsedName(ie,q),we,$.getExportsInfo(Te).getUsedName(ae,q),Ee))}}break;case"dynamic-reexport":{const q=R.hidden?_e(R.ignored,R.hidden):R.ignored;const ae=ce.supportsConst()&&ce.supportsArrowFunction();let Ie="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${we}) `;if(q.size>1){Ie+="if("+JSON.stringify(Array.from(q))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(q.size===1){Ie+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(le(q))}) `}Ie+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Ie+=`() => ${we}[__WEBPACK_IMPORT_KEY__]`}else{Ie+=`function(key) { return ${we}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}Ee.add(ie.exports);Ee.add(ie.definePropertyGetters);const Ne=j.exportsArgument;E.push(new G(`${Ie}\n/* harmony reexport (unknown) */ ${ie.definePropertyGetters}(${Ne}, __WEBPACK_REEXPORT_OBJECT__);\n`,$.isAsync(Te)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder));break}default:throw new Error(`Unknown mode ${R.type}`)}}getReexportFragment(E,N,R,j,$,q){const G=this.getReturnValue(j,$);q.add(ie.exports);q.add(ie.definePropertyGetters);const ae=new Map;ae.set(R,`/* ${N} */ ${G}`);return new Ne(E.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(E,N,R,j,$){$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.createFakeNamespaceObject);const q=new Map;q.set(N,`/* reexport fake namespace object from non-harmony */ ${R}_namespace_cache || (${R}_namespace_cache = ${ie.createFakeNamespaceObject}(${R}${j?`, ${j}`:""}))`);return[new G(`var ${R}_namespace_cache;\n`,G.STAGE_CONSTANTS,-1,`${R}_namespace_cache`),new Ne(E.exportsArgument,q)]}getConditionalReexportStatement(E,N,R,j,$){if(j===false){return"/* unused export */\n"}const q=E.exportsArgument;const G=this.getReturnValue(R,j);$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.hasOwnProperty);return`if(${ie.hasOwnProperty}(${R}, ${JSON.stringify(j[0])})) ${ie.definePropertyGetters}(${q}, { ${JSON.stringify(N)}: function() { return ${G}; } });\n`}getReturnValue(E,N){if(N===null){return`${E}_default.a`}if(N===""){return E}if(N===false){return"/* unused export */ undefined"}return`${E}${Te(N)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:N}){N(this);E(this.dependencies)}deserialize({read:E,setCircularReference:N}){N(this);this.dependencies=E()}}Ee(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const{first:q}=R(26221);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const G=new Map;const ie=new Set;class HarmonyExportInitFragment extends j{constructor(E,N=G,R=ie){super(undefined,j.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=N;this.unusedExports=R}mergeAll(E){let N;let R=false;let j;let $=false;for(const q of E){if(q.exportMap.size!==0){if(N===undefined){N=q.exportMap;R=false}else{if(!R){N=new Map(N);R=true}for(const[E,R]of q.exportMap){if(!N.has(E))N.set(E,R)}}}if(q.unusedExports.size!==0){if(j===undefined){j=q.unusedExports;$=false}else{if(!$){j=new Set(j);$=true}for(const E of q.unusedExports){j.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,N,j)}merge(E){let N;if(this.exportMap.size===0){N=E.exportMap}else if(E.exportMap.size===0){N=this.exportMap}else{N=new Map(E.exportMap);for(const[E,R]of this.exportMap){if(!N.has(E))N.set(E,R)}}let R;if(this.unusedExports.size===0){R=E.unusedExports}else if(E.unusedExports.size===0){R=this.unusedExports}else{R=new Set(E.unusedExports);for(const E of this.unusedExports){R.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,N,R)}getContent({runtimeTemplate:E,runtimeRequirements:N}){N.add($.exports);N.add($.definePropertyGetters);const R=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${q(this.unusedExports)} */\n`:"";const j=[];for(const[N,R]of this.exportMap){j.push(`\n/* harmony export */ ${JSON.stringify(N)}: ${E.returningFunction(R)}`)}const G=this.exportMap.size>0?`/* harmony export */ ${$.definePropertyGetters}(${this.exportsArgument}, {${j.join(",")}\n/* harmony export */ });\n`:"";return`${G}${R}`}}E.exports=HarmonyExportInitFragment},14696:(E,N,R)=>{"use strict";const j=R(56202);const $=R(82296);const q=R(12197);class HarmonyExportSpecifierDependency extends q{constructor(E,N){super();this.id=E;this.name=N}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.id);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.id=N();this.name=N();super.deserialize(E)}}j(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,initFragments:q,runtime:G,concatenationScope:ie}){const ae=E;if(ie){ie.registerExport(ae.name,ae.id);return}const ce=j.getExportsInfo(R).getUsedName(ae.name,G);if(!ce){const E=new Set;E.add(ae.name||"namespace");q.push(new $(R.exportsArgument,undefined,E));return}const le=new Map;le.set(ce,`/* binding */ ${ae.id}`);q.push(new $(R.exportsArgument,le,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,N)=>{"use strict";const R=new WeakMap;N.enable=(E,N)=>{const j=R.get(E);if(j===false)return;R.set(E,true);if(j!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(N){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};N.isEnabled=E=>{const N=R.get(E);return N===true}},37359:(E,N,R)=>{"use strict";const j=R(11518);const $=R(28706);const q=R(36756);const G=R(63272);const ie=R(58159);const ae=R(10813);const{filterRuntime:ce,mergeRuntime:le}=R(37416);const _e=R(79983);const Ee={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(E){switch(E){case"error":return Ee.ERROR;case"warn":return Ee.WARN;case false:return Ee.NONE;default:throw new Error(`Invalid export presence value ${E}`)}}};class HarmonyImportDependency extends _e{constructor(E,N,R){super(E);this.sourceOrder=N;this.assertions=R}get category(){return"esm"}getReferencedExports(E,N){return $.NO_EXPORTS_REFERENCED}getImportVar(E){const N=E.getParentModule(this);const R=E.getMeta(N);let j=R.importVarMap;if(!j)R.importVarMap=j=new Map;let $=j.get(E.getModule(this));if($)return $;$=`${ie.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${j.size}__`;j.set(E.getModule(this),$);return $}getImportStatement(E,{runtimeTemplate:N,module:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){return N.importStatement({update:E,module:j.getModule(this),chunkGraph:$,importVar:this.getImportVar(j),request:this.request,originModule:R,runtimeRequirements:q})}getLinkingErrors(E,N,R){const j=E.getModule(this);if(!j||j.getNumberOfErrors()>0){return}const $=E.getParentModule(this);const G=j.getExportsType(E,$.buildMeta.strictHarmonyModule);if(G==="namespace"||G==="default-with-named"){if(N.length===0){return}if((G!=="default-with-named"||N[0]!=="default")&&E.isExportProvided(j,N)===false){let $=0;let G=E.getExportsInfo(j);while($`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'${j}`)]}G=j.getNestedExportsInfo()}return[new q(`export ${N.map((E=>`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'`)]}}switch(G){case"default-only":if(N.length>0&&N[0]!=="default"){return[new q(`Can't import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(N.length>0&&N[0]!=="default"&&j.buildMeta.defaultObject==="redirect-warn"){return[new q(`Should not import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:N}=E;N(this.sourceOrder);N(this.assertions);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceOrder=N();this.assertions=N();super.deserialize(E)}}E.exports=HarmonyImportDependency;const Te=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends _e.Template{apply(E,N,R){const $=E;const{module:q,chunkGraph:ie,moduleGraph:_e,runtime:Ee}=R;const we=_e.getConnection($);if(we&&!we.isTargetActive(Ee))return;const Ie=we&&we.module;if(we&&we.weak&&Ie&&ie.getModuleId(Ie)===null){return}const Ne=Ie?Ie.identifier():$.request;const Me=`harmony import ${Ne}`;const Le=$.weak?false:we?ce(Ee,(E=>we.isTargetActive(E))):true;if(q&&Ie){let E=Te.get(q);if(E===undefined){E=new WeakMap;Te.set(q,E)}let N=Le;const R=E.get(Ie)||false;if(R!==false&&N!==true){if(N===false||R===true){N=R}else{N=le(R,N)}}E.set(Ie,N)}const Be=$.getImportStatement(false,R);if(Ie&&R.moduleGraph.isAsync(Ie)){R.initFragments.push(new j(Be[0],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le));R.initFragments.push(new ae(new Set([$.getImportVar(R.moduleGraph)])));R.initFragments.push(new j(Be[1],G.STAGE_ASYNC_HARMONY_IMPORTS,$.sourceOrder,Me+" compat",Le))}else{R.initFragments.push(new j(Be[0]+Be[1],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le))}}static getImportEmittedRuntime(E,N){const R=Te.get(E);if(R===undefined)return false;return R.get(N)||false}};E.exports.ExportPresenceModes=Ee},29381:(E,N,R)=>{"use strict";const j=R(79972);const $=R(58018);const q=R(66298);const G=R(27790);const ie=R(80654);const ae=R(25702);const{ExportPresenceModes:ce}=R(37359);const le=R(69707);const _e=R(2230);const Ee=Symbol("harmony import");function getAssertions(E){const N=E.assertions;if(N===undefined){return undefined}const R={};for(const E of N){const N=E.key.type==="Identifier"?E.key.name:E.key.value;R[N]=E.value.value}return R}E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.importExportPresence!==undefined?ce.fromUserOption(E.importExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){const{exportPresenceMode:N}=this;E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(N=>{const R=N;if(E.isVariableDefined(R.name)||E.getTagData(R.name,Ee)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new q(E.isAsiPosition(N.range[0])?";":"",N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);E.unsetAsiPosition(N.range[1]);const $=getAssertions(N);const G=new le(R,E.state.lastHarmonyImportOrder,$);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((N,R,j,$)=>{const q=j===null?[]:[j];E.tagVariable($,Ee,{name:$,source:R,ids:q,sourceOrder:E.state.lastHarmonyImportOrder,assertions:getAssertions(N)});return true}));E.hooks.expression.for(Ee).tap("HarmonyImportDependencyParserPlugin",(R=>{const j=E.currentTagData;const q=new _e(j.source,j.sourceOrder,j.ids,j.name,R.range,N,j.assertions);q.shorthand=E.scope.inShorthand;q.directImport=true;q.asiSafe=!E.isAsiPosition(R.range[0]);q.loc=R.loc;E.state.module.addDependency(q);$.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(Ee).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const q=E.currentTagData;const G=q.ids.concat(j);const ie=new _e(q.source,q.sourceOrder,G,q.name,R.range,N,q.assertions);ie.asiSafe=!E.isAsiPosition(R.range[0]);ie.loc=R.loc;E.state.module.addDependency(ie);$.onUsage(E.state,(E=>ie.usedByExports=E));return true}));E.hooks.callMemberChain.for(Ee).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const{arguments:q,callee:G}=R;const ie=E.currentTagData;const ae=ie.ids.concat(j);const ce=new _e(ie.source,ie.sourceOrder,ae,ie.name,G.range,N,ie.assertions);ce.directImport=j.length===0;ce.call=true;ce.asiSafe=!E.isAsiPosition(G.range[0]);ce.namespaceObjectAsContext=j.length>0&&this.strictThisContextOnImports;ce.loc=G.loc;E.state.module.addDependency(ce);if(q)E.walkExpressions(q);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));const{hotAcceptCallback:R,hotAcceptWithoutCallback:ce}=j.getParserHooks(E);R.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,true);R.loc=N.loc;E.state.module.addDependency(R)}}));ce.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,false);R.loc=N.loc;E.state.module.addDependency(R)}}))}};E.exports.harmonySpecifierTag=Ee;E.exports.getAssertions=getAssertions},69707:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyImportSideEffectDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"harmony side effect evaluation"}getCondition(E){return N=>{const R=N.resolvedModule;if(!R)return true;return R.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const N=E.getModule(this);if(!N)return true;return N.getSideEffectsConnectionState(E)}}j(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends $.Template{apply(E,N,R){const{moduleGraph:j,concatenationScope:$}=R;if($){const N=j.getModule(E);if($.isModuleInScope(N)){return}}super.apply(E,N,R)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,N,R)=>{"use strict";const j=R(28706);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(68038);const ie=R(37359);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:ce}=ie;class HarmonyImportSpecifierDependency extends ie{constructor(E,N,R,j,$,q,G){super(E,N,G);this.ids=R;this.name=j;this.range=$;this.exportPresenceMode=q;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const N=E.getMetaIfExisting(this);if(N===undefined)return this.ids;const R=N[ae];return R!==undefined?R:this.ids}setIds(E,N){E.getMeta(this)[ae]=N}getCondition(E){return $(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){let R=this.getIds(E);if(R.length===0)return j.EXPORTS_OBJECT_REFERENCED;let $=this.namespaceObjectAsContext;if(R[0]==="default"){const N=E.getParentModule(this);const q=E.getModule(this);switch(q.getExportsType(E,N.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(1);$=true;break;case"dynamic":return j.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&($||R.length>1)){if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(0,-1)}return[R]}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==ce.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?ce.ERROR:ce.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);return this.getLinkingErrors(E,N,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:N}=E;N(this.ids);N(this.name);N(this.range);N(this.exportPresenceMode);N(this.namespaceObjectAsContext);N(this.call);N(this.directImport);N(this.shorthand);N(this.asiSafe);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.ids=N();this.name=N();this.range=N();this.exportPresenceMode=N();this.namespaceObjectAsContext=N();this.call=N();this.directImport=N();this.shorthand=N();this.asiSafe=N();this.usedByExports=N();super.deserialize(E)}}q(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ie.Template{apply(E,N,R){const j=E;const{moduleGraph:$,module:q,runtime:ie,concatenationScope:ae}=R;const ce=$.getConnection(j);if(ce&&!ce.isTargetActive(ie))return;const le=j.getIds($);let _e;if(ce&&ae&&ae.isModuleInScope(ce.module)){if(le.length===0){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})}else if(j.namespaceObjectAsContext&&le.length===1){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})+G(le)}else{_e=ae.createModuleReference(ce.module,{ids:le,call:j.call,directImport:j.directImport,asiSafe:j.asiSafe})}}else{super.apply(E,N,R);const{runtimeTemplate:G,initFragments:ae,runtimeRequirements:ce}=R;_e=G.exportFromImport({moduleGraph:$,module:$.getModule(j),request:j.request,exportName:le,originModule:q,asiSafe:j.shorthand?true:j.asiSafe,isCall:j.call,callContext:!j.directImport,defaultInterop:true,importVar:j.getImportVar($),initFragments:ae,runtime:ie,runtimeRequirements:ce})}if(j.shorthand){N.insert(j.range[1],`: ${_e}`)}else{N.replace(j.range[0],j.range[1]-1,_e)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,N,R)=>{"use strict";const j=R(27790);const $=R(80654);const q=R(54290);const G=R(55037);const ie=R(48752);const ae=R(44576);const ce=R(14696);const le=R(69707);const _e=R(2230);const Ee=R(11720);const Te=R(16081);const we=R(29381);const Ie=R(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(le,N);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyTemplates.set(G,new G.Template);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(ae,N);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.harmony!==undefined&&!N.harmony)return;new Ee(this.options).apply(E);new we(N).apply(E);new Te(N).apply(E);(new Ie).apply(E)};N.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);N.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,N,R)=>{"use strict";const j=R(66298);const $=R(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(N=>{if(!E.scope.topLevelScope)return;if($.isEnabled(E.state)){const R=new j("undefined",N.range,null);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class ImportContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=q;E.exports=ImportContextDependency},20013:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ImportDependency extends q{constructor(E,N,R){super(E);this.range=N;this.referencedExports=R}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}$(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.moduleNamespacePromise({chunkGraph:q,block:ae,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ce)}};E.exports=ImportDependency},75708:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportEagerDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"import() eager"}get category(){return"esm"}}j(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportEagerDependency},76302:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}j(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=q;E.exports=ImportMetaHotAcceptDependency},5389:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}j(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=q;E.exports=ImportMetaHotDeclineDependency},38586:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(23280);const q=R(58159);const G=R(87250);const{evaluateToIdentifier:ie,toConstantDependency:ae,evaluateToString:ce,evaluateToNumber:le}=R(48472);const _e=R(91671);const Ee=R(68038);const Te=R(66298);const we=_e((()=>R(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:N})=>{const getUrl=E=>j(E.resource).toString();const parserHandler=(E,N)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",ae(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(N=>{const R=we();E.state.module.addWarning(new $(E.state.module,new R("Accessing import.meta directly is unsupported (only property access is supported)"),N.loc));const j=new Te(`${E.isAsiPosition(N.range[0])?";":""}({})`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",ce("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ie("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",ae(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(N=>{const R=new Te(JSON.stringify(getUrl(E.state.module)),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",ce("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(N=>(new G).setString(getUrl(E.state.module)).setRange(N.range)));const j=parseInt(R(37589).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify(j)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",ce("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",le(j));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((N,R)=>{const j=new Te(`${q.toNormalComment("unsupported import.meta."+R.join("."))} undefined${Ee(R,1)}`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const N=E;if(N.object.type==="MetaProperty"&&N.object.meta.name==="import"&&N.object.property.name==="meta"&&N.property.type===(N.computed?"Literal":"Identifier")){return(new G).setUndefined().setRange(N.range)}}))};N.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);N.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,N,R)=>{"use strict";const j=R(98221);const $=R(47207);const q=R(53558);const G=R(95601);const ie=R(4828);const ae=R(20013);const ce=R(75708);const le=R(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(N=>{const R=E.evaluateExpression(N.source);let _e=null;let Ee="lazy";let Te=null;let we=null;let Ie=null;const Ne={};const{options:Me,errors:Le}=E.parseCommentOptions(N.range);if(Le){for(const N of Le){const{comment:R}=N;E.state.module.addWarning(new $(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(Me){if(Me.webpackIgnore!==undefined){if(typeof Me.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Me.webpackIgnore}.`,N.loc))}else{if(Me.webpackIgnore){return false}}}if(Me.webpackChunkName!==undefined){if(typeof Me.webpackChunkName!=="string"){E.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Me.webpackChunkName}.`,N.loc))}else{_e=Me.webpackChunkName}}if(Me.webpackMode!==undefined){if(typeof Me.webpackMode!=="string"){E.state.module.addWarning(new q(`\`webpackMode\` expected a string, but received: ${Me.webpackMode}.`,N.loc))}else{Ee=Me.webpackMode}}if(Me.webpackPrefetch!==undefined){if(Me.webpackPrefetch===true){Ne.prefetchOrder=0}else if(typeof Me.webpackPrefetch==="number"){Ne.prefetchOrder=Me.webpackPrefetch}else{E.state.module.addWarning(new q(`\`webpackPrefetch\` expected true or a number, but received: ${Me.webpackPrefetch}.`,N.loc))}}if(Me.webpackPreload!==undefined){if(Me.webpackPreload===true){Ne.preloadOrder=0}else if(typeof Me.webpackPreload==="number"){Ne.preloadOrder=Me.webpackPreload}else{E.state.module.addWarning(new q(`\`webpackPreload\` expected true or a number, but received: ${Me.webpackPreload}.`,N.loc))}}if(Me.webpackInclude!==undefined){if(!Me.webpackInclude||Me.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackInclude\` expected a regular expression, but received: ${Me.webpackInclude}.`,N.loc))}else{Te=new RegExp(Me.webpackInclude)}}if(Me.webpackExclude!==undefined){if(!Me.webpackExclude||Me.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackExclude\` expected a regular expression, but received: ${Me.webpackExclude}.`,N.loc))}else{we=new RegExp(Me.webpackExclude)}}if(Me.webpackExports!==undefined){if(!(typeof Me.webpackExports==="string"||Array.isArray(Me.webpackExports)&&Me.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new q(`\`webpackExports\` expected a string or an array of strings, but received: ${Me.webpackExports}.`,N.loc))}else{if(typeof Me.webpackExports==="string"){Ie=[[Me.webpackExports]]}else{Ie=Array.from(Me.webpackExports,(E=>[E]))}}}}if(R.isString()){if(Ee!=="lazy"&&Ee!=="eager"&&Ee!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${Ee}.`,N.loc))}if(Ee==="eager"){const j=new ce(R.string,N.range,Ie);E.state.current.addDependency(j)}else if(Ee==="weak"){const j=new le(R.string,N.range,Ie);E.state.current.addDependency(j)}else{const $=new j({...Ne,name:_e},N.loc,R.string);const q=new ae(R.string,N.range,Ie);q.loc=N.loc;$.addDependency(q);E.state.current.addBlock($)}return true}else{if(Ee!=="lazy"&&Ee!=="lazy-once"&&Ee!=="eager"&&Ee!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${Ee}.`,N.loc));Ee="lazy"}if(Ee==="weak"){Ee="async-weak"}const j=G.create(ie,N.range,R,N,this.options,{chunkName:_e,groupOptions:Ne,include:Te,exclude:we,mode:Ee,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Ie},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}}))}}E.exports=ImportParserPlugin},54975:(E,N,R)=>{"use strict";const j=R(4828);const $=R(20013);const q=R(75708);const G=R(81467);const ie=R(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(q,R);E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(ie,R);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.import!==undefined&&!N.import)return;new G(N).apply(E)};R.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportWeakDependency extends ${constructor(E,N,R){super(E,N,R);this.weak=true}get type(){return"import() weak"}}j(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportWeakDependency},38895:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,N)=>({name:`${N}`,canMangle:true,exports:getExportsFromData(E)})))}else{const N=[];for(const R of Object.keys(E)){N.push({name:R,canMangle:true,exports:getExportsFromData(E[R])})}return N}}return undefined};class JsonExportsDependency extends ${constructor(E){super();this.exports=E;this._hashUpdate=undefined}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.exports?JSON.stringify(this.exports):"undefined"}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.exports);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();super.deserialize(E)}}j(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,N,R)=>{"use strict";const j=R(79983);class LoaderDependency extends j{constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,N,R)=>{"use strict";const j=R(79983);class LoaderImportDependency extends j{constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,N,R)=>{"use strict";const j=R(53520);const $=R(83379);const q=R(32876);const G=R(79486);class LoaderPlugin{constructor(E={}){}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set(G,N)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const N=E.moduleGraph;j.getCompilationHooks(E).loader.tap("LoaderPlugin",(R=>{R.loadModule=(j,G)=>{const ie=new q(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return G(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,context:R.context,recursive:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return G(j)}const q=N.getModule(ie);if(!q){return G(new Error("Cannot load the module"))}if(q.getNumberOfErrors()>0){return G(new Error("The loaded module contains errors"))}const ae=q.originalSource();if(!ae){return G(new Error("The module created for a LoaderDependency must have an original source"))}let ce,le;if(ae.sourceAndMap){const E=ae.sourceAndMap();le=E.map;ce=E.source}else{le=ae.map();ce=ae.source()}const _e=new $;const Ee=new $;const Te=new $;const we=new $;q.addCacheDependencies(_e,Ee,Te,we);for(const E of _e){R.addDependency(E)}for(const E of Ee){R.addContextDependency(E)}for(const E of Te){R.addMissingDependency(E)}for(const E of we){R.addBuildDependency(E)}return G(null,ce,le,q)}))};const importModule=(j,$,q)=>{const ie=new G(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return q(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,contextInfo:{issuerLayer:$.layer},context:R.context,connectOrigin:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return q(j)}const G=N.getModule(ie);if(!G){return q(new Error("Cannot load the module"))}E.executeModule(G,{entryOptions:{publicPath:$.publicPath}},((E,N)=>{if(E)return q(E);for(const E of N.fileDependencies){R.addDependency(E)}for(const E of N.contextDependencies){R.addContextDependency(E)}for(const E of N.missingDependencies){R.addMissingDependency(E)}for(const E of N.buildDependencies){R.addBuildDependency(E)}if(N.cacheable===false)R.cacheable(false);for(const[E,{source:j,info:$}]of N.assets){const{buildInfo:N}=R._module;if(!N.assets){N.assets=Object.create(null);N.assetsInfo=new Map}N.assets[E]=j;N.assetsInfo.set(E,$)}q(null,N.exports)}))}))};R.importModule=(E,N,R)=>{if(!R){return new Promise(((R,j)=>{importModule(E,N||{},((E,N)=>{if(E)j(E);else R(N)}))}))}return importModule(E,N||{},R)}}))}))}}E.exports=LoaderPlugin},77230:(E,N,R)=>{"use strict";const j=R(56202);class LocalModule{constructor(E,N){this.name=E;this.idx=N;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:N}=E;N(this.name);N(this.idx);N(this.used)}deserialize(E){const{read:N}=E;this.name=N();this.idx=N();this.used=N()}}j(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class LocalModuleDependency extends ${constructor(E,N,R){super();this.localModule=E;this.range=N;this.callNew=R}serialize(E){const{write:N}=E;N(this.localModule);N(this.range);N(this.callNew);super.serialize(E)}deserialize(E){const{read:N}=E;this.localModule=N();this.range=N();this.callNew=N();super.deserialize(E)}}j(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(!j.range)return;const $=j.callNew?`new (function () { return ${j.localModule.variableName()}; })()`:j.localModule.variableName();N.replace(j.range[0],j.range[1]-1,$)}};E.exports=LocalModuleDependency},61701:(E,N,R)=>{"use strict";const j=R(77230);const lookup=(E,N)=>{if(N.charAt(0)!==".")return N;var R=E.split("/");var j=N.split("/");R.pop();for(let E=0;E{if(!E.localModules){E.localModules=[]}const R=new j(N,E.localModules.length);E.localModules.push(R);return R};N.getLocalModule=(E,N,R)=>{if(!E.localModules)return null;if(R){N=lookup(R,N)}for(let R=0;R{"use strict";const j=R(28706);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class ModuleDecoratorDependency extends ie{constructor(E,N){super();this.decorator=E;this.allowExportsAccess=N;this._hashUpdate=undefined}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return this.allowExportsAccess?j.EXPORTS_OBJECT_REFERENCED:j.NO_EXPORTS_REFERENCED}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=`${this.decorator}${this.allowExportsAccess}`}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.decorator);N(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:N}=E;this.decorator=N();this.allowExportsAccess=N();super.deserialize(E)}}G(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ie.Template{apply(E,N,{module:R,chunkGraph:j,initFragments:G,runtimeRequirements:ie}){const ae=E;ie.add(q.moduleLoaded);ie.add(q.moduleId);ie.add(q.module);ie.add(ae.decorator);G.push(new $(`/* module decorator */ ${R.moduleArgument} = ${ae.decorator}(${R.moduleArgument});\n`,$.STAGE_PROVIDES,0,`module decorator ${j.getModuleId(R)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(91671);const G=q((()=>R(22804)));class ModuleDependency extends j{constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined;this.assertions=undefined}getResourceIdentifier(){let E=`module${this.request}`;if(this.assertions!==undefined){E+=JSON.stringify(this.assertions)}return E}couldAffectReferencingModule(){return true}createIgnoredModule(E){const N=G();return new N("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:N}=E;N(this.request);N(this.userRequest);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.userRequest=N();this.range=N();super.deserialize(E)}}ModuleDependency.Template=$;E.exports=ModuleDependency},80791:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$}){const q=E;if(!q.range)return;const G=R.moduleId({module:j.getModule(q),chunkGraph:$,request:q.request,weak:q.weak});N.replace(q.range[0],q.range[1]-1,G)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsRequireId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;if(!G.range)return;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});N.replace(G.range[0],G.range[1]-1,ie)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}j(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=q;E.exports=ModuleHotAcceptDependency},73158:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}j(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=q;E.exports=ModuleHotDeclineDependency},12197:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);class NullDependency extends j{get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends ${apply(E,N,R){}};E.exports=NullDependency},88281:(E,N,R)=>{"use strict";const j=R(79983);class PrefetchDependency extends j{constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends q{constructor(E,N,R,j){super(E);this.identifier=N;this.path=R;this.range=j;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.path?this.path.join(","):"null")}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.identifier);N(this.path);super.serialize(E)}deserialize(E){const{read:N}=E;this.identifier=N();this.path=N();super.deserialize(E)}}$(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,initFragments:G,runtimeRequirements:ie}){const ae=E;G.push(new j(`/* provided dependency */ var ${ae.identifier} = ${R.moduleExports({module:$.getModule(ae),chunkGraph:q,request:ae.request,runtimeRequirements:ie})}${pathToString(ae.path)};\n`,j.STAGE_PROVIDES,1,`provided ${ae.identifier}`));N.replace(ae.range[0],ae.range[1]-1,ae.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const{filterRuntime:q}=R(37416);const G=R(12197);class PureExpressionDependency extends G{constructor(E){super();this.range=E;this.usedByExports=false;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.usedByExports=N();super.deserialize(E)}}$(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends G.Template{apply(E,N,{chunkGraph:R,moduleGraph:$,runtime:G,runtimeTemplate:ie,runtimeRequirements:ae}){const ce=E;const le=ce.usedByExports;if(le!==false){const E=$.getParentModule(ce);const _e=$.getExportsInfo(E);const Ee=q(G,(E=>{for(const N of le){if(_e.getUsed(N,E)!==j.Unused){return true}}return false}));if(Ee===true)return;if(Ee!==false){const E=ie.runtimeConditionExpression({chunkGraph:R,runtime:G,runtimeCondition:Ee,runtimeRequirements:ae});N.insert(ce.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);N.insert(ce.range[1],") : null)");return}}N.insert(ce.range[0],`(/* unused pure expression or super */ null && (`);N.insert(ce.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(87283);class RequireContextDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"require.context"}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();super.deserialize(E)}}j(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=q;E.exports=RequireContextDependency},38947:(E,N,R)=>{"use strict";const j=R(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(N=>{let R=/^\.\/.*$/;let $=true;let q="sync";switch(N.arguments.length){case 4:{const R=E.evaluateExpression(N.arguments[3]);if(!R.isString())return;q=R.string}case 3:{const j=E.evaluateExpression(N.arguments[2]);if(!j.isRegExp())return;R=j.regExp}case 2:{const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;$=R.bool}case 1:{const G=E.evaluateExpression(N.arguments[0]);if(!G.isString())return;const ie=new j({request:G.string,recursive:$,regExp:R,mode:q,category:"commonjs"},N.range);ie.loc=N.loc;ie.optional=!!E.scope.inTry;E.state.current.addDependency(ie);return true}}}))}}},67634:(E,N,R)=>{"use strict";const{cachedSetProperty:j}=R(90149);const $=R(90872);const q=R(19204);const G=R(38947);const ie={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((N,{contextModuleFactory:R,normalModuleFactory:ae})=>{N.dependencyFactories.set(q,R);N.dependencyTemplates.set(q,new q.Template);N.dependencyFactories.set($,ae);const handler=(E,N)=>{if(N.requireContext!==undefined&&!N.requireContext)return;(new G).apply(E)};ae.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);R.hooks.alternativeRequests.tap("RequireContextPlugin",((N,R)=>{if(N.length===0)return N;const $=E.resolverFactory.get("normal",j(R.resolveOptions||ie,"dependencyType",R.category)).options;let q;if(!$.fullySpecified){q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.extensions){if(N.endsWith(E)){q.push({context:R,request:N.slice(0,-E.length)})}}if(!$.enforceExtension){q.push(E)}}N=q;q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.mainFiles){if(N.endsWith(`/${E}`)){q.push({context:R,request:N.slice(0,-E.length)});q.push({context:R,request:N.slice(0,-E.length-1)})}}q.push(E)}N=q}q=[];for(const E of N){let N=false;for(const R of $.modules){if(Array.isArray(R)){for(const j of R){if(E.request.startsWith(`./${j}/`)){q.push({context:E.context,request:E.request.slice(j.length+3)});N=true}}}else{const N=R.replace(/\\/g,"/");const j=E.context.replace(/\\/g,"/")+E.request.slice(1);if(j.startsWith(N)){q.push({context:E.context,request:j.slice(N.length+1)})}}}if(!N){q.push(E)}}return q}))}))}}E.exports=RequireContextPlugin},15196:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class RequireEnsureDependenciesBlock extends j{constructor(E,N){super(E,N,null)}}$(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,N,R)=>{"use strict";const j=R(15196);const $=R(15427);const q=R(81058);const G=R(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(N=>{let R=null;let ie=null;let ae=null;switch(N.arguments.length){case 4:{const j=E.evaluateExpression(N.arguments[3]);if(!j.isString())return;R=j.string}case 3:{ie=N.arguments[2];ae=G(ie);if(!ae&&!R){const j=E.evaluateExpression(N.arguments[2]);if(!j.isString())return;R=j.string}}case 2:{const ce=E.evaluateExpression(N.arguments[0]);const le=ce.isArray()?ce.items:[ce];const _e=N.arguments[1];const Ee=G(_e);if(Ee){E.walkExpressions(Ee.expressions)}if(ae){E.walkExpressions(ae.expressions)}const Te=new j(R,N.loc);const we=N.arguments.length===4||!R&&N.arguments.length===3;const Ie=new $(N.range,N.arguments[1].range,we&&N.arguments[2].range);Ie.loc=N.loc;Te.addDependency(Ie);const Ne=E.state.current;E.state.current=Te;try{let R=false;E.inScope([],(()=>{for(const E of le){if(E.isString()){const R=new q(E.string);R.loc=E.loc||N.loc;Te.addDependency(R)}else{R=true}}}));if(R){return}if(Ee){if(Ee.fn.body.type==="BlockStatement"){E.walkStatement(Ee.fn.body)}else{E.walkExpression(Ee.fn.body)}}Ne.addBlock(Te)}finally{E.state.current=Ne}if(!Ee){E.walkExpression(_e)}if(ae){if(ae.fn.body.type==="BlockStatement"){E.walkStatement(ae.fn.body)}else{E.walkExpression(ae.fn.body)}}else if(ie){E.walkExpression(ie)}return true}}}))}}},15427:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireEnsureDependency extends q{constructor(E,N,R){super();this.range=E;this.contentRange=N;this.errorHandlerRange=R}get type(){return"require.ensure"}serialize(E){const{write:N}=E;N(this.range);N(this.contentRange);N(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.contentRange=N();this.errorHandlerRange=N();super.deserialize(E)}}$(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"require.ensure",runtimeRequirements:G});const le=ie.range;const _e=ie.contentRange;const Ee=ie.errorHandlerRange;N.replace(le[0],_e[0]-1,`${ce}.then((`);if(Ee){N.replace(_e[1],Ee[0]-1,").bind(null, __webpack_require__))['catch'](");N.replace(Ee[1],le[1]-1,")")}else{N.replace(_e[1],le[1]-1,`).bind(null, __webpack_require__))['catch'](${j.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(12197);class RequireEnsureItemDependency extends ${constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}j(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=q.Template;E.exports=RequireEnsureItemDependency},51727:(E,N,R)=>{"use strict";const j=R(15427);const $=R(81058);const q=R(90616);const{evaluateToString:G,toConstantDependency:ie}=R(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireEnsure!==undefined&&!N.requireEnsure)return;(new q).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",G("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ie(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireHeaderDependency extends q{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireHeaderDependency(E.read());N.deserialize(E);return N}}$(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.require);N.replace($.range[0],$.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class RequireIncludeDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}q(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R}){const j=E;const q=R.outputOptions.pathinfo?$.toComment(`require.include ${R.requestShortener.shorten(j.request)}`):"";N.replace(j.range[0],j.range[1]-1,`undefined${q}`)}};E.exports=RequireIncludeDependency},1913:(E,N,R)=>{"use strict";const j=R(81627);const{evaluateToString:$,toConstantDependency:q}=R(48472);const G=R(56202);const ie=R(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:N}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(R=>{if(R.arguments.length!==1)return;const j=E.evaluateExpression(R.arguments[0]);if(!j.isString())return;if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}const $=new ie(j.string,R.range);$.loc=R.loc;E.state.current.addDependency($);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return $("function")(R)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return q(E,JSON.stringify("function"))(R)}))}};class RequireIncludeDeprecationWarning extends j{constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}G(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,N,R)=>{"use strict";const j=R(63556);const $=R(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireInclude===false)return;const R=N.requireInclude===undefined;new $(R).apply(E)};N.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(94148);class RequireResolveContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=q;E.exports=RequireResolveContextDependency},76913:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);const G=R(80791);class RequireResolveDependency extends q{constructor(E,N){super(E);this.range=N}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}}$(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=G;E.exports=RequireResolveDependency},23380:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RequireResolveHeaderDependency extends ${constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireResolveHeaderDependency(E.read());N.deserialize(E);return N}}j(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends $.Template{apply(E,N,R){const j=E;N.replace(j.range[0],j.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,N,R){R.replace(N.range[0],N.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RuntimeRequirementsDependency extends ${constructor(E){super();this.runtimeRequirements=new Set(E);this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.runtimeRequirements=N();super.deserialize(E)}}j(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends $.Template{apply(E,N,{runtimeRequirements:R}){const j=E;for(const E of j.runtimeRequirements){R.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class StaticExportsDependency extends ${constructor(E,N){super();this.exports=E;this.canMangle=N}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:N}=E;N(this.exports);N(this.canMangle);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();this.canMangle=N();super.deserialize(E)}}j(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const{evaluateToString:q,expressionIsUnsupported:G,toConstantDependency:ie}=R(48472);const ae=R(56202);const ce=R(66298);const le=R(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:N})=>{E.hooks.runtimeRequirementInModule.for(j.system).tap("SystemPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.system).tap("SystemPlugin",((N,R)=>{E.addRuntimeModule(N,new le)}));const handler=(E,N)=>{if(N.system===undefined||!N.system){return}const setNotSupported=N=>{E.hooks.evaluateTypeof.for(N).tap("SystemPlugin",q("undefined"));E.hooks.expression.for(N).tap("SystemPlugin",G(E,N+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",q("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ie(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(N=>{const R=new ce(j.system,N.range,[j.system]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(N=>{E.state.module.addWarning(new SystemImportDeprecationWarning(N.loc));return E.hooks.importCall.call({type:"ImportExpression",source:N.arguments[0],loc:N.loc,range:N.range})}))};N.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends ${constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}ae(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class SystemRuntimeModule extends ${constructor(){super("system")}generate(){return q.asString([`${j.system} = {`,q.indent(["import: function () {",q.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,N,R)=>{"use strict";const j=R(76150);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(91671);const ie=R(79983);const ae=G((()=>R(22804)));class URLDependency extends ie{constructor(E,N,R,j){super(E);this.range=N;this.outerRange=R;this.relative=j||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return $(this,this.usedByExports,E)}createIgnoredModule(E){const N=ae();return new N('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([j.module]))}serialize(E){const{write:N}=E;N(this.outerRange);N(this.relative);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.relative=N();this.usedByExports=N();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ie.Template{apply(E,N,R){const{chunkGraph:$,moduleGraph:q,runtimeRequirements:G,runtimeTemplate:ie,runtime:ae}=R;const ce=E;const le=q.getConnection(ce);if(le&&!le.isTargetActive(ae)){N.replace(ce.outerRange[0],ce.outerRange[1]-1,"/* unused asset import */ undefined");return}G.add(j.require);if(ce.relative){G.add(j.relativeUrl);N.replace(ce.outerRange[0],ce.outerRange[1]-1,`/* asset import */ new ${j.relativeUrl}(${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})})`)}else{G.add(j.baseURI);N.replace(ce.range[0],ce.range[1]-1,`/* asset import */ ${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})}, ${j.baseURI}`)}}};q(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,N,R)=>{"use strict";const{approve:j}=R(48472);const $=R(58018);const q=R(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyTemplates.set(q,new q.Template);const parserCallback=(E,N)=>{if(N.url===false)return;const R=N.url==="relative";const getUrlRequest=N=>{if(N.arguments.length!==2)return;const[R,j]=N.arguments;if(j.type!=="MemberExpression"||R.type==="SpreadElement")return;const $=E.extractMemberExpressionChain(j);if($.members.length!==1||$.object.type!=="MetaProperty"||$.object.meta.name!=="import"||$.object.property.name!=="meta"||$.members[0]!=="url")return;const q=E.evaluateExpression(R).asString();return q};E.hooks.canRename.for("URL").tap("URLPlugin",j);E.hooks.new.for("URL").tap("URLPlugin",(N=>{const j=N;const G=getUrlRequest(j);if(!G)return;const[ie,ae]=j.arguments;const ce=new q(G,[ie.range[0],ae.range[1]],j.range,R);ce.loc=j.loc;E.state.module.addDependency(ce);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(N=>{const R=N;const{callee:j}=R;if(j.type!=="Identifier")return;const $=E.getFreeInfoFromVariable(j.name);if(!$||$.name!=="URL")return;const q=getUrlRequest(R);if(q)return true}))};N.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);N.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class UnsupportedDependency extends ${constructor(E,N){super();this.request=E;this.range=N}serialize(E){const{write:N}=E;N(this.request);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.range=N();super.deserialize(E)}}j(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R}){const j=E;N.replace(j.range[0],j.range[1],R.missingModule({request:j.request}))}};E.exports=UnsupportedDependency},30697:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class WebAssemblyExportImportedDependency extends q{constructor(E,N,R,j){super(N);this.exportName=E;this.name=R;this.valueType=j}couldAffectReferencingModule(){return j.TRANSITIVE}getReferencedExports(E,N){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:N}=E;N(this.exportName);N(this.name);N(this.valueType);super.serialize(E)}deserialize(E){const{read:N}=E;this.exportName=N();this.name=N();this.valueType=N();super.deserialize(E)}}$(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,N,R)=>{"use strict";const j=R(56202);const $=R(59422);const q=R(79983);class WebAssemblyImportDependency extends q{constructor(E,N,R,j){super(E);this.name=N;this.description=R;this.onlyDirectImport=j}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,N){return[[this.name]]}getErrors(E){const N=E.getModule(this);if(this.onlyDirectImport&&N&&!N.type.startsWith("webassembly")){return[new $(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:N}=E;N(this.name);N(this.description);N(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:N}=E;this.name=N();this.description=N();this.onlyDirectImport=N();super.deserialize(E)}}j(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class WebpackIsIncludedDependency extends G{constructor(E,N){super(E);this.weak=true;this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}q(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R,chunkGraph:j,moduleGraph:q}){const G=E;const ie=q.getConnection(G);const ae=ie?j.getNumberOfModuleChunks(ie.module)>0:false;const ce=R.outputOptions.pathinfo?$.toComment(`__webpack_is_included__ ${R.requestShortener.shorten(G.request)}`):"";N.replace(G.range[0],G.range[1]-1,`${ce}${JSON.stringify(ae)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,N,R)=>{"use strict";const j=R(28706);const $=R(76150);const q=R(56202);const G=R(79983);class WorkerDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends G.Template{apply(E,N,R){const{chunkGraph:j,moduleGraph:q,runtimeRequirements:G}=R;const ie=E;const ae=q.getParentBlock(E);const ce=j.getBlockChunkGroup(ae);const le=ce.getEntrypointChunk();G.add($.publicPath);G.add($.baseURI);G.add($.getChunkScriptFilename);N.replace(ie.range[0],ie.range[1]-1,`/* worker import */ ${$.publicPath} + ${$.getChunkScriptFilename}(${JSON.stringify(le.id)}), ${$.baseURI}`)}};q(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(98221);const q=R(47207);const G=R(53558);const ie=R(50369);const{equals:ae}=R(73910);const ce=R(35891);const{contextify:le}=R(49197);const _e=R(69085);const Ee=R(66298);const Te=R(7257);const{harmonySpecifierTag:we}=R(29381);const Ie=R(89017);const getUrl=E=>j(E.resource).toString();const Ne=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Me=new WeakMap;class WorkerPlugin{constructor(E,N,R){this._chunkLoading=E;this._wasmLoading=N;this._module=R}apply(E){if(this._chunkLoading){new ie(this._chunkLoading).apply(E)}if(this._wasmLoading){new _e(this._wasmLoading).apply(E)}const N=le.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(Te,new Te.Template);const parseModuleUrl=(E,N)=>{if(N.type!=="NewExpression"||N.callee.type==="Super"||N.arguments.length!==2)return;const[R,j]=N.arguments;if(R.type==="SpreadElement")return;if(j.type==="SpreadElement")return;const $=E.evaluateExpression(N.callee);if(!$.isIdentifier()||$.identifier!=="URL")return;const q=E.evaluateExpression(j);if(!q.isString()||!q.string.startsWith("file://")||q.string!==getUrl(E.state.module)){return}const G=E.evaluateExpression(R);return[G,[R.range[0],j.range[1]]]};const parseObjectExpression=(E,N)=>{const R={};const j={};const $=[];let q=false;for(const G of N.properties){if(G.type==="SpreadElement"){q=true}else if(G.type==="Property"&&!G.method&&!G.computed&&G.key.type==="Identifier"){j[G.key.name]=G.value;if(!G.shorthand&&!G.value.type.endsWith("Pattern")){const N=E.evaluateExpression(G.value);if(N.isCompileTimeValue())R[G.key.name]=N.asCompileTimeValue()}}else{$.push(G)}}const G=N.properties.length>0?"comma":"single";const ie=N.properties[N.properties.length-1].range[1];return{expressions:j,otherElements:$,values:R,spread:q,insertType:G,insertLocation:ie}};const parserPlugin=(R,j)=>{if(j.worker===false)return;const ie=!Array.isArray(j.worker)?["..."]:j.worker;const handleNewWorker=j=>{if(j.arguments.length===0||j.arguments.length>2)return;const[ie,ae]=j.arguments;if(ie.type==="SpreadElement")return;if(ae&&ae.type==="SpreadElement")return;const le=parseModuleUrl(R,ie);if(!le)return;const[_e,we]=le;if(!_e.isString())return;const{expressions:Ne,otherElements:Le,values:Be,spread:je,insertType:Ue,insertLocation:ze}=ae&&ae.type==="ObjectExpression"?parseObjectExpression(R,ae):{expressions:{},otherElements:[],values:{},spread:false,insertType:ae?"spread":"argument",insertLocation:ae?ae.range:ie.range[1]};const{options:We,errors:Je}=R.parseCommentOptions(j.range);if(Je){for(const E of Je){const{comment:N}=E;R.state.module.addWarning(new q(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${E.message}`,N.loc))}}let Ve={};if(We){if(We.webpackIgnore!==undefined){if(typeof We.webpackIgnore!=="boolean"){R.state.module.addWarning(new G(`\`webpackIgnore\` expected a boolean, but received: ${We.webpackIgnore}.`,j.loc))}else{if(We.webpackIgnore){return false}}}if(We.webpackEntryOptions!==undefined){if(typeof We.webpackEntryOptions!=="object"||We.webpackEntryOptions===null){R.state.module.addWarning(new G(`\`webpackEntryOptions\` expected a object, but received: ${We.webpackEntryOptions}.`,j.loc))}else{Object.assign(Ve,We.webpackEntryOptions)}}if(We.webpackChunkName!==undefined){if(typeof We.webpackChunkName!=="string"){R.state.module.addWarning(new G(`\`webpackChunkName\` expected a string, but received: ${We.webpackChunkName}.`,j.loc))}else{Ve.name=We.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(Ve,"name")&&Be&&typeof Be.name==="string"){Ve.name=Be.name}if(Ve.runtime===undefined){let j=Me.get(R.state)||0;Me.set(R.state,j+1);let $=`${N(R.state.module.identifier())}|${j}`;const q=ce(E.outputOptions.hashFunction);q.update($);const G=q.digest(E.outputOptions.hashDigest);Ve.runtime=G.slice(0,E.outputOptions.hashDigestLength)}const qe=new $({name:Ve.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...Ve}});qe.loc=j.loc;const He=new Ie(_e.string,we);He.loc=j.loc;qe.addDependency(He);R.state.module.addBlock(qe);if(E.outputOptions.trustedTypes){const E=new Te(j.arguments[0].range);E.loc=j.loc;R.state.module.addDependency(E)}if(Ne.type){const E=Ne.type;if(Be.type!==false){const N=new Ee(this._module?'"module"':"undefined",E.range);N.loc=E.loc;R.state.module.addPresentationalDependency(N);Ne.type=undefined}}else if(Ue==="comma"){if(this._module||je){const E=new Ee(`, type: ${this._module?'"module"':"undefined"}`,ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}else if(Ue==="spread"){const E=new Ee("Object.assign({}, ",ze[0]);const N=new Ee(`, { type: ${this._module?'"module"':"undefined"} })`,ze[1]);E.loc=j.loc;N.loc=j.loc;R.state.module.addPresentationalDependency(E);R.state.module.addPresentationalDependency(N)}else if(Ue==="argument"){if(this._module){const E=new Ee(', { type: "module" }',ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}R.walkExpression(j.callee);for(const E of Object.keys(Ne)){if(Ne[E])R.walkExpression(Ne[E])}for(const E of Le){R.walkProperty(E)}if(Ue==="spread"){R.walkExpression(ae)}return true};const processItem=E=>{if(E.endsWith("()")){R.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const N=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(N){const E=N[1].split(".");const j=N[2];const $=N[3];(j?R.hooks.call:R.hooks.new).for(we).tap("WorkerPlugin",(N=>{const j=R.currentTagData;if(!j||j.source!==$||!ae(j.ids,E)){return}return handleNewWorker(N)}))}else{R.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ie){if(E==="..."){Ne.forEach(processItem)}else processItem(E)}};R.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);R.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const processExportInfo=(E,N,R,$,q=false,G=new Set)=>{if(!$){N.push(R);return}const ie=$.getUsed(E);if(ie===j.Unused)return;if(G.has($)){N.push(R);return}G.add($);if(ie!==j.OnlyPropertiesUsed||!$.exportsInfo||$.exportsInfo.otherExportsInfo.getUsed(E)!==j.Unused){G.delete($);N.push(R);return}const ae=$.exportsInfo;for(const j of ae.orderedExports){processExportInfo(E,N,q&&j.name==="default"?R:R.concat(j.name),j,false,G)}G.delete($)};E.exports=processExportInfo},25726:(E,N,R)=>{"use strict";const j=R(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new j("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new j("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new j("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,N,R)=>{"use strict";const j=R(81627);class BuildCycleError extends j{constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,N,R)=>{"use strict";const j=R(66804);class ExportWebpackRequireRuntimeModule extends j{constructor(){super("export webpack runtime",j.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const{RuntimeGlobals:q}=R(86443);const G=R(22352);const ie=R(58159);const{getCompilationHooks:ae,getChunkFilenameTemplate:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((N,R)=>{if(N.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(N)>0){R.add(q.require);R.add(q.startupEntrypoint);R.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("ModuleChunkFormatPlugin",((R,ae)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:Te}=ae;const we=_e instanceof G?_e:null;const Ie=new j;if(we){throw new Error("HMR is not implemented for module chunk format yet")}else{Ie.add(`export const id = ${JSON.stringify(_e.id)};\n`);Ie.add(`export const ids = ${JSON.stringify(_e.ids)};\n`);Ie.add(`export const modules = `);Ie.add(R);Ie.add(`;\n`);const G=Ee.getChunkRuntimeModulesInOrder(_e);if(G.length>0){Ie.add("export const runtime =\n");Ie.add(ie.renderChunkRuntimeModules(G,ae))}const we=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(we.length>0){const R=we[0][1].getRuntimeChunk();const G=E.getPath(ce(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const ie=E.getPath(ce(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");const Ne=G.pop();while(G.length>0&&ie.length>0&&G[0]===ie[0]){G.shift();ie.shift()}const Me=(G.length>0?"../".repeat(G.length):"./")+ie.join("/");const Le=new j;Le.add(Ie);Le.add(";\n\n// load runtime\n");Le.add(`import __webpack_require__ from ${JSON.stringify(Me)};\n`);Le.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Ne)};\n`);Le.add(`${q.externalInstallChunk}(__webpack_self_exports__);\n`);const Be=new $(le(Ee,Te,we,_e,false));Le.add(N.renderStartup.call(Be,we[we.length-1][0],{...ae,inlined:false}));return Le}}return Ie}));N.chunkHash.tap("ModuleChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update("ModuleChunkFormatPlugin");N.update("1");const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,N,R)=>{"use strict";const j=R(76150);const $=R(33228);const q=R(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading||N;return j==="import"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);E.addRuntimeModule(N,new q($))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;E.addRuntimeModule(N,new $)}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const{getChunkFilenameTemplate:ae,chunkHasJs:ce}=R(18161);const{getInitialChunkIds:le}=R(13085);const _e=R(87274);const{getUndoPath:Ee}=R(49197);const Te=new WeakMap;class ModuleChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Te.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};Te.set(E,N)}return N}constructor(E){super("import chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:N}=this;const{runtimeTemplate:R,chunkGraph:j,outputOptions:{importFunctionName:$,importMetaName:G}}=E;const Te=q.ensureChunkHandlers;const we=this._runtimeRequirements.has(q.baseURI);const Ie=this._runtimeRequirements.has(q.externalInstallChunk);const Ne=this._runtimeRequirements.has(q.ensureChunkHandlers);const Me=this._runtimeRequirements.has(q.onChunksLoaded);const Le=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const Be=j.getChunkConditionMap(N,ce);const je=_e(Be);const Ue=le(N,j);const ze=this.compilation.getPath(ae(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const We=Ee(ze,this.compilation.outputOptions.path,true);const Je=Le?`${q.hmrRuntimeStatePrefix}_module`:undefined;return ie.asString([we?ie.asString([`${q.baseURI} = new URL(${JSON.stringify(We)}, ${G}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Je?`${Je} = ${Je} || `:""}{`,ie.indent(Array.from(Ue,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ne||Ie?`var installChunk = ${R.basicFunction("data",[R.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ie.indent([`if(${q.hasOwnProperty}(modules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ie.indent(["chunkId = ids[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Me?`${q.onChunksLoaded}();`:""])}`:"// no install chunk","",Ne?ie.asString([`${Te}.j = ${R.basicFunction("chunkId, promises",je!==false?ie.indent(["// import() chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[1]);"]),"} else {",ie.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = ${$}(${JSON.stringify(We)} + ${q.getChunkScriptFilename}(chunkId)).then(installChunk, ${R.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${R.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ie?ie.asString([`${q.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?`${q.onChunksLoaded}.j = ${R.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;E.exports=function(){var E={};var ae=R;var ce;var le=[];var _e=[];var Ee="idle";var Te;var we;var Ie;j=E;N.push((function(E){var N=E.module;var R=createRequire(E.require,E.id);N.hot=createModuleHotObject(E.id,N);N.parents=le;N.children=[];le=[];E.require=R}));q={};G={};function createRequire(E,N){var R=ae[N];if(!R)return E;var fn=function(j){if(R.hot.active){if(ae[j]){var $=ae[j].parents;if($.indexOf(N)===-1){$.push(N)}}else{le=[N];ce=j}if(R.children.indexOf(j)===-1){R.children.push(j)}}else{console.warn("[HMR] unexpected require("+j+") from disposed module "+N);le=[]}return E(j)};var createPropertyDescriptor=function(N){return{configurable:true,enumerable:true,get:function(){return E[N]},set:function(R){E[N]=R}}};for(var j in E){if(Object.prototype.hasOwnProperty.call(E,j)&&j!=="e"){Object.defineProperty(fn,j,createPropertyDescriptor(j))}}fn.e=function(N){return trackBlockingPromise(E.e(N))};return fn}function createModuleHotObject(N,R){var j=ce!==N;var $={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:j,_requireSelf:function(){le=R.parents.slice();ce=j?undefined:N;ie(N)},active:true,accept:function(E,N,R){if(E===undefined)$._selfAccepted=true;else if(typeof E==="function")$._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var j=0;j=0)$._disposeHandlers.splice(N,1)},invalidate:function(){this._selfInvalidated=true;switch(Ee){case"idle":we=[];Object.keys(G).forEach((function(E){G[E](N,we)}));setStatus("ready");break;case"ready":Object.keys(G).forEach((function(E){G[E](N,we)}));break;case"prepare":case"check":case"dispose":case"apply":(Ie=Ie||[]).push(N);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return Ee;_e.push(E)},addStatusHandler:function(E){_e.push(E)},removeStatusHandler:function(E){var N=_e.indexOf(E);if(N>=0)_e.splice(N,1)},data:E[N]};ce=undefined;return $}function setStatus(E){Ee=E;var N=[];for(var R=0;R<_e.length;R++)N[R]=_e[R].call(null,E);return Promise.all(N)}function trackBlockingPromise(E){switch(Ee){case"ready":setStatus("prepare");Te.push(E);waitForBlockingPromises((function(){return setStatus("ready")}));return E;case"prepare":Te.push(E);return E;default:return E}}function waitForBlockingPromises(E){if(Te.length===0)return E();var N=Te;Te=[];return Promise.all(N).then((function(){return waitForBlockingPromises(E)}))}function hotCheck(E){if(Ee!=="idle"){throw new Error("check() is only allowed in idle status")}return setStatus("check").then($).then((function(N){if(!N){return setStatus(applyInvalidatedModules()?"ready":"idle").then((function(){return null}))}return setStatus("prepare").then((function(){var R=[];Te=[];we=[];return Promise.all(Object.keys(q).reduce((function(E,j){q[j](N.c,N.r,N.m,E,we,R);return E}),[])).then((function(){return waitForBlockingPromises((function(){if(E){return internalApply(E)}else{return setStatus("ready").then((function(){return R}))}}))}))}))}))}function hotApply(E){if(Ee!=="ready"){return Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")}))}return internalApply(E)}function internalApply(E){E=E||{};applyInvalidatedModules();var N=we.map((function(N){return N(E)}));we=undefined;var R=N.map((function(E){return E.error})).filter(Boolean);if(R.length>0){return setStatus("abort").then((function(){throw R[0]}))}var j=setStatus("dispose");N.forEach((function(E){if(E.dispose)E.dispose()}));var $=setStatus("apply");var q;var reportError=function(E){if(!q)q=E};var G=[];N.forEach((function(E){if(E.apply){var N=E.apply(reportError);if(N){for(var R=0;R{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HotModuleReplacementRuntimeModule extends ${constructor(){super("hot module replacement",$.STAGE_BASIC)}generate(){return q.getFunctionContent(R(49464)).replace(/\$getFullHash\$/g,j.getFullHash).replace(/\$interceptModuleExecution\$/g,j.interceptModuleExecution).replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,j.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;var ae=undefined;var ce=undefined;var le=undefined;E.exports=function(){var E;var _e;var Ee;var Te;function applyHandler(R){if(q)delete q.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var N=[E];var R={};var $=N.map((function(E){return{chain:[E],id:E}}));while($.length>0){var q=$.pop();var G=q.id;var ie=q.chain;var ae=j[G];if(!ae||ae.hot._selfAccepted&&!ae.hot._selfInvalidated)continue;if(ae.hot._selfDeclined){return{type:"self-declined",chain:ie,moduleId:G}}if(ae.hot._main){return{type:"unaccepted",chain:ie,moduleId:G}}for(var ce=0;ce ")}switch(Le.type){case"self-declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of self decline: "+Le.moduleId+ze);break;case"declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of declined dependency: "+Le.moduleId+" in "+Le.parentId+ze);break;case"unaccepted":if(R.onUnaccepted)R.onUnaccepted(Le);if(!R.ignoreUnaccepted)Be=new Error("Aborted because "+Ne+" is not accepted"+ze);break;case"accepted":if(R.onAccepted)R.onAccepted(Le);je=true;break;case"disposed":if(R.onDisposed)R.onDisposed(Le);Ue=true;break;default:throw new Error("Unexception type "+Le.type)}if(Be){return{error:Be}}if(je){we[Ne]=Me;addAllToSet(ce,Le.outdatedModules);for(Ne in Le.outdatedDependencies){if(G(Le.outdatedDependencies,Ne)){if(!ae[Ne])ae[Ne]=[];addAllToSet(ae[Ne],Le.outdatedDependencies[Ne])}}}if(Ue){addAllToSet(ce,[Le.moduleId]);we[Ne]=Ie}}}_e=undefined;var We=[];for(var Je=0;Je0){var $=R.pop();var q=j[$];if(!q)continue;var le={};var _e=q.hot._disposeHandlers;for(Je=0;Je<_e.length;Je++){_e[Je].call(null,le)}ie[$]=le;q.hot.active=false;delete j[$];delete ae[$];for(Je=0;Je=0){Te.parents.splice(E,1)}}}var we;for(var Ie in ae){if(G(ae,Ie)){q=j[Ie];if(q){He=ae[Ie];for(Je=0;Je=0)q.children.splice(E,1)}}}}},apply:function(E){for(var N in we){if(G(we,N)){$[N]=we[N]}}for(var q=0;q{"use strict";const{RawSource:j}=R(48135);const $=R(98221);const q=R(28706);const G=R(53453);const ie=R(40674);const ae=R(76150);const ce=R(58159);const le=R(37313);const{registerNotSerializable:_e}=R(24568);const Ee=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N)}if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const Te=new Set(["javascript"]);class LazyCompilationDependency extends q{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}_e(LazyCompilationDependency);class LazyCompilationProxyModule extends G{constructor(E,N,R,j,$,q){super("lazy-compilation-proxy",E,N.layer);this.originalModule=N;this.request=R;this.client=j;this.data=$;this.active=q}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.originalModule=N.originalModule;this.request=N.request;this.client=N.client;this.data=N.data;this.active=N.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,N){N(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,N,R,j,q){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const G=new le(this.client);this.addDependency(G);if(this.active){const E=new LazyCompilationDependency(this);const N=new $({});N.addDependency(E);this.addBlock(N)}q()}getSourceTypes(){return Te}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:N,moduleGraph:R}){const $=new Map;const q=new Set;q.add(ae.module);const G=this.dependencies[0];const ie=R.getModule(G);const le=this.blocks[0];const _e=ce.asString([`var client = ${E.moduleExports({module:ie,chunkGraph:N,request:G.userRequest,runtimeRequirements:q})}`,`var data = ${JSON.stringify(this.data)};`]);const Ee=ce.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!le)}, module: module, onError: onError });`]);let Te;if(le){const j=le.dependencies[0];const $=R.getModule(j);Te=ce.asString([_e,`module.exports = ${E.moduleNamespacePromise({chunkGraph:N,block:le,module:$,request:this.request,strict:false,message:"import()",runtimeRequirements:q})};`,"if (module.hot) {",ce.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(N.getModuleId($))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",Ee])}else{Te=ce.asString([_e,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",ce.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",Ee])}$.set("javascript",new j(Te));return{sources:$,runtimeRequirements:q}}updateHash(E,N){super.updateHash(E,N);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}_e(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ie{constructor(E){super();this._factory=E}create(E,N){const R=E.dependencies[0];N(null,{module:R.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,entries:N,imports:R,test:j}){this.backend=E;this.entries=N;this.imports=R;this.test=j}apply(E){let N;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((R,j)=>{if(N!==undefined)return j();const $=this.backend(E,((E,R)=>{if(E)return j(E);N=R;j()}));if($&&$.then){$.then((E=>{N=E;j()}),j)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((R,{normalModuleFactory:j})=>{j.hooks.module.tap("LazyCompilationPlugin",((R,j,$)=>{if($.dependencies.every((E=>Ee.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test($.request)&&checkTest(this.test,R)){const j=N.module(R);if(!j)return;const{client:q,data:G,active:ie}=j;return new LazyCompilationProxyModule(E.context,R,$.request,q,G,ie)}}));R.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{N.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,N,R)=>{"use strict";E.exports=E=>(N,j)=>{const $=N.getInfrastructureLogger("LazyCompilationBackend");const q=new Map;const G="/lazy-compilation-using-";const ie=E.protocol==="https"||typeof E.server==="object"&&("key"in E.server||"pfx"in E.server);const ae=typeof E.server==="function"?E.server:(()=>{const N=ie?R(95687):R(13685);return N.createServer.bind(N,E.server)})();const ce=typeof E.listen==="function"?E.listen:N=>{let R=E.listen;if(typeof R==="object"&&!("port"in R))R={...R,port:undefined};N.listen(R)};const le=E.protocol||(ie?"https":"http");const requestListener=(E,R)=>{const j=E.url.slice(G.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const E of j){const N=q.get(E)||0;q.set(E,N-1);if(N===1){$.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);R.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});R.write("\n");let ie=false;for(const E of j){const N=q.get(E)||0;q.set(E,N+1);if(N===0){$.log(`${E} is now in use and will be compiled.`);ie=true}}if(ie&&N.watching)N.watching.invalidate()};const _e=ae();_e.on("request",requestListener);let Ee=false;const Te=new Set;_e.on("connection",(E=>{Te.add(E);E.on("close",(()=>{Te.delete(E)}));if(Ee)E.destroy()}));_e.on("clientError",(E=>{if(E.message!=="Server is disposing")$.warn(E)}));_e.on("listening",(N=>{if(N)return j(N);const R=_e.address();if(typeof R==="string")throw new Error("addr must not be a string");const ie=R.address==="::"||R.address==="0.0.0.0"?`${le}://localhost:${R.port}`:R.family==="IPv6"?`${le}://[${R.address}]:${R.port}`:`${le}://${R.address}:${R.port}`;$.log(`Server-Sent-Events server for lazy compilation open at ${ie}.`);j(null,{dispose(E){Ee=true;_e.off("request",requestListener);_e.close((N=>{E(N)}));for(const E of Te){E.destroy(new Error("Server is disposing"))}},module(N){const R=`${encodeURIComponent(N.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const j=q.get(R)>0;return{client:`${E.client}?${encodeURIComponent(ie+G)}`,data:R,active:j}}})}));ce(_e)}},30484:(E,N,R)=>{"use strict";const{find:j}=R(26221);const{compareModulesByPreOrderIndexOrIdentifier:$,compareModulesByPostOrderIndexOrIdentifier:q}=R(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(G=>{const ie=E.chunkGraph;const ae=j(E.chunks,(E=>E.name===N.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${N.name}"' was not found`)}let ce;if(N.order){let E;switch(N.order){case"index":case"preOrderIndex":E=$(R);break;case"index2":case"postOrderIndex":E=q(R);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}ce=ie.getOrderedChunkModules(ae,E)}else{ce=Array.from(G).filter((E=>ie.isModuleInChunk(E,ae))).sort($(R))}let le=N.start||0;for(let E=0;EN.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getFullChunkName:$,getUsedChunkIds:q,assignDeterministicIds:G}=R(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(N=>{N.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=j(ie);const _e=q(N);G(Array.from(R).filter((E=>E.id===null)),(N=>$(N,ie,ae,E.root)),le,((E,N)=>{const R=_e.size;_e.add(`${N}`);if(R===_e.size)return false;E.id=N;E.ids=[N];return true}),[Math.pow(10,ce)],10,_e.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{getUsedModuleIds:$,getFullModuleName:q,assignDeterministicIds:G}=R(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(N=>{N.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=$(N);G(Array.from(R).filter((E=>{if(!E.needId)return false;if(ie.getNumberOfModuleChunks(E)===0)return false;return ie.getModuleId(E)===null})),(N=>q(N,ae,E.root)),j(N.moduleGraph),((E,N)=>{const R=le.size;le.add(`${N}`);if(R===le.size)return false;ie.setModuleId(E,N);return true}),[Math.pow(10,ce)],10,le.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,N,R)=>{"use strict";E=R.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const q=R(35891);const{getUsedModuleIds:G,getFullModuleName:ie}=R(30328);const ae=$(R(42959),(()=>R(39586)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){ae(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(N){const R=this.options;N.hooks.compilation.tap("HashedModuleIdsPlugin",($=>{$.hooks.moduleIds.tap("HashedModuleIdsPlugin",(ae=>{const ce=$.chunkGraph;const le=this.options.context?this.options.context:N.context;const _e=G($);const Ee=Array.from(ae).filter((N=>{if(!N.needId)return false;if(ce.getNumberOfModuleChunks(N)===0)return false;return ce.getModuleId(E)===null})).sort(j($.moduleGraph));for(const E of Ee){const j=ie(E,le,N.root);const $=q(R.hashFunction);$.update(j||"");const G=$.digest(R.hashDigest);let ae=R.hashDigestLength;while(_e.has(G.substr(0,ae)))ae++;const Ee=G.substr(0,ae);ce.setModuleId(E,Ee);_e.add(Ee)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,N,R)=>{"use strict";const j=R(35891);const{makePathsRelative:$}=R(49197);const q=R(12631);const getHash=(E,N,R)=>{const $=j(R);$.update(E);const q=$.digest("hex");return q.substr(0,N)};const avoidNumber=E=>{if(E.length>21)return E;const N=E.charCodeAt(0);if(N<49){if(N!==45)return E}else if(N>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");N.requestToId=requestToId;const shortenLongString=(E,N,R)=>{if(E.length<100)return E;return E.slice(0,100-6-N.length)+N+getHash(E,6,R)};const getShortModuleName=(E,N,R)=>{const j=E.libIdent({context:N,associatedObjectForCache:R});if(j)return avoidNumber(j);const q=E.nameForCondition();if(q)return avoidNumber($(N,q,R));return""};N.getShortModuleName=getShortModuleName;const getLongModuleName=(E,N,R,j,$)=>{const q=getFullModuleName(N,R,$);return`${E}?${getHash(q,4,j)}`};N.getLongModuleName=getLongModuleName;const getFullModuleName=(E,N,R)=>$(N,E.identifier(),R);N.getFullModuleName=getFullModuleName;const getShortChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));E.idNameHints.sort();const ae=Array.from(E.idNameHints).concat(ie).filter(Boolean).join(j);return shortenLongString(ae,j,$)};N.getShortChunkName=getShortChunkName;const getLongChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));const ae=G.map((E=>requestToId(getLongModuleName("",E,R,$,q))));E.idNameHints.sort();const ce=Array.from(E.idNameHints).concat(ie,ae).filter(Boolean).join(j);return shortenLongString(ce,j,$)};N.getLongChunkName=getLongChunkName;const getFullChunkName=(E,N,R,j)=>{if(E.name)return E.name;const q=N.getChunkRootModules(E);const G=q.map((E=>$(R,E.identifier(),j)));return G.join()};N.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,N,R)=>{let j=E.get(N);if(j===undefined){j=[];E.set(N,j)}j.push(R)};const getUsedModuleIds=E=>{const N=E.chunkGraph;const R=new Set;if(E.usedModuleIds){for(const N of E.usedModuleIds){R.add(N+"")}}for(const j of E.modules){const E=N.getModuleId(j);if(E!==null){R.add(E+"")}}return R};N.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const N=new Set;if(E.usedChunkIds){for(const R of E.usedChunkIds){N.add(R+"")}}for(const R of E.chunks){const E=R.id;if(E!==null){N.add(E+"")}}return N};N.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,N,R,j,$,q)=>{const G=new Map;for(const R of E){const E=N(R);addToMapOfItems(G,E,R)}const ie=new Map;for(const[E,N]of G){if(N.length>1||!E){for(const j of N){const N=R(j,E);addToMapOfItems(ie,N,j)}}else{addToMapOfItems(ie,E,N[0])}}const ae=[];for(const[E,N]of ie){if(!E){for(const E of N){ae.push(E)}}else if(N.length===1&&!$.has(E)){q(N[0],E);$.add(E)}else{N.sort(j);let R=0;for(const j of N){while(ie.has(E+R)&&$.has(E+R))R++;q(j,E+R);$.add(E+R);R++}}}ae.sort(j);return ae};N.assignNames=assignNames;const assignDeterministicIds=(E,N,R,j,$=[10],G=10,ie=0)=>{E.sort(R);const ae=Math.min(Math.ceil(E.length*20)+ie,Number.MAX_SAFE_INTEGER);let ce=0;let le=$[ce];while(le{const R=N.chunkGraph;const j=getUsedModuleIds(N);let $=0;let q;if(j.size>0){q=E=>{if(R.getModuleId(E)===null){while(j.has($+""))$++;R.setModuleId(E,$++)}}}else{q=E=>{if(R.getModuleId(E)===null){R.setModuleId(E,$++)}}}for(const N of E){q(N)}};N.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,N)=>{const R=getUsedChunkIds(N);let j=0;if(R.size>0){for(const N of E){if(N.id===null){while(R.has(j+""))j++;N.id=j;N.ids=[j];j++}}}else{for(const N of E){if(N.id===null){N.id=j;N.ids=[j];j++}}}};N.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getShortChunkName:$,getLongChunkName:q,assignNames:G,getUsedChunkIds:ie,assignAscendingChunkIds:ae}=R(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(N=>{const{hashFunction:R}=N.outputOptions;N.hooks.chunkIds.tap("NamedChunkIdsPlugin",(ce=>{const le=N.chunkGraph;const _e=this.context?this.context:E.context;const Ee=this.delimiter;const Te=G(Array.from(ce).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(N=>$(N,le,_e,Ee,R,E.root)),(N=>q(N,le,_e,Ee,R,E.root)),j(le),ie(N),((E,N)=>{E.id=N;E.ids=[N]}));if(Te.length>0){ae(Te,N)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,N,R)=>{"use strict";const{compareModulesByIdentifier:j}=R(68673);const{getShortModuleName:$,getLongModuleName:q,assignNames:G,getUsedModuleIds:ie,assignAscendingModuleIds:ae}=R(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:N}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(R=>{const{hashFunction:ce}=R.outputOptions;R.hooks.moduleIds.tap("NamedModuleIdsPlugin",(le=>{const _e=R.chunkGraph;const Ee=this.options.context?this.options.context:E.context;const Te=G(Array.from(le).filter((E=>{if(!E.needId)return false;if(_e.getNumberOfModuleChunks(E)===0)return false;return _e.getModuleId(E)===null})),(E=>$(E,Ee,N)),((E,R)=>q(R,E,Ee,ce,N)),j,ie(R),((E,N)=>_e.setModuleId(E,N)));if(Te.length>0){ae(Te,R)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{assignAscendingChunkIds:$}=R(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(N=>{const R=E.chunkGraph;const q=j(R);const G=Array.from(N).sort(q);$(G,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{assignAscendingModuleIds:$}=R(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(N=>{const R=E.chunkGraph;const q=Array.from(N).filter((E=>E.needId&&R.getNumberOfModuleChunks(E)>0&&R.getModuleId(E)===null)).sort(j(E.moduleGraph));$(q,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const $=R(35817);const{assignAscendingChunkIds:q}=R(30328);const G=$(R(18511),(()=>R(9659)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(R=>{const $=E.chunkGraph;const G=new Map;const ie=j($);for(const E of R){let N=0;for(const R of E.groupsIterable){for(const E of R.parentsIterable){if(E.isInitial())N++}}G.set(E,N)}const ae=Array.from(R).sort(((E,R)=>{if(N){const N=G.get(E);const j=G.get(R);if(N>j)return-1;if(N$)return-1;if(j<$)return 1;return ie(E,R)}));q(ae,E)}))}))}}E.exports=OccurrenceChunkIdsPlugin},76059:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const{assignAscendingModuleIds:q}=R(30328);const G=$(R(52042),(()=>R(37931)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",($=>{const G=E.chunkGraph;const ie=Array.from($).filter((E=>E.needId&&G.getNumberOfModuleChunks(E)>0&&G.getModuleId(E)===null));const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;for(const E of ie){let N=0;let R=0;for(const j of G.getModuleChunksIterable(E)){if(j.canBeInitial())N++;if(G.isEntryModuleInChunk(E,j))R++}le.set(E,N);_e.set(E,R)}const countOccursInEntry=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;if(!$.some((E=>E.isTargetActive(undefined))))continue;N+=le.get(j)}return N};const countOccurs=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;const E=G.getNumberOfModuleChunks(j);for(const R of $){if(!R.isTargetActive(undefined))continue;if(!R.dependency)continue;const j=R.dependency.getNumberOfIdOccurrences();if(j===0)continue;N+=j*E}}return N};if(N){for(const E of ie){const N=countOccursInEntry(E)+le.get(E)+_e.get(E);ae.set(E,N)}}for(const E of $){const N=countOccurs(E)+G.getNumberOfModuleChunks(E)+_e.get(E);ce.set(E,N)}const Ee=j(E.moduleGraph);ie.sort(((E,R)=>{if(N){const N=ae.get(E);const j=ae.get(R);if(N>j)return-1;if(N$)return-1;if(j<$)return 1;return Ee(E,R)}));q(ie,E)}))}))}}E.exports=OccurrenceModuleIdsPlugin},86443:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const lazyFunction=E=>{const N=$(E);const f=(...E)=>N()(...E);return f};const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);for(const N of Object.keys(R)){const j=R[N];if(j.get){const R=j.get;Object.defineProperty(E,N,{configurable:false,enumerable:true,get:$(R)})}else if(typeof j.value==="object"){Object.defineProperty(E,N,{configurable:false,enumerable:true,writable:false,value:mergeExports({},j.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const q=lazyFunction((()=>R(2982)));E.exports=mergeExports(q,{get webpack(){return R(2982)},get validate(){const E=R(63221);const N=$((()=>{const E=R(33316);const N=R(46312);return R=>E(N,R)}));return R=>{if(!E(R))N()(R)}},get validateSchema(){const E=R(33316);return E},get version(){return R(37589).i8},get cli(){return R(61634)},get AutomaticPrefetchPlugin(){return R(20383)},get AsyncDependenciesBlock(){return R(98221)},get BannerPlugin(){return R(58779)},get Cache(){return R(54725)},get Chunk(){return R(62433)},get ChunkGraph(){return R(45137)},get CleanPlugin(){return R(61666)},get Compilation(){return R(3080)},get Compiler(){return R(63076)},get ConcatenationScope(){return R(77294)},get ContextExclusionPlugin(){return R(51709)},get ContextReplacementPlugin(){return R(26552)},get DefinePlugin(){return R(24820)},get DelegatedPlugin(){return R(82354)},get Dependency(){return R(28706)},get DllPlugin(){return R(73887)},get DllReferencePlugin(){return R(83515)},get DynamicEntryPlugin(){return R(85227)},get EntryOptionPlugin(){return R(64699)},get EntryPlugin(){return R(59674)},get EnvironmentPlugin(){return R(64856)},get EvalDevToolModulePlugin(){return R(91331)},get EvalSourceMapDevToolPlugin(){return R(23641)},get ExternalModule(){return R(16734)},get ExternalsPlugin(){return R(61050)},get Generator(){return R(36253)},get HotUpdateChunk(){return R(22352)},get HotModuleReplacementPlugin(){return R(79972)},get IgnorePlugin(){return R(69276)},get JavascriptModulesPlugin(){return j.deprecate((()=>R(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return R(77750)},get LibraryTemplatePlugin(){return j.deprecate((()=>R(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return R(19674)},get LoaderTargetPlugin(){return R(97736)},get Module(){return R(53453)},get ModuleFilenameHelpers(){return R(70354)},get ModuleGraph(){return R(75412)},get ModuleGraphConnection(){return R(79900)},get NoEmitOnErrorsPlugin(){return R(66962)},get NormalModule(){return R(53520)},get NormalModuleReplacementPlugin(){return R(92234)},get MultiCompiler(){return R(63433)},get Parser(){return R(2172)},get PrefetchPlugin(){return R(13125)},get ProgressPlugin(){return R(52923)},get ProvidePlugin(){return R(40313)},get RuntimeGlobals(){return R(76150)},get RuntimeModule(){return R(66804)},get SingleEntryPlugin(){return j.deprecate((()=>R(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return R(2e4)},get Stats(){return R(10140)},get Template(){return R(58159)},get UsageState(){return R(76632).UsageState},get WatchIgnorePlugin(){return R(91265)},get WebpackError(){return R(81627)},get WebpackOptionsApply(){return R(81721)},get WebpackOptionsDefaulter(){return j.deprecate((()=>R(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return R(15235).ValidationError},get ValidationError(){return R(15235).ValidationError},cache:{get MemoryCachePlugin(){return R(47786)}},config:{get getNormalizedWebpackOptions(){return R(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return R(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return R(79983)},get ConstDependency(){return R(66298)},get NullDependency(){return R(12197)}},ids:{get ChunkModuleIdRangePlugin(){return R(30484)},get NaturalModuleIdsPlugin(){return R(97781)},get OccurrenceModuleIdsPlugin(){return R(76059)},get NamedModuleIdsPlugin(){return R(9297)},get DeterministicChunkIdsPlugin(){return R(90444)},get DeterministicModuleIdsPlugin(){return R(35579)},get NamedChunkIdsPlugin(){return R(64779)},get OccurrenceChunkIdsPlugin(){return R(86169)},get HashedModuleIdsPlugin(){return R(35853)}},javascript:{get EnableChunkLoadingPlugin(){return R(50369)},get JavascriptModulesPlugin(){return R(18161)},get JavascriptParser(){return R(3711)}},optimize:{get AggressiveMergingPlugin(){return R(61332)},get AggressiveSplittingPlugin(){return j.deprecate((()=>R(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return R(58018)},get LimitChunkCountPlugin(){return R(92922)},get MinChunkSizePlugin(){return R(52383)},get ModuleConcatenationPlugin(){return R(35442)},get RealContentHashPlugin(){return R(30699)},get RuntimeChunkPlugin(){return R(4674)},get SideEffectsFlagPlugin(){return R(63410)},get SplitChunksPlugin(){return R(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return R(9609)},get LoadScriptRuntimeModule(){return R(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return R(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return R(52687)},get FetchCompileWasmPlugin(){return R(71100)},get JsonpChunkLoadingRuntimeModule(){return R(4038)},get JsonpTemplatePlugin(){return R(58421)}},webworker:{get WebWorkerTemplatePlugin(){return R(67439)}},node:{get NodeEnvironmentPlugin(){return R(93632)},get NodeSourcePlugin(){return R(92662)},get NodeTargetPlugin(){return R(84980)},get NodeTemplatePlugin(){return R(91591)},get ReadFileCompileWasmPlugin(){return R(71049)}},electron:{get ElectronTargetPlugin(){return R(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return R(82422)}},library:{get AbstractLibraryPlugin(){return R(9786)},get EnableLibraryPlugin(){return R(13984)}},container:{get ContainerPlugin(){return R(10419)},get ContainerReferencePlugin(){return R(68839)},get ModuleFederationPlugin(){return R(8019)},get scope(){return R(97264).scope}},sharing:{get ConsumeSharedPlugin(){return R(71968)},get ProvideSharedPlugin(){return R(48151)},get SharePlugin(){return R(16471)},get scope(){return R(97264).scope}},debug:{get ProfilingPlugin(){return R(26802)}},util:{get createHash(){return R(35891)},get comparators(){return R(68673)},get runtime(){return R(37416)},get serialization(){return R(24568)},get cleverMerge(){return R(90149).cachedCleverMerge},get LazySet(){return R(83379)}},get sources(){return R(48135)},experiments:{schemes:{get HttpUriPlugin(){return R(7201)}}}})},41113:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$,RawSource:q}=R(48135);const{RuntimeGlobals:G}=R(86443);const ie=R(22352);const ae=R(58159);const{getCompilationHooks:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(G.onChunksLoaded);N.add(G.require)}N.add(G.chunkCallback)}));const N=ce(E);N.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((R,ce)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:Te}=ce;const we=_e instanceof ie?_e:null;const Ie=Te.outputOptions.globalObject;const Ne=new j;const Me=Ee.getChunkRuntimeModulesInOrder(_e);if(we){const E=Te.outputOptions.hotUpdateGlobal;Ne.add(`${Ie}[${JSON.stringify(E)}](`);Ne.add(`${JSON.stringify(_e.id)},`);Ne.add(R);if(Me.length>0){Ne.add(",\n");const E=ae.renderChunkRuntimeModules(Me,ce);Ne.add(E)}Ne.add(")")}else{const ie=Te.outputOptions.chunkLoadingGlobal;Ne.add(`(${Ie}[${JSON.stringify(ie)}] = ${Ie}[${JSON.stringify(ie)}] || []).push([`);Ne.add(`${JSON.stringify(_e.ids)},`);Ne.add(R);const we=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(Me.length>0||we.length>0){const R=new j((Te.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n");if(Me.length>0){R.add(ae.renderRuntimeModules(Me,{...ce,codeGenerationResults:E.codeGenerationResults}))}if(we.length>0){const E=new q(le(Ee,Te,we,_e,true));R.add(N.renderStartup.call(E,we[we.length-1][0],{...ce,inlined:false}));if(Ee.getChunkRuntimeRequirements(_e).has(G.returnExportsFromRuntime)){R.add("return __webpack_exports__;\n")}}R.add("}\n");Ne.add(",\n");Ne.add(new $("/******/ ",R))}Ne.add("])")}return Ne}));N.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update(`ArrayPushCallbackChunkFormatPlugin1${j.outputOptions.chunkLoadingGlobal}${j.outputOptions.hotUpdateGlobal}${j.outputOptions.globalObject}`);const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;const G=5;const ie=6;const ae=7;const ce=8;const le=9;const _e=10;const Ee=11;const Te=12;const we=13;class BasicEvaluatedExpression{constructor(){this.type=N;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===N}isNull(){return this.type===j}isUndefined(){return this.type===R}isString(){return this.type===$}isNumber(){return this.type===q}isBigInt(){return this.type===we}isBoolean(){return this.type===G}isRegExp(){return this.type===ie}isConditional(){return this.type===ae}isArray(){return this.type===ce}isConstArray(){return this.type===le}isIdentifier(){return this.type===_e}isWrapped(){return this.type===Ee}isTemplateString(){return this.type===Te}isPrimitiveType(){switch(this.type){case R:case j:case $:case q:case G:case we:case Ee:case Te:return true;case ie:case ce:case le:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case R:case j:case $:case q:case G:case ie:case le:case we:return true;default:return false}}asCompileTimeValue(){switch(this.type){case R:return undefined;case j:return null;case $:return this.string;case q:return this.number;case G:return this.bool;case ie:return this.regExp;case le:return this.array;case we:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const N of this.items){const R=N.asString();if(R===undefined)return undefined;E.push(R)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const N of this.parts){const R=N.asString();if(R===undefined)return undefined;E+=R}return E}return undefined}setString(E){this.type=$;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=R;this.sideEffects=false;return this}setNull(){this.type=j;this.sideEffects=false;return this}setNumber(E){this.type=q;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=we;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=G;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ie;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,N,R){this.type=_e;this.identifier=E;this.rootInfo=N;this.getMembers=R;this.sideEffects=true;return this}setWrapped(E,N,R){this.type=Ee;this.prefix=E;this.postfix=N;this.wrappedInnerExpressions=R;this.sideEffects=true;return this}setOptions(E){this.type=ae;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const N of E){this.options.push(N)}return this}setItems(E){this.type=ce;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=le;this.array=E;this.sideEffects=false;return this}setTemplateString(E,N,R){this.type=Te;this.quasis=E;this.parts=N;this.templateStringKind=R;this.sideEffects=N.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;if(E)return this.setFalsy();return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const N=E.length;if(N===0)return true;if(N>4)return false;let R=0;for(let j=0;j{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(76150);const G=R(58159);const{getChunkFilenameTemplate:ie,getCompilationHooks:ae}=R(18161);const{generateEntryStartup:ce,updateHashForEntryStartup:le}=R(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(q.require);N.add(q.startupEntrypoint);N.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("CommonJsChunkFormatPlugin",((R,ae)=>{const{chunk:le,chunkGraph:_e,runtimeTemplate:Ee}=ae;const Te=new j;Te.add(`exports.id = ${JSON.stringify(le.id)};\n`);Te.add(`exports.ids = ${JSON.stringify(le.ids)};\n`);Te.add(`exports.modules = `);Te.add(R);Te.add(";\n");const we=_e.getChunkRuntimeModulesInOrder(le);if(we.length>0){Te.add("exports.runtime =\n");Te.add(G.renderChunkRuntimeModules(we,ae))}const Ie=Array.from(_e.getChunkEntryModulesWithChunkGroupIterable(le));if(Ie.length>0){const R=Ie[0][1].getRuntimeChunk();const G=E.getPath(ie(le,E.outputOptions),{chunk:le,contentHashType:"javascript"}).split("/");const we=E.getPath(ie(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");G.pop();while(G.length>0&&we.length>0&&G[0]===we[0]){G.shift();we.shift()}const Ne=(G.length>0?"../".repeat(G.length):"./")+we.join("/");const Me=new j;Me.add(`(${Ee.supportsArrowFunction()?"() => ":"function() "}{\n`);Me.add("var exports = {};\n");Me.add(Te);Me.add(";\n\n// load runtime\n");Me.add(`var __webpack_require__ = require(${JSON.stringify(Ne)});\n`);Me.add(`${q.externalInstallChunk}(exports);\n`);const Le=new $(ce(_e,Ee,Ie,le,false));Me.add(N.renderStartup.call(Le,Ie[Ie.length-1][0],{...ae,inlined:false}));Me.add("\n})()");return Me}return Te}));N.chunkHash.tap("CommonJsChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;N.update("CommonJsChunkFormatPlugin");N.update("1");const j=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));le(N,R,j,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Chunk loading type "${N}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"jsonp":{const N=R(76853);(new N).apply(E);break}case"import-scripts":{const N=R(82779);(new N).apply(E);break}case"require":{const N=R(82827);new N({asyncChunkLoading:false}).apply(E);break}case"async-node":{const N=R(82827);new N({asyncChunkLoading:true}).apply(E);break}case"import":{const N=R(90662);(new N).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${N}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,N,R)=>{"use strict";const j=R(73837);const{RawSource:$,ReplaceSource:q}=R(48135);const G=R(36253);const ie=R(63272);const ae=R(54290);const ce=j.deprecate(((E,N,R)=>E.getInitFragments(N,R)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const le=new Set(["javascript"]);class JavascriptGenerator extends G{getTypes(E){return le}getSize(E,N){const R=E.originalSource();if(!R){return 39}return R.size()}getConcatenationBailoutReason(E,N){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof ae))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,N){const R=E.originalSource();if(!R){return new $("throw new Error('No source available');")}const j=new q(R);const G=[];this.sourceModule(E,G,j,N);return ie.addToSource(j,G,N)}sourceModule(E,N,R,j){for(const $ of E.dependencies){this.sourceDependency(E,$,N,R,j)}if(E.presentationalDependencies!==undefined){for(const $ of E.presentationalDependencies){this.sourceDependency(E,$,N,R,j)}}for(const $ of E.blocks){this.sourceBlock(E,$,N,R,j)}}sourceBlock(E,N,R,j,$){for(const q of N.dependencies){this.sourceDependency(E,q,R,j,$)}for(const q of N.blocks){this.sourceBlock(E,q,R,j,$)}}sourceDependency(E,N,R,j,$){const q=N.constructor;const G=$.dependencyTemplates.get(q);if(!G){throw new Error("No template for dependency: "+N.constructor.name)}const ie={runtimeTemplate:$.runtimeTemplate,dependencyTemplates:$.dependencyTemplates,moduleGraph:$.moduleGraph,chunkGraph:$.chunkGraph,module:E,runtime:$.runtime,runtimeRequirements:$.runtimeRequirements,concatenationScope:$.concatenationScope,initFragments:R};G.apply(N,j,ie);if("getInitFragments"in G){const E=ce(G,N,ie);if(E){for(const N of E){R.push(N)}}}}}E.exports=JavascriptGenerator},18161:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j,SyncHook:$,SyncBailHook:q}=R(92960);const G=R(26144);const{ConcatSource:ie,OriginalSource:ae,PrefixSource:ce,RawSource:le,CachedSource:_e}=R(48135);const Ee=R(3080);const{tryRunOrWebpackError:Te}=R(3728);const we=R(22352);const Ie=R(63272);const Ne=R(76150);const Me=R(58159);const{last:Le,someInIterable:Be}=R(11539);const je=R(14146);const{compareModulesByIdentifier:Ue}=R(68673);const ze=R(35891);const{intersectRuntime:We}=R(37416);const Je=R(99371);const Ve=R(3711);const chunkHasJs=(E,N)=>{if(N.getNumberOfEntryModules(E)>0)return true;return N.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,N)=>{const R=N.split("\n");const j=`${R.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${R.map(((E,N,R)=>{const $=`${N+1}`;return`${" ".repeat(j-$.length)}${$} | ${E}`})).join("\n")}`};const qe=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof Ee)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=qe.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"]),renderModuleContainer:new j(["source","module","renderContext"]),renderModulePackage:new j(["source","module","renderContext"]),render:new j(["source","renderContext"]),renderContent:new j(["source","renderContext"]),renderStartup:new j(["source","module","startupRenderContext"]),renderChunk:new j(["source","renderContext"]),renderMain:new j(["source","renderContext"]),renderRequire:new j(["code","renderContext"]),inlineInRuntimeBailout:new q(["module","renderContext"]),embedInRuntimeBailout:new q(["module","renderContext"]),strictRuntimeBailout:new q(["renderContext"]),chunkHash:new $(["chunk","hash","context"]),useSourceMap:new q(["chunk","renderContext"])};qe.set(E,N)}return N}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:N})=>{const R=JavascriptModulesPlugin.getCompilationHooks(E);N.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new Ve("auto")));N.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new Ve("script")));N.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new Ve("module")));N.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new Je));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((N,j)=>{const{hash:$,chunk:q,chunkGraph:G,moduleGraph:ie,runtimeTemplate:ae,dependencyTemplates:ce,outputOptions:le,codeGenerationResults:_e}=j;const Ee=q instanceof we?q:null;let Te;const Ie=JavascriptModulesPlugin.getChunkFilenameTemplate(q,le);if(Ee){Te=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}else if(q.hasRuntime()){Te=()=>this.renderMain({hash:$,chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R,E)}else{if(!chunkHasJs(q,G)){return N}Te=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}N.push({render:Te,filenameTemplate:Ie,pathOptions:{hash:$,runtime:q.runtime,chunk:q,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:Ee?`hotupdatechunk${q.id}`:`chunk${q.id}`,hash:q.contentHash.javascript});return N}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,N,j)=>{R.chunkHash.call(E,N,j);if(E.hasRuntime()){this.updateHashWithBootstrap(N,{hash:"0000",chunk:E,chunkGraph:j.chunkGraph,moduleGraph:j.moduleGraph,runtimeTemplate:j.runtimeTemplate},R)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(N=>{const{chunkGraph:j,moduleGraph:$,runtimeTemplate:q,outputOptions:{hashSalt:G,hashDigest:ie,hashDigestLength:ae,hashFunction:ce}}=E;const le=ze(ce);if(G)le.update(G);if(N.hasRuntime()){this.updateHashWithBootstrap(le,{hash:"0000",chunk:N,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},R)}else{le.update(`${N.id} `);le.update(N.ids?N.ids.join(","):"")}R.chunkHash.call(N,le,{chunkGraph:j,moduleGraph:$,runtimeTemplate:q});const _e=j.getChunkModulesIterableBySourceType(N,"javascript");if(_e){const E=new je;for(const R of _e){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Ee=j.getChunkModulesIterableBySourceType(N,"runtime");if(Ee){const E=new je;for(const R of Ee){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Te=le.digest(ie);N.contentHash.javascript=Te.substr(0,ae)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,N,{chunkGraph:R})=>{if(!N.has(Ne.startupNoDefault)&&R.hasChunkEntryDependentChunks(E)){N.add(Ne.onChunksLoaded);N.add(Ne.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("javascript");if(R===undefined)return;const{module:j,moduleObject:$}=E;const q=R.source();const ie=G.runInThisContext(`(function(${j.moduleArgument}, ${j.exportsArgument}, __webpack_require__) {\n${q}\n/**/})`,{filename:j.identifier(),lineOffset:-1});try{ie.call($.exports,$,$.exports,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,q);throw N}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("runtime");if(R===undefined)return;let j=R.source();if(typeof j!=="string")j=j.toString();const $=G.runInThisContext(`(function(__webpack_require__) {\n${j}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{$.call(null,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,j);throw N}}))}))}static getChunkFilenameTemplate(E,N){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof we){return N.hotUpdateChunkFilename}else if(E.canBeInitial()){return N.filename}else{return N.chunkFilename}}renderModule(E,N,R,j){const{chunk:$,chunkGraph:q,runtimeTemplate:G,codeGenerationResults:ae,strictMode:ce}=N;try{const le=ae.get(E,$.runtime);const Ee=le.sources.get("javascript");if(!Ee)return null;if(le.data!==undefined){const E=le.data.get("chunkInitFragments");if(E){for(const R of E)N.chunkInitFragments.push(R)}}const we=Te((()=>R.renderModuleContent.call(Ee,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Ie;if(j){const j=q.getModuleRuntimeRequirements(E,$.runtime);const ae=j.has(Ne.module);const le=j.has(Ne.exports);const Ee=j.has(Ne.require)||j.has(Ne.requireScope);const Me=j.has(Ne.thisAsExports);const Le=E.buildInfo.strict&&!ce;const Be=this._moduleFactoryCache.get(we);let je;if(Be&&Be.needModule===ae&&Be.needExports===le&&Be.needRequire===Ee&&Be.needThisAsExports===Me&&Be.needStrict===Le){je=Be.source}else{const N=new ie;const R=[];if(le||Ee||ae)R.push(ae?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(le||Ee)R.push(le?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(Ee)R.push("__webpack_require__");if(!Me&&G.supportsArrowFunction()){N.add("/***/ (("+R.join(", ")+") => {\n\n")}else{N.add("/***/ (function("+R.join(", ")+") {\n\n")}if(Le){N.add('"use strict";\n')}N.add(we);N.add("\n\n/***/ })");je=new _e(N);this._moduleFactoryCache.set(we,{source:je,needModule:ae,needExports:le,needRequire:Ee,needThisAsExports:Me,needStrict:Le})}Ie=Te((()=>R.renderModuleContainer.call(je,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Ie=we}return Te((()=>R.renderModulePackage.call(Ie,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(N){N.module=E;throw N}}renderChunk(E,N){const{chunk:R,chunkGraph:j}=E;const $=j.getOrderedChunkModulesIterableBySourceType(R,"javascript",Ue);const q=$?Array.from($):[];let G;let ae=E.strictMode;if(!ae&&q.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);G=R?`// runtime can't be in strict mode because ${R}.\n`:'"use strict";\n';if(!R)ae=true}const ce={...E,chunkInitFragments:[],strictMode:ae};const _e=Me.renderChunkModules(ce,q,(E=>this.renderModule(E,ce,N,true)))||new le("{}");let Ee=Te((()=>N.renderChunk.call(_e,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");Ee=Te((()=>N.renderContent.call(Ee,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ee){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ee=Ie.addToSource(Ee,ce.chunkInitFragments,ce);Ee=Te((()=>N.render.call(Ee,ce)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ee){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}R.rendered=true;return G?new ie(G,Ee,";"):E.runtimeTemplate.isModule()?Ee:new ie(Ee,";")}renderMain(E,N,R){const{chunk:j,chunkGraph:$,runtimeTemplate:q}=E;const G=$.getTreeRuntimeRequirements(j);const _e=q.isIIFE();const Ee=this.renderBootstrap(E,N);const we=N.useSourceMap.call(j,E);const Be=Array.from($.getOrderedChunkModulesIterableBySourceType(j,"javascript",Ue)||[]);const je=$.getNumberOfEntryModules(j)>0;let ze;if(Ee.allowInlineStartup&&je){ze=new Set($.getChunkEntryModulesIterable(j))}let We=new ie;let Je;if(_e){if(q.supportsArrowFunction()){We.add("/******/ (() => { // webpackBootstrap\n")}else{We.add("/******/ (function() { // webpackBootstrap\n")}Je="/******/ \t"}else{Je="/******/ "}let Ve=E.strictMode;if(!Ve&&Be.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);if(R){We.add(Je+`// runtime can't be in strict mode because ${R}.\n`)}else{Ve=true;We.add(Je+'"use strict";\n')}}const qe={...E,chunkInitFragments:[],strictMode:Ve};const He=Me.renderChunkModules(qe,ze?Be.filter((E=>!ze.has(E))):Be,(E=>this.renderModule(E,qe,N,true)),Je);if(He||G.has(Ne.moduleFactories)||G.has(Ne.moduleFactoriesAddOnly)||G.has(Ne.require)){We.add(Je+"var __webpack_modules__ = (");We.add(He||"{}");We.add(");\n");We.add("/************************************************************************/\n")}if(Ee.header.length>0){const E=Me.asString(Ee.header)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/bootstrap"):new le(E)));We.add("/************************************************************************/\n")}const Ge=E.chunkGraph.getChunkRuntimeModulesInOrder(j);if(Ge.length>0){We.add(new ce(Je,Me.renderRuntimeModules(Ge,qe)));We.add("/************************************************************************/\n");for(const E of Ge){R.codeGeneratedModules.add(E)}}if(ze){if(Ee.beforeStartup.length>0){const E=Me.asString(Ee.beforeStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/before-startup"):new le(E)))}const R=Le(ze);const _e=new ie;_e.add(`var __webpack_exports__ = {};\n`);for(const G of ze){const ie=this.renderModule(G,qe,N,false);if(ie){const ae=!Ve&&G.buildInfo.strict;const ce=$.getModuleRuntimeRequirements(G,j.runtime);const le=ce.has(Ne.exports);const Ee=le&&G.exportsArgument==="__webpack_exports__";let Te=ae?"it need to be in strict mode.":ze.size>1?"it need to be isolated against other entry modules.":He?"it need to be isolated against other modules in the chunk.":le&&!Ee?`it uses a non-standard name for the exports (${G.exportsArgument}).`:N.embedInRuntimeBailout.call(G,E);let we;if(Te!==undefined){_e.add(`// This entry need to be wrapped in an IIFE because ${Te}\n`);const E=q.supportsArrowFunction();if(E){_e.add("(() => {\n");we="\n})();\n\n"}else{_e.add("!function() {\n");we="\n}();\n"}if(ae)_e.add('"use strict";\n')}else{we="\n"}if(le){if(G!==R)_e.add(`var ${G.exportsArgument} = {};\n`);else if(G.exportsArgument!=="__webpack_exports__")_e.add(`var ${G.exportsArgument} = __webpack_exports__;\n`)}_e.add(ie);_e.add(we)}}if(G.has(Ne.onChunksLoaded)){_e.add(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);\n`)}We.add(N.renderStartup.call(_e,R,{...E,inlined:true}));if(Ee.afterStartup.length>0){const E=Me.asString(Ee.afterStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/after-startup"):new le(E)))}}else{const R=Le($.getChunkEntryModulesIterable(j));const q=we?(E,N)=>new ae(Me.asString(E),N):E=>new le(Me.asString(E));We.add(new ce(Je,new ie(q(Ee.beforeStartup,"webpack/before-startup"),"\n",N.renderStartup.call(q(Ee.startup.concat(""),"webpack/startup"),R,{...E,inlined:false}),q(Ee.afterStartup,"webpack/after-startup"),"\n")))}if(je&&G.has(Ne.returnExportsFromRuntime)){We.add(`${Je}return __webpack_exports__;\n`)}if(_e){We.add("/******/ })()\n")}let Ke=Te((()=>N.renderMain.call(We,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Ke=Te((()=>N.renderContent.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ke=Ie.addToSource(Ke,qe.chunkInitFragments,qe);Ke=Te((()=>N.render.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}j.rendered=true;return _e?new ie(Ke,";"):Ke}updateHashWithBootstrap(E,N,R){const j=this.renderBootstrap(N,R);for(const N of Object.keys(j)){E.update(N);if(Array.isArray(j[N])){for(const R of j[N]){E.update(R)}}else{E.update(JSON.stringify(j[N]))}}}renderBootstrap(E,N){const{chunkGraph:R,moduleGraph:j,chunk:$,runtimeTemplate:q}=E;const G=R.getTreeRuntimeRequirements($);const ie=G.has(Ne.require);const ae=G.has(Ne.moduleCache);const ce=G.has(Ne.moduleFactories);const le=G.has(Ne.module);const _e=G.has(Ne.requireScope);const Ee=G.has(Ne.interceptModuleExecution);const Te=ie||Ee||le;const we={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Ie,startup:Le,beforeStartup:je,afterStartup:Ue}=we;if(we.allowInlineStartup&&ce){Le.push("// module factories are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&ae){Le.push("// module cache are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&Ee){Le.push("// module execution is intercepted so entry inlining is disabled");we.allowInlineStartup=false}if(Te||ae){Ie.push("// The module cache");Ie.push("var __webpack_module_cache__ = {};");Ie.push("")}if(Te){Ie.push("// The require function");Ie.push(`function __webpack_require__(moduleId) {`);Ie.push(Me.indent(this.renderRequire(E,N)));Ie.push("}");Ie.push("")}else if(G.has(Ne.requireScope)){Ie.push("// The require scope");Ie.push("var __webpack_require__ = {};");Ie.push("")}if(ce||G.has(Ne.moduleFactoriesAddOnly)){Ie.push("// expose the modules object (__webpack_modules__)");Ie.push(`${Ne.moduleFactories} = __webpack_modules__;`);Ie.push("")}if(ae){Ie.push("// expose the module cache");Ie.push(`${Ne.moduleCache} = __webpack_module_cache__;`);Ie.push("")}if(Ee){Ie.push("// expose the module execution interceptor");Ie.push(`${Ne.interceptModuleExecution} = [];`);Ie.push("")}if(!G.has(Ne.startupNoDefault)){if(R.getNumberOfEntryModules($)>0){const G=[];const ie=R.getTreeRuntimeRequirements($);G.push("// Load entry module and return exports");let ae=R.getNumberOfEntryModules($);for(const[ce,le]of R.getChunkEntryModulesWithChunkGroupIterable($)){const Ee=le.chunks.filter((E=>E!==$));if(we.allowInlineStartup&&Ee.length>0){G.push("// This entry module depends on other loaded chunks and execution need to be delayed");we.allowInlineStartup=false}if(we.allowInlineStartup&&Be(j.getIncomingConnectionsByOriginModule(ce),(([E,N])=>E&&N.some((E=>E.isTargetActive($.runtime)))&&Be(R.getModuleRuntimes(E),(E=>We(E,$.runtime)!==undefined))))){G.push("// This entry module is referenced by other modules so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup&&(!ce.buildInfo||!ce.buildInfo.topLevelDeclarations)){G.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup){const R=N.inlineInRuntimeBailout.call(ce,E);if(R!==undefined){G.push(`// This entry module can't be inlined because ${R}`);we.allowInlineStartup=false}}ae--;const Ie=R.getModuleId(ce);const Me=R.getModuleRuntimeRequirements(ce,$.runtime);let Le=JSON.stringify(Ie);if(ie.has(Ne.entryModuleId)){Le=`${Ne.entryModuleId} = ${Le}`}if(we.allowInlineStartup&&Me.has(Ne.module)){we.allowInlineStartup=false;G.push("// This entry module used 'module' so it can't be inlined")}if(Ee.length>0){G.push(`${ae===0?"var __webpack_exports__ = ":""}${Ne.onChunksLoaded}(undefined, ${JSON.stringify(Ee.map((E=>E.id)))}, ${q.returningFunction(`__webpack_require__(${Le})`)})`)}else if(Te){G.push(`${ae===0?"var __webpack_exports__ = ":""}__webpack_require__(${Le});`)}else{if(ae===0)G.push("var __webpack_exports__ = {};");if(_e){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Me.has(Ne.exports)){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"});`)}else{G.push(`__webpack_modules__[${Le}]();`)}}}if(ie.has(Ne.onChunksLoaded)){G.push(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);`)}if(ie.has(Ne.startup)||ie.has(Ne.startupOnlyBefore)&&ie.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.basicFunction("",[...G,"return __webpack_exports__;"])};`);Ie.push("");Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}else if(ie.has(Ne.startupOnlyBefore)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);je.push("// run runtime startup");je.push(`${Ne.startup}();`);Le.push("// startup");Le.push(Me.asString(G))}else if(ie.has(Ne.startupOnlyAfter)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// startup");Le.push(Me.asString(G));Ue.push("// run runtime startup");Ue.push(`${Ne.startup}();`)}else{Le.push("// startup");Le.push(Me.asString(G))}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Ie.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Ne.startup} = ${q.emptyFunction()};`,"")}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}return we}renderRequire(E,N){const{chunk:R,chunkGraph:j,runtimeTemplate:{outputOptions:$}}=E;const q=j.getTreeRuntimeRequirements(R);const G=q.has(Ne.interceptModuleExecution)?Me.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Ne.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):q.has(Ne.thisAsExports)?Me.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Me.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ie=q.has(Ne.moduleId);const ae=q.has(Ne.moduleLoaded);const ce=Me.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",$.strictModuleErrorHandling?Me.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Me.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Me.indent([ie?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",$.strictModuleExceptionHandling?Me.asString(["// Execute the module function","var threw = true;","try {",Me.indent([G,"threw = false;"]),"} finally {",Me.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):$.strictModuleErrorHandling?Me.asString(["// Execute the module function","try {",Me.indent(G),"} catch(e) {",Me.indent(["module.error = e;","throw e;"]),"}"]):Me.asString(["// Execute the module function",G]),ae?Me.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Te((()=>N.renderRequire.call(ce,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,N,R)=>{"use strict";const{Parser:j}=R(14150);const{importAssertions:$}=R(3385);const{SyncBailHook:q,HookMap:G}=R(92960);const ie=R(26144);const ae=R(2172);const ce=R(80371);const le=R(31017);const _e=R(91671);const Ee=R(87250);const Te=[];const we=1;const Ie=2;const Ne=3;const Me=j.extend($);class VariableInfo{constructor(E,N,R){this.declaredScope=E;this.freeName=N;this.tagInfo=R}}const joinRanges=(E,N)=>{if(!N)return E;if(!E)return N;return[E[0],N[1]]};const objectAndMembersToName=(E,N)=>{let R=E;for(let E=N.length-1;E>=0;E--){R=R+"."+N[E]}return R};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Le={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const Be=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const je={options:null,errors:null};class JavascriptParser extends ae{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new G((()=>new q(["expression"]))),evaluate:new G((()=>new q(["expression"]))),evaluateIdentifier:new G((()=>new q(["expression"]))),evaluateDefinedIdentifier:new G((()=>new q(["expression"]))),evaluateCallExpressionMember:new G((()=>new q(["expression","param"]))),isPure:new G((()=>new q(["expression","commentsStartPosition"]))),preStatement:new q(["statement"]),blockPreStatement:new q(["declaration"]),statement:new q(["statement"]),statementIf:new q(["statement"]),classExtendsExpression:new q(["expression","classDefinition"]),classBodyElement:new q(["element","classDefinition"]),classBodyValue:new q(["expression","element","classDefinition"]),label:new G((()=>new q(["statement"]))),import:new q(["statement","source"]),importSpecifier:new q(["statement","source","exportName","identifierName"]),export:new q(["statement"]),exportImport:new q(["statement","source"]),exportDeclaration:new q(["statement","declaration"]),exportExpression:new q(["statement","declaration"]),exportSpecifier:new q(["statement","identifierName","exportName","index"]),exportImportSpecifier:new q(["statement","source","identifierName","exportName","index"]),preDeclarator:new q(["declarator","statement"]),declarator:new q(["declarator","statement"]),varDeclaration:new G((()=>new q(["declaration"]))),varDeclarationLet:new G((()=>new q(["declaration"]))),varDeclarationConst:new G((()=>new q(["declaration"]))),varDeclarationVar:new G((()=>new q(["declaration"]))),pattern:new G((()=>new q(["pattern"]))),canRename:new G((()=>new q(["initExpression"]))),rename:new G((()=>new q(["initExpression"]))),assign:new G((()=>new q(["expression"]))),assignMemberChain:new G((()=>new q(["expression","members"]))),typeof:new G((()=>new q(["expression"]))),importCall:new q(["expression"]),topLevelAwait:new q(["expression"]),call:new G((()=>new q(["expression"]))),callMemberChain:new G((()=>new q(["expression","members"]))),memberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new q(["optionalChaining"]),new:new G((()=>new q(["expression"]))),expression:new G((()=>new q(["expression"]))),expressionMemberChain:new G((()=>new q(["expression","members"]))),unhandledExpressionMemberChain:new G((()=>new q(["expression","members"]))),expressionConditionalOperator:new q(["expression"]),expressionLogicalOperator:new q(["expression"]),program:new q(["ast","comments"]),finish:new q(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const N=E;switch(typeof N.value){case"number":return(new Ee).setNumber(N.value).setRange(N.range);case"bigint":return(new Ee).setBigInt(N.value).setRange(N.range);case"string":return(new Ee).setString(N.value).setRange(N.range);case"boolean":return(new Ee).setBoolean(N.value).setRange(N.range)}if(N.value===null){return(new Ee).setNull().setRange(N.range)}if(N.value instanceof RegExp){return(new Ee).setRegExp(N.value).setRange(N.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.callee;if(R.type!=="Identifier"||R.name!=="RegExp"||N.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let j,$;const q=N.arguments[0];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;j=E.asString();if(!j)return}else{return(new Ee).setRegExp(new RegExp("")).setRange(N.range)}const G=N.arguments[1];if(G){if(G.type==="SpreadElement")return;const E=this.evaluateExpression(G);if(!E)return;if(!E.isUndefined()){$=E.asString();if($===undefined||!Ee.isValidRegExpFlags($))return}}return(new Ee).setRegExp($?new RegExp(j,$):new RegExp(j)).setRange(N.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.left);if(!R)return;let j=false;let $;if(N.operator==="&&"){const E=R.asBool();if(E===false)return R.setRange(N.range);j=E===true;$=false}else if(N.operator==="||"){const E=R.asBool();if(E===true)return R.setRange(N.range);j=E===false;$=true}else if(N.operator==="??"){const E=R.asNullish();if(E===false)return R.setRange(N.range);if(E!==true)return;j=true}else return;const q=this.evaluateExpression(N.right);if(!q)return;if(j){if(R.couldHaveSideEffects())q.setSideEffects();return q.setRange(N.range)}const G=q.asBool();if($===true&&G===true){return(new Ee).setRange(N.range).setTruthy()}else if($===false&&G===false){return(new Ee).setRange(N.range).setFalsy()}}));const valueAsExpression=(E,N,R)=>{switch(typeof E){case"boolean":return(new Ee).setBoolean(E).setSideEffects(R).setRange(N.range);case"number":return(new Ee).setNumber(E).setSideEffects(R).setRange(N.range);case"bigint":return(new Ee).setBigInt(E).setSideEffects(R).setRange(N.range);case"string":return(new Ee).setString(E).setSideEffects(R).setRange(N.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.left);if(!R||!R.isCompileTimeValue())return;const j=this.evaluateExpression(N.right);if(!j||!j.isCompileTimeValue())return;const $=E(R.asCompileTimeValue(),j.asCompileTimeValue());return valueAsExpression($,N,R.couldHaveSideEffects()||j.couldHaveSideEffects())};const isAlwaysDifferent=(E,N)=>E===true&&N===false||E===false&&N===true;const handleTemplateStringCompare=(E,N,R,j)=>{const getPrefix=E=>{let N="";for(const R of E){const E=R.asString();if(E!==undefined)N+=E;else break}return N};const getSuffix=E=>{let N="";for(let R=E.length-1;R>=0;R--){const j=E[R].asString();if(j!==undefined)N=j+N;else break}return N};const $=getPrefix(E.parts);const q=getPrefix(N.parts);const G=getSuffix(E.parts);const ie=getSuffix(N.parts);const ae=Math.min($.length,q.length);const ce=Math.min(G.length,ie.length);if($.slice(0,ae)!==q.slice(0,ae)||G.slice(-ce)!==ie.slice(-ce)){return R.setBoolean(!j).setSideEffects(E.couldHaveSideEffects()||N.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Ee;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()===j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}const ie=R.isPrimitiveType();const ae=j.isPrimitiveType();if(ie===false&&(q||ae===true)||ae===false&&(G||ie===true)||isAlwaysDifferent(R.asBool(),j.asBool())||isAlwaysDifferent(R.asNullish(),j.asNullish())){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Ee;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()==j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}};if(N.operator==="+"){const E=this.evaluateExpression(N.left);if(!E)return;const R=this.evaluateExpression(N.right);if(!R)return;const j=new Ee;if(E.isString()){if(R.isString()){j.setString(E.string+R.string)}else if(R.isNumber()){j.setString(E.string+R.number)}else if(R.isWrapped()&&R.prefix&&R.prefix.isString()){j.setWrapped((new Ee).setString(E.string+R.prefix.string).setRange(joinRanges(E.range,R.prefix.range)),R.postfix,R.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E,R.postfix,R.wrappedInnerExpressions)}else{j.setWrapped(E,null,[R])}}else if(E.isNumber()){if(R.isString()){j.setString(E.number+R.string)}else if(R.isNumber()){j.setNumber(E.number+R.number)}else{return}}else if(E.isBigInt()){if(R.isBigInt()){j.setBigInt(E.bigint+R.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&R.isString()){j.setWrapped(E.prefix,(new Ee).setString(E.postfix.string+R.string).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&R.isNumber()){j.setWrapped(E.prefix,(new Ee).setString(E.postfix.string+R.number).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(R.isString()){j.setWrapped(E.prefix,R,E.wrappedInnerExpressions)}else if(R.isNumber()){j.setWrapped(E.prefix,(new Ee).setString(R.number+"").setRange(R.range),E.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E.prefix,R.postfix,E.wrappedInnerExpressions&&R.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(R.prefix?[R.prefix]:[]).concat(R.wrappedInnerExpressions))}else{j.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,R]:[R]))}}else{if(R.isString()){j.setWrapped(null,R,[E])}else if(R.isWrapped()){j.setWrapped(null,R.postfix,R.wrappedInnerExpressions&&(R.prefix?[E,R.prefix]:[E]).concat(R.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||R.couldHaveSideEffects())j.setSideEffects();j.setRange(N.range);return j}else if(N.operator==="-"){return handleConstOperation(((E,N)=>E-N))}else if(N.operator==="*"){return handleConstOperation(((E,N)=>E*N))}else if(N.operator==="/"){return handleConstOperation(((E,N)=>E/N))}else if(N.operator==="**"){return handleConstOperation(((E,N)=>E**N))}else if(N.operator==="==="){return handleStrictEqualityComparison(true)}else if(N.operator==="=="){return handleAbstractEqualityComparison(true)}else if(N.operator==="!=="){return handleStrictEqualityComparison(false)}else if(N.operator==="!="){return handleAbstractEqualityComparison(false)}else if(N.operator==="&"){return handleConstOperation(((E,N)=>E&N))}else if(N.operator==="|"){return handleConstOperation(((E,N)=>E|N))}else if(N.operator==="^"){return handleConstOperation(((E,N)=>E^N))}else if(N.operator===">>>"){return handleConstOperation(((E,N)=>E>>>N))}else if(N.operator===">>"){return handleConstOperation(((E,N)=>E>>N))}else if(N.operator==="<<"){return handleConstOperation(((E,N)=>E<E"){return handleConstOperation(((E,N)=>E>N))}else if(N.operator==="<="){return handleConstOperation(((E,N)=>E<=N))}else if(N.operator===">="){return handleConstOperation(((E,N)=>E>=N))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.argument);if(!R||!R.isCompileTimeValue())return;const j=E(R.asCompileTimeValue());return valueAsExpression(j,N,R.couldHaveSideEffects())};if(N.operator==="typeof"){switch(N.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,N.argument.name,N);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(N.argument),N);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument,N);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument.expression,N);if(E!==undefined)return E;break}case"FunctionExpression":{return(new Ee).setString("function").setRange(N.range)}}const E=this.evaluateExpression(N.argument);if(E.isUnknown())return;if(E.isString()){return(new Ee).setString("string").setRange(N.range)}if(E.isWrapped()){return(new Ee).setString("string").setSideEffects().setRange(N.range)}if(E.isUndefined()){return(new Ee).setString("undefined").setRange(N.range)}if(E.isNumber()){return(new Ee).setString("number").setRange(N.range)}if(E.isBigInt()){return(new Ee).setString("bigint").setRange(N.range)}if(E.isBoolean()){return(new Ee).setString("boolean").setRange(N.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new Ee).setString("object").setRange(N.range)}if(E.isArray()){return(new Ee).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}}else if(N.operator==="!"){const E=this.evaluateExpression(N.argument);if(!E)return;const R=E.asBool();if(typeof R!=="boolean")return;return(new Ee).setBoolean(!R).setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}else if(N.operator==="~"){return handleConstOperation((E=>~E))}else if(N.operator==="+"){return handleConstOperation((E=>+E))}else if(N.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new Ee).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,N)=>{let R=undefined;let j=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const $=E;const q=N(E);if(q!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,q.name,(E=>{R=$;j=q}),(E=>{const N=this.hooks.evaluateDefinedIdentifier.get(E);if(N!==undefined){return N.call($)}}),$)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const $=R===E?j:N(E);if($!==undefined){return(new Ee).setIdentifier($.name,$.rootInfo,$.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{R=j=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const N=this.getVariableInfo(E.name);if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const N=this.getVariableInfo("this");if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const N=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),N)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,Ie)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const N=E;if(N.callee.type!=="MemberExpression"||N.callee.property.type!==(N.callee.computed?"Literal":"Identifier")){return}const R=this.evaluateExpression(N.callee.object);if(!R)return;const j=N.callee.property.type==="Literal"?`${N.callee.property.value}`:N.callee.property.name;const $=this.hooks.evaluateCallExpressionMember.get(j);if($!==undefined){return $.call(N,R)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length===0)return;const[R,j]=E.arguments;if(R.type==="SpreadElement")return;const $=this.evaluateExpression(R);if(!$.isString())return;const q=$.string;let G;if(j){if(j.type==="SpreadElement")return;const E=this.evaluateExpression(j);if(!E.isNumber())return;G=N.string.indexOf(q,E.number)}else{G=N.string.indexOf(q)}return(new Ee).setNumber(G).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let R=this.evaluateExpression(E.arguments[0]);let j=this.evaluateExpression(E.arguments[1]);if(!R.isString()&&!R.isRegExp())return;const $=R.regExp||R.string;if(!j.isString())return;const q=j.string;return(new Ee).setString(N.string.replace($,q)).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((N,R)=>{if(!R.isString())return;let j;let $,q=R.string;switch(N.arguments.length){case 1:if(N.arguments[0].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);if(!j.isNumber())return;$=q[E](j.number);break;case 2:{if(N.arguments[0].type==="SpreadElement")return;if(N.arguments[1].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);const R=this.evaluateExpression(N.arguments[1]);if(!j.isNumber())return;if(!R.isNumber())return;$=q[E](j.number,R.number);break}default:return}return(new Ee).setString($).setSideEffects(R.couldHaveSideEffects()).setRange(N.range)}))}));const getSimplifiedTemplateResult=(E,N)=>{const R=[];const j=[];for(let $=0;$0){const E=j[j.length-1];const R=this.evaluateExpression(N.expressions[$-1]);const ie=R.asString();if(typeof ie==="string"&&!R.couldHaveSideEffects()){E.setString(E.string+ie+G);E.setRange([E.range[0],q.range[1]]);E.setExpression(undefined);continue}j.push(R)}const ie=(new Ee).setString(G).setRange(q.range).setExpression(q);R.push(ie);j.push(ie)}return{quasis:R,parts:j}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const N=E;const{quasis:R,parts:j}=getSimplifiedTemplateResult("cooked",N);if(j.length===1){return j[0].setRange(N.range)}return(new Ee).setTemplateString(R,j,"cooked").setRange(N.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.tag);if(R.isIdentifier()&&R.identifier!=="String.raw")return;const{quasis:j,parts:$}=getSimplifiedTemplateResult("raw",N.quasi);return(new Ee).setTemplateString(j,$,"raw").setRange(N.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,N)=>{if(!N.isString()&&!N.isWrapped())return;let R=null;let j=false;const $=[];for(let N=E.arguments.length-1;N>=0;N--){const q=E.arguments[N];if(q.type==="SpreadElement")return;const G=this.evaluateExpression(q);if(j||!G.isString()&&!G.isNumber()){j=true;$.push(G);continue}const ie=G.isString()?G.string:""+G.number;const ae=ie+(R?R.string:"");const ce=[G.range[0],(R||G).range[1]];R=(new Ee).setString(ae).setSideEffects(R&&R.couldHaveSideEffects()||G.couldHaveSideEffects()).setRange(ce)}if(j){const j=N.isString()?N:N.prefix;const q=N.isWrapped()&&N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Ee).setWrapped(j,R,q).setRange(E.range)}else if(N.isWrapped()){const j=R||N.postfix;const q=N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Ee).setWrapped(N.prefix,j,q).setRange(E.range)}else{const j=N.string+(R?R.string:"");return(new Ee).setString(j).setSideEffects(R&&R.couldHaveSideEffects()||N.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let R;const j=this.evaluateExpression(E.arguments[0]);if(j.isString()){R=N.string.split(j.string)}else if(j.isRegExp()){R=N.string.split(j.regExp)}else{return}return(new Ee).setArray(R).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.test);const j=R.asBool();let $;if(j===undefined){const E=this.evaluateExpression(N.consequent);const R=this.evaluateExpression(N.alternate);if(!E||!R)return;$=new Ee;if(E.isConditional()){$.setOptions(E.options)}else{$.setOptions([E])}if(R.isConditional()){$.addOptions(R.options)}else{$.addOptions([R])}}else{$=this.evaluateExpression(j?N.consequent:N.alternate);if(R.couldHaveSideEffects())$.setSideEffects()}$.setRange(N.range);return $}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!R.every(Boolean))return;return(new Ee).setItems(R).setRange(N.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const N=E;const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length>0){const N=R.pop();const j=this.evaluateExpression(N);if(j&&j.asNullish()){return j.setRange(E.range)}}return this.evaluateExpression(N.expression)}))}getRenameIdentifier(E){const N=this.evaluateExpression(E);if(N&&N.isIdentifier()){return N.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const N of E.body.body){if(!this.hooks.classBodyElement.call(N,E)){if(N.computed&&N.key){this.walkExpression(N.key)}if(N.value){if(!this.hooks.classBodyValue.call(N.value,N,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(N.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let N=0,R=E.length;N{const N=E.body;const R=this.prevStatement;this.blockPreWalkStatements(N);this.prevStatement=R;this.walkStatements(N)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const N=this.hooks.statementIf.call(E);if(N===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(N){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const N=this.hooks.label.get(E.label.name);if(N!==undefined){const R=N.call(E);if(R===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}blockPreWalkImportDeclaration(E){const N=E.source.value;this.hooks.import.call(E,N);for(const R of E.specifiers){const j=R.local.name;switch(R.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,N,"default",j)){this.defineVariable(j)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,N,R.imported.name,j)){this.defineVariable(j)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,N,null,j)){this.defineVariable(j)}break;default:this.defineVariable(j)}}}enterDeclaration(E,N){switch(E.type){case"VariableDeclaration":for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{this.enterPattern(R.id,N);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,N);break;case"ClassDeclaration":this.enterPattern(E.id,N);break}}blockPreWalkExportNamedDeclaration(E){let N;if(E.source){N=E.source.value;this.hooks.exportImport.call(E,N)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const N=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=N;this.blockPreWalkStatement(E.declaration);let R=0;this.enterDeclaration(E.declaration,(N=>{this.hooks.exportSpecifier.call(E,N,N,R++)}))}}if(E.specifiers){for(let R=0;R{let j=N.get(E);if(j===undefined||!j.call(R)){j=this.hooks.varDeclaration.get(E);if(j===undefined||!j.call(R)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const N of E.declarations){switch(N.type){case"VariableDeclarator":{const R=N.init&&this.getRenameIdentifier(N.init);if(R&&N.id.type==="Identifier"){const E=this.hooks.canRename.get(R);if(E!==undefined&&E.call(N.init)){const E=this.hooks.rename.get(R);if(E===undefined||!E.call(N.init)){this.setVariable(N.id.name,R)}break}}if(!this.hooks.declarator.call(N,E)){this.walkPattern(N.id);if(N.init)this.walkExpression(N.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let N=0,R=E.length;N{const N=E.length;for(let R=0;R0){const E=this.prevStatement;this.blockPreWalkStatements(N.consequent);this.prevStatement=E}}for(let R=0;R0){this.walkStatements(N.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const N=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let N=0,R=E.properties.length;N{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkArrowFunctionExpression(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=N?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkSequenceExpression(E){if(!E.expressions)return;const N=this.statementPath[this.statementPath.length-1];if(N===E||N.type==="ExpressionStatement"&&N.expression===E){const N=this.statementPath.pop();for(const N of E.expressions){this.statementPath.push(N);this.walkExpression(N);this.statementPath.pop()}this.statementPath.push(N)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(N===true)return;if(E.argument.type==="ChainExpression"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(N===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const N=this.hooks.expressionLogicalOperator.call(E);if(N===undefined){this.walkLeftRightExpression(E)}else{if(N){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const N=this.getRenameIdentifier(E.right);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E.right)){if(!this.callHooksForInfo(this.hooks.rename,N,E.right)){this.setVariable(E.left.name,this.getVariableInfo(N))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.defineVariable(N)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.left,Ie);if(N){if(this.callHooksForInfo(this.hooks.assignMemberChain,N.rootInfo,E,N.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const N=this.hooks.expressionConditionalOperator.call(E);if(N===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(N){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const N=this.callHooksForExpression(this.hooks.new,E.callee,E);if(N===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const N=this.hooks.optionalChaining.call(E);if(N===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,N,R){const getVarInfo=E=>{const N=this.getRenameIdentifier(E);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E)){if(!this.callHooksForInfo(this.hooks.rename,N,E)){return this.getVariableInfo(N)}}}this.walkExpression(E)};const{params:j,type:$}=E;const q=$==="ArrowFunctionExpression";const G=R?getVarInfo(R):null;const ie=N.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&q?"arrow":false;const ce=j.filter(((E,N)=>!ie[N]));if(E.id){ce.push(E.id.name)}this.inFunctionScope(true,ce,(()=>{if(G&&!q){this.setVariable("this",G)}for(let E=0;EE.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.callee,we);if(N&&N.type==="call"){const R=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return}}const N=this.evaluateExpression(E.callee);if(N.isIdentifier()){const R=this.callHooksForInfo(this.hooks.callMemberChain,N.rootInfo,E,N.getMembers());if(R===true)return;const j=this.callHooksForInfo(this.hooks.call,N.identifier,E);if(j===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const N=this.getMemberExpressionInfo(E,Ne);if(N){switch(N.type){case"expression":{const R=this.callHooksForInfo(this.hooks.expression,N.name,E);if(R===true)return;const j=N.getMembers();const $=this.callHooksForInfo(this.hooks.expressionMemberChain,N.rootInfo,E,j);if($===true)return;this.walkMemberExpressionWithExpressionName(E,N.name,N.rootInfo,j.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,N.rootInfo,E,j)));return}case"call":{const R=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return;this.walkExpression(N.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,N,R,j,$){if(E.object.type==="MemberExpression"){const q=E.property.name||`${E.property.value}`;N=N.slice(0,-q.length-1);j.pop();const G=this.callHooksForInfo(this.hooks.expression,N,E.object);if(G===true)return;this.walkMemberExpressionWithExpressionName(E.object,N,R,j,$)}else if(!$||!$()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,N,...R){return this.callHooksForExpressionWithFallback(E,N,undefined,undefined,...R)}callHooksForExpressionWithFallback(E,N,R,j,...$){const q=this.getMemberExpressionInfo(N,Ie);if(q!==undefined){const N=q.getMembers();return this.callHooksForInfoWithFallback(E,N.length===0?q.rootInfo:q.name,R&&(E=>R(E,q.rootInfo,q.getMembers)),j&&(()=>j(q.name)),...$)}}callHooksForName(E,N,...R){return this.callHooksForNameWithFallback(E,N,undefined,undefined,...R)}callHooksForInfo(E,N,...R){return this.callHooksForInfoWithFallback(E,N,undefined,undefined,...R)}callHooksForInfoWithFallback(E,N,R,j,...$){let q;if(typeof N==="string"){q=N}else{if(!(N instanceof VariableInfo)){if(j!==undefined){return j()}return}let R=N.tagInfo;while(R!==undefined){const N=E.get(R.tag);if(N!==undefined){this.currentTagData=R.data;const E=N.call(...$);this.currentTagData=undefined;if(E!==undefined)return E}R=R.next}if(N.freeName===true){if(j!==undefined){return j()}return}q=N.freeName}const G=E.get(q);if(G!==undefined){const E=G.call(...$);if(E!==undefined)return E}if(R!==undefined){return R(q)}}callHooksForNameWithFallback(E,N,R,j,...$){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(N),R,j,...$)}inScope(E,N){const R=this.scope;this.scope={topLevelScope:R.topLevelScope,inTry:false,inShorthand:false,isStrict:R.isStrict,isAsmJs:R.isAsmJs,definitions:R.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,N)=>{this.defineVariable(E)}));N();this.scope=R}inFunctionScope(E,N,R){const j=this.scope;this.scope={topLevelScope:j.topLevelScope,inTry:false,inShorthand:false,isStrict:j.isStrict,isAsmJs:j.isAsmJs,definitions:j.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(N,((E,N)=>{this.defineVariable(E)}));R();this.scope=j}inBlockScope(E){const N=this.scope;this.scope={topLevelScope:N.topLevelScope,inTry:N.inTry,inShorthand:false,isStrict:N.isStrict,isAsmJs:N.isAsmJs,definitions:N.definitions.createChild()};E();this.scope=N}detectMode(E){const N=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(N&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(N&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,N){for(const R of E){if(typeof R!=="string"){this.enterPattern(R,N)}else if(R){N(R)}}}enterPattern(E,N){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,N);break;case"AssignmentPattern":this.enterAssignmentPattern(E,N);break;case"Identifier":this.enterIdentifier(E,N);break;case"ObjectPattern":this.enterObjectPattern(E,N);break;case"RestElement":this.enterRestElement(E,N);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,N);this.scope.inShorthand=false}else{this.enterPattern(E.value,N)}break}}enterIdentifier(E,N){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){N(E.name,E)}}enterObjectPattern(E,N){for(let R=0,j=E.properties.length;R$.add(E)})}const q=this.scope;const G=this.state;const ie=this.comments;const ae=this.semicolons;const le=this.statementPath;const _e=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new ce};this.state=N;this.comments=j;this.semicolons=$;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(R,j)===undefined){this.detectMode(R.body);this.preWalkStatements(R.body);this.prevStatement=undefined;this.blockPreWalkStatements(R.body);this.prevStatement=undefined;this.walkStatements(R.body)}this.hooks.finish.call(R,j);this.scope=q;this.state=G;this.comments=ie;this.semicolons=ae;this.statementPath=le;this.prevStatement=_e;return N}evaluate(E){const N=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(N.body.length!==1||N.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(N.body[0].expression)}isPure(E,N){if(!E)return true;const R=this.hooks.isPure.for(E.type).call(E,N);if(typeof R==="boolean")return R;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const N=E.body.body;return N.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,N)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const R=this.isPure(E,N);N=E.range[1];return R}));case"CallExpression":{const R=E.range[0]-N>12&&this.getComments([N,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!R)return false;N=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const R=this.isPure(E,N);N=E.range[1];return R}))}}const j=this.evaluateExpression(E);return!j.couldHaveSideEffects()}getComments(E){const[N,R]=E;const compare=(E,N)=>E.range[0]-N;let j=le.ge(this.comments,N,compare);let $=[];while(this.comments[j]&&this.comments[j].range[1]<=R){$.push(this.comments[j]);j++}return $}isAsiPosition(E){const N=this.statementPath[this.statementPath.length-1];if(N===undefined)throw new Error("Not in statement");return N.range[1]===E&&this.semicolons.has(E)||N.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const N=this.statementPath[this.statementPath.length-1];return E===N||N.type==="ExpressionStatement"&&N.expression===E}getTagData(E,N){const R=this.scope.definitions.get(E);if(R instanceof VariableInfo){let E=R.tagInfo;while(E!==undefined){if(E.tag===N)return E.data;E=E.next}}}tagVariable(E,N,R){const j=this.scope.definitions.get(E);let $;if(j===undefined){$=new VariableInfo(this.scope,E,{tag:N,data:R,next:undefined})}else if(j instanceof VariableInfo){$=new VariableInfo(j.declaredScope,j.freeName,{tag:N,data:R,next:j.tagInfo})}else{$=new VariableInfo(j,true,{tag:N,data:R,next:undefined})}this.scope.definitions.set(E,$)}defineVariable(E){const N=this.scope.definitions.get(E);if(N instanceof VariableInfo&&N.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const N=this.scope.definitions.get(E);if(N===undefined)return false;if(N instanceof VariableInfo){return N.freeName===true}return true}getVariableInfo(E){const N=this.scope.definitions.get(E);if(N===undefined){return E}else{return N}}setVariable(E,N){if(typeof N==="string"){if(N===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,N,undefined))}}else{this.scope.definitions.set(E,N)}}parseCommentOptions(E){const N=this.getComments(E);if(N.length===0){return je}let R={};let j=[];for(const E of N){const{value:N}=E;if(N&&Be.test(N)){try{const E=ie.runInNewContext(`(function(){return {${N}};})()`);Object.assign(R,E)}catch(N){N.comment=E;j.push(N)}}}return{options:R,errors:j}}extractMemberExpressionChain(E){let N=E;const R=[];while(N.type==="MemberExpression"){if(N.computed){if(N.property.type!=="Literal")break;R.push(`${N.property.value}`)}else{if(N.property.type!=="Identifier")break;R.push(N.property.name)}N=N.object}return{members:R,object:N}}getFreeInfoFromVariable(E){const N=this.getVariableInfo(E);let R;if(N instanceof VariableInfo){R=N.freeName;if(typeof R!=="string")return undefined}else if(typeof N!=="string"){return undefined}else{R=N}return{info:N,name:R}}getMemberExpressionInfo(E,N){const{object:R,members:j}=this.extractMemberExpressionChain(E);switch(R.type){case"CallExpression":{if((N&we)===0)return undefined;let E=R.callee;let $=Te;if(E.type==="MemberExpression"){({object:E,members:$}=this.extractMemberExpressionChain(E))}const q=getRootName(E);if(!q)return undefined;const G=this.getFreeInfoFromVariable(q);if(!G)return undefined;const{info:ie,name:ae}=G;const ce=objectAndMembersToName(ae,$);return{type:"call",call:R,calleeName:ce,rootInfo:ie,getCalleeMembers:_e((()=>$.reverse())),name:objectAndMembersToName(`${ce}()`,j),getMembers:_e((()=>j.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((N&Ie)===0)return undefined;const E=getRootName(R);if(!E)return undefined;const $=this.getFreeInfoFromVariable(E);if(!$)return undefined;const{info:q,name:G}=$;return{type:"expression",name:objectAndMembersToName(G,j),rootInfo:q,getMembers:_e((()=>j.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,Ie)}static _parse(E,N){const R=N?N.sourceType:"module";const j={...Le,allowReturnOutsideFunction:R==="script",...N,sourceType:R==="auto"?"module":R};let $;let q;let G=false;try{$=Me.parse(E,j)}catch(E){q=E;G=true}if(G&&R==="auto"){j.sourceType="script";if(!("allowReturnOutsideFunction"in N)){j.allowReturnOutsideFunction=true}if(Array.isArray(j.onComment)){j.onComment.length=0}try{$=Me.parse(E,j);G=false}catch(E){}}if(G){throw q}return $}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ne;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Ie;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=we},48472:(E,N,R)=>{"use strict";const j=R(53558);const $=R(66298);const q=R(87250);N.toConstantDependency=(E,N,R)=>function constDependency(j){const q=new $(N,j.range,R);q.loc=j.loc;E.state.module.addPresentationalDependency(q);return true};N.evaluateToString=E=>function stringExpression(N){return(new q).setString(E).setRange(N.range)};N.evaluateToNumber=E=>function stringExpression(N){return(new q).setNumber(E).setRange(N.range)};N.evaluateToBoolean=E=>function booleanExpression(N){return(new q).setBoolean(E).setRange(N.range)};N.evaluateToIdentifier=(E,N,R,j)=>function identifierExpression($){let G=(new q).setIdentifier(E,N,R).setSideEffects(false).setRange($.range);switch(j){case true:G.setTruthy();break;case null:G.setNullish(true);break;case false:G.setFalsy();break}return G};N.expressionIsUnsupported=(E,N)=>function unsupportedExpression(R){const q=new $("(void 0)",R.range,null);q.loc=R.loc;E.state.module.addPresentationalDependency(q);if(!E.state.module)return;E.state.module.addWarning(new j(N,R.loc));return true};N.skipTraversal=()=>true;N.approve=()=>true},13085:(E,N,R)=>{"use strict";const j=R(71452);const $=R(76150);const q=R(58159);const{isSubset:G}=R(26221);const{chunkHasJs:ie}=R(18161);const getAllChunks=(E,N,R)=>{const $=new Set([E]);const q=new Set;for(const E of $){for(const j of E.chunks){if(j===N)continue;if(j===R)continue;q.add(j)}for(const N of E.parentsIterable){if(N instanceof j)$.add(N)}}return q};const ae="var __webpack_exports__ = ";N.generateEntryStartup=(E,N,R,j,ie)=>{const ce=[`var __webpack_exec__ = ${N.returningFunction(`__webpack_require__(${$.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,R,j)=>{if(E.size===0){ce.push(`${j?ae:""}(${R.map(runModule).join(", ")});`)}else{const q=N.returningFunction(R.map(runModule).join(", "));ce.push(`${j&&!ie?ae:""}${ie?$.onChunksLoaded:$.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${q});`);if(j&&ie){ce.push(`${ae}${$.onChunksLoaded}();`)}}};let le=undefined;let _e=undefined;for(const[N,$]of R){const R=$.getRuntimeChunk();const q=E.getModuleId(N);const ie=getAllChunks($,j,R);if(le&&le.size===ie.size&&G(le,ie)){_e.push(q)}else{if(le){outputCombination(le,_e)}le=ie;_e=[q]}}if(le){outputCombination(le,_e,true)}ce.push("");return q.asString(ce)};N.updateHashForEntryStartup=(E,N,R,j)=>{for(const[$,q]of R){const R=q.getRuntimeChunk();const G=N.getModuleId($);E.update(`${G}`);for(const N of getAllChunks(q,j,R))E.update(`${N.id}`)}};N.getInitialChunkIds=(E,N)=>{const R=new Set(E.ids);for(const j of E.getAllInitialChunks()){if(j===E||ie(j,N))continue;for(const E of j.ids)R.add(E)}return R}},72055:(E,N,R)=>{"use strict";const{register:j}=R(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}j(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:N}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}N(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(77294);const{UsageState:q}=R(76632);const G=R(36253);const ie=R(76150);const stringifySafe=E=>{const N=JSON.stringify(E);if(!N){return undefined}return N.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)!==q.Unused)return E;const j=Array.isArray(E);const $=j?[]:{};for(const j of Object.keys(E)){const G=N.getReadOnlyExportInfo(j);const ie=G.getUsed(R);if(ie===q.Unused)continue;let ae;if(ie===q.OnlyPropertiesUsed&&G.exportsInfo){ae=createObjectForExportsInfo(E[j],G.exportsInfo,R)}else{ae=E[j]}const ce=G.getUsedName(j,R);$[ce]=ae}if(j){let j=N.getReadOnlyExportInfo("length").getUsed(R)!==q.Unused?E.length:undefined;let G=0;for(let E=0;E<$.length;E++){if($[E]===undefined){G-=2}else{G+=`${E}`.length+3}}if(j!==undefined){G+=`${j}`.length+8-(j-$.length)*2}if(G<0)return Object.assign(j===undefined?{}:{length:j},$);const ie=j!==undefined?Math.max(j,$.length):$.length;for(let E=0;E20&&typeof Ee==="object"?`JSON.parse('${Te.replace(/[\\']/g,"\\$&")}')`:Te;let Ie;if(ce){Ie=`${R.supportsConst()?"const":"var"} ${$.NAMESPACE_OBJECT_EXPORT} = ${we};`;ce.registerNamespaceExport($.NAMESPACE_OBJECT_EXPORT)}else{G.add(ie.module);Ie=`${E.moduleArgument}.exports = ${we};`}return new j(Ie)}}E.exports=JsonGenerator},9483:(E,N,R)=>{"use strict";const j=R(35817);const $=R(79279);const q=R(79232);const G=j(R(71633),(()=>R(89408)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:N})=>{N.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{G(E);return new q(E)}));N.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new $))}))}}E.exports=JsonModulesPlugin},79232:(E,N,R)=>{"use strict";const j=R(78688);const $=R(2172);const q=R(38895);const G=R(72055);class JsonParser extends ${constructor(E){super();this.options=E||{}}parse(E,N){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const R=typeof this.options.parse==="function"?this.options.parse:j;const $=typeof E==="object"?E:R(E[0]==="\ufeff"?E.slice(1):E);N.module.buildInfo.jsonData=new G($);N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";N.module.buildMeta.defaultObject=typeof $==="object"?"redirect-warn":false;N.module.addDependency(new q(q.getExportsFromData($)));return N}}E.exports=JsonParser},9786:(E,N,R)=>{"use strict";const j=R(76150);const $=R(18161);const q="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:N}){this._pluginName=E;this._type=N;this._parseCache=new WeakMap}apply(E){const{_pluginName:N}=this;E.hooks.thisCompilation.tap(N,(E=>{E.hooks.finishModules.tap({name:N,stage:10},(()=>{for(const[N,{dependencies:R,options:{library:j}}]of E.entries){const $=this._parseOptionsCached(j!==undefined?j:E.outputOptions.library);if($!==false){const j=R[R.length-1];if(j){const R=E.moduleGraph.getModule(j);if(R){this.finishEntryModule(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=N=>{if(E.chunkGraph.getNumberOfEntryModules(N)===0)return false;const R=N.getEntryOptions();const j=R&&R.library;return this._parseOptionsCached(j!==undefined?j:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(N,((N,R,{chunkGraph:j})=>{const $=getOptionsForChunk(N);if($!==false){this.runtimeRequirements(N,R,{options:$,compilation:E,chunkGraph:j})}}))}const R=$.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){R.render.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return N;return this.render(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){R.embedInRuntimeBailout.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return;return this.embedInRuntimeBailout(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){R.strictRuntimeBailout.tap(N,(N=>{const R=getOptionsForChunk(N.chunk);if(R===false)return;return this.strictRuntimeBailout(N,{options:R,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){R.renderStartup.tap(N,((N,R,j)=>{const $=getOptionsForChunk(j.chunk);if($===false)return N;return this.renderStartup(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}R.chunkHash.tap(N,((N,R,j)=>{const $=getOptionsForChunk(N);if($===false)return;this.chunkHash(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const N=this._parseCache.get(E);if(N!==undefined)return N;const R=this.parseOptions(E);this._parseCache.set(E,R);return R}parseOptions(E){const N=R(75884);throw new N}finishEntryModule(E,N,R){}embedInRuntimeBailout(E,N,R){return undefined}strictRuntimeBailout(E,N){return undefined}runtimeRequirements(E,N,R){if(this.render!==AbstractLibraryPlugin.prototype.render)N.add(j.returnExportsFromRuntime)}render(E,N,R){return E}renderStartup(E,N,R,j){return E}chunkHash(E,N,R,j){const $=this._parseOptionsCached(j.compilation.outputOptions.library);N.update(this._pluginName);N.update(JSON.stringify($))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=q;E.exports=AbstractLibraryPlugin},17982:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(16734);const q=R(58159);const G=R(9786);class AmdLibraryPlugin extends G{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:N}=E;if(this.requireAsWrapper){if(N){throw new Error(`AMD library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(N&&typeof N!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:N}}render(E,{chunkGraph:N,chunk:R,runtimeTemplate:G},{options:ie,compilation:ae}){const ce=G.supportsArrowFunction();const le=N.getChunkModules(R).filter((E=>E instanceof $));const _e=le;const Ee=JSON.stringify(_e.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Te=_e.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const we=G.isIIFE();const Ie=(ce?`(${Te}) => {`:`function(${Te}) {`)+(we||!R.hasRuntime()?" return ":"\n");const Ne=we?";\n}":"\n}";if(this.requireAsWrapper){return new j(`require(${Ee}, ${Ie}`,E,`${Ne});`)}else if(ie.name){const N=ae.getPath(ie.name,{chunk:R});return new j(`define(${JSON.stringify(N)}, ${Ee}, ${Ie}`,E,`${Ne});`)}else if(Te){return new j(`define(${Ee}, ${Ie}`,E,`${Ne});`)}else{return new j(`define(${Ie}`,E,`${Ne});`)}}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AmdLibraryPlugin");if(this.requireAsWrapper){N.update("requireAsWrapper")}else if(j.name){N.update("named");const R=$.getPath(j.name,{chunk:E});N.update(R)}}}E.exports=AmdLibraryPlugin},69444:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(58159);const G=R(68038);const{getEntryRuntime:ie}=R(37416);const ae=R(9786);const ce=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const le=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!ce.test(E)&&le.test(E);const accessWithInit=(E,N,R=false)=>{const j=E[0];if(E.length===1&&!R)return j;let $=N>0?j:`(${j} = typeof ${j} === "undefined" ? {} : ${j})`;let q=1;let ie;if(N>q){ie=E.slice(1,N);q=N;$+=G(ie)}else{ie=[]}const ae=R?E.length:E.length-1;for(;qR.getPath(E,{chunk:N})))}render(E,{chunk:N},{options:R,compilation:$}){const G=this._getResolvedFullName(R,N,$);if(this.declare){const N=G[0];if(!isNameValid(N)){throw new Error(`Library name base (${N}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${q.toIdentifier(N)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new j(`${this.declare} ${N};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:N},{options:R,compilation:j}){const $=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!$)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(R,N,j);const G=q[0];if($.has(G))return`it declares '${G}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:N,compilation:R}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!N.name){return}return"a global variable is assign and maybe created"}renderStartup(E,N,{chunk:R},{options:$,compilation:q}){const ie=this._getResolvedFullName($,R,q);const ae=$.export?G(Array.isArray($.export)?$.export:[$.export]):"";const ce=new j(E);if($.name?this.named==="copy":this.unnamed==="copy"){ce.add(`var __webpack_export_target__ = ${accessWithInit(ie,this._getPrefix(q).length,true)};\n`);let E="__webpack_exports__";if(ae){ce.add(`var __webpack_exports_export__ = __webpack_exports__${ae};\n`);E="__webpack_exports_export__"}ce.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);ce.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ce.add(`${accessWithInit(ie,this._getPrefix(q).length,false)} = __webpack_exports__${ae};\n`)}return ce}runtimeRequirements(E,N,R){}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AssignLibraryPlugin");const q=this.prefix==="global"?[$.outputOptions.globalObject]:this.prefix;const G=j.name?q.concat(j.name):q;const ie=G.map((N=>$.getPath(N,{chunk:E})));if(j.name?this.named==="copy":this.unnamed==="copy"){N.update("copy")}if(this.declare){N.update(this.declare)}N.update(ie.join("."));if(j.export){N.update(`${j.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){const enableExportProperty=()=>{const j=R(97140);new j({type:N,nsObjectUsed:N!=="module"}).apply(E)};switch(N){case"var":{const j=R(69444);new j({type:N,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const j=R(69444);new j({type:N,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const j=R(69444);new j({type:N,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const j=R(69444);new j({type:N,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const j=R(69444);new j({type:N,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const j=R(69444);new j({type:N,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const j=R(69444);new j({type:N,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const j=R(17982);new j({type:N,requireAsWrapper:N==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const j=R(76456);new j({type:N,optionalAmdExternalAsGlobal:N==="umd2"}).apply(E);break}case"system":{enableExportProperty();const j=R(59405);new j({type:N}).apply(E);break}case"jsonp":{enableExportProperty();const j=R(63154);new j({type:N}).apply(E);break}case"module":{enableExportProperty();const j=R(68111);new j({type:N}).apply(E);break}default:throw new Error(`Unsupported library type ${N}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(68038);const{getEntryRuntime:G}=R(37416);const ie=R(9786);class ExportPropertyLibraryPlugin extends ie{constructor({type:E,nsObjectUsed:N}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=N}parseOptions(E){return{export:E.export}}finishEntryModule(E,N,{options:R,compilation:j,compilation:{moduleGraph:q}}){const ie=G(j,N);if(R.export){const N=q.getExportInfo(E,Array.isArray(R.export)?R.export[0]:R.export);N.setUsed($.Used,ie);N.canMangleUse=false}else{const N=q.getExportsInfo(E);if(this.nsObjectUsed){N.setUsedInUnknownWay(ie)}else{N.setAllKnownExportsUsed(ie)}}q.addExtraReason(E,"used as library export")}runtimeRequirements(E,N,R){}renderStartup(E,N,R,{options:$}){if(!$.export)return E;const G=`__webpack_exports__ = __webpack_exports__${q(Array.isArray($.export)?$.export:[$.export])};\n`;return new j(E,G)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(9786);class JsonpLibraryPlugin extends ${constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(typeof N!=="string"){throw new Error(`Jsonp library name must be a simple string. ${$.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunk:N},{options:R,compilation:$}){const q=$.getPath(R.name,{chunk:N});return new j(`${q}(`,E,")")}chunkHash(E,N,R,{options:j,compilation:$}){N.update("JsonpLibraryPlugin");N.update($.getPath(j.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(58159);const q=R(68038);const G=R(9786);class ModuleLibraryPlugin extends G{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N){throw new Error(`Library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}renderStartup(E,N,{moduleGraph:R,chunk:G},{options:ie,compilation:ae}){const ce=new j(E);const le=R.getExportsInfo(N);const _e=[];const Ee=R.isAsync(N);if(Ee){ce.add(`__webpack_exports__ = await __webpack_exports__;\n`)}for(const E of le.orderedExports){if(!E.provided)continue;const N=`__webpack_exports__${$.toIdentifier(E.name)}`;ce.add(`var ${N} = __webpack_exports__${q([E.getUsedName(E.name,G.runtime)])};\n`);_e.push(`${N} as ${E.name}`)}if(_e.length>0){ce.add(`export { ${_e.join(", ")} };\n`)}return ce}}E.exports=ModuleLibraryPlugin},59405:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(16734);const G=R(58159);const ie=R(68038);const ae=R(9786);class SystemLibraryPlugin extends ae{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N&&typeof N!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunkGraph:N,moduleGraph:R,chunk:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ae).filter((E=>E instanceof q&&E.externalType==="system"));const Ee=_e;const Te=ce.name?`${JSON.stringify(le.getPath(ce.name,{chunk:ae}))}, `:"";const we=JSON.stringify(Ee.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ie="__WEBPACK_DYNAMIC_EXPORT__";const Ne=Ee.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`));const Me=Ne.map((E=>`var ${E} = {};`)).join("\n");const Le=[];const Be=Ne.length===0?"":G.asString(["setters: [",G.indent(Ee.map(((E,N)=>{const j=Ne[N];const q=R.getExportsInfo(E);const ce=q.otherExportsInfo.getUsed(ae.runtime)===$.Unused;const le=[];const _e=[];for(const E of q.orderedExports){const N=E.getUsedName(undefined,ae.runtime);if(N){if(ce||N!==E.name){le.push(`${j}${ie([N])} = module${ie([E.name])};`);_e.push(E.name)}}else{_e.push(E.name)}}if(!ce){if(!Array.isArray(E.request)||E.request.length===1){Le.push(`Object.defineProperty(${j}, "__esModule", { value: true });`)}if(_e.length>0){const E=`${j}handledNames`;Le.push(`var ${E} = ${JSON.stringify(_e)};`);le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`if(${E}.indexOf(key) >= 0)`,G.indent(`${j}[key] = module[key];`)]),"});"]))}else{le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`${j}[key] = module[key];`]),"});"]))}}if(le.length===0)return"function() {}";return G.asString(["function(module) {",G.indent(le),"}"])})).join(",\n")),"],"]);return new j(G.asString([`System.register(${Te}${we}, function(${Ie}, __system_context__) {`,G.indent([Me,G.asString(Le),"return {",G.indent([Be,"execute: function() {",G.indent(`${Ie}(`)])]),""]),E,G.asString(["",G.indent([G.indent([G.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,N,R,{options:j,compilation:$}){N.update("SystemLibraryPlugin");if(j.name){N.update($.getPath(j.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,N,R)=>{"use strict";const{ConcatSource:j,OriginalSource:$}=R(48135);const q=R(16734);const G=R(58159);const ie=R(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,N,R=", ")=>{const j=Array.isArray(N)?N:[N];return j.map(((N,R)=>{const $=E?E+accessorToObjectAccess(j.slice(0,R+1)):j[0]+accessorToObjectAccess(j.slice(1,R+1));if(R===j.length-1)return $;if(R===0&&E===undefined)return`${$} = typeof ${$} === "object" ? ${$} : {}`;return`${$} = ${$} || {}`})).join(R)};class UmdLibraryPlugin extends ie{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let N;let R;if(typeof E.name==="object"&&!Array.isArray(E.name)){N=E.name.root||E.name.amd||E.name.commonjs;R=E.name}else{N=E.name;const j=Array.isArray(N)?N[0]:N;R={commonjs:j,root:E.name,amd:j}}return{name:N,names:R,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:N,runtimeTemplate:R,chunk:ie,moduleGraph:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ie).filter((E=>E instanceof q&&(E.externalType==="umd"||E.externalType==="umd2")));let Ee=_e;const Te=[];let we=[];if(this.optionalAmdExternalAsGlobal){for(const E of Ee){if(E.isOptional(ae)){Te.push(E)}else{we.push(E)}}Ee=we.concat(Te)}else{we=Ee}const replaceKeys=E=>le.getPath(E,{chunk:ie});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let N=E.request;if(typeof N==="object")N=N.root;return`root${accessorToObjectAccess([].concat(N))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(Ee.map((N=>{let R;let j=N.request;if(typeof j==="object"){j=j[E]}if(j===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray(j)){R=`require(${JSON.stringify(j[0])})${accessorToObjectAccess(j.slice(1))}`}else{R=`require(${JSON.stringify(j)})`}if(N.isOptional(ae)){R=`(function webpackLoadOptionalExternalModule() { try { return ${R}; } catch(e) {} }())`}return R})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Ie;if(Te.length>0){const E=externalsArguments(we);const N=we.length>0?externalsArguments(we)+", "+externalsRootArray(Te):externalsRootArray(Te);Ie=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${N});\n`+"\t\t}"}else{Ie="factory"}const{auxiliaryComment:Ne,namedDefine:Me,names:Le}=ce;const getAuxiliaryComment=E=>{if(Ne){if(typeof Ne==="string")return"\t//"+Ne+"\n";if(Ne[E])return"\t//"+Ne[E]+"\n"}return""};return new j(new $("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(we.length>0?Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", "+externalsDepsArray(we)+", "+Ie+");\n":"\t\tdefine("+externalsDepsArray(we)+", "+Ie+");\n":Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", [], "+Ie+");\n":"\t\tdefine([], "+Ie+");\n")+(Le.root||Le.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Le.commonjs||Le.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Le.root||Le.commonjs))+" = factory("+externalsRootArray(Ee)+");\n":"\telse {\n"+(Ee.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(Ee)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${R.outputOptions.globalObject}, function(${externalsArguments(Ee)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,N)=>{"use strict";const R=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});N.LogType=R;const j=Symbol("webpack logger raw log method");const $=Symbol("webpack logger times");const q=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,N){this[j]=E;this.getChildLogger=N}error(...E){this[j](R.error,E)}warn(...E){this[j](R.warn,E)}info(...E){this[j](R.info,E)}log(...E){this[j](R.log,E)}debug(...E){this[j](R.debug,E)}assert(E,...N){if(!E){this[j](R.error,N)}}trace(){this[j](R.trace,["Trace"])}clear(){this[j](R.clear)}status(...E){this[j](R.status,E)}group(...E){this[j](R.group,E)}groupCollapsed(...E){this[j](R.groupCollapsed,E)}groupEnd(...E){this[j](R.groupEnd,E)}profile(E){this[j](R.profile,[E])}profileEnd(E){this[j](R.profileEnd,[E])}time(E){this[$]=this[$]||new Map;this[$].set(E,process.hrtime())}timeLog(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const q=process.hrtime(N);this[j](R.time,[E,...q])}timeEnd(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const q=process.hrtime(N);this[$].delete(E);this[j](R.time,[E,...q])}timeAggregate(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const R=process.hrtime(N);this[$].delete(E);this[q]=this[q]||new Map;const j=this[q].get(E);if(j!==undefined){if(R[1]+j[1]>1e9){R[0]+=j[0]+1;R[1]=R[1]-1e9+j[1]}else{R[0]+=j[0];R[1]+=j[1]}}this[q].set(E,R)}timeAggregateEnd(E){if(this[q]===undefined)return;const N=this[q].get(E);if(N===undefined)return;this[q].delete(E);this[j](R.time,[E,...N])}}N.Logger=WebpackLogger},70108:(E,N,R)=>{"use strict";const{LogType:j}=R(78539);const filterToFunction=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const $={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:N=false,console:R})=>{const q=typeof N==="boolean"?[()=>N]:[].concat(N).map(filterToFunction);const G=$[`${E}`]||0;const logger=(E,N,ie)=>{const labeledArgs=()=>{if(Array.isArray(ie)){if(ie.length>0&&typeof ie[0]==="string"){return[`[${E}] ${ie[0]}`,...ie.slice(1)]}else{return[`[${E}]`,...ie]}}else{return[]}};const ae=q.some((N=>N(E)));switch(N){case j.debug:if(!ae)return;if(typeof R.debug==="function"){R.debug(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.log:if(!ae&&G>$.log)return;R.log(...labeledArgs());break;case j.info:if(!ae&&G>$.info)return;R.info(...labeledArgs());break;case j.warn:if(!ae&&G>$.warn)return;R.warn(...labeledArgs());break;case j.error:if(!ae&&G>$.error)return;R.error(...labeledArgs());break;case j.trace:if(!ae)return;R.trace();break;case j.groupCollapsed:if(!ae&&G>$.log)return;if(!ae&&G>$.verbose){if(typeof R.groupCollapsed==="function"){R.groupCollapsed(...labeledArgs())}else{R.log(...labeledArgs())}break}case j.group:if(!ae&&G>$.log)return;if(typeof R.group==="function"){R.group(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.groupEnd:if(!ae&&G>$.log)return;if(typeof R.groupEnd==="function"){R.groupEnd()}break;case j.time:{if(!ae&&G>$.log)return;const N=ie[1]*1e3+ie[2]/1e6;const j=`[${E}] ${ie[0]}: ${N} ms`;if(typeof R.logTime==="function"){R.logTime(j)}else{R.log(j)}break}case j.profile:if(typeof R.profile==="function"){R.profile(...labeledArgs())}break;case j.profileEnd:if(typeof R.profileEnd==="function"){R.profileEnd(...labeledArgs())}break;case j.clear:if(!ae&&G>$.log)return;if(typeof R.clear==="function"){R.clear()}break;case j.status:if(!ae&&G>$.info)return;if(typeof R.status==="function"){if(ie.length===0){R.status()}else{R.status(...labeledArgs())}}else{if(ie.length!==0){R.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${N}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let N=0;for(const R of E)N+=R;return N};const truncateArgs=(E,N)=>{const R=E.map((E=>`${E}`.length));const j=N-R.length+1;if(j>0&&E.length===1){if(j>=E[0].length){return E}else if(j>3){return["..."+E[0].slice(-j+3)]}else{return[E[0].slice(-j)]}}if(jMath.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),N);return[]}let $=arraySum(R);if($<=j)return E;while($>j){const E=Math.max(...R);const N=R.filter((N=>N!==E));const q=N.length>0?Math.max(...N):0;const G=E-q;let ie=R.length-N.length;let ae=$-j;for(let N=0;N{const j=`${E}`;const $=R[N];if(j.length===$){return j}else if($>5){return"..."+j.slice(-$+3)}else if($>0){return j.slice(-$)}else{return""}}))};E.exports=truncateArgs},82827:(E,N,R)=>{"use strict";const j=R(76150);const $=R(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const N=this._asyncChunkLoading?R(26020):R(75491);const q=this._asyncChunkLoading?"async-node":"require";new $({chunkLoading:q,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const j=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return j===q};const $=new WeakSet;const handler=(R,q)=>{if($.has(R))return;$.add(R);if(!isEnabledForChunk(R))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(R,new N(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,N,R)=>{"use strict";const j=R(67703);const $=R(15808);const q=R(70108);const G=R(2255);const ie=R(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:N}=this.options;E.infrastructureLogger=q({level:N.level||"info",debug:N.debug||false,console:N.console||ie({colors:N.colors,appendOnly:N.appendOnly,stream:N.stream})});E.inputFileSystem=new j($,6e4);const R=E.inputFileSystem;E.outputFileSystem=$;E.intermediateFileSystem=$;E.watchFileSystem=new G(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===R){E.fsStartTime=Date.now();R.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,N,R)=>{"use strict";const j=R(61050);const $=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new j("node-commonjs",$).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,N,R)=>{"use strict";const j=R(77314);const $=R(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const N=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=N;(new j).apply(E);new $(N).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,N,R)=>{"use strict";const j=R(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new j(this.watcherOptions)}watch(E,N,R,$,q,G,ie){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!N||typeof N[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!R||typeof R[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof G!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof $!=="number"&&$){throw new Error("Invalid arguments: 'startTime'")}if(typeof q!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ie!=="function"&&ie){throw new Error("Invalid arguments: 'callbackUndelayed'")}const ae=this.watcher;this.watcher=new j(q);if(ie){this.watcher.once("change",ie)}this.watcher.once("aggregated",((E,N)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}for(const E of N){R.purge(E)}}const R=this.watcher.getTimeInfoEntries();G(null,R,R,E,N)}));this.watcher.watch({files:E,directories:N,missing:R,startTime:$});if(ae){ae.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ReadFileChunkLoadingRuntimeModule extends ${constructor(E){super("readFile chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Ee=this.runtimeRequirements.has(j.baseURI);const Te=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,false);const We=Ne?`${j.hmrRuntimeStatePrefix}_readFileVm`:undefined;return q.asString([Ee?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.readFileVm = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ie||Te?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",q.indent(["if(installedChunks[chunkIds[i]]) {",q.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// ReadFile + VM.run chunk loading for javascript",`${_e}.readFileVm = function(chunkId, promises) {`,Be!==false?q.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",q.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Te?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) {",q.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(34943);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:N=false}={}){this._type=E;this._import=N}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j===this._type};const R=this._import?E=>$.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",$.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["try {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((N,$)=>{if(!isEnabledForChunk(N))return;const G=E.chunkGraph;if(!G.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}$.add(j.publicPath);E.addRuntimeModule(N,new q({generateLoadBinaryCode:R,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="async-node"};const generateLoadBinaryCode=E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",$.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const $=E.chunkGraph;if(!$.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);E.addRuntimeModule(N,new q({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class RequireChunkLoadingRuntimeModule extends ${constructor(E){super("require chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Ee=this.runtimeRequirements.has(j.baseURI);const Te=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,true);const We=Ne?`${j.hmrRuntimeStatePrefix}_require`:undefined;return q.asString([Ee?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze!=="./"?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.require = ${$.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ie||Te?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",q.indent("installedChunks[chunkIds[i]] = 1;"),we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// require() chunk loading for javascript",`${_e}.require = ${$.basicFunction("chunkId, promises",Be!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent([`installChunk(require(${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Te?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent([`var update = require(${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return Promise.resolve().then(function() {",q.indent([`return require(${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,N,R)=>{"use strict";const j=R(73837);const $=R(50595);E.exports=({colors:E,appendOnly:N,stream:R})=>{let q=undefined;let G=false;let ie="";let ae=0;const indent=(N,R,j,$)=>{if(N==="")return N;R=ie+R;if(E){return R+j+N.replace(/\n/g,$+"\n"+R+j)+$}else{return R+N.replace(/\n/g,"\n"+R)}};const clearStatusMessage=()=>{if(G){R.write("\r");G=false}};const writeStatusMessage=()=>{if(!q)return;const E=R.columns;const N=E?$(q,E-1):q;const j=N.join(" ");const ie=`${j}`;R.write(`\r${ie}`);G=true};const writeColored=(E,N,$)=>(...q)=>{if(ae>0)return;clearStatusMessage();const G=indent(j.format(...q),E,N,$);R.write(G+"\n");writeStatusMessage()};const ce=writeColored("<-> ","","");const le=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...E)=>{ce(...E);if(ae>0){ae++}else{ie+=" "}},groupCollapsed:(...E)=>{le(...E);ae++},groupEnd:()=>{if(ae>0)ae--;else if(ie.length>=2)ie=ie.slice(0,ie.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!N&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:N?writeColored(" ","",""):(E,...N)=>{N=N.filter(Boolean);if(E===undefined&&N.length===0){clearStatusMessage();q=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){q=[E.slice(19),...N];writeStatusMessage()}else if(E==="[webpack.Progress]"){q=[...N];writeStatusMessage()}else{q=[E,...N];writeStatusMessage()}}}}},61332:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const N=this.options;const R=N.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:j},(N=>{const j=E.chunkGraph;let $=[];for(const E of N){if(E.canBeInitial())continue;for(const R of N){if(R.canBeInitial())continue;if(R===E)break;if(!j.canChunksBeIntegrated(E,R)){continue}const N=j.getChunkSize(R,{chunkOverhead:0});const q=j.getChunkSize(E,{chunkOverhead:0});const G=j.getIntegratedChunksSize(R,E,{chunkOverhead:0});const ie=(N+q)/G;$.push({a:E,b:R,improvement:ie})}}$.sort(((E,N)=>N.improvement-E.improvement));const q=$[0];if(!q)return;if(q.improvement{"use strict";const{STAGE_ADVANCED:j}=R(82414);const{intersect:$}=R(26221);const{compareModulesByIdentifier:q,compareChunks:G}=R(68673);const ie=R(35817);const ae=R(49197);const ce=ie(R(77593),(()=>R(3484)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,N,R)=>j=>{E.disconnectChunkAndModule(N,j);E.connectChunkAndModule(R,j)};const isNotAEntryModule=(E,N)=>R=>!E.isEntryModuleInChunk(R,N);const le=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){ce(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return le.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(N=>{let R=false;let ie;let ce;let _e;N.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ie=[];ce=new Set;_e=new Map}));N.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:j},(R=>{const j=N.chunkGraph;const le=new Map;const Ee=new Map;const Te=ae.makePathsRelative.bindContextCache(E.context,E.root);for(const E of N.modules){const N=Te(E.identifier());le.set(N,E);Ee.set(E,N)}const we=new Set;for(const E of R){we.add(E.id)}const Ie=N.records&&N.records.aggressiveSplits||[];const Ne=ie?Ie.concat(ie):Ie;const Me=this.options.minSize;const Le=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&we.has(E.id)){return false}const R=E.modules.map((E=>le.get(E)));if(!R.every(Boolean))return false;let q=0;for(const E of R)q+=E.size();if(q!==E.size)return false;const G=$(R.map((E=>new Set(j.getModuleChunksIterable(E)))));if(G.size===0)return false;if(G.size===1&&j.getNumberOfChunkModules(Array.from(G)[0])===R.length){const N=Array.from(G)[0];if(ce.has(N))return false;ce.add(N);_e.set(N,E);return true}const ie=N.addChunk();ie.chunkReason="aggressive splitted";for(const E of G){R.forEach(moveModuleBetween(j,E,ie));E.split(ie);E.name=null}ce.add(ie);_e.set(ie,E);if(E.id!==null&&E.id!==undefined){ie.id=E.id;ie.ids=[E.id]}return true};let Be=false;for(let E=0;E{const R=j.getChunkModulesSize(N)-j.getChunkModulesSize(E);if(R)return R;const $=j.getNumberOfChunkModules(E)-j.getNumberOfChunkModules(N);if($)return $;return je(E,N)}));for(const E of Ue){if(ce.has(E))continue;const N=j.getChunkModulesSize(E);if(N>Le&&j.getNumberOfChunkModules(E)>1){const N=j.getOrderedChunkModules(E,q).filter(isNotAEntryModule(j,E));const R=[];let $=0;for(let E=0;ELe&&$>=Me){break}$=q;R.push(j)}if(R.length===0)continue;const G={modules:R.map((E=>Ee.get(E))).sort(),size:$};if(applySplit(G)){ie=(ie||[]).concat(G);Be=true}}}if(Be)return true}));N.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const j=new Set;const $=new Set;for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){if(N.hash&&E.hash!==N.hash){$.add(N)}}}if($.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!$.has(E)));R=true}else{for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){N.hash=E.hash;N.id=E.id;j.add(N);le.add(E)}}const q=N.records&&N.records.aggressiveSplits;if(q){for(const E of q){if(!$.has(E))j.add(E)}}E.aggressiveSplits=Array.from(j);R=false}}));N.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(R){R=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,N,R)=>{"use strict";const j=R(19579);const $=R(36337);const{CachedSource:q,ConcatSource:G,ReplaceSource:ie}=R(48135);const ae=R(77294);const{UsageState:ce}=R(76632);const le=R(53453);const _e=R(76150);const Ee=R(58159);const Te=R(37359);const we=R(3711);const{equals:Ie}=R(73910);const Ne=R(83379);const{concatComparators:Me,keepOriginalOrder:Le}=R(68673);const Be=R(35891);const{makePathsRelative:je}=R(49197);const Ue=R(56202);const ze=R(68038);const{filterRuntime:We,intersectRuntime:Je,mergeRuntimeCondition:Ve,mergeRuntimeConditionNonFalse:qe,runtimeConditionToString:He,subtractRuntimeCondition:Ge}=R(37416);const Ke=$;if(!Ke.prototype.PropertyDefinition){Ke.prototype.PropertyDefinition=Ke.prototype.Property}const Qe=new Set([ae.DEFAULT_EXPORT,ae.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,N)=>{const R=E.sourceOrder;const j=N.sourceOrder;if(isNaN(R)){if(!isNaN(j)){return 1}}else{if(isNaN(j)){return-1}if(R!==j){return R{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const getFinalBinding=(E,N,R,j,$,q,G,ie,ae,ce,le,_e=new Set)=>{const Te=N.module.getExportsType(E,ce);if(R.length===0){switch(Te){case"default-only":N.interopNamespaceObject2Used=true;return{info:N,rawName:N.interopNamespaceObject2Name,ids:R,exportName:R};case"default-with-named":N.interopNamespaceObjectUsed=true;return{info:N,rawName:N.interopNamespaceObjectName,ids:R,exportName:R};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Te}`)}}else{switch(Te){case"namespace":break;case"default-with-named":switch(R[0]){case"default":R=R.slice(1);break;case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;case"default-only":{const E=R[0];if(E==="__esModule"){return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}R=R.slice(1);if(E!=="default"){return{info:N,rawName:"/* non-default import from default-exporting module */undefined",ids:R,exportName:R}}break}case"dynamic":switch(R[0]){case"default":{R=R.slice(1);N.interopDefaultAccessUsed=true;const E=ae?`${N.interopDefaultAccessName}()`:le?`(${N.interopDefaultAccessName}())`:le===false?`;(${N.interopDefaultAccessName}())`:`${N.interopDefaultAccessName}.a`;return{info:N,rawName:E,ids:R,exportName:R}}case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;default:throw new Error(`Unexpected exportsType ${Te}`)}}if(R.length===0){switch(N.type){case"concatenated":ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R};case"external":return{info:N,rawName:N.name,ids:R,exportName:R}}}const we=E.getExportsInfo(N.module);const Ne=we.getExportInfo(R[0]);if(_e.has(Ne)){return{info:N,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:R}}_e.add(Ne);switch(N.type){case"concatenated":{const ce=R[0];if(Ne.provided===false){ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R}}const Ee=N.exportMap&&N.exportMap.get(ce);if(Ee){const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}return{info:N,name:Ee,ids:E.slice(1),exportName:R}}const Te=N.rawExportMap&&N.rawExportMap.get(ce);if(Te){return{info:N,rawName:Te,ids:R.slice(1),exportName:R}}const Ie=Ne.findTarget(E,(E=>j.has(E)));if(Ie===false){throw new Error(`Target module of reexport from '${N.module.readableIdentifier(q)}' is not part of the concatenation (export '${ce}')\nModules in the concatenation:\n${Array.from(j,(([E,N])=>` * ${N.type} ${E.readableIdentifier(q)}`)).join("\n")}`)}if(Ie){const ce=j.get(Ie.module);return getFinalBinding(E,ce,Ie.export?[...Ie.export,...R.slice(1)]:R.slice(1),j,$,q,G,ie,ae,N.module.buildMeta.strictHarmonyModule,le,_e)}if(N.namespaceExportSymbol){const E=we.getUsedName(R,$);return{info:N,rawName:N.namespaceObjectName,ids:E,exportName:R}}throw new Error(`Cannot get final name for export '${R.join(".")}' of ${N.module.readableIdentifier(q)}`)}case"external":{const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}const j=Ie(E,R)?"":Ee.toNormalComment(`${R.join(".")}`);return{info:N,rawName:N.name+j,ids:E,exportName:R}}}};const getFinalName=(E,N,R,j,$,q,G,ie,ae,ce,le,_e)=>{const Ee=getFinalBinding(E,N,R,j,$,q,G,ie,ae,le,_e);{const{ids:E,comment:N}=Ee;let R;let j;if("rawName"in Ee){R=`${Ee.rawName}${N||""}${ze(E)}`;j=E.length>0}else{const{info:$,name:G}=Ee;const ie=$.internalNames.get(G);if(!ie){throw new Error(`The export "${G}" in "${$.module.readableIdentifier(q)}" has no internal name (existing names: ${Array.from($.internalNames,(([E,N])=>`${E}: ${N}`)).join(", ")||"none"})`)}R=`${ie}${N||""}${ze(E)}`;j=E.length>1}if(j&&ae&&ce===false){return _e?`(0,${R})`:_e===false?`;(0,${R})`:`/*#__PURE__*/Object(${R})`}return R}};const addScopeSymbols=(E,N,R,j)=>{let $=E;while($){if(R.has($))break;if(j.has($))break;R.add($);for(const E of $.variables){N.add(E.name)}$=$.upper}};const getAllReferences=E=>{let N=E.references;const R=new Set(E.identifiers);for(const j of E.scope.childScopes){for(const E of j.variables){if(E.identifiers.some((E=>R.has(E)))){N=N.concat(E.references);break}}}return N};const getPathInAst=(E,N)=>{if(E===N){return[]}const R=N.range;const enterNode=E=>{if(!E)return undefined;const j=E.range;if(j){if(j[0]<=R[0]&&j[1]>=R[1]){const R=getPathInAst(E,N);if(R){R.push(E);return R}}}return undefined};if(Array.isArray(E)){for(let N=0;N!(E instanceof Te)||!this._modules.has(N.moduleGraph.getModule(E))))){this.dependencies.push(R)}for(const N of E.blocks){this.blocks.push(N)}const R=E.getWarnings();if(R!==undefined){for(const E of R){this.addWarning(E)}}const j=E.getErrors();if(j!==undefined){for(const E of j){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const N=this.buildInfo.topLevelDeclarations;if(N!==undefined){for(const R of E.buildInfo.topLevelDeclarations){if(Qe.has(R))continue;N.add(R)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[N,R]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(N,R)}}}$()}size(E){let N=0;for(const R of this._modules){N+=R.size(E)}return N}_createConcatenationList(E,N,R,j){const $=[];const q=new Map;const getConcatenatedImports=N=>{let $=Array.from(j.getOutgoingConnections(N));if(N===E){for(const E of j.getOutgoingConnections(this))$.push(E)}const q=$.filter((E=>{if(!(E.dependency instanceof Te))return false;return E&&E.resolvedOriginModule===N&&E.module&&E.isTargetActive(R)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));q.sort(Me(bySourceOrder,Le(q)));const G=new Map;for(const{connection:E}of q){const N=We(R,(N=>E.isTargetActive(N)));if(N===false)continue;const j=E.module;const $=G.get(j);if($===undefined){G.set(j,{connection:E,runtimeCondition:N});continue}$.runtimeCondition=qe($.runtimeCondition,N,R)}return G.values()};const enterModule=(E,j)=>{const G=E.module;if(!G)return;const ie=q.get(G);if(ie===true){return}if(N.has(G)){q.set(G,true);if(j!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${G.identifier()} in ${this.rootModule.identifier()}, ${He(j)}). This should not happen.`)}const N=getConcatenatedImports(G);for(const{connection:E,runtimeCondition:R}of N)enterModule(E,R);$.push({type:"concatenated",module:E.module,runtimeCondition:j})}else{if(ie!==undefined){const N=Ge(j,ie,R);if(N===false)return;j=N;q.set(E.module,qe(ie,j,R))}else{q.set(E.module,j)}if($.length>0){const N=$[$.length-1];if(N.type==="external"&&N.module===E.module){N.runtimeCondition=Ve(N.runtimeCondition,j,R);return}}$.push({type:"external",get module(){return E.module},runtimeCondition:j})}};q.set(E,true);const G=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:N}of G)enterModule(E,N);$.push({type:"concatenated",module:E,runtimeCondition:true});return $}static _createIdentifier(E,N,R,j="md4"){const $=je.bindContextCache(E.context,R);let q=[];for(const E of N){q.push($(E.identifier()))}q.sort();const G=Be(j);G.update(q.join(" "));return E.identifier()+"|"+G.digest("hex")}addCacheDependencies(E,N,R,j){for(const $ of this._modules){$.addCacheDependencies(E,N,R,j)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$}){const ie=new Set;const le=Je($,this._runtime);const Ee=N.requestShortener;const[Te,we]=this._getModulesWithInfo(R,le);const Ie=new Set;for(const $ of we.values()){this._analyseModule(we,$,E,N,R,j,le)}const Ne=new Set(Qe);const Me=new Map;const getUsedNamesInScopeInfo=(E,N)=>{const R=`${E}-${N}`;let j=Me.get(R);if(j===undefined){j={usedNames:new Set,alreadyCheckedScopes:new Set};Me.set(R,j)}return j};const Le=new Set;for(const E of Te){if(E.type==="concatenated"){if(E.moduleScope){Le.add(E.moduleScope)}const j=new WeakMap;const getSuperClassExpressions=E=>{const N=j.get(E);if(N!==undefined)return N;const R=[];for(const N of E.childScopes){if(N.type!=="class")continue;const E=N.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){R.push({range:E.superClass.range,variables:N.variables})}}j.set(E,R);return R};if(E.globalScope){for(const j of E.globalScope.through){const $=j.identifier.name;if(ae.isModuleReference($)){const q=ae.matchModuleReference($);if(!q)continue;const G=Te[q.index];if(G.type==="reference")throw new Error("Module reference can't point to a reference");const ie=getFinalBinding(R,G,q.ids,we,le,Ee,N,Ie,false,E.module.buildMeta.strictHarmonyModule,true);if(!ie.ids)continue;const{usedNames:ce,alreadyCheckedScopes:_e}=getUsedNamesInScopeInfo(ie.info.module.identifier(),"name"in ie?ie.name:"");for(const E of getSuperClassExpressions(j.from)){if(E.range[0]<=j.identifier.range[0]&&E.range[1]>=j.identifier.range[1]){for(const N of E.variables){ce.add(N.name)}}}addScopeSymbols(j.from,ce,_e,Le)}else{Ne.add($)}}}}}for(const E of we.values()){const{usedNames:N}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const N of E.moduleScope.variables){const R=N.name;const{usedNames:j,alreadyCheckedScopes:$}=getUsedNamesInScopeInfo(E.module.identifier(),R);if(Ne.has(R)||j.has(R)){const q=getAllReferences(N);for(const E of q){addScopeSymbols(E.from,j,$,Le)}const G=this.findNewName(R,Ne,j,E.module.readableIdentifier(Ee));Ne.add(G);E.internalNames.set(R,G);const ie=E.source;const ae=new Set(q.map((E=>E.identifier)).concat(N.identifiers));for(const N of ae){const R=N.range;const j=getPathInAst(E.ast,N);if(j&&j.length>1){const E=j[1].type==="AssignmentPattern"&&j[1].left===j[0]?j[2]:j[1];if(E.type==="Property"&&E.shorthand){ie.insert(R[1],`: ${G}`);continue}}ie.replace(R[0],R[1]-1,G)}}else{Ne.add(R);E.internalNames.set(R,R)}}let R;if(E.namespaceExportSymbol){R=E.internalNames.get(E.namespaceExportSymbol)}else{R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R)}E.namespaceObjectName=R;break}case"external":{const R=this.findNewName("",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.name=R;break}}if(E.module.buildMeta.exportsType!=="namespace"){const R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopNamespaceObjectName=R}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const R=this.findNewName("namespaceObject2",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopNamespaceObject2Name=R}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const R=this.findNewName("default",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopDefaultAccessName=R}}for(const E of we.values()){if(E.type==="concatenated"){for(const j of E.globalScope.through){const $=j.identifier.name;const q=ae.matchModuleReference($);if(q){const $=Te[q.index];if($.type==="reference")throw new Error("Module reference can't point to a reference");const G=getFinalName(R,$,q.ids,we,le,Ee,N,Ie,q.call,!q.directImport,E.module.buildMeta.strictHarmonyModule,q.asiSafe);const ie=j.identifier.range;const ae=E.source;ae.replace(ie[0],ie[1]+1,G)}}}}const Be=new Map;const je=new Set;const Ue=we.get(this.rootModule);const ze=Ue.module.buildMeta.strictHarmonyModule;const We=R.getExportsInfo(Ue.module);for(const E of We.orderedExports){const j=E.name;if(E.provided===false)continue;const $=E.getUsedName(undefined,le);if(!$){je.add(j);continue}Be.set($,(q=>{try{const $=getFinalName(R,Ue,[j],we,le,q,N,Ie,false,false,ze,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${$}`}catch(E){E.message+=`\nwhile generating the root export '${j}' (used name: '${$}')`;throw E}}))}const Ve=new G;if(R.getExportsInfo(this).otherExportsInfo.getUsed(le)!==ce.Unused){Ve.add(`// ESM COMPAT FLAG\n`);Ve.add(N.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ie}))}if(Be.size>0){ie.add(_e.exports);ie.add(_e.definePropertyGetters);const E=[];for(const[R,j]of Be){E.push(`\n ${JSON.stringify(R)}: ${N.returningFunction(j(Ee))}`)}Ve.add(`\n// EXPORTS\n`);Ve.add(`${_e.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(je.size>0){Ve.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(je)}\n`)}const qe=new Map;for(const E of Ie){if(E.namespaceExportSymbol)continue;const j=[];const $=R.getExportsInfo(E.module);for(const q of $.orderedExports){if(q.provided===false)continue;const $=q.getUsedName(undefined,le);if($){const G=getFinalName(R,E,[q.name],we,le,Ee,N,Ie,false,undefined,E.module.buildMeta.strictHarmonyModule,true);j.push(`\n ${JSON.stringify($)}: ${N.returningFunction(G)}`)}}const q=E.namespaceObjectName;const G=j.length>0?`${_e.definePropertyGetters}(${q}, {${j.join(",")}\n});\n`:"";if(j.length>0)ie.add(_e.definePropertyGetters);qe.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(Ee)}\nvar ${q} = {};\n${_e.makeNamespaceObject}(${q});\n${G}`);ie.add(_e.makeNamespaceObject)}for(const E of Te){if(E.type==="concatenated"){const N=qe.get(E);if(!N)continue;Ve.add(N)}}const He=[];for(const E of Te){let R;let $=false;const q=E.type==="reference"?E.target:E;switch(q.type){case"concatenated":{Ve.add(`\n;// CONCATENATED MODULE: ${q.module.readableIdentifier(Ee)}\n`);Ve.add(q.source);if(q.chunkInitFragments){for(const E of q.chunkInitFragments)He.push(E)}if(q.runtimeRequirements){for(const E of q.runtimeRequirements){ie.add(E)}}R=q.namespaceObjectName;break}case"external":{Ve.add(`\n// EXTERNAL MODULE: ${q.module.readableIdentifier(Ee)}\n`);ie.add(_e.require);const{runtimeCondition:G}=E;const ae=N.runtimeConditionExpression({chunkGraph:j,runtimeCondition:G,runtime:le,runtimeRequirements:ie});if(ae!=="true"){$=true;Ve.add(`if (${ae}) {\n`)}Ve.add(`var ${q.name} = __webpack_require__(${JSON.stringify(j.getModuleId(q.module))});`);R=q.name;break}default:throw new Error(`Unsupported concatenation entry type ${q.type}`)}if(q.interopNamespaceObjectUsed){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObjectName} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R}, 2);`)}if(q.interopNamespaceObject2Used){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObject2Name} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R});`)}if(q.interopDefaultAccessUsed){ie.add(_e.compatGetDefaultExport);Ve.add(`\nvar ${q.interopDefaultAccessName} = /*#__PURE__*/${_e.compatGetDefaultExport}(${R});`)}if($){Ve.add("\n}")}}const Ge=new Map;if(He.length>0)Ge.set("chunkInitFragments",He);const Ke={sources:new Map([["javascript",new q(Ve)]]),data:Ge,runtimeRequirements:ie};return Ke}_analyseModule(E,N,R,$,q,G,ce){if(N.type==="concatenated"){const le=N.module;try{const _e=new ae(E,N);const Ee=le.codeGeneration({dependencyTemplates:R,runtimeTemplate:$,moduleGraph:q,chunkGraph:G,runtime:ce,concatenationScope:_e});const Te=Ee.sources.get("javascript");const Ie=Ee.data;const Ne=Ie&&Ie.get("chunkInitFragments");const Me=Te.source().toString();let Le;try{Le=we._parse(Me,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const N=E.loc.line;const R=Me.split("\n");E.message+="\n| "+R.slice(Math.max(0,N-3),N+2).join("\n| ")}throw E}const Be=j.analyze(Le,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const je=Be.acquire(Le);const Ue=je.childScopes[0];const ze=new ie(Te);N.runtimeRequirements=Ee.runtimeRequirements;N.ast=Le;N.internalSource=Te;N.source=ze;N.chunkInitFragments=Ne;N.globalScope=je;N.moduleScope=Ue}catch(E){E.message+=`\nwhile analysing module ${le.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,N){const R=this._createConcatenationList(this.rootModule,this._modules,N,E);const j=new Map;const $=R.map(((E,N)=>{let R=j.get(E.module);if(R===undefined){switch(E.type){case"concatenated":R={type:"concatenated",module:E.module,index:N,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":R={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:N,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}j.set(R.module,R);return R}else{const N={type:"reference",runtimeCondition:E.runtimeCondition,target:R};return N}}));return[$,j]}findNewName(E,N,R,j){let $=E;if($===ae.DEFAULT_EXPORT){$=""}if($===ae.NAMESPACE_OBJECT_EXPORT){$="namespaceObject"}j=j.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const q=j.split("/");while(q.length){$=q.pop()+($?"_"+$:"");const E=Ee.toIdentifier($);if(!N.has(E)&&(!R||!R.has(E)))return E}let G=0;let ie=Ee.toIdentifier(`${$}_${G}`);while(N.has(ie)||R&&R.has(ie)){G++;ie=Ee.toIdentifier(`${$}_${G}`)}return ie}updateHash(E,N){const{chunkGraph:R,runtime:j}=N;for(const $ of this._createConcatenationList(this.rootModule,this._modules,Je(j,this._runtime),R.moduleGraph)){switch($.type){case"concatenated":$.module.updateHash(E,N);break;case"external":E.update(`${R.getModuleId($.module)}`);break}}super.updateHash(E,N)}static deserialize(E){const N=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});N.deserialize(E);return N}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;const j=new Set;const $=new Set;for(const N of E.modules){if(!N.hasChunkCondition())continue;for(const q of R.getModuleChunksIterable(N)){if(!N.chunkCondition(q,E)){j.add(q);for(const E of q.groupsIterable){$.add(E)}}}if(j.size===0)continue;const q=new Set;e:for(const R of $){for(const j of R.chunks){if(N.chunkCondition(j,E)){q.add(j);continue e}}if(R.isInitial()){throw new Error("Cannot fullfil chunk condition of "+N.identifier())}for(const E of R.parentsIterable){$.add(E)}}for(const E of j){R.disconnectChunkAndModule(E,N)}for(const E of q){R.connectChunkAndModule(E,N)}j.clear();$.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:j},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(N=>{const R=E.chunkGraph;const j=new WeakMap;const $=E.modules.size;const q=1/Math.pow(1/$,1/31);const G=Array.from({length:31},((E,N)=>Math.pow(q,N)|0));let ie=0;for(const N of E.modules){let E=30;while(ie%G[E]!==0){E--}j.set(N,1<R.getNumberOfModuleChunks(N))$=N}e:for(const q of R.getModuleChunksIterable($)){if(E===q)continue;const $=R.getNumberOfChunkModules(q);if($===0)continue;if(j>$)continue;const G=ae.get(q);if((G&N)!==N)continue;for(const N of R.getChunkModulesIterable(E)){if(!R.isModuleInChunk(N,q))continue e}q.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=new WeakMap;const q=Symbol("top level symbol");function getState(E){return $.get(E)}N.bailout=E=>{$.set(E,false)};N.enable=E=>{const N=$.get(E);if(N===false){return}$.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};N.isEnabled=E=>{const N=$.get(E);return!!N};N.addUsage=(E,N,R)=>{const j=getState(E);if(j){const{innerGraph:E}=j;const $=E.get(N);if(R===true){E.set(N,true)}else if($===undefined){E.set(N,new Set([R]))}else if($!==true){$.add(R)}}};N.addVariableUsage=(E,R,j)=>{const $=E.getTagData(R,q)||N.tagTopLevelSymbol(E,R);if($){N.addUsage(E.state,$,j)}};N.inferDependencyUsage=E=>{const N=getState(E);if(!N){return}const{innerGraph:R,usageCallbackMap:j}=N;const $=new Map;const q=new Set(R.keys());while(q.size>0){for(const E of q){let N=new Set;let j=true;const G=R.get(E);let ie=$.get(E);if(ie===undefined){ie=new Set;$.set(E,ie)}if(G!==true&&G!==undefined){for(const E of G){ie.add(E)}for(const $ of G){if(typeof $==="string"){N.add($)}else{const q=R.get($);if(q===true){N=true;break}if(q!==undefined){for(const R of q){if(R===E)continue;if(ie.has(R))continue;N.add(R);if(typeof R!=="string"){j=false}}}}}if(N===true){R.set(E,true)}else if(N.size===0){R.set(E,undefined)}else{R.set(E,N)}}if(j){q.delete(E);if(E===null){const E=R.get(null);if(E){for(const[N,j]of R){if(N!==null&&j!==true){if(E===true){R.set(N,true)}else{const $=new Set(j);for(const N of E){$.add(N)}R.set(N,$)}}}}}}}}for(const[E,N]of j){const j=R.get(E);for(const E of N){E(j===undefined?false:j)}}};N.onUsage=(E,N)=>{const R=getState(E);if(R){const{usageCallbackMap:E,currentTopLevelSymbol:j}=R;if(j){let R=E.get(j);if(R===undefined){R=new Set;E.set(j,R)}R.add(N)}else{N(true)}}else{N(undefined)}};N.setTopLevelSymbol=(E,N)=>{const R=getState(E);if(R){R.currentTopLevelSymbol=N}};N.getTopLevelSymbol=E=>{const N=getState(E);if(N){return N.currentTopLevelSymbol}};N.tagTopLevelSymbol=(E,N)=>{const R=getState(E.state);if(!R)return;E.defineVariable(N);const j=E.getTagData(N,q);if(j){return j}const $=new TopLevelSymbol(N);E.tagVariable(N,q,$);return $};N.isDependencyUsedByExports=(E,N,R,$)=>{if(N===false)return false;if(N!==true&&N!==undefined){const q=R.getParentModule(E);const G=R.getExportsInfo(q);let ie=false;for(const E of N){if(G.getUsed(E,$)!==j.Unused)ie=true}if(!ie)return false}return true};N.getDependencyUsedByExportsCondition=(E,N,R)=>{if(N===false)return false;if(N!==true&&N!==undefined){const $=R.getParentModule(E);const q=R.getExportsInfo($);return(E,R)=>{for(const E of N){if(q.getUsed(E,R)!==j.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}N.TopLevelSymbol=TopLevelSymbol;N.topLevelSymbolTag=q},10032:(E,N,R)=>{"use strict";const j=R(53567);const $=R(58018);const{topLevelSymbolTag:q}=$;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:N})=>{const R=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{const onUsageSuper=N=>{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{$.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!$.isEnabled(E.state))return;R.time("infer dependency usage");$.inferDependencyUsage(E.state);R.timeAggregate("infer dependency usage")}));const G=new WeakMap;const ie=new WeakMap;const ae=new WeakMap;const ce=new WeakMap;const le=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="FunctionDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);G.set(N,j);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="ClassDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);ae.set(N,j);return true}if(N.type==="ExportDefaultDeclaration"){const R="*default*";const j=$.tagTopLevelSymbol(E,R);const q=N.declaration;if(q.type==="ClassExpression"||q.type==="ClassDeclaration"){ae.set(q,j)}else if(E.isPure(q,N.range[0])){G.set(N,j);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){ie.set(N,q)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&N.init&&N.id.type==="Identifier"){const R=N.id.name;if(N.init.type==="ClassExpression"){const j=$.tagTopLevelSymbol(E,R);ae.set(N.init,j)}else if(E.isPure(N.init,N.id.range[1])){const j=$.tagTopLevelSymbol(E,R);ce.set(N,j);if(!N.init.type.endsWith("FunctionExpression")&&N.init.type!=="Literal"){le.add(N)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){$.setTopLevelSymbol(E.state,undefined);const R=G.get(N);if(R){$.setTopLevelSymbol(E.state,R);const q=ie.get(N);if(q){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(q.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const j=ae.get(R);if(j&&E.isPure(N,R.id?R.id.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,j);onUsageSuper(N)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const N=ae.get(R);if(N){$.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((N,R,q)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const G=ae.get(q);if(G){if(!R.static||E.isPure(N,R.key?R.key.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,G);if(R.type!=="MethodDefinition"&&R.static){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}else{$.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;const q=ce.get(N);if(q){$.setTopLevelSymbol(E.state,q);if(le.has(N)){if(N.init.type==="ClassExpression"){if(N.init.superClass){onUsageSuper(N.init.superClass)}}else{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.init.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}E.walkExpression(N.init);$.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(q).tap("InnerGraphPlugin",(()=>{const N=E.currentTagData;const R=$.getTopLevelSymbol(E.state);$.addUsage(E.state,N,R||true)}));E.hooks.assign.for(q).tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(N.operator==="=")return true}))};N.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);N.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{R.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(37496);const{compareChunks:q}=R(68673);const G=R(35817);const ie=G(R(72713),(()=>R(10692)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,new Set([R]))}else{j.add(R)}};class LimitChunkCountPlugin{constructor(E){ie(E);this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:j},(R=>{const j=E.chunkGraph;const G=N.maxChunks;if(!G)return;if(G<1)return;if(E.chunks.size<=G)return;let ie=E.chunks.size-G;const ae=q(j);const ce=Array.from(R).sort(ae);const le=new $((E=>E.sizeDiff),((E,N)=>N-E),(E=>E.integratedSize),((E,N)=>E-N),(E=>E.bIdx-E.aIdx),((E,N)=>E-N),((E,N)=>E.bIdx-N.bIdx));const _e=new Map;ce.forEach(((E,R)=>{for(let $=0;$0){const E=new Set($.groupsIterable);for(const N of q.groupsIterable){E.add(N)}for(const N of E){for(const E of Ee){if(E!==$&&E!==q&&E.isInGroup(N)){ie--;if(ie<=0)break e;Ee.add($);Ee.add(q);continue e}}for(const R of N.parentsIterable){E.add(R)}}}if(j.canChunksBeIntegrated($,q)){j.integrateChunks($,q);E.chunks.delete(q);Ee.add($);Te=true;ie--;if(ie<=0)break;for(const E of _e.get($)){if(E.deleted)continue;E.deleted=true;le.delete(E)}for(const E of _e.get(q)){if(E.deleted)continue;if(E.a===q){if(!j.canChunksBeIntegrated($,E.b)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize($,E.b,N);const q=le.startUpdate(E);E.a=$;E.integratedSize=R;E.aSize=G;E.sizeDiff=E.bSize+G-R;q()}else if(E.b===q){if(!j.canChunksBeIntegrated(E.a,$)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize(E.a,$,N);const q=le.startUpdate(E);E.b=$;E.integratedSize=R;E.bSize=G;E.sizeDiff=G+E.aSize-R;q()}}_e.set($,_e.get(q));_e.delete(q)}}if(Te)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const{numberToIdentifier:$,NUMBER_OF_IDENTIFIER_START_CHARS:q,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:G}=R(58159);const{assignDeterministicIds:ie}=R(30328);const{compareSelect:ae,compareStringsNumeric:ce}=R(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==j.Unused)return false;let N=false;for(const R of E.exports){if(R.canMangle===true){N=true}}return N};const le=ae((E=>E.name),ce);const mangleExportsInfo=(E,N,R)=>{if(!canMangle(N))return;const ae=new Set;const ce=[];let _e=!R;if(!_e&&E){for(const E of N.ownedExports){if(E.provided!==false){_e=true;break}}}for(const R of N.ownedExports){const N=R.name;if(!R.hasUsedName()){if(R.canMangle!==true||N.length===1&&/^[a-zA-Z0-9_$]/.test(N)||E&&N.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(N)||_e&&R.provided!==true){R.setUsedName(N);ae.add(N)}else{ce.push(R)}}if(R.exportsInfoOwned){const N=R.getUsed(undefined);if(N===j.OnlyPropertiesUsed||N===j.Unused){mangleExportsInfo(E,R.exportsInfo,false)}}}if(E){ie(ce,(E=>E.name),le,((E,N)=>{const R=$(N);const j=ae.size;ae.add(R);if(j===ae.size)return false;E.setUsedName(R);return true}),[q,q*G],G,ae.size)}else{const E=[];const N=[];for(const R of ce){if(R.getUsed(undefined)===j.Unused){N.push(R)}else{E.push(R)}}E.sort(le);N.sort(le);let R=0;for(const j of[E,N]){for(const E of j){let N;do{N=$(R++)}while(ae.has(N));E.setUsedName(N)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:N}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(j=>{if(E.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const E of j){const j=E.buildMeta&&E.buildMeta.exportsType==="namespace";const $=R.getExportsInfo(E);mangleExportsInfo(N,$,j)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const{runtimeEqual:$}=R(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:j},(N=>{const{chunkGraph:R,moduleGraph:j}=E;const q=new Set;for(const G of N){let N;for(const E of R.getChunkModulesIterable(G)){if(N===undefined){for(const j of R.getModuleChunksIterable(E)){if(j!==G&&R.getNumberOfChunkModules(G)===R.getNumberOfChunkModules(j)&&!q.has(j)){if(N===undefined){N=new Set}N.add(j)}}if(N===undefined)break}else{for(const j of N){if(!R.isModuleInChunk(E,j)){N.delete(j)}}if(N.size===0)break}}if(N!==undefined&&N.size>0){e:for(const q of N){if(q.hasRuntime()!==G.hasRuntime())continue;if(R.getNumberOfEntryModules(G)>0)continue;if(R.getNumberOfEntryModules(q)>0)continue;if(!$(G.runtime,q.runtime)){for(const E of R.getChunkModulesIterable(G)){const N=j.getExportsInfo(E);if(!N.isEquallyUsed(G.runtime,q.runtime)){continue e}}}if(R.canChunksBeIntegrated(G,q)){R.integrateChunks(G,q);E.chunks.delete(q)}}}q.add(G)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(35817);const q=$(R(83889),(()=>R(84638)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){q(E);this.options=E}apply(E){const N=this.options;const R=N.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:j},(j=>{const $=E.chunkGraph;const q={chunkOverhead:1,entryChunkMultiplicator:1};const G=new Map;const ie=[];const ae=[];const ce=[];for(const E of j){if($.getChunkSize(E,q){const R=G.get(E[0]);const j=G.get(E[1]);const q=$.getIntegratedChunksSize(E[0],E[1],N);const ie=[R+j-q,q,E[0],E[1]];return ie})).sort(((E,N)=>{const R=N[0]-E[0];if(R!==0)return R;return E[1]-N[1]}));if(le.length===0)return;const _e=le[0];$.integrateChunks(_e[2],_e[3]);E.chunks.delete(_e[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,N,R)=>{"use strict";const j=R(9192);const $=R(81627);class MinMaxSizeWarning extends ${constructor(E,N,R){let $="Fallback cache group";if(E){$=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${$}\n`+`Configured minSize (${j.formatSize(N)}) is `+`bigger than maxSize (${j.formatSize(R)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,N,R)=>{"use strict";const j=R(62355);const $=R(45137);const q=R(75412);const{STAGE_DEFAULT:G}=R(82414);const ie=R(37359);const{compareModulesByIdentifier:ae}=R(68673);const{intersectRuntime:ce,mergeRuntimeOwned:le,filterRuntime:_e,runtimeToString:Ee,mergeRuntime:Te}=R(37416);const we=R(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){const{_backCompat:N}=E;E.hooks.compilation.tap("ModuleConcatenationPlugin",(R=>{const ae=R.moduleGraph;const ce=new Map;const setBailoutReason=(E,N)=>{setInnerBailoutReason(E,N);ae.getOptimizationBailout(E).push(typeof N==="function"?E=>formatBailoutReason(N(E)):formatBailoutReason(N))};const setInnerBailoutReason=(E,N)=>{ce.set(E,N)};const getInnerBailoutReason=(E,N)=>{const R=ce.get(E);if(typeof R==="function")return R(N);return R};const formatBailoutWarning=(E,N)=>R=>{if(typeof N==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}: ${N(R)}`)}const j=getInnerBailoutReason(E,R);const $=j?`: ${j}`:"";if(E===N){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}${$}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)} because of ${N.readableIdentifier(R)}${$}`)}};R.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:G},((G,ae,ce)=>{const Ee=R.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:Te,moduleGraph:Ie}=R;const Ne=[];const Me=new Set;const Le={chunkGraph:Te,moduleGraph:Ie};Ee.time("select relevant modules");for(const E of ae){let N=true;let R=true;const j=E.getConcatenationBailoutReason(Le);if(j){setBailoutReason(E,j);continue}if(Ie.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(Te.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const $=Ie.getExportsInfo(E);const q=$.getRelevantExports(undefined);const G=q.filter((E=>E.isReexport()&&!E.getTarget(Ie)));if(G.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(G,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ie=q.filter((E=>E.provided!==true));if(ie.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ie,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);N=false}if(Te.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");R=false}if(N)Ne.push(E);if(R)Me.add(E)}Ee.timeEnd("select relevant modules");Ee.debug(`${Ne.length} potential root modules, ${Me.size} potential inner modules`);Ee.time("sort relevant modules");Ne.sort(((E,N)=>Ie.getDepth(E)-Ie.getDepth(N)));Ee.timeEnd("sort relevant modules");const Be={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let je=0;let Ue=0;let ze=0;Ee.time("find modules to concatenate");const We=[];const Je=new Set;for(const E of Ne){if(Je.has(E))continue;let N=undefined;for(const R of Te.getModuleRuntimes(E)){N=le(N,R)}const j=Ie.getExportsInfo(E);const $=_e(N,(E=>j.isModuleUsed(E)));const q=$===true?N:$===false?undefined:$;const G=new ConcatConfiguration(E,q);const ie=new Map;const ae=new Set;for(const N of this._getImports(R,E,q)){ae.add(N)}for(const E of ae){const j=new Set;const $=this._tryToAdd(R,G,E,N,q,Me,j,ie,Te,true,Be);if($){ie.set(E,$);G.addWarning(E,$)}else{for(const E of j){ae.add(E)}}}je+=ae.size;if(!G.isEmpty()){const E=G.getModules();Ue+=E.size;We.push(G);for(const N of E){if(N!==G.rootModule){Je.add(N)}}}else{ze++;const N=Ie.getOptimizationBailout(E);for(const E of G.getWarningsSorted()){N.push(formatBailoutWarning(E[0],E[1]))}}}Ee.timeEnd("find modules to concatenate");Ee.debug(`${We.length} successful concat configurations (avg size: ${Ue/We.length}), ${ze} bailed out completely`);Ee.debug(`${je} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)`);Ee.time(`sort concat configurations`);We.sort(((E,N)=>N.modules.size-E.modules.size));Ee.timeEnd(`sort concat configurations`);const Ve=new Set;Ee.time("create concatenated modules");j.each(We,((j,G)=>{const ae=j.rootModule;if(Ve.has(ae))return G();const ce=j.getModules();for(const E of ce){Ve.add(E)}let le=we.create(ae,ce,j.runtime,E.root,R.outputOptions.hashFunction);const build=()=>{le.build(E.options,R,null,null,(E=>{if(E){if(!E.module){E.module=le}return G(E)}integrate()}))};const integrate=()=>{if(N){$.setChunkGraphForModule(le,Te);q.setModuleGraphForModule(le,Ie)}for(const E of j.getWarningsSorted()){Ie.getOptimizationBailout(le).push(formatBailoutWarning(E[0],E[1]))}Ie.cloneModuleAttributes(ae,le);for(const E of ce){if(R.builtModules.has(E)){R.builtModules.add(le)}if(E!==ae){Ie.copyOutgoingModuleConnections(E,le,(N=>N.originModule===E&&!(N.dependency instanceof ie&&ce.has(N.module))));for(const N of Te.getModuleChunksIterable(ae)){Te.disconnectChunkAndModule(N,E)}}}R.modules.delete(ae);$.clearChunkGraphForModule(ae);q.clearModuleGraphForModule(ae);Te.replaceModule(ae,le);Ie.moveModuleConnections(ae,le,(E=>{const N=E.module===ae?E.originModule:E.module;const R=E.dependency instanceof ie&&ce.has(N);return!R}));R.modules.add(le);G()};build()}),(E=>{Ee.timeEnd("create concatenated modules");process.nextTick(ce.bind(null,E))}))}))}))}_getImports(E,N,R){const j=E.moduleGraph;const $=new Set;for(const q of N.dependencies){if(!(q instanceof ie))continue;const G=j.getConnection(q);if(!G||!G.module||!G.isTargetActive(R)){continue}const ae=E.getDependencyReferencedExports(q,undefined);if(ae.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray(j.getProvidedExports(N))){$.add(G.module)}}return $}_tryToAdd(E,N,R,j,$,q,G,we,Ie,Ne,Me){const Le=we.get(R);if(Le){Me.cached++;return Le}if(N.has(R)){Me.alreadyInConfig++;return null}if(!q.has(R)){Me.invalidModule++;we.set(R,R);return R}const Be=Array.from(Ie.getModuleChunksIterable(N.rootModule)).filter((E=>!Ie.isModuleInChunk(R,E)));if(Be.length>0){const problem=E=>{const N=Array.from(new Set(Be.map((E=>E.name||"unnamed chunk(s)")))).sort();const j=Array.from(new Set(Array.from(Ie.getModuleChunksIterable(R)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${R.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${N.join(", ")}, module is in chunk(s) ${j.join(", ")})`};Me.incorrectChunks++;we.set(R,problem);return problem}const je=E.moduleGraph;const Ue=je.getIncomingConnectionsByOriginModule(R);const ze=Ue.get(null)||Ue.get(undefined);if(ze){const E=ze.filter((E=>E.isActive(j)||E.dependency));if(E.length>0){const problem=N=>{const j=new Set(E.map((E=>E.explanation)).filter(Boolean));const $=Array.from(j).sort();return`Module ${R.readableIdentifier(N)} is referenced ${$.length>0?`by: ${$.join(", ")}`:"in an unsupported way"}`};Me.incorrectDependency++;we.set(R,problem);return problem}}const We=new Map;for(const[E,N]of Ue){if(E){if(Ie.getNumberOfModuleChunks(E)===0)continue;let R=undefined;for(const N of Ie.getModuleRuntimes(E)){R=le(R,N)}if(!ce(j,R))continue;const $=N.filter((E=>E.isActive(j)));if($.length>0)We.set(E,$)}}const Je=Array.from(We.keys());const Ve=Je.filter((E=>{for(const R of Ie.getModuleChunksIterable(N.rootModule)){if(!Ie.isModuleInChunk(E,R)){return true}}return false}));if(Ve.length>0){const problem=E=>{const N=Ve.map((N=>N.readableIdentifier(E))).sort();return`Module ${R.readableIdentifier(E)} is referenced from different chunks by these modules: ${N.join(", ")}`};Me.incorrectChunksOfImporter++;we.set(R,problem);return problem}const qe=new Map;for(const[E,N]of We){const R=N.filter((E=>!E.dependency||!(E.dependency instanceof ie)));if(R.length>0)qe.set(E,N)}if(qe.size>0){const problem=E=>{const N=Array.from(qe).map((([N,R])=>`${N.readableIdentifier(E)} (referenced with ${Array.from(new Set(R.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${R.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${N.join(", ")}`};Me.incorrectModuleDependency++;we.set(R,problem);return problem}if(j!==undefined&&typeof j!=="string"){const E=[];e:for(const[N,R]of We){let $=false;for(const E of R){const N=_e(j,(N=>E.isTargetActive(N)));if(N===false)continue;if(N===true)continue e;if($!==false){$=Te($,N)}else{$=N}}if($!==false){E.push({originModule:N,runtimeCondition:$})}}if(E.length>0){const problem=N=>`Module ${R.readableIdentifier(N)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:R})=>`${E.readableIdentifier(N)} (expected runtime ${Ee(j)}, module is only referenced in ${Ee(R)})`)).join(", ")}`;Me.incorrectRuntimeCondition++;we.set(R,problem);return problem}}let He;if(Ne){He=N.snapshot()}N.add(R);Je.sort(ae);for(const ie of Je){const ae=this._tryToAdd(E,N,ie,j,$,q,G,we,Ie,false,Me);if(ae){if(He!==undefined)N.rollback(He);Me.importerFailed++;we.set(R,ae);return ae}}for(const N of this._getImports(E,R,j)){G.add(N)}Me.added++;return null}}class ConcatConfiguration{constructor(E,N){this.rootModule=E;this.runtime=N;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,N){this.warnings.set(E,N)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,N)=>{const R=E[0].identifier();const j=N[0].identifier();if(Rj)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const N=this.modules;for(const R of N){if(E===0){N.delete(R)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$,CachedSource:q,CompatSource:G}=R(48135);const ie=R(3080);const ae=R(81627);const{compareSelect:ce,compareStrings:le}=R(68673);const _e=R(35891);const Ee=new Set;const addToList=(E,N)=>{if(Array.isArray(E)){for(const R of E){N.add(R)}}else if(E){N.add(E)}};const mapAndDeduplicateBuffers=(E,N)=>{const R=[];e:for(const j of E){const E=N(j);for(const N of R){if(E.equals(N))continue e}R.push(E)}return R};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Te=new WeakMap;const toCachedSource=E=>{if(E instanceof q){return E}const N=Te.get(E);if(N!==undefined)return N;const R=new q(G.from(E));Te.set(E,R);return R};const we=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=we.get(E);if(N===undefined){N={updateHash:new j(["content","oldHash"])};we.set(E,N)}return N}constructor({hashFunction:E,hashDigest:N}){this._hashFunction=E;this._hashDigest=N}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const N=E.getCache("RealContentHashPlugin|analyse");const R=E.getCache("RealContentHashPlugin|generate");const j=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ie.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const q=E.getAssets();const G=[];const ie=new Map;for(const{source:E,info:N,name:R}of q){const j=toCachedSource(E);const $=j.source();const q=new Set;addToList(N.contenthash,q);const ae={name:R,info:N,source:j,newSource:undefined,newSourceWithoutOwn:undefined,content:$,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:q};G.push(ae);for(const E of q){const N=ie.get(E);if(N===undefined){ie.set(E,[ae])}else{N.push(ae)}}}if(ie.size===0)return;const Te=new RegExp(Array.from(ie.keys(),quoteMeta).join("|"),"g");await Promise.all(G.map((async E=>{const{name:R,source:j,content:$,hashes:q}=E;if(Buffer.isBuffer($)){E.referencedHashes=Ee;E.ownHashes=Ee;return}const G=N.mergeEtags(N.getLazyHashedEtag(j),Array.from(q).join("|"));[E.referencedHashes,E.ownHashes]=await N.providePromise(R,G,(()=>{const E=new Set;let N=new Set;const R=$.match(Te);if(R){for(const j of R){if(q.has(j)){N.add(j);continue}E.add(j)}}return[E,N]}))})));const getDependencies=N=>{const R=ie.get(N);if(!R){const R=G.filter((E=>E.referencedHashes.has(N)));const j=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${N}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${R.map((E=>{const R=new RegExp(`.{0,20}${quoteMeta(N)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${R?R[0]:"???"}...`})).join("\n")}`);E.errors.push(j);return undefined}const j=new Set;for(const{referencedHashes:E,ownHashes:$}of R){if(!$.has(N)){for(const E of $){j.add(E)}}for(const N of E){j.add(N)}}return j};const hashInfo=E=>{const N=ie.get(E);return`${E} (${Array.from(N,(E=>E.name))})`};const we=new Set;for(const E of ie.keys()){const add=(E,N)=>{const R=getDependencies(E);if(!R)return;N.add(E);for(const E of R){if(we.has(E))continue;if(N.has(E)){throw new Error(`Circular hash dependency ${Array.from(N,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,N)}we.add(E);N.delete(E)};if(we.has(E))continue;add(E,new Set)}const Ie=new Map;const getEtag=E=>R.mergeEtags(R.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Ie.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name;const j=getEtag(E);E.newSource=await R.providePromise(N,j,(()=>{const N=E.content.replace(Te,(E=>Ie.get(E)));return new $(N)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name+"|without-own";const j=getEtag(E);E.newSourceWithoutOwn=await R.providePromise(N,j,(()=>{const N=E.content.replace(Te,(N=>{if(E.ownHashes.has(N)){return""}return Ie.get(N)}));return new $(N)}))}})()};const Ne=ce((E=>E.name),le);for(const E of we){const N=ie.get(E);N.sort(Ne);const R=_e(this._hashFunction);await Promise.all(N.map((N=>N.ownHashes.has(E)?computeNewContentWithoutOwn(N):computeNewContent(N))));const $=mapAndDeduplicateBuffers(N,(N=>{if(N.ownHashes.has(E)){return N.newSourceWithoutOwn?N.newSourceWithoutOwn.buffer():N.source.buffer()}else{return N.newSource?N.newSource.buffer():N.source.buffer()}}));let q=j.updateHash.call($,E);if(!q){for(const E of $){R.update(E)}const N=R.digest(this._hashDigest);q=N.slice(0,E.length)}Ie.set(E,q)}await Promise.all(G.map((async N=>{await computeNewContent(N);const R=N.name.replace(Te,(E=>Ie.get(E)));const j={};const $=N.info.contenthash;j.contenthash=Array.isArray($)?$.map((E=>Ie.get(E))):Ie.get($);if(N.newSource!==undefined){E.updateAsset(N.name,N.newSource,j)}else{E.updateAsset(N.name,N.source,j)}if(N.name!==R){E.renameAsset(N.name,R)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,N,R)=>{"use strict";const{STAGE_BASIC:j,STAGE_ADVANCED:$}=R(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;for(const j of N){if(R.getNumberOfChunkModules(j)===0&&!j.hasRuntime()&&R.getNumberOfEntryModules(j)===0){E.chunkGraph.disconnectChunk(j);E.chunks.delete(j)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:j},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:$},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const $=R(39541);const{intersect:q}=R(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(N,R)=>{const j=E.chunkGraph;const G=new $;const ie=new WeakMap;for(const N of E.entrypoints.values()){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}for(const N of E.asyncEntrypoints){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}while(G.length>0){const E=G.dequeue();let N=ie.get(E);let R=false;for(const $ of E.parentsIterable){const q=ie.get($);if(q!==undefined){if(N===undefined){N=new Set(q);for(const E of $.chunks){for(const R of j.getChunkModulesIterable(E)){N.add(R)}}ie.set(E,N);R=true}else{for(const E of N){if(!j.isModuleInChunkGroup(E,$)&&!q.has(E)){N.delete(E);R=true}}}}}if(R){for(const N of E.childrenIterable){G.enqueue(N)}}}for(const E of N){const N=Array.from(E.groupsIterable,(E=>ie.get(E)));if(N.some((E=>E===undefined)))continue;const R=N.length===1?N[0]:q(N);const $=j.getNumberOfChunkModules(E);const G=new Set;if(${"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((N,{name:R})=>{if(R===undefined)return;const j=E.entries.get(R);if(j.options.runtime===undefined&&!j.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:R})}j.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,N,R)=>{"use strict";const j=R(70554);const{STAGE_DEFAULT:$}=R(82414);const q=R(44576);const G=R(2230);const ie=R(72380);const ae=new WeakMap;const globToRegexp=(E,N)=>{const R=N.get(E);if(R!==undefined)return R;if(!E.includes("/")){E=`**/${E}`}const $=j(E,{globstar:true,extended:true});const q=$.source;const G=new RegExp("^(\\./)?"+q.slice(1));N.set(E,G);return G};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let N=ae.get(E.root);if(N===undefined){N=new Map;ae.set(E.root,N)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:R})=>{const j=E.moduleGraph;R.hooks.module.tap("SideEffectsFlagPlugin",((E,R)=>{const j=R.resourceResolveData;if(j&&j.descriptionFileData&&j.relativePath){const R=j.descriptionFileData.sideEffects;if(R!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const $=SideEffectsFlagPlugin.moduleHasSideEffects(j.relativePath,R,N);E.factoryMeta.sideEffectFree=!$}}return E}));R.hooks.module.tap("SideEffectsFlagPlugin",((E,N)=>{if(typeof N.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!N.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let N;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{N=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(R=>{if(N)return;if(E.scope.topLevelScope!==true)return;switch(R.type){case"ExpressionStatement":if(!E.isPure(R.expression,R.range[0])){N=R}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(R.test,R.range[0])){N=R}break;case"ForStatement":if(!E.isPure(R.init,R.range[0])||!E.isPure(R.test,R.init?R.init.range[1]:R.range[0])||!E.isPure(R.update,R.test?R.test.range[1]:R.init?R.init.range[1]:R.range[0])){N=R}break;case"SwitchStatement":if(!E.isPure(R.discriminant,R.range[0])){N=R}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(R,R.range[0])){N=R}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(R.declaration,R.range[0])){N=R}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:N=R;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(N===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:R,type:$}=N;j.getOptimizationBailout(E.state.module).push((()=>`Statement (${$}) with side effects in source code at ${ie(R)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){R.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:$},(N=>{const R=E.getLogger("webpack.SideEffectsFlagPlugin");R.time("update dependencies");for(const E of N){if(E.getSideEffectsConnectionState(j)===false){const N=j.getExportsInfo(E);for(const R of j.getIncomingConnections(E)){const E=R.dependency;let $;if(($=E instanceof q)||E instanceof G&&!E.namespaceObjectAsContext){if($&&E.name){const N=j.getExportInfo(R.originModule,E.name);N.moveTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false),(({module:N,export:R})=>{j.updateModule(E,N);j.addExplanation(E,"(skipped side-effect-free modules)");const $=E.getIds(j);E.setIds(j,R?[...R,...$.slice(1)]:$.slice(1));return j.getConnection(E)}));continue}const q=E.getIds(j);if(q.length>0){const R=N.getExportInfo(q[0]);const $=R.getTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false));if(!$)continue;j.updateModule(E,$.module);j.addExplanation(E,"(skipped side-effect-free modules)");E.setIds(j,$.export?[...$.export,...q.slice(1)]:q.slice(1))}}}}}R.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,N,R){switch(typeof N){case"undefined":return true;case"boolean":return N;case"string":return globToRegexp(N,R).test(E);case"object":return N.some((N=>SideEffectsFlagPlugin.moduleHasSideEffects(E,N,R)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,N,R)=>{"use strict";const j=R(62433);const{STAGE_ADVANCED:$}=R(82414);const q=R(81627);const{requestToId:G}=R(30328);const{isSubset:ie}=R(26221);const ae=R(16102);const{compareModulesByIdentifier:ce,compareIterables:le}=R(68673);const _e=R(35891);const Ee=R(44648);const{makePathsRelative:Te}=R(49197);const we=R(91671);const Ie=R(1697);const defaultGetName=()=>{};const Ne=Ee;const Me=new WeakMap;const hashFilename=(E,N)=>{const R=_e(N.hashFunction).update(E).digest(N.hashDigest);return R.slice(0,8)};const getRequests=E=>{let N=0;for(const R of E.groupsIterable){N=Math.max(N,R.chunks.length)}return N};const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const isOverlap=(E,N)=>{for(const R of E){if(N.has(R))return true}return false};const Le=le(ce);const compareEntries=(E,N)=>{const R=E.cacheGroup.priority-N.cacheGroup.priority;if(R)return R;const j=E.chunks.size-N.chunks.size;if(j)return j;const $=totalSize(E.sizes)*(E.chunks.size-1);const q=totalSize(N.sizes)*(N.chunks.size-1);const G=$-q;if(G)return G;const ie=N.cacheGroupIndex-E.cacheGroupIndex;if(ie)return ie;const ae=E.modules;const ce=N.modules;const le=ae.size-ce.size;if(le)return le;ae.sort();ce.sort();return Le(ae,ce)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,N)=>{if(typeof E==="number"){const R={};for(const j of N)R[j]=E;return R}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let N={};for(let R=E.length-1;R>=0;R--){N=Object.assign(N,E[R])}return N};const hasNonZeroSizes=E=>{for(const N of Object.keys(E)){if(E[N]>0)return true}return false};const combineSizes=(E,N,R)=>{const j=new Set(Object.keys(E));const $=new Set(Object.keys(N));const q={};for(const G of j){if($.has(G)){q[G]=R(E[G],N[G])}else{q[G]=E[G]}}for(const E of $){if(!j.has(E)){q[E]=N[E]}}return q};const checkMinSize=(E,N)=>{for(const R of Object.keys(N)){const j=E[R];if(j===undefined||j===0)continue;if(j{for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if($*R{let R;for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if(${let N=0;for(const R of Object.keys(E)){N+=E[R]}return N};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,N)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const R=[];for(const j of Object.keys(E)){const $=E[j];if($===false){continue}if(typeof $==="string"||$ instanceof RegExp){const E=createCacheGroupSource({},j,N);R.push(((N,R,j)=>{if(checkTest($,N,R)){j.push(E)}}))}else if(typeof $==="function"){const E=new WeakMap;R.push(((R,q,G)=>{const ie=$(R);if(ie){const R=Array.isArray(ie)?ie:[ie];for(const $ of R){const R=E.get($);if(R!==undefined){G.push(R)}else{const R=createCacheGroupSource($,j,N);E.set($,R);G.push(R)}}}}))}else{const E=createCacheGroupSource($,j,N);R.push(((N,R,j)=>{if(checkTest($.test,N,R)&&checkModuleType($.type,N)&&checkModuleLayer($.layer,N)){j.push(E)}}))}}const fn=(E,N)=>{let j=[];for(const $ of R){$(E,N,j)}return j};return fn}return()=>null};const checkTest=(E,N,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N,R)}if(typeof E==="boolean")return E;if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const checkModuleType=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.type)}if(typeof E==="string"){const R=N.type;return E===R}if(E instanceof RegExp){const R=N.type;return E.test(R)}return false};const checkModuleLayer=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.layer)}if(typeof E==="string"){const R=N.layer;return E===""?!R:R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.layer;return E.test(R)}return false};const createCacheGroupSource=(E,N,R)=>{const j=normalizeSizes(E.minSize,R);const $=normalizeSizes(E.minSizeReduction,R);const q=normalizeSizes(E.maxSize,R);return{key:N,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,R),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,R),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,R),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,R),q),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const N=E.defaultSizeTypes||["javascript","unknown"];const R=E.fallbackCacheGroup||{};const j=normalizeSizes(E.minSize,N);const $=normalizeSizes(E.minSizeReduction,N);const q=normalizeSizes(E.maxSize,N);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:N,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,N),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,N),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,N),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,N),q),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,N),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(R.chunks||E.chunks||"all"),minSize:mergeSizes(normalizeSizes(R.minSize,N),j),maxAsyncSize:mergeSizes(normalizeSizes(R.maxAsyncSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxAsyncSize,N),normalizeSizes(E.maxSize,N)),maxInitialSize:mergeSizes(normalizeSizes(R.maxInitialSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxInitialSize,N),normalizeSizes(E.maxSize,N)),automaticNameDelimiter:R.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const N=this._cacheGroupCache.get(E);if(N!==undefined)return N;const R=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const j=mergeSizes(E.minSizeReduction,E.enforce?undefined:this.options.minSizeReduction);const $=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const q=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const G={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:R,minSizeReduction:j,minRemainingSize:$,enforceSizeThreshold:q,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(R),_validateRemainingSize:hasNonZeroSizes($),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(q)};this._cacheGroupCache.set(E,G);return G}apply(E){const N=Te.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const R=E.getLogger("webpack.SplitChunksPlugin");let le=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{le=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:$},($=>{if(le)return;le=true;R.time("prepare");const _e=E.chunkGraph;const Ee=E.moduleGraph;const Te=new Map;const Le=BigInt("0");const Be=BigInt("1");const je=Be<{const N=E[Symbol.iterator]();let R=N.next();if(R.done)return Le;const j=R.value;R=N.next();if(R.done)return j;let $=Te.get(j)|Te.get(R.value);while(!(R=N.next()).done){const E=Te.get(R.value);$=$^E}return $};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Te.get(E).toString(16)};const ze=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=_e.getModuleChunksIterable(j);const $=getKey(E);if(typeof $==="bigint"){if(!N.has($)){N.set($,new Set(E))}}else{R.add($)}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunksByExports=E=>{const N=Ee.getExportsInfo(E);const R=new Map;for(const j of _e.getModuleChunksIterable(E)){const E=N.getUsageKey(j.runtime);const $=R.get(E);if($!==undefined){$.push(j)}else{R.set(E,[j])}}return R.values()};const We=new Map;const Je=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=Array.from(groupChunksByExports(j));We.set(j,E);for(const j of E){if(j.length===1){R.add(j[0])}else{const E=getKey(j);if(!N.has(E)){N.set(E,new Set(j))}}}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunkSetsByCount=E=>{const N=new Map;for(const R of E){const E=R.size;let j=N.get(E);if(j===undefined){j=[];N.set(E,j)}j.push(R)}return N};const Ve=we((()=>groupChunkSetsByCount(ze().chunkSetsInGraph.values())));const qe=we((()=>groupChunkSetsByCount(Je().chunkSetsInGraph.values())));const createGetCombinations=(E,N,R)=>{const $=new Map;return q=>{const G=$.get(q);if(G!==undefined)return G;if(q instanceof j){const E=[q];$.set(q,E);return E}const ae=E.get(q);const ce=[ae];for(const[E,N]of R){if(E{const{chunkSetsInGraph:E,singleChunkSets:N}=ze();return createGetCombinations(E,N,Ve())}));const getCombinations=E=>He()(E);const Ge=we((()=>{const{chunkSetsInGraph:E,singleChunkSets:N}=Je();return createGetCombinations(E,N,qe())}));const getExportsCombinations=E=>Ge()(E);const Ke=new WeakMap;const getSelectedChunks=(E,N)=>{let R=Ke.get(E);if(R===undefined){R=new WeakMap;Ke.set(E,R)}let $=R.get(N);if($===undefined){const q=[];if(E instanceof j){if(N(E))q.push(E)}else{for(const R of E){if(N(R))q.push(R)}}$={chunks:q,key:getKey(q)};R.set(N,$)}return $};const Qe=new Map;const Xe=new Set;const Ye=new Map;const addModuleToChunksInfoMap=(N,R,j,$,G)=>{if(j.length{const E=_e.getModuleChunksIterable(N);const R=getKey(E);return getCombinations(R)}));const $=we((()=>{Je();const E=new Set;const R=We.get(N);for(const N of R){const R=getKey(N);for(const N of getExportsCombinations(R))E.add(N)}return E}));let q=0;for(const G of E){const E=this._getCacheGroup(G);const ie=E.usedExports?$():R();for(const R of ie){const $=R instanceof j?1:R.size;if(${for(const R of E.modules){const j=R.getSourceTypes();if(N.some((E=>j.has(E)))){E.modules.delete(R);for(const N of j){E.sizes[N]-=R.size(N)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const N=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(N===undefined)return false;removeModulesWithSourceType(E,N);return E.modules.size===0};for(const[E,N]of Ye){if(removeMinSizeViolatingModules(N)){Ye.delete(E)}else if(!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E)}}const et=new Map;while(Ye.size>0){let N;let R;for(const E of Ye){const j=E[0];const $=E[1];if(R===undefined||compareEntries(R,$)<0){R=$;N=j}}const j=R;Ye.delete(N);let $=j.name;let q;let G=false;let ie=false;if($){const N=E.namedChunks.get($);if(N!==undefined){q=N;const E=j.chunks.size;j.chunks.delete(q);G=j.chunks.size!==E}}else if(j.cacheGroup.reuseExistingChunk){e:for(const E of j.chunks){if(_e.getNumberOfChunkModules(E)!==j.modules.size){continue}if(j.chunks.size>1&&_e.getNumberOfEntryModules(E)>0){continue}for(const N of j.modules){if(!_e.isModuleInChunk(N,E)){continue e}}if(!q||!q.name){q=E}else if(E.name&&E.name.length=N){ce.delete(E)}}}e:for(const E of ce){for(const N of j.modules){if(_e.isModuleInChunk(N,E))continue e}ce.delete(E)}if(ce.size=j.cacheGroup.minChunks){const E=Array.from(ce);for(const N of j.modules){addModuleToChunksInfoMap(j.cacheGroup,j.cacheGroupIndex,E,getKey(ce),N)}}continue}if(!ae&&j.cacheGroup._validateRemainingSize&&ce.size===1){const[E]=ce;let R=Object.create(null);for(const N of _e.getChunkModulesIterable(E)){if(!j.modules.has(N)){for(const E of N.getSourceTypes()){R[E]=(R[E]||0)+N.size(E)}}}const $=getViolatingMinSizes(R,j.cacheGroup.minRemainingSize);if($!==undefined){const E=j.modules.size;removeModulesWithSourceType(j,$);if(j.modules.size>0&&j.modules.size!==E){Ye.set(N,j)}continue}}if(q===undefined){q=E.addChunk($)}for(const E of ce){E.split(q)}q.chunkReason=(q.chunkReason?q.chunkReason+", ":"")+(ie?"reused as split chunk":"split chunk");if(j.cacheGroup.key){q.chunkReason+=` (cache group: ${j.cacheGroup.key})`}if($){q.chunkReason+=` (name: ${$})`}if(j.cacheGroup.filename){q.filenameTemplate=j.cacheGroup.filename}if(j.cacheGroup.idHint){q.idNameHints.add(j.cacheGroup.idHint)}if(!ie){for(const N of j.modules){if(!N.chunkCondition(q,E))continue;_e.connectChunkAndModule(q,N);for(const E of ce){_e.disconnectChunkAndModule(E,N)}}}else{for(const E of j.modules){for(const N of ce){_e.disconnectChunkAndModule(N,E)}}}if(Object.keys(j.cacheGroup.maxAsyncSize).length>0||Object.keys(j.cacheGroup.maxInitialSize).length>0){const E=et.get(q);et.set(q,{minSize:E?combineSizes(E.minSize,j.cacheGroup._minSizeForMaxSize,Math.max):j.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,j.cacheGroup.maxAsyncSize,Math.min):j.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,j.cacheGroup.maxInitialSize,Math.min):j.cacheGroup.maxInitialSize,automaticNameDelimiter:j.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat(j.cacheGroup.key):[j.cacheGroup.key]})}for(const[E,N]of Ye){if(isOverlap(N.chunks,ce)){let R=false;for(const E of j.modules){if(N.modules.has(E)){N.modules.delete(E);for(const R of E.getSourceTypes()){N.sizes[R]-=E.size(R)}R=true}}if(R){if(N.modules.size===0){Ye.delete(E);continue}if(removeMinSizeViolatingModules(N)||!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E);continue}}}}}R.timeEnd("queue");R.time("maxSize");const tt=new Set;const{outputOptions:rt}=E;const{fallbackCacheGroup:nt}=this.options;for(const R of Array.from(E.chunks)){const j=et.get(R);const{minSize:$,maxAsyncSize:q,maxInitialSize:ie,automaticNameDelimiter:ae}=j||nt;if(!j&&!nt.chunksFilter(R))continue;let ce;if(R.isOnlyInitial()){ce=ie}else if(R.canBeInitial()){ce=combineSizes(q,ie,Math.min)}else{ce=q}if(Object.keys(ce).length===0){continue}for(const N of Object.keys(ce)){const R=ce[N];const q=$[N];if(typeof q==="number"&&q>R){const N=j&&j.keys;const $=`${N&&N.join()} ${q} ${R}`;if(!tt.has($)){tt.add($);E.warnings.push(new Ie(N,q,R))}}}const le=Ne({minSize:$,maxSize:mapObject(ce,((E,N)=>{const R=$[N];return typeof R==="number"?Math.max(E,R):E})),items:_e.getChunkModulesIterable(R),getKey(E){const R=Me.get(E);if(R!==undefined)return R;const j=N(E.identifier());const $=E.nameForCondition&&E.nameForCondition();const q=$?N($):j.replace(/^.*!|\?[^?!]*$/g,"");const ie=q+ae+hashFilename(j,rt);const ce=G(ie);Me.set(E,ce);return ce},getSize(E){const N=Object.create(null);for(const R of E.getSourceTypes()){N[R]=E.size(R)}return N}});if(le.length<=1){continue}for(let N=0;N100){q=q.slice(0,100)+ae+hashFilename(q,rt)}if(N!==le.length-1){const N=E.addChunk(q);R.split(N);N.chunkReason=R.chunkReason;for(const $ of j.items){if(!$.chunkCondition(N,E)){continue}_e.connectChunkAndModule(N,$);_e.disconnectChunkAndModule(R,$)}}else{R.name=q}}}R.timeEnd("maxSize")}))}))}}},15787:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class AssetsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${j(N)}).\nThis can impact web performance.\nAssets: ${R}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class EntrypointsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${j(N)}). This can impact web performance.\nEntrypoints:${R}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoAsyncChunksWarning extends j{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,N,R)=>{"use strict";const{find:j}=R(26221);const $=R(15787);const q=R(84116);const G=R(23529);const ie=new WeakSet;const excludeSourceMap=(E,N,R)=>!R.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ie.has(E)}apply(E){const N=this.maxEntrypointSize;const R=this.maxAssetSize;const ae=this.hints;const ce=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const le=[];const getEntrypointSize=N=>{let R=0;for(const j of N.getFiles()){const N=E.getAsset(j);if(N&&ce(N.name,N.source,N.info)&&N.source){R+=N.info.size||N.source.size()}}return R};const _e=[];for(const{name:N,source:j,info:$}of E.getAssets()){if(!ce(N,j,$)||!j){continue}const E=$.size||j.size();if(E>R){_e.push({name:N,size:E});ie.add(j)}}const fileFilter=N=>{const R=E.getAsset(N);return R&&ce(R.name,R.source,R.info)};const Ee=[];for(const[R,j]of E.entrypoints){const E=getEntrypointSize(j);if(E>N){Ee.push({name:R,size:E,files:j.getFiles().filter(fileFilter)});ie.add(j)}}if(ae){if(_e.length>0){le.push(new $(_e,R))}if(Ee.length>0){le.push(new q(Ee,N))}if(le.length>0){const N=j(E.chunks,(E=>!E.canBeInitial()));if(!N){le.push(new G)}if(ae==="error"){E.errors.push(...le)}else{E.warnings.push(...le)}}}}))}}},63890:(E,N,R)=>{"use strict";const j=R(66804);const $=R(58159);class ChunkPrefetchFunctionRuntimeModule extends j{constructor(E,N,R){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=N;this.runtimeHandlers=R}generate(){const{runtimeFunction:E,runtimeHandlers:N}=this;const{runtimeTemplate:R}=this.compilation;return $.asString([`${N} = {};`,`${E} = ${R.basicFunction("chunkId",[`Object.keys(${N}).map(${R.basicFunction("key",`${N}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,N,R)=>{"use strict";const j=R(76150);const $=R(63890);const q=R(2235);const G=R(86400);const ie=R(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{if($.getNumberOfEntryModules(N)===0)return;const G=N.getChildrenOfTypeInOrder($,"prefetchOrder");if(G){R.add(j.prefetchChunk);R.add(j.onChunksLoaded);E.addRuntimeModule(N,new q(G))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{const q=N.getChildIdsByOrdersMap($,false);if(q.prefetch){R.add(j.prefetchChunk);E.addRuntimeModule(N,new G(q.prefetch))}if(q.preload){R.add(j.preloadChunk);E.addRuntimeModule(N,new ie(q.preload))}}));E.hooks.runtimeRequirementInTree.for(j.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("prefetch",j.prefetchChunk,j.prefetchChunkHandlers));R.add(j.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("preload",j.preloadChunk,j.preloadChunkHandlers));R.add(j.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchStartupRuntimeModule extends ${constructor(E){super("startup prefetch",$.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:N}=this;const{runtimeTemplate:R}=this.compilation;return q.asString(E.map((({onChunks:E,chunks:$})=>`${j.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===N)).map((E=>E.id)))}, ${R.basicFunction("",$.size<3?Array.from($,(E=>`${j.prefetchChunk}(${JSON.stringify(E.id)});`)):`${JSON.stringify(Array.from($,(E=>E.id)))}.map(${j.prefetchChunk});`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchTriggerRuntimeModule extends ${constructor(E){super(`chunk prefetch trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.prefetchChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.prefetch = ${N.expressionFunction(`Promise.all(promises).then(${N.basicFunction("",R)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPreloadTriggerRuntimeModule extends ${constructor(E){super(`chunk preload trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.preloadChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.preload = ${N.basicFunction("chunkId",R)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,N){this.ruleProperty=E;this.effectType=N||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,N,R,j,$)=>{if(R.has(this.ruleProperty)){R.delete(this.ruleProperty);const E=N[this.ruleProperty];j.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,N,R){this.ruleProperty=E;this.dataProperty=N||E;this.invert=R||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((N,R,j,$)=>{if(j.has(this.ruleProperty)){j.delete(this.ruleProperty);const q=R[this.ruleProperty];const G=E.compileCondition(`${N}.${this.ruleProperty}`,q);const ie=G.fn;$.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!G.matchWhenEmpty:G.matchWhenEmpty,fn:this.invert?E=>!ie(E):ie})}}))}}E.exports=BasicMatcherRulePlugin},95020:E=>{"use strict";class ObjectMatcherRulePlugin{constructor(E,N){this.ruleProperty=E;this.dataProperty=N||E}apply(E){const{ruleProperty:N,dataProperty:R}=this;E.hooks.rule.tap("ObjectMatcherRulePlugin",((j,$,q,G)=>{if(q.has(N)){q.delete(N);const ie=$[N];for(const $ of Object.keys(ie)){const q=$.split(".");const ae=E.compileCondition(`${j}.${N}.${$}`,ie[$]);G.conditions.push({property:[R,...q],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}E.exports=ObjectMatcherRulePlugin},73817:(E,N,R)=>{"use strict";const{SyncHook:j}=R(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new j(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const N of E){N.apply(this)}}}compile(E){const N=new Map;const R=this.compileRules("ruleSet",E,N);const execRule=(E,N,R)=>{for(const R of N.conditions){const N=R.property;if(Array.isArray(N)){let j=E;for(const E of N){if(j&&typeof j==="object"&&Object.prototype.hasOwnProperty.call(j,E)){j=j[E]}else{j=undefined;break}}if(j!==undefined){if(!R.fn(j))return false;continue}}else if(N in E){const j=E[N];if(j!==undefined){if(!R.fn(j))return false;continue}}if(!R.matchWhenEmpty){return false}}for(const j of N.effects){if(typeof j==="function"){const N=j(E);for(const E of N){R.push(E)}}else{R.push(j)}}if(N.rules){for(const j of N.rules){execRule(E,j,R)}}if(N.oneOf){for(const j of N.oneOf){if(execRule(E,j,R)){break}}}return true};return{references:N,exec:E=>{const N=[];for(const j of R){execRule(E,j,N)}return N}}}compileRules(E,N,R){return N.map(((N,j)=>this.compileRule(`${E}[${j}]`,N,R)))}compileRule(E,N,R){const j=new Set(Object.keys(N).filter((E=>N[E]!==undefined)));const $={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,N,j,$,R);if(j.has("rules")){j.delete("rules");const q=N.rules;if(!Array.isArray(q))throw this.error(E,q,"Rule.rules must be an array of rules");$.rules=this.compileRules(`${E}.rules`,q,R)}if(j.has("oneOf")){j.delete("oneOf");const q=N.oneOf;if(!Array.isArray(q))throw this.error(E,q,"Rule.oneOf must be an array of rules");$.oneOf=this.compileRules(`${E}.oneOf`,q,R)}if(j.size>0){throw this.error(E,N,`Properties ${Array.from(j).join(", ")} are unknown`)}return $}compileCondition(E,N){if(N===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!N){throw this.error(E,N,"Expected condition but got falsy value")}if(typeof N==="string"){return{matchWhenEmpty:N.length===0,fn:E=>typeof E==="string"&&E.startsWith(N)}}if(typeof N==="function"){try{return{matchWhenEmpty:N(""),fn:N}}catch(R){throw this.error(E,N,"Evaluation of condition function threw error")}}if(N instanceof RegExp){return{matchWhenEmpty:N.test(""),fn:E=>typeof E==="string"&&N.test(E)}}if(Array.isArray(N)){const R=N.map(((N,R)=>this.compileCondition(`${E}[${R}]`,N)));return this.combineConditionsOr(R)}if(typeof N!=="object"){throw this.error(E,N,`Unexpected ${typeof N} when condition was expected`)}const R=[];for(const j of Object.keys(N)){const $=N[j];switch(j){case"or":if($){if(!Array.isArray($)){throw this.error(`${E}.or`,N.and,"Expected array of conditions")}R.push(this.compileCondition(`${E}.or`,$))}break;case"and":if($){if(!Array.isArray($)){throw this.error(`${E}.and`,N.and,"Expected array of conditions")}let j=0;for(const N of $){R.push(this.compileCondition(`${E}.and[${j}]`,N));j++}}break;case"not":if($){const N=this.compileCondition(`${E}.not`,$);const j=N.fn;R.push({matchWhenEmpty:!N.matchWhenEmpty,fn:E=>!j(E)})}break;default:throw this.error(`${E}.${j}`,N[j],`Unexpected property ${j} in condition`)}}if(R.length===0){throw this.error(E,N,"Expected condition, but got empty thing")}return this.combineConditionsAnd(R)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:N=>E.some((E=>E.fn(N)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:N=>E.every((E=>E.fn(N)))}}}error(E,N,R){return new Error(`Compiling RuleSet failed: ${R} (at ${E}: ${N})`)}}E.exports=RuleSetCompiler},19311:(E,N,R)=>{"use strict";const j=R(73837);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((N,R,$,q,G)=>{const conflictWith=(j,q)=>{if($.has(j)){throw E.error(`${N}.${j}`,R[j],`A Rule must not have a '${j}' property when it has a '${q}' property`)}};if($.has("use")){$.delete("use");$.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=R.use;const ie=R.enforce;const ae=ie?`use-${ie}`:"use";const useToEffect=(E,N,R)=>{if(typeof R==="function"){return N=>useToEffectsWithoutIdent(E,R(N))}else{return useToEffectRaw(E,N,R)}};const useToEffectRaw=(E,N,R)=>{if(typeof R==="string"){return{type:ae,value:{loader:R,options:undefined,ident:undefined}}}else{const $=R.loader;const q=R.options;let ae=R.ident;if(q&&typeof q==="object"){if(!ae)ae=N;G.set(ae,q)}if(typeof q==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ie?`use-${ie}`:"use",value:{loader:$,options:q,ident:ae}}}};const useToEffectsWithoutIdent=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>useToEffectRaw(`${E}[${R}]`,"[[missing ident]]",N)))}return[useToEffectRaw(E,"[[missing ident]]",N)]};const useToEffects=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>{const j=`${E}[${R}]`;return useToEffect(j,j,N)}))}return[useToEffect(E,E,N)]};if(typeof E==="function"){q.effects.push((R=>useToEffectsWithoutIdent(`${N}.use`,E(R))))}else{for(const R of useToEffects(`${N}.use`,E)){q.effects.push(R)}}}if($.has("loader")){$.delete("loader");$.delete("options");$.delete("enforce");const ie=R.loader;const ae=R.options;const ce=R.enforce;if(ie.includes("!")){throw E.error(`${N}.loader`,ie,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ie.includes("?")){throw E.error(`${N}.loader`,ie,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${N}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const le=ae&&typeof ae==="object"?N:undefined;G.set(le,ae);q.effects.push({type:ce?`use-${ce}`:"use",value:{loader:ie,options:ae,ident:le}})}}))}useItemToEffects(E,N){}}E.exports=UseEffectRulePlugin},84997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class AsyncModuleRuntimeModule extends q{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.asyncModule;return $.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",$.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',$.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",$.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep['catch'](reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${N} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise['catch'](rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const G=R(18161);const{getUndoPath:ie}=R(49197);class AutoPublicPathRuntimeModule extends ${constructor(){super("publicPath",$.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:N,importMetaName:R,path:$}=E.outputOptions;const ae=E.getPath(G.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const ce=ie(ae,$,false);return q.asString(["var scriptUrl;",N==="module"?`if (typeof ${R}.url === "string") scriptUrl = ${R}.url`:q.asString([`if (${j.global}.importScripts) scriptUrl = ${j.global}.location + "";`,`var document = ${j.global}.document;`,"if (!scriptUrl && document) {",q.indent([`if (document.currentScript)`,q.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",q.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!ce?`${j.publicPath} = scriptUrl;`:`${j.publicPath} = scriptUrl + ${JSON.stringify(ce)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class ChunkNameRuntimeModule extends ${constructor(E){super("chunkName");this.chunkName=E}generate(){return`${j.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CompatGetDefaultExportRuntimeModule extends q{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.compatGetDefaultExport;return $.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${N} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",$.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${j.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class CompatRuntimeModule extends ${constructor(){super("compat",$.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$,mainTemplate:q,moduleTemplates:G,dependencyTemplates:ie}=R;const ae=q.hooks.bootstrap.call("",N,R.hash||"XXXX",G.javascript,ie);const ce=q.hooks.localVars.call("",N,R.hash||"XXXX");const le=q.hooks.requireExtensions.call("",N,R.hash||"XXXX");const _e=E.getTreeRuntimeRequirements(N);let Ee="";if(_e.has(j.ensureChunk)){const E=q.hooks.requireEnsure.call("",N,R.hash||"XXXX","chunkId");if(E){Ee=`${j.ensureChunkHandlers}.compat = ${$.basicFunction("chunkId, promises",E)};`}}return[ae,ce,Ee,le].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateFakeNamespaceObjectRuntimeModule extends q{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.createFakeNamespaceObject;return $.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${N} = function(value, mode) {`,$.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",$.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${j.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",$.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${j.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateScriptUrlRuntimeModule extends q{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{trustedTypes:q}=R;const G=j.createScriptUrl;if(!q){return $.asString([`${G} = ${N.returningFunction("url","url")};`])}return $.asString(["var policy;",`${G} = ${N.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",$.indent(["policy = {",$.indent([`createScriptURL: ${N.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',$.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(q.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class DefinePropertyGettersRuntimeModule extends q{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.definePropertyGetters;return $.asString(["// define getter functions for harmony exports",`${N} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,$.indent([`if(${j.hasOwnProperty}(definition, key) && !${j.hasOwnProperty}(exports, key)) {`,$.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class EnsureChunkRuntimeModule extends ${constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has(j.ensureChunkHandlers)){const N=j.ensureChunkHandlers;return q.asString([`${N} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${j.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${N}).reduce(${E.basicFunction("promises, key",[`${N}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return q.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${j.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{first:G}=R(26221);class GetChunkFilenameRuntimeModule extends ${constructor(E,N,R,j,$){super(`get ${N} chunk filename`);this.contentType=E;this.global=R;this.getFilenameForChunk=j;this.allChunks=$;this.dependentHash=true}generate(){const{global:E,chunk:N,chunkGraph:R,contentType:$,getFilenameForChunk:ie,allChunks:ae,compilation:ce}=this;const{runtimeTemplate:le}=ce;const _e=new Map;let Ee=0;let Te;const addChunk=E=>{const N=ie(E);if(N){let R=_e.get(N);if(R===undefined){_e.set(N,R=new Set)}R.add(E);if(typeof N==="string"){if(R.size{const unquotedStringify=N=>{const R=`${N}`;if(R.length>=5&&R===`${E.id}`){return'" + chunkId + "'}const j=JSON.stringify(R);return j.slice(1,j.length-1)};const unquotedStringifyWithLength=E=>N=>unquotedStringify(`${E}`.slice(0,N));const R=typeof N==="function"?JSON.stringify(N({chunk:E,contentHashType:$})):JSON.stringify(N);const q=ce.getPath(R,{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[$]:unquotedStringify(E.contentHash[$])},contentHashWithLength:{[$]:unquotedStringifyWithLength(E.contentHash[$])}},contentHashType:$});let G=Ie.get(q);if(G===undefined){Ie.set(q,G=new Set)}G.add(E.id)};for(const[E,N]of _e){if(E!==Te){for(const R of N)addStaticUrl(R,E)}else{for(const E of N)Ne.add(E)}}const createMap=E=>{const N={};let R=false;let j;let $=0;for(const q of Ne){const G=E(q);if(G===q.id){R=true}else{N[q.id]=G;j=q.id;$++}}if($===0)return"chunkId";if($===1){return R?`(chunkId === ${JSON.stringify(j)} ? ${JSON.stringify(N[j])} : chunkId)`:JSON.stringify(N[j])}return R?`(${JSON.stringify(N)}[chunkId] || chunkId)`:`${JSON.stringify(N)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>N=>`" + ${createMap((R=>`${E(R)}`.slice(0,N)))} + "`;const Me=Te&&ce.getPath(JSON.stringify(Te),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[$]:mapExpr((E=>E.contentHash[$]))},contentHashWithLength:{[$]:mapExprWithLength((E=>E.contentHash[$]))}},contentHashType:$});return q.asString([`// This function allow to reference ${we.join(" and ")}`,`${E} = ${le.basicFunction("chunkId",Ie.size>0?["// return url for filenames not based on template",q.asString(Array.from(Ie,(([E,N])=>{const R=N.size===1?`chunkId === ${JSON.stringify(G(N))}`:`{${Array.from(N,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${R}) return ${E};`}))),"// return url for filenames based on template",`return ${Me};`]:["// return url for filenames based on template",`return ${Me};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class GetFullHashRuntimeModule extends ${constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${j.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GetMainFilenameRuntimeModule extends ${constructor(E,N,R){super(`get ${E} filename`);this.global=N;this.filename=R}generate(){const{global:E,filename:N,compilation:R,chunk:$}=this;const{runtimeTemplate:G}=R;const ie=R.getPath(JSON.stringify(N),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:$,runtime:$.runtime});return q.asString([`${E} = ${G.returningFunction(ie)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GlobalRuntimeModule extends ${constructor(){super("global")}generate(){return q.asString([`${j.global} = (function() {`,q.indent(["if (typeof globalThis === 'object') return globalThis;","try {",q.indent("return this || new Function('return this')();"),"} catch (e) {",q.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HasOwnPropertyRuntimeModule extends ${constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${j.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,N,R)=>{"use strict";const j=R(66804);class HelperRuntimeModule extends j{constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(58159);const ie=R(9851);const ae=new WeakMap;class LoadScriptRuntimeModule extends ie{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=ae.get(E);if(N===undefined){N={createScript:new j(["source","chunk"])};ae.set(E,N)}return N}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{scriptType:j,chunkLoadTimeout:$,crossOriginLoading:ie,uniqueName:ae,charset:ce}=R;const le=q.loadScript;const{createScript:_e}=LoadScriptRuntimeModule.getCompilationHooks(E);const Ee=G.asString(["script = document.createElement('script');",j?`script.type = ${JSON.stringify(j)};`:"",ce?"script.charset = 'utf-8';":"",`script.timeout = ${$/1e3};`,`if (${q.scriptNonce}) {`,G.indent(`script.setAttribute("nonce", ${q.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${q.createScriptUrl}(url)`:"url"};`,ie?G.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",G.indent(`script.crossOrigin = ${JSON.stringify(ie)};`),"}"]):""]);return G.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${le} = ${N.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",G.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",G.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",G.indent(["needAttach = true;",_e.call(Ee,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+N.basicFunction("prev, event",G.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${N.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${$});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class MakeNamespaceObjectRuntimeModule extends q{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.makeNamespaceObject;return $.asString(["// define __esModule on exports",`${N} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",$.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class OnChunksLoadedRuntimeModule extends ${constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return q.asString(["var deferred = [];",`${j.onChunksLoaded} = ${N.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",q.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",q.indent([N.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",q.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${j.onChunksLoaded}).every(${N.returningFunction(`${j.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,q.indent(["chunkIds.splice(j--, 1);"]),"} else {",q.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",q.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class PublicPathRuntimeModule extends ${constructor(E){super("publicPath",$.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:N}=this;return`${j.publicPath} = ${JSON.stringify(E.getPath(N||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class RelativeUrlRuntimeModule extends q{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return $.asString([`${j.relativeUrl} = function RelativeURL(url) {`,$.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${j.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class RuntimeIdRuntimeModule extends ${constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:N}=this;const R=N.runtime;if(typeof R!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const $=E.getRuntimeId(R);return`${j.runtimeId} = ${JSON.stringify($)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(55616);const q=R(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((N,R,{chunkGraph:q})=>{if(!isEnabledForChunk(N))return;if(q.hasChunkEntryDependentChunks(N)){R.add(j.startup);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new $(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for(j.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;R.add(j.require);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new q(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class StartupChunkDependenciesRuntimeModule extends ${constructor(E){super("startup chunk dependencies",$.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$}=R;const G=Array.from(E.getChunkEntryDependentChunksIterable(N)).map((E=>E.id));return q.asString([`var next = ${j.startup};`,`${j.startup} = ${$.basicFunction("",!this.asyncChunkLoading?G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):G.length===1?`return ${j.ensureChunk}(${JSON.stringify(G[0])}).then(next);`:G.length>2?[`return Promise.all(${JSON.stringify(G)}.map(${j.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",q.indent(G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class StartupEntrypointRuntimeModule extends ${constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return`${j.startupEntrypoint} = ${N.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${N.returningFunction(`__webpack_require__(${j.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${j.ensureChunk}, __webpack_require__)).then(${N.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${j.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class SystemContextRuntimeModule extends ${constructor(){super("__system_context__")}generate(){return`${j.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,N,R)=>{"use strict";const j=R(53520);const $=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=E=>{const N=$.exec(E);if(!N)return null;const R=N[3];const j=N[4];return R?Buffer.from(j,"base64"):Buffer.from(decodeURIComponent(j),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const N=$.exec(E.resource);if(N){E.data.mimetype=N[1]||"";E.data.parameters=N[2]||"";E.data.encoding=N[3]||false;E.data.encodedContent=N[4]||""}}));j.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,N,R)=>{"use strict";const{URL:j,fileURLToPath:$}=R(57310);const{NormalModule:q}=R(86443);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const N=new j(E.resource);const R=$(N);const q=N.search;const G=N.hash;E.path=R;E.query=q;E.fragment=G;E.resource=R+q+G;return true}));const R=q.getCompilationHooks(E);R.readResource.for(undefined).tapAsync("FileUriPlugin",((E,N)=>{const{resourcePath:R}=E;E.addDependency(R);E.fs.readFile(R,N)}))}))}}E.exports=FileUriPlugin},7201:(E,N,R)=>{"use strict";const{extname:j,basename:$}=R(71017);const{URL:q}=R(57310);const{createGunzip:G,createBrotliDecompress:ie,createInflate:ae}=R(59796);const ce=R(53520);const le=R(35817);const _e=R(35891);const{mkdirp:Ee,dirname:Te,join:we}=R(95396);const Ie=R(91671);const Ne=Ie((()=>R(13685)));const Me=Ie((()=>R(95687)));let Le=undefined;const Be=le(R(44363),(()=>R(5404)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=E=>E.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=E=>{const N=_e("sha512");N.update(E);const R="sha512-"+N.digest("base64");return R};const verifyIntegrity=(E,N)=>{if(N==="ignore")return true;return computeIntegrity(E)===N};const parseKeyValuePairs=E=>{const N={};for(const R of E.split(",")){const E=R.indexOf("=");if(E>=0){const j=R.slice(0,E).trim();const $=R.slice(E+1).trim();N[j]=$}else{const E=R.trim();if(!E)continue;N[E]=E}}return N};const parseCacheControl=(E,N)=>{let R=true;let j=true;let $=0;if(E){const q=parseKeyValuePairs(E);if(q["no-cache"])R=j=false;if(q["max-age"]&&!isNaN(+q["max-age"])){$=N+ +q["max-age"]*1e3}if(q["must-revalidate"])$=0}return{storeLock:j,storeCache:R,validUntil:$}};const areLockfileEntriesEqual=(E,N)=>E.resolved===N.resolved&&E.integrity===N.integrity&&E.contentType===N.contentType;const entryToString=E=>`resolved: ${E.resolved}, integrity: ${E.integrity}, contentType: ${E.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(E){const N=JSON.parse(E);if(N.version!==1)throw new Error(`Unsupported lockfile version ${N.version}`);const R=new Lockfile;for(const E of Object.keys(N)){if(E==="version")continue;const j=N[E];R.entries.set(E,typeof j==="string"?j:{resolved:E,...j})}return R}toString(){let E="{\n";const N=Array.from(this.entries).sort((([E],[N])=>E{let N=false;let R=undefined;let j=undefined;let $=undefined;return q=>{if(N){if(j!==undefined)return q(null,j);if(R!==undefined)return q(R);if($===undefined)$=[q];else $.push(q);return}N=true;E(((E,N)=>{if(E)R=E;else j=N;const G=$;$=undefined;q(E,N);if(G!==undefined)for(const R of G)R(E,N)}))}};const cachedWithKey=(E,N=E)=>{const R=new Map;const resultFn=(N,j)=>{const $=R.get(N);if($!==undefined){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined};R.set(N,q);E(N,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};resultFn.force=(E,j)=>{const $=R.get(E);if($!==undefined&&$.force){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined,force:true};R.set(E,q);N(E,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};return resultFn};class HttpUriPlugin{constructor(E){Be(E);this._lockfileLocation=E.lockfileLocation;this._cacheLocation=E.cacheLocation;this._upgrade=E.upgrade;this._frozen=E.frozen;this._allowedUris=E.allowedUris}apply(E){const N=[{scheme:"http",fetch:(E,N,R)=>Ne().get(E,N,R)},{scheme:"https",fetch:(E,N,R)=>Me().get(E,N,R)}];let R;E.hooks.compilation.tap("HttpUriPlugin",((le,{normalModuleFactory:Ie})=>{const Ne=E.intermediateFileSystem;const Me=le.inputFileSystem;const Be=le.getCache("webpack.HttpUriPlugin");const je=le.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||we(Ne,E.context,E.name?`${toSafePath(E.name)}.webpack.lock`:"webpack.lock");const ze=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const We=this._upgrade||false;const Je=this._frozen||false;const Ve="sha512";const qe="hex";const He=20;const Ge=this._allowedUris;let Ke=false;const Qe=new Map;const getCacheKey=E=>{const N=Qe.get(E);if(N!==undefined)return N;const R=_getCacheKey(E);Qe.set(E,R);return R};const _getCacheKey=E=>{const N=new q(E);const R=toSafePath(N.origin);const $=toSafePath(N.pathname);const G=toSafePath(N.search);let ie=j($);if(ie.length>20)ie="";const ae=ie?$.slice(0,-ie.length):$;const ce=_e(Ve);ce.update(E);const le=ce.digest(qe).slice(0,He);return`${R.slice(-50)}/${`${ae}${G?`_${G}`:""}`.slice(0,150)}_${le}${ie}`};const Xe=cachedWithoutKey((N=>{const readLockfile=()=>{Ne.readFile(Ue,((j,$)=>{if(j&&j.code!=="ENOENT"){le.missingDependencies.add(Ue);return N(j)}le.fileDependencies.add(Ue);le.fileSystemInfo.createSnapshot(E.fsStartTime,$?[Ue]:[],[],$?[]:[Ue],{timestamp:true},((E,j)=>{if(E)return N(E);const q=$?Lockfile.parse($.toString("utf-8")):new Lockfile;R={lockfile:q,snapshot:j};N(null,q)}))}))};if(R){le.fileSystemInfo.checkSnapshotValid(R.snapshot,((E,j)=>{if(E)return N(E);if(!j)return readLockfile();N(null,R.lockfile)}))}else{readLockfile()}}));let Ye=undefined;const storeLockEntry=(E,N,R)=>{const j=E.entries.get(N);if(Ye===undefined)Ye=new Map;Ye.set(N,R);E.entries.set(N,R);if(!j){je.log(`${N} added to lockfile`)}else if(typeof j==="string"){if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j} -> ${R}`)}else{je.log(`${N} updated in lockfile: ${j} -> ${R.resolved}`)}}else if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R}`)}else if(j.resolved!==R.resolved){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R.resolved}`)}else if(j.integrity!==R.integrity){je.log(`${N} updated in lockfile: content changed`)}else if(j.contentType!==R.contentType){je.log(`${N} updated in lockfile: ${j.contentType} -> ${R.contentType}`)}else{je.log(`${N} updated in lockfile`)}};const storeResult=(E,N,R,j)=>{if(R.storeLock){storeLockEntry(E,N,R.entry);if(!ze||!R.content)return j(null,R);const $=getCacheKey(R.entry.resolved);const q=we(Ne,ze,$);Ee(Ne,Te(Ne,q),(E=>{if(E)return j(E);Ne.writeFile(q,R.content,(E=>{if(E)return j(E);j(null,R)}))}))}else{storeLockEntry(E,N,"no-cache");j(null,R)}};for(const{scheme:E,fetch:R}of N){const resolveContent=(E,R,j)=>{const handleResult=($,q)=>{if($)return j($);if("location"in q){return resolveContent(q.location,R,((E,N)=>{if(E)return j(E);j(null,{entry:N.entry,content:N.content,storeLock:N.storeLock&&q.storeLock})}))}else{if(!q.fresh&&R&&q.entry.integrity!==R&&!verifyIntegrity(q.content,R)){return N.force(E,handleResult)}return j(null,{entry:q.entry,content:q.content,storeLock:q.storeLock})}};N(E,handleResult)};const fetchContentRaw=(E,N,j)=>{const $=Date.now();R(new q(E),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":N?N.etag||null:null}},(R=>{const ce=R.headers["etag"];const le=R.headers["location"];const _e=R.headers["cache-control"];const{storeLock:Ee,storeCache:Te,validUntil:we}=parseCacheControl(_e,$);const finishWith=N=>{if("location"in N){je.debug(`GET ${E} [${R.statusCode}] -> ${N.location}`)}else{je.debug(`GET ${E} [${R.statusCode}] ${Math.ceil(N.content.length/1024)} kB${!Ee?" no-cache":""}`)}const $={...N,fresh:true,storeLock:Ee,storeCache:Te,validUntil:we,etag:ce};if(!Te){je.log(`${E} can't be stored in cache, due to Cache-Control header: ${_e}`);return j(null,$)}Be.store(E,null,{...$,fresh:false},(N=>{if(N){je.warn(`${E} can't be stored in cache: ${N.message}`);je.debug(N.stack)}j(null,$)}))};if(R.statusCode===304){if(N.validUntil=301&&R.statusCode<=308){return finishWith({location:new q(le,E).href})}const Ie=R.headers["content-type"]||"";const Ne=[];const Me=R.headers["content-encoding"];let Le=R;if(Me==="gzip"){Le=Le.pipe(G())}else if(Me==="br"){Le=Le.pipe(ie())}else if(Me==="deflate"){Le=Le.pipe(ae())}Le.on("data",(E=>{Ne.push(E)}));Le.on("end",(()=>{if(!R.complete){je.log(`GET ${E} [${R.statusCode}] (terminated)`);return j(new Error(`${E} request was terminated`))}const N=Buffer.concat(Ne);if(R.statusCode!==200){je.log(`GET ${E} [${R.statusCode}]`);return j(new Error(`${E} request status code = ${R.statusCode}\n${N.toString("utf-8")}`))}const $=computeIntegrity(N);const q={resolved:E,integrity:$,contentType:Ie};finishWith({entry:q,content:N})}))})).on("error",(N=>{je.log(`GET ${E} (error)`);N.message+=`\nwhile fetching ${E}`;j(N)}))};const N=cachedWithKey(((E,N)=>{Be.get(E,null,((R,j)=>{if(R)return N(R);if(j){const E=j.validUntil>=Date.now();if(E)return N(null,j)}fetchContentRaw(E,j,N)}))}),((E,N)=>fetchContentRaw(E,undefined,N)));const isAllowed=E=>{for(const N of Ge){if(typeof N==="string"){if(E.startsWith(N))return true}else if(typeof N==="function"){if(N(E))return true}else{if(N.test(E))return true}}return false};const j=cachedWithKey(((E,N)=>{if(!isAllowed(E)){return N(new Error(`${E} doesn't match the allowedUris policy. These URIs are allowed:\n${Ge.map((E=>` - ${E}`)).join("\n")}`))}Xe(((R,j)=>{if(R)return N(R);const $=j.entries.get(E);if(!$){if(Je){return N(new Error(`${E} has no lockfile entry and lockfile is frozen`))}resolveContent(E,null,((R,$)=>{if(R)return N(R);storeResult(j,E,$,N)}));return}if(typeof $==="string"){const R=$;resolveContent(E,null,(($,q)=>{if($)return N($);if(!q.storeLock||R==="ignore")return N(null,q);if(Je){return N(new Error(`${E} used to have ${R} lockfile entry and has content now, but lockfile is frozen`))}if(!We){return N(new Error(`${E} used to have ${R} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult(j,E,q,N)}));return}let q=$;const doFetch=R=>{resolveContent(E,q.integrity,(($,G)=>{if($){if(R){je.warn(`Upgrade request to ${E} failed: ${$.message}`);je.debug($.stack);return N(null,{entry:q,content:R})}return N($)}if(!G.storeLock){if(Je){return N(new Error(`${E} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}if(!areLockfileEntriesEqual(G.entry,q)){if(Je){return N(new Error(`${E} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(q)}\nExpected: ${entryToString(G.entry)}`))}storeResult(j,E,G,N);return}if(!R&&ze){if(Je){return N(new Error(`${E} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}return N(null,G)}))};if(ze){const R=getCacheKey(q.resolved);const $=we(Ne,ze,R);Me.readFile($,((R,G)=>{const ie=G;if(R){if(R.code==="ENOENT")return doFetch();return N(R)}const continueWithCachedContent=E=>{if(!We){return N(null,{entry:q,content:ie})}return doFetch(ie)};if(!verifyIntegrity(ie,q.integrity)){let R;let G=false;try{R=Buffer.from(ie.toString("utf-8").replace(/\r\n/g,"\n"));G=verifyIntegrity(R,q.integrity)}catch(E){}if(G){if(!Ke){const E=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(Je){je.error(E)}else{je.warn(E);je.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Ke=true}if(!Je){je.log(`${$} fixed end of line sequence (\\r\\n instead of \\n).`);Ne.writeFile($,R,(E=>{if(E)return N(E);continueWithCachedContent(R)}));return}}if(Je){return N(new Error(`${q.resolved} integrity mismatch, expected content with integrity ${q.integrity} but got ${computeIntegrity(ie)}.\nLockfile corrupted (${G?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{q={...q,integrity:computeIntegrity(ie)};storeLockEntry(j,E,q)}}continueWithCachedContent(G)}))}else{doFetch()}}))}));const respondWithUrlModule=(E,N,R)=>{j(E.href,((j,$)=>{if(j)return R(j);N.resource=E.href;N.path=E.origin+E.pathname;N.query=E.search;N.fragment=E.hash;N.context=new q(".",$.entry.resolved).href.slice(0,-1);N.data.mimetype=$.entry.contentType;R(null,true)}))};Ie.hooks.resolveForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{respondWithUrlModule(new q(E.resource),E,R)}));Ie.hooks.resolveInScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{if(N.dependencyType!=="url"&&!/^\.{0,2}\//.test(E.resource)){return R()}respondWithUrlModule(new q(E.resource,N.context+"/"),E,R)}));const $=ce.getCompilationHooks(le);$.readResourceForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>j(E,((E,j)=>{if(E)return R(E);N.buildInfo.resourceIntegrity=j.entry.integrity;R(null,j.content)}))));$.needBuild.tapAsync("HttpUriPlugin",((N,R,$)=>{if(N.resource&&N.resource.startsWith(`${E}://`)){j(N.resource,((E,R)=>{if(E)return $(E);if(R.entry.integrity!==N.buildInfo.resourceIntegrity){return $(null,true)}$()}))}else{return $()}}))}le.hooks.finishModules.tapAsync("HttpUriPlugin",((E,N)=>{if(!Ye)return N();const R=j(Ue);const q=we(Ne,Te(Ne,Ue),`.${$(Ue,R)}.${Math.random()*1e4|0}${R}`);const writeDone=()=>{const E=Le.shift();if(E){E()}else{Le=undefined}};const runWrite=()=>{Ne.readFile(Ue,((E,R)=>{if(E&&E.code!=="ENOENT"){writeDone();return N(E)}const j=R?Lockfile.parse(R.toString("utf-8")):new Lockfile;for(const[E,N]of Ye){j.entries.set(E,N)}Ne.writeFile(q,j.toString(),(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}Ne.rename(q,Ue,(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}writeDone();N()}))}))}))};if(Le){Le.push(runWrite)}else{Le=[];runWrite()}}))}))}}E.exports=HttpUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:N}){N(E.length);for(const R of E)N(R)}deserialize({read:E}){const N=E();const R=[];for(let j=0;j{"use strict";const j=R(91671);const $=R(43065);const q=11;const G=12;const ie=13;const ae=14;const ce=16;const le=17;const _e=18;const Ee=19;const Te=20;const we=21;const Ie=22;const Ne=23;const Me=24;const Le=30;const Be=31;const je=96;const Ue=64;const ze=32;const We=128;const Je=224;const Ve=31;const qe=127;const He=1;const Ge=1;const Ke=4;const Qe=8;const Xe=Symbol("MEASURE_START_OPERATION");const Ye=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends ${serialize(E,N){return this._serialize(E,N)}_serializeLazy(E,N){return $.serializeLazy(E,(E=>this._serialize(E,N)))}_serialize(E,N,R={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let j=null;let Je=[];let Ve=R?R.leftOverBuffer:null;R.leftOverBuffer=null;let qe=0;if(Ve===null){Ve=Buffer.allocUnsafe(R.allocationSize)}const allocate=E=>{if(Ve!==null){if(Ve.length-qe>=E)return;flush()}if(j&&j.length>=E){Ve=j;j=null}else{Ve=Buffer.allocUnsafe(Math.max(E,R.allocationSize));if(!(R.increaseCounter=(R.increaseCounter+1)%4)&&R.allocationSize<16777216){R.allocationSize=R.allocationSize<<1}}};const flush=()=>{if(Ve!==null){if(qe>0){Je.push(Buffer.from(Ve.buffer,Ve.byteOffset,qe))}if(!j||j.length{Ve.writeUInt8(E,qe++)};const writeU32=E=>{Ve.writeUInt32LE(E,qe);qe+=4};const Ze=[];const measureStart=()=>{Ze.push(Je.length,qe)};const measureEnd=()=>{const E=Ze.pop();const N=Ze.pop();let R=qe-E;for(let E=N;E0&&(E=G[G.length-1])!==0){const R=4294967295-E;if(R>=N.length){G[G.length-1]+=N.length}else{G.push(N.length-R);G[G.length-2]=4294967295}}else{G.push(N.length)}}allocate(5+G.length*4);writeU8(q);writeU32(G.length);for(const E of G){writeU32(E)}flush();for(const N of E){Je.push(N)}break}case"string":{const E=Buffer.byteLength(et);if(E>=128||E!==et.length){allocate(E+He+Ke);writeU8(Le);writeU32(E);Ve.write(et,qe);qe+=E}else if(E>=70){allocate(E+He);writeU8(We|E);Ve.write(et,qe,"latin1");qe+=E}else{allocate(E+He);writeU8(We|E);for(let N=0;N=0&&et<=10){allocate(Ge);writeU8(et);break}let R=1;for(;R<32&&Ze+R0){Ve.writeInt8(E[Ze],qe);qe+=Ge;R--;Ze++}break;case 1:allocate(He+Ke*R);writeU8(Ue|R-1);while(R>0){Ve.writeInt32LE(E[Ze],qe);qe+=Ke;R--;Ze++}break;case 2:allocate(He+Qe*R);writeU8(ze|R-1);while(R>0){Ve.writeDoubleLE(E[Ze],qe);qe+=Qe;R--;Ze++}break}Ze--;break}case"boolean":{let N=et===true?1:0;const R=[];let j=1;let $;for($=1;$<4294967295&&Ze+$this._deserialize(E,N))),this,undefined,E)}_deserializeLazy(E,N){return $.deserializeLazy(E,(E=>this._deserialize(E,N)))}_deserialize(E,N){let R=0;let j=E[0];let $=Buffer.isBuffer(j);let He=0;const Xe=N.retainedBuffer||(E=>E);const checkOverflow=()=>{if(He>=j.length){He=0;R++;j=R$&&E+He<=j.length;const ensureBuffer=()=>{if(!$){throw new Error(j===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=N=>{ensureBuffer();const q=j.length-He;if(q{ensureBuffer();const N=j.length-He;if(N{ensureBuffer();const E=j.readUInt8(He);He+=Ge;checkOverflow();return E};const readU32=()=>read(Ke).readUInt32LE(0);const readBits=(E,N)=>{let R=1;while(N!==0){Ze.push((E&R)!==0);R=R<<1;N--}};const Ye=Array.from({length:256}).map(((Ye,et)=>{switch(et){case q:return()=>{const q=readU32();const G=Array.from({length:q}).map((()=>readU32()));const ie=[];for(let N of G){if(N===0){if(typeof j!=="function"){throw new Error("Unexpected non-lazy element in stream")}ie.push(j);R++;j=R0)}}Ze.push(this._createLazyDeserialized(ie,N))};case Be:return()=>{const E=readU32();Ze.push(Xe(read(E)))};case G:return()=>Ze.push(true);case ie:return()=>Ze.push(false);case _e:return()=>Ze.push(null,null,null);case le:return()=>Ze.push(null,null);case ce:return()=>Ze.push(null);case Ne:return()=>Ze.push(null,true);case Me:return()=>Ze.push(null,false);case we:return()=>{if($){Ze.push(null,j.readInt8(He));He+=Ge;checkOverflow()}else{Ze.push(null,read(Ge).readInt8(0))}};case Ie:return()=>{Ze.push(null);if(isInCurrentBuffer(Ke)){Ze.push(j.readInt32LE(He));He+=Ke;checkOverflow()}else{Ze.push(read(Ke).readInt32LE(0))}};case Ee:return()=>{const E=readU8()+4;for(let N=0;N{const E=readU32()+260;for(let N=0;N{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let N=(E&127)+7;while(N>8){readBits(readU8(),8);N-=8}readBits(readU8(),N)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Le:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString(undefined,He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString())}};case We:return()=>Ze.push("");case We|1:return()=>{if($&&He<2147483646){Ze.push(j.toString("latin1",He,He+1));He++;checkOverflow()}else{Ze.push(read(1).toString("latin1"))}};case je:return()=>{if($){Ze.push(j.readInt8(He));He++;checkOverflow()}else{Ze.push(read(1).readInt8(0))}};default:if(et<=10){return()=>Ze.push(et)}else if((et&We)===We){const E=et&qe;return()=>{if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString("latin1",He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString("latin1"))}}}else if((et&Je)===ze){const E=(et&Ve)+1;return()=>{const N=Qe*E;if(isInCurrentBuffer(N)){for(let N=0;N{const N=Ke*E;if(isInCurrentBuffer(N)){for(let N=0;N{const N=Ge*E;if(isInCurrentBuffer(N)){for(let N=0;N{throw new Error(`Unexpected header byte 0x${et.toString(16)}`)}}}}));let Ze=[];while(j!==null){if(typeof j==="function"){Ze.push(this._deserializeLazy(j,N));R++;j=R{"use strict";class DateObjectSerializer{serialize(E,{write:N}){N(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:N}){N(E.message);N(E.stack)}deserialize({read:E}){const N=new this.Type;N.message=E();N.stack=E();return N}}E.exports=ErrorObjectSerializer},13829:(E,N,R)=>{"use strict";const{constants:j}=R(14300);const{pipeline:$}=R(12781);const{createBrotliCompress:q,createBrotliDecompress:G,createGzip:ie,createGunzip:ae,constants:ce}=R(59796);const le=R(35891);const{dirname:_e,join:Ee,mkdirp:Te}=R(95396);const we=R(91671);const Ie=R(43065);const Ne=23294071;const hashForName=(E,N)=>{const R=le(N);for(const N of E)R.update(N);return R.digest("hex")};const Me=100*1024*1024;const Le=100*1024*1024;const Be=Buffer.prototype.writeBigUInt64LE?(E,N,R)=>{E.writeBigUInt64LE(BigInt(N),R)}:(E,N,R)=>{const j=N%4294967296;const $=(N-j)/4294967296;E.writeUInt32LE(j,R);E.writeUInt32LE($,R+4)};const je=Buffer.prototype.readBigUInt64LE?(E,N)=>Number(E.readBigUInt64LE(N)):(E,N)=>{const R=E.readUInt32LE(N);const j=E.readUInt32LE(N+4);return j*4294967296+R};const serialize=async(E,N,R,j,$="md4")=>{const q=[];const G=new WeakMap;let ie=undefined;for(const R of await N){if(typeof R==="function"){if(!Ie.isLazy(R))throw new Error("Unexpected function");if(!Ie.isLazy(R,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}ie=undefined;const N=Ie.getLazySerializedValue(R);if(N){if(typeof N==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{q.push(N)}}else{const N=R();if(N){const ie=Ie.getLazyOptions(R);q.push(serialize(E,N,ie&&ie.name||true,j,$).then((E=>{R.options.size=E.size;G.set(E,R);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(R){if(ie){ie.push(R)}else{ie=[R];q.push(ie)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const ce=(await Promise.all(q)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ae.push(E.backgroundJob);const N=E.name;const R=Buffer.from(N);const j=Buffer.allocUnsafe(8+R.length);Be(j,E.size,0);R.copy(j,8,0);const $=G.get(E);Ie.setLazySerializedValue($,j);return j}));const le=[];for(const E of ce){if(Array.isArray(E)){let N=0;for(const R of E)N+=R.length;while(N>2147483647){le.push(2147483647);N-=2147483647}le.push(N)}else if(E){le.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const _e=Buffer.allocUnsafe(8+le.length*4);_e.writeUInt32LE(Ne,0);_e.writeUInt32LE(le.length,4);for(let E=0;E{const j=await R(N);if(j.length===0)throw new Error("Empty file "+N);let $=0;let q=j[0];let G=q.length;let ie=0;if(G===0)throw new Error("Empty file "+N);const nextContent=()=>{$++;q=j[$];G=q.length;ie=0};const ensureData=E=>{if(ie===G){nextContent()}while(G-ieR){ae.push(j[E].slice(0,R));j[E]=j[E].slice(R);R=0;break}else{ae.push(j[E]);$=E;R-=N}}if(R>0)throw new Error("Unexpected end of data");q=Buffer.concat(ae,E);G=E;ie=0}};const readUInt32LE=()=>{ensureData(4);const E=q.readUInt32LE(ie);ie+=4;return E};const readInt32LE=()=>{ensureData(4);const E=q.readInt32LE(ie);ie+=4;return E};const readSlice=E=>{ensureData(E);if(ie===0&&G===E){const N=q;if($+1=0;if(_e&&N){le[le.length-1]+=E}else{le.push(E);_e=N}}const Ee=[];for(let N of le){if(N<0){const j=readSlice(-N);const $=Number(je(j,0));const q=j.slice(8);const G=q.toString();Ee.push(Ie.createLazy(we((()=>deserialize(E,G,R))),E,{name:G,size:$},j))}else{if(ie===G){nextContent()}else if(ie!==0){if(N<=G-ie){Ee.push(Buffer.from(q.buffer,q.byteOffset+ie,N));ie+=N;N=0}else{const E=G-ie;Ee.push(Buffer.from(q.buffer,q.byteOffset+ie,E));N-=E;ie=G}}else{if(N>=G){Ee.push(q);N-=G;ie=G}else{Ee.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}while(N>0){nextContent();if(N>=G){Ee.push(q);N-=G;ie=G}else{Ee.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}}}return Ee};class FileMiddleware extends Ie{constructor(E,N="md4"){super();this.fs=E;this._hashFunction=N}serialize(E,N){const{filename:R,extension:j=""}=N;return new Promise(((N,G)=>{Te(this.fs,_e(this.fs,R),(ae=>{if(ae)return G(ae);const le=new Set;const writeFile=async(E,N)=>{const G=E?Ee(this.fs,R,`../${E}${j}`):R;await new Promise(((E,R)=>{let j=this.fs.createWriteStream(G+"_");let ae;if(G.endsWith(".gz")){ae=ie({chunkSize:Me,level:ce.Z_BEST_SPEED})}else if(G.endsWith(".br")){ae=q({chunkSize:Me,params:{[ce.BROTLI_PARAM_MODE]:ce.BROTLI_MODE_TEXT,[ce.BROTLI_PARAM_QUALITY]:2,[ce.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[ce.BROTLI_PARAM_SIZE_HINT]:N.reduce(((E,N)=>E+N.length),0)}})}if(ae){$(ae,j,R);j=ae;j.on("finish",(()=>E()))}else{j.on("error",(E=>R(E)));j.on("finish",(()=>E()))}for(const E of N)j.write(E);j.end()}));if(E)le.add(G)};N(serialize(this,E,false,writeFile,this._hashFunction).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(R,R+".old",(N=>{E()}))));await Promise.all(Array.from(le,(E=>new Promise(((N,R)=>{this.fs.rename(E+"_",E,(E=>{if(E)return R(E);N()}))})))));await new Promise((E=>{this.fs.rename(R+"_",R,(N=>{if(N)return G(N);E()}))}));return true})))}))}))}deserialize(E,N){const{filename:R,extension:$=""}=N;const readFile=E=>new Promise(((N,q)=>{const ie=E?Ee(this.fs,R,`../${E}${$}`):R;this.fs.stat(ie,((E,R)=>{if(E){q(E);return}let $=R.size;let ce;let le;const _e=[];let Ee;if(ie.endsWith(".gz")){Ee=ae({chunkSize:Le})}else if(ie.endsWith(".br")){Ee=G({chunkSize:Le})}if(Ee){let E,R;N(Promise.all([new Promise(((N,j)=>{E=N;R=j})),new Promise(((E,N)=>{Ee.on("data",(E=>_e.push(E)));Ee.on("end",(()=>E()));Ee.on("error",(E=>N(E)))}))]).then((()=>_e)));N=E;q=R}this.fs.open(ie,"r",((E,R)=>{if(E){q(E);return}const read=()=>{if(ce===undefined){ce=Buffer.allocUnsafeSlow(Math.min(j.MAX_LENGTH,$,Ee?Le:Infinity));le=0}let E=ce;let G=le;let ie=ce.length-le;if(G>2147483647){E=ce.slice(G);G=0}if(ie>2147483647){ie=2147483647}this.fs.read(R,E,G,ie,null,((E,j)=>{if(E){this.fs.close(R,(()=>{q(E)}));return}le+=j;$-=j;if(le===ce.length){if(Ee){Ee.write(ce)}else{_e.push(ce)}ce=undefined;if($===0){if(Ee){Ee.end()}this.fs.close(R,(E=>{if(E){q(E);return}N(_e)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E.keys()){N(R)}for(const R of E.values()){N(R)}}deserialize({read:E}){let N=E();const R=new Map;const j=[];for(let R=0;R{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);for(const E of R){N(E)}N(null);for(const j of R){N(E[j])}}deserialize({read:E}){const N=Object.create(null);const R=[];let j=E();while(j!==null){R.push(j);j=E()}for(const j of R){N[j]=E()}return N}}E.exports=NullPrototypeObjectSerializer},30991:(E,N,R)=>{"use strict";const j=R(35891);const $=R(22324);const q=R(93524);const G=R(12020);const ie=R(58461);const ae=R(78176);const ce=R(11900);const le=R(46690);const _e=R(43065);const Ee=R(25402);const setSetSize=(E,N)=>{let R=0;for(const j of E){if(R++>=N){E.delete(j)}}};const setMapSize=(E,N)=>{let R=0;for(const j of E.keys()){if(R++>=N){E.delete(j)}}};const toHash=(E,N)=>{const R=j(N);R.update(E);return R.digest("latin1")};const Te=null;const we=null;const Ie=true;const Ne=false;const Me=2;const Le=new Map;const Be=new Map;const je=new Set;const Ue={};const ze=new Map;ze.set(Object,new ce);ze.set(Array,new $);ze.set(null,new ae);ze.set(Map,new ie);ze.set(Set,new Ee);ze.set(Date,new q);ze.set(RegExp,new le);ze.set(Error,new G(Error));ze.set(EvalError,new G(EvalError));ze.set(RangeError,new G(RangeError));ze.set(ReferenceError,new G(ReferenceError));ze.set(SyntaxError,new G(SyntaxError));ze.set(TypeError,new G(TypeError));if(N.constructor!==Object){const E=N.constructor;const R=E.constructor;for(const[E,N]of Array.from(ze)){if(E){const j=new R(`return ${E.name};`)();ze.set(j,N)}}}{let E=1;for(const[N,R]of ze){Le.set(N,{request:"",name:E++,serializer:R})}}for(const{request:E,name:N,serializer:R}of Le.values()){Be.set(`${E}/${N}`,R)}const We=new Map;class ObjectMiddleware extends _e{constructor(E,N="md4"){super();this.extendContext=E;this._hashFunction=N}static registerLoader(E,N){We.set(E,N)}static register(E,N,R,j){const $=N+"/"+R;if(Le.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(Be.has($)){throw new Error(`ObjectMiddleware.register: serializer for ${$} is already registered`)}Le.set(E,{request:N,name:R,serializer:j});Be.set($,j)}static registerNotSerializable(E){if(Le.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Le.set(E,Ue)}static getSerializerFor(E){const N=Object.getPrototypeOf(E);let R;if(N===null){R=null}else{R=N.constructor;if(!R){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const j=Le.get(R);if(!j)throw new Error(`No serializer registered for ${R.name}`);if(j===Ue)throw Ue;return j}static getDeserializerFor(E,N){const R=E+"/"+N;const j=Be.get(R);if(j===undefined){throw new Error(`No deserializer registered for ${R}`)}return j}static _getDeserializerForWithoutError(E,N){const R=E+"/"+N;const j=Be.get(R);return j}serialize(E,N){let R=[Me];let j=0;let $=new Map;const addReferenceable=E=>{$.set(E,j++)};let q=new Map;const dedupeBuffer=E=>{const N=E.length;const R=q.get(N);if(R===undefined){q.set(N,E);return E}if(Buffer.isBuffer(R)){if(N<32){if(E.equals(R)){return R}q.set(N,[R,E]);return E}else{const j=toHash(R,this._hashFunction);const $=new Map;$.set(j,R);q.set(N,$);const G=toHash(E,this._hashFunction);if(j===G){return R}return E}}else if(Array.isArray(R)){if(R.length<16){for(const N of R){if(E.equals(N)){return N}}R.push(E);return E}else{const j=new Map;const $=toHash(E,this._hashFunction);let G;for(const E of R){const N=toHash(E,this._hashFunction);j.set(N,E);if(G===undefined&&N===$)G=E}q.set(N,j);if(G===undefined){j.set($,E);return E}else{return G}}}else{const N=toHash(E,this._hashFunction);const j=R.get(N);if(j!==undefined){return j}R.set(N,E);return E}};let G=0;let ie=new Map;const ae=new Set;const stackToString=E=>{const N=Array.from(ae);N.push(E);return N.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:N,name:R}=ObjectMiddleware.getSerializerFor(E);if(N){return`${N}${R?`.${R}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let ce;let le={write(E,N){try{process(E)}catch(N){if(N!==Ue){if(ce===undefined)ce=new WeakSet;if(!ce.has(N)){N.message+=`\nwhile serializing ${stackToString(E)}`;ce.add(N)}}throw N}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:R.length,cycleStackSize:ae.size,referenceableSize:$.size,currentPos:j,objectTypeLookupSize:ie.size,currentPosTypeLookup:G}},rollback(E){R.length=E.length;setSetSize(ae,E.cycleStackSize);setMapSize($,E.referenceableSize);j=E.currentPos;setMapSize(ie,E.objectTypeLookupSize);G=E.currentPosTypeLookup},...N};this.extendContext(le);const process=E=>{if(Buffer.isBuffer(E)){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}const q=dedupeBuffer(E);if(q!==E){const N=$.get(q);if(N!==undefined){$.set(E,N);R.push(Te,N-j);return}E=q}addReferenceable(E);R.push(E)}else if(E===Te){R.push(Te,we)}else if(typeof E==="object"){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}if(ae.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:q,name:ce,serializer:_e}=ObjectMiddleware.getSerializerFor(E);const Ee=`${q}/${ce}`;const we=ie.get(Ee);if(we===undefined){ie.set(Ee,G++);R.push(Te,q,ce)}else{R.push(Te,G-we)}ae.add(E);try{_e.serialize(E,le)}finally{ae.delete(E)}R.push(Te,Ie);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}addReferenceable(E)}if(E.length>102400&&N.logger){N.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}R.push(E)}else if(typeof E==="function"){if(!_e.isLazy(E))throw new Error("Unexpected function "+E);const j=_e.getLazySerializedValue(E);if(j!==undefined){if(typeof j==="function"){R.push(j)}else{throw new Error("Not implemented")}}else if(_e.isLazy(E,this)){throw new Error("Not implemented")}else{const j=_e.serializeLazy(E,(E=>this.serialize([E],N)));_e.setLazySerializedValue(E,j);R.push(j)}}else if(E===undefined){R.push(Te,Ne)}else{R.push(E)}};try{for(const N of E){process(N)}return R}catch(E){if(E===Ue)return null;throw E}finally{E=R=$=q=ie=le=undefined}}deserialize(E,N){let R=0;const read=()=>{if(R>=E.length)throw new Error("Unexpected end of stream");return E[R++]};if(read()!==Me)throw new Error("Version mismatch, serializer changed");let j=0;let $=[];const addReferenceable=E=>{$.push(E);j++};let q=0;let G=[];let ie=[];let ae={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...N};this.extendContext(ae);const decodeValue=()=>{const E=read();if(E===Te){const E=read();if(E===we){return Te}else if(E===Ne){return undefined}else if(E===Ie){throw new Error(`Unexpected end of object at position ${R-1}`)}else{const N=E;let ie;if(typeof N==="number"){if(N<0){return $[j+N]}ie=G[q-N]}else{if(typeof N!=="string"){throw new Error(`Unexpected type (${typeof N}) of request `+`at position ${R-1}`)}const E=read();ie=ObjectMiddleware._getDeserializerForWithoutError(N,E);if(ie===undefined){if(N&&!je.has(N)){let E=false;for(const[R,j]of We){if(R.test(N)){if(j(N)){E=true;break}}}if(!E){require(N)}je.add(N)}ie=ObjectMiddleware.getDeserializerFor(N,E)}G.push(ie);q++}try{const E=ie.deserialize(ae);const N=read();if(N!==Te){throw new Error("Expected end of object")}const R=read();if(R!==Ie){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let N;for(const E of Le){if(E[1].serializer===ie){N=E;break}}const R=!N?"unknown":!N[1].request?N[0].name:N[1].name?`${N[1].request} ${N[1].name}`:N[1].request;E.message+=`\n(during deserialization of ${R})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return _e.deserializeLazy(E,(E=>this.deserialize(E,N)[0]))}else{return E}};try{while(R{"use strict";const N=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const N=this.children.get(E);if(N!==undefined)return N;const R=new ObjectStructure;this.children.set(E,R);return R}}const getCachedKeys=(E,R)=>{let j=N.get(R);if(j===undefined){j=new ObjectStructure;N.set(R,j)}let $=j;for(const N of E){$=$.key(N)}return $.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);if(R.length>128){N(R);for(const j of R){N(E[j])}}else if(R.length>1){N(getCachedKeys(R,N));for(const j of R){N(E[j])}}else if(R.length===1){const j=R[0];N(j);N(E[j])}else{N(null)}}deserialize({read:E}){const N=E();const R={};if(Array.isArray(N)){for(const j of N){R[j]=E()}}else if(N!==null){R[N]=E()}return R}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:N}){N(E.source);N(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,N){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=N}serialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.serializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>N&&E.serialize(N,R)))}else if(j){try{j=E.serialize(j,R)}catch(E){j=Promise.reject(E)}}else break}return j}deserialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.deserializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>E.deserialize(N,R)))}else{j=E.deserialize(j,R)}}return j}}E.exports=Serializer},43065:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("lazy serialization target");const q=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,N){const j=R(75884);throw new j}deserialize(E,N){const j=R(75884);throw new j}static createLazy(E,N,R={},j){if(SerializerMiddleware.isLazy(E,N))return E;const G=typeof E==="function"?E:()=>E;G[$]=N;G.options=R;G[q]=j;return G}static isLazy(E,N){if(typeof E!=="function")return false;const R=E[$];return N?R===N:!!R}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[q]}static setLazySerializedValue(E,N){E[q]=N}static serializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>E&&N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;E[q]=R;return R}static deserializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;R[q]=E;return R}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[q]=SerializerMiddleware.unMemoizeLazy(E[q]);fn[$]=E[$];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E){N(R)}}deserialize({read:E}){let N=E();const R=new Set;for(let j=0;j{"use strict";const j=R(43065);class SingleItemMiddleware extends j{serialize(E,N){return[E]}deserialize(E,N){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ConsumeSharedFallbackDependency extends j{constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}$(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(98221);const q=R(53453);const G=R(76150);const ie=R(56202);const{rangeToString:ae,stringifyHoley:ce}=R(9293);const le=R(86827);const _e=new Set(["consume-shared"]);class ConsumeSharedModule extends q{constructor(E,N){super("consume-shared-module",E);this.options=N}identifier(){const{shareKey:E,shareScope:N,importResolved:R,requiredVersion:j,strictVersion:$,singleton:q,eager:G}=this.options;return`consume-shared-module|${N}|${E}|${j&&ae(j)}|${$}|${R}|${q}|${G}`}readableIdentifier(E){const{shareKey:N,shareScope:R,importResolved:j,requiredVersion:$,strictVersion:q,singleton:G,eager:ie}=this.options;return`consume shared module (${R}) ${N}@${$?ae($):"*"}${q?" (strict)":""}${G?" (singleton)":""}${j?` (fallback: ${E.shorten(j)})`:""}${ie?" (eager)":""}`}libIdent(E){const{shareKey:N,shareScope:R,import:j}=this.options;return`webpack/sharing/consume/${R}/${N}${j?`/${j}`:""}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,q){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new le(this.options.import);if(this.options.eager){this.addDependency(E)}else{const N=new $({});N.addDependency(E);this.addBlock(N)}}q()}getSourceTypes(){return _e}size(E){return 42}updateHash(E,N){E.update(JSON.stringify(this.options));super.updateHash(E,N)}codeGeneration({chunkGraph:E,moduleGraph:N,runtimeTemplate:R}){const $=new Set([G.shareScopeMap]);const{shareScope:q,shareKey:ie,strictVersion:ae,requiredVersion:le,import:_e,singleton:Ee,eager:Te}=this.options;let we;if(_e){if(Te){const N=this.dependencies[0];we=R.syncModuleFactory({dependency:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}else{const N=this.blocks[0];we=R.asyncModuleFactory({block:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}}let Ie="load";const Ne=[JSON.stringify(q),JSON.stringify(ie)];if(le){if(ae){Ie+="Strict"}if(Ee){Ie+="Singleton"}Ne.push(ce(le));Ie+="VersionCheck"}if(we){Ie+="Fallback";Ne.push(we)}const Me=R.returningFunction(`${Ie}(${Ne.join(", ")})`);const Le=new Map;Le.set("consume-shared",new j(Me));return{runtimeRequirements:$,sources:Le}}serialize(E){const{write:N}=E;N(this.options);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();super.deserialize(E)}}ie(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,N,R)=>{"use strict";const j=R(54032);const $=R(76150);const q=R(81627);const{parseOptions:G}=R(97264);const ie=R(83379);const ae=R(35817);const{parseRange:ce}=R(9293);const le=R(86827);const _e=R(21606);const Ee=R(20428);const Te=R(31095);const{resolveMatchedConfigs:we}=R(57870);const{isRequiredVersion:Ie,getDescriptionFile:Ne,getRequiredVersionFromDescriptionFile:Me}=R(37650);const Le=ae(R(37411),(()=>R(52021)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Be={dependencyType:"esm"};const je="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Le(E)}this._consumes=G(E.consumes,((N,R)=>{if(Array.isArray(N))throw new Error("Unexpected array in options");let j=N===R||!Ie(N)?{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:ce(N),strictVersion:true,packageName:undefined,singleton:false,eager:false};return j}),((N,R)=>({import:N.import===false?undefined:N.import||R,shareScope:N.shareScope||E.shareScope||"default",shareKey:N.shareKey||R,requiredVersion:typeof N.requiredVersion==="string"?ce(N.requiredVersion):N.requiredVersion,strictVersion:typeof N.strictVersion==="boolean"?N.strictVersion:N.import!==false&&!N.singleton,packageName:N.packageName,singleton:!!N.singleton,eager:!!N.eager})))}apply(E){E.hooks.thisCompilation.tap(je,((N,{normalModuleFactory:R})=>{N.dependencyFactories.set(le,R);let G,ae,Ie;const Le=we(N,this._consumes).then((({resolved:E,unresolved:N,prefixed:R})=>{ae=E;G=N;Ie=R}));const Ue=N.resolverFactory.get("normal",Be);const createConsumeSharedModule=(R,$,G)=>{const requiredVersionWarning=E=>{const R=new q(`No required version specified and unable to automatically determine one. ${E}`);R.file=`shared module ${$}`;N.warnings.push(R)};const ae=G.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(G.import);return Promise.all([new Promise((q=>{if(!G.import)return q();const ce={fileDependencies:new ie,contextDependencies:new ie,missingDependencies:new ie};Ue.resolve({},ae?E.context:R,G.import,ce,((E,R)=>{N.contextDependencies.addAll(ce.contextDependencies);N.fileDependencies.addAll(ce.fileDependencies);N.missingDependencies.addAll(ce.missingDependencies);if(E){N.errors.push(new j(null,E,{name:`resolving fallback for shared module ${$}`}));return q()}q(R)}))})),new Promise((E=>{if(G.requiredVersion!==undefined)return E(G.requiredVersion);let j=G.packageName;if(j===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test($)){return E()}const N=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec($);if(!N){requiredVersionWarning("Unable to extract the package name from request.");return E()}j=N[0]}Ne(N.inputFileSystem,R,["package.json"],((N,$)=>{if(N){requiredVersionWarning(`Unable to read description file: ${N}`);return E()}const{data:q,path:G}=$;if(!q){requiredVersionWarning(`Unable to find description file in ${R}.`);return E()}const ie=Me(q,j);if(typeof ie!=="string"){requiredVersionWarning(`Unable to find required version for "${j}" in description file (${G}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(ce(ie))}))}))]).then((([N,j])=>new _e(ae?E.context:R,{...G,importResolved:N,import:N?G.import:undefined,requiredVersion:j})))};R.hooks.factorize.tapPromise(je,(({context:E,request:N,dependencies:R})=>Le.then((()=>{if(R[0]instanceof le||R[0]instanceof Te){return}const j=G.get(N);if(j!==undefined){return createConsumeSharedModule(E,N,j)}for(const[R,j]of Ie){if(N.startsWith(R)){const $=N.slice(R.length);return createConsumeSharedModule(E,N,{...j,import:j.import?j.import+$:undefined,shareKey:j.shareKey+$})}}}))));R.hooks.createModule.tapPromise(je,(({resource:E},{context:N,dependencies:R})=>{if(R[0]instanceof le||R[0]instanceof Te){return Promise.resolve()}const j=ae.get(E);if(j!==undefined){return createConsumeSharedModule(N,E,j)}return Promise.resolve()}));N.hooks.additionalTreeRuntimeRequirements.tap(je,((E,R)=>{R.add($.module);R.add($.moduleCache);R.add($.moduleFactoriesAddOnly);R.add($.shareScopeMap);R.add($.initializeSharing);R.add($.hasOwnProperty);N.addRuntimeModule(E,new Ee(R))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{parseVersionRuntimeCode:G,versionLtRuntimeCode:ie,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:ce}=R(9293);class ConsumeSharedRuntimeModule extends ${constructor(E){super("consumes",$.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$}=E;const le={};const _e=new Map;const Ee=[];const addModules=(E,R,j)=>{for(const q of E){const E=q;const G=N.getModuleId(E);j.push(G);_e.set(G,$.getSource(E,R.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,le[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,Ee)}if(_e.size===0)return null;return q.asString([G(R),ie(R),ae(R),ce(R),`var ensureExistence = ${R.basicFunction("scopeName, key",[`var scope = ${j.shareScopeMap}[scopeName];`,`if(!scope || !${j.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${R.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${R.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${R.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${R.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${R.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${R.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${R.returningFunction(q.asString(["function(scopeName, a, b, c) {",q.indent([`var promise = ${j.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${j.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${j.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, fallback",[`return scope && ${j.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${j.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",q.indent(Array.from(_e,(([E,N])=>`${JSON.stringify(E)}: ${N.source()}`)).join(",\n")),"};",Ee.length>0?q.asString([`var initialConsumes = ${JSON.stringify(Ee)};`,`initialConsumes.forEach(${R.basicFunction("id",[`${j.moduleFactories}[id] = ${R.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${j.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(j.ensureChunkHandlers)?q.asString([`var chunkMapping = ${JSON.stringify(le,null,"\t")};`,`${j.ensureChunkHandlers}.consumes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`if(${j.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${R.basicFunction("factory",["installedModules[id] = 0;",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${R.basicFunction("error",["delete installedModules[id];",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"throw error;"])}`])};`,"try {",q.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",q.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ProvideForSharedDependency extends j{constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}$(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ProvideSharedDependency extends j{constructor(E,N,R,j,$){super();this.shareScope=E;this.name=N;this.version=R;this.request=j;this.eager=$}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedDependency(N(),N(),N(),N(),N());this.shareScope=E.read();R.deserialize(E);return R}}$(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,N,R)=>{"use strict";const j=R(98221);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(31095);const ae=new Set(["share-init"]);class ProvideSharedModule extends ${constructor(E,N,R,j,$){super("provide-module");this._shareScope=E;this._name=N;this._version=R;this._request=j;this._eager=$}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,$,q){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const G=new ie(this._request);if(this._eager){this.addDependency(G)}else{const E=new j({});E.addDependency(G);this.addBlock(E)}q()}size(E){return 42}getSourceTypes(){return ae}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const j=new Set([q.initializeSharing]);const $=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:R,request:this._request,runtimeRequirements:j}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:R,request:this._request,runtimeRequirements:j})}${this._eager?", 1":""});`;const G=new Map;const ie=new Map;ie.set("share-init",[{shareScope:this._shareScope,initStage:10,init:$}]);return{sources:G,data:ie,runtimeRequirements:j}}serialize(E){const{write:N}=E;N(this._shareScope);N(this._name);N(this._version);N(this._request);N(this._eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}}G(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,N,R)=>{"use strict";const j=R(40674);const $=R(99114);class ProvideSharedModuleFactory extends j{create(E,N){const R=E.dependencies[0];N(null,{module:new $(R.shareScope,R.name,R.version,R.request,R.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,N,R)=>{"use strict";const j=R(81627);const{parseOptions:$}=R(97264);const q=R(35817);const G=R(31095);const ie=R(56049);const ae=R(96295);const ce=q(R(95435),(()=>R(97295)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){ce(E);this._provides=$(E.provides,(N=>{if(Array.isArray(N))throw new Error("Unexpected array of provides");const R={shareKey:N,version:undefined,shareScope:E.shareScope||"default",eager:false};return R}),(N=>({shareKey:N.shareKey,version:N.version,shareScope:N.shareScope||E.shareScope||"default",eager:!!N.eager})));this._provides.sort((([E],[N])=>{if(E{const $=new Map;const q=new Map;const G=new Map;for(const[E,N]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){$.set(E,{config:N,version:N.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){$.set(E,{config:N,version:N.version})}else if(E.endsWith("/")){G.set(E,N)}else{q.set(E,N)}}N.set(E,$);const provideSharedModule=(N,R,q,G)=>{let ie=R.version;if(ie===undefined){let R="";if(!G){R=`No resolve data provided from resolver.`}else{const E=G.descriptionFileData;if(!E){R="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){R="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ie=E.version}}if(!ie){const $=new j(`No version specified and unable to automatically determine one. ${R}`);$.file=`shared module ${N} -> ${q}`;E.warnings.push($)}}$.set(q,{config:R,version:ie})};R.hooks.module.tap("ProvideSharedPlugin",((E,{resource:N,resourceResolveData:R},j)=>{if($.has(N)){return E}const{request:ie}=j;{const E=q.get(ie);if(E!==undefined){provideSharedModule(ie,E,N,R);j.cacheable=false}}for(const[E,$]of G){if(ie.startsWith(E)){const q=ie.slice(E.length);provideSharedModule(N,{...$,shareKey:$.shareKey+q},N,R);j.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(R=>{const j=N.get(R);if(!j)return Promise.resolve();return Promise.all(Array.from(j,(([N,{config:j,version:$}])=>new Promise(((q,G)=>{R.addInclude(E.context,new ie(j.shareScope,j.shareKey,$||false,N,j.eager),{name:undefined},(E=>{if(E)return G(E);q()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(G,N);E.dependencyFactories.set(ie,new ae)}))}}E.exports=ProvideSharedPlugin},16471:(E,N,R)=>{"use strict";const{parseOptions:j}=R(97264);const $=R(71968);const q=R(48151);const{isRequiredVersion:G}=R(37650);class SharePlugin{constructor(E){const N=j(E.shared,((E,N)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const R=E===N||!G(E)?{import:E}:{import:N,requiredVersion:E};return R}),(E=>E));const R=N.map((([E,N])=>({[E]:{import:N.import,shareKey:N.shareKey||E,shareScope:N.shareScope,requiredVersion:N.requiredVersion,strictVersion:N.strictVersion,singleton:N.singleton,packageName:N.packageName,eager:N.eager}})));const $=N.filter((([,E])=>E.import!==false)).map((([E,N])=>({[N.import||E]:{shareKey:N.shareKey||E,shareScope:N.shareScope,version:N.version,eager:N.eager}})));this._shareScope=E.shareScope;this._consumes=R;this._provides=$}apply(E){new $({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new q({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G,compareStrings:ie}=R(68673);class ShareRuntimeModule extends ${constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$,outputOptions:{uniqueName:ae}}=E;const ce=new Map;for(const E of this.chunk.getAllReferencedChunks()){const R=N.getOrderedChunkModulesIterableBySourceType(E,"share-init",G);if(!R)continue;for(const N of R){const R=$.getData(N,E.runtime,"share-init");if(!R)continue;for(const E of R){const{shareScope:N,initStage:R,init:j}=E;let $=ce.get(N);if($===undefined){ce.set(N,$=new Map)}let q=$.get(R||0);if(q===undefined){$.set(R||0,q=new Set)}q.add(j)}}}return q.asString([`${j.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${j.initializeSharing} = ${R.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${j.hasOwnProperty}(${j.shareScopeMap}, name)) ${j.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${j.shareScopeMap}[name];`,`var warn = ${R.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${R.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${R.basicFunction("id",[`var handleError = ${R.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",q.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${R.returningFunction(`module && module.init && module.init(${j.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(ce).sort((([E],[N])=>ie(E,N))).map((([E,N])=>q.indent([`case ${JSON.stringify(E)}: {`,q.indent(Array.from(N).sort((([E],[N])=>E-N)).map((([,E])=>q.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${R.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,N,R)=>{"use strict";const j=R(54032);const $=R(83379);const q={dependencyType:"esm"};N.resolveMatchedConfigs=(E,N)=>{const R=new Map;const G=new Map;const ie=new Map;const ae={fileDependencies:new $,contextDependencies:new $,missingDependencies:new $};const ce=E.resolverFactory.get("normal",q);const le=E.compiler.context;return Promise.all(N.map((([N,$])=>{if(/^\.\.?(\/|$)/.test(N)){return new Promise((q=>{ce.resolve({},le,N,ae,((G,ie)=>{if(G||ie===false){G=G||new Error(`Can't resolve ${N}`);E.errors.push(new j(null,G,{name:`shared module ${N}`}));return q()}R.set(ie,$);q()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(N)){R.set(N,$)}else if(N.endsWith("/")){ie.set(N,$)}else{G.set(N,$)}}))).then((()=>{E.contextDependencies.addAll(ae.contextDependencies);E.fileDependencies.addAll(ae.fileDependencies);E.missingDependencies.addAll(ae.missingDependencies);return{resolved:R,unresolved:G,prefixed:ie}}))}},37650:(E,N,R)=>{"use strict";const{join:j,dirname:$,readJson:q}=R(95396);N.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,N,R,G)=>{let ie=0;const tryLoadCurrent=()=>{if(ie>=R.length){const j=$(E,N);if(!j||j===N)return G();return getDescriptionFile(E,j,R,G)}const ae=j(E,N,R[ie]);q(E,ae,((E,N)=>{if(E){if("code"in E&&E.code==="ENOENT"){ie++;return tryLoadCurrent()}return G(E)}if(!N||typeof N!=="object"||Array.isArray(N)){return G(new Error(`Description file ${ae} is not an object`))}G(null,{data:N,path:ae})}))};tryLoadCurrent()};N.getDescriptionFile=getDescriptionFile;N.getRequiredVersionFromDescriptionFile=(E,N)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&N in E.optionalDependencies){return E.optionalDependencies[N]}if(E.dependencies&&typeof E.dependencies==="object"&&N in E.dependencies){return E.dependencies[N]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&N in E.peerDependencies){return E.peerDependencies[N]}if(E.devDependencies&&typeof E.devDependencies==="object"&&N in E.devDependencies){return E.devDependencies[N]}}},9054:(E,N,R)=>{"use strict";const j=R(73837);const $=R(79983);const q=R(72380);const{LogType:G}=R(78539);const ie=R(94827);const ae=R(20625);const{countIterable:ce}=R(11539);const{compareLocations:le,compareChunksById:_e,compareNumbers:Ee,compareIds:Te,concatComparators:we,compareSelect:Ie,compareModulesByIdentifier:Ne}=R(68673);const{makePathsRelative:Me,parseResource:Le}=R(49197);const uniqueArray=(E,N)=>{const R=new Set;for(const j of E){for(const E of N(j)){R.add(E)}}return Array.from(R)};const uniqueOrderedArray=(E,N,R)=>uniqueArray(E,N).sort(R);const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const countWithChildren=(E,N)=>{let R=N(E,"").length;for(const j of E.children){R+=countWithChildren(j,((E,R)=>N(E,`.children[].compilation${R}`)))}return R};const Be={_:(E,N,R,{requestShortener:j})=>{if(typeof N==="string"){E.message=N}else{if(N.chunk){E.chunkName=N.chunk.name;E.chunkEntry=N.chunk.hasRuntime();E.chunkInitial=N.chunk.canBeInitial()}if(N.file){E.file=N.file}if(N.module){E.moduleIdentifier=N.module.identifier();E.moduleName=N.module.readableIdentifier(j)}if(N.loc){E.loc=q(N.loc)}E.message=N.message}},ids:(E,N,{compilation:{chunkGraph:R}})=>{if(typeof N!=="string"){if(N.chunk){E.chunkId=N.chunk.id}if(N.module){E.moduleId=R.getModuleId(N.module)}}},moduleTrace:(E,N,R,j,$)=>{if(typeof N!=="string"&&N.module){const{type:j,compilation:{moduleGraph:q}}=R;const G=new Set;const ie=[];let ae=N.module;while(ae){if(G.has(ae))break;G.add(ae);const E=q.getIssuer(ae);if(!E)break;ie.push({origin:E,module:ae});ae=E}E.moduleTrace=$.create(`${j}.moduleTrace`,ie,R)}},errorDetails:(E,N,{type:R,compilation:j,cachedGetErrors:$,cachedGetWarnings:q},{errorDetails:G})=>{if(typeof N!=="string"&&(G===true||R.endsWith(".error")&&$(j).length<3)){E.details=N.details}},errorStack:(E,N)=>{if(typeof N!=="string"){E.stack=N.stack}}};const je={compilation:{_:(E,N,j,$)=>{if(!j.makePathsRelative){j.makePathsRelative=Me.bindContextCache(N.compiler.context,N.compiler.root)}if(!j.cachedGetErrors){const E=new WeakMap;j.cachedGetErrors=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getErrors())}if(!j.cachedGetWarnings){const E=new WeakMap;j.cachedGetWarnings=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getWarnings())}if(N.name){E.name=N.name}if(N.needAdditionalPass){E.needAdditionalPass=true}const{logging:q,loggingDebug:ie,loggingTrace:ae}=$;if(q||ie&&ie.length>0){const j=R(73837);E.logging={};let ce;let le=false;switch(q){default:ce=new Set;break;case"error":ce=new Set([G.error]);break;case"warn":ce=new Set([G.error,G.warn]);break;case"info":ce=new Set([G.error,G.warn,G.info]);break;case"log":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.clear]);break;case"verbose":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.profile,G.profileEnd,G.time,G.status,G.clear]);le=true;break}const _e=Me.bindContextCache($.context,N.compiler.root);let Ee=0;for(const[R,$]of N.logging){const N=ie.some((E=>E(R)));if(q===false&&!N)continue;const Te=[];const we=[];let Ie=we;let Ne=0;for(const E of $){let R=E.type;if(!N&&!ce.has(R))continue;if(R===G.groupCollapsed&&(N||le))R=G.group;if(Ee===0){Ne++}if(R===G.groupEnd){Te.pop();if(Te.length>0){Ie=Te[Te.length-1].children}else{Ie=we}if(Ee>0)Ee--;continue}let $=undefined;if(E.type===G.time){$=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){$=j.format(E.args[0],...E.args.slice(1))}const q={...E,type:R,message:$,trace:ae?E.trace:undefined,children:R===G.group||R===G.groupCollapsed?[]:undefined};Ie.push(q);if(q.children){Te.push(q);Ie=q.children;if(Ee>0){Ee++}else if(R===G.groupCollapsed){Ee=1}}}let Me=_e(R).replace(/\|/g," ");if(Me in E.logging){let N=1;while(`${Me}#${N}`in E.logging){N++}Me=`${Me}#${N}`}E.logging[Me]={entries:we,filteredEntries:$.length-Ne,debug:N}}}},hash:(E,N)=>{E.hash=N.hash},version:E=>{E.version=R(37589).i8},env:(E,N,R,{_env:j})=>{E.env=j},timings:(E,N)=>{E.time=N.endTime-N.startTime},builtAt:(E,N)=>{E.builtAt=N.endTime},publicPath:(E,N)=>{E.publicPath=N.getPath(N.outputOptions.publicPath)},outputPath:(E,N)=>{E.outputPath=N.outputOptions.path},assets:(E,N,R,j,$)=>{const{type:q}=R;const G=new Map;const ie=new Map;for(const E of N.chunks){for(const N of E.files){let R=G.get(N);if(R===undefined){R=[];G.set(N,R)}R.push(E)}for(const N of E.auxiliaryFiles){let R=ie.get(N);if(R===undefined){R=[];ie.set(N,R)}R.push(E)}}const ae=new Map;const ce=new Set;for(const E of N.getAssets()){const N={...E,type:"asset",related:undefined};ce.add(N);ae.set(E.name,N)}for(const E of ae.values()){const N=E.info.related;if(!N)continue;for(const R of Object.keys(N)){const j=N[R];const $=Array.isArray(j)?j:[j];for(const N of $){const j=ae.get(N);if(!j)continue;ce.delete(j);j.type=R;E.related=E.related||[];E.related.push(j)}}}E.assetsByChunkName={};for(const[N,R]of G){for(const j of R){const R=j.name;if(!R)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,R)){E.assetsByChunkName[R]=[]}E.assetsByChunkName[R].push(N)}}const le=$.create(`${q}.assets`,Array.from(ce),{...R,compilationFileToChunks:G,compilationAuxiliaryFileToChunks:ie});const _e=spaceLimited(le,j.assetsSpace);E.assets=_e.children;E.filteredAssets=_e.filteredChildren},chunks:(E,N,R,j,$)=>{const{type:q}=R;E.chunks=$.create(`${q}.chunks`,Array.from(N.chunks),R)},modules:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.modules);const ie=$.create(`${q}.modules`,G,R);const ae=spaceLimited(ie,j.modulesSpace);E.modules=ae.children;E.filteredModules=ae.filteredChildren},entrypoints:(E,N,R,{entrypoints:j,chunkGroups:$,chunkGroupAuxiliary:q,chunkGroupChildren:G},ie)=>{const{type:ae}=R;const ce=Array.from(N.entrypoints,(([E,N])=>({name:E,chunkGroup:N})));if(j==="auto"&&!$){if(ce.length>5)return;if(!G&&ce.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const N=E.chunks[0];return N.files.size===1&&(!q||N.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ie.create(`${ae}.entrypoints`,ce,R)},chunkGroups:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.namedChunkGroups,(([E,N])=>({name:E,chunkGroup:N})));E.namedChunkGroups=$.create(`${q}.namedChunkGroups`,G,R)},errors:(E,N,R,j,$)=>{const{type:q,cachedGetErrors:G}=R;E.errors=$.create(`${q}.errors`,G(N),R)},errorsCount:(E,N,{cachedGetErrors:R})=>{E.errorsCount=countWithChildren(N,(E=>R(E)))},warnings:(E,N,R,j,$)=>{const{type:q,cachedGetWarnings:G}=R;E.warnings=$.create(`${q}.warnings`,G(N),R)},warningsCount:(E,N,R,{warningsFilter:j},$)=>{const{type:q,cachedGetWarnings:G}=R;E.warningsCount=countWithChildren(N,((E,N)=>{if(!j&&j.length===0)return G(E);return $.create(`${q}${N}.warnings`,G(E),R).filter((E=>{const N=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!j.some((R=>R(E,N)))}))}))},errorDetails:(E,N,{cachedGetErrors:R,cachedGetWarnings:j},{errorDetails:$,errors:q,warnings:G})=>{if($==="auto"){if(G){const R=j(N);E.filteredWarningDetailsCount=R.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(q){const j=R(N);if(j.length>=3){E.filteredErrorDetailsCount=j.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,N,R,j,$)=>{const{type:q}=R;E.children=$.create(`${q}.children`,N.children,R)}},asset:{_:(E,N,R,j,$)=>{const{compilation:q}=R;E.type=N.type;E.name=N.name;E.size=N.source.size();E.emitted=q.emittedAssets.has(N.name);E.comparedForEmit=q.comparedForEmitAssets.has(N.name);const G=!E.emitted&&!E.comparedForEmit;E.cached=G;E.info=N.info;if(!G||j.cachedAssets){Object.assign(E,$.create(`${R.type}$visible`,N,R))}}},asset$visible:{_:(E,N,{compilation:R,compilationFileToChunks:j,compilationAuxiliaryFileToChunks:$})=>{const q=j.get(N.name)||[];const G=$.get(N.name)||[];E.chunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Te);E.chunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Te);E.auxiliaryChunkNames=uniqueOrderedArray(G,(E=>E.name?[E.name]:[]),Te);E.auxiliaryChunkIdHints=uniqueOrderedArray(G,(E=>Array.from(E.idNameHints)),Te);E.filteredRelated=N.related?N.related.length:undefined},relatedAssets:(E,N,R,j,$)=>{const{type:q}=R;E.related=$.create(`${q.slice(0,-8)}.related`,N.related,R);E.filteredRelated=N.related?N.related.length-E.related.length:undefined},ids:(E,N,{compilationFileToChunks:R,compilationAuxiliaryFileToChunks:j})=>{const $=R.get(N.name)||[];const q=j.get(N.name)||[];E.chunks=uniqueOrderedArray($,(E=>E.ids),Te);E.auxiliaryChunks=uniqueOrderedArray(q,(E=>E.ids),Te)},performance:(E,N)=>{E.isOverSizeLimit=ae.isOverSizeLimit(N.source)}},chunkGroup:{_:(E,{name:N,chunkGroup:R},{compilation:j,compilation:{moduleGraph:$,chunkGraph:q}},{ids:G,chunkGroupAuxiliary:ie,chunkGroupChildren:ae,chunkGroupMaxAssets:ce})=>{const le=ae&&R.getChildrenByOrders($,q);const toAsset=E=>{const N=j.getAsset(E);return{name:E,size:N?N.info.size:-1}};const sizeReducer=(E,{size:N})=>E+N;const _e=uniqueArray(R.chunks,(E=>E.files)).map(toAsset);const Ee=uniqueOrderedArray(R.chunks,(E=>E.auxiliaryFiles),Te).map(toAsset);const we=_e.reduce(sizeReducer,0);const Ie=Ee.reduce(sizeReducer,0);const Ne={name:N,chunks:G?R.chunks.map((E=>E.id)):undefined,assets:_e.length<=ce?_e:undefined,filteredAssets:_e.length<=ce?0:_e.length,assetsSize:we,auxiliaryAssets:ie&&Ee.length<=ce?Ee:undefined,filteredAuxiliaryAssets:ie&&Ee.length<=ce?0:Ee.length,auxiliaryAssetsSize:Ie,children:le?mapObject(le,(E=>E.map((E=>{const N=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const R=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Te).map(toAsset);const j={name:E.name,chunks:G?E.chunks.map((E=>E.id)):undefined,assets:N.length<=ce?N:undefined,filteredAssets:N.length<=ce?0:N.length,auxiliaryAssets:ie&&R.length<=ce?R:undefined,filteredAuxiliaryAssets:ie&&R.length<=ce?0:R.length};return j})))):undefined,childAssets:le?mapObject(le,(E=>{const N=new Set;for(const R of E){for(const E of R.chunks){for(const R of E.files){N.add(R)}}}return Array.from(N)})):undefined};Object.assign(E,Ne)},performance:(E,{chunkGroup:N})=>{E.isOverSizeLimit=ae.isOverSizeLimit(N)}},module:{_:(E,N,R,j,$)=>{const{compilation:q,type:G}=R;const ie=q.builtModules.has(N);const ae=q.codeGeneratedModules.has(N);const ce=q.buildTimeExecutedModules.has(N);const le={};for(const E of N.getSourceTypes()){le[E]=N.size(E)}const _e={type:"module",moduleType:N.type,layer:N.layer,size:N.size(),sizes:le,built:ie,codeGenerated:ae,buildTimeExecuted:ce,cached:!ie&&!ae};Object.assign(E,_e);if(ie||ae||j.cachedModules){Object.assign(E,$.create(`${G}$visible`,N,R))}}},module$visible:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G,rootModules:ie}=R;const{moduleGraph:ae}=q;const le=[];const _e=ae.getIssuer(N);let Ee=_e;while(Ee){le.push(Ee);Ee=ae.getIssuer(Ee)}le.reverse();const Te=ae.getProfile(N);const we=N.getErrors();const Ie=we!==undefined?ce(we):0;const Ne=N.getWarnings();const Me=Ne!==undefined?ce(Ne):0;const Le={};for(const E of N.getSourceTypes()){Le[E]=N.size(E)}const Be={identifier:N.identifier(),name:N.readableIdentifier(j),nameForCondition:N.nameForCondition(),index:ae.getPreOrderIndex(N),preOrderIndex:ae.getPreOrderIndex(N),index2:ae.getPostOrderIndex(N),postOrderIndex:ae.getPostOrderIndex(N),cacheable:N.buildInfo.cacheable,optional:N.isOptional(ae),orphan:!G.endsWith("module.modules[].module$visible")&&q.chunkGraph.getNumberOfModuleChunks(N)===0,dependent:ie?!ie.has(N):undefined,issuer:_e&&_e.identifier(),issuerName:_e&&_e.readableIdentifier(j),issuerPath:_e&&$.create(`${G.slice(0,-8)}.issuerPath`,le,R),failed:Ie>0,errors:Ie,warnings:Me};Object.assign(E,Be);if(Te){E.profile=$.create(`${G.slice(0,-8)}.profile`,Te,R)}},ids:(E,N,{compilation:{chunkGraph:R,moduleGraph:j}})=>{E.id=R.getModuleId(N);const $=j.getIssuer(N);E.issuerId=$&&R.getModuleId($);E.chunks=Array.from(R.getOrderedModuleChunksIterable(N,_e),(E=>E.id))},moduleAssets:(E,N)=>{E.assets=N.buildInfo.assets?Object.keys(N.buildInfo.assets):[]},reasons:(E,N,R,j,$)=>{const{type:q,compilation:{moduleGraph:G}}=R;const ie=$.create(`${q.slice(0,-8)}.reasons`,Array.from(G.getIncomingConnections(N)),R);const ae=spaceLimited(ie,j.reasonsSpace);E.reasons=ae.children;E.filteredReasons=ae.filteredChildren},usedExports:(E,N,{runtime:R,compilation:{moduleGraph:j}})=>{const $=j.getUsedExports(N,R);if($===null){E.usedExports=null}else if(typeof $==="boolean"){E.usedExports=$}else{E.usedExports=Array.from($)}},providedExports:(E,N,{compilation:{moduleGraph:R}})=>{const j=R.getProvidedExports(N);E.providedExports=Array.isArray(j)?j:null},optimizationBailout:(E,N,{compilation:{moduleGraph:R}},{requestShortener:j})=>{E.optimizationBailout=R.getOptimizationBailout(N).map((E=>{if(typeof E==="function")return E(j);return E}))},depth:(E,N,{compilation:{moduleGraph:R}})=>{E.depth=R.getDepth(N)},nestedModules:(E,N,R,j,$)=>{const{type:q}=R;const G=N.modules;if(Array.isArray(G)){const N=$.create(`${q.slice(0,-8)}.modules`,G,R);const ie=spaceLimited(N,j.nestedModulesSpace);E.modules=ie.children;E.filteredModules=ie.filteredChildren}},source:(E,N)=>{const R=N.originalSource();if(R){E.source=R.source()}}},profile:{_:(E,N)=>{const R={total:N.factory+N.restoring+N.integration+N.building+N.storing,resolving:N.factory,restoring:N.restoring,building:N.building,integration:N.integration,storing:N.storing,additionalResolving:N.additionalFactories,additionalIntegration:N.additionalIntegration,factory:N.factory,dependencies:N.additionalFactories};Object.assign(E,R)}},moduleIssuer:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G}=R;const{moduleGraph:ie}=q;const ae=ie.getProfile(N);const ce={identifier:N.identifier(),name:N.readableIdentifier(j)};Object.assign(E,ce);if(ae){E.profile=$.create(`${G}.profile`,ae,R)}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.id=R.getModuleId(N)}},moduleReason:{_:(E,N,{runtime:R},{requestShortener:j})=>{const G=N.dependency;const ie=G&&G instanceof $?G:undefined;const ae={moduleIdentifier:N.originModule?N.originModule.identifier():null,module:N.originModule?N.originModule.readableIdentifier(j):null,moduleName:N.originModule?N.originModule.readableIdentifier(j):null,resolvedModuleIdentifier:N.resolvedOriginModule?N.resolvedOriginModule.identifier():null,resolvedModule:N.resolvedOriginModule?N.resolvedOriginModule.readableIdentifier(j):null,type:N.dependency?N.dependency.type:null,active:N.isActive(R),explanation:N.explanation,userRequest:ie&&ie.userRequest||null};Object.assign(E,ae);if(N.dependency){const R=q(N.dependency.loc);if(R){E.loc=R}}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.originModule?R.getModuleId(N.originModule):null;E.resolvedModuleId=N.resolvedOriginModule?R.getModuleId(N.resolvedOriginModule):null}},chunk:{_:(E,N,{makePathsRelative:R,compilation:{chunkGraph:j}})=>{const $=N.getChildIdsByOrders(j);const q={rendered:N.rendered,initial:N.canBeInitial(),entry:N.hasRuntime(),recorded:ie.wasChunkRecorded(N),reason:N.chunkReason,size:j.getChunkModulesSize(N),sizes:j.getChunkModulesSizes(N),names:N.name?[N.name]:[],idHints:Array.from(N.idNameHints),runtime:N.runtime===undefined?undefined:typeof N.runtime==="string"?[R(N.runtime)]:Array.from(N.runtime.sort(),R),files:Array.from(N.files),auxiliaryFiles:Array.from(N.auxiliaryFiles).sort(Te),hash:N.renderedHash,childrenByOrder:$};Object.assign(E,q)},ids:(E,N)=>{E.id=N.id},chunkRelations:(E,N,{compilation:{chunkGraph:R}})=>{const j=new Set;const $=new Set;const q=new Set;for(const E of N.groupsIterable){for(const N of E.parentsIterable){for(const E of N.chunks){j.add(E.id)}}for(const N of E.childrenIterable){for(const E of N.chunks){$.add(E.id)}}for(const R of E.chunks){if(R!==N)q.add(R.id)}}E.siblings=Array.from(q).sort(Te);E.parents=Array.from(j).sort(Te);E.children=Array.from($).sort(Te)},chunkModules:(E,N,R,j,$)=>{const{type:q,compilation:{chunkGraph:G}}=R;const ie=G.getChunkModules(N);const ae=$.create(`${q}.modules`,ie,{...R,runtime:N.runtime,rootModules:new Set(G.getChunkRootModules(N))});const ce=spaceLimited(ae,j.chunkModulesSpace);E.modules=ce.children;E.filteredModules=ce.filteredChildren},chunkOrigins:(E,N,R,j,$)=>{const{type:G,compilation:{chunkGraph:ie}}=R;const ae=new Set;const ce=[];for(const E of N.groupsIterable){ce.push(...E.origins)}const le=ce.filter((E=>{const N=[E.module?ie.getModuleId(E.module):undefined,q(E.loc),E.request].join();if(ae.has(N))return false;ae.add(N);return true}));E.origins=$.create(`${G}.origins`,le,R)}},chunkOrigin:{_:(E,N,R,{requestShortener:j})=>{const $={module:N.module?N.module.identifier():"",moduleIdentifier:N.module?N.module.identifier():"",moduleName:N.module?N.module.readableIdentifier(j):"",loc:q(N.loc),request:N.request};Object.assign(E,$)},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.module?R.getModuleId(N.module):undefined}},error:Be,warning:Be,moduleTraceItem:{_:(E,{origin:N,module:R},j,{requestShortener:$},q)=>{const{type:G,compilation:{moduleGraph:ie}}=j;E.originIdentifier=N.identifier();E.originName=N.readableIdentifier($);E.moduleIdentifier=R.identifier();E.moduleName=R.readableIdentifier($);const ae=Array.from(ie.getIncomingConnections(R)).filter((E=>E.resolvedOriginModule===N&&E.dependency)).map((E=>E.dependency));E.dependencies=q.create(`${G}.dependencies`,Array.from(new Set(ae)),j)},ids:(E,{origin:N,module:R},{compilation:{chunkGraph:j}})=>{E.originId=j.getModuleId(N);E.moduleId=j.getModuleId(R)}},moduleTraceDependency:{_:(E,N)=>{E.loc=q(N.loc)}}};const Ue={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:N}})=>{if(E.originModule&&N.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const ze={"compilation.warnings":{warningsFilter:j.deprecate(((E,N,{warningsFilter:R})=>{const j=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!R.some((N=>N(E,j)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const We={_:(E,{compilation:{moduleGraph:N}})=>{E.push(Ie((E=>N.getDepth(E)),Ee),Ie((E=>N.getPreOrderIndex(E)),Ee),Ie((E=>E.identifier()),Te))}};const Je={"compilation.chunks":{_:E=>{E.push(Ie((E=>E.id),Te))}},"compilation.modules":We,"chunk.rootModules":We,"chunk.modules":We,"module.modules":We,"module.reasons":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.originModule),Ne));E.push(Ie((E=>E.resolvedOriginModule),Ne));E.push(Ie((E=>E.dependency),we(Ie((E=>E.loc),le),Ie((E=>E.type),Te))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.module?N.getModuleId(E.module):undefined),Te),Ie((E=>q(E.loc)),Te),Ie((E=>E.request),Te))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let N=0;for(const R of E){N+=getItemSize(R)}return N};const getTotalItems=E=>{let N=0;for(const R of E){if(!R.children&&!R.filteredChildren){N++}else{if(R.children)N+=getTotalItems(R.children);if(R.filteredChildren)N+=R.filteredChildren}}return N};const collapse=E=>{const N=[];for(const R of E){if(R.children){let E=R.filteredChildren||0;E+=getTotalItems(R.children);N.push({...R,children:undefined,filteredChildren:E})}else{N.push(R)}}return N};const spaceLimited=(E,N)=>{let R=undefined;let j=undefined;const $=E.filter((E=>E.children||E.filteredChildren));const q=$.map((E=>getItemSize(E)));const G=E.filter((E=>!E.children&&!E.filteredChildren));let ie=q.reduce(((E,N)=>E+N),0);if(ie+G.length<=N){R=$.concat(G)}else if($.length>0&&$.length+Math.min(1,G.length)N){const E=G.length+ie+(j?1:0)-N;const R=Math.max(...q);if(R0&&$.length+Math.min(1,G.length)<=N){R=$.length?collapse($):undefined;j=G.length}else{j=getTotalItems(E)}return{children:R,filteredChildren:j}};const assetGroup=(E,N)=>{let R=0;for(const N of E){R+=N.size}return{size:R}};const moduleGroup=(E,N)=>{let R=0;const j={};for(const N of E){R+=N.size;for(const E of Object.keys(N.sizes)){j[E]=(j[E]||0)+N.sizes[E]}}return{size:R,sizes:j}};const reasonGroup=(E,N)=>{let R=false;for(const N of E){R=R||N.active}return{active:R}};const Ve={_:(E,N,R)=>{const groupByFlag=(N,R)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!R,force:R}),createGroup:(E,j,$)=>R?{type:"assets by status",[N]:!!E,filteredChildren:$.length,...assetGroup(j,$)}:{type:"assets by status",[N]:!!E,children:j,...assetGroup(j,$)}})};const{groupAssetsByEmitStatus:j,groupAssetsByPath:$,groupAssetsByExtension:q}=R;if(j){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(j||!R.cachedAssets){groupByFlag("cached",!R.cachedAssets)}if($||q){E.push({getKeys:E=>{const N=q&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const R=N?N[1]:"";const j=$&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const G=j?j[1].split(/[/\\]/):[];const ie=[];if($){ie.push(".");if(R)ie.push(G.length?`${G.join("/")}/*${R}`:`*${R}`);while(G.length>0){ie.push(G.join("/")+"/");G.pop()}}else{if(R)ie.push(`*${R}`)}return ie},createGroup:(E,N,R)=>({type:$?"assets by path":"assets by extension",name:E,children:N,...assetGroup(N,R)})})}},groupAssetsByInfo:(E,N,R)=>{const groupByAssetInfoFlag=N=>{E.push({getKeys:E=>E.info&&E.info[N]?["1"]:undefined,createGroup:(E,R,j)=>({type:"assets by info",info:{[N]:!!E},children:R,...assetGroup(R,j)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,N,R)=>{const groupByNames=N=>{E.push({getKeys:E=>E[N],createGroup:(E,R,j)=>({type:"assets by chunk",[N]:[E],children:R,...assetGroup(R,j)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,N,{excludeAssets:R})=>{E.push({getKeys:E=>{const N=E.name;const j=R.some((R=>R(N,E)));if(j)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden assets",filteredChildren:R.length,...assetGroup(N,R)})})}};const MODULES_GROUPERS=E=>({_:(E,N,R)=>{const groupByFlag=(N,R,j)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!j,force:j}),createGroup:(E,$,q)=>({type:R,[N]:!!E,...j?{filteredChildren:q.length}:{children:$},...moduleGroup($,q)})})};const{groupModulesByCacheStatus:j,groupModulesByLayer:$,groupModulesByAttributes:q,groupModulesByType:G,groupModulesByPath:ie,groupModulesByExtension:ae}=R;if(q){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(j){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(j||!R.cachedModules){groupByFlag("cached","cached modules",!R.cachedModules)}if(q||!R.orphanModules){groupByFlag("orphan","orphan modules",!R.orphanModules)}if(q||!R.dependentModules){groupByFlag("dependent","dependent modules",!R.dependentModules)}if(G||!R.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(G){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const N=E==="runtime"&&!R.runtimeModules;return{groupChildren:!N,force:N}},createGroup:(E,N,j)=>{const $=E==="runtime"&&!R.runtimeModules;return{type:`${E} modules`,moduleType:E,...$?{filteredChildren:j.length}:{children:N},...moduleGroup(N,j)}}})}if($){E.push({getKeys:E=>[E.layer],createGroup:(E,N,R)=>({type:"modules by layer",layer:E,children:N,...moduleGroup(N,R)})})}if(ie||ae){E.push({getKeys:E=>{if(!E.name)return;const N=Le(E.name.split("!").pop()).path;const R=ae&&/(\.[^.]+)(?:\?.*|$)/.exec(N);const j=R?R[1]:"";const $=ie&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(N);const q=$?$[1].split(/[/\\]/):[];const G=[];if(ie){if(j)G.push(q.length?`${q.join("/")}/*${j}`:`*${j}`);while(q.length>0){G.push(q.join("/")+"/");q.pop()}}else{if(j)G.push(`*${j}`)}return G},createGroup:(E,N,R)=>({type:ie?"modules by path":"modules by extension",name:E,children:N,...moduleGroup(N,R)})})}},excludeModules:(N,R,{excludeModules:j})=>{N.push({getKeys:N=>{const R=N.name;if(R){const $=j.some((j=>j(R,N,E)));if($)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden modules",filteredChildren:N.length,...moduleGroup(N,R)})})}});const qe={"compilation.assets":Ve,"asset.related":Ve,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:E=>{E.push({getKeys:E=>[E.module],createGroup:(E,N,R)=>({type:"from origin",module:E,children:N,...reasonGroup(N,R)})})}}};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,N)=>0;return noSort}const N=normalizeFieldKey(E);let R=Ie((E=>E[N]),Te);const j=sortOrderRegular(E);if(!j){const E=R;R=(N,R)=>E(R,N)}return R};const He={assetsSort:(E,N,{assetsSort:R})=>{E.push(sortByField(R))},_:E=>{E.push(Ie((E=>E.name),Te))}};const Ge={"compilation.chunks":{chunksSort:(E,N,{chunksSort:R})=>{E.push(sortByField(R))}},"compilation.modules":{modulesSort:(E,N,{modulesSort:R})=>{E.push(sortByField(R))}},"chunk.modules":{chunkModulesSort:(E,N,{chunkModulesSort:R})=>{E.push(sortByField(R))}},"module.modules":{nestedModulesSort:(E,N,{nestedModulesSort:R})=>{E.push(sortByField(R))}},"compilation.assets":He,"asset.related":He};const iterateConfig=(E,N,R)=>{for(const j of Object.keys(E)){const $=E[j];for(const E of Object.keys($)){if(E!=="_"){if(E.startsWith("!")){if(N[E.slice(1)])continue}else{const R=N[E];if(R===false||R===undefined||Array.isArray(R)&&R.length===0)continue}}R(j,$[E])}}};const Ke={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const N=Object.create(null);for(const R of E){N[R.name]=R}return N};const Qe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((N,R,j)=>{iterateConfig(je,R,((E,j)=>{N.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,$,q)=>j(E,$,q,R,N)))}));iterateConfig(Ue,R,((E,j)=>{N.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(ze,R,((E,j)=>{N.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(Je,R,((E,j)=>{N.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(Ge,R,((E,j)=>{N.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(qe,R,((E,j)=>{N.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));for(const E of Object.keys(Ke)){const R=Ke[E];N.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>R))}for(const E of Object.keys(Qe)){const R=Qe[E];N.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",R)}if(R.children){if(Array.isArray(R.children)){N.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((N,{_index:$})=>{if($$))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,N,R)=>{"use strict";const j=R(80910);const applyDefaults=(E,N)=>{for(const R of Object.keys(N)){if(typeof E[R]==="undefined"){E[R]=N[R]}}};const $={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:N})=>N?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:N})=>N?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:N})=>{if(E===false)return false;if(E===true)return true;if(N)return"auto";return true};const q={context:(E,N,R)=>R.compiler.context,requestShortener:(E,N,R)=>R.compiler.context===E.context?R.requestShortener:new j(E.context,R.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:N})=>N?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:N})=>{if(E===false)return false;if(E===true)return true;if(N)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:N,chunkModules:R},{forToString:j})=>{if(E===false)return false;if(E===true)return true;if(j&&N&&R)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:N})=>N?15:Infinity,chunkModulesSpace:(E,{forToString:N})=>N?10:Infinity,nestedModulesSpace:(E,{forToString:N})=>N?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:N})=>N?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,cachedModules:({all:E,cached:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(E,{forToString:N})=>N?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:N})=>N&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const G={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(N,R)=>R.includes(E)}if(E instanceof RegExp){return(N,R)=>E.test(R)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const N of Object.keys($)){const R=$[N];E.hooks.statsPreset.for(N).tap("DefaultStatsPresetPlugin",((E,N)=>{applyDefaults(E,R)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((N,R)=>{for(const j of Object.keys(q)){if(N[j]===undefined)N[j]=q[j](N,R,E)}for(const E of Object.keys(G)){N[E]=G[E](N[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,N,R)=>{"use strict";const plural=(E,N,R)=>E===1?N:R;const printSizes=(E,{formatSize:N=(E=>`${E}`)})=>{const R=Object.keys(E);if(R.length>1){return R.map((R=>`${N(E[R])} (${R})`)).join(" ")}else if(R.length===1){return N(E[R[0]])}};const mapLines=(E,N)=>E.split("\n").map(N).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const j={"compilation.summary!":(E,{type:N,bold:R,green:j,red:$,yellow:q,formatDateTime:G,formatTime:ie,compilation:{name:ae,hash:ce,version:le,time:_e,builtAt:Ee,errorsCount:Te,warningsCount:we}})=>{const Ie=N==="compilation.summary!";const Ne=we>0?q(`${we} ${plural(we,"warning","warnings")}`):"";const Me=Te>0?$(`${Te} ${plural(Te,"error","errors")}`):"";const Le=Ie&&_e?` in ${ie(_e)}`:"";const Be=ce?` (${ce})`:"";const je=Ie&&Ee?`${G(Ee)}: `:"";const Ue=Ie&&le?`webpack ${le}`:"";const ze=Ie&&ae?R(ae):ae?`Child ${R(ae)}`:Ie?"":"Child";const We=ze&&Ue?`${ze} (${Ue})`:Ue||ze||"webpack";let Je;if(Me&&Ne){Je=`compiled with ${Me} and ${Ne}`}else if(Me){Je=`compiled with ${Me}`}else if(Ne){Je=`compiled with ${Ne}`}else if(Te===0&&we===0){Je=`compiled ${j("successfully")}`}else{Je=`compiled`}if(je||Ue||Me||Ne||Te===0&&we===0||Le||Be)return`${je}${We} ${Je}${Le}${Be}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:N})=>E?N(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:N})=>E?`Environment (--env): ${N(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:N})=>`PublicPath: ${N(E||"(none)")}`,"compilation.entrypoints":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.values(E),{...N,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,N,R)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:j}}=N;let $=Object.values(E);if(j){$=$.filter((E=>!Object.prototype.hasOwnProperty.call(j,E.name)))}return R.print(N.type,$,{...N,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:N}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.entries(E).map((([E,N])=>({...N,name:E}))),N),"compilation.warningsInChildren!":(E,{yellow:N,compilation:R})=>{if(!R.children&&R.warningsCount>0&&R.warnings){const E=R.warningsCount-R.warnings.length;if(E>0){return N(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:N,compilation:R})=>{if(!R.children&&R.errorsCount>0&&R.errors){const E=R.errorsCount-R.errors.length;if(E>0){return N(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:N,asset:{isOverSizeLimit:R}})=>N(E,R),"asset.size":(E,{asset:{isOverSizeLimit:N},yellow:R,green:j,formatSize:$})=>N?R($(E)):$(E),"asset.emitted":(E,{green:N,formatFlag:R})=>E?N(R("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:N,formatFlag:R})=>E?N(R("compared for emit")):undefined,"asset.cached":(E,{green:N,formatFlag:R})=>E?N(R("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:N,formatFlag:R})=>E?N(R("big")):undefined,"asset.info.immutable":(E,{green:N,formatFlag:R})=>E?N(R("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:N})=>E?N("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:N})=>E?N(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:N,formatFlag:R})=>E?N(R("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:N,formatFlag:R})=>E?N(R("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:N}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:N})=>N(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"module.name":(E,{bold:N})=>{const[,R,j]=/^(.*!)?([^!]*)$/.exec(E);return(R||"")+N(j)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:N})=>E?N(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:N})=>N(E),"module.depth":(E,{formatFlag:N})=>E!==null?N(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:N,red:R})=>E===false?R(N("not cacheable")):undefined,"module.orphan":(E,{formatFlag:N,yellow:R})=>E?R(N("orphan")):undefined,"module.runtime":(E,{formatFlag:N,yellow:R})=>E?R(N("runtime")):undefined,"module.optional":(E,{formatFlag:N,yellow:R})=>E?R(N("optional")):undefined,"module.dependent":(E,{formatFlag:N,cyan:R})=>E?R(N("dependent")):undefined,"module.built":(E,{formatFlag:N,yellow:R})=>E?R(N("built")):undefined,"module.codeGenerated":(E,{formatFlag:N,yellow:R})=>E?R(N("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:N,green:R})=>E?R(N("build time executed")):undefined,"module.cached":(E,{formatFlag:N,green:R})=>E?R(N("cached")):undefined,"module.assets":(E,{formatFlag:N,magenta:R})=>E&&E.length?R(N(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:N,yellow:R})=>E===true?R(N("warnings")):E?R(N(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:N,red:R})=>E===true?R(N("errors")):E?R(N(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:N,cyan:R})=>{if(Array.isArray(E)){if(E.length===0)return R(N("no exports"));return R(N(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:N,cyan:R,module:j})=>{if(E!==true){if(E===null)return R(N("used exports unknown"));if(E===false)return R(N("module unused"));if(Array.isArray(E)){if(E.length===0)return R(N("no exports used"));const $=Array.isArray(j.providedExports)?j.providedExports.length:null;if($!==null&&$===E.length){return R(N("all exports used"))}else{return R(N(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:N})=>N(E),"module.issuerPath":(E,{module:N})=>N.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredReasons":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:N})=>N(E),"moduleIssuer.profile.total":(E,{formatTime:N})=>N(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:N})=>N(E),"moduleReason.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"moduleReason.module":(E,{magenta:N})=>N(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:N})=>N(E),"moduleReason.active":(E,{formatFlag:N})=>E?undefined:N("inactive"),"moduleReason.resolvedModule":(E,{magenta:N})=>N(E),"moduleReason.filteredChildren":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.profile.total":(E,{formatTime:N})=>N(E),"module.profile.resolving":(E,{formatTime:N})=>`resolving: ${N(E)}`,"module.profile.restoring":(E,{formatTime:N})=>`restoring: ${N(E)}`,"module.profile.integration":(E,{formatTime:N})=>`integration: ${N(E)}`,"module.profile.building":(E,{formatTime:N})=>`building: ${N(E)}`,"module.profile.storing":(E,{formatTime:N})=>`storing: ${N(E)}`,"module.profile.additionalResolving":(E,{formatTime:N})=>E?`additional resolving: ${N(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:N})=>E?`additional integration: ${N(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:N})=>N,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:N})=>N(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:N,yellow:R})=>E?R(N("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:N})=>E?N(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:N})=>E?`(${N(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:N})=>N(E),"chunkGroupAsset.size":(E,{formatSize:N,chunkGroup:R})=>R.assets.length>1||R.auxiliaryAssets&&R.auxiliaryAssets.length>0?N(E):undefined,"chunkGroup.children":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:N})=>N(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:N})=>N(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:N})=>N(E),"chunk.files[]":(E,{formatFilename:N})=>N(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,N)=>printSizes(E,N),"chunk.parents[]":(E,N)=>N.formatChunkId(E,"parent"),"chunk.siblings[]":(E,N)=>N.formatChunkId(E,"sibling"),"chunk.children[]":(E,N)=>N.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"chunk.entry":(E,{formatFlag:N,yellow:R})=>E?R(N("entry")):undefined,"chunk.initial":(E,{formatFlag:N,yellow:R})=>E?R(N("initial")):undefined,"chunk.rendered":(E,{formatFlag:N,green:R})=>E?R(N("rendered")):undefined,"chunk.recorded":(E,{formatFlag:N,green:R})=>E?R(N("recorded")):undefined,"chunk.reason":(E,{yellow:N})=>E?N(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"chunkOrigin.moduleName":(E,{bold:N})=>N(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:N})=>E?N(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"error.chunkEntry":(E,{formatFlag:N})=>E?N("entry"):undefined,"error.chunkInitial":(E,{formatFlag:N})=>E?N("initial"):undefined,"error.file":(E,{bold:N})=>N(E),"error.moduleName":(E,{bold:N})=>E.includes("!")?`${N(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${N(E)}`,"error.loc":(E,{green:N})=>N(E),"error.message":(E,{bold:N,formatError:R})=>E.includes("[")?E:N(R(E)),"error.details":(E,{formatError:N})=>N(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`

    ${N(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`

    ${N(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<-> ${N(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<+> ${N(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:N})=>E?N("DEBUG"):undefined,"loggingGroup.name":(E,{bold:N})=>N(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const $={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const G={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>N=>N.length>0?`(${E}: ${N.filter(Boolean).join(", ")})`:undefined;const ie={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const N=[];let R=0;for(const j of E){if(j.element==="separator!"){switch(R){case 0:case 1:R+=2;break;case 4:N.push(")");R=3;break}}if(!j.content)continue;switch(R){case 0:R=1;break;case 1:N.push(" ");break;case 2:N.push("(");R=4;break;case 3:N.push(" (");R=4;break;case 4:N.push(", ");break}N.push(j.content)}if(R===4)N.push(")");return N.join("")};const indent=(E,N,R)=>{const j=E.replace(/\n([^\n])/g,"\n"+N+"$1");if(R)return j;const $=E[0]==="\n"?"":N;return $+j};const joinExplicitNewLine=(E,N)=>{let R=true;let j=true;return E.map((E=>{if(!E||!E.content)return;let $=indent(E.content,j?"":N,!R);if(R){$=$.replace(/^\n+/,"")}if(!$)return;j=false;const q=R||$.startsWith("\n");R=$.endsWith("\n");return q?$:" "+$})).filter(Boolean).join("").trim()};const joinError=E=>(N,{red:R,yellow:j})=>`${E?R("ERROR"):j("WARNING")} in ${joinExplicitNewLine(N,"")}`;const ae={compilation:E=>{const N=[];let R=false;for(const j of E){if(!j.content)continue;const E=j.element==="warnings"||j.element==="filteredWarningDetailsCount"||j.element==="errors"||j.element==="filteredErrorDetailsCount"||j.element==="logging";if(N.length!==0){N.push(E||R?"\n\n":"\n")}N.push(j.content);R=E}if(R)N.push("\n");return N.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(N.id===N.name){if(R)return false;if(E.content)R=true}break;case"name":if(R)return false;if(E.content)R=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let N=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)N=true;break;case"initial":if(N)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"moduleId":if(N.moduleId===N.module&&E.content)R=true;break;case"module":if(R)return false;break;case"resolvedModule":if(N.module===N.resolvedModule)return false;break;case"children":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const ce={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const le={formatChunkId:(E,{yellow:N},R)=>{switch(R){case"parent":return`<{${N(E)}}>`;case"sibling":return`={${N(E)}}=`;case"child":return`>{${N(E)}}<`;default:return`{${N(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:N,yellow:R},j)=>(j?R:N)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:R(9192).formatSize,formatDateTime:(E,{bold:N})=>{const R=new Date(E);const j=twoDigit;const $=`${R.getFullYear()}-${j(R.getMonth()+1)}-${j(R.getDate())}`;const q=`${j(R.getHours())}:${j(R.getMinutes())}:${j(R.getSeconds())}`;return`${$} ${N(q)}`},formatTime:(E,{timeReference:N,bold:R,green:j,yellow:$,red:q},G)=>{const ie=" ms";if(N&&E!==N){const G=[N/2,N/4,N/8,N/16];if(E{if(E.includes("["))return E;const $=[{regExp:/(Did you mean .+)/g,format:N},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:N},{regExp:/(\(module has no exports\))/g,format:j},{regExp:/\(possible exports: (.+)\)/g,format:N},{regExp:/\s*(.+ doesn't exist)/g,format:j},{regExp:/('\w+' option has not been set)/g,format:j},{regExp:/(Emitted value instead of an instance of Error)/g,format:R},{regExp:/(Used? .+ instead)/gi,format:R},{regExp:/\b(deprecated|must|required)\b/g,format:R},{regExp:/\b(BREAKING CHANGE)\b/gi,format:j},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:j}];for(const{regExp:N,format:R}of $){E=E.replace(N,((E,N)=>E.replace(N,R(N))))}return E}};const _e={"module.modules":E=>indent(E,"| ")};const createOrder=(E,N)=>{const R=E.slice();const j=new Set(E);const $=new Set;E.length=0;for(const R of N){if(R.endsWith("!")||j.has(R)){E.push(R);$.add(R)}}for(const N of R){if(!$.has(N)){E.push(N)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,N,R)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,R)=>{for(const E of Object.keys(ce)){let j;if(N.colors){if(typeof N.colors==="object"&&typeof N.colors[E]==="string"){j=N.colors[E]}else{j=ce[E]}}if(j){R[E]=E=>`${j}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${j}`):E}`}else{R[E]=E=>E}}for(const E of Object.keys(le)){R[E]=(N,...j)=>le[E](N,R,...j)}R.timeReference=E.time}));for(const N of Object.keys(j)){E.hooks.print.for(N).tap("DefaultStatsPrinterPlugin",((R,$)=>j[N](R,$,E)))}for(const N of Object.keys(G)){const R=G[N];E.hooks.sortElements.for(N).tap("DefaultStatsPrinterPlugin",((E,N)=>{createOrder(E,R)}))}for(const N of Object.keys($)){const R=$[N];E.hooks.getItemName.for(N).tap("DefaultStatsPrinterPlugin",typeof R==="string"?()=>R:R)}for(const N of Object.keys(ie)){const R=ie[N];E.hooks.printItems.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(ae)){const R=ae[N];E.hooks.printElements.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(_e)){const R=_e[N];E.hooks.result.for(N).tap("DefaultStatsPrinterPlugin",R)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,N,R)=>{"use strict";const{HookMap:j,SyncBailHook:$,SyncWaterfallHook:q}=R(92960);const{concatComparators:G,keepOriginalOrder:ie}=R(68673);const ae=R(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new j((()=>new $(["object","data","context"]))),filter:new j((()=>new $(["item","context","index","unfilteredIndex"]))),sort:new j((()=>new $(["comparators","context"]))),filterSorted:new j((()=>new $(["item","context","index","unfilteredIndex"]))),groupResults:new j((()=>new $(["groupConfigs","context"]))),sortResults:new j((()=>new $(["comparators","context"]))),filterResults:new j((()=>new $(["item","context","index","unfilteredIndex"]))),merge:new j((()=>new $(["items","context"]))),result:new j((()=>new q(["result","context"]))),getItemName:new j((()=>new $(["item","context"]))),getItemFactory:new j((()=>new $(["item","context"])))});const E=this.hooks;this._caches={};for(const N of Object.keys(E)){this._caches[N]=new Map}this._inCreate=false}_getAllLevelHooks(E,N,R){const j=N.get(R);if(j!==undefined){return j}const $=[];const q=R.split(".");for(let N=0;N{for(const R of G){const j=$(R,E,N,ie);if(j!==undefined){if(j)ie++;return j}}ie++;return true}))}create(E,N,R){if(this._inCreate){return this._create(E,N,R)}else{try{this._inCreate=true;return this._create(E,N,R)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,N,R){const j={...R,type:E,[E]:N};if(Array.isArray(N)){const R=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,N,((E,N,R,$)=>E.call(N,j,R,$)),true);const $=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call($,j)));if($.length>0){R.sort(G(...$,ie(R)))}const q=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,R,((E,N,R,$)=>E.call(N,j,R,$)),false);let ce=q.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;const G=q?`${E}[].${q}`:`${E}[]`;const ie=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,G,(E=>E.call(N,$)))||this;return ie.create(G,N,$)}));const le=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(le,j)));if(le.length>0){ce.sort(G(...le,ie(ce)))}const _e=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(_e,j)));if(_e.length>0){ce=ae(ce,_e)}const Ee=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,ce,((E,N,R,$)=>E.call(N,j,R,$)),false);let Te=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(Ee,j)));if(Te===undefined)Te=Ee;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Te,((E,N)=>E.call(N,j)))}else{const R={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(R,N,j)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,R,((E,N)=>E.call(N,j)))}}}E.exports=StatsFactory},30533:(E,N,R)=>{"use strict";const{HookMap:j,SyncWaterfallHook:$,SyncBailHook:q}=R(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new j((()=>new q(["elements","context"]))),printElements:new j((()=>new q(["printedElements","context"]))),sortItems:new j((()=>new q(["items","context"]))),getItemName:new j((()=>new q(["item","context"]))),printItems:new j((()=>new q(["printedItems","context"]))),print:new j((()=>new q(["object","context"]))),result:new j((()=>new $(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,N){let R=this._levelHookCache.get(E);if(R===undefined){R=new Map;this._levelHookCache.set(E,R)}const j=R.get(N);if(j!==undefined){return j}const $=[];const q=N.split(".");for(let N=0;NE.call(N,j)));if($===undefined){if(Array.isArray(N)){const R=N.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(R,j)));const q=R.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;return this.print(q?`${E}[].${q}`:`${E}[]`,N,$)}));$=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(q,j)));if($===undefined){const E=q.filter(Boolean);if(E.length>0)$=E.join("\n")}}else if(N!==null&&typeof N==="object"){const R=Object.keys(N).filter((E=>N[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(R,j)));const q=R.map((R=>{const $=this.print(`${E}.${R}`,N[R],{...j,_parent:N,_element:R,[R]:N[R]});return{element:R,content:$}}));$=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(q,j)));if($===undefined){const E=q.map((E=>E.content)).filter(Boolean);if(E.length>0)$=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,$,((E,N)=>E.call(N,j)))}}E.exports=StatsPrinter},73910:(E,N)=>{"use strict";N.equals=(E,N)=>{if(E.length!==N.length)return false;for(let R=0;R{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const N=this._list.indexOf(E);if(N>=0){this._list.splice(N,1)}else{const N=this._listReversed.indexOf(E);if(N>=0)this._listReversed.splice(N,1)}}[Symbol.iterator](){let E=-1;let N=false;return{next:()=>{if(!N){E++;if(E{"use strict";const{SyncHook:j,AsyncSeriesHook:$}=R(92960);const{makeWebpackError:q}=R(3728);const G=R(81627);const ie=R(56561);const ae=0;const ce=1;const le=2;let _e=0;class AsyncQueueEntry{constructor(E,N){this.item=E;this.state=ae;this.callback=N;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:N,parent:R,processor:q,getKey:G}){this._name=E;this._parallelism=N||1;this._processor=q;this._getKey=G||(E=>E);this._entries=new Map;this._queued=new ie;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=R?R._root:this;if(R){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new $(["item"]),added:new j(["item"]),beforeStart:new $(["item"]),started:new j(["item"]),result:new j(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,N){if(this._stopped)return N(new G("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(R=>{if(R){N(q(R,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const j=this._getKey(E);const $=this._entries.get(j);if($!==undefined){if($.state===le){if(_e++>3){process.nextTick((()=>N($.error,$.result)))}else{N($.error,$.result)}_e--}else if($.callbacks===undefined){$.callbacks=[N]}else{$.callbacks.push(N)}return}const ie=new AsyncQueueEntry(E,N);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ie,new G("Queue was stopped"))))}else{this._entries.set(j,ie);this._queued.enqueue(ie);const N=this._root;N._needProcessing=true;if(N._willEnsureProcessing===false){N._willEnsureProcessing=true;setImmediate(N._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const N=this._getKey(E);const R=this._entries.get(N);this._entries.delete(N);if(R.state===ae){this._queued.delete(R)}}waitFor(E,N){const R=this._getKey(E);const j=this._entries.get(R);if(j===undefined){return N(new G("waitFor can only be called for an already started item"))}if(j.state===le){process.nextTick((()=>N(j.error,j.result)))}else if(j.callbacks===undefined){j.callbacks=[N]}else{j.callbacks.push(N)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ie;const N=this._root;for(const R of E){this._entries.delete(this._getKey(R.item));N._activeTasks++;this._handleResult(R,new G("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ce}isQueued(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ae}isDone(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===le}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(N=>{if(N){this._handleResult(E,q(N,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let R=false;try{this._processor(E.item,((N,j)=>{R=true;this._handleResult(E,N,j)}))}catch(N){if(R)throw N;this._handleResult(E,N,null)}this.hooks.started.call(E.item)}))}_handleResult(E,N,R){this.hooks.result.callAsync(E.item,N,R,(j=>{const $=j?q(j,`AsyncQueue(${this._name}).hooks.result`):N;const G=E.callback;const ie=E.callbacks;E.state=le;E.callback=undefined;E.callbacks=undefined;E.result=R;E.error=$;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(_e++>3){process.nextTick((()=>{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}))}else{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}_e--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,N,R)=>{"use strict";class Hash{update(E,N){const j=R(75884);throw new j}digest(E){const N=R(75884);throw new N}}E.exports=Hash},11539:(E,N)=>{"use strict";const last=E=>{let N;for(const R of E)N=R;return N};const someInIterable=(E,N)=>{for(const R of E){if(N(R))return true}return false};const countIterable=E=>{let N=0;for(const R of E)N++;return N};N.last=last;N.someInIterable=someInIterable;N.countIterable=countIterable},37496:(E,N,R)=>{"use strict";const{first:j}=R(26221);const $=R(16102);class LazyBucketSortedSet{constructor(E,N,...R){this._getKey=E;this._innerArgs=R;this._leaf=R.length<=1;this._keys=new $(undefined,N);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,N){let R=this._map.get(E);if(R===undefined){R=this._leaf?new $(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,R)}R.add(N)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const N=this._getKey(E);const R=this._map.get(N);R.delete(E);if(R.size===0){this._deleteKey(N)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const N=this._getKey(E);this._addInternal(N,E)}this._unsortedItems.clear()}this._keys.sort();const E=j(this._keys);const N=this._map.get(E);if(this._leaf){const R=N;R.sort();const $=j(R);R.delete($);if(R.size===0){this._deleteKey(E)}return $}else{const R=N;const j=R.popFirst();if(R.size===0){this._deleteKey(E)}return j}}startUpdate(E){if(this._unsortedItems.has(E)){return N=>{if(N){this._unsortedItems.delete(E);this.size--;return}}}const N=this._getKey(E);if(this._leaf){const R=this._map.get(N);return j=>{if(j){this.size--;R.delete(E);if(R.size===0){this._deleteKey(N)}return}const $=this._getKey(E);if(N===$){R.add(E)}else{R.delete(E);if(R.size===0){this._deleteKey(N)}this._addInternal($,E)}}}else{const R=this._map.get(N);const j=R.startUpdate(E);return $=>{if($){this.size--;j(true);if(R.size===0){this._deleteKey(N)}return}const q=this._getKey(E);if(N===q){j()}else{j(true);if(R.size===0){this._deleteKey(N)}this._addInternal(q,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const N of this._keys){const R=this._map.get(N);if(this._leaf){const N=R;const j=N[Symbol.iterator]();E.push(j)}else{const N=R;N._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let N=E.pop();return{next:()=>{const R=N.next();if(R.done){if(E.length===0)return R;N=E.pop();return N.next()}return R}}}}E.exports=LazyBucketSortedSet},83379:(E,N,R)=>{"use strict";const j=R(56202);const merge=(E,N)=>{for(const R of N){for(const N of R){E.add(N)}}};const flatten=(E,N)=>{for(const R of N){if(R._set.size>0)E.add(R._set);if(R._needMerge){for(const N of R._toMerge){E.add(N)}flatten(E,R._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const N=this._set;for(const R of E){N.add(R)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,N){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,N)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const N of this._set)E(N)}static deserialize({read:E}){const N=E();const R=[];for(let j=0;j{"use strict";N.provide=(E,N,R)=>{const j=E.get(N);if(j!==undefined)return j;const $=R();E.set(N,$);return $}},382:(E,N,R)=>{"use strict";const j=R(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,N,R){if(E===N)return R(1);this._rangePoints.push(E);this._rangePoints.push(N);this._rangeCallbacks.push(R)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,N)=>E0));const R=[];for(let $=0;${"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,N)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let N=Infinity;let R=-1;for(let j=0;j{if(E.size{for(const R of E){if(N(R))return R}};const first=E=>{const N=E.values().next();return N.done?undefined:N.value};const combine=(E,N)=>{if(N.size===0)return E;if(E.size===0)return N;const R=new Set(E);for(const E of N)R.add(E);return R};N.intersect=intersect;N.isSubset=isSubset;N.find=find;N.first=first;N.combine=combine},16102:E=>{"use strict";const N=Symbol("not sorted");class SortableSet extends Set{constructor(E,R){super(E);this._sortFn=R;this._lastActiveSortFn=N;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=N;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const N=Array.from(this).sort(E);super.clear();for(let E=0;E{"use strict";class StackedCacheMap{constructor(){this.map=new Map;this.stack=[]}addAll(E,N){if(N){this.stack.push(E);for(let N=this.stack.length-1;N>0;N--){const R=this.stack[N-1];if(R.size>=E.size)break;this.stack[N]=R;this.stack[N-1]=E}}else{for(const[N,R]of E){this.map.set(N,R)}}}set(E,N){this.map.set(E,N)}delete(E){throw new Error("Items can't be deleted from a StackedCacheMap")}has(E){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(E){for(const N of this.stack){const R=N.get(E);if(R!==undefined)return R}return this.map.get(E)}clear(){this.stack.length=0;this.map.clear()}get size(){let E=this.map.size;for(const N of this.stack){E+=N.size}return E}[Symbol.iterator](){const E=this.stack.map((E=>E[Symbol.iterator]()));let N=this.map[Symbol.iterator]();return{next(){let R=N.next();while(R.done&&E.length>0){N=E.pop();R=N.next()}return R}}}}E.exports=StackedCacheMap},80371:E=>{"use strict";const N=Symbol("tombstone");const R=Symbol("undefined");const extractPair=E=>{const j=E[0];const $=E[1];if($===R||$===N){return[j,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,N){this.map.set(E,N===undefined?R:N)}delete(E){if(this.stack.length>1){this.map.set(E,N)}else{this.map.delete(E)}}has(E){const R=this.map.get(E);if(R!==undefined){return R!==N}if(this.stack.length>1){for(let R=this.stack.length-2;R>=0;R--){const j=this.stack[R].get(E);if(j!==undefined){this.map.set(E,j);return j!==N}}this.map.set(E,N)}return false}get(E){const j=this.map.get(E);if(j!==undefined){return j===N||j===R?undefined:j}if(this.stack.length>1){for(let j=this.stack.length-2;j>=0;j--){const $=this.stack[j].get(E);if($!==undefined){this.map.set(E,$);return $===N||$===R?undefined:$}}this.map.set(E,N)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const R of E){if(R[1]===N){this.map.delete(R[0])}else{this.map.set(R[0],R[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined}add(E){const N=E.length;const R=this._value;if(R===undefined){const R=this._value=Buffer.allocUnsafe(N);for(let j=0;j{"use strict";const j=R(86949);class TupleQueue{constructor(E){this._set=new j(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const N of E){this.add(...N)}}}add(...E){let N=this._map;for(let R=0;R{const $=j.next();if($.done){if(E.length===0)return false;N.pop();return next(E.pop())}const[q,G]=$.value;E.push(j);N.push(q);if(G instanceof Set){R=G[Symbol.iterator]();return true}else{return next(G[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(R){const j=R.next();if(j.done){N.pop();if(!next(E.pop())){R=undefined}}else{return{done:false,value:N.concat(j.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,N)=>{"use strict";const R="\\".charCodeAt(0);const j="/".charCodeAt(0);const $="a".charCodeAt(0);const q="z".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="0".charCodeAt(0);const ce="9".charCodeAt(0);const le="+".charCodeAt(0);const _e="-".charCodeAt(0);const Ee=":".charCodeAt(0);const Te="#".charCodeAt(0);const we="?".charCodeAt(0);function getScheme(E){const N=E.charCodeAt(0);if((N<$||N>q)&&(Nie)){return undefined}let Ie=1;let Ne=E.charCodeAt(Ie);while(Ne>=$&&Ne<=q||Ne>=G&&Ne<=ie||Ne>=ae&&Ne<=ce||Ne===le||Ne===_e){if(++Ie===E.length)return undefined;Ne=E.charCodeAt(Ie)}if(Ne!==Ee)return undefined;if(Ie===1){const N=Ie+1{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...E){let N=this;for(let R=0;R{"use strict";const compileSearch=(E,N,R,j,$)=>{const q=["function ",E,"(a,l,h,",j.join(","),"){",$?"":"var i=",R?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if($){if(N.indexOf("c")<0){q.push(";if(x===y){return m}else if(x<=y){")}else{q.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{q.push(";if(",N,"){i=m;")}if(R){q.push("l=m+1}else{h=m-1}")}else{q.push("h=m-1}else{l=m+1}")}q.push("}");if($){q.push("return -1};")}else{q.push("return i};")}return q.join("")};const compileBoundsSearch=(E,N,R,j)=>{const $=compileSearch("A","x"+E+"y",N,["y"],j);const q=compileSearch("P","c(x,y)"+E+"0",N,["y","c"],j);const G="function dispatchBinarySearch";const ie="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[$,q,G,R,ie,R];const ce=ae.join("");const le=new Function(ce);return le()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,N)=>{"use strict";const R=new WeakMap;const j=new WeakMap;const $=Symbol("DELETE");const q=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;let j=R.get(E);if(j===undefined){j=new WeakMap;R.set(E,j)}const $=j.get(N);if($!==undefined)return $;const q=_cleverMerge(E,N,true);j.set(N,q);return q};const cachedSetProperty=(E,N,R)=>{let $=j.get(E);if($===undefined){$=new Map;j.set(E,$)}let q=$.get(N);if(q===undefined){q=new Map;$.set(N,q)}let G=q.get(R);if(G)return G;G={...E,[N]:R};q.set(R,G);return G};const G=new WeakMap;const cachedParseObject=E=>{const N=G.get(E);if(N!==undefined)return N;const R=parseObject(E);G.set(E,R);return R};const parseObject=E=>{const N=new Map;let R;const getInfo=E=>{const R=N.get(E);if(R!==undefined)return R;const j={base:undefined,byProperty:undefined,byValues:undefined};N.set(E,j);return j};for(const N of Object.keys(E)){if(N.startsWith("by")){const j=N;const $=E[j];if(typeof $==="object"){for(const E of Object.keys($)){const N=$[E];for(const R of Object.keys(N)){const q=getInfo(R);if(q.byProperty===undefined){q.byProperty=j;q.byValues=new Map}else if(q.byProperty!==j){throw new Error(`${j} and ${q.byProperty} for a single property is not supported`)}q.byValues.set(E,N[R]);if(E==="default"){for(const E of Object.keys($)){if(!q.byValues.has(E))q.byValues.set(E,undefined)}}}}}else if(typeof $==="function"){if(R===undefined){R={byProperty:N,fn:$}}else{throw new Error(`${N} and ${R.byProperty} when both are functions is not supported`)}}else{const R=getInfo(N);R.base=E[N]}}else{const R=getInfo(N);R.base=E[N]}}return{static:N,dynamic:R}};const serializeObject=(E,N)=>{const R={};for(const N of E.values()){if(N.byProperty!==undefined){const E=R[N.byProperty]=R[N.byProperty]||{};for(const R of N.byValues.keys()){E[R]=E[R]||{}}}}for(const[N,j]of E){if(j.base!==undefined){R[N]=j.base}if(j.byProperty!==undefined){const E=R[j.byProperty]=R[j.byProperty]||{};for(const R of Object.keys(E)){const $=getFromByValues(j.byValues,R);if($!==undefined)E[R][N]=$}}}if(N!==undefined){R[N.byProperty]=N.fn}return R};const ie=0;const ae=1;const ce=2;const le=3;const _e=4;const getValueType=E=>{if(E===undefined){return ie}else if(E===$){return _e}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return ce;return ae}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return le}return ae};const cleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,N,false)};const _cleverMerge=(E,N,R=false)=>{const j=R?cachedParseObject(E):parseObject(E);const{static:$,dynamic:G}=j;if(G!==undefined){let{byProperty:E,fn:$}=G;const ie=$[q];if(ie){N=R?cachedCleverMerge(ie[1],N):cleverMerge(ie[1],N);$=ie[0]}const newFn=(...E)=>{const j=$(...E);return R?cachedCleverMerge(j,N):cleverMerge(j,N)};newFn[q]=[$,N];return serializeObject(j.static,{byProperty:E,fn:newFn})}const ie=R?cachedParseObject(N):parseObject(N);const{static:ae,dynamic:ce}=ie;const le=new Map;for(const[E,N]of $){const j=ae.get(E);const $=j!==undefined?mergeEntries(N,j,R):N;le.set(E,$)}for(const[E,N]of ae){if(!$.has(E)){le.set(E,N)}}return serializeObject(le,ce)};const mergeEntries=(E,N,R)=>{switch(getValueType(N.base)){case ae:case _e:return N;case ie:if(!E.byProperty){return{base:E.base,byProperty:N.byProperty,byValues:N.byValues}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}else{const j=new Map(E.byValues);for(const[$,q]of N.byValues){const N=getFromByValues(E.byValues,$);j.set($,mergeSingleValue(N,q,R))}return{base:E.base,byProperty:E.byProperty,byValues:j}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,N.base,R),byProperty:N.byProperty,byValues:N.byValues}}let j;const $=new Map(E.byValues);for(const[E,j]of $){$.set(E,mergeSingleValue(j,N.base,R))}if(Array.from(E.byValues.values()).every((E=>{const N=getValueType(E);return N===ae||N===_e}))){j=mergeSingleValue(E.base,N.base,R)}else{j=E.base;if(!$.has("default"))$.set("default",N.base)}if(!N.byProperty){return{base:j,byProperty:E.byProperty,byValues:$}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}const q=new Map($);for(const[E,j]of N.byValues){const N=getFromByValues($,E);q.set(E,mergeSingleValue(N,j,R))}return{base:j,byProperty:E.byProperty,byValues:q}}}};const getFromByValues=(E,N)=>{if(N!=="default"&&E.has(N)){return E.get(N)}return E.get("default")};const mergeSingleValue=(E,N,R)=>{const j=getValueType(N);const $=getValueType(E);switch(j){case _e:case ae:return N;case le:{return $!==le?N:R?cachedCleverMerge(E,N):cleverMerge(E,N)}case ie:return E;case ce:switch($!==ae?$:Array.isArray(E)?ce:le){case ie:return N;case _e:return N.filter((E=>E!=="..."));case ce:{const R=[];for(const j of N){if(j==="..."){for(const N of E){R.push(N)}}else{R.push(j)}}return R}case le:return N.map((N=>N==="..."?E:N));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];const $=getValueType(j);switch($){case ie:case _e:break;case le:N[R]=removeOperations(j);break;case ce:N[R]=j.filter((E=>E!=="..."));break;default:N[R]=j;break}}return N};const resolveByProperty=(E,N,...R)=>{if(typeof E!=="object"||E===null||!(N in E)){return E}const{[N]:j,...$}=E;const q=$;const G=j;if(typeof G==="object"){const E=R[0];if(E in G){return cachedCleverMerge(q,G[E])}else if("default"in G){return cachedCleverMerge(q,G.default)}else{return q}}else if(typeof G==="function"){const E=G.apply(null,R);return cachedCleverMerge(q,resolveByProperty(E,N,...R))}};N.cachedSetProperty=cachedSetProperty;N.cachedCleverMerge=cachedCleverMerge;N.cleverMerge=cleverMerge;N.resolveByProperty=resolveByProperty;N.removeOperations=removeOperations;N.DELETE=$},68673:(E,N,R)=>{"use strict";const{compareRuntime:j}=R(37416);const createCachedParameterizedComparator=E=>{const N=new WeakMap;return R=>{const j=N.get(R);if(j!==undefined)return j;const $=E.bind(null,R);N.set(R,$);return $}};N.compareChunksById=(E,N)=>compareIds(E.id,N.id);N.compareModulesByIdentifier=(E,N)=>compareIds(E.identifier(),N.identifier());const compareModulesById=(E,N,R)=>compareIds(E.getModuleId(N),E.getModuleId(R));N.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,N)=>{if(typeof E!==typeof N){return typeof EN)return 1;return 0};N.compareNumbers=compareNumbers;const compareStringsNumeric=(E,N)=>{const R=E.split(/(\d+)/);const j=N.split(/(\d+)/);const $=Math.min(R.length,j.length);for(let E=0;E<$;E++){const N=R[E];const $=j[E];if(E%2===0){if(N.length>$.length){if(N.slice(0,$.length)>$)return 1;return-1}else if($.length>N.length){if($.slice(0,N.length)>N)return-1;return 1}else{if(N<$)return-1;if(N>$)return 1}}else{const E=+N;const R=+$;if(ER)return 1}}if(j.lengthR.length)return-1;return 0};N.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPostOrderIndex(N),E.getPostOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPreOrderIndex(N),E.getPreOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,N,R)=>{const j=compareIds(E.getModuleId(N),E.getModuleId(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,N,R)=>E.compareChunks(N,R);N.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,N)=>{if(typeof E!==typeof N){return typeof EN)return 1;return 0};N.compareIds=compareIds;const compareStrings=(E,N)=>{if(EN)return 1;return 0};N.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,N)=>E.index{if(R.length>0){const[j,...$]=R;return concatComparators(E,concatComparators(N,j,...$))}const j=$.get(E,N);if(j!==undefined)return j;const result=(R,j)=>{const $=E(R,j);if($!==0)return $;return N(R,j)};$.set(E,N,result);return result};N.concatComparators=concatComparators;const q=new TwoKeyWeakMap;const compareSelect=(E,N)=>{const R=q.get(E,N);if(R!==undefined)return R;const result=(R,j)=>{const $=E(R);const q=E(j);if($!==undefined&&$!==null){if(q!==undefined&&q!==null){return N($,q)}return-1}else{if(q!==undefined&&q!==null){return 1}return 0}};q.set(E,N,result);return result};N.compareSelect=compareSelect;const G=new WeakMap;const compareIterables=E=>{const N=G.get(E);if(N!==undefined)return N;const result=(N,R)=>{const j=N[Symbol.iterator]();const $=R[Symbol.iterator]();while(true){const N=j.next();const R=$.next();if(N.done){return R.done?0:-1}else if(R.done){return 1}const q=E(N.value,R.value);if(q!==0)return q}};G.set(E,result);return result};N.compareIterables=compareIterables;N.keepOriginalOrder=E=>{const N=new Map;let R=0;for(const j of E){N.set(j,R++)}return(E,R)=>compareNumbers(N.get(E),N.get(R))};N.compareChunksNatural=E=>{const R=N.compareModulesById(E);const $=compareIterables(R);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),j),compareSelect((N=>E.getOrderedChunkModulesIterable(N,R)),$))};N.compareLocations=(E,N)=>{let R=typeof E==="object"&&E!==null;let j=typeof N==="object"&&N!==null;if(!R||!j){if(R)return 1;if(j)return-1;return 0}if("start"in E){if("start"in N){const R=E.start;const j=N.start;if(R.linej.line)return 1;if(R.columnj.column)return 1}else return-1}else if("start"in N)return 1;if("name"in E){if("name"in N){if(E.nameN.name)return 1}else return-1}else if("name"in N)return 1;if("index"in E){if("index"in N){if(E.indexN.index)return 1}else return-1}else if("index"in N)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const N=Object.keys(E).filter((N=>E[N]));const R=Object.keys(E).filter((N=>!E[N]));if(N.length===0)return false;if(R.length===0)return true;return compileBooleanMatcherFromLists(N,R)};const compileBooleanMatcherFromLists=(E,N)=>{if(E.length===0)return()=>"false";if(N.length===0)return()=>"true";if(E.length===1)return N=>`${toSimpleString(E[0])} == ${N}`;if(N.length===1)return E=>`${toSimpleString(N[0])} != ${E}`;const R=itemsToRegexp(E);const j=itemsToRegexp(N);if(R.length<=j.length){return E=>`/^${R}$/.test(${E})`}else{return E=>`!/^${j}$/.test(${E})`}};const popCommonItems=(E,N,R)=>{const j=new Map;for(const R of E){const E=N(R);if(E){let N=j.get(E);if(N===undefined){N=[];j.set(E,N)}N.push(R)}}const $=[];for(const N of j.values()){if(R(N)){for(const R of N){E.delete(R)}$.push(N)}}return $};const getCommonPrefix=E=>{let N=E[0];for(let R=1;R{let N=E[0];for(let R=1;R=0;E--,R--){if(j[E]!==N[R]){N=N.slice(R+1);break}}}return N};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const N=[];let R=0;for(const N of E){if(N.length===1){R++}}if(R===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const j=new Set(E.sort());if(R>2){let E="";for(const N of j){if(N.length===1){E+=N;j.delete(N)}}N.push(`[${quoteMeta(E)}]`)}if(N.length===0&&j.size===2){const N=getCommonPrefix(E);const R=getCommonSuffix(E.map((E=>E.slice(N.length))));if(N.length>0||R.length>0){return`${quoteMeta(N)}${itemsToRegexp(E.map((E=>E.slice(N.length,-R.length||undefined))))}${quoteMeta(R)}`}}if(N.length===0&&j.size===2){const E=j[Symbol.iterator]();const N=E.next().value;const R=E.next().value;if(N.length>0&&R.length>0&&N.slice(-1)===R.slice(-1)){return`${itemsToRegexp([N.slice(0,-1),R.slice(0,-1)])}${quoteMeta(N.slice(-1))}`}}const $=popCommonItems(j,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of $){const R=getCommonPrefix(E);N.push(`${quoteMeta(R)}${itemsToRegexp(E.map((E=>E.slice(R.length))))}`)}const q=popCommonItems(j,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of q){const R=getCommonSuffix(E);N.push(`${itemsToRegexp(E.map((E=>E.slice(0,-R.length))))}${quoteMeta(R)}`)}const G=N.concat(Array.from(j,quoteMeta));if(G.length===1)return G[0];return`(${G.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(15235).validate));const createSchemaValidation=(E=(E=>false),N,R)=>{N=j(N);return j=>{if(!E(j)){$()(N(),j,R)}}};E.exports=createSchemaValidation},35891:(E,N,R)=>{"use strict";const j=R(75066);const $=2e3;const q={};class BulkUpdateDecorator extends j{constructor(E,N){super();this.hashKey=N;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,N){if(N!==undefined||typeof E!=="string"||E.length>$){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,N)}else{this.buffer+=E;if(this.buffer.length>$){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let N;const R=this.buffer;if(this.hash===undefined){const j=`${this.hashKey}-${E}`;N=q[j];if(N===undefined){N=q[j]=new Map}const $=N.get(R);if($!==undefined)return $;this.hash=this.hashFactory()}if(R.length>0){this.hash.update(R)}const j=this.hash.digest(E);const $=typeof j==="string"?j:j.toString();if(N!==undefined){N.set(R,$)}return $}}class DebugHash extends j{constructor(){super();this.string=""}update(E,N){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let G=undefined;let ie=undefined;let ae=undefined;let ce=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;case"xxhash64":if(ie===undefined){ie=R(92976);if(ce===undefined){ce=R(89312)}}return new ce(ie());case"md4":if(ae===undefined){ae=R(90526);if(ce===undefined){ce=R(89312)}}return new ce(ae());case"native-md4":if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash("md4")),"md4");default:if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash(E)),E)}}},16595:(E,N,R)=>{"use strict";const j=R(73837);const $=new Map;const createDeprecation=(E,N)=>{const R=$.get(E);if(R!==undefined)return R;const q=j.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+N);$.set(E,q);return q};const q=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const G=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];N.arrayToSetDeprecation=(E,N)=>{for(const R of q){if(E[R])continue;const j=createDeprecation(`${N} was changed from Array to Set (using Array method '${R}' is deprecated)`,"ARRAY_TO_SET");E[R]=function(){j();const E=Array.from(this);return Array.prototype[R].apply(E,arguments)}}const R=createDeprecation(`${N} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const j=createDeprecation(`${N} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const $=createDeprecation(`${N} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){R();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const R of G){if(E[R])continue;E[R]=()=>{throw new Error(`${N} was changed from Array to Set (using Array method '${R}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){$();let N=0;for(const R of this){if(N++===E)return R}return undefined};return fn};const defineIndexGetter=R=>{Object.defineProperty(E,R,{get:createIndexGetter(R),set(E){throw new Error(`${N} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ie=1;Object.defineProperty(E,"length",{get(){j();const E=this.size;for(ie;ie{let R=false;class SetDeprecatedArray extends Set{constructor(j){super(j);if(!R){R=true;N.arrayToSetDeprecation(SetDeprecatedArray.prototype,E)}}}return SetDeprecatedArray};N.soonFrozenObjectDeprecation=(E,N,R,$="")=>{const q=`${N} will be frozen in future, all modifications are deprecated.${$&&`\n${$}`}`;return new Proxy(E,{set:j.deprecate(((E,N,R,j)=>Reflect.set(E,N,R,j)),q,R),defineProperty:j.deprecate(((E,N,R)=>Reflect.defineProperty(E,N,R)),q,R),deleteProperty:j.deprecate(((E,N)=>Reflect.deleteProperty(E,N)),q,R),setPrototypeOf:j.deprecate(((E,N)=>Reflect.setPrototypeOf(E,N)),q,R)})};const deprecateAllProperties=(E,N,R)=>{const $={};const q=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(q)){const G=q[E];if(typeof G.value==="function"){Object.defineProperty($,E,{...G,value:j.deprecate(G.value,N,R)})}else if(G.get||G.set){Object.defineProperty($,E,{...G,get:G.get&&j.deprecate(G.get,N,R),set:G.set&&j.deprecate(G.set,N,R)})}else{let q=G.value;Object.defineProperty($,E,{configurable:G.configurable,enumerable:G.enumerable,get:j.deprecate((()=>q),N,R),set:G.writable?j.deprecate((E=>q=E),N,R):undefined})}}return $};N.deprecateAllProperties=deprecateAllProperties;N.createFakeHook=(E,N,R)=>{if(N&&R){E=deprecateAllProperties(E,N,R)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,N)=>{const R=Math.min(E.length,N.length);let j=0;for(let $=0;${const j=Math.min(E.length,N.length);let $=0;while(${for(const R of Object.keys(N)){E[R]=(E[R]||0)+N[R]}};const subtractSizeFrom=(E,N)=>{for(const R of Object.keys(N)){E[R]-=N[R]}};const sumSize=E=>{const N=Object.create(null);for(const R of E){addSizeTo(N,R.size)}return N};const isTooBig=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j>$)return true}}return false};const isTooSmall=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j<$)return true}}return false};const getTooSmallTypes=(E,N)=>{const R=new Set;for(const j of Object.keys(E)){const $=E[j];if($===0)continue;const q=N[j];if(typeof q==="number"){if(${let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R++}return R};const selectiveSizeSum=(E,N)=>{let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R+=E[j]}return R};class Node{constructor(E,N,R){this.item=E;this.key=N;this.size=R}}class Group{constructor(E,N,R){this.nodes=E;this.similarities=N;this.size=R||sumSize(E);this.key=undefined}popNodes(E){const N=[];const R=[];const j=[];let $;for(let q=0;q0){R.push($===this.nodes[q-1]?this.similarities[q-1]:similarity($.key,G.key))}N.push(G);$=G}}if(j.length===this.nodes.length)return undefined;this.nodes=N;this.similarities=R;this.size=sumSize(N);return j}}const getSimilarities=E=>{const N=[];let R=undefined;for(const j of E){if(R!==undefined){N.push(similarity(R.key,j.key))}R=j}return N};E.exports=({maxSize:E,minSize:N,items:R,getSize:j,getKey:$})=>{const q=[];const G=Array.from(R,(E=>new Node(E,$(E),j(E))));const ie=[];G.sort(((E,N)=>{if(E.keyN.key)return 1;return 0}));for(const R of G){if(isTooBig(R.size,E)&&!isTooSmall(R.size,N)){q.push(new Group([R],[]))}else{ie.push(R)}}if(ie.length>0){const R=new Group(ie,getSimilarities(ie));const removeProblematicNodes=(E,R=E.size)=>{const j=getTooSmallTypes(R,N);if(j.size>0){const N=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(N===undefined)return false;const R=q.filter((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(R.length>0){const E=R.reduce(((E,N)=>{const R=getNumberOfMatchingSizeTypes(E,j);const $=getNumberOfMatchingSizeTypes(N,j);if(R!==$)return R<$?N:E;if(selectiveSizeSum(E.size,j)>selectiveSizeSum(N.size,j))return N;return E}));for(const R of N)E.nodes.push(R);E.nodes.sort(((E,N)=>{if(E.keyN.key)return 1;return 0}))}else{q.push(new Group(N,null))}return true}else{return false}};if(R.nodes.length>0){const j=[R];while(j.length){const R=j.pop();if(!isTooBig(R.size,E)){q.push(R);continue}if(removeProblematicNodes(R)){j.push(R);continue}let $=1;let G=Object.create(null);addSizeTo(G,R.nodes[0].size);while($=0&&isTooSmall(ae,N)){addSizeTo(ae,R.nodes[ie].size);ie--}if($-1>ie){let E;if(ie{if(E.nodes[0].keyN.nodes[0].key)return 1;return 0}));const ae=new Set;for(let E=0;E({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const N=E.indexOf("@");return[E.substring(N+1),E.substring(0,N)]}},62598:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=N;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,G)=>{const ie=new Map;for(const N of E){const E=new Node(N);ie.set(N,E)}if(ie.size<=1)return E;for(const E of ie.values()){for(const N of G(E.item)){const R=ie.get(N);if(R!==undefined){E.dependencies.add(R)}}}const ae=new Set;const ce=new Set;for(const E of ie.values()){if(E.marker===N){E.marker=R;const G=[{node:E,openEdges:Array.from(E.dependencies)}];while(G.length>0){const E=G[G.length-1];if(E.openEdges.length>0){const ie=E.openEdges.pop();switch(ie.marker){case N:G.push({node:ie,openEdges:Array.from(ie.dependencies)});ie.marker=R;break;case R:{let E=ie.cycle;if(!E){E=new Cycle;E.nodes.add(ie);ie.cycle=E}for(let N=G.length-1;G[N].node!==ie;N--){const R=G[N].node;if(R.cycle){if(R.cycle!==E){for(const N of R.cycle.nodes){N.cycle=E;E.nodes.add(N)}}}else{R.cycle=E;E.nodes.add(R)}}break}case q:ie.marker=j;ae.delete(ie);break;case $:ce.delete(ie.cycle);ie.marker=j;break}}else{G.pop();E.node.marker=j}}const ie=E.cycle;if(ie){for(const E of ie.nodes){E.marker=$}ce.add(ie)}else{E.marker=q;ae.add(E)}}}for(const E of ce){let N=0;const R=new Set;const j=E.nodes;for(const E of j){for(const $ of E.dependencies){if(j.has($)){$.incoming++;if($.incomingN){R.clear();N=$.incoming}R.add($)}}}for(const E of R){ae.add(E)}}if(ae.size>0){return Array.from(ae,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,N,R)=>{"use strict";const j=R(71017);const relative=(E,N,R)=>{if(E&&E.relative){return E.relative(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.relative(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.relative(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};N.relative=relative;const join=(E,N,R)=>{if(E&&E.join){return E.join(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.join(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.join(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};N.join=join;const dirname=(E,N)=>{if(E&&E.dirname){return E.dirname(N)}else if(j.posix.isAbsolute(N)){return j.posix.dirname(N)}else if(j.win32.isAbsolute(N)){return j.win32.dirname(N)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};N.dirname=dirname;const mkdirp=(E,N,R)=>{E.mkdir(N,(j=>{if(j){if(j.code==="ENOENT"){const $=dirname(E,N);if($===N){R(j);return}mkdirp(E,$,(j=>{if(j){R(j);return}E.mkdir(N,(E=>{if(E){if(E.code==="EEXIST"){R();return}R(E);return}R()}))}));return}else if(j.code==="EEXIST"){R();return}R(j);return}R()}))};N.mkdirp=mkdirp;const mkdirpSync=(E,N)=>{try{E.mkdirSync(N)}catch(R){if(R){if(R.code==="ENOENT"){const j=dirname(E,N);if(j===N){throw R}mkdirpSync(E,j);E.mkdirSync(N);return}else if(R.code==="EEXIST"){return}throw R}}};N.mkdirpSync=mkdirpSync;const readJson=(E,N,R)=>{if("readJson"in E)return E.readJson(N,R);E.readFile(N,((E,N)=>{if(E)return R(E);let j;try{j=JSON.parse(N.toString("utf-8"))}catch(E){return R(E)}return R(null,j)}))};N.readJson=readJson;const lstatReadlinkAbsolute=(E,N,R)=>{let j=3;const doReadLink=()=>{E.readlink(N,(($,q)=>{if($&&--j>0){return doStat()}if($||!q)return doStat();const G=q.toString();R(null,join(E,dirname(E,N),G))}))};const doStat=()=>{if("lstat"in E){return E.lstat(N,((E,N)=>{if(E)return R(E);if(N.isSymbolicLink()){return doReadLink()}R(null,N)}))}else{return E.stat(N,R)}};if("lstat"in E)return doStat();doReadLink()};N.lstatReadlinkAbsolute=lstatReadlinkAbsolute},89312:(E,N,R)=>{"use strict";const j=R(75066);const $=R(27100).MAX_SHORT_STRING;class BatchedHash extends j{constructor(E){super();this.string=undefined;this.encoding=undefined;this.hash=E}update(E,N){if(this.string!==undefined){if(typeof E==="string"&&N===this.encoding&&this.string.length+E.length<$){this.string+=E;return this}this.hash.update(this.string,this.encoding);this.string=undefined}if(typeof E==="string"){if(E.length<$&&(!N||!N.startsWith("ba"))){this.string=E;this.encoding=N}else{this.hash.update(E,N)}}else{this.hash.update(E)}return this}digest(E){if(this.string!==undefined){this.hash.update(this.string,this.encoding)}return this.hash.digest(E)}}E.exports=BatchedHash},90526:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));E.exports=j.bind(null,$,[],64,32)},27100:E=>{"use strict";const N=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(E,N,R,j){const $=E.exports;$.init();this.exports=$;this.mem=Buffer.from($.memory.buffer,0,65536);this.buffered=0;this.instancesPool=N;this.chunkSize=R;this.digestSize=j}reset(){this.buffered=0;this.exports.init()}update(E,R){if(typeof E==="string"){while(E.length>N){this._updateWithShortString(E.slice(0,N),R);E=E.slice(N)}this._updateWithShortString(E,R);return this}this._updateWithBuffer(E);return this}_updateWithShortString(E,N){const{exports:R,buffered:j,mem:$,chunkSize:q}=this;let G;if(E.length<70){if(!N||N==="utf-8"||N==="utf8"){G=j;for(let R=0;R>6|192;$[G+1]=j&63|128;G+=2}else{G+=$.write(E.slice(R),G,N);break}}}else if(N==="latin1"){G=j;for(let N=0;N0)$.copyWithin(0,E,G)}}_updateWithBuffer(E){const{exports:N,buffered:R,mem:j}=this;const $=E.length;if(R+$65536){let $=65536-R;E.copy(j,R,0,$);N.update(65536);const G=q-R-65536;while($0)E.copy(j,0,$-G,$)}}digest(E){const{exports:N,buffered:R,mem:j,digestSize:$}=this;N.final(R);this.instancesPool.push(this);const q=j.toString("latin1",0,$);if(E==="hex")return q;if(E==="binary"||!E)return Buffer.from(q,"hex");return Buffer.from(q,"hex").toString(E)}}const create=(E,N,R,j)=>{if(N.length>0){const E=N.pop();E.reset();return E}else{return new WasmHash(new WebAssembly.Instance(E),N,R,j)}};E.exports=create;E.exports.MAX_SHORT_STRING=N},92976:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));E.exports=j.bind(null,$,[],32,16)},49197:(E,N,R)=>{"use strict";const j=R(71017);const $=/^[a-zA-Z]:[\\/]/;const q=/([|!])/;const G=/\\/g;const relativePathToRequest=E=>{if(E==="")return"./.";if(E==="..")return"../.";if(E.startsWith("../"))return E;return`./${E}`};const absoluteToRequest=(E,N)=>{if(N[0]==="/"){if(N.length>1&&N[N.length-1]==="/"){return N}const R=N.indexOf("?");let $=R===-1?N:N.slice(0,R);$=relativePathToRequest(j.posix.relative(E,$));return R===-1?$:$+N.slice(R)}if($.test(N)){const R=N.indexOf("?");let q=R===-1?N:N.slice(0,R);q=j.win32.relative(E,q);if(!$.test(q)){q=relativePathToRequest(q.replace(G,"/"))}return R===-1?q:q+N.slice(R)}return N};const requestToAbsolute=(E,N)=>{if(N.startsWith("./")||N.startsWith("../"))return j.join(E,N);return N};const makeCacheable=E=>{const N=new WeakMap;const cachedFn=(R,j,$)=>{if(!$)return E(R,j);let q=N.get($);if(q===undefined){q=new Map;N.set($,q)}let G;let ie=q.get(R);if(ie===undefined){q.set(R,ie=new Map)}else{G=ie.get(j)}if(G!==undefined){return G}else{const N=E(R,j);ie.set(j,N);return N}};cachedFn.bindCache=R=>{let j;if(R){j=N.get(R);if(j===undefined){j=new Map;N.set(R,j)}}else{j=new Map}const boundFn=(N,R)=>{let $;let q=j.get(N);if(q===undefined){j.set(N,q=new Map)}else{$=q.get(R)}if($!==undefined){return $}else{const j=E(N,R);q.set(R,j);return j}};return boundFn};cachedFn.bindContextCache=(R,j)=>{let $;if(j){let E=N.get(j);if(E===undefined){E=new Map;N.set(j,E)}$=E.get(R);if($===undefined){E.set(R,$=new Map)}}else{$=new Map}const boundFn=N=>{const j=$.get(N);if(j!==undefined){return j}else{const j=E(R,N);$.set(N,j);return j}};return boundFn};return cachedFn};const _makePathsRelative=(E,N)=>N.split(q).map((N=>absoluteToRequest(E,N))).join("");N.makePathsRelative=makeCacheable(_makePathsRelative);const _makePathsAbsolute=(E,N)=>N.split(q).map((N=>requestToAbsolute(E,N))).join("");N.makePathsAbsolute=makeCacheable(_makePathsAbsolute);const _contextify=(E,N)=>N.split("!").map((N=>absoluteToRequest(E,N))).join("!");const ie=makeCacheable(_contextify);N.contextify=ie;const _absolutify=(E,N)=>N.split("!").map((N=>requestToAbsolute(E,N))).join("!");const ae=makeCacheable(_absolutify);N.absolutify=ae;const ce=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const N=ce.exec(E);return{resource:E,path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}};N.parseResource=(E=>{const N=new WeakMap;const getCache=E=>{const R=N.get(E);if(R!==undefined)return R;const j=new Map;N.set(E,j);return j};const fn=(N,R)=>{if(!R)return E(N);const j=getCache(R);const $=j.get(N);if($!==undefined)return $;const q=E(N);j.set(N,q);return q};fn.bindCache=N=>{const R=getCache(N);return N=>{const j=R.get(N);if(j!==undefined)return j;const $=E(N);R.set(N,$);return $}};return fn})(_parseResource);N.getUndoPath=(E,N,R)=>{let j=-1;let $="";N=N.replace(/[\\/]$/,"");for(const R of E.split(/[/\\]+/)){if(R===".."){if(j>-1){j--}else{const E=N.lastIndexOf("/");const R=N.lastIndexOf("\\");const j=E<0?R:R<0?E:Math.max(E,R);if(j<0)return N+"/";$=N.slice(j+1)+"/"+$;N=N.slice(0,j)}}else if(R!=="."){j++}}return j>0?`${"../".repeat(j)}${$}`:R?`./${$}`:$}},90331:(E,N,R)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>R(98221),CommentCompilationWarning:()=>R(47207),ContextModule:()=>R(58126),"cache/PackFileCacheStrategy":()=>R(83793),"cache/ResolverCachePlugin":()=>R(13653),"container/ContainerEntryDependency":()=>R(76041),"container/ContainerEntryModule":()=>R(89591),"container/ContainerExposedDependency":()=>R(4523),"container/FallbackDependency":()=>R(27426),"container/FallbackItemDependency":()=>R(55525),"container/FallbackModule":()=>R(13386),"container/RemoteModule":()=>R(68679),"container/RemoteToExternalDependency":()=>R(44742),"dependencies/AMDDefineDependency":()=>R(46960),"dependencies/AMDRequireArrayDependency":()=>R(95715),"dependencies/AMDRequireContextDependency":()=>R(38145),"dependencies/AMDRequireDependenciesBlock":()=>R(83842),"dependencies/AMDRequireDependency":()=>R(45167),"dependencies/AMDRequireItemDependency":()=>R(29022),"dependencies/CachedConstDependency":()=>R(59455),"dependencies/CreateScriptUrlDependency":()=>R(7257),"dependencies/CommonJsRequireContextDependency":()=>R(51454),"dependencies/CommonJsExportRequireDependency":()=>R(1248),"dependencies/CommonJsExportsDependency":()=>R(26702),"dependencies/CommonJsFullRequireDependency":()=>R(87519),"dependencies/CommonJsRequireDependency":()=>R(37313),"dependencies/CommonJsSelfReferenceDependency":()=>R(94147),"dependencies/ConstDependency":()=>R(66298),"dependencies/ContextDependency":()=>R(400),"dependencies/ContextElementDependency":()=>R(90872),"dependencies/CriticalDependencyWarning":()=>R(75314),"dependencies/DelegatedSourceDependency":()=>R(49422),"dependencies/DllEntryDependency":()=>R(95189),"dependencies/EntryDependency":()=>R(66583),"dependencies/ExportsInfoDependency":()=>R(51420),"dependencies/HarmonyAcceptDependency":()=>R(27790),"dependencies/HarmonyAcceptImportDependency":()=>R(80654),"dependencies/HarmonyCompatibilityDependency":()=>R(54290),"dependencies/HarmonyExportExpressionDependency":()=>R(55037),"dependencies/HarmonyExportHeaderDependency":()=>R(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>R(44576),"dependencies/HarmonyExportSpecifierDependency":()=>R(14696),"dependencies/HarmonyImportSideEffectDependency":()=>R(69707),"dependencies/HarmonyImportSpecifierDependency":()=>R(2230),"dependencies/ImportContextDependency":()=>R(4828),"dependencies/ImportDependency":()=>R(20013),"dependencies/ImportEagerDependency":()=>R(75708),"dependencies/ImportWeakDependency":()=>R(12849),"dependencies/JsonExportsDependency":()=>R(38895),"dependencies/LocalModule":()=>R(77230),"dependencies/LocalModuleDependency":()=>R(14229),"dependencies/ModuleDecoratorDependency":()=>R(2706),"dependencies/ModuleHotAcceptDependency":()=>R(21809),"dependencies/ModuleHotDeclineDependency":()=>R(73158),"dependencies/ImportMetaHotAcceptDependency":()=>R(76302),"dependencies/ImportMetaHotDeclineDependency":()=>R(5389),"dependencies/ProvidedDependency":()=>R(1335),"dependencies/PureExpressionDependency":()=>R(53567),"dependencies/RequireContextDependency":()=>R(19204),"dependencies/RequireEnsureDependenciesBlock":()=>R(15196),"dependencies/RequireEnsureDependency":()=>R(15427),"dependencies/RequireEnsureItemDependency":()=>R(81058),"dependencies/RequireHeaderDependency":()=>R(70340),"dependencies/RequireIncludeDependency":()=>R(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>R(1913),"dependencies/RequireResolveContextDependency":()=>R(84817),"dependencies/RequireResolveDependency":()=>R(76913),"dependencies/RequireResolveHeaderDependency":()=>R(23380),"dependencies/RuntimeRequirementsDependency":()=>R(35424),"dependencies/StaticExportsDependency":()=>R(96076),"dependencies/SystemPlugin":()=>R(62630),"dependencies/UnsupportedDependency":()=>R(12584),"dependencies/URLDependency":()=>R(66444),"dependencies/WebAssemblyExportImportedDependency":()=>R(30697),"dependencies/WebAssemblyImportDependency":()=>R(33081),"dependencies/WebpackIsIncludedDependency":()=>R(46715),"dependencies/WorkerDependency":()=>R(89017),"json/JsonData":()=>R(72055),"optimize/ConcatenatedModule":()=>R(95734),DelegatedModule:()=>R(3955),DependenciesBlock:()=>R(32448),DllModule:()=>R(44593),ExternalModule:()=>R(16734),FileSystemInfo:()=>R(22996),InitFragment:()=>R(63272),InvalidDependenciesModuleWarning:()=>R(49619),Module:()=>R(53453),ModuleBuildError:()=>R(26509),ModuleDependencyWarning:()=>R(23280),ModuleError:()=>R(91613),ModuleGraph:()=>R(75412),ModuleParseError:()=>R(14489),ModuleWarning:()=>R(8893),NormalModule:()=>R(53520),RawModule:()=>R(22804),"sharing/ConsumeSharedModule":()=>R(21606),"sharing/ConsumeSharedFallbackDependency":()=>R(86827),"sharing/ProvideSharedModule":()=>R(99114),"sharing/ProvideSharedDependency":()=>R(56049),"sharing/ProvideForSharedDependency":()=>R(31095),UnsupportedFeatureWarning:()=>R(53558),"util/LazySet":()=>R(83379),UnhandledSchemeError:()=>R(77090),NodeStuffInWebError:()=>R(39960),WebpackError:()=>R(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,N,R)=>{"use strict";const{register:j}=R(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,N){E.serialize(N)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const N=new this.Constructor;N.deserialize(E);return N}}E.exports=(E,N,R=null)=>{j(E,N,R,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let N=false;let R=undefined;return()=>{if(N){return R}else{R=E();N=true;E=undefined;return R}}};E.exports=memoize},12631:E=>{"use strict";const N=2147483648;const R=N-1;const j=4;const $=[0,0,0,0,0];const q=[3,7,17,19];E.exports=(E,G)=>{$.fill(0);for(let N=0;N>1}}if(G<=R){let E=0;for(let N=0;N{"use strict";const processAsyncTree=(E,N,R,j)=>{const $=Array.from(E);if($.length===0)return j();let q=0;let G=false;let ie=true;const push=E=>{$.push(E);if(!ie&&q{q--;if(E&&!G){G=true;j(E);return}if(!ie){ie=true;process.nextTick(processQueue)}};const processQueue=()=>{if(G)return;while(q0){q++;const E=$.pop();R(E,push,processorCallback)}ie=false;if($.length===0&&q===0&&!G){G=true;j()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const N=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const R=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","enum","implements","interface","let","package","private","protected","public","static","yield","yield","await","null","true","false"]);const propertyAccess=(E,j=0)=>{let $="";for(let q=j;q{"use strict";const{register:j}=R(24568);const $=R(14150).Position;const q=R(14150).SourceLocation;const G=R(24672)["default"];const{CachedSource:ie,ConcatSource:ae,OriginalSource:ce,PrefixSource:le,RawSource:_e,ReplaceSource:Ee,SourceMapSource:Te}=R(48135);const we="webpack/lib/util/registerExternalSerializer";j(ie,we,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:N,writeLazy:R}){if(R){R(E.originalLazy())}else{N(E.original())}N(E.getCachedData())}deserialize({read:E}){const N=E();const R=E();return new ie(N,R)}});j(_e,we,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:N}){N(E.buffer());N(!E.isBuffer())}deserialize({read:E}){const N=E();const R=E();return new _e(N,R)}});j(ae,we,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:N}){N(E.getChildren())}deserialize({read:E}){const N=new ae;N.addAllSkipOptimizing(E());return N}});j(le,we,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:N}){N(E.getPrefix());N(E.original())}deserialize({read:E}){return new le(E(),E())}});j(Ee,we,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:N}){N(E.original());N(E.getName());const R=E.getReplacements();N(R.length);for(const E of R){N(E.start);N(E.end)}for(const E of R){N(E.content);N(E.name)}}deserialize({read:E}){const N=new Ee(E(),E());const R=E();const j=[];for(let N=0;N{"use strict";const j=R(16102);N.getEntryRuntime=(E,N,R)=>{let j;let $;if(R){({dependOn:j,runtime:$}=R)}else{const R=E.entries.get(N);if(!R)return N;({dependOn:j,runtime:$}=R.options)}if(j){let R=undefined;const $=new Set(j);for(const N of $){const j=E.entries.get(N);if(!j)continue;const{dependOn:q,runtime:G}=j.options;if(q){for(const E of q){$.add(E)}}else{R=mergeRuntimeOwned(R,G||N)}}return R||N}else{return $||N}};N.forEachRuntime=(E,N,R=false)=>{if(E===undefined){N(undefined)}else if(typeof E==="string"){N(E)}else{if(R)E.sort();for(const R of E){N(R)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};N.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const N=E.split("\n");if(N.length===1)return N[0];return new j(N)};N.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};N.runtimeToString=runtimeToString;N.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,N)=>{if(E===N){return true}else if(E===undefined||N===undefined||typeof E==="string"||typeof N==="string"){return false}else if(E.size!==N.size){return false}else{E.sort();N.sort();const R=E[Symbol.iterator]();const j=N[Symbol.iterator]();for(;;){const E=R.next();if(E.done)return true;const N=j.next();if(E.value!==N.value)return false}}};N.runtimeEqual=runtimeEqual;N.compareRuntime=(E,N)=>{if(E===N){return 0}else if(E===undefined){return-1}else if(N===undefined){return 1}else{const R=getRuntimeKey(E);const j=getRuntimeKey(N);if(Rj)return 1;return 0}};const mergeRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else if(N.has(E)){return N}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){if(E.has(N))return E;const R=new j(E);R.add(N);return R}else{const R=new j(E);for(const E of N)R.add(E);if(R.size===E.size)return E;return R}}};N.mergeRuntime=mergeRuntime;N.mergeRuntimeCondition=(E,N,R)=>{if(E===false)return N;if(N===false)return E;if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};N.mergeRuntimeConditionNonFalse=(E,N,R)=>{if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};const mergeRuntimeOwned=(E,N)=>{if(N===undefined){return E}else if(E===N){return E}else if(E===undefined){if(typeof N==="string"){return N}else{return new j(N)}}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){E.add(N);return E}else{for(const R of N)E.add(R);return E}}};N.mergeRuntimeOwned=mergeRuntimeOwned;N.intersectRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){return undefined}else if(N.has(E)){return E}else{return undefined}}else{if(typeof N==="string"){if(E.has(N))return N;return undefined}else{const R=new j;for(const j of N){if(E.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};const subtractRuntime=(E,N)=>{if(E===undefined){return undefined}else if(N===undefined){return E}else if(E===N){return undefined}else if(typeof E==="string"){if(typeof N==="string"){return E}else if(N.has(E)){return undefined}else{return E}}else{if(typeof N==="string"){if(!E.has(N))return E;if(E.size===2){for(const R of E){if(R!==N)return R}}const R=new j(E);R.delete(N)}else{const R=new j;for(const j of E){if(!N.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};N.subtractRuntime=subtractRuntime;N.subtractRuntimeCondition=(E,N,R)=>{if(N===true)return false;if(N===false)return E;if(E===false)return false;const j=subtractRuntime(E===true?R:E,N);return j===undefined?false:j};N.filterRuntime=(E,N)=>{if(E===undefined)return N(undefined);if(typeof E==="string")return N(E);let R=false;let j=true;let $=undefined;for(const q of E){const E=N(q);if(E){R=true;$=mergeRuntimeOwned($,q)}else{j=false}}if(!R)return false;if(j)return true;return $};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=N;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),N)}}provide(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=N();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const R=N();this._map.set(getRuntimeKey(E),R);return R}default:{const R=getRuntimeKey(E);const j=this._map.get(R);if(j!==undefined)return j;const $=N();this._map.set(R,$);return $}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,N){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N(this._singleValue);break}const R=N(undefined);if(R!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),R)}break}default:{const R=getRuntimeKey(E);const j=this._map.get(R);const $=N(j);if($!==j)this._map.set(R,$)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}N.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const N of E){this.add(N)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}N.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,N){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var R=N[1]?splitAndConvert(N[1]):[];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}if(N[3]){R.push([]);R.push.apply(R,splitAndConvert(N[3]))}return R};N.parseVersion=parseVersion;const versionLt=(E,N)=>{E=parseVersion(E);N=parseVersion(N);var R=0;for(;;){if(R>=E.length)return R=N.length)return $=="u";var q=N[R];var G=(typeof q)[0];if($==G){if($!="o"&&$!="u"&&j!=q){return j{const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const R=N[1]?[0,...splitAndConvert(N[1])]:[0];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}let j=R[R.length-1];while(R.length&&(j===undefined||/^[*xX]$/.test(j))){R.pop();j=R[R.length-1]}return R};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const N=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const R=N?N[0]:"";const j=parsePartial(E.slice(R.length));switch(R){case"^":if(j.length>1&&j[1]===0){if(j.length>2&&j[2]===0){return[3,...j.slice(1)]}return[2,...j.slice(1)]}return[1,...j.slice(1)];case"~":return[2,...j.slice(1)];case">=":return j;case"=":case"v":case"":return toFixed(j);case"<":return negate(j);case">":{const E=toFixed(j);return[,E,0,j,2]}case"<=":return[,toFixed(j),negate(j),1];case"!":{const E=toFixed(j);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,N)=>{if(E.length===1)return E[0];const R=[];for(const N of E.slice().reverse()){if(0 in N){R.push(N)}else{R.push(...N.slice(1))}}return[,...R,...E.slice(1).map((()=>N))]};const parseRange=E=>{const N=E.split(" - ");if(N.length===1){const N=E.trim().split(/\s+/g).map(parseSimple);return combine(N,2)}const R=parsePartial(N[0]);const j=parsePartial(N[1]);return[,toFixed(j),negate(j),1,R,2]};const parseLogicalOr=E=>{const N=E.split(/\s*\|\|\s*/).map(parseRange);return combine(N,1)};return parseLogicalOr(E)};const rangeToString=E=>{var N=E[0];var R="";if(E.length===1){return"*"}else if(N+.5){R+=N==0?">=":N==-1?"<":N==1?"^":N==2?"~":N>0?"=":"!=";var j=1;for(var $=1;$0?".":"")+(j=2,q)}return R}else{var ie=[];for(var $=1;${if(0 in E){N=parseVersion(N);var R=E[0];var j=R<0;if(j)R=-R-1;for(var $=0,q=1,G=true;;q++,$++){var ie=q=N.length||(ae=N[$],(ce=(typeof ae)[0])=="o")){if(!G)return true;if(ie=="u")return q>R&&!j;return ie==""!=j}if(ce=="u"){if(!G||ie!="u"){return false}}else if(G){if(ie==ce){if(q<=R){if(ae!=E[q]){return false}}else{if(j?ae>E[q]:ae{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let N="[";for(let R=0;R`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;N.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const j=R(91671);const $=j((()=>R(88692)));const q=j((()=>R(30991)));const G=j((()=>R(79308)));const ie=j((()=>R(15261)));const ae=j((()=>R(43065)));const ce=j((()=>new($())));const le=j((()=>{R(48077);const E=R(90331);q().registerLoader(/^webpack\/lib\//,(N=>{const R=E[N.slice("webpack/lib/".length)];if(R){R()}else{console.warn(`${N} not found in internalSerializables`)}return true}))}));let _e;E.exports={get register(){return q().register},get registerLoader(){return q().registerLoader},get registerNotSerializable(){return q().registerNotSerializable},get NOT_SERIALIZABLE(){return q().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return $().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return $().MEASURE_END_OPERATION},get buffersSerializer(){if(_e!==undefined)return _e;le();const E=ie();const N=ce();const R=ae();const j=G();return _e=new E([new j,new(q())((E=>{if(E.write){E.writeLazy=j=>{E.write(R.createLazy(j,N))}}}),"md4"),N])},createFileSerializer:(E,N)=>{le();const j=ie();const $=R(13829);const _e=new $(E,N);const Ee=ce();const Te=ae();const we=G();return new j([new we,new(q())((E=>{if(E.write){E.writeLazy=N=>{E.write(Te.createLazy(N,Ee))};E.writeSeparate=(N,R)=>{const j=Te.createLazy(N,_e,R);E.write(j);return j}}}),N),Ee,_e])}}},93695:E=>{"use strict";const smartGrouping=(E,N)=>{const R=new Set;const j=new Map;for(const $ of E){const E=new Set;for(let R=0;R{const N=E.size;for(const N of E){for(const E of N.groups){if(E.alreadyGrouped)continue;const R=E.items;if(R===undefined){E.items=new Set([N])}else{R.add(N)}}}const R=new Map;for(const E of j.values()){if(E.items){const N=E.items;E.items=undefined;R.set(E,{items:N,options:undefined,used:false})}}const $=[];for(;;){let j=undefined;let q=-1;let G=undefined;let ie=undefined;for(const[$,ae]of R){const{items:R,used:ce}=ae;let le=ae.options;if(le===undefined){const E=$.config;ae.options=le=E.getOptions&&E.getOptions($.name,Array.from(R,(({item:E})=>E)))||false}const _e=le&&le.force;if(!_e){if(ie&&ie.force)continue;if(ce)continue;if(R.size<=1||N-R.size<=1){continue}}const Ee=le&&le.targetGroupCount||4;let Te=_e?R.size:Math.min(R.size,N*2/Ee+E.size-R.size);if(Te>q||_e&&(!ie||!ie.force)){j=$;q=Te;G=R;ie=le}}if(j===undefined){break}const ae=new Set(G);const ce=ie;const le=!ce||ce.groupChildren!==false;for(const N of ae){E.delete(N);for(const E of N.groups){const j=R.get(E);if(j!==undefined){j.items.delete(N);if(j.items.size===0){R.delete(E)}else{j.options=undefined;if(le){j.used=true}}}}}R.delete(j);const _e=j.name;const Ee=j.config;const Te=Array.from(ae,(({item:E})=>E));j.alreadyGrouped=true;const we=le?runGrouping(ae):Te;j.alreadyGrouped=false;$.push(Ee.createGroup(_e,we,Te))}for(const{item:N}of E){$.push(N)}return $};return runGrouping(R)};E.exports=smartGrouping},13559:(E,N)=>{"use strict";const R=new WeakMap;const _isSourceEqual=(E,N)=>{let R=typeof E.buffer==="function"?E.buffer():E.source();let j=typeof N.buffer==="function"?N.buffer():N.source();if(R===j)return true;if(typeof R==="string"&&typeof j==="string")return false;if(!Buffer.isBuffer(R))R=Buffer.from(R,"utf-8");if(!Buffer.isBuffer(j))j=Buffer.from(j,"utf-8");return R.equals(j)};const isSourceEqual=(E,N)=>{if(E===N)return true;const j=R.get(E);if(j!==undefined){const E=j.get(N);if(E!==undefined)return E}const $=_isSourceEqual(E,N);if(j!==undefined){j.set(N,$)}else{const j=new WeakMap;j.set(N,$);R.set(E,j)}const q=R.get(N);if(q!==undefined){q.set(E,$)}else{const j=new WeakMap;j.set(E,$);R.set(N,j)}return $};N.isSourceEqual=isSourceEqual},33316:(E,N,R)=>{"use strict";const{validate:j}=R(15235);const $={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const q={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,N,R)=>{j(E,N,R||{name:"Webpack",postFormatter:(E,N)=>{const R=N.children;if(R&&R.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(R&&R.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(N.keyword==="additionalProperties"){const R=N.params;if(Object.prototype.hasOwnProperty.call($,R.additionalProperty)){return`${E}\nDid you mean ${$[R.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(q,R.additionalProperty)){return`${E}\n${q[R.additionalProperty]}?`}if(!N.dataPath){if(R.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(R.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${R.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},34943:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AsyncWasmLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N}){super("wasm loading",$.STAGE_NORMAL);this.generateLoadBinaryCode=E;this.supportsStreaming=N}generate(){const{compilation:E,chunk:N}=this;const{outputOptions:R,runtimeTemplate:$}=E;const G=j.instantiateWasm;const ie=E.getPath(JSON.stringify(R.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:N.runtime});return`${G} = ${$.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ie)};`,this.supportsStreaming?q.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",q.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",q.indent([`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",q.indent([`.then(${$.returningFunction("x.arrayBuffer()","x")})`,`.then(${$.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmLoadingRuntimeModule},10136:(E,N,R)=>{"use strict";const j=R(36253);const $=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends j{constructor(E){super();this.options=E}getTypes(E){return $}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,N){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(63272);const G=R(76150);const ie=R(58159);const ae=R(33081);const ce=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends ${constructor(E){super();this.filenameTemplate=E}getTypes(E){return ce}getSize(E,N){return 40+E.dependencies.length*10}generate(E,N){const{runtimeTemplate:R,chunkGraph:$,moduleGraph:ce,runtimeRequirements:le,runtime:_e}=N;le.add(G.module);le.add(G.moduleId);le.add(G.exports);le.add(G.instantiateWasm);const Ee=[];const Te=new Map;const we=new Map;for(const N of E.dependencies){if(N instanceof ae){const E=ce.getModule(N);if(!Te.has(E)){Te.set(E,{request:N.request,importVar:`WEBPACK_IMPORTED_MODULE_${Te.size}`})}let R=we.get(N.request);if(R===undefined){R=[];we.set(N.request,R)}R.push(N)}}const Ie=[];const Ne=Array.from(Te,(([N,{request:j,importVar:q}])=>{if(ce.isAsync(N)){Ie.push(q)}return R.importStatement({update:false,module:N,chunkGraph:$,request:j,originModule:E,importVar:q,runtimeRequirements:le})}));const Me=Ne.map((([E])=>E)).join("");const Le=Ne.map((([E,N])=>N)).join("");const Be=Array.from(we,(([N,j])=>{const $=j.map((j=>{const $=ce.getModule(j);const q=Te.get($).importVar;return`${JSON.stringify(j.name)}: ${R.exportFromImport({moduleGraph:ce,module:$,request:N,exportName:j.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:q,initFragments:Ee,runtime:_e,runtimeRequirements:le})}`}));return ie.asString([`${JSON.stringify(N)}: {`,ie.indent($.join(",\n")),"}"])}));const je=Be.length>0?ie.asString(["{",ie.indent(Be.join(",\n")),"}"]):undefined;const Ue=`${G.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify($.getRenderedModuleHash(E,_e))}`+(je?`, ${je})`:`)`);if(Ie.length>0)le.add(G.asyncModule);const ze=new j(Ie.length>0?ie.asString([`var __webpack_instantiate__ = ${R.basicFunction(`[${Ie.join(", ")}]`,`${Le}return ${Ue};`)}`,`${G.asyncModule}(${E.moduleArgument}, ${R.basicFunction("__webpack_handle_async_dependencies__",[Me,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Ie.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Me}${Le}module.exports = ${Ue};`);return q.addToSource(ze,Ee,N)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(36253);const{tryRunOrWebpackError:G}=R(3728);const ie=R(33081);const{compareModulesByIdentifier:ae}=R(68673);const ce=R(91671);const le=ce((()=>R(10136)));const _e=ce((()=>R(75462)));const Ee=ce((()=>R(96263)));const Te=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Te.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"])};Te.set(E,N)}return N}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{const R=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ie,N);N.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=Ee();return new E}));N.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const N=_e();const R=le();return q.byType({javascript:new N(E.outputOptions.webassemblyModuleFilename),webassembly:new R(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,j)=>{const{moduleGraph:$,chunkGraph:q,runtimeTemplate:G}=E;const{chunk:ie,outputOptions:ce,dependencyTemplates:le,codeGenerationResults:_e}=j;for(const E of q.getOrderedChunkModulesIterable(ie,ae)){if(E.type==="webassembly/async"){const j=ce.webassemblyModuleFilename;N.push({render:()=>this.renderModule(E,{chunk:ie,dependencyTemplates:le,runtimeTemplate:G,moduleGraph:$,chunkGraph:q,codeGenerationResults:_e},R),filenameTemplate:j,pathOptions:{module:E,runtime:ie.runtime,chunkGraph:q},auxiliary:true,identifier:`webassemblyAsyncModule${q.getModuleId(E)}`,hash:q.getModuleHash(E,ie.runtime)})}}return N}))}))}renderModule(E,N,R){const{codeGenerationResults:j,chunk:$}=N;try{const q=j.getSource(E,$.runtime,"webassembly");return G((()=>R.renderModuleContent.call(q,E,N)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(N){N.module=E;throw N}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,N,R)=>{"use strict";const j=R(98093);const{decode:$}=R(73432);const q=R(2172);const G=R(96076);const ie=R(33081);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";N.module.buildMeta.async=true;const R=$(E,ae);const q=R.body[0];const ce=[];j.traverse(q,{ModuleExport({node:E}){ce.push(E.name)},ModuleImport({node:E}){const R=new ie(E.module,E.name,E.descr,false);N.module.addDependency(R)}});N.module.addDependency(new G(ce,false));return N}}E.exports=WebAssemblyParser},59422:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends j{constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G}=R(68673);const ie=R(20612);const getAllWasmModules=(E,N,R)=>{const j=R.getAllAsyncChunks();const $=[];for(const E of j){for(const R of N.getOrderedChunkModulesIterable(E,G)){if(R.type.startsWith("webassembly")){$.push(R)}}}return $};const generateImportObject=(E,N,R,$,G)=>{const ae=E.moduleGraph;const ce=new Map;const le=[];const _e=ie.getUsedDependencies(ae,N,R);for(const N of _e){const R=N.dependency;const ie=ae.getModule(R);const _e=R.name;const Ee=ie&&ae.getExportsInfo(ie).getUsedName(_e,G);const Te=R.description;const we=R.onlyDirectImport;const Ie=N.module;const Ne=N.name;if(we){const N=`m${ce.size}`;ce.set(N,E.getModuleId(ie));le.push({module:Ie,name:Ne,value:`${N}[${JSON.stringify(Ee)}]`})}else{const N=Te.signature.params.map(((E,N)=>"p"+N+E.valtype));const R=`${j.moduleCache}[${JSON.stringify(E.getModuleId(ie))}]`;const G=`${R}.exports`;const ae=`wasmImportedFuncCache${$.length}`;$.push(`var ${ae};`);le.push({module:Ie,name:Ne,value:q.asString([(ie.type.startsWith("webassembly")?`${R} ? ${G}[${JSON.stringify(Ee)}] : `:"")+`function(${N}) {`,q.indent([`if(${ae} === undefined) ${ae} = ${G};`,`return ${ae}[${JSON.stringify(Ee)}](${N});`]),"}"])})}}let Ee;if(R){Ee=["return {",q.indent([le.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const N of le){let R=E.get(N.module);if(R===undefined){E.set(N.module,R=[])}R.push(N)}Ee=["return {",q.indent([Array.from(E,(([E,N])=>q.asString([`${JSON.stringify(E)}: {`,q.indent([N.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Te=JSON.stringify(E.getModuleId(N));if(ce.size===1){const E=Array.from(ce.values())[0];const N=`installedWasmModules[${JSON.stringify(E)}]`;const R=Array.from(ce.keys())[0];return q.asString([`${Te}: function() {`,q.indent([`return promiseResolve().then(function() { return ${N}; }).then(function(${R}) {`,q.indent(Ee),"});"]),"},"])}else if(ce.size>0){const E=Array.from(ce.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const N=Array.from(ce.keys(),((E,N)=>`${E} = array[${N}]`)).join(", ");return q.asString([`${Te}: function() {`,q.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,q.indent([`var ${N};`,...Ee]),"});"]),"},"])}else{return q.asString([`${Te}: function() {`,q.indent(Ee),"},"])}};class WasmChunkLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N,mangleImports:R,runtimeRequirements:j}){super("wasm chunk loading",$.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=N;this.mangleImports=R;this._runtimeRequirements=j}generate(){const{chunkGraph:E,compilation:N,chunk:R,mangleImports:$}=this;const{moduleGraph:G,outputOptions:ae}=N;const ce=j.ensureChunkHandlers;const le=this._runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const _e=getAllWasmModules(G,E,R);const Ee=[];const Te=_e.map((N=>generateImportObject(E,N,this.mangleImports,Ee,R.runtime)));const we=E.getChunkModuleIdMap(R,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>$?`{ ${JSON.stringify(ie.MANGLED_MODULE)}: ${E} }`:E;const Ie=N.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(N){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly")),N))}[chunkId][wasmModuleId] + "`}},runtime:R.runtime});const Ne=le?`${j.hmrRuntimeStatePrefix}_wasm`:undefined;return q.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Ne?`${Ne} = ${Ne} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",q.asString(Ee),"var wasmImportObjects = {",q.indent(Te),"};","",`var wasmModuleMap = ${JSON.stringify(we,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${j.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${ce}.wasm = function(chunkId, promises) {`,q.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",q.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",q.indent(["promises.push(installedWasmModuleData);"]),"else {",q.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Ie)};`,"var promise;",this.supportsStreaming?q.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",q.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",q.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):q.asString(["if(importObject && typeof importObject.then === 'function') {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",q.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",q.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",q.indent([`return ${j.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,N,R)=>{"use strict";const j=R(72380);const $=R(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(N=>{for(const R of N){if(R.type.startsWith("webassembly")===true){const N=R.buildMeta.jsIncompatibleExports;if(N===undefined){continue}for(const q of E.moduleGraph.getIncomingConnections(R)){if(q.isTargetActive(undefined)&&q.originModule.type.startsWith("webassembly")===false){const G=E.getDependencyReferencedExports(q.dependency,undefined);for(const ie of G){const G=Array.isArray(ie)?ie:ie.name;if(G.length===0)continue;const ae=G[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(N,ae)){const G=new $(`Export "${ae}" with ${N[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${q.originModule.readableIdentifier(E.requestShortener)} at ${j(q.dependency.loc)}.`);G.module=R;E.errors.push(G)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(20612);const G=R(98093);const{moduleContextFromModuleAST:ie}=R(98093);const{editWithAST:ae,addWithAST:ce}=R(226);const{decode:le}=R(73432);const _e=R(30697);const compose=(...E)=>E.reduce(((E,N)=>R=>N(E(R))),(E=>E));const removeStartFunc=E=>N=>ae(E.ast,N,{Start(E){E.remove()}});const getImportedGlobals=E=>{const N=[];G.traverse(E,{ModuleImport({node:E}){if(G.isGlobalType(E.descr)){N.push(E)}}});return N};const getCountImportedFunc=E=>{let N=0;G.traverse(E,{ModuleImport({node:E}){if(G.isFuncImportDescr(E.descr)){N++}}});return N};const getNextTypeIndex=E=>{const N=G.getSectionMetadata(E,"type");if(N===undefined){return G.indexLiteral(0)}return G.indexLiteral(N.vectorOfSize.value)};const getNextFuncIndex=(E,N)=>{const R=G.getSectionMetadata(E,"func");if(R===undefined){return G.indexLiteral(0+N)}const j=R.vectorOfSize.value;return G.indexLiteral(j+N)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return G.objectInstruction("const",E.valtype,[G.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return G.objectInstruction("const",E.valtype,[G.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>N=>{const R=E.additionalInitCode;const j=[];N=ae(E.ast,N,{ModuleImport(E){if(G.isGlobalType(E.node.descr)){const N=E.node.descr;N.mutability="var";const R=[createDefaultInitForGlobal(N),G.instruction("end")];j.push(G.global(N,R));E.remove()}},Global(E){const{node:N}=E;const[$]=N.init;if($.id==="get_global"){N.globalType.mutability="var";const E=$.args[0];N.init=[createDefaultInitForGlobal(N.globalType),G.instruction("end")];R.push(G.instruction("get_local",[E]),G.instruction("set_global",[G.indexLiteral(j.length)]))}j.push(N);E.remove()}});return ce(E.ast,N,j)};const rewriteExportNames=({ast:E,moduleGraph:N,module:R,externalExports:j,runtime:$})=>q=>ae(E,q,{ModuleExport(E){const q=j.has(E.node.name);if(q){E.remove();return}const G=N.getExportsInfo(R).getUsedName(E.node.name,$);if(!G){E.remove();return}E.node.name=G}});const rewriteImports=({ast:E,usedDependencyMap:N})=>R=>ae(E,R,{ModuleImport(E){const R=N.get(E.node.module+":"+E.node.name);if(R!==undefined){E.node.module=R.module;E.node.name=R.name}}});const addInitFunction=({ast:E,initFuncId:N,startAtFuncOffset:R,importedGlobals:j,additionalInitCode:$,nextFuncIndex:q,nextTypeIndex:ie})=>ae=>{const le=j.map((E=>{const N=G.identifier(`${E.module}.${E.name}`);return G.funcParam(E.descr.valtype,N)}));const _e=[];j.forEach(((E,N)=>{const R=[G.indexLiteral(N)];const j=[G.instruction("get_local",R),G.instruction("set_global",R)];_e.push(...j)}));if(typeof R==="number"){_e.push(G.callInstruction(G.numberLiteralFromRaw(R)))}for(const E of $){_e.push(E)}_e.push(G.instruction("end"));const Ee=[];const Te=G.signature(le,Ee);const we=G.func(N,Te,_e);const Ie=G.typeInstruction(undefined,Te);const Ne=G.indexInFuncSection(ie);const Me=G.moduleExport(N.value,G.moduleExportDescr("Func",q));return ce(E,ae,[we,Me,Ne,Ie])};const getUsedDependencyMap=(E,N,R)=>{const j=new Map;for(const $ of q.getUsedDependencies(E,N,R)){const E=$.dependency;const N=E.request;const R=E.name;j.set(N+":"+R,$)}return j};const Ee=new Set(["webassembly"]);class WebAssemblyGenerator extends ${constructor(E){super();this.options=E}getTypes(E){return Ee}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,{moduleGraph:N,runtime:R}){const $=E.originalSource().source();const q=G.identifier("");const ae=le($,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const ce=ie(ae.body[0]);const Ee=getImportedGlobals(ae);const Te=getCountImportedFunc(ae);const we=ce.getStart();const Ie=getNextFuncIndex(ae,Te);const Ne=getNextTypeIndex(ae);const Me=getUsedDependencyMap(N,E,this.options.mangleImports);const Le=new Set(E.dependencies.filter((E=>E instanceof _e)).map((E=>{const N=E;return N.exportName})));const Be=[];const je=compose(rewriteExportNames({ast:ae,moduleGraph:N,module:E,externalExports:Le,runtime:R}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:Be}),rewriteImports({ast:ae,usedDependencyMap:Me}),addInitFunction({ast:ae,initFuncId:q,importedGlobals:Ee,additionalInitCode:Be,startAtFuncOffset:we,nextFuncIndex:Ie,nextTypeIndex:Ne}));const Ue=je($);const ze=Buffer.from(Ue);return new j(ze)}}E.exports=WebAssemblyGenerator},74167:(E,N,R)=>{"use strict";const j=R(81627);const getInitialModuleChains=(E,N,R,j)=>{const $=[{head:E,message:E.readableIdentifier(j)}];const q=new Set;const G=new Set;const ie=new Set;for(const E of $){const{head:ae,message:ce}=E;let le=true;const _e=new Set;for(const E of N.getIncomingConnections(ae)){const N=E.originModule;if(N){if(!R.getModuleChunks(N).some((E=>E.canBeInitial())))continue;le=false;if(_e.has(N))continue;_e.add(N);const q=N.readableIdentifier(j);const ae=E.explanation?` (${E.explanation})`:"";const Ee=`${q}${ae} --\x3e ${ce}`;if(ie.has(N)){G.add(`... --\x3e ${Ee}`);continue}ie.add(N);$.push({head:N,message:Ee})}else{le=false;const N=E.explanation?`(${E.explanation}) --\x3e ${ce}`:ce;q.add(N)}}if(le){q.add(ce)}}for(const E of G){q.add(E)}return Array.from(q)};E.exports=class WebAssemblyInInitialChunkError extends j{constructor(E,N,R,j){const $=getInitialModuleChains(E,N,R,j);const q=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${$.map((E=>`* ${E}`)).join("\n")}`;super(q);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(36253);const G=R(63272);const ie=R(76150);const ae=R(58159);const ce=R(79983);const le=R(30697);const _e=R(33081);const Ee=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends q{getTypes(E){return Ee}getSize(E,N){return 95+E.dependencies.length*5}generate(E,N){const{runtimeTemplate:R,moduleGraph:q,chunkGraph:Ee,runtimeRequirements:Te,runtime:we}=N;const Ie=[];const Ne=q.getExportsInfo(E);let Me=false;const Le=new Map;const Be=[];let je=0;for(const N of E.dependencies){const j=N&&N instanceof ce?N:undefined;if(q.getModule(N)){let $=Le.get(q.getModule(N));if($===undefined){Le.set(q.getModule(N),$={importVar:`m${je}`,index:je,request:j&&j.userRequest||undefined,names:new Set,reexports:[]});je++}if(N instanceof _e){$.names.add(N.name);if(N.description.type==="GlobalType"){const j=N.name;const G=q.getModule(N);if(G){const ie=q.getExportsInfo(G).getUsedName(j,we);if(ie){Be.push(R.exportFromImport({moduleGraph:q,module:G,request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Te}))}}}}if(N instanceof le){$.names.add(N.name);const j=q.getExportsInfo(E).getUsedName(N.exportName,we);if(j){Te.add(ie.exports);const G=`${E.exportsArgument}[${JSON.stringify(j)}]`;const ce=ae.asString([`${G} = ${R.exportFromImport({moduleGraph:q,module:q.getModule(N),request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Te})};`,`if(WebAssembly.Global) ${G} = `+`new WebAssembly.Global({ value: ${JSON.stringify(N.valueType)} }, ${G});`]);$.reexports.push(ce);Me=true}}}}const Ue=ae.asString(Array.from(Le,(([E,{importVar:N,request:j,reexports:$}])=>{const q=R.importStatement({module:E,chunkGraph:Ee,request:j,importVar:N,originModule:E,runtimeRequirements:Te});return q[0]+q[1]+$.join("\n")})));const ze=Ne.otherExportsInfo.getUsed(we)===$.Unused&&!Me;Te.add(ie.module);Te.add(ie.moduleId);Te.add(ie.wasmInstances);if(Ne.otherExportsInfo.getUsed(we)!==$.Unused){Te.add(ie.makeNamespaceObject);Te.add(ie.exports)}if(!ze){Te.add(ie.exports)}const We=new j(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ie.wasmInstances}[${E.moduleArgument}.id];`,Ne.otherExportsInfo.getUsed(we)!==$.Unused?`${ie.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",ze?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${Be.join(", ")})`].join("\n"));return G.addToSource(We,Ie,N)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,N,R)=>{"use strict";const j=R(36253);const $=R(30697);const q=R(33081);const{compareModulesByIdentifier:G}=R(68673);const ie=R(91671);const ae=R(74167);const ce=ie((()=>R(56419)));const le=ie((()=>R(59363)));const _e=ie((()=>R(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set($,N);N.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();return new E}));N.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=le();const N=ce();return j.byType({javascript:new E,webassembly:new N(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,R)=>{const{chunkGraph:j}=E;const{chunk:$,outputOptions:q,codeGenerationResults:ie}=R;for(const E of j.getOrderedChunkModulesIterable($,G)){if(E.type==="webassembly/sync"){const R=q.webassemblyModuleFilename;N.push({render:()=>ie.getSource(E,$.runtime,"webassembly"),filenameTemplate:R,pathOptions:{module:E,runtime:$.runtime,chunkGraph:j},auxiliary:true,identifier:`webassemblyModule${j.getModuleId(E)}`,hash:j.getModuleHash(E,$.runtime)})}}return N}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const N=E.chunkGraph;const R=new Set;for(const j of E.chunks){if(j.canBeInitial()){for(const E of N.getChunkModulesIterable(j)){if(E.type==="webassembly/sync"){R.add(E)}}}}for(const N of R){E.errors.push(new ae(N,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,N,R)=>{"use strict";const j=R(98093);const{moduleContextFromModuleAST:$}=R(98093);const{decode:q}=R(73432);const G=R(2172);const ie=R(96076);const ae=R(30697);const ce=R(33081);const le=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const N of E.params){if(!le.has(N.valtype)){return`${N.valtype} as parameter`}}for(const N of E.results){if(!le.has(N))return`${N} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const N of E.args){if(!le.has(N)){return`${N} as parameter`}}for(const N of E.result){if(!le.has(N))return`${N} as result`}return null};const _e={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends G{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";const R=q(E,_e);const G=R.body[0];const Ee=$(G);const Te=[];let we=N.module.buildMeta.jsIncompatibleExports=undefined;const Ie=[];j.traverse(G,{ModuleExport({node:E}){const R=E.descr;if(R.exportType==="Func"){const j=R.id.value;const $=Ee.getFunction(j);const q=getJsIncompatibleTypeOfFuncSignature($);if(q){if(we===undefined){we=N.module.buildMeta.jsIncompatibleExports={}}we[E.name]=q}}Te.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const R=Ie[E.descr.id.value];if(R){const j=new ae(E.name,R.module,R.name,R.descr.valtype);N.module.addDependency(j)}}},Global({node:E}){const N=E.init[0];let R=null;if(N.id==="get_global"){const E=N.args[0].value;if(E{"use strict";const j=R(58159);const $=R(33081);const q="a";const getUsedDependencies=(E,N,R)=>{const G=[];let ie=0;for(const ae of N.dependencies){if(ae instanceof $){if(ae.description.type==="GlobalType"||E.getModule(ae)===null){continue}const N=ae.name;if(R){G.push({dependency:ae,name:j.numberToIdentifier(ie++),module:q})}else{G.push({dependency:ae,name:N,module:ae.request})}}}return G};N.getUsedDependencies=getUsedDependencies;N.MANGLED_MODULE=q},69085:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"fetch":{const N=R(71100);const j=R(52687);new N({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new j).apply(E);break}case"async-node":{const j=R(71049);const $=R(21273);new j({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new $({type:N}).apply(E);break}case"async-node-module":{const j=R(21273);new j({type:N,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${N}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,N,R)=>{"use strict";const j=R(76150);const $=R(34943);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,N,R)=>{"use strict";const j=R(76150);const $=R(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="jsonp"};const R=new WeakSet;const handler=(N,q)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(N,new $(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const ae=R(18161).chunkHasJs;const{getInitialChunkIds:ce}=R(13085);const le=R(87274);const _e=new WeakMap;class JsonpChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=_e.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};_e.set(E,N)}return N}constructor(E){super("jsonp chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:N,chunk:j}=this;const{runtimeTemplate:$,outputOptions:{globalObject:G,chunkLoadingGlobal:_e,hotUpdateGlobal:Ee,crossOriginLoading:Te,scriptType:we}}=N;const{linkPreload:Ie,linkPrefetch:Ne}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(N);const Me=q.ensureChunkHandlers;const Le=this._runtimeRequirements.has(q.baseURI);const Be=this._runtimeRequirements.has(q.ensureChunkHandlers);const je=this._runtimeRequirements.has(q.chunkCallback);const Ue=this._runtimeRequirements.has(q.onChunksLoaded);const ze=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const We=this._runtimeRequirements.has(q.hmrDownloadManifest);const Je=this._runtimeRequirements.has(q.prefetchChunkHandlers);const Ve=this._runtimeRequirements.has(q.preloadChunkHandlers);const qe=`${G}[${JSON.stringify(_e)}]`;const He=E.getChunkConditionMap(j,ae);const Ge=le(He);const Ke=ce(j,E);const Qe=ze?`${q.hmrRuntimeStatePrefix}_jsonp`:undefined;return ie.asString([Le?ie.asString([`${q.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Qe?`${Qe} = ${Qe} || `:""}{`,ie.indent(Array.from(Ke,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Be?ie.asString([`${Me}.j = ${$.basicFunction("chunkId, promises",Ge!==false?ie.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[2]);"]),"} else {",ie.indent([Ge===true?"if(true) { // all chunks have JS":`if(${Ge("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = new Promise(${$.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",[`if(${q.hasOwnProperty}(installedChunks, chunkId)) {`,ie.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ie.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${q.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Je&&Ge!==false?`${q.prefetchChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ne.call(ie.asString(["var link = document.createElement('link');",Te?`link.crossOrigin = ${JSON.stringify(Te)};`:"",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`]),j),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",Ve&&Ge!==false?`${q.preloadChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ie.call(ie.asString(["var link = document.createElement('link');",we?`link.type = ${JSON.stringify(we)};`:"","link.charset = 'utf-8';",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,Te?ie.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ie.indent(`link.crossOrigin = ${JSON.stringify(Te)};`),"}"]):""]),j),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",ze?ie.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ie.indent([`return new Promise(${$.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${q.publicPath} + ${q.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${q.loadScript}(url, loadingEnded);`])});`]),"}","",`${G}[${JSON.stringify(Ee)}] = ${$.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ie.getFunctionContent(R(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,q.moduleCache).replace(/\$moduleFactories\$/g,q.moduleFactories).replace(/\$ensureChunkHandlers\$/g,q.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,q.hasOwnProperty).replace(/\$hmrModuleData\$/g,q.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,q.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,q.hmrInvalidateModuleHandlers)]):"// no HMR","",We?ie.asString([`${q.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${q.publicPath} + ${q.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Ue?`${q.onChunksLoaded}.j = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",je||Be?ie.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${$.basicFunction("parentChunkLoadingFunction, data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${$.returningFunction("installedChunks[id] !== 0","id")})) {`,ie.indent(["for(moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);"]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ie.indent(["chunkId = chunkIds[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ue?`return ${q.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${qe} = ${qe} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);const q=R(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return q.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new j).apply(E);new $("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,N,R)=>{"use strict";const j=R(73837);const $=R(63221);const q=R(46312);const G=R(63076);const ie=R(63433);const ae=R(81721);const{applyWebpackOptionsDefaults:ce,applyWebpackOptionsBaseDefaults:le}=R(54411);const{getNormalizedWebpackOptions:_e}=R(96590);const Ee=R(93632);const Te=R(91671);const we=Te((()=>R(33316)));const createMultiCompiler=(E,N)=>{const R=E.map((E=>createCompiler(E)));const j=new ie(R,N);for(const E of R){if(E.options.dependencies){j.setDependencies(E,E.options.dependencies)}}return j};const createCompiler=E=>{const N=_e(E);le(N);const R=new G(N.context,N);new Ee({infrastructureLogging:N.infrastructureLogging}).apply(R);if(Array.isArray(N.plugins)){for(const E of N.plugins){if(typeof E==="function"){E.call(R,R)}else{E.apply(R)}}}ce(N);R.hooks.environment.call();R.hooks.afterEnvironment.call();(new ae).process(N,R);R.hooks.initialize.call();return R};const webpack=(E,N)=>{const create=()=>{if(!$(E)){we()(q,E)}let N;let R=false;let j;if(Array.isArray(E)){N=createMultiCompiler(E,E);R=E.some((E=>E.watch));j=E.map((E=>E.watchOptions||{}))}else{const $=E;N=createCompiler($);R=$.watch;j=$.watchOptions||{}}return{compiler:N,watch:R,watchOptions:j}};if(N){try{const{compiler:E,watch:R,watchOptions:j}=create();if(R){E.watch(j,N)}else{E.run(((R,j)=>{E.close((E=>{N(R||E,j)}))}))}return E}catch(E){process.nextTick((()=>N(E)));return null}}else{const{compiler:E,watch:N}=create();if(N){j.deprecate((()=>{}),"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,N,R)=>{"use strict";const j=R(76150);const $=R(44160);const q=R(64997);const G=R(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new q({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="import-scripts"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;const q=!!E.outputOptions.trustedTypes;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);if(q)$.add(j.createScriptUrl);E.addRuntimeModule(N,new G($,q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new $);return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{getChunkFilenameTemplate:G,chunkHasJs:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ImportScriptsChunkLoadingRuntimeModule extends ${constructor(E,N){super("importScripts chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=N}generate(){const{chunk:E,chunkGraph:N,compilation:{runtimeTemplate:$,outputOptions:{globalObject:_e,chunkLoadingGlobal:Ee,hotUpdateGlobal:Te}},_withCreateScriptUrl:we}=this;const Ie=j.ensureChunkHandlers;const Ne=this.runtimeRequirements.has(j.baseURI);const Me=this.runtimeRequirements.has(j.ensureChunkHandlers);const Le=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has(j.hmrDownloadManifest);const je=`${_e}[${JSON.stringify(Ee)}]`;const Ue=ce(N.getChunkConditionMap(E,ie));const ze=ae(E,N);const We=this.compilation.getPath(G(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Je=le(We,this.compilation.outputOptions.path,false);const Ve=Le?`${j.hmrRuntimeStatePrefix}_importScripts`:undefined;return q.asString([Ne?q.asString([`${j.baseURI} = self.location + ${JSON.stringify(Je?"/../"+Je:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${Ve?`${Ve} = ${Ve} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Me?q.asString(["// importScripts chunk loading",`var installChunk = ${$.basicFunction("data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${j.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",q.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Me?q.asString([`${Ie}.i = ${$.basicFunction("chunkId, promises",Ue!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,q.indent(`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${je} = ${je} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Le?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["var success = false;",`${_e}[${JSON.stringify(Te)}] = ${$.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${j.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${j.publicPath} + ${j.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new j).apply(E);new $("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},3385:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.importAssertions=importAssertions;var j=_interopRequireWildcard(R(14150));function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}const $="{".charCodeAt(0);const q=" ".charCodeAt(0);const G="assert";const ie=1,ae=2,ce=4;function importAssertions(E){const N=E.acorn||j;const{tokTypes:R,TokenType:ae}=N;return class extends E{constructor(...E){super(...E);this.assertToken=new ae(G)}_codeAt(E){return this.input.charCodeAt(E)}_eat(E){if(this.type!==E){this.unexpected()}this.next()}readToken(E){let N=0;for(;N=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(R._default)){this.checkExport(N,"default",this.lastTokStart);var j;if(this.type===R._function||(j=this.isAsyncFunction())){var $=this.startNode();this.next();if(j){this.next()}E.declaration=this.parseFunction($,ie|ce,false,j)}else if(this.type===R._class){var q=this.startNode();E.declaration=this.parseClass(q,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}}else{for(var G=0,ae=E.specifiers;GE){return false}R+=N[j+1];if(R>=E){return true}}}function isIdentifierStart(E,N){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)}function isIdentifierChar(E,N){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)||isInAstralSet(E,le)}var _e=function TokenType(E,N){if(N===void 0)N={};this.label=E;this.keyword=N.keyword;this.beforeExpr=!!N.beforeExpr;this.startsExpr=!!N.startsExpr;this.isLoop=!!N.isLoop;this.isAssign=!!N.isAssign;this.prefix=!!N.prefix;this.postfix=!!N.postfix;this.binop=N.binop||null;this.updateContext=null};function binop(E,N){return new _e(E,{beforeExpr:true,binop:N})}var Ee={beforeExpr:true},Te={startsExpr:true};var we={};function kw(E,N){if(N===void 0)N={};N.keyword=E;return we[E]=new _e(E,N)}var Ie={num:new _e("num",Te),regexp:new _e("regexp",Te),string:new _e("string",Te),name:new _e("name",Te),privateId:new _e("privateId",Te),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",Ee),semi:new _e(";",Ee),colon:new _e(":",Ee),dot:new _e("."),question:new _e("?",Ee),questionDot:new _e("?."),arrow:new _e("=>",Ee),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",Ee),backQuote:new _e("`",Te),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",Ee),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Ee),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",Ee),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Ee),_switch:kw("switch"),_throw:kw("throw",Ee),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Ee),_export:kw("export"),_import:kw("import",Te),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Me=new RegExp(Ne.source,"g");function isNewLine(E,N){return E===10||E===13||!N&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var je=Object.prototype;var Ue=je.hasOwnProperty;var ze=je.toString;function has(E,N){return Ue.call(E,N)}var We=Array.isArray||function(E){return ze.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Je=function Position(E,N){this.line=E;this.column=N};Je.prototype.offset=function offset(E){return new Je(this.line,this.column+E)};var Ve=function SourceLocation(E,N,R){this.start=N;this.end=R;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,N){for(var R=1,j=0;;){Me.lastIndex=j;var $=Me.exec(E);if($&&$.index=2015){N.ecmaVersion-=2009}if(N.allowReserved==null){N.allowReserved=N.ecmaVersion<5}if(We(N.onToken)){var j=N.onToken;N.onToken=function(E){return j.push(E)}}if(We(N.onComment)){N.onComment=pushComment(N,N.onComment)}return N}function pushComment(E,N){return function(R,j,$,q,G,ie){var ae={type:R?"Block":"Line",value:j,start:$,end:q};if(E.locations){ae.loc=new Ve(this,G,ie)}if(E.ranges){ae.range=[$,q]}N.push(ae)}}var Ge=1,Ke=2,Qe=Ge|Ke,Xe=4,Ye=8,Ze=16,et=32,tt=64,rt=128;function functionFlags(E,N){return Ke|(E?Xe:0)|(N?Ye:0)}var nt=0,it=1,ot=2,st=3,ct=4,ut=5;var dt=function Parser(E,R,$){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(j[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){q=N[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var G=(q?q+" ":"")+N.strict;this.reservedWordsStrict=wordsRegexp(G);this.reservedWordsStrictBind=wordsRegexp(G+" "+N.strictBind);this.input=String(R);this.containsEsc=false;if($){this.pos=$;this.lineStart=this.input.lastIndexOf("\n",$-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ie.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Ge);this.regexpState=null;this.privateNameStack=[]};var pt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};dt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};pt.inFunction.get=function(){return(this.currentVarScope().flags&Ke)>0};pt.inGenerator.get=function(){return(this.currentVarScope().flags&Ye)>0&&!this.currentVarScope().inClassFieldInit};pt.inAsync.get=function(){return(this.currentVarScope().flags&Xe)>0&&!this.currentVarScope().inClassFieldInit};pt.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var N=this.scopeStack[E];if(N.inClassFieldInit){return false}if(N.flags&Ke){return(N.flags&Xe)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};pt.allowSuper.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&tt)>0||R||this.options.allowSuperOutsideMethod};pt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&rt)>0};pt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};pt.inNonArrowFunction.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&Ke)>0||R};dt.extend=function extend(){var E=[],N=arguments.length;while(N--)E[N]=arguments[N];var R=this;for(var j=0;j=,?^&]/.test($)||$==="!"&&this.input.charAt(j+1)==="=")}E+=N[0].length;Be.lastIndex=E;E+=Be.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};ft.eat=function(E){if(this.type===E){this.next();return true}else{return false}};ft.isContextual=function(E){return this.type===Ie.name&&this.value===E&&!this.containsEsc};ft.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};ft.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};ft.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};ft.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};ft.semicolon=function(){if(!this.eat(Ie.semi)&&!this.insertSemicolon()){this.unexpected()}};ft.afterTrailingComma=function(E,N){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!N){this.next()}return true}};ft.expect=function(E){this.eat(E)||this.unexpected()};ft.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ft.checkPatternErrors=function(E,N){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var R=N?E.parenthesizedAssign:E.parenthesizedBind;if(R>-1){this.raiseRecoverable(R,"Parenthesized pattern")}};ft.checkExpressionErrors=function(E,N){if(!E){return false}var R=E.shorthandAssign;var j=E.doubleProto;if(!N){return R>=0||j>=0}if(R>=0){this.raise(R,"Shorthand property assignments are valid only in destructuring patterns")}if(j>=0){this.raiseRecoverable(j,"Redefinition of __proto__ property")}};ft.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&j<56320){return true}if(E){return false}if(j===123){return true}if(isIdentifierStart(j,true)){var q=R+1;while(isIdentifierChar(j=this.input.charCodeAt(q),true)){++q}if(j===92||j>55295&&j<56320){return true}var G=this.input.slice(R,q);if(!$.test(G)){return true}}return false};ht.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}Be.lastIndex=this.pos;var E=Be.exec(this.input);var N=this.pos+E[0].length,R;return!Ne.test(this.input.slice(this.pos,N))&&this.input.slice(N,N+8)==="function"&&(N+8===this.input.length||!(isIdentifierChar(R=this.input.charCodeAt(N+8))||R>55295&&R<56320))};ht.parseStatement=function(E,N,R){var j=this.type,$=this.startNode(),q;if(this.isLet(E)){j=Ie._var;q="let"}switch(j){case Ie._break:case Ie._continue:return this.parseBreakContinueStatement($,j.keyword);case Ie._debugger:return this.parseDebuggerStatement($);case Ie._do:return this.parseDoStatement($);case Ie._for:return this.parseForStatement($);case Ie._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement($,false,!E);case Ie._class:if(E){this.unexpected()}return this.parseClass($,true);case Ie._if:return this.parseIfStatement($);case Ie._return:return this.parseReturnStatement($);case Ie._switch:return this.parseSwitchStatement($);case Ie._throw:return this.parseThrowStatement($);case Ie._try:return this.parseTryStatement($);case Ie._const:case Ie._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement($,q);case Ie._while:return this.parseWhileStatement($);case Ie._with:return this.parseWithStatement($);case Ie.braceL:return this.parseBlock(true,$);case Ie.semi:return this.parseEmptyStatement($);case Ie._export:case Ie._import:if(this.options.ecmaVersion>10&&j===Ie._import){Be.lastIndex=this.pos;var G=Be.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement($,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!N){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return j===Ie._import?this.parseImport($):this.parseExport($,R);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement($,true,!E)}var ce=this.value,le=this.parseExpression();if(j===Ie.name&&le.type==="Identifier"&&this.eat(Ie.colon)){return this.parseLabeledStatement($,ce,le,E)}else{return this.parseExpressionStatement($,le)}}};ht.parseBreakContinueStatement=function(E,N){var R=N==="break";this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ie.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var j=0;for(;j=6){this.eat(Ie.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};ht.parseForStatement=function(E){this.next();var N=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(_t);this.enterScope(0);this.expect(Ie.parenL);if(this.type===Ie.semi){if(N>-1){this.unexpected(N)}return this.parseFor(E,null)}var R=this.isLet();if(this.type===Ie._var||this.type===Ie._const||R){var j=this.startNode(),$=R?"let":this.value;this.next();this.parseVar(j,true,$);this.finishNode(j,"VariableDeclaration");if((this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&j.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}return this.parseForIn(E,j)}if(N>-1){this.unexpected(N)}return this.parseFor(E,j)}var q=new DestructuringErrors;var G=this.parseExpression(N>-1?"await":true,q);if(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}this.toAssignable(G,false,q);this.checkLValPattern(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(N>-1){this.unexpected(N)}return this.parseFor(E,G)};ht.parseFunctionStatement=function(E,N,R){this.next();return this.parseFunction(E,bt|(R?0:xt),false,N)};ht.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ie._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};ht.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};ht.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ie.braceL);this.labels.push(yt);this.enterScope(0);var N;for(var R=false;this.type!==Ie.braceR;){if(this.type===Ie._case||this.type===Ie._default){var j=this.type===Ie._case;if(N){this.finishNode(N,"SwitchCase")}E.cases.push(N=this.startNode());N.consequent=[];this.next();if(j){N.test=this.parseExpression()}else{if(R){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}R=true;N.test=null}this.expect(Ie.colon)}else{if(!N){this.unexpected()}N.consequent.push(this.parseStatement(null))}}this.exitScope();if(N){this.finishNode(N,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};ht.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var vt=[];ht.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ie._catch){var N=this.startNode();this.next();if(this.eat(Ie.parenL)){N.param=this.parseBindingAtom();var R=N.param.type==="Identifier";this.enterScope(R?et:0);this.checkLValPattern(N.param,R?ct:ot);this.expect(Ie.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}N.param=null;this.enterScope(0)}N.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(N,"CatchClause")}E.finalizer=this.eat(Ie._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};ht.parseVarStatement=function(E,N){this.next();this.parseVar(E,false,N);this.semicolon();return this.finishNode(E,"VariableDeclaration")};ht.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(_t);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};ht.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};ht.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};ht.parseLabeledStatement=function(E,N,R,j){for(var $=0,q=this.labels;$=0;ae--){var ce=this.labels[ae];if(ce.statementStart===E.start){ce.statementStart=this.start;ce.kind=ie}else{break}}this.labels.push({name:N,kind:ie,statementStart:this.start});E.body=this.parseStatement(j?j.indexOf("label")===-1?j+"label":j:"label");this.labels.pop();E.label=R;return this.finishNode(E,"LabeledStatement")};ht.parseExpressionStatement=function(E,N){E.expression=N;this.semicolon();return this.finishNode(E,"ExpressionStatement")};ht.parseBlock=function(E,N,R){if(E===void 0)E=true;if(N===void 0)N=this.startNode();N.body=[];this.expect(Ie.braceL);if(E){this.enterScope(0)}while(this.type!==Ie.braceR){var j=this.parseStatement(null);N.body.push(j)}if(R){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(N,"BlockStatement")};ht.parseFor=function(E,N){E.init=N;this.expect(Ie.semi);E.test=this.type===Ie.semi?null:this.parseExpression();this.expect(Ie.semi);E.update=this.type===Ie.parenR?null:this.parseExpression();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};ht.parseForIn=function(E,N){var R=this.type===Ie._in;this.next();if(N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!R||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")){this.raise(N.start,(R?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=N;E.right=R?this.parseExpression():this.parseMaybeAssign();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,R?"ForInStatement":"ForOfStatement")};ht.parseVar=function(E,N,R){E.declarations=[];E.kind=R;for(;;){var j=this.startNode();this.parseVarId(j,R);if(this.eat(Ie.eq)){j.init=this.parseMaybeAssign(N)}else if(R==="const"&&!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(j.id.type!=="Identifier"&&!(N&&(this.type===Ie._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{j.init=null}E.declarations.push(this.finishNode(j,"VariableDeclarator"));if(!this.eat(Ie.comma)){break}}return E};ht.parseVarId=function(E,N){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,N==="var"?it:ot,false)};var bt=1,xt=2,St=4;ht.parseFunction=function(E,N,R,j){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!j){if(this.type===Ie.star&&N&xt){this.unexpected()}E.generator=this.eat(Ie.star)}if(this.options.ecmaVersion>=8){E.async=!!j}if(N&bt){E.id=N&St&&this.type!==Ie.name?null:this.parseIdent();if(E.id&&!(N&xt)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?it:ot:st)}}var $=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(N&bt)){E.id=this.type===Ie.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,R,false);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,N&bt?"FunctionDeclaration":"FunctionExpression")};ht.parseFunctionParams=function(E){this.expect(Ie.parenL);E.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ht.parseClass=function(E,N){this.next();var R=this.strict;this.strict=true;this.parseClassId(E,N);this.parseClassSuper(E);var j=this.enterClassBody();var $=this.startNode();var q=false;$.body=[];this.expect(Ie.braceL);while(this.type!==Ie.braceR){var G=this.parseClassElement(E.superClass!==null);if(G){$.body.push(G);if(G.type==="MethodDefinition"&&G.kind==="constructor"){if(q){this.raise(G.start,"Duplicate constructor in the same class")}q=true}else if(G.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(j,G)){this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared")}}}this.strict=R;this.next();E.body=this.finishNode($,"ClassBody");this.exitClassBody();return this.finishNode(E,N?"ClassDeclaration":"ClassExpression")};ht.parseClassElement=function(E){if(this.eat(Ie.semi)){return null}var N=this.options.ecmaVersion;var R=this.startNode();var j="";var $=false;var q=false;var G="method";R.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===Ie.star){R.static=true}else{j="static"}}if(!j&&N>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Ie.star)&&!this.canInsertSemicolon()){q=true}else{j="async"}}if(!j&&(N>=9||!q)&&this.eat(Ie.star)){$=true}if(!j&&!q&&!$){var ie=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){G=ie}else{j=ie}}}if(j){R.computed=false;R.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);R.key.name=j;this.finishNode(R.key,"Identifier")}else{this.parseClassElementName(R)}if(N<13||this.type===Ie.parenL||G!=="method"||$||q){var ae=!R.static&&checkKeyName(R,"constructor");var ce=ae&&E;if(ae&&G!=="method"){this.raise(R.key.start,"Constructor can't have get/set modifier")}R.kind=ae?"constructor":G;this.parseClassMethod(R,$,q,ce)}else{this.parseClassField(R)}return R};ht.isClassElementNameStart=function(){return this.type===Ie.name||this.type===Ie.privateId||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword};ht.parseClassElementName=function(E){if(this.type===Ie.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};ht.parseClassMethod=function(E,N,R,j){var $=E.key;if(E.kind==="constructor"){if(N){this.raise($.start,"Constructor can't be a generator")}if(R){this.raise($.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise($.start,"Classes may not have a static property named prototype")}var q=E.value=this.parseMethod(N,R,j);if(E.kind==="get"&&q.params.length!==0){this.raiseRecoverable(q.start,"getter should have no params")}if(E.kind==="set"&&q.params.length!==1){this.raiseRecoverable(q.start,"setter should have exactly one param")}if(E.kind==="set"&&q.params[0].type==="RestElement"){this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};ht.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Ie.eq)){var N=this.currentThisScope();var R=N.inClassFieldInit;N.inClassFieldInit=true;E.value=this.parseMaybeAssign();N.inClassFieldInit=R}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};ht.parseClassId=function(E,N){if(this.type===Ie.name){E.id=this.parseIdent();if(N){this.checkLValSimple(E.id,ot,false)}}else{if(N===true){this.unexpected()}E.id=null}};ht.parseClassSuper=function(E){E.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null};ht.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};ht.exitClassBody=function(){var E=this.privateNameStack.pop();var N=E.declared;var R=E.used;var j=this.privateNameStack.length;var $=j===0?null:this.privateNameStack[j-1];for(var q=0;q=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ie._default)){this.checkExport(N,"default",this.lastTokStart);var R;if(this.type===Ie._function||(R=this.isAsyncFunction())){var j=this.startNode();this.next();if(R){this.next()}E.declaration=this.parseFunction(j,bt|St,false,R)}else if(this.type===Ie._class){var $=this.startNode();E.declaration=this.parseClass($,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(R){this.checkPatternErrors(R,true)}for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.toAssignable(q,N);if(q.type==="RestElement"&&(q.argument.type==="ArrayPattern"||q.argument.type==="ObjectPattern")){this.raise(q.argument.start,"Unexpected token")}}break;case"Property":if(E.kind!=="init"){this.raise(E.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(E.value,N);break;case"ArrayExpression":E.type="ArrayPattern";if(R){this.checkPatternErrors(R,true)}this.toAssignableList(E.elements,N);break;case"SpreadElement":E.type="RestElement";this.toAssignable(E.argument,N);if(E.argument.type==="AssignmentPattern"){this.raise(E.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(E.operator!=="="){this.raise(E.left.end,"Only '=' operator can be used for specifying default value.")}E.type="AssignmentPattern";delete E.operator;this.toAssignable(E.left,N);break;case"ParenthesizedExpression":this.toAssignable(E.expression,N,R);break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N){break}default:this.raise(E.start,"Assigning to rvalue")}}else if(R){this.checkPatternErrors(R,true)}return E};Et.toAssignableList=function(E,N){var R=E.length;for(var j=0;j=6){switch(this.type){case Ie.bracketL:var E=this.startNode();this.next();E.elements=this.parseBindingList(Ie.bracketR,true,true);return this.finishNode(E,"ArrayPattern");case Ie.braceL:return this.parseObj(true)}}return this.parseIdent()};Et.parseBindingList=function(E,N,R){var j=[],$=true;while(!this.eat(E)){if($){$=false}else{this.expect(Ie.comma)}if(N&&this.type===Ie.comma){j.push(null)}else if(R&&this.afterTrailingComma(E)){break}else if(this.type===Ie.ellipsis){var q=this.parseRestBinding();this.parseBindingListItem(q);j.push(q);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(E);break}else{var G=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(G);j.push(G)}}return j};Et.parseBindingListItem=function(E){return E};Et.parseMaybeDefault=function(E,N,R){R=R||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Ie.eq)){return R}var j=this.startNodeAt(E,N);j.left=R;j.right=this.parseMaybeAssign();return this.finishNode(j,"AssignmentPattern")};Et.checkLValSimple=function(E,N,R){if(N===void 0)N=nt;var j=N!==nt;switch(E.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(E.name)){this.raiseRecoverable(E.start,(j?"Binding ":"Assigning to ")+E.name+" in strict mode")}if(j){if(N===ot&&E.name==="let"){this.raiseRecoverable(E.start,"let is disallowed as a lexically bound name")}if(R){if(has(R,E.name)){this.raiseRecoverable(E.start,"Argument name clash")}R[E.name]=true}if(N!==ut){this.declareName(E.name,N,E.start)}}break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(j){this.raiseRecoverable(E.start,"Binding member expression")}break;case"ParenthesizedExpression":if(j){this.raiseRecoverable(E.start,"Binding parenthesized expression")}return this.checkLValSimple(E.expression,N,R);default:this.raise(E.start,(j?"Binding":"Assigning to")+" rvalue")}};Et.checkLValPattern=function(E,N,R){if(N===void 0)N=nt;switch(E.type){case"ObjectPattern":for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.checkLValInnerPattern(q,N,R)}break;case"ArrayPattern":for(var G=0,ie=E.elements;G=9&&E.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(E.computed||E.method||E.shorthand)){return}var j=E.key;var $;switch(j.type){case"Identifier":$=j.name;break;case"Literal":$=String(j.value);break;default:return}var q=E.kind;if(this.options.ecmaVersion>=6){if($==="__proto__"&&q==="init"){if(N.proto){if(R){if(R.doubleProto<0){R.doubleProto=j.start}}else{this.raiseRecoverable(j.start,"Redefinition of __proto__ property")}}N.proto=true}return}$="$"+$;var G=N[$];if(G){var ie;if(q==="init"){ie=this.strict&&G.init||G.get||G.set}else{ie=G.init||G[q]}if(ie){this.raiseRecoverable(j.start,"Redefinition of property")}}else{G=N[$]={init:false,get:false,set:false}}G[q]=true};Tt.parseExpression=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeAssign(E,N);if(this.type===Ie.comma){var q=this.startNodeAt(R,j);q.expressions=[$];while(this.eat(Ie.comma)){q.expressions.push(this.parseMaybeAssign(E,N))}return this.finishNode(q,"SequenceExpression")}return $};Tt.parseMaybeAssign=function(E,N,R){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(E)}else{this.exprAllowed=false}}var j=false,$=-1,q=-1;if(N){$=N.parenthesizedAssign;q=N.trailingComma;N.parenthesizedAssign=N.trailingComma=-1}else{N=new DestructuringErrors;j=true}var G=this.start,ie=this.startLoc;if(this.type===Ie.parenL||this.type===Ie.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=E==="await"}var ae=this.parseMaybeConditional(E,N);if(R){ae=R.call(this,ae,G,ie)}if(this.type.isAssign){var ce=this.startNodeAt(G,ie);ce.operator=this.value;if(this.type===Ie.eq){ae=this.toAssignable(ae,false,N)}if(!j){N.parenthesizedAssign=N.trailingComma=N.doubleProto=-1}if(N.shorthandAssign>=ae.start){N.shorthandAssign=-1}if(this.type===Ie.eq){this.checkLValPattern(ae)}else{this.checkLValSimple(ae)}ce.left=ae;this.next();ce.right=this.parseMaybeAssign(E);return this.finishNode(ce,"AssignmentExpression")}else{if(j){this.checkExpressionErrors(N,true)}}if($>-1){N.parenthesizedAssign=$}if(q>-1){N.trailingComma=q}return ae};Tt.parseMaybeConditional=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprOps(E,N);if(this.checkExpressionErrors(N)){return $}if(this.eat(Ie.question)){var q=this.startNodeAt(R,j);q.test=$;q.consequent=this.parseMaybeAssign();this.expect(Ie.colon);q.alternate=this.parseMaybeAssign(E);return this.finishNode(q,"ConditionalExpression")}return $};Tt.parseExprOps=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeUnary(N,false);if(this.checkExpressionErrors(N)){return $}return $.start===R&&$.type==="ArrowFunctionExpression"?$:this.parseExprOp($,R,j,-1,E)};Tt.parseExprOp=function(E,N,R,j,$){var q=this.type.binop;if(q!=null&&(!$||this.type!==Ie._in)){if(q>j){var G=this.type===Ie.logicalOR||this.type===Ie.logicalAND;var ie=this.type===Ie.coalesce;if(ie){q=Ie.logicalAND.binop}var ae=this.value;this.next();var ce=this.start,le=this.startLoc;var _e=this.parseExprOp(this.parseMaybeUnary(null,false),ce,le,q,$);var Ee=this.buildBinary(N,R,E,_e,ae,G||ie);if(G&&this.type===Ie.coalesce||ie&&(this.type===Ie.logicalOR||this.type===Ie.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(Ee,N,R,j,$)}}return E};Tt.buildBinary=function(E,N,R,j,$,q){var G=this.startNodeAt(E,N);G.left=R;G.operator=$;G.right=j;return this.finishNode(G,q?"LogicalExpression":"BinaryExpression")};Tt.parseMaybeUnary=function(E,N,R){var j=this.start,$=this.startLoc,q;if(this.isContextual("await")&&this.canAwait){q=this.parseAwait();N=true}else if(this.type.prefix){var G=this.startNode(),ie=this.type===Ie.incDec;G.operator=this.value;G.prefix=true;this.next();G.argument=this.parseMaybeUnary(null,true,ie);this.checkExpressionErrors(E,true);if(ie){this.checkLValSimple(G.argument)}else if(this.strict&&G.operator==="delete"&&G.argument.type==="Identifier"){this.raiseRecoverable(G.start,"Deleting local variable in strict mode")}else if(G.operator==="delete"&&isPrivateFieldAccess(G.argument)){this.raiseRecoverable(G.start,"Private fields can not be deleted")}else{N=true}q=this.finishNode(G,ie?"UpdateExpression":"UnaryExpression")}else{q=this.parseExprSubscripts(E);if(this.checkExpressionErrors(E)){return q}while(this.type.postfix&&!this.canInsertSemicolon()){var ae=this.startNodeAt(j,$);ae.operator=this.value;ae.prefix=false;ae.argument=q;this.checkLValSimple(q);this.next();q=this.finishNode(ae,"UpdateExpression")}}if(!R&&this.eat(Ie.starstar)){if(N){this.unexpected(this.lastTokStart)}else{return this.buildBinary(j,$,q,this.parseMaybeUnary(null,false),"**",false)}}else{return q}};function isPrivateFieldAccess(E){return E.type==="MemberExpression"&&E.property.type==="PrivateIdentifier"||E.type==="ChainExpression"&&isPrivateFieldAccess(E.expression)}Tt.parseExprSubscripts=function(E){var N=this.start,R=this.startLoc;var j=this.parseExprAtom(E);if(j.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return j}var $=this.parseSubscripts(j,N,R);if(E&&$.type==="MemberExpression"){if(E.parenthesizedAssign>=$.start){E.parenthesizedAssign=-1}if(E.parenthesizedBind>=$.start){E.parenthesizedBind=-1}if(E.trailingComma>=$.start){E.trailingComma=-1}}return $};Tt.parseSubscripts=function(E,N,R,j){var $=this.options.ecmaVersion>=8&&E.type==="Identifier"&&E.name==="async"&&this.lastTokEnd===E.end&&!this.canInsertSemicolon()&&E.end-E.start===5&&this.potentialArrowAt===E.start;var q=false;while(true){var G=this.parseSubscript(E,N,R,j,$,q);if(G.optional){q=true}if(G===E||G.type==="ArrowFunctionExpression"){if(q){var ie=this.startNodeAt(N,R);ie.expression=G;G=this.finishNode(ie,"ChainExpression")}return G}E=G}};Tt.parseSubscript=function(E,N,R,j,$,q){var G=this.options.ecmaVersion>=11;var ie=G&&this.eat(Ie.questionDot);if(j&&ie){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var ae=this.eat(Ie.bracketL);if(ae||ie&&this.type!==Ie.parenL&&this.type!==Ie.backQuote||this.eat(Ie.dot)){var ce=this.startNodeAt(N,R);ce.object=E;if(ae){ce.property=this.parseExpression();this.expect(Ie.bracketR)}else if(this.type===Ie.privateId&&E.type!=="Super"){ce.property=this.parsePrivateIdent()}else{ce.property=this.parseIdent(this.options.allowReserved!=="never")}ce.computed=!!ae;if(G){ce.optional=ie}E=this.finishNode(ce,"MemberExpression")}else if(!j&&this.eat(Ie.parenL)){var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var we=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false,le);if($&&!ie&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=_e;this.awaitPos=Ee;this.awaitIdentPos=Te;return this.parseArrowExpression(this.startNodeAt(N,R),we,true)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;this.awaitIdentPos=Te||this.awaitIdentPos;var Ne=this.startNodeAt(N,R);Ne.callee=E;Ne.arguments=we;if(G){Ne.optional=ie}E=this.finishNode(Ne,"CallExpression")}else if(this.type===Ie.backQuote){if(ie||q){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var Me=this.startNodeAt(N,R);Me.tag=E;Me.quasi=this.parseTemplate({isTagged:true});E=this.finishNode(Me,"TaggedTemplateExpression")}return E};Tt.parseExprAtom=function(E){if(this.type===Ie.slash){this.readRegexp()}var N,R=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}N=this.startNode();this.next();if(this.type===Ie.parenL&&!this.allowDirectSuper){this.raise(N.start,"super() call outside constructor of a subclass")}if(this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL){this.unexpected()}return this.finishNode(N,"Super");case Ie._this:N=this.startNode();this.next();return this.finishNode(N,"ThisExpression");case Ie.name:var j=this.start,$=this.startLoc,q=this.containsEsc;var G=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ie._function)){return this.parseFunction(this.startNodeAt(j,$),0,false,true)}if(R&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow)){return this.parseArrowExpression(this.startNodeAt(j,$),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Ie.name&&!q&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ie.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(j,$),[G],true)}}return G;case Ie.regexp:var ie=this.value;N=this.parseLiteral(ie.value);N.regex={pattern:ie.pattern,flags:ie.flags};return N;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:N=this.startNode();N.value=this.type===Ie._null?null:this.type===Ie._true;N.raw=this.type.keyword;this.next();return this.finishNode(N,"Literal");case Ie.parenL:var ae=this.start,ce=this.parseParenAndDistinguishExpression(R);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return ce;case Ie.bracketL:N=this.startNode();this.next();N.elements=this.parseExprList(Ie.bracketR,true,true,E);return this.finishNode(N,"ArrayExpression");case Ie.braceL:return this.parseObj(false,E);case Ie._function:N=this.startNode();this.next();return this.parseFunction(N,0);case Ie._class:return this.parseClass(this.startNode(),false);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();case Ie._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Tt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var N=this.parseIdent(true);switch(this.type){case Ie.parenL:return this.parseDynamicImport(E);case Ie.dot:E.meta=N;return this.parseImportMeta(E);default:this.unexpected()}};Tt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ie.parenR)){var N=this.start;if(this.eat(Ie.comma)&&this.eat(Ie.parenR)){this.raiseRecoverable(N,"Trailing comma is not allowed in import()")}else{this.unexpected(N)}}return this.finishNode(E,"ImportExpression")};Tt.parseImportMeta=function(E){this.next();var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(N){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Tt.parseLiteral=function(E){var N=this.startNode();N.value=E;N.raw=this.input.slice(this.start,this.end);if(N.raw.charCodeAt(N.raw.length-1)===110){N.bigint=N.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(N,"Literal")};Tt.parseParenExpression=function(){this.expect(Ie.parenL);var E=this.parseExpression();this.expect(Ie.parenR);return E};Tt.parseParenAndDistinguishExpression=function(E){var N=this.start,R=this.startLoc,j,$=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,ce=false;var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ie.parenR){ae?ae=false:this.expect(Ie.comma);if($&&this.afterTrailingComma(Ie.parenR,true)){ce=true;break}else if(this.type===Ie.ellipsis){Te=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,le,this.parseParenItem))}}var we=this.start,Ne=this.startLoc;this.expect(Ie.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=Ee;return this.parseParenArrowList(N,R,ie)}if(!ie.length||ce){this.unexpected(this.lastTokStart)}if(Te){this.unexpected(Te)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;if(ie.length>1){j=this.startNodeAt(q,G);j.expressions=ie;this.finishNodeAt(j,"SequenceExpression",we,Ne)}else{j=ie[0]}}else{j=this.parseParenExpression()}if(this.options.preserveParens){var Me=this.startNodeAt(N,R);Me.expression=j;return this.finishNode(Me,"ParenthesizedExpression")}else{return j}};Tt.parseParenItem=function(E){return E};Tt.parseParenArrowList=function(E,N,R){return this.parseArrowExpression(this.startNodeAt(E,N),R)};var kt=[];Tt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var N=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){E.meta=N;var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(R){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var j=this.start,$=this.startLoc,q=this.type===Ie._import;E.callee=this.parseSubscripts(this.parseExprAtom(),j,$,true);if(q&&E.callee.type==="ImportExpression"){this.raise(j,"Cannot use new with import()")}if(this.eat(Ie.parenL)){E.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=kt}return this.finishNode(E,"NewExpression")};Tt.parseTemplateElement=function(E){var N=E.isTagged;var R=this.startNode();if(this.type===Ie.invalidTemplate){if(!N){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}R.value={raw:this.value,cooked:null}}else{R.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();R.tail=this.type===Ie.backQuote;return this.finishNode(R,"TemplateElement")};Tt.parseTemplate=function(E){if(E===void 0)E={};var N=E.isTagged;if(N===void 0)N=false;var R=this.startNode();this.next();R.expressions=[];var j=this.parseTemplateElement({isTagged:N});R.quasis=[j];while(!j.tail){if(this.type===Ie.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ie.dollarBraceL);R.expressions.push(this.parseExpression());this.expect(Ie.braceR);R.quasis.push(j=this.parseTemplateElement({isTagged:N}))}this.next();return this.finishNode(R,"TemplateLiteral")};Tt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Tt.parseObj=function(E,N){var R=this.startNode(),j=true,$={};R.properties=[];this.next();while(!this.eat(Ie.braceR)){if(!j){this.expect(Ie.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ie.braceR)){break}}else{j=false}var q=this.parseProperty(E,N);if(!E){this.checkPropClash(q,$,N)}R.properties.push(q)}return this.finishNode(R,E?"ObjectPattern":"ObjectExpression")};Tt.parseProperty=function(E,N){var R=this.startNode(),j,$,q,G;if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis)){if(E){R.argument=this.parseIdent(false);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(R,"RestElement")}if(this.type===Ie.parenL&&N){if(N.parenthesizedAssign<0){N.parenthesizedAssign=this.start}if(N.parenthesizedBind<0){N.parenthesizedBind=this.start}}R.argument=this.parseMaybeAssign(false,N);if(this.type===Ie.comma&&N&&N.trailingComma<0){N.trailingComma=this.start}return this.finishNode(R,"SpreadElement")}if(this.options.ecmaVersion>=6){R.method=false;R.shorthand=false;if(E||N){q=this.start;G=this.startLoc}if(!E){j=this.eat(Ie.star)}}var ie=this.containsEsc;this.parsePropertyName(R);if(!E&&!ie&&this.options.ecmaVersion>=8&&!j&&this.isAsyncProp(R)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star);this.parsePropertyName(R,N)}else{$=false}this.parsePropertyValue(R,E,j,$,q,G,N,ie);return this.finishNode(R,"Property")};Tt.parsePropertyValue=function(E,N,R,j,$,q,G,ie){if((R||j)&&this.type===Ie.colon){this.unexpected()}if(this.eat(Ie.colon)){E.value=N?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL){if(N){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(R,j)}else if(!N&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ie.comma&&this.type!==Ie.braceR&&this.type!==Ie.eq)){if(R||j){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var ce=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ce,"getter should have no params")}else{this.raiseRecoverable(ce,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(R||j){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=$}E.kind="init";if(N){E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else if(this.type===Ie.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};Tt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ie.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Tt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Tt.parseMethod=function(E,N,R){var j=this.startNode(),$=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction(j);if(this.options.ecmaVersion>=6){j.generator=E}if(this.options.ecmaVersion>=8){j.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(N,j.generator)|tt|(R?rt:0));this.expect(Ie.parenL);j.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(j,false,true);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(j,"FunctionExpression")};Tt.parseArrowExpression=function(E,N,R){var j=this.yieldPos,$=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(R,false)|Ze);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(N,true);this.parseFunctionBody(E,true,false);this.yieldPos=j;this.awaitPos=$;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Tt.parseFunctionBody=function(E,N,R){var j=N&&this.type!==Ie.braceL;var $=this.strict,q=false;if(j){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!$||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!$&&!q&&!N&&!R&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,ut)}E.body=this.parseBlock(false,undefined,q&&!$);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Tt.isSimpleParamList=function(E){for(var N=0,R=E;N-1||$.functions.indexOf(E)>-1||$.var.indexOf(E)>-1;$.lexical.push(E);if(this.inModule&&$.flags&Ge){delete this.undefinedExports[E]}}else if(N===ct){var q=this.currentScope();q.lexical.push(E)}else if(N===st){var G=this.currentScope();if(this.treatFunctionsAsVar){j=G.lexical.indexOf(E)>-1}else{j=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&et&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){j=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Ge){delete this.undefinedExports[E]}if(ae.flags&Qe){break}}}if(j){this.raiseRecoverable(R,"Identifier '"+E+"' has already been declared")}};Dt.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Dt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Dt.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Qe){return N}}};Dt.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Qe&&!(N.flags&Ze)){return N}}};var wt=function Node(E,N,R){this.type="";this.start=N;this.end=0;if(E.options.locations){this.loc=new Ve(E,R)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[N,0]}};var Pt=dt.prototype;Pt.startNode=function(){return new wt(this,this.start,this.startLoc)};Pt.startNodeAt=function(E,N){return new wt(this,E,N)};function finishNodeAt(E,N,R,j){E.type=N;E.end=R;if(this.options.locations){E.loc.end=j}if(this.options.ranges){E.range[1]=R}return E}Pt.finishNode=function(E,N){return finishNodeAt.call(this,E,N,this.lastTokEnd,this.lastTokEndLoc)};Pt.finishNodeAt=function(E,N,R,j){return finishNodeAt.call(this,E,N,R,j)};Pt.copyNode=function(E){var N=new wt(this,E.start,this.startLoc);for(var R in E){N[R]=E[R]}return N};var Ft=function TokContext(E,N,R,j,$){this.token=E;this.isExpr=!!N;this.preserveSpace=!!R;this.override=j;this.generator=!!$};var It={b_stat:new Ft("{",false),b_expr:new Ft("{",true),b_tmpl:new Ft("${",false),p_stat:new Ft("(",false),p_expr:new Ft("(",true),q_tmpl:new Ft("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Ft("function",false),f_expr:new Ft("function",true),f_expr_gen:new Ft("function",true,false,null,true),f_gen:new Ft("function",false,false,null,true)};var Nt=dt.prototype;Nt.initialContext=function(){return[It.b_stat]};Nt.braceIsBlock=function(E){var N=this.curContext();if(N===It.f_expr||N===It.f_stat){return true}if(E===Ie.colon&&(N===It.b_stat||N===It.b_expr)){return!N.isExpr}if(E===Ie._return||E===Ie.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ie._else||E===Ie.semi||E===Ie.eof||E===Ie.parenR||E===Ie.arrow){return true}if(E===Ie.braceL){return N===It.b_stat}if(E===Ie._var||E===Ie._const||E===Ie.name){return false}return!this.exprAllowed};Nt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var N=this.context[E];if(N.token==="function"){return N.generator}}return false};Nt.updateContext=function(E){var N,R=this.type;if(R.keyword&&E===Ie.dot){this.exprAllowed=false}else if(N=R.updateContext){N.call(this,E)}else{this.exprAllowed=R.beforeExpr}};Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===It.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ie.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?It.b_stat:It.b_expr);this.exprAllowed=true};Ie.dollarBraceL.updateContext=function(){this.context.push(It.b_tmpl);this.exprAllowed=true};Ie.parenL.updateContext=function(E){var N=E===Ie._if||E===Ie._for||E===Ie._with||E===Ie._while;this.context.push(N?It.p_stat:It.p_expr);this.exprAllowed=true};Ie.incDec.updateContext=function(){};Ie._function.updateContext=Ie._class.updateContext=function(E){if(E.beforeExpr&&E!==Ie._else&&!(E===Ie.semi&&this.curContext()!==It.p_stat)&&!(E===Ie._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ie.colon||E===Ie.braceL)&&this.curContext()===It.b_stat)){this.context.push(It.f_expr)}else{this.context.push(It.f_stat)}this.exprAllowed=false};Ie.backQuote.updateContext=function(){if(this.curContext()===It.q_tmpl){this.context.pop()}else{this.context.push(It.q_tmpl)}this.exprAllowed=false};Ie.star.updateContext=function(E){if(E===Ie._function){var N=this.context.length-1;if(this.context[N]===It.f_expr){this.context[N]=It.f_expr_gen}else{this.context[N]=It.f_gen}}this.exprAllowed=true};Ie.name.updateContext=function(E){var N=false;if(this.options.ecmaVersion>=6&&E!==Ie.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){N=true}}this.exprAllowed=N};var Ot="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Mt=Ot+" Extended_Pictographic";var Rt=Mt;var Lt=Rt+" EBase EComp EMod EPres ExtPict";var Bt={9:Ot,10:Mt,11:Rt,12:Lt};var jt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Ut="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var zt=Ut+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Wt=zt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var $t=Wt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Jt={9:Ut,10:zt,11:Wt,12:$t};var Vt={};function buildUnicodeData(E){var N=Vt[E]={binary:wordsRegexp(Bt[E]+" "+jt),nonBinary:{General_Category:wordsRegexp(jt),Script:wordsRegexp(Jt[E])}};N.nonBinary.Script_Extensions=N.nonBinary.Script;N.nonBinary.gc=N.nonBinary.General_Category;N.nonBinary.sc=N.nonBinary.Script;N.nonBinary.scx=N.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var qt=dt.prototype;var Ht=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Vt[E.options.ecmaVersion>=12?12:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ht.prototype.reset=function reset(E,N,R){var j=R.indexOf("u")!==-1;this.start=E|0;this.source=N+"";this.flags=R;this.switchU=j&&this.parser.options.ecmaVersion>=6;this.switchN=j&&this.parser.options.ecmaVersion>=9};Ht.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Ht.prototype.at=function at(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return-1}var $=R.charCodeAt(E);if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j){return $}var q=R.charCodeAt(E+1);return q>=56320&&q<=57343?($<<10)+q-56613888:$};Ht.prototype.nextIndex=function nextIndex(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return j}var $=R.charCodeAt(E),q;if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j||(q=R.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Ht.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Ht.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Ht.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Ht.prototype.eat=function eat(E,N){if(N===void 0)N=false;if(this.current(N)===E){this.advance(N);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}qt.validateRegExpFlags=function(E){var N=E.validFlags;var R=E.flags;for(var j=0;j-1){this.raise(E.start,"Duplicate regular expression flag")}}};qt.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};qt.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var N=0,R=E.backReferenceNames;N=9){R=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!R;return true}}E.pos=N;return false};qt.regexp_eatQuantifier=function(E,N){if(N===void 0)N=false;if(this.regexp_eatQuantifierPrefix(E,N)){E.eat(63);return true}return false};qt.regexp_eatQuantifierPrefix=function(E,N){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,N)};qt.regexp_eatBracedQuantifier=function(E,N){var R=E.pos;if(E.eat(123)){var j=0,$=-1;if(this.regexp_eatDecimalDigits(E)){j=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){$=E.lastIntValue}if(E.eat(125)){if($!==-1&&$=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};qt.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};qt.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};qt.regexp_eatSyntaxCharacter=function(E){var N=E.current();if(isSyntaxCharacter(N)){E.lastIntValue=N;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}qt.regexp_eatPatternCharacters=function(E){var N=E.pos;var R=0;while((R=E.current())!==-1&&!isSyntaxCharacter(R)){E.advance()}return E.pos!==N};qt.regexp_eatExtendedPatternCharacter=function(E){var N=E.current();if(N!==-1&&N!==36&&!(N>=40&&N<=43)&&N!==46&&N!==63&&N!==91&&N!==94&&N!==124){E.advance();return true}return false};qt.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};qt.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};qt.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};qt.regexp_eatRegExpIdentifierStart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierStart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}qt.regexp_eatRegExpIdentifierPart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierPart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}qt.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};qt.regexp_eatBackReference=function(E){var N=E.pos;if(this.regexp_eatDecimalEscape(E)){var R=E.lastIntValue;if(E.switchU){if(R>E.maxBackReference){E.maxBackReference=R}return true}if(R<=E.numCapturingParens){return true}E.pos=N}return false};qt.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};qt.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};qt.regexp_eatCControlLetter=function(E){var N=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=N}return false};qt.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};qt.regexp_eatControlEscape=function(E){var N=E.current();if(N===116){E.lastIntValue=9;E.advance();return true}if(N===110){E.lastIntValue=10;E.advance();return true}if(N===118){E.lastIntValue=11;E.advance();return true}if(N===102){E.lastIntValue=12;E.advance();return true}if(N===114){E.lastIntValue=13;E.advance();return true}return false};qt.regexp_eatControlLetter=function(E){var N=E.current();if(isControlLetter(N)){E.lastIntValue=N%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}qt.regexp_eatRegExpUnicodeEscapeSequence=function(E,N){if(N===void 0)N=false;var R=E.pos;var j=N||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var $=E.lastIntValue;if(j&&$>=55296&&$<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=($-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=$}return true}if(j&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(j){E.raise("Invalid unicode escape")}E.pos=R}return false};function isValidUnicode(E){return E>=0&&E<=1114111}qt.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var N=E.current();if(N!==99&&(!E.switchN||N!==107)){E.lastIntValue=N;E.advance();return true}return false};qt.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var N=E.current();if(N>=49&&N<=57){do{E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}while((N=E.current())>=48&&N<=57);return true}return false};qt.regexp_eatCharacterClassEscape=function(E){var N=E.current();if(isCharacterClassEscape(N)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(N===80||N===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}qt.regexp_eatUnicodePropertyValueExpression=function(E){var N=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var R=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,R,j);return true}}E.pos=N;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,$);return true}return false};qt.regexp_validateUnicodePropertyNameAndValue=function(E,N,R){if(!has(E.unicodeProperties.nonBinary,N)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[N].test(R)){E.raise("Invalid property value")}};qt.regexp_validateUnicodePropertyNameOrValue=function(E,N){if(!E.unicodeProperties.binary.test(N)){E.raise("Invalid property name")}};qt.regexp_eatUnicodePropertyName=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}qt.regexp_eatUnicodePropertyValue=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}qt.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};qt.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};qt.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.switchU&&(N===-1||R===-1)){E.raise("Invalid character class")}if(N!==-1&&R!==-1&&N>R){E.raise("Range out of order in character class")}}}};qt.regexp_eatClassAtom=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var R=E.current();if(R===99||isOctalDigit(R)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=N}var j=E.current();if(j!==93){E.lastIntValue=j;E.advance();return true}return false};qt.regexp_eatClassEscape=function(E){var N=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=N}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};qt.regexp_eatClassControlLetter=function(E){var N=E.current();if(isDecimalDigit(N)||N===95){E.lastIntValue=N%32;E.advance();return true}return false};qt.regexp_eatHexEscapeSequence=function(E){var N=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=N}return false};qt.regexp_eatDecimalDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isDecimalDigit(R=E.current())){E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}return E.pos!==N};function isDecimalDigit(E){return E>=48&&E<=57}qt.regexp_eatHexDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isHexDigit(R=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(R);E.advance()}return E.pos!==N};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}qt.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(N<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=N*64+R*8+E.lastIntValue}else{E.lastIntValue=N*8+R}}else{E.lastIntValue=N}return true}return false};qt.regexp_eatOctalDigit=function(E){var N=E.current();if(isOctalDigit(N)){E.lastIntValue=N-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}qt.regexp_eatFixedHexDigits=function(E,N){var R=E.pos;E.lastIntValue=0;for(var j=0;j=this.input.length){return this.finishToken(Ie.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Kt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Kt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var N=this.input.charCodeAt(this.pos+1);return N<=56319||N>=57344?E:(E<<10)+N-56613888};Kt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var N=this.pos,R=this.input.indexOf("*/",this.pos+=2);if(R===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=R+2;if(this.options.locations){Me.lastIndex=N;var j;while((j=Me.exec(this.input))&&j.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Kt.finishToken=function(E,N){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var R=this.type;this.type=E;this.value=N;this.updateContext(R)};Kt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var N=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&N===46){this.pos+=3;return this.finishToken(Ie.ellipsis)}else{++this.pos;return this.finishToken(Ie.dot)}};Kt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.slash,1)};Kt.readToken_mult_modulo_exp=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;var j=E===42?Ie.star:Ie.modulo;if(this.options.ecmaVersion>=7&&E===42&&N===42){++R;j=Ie.starstar;N=this.input.charCodeAt(this.pos+2)}if(N===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(j,R)};Kt.readToken_pipe_amp=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(this.options.ecmaVersion>=12){var R=this.input.charCodeAt(this.pos+2);if(R===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(E===124?Ie.logicalOR:Ie.logicalAND,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(E===124?Ie.bitwiseOR:Ie.bitwiseAND,1)};Kt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.bitwiseXOR,1)};Kt.readToken_plus_min=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(N===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ie.incDec,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.plusMin,1)};Kt.readToken_lt_gt=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;if(N===E){R=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+R)===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(Ie.bitShift,R)}if(N===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(N===61){R=2}return this.finishOp(Ie.relational,R)};Kt.readToken_eq_excl=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===61){return this.finishOp(Ie.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&N===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ie.arrow)}return this.finishOp(E===61?Ie.eq:Ie.prefix,1)};Kt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var N=this.input.charCodeAt(this.pos+1);if(N===46){var R=this.input.charCodeAt(this.pos+2);if(R<48||R>57){return this.finishOp(Ie.questionDot,2)}}if(N===63){if(E>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(Ie.coalesce,2)}}return this.finishOp(Ie.question,1)};Kt.readToken_numberSign=function(){var E=this.options.ecmaVersion;var N=35;if(E>=13){++this.pos;N=this.fullCharCodeAtPos();if(isIdentifierStart(N,true)||N===92){return this.finishToken(Ie.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(N)+"'")};Kt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ie.parenL);case 41:++this.pos;return this.finishToken(Ie.parenR);case 59:++this.pos;return this.finishToken(Ie.semi);case 44:++this.pos;return this.finishToken(Ie.comma);case 91:++this.pos;return this.finishToken(Ie.bracketL);case 93:++this.pos;return this.finishToken(Ie.bracketR);case 123:++this.pos;return this.finishToken(Ie.braceL);case 125:++this.pos;return this.finishToken(Ie.braceR);case 58:++this.pos;return this.finishToken(Ie.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ie.backQuote);case 48:var N=this.input.charCodeAt(this.pos+1);if(N===120||N===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(N===111||N===79){return this.readRadixNumber(8)}if(N===98||N===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Ie.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Kt.finishOp=function(E,N){var R=this.input.slice(this.pos,this.pos+N);this.pos+=N;return this.finishToken(E,R)};Kt.readRegexp=function(){var E,N,R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(R,"Unterminated regular expression")}var j=this.input.charAt(this.pos);if(Ne.test(j)){this.raise(R,"Unterminated regular expression")}if(!E){if(j==="["){N=true}else if(j==="]"&&N){N=false}else if(j==="/"&&!N){break}E=j==="\\"}else{E=false}++this.pos}var $=this.input.slice(R,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Ht(this));ie.reset(R,$,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp($,G)}catch(E){}return this.finishToken(Ie.regexp,{pattern:$,flags:G,value:ae})};Kt.readInt=function(E,N,R){var j=this.options.ecmaVersion>=12&&N===undefined;var $=R&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,ce=N==null?Infinity:N;ae=97){_e=le-97+10}else if(le>=65){_e=le-65+10}else if(le>=48&&le<=57){_e=le-48}else{_e=Infinity}if(_e>=E){break}ie=le;G=G*E+_e}if(j&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||N!=null&&this.pos-q!==N){return null}return G};function stringToNumber(E,N){if(N){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Kt.readRadixNumber=function(E){var N=this.pos;this.pos+=2;var R=this.readInt(E);if(R==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){R=stringToBigInt(this.input.slice(N,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,R)};Kt.readNumber=function(E){var N=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(N,"Invalid number")}var R=this.pos-N>=2&&this.input.charCodeAt(N)===48;if(R&&this.strict){this.raise(N,"Invalid number")}var j=this.input.charCodeAt(this.pos);if(!R&&!E&&this.options.ecmaVersion>=11&&j===110){var $=stringToBigInt(this.input.slice(N,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,$)}if(R&&/[89]/.test(this.input.slice(N,this.pos))){R=false}if(j===46&&!R){++this.pos;this.readInt(10);j=this.input.charCodeAt(this.pos)}if((j===69||j===101)&&!R){j=this.input.charCodeAt(++this.pos);if(j===43||j===45){++this.pos}if(this.readInt(10)===null){this.raise(N,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(N,this.pos),R);return this.finishToken(Ie.num,q)};Kt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),N;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var R=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(N>1114111){this.invalidStringToken(R,"Code point out of bounds")}}else{N=this.readHexChar(4)}return N};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Kt.readString=function(E){var N="",R=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var j=this.input.charCodeAt(this.pos);if(j===E){break}if(j===92){N+=this.input.slice(R,this.pos);N+=this.readEscapedChar(false);R=this.pos}else{if(isNewLine(j,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}N+=this.input.slice(R,this.pos++);return this.finishToken(Ie.string,N)};var Qt={};Kt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Qt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Kt.invalidStringToken=function(E,N){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Qt}else{this.raise(E,N)}};Kt.readTmplToken=function(){var E="",N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var R=this.input.charCodeAt(this.pos);if(R===96||R===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ie.template||this.type===Ie.invalidTemplate)){if(R===36){this.pos+=2;return this.finishToken(Ie.dollarBraceL)}else{++this.pos;return this.finishToken(Ie.backQuote)}}E+=this.input.slice(N,this.pos);return this.finishToken(Ie.template,E)}if(R===92){E+=this.input.slice(N,this.pos);E+=this.readEscapedChar(true);N=this.pos}else if(isNewLine(R)){E+=this.input.slice(N,this.pos);++this.pos;switch(R){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(R);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}N=this.pos}else{++this.pos}}};Kt.readInvalidTemplateToken=function(){for(;this.pos=48&&N<=55){var j=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var $=parseInt(j,8);if($>255){j=j.slice(0,-1);$=parseInt(j,8)}this.pos+=j.length-1;N=this.input.charCodeAt(this.pos);if((j!=="0"||N===56||N===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-j.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode($)}if(isNewLine(N)){return""}return String.fromCharCode(N)}};Kt.readHexChar=function(E){var N=this.pos;var R=this.readInt(16,E);if(R===null){this.invalidStringToken(N,"Bad character escape sequence")}return R};Kt.readWord1=function(){this.containsEsc=false;var E="",N=true,R=this.pos;var j=this.options.ecmaVersion>=6;while(this.pos{"use strict";const j=R(33839);const $=R(44084);const q=R(65821);const G=R(50666);const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return N};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return N};class CachedSource extends j{constructor(E,N){super();this._source=E;this._cachedSourceType=N?N.source:undefined;this._cachedSource=undefined;this._cachedBuffer=N?N.buffer:undefined;this._cachedSize=N?N.size:undefined;this._cachedMaps=N?N.maps:new Map;this._cachedHashUpdate=N?N.hash:undefined}getCachedData(){const E=new Map;for(const N of this._cachedMaps){let R=N[1];if(R.bufferedMap===undefined){R.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(R))}E.set(N[0],{map:undefined,bufferedMap:R.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){const E=this._getMapFromCacheEntry(R);return{source:this.source(),map:E}}let j=this._getCachedSource();let $;if(j!==undefined){$=this.original().map(E)}else{const N=this.original().sourceAndMap(E);j=N.source;$=N.map;this._cachedSource=j}this._cachedMaps.set(N,{map:$,bufferedMap:undefined});return{source:j,map:$}}streamChunks(E,N,R,j){const ie=E?JSON.stringify(E):"{}";if(this._cachedMaps.has(ie)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:G,map:ie}=this.sourceAndMap(E);if(ie){return $(G,ie,N,R,j,!!(E&&E.finalSource),true)}else{return q(G,N,R,j,!!(E&&E.finalSource))}}const{result:ae,source:ce,map:le}=G(this.original(),E,N,R,j);this._cachedSource=ce;this._cachedMaps.set(ie,{map:le,bufferedMap:undefined});return ae}map(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){return this._getMapFromCacheEntry(R)}const j=this.original().map(E);this._cachedMaps.set(N,{map:j,bufferedMap:undefined});return j}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const N of this._cachedHashUpdate)E.update(N);return}const N=[];let R=undefined;const j={update:E=>{if(typeof E==="string"&&E.length<10240){if(R===undefined){R=E}else{R+=E;if(R.length>102400){N.push(Buffer.from(R));R=undefined}}}else{if(R!==undefined){N.push(Buffer.from(R));R=undefined}N.push(E)}}};this.original().updateHash(j);if(R!==undefined){N.push(Buffer.from(R))}for(const R of N)E.update(R);this._cachedHashUpdate=N}}E.exports=CachedSource},7961:(E,N,R)=>{"use strict";const j=R(33839);class CompatSource extends j{static from(E){return E instanceof j?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},96123:(E,N,R)=>{"use strict";const j=R(33839);const $=R(76274);const q=R(60715);const{getMap:G,getSourceAndMap:ie}=R(53562);const ae=new WeakSet;class ConcatSource extends j{constructor(){super();this._children=[];for(let E=0;E{const Ne=R+$;const Me=R===1?j+G:j;if(_e){if(R!==1||j!==0){N(undefined,$+1,G,-1,-1,-1,-1)}_e=false}const Le=q<0||q>=Te.length?-1:Te[q];const Be=Ee<0||Ee>=we.length?-1:we[Ee];Ie=Le<0?0:R;if(ce){if(E!==undefined)le+=E;if(Le>=0){N(undefined,Ne,Me,Le,ie,ae,Be)}}else{if(Le<0){N(E,Ne,Me,-1,-1,-1,-1)}else{N(E,Ne,Me,Le,ie,ae,Be)}}}),((E,N,j)=>{let $=ie.get(N);if($===undefined){ie.set(N,$=ie.size);R($,N,j)}Te[E]=$}),((E,N)=>{let R=ae.get(N);if(R===undefined){ae.set(N,R=ae.size);j(R,N)}we[E]=R}));if(Le!==undefined)le+=Le;if(_e){if(Ne!==1||Me!==0){N(undefined,$+1,G,-1,-1,-1,-1);_e=false}}if(Ne>1){G=Me}else{G+=Me}_e=_e||ce&&Ie===Ne;$+=Ne-1}return{generatedLine:$+1,generatedColumn:G,source:ce?le:undefined}}updateHash(E){if(!this._isOptimized)this._optimize();E.update("ConcatSource");for(const N of this._children){N.updateHash(E)}}_optimize(){const E=[];let N=undefined;let R=undefined;const addStringToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E)}else{R=[typeof R==="string"?R:R.source(),E]}};const addSourceToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E.source())}else{R=[typeof R==="string"?R:R.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(R)){const N=new $(R.join(""));ae.add(N);E.push(N)}else if(typeof R==="string"){const N=new $(R);ae.add(N);E.push(N)}else{E.push(R)}};for(const j of this._children){if(typeof j==="string"){if(N===undefined){N=j}else{N+=j}}else{if(N!==undefined){addStringToRawSources(N);N=undefined}if(ae.has(j)){addSourceToRawSources(j)}else{if(R!==undefined){mergeRawSources();R=undefined}E.push(j)}}}if(N!==undefined){addStringToRawSources(N)}if(R!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},11176:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(53562);const q=R(41286);const G=R(13597);const ie=R(33839);const ae=/[^\n;{}]+[;{} \r\t]*\n?|[;{} \r\t]+\n?|\n/g;class OriginalSource extends ie{constructor(E,N){super();const R=Buffer.isBuffer(E);this._value=R?undefined:E;this._valueAsBuffer=R?E:undefined;this._name=N}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return j(this,E)}sourceAndMap(E){return $(this,E)}streamChunks(E,N,R,j){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}R(0,this._name,this._value);const $=!!(E&&E.finalSource);if(!E||E.columns!==false){const E=this._value.match(ae);let R=1;let j=0;if(E!==null){for(const q of E){const E=q.endsWith("\n");if(E&&q.length===1){if(!$)N(q,R,j,-1,-1,-1,-1)}else{const E=$?undefined:q;N(E,R,j,0,R,j,-1)}if(E){R++;j=0}else{j+=q.length}}}return{generatedLine:R,generatedColumn:j,source:$?this._value:undefined}}else if($){const E=G(this._value);const{generatedLine:R,generatedColumn:j}=E;if(j===0){for(let E=1;E{"use strict";const j=R(33839);const $=R(76274);const q=R(60715);const{getMap:G,getSourceAndMap:ie}=R(53562);const ae=/\n(?=.|\s)/g;class PrefixSource extends j{constructor(E,N){super();this._source=typeof N==="string"||Buffer.isBuffer(N)?new $(N,true):N;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const N=this._prefix;return N+E.replace(ae,"\n"+N)}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,N,R,j){const $=this._prefix;const G=$.length;const ie=!!(E&&E.columns===false);const{generatedLine:ce,generatedColumn:le,source:_e}=q(this._source,E,((E,R,j,q,ae,ce,le)=>{if(j!==0){j+=G}else if(E!==undefined){if(ie||q<0){E=$+E}else if(G>0){N($,R,j,-1,-1,-1,-1);j+=G}}else if(!ie){j+=G}N(E,R,j,q,ae,ce,le)}),R,j);return{generatedLine:ce,generatedColumn:le===0?0:G+le,source:_e!==undefined?$+_e.replace(ae,"\n"+$):undefined}}updateHash(E){E.update("PrefixSource");this._source.updateHash(E);E.update(this._prefix)}}E.exports=PrefixSource},76274:(E,N,R)=>{"use strict";const j=R(65821);const $=R(33839);class RawSource extends ${constructor(E,N=false){super();const R=Buffer.isBuffer(E);if(!R&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!N&&R;this._value=N&&R?undefined:E;this._valueAsBuffer=R?E:undefined;this._valueAsString=R?undefined:E}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}streamChunks(E,N,R,$){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return j(this._valueAsString,N,R,$,!!(E&&E.finalSource))}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},79722:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(53562);const q=R(60715);const G=R(33839);const ie=R(41286);const ae=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const ce=536870912;class Replacement{constructor(E,N,R,j){this.start=E;this.end=N;this.content=R;this.name=j;if(!ae){this.index=-1}}}class ReplaceSource extends G{constructor(E,N){super();this._source=E;this._name=N;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(E,N,R,j){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R);this._replacements.push(new Replacement(E,N,R,j));this._isSorted=false}insert(E,N,R){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N+": "+N);this._replacements.push(new Replacement(E,E-1,N,R));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let E=this._source.source();let N=0;const R=[];this._sortReplacements();for(const j of this._replacements){const $=Math.floor(j.start);const q=Math.floor(j.end+1);if(N<$){const j=$-N;R.push(E.slice(0,j));E=E.slice(j);N=$}R.push(j.content);if(NE.index=N));this._replacements.sort((function(E,N){const R=E.start-N.start;if(R!==0)return R;const j=E.end-N.end;if(j!==0)return j;return E.index-N.index}))}this._isSorted=true}streamChunks(E,N,R,j){this._sortReplacements();const $=this._replacements;let G=0;let ae=0;let le=-1;let _e=ae<$.length?Math.floor($[ae].start):ce;let Ee=0;let Te=0;let we=0;const Ie=[];const Ne=new Map;const Me=[];const checkOriginalContent=(E,N,R,j)=>{let $=E{let je=0;let Ue=G+E.length;if(le>G){if(le>=Ue){const N=R+Ee;if(E.endsWith("\n")){Ee--;if(we===N){Te+=q}}else if(we===N){Te-=E.length}else{Te=-E.length;we=N}G=Ue;return}je=le-G;if(checkOriginalContent(ie,Ie,Le,E.slice(0,je))){Le+=je}G+=je;const N=R+Ee;if(we===N){Te-=je}else{Te=-je;we=N}q+=je}if(_eG){const R=_e-G;const j=E.slice(je,je+R);N(j,ze,q+(ze===we?Te:0),ie,Ie,Le,Be<0||Be>=Me.length?-1:Me[Be]);q+=R;je+=R;G=_e;if(checkOriginalContent(ie,Ie,Le,j)){Le+=j.length}}const We=/[^\n]+\n?|\n/g;const{content:Je,name:Ve}=$[ae];let qe=We.exec(Je);let He=Be;if(ie>=0&&Ve){let E=Ne.get(Ve);if(E===undefined){E=Ne.size;Ne.set(Ve,E);j(E,Ve)}He=E}while(qe!==null){const E=qe[0];N(E,ze,q+(ze===we?Te:0),ie,Ie,Le,He);He=-1;qe=We.exec(Je);if(qe===null&&!E.endsWith("\n")){if(we===ze){Te+=E.length}else{Te=E.length;we=ze}}else{Ee++;ze++;Te=-q;we=ze}}le=Math.max(le,Math.floor($[ae].end+1));ae++;_e=ae<$.length?Math.floor($[ae].start):ce;const Ge=E.length-Ue+le-je;if(Ge>0){if(le>=Ue){let N=R+Ee;if(E.endsWith("\n")){Ee--;if(we===N){Te+=q}}else if(we===N){Te-=E.length-je}else{Te=je-E.length;we=N}G=Ue;return}const N=R+Ee;if(checkOriginalContent(ie,Ie,Le,E.slice(je,je+Ge))){Le+=Ge}je+=Ge;G+=Ge;if(we===N){Te-=Ge}else{Te=-Ge;we=N}q+=Ge}}while(_e{while(Ie.length{let R=Ne.get(N);if(R===undefined){R=Ne.size;Ne.set(N,R);j(R,N)}Me[E]=R}));let je="";for(;ae<$.length;ae++){je+=$[ae].content}let Ue=Le+Ee;const ze=/[^\n]+\n?|\n/g;let We=ze.exec(je);while(We!==null){const E=We[0];N(E,Ue,Be+(Ue===we?Te:0),-1,-1,-1,-1);We=ze.exec(je);if(We===null&&!E.endsWith("\n")){if(we===Ue){Te+=E.length}else{Te=E.length;we=Ue}}else{Ee++;Ue++;Te=-Be;we=Ue}}return{generatedLine:Ue,generatedColumn:Be+(Ue===we?Te:0)}}updateHash(E){this._sortReplacements();E.update("ReplaceSource");this._source.updateHash(E);E.update(this._name||"");for(const N of this._replacements){E.update(`${N.start}${N.end}${N.content}${N.name}`)}}}E.exports=ReplaceSource},93883:(E,N,R)=>{"use strict";const j=R(33839);class SizeOnlySource extends j{constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},33839:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},82340:(E,N,R)=>{"use strict";const j=R(33839);const $=R(44084);const q=R(86924);const{getMap:G,getSourceAndMap:ie}=R(53562);class SourceMapSource extends j{constructor(E,N,R,j,$,q){super();const G=Buffer.isBuffer(E);this._valueAsString=G?undefined:E;this._valueAsBuffer=G?E:undefined;this._name=N;this._hasSourceMap=!!R;const ie=Buffer.isBuffer(R);const ae=typeof R==="string";this._sourceMapAsObject=ie||ae?undefined:R;this._sourceMapAsString=ae?R:undefined;this._sourceMapAsBuffer=ie?R:undefined;this._hasOriginalSource=!!j;const ce=Buffer.isBuffer(j);this._originalSourceAsString=ce?undefined:j;this._originalSourceAsBuffer=ce?j:undefined;this._hasInnerSourceMap=!!$;const le=Buffer.isBuffer($);const _e=typeof $==="string";this._innerSourceMapAsObject=le||_e?undefined:$;this._innerSourceMapAsString=_e?$:undefined;this._innerSourceMapAsBuffer=le?$:undefined;this._removeOriginalSource=q}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return G(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return ie(this,E)}streamChunks(E,N,R,j){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return q(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}else{return $(this._valueAsString,this._sourceMapAsObject,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},47310:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const R=32;const createMappingsSerializer=E=>{const N=E&&E.columns===false;return N?createLinesOnlyMappingsSerializer():createFullMappingsSerializer()};const createFullMappingsSerializer=()=>{let E=1;let j=0;let $=0;let q=1;let G=0;let ie=0;let ae=false;let ce=false;let le=true;return(_e,Ee,Te,we,Ie,Ne)=>{if(ae&&E===_e){if(Te===$&&we===q&&Ie===G&&!ce&&Ne<0){return""}}else{if(Te<0){return""}}let Me;if(E<_e){Me=";".repeat(_e-E);E=_e;j=0;le=false}else if(le){Me="";le=false}else{Me=","}const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Me+=N[E];break}else{Me+=N[E|R]}}};writeValue(Ee-j);j=Ee;if(Te>=0){ae=true;if(Te===$){Me+="A"}else{writeValue(Te-$);$=Te}writeValue(we-q);q=we;if(Ie===G){Me+="A"}else{writeValue(Ie-G);G=Ie}if(Ne>=0){writeValue(Ne-ie);ie=Ne;ce=true}else{ce=false}}else{ae=false}return Me}};const createLinesOnlyMappingsSerializer=()=>{let E=0;let j=1;let $=0;let q=1;return(G,ie,ae,ce,le,_e)=>{if(ae<0){return""}if(E===G){return""}let Ee;const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Ee+=N[E];break}else{Ee+=N[E|R]}}};E=G;if(G===j+1){j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return";AACA"}else{Ee=";AA";writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee=";A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee=";".repeat(G-j);j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return Ee+"AACA"}else{Ee+="AA";writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee+="A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Ee+"A"}}}};E.exports=createMappingsSerializer},53562:(E,N,R)=>{"use strict";const j=R(47310);N.getSourceAndMap=(E,N)=>{let R="";let $="";let q=[];let G=[];let ie=[];const ae=j(N);const{source:ce}=E.streamChunks(Object.assign({},N,{finalSource:true}),((E,N,j,q,G,ie,ce)=>{if(E!==undefined)R+=E;$+=ae(N,j,q,G,ie,ce)}),((E,N,R)=>{while(q.length{while(ie.length0?{version:3,file:"x",mappings:$,sources:q,sourcesContent:G.length>0?G:undefined,names:ie}:null}};N.getMap=(E,N)=>{let R="";let $=[];let q=[];let G=[];const ie=j(N);E.streamChunks(Object.assign({},N,{source:false,finalSource:true}),((E,N,j,$,q,G,ae)=>{R+=ie(N,j,$,q,G,ae)}),((E,N,R)=>{while($.length{while(G.length0?{version:3,file:"x",mappings:R,sources:$,sourcesContent:q.length>0?q:undefined,names:G}:null}},13597:E=>{"use strict";const N="\n".charCodeAt(0);const getGeneratedSourceInfo=E=>{if(E===undefined){return{}}const R=E.lastIndexOf("\n");if(R===-1){return{generatedLine:1,generatedColumn:E.length,source:E}}let j=2;for(let $=0;${"use strict";const getSource=(E,N)=>{if(N<0)return null;const{sourceRoot:R,sources:j}=E;const $=j[N];if(!R)return $;if(R.endsWith("/"))return R+$;return R+"/"+$};E.exports=getSource},93581:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const R=32;const j=64;const $=j|1;const q=j|2;const G=31;const ie=new Uint8Array("z".charCodeAt(0)+1);{ie.fill(q);for(let E=0;E{const q=new Uint32Array([0,0,1,0,0]);let ce=0;let le=0;let _e=0;let Ee=1;let Te=-1;for(let we=0;weae)continue;const Ne=ie[Ie];if((Ne&j)!==0){if(q[0]>Te){if(ce===1){N(Ee,q[0],-1,-1,-1,-1)}else if(ce===4){N(Ee,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Ee,q[0],q[1],q[2],q[3],q[4])}Te=q[0]}ce=0;if(Ne===$){Ee++;q[0]=0;Te=-1}}else if((Ne&R)===0){le|=Ne<<_e;const E=le&1?-(le>>1):le>>1;q[ce++]+=E;_e=0;le=0}else{le|=(Ne&G)<<_e;_e+=5}}if(ce===1){N(Ee,q[0],-1,-1,-1,-1)}else if(ce===4){N(Ee,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Ee,q[0],q[1],q[2],q[3],q[4])}};E.exports=readMappings},41286:E=>{const splitIntoLines=E=>{const N=[];const R=E.length;let j=0;for(;j{"use strict";const j=R(47310);const $=R(60715);const streamAndGetSourceAndMap=(E,N,R,q,G)=>{let ie="";let ae="";let ce=[];let le=[];let _e=[];const Ee=j(Object.assign({},N,{columns:true}));const Te=!!(N&&N.finalSource);const{generatedLine:we,generatedColumn:Ie,source:Ne}=$(E,N,((E,N,j,$,q,G,ce)=>{if(E!==undefined)ie+=E;ae+=Ee(N,j,$,q,G,ce);return R(Te?undefined:E,N,j,$,q,G,ce)}),((E,N,R)=>{while(ce.length{while(_e.length0?{version:3,file:"x",mappings:ae,sources:ce,sourcesContent:le.length>0?le:undefined,names:_e}:null}};E.exports=streamAndGetSourceAndMap},60715:(E,N,R)=>{"use strict";const j=R(65821);const $=R(44084);E.exports=(E,N,R,q,G)=>{if(typeof E.streamChunks==="function"){return E.streamChunks(N,R,q,G)}else{const ie=E.sourceAndMap(N);if(ie.map){return $(ie.source,ie.map,R,q,G,!!(N&&N.finalSource),!!(N&&N.columns!==false))}else{return j(ie.source,R,q,G,!!(N&&N.finalSource))}}}},86924:(E,N,R)=>{"use strict";const j=R(44084);const $=R(41286);const streamChunksOfCombinedSourceMap=(E,N,R,q,G,ie,ae,ce,le,_e,Ee)=>{let Te=new Map;let we=new Map;const Ie=[];const Ne=[];const Me=[];let Le=-2;const Be=[];const je=[];const Ue=[];const ze=[];const We=[];const Je=[];const Ve=[];const findInnerMapping=(E,N)=>{if(E>Ve.length)return-1;const{mappingsData:R}=Ve[E-1];let j=0;let $=R.length/5;while(j<$){let E=j+$>>1;if(R[E*5]<=N){j=E+1}else{$=E}}if(j===0)return-1;return j-1};return j(E,N,((N,j,G,_e,Ee,qe,He)=>{if(_e===Le){const Le=findInnerMapping(Ee,qe);if(Le!==-1){const{chunks:E,mappingsData:R}=Ve[Ee-1];const q=Le*5;const ie=R[q+1];const _e=R[q+2];let Ie=R[q+3];let Ge=R[q+4];if(ie>=0){const Ee=E[Le];const Ve=R[q];const Ke=qe-Ve;if(Ke>0){let E=ie=0){Xe=Ge=0){let E=ze[ie];if(E===undefined){const N=Ue[ie];E=N?$(N):null;ze[ie]=E}if(E!==null){const N=Me[He];const R=_e<=E.length?E[_e-1].slice(Ie,Ie+N.length):"";if(N===R){Xe=He=Ie.length?-1:Ie[_e];if(Ge<0){ae(N,j,G,-1,-1,-1,-1)}else{let E=-1;if(He>=0&&He{if(N===R){Le=E;if(q!==undefined)$=q;else q=$;Ie[E]=-2;j($,G,((E,N,R,j,$,q,G)=>{while(Ve.length{Ue[E]=R;ze[E]=undefined;Be[E]=-2;je[E]=[N,R]}),((E,N)=>{We[E]=-2;Je[E]=N}),false,Ee)}else{let R=Te.get(N);if(R===undefined){Te.set(N,R=Te.size);ce(R,N,$)}Ie[E]=R}}),((E,N)=>{Ne[E]=-2;Me[E]=N}),_e,Ee)};E.exports=streamChunksOfCombinedSourceMap},65821:(E,N,R)=>{"use strict";const j=R(13597);const $=R(41286);const streamChunksOfRawSource=(E,N,R,j)=>{let q=1;const G=$(E);let ie;for(ie of G){N(ie,q,0,-1,-1,-1,-1);q++}return G.length===0||ie.endsWith("\n")?{generatedLine:G.length+1,generatedColumn:0}:{generatedLine:G.length,generatedColumn:ie.length}};E.exports=(E,N,R,$,q)=>q?j(E):streamChunksOfRawSource(E,N,R,$)},44084:(E,N,R)=>{"use strict";const j=R(13597);const $=R(86507);const q=R(93581);const G=R(41286);const streamChunksOfSourceMapFull=(E,N,R,j,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,names:_e,mappings:Ee}=N;for(let E=0;E{if(Be&&Me<=ae.length){let j;const $=Me;const q=Le;const G=ae[Me-1];if(E!==Me){j=G.slice(Le);Me++;Le=0}else{j=G.slice(Le,N);Le=N}if(j){R(j,$,q,je,Ue,ze,We)}Be=false}if(E>Me&&Le>0){if(Me<=ae.length){const E=ae[Me-1].slice(Le);R(E,Me,Le,-1,-1,-1,-1)}Me++;Le=0}while(E>Me){if(Me<=ae.length){R(ae[Me-1],Me,0,-1,-1,-1,-1)}Me++}if(N>Le){if(Me<=ae.length){const E=ae[Me-1].slice(Le,N);R(E,Me,Le,-1,-1,-1,-1)}Le=N}if(j>=0&&(E{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,mappings:_e}=N;for(let E=0;E{if(j<0||Eae.length){return}while(E>Ee){if(Ee<=ae.length){R(ae[Ee-1],Ee,0,-1,-1,-1,-1)}Ee++}if(E<=ae.length){R(ae[E-1],E,0,j,$,q,-1);Ee++}};q(_e,onMapping);for(;Ee<=ae.length;Ee++){R(ae[Ee-1],Ee,0,-1,-1,-1,-1)}const Te=ae[ae.length-1];const we=Te.endsWith("\n");const Ie=we?ae.length+1:ae.length;const Ne=we?0:Te.length;return{generatedLine:Ie,generatedColumn:Ne}};const streamChunksOfSourceMapFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0)return ae;const{sources:_e,sourcesContent:Ee,names:Te,mappings:we}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Ee&&Ee[E]||undefined)}if(Te){for(let E=0;E{if(E>=ce&&(N>=le||E>ce)){return}if(j>=0){R(undefined,E,N,j,$,q,G);Ie=E}else if(Ie===E){R(undefined,E,N,-1,-1,-1,-1);Ie=0}};q(we,onMapping);return ae};const streamChunksOfSourceMapLinesFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0){return{generatedLine:1,generatedColumn:0}}const{sources:_e,sourcesContent:Ee,mappings:Te}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Ee&&Ee[E]||undefined)}const we=le===0?ce-1:ce;let Ie=1;const onMapping=(E,N,j,$,q,G)=>{if(j>=0&&Ie<=E&&E<=we){R(undefined,E,0,j,$,q,-1);Ie=E+1}};q(Te,onMapping);return ae};E.exports=(E,N,R,j,$,q,G)=>{if(G){return q?streamChunksOfSourceMapFinal(E,N,R,j,$):streamChunksOfSourceMapFull(E,N,R,j,$)}else{return q?streamChunksOfSourceMapLinesFinal(E,N,R,j,$):streamChunksOfSourceMapLinesFull(E,N,R,j,$)}}},48135:(E,N,R)=>{const defineExport=(E,R)=>{let j;Object.defineProperty(N,E,{get:()=>{if(R!==undefined){j=R();R=undefined}return j},configurable:true})};defineExport("Source",(()=>R(33839)));defineExport("RawSource",(()=>R(76274)));defineExport("OriginalSource",(()=>R(11176)));defineExport("SourceMapSource",(()=>R(82340)));defineExport("CachedSource",(()=>R(76185)));defineExport("ConcatSource",(()=>R(96123)));defineExport("ReplaceSource",(()=>R(79722)));defineExport("PrefixSource",(()=>R(96276)));defineExport("SizeOnlySource",(()=>R(93883)));defineExport("CompatSource",(()=>R(7961)))},63221:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=$e,E.exports["default"]=$e;const R={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},j=Object.prototype.hasOwnProperty,$={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:R="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,ce=0;const le=ce;let _e=!1;const Ee=ce;if(!1!==E){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Te=Ee===ce;if(_e=_e||Te,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.type&&(N="type")){const E={params:{missingProperty:N}};null===ae?ae=[E]:ae.push(E),ce++}else{const N=ce;for(const N in E)if("cacheUnaffected"!==N&&"maxGenerations"!==N&&"type"!==N){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(N===ce){if(void 0!==E.cacheUnaffected){const N=ce;if("boolean"!=typeof E.cacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var we=N===ce}else we=!0;if(we){if(void 0!==E.maxGenerations){let N=E.maxGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<1||isNaN(N)){const E={params:{comparison:">=",limit:1}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}we=R===ce}else we=!0;if(we)if(void 0!==E.type){const N=ce;if("memory"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}we=N===ce}else we=!0}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}if(Te=R===ce,_e=_e||Te,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.type&&(R="type")){const E={params:{missingProperty:R}};null===ae?ae=[E]:ae.push(E),ce++}else{const R=ce;for(const N in E)if(!j.call($,N)){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(R===ce){if(void 0!==E.allowCollectingMemory){const N=ce;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.buildDependencies){let N=E.buildDependencies;const R=ce;if(ce===R)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let N=0;N=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutAfterLargeChanges){let N=E.idleTimeoutAfterLargeChanges;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutForInitialStore){let N=E.idleTimeoutForInitialStore;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.immutablePaths){let R=E.immutablePaths;const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let j=0;j=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.maxMemoryGenerations){let N=E.maxMemoryGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.memoryCacheUnaffected){const N=ce;if("boolean"!=typeof E.memoryCacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.name){const N=ce;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.store){const N=ce;if("pack"!==E.store){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.type){const N=ce;if("filesystem"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie)if(void 0!==E.version){const N=ce;if("string"!=typeof E.version){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0}}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}Te=R===ce,_e=_e||Te}}if(!_e){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,s.errors=ae,!1}return ce=le,null!==ae&&(le?ae.length=le:ae=null),s.errors=ae,0===ce}function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;s(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}const q={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G,R=G;let j=!1;const $=G;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=$===G;if(j=j||_e,!j){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G,j=j||_e}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function l(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1,le=null;const _e=ie,Ee=ie;let Te=!1;const we=ie;if(ie===we)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Ie=we===ie;if(Te=Te||Ie,!Te){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ie=N===ie,Te=Te||Ie}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===G?G=[E]:G.push(E),ie++,l.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),l.errors=G,0===ie}function p(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){const N=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs){const N=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs2){const N=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e)if(void 0!==E.root){const N=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),p.errors=q,0===G}function f(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const N=E.length;for(let R=0;R1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){const R=ae;l(E.filename,{instancePath:N+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?l.errors:ie.concat(l.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.import){let N=E.import;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N))if(N.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var Ee=!0;const E=N.length;for(let R=0;R1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(null!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if($=$||we,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,$=$||we}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.library){const R=ae;u(E.library,{instancePath:N+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?u.errors:ie.concat(u.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.publicPath){const R=ae;c(E.publicPath,{instancePath:N+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.runtime){let N=E.runtime;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.wasmLoading){const R=ae;m(E.wasmLoading,{instancePath:N+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),ce=R===ae}else ce=!0}}}}}}}}}}}return y.errors=ie,0===ae}function h(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const le=G,_e=G;let Ee=!1;const Te=G,we=G;let Ie=!1;const Ne=G;if(G===Ne)if(Array.isArray(j))if(j.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var ie=!0;const E=j.length;for(let N=0;N1){const R={};for(;N--;){let $=j[N];if("string"==typeof $){if("number"==typeof R[$]){E=R[$];const j={params:{i:N,j:E}};null===q?q=[j]:q.push(j),G++;break}R[$]=N}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=Ne===G;if(Ie=Ie||ae,!Ie){const E=G;if(G===E)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,Ie=Ie||ae}if(Ie)G=we,null!==q&&(we?q.length=we:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=Te===G;if(Ee=Ee||ce,!Ee){const ie=G;y(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?y.errors:q.concat(y.errors),G=q.length),ce=ie===G,Ee=Ee||ce}if(!Ee){const E={params:{}};return null===q?q=[E]:q.push(E),G++,h.errors=q,!1}if(G=_e,null!==q&&(_e?q.length=_e:q=null),le!==G)break}}return h.errors=q,0===G}function d(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1,ce=null;const le=G,_e=G;let Ee=!1;const Te=G;if(G===Te)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var we=!0;const N=E.length;for(let R=0;R1){const j={};for(;R--;){let $=E[R];if("string"==typeof $){if("number"==typeof j[$]){N=j[$];const E={params:{i:R,j:N}};null===q?q=[E]:q.push(E),G++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ie=Te===G;if(Ee=Ee||Ie,!Ee){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ie=N===G,Ee=Ee||Ie}if(Ee)G=_e,null!==q&&(_e?q.length=_e:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,d.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),d.errors=q,0===G}function g(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;h(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const ie=G;d(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?d.errors:q.concat(d.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),g.errors=q,0===G}function b(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;g(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,b.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),b.errors=q,0===G}const G={asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}},ie=new RegExp("^https?://","u");function P(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ae=G;let ce=!1,le=null;const _e=G;if(G==G)if(Array.isArray(E)){const N=E.length;for(let R=0;R=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=Te===ae;if(Ee=Ee||_e,!Ee){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,Ee=Ee||_e}if(Ee)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=G===ae;if(q=q||Ee,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,q=q||Ee}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.idHint){const N=ae;if("string"!=typeof E.idHint)return pe.errors=[{params:{type:"string"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Te=E===ae,$=$||Te,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var we=Ee===ae;if(_e=_e||we,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,_e=_e||we}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=Ee===ae;if(_e=_e||Ie,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,_e=_e||Ie}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Ee===ae;if(_e=_e||Ne,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,_e=_e||Ne}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=Ee===ae;if(_e=_e||Me,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,_e=_e||Me}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=Ee===ae;if(_e=_e||Be,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,_e=_e||Be}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=Ee===ae;if(_e=_e||je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,_e=_e||je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=q===ae;if($=$||Ue,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ue=E===ae,$=$||Ue,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ue=E===ae,$=$||Ue}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.priority){let N=E.priority;const R=ae;if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.reuseExistingChunk){const N=ae;if("boolean"!=typeof E.reuseExistingChunk)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.test){let N=E.test;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var ze=q===ae;if($=$||ze,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(ze=E===ae,$=$||ze,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,$=$||ze}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.type){let N=E.type;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var We=q===ae;if($=$||We,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(We=E===ae,$=$||We,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,$=$||We}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=ie,0===ae}function fe(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return fe.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(Me,N))return fe.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.automaticNameDelimiter){let N=E.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof N)return fe.errors=[{params:{type:"string"}}],!1;if(N.length<1)return fe.errors=[{params:{}}],!1}var ce=R===ae}else ce=!0;if(ce){if(void 0!==E.cacheGroups){let N=E.cacheGroups;const j=ae,$=ae,q=ae;if(ae===q)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.test&&(E="test")){const E={};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==N.test){let E=N.test;const R=ae;let j=!1;const $=ae;if(!(E instanceof RegExp)){const E={};null===ie?ie=[E]:ie.push(E),ae++}var le=$===ae;if(j=j||le,!j){const N=ae;if("string"!=typeof E){const E={};null===ie?ie=[E]:ie.push(E),ae++}if(le=N===ae,j=j||le,!j){const N=ae;if(!(E instanceof Function)){const E={};null===ie?ie=[E]:ie.push(E),ae++}le=N===ae,j=j||le}}if(j)ae=R,null!==ie&&(R?ie.length=R:ie=null);else{const E={};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae)return fe.errors=[{params:{}}],!1;if(ae=$,null!==ie&&($?ie.length=$:ie=null),ae===j){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;for(const E in N){let j=N[E];const $=ae,q=ae;let ce=!1;const le=ae;if(!1!==j){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=le===ae;if(ce=ce||_e,!ce){const $=ae;if(!(j instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if("string"!=typeof j){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if(!(j instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;pe(j,{instancePath:R+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:N,parentDataProperty:E,rootData:G})||(ie=null===ie?pe.errors:ie.concat(pe.errors),ae=ie.length),_e=$===ae,ce=ce||_e}}}}if(!ce){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),$!==ae)break}}ce=j===ae}else ce=!0;if(ce){if(void 0!==E.chunks){let N=E.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==N&&"async"!==N&&"all"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.defaultSizeTypes){let N=E.defaultSizeTypes;const R=ae;if(ae===R){if(!Array.isArray(N))return fe.errors=[{params:{type:"array"}}],!1;if(N.length<1)return fe.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=Ee===ae;if(_e=_e||Te,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,_e=_e||Te}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.fallbackCacheGroup){let N=E.fallbackCacheGroup;const R=ae;if(ae===R){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in N)if("automaticNameDelimiter"!==E&&"chunks"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E&&"minSizeReduction"!==E)return fe.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==N.automaticNameDelimiter){let E=N.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof E)return fe.errors=[{params:{type:"string"}}],!1;if(E.length<1)return fe.errors=[{params:{}}],!1}var we=R===ae}else we=!0;if(we){if(void 0!==N.chunks){let E=N.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==E&&"async"!==E&&"all"!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const N=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=N===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxAsyncSize){let E=N.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=_e===ae;if(le=le||Ne,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=N===ae,le=le||Ne}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxInitialSize){let E=N.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=_e===ae;if(le=le||Le,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Le=N===ae,le=le||Le}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxSize){let E=N.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=_e===ae;if(le=le||Be,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=N===ae,le=le||Be}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.minSize){let E=N.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=_e===ae;if(le=le||je,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=N===ae,le=le||je}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we)if(void 0!==N.minSizeReduction){let E=N.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=_e===ae;if(le=le||Ue,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=N===ae,le=le||Ue}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0}}}}}}}}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=G===ae;if(q=q||ze,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,q=q||ze}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.hidePathInfo){const N=ae;if("boolean"!=typeof E.hidePathInfo)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var We=Ee===ae;if(_e=_e||We,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,_e=_e||We}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Je=Ee===ae;if(_e=_e||Je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,_e=_e||Je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ve=Ee===ae;if(_e=_e||Ve,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ve=E===ae,_e=_e||Ve}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var qe=Ee===ae;if(_e=_e||qe,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,_e=_e||qe}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var He=Ee===ae;if(_e=_e||He,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}He=E===ae,_e=_e||He}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=Ee===ae;if(_e=_e||Ge,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,_e=_e||Ge}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ke=q===ae;if($=$||Ke,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ke=E===ae,$=$||Ke,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ke=E===ae,$=$||Ke}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}return fe.errors=ie,0===ae}function ue(E,{instancePath:N="",parentData:R,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return ue.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if(!j.call(Ne,N))return ue.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.checkWasmTypes){const N=ie;if("boolean"!=typeof E.checkWasmTypes)return ue.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.chunkIds){let N=E.chunkIds;const R=ie;if("natural"!==N&&"named"!==N&&"deterministic"!==N&&"size"!==N&&"total-size"!==N&&!1!==N)return ue.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.concatenateModules){const N=ie;if("boolean"!=typeof E.concatenateModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emitOnErrors){const N=ie;if("boolean"!=typeof E.emitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.flagIncludedChunks){const N=ie;if("boolean"!=typeof E.flagIncludedChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.innerGraph){const N=ie;if("boolean"!=typeof E.innerGraph)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mangleExports){let N=E.mangleExports;const R=ie,j=ie;let $=!1;const q=ie;if("size"!==N&&"deterministic"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var ce=q===ie;if($=$||ce,!$){const E=ie;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,$=$||ce}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mangleWasmImports){const N=ie;if("boolean"!=typeof E.mangleWasmImports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mergeDuplicateChunks){const N=ie;if("boolean"!=typeof E.mergeDuplicateChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimize){const N=ie;if("boolean"!=typeof E.minimize)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimizer){let N=E.minimizer;const R=ie;if(ie===R){if(!Array.isArray(N))return ue.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R=",limit:1}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.hashSalt){let N=E.hashSalt;const R=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.length<1)return De.errors=[{params:{}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hotUpdateChunkFilename){let R=E.hotUpdateChunkFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.hotUpdateGlobal){const N=ae;if("string"!=typeof E.hotUpdateGlobal)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.hotUpdateMainFilename){let R=E.hotUpdateMainFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.iife){const N=ae;if("boolean"!=typeof E.iife)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importFunctionName){const N=ae;if("string"!=typeof E.importFunctionName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importMetaName){const N=ae;if("string"!=typeof E.importMetaName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.library){const N=ae;ve(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?ve.errors:ie.concat(ve.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.libraryExport){let N=E.libraryExport;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let _e=!1;const Ee=ae;if(ae===Ee)if(Array.isArray(N)){const E=N.length;for(let R=0;R=",limit:1}}],!1}_e=R===ce}else _e=!0;if(_e){if(void 0!==E.performance){const N=ce;Pe(E.performance,{instancePath:$+"/performance",parentData:E,parentDataProperty:"performance",rootData:ie})||(ae=null===ae?Pe.errors:ae.concat(Pe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.plugins){const N=ce;Ae(E.plugins,{instancePath:$+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ie})||(ae=null===ae?Ae.errors:ae.concat(Ae.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile)return $e.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.recordsInputPath){let R=E.recordsInputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ne=G===ce;if(q=q||Ne,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ne=E===ce,q=q||Ne}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsOutputPath){let R=E.recordsOutputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Me=G===ce;if(q=q||Me,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Me=E===ce,q=q||Me}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsPath){let R=E.recordsPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Le=G===ce;if(q=q||Le,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Le=E===ce,q=q||Le}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.resolve){const N=ce;xe(E.resolve,{instancePath:$+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ie})||(ae=null===ae?xe.errors:ae.concat(xe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.resolveLoader){const N=ce;ke(E.resolveLoader,{instancePath:$+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ie})||(ae=null===ae?ke.errors:ae.concat(ke.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.snapshot){let R=E.snapshot;const j=ce;if(ce==ce){if(!R||"object"!=typeof R||Array.isArray(R))return $e.errors=[{params:{type:"object"}}],!1;{const E=ce;for(const E in R)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===ce){if(void 0!==R.buildDependencies){let E=R.buildDependencies;const N=ce;if(ce===N){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const N=ce;for(const N in E)if("hash"!==N&&"timestamp"!==N)return $e.errors=[{params:{additionalProperty:N}}],!1;if(N===ce){if(void 0!==E.hash){const N=ce;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var Be=N===ce}else Be=!0;if(Be)if(void 0!==E.timestamp){const N=ce;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;Be=N===ce}else Be=!0}}}var je=N===ce}else je=!0;if(je){if(void 0!==R.immutablePaths){let E=R.immutablePaths;const j=ce;if(ce===j){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j{"use strict";function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.path&&(N="path"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("context"!==N&&"entryOnly"!==N&&"format"!==N&&"name"!==N&&"path"!==N&&"type"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.context){let N=E.context;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}var q=0===R}else q=!0;if(q){if(void 0!==E.entryOnly){const N=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.format){const N=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.name){let N=E.name;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q){if(void 0!==E.path){let N=E.path;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q)if(void 0!==E.type){let N=E.type;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},69744:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.content&&(N="content"))return t.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("content"!==N&&"name"!==N&&"type"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.content){let N=E.content;const R=G,j=G;let $=!1,_e=null;const Ee=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N))if(Object.keys(N).length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else for(const E in N){let R=N[E];const j=G;if(G===j)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.id&&(E="id")){const N={params:{missingProperty:E}};null===q?q=[N]:q.push(N),G++}else{const E=G;for(const E in R)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.buildMeta){let E=R.buildMeta;const N=G;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=N===G}else ie=!0;if(ie){if(void 0!==R.exports){let E=R.exports;const N=G,j=G;let $=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("context"!==N&&"hashDigest"!==N&&"hashDigestLength"!==N&&"hashFunction"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.context){let R=E.context;const j=ie;if(ie===j){if("string"!=typeof R)return e.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return e.errors=[{params:{}}],!1}var ae=j===ie}else ae=!0;if(ae){if(void 0!==E.hashDigest){let N=E.hashDigest;const R=ie;if("hex"!==N&&"latin1"!==N&&"base64"!==N)return e.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.hashDigestLength){let N=E.hashDigestLength;const R=ie;if(ie===R){if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return e.errors=[{params:{comparison:">=",limit:1}}],!1}ae=R===ie}else ae=!0;if(ae)if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ie,j=ie;let $=!1,q=null;const le=ie,_e=ie;let Ee=!1;const Te=ie;if(ie===Te)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=Te===ie;if(Ee=Ee||ce,!Ee){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,Ee=Ee||ce}if(Ee)ie=_e,null!==G&&(_e?G.length=_e:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},44194:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.resourceRegExp&&(N="resourceRegExp")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("contextRegExp"!==N&&"resourceRegExp"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.contextRegExp){const N=G;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=N===G}else le=!0;if(le)if(void 0!==E.resourceRegExp){const N=G;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(G===N)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.checkResource&&(N="checkResource")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("checkResource"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},71633:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("parse"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},80274:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const N=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var G=0===N}else G=!0;if(G){if(void 0!==E.minimize){const N=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;G=0===N}else G=!0;if(G)if(void 0!==E.options){let R=E.options;const j=0;if(0===j){if(!R||"object"!=typeof R||Array.isArray(R))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==R.context){let E=R.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==N.test(E))return e.errors=[{params:{}}],!1}}G=0===j}else G=!0}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},73971:E=>{"use strict";E.exports=t,E.exports["default"]=t;const N={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},R=Object.prototype.hasOwnProperty;function r(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ae;for(const j in E)if(!R.call(N,j))return r.errors=[{params:{additionalProperty:j}}],!1;if(j===ae){if(void 0!==E.activeModules){const N=ae;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependencies){const N=ae;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependenciesCount){let N=E.dependenciesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.entries){const N=ae;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.handler){const N=ae,R=ae;let j=!1,$=null;const q=ae;if(!(E.handler instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&(j=!0,$=0),!j){const E={params:{passingSchemas:$}};return null===ie?ie=[E]:ie.push(E),ae++,r.errors=ie,!1}ae=R,null!==ie&&(R?ie.length=R:ie=null),ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modules){const N=ae;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modulesCount){let N=E.modulesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.percentBy){let N=E.percentBy;const R=ae;if("entries"!==N&&"modules"!==N&&"dependencies"!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0;if(ce)if(void 0!==E.profile){let N=E.profile;const R=ae;if(!0!==N&&!1!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0}}}}}}}}}}return r.errors=ie,0===ae}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}},68337:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports["default"]=l;const R={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},j=Object.prototype.hasOwnProperty;function s(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.paths&&(N="paths"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("paths"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.paths){let N=E.paths;if(G==G){if(!Array.isArray(N))return r.errors=[{params:{type:"array"}}],!1;if(N.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ie;for(const N in E)if("dataUrl"!==N&&"emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(j===ie){if(void 0!==E.dataUrl){const N=ie;n(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?n.errors:G.concat(n.errors),ie=G.length);var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return r.errors=G,0===ie}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},3720:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("dataUrl"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;R===G&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length))}}return r.errors=q,0===G}function a(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),a.errors=q,0===G}E.exports=a,E.exports["default"]=a},33605:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("dataUrlCondition"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.dataUrlCondition){let N=E.dataUrlCondition;const R=G;let j=!1;const $=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("maxSize"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G&&void 0!==N.maxSize){let E=N.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=$===G;if(j=j||ie,!j){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,j=j||ie}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=R,null!==q&&(R?q.length=R:q=null)}}}return t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return t(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),r.errors=q,0===G}E.exports=r,E.exports["default"]=r},87441:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}return r.errors=G,0===ie}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),n.errors=q,0===G}E.exports=n,E.exports["default"]=n},28633:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{"use strict";function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports["default"]=o},43329:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports["default"]=d;const R={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},j=Object.prototype.hasOwnProperty;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const R=0;for(const N in E)if("outputPath"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(0===R&&void 0!==E.outputPath){let R=E.outputPath;if("string"!=typeof R)return t.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports["default"]=t},18511:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},52042:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},77593:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxSize"!==N&&"minSize"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.maxSize){let N=E.maxSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minSize){let N=E.minSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},72713:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.maxChunks&&(N="maxChunks"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxChunks"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.maxChunks){let N=E.maxChunks;const R=0;if(0===R){if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return r.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},83889:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.minChunkSize&&(N="minChunkSize"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"minChunkSize"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minChunkSize){let N=E.minChunkSize;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},44363:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=n,E.exports["default"]=n;const R=new RegExp("^https?://","u");function e(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let j;if(void 0===E.allowedUris&&(j="allowedUris"))return e.errors=[{params:{missingProperty:j}}],!1;{const j=ae;for(const N in E)if("allowedUris"!==N&&"cacheLocation"!==N&&"frozen"!==N&&"lockfileLocation"!==N&&"upgrade"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(j===ae){if(void 0!==E.allowedUris){let N=E.allowedUris;const j=ae;if(ae==ae){if(!Array.isArray(N))return e.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let j=0;j{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("eager"!==N&&"import"!==N&&"packageName"!==N&&"requiredVersion"!==N&&"shareKey"!==N&&"shareScope"!==N&&"singleton"!==N&&"strictVersion"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.eager){const N=G;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ie=N===G}else ie=!0;if(ie){if(void 0!==E.import){let N=E.import;const R=G,j=G;let $=!1;const ce=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const E=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,$=$||ae}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.packageName){let N=E.packageName;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.requiredVersion){let N=E.requiredVersion;const R=G,j=G;let $=!1;const ae=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareKey){let N=E.shareKey;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.singleton){const N=G;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0;if(ie)if(void 0!==E.strictVersion){const N=G;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0}}}}}}}}}return r.errors=q,0===G}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;r(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const E=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return e.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const N in E){let R=E[N];const j=G,$=G;let le=!1;const _e=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R)){const E=G;for(const E in R)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.eager){const E=G;if("boolean"!=typeof R.eager){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ie=E===G}else ie=!0;if(ie){if(void 0!==R.shareKey){let E=R.shareKey;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie){if(void 0!==R.shareScope){let E=R.shareScope;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie)if(void 0!==R.version){let E=R.version;const N=G,j=G;let $=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=N===G,$=$||ae}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ce=_e===G;if(le=le||ce,!le){const E=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,le=le||ce}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}return r.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j{"use strict";E.exports=function(E){E.prototype[Symbol.iterator]=function*(){for(let E=this.head;E;E=E.next){yield E.value}}}},83314:(E,N,R)=>{"use strict";E.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(E){var N=this;if(!(N instanceof Yallist)){N=new Yallist}N.tail=null;N.head=null;N.length=0;if(E&&typeof E.forEach==="function"){E.forEach((function(E){N.push(E)}))}else if(arguments.length>0){for(var R=0,j=arguments.length;R1){R=N}else if(this.head){j=this.head.next;R=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=0;j!==null;$++){R=E(R,j.value,$);j=j.next}return R};Yallist.prototype.reduceReverse=function(E,N){var R;var j=this.tail;if(arguments.length>1){R=N}else if(this.tail){j=this.tail.prev;R=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=this.length-1;j!==null;$--){R=E(R,j.value,$);j=j.prev}return R};Yallist.prototype.toArray=function(){var E=new Array(this.length);for(var N=0,R=this.head;R!==null;N++){E[N]=R.value;R=R.next}return E};Yallist.prototype.toArrayReverse=function(){var E=new Array(this.length);for(var N=0,R=this.tail;R!==null;N++){E[N]=R.value;R=R.prev}return E};Yallist.prototype.slice=function(E,N){N=N||this.length;if(N<0){N+=this.length}E=E||0;if(E<0){E+=this.length}var R=new Yallist;if(Nthis.length){N=this.length}for(var j=0,$=this.head;$!==null&&jthis.length){N=this.length}for(var j=this.length,$=this.tail;$!==null&&j>N;j--){$=$.prev}for(;$!==null&&j>E;j--,$=$.prev){R.push($.value)}return R};Yallist.prototype.splice=function(E,N,...R){if(E>this.length){E=this.length-1}if(E<0){E=this.length+E}for(var j=0,$=this.head;$!==null&&j{class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const N=new Node(E);if(this._head){this._tail.next=N;this._tail=N}else{this._head=N;this._tail=N}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},32090:(E,N,R)=>{const j=R(63686);const $=j.makeLogger;j.makeLogger=function(E,N){const R=$(E,N);const j=R.logWarning;R.logWarning=function(E){if(E.indexOf("This version may or may not be compatible with ts-loader")!==-1)return;return j(E)};return R};E.exports=R(82070);E.exports.typescript=R(53779)},39491:E=>{"use strict";E.exports=require("assert")},14300:E=>{"use strict";E.exports=require("buffer")},32081:E=>{"use strict";E.exports=require("child_process")},96206:E=>{"use strict";E.exports=require("console")},22057:E=>{"use strict";E.exports=require("constants")},6113:E=>{"use strict";E.exports=require("crypto")},82361:E=>{"use strict";E.exports=require("events")},57147:E=>{"use strict";E.exports=require("fs")},13685:E=>{"use strict";E.exports=require("http")},95687:E=>{"use strict";E.exports=require("https")},31405:E=>{"use strict";E.exports=require("inspector")},22037:E=>{"use strict";E.exports=require("os")},71017:E=>{"use strict";E.exports=require("path")},4074:E=>{"use strict";E.exports=require("perf_hooks")},35125:E=>{"use strict";E.exports=require("pnpapi")},77282:E=>{"use strict";E.exports=require("process")},63477:E=>{"use strict";E.exports=require("querystring")},12781:E=>{"use strict";E.exports=require("stream")},76224:E=>{"use strict";E.exports=require("tty")},57310:E=>{"use strict";E.exports=require("url")},73837:E=>{"use strict";E.exports=require("util")},26144:E=>{"use strict";E.exports=require("vm")},71267:E=>{"use strict";E.exports=require("worker_threads")},59796:E=>{"use strict";E.exports=require("zlib")},44858:function(E,N,R){(function(E,j){true?j(N,R(37362)):0})(this,(function(E,N){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var j=_interopDefaultLegacy(N);function characters(E){return E.split("")}function member(E,N){return N.includes(E)}class DefaultsError extends Error{constructor(E,N){super();this.name="DefaultsError";this.message=E;this.defs=N}}function defaults(E,N,R){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const j=E||{};if(R)for(const E in j)if(HOP(j,E)&&!HOP(N,E)){throw new DefaultsError("`"+E+"` is not a supported option",N)}for(const R in N)if(HOP(N,R)){if(!E||!HOP(E,R)){j[R]=N[R]}else if(R==="ecma"){let N=E[R]|0;if(N>5&&N<2015)N+=2009;j[R]=N}else{j[R]=E&&HOP(E,R)?E[R]:N[R]}}return j}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var $=function(){function MAP(N,R,j){var $=[],q=[],G;function doit(){var ie=R(N[G],G);var ae=ie instanceof Last;if(ae)ie=ie.v;if(ie instanceof AtTop){ie=ie.v;if(ie instanceof Splice){q.push.apply(q,j?ie.v.slice().reverse():ie.v)}else{q.push(ie)}}else if(ie!==E){if(ie instanceof Splice){$.push.apply($,j?ie.v.slice().reverse():ie.v)}else{$.push(ie)}}return ae}if(Array.isArray(N)){if(j){for(G=N.length;--G>=0;)if(doit())break;$.reverse();q.reverse()}else{for(G=0;G=0;){if(E[R]===N)E.splice(R,1)}}function mergeSort(E,N){if(E.length<2)return E.slice();function merge(E,R){var j=[],$=0,q=0,G=0;while(${R+=E}))}return R}function has_annotation(E,N){return E._annotations&N}function set_annotation(E,N){E._annotations|=N}var ie="";var ae=true;var ce="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var le="false null true";var _e="enum implements import interface package private protected public static super this "+le+" "+ce;var Ee="return new delete throw else case yield await";ce=makePredicate(ce);_e=makePredicate(_e);Ee=makePredicate(Ee);le=makePredicate(le);var Te=makePredicate(characters("+-*&%=<>!?|~^"));var we=/[0-9a-f]/i;var Ie=/^0x[0-9a-f]+$/i;var Ne=/^0[0-7]+$/;var Me=/^0o[0-7]+$/i;var Le=/^0b[01]+$/i;var Be=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var je=/^(0[xob])?[0-9a-f]+n$/i;var Ue=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var ze=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var We=makePredicate(characters("\n\r\u2028\u2029"));var Je=makePredicate(characters(";]),:"));var Ve=makePredicate(characters("[{(,;:"));var qe=makePredicate(characters("[]{}(),;:"));var He={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){if(is_surrogate_pair_tail(E.charCodeAt(N+1))){return E.charAt(N)+E.charAt(N+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(N))){if(is_surrogate_pair_head(E.charCodeAt(N-1))){return E.charAt(N-1)+E.charAt(N)}}return E.charAt(N)}function get_full_char_code(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){return 65536+(E.charCodeAt(N)-55296<<10)+E.charCodeAt(N+1)-56320}return E.charCodeAt(N)}function get_full_char_length(E){var N=0;for(var R=0;R65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return He.ID_Start.test(E)}function is_identifier_char(E){return He.ID_Continue.test(E)}const Ge=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Ge.test(E)}function is_identifier_string(E,N){if(Ge.test(E)){return true}if(!N&&/[\ud800-\udfff]/.test(E)){return false}var R=He.ID_Start.exec(E);if(!R||R.index!==0){return false}E=E.slice(R[0].length);if(!E){return true}R=He.ID_Continue.exec(E);return!!R&&R[0].length===E.length}function parse_js_number(E,N=true){if(!N&&E.includes("e")){return NaN}if(Ie.test(E)){return parseInt(E.substr(2),16)}else if(Ne.test(E)){return parseInt(E.substr(1),8)}else if(Me.test(E)){return parseInt(E.substr(2),8)}else if(Le.test(E)){return parseInt(E.substr(2),2)}else if(Be.test(E)){return parseFloat(E)}else{var R=parseFloat(E);if(R==E)return R}}class JS_Parse_Error extends Error{constructor(E,N,R,j,$){super();this.name="SyntaxError";this.message=E;this.filename=N;this.line=R;this.col=j;this.pos=$}}function js_error(E,N,R,j,$){throw new JS_Parse_Error(E,N,R,j,$)}function is_token(E,N,R){return E.type==N&&(R==null||E.value==R)}var Ke={};function tokenizer(E,N,R,j){var $={text:E,filename:N,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char($.text,$.pos)}function is_option_chain_op(){const E=$.text.charCodeAt($.pos+1)===46;if(!E)return false;const N=$.text.charCodeAt($.pos+2);return N<48||N>57}function next(E,N){var R=get_full_char($.text,$.pos++);if(E&&!R)throw Ke;if(We.has(R)){$.newline_before=$.newline_before||!N;++$.line;$.col=0;if(R=="\r"&&peek()=="\n"){++$.pos;R="\n"}}else{if(R.length>1){++$.pos;++$.col}++$.col}return R}function forward(E){while(E--)next()}function looking_at(E){return $.text.substr($.pos,E.length)==E}function find_eol(){var E=$.text;for(var N=$.pos,R=$.text.length;N="0"&&E<="7"}function read_escaped_char(E,N,R){var j=next(true,E);switch(j.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,N));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var q,G=find("}",true)-$.pos;if(G>6||(q=hex_bytes(G,N))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(q)}return String.fromCharCode(hex_bytes(4,N));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal(j)){if(R&&N){const E=j==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(j,N)}return j}function read_octal_escape_sequence(E,N){var R=peek();if(R>="0"&&R<="7"){E+=next(true);if(E[0]<="3"&&(R=peek())>="0"&&R<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&N)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,N){var R=0;for(;E>0;--E){if(!N&&isNaN(parseInt(peek(),16))){return parseInt(R,16)||""}var j=next(true);if(isNaN(parseInt(j,16)))parse_error("Invalid hex-character pattern in string");R+=j}return parseInt(R,16)}var Me=with_eof_error("Unterminated string constant",(function(){const E=$.pos;var N=next(),R=[];for(;;){var j=next(true,true);if(j=="\\")j=read_escaped_char(true,true);else if(j=="\r"||j=="\n")parse_error("Unterminated string constant");else if(j==N)break;R.push(j)}var q=token("string",R.join(""));ie=$.text.slice(E,$.pos);q.quote=N;return q}));var Le=with_eof_error("Unterminated template",(function(E){if(E){$.template_braces.push($.brace_counter)}var N="",R="",j,q;next(true,true);while((j=next(true,true))!="`"){if(j=="\r"){if(peek()=="\n")++$.pos;j="\n"}else if(j=="$"&&peek()=="{"){next(true,true);$.brace_counter++;q=token(E?"template_head":"template_substitution",N);ie=R;ae=false;return q}R+=j;if(j=="\\"){var ce=$.pos;var le=G&&(G.type==="name"||G.type==="punc"&&(G.value===")"||G.value==="]"));j=read_escaped_char(true,!le,true);R+=$.text.substr(ce,$.pos-ce)}N+=j}$.template_braces.pop();q=token(E?"template_head":"template_substitution",N);ie=R;ae=true;return q}));function skip_line_comment(E){var N=$.regex_allowed;var R=find_eol(),j;if(R==-1){j=$.text.substr($.pos);$.pos=$.text.length}else{j=$.text.substring($.pos,R);$.pos=R}$.col=$.tokcol+($.pos-$.tokpos);$.comments_before.push(token(E,j,true));$.regex_allowed=N;return next_token}var Be=with_eof_error("Unterminated multiline comment",(function(){var E=$.regex_allowed;var N=find("*/",true);var R=$.text.substring($.pos,N).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(R)+2);$.comments_before.push(token("comment2",R,true));$.newline_before=$.newline_before||R.includes("\n");$.regex_allowed=E;return next_token}));var Je=with_eof_error("Unterminated identifier name",(function(){var E=[],N,R=false;var read_escaped_identifier_char=function(){R=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_start(N)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(N)){next()}else{return""}E.push(N);while((N=peek())!=null){if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_char(N)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(N)){break}next()}E.push(N)}const j=E.join("");if(_e.has(j)&&R){parse_error("Escaped characters are not allowed in keywords")}return j}));var He=with_eof_error("Unterminated regular expression",(function(E){var N=false,R,j=false;while(R=next(true))if(We.has(R)){parse_error("Unexpected line terminator")}else if(N){E+="\\"+R;N=false}else if(R=="["){j=true;E+=R}else if(R=="]"&&j){j=false;E+=R}else if(R=="/"&&!j){break}else if(R=="\\"){N=true}else{E+=R}const $=Je();return token("regexp","/"+E+"/"+$)}));function read_operator(E){function grow(E){if(!peek())return E;var N=E+peek();if(Ue.has(N)){next();return grow(N)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return Be()}return $.regex_allowed?He(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=Je();if(q)return token("name",E);return le.has(E)?token("atom",E):!ce.has(E)?token("name",E):Ue.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",Je())}function with_eof_error(E,N){return function(R){try{return N(R)}catch(N){if(N===Ke)parse_error(E);else throw N}}}function next_token(E){if(E!=null)return He(E);if(j&&$.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(R){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&$.newline_before){forward(3);skip_line_comment("comment4");continue}}var N=peek();if(!N)return token("eof");var q=N.charCodeAt(0);switch(q){case 34:case 39:return Me();case 46:return handle_dot();case 47:{var G=handle_slash();if(G===next_token)continue;return G}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Le(true);case 123:$.brace_counter++;break;case 125:$.brace_counter--;if($.template_braces.length>0&&$.template_braces[$.template_braces.length-1]===$.brace_counter)return Le(false);break}if(is_digit(q))return read_num();if(qe.has(N))return token("punc",next());if(Te.has(N))return read_operator();if(q==92||is_identifier_start(N))return read_word();if(q==35)return read_private_word();break}parse_error("Unexpected character '"+N+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)$=E;return $};next_token.add_directive=function(E){$.directive_stack[$.directive_stack.length-1].push(E);if($.directives[E]===undefined){$.directives[E]=1}else{$.directives[E]++}};next_token.push_directives_stack=function(){$.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=$.directive_stack[$.directive_stack.length-1];for(var N=0;N0};return next_token}var Qe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Xe=makePredicate(["--","++"]);var Ye=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var Ze=makePredicate(["??=","&&=","||="]);var et=function(E,N){for(var R=0;R","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var tt=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,N){const R=new WeakMap;N=defaults(N,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var j={input:typeof E=="string"?tokenizer(E,N.filename,N.html5_comments,N.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};j.token=next();function is(E,N){return is_token(j.token,E,N)}function peek(){return j.peeked||(j.peeked=j.input())}function next(){j.prev=j.token;if(!j.peeked)peek();j.token=j.peeked;j.peeked=null;j.in_directives=j.in_directives&&(j.token.type=="string"||is("punc",";"));return j.token}function prev(){return j.prev}function croak(E,N,R,$){var q=j.input.context();js_error(E,q.filename,N!=null?N:q.tokline,R!=null?R:q.tokcol,$!=null?$:q.tokpos)}function token_error(E,N){croak(N,E.line,E.col)}function unexpected(E){if(E==null)E=j.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,N){if(is(E,N)){return next()}token_error(j.token,"Unexpected token "+j.token.type+" «"+j.token.value+"»"+", expected "+E+" «"+N+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!N.strict&&(is("eof")||is("punc","}")||has_newline_before(j.token))}function is_in_generator(){return j.in_generator===j.in_function}function is_in_async(){return j.in_async===j.in_function}function can_await(){return j.in_async===j.in_function||j.in_function===0&&j.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...N){const R=j.token;const $=E(...N);$.start=R;$.end=prev();return $}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){j.peeked=null;j.token=j.input(j.token.value.substr(1))}}var $=embed_tokens((function statement(E,R,$){handle_regexp();switch(j.token.type){case"string":if(j.in_directives){var q=peek();if(!ie.includes("\\")&&(is_token(q,"punc",";")||is_token(q,"punc","}")||has_newline_before(q)||is_token(q,"eof"))){j.input.add_directive(j.token.value)}else{j.in_directives=false}}var G=j.in_directives,ae=simple_statement();return G&&ae.body instanceof mn?new ut(ae.body):ae;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(j.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Nt,false,true,E)}if(j.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var ce=import_();semicolon();return ce}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(j.token.value){case"{":return new ft({start:j.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":j.in_directives=false;next();return new mt;default:unexpected()}case"keyword":switch(j.token.value){case"break":next();return break_cont($t);case"continue":next();return break_cont(Jt);case"debugger":next();semicolon();return new ct;case"do":next();var le=in_loop(statement);expect_token("keyword","while");var _e=parenthesised();semicolon(true);return new bt({body:le,condition:_e});case"while":next();return new xt({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(R){croak("classes are not allowed as the body of a loop")}if($){croak("classes are not allowed as the body of an if")}return class_(jr,E);case"function":next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Nt,false,false,E);case"if":next();return if_();case"return":if(j.in_function==0&&!N.bare_returns)croak("'return' outside of function");next();var Ee=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){Ee=expression(true);semicolon()}return new Ut({value:Ee});case"switch":next();return new Gt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(j.token))croak("Illegal newline after 'throw'");var Ee=expression(true);semicolon();return new zt({value:Ee});case"try":next();return try_();case"var":next();var ce=var_();semicolon();return ce;case"let":next();var ce=let_();semicolon();return ce;case"const":next();var ce=const_();semicolon();return ce;case"with":if(j.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new kt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var ce=export_();if(is("punc",";"))semicolon();return ce}}}unexpected()}));function labeled_statement(){var E=as_symbol(an);if(E.name==="await"&&is_in_async()){token_error(j.prev,"await cannot be used as label inside async function")}if(j.labels.some((N=>N.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");j.labels.push(E);var N=$();j.labels.pop();if(!(N instanceof yt)){E.references.forEach((function(N){if(N instanceof Jt){N=N.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",N.line,N.col,N.pos)}}))}return new _t({body:N,label:E})}function simple_statement(E){return new dt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var N=null,R;if(!can_insert_semicolon()){N=as_symbol(ln,true)}if(N!=null){R=j.labels.find((E=>E.name===N.name));if(!R)croak("Undefined label "+N.name);N.thedef=R}else if(j.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var $=new E({label:N});if(R)R.references.push($);return $}function for_(){var E="`for await` invalid in this context";var N=j.token;if(N.type=="name"&&N.value=="await"){if(!can_await()){token_error(N,E)}next()}else{N=false}expect("(");var R=null;if(!is("punc",";")){R=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var $=is("operator","in");var q=is("name","of");if(N&&!q){token_error(N,E)}if($||q){if(R instanceof tr){if(R.definitions.length>1)token_error(R.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(R)||(R=to_destructuring(R))instanceof Ot)){token_error(R.start,"Invalid left-hand side in for..in loop")}next();if($){return for_in(R)}else{return for_of(R,!!N)}}}else if(N){token_error(N,E)}return regular_for(R)}function regular_for(E){expect(";");var N=is("punc",";")?null:expression(true);expect(";");var R=is("punc",")")?null:expression(true);expect(")");return new St({init:E,condition:N,step:R,body:in_loop((function(){return $(false,true)}))})}function for_of(E,N){var R=E instanceof tr?E.definitions[0].name:null;var j=expression(true);expect(")");return new Tt({await:N,init:E,name:R,object:j,body:in_loop((function(){return $(false,true)}))})}function for_in(E){var N=expression(true);expect(")");return new Et({init:E,object:N,body:in_loop((function(){return $(false,true)}))})}var arrow_function=function(E,N,R){if(has_newline_before(j.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var $=_function_body(is("punc","{"),false,R);var q=$ instanceof Array&&$.length?$[$.length-1].end:$ instanceof Array?E:$.end;return new It({start:E,end:q,async:R,argnames:N,body:$})};var function_=function(E,N,R,j){var $=E===Nt;var q=is("operator","*");if(q){next()}var G=is("name")?as_symbol($?Kr:Yr):null;if($&&!G){if(j){E=Ft}else{unexpected()}}if(G&&E!==Pt&&!(G instanceof $r))unexpected(prev());var ie=[];var ae=_function_body(true,q||N,R,G,ie);return new E({start:ie.start,end:ae.end,is_generator:q,async:R,name:G,argnames:ie,body:ae})};function track_used_binding_identifiers(E,N){var R=new Set;var j=false;var $=false;var q=false;var G=!!N;var ie={add_parameter:function(N){if(R.has(N.value)){if(j===false){j=N}ie.check_strict()}else{R.add(N.value);if(E){switch(N.value){case"arguments":case"eval":case"yield":if(G){token_error(N,"Unexpected "+N.value+" identifier as parameter inside strict mode")}break;default:if(_e.has(N.value)){unexpected()}}}}},mark_default_assignment:function(E){if($===false){$=E}},mark_spread:function(E){if(q===false){q=E}},mark_strict_mode:function(){G=true},is_strict:function(){return $!==false||q!==false||G},check_strict:function(){if(ie.is_strict()&&j!==false){token_error(j,"Parameter "+j.value+" was used already")}}};return ie}function parameters(E){var N=track_used_binding_identifiers(true,j.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var R=parameter(N);E.push(R);if(!is("punc",")")){expect(",")}if(R instanceof At){break}}next()}function parameter(E,N){var R;var $=false;if(E===undefined){E=track_used_binding_identifiers(true,j.input.has_directive("use strict"))}if(is("expand","...")){$=j.token;E.mark_spread(j.token);next()}R=binding_element(E,N);if(is("operator","=")&&$===false){E.mark_default_assignment(j.token);next();R=new kr({start:R.start,left:R,operator:"=",right:expression(false),end:j.token})}if($!==false){if(!is("punc",")")){unexpected()}R=new At({start:$,expression:R,end:$})}E.check_strict();return R}function binding_element(E,N){var R=[];var $=true;var q=false;var G;var ie=j.token;if(E===undefined){E=track_used_binding_identifiers(false,j.input.has_directive("use strict"))}N=N===undefined?Gr:N;if(is("punc","[")){next();while(!is("punc","]")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("punc")){switch(j.token.value){case",":R.push(new Sn({start:j.token,end:j.token}));continue;case"]":break;case"[":case"{":R.push(binding_element(E,N));break;default:unexpected()}}else if(is("name")){E.add_parameter(j.token);R.push(as_symbol(N))}else{croak("Invalid function parameter")}if(is("operator","=")&&q===false){E.mark_default_assignment(j.token);next();R[R.length-1]=new kr({start:R[R.length-1].start,left:R[R.length-1],operator:"=",right:expression(false),end:j.token})}if(q){if(!is("punc","]")){croak("Rest element must be last element")}R[R.length-1]=new At({start:G,expression:R[R.length-1],end:G})}}expect("]");E.check_strict();return new Ot({start:ie,names:R,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter(j.token);var ae=prev();var ce=as_symbol(N);if(q){R.push(new At({start:G,expression:ce,end:ce.end}))}else{R.push(new wr({start:ae,key:ce.name,value:ce,end:ce.end}))}}else if(is("punc","}")){continue}else{var le=j.token;var _e=as_property_name();if(_e===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){R.push(new wr({start:prev(),key:_e,value:new N({start:prev(),name:_e,end:prev()}),end:prev()}))}else{expect(":");R.push(new wr({start:le,quote:le.quote,key:_e,value:binding_element(E,N),end:prev()}))}}if(q){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment(j.token);next();R[R.length-1].value=new kr({start:R[R.length-1].value.start,left:R[R.length-1].value,operator:"=",right:expression(false),end:j.token})}}expect("}");E.check_strict();return new Ot({start:ie,names:R,is_array:false,end:prev()})}else if(is("name")){E.add_parameter(j.token);return as_symbol(N)}else{croak("Invalid function parameter")}}function params_or_seq_(E,N){var R;var $;var q;var G=[];expect("(");while(!is("punc",")")){if(R)unexpected(R);if(is("expand","...")){R=j.token;if(N)$=j.token;next();G.push(new At({start:prev(),expression:expression(),end:j.token}))}else{G.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){q=prev();if(N)$=q}}}expect(")");if(E&&is("arrow","=>")){if(R&&q)unexpected(q)}else if($){unexpected($)}return G}function _function_body(E,N,R,$,q){var G=j.in_loop;var ie=j.labels;var ae=j.in_generator;var ce=j.in_async;++j.in_function;if(N)j.in_generator=j.in_function;if(R)j.in_async=j.in_function;if(q)parameters(q);if(E)j.in_directives=true;j.in_loop=0;j.labels=[];if(E){j.input.push_directives_stack();var le=block_();if($)_verify_symbol($);if(q)q.forEach(_verify_symbol);j.input.pop_directives_stack()}else{var le=[new Ut({start:j.token,value:expression(false),end:j.token})]}--j.in_function;j.in_loop=G;j.labels=ie;j.in_generator=ae;j.in_async=ce;return le}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",j.prev.line,j.prev.col,j.prev.pos)}return new Vt({start:prev(),end:j.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",j.prev.line,j.prev.col,j.prev.pos)}var E=j.token;var N=false;var R=true;if(can_insert_semicolon()||is("punc")&&Je.has(j.token.value)){R=false}else if(is("operator","*")){N=true;next()}return new qt({start:E,is_star:N,expression:R?expression():null,end:prev()})}function if_(){var E=parenthesised(),N=$(false,false,true),R=null;if(is("keyword","else")){next();R=$(false,false,true)}return new Ht({condition:E,body:N,alternative:R})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push($())}next();return E}function switch_body_(){expect("{");var E=[],N=null,R=null,q;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(R)R.end=prev();N=[];R=new Xt({start:(q=j.token,next(),q),expression:expression(true),body:N});E.push(R);expect(":")}else if(is("keyword","default")){if(R)R.end=prev();N=[];R=new Qt({start:(q=j.token,next(),expect(":"),q),body:N});E.push(R)}else{if(!N)unexpected();N.push($())}}if(R)R.end=prev();next();return E}function try_(){var E=block_(),N=null,R=null;if(is("keyword","catch")){var $=j.token;next();if(is("punc","{")){var q=null}else{expect("(");var q=parameter(undefined,tn);expect(")")}N=new Zt({start:$,argname:q,body:block_(),end:prev()})}if(is("keyword","finally")){var $=j.token;next();R=new er({start:$,body:block_(),end:prev()})}if(!N&&!R)croak("Missing catch/finally blocks");return new Yt({body:E,bcatch:N,bfinally:R})}function vardefs(E,N){var R=[];var $;for(;;){var q=N==="var"?Jr:N==="const"?qr:N==="let"?Hr:null;if(is("punc","{")||is("punc","[")){$=new ar({start:j.token,name:binding_element(undefined,q),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{$=new ar({start:j.token,name:as_symbol(q),value:is("operator","=")?(next(),expression(false,E)):!E&&N==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if($.name.name=="import")croak("Unexpected token: import")}R.push($);if(!is("punc",","))break;next()}return R}var var_=function(E){return new rr({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new nr({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new ir({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var N=j.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Wr({start:N,end:prev()}),E)}var R=expr_atom(false),$;if(is("punc","(")){next();$=expr_list(")",true)}else{$=[]}var q=new pr({start:N,expression:R,args:$,end:prev()});annotate(q);return subscripts(q,E)};function as_atom_node(){var E=j.token,N;switch(E.type){case"name":N=_make_symbol(on);break;case"num":N=new gn({start:E,end:E,value:E.value,raw:ie});break;case"big_int":N=new hn({start:E,end:E,value:E.value});break;case"string":N=new mn({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[R,j,$]=E.value.match(/^\/(.*)\/(\w*)$/);N=new _n({start:E,end:E,value:{source:j,flags:$}});break;case"atom":switch(E.value){case"false":N=new kn({start:E,end:E});break;case"true":N=new Cn({start:E,end:E});break;case"null":N=new vn({start:E,end:E});break}break}next();return N}function to_fun_args(E,N){var insert_default=function(E,N){if(N){return new kr({start:E.start,left:E,operator:"=",right:N,end:N.end})}return E};if(E instanceof Dr){return insert_default(new Ot({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),N)}else if(E instanceof wr){E.value=to_fun_args(E.value);return insert_default(E,N)}else if(E instanceof Sn){return E}else if(E instanceof Ot){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,N)}else if(E instanceof on){return insert_default(new Gr({name:E.name,start:E.start,end:E.end}),N)}else if(E instanceof At){E.expression=to_fun_args(E.expression);return insert_default(E,N)}else if(E instanceof Cr){return insert_default(new Ot({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),N)}else if(E instanceof Tr){return insert_default(to_fun_args(E.left,E.right),N)}else if(E instanceof kr){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,N){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var $=j.token;var G;var ie=is("name","async")&&(G=peek()).value!="["&&G.type!="arrow"&&as_atom_node();if(is("punc")){switch(j.token.value){case"(":if(ie&&!E)break;var ae=params_or_seq_(N,!ie);if(N&&is("arrow","=>")){return arrow_function($,ae.map((E=>to_fun_args(E))),!!ie)}var le=ie?new dr({expression:ie,args:ae}):ae.length==1?ae[0]:new fr({expressions:ae});if(le.start){const E=$.comments_before.length;R.set($,E);le.start.comments_before.unshift(...$.comments_before);$.comments_before=le.start.comments_before;if(E==0&&$.comments_before.length>0){var _e=$.comments_before[0];if(!_e.nlb){_e.nlb=$.nlb;$.nlb=false}}$.comments_after=le.start.comments_after}le.start=$;var Ee=prev();if(le.end){Ee.comments_before=le.end.comments_before;le.end.comments_after.push(...Ee.comments_after);Ee.comments_after=le.end.comments_after}le.end=Ee;if(le instanceof dr)annotate(le);return subscripts(le,E);case"[":return subscripts(q(),E);case"{":return subscripts(ce(),E)}if(!ie)unexpected()}if(N&&is("name")&&is_token(peek(),"arrow")){var Te=new Gr({name:j.token.value,start:$,end:$});next();return arrow_function($,[Te],!!ie)}if(is("keyword","function")){next();var we=function_(Ft,false,!!ie);we.start=$;we.end=prev();return subscripts(we,E)}if(ie)return subscripts(ie,E);if(is("keyword","class")){next();var Ie=class_(Ur);Ie.start=$;Ie.end=prev();return subscripts(Ie,E)}if(is("template_head")){return subscripts(template_string(),E)}if(tt.has(j.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],N=j.token;E.push(new Lt({start:j.token,raw:ie,value:j.token.value,end:j.token}));while(!ae){next();handle_regexp();E.push(expression(true));E.push(new Lt({start:j.token,raw:ie,value:j.token.value,end:j.token}))}next();return new Rt({start:N,segments:E,end:j.token})}function expr_list(E,N,R){var $=true,q=[];while(!is("punc",E)){if($)$=false;else expect(",");if(N&&is("punc",E))break;if(is("punc",",")&&R){q.push(new Sn({start:j.token,end:j.token}))}else if(is("expand","...")){next();q.push(new At({start:prev(),expression:expression(),end:j.token}))}else{q.push(expression(false))}}next();return q}var q=embed_tokens((function(){expect("[");return new Cr({elements:expr_list("]",!N.strict,true)})}));var G=embed_tokens(((E,N)=>function_(Pt,E,N)));var ce=embed_tokens((function object_or_destructuring_(){var E=j.token,R=true,$=[];expect("{");while(!is("punc","}")){if(R)R=false;else expect(",");if(!N.strict&&is("punc","}"))break;E=j.token;if(E.type=="expand"){next();$.push(new At({start:E,expression:expression(false),end:prev()}));continue}var q=as_property_name();var G;if(!is("punc",":")){var ie=concise_method_or_getset(q,E);if(ie){$.push(ie);continue}G=new on({start:prev(),name:q,end:prev()})}else if(q===null){unexpected(prev())}else{next();G=expression(false)}if(is("operator","=")){next();G=new Tr({start:E,left:G,operator:"=",right:expression(false),logical:false,end:prev()})}$.push(new wr({start:E,quote:E.quote,key:q instanceof ot?q:""+q,value:G,end:prev()}))}next();return new Dr({properties:$})}));function class_(E,N){var R,$,q,G,ie=[];j.input.push_directives_stack();j.input.add_directive("use strict");if(j.token.type=="name"&&j.token.value!="extends"){q=as_symbol(E===jr?Zr:en)}if(E===jr&&!q){if(N){E=Ur}else{unexpected()}}if(j.token.value=="extends"){next();G=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){R=j.token;$=concise_method_or_getset(as_property_name(),R,true);if(!$){unexpected()}ie.push($);while(is("punc",";")){next()}}j.input.pop_directives_stack();next();return new E({start:R,name:q,extends:G,properties:ie,end:prev()})}function concise_method_or_getset(E,N,R){const get_symbol_ast=(E,R=Qr)=>{if(typeof E==="string"||typeof E==="number"){return new R({start:N,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=");var j=false;var $=false;var q=false;var ie=false;var ae=null;if(R&&E==="static"&&is_not_method_start()){$=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){j=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){q=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){ae=E;E=as_property_name()}if(prev().type==="privatename"){ie=true}const ce=prev();if(ae!=null){if(!ie){const R=ae==="get"?Nr:Ir;E=get_symbol_ast(E);return new R({start:N,static:$,key:E,quote:E instanceof Qr?ce.quote:undefined,value:G(),end:prev()})}else{const R=ae==="get"?Fr:Pr;return new R({start:N,static:$,key:get_symbol_ast(E),value:G(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const R=ie?Mr:Or;var le=new R({start:N,static:$,is_generator:q,async:j,key:E,quote:E instanceof Qr?ce.quote:undefined,value:G(q,j),end:prev()});return le}if(R){const R=get_symbol_ast(E,Xr);const j=R instanceof Xr?ce.quote:undefined;const q=ie?Br:Lr;if(is("operator","=")){next();return new q({start:N,static:$,quote:j,key:R,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new q({start:N,static:$,quote:j,key:R,end:prev()})}}}function import_(){var E=prev();var N;var R;if(is("name")){N=as_symbol(rn)}if(is("punc",",")){next()}R=map_names(true);if(R||N){expect_token("name","from")}var $=j.token;if($.type!=="string"){unexpected()}next();return new cr({start:E,imported_name:N,imported_names:R,module_name:new mn({start:$,value:$.value,quote:$.quote,end:$}),end:j.token})}function import_meta(){var E=j.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new lr({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var N=E?nn:cn;var R=E?rn:sn;var $=j.token;var q;var G;if(E){q=make_symbol(N)}else{G=make_symbol(R)}if(is("name","as")){next();if(E){G=make_symbol(R)}else{q=make_symbol(N)}}else if(E){G=new R(q)}else{q=new N(G)}return new sr({start:$,foreign_name:q,name:G,end:prev()})}function map_nameAsterisk(E,N){var R=E?nn:cn;var $=E?rn:sn;var q=j.token;var G;var ie=prev();N=N||new $({name:"*",start:q,end:ie});G=new R({name:"*",start:q,end:ie});return new sr({start:q,foreign_name:G,name:N,end:ie})}function map_names(E){var N;if(is("punc","{")){next();N=[];while(!is("punc","}")){N.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var R;next();if(E&&is("name","as")){next();R=as_symbol(E?rn:cn)}N=[map_nameAsterisk(E,R)]}return N}function export_(){var E=j.token;var N;var R;if(is("keyword","default")){N=true;next()}else if(R=map_names(false)){if(is("name","from")){next();var q=j.token;if(q.type!=="string"){unexpected()}next();return new ur({start:E,is_default:N,exported_names:R,module_name:new mn({start:q,value:q.value,quote:q.quote,end:q}),end:prev()})}else{return new ur({start:E,is_default:N,exported_names:R,end:prev()})}}var G;var ie;var ae;if(is("punc","{")||N&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ie=expression(false);semicolon()}else if((G=$(N))instanceof tr&&N){unexpected(G.start)}else if(G instanceof tr||G instanceof Nt||G instanceof jr){ae=G}else if(G instanceof Ur||G instanceof Ft){ie=G}else if(G instanceof dt){ie=G.body}else{unexpected(G.start)}return new ur({start:E,is_default:N,exported_value:ie,exported_definition:ae,end:prev()})}function as_property_name(){var E=j.token;switch(E.type){case"punc":if(E.value==="["){next();var N=expression(false);expect("]");return N}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=j.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var N=j.token.value;return new(N=="this"?un:N=="super"?dn:E)({name:String(N),start:j.token,end:j.token})}function _verify_symbol(E){var N=E.name;if(is_in_generator()&&N=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if(j.input.has_directive("use strict")){if(N=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof $r&&(N=="arguments"||N=="eval")){token_error(E.start,"Unexpected "+N+" in strict mode")}}}function as_symbol(E,N){if(!is("name")){if(!N)croak("Name expected");return null}var R=_make_symbol(E);_verify_symbol(R);next();return R}function annotate(E){var N=E.start;var j=N.comments_before;const $=R.get(N);var q=$!=null?$:j.length;while(--q>=0){var G=j[q];if(/[@#]__/.test(G.value)){if(/[@#]__PURE__/.test(G.value)){set_annotation(E,An);break}if(/[@#]__INLINE__/.test(G.value)){set_annotation(E,wn);break}if(/[@#]__NOINLINE__/.test(G.value)){set_annotation(E,Pn);break}}}}var subscripts=function(E,N,R){var j=E.start;if(is("punc",".")){next();const $=is("privatename")?hr:gr;return subscripts(new $({start:j,expression:E,optional:false,property:as_name(),end:prev()}),N,R)}if(is("punc","[")){next();var $=expression(true);expect("]");return subscripts(new _r({start:j,expression:E,optional:false,property:$,end:prev()}),N,R)}if(N&&is("punc","(")){next();var q=new dr({start:j,expression:E,optional:false,args:call_args(),end:prev()});annotate(q);return subscripts(q,true,R)}if(is("punc","?.")){next();let R;if(N&&is("punc","(")){next();const N=new dr({start:j,optional:true,expression:E,args:call_args(),end:prev()});annotate(N);R=subscripts(N,true,true)}else if(is("name")||is("privatename")){const $=is("privatename")?hr:gr;R=subscripts(new $({start:j,expression:E,optional:true,property:as_name(),end:prev()}),N,true)}else if(is("punc","[")){next();const $=expression(true);expect("]");R=subscripts(new _r({start:j,expression:E,optional:true,property:$,end:prev()}),N,true)}if(!R)unexpected();if(R instanceof yr)return R;return new yr({start:j,expression:R,end:prev()})}if(is("template_head")){if(R){unexpected()}return subscripts(new Mt({start:j,prefix:E,template_string:template_string(),end:prev()}),N)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new At({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,N){var R=j.token;if(R.type=="name"&&R.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&Qe.has(R.value)){next();handle_regexp();var $=make_unary(br,R,maybe_unary(E));$.start=R;$.end=prev();return $}var q=expr_atom(E,N);while(is("operator")&&Xe.has(j.token.value)&&!has_newline_before(j.token)){if(q instanceof It)unexpected();q=make_unary(xr,j.token,q);q.start=R;q.end=j.token;next()}return q};function make_unary(E,N,R){var $=N.value;switch($){case"++":case"--":if(!is_assignable(R))croak("Invalid use of "+$+" operator",N.line,N.col,N.pos);break;case"delete":if(R instanceof on&&j.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",R.start.line,R.start.col,R.start.pos);break}return new E({operator:$,expression:R})}var expr_op=function(E,N,R){var $=is("operator")?j.token.value:null;if($=="in"&&R)$=null;if($=="**"&&E instanceof br&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var q=$!=null?et[$]:null;if(q!=null&&(q>N||$==="**"&&N===q)){next();var G=expr_op(maybe_unary(true),q,R);return expr_op(new Sr({start:E.start,left:E,operator:$,right:G,end:G.end}),N,R)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var N=j.token;var R=expr_ops(E);if(is("operator","?")){next();var $=expression(false);expect(":");return new Er({start:N,condition:R,consequent:$,alternative:expression(false,E),end:prev()})}return R};function is_assignable(E){return E instanceof mr||E instanceof on}function to_destructuring(E){if(E instanceof Dr){E=new Ot({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof Cr){var N=[];for(var R=0;R=0;){q+="this."+N[G]+" = props."+N[G]+";"}const ie=j&&Object.create(j.prototype);if(ie&&ie.initialize||R&&R.initialize)q+="this.initialize();";q+="}";q+="this.flags = 0;";q+="}";var ae=new Function(q)();if(ie){ae.prototype=ie;ae.BASE=j}if(j)j.SUBCLASSES.push(ae);ae.prototype.CTOR=ae;ae.prototype.constructor=ae;ae.PROPS=N||null;ae.SELF_PROPS=$;ae.SUBCLASSES=[];if(E){ae.prototype.TYPE=ae.TYPE=E}if(R)for(G in R)if(HOP(R,G)){if(G[0]==="$"){ae[G.substr(1)]=R[G]}else{ae.prototype[G]=R[G]}}ae.DEFMETHOD=function(E,N){this.prototype[E]=N};return ae}const has_tok_flag=(E,N)=>Boolean(E.flags&N);const set_tok_flag=(E,N,R)=>{if(R){E.flags|=N}else{E.flags&=~N}};const rt=1;const nt=2;const it=4;class AST_Token{constructor(E,N,R,j,$,q,G,ie,ae){this.flags=q?1:0;this.type=E;this.value=N;this.line=R;this.col=j;this.pos=$;this.comments_before=G;this.comments_after=ie;this.file=ae;Object.seal(this)}get nlb(){return has_tok_flag(this,rt)}set nlb(E){set_tok_flag(this,rt,E)}get quote(){return!has_tok_flag(this,it)?"":has_tok_flag(this,nt)?"'":'"'}set quote(E){set_tok_flag(this,nt,E==="'");set_tok_flag(this,it,!!E)}}var ot=DEFNODE("Node","start end",{_clone:function(E){if(E){var N=this.clone();return N.transform(new TreeTransformer((function(E){if(E!==N){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var st=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var ct=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},st);var ut=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},st);var dt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},st);function walk_body(E,N){const R=E.body;for(var j=0,$=R.length;j<$;j++){R[j]._walk(N)}}function clone_block_scope(E){var N=this._clone(E);if(this.block_scope){N.block_scope=this.block_scope.clone()}return N}var pt=DEFNODE("Block","body block_scope",{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N])},clone:clone_block_scope},st);var ft=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},pt);var mt=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},st);var ht=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},st);var _t=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(E){return E._visit(this,(function(){this.label._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.label)},clone:function(E){var N=this._clone(E);if(E){var R=N.label;var j=this.label;N.walk(new TreeWalker((function(E){if(E instanceof Wt&&E.label&&E.label.thedef===j){E.label.thedef=R;R.references.push(E)}})))}return N}},ht);var yt=DEFNODE("IterationStatement","block_scope",{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:clone_block_scope},ht);var vt=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},yt);var bt=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(E){return E._visit(this,(function(){this.body._walk(E);this.condition._walk(E)}))},_children_backwards(E){E(this.condition);E(this.body)}},vt);var xt=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.condition)}},vt);var St=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(E){return E._visit(this,(function(){if(this.init)this.init._walk(E);if(this.condition)this.condition._walk(E);if(this.step)this.step._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.step)E(this.step);if(this.condition)E(this.condition);if(this.init)E(this.init)}},yt);var Et=DEFNODE("ForIn","init object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(E){return E._visit(this,(function(){this.init._walk(E);this.object._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.object)E(this.object);if(this.init)E(this.init)}},yt);var Tt=DEFNODE("ForOf","await",{$documentation:"A `for ... of` statement"},Et);var kt=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.expression)}},ht);var Ct=DEFNODE("Scope","variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,N){var R=this._clone(E);if(E&&this.variables&&N&&!this._block_scope){R.figure_out_scope({},{toplevel:N,parent_scope:this.parent_scope})}else{if(this.variables)R.variables=new Map(this.variables);if(this.enclosed)R.enclosed=this.enclosed.slice();if(this._block_scope)R._block_scope=this._block_scope}return R},pinned:function(){return this.uses_eval||this.uses_with}},pt);var Dt=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var N=this.body;var R="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";R=parse(R);R=R.transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return $.splice(N)}})));return R},wrap_enclose:function(E){if(typeof E!="string")E="";var N=E.indexOf(":");if(N<0)N=E.length;var R=this.body;return parse(["(function(",E.slice(0,N),'){"$ORIG"})(',E.slice(N+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return $.splice(R)}})))}},Ct);var At=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var wt=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var N=0;N b)"},wt);var Nt=DEFNODE("Defun",null,{$documentation:"A function definition"},wt);var Ot=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.names.length;while(N--)E(this.names[N])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(N){if(N instanceof zr){E.push(N)}})));return E}});var Mt=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Rt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.segments.length;while(N--)E(this.segments[N])}});var Lt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Bt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},st);var jt=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Bt);var Ut=DEFNODE("Return",null,{$documentation:"A `return` statement"},jt);var zt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},jt);var Wt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Bt);var $t=DEFNODE("Break",null,{$documentation:"A `break` statement"},Wt);var Jt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Wt);var Vt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var qt=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var Ht=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},ht);var Gt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},pt);var Kt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},pt);var Qt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Kt);var Xt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},Kt);var Yt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let N=this.body.length;while(N--)E(this.body[N])}},pt);var Zt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);if(this.argname)E(this.argname)}},pt);var er=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},pt);var tr=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var N=this.definitions;for(var R=0,j=N.length;R a`"},Sr);var Cr=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var N=this.elements;for(var R=0,j=N.length;RN._walk(E)))}))},_children_backwards(E){let N=this.properties.length;while(N--)E(this.properties[N]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},Ct);var Lr=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);if(this.value instanceof ot)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof ot)E(this.value);if(this.key instanceof ot)E(this.key)},computed_key(){return!(this.key instanceof Xr)}},Ar);var Br=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Lr);var jr=DEFNODE("DefClass",null,{$documentation:"A class definition"},Rr);var Ur=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Rr);var zr=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Wr=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var $r=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},zr);var Jr=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},$r);var Vr=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},$r);var qr=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Vr);var Hr=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Vr);var Gr=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Jr);var Kr=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},$r);var Qr=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},zr);var Xr=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},zr);var Yr=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},$r);var Zr=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Vr);var en=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},$r);var tn=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Vr);var rn=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Vr);var nn=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},zr);var an=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},zr);var on=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},zr);var sn=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},on);var cn=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},zr);var ln=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},zr);var un=DEFNODE("This",null,{$documentation:"The `this` symbol"},zr);var dn=DEFNODE("Super",null,{$documentation:"The `super` symbol"},un);var pn=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var mn=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},pn);var gn=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},pn);var hn=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},pn);var _n=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},pn);var yn=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},pn);var vn=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},yn);var bn=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},yn);var xn=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},yn);var Sn=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},yn);var En=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},yn);var Tn=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},yn);var kn=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},Tn);var Cn=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},Tn);function walk(E,N,R=[E]){const j=R.push.bind(R);while(R.length){const E=R.pop();const $=N(E,R);if($){if($===Dn)return true;continue}E._children_backwards(j)}return false}function walk_parent(E,N,R){const j=[E];const $=j.push.bind(j);const q=R?R.slice():[];const G=[];let ie;const ae={parent:(E=0)=>{if(E===-1){return ie}if(R&&E>=q.length){E-=q.length;return R[R.length-(E+1)]}return q[q.length-(1+E)]}};while(j.length){ie=j.pop();while(G.length&&j.length==G[G.length-1]){q.pop();G.pop()}const E=N(ie,ae);if(E){if(E===Dn)return true;continue}const R=j.length;ie._children_backwards($);if(j.length>R){q.push(ie);G.push(R-1)}}return false}const Dn=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,N){this.push(E);var R=this.visit(E,N?function(){N.call(E)}:noop);if(!R&&N){N.call(E)}this.pop();return R}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof wt){this.directives=Object.create(this.directives)}else if(E instanceof ut&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Rr){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof wt||E instanceof Rr){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var N=this.stack;for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof E)return j}}has_directive(E){var N=this.directives[E];if(N)return N;var R=this.stack[this.stack.length-1];if(R instanceof Ct&&R.body){for(var j=0;j=0;){var j=N[R];if(j instanceof _t&&j.label.name==E.label.name)return j.body}else for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof yt||E instanceof $t&&j instanceof Gt)return j}}}class TreeTransformer extends TreeWalker{constructor(E,N){super();this.before=E;this.after=N}}const An=1;const wn=2;const Pn=4;var Fn=Object.freeze({__proto__:null,AST_Accessor:Pt,AST_Array:Cr,AST_Arrow:It,AST_Assign:Tr,AST_Atom:yn,AST_Await:Vt,AST_BigInt:hn,AST_Binary:Sr,AST_Block:pt,AST_BlockStatement:ft,AST_Boolean:Tn,AST_Break:$t,AST_Call:dr,AST_Case:Xt,AST_Catch:Zt,AST_Chain:yr,AST_Class:Rr,AST_ClassExpression:Ur,AST_ClassPrivateProperty:Br,AST_ClassProperty:Lr,AST_ConciseMethod:Or,AST_Conditional:Er,AST_Const:ir,AST_Constant:pn,AST_Continue:Jt,AST_Debugger:ct,AST_Default:Qt,AST_DefaultAssign:kr,AST_DefClass:jr,AST_Definitions:tr,AST_Defun:Nt,AST_Destructuring:Ot,AST_Directive:ut,AST_Do:bt,AST_Dot:gr,AST_DotHash:hr,AST_DWLoop:vt,AST_EmptyStatement:mt,AST_Exit:jt,AST_Expansion:At,AST_Export:ur,AST_False:kn,AST_Finally:er,AST_For:St,AST_ForIn:Et,AST_ForOf:Tt,AST_Function:Ft,AST_Hole:Sn,AST_If:Ht,AST_Import:cr,AST_ImportMeta:lr,AST_Infinity:En,AST_IterationStatement:yt,AST_Jump:Bt,AST_Label:an,AST_LabeledStatement:_t,AST_LabelRef:ln,AST_Lambda:wt,AST_Let:nr,AST_LoopControl:Wt,AST_NameMapping:sr,AST_NaN:bn,AST_New:pr,AST_NewTarget:Wr,AST_Node:ot,AST_Null:vn,AST_Number:gn,AST_Object:Dr,AST_ObjectGetter:Nr,AST_ObjectKeyVal:wr,AST_ObjectProperty:Ar,AST_ObjectSetter:Ir,AST_PrefixedTemplateString:Mt,AST_PrivateGetter:Fr,AST_PrivateMethod:Mr,AST_PrivateSetter:Pr,AST_PropAccess:mr,AST_RegExp:_n,AST_Return:Ut,AST_Scope:Ct,AST_Sequence:fr,AST_SimpleStatement:dt,AST_Statement:st,AST_StatementWithBody:ht,AST_String:mn,AST_Sub:_r,AST_Super:dn,AST_Switch:Gt,AST_SwitchBranch:Kt,AST_Symbol:zr,AST_SymbolBlockDeclaration:Vr,AST_SymbolCatch:tn,AST_SymbolClass:en,AST_SymbolClassProperty:Xr,AST_SymbolConst:qr,AST_SymbolDeclaration:$r,AST_SymbolDefClass:Zr,AST_SymbolDefun:Kr,AST_SymbolExport:sn,AST_SymbolExportForeign:cn,AST_SymbolFunarg:Gr,AST_SymbolImport:rn,AST_SymbolImportForeign:nn,AST_SymbolLambda:Yr,AST_SymbolLet:Hr,AST_SymbolMethod:Qr,AST_SymbolRef:on,AST_SymbolVar:Jr,AST_TemplateSegment:Lt,AST_TemplateString:Rt,AST_This:un,AST_Throw:zt,AST_Token:AST_Token,AST_Toplevel:Dt,AST_True:Cn,AST_Try:Yt,AST_Unary:vr,AST_UnaryPostfix:xr,AST_UnaryPrefix:br,AST_Undefined:xn,AST_Var:rr,AST_VarDef:ar,AST_While:xt,AST_With:kt,AST_Yield:qt,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:Dn,walk_body:walk_body,walk_parent:walk_parent,_INLINE:wn,_NOINLINE:Pn,_PURE:An});function def_transform(E,N){E.DEFMETHOD("transform",(function(E,R){let j=undefined;E.push(this);if(E.before)j=E.before(this,N,R);if(j===undefined){j=this;N(j,E);if(E.after){const N=E.after(j,R);if(N!==undefined)j=N}}E.pop();return j}))}function do_list(E,N){return $(E,(function(E){return E.transform(N,true)}))}def_transform(ot,noop);def_transform(_t,(function(E,N){E.label=E.label.transform(N);E.body=E.body.transform(N)}));def_transform(dt,(function(E,N){E.body=E.body.transform(N)}));def_transform(pt,(function(E,N){E.body=do_list(E.body,N)}));def_transform(bt,(function(E,N){E.body=E.body.transform(N);E.condition=E.condition.transform(N)}));def_transform(xt,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N)}));def_transform(St,(function(E,N){if(E.init)E.init=E.init.transform(N);if(E.condition)E.condition=E.condition.transform(N);if(E.step)E.step=E.step.transform(N);E.body=E.body.transform(N)}));def_transform(Et,(function(E,N){E.init=E.init.transform(N);E.object=E.object.transform(N);E.body=E.body.transform(N)}));def_transform(kt,(function(E,N){E.expression=E.expression.transform(N);E.body=E.body.transform(N)}));def_transform(jt,(function(E,N){if(E.value)E.value=E.value.transform(N)}));def_transform(Wt,(function(E,N){if(E.label)E.label=E.label.transform(N)}));def_transform(Ht,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N);if(E.alternative)E.alternative=E.alternative.transform(N)}));def_transform(Gt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Xt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Yt,(function(E,N){E.body=do_list(E.body,N);if(E.bcatch)E.bcatch=E.bcatch.transform(N);if(E.bfinally)E.bfinally=E.bfinally.transform(N)}));def_transform(Zt,(function(E,N){if(E.argname)E.argname=E.argname.transform(N);E.body=do_list(E.body,N)}));def_transform(tr,(function(E,N){E.definitions=do_list(E.definitions,N)}));def_transform(ar,(function(E,N){E.name=E.name.transform(N);if(E.value)E.value=E.value.transform(N)}));def_transform(Ot,(function(E,N){E.names=do_list(E.names,N)}));def_transform(wt,(function(E,N){if(E.name)E.name=E.name.transform(N);E.argnames=do_list(E.argnames,N);if(E.body instanceof ot){E.body=E.body.transform(N)}else{E.body=do_list(E.body,N)}}));def_transform(dr,(function(E,N){E.expression=E.expression.transform(N);E.args=do_list(E.args,N)}));def_transform(fr,(function(E,N){const R=do_list(E.expressions,N);E.expressions=R.length?R:[new gn({value:0})]}));def_transform(gr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(_r,(function(E,N){E.expression=E.expression.transform(N);E.property=E.property.transform(N)}));def_transform(yr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(qt,(function(E,N){if(E.expression)E.expression=E.expression.transform(N)}));def_transform(Vt,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(vr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(Sr,(function(E,N){E.left=E.left.transform(N);E.right=E.right.transform(N)}));def_transform(Er,(function(E,N){E.condition=E.condition.transform(N);E.consequent=E.consequent.transform(N);E.alternative=E.alternative.transform(N)}));def_transform(Cr,(function(E,N){E.elements=do_list(E.elements,N)}));def_transform(Dr,(function(E,N){E.properties=do_list(E.properties,N)}));def_transform(Ar,(function(E,N){if(E.key instanceof ot){E.key=E.key.transform(N)}if(E.value)E.value=E.value.transform(N)}));def_transform(Rr,(function(E,N){if(E.name)E.name=E.name.transform(N);if(E.extends)E.extends=E.extends.transform(N);E.properties=do_list(E.properties,N)}));def_transform(At,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(sr,(function(E,N){E.foreign_name=E.foreign_name.transform(N);E.name=E.name.transform(N)}));def_transform(cr,(function(E,N){if(E.imported_name)E.imported_name=E.imported_name.transform(N);if(E.imported_names)do_list(E.imported_names,N);E.module_name=E.module_name.transform(N)}));def_transform(ur,(function(E,N){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(N);if(E.exported_value)E.exported_value=E.exported_value.transform(N);if(E.exported_names)do_list(E.exported_names,N);if(E.module_name)E.module_name=E.module_name.transform(N)}));def_transform(Rt,(function(E,N){E.segments=do_list(E.segments,N)}));def_transform(Mt,(function(E,N){E.prefix=E.prefix.transform(N);E.template_string=E.template_string.transform(N)}));(function(){var normalize_directives=function(E){var N=true;for(var R=0;R1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Yt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(N[0]),bfinally:E.finalizer?new er(from_moz(E.finalizer)):null})},Property:function(E){var N=E.key;var R={start:my_start_token(N||E.value),end:my_end_token(E.value),key:N.type=="Identifier"?N.name:N.value,value:from_moz(E.value)};if(E.computed){R.key=from_moz(E.key)}if(E.method){R.is_generator=E.value.generator;R.async=E.value.async;if(!E.computed){R.key=new Qr({name:R.key})}else{R.key=from_moz(E.key)}return new Or(R)}if(E.kind=="init"){if(N.type!="Identifier"&&N.type!="Literal"){R.key=from_moz(N)}return new wr(R)}if(typeof R.key==="string"||typeof R.key==="number"){R.key=new Qr({name:R.key})}R.value=new Pt(R.value);if(E.kind=="get")return new Nr(R);if(E.kind=="set")return new Ir(R);if(E.kind=="method"){R.async=E.value.async;R.is_generator=E.value.generator;R.quote=E.computed?'"':null;return new Or(R)}},MethodDefinition:function(E){var N={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Qr({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new Nr(N)}if(E.kind=="set"){return new Ir(N)}N.is_generator=E.value.generator;N.async=E.value.async;return new Or(N)},FieldDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");N=from_moz(E.key)}return new Lr({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");N=from_moz(E.key)}return new Lr({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new Cr({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new Sn:from_moz(E)}))})},ObjectExpression:function(E){return new Dr({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new fr({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?_r:gr)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new yr({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Xt:Qt)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?ir:E.kind==="let"?nr:rr)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var N=null;var R=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!R){R=[]}R.push(new sr({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){N=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!R){R=[]}R.push(new sr({start:my_start_token(E),end:my_end_token(E),foreign_name:new nn({name:"*"}),name:from_moz(E.local)}))}}));return new cr({start:my_start_token(E),end:my_end_token(E),imported_name:N,imported_names:R,module_name:from_moz(E.source)})},ExportAllDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_names:[new sr({name:new cn({name:"*"}),foreign_name:new cn({name:"*"})})],module_name:from_moz(E.source)})},ExportNamedDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new sr({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source)})},ExportDefaultDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var N=E.value,R={start:my_start_token(E),end:my_end_token(E)};var j=E.regex;if(j&&j.pattern){R.value={source:j.pattern,flags:j.flags};return new _n(R)}else if(j){const j=E.raw||N;const $=j.match(/^\/(.*)\/(\w*)$/);if(!$)throw new Error("Invalid regex source "+j);const[q,G,ie]=$;R.value={source:G,flags:ie};return new _n(R)}if(N===null)return new vn(R);switch(typeof N){case"string":R.value=N;return new mn(R);case"number":R.value=N;R.raw=E.raw||N.toString();return new gn(R);case"boolean":return new(N?Cn:kn)(R)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Wr({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new lr({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var R=N[N.length-2];return new(R.type=="LabeledStatement"?an:R.type=="VariableDeclarator"&&R.id===E?R.kind=="const"?qr:R.kind=="let"?Hr:Jr:/Import.*Specifier/.test(R.type)?R.local===E?rn:nn:R.type=="ExportSpecifier"?R.local===E?sn:cn:R.type=="FunctionExpression"?R.id===E?Yr:Gr:R.type=="FunctionDeclaration"?R.id===E?Kr:Gr:R.type=="ArrowFunctionExpression"?R.params.includes(E)?Gr:on:R.type=="ClassExpression"?R.id===E?en:on:R.type=="Property"?R.key===E&&R.computed||R.value===E?on:Qr:R.type=="PropertyDefinition"||R.type==="FieldDefinition"?R.key===E&&R.computed||R.value===E?on:Xr:R.type=="ClassDeclaration"?R.id===E?Zr:on:R.type=="MethodDefinition"?R.computed?on:Qr:R.type=="CatchClause"?tn:R.type=="BreakStatement"||R.type=="ContinueStatement"?ln:on)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new hn({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var N="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(N?br:xr)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?jr:Ur)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",mt);map("BlockStatement",ft,"body@body");map("IfStatement",Ht,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",_t,"label>label, body>body");map("BreakStatement",$t,"label>label");map("ContinueStatement",Jt,"label>label");map("WithStatement",kt,"object>expression, body>body");map("SwitchStatement",Gt,"discriminant>expression, cases@body");map("ReturnStatement",Ut,"argument>value");map("ThrowStatement",zt,"argument>value");map("WhileStatement",xt,"test>condition, body>body");map("DoWhileStatement",bt,"test>condition, body>body");map("ForStatement",St,"init>init, test>condition, update>step, body>body");map("ForInStatement",Et,"left>init, right>object, body>body");map("ForOfStatement",Tt,"left>init, right>object, body>body, await=await");map("AwaitExpression",Vt,"argument>expression");map("YieldExpression",qt,"argument>expression, delegate=is_star");map("DebuggerStatement",ct);map("VariableDeclarator",ar,"id>name, init>value");map("CatchClause",Zt,"param>argname, body%body");map("ThisExpression",un);map("Super",dn);map("BinaryExpression",Sr,"operator=operator, left>left, right>right");map("LogicalExpression",Sr,"operator=operator, left>left, right>right");map("AssignmentExpression",Tr,"operator=operator, left>left, right>right");map("ConditionalExpression",Er,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",pr,"callee>expression, arguments@args");map("CallExpression",dr,"callee>expression, optional=optional, arguments@args");def_to_moz(Dt,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(At,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Mt,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Rt,(function To_Moz_TemplateLiteral(E){var N=[];var R=[];for(var j=0;j({type:"BigIntLiteral",value:E.value})));Tn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast);vn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast);Sn.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));pt.DEFMETHOD("to_mozilla_ast",ft.prototype.to_mozilla_ast);wt.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function my_start_token(E){var N=E.loc,R=N&&N.start;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.start,false,[],[],N&&N.source)}function my_end_token(E){var N=E.loc,R=N&&N.end;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.end,false,[],[],N&&N.source)}function map(N,R,j){var $="function From_Moz_"+N+"(M){\n";$+="return new U2."+R.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var q="function To_Moz_"+N+"(M){\n";q+="return {\n"+"type: "+JSON.stringify(N);if(j)j.split(/\s*,\s*/).forEach((function(E){var N=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!N)throw new Error("Can't understand property map: "+E);var R=N[1],j=N[2],G=N[3];$+=",\n"+G+": ";q+=",\n"+R+": ";switch(j){case"@":$+="M."+R+".map(from_moz)";q+="M."+G+".map(to_moz)";break;case">":$+="from_moz(M."+R+")";q+="to_moz(M."+G+")";break;case"=":$+="M."+R;q+="M."+G;break;case"%":$+="from_moz(M."+R+").body";q+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));$+="\n})\n}";q+="\n}\n}";$=new Function("U2","my_start_token","my_end_token","from_moz","return("+$+")")(Fn,my_start_token,my_end_token,from_moz);q=new Function("to_moz","to_moz_block","to_moz_scope","return("+q+")")(to_moz,to_moz_block,to_moz_scope);E[N]=$;def_to_moz(R,q)}var N=null;function from_moz(R){N.push(R);var j=R!=null?E[R.type](R):null;N.pop();return j}ot.from_mozilla_ast=function(E){var R=N;N=[];var j=from_moz(E);N=R;return j};function set_moz_loc(E,N){var R=E.start;var j=E.end;if(!(R&&j)){return N}if(R.pos!=null&&j.endpos!=null){N.range=[R.pos,j.endpos]}if(R.line){N.loc={start:{line:R.line,column:R.col},end:j.endline?{line:j.endline,column:j.endcol}:null};if(R.file){N.loc.source=R.file}}return N}function def_to_moz(E,N){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,N(this,E))}))}var R=null;function to_moz(E){if(R===null){R=[]}R.push(E);var N=E!=null?E.to_mozilla_ast(R[R.length-2]):null;R.pop();if(R.length===0){R=null}return N}function to_moz_in_destructuring(){var E=R.length;while(E--){if(R[E]instanceof Ot){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,N){var R=N.body.map(to_moz);if(N.body[0]instanceof dt&&N.body[0].body instanceof mn){R.unshift(to_moz(new mt(N.body[0])))}return{type:E,body:R}}})();function first_in_statement(E){let N=E.parent(-1);for(let R=0,j;j=E.parent(R);R++){if(j instanceof st&&j.body===N)return true;if(j instanceof fr&&j.expressions[0]===N||j.TYPE==="Call"&&j.expression===N||j instanceof Mt&&j.prefix===N||j instanceof gr&&j.expression===N||j instanceof _r&&j.expression===N||j instanceof Er&&j.condition===N||j instanceof Sr&&j.left===N||j instanceof xr&&j.expression===N){N=j}else{return false}}}function left_is_object(E){if(E instanceof Dr)return true;if(E instanceof fr)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Mt)return left_is_object(E.prefix);if(E instanceof gr||E instanceof _r)return left_is_object(E.expression);if(E instanceof Er)return left_is_object(E.condition);if(E instanceof Sr)return left_is_object(E.left);if(E instanceof xr)return left_is_object(E.expression);return false}const In=/^$|[;{][\s\n]*$/;const Nn=10;const On=32;const Mn=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}function OutputStream(E){var N=!E;E=defaults(E,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(E.shorthand===undefined)E.shorthand=E.ecma>5;var R=return_false;if(E.comments){let N=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var j=E.comments.lastIndexOf("/");N=new RegExp(E.comments.substr(1,j-1),E.comments.substr(j+1))}if(N instanceof RegExp){R=function(E){return E.type!="comment5"&&N.test(E.value)}}else if(typeof N==="function"){R=function(E){return E.type!="comment5"&&N(this,E)}}else if(N==="some"){R=is_some_comments}else{R=return_true}}var $=0;var q=0;var G=1;var ie=0;var ae="";let ce=new Set;var le=E.ascii_only?function(N,R){if(E.ecma>=2015&&!E.safari10){N=N.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var N=get_full_char_code(E,0).toString(16);return"\\u{"+N+"}"}))}return N.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var N=E.charCodeAt(0).toString(16);if(N.length<=2&&!R){while(N.length<2)N="0"+N;return"\\x"+N}else{while(N.length<4)N="0"+N;return"\\u"+N}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,N){if(N){return"\\u"+N.charCodeAt(0).toString(16)}return E}))};function make_string(N,R){var j=0,$=0;N=N.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(R,q){switch(R){case'"':++j;return'"';case"'":++$;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(N,q+1))?"\\x00":"\\0"}return R}));function quote_single(){return"'"+N.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+N.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+N.replace(/`/g,"\\`")+"`"}N=le(N);if(R==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return R=="'"?quote_single():quote_double();default:return j>$?quote_single():quote_double()}}function encode_string(N,R){var j=make_string(N,R);if(E.inline_script){j=j.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");j=j.replace(/\x3c!--/g,"\\x3c!--");j=j.replace(/--\x3e/g,"--\\x3e")}return j}function make_name(E){E=E.toString();E=le(E,true);return E}function make_indent(N){return" ".repeat(E.indent_start+$-N*E.indent_level)}var _e=false;var Ee=false;var Te=false;var we=0;var Ie=false;var Ne=false;var Me=-1;var Le="";var Be,je,Ue=E.source_map&&[];var ze=Ue?function(){Ue.forEach((function(N){try{let R=!N.name&&N.token.type=="name"?N.token.value:N.name;if(R instanceof zr){R=R.name}E.source_map.add(N.token.file,N.line,N.col,N.token.line,N.token.col,is_basic_identifier_string(R)?R:undefined)}catch(E){}}));Ue=[]}:noop;var We=E.max_line_len?function(){if(q>E.max_line_len){if(we){var N=ae.slice(0,we);var R=ae.slice(we);if(Ue){var j=R.length-q;Ue.forEach((function(E){E.line++;E.col+=j}))}ae=N+"\n"+R;G++;ie++;q=R.length}}if(we){we=0;ze()}}:noop;var Je=makePredicate("( [ + * / - , . `");function print(N){N=String(N);var R=get_full_char(N,0);if(Ie&&R){Ie=false;if(R!=="\n"){print("\n");qe()}}if(Ne&&R){Ne=false;if(!/[\s;})]/.test(R)){Ve()}}Me=-1;var j=Le.charAt(Le.length-1);if(Te){Te=false;if(j===":"&&R==="}"||(!R||!";}".includes(R))&&j!==";"){if(E.semicolons||Je.has(R)){ae+=";";q++;ie++}else{We();if(q>0){ae+="\n";ie++;G++;q=0}if(/^\s+$/.test(N)){Te=true}}if(!E.beautify)Ee=false}}if(Ee){if(is_identifier_char(j)&&(is_identifier_char(R)||R=="\\")||R=="/"&&R==j||(R=="+"||R=="-")&&R==Le){ae+=" ";q++;ie++}Ee=false}if(Be){Ue.push({token:Be,name:je,line:G,col:q});Be=false;if(!we)ze()}ae+=N;_e=N[N.length-1]=="(";ie+=N.length;var $=N.split(/\r?\n/),ce=$.length-1;G+=ce;q+=$[0].length;if(ce>0){We();q=$[ce].length}Le=N}var star=function(){print("*")};var Ve=E.beautify?function(){print(" ")}:function(){Ee=true};var qe=E.beautify?function(N){if(E.beautify){print(make_indent(N?.5:0))}}:noop;var He=E.beautify?function(E,N){if(E===true)E=next_indent();var R=$;$=E;var j=N();$=R;return j}:function(E,N){return N()};var Ge=E.beautify?function(){if(Me<0)return print("\n");if(ae[Me]!="\n"){ae=ae.slice(0,Me)+"\n"+ae.slice(Me);ie++;G++}Me++}:E.max_line_len?function(){We();we=ae.length}:noop;var Ke=E.beautify?function(){print(";")}:function(){Te=true};function force_semicolon(){Te=false;print(";")}function next_indent(){return $+E.indent_level}function with_block(E){var N;print("{");Ge();He(next_indent(),(function(){N=E()}));qe();print("}");return N}function with_parens(E){print("(");var N=E();print(")");return N}function with_square(E){print("[");var N=E();print("]");return N}function comma(){print(",");Ve()}function colon(){print(":");Ve()}var Qe=Ue?function(E,N){Be=E;je=N}:noop;function get(){if(we){We()}return ae}function has_nlb(){let E=ae.length-1;while(E>=0){const N=ae.charCodeAt(E);if(N===Nn){return true}if(N!==On){return false}E--}return true}function filter_comment(N){if(!E.preserve_annotations){N=N.replace(Mn," ")}if(/^\s*$/.test(N)){return""}return N.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(N){var j=this;var $=N.start;if(!$)return;var q=j.printed_comments;const G=N instanceof jt&&N.value;if($.comments_before&&q.has($.comments_before)){if(G){$.comments_before=[]}else{return}}var ae=$.comments_before;if(!ae){ae=$.comments_before=[]}q.add(ae);if(G){var ce=new TreeWalker((function(E){var N=ce.parent();if(N instanceof jt||N instanceof Sr&&N.left===E||N.TYPE=="Call"&&N.expression===E||N instanceof Er&&N.condition===E||N instanceof gr&&N.expression===E||N instanceof fr&&N.expressions[0]===E||N instanceof _r&&N.expression===E||N instanceof xr){if(!E.start)return;var R=E.start.comments_before;if(R&&!q.has(R)){q.add(R);ae=ae.concat(R)}}else{return true}}));ce.push(N);N.value.walk(ce)}if(ie==0){if(ae.length>0&&E.shebang&&ae[0].type==="comment5"&&!q.has(ae[0])){print("#!"+ae.shift().value+"\n");qe()}var le=E.preamble;if(le){print(le.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}ae=ae.filter(R,N).filter((E=>!q.has(E)));if(ae.length==0)return;var _e=has_nlb();ae.forEach((function(E,N){q.add(E);if(!_e){if(E.nlb){print("\n");qe();_e=true}else if(N>0){Ve()}}if(/comment[134]/.test(E.type)){var R=filter_comment(E.value);if(R){print("//"+R+"\n");qe()}_e=true}else if(E.type=="comment2"){var R=filter_comment(E.value);if(R){print("/*"+R+"*/")}_e=false}}));if(!_e){if($.nlb){print("\n");qe()}else{Ve()}}}function append_comments(E,N){var j=this;var $=E.end;if(!$)return;var q=j.printed_comments;var G=$[N?"comments_before":"comments_after"];if(!G||q.has(G))return;if(!(E instanceof st||G.every((E=>!/comment[134]/.test(E.type)))))return;q.add(G);var ie=ae.length;G.filter(R,E).forEach((function(E,R){if(q.has(E))return;q.add(E);Ne=false;if(Ie){print("\n");qe();Ie=false}else if(E.nlb&&(R>0||!has_nlb())){print("\n");qe()}else if(R>0||!N){Ve()}if(/comment[134]/.test(E.type)){const N=filter_comment(E.value);if(N){print("//"+N)}Ie=true}else if(E.type=="comment2"){const N=filter_comment(E.value);if(N){print("/*"+N+"*/")}Ne=true}}));if(ae.length>ie)Me=ie}var Xe=[];return{get:get,toString:get,indent:qe,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return $},current_width:function(){return q-$},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return _e},newline:Ge,print:print,star:star,space:Ve,comma:comma,colon:colon,last:function(){return Le},semicolon:Ke,force_semicolon:force_semicolon,to_utf8:le,print_name:function(E){print(make_name(E))},print_string:function(E,N,R){var j=encode_string(E,N);if(R===true&&!j.includes("\\")){if(!In.test(ae)){force_semicolon()}force_semicolon()}print(j)},print_template_string_chars:function(E){var N=encode_string(E,"`").replace(/\${/g,"\\${");return print(N.substr(1,N.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:He,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:Qe,option:function(N){return E[N]},printed_comments:ce,prepend_comments:N?noop:prepend_comments,append_comments:N||R===return_false?noop:append_comments,line:function(){return G},col:function(){return q},pos:function(){return ie},push_node:function(E){Xe.push(E)},pop_node:function(){return Xe.pop()},parent:function(E){return Xe[Xe.length-2-(E||0)]}}}(function(){function DEFPRINT(E,N){E.DEFMETHOD("_codegen",N)}ot.DEFMETHOD("print",(function(E,N){var R=this,j=R._codegen;if(R instanceof Ct){E.active_scope=R}else if(!E.use_asm&&R instanceof ut&&R.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(R);R.add_source_map(E);j(R,E);E.append_comments(R)}E.push_node(R);if(N||R.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(R===E.use_asm){E.use_asm=null}}));ot.DEFMETHOD("_print",ot.prototype.print);ot.DEFMETHOD("print_to_string",(function(E){var N=OutputStream(E);this.print(N);return N.get()}));function PARENS(E,N){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,N)}))}else{E.DEFMETHOD("needs_parens",N)}}PARENS(ot,return_false);PARENS(Ft,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var N=E.parent();if(N instanceof mr&&N.expression===this){return true}}if(E.option("wrap_iife")){var N=E.parent();if(N instanceof dr&&N.expression===this){return true}}if(E.option("wrap_func_args")){var N=E.parent();if(N instanceof dr&&N.args.includes(this)){return true}}return false}));PARENS(It,(function(E){var N=E.parent();if(E.option("wrap_func_args")&&N instanceof dr&&N.args.includes(this)){return true}return N instanceof mr&&N.expression===this}));PARENS(Dr,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(Ur,first_in_statement);PARENS(vr,(function(E){var N=E.parent();return N instanceof mr&&N.expression===this||N instanceof dr&&N.expression===this||N instanceof Sr&&N.operator==="**"&&this instanceof br&&N.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Vt,(function(E){var N=E.parent();return N instanceof mr&&N.expression===this||N instanceof dr&&N.expression===this||N instanceof Sr&&N.operator==="**"&&N.left===this||E.option("safari10")&&N instanceof br}));PARENS(fr,(function(E){var N=E.parent();return N instanceof dr||N instanceof vr||N instanceof Sr||N instanceof ar||N instanceof mr||N instanceof Cr||N instanceof Ar||N instanceof Er||N instanceof It||N instanceof kr||N instanceof At||N instanceof Tt&&this===N.object||N instanceof qt||N instanceof ur}));PARENS(Sr,(function(E){var N=E.parent();if(N instanceof dr&&N.expression===this)return true;if(N instanceof vr)return true;if(N instanceof mr&&N.expression===this)return true;if(N instanceof Sr){const E=N.operator;const R=this.operator;if(R==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(R==="||"||R==="&&")){return true}const j=et[E];const $=et[R];if(j>$||j==$&&(this===N.right||E=="**")){return true}}}));PARENS(qt,(function(E){var N=E.parent();if(N instanceof Sr&&N.operator!=="=")return true;if(N instanceof dr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof vr)return true;if(N instanceof mr&&N.expression===this)return true}));PARENS(mr,(function(E){var N=E.parent();if(N instanceof pr&&N.expression===this){return walk(this,(E=>{if(E instanceof Ct)return true;if(E instanceof dr){return Dn}}))}}));PARENS(dr,(function(E){var N=E.parent(),R;if(N instanceof pr&&N.expression===this||N instanceof ur&&N.is_default&&this.expression instanceof Ft)return true;return this.expression instanceof Ft&&N instanceof mr&&N.expression===this&&(R=E.parent(1))instanceof Tr&&R.left===N}));PARENS(pr,(function(E){var N=E.parent();if(this.args.length===0&&(N instanceof mr||N instanceof dr&&N.expression===this))return true}));PARENS(gn,(function(E){var N=E.parent();if(N instanceof mr&&N.expression===this){var R=this.getValue();if(R<0||/^0/.test(make_num(R))){return true}}}));PARENS(hn,(function(E){var N=E.parent();if(N instanceof mr&&N.expression===this){var R=this.getValue();if(R.startsWith("-")){return true}}}));PARENS([Tr,Er],(function(E){var N=E.parent();if(N instanceof vr)return true;if(N instanceof Sr&&!(N instanceof Tr))return true;if(N instanceof dr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof mr&&N.expression===this)return true;if(this instanceof Tr&&this.left instanceof Ot&&this.left.is_array===false)return true}));DEFPRINT(ut,(function(E,N){N.print_string(E.value,E.quote);N.semicolon()}));DEFPRINT(At,(function(E,N){N.print("...");E.expression.print(N)}));DEFPRINT(Ot,(function(E,N){N.print(E.is_array?"[":"{");var R=E.names.length;E.names.forEach((function(E,j){if(j>0)N.comma();E.print(N);if(j==R-1&&E instanceof Sn)N.comma()}));N.print(E.is_array?"]":"}")}));DEFPRINT(ct,(function(E,N){N.print("debugger");N.semicolon()}));function display_body(E,N,R,j){var $=E.length-1;R.in_directive=j;E.forEach((function(E,j){if(R.in_directive===true&&!(E instanceof ut||E instanceof mt||E instanceof dt&&E.body instanceof mn)){R.in_directive=false}if(!(E instanceof mt)){R.indent();E.print(R);if(!(j==$&&N)){R.newline();if(N)R.newline()}}if(R.in_directive===true&&E instanceof dt&&E.body instanceof mn){R.in_directive=false}}));R.in_directive=false}ht.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(st,(function(E,N){E.body.print(N);N.semicolon()}));DEFPRINT(Dt,(function(E,N){display_body(E.body,true,N,true);N.print("")}));DEFPRINT(_t,(function(E,N){E.label.print(N);N.colon();E.body.print(N)}));DEFPRINT(dt,(function(E,N){E.body.print(N);N.semicolon()}));function print_braced_empty(E,N){N.print("{");N.with_indent(N.next_indent(),(function(){N.append_comments(E,true)}));N.print("}")}function print_braced(E,N,R){if(E.body.length>0){N.with_block((function(){display_body(E.body,false,N,R)}))}else print_braced_empty(E,N)}DEFPRINT(ft,(function(E,N){print_braced(E,N)}));DEFPRINT(mt,(function(E,N){N.semicolon()}));DEFPRINT(bt,(function(E,N){N.print("do");N.space();make_block(E.body,N);N.space();N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.semicolon()}));DEFPRINT(xt,(function(E,N){N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(St,(function(E,N){N.print("for");N.space();N.with_parens((function(){if(E.init){if(E.init instanceof tr){E.init.print(N)}else{parenthesize_for_noin(E.init,N,true)}N.print(";");N.space()}else{N.print(";")}if(E.condition){E.condition.print(N);N.print(";");N.space()}else{N.print(";")}if(E.step){E.step.print(N)}}));N.space();E._do_print_body(N)}));DEFPRINT(Et,(function(E,N){N.print("for");if(E.await){N.space();N.print("await")}N.space();N.with_parens((function(){E.init.print(N);N.space();N.print(E instanceof Tt?"of":"in");N.space();E.object.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(kt,(function(E,N){N.print("with");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();E._do_print_body(N)}));wt.DEFMETHOD("_do_print",(function(E,N){var R=this;if(!N){if(R.async){E.print("async");E.space()}E.print("function");if(R.is_generator){E.star()}if(R.name){E.space()}}if(R.name instanceof zr){R.name.print(E)}else if(N&&R.name instanceof ot){E.with_square((function(){R.name.print(E)}))}E.with_parens((function(){R.argnames.forEach((function(N,R){if(R)E.comma();N.print(E)}))}));E.space();print_braced(R,E,true)}));DEFPRINT(wt,(function(E,N){E._do_print(N)}));DEFPRINT(Mt,(function(E,N){var R=E.prefix;var j=R instanceof wt||R instanceof Sr||R instanceof Er||R instanceof fr||R instanceof vr||R instanceof gr&&R.expression instanceof Dr;if(j)N.print("(");E.prefix.print(N);if(j)N.print(")");E.template_string.print(N)}));DEFPRINT(Rt,(function(E,N){var R=N.parent()instanceof Mt;N.print("`");for(var j=0;j");E.space();const $=N.body[0];if(N.body.length===1&&$ instanceof Ut){const N=$.value;if(!N){E.print("{}")}else if(left_is_object(N)){E.print("(");N.print(E);E.print(")")}else{N.print(E)}}else{print_braced(N,E)}if(j){E.print(")")}}));jt.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.value){E.space();const N=this.value.start.comments_before;if(N&&N.length&&!E.printed_comments.has(N)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT(Ut,(function(E,N){E._do_print(N,"return")}));DEFPRINT(zt,(function(E,N){E._do_print(N,"throw")}));DEFPRINT(qt,(function(E,N){var R=E.is_star?"*":"";N.print("yield"+R);if(E.expression){N.space();E.expression.print(N)}}));DEFPRINT(Vt,(function(E,N){N.print("await");N.space();var R=E.expression;var j=!(R instanceof dr||R instanceof on||R instanceof mr||R instanceof vr||R instanceof pn||R instanceof Vt||R instanceof Dr);if(j)N.print("(");E.expression.print(N);if(j)N.print(")")}));Wt.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT($t,(function(E,N){E._do_print(N,"break")}));DEFPRINT(Jt,(function(E,N){E._do_print(N,"continue")}));function make_then(E,N){var R=E.body;if(N.option("braces")||N.option("ie8")&&R instanceof bt)return make_block(R,N);if(!R)return N.force_semicolon();while(true){if(R instanceof Ht){if(!R.alternative){make_block(E.body,N);return}R=R.alternative}else if(R instanceof ht){R=R.body}else break}force_statement(E.body,N)}DEFPRINT(Ht,(function(E,N){N.print("if");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();if(E.alternative){make_then(E,N);N.space();N.print("else");N.space();if(E.alternative instanceof Ht)E.alternative.print(N);else force_statement(E.alternative,N)}else{E._do_print_body(N)}}));DEFPRINT(Gt,(function(E,N){N.print("switch");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();var R=E.body.length-1;if(R<0)print_braced_empty(E,N);else N.with_block((function(){E.body.forEach((function(E,j){N.indent(true);E.print(N);if(j0)N.newline()}))}))}));Kt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(N){E.indent();N.print(E);E.newline()}))}));DEFPRINT(Qt,(function(E,N){N.print("default:");E._do_print_body(N)}));DEFPRINT(Xt,(function(E,N){N.print("case");N.space();E.expression.print(N);N.print(":");E._do_print_body(N)}));DEFPRINT(Yt,(function(E,N){N.print("try");N.space();print_braced(E,N);if(E.bcatch){N.space();E.bcatch.print(N)}if(E.bfinally){N.space();E.bfinally.print(N)}}));DEFPRINT(Zt,(function(E,N){N.print("catch");if(E.argname){N.space();N.with_parens((function(){E.argname.print(N)}))}N.space();print_braced(E,N)}));DEFPRINT(er,(function(E,N){N.print("finally");N.space();print_braced(E,N)}));tr.DEFMETHOD("_do_print",(function(E,N){E.print(N);E.space();this.definitions.forEach((function(N,R){if(R)E.comma();N.print(E)}));var R=E.parent();var j=R instanceof St||R instanceof Et;var $=!j||R&&R.init!==this;if($)E.semicolon()}));DEFPRINT(nr,(function(E,N){E._do_print(N,"let")}));DEFPRINT(rr,(function(E,N){E._do_print(N,"var")}));DEFPRINT(ir,(function(E,N){E._do_print(N,"const")}));DEFPRINT(cr,(function(E,N){N.print("import");N.space();if(E.imported_name){E.imported_name.print(N)}if(E.imported_name&&E.imported_names){N.print(",");N.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(N)}else{N.print("{");E.imported_names.forEach((function(R,j){N.space();R.print(N);if(j{if(E instanceof Ct)return true;if(E instanceof Sr&&E.operator=="in"){return Dn}}))}E.print(N,j)}DEFPRINT(ar,(function(E,N){E.name.print(N);if(E.value){N.space();N.print("=");N.space();var R=N.parent(1);var j=R instanceof St||R instanceof Et;parenthesize_for_noin(E.value,N,j)}}));DEFPRINT(dr,(function(E,N){E.expression.print(N);if(E instanceof pr&&E.args.length===0)return;if(E.expression instanceof dr||E.expression instanceof wt){N.add_mapping(E.start)}if(E.optional)N.print("?.");N.with_parens((function(){E.args.forEach((function(E,R){if(R)N.comma();E.print(N)}))}))}));DEFPRINT(pr,(function(E,N){N.print("new");N.space();dr.prototype._codegen(E,N)}));fr.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(N,R){if(R>0){E.comma();if(E.should_break()){E.newline();E.indent()}}N.print(E)}))}));DEFPRINT(fr,(function(E,N){E._do_print(N)}));DEFPRINT(gr,(function(E,N){var R=E.expression;R.print(N);var j=E.property;var $=_e.has(j)?N.option("ie8"):!is_identifier_string(j,N.option("ecma")>=2015||N.option("safari10"));if(E.optional)N.print("?.");if($){N.print("[");N.add_mapping(E.end);N.print_string(j);N.print("]")}else{if(R instanceof gn&&R.getValue()>=0){if(!/[xa-f.)]/i.test(N.last())){N.print(".")}}if(!E.optional)N.print(".");N.add_mapping(E.end);N.print_name(j)}}));DEFPRINT(hr,(function(E,N){var R=E.expression;R.print(N);var j=E.property;if(E.optional)N.print("?");N.print(".#");N.print_name(j)}));DEFPRINT(_r,(function(E,N){E.expression.print(N);if(E.optional)N.print("?.");N.print("[");E.property.print(N);N.print("]")}));DEFPRINT(yr,(function(E,N){E.expression.print(N)}));DEFPRINT(br,(function(E,N){var R=E.operator;N.print(R);if(/^[a-z]/i.test(R)||/[+-]$/.test(R)&&E.expression instanceof br&&/^[+-]/.test(E.expression.operator)){N.space()}E.expression.print(N)}));DEFPRINT(xr,(function(E,N){E.expression.print(N);N.print(E.operator)}));DEFPRINT(Sr,(function(E,N){var R=E.operator;E.left.print(N);if(R[0]==">"&&E.left instanceof xr&&E.left.operator=="--"){N.print(" ")}else{N.space()}N.print(R);if((R=="<"||R=="<<")&&E.right instanceof br&&E.right.operator=="!"&&E.right.expression instanceof br&&E.right.expression.operator=="--"){N.print(" ")}else{N.space()}E.right.print(N)}));DEFPRINT(Er,(function(E,N){E.condition.print(N);N.space();N.print("?");N.space();E.consequent.print(N);N.space();N.colon();E.alternative.print(N)}));DEFPRINT(Cr,(function(E,N){N.with_square((function(){var R=E.elements,j=R.length;if(j>0)N.space();R.forEach((function(E,R){if(R)N.comma();E.print(N);if(R===j-1&&E instanceof Sn)N.comma()}));if(j>0)N.space()}))}));DEFPRINT(Dr,(function(E,N){if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.print(",");N.newline()}N.indent();E.print(N)}));N.newline()}));else print_braced_empty(E,N)}));DEFPRINT(Rr,(function(E,N){N.print("class");N.space();if(E.name){E.name.print(N);N.space()}if(E.extends){var R=!(E.extends instanceof on)&&!(E.extends instanceof mr)&&!(E.extends instanceof Ur)&&!(E.extends instanceof Ft);N.print("extends");if(R){N.print("(")}else{N.space()}E.extends.print(N);if(R){N.print(")")}else{N.space()}}if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.newline()}N.indent();E.print(N)}));N.newline()}));else N.print("{}")}));DEFPRINT(Wr,(function(E,N){N.print("new.target")}));function print_property_name(E,N,R){if(R.option("quote_keys")){return R.print_string(E)}if(""+ +E==E&&E>=0){if(R.option("keep_numbers")){return R.print(E)}return R.print(make_num(E))}var j=_e.has(E)?R.option("ie8"):R.option("ecma")<2015||R.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if(j||N&&R.option("keep_quoted_props")){return R.print_string(E,N)}return R.print_name(E)}DEFPRINT(wr,(function(E,N){function get_name(E){var N=E.definition();return N?N.mangled_name||N.name:E.name}var R=N.option("shorthand");if(R&&E.value instanceof zr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value)===E.key&&!_e.has(E.key)){print_property_name(E.key,E.quote,N)}else if(R&&E.value instanceof kr&&E.value.left instanceof zr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,N);N.space();N.print("=");N.space();E.value.right.print(N)}else{if(!(E.key instanceof ot)){print_property_name(E.key,E.quote,N)}else{N.with_square((function(){E.key.print(N)}))}N.colon();E.value.print(N)}}));DEFPRINT(Br,((E,N)=>{if(E.static){N.print("static");N.space()}N.print("#");print_property_name(E.key.name,E.quote,N);if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));DEFPRINT(Lr,((E,N)=>{if(E.static){N.print("static");N.space()}if(E.key instanceof Xr){print_property_name(E.key.name,E.quote,N)}else{N.print("[");E.key.print(N);N.print("]")}if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));Ar.DEFMETHOD("_print_getter_setter",(function(E,N,R){var j=this;if(j.static){R.print("static");R.space()}if(E){R.print(E);R.space()}if(j.key instanceof Qr){if(N)R.print("#");print_property_name(j.key.name,j.quote,R)}else{R.with_square((function(){j.key.print(R)}))}j.value._do_print(R,true)}));DEFPRINT(Ir,(function(E,N){E._print_getter_setter("set",false,N)}));DEFPRINT(Nr,(function(E,N){E._print_getter_setter("get",false,N)}));DEFPRINT(Pr,(function(E,N){E._print_getter_setter("set",true,N)}));DEFPRINT(Fr,(function(E,N){E._print_getter_setter("get",true,N)}));DEFPRINT(Mr,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,true,N)}));DEFPRINT(Or,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,false,N)}));zr.DEFMETHOD("_do_print",(function(E){var N=this.definition();E.print_name(N?N.mangled_name||N.name:this.name)}));DEFPRINT(zr,(function(E,N){E._do_print(N)}));DEFPRINT(Sn,noop);DEFPRINT(un,(function(E,N){N.print("this")}));DEFPRINT(dn,(function(E,N){N.print("super")}));DEFPRINT(pn,(function(E,N){N.print(E.getValue())}));DEFPRINT(mn,(function(E,N){N.print_string(E.getValue(),E.quote,N.in_directive)}));DEFPRINT(gn,(function(E,N){if((N.option("keep_numbers")||N.use_asm)&&E.raw){N.print(E.raw)}else{N.print(make_num(E.getValue()))}}));DEFPRINT(hn,(function(E,N){N.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,N)=>N.replace("/","\\/");DEFPRINT(_n,(function(N,R){let{source:j,flags:$}=N.getValue();j=regexp_source_fix(j);$=$?sort_regexp_flags($):"";j=j.replace(E,slash_script_replace);R.print(R.to_utf8(`/${j}/${$}`));const q=R.parent();if(q instanceof Sr&&/^\w/.test(q.operator)&&q.left===N){R.print(" ")}}));function force_statement(E,N){if(N.option("braces")){make_block(E,N)}else{if(!E||E instanceof mt)N.force_semicolon();else E.print(N)}}function best_of(E){var N=E[0],R=N.length;for(var j=1;jE===null&&N===null||E.TYPE===N.TYPE&&E.shallow_cmp(N);const equivalent_to=(E,N)=>{if(!shallow_cmp(E,N))return false;const R=[E];const j=[N];const $=R.push.bind(R);const q=j.push.bind(j);while(R.length&&j.length){const E=R.pop();const N=j.pop();if(!shallow_cmp(E,N))return false;E._children_backwards($);N._children_backwards(q);if(R.length!==j.length){return false}}return R.length==0&&j.length==0};const mkshallow=E=>{const N=Object.keys(E).map((N=>{if(E[N]==="eq"){return`this.${N} === other.${N}`}else if(E[N]==="exist"){return`(this.${N} == null ? other.${N} == null : this.${N} === other.${N})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[N]}`)}})).join(" && ");return new Function("other","return "+N)};const pass_through=()=>true;ot.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};ct.prototype.shallow_cmp=pass_through;ut.prototype.shallow_cmp=mkshallow({value:"eq"});dt.prototype.shallow_cmp=pass_through;pt.prototype.shallow_cmp=pass_through;mt.prototype.shallow_cmp=pass_through;_t.prototype.shallow_cmp=mkshallow({"label.name":"eq"});bt.prototype.shallow_cmp=pass_through;xt.prototype.shallow_cmp=pass_through;St.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});Et.prototype.shallow_cmp=pass_through;Tt.prototype.shallow_cmp=pass_through;kt.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=pass_through;At.prototype.shallow_cmp=pass_through;wt.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});Ot.prototype.shallow_cmp=mkshallow({is_array:"eq"});Mt.prototype.shallow_cmp=pass_through;Rt.prototype.shallow_cmp=pass_through;Lt.prototype.shallow_cmp=mkshallow({value:"eq"});Bt.prototype.shallow_cmp=pass_through;Wt.prototype.shallow_cmp=pass_through;Vt.prototype.shallow_cmp=pass_through;qt.prototype.shallow_cmp=mkshallow({is_star:"eq"});Ht.prototype.shallow_cmp=mkshallow({alternative:"exist"});Gt.prototype.shallow_cmp=pass_through;Kt.prototype.shallow_cmp=pass_through;Yt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Zt.prototype.shallow_cmp=mkshallow({argname:"exist"});er.prototype.shallow_cmp=pass_through;tr.prototype.shallow_cmp=pass_through;ar.prototype.shallow_cmp=mkshallow({value:"exist"});sr.prototype.shallow_cmp=pass_through;cr.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});lr.prototype.shallow_cmp=pass_through;ur.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});dr.prototype.shallow_cmp=pass_through;fr.prototype.shallow_cmp=pass_through;mr.prototype.shallow_cmp=pass_through;yr.prototype.shallow_cmp=pass_through;gr.prototype.shallow_cmp=mkshallow({property:"eq"});hr.prototype.shallow_cmp=mkshallow({property:"eq"});vr.prototype.shallow_cmp=mkshallow({operator:"eq"});Sr.prototype.shallow_cmp=mkshallow({operator:"eq"});Er.prototype.shallow_cmp=pass_through;Cr.prototype.shallow_cmp=pass_through;Dr.prototype.shallow_cmp=pass_through;Ar.prototype.shallow_cmp=pass_through;wr.prototype.shallow_cmp=mkshallow({key:"eq"});Ir.prototype.shallow_cmp=mkshallow({static:"eq"});Nr.prototype.shallow_cmp=mkshallow({static:"eq"});Or.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Rr.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Lr.prototype.shallow_cmp=mkshallow({static:"eq"});zr.prototype.shallow_cmp=mkshallow({name:"eq"});Wr.prototype.shallow_cmp=pass_through;un.prototype.shallow_cmp=pass_through;dn.prototype.shallow_cmp=pass_through;mn.prototype.shallow_cmp=mkshallow({value:"eq"});gn.prototype.shallow_cmp=mkshallow({value:"eq"});hn.prototype.shallow_cmp=mkshallow({value:"eq"});_n.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};yn.prototype.shallow_cmp=pass_through;const Rn=1<<0;const Ln=1<<1;let Bn=null;let jn=null;class SymbolDef{constructor(E,N,R){this.name=N.name;this.orig=[N];this.init=R;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof ot)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Bn&&Bn.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Rn||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Yr||this.orig[0]instanceof Kr)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Qr||(this.orig[0]instanceof en||this.orig[0]instanceof Zr)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const N=E.cache&&E.cache.props;if(this.global&&N&&N.has(this.name)){this.mangled_name=N.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var R=this.scope;var j=this.orig[0];if(E.ie8&&j instanceof Yr)R=R.parent_scope;const $=redefined_catch_def(this);this.mangled_name=$?$.mangled_name||$.name:R.next_mangled(E,this);if(this.global&&N){N.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof tn&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}Ct.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:N=null,toplevel:R=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(R instanceof Dt)){throw new Error("Invalid toplevel scope")}var j=this.parent_scope=N;var $=new Map;var q=null;var G=null;var ie=[];var ae=new TreeWalker(((N,R)=>{if(N.is_block_scope()){const $=j;N.block_scope=j=new Ct(N);j._block_scope=true;const q=N instanceof Zt?$.parent_scope:$;j.init_scope_vars(q);j.uses_with=$.uses_with;j.uses_eval=$.uses_eval;if(E.safari10){if(N instanceof St||N instanceof Et){ie.push(j)}}if(N instanceof Gt){const E=j;j=$;N.expression.walk(ae);j=E;for(let E=0;E{if(E===N)return true;if(N instanceof Vr){return E instanceof Yr}return!(E instanceof Hr||E instanceof qr)}))){js_error(`"${N.name}" is redeclared`,N.start.file,N.start.line,N.start.col,N.start.pos)}if(!(N instanceof Gr))mark_export(we,2);if(q!==j){N.mark_enclosed();var we=j.find_variable(N);if(N.thedef!==we){N.thedef=we;N.reference()}}}else if(N instanceof ln){var Ie=$.get(N.name);if(!Ie)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:N.name,line:N.start.line,col:N.start.col}));N.thedef=Ie}if(!(j instanceof Dt)&&(N instanceof ur||N instanceof cr)){js_error(`"${N.TYPE}" statement may only appear at the top level`,N.start.file,N.start.line,N.start.col,N.start.pos)}}));this.walk(ae);function mark_export(E,N){if(G){var R=0;do{N++}while(ae.parent(R++)!==G)}var j=ae.parent(N);if(E.export=j instanceof ur?Rn:0){var $=j.exported_definition;if(($ instanceof Nt||$ instanceof jr)&&j.is_default){E.export=Ln}}}const ce=this instanceof Dt;if(ce){this.globals=new Map}var ae=new TreeWalker((E=>{if(E instanceof Wt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof on){var N=E.name;if(N=="eval"&&ae.parent()instanceof dr){for(var j=E.scope;j&&!j.uses_eval;j=j.parent_scope){j.uses_eval=true}}var $;if(ae.parent()instanceof sr&&ae.parent(1).module_name||!($=E.scope.find_variable(N))){$=R.def_global(E);if(E instanceof sn)$.export=Rn}else if($.scope instanceof wt&&N=="arguments"){$.scope.uses_arguments=true}E.thedef=$;E.reference();if(E.scope.is_block_scope()&&!($.orig[0]instanceof Vr)){E.scope=E.scope.get_defun_scope()}return true}var q;if(E instanceof tn&&(q=redefined_catch_def(E.definition()))){var j=E.scope;while(j){push_uniq(j.enclosed,q);if(j===q.scope)break;j=j.parent_scope}}}));this.walk(ae);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof tn){var N=E.name;var j=E.thedef.references;var $=E.scope.get_defun_scope();var q=$.find_variable(N)||R.globals.get(N)||$.def_variable(E);j.forEach((function(E){E.thedef=q;E.reference()}));E.thedef=q;E.reference();return true}}))}if(E.safari10){for(const E of ie){E.parent_scope.variables.forEach((function(N){push_uniq(E.enclosed,N)}))}}}));Dt.DEFMETHOD("def_global",(function(E){var N=this.globals,R=E.name;if(N.has(R)){return N.get(R)}else{var j=new SymbolDef(this,E);j.undeclared=true;j.global=true;N.set(R,j);return j}}));Ct.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));Ct.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));Ct.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)}));Ct.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const N=(()=>{const E=[];let N=this;do{E.push(N)}while(N=N.parent_scope);E.reverse();return E})();const R=new Set(E.enclosed);const j=[];for(const E of N){j.forEach((N=>push_uniq(E.enclosed,N)));for(const N of E.variables.values()){if(R.has(N)){push_uniq(j,N);push_uniq(E.enclosed,N)}}}}));function find_scopes_visible_from(E){const N=new Set;for(const R of new Set(E)){(function bubble_up(E){if(E==null||N.has(E))return;N.add(E);bubble_up(E.parent_scope)})(R)}return[...N]}Ct.DEFMETHOD("create_symbol",(function(E,{source:N,tentative_name:R,scope:j,conflict_scopes:$=[j],init:q=null}={}){let G;$=find_scopes_visible_from($);if(R){R=G=R.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while($.find((E=>E.conflicting_def_shallow(G)))){G=R+"$"+E++}}if(!G){throw new Error("No symbol name could be generated in create_symbol()")}const ie=make_node(E,N,{name:G,scope:j});this.def_variable(ie,q||null);ie.mark_enclosed();return ie}));ot.DEFMETHOD("is_block_scope",return_false);Rr.DEFMETHOD("is_block_scope",return_false);wt.DEFMETHOD("is_block_scope",return_false);Dt.DEFMETHOD("is_block_scope",return_false);Kt.DEFMETHOD("is_block_scope",return_false);pt.DEFMETHOD("is_block_scope",return_true);Ct.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));yt.DEFMETHOD("is_block_scope",return_true);wt.DEFMETHOD("init_scope_vars",(function(){Ct.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Gr({name:"arguments",start:this.start,end:this.end}))}));It.DEFMETHOD("init_scope_vars",(function(){Ct.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));zr.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var N=this.scope;while(N){push_uniq(N.enclosed,E);if(N===E.scope)break;N=N.parent_scope}}));zr.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));Ct.DEFMETHOD("find_variable",(function(E){if(E instanceof zr)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));Ct.DEFMETHOD("def_function",(function(E,N){var R=this.def_variable(E,N);if(!R.init||R.init instanceof Nt)R.init=N;return R}));Ct.DEFMETHOD("def_variable",(function(E,N){var R=this.variables.get(E.name);if(R){R.orig.push(E);if(R.init&&(R.scope!==E.scope||R.init instanceof Ft)){R.init=N}}else{R=new SymbolDef(this,E,N);this.variables.set(E.name,R);R.global=!this.parent_scope}return E.thedef=R}));function next_mangled(E,N){var R=E.enclosed;e:while(true){var j=Un(++E.cname);if(_e.has(j))continue;if(N.reserved.has(j))continue;if(jn&&jn.has(j))continue e;for(let E=R.length;--E>=0;){const $=R[E];const q=$.mangled_name||$.unmangleable(N)&&$.name;if(j==q)continue e}return j}}Ct.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));Dt.DEFMETHOD("next_mangled",(function(E){let N;const R=this.mangled_names;do{N=next_mangled(this,E)}while(R.has(N));return N}));Ft.DEFMETHOD("next_mangled",(function(E,N){var R=N.orig[0]instanceof Gr&&this.name&&this.name.definition();var j=R?R.mangled_name||R.name:null;while(true){var $=next_mangled(this,E);if(!j||j!=$)return $}}));zr.DEFMETHOD("unmangleable",(function(E){var N=this.definition();return!N||N.unmangleable(E)}));an.DEFMETHOD("unmangleable",return_false);zr.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));zr.DEFMETHOD("definition",(function(){return this.thedef}));zr.DEFMETHOD("global",(function(){return this.thedef.global}));Dt.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));Dt.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var N=-1;var R=[];if(E.keep_fnames){Bn=new Set}const j=this.mangled_names=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){j.add(E)}))}}var $=new TreeWalker((function(j,$){if(j instanceof _t){var q=N;$();N=q;return true}if(j instanceof Ct){j.variables.forEach(collect);return}if(j.is_block_scope()){j.block_scope.variables.forEach(collect);return}if(Bn&&j instanceof ar&&j.value instanceof wt&&!j.value.name&&keep_name(E.keep_fnames,j.name.name)){Bn.add(j.name.definition().id);return}if(j instanceof an){let E;do{E=Un(++N)}while(_e.has(E));j.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&j instanceof tn){R.push(j.definition());return}}));this.walk($);if(E.keep_fnames||E.keep_classnames){jn=new Set;R.forEach((N=>{if(N.name.length<6&&N.unmangleable(E)){jn.add(N.name)}}))}R.forEach((N=>{N.mangle(E)}));Bn=null;jn=null;function collect(N){const j=!E.reserved.has(N.name)&&!(N.export&Rn);if(j){R.push(N)}}}));Dt.DEFMETHOD("find_colliding_names",(function(E){const N=E.cache&&E.cache.props;const R=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof Ct)E.variables.forEach(add_def);if(E instanceof tn)add_def(E.definition())})));return R;function to_avoid(E){R.add(E)}function add_def(R){var j=R.name;if(R.global&&N&&N.has(j))j=N.get(j);else if(!R.unmangleable(E))return;to_avoid(j)}}));Dt.DEFMETHOD("expand_names",(function(E){Un.reset();Un.sort();E=this._default_mangler_options(E);var N=this.find_colliding_names(E);var R=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof Ct)E.variables.forEach(rename);if(E instanceof tn)rename(E.definition())})));function next_name(){var E;do{E=Un(R++)}while(N.has(E)||_e.has(E));return E}function rename(N){if(N.global&&E.cache)return;if(N.unmangleable(E))return;if(E.reserved.has(N.name))return;const R=redefined_catch_def(N);const j=N.name=R?R.name:next_name();N.orig.forEach((function(E){E.name=j}));N.references.forEach((function(E){E.name=j}))}}));ot.DEFMETHOD("tail_node",return_this);fr.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));Dt.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);try{ot.prototype.print=function(N,R){this._print(N,R);if(this instanceof zr&&!this.unmangleable(E)){Un.consider(this.name,-1)}else if(E.properties){if(this instanceof hr){Un.consider("#"+this.property,-1)}else if(this instanceof gr){Un.consider(this.property,-1)}else if(this instanceof _r){skip_string(this.property)}}};Un.consider(this.print_to_string(),1)}finally{ot.prototype.print=ot.prototype._print}Un.sort();function skip_string(E){if(E instanceof mn){Un.consider(E.value,-1)}else if(E instanceof Er){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof fr){skip_string(E.tail_node())}}}));const Un=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const N="0123456789".split("");let R;let j;function reset(){j=new Map;E.forEach((function(E){j.set(E,0)}));N.forEach((function(E){j.set(E,0)}))}base54.consider=function(E,N){for(var R=E.length;--R>=0;){j.set(E[R],j.get(E[R])+N)}};function compare(E,N){return j.get(N)-j.get(E)}base54.sort=function(){R=mergeSort(E,compare).concat(mergeSort(N,compare))};base54.reset=reset;reset();function base54(E){var N="",j=54;E++;do{E--;N+=R[E%j];E=Math.floor(E/j);j=64}while(E>0);return N}return base54})();let zn=undefined;ot.prototype.size=function(E,N){zn=E&&E.mangle_options;let R=0;walk_parent(this,((E,N)=>{R+=E._size(N);if(E instanceof It&&E.is_braceless()){R+=E.body[0].value._size(N);return true}}),N||E&&E.stack);zn=undefined;return R};ot.prototype._size=()=>0;ct.prototype._size=()=>8;ut.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;pt.prototype._size=function(){return 2+list_overhead(this.body)};Dt.prototype._size=function(){return list_overhead(this.body)};mt.prototype._size=()=>1;_t.prototype._size=()=>2;bt.prototype._size=()=>9;xt.prototype._size=()=>7;St.prototype._size=()=>8;Et.prototype._size=()=>8;kt.prototype._size=()=>6;At.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);Pt.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};Ft.prototype._size=function(E){const N=!!first_in_statement(E);return N*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Nt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};It.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof zr)){E+=2}const N=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+N};Ot.prototype._size=()=>2;Rt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Lt.prototype._size=function(){return this.value.length};Ut.prototype._size=function(){return this.value?7:6};zt.prototype._size=()=>6;$t.prototype._size=function(){return this.label?6:5};Jt.prototype._size=function(){return this.label?9:8};Ht.prototype._size=()=>4;Gt.prototype._size=function(){return 8+list_overhead(this.body)};Xt.prototype._size=function(){return 5+list_overhead(this.body)};Qt.prototype._size=function(){return 8+list_overhead(this.body)};Yt.prototype._size=function(){return 3+list_overhead(this.body)};Zt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};er.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,N)=>E+list_overhead(N.definitions);rr.prototype._size=function(){return def_size(4,this)};nr.prototype._size=function(){return def_size(4,this)};ir.prototype._size=function(){return def_size(6,this)};ar.prototype._size=function(){return this.value?1:0};sr.prototype._size=function(){return this.name?4:0};cr.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};lr.prototype._size=()=>11;ur.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};dr.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};pr.prototype._size=function(){return 6+list_overhead(this.args)};fr.prototype._size=function(){return list_overhead(this.expressions)};gr.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};hr.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};_r.prototype._size=function(){return this.optional?4:2};vr.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};Sr.prototype._size=function(E){if(this.operator==="in")return 4;let N=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof vr&&this.right.operator===this.operator){N+=1}if(this.needs_parens(E)){N+=2}return N};Er.prototype._size=()=>3;Cr.prototype._size=function(){return 2+list_overhead(this.elements)};Dr.prototype._size=function(E){let N=2;if(first_in_statement(E)){N+=2}return N+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;wr.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;Nr.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Ir.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Or.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Mr.prototype._size=function(){return Or.prototype._size.call(this)+1};Fr.prototype._size=Pr.prototype._size=function(){return Or.prototype._size.call(this)+4};Rr.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Lr.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};Br.prototype._size=function(){return Lr.prototype._size.call(this)+1};zr.prototype._size=function(){return!zn||this.definition().unmangleable(zn)?this.name.length:1};Xr.prototype._size=function(){return this.name.length};on.prototype._size=$r.prototype._size=function(){const{name:E,thedef:N}=this;if(N&&N.global)return E.length;if(E==="arguments")return 9;return zr.prototype._size.call(this)};Wr.prototype._size=()=>10;nn.prototype._size=function(){return this.name.length};cn.prototype._size=function(){return this.name.length};un.prototype._size=()=>4;dn.prototype._size=()=>5;mn.prototype._size=function(){return this.value.length+2};gn.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};hn.prototype._size=function(){return this.value.length};_n.prototype._size=function(){return this.value.toString().length};vn.prototype._size=()=>4;bn.prototype._size=()=>3;xn.prototype._size=()=>6;Sn.prototype._size=()=>0;En.prototype._size=()=>8;Cn.prototype._size=()=>4;kn.prototype._size=()=>5;Vt.prototype._size=()=>6;qt.prototype._size=()=>6;const Wn=1;const $n=2;const Jn=4;const Vn=8;const qn=16;const Hn=32;const Gn=256;const Kn=512;const Qn=1024;const Xn=Gn|Kn|Qn;const has_flag=(E,N)=>E.flags&N;const set_flag=(E,N)=>{E.flags|=N};const clear_flag=(E,N)=>{E.flags&=~N};class Compressor extends TreeWalker{constructor(E,{false_by_default:N=false,mangle_options:R=false}){super();if(E.defaults!==undefined&&!E.defaults)N=true;this.options=defaults(E,{arguments:false,arrows:!N,booleans:!N,booleans_as_integers:false,collapse_vars:!N,comparisons:!N,computed_props:!N,conditionals:!N,dead_code:!N,defaults:true,directives:!N,drop_console:false,drop_debugger:!N,ecma:5,evaluate:!N,expression:false,global_defs:false,hoist_funs:false,hoist_props:!N,hoist_vars:false,ie8:false,if_return:!N,inline:!N,join_vars:!N,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!N,module:false,negate_iife:!N,passes:1,properties:!N,pure_getters:!N&&"strict",pure_funcs:null,reduce_funcs:!N,reduce_vars:!N,sequences:!N,side_effects:!N,switches:!N,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!N,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!N,warnings:false},true);var j=this.options["global_defs"];if(typeof j=="object")for(var $ in j){if($[0]==="@"&&HOP(j,$)){j[$.slice(1)]=parse(j[$],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var q=this.options["pure_funcs"];if(typeof q=="function"){this.pure_funcs=q}else{this.pure_funcs=q?function(E){return!q.includes(E.expression.print_to_string())}:return_true}var G=this.options["top_retain"];if(G instanceof RegExp){this.top_retain=function(E){return G.test(E.name)}}else if(typeof G=="function"){this.top_retain=G}else if(G){if(typeof G=="string"){G=G.split(/,/)}this.top_retain=function(E){return G.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ie=this.options["toplevel"];this.toplevel=typeof ie=="string"?{funcs:/funcs/.test(ie),vars:/vars/.test(ie)}:{funcs:ie,vars:ie};var ae=this.options["sequences"];this.sequences_limit=ae==1?800:ae|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=R}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var N=0,R=E.orig.length;N0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(N>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){$.body[G]=$.body[G].transform(j)}}else if($ instanceof Ht){$.body=$.body.transform(j);if($.alternative){$.alternative=$.alternative.transform(j)}}else if($ instanceof kt){$.body=$.body.transform(j)}return $}));R.transform(j)}));function read_property(E,N){N=get_value(N);if(N instanceof ot)return;var R;if(E instanceof Cr){var j=E.elements;if(N=="length")return make_node_from_constant(j.length,E);if(typeof N=="number"&&N in j)R=j[N]}else if(E instanceof Dr){N=""+N;var $=E.properties;for(var q=$.length;--q>=0;){var G=$[q];if(!(G instanceof wr))return;if(!R&&$[q].key===N)R=$[q].value}}return R instanceof on&&R.fixed_value()||R}function is_modified(E,N,R,j,$,q){var G=N.parent($);var ie=is_lhs(R,G);if(ie)return ie;if(!q&&G instanceof dr&&G.expression===R&&!(j instanceof It)&&!(j instanceof Rr)&&!G.is_callee_pure(E)&&(!(j instanceof Ft)||!(G instanceof pr)&&j.contains_this())){return true}if(G instanceof Cr){return is_modified(E,N,G,G,$+1)}if(G instanceof wr&&R===G.value){var ae=N.parent($+1);return is_modified(E,N,ae,ae,$+2)}if(G instanceof mr&&G.expression===R){var ce=read_property(j,G.property);return!q&&is_modified(E,N,G,ce,$+1)}}(function(E){E(ot,noop);function reset_def(E,N){N.assignments=0;N.chained=false;N.direct_access=false;N.escaped=0;N.recursive_refs=0;N.references=[];N.single_use=undefined;if(N.scope.pinned()){N.fixed=false}else if(N.orig[0]instanceof qr||!E.exposed(N)){N.fixed=N.init}else{N.fixed=false}}function reset_variables(E,N,R){R.variables.forEach((function(R){reset_def(N,R);if(R.fixed===null){E.defs_to_safe_ids.set(R.id,E.safe_ids);mark(E,R,true)}else if(R.fixed){E.loop_ids.set(R.id,E.in_loop);mark(E,R,true)}}))}function reset_block_variables(E,N){if(N.block_scope)N.block_scope.variables.forEach((N=>{reset_def(E,N)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,N,R){E.safe_ids[N.id]=R}function safe_to_read(E,N){if(N.single_use=="m")return false;if(E.safe_ids[N.id]){if(N.fixed==null){var R=N.orig[0];if(R instanceof Gr||R.name=="arguments")return false;N.fixed=make_node(xn,R)}return true}return N.fixed instanceof Nt}function safe_to_assign(E,N,R,j){if(N.fixed===undefined)return true;let $;if(N.fixed===null&&($=E.defs_to_safe_ids.get(N.id))){$[N.id]=false;E.defs_to_safe_ids.delete(N.id);return true}if(!HOP(E.safe_ids,N.id))return false;if(!safe_to_read(E,N))return false;if(N.fixed===false)return false;if(N.fixed!=null&&(!j||N.references.length>N.assignments))return false;if(N.fixed instanceof Nt){return j instanceof ot&&N.fixed.parent_scope===R}return N.orig.every((E=>!(E instanceof qr||E instanceof Kr||E instanceof Yr)))}function ref_once(E,N,R){return N.option("unused")&&!R.scope.pinned()&&R.references.length-R.recursive_refs==1&&E.loop_ids.get(R.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof wt||E instanceof un}function mark_escaped(E,N,R,j,$,q=0,G=1){var ie=E.parent(q);if($){if($.is_constant())return;if($ instanceof Ur)return}if(ie instanceof Tr&&(ie.operator==="="||ie.logical)&&j===ie.right||ie instanceof dr&&(j!==ie.expression||ie instanceof pr)||ie instanceof jt&&j===ie.value&&j.scope!==N.scope||ie instanceof ar&&j===ie.value||ie instanceof qt&&j===ie.value&&j.scope!==N.scope){if(G>1&&!($&&$.is_constant_expression(R)))G=1;if(!N.escaped||N.escaped>G)N.escaped=G;return}else if(ie instanceof Cr||ie instanceof Vt||ie instanceof Sr&&ei.has(ie.operator)||ie instanceof Er&&j!==ie.condition||ie instanceof At||ie instanceof fr&&j===ie.tail_node()){mark_escaped(E,N,R,ie,ie,q+1,G)}else if(ie instanceof wr&&j===ie.value){var ae=E.parent(q+1);mark_escaped(E,N,R,ae,ae,q+2,G)}else if(ie instanceof mr&&j===ie.expression){$=read_property($,ie.property);mark_escaped(E,N,R,ie,$,q+1,G+1);if($)return}if(q>0)return;if(ie instanceof fr&&j!==ie.tail_node())return;if(ie instanceof dt)return;N.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof zr))return;var N=E.definition();if(!N)return;if(E instanceof on)N.references.push(E);N.fixed=false}));E(Pt,(function(E,N,R){push(E);reset_variables(E,R,this);N();pop(E);return true}));E(Tr,(function(E,N,R){var j=this;if(j.left instanceof Ot){suppress(j.left);return}const finish_walk=()=>{if(j.logical){j.left.walk(E);push(E);j.right.walk(E);pop(E);return true}};var $=j.left;if(!($ instanceof on))return finish_walk();var q=$.definition();var G=safe_to_assign(E,q,$.scope,j.right);q.assignments++;if(!G)return finish_walk();var ie=q.fixed;if(!ie&&j.operator!="="&&!j.logical)return finish_walk();var ae=j.operator=="=";var ce=ae?j.right:j;if(is_modified(R,E,j,ce,0))return finish_walk();q.references.push($);if(!j.logical){if(!ae)q.chained=true;q.fixed=ae?function(){return j.right}:function(){return make_node(Sr,j,{operator:j.operator.slice(0,-1),left:ie instanceof ot?ie:ie(),right:j.right})}}if(j.logical){mark(E,q,false);push(E);j.right.walk(E);pop(E);return true}mark(E,q,false);j.right.walk(E);mark(E,q,true);mark_escaped(E,q,$.scope,j,ce,0,1);return true}));E(Sr,(function(E){if(!ei.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));E(pt,(function(E,N,R){reset_block_variables(R,this)}));E(Xt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));E(Rr,(function(E,N){clear_flag(this,qn);push(E);N();pop(E);return true}));E(Er,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));E(yr,(function(E,N){const R=E.safe_ids;N();E.safe_ids=R;return true}));E(dr,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const N of this.args)N.walk(E);return true}));E(mr,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof ot)this.property.walk(E);return true}));E(Qt,(function(E,N){push(E);N();pop(E);return true}));function mark_lambda(E,N,R){clear_flag(this,qn);push(E);reset_variables(E,R,this);if(this.uses_arguments){N();pop(E);return}var j;if(!this.name&&(j=E.parent())instanceof dr&&j.expression===this&&!j.args.some((E=>E instanceof At))&&this.argnames.every((E=>E instanceof zr))){this.argnames.forEach(((N,R)=>{if(!N.definition)return;var $=N.definition();if($.orig.length>1)return;if($.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){$.fixed=function(){return j.args[R]||make_node(xn,j)};E.loop_ids.set($.id,E.in_loop);mark(E,$,true)}else{$.fixed=false}}))}N();pop(E);return true}E(wt,mark_lambda);E(bt,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=j;return true}));E(St,(function(E,N,R){reset_block_variables(R,this);if(this.init)this.init.walk(E);const j=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=j;return true}));E(Et,(function(E,N,R){reset_block_variables(R,this);suppress(this.init);this.object.walk(E);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=j;return true}));E(Ht,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));E(_t,(function(E){push(E);this.body.walk(E);pop(E);return true}));E(tn,(function(){this.definition().fixed=false}));E(on,(function(E,N,R){var j=this.definition();j.references.push(this);if(j.references.length==1&&!j.fixed&&j.orig[0]instanceof Kr){E.loop_ids.set(j.id,E.in_loop)}var $;if(j.fixed===undefined||!safe_to_read(E,j)){j.fixed=false}else if(j.fixed){$=this.fixed_value();if($ instanceof wt&&recursive_ref(E,j)){j.recursive_refs++}else if($&&!R.exposed(j)&&ref_once(E,R,j)){j.single_use=$ instanceof wt&&!$.pinned()||$ instanceof Rr||j.scope===this.scope&&$.is_constant_expression()}else{j.single_use=false}if(is_modified(R,E,this,$,0,is_immutable($))){if(j.single_use){j.single_use="m"}else{j.fixed=false}}}mark_escaped(E,j,this.scope,this,$,0,1)}));E(Dt,(function(E,N,R){this.globals.forEach((function(E){reset_def(R,E)}));reset_variables(E,R,this)}));E(Yt,(function(E,N,R){reset_block_variables(R,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));E(vr,(function(E){var N=this;if(N.operator!=="++"&&N.operator!=="--")return;var R=N.expression;if(!(R instanceof on))return;var j=R.definition();var $=safe_to_assign(E,j,R.scope,true);j.assignments++;if(!$)return;var q=j.fixed;if(!q)return;j.references.push(R);j.chained=true;j.fixed=function(){return make_node(Sr,N,{operator:N.operator.slice(0,-1),left:make_node(br,N,{operator:"+",expression:q instanceof ot?q:q()}),right:make_node(gn,N,{value:1})})};mark(E,j,true);return true}));E(ar,(function(E,N){var R=this;if(R.name instanceof Ot){suppress(R.name);return}var j=R.name.definition();if(R.value){if(safe_to_assign(E,j,R.name.scope,R.value)){j.fixed=function(){return R.value};E.loop_ids.set(j.id,E.in_loop);mark(E,j,false);N();mark(E,j,true);return true}else{j.fixed=false}}}));E(xt,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);N();pop(E);E.in_loop=j;return true}))})((function(E,N){E.DEFMETHOD("reduce_vars",N)}));Dt.DEFMETHOD("reset_opt_flags",(function(E){const N=this;const R=E.option("reduce_vars");const j=new TreeWalker((function($,q){clear_flag($,Xn);if(R){if(E.top_retain&&$ instanceof Nt&&j.parent()===N){set_flag($,Qn)}return $.reduce_vars(j,q,E)}}));j.safe_ids=Object.create(null);j.in_loop=null;j.loop_ids=new Map;j.defs_to_safe_ids=new Map;N.walk(j)}));zr.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof ot)return E;return E()}));on.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Yr}));function is_func_expr(E){return E instanceof It||E instanceof Ft}function is_lhs_read_only(E){if(E instanceof un)return true;if(E instanceof on)return E.definition().orig[0]instanceof Yr;if(E instanceof mr){E=E.expression;if(E instanceof on){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof _n)return false;if(E instanceof pn)return true;return is_lhs_read_only(E)}return false}function is_ref_of(E,N){if(!(E instanceof on))return false;var R=E.definition().orig;for(var j=R.length;--j>=0;){if(R[j]instanceof N)return true}}function find_scope(E){for(let N=0;;N++){const R=E.parent(N);if(R instanceof Dt)return R;if(R instanceof wt)return R;if(R.block_scope)return R.block_scope}}function find_variable(E,N){var R,j=0;while(R=E.parent(j++)){if(R instanceof Ct)break;if(R instanceof Zt&&R.argname){R=R.argname.definition().scope;break}}return R.find_variable(N)}function make_sequence(E,N){if(N.length==1)return N[0];if(N.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(fr,E,{expressions:N.reduce(merge_sequence,[])})}function make_node_from_constant(E,N){switch(typeof E){case"string":return make_node(mn,N,{value:E});case"number":if(isNaN(E))return make_node(bn,N);if(isFinite(E)){return 1/E<0?make_node(br,N,{operator:"-",expression:make_node(gn,N,{value:-E})}):make_node(gn,N,{value:E})}return E<0?make_node(br,N,{operator:"-",expression:make_node(En,N)}):make_node(En,N);case"boolean":return make_node(E?Cn:kn,N);case"undefined":return make_node(xn,N);default:if(E===null){return make_node(vn,N,{value:null})}if(E instanceof RegExp){return make_node(_n,N,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function maintain_this_binding(E,N,R){if(E instanceof br&&E.operator=="delete"||E instanceof dr&&E.expression===N&&(R instanceof mr||R instanceof on&&R.name=="eval")){return make_sequence(N,[make_node(gn,N,{value:0}),R])}return R}function merge_sequence(E,N){if(N instanceof fr){E.push(...N.expressions)}else{E.push(N)}return E}function as_statement_array(E){if(E===null)return[];if(E instanceof ft)return E.body;if(E instanceof mt)return[];if(E instanceof st)return[E];throw new Error("Can't convert thing to statement array")}function is_empty(E){if(E===null)return true;if(E instanceof mt)return true;if(E instanceof ft)return E.body.length==0;return false}function can_be_evicted_from_block(E){return!(E instanceof jr||E instanceof Nt||E instanceof nr||E instanceof ir||E instanceof ur||E instanceof cr)}function loop_body(E){if(E instanceof yt){return E.body instanceof ft?E.body:E}return E}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof Ft||is_iife_call(E.expression)}function is_undeclared_ref(E){return E instanceof on&&E.definition().undeclared}var Yn=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");on.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&Yn.has(this.name)}));var Zn=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof En||E instanceof bn||E instanceof xn}function tighten_body(E,N){var R,j;var q=N.find_parent(Ct).get_defun_scope();find_loop_scope_try();var G,ie=10;do{G=false;eliminate_spurious_blocks(E);if(N.option("dead_code")){eliminate_dead_code(E,N)}if(N.option("if_return")){handle_if_return(E,N)}if(N.sequences_limit>0){sequencesize(E,N);sequencesize_2(E,N)}if(N.option("join_vars")){join_consecutive_vars(E)}if(N.option("collapse_vars")){collapse(E,N)}}while(G&&ie-- >0);function find_loop_scope_try(){var E=N.self(),$=0;do{if(E instanceof Zt||E instanceof er){$++}else if(E instanceof yt){R=true}else if(E instanceof Ct){q=E;break}else if(E instanceof Yt){j=true}}while(E=N.parent($++))}function collapse(E,N){if(q.pinned())return E;var ie;var ae=[];var ce=E.length;var le=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Ee[Te])return E;Te++;if(Te1)||E instanceof yt&&!(E instanceof St)||E instanceof Wt||E instanceof Yt||E instanceof kt||E instanceof qt||E instanceof ur||E instanceof Rr||R instanceof St&&E!==R.init||!ze&&(E instanceof on&&!E.is_declared(N)&&!oi.has(E))||E instanceof on&&R instanceof dr&&has_annotation(R,Pn)){qe=true;return E}if(!Me&&(!je||!ze)&&(R instanceof Sr&&ei.has(R.operator)&&R.left!==E||R instanceof Er&&R.condition!==E||R instanceof Ht&&R.condition!==E)){Me=R}if(Ge&&!(E instanceof $r)&&Le.equivalent_to(E)){if(Me){qe=true;return E}if(is_lhs(E,R)){if(Ie)He++;return E}else{He++;if(Ie&&we instanceof ar)return E}G=qe=true;if(we instanceof xr){return make_node(br,we,we)}if(we instanceof ar){var $=we.name.definition();var q=we.value;if($.references.length-$.replaced==1&&!N.exposed($)){$.replaced++;if(Je&&is_identifier_atom(q)){return q.transform(N)}else{return maintain_this_binding(R,E,q)}}return make_node(Tr,we,{operator:"=",logical:false,left:make_node(on,we.name,we.name),right:q})}clear_flag(we,Hn);return we}var ie;if(E instanceof dr||E instanceof jt&&(Ue||Le instanceof mr||may_modify(Le))||E instanceof mr&&(Ue||E.expression.may_throw_on_access(N))||E instanceof on&&(Be.get(E.name)||Ue&&may_modify(E))||E instanceof ar&&E.value&&(Be.has(E.name.name)||Ue&&may_modify(E.name))||(ie=is_lhs(E.left,E))&&(ie instanceof mr||Be.has(ie.name))||We&&(j?E.has_side_effects(N):side_effects_external(E))){Ne=E;if(E instanceof Ct)qe=true}return handle_custom_scan_order(E)}),(function(E){if(qe)return;if(Ne===E)qe=true;if(Me===E)Me=null}));var _e=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Ee[Te])return E;Te++;if(Te=0){if(ce==0&&N.option("unused"))extract_args();var Ee=[];extract_candidates(E[ce]);while(ae.length>0){Ee=ae.pop();var Te=0;var we=Ee[Ee.length-1];var Ie=null;var Ne=null;var Me=null;var Le=get_lhs(we);if(!Le||is_lhs_read_only(Le)||Le.has_side_effects(N))continue;var Be=get_lvalues(we);var je=is_lhs_local(Le);if(Le instanceof on)Be.set(Le.name,false);var Ue=value_has_side_effects(we);var ze=replace_all_symbols();var We=we.may_throw(N);var Je=we.name instanceof Gr;var Ve=Je;var qe=false,He=0,Ge=!ie||!Ve;if(!Ge){for(var Ke=N.self().argnames.lastIndexOf(we.name)+1;!qe&&KeHe)He=false;else{qe=false;Te=0;Ve=Je;for(var Qe=ce;!qe&&Qe!(E instanceof At)))){var j=N.has_directive("use strict");if(j&&!member(j,R.body))j=false;var $=R.argnames.length;ie=E.args.slice($);var q=new Set;for(var G=$;--G>=0;){var ce=R.argnames[G];var le=E.args[G];const $=ce.definition&&ce.definition();const Ee=$&&$.orig.length>1;if(Ee)continue;ie.unshift(make_node(ar,ce,{name:ce,value:le}));if(q.has(ce.name))continue;q.add(ce.name);if(ce instanceof At){var _e=E.args.slice(G);if(_e.every((E=>!has_overlapping_symbol(R,E,j)))){ae.unshift([make_node(ar,ce,{name:ce.expression,value:make_node(Cr,E,{elements:_e})})])}}else{if(!le){le=make_node(xn,ce).transform(N)}else if(le instanceof wt&&le.pinned()||has_overlapping_symbol(R,le,j)){le=null}if(le)ae.unshift([make_node(ar,ce,{name:ce,value:le})])}}}}function extract_candidates(E){Ee.push(E);if(E instanceof Tr){if(!E.left.has_side_effects(N)&&!(E.right instanceof yr)){ae.push(Ee.slice())}extract_candidates(E.right)}else if(E instanceof Sr){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof dr&&!has_annotation(E,Pn)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Xt){extract_candidates(E.expression)}else if(E instanceof Er){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof tr){var R=E.definitions.length;var j=R-200;if(j<0)j=0;for(;j1&&!(E.name instanceof Gr)||(j>1?mangleable_var(E):!N.exposed(R))){return make_node(on,E.name,E.name)}}else{const N=E instanceof Tr?E.left:E.expression;return!is_ref_of(N,qr)&&!is_ref_of(N,Hr)&&N}}function get_rvalue(E){if(E instanceof Tr){return E.right}else{return E.value}}function get_lvalues(E){var R=new Map;if(E instanceof vr)return R;var j=new TreeWalker((function(E){var $=E;while($ instanceof mr)$=$.expression;if($ instanceof on||$ instanceof un){R.set($.name,R.get($.name)||is_modified(N,j,E,E,0))}}));get_rvalue(E).walk(j);return R}function remove_candidate(R){if(R.name instanceof Gr){var j=N.parent(),q=N.self().argnames;var G=q.indexOf(R.name);if(G<0){j.args.length=Math.min(j.args.length,q.length-1)}else{var ie=j.args;if(ie[G])ie[G]=make_node(gn,ie[G],{value:0})}return true}var ae=false;return E[ce].transform(new TreeTransformer((function(E,N,j){if(ae)return E;if(E===R||E.body===R){ae=true;if(E instanceof ar){E.value=E.name instanceof qr?make_node(xn,E.value):null;return E}return j?$.skip:null}}),(function(E){if(E instanceof fr)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof mr)E=E.expression;return E instanceof on&&E.definition().scope===q&&!(R&&(Be.has(E.name)||we instanceof vr||we instanceof Tr&&!we.logical&&we.operator!="="))}function value_has_side_effects(E){if(E instanceof vr)return ti.has(E.operator);return get_rvalue(E).has_side_effects(N)}function replace_all_symbols(){if(Ue)return false;if(Ie)return true;if(Le instanceof on){var E=Le.definition();if(E.references.length-E.replaced==(we instanceof ar?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var N=E.definition();if(N.orig.length==1&&N.orig[0]instanceof Kr)return false;if(N.scope.get_defun_scope()!==q)return true;return!N.references.every((E=>{var N=E.scope.get_defun_scope();if(N.TYPE=="Scope")N=N.parent_scope;return N===q}))}function side_effects_external(E,N){if(E instanceof Tr)return side_effects_external(E.left,true);if(E instanceof vr)return side_effects_external(E.expression,true);if(E instanceof ar)return E.value&&side_effects_external(E.value);if(N){if(E instanceof gr)return side_effects_external(E.expression,true);if(E instanceof _r)return side_effects_external(E.expression,true);if(E instanceof on)return E.definition().scope!==q}return false}}function eliminate_spurious_blocks(E){var N=[];for(var R=0;R=0;){var ie=E[q];var ae=next_index(q);var ce=E[ae];if($&&!ce&&ie instanceof Ut){if(!ie.value){G=true;E.splice(q,1);continue}if(ie.value instanceof br&&ie.value.operator=="void"){G=true;E[q]=make_node(dt,ie,{body:ie.value.expression});continue}}if(ie instanceof Ht){var le=aborts(ie.body);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.condition=ie.condition.negate(N);var _e=as_statement_array_with_return(ie.body,le);ie.body=make_node(ft,ie,{body:as_statement_array(ie.alternative).concat(extract_functions())});ie.alternative=make_node(ft,ie,{body:_e});E[q]=ie.transform(N);continue}var le=aborts(ie.alternative);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.body=make_node(ft,ie.body,{body:as_statement_array(ie.body).concat(extract_functions())});var _e=as_statement_array_with_return(ie.alternative,le);ie.alternative=make_node(ft,ie.alternative,{body:_e});E[q]=ie.transform(N);continue}}if(ie instanceof Ht&&ie.body instanceof Ut){var Ee=ie.body.value;if(!Ee&&!ie.alternative&&($&&!ce||ce instanceof Ut&&!ce.value)){G=true;E[q]=make_node(dt,ie.condition,{body:ie.condition});continue}if(Ee&&!ie.alternative&&ce instanceof Ut&&ce.value){G=true;ie=ie.clone();ie.alternative=ce;E[q]=ie.transform(N);E.splice(ae,1);continue}if(Ee&&!ie.alternative&&(!ce&&$&&j||ce instanceof Ut)){G=true;ie=ie.clone();ie.alternative=ce||make_node(Ut,ie,{value:null});E[q]=ie.transform(N);if(ce)E.splice(ae,1);continue}var Te=E[prev_index(q)];if(N.option("sequences")&&$&&!ie.alternative&&Te instanceof Ht&&Te.body instanceof Ut&&next_index(ae)==E.length&&ce instanceof dt){G=true;ie=ie.clone();ie.alternative=make_node(ft,ce,{body:[ce,make_node(Ut,ce,{value:null})]});E[q]=ie.transform(N);E.splice(ae,1);continue}}}function has_multiple_if_returns(E){var N=0;for(var R=E.length;--R>=0;){var j=E[R];if(j instanceof Ht&&j.body instanceof Ut){if(++N>1)return true}}return false}function is_return_void(E){return!E||E instanceof br&&E.operator=="void"}function can_merge_flow(j){if(!j)return false;for(var G=q+1,ie=E.length;G=0;){var j=E[R];if(!(j instanceof rr&&declarations_only(j))){break}}return R}}function eliminate_dead_code(E,N){var R;var j=N.self();for(var $=0,q=0,ie=E.length;$!E.value))}function sequencesize(E,N){if(E.length<2)return;var R=[],j=0;function push_seq(){if(!R.length)return;var N=make_sequence(R[0],R);E[j++]=make_node(dt,N,{body:N});R=[]}for(var $=0,q=E.length;$=N.sequences_limit)push_seq();var ae=ie.body;if(R.length>0)ae=ae.drop_side_effect_free(N);if(ae)merge_sequence(R,ae)}else if(ie instanceof tr&&declarations_only(ie)||ie instanceof Nt){E[j++]=ie}else{push_seq();E[j++]=ie}}push_seq();E.length=j;if(j!=q)G=true}function to_simple_statement(E,N){if(!(E instanceof ft))return E;var R=null;for(var j=0,$=E.body.length;j<$;j++){var q=E.body[j];if(q instanceof rr&&declarations_only(q)){N.push(q)}else if(R){return false}else{R=q}}return R}function sequencesize_2(E,N){function cons_seq(E){R--;G=true;var $=j.body;return make_sequence($,[$,E]).transform(N)}var R=0,j;for(var $=0;${if(E instanceof Ct)return true;if(E instanceof Sr&&E.operator==="in"){return Dn}}));if(!E){if(q.init)q.init=cons_seq(q.init);else{q.init=j.body;R--;G=true}}}}else if(q instanceof Et){if(!(q.init instanceof ir)&&!(q.init instanceof nr)){q.object=cons_seq(q.object)}}else if(q instanceof Ht){q.condition=cons_seq(q.condition)}else if(q instanceof Gt){q.expression=cons_seq(q.expression)}else if(q instanceof kt){q.expression=cons_seq(q.expression)}}if(N.option("conditionals")&&q instanceof Ht){var ie=[];var ae=to_simple_statement(q.body,ie);var ce=to_simple_statement(q.alternative,ie);if(ae!==false&&ce!==false&&ie.length>0){var le=ie.length;ie.push(make_node(Ht,q,{condition:q.condition,body:ae||make_node(mt,q.body),alternative:ce}));ie.unshift(R,1);[].splice.apply(E,ie);$+=le;R+=le+1;j=null;G=true;continue}}E[R++]=q;j=q instanceof dt?q:null}E.length=R}function join_object_assignments(E,R){if(!(E instanceof tr))return;var j=E.definitions[E.definitions.length-1];if(!(j.value instanceof Dr))return;var $;if(R instanceof Tr&&!R.logical){$=[R]}else if(R instanceof fr){$=R.expressions.slice()}if(!$)return;var G=false;do{var ie=$[0];if(!(ie instanceof Tr))break;if(ie.operator!="=")break;if(!(ie.left instanceof mr))break;var ae=ie.left.expression;if(!(ae instanceof on))break;if(j.name.name!=ae.name)break;if(!ie.right.is_constant_expression(q))break;var ce=ie.left.property;if(ce instanceof ot){ce=ce.evaluate(N)}if(ce instanceof ot)break;ce=""+ce;var le=N.option("ecma")<2015&&N.has_directive("use strict")?function(E){return E.key!=ce&&(E.key&&E.key.name!=ce)}:function(E){return E.key&&E.key.name!=ce};if(!j.value.properties.every(le))break;var _e=j.value.properties.filter((function(E){return E.key===ce}))[0];if(!_e){j.value.properties.push(make_node(wr,ie,{key:ce,value:ie.right}))}else{_e.value=new fr({start:_e.start,expressions:[_e.value.clone(),ie.right.clone()],end:_e.end})}$.shift();G=true}while($.length);return G&&$}function join_consecutive_vars(E){var N;for(var R=0,j=-1,$=E.length;R<$;R++){var q=E[R];var ie=E[j];if(q instanceof tr){if(ie&&ie.TYPE==q.TYPE){ie.definitions=ie.definitions.concat(q.definitions);G=true}else if(N&&N.TYPE==q.TYPE&&declarations_only(q)){N.definitions=N.definitions.concat(q.definitions);G=true}else{E[++j]=q;N=q}}else if(q instanceof jt){q.value=extract_object_assignments(q.value)}else if(q instanceof St){var ae=join_object_assignments(ie,q.init);if(ae){G=true;q.init=ae.length?make_sequence(q.init,ae):null;E[++j]=q}else if(ie instanceof rr&&(!q.init||q.init.TYPE==ie.TYPE)){if(q.init){ie.definitions=ie.definitions.concat(q.init.definitions)}q.init=ie;E[j]=q;G=true}else if(N&&q.init&&N.TYPE==q.init.TYPE&&declarations_only(q.init)){N.definitions=N.definitions.concat(q.init.definitions);q.init=null;E[++j]=q;G=true}else{E[++j]=q}}else if(q instanceof Et){q.object=extract_object_assignments(q.object)}else if(q instanceof Ht){q.condition=extract_object_assignments(q.condition)}else if(q instanceof dt){var ae=join_object_assignments(ie,q.body);if(ae){G=true;if(!ae.length)continue;q.body=make_sequence(q.body,ae)}E[++j]=q}else if(q instanceof Gt){q.expression=extract_object_assignments(q.expression)}else if(q instanceof kt){q.expression=extract_object_assignments(q.expression)}else{E[++j]=q}}E.length=j+1;function extract_object_assignments(N){E[++j]=q;var R=join_object_assignments(ie,N);if(R){G=true;if(R.length){return make_sequence(N,R)}else if(N instanceof fr){return N.tail_node().left}else{return N.left}}return N}}}function trim_unreachable_code(E,N,R){walk(N,(j=>{if(j instanceof rr){j.remove_initializers();R.push(j);return true}if(j instanceof Nt&&(j===N||!E.has_directive("use strict"))){R.push(j===N?j:make_node(rr,j,{definitions:[make_node(ar,j,{name:make_node(Jr,j.name,j.name),value:null})]}));return true}if(j instanceof ur||j instanceof cr){R.push(j);return true}if(j instanceof Ct){return true}}))}function get_value(E){if(E instanceof pn){return E.getValue()}if(E instanceof br&&E.operator=="void"&&E.expression instanceof pn){return}return E}function is_undefined(E,N){return has_flag(E,Vn)||E instanceof xn||E instanceof br&&E.operator=="void"&&!E.expression.has_side_effects(N)}(function(E){ot.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(ot,is_strict);E(vn,return_true);E(xn,return_true);E(pn,return_false);E(Cr,return_false);E(Dr,(function(E){if(!is_strict(E))return false;for(var N=this.properties.length;--N>=0;)if(this.properties[N]._dot_throw(E))return true;return false}));E(Rr,return_false);E(Ar,return_false);E(Nr,return_true);E(At,(function(E){return this.expression._dot_throw(E)}));E(Ft,return_false);E(It,return_false);E(xr,return_false);E(br,(function(){return this.operator=="void"}));E(Sr,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(Tr,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(Er,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(gr,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof Ft||this.expression instanceof Rr)}return true}));E(yr,(function(E){return this.expression._dot_throw(E)}));E(fr,(function(E){return this.tail_node()._dot_throw(E)}));E(on,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Vn))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var N=this.fixed_value();return!N||N._dot_throw(E)}))})((function(E,N){E.DEFMETHOD("_dot_throw",N)}));(function(E){const N=makePredicate("! delete");const R=makePredicate("in instanceof == != === !== < <= >= >");E(ot,return_false);E(br,(function(){return N.has(this.operator)}));E(Sr,(function(){return R.has(this.operator)||ei.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(Er,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(Tr,(function(){return this.operator=="="&&this.right.is_boolean()}));E(fr,(function(){return this.tail_node().is_boolean()}));E(Cn,return_true);E(kn,return_true)})((function(E,N){E.DEFMETHOD("is_boolean",N)}));(function(E){E(ot,return_false);E(gn,return_true);var N=makePredicate("+ - ~ ++ --");E(vr,(function(){return N.has(this.operator)}));var R=makePredicate("- * / % & | ^ << >> >>>");E(Sr,(function(E){return R.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(Tr,(function(E){return R.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(fr,(function(E){return this.tail_node().is_number(E)}));E(Er,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,N){E.DEFMETHOD("is_number",N)}));(function(E){E(ot,return_false);E(mn,return_true);E(Rt,return_true);E(br,(function(){return this.operator=="typeof"}));E(Sr,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(Tr,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(fr,(function(E){return this.tail_node().is_string(E)}));E(Er,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,N){E.DEFMETHOD("is_string",N)}));var ei=makePredicate("&& || ??");var ti=makePredicate("delete ++ --");function is_lhs(E,N){if(N instanceof vr&&ti.has(N.operator))return N.expression;if(N instanceof Tr&&N.left===E)return E}(function(E){function to_node(E,N){if(E instanceof ot)return make_node(E.CTOR,N,E);if(Array.isArray(E))return make_node(Cr,N,{elements:E.map((function(E){return to_node(E,N)}))});if(E&&typeof E=="object"){var R=[];for(var j in E)if(HOP(E,j)){R.push(make_node(wr,N,{key:j,value:to_node(E[j],N)}))}return make_node(Dr,N,{properties:R})}return make_node_from_constant(E,N)}Dt.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(N){var R=N._find_defs(E,"");if(!R)return;var j=0,$=N,q;while(q=this.parent(j++)){if(!(q instanceof mr))break;if(q.expression!==$)break;$=q}if(is_lhs($,q)){return}return R})))}));E(ot,noop);E(yr,(function(E,N){return this.expression._find_defs(E,N)}));E(gr,(function(E,N){return this.expression._find_defs(E,"."+this.property+N)}));E($r,(function(){if(!this.global())return}));E(on,(function(E,N){if(!this.global())return;var R=E.option("global_defs");var j=this.name+N;if(HOP(R,j))return to_node(R[j],this)}))})((function(E,N){E.DEFMETHOD("_find_defs",N)}));function best_of_expression(E,N){return E.size()>N.size()?N:E}function best_of_statement(E,N){return best_of_expression(make_node(dt,E,{body:E}),make_node(dt,N,{body:N})).body}function best_of(E,N,R){return(first_in_statement(E)?best_of_statement:best_of_expression)(N,R)}function convert_to_predicate(E){const N=new Map;for(var R of Object.keys(E)){N.set(R,makePredicate(E[R]))}return N}var ri=["constructor","toString","valueOf"];var ni=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(ri),Boolean:ri,Function:ri,Number:["toExponential","toFixed","toPrecision"].concat(ri),Object:ri,RegExp:["test"].concat(ri),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(ri)});var ii=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(E){ot.DEFMETHOD("evaluate",(function(E){if(!E.option("evaluate"))return this;var N=this._eval(E,1);if(!N||N instanceof RegExp)return N;if(typeof N=="function"||typeof N=="object")return this;return N}));var N=makePredicate("! ~ - + void");ot.DEFMETHOD("is_constant",(function(){if(this instanceof pn){return!(this instanceof _n)}else{return this instanceof br&&this.expression instanceof pn&&N.has(this.operator)}}));E(st,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));E(wt,return_this);E(Rr,return_this);E(ot,return_this);E(pn,(function(){return this.getValue()}));E(hn,return_this);E(_n,(function(E){let N=E.evaluated_regexps.get(this);if(N===undefined){try{N=(0,eval)(this.print_to_string())}catch(E){N=null}E.evaluated_regexps.set(this,N)}return N||this}));E(Rt,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));E(Ft,(function(E){if(E.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=()=>this.print_to_string();return fn}return this}));E(Cr,(function(E,N){if(E.option("unsafe")){var R=[];for(var j=0,$=this.elements.length;j<$;j++){var q=this.elements[j];var G=q._eval(E,N);if(q===G)return this;R.push(G)}return R}return this}));E(Dr,(function(E,N){if(E.option("unsafe")){var R={};for(var j=0,$=this.properties.length;j<$;j++){var q=this.properties[j];if(q instanceof At)return this;var G=q.key;if(G instanceof zr){G=G.name}else if(G instanceof ot){G=G._eval(E,N);if(G===q.key)return this}if(typeof Object.prototype[G]==="function"){return this}if(q.value instanceof Ft)continue;R[G]=q.value._eval(E,N);if(R[G]===q.value)return this}return R}return this}));var R=makePredicate("! typeof void");E(br,(function(E,N){var j=this.expression;if(E.option("typeofs")&&this.operator=="typeof"&&(j instanceof wt||j instanceof on&&j.fixed_value()instanceof wt)){return typeof function(){}}if(!R.has(this.operator))N++;j=j._eval(E,N);if(j===this.expression)return this;switch(this.operator){case"!":return!j;case"typeof":if(j instanceof RegExp)return this;return typeof j;case"void":return void j;case"~":return~j;case"-":return-j;case"+":return+j}return this}));var j=makePredicate("&& || ?? === !==");const $=makePredicate("== != === !==");const has_identity=E=>typeof E==="object"||typeof E==="function"||typeof E==="symbol";E(Sr,(function(E,N){if(!j.has(this.operator))N++;var R=this.left._eval(E,N);if(R===this.left)return this;var q=this.right._eval(E,N);if(q===this.right)return this;var G;if(R!=null&&q!=null&&$.has(this.operator)&&has_identity(R)&&has_identity(q)&&typeof R===typeof q){return this}switch(this.operator){case"&&":G=R&&q;break;case"||":G=R||q;break;case"??":G=R!=null?R:q;break;case"|":G=R|q;break;case"&":G=R&q;break;case"^":G=R^q;break;case"+":G=R+q;break;case"*":G=R*q;break;case"**":G=Math.pow(R,q);break;case"/":G=R/q;break;case"%":G=R%q;break;case"-":G=R-q;break;case"<<":G=R<>":G=R>>q;break;case">>>":G=R>>>q;break;case"==":G=R==q;break;case"===":G=R===q;break;case"!=":G=R!=q;break;case"!==":G=R!==q;break;case"<":G=R":G=R>q;break;case">=":G=R>=q;break;default:return this}if(isNaN(G)&&E.find_parent(kt)){return this}return G}));E(Er,(function(E,N){var R=this.condition._eval(E,N);if(R===this.condition)return this;var j=R?this.consequent:this.alternative;var $=j._eval(E,N);return $===j?this:$}));const q=new Set;E(on,(function(E,N){if(q.has(this))return this;var R=this.fixed_value();if(!R)return this;q.add(this);const j=R._eval(E,N);q.delete(this);if(j===R)return this;if(j&&typeof j=="object"){var $=this.definition().escaped;if($&&N>$)return this}return j}));var G={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ie=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const ae=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);E(mr,(function(E,N){if(this.optional){const R=this.expression._eval(E,N);if(R==null)return undefined}if(E.option("unsafe")){var R=this.property;if(R instanceof ot){R=R._eval(E,N);if(R===this.property)return this}var j=this.expression;var $;if(is_undeclared_ref(j)){var q;var ce=j.name==="hasOwnProperty"&&R==="call"&&(q=E.parent()&&E.parent().args)&&(q&&q[0]&&q[0].evaluate(E));ce=ce instanceof gr?ce.expression:ce;if(ce==null||ce.thedef&&ce.thedef.undeclared){return this.clone()}var le=ie.get(j.name);if(!le||!le.has(R))return this;$=G[j.name]}else{$=j._eval(E,N+1);if($ instanceof RegExp){if(R=="source"){return regexp_source_fix($.source)}else if(R=="flags"||ae.has(R)){return $[R]}}if(!$||$===j||!HOP($,R))return this;if(typeof $=="function")switch(R){case"name":return $.node.name?$.node.name.name:"";case"length":return $.node.length_property();default:return this}}return $[R]}return this}));E(yr,(function(E,N){const R=this.expression._eval(E,N);return R===this.expression?this:R}));E(dr,(function(E,N){var R=this.expression;if(this.optional){const R=this.expression._eval(E,N);if(R==null)return undefined}if(E.option("unsafe")&&R instanceof mr){var j=R.property;if(j instanceof ot){j=j._eval(E,N);if(j===R.property)return this}var $;var q=R.expression;if(is_undeclared_ref(q)){var ie=q.name==="hasOwnProperty"&&j==="call"&&(this.args[0]&&this.args[0].evaluate(E));ie=ie instanceof gr?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}var ae=ii.get(q.name);if(!ae||!ae.has(j))return this;$=G[q.name]}else{$=q._eval(E,N+1);if($===q||!$)return this;var ce=ni.get($.constructor.name);if(!ce||!ce.has(j))return this}var le=[];for(var _e=0,Ee=this.args.length;_e";return R;case"<":R.operator=">=";return R;case">=":R.operator="<";return R;case">":R.operator="<=";return R}}switch(j){case"==":R.operator="!=";return R;case"!=":R.operator="==";return R;case"===":R.operator="!==";return R;case"!==":R.operator="===";return R;case"&&":R.operator="||";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N);case"||":R.operator="&&";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N);case"??":R.right=R.right.negate(E);return best(this,R,N)}return basic_negation(this)}))})((function(E,N){E.DEFMETHOD("negate",(function(E,R){return N.call(this,E,R)}))}));var ai=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");dr.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var N=this.expression;var R=this.args&&this.args[0]&&this.args[0].evaluate(E);if(N.expression&&N.expression.name==="hasOwnProperty"&&(R==null||R.thedef&&R.thedef.undeclared)){return false}if(is_undeclared_ref(N)&&ai.has(N.name))return true;let j;if(N instanceof gr&&is_undeclared_ref(N.expression)&&(j=ii.get(N.expression.name))&&j.has(N.property)){return true}}return!!has_annotation(this,An)||!E.pure_funcs(this)}));ot.DEFMETHOD("is_call_pure",return_false);gr.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const N=this.expression;let R;if(N instanceof Cr){R=ni.get("Array")}else if(N.is_boolean()){R=ni.get("Boolean")}else if(N.is_number(E)){R=ni.get("Number")}else if(N instanceof _n){R=ni.get("RegExp")}else if(N.is_string(E)){R=ni.get("String")}else if(!this.may_throw_on_access(E)){R=ni.get("Object")}return R&&R.has(this.property)}));const oi=new Set(["Number","String","Array","Object","Function","Promise"]);(function(E){E(ot,return_true);E(mt,return_false);E(pn,return_false);E(un,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].has_side_effects(N))return true;return false}E(pt,(function(E){return any(this.body,E)}));E(dr,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E(Gt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Xt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Yt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(Ht,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(_t,(function(E){return this.body.has_side_effects(E)}));E(dt,(function(E){return this.body.has_side_effects(E)}));E(wt,return_false);E(Rr,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(Sr,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(Tr,return_true);E(Er,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(vr,(function(E){return ti.has(this.operator)||this.expression.has_side_effects(E)}));E(on,(function(E){return!this.is_declared(E)&&!oi.has(this.name)}));E(Xr,return_false);E($r,return_false);E(Dr,(function(E){return any(this.properties,E)}));E(Ar,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Lr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Or,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Nr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Ir,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Cr,(function(E){return any(this.elements,E)}));E(gr,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(_r,(function(E){if(this.optional&&is_nullish(this.expression,E)){return false}return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(yr,(function(E){return this.expression.has_side_effects(E)}));E(fr,(function(E){return any(this.expressions,E)}));E(tr,(function(E){return any(this.definitions,E)}));E(ar,(function(){return this.value}));E(Lt,return_false);E(Rt,(function(E){return any(this.segments,E)}))})((function(E,N){E.DEFMETHOD("has_side_effects",N)}));(function(E){E(ot,return_true);E(pn,return_false);E(mt,return_false);E(wt,return_false);E($r,return_false);E(un,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].may_throw(N))return true;return false}E(Rr,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(Cr,(function(E){return any(this.elements,E)}));E(Tr,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof on){return false}return this.left.may_throw(E)}));E(Sr,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(pt,(function(E){return any(this.body,E)}));E(dr,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof wt)||any(this.expression.body,E)}));E(Xt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(Er,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(tr,(function(E){return any(this.definitions,E)}));E(Ht,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(_t,(function(E){return this.body.may_throw(E)}));E(Dr,(function(E){return any(this.properties,E)}));E(Ar,(function(E){return this.value?this.value.may_throw(E):false}));E(Lr,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Or,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Nr,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Ir,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Ut,(function(E){return this.value&&this.value.may_throw(E)}));E(fr,(function(E){return any(this.expressions,E)}));E(dt,(function(E){return this.body.may_throw(E)}));E(gr,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(_r,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(yr,(function(E){return this.expression.may_throw(E)}));E(Gt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(on,(function(E){return!this.is_declared(E)&&!oi.has(this.name)}));E(Xr,return_false);E(Yt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(vr,(function(E){if(this.operator=="typeof"&&this.expression instanceof on)return false;return this.expression.may_throw(E)}));E(ar,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,N){E.DEFMETHOD("may_throw",N)}));(function(E){function all_refs_local(E){let N=true;walk(this,(R=>{if(R instanceof on){if(has_flag(this,qn)){N=false;return Dn}var j=R.definition();if(member(j,this.enclosed)&&!this.variables.has(j.name)){if(E){var $=E.find_variable(R);if(j.undeclared?!$:$===j){N="f";return true}}N=false;return Dn}return true}if(R instanceof un&&this instanceof It){N=false;return Dn}}));return N}E(ot,return_false);E(pn,return_true);E(Rr,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const N of this.properties){if(N.computed_key()&&!N.key.is_constant_expression(E)){return false}if(N.static&&N.value&&!N.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(wt,all_refs_local);E(vr,(function(){return this.expression.is_constant_expression()}));E(Sr,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(Cr,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(Dr,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(Ar,(function(){return!!(!(this.key instanceof ot)&&this.value&&this.value.is_constant_expression())}))})((function(E,N){E.DEFMETHOD("is_constant_expression",N)}));function aborts(E){return E&&E.aborts()}(function(E){E(st,return_null);E(Bt,return_this);function block_aborts(){for(var E=0;E{if(E instanceof $r){const R=E.definition();if((N||R.global)&&!G.has(R.id)){G.set(R.id,R)}}}))}if(R.value){if(R.name instanceof Ot){R.walk(_e)}else{var $=R.name.definition();map_add(ce,$.id,R.value);if(!$.chained&&R.name.fixed_value()===R.value){ie.set($.id,R)}}if(R.value.has_side_effects(E)){R.value.walk(_e)}}}));return true}return scan_ref_scoped($,q)}));N.walk(_e);_e=new TreeWalker(scan_ref_scoped);G.forEach((function(E){var N=ce.get(E.id);if(N)N.forEach((function(E){E.walk(_e)}))}));var Ee=new TreeTransformer((function before(ce,_e,Te){var we=Ee.parent();if(j){const E=q(ce);if(E instanceof on){var Ie=E.definition();var Ne=G.has(Ie.id);if(ce instanceof Tr){if(!Ne||ie.has(Ie.id)&&ie.get(Ie.id)!==ce){return maintain_this_binding(we,ce,ce.right.transform(Ee))}}else if(!Ne)return Te?$.skip:make_node(gn,ce,{value:0})}}if(le!==N)return;var Ie;if(ce.name&&(ce instanceof Ur&&!keep_name(E.option("keep_classnames"),(Ie=ce.name.definition()).name)||ce instanceof Ft&&!keep_name(E.option("keep_fnames"),(Ie=ce.name.definition()).name))){if(!G.has(Ie.id)||Ie.orig.length>1)ce.name=null}if(ce instanceof wt&&!(ce instanceof Pt)){var Me=!E.option("keep_fargs");for(var Le=ce.argnames,Be=Le.length;--Be>=0;){var je=Le[Be];if(je instanceof At){je=je.expression}if(je instanceof kr){je=je.left}if(!(je instanceof Ot)&&!G.has(je.definition().id)){set_flag(je,Wn);if(Me){Le.pop()}}else{Me=false}}}if((ce instanceof Nt||ce instanceof jr)&&ce!==N){const N=ce.name.definition();let j=N.global&&!R||G.has(N.id);if(!j){N.eliminated++;if(ce instanceof jr){const N=ce.drop_side_effect_free(E);if(N){return make_node(dt,ce,{body:N})}}return Te?$.skip:make_node(mt,ce)}}if(ce instanceof tr&&!(we instanceof Et&&we.init===ce)){var Ue=!(we instanceof Dt)&&!(ce instanceof rr);var ze=[],We=[],Je=[];var Ve=[];ce.definitions.forEach((function(N){if(N.value)N.value=N.value.transform(Ee);var R=N.name instanceof Ot;var $=R?new SymbolDef(null,{name:""}):N.name.definition();if(Ue&&$.global)return Je.push(N);if(!(j||Ue)||R&&(N.name.names.length||N.name.is_array||E.option("pure_getters")!=true)||G.has($.id)){if(N.value&&ie.has($.id)&&ie.get($.id)!==N){N.value=N.value.drop_side_effect_free(E)}if(N.name instanceof Jr){var q=ae.get($.id);if(q.length>1&&(!N.value||$.orig.indexOf(N.name)>$.eliminated)){if(N.value){var le=make_node(on,N.name,N.name);$.references.push(le);var _e=make_node(Tr,N,{operator:"=",logical:false,left:le,right:N.value});if(ie.get($.id)===N){ie.set($.id,_e)}Ve.push(_e.transform(Ee))}remove(q,N);$.eliminated++;return}}if(N.value){if(Ve.length>0){if(Je.length>0){Ve.push(N.value);N.value=make_sequence(N.value,Ve)}else{ze.push(make_node(dt,ce,{body:make_sequence(ce,Ve)}))}Ve=[]}Je.push(N)}else{We.push(N)}}else if($.orig[0]instanceof tn){var Te=N.value&&N.value.drop_side_effect_free(E);if(Te)Ve.push(Te);N.value=null;We.push(N)}else{var Te=N.value&&N.value.drop_side_effect_free(E);if(Te){Ve.push(Te)}$.eliminated++}}));if(We.length>0||Je.length>0){ce.definitions=We.concat(Je);ze.push(ce)}if(Ve.length>0){ze.push(make_node(dt,ce,{body:make_sequence(ce,Ve)}))}switch(ze.length){case 0:return Te?$.skip:make_node(mt,ce);case 1:return ze[0];default:return Te?$.splice(ze):make_node(ft,ce,{body:ze})}}if(ce instanceof St){_e(ce,this);var qe;if(ce.init instanceof ft){qe=ce.init;ce.init=qe.body.pop();qe.body.push(ce)}if(ce.init instanceof dt){ce.init=ce.init.body}else if(is_empty(ce.init)){ce.init=null}return!qe?ce:Te?$.splice(qe.body):qe}if(ce instanceof _t&&ce.body instanceof St){_e(ce,this);if(ce.body instanceof ft){var qe=ce.body;ce.body=qe.body.pop();qe.body.push(ce);return Te?$.splice(qe.body):qe}return ce}if(ce instanceof ft){_e(ce,this);if(Te&&ce.body.every(can_be_evicted_from_block)){return $.splice(ce.body)}return ce}if(ce instanceof Ct){const E=le;le=ce;_e(ce,this);le=E;return ce}}));N.transform(Ee);function scan_ref_scoped(E,R){var j;const $=q(E);if($ instanceof on&&!is_ref_of(E.left,Vr)&&N.variables.get($.name)===(j=$.definition())){if(E instanceof Tr){E.right.walk(_e);if(!j.chained&&E.left.fixed_value()===E.right){ie.set(j.id,E)}}return true}if(E instanceof on){j=E.definition();if(!G.has(j.id)){G.set(j.id,j);if(j.orig[0]instanceof tn){const E=j.scope.is_block_scope()&&j.scope.get_defun_scope().variables.get(j.name);if(E)G.set(E.id,E)}}return true}if(E instanceof Ct){var ae=le;le=E;R();le=ae;return true}}}));Ct.DEFMETHOD("hoist_declarations",(function(E){var N=this;if(E.has_directive("use asm"))return N;if(!Array.isArray(N.body))return N;var R=E.option("hoist_funs");var j=E.option("hoist_vars");if(R||j){var $=[];var q=[];var G=new Map,ie=0,ae=0;walk(N,(E=>{if(E instanceof Ct&&E!==N)return true;if(E instanceof rr){++ae;return true}}));j=j&&ae>1;var ce=new TreeTransformer((function before(ae){if(ae!==N){if(ae instanceof ut){$.push(ae);return make_node(mt,ae)}if(R&&ae instanceof Nt&&!(ce.parent()instanceof ur)&&ce.parent()===N){q.push(ae);return make_node(mt,ae)}if(j&&ae instanceof rr&&!ae.definitions.some((E=>E.name instanceof Ot))){ae.definitions.forEach((function(E){G.set(E.name.name,E);++ie}));var le=ae.to_assignments(E);var _e=ce.parent();if(_e instanceof Et&&_e.init===ae){if(le==null){var Ee=ae.definitions[0].name;return make_node(on,Ee,Ee)}return le}if(_e instanceof St&&_e.init===ae){return le}if(!le)return make_node(mt,ae);return make_node(dt,ae,{body:le})}if(ae instanceof Ct)return ae}}));N=N.transform(ce);if(ie>0){var le=[];const E=N instanceof wt;const R=E?N.args_as_names():null;G.forEach(((N,j)=>{if(E&&R.some((E=>E.name===N.name.name))){G.delete(j)}else{N=N.clone();N.value=null;le.push(N);G.set(j,N)}}));if(le.length>0){for(var _e=0;_eE instanceof At||E.computed_key()))){ie(G,this);const E=new Map;const R=[];le.properties.forEach((({key:j,value:$})=>{const ie=find_scope(q);const ce=N.create_symbol(ae.CTOR,{source:ae,scope:ie,conflict_scopes:new Set([ie,...ae.definition().references.map((E=>E.scope))]),tentative_name:ae.name+"_"+j});E.set(String(j),ce.definition());R.push(make_node(ar,G,{name:ce,value:$}))}));j.set(ce.id,E);return $.splice(R)}}else if(G instanceof mr&&G.expression instanceof on){const E=j.get(G.expression.definition().id);if(E){const N=E.get(String(get_value(G.property)));const R=make_node(on,G,{name:N.name,scope:G.expression.scope,thedef:N});R.reference({});return R}}}));return N.transform(q)}));(function(E){function trim(E,N,R){var j=E.length;if(!j)return null;var $=[],q=false;for(var G=0;G0){G[0].body=q.concat(G[0].body)}E.body=G;while(R=G[G.length-1]){var we=R.body[R.body.length-1];if(we instanceof $t&&N.loopcontrol_target(we)===E)R.body.pop();if(R.body.length||R instanceof Xt&&(ie||R.expression.has_side_effects(N)))break;if(G.pop()===ie)ie=null}if(G.length==0){return make_node(ft,E,{body:q.concat(make_node(dt,E.expression,{body:E.expression}))}).optimize(N)}if(G.length==1&&(G[0]===ae||G[0]===ie)){var Ie=false;var Ne=new TreeWalker((function(N){if(Ie||N instanceof wt||N instanceof dt)return true;if(N instanceof $t&&Ne.loopcontrol_target(N)===E)Ie=true}));E.walk(Ne);if(!Ie){var Me=G[0].body.slice();var _e=G[0].expression;if(_e)Me.unshift(make_node(dt,_e,{body:_e}));Me.unshift(make_node(dt,E.expression,{body:E.expression}));return make_node(ft,E,{body:Me}).optimize(N)}}return E;function eliminate_branch(E,R){if(R&&!aborts(R)){R.body=R.body.concat(E.body)}else{trim_unreachable_code(N,E,q)}}}));def_optimize(Yt,(function(E,N){tighten_body(E.body,N);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(N.option("dead_code")&&E.body.every(is_empty)){var R=[];if(E.bcatch){trim_unreachable_code(N,E.bcatch,R)}if(E.bfinally)R.push(...E.bfinally.body);return make_node(ft,E,{body:R}).optimize(N)}return E}));tr.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(N){if(N.name instanceof $r){N.value=null;E.push(N)}else{walk(N.name,(R=>{if(R instanceof $r){E.push(make_node(ar,N,{name:R,value:null}))}}))}}));this.definitions=E}));tr.DEFMETHOD("to_assignments",(function(E){var N=E.option("reduce_vars");var R=[];for(const E of this.definitions){if(E.value){var j=make_node(on,E.name,E.name);R.push(make_node(Tr,E,{operator:"=",logical:false,left:j,right:E.value}));if(N)j.definition().fixed=false}else if(E.value){var $=make_node(ar,E,{name:E.name,value:E.value});var q=make_node(rr,E,{definitions:[$]});R.push(q)}const G=E.name.definition();G.eliminated++;G.replaced--}if(R.length==0)return null;return make_sequence(this,R)}));def_optimize(tr,(function(E){if(E.definitions.length==0)return make_node(mt,E);return E}));def_optimize(ar,(function(E,N){if(E.name instanceof Hr&&E.value!=null&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(cr,(function(E){return E}));function retain_top_func(E,N){return N.top_retain&&E instanceof Nt&&has_flag(E,Qn)&&E.name&&N.top_retain(E.name)}def_optimize(dr,(function(E,N){var R=E.expression;var j=R;inline_array_like_spread(E.args);var $=E.args.every((E=>!(E instanceof At)));if(N.option("reduce_vars")&&j instanceof on&&!has_annotation(E,Pn)){const E=j.fixed_value();if(!retain_top_func(E,N)){j=E}}if(E.optional&&is_nullish(j,N)){return make_node(xn,E)}var q=j instanceof wt;if(q&&j.pinned())return E;if(N.option("unused")&&$&&q&&!j.uses_arguments){var G=0,ie=0;for(var ae=0,ce=E.args.length;ae=j.argnames.length;if(_e||has_flag(j.argnames[ae],Wn)){var le=E.args[ae].drop_side_effect_free(N);if(le){E.args[G++]=le}else if(!_e){E.args[G++]=make_node(gn,E.args[ae],{value:0});continue}}else{E.args[G++]=E.args[ae]}ie=G}E.args.length=ie}if(N.option("unsafe")){if(is_undeclared_ref(R))switch(R.name){case"Array":if(E.args.length!=1){return make_node(Cr,E,{elements:E.args}).optimize(N)}else if(E.args[0]instanceof gn&&E.args[0].value<=11){const N=[];for(let R=0;R=1&&E.args.length<=2&&E.args.every((E=>{var R=E.evaluate(N);Ee.push(R);return E!==R}))){let[R,j]=Ee;R=regexp_source_fix(new RegExp(R).source);const $=make_node(_n,E,{value:{source:R,flags:j}});if($._eval(N)!==$){return $}}break}else if(R instanceof gr)switch(R.property){case"toString":if(E.args.length==0&&!R.expression.may_throw_on_access(N)){return make_node(Sr,E,{left:make_node(mn,E,{value:""}),operator:"+",right:R.expression}).optimize(N)}break;case"join":if(R.expression instanceof Cr)e:{var Te;if(E.args.length>0){Te=E.args[0].evaluate(N);if(Te===E.args[0])break e}var we=[];var Ie=[];for(var ae=0,ce=R.expression.elements.length;ae0){we.push(make_node(mn,E,{value:Ie.join(Te)}));Ie.length=0}we.push(Ne)}}if(Ie.length>0){we.push(make_node(mn,E,{value:Ie.join(Te)}))}if(we.length==0)return make_node(mn,E,{value:""});if(we.length==1){if(we[0].is_string(N)){return we[0]}return make_node(Sr,we[0],{operator:"+",left:make_node(mn,E,{value:""}),right:we[0]})}if(Te==""){var Le;if(we[0].is_string(N)||we[1].is_string(N)){Le=we.shift()}else{Le=make_node(mn,E,{value:""})}return we.reduce((function(E,N){return make_node(Sr,N,{operator:"+",left:E,right:N})}),Le).optimize(N)}var le=E.clone();le.expression=le.expression.clone();le.expression.expression=le.expression.expression.clone();le.expression.expression.elements=we;return best_of(N,E,le)}break;case"charAt":if(R.expression.is_string(N)){var Be=E.args[0];var je=Be?Be.evaluate(N):0;if(je!==Be){return make_node(_r,R,{expression:R.expression,property:make_node_from_constant(je|0,Be||R)}).optimize(N)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof Cr){var Ue=E.args[1].elements.slice();Ue.unshift(E.args[0]);return make_node(dr,E,{expression:make_node(gr,R,{expression:R.expression,optional:false,property:"call"}),args:Ue}).optimize(N)}break;case"call":var ze=R.expression;if(ze instanceof on){ze=ze.fixed_value()}if(ze instanceof wt&&!ze.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(dr,E,{expression:R.expression,args:E.args.slice(1)})]):make_node(dr,E,{expression:R.expression,args:[]})).optimize(N)}break}}if(N.option("unsafe_Function")&&is_undeclared_ref(R)&&R.name=="Function"){if(E.args.length==0)return make_node(Ft,E,{argnames:[],body:[]}).optimize(N);if(E.args.every((E=>E instanceof mn))){try{var We="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var Je=parse(We);var Ve={ie8:N.option("ie8")};Je.figure_out_scope(Ve);var qe=new Compressor(N.options,{mangle_options:N.mangle_options});Je=Je.transform(qe);Je.figure_out_scope(Ve);Un.reset();Je.compute_char_frequency(Ve);Je.mangle_names(Ve);var He;walk(Je,(E=>{if(is_func_expr(E)){He=E;return Dn}}));var We=OutputStream();ft.prototype._codegen.call(He,He,We);E.args=[make_node(mn,E,{value:He.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(mn,E.args[E.args.length-1],{value:We.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Ge=q&&j.body[0];var Ke=q&&!j.is_generator&&!j.async;var Qe=Ke&&N.option("inline")&&!E.is_callee_pure(N);if(Qe&&Ge instanceof Ut){let R=Ge.value;if(!R||R.is_constant_expression()){if(R){R=R.clone(true)}else{R=make_node(xn,E)}const j=E.args.concat(R);return make_sequence(E,j).optimize(N)}if(j.argnames.length===1&&j.argnames[0]instanceof Gr&&E.args.length<2&&R instanceof on&&R.name===j.argnames[0].name){const R=(E.args[0]||make_node(xn)).optimize(N);let j;if(R instanceof mr&&(j=N.parent())instanceof dr&&j.expression===E){return make_sequence(E,[make_node(gn,E,{value:0}),R])}return R}}if(Qe){var Xe,Ye,Ze=-1;let q;let G;let ie;if($&&!j.uses_arguments&&!(N.parent()instanceof Rr)&&!(j.name&&j instanceof Ft)&&(G=can_flatten_body(Ge))&&(R===j||has_annotation(E,wn)||N.option("unused")&&(q=R.definition()).references.length==1&&!recursive_ref(N,q)&&j.is_constant_expression(R.scope))&&!has_annotation(E,An|Pn)&&!j.contains_this()&&can_inject_symbols()&&(ie=find_scope(N))&&!scope_encloses_variables_in_this_scope(ie,j)&&!function in_default_assign(){let E=0;let R;while(R=N.parent(E++)){if(R instanceof kr)return true;if(R instanceof pt)break}return false}()&&!(Xe instanceof Rr)){set_flag(j,Gn);ie.add_child_scope(j);return make_sequence(E,flatten_fn(G)).optimize(N)}}if(Qe&&has_annotation(E,wn)){set_flag(j,Gn);j=make_node(j.CTOR===Nt?Ft:j.CTOR,j,j);j.figure_out_scope({},{parent_scope:find_scope(N),toplevel:N.get_toplevel()});return make_node(dr,E,{expression:j,args:E.args}).optimize(N)}const et=Ke&&N.option("side_effects")&&j.body.every(is_empty);if(et){var Ue=E.args.concat(make_node(xn,E));return make_sequence(E,Ue).optimize(N)}if(N.option("negate_iife")&&N.parent()instanceof dt&&is_iife_call(E)){return E.negate(N,true)}var tt=E.evaluate(N);if(tt!==E){tt=make_node_from_constant(tt,E).optimize(N);return best_of(N,tt,E)}return E;function return_value(N){if(!N)return make_node(xn,E);if(N instanceof Ut){if(!N.value)return make_node(xn,E);return N.value.clone(true)}if(N instanceof dt){return make_node(br,N,{operator:"void",expression:N.body.clone(true)})}}function can_flatten_body(E){var R=j.body;var $=R.length;if(N.option("inline")<3){return $==1&&return_value(E)}E=null;for(var q=0;q<$;q++){var G=R[q];if(G instanceof rr){if(E&&!G.definitions.every((E=>!E.value))){return false}}else if(E){return false}else if(!(G instanceof mt)){E=G}}return return_value(E)}function can_inject_args(E,N){for(var R=0,$=j.argnames.length;R<$;R++){var q=j.argnames[R];if(q instanceof kr){if(has_flag(q.left,Wn))continue;return false}if(q instanceof Ot)return false;if(q instanceof At){if(has_flag(q.expression,Wn))continue;return false}if(has_flag(q,Wn))continue;if(!N||E.has(q.name)||Zn.has(q.name)||Xe.conflicting_def(q.name)){return false}if(Ye)Ye.push(q.definition())}return true}function can_inject_vars(E,N){var R=j.body.length;for(var $=0;$=0;){var ie=q.definitions[G].name;if(ie instanceof Ot||E.has(ie.name)||Zn.has(ie.name)||Xe.conflicting_def(ie.name)){return false}if(Ye)Ye.push(ie.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Xe=N.parent(++Ze);if(Xe.is_block_scope()&&Xe.block_scope){Xe.block_scope.variables.forEach((function(N){E.add(N.name)}))}if(Xe instanceof Zt){if(Xe.argname){E.add(Xe.argname.name)}}else if(Xe instanceof yt){Ye=[]}else if(Xe instanceof on){if(Xe.fixed_value()instanceof Ct)return false}}while(!(Xe instanceof Ct));var R=!(Xe instanceof Dt)||N.toplevel.vars;var $=N.option("inline");if(!can_inject_vars(E,$>=3&&R))return false;if(!can_inject_args(E,$>=2&&R))return false;return!Ye||Ye.length==0||!is_reachable(j,Ye)}function append_var(N,R,j,$){var q=j.definition();const G=Xe.variables.has(j.name);if(!G){Xe.variables.set(j.name,q);Xe.enclosed.push(q);N.push(make_node(ar,j,{name:j,value:null}))}var ie=make_node(on,j,j);q.references.push(ie);if($)R.push(make_node(Tr,E,{operator:"=",logical:false,left:ie,right:$.clone()}))}function flatten_args(N,R){var $=j.argnames.length;for(var q=E.args.length;--q>=$;){R.push(E.args[q])}for(q=$;--q>=0;){var G=j.argnames[q];var ie=E.args[q];if(has_flag(G,Wn)||!G.name||Xe.conflicting_def(G.name)){if(ie)R.push(ie)}else{var ae=make_node(Jr,G,G);G.definition().orig.push(ae);if(!ie&&Ye)ie=make_node(xn,E);append_var(N,R,ae,ie)}}N.reverse();R.reverse()}function flatten_vars(E,N){var R=N.length;for(var $=0,q=j.body.length;$E.name!=le.name))){var _e=j.variables.get(le.name);var Ee=make_node(on,le,le);_e.references.push(Ee);N.splice(R++,0,make_node(Tr,ce,{operator:"=",logical:false,left:Ee,right:make_node(xn,le)}))}}}}function flatten_fn(E){var R=[];var $=[];flatten_args(R,$);flatten_vars(R,$);$.push(E);if(R.length){const E=Xe.body.indexOf(N.parent(Ze-1))+1;Xe.body.splice(E,0,make_node(rr,j,{definitions:R}))}return $.map((E=>E.clone(true)))}}));def_optimize(pr,(function(E,N){if(N.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(dr,E,E).transform(N);return E}));def_optimize(fr,(function(E,N){if(!N.option("side_effects"))return E;var R=[];filter_for_side_effects();var j=R.length-1;trim_right_for_undefined();if(j==0){E=maintain_this_binding(N.parent(),N.self(),R[0]);if(!(E instanceof fr))E=E.optimize(N);return E}E.expressions=R;return E;function filter_for_side_effects(){var j=first_in_statement(N);var $=E.expressions.length-1;E.expressions.forEach((function(E,q){if(q<$)E=E.drop_side_effect_free(N,j);if(E){merge_sequence(R,E);j=false}}))}function trim_right_for_undefined(){while(j>0&&is_undefined(R[j],N))j--;if(j0){var R=this.clone();R.right=make_sequence(this.right,N.slice(q));N=N.slice(0,q);N.push(R);return make_sequence(this,N).optimize(E)}}}return this}));var li=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof Cr||E instanceof wt||E instanceof Dr||E instanceof Rr}def_optimize(Sr,(function(E,N){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(N)&&!E.right.has_side_effects(N)}function reverse(N){if(reversible()){if(N)E.operator=N;var R=E.left;E.left=E.right;E.right=R}}if(li.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof Sr&&et[E.left.operator]>=et[E.operator])){reverse()}}}E=E.lift_sequences(N);if(N.option("comparisons"))switch(E.operator){case"===":case"!==":var R=true;if(E.left.is_string(N)&&E.right.is_string(N)||E.left.is_number(N)&&E.right.is_number(N)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!R&&is_undefined(E.left,N)){E.left=make_node(vn,E.left)}else if(N.option("typeofs")&&E.left instanceof mn&&E.left.value=="undefined"&&E.right instanceof br&&E.right.operator=="typeof"){var j=E.right.expression;if(j instanceof on?j.is_declared(N):!(j instanceof mr&&N.option("ie8"))){E.right=j;E.left=make_node(xn,E.left).optimize(N);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof on&&E.right instanceof on&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?Cn:kn,E)}break;case"&&":case"||":var $=E.left;if($.operator==E.operator){$=$.right}if($ instanceof Sr&&$.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof Sr&&$.operator==E.right.operator&&(is_undefined($.left,N)&&E.right.left instanceof vn||$.left instanceof vn&&is_undefined(E.right.left,N))&&!$.right.has_side_effects(N)&&$.right.equivalent_to(E.right.right)){var q=make_node(Sr,E,{operator:$.operator.slice(0,-1),left:make_node(vn,E),right:$.right});if($!==E.left){q=make_node(Sr,E,{operator:E.operator,left:E.left.left,right:q})}return q}break}if(E.operator=="+"&&N.in_boolean_context()){var G=E.left.evaluate(N);var ie=E.right.evaluate(N);if(G&&typeof G=="string"){return make_sequence(E,[E.right,make_node(Cn,E)]).optimize(N)}if(ie&&typeof ie=="string"){return make_sequence(E,[E.left,make_node(Cn,E)]).optimize(N)}}if(N.option("comparisons")&&E.is_boolean()){if(!(N.parent()instanceof Sr)||N.parent()instanceof Tr){var ae=make_node(br,E,{operator:"!",expression:E.negate(N,first_in_statement(N))});E=best_of(N,E,ae)}if(N.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof mn&&E.right.getValue()==""&&E.left.is_string(N)){return E.left}if(E.left instanceof mn&&E.left.getValue()==""&&E.right.is_string(N)){return E.right}if(E.left instanceof Sr&&E.left.operator=="+"&&E.left.left instanceof mn&&E.left.left.getValue()==""&&E.right.is_string(N)){E.left=E.left.right;return E}}if(N.option("evaluate")){switch(E.operator){case"&&":var G=has_flag(E.left,$n)?true:has_flag(E.left,Jn)?false:E.left.evaluate(N);if(!G){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}else if(!(G instanceof ot)){return make_sequence(E,[E.left,E.right]).optimize(N)}var ie=E.right.evaluate(N);if(!ie){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(kn,E)]).optimize(N)}else{set_flag(E,Jn)}}else if(!(ie instanceof ot)){var ce=N.parent();if(ce.operator=="&&"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}if(E.left.operator=="||"){var le=E.left.right.evaluate(N);if(!le)return make_node(Er,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(N)}break;case"||":var G=has_flag(E.left,$n)?true:has_flag(E.left,Jn)?false:E.left.evaluate(N);if(!G){return make_sequence(E,[E.left,E.right]).optimize(N)}else if(!(G instanceof ot)){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}var ie=E.right.evaluate(N);if(!ie){var ce=N.parent();if(ce.operator=="||"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}else if(!(ie instanceof ot)){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(Cn,E)]).optimize(N)}else{set_flag(E,$n)}}if(E.left.operator=="&&"){var le=E.left.right.evaluate(N);if(le&&!(le instanceof ot))return make_node(Er,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(N)}break;case"??":if(is_nullish(E.left,N)){return E.right}var G=E.left.evaluate(N);if(!(G instanceof ot)){return G==null?E.right:E.left}if(N.in_boolean_context()){const R=E.right.evaluate(N);if(!(R instanceof ot)&&!R){return E.left}}}var _e=true;switch(E.operator){case"+":if(E.right instanceof pn&&E.left instanceof Sr&&E.left.operator=="+"&&E.left.is_string(N)){var Ee=make_node(Sr,E,{operator:"+",left:E.left.right,right:E.right});var Te=Ee.optimize(N);if(Ee!==Te){E=make_node(Sr,E,{operator:"+",left:E.left.left,right:Te})}}if(E.left instanceof Sr&&E.left.operator=="+"&&E.left.is_string(N)&&E.right instanceof Sr&&E.right.operator=="+"&&E.right.is_string(N)){var Ee=make_node(Sr,E,{operator:"+",left:E.left.right,right:E.right.left});var we=Ee.optimize(N);if(Ee!==we){E=make_node(Sr,E,{operator:"+",left:make_node(Sr,E.left,{operator:"+",left:E.left.left,right:we}),right:E.right.right})}}if(E.right instanceof br&&E.right.operator=="-"&&E.left.is_number(N)){E=make_node(Sr,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof br&&E.left.operator=="-"&&reversible()&&E.right.is_number(N)){E=make_node(Sr,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Rt){var Ie=E.left;var Te=E.right.evaluate(N);if(Te!=E.right){Ie.segments[Ie.segments.length-1].value+=String(Te);return Ie}}if(E.right instanceof Rt){var Te=E.right;var Ie=E.left.evaluate(N);if(Ie!=E.left){Te.segments[0].value=String(Ie)+Te.segments[0].value;return Te}}if(E.left instanceof Rt&&E.right instanceof Rt){var Ie=E.left;var Ne=Ie.segments;var Te=E.right;Ne[Ne.length-1].value+=Te.segments[0].value;for(var Me=1;Me=et[E.operator])){var Le=make_node(Sr,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof pn&&!(E.left instanceof pn)){E=best_of(N,Le,E)}else{E=best_of(N,E,Le)}}if(_e&&E.is_number(N)){if(E.right instanceof Sr&&E.right.operator==E.operator){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof pn&&E.left instanceof Sr&&E.left.operator==E.operator){if(E.left.left instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof Sr&&E.left.operator==E.operator&&E.left.right instanceof pn&&E.right instanceof Sr&&E.right.operator==E.operator&&E.right.left instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:make_node(Sr,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof Sr&&E.right.operator==E.operator&&(ei.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(N)||E.left.is_string(N)&&E.right.right.is_string(N)))){E.left=make_node(Sr,E.left,{operator:E.operator,left:E.left.transform(N),right:E.right.left.transform(N)});E.right=E.right.right.transform(N);return E.transform(N)}var Be=E.evaluate(N);if(Be!==E){Be=make_node_from_constant(Be,E).optimize(N);return best_of(N,Be,E)}return E}));def_optimize(sn,(function(E){return E}));function recursive_ref(E,N){var R;for(var j=0;R=E.parent(j);j++){if(R instanceof wt||R instanceof Rr){var $=R.name;if($&&$.definition()===N)break}}return R}function within_array_or_object_literal(E){var N,R=0;while(N=E.parent(R++)){if(N instanceof st)return false;if(N instanceof Cr||N instanceof wr||N instanceof Dr){return true}}return false}def_optimize(on,(function(E,N){if(!N.option("ie8")&&is_undeclared_ref(E)&&!N.find_parent(kt)){switch(E.name){case"undefined":return make_node(xn,E).optimize(N);case"NaN":return make_node(bn,E).optimize(N);case"Infinity":return make_node(En,E).optimize(N)}}const R=N.parent();if(N.option("reduce_vars")&&is_lhs(E,R)!==E){const q=E.definition();const G=find_scope(N);if(N.top_retain&&q.global&&N.top_retain(q)){q.fixed=false;q.single_use=false;return E}let ie=E.fixed_value();let ae=q.single_use&&!(R instanceof dr&&R.is_callee_pure(N)||has_annotation(R,Pn))&&!(R instanceof ur&&ie instanceof wt&&ie.name);if(ae&&ie instanceof ot){ae=!ie.has_side_effects(N)&&!ie.may_throw(N)}if(ae&&(ie instanceof wt||ie instanceof Rr)){if(retain_top_func(ie,N)){ae=false}else if(q.scope!==E.scope&&(q.escaped==1||has_flag(ie,qn)||within_array_or_object_literal(N)||!N.option("reduce_funcs"))){ae=false}else if(recursive_ref(N,q)){ae=false}else if(q.scope!==E.scope||q.orig[0]instanceof Gr){ae=ie.is_constant_expression(E.scope);if(ae=="f"){var j=E.scope;do{if(j instanceof Nt||is_func_expr(j)){set_flag(j,qn)}}while(j=j.parent_scope)}}}if(ae&&ie instanceof wt){ae=q.scope===E.scope&&!scope_encloses_variables_in_this_scope(G,ie)||R instanceof dr&&R.expression===E&&!scope_encloses_variables_in_this_scope(G,ie)&&!(ie.name&&ie.name.definition().recursive_refs>0)}if(ae&&ie){if(ie instanceof jr){set_flag(ie,Gn);ie=make_node(Ur,ie,ie)}if(ie instanceof Nt){set_flag(ie,Gn);ie=make_node(Ft,ie,ie)}if(q.recursive_refs>0&&ie.name instanceof Kr){const E=ie.name.definition();let N=ie.variables.get(ie.name.name);let R=N&&N.orig[0];if(!(R instanceof Yr)){R=make_node(Yr,ie.name,ie.name);R.scope=ie;ie.name=R;N=ie.def_function(R)}walk(ie,(R=>{if(R instanceof on&&R.definition()===E){R.thedef=N;N.references.push(R)}}))}if((ie instanceof wt||ie instanceof Rr)&&ie.parent_scope!==G){ie=ie.clone(true,N.get_toplevel());G.add_child_scope(ie)}return ie.optimize(N)}if(ie){let R;if(ie instanceof un){if(!(q.orig[0]instanceof Gr)&&q.references.every((E=>q.scope===E.scope))){R=ie}}else{var $=ie.evaluate(N);if($!==ie&&(N.option("unsafe_regexp")||!($ instanceof RegExp))){R=make_node_from_constant($,ie)}}if(R){const j=E.size(N);const $=R.size(N);let G=0;if(N.option("unused")&&!N.exposed(q)){G=(j+2+$)/(q.references.length-q.assignments)}if($<=j+G){return R}}}}return E}));function scope_encloses_variables_in_this_scope(E,N){for(const R of N.enclosed){if(N.variables.has(R.name)){continue}const j=E.find_variable(R.name);if(j){if(j===R)continue;return true}}return false}function is_atomic(E,N){return E instanceof on||E.TYPE===N.TYPE}def_optimize(xn,(function(E,N){if(N.option("unsafe_undefined")){var R=find_variable(N,"undefined");if(R){var j=make_node(on,E,{name:"undefined",scope:R.scope,thedef:R});set_flag(j,Vn);return j}}var $=is_lhs(N.self(),N.parent());if($&&is_atomic($,E))return E;return make_node(br,E,{operator:"void",expression:make_node(gn,E,{value:0})})}));def_optimize(En,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&is_atomic(R,E))return E;if(N.option("keep_infinity")&&!(R&&!is_atomic(R,E))&&!find_variable(N,"Infinity")){return E}return make_node(Sr,E,{operator:"/",left:make_node(gn,E,{value:1}),right:make_node(gn,E,{value:0})})}));def_optimize(bn,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&!is_atomic(R,E)||find_variable(N,"NaN")){return make_node(Sr,E,{operator:"/",left:make_node(gn,E,{value:0}),right:make_node(gn,E,{value:0})})}return E}));function is_reachable(E,N){const find_ref=E=>{if(E instanceof on&&member(E.definition(),N)){return Dn}};return walk_parent(E,((N,R)=>{if(N instanceof Ct&&N!==E){var j=R.parent();if(j instanceof dr&&j.expression===N)return;if(walk(N,find_ref))return Dn;return true}}))}const ui=makePredicate("+ - / * % >> << >>> | ^ &");const di=makePredicate("* | ^ &");def_optimize(Tr,(function(E,N){if(E.logical){return E.lift_sequences(N)}var R;if(N.option("dead_code")&&E.left instanceof on&&(R=E.left.definition()).scope===N.find_parent(wt)){var j=0,$,q=E;do{$=q;q=N.parent(j++);if(q instanceof jt){if(in_try(j,q))break;if(is_reachable(R.scope,[R]))break;if(E.operator=="=")return E.right;R.fixed=false;return make_node(Sr,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(N)}}while(q instanceof Sr&&q.right===$||q instanceof fr&&q.tail_node()===$)}E=E.lift_sequences(N);if(E.operator=="="&&E.left instanceof on&&E.right instanceof Sr){if(E.right.left instanceof on&&E.right.left.name==E.left.name&&ui.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof on&&E.right.right.name==E.left.name&&di.has(E.right.operator)&&!E.right.left.has_side_effects(N)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(R,j){var $=E.right;E.right=make_node(vn,$);var q=j.may_throw(N);E.right=$;var G=E.left.definition().scope;var ie;while((ie=N.parent(R++))!==G){if(ie instanceof Yt){if(ie.bfinally)return true;if(q&&ie.bcatch)return true}}}}));def_optimize(kr,(function(E,N){if(!N.option("evaluate")){return E}var R=E.right.evaluate(N);if(R===undefined){E=E.left}else if(R!==E.right){R=make_node_from_constant(R,E.right);E.right=best_of_expression(R,E.right)}return E}));function is_nullish(E,N){let R;return E instanceof vn||is_undefined(E,N)||E instanceof on&&(R=E.definition().fixed)instanceof ot&&is_nullish(R,N)||E instanceof mr&&E.optional&&is_nullish(E.expression,N)||E instanceof dr&&E.optional&&is_nullish(E.expression,N)||E instanceof yr&&is_nullish(E.expression,N)}function is_nullish_check(E,N,R){if(N.may_throw(R))return false;let j;if(E instanceof Sr&&E.operator==="=="&&((j=is_nullish(E.left,R)&&E.left)||(j=is_nullish(E.right,R)&&E.right))&&(j===E.left?E.right:E.left).equivalent_to(N)){return true}if(E instanceof Sr&&E.operator==="||"){let j;let $;const find_comparison=E=>{if(!(E instanceof Sr&&(E.operator==="==="||E.operator==="=="))){return false}let q=0;let G;if(E.left instanceof vn){q++;j=E;G=E.right}if(E.right instanceof vn){q++;j=E;G=E.left}if(is_undefined(E.left,R)){q++;$=E;G=E.right}if(is_undefined(E.right,R)){q++;$=E;G=E.left}if(q!==1){return false}if(!G.equivalent_to(N)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if(j&&$&&j!==$){return true}}return false}def_optimize(Er,(function(E,N){if(!N.option("conditionals"))return E;if(E.condition instanceof fr){var R=E.condition.expressions.slice();E.condition=R.pop();R.push(E);return make_sequence(E,R)}var j=E.condition.evaluate(N);if(j!==E.condition){if(j){return maintain_this_binding(N.parent(),N.self(),E.consequent)}else{return maintain_this_binding(N.parent(),N.self(),E.alternative)}}var $=j.negate(N,first_in_statement(N));if(best_of(N,j,$)===$){E=make_node(Er,E,{condition:$,consequent:E.alternative,alternative:E.consequent})}var q=E.condition;var G=E.consequent;var ie=E.alternative;if(q instanceof on&&G instanceof on&&q.definition()===G.definition()){return make_node(Sr,E,{operator:"||",left:q,right:ie})}if(G instanceof Tr&&ie instanceof Tr&&G.operator===ie.operator&&G.logical===ie.logical&&G.left.equivalent_to(ie.left)&&(!E.condition.has_side_effects(N)||G.operator=="="&&!G.left.has_side_effects(N))){return make_node(Tr,E,{operator:G.operator,left:G.left,logical:G.logical,right:make_node(Er,E,{condition:E.condition,consequent:G.right,alternative:ie.right})})}var ae;if(G instanceof dr&&ie.TYPE===G.TYPE&&G.args.length>0&&G.args.length==ie.args.length&&G.expression.equivalent_to(ie.expression)&&!E.condition.has_side_effects(N)&&!G.expression.has_side_effects(N)&&typeof(ae=single_arg_diff())=="number"){var ce=G.clone();ce.args[ae]=make_node(Er,E,{condition:E.condition,consequent:G.args[ae],alternative:ie.args[ae]});return ce}if(ie instanceof Er&&G.equivalent_to(ie.consequent)){return make_node(Er,E,{condition:make_node(Sr,E,{operator:"||",left:q,right:ie.condition}),consequent:G,alternative:ie.alternative}).optimize(N)}if(N.option("ecma")>=2020&&is_nullish_check(q,ie,N)){return make_node(Sr,E,{operator:"??",left:ie,right:G}).optimize(N)}if(ie instanceof fr&&G.equivalent_to(ie.expressions[ie.expressions.length-1])){return make_sequence(E,[make_node(Sr,E,{operator:"||",left:q,right:make_sequence(E,ie.expressions.slice(0,-1))}),G]).optimize(N)}if(ie instanceof Sr&&ie.operator=="&&"&&G.equivalent_to(ie.right)){return make_node(Sr,E,{operator:"&&",left:make_node(Sr,E,{operator:"||",left:q,right:ie.left}),right:G}).optimize(N)}if(G instanceof Er&&G.alternative.equivalent_to(ie)){return make_node(Er,E,{condition:make_node(Sr,E,{left:E.condition,operator:"&&",right:G.condition}),consequent:G.consequent,alternative:ie})}if(G.equivalent_to(ie)){return make_sequence(E,[E.condition,G]).optimize(N)}if(G instanceof Sr&&G.operator=="||"&&G.right.equivalent_to(ie)){return make_node(Sr,E,{operator:"||",left:make_node(Sr,E,{operator:"&&",left:E.condition,right:G.left}),right:ie}).optimize(N)}var le=N.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(Sr,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(N))}return make_node(Sr,E,{operator:"&&",left:booleanize(E.condition.negate(N)),right:E.alternative})}if(is_true(E.alternative)){return make_node(Sr,E,{operator:"||",left:booleanize(E.condition.negate(N)),right:E.consequent})}if(is_false(E.alternative)){return make_node(Sr,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(br,E,{operator:"!",expression:E.negate(N)})}function is_true(E){return E instanceof Cn||le&&E instanceof pn&&E.getValue()||E instanceof br&&E.operator=="!"&&E.expression instanceof pn&&!E.expression.getValue()}function is_false(E){return E instanceof kn||le&&E instanceof pn&&!E.getValue()||E instanceof br&&E.operator=="!"&&E.expression instanceof pn&&E.expression.getValue()}function single_arg_diff(){var E=G.args;var N=ie.args;for(var R=0,j=E.length;R=2015;var j=this.expression;if(j instanceof Dr){var $=j.properties;for(var q=$.length;--q>=0;){var G=$[q];if(""+(G instanceof Or?G.key.name:G.key)==E){const E=$.every((E=>(E instanceof wr||R&&E instanceof Or&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(G.value,N))return;return make_node(_r,this,{expression:make_node(Cr,j,{elements:$.map((function(E){var N=E.value;if(N instanceof Pt){N=make_node(Ft,N,N)}var R=E.key;if(R instanceof ot&&!(R instanceof Qr)){return make_sequence(E,[R,N])}return N}))}),property:make_node(gn,this,{value:q})})}}}}));def_optimize(_r,(function(E,N){var R=E.expression;var j=E.property;if(N.option("properties")){var $=j.evaluate(N);if($!==j){if(typeof $=="string"){if($=="undefined"){$=undefined}else{var q=parseFloat($);if(q.toString()==$){$=q}}}j=E.property=best_of_expression(j,make_node_from_constant($,j).transform(N));var G=""+$;if(is_basic_identifier_string(G)&&G.length<=j.size()+1){return make_node(gr,E,{expression:R,optional:E.optional,property:G,quote:j.quote}).optimize(N)}}}var ie;e:if(N.option("arguments")&&R instanceof on&&R.name=="arguments"&&R.definition().orig.length==1&&(ie=R.scope)instanceof wt&&ie.uses_arguments&&!(ie instanceof It)&&j instanceof gn){var ae=j.getValue();var ce=new Set;var le=ie.argnames;for(var _e=0;_e1){Te=null}}else if(!Te&&!N.option("keep_fargs")&&ae=ie.argnames.length){Te=ie.create_symbol(Gr,{source:ie,scope:ie,tentative_name:"argument_"+ie.argnames.length});ie.argnames.push(Te)}}if(Te){var Ie=make_node(on,E,Te);Ie.reference({});clear_flag(Te,Wn);return Ie}}if(is_lhs(E,N.parent()))return E;if($!==j){var Ne=E.flatten_object(G,N);if(Ne){R=E.expression=Ne.expression;j=E.property=Ne.property}}if(N.option("properties")&&N.option("side_effects")&&j instanceof gn&&R instanceof Cr){var ae=j.getValue();var Me=R.elements;var Le=Me[ae];e:if(safe_to_flatten(Le,N)){var Be=true;var je=[];for(var Ue=Me.length;--Ue>ae;){var q=Me[Ue].drop_side_effect_free(N);if(q){je.unshift(q);if(Be&&q.has_side_effects(N))Be=false}}if(Le instanceof At)break e;Le=Le instanceof Sn?make_node(xn,Le):Le;if(!Be)je.unshift(Le);while(--Ue>=0){var q=Me[Ue];if(q instanceof At)break e;q=q.drop_side_effect_free(N);if(q)je.unshift(q);else ae--}if(Be){je.push(Le);return make_sequence(E,je).optimize(N)}else return make_node(_r,E,{expression:make_node(Cr,R,{elements:je}),property:make_node(gn,j,{value:ae})})}}var ze=E.evaluate(N);if(ze!==E){ze=make_node_from_constant(ze,E).optimize(N);return best_of(N,ze,E)}if(E.optional&&is_nullish(E.expression,N)){return make_node(xn,E)}return E}));def_optimize(yr,(function(E,N){E.expression=E.expression.optimize(N);return E}));wt.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof un)return Dn;if(E!==this&&E instanceof Ct&&!(E instanceof It)){return true}}))}));def_optimize(gr,(function(E,N){const R=N.parent();if(is_lhs(E,R))return E;if(N.option("unsafe_proto")&&E.expression instanceof gr&&E.expression.property=="prototype"){var j=E.expression.expression;if(is_undeclared_ref(j))switch(j.name){case"Array":E.expression=make_node(Cr,E.expression,{elements:[]});break;case"Function":E.expression=make_node(Ft,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(gn,E.expression,{value:0});break;case"Object":E.expression=make_node(Dr,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(_n,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(mn,E.expression,{value:""});break}}if(!(R instanceof dr)||!has_annotation(R,Pn)){const R=E.flatten_object(E.property,N);if(R)return R.optimize(N)}let $=E.evaluate(N);if($!==E){$=make_node_from_constant($,E).optimize(N);return best_of(N,$,E)}if(E.optional&&is_nullish(E.expression,N)){return make_node(xn,E)}return E}));function literals_in_boolean_context(E,N){if(N.in_boolean_context()){return best_of(N,E,make_sequence(E,[E,make_node(Cn,E)]).optimize(N))}return E}function inline_array_like_spread(E){for(var N=0;NE instanceof Sn))){E.splice(N,1,...j.elements);N--}}}}def_optimize(Cr,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,N){for(var R=0;RE instanceof wr))){E.splice(R,1,...$.properties);R--}else if($ instanceof pn&&!($ instanceof mn)){E.splice(R,1)}else if(is_nullish($,N)){E.splice(R,1)}}}}def_optimize(Dr,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_object_prop_spread(E.properties,N);return E}));def_optimize(_n,literals_in_boolean_context);def_optimize(Ut,(function(E,N){if(E.value&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(It,opt_AST_Lambda);def_optimize(Ft,(function(E,N){E=opt_AST_Lambda(E,N);if(N.option("unsafe_arrows")&&N.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const R=walk(E,(E=>{if(E instanceof un)return Dn}));if(!R)return make_node(It,E,E).optimize(N)}return E}));def_optimize(Rr,(function(E){return E}));def_optimize(qt,(function(E,N){if(E.expression&&!E.is_star&&is_undefined(E.expression,N)){E.expression=null}return E}));def_optimize(Rt,(function(E,N){if(!N.option("evaluate")||N.parent()instanceof Mt){return E}var R=[];for(var j=0;j=2015&&(!(R instanceof RegExp)||R.test(E.key+""))){var j=E.key;var $=E.value;var q=$ instanceof It&&Array.isArray($.body)&&!$.contains_this();if((q||$ instanceof Ft)&&!$.name){return make_node(Or,E,{async:$.async,is_generator:$.is_generator,key:j instanceof ot?j:make_node(Qr,E,{name:j}),value:make_node(Pt,$,$),quote:E.quote})}}return E}));def_optimize(Ot,(function(E,N){if(N.option("pure_getters")==true&&N.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(N)&&!(E.names[E.names.length-1]instanceof At)){var R=[];for(var j=0;j1)throw new Error("inline source map only works with singular input");N.sourceMap.content=read_source_map(E[q])}}}$=N.parse.toplevel}if(j&&N.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys($,j)}if(N.wrap){$=$.wrap_commonjs(N.wrap)}if(N.enclose){$=$.wrap_enclose(N.enclose)}if(R)R.rename=Date.now();if(R)R.compress=Date.now();if(N.compress){$=new Compressor(N.compress,{mangle_options:N.mangle}).compress($)}if(R)R.scope=Date.now();if(N.mangle)$.figure_out_scope(N.mangle);if(R)R.mangle=Date.now();if(N.mangle){Un.reset();$.compute_char_frequency(N.mangle);$.mangle_names(N.mangle)}if(R)R.properties=Date.now();if(N.mangle&&N.mangle.properties){$=mangle_properties($,N.mangle.properties)}if(R)R.format=Date.now();var G={};if(N.format.ast){G.ast=$}if(N.format.spidermonkey){G.ast=$.to_mozilla_ast()}if(!HOP(N.format,"code")||N.format.code){if(N.sourceMap){N.format.source_map=await SourceMap({file:N.sourceMap.filename,orig:N.sourceMap.content,root:N.sourceMap.root});if(N.sourceMap.includeSources){if(E instanceof Dt){throw new Error("original source content unavailable")}else for(var q in E)if(HOP(E,q)){N.format.source_map.get().setSourceContent(q,E[q])}}}delete N.format.ast;delete N.format.code;delete N.format.spidermonkey;var ie=OutputStream(N.format);$.print(ie);G.code=ie.get();if(N.sourceMap){if(N.sourceMap.asObject){G.map=N.format.source_map.get().toJSON()}else{G.map=N.format.source_map.toString()}if(N.sourceMap.url=="inline"){var ae=typeof G.map==="object"?JSON.stringify(G.map):G.map;G.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+mi(ae)}else if(N.sourceMap.url){G.code+="\n//# sourceMappingURL="+N.sourceMap.url}}}if(N.nameCache&&N.mangle){if(N.mangle.cache)N.nameCache.vars=cache_to_json(N.mangle.cache);if(N.mangle.properties&&N.mangle.properties.cache){N.nameCache.props=cache_to_json(N.mangle.properties.cache)}}if(N.format&&N.format.source_map){N.format.source_map.destroy()}if(R){R.end=Date.now();G.timings={parse:.001*(R.rename-R.parse),rename:.001*(R.compress-R.rename),compress:.001*(R.scope-R.compress),scope:.001*(R.mangle-R.scope),mangle:.001*(R.properties-R.mangle),properties:.001*(R.format-R.properties),format:.001*(R.end-R.format),total:.001*(R.end-R.start)}}return G}async function run_cli({program:E,packageJson:N,fs:j,path:$}){const q=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var G={};var ie={compress:false,mangle:false};const ae=await _default_options();E.version(N.name+" "+N.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var N in ae){E.push("--"+(N==="sourceMap"?"source-map":N)+" options:");E.push(format_object(ae[N]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ie=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(N){if(N in E){ie[N]=E[N]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const N=E.ecma|0;if(N>5&&N<2015)ie.ecma=N+2009;else ie.ecma=N}if(E.format||E.beautify){const N=E.format||E.beautify;ie.format=typeof N==="object"?N:{}}if(E.comments){if(typeof ie.format!="object")ie.format={};ie.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ie.compress!="object")ie.compress={};if(typeof ie.compress.global_defs!="object")ie.compress.global_defs={};for(var ce in E.define){ie.compress.global_defs[ce]=E.define[ce]}}if(E.keepClassnames){ie.keep_classnames=true}if(E.keepFnames){ie.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ie.mangle!="object")ie.mangle={};ie.mangle.properties=E.mangleProps}if(E.nameCache){ie.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ie.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ie.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ie.rename=true}else if(!E.rename){ie.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var N=E.sourceMap.base;delete ie.sourceMap.base;return function(E){return $.relative(N,E)}}()}let le;if(ie.files&&ie.files.length){le=ie.files;delete ie.files}else if(E.args.length){le=E.args}if(le){simple_glob(le).forEach((function(E){G[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var N=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){N.push(E)})).on("end",(function(){G=[N.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return ot.from_mozilla_ast(Object.keys(G).reduce(E,null))}async function run_cli(){var N=E.sourceMap&&E.sourceMap.content;if(N&&N!=="inline"){ie.sourceMap.content=read_file(N,N)}if(E.timings)ie.timings=true;try{if(E.parse){if(E.parse.acorn){G=convert_ast((function(N,j){return R(20976).parse(G[j],{ecmaVersion:2018,locations:true,program:N,sourceFile:j,sourceType:ie.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){G=convert_ast((function(E,N){var R=JSON.parse(G[N]);if(!E)return R;E.body=E.body.concat(R.body);return E}))}}}catch(E){fatal(E)}let $;try{$=await minify(G,ie)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var ae=E.col;var ce=G[E.filename].split(/\r?\n/);var le=ce[E.line-1];if(!le&&!ae){le=ce[E.line-2];ae=le.length}if(le){var _e=70;if(ae>_e){le=le.slice(ae-_e);ae=_e}print_error(le.slice(0,80));print_error(le.slice(0,ae).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ie.compress&&!ie.mangle){$.ast.figure_out_scope({})}console.log(JSON.stringify($.ast,(function(E,N){if(N)switch(E){case"thedef":return symdef(N);case"enclosed":return N.length?N.map(symdef):undefined;case"variables":case"globals":return N.size?collect_from_map(N,symdef):undefined}if(q.has(E))return;if(N instanceof AST_Token)return;if(N instanceof Map)return;if(N instanceof ot){var R={_class:"AST_"+N.TYPE};if(N.block_scope){R.variables=N.block_scope.variables;R.enclosed=N.block_scope.enclosed}N.CTOR.PROPS.forEach((function(E){R[E]=N[E]}));return R}return N}),2))}else if(E.output=="spidermonkey"){try{const E=await minify($.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){j.writeFileSync(E.output,$.code);if(ie.sourceMap&&ie.sourceMap.url!=="inline"&&$.map){j.writeFileSync(E.output+".map",$.map)}}else{console.log($.code)}if(E.nameCache){j.writeFileSync(E.nameCache,JSON.stringify(ie.nameCache))}if($.timings)for(var Ee in $.timings){print_error("- "+Ee+": "+$.timings[Ee].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var N=$.dirname(E);try{var R=j.readdirSync(N)}catch(E){}if(R){var q="^"+$.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var G=process.platform==="win32"?"i":"";var ie=new RegExp(q,G);var ae=R.filter((function(E){return ie.test(E)})).map((function(E){return $.join(N,E)}));if(ae.length)return ae}}return[E]}function read_file(E,N){try{return j.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&N!=null)return N;fatal(E)}}function parse_js(E){return function(N,R){R=R||{};try{walk(parse(N,{expression:true}),(N=>{if(N instanceof Tr){var j=N.left.print_to_string();var $=N.right;if(E){R[j]=$}else if($ instanceof Cr){R[j]=$.elements.map(to_string)}else if($ instanceof _n){$=$.value;R[j]=new RegExp($.source,$.flags)}else{R[j]=to_string($)}return true}if(N instanceof zr||N instanceof mr){var j=N.print_to_string();R[j]=true;return true}if(!(N instanceof fr))throw N;function to_string(E){return E instanceof pn?E.getValue():E.print_to_string({quote_keys:true})}}))}catch(j){if(E){fatal("Error parsing arguments for '"+E+"': "+N)}else{R[N]=null}}return R}}function symdef(E){var N=1e6+E.id+" "+E.name;if(E.mangled_name)N+=" "+E.mangled_name;return N}function collect_from_map(E,N){var R=[];E.forEach((function(E){R.push(N(E))}));return R}function format_object(E){var N=[];var R="";Object.keys(E).map((function(N){if(R.length!/^\$/.test(E)));if(R.length>0){E.space();E.with_parens((function(){R.forEach((function(N,R){if(R)E.space();E.print(N)}))}))}if(N.documentation){E.space();E.print_string(N.documentation)}if(N.SUBCLASSES.length>0){E.space();E.with_block((function(){N.SUBCLASSES.forEach((function(N){E.indent();doitem(N);E.newline()}))}))}}doitem(ot);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((N=>{const R=infer_options({[N]:{0:0}});if(R)E[N]=R}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},76218:(E,N)=>{"use strict";N.parse=parse,N.init=void 0;const R=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,N="@"){if(!j)return $.then((()=>parse(E)));const q=E.length+1,G=(j.__heap_base.value||j.__heap_base)+4*q-j.memory.buffer.byteLength;G>0&&j.memory.grow(Math.ceil(G/65536));const ie=j.sa(q-1);if((R?C:Q)(E,new Uint16Array(j.memory.buffer,ie,q)),!j.parse())throw Object.assign(new Error(`Parse error ${N}:${E.slice(0,j.e()).split("\n").length}:${j.e()-E.lastIndexOf("\n",j.e()-1)}`),{idx:j.e()});const ae=[],ce=[];for(;j.ri();){const N=j.is(),R=j.ie(),$=j.ai(),q=j.id(),G=j.ss(),ie=j.se();let ce;j.ip()&&(ce=J(E.slice(-1===q?N-1:N,-1===q?R+1:R))),ae.push({n:ce,s:N,e:R,ss:G,se:ie,d:q,a:$})}for(;j.re();){const N=E.slice(j.es(),j.ee()),R=N[0];ce.push('"'===R||"'"===R?J(N):N)}function J(E){try{return(0,eval)(E)}catch(E){}}return[ae,ce,!!j.f()]}function Q(E,N){const R=E.length;let j=0;for(;j>>8}}function C(E,N){const R=E.length;let j=0;for(;jE.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{j=E}));var q;N.init=$},894:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},6680:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},83196:E=>{"use strict";E.exports={i8:"5.1.1"}},29389:E=>{"use strict";E.exports={version:"4.3.0"}},42600:E=>{"use strict";E.exports={i8:"4.3.0"}},53765:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76052:E=>{"use strict";E.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false}]')},78864:E=>{"use strict";E.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},11519:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},54703:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.7.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},37589:E=>{"use strict";E.exports={i8:"5.62.1"}},46312:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","oneOf":[{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/ExperimentsNormalized"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},87298:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},28991:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},67138:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},39586:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../../lib/util/Hash\')"}]}},"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},8679:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},89408:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},30685:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},43691:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},78061:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},91014:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},93944:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},38279:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},85195:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},78555:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},9659:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},37931:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3484:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},10692:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84638:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},5404:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},52021:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},97295:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')}};var __webpack_module_cache__={};function __webpack_require__(E){var N=__webpack_module_cache__[E];if(N!==undefined){return N.exports}var R=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var j=true;try{__webpack_modules__[E].call(R.exports,R,R.exports,__webpack_require__);j=false}finally{if(j)delete __webpack_module_cache__[E]}R.loaded=true;return R.exports}(()=>{__webpack_require__.o=(E,N)=>Object.prototype.hasOwnProperty.call(E,N)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(32090);module.exports=__webpack_exports__})(); \ No newline at end of file +(function(E,R){true?R(N):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,N=Array(E),R=0;R1){N[0]=N[0].slice(0,-1);var j=N.length-1;for(var $=1;$= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Me=q-G;var Le=Math.floor;var Be=String.fromCharCode;function error$1(E){throw new RangeError(Ne[E])}function map(E,N){var R=[];var j=E.length;while(j--){R[j]=N(E[j])}return R}function mapDomain(E,N){var R=E.split("@");var j="";if(R.length>1){j=R[0]+"@";E=R[1]}E=E.replace(Ie,".");var $=E.split(".");var q=map($,N).join(".");return j+q}function ucs2decode(E){var N=[];var R=0;var j=E.length;while(R=55296&&$<=56319&&R>1;E+=Le(E/N);for(;E>Me*ie>>1;j+=q){E=Le(E/Me)}return Le(j+(Me+1)*E/(E+ae))};var Je=function decode(E){var N=[];var R=E.length;var j=0;var ae=_e;var ce=le;var Ee=E.lastIndexOf(Te);if(Ee<0){Ee=0}for(var we=0;we=128){error$1("not-basic")}N.push(E.charCodeAt(we))}for(var Ie=Ee>0?Ee+1:0;Ie=R){error$1("invalid-input")}var je=Ue(E.charCodeAt(Ie++));if(je>=q||je>Le(($-j)/Me)){error$1("overflow")}j+=je*Me;var ze=Be<=ce?G:Be>=ce+ie?ie:Be-ce;if(jeLe($/Je)){error$1("overflow")}Me*=Je}var Ve=N.length+1;ce=We(j-Ne,Ve,Ne==0);if(Le(j/Ve)>$-ae){error$1("overflow")}ae+=Le(j/Ve);j%=Ve;N.splice(j++,0,ae)}return String.fromCodePoint.apply(String,N)};var Ve=function encode(E){var N=[];E=ucs2decode(E);var R=E.length;var j=_e;var ae=0;var ce=le;var Ee=true;var we=false;var Ie=undefined;try{for(var Ne=E[Symbol.iterator](),Me;!(Ee=(Me=Ne.next()).done);Ee=true){var je=Me.value;if(je<128){N.push(Be(je))}}}catch(E){we=true;Ie=E}finally{try{if(!Ee&&Ne.return){Ne.return()}}finally{if(we){throw Ie}}}var Ue=N.length;var Je=Ue;if(Ue){N.push(Te)}while(Je=j&&XeLe(($-ae)/Ye)){error$1("overflow")}ae+=(Ve-j)*Ye;j=Ve;var Ze=true;var et=false;var tt=undefined;try{for(var rt=E[Symbol.iterator](),nt;!(Ze=(nt=rt.next()).done);Ze=true){var it=nt.value;if(it$){error$1("overflow")}if(it==j){var ot=ae;for(var st=q;;st+=q){var ct=st<=ce?G:st>=ce+ie?ie:st-ce;if(ot>6|192).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();else R="%"+(N>>12|224).toString(16).toUpperCase()+"%"+(N>>6&63|128).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();return R}function pctDecChars(E){var N="";var R=0;var j=E.length;while(R=194&&$<224){if(j-R>=6){var q=parseInt(E.substr(R+4,2),16);N+=String.fromCharCode(($&31)<<6|q&63)}else{N+=E.substr(R,6)}R+=6}else if($>=224){if(j-R>=9){var G=parseInt(E.substr(R+4,2),16);var ie=parseInt(E.substr(R+7,2),16);N+=String.fromCharCode(($&15)<<12|(G&63)<<6|ie&63)}else{N+=E.substr(R,9)}R+=9}else{N+=E.substr(R,3);R+=3}}return N}function _normalizeComponentEncoding(E,N){function decodeUnreserved(E){var R=pctDecChars(E);return!R.match(N.UNRESERVED)?E:R}if(E.scheme)E.scheme=String(E.scheme).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_USERINFO,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_HOST,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(N.PCT_ENCODED,decodeUnreserved).replace(E.scheme?N.NOT_PATH:N.NOT_PATH_NOSCHEME,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_QUERY,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_FRAGMENT,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,N){var R=E.match(N.IPV4ADDRESS)||[];var $=j(R,2),q=$[1];if(q){return q.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,N){var R=E.match(N.IPV6ADDRESS)||[];var $=j(R,3),q=$[1],G=$[2];if(q){var ie=q.toLowerCase().split("::").reverse(),ae=j(ie,2),ce=ae[0],le=ae[1];var _e=le?le.split(":").map(_stripLeadingZeros):[];var Te=ce.split(":").map(_stripLeadingZeros);var Ee=N.IPV4ADDRESS.test(Te[Te.length-1]);var we=Ee?7:8;var Ie=Te.length-we;var Ne=Array(we);for(var Me=0;Me1){var Ue=Ne.slice(0,Be.index);var ze=Ne.slice(Be.index+Be.length);je=Ue.join(":")+"::"+ze.join(":")}else{je=Ne.join(":")}if(G){je+="%"+G}return je}else{return E}}var Qe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Xe="".match(/(){0}/)[1]===undefined;function parse(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $={};var q=j.iri!==false?R:N;if(j.reference==="suffix")E=(j.scheme?j.scheme+":":"")+"//"+E;var G=E.match(Qe);if(G){if(Xe){$.scheme=G[1];$.userinfo=G[3];$.host=G[4];$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=G[7];$.fragment=G[8];if(isNaN($.port)){$.port=G[5]}}else{$.scheme=G[1]||undefined;$.userinfo=E.indexOf("@")!==-1?G[3]:undefined;$.host=E.indexOf("//")!==-1?G[4]:undefined;$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=E.indexOf("?")!==-1?G[7]:undefined;$.fragment=E.indexOf("#")!==-1?G[8]:undefined;if(isNaN($.port)){$.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?G[4]:undefined}}if($.host){$.host=_normalizeIPv6(_normalizeIPv4($.host,q),q)}if($.scheme===undefined&&$.userinfo===undefined&&$.host===undefined&&$.port===undefined&&!$.path&&$.query===undefined){$.reference="same-document"}else if($.scheme===undefined){$.reference="relative"}else if($.fragment===undefined){$.reference="absolute"}else{$.reference="uri"}if(j.reference&&j.reference!=="suffix"&&j.reference!==$.reference){$.error=$.error||"URI is not a "+j.reference+" reference."}var ie=Ke[(j.scheme||$.scheme||"").toLowerCase()];if(!j.unicodeSupport&&(!ie||!ie.unicodeSupport)){if($.host&&(j.domainHost||ie&&ie.domainHost)){try{$.host=Ge.toASCII($.host.replace(q.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){$.error=$.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding($,N)}else{_normalizeComponentEncoding($,q)}if(ie&&ie.parse){ie.parse($,j)}}else{$.error=$.error||"URI can not be parsed."}return $}function _recomposeAuthority(E,j){var $=j.iri!==false?R:N;var q=[];if(E.userinfo!==undefined){q.push(E.userinfo);q.push("@")}if(E.host!==undefined){q.push(_normalizeIPv6(_normalizeIPv4(String(E.host),$),$).replace($.IPV6ADDRESS,(function(E,N,R){return"["+N+(R?"%25"+R:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){q.push(":");q.push(String(E.port))}return q.length?q.join(""):undefined}var Ye=/^\.\.?\//;var Ze=/^\/\.(\/|$)/;var et=/^\/\.\.(\/|$)/;var tt=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var N=[];while(E.length){if(E.match(Ye)){E=E.replace(Ye,"")}else if(E.match(Ze)){E=E.replace(Ze,"/")}else if(E.match(et)){E=E.replace(et,"/");N.pop()}else if(E==="."||E===".."){E=""}else{var R=E.match(tt);if(R){var j=R[0];E=E.slice(j.length);N.push(j)}else{throw new Error("Unexpected dot segment condition")}}}return N.join("")}function serialize(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $=j.iri?R:N;var q=[];var G=Ke[(j.scheme||E.scheme||"").toLowerCase()];if(G&&G.serialize)G.serialize(E,j);if(E.host){if($.IPV6ADDRESS.test(E.host)){}else if(j.domainHost||G&&G.domainHost){try{E.host=!j.iri?Ge.toASCII(E.host.replace($.PCT_ENCODED,pctDecChars).toLowerCase()):Ge.toUnicode(E.host)}catch(N){E.error=E.error||"Host's domain name can not be converted to "+(!j.iri?"ASCII":"Unicode")+" via punycode: "+N}}}_normalizeComponentEncoding(E,$);if(j.reference!=="suffix"&&E.scheme){q.push(E.scheme);q.push(":")}var ie=_recomposeAuthority(E,j);if(ie!==undefined){if(j.reference!=="suffix"){q.push("//")}q.push(ie);if(E.path&&E.path.charAt(0)!=="/"){q.push("/")}}if(E.path!==undefined){var ae=E.path;if(!j.absolutePath&&(!G||!G.absolutePath)){ae=removeDotSegments(ae)}if(ie===undefined){ae=ae.replace(/^\/\//,"/%2F")}q.push(ae)}if(E.query!==undefined){q.push("?");q.push(E.query)}if(E.fragment!==undefined){q.push("#");q.push(E.fragment)}return q.join("")}function resolveComponents(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var j=arguments[3];var $={};if(!j){E=parse(serialize(E,R),R);N=parse(serialize(N,R),R)}R=R||{};if(!R.tolerant&&N.scheme){$.scheme=N.scheme;$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(N.userinfo!==undefined||N.host!==undefined||N.port!==undefined){$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(!N.path){$.path=E.path;if(N.query!==undefined){$.query=N.query}else{$.query=E.query}}else{if(N.path.charAt(0)==="/"){$.path=removeDotSegments(N.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){$.path="/"+N.path}else if(!E.path){$.path=N.path}else{$.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+N.path}$.path=removeDotSegments($.path)}$.query=N.query}$.userinfo=E.userinfo;$.host=E.host;$.port=E.port}$.scheme=E.scheme}$.fragment=N.fragment;return $}function resolve(E,N,R){var j=assign({scheme:"null"},R);return serialize(resolveComponents(parse(E,j),parse(N,j),j,true),j)}function normalize(E,N){if(typeof E==="string"){E=serialize(parse(E,N),N)}else if(typeOf(E)==="object"){E=parse(serialize(E,N),N)}return E}function equal(E,N,R){if(typeof E==="string"){E=serialize(parse(E,R),R)}else if(typeOf(E)==="object"){E=serialize(E,R)}if(typeof N==="string"){N=serialize(parse(N,R),R)}else if(typeOf(N)==="object"){N=serialize(N,R)}return E===N}function escapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.ESCAPE:R.ESCAPE,pctEncChar)}function unescapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.PCT_ENCODED:R.PCT_ENCODED,pctDecChars)}var rt={scheme:"http",domainHost:true,parse:function parse(E,N){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,N){var R=String(E.scheme).toLowerCase()==="https";if(E.port===(R?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var nt={scheme:"https",domainHost:rt.domainHost,parse:rt.parse,serialize:rt.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var it={scheme:"ws",domainHost:true,parse:function parse(E,N){var R=E;R.secure=isSecure(R);R.resourceName=(R.path||"/")+(R.query?"?"+R.query:"");R.path=undefined;R.query=undefined;return R},serialize:function serialize(E,N){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var R=E.resourceName.split("?"),$=j(R,2),q=$[0],G=$[1];E.path=q&&q!=="/"?q:undefined;E.query=G;E.resourceName=undefined}E.fragment=undefined;return E}};var ot={scheme:"wss",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};var st={};var ct=true;var ut="[A-Za-z0-9\\-\\.\\_\\~"+(ct?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var dt="[0-9A-Fa-f]";var pt=subexp(subexp("%[EFef]"+dt+"%"+dt+dt+"%"+dt+dt)+"|"+subexp("%[89A-Fa-f]"+dt+"%"+dt+dt)+"|"+subexp("%"+dt+dt));var ft="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var mt="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var ht=merge(mt,'[\\"\\\\]');var _t="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var yt=new RegExp(ut,"g");var vt=new RegExp(pt,"g");var bt=new RegExp(merge("[^]",ft,"[\\.]",'[\\"]',ht),"g");var xt=new RegExp(merge("[^]",ut,_t),"g");var St=xt;function decodeUnreserved(E){var N=pctDecChars(E);return!N.match(yt)?E:N}var Tt={scheme:"mailto",parse:function parse$$1(E,N){var R=E;var j=R.to=R.path?R.path.split(","):[];R.path=undefined;if(R.query){var $=false;var q={};var G=R.query.split("&");for(var ie=0,ae=G.length;ie{"use strict";const j=R(82361).EventEmitter;const $=R(15808);const q=R(71017);const G=R(68862);const ie=Object.freeze({});let ae=1e3;const ce=R(22037).platform()==="darwin";const le=process.env.WATCHPACK_POLLING;const _e=`${+le}`===le?+le:!!le&&le!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,N){return function(){if(--E===0){return N()}}}class Watcher extends j{constructor(E,N,R){super();this.directoryWatcher=E;this.path=N;this.startTime=R&&+R}checkStartTime(E,N){const R=this.startTime;if(typeof R!=="number")return!N;return R<=E}close(){this.emit("closed")}}class DirectoryWatcher extends j{constructor(E,N,R){super();if(_e){R.poll=_e}this.watcherManager=E;this.options=R;this.path=N;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=R.ignored||(()=>false);this.nestedWatching=false;this.polledWatching=typeof R.poll==="number"?R.poll:R.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(ce){this.watchInParentDirectory()}this.watcher=G.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,N){const R=this.watchers.get(withoutCase(E));if(R!==undefined){for(const E of R){N(E)}}}setMissing(E,N,R){if(this.initialScan){this.initialScanRemoved.add(E)}const j=this.directories.get(E);if(j){if(this.nestedWatching)j.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",R)));if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}const $=this.files.get(E);if($){this.files.delete(E);const j=withoutCase(E);const $=this.filesWithoutCase.get(j)-1;if($<=0){this.filesWithoutCase.delete(j);this.forEachWatcher(E,(E=>E.emit("remove",R)))}else{this.filesWithoutCase.set(j,$)}if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}}setFileTime(E,N,R,j,$){const q=Date.now();if(this.ignored(E))return;const G=this.files.get(E);let ie,ce;if(R){ie=Math.min(q,N)+ae;ce=ae}else{ie=q;ce=0;if(G&&G.timestamp===N&&N+ae{if(!R||E.checkStartTime(ie,R)){E.emit("change",N,$)}}))}else if(!R){this.forEachWatcher(E,(E=>E.emit("change",N,$)))}this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(ie,R)){N.emit("change",E,ie,$,R)}}))}setDirectory(E,N,R,j){if(this.ignored(E))return;if(E===this.path){if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,N,j,R)))}}else{const $=this.directories.get(E);if(!$){const $=Date.now();if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let q;if(R){q=Math.min($,N)+ae}else{q=$}this.forEachWatcher(E,(E=>{if(!R||E.checkStartTime(q,false)){E.emit("change",N,j)}}));this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(q,R)){N.emit("change",E,q,j,R)}}))}}}createNestedWatcher(E){const N=this.watcherManager.watchDirectory(E,1);N.on("change",((E,N,R,j)=>{this.forEachWatcher(this.path,($=>{if(!j||$.checkStartTime(N,j)){$.emit("change",E,N,R,j)}}))}));this.directories.set(E,N)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,N]of this.directories){N.close();this.directories.set(E,true)}}}}watch(E,N){const R=withoutCase(E);let j=this.watchers.get(R);if(j===undefined){j=new Set;this.watchers.set(R,j)}this.refs++;const $=new Watcher(this,E,N);$.on("closed",(()=>{if(--this.refs<=0){this.close();return}j.delete($);if(j.size===0){this.watchers.delete(R);if(this.path===E)this.setNestedWatching(false)}}));j.add($);let q;if(E===this.path){this.setNestedWatching(true);q=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);q=Math.max(q,E.safeTime)}}else{const N=this.files.get(E);if(N){fixupEntryAccuracy(N);q=N.safeTime}else{q=0}}if(q){if(q>=N){process.nextTick((()=>{if(this.closed)return;if(E===this.path){$.emit("change",E,q,"watch (outdated on attach)",true)}else{$.emit("change",q,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;$.emit("remove")}))}}else if(!this.directories.has(E)&&$.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;$.emit("initial-missing","watch (missing on attach)")}))}return $}onWatchEvent(E,N){if(this.closed)return;if(!N){this.doScan(false);return}const R=q.join(this.path,N);if(this.ignored(R))return;if(this._activeEvents.get(N)===undefined){this._activeEvents.set(N,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(N,false);$.lstat(R,((j,G)=>{if(this.closed)return;if(this._activeEvents.get(N)===true){process.nextTick(checkStats);return}this._activeEvents.delete(N);if(j){if(j.code!=="ENOENT"&&j.code!=="EPERM"&&j.code!=="EBUSY"){this.onStatsError(j)}else{if(N===q.basename(this.path)){if(!$.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();if(!G){this.setMissing(R,false,E)}else if(G.isDirectory()){this.setDirectory(R,+G.birthtime||1,false,E)}else if(G.isFile()||G.isSymbolicLink()){if(G.mtime){ensureFsAccuracy(G.mtime)}this.setFileTime(R,+G.mtime||+G.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(N,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const N=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,N)}for(const E of this.files.keys()){this.setMissing(E,null,N)}}watchInParentDirectory(){if(!this.parentWatcher){const E=q.dirname(this.path);if(q.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,N)=>{if(this.closed)return;if((!ce||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(R=>R.emit("change",this.path,E,N,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;$.readdir(this.path,((N,R)=>{if(this.closed)return;if(N){if(N.code==="ENOENT"||N.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(N)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const N of E){if(N.checkStartTime(this.initialScanFinished,false)){N.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const j=new Set(R.map((E=>q.join(this.path,E.normalize("NFC")))));for(const N of this.files.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}for(const N of this.directories.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const G=needCalls(j.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const N of j){E.delete(withoutCase(N))}for(const N of E.values()){for(const E of N){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const N of j){$.lstat(N,((R,j)=>{if(this.closed)return;if(R){if(R.code==="ENOENT"||R.code==="EPERM"||R.code==="EACCES"||R.code==="EBUSY"){this.setMissing(N,E,"scan ("+R.code+")")}else{this.onScanError(R)}G();return}if(j.isFile()||j.isSymbolicLink()){if(j.mtime){ensureFsAccuracy(j.mtime)}this.setFileTime(N,+j.mtime||+j.ctime||1,E,true,"scan (file)")}else if(j.isDirectory()){if(!E||!this.directories.has(N))this.setDirectory(N,+j.birthtime||1,E,"scan (dir)")}G()}))}G()}))}))}getTimes(){const E=Object.create(null);let N=this.lastWatchEvent;for(const[R,j]of this.files){fixupEntryAccuracy(j);N=Math.max(N,j.safeTime);E[R]=Math.max(j.safeTime,j.timestamp)}if(this.nestedWatching){for(const R of this.directories.values()){const j=R.directoryWatcher.getTimes();for(const R of Object.keys(j)){const $=j[R];N=Math.max(N,$);E[R]=$}}E[this.path]=N}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!Object.prototype.hasOwnProperty.call(E,N)){E[N]=null}}}}return E}collectTimeInfoEntries(E,N){let R=this.lastWatchEvent;for(const[N,j]of this.files){fixupEntryAccuracy(j);R=Math.max(R,j.safeTime);E.set(N,j)}if(this.nestedWatching){for(const j of this.directories.values()){R=Math.max(R,j.directoryWatcher.collectTimeInfoEntries(E,N))}E.set(this.path,ie);N.set(this.path,{safeTime:R})}else{for(const R of this.directories.keys()){E.set(R,ie);if(!N.has(R))N.set(R,ie)}E.set(this.path,ie);N.set(this.path,ie)}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!E.has(N)){E.set(N,null)}}}}return R}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ie;function fixupEntryAccuracy(E){if(E.accuracy>ae){E.safeTime=E.safeTime-E.accuracy+ae;E.accuracy=ae}}function ensureFsAccuracy(E){if(!E)return;if(ae>1&&E%1!==0)ae=1;else if(ae>10&&E%10!==0)ae=10;else if(ae>100&&E%100!==0)ae=100}},99181:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")q.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const N=this.cache.get(E);if(N!==undefined){return N}const R=$.dirname(E);if(R===E){const N=Object.freeze([E]);this.cache.set(E,N);return N}const G=this.resolve(R);let ie=E;if(G[0]!==R){const N=$.basename(E);ie=$.resolve(G[0],N)}try{const N=j.readlinkSync(ie);const R=$.resolve(G[0],N);const q=this.resolve(R);let ae;if(q.length>1&&G.length>1){const E=new Set(q);E.add(ie);for(let N=1;N1){ae=G.slice();ae[0]=q[0];ae.push(ie);Object.freeze(ae)}else if(q.length>1){ae=q.slice();ae.push(ie);Object.freeze(ae)}else{ae=Object.freeze([q[0],ie])}this.cache.set(E,ae);return ae}catch(N){if(!q.has(N.code)){throw N}const R=G.slice();R[0]=ie;Object.freeze(R);this.cache.set(E,R);return R}}}E.exports=LinkResolver},53982:(E,N,R)=>{"use strict";const j=R(71017);const $=R(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const N=this.directoryWatchers.get(E);if(N===undefined){const N=new $(this,E,this.options);this.directoryWatchers.set(E,N);N.on("closed",(()=>{this.directoryWatchers.delete(E)}));return N}return N}watchFile(E,N){const R=j.dirname(E);if(R===E)return null;return this.getDirectoryWatcher(R).watch(E,N)}watchDirectory(E,N){return this.getDirectoryWatcher(E).watch(E,N)}}const q=new WeakMap;E.exports=E=>{const N=q.get(E);if(N!==undefined)return N;const R=new WatcherManager(E);q.set(E,R);return R};E.exports.WatcherManager=WatcherManager},27601:(E,N,R)=>{"use strict";const j=R(71017);E.exports=(E,N)=>{const R=new Map;for(const[N,j]of E){R.set(N,{filePath:N,parent:undefined,children:undefined,entries:1,active:true,value:j})}let $=R.size;for(const E of R.values()){const N=j.dirname(E.filePath);if(N!==E.filePath){let j=R.get(N);if(j===undefined){j={filePath:N,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};R.set(N,j);E.parent=j}else{E.parent=j;if(j.children===undefined){j.children=[E]}else{j.children.push(E)}do{j.entries+=E.entries;j=j.parent}while(j)}}}while($>N){const E=$-N;let j=undefined;let q=Infinity;for(const $ of R.values()){if($.entries<=1||!$.children||!$.parent)continue;if($.children.length===0)continue;if($.children.length===1&&!$.value)continue;const R=$.entries-1>=E?$.entries-1-E:E-$.entries+1+N*.3;if(R{"use strict";const j=R(57147);const $=R(71017);const{EventEmitter:q}=R(82361);const G=R(27601);const ie=R(22037).platform()==="darwin";const ae=R(22037).platform()==="win32";const ce=ie||ae;const le=+process.env.WATCHPACK_WATCHER_LIMIT||(ie?2e3:1e4);const _e=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let Te=false;let Ee=0;const we=new Map;const Ie=new Map;const Ne=new Map;const Me=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const N=j.watch(E);this.watcher=N;N.on("change",((E,N)=>{for(const R of this.watchers){R.emit("change",E,N)}}));N.on("error",(E=>{for(const N of this.watchers){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.watchers){N.emit("error",E)}}))}Ee++}add(E){Me.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Ne.delete(this.filePath);Ee--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const N=j.watch(E,{recursive:true});this.watcher=N;N.on("change",((E,N)=>{if(!N){if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const N of this.mapWatcherToPath.keys()){N.emit("change",E)}}else{const R=$.dirname(N);const j=this.mapPathToWatchers.get(R);if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${N}' to ${j?j.size:0} watchers\n`)}if(j===undefined)return;for(const R of j){R.emit("change",E,$.basename(N))}}}));N.on("error",(E=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}Ee++;if(_e){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,N){Me.set(N,this);const R=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(N,R);const j=this.mapPathToWatchers.get(R);if(j===undefined){const E=new Set;E.add(N);this.mapPathToWatchers.set(R,E)}else{j.add(N)}}remove(E){const N=this.mapWatcherToPath.get(E);if(!N)return;this.mapWatcherToPath.delete(E);const R=this.mapPathToWatchers.get(N);R.delete(E);if(R.size===0){this.mapPathToWatchers.delete(N)}if(this.mapWatcherToPath.size===0){Ie.delete(this.rootPath);Ee--;if(this.watcher)this.watcher.close();if(_e){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends q{close(){if(we.has(this)){we.delete(this);return}const E=Me.get(this);E.remove(this);Me.delete(this)}}const createDirectWatcher=E=>{const N=Ne.get(E);if(N!==undefined)return N;const R=new DirectWatcher(E);Ne.set(E,R);return R};const createRecursiveWatcher=E=>{const N=Ie.get(E);if(N!==undefined)return N;const R=new RecursiveWatcher(E);Ie.set(E,R);return R};const execute=()=>{const E=new Map;const addWatcher=(N,R)=>{const j=E.get(R);if(j===undefined){E.set(R,N)}else if(Array.isArray(j)){j.push(N)}else{E.set(R,[j,N])}};for(const[E,N]of we){addWatcher(E,N)}we.clear();if(!ce||le-Ee>=E.size){for(const[N,R]of E){const E=createDirectWatcher(N);if(Array.isArray(R)){for(const N of R)E.add(N)}else{E.add(R)}}return}for(const E of Ie.values()){for(const[N,R]of E.getWatchers()){addWatcher(N,$.join(E.rootPath,R))}}for(const E of Ne.values()){for(const N of E.getWatchers()){addWatcher(N,E.filePath)}}const N=G(E,le*.9);for(const[E,R]of N){if(R.size===1){for(const[E,N]of R){const R=createDirectWatcher(N);const j=Me.get(E);if(j===R)continue;R.add(E);if(j!==undefined)j.remove(E)}}else{const N=new Set(R.values());if(N.size>1){const N=createRecursiveWatcher(E);for(const[E,j]of R){const R=Me.get(E);if(R===N)continue;N.add(j,E);if(R!==undefined)R.remove(E)}}else{for(const E of N){const N=createDirectWatcher(E);for(const E of R.keys()){const R=Me.get(E);if(R===N)continue;N.add(E);if(R!==undefined)R.remove(E)}}}}}};N.watch=E=>{const N=new Watcher;const R=Ne.get(E);if(R!==undefined){R.add(N);return N}let j=E;for(;;){const R=Ie.get(j);if(R!==undefined){R.add(E,N);return N}const q=$.dirname(j);if(q===j)break;j=q}we.set(N,E);if(!Te)execute();return N};N.batch=E=>{Te=true;try{E()}finally{Te=false;execute()}};N.getNumberOfWatchers=()=>Ee},92512:(E,N,R)=>{"use strict";const j=R(53982);const $=R(99181);const q=R(82361).EventEmitter;const G=R(70554);const ie=R(68862);const ae=[];const ce={};function addWatchersToSet(E,N){for(const R of E){const E=R.watcher;if(!N.has(E.directoryWatcher)){N.add(E.directoryWatcher)}}}const stringToRegexp=E=>{const N=G(E,{globstar:true,extended:true}).source;const R=N.slice(0,N.length-1)+"(?:$|\\/)";return R};const ignoredToFunction=E=>{if(Array.isArray(E)){const N=new RegExp(E.map((E=>stringToRegexp(E))).join("|"));return E=>N.test(E.replace(/\\/g,"/"))}else if(typeof E==="string"){const N=new RegExp(stringToRegexp(E));return E=>N.test(E.replace(/\\/g,"/"))}else if(E instanceof RegExp){return N=>E.test(N.replace(/\\/g,"/"))}else if(E instanceof Function){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return()=>false}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToFunction(E.ignored),poll:E.poll});const le=new WeakMap;const cachedNormalizeOptions=E=>{const N=le.get(E);if(N!==undefined)return N;const R=normalizeOptions(E);le.set(E,R);return R};class WatchpackFileWatcher{constructor(E,N,R){this.files=Array.isArray(R)?R:[R];this.watcher=N;N.on("initial-missing",(N=>{for(const R of this.files){if(!E._missing.has(R))E._onRemove(R,R,N)}}));N.on("change",((N,R)=>{for(const j of this.files){E._onChange(j,N,j,R)}}));N.on("remove",(N=>{for(const R of this.files){E._onRemove(R,R,N)}}))}update(E){if(!Array.isArray(E)){if(this.files.length!==1){this.files=[E]}else if(this.files[0]!==E){this.files[0]=E}}else{this.files=E}}close(){this.watcher.close()}}class WatchpackDirectoryWatcher{constructor(E,N,R){this.directories=Array.isArray(R)?R:[R];this.watcher=N;N.on("initial-missing",(N=>{for(const R of this.directories){E._onRemove(R,R,N)}}));N.on("change",((N,R,j)=>{for(const $ of this.directories){E._onChange($,R,N,j)}}));N.on("remove",(N=>{for(const R of this.directories){E._onRemove(R,R,N)}}))}update(E){if(!Array.isArray(E)){if(this.directories.length!==1){this.directories=[E]}else if(this.directories[0]!==E){this.directories[0]=E}}else{this.directories=E}}close(){this.watcher.close()}}class Watchpack extends q{constructor(E){super();if(!E)E=ce;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=j(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this._missing=new Set;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,N,R){let j,q,G,ce;if(!N){({files:j=ae,directories:q=ae,missing:G=ae,startTime:ce}=E)}else{j=E;q=N;G=ae;ce=R}this.paused=false;const le=this.fileWatchers;const _e=this.directoryWatchers;const Te=this.watcherOptions.ignored;const filter=E=>!Te(E);const addToMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,R)}else if(Array.isArray(j)){j.push(R)}else{E.set(N,[j,R])}};const Ee=new Map;const we=new Map;const Ie=new Set;if(this.watcherOptions.followSymlinks){const E=new $;for(const N of j){if(filter(N)){for(const R of E.resolve(N)){if(N===R||filter(R)){addToMap(Ee,R,N)}}}}for(const N of G){if(filter(N)){for(const R of E.resolve(N)){if(N===R||filter(R)){Ie.add(N);addToMap(Ee,R,N)}}}}for(const N of q){if(filter(N)){let R=true;for(const j of E.resolve(N)){if(filter(j)){addToMap(R?we:Ee,j,N)}R=false}}}}else{for(const E of j){if(filter(E)){addToMap(Ee,E,E)}}for(const E of G){if(filter(E)){Ie.add(E);addToMap(Ee,E,E)}}for(const E of q){if(filter(E)){addToMap(we,E,E)}}}for(const[E,N]of le){const R=Ee.get(E);if(R===undefined){N.close();le.delete(E)}else{N.update(R);Ee.delete(E)}}for(const[E,N]of _e){const R=we.get(E);if(R===undefined){N.close();_e.delete(E)}else{N.update(R);we.delete(E)}}ie.batch((()=>{for(const[E,N]of Ee){const R=this.watcherManager.watchFile(E,ce);if(R){le.set(E,new WatchpackFileWatcher(this,R,N))}}for(const[E,N]of we){const R=this.watcherManager.watchDirectory(E,ce);if(R){_e.set(E,new WatchpackDirectoryWatcher(this,R,N))}}}));this._missing=Ie;this.startTime=ce}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const N=Object.create(null);for(const R of E){const E=R.getTimes();for(const R of Object.keys(E))N[R]=E[R]}return N}getTimeInfoEntries(){const E=new Map;this.collectTimeInfoEntries(E,E);return E}collectTimeInfoEntries(E,N){const R=new Set;addWatchersToSet(this.fileWatchers.values(),R);addWatchersToSet(this.directoryWatchers.values(),R);const j={value:0};for(const $ of R){$.collectTimeInfoEntries(E,N,j)}}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:N}}_onChange(E,N,R,j){R=R||E;if(!this.paused){this.emit("change",R,N,j);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,N,R){N=N||E;if(!this.paused){this.emit("remove",N,R);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,N)}}E.exports=Watchpack},70417:(E,N,R)=>{"use strict";const j=R(12112);const $=R(22938);const q=R(83088);const G=R(53931);const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return N};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return N};class CachedSource extends j{constructor(E,N){super();this._source=E;this._cachedSourceType=N?N.source:undefined;this._cachedSource=undefined;this._cachedBuffer=N?N.buffer:undefined;this._cachedSize=N?N.size:undefined;this._cachedMaps=N?N.maps:new Map;this._cachedHashUpdate=N?N.hash:undefined}getCachedData(){const E=new Map;for(const N of this._cachedMaps){let R=N[1];if(R.bufferedMap===undefined){R.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(R))}E.set(N[0],{map:undefined,bufferedMap:R.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){const E=this._getMapFromCacheEntry(R);return{source:this.source(),map:E}}let j=this._getCachedSource();let $;if(j!==undefined){$=this.original().map(E)}else{const N=this.original().sourceAndMap(E);j=N.source;$=N.map;this._cachedSource=j}this._cachedMaps.set(N,{map:$,bufferedMap:undefined});return{source:j,map:$}}streamChunks(E,N,R,j){const ie=E?JSON.stringify(E):"{}";if(this._cachedMaps.has(ie)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:G,map:ie}=this.sourceAndMap(E);if(ie){return $(G,ie,N,R,j,!!(E&&E.finalSource),true)}else{return q(G,N,R,j,!!(E&&E.finalSource))}}const{result:ae,source:ce,map:le}=G(this.original(),E,N,R,j);this._cachedSource=ce;this._cachedMaps.set(ie,{map:le,bufferedMap:undefined});return ae}map(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){return this._getMapFromCacheEntry(R)}const j=this.original().map(E);this._cachedMaps.set(N,{map:j,bufferedMap:undefined});return j}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const N of this._cachedHashUpdate)E.update(N);return}const N=[];let R=undefined;const j={update:E=>{if(typeof E==="string"&&E.length<10240){if(R===undefined){R=E}else{R+=E;if(R.length>102400){N.push(Buffer.from(R));R=undefined}}}else{if(R!==undefined){N.push(Buffer.from(R));R=undefined}N.push(E)}}};this.original().updateHash(j);if(R!==undefined){N.push(Buffer.from(R))}for(const R of N)E.update(R);this._cachedHashUpdate=N}}E.exports=CachedSource},90469:(E,N,R)=>{"use strict";const j=R(12112);class CompatSource extends j{static from(E){return E instanceof j?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},52388:(E,N,R)=>{"use strict";const j=R(12112);const $=R(57902);const q=R(38589);const{getMap:G,getSourceAndMap:ie}=R(40223);const ae=new WeakSet;class ConcatSource extends j{constructor(){super();this._children=[];for(let E=0;E{const Ne=R+$;const Me=R===1?j+G:j;if(_e){if(R!==1||j!==0){N(undefined,$+1,G,-1,-1,-1,-1)}_e=false}const Le=q<0||q>=Ee.length?-1:Ee[q];const Be=Te<0||Te>=we.length?-1:we[Te];Ie=Le<0?0:R;if(ce){if(E!==undefined)le+=E;if(Le>=0){N(undefined,Ne,Me,Le,ie,ae,Be)}}else{if(Le<0){N(E,Ne,Me,-1,-1,-1,-1)}else{N(E,Ne,Me,Le,ie,ae,Be)}}}),((E,N,j)=>{let $=ie.get(N);if($===undefined){ie.set(N,$=ie.size);R($,N,j)}Ee[E]=$}),((E,N)=>{let R=ae.get(N);if(R===undefined){ae.set(N,R=ae.size);j(R,N)}we[E]=R}));if(Le!==undefined)le+=Le;if(_e){if(Ne!==1||Me!==0){N(undefined,$+1,G,-1,-1,-1,-1);_e=false}}if(Ne>1){G=Me}else{G+=Me}_e=_e||ce&&Ie===Ne;$+=Ne-1}return{generatedLine:$+1,generatedColumn:G,source:ce?le:undefined}}updateHash(E){if(!this._isOptimized)this._optimize();E.update("ConcatSource");for(const N of this._children){N.updateHash(E)}}_optimize(){const E=[];let N=undefined;let R=undefined;const addStringToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E)}else{R=[typeof R==="string"?R:R.source(),E]}};const addSourceToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E.source())}else{R=[typeof R==="string"?R:R.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(R)){const N=new $(R.join(""));ae.add(N);E.push(N)}else if(typeof R==="string"){const N=new $(R);ae.add(N);E.push(N)}else{E.push(R)}};for(const j of this._children){if(typeof j==="string"){if(N===undefined){N=j}else{N+=j}}else{if(N!==undefined){addStringToRawSources(N);N=undefined}if(ae.has(j)){addSourceToRawSources(j)}else{if(R!==undefined){mergeRawSources();R=undefined}E.push(j)}}}if(N!==undefined){addStringToRawSources(N)}if(R!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},57579:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(40223);const q=R(23321);const G=R(73548);const ie=R(12112);const ae=R(4280);class OriginalSource extends ie{constructor(E,N){super();const R=Buffer.isBuffer(E);this._value=R?undefined:E;this._valueAsBuffer=R?E:undefined;this._name=N}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return j(this,E)}sourceAndMap(E){return $(this,E)}streamChunks(E,N,R,j){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}R(0,this._name,this._value);const $=!!(E&&E.finalSource);if(!E||E.columns!==false){const E=ae(this._value);let R=1;let j=0;if(E!==null){for(const q of E){const E=q.endsWith("\n");if(E&&q.length===1){if(!$)N(q,R,j,-1,-1,-1,-1)}else{const E=$?undefined:q;N(E,R,j,0,R,j,-1)}if(E){R++;j=0}else{j+=q.length}}}return{generatedLine:R,generatedColumn:j,source:$?this._value:undefined}}else if($){const E=G(this._value);const{generatedLine:R,generatedColumn:j}=E;if(j===0){for(let E=1;E{"use strict";const j=R(12112);const $=R(57902);const q=R(38589);const{getMap:G,getSourceAndMap:ie}=R(40223);const ae=/\n(?=.|\s)/g;class PrefixSource extends j{constructor(E,N){super();this._source=typeof N==="string"||Buffer.isBuffer(N)?new $(N,true):N;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const N=this._prefix;return N+E.replace(ae,"\n"+N)}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,N,R,j){const $=this._prefix;const G=$.length;const ie=!!(E&&E.columns===false);const{generatedLine:ce,generatedColumn:le,source:_e}=q(this._source,E,((E,R,j,q,ae,ce,le)=>{if(j!==0){j+=G}else if(E!==undefined){if(ie||q<0){E=$+E}else if(G>0){N($,R,j,-1,-1,-1,-1);j+=G}}else if(!ie){j+=G}N(E,R,j,q,ae,ce,le)}),R,j);return{generatedLine:ce,generatedColumn:le===0?0:G+le,source:_e!==undefined?$+_e.replace(ae,"\n"+$):undefined}}updateHash(E){E.update("PrefixSource");this._source.updateHash(E);E.update(this._prefix)}}E.exports=PrefixSource},57902:(E,N,R)=>{"use strict";const j=R(83088);const $=R(12112);class RawSource extends ${constructor(E,N=false){super();const R=Buffer.isBuffer(E);if(!R&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!N&&R;this._value=N&&R?undefined:E;this._valueAsBuffer=R?E:undefined;this._valueAsString=R?undefined:E}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}streamChunks(E,N,R,$){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return j(this._valueAsString,N,R,$,!!(E&&E.finalSource))}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},1324:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(40223);const q=R(38589);const G=R(12112);const ie=R(23321);const ae=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const ce=536870912;class Replacement{constructor(E,N,R,j){this.start=E;this.end=N;this.content=R;this.name=j;if(!ae){this.index=-1}}}class ReplaceSource extends G{constructor(E,N){super();this._source=E;this._name=N;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(E,N,R,j){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R);this._replacements.push(new Replacement(E,N,R,j));this._isSorted=false}insert(E,N,R){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N+": "+N);this._replacements.push(new Replacement(E,E-1,N,R));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let E=this._source.source();let N=0;const R=[];this._sortReplacements();for(const j of this._replacements){const $=Math.floor(j.start);const q=Math.floor(j.end+1);if(N<$){const j=$-N;R.push(E.slice(0,j));E=E.slice(j);N=$}R.push(j.content);if(NE.index=N));this._replacements.sort((function(E,N){const R=E.start-N.start;if(R!==0)return R;const j=E.end-N.end;if(j!==0)return j;return E.index-N.index}))}this._isSorted=true}streamChunks(E,N,R,j){this._sortReplacements();const $=this._replacements;let G=0;let ae=0;let le=-1;let _e=ae<$.length?Math.floor($[ae].start):ce;let Te=0;let Ee=0;let we=0;const Ie=[];const Ne=new Map;const Me=[];const checkOriginalContent=(E,N,R,j)=>{let $=E{let Ue=0;let ze=G+E.length;if(le>G){if(le>=ze){const N=R+Te;if(E.endsWith("\n")){Te--;if(we===N){Ee+=q}}else if(we===N){Ee-=E.length}else{Ee=-E.length;we=N}G=ze;return}Ue=le-G;if(checkOriginalContent(Ie,Le,Be,E.slice(0,Ue))){Be+=Ue}G+=Ue;const N=R+Te;if(we===N){Ee-=Ue}else{Ee=-Ue;we=N}q+=Ue}if(_eG){const R=_e-G;const j=E.slice(Ue,Ue+R);N(j,We,q+(We===we?Ee:0),Ie,Le,Be,je<0||je>=Me.length?-1:Me[je]);q+=R;Ue+=R;G=_e;if(checkOriginalContent(Ie,Le,Be,j)){Be+=j.length}}const{content:Je,name:Ve}=$[ae];let qe=ie(Je);let He=je;if(Ie>=0&&Ve){let E=Ne.get(Ve);if(E===undefined){E=Ne.size;Ne.set(Ve,E);j(E,Ve)}He=E}for(let E=0;E0){if(le>=ze){let N=R+Te;if(E.endsWith("\n")){Te--;if(we===N){Ee+=q}}else if(we===N){Ee-=E.length-Ue}else{Ee=Ue-E.length;we=N}G=ze;return}const N=R+Te;if(checkOriginalContent(Ie,Le,Be,E.slice(Ue,Ue+Ge))){Be+=Ge}Ue+=Ge;G+=Ge;if(we===N){Ee-=Ge}else{Ee=-Ge;we=N}q+=Ge}}while(_e{while(Ie.length{let R=Ne.get(N);if(R===undefined){R=Ne.size;Ne.set(N,R);j(R,N)}Me[E]=R}));let je="";for(;ae<$.length;ae++){je+=$[ae].content}let Ue=Le+Te;let ze=ie(je);for(let E=0;E{"use strict";const j=R(12112);class SizeOnlySource extends j{constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},12112:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},84172:(E,N,R)=>{"use strict";const j=R(12112);const $=R(22938);const q=R(64507);const{getMap:G,getSourceAndMap:ie}=R(40223);class SourceMapSource extends j{constructor(E,N,R,j,$,q){super();const G=Buffer.isBuffer(E);this._valueAsString=G?undefined:E;this._valueAsBuffer=G?E:undefined;this._name=N;this._hasSourceMap=!!R;const ie=Buffer.isBuffer(R);const ae=typeof R==="string";this._sourceMapAsObject=ie||ae?undefined:R;this._sourceMapAsString=ae?R:undefined;this._sourceMapAsBuffer=ie?R:undefined;this._hasOriginalSource=!!j;const ce=Buffer.isBuffer(j);this._originalSourceAsString=ce?undefined:j;this._originalSourceAsBuffer=ce?j:undefined;this._hasInnerSourceMap=!!$;const le=Buffer.isBuffer($);const _e=typeof $==="string";this._innerSourceMapAsObject=le||_e?undefined:$;this._innerSourceMapAsString=_e?$:undefined;this._innerSourceMapAsBuffer=le?$:undefined;this._removeOriginalSource=q}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return G(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return ie(this,E)}streamChunks(E,N,R,j){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return q(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}else{return $(this._valueAsString,this._sourceMapAsObject,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},96588:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const R=32;const createMappingsSerializer=E=>{const N=E&&E.columns===false;return N?createLinesOnlyMappingsSerializer():createFullMappingsSerializer()};const createFullMappingsSerializer=()=>{let E=1;let j=0;let $=0;let q=1;let G=0;let ie=0;let ae=false;let ce=false;let le=true;return(_e,Te,Ee,we,Ie,Ne)=>{if(ae&&E===_e){if(Ee===$&&we===q&&Ie===G&&!ce&&Ne<0){return""}}else{if(Ee<0){return""}}let Me;if(E<_e){Me=";".repeat(_e-E);E=_e;j=0;le=false}else if(le){Me="";le=false}else{Me=","}const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Me+=N[E];break}else{Me+=N[E|R]}}};writeValue(Te-j);j=Te;if(Ee>=0){ae=true;if(Ee===$){Me+="A"}else{writeValue(Ee-$);$=Ee}writeValue(we-q);q=we;if(Ie===G){Me+="A"}else{writeValue(Ie-G);G=Ie}if(Ne>=0){writeValue(Ne-ie);ie=Ne;ce=true}else{ce=false}}else{ae=false}return Me}};const createLinesOnlyMappingsSerializer=()=>{let E=0;let j=1;let $=0;let q=1;return(G,ie,ae,ce,le,_e)=>{if(ae<0){return""}if(E===G){return""}let Te;const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Te+=N[E];break}else{Te+=N[E|R]}}};E=G;if(G===j+1){j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return";AACA"}else{Te=";AA";writeValue(ce-q);q=ce;return Te+"A"}}else{Te=";A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Te+"A"}}else{Te=";".repeat(G-j);j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return Te+"AACA"}else{Te+="AA";writeValue(ce-q);q=ce;return Te+"A"}}else{Te+="A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Te+"A"}}}};E.exports=createMappingsSerializer},40223:(E,N,R)=>{"use strict";const j=R(96588);N.getSourceAndMap=(E,N)=>{let R="";let $="";let q=[];let G=[];let ie=[];const ae=j(N);const{source:ce}=E.streamChunks(Object.assign({},N,{finalSource:true}),((E,N,j,q,G,ie,ce)=>{if(E!==undefined)R+=E;$+=ae(N,j,q,G,ie,ce)}),((E,N,R)=>{while(q.length{while(ie.length0?{version:3,file:"x",mappings:$,sources:q,sourcesContent:G.length>0?G:undefined,names:ie}:null}};N.getMap=(E,N)=>{let R="";let $=[];let q=[];let G=[];const ie=j(N);E.streamChunks(Object.assign({},N,{source:false,finalSource:true}),((E,N,j,$,q,G,ae)=>{R+=ie(N,j,$,q,G,ae)}),((E,N,R)=>{while($.length{while(G.length0?{version:3,file:"x",mappings:R,sources:$,sourcesContent:q.length>0?q:undefined,names:G}:null}},73548:E=>{"use strict";const N="\n".charCodeAt(0);const getGeneratedSourceInfo=E=>{if(E===undefined){return{}}const R=E.lastIndexOf("\n");if(R===-1){return{generatedLine:1,generatedColumn:E.length,source:E}}let j=2;for(let $=0;${"use strict";const getSource=(E,N)=>{if(N<0)return null;const{sourceRoot:R,sources:j}=E;const $=j[N];if(!R)return $;if(R.endsWith("/"))return R+$;return R+"/"+$};E.exports=getSource},68098:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const R=32;const j=64;const $=j|1;const q=j|2;const G=31;const ie=new Uint8Array("z".charCodeAt(0)+1);{ie.fill(q);for(let E=0;E{const q=new Uint32Array([0,0,1,0,0]);let ce=0;let le=0;let _e=0;let Te=1;let Ee=-1;for(let we=0;weae)continue;const Ne=ie[Ie];if((Ne&j)!==0){if(q[0]>Ee){if(ce===1){N(Te,q[0],-1,-1,-1,-1)}else if(ce===4){N(Te,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Te,q[0],q[1],q[2],q[3],q[4])}Ee=q[0]}ce=0;if(Ne===$){Te++;q[0]=0;Ee=-1}}else if((Ne&R)===0){le|=Ne<<_e;const E=le&1?-(le>>1):le>>1;q[ce++]+=E;_e=0;le=0}else{le|=(Ne&G)<<_e;_e+=5}}if(ce===1){N(Te,q[0],-1,-1,-1,-1)}else if(ce===4){N(Te,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Te,q[0],q[1],q[2],q[3],q[4])}};E.exports=readMappings},23321:E=>{const splitIntoLines=E=>{const N=[];const R=E.length;let j=0;for(;j{const splitIntoPotentialTokens=E=>{const N=E.length;if(N===0)return null;const R=[];let j=0;for(;j=N)break e;R=E.charCodeAt(j)}while(R===59||R===32||R===123||R===125||R===13||R===9){if(++j>=N)break e;R=E.charCodeAt(j)}if(R===10){j++}}R.push(E.slice($,j))}return R};E.exports=splitIntoPotentialTokens},53931:(E,N,R)=>{"use strict";const j=R(96588);const $=R(38589);const streamAndGetSourceAndMap=(E,N,R,q,G)=>{let ie="";let ae="";let ce=[];let le=[];let _e=[];const Te=j(Object.assign({},N,{columns:true}));const Ee=!!(N&&N.finalSource);const{generatedLine:we,generatedColumn:Ie,source:Ne}=$(E,N,((E,N,j,$,q,G,ce)=>{if(E!==undefined)ie+=E;ae+=Te(N,j,$,q,G,ce);return R(Ee?undefined:E,N,j,$,q,G,ce)}),((E,N,R)=>{while(ce.length{while(_e.length0?{version:3,file:"x",mappings:ae,sources:ce,sourcesContent:le.length>0?le:undefined,names:_e}:null}};E.exports=streamAndGetSourceAndMap},38589:(E,N,R)=>{"use strict";const j=R(83088);const $=R(22938);E.exports=(E,N,R,q,G)=>{if(typeof E.streamChunks==="function"){return E.streamChunks(N,R,q,G)}else{const ie=E.sourceAndMap(N);if(ie.map){return $(ie.source,ie.map,R,q,G,!!(N&&N.finalSource),!!(N&&N.columns!==false))}else{return j(ie.source,R,q,G,!!(N&&N.finalSource))}}}},64507:(E,N,R)=>{"use strict";const j=R(22938);const $=R(23321);const streamChunksOfCombinedSourceMap=(E,N,R,q,G,ie,ae,ce,le,_e,Te)=>{let Ee=new Map;let we=new Map;const Ie=[];const Ne=[];const Me=[];let Le=-2;const Be=[];const je=[];const Ue=[];const ze=[];const We=[];const Je=[];const Ve=[];const findInnerMapping=(E,N)=>{if(E>Ve.length)return-1;const{mappingsData:R}=Ve[E-1];let j=0;let $=R.length/5;while(j<$){let E=j+$>>1;if(R[E*5]<=N){j=E+1}else{$=E}}if(j===0)return-1;return j-1};return j(E,N,((N,j,G,_e,Te,qe,He)=>{if(_e===Le){const Le=findInnerMapping(Te,qe);if(Le!==-1){const{chunks:E,mappingsData:R}=Ve[Te-1];const q=Le*5;const ie=R[q+1];const _e=R[q+2];let Ie=R[q+3];let Ge=R[q+4];if(ie>=0){const Te=E[Le];const Ve=R[q];const Ke=qe-Ve;if(Ke>0){let E=ie=0){Xe=Ge=0){let E=ze[ie];if(E===undefined){const N=Ue[ie];E=N?$(N):null;ze[ie]=E}if(E!==null){const N=Me[He];const R=_e<=E.length?E[_e-1].slice(Ie,Ie+N.length):"";if(N===R){Xe=He=Ie.length?-1:Ie[_e];if(Ge<0){ae(N,j,G,-1,-1,-1,-1)}else{let E=-1;if(He>=0&&He{if(N===R){Le=E;if(q!==undefined)$=q;else q=$;Ie[E]=-2;j($,G,((E,N,R,j,$,q,G)=>{while(Ve.length{Ue[E]=R;ze[E]=undefined;Be[E]=-2;je[E]=[N,R]}),((E,N)=>{We[E]=-2;Je[E]=N}),false,Te)}else{let R=Ee.get(N);if(R===undefined){Ee.set(N,R=Ee.size);ce(R,N,$)}Ie[E]=R}}),((E,N)=>{Ne[E]=-2;Me[E]=N}),_e,Te)};E.exports=streamChunksOfCombinedSourceMap},83088:(E,N,R)=>{"use strict";const j=R(73548);const $=R(23321);const streamChunksOfRawSource=(E,N,R,j)=>{let q=1;const G=$(E);let ie;for(ie of G){N(ie,q,0,-1,-1,-1,-1);q++}return G.length===0||ie.endsWith("\n")?{generatedLine:G.length+1,generatedColumn:0}:{generatedLine:G.length,generatedColumn:ie.length}};E.exports=(E,N,R,$,q)=>q?j(E):streamChunksOfRawSource(E,N,R,$)},22938:(E,N,R)=>{"use strict";const j=R(73548);const $=R(98056);const q=R(68098);const G=R(23321);const streamChunksOfSourceMapFull=(E,N,R,j,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,names:_e,mappings:Te}=N;for(let E=0;E{if(Be&&Me<=ae.length){let j;const $=Me;const q=Le;const G=ae[Me-1];if(E!==Me){j=G.slice(Le);Me++;Le=0}else{j=G.slice(Le,N);Le=N}if(j){R(j,$,q,je,Ue,ze,We)}Be=false}if(E>Me&&Le>0){if(Me<=ae.length){const E=ae[Me-1].slice(Le);R(E,Me,Le,-1,-1,-1,-1)}Me++;Le=0}while(E>Me){if(Me<=ae.length){R(ae[Me-1],Me,0,-1,-1,-1,-1)}Me++}if(N>Le){if(Me<=ae.length){const E=ae[Me-1].slice(Le,N);R(E,Me,Le,-1,-1,-1,-1)}Le=N}if(j>=0&&(E{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,mappings:_e}=N;for(let E=0;E{if(j<0||Eae.length){return}while(E>Te){if(Te<=ae.length){R(ae[Te-1],Te,0,-1,-1,-1,-1)}Te++}if(E<=ae.length){R(ae[E-1],E,0,j,$,q,-1);Te++}};q(_e,onMapping);for(;Te<=ae.length;Te++){R(ae[Te-1],Te,0,-1,-1,-1,-1)}const Ee=ae[ae.length-1];const we=Ee.endsWith("\n");const Ie=we?ae.length+1:ae.length;const Ne=we?0:Ee.length;return{generatedLine:Ie,generatedColumn:Ne}};const streamChunksOfSourceMapFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0)return ae;const{sources:_e,sourcesContent:Te,names:Ee,mappings:we}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Te&&Te[E]||undefined)}if(Ee){for(let E=0;E{if(E>=ce&&(N>=le||E>ce)){return}if(j>=0){R(undefined,E,N,j,$,q,G);Ie=E}else if(Ie===E){R(undefined,E,N,-1,-1,-1,-1);Ie=0}};q(we,onMapping);return ae};const streamChunksOfSourceMapLinesFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0){return{generatedLine:1,generatedColumn:0}}const{sources:_e,sourcesContent:Te,mappings:Ee}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Te&&Te[E]||undefined)}const we=le===0?ce-1:ce;let Ie=1;const onMapping=(E,N,j,$,q,G)=>{if(j>=0&&Ie<=E&&E<=we){R(undefined,E,0,j,$,q,-1);Ie=E+1}};q(Ee,onMapping);return ae};E.exports=(E,N,R,j,$,q,G)=>{if(G){return q?streamChunksOfSourceMapFinal(E,N,R,j,$):streamChunksOfSourceMapFull(E,N,R,j,$)}else{return q?streamChunksOfSourceMapLinesFinal(E,N,R,j,$):streamChunksOfSourceMapLinesFull(E,N,R,j,$)}}},2991:(E,N,R)=>{const defineExport=(E,R)=>{let j;Object.defineProperty(N,E,{get:()=>{if(R!==undefined){j=R();R=undefined}return j},configurable:true})};defineExport("Source",(()=>R(12112)));defineExport("RawSource",(()=>R(57902)));defineExport("OriginalSource",(()=>R(57579)));defineExport("SourceMapSource",(()=>R(84172)));defineExport("CachedSource",(()=>R(70417)));defineExport("ConcatSource",(()=>R(52388)));defineExport("ReplaceSource",(()=>R(1324)));defineExport("PrefixSource",(()=>R(69852)));defineExport("SizeOnlySource",(()=>R(63683)));defineExport("CompatSource",(()=>R(90469)))},32323:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{toConstantDependency:ie,evaluateToString:ae}=R(48472);const ce=R(64255);const le=R(75948);const _e={__webpack_require__:{expr:j.require,req:[j.require],type:"function",assign:false},__webpack_public_path__:{expr:j.publicPath,req:[j.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:j.baseURI,req:[j.baseURI],type:"string",assign:true},__webpack_modules__:{expr:j.moduleFactories,req:[j.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:j.ensureChunk,req:[j.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:j.scriptNonce,req:[j.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${j.getFullHash}()`,req:[j.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:j.chunkName,req:[j.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:j.getChunkScriptFilename,req:[j.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:j.runtimeId,req:[j.runtimeId],assign:false},"require.onError":{expr:j.uncaughtErrorHandler,req:[j.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:j.systemContext,req:[j.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:j.shareScopeMap,req:[j.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:j.initializeSharing,req:[j.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.hooks.runtimeRequirementInTree.for(j.chunkName).tap("APIPlugin",(N=>{E.addRuntimeModule(N,new ce(N.name));return true}));E.hooks.runtimeRequirementInTree.for(j.getFullHash).tap("APIPlugin",((N,R)=>{E.addRuntimeModule(N,new le);return true}));const handler=E=>{Object.keys(_e).forEach((N=>{const R=_e[N];E.hooks.expression.for(N).tap("APIPlugin",ie(E,R.expr,R.req));if(R.assign===false){E.hooks.assign.for(N).tap("APIPlugin",(E=>{const R=new $(`${N} must not be assigned`);R.loc=E.loc;throw R}))}if(R.type){E.hooks.evaluateTypeof.for(N).tap("APIPlugin",ae(R.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(N=>{const R=new q(JSON.stringify(E.state.module.layer),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(N=>(E.state.module.layer===null?(new G).setNull():(new G).setString(E.state.module.layer)).setRange(N.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(N=>(new G).setString(E.state.module.layer===null?"object":"string").setRange(N.range)))};N.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);N.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,N,R)=>{"use strict";const j=R(81627);const $=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match($);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends j{constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,N,R)=>{"use strict";const j=R(32448);const $=R(56202);class AsyncDependenciesBlock extends j{constructor(E,N,R){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=N;this.request=R;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){if(this.groupOptions.name!==E){this.groupOptions.name=E;this._stringifiedGroupOptions=undefined}}updateHash(E,N){const{chunkGraph:R}=N;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const j=R.getBlockChunkGroup(this);E.update(`${this._stringifiedGroupOptions}${j?j.id:""}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.groupOptions);N(this.loc);N(this.request);super.serialize(E)}deserialize(E){const{read:N}=E;this.groupOptions=N();this.loc=N();this.request=N();super.deserialize(E)}}$(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,N,R)=>{"use strict";const j=R(81627);class AsyncDependencyToInitialChunkError extends j{constructor(E,N,R){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=N;this.loc=R}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,N,R)=>{"use strict";const j=R(62355);const $=R(53520);const q=R(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));let N=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{N=[];for(const R of E.modules){if(R instanceof $){N.push({context:R.context,request:R.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((R,$)=>{if(!N)return $();j.forEach(N,((N,j)=>{R.addModuleChain(N.context||E.context,new q(`!!${N.request}`),j)}),(E=>{N=null;$(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const $=R(3080);const q=R(70354);const G=R(58159);const ie=R(35817);const ae=ie(R(50879),(()=>R(87298)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return G.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}ae(E);this.options=E;const N=E.banner;if(typeof N==="function"){const E=N;this.banner=this.options.raw?E:N=>wrapComment(E(N))}else{const E=this.options.raw?N:wrapComment(N);this.banner=()=>E}}apply(E){const N=this.options;const R=this.banner;const G=q.matchObject.bind(undefined,N);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:$.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const $ of E.chunks){if(N.entryOnly&&!$.canBeInitial()){continue}for(const N of $.files){if(!G(N)){continue}const q={chunk:$,filename:N};const ie=E.getPath(R,q);E.updateAsset(N,(E=>new j(ie,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,N,R)=>{"use strict";const{AsyncParallelHook:j,AsyncSeriesBailHook:$,SyncHook:q}=R(92960);const{makeWebpackError:G,makeWebpackErrorCallback:ie}=R(3728);const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=0;return N(R)}};class Cache{constructor(){this.hooks={get:new $(["identifier","etag","gotHandlers"]),store:new j(["identifier","etag","data"]),storeBuildDependencies:new j(["dependencies"]),beginIdle:new q([]),endIdle:new j([]),shutdown:new j([])}}get(E,N,R){const j=[];this.hooks.get.callAsync(E,N,j,((E,N)=>{if(E){R(G(E,"Cache.hooks.get"));return}if(N===null){N=undefined}if(j.length>1){const E=needCalls(j.length,(()=>R(null,N)));for(const R of j){R(N,E)}}else if(j.length===1){j[0](N,(()=>R(null,N)))}else{R(null,N)}}))}store(E,N,R,j){this.hooks.store.callAsync(E,N,R,ie(j,"Cache.hooks.store"))}storeBuildDependencies(E,N){this.hooks.storeBuildDependencies.callAsync(E,ie(N,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ie(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ie(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,N,R)=>{"use strict";const j=R(62355);const $=R(77034);const q=R(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=N=>{this._items[N].get(((R,j)=>{if(R)return E(R);if(j!==undefined)return E(null,j);if(++N>=this._items.length)return E();next(N)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((N=>{if(N!==undefined)return N;if(++EN.store(E,R)),N)}storePromise(E){return Promise.all(this._items.map((N=>N.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._etag=R}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,N)=>{this._cache.get(this._name,this._etag,((R,j)=>{if(R){N(R)}else{E(j)}}))}))}store(E,N){this._cache.store(this._name,this._etag,E,N)}storePromise(E){return new Promise(((N,R)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){R(E)}else{N()}}))}))}provide(E,N){this.get(((R,j)=>{if(R)return N(R);if(j!==undefined)return j;E(((E,R)=>{if(E)return N(E);this.store(R,(E=>{if(E)return N(E);N(null,R)}))}))}))}async providePromise(E){const N=await this.getPromise();if(N!==undefined)return N;const R=await E();await this.storePromise(R);return R}}class CacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._hashFunction=R}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`,this._hashFunction)}getItemCache(E,N){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,N)}getLazyHashedEtag(E){return $(E,this._hashFunction)}mergeEtags(E,N){return q(E,N)}get(E,N,R){this._cache.get(`${this._name}|${E}`,N,R)}getPromise(E,N){return new Promise(((R,j)=>{this._cache.get(`${this._name}|${E}`,N,((E,N)=>{if(E){j(E)}else{R(N)}}))}))}store(E,N,R,j){this._cache.store(`${this._name}|${E}`,N,R,j)}storePromise(E,N,R){return new Promise(((j,$)=>{this._cache.store(`${this._name}|${E}`,N,R,(E=>{if(E){$(E)}else{j()}}))}))}provide(E,N,R,j){this.get(E,N,(($,q)=>{if($)return j($);if(q!==undefined)return q;R(((R,$)=>{if(R)return j(R);this.store(E,N,$,(E=>{if(E)return j(E);j(null,$)}))}))}))}async providePromise(E,N,R){const j=await this.getPromise(E,N);if(j!==undefined)return j;const $=await R();await this.storePromise(E,N,$);return $}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,N,R)=>{"use strict";const j=R(81627);const sortModules=E=>E.sort(((E,N)=>{const R=E.identifier();const j=N.identifier();if(Rj)return 1;return 0}));const createModulesListMessage=(E,N)=>E.map((E=>{let R=`* ${E.identifier()}`;const j=Array.from(N.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if(j.length>0){R+=`\n Used by ${j.length} module(s), i. e.`;R+=`\n ${j[0].identifier()}`}return R})).join("\n");class CaseSensitiveModulesWarning extends j{constructor(E,N){const R=sortModules(Array.from(E));const j=createModulesListMessage(R,N);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${j}`);this.name="CaseSensitiveModulesWarning";this.module=R[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,N,R)=>{"use strict";const j=R(45137);const $=R(71452);const{intersect:q}=R(26221);const G=R(16102);const ie=R(14146);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:ce,compareModulesById:le}=R(68673);const{createArrayToSetDeprecationSet:_e}=R(16595);const{mergeRuntime:Te}=R(37416);const Ee=_e("chunk.files");let we=1e3;class Chunk{constructor(E,N=true){this.id=null;this.ids=null;this.debugId=we++;this.name=E;this.idNameHints=new G;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new G(undefined,ce);this.runtime=undefined;this.files=N?new Ee:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from(j.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return j.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const N=j.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(N.isModuleInChunk(E,this))return false;N.connectChunkAndModule(this,E);return true}removeModule(E){j.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return j.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,ae)}compareTo(E){const N=j.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return N.compareChunks(this,E)}containsModule(E){return j.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return j.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=j.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");R.disconnectChunkAndModule(this,E);R.connectChunkAndModule(N,E)}integrate(E){const N=j.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(N.canChunksBeIntegrated(this,E)){N.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const N=j.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return N.canChunksBeIntegrated(this,E)}isEmpty(){const E=j.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const N=j.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return N.getChunkSize(this,E)}integratedSize(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return R.getIntegratedChunksSize(this,E,N)}getChunkModuleMaps(E){const N=j.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const R=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){let q;for(const G of N.getOrderedChunkModulesIterable(j,le(N))){if(E(G)){if(q===undefined){q=[];R[j.id]=q}const E=N.getModuleId(G);q.push(E);$[E]=N.getRenderedModuleHash(G,undefined)}}}return{id:R,hash:$}}hasModuleInGraph(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return R.hasModuleInGraph(this,E,N)}getChunkMaps(E){const N=Object.create(null);const R=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){N[$.id]=E?$.hash:$.renderedHash;for(const E of Object.keys($.contentHash)){if(!R[E]){R[E]=Object.create(null)}R[E][$.id]=$.contentHash[E]}if($.name){j[$.id]=$.name}}return{hash:N,contentHash:R,name:j}}hasRuntime(){for(const E of this._groups){if(E instanceof $&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof $){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const N of this._groups){N.insertChunk(E,this);E.addGroup(N)}for(const N of this.idNameHints){E.idNameHints.add(N)}E.runtime=Te(E.runtime,this.runtime)}updateHash(E,N){E.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const R=new ie;for(const E of N.getChunkModulesIterable(this)){R.add(N.getModuleHash(E,this.runtime))}R.updateHash(E);const j=N.getChunkEntryModulesWithChunkGroupIterable(this);for(const[R,$]of j){E.update(`entry${N.getModuleId(R)}${$.id}`)}}getAllAsyncChunks(){const E=new Set;const N=new Set;const R=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const j=new Set(this.groupsIterable);for(const N of j){for(const R of N.childrenIterable){if(R instanceof $){j.add(R)}else{E.add(R)}}}for(const j of E){for(const E of j.chunks){if(!R.has(E)){N.add(E)}}for(const N of j.childrenIterable){E.add(N)}}return N}getAllInitialChunks(){const E=new Set;const N=new Set(this.groupsIterable);for(const R of N){if(R.isInitial()){for(const N of R.chunks)E.add(N);for(const E of R.childrenIterable)N.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.chunks){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.asyncEntrypointsIterable){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}hasAsyncChunks(){const E=new Set;const N=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const N of this.groupsIterable){for(const R of N.childrenIterable){E.add(R)}}for(const R of E){for(const E of R.chunks){if(!N.has(E)){return true}}for(const N of R.childrenIterable){E.add(N)}}return false}getChildIdsByOrders(E,N){const R=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const N of E.childrenIterable){for(const E of Object.keys(N.options)){if(E.endsWith("Order")){const j=E.substr(0,E.length-"Order".length);let $=R.get(j);if($===undefined){$=[];R.set(j,$)}$.push({order:N.options[E],group:N})}}}}}const j=Object.create(null);for(const[$,q]of R){q.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const R=new Set;for(const j of q){for(const $ of j.group.chunks){if(N&&!N($,E))continue;R.add($.id)}}if(R.size>0){j[$]=Array.from(R)}}return j}getChildrenOfTypeInOrder(E,N){const R=[];for(const E of this.groupsIterable){for(const j of E.childrenIterable){const $=j.options[N];if($===undefined)continue;R.push({order:$,group:E,childGroup:j})}}if(R.length===0)return undefined;R.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const j=[];let $;for(const{group:E,childGroup:N}of R){if($&&$.onChunks===E.chunks){for(const E of N.chunks){$.chunks.add(E)}}else{j.push($={onChunks:E.chunks,chunks:new Set(N.chunks)})}}return j}getChildIdsByOrdersMap(E,N,R){const j=Object.create(null);const addChildIdsByOrdersToMap=N=>{const $=N.getChildIdsByOrders(E,R);for(const E of Object.keys($)){let R=j[E];if(R===undefined){j[E]=R=Object.create(null)}R[N.id]=$[E]}};if(N){const E=new Set;for(const N of this.groupsIterable){for(const R of N.chunks){E.add(R)}}for(const N of E){addChildIdsByOrdersToMap(N)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return j}}E.exports=Chunk},45137:(E,N,R)=>{"use strict";const j=R(73837);const $=R(71452);const q=R(79900);const{first:G}=R(26221);const ie=R(16102);const{compareModulesById:ae,compareIterables:ce,compareModulesByIdentifier:le,concatComparators:_e,compareSelect:Te,compareIds:Ee}=R(68673);const we=R(35891);const Ie=R(62598);const{RuntimeSpecMap:Ne,RuntimeSpecSet:Me,runtimeToString:Le,mergeRuntime:Be,forEachRuntime:je}=R(37416);const Ue=new Set;const ze=BigInt(0);const We=ce(le);class ModuleHashInfo{constructor(E,N){this.hash=E;this.renderedHash=N}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const N=new Me;for(const R of E){N.add(R.runtime)}return N};const modulesBySourceType=E=>{const N=new Map;for(const R of E){for(const E of R.getSourceTypes()){let j=N.get(E);if(j===undefined){j=new ie;N.set(E,j)}j.add(R)}}for(const[R,j]of N){if(j.size===E.size){N.set(R,E)}}return N};const Je=new WeakMap;const createOrderedArrayFunction=E=>{let N=Je.get(E);if(N!==undefined)return N;N=N=>{N.sortWith(E);return Array.from(N)};Je.set(E,N);return N};const getModulesSize=E=>{let N=0;for(const R of E){for(const E of R.getSourceTypes()){N+=R.size(E)}}return N};const getModulesSizes=E=>{let N=Object.create(null);for(const R of E){for(const E of R.getSourceTypes()){N[E]=(N[E]||0)+R.size(E)}}return N};const isAvailableChunk=(E,N)=>{const R=new Set(N.groupsIterable);for(const N of R){if(E.isInGroup(N))continue;if(N.isInitial())return false;for(const E of N.parentsIterable){R.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ie;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ie;this.entryModules=new Map;this.runtimeModules=new ie;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E,N="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._hashFunction=N;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(E){let N=this._modules.get(E);if(N===undefined){N=new ChunkGraphModule;this._modules.set(E,N)}return N}_getChunkGraphChunk(E){let N=this._chunks.get(E);if(N===undefined){N=new ChunkGraphChunk;this._chunks.set(E,N)}return N}_getGraphRoots(E){const{moduleGraph:N}=this;return Array.from(Ie(E,(E=>{const R=new Set;const addDependencies=E=>{for(const j of N.getOutgoingConnections(E)){if(!j.module)continue;const E=j.getActiveState(undefined);if(E===false)continue;if(E===q.TRANSITIVE_ONLY){addDependencies(j.module);continue}R.add(j.module)}};addDependencies(E);return R}))).sort(le)}connectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.chunks.add(E);j.modules.add(N)}disconnectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);j.modules.delete(N);R.chunks.delete(E)}disconnectChunk(E){const N=this._getChunkGraphChunk(E);for(const R of N.modules){const N=this._getChunkGraphModule(R);N.chunks.delete(E)}N.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.modules.add(E)}}attachRuntimeModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.runtimeModules.add(E)}}attachFullHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;for(const E of N){R.fullHashModules.add(E)}}attachDependentHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;for(const E of N){R.dependentHashModules.add(E)}}replaceModule(E,N){const R=this._getChunkGraphModule(E);const j=this._getChunkGraphModule(N);for(const $ of R.chunks){const R=this._getChunkGraphChunk($);R.modules.delete(E);R.modules.add(N);j.chunks.add($)}R.chunks.clear();if(R.entryInChunks!==undefined){if(j.entryInChunks===undefined){j.entryInChunks=new Set}for(const $ of R.entryInChunks){const R=this._getChunkGraphChunk($);const q=R.entryModules.get(E);const G=new Map;for(const[j,$]of R.entryModules){if(j===E){G.set(N,q)}else{G.set(j,$)}}R.entryModules=G;j.entryInChunks.add($)}R.entryInChunks=undefined}if(R.runtimeInChunks!==undefined){if(j.runtimeInChunks===undefined){j.runtimeInChunks=new Set}for(const $ of R.runtimeInChunks){const R=this._getChunkGraphChunk($);R.runtimeModules.delete(E);R.runtimeModules.add(N);j.runtimeInChunks.add($);if(R.fullHashModules!==undefined&&R.fullHashModules.has(E)){R.fullHashModules.delete(E);R.fullHashModules.add(N)}if(R.dependentHashModules!==undefined&&R.dependentHashModules.has(E)){R.dependentHashModules.delete(E);R.dependentHashModules.add(N)}}R.runtimeInChunks=undefined}}isModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.modules.has(E)}isModuleInChunkGroup(E,N){for(const R of N.chunks){if(this.isModuleInChunk(E,R))return true}return false}isEntryModule(E){const N=this._getChunkGraphModule(E);return N.entryInChunks!==undefined}getModuleChunksIterable(E){const N=this._getChunkGraphModule(E);return N.chunks}getOrderedModuleChunksIterable(E,N){const R=this._getChunkGraphModule(E);R.chunks.sortWith(N);return R.chunks}getModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.size}getModuleRuntimes(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.size}getNumberOfChunkFullHashModules(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules===undefined?0:N.fullHashModules.size}getChunkModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.modules}getChunkModulesIterableBySourceType(E,N){const R=this._getChunkGraphChunk(E);const j=R.modules.getFromUnorderedCache(modulesBySourceType).get(N);return j}getOrderedChunkModulesIterable(E,N){const R=this._getChunkGraphChunk(E);R.modules.sortWith(N);return R.modules}getOrderedChunkModulesIterableBySourceType(E,N,R){const j=this._getChunkGraphChunk(E);const $=j.modules.getFromUnorderedCache(modulesBySourceType).get(N);if($===undefined)return undefined;$.sortWith(R);return $}getChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,N){const R=this._getChunkGraphChunk(E);const j=createOrderedArrayFunction(N);return R.modules.getFromUnorderedCache(j)}getChunkModuleIdMap(E,N,R=false){const j=Object.create(null);for(const $ of R?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const R of this.getOrderedChunkModulesIterable($,ae(this))){if(N(R)){if(E===undefined){E=[];j[$.id]=E}const N=this.getModuleId(R);E.push(N)}}}return j}getChunkModuleRenderedHashMap(E,N,R=0,j=false){const $=Object.create(null);for(const q of j?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const j of this.getOrderedChunkModulesIterable(q,ae(this))){if(N(j)){if(E===undefined){E=Object.create(null);$[q.id]=E}const N=this.getModuleId(j);const G=this.getRenderedModuleHash(j,q.runtime);E[N]=R?G.slice(0,R):G}}}return $}getChunkConditionMap(E,N){const R=Object.create(null);for(const j of E.getAllReferencedChunks()){R[j.id]=N(j,this)}return R}hasModuleInGraph(E,N,R){const j=new Set(E.groupsIterable);const $=new Set;for(const E of j){for(const j of E.chunks){if(!$.has(j)){$.add(j);if(!R||R(j,this)){for(const E of this.getChunkModulesIterable(j)){if(N(E)){return true}}}}}for(const N of E.childrenIterable){j.add(N)}}return false}compareChunks(E,N){const R=this._getChunkGraphChunk(E);const j=this._getChunkGraphChunk(N);if(R.modules.size>j.modules.size)return-1;if(R.modules.size0||this.getNumberOfEntryModules(N)>0){return false}return true}integrateChunks(E,N){if(E.name&&N.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(N)>0){if(E.name.length!==N.name.length){E.name=E.name.length0){E.name=N.name}}else if(N.name){E.name=N.name}for(const R of N.idNameHints){E.idNameHints.add(R)}E.runtime=Be(E.runtime,N.runtime);for(const R of this.getChunkModules(N)){this.disconnectChunkAndModule(N,R);this.connectChunkAndModule(E,R)}for(const[R,j]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(N))){this.disconnectChunkAndEntryModule(N,R);this.connectChunkAndEntryModule(E,R,j)}for(const R of N.groupsIterable){R.replaceChunk(N,E);E.addGroup(R);N.removeGroup(R)}ChunkGraph.clearChunkGraphForChunk(N)}upgradeDependentToFullHashModules(E){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)return;if(N.fullHashModules===undefined){N.fullHashModules=N.dependentHashModules}else{for(const E of N.dependentHashModules){N.fullHashModules.add(E)}N.dependentHashModules=undefined}}isEntryModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.entryModules.has(E)}connectChunkAndEntryModule(E,N,R){const j=this._getChunkGraphModule(N);const $=this._getChunkGraphChunk(E);if(j.entryInChunks===undefined){j.entryInChunks=new Set}j.entryInChunks.add(E);$.entryModules.set(N,R)}connectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);if(R.runtimeInChunks===undefined){R.runtimeInChunks=new Set}R.runtimeInChunks.add(E);j.runtimeModules.add(N)}addFullHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;R.fullHashModules.add(N)}addDependentHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;R.dependentHashModules.add(N)}disconnectChunkAndEntryModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.entryInChunks.delete(E);if(R.entryInChunks.size===0){R.entryInChunks=undefined}j.entryModules.delete(N)}disconnectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.runtimeInChunks.delete(E);if(R.runtimeInChunks.size===0){R.runtimeInChunks=undefined}j.runtimeModules.delete(N)}disconnectEntryModule(E){const N=this._getChunkGraphModule(E);for(const R of N.entryInChunks){const N=this._getChunkGraphChunk(R);N.entryModules.delete(E)}N.entryInChunks=undefined}disconnectEntries(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.keys()){const N=this._getChunkGraphModule(R);N.entryInChunks.delete(E);if(N.entryInChunks.size===0){N.entryInChunks=undefined}}N.entryModules.clear()}getNumberOfEntryModules(E){const N=this._getChunkGraphChunk(E);return N.entryModules.size}getNumberOfRuntimeModules(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules.size}getChunkEntryModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const N=new Set;for(const R of E.groupsIterable){if(R instanceof $){const j=R.getEntrypointChunk();const $=this._getChunkGraphChunk(j);for(const R of $.entryModules.values()){for(const $ of R.chunks){if($!==E&&$!==j&&!$.hasRuntime()){N.add($)}}}}}return N}hasChunkEntryDependentChunks(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.values()){for(const N of R.chunks){if(N!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules}getChunkRuntimeModulesInOrder(E){const N=this._getChunkGraphChunk(E);const R=Array.from(N.runtimeModules);R.sort(_e(Te((E=>E.stage),Ee),le));return R}getChunkFullHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkFullHashModulesSet(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkDependentHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,N){this._blockChunkGroups.set(E,N);N.addBlock(E)}disconnectChunkGroup(E){for(const N of E.blocksIterable){this._blockChunkGroups.delete(N)}E._blocks.clear()}getModuleId(E){const N=this._getChunkGraphModule(E);return N.id}setModuleId(E,N){const R=this._getChunkGraphModule(E);R.id=N}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,N){this._runtimeIds.set(E,N)}_getModuleHashInfo(E,N,R){if(!N){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (hashes not set at all)`)}else if(R===undefined){const R=new Set(N.values());if(R.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>Le(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return G(R)}else{const j=N.get(R);if(!j){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (available runtimes ${Array.from(N.keys(),Le).join(", ")})`)}return j}}hasModuleHashes(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return j&&j.has(N)}getModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).hash}getRenderedModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).renderedHash}setModuleHashes(E,N,R,j){const $=this._getChunkGraphModule(E);if($.hashes===undefined){$.hashes=new Ne}$.hashes.set(N,new ModuleHashInfo(R,j))}addModuleRuntimeRequirements(E,N,R,j=true){const $=this._getChunkGraphModule(E);const q=$.runtimeRequirements;if(q===undefined){const E=new Ne;E.set(N,j?R:new Set(R));$.runtimeRequirements=E;return}q.update(N,(E=>{if(E===undefined){return j?R:new Set(R)}else if(!j||E.size>=R.size){for(const N of R)E.add(N);return E}else{for(const N of E)R.add(N);return R}}))}addChunkRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirements;if(j===undefined){R.runtimeRequirements=N}else if(j.size>=N.size){for(const E of N)j.add(E)}else{for(const E of j)N.add(E);R.runtimeRequirements=N}}addTreeRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirementsInTree;for(const E of N)j.add(E)}getModuleRuntimeRequirements(E,N){const R=this._getChunkGraphModule(E);const j=R.runtimeRequirements&&R.runtimeRequirements.get(N);return j===undefined?Ue:j}getChunkRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);const R=N.runtimeRequirements;return R===undefined?Ue:R}getModuleGraphHash(E,N,R=true){const j=this._getChunkGraphModule(E);return R?this._getModuleGraphHashWithConnections(j,E,N):this._getModuleGraphHashBigInt(j,E,N).toString(16)}getModuleGraphHashBigInt(E,N,R=true){const j=this._getChunkGraphModule(E);return R?BigInt(`0x${this._getModuleGraphHashWithConnections(j,E,N)}`):this._getModuleGraphHashBigInt(j,E,N)}_getModuleGraphHashBigInt(E,N,R){if(E.graphHashes===undefined){E.graphHashes=new Ne}const j=E.graphHashes.provide(R,(()=>{const j=we(this._hashFunction);j.update(`${E.id}${this.moduleGraph.isAsync(N)}`);this.moduleGraph.getExportsInfo(N).updateHash(j,R);return BigInt(`0x${j.digest("hex")}`)}));return j}_getModuleGraphHashWithConnections(E,N,R){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Ne}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===q.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const j=N.buildMeta&&N.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(R,(()=>{const $=this._getModuleGraphHashBigInt(E,N,R).toString(16);const q=this.moduleGraph.getOutgoingConnections(N);const ie=new Set;const ae=new Map;const processConnection=(E,N)=>{const R=E.module;N+=R.getExportsType(this.moduleGraph,j);if(N==="Tnamespace")ie.add(R);else{const E=ae.get(N);if(E===undefined){ae.set(N,R)}else if(E instanceof Set){E.add(R)}else if(E!==R){ae.set(N,new Set([E,R]))}}};if(R===undefined||typeof R==="string"){for(const E of q){const N=E.getActiveState(R);if(N===false)continue;processConnection(E,N===true?"T":"O")}}else{for(const E of q){const N=new Set;let j="";je(R,(R=>{const $=E.getActiveState(R);N.add($);j+=activeStateToString($)+R}),true);if(N.size===1){const E=G(N);if(E===false)continue;j=activeStateToString(E)}processConnection(E,j)}}if(ie.size===0&&ae.size===0)return $;const ce=ae.size>1?Array.from(ae).sort((([E],[N])=>E{le.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,R).toString(16))};const addModulesToHash=E=>{let N=ze;for(const j of E){N=N^this._getModuleGraphHashBigInt(this._getChunkGraphModule(j),j,R)}le.update(N.toString(16))};if(ie.size===1)addModuleToHash(ie.values().next().value);else if(ie.size>1)addModulesToHash(ie);for(const[E,N]of ce){le.update(E);if(N instanceof Set){addModulesToHash(N)}else{addModuleToHash(N)}}le.update($);return le.digest("hex")}))}getTreeRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);return N.runtimeRequirementsInTree}static getChunkGraphForModule(E,N,R){const $=He.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=Ve.get(E);if(!R)throw new Error(N+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);He.set(N,q);return q(E)}static setChunkGraphForModule(E,N){Ve.set(E,N)}static clearChunkGraphForModule(E){Ve.delete(E)}static getChunkGraphForChunk(E,N,R){const $=Ge.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=qe.get(E);if(!R)throw new Error(N+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);Ge.set(N,q);return q(E)}static setChunkGraphForChunk(E,N){qe.set(E,N)}static clearChunkGraphForChunk(E){qe.delete(E)}}const Ve=new WeakMap;const qe=new WeakMap;const He=new Map;const Ge=new Map;E.exports=ChunkGraph},84558:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16102);const{compareLocations:q,compareChunks:G,compareIterables:ie}=R(68673);let ae=5e3;const getArray=E=>Array.from(E);const sortById=(E,N)=>{if(E.id{const R=E.module?E.module.identifier():"";const j=N.module?N.module.identifier():"";if(Rj)return 1;return q(E.loc,N.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=ae++;this.options=E;this._children=new $(undefined,sortById);this._parents=new $(undefined,sortById);this._asyncEntrypoints=new $(undefined,sortById);this._blocks=new $;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const N of Object.keys(E)){if(this.options[N]===undefined){this.options[N]=E[N]}else if(this.options[N]!==E[N]){if(N.endsWith("Order")){this.options[N]=Math.max(this.options[N],E[N])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${N}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const N=this.chunks.indexOf(E);if(N>0){this.chunks.splice(N,1);this.chunks.unshift(E)}else if(N<0){this.chunks.unshift(E);return true}return false}insertChunk(E,N){const R=this.chunks.indexOf(E);const j=this.chunks.indexOf(N);if(j<0){throw new Error("before chunk not found")}if(R>=0&&R>j){this.chunks.splice(R,1);this.chunks.splice(j,0,E)}else if(R<0){this.chunks.splice(j,0,E);return true}return false}pushChunk(E){const N=this.chunks.indexOf(E);if(N>=0){return false}this.chunks.push(E);return true}replaceChunk(E,N){const R=this.chunks.indexOf(E);if(R<0)return false;const j=this.chunks.indexOf(N);if(j<0){this.chunks[R]=N;return true}if(j=0){this.chunks.splice(N,1);return true}return false}isInitial(){return false}addChild(E){const N=this._children.size;this._children.add(E);return N!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const N=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return N!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,N,R){this.origins.push({module:E,loc:N,request:R})}getFiles(){const E=new Set;for(const N of this.chunks){for(const R of N.files){E.add(R)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const N of this._children){N.addParent(E);E.addChild(N)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,N){if(this.chunks.length>N.chunks.length)return-1;if(this.chunks.length{const j=R.order-E.order;if(j!==0)return j;return E.group.compareTo(N,R.group)}));j[E]=$.map((E=>E.group))}return j}setModulePreOrderIndex(E,N){this._modulePreOrderIndices.set(E,N)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,N){this._modulePostOrderIndices.set(E,N)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const N of E._children){if(!N._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${N.debugId}`)}}for(const N of E._parents){if(!N._children.has(E)){throw new Error(`checkConstraints: parent missing child ${N.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=j.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=j.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,N,R)=>{"use strict";const j=R(81627);class ChunkRenderError extends j{constructor(E,N,R){super();this.name="ChunkRenderError";this.error=R;this.message=R.message;this.details=R.stack;this.file=N;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ChunkTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:j.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(N.chunk.hasRuntime())return E;return R(E,N)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).render.tap(E,((E,N)=>{if(N.chunkGraph.getNumberOfEntryModules(N.chunk)===0||N.chunk.hasRuntime()){return E}return R(E,N.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).chunkHash.tap(E,((E,N,j)=>{if(E.hasRuntime())return;R(N,E,j)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:j.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,N,R)=>{"use strict";const j=R(62355);const{SyncBailHook:$}=R(92960);const q=R(3080);const G=R(35817);const{join:ie}=R(95396);const ae=R(2117);const ce=G(undefined,(()=>{const{definitions:E}=R(46312);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,N,R,$)=>{const q=new Set;for(const E of R){q.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of q){q.add(E.replace(/(^|\/)[^/]*$/,""))}const G=new Set;j.forEachLimit(q,10,((j,$)=>{E.readdir(ie(E,N,j),((E,N)=>{if(E){if(E.code==="ENOENT")return $();if(E.code==="ENOTDIR"){G.add(j);return $()}return $(E)}for(const E of N){const N=E;const $=j?`${j}/${N}`:N;if(!q.has($)&&!R.has($)){G.add($)}}$()}))}),(E=>{if(E)return $(E);$(null,G)}))};const getDiffToOldAssets=(E,N)=>{const R=new Set;for(const j of N){if(!E.has(j))R.add(j)}return R};const applyDiff=(E,N,R,j,$,q,G)=>{const log=E=>{if(R){j.info(E)}else{j.log(E)}};const ce=Array.from($,(E=>({type:"check",filename:E,parent:undefined})));ae(ce,10,(({type:$,filename:G,parent:ae},ce,le)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${G} was removed during cleaning by something else`);handleParent();return le()}return le(E)};const handleParent=()=>{if(ae&&--ae.remaining===0)ce(ae.job)};const _e=ie(E,N,G);switch($){case"check":if(q(G)){log(`${G} will be kept`);return process.nextTick(le)}E.stat(_e,((N,R)=>{if(N)return handleError(N);if(!R.isDirectory()){ce({type:"unlink",filename:G,parent:ae});return le()}E.readdir(_e,((E,N)=>{if(E)return handleError(E);const R={type:"rmdir",filename:G,parent:ae};if(N.length===0){ce(R)}else{const E={remaining:N.length,job:R};for(const R of N){const N=R;if(N.startsWith(".")){log(`${G} will be kept (dot-files will never be removed)`);continue}ce({type:"check",filename:`${G}/${N}`,parent:E})}}return le()}))}));break;case"rmdir":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.rmdir){j.warn(`${G} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(le)}E.rmdir(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break;case"unlink":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.unlink){j.warn(`${G} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(le)}E.unlink(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break}}),G)};const le=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=le.get(E);if(N===undefined){N={keep:new $(["ignore"])};le.set(E,N)}return N}constructor(E={}){ce(E);this.options={dry:false,...E}}apply(E){const{dry:N,keep:R}=this.options;const j=typeof R==="function"?R:typeof R==="string"?E=>E.startsWith(R):typeof R==="object"&&R.test?E=>R.test(E):()=>false;let $;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((R,q)=>{const G=CleanPlugin.getCompilationHooks(R);const ie=R.getLogger("webpack.CleanPlugin");const ae=E.outputFileSystem;if(!ae.readdir){return q(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ce=new Set;for(const E of Object.keys(R.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let N;let R=E.replace(/\\/g,"/");do{N=R;R=N.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(R!==N);if(N.startsWith("../"))continue;ce.add(N)}const le=R.getPath(E.outputPath,{});const isKept=E=>{const N=G.keep.call(E);if(N!==undefined)return N;return j(E)};const diffCallback=(E,R)=>{if(E){$=undefined;return q(E)}applyDiff(ae,le,N,ie,R,isKept,(E=>{if(E){$=undefined}else{$=ce}q(E)}))};if($){diffCallback(null,getDiffToOldAssets(ce,$))}else{getDiffToFs(ae,le,ce,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,N,R)=>{"use strict";const j=R(81627);class CodeGenerationError extends j{constructor(E,N){super();this.name="CodeGenerationError";this.error=N;this.message=N.message;this.details=N.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,N,R)=>{"use strict";const{provide:j}=R(67585);const{first:$}=R(26221);const q=R(35891);const{runtimeToString:G,RuntimeSpecMap:ie}=R(37416);class CodeGenerationResults{constructor(E="md4"){this.map=new Map;this._hashFunction=E}get(E,N){const R=this.map.get(E);if(R===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(N===undefined){if(R.size>1){const N=new Set(R.values());if(N.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return $(N)}return R.values().next().value}const j=R.get(N);if(j===undefined){throw new Error(`No code generation entry for runtime ${G(N)} for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")})`)}return j}has(E,N){const R=this.map.get(E);if(R===undefined){return false}if(N!==undefined){return R.has(N)}else if(R.size>1){const E=new Set(R.values());return E.size===1}else{return R.size===1}}getSource(E,N,R){return this.get(E,N).sources.get(R)}getRuntimeRequirements(E,N){return this.get(E,N).runtimeRequirements}getData(E,N,R){const j=this.get(E,N).data;return j===undefined?undefined:j.get(R)}getHash(E,N){const R=this.get(E,N);if(R.hash!==undefined)return R.hash;const j=q(this._hashFunction);for(const[E,N]of R.sources){j.update(E);N.updateHash(j)}if(R.runtimeRequirements){for(const E of R.runtimeRequirements)j.update(E)}return R.hash=j.digest("hex")}add(E,N,R){const $=j(this.map,E,(()=>new ie));$.set(N,R)}}E.exports=CodeGenerationResults},47207:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CommentCompilationWarning extends j{constructor(E,N){super(E);this.name="CommentCompilationWarning";this.loc=N}}$(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,N,R)=>{"use strict";const j=R(66298);const $=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(j,new j.Template);N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,N)=>{if(N.browserify!==undefined&&!N.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(N=>{if(N.arguments.length!==2)return;const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;if(R.asBool()!==true)return;const $=new j("require",N.callee.range);$.loc=N.loc;if(E.state.current.dependencies.length>0){const N=E.state.current.dependencies[E.state.current.dependencies.length-1];if(N.critical&&N.options&&N.options.request==="."&&N.userRequest==="."&&N.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency($);return true}))}));const handler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(N=>{if(N.type==="FunctionDeclaration"&&N.id&&N.id.name==="__webpack_require__"){const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.id.name,$,{name:R,declaration:{updated:false,loc:N.id.loc,range:N.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(N=>{const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.name,$,{name:R,declaration:{updated:false,loc:N.loc,range:N.range}});return true}));E.hooks.expression.for($).tap("CompatibilityPlugin",(N=>{const{name:R,declaration:$}=E.currentTagData;if(!$.updated){const N=new j(R,$.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);$.updated=true}const q=new j(R,N.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}));E.hooks.program.tap("CompatibilityPlugin",((N,R)=>{if(R.length===0)return;const $=R[0];if($.type==="Line"&&$.range[0]===0){if(E.state.source.slice(0,2).toString()!=="#!")return;const N=new j("//",0);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}}))};N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}E.exports=CompatibilityPlugin},3080:(E,N,R)=>{"use strict";const j=R(62355);const{HookMap:$,SyncHook:q,SyncBailHook:G,SyncWaterfallHook:ie,AsyncSeriesHook:ae,AsyncSeriesBailHook:ce,AsyncParallelHook:le}=R(92960);const _e=R(73837);const{CachedSource:Te}=R(2991);const{MultiItemCache:Ee}=R(6503);const we=R(62433);const Ie=R(45137);const Ne=R(84558);const Me=R(44445);const Le=R(13454);const Be=R(93010);const je=R(53840);const Ue=R(28706);const ze=R(46828);const We=R(71452);const Je=R(50717);const Ve=R(22996);const{connectChunkGroupAndChunk:qe,connectChunkGroupParentAndChild:He}=R(4642);const{makeWebpackError:Ge,tryRunOrWebpackError:Ke}=R(3728);const Qe=R(73694);const Xe=R(53453);const Ye=R(82811);const Ze=R(23280);const et=R(75412);const tt=R(54032);const rt=R(99869);const nt=R(2210);const it=R(31467);const ot=R(68661);const st=R(76150);const ct=R(37130);const ut=R(10140);const dt=R(81627);const pt=R(25457);const ft=R(44547);const{Logger:mt,LogType:ht}=R(78539);const _t=R(87279);const yt=R(30533);const{equals:vt}=R(73910);const bt=R(9738);const xt=R(83379);const{provide:St}=R(67585);const Tt=R(4396);const{cachedCleverMerge:Et}=R(90149);const{compareLocations:kt,concatComparators:Ct,compareSelect:Dt,compareIds:At,compareStringsNumeric:wt,compareModulesByIdentifier:Pt}=R(68673);const It=R(35891);const{arrayToSetDeprecation:Nt,soonFrozenObjectDeprecation:Ft,createFakeHook:Ot}=R(16595);const Mt=R(2117);const{getRuntimeKey:Rt}=R(37416);const{isSourceEqual:Lt}=R(13559);const Bt=Object.freeze({});const jt="esm";const Ut=_e.deprecate((E=>R(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const zt=Dt((E=>E.id),At);const Wt=Ct(Dt((E=>E.name),At),Dt((E=>E.fullHash),At));const Jt=Dt((E=>`${E.message}`),wt);const $t=Dt((E=>E.module&&E.module.identifier()||""),wt);const Vt=Dt((E=>E.loc),kt);const qt=Ct($t,Vt,Jt);const Ht=new WeakMap;const Gt=new WeakMap;class Compilation{constructor(E,N){this._backCompat=E._backCompat;const getNormalModuleLoader=()=>Ut(this);const R=new ae(["assets"]);let j=new Set;const popNewAssets=E=>{let N=undefined;for(const R of Object.keys(E)){if(j.has(R))continue;if(N===undefined){N=Object.create(null)}N[R]=E[R];j.add(R)}return N};R.intercept({name:"Compilation",call:()=>{j=new Set(Object.keys(this.assets))},register:E=>{const{type:N,name:R}=E;const{fn:j,additionalAssets:$,...q}=E;const G=$===true?j:$;const ie=G?new WeakSet:undefined;switch(N){case"sync":if(G){this.hooks.processAdditionalAssets.tap(R,(E=>{if(ie.has(this.assets))G(E)}))}return{...q,type:"async",fn:(E,N)=>{try{j(E)}catch(E){return N(E)}if(ie!==undefined)ie.add(this.assets);const R=popNewAssets(E);if(R!==undefined){this.hooks.processAdditionalAssets.callAsync(R,N);return}N()}};case"async":if(G){this.hooks.processAdditionalAssets.tapAsync(R,((E,N)=>{if(ie.has(this.assets))return G(E,N);N()}))}return{...q,fn:(E,N)=>{j(E,(R=>{if(R)return N(R);if(ie!==undefined)ie.add(this.assets);const j=popNewAssets(E);if(j!==undefined){this.hooks.processAdditionalAssets.callAsync(j,N);return}N()}))}};case"promise":if(G){this.hooks.processAdditionalAssets.tapPromise(R,(E=>{if(ie.has(this.assets))return G(E);return Promise.resolve()}))}return{...q,fn:E=>{const N=j(E);if(!N||!N.then)return N;return N.then((()=>{if(ie!==undefined)ie.add(this.assets);const N=popNewAssets(E);if(N!==undefined){return this.hooks.processAdditionalAssets.promise(N)}}))}}}}});const Te=new q(["assets"]);const createProcessAssetsHook=(E,N,j,$)=>{if(!this._backCompat&&$)return undefined;const errorMessage=N=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${N}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:N}};return Ot({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,N)=>{R.tap(getOptions(E),(()=>N(...j())))},tapAsync:(E,N)=>{R.tapAsync(getOptions(E),((E,R)=>N(...j(),R)))},tapPromise:(E,N)=>{R.tapPromise(getOptions(E),(()=>N(...j())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,$)};this.hooks=Object.freeze({buildModule:new q(["module"]),rebuildModule:new q(["module"]),failedModule:new q(["module","error"]),succeedModule:new q(["module"]),stillValidModule:new q(["module"]),addEntry:new q(["entry","options"]),failedEntry:new q(["entry","options","error"]),succeedEntry:new q(["entry","options","module"]),dependencyReferencedExports:new ie(["referencedExports","dependency","runtime"]),executeModule:new q(["options","context"]),prepareModuleExecution:new le(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new q([]),seal:new q([]),beforeChunks:new q([]),afterChunks:new q(["chunks"]),optimizeDependencies:new G(["modules"]),afterOptimizeDependencies:new q(["modules"]),optimize:new q([]),optimizeModules:new G(["modules"]),afterOptimizeModules:new q(["modules"]),optimizeChunks:new G(["chunks","chunkGroups"]),afterOptimizeChunks:new q(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new q(["chunks","modules"]),optimizeChunkModules:new ce(["chunks","modules"]),afterOptimizeChunkModules:new q(["chunks","modules"]),shouldRecord:new G([]),additionalChunkRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new $((()=>new G(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new q(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new $((()=>new G(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new $((()=>new G(["chunk","runtimeRequirements","context"]))),runtimeModule:new q(["module","chunk"]),reviveModules:new q(["modules","records"]),beforeModuleIds:new q(["modules"]),moduleIds:new q(["modules"]),optimizeModuleIds:new q(["modules"]),afterOptimizeModuleIds:new q(["modules"]),reviveChunks:new q(["chunks","records"]),beforeChunkIds:new q(["chunks"]),chunkIds:new q(["chunks"]),optimizeChunkIds:new q(["chunks"]),afterOptimizeChunkIds:new q(["chunks"]),recordModules:new q(["modules","records"]),recordChunks:new q(["chunks","records"]),optimizeCodeGeneration:new q(["modules"]),beforeModuleHash:new q([]),afterModuleHash:new q([]),beforeCodeGeneration:new q([]),afterCodeGeneration:new q([]),beforeRuntimeRequirements:new q([]),afterRuntimeRequirements:new q([]),beforeHash:new q([]),contentHash:new q(["chunk"]),afterHash:new q([]),recordHash:new q(["records"]),record:new q(["compilation","records"]),beforeModuleAssets:new q([]),shouldGenerateChunkAssets:new G([]),beforeChunkAssets:new q([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:R,afterOptimizeAssets:Te,processAssets:R,afterProcessAssets:Te,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new G([]),afterSeal:new ae([]),renderManifest:new ie(["result","options"]),fullHash:new q(["hash"]),chunkHash:new q(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new q(["module","filename"]),chunkAsset:new q(["chunk","filename"]),assetPath:new ie(["path","options","assetInfo"]),needAdditionalPass:new G([]),childCompiler:new q(["childCompiler","compilerName","compilerIndex"]),log:new G(["origin","logEntry"]),processWarnings:new ie(["warnings"]),processErrors:new ie(["errors"]),statsPreset:new $((()=>new q(["options","context"]))),statsNormalize:new q(["options","context"]),statsFactory:new q(["statsFactory","options"]),statsPrinter:new q(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new Ve(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps,true)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const Ee=E.options;this.options=Ee;this.outputOptions=Ee&&Ee.output;this.bail=Ee&&Ee.bail||false;this.profile=Ee&&Ee.profile||false;this.params=N;this.mainTemplate=new Qe(this.outputOptions,this);this.chunkTemplate=new Le(this.outputOptions,this);this.runtimeTemplate=new ct(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ot(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new et;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new bt({name:"processDependencies",parallelism:Ee.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new bt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new bt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new bt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new bt({name:"rebuild",parallelism:Ee.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){Nt(this.chunks,"Compilation.chunks");Nt(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new ze;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new xt;this.contextDependencies=new xt;this.missingDependencies=new xt;this.buildDependencies=new xt;this.compilationDependencies={add:_e.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const we=Ee.module.unsafeCache;this._unsafeCache=!!we;this._unsafeCachePredicate=typeof we==="function"?we:()=>true}getStats(){return new ut(this)}createStatsOptions(E,N={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const R={};for(const N in E){R[N]=E[N]}if(R.preset!==undefined){this.hooks.statsPreset.for(R.preset).call(R,N)}this.hooks.statsNormalize.call(R,N);return R}else{const E={};this.hooks.statsNormalize.call(E,N);return E}}createStatsFactory(E){const N=new _t;this.hooks.statsFactory.call(N,E);return N}createStatsPrinter(E){const N=new yt;this.hooks.statsPrinter.call(N,E);return N}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let N;return new mt(((R,j)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let $;switch(R){case ht.warn:case ht.error:case ht.trace:$=Je.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const q={time:Date.now(),type:R,args:j,trace:$};if(this.hooks.log.call(E,q)===undefined){if(q.type===ht.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${q.args[0]}`)}}if(N===undefined){N=this.logging.get(E);if(N===undefined){N=[];this.logging.set(E,N)}}N.push(q);if(q.type===ht.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${q.args[0]}`)}}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger(`${E}/${N}`)}}}))}addModule(E,N){this.addModuleQueue.add(E,N)}_addModule(E,N){const R=E.identifier();const j=this._modules.get(R);if(j){return N(null,j)}const $=this.profile?this.moduleGraph.getProfile(E):undefined;if($!==undefined){$.markRestoringStart()}this._modulesCache.get(R,null,((j,q)=>{if(j)return N(new nt(E,j));if($!==undefined){$.markRestoringEnd();$.markIntegrationStart()}if(q){q.updateCacheModule(E);E=q}this._modules.set(R,E);this.modules.add(E);if(this._backCompat)et.setModuleGraphForModule(E,this.moduleGraph);if($!==undefined){$.markIntegrationEnd()}N(null,E)}))}getModule(E){const N=E.identifier();return this._modules.get(N)}findModule(E){return this._modules.get(E)}buildModule(E,N){this.buildQueue.add(E,N)}_buildModule(E,N){const R=this.profile?this.moduleGraph.getProfile(E):undefined;if(R!==undefined){R.markBuildingStart()}E.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((j,$)=>{if(j)return N(j);if(!$){if(R!==undefined){R.markBuildingEnd()}this.hooks.stillValidModule.call(E);return N()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,(j=>{if(R!==undefined){R.markBuildingEnd()}if(j){this.hooks.failedModule.call(E,j);return N(j)}if(R!==undefined){R.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,(j=>{if(R!==undefined){R.markStoringEnd()}if(j){this.hooks.failedModule.call(E,j);return N(new it(E,j))}this.hooks.succeedModule.call(E);return N()}))}))}))}processModuleDependencies(E,N){this.processDependenciesQueue.add(E,N)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=N=>{if(N.dependencies){let R=0;for(const j of N.dependencies){this.moduleGraph.setParents(j,N,E,R++)}}if(N.blocks){for(const E of N.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,N){const R=[];let j;let $;let q;let G;let ie;let ae;let ce;let le;let _e=1;let Te=1;const onDependenciesSorted=E=>{if(E)return N(E);if(R.length===0&&Te===1){return N()}this.processDependenciesQueue.increaseParallelism();for(const E of R){Te++;this.handleModuleCreation(E,(E=>{if(E&&this.bail){if(Te<=0)return;Te=-1;E.stack=E.stack;onTransitiveTasksFinished(E);return}if(--Te===0)onTransitiveTasksFinished()}))}if(--Te===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=E=>{if(E)return N(E);this.processDependenciesQueue.decreaseParallelism();return N()};const processDependency=(N,R)=>{this.moduleGraph.setParents(N,j,E,R);if(this._unsafeCache){try{const R=Ht.get(N);if(R===null)return;if(R!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(R)){this._handleExistingModuleFromUnsafeCache(E,N,R);return}const j=R.identifier();const $=this._restoredUnsafeCacheEntries.get(j);if($!==undefined){Ht.set(N,$);this._handleExistingModuleFromUnsafeCache(E,N,$);return}_e++;this._modulesCache.get(j,null,(($,q)=>{if($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}try{if(!this._restoredUnsafeCacheEntries.has(j)){const $=Gt.get(q);if($===undefined){processDependencyForResolving(N);if(--_e===0)onDependenciesSorted();return}if(q!==R){Ht.set(N,q)}q.restoreFromUnsafeCache($,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set(j,q);this._restoredUnsafeCacheModuleEntries.add(q);if(!this.modules.has(q)){Te++;this._handleNewModuleFromUnsafeCache(E,N,q,(E=>{if(E){if(Te<=0)return;Te=-1;onTransitiveTasksFinished(E)}if(--Te===0)return onTransitiveTasksFinished()}));if(--_e===0)onDependenciesSorted();return}}if(R!==q){Ht.set(N,q)}this._handleExistingModuleFromUnsafeCache(E,N,q)}catch($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}if(--_e===0)onDependenciesSorted()}));return}}catch(E){console.error(E)}}processDependencyForResolving(N)};const processDependencyForResolving=N=>{const j=N.getResourceIdentifier();if(j!==undefined&&j!==null){const _e=N.category;const Te=N.constructor;if(q===Te){if(ae===_e&&ce===j){le.push(N);return}}else{const E=this.dependencyFactories.get(Te);if(E===undefined){throw new Error(`No module factory available for dependency type: ${Te.name}`)}if(G===E){q=Te;if(ae===_e&&ce===j){le.push(N);return}}else{if(G!==undefined){if($===undefined)$=new Map;$.set(G,ie);ie=$.get(E);if(ie===undefined){ie=new Map}}else{ie=new Map}q=Te;G=E}}const Ee=_e===jt?j:`${_e}${j}`;let we=ie.get(Ee);if(we===undefined){ie.set(Ee,we=[]);R.push({factory:G,dependencies:we,originModule:E})}we.push(N);ae=_e;ce=j;le=we}};try{const N=[E];do{const E=N.pop();if(E.dependencies){j=E;let N=0;for(const R of E.dependencies)processDependency(R,N++)}if(E.blocks){for(const R of E.blocks)N.push(R)}}while(N.length!==0)}catch(E){return N(E)}if(--_e===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(E,N,R,j){const $=this.moduleGraph;$.setResolvedModule(E,N,R);$.setIssuerIfUnset(R,E!==undefined?E:null);this._modules.set(R.identifier(),R);this.modules.add(R);if(this._backCompat)et.setModuleGraphForModule(R,this.moduleGraph);this._handleModuleBuildAndDependencies(E,R,true,j)}_handleExistingModuleFromUnsafeCache(E,N,R){const j=this.moduleGraph;j.setResolvedModule(E,N,R)}handleModuleCreation({factory:E,dependencies:N,originModule:R,contextInfo:j,context:$,recursive:q=true,connectOrigin:G=q},ie){const ae=this.moduleGraph;const ce=this.profile?new rt:undefined;this.factorizeModule({currentProfile:ce,factory:E,dependencies:N,factoryResult:true,originModule:R,contextInfo:j,context:$},((E,j)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=j;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}};if(E){if(j)applyFactoryResultDependencies();if(N.every((E=>E.optional))){this.warnings.push(E);return ie()}else{this.errors.push(E);return ie(E)}}const $=j.module;if(!$){applyFactoryResultDependencies();return ie()}if(ce!==undefined){ae.setProfile($,ce)}this.addModule($,((E,le)=>{if(E){applyFactoryResultDependencies();if(!E.module){E.module=le}this.errors.push(E);return ie(E)}if(this._unsafeCache&&j.cacheable!==false&&le.restoreFromUnsafeCache&&this._unsafeCachePredicate(le)){const E=le;for(let j=0;j{if($!==undefined){$.delete(N)}if(E){if(!E.module){E.module=N}this.errors.push(E);return j(E)}if(!R){this.processModuleDependenciesNonRecursive(N);j(null,N);return}if(this.processDependenciesQueue.isProcessing(N)){return j()}this.processModuleDependencies(N,(E=>{if(E){return j(E)}j(null,N)}))}))}_factorizeModule({currentProfile:E,factory:N,dependencies:R,originModule:j,factoryResult:$,contextInfo:q,context:G},ie){if(E!==undefined){E.markFactoryStart()}N.create({contextInfo:{issuer:j?j.nameForCondition():"",issuerLayer:j?j.layer:null,compiler:this.compiler.name,...q},resolveOptions:j?j.resolveOptions:undefined,context:G?G:j?j.context:this.compiler.context,dependencies:R},((N,q)=>{if(q){if(q.module===undefined&&q instanceof Xe){q={module:q}}if(!$){const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=q;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}}}if(N){const E=new tt(j,N,R.map((E=>E.loc)).filter(Boolean)[0]);return ie(E,$?q:undefined)}if(!q){return ie()}if(E!==undefined){E.markFactoryEnd()}ie(null,$?q:q.module)}))}addModuleChain(E,N,R){return this.addModuleTree({context:E,dependency:N},R)}addModuleTree({context:E,dependency:N,contextInfo:R},j){if(typeof N!=="object"||N===null||!N.constructor){return j(new dt("Parameter 'dependency' must be a Dependency"))}const $=N.constructor;const q=this.dependencyFactories.get($);if(!q){return j(new dt(`No dependency factory available for this dependency type: ${N.constructor.name}`))}this.handleModuleCreation({factory:q,dependencies:[N],originModule:null,contextInfo:R,context:E},((E,N)=>{if(E&&this.bail){j(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!E&&N){j(null,N)}else{j()}}))}addEntry(E,N,R,j){const $=typeof R==="object"?R:{name:R};this._addEntryItem(E,N,"dependencies",$,j)}addInclude(E,N,R,j){this._addEntryItem(E,N,"includeDependencies",R,j)}_addEntryItem(E,N,R,j,$){const{name:q}=j;let G=q!==undefined?this.entries.get(q):this.globalEntry;if(G===undefined){G={dependencies:[],includeDependencies:[],options:{name:undefined,...j}};G[R].push(N);this.entries.set(q,G)}else{G[R].push(N);for(const E of Object.keys(j)){if(j[E]===undefined)continue;if(G.options[E]===j[E])continue;if(Array.isArray(G.options[E])&&Array.isArray(j[E])&&vt(G.options[E],j[E])){continue}if(G.options[E]===undefined){G.options[E]=j[E]}else{return $(new dt(`Conflicting entry option ${E} = ${G.options[E]} vs ${j[E]}`))}}}this.hooks.addEntry.call(N,j);this.addModuleTree({context:E,dependency:N,contextInfo:G.options.layer?{issuerLayer:G.options.layer}:undefined},((E,R)=>{if(E){this.hooks.failedEntry.call(N,j,E);return $(E)}this.hooks.succeedEntry.call(N,j,R);return $(null,R)}))}rebuildModule(E,N){this.rebuildQueue.add(E,N)}_rebuildModule(E,N){this.hooks.rebuildModule.call(E);const R=E.dependencies.slice();const j=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,($=>{if($){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){N(Ge(E,"Compilation.hooks.finishRebuildingModule"));return}N($)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,($=>{if($)return N($);this.removeReasonsOfDependencyBlock(E,{dependencies:R,blocks:j});this.hooks.finishRebuildingModule.callAsync(E,(R=>{if(R){N(Ge(R,"Compilation.hooks.finishRebuildingModule"));return}N(null,E)}))}))}))}_computeAffectedModules(E){const N=this.compiler.moduleMemCaches;if(!N)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:R,moduleMemCaches:j}=this;const $=new Set;const q=new Set;let G=0;let ie=0;let ae=0;let ce=0;let le=0;const computeReferences=E=>{let N=undefined;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;const R=j.module;if(!E||!R||Ht.has(E))continue;if(N===undefined)N=new WeakMap;N.set(E,R)}return N};const compareReferences=(E,N)=>{if(N===undefined)return true;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;if(!E)continue;const R=N.get(E);if(R===undefined)continue;if(R!==j.module)return false}return true};const _e=new Set(E);for(const[E,R]of N){if(_e.has(E)){const G=E.buildInfo;if(G){if(R.buildInfo!==G){const N=new Tt;j.set(E,N);$.add(E);R.buildInfo=G;R.references=computeReferences(E);R.memCache=N;ie++}else if(!compareReferences(E,R.references)){const N=new Tt;j.set(E,N);$.add(E);R.references=computeReferences(E);R.memCache=N;ce++}else{j.set(E,R.memCache);ae++}}else{q.add(E);N.delete(E);le++}_e.delete(E)}else{N.delete(E)}}for(const E of _e){const R=E.buildInfo;if(R){const q=new Tt;N.set(E,{buildInfo:R,references:computeReferences(E),memCache:q});j.set(E,q);$.add(E);G++}else{q.add(E);le++}}const reduceAffectType=E=>{let N=false;for(const{dependency:R}of E){if(!R)continue;const E=R.couldAffectReferencingModule();if(E===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(E===false)continue;N=true}return N};const Te=new Set;for(const E of q){for(const[N,j]of R.getIncomingConnectionsByOriginModule(E)){if(!N)continue;if(q.has(N))continue;const E=reduceAffectType(j);if(!E)continue;if(E===true){Te.add(N)}else{q.add(N)}}}for(const E of Te)q.add(E);const Ee=new Set;for(const E of $){for(const[G,ie]of R.getIncomingConnectionsByOriginModule(E)){if(!G)continue;if(q.has(G))continue;if($.has(G))continue;const E=reduceAffectType(ie);if(!E)continue;if(E===true){Ee.add(G)}else{$.add(G)}const R=new Tt;const ae=N.get(G);ae.memCache=R;j.set(G,R)}}for(const E of Ee)$.add(E);this.logger.log(`${Math.round(100*($.size+q.size)/this.modules.size)}% (${$.size} affected + ${q.size} infected of ${this.modules.size}) modules flagged as affected (${G} new modules, ${ie} changed, ${ce} references changed, ${ae} unchanged, ${le} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:E}=this;if(!E)return;const N=this.moduleMemCaches2=new Map;const{moduleGraph:R,chunkGraph:j}=this;const $="memCache2";let q=0;let G=0;let ie=0;const computeReferences=E=>{let N=undefined;let $=undefined;const q=R.getOutgoingConnectionsByModule(E);if(q!==undefined){for(const E of q.keys()){if(!E)continue;if(N===undefined)N=new Map;N.set(E,j.getModuleId(E))}}if(E.blocks.length>0){$=[];const N=Array.from(E.blocks);for(const E of N){const R=j.getBlockChunkGroup(E);if(R){for(const E of R.chunks){$.push(E.id)}}else{$.push(null)}N.push.apply(N,E.blocks)}}return{modules:N,blocks:$}};const compareReferences=(E,{modules:N,blocks:R})=>{if(N!==undefined){for(const[E,R]of N){if(j.getModuleId(E)!==R)return false}}if(R!==undefined){const N=Array.from(E.blocks);let $=0;for(const E of N){const q=j.getBlockChunkGroup(E);if(q){for(const E of q.chunks){if($>=R.length||R[$++]!==E.id)return false}}else{if($>=R.length||R[$++]!==null)return false}N.push.apply(N,E.blocks)}if($!==R.length)return false}return true};for(const[R,j]of E){const E=j.get($);if(E===undefined){const E=new Tt;j.set($,{references:computeReferences(R),memCache:E});N.set(R,E);ie++}else if(!compareReferences(R,E.references)){const j=new Tt;E.references=computeReferences(R);E.memCache=j;N.set(R,j);G++}else{N.set(R,E.memCache);q++}}this.logger.log(`${Math.round(100*G/(ie+G+q))}% modules flagged as affected by chunk graph (${ie} new modules, ${G} changed, ${q} unchanged)`)}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=R(382);const N=new E;const j=this.moduleGraph;const $=new Map;for(const E of this.modules){const R=j.getProfile(E);if(!R)continue;$.set(E,R);N.range(R.buildingStartTime,R.buildingEndTime,(E=>R.buildingParallelismFactor=E));N.range(R.factoryStartTime,R.factoryEndTime,(E=>R.factoryParallelismFactor=E));N.range(R.integrationStartTime,R.integrationEndTime,(E=>R.integrationParallelismFactor=E));N.range(R.storingStartTime,R.storingEndTime,(E=>R.storingParallelismFactor=E));N.range(R.restoringStartTime,R.restoringEndTime,(E=>R.restoringParallelismFactor=E));if(R.additionalFactoryTimes){for(const{start:E,end:j}of R.additionalFactoryTimes){const $=(j-E)/R.additionalFactories;N.range(E,j,(E=>R.additionalFactoriesParallelismFactor+=E*$))}}}N.calculate();const q=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,N)=>{if(E>1e3){q.error(N)}else if(E>500){q.warn(N)}else if(E>200){q.info(N)}else if(E>30){q.log(N)}else{q.debug(N)}};const logNormalSummary=(E,N,R)=>{let j=0;let q=0;for(const[G,ie]of $){const $=R(ie);const ae=N(ie);if(ae===0||$===0)continue;const ce=ae/$;j+=ce;if(ce<=10)continue;logByValue(ce,` | ${Math.round(ce)} ms${$>=1.1?` (parallelism ${Math.round($*10)/10})`:""} ${E} > ${G.readableIdentifier(this.requestShortener)}`);q=Math.max(q,ce)}if(j<=10)return;logByValue(Math.max(j/10,q),`${Math.round(j)} ms ${E}`)};const logByLoadersSummary=(E,N,R)=>{const j=new Map;for(const[E,N]of $){const R=St(j,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));R.push({module:E,profile:N})}let q=0;let G=0;for(const[$,ie]of j){let j=0;let ae=0;for(const{module:$,profile:q}of ie){const G=R(q);const ie=N(q);if(ie===0||G===0)continue;const ce=ie/G;j+=ce;if(ce<=10)continue;logByValue(ce,` | | ${Math.round(ce)} ms${G>=1.1?` (parallelism ${Math.round(G*10)/10})`:""} ${E} > ${$.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,ce)}q+=j;if(j<=10)continue;const ce=$.indexOf("!");const le=$.slice(ce+1);const _e=$.slice(0,ce);const Te=Math.max(j/10,ae);logByValue(Te,` | ${Math.round(j)} ms ${E} > ${le?`${ie.length} x ${_e} with ${this.requestShortener.shorten(le)}`:`${ie.length} x ${_e}`}`);G=Math.max(G,Te)}if(q<=10)return;logByValue(Math.max(q/10,G),`${Math.round(q)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:N,moduleMemCaches:j}=this;this.hooks.finishModules.callAsync(N,(R=>{this.logger.timeEnd("finish modules");if(R)return E(R);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const E of N){const N=j&&j.get(E);if(N&&N.get("noWarningsOrErrors"))continue;let R=this.reportDependencyErrorsAndWarnings(E,[E]);const $=E.getErrors();if($!==undefined){for(const N of $){if(!N.module){N.module=E}this.errors.push(N);R=true}}const q=E.getWarnings();if(q!==undefined){for(const N of q){if(!N.module){N.module=E}this.warnings.push(N);R=true}}if(!R&&N)N.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(E){const finalCallback=N=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(N)};const N=new Ie(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=N;if(this._backCompat){for(const E of this.modules){Ie.setChunkGraphForModule(E,N)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const R=new Map;for(const[E,{dependencies:j,includeDependencies:$,options:q}]of this.entries){const G=this.addChunk(E);if(q.filename){G.filenameTemplate=q.filename}const ie=new We(q);if(!q.dependOn&&!q.runtime){ie.setRuntimeChunk(G)}ie.setEntrypointChunk(G);this.namedChunkGroups.set(E,ie);this.entrypoints.set(E,ie);this.chunkGroups.push(ie);qe(ie,G);const ae=new Set;for(const $ of[...this.globalEntry.dependencies,...j]){ie.addOrigin(null,{name:E},$.request);const j=this.moduleGraph.getModule($);if(j){N.connectChunkAndEntryModule(G,j,ie);ae.add(j);const E=R.get(ie);if(E===undefined){R.set(ie,[j])}else{E.push(j)}}}this.assignDepths(ae);const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(Pt);const ce=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort($)];let le=R.get(ie);if(le===undefined){R.set(ie,le=[])}for(const E of ce){this.assignDepth(E);le.push(E)}}const j=new Set;e:for(const[E,{options:{dependOn:N,runtime:R}}]of this.entries){if(N&&R){const N=new dt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const R=this.entrypoints.get(E);N.chunk=R.getEntrypointChunk();this.errors.push(N)}if(N){const R=this.entrypoints.get(E);const j=R.getEntrypointChunk().getAllReferencedChunks();const $=[];for(const q of N){const N=this.entrypoints.get(q);if(!N){throw new Error(`Entry ${E} depends on ${q}, but this entry was not found`)}if(j.has(N.getEntrypointChunk())){const N=new dt(`Entrypoints '${E}' and '${q}' use 'dependOn' to depend on each other in a circular way.`);const j=R.getEntrypointChunk();N.chunk=j;this.errors.push(N);R.setRuntimeChunk(j);continue e}$.push(N)}for(const E of $){He(E,R)}}else if(R){const N=this.entrypoints.get(E);let $=this.namedChunks.get(R);if($){if(!j.has($)){const j=new dt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${R}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(R)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${R}'? For this '${R}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${R}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const $=N.getEntrypointChunk();j.chunk=$;this.errors.push(j);N.setRuntimeChunk($);continue}}else{$=this.addChunk(R);$.preventIntegration=true;j.add($)}N.unshiftChunk($);$.addGroup(N);N.setRuntimeChunk($)}}pt(this,R);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const R=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(R){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((N=>{if(N){return finalCallback(N)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const j=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(j,(N=>{if(N){return finalCallback(N)}if(R){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Ft(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(R){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(Ge(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,N){let R=false;for(let j=0;j1){const $=new Map;for(const q of j){const j=N.getModuleHash(E,q);const G=$.get(j);if(G===undefined){const N={module:E,hash:j,runtime:q,runtimes:[q]};R.push(N);$.set(j,N)}else{G.runtimes.push(q)}}}}this._runCodeGenerationJobs(R,E)}_runCodeGenerationJobs(E,N){let R=0;let $=0;const{chunkGraph:q,moduleGraph:G,dependencyTemplates:ie,runtimeTemplate:ae}=this;const ce=this.codeGenerationResults;const le=[];j.eachLimit(E,this.options.parallelism,(({module:E,hash:N,runtime:j,runtimes:_e},Te)=>{this._codeGenerationModule(E,j,_e,N,ie,q,G,ae,le,ce,((E,N)=>{if(N)$++;else R++;Te(E)}))}),(E=>{if(E)return N(E);if(le.length>0){le.sort(Dt((E=>E.module),Pt));for(const E of le){this.errors.push(E)}}this.logger.log(`${Math.round(100*$/($+R))}% code generated (${$} generated, ${R} from cache)`);N()}))}_codeGenerationModule(E,N,R,j,$,q,G,ie,ae,ce,le){let _e=false;const Te=new Ee(R.map((N=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${Rt(N)}`,`${j}|${$.getHash()}`))));Te.get(((j,Ee)=>{if(j)return le(j);let we;if(!Ee){try{_e=true;this.codeGeneratedModules.add(E);we=E.codeGeneration({chunkGraph:q,moduleGraph:G,dependencyTemplates:$,runtimeTemplate:ie,runtime:N})}catch(j){ae.push(new Be(E,j));we=Ee={sources:new Map,runtimeRequirements:null}}}else{we=Ee}for(const N of R){ce.add(E,N,we)}if(!Ee){Te.store(we,(E=>le(E,_e)))}else{le(null,_e)}}))}_getChunkGraphEntries(){const E=new Set;for(const N of this.entrypoints.values()){const R=N.getRuntimeChunk();if(R)E.add(R)}for(const N of this.asyncEntrypoints){const R=N.getRuntimeChunk();if(R)E.add(R)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:N=this.modules,chunks:R=this.chunks,codeGenerationResults:j=this.codeGenerationResults,chunkGraphEntries:$=this._getChunkGraphEntries()}={}){const q={chunkGraph:E,codeGenerationResults:j};const{moduleMemCaches2:G}=this;this.logger.time("runtime requirements.modules");const ie=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const R of N){if(E.getNumberOfModuleChunks(R)>0){const N=G&&G.get(R);for(const $ of E.getModuleRuntimes(R)){if(N){const j=N.get(`moduleRuntimeRequirements-${Rt($)}`);if(j!==undefined){if(j!==null){E.addModuleRuntimeRequirements(R,$,j,false)}continue}}let G;const ce=j.getRuntimeRequirements(R,$);if(ce&&ce.size>0){G=new Set(ce)}else if(ie.isUsed()){G=new Set}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}continue}ie.call(R,G,q);for(const E of G){const N=ae.get(E);if(N!==undefined)N.call(R,G,q)}if(G.size===0){if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,G);E.addModuleRuntimeRequirements(R,$,G,false)}else{E.addModuleRuntimeRequirements(R,$,G)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const N of R){const R=new Set;for(const j of E.getChunkModulesIterable(N)){const $=E.getModuleRuntimeRequirements(j,N.runtime);for(const E of $)R.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInChunk.for(E).call(N,R,q)}E.addChunkRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const N of $){const R=new Set;for(const j of N.getAllReferencedChunks()){const N=E.getChunkRuntimeRequirements(j);for(const E of N)R.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInTree.for(E).call(N,R,q)}E.addTreeRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(E,N,R=this.chunkGraph){if(this._backCompat)et.setModuleGraphForModule(N,this.moduleGraph);this.modules.add(N);this._modules.set(N.identifier(),N);R.connectChunkAndModule(E,N);R.connectChunkAndRuntimeModule(E,N);if(N.fullHash){R.addFullHashModuleToChunk(E,N)}else if(N.dependentHash){R.addDependentHashModuleToChunk(E,N)}N.attach(this,E,R);const j=this.moduleGraph.getExportsInfo(N);j.setHasProvideInfo();if(typeof E.runtime==="string"){j.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){j.setUsedForSideEffectsOnly(undefined)}else{for(const N of E.runtime){j.setUsedForSideEffectsOnly(N)}}R.addModuleRuntimeRequirements(N,E.runtime,new Set([st.requireScope]));R.setModuleId(N,"");this.hooks.runtimeModule.call(N,E)}addChunkInGroup(E,N,R,j){if(typeof E==="string"){E={name:E}}const $=E.name;if($){const q=this.namedChunkGroups.get($);if(q!==undefined){q.addOptions(E);if(N){q.addOrigin(N,R,j)}return q}}const q=new Ne(E);if(N)q.addOrigin(N,R,j);const G=this.addChunk($);qe(q,G);this.chunkGroups.push(q);if($){this.namedChunkGroups.set($,q)}return q}addAsyncEntrypoint(E,N,R,j){const $=E.name;if($){const E=this.namedChunkGroups.get($);if(E instanceof We){if(E!==undefined){if(N){E.addOrigin(N,R,j)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${$}', because there is already an chunk group with this name`)}}const q=this.addChunk($);if(E.filename){q.filenameTemplate=E.filename}const G=new We(E,false);G.setRuntimeChunk(q);G.setEntrypointChunk(q);if($){this.namedChunkGroups.set($,G)}this.chunkGroups.push(G);this.asyncEntrypoints.push(G);qe(G,q);if(N){G.addOrigin(N,R,j)}return G}addChunk(E){if(E){const N=this.namedChunks.get(E);if(N!==undefined){return N}}const N=new we(E,this._backCompat);this.chunks.add(N);if(this._backCompat)Ie.setChunkGraphForChunk(N,this.chunkGraph);if(E){this.namedChunks.set(E,N)}return N}assignDepth(E){const N=this.moduleGraph;const R=new Set([E]);let j;N.setDepth(E,0);const processModule=E=>{if(!N.setDepthIfLower(E,j))return;R.add(E)};for(E of R){R.delete(E);j=N.getDepth(E)+1;for(const R of N.getOutgoingConnections(E)){const E=R.module;if(E){processModule(E)}}}}assignDepths(E){const N=this.moduleGraph;const R=new Set(E);R.add(1);let j=0;let $=0;for(const E of R){$++;if(typeof E==="number"){j=E;if(R.size===$)return;R.add(j+1)}else{N.setDepth(E,j);for(const{module:j}of N.getOutgoingConnections(E)){if(j){R.add(j)}}}}}getDependencyReferencedExports(E,N){const R=E.getReferencedExports(this.moduleGraph,N);return this.hooks.dependencyReferencedExports.call(R,E,N)}removeReasonsOfDependencyBlock(E,N){if(N.blocks){for(const R of N.blocks){this.removeReasonsOfDependencyBlock(E,R)}}if(N.dependencies){for(const E of N.dependencies){const N=this.moduleGraph.getModule(E);if(N){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(N)){this.patchChunksAfterReasonRemoval(N,E)}}}}}}patchChunksAfterReasonRemoval(E,N){if(!E.hasReasons(this.moduleGraph,N.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(N,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,N)){this.chunkGraph.disconnectChunkAndModule(N,E);this.removeChunkFromDependencies(E,N)}}}removeChunkFromDependencies(E,N){const iteratorDependency=E=>{const R=this.moduleGraph.getModule(E);if(!R){return}this.patchChunksAfterReasonRemoval(R,N)};const R=E.blocks;for(let N=0;N{const R=N.options.runtime||N.name;const j=N.getRuntimeChunk();E.setRuntimeId(R,j.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(qt);this.warnings.sort(qt);this.children.sort(Wt)}summarizeDependencies(){for(let E=0;E0){this.logger.time("hashing: hash child compilations");for(const E of this.children){G.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ie=[];const ae=[];for(const E of this.chunks){if(E.hasRuntime()){ie.push(E)}else{ae.push(E)}}ie.sort(zt);ae.sort(zt);const ce=new Map;for(const E of ie){ce.set(E,{chunk:E,referencedBy:[],remaining:0})}let le=0;for(const E of ce.values()){for(const N of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const R=ce.get(N);R.referencedBy.push(E);E.remaining++;le++}}const _e=[];for(const E of ce.values()){if(E.remaining===0){_e.push(E.chunk)}}if(le>0){const N=[];for(const R of _e){const j=E.getNumberOfChunkFullHashModules(R)!==0;const $=ce.get(R);for(const R of $.referencedBy){if(j){E.upgradeDependentToFullHashModules(R.chunk)}le--;if(--R.remaining===0){N.push(R.chunk)}}if(N.length>0){N.sort(zt);for(const E of N)_e.push(E);N.length=0}}}if(le>0){let E=[];for(const N of ce.values()){if(N.remaining!==0){E.push(N)}}E.sort(Dt((E=>E.chunk),zt));const N=new dt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);N.chunk=E[0].chunk;this.warnings.push(N);for(const N of E)_e.push(N.chunk)}this.logger.timeEnd("hashing: sort chunks");const Te=new Set;const Ee=[];const we=new Map;const processChunk=ie=>{this.logger.time("hashing: hash runtime modules");const ae=ie.runtime;for(const R of E.getChunkModulesIterable(ie)){if(!E.hasModuleHashes(R,ae)){const G=this._createModuleHash(R,E,ae,j,N,$,q);let ie=we.get(G);if(ie){const E=ie.get(R);if(E){E.runtimes.push(ae);continue}}else{ie=new Map;we.set(G,ie)}const ce={module:R,hash:G,runtime:ae,runtimes:[ae]};ie.set(R,ce);Ee.push(ce)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const ce=It(j);try{if(R.hashSalt){ce.update(R.hashSalt)}ie.updateHash(ce,E);this.hooks.chunkHash.call(ie,ce,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const N=ce.digest($);G.update(N);ie.hash=N;ie.renderedHash=ie.hash.substr(0,q);const j=E.getChunkFullHashModulesIterable(ie);if(j){Te.add(ie)}else{this.hooks.contentHash.call(ie)}}catch(E){this.errors.push(new Me(ie,"",E))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const E of _e)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(G);this.fullHash=G.digest($);this.hash=this.fullHash.substr(0,q);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const R of Te){for(const G of E.getChunkFullHashModulesIterable(R)){const ie=It(j);G.updateHash(ie,{chunkGraph:E,runtime:R.runtime,runtimeTemplate:N});const ae=ie.digest($);const ce=E.getModuleHash(G,R.runtime);E.setModuleHashes(G,R.runtime,ae,ae.substr(0,q));we.get(ce).get(G).hash=ae}const G=It(j);G.update(R.hash);G.update(this.hash);const ie=G.digest($);R.hash=ie;R.renderedHash=R.hash.substr(0,q);this.hooks.contentHash.call(R)}this.logger.timeEnd("hashing: process full hash modules");return Ee}emitAsset(E,N,R={}){if(this.assets[E]){if(!Lt(this.assets[E],N)){this.errors.push(new dt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=N;this._setAssetInfo(E,R);return}const j=this.assetsInfo.get(E);const $=Object.assign({},j,R);this._setAssetInfo(E,$,j);return}this.assets[E]=N;this._setAssetInfo(E,R,undefined)}_setAssetInfo(E,N,R=this.assetsInfo.get(E)){if(N===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,N)}const j=R&&R.related;const $=N&&N.related;if(j){for(const N of Object.keys(j)){const remove=R=>{const j=this._assetsRelatedIn.get(R);if(j===undefined)return;const $=j.get(N);if($===undefined)return;$.delete(E);if($.size!==0)return;j.delete(N);if(j.size===0)this._assetsRelatedIn.delete(R)};const R=j[N];if(Array.isArray(R)){R.forEach(remove)}else if(R){remove(R)}}}if($){for(const N of Object.keys($)){const add=R=>{let j=this._assetsRelatedIn.get(R);if(j===undefined){this._assetsRelatedIn.set(R,j=new Map)}let $=j.get(N);if($===undefined){j.set(N,$=new Set)}$.add(E)};const R=$[N];if(Array.isArray(R)){R.forEach(add)}else if(R){add(R)}}}}updateAsset(E,N,R=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof N==="function"){this.assets[E]=N(this.assets[E])}else{this.assets[E]=N}if(R!==undefined){const N=this.assetsInfo.get(E)||Bt;if(typeof R==="function"){this._setAssetInfo(E,R(N),N)}else{this._setAssetInfo(E,Et(N,R),N)}}}renameAsset(E,N){const R=this.assets[E];if(!R){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[N]){if(!Lt(this.assets[E],R)){this.errors.push(new dt(`Conflict: Called Compilation.renameAsset for already existing filename ${N} with different content`))}}const j=this.assetsInfo.get(E);const $=this._assetsRelatedIn.get(E);if($){for(const[R,j]of $){for(const $ of j){const j=this.assetsInfo.get($);if(!j)continue;const q=j.related;if(!q)continue;const G=q[R];let ie;if(Array.isArray(G)){ie=G.map((R=>R===E?N:R))}else if(G===E){ie=N}else continue;this.assetsInfo.set($,{...j,related:{...q,[R]:ie}})}}}this._setAssetInfo(E,undefined,j);this._setAssetInfo(N,j);delete this.assets[E];this.assets[N]=R;for(const R of this.chunks){{const j=R.files.size;R.files.delete(E);if(j!==R.files.size){R.files.add(N)}}{const j=R.auxiliaryFiles.size;R.auxiliaryFiles.delete(E);if(j!==R.auxiliaryFiles.size){R.auxiliaryFiles.add(N)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const N=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,N);const R=N&&N.related;if(R){for(const E of Object.keys(R)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const N=R[E];if(Array.isArray(N)){N.forEach(checkUsedAndDelete)}else if(N){checkUsedAndDelete(N)}}}for(const N of this.chunks){N.files.delete(E);N.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const N of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,N)){E.push({name:N,source:this.assets[N],info:this.assetsInfo.get(N)||Bt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Bt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const N of this.modules){if(N.buildInfo.assets){const R=N.buildInfo.assetsInfo;for(const j of Object.keys(N.buildInfo.assets)){const $=this.getPath(j,{chunkGraph:this.chunkGraph,module:N});for(const R of E.getModuleChunksIterable(N)){R.auxiliaryFiles.add($)}this.emitAsset($,N.buildInfo.assets[j],R?R.get(j):undefined);this.hooks.moduleAsset.call(N,$)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const N=this.outputOptions;const R=new WeakMap;const $=new Map;j.forEachLimit(this.chunks,15,((E,q)=>{let G;try{G=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:N,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(N){this.errors.push(new Me(E,"",N));return q()}j.forEach(G,((N,j)=>{const q=N.identifier;const G=N.hash;const ie=this._assetsCache.getItemCache(q,G);ie.get(((q,ae)=>{let ce;let le;let _e;let Ee=true;const errorAndCallback=N=>{const R=le||(typeof le==="string"?le:typeof ce==="string"?ce:"");this.errors.push(new Me(E,R,N));Ee=false;return j()};try{if("filename"in N){le=N.filename;_e=N.info}else{ce=N.filenameTemplate;const E=this.getPathWithInfo(ce,N.pathOptions);le=E.path;_e=N.info?{...E.info,...N.info}:E.info}if(q){return errorAndCallback(q)}let we=ae;const Ie=$.get(le);if(Ie!==undefined){if(Ie.hash!==G){Ee=false;return j(new dt(`Conflict: Multiple chunks emit assets to the same filename ${le}`+` (chunks ${Ie.chunk.id} and ${E.id})`))}else{we=Ie.source}}else if(!we){we=N.render();if(!(we instanceof Te)){const E=R.get(we);if(E){we=E}else{const E=new Te(we);R.set(we,E);we=E}}}this.emitAsset(le,we,_e);if(N.auxiliary){E.auxiliaryFiles.add(le)}else{E.files.add(le)}this.hooks.chunkAsset.call(E,le);$.set(le,{hash:G,source:we,chunk:E});if(we!==ae){ie.store(we,(E=>{if(E)return errorAndCallback(E);Ee=false;return j()}))}else{Ee=false;j()}}catch(q){if(!Ee)throw q;errorAndCallback(q)}}))}),q)}),E)}getPath(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPath(E,N)}getPathWithInfo(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPathWithInfo(E,N)}getAssetPath(E,N){return this.hooks.assetPath.call(typeof E==="function"?E(N):E,N,undefined)}getAssetPathWithInfo(E,N){const R={};const j=this.hooks.assetPath.call(typeof E==="function"?E(N,R):E,N,R);return{path:j,info:R}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,N,R){const j=this.childrenCounters[E]||0;this.childrenCounters[E]=j+1;return this.compiler.createChildCompiler(this,E,j,N,R)}executeModule(E,N,R){const $=new Set([E]);Mt($,10,((E,N,R)=>{this.buildQueue.waitFor(E,(j=>{if(j)return R(j);this.processDependenciesQueue.waitFor(E,(j=>{if(j)return R(j);for(const{module:R}of this.moduleGraph.getOutgoingConnections(E)){const E=$.size;$.add(R);if($.size!==E)N(R)}R()}))}))}),(q=>{if(q)return R(q);const G=new Ie(this.moduleGraph,this.outputOptions.hashFunction);const ie="build time";const{hashFunction:ae,hashDigest:ce,hashDigestLength:le}=this.outputOptions;const _e=this.runtimeTemplate;const Te=new we("build time chunk",this._backCompat);Te.id=Te.name;Te.ids=[Te.id];Te.runtime=ie;const Ee=new We({runtime:ie,chunkLoading:false,...N.entryOptions});G.connectChunkAndEntryModule(Te,E,Ee);qe(Ee,Te);Ee.setRuntimeChunk(Te);Ee.setEntrypointChunk(Te);const Ne=new Set([Te]);for(const E of $){const N=E.identifier();G.setModuleId(E,N);G.connectChunkAndModule(Te,E)}for(const E of $){this._createModuleHash(E,G,ie,ae,_e,ce,le)}const Me=new je(this.outputOptions.hashFunction);const Le=[];const codeGen=(E,N)=>{this._codeGenerationModule(E,ie,[ie],G.getModuleHash(E,ie),this.dependencyTemplates,G,this.moduleGraph,_e,Le,Me,((E,R)=>{N(E)}))};const reportErrors=()=>{if(Le.length>0){Le.sort(Dt((E=>E.module),Pt));for(const E of Le){this.errors.push(E)}Le.length=0}};j.eachLimit($,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=this.chunkGraph;this.chunkGraph=G;this.processRuntimeRequirements({chunkGraph:G,modules:$,chunks:Ne,codeGenerationResults:Me,chunkGraphEntries:Ne});this.chunkGraph=q;const Ee=G.getChunkRuntimeModulesIterable(Te);for(const E of Ee){$.add(E);this._createModuleHash(E,G,ie,ae,_e,ce,le)}j.eachLimit(Ee,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=new Map;const ae=new Map;const ce=new xt;const le=new xt;const _e=new xt;const Ee=new xt;const we=new Map;let Ie=true;const Ne={assets:we,__webpack_require__:undefined,chunk:Te,chunkGraph:G};j.eachLimit($,10,((E,N)=>{const R=Me.get(E,ie);const j={module:E,codeGenerationResult:R,preparedInfo:undefined,moduleObject:undefined};q.set(E,j);ae.set(E.identifier(),j);E.addCacheDependencies(ce,le,_e,Ee);if(E.buildInfo.cacheable===false){Ie=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:N,assetsInfo:R}=E.buildInfo;for(const E of Object.keys(N)){we.set(E,{source:N[E],info:R?R.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync(j,Ne,N)}),(N=>{if(N)return R(N);let j;try{const{strictModuleErrorHandling:N,strictModuleExceptionHandling:R}=this.outputOptions;const __nested_webpack_require_150631__=E=>{const N=ie[E];if(N!==undefined){if(N.error)throw N.error;return N.exports}const R=ae.get(E);return __webpack_require_module__(R,E)};const $=__nested_webpack_require_150631__[st.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ie=__nested_webpack_require_150631__[st.moduleCache.replace("__webpack_require__.","")]={};Ne.__webpack_require__=__nested_webpack_require_150631__;const __webpack_require_module__=(E,j)=>{var q={id:j,module:{id:j,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_150631__};$.forEach((E=>E(q)));const G=E.module;this.buildTimeExecutedModules.add(G);const ae=q.module;E.moduleObject=ae;try{if(j)ie[j]=ae;Ke((()=>this.hooks.executeModule.call(E,Ne)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(E){if(R){if(j)delete ie[j]}else if(N){ae.error=E}if(!E.module)E.module=G;throw E}};for(const E of G.getChunkRuntimeModulesInOrder(Te)){__webpack_require_module__(q.get(E))}j=__nested_webpack_require_150631__(E.identifier())}catch(N){const j=new dt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${N.message}`);j.stack=N.stack;j.module=N.module;return R(j)}R(null,{exports:j,assets:we,cacheable:Ie,fileDependencies:ce,contextDependencies:le,missingDependencies:_e,buildDependencies:Ee})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const N=new Set;for(const R of this.modules){if(R.type==="runtime")continue;const j=E.getModuleId(R);if(j===null)continue;if(N.has(j)){throw new Error(`checkConstraints: duplicate module id ${j}`)}N.add(j)}for(const N of this.chunks){for(const R of E.getChunkModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}for(const R of E.getChunkEntryModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}Compilation.prototype.factorizeModule=function(E,N){this.factorizeQueue.add(E,N)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:_e.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:_e.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,N,R)=>{"use strict";const j=R(78688);const $=R(62355);const{SyncHook:q,SyncBailHook:G,AsyncParallelHook:ie,AsyncSeriesHook:ae}=R(92960);const{SizeOnlySource:ce}=R(2991);const le=R(86443);const _e=R(54725);const Te=R(6503);const Ee=R(45137);const we=R(3080);const Ie=R(27310);const Ne=R(89869);const Me=R(75412);const Le=R(43229);const Be=R(80910);const je=R(1819);const Ue=R(10140);const ze=R(84693);const We=R(81627);const{Logger:Je}=R(78539);const{join:Ve,dirname:qe,mkdirp:He}=R(95396);const{makePathsRelative:Ge}=R(49197);const{isSourceEqual:Ke}=R(13559);const isSorted=E=>{for(let N=1;NE[N])return false}return true};const sortObject=(E,N)=>{const R={};for(const j of N.sort()){R[j]=E[j]}return R};const includesHash=(E,N)=>{if(!N)return false;if(Array.isArray(N)){return N.some((N=>E.includes(N)))}else{return E.includes(N)}};class Compiler{constructor(E,N={}){this.hooks=Object.freeze({initialize:new q([]),shouldEmit:new G(["compilation"]),done:new ae(["stats"]),afterDone:new q(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new q(["compilation","params"]),compilation:new q(["compilation","params"]),normalModuleFactory:new q(["normalModuleFactory"]),contextModuleFactory:new q(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new q(["params"]),make:new ie(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),watchRun:new ae(["compiler"]),failed:new q(["error"]),invalid:new q(["filename","changeTime"]),watchClose:new q([]),shutdown:new ae([]),infrastructureLog:new G(["origin","type","args"]),environment:new q([]),afterEnvironment:new q([]),afterPlugins:new q(["compiler"]),afterResolvers:new q(["compiler"]),entryOption:new G(["context","entry"])});this.webpack=le;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new je;this.infrastructureLogger=undefined;this.options=N;this.context=E;this.requestShortener=new Be(E,this.root);this.cache=new _e;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new Te(this.cache,`${this.compilerPath}${E}`,this.options.output.hashFunction)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new Je(((N,R)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,N,R)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,N,R)}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger(`${E}/${N}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Ee.clearChunkGraphForModule(E);Me.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Ee.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,N){if(this.running){return N(new Ie)}this.running=true;this.watchMode=true;this.watching=new ze(this,E,N);return this.watching}run(E){if(this.running){return E(new Ie)}let N;const finalCallback=(R,j)=>{if(N)N.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(N)N.timeEnd("beginIdle");this.running=false;if(R){this.hooks.failed.call(R)}if(E!==undefined)E(R,j);this.hooks.afterDone.call(j)};const R=Date.now();this.running=true;const onCompiled=(E,j)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call(j)===false){j.startTime=R;j.endTime=Date.now();const E=new Ue(j);this.hooks.done.callAsync(E,(N=>{if(N)return finalCallback(N);return finalCallback(null,E)}));return}process.nextTick((()=>{N=j.getLogger("webpack.Compiler");N.time("emitAssets");this.emitAssets(j,(E=>{N.timeEnd("emitAssets");if(E)return finalCallback(E);if(j.hooks.needAdditionalPass.call()){j.needAdditionalPass=true;j.startTime=R;j.endTime=Date.now();N.time("done hook");const E=new Ue(j);this.hooks.done.callAsync(E,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}N.time("emitRecords");this.emitRecords((E=>{N.timeEnd("emitRecords");if(E)return finalCallback(E);j.startTime=R;j.endTime=Date.now();N.time("done hook");const $=new Ue(j);this.hooks.done.callAsync($,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies(j.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,$)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const N=Date.now();this.compile(((R,j)=>{if(R)return E(R);this.parentCompilation.children.push(j);for(const{name:E,source:N,info:R}of j.getAssets()){this.parentCompilation.emitAsset(E,N,R)}const $=[];for(const E of j.entrypoints.values()){$.push(...E.chunks)}j.startTime=N;j.endTime=Date.now();return E(null,$,j)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,N){let R;const emitFiles=j=>{if(j)return N(j);const q=E.getAssets();E.assets={...E.assets};const G=new Map;const ie=new Set;$.forEachLimit(q,15,(({name:N,source:j,info:$},q)=>{let ae=N;let le=$.immutable;const _e=ae.indexOf("?");if(_e>=0){ae=ae.substr(0,_e);le=le&&(includesHash(ae,$.contenthash)||includesHash(ae,$.chunkhash)||includesHash(ae,$.modulehash)||includesHash(ae,$.fullhash))}const writeOut=$=>{if($)return q($);const _e=Ve(this.outputFileSystem,R,ae);ie.add(_e);const Te=this._assetEmittingWrittenFiles.get(_e);let Ee=this._assetEmittingSourceCache.get(j);if(Ee===undefined){Ee={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(j,Ee)}let we;const checkSimilarFile=()=>{const E=_e.toLowerCase();we=G.get(E);if(we!==undefined){const{path:E,source:R}=we;if(Ke(R,j)){if(we.size!==undefined){updateWithReplacementSource(we.size)}else{if(!we.waiting)we.waiting=[];we.waiting.push({file:N,cacheEntry:Ee})}alreadyWritten()}else{const R=new We(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${_e}\n${E}`);R.file=N;q(R)}return true}else{G.set(E,we={path:_e,source:j,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof j.buffer==="function"){return j.buffer()}else{const E=j.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(Te===undefined){const E=1;this._assetEmittingWrittenFiles.set(_e,E);Ee.writtenTo.set(_e,E)}else{Ee.writtenTo.set(_e,Te)}q()};const doWrite=$=>{this.outputFileSystem.writeFile(_e,$,(G=>{if(G)return q(G);E.emittedAssets.add(N);const ie=Te===undefined?1:Te+1;Ee.writtenTo.set(_e,ie);this._assetEmittingWrittenFiles.set(_e,ie);this.hooks.assetEmitted.callAsync(N,{content:$,source:j,outputPath:R,compilation:E,targetPath:_e},q)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(N,Ee,E);we.size=E;if(we.waiting!==undefined){for(const{file:N,cacheEntry:R}of we.waiting){updateFileWithReplacementSource(N,R,E)}}};const updateFileWithReplacementSource=(N,R,j)=>{if(!R.sizeOnlySource){R.sizeOnlySource=new ce(j)}E.updateAsset(N,R.sizeOnlySource,{size:j})};const processExistingFile=R=>{if(le){updateWithReplacementSource(R.size);return alreadyWritten()}const j=getContent();updateWithReplacementSource(j.length);if(j.length===R.size){E.comparedForEmitAssets.add(N);return this.outputFileSystem.readFile(_e,((E,N)=>{if(E||!j.equals(N)){return doWrite(j)}else{return alreadyWritten()}}))}return doWrite(j)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(Te!==undefined){const R=Ee.writtenTo.get(_e);if(R===Te){if(this._assetEmittingPreviousFiles.has(_e)){E.updateAsset(N,Ee.sizeOnlySource,{size:Ee.sizeOnlySource.size()});return q()}else{le=true}}else if(!le){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(_e,((E,N)=>{const R=!E&&N.isFile();if(R){processExistingFile(N)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const E=this.outputFileSystem;const N=qe(E,Ve(E,R,ae));He(E,N,writeOut)}else{writeOut()}}),(R=>{G.clear();if(R){this._assetEmittingPreviousFiles.clear();return N(R)}this._assetEmittingPreviousFiles=ie;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return N(E);return N()}))}))};this.hooks.emit.callAsync(E,(j=>{if(j)return N(j);R=E.getPath(this.outputPath,{});He(this.outputFileSystem,R,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,N)=>{if(typeof N==="object"&&N!==null&&!Array.isArray(N)){const E=Object.keys(N);if(!isSorted(E)){return sortObject(N,E)}}return N}),2),E)};const N=qe(this.outputFileSystem,this.recordsOutputPath);if(!N){return writeFile()}He(this.outputFileSystem,N,(N=>{if(N)return E(N);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(N=>{if(N)return E();this.inputFileSystem.readFile(this.recordsInputPath,((N,R)=>{if(N)return E(N);try{this.records=j(R.toString("utf-8"))}catch(N){N.message="Cannot parse records: "+N.message;return E(N)}return E()}))}))}createChildCompiler(E,N,R,j,$){const q=new Compiler(this.context,{...this.options,output:{...this.options.output,...j}});q.name=N;q.outputPath=this.outputPath;q.inputFileSystem=this.inputFileSystem;q.outputFileSystem=null;q.resolverFactory=this.resolverFactory;q.modifiedFiles=this.modifiedFiles;q.removedFiles=this.removedFiles;q.fileTimestamps=this.fileTimestamps;q.contextTimestamps=this.contextTimestamps;q.fsStartTime=this.fsStartTime;q.cache=this.cache;q.compilerPath=`${this.compilerPath}${N}|${R}|`;q._backCompat=this._backCompat;const G=Ge(this.context,N,this.root);if(!this.records[G]){this.records[G]=[]}if(this.records[G][R]){q.records=this.records[G][R]}else{this.records[G].push(q.records={})}q.parentCompilation=E;q.root=this.root;if(Array.isArray($)){for(const E of $){E.apply(q)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(q.hooks[E]){q.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(q,N,R);return q}isChild(){return!!this.parentCompilation}createCompilation(E){this._cleanupLastCompilation();return this._lastCompilation=new we(this,E)}newCompilation(E){const N=this.createCompilation(E);N.name=this.name;N.records=this.records;this.hooks.thisCompilation.call(N,E);this.hooks.compilation.call(N,E);return N}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Le({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Ne(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const N=this.newCompilationParams();this.hooks.beforeCompile.callAsync(N,(R=>{if(R)return E(R);this.hooks.compile.call(N);const j=this.newCompilation(N);const $=j.getLogger("webpack.Compiler");$.time("make hook");this.hooks.make.callAsync(j,(N=>{$.timeEnd("make hook");if(N)return E(N);$.time("finish make hook");this.hooks.finishMake.callAsync(j,(N=>{$.timeEnd("finish make hook");if(N)return E(N);process.nextTick((()=>{$.time("finish compilation");j.finish((N=>{$.timeEnd("finish compilation");if(N)return E(N);$.time("seal compilation");j.seal((N=>{$.timeEnd("seal compilation");if(N)return E(N);$.time("afterCompile hook");this.hooks.afterCompile.callAsync(j,(N=>{$.timeEnd("afterCompile hook");if(N)return E(N);return E(null,j)}))}))}))}))}))}))}))}close(E){if(this.watching){this.watching.close((N=>{this.close(E)}));return}this.hooks.shutdown.callAsync((N=>{if(N)return E(N);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const N=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const R="__WEBPACK_DEFAULT_EXPORT__";const j="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,N){this._currentModule=N;if(Array.isArray(E)){const N=new Map;for(const R of E){N.set(R.module,R)}E=N}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,N){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,N)}}registerRawExport(E,N){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,N)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:N=undefined,call:R=false,directImport:j=false,asiSafe:$=false}){const q=this._modulesMap.get(E);const G=R?"_call":"";const ie=j?"_directImport":"";const ae=$?"_asiSafe1":$===false?"_asiSafe0":"";const ce=N?Buffer.from(JSON.stringify(N),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${q.index}_${ce}${G}${ie}${ae}__._`}static isModuleReference(E){return N.test(E)}static matchModuleReference(E){const R=N.exec(E);if(!R)return null;const j=+R[1];const $=R[5];return{index:j,ids:R[2]==="ns"?[]:JSON.parse(Buffer.from(R[2],"hex").toString("utf-8")),call:!!R[3],directImport:!!R[4],asiSafe:$?$==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=R;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=j;E.exports=ConcatenationScope},27310:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class ConcurrentCompilationError extends j{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(2991);const q=R(63272);const G=R(58159);const{mergeRuntime:ie}=R(37416);const wrapInCondition=(E,N)=>{if(typeof N==="string"){return G.asString([`if (${E}) {`,G.indent(N),"}",""])}else{return new j(`if (${E}) {\n`,new $("\t",N),"}\n")}};class ConditionalInitFragment extends q{constructor(E,N,R,j,$=true,q){super(E,N,R,j,q);this.runtimeCondition=$}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.content;return wrapInCondition(N,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.endContent;return wrapInCondition(N,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const N=ie(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,N,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,N,R)=>{"use strict";const j=R(59455);const $=R(66298);const{evaluateToString:q}=R(48472);const{parseResource:G}=R(49197);const collectDeclaration=(E,N)=>{const R=[N];while(R.length>0){const N=R.pop();switch(N.type){case"Identifier":E.add(N.name);break;case"ArrayPattern":for(const E of N.elements){if(E){R.push(E)}}break;case"AssignmentPattern":R.push(N.left);break;case"ObjectPattern":for(const E of N.properties){R.push(E.value)}break;case"RestElement":R.push(N.argument);break}}};const getHoistedDeclarations=(E,N)=>{const R=new Set;const j=[E];while(j.length>0){const E=j.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const N of E.body){j.push(N)}break;case"IfStatement":j.push(E.consequent);j.push(E.alternate);break;case"ForStatement":j.push(E.init);j.push(E.body);break;case"ForInStatement":case"ForOfStatement":j.push(E.left);j.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":j.push(E.body);break;case"SwitchStatement":for(const N of E.cases){for(const E of N.consequent){j.push(E)}}break;case"TryStatement":j.push(E.block);if(E.handler){j.push(E.handler.body)}j.push(E.finalizer);break;case"FunctionDeclaration":if(N){collectDeclaration(R,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const N of E.declarations){collectDeclaration(R,N.id)}}break}}return Array.from(R)};class ConstPlugin{apply(E){const N=G.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(`${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;if(q){let N;if(E.scope.isStrict){N=getHoistedDeclarations(q,false)}else{N=getHoistedDeclarations(q,true)}let R;if(N.length>0){R=`{ var ${N.join(", ")}; }`}else{R="{}"}const j=new $(R,q.range);j.loc=q.loc;E.state.module.addPresentationalDependency(j)}return j}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;const G=new $("0",q.range);G.loc=q.loc;E.state.module.addPresentationalDependency(G);return j}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(N.operator==="&&"||N.operator==="||"){const R=E.evaluateExpression(N.left);const j=R.asBool();if(typeof j==="boolean"){const q=N.operator==="&&"&&j||N.operator==="||"&&!j;if(!R.couldHaveSideEffects()&&(R.isBoolean()||q)){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.left)}if(!q){const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}return q}}else if(N.operator==="??"){const R=E.evaluateExpression(N.left);const j=R&&R.asNullish();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()&&j){const j=new $(" null",R.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j)}else{const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);E.walkExpression(N.left)}return j}}}));E.hooks.optionalChaining.tap("ConstPlugin",(N=>{const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length){const j=R.pop();const q=E.evaluateExpression(j);if(q&&q.asNullish()){const R=new $(" undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).query)(R)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).query),R.range,"__resourceQuery");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).fragment)(R)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).fragment),R.range,"__resourceFragment");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}))};R.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(2991);const q=R(98221);const{makeWebpackError:G}=R(3728);const ie=R(53453);const ae=R(76150);const ce=R(58159);const le=R(81627);const{compareLocations:_e,concatComparators:Te,compareSelect:Ee,keepOriginalOrder:we,compareModulesById:Ie}=R(68673);const{contextify:Ne,parseResource:Me}=R(49197);const Le=R(56202);const Be={timestamp:true};const je=new Set(["javascript"]);class ContextModule extends ie{constructor(E,N){const R=Me(N?N.resource:"");const j=R.path;const $=N&&N.resourceQuery||R.query;const q=N&&N.resourceFragment||R.fragment;super("javascript/dynamic",j);this.resolveDependencies=E;this.options={...N,resource:j,resourceQuery:$,resourceFragment:q};if(N&&N.resolveOptions!==undefined){this.resolveOptions=N.resolveOptions}if(N&&typeof N.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return je}updateCacheModule(E){const N=E;this.resolveDependencies=N.resolveDependencies;this.options=N.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let N=E.shorten(this.context)+"/";if(this.options.resourceQuery){N+=` ${this.options.resourceQuery}`}if(this.options.mode){N+=` ${this.options.mode}`}if(!this.options.recursive){N+=" nonrecursive"}if(this.options.addon){N+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){N+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const R of Object.keys(E)){N+=` ${R}: ${E[R]}`}}if(this.options.namespaceObject==="strict"){N+=" strict namespace object"}else if(this.options.namespaceObject){N+=" namespace object"}return N}libIdent(E){let N=Ne(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){N+=` ${this.options.mode}`}if(this.options.recursive){N+=" recursive"}if(this.options.addon){N+=` ${Ne(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return N}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},N){if(this._forceBuild)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,R)=>{N(E,!R)}))}build(E,N,R,j,$){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ie=Date.now();this.resolveDependencies(j,this.options,((E,R)=>{if(E){return $(G(E,"ContextModule.resolveDependencies"))}if(!R){$();return}for(const E of R){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}R.sort(Te(Ee((E=>E.loc),_e),we(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=R}else if(this.options.mode==="lazy-once"){if(R.length>0){const E=new q({...this.options.groupOptions,name:this.options.chunkName});for(const N of R){E.addDependency(N)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of R){E.weak=true}this.dependencies=R}else if(this.options.mode==="lazy"){let E=0;for(const N of R){let R=this.options.chunkName;if(R){if(!/\[(index|request)\]/.test(R)){R+="[index]"}R=R.replace(/\[index\]/g,`${E++}`);R=R.replace(/\[request\]/g,ce.toPath(N.userRequest))}const j=new q({...this.options.groupOptions,name:R},N.loc,N.userRequest);j.addDependency(N);this.addBlock(j)}}else{$(new le(`Unsupported mode "${this.options.mode}" in context`));return}N.fileSystemInfo.createSnapshot(ie,null,[this.context],null,Be,((E,N)=>{if(E)return $(E);this.buildInfo.snapshot=N;$()}))}))}addCacheDependencies(E,N,R,j){N.add(this.context)}getUserRequestMap(E,N){const R=N.moduleGraph;const j=E.filter((E=>R.getModule(E))).sort(((E,N)=>{if(E.userRequest===N.userRequest){return 0}return E.userRequestR.getModule(E))).filter(Boolean).sort($);const G=Object.create(null);for(const E of q){const $=E.getExportsType(R,this.options.namespaceObject==="strict");const q=N.getModuleId(E);switch($){case"namespace":G[q]=9;j|=1;break;case"dynamic":G[q]=7;j|=2;break;case"default-only":G[q]=1;j|=4;break;case"default-with-named":G[q]=3;j|=8;break;default:throw new Error(`Unexpected exports type ${$}`)}}if(j===1){return 9}if(j===2){return 7}if(j===4){return 1}if(j===8){return 3}if(j===0){return 9}return G}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,N){if(E===9){return"__webpack_require__(id)"}return`${ae.createFakeNamespaceObject}(id, ${E}${N?" | 16":""})`}getReturnModuleObjectSource(E,N,R="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,N)};`}return`return ${ae.createFakeNamespaceObject}(id, ${R}${N?" | 16":""})`}getSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(N)};`}getWeakSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=this.getReturnModuleObjectSource(G,true);return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${$?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ie}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=G!==9?`${$?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(G)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ie});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,N,R,{runtimeTemplate:j,chunkGraph:$}){const q=j.blockPromise({chunkGraph:$,block:E,message:"lazy-once context",runtimeRequirements:new Set});const G=j.supportsArrowFunction();const ie=this.getUserRequestMap(N,$);const ce=this.getFakeMap(N,$);const le=ce!==9?`${G?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ce,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ie,null,"\t")};\n${this.getFakeMapInitStatement(ce)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${le});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${q}.then(${G?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=R.moduleGraph;const q=j.supportsArrowFunction();let G=false;let ie=true;const ce=this.getFakeMap(E.map((E=>E.dependencies[0])),R);const le=typeof ce==="object";const _e=E.map((E=>{const N=E.dependencies[0];return{dependency:N,module:$.getModule(N),block:E,userRequest:N.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of _e){const N=R.getBlockChunkGroup(E.block);const j=N&&N.chunks||[];E.chunks=j;if(j.length>0){ie=false}if(j.length!==1){G=true}}const Te=ie&&!le;const Ee=_e.sort(((E,N)=>{if(E.userRequest===N.userRequest)return 0;return E.userRequestE.id)))}}const Ie=le?2:1;const Ne=ie?"Promise.resolve()":G?`Promise.all(ids.slice(${Ie}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Ie}])`;const Me=this.getReturnModuleObjectSource(ce,true,Te?"invalid":"ids[1]");const Le=Ne==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${Te?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Me}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Ne}.then(${q?"() =>":"function()"} {\n\t\t${Me}\n\t});\n}`;return`var map = ${JSON.stringify(we,null,"\t")};\n${Le}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,N){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,N){const R=N.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${R?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:N,chunkGraph:R}){const j=R.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,j,R)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,j,R)}return this.getSourceForEmptyContext(j,N)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new j(E,this.identifier())}return new $(E)}codeGeneration(E){const{chunkGraph:N}=E;const R=new Map;R.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const j=new Set;const $=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));j.add(ae.module);j.add(ae.hasOwnProperty);if($.length>0){const E=this.options.mode;j.add(ae.require);if(E==="weak"){j.add(ae.moduleFactories)}else if(E==="async-weak"){j.add(ae.moduleFactories);j.add(ae.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){j.add(ae.ensureChunk)}if(this.getFakeMap($,N)!==9){j.add(ae.createFakeNamespaceObject)}}return{sources:R,runtimeRequirements:j}}size(E){let N=160;for(const E of this.dependencies){const R=E;N+=5+R.userRequest.length}return N}serialize(E){const{write:N}=E;N(this._identifier);N(this._forceBuild);super.serialize(E)}deserialize(E){const{read:N}=E;this._identifier=N();this._forceBuild=N();super.deserialize(E)}}Le(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,N,R)=>{"use strict";const j=R(62355);const{AsyncSeriesWaterfallHook:$,SyncWaterfallHook:q}=R(92960);const G=R(58126);const ie=R(40674);const ae=R(90872);const ce=R(83379);const{cachedSetProperty:le}=R(90149);const{createFakeHook:_e}=R(16595);const{join:Te}=R(95396);const Ee={};E.exports=class ContextModuleFactory extends ie{constructor(E){super();const N=new $(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new $(["data"]),afterResolve:new $(["data"]),contextModuleFiles:new q(["files"]),alternatives:_e({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,R)=>{N.tap(E,R)},tapAsync:(E,R)=>{N.tapAsync(E,((E,N,j)=>R(E,j)))},tapPromise:(E,R)=>{N.tapPromise(E,R)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:N});this.resolverFactory=E}create(E,N){const R=E.context;const $=E.dependencies;const q=E.resolveOptions;const ie=$[0];const ae=new ce;const _e=new ce;const Te=new ce;this.hooks.beforeResolve.callAsync({context:R,dependencies:$,resolveOptions:q,fileDependencies:ae,missingDependencies:_e,contextDependencies:Te,...ie.options},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Te})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Te})}const q=R.context;const ie=R.request;const ce=R.resolveOptions;let we,Ie,Ne="";const Me=ie.lastIndexOf("!");if(Me>=0){let E=ie.substr(0,Me+1);let N;for(N=0;N0?le(ce||Ee,"dependencyType",$[0].category):ce);const Be=this.resolverFactory.get("loader");j.parallel([E=>{Le.resolve({},q,Ie,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Te},((N,R)=>{if(N)return E(N);E(null,R)}))},E=>{j.map(we,((E,N)=>{Be.resolve({},q,E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Te},((E,R)=>{if(E)return N(E);N(null,R)}))}),E)}],((E,j)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Te})}this.hooks.afterResolve.callAsync({addon:Ne+j[1].join("!")+(j[1].length>0?"!":""),resource:j[0],resolveDependencies:this.resolveDependencies.bind(this),...R},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Te})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Te})}return N(null,{module:new G(R.resolveDependencies,R),fileDependencies:ae,missingDependencies:_e,contextDependencies:Te})}))}))}))}resolveDependencies(E,N,R){const $=this;const{resource:q,resourceQuery:G,resourceFragment:ie,recursive:ce,regExp:le,include:_e,exclude:Ee,referencedExports:we,category:Ie,typePrefix:Ne}=N;if(!le||!q)return R(null,[]);const addDirectoryChecked=(N,R,j)=>{E.realpath(N,((E,$)=>{if(E)return j(E);if(R.has($))return j(null,[]);let q;addDirectory(N,((E,N)=>{if(q===undefined){q=new Set(R);q.add($)}addDirectoryChecked(E,q,N)}),j)}))};const addDirectory=(R,Me,Le)=>{E.readdir(R,((Be,je)=>{if(Be)return Le(Be);const Ue=$.hooks.contextModuleFiles.call(je.map((E=>E.normalize("NFC"))));if(!Ue||Ue.length===0)return Le(null,[]);j.map(Ue.filter((E=>E.indexOf(".")!==0)),((j,$)=>{const Le=Te(E,R,j);if(!Ee||!Le.match(Ee)){E.stat(Le,((E,R)=>{if(E){if(E.code==="ENOENT"){return $()}else{return $(E)}}if(R.isDirectory()){if(!ce)return $();Me(Le,$)}else if(R.isFile()&&(!_e||Le.match(_e))){const E={context:q,request:"."+Le.substr(q.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],N,((E,N)=>{if(E)return $(E);N=N.filter((E=>le.test(E.request))).map((E=>{const N=new ae(E.request+G+ie,E.request,Ne,Ie,we);N.optional=true;return N}));$(null,N)}))}else{$()}}))}else{$()}}),((E,N)=>{if(E)return Le(E);if(!N)return Le(null,[]);const R=[];for(const E of N){if(E)R.push(...E)}Le(null,R)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(q,new Set,R)}else{const addSubDirectory=(E,N)=>addDirectory(E,addSubDirectory,N);addDirectory(q,addSubDirectory,R)}}}},26552:(E,N,R)=>{"use strict";const j=R(90872);const{join:$}=R(95396);class ContextReplacementPlugin{constructor(E,N,R,j){this.resourceRegExp=E;if(typeof N==="function"){this.newContentCallback=N}else if(typeof N==="string"&&typeof R==="object"){this.newContentResource=N;this.newContentCreateContextMap=(E,N)=>{N(null,R)}}else if(typeof N==="string"&&typeof R==="function"){this.newContentResource=N;this.newContentCreateContextMap=R}else{if(typeof N!=="string"){j=R;R=N;N=undefined}if(typeof R!=="boolean"){j=R;R=undefined}this.newContentResource=N;this.newContentRecursive=R;this.newContentRegExp=j}}apply(E){const N=this.resourceRegExp;const R=this.newContentCallback;const j=this.newContentResource;const q=this.newContentRecursive;const G=this.newContentRegExp;const ie=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(N.test(E.request)){if(j!==undefined){E.request=j}if(q!==undefined){E.recursive=q}if(G!==undefined){E.regExp=G}if(typeof R==="function"){R(E)}else{for(const N of E.dependencies){if(N.critical)N.critical=false}}}return E}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(N.test(ae.resource)){if(j!==undefined){if(j.startsWith("/")||j.length>1&&j[1]===":"){ae.resource=j}else{ae.resource=$(E.inputFileSystem,ae.resource,j)}}if(q!==undefined){ae.recursive=q}if(G!==undefined){ae.regExp=G}if(typeof ie==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(ie)}if(typeof R==="function"){const N=ae.resource;R(ae);if(ae.resource!==N&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=$(E.inputFileSystem,N,ae.resource)}}else{for(const E of ae.dependencies){if(E.critical)E.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(N,R,$)=>{E(N,((E,N)=>{if(E)return $(E);const q=Object.keys(N).map((E=>new j(N[E]+R.resourceQuery+R.resourceFragment,E,R.category,R.referencedExports)));$(null,q)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{evaluateToString:ie,toConstantDependency:ae}=R(48472);const ce=R(35891);class RuntimeValue{constructor(E,N){this.fn=E;if(Array.isArray(N)){N={fileDependencies:N}}this.options=N||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,N,R){const j=E.state.module.buildInfo;if(this.options===true){j.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){j.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){j.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){j.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){j.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:R,get version(){return N.get(le+R)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,N,R,j,$,q)=>{let G;let ie=Array.isArray(E);if(ie){G=`[${E.map((E=>toCode(E,N,R,j,$,null))).join(",")}]`}else{G=`{${Object.keys(E).map((j=>{const q=E[j];return JSON.stringify(j)+":"+toCode(q,N,R,j,$,null)})).join(",")}}`}switch(q){case null:return G;case true:return ie?G:`(${G})`;case false:return ie?`;${G}`:`;(${G})`;default:return`/*#__PURE__*/Object(${G})`}};const toCode=(E,N,R,j,$,q)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(N,R,j),N,R,j,$,q)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,N,R,j,$,q)}if(typeof E==="bigint"){return $.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const N=Object.keys(E).map((N=>({key:N,value:toCacheVersion(E[N])})));if(N.some((({value:E})=>E===undefined)))return undefined;return`{${N.map((({key:E,value:N})=>`${E}: ${N}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const le="webpack/DefinePlugin ";const _e="webpack/DefinePlugin_hash";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,N){return new RuntimeValue(E,N)}apply(E){const N=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);const{runtimeTemplate:Te}=E;const Ee=ce(E.outputOptions.hashFunction);Ee.update(E.valueCacheVersions.get(_e)||"");const handler=R=>{const $=E.valueCacheVersions.get(_e);R.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=R.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(_e,$)}));const addValueDependency=N=>{const{buildInfo:j}=R.state.module;j.valueDependencies.set(le+N,E.valueCacheVersions.get(le+N))};const withValueDependency=(E,N)=>(...R)=>{addValueDependency(E);return N(...R)};const walkDefinitions=(E,N)=>{Object.keys(E).forEach((R=>{const j=E[R];if(j&&typeof j==="object"&&!(j instanceof RuntimeValue)&&!(j instanceof RegExp)){walkDefinitions(j,N+R+".");applyObjectDefine(N+R,j);return}applyDefineKey(N,R);applyDefine(N+R,j)}))};const applyDefineKey=(E,N)=>{const j=N.split(".");j.slice(1).forEach((($,q)=>{const G=E+j.slice(0,q+1).join(".");R.hooks.canRename.for(G).tap("DefinePlugin",(()=>{addValueDependency(N);return true}))}))};const applyDefine=(N,$)=>{const q=N;const G=/^typeof\s+/.test(N);if(G)N=N.replace(/^typeof\s+/,"");let ie=false;let ce=false;if(!G){R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(q);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(j=>{if(ie)return;addValueDependency(q);ie=true;const G=R.evaluate(toCode($,R,E.valueCacheVersions,N,Te,null));ie=false;G.setRange(j.range);return G}));R.hooks.expression.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const G=toCode($,R,E.valueCacheVersions,q,Te,!R.isAsiPosition(N.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(N)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(N)}else{return ae(R,G)(N)}}))}R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",(N=>{if(ce)return;ce=true;addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Te,null);const ie=G?j:"typeof ("+j+")";const ae=R.evaluate(ie);ce=false;ae.setRange(N.range);return ae}));R.hooks.typeof.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Te,null);const ie=G?j:"typeof ("+j+")";const ce=R.evaluate(ie);if(!ce.isString())return;return ae(R,JSON.stringify(ce.string)).bind(R)(N)}))};const applyObjectDefine=(N,$)=>{R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(N);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(E=>{addValueDependency(N);return(new G).setTruthy().setSideEffects(false).setRange(E.range)}));R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",withValueDependency(N,ie("object")));R.hooks.expression.for(N).tap("DefinePlugin",(q=>{addValueDependency(N);const G=stringifyObj($,R,E.valueCacheVersions,N,Te,!R.isAsiPosition(q.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(q)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(q)}else{return ae(R,G)(q)}}));R.hooks.typeof.for(N).tap("DefinePlugin",withValueDependency(N,ae(R,JSON.stringify("object"))))};walkDefinitions(N,"")};R.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(N,R)=>{Object.keys(N).forEach((j=>{const q=N[j];const G=toCacheVersion(q);const ie=le+R+j;Ee.update("|"+R+j);const ae=E.valueCacheVersions.get(ie);if(ae===undefined){E.valueCacheVersions.set(ie,G)}else if(ae!==G){const N=new $(`DefinePlugin\nConflicting values for '${R+j}'`);N.details=`'${ae}' !== '${G}'`;N.hideStack=true;E.warnings.push(N)}if(q&&typeof q==="object"&&!(q instanceof RuntimeValue)&&!(q instanceof RegExp)){walkDefinitionsForValues(q,R+j+".")}}))};walkDefinitionsForValues(N,"");E.valueCacheVersions.set(_e,Ee.digest("hex").slice(0,8))}))}}E.exports=DefinePlugin},3955:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(2991);const q=R(53453);const G=R(76150);const ie=R(49422);const ae=R(96076);const ce=R(56202);const le=new Set(["javascript"]);const _e=new Set([G.module,G.require]);class DelegatedModule extends q{constructor(E,N,R,j,$){super("javascript/dynamic",null);this.sourceRequest=E;this.request=N.id;this.delegationType=R;this.userRequest=j;this.originalRequest=$;this.delegateData=N;this.delegatedSourceDependency=undefined}getSourceTypes(){return le}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ie(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(this.delegateData.exports||true,false));$()}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const q=this.dependencies[0];const G=N.getModule(q);let ie;if(!G){ie=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ie=`module.exports = (${E.moduleExports({module:G,chunkGraph:R,request:q.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ie+=`(${JSON.stringify(this.request)})`;break;case"object":ie+=`[${JSON.stringify(this.request)}]`;break}ie+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new j(ie,this.identifier()))}else{ae.set("javascript",new $(ie))}return{sources:ae,runtimeRequirements:_e}}size(E){return 42}updateHash(E,N){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceRequest);N(this.delegateData);N(this.delegationType);N(this.userRequest);N(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new DelegatedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.delegationType=N.delegationType;this.userRequest=N.userRequest;this.originalRequest=N.originalRequest;this.delegateData=N.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ce(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,N,R)=>{"use strict";const j=R(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const N=this.options.scope;if(N){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,R)=>{const[$]=E.dependencies;const{request:q}=$;if(q&&q.startsWith(`${N}/`)){const E="."+q.substr(N.length);let $;if(E in this.options.content){$=this.options.content[E];return R(null,new j(this.options.source,$,this.options.type,E,q))}for(let N=0;N{const N=E.libIdent(this.options);if(N){if(N in this.options.content){const R=this.options.content[N];return new j(this.options.source,R,this.options.type,N,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,N,R)=>{"use strict";const j=R(56396);const $=R(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:N})=>{new j({associatedObjectForCache:E.root,...this.options}).apply(N)}))}}E.exports=DelegatedPlugin},32448:(E,N,R)=>{"use strict";const j=R(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let E=this;while(E.parent)E=E.parent;return E}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const N=this.dependencies.indexOf(E);if(N>=0){this.dependencies.splice(N,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,N){for(const R of this.dependencies){R.updateHash(E,N)}for(const R of this.blocks){R.updateHash(E,N)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}j(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("transitive");const q=j((()=>{const E=R(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}couldAffectReferencingModule(){return $}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,N){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,N){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return q()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=$;E.exports=Dependency},84304:(E,N,R)=>{"use strict";class DependencyTemplate{apply(E,N,j){const $=R(75884);throw new $}}E.exports=DependencyTemplate},46828:(E,N,R)=>{"use strict";const j=R(35891);class DependencyTemplates{constructor(E="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=E}get(E){return this._map.get(E)}set(E,N){this._map.set(E,N)}updateHash(E){const N=j(this._hashFunction);N.update(`${this._hash}${E}`);this._hash=N.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,N,R)=>{"use strict";const j=R(80419);const $=R(95189);const q=R(66583);class DllEntryPlugin{constructor(E,N,R){this.context=E;this.entries=N;this.options=R}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:N})=>{const R=new j;E.dependencyFactories.set($,R);E.dependencyFactories.set(q,N)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,N)=>{E.addEntry(this.context,new $(this.entries.map(((E,N)=>{const R=new q(E);R.loc={name:this.options.name,index:N};return R})),this.options.name),this.options,N)}))}}E.exports=DllEntryPlugin},44593:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(53453);const q=R(76150);const G=R(56202);const ie=new Set(["javascript"]);const ae=new Set([q.require,q.module]);class DllModule extends ${constructor(E,N,R){super("javascript/dynamic",E);this.dependencies=N;this.name=R}getSourceTypes(){return ie}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={};return $()}codeGeneration(E){const N=new Map;N.set("javascript",new j("module.exports = __webpack_require__;"));return{sources:N,runtimeRequirements:ae}}needBuild(E,N){return N(null,!this.buildMeta)}size(E){return 12}updateHash(E,N){E.update(`dll module${this.name||""}`);super.updateHash(E,N)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}G(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,N,R)=>{"use strict";const j=R(44593);const $=R(40674);class DllModuleFactory extends ${constructor(){super();this.hooks=Object.freeze({})}create(E,N){const R=E.dependencies[0];N(null,{module:new j(E.context,R.dependencies,R.name)})}}E.exports=DllModuleFactory},73887:(E,N,R)=>{"use strict";const j=R(9013);const $=R(6283);const q=R(77750);const G=R(35817);const ie=G(R(43548),(()=>R(28991)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ie(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((N,R)=>{if(typeof R!=="function"){for(const $ of Object.keys(R)){const q={name:$,filename:R.filename};new j(N,R[$].import,q).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new q(this.options).apply(E);if(!this.options.entryOnly){new $("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,N,R)=>{"use strict";const j=R(78688);const $=R(56396);const q=R(59084);const G=R(81627);const ie=R(49422);const ae=R(35817);const ce=R(49197).makePathsRelative;const le=ae(R(69744),(()=>R(67138)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){le(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(ie,N)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((N,R)=>{if("manifest"in this.options){const $=this.options.manifest;if(typeof $==="string"){E.inputFileSystem.readFile($,((q,G)=>{if(q)return R(q);const ie={path:$,data:undefined,error:undefined};try{ie.data=j(G.toString("utf-8"))}catch(N){const R=ce(E.options.context,$,E.root);ie.error=new DllManifestError(R,N.message)}this._compilationData.set(N,ie);return R()}));return}}return R()}));E.hooks.compile.tap("DllReferencePlugin",(N=>{let R=this.options.name;let j=this.options.sourceType;let G="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let $;if(typeof E==="string"){const E=this._compilationData.get(N);if(E.error){return}$=E.data}else{$=E}if($){if(!R)R=$.name;if(!j)j=$.type;if(!G)G=$.content}}const ie={};const ae="dll-reference "+R;ie[ae]=R;const ce=N.normalModuleFactory;new q(j||"var",ie).apply(ce);new $({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:G,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(ce)}));E.hooks.compilation.tap("DllReferencePlugin",((E,N)=>{if("manifest"in this.options){let R=this.options.manifest;if(typeof R==="string"){const j=this._compilationData.get(N);if(j.error){E.errors.push(j.error)}E.fileDependencies.add(R)}}}))}}class DllManifestError extends G{constructor(E,N){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${N}`}}E.exports=DllReferencePlugin},85227:(E,N,R)=>{"use strict";const j=R(64699);const $=R(59674);const q=R(66583);class DynamicEntryPlugin{constructor(E,N){this.context=E;this.entry=N}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((N,R)=>Promise.resolve(this.entry()).then((R=>{const q=[];for(const G of Object.keys(R)){const ie=R[G];const ae=j.entryDescriptionToOptions(E,G,ie);for(const E of ie.import){q.push(new Promise(((R,j)=>{N.addEntry(this.context,$.createDependency(E,ae),ae,(E=>{if(E)return j(E);R()}))})))}}return Promise.all(q)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,N,R)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((N,R)=>{EntryOptionPlugin.applyEntryOption(E,N,R);return true}))}static applyEntryOption(E,N,j){if(typeof j==="function"){const $=R(85227);new $(N,j).apply(E)}else{const $=R(59674);for(const R of Object.keys(j)){const q=j[R];const G=EntryOptionPlugin.entryDescriptionToOptions(E,R,q);for(const R of q.import){new $(N,R,G).apply(E)}}}}static entryDescriptionToOptions(E,N,j){const $={name:N,filename:j.filename,runtime:j.runtime,layer:j.layer,dependOn:j.dependOn,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,library:j.library};if(j.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(j.chunkLoading){const N=R(50369);N.checkEnabled(E,j.chunkLoading)}if(j.wasmLoading){const N=R(69085);N.checkEnabled(E,j.wasmLoading)}if(j.library){const N=R(13984);N.checkEnabled(E,j.library.type)}return $}}E.exports=EntryOptionPlugin},59674:(E,N,R)=>{"use strict";const j=R(66583);class EntryPlugin{constructor(E,N,R){this.context=E;this.entry=N;this.options=R||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));const{entry:N,options:R,context:$}=this;const q=EntryPlugin.createDependency(N,R);E.hooks.make.tapAsync("EntryPlugin",((E,N)=>{E.addEntry($,q,R,(E=>{N(E)}))}))}static createDependency(E,N){const R=new j(E);R.loc={name:typeof N==="object"?N.name:N};return R}}E.exports=EntryPlugin},71452:(E,N,R)=>{"use strict";const j=R(84558);class Entrypoint extends j{constructor(E,N=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=N}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,N){if(this._runtimeChunk===E)this._runtimeChunk=N;if(this._entrypointChunk===E)this._entrypointChunk=N;return super.replaceChunk(E,N)}}E.exports=Entrypoint},64856:(E,N,R)=>{"use strict";const j=R(24820);const $=R(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const N={};for(const R of this.keys){const j=process.env[R]!==undefined?process.env[R]:this.defaultValues[R];if(j===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const N=new $(`EnvironmentPlugin - ${R} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");N.name="EnvVariableNotDefinedError";E.errors.push(N)}))}N[`process.env.${R}`]=j===undefined?"undefined":JSON.stringify(j)}new j(N).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,N)=>{"use strict";const R="LOADER_EXECUTION";const j="WEBPACK_OPTIONS";N.cutOffByFlag=(E,N)=>{E=E.split("\n");for(let R=0;RN.cutOffByFlag(E,R);N.cutOffWebpackOptions=E=>N.cutOffByFlag(E,j);N.cutOffMultilineMessage=(E,N)=>{E=E.split("\n");N=N.split("\n");const R=[];E.forEach(((E,j)=>{if(!E.includes(N[j]))R.push(E)}));return R.join("\n")};N.cutOffMessage=(E,N)=>{const R=E.indexOf("\n");if(R===-1){return E===N?"":E}else{const j=E.substr(0,R);return j===N?E.substr(R+1):E}};N.cleanUp=(E,R)=>{E=N.cutOffLoaderExecution(E);E=N.cutOffMessage(E,R);return E};N.cleanUpWebpackOptions=(E,R)=>{E=N.cutOffWebpackOptions(E);E=N.cutOffMultilineMessage(E,R);return E}},91331:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(2991);const q=R(16734);const G=R(70354);const ie=R(18161);const ae=new WeakMap;const ce=new $(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const N=ie.getCompilationHooks(E);N.renderModuleContent.tap("EvalDevToolModulePlugin",((N,R,{runtimeTemplate:j,chunkGraph:ie})=>{const ce=ae.get(N);if(ce!==undefined)return ce;if(R instanceof q){ae.set(N,N);return N}const le=N.source();const _e=G.createFilename(R,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:j.requestShortener,chunkGraph:ie,hashFunction:E.outputOptions.hashFunction});const Te="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(_e).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Ee=new $(`eval(${JSON.stringify(le+Te)});`);ae.set(N,Ee);return Ee}));N.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));N.render.tap("EvalDevToolModulePlugin",(E=>new j(ce,E)));N.chunkHash.tap("EvalDevToolModulePlugin",((E,N)=>{N.update("EvalDevToolModulePlugin");N.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(2991);const q=R(70354);const G=R(53520);const ie=R(26867);const ae=R(18161);const ce=R(95734);const{makePathsAbsolute:le}=R(49197);const _e=new WeakMap;const Te=new $(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let N;if(typeof E==="string"){N={append:E}}else{N=E}this.sourceMapComment=N.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=N.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=N.namespace||"";this.options=N}apply(E){const N=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(R=>{const Ee=ae.getCompilationHooks(R);new ie(N).apply(R);const we=q.matchObject.bind(q,N);Ee.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((j,ie,{runtimeTemplate:ae,chunkGraph:Te})=>{const Ee=_e.get(j);if(Ee!==undefined){return Ee}const result=E=>{_e.set(j,E);return E};if(ie instanceof G){const E=ie;if(!we(E.resource)){return result(j)}}else if(ie instanceof ce){const E=ie;if(E.rootModule instanceof G){const N=E.rootModule;if(!we(N.resource)){return result(j)}}else{return result(j)}}else{return result(j)}let Ie;let Ne;if(j.sourceAndMap){const E=j.sourceAndMap(N);Ie=E.map;Ne=E.source}else{Ie=j.map(N);Ne=j.source()}if(!Ie){return result(j)}Ie={...Ie};const Me=E.options.context;const Le=E.root;const Be=Ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(Me,E.slice(10),Le);const N=R.findModule(E);return N||E}));let je=Be.map((E=>q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:Te,hashFunction:R.outputOptions.hashFunction})));je=q.replaceDuplicates(je,((E,N,R)=>{for(let N=0;N"the eval-source-map devtool is used."));Ee.render.tap("EvalSourceMapDevToolPlugin",(E=>new j(Te,E)));Ee.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,N)=>{N.update("EvalSourceMapDevToolPlugin");N.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,N,R)=>{"use strict";const{equals:j}=R(73910);const $=R(16102);const q=R(56202);const{forEachRuntime:G}=R(37416);const ie=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(E,N,R,j){this.exports=E;this.otherProvided=N;this.otherCanMangleProvide=R;this.otherTerminalBinding=j}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}q(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[N,R]of this._exports){E.set(N,R)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[N,R]of this._exports){E.set(N,R)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const N=[];for(const R of E.values()){N.push(R.name)}N.sort();let R=0;for(const j of E.values()){const E=N[R];if(j.name!==E)break;R++}for(;R0){const N=this.getReadOnlyExportInfo(E[0]);if(!N.exportsInfo)return undefined;return N.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,N,R,j,$){let q=false;if(N){for(const E of N){this.getExportInfo(E)}}for(const $ of this._exports.values()){if(N&&N.has($.name))continue;if($.provided!==true&&$.provided!==null){$.provided=null;q=true}if(!E&&$.canMangleProvide!==false){$.canMangleProvide=false;q=true}if(R){$.setTarget(R,j,[$.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,N,R,j,$)){q=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;q=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;q=true}if(R){this._otherExportsInfo.setTarget(R,j,undefined,$)}}return q}setUsedInUnknownWay(E){let N=false;for(const R of this._exports.values()){if(R.setUsedInUnknownWay(E)){N=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){N=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>EE===ie.Unused),ie.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ie.Unused){return true}}for(const N of this._exports.values()){if(N.getUsed(E)!==ie.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ie.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:case ie.OnlyPropertiesUsed:case ie.Used:return true}}const N=[];if(!this._exportsAreOrdered)this._sortExports();for(const R of this._exports.values()){switch(R.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:return true;case ie.OnlyPropertiesUsed:case ie.Used:N.push(R.name)}}if(this._redirectTo!==undefined){const R=this._redirectTo.getUsedExports(E);if(R===null)return null;if(R===true)return true;if(R!==false){for(const E of R){N.push(E)}}}if(N.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unused:return false}}return new $(N)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const N of this._exports.values()){switch(N.provided){case undefined:return null;case null:return true;case true:E.push(N.name)}}if(this._redirectTo!==undefined){const N=this._redirectTo.getProvidedExports();if(N===null)return null;if(N===true)return true;for(const R of N){if(!E.includes(R)){E.push(R)}}}return E}getRelevantExports(E){const N=[];for(const R of this._exports.values()){const j=R.getUsed(E);if(j===ie.Unused)continue;if(R.provided===false)continue;N.push(R)}if(this._redirectTo!==undefined){for(const R of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(R.name))N.push(R)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ie.Unused){N.push(this._otherExportsInfo)}return N}isExportProvided(E){if(Array.isArray(E)){const N=this.getReadOnlyExportInfo(E[0]);if(N.exportsInfo&&E.length>1){return N.exportsInfo.isExportProvided(E.slice(1))}return N.provided}const N=this.getReadOnlyExportInfo(E);return N.provided}getUsageKey(E){const N=[];if(this._redirectTo!==undefined){N.push(this._redirectTo.getUsageKey(E))}else{N.push(this._otherExportsInfo.getUsed(E))}N.push(this._sideEffectsOnlyInfo.getUsed(E));for(const R of this.orderedOwnedExports){N.push(R.getUsed(E))}return N.join("|")}isEquallyUsed(E,N){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,N))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(N)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(N)){return false}for(const R of this.ownedExports){if(R.getUsed(E)!==R.getUsed(N))return false}return true}getUsed(E,N){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(N);let R=this.getReadOnlyExportInfo(E[0]);if(R.exportsInfo&&E.length>1){return R.exportsInfo.getUsed(E.slice(1),N)}return R.getUsed(N)}let R=this.getReadOnlyExportInfo(E);return R.getUsed(N)}getUsedName(E,N){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(N))return false;return E}let R=this.getReadOnlyExportInfo(E[0]);const j=R.getUsedName(E[0],N);if(j===false)return false;const $=j===E[0]&&E.length===1?E:[j];if(E.length===1){return $}if(R.exportsInfo&&R.getUsed(N)===ie.OnlyPropertiesUsed){const j=R.exportsInfo.getUsedName(E.slice(1),N);if(!j)return false;return $.concat(j)}else{return $.concat(E.slice(1))}}else{let R=this.getReadOnlyExportInfo(E);const j=R.getUsedName(E,N);return j}}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){const j=new Set(R);j.add(this);for(const R of this.orderedExports){if(R.hasInfo(this._otherExportsInfo,N)){R._updateHash(E,N,j)}}this._sideEffectsOnlyInfo._updateHash(E,N,j);this._otherExportsInfo._updateHash(E,N,j);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,N,j)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const N=this._otherExportsInfo.canMangleProvide;const R=this._otherExportsInfo.terminalBinding;const j=[];for(const $ of this.orderedExports){if($.provided!==E||$.canMangleProvide!==N||$.terminalBinding!==R||$.exportsInfoOwned){j.push({name:$.name,provided:$.provided,canMangleProvide:$.canMangleProvide,terminalBinding:$.terminalBinding,exportsInfo:$.exportsInfoOwned?$.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(j,E,N,R)}restoreProvided({otherProvided:E,otherCanMangleProvide:N,otherTerminalBinding:R,exports:j}){let $=true;for(const j of this._exports.values()){$=false;j.provided=E;j.canMangleProvide=N;j.terminalBinding=R}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=N;this._otherExportsInfo.terminalBinding=R;for(const E of j){const N=this.getExportInfo(E.name);N.provided=E.provided;N.canMangleProvide=E.canMangleProvide;N.terminalBinding=E.terminalBinding;if(E.exportsInfo){const R=N.createNestedExportsInfo();R.restoreProvided(E.exportsInfo)}}if($)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,N){this.name=E;this._usedName=N?N._usedName:null;this._globalUsed=N?N._globalUsed:undefined;this._usedInRuntime=N&&N._usedInRuntime?new Map(N._usedInRuntime):undefined;this._hasUseInRuntimeInfo=N?N._hasUseInRuntimeInfo:false;this.provided=N?N.provided:undefined;this.terminalBinding=N?N.terminalBinding:false;this.canMangleProvide=N?N.canMangleProvide:undefined;this.canMangleUse=N?N.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(N&&N._target){this._target=new Map;for(const[R,j]of N._target){this._target.set(R,{connection:j.connection,export:j.export||[E],priority:j.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let N=false;if(this.setUsedConditionally((E=>Ethis._usedInRuntime.set(E,N)));return true}}else{let j=false;G(R,(R=>{let $=this._usedInRuntime.get(R);if($===undefined)$=ie.Unused;if(N!==$&&E($)){if(N===ie.Unused){this._usedInRuntime.delete(R)}else{this._usedInRuntime.set(R,N)}j=true}}));if(j){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,N){if(N===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ie.Unused){this._usedInRuntime=new Map;G(N,(N=>this._usedInRuntime.set(N,E)));return true}}else{let R=false;G(N,(N=>{let j=this._usedInRuntime.get(N);if(j===undefined)j=ie.Unused;if(E!==j){if(E===ie.Unused){this._usedInRuntime.delete(N)}else{this._usedInRuntime.set(N,E)}R=true}}));if(R){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,N,R,$=0){if(R)R=[...R];if(!this._target){this._target=new Map;this._target.set(E,{connection:N,export:R,priority:$});return true}const q=this._target.get(E);if(!q){if(q===null&&!N)return false;this._target.set(E,{connection:N,export:R,priority:$});this._maxTarget=undefined;return true}if(q.connection!==N||q.priority!==$||(R?!q.export||!j(q.export,R):q.export)){q.connection=N;q.export=R;q.priority=$;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ie.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ie.Unused}else if(typeof E==="string"){const N=this._usedInRuntime.get(E);return N===undefined?ie.Unused:N}else if(E===undefined){let E=ie.Unused;for(const N of this._usedInRuntime.values()){if(N===ie.Used){return ie.Used}if(E!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,N=RETURNS_TRUE){if(this.terminalBinding)return this;const R=this.getTarget(E,N);if(!R)return undefined;const j=E.getExportsInfo(R.module);if(!R.export)return j;return j.getReadOnlyExportInfoRecursive(R.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let N=Infinity;for(const{priority:R}of this._target.values()){if(ER)N=R}if(E===N)return this._maxTarget=this._target;const R=new Map;for(const[N,j]of this._target){if(E===j.priority){R.set(N,j)}}this._maxTarget=R;return R}findTarget(E,N){return this._findTarget(E,N,new Set)}_findTarget(E,N,R){if(!this._target||this._target.size===0)return undefined;let j=this._getMaxTarget().values().next().value;if(!j)return undefined;let $={module:j.connection.module,export:j.export};for(;;){if(N($.module))return $;const j=E.getExportsInfo($.module);const q=j.getExportInfo($.export[0]);if(R.has(q))return null;const G=q._findTarget(E,N,R);if(!G)return false;if($.export.length===1){$=G}else{$={module:G.module,export:G.export?G.export.concat($.export.slice(1)):$.export.slice(1)}}}}getTarget(E,N=RETURNS_TRUE){const R=this._getTarget(E,N,undefined);if(R===ae)return undefined;return R}_getTarget(E,N,R){const resolveTarget=(R,j)=>{if(!R)return null;if(!R.export){return{module:R.connection.module,connection:R.connection,export:undefined}}let $={module:R.connection.module,connection:R.connection,export:R.export};if(!N($))return $;let q=false;for(;;){const R=E.getExportsInfo($.module);const G=R.getExportInfo($.export[0]);if(!G)return $;if(j.has(G))return ae;const ie=G._getTarget(E,N,j);if(ie===ae)return ae;if(!ie)return $;if($.export.length===1){$=ie;if(!$.export)return $}else{$={module:ie.module,connection:ie.connection,export:ie.export?ie.export.concat($.export.slice(1)):$.export.slice(1)}}if(!N($))return $;if(!q){j=new Set(j);q=true}j.add(G)}};if(!this._target||this._target.size===0)return undefined;if(R&&R.has(this))return ae;const $=new Set(R);$.add(this);const q=this._getMaxTarget().values();const G=resolveTarget(q.next().value,$);if(G===ae)return ae;if(G===null)return undefined;let ie=q.next();while(!ie.done){const E=resolveTarget(ie.value,$);if(E===ae)return ae;if(E===null)return undefined;if(E.module!==G.module)return undefined;if(!E.export!==!G.export)return undefined;if(G.export&&!j(E.export,G.export))return undefined;ie=q.next()}return G}moveTarget(E,N,R){const j=this._getTarget(E,N,undefined);if(j===ae)return undefined;if(!j)return undefined;const $=this._getMaxTarget().values().next().value;if($.connection===j.connection&&$.export===j.export){return undefined}this._target.clear();this._target.set(undefined,{connection:R?R(j):j.connection,export:j.export,priority:0});return j}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,N){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(N)!==E.getUsed(N)}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){E.update(`${this._usedName||this.name}${this.getUsed(N)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!R.has(this.exportsInfo)){this.exportsInfo._updateHash(E,N,R)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ie.Unused:return"unused";case ie.NoInfo:return"no usage info";case ie.Unknown:return"maybe used (runtime-defined)";case ie.Used:return"used";case ie.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[N,R]of this._usedInRuntime){const j=E.get(R);if(j!==undefined)j.push(N);else E.set(R,[N])}const N=Array.from(E,(([E,N])=>{switch(E){case ie.NoInfo:return`no usage info in ${N.join(", ")}`;case ie.Unknown:return`maybe used in ${N.join(", ")} (runtime-defined)`;case ie.Used:return`used in ${N.join(", ")}`;case ie.OnlyPropertiesUsed:return`only properties used in ${N.join(", ")}`}}));if(N.length>0){return N.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ie},29672:(E,N,R)=>{"use strict";const j=R(66298);const $=R(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((N,R)=>{const j=R.length>=2?new $(N.range,R.slice(0,-1),R[R.length-1]):new $(N.range,null,R[0]);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(N=>{const R=new j("true",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}))};N.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(2991);const q=R(77294);const{UsageState:G}=R(76632);const ie=R(63272);const ae=R(53453);const ce=R(76150);const le=R(58159);const _e=R(96076);const Te=R(35891);const Ee=R(10004);const we=R(56202);const Ie=R(68038);const{register:Ne}=R(24568);const Me=new Set(["javascript"]);const Le=new Set([ce.module]);const Be=new Set([ce.loadScript]);const je=new Set([ce.definePropertyGetters]);const Ue=new Set([]);const getSourceForGlobalVariableExternal=(E,N)=>{if(!Array.isArray(E)){E=[E]}const R=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:N==="this",expression:`${N}${R}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const N=E[0];return{expression:`require(${JSON.stringify(N)})${Ie(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const N=[new ie('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ie.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:N}}const R=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(R)})${Ie(E,1)}`,chunkInitFragments:N}};const getSourceForImportExternal=(E,N)=>{const R=N.outputOptions.importFunctionName;if(!N.supportsDynamicImport()&&R==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${R}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${R}(${JSON.stringify(E[0])});`}}const j=E[0];return{expression:`${R}(${JSON.stringify(j)}).then(${N.returningFunction(`module${Ie(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ie{constructor(E,N,R="md4"){if(N===undefined){N=le.toIdentifier(E);if(N!==E){N+=`_${Te(R).update(E).digest("hex").slice(0,8)}`}}const j=`__WEBPACK_EXTERNAL_MODULE_${N}__`;super(`import * as ${j} from ${JSON.stringify(E)};\n`,ie.STAGE_HARMONY_IMPORTS,0,`external module import ${N}`);this._ident=N;this._identifier=j;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ne(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:N}){N(E._request);N(E._ident)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)===G.Unused){const j=[];for(const $ of N.orderedExports){const N=$.getUsedName($.name,R);if(!N)continue;const q=$.getNestedExportsInfo();if(q){const R=generateModuleRemapping(`${E}${Ie([$.name])}`,q);if(R){j.push(`[${JSON.stringify(N)}]: y(${R})`);continue}}j.push(`[${JSON.stringify(N)}]: () => ${E}${Ie([$.name])}`)}return`x({ ${j.join(", ")} })`}};const getSourceForModuleExternal=(E,N,R,j)=>{if(!Array.isArray(E))E=[E];const $=new ModuleExternalInitFragment(E[0],undefined,j);const q=`${$.getNamespaceIdentifier()}${Ie(E,1)}`;const G=generateModuleRemapping(q,N,R);let ie=G||q;return{expression:ie,init:`var x = y => { var x = {}; ${ce.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:G?je:undefined,chunkInitFragments:[$]}};const getSourceForScriptExternal=(E,N)=>{if(typeof E==="string"){E=Ee(E)}const R=E[0];const j=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${N.basicFunction("resolve, reject",[`if(typeof ${j} !== "undefined") return resolve();`,`${ce.loadScript}(${JSON.stringify(R)}, ${N.basicFunction("event",[`if(typeof ${j} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(j)});`])}).then(${N.returningFunction(`${j}${Ie(E,2)}`)})`,runtimeRequirements:Be}};const checkExternalVariable=(E,N,R)=>`if(typeof ${E} === 'undefined') { ${R.throwMissingModuleErrorBlock({request:N})} }\n`;const getSourceForAmdOrUmdExternal=(E,N,R,j)=>{const $=`__WEBPACK_EXTERNAL_MODULE_${le.toIdentifier(`${E}`)}__`;return{init:N?checkExternalVariable($,Array.isArray(R)?R.join("."):R,j):undefined,expression:$}};const getSourceForDefaultCase=(E,N,R)=>{if(!Array.isArray(N)){N=[N]}const j=N[0];const $=Ie(N,1);return{init:E?checkExternalVariable(j,N.join("."),R):undefined,expression:`${j}${$}`}};class ExternalModule extends ae{constructor(E,N,R){super("javascript/dynamic",null);this.request=E;this.externalType=N;this.userRequest=R}getSourceTypes(){return Me}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:N.outputOptions.module};const{request:q,externalType:G}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ie=false;this.clearDependenciesAndBlocks();switch(G){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}}else{this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}break}this.addDependency(new _e(true,ie));$()}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:N}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[N];return{request:E,externalType:N}}_getSourceData(E,N,R,j){const{request:$,externalType:q}=this._getRequestAndExternalType();switch(q){case"this":case"window":case"self":return getSourceForGlobalVariableExternal($,this.externalType);case"global":return getSourceForGlobalVariableExternal($,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal($);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule($):getSourceForCommonJsExternal($);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const j=R.getModuleId(this);return getSourceForAmdOrUmdExternal(j!==null?j:this.identifier(),this.isOptional(N),$,E)}case"import":return getSourceForImportExternal($,E);case"script":return getSourceForScriptExternal($,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal($,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal($,N.getExportsInfo(this),j,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(N),$,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R,runtime:G,concatenationScope:ie}){const ae=this._getSourceData(E,N,R,G);let le=ae.expression;if(ae.iife)le=`(function() { return ${le}; }())`;if(ie){le=`${E.supportsConst()?"const":"var"} ${q.NAMESPACE_OBJECT_EXPORT} = ${le};`;ie.registerNamespaceExport(q.NAMESPACE_OBJECT_EXPORT)}else{le=`module.exports = ${le};`}if(ae.init)le=`${ae.init}\n${le}`;let _e=undefined;if(ae.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",ae.chunkInitFragments)}const Te=new Map;if(this.useSourceMap||this.useSimpleSourceMap){Te.set("javascript",new j(le,this.identifier()))}else{Te.set("javascript",new $(le))}let Ee=ae.runtimeRequirements;if(!ie){if(!Ee){Ee=Le}else{const E=new Set(Ee);E.add(ce.module);Ee=E}}return{sources:Te,runtimeRequirements:Ee||Ue,data:_e}}size(E){return 42}updateHash(E,N){const{chunkGraph:R}=N;E.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(R.moduleGraph)}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.request);N(this.externalType);N(this.userRequest);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.externalType=N();this.userRequest=N();super.deserialize(E)}}we(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16734);const{resolveByProperty:q,cachedSetProperty:G}=R(90149);const ie=/^[a-z0-9-]+ /;const ae={};const ce=j.deprecate(((E,N,R,j)=>{E.call(null,N,R,j)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const le=new WeakMap;const resolveLayer=(E,N)=>{let R=le.get(E);if(R===undefined){R=new Map;le.set(E,R)}else{const E=R.get(N);if(E!==undefined)return E}const j=q(E,"byLayer",N);R.set(N,j);return j};class ExternalModuleFactoryPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){const N=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((R,j)=>{const q=R.context;const le=R.contextInfo;const _e=R.dependencies[0];const Te=R.dependencyType;const handleExternal=(E,R,j)=>{if(E===false){return j()}let q;if(E===true){q=_e.request}else{q=E}if(R===undefined){if(typeof q==="string"&&ie.test(q)){const E=q.indexOf(" ");R=q.substr(0,E);q=q.substr(E+1)}else if(Array.isArray(q)&&q.length>0&&ie.test(q[0])){const E=q[0];const N=E.indexOf(" ");R=E.substr(0,N);q=[E.substr(N+1),...q.slice(1)]}}j(null,new $(q,R||N,_e.request))};const handleExternals=(N,j)=>{if(typeof N==="string"){if(N===_e.request){return handleExternal(_e.request,undefined,j)}}else if(Array.isArray(N)){let E=0;const next=()=>{let R;const handleExternalsAndCallback=(E,N)=>{if(E)return j(E);if(!N){if(R){R=false;return}return next()}j(null,N)};do{R=true;if(E>=N.length)return j();handleExternals(N[E++],handleExternalsAndCallback)}while(!R);R=false};next();return}else if(N instanceof RegExp){if(N.test(_e.request)){return handleExternal(_e.request,undefined,j)}}else if(typeof N==="function"){const cb=(E,N,R)=>{if(E)return j(E);if(N!==undefined){handleExternal(N,R,j)}else{j()}};if(N.length===3){ce(N,q,_e.request,cb)}else{const j=N({context:q,request:_e.request,dependencyType:Te,contextInfo:le,getResolve:N=>(j,$,q)=>{const ie={fileDependencies:R.fileDependencies,missingDependencies:R.missingDependencies,contextDependencies:R.contextDependencies};let ce=E.getResolver("normal",Te?G(R.resolveOptions||ae,"dependencyType",Te):R.resolveOptions);if(N)ce=ce.withOptions(N);if(q){ce.resolve({},j,$,ie,q)}else{return new Promise(((E,N)=>{ce.resolve({},j,$,ie,((R,j)=>{if(R)N(R);else E(j)}))}))}}},cb);if(j&&j.then)j.then((E=>cb(null,E)),cb)}return}else if(typeof N==="object"){const E=resolveLayer(N,le.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,_e.request)){return handleExternal(E[_e.request],undefined,j)}}j()};handleExternals(this.externals,j)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,N,R)=>{"use strict";const j=R(59084);class ExternalsPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new j(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,N,R)=>{"use strict";const{create:j}=R(17583);const $=R(62355);const q=R(9738);const G=R(37269);const ie=R(35891);const{join:ae,dirname:ce,relative:le,lstatReadlinkAbsolute:_e}=R(95396);const Te=R(56202);const Ee=R(2117);const we=+process.versions.modules>=83;let Ie=2e3;const Ne=new Set;const Me=0;const Le=1;const Be=2;const je=3;const Ue=4;const ze=5;const We=6;const Je=7;const Ve=8;const qe=9;const He=Symbol("invalid");const Ge=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,N){this.snapshot=E;this.getMaps=N}[Symbol.iterator](){let E=0;let N;let R;let j;let $;let q;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:$=this.snapshot;R=this.getMaps;j=R($);E=1;case 1:if(j.length>0){const R=j.pop();if(R!==undefined){N=R.keys();E=2}else{break}}else{E=3;break}case 2:{const R=N.next();if(!R.done)return R;E=1;break}case 3:{const N=$.children;if(N!==undefined){if(N.size===1){for(const E of N)$=E;j=R($);E=1;break}if(q===undefined)q=[];for(const E of N){q.push(E)}}if(q!==undefined&&q.length>0){$=q.pop();j=R($);E=1;break}else{E=4}}case 4:return Ge}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,N){if(E){if(N.hasStartTime()){this.setStartTime(Math.min(E,N.startTime))}else{this.setStartTime(E)}}else{if(N.hasStartTime())this.setStartTime(N.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}Te(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Ke=3;class SnapshotOptimization{constructor(E,N,R,j=true,$=false){this._has=E;this._get=N;this._set=R;this._useStartTime=j;this._isSet=$;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(E,N){const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=E=>{for(const R of E.snapshotContent){const j=this._map.get(R);if(j.shared0){if(this._useStartTime&&E.startTime&&(!j.startTime||j.startTime>E.startTime)){continue}const $=new Set;const q=R.snapshotContent;const G=this._get(j);for(const E of q){if(!N.has(E)){if(!G.has(E)){continue e}$.add(E);continue}}if($.size===0){E.addChild(j);increaseSharedAndStoreOptimizationEntry(R);this._statReusedSharedSnapshots++}else{const N=q.size-$.size;if(N{if(Ie>1&&E%2!==0)Ie=1;else if(Ie>10&&E%20!==0)Ie=10;else if(Ie>100&&E%200!==0)Ie=100;else if(Ie>1e3&&E%2e3!==0)Ie=1e3};const mergeMaps=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Map(E);for(const[E,j]of N){R.set(E,j)}return R};const mergeSets=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Set(E);for(const E of N){R.add(E)}return R};const getManagedItem=(E,N)=>{let R=E.length;let j=1;let $=true;e:while(R=R+13&&N.charCodeAt(R+1)===110&&N.charCodeAt(R+2)===111&&N.charCodeAt(R+3)===100&&N.charCodeAt(R+4)===101&&N.charCodeAt(R+5)===95&&N.charCodeAt(R+6)===109&&N.charCodeAt(R+7)===111&&N.charCodeAt(R+8)===100&&N.charCodeAt(R+9)===117&&N.charCodeAt(R+10)===108&&N.charCodeAt(R+11)===101&&N.charCodeAt(R+12)===115){if(N.length===R+13){return N}const E=N.charCodeAt(R+13);if(E===47||E===92){return getManagedItem(N.slice(0,R+14),N)}}return N.slice(0,R)};const getResolvedTimestamp=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E:undefined};const getResolvedHash=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E.hash:undefined};const addAll=(E,N)=>{for(const R of E)N.add(R)};class FileSystemInfo{constructor(E,{managedPaths:N=[],immutablePaths:R=[],logger:j,hashFunction:$="md4"}={}){this.fs=E;this.logger=j;this._remainingLogs=j?40:0;this._loggedPaths=j?new Set:undefined;this._hashFunction=$;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,N)=>E.setFileTimestamps(N)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,N)=>E.setFileHashes(N)),false);this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,N)=>E.setFileTshs(N)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,N)=>E.setContextTimestamps(N)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,N)=>E.setContextHashes(N)),false);this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,N)=>E.setContextTshs(N)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,N)=>E.setMissingExistence(N)),false);this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,N)=>E.setManagedItemInfo(N)),false);this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,N)=>E.setManagedFiles(N)),false,true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,N)=>E.setManagedContexts(N)),false,true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,N)=>E.setManagedMissing(N)),false,true);this._fileTimestamps=new G;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new G;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(N);this.managedPathsWithSlash=this.managedPaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((E=>typeof E!=="string"));this.immutablePaths=Array.from(R);this.immutablePathsWithSlash=this.immutablePaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((E=>typeof E!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,N)=>{if(N){this.logger.log(`${E}: ${N}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,N,...R){const j=E+N;if(this._loggedPaths.has(j))return;this._loggedPaths.add(j);this.logger.debug(`${E} invalidated because ${N}`,...R);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E,N){this._fileTimestamps.addAll(E,N);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E,N){this._contextTimestamps.addAll(E,N);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,N){const R=this._fileTimestamps.get(E);if(R!==undefined)return N(null,R);this.fileTimestampQueue.add(E,N)}getContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined){if(R==="ignore")return N(null,"ignore");const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTimestamp(R,N)}this.contextTimestampQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTimestamp(R,N)}))}_getUnresolvedContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined)return N(null,R);this.contextTimestampQueue.add(E,N)}getFileHash(E,N){const R=this._fileHashes.get(E);if(R!==undefined)return N(null,R);this.fileHashQueue.add(E,N)}getContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined){const E=getResolvedHash(R);if(E!==undefined)return N(null,E);return this._resolveContextHash(R,N)}this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedHash(R);if(j!==undefined)return N(null,j);this._resolveContextHash(R,N)}))}_getUnresolvedContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined)return N(null,R);this.contextHashQueue.add(E,N)}getContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined){const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTsh(R,N)}this.contextTshQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTsh(R,N)}))}_getUnresolvedContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined)return N(null,R);this.contextTshQueue.add(E,N)}_createBuildDependenciesResolvers(){const E=j({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const N=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const R=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const $=j({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:$,resolveCjs:N,resolveCjsAsChild:R}}resolveBuildDependencies(E,N,j){const{resolveContext:$,resolveEsm:q,resolveCjs:G,resolveCjsAsChild:ie}=this._createBuildDependenciesResolvers();const _e=new Set;const Te=new Set;const Ie=new Set;const Ne=new Set;const He=new Set;const Ge=new Set;const Ke=new Set;const Qe=new Set;const Xe=new Map;const Ye=new Set;const Ze={fileDependencies:Ge,contextDependencies:Ke,missingDependencies:Qe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Me:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Le:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case Be:return`resolve directory ${E.path}`;case je:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case ze:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case We:return`directory ${E.path}`;case Je:return`file ${E.path}`;case Ve:return`directory dependencies ${E.path}`;case qe:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let N=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){N+=`\n at ${jobToString(E)}`;E=E.issuer}return N};Ee(Array.from(N,(N=>({type:Me,context:E,path:N,expected:undefined,issuer:undefined}))),20,((E,N,j)=>{const{type:Ee,context:He,path:Ke,expected:et}=E;const resolveDirectory=R=>{const q=`d\n${He}\n${R}`;if(Xe.has(q)){return j()}Xe.set(q,undefined);$(He,R,Ze,(($,G,ie)=>{if($){if(et===false){Xe.set(q,false);return j()}Ye.add(q);$.message+=`\nwhile resolving '${R}' in ${He} to a directory`;return j($)}const ae=ie.path;Xe.set(q,ae);N({type:We,context:undefined,path:ae,expected:undefined,issuer:E});j()}))};const resolveFile=(R,$,q)=>{const G=`${$}\n${He}\n${R}`;if(Xe.has(G)){return j()}Xe.set(G,undefined);q(He,R,Ze,(($,q,ie)=>{if(typeof et==="string"){if(!$&&ie&&ie.path===et){Xe.set(G,ie.path)}else{Ye.add(G);this.logger.warn(`Resolving '${R}' in ${He} for build dependencies doesn't lead to expected result '${et}', but to '${$||ie&&ie.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if($){if(et===false){Xe.set(G,false);return j()}Ye.add(G);$.message+=`\nwhile resolving '${R}' in ${He} as file\n${pathToString(E)}`;return j($)}const q=ie.path;Xe.set(G,q);N({type:Je,context:undefined,path:q,expected:undefined,issuer:E})}j()}))};switch(Ee){case Me:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke,"f",G)}break}case Le:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke)}break}case Be:{resolveDirectory(Ke);break}case je:{resolveFile(Ke,"f",G);break}case Ue:{resolveFile(Ke,"c",ie);break}case ze:{resolveFile(Ke,"e",q);break}case Je:{if(_e.has(Ke)){j();break}_e.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Te.add(Ke);Ge.add(Ke);if(_e.has(q))return j();_e.add(q)}N({type:qe,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case We:{if(Ie.has(Ke)){j();break}Ie.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Ne.add(Ke);Ge.add(Ke);if(Ie.has(q))return j();Ie.add(q)}N({type:Ve,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case qe:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ke)){process.nextTick(j);break}const $=require.cache[Ke];if($&&Array.isArray($.children)){e:for(const R of $.children){let j=R.filename;if(j){N({type:Je,context:undefined,path:j,expected:undefined,issuer:E});const q=ce(this.fs,Ke);for(const G of $.paths){if(j.startsWith(G)){let $=j.slice(G.length+1);const ie=/^(@[^\\/]+[\\/])[^\\/]+/.exec($);if(ie){N({type:Je,context:undefined,path:G+j[G.length]+ie[0]+j[G.length]+"package.json",expected:false,issuer:E})}let ae=$.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);N({type:Ue,context:q,path:ae,expected:R.filename,issuer:E});continue e}}let G=le(this.fs,q,j);if(G.endsWith(".js"))G=G.slice(0,-3);G=G.replace(/\\/g,"/");if(!G.startsWith("../"))G=`./${G}`;N({type:je,context:q,path:G,expected:R.filename,issuer:E})}}}else if(we&&/\.m?js$/.test(Ke)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const $=R(76218);$.init.then((()=>{this.fs.readFile(Ke,((R,q)=>{if(R)return j(R);try{const R=ce(this.fs,Ke);const j=q.toString();const[G]=$.parse(j);for(const $ of G){try{let q;if($.d===-1){q=JSON.parse(j.substring($.s-1,$.e+1))}else if($.d>-1){let E=j.substring($.s,$.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;q=JSON.parse(E)}else{continue}N({type:ze,context:R,path:q,expected:undefined,issuer:E})}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed at 'import(${j.substring($.s,$.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(N.stack)}}}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(N.stack)}process.nextTick(j)}))}),j);break}else{this.logger.log(`Assuming ${Ke} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick(j);break}case Ve:{const R=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Ke);const $=R?R[1]:Ke;const q=ae(this.fs,$,"package.json");this.fs.readFile(q,((R,G)=>{if(R){if(R.code==="ENOENT"){Qe.add(q);const R=ce(this.fs,$);if(R!==$){N({type:Ve,context:undefined,path:R,expected:undefined,issuer:E})}j();return}return j(R)}Ge.add(q);let ie;try{ie=JSON.parse(G.toString("utf-8"))}catch(E){return j(E)}const ae=ie.dependencies;const le=ie.optionalDependencies;const _e=new Set;const Te=new Set;if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){_e.add(E)}}if(typeof le==="object"&&le){for(const E of Object.keys(le)){_e.add(E);Te.add(E)}}for(const R of _e){N({type:Be,context:$,path:R,expected:!Te.has(R),issuer:E})}j()}));break}}}),(E=>{if(E)return j(E);for(const E of Te)_e.delete(E);for(const E of Ne)Ie.delete(E);for(const E of Ye)Xe.delete(E);j(null,{files:_e,directories:Ie,missing:He,resolveResults:Xe,resolveDependencies:{files:Ge,directories:Ke,missing:Qe}})}))}checkResolveResultsValid(E,N){const{resolveCjs:R,resolveCjsAsChild:j,resolveEsm:q,resolveContext:G}=this._createBuildDependenciesResolvers();$.eachLimit(E,20,(([E,N],$)=>{const[ie,ae,ce]=E.split("\n");switch(ie){case"d":G(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"f":R(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"c":j(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"e":q(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;default:$(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===He){return N(null,false)}if(E){return N(E)}return N(null,true)}))}createSnapshot(E,N,R,j,$,q){const G=new Map;const ie=new Map;const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;const Te=new Map;const Ee=new Map;const we=new Set;const Ie=new Set;const Ne=new Set;const Me=new Set;const Le=new Snapshot;if(E)Le.setStartTime(E);const Be=new Set;const je=$&&$.hash?$.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){if(G.size!==0){Le.setFileTimestamps(G)}if(ie.size!==0){Le.setFileHashes(ie)}if(ae.size!==0){Le.setFileTshs(ae)}if(ce.size!==0){Le.setContextTimestamps(ce)}if(le.size!==0){Le.setContextHashes(le)}if(_e.size!==0){Le.setContextTshs(_e)}if(Te.size!==0){Le.setMissingExistence(Te)}if(Ee.size!==0){Le.setManagedItemInfo(Ee)}this._managedFilesOptimization.optimize(Le,we);if(we.size!==0){Le.setManagedFiles(we)}this._managedContextsOptimization.optimize(Le,Ie);if(Ie.size!==0){Le.setManagedContexts(Ie)}this._managedMissingOptimization.optimize(Le,Ne);if(Ne.size!==0){Le.setManagedMissing(Ne)}if(Me.size!==0){Le.setChildren(Me)}this._snapshotCache.set(Le,true);this._statCreatedSnapshots++;q(null,Le)}};const jobError=()=>{if(Ue>0){Ue=-1e8;q(null,null)}};const checkManaged=(E,N)=>{for(const R of this.immutablePathsRegExps){if(R.test(E)){N.add(E);return true}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){N.add(E);return true}}for(const R of this.managedPathsRegExps){const j=R.exec(E);if(j){const R=getManagedItem(j[1],E);if(R){Be.add(R);N.add(E);return true}}}for(const R of this.managedPathsWithSlash){if(E.startsWith(R)){const j=getManagedItem(R,E);if(j){Be.add(j);N.add(E);return true}}}return false};const captureNonManaged=(E,N)=>{const R=new Set;for(const j of E){if(!checkManaged(j,N))R.add(j)}return R};if(N){const E=captureNonManaged(N,we);switch(je){case 3:this._fileTshsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTshs.get(N);if(E!==undefined){ae.set(N,E)}else{Ue++;this._getFileTimestampAndHash(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{ae.set(N,R);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Le,E);for(const N of E){const E=this._fileHashes.get(N);if(E!==undefined){ie.set(N,E)}else{Ue++;this.fileHashQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${N}: ${E.stack}`)}jobError()}else{ie.set(N,R);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){G.set(N,E)}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${N}: ${E.stack}`)}jobError()}else{G.set(N,R);jobDone()}}))}}break}}if(R){const E=captureNonManaged(R,Ie);switch(je){case 3:this._contextTshsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTshs.get(N);let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){_e.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{_e.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTsh(E,callback)}else{this.getContextTsh(N,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Le,E);for(const N of E){const E=this._contextHashes.get(N);let R;if(E!==undefined&&(R=getResolvedHash(E))!==undefined){le.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${N}: ${E.stack}`)}jobError()}else{le.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(N,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTimestamps.get(N);if(E==="ignore")continue;let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){ce.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${N}: ${E.stack}`)}jobError()}else{ce.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTimestamp(E,callback)}else{this.getContextTimestamp(N,callback)}}}break}}if(j){const E=captureNonManaged(j,Ne);this._missingExistenceOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){Te.set(N,Boolean(E))}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${N}: ${E.stack}`)}jobError()}else{Te.set(N,Boolean(R));jobDone()}}))}}}this._managedItemInfoOptimization.optimize(Le,Be);for(const E of Be){const N=this._managedItems.get(E);if(N!==undefined){Ee.set(E,N)}else{Ue++;this.managedItemQueue.add(E,((N,R)=>{if(N){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${N.stack}`)}jobError()}else{Ee.set(E,R);jobDone()}}))}}jobDone()}mergeSnapshots(E,N){const R=new Snapshot;if(E.hasStartTime()&&N.hasStartTime())R.setStartTime(Math.min(E.startTime,N.startTime));else if(N.hasStartTime())R.startTime=N.startTime;else if(E.hasStartTime())R.startTime=E.startTime;if(E.hasFileTimestamps()||N.hasFileTimestamps()){R.setFileTimestamps(mergeMaps(E.fileTimestamps,N.fileTimestamps))}if(E.hasFileHashes()||N.hasFileHashes()){R.setFileHashes(mergeMaps(E.fileHashes,N.fileHashes))}if(E.hasFileTshs()||N.hasFileTshs()){R.setFileTshs(mergeMaps(E.fileTshs,N.fileTshs))}if(E.hasContextTimestamps()||N.hasContextTimestamps()){R.setContextTimestamps(mergeMaps(E.contextTimestamps,N.contextTimestamps))}if(E.hasContextHashes()||N.hasContextHashes()){R.setContextHashes(mergeMaps(E.contextHashes,N.contextHashes))}if(E.hasContextTshs()||N.hasContextTshs()){R.setContextTshs(mergeMaps(E.contextTshs,N.contextTshs))}if(E.hasMissingExistence()||N.hasMissingExistence()){R.setMissingExistence(mergeMaps(E.missingExistence,N.missingExistence))}if(E.hasManagedItemInfo()||N.hasManagedItemInfo()){R.setManagedItemInfo(mergeMaps(E.managedItemInfo,N.managedItemInfo))}if(E.hasManagedFiles()||N.hasManagedFiles()){R.setManagedFiles(mergeSets(E.managedFiles,N.managedFiles))}if(E.hasManagedContexts()||N.hasManagedContexts()){R.setManagedContexts(mergeSets(E.managedContexts,N.managedContexts))}if(E.hasManagedMissing()||N.hasManagedMissing()){R.setManagedMissing(mergeSets(E.managedMissing,N.managedMissing))}if(E.hasChildren()||N.hasChildren()){R.setChildren(mergeSets(E.children,N.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(N)===true){this._snapshotCache.set(R,true)}return R}checkSnapshotValid(E,N){const R=this._snapshotCache.get(E);if(R!==undefined){this._statTestedSnapshotsCached++;if(typeof R==="boolean"){N(null,R)}else{R.push(N)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,N)}_checkSnapshotValidNoCache(E,N){let R=undefined;if(E.hasStartTime()){R=E.startTime}let j=1;const jobDone=()=>{if(--j===0){this._snapshotCache.set(E,true);N(null,true)}};const invalid=()=>{if(j>0){j=-1e8;this._snapshotCache.set(E,false);N(null,false)}};const invalidWithError=(E,N)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,N)}invalid()};const checkHash=(E,N,R)=>{if(N!==R){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,N,R)}return false}return true};const checkExistence=(E,N,R)=>{if(!N!==!R){if(this._remainingLogs>0){this._log(E,N?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestamp!==undefined&&N.timestamp!==j.timestamp){if($&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,N.timestamp,j.timestamp)}return false}}return true};const checkContext=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestampHash!==undefined&&N.timestampHash!==j.timestampHash){if($&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,N.timestampHash,j.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,N)=>{if(E||!N)return invalid();else jobDone()};for(const N of E.children){const E=this._snapshotCache.get(N);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{j++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;j++;this._checkSnapshotValidNoCache(N,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkFile(E,N,R)){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,N)=>{const R=this._fileHashes.get(E);if(R!==undefined){if(R!=="ignore"&&!checkHash(E,R,N)){invalid();return}}else{j++;this.fileHashQueue.add(E,((R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processFileHashSnapshot(E,R)}}if(E.hasFileTshs()){const{fileTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processFileHashSnapshot(E,R)}else{const N=this._fileTimestamps.get(E);if(N!==undefined){if(N==="ignore"||!checkFile(E,N,R,false)){processFileHashSnapshot(E,R&&R.hash)}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R,false)){processFileHashSnapshot(E,R&&R.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R)){invalid();return}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R)){invalid()}else{jobDone()}};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}const processContextHashSnapshot=(E,N)=>{const R=this._contextHashes.get(E);let $;if(R!==undefined&&($=getResolvedHash(R))!==undefined){if(!checkHash(E,$,N)){invalid();return}}else{j++;const callback=(R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}};if(R!==undefined){this._resolveContextHash(R,callback)}else{this.getContextHash(E,callback)}}};if(E.hasContextHashes()){const{contextHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processContextHashSnapshot(E,R)}}if(E.hasContextTshs()){const{contextTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processContextHashSnapshot(E,R)}else{const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R,false)){processContextHashSnapshot(E,R&&R.hash)}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R,false)){processContextHashSnapshot(E,R&&R.hash)}jobDone()};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}}if(E.hasMissingExistence()){const{missingExistence:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkExistence(E,Boolean(N),Boolean(R))){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkExistence(E,Boolean(j),Boolean(R))){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._managedItems.get(E);if(N!==undefined){if(!checkHash(E,N,R)){invalid();return}}else{j++;this.managedItemQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,j,R)){invalid()}else{jobDone()}}))}}}jobDone();if(j>0){const R=[N];N=(E,N)=>{for(const j of R)j(E,N)};this._snapshotCache.set(E,R)}}_readFileTimestamp(E,N){this.fs.stat(E,((R,j)=>{if(R){if(R.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return N(null,null)}return N(R)}let $;if(j.isDirectory()){$={safeTime:0,timestamp:undefined}}else{const E=+j.mtime;if(E)applyMtime(E);$={safeTime:E?E+Ie:Infinity,timestamp:E}}this._fileTimestamps.set(E,$);this._cachedDeprecatedFileTimestamps=undefined;N(null,$)}))}_readFileHash(E,N){this.fs.readFile(E,((R,j)=>{if(R){if(R.code==="EISDIR"){this._fileHashes.set(E,"directory");return N(null,"directory")}if(R.code==="ENOENT"){this._fileHashes.set(E,null);return N(null,null)}if(R.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return N(null,"too large")}return N(R)}const $=ie(this._hashFunction);$.update(j);const q=$.digest("hex");this._fileHashes.set(E,q);N(null,q)}))}_getFileTimestampAndHash(E,N){const continueWithHash=R=>{const j=this._fileTimestamps.get(E);if(j!==undefined){if(j!=="ignore"){const $={...j,hash:R};this._fileTshs.set(E,$);return N(null,$)}else{this._fileTshs.set(E,R);return N(null,R)}}else{this.fileTimestampQueue.add(E,((j,$)=>{if(j){return N(j)}const q={...$,hash:R};this._fileTshs.set(E,q);return N(null,q)}))}};const R=this._fileHashes.get(E);if(R!==undefined){continueWithHash(R)}else{this.fileHashQueue.add(E,((E,R)=>{if(E){return N(E)}continueWithHash(R)}))}}_readContext({path:E,fromImmutablePath:N,fromManagedItem:R,fromSymlink:j,fromFile:q,fromDirectory:G,reduce:ie},ce){this.fs.readdir(E,((le,Te)=>{if(le){if(le.code==="ENOENT"){return ce(null,null)}return ce(le)}const Ee=Te.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();$.map(Ee,(($,ie)=>{const ce=ae(this.fs,E,$);for(const R of this.immutablePathsRegExps){if(R.test(E)){return ie(null,N(E))}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){return ie(null,N(E))}}for(const N of this.managedPathsRegExps){const j=N.exec(E);if(j){const N=getManagedItem(j[1],E);if(N){return this.managedItemQueue.add(N,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}for(const N of this.managedPathsWithSlash){if(E.startsWith(N)){const E=getManagedItem(N,ce);if(E){return this.managedItemQueue.add(E,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}_e(this.fs,ce,((E,N)=>{if(E)return ie(E);if(typeof N==="string"){return j(ce,N,ie)}if(N.isFile()){return q(ce,N,ie)}if(N.isDirectory()){return G(ce,N,ie)}ie(null,null)}))}),((E,N)=>{if(E)return ce(E);const R=ie(Ee,N);ce(null,R)}))}))}_readContextTimestamp(E,N){this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{const j=this._fileTimestamps.get(E);if(j!==undefined)return R(null,j==="ignore"?null:j);const $=+N.mtime;if($)applyMtime($);const q={safeTime:$?$+Ie:Infinity,timestamp:$};this._fileTimestamps.set(E,q);this._cachedDeprecatedFileTimestamps=undefined;R(null,q)},fromDirectory:(E,N,R)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(E,((E,N)=>{this.contextTimestampQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);let $=0;for(const E of N){if(!E){j.update("n");continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){$=Math.max($,E.safeTime)}}const q=j.digest("hex");const G={safeTime:$,timestampHash:q};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTimestamps.set(E,j);this._cachedDeprecatedContextTimestamps=undefined;N(null,j)}))}_resolveContextTimestamp(E,N){const R=[];let j=0;Ee(E.symlinks,10,((E,N,$)=>{this._getUnresolvedContextTimestamp(E,((E,q)=>{if(E)return $(E);if(q&&q!=="ignore"){R.push(q.timestampHash);if(q.safeTime){j=Math.max(j,q.safeTime)}if(q.symlinks!==undefined){for(const E of q.symlinks)N(E)}}$()}))}),($=>{if($)return N($);const q=ie(this._hashFunction);q.update(E.timestampHash);if(E.safeTime){j=Math.max(j,E.safeTime)}R.sort();for(const E of R){q.update(E)}N(null,E.resolved={safeTime:j,timestampHash:q.digest("hex")})}))}_readContextHash(E,N){this._readContext({path:E,fromImmutablePath:()=>"",fromManagedItem:E=>E||"",fromSymlink:(E,N,R)=>{R(null,{hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>this.getFileHash(E,((E,N)=>{R(E,N||"")})),fromDirectory:(E,N,R)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(E,((E,N)=>{this.contextHashQueue.decreaseParallelism();R(E,N||"")}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);for(const E of N){if(typeof E==="string"){j.update(E)}else{j.update(E.hash);if(E.symlinks){if(R===undefined)R=new Set;addAll(E.symlinks,R)}}}const $={hash:j.digest("hex")};if(R)$.symlinks=R;return $}},((R,j)=>{if(R)return N(R);this._contextHashes.set(E,j);return N(null,j)}))}_resolveContextHash(E,N){const R=[];Ee(E.symlinks,10,((E,N,j)=>{this._getUnresolvedContextHash(E,((E,$)=>{if(E)return j(E);if($){R.push($.hash);if($.symlinks!==undefined){for(const E of $.symlinks)N(E)}}j()}))}),(j=>{if(j)return N(j);const $=ie(this._hashFunction);$.update(E.hash);R.sort();for(const E of R){$.update(E)}N(null,E.resolved=$.digest("hex"))}))}_readContextTimestampAndHash(E,N){const finalize=(R,j)=>{const $=R==="ignore"?j:{...R,...j};this._contextTshs.set(E,$);N(null,$)};const R=this._contextHashes.get(E);const j=this._contextTimestamps.get(E);if(R!==undefined){if(j!==undefined){finalize(j,R)}else{this.contextTimestampQueue.add(E,((E,j)=>{if(E)return N(E);finalize(j,R)}))}}else{if(j!==undefined){this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);finalize(j,R)}))}else{this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E,hash:E||""}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{this._getFileTimestampAndHash(E,R)},fromDirectory:(E,N,R)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(E,((E,N)=>{this.contextTshQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);const $=ie(this._hashFunction);for(const N of E){j.update(N);$.update(N)}let q=0;for(const E of N){if(!E){j.update("n");continue}if(typeof E==="string"){j.update("n");$.update(E);continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){q=Math.max(q,E.safeTime)}$.update(E.hash)}const G={safeTime:q,timestampHash:j.digest("hex"),hash:$.digest("hex")};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTshs.set(E,j);return N(null,j)}))}}}_resolveContextTsh(E,N){const R=[];const j=[];let $=0;Ee(E.symlinks,10,((E,N,q)=>{this._getUnresolvedContextTsh(E,((E,G)=>{if(E)return q(E);if(G){R.push(G.hash);if(G.timestampHash)j.push(G.timestampHash);if(G.safeTime){$=Math.max($,G.safeTime)}if(G.symlinks!==undefined){for(const E of G.symlinks)N(E)}}q()}))}),(q=>{if(q)return N(q);const G=ie(this._hashFunction);const ae=ie(this._hashFunction);G.update(E.hash);if(E.timestampHash)ae.update(E.timestampHash);if(E.safeTime){$=Math.max($,E.safeTime)}R.sort();for(const E of R){G.update(E)}j.sort();for(const E of j){ae.update(E)}N(null,E.resolved={safeTime:$,timestampHash:ae.digest("hex"),hash:G.digest("hex")})}))}_getManagedItemDirectoryInfo(E,N){this.fs.readdir(E,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){return N(null,Ne)}return N(R)}const $=new Set(j.map((N=>ae(this.fs,E,N))));N(null,$)}))}_getManagedItemInfo(E,N){const R=ce(this.fs,E);this.managedItemDirectoryQueue.add(R,((R,j)=>{if(R){return N(R)}if(!j.has(E)){this._managedItems.set(E,"missing");return N(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return N(null,"exists")}const $=ae(this.fs,E,"package.json");this.fs.readFile($,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){this.fs.readdir(E,((R,j)=>{if(!R&&j.length===1&&j[0]==="node_modules"){this._managedItems.set(E,"nested");return N(null,"nested")}const $=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn($);return N(new Error($))}));return}return N(R)}let $;try{$=JSON.parse(j.toString("utf-8"))}catch(E){return N(E)}const q=`${$.name||""}@${$.version||""}`;this._managedItems.set(E,q);N(null,q)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[N,R]of this._fileTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[N,R]of this._contextTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,N,R)=>{"use strict";const{getEntryRuntime:j,mergeRuntimeOwned:$}=R(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(R=>{let q=undefined;for(const[N,{options:R}]of E.entries){q=$(q,j(E,N,R))}for(const E of R){const R=N.getExportsInfo(E);R.setUsedInUnknownWay(q);N.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,N,R)=>{"use strict";const j=R(62355);const $=R(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const N=E.moduleGraph;const R=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((q,G)=>{const ie=E.getLogger("webpack.FlagDependencyExportsPlugin");let ae=0;let ce=0;let le=0;let _e=0;let Te=0;let Ee=0;const{moduleMemCaches:we}=E;const Ie=new $;ie.time("restore cached provided exports");j.each(q,((E,j)=>{const $=N.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if($.otherExportsInfo.provided!==null){le++;$.setHasProvideInfo();$.setUnknownExportsProvided();return j()}}if(typeof E.buildInfo.hash!=="string"){_e++;Ie.enqueue(E);$.setHasProvideInfo();return j()}const q=we&&we.get(E);const G=q&&q.get(this);if(G!==undefined){ae++;$.restoreProvided(G);return j()}R.get(E.identifier(),E.buildInfo.hash,((N,R)=>{if(N)return j(N);if(R!==undefined){ce++;$.restoreProvided(R)}else{Te++;Ie.enqueue(E);$.setHasProvideInfo()}j()}))}),(E=>{ie.timeEnd("restore cached provided exports");if(E)return G(E);const $=new Set;const q=new Map;let Ne;let Me;const Le=new Map;let Be=true;let je=false;const processDependenciesBlock=E=>{for(const N of E.dependencies){processDependency(N)}for(const N of E.blocks){processDependenciesBlock(N)}};const processDependency=E=>{const R=E.getExports(N);if(!R)return;Le.set(E,R)};const processExportsSpec=(E,R)=>{const j=R.exports;const $=R.canMangle;const G=R.from;const ie=R.priority;const ae=R.terminalBinding||false;const ce=R.dependencies;if(R.hideExports){for(const N of R.hideExports){const R=Me.getExportInfo(N);R.unsetTarget(E)}}if(j===true){if(Me.setUnknownExportsProvided($,R.excludeExports,G&&E,G,ie)){je=true}}else if(Array.isArray(j)){const mergeExports=(R,j)=>{for(const ce of j){let j;let le=$;let _e=ae;let Te=undefined;let Ee=G;let we=undefined;let Ie=ie;let Me=false;if(typeof ce==="string"){j=ce}else{j=ce.name;if(ce.canMangle!==undefined)le=ce.canMangle;if(ce.export!==undefined)we=ce.export;if(ce.exports!==undefined)Te=ce.exports;if(ce.from!==undefined)Ee=ce.from;if(ce.priority!==undefined)Ie=ce.priority;if(ce.terminalBinding!==undefined)_e=ce.terminalBinding;if(ce.hidden!==undefined)Me=ce.hidden}const Le=R.getExportInfo(j);if(Le.provided===false||Le.provided===null){Le.provided=true;je=true}if(Le.canMangleProvide!==false&&le===false){Le.canMangleProvide=false;je=true}if(_e&&!Le.terminalBinding){Le.terminalBinding=true;je=true}if(Te){const E=Le.createNestedExportsInfo();mergeExports(E,Te)}if(Ee&&(Me?Le.unsetTarget(E):Le.setTarget(E,Ee,we===undefined?[j]:we,Ie))){je=true}const Be=Le.getTarget(N);let Ue=undefined;if(Be){const E=N.getExportsInfo(Be.module);Ue=E.getNestedExportsInfo(Be.export);const R=q.get(Be.module);if(R===undefined){q.set(Be.module,new Set([Ne]))}else{R.add(Ne)}}if(Le.exportsInfoOwned){if(Le.exportsInfo.setRedirectNamedTo(Ue)){je=true}}else if(Le.exportsInfo!==Ue){Le.exportsInfo=Ue;je=true}}};mergeExports(Me,j)}if(ce){Be=false;for(const E of ce){const N=q.get(E);if(N===undefined){q.set(E,new Set([Ne]))}else{N.add(Ne)}}}};const notifyDependencies=()=>{const E=q.get(Ne);if(E!==undefined){for(const N of E){Ie.enqueue(N)}}};ie.time("figure out provided exports");while(Ie.length>0){Ne=Ie.dequeue();Ee++;Me=N.getExportsInfo(Ne);Be=true;je=false;Le.clear();N.freeze();processDependenciesBlock(Ne);N.unfreeze();for(const[E,N]of Le){processExportsSpec(E,N)}if(Be){$.add(Ne)}if(je){notifyDependencies()}}ie.timeEnd("figure out provided exports");ie.log(`${Math.round(100*(_e+Te)/(ae+ce+Te+_e+le))}% of exports of modules have been determined (${le} no declared exports, ${Te} not cached, ${_e} flagged uncacheable, ${ce} from cache, ${ae} from mem cache, ${Ee-Te-_e} additional calculations due to dependencies)`);ie.time("store provided exports into cache");j.each($,((E,j)=>{if(typeof E.buildInfo.hash!=="string"){return j()}const $=N.getExportsInfo(E).getRestoreProvidedData();const q=we&&we.get(E);if(q){q.set(this,$)}R.store(E.identifier(),E.buildInfo.hash,$,j)}),(E=>{ie.timeEnd("store provided exports into cache");G(E)}))}))}));const q=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{q.set(E,N.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{N.getExportsInfo(E).restoreProvided(q.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(79900);const{STAGE_DEFAULT:G}=R(82414);const ie=R(56561);const ae=R(34194);const{getEntryRuntime:ce,mergeRuntimeOwned:le}=R(37416);const{NO_EXPORTS_REFERENCED:_e,EXPORTS_OBJECT_REFERENCED:Te}=j;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:G},(R=>{if(E.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const j=E.getLogger("webpack.FlagDependencyUsagePlugin");const G=new Map;const Ee=new ae;const processReferencedModule=(E,R,j,q)=>{const ie=N.getExportsInfo(E);if(R.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ie.setUsedWithoutInfo(j)){Ee.enqueue(E,j)}return}for(const N of R){let R;let q=true;if(Array.isArray(N)){R=N}else{R=N.name;q=N.canMangle!==false}if(R.length===0){if(ie.setUsedInUnknownWay(j)){Ee.enqueue(E,j)}}else{let N=ie;for(let ae=0;aeE===$.Unused),$.OnlyPropertiesUsed,j)){const R=N===ie?E:G.get(N);if(R){Ee.enqueue(R,j)}}N=R;continue}}if(ce.setUsedConditionally((E=>E!==$.Used),$.Used,j)){const R=N===ie?E:G.get(N);if(R){Ee.enqueue(R,j)}}break}}}}else{if(!q&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ie.setUsedForSideEffectsOnly(j)){Ee.enqueue(E,j)}}};const processModule=(R,j,$)=>{const G=new Map;const ae=new ie;ae.enqueue(R);for(;;){const R=ae.dequeue();if(R===undefined)break;for(const E of R.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(E)}}for(const $ of R.dependencies){const R=N.getConnection($);if(!R||!R.module){continue}const ie=R.getActiveState(j);if(ie===false)continue;const{module:ae}=R;if(ie===q.TRANSITIVE_ONLY){processModule(ae,j,false);continue}const ce=G.get(ae);if(ce===Te){continue}const le=E.getDependencyReferencedExports($,j);if(ce===undefined||ce===_e||le===Te){G.set(ae,le)}else if(ce!==undefined&&le===_e){continue}else{let E;if(Array.isArray(ce)){E=new Map;for(const N of ce){if(Array.isArray(N)){E.set(N.join("\n"),N)}else{E.set(N.name.join("\n"),N)}}G.set(ae,E)}else{E=ce}for(const N of le){if(Array.isArray(N)){const R=N.join("\n");const j=E.get(R);if(j===undefined){E.set(R,N)}}else{const R=N.name.join("\n");const j=E.get(R);if(j===undefined||Array.isArray(j)){E.set(R,N)}else{E.set(R,{name:N.name,canMangle:N.canMangle&&j.canMangle})}}}}}}for(const[E,N]of G){if(Array.isArray(N)){processReferencedModule(E,N,j,$)}else{processReferencedModule(E,Array.from(N.values()),j,$)}}};j.time("initialize exports usage");for(const E of R){const R=N.getExportsInfo(E);G.set(R,E);R.setHasUseInfo()}j.timeEnd("initialize exports usage");j.time("trace exports usage in graph");const processEntryDependency=(E,R)=>{const j=N.getModule(E);if(j){processReferencedModule(j,_e,R,true)}};let we=undefined;for(const[N,{dependencies:R,includeDependencies:j,options:$}]of E.entries){const q=this.global?undefined:ce(E,N,$);for(const E of R){processEntryDependency(E,q)}for(const E of j){processEntryDependency(E,q)}we=le(we,q)}for(const N of E.globalEntry.dependencies){processEntryDependency(N,we)}for(const N of E.globalEntry.includeDependencies){processEntryDependency(N,we)}while(Ee.length){const[E,N]=Ee.dequeue();processModule(E,N,false)}j.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,N,R)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const N=R(75884);throw new N}getSize(E,N){const j=R(75884);throw new j}generate(E,{dependencyTemplates:N,runtimeTemplate:j,moduleGraph:$,type:q}){const G=R(75884);throw new G}getConcatenationBailoutReason(E,N){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:N,runtime:R}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,N){const R=N||"javascript";const j=this.map[R];return j?j.getSize(E,R):0}generate(E,N){const R=N.type;const j=this.map[R];if(!j){throw new Error(`Generator.byType: no generator specified for ${R}`)}return j.generate(E,N)}}E.exports=Generator},4642:(E,N)=>{"use strict";const connectChunkGroupAndChunk=(E,N)=>{if(E.pushChunk(N)){N.addGroup(E)}};const connectChunkGroupParentAndChild=(E,N)=>{if(E.addChild(N)){N.addParent(E)}};N.connectChunkGroupAndChunk=connectChunkGroupAndChunk;N.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class HarmonyLinkingError extends j{constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,N,R)=>{"use strict";const j=R(81627);class HookWebpackError extends j{constructor(E,N){super(E.message);this.name="HookWebpackError";this.hook=N;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${N}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,N)=>{if(E instanceof j)return E;return new HookWebpackError(E,N)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,N)=>(R,$)=>{if(R){if(R instanceof j){E(R);return}E(new HookWebpackError(R,N));return}E(null,$)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,N)=>{let R;try{R=E()}catch(E){if(E instanceof j){throw E}throw new HookWebpackError(E,N)}return R};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$}=R(2991);const q=R(45137);const G=R(3080);const ie=R(22352);const ae=R(53520);const ce=R(76150);const le=R(81627);const _e=R(66298);const Te=R(76302);const Ee=R(5389);const we=R(21809);const Ie=R(73158);const Ne=R(79838);const Me=R(3711);const{evaluateToIdentifier:Le}=R(48472);const{find:Be,isSubset:je}=R(26221);const Ue=R(86949);const{compareModulesById:ze}=R(68673);const{getRuntimeKey:We,keyToRuntime:Je,forEachRuntime:Ve,mergeRuntimeOwned:qe,subtractRuntime:He,intersectRuntime:Ge}=R(37416);const Ke=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Me)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let N=Ke.get(E);if(N===undefined){N={hotAcceptCallback:new j(["expression","requests"]),hotAcceptWithoutCallback:new j(["expression","requests"])};Ke.set(E,N)}return N}constructor(E){this.options=E||{}}apply(E){const{_backCompat:N}=E;if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const R=[ce.module];const createAcceptHandler=(E,N)=>{const{hotAcceptCallback:j,hotAcceptWithoutCallback:$}=HotModuleReplacementPlugin.getParserHooks(E);return q=>{const G=E.state.module;const ie=new _e(`${G.moduleArgument}.hot.accept`,q.callee.range,R);ie.loc=q.loc;G.addPresentationalDependency(ie);G.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(q.arguments.length>=1){const R=E.evaluateExpression(q.arguments[0]);let ie=[];let ae=[];if(R.isString()){ie=[R]}else if(R.isArray()){ie=R.items.filter((E=>E.isString()))}if(ie.length>0){ie.forEach(((E,R)=>{const j=E.string;const $=new N(j,E.range);$.optional=true;$.loc=Object.create(q.loc);$.loc.index=R;G.addDependency($);ae.push(j)}));if(q.arguments.length>1){j.call(q.arguments[1],ae);for(let N=1;Nj=>{const $=E.state.module;const q=new _e(`${$.moduleArgument}.hot.decline`,j.callee.range,R);q.loc=j.loc;$.addPresentationalDependency(q);$.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(j.arguments.length===1){const R=E.evaluateExpression(j.arguments[0]);let q=[];if(R.isString()){q=[R]}else if(R.isArray()){q=R.items.filter((E=>E.isString()))}q.forEach(((E,R)=>{const q=new N(E.string,E.range);q.optional=true;q.loc=Object.create(j.loc);q.loc.index=R;$.addDependency(q)}))}return true};const createHMRExpressionHandler=E=>N=>{const j=E.state.module;const $=new _e(`${j.moduleArgument}.hot`,N.range,R);$.loc=N.loc;j.addPresentationalDependency($);j.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Le("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ie));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Le("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,Te));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ee));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((R,{normalModuleFactory:j})=>{if(R.compiler!==E)return;R.dependencyFactories.set(we,j);R.dependencyTemplates.set(we,new we.Template);R.dependencyFactories.set(Ie,j);R.dependencyTemplates.set(Ie,new Ie.Template);R.dependencyFactories.set(Te,j);R.dependencyTemplates.set(Te,new Te.Template);R.dependencyFactories.set(Ee,j);R.dependencyTemplates.set(Ee,new Ee.Template);let _e=0;const Me={};const Le={};R.hooks.record.tap("HotModuleReplacementPlugin",((E,N)=>{if(N.hash===E.hash)return;const R=E.chunkGraph;N.hash=E.hash;N.hotIndex=_e;N.fullHashChunkModuleHashes=Me;N.chunkModuleHashes=Le;N.chunkHashes={};N.chunkRuntime={};for(const R of E.chunks){N.chunkHashes[R.id]=R.hash;N.chunkRuntime[R.id]=We(R.runtime)}N.chunkModuleIds={};for(const j of E.chunks){N.chunkModuleIds[j.id]=Array.from(R.getOrderedChunkModulesIterable(j,ze(R)),(E=>R.getModuleId(E)))}}));const Ke=new Ue;const Qe=new Ue;const Xe=new Ue;R.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const N=R.chunkGraph;const j=R.records;for(const E of R.chunks){const getModuleHash=j=>{if(R.codeGenerationResults.has(j,E.runtime)){return R.codeGenerationResults.getHash(j,E.runtime)}else{Xe.add(j,E.runtime);return N.getModuleHash(j,E.runtime)}};const $=N.getChunkFullHashModulesSet(E);if($!==undefined){for(const N of $){Qe.add(N,E)}}const q=N.getChunkModulesIterable(E);if(q!==undefined){if(j.chunkModuleHashes){if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const q=getModuleHash(N);if($.has(N)){if(j.fullHashChunkModuleHashes[R]!==q){Ke.add(N,E)}Me[R]=q}else{if(j.chunkModuleHashes[R]!==q){Ke.add(N,E)}Le[R]=q}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const $=getModuleHash(N);if(j.chunkModuleHashes[R]!==$){Ke.add(N,E)}Le[R]=$}}}else{if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);if($.has(N)){Me[R]=j}else{Le[R]=j}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);Le[R]=j}}}}}_e=j.hotIndex||0;if(Ke.size>0)_e++;E.update(`${_e}`)}));R.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:G.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=R.chunkGraph;const j=R.records;if(j.hash===R.hash)return;if(!j.chunkModuleHashes||!j.chunkHashes||!j.chunkModuleIds){return}for(const[N,$]of Qe){const q=`${$.id}|${N.identifier()}`;const G=Xe.has(N,$.runtime)?E.getModuleHash(N,$.runtime):R.codeGenerationResults.getHash(N,$.runtime);if(j.chunkModuleHashes[q]!==G){Ke.add(N,$)}Le[q]=G}const G=new Map;let ae;for(const E of Object.keys(j.chunkRuntime)){const N=Je(j.chunkRuntime[E]);ae=qe(ae,N)}Ve(ae,(E=>{const{path:N,info:$}=R.getPathWithInfo(R.outputOptions.hotUpdateMainFilename,{hash:j.hash,runtime:E});G.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:N,assetInfo:$})}));if(G.size===0)return;const ce=new Map;for(const N of R.modules){const R=E.getModuleId(N);ce.set(R,N)}const _e=new Set;for(const $ of Object.keys(j.chunkHashes)){const le=Je(j.chunkRuntime[$]);const Te=[];for(const E of j.chunkModuleIds[$]){const N=ce.get(E);if(N===undefined){_e.add(E)}else{Te.push(N)}}let Ee;let we;let Ie;let Ne;let Me;let Le;let je;const Ue=Be(R.chunks,(E=>`${E.id}`===$));if(Ue){Ee=Ue.id;Le=Ge(Ue.runtime,ae);if(Le===undefined)continue;we=E.getChunkModules(Ue).filter((E=>Ke.has(E,Ue)));Ie=Array.from(E.getChunkRuntimeModulesIterable(Ue)).filter((E=>Ke.has(E,Ue)));const N=E.getChunkFullHashModulesIterable(Ue);Ne=N&&Array.from(N).filter((E=>Ke.has(E,Ue)));const R=E.getChunkDependentHashModulesIterable(Ue);Me=R&&Array.from(R).filter((E=>Ke.has(E,Ue)));je=He(le,Le)}else{Ee=`${+$}`===$?+$:$;je=le;Le=le}if(je){Ve(je,(E=>{G.get(E).removedChunkIds.add(Ee)}));for(const N of Te){const q=`${$}|${N.identifier()}`;const ie=j.chunkModuleHashes[q];const ae=E.getModuleRuntimes(N);if(le===Le&&ae.has(Le)){const j=Xe.has(N,Le)?E.getModuleHash(N,Le):R.codeGenerationResults.getHash(N,Le);if(j!==ie){if(N.type==="runtime"){Ie=Ie||[];Ie.push(N)}else{we=we||[];we.push(N)}}}else{Ve(je,(E=>{for(const N of ae){if(typeof N==="string"){if(N===E)return}else if(N!==undefined){if(N.has(E))return}}G.get(E).removedModules.add(N)}))}}}if(we&&we.length>0||Ie&&Ie.length>0){const $=new ie;if(N)q.setChunkGraphForChunk($,E);$.id=Ee;$.runtime=Le;if(Ue){for(const E of Ue.groupsIterable)$.addGroup(E)}E.attachModules($,we||[]);E.attachRuntimeModules($,Ie||[]);if(Ne){E.attachFullHashModules($,Ne)}if(Me){E.attachDependentHashModules($,Me)}const ae=R.getRenderManifest({chunk:$,hash:j.hash,fullHash:j.hash,outputOptions:R.outputOptions,moduleTemplates:R.moduleTemplates,dependencyTemplates:R.dependencyTemplates,codeGenerationResults:R.codeGenerationResults,runtimeTemplate:R.runtimeTemplate,moduleGraph:R.moduleGraph,chunkGraph:E});for(const E of ae){let N;let j;if("filename"in E){N=E.filename;j=E.info}else{({path:N,info:j}=R.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const $=E.render();R.additionalChunkAssets.push(N);R.emitAsset(N,$,{hotModuleReplacement:true,...j});if(Ue){Ue.files.add(N);R.hooks.chunkAsset.call(Ue,N)}}Ve(Le,(E=>{G.get(E).updatedChunkIds.add(Ee)}))}}const Te=Array.from(_e);const Ee=new Map;for(const{removedChunkIds:E,removedModules:N,updatedChunkIds:j,filename:$,assetInfo:q}of G.values()){const G=Ee.get($);if(G&&(!je(G.removedChunkIds,E)||!je(G.removedModules,N)||!je(G.updatedChunkIds,j))){R.warnings.push(new le(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const N of E)G.removedChunkIds.add(N);for(const E of N)G.removedModules.add(E);for(const E of j)G.updatedChunkIds.add(E);continue}Ee.set($,{removedChunkIds:E,removedModules:N,updatedChunkIds:j,assetInfo:q})}for(const[N,{removedChunkIds:j,removedModules:q,updatedChunkIds:G,assetInfo:ie}]of Ee){const ae={c:Array.from(G),r:Array.from(j),m:q.size===0?Te:Te.concat(Array.from(q,(N=>E.getModuleId(N))))};const ce=new $(JSON.stringify(ae));R.emitAsset(N,ce,{hotModuleReplacement:true,...ie})}}));R.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,N)=>{N.add(ce.hmrDownloadManifest);N.add(ce.hmrDownloadUpdateHandlers);N.add(ce.interceptModuleExecution);N.add(ce.moduleCache);R.addRuntimeModule(E,new Ne)}));j.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));j.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));j.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));ae.getCompilationHooks(R).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,N,R)=>{"use strict";const j=R(62433);class HotUpdateChunk extends j{constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,N,R)=>{"use strict";const j=R(40674);class IgnoreErrorModuleFactory extends j{constructor(E){super();this.normalModuleFactory=E}create(E,N){this.normalModuleFactory.create(E,((E,R)=>N(null,R)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(44194),(()=>R(8679)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){$(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(N=>N.filter((N=>!this._ignoreWarnings.some((R=>R(N,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const $=R(56202);const extractFragmentIndex=(E,N)=>[E,N];const sortFragmentWithIndex=([E,N],[R,j])=>{const $=E.stage-R.stage;if($!==0)return $;const q=E.position-R.position;if(q!==0)return q;return N-j};class InitFragment{constructor(E,N,R,j,$){this.content=E;this.stage=N;this.position=R;this.key=j;this.endContent=$}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,N,R){if(N.length>0){const $=N.map(extractFragmentIndex).sort(sortFragmentWithIndex);const q=new Map;for(const[E]of $){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const N=q.get(E.key);if(N===undefined){q.set(E.key,E)}else if(Array.isArray(N)){N.push(E)}else{q.set(E.key,[N,E])}continue}else if(typeof E.merge==="function"){const N=q.get(E.key);if(N!==undefined){q.set(E.key,E.merge(N));continue}}q.set(E.key||Symbol(),E)}const G=new j;const ie=[];for(let E of q.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}G.add(E.getContent(R));const N=E.getEndContent(R);if(N){ie.push(N)}}G.add(E);for(const E of ie.reverse()){G.add(E)}return G}else{return E}}serialize(E){const{write:N}=E;N(this.content);N(this.stage);N(this.position);N(this.key);N(this.endContent)}deserialize(E){const{read:N}=E;this.content=N();this.stage=N();this.position=N();this.key=N();this.endContent=N()}}$(InitFragment,"webpack/lib/InitFragment");InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class InvalidDependenciesModuleWarning extends j{constructor(E,N){const R=N?Array.from(N).sort():[];const j=R.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${j.slice(0,3).join("\n")}${j.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=j.slice(3).join("\n");this.module=E}}$(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,N,R)=>{"use strict";const j=R(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;const N=j.getTopLevelSymbol(E.state);if(N){j.addUsage(E.state,null,N)}else{j.bailout(E.state)}}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let N=E.state.module.buildInfo.topLevelDeclarations;if(N===undefined){N=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const R of E.scope.definitions.asSet()){const j=E.getFreeInfoFromVariable(R);if(j===undefined){N.add(R)}}}))};N.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,N,R)=>{"use strict";const j=R(62355);const $=R(66583);const{someInIterable:q}=R(11539);const{compareModulesById:G}=R(68673);const{dirname:ie,mkdirp:ae}=R(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((N,R)=>{const ce=N.moduleGraph;j.forEach(Array.from(N.chunks),((R,j)=>{if(!R.canBeInitial()){j();return}const le=N.chunkGraph;const _e=N.getPath(this.options.path,{chunk:R});const Te=this.options.name&&N.getPath(this.options.name,{chunk:R});const Ee=Object.create(null);for(const N of le.getOrderedChunkModulesIterable(R,G(le))){if(this.options.entryOnly&&!q(ce.getIncomingConnections(N),(E=>E.dependency instanceof $))){continue}const R=N.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(R){const E=ce.getExportsInfo(N);const j=E.getProvidedExports();const $={id:le.getModuleId(N),buildMeta:N.buildMeta,exports:Array.isArray(j)?j:undefined};Ee[R]=$}}const we={name:Te,type:this.options.type,content:Ee};const Ie=this.options.format?JSON.stringify(we,null,2):JSON.stringify(we);const Ne=Buffer.from(Ie,"utf8");ae(E.intermediateFileSystem,ie(E.intermediateFileSystem,_e),(N=>{if(N)return j(N);E.intermediateFileSystem.writeFile(_e,Ne,j)}))}),R)}))}}E.exports=LibManifestPlugin},43351:(E,N,R)=>{"use strict";const j=R(13984);class LibraryTemplatePlugin{constructor(E,N,R,j,$){this.library={type:N||"var",name:E,umdNamedDefine:R,auxiliaryComment:j,export:$}}apply(E){const{output:N}=E.options;N.library=this.library;new j(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,N,R)=>{"use strict";const j=R(70354);const $=R(53520);const q=R(35817);const G=q(R(80274),(()=>R(30685)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){G(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{$.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,R)=>{const $=R.resource;if(!$)return;const q=$.indexOf("?");if(j.matchObject(N,q<0?$:$.substr(0,q))){for(const R of Object.keys(N)){if(R==="include"||R==="exclude"||R==="test"){continue}E[R]=N[R]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,N,R)=>{"use strict";const j=R(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{j.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(73837);const q=R(76150);const G=R(91671);const ie=G((()=>R(18161)));const ae=G((()=>R(58421)));const ce=G((()=>R(67104)));class MainTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(!N.chunk.hasRuntime())return E;return R(E,N)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).renderRequire.tap(E,R)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash,N.moduleTemplates.javascript,N.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:$.deprecate(((E,R)=>{N.hooks.assetPath.tap(E,R)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:$.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).chunkHash.tap(E,((E,N)=>{if(!E.hasRuntime())return;return R(N,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new j(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new j(["source","chunk","hash"]),requireExtensions:new j(["source","chunk","hash"]),requireEnsure:new j(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=ce().getCompilationHooks(N);return E.createScript},get linkPrefetch(){const E=ae().getCompilationHooks(N);return E.linkPrefetch},get linkPreload(){const E=ae().getCompilationHooks(N);return E.linkPreload}});this.renderCurrentHashCode=$.deprecate(((E,N)=>{if(N){return`${q.getFullHash} ? ${q.getFullHash}().slice(0, ${N}) : ${E.slice(0,N)}`}return`${q.getFullHash} ? ${q.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=$.deprecate((E=>N.getAssetPath(N.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=$.deprecate(((E,R)=>N.getAssetPathWithInfo(E,R)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:$.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,N,R)=>{"use strict";const j=R(73837);const $=R(45137);const q=R(32448);const G=R(75412);const ie=R(76150);const{first:ae}=R(26221);const{compareChunksById:ce}=R(68673);const le=R(56202);const _e={};let Te=1e3;const Ee=new Set(["unknown"]);const we=new Set(["javascript"]);const Ie=j.deprecate(((E,N)=>E.needRebuild(N.fileSystemInfo.getDeprecatedFileTimestamps(),N.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends q{constructor(E,N=null,R=null){super();this.type=E;this.context=N;this.layer=R;this.needId=true;this.debugId=Te++;this.resolveOptions=_e;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return $.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}$.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return $.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return $.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return G.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(G.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const N=$.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(N.isModuleInChunk(this,E))return false;N.connectChunkAndModule(E,this);return true}removeChunk(E){return $.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return $.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return $.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return $.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return $.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return $.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,ce)}isProvided(E){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,N){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return N?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return N?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(N)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const R=E.getReadOnlyExportInfo(this,"__esModule");if(R.provided===false){return handleDefault()}const j=R.getTarget(E);if(!j||!j.export||j.export.length!==1||j.export[0]!=="__esModule"){return"dynamic"}switch(j.module.buildMeta&&j.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return N?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let N=false;for(const R of E.getIncomingConnections(this)){if(!R.dependency||!R.dependency.optional||!R.isTargetActive(undefined)){return false}N=true}return N}isAccessibleInChunk(E,N,R){for(const R of N.groupsIterable){if(!this.isAccessibleInChunkGroup(E,R))return false}return true}isAccessibleInChunkGroup(E,N,R){const j=new Set([N]);e:for(const $ of j){for(const N of $.chunks){if(N!==R&&E.isModuleInChunk(this,N))continue e}if(N.isInitial())return false;for(const E of N.parentsIterable)j.add(E)}return true}hasReasonForChunk(E,N,R){for(const[j,$]of N.getIncomingConnectionsByOriginModule(this)){if(!$.some((N=>N.isTargetActive(E.runtime))))continue;for(const N of R.getModuleChunksIterable(j)){if(!this.isAccessibleInChunk(R,N,E))return true}}return false}hasReasons(E,N){for(const R of E.getIncomingConnections(this)){if(R.isTargetActive(N))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,N){N(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Ie(this,E))}needRebuild(E,N){return true}updateHash(E,N={chunkGraph:$.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:R,runtime:j}=N;E.update(R.getModuleGraphHash(this,j));if(this.presentationalDependencies!==undefined){for(const R of this.presentationalDependencies){R.updateHash(E,N)}}super.updateHash(E,N)}invalidateBuild(){}identifier(){const E=R(75884);throw new E}readableIdentifier(E){const N=R(75884);throw new N}build(E,N,j,$,q){const G=R(75884);throw new G}getSourceTypes(){if(this.source===Module.prototype.source){return Ee}else{return we}}source(E,N,j="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=R(75884);throw new E}const q=$.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const G={dependencyTemplates:E,runtimeTemplate:N,moduleGraph:q.moduleGraph,chunkGraph:q,runtime:undefined};const ie=this.codeGeneration(G).sources;return j?ie.get(j):ie.get(ae(this.getSourceTypes()))}size(E){const N=R(75884);throw new N}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const N=new Map;for(const R of this.getSourceTypes()){if(R!=="unknown"){N.set(R,this.source(E.dependencyTemplates,E.runtimeTemplate,R))}}return{sources:N,runtimeRequirements:new Set([ie.module,ie.exports,ie.require])}}chunkCondition(E,N){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,N){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,N,R,j){}serialize(E){const{write:N}=E;N(this.type);N(this.layer);N(this.context);N(this.resolveOptions);N(this.factoryMeta);N(this.useSourceMap);N(this.useSimpleSourceMap);N(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);N(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);N(this.buildMeta);N(this.buildInfo);N(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:N}=E;this.type=N();this.layer=N();this.context=N();this.resolveOptions=N();this.factoryMeta=N();this.useSourceMap=N();this.useSimpleSourceMap=N();this._warnings=N();this._errors=N();this.buildMeta=N();this.buildInfo=N();this.presentationalDependencies=N();super.deserialize(E)}}le(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:j.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:j.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,N,R)=>{"use strict";const{cutOffLoaderExecution:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleBuildError extends ${constructor(E,{from:N=null}={}){let R="Module build failed";let $=undefined;if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const N=j(E.stack);if(!E.hideStack){R+=N}else{$=N;if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=E}}}else if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=String(E)}}else{R+=String(E)}super(R);this.name="ModuleBuildError";this.details=$;this.error=E}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,N,R)=>{"use strict";const j=R(81627);class ModuleDependencyError extends j{constructor(E,N,R){super(N.message);this.name="ModuleDependencyError";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class ModuleDependencyWarning extends j{constructor(E,N,R){super(N?N.message:"");this.name="ModuleDependencyWarning";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}$(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleError extends ${constructor(E,{from:N=null}={}){let R="Module Error";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=E}super(R);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,N,R)=>{"use strict";class ModuleFactory{create(E,N){const j=R(75884);throw new j}}E.exports=ModuleFactory},70354:(E,N,R)=>{"use strict";const j=R(35891);const $=R(91671);const q=N;q.ALL_LOADERS_RESOURCE="[all-loaders][resource]";q.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;q.LOADERS_RESOURCE="[loaders][resource]";q.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;q.RESOURCE="[resource]";q.REGEXP_RESOURCE=/\[resource\]/gi;q.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";q.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;q.RESOURCE_PATH="[resource-path]";q.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;q.ALL_LOADERS="[all-loaders]";q.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;q.LOADERS="[loaders]";q.REGEXP_LOADERS=/\[loaders\]/gi;q.QUERY="[query]";q.REGEXP_QUERY=/\[query\]/gi;q.ID="[id]";q.REGEXP_ID=/\[id\]/gi;q.HASH="[hash]";q.REGEXP_HASH=/\[hash\]/gi;q.NAMESPACE="[namespace]";q.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,N)=>()=>{const R=E();const j=R.indexOf(N);return j<0?"":R.substr(j)};const getBefore=(E,N)=>()=>{const R=E();const j=R.lastIndexOf(N);return j<0?"":R.substr(0,j)};const getHash=(E,N)=>()=>{const R=j(N);R.update(E());const $=R.digest("hex");return $.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];Object.defineProperty(N,R,{get:()=>j(),set:E=>{Object.defineProperty(N,R,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return N};const G=/\[\\*([\w-]+)\\*\]/gi;q.createFilename=(E="",N,{requestShortener:R,chunkGraph:j,hashFunction:ie="md4"})=>{const ae={namespace:"",moduleFilenameTemplate:"",...typeof N==="object"?N:{moduleFilenameTemplate:N}};let ce;let le;let _e;let Te;let Ee;if(typeof E==="string"){Ee=$((()=>R.shorten(E)));_e=Ee;Te=()=>"";ce=()=>E.split("!").pop();le=getHash(_e,ie)}else{Ee=$((()=>E.readableIdentifier(R)));_e=$((()=>R.shorten(E.identifier())));Te=()=>j.getModuleId(E);ce=()=>E.identifier().split("!").pop();le=getHash(_e,ie)}const we=$((()=>Ee().split("!").pop()));const Ie=getBefore(Ee,"!");const Ne=getBefore(_e,"!");const Me=getAfter(we,"?");const resourcePath=()=>{const E=Me().length;return E===0?we():we().slice(0,-E)};if(typeof ae.moduleFilenameTemplate==="function"){return ae.moduleFilenameTemplate(lazyObject({identifier:_e,shortIdentifier:Ee,resource:we,resourcePath:$(resourcePath),absoluteResourcePath:$(ce),allLoaders:$(Ne),query:$(Me),moduleId:$(Te),hash:$(le),namespace:()=>ae.namespace}))}const Le=new Map([["identifier",_e],["short-identifier",Ee],["resource",we],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",ce],["abs-resource-path",ce],["absoluteresource-path",ce],["absresource-path",ce],["absolute-resourcepath",ce],["abs-resourcepath",ce],["absoluteresourcepath",ce],["absresourcepath",ce],["all-loaders",Ne],["allloaders",Ne],["loaders",Ie],["query",Me],["id",Te],["hash",le],["namespace",()=>ae.namespace]]);return ae.moduleFilenameTemplate.replace(q.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(q.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(G,((E,N)=>{if(N.length+2===E.length){const E=Le.get(N.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};q.replaceDuplicates=(E,N,R)=>{const j=Object.create(null);const $=Object.create(null);E.forEach(((E,N)=>{j[E]=j[E]||[];j[E].push(N);$[E]=0}));if(R){Object.keys(j).forEach((E=>{j[E].sort(R)}))}return E.map(((E,q)=>{if(j[E].length>1){if(R&&j[E][0]===q)return E;return N(E,q,$[E]++)}else{return E}}))};q.matchPart=(E,N)=>{if(!N)return true;N=asRegExp(N);if(Array.isArray(N)){return N.map(asRegExp).some((N=>N.test(E)))}else{return N.test(E)}};q.matchObject=(E,N)=>{if(E.test){if(!q.matchPart(N,E.test)){return false}}if(E.include){if(!q.matchPart(N,E.include)){return false}}if(E.exclude){if(q.matchPart(N,E.exclude)){return false}}return true}},75412:(E,N,R)=>{"use strict";const j=R(73837);const $=R(76632);const q=R(79900);const G=R(16102);const ie=R(4396);const ae=new Set;const getConnectionsByOriginModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{originModule:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};const getConnectionsByModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{module:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};class ModuleGraphModule{constructor(){this.incomingConnections=new G;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new $;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined}_getModuleGraphModule(E){let N=this._moduleMap.get(E);if(N===undefined){N=new ModuleGraphModule;this._moduleMap.set(E,N)}return N}setParents(E,N,R,j=-1){E._parentDependenciesBlockIndex=j;E._parentDependenciesBlock=N;E._parentModule=R}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}getParentBlockIndex(E){return E._parentDependenciesBlockIndex}setResolvedModule(E,N,R){const j=new q(E,N,R,undefined,N.weak,N.getCondition(this));const $=this._getModuleGraphModule(R).incomingConnections;$.add(j);if(E){const N=this._getModuleGraphModule(E);if(N._unassignedConnections===undefined){N._unassignedConnections=[]}N._unassignedConnections.push(j);if(N.outgoingConnections===undefined){N.outgoingConnections=new G}N.outgoingConnections.add(j)}else{this._dependencyMap.set(N,j)}}updateModule(E,N){const R=this.getConnection(E);if(R.module===N)return;const j=R.clone();j.module=N;this._dependencyMap.set(E,j);R.setActive(false);const $=this._getModuleGraphModule(R.originModule);$.outgoingConnections.add(j);const q=this._getModuleGraphModule(N);q.incomingConnections.add(j)}removeConnection(E){const N=this.getConnection(E);const R=this._getModuleGraphModule(N.module);R.incomingConnections.delete(N);const j=this._getModuleGraphModule(N.originModule);j.outgoingConnections.delete(N);this._dependencyMap.set(E,null)}addExplanation(E,N){const R=this.getConnection(E);R.addExplanation(N)}cloneModuleAttributes(E,N){const R=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(N);j.postOrderIndex=R.postOrderIndex;j.preOrderIndex=R.preOrderIndex;j.depth=R.depth;j.exports=R.exports;j.async=R.async}removeModuleAttributes(E){const N=this._getModuleGraphModule(E);N.postOrderIndex=null;N.preOrderIndex=null;N.depth=null;N.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){j.originModule=N;E.add(j);q.delete(j)}}}const ie=j.incomingConnections;const ae=$.incomingConnections;for(const E of ie){if(R(E)){E.module=N;ae.add(E);ie.delete(E)}}}copyOutgoingModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){const R=j.clone();R.originModule=N;E.add(R);if(R.module!==undefined){const E=this._getModuleGraphModule(R.module);E.incomingConnections.add(R)}}}}}addExtraReason(E,N){const R=this._getModuleGraphModule(E).incomingConnections;R.add(new q(null,null,E,N))}getResolvedModule(E){const N=this.getConnection(E);return N!==undefined?N.resolvedModule:null}getConnection(E){const N=this._dependencyMap.get(E);if(N===undefined){const N=this.getParentModule(E);if(N!==undefined){const R=this._getModuleGraphModule(N);if(R._unassignedConnections&&R._unassignedConnections.length!==0){let N;for(const j of R._unassignedConnections){this._dependencyMap.set(j.dependency,j);if(j.dependency===E)N=j}R._unassignedConnections.length=0;if(N!==undefined){return N}}}this._dependencyMap.set(E,null);return undefined}return N===null?undefined:N}getModule(E){const N=this.getConnection(E);return N!==undefined?N.module:null}getOrigin(E){const N=this.getConnection(E);return N!==undefined?N.originModule:null}getResolvedOrigin(E){const N=this.getConnection(E);return N!==undefined?N.resolvedOriginModule:null}getIncomingConnections(E){const N=this._getModuleGraphModule(E).incomingConnections;return N}getOutgoingConnections(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?ae:N}getIncomingConnectionsByOriginModule(E){const N=this._getModuleGraphModule(E).incomingConnections;return N.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?undefined:N.getFromUnorderedCache(getConnectionsByModule)}getProfile(E){const N=this._getModuleGraphModule(E);return N.profile}setProfile(E,N){const R=this._getModuleGraphModule(E);R.profile=N}getIssuer(E){const N=this._getModuleGraphModule(E);return N.issuer}setIssuer(E,N){const R=this._getModuleGraphModule(E);R.issuer=N}setIssuerIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.issuer===undefined)R.issuer=N}getOptimizationBailout(E){const N=this._getModuleGraphModule(E);return N.optimizationBailout}getProvidedExports(E){const N=this._getModuleGraphModule(E);return N.exports.getProvidedExports()}isExportProvided(E,N){const R=this._getModuleGraphModule(E);const j=R.exports.isExportProvided(N);return j===undefined?null:j}getExportsInfo(E){const N=this._getModuleGraphModule(E);return N.exports}getExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getExportInfo(N)}getReadOnlyExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getReadOnlyExportInfo(N)}getUsedExports(E,N){const R=this._getModuleGraphModule(E);return R.exports.getUsedExports(N)}getPreOrderIndex(E){const N=this._getModuleGraphModule(E);return N.preOrderIndex}getPostOrderIndex(E){const N=this._getModuleGraphModule(E);return N.postOrderIndex}setPreOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.preOrderIndex=N}setPreOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.preOrderIndex===null){R.preOrderIndex=N;return true}return false}setPostOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.postOrderIndex=N}setPostOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.postOrderIndex===null){R.postOrderIndex=N;return true}return false}getDepth(E){const N=this._getModuleGraphModule(E);return N.depth}setDepth(E,N){const R=this._getModuleGraphModule(E);R.depth=N}setDepthIfLower(E,N){const R=this._getModuleGraphModule(E);if(R.depth===null||R.depth>N){R.depth=N;return true}return false}isAsync(E){const N=this._getModuleGraphModule(E);return N.async}setAsync(E){const N=this._getModuleGraphModule(E);N.async=true}getMeta(E){let N=this._metaMap.get(E);if(N===undefined){N=Object.create(null);this._metaMap.set(E,N)}return N}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(E){this._cache=new ie;this._cacheStage=E}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(E,...N){if(this._cache===undefined)return E(this,...N);return this._cache.provide(E,...N,(()=>E(this,...N)))}setModuleMemCaches(E){this._moduleMemCaches=E}dependencyCacheProvide(E,...N){const R=N.pop();if(this._moduleMemCaches&&this._cacheStage){const j=this._moduleMemCaches.get(this.getParentModule(E));if(j!==undefined){return j.provide(E,this._cacheStage,...N,(()=>R(this,E,...N)))}}if(this._cache===undefined)return R(this,E,...N);return this._cache.provide(E,...N,(()=>R(this,E,...N)))}static getModuleGraphForModule(E,N,R){const $=le.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=ce.get(E);if(!R)throw new Error(N+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ModuleGraph API",R);le.set(N,q);return q(E)}static setModuleGraphForModule(E,N){ce.set(E,N)}static clearModuleGraphForModule(E){ce.delete(E)}}const ce=new WeakMap;const le=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=q},79900:E=>{"use strict";const N=Symbol("transitive only");const R=Symbol("circular connection");const addConnectionStates=(E,R)=>{if(E===true||R===true)return true;if(E===false)return R;if(R===false)return E;if(E===N)return R;if(R===N)return E;return E};const intersectConnectionStates=(E,N)=>{if(E===false||N===false)return false;if(E===true)return N;if(N===true)return E;if(E===R)return N;if(N===R)return E;return E};class ModuleGraphConnection{constructor(E,N,R,j,$=false,q=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=N;this.resolvedModule=R;this.module=R;this.weak=$;this.conditional=!!q;this._active=q!==false;this.condition=q||undefined;this.explanations=undefined;if(j){this.explanations=new Set;this.explanations.add(j)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const N=this.condition;this.condition=(R,j)=>intersectConnectionStates(N(R,j),E(R,j))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=N;E.exports.CIRCULAR_CONNECTION=R},21542:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$,CachedSource:q}=R(2991);const{UsageState:G}=R(76632);const ie=R(58159);const ae=R(18161);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const printExportsInfoToSource=(E,N,R,j,$,q=new Set)=>{const ae=R.otherExportsInfo;let ce=0;const le=[];for(const E of R.orderedExports){if(!q.has(E)){q.add(E);le.push(E)}else{ce++}}let _e=false;if(!q.has(ae)){q.add(ae);_e=true}else{ce++}for(const R of le){const G=R.getTarget(j);E.add(ie.toComment(`${N}export ${JSON.stringify(R.name).slice(1,-1)} [${R.getProvidedInfo()}] [${R.getUsedInfo()}] [${R.getRenameInfo()}]${G?` -> ${G.module.readableIdentifier($)}${G.export?` .${G.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(R.exportsInfo){printExportsInfoToSource(E,N+" ",R.exportsInfo,j,$,q)}}if(ce){E.add(ie.toComment(`${N}... (${ce} already listed exports)`)+"\n")}if(_e){const R=ae.getTarget(j);if(R||ae.provided!==false||ae.getUsed(undefined)!==G.Unused){const j=le.length>0||ce>0?"other exports":"exports";E.add(ie.toComment(`${N}${j} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${R?` -> ${R.module.readableIdentifier($)}`:""}`)+"\n")}}};const ce=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:N}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const R=ae.getCompilationHooks(E);R.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,R,{chunk:G,chunkGraph:ae,moduleGraph:le,runtimeTemplate:_e})=>{const{requestShortener:Te}=_e;let Ee;let we=ce.get(Te);if(we===undefined){ce.set(Te,we=new WeakMap);we.set(R,Ee={header:undefined,full:new WeakMap})}else{Ee=we.get(R);if(Ee===undefined){we.set(R,Ee={header:undefined,full:new WeakMap})}else if(!N){const N=Ee.full.get(E);if(N!==undefined)return N}}const Ie=new j;let Ne=Ee.header;if(Ne===undefined){const E=R.readableIdentifier(Te);const N=E.replace(/\*\//g,"*_/");const j="*".repeat(N.length);const q=`/*!****${j}****!*\\\n !*** ${N} ***!\n \\****${j}****/\n`;Ne=new $(q);Ee.header=Ne}Ie.add(Ne);if(N){const N=R.buildMeta.exportsType;Ie.add(ie.toComment(N?`${N} exports`:"unknown exports (runtime-defined)")+"\n");if(N){const E=le.getExportsInfo(R);printExportsInfoToSource(Ie,"",E,le,Te)}Ie.add(ie.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(R,G.runtime))}`)+"\n");const j=le.getOptimizationBailout(R);if(j){for(const E of j){let N;if(typeof E==="function"){N=E(Te)}else{N=E}Ie.add(ie.toComment(`${N}`)+"\n")}}Ie.add(E);return Ie}else{Ie.add(E);const N=new q(Ie);Ee.full.set(E,N);return N}}));R.chunkHash.tap("ModuleInfoHeaderPlugin",((E,N)=>{N.update("ModuleInfoHeaderPlugin");N.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,N,R)=>{"use strict";const j=R(81627);const $={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends j{constructor(E,N,R){let j=`Module not found: ${N.toString()}`;const q=N.message.match(/Can't resolve '([^']+)'/);if(q){const E=q[1];const N=$[E];if(N){const R=N.indexOf("/");const $=R>0?N.slice(0,R):N;j+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";j+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${N}") }'\n`+`\t- install '${$}'\n`;j+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super(j);this.name="ModuleNotFoundError";this.details=N.details;this.module=E;this.error=N;this.loc=R}}E.exports=ModuleNotFoundError},14489:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);const q=Buffer.from([0,97,115,109]);class ModuleParseError extends j{constructor(E,N,R,j){let $="Module parse failed: "+(N&&N.message);let G=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(q)||typeof E==="string"&&/^\0asm/.test(E))&&!j.startsWith("webassembly")){$+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";$+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";$+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";$+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!R){$+="\nYou may need an appropriate loader to handle this file type."}else if(R.length>=1){$+=`\nFile was processed with these loaders:${R.map((E=>`\n * ${E}`)).join("")}`;$+="\nYou may need an additional loader to handle the result of these loaders."}else{$+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(N&&N.loc&&typeof N.loc==="object"&&typeof N.loc.line==="number"){var ie=N.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){$+="\n(Source code omitted for this binary file)"}else{const N=E.split(/\r?\n/);const R=Math.max(0,ie-3);const j=N.slice(R,ie-1);const q=N[ie-1];const G=N.slice(ie,ie+2);$+=j.map((E=>`\n| ${E}`)).join("")+`\n> ${q}`+G.map((E=>`\n| ${E}`)).join("")}G={start:N.loc}}else if(N&&N.stack){$+="\n"+N.stack}super($);this.name="ModuleParseError";this.loc=G;this.error=N}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}$(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,N,R)=>{"use strict";const j=R(81627);class ModuleRestoreError extends j{constructor(E,N){let R="Module restore failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleRestoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleRestoreError},31467:(E,N,R)=>{"use strict";const j=R(81627);class ModuleStoreError extends j{constructor(E,N){let R="Module storing failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleStoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleStoreError},68661:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ModuleTemplate{constructor(E,N){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContainer.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModulePackage.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:j.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleWarning extends ${constructor(E,{from:N=null}={}){let R="Module Warning";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=String(E)}super(R);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.warning);super.serialize(E)}deserialize(E){const{read:N}=E;this.warning=N();super.deserialize(E)}}q(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,N,R)=>{"use strict";const j=R(62355);const{SyncHook:$,MultiHook:q}=R(92960);const G=R(27310);const ie=R(34884);const ae=R(10869);const ce=R(56561);E.exports=class MultiCompiler{constructor(E,N){if(!Array.isArray(E)){E=Object.keys(E).map((N=>{E[N].name=N;return E[N]}))}this.hooks=Object.freeze({done:new $(["stats"]),invalid:new q(E.map((E=>E.hooks.invalid))),run:new q(E.map((E=>E.hooks.run))),watchClose:new $([]),watchRun:new q(E.map((E=>E.hooks.watchRun))),infrastructureLog:new q(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:N.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const R=this.compilers.map((()=>null));let j=0;for(let E=0;E{if(!q){q=true;j++}R[$]=E;if(j===this.compilers.length){this.hooks.done.call(new ie(R))}}));N.hooks.invalid.tap("MultiCompiler",(()=>{if(q){q=false;j--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const N of this.compilers){while(N.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const N of this.compilers){N.inputFileSystem=E}}set outputFileSystem(E){for(const N of this.compilers){N.outputFileSystem=E}}set watchFileSystem(E){for(const N of this.compilers){N.watchFileSystem=E}}set intermediateFileSystem(E){for(const N of this.compilers){N.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,N){this.dependencies.set(E,N)}validateDependencies(E){const N=new Set;const R=[];const targetFound=E=>{for(const R of N){if(R.target===E){return true}}return false};const sortEdges=(E,N)=>E.source.name.localeCompare(N.source.name)||E.target.name.localeCompare(N.target.name);for(const E of this.compilers){const j=this.dependencies.get(E);if(j){for(const $ of j){const j=this.compilers.find((E=>E.name===$));if(!j){R.push($)}else{N.add({source:E,target:j})}}}}const j=R.map((E=>`Compiler dependency \`${E}\` not found.`));const $=this.compilers.filter((E=>!targetFound(E)));while($.length>0){const E=$.pop();for(const R of N){if(R.source===E){N.delete(R);const E=R.target;if(!targetFound(E)){$.push(E)}}}}if(N.size>0){const E=Array.from(N).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");j.unshift(E.join("\n"))}if(j.length>0){const N=j.join("\n");E(new Error(N));return false}return true}runWithDependencies(E,N,R){const $=new Set;let q=E;const isDependencyFulfilled=E=>$.has(E);const getReadyCompilers=()=>{let E=[];let N=q;q=[];for(const R of N){const N=this.dependencies.get(R);const j=!N||N.every(isDependencyFulfilled);if(j){E.push(R)}else{q.push(R)}}return E};const runCompilers=E=>{if(q.length===0)return E();j.map(getReadyCompilers(),((E,R)=>{N(E,(N=>{if(N)return R(N);$.add(E.name);runCompilers(R)}))}),E)};runCompilers(R)}_runGraph(E,N,R){const $=this.compilers.map((E=>({compiler:E,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const q=new Map;for(const E of $)q.set(E.compiler.name,E);for(const E of $){const N=this.dependencies.get(E.compiler);if(!N)continue;for(const R of N){const N=q.get(R);E.parents.push(N);N.children.push(E)}}const G=new ce;for(const E of $){if(E.parents.length===0){E.state="queued";G.enqueue(E)}}let ae=false;let le=0;const _e=this._options.parallelism;const nodeDone=(E,N,q)=>{if(ae)return;if(N){ae=true;return j.each($,((E,N)=>{if(E.compiler.watching){E.compiler.watching.close(N)}else{N()}}),(()=>R(N)))}E.result=q;le--;if(E.state==="running"){E.state="done";for(const N of E.children){if(N.state==="blocked")G.enqueue(N)}}else if(E.state==="running-outdated"){E.state="blocked";G.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){G.enqueue(E);processQueue()}};const Te=[];$.forEach(((N,R)=>{Te.push(N.setupResult=E(N.compiler,R,nodeDone.bind(null,N),(()=>N.state!=="starting"&&N.state!=="running"),(()=>nodeChange(N)),(()=>nodeInvalid(N))))}));let Ee=true;const processQueue=()=>{if(Ee)return;Ee=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(le<_e&&G.length>0&&!ae){const E=G.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){le++;E.state="starting";N(E.compiler,E.setupResult,nodeDone.bind(null,E));E.state="running"}}Ee=false;if(!ae&&le===0&&$.every((E=>E.state==="done"))){const E=[];for(const N of $){const R=N.result;if(R){N.result=undefined;E.push(R)}}if(E.length>0){R(null,new ie(E))}}};processQueueWorker();return Te}watch(E,N){if(this.running){return N(new G)}this.running=true;if(this.validateDependencies(N)){const R=this._runGraph(((N,R,j,$,q,G)=>{const ie=N.watch(Array.isArray(E)?E[R]:E,j);if(ie){ie._onInvalid=G;ie._onChange=q;ie._isBlocked=$}return ie}),((E,N,R)=>{if(E.watching!==N)return;if(!N.running)N.invalidate()}),N);return new ae(R,this)}return new ae([],this)}run(E){if(this.running){return E(new G)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,N,R)=>E.run(R)),((N,R)=>{this.running=false;if(E!==undefined){return E(N,R)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){j.each(this.compilers,((E,N)=>{E.close(N)}),E)}}},34884:(E,N,R)=>{"use strict";const j=R(49197);const indent=(E,N)=>{const R=E.replace(/\n([^\n])/g,"\n"+N+"$1");return N+R};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,N){if(!E){E={}}const{children:R=undefined,...j}=typeof E==="string"?{preset:E}:E;const $=this.stats.map(((E,$)=>{const q=Array.isArray(R)?R[$]:R;return E.compilation.createStatsOptions({...j,...typeof q==="string"?{preset:q}:q&&typeof q==="object"?q:undefined},N)}));return{version:$.every((E=>E.version)),hash:$.every((E=>E.hash)),errorsCount:$.every((E=>E.errorsCount)),warningsCount:$.every((E=>E.warningsCount)),errors:$.every((E=>E.errors)),warnings:$.every((E=>E.warnings)),children:$}}toJson(E){E=this._createChildOptions(E,{forToString:false});const N={};N.children=this.stats.map(((N,R)=>{const $=N.toJson(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root);$.name=G;return $}));if(E.version){N.version=N.children[0].version}if(E.hash){N.hash=N.children.map((E=>E.hash)).join("")}const mapError=(E,N)=>({...N,compilerPath:N.compilerPath?`${E.name}.${N.compilerPath}`:E.name});if(E.errors){N.errors=[];for(const E of N.children){for(const R of E.errors){N.errors.push(mapError(E,R))}}}if(E.warnings){N.warnings=[];for(const E of N.children){for(const R of E.warnings){N.warnings.push(mapError(E,R))}}}if(E.errorsCount){N.errorsCount=0;for(const E of N.children){N.errorsCount+=E.errorsCount}}if(E.warningsCount){N.warningsCount=0;for(const E of N.children){N.warningsCount+=E.warningsCount}}return N}toString(E){E=this._createChildOptions(E,{forToString:true});const N=this.stats.map(((N,R)=>{const $=N.toString(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root).replace(/\|/g," ");if(!$)return $;return G?`${G}:\n${indent($," ")}`:$}));return N.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,N,R)=>{"use strict";const j=R(62355);class MultiWatching{constructor(E,N){this.watchings=E;this.compiler=N}invalidate(E){if(E){j.each(this.watchings,((E,N)=>E.invalidate(N)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){j.forEach(this.watchings,((E,N)=>{E.close(N)}),(N=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(N)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoModeWarning extends j{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},39960:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class NodeStuffInWebError extends j{constructor(E,N,R){super(`${JSON.stringify(N)} has been used, it will be undefined in next major version.\n${R}`);this.name="NodeStuffInWebError";this.loc=E}}$(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");E.exports=NodeStuffInWebError},32125:(E,N,R)=>{"use strict";const j=R(39960);const $=R(76150);const q=R(59455);const G=R(66298);const{evaluateToString:ie,expressionIsUnsupported:ae}=R(48472);const{relative:ce}=R(95396);const{parseResource:le}=R(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((R,{normalModuleFactory:_e})=>{const handler=(R,_e)=>{if(_e.node===false)return;let Te=N;if(_e.node){Te={...Te,..._e.node}}if(Te.global!==false){const E=Te.global==="warn";R.hooks.expression.for("global").tap("NodeStuffPlugin",(N=>{const q=new G($.global,N.range,[$.global]);q.loc=N.loc;R.state.module.addPresentationalDependency(q);if(E){R.state.module.addWarning(new j(q.loc,"global","The global namespace object is Node.js feature and doesn't present in browser."))}}))}const setModuleConstant=(E,N,$)=>{R.hooks.expression.for(E).tap("NodeStuffPlugin",(G=>{const ie=new q(JSON.stringify(N(R.state.module)),G.range,E);ie.loc=G.loc;R.state.module.addPresentationalDependency(ie);if($){R.state.module.addWarning(new j(ie.loc,E,$))}return true}))};const setConstant=(E,N,R)=>setModuleConstant(E,(()=>N),R);const Ee=E.context;if(Te.__filename){switch(Te.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","The __filename is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__filename",(N=>ce(E.inputFileSystem,Ee,N.resource)));break}R.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;const N=le(R.state.module.resource);return ie(N.path)(E)}))}if(Te.__dirname){switch(Te.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","The __dirname is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__dirname",(N=>ce(E.inputFileSystem,Ee,N.context)));break}R.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;return ie(R.state.module.context)(E)}))}R.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ae(R,"require.extensions is not supported by webpack. Use a loader instead."))};_e.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);_e.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,N,R)=>{"use strict";const j=R(78688);const{getContext:$,runLoaders:q}=R(60425);const G=R(63477);const{HookMap:ie,SyncHook:ae,AsyncSeriesBailHook:ce}=R(92960);const{CachedSource:le,OriginalSource:_e,RawSource:Te,SourceMapSource:Ee}=R(2991);const we=R(3080);const Ie=R(3728);const Ne=R(53453);const Me=R(26509);const Le=R(91613);const Be=R(79900);const je=R(14489);const Ue=R(8893);const ze=R(76150);const We=R(77090);const Je=R(81627);const Ve=R(72380);const qe=R(83379);const{isSubset:He}=R(26221);const{getScheme:Ge}=R(45754);const{compareLocations:Ke,concatComparators:Qe,compareSelect:Xe,keepOriginalOrder:Ye}=R(68673);const Ze=R(35891);const{createFakeHook:et}=R(16595);const{join:tt}=R(95396);const{contextify:rt,absolutify:nt,makePathsRelative:it}=R(49197);const ot=R(56202);const st=R(91671);const ct=st((()=>R(49619)));const ut=st((()=>R(15235).validate));const dt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,N,R)=>{if(N.startsWith("webpack://"))return N;return`webpack://${it(E,N,R)}`};const contextifySourceMap=(E,N,R)=>{if(!Array.isArray(N.sources))return N;const{sourceRoot:j}=N;const $=!j?E=>E:j.endsWith("/")?E=>E.startsWith("/")?`${j.slice(0,-1)}${E}`:`${j}${E}`:E=>E.startsWith("/")?`${j}${E}`:`${j}/${E}`;const q=N.sources.map((N=>contextifySourceUrl(E,$(N),R)));return{...N,file:"x",sourceRoot:undefined,sources:q}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends Je{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}ot(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const pt=new WeakMap;class NormalModule extends Ne{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=pt.get(E);if(N===undefined){N={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new ie((E=>{const R=N.readResource.for(E);return et({tap:(E,N)=>R.tap(E,(E=>N(E.resource,E._module))),tapAsync:(E,N)=>R.tapAsync(E,((E,R)=>N(E.resource,E._module,R))),tapPromise:(E,N)=>R.tapPromise(E,(E=>N(E.resource,E._module)))})})),readResource:new ie((()=>new ce(["loaderContext"]))),needBuild:new ce(["module","context"])};pt.set(E,N)}return N}constructor({layer:E,type:N,request:R,userRequest:j,rawRequest:q,loaders:G,resource:ie,resourceResolveData:ae,context:ce,matchResource:le,parser:_e,parserOptions:Te,generator:Ee,generatorOptions:we,resolveOptions:Ie}){super(N,ce||$(ie),E);this.request=R;this.userRequest=j;this.rawRequest=q;this.binary=/^(asset|webassembly)\b/.test(N);this.parser=_e;this.parserOptions=Te;this.generator=Ee;this.generatorOptions=we;this.resource=ie;this.resourceResolveData=ae;this.matchResource=le;this.loaders=G;if(Ie!==undefined){this.resolveOptions=Ie}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){if(this.type==="javascript/auto"){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return rt(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const N=E.indexOf("?");if(N>=0)return E.substr(0,N);return E}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.binary=N.binary;this.request=N.request;this.userRequest=N.userRequest;this.rawRequest=N.rawRequest;this.parser=N.parser;this.parserOptions=N.parserOptions;this.generator=N.generator;this.generatorOptions=N.generatorOptions;this.resource=N.resource;this.resourceResolveData=N.resourceResolveData;this.context=N.context;this.matchResource=N.matchResource;this.loaders=N.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}_restoreFromUnsafeCache(E,N){super._restoreFromUnsafeCache(E,N);this.parserOptions=E.parserOptions;this.parser=N.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=N.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,N,R,j,$){if(j){if(typeof j==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new _e(R,contextifySourceUrl(E,j,$))}if(this.useSourceMap){return new Ee(R,N,contextifySourceMap(E,j,$))}}return new Te(R)}_createLoaderContext(E,N,R,$,q){const{requestShortener:ie}=R.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(Ee);if(!E)return"(not in loader scope)";return ie.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>Ee.addDependency(E)},contextDependencies:{add:E=>Ee.addContextDependency(E)},missingDependencies:{add:E=>Ee.addMissingDependency(E)}});const ae=st((()=>nt.bindCache(R.compiler.root)));const ce=st((()=>nt.bindContextCache(this.context,R.compiler.root)));const le=st((()=>rt.bindCache(R.compiler.root)));const _e=st((()=>rt.bindContextCache(this.context,R.compiler.root)));const Te={absolutify:(E,N)=>E===this.context?ce()(N):ae()(E,N),contextify:(E,N)=>E===this.context?_e()(N):le()(E,N),createHash:E=>Ze(E||R.outputOptions.hashFunction)};const Ee={version:2,getOptions:E=>{const N=this.getCurrentLoader(Ee);let{options:R}=N;if(typeof R==="string"){if(R.substr(0,1)==="{"&&R.substr(-1)==="}"){try{R=j(R)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{R=G.parse(R,"&","=",{maxKeys:0})}}if(R===null||R===undefined){R={}}if(E){let N="Loader";let j="options";let $;if(E.title&&($=/^(.+) (.+)$/.exec(E.title))){[,N,j]=$}ut()(E,R,{name:N,baseDataPath:j})}return R},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Ue(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Le(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const N=this.getCurrentLoader(Ee);return R.getLogger((()=>[N&&N.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(N,R,j){E.resolve({},N,R,getResolveContext(),j)},getResolve(N){const R=N?E.withOptions(N):E;return(E,N,j)=>{if(j){R.resolve({},E,N,getResolveContext(),j)}else{return new Promise(((j,$)=>{R.resolve({},E,N,getResolveContext(),((E,N)=>{if(E)$(E);else j(N)}))}))}}},emitFile:(E,j,$,q)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(N.context,E,j,$,R.compiler.root);this.buildInfo.assetsInfo.set(E,q)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new qe}this.buildInfo.buildDependencies.add(E)},utils:Te,rootContext:N.context,webpack:true,sourceMap:!!this.useSourceMap,mode:N.mode||"production",_module:this,_compilation:R,_compiler:R.compiler,fs:$};Object.assign(Ee,N.loader);q.loader.call(Ee,this);return Ee}getCurrentLoader(E,N=E.loaderIndex){if(this.loaders&&this.loaders.length&&N=0&&this.loaders[N]){return this.loaders[N]}return null}createSource(E,N,R,j){if(Buffer.isBuffer(N)){return new Te(N)}if(!this.identifier){return new Te(N)}const $=this.identifier();if(this.useSourceMap&&R){return new Ee(N,contextifySourceUrl(E,$,j),contextifySourceMap(E,R,j))}if(this.useSourceMap||this.useSimpleSourceMap){return new _e(N,contextifySourceUrl(E,$,j))}return new Te(N)}_doBuild(E,N,R,j,$,G){const ie=this._createLoaderContext(R,E,N,j,$);const processResult=(R,j)=>{if(R){if(!(R instanceof Error)){R=new NonErrorEmittedError(R)}const E=this.getCurrentLoader(ie);const j=new Me(R,{from:E&&N.runtimeTemplate.requestShortener.shorten(E.loader)});return G(j)}const $=j[0];const q=j.length>=1?j[1]:null;const ae=j.length>=2?j[2]:null;if(!Buffer.isBuffer($)&&typeof $!=="string"){const E=this.getCurrentLoader(ie,0);const R=new Error(`Final loader (${E?N.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const j=new Me(R);return G(j)}this._source=this.createSource(E.context,this.binary?asBuffer($):asString($),q,N.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return G()};this.buildInfo.fileDependencies=new qe;this.buildInfo.contextDependencies=new qe;this.buildInfo.missingDependencies=new qe;this.buildInfo.cacheable=true;try{$.beforeLoaders.call(this.loaders,this,ie)}catch(E){processResult(E);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new qe}q({resource:this.resource,loaders:this.loaders,context:ie,processResource:(E,N,R)=>{const j=E.resource;const q=Ge(j);$.readResource.for(q).callAsync(E,((E,N)=>{if(E)return R(E);if(typeof N!=="string"&&!N){return R(new We(q,j))}return R(null,N)}))}},((E,N)=>{ie._compilation=ie._compiler=ie._module=ie.fs=undefined;if(!N){this.buildInfo.cacheable=false;return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(N.fileDependencies);this.buildInfo.contextDependencies.addAll(N.contextDependencies);this.buildInfo.missingDependencies.addAll(N.missingDependencies);for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&N.cacheable;processResult(E,N.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,N){if(typeof E==="string"){return N.startsWith(E)}if(typeof E==="function"){return E(N)}return E.test(N)}shouldPreventParsing(E,N){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,N)}for(let R=0;R{if(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const handleParseError=R=>{const j=this._source.source();const q=this.loaders.map((R=>rt(E.context,R.loader,N.compiler.root)));const G=new je(j,R,q,this.type);this.markModuleAsErrored(G);this._initBuildHash(N);return $()};const handleParseResult=E=>{this.dependencies.sort(Qe(Xe((E=>E.loc),Ke),Ye(this.dependencies)));this._initBuildHash(N);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{G.beforeSnapshot.call(this)}catch(E){this.markModuleAsErrored(E);return $()}const E=N.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return $()}let R=undefined;const checkDependencies=E=>{for(const j of E){if(!dt.test(j)){if(R===undefined)R=new Set;R.add(j);E.delete(j);try{const R=j.replace(/[\\/]?\*.*$/,"");const $=tt(N.fileSystemInfo.fs,this.context,R);if($!==j&&dt.test($)){(R!==j?this.buildInfo.contextDependencies:E).add($)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(R!==undefined){const E=ct();this.addWarning(new E(this,R))}N.fileSystemInfo.createSnapshot(q,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,N)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=N;return $()}))};try{G.beforeParse.call(this)}catch(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const j=E.module&&E.module.noParse;if(this.shouldPreventParsing(j,this.request)){this.buildInfo.parsed=false;this._initBuildHash(N);return handleBuildDone()}let ie;try{const R=this._source.source();ie=this.parser.parse(this._ast||R,{source:R,current:this,module:this,compilation:N,options:E})}catch(E){handleParseError(E);return}handleParseResult(ie)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return Be.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let N=false;for(const R of this.dependencies){const j=R.getModuleEvaluationSideEffectsState(E);if(j===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${R.type}) with side effects at ${Ve(R.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(j!==Be.CIRCULAR_CONNECTION){N=Be.addConnectionStates(N,j)}}this._isEvaluatingSideEffects=false;return N}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$,concatenationScope:q}){const G=new Set;if(!this.buildInfo.parsed){G.add(ze.module);G.add(ze.exports);G.add(ze.thisAsExports)}let ie;const getData=()=>{if(ie===undefined)ie=new Map;return ie};const ae=new Map;for(const ie of this.generator.getTypes(this)){const ce=this.error?new Te("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:G,runtime:$,concatenationScope:q,getData:getData,type:ie});if(ce){ae.set(ie,new le(ce))}}const ce={sources:ae,runtimeRequirements:G,data:ie};return ce}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(E,N){const{fileSystemInfo:R,compilation:j,valueCacheVersions:$}=E;if(this._forceBuild)return N(null,true);if(this.error)return N(null,true);if(!this.buildInfo.cacheable)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);const q=this.buildInfo.valueDependencies;if(q){if(!$)return N(null,true);for(const[E,R]of q){if(R===undefined)return N(null,true);const j=$.get(E);if(R!==j&&(typeof R==="string"||typeof j==="string"||j===undefined||!He(R,j))){return N(null,true)}}}R.checkSnapshotValid(this.buildInfo.snapshot,((R,$)=>{if(R)return N(R);if(!$)return N(null,true);const q=NormalModule.getCompilationHooks(j);q.needBuild.callAsync(this,E,((E,R)=>{if(E){return N(Ie.makeWebpackError(E,"NormalModule.getCompilationHooks().needBuild"))}N(null,!!R)}))}))}size(E){const N=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(N!==undefined){return N}const R=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,R);return R}addCacheDependencies(E,N,R,j){const{snapshot:$,buildDependencies:q}=this.buildInfo;if($){E.addAll($.getFileIterable());N.addAll($.getContextIterable());R.addAll($.getMissingIterable())}else{const{fileDependencies:j,contextDependencies:$,missingDependencies:q}=this.buildInfo;if(j!==undefined)E.addAll(j);if($!==undefined)N.addAll($);if(q!==undefined)R.addAll(q)}if(q!==undefined){j.addAll(q)}}updateHash(E,N){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...N});super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this._source);N(this.error);N(this._lastSuccessfulBuildMeta);N(this._forceBuild);super.serialize(E)}static deserialize(E){const N=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});N.deserialize(E);return N}deserialize(E){const{read:N}=E;this._source=N();this.error=N();this._lastSuccessfulBuildMeta=N();this._forceBuild=N();super.deserialize(E)}}ot(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,N,R)=>{"use strict";const{getContext:j}=R(60425);const $=R(62355);const{AsyncSeriesBailHook:q,SyncWaterfallHook:G,SyncBailHook:ie,SyncHook:ae,HookMap:ce}=R(92960);const le=R(45137);const _e=R(53453);const Te=R(40674);const Ee=R(75412);const we=R(53520);const Ie=R(94288);const Ne=R(1976);const Me=R(95020);const Le=R(73817);const Be=R(19311);const je=R(83379);const{getScheme:Ue}=R(45754);const{cachedCleverMerge:ze,cachedSetProperty:We}=R(90149);const{join:Je}=R(95396);const{parseResource:Ve}=R(49197);const qe={};const He={};const Ge={};const Ke=[];const Qe=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,N)=>{let R="";for(const N of E){R+=loaderToIdent(N)+"!"}return R+N};const identToLoaderRequest=E=>{const N=E.indexOf("?");if(N>=0){const R=E.substr(0,N);const j=E.substr(N+1);return{loader:R,options:j}}else{return{loader:E,options:undefined}}};const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=NaN;return N(R)}};const mergeGlobalOptions=(E,N,R)=>{const j=N.split("/");let $;let q="";for(const N of j){q=q?`${q}/${N}`:N;const R=E[q];if(typeof R==="object"){if($===undefined){$=R}else{$=ze($,R)}}}if($===undefined){return R}else{return ze($,R)}};const deprecationChangedHookMessage=(E,N)=>{const R=N.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${R}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Xe=new Le([new Ne("test","resource"),new Ne("scheme"),new Ne("mimetype"),new Ne("dependency"),new Ne("include","resource"),new Ne("exclude","resource",true),new Ne("resource"),new Ne("resourceQuery"),new Ne("resourceFragment"),new Ne("realResource"),new Ne("issuer"),new Ne("compiler"),new Ne("issuerLayer"),new Me("assert","assertions"),new Me("descriptionData"),new Ie("type"),new Ie("sideEffects"),new Ie("parser"),new Ie("resolve"),new Ie("generator"),new Ie("layer"),new Be]);class NormalModuleFactory extends Te{constructor({context:E,fs:N,resolverFactory:R,options:$,associatedObjectForCache:le,layers:Te=false}){super();this.hooks=Object.freeze({resolve:new q(["resolveData"]),resolveForScheme:new ce((()=>new q(["resourceData","resolveData"]))),resolveInScheme:new ce((()=>new q(["resourceData","resolveData"]))),factorize:new q(["resolveData"]),beforeResolve:new q(["resolveData"]),afterResolve:new q(["resolveData"]),createModule:new q(["createData","resolveData"]),module:new G(["module","createData","resolveData"]),createParser:new ce((()=>new ie(["parserOptions"]))),parser:new ce((()=>new ae(["parser","parserOptions"]))),createGenerator:new ce((()=>new ie(["generatorOptions"]))),generator:new ce((()=>new ae(["generator","generatorOptions"])))});this.resolverFactory=R;this.ruleSet=Xe.compile([{rules:$.defaultRules},{rules:$.rules}]);this.context=E||"";this.fs=N;this._globalParserOptions=$.parser;this._globalGeneratorOptions=$.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const Ee=Ve.bindCache(le);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{this.hooks.resolve.callAsync(E,((R,j)=>{if(R)return N(R);if(j===false)return N();if(j instanceof _e)return N(null,j);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((R,j)=>{if(R)return N(R);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(j===false)return N();const $=E.createData;this.hooks.createModule.callAsync($,E,((R,j)=>{if(!j){if(!E.request){return N(new Error("Empty dependency (no request)"))}j=new we($)}j=this.hooks.module.call(j,$,E);return N(null,j)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{const{contextInfo:R,context:$,dependencies:q,dependencyType:G,request:ie,assertions:ae,resolveOptions:ce,fileDependencies:le,missingDependencies:_e,contextDependencies:we}=E;const Ie=this.getResolver("loader");let Ne=undefined;let Me;let Le;let Be=false;let je=false;let Ve=false;const He=Ue($);let Ge=Ue(ie);if(!Ge){let E=ie;const N=Qe.exec(ie);if(N){let R=N[1];if(R.charCodeAt(0)===46){const E=R.charCodeAt(1);if(E===47||E===46&&R.charCodeAt(2)===47){R=Je(this.fs,$,R)}}Ne={resource:R,...Ee(R)};E=ie.substr(N[0].length)}Ge=Ue(E);if(!Ge&&!He){const N=E.charCodeAt(0);const R=E.charCodeAt(1);Be=N===45&&R===33;je=Be||N===33;Ve=N===33&&R===33;const j=E.slice(Be||Ve?2:je?1:0).split(/!+/);Me=j.pop();Le=j.map(identToLoaderRequest);Ge=Ue(Me)}else{Me=E;Le=Ke}}else{Me=ie;Le=Ke}const Xe={fileDependencies:le,missingDependencies:_e,contextDependencies:we};let Ye;let Ze;const et=needCalls(2,(ce=>{if(ce)return N(ce);try{for(const E of Ze){if(typeof E.options==="string"&&E.options[0]==="?"){const N=E.options.substr(1);if(N==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(N);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=N}}}catch(E){return N(E)}if(!Ye){return N(null,q[0].createIgnoredModule($))}const le=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(Ze,Ye.resource);const _e={};const Ee=[];const we=[];const Me=[];let Le;let Ue;if(Ne&&typeof(Le=Ne.resource)==="string"&&(Ue=/\.webpack\[([^\]]+)\]$/.exec(Le))){_e.type=Ue[1];Ne.resource=Ne.resource.slice(0,-_e.type.length-10)}else{_e.type="javascript/auto";const E=Ne||Ye;const N=this.ruleSet.exec({resource:E.path,realResource:Ye.path,resourceQuery:E.query,resourceFragment:E.fragment,scheme:Ge,assertions:ae,mimetype:Ne?"":Ye.data.mimetype||"",dependency:G,descriptionData:Ne?undefined:Ye.data.descriptionFileData,issuer:R.issuer,compiler:R.compiler,issuerLayer:R.issuerLayer||""});for(const E of N){if(E.type==="use"){if(!je&&!Ve){we.push(E.value)}}else if(E.type==="use-post"){if(!Ve){Ee.push(E.value)}}else if(E.type==="use-pre"){if(!Be&&!Ve){Me.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof _e[E.type]==="object"&&_e[E.type]!==null){_e[E.type]=ze(_e[E.type],E.value)}else{_e[E.type]=E.value}}}let We,Je,qe;const He=needCalls(3,($=>{if($){return N($)}const q=We;if(Ne===undefined){for(const E of Ze)q.push(E);for(const E of Je)q.push(E)}else{for(const E of Je)q.push(E);for(const E of Ze)q.push(E)}for(const E of qe)q.push(E);let G=_e.type;const ae=_e.resolve;const ce=_e.layer;if(ce!==undefined&&!Te){return N(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:ce===undefined?R.issuerLayer||null:ce,request:stringifyLoadersAndResource(q,Ye.resource),userRequest:le,rawRequest:ie,loaders:q,resource:Ye.resource,context:Ye.context||j(Ye.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:Ye.data,settings:_e,type:G,parser:this.getParser(G,_e.parser),parserOptions:_e.parser,generator:this.getGenerator(G,_e.generator),generatorOptions:_e.generator,resolveOptions:ae})}catch(E){return N(E)}N()}));this.resolveRequestArray(R,this.context,Ee,Ie,Xe,((E,N)=>{We=N;He(E)}));this.resolveRequestArray(R,this.context,we,Ie,Xe,((E,N)=>{Je=N;He(E)}));this.resolveRequestArray(R,this.context,Me,Ie,Xe,((E,N)=>{qe=N;He(E)}))}));this.resolveRequestArray(R,He?this.context:$,Le,Ie,Xe,((E,N)=>{if(E)return et(E);Ze=N;et()}));const defaultResolve=E=>{if(/^($|\?)/.test(Me)){Ye={resource:Me,data:{},...Ee(Me)};et()}else{const N=this.getResolver("normal",G?We(ce||qe,"dependencyType",G):ce);this.resolveResource(R,E,Me,N,Xe,((E,N,R)=>{if(E)return et(E);if(N!==false){Ye={resource:N,data:R,...Ee(N)}}et()}))}};if(Ge){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Ge).callAsync(Ye,E,(E=>{if(E)return et(E);et()}))}else if(He){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(He).callAsync(Ye,E,((E,N)=>{if(E)return et(E);if(!N)return defaultResolve(this.context);et()}))}else defaultResolve($)}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){le.clearChunkGraphForModule(E);Ee.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,N){const R=E.dependencies;const j=E.context||this.context;const $=E.resolveOptions||qe;const q=R[0];const G=q.request;const ie=q.assertions;const ae=E.contextInfo;const ce=new je;const le=new je;const _e=new je;const Te=R.length>0&&R[0].category||"";const Ee={contextInfo:ae,resolveOptions:$,context:j,request:G,assertions:ie,dependencies:R,dependencyType:Te,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(Ee,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}if(R===false){return N(null,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Ee.cacheable})}if(typeof R==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(Ee,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}const j={module:R,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Ee.cacheable};N(null,j)}))}))}resolveResource(E,N,R,j,$,q){j.resolve(E,N,R,$,((G,ie,ae)=>{if(G){return this._resolveResourceErrorHints(G,E,N,R,j,$,((E,N)=>{if(E){G.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;G.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return q(G)}if(N&&N.length>0){G.message+=`\n${N.join("\n\n")}`}q(G)}))}q(G,ie,ae)}))}_resolveResourceErrorHints(E,N,R,j,q,G,ie){$.parallel([E=>{if(!q.options.fullySpecified)return E();q.withOptions({fullySpecified:false}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){const N=Ve(R).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${N}'?\nBREAKING CHANGE: The request '${j}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!q.options.enforceExtension)return E();q.withOptions({enforceExtension:false,extensions:[]}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){let N="";const R=/(\.[^.]+)(\?|$)/.exec(j);if(R){const E=j.replace(/(\.[^.]+)(\?|$)/,"$2");if(q.options.extensions.has(R[1])){N=`Did you mean '${E}'?`}else{N=`Did you mean '${E}'? Also note that '${R[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{N=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${j}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${N}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test(j)||q.options.preferRelative){return E()}q.resolve(N,R,`./${j}`,G,((N,R)=>{if(N||!R)return E();const $=q.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${j}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${$}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,N)=>{if(E)return ie(E);ie(null,N.filter(Boolean))}))}resolveRequestArray(E,N,R,j,q,G){if(R.length===0)return G(null,R);$.map(R,((R,$)=>{j.resolve(E,N,R.loader,q,((G,ie)=>{if(G&&/^[^/]*$/.test(R.loader)&&!/-loader$/.test(R.loader)){return j.resolve(E,N,R.loader+"-loader",q,(E=>{if(!E){G.message=G.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${R.loader}-loader' instead of '${R.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}$(G)}))}if(G)return $(G);const ae=identToLoaderRequest(ie);const ce={loader:ae.loader,options:R.options===undefined?ae.options:R.options,ident:R.options===undefined?undefined:R.ident};return $(null,ce)}))}),G)}getParser(E,N=He){let R=this.parserCache.get(E);if(R===undefined){R=new WeakMap;this.parserCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createParser(E,N);R.set(N,j)}return j}createParser(E,N={}){N=mergeGlobalOptions(this._globalParserOptions,E,N);const R=this.hooks.createParser.for(E).call(N);if(!R){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(R,N);return R}getGenerator(E,N=Ge){let R=this.generatorCache.get(E);if(R===undefined){R=new WeakMap;this.generatorCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createGenerator(E,N);R.set(N,j)}return j}createGenerator(E,N={}){N=mergeGlobalOptions(this._globalGeneratorOptions,E,N);const R=this.hooks.createGenerator.for(E).call(N);if(!R){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(R,N);return R}getResolver(E,N){return this.resolverFactory.get(E,N)}}E.exports=NormalModuleFactory},92234:(E,N,R)=>{"use strict";const{join:j,dirname:$}=R(95396);class NormalModuleReplacementPlugin{constructor(E,N){this.resourceRegExp=E;this.newResource=N}apply(E){const N=this.resourceRegExp;const R=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(q=>{q.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(N.test(E.request)){if(typeof R==="function"){R(E)}else{E.request=R}}}));q.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(q=>{const G=q.createData;if(N.test(G.resource)){if(typeof R==="function"){R(q)}else{const N=E.inputFileSystem;if(R.startsWith("/")||R.length>1&&R[1]===":"){G.resource=R}else{G.resource=j(N,$(N,G.resource),R)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,N)=>{"use strict";N.STAGE_BASIC=-10;N.STAGE_DEFAULT=0;N.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,N){}}E.exports=OptionsApply},2172:(E,N,R)=>{"use strict";class Parser{parse(E,N){const j=R(75884);throw new j}}E.exports=Parser},13125:(E,N,R)=>{"use strict";const j=R(88281);class PrefetchPlugin{constructor(E,N){if(N){this.context=E;this.request=N}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));E.hooks.make.tapAsync("PrefetchPlugin",((N,R)=>{N.addModuleChain(this.context||E.context,new j(this.request),(E=>{R(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,N,R)=>{"use strict";const j=R(63076);const $=R(63433);const q=R(53520);const G=R(35817);const{contextify:ie}=R(49197);const ae=G(R(73971),(()=>R(43691)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,N,R)=>E+N+R-Math.max(E,N,R)-Math.min(E,N,R);const createDefaultHandler=(E,N)=>{const R=[];const defaultHandler=(j,$,...q)=>{if(E){if(j===0){R.length=0}const E=[$,...q];const G=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ie=Date.now();const ae=Math.max(G.length,R.length);for(let E=ae;E>=0;E--){const j=E0){j=R[E-1].value+" > "+j}const G=`${" | ".repeat(E)}${q} ms ${j}`;const ie=q;{if(ie>1e4){N.error(G)}else if(ie>1e3){N.warn(G)}else if(ie>10){N.info(G)}else if(ie>5){N.log(G)}else{N.debug(G)}}}if(j===undefined){R.length=E}else{$.value=j;$.time=ie;R.length=E+1}}}else{R[E]={value:j,time:ie}}}}N.status(`${Math.floor(j*100)}%`,$,...q);if(j===1||!$&&q.length===0)N.status()};return defaultHandler};const ce=new WeakMap;class ProgressPlugin{static getReporter(E){return ce.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}ae(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const N=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof $){this._applyOnMultiCompiler(E,N)}else if(E instanceof j){this._applyOnCompiler(E,N)}}_applyOnMultiCompiler(E,N){const R=E.compilers.map((()=>[0]));E.compilers.forEach(((E,j)=>{new ProgressPlugin(((E,$,...q)=>{R[j]=[E,$,...q];let G=0;for(const[E]of R)G+=E;N(G/R.length,`[${j}] ${$}`,...q)})).apply(E)}))}_applyOnCompiler(E,N){const R=this.showEntries;const j=this.showModules;const $=this.showDependencies;const q=this.showActiveModules;let G="";let ae="";let le=0;let _e=0;let Te=0;let Ee=0;let we=0;let Ie=1;let Ne=0;let Me=0;let Le=0;const Be=new Set;let je=0;const updateThrottled=()=>{if(je+500{const ce=[];const Ue=Ne/Math.max(le||this.modulesCount||1,Ee);const ze=Le/Math.max(Te||this.dependenciesCount||1,Ie);const We=Me/Math.max(_e||1,we);let Je;switch(this.percentBy){case"entries":Je=ze;break;case"dependencies":Je=We;break;case"modules":Je=Ue;break;default:Je=median3(Ue,ze,We)}const Ve=.1+Je*.55;if(ae){ce.push(`import loader ${ie(E.context,ae,E.root)}`)}else{const E=[];if(R){E.push(`${Le}/${Ie} entries`)}if($){E.push(`${Me}/${we} dependencies`)}if(j){E.push(`${Ne}/${Ee} modules`)}if(q){E.push(`${Be.size} active`)}if(E.length>0){ce.push(E.join(" "))}if(q){ce.push(G)}}N(Ve,"building",...ce);je=Date.now()};const factorizeAdd=()=>{we++;if(we<50||we%100===0)updateThrottled()};const factorizeDone=()=>{Me++;if(Me<50||Me%100===0)updateThrottled()};const moduleAdd=()=>{Ee++;if(Ee<50||Ee%100===0)updateThrottled()};const moduleBuild=E=>{const N=E.identifier();if(N){Be.add(N);G=N;update()}};const entryAdd=(E,N)=>{Ie++;if(Ie<5||Ie%10===0)updateThrottled()};const moduleDone=E=>{Ne++;if(q){const N=E.identifier();if(N){Be.delete(N);if(G===N){G="";for(const E of Be){G=E}update();return}}}if(Ne<50||Ne%100===0)updateThrottled()};const entryDone=(E,N)=>{Le++;update()};const Ue=E.getCache("ProgressPlugin").getItemCache("counts",null);let ze;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!ze){ze=Ue.getPromise().then((E=>{if(E){le=le||E.modulesCount;_e=_e||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return ze.then((async E=>{if(!E||E.modulesCount!==Ee||E.dependenciesCount!==we){await Ue.storePromise({modulesCount:Ee,dependenciesCount:we})}}))}));E.hooks.compilation.tap("ProgressPlugin",(R=>{if(R.compiler.isChild())return;le=Ee;Te=Ie;_e=we;Ee=we=Ie=0;Ne=Me=Le=0;R.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);R.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);R.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);R.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(q){R.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}R.hooks.addEntry.tap("ProgressPlugin",entryAdd);R.hooks.failedEntry.tap("ProgressPlugin",entryDone);R.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const j={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const $=Object.keys(j).length;Object.keys(j).forEach(((q,G)=>{const ie=j[q];const ae=G/$*.25+.7;R.hooks[q].intercept({name:"ProgressPlugin",call(){N(ae,"sealing",ie)},done(){ce.set(E,undefined);N(ae,"sealing",ie)},result(){N(ae,"sealing",ie)},error(){N(ae,"sealing",ie)},tap(E){ce.set(R.compiler,((R,...j)=>{N(ae,"sealing",ie,E.name,...j)}));N(ae,"sealing",ie,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){N(.1,"building")},done(){N(.65,"building")}});const interceptHook=(R,j,$,q)=>{R.intercept({name:"ProgressPlugin",call(){N(j,$,q)},done(){ce.set(E,undefined);N(j,$,q)},result(){N(j,$,q)},error(){N(j,$,q)},tap(R){ce.set(E,((E,...G)=>{N(j,$,q,R.name,...G)}));N(j,$,q,R.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){N(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){N(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){N(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,N,R)=>{"use strict";const j=R(66298);const $=R(1335);const{approve:q}=R(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const N=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{Object.keys(N).forEach((R=>{const j=[].concat(N[R]);const G=R.split(".");if(G.length>0){G.slice(1).forEach(((N,R)=>{const j=G.slice(0,R+1).join(".");E.hooks.canRename.for(j).tap("ProvidePlugin",q)}))}E.hooks.expression.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.range);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.call.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.callee.range);G.loc=N.callee.loc;E.state.module.addDependency(G);E.walkExpressions(N.arguments);return true}))}))};R.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(2991);const q=R(53453);const G=R(56202);const ie=new Set(["javascript"]);class RawModule extends q{constructor(E,N,R,j){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=N||this.sourceStr;this.readableIdentifierStr=R||this.identifierStr;this.runtimeRequirements=j||null}getSourceTypes(){return ie}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={cacheable:true};$()}codeGeneration(E){const N=new Map;if(this.useSourceMap||this.useSimpleSourceMap){N.set("javascript",new j(this.sourceStr,this.identifier()))}else{N.set("javascript",new $(this.sourceStr))}return{sources:N,runtimeRequirements:this.runtimeRequirements}}updateHash(E,N){E.update(this.sourceStr);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceStr);N(this.identifierStr);N(this.readableIdentifierStr);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceStr=N();this.identifierStr=N();this.readableIdentifierStr=N();this.runtimeRequirements=N();super.deserialize(E)}}G(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,N,R)=>{"use strict";const{compareNumbers:j}=R(68673);const $=R(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const N=this.options.portableIds;const R=$.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(N){return R(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((N,R)=>{const $=E.chunkGraph;if(!R.modules)R.modules={};if(!R.modules.byIdentifier)R.modules.byIdentifier={};const q=new Set;for(const E of N){const N=$.getModuleId(E);if(typeof N!=="number")continue;const j=getModuleIdentifier(E);R.modules.byIdentifier[j]=N;q.add(N)}R.modules.usedIds=Array.from(q).sort(j)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((N,R)=>{if(!R.modules)return;if(R.modules.byIdentifier){const j=E.chunkGraph;const $=new Set;for(const E of N){const N=j.getModuleId(E);if(N!==null)continue;const q=getModuleIdentifier(E);const G=R.modules.byIdentifier[q];if(G===undefined)continue;if($.has(G))continue;$.add(G);j.setModuleId(E,G)}}if(Array.isArray(R.modules.usedIds)){E.usedModuleIds=new Set(R.modules.usedIds)}}));const getChunkSources=E=>{const N=[];for(const R of E.groupsIterable){const j=R.chunks.indexOf(E);if(R.name){N.push(`${j} ${R.name}`)}else{for(const E of R.origins){if(E.module){if(E.request){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){N.push(`${j} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return N};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,N)=>{if(!N.chunks)N.chunks={};if(!N.chunks.byName)N.chunks.byName={};if(!N.chunks.bySource)N.chunks.bySource={};const R=new Set;for(const j of E){if(typeof j.id!=="number")continue;const E=j.name;if(E)N.chunks.byName[E]=j.id;const $=getChunkSources(j);for(const E of $){N.chunks.bySource[E]=j.id}R.add(j.id)}N.chunks.usedIds=Array.from(R).sort(j)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((N,R)=>{if(!R.chunks)return;const j=new Set;if(R.chunks.byName){for(const E of N){if(E.id!==null)continue;if(!E.name)continue;const N=R.chunks.byName[E.name];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N]}}if(R.chunks.bySource){for(const E of N){if(E.id!==null)continue;const N=getChunkSources(E);for(const $ of N){const N=R.chunks.bySource[$];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N];break}}}if(Array.isArray(R.chunks.usedIds)){E.usedChunkIds=new Set(R.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,N,R)=>{"use strict";const{contextify:j}=R(49197);class RequestShortener{constructor(E,N){this.contextify=j.bindContextCache(E,N)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66298);const{toConstantDependency:q}=R(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.requireJs===undefined||!N.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",q(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",q(E,j.uncaughtErrorHandler,[j.uncaughtErrorHandler]))};N.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,N,R)=>{"use strict";const j=R(17583).ResolverFactory;const{HookMap:$,SyncHook:q,SyncWaterfallHook:G}=R(92960);const{cachedCleverMerge:ie,removeOperations:ae,resolveByProperty:ce}=R(90149);const le={};const convertToResolveOptions=E=>{const{dependencyType:N,plugins:R,...j}=E;const $={...j,plugins:R&&R.filter((E=>E!=="..."))};if(!$.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const q=$;return ae(ce(q,"byDependency",N))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new $((()=>new G(["resolveOptions"]))),resolver:new $((()=>new q(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,N=le){let R=this.cache.get(E);if(!R){R={direct:new WeakMap,stringified:new Map};this.cache.set(E,R)}const j=R.direct.get(N);if(j){return j}const $=JSON.stringify(N);const q=R.stringified.get($);if(q){R.direct.set(N,q);return q}const G=this._create(E,N);R.direct.set(N,G);R.stringified.set($,G);return G}_create(E,N){const R={...N};const $=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(N));const q=j.createResolver($);if(!q){throw new Error("No resolver created")}const G=new WeakMap;q.withOptions=N=>{const j=G.get(N);if(j!==undefined)return j;const $=ie(R,N);const q=this.get(E,$);G.set(N,q);return q};this.hooks.resolver.for(E).call(q,$,R);return q}}},76150:(E,N)=>{"use strict";N.require="__webpack_require__";N.requireScope="__webpack_require__.*";N.exports="__webpack_exports__";N.thisAsExports="top-level-this-exports";N.returnExportsFromRuntime="return-exports-from-runtime";N.module="module";N.moduleId="module.id";N.moduleLoaded="module.loaded";N.publicPath="__webpack_require__.p";N.entryModuleId="__webpack_require__.s";N.moduleCache="__webpack_require__.c";N.moduleFactories="__webpack_require__.m";N.moduleFactoriesAddOnly="__webpack_require__.m (add only)";N.ensureChunk="__webpack_require__.e";N.ensureChunkHandlers="__webpack_require__.f";N.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";N.prefetchChunk="__webpack_require__.E";N.prefetchChunkHandlers="__webpack_require__.F";N.preloadChunk="__webpack_require__.G";N.preloadChunkHandlers="__webpack_require__.H";N.definePropertyGetters="__webpack_require__.d";N.makeNamespaceObject="__webpack_require__.r";N.createFakeNamespaceObject="__webpack_require__.t";N.compatGetDefaultExport="__webpack_require__.n";N.harmonyModuleDecorator="__webpack_require__.hmd";N.nodeModuleDecorator="__webpack_require__.nmd";N.getFullHash="__webpack_require__.h";N.wasmInstances="__webpack_require__.w";N.instantiateWasm="__webpack_require__.v";N.uncaughtErrorHandler="__webpack_require__.oe";N.scriptNonce="__webpack_require__.nc";N.loadScript="__webpack_require__.l";N.createScriptUrl="__webpack_require__.tu";N.chunkName="__webpack_require__.cn";N.runtimeId="__webpack_require__.j";N.getChunkScriptFilename="__webpack_require__.u";N.getChunkUpdateScriptFilename="__webpack_require__.hu";N.startup="__webpack_require__.x";N.startupNoDefault="__webpack_require__.x (no default handler)";N.startupOnlyAfter="__webpack_require__.x (only after)";N.startupOnlyBefore="__webpack_require__.x (only before)";N.chunkCallback="webpackChunk";N.startupEntrypoint="__webpack_require__.X";N.onChunksLoaded="__webpack_require__.O";N.externalInstallChunk="__webpack_require__.C";N.interceptModuleExecution="__webpack_require__.i";N.global="__webpack_require__.g";N.shareScopeMap="__webpack_require__.S";N.initializeSharing="__webpack_require__.I";N.currentRemoteGetScope="__webpack_require__.R";N.getUpdateManifestFilename="__webpack_require__.hmrF";N.hmrDownloadManifest="__webpack_require__.hmrM";N.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";N.hmrModuleData="__webpack_require__.hmrD";N.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";N.hmrRuntimeStatePrefix="__webpack_require__.hmrS";N.amdDefine="__webpack_require__.amdD";N.amdOptions="__webpack_require__.amdO";N.system="__webpack_require__.System";N.hasOwnProperty="__webpack_require__.o";N.systemContext="__webpack_require__.y";N.baseURI="__webpack_require__.b";N.relativeUrl="__webpack_require__.U";N.asyncModule="__webpack_require__.a"},66804:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(2991).OriginalSource;const q=R(53453);const G=new Set(["runtime"]);class RuntimeModule extends q{constructor(E,N=0){super("runtime");this.name=E;this.stage=N;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(E,N,R=E.chunkGraph){this.compilation=E;this.chunk=N;this.chunkGraph=R}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,N){return N(null,false)}build(E,N,R,j,$){$()}updateHash(E,N){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(N){E.update(N.message)}super.updateHash(E,N)}getSourceTypes(){return G}codeGeneration(E){const N=new Map;const R=this.getGeneratedCode();if(R){N.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new $(R,this.identifier()):new j(R))}return{sources:N,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=R(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,N,R)=>{"use strict";const j=R(76150);const $=R(35424);const q=R(18161);const G=R(84997);const ie=R(31164);const ae=R(90202);const ce=R(16710);const le=R(3236);const _e=R(44160);const Te=R(58957);const Ee=R(59179);const we=R(9609);const Ie=R(36100);const Ne=R(13376);const Me=R(37522);const Le=R(67104);const Be=R(14676);const je=R(8299);const Ue=R(48977);const ze=R(21355);const We=R(41982);const Je=R(76752);const Ve=R(54825);const qe=R(14146);const He=[j.chunkName,j.runtimeId,j.compatGetDefaultExport,j.createFakeNamespaceObject,j.createScriptUrl,j.definePropertyGetters,j.ensureChunk,j.entryModuleId,j.getFullHash,j.global,j.makeNamespaceObject,j.moduleCache,j.moduleFactories,j.moduleFactoriesAddOnly,j.interceptModuleExecution,j.publicPath,j.baseURI,j.relativeUrl,j.scriptNonce,j.uncaughtErrorHandler,j.asyncModule,j.wasmInstances,j.instantiateWasm,j.shareScopeMap,j.initializeSharing,j.loadScript,j.systemContext,j.onChunksLoaded];const Ge={[j.moduleLoaded]:[j.module],[j.moduleId]:[j.module]};const Ke={[j.definePropertyGetters]:[j.hasOwnProperty],[j.compatGetDefaultExport]:[j.definePropertyGetters],[j.createFakeNamespaceObject]:[j.definePropertyGetters,j.makeNamespaceObject,j.require],[j.initializeSharing]:[j.shareScopeMap],[j.shareScopeMap]:[j.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set($,new $.Template);for(const N of He){E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}))}for(const N of Object.keys(Ke)){const R=Ke[N];E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}for(const N of Object.keys(Ge)){const R=Ge[N];E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}E.hooks.runtimeRequirementInTree.for(j.definePropertyGetters).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Te);return true}));E.hooks.runtimeRequirementInTree.for(j.makeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Be);return true}));E.hooks.runtimeRequirementInTree.for(j.createFakeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new le);return true}));E.hooks.runtimeRequirementInTree.for(j.hasOwnProperty).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Me);return true}));E.hooks.runtimeRequirementInTree.for(j.compatGetDefaultExport).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new ae);return true}));E.hooks.runtimeRequirementInTree.for(j.runtimeId).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new We);return true}));E.hooks.runtimeRequirementInTree.for(j.publicPath).tap("RuntimePlugin",((N,R)=>{const{outputOptions:$}=E;const{publicPath:q,scriptType:G}=$;const ae=N.getEntryOptions();const ce=ae&&ae.publicPath!==undefined?ae.publicPath:q;if(ce==="auto"){const $=new ie;if(G!=="module")R.add(j.global);E.addRuntimeModule(N,$)}else{const R=new Ue(ce);if(typeof ce!=="string"||/\[(full)?hash\]/.test(ce)){R.fullHash=true}E.addRuntimeModule(N,R)}return true}));E.hooks.runtimeRequirementInTree.for(j.global).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Ne);return true}));E.hooks.runtimeRequirementInTree.for(j.asyncModule).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new G);return true}));E.hooks.runtimeRequirementInTree.for(j.systemContext).tap("RuntimePlugin",(N=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(N,new Je)}return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkScriptFilename).tap("RuntimePlugin",((N,R)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new we("javascript","javascript",j.getChunkScriptFilename,(N=>N.filenameTemplate||(N.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkUpdateScriptFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))R.add(j.getFullHash);E.addRuntimeModule(N,new we("javascript","javascript update",j.getChunkUpdateScriptFilename,(N=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for(j.getUpdateManifestFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new Ie("update manifest",j.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunk).tap("RuntimePlugin",((N,R)=>{const $=N.hasAsyncChunks();if($){R.add(j.ensureChunkHandlers)}E.addRuntimeModule(N,new Ee(R));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,N)=>{N.add(j.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.shareScopeMap).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new Ve);return true}));E.hooks.runtimeRequirementInTree.for(j.loadScript).tap("RuntimePlugin",((N,R)=>{const $=!!E.outputOptions.trustedTypes;if($){R.add(j.createScriptUrl)}E.addRuntimeModule(N,new Le($));return true}));E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new _e);return true}));E.hooks.runtimeRequirementInTree.for(j.relativeUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new ze);return true}));E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new je);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((N,R)=>{const{mainTemplate:j}=E;if(j.hooks.bootstrap.isUsed()||j.hooks.localVars.isUsed()||j.hooks.requireEnsure.isUsed()||j.hooks.requireExtensions.isUsed()){E.addRuntimeModule(N,new ce)}}));q.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,N,{chunkGraph:R})=>{const j=new qe;for(const N of R.getChunkRuntimeModulesIterable(E)){j.add(R.getModuleHash(N,E.runtime))}j.updateHash(N)}))}))}}E.exports=RuntimePlugin},37130:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);const{equals:G}=R(73910);const ie=R(87274);const ae=R(68038);const{forEachRuntime:ce,subtractRuntime:le}=R(37416);const noModuleIdErrorMessage=(E,N)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(N.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(N.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,N,R){this.compilation=E;this.outputOptions=N||{};this.requestShortener=R}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { return ${E}; }`}basicFunction(E,N){return this.supportsArrowFunction()?`(${E}) => {\n${q.indent(N)}\n}`:`function(${E}) {\n${q.indent(N)}\n}`}expressionFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,N){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${N};`:q.asString(E.map(((E,R)=>`var ${E} = ${N}[${R}];`)))}destructureObject(E,N){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${N};`:q.asString(E.map((E=>`var ${E} = ${N}${ae([E])};`)))}iife(E,N){return`(${this.basicFunction(E,N)})()`}forEach(E,N,R){return this.supportsForOf()?`for(const ${E} of ${N}) {\n${q.indent(R)}\n}`:`${N}.forEach(function(${E}) {\n${q.indent(R)}\n});`}comment({request:E,chunkName:N,chunkReason:R,message:j,exportName:$}){let G;if(this.outputOptions.pathinfo){G=[j,E,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{G=[j,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!G)return"";if(this.outputOptions.pathinfo){return q.toComment(G)+" "}else{return q.toNormalComment(G)+" "}}throwMissingModuleErrorBlock({request:E}){const N=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(N)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:N,request:R,idExpr:j,type:$}){const G=N.getModuleId(E);const ie=G===null?JSON.stringify("Module is not available (weak dependency)"):j?`"Module '" + ${j} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${G}' is not available (weak dependency)`);const ae=R?q.toNormalComment(R)+" ":"";const ce=`var e = new Error(${ie}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch($){case"statements":return ce;case"promise":return`Promise.resolve().then(${this.basicFunction("",ce)})`;case"expression":return this.iife("",ce)}}moduleId({module:E,chunkGraph:N,request:R,weak:j}){if(!E){return this.missingModule({request:R})}const $=N.getModuleId(E);if($===null){if(j){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}return`${this.comment({request:R})}${JSON.stringify($)}`}moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:q}){if(!E){return this.missingModule({request:R})}const G=N.getModuleId(E);if(G===null){if(j){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}q.add($.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:N,request:R,weak:j})})`}moduleExports({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$}){return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$})}moduleNamespace({module:E,chunkGraph:N,request:R,strict:j,weak:q,runtimeRequirements:G}){if(!E){return this.missingModule({request:R})}if(N.getModuleId(E)===null){if(q){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,N)}`)}const ie=this.moduleId({module:E,chunkGraph:N,request:R,weak:q});const ae=E.getExportsType(N.moduleGraph,j);switch(ae){case"namespace":return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:q,runtimeRequirements:G});case"default-with-named":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 3)`;case"default-only":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 1)`;case"dynamic":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:N,module:R,request:j,message:q,strict:G,weak:ie,runtimeRequirements:ae}){if(!R){return this.missingModulePromise({request:j})}const ce=E.getModuleId(R);if(ce===null){if(ie){return this.weakError({module:R,chunkGraph:E,request:j,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(R,E)}`)}const le=this.blockPromise({chunkGraph:E,block:N,message:q,runtimeRequirements:ae});let _e;let Te=JSON.stringify(E.getModuleId(R));const Ee=this.comment({request:j});let we="";if(ie){if(Te.length>8){we+=`var id = ${Te}; `;Te="id"}ae.add($.moduleFactories);we+=`if(!${$.moduleFactories}[${Te}]) { ${this.weakError({module:R,chunkGraph:E,request:j,idExpr:Te,type:"statements"})} } `}const Ie=this.moduleId({module:R,chunkGraph:E,request:j,weak:ie});const Ne=R.getExportsType(E.moduleGraph,G);let Me=16;switch(Ne){case"namespace":if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Ee}${Te}))`}break;case"dynamic":Me|=4;case"default-with-named":Me|=2;case"default-only":ae.add($.createFakeNamespaceObject);if(E.moduleGraph.isAsync(R)){if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Ee}${Te}))`}_e+=`.then(${this.returningFunction(`${$.createFakeNamespaceObject}(m, ${Me})`,"m")})`}else{Me|=1;if(we){const E=`${$.createFakeNamespaceObject}(${Ie}, ${Me})`;_e=`.then(${this.basicFunction("",`${we}return ${E};`)})`}else{_e=`.then(${$.createFakeNamespaceObject}.bind(__webpack_require__, ${Ee}${Te}, ${Me}))`}}break}return`${le||"Promise.resolve()"}${_e}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:N,runtime:R,runtimeRequirements:j}){if(N===undefined)return"true";if(typeof N==="boolean")return`${N}`;const q=new Set;ce(N,(N=>q.add(`${E.getRuntimeId(N)}`)));const G=new Set;ce(le(R,N),(N=>G.add(`${E.getRuntimeId(N)}`)));j.add($.runtimeId);return ie.fromLists(Array.from(q),Array.from(G))($.runtimeId)}importStatement({update:E,module:N,chunkGraph:R,request:j,importVar:q,originModule:G,weak:ie,runtimeRequirements:ae}){if(!N){return[this.missingModuleStatement({request:j}),""]}if(R.getModuleId(N)===null){if(ie){return[this.weakError({module:N,chunkGraph:R,request:j,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(N,R)}`)}const ce=this.moduleId({module:N,chunkGraph:R,request:j,weak:ie});const le=E?"":"var ";const _e=N.getExportsType(R.moduleGraph,G.buildMeta.strictHarmonyModule);ae.add($.require);const Te=`/* harmony import */ ${le}${q} = __webpack_require__(${ce});\n`;if(_e==="dynamic"){ae.add($.compatGetDefaultExport);return[Te,`/* harmony import */ ${le}${q}_default = /*#__PURE__*/${$.compatGetDefaultExport}(${q});\n`]}return[Te,""]}exportFromImport({moduleGraph:E,module:N,request:R,exportName:ie,originModule:ce,asiSafe:le,isCall:_e,callContext:Te,defaultInterop:Ee,importVar:we,initFragments:Ie,runtime:Ne,runtimeRequirements:Me}){if(!N){return this.missingModule({request:R})}if(!Array.isArray(ie)){ie=ie?[ie]:[]}const Le=N.getExportsType(E,ce.buildMeta.strictHarmonyModule);if(Ee){if(ie.length>0&&ie[0]==="default"){switch(Le){case"dynamic":if(_e){return`${we}_default()${ae(ie,1)}`}else{return le?`(${we}_default()${ae(ie,1)})`:le===false?`;(${we}_default()${ae(ie,1)})`:`${we}_default.a${ae(ie,1)}`}case"default-only":case"default-with-named":ie=ie.slice(1);break}}else if(ie.length>0){if(Le==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(ie,1)}else if(Le!=="namespace"&&ie[0]==="__esModule"){return"/* __esModule */true"}}else if(Le==="default-only"||Le==="default-with-named"){Me.add($.createFakeNamespaceObject);Ie.push(new j(`var ${we}_namespace_cache;\n`,j.STAGE_CONSTANTS,-1,`${we}_namespace_cache`));return`/*#__PURE__*/ ${le?"":le===false?";":"Object"}(${we}_namespace_cache || (${we}_namespace_cache = ${$.createFakeNamespaceObject}(${we}${Le==="default-only"?"":", 2"})))`}}if(ie.length>0){const R=E.getExportsInfo(N);const j=R.getUsedName(ie,Ne);if(!j){const E=q.toNormalComment(`unused export ${ae(ie)}`);return`${E} undefined`}const $=G(j,ie)?"":q.toNormalComment(ae(ie))+" ";const ce=`${we}${$}${ae(j)}`;if(_e&&Te===false){return le?`(0,${ce})`:le===false?`;(0,${ce})`:`/*#__PURE__*/Object(${ce})`}return ce}else{return we}}blockPromise({block:E,message:N,chunkGraph:R,runtimeRequirements:j}){if(!E){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const q=R.getBlockChunkGroup(E);if(!q||q.chunks.length===0){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const G=q.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ie=this.comment({message:N,chunkName:E.chunkName});if(G.length===1){const E=JSON.stringify(G[0].id);j.add($.ensureChunk);return`${$.ensureChunk}(${ie}${E})`}else if(G.length>0){j.add($.ensureChunk);const requireChunkId=E=>`${$.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ie.trim()}[${G.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ie.trim()})`}}asyncModuleFactory({block:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=E.dependencies[0];const q=N.moduleGraph.getModule($);const G=this.blockPromise({block:E,message:"",chunkGraph:N,runtimeRequirements:R});const ie=this.returningFunction(this.moduleRaw({module:q,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(G.startsWith("Promise.resolve(")?`${ie}`:`${G}.then(${this.returningFunction(ie)})`)}syncModuleFactory({dependency:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=N.moduleGraph.getModule(E);const q=this.returningFunction(this.moduleRaw({module:$,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(q)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:N}){N.add($.makeNamespaceObject);N.add($.exports);return`${$.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,N){const R=this.moduleGraph.getParentModule(E.dependencies[0]);N(null,{module:R})}}E.exports=SelfModuleFactory},9192:(E,N)=>{"use strict";N.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const N=["bytes","KiB","MiB","GiB"];const R=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,R)).toPrecision(3)} ${N[R]}`}},26867:(E,N,R)=>{"use strict";const j=R(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const N=this.options;if(N.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}j.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,N,R)=>{"use strict";const j=R(62355);const{ConcatSource:$,RawSource:q}=R(2991);const G=R(3080);const ie=R(70354);const ae=R(52923);const ce=R(26867);const le=R(35817);const _e=R(35891);const{relative:Te,dirname:Ee}=R(95396);const{makePathsAbsolute:we}=R(49197);const Ie=le(R(68337),(()=>R(78061)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,N,R,j,$,q)=>{let G;let ie;if(N.sourceAndMap){const E=N.sourceAndMap(j);ie=E.map;G=E.source}else{ie=N.map(j);G=N.source()}if(!ie||typeof G!=="string")return;const ae=$.options.context;const ce=$.compiler.root;const le=we.bindContextCache(ae,ce);const _e=ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(E.slice(10));const N=$.findModule(E);return N||E}));return{file:E,asset:N,source:G,assetInfo:R,sourceMap:ie,modules:_e,cacheItem:q}};class SourceMapDevToolPlugin{constructor(E={}){Ie(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const N=E.outputFileSystem;const R=this.sourceMapFilename;const le=this.sourceMappingURLComment;const we=this.moduleFilenameTemplate;const Ie=this.namespace;const Ne=this.fallbackModuleFilenameTemplate;const Me=E.requestShortener;const Le=this.options;Le.test=Le.test||/\.((c|m)?js|css)($|\?)/i;const Be=ie.matchObject.bind(undefined,Le);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new ce(Le).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:G.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((G,ce)=>{const je=E.chunkGraph;const Ue=E.getCache("SourceMapDevToolPlugin");const ze=new Map;const We=ae.getReporter(E.compiler)||(()=>{});const Je=new Map;for(const N of E.chunks){for(const E of N.files){Je.set(E,N)}for(const E of N.auxiliaryFiles){Je.set(E,N)}}const Ve=[];for(const E of Object.keys(G)){if(Be(E)){Ve.push(E)}}We(0);const qe=[];let He=0;j.each(Ve,((N,R)=>{const j=E.getAsset(N);if(j.info.related&&j.info.related.sourceMap){He++;return R()}const $=Ue.getItemCache(N,Ue.mergeEtags(Ue.getLazyHashedEtag(j.source),Ie));$.get(((q,G)=>{if(q){return R(q)}if(G){const{assets:j,assetsInfo:$}=G;for(const R of Object.keys(j)){if(R===N){E.updateAsset(R,j[R],$[R])}else{E.emitAsset(R,j[R],$[R])}if(R!==N){const E=Je.get(N);if(E!==undefined)E.auxiliaryFiles.add(R)}}We(.5*++He/Ve.length,N,"restored cached SourceMap");return R()}We(.5*He/Ve.length,N,"generate SourceMap");const ae=getTaskForFile(N,j.source,j.info,{module:Le.module,columns:Le.columns},E,$);if(ae){const N=ae.modules;for(let R=0;R{if(G){return ce(G)}We(.5,"resolve sources");const ae=new Set(ze.values());const we=new Set;const Be=Array.from(ze.keys()).sort(((E,N)=>{const R=typeof E==="string"?E:E.identifier();const j=typeof N==="string"?N:N.identifier();return R.length-j.length}));for(let N=0;N{const ie=Object.create(null);const ae=Object.create(null);const ce=j.file;const we=Je.get(ce);const Ie=j.sourceMap;const Ne=j.source;const Me=j.modules;We(.5+.5*Ue/qe.length,ce,"attach SourceMap");const Be=Me.map((E=>ze.get(E)));Ie.sources=Be;if(Le.noSources){Ie.sourcesContent=undefined}Ie.sourceRoot=Le.sourceRoot||"";Ie.file=ce;const je=R&&/\[contenthash(:\w+)?\]/.test(R);if(je&&j.assetInfo.contenthash){const E=j.assetInfo.contenthash;let N;if(Array.isArray(E)){N=E.map(quoteMeta).join("|")}else{N=quoteMeta(E)}Ie.file=Ie.file.replace(new RegExp(N,"g"),(E=>"x".repeat(E.length)))}let Ve=le;if(Ve!==false&&/\.css($|\?)/i.test(ce)){Ve=Ve.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const He=JSON.stringify(Ie);if(R){let j=ce;const G=je&&_e(E.outputOptions.hashFunction).update(He).digest("hex");const le={chunk:we,filename:Le.fileContext?Te(N,`/${Le.fileContext}`,`/${j}`):j,contentHash:G};const{path:Ie,info:Me}=E.getPathWithInfo(R,le);const Be=Le.publicPath?Le.publicPath+Ie:Te(N,Ee(N,`/${ce}`),`/${Ie}`);let Ue=new q(Ne);if(Ve!==false){Ue=new $(Ue,E.getPath(Ve,Object.assign({url:Be},le)))}const ze={related:{sourceMap:Ie}};ie[ce]=Ue;ae[ce]=ze;E.updateAsset(ce,Ue,ze);const We=new q(He);const Je={...Me,development:true};ie[Ie]=We;ae[Ie]=Je;E.emitAsset(Ie,We,Je);if(we!==undefined)we.auxiliaryFiles.add(Ie)}else{if(Ve===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const N=new $(new q(Ne),Ve.replace(/\[map\]/g,(()=>He)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(He,"utf-8").toString("base64")}`)));ie[ce]=N;ae[ce]=undefined;E.updateAsset(ce,N)}j.cacheItem.store({assets:ie,assetsInfo:ae},(E=>{We(.5+.5*++Ue/qe.length,j.file,"attached SourceMap");if(E){return G(E)}G()}))}),(E=>{We(1);ce(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const N=this.compilation.createStatsFactory(E);return N.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const N=this.compilation.createStatsFactory(E);const R=this.compilation.createStatsPrinter(E);const j=N.create("compilation",this.compilation,{compilation:this.compilation});const $=R.print("compilation",j);return $===undefined?"":$}}E.exports=Stats},58159:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(2991);const q="a".charCodeAt(0);const G="A".charCodeAt(0);const ie="z".charCodeAt(0)-q+1;const ae=ie*2+2;const ce=ae+10;const le=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const Te=/\r?\n/g;const Ee=/^([^a-zA-Z$_])/;const we=/[^a-zA-Z0-9$]+/g;const Ie=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Me=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(le,"").replace(_e,"").replace(Te,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Ee,"_$1").replace(we,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Ie,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Ie,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Ne,"-").replace(Me,"")}static numberToIdentifier(E){if(E>=ae){return Template.numberToIdentifier(E%ae)+Template.numberToIdentifierContinuation(Math.floor(E/ae))}if(E=ce){return Template.numberToIdentifierContinuation(E%ce)+Template.numberToIdentifierContinuation(Math.floor(E/ce))}if(EE)R=E}if(R<16+(""+R).length){R=0}let j=-1;for(const N of E){j+=`${N.id}`.length+2}const $=R===0?N:16+`${R}`.length+N;return $({id:q.getModuleId(E),source:R(E)||"false"})));const ae=Template.getModulesArrayBounds(ie);if(ae){const E=ae[0];const N=ae[1];if(E!==0){G.add(`Array(${E}).concat(`)}G.add("[\n");const R=new Map;for(const E of ie){R.set(E.id,E)}for(let j=E;j<=N;j++){const N=R.get(j);if(j!==E){G.add(",\n")}G.add(`/* ${j} */`);if(N){G.add("\n");G.add(N.source)}}G.add("\n"+$+"]");if(E!==0){G.add(")")}}else{G.add("{\n");for(let E=0;E {\n");R.add(new $("\t",q));R.add("\n})();\n\n")}else{R.add("!function() {\n");R.add(new $("\t",q));R.add("\n}();\n\n")}}}return R}static renderChunkRuntimeModules(E,N){return new $("/******/ ",new j("function(__webpack_require__) { // webpackRuntimeModules\n",this.renderRuntimeModules(E,N),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=ae;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=ce},30337:(E,N,R)=>{"use strict";const{basename:j,extname:$}=R(71017);const q=R(73837);const G=R(62433);const ie=R(53453);const{parseResource:ae}=R(49197);const ce=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const N=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${N[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,N,R,j)=>{const fn=($,q,G)=>{let ie;const ae=q&&parseInt(q,10);if(ae&&N){ie=N(ae)}else{const N=E($,q,G);ie=ae?N.slice(0,ae):N}if(R){R.immutable=true;if(Array.isArray(R[j])){R[j]=[...R[j],ie]}else if(R[j]){R[j]=[R[j],ie]}else{R[j]=ie}}return ie};return fn};const replacer=(E,N)=>{const fn=(R,j,$)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!N){throw new Error(`Path variable ${R} not implemented in this context: ${$}`)}return""}else{return`${E}`}};return fn};const le=new Map;const _e=(()=>()=>{})();const deprecated=(E,N,R)=>{let j=le.get(N);if(j===undefined){j=q.deprecate(_e,N,R);le.set(N,j)}return(...N)=>{j();return E(...N)}};const replacePathVariables=(E,N,R)=>{const q=N.chunkGraph;const le=new Map;if(typeof N.filename==="string"){const{path:E,query:R,fragment:q}=ae(N.filename);const G=$(E);const ie=j(E);const ce=ie.slice(0,ie.length-G.length);const _e=E.slice(0,E.length-ie.length);le.set("file",replacer(E));le.set("query",replacer(R,true));le.set("fragment",replacer(q,true));le.set("path",replacer(_e,true));le.set("base",replacer(ie));le.set("name",replacer(ce));le.set("ext",replacer(G,true));le.set("filebase",deprecated(replacer(ie),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(N.hash){const E=hashLength(replacer(N.hash),N.hashWithLength,R,"fullhash");le.set("fullhash",E);le.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(N.chunk){const E=N.chunk;const j=N.contentHashType;const $=replacer(E.id);const q=replacer(E.name||E.id);const ie=hashLength(replacer(E instanceof G?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,R,"chunkhash");const ae=hashLength(replacer(N.contentHash||j&&E.contentHash&&E.contentHash[j]),N.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[j]:undefined),R,"contenthash");le.set("id",$);le.set("name",q);le.set("chunkhash",ie);le.set("contenthash",ae)}if(N.module){const E=N.module;const j=replacer((()=>prepareId(E instanceof ie?q.getModuleId(E):E.id)));const $=hashLength(replacer((()=>E instanceof ie?q.getRenderedModuleHash(E,N.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,R,"modulehash");const G=hashLength(replacer(N.contentHash),undefined,R,"contenthash");le.set("id",j);le.set("modulehash",$);le.set("contenthash",G);le.set("hash",N.contentHash?G:$);le.set("moduleid",deprecated(j,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(N.url){le.set("url",replacer(N.url))}if(typeof N.runtime==="string"){le.set("runtime",replacer((()=>prepareId(N.runtime))))}else{le.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(N,R)}E=E.replace(ce,((N,R)=>{if(R.length+2===N.length){const j=/^(\w+)(?::(\w+))?$/.exec(R);if(!j)return N;const[,$,q]=j;const G=le.get($);if(G!==undefined){return G(N,q,E)}}else if(N.startsWith("[\\")&&N.endsWith("\\]")){return`[${N.slice(2,-2)}]`}return N}));return E};const Te="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(Te,(E=>{E.hooks.assetPath.tap(Te,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnhandledSchemeError extends j{constructor(E,N){super(`Reading from "${N}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=N;this.name="UnhandledSchemeError"}}$(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnsupportedFeatureWarning extends j{constructor(E,N){super(E);this.name="UnsupportedFeatureWarning";this.loc=N;this.hideStack=true}}$(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,N,R)=>{"use strict";const j=R(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(N=>{const R=N.body[0];if(R&&R.type==="ExpressionStatement"&&R.expression.type==="Literal"&&R.expression.value==="use strict"){const N=new j("",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);E.state.module.buildInfo.strict=true}}))};N.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,N,R)=>{"use strict";const j=R(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const N=new Map;for(const R of E.modules){const E=R.identifier();const j=E.toLowerCase();let $=N.get(j);if($===undefined){$=new Map;N.set(j,$)}$.set(E,R)}for(const R of N){const N=R[1];if(N.size>1){E.warnings.push(new j(N.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,N,R)=>{"use strict";const j=R(81627);class WarnDeprecatedOptionPlugin{constructor(E,N,R){this.option=E;this.value=N;this.suggestion=R}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends j{constructor(E,N,R){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${N}' for option '${E}' is deprecated. `+`Use '${R}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,N,R)=>{"use strict";const j=R(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new j)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(12798),(()=>R(91014)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const q="ignore";class IgnoringWatchFileSystem{constructor(E,N){this.wfs=E;this.paths=N}watch(E,N,R,j,$,G,ie){E=Array.from(E);N=Array.from(N);const ignored=E=>this.paths.some((N=>N instanceof RegExp?N.test(E):E.indexOf(N)===0));const notIgnored=E=>!ignored(E);const ae=E.filter(ignored);const ce=N.filter(ignored);const le=this.wfs.watch(E.filter(notIgnored),N.filter(notIgnored),R,j,$,((E,N,R,j,$)=>{if(E)return G(E);for(const E of ae){N.set(E,q)}for(const E of ce){R.set(E,q)}G(E,N,R,j,$)}),ie);return{close:()=>le.close(),pause:()=>le.pause(),getContextTimeInfoEntries:()=>{const E=le.getContextTimeInfoEntries();for(const N of ce){E.set(N,q)}return E},getFileTimeInfoEntries:()=>{const E=le.getFileTimeInfoEntries();for(const N of ae){E.set(N,q)}return E}}}}class WatchIgnorePlugin{constructor(E){$(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,N,R)=>{"use strict";const j=R(10140);class Watching{constructor(E,N,R){this.startTime=null;this.invalid=false;this.handler=R;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof N==="number"){this.watchOptions={aggregateTimeout:N}}else if(N&&typeof N==="object"){this.watchOptions={...N}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,N){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(N)}else{for(const N of E){this._collectedChangedFiles.add(N);this._collectedRemovedFiles.delete(N)}for(const E of N){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,N,R,$){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(R||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=$||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=N||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,N)=>{if(E)return this._done(E,N);if(this.invalid)return this._done(null,N);if(this.compiler.hooks.shouldEmit.call(N)===false){return this._done(null,N)}process.nextTick((()=>{const E=N.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(N,(R=>{E.timeEnd("emitAssets");if(R)return this._done(R,N);if(this.invalid)return this._done(null,N);E.time("emitRecords");this.compiler.emitRecords((R=>{E.timeEnd("emitRecords");if(R)return this._done(R,N);if(N.hooks.needAdditionalPass.call()){N.needAdditionalPass=true;N.startTime=this.startTime;N.endTime=Date.now();E.time("done hook");const R=new j(N);this.compiler.hooks.done.callAsync(R,(R=>{E.timeEnd("done hook");if(R)return this._done(R,N);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,N);this.compiler.compile(onCompiled)}))}));return}return this._done(null,N)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const N=new j(E);return N}_done(E,N){this.running=false;const R=N&&N.getLogger("webpack.Watching");let $=null;const handleError=(E,N)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,$);if(!N){N=this.callbacks;this.callbacks=[]}for(const R of N)R(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(N){R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(N){N.startTime=this.startTime;N.endTime=Date.now();$=new j(N)}this.startTime=null;if(E)return handleError(E);const q=this.callbacks;this.callbacks=[];R.time("done hook");this.compiler.hooks.done.callAsync($,(E=>{R.timeEnd("done hook");if(E)return handleError(E,q);this.handler(null,$);R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E,q);R.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;R.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(N.fileDependencies,N.contextDependencies,N.missingDependencies)}}));for(const E of q)E(null);this.compiler.hooks.afterDone.call($)}))}))}watch(E,N,R){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,N,R,this.lastWatcherStartTime,this.watchOptions,((E,N,R,j,$)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(N,R,j,$);this._onChange()}),((E,N)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,N)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,N,R,j){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(R,j);return}if(this.running){this._mergeWithCollected(R,j);this.invalid=true}else{this._go(E,N,R,j)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,N)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=E=>{this.compiler.hooks.watchClose.call();const N=this._closeCallbacks;this._closeCallbacks=undefined;for(const R of N)R(E)};if(N){const R=N.getLogger("webpack.Watching");R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(N=>{R.timeEnd("storeBuildDependencies");shutdown(E||N)}))}else{shutdown(E)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,N,R)=>{"use strict";const j=R(73837).inspect.custom;const $=R(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[j](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}$(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,N,R)=>{"use strict";const j=R(16761);const $=R(46715);const{toConstantDependency:q}=R(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new j(N));E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(N=>{if(N.type!=="CallExpression"||N.arguments.length!==1||N.arguments[0].type==="SpreadElement")return;const R=E.evaluateExpression(N.arguments[0]);if(!R.isString())return;const j=new $(R.string,N.range);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",q(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,N,R)=>{"use strict";const j=R(97614);const $=R(75076);const q=R(18161);const G=R(9483);const ie=R(5538);const ae=R(64699);const ce=R(43806);const le=R(89818);const _e=R(32323);const Te=R(97489);const Ee=R(40552);const we=R(29672);const Ie=R(57694);const Ne=R(30337);const Me=R(79050);const Le=R(12510);const Be=R(68495);const je=R(99184);const Ue=R(13653);const ze=R(91630);const We=R(26165);const Je=R(38586);const Ve=R(54975);const qe=R(2451);const He=R(67634);const Ge=R(51727);const Ke=R(3085);const Qe=R(62630);const Xe=R(65577);const Ye=R(76373);const Ze=R(68778);const et=R(82527);const tt=R(9054);const rt=R(7391);const nt=R(61762);const{cleverMerge:it}=R(90149);class WebpackOptionsApply extends j{constructor(){super()}process(E,N){N.outputPath=E.output.path;N.recordsInputPath=E.recordsInputPath||null;N.recordsOutputPath=E.recordsOutputPath||null;N.name=E.name;if(E.externals){const j=R(61050);new j(E.externalsType,E.externals).apply(N)}if(E.externalsPresets.node){const E=R(84980);(new E).apply(N)}if(E.externalsPresets.electronMain){const E=R(25726);new E("main").apply(N)}if(E.externalsPresets.electronPreload){const E=R(25726);new E("preload").apply(N)}if(E.externalsPresets.electronRenderer){const E=R(25726);new E("renderer").apply(N)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=R(25726);(new E).apply(N)}if(E.externalsPresets.nwjs){const E=R(61050);new E("node-commonjs","nw.gui").apply(N)}if(E.externalsPresets.webAsync){const E=R(61050);new E("import",/^(https?:\/\/|std:)/).apply(N)}else if(E.externalsPresets.web){const E=R(61050);new E("module",/^(https?:\/\/|std:)/).apply(N)}(new ie).apply(N);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=R(41113);(new E).apply(N);break}case"commonjs":{const E=R(77314);(new E).apply(N);break}case"module":{const E=R(57378);(new E).apply(N);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const j of E.output.enabledChunkLoadingTypes){const E=R(50369);new E(j).apply(N)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const j of E.output.enabledWasmLoadingTypes){const E=R(69085);new E(j).apply(N)}}if(E.output.enabledLibraryTypes.length>0){for(const j of E.output.enabledLibraryTypes){const E=R(13984);new E(j).apply(N)}}if(E.output.pathinfo){const j=R(21542);new j(E.output.pathinfo!==true).apply(N)}if(E.output.clean){const j=R(61666);new j(E.output.clean===true?{}:E.output.clean).apply(N)}if(E.devtool){if(E.devtool.includes("source-map")){const j=E.devtool.includes("hidden");const $=E.devtool.includes("inline");const q=E.devtool.includes("eval");const G=E.devtool.includes("cheap");const ie=E.devtool.includes("module");const ae=E.devtool.includes("nosources");const ce=q?R(23641):R(2e4);new ce({filename:$?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:j?false:undefined,module:ie?true:G?false:true,columns:G?false:true,noSources:ae,namespace:E.output.devtoolNamespace}).apply(N)}else if(E.devtool.includes("eval")){const j=R(91331);new j({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(N)}}(new q).apply(N);(new G).apply(N);(new $).apply(N);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const j=R(84387);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.asyncWebAssembly){const j=R(82422);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.lazyCompilation){const j=R(10639);const $=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new j({backend:typeof $.backend==="function"?$.backend:R(64244)({...$.backend,client:$.backend&&$.backend.client||E.externalsPresets.node?R.ab+"lazy-compilation-node.js":R.ab+"lazy-compilation-web.js"}),entries:!$||$.entries!==false,imports:!$||$.imports!==false,test:$&&$.test||undefined}).apply(N)}if(E.experiments.buildHttp){const j=R(7201);const $=E.experiments.buildHttp;new j($).apply(N)}(new ae).apply(N);N.hooks.entryOption.call(E.context,E.entry);(new le).apply(N);(new Ze).apply(N);(new Be).apply(N);(new je).apply(N);(new Te).apply(N);new We({topLevelAwait:E.experiments.topLevelAwait}).apply(N);if(E.amd!==false){const j=R(19765);const $=R(10830);new j(E.amd||{}).apply(N);(new $).apply(N)}(new ze).apply(N);new qe({}).apply(N);if(E.node!==false){const j=R(32125);new j(E.node).apply(N)}(new _e).apply(N);(new we).apply(N);(new Ie).apply(N);(new Ee).apply(N);(new Me).apply(N);(new Ke).apply(N);(new Ge).apply(N);(new He).apply(N);(new Ve).apply(N);(new Qe).apply(N);(new Je).apply(N);(new Xe).apply(N);new Ye(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(N);(new tt).apply(N);(new rt).apply(N);(new nt).apply(N);(new et).apply(N);if(typeof E.mode!=="string"){const E=R(67586);(new E).apply(N)}const j=R(38173);(new j).apply(N);if(E.optimization.removeAvailableModules){const E=R(78016);(new E).apply(N)}if(E.optimization.removeEmptyChunks){const E=R(62665);(new E).apply(N)}if(E.optimization.mergeDuplicateChunks){const E=R(70026);(new E).apply(N)}if(E.optimization.flagIncludedChunks){const E=R(76627);(new E).apply(N)}if(E.optimization.sideEffects){const j=R(63410);new j(E.optimization.sideEffects===true).apply(N)}if(E.optimization.providedExports){const E=R(95629);(new E).apply(N)}if(E.optimization.usedExports){const j=R(1596);new j(E.optimization.usedExports==="global").apply(N)}if(E.optimization.innerGraph){const E=R(10032);(new E).apply(N)}if(E.optimization.mangleExports){const j=R(41694);new j(E.optimization.mangleExports!=="size").apply(N)}if(E.optimization.concatenateModules){const E=R(35442);(new E).apply(N)}if(E.optimization.splitChunks){const j=R(40051);new j(E.optimization.splitChunks).apply(N)}if(E.optimization.runtimeChunk){const j=R(4674);new j(E.optimization.runtimeChunk).apply(N)}if(!E.optimization.emitOnErrors){const E=R(66962);(new E).apply(N)}if(E.optimization.realContentHash){const j=R(30699);new j({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(N)}if(E.optimization.checkWasmTypes){const E=R(8576);(new E).apply(N)}const ot=E.optimization.moduleIds;if(ot){switch(ot){case"natural":{const E=R(97781);(new E).apply(N);break}case"named":{const E=R(9297);(new E).apply(N);break}case"hashed":{const j=R(3571);const $=R(35853);new j("optimization.moduleIds","hashed","deterministic").apply(N);new $({hashFunction:E.output.hashFunction}).apply(N);break}case"deterministic":{const E=R(35579);(new E).apply(N);break}case"size":{const E=R(76059);new E({prioritiseInitial:true}).apply(N);break}default:throw new Error(`webpack bug: moduleIds: ${ot} is not implemented`)}}const st=E.optimization.chunkIds;if(st){switch(st){case"natural":{const E=R(18298);(new E).apply(N);break}case"named":{const E=R(64779);(new E).apply(N);break}case"deterministic":{const E=R(90444);(new E).apply(N);break}case"size":{const E=R(86169);new E({prioritiseInitial:true}).apply(N);break}case"total-size":{const E=R(86169);new E({prioritiseInitial:false}).apply(N);break}default:throw new Error(`webpack bug: chunkIds: ${st} is not implemented`)}}if(E.optimization.nodeEnv){const j=R(24820);new j({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(N)}if(E.optimization.minimize){for(const R of E.optimization.minimizer){if(typeof R==="function"){R.call(N,N)}else if(R!=="..."){R.apply(N)}}}if(E.performance){const j=R(20625);new j(E.performance).apply(N)}(new Ne).apply(N);new ce({portableIds:E.optimization.portableRecords}).apply(N);(new Le).apply(N);const ct=R(46584);new ct(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(N);if(E.cache&&typeof E.cache==="object"){const j=E.cache;switch(j.type){case"memory":{if(isFinite(j.maxGenerations)){const E=R(71162);new E({maxGenerations:j.maxGenerations}).apply(N)}else{const E=R(47786);(new E).apply(N)}if(j.cacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}break}case"filesystem":{const $=R(38016);for(const E in j.buildDependencies){const R=j.buildDependencies[E];new $(R).apply(N)}if(!isFinite(j.maxMemoryGenerations)){const E=R(47786);(new E).apply(N)}else if(j.maxMemoryGenerations!==0){const E=R(71162);new E({maxGenerations:j.maxMemoryGenerations}).apply(N)}if(j.memoryCacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}switch(j.store){case"pack":{const $=R(66620);const q=R(83793);new $(new q({compiler:N,fs:N.intermediateFileSystem,context:E.context,cacheLocation:j.cacheLocation,version:j.version,logger:N.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:j.maxAge,profile:j.profile,allowCollectingMemory:j.allowCollectingMemory,compression:j.compression}),j.idleTimeout,j.idleTimeoutForInitialStore,j.idleTimeoutAfterLargeChanges).apply(N);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${j.type}`)}}(new Ue).apply(N);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const j=R(89056);new j(E.ignoreWarnings).apply(N)}N.hooks.afterPlugins.call(N);if(!N.inputFileSystem){throw new Error("No input filesystem provided")}N.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;return R}));N.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;R.resolveToContext=true;return R}));N.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(R=>{R=it(E.resolveLoader,R);R.fileSystem=N.inputFileSystem;return R}));N.hooks.afterResolvers.call(N);return E}}E.exports=WebpackOptionsApply},94820:(E,N,R)=>{"use strict";const{applyWebpackOptionsDefaults:j}=R(54411);const{getNormalizedWebpackOptions:$}=R(96590);class WebpackOptionsDefaulter{process(E){E=$(E);j(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,N,R)=>{"use strict";const j=R(50007);const $=R(71017);const{RawSource:q}=R(2991);const G=R(36253);const ie=R(76150);const ae=R(35891);const{makePathsRelative:ce}=R(49197);const mergeMaybeArrays=(E,N)=>{const R=new Set;if(Array.isArray(E))for(const N of E)R.add(N);else R.add(E);if(Array.isArray(N))for(const E of N)R.add(E);else R.add(N);return Array.from(R)};const mergeAssetInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;switch(j){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":R[j]=mergeMaybeArrays(E[j],N[j]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":R[j]=E[j]||N[j];break;case"related":R[j]=mergeRelatedInfo(E[j],N[j]);break;default:throw new Error(`Can't handle conflicting asset info for ${j}`)}}}return R};const mergeRelatedInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;R[j]=mergeMaybeArrays(E[j],N[j])}}return R};const le=new Set(["javascript"]);const _e=new Set(["javascript","asset"]);class AssetGenerator extends G{constructor(E,N,R,j){super();this.dataUrlOptions=E;this.filename=N;this.publicPath=R;this.emit=j}generate(E,{runtime:N,chunkGraph:R,runtimeTemplate:G,runtimeRequirements:le,type:_e,getData:Te}){switch(_e){case"asset":return E.originalSource();default:{le.add(ie.module);const _e=E.originalSource();if(E.buildInfo.dataUrl){let N;if(typeof this.dataUrlOptions==="function"){N=this.dataUrlOptions.call(null,_e.source(),{filename:E.matchResource||E.resource,module:E})}else{let R=this.dataUrlOptions.encoding;if(R===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){R=E.resourceResolveData.encoding}}if(R===undefined){R="base64"}let q;let G=this.dataUrlOptions.mimetype;if(G===undefined){q=$.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){G=E.resourceResolveData.mimetype+E.resourceResolveData.parameters}else if(q){G=j.lookup(q)}}if(typeof G!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${q}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ie;if(E.resourceResolveData&&E.resourceResolveData.encoding===R){ie=E.resourceResolveData.encodedContent}else{switch(R){case"base64":{ie=_e.buffer().toString("base64");break}case false:{const E=_e.source();if(typeof E!=="string"){ie=E.toString("utf-8")}ie=encodeURIComponent(ie).replace(/[!'()*]/g,(E=>"%"+E.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${R}'`)}}N=`data:${G}${R?`;${R}`:""},${ie}`}return new q(`${ie.module}.exports = ${JSON.stringify(N)};`)}else{const j=this.filename||G.outputOptions.assetModuleFilename;const $=ae(G.outputOptions.hashFunction);if(G.outputOptions.hashSalt){$.update(G.outputOptions.hashSalt)}$.update(_e.buffer());const Ee=$.digest(G.outputOptions.hashDigest);const we=Ee.slice(0,G.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Ee;const Ie=ce(G.compilation.compiler.context,E.matchResource||E.resource,G.compilation.compiler.root).replace(/^\.\//,"");let{path:Ne,info:Me}=G.compilation.getAssetPathWithInfo(j,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});let Le;if(this.publicPath!==undefined){const{path:j,info:$}=G.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});Le=JSON.stringify(j);Me=mergeAssetInfo(Me,$)}else{Le=ie.publicPath;le.add(ie.publicPath)}Me={sourceFilename:Ie,...Me};E.buildInfo.filename=Ne;E.buildInfo.assetInfo=Me;if(Te){const E=Te();E.set("fullContentHash",Ee);E.set("filename",Ne);E.set("assetInfo",Me)}return new q(`${ie.module}.exports = ${Le} + ${JSON.stringify(Ne)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return le}else{return _e}}getSize(E,N){switch(N){case"asset":{const N=E.originalSource();if(!N){return 0}return N.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const N=E.originalSource();if(!N){return 0}return N.size()*1.34+36}else{return 42}}}updateHash(E,{module:N}){E.update(N.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,N,R)=>{"use strict";const{cleverMerge:j}=R(90149);const{compareModulesByIdentifier:$}=R(68673);const q=R(35817);const G=R(91671);const getSchema=E=>{const{definitions:N}=R(46312);return{definitions:N,oneOf:[{$ref:`#/definitions/${E}`}]}};const ie={name:"Asset Modules Plugin",baseDataPath:"generator"};const ae={asset:q(R(68707),(()=>getSchema("AssetGeneratorOptions")),ie),"asset/resource":q(R(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ie),"asset/inline":q(R(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ie)};const ce=q(R(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const le=G((()=>R(20882)));const _e=G((()=>R(74795)));const Te=G((()=>R(20139)));const Ee=G((()=>R(54685)));const we="asset";const Ie="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Ie,((N,{normalModuleFactory:R})=>{R.hooks.createParser.for("asset").tap(Ie,(N=>{ce(N);N=j(E.options.module.parser.asset,N);let R=N.dataUrlCondition;if(!R||typeof R==="object"){R={maxSize:8096,...R}}const $=_e();return new $(R)}));R.hooks.createParser.for("asset/inline").tap(Ie,(E=>{const N=_e();return new N(true)}));R.hooks.createParser.for("asset/resource").tap(Ie,(E=>{const N=_e();return new N(false)}));R.hooks.createParser.for("asset/source").tap(Ie,(E=>{const N=Te();return new N}));for(const E of["asset","asset/inline","asset/resource"]){R.hooks.createGenerator.for(E).tap(Ie,(N=>{ae[E](N);let R=undefined;if(E!=="asset/resource"){R=N.dataUrl;if(!R||typeof R==="object"){R={encoding:undefined,mimetype:undefined,...R}}}let j=undefined;let $=undefined;if(E!=="asset/inline"){j=N.filename;$=N.publicPath}const q=le();return new q(R,j,$,N.emit!==false)}))}R.hooks.createGenerator.for("asset/source").tap(Ie,(()=>{const E=Ee();return new E}));N.hooks.renderManifest.tap(Ie,((E,R)=>{const{chunkGraph:j}=N;const{chunk:q,codeGenerationResults:G}=R;const ie=j.getOrderedChunkModulesIterableBySourceType(q,"asset",$);if(ie){for(const N of ie){try{const R=G.get(N,q.runtime);E.push({render:()=>R.sources.get(we),filename:N.buildInfo.filename||R.data.get("filename"),info:N.buildInfo.assetInfo||R.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${j.getModuleId(N)}`,hash:N.buildInfo.fullContentHash||R.data.get("fullContentHash")})}catch(E){E.message+=`\nduring rendering of asset ${N.identifier()}`;throw E}}}return E}));N.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,N)=>{const{codeGenerationResult:R}=E;const j=R.sources.get("asset");if(j===undefined)return;N.assets.set(R.data.get("filename"),{source:j,info:R.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,N,R)=>{"use strict";const j=R(2172);class AssetParser extends j{constructor(E){super();this.dataUrlCondition=E}parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){N.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:N.module.matchResource||N.module.resource,module:N.module})}else if(typeof this.dataUrlCondition==="boolean"){N.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){N.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return N}}E.exports=AssetParser},54685:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(36253);const q=R(76150);const G=new Set(["javascript"]);class AssetSourceGenerator extends ${generate(E,{chunkGraph:N,runtimeTemplate:R,runtimeRequirements:$}){$.add(q.module);const G=E.originalSource();if(!G){return new j("")}const ie=G.source();let ae;if(typeof ie==="string"){ae=ie}else{ae=ie.toString("utf-8")}return new j(`${q.module}.exports = ${JSON.stringify(ae)};`)}getTypes(E){return G}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()+12}}E.exports=AssetSourceGenerator},20139:(E,N,R)=>{"use strict";const j=R(2172);class AssetSourceParser extends j{parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:R}=N;R.buildInfo.strict=true;R.buildMeta.exportsType="default";return N}}E.exports=AssetSourceParser},10813:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);class AwaitDependenciesInitFragment extends j{constructor(E){super(undefined,j.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const N=new Set(this.promises);for(const R of E.promises){N.add(R)}return new AwaitDependenciesInitFragment(N)}getContent({runtimeRequirements:E}){E.add($.module);const N=this.promises;if(N.size===0){return""}if(N.size===1){for(const E of N){return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const R=Array.from(N).join(", ");return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${R}]);`,`([${R}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,N,R)=>{"use strict";const j=R(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:N}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const R=new Set;for(const N of E){if(N.buildMeta&&N.buildMeta.async){R.add(N)}}for(const E of R){N.setAsync(E);for(const[$,q]of N.getIncomingConnectionsByOriginModule(E)){if(q.some((E=>E.dependency instanceof j&&E.isTargetActive(undefined)))){R.add($)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,N,R)=>{"use strict";const j=R(21357);const{connectChunkGroupParentAndChild:$}=R(4642);const q=R(79900);const{getEntryRuntime:G,mergeRuntime:ie}=R(37416);const ae=new Set;ae.plus=ae;const bySetSize=(E,N)=>N.size+N.plus.size-E.size-E.plus.size;const extractBlockModules=(E,N,R,j)=>{let $;let G;const ie=[];const ae=[E];while(ae.length>0){const E=ae.pop();const N=[];ie.push(N);j.set(E,N);for(const N of E.blocks){ae.push(N)}}for(const q of N.getOutgoingConnections(E)){const E=q.dependency;if(!E)continue;const ie=q.module;if(!ie)continue;if(q.weak)continue;const ae=q.getActiveState(R);if(ae===false)continue;const ce=N.getParentBlock(E);let le=N.getParentBlockIndex(E);if(le<0){le=ce.dependencies.indexOf(E)}if($!==ce){G=j.get($=ce)}const _e=le<<2;G[_e]=ie;G[_e+1]=ae}for(const E of ie){if(E.length===0)continue;let N;let R=0;e:for(let j=0;j30){N=new Map;for(let j=0;j{const{moduleGraph:_e,chunkGraph:Te,moduleMemCaches:Ee}=N;const we=new Map;let Ie=false;let Ne;const getBlockModules=(N,R)=>{if(Ie!==R){Ne=we.get(R);if(Ne===undefined){Ne=new Map;we.set(R,Ne)}}let j=Ne.get(N);if(j!==undefined)return j;const $=N.getRootBlock();const q=Ee&&Ee.get($);if(q!==undefined){const j=q.provide("bundleChunkGraph.blockModules",R,(()=>{E.time("visitModules: prepare");const N=new Map;extractBlockModules($,_e,R,N);E.timeAggregate("visitModules: prepare");return N}));for(const[E,N]of j)Ne.set(E,N);return j.get(N)}else{E.time("visitModules: prepare");extractBlockModules($,_e,R,Ne);j=Ne.get(N);E.timeAggregate("visitModules: prepare");return j}};let Me=0;let Le=0;let Be=0;let je=0;let Ue=0;let ze=0;let We=0;let Je=0;let Ve=0;let qe=0;let He=0;let Ge=0;let Ke=0;let Qe=0;let Xe=0;let Ye=0;const Ze=new Map;const et=new Map;const tt=new Map;const rt=0;const nt=1;const it=2;const ot=3;const st=4;const ct=5;let ut=[];const dt=new Map;const pt=new Set;for(const[E,j]of R){const R=G(N,E.name,E.options);const q={chunkGroup:E,runtime:R,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=Qe++;if(E.getNumberOfParents()>0){const E=new Set;for(const N of j){E.add(N)}q.skippedItems=E;pt.add(q)}else{q.minAvailableModules=ae;const N=E.getEntrypointChunk();for(const R of j){ut.push({action:nt,block:R,module:R,chunk:N,chunkGroup:E,chunkGroupInfo:q})}}$.set(E,q);if(E.name){et.set(E.name,q)}}for(const E of pt){const{chunkGroup:N}=E;E.availableSources=new Set;for(const R of N.parentsIterable){const N=$.get(R);E.availableSources.add(N);if(N.availableChildren===undefined){N.availableChildren=new Set}N.availableChildren.add(E)}}ut.reverse();const ft=new Set;const mt=new Set;let ht=[];const _t=[];const yt=[];const vt=[];let bt;let xt;let St;let Tt;let Et;const iteratorBlock=E=>{let R=Ze.get(E);let G;let ie;const ce=E.groupOptions&&E.groupOptions.entryOptions;if(R===undefined){const _e=E.groupOptions&&E.groupOptions.name||E.chunkName;if(ce){R=tt.get(_e);if(!R){ie=N.addAsyncEntrypoint(ce,bt,E.loc,E.request);ie.index=Qe++;R={chunkGroup:ie,runtime:ie.options.runtime||ie.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};$.set(ie,R);Te.connectBlockAndChunkGroup(E,ie);if(_e){tt.set(_e,R)}}else{ie=R.chunkGroup;ie.addOrigin(bt,E.loc,E.request);Te.connectBlockAndChunkGroup(E,ie)}ht.push({action:st,block:E,module:bt,chunk:ie.chunks[0],chunkGroup:ie,chunkGroupInfo:R})}else{R=et.get(_e);if(!R){G=N.addChunkInGroup(E.groupOptions||E.chunkName,bt,E.loc,E.request);G.index=Qe++;R={chunkGroup:G,runtime:Et.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};le.add(G);$.set(G,R);if(_e){et.set(_e,R)}}else{G=R.chunkGroup;if(G.isInitial()){N.errors.push(new j(_e,bt,E.loc));G=St}G.addOptions(E.groupOptions);G.addOrigin(bt,E.loc,E.request)}q.set(E,[])}Ze.set(E,R)}else if(ce){ie=R.chunkGroup}else{G=R.chunkGroup}if(G!==undefined){q.get(E).push({originChunkGroupInfo:Et,chunkGroup:G});let N=dt.get(Et);if(N===undefined){N=new Set;dt.set(Et,N)}N.add(R);ht.push({action:ot,block:E,module:bt,chunk:G.chunks[0],chunkGroup:G,chunkGroupInfo:R})}else{Et.chunkGroup.addAsyncEntrypoint(ie)}};const processBlock=E=>{Le++;const N=getBlockModules(E,Et.runtime);if(N!==undefined){const{minAvailableModules:E}=Et;for(let R=0;R0){let{skippedModuleConnections:E}=Et;if(E===undefined){Et.skippedModuleConnections=E=new Set}for(let N=_t.length-1;N>=0;N--){E.add(_t[N])}_t.length=0}if(yt.length>0){let{skippedItems:E}=Et;if(E===undefined){Et.skippedItems=E=new Set}for(let N=yt.length-1;N>=0;N--){E.add(yt[N])}yt.length=0}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processEntryBlock=E=>{Le++;const N=getBlockModules(E,Et.runtime);if(N!==undefined){for(let E=0;E0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processQueue=()=>{while(ut.length){Me++;const E=ut.pop();bt=E.module;Tt=E.block;xt=E.chunk;St=E.chunkGroup;Et=E.chunkGroupInfo;switch(E.action){case rt:Te.connectChunkAndEntryModule(xt,bt,St);case nt:{if(Te.isModuleInChunk(bt,xt)){break}Te.connectChunkAndModule(xt,bt)}case it:{const N=St.getModulePreOrderIndex(bt);if(N===undefined){St.setModulePreOrderIndex(bt,Et.preOrderIndex++)}if(_e.setPreOrderIndexIfUnset(bt,Xe)){Xe++}E.action=ct;ut.push(E)}case ot:{processBlock(Tt);break}case st:{processEntryBlock(Tt);break}case ct:{const E=St.getModulePostOrderIndex(bt);if(E===undefined){St.setModulePostOrderIndex(bt,Et.postOrderIndex++)}if(_e.setPostOrderIndexIfUnset(bt,Ye)){Ye++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const N=E.minAvailableModules;let R;if(N.size>N.plus.size){R=new Set;for(const E of N.plus)N.add(E);N.plus=ae;R.plus=N;E.minAvailableModulesOwned=false}else{R=new Set(N);R.plus=N.plus}for(const N of E.chunkGroup.chunks){for(const E of Te.getChunkModulesIterable(N)){R.add(E)}}return E.resultingAvailableModules=R};const processConnectQueue=()=>{for(const[E,N]of dt){if(E.children===undefined){E.children=N}else{for(const R of N){E.children.add(R)}}const R=calculateResultingAvailableModules(E);const j=E.runtime;for(const E of N){E.availableModulesToBeMerged.push(R);mt.add(E);const N=E.runtime;const $=ie(N,j);if(N!==$){E.runtime=$;ft.add(E)}}Be+=N.size}dt.clear()};const processChunkGroupsForMerging=()=>{je+=mt.size;for(const E of mt){const N=E.availableModulesToBeMerged;let R=E.minAvailableModules;Ue+=N.length;if(N.length>1){N.sort(bySetSize)}let j=false;e:for(const $ of N){if(R===undefined){R=$;E.minAvailableModules=R;E.minAvailableModulesOwned=false;j=true}else{if(E.minAvailableModulesOwned){if(R.plus===$.plus){for(const E of R){if(!$.has(E)){R.delete(E);j=true}}}else{for(const E of R){if(!$.has(E)&&!$.plus.has(E)){R.delete(E);j=true}}for(const E of R.plus){if(!$.has(E)&&!$.plus.has(E)){const N=R.plus[Symbol.iterator]();let q;while(!(q=N.next()).done){const N=q.value;if(N===E)break;R.add(N)}while(!(q=N.next()).done){const N=q.value;if($.has(N)||$.plus.has(E)){R.add(N)}}R.plus=ae;j=true;continue e}}}}else if(R.plus===$.plus){if($.size{for(const E of pt){for(const N of E.availableSources){if(!N.minAvailableModules){pt.delete(E);break}}}for(const E of pt){const N=new Set;N.plus=ae;const mergeSet=E=>{if(E.size>N.plus.size){for(const E of N.plus)N.add(E);N.plus=E}else{for(const R of E)N.add(R)}};for(const N of E.availableSources){const E=calculateResultingAvailableModules(N);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=N;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;ft.add(E)}pt.clear()};const processOutdatedChunkGroupInfo=()=>{Ge+=ft.size;for(const E of ft){if(E.skippedItems!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedItems){if(!N.has(R)&&!N.plus.has(R)){ut.push({action:nt,block:R,module:R,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(R)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedModuleConnections){const[j,$]=R;if($===false)continue;if($===true){E.skippedModuleConnections.delete(R)}if($===true&&(N.has(j)||N.plus.has(j))){E.skippedItems.add(j);continue}ut.push({action:$===true?nt:ot,block:j,module:j,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){Ke+=E.children.size;for(const N of E.children){let R=dt.get(E);if(R===undefined){R=new Set;dt.set(E,R)}R.add(N)}}if(E.availableChildren!==undefined){for(const N of E.availableChildren){pt.add(N)}}}ft.clear()};while(ut.length||dt.size){E.time("visitModules: visiting");processQueue();E.timeAggregateEnd("visitModules: prepare");E.timeEnd("visitModules: visiting");if(pt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(dt.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(mt.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(ft.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const E=ut;ut=ht.reverse();ht=E}}E.log(`${Me} queue items processed (${Le} blocks)`);E.log(`${Be} chunk groups connected`);E.log(`${je} chunk groups processed for merging (${Ue} module sets, ${ze} forked, ${We} + ${Je} modules forked, ${Ve} + ${qe} modules merged into fork, ${He} resulting modules)`);E.log(`${Ge} chunk group info updated (${Ke} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,N,R,j)=>{const{chunkGraph:q}=E;const areModulesAvailable=(E,N)=>{for(const R of E.chunks){for(const E of q.getChunkModulesIterable(R)){if(!N.has(E)&&!N.plus.has(E))return false}}return true};for(const[E,j]of R){if(!N.has(E)&&j.every((({chunkGroup:E,originChunkGroupInfo:N})=>areModulesAvailable(E,N.resultingAvailableModules)))){continue}for(let N=0;N{const{chunkGraph:R}=E;for(const j of N){if(j.getNumberOfParents()===0){for(const N of j.chunks){E.chunks.delete(N);R.disconnectChunk(N)}R.disconnectChunkGroup(j);j.remove()}}};const buildChunkGraph=(E,N)=>{const R=E.getLogger("webpack.buildChunkGraph");const j=new Map;const $=new Set;const q=new Map;const G=new Set;R.time("visitModules");visitModules(R,E,N,q,j,G,$);R.timeEnd("visitModules");R.time("connectChunkGroups");connectChunkGroups(E,G,j,q);R.timeEnd("connectChunkGroups");for(const[E,N]of q){for(const R of E.chunks)R.runtime=ie(R.runtime,N.runtime)}R.time("cleanup");cleanupUnconnectedGroups(E,$);R.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,N){this.managedPaths=new Set(E);this.immutablePaths=new Set(N)}apply(E){for(const N of this.managedPaths){E.managedPaths.add(N)}for(const N of this.immutablePaths){E.immutablePaths.add(N)}}}E.exports=AddManagedPathsPlugin},66620:(E,N,R)=>{"use strict";const j=R(54725);const $=R(52923);const q=Symbol();class IdleFileCachePlugin{constructor(E,N,R,j){this.strategy=E;this.idleTimeout=N;this.idleTimeoutForInitialStore=R;this.idleTimeoutAfterLargeChanges=j}apply(E){let N=this.strategy;const R=this.idleTimeout;const G=Math.min(R,this.idleTimeoutForInitialStore);const ie=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let ce=0;let le=0;let _e=0;const Te=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{Te.set(E,(()=>N.store(E,R,j)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{const restore=()=>N.restore(E,R).then(($=>{if($===undefined){j.push(((j,$)=>{if(j!==undefined){Te.set(E,(()=>N.store(E,R,j)))}$()}))}else{return $}}));const $=Te.get(E);if($!==undefined){Te.delete(E);return $().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(E=>{Te.set(q,(()=>N.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false;const R=$.getReporter(E);const j=Array.from(Te.values());if(R)R(0,"process pending cache items");const q=j.map((E=>E()));Te.clear();q.push(Ee);const G=Promise.all(q);Ee=G.then((()=>N.afterAllStored()));if(R){Ee=Ee.then((()=>{R(1,`stored`)}))}return Ee.then((()=>{if(N.clear)N.clear()}))}));let Ee=ae;let we=false;let Ie=true;const processIdleTasks=()=>{if(we){const R=Date.now();if(Te.size>0){const E=[Ee];const N=R+100;let j=100;for(const[R,$]of Te){Te.delete(R);E.push($());if(j--<=0||Date.now()>N)break}Ee=Promise.all(E);Ee.then((()=>{le+=Date.now()-R;Ne=setTimeout(processIdleTasks,0);Ne.unref()}));return}Ee=Ee.then((async()=>{await N.afterAllStored();le+=Date.now()-R;_e=Math.max(_e,le)*.9+le*.1;le=0;ce=0})).catch((N=>{const R=E.getInfrastructureLogger("IdleFileCachePlugin");R.warn(`Background tasks during idle failed: ${N.message}`);R.debug(N.stack)}));Ie=false}};let Ne=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{const N=ce>_e*2;if(Ie&&G{Ne=undefined;we=true;ae.then(processIdleTasks)}),Math.min(Ie?G:Infinity,N?ie:Infinity,R));Ne.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{ce*=.9;ce+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,N,R)=>{"use strict";const j=R(54725);class MemoryCachePlugin{apply(E){const N=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{N.set(E,{etag:R,data:j})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{const $=N.get(E);if($===null){return null}else if($!==undefined){return $.etag===R?$.data:null}j.push(((j,$)=>{if(j===undefined){N.set(E,null)}else{N.set(E,{etag:R,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},(()=>{N.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,N,R)=>{"use strict";const j=R(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const N=this._maxGenerations;const R=new Map;const $=new Map;let q=0;let G=0;const ie=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{q++;let E=0;let j;for(const[N,G]of $){if(G.until>q)break;$.delete(N);if(R.get(N)===undefined){R.delete(N);E++;j=N}}if(E>0||$.size>0){ie.log(`${R.size-$.size} active entries, ${$.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${j}`:""}`)}let ae=R.size/N|0;let ce=G>=R.size?0:G;G=ce+ae;for(const[E,j]of R){if(ce!==0){ce--;continue}if(j!==undefined){R.set(E,undefined);$.delete(E);$.set(E,{entry:j,until:q+N});if(ae--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{R.set(E,{etag:N,data:j})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{const q=R.get(E);if(q===null){return null}else if(q!==undefined){return q.etag===N?q.data:null}const G=$.get(E);if(G!==undefined){const j=G.entry;if(j===null){$.delete(E);R.set(E,j);return null}else{if(j.etag!==N)return null;$.delete(E);R.set(E,j);return j.data}}j.push(((j,$)=>{if(j===undefined){R.set(E,null)}else{R.set(E,{etag:N,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},(()=>{R.clear();$.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,N,R)=>{"use strict";const j=R(22996);const $=R(52923);const{formatSize:q}=R(9192);const G=R(43065);const ie=R(83379);const ae=R(56202);const ce=R(91671);const{createFileSerializer:le,NOT_SERIALIZABLE:_e}=R(24568);class PackContainer{constructor(E,N,R,j,$,q){this.data=E;this.version=N;this.buildSnapshot=R;this.buildDependencies=j;this.resolveResults=$;this.resolveBuildDependenciesSnapshot=q}serialize({write:E,writeLazy:N}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);N(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const Te=1024*1024;const Ee=10;const we=100;const Ie=5e4;const Ne=1*60*1e3;class PackItemInfo{constructor(E,N,R){this.identifier=E;this.etag=N;this.location=-1;this.lastAccess=Date.now();this.freshValue=R}}class Pack{constructor(E,N){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=N}_addRequest(E){this.requests.push(E);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Ne);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(E,N){const R=this.itemInfo.get(E);this._addRequest(E);if(R===undefined){return undefined}if(R.etag!==N)return null;R.lastAccess=Date.now();const j=R.location;if(j===-1){return R.freshValue}else{if(!this.content[j]){return undefined}return this.content[j].get(E)}}set(E,N,R){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const j=this.itemInfo.get(E);if(j===undefined){const j=new PackItemInfo(E,N,R);this.itemInfo.set(E,j);this._addRequest(E);this.freshContent.set(E,j)}else{const $=j.location;if($>=0){this._addRequest(E);this.freshContent.set(E,j);const N=this.content[$];N.delete(E);if(N.items.size===0){this.content[$]=undefined;this.logger.debug("Pack %d got empty and is removed",$)}}j.freshValue=R;j.lastAccess=Date.now();j.etag=N;j.location=-1}}getContentStats(){let E=0;let N=0;for(const R of this.content){if(R!==undefined){E++;const j=R.getSize();if(j>0){N+=j}}}return{count:E,size:N}}_findLocation(){let E;for(E=0;Ethis.maxAge){this.itemInfo.delete(G);E.delete(G);N.delete(G);j++;$=G}else{ie.location=R}}if(j>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",j,R,E.size,$)}}_persistFreshContent(){const E=this.freshContent.size;if(E>0){const N=Math.ceil(E/Ie);const R=Math.ceil(E/N);const j=[];let $=0;let q=false;const createNextPack=()=>{const E=this._findLocation();this.content[E]=null;const N={items:new Set,map:new Map,loc:E};j.push(N);return N};let G=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const E of this.requests){if(E===undefined){if(q){q=false}else if(G.items.size>=we){$=0;G=createNextPack()}continue}const N=this.freshContent.get(E);if(N===undefined)continue;G.items.add(E);G.map.set(E,N.freshValue);N.location=G.loc;N.freshValue=undefined;this.freshContent.delete(E);if(++$>R){$=0;G=createNextPack();q=true}}this.requests.length=0;for(const E of j){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}this.logger.log(`${E} fresh items in cache put into pack ${j.length>1?j.map((E=>`${E.loc} (${E.items.size} items)`)).join(", "):j[0].loc}`)}}_optimizeSmallContent(){const E=[];let N=0;const R=[];let j=0;for(let $=0;$Te)continue;if(q.used.size>0){E.push($);N+=G}else{R.push($);j+=G}}let $;if(E.length>=Ee||N>Te){$=E}else if(R.length>=Ee||j>Te){$=R}else return;const q=[];for(const E of $){q.push(this.content[E]);this.content[E]=undefined}const G=new Set;const ie=new Set;const ae=[];for(const E of q){for(const N of E.items){G.add(N)}for(const N of E.used){ie.add(N)}ae.push((async N=>{await E.unpack("it should be merged with other small pack contents");for(const[R,j]of E.content){N.set(R,j)}}))}const le=this._findLocation();this._gcAndUpdateLocation(G,ie,le);if(G.size>0){this.content[le]=new PackContent(G,ie,ce((async()=>{const E=new Map;await Promise.all(ae.map((N=>N(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",q.length,G.size,le)}}_optimizeUnusedContent(){for(let E=0;E0&&j<$){this.content[E]=undefined;const R=new Set(N.used);const j=this._findLocation();this._gcAndUpdateLocation(R,R,j);if(R.size>0){this.content[j]=new PackContent(R,new Set(R),(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const j of R){E.set(j,N.content.get(j))}return new PackContentItems(E)}))}const $=new Set(N.items);const q=new Set;for(const E of R){$.delete(E)}const G=this._findLocation();this._gcAndUpdateLocation($,q,G);if($.size>0){this.content[G]=new PackContent($,q,(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const R of $){E.set(R,N.content.get(R))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,j,R.size,G,$.size);return}}}_gcOldestContent(){let E=undefined;for(const N of this.itemInfo.values()){if(E===undefined||N.lastAccessthis.maxAge){const N=E.location;if(N<0)return;const R=this.content[N];const j=new Set(R.items);const $=new Set(R.used);this._gcAndUpdateLocation(j,$,N);this.content[N]=j.size>0?new PackContent(j,$,(async()=>{await R.unpack("it contains old items that should be garbage collected");const E=new Map;for(const N of j){E.set(N,R.content.get(N))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:N}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const N of this.itemInfo.keys()){E(N)}E(null);for(const N of this.itemInfo.values()){E(N.etag)}for(const N of this.itemInfo.values()){E(N.lastAccess)}for(let R=0;RN(E,{name:`${R}`})))}else{E(undefined)}}E(null)}deserialize({read:E,logger:N}){this.logger=N;{const N=[];let R=E();while(R!==null){N.push(R);R=E()}this.itemInfo.clear();const j=N.map((E=>{const N=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,N);return N}));for(const N of j){N.etag=E()}for(const N of j){N.lastAccess=E()}}this.content.length=0;let R=E();while(R!==null){if(R===undefined){this.content.push(R)}else{const j=this.content.length;const $=E();this.content.push(new PackContent(R,new Set,$,N,`${this.content.length}`));for(const E of R){this.itemInfo.get(E).location=j}}R=E()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:N,rollback:R,logger:j,profile:$}){if($){E(false);for(const[$,q]of this.map){const G=N();try{E($);const N=process.hrtime();E(q);const R=process.hrtime(N);const G=R[0]*1e3+R[1]/1e6;if(G>1){if(G>500)j.error(`Serialization of '${$}': ${G} ms`);else if(G>50)j.warn(`Serialization of '${$}': ${G} ms`);else if(G>10)j.info(`Serialization of '${$}': ${G} ms`);else if(G>5)j.log(`Serialization of '${$}': ${G} ms`);else j.debug(`Serialization of '${$}': ${G} ms`)}}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null);return}const q=N();try{E(true);E(this.map)}catch($){R(q);E(false);for(const[$,q]of this.map){const G=N();try{E($);E(q)}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null)}}deserialize({read:E,logger:N,profile:R}){if(E()){this.map=E()}else if(R){const R=new Map;let j=E();while(j!==null){const $=process.hrtime();const q=E();const G=process.hrtime($);const ie=G[0]*1e3+G[1]/1e6;if(ie>1){if(ie>100)N.error(`Deserialization of '${j}': ${ie} ms`);else if(ie>20)N.warn(`Deserialization of '${j}': ${ie} ms`);else if(ie>5)N.info(`Deserialization of '${j}': ${ie} ms`);else if(ie>2)N.log(`Deserialization of '${j}': ${ie} ms`);else N.debug(`Deserialization of '${j}': ${ie} ms`)}R.set(j,q);j=E()}this.map=R}else{const N=new Map;let R=E();while(R!==null){N.set(R,E());R=E()}this.map=N}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,N,R,j,$){this.items=E;this.lazy=typeof R==="function"?R:undefined;this.content=typeof R==="function"?undefined:R.map;this.outdated=false;this.used=N;this.logger=j;this.lazyName=$}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`restore cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to restore cache content ${N} (${q(this.getSize())}) because of request to: ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((N=>{const j=N.map;if(R){this.logger.timeEnd(R)}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return j.get(E)}))}else{const N=j.map;if(R){this.logger.timeEnd(R)}this.content=N;this.lazy=G.unMemoizeLazy(this.lazy);return N.get(E)}}unpack(E){if(this.content)return;if(this.lazy){const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((E=>{if(R){this.logger.timeEnd(R)}this.content=E.map}))}else{if(R){this.logger.timeEnd(R)}this.content=j.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const N=E.size;if(typeof N!=="number")return-1;return N}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}writeLazy(E){if(!this.outdated&&this.lazy){E(this.lazy);return}if(!this.outdated&&this.content){const N=new Map(this.content);this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}if(this.content){const N=new Map;for(const E of this.items){N.set(E,this.content.get(E))}this.outdated=false;this.content=N;this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(R)}const j=this.lazy();this.outdated=false;if("then"in j){this.lazy=E((()=>j.then((E=>{if(R){this.logger.timeEnd(R)}const N=E.map;const j=new Map;for(const E of this.items){j.set(E,N.get(E))}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return new PackContentItems(j)}))))}else{if(R){this.logger.timeEnd(R)}const N=j.map;const $=new Map;for(const E of this.items){$.set(E,N.get(E))}this.content=$;this.lazy=E((()=>new PackContentItems($)))}}}const allowCollectingMemory=E=>{const N=E.buffer.byteLength-E.byteLength;if(N>8192&&(N>1048576||N>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:N,context:R,cacheLocation:$,version:q,logger:G,snapshot:ae,maxAge:ce,profile:_e,allowCollectingMemory:Te,compression:Ee}){this.fileSerializer=le(N,E.options.output.hashFunction);this.fileSystemInfo=new j(N,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:G.getChildLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});this.compiler=E;this.context=R;this.cacheLocation=$;this.version=q;this.logger=G;this.maxAge=ce;this.profile=_e;this.allowCollectingMemory=Te;this.compression=Ee;this._extension=Ee==="brotli"?".pack.br":Ee==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new ie;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:N,cacheLocation:R,version:j}=this;let $;let q;let G;let ie;let ae;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${R}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:N,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((N=>{if(N.code!=="ENOENT"){E.warn(`Restoring pack failed from ${R}${this._extension}: ${N}`);E.debug(N.stack)}else{E.debug(`No pack exists at ${R}${this._extension}: ${N}`)}return undefined})).then((N=>{E.timeEnd("restore cache container");if(!N)return undefined;if(!(N instanceof PackContainer)){E.warn(`Restored pack from ${R}${this._extension}, but contained content is unexpected.`,N);return undefined}if(N.version!==j){E.log(`Restored pack from ${R}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise(((j,q)=>{this.fileSystemInfo.checkSnapshotValid(N.buildSnapshot,((q,G)=>{if(q){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of build dependencies errored: ${q}.`);E.debug(q.stack);return j(false)}if(!G){E.log(`Restored pack from ${R}${this._extension}, but build dependencies have changed.`);return j(false)}$=N.buildSnapshot;return j(true)}))})),new Promise(((j,$)=>{this.fileSystemInfo.checkSnapshotValid(N.resolveBuildDependenciesSnapshot,(($,ce)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(ce){ie=N.resolveBuildDependenciesSnapshot;q=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(N.resolveResults,(($,q)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(q){G=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log(`Restored pack from ${R}${this._extension}, but build dependencies resolve to different locations.`);return j(false)}))}))}))]).catch((N=>{E.timeEnd("check build dependencies");throw N})).then((([R,j])=>{E.timeEnd("check build dependencies");if(R&&j){E.time("restore cache content metadata");const R=N.data();E.timeEnd("restore cache content metadata");return R}return undefined}))})).then((N=>{if(N){N.maxAge=this.maxAge;this.buildSnapshot=$;if(q)this.buildDependencies=q;if(G)this.newBuildDependencies.addAll(G);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=ie;return N}return new Pack(E,this.maxAge)})).catch((N=>{this.logger.warn(`Restoring pack from ${R}${this._extension} failed: ${N}`);this.logger.debug(N.stack);return new Pack(E,this.maxAge)}))}store(E,N,R){return this._getPack().then((j=>{j.set(E,N===null?null:N.toString(),R)}))}restore(E,N){return this._getPack().then((R=>R.get(E,N===null?null:N.toString()))).catch((N=>{if(N&&N.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${N}`);this.logger.debug(N.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const N=$.getReporter(this.compiler);return this.storePromise=E.then((E=>{E.stopCapturingRequests();if(!E.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let R;const j=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){j.add(E)}}if(j.size>0||!this.buildSnapshot){if(N)N(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(j).join(", ")})`);R=new Promise(((E,R)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,j,((j,$)=>{this.logger.timeEnd("resolve build dependencies");if(j)return R(j);this.logger.time("snapshot build dependencies");const{files:q,directories:G,missing:ie,resolveResults:ae,resolveDependencies:ce}=$;if(this.resolveResults){for(const[E,N]of ae){this.resolveResults.set(E,N)}}else{this.resolveResults=ae}if(N){N(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,ce.files,ce.directories,ce.missing,this.snapshot.resolveBuildDependencies,((j,$)=>{if(j){this.logger.timeEnd("snapshot build dependencies");return R(j)}if(!$){this.logger.timeEnd("snapshot build dependencies");return R(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,$)}else{this.resolveBuildDependenciesSnapshot=$}if(N){N(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,q,G,ie,this.snapshot.buildDependencies,((N,j)=>{this.logger.timeEnd("snapshot build dependencies");if(N)return R(N);if(!j){return R(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,j)}else{this.buildSnapshot=j}E()}))}))}))}))}else{R=Promise.resolve()}return R.then((()=>{if(N)N(.8,"serialize pack");this.logger.time(`store pack`);const R=new Set(this.buildDependencies);for(const E of j){R.add(E)}const $=new PackContainer(E,this.version,this.buildSnapshot,R,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize($,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of j){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const N=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,N.count,Math.round(N.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,N,R)=>{"use strict";const j=R(83379);const $=R(56202);class CacheEntry{constructor(E,N){this.result=E;this.snapshot=N}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}$(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,N)=>{if(E instanceof j){E.addAll(N)}else{for(const R of N){E.add(R)}}};const objectToString=(E,N)=>{let R="";for(const j in E){if(N&&j==="context")continue;const $=E[j];if(typeof $==="object"&&$!==null){R+=`|${j}=[${objectToString($,false)}|]`}else{R+=`|${j}=|${$}`}}return R};class ResolverCachePlugin{apply(E){const N=E.getCache("ResolverCachePlugin");let R;let $;let q=0;let G=0;let ie=0;let ae=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{$=E.options.snapshot.resolve;R=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(q+G>0){const N=E.getLogger("webpack.ResolverCachePlugin");N.log(`${Math.round(100*q/(q+G))}% really resolved (${q} real resolves with ${ie} cached but invalid, ${G} cached valid, ${ae} concurrent)`);q=0;G=0;ie=0;ae=0}}))}));const doRealResolve=(E,N,G,ie,ae)=>{q++;const ce={_ResolverCachePluginCacheMiss:true,...ie};const le={...G,stack:new Set,missingDependencies:new j,fileDependencies:new j,contextDependencies:new j};const propagate=E=>{if(G[E]){addAllToSet(G[E],le[E])}};const _e=Date.now();N.doResolve(N.hooks.resolve,ce,"Cache miss",le,((N,j)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(N)return ae(N);const q=le.fileDependencies;const G=le.contextDependencies;const ie=le.missingDependencies;R.createSnapshot(_e,q,G,ie,$,((N,R)=>{if(N)return ae(N);if(!R){if(j)return ae(null,j);return ae()}E.store(new CacheEntry(j,R),(E=>{if(E)return ae(E);if(j)return ae(null,j);ae()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,j){const $=new Map;j.tap("ResolverCachePlugin",((j,q,ae)=>{if(q.cache!==true)return;const ce=objectToString(ae,false);const le=q.cacheWithContext!==undefined?q.cacheWithContext:false;j.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((q,ae,_e)=>{if(q._ResolverCachePluginCacheMiss||!R){return _e()}const Te=`${E}${ce}${objectToString(q,!le)}`;const Ee=$.get(Te);if(Ee){Ee.push(_e);return}const we=N.getItemCache(Te,null);let Ie;const done=(E,N)=>{if(Ie===undefined){_e(E,N);Ie=false}else{for(const R of Ie){R(E,N)}$.delete(Te);Ie=false}};const processCacheResult=(E,N)=>{if(E)return done(E);if(N){const{snapshot:E,result:$}=N;R.checkSnapshotValid(E,((N,R)=>{if(N||!R){ie++;return doRealResolve(we,j,ae,q,done)}G++;if(ae.missingDependencies){addAllToSet(ae.missingDependencies,E.getMissingIterable())}if(ae.fileDependencies){addAllToSet(ae.fileDependencies,E.getFileIterable())}if(ae.contextDependencies){addAllToSet(ae.contextDependencies,E.getContextIterable())}done(null,$)}))}else{doRealResolve(we,j,ae,q,done)}};we.get(processCacheResult);if(Ie===undefined){Ie=[_e];$.set(Te,Ie)}}))}));return j}})}}E.exports=ResolverCachePlugin},77034:(E,N,R)=>{"use strict";const j=R(35891);class LazyHashedEtag{constructor(E,N="md4"){this._obj=E;this._hash=undefined;this._hashFunction=N}toString(){if(this._hash===undefined){const E=j(this._hashFunction);this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const $=new Map;const q=new WeakMap;const getter=(E,N="md4")=>{let R;if(typeof N==="string"){R=$.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);$.set(N,R);return j}}else{R=q.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);q.set(N,R);return j}}const j=R.get(E);if(j!==undefined)return j;const G=new LazyHashedEtag(E,N);R.set(E,G);return G};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,N){this.a=E;this.b=N}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const N=new WeakMap;const R=new WeakMap;const mergeEtags=(E,j)=>{if(typeof E==="string"){if(typeof j==="string"){return`${E}|${j}`}else{const N=j;j=E;E=N}}else{if(typeof j!=="string"){let R=N.get(E);if(R===undefined){N.set(E,R=new WeakMap)}const $=R.get(j);if($===undefined){const N=new MergedEtag(E,j);R.set(j,N);return N}else{return $}}}let $=R.get(E);if($===undefined){R.set(E,$=new Map)}const q=$.get(j);if(q===undefined){const N=new MergedEtag(E,j);$.set(j,N);return N}else{return q}};E.exports=mergeEtags},61634:(E,N,R)=>{"use strict";const j=R(71017);const $=R(46312);const getArguments=(E=$)=>{const N={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=N=>{const R=N.split("/");let j=E;for(let E=1;E{for(const{schema:N}of E){if(N.cli&&N.cli.helper)continue;if(N.description)return N.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const R=E[0].path;const j=pathToArgumentName(`${R}.reset`);const $=getDescription(E);N[j]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${R}' configuration. ${$}`,path:R}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,R)=>{const j=schemaToArgumentConfig(E[0].schema);if(!j)return 0;const $=pathToArgumentName(E[0].path);const q={...j,multiple:R,description:getDescription(E),path:E[0].path};if(!N[$]){N[$]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(N[$].configs.some((E=>JSON.stringify(E)===JSON.stringify(q)))){return 0}if(N[$].configs.some((E=>E.type===q.type&&E.multiple!==R))){if(R){throw new Error(`Conflicting schema for ${E[0].path} with ${q.type} type (array type must be before single item type)`)}return 0}N[$].configs.push(q);return 1};const traverse=(E,N="",R=[],j=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const $=R.filter((({schema:N})=>N===E));if($.length>=2||$.some((({path:E})=>E===N))){return 0}if(E.cli&&E.cli.exclude)return 0;const q=[{schema:E,path:N},...R];let G=0;G+=addFlag(q,!!j);if(E.type==="object"){if(E.properties){for(const R of Object.keys(E.properties)){G+=traverse(E.properties[R],N?`${N}.${R}`:R,q,j)}}return G}if(E.type==="array"){if(j){return 0}if(Array.isArray(E.items)){let R=0;for(const j of E.items){G+=traverse(j,`${N}.${R}`,q,N)}return G}G+=traverse(E.items,`${N}[]`,q,N);if(G>0){addResetFlag(q);G++}return G}const ie=E.oneOf||E.anyOf||E.allOf;if(ie){const E=ie;for(let R=0;R{if(!E)return N;if(!N)return E;if(E.includes(N))return E;return`${E} ${N}`}),undefined);R.simpleType=R.configs.reduce(((E,N)=>{let R="string";switch(N.type){case"number":R="number";break;case"reset":case"boolean":R="boolean";break;case"enum":if(N.values.every((E=>typeof E==="boolean")))R="boolean";if(N.values.every((E=>typeof E==="number")))R="number";break}if(E===undefined)return R;return E===R?E:"string"}),undefined);R.multiple=R.configs.some((E=>E.multiple))}return N};const q=new WeakMap;const getObjectAndProperty=(E,N,R=0)=>{if(!N)return{value:E};const j=N.split(".");let $=j.pop();let G=E;let ie=0;for(const E of j){const N=E.endsWith("[]");const $=N?E.slice(0,-2):E;let ae=G[$];if(N){if(ae===undefined){ae={};G[$]=[...Array.from({length:R}),ae];q.set(G[$],R+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:j.slice(0,ie).join(".")}}}else{let E=q.get(ae)||0;while(E<=R){ae.push(undefined);E++}q.set(ae,E);const N=ae.length-E+R;if(ae[N]===undefined){ae[N]={}}else if(ae[N]===null||typeof ae[N]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}ae=ae[N]}}else{if(ae===undefined){ae=G[$]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}}G=ae;ie++}let ae=G[$];if($.endsWith("[]")){const E=$.slice(0,-2);const j=G[E];if(j===undefined){G[E]=[...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R,value:undefined}}else if(!Array.isArray(j)){G[E]=[j,...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R+1,value:undefined}}else{let E=q.get(j)||0;while(E<=R){j.push(undefined);E++}q.set(j,E);const $=j.length-E+R;if(j[$]===undefined){j[$]={}}else if(j[$]===null||typeof j[$]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:N}}}return{object:j,property:$,value:j[$]}}}return{object:G,property:$,value:ae}};const setValue=(E,N,R,j)=>{const{problem:$,object:q,property:G}=getObjectAndProperty(E,N,j);if($)return $;q[G]=R;return null};const processArgumentConfig=(E,N,R,j)=>{if(j!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const $=parseValueForArgumentConfig(E,R);if($===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const q=setValue(N,E.path,$,j);if(q)return q;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,N)=>{switch(E.type){case"string":if(typeof N==="string"){return N}break;case"path":if(typeof N==="string"){return j.resolve(N)}break;case"number":if(typeof N==="number")return N;if(typeof N==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+N;if(!isNaN(E))return E}break;case"boolean":if(typeof N==="boolean")return N;if(N==="true")return true;if(N==="false")return false;break;case"RegExp":if(N instanceof RegExp)return N;if(typeof N==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(N);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(N))return N;for(const R of E.values){if(`${R}`===N)return R}break;case"reset":if(N===true)return[];break}};const processArguments=(E,N,R)=>{const j=[];for(const $ of Object.keys(R)){const q=E[$];if(!q){j.push({type:"unknown-argument",path:"",argument:$});continue}const processValue=(E,R)=>{const G=[];for(const j of q.configs){const q=processArgumentConfig(j,N,E,R);if(!q){return}G.push({...q,argument:$,value:E,index:R})}j.push(...G)};let G=R[$];if(Array.isArray(G)){for(let E=0;E{"use strict";const j=R(69328);const $=R(71017);const q=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,N)=>{if(!E){return{}}if($.isAbsolute(E)){const[,N,R]=q.exec(E)||[];return{configPath:N,env:R}}const R=j.findConfig(N);if(R&&Object.keys(R).includes(E)){return{env:E}}return{query:E}};const load=(E,N)=>{const{configPath:R,env:$,query:q}=parse(E,N);const G=q?q:R?j.loadConfig({config:R,env:$}):j.loadConfig({path:N,env:$});if(!G)return null;return j(G)};const resolve=E=>{const rawChecker=N=>E.every((E=>{const[R,j]=E.split(" ");if(!R)return false;const $=N[R];if(!$)return false;const[q,G]=j==="TP"?[Infinity,Infinity]:j.split(".");if(typeof $==="number"){return+q>=$}return $[0]===+q?+G>=$[1]:+q>$[0]}));const N=E.some((E=>/^node /.test(E)));const R=E.some((E=>/^(?!node)/.test(E)));const j=!R?false:N?null:true;const $=!N?false:R?null:true;const q=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:q,dynamicImportInWorker:q&&!N,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:j,electron:false,node:$,nwjs:false,web:j,webworker:false,document:j,fetchWasm:j,global:$,importScripts:false,importScriptsInWorker:true,nodeBuiltins:$,require:$}};E.exports={resolve:resolve,load:load}},54411:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=R(58159);const{cleverMerge:G}=R(90149);const{getTargetsProperties:ie,getTargetProperties:ae,getDefaultTarget:ce}=R(71322);const le=/[\\/]node_modules[\\/]/i;const D=(E,N,R)=>{if(E[N]===undefined){E[N]=R}};const F=(E,N,R)=>{if(E[N]===undefined){E[N]=R()}};const A=(E,N,R)=>{const j=E[N];if(j===undefined){E[N]=R()}else if(Array.isArray(j)){let $=undefined;for(let q=0;q{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>ce(E.context)));const{mode:N,name:j,target:$}=E;let q=$===false?false:typeof $==="string"?ae($,E.context):ie($,E.context);const le=N==="development";const _e=N==="production"||!N;if(typeof E.entry!=="function"){for(const N of Object.keys(E.entry)){F(E.entry[N],"import",(()=>["./src"]))}}F(E,"devtool",(()=>le?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);applyExperimentsDefaults(E.experiments,{production:_e,development:le});const Te=E.experiments.futureDefaults;F(E,"cache",(()=>le?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:j||"default",mode:N||"production",development:le,cacheUnaffected:E.experiments.cacheUnaffected});const Ee=!!E.cache;applySnapshotDefaults(E.snapshot,{production:_e,futureDefaults:Te});applyModuleDefaults(E.module,{cache:Ee,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:q,isAffectedByBrowserslist:$===undefined||typeof $==="string"&&$.startsWith("browserslist")||Array.isArray($)&&$.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:le,entry:E.entry,module:E.module,futureDefaults:Te});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:q,buildHttp:!!E.experiments.buildHttp});applyLoaderDefaults(E.loader,{targetProperties:q});F(E,"externalsType",(()=>{const N=R(46312).definitions.ExternalsType["enum"];return E.output.library&&N.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{futureDefaults:E.experiments.futureDefaults,targetProperties:q});F(E,"performance",(()=>_e&&q&&(q.browser||q.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:_e});applyOptimizationDefaults(E.optimization,{development:le,production:_e,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=G(getResolveDefaults({cache:Ee,context:E.context,targetProperties:q,mode:E.mode}),E.resolve);E.resolveLoader=G(getResolveLoaderDefaults({cache:Ee}),E.resolveLoader)};const applyExperimentsDefaults=(E,{production:N,development:R})=>{D(E,"futureDefaults",false);D(E,"backCompat",!E.futureDefaults);D(E,"topLevelAwait",E.futureDefaults);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",E.futureDefaults);D(E,"outputModule",false);D(E,"layers",false);D(E,"lazyCompilation",undefined);D(E,"buildHttp",undefined);D(E,"cacheUnaffected",E.futureDefaults);if(typeof E.buildHttp==="object"){D(E.buildHttp,"frozen",N);D(E.buildHttp,"upgrade",false)}};const applyCacheDefaults=(E,{name:N,mode:R,development:q,cacheUnaffected:G})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>N+"-"+R));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let N=E;for(;;){try{if(j.statSync($.join(N,"package.json")).isFile())break}catch(E){}const E=$.dirname(N);if(N===E){N=undefined;break}N=E}if(!N){return $.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return $.resolve(N,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return $.resolve(N,".yarn/.cache/webpack")}else{return $.resolve(N,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>$.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",false);D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",q?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",q);D(E,"memoryCacheUnaffected",q&&G);D(E.buildDependencies,"defaultWebpack",[$.resolve(__dirname,"..")+$.sep]);break;case"memory":D(E,"maxGenerations",Infinity);D(E,"cacheUnaffected",q&&G);break}};const applySnapshotDefaults=(E,{production:N,futureDefaults:R})=>{if(R){F(E,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(E,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[$.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}))}F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>N?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>N?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:N,syncWebAssembly:R,asyncWebAssembly:j})=>{if(N){D(E,"unsafeCache",(E=>{const N=E.nameForCondition();return N&&le.test(N)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const N={type:"javascript/dynamic"};const $=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...N},{test:/\.js$/i,descriptionData:{type:"commonjs"},...N},{mimetype:{or:["text/javascript","application/javascript"]},...E}];if(j){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}else if(R){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}$.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:"json"});return $}))};const applyOutputDefaults=(E,{context:N,targetProperties:R,isAffectedByBrowserslist:G,outputModule:ie,development:ae,entry:ce,module:le,futureDefaults:_e})=>{const getLibraryName=E=>{const N=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(N)){return N.join(".")}else if(typeof N==="object"){return getLibraryName(N.root)}else if(typeof N==="string"){return N}return""};F(E,"uniqueName",(()=>{const R=getLibraryName(E.library);if(R)return R;const q=$.resolve(N,"package.json");try{const E=JSON.parse(j.readFileSync(q,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${q}`;throw E}return""}}));F(E,"module",(()=>!!ie));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const N=E.filename;if(typeof N!=="function"){const E=N.includes("[name]");const R=N.includes("[id]");const j=N.includes("[chunkhash]");const $=N.includes("[contenthash]");if(j||$||E||R)return N;return N.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>q.toIdentifier("webpackHotUpdate"+q.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>q.toIdentifier("webpackChunk"+q.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(R){if(R.global)return"global";if(R.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(R){const N=G?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(R.dynamicImport)return"module";if(R.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+N)}else{if(R.document)return"array-push";if(R.require)return"commonjs";if(R.nodeBuiltins)return"commonjs";if(R.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+N)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.document)return"jsonp";if(R.importScripts)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImport)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.document===null||R.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImportInWorker)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(R){if(R.fetchWasm)return"fetch";if(R.nodeBuiltins)return E.module?"async-node-module":"async-node";if(R.nodeBuiltins===null||R.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>$.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>ae));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",R&&(R.document||R.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction",_e?"xxhash64":"md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>R&&optimistic(R.arrowFunction)));F(E.environment,"const",(()=>R&&optimistic(R.const)));F(E.environment,"destructuring",(()=>R&&optimistic(R.destructuring)));F(E.environment,"forOf",(()=>R&&optimistic(R.forOf)));F(E.environment,"bigIntLiteral",(()=>R&&R.bigIntLiteral));F(E.environment,"dynamicImport",(()=>R&&R.dynamicImport));F(E.environment,"module",(()=>R&&R.module));const{trustedTypes:Te}=E;if(Te){F(Te,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const N of Object.keys(ce)){E(ce[N])}};A(E,"enabledLibraryTypes",(()=>{const N=[];if(E.library){N.push(E.library.type)}forEachEntry((E=>{if(E.library){N.push(E.library.type)}}));return N}));A(E,"enabledChunkLoadingTypes",(()=>{const N=new Set;if(E.chunkLoading){N.add(E.chunkLoading)}if(E.workerChunkLoading){N.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){N.add(E.chunkLoading)}}));return Array.from(N)}));A(E,"enabledWasmLoadingTypes",(()=>{const N=new Set;if(E.wasmLoading){N.add(E.wasmLoading)}if(E.workerWasmLoading){N.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){N.add(E.wasmLoading)}}));return Array.from(N)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:N,buildHttp:R})=>{D(E,"web",!R&&N&&N.web);D(E,"node",N&&N.node);D(E,"nwjs",N&&N.nwjs);D(E,"electron",N&&N.electron);D(E,"electronMain",N&&N.electron&&N.electronMain);D(E,"electronPreload",N&&N.electron&&N.electronPreload);D(E,"electronRenderer",N&&N.electron&&N.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:N})=>{F(E,"target",(()=>{if(N){if(N.electron){if(N.electronMain)return"electron-main";if(N.electronPreload)return"electron-preload";if(N.electronRenderer)return"electron-renderer";return"electron"}if(N.nwjs)return"nwjs";if(N.node)return"node";if(N.web)return"web"}}))};const applyNodeDefaults=(E,{futureDefaults:N,targetProperties:R})=>{if(E===false)return;F(E,"global",(()=>{if(R&&R.global)return false;return N?"warn":true}));F(E,"__filename",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}));F(E,"__dirname",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}))};const applyPerformanceDefaults=(E,{production:N})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>N?"warning":false))};const applyOptimizationDefaults=(E,{production:N,development:j,records:$})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",N);F(E,"moduleIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"sideEffects",(()=>N?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",N);D(E,"innerGraph",N);D(E,"mangleExports",N);D(E,"concatenateModules",N);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!N);D(E,"checkWasmTypes",N);D(E,"mangleWasmImports",false);D(E,"portableRecords",$);D(E,"realContentHash",N);D(E,"minimize",N);A(E,"minimizer",(()=>[{apply:E=>{const N=R(96013);new N({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(N)return"production";if(j)return"development";return false}));const{splitChunks:q}=E;if(q){A(q,"defaultSizeTypes",(()=>["javascript","unknown"]));D(q,"hidePathInfo",N);D(q,"chunks","async");D(q,"usedExports",E.usedExports===true);D(q,"minChunks",1);F(q,"minSize",(()=>N?2e4:1e4));F(q,"minRemainingSize",(()=>j?0:undefined));F(q,"enforceSizeThreshold",(()=>N?5e4:3e4));F(q,"maxAsyncRequests",(()=>N?30:Infinity));F(q,"maxInitialRequests",(()=>N?30:Infinity));D(q,"automaticNameDelimiter","-");const{cacheGroups:R}=q;F(R,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(R,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:le,priority:-10})))}};const getResolveDefaults=({cache:E,context:N,targetProperties:R,mode:j})=>{const $=["webpack"];$.push(j==="development"?"development":"production");if(R){if(R.webworker)$.push("worker");if(R.node)$.push("node");if(R.web)$.push("browser");if(R.electron)$.push("electron");if(R.nwjs)$.push("nwjs")}const q=[".js",".json",".wasm"];const G=R;const ie=G&&G.web&&(!G.node||G.electron&&G.electronRenderer);const cjsDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...q]});const esmDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...q]});const ae={cache:E,modules:["node_modules"],conditionNames:$,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[N],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:E})=>{const N={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return N};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const N=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",N);D(E,"appendOnly",!N)};N.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;N.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate(((E,N)=>{if(N!==undefined&&!E===!N){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,N)=>E===undefined?N({}):N(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,N)=>E===undefined?undefined:N(E);const nestedArray=(E,N)=>Array.isArray(E)?N(E):N([]);const optionalNestedArray=(E,N)=>Array.isArray(E)?N(E):undefined;const keyedNestedConfig=(E,N,R)=>{const j=E===undefined?{}:Object.keys(E).reduce(((j,$)=>(j[$]=(R&&$ in R?R[$]:N)(E[$]),j)),{});if(R){for(const E of Object.keys(R)){if(!(E in j)){j[E]=R[E]({})}}}return j};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:nestedConfig(E.experiments,(E=>({...E,buildHttp:optionalNestedConfig(E.buildHttp,(E=>Array.isArray(E)?{allowedUris:E}:E)),lazyCompilation:optionalNestedConfig(E.lazyCompilation,(E=>E===true?{}:E===false?undefined:E))}))),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const N=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:R})=>{if(!N.message&&!N.module&&!N.file)return false;if(N.message&&!N.message.test(E.message)){return false}if(N.module&&(!E.module||!N.module.test(E.module.readableIdentifier(R)))){return false}if(N.file&&(!E.file||!N.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:N=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...N})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?$(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:N}=E;const R=N;const j=typeof N==="object"&&N&&!Array.isArray(N)&&"type"in N?N:R||E.libraryTarget?{name:R}:undefined;const $={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:j&&{type:E.libraryTarget!==undefined?E.libraryTarget:j.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:j.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:j.export,name:j.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:j.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return $})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const N={};for(const R of Object.keys(E)){const j=E[R];if(typeof j==="string"){N[R]={import:[j]}}else if(Array.isArray(j)){N[R]={import:j}}else{N[R]={import:j.import&&(Array.isArray(j.import)?j.import:[j.import]),filename:j.filename,layer:j.layer,runtime:j.runtime,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,dependOn:j.dependOn&&(Array.isArray(j.dependOn)?j.dependOn:[j.dependOn]),library:j.library}}}return N};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:N}=E;return{name:typeof N==="function"?N:()=>N}};N.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(27509)));const getDefaultTarget=E=>{const N=$().load(null,E);return N?"browserslist":"web"};const versionDependent=(E,N)=>{if(!E)return()=>undefined;E=+E;N=N?+N:0;return(R,j=0)=>E>R||E===R&&N>=j};const q=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,N)=>{const R=$();const j=R.load(E?E.trim():null,N);if(!j){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return R.resolve(j)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,N,R)=>{const j=versionDependent(N,R);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:j(12),const:j(6),arrowFunction:j(6),forOf:j(5),destructuring:j(6),bigIntLiteral:j(10,4),dynamicImport:j(12,17),dynamicImportInWorker:N?false:undefined,module:j(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,N,R)=>{const j=versionDependent(E,N);return{node:true,electron:true,web:R!=="main",webworker:false,browser:false,nwjs:false,electronMain:R==="main",electronPreload:R==="preload",electronRenderer:R==="renderer",global:true,nodeBuiltins:true,require:true,document:R==="renderer",fetchWasm:R==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:j(5),const:j(1,1),arrowFunction:j(1,1),forOf:j(0,36),destructuring:j(1,1),bigIntLiteral:j(4),dynamicImport:j(11),dynamicImportInWorker:E?false:undefined,module:j(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,N)=>{const R=versionDependent(E,N);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:R(0,43),const:R(0,15),arrowFunction:R(0,15),forOf:R(0,13),destructuring:R(0,15),bigIntLiteral:R(0,32),dynamicImport:R(0,43),dynamicImportInWorker:E?false:undefined,module:R(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let N=+E;if(N<1e3)N=N+2009;return{const:N>=2015,arrowFunction:N>=2015,forOf:N>=2015,destructuring:N>=2015,module:N>=2015,globalThis:N>=2020,bigIntLiteral:N>=2020,dynamicImport:N>=2020,dynamicImportInWorker:N>=2020}}]];const getTargetProperties=(E,N)=>{for(const[,,R,j]of q){const $=R.exec(E);if($){const[,...E]=$;const R=j(...E,N);if(R)return R}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${q.map((([E,N])=>`* ${E}: ${N}`)).join("\n")}`)};const mergeTargetProperties=E=>{const N=new Set;for(const R of E){for(const E of Object.keys(R)){N.add(E)}}const R={};for(const j of N){let N=false;let $=false;for(const R of E){const E=R[j];switch(E){case true:N=true;break;case false:$=true;break}}if(N||$)R[j]=$&&N?null:N?true:false}return R};const getTargetsProperties=(E,N)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,N))));N.getDefaultTarget=getDefaultTarget;N.getTargetProperties=getTargetProperties;N.getTargetsProperties=getTargetsProperties},76041:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ContainerEntryDependency extends j{constructor(E,N,R){super();this.name=E;this.exposes=N;this.shareScope=R}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}$(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(2991);const q=R(98221);const G=R(53453);const ie=R(76150);const ae=R(58159);const ce=R(56202);const le=R(4523);const _e=new Set(["javascript"]);class ContainerEntryModule extends G{constructor(E,N,R){super("javascript/dynamic",null);this._name=E;this._exposes=N;this._shareScope=R}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,N]of this._exposes){const R=new q({name:N.name},{name:E},N.import[N.import.length-1]);let j=0;for(const $ of N.import){const N=new le(E,$);N.loc={name:E,index:j++};R.addDependency(N)}this.addBlock(R)}$()}codeGeneration({moduleGraph:E,chunkGraph:N,runtimeTemplate:R}){const q=new Map;const G=new Set([ie.definePropertyGetters,ie.hasOwnProperty,ie.exports]);const ce=[];for(const j of this.blocks){const{dependencies:$}=j;const q=$.map((N=>{const R=N;return{name:R.exposedName,module:E.getModule(R),request:R.userRequest}}));let ie;if(q.some((E=>!E.module))){ie=R.throwMissingModuleErrorBlock({request:q.map((E=>E.request)).join(", ")})}else{ie=`return ${R.blockPromise({block:j,message:"",chunkGraph:N,runtimeRequirements:G})}.then(${R.returningFunction(R.returningFunction(`(${q.map((({module:E,request:j})=>R.moduleRaw({module:E,chunkGraph:N,request:j,weak:false,runtimeRequirements:G}))).join(", ")})`))});`}ce.push(`${JSON.stringify(q[0].name)}: ${R.basicFunction("",ie)}`)}const le=ae.asString([`var moduleMap = {`,ae.indent(ce.join(",\n")),"};",`var get = ${R.basicFunction("module, getScope",[`${ie.currentRemoteGetScope} = getScope;`,"getScope = (",ae.indent([`${ie.hasOwnProperty}(moduleMap, module)`,ae.indent(["? moduleMap[module]()",`: Promise.resolve().then(${R.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ie.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${R.basicFunction("shareScope, initScope",[`if (!${ie.shareScopeMap}) return;`,`var oldScope = ${ie.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ie.shareScopeMap}[name] = shareScope;`,`return ${ie.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ie.definePropertyGetters}(exports, {`,ae.indent([`get: ${R.returningFunction("get")},`,`init: ${R.returningFunction("init")}`]),"});"]);q.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new j(le,"webpack/container-entry"):new $(le));return{sources:q,runtimeRequirements:G}}size(E){return 42}serialize(E){const{write:N}=E;N(this._name);N(this._exposes);N(this._shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ContainerEntryModule(N(),N(),N());R.deserialize(E);return R}}ce(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,N,R)=>{"use strict";const j=R(40674);const $=R(89591);E.exports=class ContainerEntryModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.name,R.exposes,R.shareScope)})}}},4523:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ContainerExposedDependency extends j{constructor(E,N){super(N);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}$(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,N,R)=>{"use strict";const j=R(35817);const $=R(76041);const q=R(76912);const G=R(4523);const{parseOptions:ie}=R(97264);const ae=j(R(28633),(()=>R(93944)),{name:"Container Plugin",baseDataPath:"options"});const ce="ContainerPlugin";class ContainerPlugin{constructor(E){ae(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ie(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:N,exposes:R,shareScope:j,filename:ie,library:ae,runtime:le}=this._options;E.options.output.enabledLibraryTypes.push(ae.type);E.hooks.make.tapAsync(ce,((E,q)=>{const G=new $(N,R,j);G.loc={name:N};E.addEntry(E.options.context,G,{name:N,filename:ie,runtime:le,library:ae},(E=>{if(E)return q(E);q()}))}));E.hooks.thisCompilation.tap(ce,((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new q);E.dependencyFactories.set(G,N)}))}}E.exports=ContainerPlugin},68839:(E,N,R)=>{"use strict";const j=R(61050);const $=R(76150);const q=R(35817);const G=R(27426);const ie=R(55525);const ae=R(68005);const ce=R(68679);const le=R(31122);const _e=R(44742);const{parseOptions:Te}=R(97264);const Ee=q(R(12e3),(()=>R(38279)),{name:"Container Reference Plugin",baseDataPath:"options"});const we="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Ee(E);this._remoteType=E.remoteType;this._remotes=Te(E.remotes,(N=>({external:Array.isArray(N)?N:[N],shareScope:E.shareScope||"default"})),(N=>({external:Array.isArray(N.external)?N.external:[N.external],shareScope:N.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:N,_remoteType:R}=this;const q={};for(const[E,R]of N){let N=0;for(const j of R.external){if(j.startsWith("internal "))continue;q[`webpack/container/reference/${E}${N?`/fallback-${N}`:""}`]=j;N++}}new j(R,q).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(_e,R);E.dependencyFactories.set(ie,R);E.dependencyFactories.set(G,new ae);R.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[R,j]of N){if(E.request.startsWith(`${R}`)&&(E.request.length===R.length||E.request.charCodeAt(R.length)===we)){return new ce(E.request,j.external.map(((E,N)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${R}${N?`/fallback-${N}`:""}`)),`.${E.request.slice(R.length)}`,j.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ContainerReferencePlugin",((N,R)=>{R.add($.module);R.add($.moduleFactoriesAddOnly);R.add($.hasOwnProperty);R.add($.initializeSharing);R.add($.shareScopeMap);E.addRuntimeModule(N,new le)}))}))}}E.exports=ContainerReferencePlugin},27426:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class FallbackDependency extends j{constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackDependency(N());R.deserialize(E);return R}}$(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class FallbackItemDependency extends j{constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}$(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(53453);const q=R(76150);const G=R(58159);const ie=R(56202);const ae=R(55525);const ce=new Set(["javascript"]);const le=new Set([q.module]);class FallbackModule extends ${constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new ae(E));$()}size(E){return this.requests.length*5+42}getSourceTypes(){return ce}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=this.dependencies.map((E=>R.getModuleId(N.getModule(E))));const q=G.asString([`var ids = ${JSON.stringify($)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",G.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ie=new Map;ie.set("javascript",new j(q));return{sources:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackModule(N());R.deserialize(E);return R}}ie(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,N,R)=>{"use strict";const j=R(40674);const $=R(13386);E.exports=class FallbackModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.requests)})}}},8019:(E,N,R)=>{"use strict";const j=R(92483);const $=R(16471);const q=R(35817);const G=R(10419);const ie=R(68839);const ae=q(R(43329),(()=>R(85195)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){ae(E);this._options=E}apply(E){const{_options:N}=this;const R=N.library||{type:"var",name:N.name};const q=N.remoteType||(N.library&&j(N.library.type)?N.library.type:"script");if(R&&!E.options.output.enabledLibraryTypes.includes(R.type)){E.options.output.enabledLibraryTypes.push(R.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(N.exposes&&(Array.isArray(N.exposes)?N.exposes.length>0:Object.keys(N.exposes).length>0)){new G({name:N.name,library:R,filename:N.filename,runtime:N.runtime,exposes:N.exposes}).apply(E)}if(N.remotes&&(Array.isArray(N.remotes)?N.remotes.length>0:Object.keys(N.remotes).length>0)){new ie({remoteType:q,remotes:N.remotes}).apply(E)}if(N.shared){new $({shared:N.shared,shareScope:N.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(27426);const ae=R(44742);const ce=new Set(["remote","share-init"]);const le=new Set([q.module]);class RemoteModule extends ${constructor(E,N,R,j){super("remote-module");this.request=E;this.externalRequests=N;this.internalRequest=R;this.shareScope=j;this._identifier=`remote (${j}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new ae(this.externalRequests[0]))}else{this.addDependency(new ie(this.externalRequests))}$()}size(E){return 6}getSourceTypes(){return ce}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=N.getModule(this.dependencies[0]);const q=$&&R.getModuleId($);const G=new Map;G.set("remote",new j(""));const ie=new Map;ie.set("share-init",[{shareScope:this.shareScope,initStage:20,init:q===undefined?"":`initExternal(${JSON.stringify(q)});`}]);return{sources:G,data:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.request);N(this.externalRequests);N(this.internalRequest);N(this.shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new RemoteModule(N(),N(),N(),N());R.deserialize(E);return R}}G(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class RemoteRuntimeModule extends ${constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,moduleGraph:$}=E;const G={};const ie={};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"remote");if(!R)continue;const j=G[E.id]=[];for(const E of R){const R=E;const q=R.internalRequest;const G=N.getModuleId(R);const ae=R.shareScope;const ce=R.dependencies[0];const le=$.getModule(ce);const _e=le&&N.getModuleId(le);j.push(G);ie[G]=[ae,q,_e]}}return q.asString([`var chunkMapping = ${JSON.stringify(G,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ie,null,"\t")};`,`${j.ensureChunkHandlers}.remotes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`var getScope = ${j.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${R.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',q.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${R.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${R.basicFunction("fn, arg1, arg2, d, next, first",["try {",q.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",q.indent([`var p = promise.then(${R.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",q.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",q.indent(["onError(error);"]),"}"])}`,`var onExternal = ${R.returningFunction(`external ? handleFunction(${j.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${R.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${R.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${R.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class RemoteToExternalDependency extends j{constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}$(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,N)=>{"use strict";const process=(E,N,R,j)=>{const array=E=>{for(const R of E){if(typeof R==="string"){j(R,N(R,R))}else if(R&&typeof R==="object"){object(R)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[$,q]of Object.entries(E)){if(typeof q==="string"||Array.isArray(q)){j($,N(q,$))}else{j($,R(q,$))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,N,R)=>{const j=[];process(E,N,R,((E,N)=>{j.push([E,N])}));return j};const scope=(E,N)=>{const R={};process(N,(E=>E),(E=>E),((N,j)=>{R[N.startsWith("./")?`${E}${N.slice(1)}`:`${E}/${N}`]=j}));return R};N.parseOptions=parseOptions;N.scope=scope},26802:(E,N,R)=>{"use strict";const{Tracer:j}=R(25954);const $=R(35817);const{dirname:q,mkdirpSync:G}=R(95396);const ie=$(R(2282),(()=>R(78555)),{name:"Profiling Plugin",baseDataPath:"options"});let ae=undefined;try{ae=R(31405)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new ae.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,N){if(this.hasSession()){return new Promise(((R,j)=>this.session.post(E,N,((E,N)=>{if(E!==null){j(E)}else{R(N)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const N=process.hrtime();const R=N[0]*1e6+Math.round(N[1]/1e3);if(E.startTimeR){const N=E.endTime-E.startTime;const j=R-this._startTime;const $=Math.max(0,j-N);E.startTime=this._startTime+$/2;E.endTime=R-$/2}return{profile:E}}))}}const createTrace=(E,N)=>{const R=new j({noStream:true});const $=new Profiler(ae);if(/\/|\\/.test(N)){const R=q(E,N);G(E,R)}const ie=E.createWriteStream(N);let ce=0;R.pipe(ie);R.instantEvent({name:"TracingStartedInPage",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});R.instantEvent({name:"TracingStartedInBrowser",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:R,counter:ce,profiler:$,end:E=>{ie.on("close",(()=>{E()}));R.push(null)}}};const ce="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ie(E);this.outputPath=E.outputPath||"events.json"}apply(E){const N=createTrace(E.intermediateFileSystem,this.outputPath);N.profiler.startProfiling();Object.keys(E.hooks).forEach((R=>{E.hooks[R].intercept(makeInterceptorFor("Compiler",N)(R))}));Object.keys(E.resolverFactory.hooks).forEach((R=>{E.resolverFactory.hooks[R].intercept(makeInterceptorFor("Resolver",N)(R))}));E.hooks.compilation.tap(ce,((E,{normalModuleFactory:R,contextModuleFactory:j})=>{interceptAllHooksFor(E,N,"Compilation");interceptAllHooksFor(R,N,"Normal Module Factory");interceptAllHooksFor(j,N,"Context Module Factory");interceptAllParserHooks(R,N);interceptAllJavascriptModulesPluginHooks(E,N)}));E.hooks.done.tapAsync({name:ce,stage:Infinity},((E,R)=>{N.profiler.stopProfiling().then((E=>{if(E===undefined){N.profiler.destroy();N.trace.flush();N.end(R);return}const j=E.profile.startTime;const $=E.profile.endTime;N.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++N.counter,cat:["toplevel"],ts:j,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});N.trace.completeEvent({name:"EvaluateScript",id:++N.counter,cat:["devtools.timeline"],ts:j,dur:$-j,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});N.trace.instantEvent({name:"CpuProfile",id:++N.counter,cat:["disabled-by-default-devtools.timeline"],ts:$,args:{data:{cpuProfile:E.profile}}});N.profiler.destroy();N.trace.flush();N.end(R)}))}))}}const interceptAllHooksFor=(E,N,R)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach((j=>{const $=E.hooks[j];if(!$._fakeHook){$.intercept(makeInterceptorFor(R,N)(j))}}))}};const interceptAllParserHooks=(E,N)=>{const R=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];R.forEach((R=>{E.hooks.parser.for(R).tap("ProfilingPlugin",((E,R)=>{interceptAllHooksFor(E,N,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,N)=>{interceptAllHooksFor({hooks:R(18161).getCompilationHooks(E)},N,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,N)=>E=>({register:({name:R,type:j,context:$,fn:q})=>{const G=makeNewProfiledTapFn(E,N,{name:R,type:j,fn:q});return{name:R,type:j,context:$,fn:G}}});const makeNewProfiledTapFn=(E,N,{name:R,type:j,fn:$})=>{const q=["blink.user_timing"];switch(j){case"promise":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=$(...E);return G.then((E=>{N.trace.end({name:R,id:j,cat:q});return E}))};case"async":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=E.pop();$(...E,((...E)=>{N.trace.end({name:R,id:j,cat:q});G(...E)}))};case"sync":return(...E)=>{const j=++N.counter;if(R===ce){return $(...E)}N.trace.begin({name:R,id:j,cat:q});let G;try{G=$(...E)}catch(E){N.trace.end({name:R,id:j,cat:q});throw E}N.trace.end({name:R,id:j,cat:q});return G};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);const G={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},o:{definition:"",content:"!(module.exports = #)",requests:[j.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[j.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[j.require,j.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[j.require,j.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends q{constructor(E,N,R,j,$){super();this.range=E;this.arrayRange=N;this.functionRange=R;this.objectRange=j;this.namedModule=$;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:N}=E;N(this.range);N(this.arrayRange);N(this.functionRange);N(this.objectRange);N(this.namedModule);N(this.localModule);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.arrayRange=N();this.functionRange=N();this.objectRange=N();this.namedModule=N();this.localModule=N();super.deserialize(E)}}$(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const j=E;const $=this.branch(j);const{definition:q,content:ie,requests:ae}=G[$];for(const E of ae){R.add(E)}this.replace(j,N,q,ie)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const N=this.localModuleVar(E)?"l":"";const R=E.arrayRange?"a":"";const j=E.objectRange?"o":"";const $=E.functionRange?"f":"";return N+R+j+$}replace(E,N,R,j){const $=this.localModuleVar(E);if($){j=j.replace(/XXX/g,$.replace(/\$/g,"$$$$"));R=R.replace(/XXX/g,$.replace(/\$/g,"$$$$"))}if(E.namedModule){j=j.replace(/YYY/g,JSON.stringify(E.namedModule))}const q=j.split("#");if(R)N.insert(0,R);let G=E.range[0];if(E.arrayRange){N.replace(G,E.arrayRange[0]-1,q.shift());G=E.arrayRange[1]}if(E.objectRange){N.replace(G,E.objectRange[0]-1,q.shift());G=E.objectRange[1]}else if(E.functionRange){N.replace(G,E.functionRange[0]-1,q.shift());G=E.functionRange[1]}N.replace(G,E.range[1]-1,q.shift());if(q.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,N,R)=>{"use strict";const j=R(76150);const $=R(46960);const q=R(95715);const G=R(38145);const ie=R(29022);const ae=R(66298);const ce=R(95601);const le=R(28140);const _e=R(14229);const{addLocalModule:Te,getLocalModule:Ee}=R(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,N,R,j,$){if(R.isArray()){R.items.forEach(((R,q)=>{if(R.isString()&&["require","module","exports"].includes(R.string))j[q]=R.string;const G=this.processItem(E,N,R,$);if(G===undefined){this.processContext(E,N,R)}}));return true}else if(R.isConstArray()){const $=[];R.array.forEach(((R,q)=>{let G;let ie;if(R==="require"){j[q]=R;G="__webpack_require__"}else if(["exports","module"].includes(R)){j[q]=R;G=R}else if(ie=Ee(E.state,R)){ie.flagUsed();G=new _e(ie,undefined,false);G.loc=N.loc;E.state.module.addPresentationalDependency(G)}else{G=this.newRequireItemDependency(R);G.loc=N.loc;G.optional=!!E.scope.inTry;E.state.current.addDependency(G)}$.push(G)}));const q=this.newRequireArrayDependency($,R.range);q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(q);return true}}processItem(E,N,R,$){if(R.isConditional()){R.options.forEach((R=>{const j=this.processItem(E,N,R);if(j===undefined){this.processContext(E,N,R)}}));return true}else if(R.isString()){let q,G;if(R.string==="require"){q=new ae("__webpack_require__",R.range,[j.require])}else if(R.string==="exports"){q=new ae("exports",R.range,[j.exports])}else if(R.string==="module"){q=new ae("module",R.range,[j.module])}else if(G=Ee(E.state,R.string,$)){G.flagUsed();q=new _e(G,R.range,false)}else{q=this.newRequireItemDependency(R.string,R.range);q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true}q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}}processContext(E,N,R){const j=ce.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processCallDefine(E,N){let R,j,$,q;switch(N.arguments.length){case 1:if(isCallable(N.arguments[0])){j=N.arguments[0]}else if(N.arguments[0].type==="ObjectExpression"){$=N.arguments[0]}else{$=j=N.arguments[0]}break;case 2:if(N.arguments[0].type==="Literal"){q=N.arguments[0].value;if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}else{R=N.arguments[0];if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}break;case 3:q=N.arguments[0].value;R=N.arguments[1];if(isCallable(N.arguments[2])){j=N.arguments[2]}else if(N.arguments[2].type==="ObjectExpression"){$=N.arguments[2]}else{$=j=N.arguments[2]}break;default:return}le.bailout(E.state);let G=null;let ie=0;if(j){if(isUnboundFunctionExpression(j)){G=j.params}else if(isBoundFunctionExpression(j)){G=j.callee.object.params;ie=j.arguments.length-1;if(ie<0){ie=0}}}let ae=new Map;if(R){const j={};const $=E.evaluateExpression(R);const ce=this.processArray(E,N,$,j,q);if(!ce)return;if(G){G=G.slice(ie).filter(((N,R)=>{if(j[R]){ae.set(N.name,E.getVariableInfo(j[R]));return false}return true}))}}else{const N=["require","exports","module"];if(G){G=G.slice(ie).filter(((R,j)=>{if(N[j]){ae.set(R.name,E.getVariableInfo(N[j]));return false}return true}))}}let ce;if(j&&isUnboundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(G,(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.body.type==="BlockStatement"){E.detectMode(j.body.body);const N=E.prevStatement;E.preWalkStatement(j.body);E.prevStatement=N;E.walkStatement(j.body)}else{E.walkExpression(j.body)}}))}else if(j&&isBoundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(j.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.callee.object.body.type==="BlockStatement"){E.detectMode(j.callee.object.body.body);const N=E.prevStatement;E.preWalkStatement(j.callee.object.body);E.prevStatement=N;E.walkStatement(j.callee.object.body)}else{E.walkExpression(j.callee.object.body)}}));if(j.arguments){E.walkExpressions(j.arguments)}}else if(j||$){E.walkExpression(j||$)}const _e=this.newDefineDependency(N.range,R?R.range:null,j?j.range:null,$?$.range:null,q?q:null);_e.loc=N.loc;if(q){_e.localModule=Te(E.state,q)}E.state.module.addPresentationalDependency(_e);return true}newDefineDependency(E,N,R,j,q){return new $(E,N,R,j,q)}newRequireArrayDependency(E,N){return new q(E,N)}newRequireItemDependency(E,N){return new ie(E,N)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,N,R)=>{"use strict";const j=R(76150);const{approve:$,evaluateToIdentifier:q,evaluateToString:G,toConstantDependency:ie}=R(48472);const ae=R(46960);const ce=R(98915);const le=R(95715);const _e=R(38145);const Te=R(19041);const Ee=R(45167);const we=R(29022);const{AMDDefineRuntimeModule:Ie,AMDOptionsRuntimeModule:Ne}=R(29035);const Me=R(66298);const Le=R(14229);const Be=R(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const N=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:R,normalModuleFactory:je})=>{E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyFactories.set(we,je);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,R);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(Be,new Be.Template);E.dependencyTemplates.set(Le,new Le.Template);E.hooks.runtimeRequirementInModule.for(j.amdDefine).tap("AMDPlugin",((E,N)=>{N.add(j.require)}));E.hooks.runtimeRequirementInModule.for(j.amdOptions).tap("AMDPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.amdDefine).tap("AMDPlugin",((N,R)=>{E.addRuntimeModule(N,new Ie)}));E.hooks.runtimeRequirementInTree.for(j.amdOptions).tap("AMDPlugin",((R,j)=>{E.addRuntimeModule(R,new Ne(N))}));const handler=(E,N)=>{if(N.amd!==undefined&&!N.amd)return;const tapOptionsHooks=(N,R,$)=>{E.hooks.expression.for(N).tap("AMDPlugin",ie(E,j.amdOptions,[j.amdOptions]));E.hooks.evaluateIdentifier.for(N).tap("AMDPlugin",q(N,R,$,true));E.hooks.evaluateTypeof.for(N).tap("AMDPlugin",G("object"));E.hooks.typeof.for(N).tap("AMDPlugin",ie(E,JSON.stringify("object")))};new Te(N).apply(E);new ce(N).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",G("function"));E.hooks.canRename.for("define").tap("AMDPlugin",$);E.hooks.rename.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",G("function"))};je.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);je.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,N,R)=>{"use strict";const j=R(84304);const $=R(56202);const q=R(12197);class AMDRequireArrayDependency extends q{constructor(E,N){super();this.depsArray=E;this.range=N}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.depsArray);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.depsArray=N();this.range=N();super.deserialize(E)}}$(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends j{apply(E,N,R){const j=E;const $=this.getContent(j,R);N.replace(j.range[0],j.range[1]-1,$)}getContent(E,N){const R=E.depsArray.map((E=>this.contentForDependency(E,N)));return`[${R.join(", ")}]`}contentForDependency(E,{runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:$}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return N.moduleExports({module:R.getModule(E),chunkGraph:j,request:E.request,runtimeRequirements:$})}}};E.exports=AMDRequireArrayDependency},38145:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);class AMDRequireContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=R(42740);E.exports=AMDRequireContextDependency},83842:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class AMDRequireDependenciesBlock extends j{constructor(E,N){super(null,E,N)}}$(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,N,R)=>{"use strict";const j=R(76150);const $=R(53558);const q=R(95715);const G=R(38145);const ie=R(83842);const ae=R(45167);const ce=R(29022);const le=R(66298);const _e=R(95601);const Te=R(14229);const{getLocalModule:Ee}=R(61701);const we=R(12584);const Ie=R(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,N){let R=true;const j=Ie(N);if(j){E.inScope(j.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if(j.fn.body.type==="BlockStatement"){E.walkStatement(j.fn.body)}else{E.walkExpression(j.fn.body)}}));E.walkExpressions(j.expressions);if(j.needThis===false){R=false}}else{E.walkExpression(N)}return R}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,N,R){if(R.isArray()){for(const j of R.items){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isConstArray()){const j=[];for(const $ of R.array){let R,q;if($==="require"){R="__webpack_require__"}else if(["exports","module"].includes($)){R=$}else if(q=Ee(E.state,$)){q.flagUsed();R=new Te(q,undefined,false);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}else{R=this.newRequireItemDependency($);R.loc=N.loc;R.optional=!!E.scope.inTry;E.state.current.addDependency(R)}j.push(R)}const $=this.newRequireArrayDependency(j,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency($);return true}}processItem(E,N,R){if(R.isConditional()){for(const j of R.options){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isString()){let $,q;if(R.string==="require"){$=new le("__webpack_require__",R.string,[j.require])}else if(R.string==="module"){$=new le(E.state.module.buildInfo.moduleArgument,R.range,[j.module])}else if(R.string==="exports"){$=new le(E.state.module.buildInfo.exportsArgument,R.range,[j.exports])}else if(q=Ee(E.state,R.string)){q.flagUsed();$=new Te(q,R.range,false)}else{$=this.newRequireItemDependency(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}}processContext(E,N,R){const j=_e.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processArrayForRequestString(E){if(E.isArray()){const N=E.items.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const N=E.options.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,N){let R;let j;let q;let G;const ie=E.state.current;if(N.arguments.length>=1){R=E.evaluateExpression(N.arguments[0]);j=this.newRequireDependenciesBlock(N.loc,this.processArrayForRequestString(R));q=this.newRequireDependency(N.range,R.range,N.arguments.length>1?N.arguments[1].range:null,N.arguments.length>2?N.arguments[2].range:null);q.loc=N.loc;j.addDependency(q);E.state.current=j}if(N.arguments.length===1){E.inScope([],(()=>{G=this.processArray(E,N,R)}));E.state.current=ie;if(!G)return;E.state.current.addBlock(j);return true}if(N.arguments.length===2||N.arguments.length===3){try{E.inScope([],(()=>{G=this.processArray(E,N,R)}));if(!G){const R=new we("unsupported",N.range);ie.addPresentationalDependency(R);if(E.state.module){E.state.module.addError(new $("Cannot statically analyse 'require(…, …)' in line "+N.loc.start.line,N.loc))}j=null;return true}q.functionBindThis=this.processFunctionArgument(E,N.arguments[1]);if(N.arguments.length===3){q.errorCallbackBindThis=this.processFunctionArgument(E,N.arguments[2])}}finally{E.state.current=ie;if(j)E.state.current.addBlock(j)}return true}}newRequireDependenciesBlock(E,N){return new ie(E,N)}newRequireDependency(E,N,R,j){return new ae(E,N,R,j)}newRequireItemDependency(E,N){return new ce(E,N)}newRequireArrayDependency(E,N){return new q(E,N)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class AMDRequireDependency extends q{constructor(E,N,R,j){super();this.outerRange=E;this.arrayRange=N;this.functionRange=R;this.errorCallbackRange=j;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.outerRange);N(this.arrayRange);N(this.functionRange);N(this.errorCallbackRange);N(this.functionBindThis);N(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.arrayRange=N();this.functionRange=N();this.errorCallbackRange=N();this.functionBindThis=N();this.errorCallbackBindThis=N();super.deserialize(E)}}$(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"AMD require",runtimeRequirements:G});if(ie.arrayRange&&!ie.functionRange){const E=`${ce}.then(function() {`;const R=`;})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.replace(ie.arrayRange[1],ie.outerRange[1]-1,R);return}if(ie.functionRange&&!ie.arrayRange){const E=`${ce}.then((`;const R=`).bind(exports, __webpack_require__, exports, module))['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.functionRange[0]-1,E);N.replace(ie.functionRange[1],ie.outerRange[1]-1,R);return}if(ie.arrayRange&&ie.functionRange&&ie.errorCallbackRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](`;const j=`${ie.errorCallbackBindThis?".bind(this)":""})`;N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.errorCallbackRange[0]-1,R);N.replace(ie.errorCallbackRange[1],ie.outerRange[1]-1,j);return}if(ie.arrayRange&&ie.functionRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.outerRange[1]-1,R)}}};E.exports=AMDRequireDependency},29022:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(87283);class AMDRequireItemDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"amd require"}get category(){return"amd"}}j(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=q;E.exports=AMDRequireItemDependency},29035:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AMDDefineRuntimeModule extends ${constructor(){super("amd define")}generate(){return q.asString([`${j.amdDefine} = function () {`,q.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends ${constructor(E){super("amd options");this.options=E}generate(){return q.asString([`${j.amdOptions} = ${JSON.stringify(this.options)};`])}}N.AMDDefineRuntimeModule=AMDDefineRuntimeModule;N.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,N,R)=>{"use strict";const j=R(84304);const $=R(63272);const q=R(56202);const G=R(12197);class CachedConstDependency extends G{constructor(E,N,R){super();this.expression=E;this.range=N;this.identifier=R;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.identifier);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.identifier=N();super.deserialize(E)}}q(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends j{apply(E,N,{runtimeTemplate:R,dependencyTemplates:j,initFragments:q}){const G=E;q.push(new $(`var ${G.identifier} = ${G.expression};\n`,$.STAGE_CONSTANTS,0,`const ${G.identifier}`));if(typeof G.range==="number"){N.insert(G.range,G.identifier);return}N.replace(G.range[0],G.range[1]-1,G.identifier)}};E.exports=CachedConstDependency},73456:(E,N,R)=>{"use strict";const j=R(76150);N.handleDependencyBase=(E,N,R)=>{let $=undefined;let q;switch(E){case"exports":R.add(j.exports);$=N.exportsArgument;q="expression";break;case"module.exports":R.add(j.module);$=`${N.moduleArgument}.exports`;q="expression";break;case"this":R.add(j.thisAsExports);$="this";q="expression";break;case"Object.defineProperty(exports)":R.add(j.exports);$=N.exportsArgument;q="Object.defineProperty";break;case"Object.defineProperty(module.exports)":R.add(j.module);$=`${N.moduleArgument}.exports`;q="Object.defineProperty";break;case"Object.defineProperty(this)":R.add(j.thisAsExports);$="this";q="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[q,$]}},1248:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(58159);const{equals:G}=R(73910);const ie=R(56202);const ae=R(68038);const{handleDependencyBase:ce}=R(73456);const le=R(79983);const _e=R(18971);const Te=Symbol("CommonJsExportRequireDependency.ids");const Ee={};class CommonJsExportRequireDependency extends le{constructor(E,N,R,j,$,q,G){super($);this.range=E;this.valueRange=N;this.base=R;this.names=j;this.ids=q;this.resultUsed=G;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return j.TRANSITIVE}getIds(E){return E.getMeta(this)[Te]||this.ids}setIds(E,N){E.getMeta(this)[Te]=N}getReferencedExports(E,N){const R=this.getIds(E);const getFullResult=()=>{if(R.length===0){return j.EXPORTS_OBJECT_REFERENCED}else{return[{name:R,canMangle:false}]}};if(this.resultUsed)return getFullResult();let q=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const R=q.getReadOnlyExportInfo(E);const G=R.getUsed(N);if(G===$.Unused)return j.NO_EXPORTS_REFERENCED;if(G!==$.OnlyPropertiesUsed)return getFullResult();q=R.exportsInfo;if(!q)return getFullResult()}if(q.otherExportsInfo.getUsed(N)!==$.Unused){return getFullResult()}const G=[];for(const E of q.orderedExports){_e(N,G,R.concat(E.name),E,false)}return G.map((E=>({name:E,canMangle:false})))}getExports(E){const N=this.getIds(E);if(this.names.length===1){const R=this.names[0];const j=E.getConnection(this);if(!j)return;return{exports:[{name:R,from:j,export:N.length===0?null:N,canMangle:!(R in Ee)&&false}],dependencies:[j.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Ee)&&false}],dependencies:undefined}}else{const R=E.getConnection(this);if(!R)return;const j=this.getStarReexports(E,undefined,R.module);if(j){return{exports:Array.from(j.exports,(E=>({name:E,from:R,export:N.concat(E),canMangle:!(E in Ee)&&false}))),dependencies:[R.module]}}else{return{exports:true,from:N.length===0?R:undefined,canMangle:false,dependencies:[R.module]}}}}getStarReexports(E,N,R=E.getModule(this)){let j=E.getExportsInfo(R);const q=this.getIds(E);if(q.length>0)j=j.getNestedExportsInfo(q);let G=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)G=G.getNestedExportsInfo(this.names);const ie=j&&j.otherExportsInfo.provided===false;const ae=G&&G.otherExportsInfo.getUsed(N)===$.Unused;if(!ie&&!ae){return}const ce=R.getExportsType(E,false)==="namespace";const le=new Set;const _e=new Set;if(ae){for(const E of G.orderedExports){const R=E.name;if(E.getUsed(N)===$.Unused)continue;if(R==="__esModule"&&ce){le.add(R)}else if(j){const E=j.getReadOnlyExportInfo(R);if(E.provided===false)continue;le.add(R);if(E.provided===true)continue;_e.add(R)}else{le.add(R);_e.add(R)}}}else if(ie){for(const E of j.orderedExports){const R=E.name;if(E.provided===false)continue;if(G){const E=G.getReadOnlyExportInfo(R);if(E.getUsed(N)===$.Unused)continue}le.add(R);if(E.provided===true)continue;_e.add(R)}if(ce){le.add("__esModule");_e.delete("__esModule")}}return{exports:le,checked:_e}}serialize(E){const{write:N}=E;N(this.asiSafe);N(this.range);N(this.valueRange);N(this.base);N(this.names);N(this.ids);N(this.resultUsed);super.serialize(E)}deserialize(E){const{read:N}=E;this.asiSafe=N();this.range=N();this.valueRange=N();this.base=N();this.names=N();this.ids=N();this.resultUsed=N();super.deserialize(E)}}ie(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends le.Template{apply(E,N,{module:R,runtimeTemplate:j,chunkGraph:$,moduleGraph:ie,runtimeRequirements:le,runtime:_e}){const Te=E;const Ee=ie.getExportsInfo(R).getUsedName(Te.names,_e);const[we,Ie]=ce(Te.base,R,le);const Ne=ie.getModule(Te);let Me=j.moduleExports({module:Ne,chunkGraph:$,request:Te.request,weak:Te.weak,runtimeRequirements:le});if(Ne){const E=Te.getIds(ie);const N=ie.getExportsInfo(Ne).getUsedName(E,_e);if(N){const R=G(N,E)?"":q.toNormalComment(ae(E))+" ";Me+=`${R}${ae(N)}`}}switch(we){case"expression":N.replace(Te.range[0],Te.range[1]-1,Ee?`${Ie}${ae(Ee)} = ${Me}`:`/* unused reexport */ ${Me}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(68038);const{handleDependencyBase:G}=R(73456);const ie=R(12197);const ae={};class CommonJsExportsDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.valueRange=N;this.base=R;this.names=j}get type(){return"cjs exports"}getExports(E){const N=this.names[0];return{exports:[{name:N,canMangle:!(N in ae)}],dependencies:undefined}}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.base);N(this.names);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.base=N();this.names=N();super.deserialize(E)}}$(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:$,initFragments:ie,runtimeRequirements:ae,runtime:ce}){const le=E;const _e=$.getExportsInfo(R).getUsedName(le.names,ce);const[Te,Ee]=G(le.base,R,ae);switch(Te){case"expression":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.range[1]-1,"__webpack_unused_export__");return}N.replace(le.range[0],le.range[1]-1,`${Ee}${q(_e)}`);return;case"Object.defineProperty":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.valueRange[0]-1,"__webpack_unused_export__ = (");N.replace(le.valueRange[1],le.range[1]-1,")");return}N.replace(le.range[0],le.valueRange[0]-1,`Object.defineProperty(${Ee}${q(_e.slice(0,-1))}, ${JSON.stringify(_e[_e.length-1])}, (`);N.replace(le.valueRange[1],le.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(72380);const{evaluateToString:q}=R(48472);const G=R(68038);const ie=R(1248);const ae=R(26702);const ce=R(94147);const le=R(28140);const _e=R(25702);const Te=R(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const N of E.properties){if(N.computed)continue;const E=N.key;if(E.type!=="Identifier"||E.name!=="value")continue;return N.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,N)=>{const R=[];while(N.type==="MemberExpression"){if(N.object.type==="Super")return;if(!N.property)return;const E=N.property;if(N.computed){if(E.type!=="Literal")return;R.push(`${E.value}`)}else{if(E.type!=="Identifier")return;R.push(E.name)}N=N.object}if(N.type!=="CallExpression"||N.arguments.length!==1)return;const j=N.callee;if(j.type!=="Identifier"||E.getVariableInfo(j.name)!=="require"){return}const $=N.arguments[0];if($.type==="SpreadElement")return;const q=E.evaluateExpression($);return{argument:q,ids:R.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{le.enable(E.state)};const checkNamespace=(N,R,j)=>{if(!le.isEnabled(E.state))return;if(R.length>0&&R[0]==="__esModule"){if(j&&isTruthyLiteral(j)&&N){le.setFlagged(E.state)}else{le.setDynamic(E.state)}}};const bailout=N=>{le.bailout(E.state);if(N)bailoutHint(N)};const bailoutHint=N=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${N}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",q("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",q("object"));const handleAssignExport=(N,R,j)=>{if(_e.isEnabled(E.state))return;const $=parseRequireCall(E,N.right);if($&&$.argument.isString()&&(j.length===0||j[0]!=="__esModule")){enableStructuredExports();if(j.length===0)le.setDynamic(E.state);const q=new ie(N.range,null,R,j,$.argument.string,$.ids,!E.isStatementLevelExpression(N));q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addDependency(q);return true}if(j.length===0)return;enableStructuredExports();const q=j;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(N),q,N.right);const G=new ae(N.left.range,null,R,q);G.loc=N.loc;E.state.module.addDependency(G);E.walkExpression(N.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAssignExport(E,"exports",N)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(N,"this",R)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAssignExport(E,"module.exports",N.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(N=>{const R=N;if(!E.isStatementLevelExpression(R))return;if(R.arguments.length!==3)return;if(R.arguments[0].type==="SpreadElement")return;if(R.arguments[1].type==="SpreadElement")return;if(R.arguments[2].type==="SpreadElement")return;const j=E.evaluateExpression(R.arguments[0]);if(!j||!j.isIdentifier())return;if(j.identifier!=="exports"&&j.identifier!=="module.exports"&&(j.identifier!=="this"||!E.scope.topLevelScope)){return}const $=E.evaluateExpression(R.arguments[1]);if(!$)return;const q=$.asString();if(typeof q!=="string")return;enableStructuredExports();const G=R.arguments[2];checkNamespace(E.statementPath.length===1,[q],getValueOfPropertyDescription(G));const ie=new ae(R.range,R.arguments[2].range,`Object.defineProperty(${j.identifier})`,[q]);ie.loc=R.loc;E.state.module.addDependency(ie);E.walkExpression(R.arguments[2]);return true}));const handleAccessExport=(N,R,j,q=undefined)=>{if(_e.isEnabled(E.state))return;if(j.length===0){bailout(`${R} is used directly at ${$(N.loc)}`)}if(q&&j.length===1){bailoutHint(`${R}${G(j)}(...) prevents optimization as ${R} is passed as call context at ${$(N.loc)}`)}const ie=new ce(N.range,R,j,!!q);ie.loc=N.loc;E.state.module.addDependency(ie);if(q){E.walkExpressions(q.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E.callee,"exports",N,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E,"exports",N)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",N.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E,"module.exports",N.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N.callee,"this",R,N)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",R)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(N=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(N=>{bailout();const R=_e.isEnabled(E.state);const $=new Te(R?j.harmonyModuleDecorator:j.nodeModuleDecorator,!R);$.loc=N.loc;E.state.module.addDependency($);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,N,R)=>{"use strict";const j=R(58159);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(79983);class CommonJsFullRequireDependency extends ie{constructor(E,N,R){super(E);this.range=N;this.names=R;this.call=false;this.asiSafe=undefined}getReferencedExports(E,N){if(this.call){const N=E.getModule(this);if(!N||N.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:N}=E;N(this.names);N(this.call);N(this.asiSafe);super.serialize(E)}deserialize(E){const{read:N}=E;this.names=N();this.call=N();this.asiSafe=N();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:q,moduleGraph:ie,chunkGraph:ae,runtimeRequirements:ce,runtime:le,initFragments:_e}){const Te=E;if(!Te.range)return;const Ee=ie.getModule(Te);let we=q.moduleExports({module:Ee,chunkGraph:ae,request:Te.request,weak:Te.weak,runtimeRequirements:ce});if(Ee){const E=Te.names;const N=ie.getExportsInfo(Ee).getUsedName(E,le);if(N){const R=$(N,E)?"":j.toNormalComment(G(E))+" ";const q=`${R}${G(N)}`;we=Te.asiSafe===true?`(${we}${q})`:`${we}${q}`}}N.replace(Te.range[0],Te.range[1]-1,we)}};q(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,N,R)=>{"use strict";const j=R(47207);const $=R(76150);const q=R(53558);const{evaluateToIdentifier:G,evaluateToString:ie,expressionIsUnsupported:ae,toConstantDependency:ce}=R(48472);const le=R(87519);const _e=R(51454);const Te=R(37313);const Ee=R(66298);const we=R(95601);const Ie=R(14229);const{getLocalModule:Ne}=R(61701);const Me=R(70340);const Le=R(84817);const Be=R(76913);const je=R(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const N=this.options;const tapRequireExpression=(N,R)=>{E.hooks.typeof.for(N).tap("CommonJsPlugin",ce(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(N).tap("CommonJsPlugin",ie("function"));E.hooks.evaluateIdentifier.for(N).tap("CommonJsPlugin",G(N,"require",R,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(N=>{const R=new Ee("var require;",0);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(N=>{const R=new Ee("undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",ce(E,$.moduleCache,[$.moduleCache,$.moduleId,$.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(R=>{const j=new _e({request:N.unknownContextRequest,recursive:N.unknownContextRecursive,regExp:N.unknownContextRegExp,mode:"sync"},R.range,undefined,E.scope.inShorthand);j.critical=N.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}));const processRequireItem=(N,R)=>{if(R.isString()){const j=new Te(R.string,R.range);j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}};const processRequireContext=(R,j)=>{const $=we.create(_e,R.range,j,R,N,{category:"commonjs"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true};const createRequireHandler=R=>$=>{if(N.commonjsMagicComments){const{options:N,errors:R}=E.parseCommentOptions($.range);if(R){for(const N of R){const{comment:R}=N;E.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(N){if(N.webpackIgnore!==undefined){if(typeof N.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${N.webpackIgnore}.`,$.loc))}else{if(N.webpackIgnore){return true}}}}}if($.arguments.length!==1)return;let G;const ie=E.evaluateExpression($.arguments[0]);if(ie.isConditional()){let N=false;for(const E of ie.options){const R=processRequireItem($,E);if(R===undefined){N=true}}if(!N){const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}}if(ie.isString()&&(G=Ne(E.state,ie.string))){G.flagUsed();const N=new Ie(G,$.range,R);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}else{const N=processRequireItem($,ie);if(N===undefined){processRequireContext($,ie)}else{const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.range,$);R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.loc;E.state.module.addDependency(R);return true}};const callChainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.callee.range,$);R.call=true;R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.callee.loc;E.state.module.addDependency(R);E.walkExpressions(N.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(N,R)=>{if(N.arguments.length!==1)return;const j=E.evaluateExpression(N.arguments[0]);if(j.isConditional()){for(const E of j.options){const j=processResolveItem(N,E,R);if(j===undefined){processResolveContext(N,E,R)}}const $=new je(N.callee.range);$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}else{const $=processResolveItem(N,j,R);if($===undefined){processResolveContext(N,j,R)}const q=new je(N.callee.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}};const processResolveItem=(N,R,j)=>{if(R.isString()){const $=new Be(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;$.weak=j;E.state.current.addDependency($);return true}};const processResolveContext=(R,j,$)=>{const q=we.create(Le,j.range,j,R,N,{category:"commonjs",mode:$?"weak":"sync"},E);if(!q)return;q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(31141);const G=R(58159);const ie=R(26702);const ae=R(87519);const ce=R(51454);const le=R(37313);const _e=R(94147);const Te=R(2706);const Ee=R(70340);const we=R(84817);const Ie=R(76913);const Ne=R(23380);const Me=R(35424);const Le=R(48235);const Be=R(42218);const{evaluateToIdentifier:je,toConstantDependency:Ue}=R(48472);const ze=R(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set(le,R);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(ae,R);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(ce,N);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(we,N);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(Ne,new Ne.Template);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(ze,R);E.dependencyTemplates.set(ze,new ze.Template);const $=new q(E.moduleGraph);E.dependencyFactories.set(_e,$);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Te,$);E.dependencyTemplates.set(Te,new Te.Template);E.hooks.runtimeRequirementInModule.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInModule.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new NodeModuleDecoratorRuntimeModule)}));const handler=(N,R)=>{if(R.commonjs!==undefined&&!R.commonjs)return;N.hooks.typeof.for("module").tap("CommonJsPlugin",Ue(N,JSON.stringify("object")));N.hooks.expression.for("require.main").tap("CommonJsPlugin",Ue(N,`${j.moduleCache}[${j.entryModuleId}]`,[j.moduleCache,j.entryModuleId]));N.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const R=new Me([j.moduleLoaded]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.id";const R=new Me([j.moduleId]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",je("module.hot","module",(()=>["hot"]),null));new Be(R).apply(N);new Le(E.moduleGraph).apply(N)};R.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends ${constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",G.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends ${constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class CommonJsRequireContextDependency extends ${constructor(E,N,R,j){super(E);this.range=N;this.valueRange=R;this.inShorthand=j}get type(){return"cjs require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.inShorthand);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.inShorthand=N();super.deserialize(E)}}j(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=q;E.exports=CommonJsRequireContextDependency},37313:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class CommonJsRequireDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=q;j(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,N,R)=>{"use strict";const j=R(76150);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(12197);class CommonJsSelfReferenceDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.base=N;this.names=R;this.call=j}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:N}=E;N(this.range);N(this.base);N(this.names);N(this.call);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.base=N();this.names=N();this.call=N();super.deserialize(E)}}q(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtime:ie,runtimeRequirements:ae}){const ce=E;let le;if(ce.names.length===0){le=ce.names}else{le=q.getExportsInfo(R).getUsedName(ce.names,ie)}if(!le){throw new Error("Self-reference dependency has unused export name: This should not happen")}let _e=undefined;switch(ce.base){case"exports":ae.add(j.exports);_e=R.exportsArgument;break;case"module.exports":ae.add(j.module);_e=`${R.moduleArgument}.exports`;break;case"this":ae.add(j.thisAsExports);_e="this";break;default:throw new Error(`Unsupported base ${ce.base}`)}if(_e===ce.base&&$(le,ce.names)){return}N.replace(ce.range[0],ce.range[1]-1,`${_e}${G(le)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class ConstDependency extends ${constructor(E,N,R){super();this.expression=E;this.range=N;this.runtimeRequirements=R?new Set(R):null;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){let E=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const N of this.runtimeRequirements){E+="|";E+=N}}this._hashUpdate=E}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.runtimeRequirements=N();super.deserialize(E)}}j(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(j.runtimeRequirements){for(const E of j.runtimeRequirements){R.runtimeRequirements.add(E)}}if(typeof j.range==="number"){N.insert(j.range,j.expression);return}N.replace(j.range[0],j.range[1]-1,j.expression)}};E.exports=ConstDependency},400:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(56202);const G=R(91671);const ie=G((()=>R(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends j{constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.inShorthand=undefined;this.replaces=undefined}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let N=super.getWarnings(E);if(this.critical){if(!N)N=[];const E=ie();N.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!N)N=[];const E=ie();N.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return N}serialize(E){const{write:N}=E;N(this.options);N(this.userRequest);N(this.critical);N(this.hadGlobalOrStickyRegExp);N(this.request);N(this.range);N(this.valueRange);N(this.prepend);N(this.replaces);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();this.userRequest=N();this.critical=N();this.hadGlobalOrStickyRegExp=N();this.request=N();this.range=N();this.valueRange=N();this.prepend=N();this.replaces=N();super.deserialize(E)}}q(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=$;E.exports=ContextDependency},95601:(E,N,R)=>{"use strict";const{parseResource:j}=R(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const N=E.lastIndexOf("/");let R=".";if(N>=0){R=E.substr(0,N);E=`.${E.substr(N)}`}return{context:R,prefix:E}};N.create=(E,N,R,$,q,G,ie)=>{if(R.isTemplateString()){let ae=R.quasis[0].string;let ce=R.quasis.length>1?R.quasis[R.quasis.length-1].string:"";const le=R.range;const{context:_e,prefix:Te}=splitContextFromPrefix(ae);const{path:Ee,query:we,fragment:Ie}=j(ce,ie);const Ne=R.quasis.slice(1,R.quasis.length-1);const Me=q.wrappedContextRegExp.source+Ne.map((E=>quoteMeta(E.string)+q.wrappedContextRegExp.source)).join("");const Le=new RegExp(`^${quoteMeta(Te)}${Me}${quoteMeta(Ee)}$`);const Be=new E({request:_e+we+Ie,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,le);Be.loc=$.loc;const je=[];R.parts.forEach(((E,N)=>{if(N%2===0){let j=E.range;let $=E.string;if(R.templateStringKind==="cooked"){$=JSON.stringify($);$=$.slice(1,$.length-1)}if(N===0){$=Te;j=[R.range[0],E.range[1]];$=(R.templateStringKind==="cooked"?"`":"String.raw`")+$}else if(N===R.parts.length-1){$=Ee;j=[E.range[0],R.range[1]];$=$+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===$){return}je.push({range:j,value:$})}else{ie.walkExpression(E.expression)}}));Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";return Be}else if(R.isWrapped()&&(R.prefix&&R.prefix.isString()||R.postfix&&R.postfix.isString())){let ae=R.prefix&&R.prefix.isString()?R.prefix.string:"";let ce=R.postfix&&R.postfix.isString()?R.postfix.string:"";const le=R.prefix&&R.prefix.isString()?R.prefix.range:null;const _e=R.postfix&&R.postfix.isString()?R.postfix.range:null;const Te=R.range;const{context:Ee,prefix:we}=splitContextFromPrefix(ae);const{path:Ie,query:Ne,fragment:Me}=j(ce,ie);const Le=new RegExp(`^${quoteMeta(we)}${q.wrappedContextRegExp.source}${quoteMeta(Ie)}$`);const Be=new E({request:Ee+Ne+Me,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,Te);Be.loc=$.loc;const je=[];if(le){je.push({range:le,value:JSON.stringify(we)})}if(_e){je.push({range:_e,value:JSON.stringify(Ie)})}Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ie&&R.wrappedInnerExpressions){for(const E of R.wrappedInnerExpressions){if(E.expression)ie.walkExpression(E.expression)}}return Be}else{const j=new E({request:q.exprContextRequest,recursive:q.exprContextRecursive,regExp:q.exprContextRegExp,mode:"sync",...G},N,R.range);j.loc=$.loc;j.critical=q.exprContextCritical&&"the request of a dependency is an expression";ie.walkExpression(R.expression);return j}}},94148:(E,N,R)=>{"use strict";const j=R(400);class ContextDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const j=R(400);class ContextDependencyTemplateAsRequireCall extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;let ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,runtimeRequirements:q});if(G.inShorthand){ie=`${G.inShorthand}: ${ie}`}if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ContextElementDependency extends q{constructor(E,N,R,j,$){super(E);this.referencedExports=$;this._typePrefix=R;this._category=j;if(N){this.userRequest=N}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}$(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class CreateScriptUrlDependency extends q{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.createScriptUrl);N.insert($.range[0],`${j.createScriptUrl}(`);N.insert($.range[1],")")}};$(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CriticalDependencyWarning extends j{constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}$(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class DelegatedSourceDependency extends ${constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}j(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class DllEntryDependency extends j{constructor(E,N){super();this.dependencies=E;this.name=N}get type(){return"dll entry"}serialize(E){const{write:N}=E;N(this.dependencies);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.dependencies=N();this.name=N();super.deserialize(E)}}$(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,N)=>{"use strict";const R=new WeakMap;N.bailout=E=>{const N=R.get(E);R.set(E,false);if(N===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};N.enable=E=>{const N=R.get(E);if(N===false)return;R.set(E,true);if(N!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};N.setFlagged=E=>{const N=R.get(E);if(N!==true)return;const j=E.module.buildMeta;if(j.exportsType==="dynamic")return;j.exportsType="flagged"};N.setDynamic=E=>{const N=R.get(E);if(N!==true)return;E.module.buildMeta.exportsType="dynamic"};N.isEnabled=E=>{const N=R.get(E);return N===true}},66583:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class EntryDependency extends ${constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}j(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const q=R(12197);const getProperty=(E,N,R,$,q)=>{if(!R){switch($){case"usedExports":{const R=E.getExportsInfo(N).getUsedExports(q);if(typeof R==="boolean"||R===undefined||R===null){return R}return Array.from(R).sort()}}}switch($){case"used":return E.getExportsInfo(N).getUsed(R,q)!==j.Unused;case"useInfo":{const $=E.getExportsInfo(N).getUsed(R,q);switch($){case j.Used:case j.OnlyPropertiesUsed:return true;case j.Unused:return false;case j.NoInfo:return undefined;case j.Unknown:return null;default:throw new Error(`Unexpected UsageState ${$}`)}}case"provideInfo":return E.getExportsInfo(N).isExportProvided(R)}return undefined};class ExportsInfoDependency extends q{constructor(E,N,R){super();this.range=E;this.exportName=N;this.property=R}serialize(E){const{write:N}=E;N(this.range);N(this.exportName);N(this.property);super.serialize(E)}static deserialize(E){const N=new ExportsInfoDependency(E.read(),E.read(),E.read());N.deserialize(E);return N}}$(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,runtime:$}){const q=E;const G=getProperty(j,R,q.exportName,q.property,$);N.replace(q.range[0],q.range[1]-1,G===undefined?"undefined":JSON.stringify(G))}};E.exports=ExportsInfoDependency},27790:(E,N,R)=>{"use strict";const j=R(58159);const $=R(56202);const q=R(37359);const G=R(12197);class HarmonyAcceptDependency extends G{constructor(E,N,R){super();this.range=E;this.dependencies=N;this.hasCallback=R}get type(){return"accepted harmony modules"}serialize(E){const{write:N}=E;N(this.range);N(this.dependencies);N(this.hasCallback);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.dependencies=N();this.hasCallback=N();super.deserialize(E)}}$(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends G.Template{apply(E,N,R){const $=E;const{module:G,runtime:ie,runtimeRequirements:ae,runtimeTemplate:ce,moduleGraph:le,chunkGraph:_e}=R;const Te=$.dependencies.map((E=>{const N=le.getModule(E);return{dependency:E,runtimeCondition:N?q.Template.getImportEmittedRuntime(G,N):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:N})=>{const $=ce.runtimeConditionExpression({chunkGraph:_e,runtime:ie,runtimeCondition:N,runtimeRequirements:ae});const q=E.getImportStatement(true,R);const G=q[0]+q[1];if($!=="true"){return`if (${$}) {\n${j.indent(G)}\n}\n`}return G})).join("");if($.hasCallback){if(ce.supportsArrowFunction()){N.insert($.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${Te}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{N.insert($.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${Te}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Ee=ce.supportsArrowFunction();N.insert($.range[1]-.5,`, ${Ee?"() =>":"function()"} { ${Te} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyAcceptImportDependency extends ${constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}j(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends $.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class HarmonyCompatibilityDependency extends ie{get type(){return"harmony export header"}}G(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:G,moduleGraph:ie,initFragments:ae,runtimeRequirements:ce,runtime:le,concatenationScope:_e}){if(_e)return;const Te=ie.getExportsInfo(R);if(Te.getReadOnlyExportInfo("__esModule").getUsed(le)!==j.Unused){const E=G.defineEsModuleFlagStatement({exportsArgument:R.exportsArgument,runtimeRequirements:ce});ae.push(new $(E,$.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ie.isAsync(R)){ce.add(q.module);ce.add(q.asyncModule);ae.push(new $(G.supportsArrowFunction()?`${q.asyncModule}(${R.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${q.asyncModule}(${R.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,$.STAGE_ASYNC_BOUNDARY,0,undefined,R.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,N,R)=>{"use strict";const j=R(28140);const $=R(54290);const q=R(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:N=false}=E||{};this.topLevelAwait=N}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(N=>{const R=E.state.module.type==="javascript/esm";const G=R||N.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(G){const N=E.state.module;const G=new $;G.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};N.addPresentationalDependency(G);j.bailout(E.state);q.enable(E.state,R);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const N=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!q.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}N.buildMeta.async=true}));const skipInHarmony=()=>{if(q.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(q.isEnabled(E.state)){return null}};const N=["define","exports"];for(const R of N){E.hooks.evaluateTypeof.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,N,R)=>{"use strict";const j=R(58018);const $=R(66298);const q=R(55037);const G=R(48752);const ie=R(44576);const ae=R(14696);const{ExportPresenceModes:ce}=R(37359);const{harmonySpecifierTag:le,getAssertions:_e}=R(29381);const Te=R(69707);const{HarmonyStarExportsList:Ee}=ie;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.reexportExportPresence!==undefined?ce.fromUserOption(E.reexportExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO}apply(E){const{exportPresenceMode:N}=this;E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(N=>{const R=new G(N.declaration&&N.declaration.range,N.range);R.loc=Object.create(N.loc);R.loc.index=-1;E.state.module.addPresentationalDependency(R);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new $("",N.range);j.loc=Object.create(N.loc);j.loc.index=-1;E.state.module.addPresentationalDependency(j);const q=new Te(R,E.state.lastHarmonyImportOrder,_e(N));q.loc=Object.create(N.loc);q.loc.index=-1;E.state.current.addDependency(q);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{const $=R.type==="FunctionDeclaration";const G=E.getComments([N.range[0],R.range[0]]);const ie=new q(R.range,N.range,G.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),R.type.endsWith("Declaration")&&R.id?R.id.name:$?{id:R.id?R.id.name:undefined,range:[R.range[0],R.params.length>0?R.params[0].range[0]:R.body.range[0]],prefix:`${R.async?"async ":""}function${R.generator?"*":""} `,suffix:`(${R.params.length>0?"":") "}`}:undefined);ie.loc=Object.create(N.loc);ie.loc.index=-1;E.state.current.addDependency(ie);j.addVariableUsage(E,R.type.endsWith("Declaration")&&R.id?R.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,$,q,G)=>{const ce=E.getTagData($,le);let _e;const Te=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;Te.add(q);j.addVariableUsage(E,$,q);if(ce){_e=new ie(ce.source,ce.sourceOrder,ce.ids,q,Te,null,N,null,ce.assertions)}else{_e=new ae($,q)}_e.loc=Object.create(R.loc);_e.loc.index=G;E.state.current.addDependency(_e);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,j,$,q,G)=>{const ae=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let ce=null;if(q){ae.add(q)}else{ce=E.state.harmonyStarExports=E.state.harmonyStarExports||new Ee}const le=new ie(j,E.state.lastHarmonyImportOrder,$?[$]:[],q,ae,ce&&ce.slice(),N,ce);if(ce){ce.push(le)}le.loc=Object.create(R.loc);le.loc.index=G;E.state.current.addDependency(le);return true}))}}},55037:(E,N,R)=>{"use strict";const j=R(77294);const $=R(76150);const q=R(56202);const G=R(82296);const ie=R(12197);class HarmonyExportExpressionDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.rangeStatement=N;this.prefix=R;this.declarationId=j}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);N(this.prefix);N(this.declarationId);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();this.prefix=N();this.declarationId=N();super.deserialize(E)}}q(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtimeTemplate:ie,runtimeRequirements:ae,initFragments:ce,runtime:le,concatenationScope:_e}){const Te=E;const{declarationId:Ee}=Te;const we=R.exportsArgument;if(Ee){let E;if(typeof Ee==="string"){E=Ee}else{E=j.DEFAULT_EXPORT;N.replace(Ee.range[0],Ee.range[1]-1,`${Ee.prefix}${E}${Ee.suffix}`)}if(_e){_e.registerExport("default",E)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){const R=new Map;R.set(N,`/* export default binding */ ${E}`);ce.push(new G(we,R))}}N.replace(Te.rangeStatement[0],Te.range[0]-1,`/* harmony default export */ ${Te.prefix}`)}else{let E;const Ee=j.DEFAULT_EXPORT;if(ie.supportsConst()){E=`/* harmony default export */ const ${Ee} = `;if(_e){_e.registerExport("default",Ee)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);const E=new Map;E.set(N,Ee);ce.push(new G(we,E))}else{E=`/* unused harmony default export */ var ${Ee} = `}}}else if(_e){E=`/* harmony default export */ var ${Ee} = `;_e.registerExport("default",Ee)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);E=`/* harmony default export */ ${we}[${JSON.stringify(N)}] = `}else{E=`/* unused harmony default export */ var ${Ee} = `}}if(Te.range){N.replace(Te.rangeStatement[0],Te.range[0]-1,E+"("+Te.prefix);N.replace(Te.range[1],Te.rangeStatement[1]-.5,");");return}N.replace(Te.rangeStatement[0],Te.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class HarmonyExportHeaderDependency extends ${constructor(E,N){super();this.range=E;this.rangeStatement=N}get type(){return"harmony export header"}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();super.deserialize(E)}}j(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends $.Template{apply(E,N,R){const j=E;const $="";const q=j.range?j.range[0]-1:j.rangeStatement[1]-1;N.replace(j.rangeStatement[0],q,$)}};E.exports=HarmonyExportHeaderDependency},44576:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(36756);const G=R(63272);const ie=R(76150);const ae=R(58159);const{countIterable:ce}=R(11539);const{first:le,combine:_e}=R(26221);const Te=R(56202);const Ee=R(68038);const{getRuntimeKey:we,keyToRuntime:Ie}=R(37416);const Ne=R(82296);const Me=R(37359);const Le=R(18971);const{ExportPresenceModes:Be}=Me;const je=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,N,R,j,$){this.name=E;this.ids=N;this.exportInfo=R;this.checked=j;this.hidden=$}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,N,R)=>{const j=new Set;const $=[];if(R){N=N.concat(R)}for(const R of N){const N=$.length;$[N]=j.size;const q=E.getModule(R);if(q){const R=E.getExportsInfo(q);for(const E of R.exports){if(E.provided===true&&E.name!=="default"&&!j.has(E.name)){j.add(E.name);$[N]=j.size}}}}$.push(j.size);return{names:Array.from(j),dependencyIndices:$}};const findDependencyForName=({names:E,dependencyIndices:N},R,j)=>{const $=j[Symbol.iterator]();const q=N[Symbol.iterator]();let G=$.next();let ie=q.next();if(ie.done)return;for(let N=0;N=ie.value){G=$.next();ie=q.next();if(ie.done)return}if(E[N]===R)return G.value}return undefined};const getMode=(E,N,R)=>{const j=E.getModule(N);if(!j){const E=new ExportMode("missing");E.userRequest=N.userRequest;return E}const q=N.name;const G=Ie(R);const ie=E.getParentModule(N);const ae=E.getExportsInfo(ie);if(q?ae.getUsed(q,G)===$.Unused:ae.isUsed(G)===false){const E=new ExportMode("unused");E.name=q||"*";return E}const ce=j.getExportsType(E,ie.buildMeta.strictHarmonyModule);const le=N.getIds(E);if(q&&le.length>0&&le[0]==="default"){switch(ce){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=q;return E}case"default-only":case"default-with-named":{const E=ae.getReadOnlyExportInfo(q);const N=new ExportMode("reexport-named-default");N.name=q;N.partialNamespaceExportInfo=E;return N}}}if(q){let E;const N=ae.getReadOnlyExportInfo(q);if(le.length>0){switch(ce){case"default-only":E=new ExportMode("reexport-undefined");E.name=q;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(q,le,N,false,false)];break}}else{switch(ce){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=q;E.partialNamespaceExportInfo=N}}return E}const{ignoredExports:_e,exports:Te,checked:Ee,hidden:we}=N.getStarReexports(E,G,ae,j);if(!Te){const E=new ExportMode("dynamic-reexport");E.ignored=_e;E.hidden=we;return E}if(Te.size===0){const E=new ExportMode("empty-star");E.hidden=we;return E}const Ne=new ExportMode("normal-reexport");Ne.items=Array.from(Te,(E=>new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),Ee.has(E),false)));if(we!==undefined){for(const E of we){Ne.items.push(new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),false,true))}}return Ne};class HarmonyExportImportedSpecifierDependency extends Me{constructor(E,N,R,j,$,q,G,ie,ae){super(E,N,ae);this.ids=R;this.name=j;this.activeExports=$;this.otherStarExports=q;this.exportPresenceMode=G;this.allStarExports=ie}couldAffectReferencingModule(){return j.TRANSITIVE}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[je]||this.ids}setIds(E,N){E.getMeta(this)[je]=N}getMode(E,N){return E.dependencyCacheProvide(this,we(N),getMode)}getStarReexports(E,N,R=E.getExportsInfo(E.getParentModule(this)),j=E.getModule(this)){const q=E.getExportsInfo(j);const G=q.otherExportsInfo.provided===false;const ie=R.otherExportsInfo.getUsed(N)===$.Unused;const ae=new Set(["default",...this.activeExports]);let ce=undefined;const le=this._discoverActiveExportsFromOtherStarExports(E);if(le!==undefined){ce=new Set;for(let E=0;E{const j=this.getMode(E,R);return j.type!=="unused"&&j.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){const R=this.getMode(E,N);switch(R.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return j.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return j.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo,R.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return j.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:j,exportInfo:$,hidden:q}of R.items){if(q)continue;Le(N,E,j,$,false)}return E}default:throw new Error(`Unknown mode ${R.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const N="length"in this.otherStarExports?this.otherStarExports.length:ce(this.otherStarExports);if(N===0)return undefined;if(this.allStarExports){const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}getExports(E){const N=this.getMode(E,undefined);switch(N.type){case"missing":return undefined;case"dynamic-reexport":{const R=E.getConnection(this);return{exports:true,from:R,canMangle:false,excludeExports:N.hidden?_e(N.ignored,N.hidden):N.ignored,hideExports:N.hidden,dependencies:[R.module]}}case"empty-star":return{exports:[],hideExports:N.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const R=E.getConnection(this);return{exports:Array.from(N.items,(E=>({name:E.name,from:R,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[R.module]}}case"reexport-dynamic-default":{{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}}case"reexport-undefined":return{exports:[N.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null,exports:[{name:"default",canMangle:false,from:R,export:null}]}],priority:1,dependencies:[R.module]}}case"reexport-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null}],priority:1,dependencies:[R.module]}}case"reexport-named-default":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}default:throw new Error(`Unknown mode ${N.type}`)}}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==Be.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?Be.ERROR:Be.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);let R=this.getLinkingErrors(E,N,`(reexported as '${this.name}')`);if(N.length===0&&this.name===null){const N=this._discoverActiveExportsFromOtherStarExports(E);if(N&&N.namesSlice>0){const j=new Set(N.names.slice(N.namesSlice,N.dependencyIndices[N.dependencyIndex]));const $=E.getModule(this);if($){const G=E.getExportsInfo($);const ie=new Map;for(const R of G.orderedExports){if(R.provided!==true)continue;if(R.name==="default")continue;if(this.activeExports.has(R.name))continue;if(j.has(R.name))continue;const q=findDependencyForName(N,R.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!q)continue;const G=R.getTerminalBinding(E);if(!G)continue;const ae=E.getModule(q);if(ae===$)continue;const ce=E.getExportInfo(ae,R.name);const le=ce.getTerminalBinding(E);if(!le)continue;if(G===le)continue;const _e=ie.get(q.request);if(_e===undefined){ie.set(q.request,[R.name])}else{_e.push(R.name)}}for(const[E,N]of ie){if(!R)R=[];R.push(new q(`The requested module '${this.request}' contains conflicting star exports for the ${N.length>1?"names":"name"} ${N.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return R}serialize(E){const{write:N,setCircularReference:R}=E;R(this);N(this.ids);N(this.name);N(this.activeExports);N(this.otherStarExports);N(this.exportPresenceMode);N(this.allStarExports);super.serialize(E)}deserialize(E){const{read:N,setCircularReference:R}=E;R(this);this.ids=N();this.name=N();this.activeExports=N();this.otherStarExports=N();this.exportPresenceMode=N();this.allStarExports=N();super.deserialize(E)}}Te(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Me.Template{apply(E,N,R){const{moduleGraph:j,runtime:$,concatenationScope:q}=R;const G=E;const ie=G.getMode(j,$);if(q){switch(ie.type){case"reexport-undefined":q.registerRawExport(ie.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ie.type!=="unused"&&ie.type!=="empty-star"){super.apply(E,N,R);this._addExportFragments(R.initFragments,G,ie,R.module,j,$,R.runtimeTemplate,R.runtimeRequirements)}}_addExportFragments(E,N,R,j,$,q,ce,Te){const Ee=$.getModule(N);const we=N.getImportVar($);switch(R.type){case"missing":case"empty-star":E.push(new G("/* empty/unused harmony star reexport */\n",G.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new G(`${ae.toNormalComment(`unused harmony reexport ${R.name}`)}\n`,G.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment(j,"reexport default from dynamic",$.getExportsInfo(j).getUsedName(R.name,q),we,null,Te));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments(j,$.getExportsInfo(j).getUsedName(R.name,q),we,R.fakeType,Te));break;case"reexport-undefined":E.push(this.getReexportFragment(j,"reexport non-default export from non-harmony",$.getExportsInfo(j).getUsedName(R.name,q),"undefined","",Te));break;case"reexport-named-default":E.push(this.getReexportFragment(j,"reexport default export from named module",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Te));break;case"reexport-namespace-object":E.push(this.getReexportFragment(j,"reexport module object",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Te));break;case"normal-reexport":for(const{name:ie,ids:ae,checked:ce,hidden:le}of R.items){if(le)continue;if(ce){E.push(new G("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(j,ie,we,ae,Te),$.isAsync(Ee)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder))}else{E.push(this.getReexportFragment(j,"reexport safe",$.getExportsInfo(j).getUsedName(ie,q),we,$.getExportsInfo(Ee).getUsedName(ae,q),Te))}}break;case"dynamic-reexport":{const q=R.hidden?_e(R.ignored,R.hidden):R.ignored;const ae=ce.supportsConst()&&ce.supportsArrowFunction();let Ie="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${we}) `;if(q.size>1){Ie+="if("+JSON.stringify(Array.from(q))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(q.size===1){Ie+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(le(q))}) `}Ie+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Ie+=`() => ${we}[__WEBPACK_IMPORT_KEY__]`}else{Ie+=`function(key) { return ${we}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}Te.add(ie.exports);Te.add(ie.definePropertyGetters);const Ne=j.exportsArgument;E.push(new G(`${Ie}\n/* harmony reexport (unknown) */ ${ie.definePropertyGetters}(${Ne}, __WEBPACK_REEXPORT_OBJECT__);\n`,$.isAsync(Ee)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder));break}default:throw new Error(`Unknown mode ${R.type}`)}}getReexportFragment(E,N,R,j,$,q){const G=this.getReturnValue(j,$);q.add(ie.exports);q.add(ie.definePropertyGetters);const ae=new Map;ae.set(R,`/* ${N} */ ${G}`);return new Ne(E.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(E,N,R,j,$){$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.createFakeNamespaceObject);const q=new Map;q.set(N,`/* reexport fake namespace object from non-harmony */ ${R}_namespace_cache || (${R}_namespace_cache = ${ie.createFakeNamespaceObject}(${R}${j?`, ${j}`:""}))`);return[new G(`var ${R}_namespace_cache;\n`,G.STAGE_CONSTANTS,-1,`${R}_namespace_cache`),new Ne(E.exportsArgument,q)]}getConditionalReexportStatement(E,N,R,j,$){if(j===false){return"/* unused export */\n"}const q=E.exportsArgument;const G=this.getReturnValue(R,j);$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.hasOwnProperty);return`if(${ie.hasOwnProperty}(${R}, ${JSON.stringify(j[0])})) ${ie.definePropertyGetters}(${q}, { ${JSON.stringify(N)}: function() { return ${G}; } });\n`}getReturnValue(E,N){if(N===null){return`${E}_default.a`}if(N===""){return E}if(N===false){return"/* unused export */ undefined"}return`${E}${Ee(N)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:N}){N(this);E(this.dependencies)}deserialize({read:E,setCircularReference:N}){N(this);this.dependencies=E()}}Te(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const{first:q}=R(26221);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const G=new Map;const ie=new Set;class HarmonyExportInitFragment extends j{constructor(E,N=G,R=ie){super(undefined,j.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=N;this.unusedExports=R}mergeAll(E){let N;let R=false;let j;let $=false;for(const q of E){if(q.exportMap.size!==0){if(N===undefined){N=q.exportMap;R=false}else{if(!R){N=new Map(N);R=true}for(const[E,R]of q.exportMap){if(!N.has(E))N.set(E,R)}}}if(q.unusedExports.size!==0){if(j===undefined){j=q.unusedExports;$=false}else{if(!$){j=new Set(j);$=true}for(const E of q.unusedExports){j.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,N,j)}merge(E){let N;if(this.exportMap.size===0){N=E.exportMap}else if(E.exportMap.size===0){N=this.exportMap}else{N=new Map(E.exportMap);for(const[E,R]of this.exportMap){if(!N.has(E))N.set(E,R)}}let R;if(this.unusedExports.size===0){R=E.unusedExports}else if(E.unusedExports.size===0){R=this.unusedExports}else{R=new Set(E.unusedExports);for(const E of this.unusedExports){R.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,N,R)}getContent({runtimeTemplate:E,runtimeRequirements:N}){N.add($.exports);N.add($.definePropertyGetters);const R=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${q(this.unusedExports)} */\n`:"";const j=[];for(const[N,R]of this.exportMap){j.push(`\n/* harmony export */ ${JSON.stringify(N)}: ${E.returningFunction(R)}`)}const G=this.exportMap.size>0?`/* harmony export */ ${$.definePropertyGetters}(${this.exportsArgument}, {${j.join(",")}\n/* harmony export */ });\n`:"";return`${G}${R}`}}E.exports=HarmonyExportInitFragment},14696:(E,N,R)=>{"use strict";const j=R(56202);const $=R(82296);const q=R(12197);class HarmonyExportSpecifierDependency extends q{constructor(E,N){super();this.id=E;this.name=N}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.id);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.id=N();this.name=N();super.deserialize(E)}}j(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,initFragments:q,runtime:G,concatenationScope:ie}){const ae=E;if(ie){ie.registerExport(ae.name,ae.id);return}const ce=j.getExportsInfo(R).getUsedName(ae.name,G);if(!ce){const E=new Set;E.add(ae.name||"namespace");q.push(new $(R.exportsArgument,undefined,E));return}const le=new Map;le.set(ce,`/* binding */ ${ae.id}`);q.push(new $(R.exportsArgument,le,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,N)=>{"use strict";const R=new WeakMap;N.enable=(E,N)=>{const j=R.get(E);if(j===false)return;R.set(E,true);if(j!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(N){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};N.isEnabled=E=>{const N=R.get(E);return N===true}},37359:(E,N,R)=>{"use strict";const j=R(11518);const $=R(28706);const q=R(36756);const G=R(63272);const ie=R(58159);const ae=R(10813);const{filterRuntime:ce,mergeRuntime:le}=R(37416);const _e=R(79983);const Te={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(E){switch(E){case"error":return Te.ERROR;case"warn":return Te.WARN;case false:return Te.NONE;default:throw new Error(`Invalid export presence value ${E}`)}}};class HarmonyImportDependency extends _e{constructor(E,N,R){super(E);this.sourceOrder=N;this.assertions=R}get category(){return"esm"}getReferencedExports(E,N){return $.NO_EXPORTS_REFERENCED}getImportVar(E){const N=E.getParentModule(this);const R=E.getMeta(N);let j=R.importVarMap;if(!j)R.importVarMap=j=new Map;let $=j.get(E.getModule(this));if($)return $;$=`${ie.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${j.size}__`;j.set(E.getModule(this),$);return $}getImportStatement(E,{runtimeTemplate:N,module:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){return N.importStatement({update:E,module:j.getModule(this),chunkGraph:$,importVar:this.getImportVar(j),request:this.request,originModule:R,runtimeRequirements:q})}getLinkingErrors(E,N,R){const j=E.getModule(this);if(!j||j.getNumberOfErrors()>0){return}const $=E.getParentModule(this);const G=j.getExportsType(E,$.buildMeta.strictHarmonyModule);if(G==="namespace"||G==="default-with-named"){if(N.length===0){return}if((G!=="default-with-named"||N[0]!=="default")&&E.isExportProvided(j,N)===false){let $=0;let G=E.getExportsInfo(j);while($`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'${j}`)]}G=j.getNestedExportsInfo()}return[new q(`export ${N.map((E=>`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'`)]}}switch(G){case"default-only":if(N.length>0&&N[0]!=="default"){return[new q(`Can't import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(N.length>0&&N[0]!=="default"&&j.buildMeta.defaultObject==="redirect-warn"){return[new q(`Should not import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:N}=E;N(this.sourceOrder);N(this.assertions);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceOrder=N();this.assertions=N();super.deserialize(E)}}E.exports=HarmonyImportDependency;const Ee=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends _e.Template{apply(E,N,R){const $=E;const{module:q,chunkGraph:ie,moduleGraph:_e,runtime:Te}=R;const we=_e.getConnection($);if(we&&!we.isTargetActive(Te))return;const Ie=we&&we.module;if(we&&we.weak&&Ie&&ie.getModuleId(Ie)===null){return}const Ne=Ie?Ie.identifier():$.request;const Me=`harmony import ${Ne}`;const Le=$.weak?false:we?ce(Te,(E=>we.isTargetActive(E))):true;if(q&&Ie){let E=Ee.get(q);if(E===undefined){E=new WeakMap;Ee.set(q,E)}let N=Le;const R=E.get(Ie)||false;if(R!==false&&N!==true){if(N===false||R===true){N=R}else{N=le(R,N)}}E.set(Ie,N)}const Be=$.getImportStatement(false,R);if(Ie&&R.moduleGraph.isAsync(Ie)){R.initFragments.push(new j(Be[0],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le));R.initFragments.push(new ae(new Set([$.getImportVar(R.moduleGraph)])));R.initFragments.push(new j(Be[1],G.STAGE_ASYNC_HARMONY_IMPORTS,$.sourceOrder,Me+" compat",Le))}else{R.initFragments.push(new j(Be[0]+Be[1],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le))}}static getImportEmittedRuntime(E,N){const R=Ee.get(E);if(R===undefined)return false;return R.get(N)||false}};E.exports.ExportPresenceModes=Te},29381:(E,N,R)=>{"use strict";const j=R(79972);const $=R(58018);const q=R(66298);const G=R(27790);const ie=R(80654);const ae=R(25702);const{ExportPresenceModes:ce}=R(37359);const le=R(69707);const _e=R(2230);const Te=Symbol("harmony import");function getAssertions(E){const N=E.assertions;if(N===undefined){return undefined}const R={};for(const E of N){const N=E.key.type==="Identifier"?E.key.name:E.key.value;R[N]=E.value.value}return R}E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.importExportPresence!==undefined?ce.fromUserOption(E.importExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){const{exportPresenceMode:N}=this;E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(N=>{const R=N;if(E.isVariableDefined(R.name)||E.getTagData(R.name,Te)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new q(E.isAsiPosition(N.range[0])?";":"",N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);E.unsetAsiPosition(N.range[1]);const $=getAssertions(N);const G=new le(R,E.state.lastHarmonyImportOrder,$);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((N,R,j,$)=>{const q=j===null?[]:[j];E.tagVariable($,Te,{name:$,source:R,ids:q,sourceOrder:E.state.lastHarmonyImportOrder,assertions:getAssertions(N)});return true}));E.hooks.expression.for(Te).tap("HarmonyImportDependencyParserPlugin",(R=>{const j=E.currentTagData;const q=new _e(j.source,j.sourceOrder,j.ids,j.name,R.range,N,j.assertions);q.shorthand=E.scope.inShorthand;q.directImport=true;q.asiSafe=!E.isAsiPosition(R.range[0]);q.loc=R.loc;E.state.module.addDependency(q);$.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(Te).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const q=E.currentTagData;const G=q.ids.concat(j);const ie=new _e(q.source,q.sourceOrder,G,q.name,R.range,N,q.assertions);ie.asiSafe=!E.isAsiPosition(R.range[0]);ie.loc=R.loc;E.state.module.addDependency(ie);$.onUsage(E.state,(E=>ie.usedByExports=E));return true}));E.hooks.callMemberChain.for(Te).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const{arguments:q,callee:G}=R;const ie=E.currentTagData;const ae=ie.ids.concat(j);const ce=new _e(ie.source,ie.sourceOrder,ae,ie.name,G.range,N,ie.assertions);ce.directImport=j.length===0;ce.call=true;ce.asiSafe=!E.isAsiPosition(G.range[0]);ce.namespaceObjectAsContext=j.length>0&&this.strictThisContextOnImports;ce.loc=G.loc;E.state.module.addDependency(ce);if(q)E.walkExpressions(q);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));const{hotAcceptCallback:R,hotAcceptWithoutCallback:ce}=j.getParserHooks(E);R.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,true);R.loc=N.loc;E.state.module.addDependency(R)}}));ce.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,false);R.loc=N.loc;E.state.module.addDependency(R)}}))}};E.exports.harmonySpecifierTag=Te;E.exports.getAssertions=getAssertions},69707:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyImportSideEffectDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"harmony side effect evaluation"}getCondition(E){return N=>{const R=N.resolvedModule;if(!R)return true;return R.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const N=E.getModule(this);if(!N)return true;return N.getSideEffectsConnectionState(E)}}j(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends $.Template{apply(E,N,R){const{moduleGraph:j,concatenationScope:$}=R;if($){const N=j.getModule(E);if($.isModuleInScope(N)){return}}super.apply(E,N,R)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,N,R)=>{"use strict";const j=R(28706);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(68038);const ie=R(37359);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:ce}=ie;class HarmonyImportSpecifierDependency extends ie{constructor(E,N,R,j,$,q,G){super(E,N,G);this.ids=R;this.name=j;this.range=$;this.exportPresenceMode=q;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const N=E.getMetaIfExisting(this);if(N===undefined)return this.ids;const R=N[ae];return R!==undefined?R:this.ids}setIds(E,N){E.getMeta(this)[ae]=N}getCondition(E){return $(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){let R=this.getIds(E);if(R.length===0)return j.EXPORTS_OBJECT_REFERENCED;let $=this.namespaceObjectAsContext;if(R[0]==="default"){const N=E.getParentModule(this);const q=E.getModule(this);switch(q.getExportsType(E,N.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(1);$=true;break;case"dynamic":return j.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&($||R.length>1)){if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(0,-1)}return[R]}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==ce.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?ce.ERROR:ce.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);return this.getLinkingErrors(E,N,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:N}=E;N(this.ids);N(this.name);N(this.range);N(this.exportPresenceMode);N(this.namespaceObjectAsContext);N(this.call);N(this.directImport);N(this.shorthand);N(this.asiSafe);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.ids=N();this.name=N();this.range=N();this.exportPresenceMode=N();this.namespaceObjectAsContext=N();this.call=N();this.directImport=N();this.shorthand=N();this.asiSafe=N();this.usedByExports=N();super.deserialize(E)}}q(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ie.Template{apply(E,N,R){const j=E;const{moduleGraph:$,module:q,runtime:ie,concatenationScope:ae}=R;const ce=$.getConnection(j);if(ce&&!ce.isTargetActive(ie))return;const le=j.getIds($);let _e;if(ce&&ae&&ae.isModuleInScope(ce.module)){if(le.length===0){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})}else if(j.namespaceObjectAsContext&&le.length===1){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})+G(le)}else{_e=ae.createModuleReference(ce.module,{ids:le,call:j.call,directImport:j.directImport,asiSafe:j.asiSafe})}}else{super.apply(E,N,R);const{runtimeTemplate:G,initFragments:ae,runtimeRequirements:ce}=R;_e=G.exportFromImport({moduleGraph:$,module:$.getModule(j),request:j.request,exportName:le,originModule:q,asiSafe:j.shorthand?true:j.asiSafe,isCall:j.call,callContext:!j.directImport,defaultInterop:true,importVar:j.getImportVar($),initFragments:ae,runtime:ie,runtimeRequirements:ce})}if(j.shorthand){N.insert(j.range[1],`: ${_e}`)}else{N.replace(j.range[0],j.range[1]-1,_e)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,N,R)=>{"use strict";const j=R(27790);const $=R(80654);const q=R(54290);const G=R(55037);const ie=R(48752);const ae=R(44576);const ce=R(14696);const le=R(69707);const _e=R(2230);const Te=R(11720);const Ee=R(16081);const we=R(29381);const Ie=R(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(le,N);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyTemplates.set(G,new G.Template);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(ae,N);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.harmony!==undefined&&!N.harmony)return;new Te(this.options).apply(E);new we(N).apply(E);new Ee(N).apply(E);(new Ie).apply(E)};N.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);N.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,N,R)=>{"use strict";const j=R(66298);const $=R(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(N=>{if(!E.scope.topLevelScope)return;if($.isEnabled(E.state)){const R=new j("undefined",N.range,null);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class ImportContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=q;E.exports=ImportContextDependency},20013:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ImportDependency extends q{constructor(E,N,R){super(E);this.range=N;this.referencedExports=R}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}$(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.moduleNamespacePromise({chunkGraph:q,block:ae,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ce)}};E.exports=ImportDependency},75708:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportEagerDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"import() eager"}get category(){return"esm"}}j(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportEagerDependency},76302:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}j(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=q;E.exports=ImportMetaHotAcceptDependency},5389:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}j(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=q;E.exports=ImportMetaHotDeclineDependency},38586:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(23280);const q=R(58159);const G=R(87250);const{evaluateToIdentifier:ie,toConstantDependency:ae,evaluateToString:ce,evaluateToNumber:le}=R(48472);const _e=R(91671);const Te=R(68038);const Ee=R(66298);const we=_e((()=>R(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:N})=>{const getUrl=E=>j(E.resource).toString();const parserHandler=(E,N)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",ae(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(N=>{const R=we();E.state.module.addWarning(new $(E.state.module,new R("Accessing import.meta directly is unsupported (only property access is supported)"),N.loc));const j=new Ee(`${E.isAsiPosition(N.range[0])?";":""}({})`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",ce("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ie("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",ae(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(N=>{const R=new Ee(JSON.stringify(getUrl(E.state.module)),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",ce("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(N=>(new G).setString(getUrl(E.state.module)).setRange(N.range)));const j=parseInt(R(37589).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify(j)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",ce("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",le(j));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((N,R)=>{const j=new Ee(`${q.toNormalComment("unsupported import.meta."+R.join("."))} undefined${Te(R,1)}`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const N=E;if(N.object.type==="MetaProperty"&&N.object.meta.name==="import"&&N.object.property.name==="meta"&&N.property.type===(N.computed?"Literal":"Identifier")){return(new G).setUndefined().setRange(N.range)}}))};N.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);N.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,N,R)=>{"use strict";const j=R(98221);const $=R(47207);const q=R(53558);const G=R(95601);const ie=R(4828);const ae=R(20013);const ce=R(75708);const le=R(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(N=>{const R=E.evaluateExpression(N.source);let _e=null;let Te="lazy";let Ee=null;let we=null;let Ie=null;const Ne={};const{options:Me,errors:Le}=E.parseCommentOptions(N.range);if(Le){for(const N of Le){const{comment:R}=N;E.state.module.addWarning(new $(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(Me){if(Me.webpackIgnore!==undefined){if(typeof Me.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Me.webpackIgnore}.`,N.loc))}else{if(Me.webpackIgnore){return false}}}if(Me.webpackChunkName!==undefined){if(typeof Me.webpackChunkName!=="string"){E.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Me.webpackChunkName}.`,N.loc))}else{_e=Me.webpackChunkName}}if(Me.webpackMode!==undefined){if(typeof Me.webpackMode!=="string"){E.state.module.addWarning(new q(`\`webpackMode\` expected a string, but received: ${Me.webpackMode}.`,N.loc))}else{Te=Me.webpackMode}}if(Me.webpackPrefetch!==undefined){if(Me.webpackPrefetch===true){Ne.prefetchOrder=0}else if(typeof Me.webpackPrefetch==="number"){Ne.prefetchOrder=Me.webpackPrefetch}else{E.state.module.addWarning(new q(`\`webpackPrefetch\` expected true or a number, but received: ${Me.webpackPrefetch}.`,N.loc))}}if(Me.webpackPreload!==undefined){if(Me.webpackPreload===true){Ne.preloadOrder=0}else if(typeof Me.webpackPreload==="number"){Ne.preloadOrder=Me.webpackPreload}else{E.state.module.addWarning(new q(`\`webpackPreload\` expected true or a number, but received: ${Me.webpackPreload}.`,N.loc))}}if(Me.webpackInclude!==undefined){if(!Me.webpackInclude||Me.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackInclude\` expected a regular expression, but received: ${Me.webpackInclude}.`,N.loc))}else{Ee=new RegExp(Me.webpackInclude)}}if(Me.webpackExclude!==undefined){if(!Me.webpackExclude||Me.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackExclude\` expected a regular expression, but received: ${Me.webpackExclude}.`,N.loc))}else{we=new RegExp(Me.webpackExclude)}}if(Me.webpackExports!==undefined){if(!(typeof Me.webpackExports==="string"||Array.isArray(Me.webpackExports)&&Me.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new q(`\`webpackExports\` expected a string or an array of strings, but received: ${Me.webpackExports}.`,N.loc))}else{if(typeof Me.webpackExports==="string"){Ie=[[Me.webpackExports]]}else{Ie=Array.from(Me.webpackExports,(E=>[E]))}}}}if(R.isString()){if(Te!=="lazy"&&Te!=="eager"&&Te!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${Te}.`,N.loc))}if(Te==="eager"){const j=new ce(R.string,N.range,Ie);E.state.current.addDependency(j)}else if(Te==="weak"){const j=new le(R.string,N.range,Ie);E.state.current.addDependency(j)}else{const $=new j({...Ne,name:_e},N.loc,R.string);const q=new ae(R.string,N.range,Ie);q.loc=N.loc;$.addDependency(q);E.state.current.addBlock($)}return true}else{if(Te!=="lazy"&&Te!=="lazy-once"&&Te!=="eager"&&Te!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${Te}.`,N.loc));Te="lazy"}if(Te==="weak"){Te="async-weak"}const j=G.create(ie,N.range,R,N,this.options,{chunkName:_e,groupOptions:Ne,include:Ee,exclude:we,mode:Te,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Ie},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}}))}}E.exports=ImportParserPlugin},54975:(E,N,R)=>{"use strict";const j=R(4828);const $=R(20013);const q=R(75708);const G=R(81467);const ie=R(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(q,R);E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(ie,R);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.import!==undefined&&!N.import)return;new G(N).apply(E)};R.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportWeakDependency extends ${constructor(E,N,R){super(E,N,R);this.weak=true}get type(){return"import() weak"}}j(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportWeakDependency},38895:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,N)=>({name:`${N}`,canMangle:true,exports:getExportsFromData(E)})))}else{const N=[];for(const R of Object.keys(E)){N.push({name:R,canMangle:true,exports:getExportsFromData(E[R])})}return N}}return undefined};class JsonExportsDependency extends ${constructor(E){super();this.exports=E;this._hashUpdate=undefined}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.exports?JSON.stringify(this.exports):"undefined"}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.exports);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();super.deserialize(E)}}j(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,N,R)=>{"use strict";const j=R(79983);class LoaderDependency extends j{constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,N,R)=>{"use strict";const j=R(79983);class LoaderImportDependency extends j{constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,N,R)=>{"use strict";const j=R(53520);const $=R(83379);const q=R(32876);const G=R(79486);class LoaderPlugin{constructor(E={}){}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set(G,N)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const N=E.moduleGraph;j.getCompilationHooks(E).loader.tap("LoaderPlugin",(R=>{R.loadModule=(j,G)=>{const ie=new q(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return G(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,context:R.context,recursive:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return G(j)}const q=N.getModule(ie);if(!q){return G(new Error("Cannot load the module"))}if(q.getNumberOfErrors()>0){return G(new Error("The loaded module contains errors"))}const ae=q.originalSource();if(!ae){return G(new Error("The module created for a LoaderDependency must have an original source"))}let ce,le;if(ae.sourceAndMap){const E=ae.sourceAndMap();le=E.map;ce=E.source}else{le=ae.map();ce=ae.source()}const _e=new $;const Te=new $;const Ee=new $;const we=new $;q.addCacheDependencies(_e,Te,Ee,we);for(const E of _e){R.addDependency(E)}for(const E of Te){R.addContextDependency(E)}for(const E of Ee){R.addMissingDependency(E)}for(const E of we){R.addBuildDependency(E)}return G(null,ce,le,q)}))};const importModule=(j,$,q)=>{const ie=new G(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return q(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,contextInfo:{issuerLayer:$.layer},context:R.context,connectOrigin:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return q(j)}const G=N.getModule(ie);if(!G){return q(new Error("Cannot load the module"))}E.executeModule(G,{entryOptions:{publicPath:$.publicPath}},((E,N)=>{if(E)return q(E);for(const E of N.fileDependencies){R.addDependency(E)}for(const E of N.contextDependencies){R.addContextDependency(E)}for(const E of N.missingDependencies){R.addMissingDependency(E)}for(const E of N.buildDependencies){R.addBuildDependency(E)}if(N.cacheable===false)R.cacheable(false);for(const[E,{source:j,info:$}]of N.assets){const{buildInfo:N}=R._module;if(!N.assets){N.assets=Object.create(null);N.assetsInfo=new Map}N.assets[E]=j;N.assetsInfo.set(E,$)}q(null,N.exports)}))}))};R.importModule=(E,N,R)=>{if(!R){return new Promise(((R,j)=>{importModule(E,N||{},((E,N)=>{if(E)j(E);else R(N)}))}))}return importModule(E,N||{},R)}}))}))}}E.exports=LoaderPlugin},77230:(E,N,R)=>{"use strict";const j=R(56202);class LocalModule{constructor(E,N){this.name=E;this.idx=N;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:N}=E;N(this.name);N(this.idx);N(this.used)}deserialize(E){const{read:N}=E;this.name=N();this.idx=N();this.used=N()}}j(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class LocalModuleDependency extends ${constructor(E,N,R){super();this.localModule=E;this.range=N;this.callNew=R}serialize(E){const{write:N}=E;N(this.localModule);N(this.range);N(this.callNew);super.serialize(E)}deserialize(E){const{read:N}=E;this.localModule=N();this.range=N();this.callNew=N();super.deserialize(E)}}j(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(!j.range)return;const $=j.callNew?`new (function () { return ${j.localModule.variableName()}; })()`:j.localModule.variableName();N.replace(j.range[0],j.range[1]-1,$)}};E.exports=LocalModuleDependency},61701:(E,N,R)=>{"use strict";const j=R(77230);const lookup=(E,N)=>{if(N.charAt(0)!==".")return N;var R=E.split("/");var j=N.split("/");R.pop();for(let E=0;E{if(!E.localModules){E.localModules=[]}const R=new j(N,E.localModules.length);E.localModules.push(R);return R};N.getLocalModule=(E,N,R)=>{if(!E.localModules)return null;if(R){N=lookup(R,N)}for(let R=0;R{"use strict";const j=R(28706);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class ModuleDecoratorDependency extends ie{constructor(E,N){super();this.decorator=E;this.allowExportsAccess=N;this._hashUpdate=undefined}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return this.allowExportsAccess?j.EXPORTS_OBJECT_REFERENCED:j.NO_EXPORTS_REFERENCED}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=`${this.decorator}${this.allowExportsAccess}`}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.decorator);N(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:N}=E;this.decorator=N();this.allowExportsAccess=N();super.deserialize(E)}}G(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ie.Template{apply(E,N,{module:R,chunkGraph:j,initFragments:G,runtimeRequirements:ie}){const ae=E;ie.add(q.moduleLoaded);ie.add(q.moduleId);ie.add(q.module);ie.add(ae.decorator);G.push(new $(`/* module decorator */ ${R.moduleArgument} = ${ae.decorator}(${R.moduleArgument});\n`,$.STAGE_PROVIDES,0,`module decorator ${j.getModuleId(R)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(91671);const G=q((()=>R(22804)));class ModuleDependency extends j{constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined;this.assertions=undefined}getResourceIdentifier(){let E=`module${this.request}`;if(this.assertions!==undefined){E+=JSON.stringify(this.assertions)}return E}couldAffectReferencingModule(){return true}createIgnoredModule(E){const N=G();return new N("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:N}=E;N(this.request);N(this.userRequest);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.userRequest=N();this.range=N();super.deserialize(E)}}ModuleDependency.Template=$;E.exports=ModuleDependency},80791:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$}){const q=E;if(!q.range)return;const G=R.moduleId({module:j.getModule(q),chunkGraph:$,request:q.request,weak:q.weak});N.replace(q.range[0],q.range[1]-1,G)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsRequireId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;if(!G.range)return;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});N.replace(G.range[0],G.range[1]-1,ie)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}j(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=q;E.exports=ModuleHotAcceptDependency},73158:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}j(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=q;E.exports=ModuleHotDeclineDependency},12197:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);class NullDependency extends j{get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends ${apply(E,N,R){}};E.exports=NullDependency},88281:(E,N,R)=>{"use strict";const j=R(79983);class PrefetchDependency extends j{constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends q{constructor(E,N,R,j){super(E);this.identifier=N;this.path=R;this.range=j;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.path?this.path.join(","):"null")}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.identifier);N(this.path);super.serialize(E)}deserialize(E){const{read:N}=E;this.identifier=N();this.path=N();super.deserialize(E)}}$(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,initFragments:G,runtimeRequirements:ie}){const ae=E;G.push(new j(`/* provided dependency */ var ${ae.identifier} = ${R.moduleExports({module:$.getModule(ae),chunkGraph:q,request:ae.request,runtimeRequirements:ie})}${pathToString(ae.path)};\n`,j.STAGE_PROVIDES,1,`provided ${ae.identifier}`));N.replace(ae.range[0],ae.range[1]-1,ae.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const{filterRuntime:q}=R(37416);const G=R(12197);class PureExpressionDependency extends G{constructor(E){super();this.range=E;this.usedByExports=false;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.usedByExports=N();super.deserialize(E)}}$(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends G.Template{apply(E,N,{chunkGraph:R,moduleGraph:$,runtime:G,runtimeTemplate:ie,runtimeRequirements:ae}){const ce=E;const le=ce.usedByExports;if(le!==false){const E=$.getParentModule(ce);const _e=$.getExportsInfo(E);const Te=q(G,(E=>{for(const N of le){if(_e.getUsed(N,E)!==j.Unused){return true}}return false}));if(Te===true)return;if(Te!==false){const E=ie.runtimeConditionExpression({chunkGraph:R,runtime:G,runtimeCondition:Te,runtimeRequirements:ae});N.insert(ce.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);N.insert(ce.range[1],") : null)");return}}N.insert(ce.range[0],`(/* unused pure expression or super */ null && (`);N.insert(ce.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(87283);class RequireContextDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"require.context"}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();super.deserialize(E)}}j(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=q;E.exports=RequireContextDependency},38947:(E,N,R)=>{"use strict";const j=R(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(N=>{let R=/^\.\/.*$/;let $=true;let q="sync";switch(N.arguments.length){case 4:{const R=E.evaluateExpression(N.arguments[3]);if(!R.isString())return;q=R.string}case 3:{const j=E.evaluateExpression(N.arguments[2]);if(!j.isRegExp())return;R=j.regExp}case 2:{const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;$=R.bool}case 1:{const G=E.evaluateExpression(N.arguments[0]);if(!G.isString())return;const ie=new j({request:G.string,recursive:$,regExp:R,mode:q,category:"commonjs"},N.range);ie.loc=N.loc;ie.optional=!!E.scope.inTry;E.state.current.addDependency(ie);return true}}}))}}},67634:(E,N,R)=>{"use strict";const{cachedSetProperty:j}=R(90149);const $=R(90872);const q=R(19204);const G=R(38947);const ie={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((N,{contextModuleFactory:R,normalModuleFactory:ae})=>{N.dependencyFactories.set(q,R);N.dependencyTemplates.set(q,new q.Template);N.dependencyFactories.set($,ae);const handler=(E,N)=>{if(N.requireContext!==undefined&&!N.requireContext)return;(new G).apply(E)};ae.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);R.hooks.alternativeRequests.tap("RequireContextPlugin",((N,R)=>{if(N.length===0)return N;const $=E.resolverFactory.get("normal",j(R.resolveOptions||ie,"dependencyType",R.category)).options;let q;if(!$.fullySpecified){q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.extensions){if(N.endsWith(E)){q.push({context:R,request:N.slice(0,-E.length)})}}if(!$.enforceExtension){q.push(E)}}N=q;q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.mainFiles){if(N.endsWith(`/${E}`)){q.push({context:R,request:N.slice(0,-E.length)});q.push({context:R,request:N.slice(0,-E.length-1)})}}q.push(E)}N=q}q=[];for(const E of N){let N=false;for(const R of $.modules){if(Array.isArray(R)){for(const j of R){if(E.request.startsWith(`./${j}/`)){q.push({context:E.context,request:E.request.slice(j.length+3)});N=true}}}else{const N=R.replace(/\\/g,"/");const j=E.context.replace(/\\/g,"/")+E.request.slice(1);if(j.startsWith(N)){q.push({context:E.context,request:j.slice(N.length+1)})}}}if(!N){q.push(E)}}return q}))}))}}E.exports=RequireContextPlugin},15196:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class RequireEnsureDependenciesBlock extends j{constructor(E,N){super(E,N,null)}}$(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,N,R)=>{"use strict";const j=R(15196);const $=R(15427);const q=R(81058);const G=R(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(N=>{let R=null;let ie=null;let ae=null;switch(N.arguments.length){case 4:{const j=E.evaluateExpression(N.arguments[3]);if(!j.isString())return;R=j.string}case 3:{ie=N.arguments[2];ae=G(ie);if(!ae&&!R){const j=E.evaluateExpression(N.arguments[2]);if(!j.isString())return;R=j.string}}case 2:{const ce=E.evaluateExpression(N.arguments[0]);const le=ce.isArray()?ce.items:[ce];const _e=N.arguments[1];const Te=G(_e);if(Te){E.walkExpressions(Te.expressions)}if(ae){E.walkExpressions(ae.expressions)}const Ee=new j(R,N.loc);const we=N.arguments.length===4||!R&&N.arguments.length===3;const Ie=new $(N.range,N.arguments[1].range,we&&N.arguments[2].range);Ie.loc=N.loc;Ee.addDependency(Ie);const Ne=E.state.current;E.state.current=Ee;try{let R=false;E.inScope([],(()=>{for(const E of le){if(E.isString()){const R=new q(E.string);R.loc=E.loc||N.loc;Ee.addDependency(R)}else{R=true}}}));if(R){return}if(Te){if(Te.fn.body.type==="BlockStatement"){E.walkStatement(Te.fn.body)}else{E.walkExpression(Te.fn.body)}}Ne.addBlock(Ee)}finally{E.state.current=Ne}if(!Te){E.walkExpression(_e)}if(ae){if(ae.fn.body.type==="BlockStatement"){E.walkStatement(ae.fn.body)}else{E.walkExpression(ae.fn.body)}}else if(ie){E.walkExpression(ie)}return true}}}))}}},15427:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireEnsureDependency extends q{constructor(E,N,R){super();this.range=E;this.contentRange=N;this.errorHandlerRange=R}get type(){return"require.ensure"}serialize(E){const{write:N}=E;N(this.range);N(this.contentRange);N(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.contentRange=N();this.errorHandlerRange=N();super.deserialize(E)}}$(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"require.ensure",runtimeRequirements:G});const le=ie.range;const _e=ie.contentRange;const Te=ie.errorHandlerRange;N.replace(le[0],_e[0]-1,`${ce}.then((`);if(Te){N.replace(_e[1],Te[0]-1,").bind(null, __webpack_require__))['catch'](");N.replace(Te[1],le[1]-1,")")}else{N.replace(_e[1],le[1]-1,`).bind(null, __webpack_require__))['catch'](${j.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(12197);class RequireEnsureItemDependency extends ${constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}j(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=q.Template;E.exports=RequireEnsureItemDependency},51727:(E,N,R)=>{"use strict";const j=R(15427);const $=R(81058);const q=R(90616);const{evaluateToString:G,toConstantDependency:ie}=R(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireEnsure!==undefined&&!N.requireEnsure)return;(new q).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",G("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ie(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireHeaderDependency extends q{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireHeaderDependency(E.read());N.deserialize(E);return N}}$(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.require);N.replace($.range[0],$.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class RequireIncludeDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}q(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R}){const j=E;const q=R.outputOptions.pathinfo?$.toComment(`require.include ${R.requestShortener.shorten(j.request)}`):"";N.replace(j.range[0],j.range[1]-1,`undefined${q}`)}};E.exports=RequireIncludeDependency},1913:(E,N,R)=>{"use strict";const j=R(81627);const{evaluateToString:$,toConstantDependency:q}=R(48472);const G=R(56202);const ie=R(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:N}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(R=>{if(R.arguments.length!==1)return;const j=E.evaluateExpression(R.arguments[0]);if(!j.isString())return;if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}const $=new ie(j.string,R.range);$.loc=R.loc;E.state.current.addDependency($);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return $("function")(R)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return q(E,JSON.stringify("function"))(R)}))}};class RequireIncludeDeprecationWarning extends j{constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}G(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,N,R)=>{"use strict";const j=R(63556);const $=R(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireInclude===false)return;const R=N.requireInclude===undefined;new $(R).apply(E)};N.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(94148);class RequireResolveContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=q;E.exports=RequireResolveContextDependency},76913:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);const G=R(80791);class RequireResolveDependency extends q{constructor(E,N){super(E);this.range=N}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}}$(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=G;E.exports=RequireResolveDependency},23380:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RequireResolveHeaderDependency extends ${constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireResolveHeaderDependency(E.read());N.deserialize(E);return N}}j(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends $.Template{apply(E,N,R){const j=E;N.replace(j.range[0],j.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,N,R){R.replace(N.range[0],N.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RuntimeRequirementsDependency extends ${constructor(E){super();this.runtimeRequirements=new Set(E);this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.runtimeRequirements=N();super.deserialize(E)}}j(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends $.Template{apply(E,N,{runtimeRequirements:R}){const j=E;for(const E of j.runtimeRequirements){R.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class StaticExportsDependency extends ${constructor(E,N){super();this.exports=E;this.canMangle=N}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:N}=E;N(this.exports);N(this.canMangle);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();this.canMangle=N();super.deserialize(E)}}j(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const{evaluateToString:q,expressionIsUnsupported:G,toConstantDependency:ie}=R(48472);const ae=R(56202);const ce=R(66298);const le=R(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:N})=>{E.hooks.runtimeRequirementInModule.for(j.system).tap("SystemPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.system).tap("SystemPlugin",((N,R)=>{E.addRuntimeModule(N,new le)}));const handler=(E,N)=>{if(N.system===undefined||!N.system){return}const setNotSupported=N=>{E.hooks.evaluateTypeof.for(N).tap("SystemPlugin",q("undefined"));E.hooks.expression.for(N).tap("SystemPlugin",G(E,N+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",q("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ie(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(N=>{const R=new ce(j.system,N.range,[j.system]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(N=>{E.state.module.addWarning(new SystemImportDeprecationWarning(N.loc));return E.hooks.importCall.call({type:"ImportExpression",source:N.arguments[0],loc:N.loc,range:N.range})}))};N.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends ${constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}ae(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class SystemRuntimeModule extends ${constructor(){super("system")}generate(){return q.asString([`${j.system} = {`,q.indent(["import: function () {",q.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,N,R)=>{"use strict";const j=R(76150);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(91671);const ie=R(79983);const ae=G((()=>R(22804)));class URLDependency extends ie{constructor(E,N,R,j){super(E);this.range=N;this.outerRange=R;this.relative=j||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return $(this,this.usedByExports,E)}createIgnoredModule(E){const N=ae();return new N('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([j.module]))}serialize(E){const{write:N}=E;N(this.outerRange);N(this.relative);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.relative=N();this.usedByExports=N();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ie.Template{apply(E,N,R){const{chunkGraph:$,moduleGraph:q,runtimeRequirements:G,runtimeTemplate:ie,runtime:ae}=R;const ce=E;const le=q.getConnection(ce);if(le&&!le.isTargetActive(ae)){N.replace(ce.outerRange[0],ce.outerRange[1]-1,"/* unused asset import */ undefined");return}G.add(j.require);if(ce.relative){G.add(j.relativeUrl);N.replace(ce.outerRange[0],ce.outerRange[1]-1,`/* asset import */ new ${j.relativeUrl}(${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})})`)}else{G.add(j.baseURI);N.replace(ce.range[0],ce.range[1]-1,`/* asset import */ ${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})}, ${j.baseURI}`)}}};q(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,N,R)=>{"use strict";const{approve:j}=R(48472);const $=R(58018);const q=R(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyTemplates.set(q,new q.Template);const parserCallback=(E,N)=>{if(N.url===false)return;const R=N.url==="relative";const getUrlRequest=N=>{if(N.arguments.length!==2)return;const[R,j]=N.arguments;if(j.type!=="MemberExpression"||R.type==="SpreadElement")return;const $=E.extractMemberExpressionChain(j);if($.members.length!==1||$.object.type!=="MetaProperty"||$.object.meta.name!=="import"||$.object.property.name!=="meta"||$.members[0]!=="url")return;const q=E.evaluateExpression(R).asString();return q};E.hooks.canRename.for("URL").tap("URLPlugin",j);E.hooks.new.for("URL").tap("URLPlugin",(N=>{const j=N;const G=getUrlRequest(j);if(!G)return;const[ie,ae]=j.arguments;const ce=new q(G,[ie.range[0],ae.range[1]],j.range,R);ce.loc=j.loc;E.state.module.addDependency(ce);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(N=>{const R=N;const{callee:j}=R;if(j.type!=="Identifier")return;const $=E.getFreeInfoFromVariable(j.name);if(!$||$.name!=="URL")return;const q=getUrlRequest(R);if(q)return true}))};N.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);N.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class UnsupportedDependency extends ${constructor(E,N){super();this.request=E;this.range=N}serialize(E){const{write:N}=E;N(this.request);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.range=N();super.deserialize(E)}}j(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R}){const j=E;N.replace(j.range[0],j.range[1],R.missingModule({request:j.request}))}};E.exports=UnsupportedDependency},30697:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class WebAssemblyExportImportedDependency extends q{constructor(E,N,R,j){super(N);this.exportName=E;this.name=R;this.valueType=j}couldAffectReferencingModule(){return j.TRANSITIVE}getReferencedExports(E,N){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:N}=E;N(this.exportName);N(this.name);N(this.valueType);super.serialize(E)}deserialize(E){const{read:N}=E;this.exportName=N();this.name=N();this.valueType=N();super.deserialize(E)}}$(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,N,R)=>{"use strict";const j=R(56202);const $=R(59422);const q=R(79983);class WebAssemblyImportDependency extends q{constructor(E,N,R,j){super(E);this.name=N;this.description=R;this.onlyDirectImport=j}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,N){return[[this.name]]}getErrors(E){const N=E.getModule(this);if(this.onlyDirectImport&&N&&!N.type.startsWith("webassembly")){return[new $(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:N}=E;N(this.name);N(this.description);N(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:N}=E;this.name=N();this.description=N();this.onlyDirectImport=N();super.deserialize(E)}}j(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class WebpackIsIncludedDependency extends G{constructor(E,N){super(E);this.weak=true;this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}q(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R,chunkGraph:j,moduleGraph:q}){const G=E;const ie=q.getConnection(G);const ae=ie?j.getNumberOfModuleChunks(ie.module)>0:false;const ce=R.outputOptions.pathinfo?$.toComment(`__webpack_is_included__ ${R.requestShortener.shorten(G.request)}`):"";N.replace(G.range[0],G.range[1]-1,`${ce}${JSON.stringify(ae)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,N,R)=>{"use strict";const j=R(28706);const $=R(76150);const q=R(56202);const G=R(79983);class WorkerDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends G.Template{apply(E,N,R){const{chunkGraph:j,moduleGraph:q,runtimeRequirements:G}=R;const ie=E;const ae=q.getParentBlock(E);const ce=j.getBlockChunkGroup(ae);const le=ce.getEntrypointChunk();G.add($.publicPath);G.add($.baseURI);G.add($.getChunkScriptFilename);N.replace(ie.range[0],ie.range[1]-1,`/* worker import */ ${$.publicPath} + ${$.getChunkScriptFilename}(${JSON.stringify(le.id)}), ${$.baseURI}`)}};q(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(98221);const q=R(47207);const G=R(53558);const ie=R(50369);const{equals:ae}=R(73910);const ce=R(35891);const{contextify:le}=R(49197);const _e=R(69085);const Te=R(66298);const Ee=R(7257);const{harmonySpecifierTag:we}=R(29381);const Ie=R(89017);const getUrl=E=>j(E.resource).toString();const Ne=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Me=new WeakMap;class WorkerPlugin{constructor(E,N,R){this._chunkLoading=E;this._wasmLoading=N;this._module=R}apply(E){if(this._chunkLoading){new ie(this._chunkLoading).apply(E)}if(this._wasmLoading){new _e(this._wasmLoading).apply(E)}const N=le.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(Ee,new Ee.Template);const parseModuleUrl=(E,N)=>{if(N.type!=="NewExpression"||N.callee.type==="Super"||N.arguments.length!==2)return;const[R,j]=N.arguments;if(R.type==="SpreadElement")return;if(j.type==="SpreadElement")return;const $=E.evaluateExpression(N.callee);if(!$.isIdentifier()||$.identifier!=="URL")return;const q=E.evaluateExpression(j);if(!q.isString()||!q.string.startsWith("file://")||q.string!==getUrl(E.state.module)){return}const G=E.evaluateExpression(R);return[G,[R.range[0],j.range[1]]]};const parseObjectExpression=(E,N)=>{const R={};const j={};const $=[];let q=false;for(const G of N.properties){if(G.type==="SpreadElement"){q=true}else if(G.type==="Property"&&!G.method&&!G.computed&&G.key.type==="Identifier"){j[G.key.name]=G.value;if(!G.shorthand&&!G.value.type.endsWith("Pattern")){const N=E.evaluateExpression(G.value);if(N.isCompileTimeValue())R[G.key.name]=N.asCompileTimeValue()}}else{$.push(G)}}const G=N.properties.length>0?"comma":"single";const ie=N.properties[N.properties.length-1].range[1];return{expressions:j,otherElements:$,values:R,spread:q,insertType:G,insertLocation:ie}};const parserPlugin=(R,j)=>{if(j.worker===false)return;const ie=!Array.isArray(j.worker)?["..."]:j.worker;const handleNewWorker=j=>{if(j.arguments.length===0||j.arguments.length>2)return;const[ie,ae]=j.arguments;if(ie.type==="SpreadElement")return;if(ae&&ae.type==="SpreadElement")return;const le=parseModuleUrl(R,ie);if(!le)return;const[_e,we]=le;if(!_e.isString())return;const{expressions:Ne,otherElements:Le,values:Be,spread:je,insertType:Ue,insertLocation:ze}=ae&&ae.type==="ObjectExpression"?parseObjectExpression(R,ae):{expressions:{},otherElements:[],values:{},spread:false,insertType:ae?"spread":"argument",insertLocation:ae?ae.range:ie.range[1]};const{options:We,errors:Je}=R.parseCommentOptions(j.range);if(Je){for(const E of Je){const{comment:N}=E;R.state.module.addWarning(new q(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${E.message}`,N.loc))}}let Ve={};if(We){if(We.webpackIgnore!==undefined){if(typeof We.webpackIgnore!=="boolean"){R.state.module.addWarning(new G(`\`webpackIgnore\` expected a boolean, but received: ${We.webpackIgnore}.`,j.loc))}else{if(We.webpackIgnore){return false}}}if(We.webpackEntryOptions!==undefined){if(typeof We.webpackEntryOptions!=="object"||We.webpackEntryOptions===null){R.state.module.addWarning(new G(`\`webpackEntryOptions\` expected a object, but received: ${We.webpackEntryOptions}.`,j.loc))}else{Object.assign(Ve,We.webpackEntryOptions)}}if(We.webpackChunkName!==undefined){if(typeof We.webpackChunkName!=="string"){R.state.module.addWarning(new G(`\`webpackChunkName\` expected a string, but received: ${We.webpackChunkName}.`,j.loc))}else{Ve.name=We.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(Ve,"name")&&Be&&typeof Be.name==="string"){Ve.name=Be.name}if(Ve.runtime===undefined){let j=Me.get(R.state)||0;Me.set(R.state,j+1);let $=`${N(R.state.module.identifier())}|${j}`;const q=ce(E.outputOptions.hashFunction);q.update($);const G=q.digest(E.outputOptions.hashDigest);Ve.runtime=G.slice(0,E.outputOptions.hashDigestLength)}const qe=new $({name:Ve.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...Ve}});qe.loc=j.loc;const He=new Ie(_e.string,we);He.loc=j.loc;qe.addDependency(He);R.state.module.addBlock(qe);if(E.outputOptions.trustedTypes){const E=new Ee(j.arguments[0].range);E.loc=j.loc;R.state.module.addDependency(E)}if(Ne.type){const E=Ne.type;if(Be.type!==false){const N=new Te(this._module?'"module"':"undefined",E.range);N.loc=E.loc;R.state.module.addPresentationalDependency(N);Ne.type=undefined}}else if(Ue==="comma"){if(this._module||je){const E=new Te(`, type: ${this._module?'"module"':"undefined"}`,ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}else if(Ue==="spread"){const E=new Te("Object.assign({}, ",ze[0]);const N=new Te(`, { type: ${this._module?'"module"':"undefined"} })`,ze[1]);E.loc=j.loc;N.loc=j.loc;R.state.module.addPresentationalDependency(E);R.state.module.addPresentationalDependency(N)}else if(Ue==="argument"){if(this._module){const E=new Te(', { type: "module" }',ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}R.walkExpression(j.callee);for(const E of Object.keys(Ne)){if(Ne[E])R.walkExpression(Ne[E])}for(const E of Le){R.walkProperty(E)}if(Ue==="spread"){R.walkExpression(ae)}return true};const processItem=E=>{if(E.endsWith("()")){R.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const N=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(N){const E=N[1].split(".");const j=N[2];const $=N[3];(j?R.hooks.call:R.hooks.new).for(we).tap("WorkerPlugin",(N=>{const j=R.currentTagData;if(!j||j.source!==$||!ae(j.ids,E)){return}return handleNewWorker(N)}))}else{R.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ie){if(E==="..."){Ne.forEach(processItem)}else processItem(E)}};R.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);R.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const processExportInfo=(E,N,R,$,q=false,G=new Set)=>{if(!$){N.push(R);return}const ie=$.getUsed(E);if(ie===j.Unused)return;if(G.has($)){N.push(R);return}G.add($);if(ie!==j.OnlyPropertiesUsed||!$.exportsInfo||$.exportsInfo.otherExportsInfo.getUsed(E)!==j.Unused){G.delete($);N.push(R);return}const ae=$.exportsInfo;for(const j of ae.orderedExports){processExportInfo(E,N,q&&j.name==="default"?R:R.concat(j.name),j,false,G)}G.delete($)};E.exports=processExportInfo},25726:(E,N,R)=>{"use strict";const j=R(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new j("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new j("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new j("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,N,R)=>{"use strict";const j=R(81627);class BuildCycleError extends j{constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,N,R)=>{"use strict";const j=R(66804);class ExportWebpackRequireRuntimeModule extends j{constructor(){super("export webpack runtime",j.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(2991);const{RuntimeGlobals:q}=R(86443);const G=R(22352);const ie=R(58159);const{getCompilationHooks:ae,getChunkFilenameTemplate:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((N,R)=>{if(N.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(N)>0){R.add(q.require);R.add(q.startupEntrypoint);R.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("ModuleChunkFormatPlugin",((R,ae)=>{const{chunk:_e,chunkGraph:Te,runtimeTemplate:Ee}=ae;const we=_e instanceof G?_e:null;const Ie=new j;if(we){throw new Error("HMR is not implemented for module chunk format yet")}else{Ie.add(`export const id = ${JSON.stringify(_e.id)};\n`);Ie.add(`export const ids = ${JSON.stringify(_e.ids)};\n`);Ie.add(`export const modules = `);Ie.add(R);Ie.add(`;\n`);const G=Te.getChunkRuntimeModulesInOrder(_e);if(G.length>0){Ie.add("export const runtime =\n");Ie.add(ie.renderChunkRuntimeModules(G,ae))}const we=Array.from(Te.getChunkEntryModulesWithChunkGroupIterable(_e));if(we.length>0){const R=we[0][1].getRuntimeChunk();const G=E.getPath(ce(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const ie=E.getPath(ce(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");const Ne=G.pop();while(G.length>0&&ie.length>0&&G[0]===ie[0]){G.shift();ie.shift()}const Me=(G.length>0?"../".repeat(G.length):"./")+ie.join("/");const Le=new j;Le.add(Ie);Le.add(";\n\n// load runtime\n");Le.add(`import __webpack_require__ from ${JSON.stringify(Me)};\n`);Le.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Ne)};\n`);Le.add(`${q.externalInstallChunk}(__webpack_self_exports__);\n`);const Be=new $(le(Te,Ee,we,_e,false));Le.add(N.renderStartup.call(Be,we[we.length-1][0],{...ae,inlined:false}));return Le}}return Ie}));N.chunkHash.tap("ModuleChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update("ModuleChunkFormatPlugin");N.update("1");const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,N,R)=>{"use strict";const j=R(76150);const $=R(33228);const q=R(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading||N;return j==="import"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);E.addRuntimeModule(N,new q($))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;E.addRuntimeModule(N,new $)}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const{getChunkFilenameTemplate:ae,chunkHasJs:ce}=R(18161);const{getInitialChunkIds:le}=R(13085);const _e=R(87274);const{getUndoPath:Te}=R(49197);const Ee=new WeakMap;class ModuleChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Ee.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};Ee.set(E,N)}return N}constructor(E){super("import chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:N}=this;const{runtimeTemplate:R,chunkGraph:j,outputOptions:{importFunctionName:$,importMetaName:G}}=E;const Ee=q.ensureChunkHandlers;const we=this._runtimeRequirements.has(q.baseURI);const Ie=this._runtimeRequirements.has(q.externalInstallChunk);const Ne=this._runtimeRequirements.has(q.ensureChunkHandlers);const Me=this._runtimeRequirements.has(q.onChunksLoaded);const Le=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const Be=j.getChunkConditionMap(N,ce);const je=_e(Be);const Ue=le(N,j);const ze=this.compilation.getPath(ae(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const We=Te(ze,this.compilation.outputOptions.path,true);const Je=Le?`${q.hmrRuntimeStatePrefix}_module`:undefined;return ie.asString([we?ie.asString([`${q.baseURI} = new URL(${JSON.stringify(We)}, ${G}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Je?`${Je} = ${Je} || `:""}{`,ie.indent(Array.from(Ue,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ne||Ie?`var installChunk = ${R.basicFunction("data",[R.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ie.indent([`if(${q.hasOwnProperty}(modules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ie.indent(["chunkId = ids[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Me?`${q.onChunksLoaded}();`:""])}`:"// no install chunk","",Ne?ie.asString([`${Ee}.j = ${R.basicFunction("chunkId, promises",je!==false?ie.indent(["// import() chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[1]);"]),"} else {",ie.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = ${$}(${JSON.stringify(We)} + ${q.getChunkScriptFilename}(chunkId)).then(installChunk, ${R.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${R.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ie?ie.asString([`${q.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?`${q.onChunksLoaded}.j = ${R.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;E.exports=function(){var E={};var ae=R;var ce;var le=[];var _e=[];var Te="idle";var Ee;var we;var Ie;j=E;N.push((function(E){var N=E.module;var R=createRequire(E.require,E.id);N.hot=createModuleHotObject(E.id,N);N.parents=le;N.children=[];le=[];E.require=R}));q={};G={};function createRequire(E,N){var R=ae[N];if(!R)return E;var fn=function(j){if(R.hot.active){if(ae[j]){var $=ae[j].parents;if($.indexOf(N)===-1){$.push(N)}}else{le=[N];ce=j}if(R.children.indexOf(j)===-1){R.children.push(j)}}else{console.warn("[HMR] unexpected require("+j+") from disposed module "+N);le=[]}return E(j)};var createPropertyDescriptor=function(N){return{configurable:true,enumerable:true,get:function(){return E[N]},set:function(R){E[N]=R}}};for(var j in E){if(Object.prototype.hasOwnProperty.call(E,j)&&j!=="e"){Object.defineProperty(fn,j,createPropertyDescriptor(j))}}fn.e=function(N){return trackBlockingPromise(E.e(N))};return fn}function createModuleHotObject(N,R){var j=ce!==N;var $={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:j,_requireSelf:function(){le=R.parents.slice();ce=j?undefined:N;ie(N)},active:true,accept:function(E,N,R){if(E===undefined)$._selfAccepted=true;else if(typeof E==="function")$._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var j=0;j=0)$._disposeHandlers.splice(N,1)},invalidate:function(){this._selfInvalidated=true;switch(Te){case"idle":we=[];Object.keys(G).forEach((function(E){G[E](N,we)}));setStatus("ready");break;case"ready":Object.keys(G).forEach((function(E){G[E](N,we)}));break;case"prepare":case"check":case"dispose":case"apply":(Ie=Ie||[]).push(N);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return Te;_e.push(E)},addStatusHandler:function(E){_e.push(E)},removeStatusHandler:function(E){var N=_e.indexOf(E);if(N>=0)_e.splice(N,1)},data:E[N]};ce=undefined;return $}function setStatus(E){Te=E;var N=[];for(var R=0;R<_e.length;R++)N[R]=_e[R].call(null,E);return Promise.all(N)}function trackBlockingPromise(E){switch(Te){case"ready":setStatus("prepare");Ee.push(E);waitForBlockingPromises((function(){return setStatus("ready")}));return E;case"prepare":Ee.push(E);return E;default:return E}}function waitForBlockingPromises(E){if(Ee.length===0)return E();var N=Ee;Ee=[];return Promise.all(N).then((function(){return waitForBlockingPromises(E)}))}function hotCheck(E){if(Te!=="idle"){throw new Error("check() is only allowed in idle status")}return setStatus("check").then($).then((function(N){if(!N){return setStatus(applyInvalidatedModules()?"ready":"idle").then((function(){return null}))}return setStatus("prepare").then((function(){var R=[];Ee=[];we=[];return Promise.all(Object.keys(q).reduce((function(E,j){q[j](N.c,N.r,N.m,E,we,R);return E}),[])).then((function(){return waitForBlockingPromises((function(){if(E){return internalApply(E)}else{return setStatus("ready").then((function(){return R}))}}))}))}))}))}function hotApply(E){if(Te!=="ready"){return Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")}))}return internalApply(E)}function internalApply(E){E=E||{};applyInvalidatedModules();var N=we.map((function(N){return N(E)}));we=undefined;var R=N.map((function(E){return E.error})).filter(Boolean);if(R.length>0){return setStatus("abort").then((function(){throw R[0]}))}var j=setStatus("dispose");N.forEach((function(E){if(E.dispose)E.dispose()}));var $=setStatus("apply");var q;var reportError=function(E){if(!q)q=E};var G=[];N.forEach((function(E){if(E.apply){var N=E.apply(reportError);if(N){for(var R=0;R{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HotModuleReplacementRuntimeModule extends ${constructor(){super("hot module replacement",$.STAGE_BASIC)}generate(){return q.getFunctionContent(R(49464)).replace(/\$getFullHash\$/g,j.getFullHash).replace(/\$interceptModuleExecution\$/g,j.interceptModuleExecution).replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,j.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;var ae=undefined;var ce=undefined;var le=undefined;E.exports=function(){var E;var _e;var Te;var Ee;function applyHandler(R){if(q)delete q.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var N=[E];var R={};var $=N.map((function(E){return{chain:[E],id:E}}));while($.length>0){var q=$.pop();var G=q.id;var ie=q.chain;var ae=j[G];if(!ae||ae.hot._selfAccepted&&!ae.hot._selfInvalidated)continue;if(ae.hot._selfDeclined){return{type:"self-declined",chain:ie,moduleId:G}}if(ae.hot._main){return{type:"unaccepted",chain:ie,moduleId:G}}for(var ce=0;ce ")}switch(Le.type){case"self-declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of self decline: "+Le.moduleId+ze);break;case"declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of declined dependency: "+Le.moduleId+" in "+Le.parentId+ze);break;case"unaccepted":if(R.onUnaccepted)R.onUnaccepted(Le);if(!R.ignoreUnaccepted)Be=new Error("Aborted because "+Ne+" is not accepted"+ze);break;case"accepted":if(R.onAccepted)R.onAccepted(Le);je=true;break;case"disposed":if(R.onDisposed)R.onDisposed(Le);Ue=true;break;default:throw new Error("Unexception type "+Le.type)}if(Be){return{error:Be}}if(je){we[Ne]=Me;addAllToSet(ce,Le.outdatedModules);for(Ne in Le.outdatedDependencies){if(G(Le.outdatedDependencies,Ne)){if(!ae[Ne])ae[Ne]=[];addAllToSet(ae[Ne],Le.outdatedDependencies[Ne])}}}if(Ue){addAllToSet(ce,[Le.moduleId]);we[Ne]=Ie}}}_e=undefined;var We=[];for(var Je=0;Je0){var $=R.pop();var q=j[$];if(!q)continue;var le={};var _e=q.hot._disposeHandlers;for(Je=0;Je<_e.length;Je++){_e[Je].call(null,le)}ie[$]=le;q.hot.active=false;delete j[$];delete ae[$];for(Je=0;Je=0){Ee.parents.splice(E,1)}}}var we;for(var Ie in ae){if(G(ae,Ie)){q=j[Ie];if(q){He=ae[Ie];for(Je=0;Je=0)q.children.splice(E,1)}}}}},apply:function(E){for(var N in we){if(G(we,N)){$[N]=we[N]}}for(var q=0;q{"use strict";const{RawSource:j}=R(2991);const $=R(98221);const q=R(28706);const G=R(53453);const ie=R(40674);const ae=R(76150);const ce=R(58159);const le=R(37313);const{registerNotSerializable:_e}=R(24568);const Te=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N)}if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const Ee=new Set(["javascript"]);class LazyCompilationDependency extends q{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}_e(LazyCompilationDependency);class LazyCompilationProxyModule extends G{constructor(E,N,R,j,$,q){super("lazy-compilation-proxy",E,N.layer);this.originalModule=N;this.request=R;this.client=j;this.data=$;this.active=q}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.originalModule=N.originalModule;this.request=N.request;this.client=N.client;this.data=N.data;this.active=N.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,N){N(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,N,R,j,q){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const G=new le(this.client);this.addDependency(G);if(this.active){const E=new LazyCompilationDependency(this);const N=new $({});N.addDependency(E);this.addBlock(N)}q()}getSourceTypes(){return Ee}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:N,moduleGraph:R}){const $=new Map;const q=new Set;q.add(ae.module);const G=this.dependencies[0];const ie=R.getModule(G);const le=this.blocks[0];const _e=ce.asString([`var client = ${E.moduleExports({module:ie,chunkGraph:N,request:G.userRequest,runtimeRequirements:q})}`,`var data = ${JSON.stringify(this.data)};`]);const Te=ce.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!le)}, module: module, onError: onError });`]);let Ee;if(le){const j=le.dependencies[0];const $=R.getModule(j);Ee=ce.asString([_e,`module.exports = ${E.moduleNamespacePromise({chunkGraph:N,block:le,module:$,request:this.request,strict:false,message:"import()",runtimeRequirements:q})};`,"if (module.hot) {",ce.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(N.getModuleId($))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",Te])}else{Ee=ce.asString([_e,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",ce.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",Te])}$.set("javascript",new j(Ee));return{sources:$,runtimeRequirements:q}}updateHash(E,N){super.updateHash(E,N);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}_e(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ie{constructor(E){super();this._factory=E}create(E,N){const R=E.dependencies[0];N(null,{module:R.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,entries:N,imports:R,test:j}){this.backend=E;this.entries=N;this.imports=R;this.test=j}apply(E){let N;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((R,j)=>{if(N!==undefined)return j();const $=this.backend(E,((E,R)=>{if(E)return j(E);N=R;j()}));if($&&$.then){$.then((E=>{N=E;j()}),j)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((R,{normalModuleFactory:j})=>{j.hooks.module.tap("LazyCompilationPlugin",((R,j,$)=>{if($.dependencies.every((E=>Te.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test($.request)&&checkTest(this.test,R)){const j=N.module(R);if(!j)return;const{client:q,data:G,active:ie}=j;return new LazyCompilationProxyModule(E.context,R,$.request,q,G,ie)}}));R.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{N.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,N,R)=>{"use strict";E.exports=E=>(N,j)=>{const $=N.getInfrastructureLogger("LazyCompilationBackend");const q=new Map;const G="/lazy-compilation-using-";const ie=E.protocol==="https"||typeof E.server==="object"&&("key"in E.server||"pfx"in E.server);const ae=typeof E.server==="function"?E.server:(()=>{const N=ie?R(95687):R(13685);return N.createServer.bind(N,E.server)})();const ce=typeof E.listen==="function"?E.listen:N=>{let R=E.listen;if(typeof R==="object"&&!("port"in R))R={...R,port:undefined};N.listen(R)};const le=E.protocol||(ie?"https":"http");const requestListener=(E,R)=>{const j=E.url.slice(G.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const E of j){const N=q.get(E)||0;q.set(E,N-1);if(N===1){$.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);R.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});R.write("\n");let ie=false;for(const E of j){const N=q.get(E)||0;q.set(E,N+1);if(N===0){$.log(`${E} is now in use and will be compiled.`);ie=true}}if(ie&&N.watching)N.watching.invalidate()};const _e=ae();_e.on("request",requestListener);let Te=false;const Ee=new Set;_e.on("connection",(E=>{Ee.add(E);E.on("close",(()=>{Ee.delete(E)}));if(Te)E.destroy()}));_e.on("clientError",(E=>{if(E.message!=="Server is disposing")$.warn(E)}));_e.on("listening",(N=>{if(N)return j(N);const R=_e.address();if(typeof R==="string")throw new Error("addr must not be a string");const ie=R.address==="::"||R.address==="0.0.0.0"?`${le}://localhost:${R.port}`:R.family==="IPv6"?`${le}://[${R.address}]:${R.port}`:`${le}://${R.address}:${R.port}`;$.log(`Server-Sent-Events server for lazy compilation open at ${ie}.`);j(null,{dispose(E){Te=true;_e.off("request",requestListener);_e.close((N=>{E(N)}));for(const E of Ee){E.destroy(new Error("Server is disposing"))}},module(N){const R=`${encodeURIComponent(N.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const j=q.get(R)>0;return{client:`${E.client}?${encodeURIComponent(ie+G)}`,data:R,active:j}}})}));ce(_e)}},30484:(E,N,R)=>{"use strict";const{find:j}=R(26221);const{compareModulesByPreOrderIndexOrIdentifier:$,compareModulesByPostOrderIndexOrIdentifier:q}=R(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(G=>{const ie=E.chunkGraph;const ae=j(E.chunks,(E=>E.name===N.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${N.name}"' was not found`)}let ce;if(N.order){let E;switch(N.order){case"index":case"preOrderIndex":E=$(R);break;case"index2":case"postOrderIndex":E=q(R);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}ce=ie.getOrderedChunkModules(ae,E)}else{ce=Array.from(G).filter((E=>ie.isModuleInChunk(E,ae))).sort($(R))}let le=N.start||0;for(let E=0;EN.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getFullChunkName:$,getUsedChunkIds:q,assignDeterministicIds:G}=R(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(N=>{N.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=j(ie);const _e=q(N);G(Array.from(R).filter((E=>E.id===null)),(N=>$(N,ie,ae,E.root)),le,((E,N)=>{const R=_e.size;_e.add(`${N}`);if(R===_e.size)return false;E.id=N;E.ids=[N];return true}),[Math.pow(10,ce)],10,_e.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{getUsedModuleIds:$,getFullModuleName:q,assignDeterministicIds:G}=R(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(N=>{N.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=$(N);G(Array.from(R).filter((E=>{if(!E.needId)return false;if(ie.getNumberOfModuleChunks(E)===0)return false;return ie.getModuleId(E)===null})),(N=>q(N,ae,E.root)),j(N.moduleGraph),((E,N)=>{const R=le.size;le.add(`${N}`);if(R===le.size)return false;ie.setModuleId(E,N);return true}),[Math.pow(10,ce)],10,le.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,N,R)=>{"use strict";E=R.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const q=R(35891);const{getUsedModuleIds:G,getFullModuleName:ie}=R(30328);const ae=$(R(42959),(()=>R(39586)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){ae(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(N){const R=this.options;N.hooks.compilation.tap("HashedModuleIdsPlugin",($=>{$.hooks.moduleIds.tap("HashedModuleIdsPlugin",(ae=>{const ce=$.chunkGraph;const le=this.options.context?this.options.context:N.context;const _e=G($);const Te=Array.from(ae).filter((N=>{if(!N.needId)return false;if(ce.getNumberOfModuleChunks(N)===0)return false;return ce.getModuleId(E)===null})).sort(j($.moduleGraph));for(const E of Te){const j=ie(E,le,N.root);const $=q(R.hashFunction);$.update(j||"");const G=$.digest(R.hashDigest);let ae=R.hashDigestLength;while(_e.has(G.substr(0,ae)))ae++;const Te=G.substr(0,ae);ce.setModuleId(E,Te);_e.add(Te)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,N,R)=>{"use strict";const j=R(35891);const{makePathsRelative:$}=R(49197);const q=R(12631);const getHash=(E,N,R)=>{const $=j(R);$.update(E);const q=$.digest("hex");return q.substr(0,N)};const avoidNumber=E=>{if(E.length>21)return E;const N=E.charCodeAt(0);if(N<49){if(N!==45)return E}else if(N>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");N.requestToId=requestToId;const shortenLongString=(E,N,R)=>{if(E.length<100)return E;return E.slice(0,100-6-N.length)+N+getHash(E,6,R)};const getShortModuleName=(E,N,R)=>{const j=E.libIdent({context:N,associatedObjectForCache:R});if(j)return avoidNumber(j);const q=E.nameForCondition();if(q)return avoidNumber($(N,q,R));return""};N.getShortModuleName=getShortModuleName;const getLongModuleName=(E,N,R,j,$)=>{const q=getFullModuleName(N,R,$);return`${E}?${getHash(q,4,j)}`};N.getLongModuleName=getLongModuleName;const getFullModuleName=(E,N,R)=>$(N,E.identifier(),R);N.getFullModuleName=getFullModuleName;const getShortChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));E.idNameHints.sort();const ae=Array.from(E.idNameHints).concat(ie).filter(Boolean).join(j);return shortenLongString(ae,j,$)};N.getShortChunkName=getShortChunkName;const getLongChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));const ae=G.map((E=>requestToId(getLongModuleName("",E,R,$,q))));E.idNameHints.sort();const ce=Array.from(E.idNameHints).concat(ie,ae).filter(Boolean).join(j);return shortenLongString(ce,j,$)};N.getLongChunkName=getLongChunkName;const getFullChunkName=(E,N,R,j)=>{if(E.name)return E.name;const q=N.getChunkRootModules(E);const G=q.map((E=>$(R,E.identifier(),j)));return G.join()};N.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,N,R)=>{let j=E.get(N);if(j===undefined){j=[];E.set(N,j)}j.push(R)};const getUsedModuleIds=E=>{const N=E.chunkGraph;const R=new Set;if(E.usedModuleIds){for(const N of E.usedModuleIds){R.add(N+"")}}for(const j of E.modules){const E=N.getModuleId(j);if(E!==null){R.add(E+"")}}return R};N.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const N=new Set;if(E.usedChunkIds){for(const R of E.usedChunkIds){N.add(R+"")}}for(const R of E.chunks){const E=R.id;if(E!==null){N.add(E+"")}}return N};N.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,N,R,j,$,q)=>{const G=new Map;for(const R of E){const E=N(R);addToMapOfItems(G,E,R)}const ie=new Map;for(const[E,N]of G){if(N.length>1||!E){for(const j of N){const N=R(j,E);addToMapOfItems(ie,N,j)}}else{addToMapOfItems(ie,E,N[0])}}const ae=[];for(const[E,N]of ie){if(!E){for(const E of N){ae.push(E)}}else if(N.length===1&&!$.has(E)){q(N[0],E);$.add(E)}else{N.sort(j);let R=0;for(const j of N){while(ie.has(E+R)&&$.has(E+R))R++;q(j,E+R);$.add(E+R);R++}}}ae.sort(j);return ae};N.assignNames=assignNames;const assignDeterministicIds=(E,N,R,j,$=[10],G=10,ie=0)=>{E.sort(R);const ae=Math.min(Math.ceil(E.length*20)+ie,Number.MAX_SAFE_INTEGER);let ce=0;let le=$[ce];while(le{const R=N.chunkGraph;const j=getUsedModuleIds(N);let $=0;let q;if(j.size>0){q=E=>{if(R.getModuleId(E)===null){while(j.has($+""))$++;R.setModuleId(E,$++)}}}else{q=E=>{if(R.getModuleId(E)===null){R.setModuleId(E,$++)}}}for(const N of E){q(N)}};N.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,N)=>{const R=getUsedChunkIds(N);let j=0;if(R.size>0){for(const N of E){if(N.id===null){while(R.has(j+""))j++;N.id=j;N.ids=[j];j++}}}else{for(const N of E){if(N.id===null){N.id=j;N.ids=[j];j++}}}};N.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getShortChunkName:$,getLongChunkName:q,assignNames:G,getUsedChunkIds:ie,assignAscendingChunkIds:ae}=R(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(N=>{const{hashFunction:R}=N.outputOptions;N.hooks.chunkIds.tap("NamedChunkIdsPlugin",(ce=>{const le=N.chunkGraph;const _e=this.context?this.context:E.context;const Te=this.delimiter;const Ee=G(Array.from(ce).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(N=>$(N,le,_e,Te,R,E.root)),(N=>q(N,le,_e,Te,R,E.root)),j(le),ie(N),((E,N)=>{E.id=N;E.ids=[N]}));if(Ee.length>0){ae(Ee,N)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,N,R)=>{"use strict";const{compareModulesByIdentifier:j}=R(68673);const{getShortModuleName:$,getLongModuleName:q,assignNames:G,getUsedModuleIds:ie,assignAscendingModuleIds:ae}=R(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:N}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(R=>{const{hashFunction:ce}=R.outputOptions;R.hooks.moduleIds.tap("NamedModuleIdsPlugin",(le=>{const _e=R.chunkGraph;const Te=this.options.context?this.options.context:E.context;const Ee=G(Array.from(le).filter((E=>{if(!E.needId)return false;if(_e.getNumberOfModuleChunks(E)===0)return false;return _e.getModuleId(E)===null})),(E=>$(E,Te,N)),((E,R)=>q(R,E,Te,ce,N)),j,ie(R),((E,N)=>_e.setModuleId(E,N)));if(Ee.length>0){ae(Ee,R)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{assignAscendingChunkIds:$}=R(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(N=>{const R=E.chunkGraph;const q=j(R);const G=Array.from(N).sort(q);$(G,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{assignAscendingModuleIds:$}=R(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(N=>{const R=E.chunkGraph;const q=Array.from(N).filter((E=>E.needId&&R.getNumberOfModuleChunks(E)>0&&R.getModuleId(E)===null)).sort(j(E.moduleGraph));$(q,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const $=R(35817);const{assignAscendingChunkIds:q}=R(30328);const G=$(R(18511),(()=>R(9659)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(R=>{const $=E.chunkGraph;const G=new Map;const ie=j($);for(const E of R){let N=0;for(const R of E.groupsIterable){for(const E of R.parentsIterable){if(E.isInitial())N++}}G.set(E,N)}const ae=Array.from(R).sort(((E,R)=>{if(N){const N=G.get(E);const j=G.get(R);if(N>j)return-1;if(N$)return-1;if(j<$)return 1;return ie(E,R)}));q(ae,E)}))}))}}E.exports=OccurrenceChunkIdsPlugin},76059:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const{assignAscendingModuleIds:q}=R(30328);const G=$(R(52042),(()=>R(37931)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",($=>{const G=E.chunkGraph;const ie=Array.from($).filter((E=>E.needId&&G.getNumberOfModuleChunks(E)>0&&G.getModuleId(E)===null));const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;for(const E of ie){let N=0;let R=0;for(const j of G.getModuleChunksIterable(E)){if(j.canBeInitial())N++;if(G.isEntryModuleInChunk(E,j))R++}le.set(E,N);_e.set(E,R)}const countOccursInEntry=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;if(!$.some((E=>E.isTargetActive(undefined))))continue;N+=le.get(j)}return N};const countOccurs=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;const E=G.getNumberOfModuleChunks(j);for(const R of $){if(!R.isTargetActive(undefined))continue;if(!R.dependency)continue;const j=R.dependency.getNumberOfIdOccurrences();if(j===0)continue;N+=j*E}}return N};if(N){for(const E of ie){const N=countOccursInEntry(E)+le.get(E)+_e.get(E);ae.set(E,N)}}for(const E of $){const N=countOccurs(E)+G.getNumberOfModuleChunks(E)+_e.get(E);ce.set(E,N)}const Te=j(E.moduleGraph);ie.sort(((E,R)=>{if(N){const N=ae.get(E);const j=ae.get(R);if(N>j)return-1;if(N$)return-1;if(j<$)return 1;return Te(E,R)}));q(ie,E)}))}))}}E.exports=OccurrenceModuleIdsPlugin},86443:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const lazyFunction=E=>{const N=$(E);const f=(...E)=>N()(...E);return f};const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);for(const N of Object.keys(R)){const j=R[N];if(j.get){const R=j.get;Object.defineProperty(E,N,{configurable:false,enumerable:true,get:$(R)})}else if(typeof j.value==="object"){Object.defineProperty(E,N,{configurable:false,enumerable:true,writable:false,value:mergeExports({},j.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const q=lazyFunction((()=>R(2982)));E.exports=mergeExports(q,{get webpack(){return R(2982)},get validate(){const E=R(63221);const N=$((()=>{const E=R(33316);const N=R(46312);return R=>E(N,R)}));return R=>{if(!E(R))N()(R)}},get validateSchema(){const E=R(33316);return E},get version(){return R(37589).i8},get cli(){return R(61634)},get AutomaticPrefetchPlugin(){return R(20383)},get AsyncDependenciesBlock(){return R(98221)},get BannerPlugin(){return R(58779)},get Cache(){return R(54725)},get Chunk(){return R(62433)},get ChunkGraph(){return R(45137)},get CleanPlugin(){return R(61666)},get Compilation(){return R(3080)},get Compiler(){return R(63076)},get ConcatenationScope(){return R(77294)},get ContextExclusionPlugin(){return R(51709)},get ContextReplacementPlugin(){return R(26552)},get DefinePlugin(){return R(24820)},get DelegatedPlugin(){return R(82354)},get Dependency(){return R(28706)},get DllPlugin(){return R(73887)},get DllReferencePlugin(){return R(83515)},get DynamicEntryPlugin(){return R(85227)},get EntryOptionPlugin(){return R(64699)},get EntryPlugin(){return R(59674)},get EnvironmentPlugin(){return R(64856)},get EvalDevToolModulePlugin(){return R(91331)},get EvalSourceMapDevToolPlugin(){return R(23641)},get ExternalModule(){return R(16734)},get ExternalsPlugin(){return R(61050)},get Generator(){return R(36253)},get HotUpdateChunk(){return R(22352)},get HotModuleReplacementPlugin(){return R(79972)},get IgnorePlugin(){return R(69276)},get JavascriptModulesPlugin(){return j.deprecate((()=>R(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return R(77750)},get LibraryTemplatePlugin(){return j.deprecate((()=>R(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return R(19674)},get LoaderTargetPlugin(){return R(97736)},get Module(){return R(53453)},get ModuleFilenameHelpers(){return R(70354)},get ModuleGraph(){return R(75412)},get ModuleGraphConnection(){return R(79900)},get NoEmitOnErrorsPlugin(){return R(66962)},get NormalModule(){return R(53520)},get NormalModuleReplacementPlugin(){return R(92234)},get MultiCompiler(){return R(63433)},get Parser(){return R(2172)},get PrefetchPlugin(){return R(13125)},get ProgressPlugin(){return R(52923)},get ProvidePlugin(){return R(40313)},get RuntimeGlobals(){return R(76150)},get RuntimeModule(){return R(66804)},get SingleEntryPlugin(){return j.deprecate((()=>R(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return R(2e4)},get Stats(){return R(10140)},get Template(){return R(58159)},get UsageState(){return R(76632).UsageState},get WatchIgnorePlugin(){return R(91265)},get WebpackError(){return R(81627)},get WebpackOptionsApply(){return R(81721)},get WebpackOptionsDefaulter(){return j.deprecate((()=>R(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return R(15235).ValidationError},get ValidationError(){return R(15235).ValidationError},cache:{get MemoryCachePlugin(){return R(47786)}},config:{get getNormalizedWebpackOptions(){return R(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return R(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return R(79983)},get ConstDependency(){return R(66298)},get NullDependency(){return R(12197)}},ids:{get ChunkModuleIdRangePlugin(){return R(30484)},get NaturalModuleIdsPlugin(){return R(97781)},get OccurrenceModuleIdsPlugin(){return R(76059)},get NamedModuleIdsPlugin(){return R(9297)},get DeterministicChunkIdsPlugin(){return R(90444)},get DeterministicModuleIdsPlugin(){return R(35579)},get NamedChunkIdsPlugin(){return R(64779)},get OccurrenceChunkIdsPlugin(){return R(86169)},get HashedModuleIdsPlugin(){return R(35853)}},javascript:{get EnableChunkLoadingPlugin(){return R(50369)},get JavascriptModulesPlugin(){return R(18161)},get JavascriptParser(){return R(3711)}},optimize:{get AggressiveMergingPlugin(){return R(61332)},get AggressiveSplittingPlugin(){return j.deprecate((()=>R(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return R(58018)},get LimitChunkCountPlugin(){return R(92922)},get MinChunkSizePlugin(){return R(52383)},get ModuleConcatenationPlugin(){return R(35442)},get RealContentHashPlugin(){return R(30699)},get RuntimeChunkPlugin(){return R(4674)},get SideEffectsFlagPlugin(){return R(63410)},get SplitChunksPlugin(){return R(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return R(9609)},get LoadScriptRuntimeModule(){return R(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return R(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return R(52687)},get FetchCompileWasmPlugin(){return R(71100)},get JsonpChunkLoadingRuntimeModule(){return R(4038)},get JsonpTemplatePlugin(){return R(58421)}},webworker:{get WebWorkerTemplatePlugin(){return R(67439)}},node:{get NodeEnvironmentPlugin(){return R(93632)},get NodeSourcePlugin(){return R(92662)},get NodeTargetPlugin(){return R(84980)},get NodeTemplatePlugin(){return R(91591)},get ReadFileCompileWasmPlugin(){return R(71049)}},electron:{get ElectronTargetPlugin(){return R(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return R(82422)}},library:{get AbstractLibraryPlugin(){return R(9786)},get EnableLibraryPlugin(){return R(13984)}},container:{get ContainerPlugin(){return R(10419)},get ContainerReferencePlugin(){return R(68839)},get ModuleFederationPlugin(){return R(8019)},get scope(){return R(97264).scope}},sharing:{get ConsumeSharedPlugin(){return R(71968)},get ProvideSharedPlugin(){return R(48151)},get SharePlugin(){return R(16471)},get scope(){return R(97264).scope}},debug:{get ProfilingPlugin(){return R(26802)}},util:{get createHash(){return R(35891)},get comparators(){return R(68673)},get runtime(){return R(37416)},get serialization(){return R(24568)},get cleverMerge(){return R(90149).cachedCleverMerge},get LazySet(){return R(83379)}},get sources(){return R(2991)},experiments:{schemes:{get HttpUriPlugin(){return R(7201)}}}})},41113:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$,RawSource:q}=R(2991);const{RuntimeGlobals:G}=R(86443);const ie=R(22352);const ae=R(58159);const{getCompilationHooks:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(G.onChunksLoaded);N.add(G.require)}N.add(G.chunkCallback)}));const N=ce(E);N.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((R,ce)=>{const{chunk:_e,chunkGraph:Te,runtimeTemplate:Ee}=ce;const we=_e instanceof ie?_e:null;const Ie=Ee.outputOptions.globalObject;const Ne=new j;const Me=Te.getChunkRuntimeModulesInOrder(_e);if(we){const E=Ee.outputOptions.hotUpdateGlobal;Ne.add(`${Ie}[${JSON.stringify(E)}](`);Ne.add(`${JSON.stringify(_e.id)},`);Ne.add(R);if(Me.length>0){Ne.add(",\n");const E=ae.renderChunkRuntimeModules(Me,ce);Ne.add(E)}Ne.add(")")}else{const ie=Ee.outputOptions.chunkLoadingGlobal;Ne.add(`(${Ie}[${JSON.stringify(ie)}] = ${Ie}[${JSON.stringify(ie)}] || []).push([`);Ne.add(`${JSON.stringify(_e.ids)},`);Ne.add(R);const we=Array.from(Te.getChunkEntryModulesWithChunkGroupIterable(_e));if(Me.length>0||we.length>0){const R=new j((Ee.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n");if(Me.length>0){R.add(ae.renderRuntimeModules(Me,{...ce,codeGenerationResults:E.codeGenerationResults}))}if(we.length>0){const E=new q(le(Te,Ee,we,_e,true));R.add(N.renderStartup.call(E,we[we.length-1][0],{...ce,inlined:false}));if(Te.getChunkRuntimeRequirements(_e).has(G.returnExportsFromRuntime)){R.add("return __webpack_exports__;\n")}}R.add("}\n");Ne.add(",\n");Ne.add(new $("/******/ ",R))}Ne.add("])")}return Ne}));N.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update(`ArrayPushCallbackChunkFormatPlugin1${j.outputOptions.chunkLoadingGlobal}${j.outputOptions.hotUpdateGlobal}${j.outputOptions.globalObject}`);const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;const G=5;const ie=6;const ae=7;const ce=8;const le=9;const _e=10;const Te=11;const Ee=12;const we=13;class BasicEvaluatedExpression{constructor(){this.type=N;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===N}isNull(){return this.type===j}isUndefined(){return this.type===R}isString(){return this.type===$}isNumber(){return this.type===q}isBigInt(){return this.type===we}isBoolean(){return this.type===G}isRegExp(){return this.type===ie}isConditional(){return this.type===ae}isArray(){return this.type===ce}isConstArray(){return this.type===le}isIdentifier(){return this.type===_e}isWrapped(){return this.type===Te}isTemplateString(){return this.type===Ee}isPrimitiveType(){switch(this.type){case R:case j:case $:case q:case G:case we:case Te:case Ee:return true;case ie:case ce:case le:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case R:case j:case $:case q:case G:case ie:case le:case we:return true;default:return false}}asCompileTimeValue(){switch(this.type){case R:return undefined;case j:return null;case $:return this.string;case q:return this.number;case G:return this.bool;case ie:return this.regExp;case le:return this.array;case we:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const N of this.items){const R=N.asString();if(R===undefined)return undefined;E.push(R)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const N of this.parts){const R=N.asString();if(R===undefined)return undefined;E+=R}return E}return undefined}setString(E){this.type=$;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=R;this.sideEffects=false;return this}setNull(){this.type=j;this.sideEffects=false;return this}setNumber(E){this.type=q;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=we;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=G;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ie;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,N,R){this.type=_e;this.identifier=E;this.rootInfo=N;this.getMembers=R;this.sideEffects=true;return this}setWrapped(E,N,R){this.type=Te;this.prefix=E;this.postfix=N;this.wrappedInnerExpressions=R;this.sideEffects=true;return this}setOptions(E){this.type=ae;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const N of E){this.options.push(N)}return this}setItems(E){this.type=ce;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=le;this.array=E;this.sideEffects=false;return this}setTemplateString(E,N,R){this.type=Ee;this.quasis=E;this.parts=N;this.templateStringKind=R;this.sideEffects=N.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;if(E)return this.setFalsy();return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const N=E.length;if(N===0)return true;if(N>4)return false;let R=0;for(let j=0;j{"use strict";const{ConcatSource:j,RawSource:$}=R(2991);const q=R(76150);const G=R(58159);const{getChunkFilenameTemplate:ie,getCompilationHooks:ae}=R(18161);const{generateEntryStartup:ce,updateHashForEntryStartup:le}=R(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(q.require);N.add(q.startupEntrypoint);N.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("CommonJsChunkFormatPlugin",((R,ae)=>{const{chunk:le,chunkGraph:_e,runtimeTemplate:Te}=ae;const Ee=new j;Ee.add(`exports.id = ${JSON.stringify(le.id)};\n`);Ee.add(`exports.ids = ${JSON.stringify(le.ids)};\n`);Ee.add(`exports.modules = `);Ee.add(R);Ee.add(";\n");const we=_e.getChunkRuntimeModulesInOrder(le);if(we.length>0){Ee.add("exports.runtime =\n");Ee.add(G.renderChunkRuntimeModules(we,ae))}const Ie=Array.from(_e.getChunkEntryModulesWithChunkGroupIterable(le));if(Ie.length>0){const R=Ie[0][1].getRuntimeChunk();const G=E.getPath(ie(le,E.outputOptions),{chunk:le,contentHashType:"javascript"}).split("/");const we=E.getPath(ie(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");G.pop();while(G.length>0&&we.length>0&&G[0]===we[0]){G.shift();we.shift()}const Ne=(G.length>0?"../".repeat(G.length):"./")+we.join("/");const Me=new j;Me.add(`(${Te.supportsArrowFunction()?"() => ":"function() "}{\n`);Me.add("var exports = {};\n");Me.add(Ee);Me.add(";\n\n// load runtime\n");Me.add(`var __webpack_require__ = require(${JSON.stringify(Ne)});\n`);Me.add(`${q.externalInstallChunk}(exports);\n`);const Le=new $(ce(_e,Te,Ie,le,false));Me.add(N.renderStartup.call(Le,Ie[Ie.length-1][0],{...ae,inlined:false}));Me.add("\n})()");return Me}return Ee}));N.chunkHash.tap("CommonJsChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;N.update("CommonJsChunkFormatPlugin");N.update("1");const j=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));le(N,R,j,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Chunk loading type "${N}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"jsonp":{const N=R(76853);(new N).apply(E);break}case"import-scripts":{const N=R(82779);(new N).apply(E);break}case"require":{const N=R(82827);new N({asyncChunkLoading:false}).apply(E);break}case"async-node":{const N=R(82827);new N({asyncChunkLoading:true}).apply(E);break}case"import":{const N=R(90662);(new N).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${N}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,N,R)=>{"use strict";const j=R(73837);const{RawSource:$,ReplaceSource:q}=R(2991);const G=R(36253);const ie=R(63272);const ae=R(54290);const ce=j.deprecate(((E,N,R)=>E.getInitFragments(N,R)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const le=new Set(["javascript"]);class JavascriptGenerator extends G{getTypes(E){return le}getSize(E,N){const R=E.originalSource();if(!R){return 39}return R.size()}getConcatenationBailoutReason(E,N){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof ae))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,N){const R=E.originalSource();if(!R){return new $("throw new Error('No source available');")}const j=new q(R);const G=[];this.sourceModule(E,G,j,N);return ie.addToSource(j,G,N)}sourceModule(E,N,R,j){for(const $ of E.dependencies){this.sourceDependency(E,$,N,R,j)}if(E.presentationalDependencies!==undefined){for(const $ of E.presentationalDependencies){this.sourceDependency(E,$,N,R,j)}}for(const $ of E.blocks){this.sourceBlock(E,$,N,R,j)}}sourceBlock(E,N,R,j,$){for(const q of N.dependencies){this.sourceDependency(E,q,R,j,$)}for(const q of N.blocks){this.sourceBlock(E,q,R,j,$)}}sourceDependency(E,N,R,j,$){const q=N.constructor;const G=$.dependencyTemplates.get(q);if(!G){throw new Error("No template for dependency: "+N.constructor.name)}const ie={runtimeTemplate:$.runtimeTemplate,dependencyTemplates:$.dependencyTemplates,moduleGraph:$.moduleGraph,chunkGraph:$.chunkGraph,module:E,runtime:$.runtime,runtimeRequirements:$.runtimeRequirements,concatenationScope:$.concatenationScope,initFragments:R};G.apply(N,j,ie);if("getInitFragments"in G){const E=ce(G,N,ie);if(E){for(const N of E){R.push(N)}}}}}E.exports=JavascriptGenerator},18161:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j,SyncHook:$,SyncBailHook:q}=R(92960);const G=R(26144);const{ConcatSource:ie,OriginalSource:ae,PrefixSource:ce,RawSource:le,CachedSource:_e}=R(2991);const Te=R(3080);const{tryRunOrWebpackError:Ee}=R(3728);const we=R(22352);const Ie=R(63272);const Ne=R(76150);const Me=R(58159);const{last:Le,someInIterable:Be}=R(11539);const je=R(14146);const{compareModulesByIdentifier:Ue}=R(68673);const ze=R(35891);const{intersectRuntime:We}=R(37416);const Je=R(99371);const Ve=R(3711);const chunkHasJs=(E,N)=>{if(N.getNumberOfEntryModules(E)>0)return true;return N.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,N)=>{const R=N.split("\n");const j=`${R.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${R.map(((E,N,R)=>{const $=`${N+1}`;return`${" ".repeat(j-$.length)}${$} | ${E}`})).join("\n")}`};const qe=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof Te)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=qe.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"]),renderModuleContainer:new j(["source","module","renderContext"]),renderModulePackage:new j(["source","module","renderContext"]),render:new j(["source","renderContext"]),renderContent:new j(["source","renderContext"]),renderStartup:new j(["source","module","startupRenderContext"]),renderChunk:new j(["source","renderContext"]),renderMain:new j(["source","renderContext"]),renderRequire:new j(["code","renderContext"]),inlineInRuntimeBailout:new q(["module","renderContext"]),embedInRuntimeBailout:new q(["module","renderContext"]),strictRuntimeBailout:new q(["renderContext"]),chunkHash:new $(["chunk","hash","context"]),useSourceMap:new q(["chunk","renderContext"])};qe.set(E,N)}return N}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:N})=>{const R=JavascriptModulesPlugin.getCompilationHooks(E);N.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new Ve("auto")));N.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new Ve("script")));N.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new Ve("module")));N.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new Je));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((N,j)=>{const{hash:$,chunk:q,chunkGraph:G,moduleGraph:ie,runtimeTemplate:ae,dependencyTemplates:ce,outputOptions:le,codeGenerationResults:_e}=j;const Te=q instanceof we?q:null;let Ee;const Ie=JavascriptModulesPlugin.getChunkFilenameTemplate(q,le);if(Te){Ee=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}else if(q.hasRuntime()){Ee=()=>this.renderMain({hash:$,chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R,E)}else{if(!chunkHasJs(q,G)){return N}Ee=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}N.push({render:Ee,filenameTemplate:Ie,pathOptions:{hash:$,runtime:q.runtime,chunk:q,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:Te?`hotupdatechunk${q.id}`:`chunk${q.id}`,hash:q.contentHash.javascript});return N}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,N,j)=>{R.chunkHash.call(E,N,j);if(E.hasRuntime()){this.updateHashWithBootstrap(N,{hash:"0000",chunk:E,chunkGraph:j.chunkGraph,moduleGraph:j.moduleGraph,runtimeTemplate:j.runtimeTemplate},R)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(N=>{const{chunkGraph:j,moduleGraph:$,runtimeTemplate:q,outputOptions:{hashSalt:G,hashDigest:ie,hashDigestLength:ae,hashFunction:ce}}=E;const le=ze(ce);if(G)le.update(G);if(N.hasRuntime()){this.updateHashWithBootstrap(le,{hash:"0000",chunk:N,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},R)}else{le.update(`${N.id} `);le.update(N.ids?N.ids.join(","):"")}R.chunkHash.call(N,le,{chunkGraph:j,moduleGraph:$,runtimeTemplate:q});const _e=j.getChunkModulesIterableBySourceType(N,"javascript");if(_e){const E=new je;for(const R of _e){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Te=j.getChunkModulesIterableBySourceType(N,"runtime");if(Te){const E=new je;for(const R of Te){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Ee=le.digest(ie);N.contentHash.javascript=Ee.substr(0,ae)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,N,{chunkGraph:R})=>{if(!N.has(Ne.startupNoDefault)&&R.hasChunkEntryDependentChunks(E)){N.add(Ne.onChunksLoaded);N.add(Ne.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("javascript");if(R===undefined)return;const{module:j,moduleObject:$}=E;const q=R.source();const ie=G.runInThisContext(`(function(${j.moduleArgument}, ${j.exportsArgument}, __webpack_require__) {\n${q}\n/**/})`,{filename:j.identifier(),lineOffset:-1});try{ie.call($.exports,$,$.exports,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,q);throw N}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("runtime");if(R===undefined)return;let j=R.source();if(typeof j!=="string")j=j.toString();const $=G.runInThisContext(`(function(__webpack_require__) {\n${j}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{$.call(null,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,j);throw N}}))}))}static getChunkFilenameTemplate(E,N){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof we){return N.hotUpdateChunkFilename}else if(E.canBeInitial()){return N.filename}else{return N.chunkFilename}}renderModule(E,N,R,j){const{chunk:$,chunkGraph:q,runtimeTemplate:G,codeGenerationResults:ae,strictMode:ce}=N;try{const le=ae.get(E,$.runtime);const Te=le.sources.get("javascript");if(!Te)return null;if(le.data!==undefined){const E=le.data.get("chunkInitFragments");if(E){for(const R of E)N.chunkInitFragments.push(R)}}const we=Ee((()=>R.renderModuleContent.call(Te,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Ie;if(j){const j=q.getModuleRuntimeRequirements(E,$.runtime);const ae=j.has(Ne.module);const le=j.has(Ne.exports);const Te=j.has(Ne.require)||j.has(Ne.requireScope);const Me=j.has(Ne.thisAsExports);const Le=E.buildInfo.strict&&!ce;const Be=this._moduleFactoryCache.get(we);let je;if(Be&&Be.needModule===ae&&Be.needExports===le&&Be.needRequire===Te&&Be.needThisAsExports===Me&&Be.needStrict===Le){je=Be.source}else{const N=new ie;const R=[];if(le||Te||ae)R.push(ae?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(le||Te)R.push(le?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(Te)R.push("__webpack_require__");if(!Me&&G.supportsArrowFunction()){N.add("/***/ (("+R.join(", ")+") => {\n\n")}else{N.add("/***/ (function("+R.join(", ")+") {\n\n")}if(Le){N.add('"use strict";\n')}N.add(we);N.add("\n\n/***/ })");je=new _e(N);this._moduleFactoryCache.set(we,{source:je,needModule:ae,needExports:le,needRequire:Te,needThisAsExports:Me,needStrict:Le})}Ie=Ee((()=>R.renderModuleContainer.call(je,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Ie=we}return Ee((()=>R.renderModulePackage.call(Ie,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(N){N.module=E;throw N}}renderChunk(E,N){const{chunk:R,chunkGraph:j}=E;const $=j.getOrderedChunkModulesIterableBySourceType(R,"javascript",Ue);const q=$?Array.from($):[];let G;let ae=E.strictMode;if(!ae&&q.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);G=R?`// runtime can't be in strict mode because ${R}.\n`:'"use strict";\n';if(!R)ae=true}const ce={...E,chunkInitFragments:[],strictMode:ae};const _e=Me.renderChunkModules(ce,q,(E=>this.renderModule(E,ce,N,true)))||new le("{}");let Te=Ee((()=>N.renderChunk.call(_e,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");Te=Ee((()=>N.renderContent.call(Te,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Te){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Te=Ie.addToSource(Te,ce.chunkInitFragments,ce);Te=Ee((()=>N.render.call(Te,ce)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Te){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}R.rendered=true;return G?new ie(G,Te,";"):E.runtimeTemplate.isModule()?Te:new ie(Te,";")}renderMain(E,N,R){const{chunk:j,chunkGraph:$,runtimeTemplate:q}=E;const G=$.getTreeRuntimeRequirements(j);const _e=q.isIIFE();const Te=this.renderBootstrap(E,N);const we=N.useSourceMap.call(j,E);const Be=Array.from($.getOrderedChunkModulesIterableBySourceType(j,"javascript",Ue)||[]);const je=$.getNumberOfEntryModules(j)>0;let ze;if(Te.allowInlineStartup&&je){ze=new Set($.getChunkEntryModulesIterable(j))}let We=new ie;let Je;if(_e){if(q.supportsArrowFunction()){We.add("/******/ (() => { // webpackBootstrap\n")}else{We.add("/******/ (function() { // webpackBootstrap\n")}Je="/******/ \t"}else{Je="/******/ "}let Ve=E.strictMode;if(!Ve&&Be.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);if(R){We.add(Je+`// runtime can't be in strict mode because ${R}.\n`)}else{Ve=true;We.add(Je+'"use strict";\n')}}const qe={...E,chunkInitFragments:[],strictMode:Ve};const He=Me.renderChunkModules(qe,ze?Be.filter((E=>!ze.has(E))):Be,(E=>this.renderModule(E,qe,N,true)),Je);if(He||G.has(Ne.moduleFactories)||G.has(Ne.moduleFactoriesAddOnly)||G.has(Ne.require)){We.add(Je+"var __webpack_modules__ = (");We.add(He||"{}");We.add(");\n");We.add("/************************************************************************/\n")}if(Te.header.length>0){const E=Me.asString(Te.header)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/bootstrap"):new le(E)));We.add("/************************************************************************/\n")}const Ge=E.chunkGraph.getChunkRuntimeModulesInOrder(j);if(Ge.length>0){We.add(new ce(Je,Me.renderRuntimeModules(Ge,qe)));We.add("/************************************************************************/\n");for(const E of Ge){R.codeGeneratedModules.add(E)}}if(ze){if(Te.beforeStartup.length>0){const E=Me.asString(Te.beforeStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/before-startup"):new le(E)))}const R=Le(ze);const _e=new ie;_e.add(`var __webpack_exports__ = {};\n`);for(const G of ze){const ie=this.renderModule(G,qe,N,false);if(ie){const ae=!Ve&&G.buildInfo.strict;const ce=$.getModuleRuntimeRequirements(G,j.runtime);const le=ce.has(Ne.exports);const Te=le&&G.exportsArgument==="__webpack_exports__";let Ee=ae?"it need to be in strict mode.":ze.size>1?"it need to be isolated against other entry modules.":He?"it need to be isolated against other modules in the chunk.":le&&!Te?`it uses a non-standard name for the exports (${G.exportsArgument}).`:N.embedInRuntimeBailout.call(G,E);let we;if(Ee!==undefined){_e.add(`// This entry need to be wrapped in an IIFE because ${Ee}\n`);const E=q.supportsArrowFunction();if(E){_e.add("(() => {\n");we="\n})();\n\n"}else{_e.add("!function() {\n");we="\n}();\n"}if(ae)_e.add('"use strict";\n')}else{we="\n"}if(le){if(G!==R)_e.add(`var ${G.exportsArgument} = {};\n`);else if(G.exportsArgument!=="__webpack_exports__")_e.add(`var ${G.exportsArgument} = __webpack_exports__;\n`)}_e.add(ie);_e.add(we)}}if(G.has(Ne.onChunksLoaded)){_e.add(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);\n`)}We.add(N.renderStartup.call(_e,R,{...E,inlined:true}));if(Te.afterStartup.length>0){const E=Me.asString(Te.afterStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/after-startup"):new le(E)))}}else{const R=Le($.getChunkEntryModulesIterable(j));const q=we?(E,N)=>new ae(Me.asString(E),N):E=>new le(Me.asString(E));We.add(new ce(Je,new ie(q(Te.beforeStartup,"webpack/before-startup"),"\n",N.renderStartup.call(q(Te.startup.concat(""),"webpack/startup"),R,{...E,inlined:false}),q(Te.afterStartup,"webpack/after-startup"),"\n")))}if(je&&G.has(Ne.returnExportsFromRuntime)){We.add(`${Je}return __webpack_exports__;\n`)}if(_e){We.add("/******/ })()\n")}let Ke=Ee((()=>N.renderMain.call(We,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Ke=Ee((()=>N.renderContent.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ke=Ie.addToSource(Ke,qe.chunkInitFragments,qe);Ke=Ee((()=>N.render.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}j.rendered=true;return _e?new ie(Ke,";"):Ke}updateHashWithBootstrap(E,N,R){const j=this.renderBootstrap(N,R);for(const N of Object.keys(j)){E.update(N);if(Array.isArray(j[N])){for(const R of j[N]){E.update(R)}}else{E.update(JSON.stringify(j[N]))}}}renderBootstrap(E,N){const{chunkGraph:R,moduleGraph:j,chunk:$,runtimeTemplate:q}=E;const G=R.getTreeRuntimeRequirements($);const ie=G.has(Ne.require);const ae=G.has(Ne.moduleCache);const ce=G.has(Ne.moduleFactories);const le=G.has(Ne.module);const _e=G.has(Ne.requireScope);const Te=G.has(Ne.interceptModuleExecution);const Ee=ie||Te||le;const we={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Ie,startup:Le,beforeStartup:je,afterStartup:Ue}=we;if(we.allowInlineStartup&&ce){Le.push("// module factories are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&ae){Le.push("// module cache are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&Te){Le.push("// module execution is intercepted so entry inlining is disabled");we.allowInlineStartup=false}if(Ee||ae){Ie.push("// The module cache");Ie.push("var __webpack_module_cache__ = {};");Ie.push("")}if(Ee){Ie.push("// The require function");Ie.push(`function __webpack_require__(moduleId) {`);Ie.push(Me.indent(this.renderRequire(E,N)));Ie.push("}");Ie.push("")}else if(G.has(Ne.requireScope)){Ie.push("// The require scope");Ie.push("var __webpack_require__ = {};");Ie.push("")}if(ce||G.has(Ne.moduleFactoriesAddOnly)){Ie.push("// expose the modules object (__webpack_modules__)");Ie.push(`${Ne.moduleFactories} = __webpack_modules__;`);Ie.push("")}if(ae){Ie.push("// expose the module cache");Ie.push(`${Ne.moduleCache} = __webpack_module_cache__;`);Ie.push("")}if(Te){Ie.push("// expose the module execution interceptor");Ie.push(`${Ne.interceptModuleExecution} = [];`);Ie.push("")}if(!G.has(Ne.startupNoDefault)){if(R.getNumberOfEntryModules($)>0){const G=[];const ie=R.getTreeRuntimeRequirements($);G.push("// Load entry module and return exports");let ae=R.getNumberOfEntryModules($);for(const[ce,le]of R.getChunkEntryModulesWithChunkGroupIterable($)){const Te=le.chunks.filter((E=>E!==$));if(we.allowInlineStartup&&Te.length>0){G.push("// This entry module depends on other loaded chunks and execution need to be delayed");we.allowInlineStartup=false}if(we.allowInlineStartup&&Be(j.getIncomingConnectionsByOriginModule(ce),(([E,N])=>E&&N.some((E=>E.isTargetActive($.runtime)))&&Be(R.getModuleRuntimes(E),(E=>We(E,$.runtime)!==undefined))))){G.push("// This entry module is referenced by other modules so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup&&(!ce.buildInfo||!ce.buildInfo.topLevelDeclarations)){G.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup){const R=N.inlineInRuntimeBailout.call(ce,E);if(R!==undefined){G.push(`// This entry module can't be inlined because ${R}`);we.allowInlineStartup=false}}ae--;const Ie=R.getModuleId(ce);const Me=R.getModuleRuntimeRequirements(ce,$.runtime);let Le=JSON.stringify(Ie);if(ie.has(Ne.entryModuleId)){Le=`${Ne.entryModuleId} = ${Le}`}if(we.allowInlineStartup&&Me.has(Ne.module)){we.allowInlineStartup=false;G.push("// This entry module used 'module' so it can't be inlined")}if(Te.length>0){G.push(`${ae===0?"var __webpack_exports__ = ":""}${Ne.onChunksLoaded}(undefined, ${JSON.stringify(Te.map((E=>E.id)))}, ${q.returningFunction(`__webpack_require__(${Le})`)})`)}else if(Ee){G.push(`${ae===0?"var __webpack_exports__ = ":""}__webpack_require__(${Le});`)}else{if(ae===0)G.push("var __webpack_exports__ = {};");if(_e){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Me.has(Ne.exports)){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"});`)}else{G.push(`__webpack_modules__[${Le}]();`)}}}if(ie.has(Ne.onChunksLoaded)){G.push(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);`)}if(ie.has(Ne.startup)||ie.has(Ne.startupOnlyBefore)&&ie.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.basicFunction("",[...G,"return __webpack_exports__;"])};`);Ie.push("");Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}else if(ie.has(Ne.startupOnlyBefore)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);je.push("// run runtime startup");je.push(`${Ne.startup}();`);Le.push("// startup");Le.push(Me.asString(G))}else if(ie.has(Ne.startupOnlyAfter)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// startup");Le.push(Me.asString(G));Ue.push("// run runtime startup");Ue.push(`${Ne.startup}();`)}else{Le.push("// startup");Le.push(Me.asString(G))}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Ie.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Ne.startup} = ${q.emptyFunction()};`,"")}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}return we}renderRequire(E,N){const{chunk:R,chunkGraph:j,runtimeTemplate:{outputOptions:$}}=E;const q=j.getTreeRuntimeRequirements(R);const G=q.has(Ne.interceptModuleExecution)?Me.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Ne.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):q.has(Ne.thisAsExports)?Me.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Me.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ie=q.has(Ne.moduleId);const ae=q.has(Ne.moduleLoaded);const ce=Me.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",$.strictModuleErrorHandling?Me.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Me.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Me.indent([ie?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",$.strictModuleExceptionHandling?Me.asString(["// Execute the module function","var threw = true;","try {",Me.indent([G,"threw = false;"]),"} finally {",Me.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):$.strictModuleErrorHandling?Me.asString(["// Execute the module function","try {",Me.indent(G),"} catch(e) {",Me.indent(["module.error = e;","throw e;"]),"}"]):Me.asString(["// Execute the module function",G]),ae?Me.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Ee((()=>N.renderRequire.call(ce,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,N,R)=>{"use strict";const{Parser:j}=R(20976);const{importAssertions:$}=R(71066);const{SyncBailHook:q,HookMap:G}=R(92960);const ie=R(26144);const ae=R(2172);const ce=R(80371);const le=R(31017);const _e=R(91671);const Te=R(87250);const Ee=[];const we=1;const Ie=2;const Ne=3;const Me=j.extend($);class VariableInfo{constructor(E,N,R){this.declaredScope=E;this.freeName=N;this.tagInfo=R}}const joinRanges=(E,N)=>{if(!N)return E;if(!E)return N;return[E[0],N[1]]};const objectAndMembersToName=(E,N)=>{let R=E;for(let E=N.length-1;E>=0;E--){R=R+"."+N[E]}return R};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Le={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const Be=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const je={options:null,errors:null};class JavascriptParser extends ae{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new G((()=>new q(["expression"]))),evaluate:new G((()=>new q(["expression"]))),evaluateIdentifier:new G((()=>new q(["expression"]))),evaluateDefinedIdentifier:new G((()=>new q(["expression"]))),evaluateCallExpressionMember:new G((()=>new q(["expression","param"]))),isPure:new G((()=>new q(["expression","commentsStartPosition"]))),preStatement:new q(["statement"]),blockPreStatement:new q(["declaration"]),statement:new q(["statement"]),statementIf:new q(["statement"]),classExtendsExpression:new q(["expression","classDefinition"]),classBodyElement:new q(["element","classDefinition"]),classBodyValue:new q(["expression","element","classDefinition"]),label:new G((()=>new q(["statement"]))),import:new q(["statement","source"]),importSpecifier:new q(["statement","source","exportName","identifierName"]),export:new q(["statement"]),exportImport:new q(["statement","source"]),exportDeclaration:new q(["statement","declaration"]),exportExpression:new q(["statement","declaration"]),exportSpecifier:new q(["statement","identifierName","exportName","index"]),exportImportSpecifier:new q(["statement","source","identifierName","exportName","index"]),preDeclarator:new q(["declarator","statement"]),declarator:new q(["declarator","statement"]),varDeclaration:new G((()=>new q(["declaration"]))),varDeclarationLet:new G((()=>new q(["declaration"]))),varDeclarationConst:new G((()=>new q(["declaration"]))),varDeclarationVar:new G((()=>new q(["declaration"]))),pattern:new G((()=>new q(["pattern"]))),canRename:new G((()=>new q(["initExpression"]))),rename:new G((()=>new q(["initExpression"]))),assign:new G((()=>new q(["expression"]))),assignMemberChain:new G((()=>new q(["expression","members"]))),typeof:new G((()=>new q(["expression"]))),importCall:new q(["expression"]),topLevelAwait:new q(["expression"]),call:new G((()=>new q(["expression"]))),callMemberChain:new G((()=>new q(["expression","members"]))),memberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new q(["optionalChaining"]),new:new G((()=>new q(["expression"]))),expression:new G((()=>new q(["expression"]))),expressionMemberChain:new G((()=>new q(["expression","members"]))),unhandledExpressionMemberChain:new G((()=>new q(["expression","members"]))),expressionConditionalOperator:new q(["expression"]),expressionLogicalOperator:new q(["expression"]),program:new q(["ast","comments"]),finish:new q(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const N=E;switch(typeof N.value){case"number":return(new Te).setNumber(N.value).setRange(N.range);case"bigint":return(new Te).setBigInt(N.value).setRange(N.range);case"string":return(new Te).setString(N.value).setRange(N.range);case"boolean":return(new Te).setBoolean(N.value).setRange(N.range)}if(N.value===null){return(new Te).setNull().setRange(N.range)}if(N.value instanceof RegExp){return(new Te).setRegExp(N.value).setRange(N.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.callee;if(R.type!=="Identifier"||R.name!=="RegExp"||N.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let j,$;const q=N.arguments[0];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;j=E.asString();if(!j)return}else{return(new Te).setRegExp(new RegExp("")).setRange(N.range)}const G=N.arguments[1];if(G){if(G.type==="SpreadElement")return;const E=this.evaluateExpression(G);if(!E)return;if(!E.isUndefined()){$=E.asString();if($===undefined||!Te.isValidRegExpFlags($))return}}return(new Te).setRegExp($?new RegExp(j,$):new RegExp(j)).setRange(N.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.left);if(!R)return;let j=false;let $;if(N.operator==="&&"){const E=R.asBool();if(E===false)return R.setRange(N.range);j=E===true;$=false}else if(N.operator==="||"){const E=R.asBool();if(E===true)return R.setRange(N.range);j=E===false;$=true}else if(N.operator==="??"){const E=R.asNullish();if(E===false)return R.setRange(N.range);if(E!==true)return;j=true}else return;const q=this.evaluateExpression(N.right);if(!q)return;if(j){if(R.couldHaveSideEffects())q.setSideEffects();return q.setRange(N.range)}const G=q.asBool();if($===true&&G===true){return(new Te).setRange(N.range).setTruthy()}else if($===false&&G===false){return(new Te).setRange(N.range).setFalsy()}}));const valueAsExpression=(E,N,R)=>{switch(typeof E){case"boolean":return(new Te).setBoolean(E).setSideEffects(R).setRange(N.range);case"number":return(new Te).setNumber(E).setSideEffects(R).setRange(N.range);case"bigint":return(new Te).setBigInt(E).setSideEffects(R).setRange(N.range);case"string":return(new Te).setString(E).setSideEffects(R).setRange(N.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.left);if(!R||!R.isCompileTimeValue())return;const j=this.evaluateExpression(N.right);if(!j||!j.isCompileTimeValue())return;const $=E(R.asCompileTimeValue(),j.asCompileTimeValue());return valueAsExpression($,N,R.couldHaveSideEffects()||j.couldHaveSideEffects())};const isAlwaysDifferent=(E,N)=>E===true&&N===false||E===false&&N===true;const handleTemplateStringCompare=(E,N,R,j)=>{const getPrefix=E=>{let N="";for(const R of E){const E=R.asString();if(E!==undefined)N+=E;else break}return N};const getSuffix=E=>{let N="";for(let R=E.length-1;R>=0;R--){const j=E[R].asString();if(j!==undefined)N=j+N;else break}return N};const $=getPrefix(E.parts);const q=getPrefix(N.parts);const G=getSuffix(E.parts);const ie=getSuffix(N.parts);const ae=Math.min($.length,q.length);const ce=Math.min(G.length,ie.length);if($.slice(0,ae)!==q.slice(0,ae)||G.slice(-ce)!==ie.slice(-ce)){return R.setBoolean(!j).setSideEffects(E.couldHaveSideEffects()||N.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Te;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()===j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}const ie=R.isPrimitiveType();const ae=j.isPrimitiveType();if(ie===false&&(q||ae===true)||ae===false&&(G||ie===true)||isAlwaysDifferent(R.asBool(),j.asBool())||isAlwaysDifferent(R.asNullish(),j.asNullish())){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Te;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()==j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}};if(N.operator==="+"){const E=this.evaluateExpression(N.left);if(!E)return;const R=this.evaluateExpression(N.right);if(!R)return;const j=new Te;if(E.isString()){if(R.isString()){j.setString(E.string+R.string)}else if(R.isNumber()){j.setString(E.string+R.number)}else if(R.isWrapped()&&R.prefix&&R.prefix.isString()){j.setWrapped((new Te).setString(E.string+R.prefix.string).setRange(joinRanges(E.range,R.prefix.range)),R.postfix,R.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E,R.postfix,R.wrappedInnerExpressions)}else{j.setWrapped(E,null,[R])}}else if(E.isNumber()){if(R.isString()){j.setString(E.number+R.string)}else if(R.isNumber()){j.setNumber(E.number+R.number)}else{return}}else if(E.isBigInt()){if(R.isBigInt()){j.setBigInt(E.bigint+R.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&R.isString()){j.setWrapped(E.prefix,(new Te).setString(E.postfix.string+R.string).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&R.isNumber()){j.setWrapped(E.prefix,(new Te).setString(E.postfix.string+R.number).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(R.isString()){j.setWrapped(E.prefix,R,E.wrappedInnerExpressions)}else if(R.isNumber()){j.setWrapped(E.prefix,(new Te).setString(R.number+"").setRange(R.range),E.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E.prefix,R.postfix,E.wrappedInnerExpressions&&R.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(R.prefix?[R.prefix]:[]).concat(R.wrappedInnerExpressions))}else{j.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,R]:[R]))}}else{if(R.isString()){j.setWrapped(null,R,[E])}else if(R.isWrapped()){j.setWrapped(null,R.postfix,R.wrappedInnerExpressions&&(R.prefix?[E,R.prefix]:[E]).concat(R.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||R.couldHaveSideEffects())j.setSideEffects();j.setRange(N.range);return j}else if(N.operator==="-"){return handleConstOperation(((E,N)=>E-N))}else if(N.operator==="*"){return handleConstOperation(((E,N)=>E*N))}else if(N.operator==="/"){return handleConstOperation(((E,N)=>E/N))}else if(N.operator==="**"){return handleConstOperation(((E,N)=>E**N))}else if(N.operator==="==="){return handleStrictEqualityComparison(true)}else if(N.operator==="=="){return handleAbstractEqualityComparison(true)}else if(N.operator==="!=="){return handleStrictEqualityComparison(false)}else if(N.operator==="!="){return handleAbstractEqualityComparison(false)}else if(N.operator==="&"){return handleConstOperation(((E,N)=>E&N))}else if(N.operator==="|"){return handleConstOperation(((E,N)=>E|N))}else if(N.operator==="^"){return handleConstOperation(((E,N)=>E^N))}else if(N.operator===">>>"){return handleConstOperation(((E,N)=>E>>>N))}else if(N.operator===">>"){return handleConstOperation(((E,N)=>E>>N))}else if(N.operator==="<<"){return handleConstOperation(((E,N)=>E<E"){return handleConstOperation(((E,N)=>E>N))}else if(N.operator==="<="){return handleConstOperation(((E,N)=>E<=N))}else if(N.operator===">="){return handleConstOperation(((E,N)=>E>=N))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.argument);if(!R||!R.isCompileTimeValue())return;const j=E(R.asCompileTimeValue());return valueAsExpression(j,N,R.couldHaveSideEffects())};if(N.operator==="typeof"){switch(N.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,N.argument.name,N);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(N.argument),N);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument,N);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument.expression,N);if(E!==undefined)return E;break}case"FunctionExpression":{return(new Te).setString("function").setRange(N.range)}}const E=this.evaluateExpression(N.argument);if(E.isUnknown())return;if(E.isString()){return(new Te).setString("string").setRange(N.range)}if(E.isWrapped()){return(new Te).setString("string").setSideEffects().setRange(N.range)}if(E.isUndefined()){return(new Te).setString("undefined").setRange(N.range)}if(E.isNumber()){return(new Te).setString("number").setRange(N.range)}if(E.isBigInt()){return(new Te).setString("bigint").setRange(N.range)}if(E.isBoolean()){return(new Te).setString("boolean").setRange(N.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new Te).setString("object").setRange(N.range)}if(E.isArray()){return(new Te).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}}else if(N.operator==="!"){const E=this.evaluateExpression(N.argument);if(!E)return;const R=E.asBool();if(typeof R!=="boolean")return;return(new Te).setBoolean(!R).setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}else if(N.operator==="~"){return handleConstOperation((E=>~E))}else if(N.operator==="+"){return handleConstOperation((E=>+E))}else if(N.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new Te).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,N)=>{let R=undefined;let j=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const $=E;const q=N(E);if(q!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,q.name,(E=>{R=$;j=q}),(E=>{const N=this.hooks.evaluateDefinedIdentifier.get(E);if(N!==undefined){return N.call($)}}),$)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const $=R===E?j:N(E);if($!==undefined){return(new Te).setIdentifier($.name,$.rootInfo,$.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{R=j=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const N=this.getVariableInfo(E.name);if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const N=this.getVariableInfo("this");if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const N=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),N)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,Ie)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const N=E;if(N.callee.type!=="MemberExpression"||N.callee.property.type!==(N.callee.computed?"Literal":"Identifier")){return}const R=this.evaluateExpression(N.callee.object);if(!R)return;const j=N.callee.property.type==="Literal"?`${N.callee.property.value}`:N.callee.property.name;const $=this.hooks.evaluateCallExpressionMember.get(j);if($!==undefined){return $.call(N,R)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length===0)return;const[R,j]=E.arguments;if(R.type==="SpreadElement")return;const $=this.evaluateExpression(R);if(!$.isString())return;const q=$.string;let G;if(j){if(j.type==="SpreadElement")return;const E=this.evaluateExpression(j);if(!E.isNumber())return;G=N.string.indexOf(q,E.number)}else{G=N.string.indexOf(q)}return(new Te).setNumber(G).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let R=this.evaluateExpression(E.arguments[0]);let j=this.evaluateExpression(E.arguments[1]);if(!R.isString()&&!R.isRegExp())return;const $=R.regExp||R.string;if(!j.isString())return;const q=j.string;return(new Te).setString(N.string.replace($,q)).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((N,R)=>{if(!R.isString())return;let j;let $,q=R.string;switch(N.arguments.length){case 1:if(N.arguments[0].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);if(!j.isNumber())return;$=q[E](j.number);break;case 2:{if(N.arguments[0].type==="SpreadElement")return;if(N.arguments[1].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);const R=this.evaluateExpression(N.arguments[1]);if(!j.isNumber())return;if(!R.isNumber())return;$=q[E](j.number,R.number);break}default:return}return(new Te).setString($).setSideEffects(R.couldHaveSideEffects()).setRange(N.range)}))}));const getSimplifiedTemplateResult=(E,N)=>{const R=[];const j=[];for(let $=0;$0){const E=j[j.length-1];const R=this.evaluateExpression(N.expressions[$-1]);const ie=R.asString();if(typeof ie==="string"&&!R.couldHaveSideEffects()){E.setString(E.string+ie+G);E.setRange([E.range[0],q.range[1]]);E.setExpression(undefined);continue}j.push(R)}const ie=(new Te).setString(G).setRange(q.range).setExpression(q);R.push(ie);j.push(ie)}return{quasis:R,parts:j}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const N=E;const{quasis:R,parts:j}=getSimplifiedTemplateResult("cooked",N);if(j.length===1){return j[0].setRange(N.range)}return(new Te).setTemplateString(R,j,"cooked").setRange(N.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.tag);if(R.isIdentifier()&&R.identifier!=="String.raw")return;const{quasis:j,parts:$}=getSimplifiedTemplateResult("raw",N.quasi);return(new Te).setTemplateString(j,$,"raw").setRange(N.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,N)=>{if(!N.isString()&&!N.isWrapped())return;let R=null;let j=false;const $=[];for(let N=E.arguments.length-1;N>=0;N--){const q=E.arguments[N];if(q.type==="SpreadElement")return;const G=this.evaluateExpression(q);if(j||!G.isString()&&!G.isNumber()){j=true;$.push(G);continue}const ie=G.isString()?G.string:""+G.number;const ae=ie+(R?R.string:"");const ce=[G.range[0],(R||G).range[1]];R=(new Te).setString(ae).setSideEffects(R&&R.couldHaveSideEffects()||G.couldHaveSideEffects()).setRange(ce)}if(j){const j=N.isString()?N:N.prefix;const q=N.isWrapped()&&N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Te).setWrapped(j,R,q).setRange(E.range)}else if(N.isWrapped()){const j=R||N.postfix;const q=N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Te).setWrapped(N.prefix,j,q).setRange(E.range)}else{const j=N.string+(R?R.string:"");return(new Te).setString(j).setSideEffects(R&&R.couldHaveSideEffects()||N.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let R;const j=this.evaluateExpression(E.arguments[0]);if(j.isString()){R=N.string.split(j.string)}else if(j.isRegExp()){R=N.string.split(j.regExp)}else{return}return(new Te).setArray(R).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.test);const j=R.asBool();let $;if(j===undefined){const E=this.evaluateExpression(N.consequent);const R=this.evaluateExpression(N.alternate);if(!E||!R)return;$=new Te;if(E.isConditional()){$.setOptions(E.options)}else{$.setOptions([E])}if(R.isConditional()){$.addOptions(R.options)}else{$.addOptions([R])}}else{$=this.evaluateExpression(j?N.consequent:N.alternate);if(R.couldHaveSideEffects())$.setSideEffects()}$.setRange(N.range);return $}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!R.every(Boolean))return;return(new Te).setItems(R).setRange(N.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const N=E;const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length>0){const N=R.pop();const j=this.evaluateExpression(N);if(j&&j.asNullish()){return j.setRange(E.range)}}return this.evaluateExpression(N.expression)}))}getRenameIdentifier(E){const N=this.evaluateExpression(E);if(N&&N.isIdentifier()){return N.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const N of E.body.body){if(!this.hooks.classBodyElement.call(N,E)){if(N.computed&&N.key){this.walkExpression(N.key)}if(N.value){if(!this.hooks.classBodyValue.call(N.value,N,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(N.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let N=0,R=E.length;N{const N=E.body;const R=this.prevStatement;this.blockPreWalkStatements(N);this.prevStatement=R;this.walkStatements(N)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const N=this.hooks.statementIf.call(E);if(N===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(N){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const N=this.hooks.label.get(E.label.name);if(N!==undefined){const R=N.call(E);if(R===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}blockPreWalkImportDeclaration(E){const N=E.source.value;this.hooks.import.call(E,N);for(const R of E.specifiers){const j=R.local.name;switch(R.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,N,"default",j)){this.defineVariable(j)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,N,R.imported.name,j)){this.defineVariable(j)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,N,null,j)){this.defineVariable(j)}break;default:this.defineVariable(j)}}}enterDeclaration(E,N){switch(E.type){case"VariableDeclaration":for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{this.enterPattern(R.id,N);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,N);break;case"ClassDeclaration":this.enterPattern(E.id,N);break}}blockPreWalkExportNamedDeclaration(E){let N;if(E.source){N=E.source.value;this.hooks.exportImport.call(E,N)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const N=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=N;this.blockPreWalkStatement(E.declaration);let R=0;this.enterDeclaration(E.declaration,(N=>{this.hooks.exportSpecifier.call(E,N,N,R++)}))}}if(E.specifiers){for(let R=0;R{let j=N.get(E);if(j===undefined||!j.call(R)){j=this.hooks.varDeclaration.get(E);if(j===undefined||!j.call(R)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const N of E.declarations){switch(N.type){case"VariableDeclarator":{const R=N.init&&this.getRenameIdentifier(N.init);if(R&&N.id.type==="Identifier"){const E=this.hooks.canRename.get(R);if(E!==undefined&&E.call(N.init)){const E=this.hooks.rename.get(R);if(E===undefined||!E.call(N.init)){this.setVariable(N.id.name,R)}break}}if(!this.hooks.declarator.call(N,E)){this.walkPattern(N.id);if(N.init)this.walkExpression(N.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let N=0,R=E.length;N{const N=E.length;for(let R=0;R0){const E=this.prevStatement;this.blockPreWalkStatements(N.consequent);this.prevStatement=E}}for(let R=0;R0){this.walkStatements(N.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const N=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let N=0,R=E.properties.length;N{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkArrowFunctionExpression(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=N?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkSequenceExpression(E){if(!E.expressions)return;const N=this.statementPath[this.statementPath.length-1];if(N===E||N.type==="ExpressionStatement"&&N.expression===E){const N=this.statementPath.pop();for(const N of E.expressions){this.statementPath.push(N);this.walkExpression(N);this.statementPath.pop()}this.statementPath.push(N)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(N===true)return;if(E.argument.type==="ChainExpression"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(N===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const N=this.hooks.expressionLogicalOperator.call(E);if(N===undefined){this.walkLeftRightExpression(E)}else{if(N){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const N=this.getRenameIdentifier(E.right);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E.right)){if(!this.callHooksForInfo(this.hooks.rename,N,E.right)){this.setVariable(E.left.name,this.getVariableInfo(N))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.defineVariable(N)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.left,Ie);if(N){if(this.callHooksForInfo(this.hooks.assignMemberChain,N.rootInfo,E,N.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const N=this.hooks.expressionConditionalOperator.call(E);if(N===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(N){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const N=this.callHooksForExpression(this.hooks.new,E.callee,E);if(N===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const N=this.hooks.optionalChaining.call(E);if(N===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,N,R){const getVarInfo=E=>{const N=this.getRenameIdentifier(E);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E)){if(!this.callHooksForInfo(this.hooks.rename,N,E)){return this.getVariableInfo(N)}}}this.walkExpression(E)};const{params:j,type:$}=E;const q=$==="ArrowFunctionExpression";const G=R?getVarInfo(R):null;const ie=N.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&q?"arrow":false;const ce=j.filter(((E,N)=>!ie[N]));if(E.id){ce.push(E.id.name)}this.inFunctionScope(true,ce,(()=>{if(G&&!q){this.setVariable("this",G)}for(let E=0;EE.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.callee,we);if(N&&N.type==="call"){const R=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return}}const N=this.evaluateExpression(E.callee);if(N.isIdentifier()){const R=this.callHooksForInfo(this.hooks.callMemberChain,N.rootInfo,E,N.getMembers());if(R===true)return;const j=this.callHooksForInfo(this.hooks.call,N.identifier,E);if(j===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const N=this.getMemberExpressionInfo(E,Ne);if(N){switch(N.type){case"expression":{const R=this.callHooksForInfo(this.hooks.expression,N.name,E);if(R===true)return;const j=N.getMembers();const $=this.callHooksForInfo(this.hooks.expressionMemberChain,N.rootInfo,E,j);if($===true)return;this.walkMemberExpressionWithExpressionName(E,N.name,N.rootInfo,j.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,N.rootInfo,E,j)));return}case"call":{const R=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return;this.walkExpression(N.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,N,R,j,$){if(E.object.type==="MemberExpression"){const q=E.property.name||`${E.property.value}`;N=N.slice(0,-q.length-1);j.pop();const G=this.callHooksForInfo(this.hooks.expression,N,E.object);if(G===true)return;this.walkMemberExpressionWithExpressionName(E.object,N,R,j,$)}else if(!$||!$()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,N,...R){return this.callHooksForExpressionWithFallback(E,N,undefined,undefined,...R)}callHooksForExpressionWithFallback(E,N,R,j,...$){const q=this.getMemberExpressionInfo(N,Ie);if(q!==undefined){const N=q.getMembers();return this.callHooksForInfoWithFallback(E,N.length===0?q.rootInfo:q.name,R&&(E=>R(E,q.rootInfo,q.getMembers)),j&&(()=>j(q.name)),...$)}}callHooksForName(E,N,...R){return this.callHooksForNameWithFallback(E,N,undefined,undefined,...R)}callHooksForInfo(E,N,...R){return this.callHooksForInfoWithFallback(E,N,undefined,undefined,...R)}callHooksForInfoWithFallback(E,N,R,j,...$){let q;if(typeof N==="string"){q=N}else{if(!(N instanceof VariableInfo)){if(j!==undefined){return j()}return}let R=N.tagInfo;while(R!==undefined){const N=E.get(R.tag);if(N!==undefined){this.currentTagData=R.data;const E=N.call(...$);this.currentTagData=undefined;if(E!==undefined)return E}R=R.next}if(N.freeName===true){if(j!==undefined){return j()}return}q=N.freeName}const G=E.get(q);if(G!==undefined){const E=G.call(...$);if(E!==undefined)return E}if(R!==undefined){return R(q)}}callHooksForNameWithFallback(E,N,R,j,...$){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(N),R,j,...$)}inScope(E,N){const R=this.scope;this.scope={topLevelScope:R.topLevelScope,inTry:false,inShorthand:false,isStrict:R.isStrict,isAsmJs:R.isAsmJs,definitions:R.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,N)=>{this.defineVariable(E)}));N();this.scope=R}inFunctionScope(E,N,R){const j=this.scope;this.scope={topLevelScope:j.topLevelScope,inTry:false,inShorthand:false,isStrict:j.isStrict,isAsmJs:j.isAsmJs,definitions:j.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(N,((E,N)=>{this.defineVariable(E)}));R();this.scope=j}inBlockScope(E){const N=this.scope;this.scope={topLevelScope:N.topLevelScope,inTry:N.inTry,inShorthand:false,isStrict:N.isStrict,isAsmJs:N.isAsmJs,definitions:N.definitions.createChild()};E();this.scope=N}detectMode(E){const N=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(N&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(N&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,N){for(const R of E){if(typeof R!=="string"){this.enterPattern(R,N)}else if(R){N(R)}}}enterPattern(E,N){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,N);break;case"AssignmentPattern":this.enterAssignmentPattern(E,N);break;case"Identifier":this.enterIdentifier(E,N);break;case"ObjectPattern":this.enterObjectPattern(E,N);break;case"RestElement":this.enterRestElement(E,N);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,N);this.scope.inShorthand=false}else{this.enterPattern(E.value,N)}break}}enterIdentifier(E,N){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){N(E.name,E)}}enterObjectPattern(E,N){for(let R=0,j=E.properties.length;R$.add(E)})}const q=this.scope;const G=this.state;const ie=this.comments;const ae=this.semicolons;const le=this.statementPath;const _e=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new ce};this.state=N;this.comments=j;this.semicolons=$;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(R,j)===undefined){this.detectMode(R.body);this.preWalkStatements(R.body);this.prevStatement=undefined;this.blockPreWalkStatements(R.body);this.prevStatement=undefined;this.walkStatements(R.body)}this.hooks.finish.call(R,j);this.scope=q;this.state=G;this.comments=ie;this.semicolons=ae;this.statementPath=le;this.prevStatement=_e;return N}evaluate(E){const N=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(N.body.length!==1||N.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(N.body[0].expression)}isPure(E,N){if(!E)return true;const R=this.hooks.isPure.for(E.type).call(E,N);if(typeof R==="boolean")return R;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const N=E.body.body;return N.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,N)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const R=this.isPure(E,N);N=E.range[1];return R}));case"CallExpression":{const R=E.range[0]-N>12&&this.getComments([N,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!R)return false;N=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const R=this.isPure(E,N);N=E.range[1];return R}))}}const j=this.evaluateExpression(E);return!j.couldHaveSideEffects()}getComments(E){const[N,R]=E;const compare=(E,N)=>E.range[0]-N;let j=le.ge(this.comments,N,compare);let $=[];while(this.comments[j]&&this.comments[j].range[1]<=R){$.push(this.comments[j]);j++}return $}isAsiPosition(E){const N=this.statementPath[this.statementPath.length-1];if(N===undefined)throw new Error("Not in statement");return N.range[1]===E&&this.semicolons.has(E)||N.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const N=this.statementPath[this.statementPath.length-1];return E===N||N.type==="ExpressionStatement"&&N.expression===E}getTagData(E,N){const R=this.scope.definitions.get(E);if(R instanceof VariableInfo){let E=R.tagInfo;while(E!==undefined){if(E.tag===N)return E.data;E=E.next}}}tagVariable(E,N,R){const j=this.scope.definitions.get(E);let $;if(j===undefined){$=new VariableInfo(this.scope,E,{tag:N,data:R,next:undefined})}else if(j instanceof VariableInfo){$=new VariableInfo(j.declaredScope,j.freeName,{tag:N,data:R,next:j.tagInfo})}else{$=new VariableInfo(j,true,{tag:N,data:R,next:undefined})}this.scope.definitions.set(E,$)}defineVariable(E){const N=this.scope.definitions.get(E);if(N instanceof VariableInfo&&N.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const N=this.scope.definitions.get(E);if(N===undefined)return false;if(N instanceof VariableInfo){return N.freeName===true}return true}getVariableInfo(E){const N=this.scope.definitions.get(E);if(N===undefined){return E}else{return N}}setVariable(E,N){if(typeof N==="string"){if(N===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,N,undefined))}}else{this.scope.definitions.set(E,N)}}parseCommentOptions(E){const N=this.getComments(E);if(N.length===0){return je}let R={};let j=[];for(const E of N){const{value:N}=E;if(N&&Be.test(N)){try{const E=ie.runInNewContext(`(function(){return {${N}};})()`);Object.assign(R,E)}catch(N){N.comment=E;j.push(N)}}}return{options:R,errors:j}}extractMemberExpressionChain(E){let N=E;const R=[];while(N.type==="MemberExpression"){if(N.computed){if(N.property.type!=="Literal")break;R.push(`${N.property.value}`)}else{if(N.property.type!=="Identifier")break;R.push(N.property.name)}N=N.object}return{members:R,object:N}}getFreeInfoFromVariable(E){const N=this.getVariableInfo(E);let R;if(N instanceof VariableInfo){R=N.freeName;if(typeof R!=="string")return undefined}else if(typeof N!=="string"){return undefined}else{R=N}return{info:N,name:R}}getMemberExpressionInfo(E,N){const{object:R,members:j}=this.extractMemberExpressionChain(E);switch(R.type){case"CallExpression":{if((N&we)===0)return undefined;let E=R.callee;let $=Ee;if(E.type==="MemberExpression"){({object:E,members:$}=this.extractMemberExpressionChain(E))}const q=getRootName(E);if(!q)return undefined;const G=this.getFreeInfoFromVariable(q);if(!G)return undefined;const{info:ie,name:ae}=G;const ce=objectAndMembersToName(ae,$);return{type:"call",call:R,calleeName:ce,rootInfo:ie,getCalleeMembers:_e((()=>$.reverse())),name:objectAndMembersToName(`${ce}()`,j),getMembers:_e((()=>j.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((N&Ie)===0)return undefined;const E=getRootName(R);if(!E)return undefined;const $=this.getFreeInfoFromVariable(E);if(!$)return undefined;const{info:q,name:G}=$;return{type:"expression",name:objectAndMembersToName(G,j),rootInfo:q,getMembers:_e((()=>j.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,Ie)}static _parse(E,N){const R=N?N.sourceType:"module";const j={...Le,allowReturnOutsideFunction:R==="script",...N,sourceType:R==="auto"?"module":R};let $;let q;let G=false;try{$=Me.parse(E,j)}catch(E){q=E;G=true}if(G&&R==="auto"){j.sourceType="script";if(!("allowReturnOutsideFunction"in N)){j.allowReturnOutsideFunction=true}if(Array.isArray(j.onComment)){j.onComment.length=0}try{$=Me.parse(E,j);G=false}catch(E){}}if(G){throw q}return $}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ne;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Ie;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=we},48472:(E,N,R)=>{"use strict";const j=R(53558);const $=R(66298);const q=R(87250);N.toConstantDependency=(E,N,R)=>function constDependency(j){const q=new $(N,j.range,R);q.loc=j.loc;E.state.module.addPresentationalDependency(q);return true};N.evaluateToString=E=>function stringExpression(N){return(new q).setString(E).setRange(N.range)};N.evaluateToNumber=E=>function stringExpression(N){return(new q).setNumber(E).setRange(N.range)};N.evaluateToBoolean=E=>function booleanExpression(N){return(new q).setBoolean(E).setRange(N.range)};N.evaluateToIdentifier=(E,N,R,j)=>function identifierExpression($){let G=(new q).setIdentifier(E,N,R).setSideEffects(false).setRange($.range);switch(j){case true:G.setTruthy();break;case null:G.setNullish(true);break;case false:G.setFalsy();break}return G};N.expressionIsUnsupported=(E,N)=>function unsupportedExpression(R){const q=new $("(void 0)",R.range,null);q.loc=R.loc;E.state.module.addPresentationalDependency(q);if(!E.state.module)return;E.state.module.addWarning(new j(N,R.loc));return true};N.skipTraversal=()=>true;N.approve=()=>true},13085:(E,N,R)=>{"use strict";const j=R(71452);const $=R(76150);const q=R(58159);const{isSubset:G}=R(26221);const{chunkHasJs:ie}=R(18161);const getAllChunks=(E,N,R)=>{const $=new Set([E]);const q=new Set;for(const E of $){for(const j of E.chunks){if(j===N)continue;if(j===R)continue;q.add(j)}for(const N of E.parentsIterable){if(N instanceof j)$.add(N)}}return q};const ae="var __webpack_exports__ = ";N.generateEntryStartup=(E,N,R,j,ie)=>{const ce=[`var __webpack_exec__ = ${N.returningFunction(`__webpack_require__(${$.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,R,j)=>{if(E.size===0){ce.push(`${j?ae:""}(${R.map(runModule).join(", ")});`)}else{const q=N.returningFunction(R.map(runModule).join(", "));ce.push(`${j&&!ie?ae:""}${ie?$.onChunksLoaded:$.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${q});`);if(j&&ie){ce.push(`${ae}${$.onChunksLoaded}();`)}}};let le=undefined;let _e=undefined;for(const[N,$]of R){const R=$.getRuntimeChunk();const q=E.getModuleId(N);const ie=getAllChunks($,j,R);if(le&&le.size===ie.size&&G(le,ie)){_e.push(q)}else{if(le){outputCombination(le,_e)}le=ie;_e=[q]}}if(le){outputCombination(le,_e,true)}ce.push("");return q.asString(ce)};N.updateHashForEntryStartup=(E,N,R,j)=>{for(const[$,q]of R){const R=q.getRuntimeChunk();const G=N.getModuleId($);E.update(`${G}`);for(const N of getAllChunks(q,j,R))E.update(`${N.id}`)}};N.getInitialChunkIds=(E,N)=>{const R=new Set(E.ids);for(const j of E.getAllInitialChunks()){if(j===E||ie(j,N))continue;for(const E of j.ids)R.add(E)}return R}},72055:(E,N,R)=>{"use strict";const{register:j}=R(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}j(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:N}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}N(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(77294);const{UsageState:q}=R(76632);const G=R(36253);const ie=R(76150);const stringifySafe=E=>{const N=JSON.stringify(E);if(!N){return undefined}return N.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)!==q.Unused)return E;const j=Array.isArray(E);const $=j?[]:{};for(const j of Object.keys(E)){const G=N.getReadOnlyExportInfo(j);const ie=G.getUsed(R);if(ie===q.Unused)continue;let ae;if(ie===q.OnlyPropertiesUsed&&G.exportsInfo){ae=createObjectForExportsInfo(E[j],G.exportsInfo,R)}else{ae=E[j]}const ce=G.getUsedName(j,R);$[ce]=ae}if(j){let j=N.getReadOnlyExportInfo("length").getUsed(R)!==q.Unused?E.length:undefined;let G=0;for(let E=0;E<$.length;E++){if($[E]===undefined){G-=2}else{G+=`${E}`.length+3}}if(j!==undefined){G+=`${j}`.length+8-(j-$.length)*2}if(G<0)return Object.assign(j===undefined?{}:{length:j},$);const ie=j!==undefined?Math.max(j,$.length):$.length;for(let E=0;E20&&typeof Te==="object"?`JSON.parse('${Ee.replace(/[\\']/g,"\\$&")}')`:Ee;let Ie;if(ce){Ie=`${R.supportsConst()?"const":"var"} ${$.NAMESPACE_OBJECT_EXPORT} = ${we};`;ce.registerNamespaceExport($.NAMESPACE_OBJECT_EXPORT)}else{G.add(ie.module);Ie=`${E.moduleArgument}.exports = ${we};`}return new j(Ie)}}E.exports=JsonGenerator},9483:(E,N,R)=>{"use strict";const j=R(35817);const $=R(79279);const q=R(79232);const G=j(R(71633),(()=>R(89408)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:N})=>{N.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{G(E);return new q(E)}));N.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new $))}))}}E.exports=JsonModulesPlugin},79232:(E,N,R)=>{"use strict";const j=R(78688);const $=R(2172);const q=R(38895);const G=R(72055);class JsonParser extends ${constructor(E){super();this.options=E||{}}parse(E,N){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const R=typeof this.options.parse==="function"?this.options.parse:j;const $=typeof E==="object"?E:R(E[0]==="\ufeff"?E.slice(1):E);N.module.buildInfo.jsonData=new G($);N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";N.module.buildMeta.defaultObject=typeof $==="object"?"redirect-warn":false;N.module.addDependency(new q(q.getExportsFromData($)));return N}}E.exports=JsonParser},9786:(E,N,R)=>{"use strict";const j=R(76150);const $=R(18161);const q="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:N}){this._pluginName=E;this._type=N;this._parseCache=new WeakMap}apply(E){const{_pluginName:N}=this;E.hooks.thisCompilation.tap(N,(E=>{E.hooks.finishModules.tap({name:N,stage:10},(()=>{for(const[N,{dependencies:R,options:{library:j}}]of E.entries){const $=this._parseOptionsCached(j!==undefined?j:E.outputOptions.library);if($!==false){const j=R[R.length-1];if(j){const R=E.moduleGraph.getModule(j);if(R){this.finishEntryModule(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=N=>{if(E.chunkGraph.getNumberOfEntryModules(N)===0)return false;const R=N.getEntryOptions();const j=R&&R.library;return this._parseOptionsCached(j!==undefined?j:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(N,((N,R,{chunkGraph:j})=>{const $=getOptionsForChunk(N);if($!==false){this.runtimeRequirements(N,R,{options:$,compilation:E,chunkGraph:j})}}))}const R=$.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){R.render.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return N;return this.render(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){R.embedInRuntimeBailout.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return;return this.embedInRuntimeBailout(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){R.strictRuntimeBailout.tap(N,(N=>{const R=getOptionsForChunk(N.chunk);if(R===false)return;return this.strictRuntimeBailout(N,{options:R,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){R.renderStartup.tap(N,((N,R,j)=>{const $=getOptionsForChunk(j.chunk);if($===false)return N;return this.renderStartup(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}R.chunkHash.tap(N,((N,R,j)=>{const $=getOptionsForChunk(N);if($===false)return;this.chunkHash(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const N=this._parseCache.get(E);if(N!==undefined)return N;const R=this.parseOptions(E);this._parseCache.set(E,R);return R}parseOptions(E){const N=R(75884);throw new N}finishEntryModule(E,N,R){}embedInRuntimeBailout(E,N,R){return undefined}strictRuntimeBailout(E,N){return undefined}runtimeRequirements(E,N,R){if(this.render!==AbstractLibraryPlugin.prototype.render)N.add(j.returnExportsFromRuntime)}render(E,N,R){return E}renderStartup(E,N,R,j){return E}chunkHash(E,N,R,j){const $=this._parseOptionsCached(j.compilation.outputOptions.library);N.update(this._pluginName);N.update(JSON.stringify($))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=q;E.exports=AbstractLibraryPlugin},17982:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const $=R(16734);const q=R(58159);const G=R(9786);class AmdLibraryPlugin extends G{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:N}=E;if(this.requireAsWrapper){if(N){throw new Error(`AMD library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(N&&typeof N!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:N}}render(E,{chunkGraph:N,chunk:R,runtimeTemplate:G},{options:ie,compilation:ae}){const ce=G.supportsArrowFunction();const le=N.getChunkModules(R).filter((E=>E instanceof $));const _e=le;const Te=JSON.stringify(_e.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ee=_e.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const we=G.isIIFE();const Ie=(ce?`(${Ee}) => {`:`function(${Ee}) {`)+(we||!R.hasRuntime()?" return ":"\n");const Ne=we?";\n}":"\n}";if(this.requireAsWrapper){return new j(`require(${Te}, ${Ie}`,E,`${Ne});`)}else if(ie.name){const N=ae.getPath(ie.name,{chunk:R});return new j(`define(${JSON.stringify(N)}, ${Te}, ${Ie}`,E,`${Ne});`)}else if(Ee){return new j(`define(${Te}, ${Ie}`,E,`${Ne});`)}else{return new j(`define(${Ie}`,E,`${Ne});`)}}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AmdLibraryPlugin");if(this.requireAsWrapper){N.update("requireAsWrapper")}else if(j.name){N.update("named");const R=$.getPath(j.name,{chunk:E});N.update(R)}}}E.exports=AmdLibraryPlugin},69444:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const{UsageState:$}=R(76632);const q=R(58159);const G=R(68038);const{getEntryRuntime:ie}=R(37416);const ae=R(9786);const ce=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const le=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!ce.test(E)&&le.test(E);const accessWithInit=(E,N,R=false)=>{const j=E[0];if(E.length===1&&!R)return j;let $=N>0?j:`(${j} = typeof ${j} === "undefined" ? {} : ${j})`;let q=1;let ie;if(N>q){ie=E.slice(1,N);q=N;$+=G(ie)}else{ie=[]}const ae=R?E.length:E.length-1;for(;qR.getPath(E,{chunk:N})))}render(E,{chunk:N},{options:R,compilation:$}){const G=this._getResolvedFullName(R,N,$);if(this.declare){const N=G[0];if(!isNameValid(N)){throw new Error(`Library name base (${N}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${q.toIdentifier(N)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new j(`${this.declare} ${N};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:N},{options:R,compilation:j}){const $=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!$)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(R,N,j);const G=q[0];if($.has(G))return`it declares '${G}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:N,compilation:R}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!N.name){return}return"a global variable is assign and maybe created"}renderStartup(E,N,{chunk:R},{options:$,compilation:q}){const ie=this._getResolvedFullName($,R,q);const ae=$.export?G(Array.isArray($.export)?$.export:[$.export]):"";const ce=new j(E);if($.name?this.named==="copy":this.unnamed==="copy"){ce.add(`var __webpack_export_target__ = ${accessWithInit(ie,this._getPrefix(q).length,true)};\n`);let E="__webpack_exports__";if(ae){ce.add(`var __webpack_exports_export__ = __webpack_exports__${ae};\n`);E="__webpack_exports_export__"}ce.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);ce.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ce.add(`${accessWithInit(ie,this._getPrefix(q).length,false)} = __webpack_exports__${ae};\n`)}return ce}runtimeRequirements(E,N,R){}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AssignLibraryPlugin");const q=this.prefix==="global"?[$.outputOptions.globalObject]:this.prefix;const G=j.name?q.concat(j.name):q;const ie=G.map((N=>$.getPath(N,{chunk:E})));if(j.name?this.named==="copy":this.unnamed==="copy"){N.update("copy")}if(this.declare){N.update(this.declare)}N.update(ie.join("."));if(j.export){N.update(`${j.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){const enableExportProperty=()=>{const j=R(97140);new j({type:N,nsObjectUsed:N!=="module"}).apply(E)};switch(N){case"var":{const j=R(69444);new j({type:N,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const j=R(69444);new j({type:N,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const j=R(69444);new j({type:N,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const j=R(69444);new j({type:N,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const j=R(69444);new j({type:N,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const j=R(69444);new j({type:N,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const j=R(69444);new j({type:N,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const j=R(17982);new j({type:N,requireAsWrapper:N==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const j=R(76456);new j({type:N,optionalAmdExternalAsGlobal:N==="umd2"}).apply(E);break}case"system":{enableExportProperty();const j=R(59405);new j({type:N}).apply(E);break}case"jsonp":{enableExportProperty();const j=R(63154);new j({type:N}).apply(E);break}case"module":{enableExportProperty();const j=R(68111);new j({type:N}).apply(E);break}default:throw new Error(`Unsupported library type ${N}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const{UsageState:$}=R(76632);const q=R(68038);const{getEntryRuntime:G}=R(37416);const ie=R(9786);class ExportPropertyLibraryPlugin extends ie{constructor({type:E,nsObjectUsed:N}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=N}parseOptions(E){return{export:E.export}}finishEntryModule(E,N,{options:R,compilation:j,compilation:{moduleGraph:q}}){const ie=G(j,N);if(R.export){const N=q.getExportInfo(E,Array.isArray(R.export)?R.export[0]:R.export);N.setUsed($.Used,ie);N.canMangleUse=false}else{const N=q.getExportsInfo(E);if(this.nsObjectUsed){N.setUsedInUnknownWay(ie)}else{N.setAllKnownExportsUsed(ie)}}q.addExtraReason(E,"used as library export")}runtimeRequirements(E,N,R){}renderStartup(E,N,R,{options:$}){if(!$.export)return E;const G=`__webpack_exports__ = __webpack_exports__${q(Array.isArray($.export)?$.export:[$.export])};\n`;return new j(E,G)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const $=R(9786);class JsonpLibraryPlugin extends ${constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(typeof N!=="string"){throw new Error(`Jsonp library name must be a simple string. ${$.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunk:N},{options:R,compilation:$}){const q=$.getPath(R.name,{chunk:N});return new j(`${q}(`,E,")")}chunkHash(E,N,R,{options:j,compilation:$}){N.update("JsonpLibraryPlugin");N.update($.getPath(j.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const $=R(58159);const q=R(68038);const G=R(9786);class ModuleLibraryPlugin extends G{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N){throw new Error(`Library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}renderStartup(E,N,{moduleGraph:R,chunk:G},{options:ie,compilation:ae}){const ce=new j(E);const le=R.getExportsInfo(N);const _e=[];const Te=R.isAsync(N);if(Te){ce.add(`__webpack_exports__ = await __webpack_exports__;\n`)}for(const E of le.orderedExports){if(!E.provided)continue;const N=`__webpack_exports__${$.toIdentifier(E.name)}`;ce.add(`var ${N} = __webpack_exports__${q([E.getUsedName(E.name,G.runtime)])};\n`);_e.push(`${N} as ${E.name}`)}if(_e.length>0){ce.add(`export { ${_e.join(", ")} };\n`)}return ce}}E.exports=ModuleLibraryPlugin},59405:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(2991);const{UsageState:$}=R(76632);const q=R(16734);const G=R(58159);const ie=R(68038);const ae=R(9786);class SystemLibraryPlugin extends ae{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N&&typeof N!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunkGraph:N,moduleGraph:R,chunk:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ae).filter((E=>E instanceof q&&E.externalType==="system"));const Te=_e;const Ee=ce.name?`${JSON.stringify(le.getPath(ce.name,{chunk:ae}))}, `:"";const we=JSON.stringify(Te.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ie="__WEBPACK_DYNAMIC_EXPORT__";const Ne=Te.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`));const Me=Ne.map((E=>`var ${E} = {};`)).join("\n");const Le=[];const Be=Ne.length===0?"":G.asString(["setters: [",G.indent(Te.map(((E,N)=>{const j=Ne[N];const q=R.getExportsInfo(E);const ce=q.otherExportsInfo.getUsed(ae.runtime)===$.Unused;const le=[];const _e=[];for(const E of q.orderedExports){const N=E.getUsedName(undefined,ae.runtime);if(N){if(ce||N!==E.name){le.push(`${j}${ie([N])} = module${ie([E.name])};`);_e.push(E.name)}}else{_e.push(E.name)}}if(!ce){if(!Array.isArray(E.request)||E.request.length===1){Le.push(`Object.defineProperty(${j}, "__esModule", { value: true });`)}if(_e.length>0){const E=`${j}handledNames`;Le.push(`var ${E} = ${JSON.stringify(_e)};`);le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`if(${E}.indexOf(key) >= 0)`,G.indent(`${j}[key] = module[key];`)]),"});"]))}else{le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`${j}[key] = module[key];`]),"});"]))}}if(le.length===0)return"function() {}";return G.asString(["function(module) {",G.indent(le),"}"])})).join(",\n")),"],"]);return new j(G.asString([`System.register(${Ee}${we}, function(${Ie}, __system_context__) {`,G.indent([Me,G.asString(Le),"return {",G.indent([Be,"execute: function() {",G.indent(`${Ie}(`)])]),""]),E,G.asString(["",G.indent([G.indent([G.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,N,R,{options:j,compilation:$}){N.update("SystemLibraryPlugin");if(j.name){N.update($.getPath(j.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,N,R)=>{"use strict";const{ConcatSource:j,OriginalSource:$}=R(2991);const q=R(16734);const G=R(58159);const ie=R(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,N,R=", ")=>{const j=Array.isArray(N)?N:[N];return j.map(((N,R)=>{const $=E?E+accessorToObjectAccess(j.slice(0,R+1)):j[0]+accessorToObjectAccess(j.slice(1,R+1));if(R===j.length-1)return $;if(R===0&&E===undefined)return`${$} = typeof ${$} === "object" ? ${$} : {}`;return`${$} = ${$} || {}`})).join(R)};class UmdLibraryPlugin extends ie{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let N;let R;if(typeof E.name==="object"&&!Array.isArray(E.name)){N=E.name.root||E.name.amd||E.name.commonjs;R=E.name}else{N=E.name;const j=Array.isArray(N)?N[0]:N;R={commonjs:j,root:E.name,amd:j}}return{name:N,names:R,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:N,runtimeTemplate:R,chunk:ie,moduleGraph:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ie).filter((E=>E instanceof q&&(E.externalType==="umd"||E.externalType==="umd2")));let Te=_e;const Ee=[];let we=[];if(this.optionalAmdExternalAsGlobal){for(const E of Te){if(E.isOptional(ae)){Ee.push(E)}else{we.push(E)}}Te=we.concat(Ee)}else{we=Te}const replaceKeys=E=>le.getPath(E,{chunk:ie});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let N=E.request;if(typeof N==="object")N=N.root;return`root${accessorToObjectAccess([].concat(N))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(Te.map((N=>{let R;let j=N.request;if(typeof j==="object"){j=j[E]}if(j===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray(j)){R=`require(${JSON.stringify(j[0])})${accessorToObjectAccess(j.slice(1))}`}else{R=`require(${JSON.stringify(j)})`}if(N.isOptional(ae)){R=`(function webpackLoadOptionalExternalModule() { try { return ${R}; } catch(e) {} }())`}return R})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Ie;if(Ee.length>0){const E=externalsArguments(we);const N=we.length>0?externalsArguments(we)+", "+externalsRootArray(Ee):externalsRootArray(Ee);Ie=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${N});\n`+"\t\t}"}else{Ie="factory"}const{auxiliaryComment:Ne,namedDefine:Me,names:Le}=ce;const getAuxiliaryComment=E=>{if(Ne){if(typeof Ne==="string")return"\t//"+Ne+"\n";if(Ne[E])return"\t//"+Ne[E]+"\n"}return""};return new j(new $("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(we.length>0?Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", "+externalsDepsArray(we)+", "+Ie+");\n":"\t\tdefine("+externalsDepsArray(we)+", "+Ie+");\n":Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", [], "+Ie+");\n":"\t\tdefine([], "+Ie+");\n")+(Le.root||Le.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Le.commonjs||Le.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Le.root||Le.commonjs))+" = factory("+externalsRootArray(Te)+");\n":"\telse {\n"+(Te.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(Te)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${R.outputOptions.globalObject}, function(${externalsArguments(Te)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,N)=>{"use strict";const R=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});N.LogType=R;const j=Symbol("webpack logger raw log method");const $=Symbol("webpack logger times");const q=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,N){this[j]=E;this.getChildLogger=N}error(...E){this[j](R.error,E)}warn(...E){this[j](R.warn,E)}info(...E){this[j](R.info,E)}log(...E){this[j](R.log,E)}debug(...E){this[j](R.debug,E)}assert(E,...N){if(!E){this[j](R.error,N)}}trace(){this[j](R.trace,["Trace"])}clear(){this[j](R.clear)}status(...E){this[j](R.status,E)}group(...E){this[j](R.group,E)}groupCollapsed(...E){this[j](R.groupCollapsed,E)}groupEnd(...E){this[j](R.groupEnd,E)}profile(E){this[j](R.profile,[E])}profileEnd(E){this[j](R.profileEnd,[E])}time(E){this[$]=this[$]||new Map;this[$].set(E,process.hrtime())}timeLog(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const q=process.hrtime(N);this[j](R.time,[E,...q])}timeEnd(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const q=process.hrtime(N);this[$].delete(E);this[j](R.time,[E,...q])}timeAggregate(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const R=process.hrtime(N);this[$].delete(E);this[q]=this[q]||new Map;const j=this[q].get(E);if(j!==undefined){if(R[1]+j[1]>1e9){R[0]+=j[0]+1;R[1]=R[1]-1e9+j[1]}else{R[0]+=j[0];R[1]+=j[1]}}this[q].set(E,R)}timeAggregateEnd(E){if(this[q]===undefined)return;const N=this[q].get(E);if(N===undefined)return;this[q].delete(E);this[j](R.time,[E,...N])}}N.Logger=WebpackLogger},70108:(E,N,R)=>{"use strict";const{LogType:j}=R(78539);const filterToFunction=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const $={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:N=false,console:R})=>{const q=typeof N==="boolean"?[()=>N]:[].concat(N).map(filterToFunction);const G=$[`${E}`]||0;const logger=(E,N,ie)=>{const labeledArgs=()=>{if(Array.isArray(ie)){if(ie.length>0&&typeof ie[0]==="string"){return[`[${E}] ${ie[0]}`,...ie.slice(1)]}else{return[`[${E}]`,...ie]}}else{return[]}};const ae=q.some((N=>N(E)));switch(N){case j.debug:if(!ae)return;if(typeof R.debug==="function"){R.debug(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.log:if(!ae&&G>$.log)return;R.log(...labeledArgs());break;case j.info:if(!ae&&G>$.info)return;R.info(...labeledArgs());break;case j.warn:if(!ae&&G>$.warn)return;R.warn(...labeledArgs());break;case j.error:if(!ae&&G>$.error)return;R.error(...labeledArgs());break;case j.trace:if(!ae)return;R.trace();break;case j.groupCollapsed:if(!ae&&G>$.log)return;if(!ae&&G>$.verbose){if(typeof R.groupCollapsed==="function"){R.groupCollapsed(...labeledArgs())}else{R.log(...labeledArgs())}break}case j.group:if(!ae&&G>$.log)return;if(typeof R.group==="function"){R.group(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.groupEnd:if(!ae&&G>$.log)return;if(typeof R.groupEnd==="function"){R.groupEnd()}break;case j.time:{if(!ae&&G>$.log)return;const N=ie[1]*1e3+ie[2]/1e6;const j=`[${E}] ${ie[0]}: ${N} ms`;if(typeof R.logTime==="function"){R.logTime(j)}else{R.log(j)}break}case j.profile:if(typeof R.profile==="function"){R.profile(...labeledArgs())}break;case j.profileEnd:if(typeof R.profileEnd==="function"){R.profileEnd(...labeledArgs())}break;case j.clear:if(!ae&&G>$.log)return;if(typeof R.clear==="function"){R.clear()}break;case j.status:if(!ae&&G>$.info)return;if(typeof R.status==="function"){if(ie.length===0){R.status()}else{R.status(...labeledArgs())}}else{if(ie.length!==0){R.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${N}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let N=0;for(const R of E)N+=R;return N};const truncateArgs=(E,N)=>{const R=E.map((E=>`${E}`.length));const j=N-R.length+1;if(j>0&&E.length===1){if(j>=E[0].length){return E}else if(j>3){return["..."+E[0].slice(-j+3)]}else{return[E[0].slice(-j)]}}if(jMath.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),N);return[]}let $=arraySum(R);if($<=j)return E;while($>j){const E=Math.max(...R);const N=R.filter((N=>N!==E));const q=N.length>0?Math.max(...N):0;const G=E-q;let ie=R.length-N.length;let ae=$-j;for(let N=0;N{const j=`${E}`;const $=R[N];if(j.length===$){return j}else if($>5){return"..."+j.slice(-$+3)}else if($>0){return j.slice(-$)}else{return""}}))};E.exports=truncateArgs},82827:(E,N,R)=>{"use strict";const j=R(76150);const $=R(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const N=this._asyncChunkLoading?R(26020):R(75491);const q=this._asyncChunkLoading?"async-node":"require";new $({chunkLoading:q,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const j=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return j===q};const $=new WeakSet;const handler=(R,q)=>{if($.has(R))return;$.add(R);if(!isEnabledForChunk(R))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(R,new N(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,N,R)=>{"use strict";const j=R(67703);const $=R(15808);const q=R(70108);const G=R(2255);const ie=R(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:N}=this.options;E.infrastructureLogger=q({level:N.level||"info",debug:N.debug||false,console:N.console||ie({colors:N.colors,appendOnly:N.appendOnly,stream:N.stream})});E.inputFileSystem=new j($,6e4);const R=E.inputFileSystem;E.outputFileSystem=$;E.intermediateFileSystem=$;E.watchFileSystem=new G(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===R){E.fsStartTime=Date.now();R.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,N,R)=>{"use strict";const j=R(61050);const $=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new j("node-commonjs",$).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,N,R)=>{"use strict";const j=R(77314);const $=R(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const N=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=N;(new j).apply(E);new $(N).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,N,R)=>{"use strict";const j=R(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new j(this.watcherOptions)}watch(E,N,R,$,q,G,ie){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!N||typeof N[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!R||typeof R[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof G!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof $!=="number"&&$){throw new Error("Invalid arguments: 'startTime'")}if(typeof q!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ie!=="function"&&ie){throw new Error("Invalid arguments: 'callbackUndelayed'")}const ae=this.watcher;this.watcher=new j(q);if(ie){this.watcher.once("change",ie)}this.watcher.once("aggregated",((E,N)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}for(const E of N){R.purge(E)}}const R=this.watcher.getTimeInfoEntries();G(null,R,R,E,N)}));this.watcher.watch({files:E,directories:N,missing:R,startTime:$});if(ae){ae.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ReadFileChunkLoadingRuntimeModule extends ${constructor(E){super("readFile chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Te=this.runtimeRequirements.has(j.baseURI);const Ee=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,false);const We=Ne?`${j.hmrRuntimeStatePrefix}_readFileVm`:undefined;return q.asString([Te?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.readFileVm = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ie||Ee?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",q.indent(["if(installedChunks[chunkIds[i]]) {",q.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// ReadFile + VM.run chunk loading for javascript",`${_e}.readFileVm = function(chunkId, promises) {`,Be!==false?q.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",q.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Ee?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) {",q.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(34943);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:N=false}={}){this._type=E;this._import=N}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j===this._type};const R=this._import?E=>$.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",$.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["try {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((N,$)=>{if(!isEnabledForChunk(N))return;const G=E.chunkGraph;if(!G.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}$.add(j.publicPath);E.addRuntimeModule(N,new q({generateLoadBinaryCode:R,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="async-node"};const generateLoadBinaryCode=E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",$.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const $=E.chunkGraph;if(!$.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);E.addRuntimeModule(N,new q({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class RequireChunkLoadingRuntimeModule extends ${constructor(E){super("require chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Te=this.runtimeRequirements.has(j.baseURI);const Ee=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,true);const We=Ne?`${j.hmrRuntimeStatePrefix}_require`:undefined;return q.asString([Te?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze!=="./"?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.require = ${$.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ie||Ee?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",q.indent("installedChunks[chunkIds[i]] = 1;"),we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// require() chunk loading for javascript",`${_e}.require = ${$.basicFunction("chunkId, promises",Be!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent([`installChunk(require(${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Ee?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent([`var update = require(${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return Promise.resolve().then(function() {",q.indent([`return require(${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,N,R)=>{"use strict";const j=R(73837);const $=R(50595);E.exports=({colors:E,appendOnly:N,stream:R})=>{let q=undefined;let G=false;let ie="";let ae=0;const indent=(N,R,j,$)=>{if(N==="")return N;R=ie+R;if(E){return R+j+N.replace(/\n/g,$+"\n"+R+j)+$}else{return R+N.replace(/\n/g,"\n"+R)}};const clearStatusMessage=()=>{if(G){R.write("\r");G=false}};const writeStatusMessage=()=>{if(!q)return;const E=R.columns;const N=E?$(q,E-1):q;const j=N.join(" ");const ie=`${j}`;R.write(`\r${ie}`);G=true};const writeColored=(E,N,$)=>(...q)=>{if(ae>0)return;clearStatusMessage();const G=indent(j.format(...q),E,N,$);R.write(G+"\n");writeStatusMessage()};const ce=writeColored("<-> ","","");const le=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...E)=>{ce(...E);if(ae>0){ae++}else{ie+=" "}},groupCollapsed:(...E)=>{le(...E);ae++},groupEnd:()=>{if(ae>0)ae--;else if(ie.length>=2)ie=ie.slice(0,ie.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!N&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:N?writeColored(" ","",""):(E,...N)=>{N=N.filter(Boolean);if(E===undefined&&N.length===0){clearStatusMessage();q=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){q=[E.slice(19),...N];writeStatusMessage()}else if(E==="[webpack.Progress]"){q=[...N];writeStatusMessage()}else{q=[E,...N];writeStatusMessage()}}}}},61332:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const N=this.options;const R=N.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:j},(N=>{const j=E.chunkGraph;let $=[];for(const E of N){if(E.canBeInitial())continue;for(const R of N){if(R.canBeInitial())continue;if(R===E)break;if(!j.canChunksBeIntegrated(E,R)){continue}const N=j.getChunkSize(R,{chunkOverhead:0});const q=j.getChunkSize(E,{chunkOverhead:0});const G=j.getIntegratedChunksSize(R,E,{chunkOverhead:0});const ie=(N+q)/G;$.push({a:E,b:R,improvement:ie})}}$.sort(((E,N)=>N.improvement-E.improvement));const q=$[0];if(!q)return;if(q.improvement{"use strict";const{STAGE_ADVANCED:j}=R(82414);const{intersect:$}=R(26221);const{compareModulesByIdentifier:q,compareChunks:G}=R(68673);const ie=R(35817);const ae=R(49197);const ce=ie(R(77593),(()=>R(3484)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,N,R)=>j=>{E.disconnectChunkAndModule(N,j);E.connectChunkAndModule(R,j)};const isNotAEntryModule=(E,N)=>R=>!E.isEntryModuleInChunk(R,N);const le=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){ce(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return le.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(N=>{let R=false;let ie;let ce;let _e;N.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ie=[];ce=new Set;_e=new Map}));N.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:j},(R=>{const j=N.chunkGraph;const le=new Map;const Te=new Map;const Ee=ae.makePathsRelative.bindContextCache(E.context,E.root);for(const E of N.modules){const N=Ee(E.identifier());le.set(N,E);Te.set(E,N)}const we=new Set;for(const E of R){we.add(E.id)}const Ie=N.records&&N.records.aggressiveSplits||[];const Ne=ie?Ie.concat(ie):Ie;const Me=this.options.minSize;const Le=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&we.has(E.id)){return false}const R=E.modules.map((E=>le.get(E)));if(!R.every(Boolean))return false;let q=0;for(const E of R)q+=E.size();if(q!==E.size)return false;const G=$(R.map((E=>new Set(j.getModuleChunksIterable(E)))));if(G.size===0)return false;if(G.size===1&&j.getNumberOfChunkModules(Array.from(G)[0])===R.length){const N=Array.from(G)[0];if(ce.has(N))return false;ce.add(N);_e.set(N,E);return true}const ie=N.addChunk();ie.chunkReason="aggressive splitted";for(const E of G){R.forEach(moveModuleBetween(j,E,ie));E.split(ie);E.name=null}ce.add(ie);_e.set(ie,E);if(E.id!==null&&E.id!==undefined){ie.id=E.id;ie.ids=[E.id]}return true};let Be=false;for(let E=0;E{const R=j.getChunkModulesSize(N)-j.getChunkModulesSize(E);if(R)return R;const $=j.getNumberOfChunkModules(E)-j.getNumberOfChunkModules(N);if($)return $;return je(E,N)}));for(const E of Ue){if(ce.has(E))continue;const N=j.getChunkModulesSize(E);if(N>Le&&j.getNumberOfChunkModules(E)>1){const N=j.getOrderedChunkModules(E,q).filter(isNotAEntryModule(j,E));const R=[];let $=0;for(let E=0;ELe&&$>=Me){break}$=q;R.push(j)}if(R.length===0)continue;const G={modules:R.map((E=>Te.get(E))).sort(),size:$};if(applySplit(G)){ie=(ie||[]).concat(G);Be=true}}}if(Be)return true}));N.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const j=new Set;const $=new Set;for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){if(N.hash&&E.hash!==N.hash){$.add(N)}}}if($.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!$.has(E)));R=true}else{for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){N.hash=E.hash;N.id=E.id;j.add(N);le.add(E)}}const q=N.records&&N.records.aggressiveSplits;if(q){for(const E of q){if(!$.has(E))j.add(E)}}E.aggressiveSplits=Array.from(j);R=false}}));N.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(R){R=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,N,R)=>{"use strict";const j=R(19579);const $=R(36337);const{CachedSource:q,ConcatSource:G,ReplaceSource:ie}=R(2991);const ae=R(77294);const{UsageState:ce}=R(76632);const le=R(53453);const _e=R(76150);const Te=R(58159);const Ee=R(37359);const we=R(3711);const{equals:Ie}=R(73910);const Ne=R(83379);const{concatComparators:Me,keepOriginalOrder:Le}=R(68673);const Be=R(35891);const{makePathsRelative:je}=R(49197);const Ue=R(56202);const ze=R(68038);const{filterRuntime:We,intersectRuntime:Je,mergeRuntimeCondition:Ve,mergeRuntimeConditionNonFalse:qe,runtimeConditionToString:He,subtractRuntimeCondition:Ge}=R(37416);const Ke=$;if(!Ke.prototype.PropertyDefinition){Ke.prototype.PropertyDefinition=Ke.prototype.Property}const Qe=new Set([ae.DEFAULT_EXPORT,ae.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,N)=>{const R=E.sourceOrder;const j=N.sourceOrder;if(isNaN(R)){if(!isNaN(j)){return 1}}else{if(isNaN(j)){return-1}if(R!==j){return R{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const getFinalBinding=(E,N,R,j,$,q,G,ie,ae,ce,le,_e=new Set)=>{const Ee=N.module.getExportsType(E,ce);if(R.length===0){switch(Ee){case"default-only":N.interopNamespaceObject2Used=true;return{info:N,rawName:N.interopNamespaceObject2Name,ids:R,exportName:R};case"default-with-named":N.interopNamespaceObjectUsed=true;return{info:N,rawName:N.interopNamespaceObjectName,ids:R,exportName:R};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Ee}`)}}else{switch(Ee){case"namespace":break;case"default-with-named":switch(R[0]){case"default":R=R.slice(1);break;case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;case"default-only":{const E=R[0];if(E==="__esModule"){return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}R=R.slice(1);if(E!=="default"){return{info:N,rawName:"/* non-default import from default-exporting module */undefined",ids:R,exportName:R}}break}case"dynamic":switch(R[0]){case"default":{R=R.slice(1);N.interopDefaultAccessUsed=true;const E=ae?`${N.interopDefaultAccessName}()`:le?`(${N.interopDefaultAccessName}())`:le===false?`;(${N.interopDefaultAccessName}())`:`${N.interopDefaultAccessName}.a`;return{info:N,rawName:E,ids:R,exportName:R}}case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;default:throw new Error(`Unexpected exportsType ${Ee}`)}}if(R.length===0){switch(N.type){case"concatenated":ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R};case"external":return{info:N,rawName:N.name,ids:R,exportName:R}}}const we=E.getExportsInfo(N.module);const Ne=we.getExportInfo(R[0]);if(_e.has(Ne)){return{info:N,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:R}}_e.add(Ne);switch(N.type){case"concatenated":{const ce=R[0];if(Ne.provided===false){ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R}}const Te=N.exportMap&&N.exportMap.get(ce);if(Te){const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}return{info:N,name:Te,ids:E.slice(1),exportName:R}}const Ee=N.rawExportMap&&N.rawExportMap.get(ce);if(Ee){return{info:N,rawName:Ee,ids:R.slice(1),exportName:R}}const Ie=Ne.findTarget(E,(E=>j.has(E)));if(Ie===false){throw new Error(`Target module of reexport from '${N.module.readableIdentifier(q)}' is not part of the concatenation (export '${ce}')\nModules in the concatenation:\n${Array.from(j,(([E,N])=>` * ${N.type} ${E.readableIdentifier(q)}`)).join("\n")}`)}if(Ie){const ce=j.get(Ie.module);return getFinalBinding(E,ce,Ie.export?[...Ie.export,...R.slice(1)]:R.slice(1),j,$,q,G,ie,ae,N.module.buildMeta.strictHarmonyModule,le,_e)}if(N.namespaceExportSymbol){const E=we.getUsedName(R,$);return{info:N,rawName:N.namespaceObjectName,ids:E,exportName:R}}throw new Error(`Cannot get final name for export '${R.join(".")}' of ${N.module.readableIdentifier(q)}`)}case"external":{const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}const j=Ie(E,R)?"":Te.toNormalComment(`${R.join(".")}`);return{info:N,rawName:N.name+j,ids:E,exportName:R}}}};const getFinalName=(E,N,R,j,$,q,G,ie,ae,ce,le,_e)=>{const Te=getFinalBinding(E,N,R,j,$,q,G,ie,ae,le,_e);{const{ids:E,comment:N}=Te;let R;let j;if("rawName"in Te){R=`${Te.rawName}${N||""}${ze(E)}`;j=E.length>0}else{const{info:$,name:G}=Te;const ie=$.internalNames.get(G);if(!ie){throw new Error(`The export "${G}" in "${$.module.readableIdentifier(q)}" has no internal name (existing names: ${Array.from($.internalNames,(([E,N])=>`${E}: ${N}`)).join(", ")||"none"})`)}R=`${ie}${N||""}${ze(E)}`;j=E.length>1}if(j&&ae&&ce===false){return _e?`(0,${R})`:_e===false?`;(0,${R})`:`/*#__PURE__*/Object(${R})`}return R}};const addScopeSymbols=(E,N,R,j)=>{let $=E;while($){if(R.has($))break;if(j.has($))break;R.add($);for(const E of $.variables){N.add(E.name)}$=$.upper}};const getAllReferences=E=>{let N=E.references;const R=new Set(E.identifiers);for(const j of E.scope.childScopes){for(const E of j.variables){if(E.identifiers.some((E=>R.has(E)))){N=N.concat(E.references);break}}}return N};const getPathInAst=(E,N)=>{if(E===N){return[]}const R=N.range;const enterNode=E=>{if(!E)return undefined;const j=E.range;if(j){if(j[0]<=R[0]&&j[1]>=R[1]){const R=getPathInAst(E,N);if(R){R.push(E);return R}}}return undefined};if(Array.isArray(E)){for(let N=0;N!(E instanceof Ee)||!this._modules.has(N.moduleGraph.getModule(E))))){this.dependencies.push(R)}for(const N of E.blocks){this.blocks.push(N)}const R=E.getWarnings();if(R!==undefined){for(const E of R){this.addWarning(E)}}const j=E.getErrors();if(j!==undefined){for(const E of j){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const N=this.buildInfo.topLevelDeclarations;if(N!==undefined){for(const R of E.buildInfo.topLevelDeclarations){if(Qe.has(R))continue;N.add(R)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[N,R]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(N,R)}}}$()}size(E){let N=0;for(const R of this._modules){N+=R.size(E)}return N}_createConcatenationList(E,N,R,j){const $=[];const q=new Map;const getConcatenatedImports=N=>{let $=Array.from(j.getOutgoingConnections(N));if(N===E){for(const E of j.getOutgoingConnections(this))$.push(E)}const q=$.filter((E=>{if(!(E.dependency instanceof Ee))return false;return E&&E.resolvedOriginModule===N&&E.module&&E.isTargetActive(R)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));q.sort(Me(bySourceOrder,Le(q)));const G=new Map;for(const{connection:E}of q){const N=We(R,(N=>E.isTargetActive(N)));if(N===false)continue;const j=E.module;const $=G.get(j);if($===undefined){G.set(j,{connection:E,runtimeCondition:N});continue}$.runtimeCondition=qe($.runtimeCondition,N,R)}return G.values()};const enterModule=(E,j)=>{const G=E.module;if(!G)return;const ie=q.get(G);if(ie===true){return}if(N.has(G)){q.set(G,true);if(j!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${G.identifier()} in ${this.rootModule.identifier()}, ${He(j)}). This should not happen.`)}const N=getConcatenatedImports(G);for(const{connection:E,runtimeCondition:R}of N)enterModule(E,R);$.push({type:"concatenated",module:E.module,runtimeCondition:j})}else{if(ie!==undefined){const N=Ge(j,ie,R);if(N===false)return;j=N;q.set(E.module,qe(ie,j,R))}else{q.set(E.module,j)}if($.length>0){const N=$[$.length-1];if(N.type==="external"&&N.module===E.module){N.runtimeCondition=Ve(N.runtimeCondition,j,R);return}}$.push({type:"external",get module(){return E.module},runtimeCondition:j})}};q.set(E,true);const G=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:N}of G)enterModule(E,N);$.push({type:"concatenated",module:E,runtimeCondition:true});return $}static _createIdentifier(E,N,R,j="md4"){const $=je.bindContextCache(E.context,R);let q=[];for(const E of N){q.push($(E.identifier()))}q.sort();const G=Be(j);G.update(q.join(" "));return E.identifier()+"|"+G.digest("hex")}addCacheDependencies(E,N,R,j){for(const $ of this._modules){$.addCacheDependencies(E,N,R,j)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$}){const ie=new Set;const le=Je($,this._runtime);const Te=N.requestShortener;const[Ee,we]=this._getModulesWithInfo(R,le);const Ie=new Set;for(const $ of we.values()){this._analyseModule(we,$,E,N,R,j,le)}const Ne=new Set(Qe);const Me=new Map;const getUsedNamesInScopeInfo=(E,N)=>{const R=`${E}-${N}`;let j=Me.get(R);if(j===undefined){j={usedNames:new Set,alreadyCheckedScopes:new Set};Me.set(R,j)}return j};const Le=new Set;for(const E of Ee){if(E.type==="concatenated"){if(E.moduleScope){Le.add(E.moduleScope)}const j=new WeakMap;const getSuperClassExpressions=E=>{const N=j.get(E);if(N!==undefined)return N;const R=[];for(const N of E.childScopes){if(N.type!=="class")continue;const E=N.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){R.push({range:E.superClass.range,variables:N.variables})}}j.set(E,R);return R};if(E.globalScope){for(const j of E.globalScope.through){const $=j.identifier.name;if(ae.isModuleReference($)){const q=ae.matchModuleReference($);if(!q)continue;const G=Ee[q.index];if(G.type==="reference")throw new Error("Module reference can't point to a reference");const ie=getFinalBinding(R,G,q.ids,we,le,Te,N,Ie,false,E.module.buildMeta.strictHarmonyModule,true);if(!ie.ids)continue;const{usedNames:ce,alreadyCheckedScopes:_e}=getUsedNamesInScopeInfo(ie.info.module.identifier(),"name"in ie?ie.name:"");for(const E of getSuperClassExpressions(j.from)){if(E.range[0]<=j.identifier.range[0]&&E.range[1]>=j.identifier.range[1]){for(const N of E.variables){ce.add(N.name)}}}addScopeSymbols(j.from,ce,_e,Le)}else{Ne.add($)}}}}}for(const E of we.values()){const{usedNames:N}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const N of E.moduleScope.variables){const R=N.name;const{usedNames:j,alreadyCheckedScopes:$}=getUsedNamesInScopeInfo(E.module.identifier(),R);if(Ne.has(R)||j.has(R)){const q=getAllReferences(N);for(const E of q){addScopeSymbols(E.from,j,$,Le)}const G=this.findNewName(R,Ne,j,E.module.readableIdentifier(Te));Ne.add(G);E.internalNames.set(R,G);const ie=E.source;const ae=new Set(q.map((E=>E.identifier)).concat(N.identifiers));for(const N of ae){const R=N.range;const j=getPathInAst(E.ast,N);if(j&&j.length>1){const E=j[1].type==="AssignmentPattern"&&j[1].left===j[0]?j[2]:j[1];if(E.type==="Property"&&E.shorthand){ie.insert(R[1],`: ${G}`);continue}}ie.replace(R[0],R[1]-1,G)}}else{Ne.add(R);E.internalNames.set(R,R)}}let R;if(E.namespaceExportSymbol){R=E.internalNames.get(E.namespaceExportSymbol)}else{R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Te));Ne.add(R)}E.namespaceObjectName=R;break}case"external":{const R=this.findNewName("",Ne,N,E.module.readableIdentifier(Te));Ne.add(R);E.name=R;break}}if(E.module.buildMeta.exportsType!=="namespace"){const R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Te));Ne.add(R);E.interopNamespaceObjectName=R}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const R=this.findNewName("namespaceObject2",Ne,N,E.module.readableIdentifier(Te));Ne.add(R);E.interopNamespaceObject2Name=R}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const R=this.findNewName("default",Ne,N,E.module.readableIdentifier(Te));Ne.add(R);E.interopDefaultAccessName=R}}for(const E of we.values()){if(E.type==="concatenated"){for(const j of E.globalScope.through){const $=j.identifier.name;const q=ae.matchModuleReference($);if(q){const $=Ee[q.index];if($.type==="reference")throw new Error("Module reference can't point to a reference");const G=getFinalName(R,$,q.ids,we,le,Te,N,Ie,q.call,!q.directImport,E.module.buildMeta.strictHarmonyModule,q.asiSafe);const ie=j.identifier.range;const ae=E.source;ae.replace(ie[0],ie[1]+1,G)}}}}const Be=new Map;const je=new Set;const Ue=we.get(this.rootModule);const ze=Ue.module.buildMeta.strictHarmonyModule;const We=R.getExportsInfo(Ue.module);for(const E of We.orderedExports){const j=E.name;if(E.provided===false)continue;const $=E.getUsedName(undefined,le);if(!$){je.add(j);continue}Be.set($,(q=>{try{const $=getFinalName(R,Ue,[j],we,le,q,N,Ie,false,false,ze,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${$}`}catch(E){E.message+=`\nwhile generating the root export '${j}' (used name: '${$}')`;throw E}}))}const Ve=new G;if(R.getExportsInfo(this).otherExportsInfo.getUsed(le)!==ce.Unused){Ve.add(`// ESM COMPAT FLAG\n`);Ve.add(N.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ie}))}if(Be.size>0){ie.add(_e.exports);ie.add(_e.definePropertyGetters);const E=[];for(const[R,j]of Be){E.push(`\n ${JSON.stringify(R)}: ${N.returningFunction(j(Te))}`)}Ve.add(`\n// EXPORTS\n`);Ve.add(`${_e.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(je.size>0){Ve.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(je)}\n`)}const qe=new Map;for(const E of Ie){if(E.namespaceExportSymbol)continue;const j=[];const $=R.getExportsInfo(E.module);for(const q of $.orderedExports){if(q.provided===false)continue;const $=q.getUsedName(undefined,le);if($){const G=getFinalName(R,E,[q.name],we,le,Te,N,Ie,false,undefined,E.module.buildMeta.strictHarmonyModule,true);j.push(`\n ${JSON.stringify($)}: ${N.returningFunction(G)}`)}}const q=E.namespaceObjectName;const G=j.length>0?`${_e.definePropertyGetters}(${q}, {${j.join(",")}\n});\n`:"";if(j.length>0)ie.add(_e.definePropertyGetters);qe.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(Te)}\nvar ${q} = {};\n${_e.makeNamespaceObject}(${q});\n${G}`);ie.add(_e.makeNamespaceObject)}for(const E of Ee){if(E.type==="concatenated"){const N=qe.get(E);if(!N)continue;Ve.add(N)}}const He=[];for(const E of Ee){let R;let $=false;const q=E.type==="reference"?E.target:E;switch(q.type){case"concatenated":{Ve.add(`\n;// CONCATENATED MODULE: ${q.module.readableIdentifier(Te)}\n`);Ve.add(q.source);if(q.chunkInitFragments){for(const E of q.chunkInitFragments)He.push(E)}if(q.runtimeRequirements){for(const E of q.runtimeRequirements){ie.add(E)}}R=q.namespaceObjectName;break}case"external":{Ve.add(`\n// EXTERNAL MODULE: ${q.module.readableIdentifier(Te)}\n`);ie.add(_e.require);const{runtimeCondition:G}=E;const ae=N.runtimeConditionExpression({chunkGraph:j,runtimeCondition:G,runtime:le,runtimeRequirements:ie});if(ae!=="true"){$=true;Ve.add(`if (${ae}) {\n`)}Ve.add(`var ${q.name} = __webpack_require__(${JSON.stringify(j.getModuleId(q.module))});`);R=q.name;break}default:throw new Error(`Unsupported concatenation entry type ${q.type}`)}if(q.interopNamespaceObjectUsed){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObjectName} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R}, 2);`)}if(q.interopNamespaceObject2Used){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObject2Name} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R});`)}if(q.interopDefaultAccessUsed){ie.add(_e.compatGetDefaultExport);Ve.add(`\nvar ${q.interopDefaultAccessName} = /*#__PURE__*/${_e.compatGetDefaultExport}(${R});`)}if($){Ve.add("\n}")}}const Ge=new Map;if(He.length>0)Ge.set("chunkInitFragments",He);const Ke={sources:new Map([["javascript",new q(Ve)]]),data:Ge,runtimeRequirements:ie};return Ke}_analyseModule(E,N,R,$,q,G,ce){if(N.type==="concatenated"){const le=N.module;try{const _e=new ae(E,N);const Te=le.codeGeneration({dependencyTemplates:R,runtimeTemplate:$,moduleGraph:q,chunkGraph:G,runtime:ce,concatenationScope:_e});const Ee=Te.sources.get("javascript");const Ie=Te.data;const Ne=Ie&&Ie.get("chunkInitFragments");const Me=Ee.source().toString();let Le;try{Le=we._parse(Me,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const N=E.loc.line;const R=Me.split("\n");E.message+="\n| "+R.slice(Math.max(0,N-3),N+2).join("\n| ")}throw E}const Be=j.analyze(Le,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const je=Be.acquire(Le);const Ue=je.childScopes[0];const ze=new ie(Ee);N.runtimeRequirements=Te.runtimeRequirements;N.ast=Le;N.internalSource=Ee;N.source=ze;N.chunkInitFragments=Ne;N.globalScope=je;N.moduleScope=Ue}catch(E){E.message+=`\nwhile analysing module ${le.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,N){const R=this._createConcatenationList(this.rootModule,this._modules,N,E);const j=new Map;const $=R.map(((E,N)=>{let R=j.get(E.module);if(R===undefined){switch(E.type){case"concatenated":R={type:"concatenated",module:E.module,index:N,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":R={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:N,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}j.set(R.module,R);return R}else{const N={type:"reference",runtimeCondition:E.runtimeCondition,target:R};return N}}));return[$,j]}findNewName(E,N,R,j){let $=E;if($===ae.DEFAULT_EXPORT){$=""}if($===ae.NAMESPACE_OBJECT_EXPORT){$="namespaceObject"}j=j.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const q=j.split("/");while(q.length){$=q.pop()+($?"_"+$:"");const E=Te.toIdentifier($);if(!N.has(E)&&(!R||!R.has(E)))return E}let G=0;let ie=Te.toIdentifier(`${$}_${G}`);while(N.has(ie)||R&&R.has(ie)){G++;ie=Te.toIdentifier(`${$}_${G}`)}return ie}updateHash(E,N){const{chunkGraph:R,runtime:j}=N;for(const $ of this._createConcatenationList(this.rootModule,this._modules,Je(j,this._runtime),R.moduleGraph)){switch($.type){case"concatenated":$.module.updateHash(E,N);break;case"external":E.update(`${R.getModuleId($.module)}`);break}}super.updateHash(E,N)}static deserialize(E){const N=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});N.deserialize(E);return N}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;const j=new Set;const $=new Set;for(const N of E.modules){if(!N.hasChunkCondition())continue;for(const q of R.getModuleChunksIterable(N)){if(!N.chunkCondition(q,E)){j.add(q);for(const E of q.groupsIterable){$.add(E)}}}if(j.size===0)continue;const q=new Set;e:for(const R of $){for(const j of R.chunks){if(N.chunkCondition(j,E)){q.add(j);continue e}}if(R.isInitial()){throw new Error("Cannot fullfil chunk condition of "+N.identifier())}for(const E of R.parentsIterable){$.add(E)}}for(const E of j){R.disconnectChunkAndModule(E,N)}for(const E of q){R.connectChunkAndModule(E,N)}j.clear();$.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:j},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(N=>{const R=E.chunkGraph;const j=new WeakMap;const $=E.modules.size;const q=1/Math.pow(1/$,1/31);const G=Array.from({length:31},((E,N)=>Math.pow(q,N)|0));let ie=0;for(const N of E.modules){let E=30;while(ie%G[E]!==0){E--}j.set(N,1<R.getNumberOfModuleChunks(N))$=N}e:for(const q of R.getModuleChunksIterable($)){if(E===q)continue;const $=R.getNumberOfChunkModules(q);if($===0)continue;if(j>$)continue;const G=ae.get(q);if((G&N)!==N)continue;for(const N of R.getChunkModulesIterable(E)){if(!R.isModuleInChunk(N,q))continue e}q.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=new WeakMap;const q=Symbol("top level symbol");function getState(E){return $.get(E)}N.bailout=E=>{$.set(E,false)};N.enable=E=>{const N=$.get(E);if(N===false){return}$.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};N.isEnabled=E=>{const N=$.get(E);return!!N};N.addUsage=(E,N,R)=>{const j=getState(E);if(j){const{innerGraph:E}=j;const $=E.get(N);if(R===true){E.set(N,true)}else if($===undefined){E.set(N,new Set([R]))}else if($!==true){$.add(R)}}};N.addVariableUsage=(E,R,j)=>{const $=E.getTagData(R,q)||N.tagTopLevelSymbol(E,R);if($){N.addUsage(E.state,$,j)}};N.inferDependencyUsage=E=>{const N=getState(E);if(!N){return}const{innerGraph:R,usageCallbackMap:j}=N;const $=new Map;const q=new Set(R.keys());while(q.size>0){for(const E of q){let N=new Set;let j=true;const G=R.get(E);let ie=$.get(E);if(ie===undefined){ie=new Set;$.set(E,ie)}if(G!==true&&G!==undefined){for(const E of G){ie.add(E)}for(const $ of G){if(typeof $==="string"){N.add($)}else{const q=R.get($);if(q===true){N=true;break}if(q!==undefined){for(const R of q){if(R===E)continue;if(ie.has(R))continue;N.add(R);if(typeof R!=="string"){j=false}}}}}if(N===true){R.set(E,true)}else if(N.size===0){R.set(E,undefined)}else{R.set(E,N)}}if(j){q.delete(E);if(E===null){const E=R.get(null);if(E){for(const[N,j]of R){if(N!==null&&j!==true){if(E===true){R.set(N,true)}else{const $=new Set(j);for(const N of E){$.add(N)}R.set(N,$)}}}}}}}}for(const[E,N]of j){const j=R.get(E);for(const E of N){E(j===undefined?false:j)}}};N.onUsage=(E,N)=>{const R=getState(E);if(R){const{usageCallbackMap:E,currentTopLevelSymbol:j}=R;if(j){let R=E.get(j);if(R===undefined){R=new Set;E.set(j,R)}R.add(N)}else{N(true)}}else{N(undefined)}};N.setTopLevelSymbol=(E,N)=>{const R=getState(E);if(R){R.currentTopLevelSymbol=N}};N.getTopLevelSymbol=E=>{const N=getState(E);if(N){return N.currentTopLevelSymbol}};N.tagTopLevelSymbol=(E,N)=>{const R=getState(E.state);if(!R)return;E.defineVariable(N);const j=E.getTagData(N,q);if(j){return j}const $=new TopLevelSymbol(N);E.tagVariable(N,q,$);return $};N.isDependencyUsedByExports=(E,N,R,$)=>{if(N===false)return false;if(N!==true&&N!==undefined){const q=R.getParentModule(E);const G=R.getExportsInfo(q);let ie=false;for(const E of N){if(G.getUsed(E,$)!==j.Unused)ie=true}if(!ie)return false}return true};N.getDependencyUsedByExportsCondition=(E,N,R)=>{if(N===false)return false;if(N!==true&&N!==undefined){const $=R.getParentModule(E);const q=R.getExportsInfo($);return(E,R)=>{for(const E of N){if(q.getUsed(E,R)!==j.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}N.TopLevelSymbol=TopLevelSymbol;N.topLevelSymbolTag=q},10032:(E,N,R)=>{"use strict";const j=R(53567);const $=R(58018);const{topLevelSymbolTag:q}=$;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:N})=>{const R=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{const onUsageSuper=N=>{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{$.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!$.isEnabled(E.state))return;R.time("infer dependency usage");$.inferDependencyUsage(E.state);R.timeAggregate("infer dependency usage")}));const G=new WeakMap;const ie=new WeakMap;const ae=new WeakMap;const ce=new WeakMap;const le=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="FunctionDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);G.set(N,j);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="ClassDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);ae.set(N,j);return true}if(N.type==="ExportDefaultDeclaration"){const R="*default*";const j=$.tagTopLevelSymbol(E,R);const q=N.declaration;if(q.type==="ClassExpression"||q.type==="ClassDeclaration"){ae.set(q,j)}else if(E.isPure(q,N.range[0])){G.set(N,j);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){ie.set(N,q)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&N.init&&N.id.type==="Identifier"){const R=N.id.name;if(N.init.type==="ClassExpression"){const j=$.tagTopLevelSymbol(E,R);ae.set(N.init,j)}else if(E.isPure(N.init,N.id.range[1])){const j=$.tagTopLevelSymbol(E,R);ce.set(N,j);if(!N.init.type.endsWith("FunctionExpression")&&N.init.type!=="Literal"){le.add(N)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){$.setTopLevelSymbol(E.state,undefined);const R=G.get(N);if(R){$.setTopLevelSymbol(E.state,R);const q=ie.get(N);if(q){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(q.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const j=ae.get(R);if(j&&E.isPure(N,R.id?R.id.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,j);onUsageSuper(N)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const N=ae.get(R);if(N){$.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((N,R,q)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const G=ae.get(q);if(G){if(!R.static||E.isPure(N,R.key?R.key.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,G);if(R.type!=="MethodDefinition"&&R.static){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}else{$.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;const q=ce.get(N);if(q){$.setTopLevelSymbol(E.state,q);if(le.has(N)){if(N.init.type==="ClassExpression"){if(N.init.superClass){onUsageSuper(N.init.superClass)}}else{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.init.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}E.walkExpression(N.init);$.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(q).tap("InnerGraphPlugin",(()=>{const N=E.currentTagData;const R=$.getTopLevelSymbol(E.state);$.addUsage(E.state,N,R||true)}));E.hooks.assign.for(q).tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(N.operator==="=")return true}))};N.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);N.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{R.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(37496);const{compareChunks:q}=R(68673);const G=R(35817);const ie=G(R(72713),(()=>R(10692)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,new Set([R]))}else{j.add(R)}};class LimitChunkCountPlugin{constructor(E){ie(E);this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:j},(R=>{const j=E.chunkGraph;const G=N.maxChunks;if(!G)return;if(G<1)return;if(E.chunks.size<=G)return;let ie=E.chunks.size-G;const ae=q(j);const ce=Array.from(R).sort(ae);const le=new $((E=>E.sizeDiff),((E,N)=>N-E),(E=>E.integratedSize),((E,N)=>E-N),(E=>E.bIdx-E.aIdx),((E,N)=>E-N),((E,N)=>E.bIdx-N.bIdx));const _e=new Map;ce.forEach(((E,R)=>{for(let $=0;$0){const E=new Set($.groupsIterable);for(const N of q.groupsIterable){E.add(N)}for(const N of E){for(const E of Te){if(E!==$&&E!==q&&E.isInGroup(N)){ie--;if(ie<=0)break e;Te.add($);Te.add(q);continue e}}for(const R of N.parentsIterable){E.add(R)}}}if(j.canChunksBeIntegrated($,q)){j.integrateChunks($,q);E.chunks.delete(q);Te.add($);Ee=true;ie--;if(ie<=0)break;for(const E of _e.get($)){if(E.deleted)continue;E.deleted=true;le.delete(E)}for(const E of _e.get(q)){if(E.deleted)continue;if(E.a===q){if(!j.canChunksBeIntegrated($,E.b)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize($,E.b,N);const q=le.startUpdate(E);E.a=$;E.integratedSize=R;E.aSize=G;E.sizeDiff=E.bSize+G-R;q()}else if(E.b===q){if(!j.canChunksBeIntegrated(E.a,$)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize(E.a,$,N);const q=le.startUpdate(E);E.b=$;E.integratedSize=R;E.bSize=G;E.sizeDiff=G+E.aSize-R;q()}}_e.set($,_e.get(q));_e.delete(q)}}if(Ee)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const{numberToIdentifier:$,NUMBER_OF_IDENTIFIER_START_CHARS:q,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:G}=R(58159);const{assignDeterministicIds:ie}=R(30328);const{compareSelect:ae,compareStringsNumeric:ce}=R(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==j.Unused)return false;let N=false;for(const R of E.exports){if(R.canMangle===true){N=true}}return N};const le=ae((E=>E.name),ce);const mangleExportsInfo=(E,N,R)=>{if(!canMangle(N))return;const ae=new Set;const ce=[];let _e=!R;if(!_e&&E){for(const E of N.ownedExports){if(E.provided!==false){_e=true;break}}}for(const R of N.ownedExports){const N=R.name;if(!R.hasUsedName()){if(R.canMangle!==true||N.length===1&&/^[a-zA-Z0-9_$]/.test(N)||E&&N.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(N)||_e&&R.provided!==true){R.setUsedName(N);ae.add(N)}else{ce.push(R)}}if(R.exportsInfoOwned){const N=R.getUsed(undefined);if(N===j.OnlyPropertiesUsed||N===j.Unused){mangleExportsInfo(E,R.exportsInfo,false)}}}if(E){ie(ce,(E=>E.name),le,((E,N)=>{const R=$(N);const j=ae.size;ae.add(R);if(j===ae.size)return false;E.setUsedName(R);return true}),[q,q*G],G,ae.size)}else{const E=[];const N=[];for(const R of ce){if(R.getUsed(undefined)===j.Unused){N.push(R)}else{E.push(R)}}E.sort(le);N.sort(le);let R=0;for(const j of[E,N]){for(const E of j){let N;do{N=$(R++)}while(ae.has(N));E.setUsedName(N)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:N}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(j=>{if(E.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const E of j){const j=E.buildMeta&&E.buildMeta.exportsType==="namespace";const $=R.getExportsInfo(E);mangleExportsInfo(N,$,j)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const{runtimeEqual:$}=R(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:j},(N=>{const{chunkGraph:R,moduleGraph:j}=E;const q=new Set;for(const G of N){let N;for(const E of R.getChunkModulesIterable(G)){if(N===undefined){for(const j of R.getModuleChunksIterable(E)){if(j!==G&&R.getNumberOfChunkModules(G)===R.getNumberOfChunkModules(j)&&!q.has(j)){if(N===undefined){N=new Set}N.add(j)}}if(N===undefined)break}else{for(const j of N){if(!R.isModuleInChunk(E,j)){N.delete(j)}}if(N.size===0)break}}if(N!==undefined&&N.size>0){e:for(const q of N){if(q.hasRuntime()!==G.hasRuntime())continue;if(R.getNumberOfEntryModules(G)>0)continue;if(R.getNumberOfEntryModules(q)>0)continue;if(!$(G.runtime,q.runtime)){for(const E of R.getChunkModulesIterable(G)){const N=j.getExportsInfo(E);if(!N.isEquallyUsed(G.runtime,q.runtime)){continue e}}}if(R.canChunksBeIntegrated(G,q)){R.integrateChunks(G,q);E.chunks.delete(q)}}}q.add(G)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(35817);const q=$(R(83889),(()=>R(84638)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){q(E);this.options=E}apply(E){const N=this.options;const R=N.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:j},(j=>{const $=E.chunkGraph;const q={chunkOverhead:1,entryChunkMultiplicator:1};const G=new Map;const ie=[];const ae=[];const ce=[];for(const E of j){if($.getChunkSize(E,q){const R=G.get(E[0]);const j=G.get(E[1]);const q=$.getIntegratedChunksSize(E[0],E[1],N);const ie=[R+j-q,q,E[0],E[1]];return ie})).sort(((E,N)=>{const R=N[0]-E[0];if(R!==0)return R;return E[1]-N[1]}));if(le.length===0)return;const _e=le[0];$.integrateChunks(_e[2],_e[3]);E.chunks.delete(_e[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,N,R)=>{"use strict";const j=R(9192);const $=R(81627);class MinMaxSizeWarning extends ${constructor(E,N,R){let $="Fallback cache group";if(E){$=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${$}\n`+`Configured minSize (${j.formatSize(N)}) is `+`bigger than maxSize (${j.formatSize(R)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,N,R)=>{"use strict";const j=R(62355);const $=R(45137);const q=R(75412);const{STAGE_DEFAULT:G}=R(82414);const ie=R(37359);const{compareModulesByIdentifier:ae}=R(68673);const{intersectRuntime:ce,mergeRuntimeOwned:le,filterRuntime:_e,runtimeToString:Te,mergeRuntime:Ee}=R(37416);const we=R(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){const{_backCompat:N}=E;E.hooks.compilation.tap("ModuleConcatenationPlugin",(R=>{const ae=R.moduleGraph;const ce=new Map;const setBailoutReason=(E,N)=>{setInnerBailoutReason(E,N);ae.getOptimizationBailout(E).push(typeof N==="function"?E=>formatBailoutReason(N(E)):formatBailoutReason(N))};const setInnerBailoutReason=(E,N)=>{ce.set(E,N)};const getInnerBailoutReason=(E,N)=>{const R=ce.get(E);if(typeof R==="function")return R(N);return R};const formatBailoutWarning=(E,N)=>R=>{if(typeof N==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}: ${N(R)}`)}const j=getInnerBailoutReason(E,R);const $=j?`: ${j}`:"";if(E===N){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}${$}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)} because of ${N.readableIdentifier(R)}${$}`)}};R.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:G},((G,ae,ce)=>{const Te=R.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:Ee,moduleGraph:Ie}=R;const Ne=[];const Me=new Set;const Le={chunkGraph:Ee,moduleGraph:Ie};Te.time("select relevant modules");for(const E of ae){let N=true;let R=true;const j=E.getConcatenationBailoutReason(Le);if(j){setBailoutReason(E,j);continue}if(Ie.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(Ee.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const $=Ie.getExportsInfo(E);const q=$.getRelevantExports(undefined);const G=q.filter((E=>E.isReexport()&&!E.getTarget(Ie)));if(G.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(G,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ie=q.filter((E=>E.provided!==true));if(ie.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ie,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);N=false}if(Ee.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");R=false}if(N)Ne.push(E);if(R)Me.add(E)}Te.timeEnd("select relevant modules");Te.debug(`${Ne.length} potential root modules, ${Me.size} potential inner modules`);Te.time("sort relevant modules");Ne.sort(((E,N)=>Ie.getDepth(E)-Ie.getDepth(N)));Te.timeEnd("sort relevant modules");const Be={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let je=0;let Ue=0;let ze=0;Te.time("find modules to concatenate");const We=[];const Je=new Set;for(const E of Ne){if(Je.has(E))continue;let N=undefined;for(const R of Ee.getModuleRuntimes(E)){N=le(N,R)}const j=Ie.getExportsInfo(E);const $=_e(N,(E=>j.isModuleUsed(E)));const q=$===true?N:$===false?undefined:$;const G=new ConcatConfiguration(E,q);const ie=new Map;const ae=new Set;for(const N of this._getImports(R,E,q)){ae.add(N)}for(const E of ae){const j=new Set;const $=this._tryToAdd(R,G,E,N,q,Me,j,ie,Ee,true,Be);if($){ie.set(E,$);G.addWarning(E,$)}else{for(const E of j){ae.add(E)}}}je+=ae.size;if(!G.isEmpty()){const E=G.getModules();Ue+=E.size;We.push(G);for(const N of E){if(N!==G.rootModule){Je.add(N)}}}else{ze++;const N=Ie.getOptimizationBailout(E);for(const E of G.getWarningsSorted()){N.push(formatBailoutWarning(E[0],E[1]))}}}Te.timeEnd("find modules to concatenate");Te.debug(`${We.length} successful concat configurations (avg size: ${Ue/We.length}), ${ze} bailed out completely`);Te.debug(`${je} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)`);Te.time(`sort concat configurations`);We.sort(((E,N)=>N.modules.size-E.modules.size));Te.timeEnd(`sort concat configurations`);const Ve=new Set;Te.time("create concatenated modules");j.each(We,((j,G)=>{const ae=j.rootModule;if(Ve.has(ae))return G();const ce=j.getModules();for(const E of ce){Ve.add(E)}let le=we.create(ae,ce,j.runtime,E.root,R.outputOptions.hashFunction);const build=()=>{le.build(E.options,R,null,null,(E=>{if(E){if(!E.module){E.module=le}return G(E)}integrate()}))};const integrate=()=>{if(N){$.setChunkGraphForModule(le,Ee);q.setModuleGraphForModule(le,Ie)}for(const E of j.getWarningsSorted()){Ie.getOptimizationBailout(le).push(formatBailoutWarning(E[0],E[1]))}Ie.cloneModuleAttributes(ae,le);for(const E of ce){if(R.builtModules.has(E)){R.builtModules.add(le)}if(E!==ae){Ie.copyOutgoingModuleConnections(E,le,(N=>N.originModule===E&&!(N.dependency instanceof ie&&ce.has(N.module))));for(const N of Ee.getModuleChunksIterable(ae)){Ee.disconnectChunkAndModule(N,E)}}}R.modules.delete(ae);$.clearChunkGraphForModule(ae);q.clearModuleGraphForModule(ae);Ee.replaceModule(ae,le);Ie.moveModuleConnections(ae,le,(E=>{const N=E.module===ae?E.originModule:E.module;const R=E.dependency instanceof ie&&ce.has(N);return!R}));R.modules.add(le);G()};build()}),(E=>{Te.timeEnd("create concatenated modules");process.nextTick(ce.bind(null,E))}))}))}))}_getImports(E,N,R){const j=E.moduleGraph;const $=new Set;for(const q of N.dependencies){if(!(q instanceof ie))continue;const G=j.getConnection(q);if(!G||!G.module||!G.isTargetActive(R)){continue}const ae=E.getDependencyReferencedExports(q,undefined);if(ae.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray(j.getProvidedExports(N))){$.add(G.module)}}return $}_tryToAdd(E,N,R,j,$,q,G,we,Ie,Ne,Me){const Le=we.get(R);if(Le){Me.cached++;return Le}if(N.has(R)){Me.alreadyInConfig++;return null}if(!q.has(R)){Me.invalidModule++;we.set(R,R);return R}const Be=Array.from(Ie.getModuleChunksIterable(N.rootModule)).filter((E=>!Ie.isModuleInChunk(R,E)));if(Be.length>0){const problem=E=>{const N=Array.from(new Set(Be.map((E=>E.name||"unnamed chunk(s)")))).sort();const j=Array.from(new Set(Array.from(Ie.getModuleChunksIterable(R)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${R.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${N.join(", ")}, module is in chunk(s) ${j.join(", ")})`};Me.incorrectChunks++;we.set(R,problem);return problem}const je=E.moduleGraph;const Ue=je.getIncomingConnectionsByOriginModule(R);const ze=Ue.get(null)||Ue.get(undefined);if(ze){const E=ze.filter((E=>E.isActive(j)||E.dependency));if(E.length>0){const problem=N=>{const j=new Set(E.map((E=>E.explanation)).filter(Boolean));const $=Array.from(j).sort();return`Module ${R.readableIdentifier(N)} is referenced ${$.length>0?`by: ${$.join(", ")}`:"in an unsupported way"}`};Me.incorrectDependency++;we.set(R,problem);return problem}}const We=new Map;for(const[E,N]of Ue){if(E){if(Ie.getNumberOfModuleChunks(E)===0)continue;let R=undefined;for(const N of Ie.getModuleRuntimes(E)){R=le(R,N)}if(!ce(j,R))continue;const $=N.filter((E=>E.isActive(j)));if($.length>0)We.set(E,$)}}const Je=Array.from(We.keys());const Ve=Je.filter((E=>{for(const R of Ie.getModuleChunksIterable(N.rootModule)){if(!Ie.isModuleInChunk(E,R)){return true}}return false}));if(Ve.length>0){const problem=E=>{const N=Ve.map((N=>N.readableIdentifier(E))).sort();return`Module ${R.readableIdentifier(E)} is referenced from different chunks by these modules: ${N.join(", ")}`};Me.incorrectChunksOfImporter++;we.set(R,problem);return problem}const qe=new Map;for(const[E,N]of We){const R=N.filter((E=>!E.dependency||!(E.dependency instanceof ie)));if(R.length>0)qe.set(E,N)}if(qe.size>0){const problem=E=>{const N=Array.from(qe).map((([N,R])=>`${N.readableIdentifier(E)} (referenced with ${Array.from(new Set(R.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${R.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${N.join(", ")}`};Me.incorrectModuleDependency++;we.set(R,problem);return problem}if(j!==undefined&&typeof j!=="string"){const E=[];e:for(const[N,R]of We){let $=false;for(const E of R){const N=_e(j,(N=>E.isTargetActive(N)));if(N===false)continue;if(N===true)continue e;if($!==false){$=Ee($,N)}else{$=N}}if($!==false){E.push({originModule:N,runtimeCondition:$})}}if(E.length>0){const problem=N=>`Module ${R.readableIdentifier(N)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:R})=>`${E.readableIdentifier(N)} (expected runtime ${Te(j)}, module is only referenced in ${Te(R)})`)).join(", ")}`;Me.incorrectRuntimeCondition++;we.set(R,problem);return problem}}let He;if(Ne){He=N.snapshot()}N.add(R);Je.sort(ae);for(const ie of Je){const ae=this._tryToAdd(E,N,ie,j,$,q,G,we,Ie,false,Me);if(ae){if(He!==undefined)N.rollback(He);Me.importerFailed++;we.set(R,ae);return ae}}for(const N of this._getImports(E,R,j)){G.add(N)}Me.added++;return null}}class ConcatConfiguration{constructor(E,N){this.rootModule=E;this.runtime=N;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,N){this.warnings.set(E,N)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,N)=>{const R=E[0].identifier();const j=N[0].identifier();if(Rj)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const N=this.modules;for(const R of N){if(E===0){N.delete(R)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$,CachedSource:q,CompatSource:G}=R(2991);const ie=R(3080);const ae=R(81627);const{compareSelect:ce,compareStrings:le}=R(68673);const _e=R(35891);const Te=new Set;const addToList=(E,N)=>{if(Array.isArray(E)){for(const R of E){N.add(R)}}else if(E){N.add(E)}};const mapAndDeduplicateBuffers=(E,N)=>{const R=[];e:for(const j of E){const E=N(j);for(const N of R){if(E.equals(N))continue e}R.push(E)}return R};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Ee=new WeakMap;const toCachedSource=E=>{if(E instanceof q){return E}const N=Ee.get(E);if(N!==undefined)return N;const R=new q(G.from(E));Ee.set(E,R);return R};const we=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=we.get(E);if(N===undefined){N={updateHash:new j(["content","oldHash"])};we.set(E,N)}return N}constructor({hashFunction:E,hashDigest:N}){this._hashFunction=E;this._hashDigest=N}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const N=E.getCache("RealContentHashPlugin|analyse");const R=E.getCache("RealContentHashPlugin|generate");const j=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ie.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const q=E.getAssets();const G=[];const ie=new Map;for(const{source:E,info:N,name:R}of q){const j=toCachedSource(E);const $=j.source();const q=new Set;addToList(N.contenthash,q);const ae={name:R,info:N,source:j,newSource:undefined,newSourceWithoutOwn:undefined,content:$,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:q};G.push(ae);for(const E of q){const N=ie.get(E);if(N===undefined){ie.set(E,[ae])}else{N.push(ae)}}}if(ie.size===0)return;const Ee=new RegExp(Array.from(ie.keys(),quoteMeta).join("|"),"g");await Promise.all(G.map((async E=>{const{name:R,source:j,content:$,hashes:q}=E;if(Buffer.isBuffer($)){E.referencedHashes=Te;E.ownHashes=Te;return}const G=N.mergeEtags(N.getLazyHashedEtag(j),Array.from(q).join("|"));[E.referencedHashes,E.ownHashes]=await N.providePromise(R,G,(()=>{const E=new Set;let N=new Set;const R=$.match(Ee);if(R){for(const j of R){if(q.has(j)){N.add(j);continue}E.add(j)}}return[E,N]}))})));const getDependencies=N=>{const R=ie.get(N);if(!R){const R=G.filter((E=>E.referencedHashes.has(N)));const j=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${N}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${R.map((E=>{const R=new RegExp(`.{0,20}${quoteMeta(N)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${R?R[0]:"???"}...`})).join("\n")}`);E.errors.push(j);return undefined}const j=new Set;for(const{referencedHashes:E,ownHashes:$}of R){if(!$.has(N)){for(const E of $){j.add(E)}}for(const N of E){j.add(N)}}return j};const hashInfo=E=>{const N=ie.get(E);return`${E} (${Array.from(N,(E=>E.name))})`};const we=new Set;for(const E of ie.keys()){const add=(E,N)=>{const R=getDependencies(E);if(!R)return;N.add(E);for(const E of R){if(we.has(E))continue;if(N.has(E)){throw new Error(`Circular hash dependency ${Array.from(N,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,N)}we.add(E);N.delete(E)};if(we.has(E))continue;add(E,new Set)}const Ie=new Map;const getEtag=E=>R.mergeEtags(R.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Ie.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name;const j=getEtag(E);E.newSource=await R.providePromise(N,j,(()=>{const N=E.content.replace(Ee,(E=>Ie.get(E)));return new $(N)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name+"|without-own";const j=getEtag(E);E.newSourceWithoutOwn=await R.providePromise(N,j,(()=>{const N=E.content.replace(Ee,(N=>{if(E.ownHashes.has(N)){return""}return Ie.get(N)}));return new $(N)}))}})()};const Ne=ce((E=>E.name),le);for(const E of we){const N=ie.get(E);N.sort(Ne);const R=_e(this._hashFunction);await Promise.all(N.map((N=>N.ownHashes.has(E)?computeNewContentWithoutOwn(N):computeNewContent(N))));const $=mapAndDeduplicateBuffers(N,(N=>{if(N.ownHashes.has(E)){return N.newSourceWithoutOwn?N.newSourceWithoutOwn.buffer():N.source.buffer()}else{return N.newSource?N.newSource.buffer():N.source.buffer()}}));let q=j.updateHash.call($,E);if(!q){for(const E of $){R.update(E)}const N=R.digest(this._hashDigest);q=N.slice(0,E.length)}Ie.set(E,q)}await Promise.all(G.map((async N=>{await computeNewContent(N);const R=N.name.replace(Ee,(E=>Ie.get(E)));const j={};const $=N.info.contenthash;j.contenthash=Array.isArray($)?$.map((E=>Ie.get(E))):Ie.get($);if(N.newSource!==undefined){E.updateAsset(N.name,N.newSource,j)}else{E.updateAsset(N.name,N.source,j)}if(N.name!==R){E.renameAsset(N.name,R)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,N,R)=>{"use strict";const{STAGE_BASIC:j,STAGE_ADVANCED:$}=R(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;for(const j of N){if(R.getNumberOfChunkModules(j)===0&&!j.hasRuntime()&&R.getNumberOfEntryModules(j)===0){E.chunkGraph.disconnectChunk(j);E.chunks.delete(j)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:j},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:$},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const $=R(39541);const{intersect:q}=R(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(N,R)=>{const j=E.chunkGraph;const G=new $;const ie=new WeakMap;for(const N of E.entrypoints.values()){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}for(const N of E.asyncEntrypoints){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}while(G.length>0){const E=G.dequeue();let N=ie.get(E);let R=false;for(const $ of E.parentsIterable){const q=ie.get($);if(q!==undefined){if(N===undefined){N=new Set(q);for(const E of $.chunks){for(const R of j.getChunkModulesIterable(E)){N.add(R)}}ie.set(E,N);R=true}else{for(const E of N){if(!j.isModuleInChunkGroup(E,$)&&!q.has(E)){N.delete(E);R=true}}}}}if(R){for(const N of E.childrenIterable){G.enqueue(N)}}}for(const E of N){const N=Array.from(E.groupsIterable,(E=>ie.get(E)));if(N.some((E=>E===undefined)))continue;const R=N.length===1?N[0]:q(N);const $=j.getNumberOfChunkModules(E);const G=new Set;if(${"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((N,{name:R})=>{if(R===undefined)return;const j=E.entries.get(R);if(j.options.runtime===undefined&&!j.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:R})}j.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,N,R)=>{"use strict";const j=R(70554);const{STAGE_DEFAULT:$}=R(82414);const q=R(44576);const G=R(2230);const ie=R(72380);const ae=new WeakMap;const globToRegexp=(E,N)=>{const R=N.get(E);if(R!==undefined)return R;if(!E.includes("/")){E=`**/${E}`}const $=j(E,{globstar:true,extended:true});const q=$.source;const G=new RegExp("^(\\./)?"+q.slice(1));N.set(E,G);return G};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let N=ae.get(E.root);if(N===undefined){N=new Map;ae.set(E.root,N)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:R})=>{const j=E.moduleGraph;R.hooks.module.tap("SideEffectsFlagPlugin",((E,R)=>{const j=R.resourceResolveData;if(j&&j.descriptionFileData&&j.relativePath){const R=j.descriptionFileData.sideEffects;if(R!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const $=SideEffectsFlagPlugin.moduleHasSideEffects(j.relativePath,R,N);E.factoryMeta.sideEffectFree=!$}}return E}));R.hooks.module.tap("SideEffectsFlagPlugin",((E,N)=>{if(typeof N.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!N.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let N;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{N=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(R=>{if(N)return;if(E.scope.topLevelScope!==true)return;switch(R.type){case"ExpressionStatement":if(!E.isPure(R.expression,R.range[0])){N=R}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(R.test,R.range[0])){N=R}break;case"ForStatement":if(!E.isPure(R.init,R.range[0])||!E.isPure(R.test,R.init?R.init.range[1]:R.range[0])||!E.isPure(R.update,R.test?R.test.range[1]:R.init?R.init.range[1]:R.range[0])){N=R}break;case"SwitchStatement":if(!E.isPure(R.discriminant,R.range[0])){N=R}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(R,R.range[0])){N=R}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(R.declaration,R.range[0])){N=R}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:N=R;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(N===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:R,type:$}=N;j.getOptimizationBailout(E.state.module).push((()=>`Statement (${$}) with side effects in source code at ${ie(R)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){R.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:$},(N=>{const R=E.getLogger("webpack.SideEffectsFlagPlugin");R.time("update dependencies");for(const E of N){if(E.getSideEffectsConnectionState(j)===false){const N=j.getExportsInfo(E);for(const R of j.getIncomingConnections(E)){const E=R.dependency;let $;if(($=E instanceof q)||E instanceof G&&!E.namespaceObjectAsContext){if($&&E.name){const N=j.getExportInfo(R.originModule,E.name);N.moveTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false),(({module:N,export:R})=>{j.updateModule(E,N);j.addExplanation(E,"(skipped side-effect-free modules)");const $=E.getIds(j);E.setIds(j,R?[...R,...$.slice(1)]:$.slice(1));return j.getConnection(E)}));continue}const q=E.getIds(j);if(q.length>0){const R=N.getExportInfo(q[0]);const $=R.getTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false));if(!$)continue;j.updateModule(E,$.module);j.addExplanation(E,"(skipped side-effect-free modules)");E.setIds(j,$.export?[...$.export,...q.slice(1)]:q.slice(1))}}}}}R.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,N,R){switch(typeof N){case"undefined":return true;case"boolean":return N;case"string":return globToRegexp(N,R).test(E);case"object":return N.some((N=>SideEffectsFlagPlugin.moduleHasSideEffects(E,N,R)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,N,R)=>{"use strict";const j=R(62433);const{STAGE_ADVANCED:$}=R(82414);const q=R(81627);const{requestToId:G}=R(30328);const{isSubset:ie}=R(26221);const ae=R(16102);const{compareModulesByIdentifier:ce,compareIterables:le}=R(68673);const _e=R(35891);const Te=R(44648);const{makePathsRelative:Ee}=R(49197);const we=R(91671);const Ie=R(1697);const defaultGetName=()=>{};const Ne=Te;const Me=new WeakMap;const hashFilename=(E,N)=>{const R=_e(N.hashFunction).update(E).digest(N.hashDigest);return R.slice(0,8)};const getRequests=E=>{let N=0;for(const R of E.groupsIterable){N=Math.max(N,R.chunks.length)}return N};const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const isOverlap=(E,N)=>{for(const R of E){if(N.has(R))return true}return false};const Le=le(ce);const compareEntries=(E,N)=>{const R=E.cacheGroup.priority-N.cacheGroup.priority;if(R)return R;const j=E.chunks.size-N.chunks.size;if(j)return j;const $=totalSize(E.sizes)*(E.chunks.size-1);const q=totalSize(N.sizes)*(N.chunks.size-1);const G=$-q;if(G)return G;const ie=N.cacheGroupIndex-E.cacheGroupIndex;if(ie)return ie;const ae=E.modules;const ce=N.modules;const le=ae.size-ce.size;if(le)return le;ae.sort();ce.sort();return Le(ae,ce)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,N)=>{if(typeof E==="number"){const R={};for(const j of N)R[j]=E;return R}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let N={};for(let R=E.length-1;R>=0;R--){N=Object.assign(N,E[R])}return N};const hasNonZeroSizes=E=>{for(const N of Object.keys(E)){if(E[N]>0)return true}return false};const combineSizes=(E,N,R)=>{const j=new Set(Object.keys(E));const $=new Set(Object.keys(N));const q={};for(const G of j){if($.has(G)){q[G]=R(E[G],N[G])}else{q[G]=E[G]}}for(const E of $){if(!j.has(E)){q[E]=N[E]}}return q};const checkMinSize=(E,N)=>{for(const R of Object.keys(N)){const j=E[R];if(j===undefined||j===0)continue;if(j{for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if($*R{let R;for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if(${let N=0;for(const R of Object.keys(E)){N+=E[R]}return N};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,N)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const R=[];for(const j of Object.keys(E)){const $=E[j];if($===false){continue}if(typeof $==="string"||$ instanceof RegExp){const E=createCacheGroupSource({},j,N);R.push(((N,R,j)=>{if(checkTest($,N,R)){j.push(E)}}))}else if(typeof $==="function"){const E=new WeakMap;R.push(((R,q,G)=>{const ie=$(R);if(ie){const R=Array.isArray(ie)?ie:[ie];for(const $ of R){const R=E.get($);if(R!==undefined){G.push(R)}else{const R=createCacheGroupSource($,j,N);E.set($,R);G.push(R)}}}}))}else{const E=createCacheGroupSource($,j,N);R.push(((N,R,j)=>{if(checkTest($.test,N,R)&&checkModuleType($.type,N)&&checkModuleLayer($.layer,N)){j.push(E)}}))}}const fn=(E,N)=>{let j=[];for(const $ of R){$(E,N,j)}return j};return fn}return()=>null};const checkTest=(E,N,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N,R)}if(typeof E==="boolean")return E;if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const checkModuleType=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.type)}if(typeof E==="string"){const R=N.type;return E===R}if(E instanceof RegExp){const R=N.type;return E.test(R)}return false};const checkModuleLayer=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.layer)}if(typeof E==="string"){const R=N.layer;return E===""?!R:R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.layer;return E.test(R)}return false};const createCacheGroupSource=(E,N,R)=>{const j=normalizeSizes(E.minSize,R);const $=normalizeSizes(E.minSizeReduction,R);const q=normalizeSizes(E.maxSize,R);return{key:N,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,R),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,R),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,R),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,R),q),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const N=E.defaultSizeTypes||["javascript","unknown"];const R=E.fallbackCacheGroup||{};const j=normalizeSizes(E.minSize,N);const $=normalizeSizes(E.minSizeReduction,N);const q=normalizeSizes(E.maxSize,N);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:N,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,N),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,N),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,N),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,N),q),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,N),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(R.chunks||E.chunks||"all"),minSize:mergeSizes(normalizeSizes(R.minSize,N),j),maxAsyncSize:mergeSizes(normalizeSizes(R.maxAsyncSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxAsyncSize,N),normalizeSizes(E.maxSize,N)),maxInitialSize:mergeSizes(normalizeSizes(R.maxInitialSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxInitialSize,N),normalizeSizes(E.maxSize,N)),automaticNameDelimiter:R.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const N=this._cacheGroupCache.get(E);if(N!==undefined)return N;const R=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const j=mergeSizes(E.minSizeReduction,E.enforce?undefined:this.options.minSizeReduction);const $=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const q=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const G={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:R,minSizeReduction:j,minRemainingSize:$,enforceSizeThreshold:q,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(R),_validateRemainingSize:hasNonZeroSizes($),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(q)};this._cacheGroupCache.set(E,G);return G}apply(E){const N=Ee.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const R=E.getLogger("webpack.SplitChunksPlugin");let le=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{le=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:$},($=>{if(le)return;le=true;R.time("prepare");const _e=E.chunkGraph;const Te=E.moduleGraph;const Ee=new Map;const Le=BigInt("0");const Be=BigInt("1");const je=Be<{const N=E[Symbol.iterator]();let R=N.next();if(R.done)return Le;const j=R.value;R=N.next();if(R.done)return j;let $=Ee.get(j)|Ee.get(R.value);while(!(R=N.next()).done){const E=Ee.get(R.value);$=$^E}return $};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Ee.get(E).toString(16)};const ze=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=_e.getModuleChunksIterable(j);const $=getKey(E);if(typeof $==="bigint"){if(!N.has($)){N.set($,new Set(E))}}else{R.add($)}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunksByExports=E=>{const N=Te.getExportsInfo(E);const R=new Map;for(const j of _e.getModuleChunksIterable(E)){const E=N.getUsageKey(j.runtime);const $=R.get(E);if($!==undefined){$.push(j)}else{R.set(E,[j])}}return R.values()};const We=new Map;const Je=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=Array.from(groupChunksByExports(j));We.set(j,E);for(const j of E){if(j.length===1){R.add(j[0])}else{const E=getKey(j);if(!N.has(E)){N.set(E,new Set(j))}}}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunkSetsByCount=E=>{const N=new Map;for(const R of E){const E=R.size;let j=N.get(E);if(j===undefined){j=[];N.set(E,j)}j.push(R)}return N};const Ve=we((()=>groupChunkSetsByCount(ze().chunkSetsInGraph.values())));const qe=we((()=>groupChunkSetsByCount(Je().chunkSetsInGraph.values())));const createGetCombinations=(E,N,R)=>{const $=new Map;return q=>{const G=$.get(q);if(G!==undefined)return G;if(q instanceof j){const E=[q];$.set(q,E);return E}const ae=E.get(q);const ce=[ae];for(const[E,N]of R){if(E{const{chunkSetsInGraph:E,singleChunkSets:N}=ze();return createGetCombinations(E,N,Ve())}));const getCombinations=E=>He()(E);const Ge=we((()=>{const{chunkSetsInGraph:E,singleChunkSets:N}=Je();return createGetCombinations(E,N,qe())}));const getExportsCombinations=E=>Ge()(E);const Ke=new WeakMap;const getSelectedChunks=(E,N)=>{let R=Ke.get(E);if(R===undefined){R=new WeakMap;Ke.set(E,R)}let $=R.get(N);if($===undefined){const q=[];if(E instanceof j){if(N(E))q.push(E)}else{for(const R of E){if(N(R))q.push(R)}}$={chunks:q,key:getKey(q)};R.set(N,$)}return $};const Qe=new Map;const Xe=new Set;const Ye=new Map;const addModuleToChunksInfoMap=(N,R,j,$,G)=>{if(j.length{const E=_e.getModuleChunksIterable(N);const R=getKey(E);return getCombinations(R)}));const $=we((()=>{Je();const E=new Set;const R=We.get(N);for(const N of R){const R=getKey(N);for(const N of getExportsCombinations(R))E.add(N)}return E}));let q=0;for(const G of E){const E=this._getCacheGroup(G);const ie=E.usedExports?$():R();for(const R of ie){const $=R instanceof j?1:R.size;if(${for(const R of E.modules){const j=R.getSourceTypes();if(N.some((E=>j.has(E)))){E.modules.delete(R);for(const N of j){E.sizes[N]-=R.size(N)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const N=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(N===undefined)return false;removeModulesWithSourceType(E,N);return E.modules.size===0};for(const[E,N]of Ye){if(removeMinSizeViolatingModules(N)){Ye.delete(E)}else if(!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E)}}const et=new Map;while(Ye.size>0){let N;let R;for(const E of Ye){const j=E[0];const $=E[1];if(R===undefined||compareEntries(R,$)<0){R=$;N=j}}const j=R;Ye.delete(N);let $=j.name;let q;let G=false;let ie=false;if($){const N=E.namedChunks.get($);if(N!==undefined){q=N;const E=j.chunks.size;j.chunks.delete(q);G=j.chunks.size!==E}}else if(j.cacheGroup.reuseExistingChunk){e:for(const E of j.chunks){if(_e.getNumberOfChunkModules(E)!==j.modules.size){continue}if(j.chunks.size>1&&_e.getNumberOfEntryModules(E)>0){continue}for(const N of j.modules){if(!_e.isModuleInChunk(N,E)){continue e}}if(!q||!q.name){q=E}else if(E.name&&E.name.length=N){ce.delete(E)}}}e:for(const E of ce){for(const N of j.modules){if(_e.isModuleInChunk(N,E))continue e}ce.delete(E)}if(ce.size=j.cacheGroup.minChunks){const E=Array.from(ce);for(const N of j.modules){addModuleToChunksInfoMap(j.cacheGroup,j.cacheGroupIndex,E,getKey(ce),N)}}continue}if(!ae&&j.cacheGroup._validateRemainingSize&&ce.size===1){const[E]=ce;let R=Object.create(null);for(const N of _e.getChunkModulesIterable(E)){if(!j.modules.has(N)){for(const E of N.getSourceTypes()){R[E]=(R[E]||0)+N.size(E)}}}const $=getViolatingMinSizes(R,j.cacheGroup.minRemainingSize);if($!==undefined){const E=j.modules.size;removeModulesWithSourceType(j,$);if(j.modules.size>0&&j.modules.size!==E){Ye.set(N,j)}continue}}if(q===undefined){q=E.addChunk($)}for(const E of ce){E.split(q)}q.chunkReason=(q.chunkReason?q.chunkReason+", ":"")+(ie?"reused as split chunk":"split chunk");if(j.cacheGroup.key){q.chunkReason+=` (cache group: ${j.cacheGroup.key})`}if($){q.chunkReason+=` (name: ${$})`}if(j.cacheGroup.filename){q.filenameTemplate=j.cacheGroup.filename}if(j.cacheGroup.idHint){q.idNameHints.add(j.cacheGroup.idHint)}if(!ie){for(const N of j.modules){if(!N.chunkCondition(q,E))continue;_e.connectChunkAndModule(q,N);for(const E of ce){_e.disconnectChunkAndModule(E,N)}}}else{for(const E of j.modules){for(const N of ce){_e.disconnectChunkAndModule(N,E)}}}if(Object.keys(j.cacheGroup.maxAsyncSize).length>0||Object.keys(j.cacheGroup.maxInitialSize).length>0){const E=et.get(q);et.set(q,{minSize:E?combineSizes(E.minSize,j.cacheGroup._minSizeForMaxSize,Math.max):j.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,j.cacheGroup.maxAsyncSize,Math.min):j.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,j.cacheGroup.maxInitialSize,Math.min):j.cacheGroup.maxInitialSize,automaticNameDelimiter:j.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat(j.cacheGroup.key):[j.cacheGroup.key]})}for(const[E,N]of Ye){if(isOverlap(N.chunks,ce)){let R=false;for(const E of j.modules){if(N.modules.has(E)){N.modules.delete(E);for(const R of E.getSourceTypes()){N.sizes[R]-=E.size(R)}R=true}}if(R){if(N.modules.size===0){Ye.delete(E);continue}if(removeMinSizeViolatingModules(N)||!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E);continue}}}}}R.timeEnd("queue");R.time("maxSize");const tt=new Set;const{outputOptions:rt}=E;const{fallbackCacheGroup:nt}=this.options;for(const R of Array.from(E.chunks)){const j=et.get(R);const{minSize:$,maxAsyncSize:q,maxInitialSize:ie,automaticNameDelimiter:ae}=j||nt;if(!j&&!nt.chunksFilter(R))continue;let ce;if(R.isOnlyInitial()){ce=ie}else if(R.canBeInitial()){ce=combineSizes(q,ie,Math.min)}else{ce=q}if(Object.keys(ce).length===0){continue}for(const N of Object.keys(ce)){const R=ce[N];const q=$[N];if(typeof q==="number"&&q>R){const N=j&&j.keys;const $=`${N&&N.join()} ${q} ${R}`;if(!tt.has($)){tt.add($);E.warnings.push(new Ie(N,q,R))}}}const le=Ne({minSize:$,maxSize:mapObject(ce,((E,N)=>{const R=$[N];return typeof R==="number"?Math.max(E,R):E})),items:_e.getChunkModulesIterable(R),getKey(E){const R=Me.get(E);if(R!==undefined)return R;const j=N(E.identifier());const $=E.nameForCondition&&E.nameForCondition();const q=$?N($):j.replace(/^.*!|\?[^?!]*$/g,"");const ie=q+ae+hashFilename(j,rt);const ce=G(ie);Me.set(E,ce);return ce},getSize(E){const N=Object.create(null);for(const R of E.getSourceTypes()){N[R]=E.size(R)}return N}});if(le.length<=1){continue}for(let N=0;N100){q=q.slice(0,100)+ae+hashFilename(q,rt)}if(N!==le.length-1){const N=E.addChunk(q);R.split(N);N.chunkReason=R.chunkReason;for(const $ of j.items){if(!$.chunkCondition(N,E)){continue}_e.connectChunkAndModule(N,$);_e.disconnectChunkAndModule(R,$)}}else{R.name=q}}}R.timeEnd("maxSize")}))}))}}},15787:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class AssetsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${j(N)}).\nThis can impact web performance.\nAssets: ${R}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class EntrypointsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${j(N)}). This can impact web performance.\nEntrypoints:${R}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoAsyncChunksWarning extends j{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,N,R)=>{"use strict";const{find:j}=R(26221);const $=R(15787);const q=R(84116);const G=R(23529);const ie=new WeakSet;const excludeSourceMap=(E,N,R)=>!R.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ie.has(E)}apply(E){const N=this.maxEntrypointSize;const R=this.maxAssetSize;const ae=this.hints;const ce=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const le=[];const getEntrypointSize=N=>{let R=0;for(const j of N.getFiles()){const N=E.getAsset(j);if(N&&ce(N.name,N.source,N.info)&&N.source){R+=N.info.size||N.source.size()}}return R};const _e=[];for(const{name:N,source:j,info:$}of E.getAssets()){if(!ce(N,j,$)||!j){continue}const E=$.size||j.size();if(E>R){_e.push({name:N,size:E});ie.add(j)}}const fileFilter=N=>{const R=E.getAsset(N);return R&&ce(R.name,R.source,R.info)};const Te=[];for(const[R,j]of E.entrypoints){const E=getEntrypointSize(j);if(E>N){Te.push({name:R,size:E,files:j.getFiles().filter(fileFilter)});ie.add(j)}}if(ae){if(_e.length>0){le.push(new $(_e,R))}if(Te.length>0){le.push(new q(Te,N))}if(le.length>0){const N=j(E.chunks,(E=>!E.canBeInitial()));if(!N){le.push(new G)}if(ae==="error"){E.errors.push(...le)}else{E.warnings.push(...le)}}}}))}}},63890:(E,N,R)=>{"use strict";const j=R(66804);const $=R(58159);class ChunkPrefetchFunctionRuntimeModule extends j{constructor(E,N,R){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=N;this.runtimeHandlers=R}generate(){const{runtimeFunction:E,runtimeHandlers:N}=this;const{runtimeTemplate:R}=this.compilation;return $.asString([`${N} = {};`,`${E} = ${R.basicFunction("chunkId",[`Object.keys(${N}).map(${R.basicFunction("key",`${N}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,N,R)=>{"use strict";const j=R(76150);const $=R(63890);const q=R(2235);const G=R(86400);const ie=R(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{if($.getNumberOfEntryModules(N)===0)return;const G=N.getChildrenOfTypeInOrder($,"prefetchOrder");if(G){R.add(j.prefetchChunk);R.add(j.onChunksLoaded);E.addRuntimeModule(N,new q(G))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{const q=N.getChildIdsByOrdersMap($,false);if(q.prefetch){R.add(j.prefetchChunk);E.addRuntimeModule(N,new G(q.prefetch))}if(q.preload){R.add(j.preloadChunk);E.addRuntimeModule(N,new ie(q.preload))}}));E.hooks.runtimeRequirementInTree.for(j.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("prefetch",j.prefetchChunk,j.prefetchChunkHandlers));R.add(j.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("preload",j.preloadChunk,j.preloadChunkHandlers));R.add(j.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchStartupRuntimeModule extends ${constructor(E){super("startup prefetch",$.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:N}=this;const{runtimeTemplate:R}=this.compilation;return q.asString(E.map((({onChunks:E,chunks:$})=>`${j.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===N)).map((E=>E.id)))}, ${R.basicFunction("",$.size<3?Array.from($,(E=>`${j.prefetchChunk}(${JSON.stringify(E.id)});`)):`${JSON.stringify(Array.from($,(E=>E.id)))}.map(${j.prefetchChunk});`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchTriggerRuntimeModule extends ${constructor(E){super(`chunk prefetch trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.prefetchChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.prefetch = ${N.expressionFunction(`Promise.all(promises).then(${N.basicFunction("",R)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPreloadTriggerRuntimeModule extends ${constructor(E){super(`chunk preload trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.preloadChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.preload = ${N.basicFunction("chunkId",R)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,N){this.ruleProperty=E;this.effectType=N||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,N,R,j,$)=>{if(R.has(this.ruleProperty)){R.delete(this.ruleProperty);const E=N[this.ruleProperty];j.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,N,R){this.ruleProperty=E;this.dataProperty=N||E;this.invert=R||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((N,R,j,$)=>{if(j.has(this.ruleProperty)){j.delete(this.ruleProperty);const q=R[this.ruleProperty];const G=E.compileCondition(`${N}.${this.ruleProperty}`,q);const ie=G.fn;$.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!G.matchWhenEmpty:G.matchWhenEmpty,fn:this.invert?E=>!ie(E):ie})}}))}}E.exports=BasicMatcherRulePlugin},95020:E=>{"use strict";class ObjectMatcherRulePlugin{constructor(E,N){this.ruleProperty=E;this.dataProperty=N||E}apply(E){const{ruleProperty:N,dataProperty:R}=this;E.hooks.rule.tap("ObjectMatcherRulePlugin",((j,$,q,G)=>{if(q.has(N)){q.delete(N);const ie=$[N];for(const $ of Object.keys(ie)){const q=$.split(".");const ae=E.compileCondition(`${j}.${N}.${$}`,ie[$]);G.conditions.push({property:[R,...q],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}E.exports=ObjectMatcherRulePlugin},73817:(E,N,R)=>{"use strict";const{SyncHook:j}=R(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new j(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const N of E){N.apply(this)}}}compile(E){const N=new Map;const R=this.compileRules("ruleSet",E,N);const execRule=(E,N,R)=>{for(const R of N.conditions){const N=R.property;if(Array.isArray(N)){let j=E;for(const E of N){if(j&&typeof j==="object"&&Object.prototype.hasOwnProperty.call(j,E)){j=j[E]}else{j=undefined;break}}if(j!==undefined){if(!R.fn(j))return false;continue}}else if(N in E){const j=E[N];if(j!==undefined){if(!R.fn(j))return false;continue}}if(!R.matchWhenEmpty){return false}}for(const j of N.effects){if(typeof j==="function"){const N=j(E);for(const E of N){R.push(E)}}else{R.push(j)}}if(N.rules){for(const j of N.rules){execRule(E,j,R)}}if(N.oneOf){for(const j of N.oneOf){if(execRule(E,j,R)){break}}}return true};return{references:N,exec:E=>{const N=[];for(const j of R){execRule(E,j,N)}return N}}}compileRules(E,N,R){return N.map(((N,j)=>this.compileRule(`${E}[${j}]`,N,R)))}compileRule(E,N,R){const j=new Set(Object.keys(N).filter((E=>N[E]!==undefined)));const $={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,N,j,$,R);if(j.has("rules")){j.delete("rules");const q=N.rules;if(!Array.isArray(q))throw this.error(E,q,"Rule.rules must be an array of rules");$.rules=this.compileRules(`${E}.rules`,q,R)}if(j.has("oneOf")){j.delete("oneOf");const q=N.oneOf;if(!Array.isArray(q))throw this.error(E,q,"Rule.oneOf must be an array of rules");$.oneOf=this.compileRules(`${E}.oneOf`,q,R)}if(j.size>0){throw this.error(E,N,`Properties ${Array.from(j).join(", ")} are unknown`)}return $}compileCondition(E,N){if(N===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!N){throw this.error(E,N,"Expected condition but got falsy value")}if(typeof N==="string"){return{matchWhenEmpty:N.length===0,fn:E=>typeof E==="string"&&E.startsWith(N)}}if(typeof N==="function"){try{return{matchWhenEmpty:N(""),fn:N}}catch(R){throw this.error(E,N,"Evaluation of condition function threw error")}}if(N instanceof RegExp){return{matchWhenEmpty:N.test(""),fn:E=>typeof E==="string"&&N.test(E)}}if(Array.isArray(N)){const R=N.map(((N,R)=>this.compileCondition(`${E}[${R}]`,N)));return this.combineConditionsOr(R)}if(typeof N!=="object"){throw this.error(E,N,`Unexpected ${typeof N} when condition was expected`)}const R=[];for(const j of Object.keys(N)){const $=N[j];switch(j){case"or":if($){if(!Array.isArray($)){throw this.error(`${E}.or`,N.and,"Expected array of conditions")}R.push(this.compileCondition(`${E}.or`,$))}break;case"and":if($){if(!Array.isArray($)){throw this.error(`${E}.and`,N.and,"Expected array of conditions")}let j=0;for(const N of $){R.push(this.compileCondition(`${E}.and[${j}]`,N));j++}}break;case"not":if($){const N=this.compileCondition(`${E}.not`,$);const j=N.fn;R.push({matchWhenEmpty:!N.matchWhenEmpty,fn:E=>!j(E)})}break;default:throw this.error(`${E}.${j}`,N[j],`Unexpected property ${j} in condition`)}}if(R.length===0){throw this.error(E,N,"Expected condition, but got empty thing")}return this.combineConditionsAnd(R)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:N=>E.some((E=>E.fn(N)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:N=>E.every((E=>E.fn(N)))}}}error(E,N,R){return new Error(`Compiling RuleSet failed: ${R} (at ${E}: ${N})`)}}E.exports=RuleSetCompiler},19311:(E,N,R)=>{"use strict";const j=R(73837);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((N,R,$,q,G)=>{const conflictWith=(j,q)=>{if($.has(j)){throw E.error(`${N}.${j}`,R[j],`A Rule must not have a '${j}' property when it has a '${q}' property`)}};if($.has("use")){$.delete("use");$.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=R.use;const ie=R.enforce;const ae=ie?`use-${ie}`:"use";const useToEffect=(E,N,R)=>{if(typeof R==="function"){return N=>useToEffectsWithoutIdent(E,R(N))}else{return useToEffectRaw(E,N,R)}};const useToEffectRaw=(E,N,R)=>{if(typeof R==="string"){return{type:ae,value:{loader:R,options:undefined,ident:undefined}}}else{const $=R.loader;const q=R.options;let ae=R.ident;if(q&&typeof q==="object"){if(!ae)ae=N;G.set(ae,q)}if(typeof q==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ie?`use-${ie}`:"use",value:{loader:$,options:q,ident:ae}}}};const useToEffectsWithoutIdent=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>useToEffectRaw(`${E}[${R}]`,"[[missing ident]]",N)))}return[useToEffectRaw(E,"[[missing ident]]",N)]};const useToEffects=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>{const j=`${E}[${R}]`;return useToEffect(j,j,N)}))}return[useToEffect(E,E,N)]};if(typeof E==="function"){q.effects.push((R=>useToEffectsWithoutIdent(`${N}.use`,E(R))))}else{for(const R of useToEffects(`${N}.use`,E)){q.effects.push(R)}}}if($.has("loader")){$.delete("loader");$.delete("options");$.delete("enforce");const ie=R.loader;const ae=R.options;const ce=R.enforce;if(ie.includes("!")){throw E.error(`${N}.loader`,ie,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ie.includes("?")){throw E.error(`${N}.loader`,ie,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${N}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const le=ae&&typeof ae==="object"?N:undefined;G.set(le,ae);q.effects.push({type:ce?`use-${ce}`:"use",value:{loader:ie,options:ae,ident:le}})}}))}useItemToEffects(E,N){}}E.exports=UseEffectRulePlugin},84997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class AsyncModuleRuntimeModule extends q{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.asyncModule;return $.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",$.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',$.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",$.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep['catch'](reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${N} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise['catch'](rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const G=R(18161);const{getUndoPath:ie}=R(49197);class AutoPublicPathRuntimeModule extends ${constructor(){super("publicPath",$.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:N,importMetaName:R,path:$}=E.outputOptions;const ae=E.getPath(G.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const ce=ie(ae,$,false);return q.asString(["var scriptUrl;",N==="module"?`if (typeof ${R}.url === "string") scriptUrl = ${R}.url`:q.asString([`if (${j.global}.importScripts) scriptUrl = ${j.global}.location + "";`,`var document = ${j.global}.document;`,"if (!scriptUrl && document) {",q.indent([`if (document.currentScript)`,q.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",q.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!ce?`${j.publicPath} = scriptUrl;`:`${j.publicPath} = scriptUrl + ${JSON.stringify(ce)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class ChunkNameRuntimeModule extends ${constructor(E){super("chunkName");this.chunkName=E}generate(){return`${j.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CompatGetDefaultExportRuntimeModule extends q{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.compatGetDefaultExport;return $.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${N} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",$.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${j.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class CompatRuntimeModule extends ${constructor(){super("compat",$.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$,mainTemplate:q,moduleTemplates:G,dependencyTemplates:ie}=R;const ae=q.hooks.bootstrap.call("",N,R.hash||"XXXX",G.javascript,ie);const ce=q.hooks.localVars.call("",N,R.hash||"XXXX");const le=q.hooks.requireExtensions.call("",N,R.hash||"XXXX");const _e=E.getTreeRuntimeRequirements(N);let Te="";if(_e.has(j.ensureChunk)){const E=q.hooks.requireEnsure.call("",N,R.hash||"XXXX","chunkId");if(E){Te=`${j.ensureChunkHandlers}.compat = ${$.basicFunction("chunkId, promises",E)};`}}return[ae,ce,Te,le].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateFakeNamespaceObjectRuntimeModule extends q{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.createFakeNamespaceObject;return $.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${N} = function(value, mode) {`,$.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",$.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${j.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",$.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${j.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateScriptUrlRuntimeModule extends q{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{trustedTypes:q}=R;const G=j.createScriptUrl;if(!q){return $.asString([`${G} = ${N.returningFunction("url","url")};`])}return $.asString(["var policy;",`${G} = ${N.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",$.indent(["policy = {",$.indent([`createScriptURL: ${N.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',$.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(q.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class DefinePropertyGettersRuntimeModule extends q{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.definePropertyGetters;return $.asString(["// define getter functions for harmony exports",`${N} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,$.indent([`if(${j.hasOwnProperty}(definition, key) && !${j.hasOwnProperty}(exports, key)) {`,$.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class EnsureChunkRuntimeModule extends ${constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has(j.ensureChunkHandlers)){const N=j.ensureChunkHandlers;return q.asString([`${N} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${j.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${N}).reduce(${E.basicFunction("promises, key",[`${N}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return q.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${j.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{first:G}=R(26221);class GetChunkFilenameRuntimeModule extends ${constructor(E,N,R,j,$){super(`get ${N} chunk filename`);this.contentType=E;this.global=R;this.getFilenameForChunk=j;this.allChunks=$;this.dependentHash=true}generate(){const{global:E,chunk:N,chunkGraph:R,contentType:$,getFilenameForChunk:ie,allChunks:ae,compilation:ce}=this;const{runtimeTemplate:le}=ce;const _e=new Map;let Te=0;let Ee;const addChunk=E=>{const N=ie(E);if(N){let R=_e.get(N);if(R===undefined){_e.set(N,R=new Set)}R.add(E);if(typeof N==="string"){if(R.size{const unquotedStringify=N=>{const R=`${N}`;if(R.length>=5&&R===`${E.id}`){return'" + chunkId + "'}const j=JSON.stringify(R);return j.slice(1,j.length-1)};const unquotedStringifyWithLength=E=>N=>unquotedStringify(`${E}`.slice(0,N));const R=typeof N==="function"?JSON.stringify(N({chunk:E,contentHashType:$})):JSON.stringify(N);const q=ce.getPath(R,{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[$]:unquotedStringify(E.contentHash[$])},contentHashWithLength:{[$]:unquotedStringifyWithLength(E.contentHash[$])}},contentHashType:$});let G=Ie.get(q);if(G===undefined){Ie.set(q,G=new Set)}G.add(E.id)};for(const[E,N]of _e){if(E!==Ee){for(const R of N)addStaticUrl(R,E)}else{for(const E of N)Ne.add(E)}}const createMap=E=>{const N={};let R=false;let j;let $=0;for(const q of Ne){const G=E(q);if(G===q.id){R=true}else{N[q.id]=G;j=q.id;$++}}if($===0)return"chunkId";if($===1){return R?`(chunkId === ${JSON.stringify(j)} ? ${JSON.stringify(N[j])} : chunkId)`:JSON.stringify(N[j])}return R?`(${JSON.stringify(N)}[chunkId] || chunkId)`:`${JSON.stringify(N)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>N=>`" + ${createMap((R=>`${E(R)}`.slice(0,N)))} + "`;const Me=Ee&&ce.getPath(JSON.stringify(Ee),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[$]:mapExpr((E=>E.contentHash[$]))},contentHashWithLength:{[$]:mapExprWithLength((E=>E.contentHash[$]))}},contentHashType:$});return q.asString([`// This function allow to reference ${we.join(" and ")}`,`${E} = ${le.basicFunction("chunkId",Ie.size>0?["// return url for filenames not based on template",q.asString(Array.from(Ie,(([E,N])=>{const R=N.size===1?`chunkId === ${JSON.stringify(G(N))}`:`{${Array.from(N,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${R}) return ${E};`}))),"// return url for filenames based on template",`return ${Me};`]:["// return url for filenames based on template",`return ${Me};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class GetFullHashRuntimeModule extends ${constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${j.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GetMainFilenameRuntimeModule extends ${constructor(E,N,R){super(`get ${E} filename`);this.global=N;this.filename=R}generate(){const{global:E,filename:N,compilation:R,chunk:$}=this;const{runtimeTemplate:G}=R;const ie=R.getPath(JSON.stringify(N),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:$,runtime:$.runtime});return q.asString([`${E} = ${G.returningFunction(ie)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GlobalRuntimeModule extends ${constructor(){super("global")}generate(){return q.asString([`${j.global} = (function() {`,q.indent(["if (typeof globalThis === 'object') return globalThis;","try {",q.indent("return this || new Function('return this')();"),"} catch (e) {",q.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HasOwnPropertyRuntimeModule extends ${constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${j.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,N,R)=>{"use strict";const j=R(66804);class HelperRuntimeModule extends j{constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(58159);const ie=R(9851);const ae=new WeakMap;class LoadScriptRuntimeModule extends ie{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=ae.get(E);if(N===undefined){N={createScript:new j(["source","chunk"])};ae.set(E,N)}return N}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{scriptType:j,chunkLoadTimeout:$,crossOriginLoading:ie,uniqueName:ae,charset:ce}=R;const le=q.loadScript;const{createScript:_e}=LoadScriptRuntimeModule.getCompilationHooks(E);const Te=G.asString(["script = document.createElement('script');",j?`script.type = ${JSON.stringify(j)};`:"",ce?"script.charset = 'utf-8';":"",`script.timeout = ${$/1e3};`,`if (${q.scriptNonce}) {`,G.indent(`script.setAttribute("nonce", ${q.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${q.createScriptUrl}(url)`:"url"};`,ie?G.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",G.indent(`script.crossOrigin = ${JSON.stringify(ie)};`),"}"]):""]);return G.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${le} = ${N.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",G.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",G.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",G.indent(["needAttach = true;",_e.call(Te,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+N.basicFunction("prev, event",G.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${N.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${$});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class MakeNamespaceObjectRuntimeModule extends q{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.makeNamespaceObject;return $.asString(["// define __esModule on exports",`${N} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",$.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class OnChunksLoadedRuntimeModule extends ${constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return q.asString(["var deferred = [];",`${j.onChunksLoaded} = ${N.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",q.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",q.indent([N.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",q.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${j.onChunksLoaded}).every(${N.returningFunction(`${j.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,q.indent(["chunkIds.splice(j--, 1);"]),"} else {",q.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",q.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class PublicPathRuntimeModule extends ${constructor(E){super("publicPath",$.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:N}=this;return`${j.publicPath} = ${JSON.stringify(E.getPath(N||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class RelativeUrlRuntimeModule extends q{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return $.asString([`${j.relativeUrl} = function RelativeURL(url) {`,$.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${j.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class RuntimeIdRuntimeModule extends ${constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:N}=this;const R=N.runtime;if(typeof R!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const $=E.getRuntimeId(R);return`${j.runtimeId} = ${JSON.stringify($)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(55616);const q=R(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((N,R,{chunkGraph:q})=>{if(!isEnabledForChunk(N))return;if(q.hasChunkEntryDependentChunks(N)){R.add(j.startup);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new $(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for(j.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;R.add(j.require);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new q(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class StartupChunkDependenciesRuntimeModule extends ${constructor(E){super("startup chunk dependencies",$.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$}=R;const G=Array.from(E.getChunkEntryDependentChunksIterable(N)).map((E=>E.id));return q.asString([`var next = ${j.startup};`,`${j.startup} = ${$.basicFunction("",!this.asyncChunkLoading?G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):G.length===1?`return ${j.ensureChunk}(${JSON.stringify(G[0])}).then(next);`:G.length>2?[`return Promise.all(${JSON.stringify(G)}.map(${j.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",q.indent(G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class StartupEntrypointRuntimeModule extends ${constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return`${j.startupEntrypoint} = ${N.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${N.returningFunction(`__webpack_require__(${j.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${j.ensureChunk}, __webpack_require__)).then(${N.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${j.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class SystemContextRuntimeModule extends ${constructor(){super("__system_context__")}generate(){return`${j.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,N,R)=>{"use strict";const j=R(53520);const $=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=E=>{const N=$.exec(E);if(!N)return null;const R=N[3];const j=N[4];return R?Buffer.from(j,"base64"):Buffer.from(decodeURIComponent(j),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const N=$.exec(E.resource);if(N){E.data.mimetype=N[1]||"";E.data.parameters=N[2]||"";E.data.encoding=N[3]||false;E.data.encodedContent=N[4]||""}}));j.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,N,R)=>{"use strict";const{URL:j,fileURLToPath:$}=R(57310);const{NormalModule:q}=R(86443);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const N=new j(E.resource);const R=$(N);const q=N.search;const G=N.hash;E.path=R;E.query=q;E.fragment=G;E.resource=R+q+G;return true}));const R=q.getCompilationHooks(E);R.readResource.for(undefined).tapAsync("FileUriPlugin",((E,N)=>{const{resourcePath:R}=E;E.addDependency(R);E.fs.readFile(R,N)}))}))}}E.exports=FileUriPlugin},7201:(E,N,R)=>{"use strict";const{extname:j,basename:$}=R(71017);const{URL:q}=R(57310);const{createGunzip:G,createBrotliDecompress:ie,createInflate:ae}=R(59796);const ce=R(53520);const le=R(35817);const _e=R(35891);const{mkdirp:Te,dirname:Ee,join:we}=R(95396);const Ie=R(91671);const Ne=Ie((()=>R(13685)));const Me=Ie((()=>R(95687)));let Le=undefined;const Be=le(R(44363),(()=>R(5404)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=E=>E.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=E=>{const N=_e("sha512");N.update(E);const R="sha512-"+N.digest("base64");return R};const verifyIntegrity=(E,N)=>{if(N==="ignore")return true;return computeIntegrity(E)===N};const parseKeyValuePairs=E=>{const N={};for(const R of E.split(",")){const E=R.indexOf("=");if(E>=0){const j=R.slice(0,E).trim();const $=R.slice(E+1).trim();N[j]=$}else{const E=R.trim();if(!E)continue;N[E]=E}}return N};const parseCacheControl=(E,N)=>{let R=true;let j=true;let $=0;if(E){const q=parseKeyValuePairs(E);if(q["no-cache"])R=j=false;if(q["max-age"]&&!isNaN(+q["max-age"])){$=N+ +q["max-age"]*1e3}if(q["must-revalidate"])$=0}return{storeLock:j,storeCache:R,validUntil:$}};const areLockfileEntriesEqual=(E,N)=>E.resolved===N.resolved&&E.integrity===N.integrity&&E.contentType===N.contentType;const entryToString=E=>`resolved: ${E.resolved}, integrity: ${E.integrity}, contentType: ${E.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(E){const N=JSON.parse(E);if(N.version!==1)throw new Error(`Unsupported lockfile version ${N.version}`);const R=new Lockfile;for(const E of Object.keys(N)){if(E==="version")continue;const j=N[E];R.entries.set(E,typeof j==="string"?j:{resolved:E,...j})}return R}toString(){let E="{\n";const N=Array.from(this.entries).sort((([E],[N])=>E{let N=false;let R=undefined;let j=undefined;let $=undefined;return q=>{if(N){if(j!==undefined)return q(null,j);if(R!==undefined)return q(R);if($===undefined)$=[q];else $.push(q);return}N=true;E(((E,N)=>{if(E)R=E;else j=N;const G=$;$=undefined;q(E,N);if(G!==undefined)for(const R of G)R(E,N)}))}};const cachedWithKey=(E,N=E)=>{const R=new Map;const resultFn=(N,j)=>{const $=R.get(N);if($!==undefined){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined};R.set(N,q);E(N,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};resultFn.force=(E,j)=>{const $=R.get(E);if($!==undefined&&$.force){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined,force:true};R.set(E,q);N(E,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};return resultFn};class HttpUriPlugin{constructor(E){Be(E);this._lockfileLocation=E.lockfileLocation;this._cacheLocation=E.cacheLocation;this._upgrade=E.upgrade;this._frozen=E.frozen;this._allowedUris=E.allowedUris}apply(E){const N=[{scheme:"http",fetch:(E,N,R)=>Ne().get(E,N,R)},{scheme:"https",fetch:(E,N,R)=>Me().get(E,N,R)}];let R;E.hooks.compilation.tap("HttpUriPlugin",((le,{normalModuleFactory:Ie})=>{const Ne=E.intermediateFileSystem;const Me=le.inputFileSystem;const Be=le.getCache("webpack.HttpUriPlugin");const je=le.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||we(Ne,E.context,E.name?`${toSafePath(E.name)}.webpack.lock`:"webpack.lock");const ze=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const We=this._upgrade||false;const Je=this._frozen||false;const Ve="sha512";const qe="hex";const He=20;const Ge=this._allowedUris;let Ke=false;const Qe=new Map;const getCacheKey=E=>{const N=Qe.get(E);if(N!==undefined)return N;const R=_getCacheKey(E);Qe.set(E,R);return R};const _getCacheKey=E=>{const N=new q(E);const R=toSafePath(N.origin);const $=toSafePath(N.pathname);const G=toSafePath(N.search);let ie=j($);if(ie.length>20)ie="";const ae=ie?$.slice(0,-ie.length):$;const ce=_e(Ve);ce.update(E);const le=ce.digest(qe).slice(0,He);return`${R.slice(-50)}/${`${ae}${G?`_${G}`:""}`.slice(0,150)}_${le}${ie}`};const Xe=cachedWithoutKey((N=>{const readLockfile=()=>{Ne.readFile(Ue,((j,$)=>{if(j&&j.code!=="ENOENT"){le.missingDependencies.add(Ue);return N(j)}le.fileDependencies.add(Ue);le.fileSystemInfo.createSnapshot(E.fsStartTime,$?[Ue]:[],[],$?[]:[Ue],{timestamp:true},((E,j)=>{if(E)return N(E);const q=$?Lockfile.parse($.toString("utf-8")):new Lockfile;R={lockfile:q,snapshot:j};N(null,q)}))}))};if(R){le.fileSystemInfo.checkSnapshotValid(R.snapshot,((E,j)=>{if(E)return N(E);if(!j)return readLockfile();N(null,R.lockfile)}))}else{readLockfile()}}));let Ye=undefined;const storeLockEntry=(E,N,R)=>{const j=E.entries.get(N);if(Ye===undefined)Ye=new Map;Ye.set(N,R);E.entries.set(N,R);if(!j){je.log(`${N} added to lockfile`)}else if(typeof j==="string"){if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j} -> ${R}`)}else{je.log(`${N} updated in lockfile: ${j} -> ${R.resolved}`)}}else if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R}`)}else if(j.resolved!==R.resolved){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R.resolved}`)}else if(j.integrity!==R.integrity){je.log(`${N} updated in lockfile: content changed`)}else if(j.contentType!==R.contentType){je.log(`${N} updated in lockfile: ${j.contentType} -> ${R.contentType}`)}else{je.log(`${N} updated in lockfile`)}};const storeResult=(E,N,R,j)=>{if(R.storeLock){storeLockEntry(E,N,R.entry);if(!ze||!R.content)return j(null,R);const $=getCacheKey(R.entry.resolved);const q=we(Ne,ze,$);Te(Ne,Ee(Ne,q),(E=>{if(E)return j(E);Ne.writeFile(q,R.content,(E=>{if(E)return j(E);j(null,R)}))}))}else{storeLockEntry(E,N,"no-cache");j(null,R)}};for(const{scheme:E,fetch:R}of N){const resolveContent=(E,R,j)=>{const handleResult=($,q)=>{if($)return j($);if("location"in q){return resolveContent(q.location,R,((E,N)=>{if(E)return j(E);j(null,{entry:N.entry,content:N.content,storeLock:N.storeLock&&q.storeLock})}))}else{if(!q.fresh&&R&&q.entry.integrity!==R&&!verifyIntegrity(q.content,R)){return N.force(E,handleResult)}return j(null,{entry:q.entry,content:q.content,storeLock:q.storeLock})}};N(E,handleResult)};const fetchContentRaw=(E,N,j)=>{const $=Date.now();R(new q(E),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":N?N.etag||null:null}},(R=>{const ce=R.headers["etag"];const le=R.headers["location"];const _e=R.headers["cache-control"];const{storeLock:Te,storeCache:Ee,validUntil:we}=parseCacheControl(_e,$);const finishWith=N=>{if("location"in N){je.debug(`GET ${E} [${R.statusCode}] -> ${N.location}`)}else{je.debug(`GET ${E} [${R.statusCode}] ${Math.ceil(N.content.length/1024)} kB${!Te?" no-cache":""}`)}const $={...N,fresh:true,storeLock:Te,storeCache:Ee,validUntil:we,etag:ce};if(!Ee){je.log(`${E} can't be stored in cache, due to Cache-Control header: ${_e}`);return j(null,$)}Be.store(E,null,{...$,fresh:false},(N=>{if(N){je.warn(`${E} can't be stored in cache: ${N.message}`);je.debug(N.stack)}j(null,$)}))};if(R.statusCode===304){if(N.validUntil=301&&R.statusCode<=308){return finishWith({location:new q(le,E).href})}const Ie=R.headers["content-type"]||"";const Ne=[];const Me=R.headers["content-encoding"];let Le=R;if(Me==="gzip"){Le=Le.pipe(G())}else if(Me==="br"){Le=Le.pipe(ie())}else if(Me==="deflate"){Le=Le.pipe(ae())}Le.on("data",(E=>{Ne.push(E)}));Le.on("end",(()=>{if(!R.complete){je.log(`GET ${E} [${R.statusCode}] (terminated)`);return j(new Error(`${E} request was terminated`))}const N=Buffer.concat(Ne);if(R.statusCode!==200){je.log(`GET ${E} [${R.statusCode}]`);return j(new Error(`${E} request status code = ${R.statusCode}\n${N.toString("utf-8")}`))}const $=computeIntegrity(N);const q={resolved:E,integrity:$,contentType:Ie};finishWith({entry:q,content:N})}))})).on("error",(N=>{je.log(`GET ${E} (error)`);N.message+=`\nwhile fetching ${E}`;j(N)}))};const N=cachedWithKey(((E,N)=>{Be.get(E,null,((R,j)=>{if(R)return N(R);if(j){const E=j.validUntil>=Date.now();if(E)return N(null,j)}fetchContentRaw(E,j,N)}))}),((E,N)=>fetchContentRaw(E,undefined,N)));const isAllowed=E=>{for(const N of Ge){if(typeof N==="string"){if(E.startsWith(N))return true}else if(typeof N==="function"){if(N(E))return true}else{if(N.test(E))return true}}return false};const j=cachedWithKey(((E,N)=>{if(!isAllowed(E)){return N(new Error(`${E} doesn't match the allowedUris policy. These URIs are allowed:\n${Ge.map((E=>` - ${E}`)).join("\n")}`))}Xe(((R,j)=>{if(R)return N(R);const $=j.entries.get(E);if(!$){if(Je){return N(new Error(`${E} has no lockfile entry and lockfile is frozen`))}resolveContent(E,null,((R,$)=>{if(R)return N(R);storeResult(j,E,$,N)}));return}if(typeof $==="string"){const R=$;resolveContent(E,null,(($,q)=>{if($)return N($);if(!q.storeLock||R==="ignore")return N(null,q);if(Je){return N(new Error(`${E} used to have ${R} lockfile entry and has content now, but lockfile is frozen`))}if(!We){return N(new Error(`${E} used to have ${R} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult(j,E,q,N)}));return}let q=$;const doFetch=R=>{resolveContent(E,q.integrity,(($,G)=>{if($){if(R){je.warn(`Upgrade request to ${E} failed: ${$.message}`);je.debug($.stack);return N(null,{entry:q,content:R})}return N($)}if(!G.storeLock){if(Je){return N(new Error(`${E} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}if(!areLockfileEntriesEqual(G.entry,q)){if(Je){return N(new Error(`${E} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(q)}\nExpected: ${entryToString(G.entry)}`))}storeResult(j,E,G,N);return}if(!R&&ze){if(Je){return N(new Error(`${E} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}return N(null,G)}))};if(ze){const R=getCacheKey(q.resolved);const $=we(Ne,ze,R);Me.readFile($,((R,G)=>{const ie=G;if(R){if(R.code==="ENOENT")return doFetch();return N(R)}const continueWithCachedContent=E=>{if(!We){return N(null,{entry:q,content:ie})}return doFetch(ie)};if(!verifyIntegrity(ie,q.integrity)){let R;let G=false;try{R=Buffer.from(ie.toString("utf-8").replace(/\r\n/g,"\n"));G=verifyIntegrity(R,q.integrity)}catch(E){}if(G){if(!Ke){const E=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(Je){je.error(E)}else{je.warn(E);je.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Ke=true}if(!Je){je.log(`${$} fixed end of line sequence (\\r\\n instead of \\n).`);Ne.writeFile($,R,(E=>{if(E)return N(E);continueWithCachedContent(R)}));return}}if(Je){return N(new Error(`${q.resolved} integrity mismatch, expected content with integrity ${q.integrity} but got ${computeIntegrity(ie)}.\nLockfile corrupted (${G?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{q={...q,integrity:computeIntegrity(ie)};storeLockEntry(j,E,q)}}continueWithCachedContent(G)}))}else{doFetch()}}))}));const respondWithUrlModule=(E,N,R)=>{j(E.href,((j,$)=>{if(j)return R(j);N.resource=E.href;N.path=E.origin+E.pathname;N.query=E.search;N.fragment=E.hash;N.context=new q(".",$.entry.resolved).href.slice(0,-1);N.data.mimetype=$.entry.contentType;R(null,true)}))};Ie.hooks.resolveForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{respondWithUrlModule(new q(E.resource),E,R)}));Ie.hooks.resolveInScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{if(N.dependencyType!=="url"&&!/^\.{0,2}\//.test(E.resource)){return R()}respondWithUrlModule(new q(E.resource,N.context+"/"),E,R)}));const $=ce.getCompilationHooks(le);$.readResourceForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>j(E,((E,j)=>{if(E)return R(E);N.buildInfo.resourceIntegrity=j.entry.integrity;R(null,j.content)}))));$.needBuild.tapAsync("HttpUriPlugin",((N,R,$)=>{if(N.resource&&N.resource.startsWith(`${E}://`)){j(N.resource,((E,R)=>{if(E)return $(E);if(R.entry.integrity!==N.buildInfo.resourceIntegrity){return $(null,true)}$()}))}else{return $()}}))}le.hooks.finishModules.tapAsync("HttpUriPlugin",((E,N)=>{if(!Ye)return N();const R=j(Ue);const q=we(Ne,Ee(Ne,Ue),`.${$(Ue,R)}.${Math.random()*1e4|0}${R}`);const writeDone=()=>{const E=Le.shift();if(E){E()}else{Le=undefined}};const runWrite=()=>{Ne.readFile(Ue,((E,R)=>{if(E&&E.code!=="ENOENT"){writeDone();return N(E)}const j=R?Lockfile.parse(R.toString("utf-8")):new Lockfile;for(const[E,N]of Ye){j.entries.set(E,N)}Ne.writeFile(q,j.toString(),(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}Ne.rename(q,Ue,(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}writeDone();N()}))}))}))};if(Le){Le.push(runWrite)}else{Le=[];runWrite()}}))}))}}E.exports=HttpUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:N}){N(E.length);for(const R of E)N(R)}deserialize({read:E}){const N=E();const R=[];for(let j=0;j{"use strict";const j=R(91671);const $=R(43065);const q=11;const G=12;const ie=13;const ae=14;const ce=16;const le=17;const _e=18;const Te=19;const Ee=20;const we=21;const Ie=22;const Ne=23;const Me=24;const Le=30;const Be=31;const je=96;const Ue=64;const ze=32;const We=128;const Je=224;const Ve=31;const qe=127;const He=1;const Ge=1;const Ke=4;const Qe=8;const Xe=Symbol("MEASURE_START_OPERATION");const Ye=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends ${serialize(E,N){return this._serialize(E,N)}_serializeLazy(E,N){return $.serializeLazy(E,(E=>this._serialize(E,N)))}_serialize(E,N,R={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let j=null;let Je=[];let Ve=R?R.leftOverBuffer:null;R.leftOverBuffer=null;let qe=0;if(Ve===null){Ve=Buffer.allocUnsafe(R.allocationSize)}const allocate=E=>{if(Ve!==null){if(Ve.length-qe>=E)return;flush()}if(j&&j.length>=E){Ve=j;j=null}else{Ve=Buffer.allocUnsafe(Math.max(E,R.allocationSize));if(!(R.increaseCounter=(R.increaseCounter+1)%4)&&R.allocationSize<16777216){R.allocationSize=R.allocationSize<<1}}};const flush=()=>{if(Ve!==null){if(qe>0){Je.push(Buffer.from(Ve.buffer,Ve.byteOffset,qe))}if(!j||j.length{Ve.writeUInt8(E,qe++)};const writeU32=E=>{Ve.writeUInt32LE(E,qe);qe+=4};const Ze=[];const measureStart=()=>{Ze.push(Je.length,qe)};const measureEnd=()=>{const E=Ze.pop();const N=Ze.pop();let R=qe-E;for(let E=N;E0&&(E=G[G.length-1])!==0){const R=4294967295-E;if(R>=N.length){G[G.length-1]+=N.length}else{G.push(N.length-R);G[G.length-2]=4294967295}}else{G.push(N.length)}}allocate(5+G.length*4);writeU8(q);writeU32(G.length);for(const E of G){writeU32(E)}flush();for(const N of E){Je.push(N)}break}case"string":{const E=Buffer.byteLength(et);if(E>=128||E!==et.length){allocate(E+He+Ke);writeU8(Le);writeU32(E);Ve.write(et,qe);qe+=E}else if(E>=70){allocate(E+He);writeU8(We|E);Ve.write(et,qe,"latin1");qe+=E}else{allocate(E+He);writeU8(We|E);for(let N=0;N=0&&et<=10){allocate(Ge);writeU8(et);break}let R=1;for(;R<32&&Ze+R0){Ve.writeInt8(E[Ze],qe);qe+=Ge;R--;Ze++}break;case 1:allocate(He+Ke*R);writeU8(Ue|R-1);while(R>0){Ve.writeInt32LE(E[Ze],qe);qe+=Ke;R--;Ze++}break;case 2:allocate(He+Qe*R);writeU8(ze|R-1);while(R>0){Ve.writeDoubleLE(E[Ze],qe);qe+=Qe;R--;Ze++}break}Ze--;break}case"boolean":{let N=et===true?1:0;const R=[];let j=1;let $;for($=1;$<4294967295&&Ze+$this._deserialize(E,N))),this,undefined,E)}_deserializeLazy(E,N){return $.deserializeLazy(E,(E=>this._deserialize(E,N)))}_deserialize(E,N){let R=0;let j=E[0];let $=Buffer.isBuffer(j);let He=0;const Xe=N.retainedBuffer||(E=>E);const checkOverflow=()=>{if(He>=j.length){He=0;R++;j=R$&&E+He<=j.length;const ensureBuffer=()=>{if(!$){throw new Error(j===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=N=>{ensureBuffer();const q=j.length-He;if(q{ensureBuffer();const N=j.length-He;if(N{ensureBuffer();const E=j.readUInt8(He);He+=Ge;checkOverflow();return E};const readU32=()=>read(Ke).readUInt32LE(0);const readBits=(E,N)=>{let R=1;while(N!==0){Ze.push((E&R)!==0);R=R<<1;N--}};const Ye=Array.from({length:256}).map(((Ye,et)=>{switch(et){case q:return()=>{const q=readU32();const G=Array.from({length:q}).map((()=>readU32()));const ie=[];for(let N of G){if(N===0){if(typeof j!=="function"){throw new Error("Unexpected non-lazy element in stream")}ie.push(j);R++;j=R0)}}Ze.push(this._createLazyDeserialized(ie,N))};case Be:return()=>{const E=readU32();Ze.push(Xe(read(E)))};case G:return()=>Ze.push(true);case ie:return()=>Ze.push(false);case _e:return()=>Ze.push(null,null,null);case le:return()=>Ze.push(null,null);case ce:return()=>Ze.push(null);case Ne:return()=>Ze.push(null,true);case Me:return()=>Ze.push(null,false);case we:return()=>{if($){Ze.push(null,j.readInt8(He));He+=Ge;checkOverflow()}else{Ze.push(null,read(Ge).readInt8(0))}};case Ie:return()=>{Ze.push(null);if(isInCurrentBuffer(Ke)){Ze.push(j.readInt32LE(He));He+=Ke;checkOverflow()}else{Ze.push(read(Ke).readInt32LE(0))}};case Te:return()=>{const E=readU8()+4;for(let N=0;N{const E=readU32()+260;for(let N=0;N{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let N=(E&127)+7;while(N>8){readBits(readU8(),8);N-=8}readBits(readU8(),N)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Le:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString(undefined,He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString())}};case We:return()=>Ze.push("");case We|1:return()=>{if($&&He<2147483646){Ze.push(j.toString("latin1",He,He+1));He++;checkOverflow()}else{Ze.push(read(1).toString("latin1"))}};case je:return()=>{if($){Ze.push(j.readInt8(He));He++;checkOverflow()}else{Ze.push(read(1).readInt8(0))}};default:if(et<=10){return()=>Ze.push(et)}else if((et&We)===We){const E=et&qe;return()=>{if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString("latin1",He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString("latin1"))}}}else if((et&Je)===ze){const E=(et&Ve)+1;return()=>{const N=Qe*E;if(isInCurrentBuffer(N)){for(let N=0;N{const N=Ke*E;if(isInCurrentBuffer(N)){for(let N=0;N{const N=Ge*E;if(isInCurrentBuffer(N)){for(let N=0;N{throw new Error(`Unexpected header byte 0x${et.toString(16)}`)}}}}));let Ze=[];while(j!==null){if(typeof j==="function"){Ze.push(this._deserializeLazy(j,N));R++;j=R{"use strict";class DateObjectSerializer{serialize(E,{write:N}){N(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:N}){N(E.message);N(E.stack)}deserialize({read:E}){const N=new this.Type;N.message=E();N.stack=E();return N}}E.exports=ErrorObjectSerializer},13829:(E,N,R)=>{"use strict";const{constants:j}=R(14300);const{pipeline:$}=R(12781);const{createBrotliCompress:q,createBrotliDecompress:G,createGzip:ie,createGunzip:ae,constants:ce}=R(59796);const le=R(35891);const{dirname:_e,join:Te,mkdirp:Ee}=R(95396);const we=R(91671);const Ie=R(43065);const Ne=23294071;const hashForName=(E,N)=>{const R=le(N);for(const N of E)R.update(N);return R.digest("hex")};const Me=100*1024*1024;const Le=100*1024*1024;const Be=Buffer.prototype.writeBigUInt64LE?(E,N,R)=>{E.writeBigUInt64LE(BigInt(N),R)}:(E,N,R)=>{const j=N%4294967296;const $=(N-j)/4294967296;E.writeUInt32LE(j,R);E.writeUInt32LE($,R+4)};const je=Buffer.prototype.readBigUInt64LE?(E,N)=>Number(E.readBigUInt64LE(N)):(E,N)=>{const R=E.readUInt32LE(N);const j=E.readUInt32LE(N+4);return j*4294967296+R};const serialize=async(E,N,R,j,$="md4")=>{const q=[];const G=new WeakMap;let ie=undefined;for(const R of await N){if(typeof R==="function"){if(!Ie.isLazy(R))throw new Error("Unexpected function");if(!Ie.isLazy(R,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}ie=undefined;const N=Ie.getLazySerializedValue(R);if(N){if(typeof N==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{q.push(N)}}else{const N=R();if(N){const ie=Ie.getLazyOptions(R);q.push(serialize(E,N,ie&&ie.name||true,j,$).then((E=>{R.options.size=E.size;G.set(E,R);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(R){if(ie){ie.push(R)}else{ie=[R];q.push(ie)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const ce=(await Promise.all(q)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ae.push(E.backgroundJob);const N=E.name;const R=Buffer.from(N);const j=Buffer.allocUnsafe(8+R.length);Be(j,E.size,0);R.copy(j,8,0);const $=G.get(E);Ie.setLazySerializedValue($,j);return j}));const le=[];for(const E of ce){if(Array.isArray(E)){let N=0;for(const R of E)N+=R.length;while(N>2147483647){le.push(2147483647);N-=2147483647}le.push(N)}else if(E){le.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const _e=Buffer.allocUnsafe(8+le.length*4);_e.writeUInt32LE(Ne,0);_e.writeUInt32LE(le.length,4);for(let E=0;E{const j=await R(N);if(j.length===0)throw new Error("Empty file "+N);let $=0;let q=j[0];let G=q.length;let ie=0;if(G===0)throw new Error("Empty file "+N);const nextContent=()=>{$++;q=j[$];G=q.length;ie=0};const ensureData=E=>{if(ie===G){nextContent()}while(G-ieR){ae.push(j[E].slice(0,R));j[E]=j[E].slice(R);R=0;break}else{ae.push(j[E]);$=E;R-=N}}if(R>0)throw new Error("Unexpected end of data");q=Buffer.concat(ae,E);G=E;ie=0}};const readUInt32LE=()=>{ensureData(4);const E=q.readUInt32LE(ie);ie+=4;return E};const readInt32LE=()=>{ensureData(4);const E=q.readInt32LE(ie);ie+=4;return E};const readSlice=E=>{ensureData(E);if(ie===0&&G===E){const N=q;if($+1=0;if(_e&&N){le[le.length-1]+=E}else{le.push(E);_e=N}}const Te=[];for(let N of le){if(N<0){const j=readSlice(-N);const $=Number(je(j,0));const q=j.slice(8);const G=q.toString();Te.push(Ie.createLazy(we((()=>deserialize(E,G,R))),E,{name:G,size:$},j))}else{if(ie===G){nextContent()}else if(ie!==0){if(N<=G-ie){Te.push(Buffer.from(q.buffer,q.byteOffset+ie,N));ie+=N;N=0}else{const E=G-ie;Te.push(Buffer.from(q.buffer,q.byteOffset+ie,E));N-=E;ie=G}}else{if(N>=G){Te.push(q);N-=G;ie=G}else{Te.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}while(N>0){nextContent();if(N>=G){Te.push(q);N-=G;ie=G}else{Te.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}}}return Te};class FileMiddleware extends Ie{constructor(E,N="md4"){super();this.fs=E;this._hashFunction=N}serialize(E,N){const{filename:R,extension:j=""}=N;return new Promise(((N,G)=>{Ee(this.fs,_e(this.fs,R),(ae=>{if(ae)return G(ae);const le=new Set;const writeFile=async(E,N)=>{const G=E?Te(this.fs,R,`../${E}${j}`):R;await new Promise(((E,R)=>{let j=this.fs.createWriteStream(G+"_");let ae;if(G.endsWith(".gz")){ae=ie({chunkSize:Me,level:ce.Z_BEST_SPEED})}else if(G.endsWith(".br")){ae=q({chunkSize:Me,params:{[ce.BROTLI_PARAM_MODE]:ce.BROTLI_MODE_TEXT,[ce.BROTLI_PARAM_QUALITY]:2,[ce.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[ce.BROTLI_PARAM_SIZE_HINT]:N.reduce(((E,N)=>E+N.length),0)}})}if(ae){$(ae,j,R);j=ae;j.on("finish",(()=>E()))}else{j.on("error",(E=>R(E)));j.on("finish",(()=>E()))}for(const E of N)j.write(E);j.end()}));if(E)le.add(G)};N(serialize(this,E,false,writeFile,this._hashFunction).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(R,R+".old",(N=>{E()}))));await Promise.all(Array.from(le,(E=>new Promise(((N,R)=>{this.fs.rename(E+"_",E,(E=>{if(E)return R(E);N()}))})))));await new Promise((E=>{this.fs.rename(R+"_",R,(N=>{if(N)return G(N);E()}))}));return true})))}))}))}deserialize(E,N){const{filename:R,extension:$=""}=N;const readFile=E=>new Promise(((N,q)=>{const ie=E?Te(this.fs,R,`../${E}${$}`):R;this.fs.stat(ie,((E,R)=>{if(E){q(E);return}let $=R.size;let ce;let le;const _e=[];let Te;if(ie.endsWith(".gz")){Te=ae({chunkSize:Le})}else if(ie.endsWith(".br")){Te=G({chunkSize:Le})}if(Te){let E,R;N(Promise.all([new Promise(((N,j)=>{E=N;R=j})),new Promise(((E,N)=>{Te.on("data",(E=>_e.push(E)));Te.on("end",(()=>E()));Te.on("error",(E=>N(E)))}))]).then((()=>_e)));N=E;q=R}this.fs.open(ie,"r",((E,R)=>{if(E){q(E);return}const read=()=>{if(ce===undefined){ce=Buffer.allocUnsafeSlow(Math.min(j.MAX_LENGTH,$,Te?Le:Infinity));le=0}let E=ce;let G=le;let ie=ce.length-le;if(G>2147483647){E=ce.slice(G);G=0}if(ie>2147483647){ie=2147483647}this.fs.read(R,E,G,ie,null,((E,j)=>{if(E){this.fs.close(R,(()=>{q(E)}));return}le+=j;$-=j;if(le===ce.length){if(Te){Te.write(ce)}else{_e.push(ce)}ce=undefined;if($===0){if(Te){Te.end()}this.fs.close(R,(E=>{if(E){q(E);return}N(_e)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E.keys()){N(R)}for(const R of E.values()){N(R)}}deserialize({read:E}){let N=E();const R=new Map;const j=[];for(let R=0;R{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);for(const E of R){N(E)}N(null);for(const j of R){N(E[j])}}deserialize({read:E}){const N=Object.create(null);const R=[];let j=E();while(j!==null){R.push(j);j=E()}for(const j of R){N[j]=E()}return N}}E.exports=NullPrototypeObjectSerializer},30991:(E,N,R)=>{"use strict";const j=R(35891);const $=R(22324);const q=R(93524);const G=R(12020);const ie=R(58461);const ae=R(78176);const ce=R(11900);const le=R(46690);const _e=R(43065);const Te=R(25402);const setSetSize=(E,N)=>{let R=0;for(const j of E){if(R++>=N){E.delete(j)}}};const setMapSize=(E,N)=>{let R=0;for(const j of E.keys()){if(R++>=N){E.delete(j)}}};const toHash=(E,N)=>{const R=j(N);R.update(E);return R.digest("latin1")};const Ee=null;const we=null;const Ie=true;const Ne=false;const Me=2;const Le=new Map;const Be=new Map;const je=new Set;const Ue={};const ze=new Map;ze.set(Object,new ce);ze.set(Array,new $);ze.set(null,new ae);ze.set(Map,new ie);ze.set(Set,new Te);ze.set(Date,new q);ze.set(RegExp,new le);ze.set(Error,new G(Error));ze.set(EvalError,new G(EvalError));ze.set(RangeError,new G(RangeError));ze.set(ReferenceError,new G(ReferenceError));ze.set(SyntaxError,new G(SyntaxError));ze.set(TypeError,new G(TypeError));if(N.constructor!==Object){const E=N.constructor;const R=E.constructor;for(const[E,N]of Array.from(ze)){if(E){const j=new R(`return ${E.name};`)();ze.set(j,N)}}}{let E=1;for(const[N,R]of ze){Le.set(N,{request:"",name:E++,serializer:R})}}for(const{request:E,name:N,serializer:R}of Le.values()){Be.set(`${E}/${N}`,R)}const We=new Map;class ObjectMiddleware extends _e{constructor(E,N="md4"){super();this.extendContext=E;this._hashFunction=N}static registerLoader(E,N){We.set(E,N)}static register(E,N,R,j){const $=N+"/"+R;if(Le.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(Be.has($)){throw new Error(`ObjectMiddleware.register: serializer for ${$} is already registered`)}Le.set(E,{request:N,name:R,serializer:j});Be.set($,j)}static registerNotSerializable(E){if(Le.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Le.set(E,Ue)}static getSerializerFor(E){const N=Object.getPrototypeOf(E);let R;if(N===null){R=null}else{R=N.constructor;if(!R){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const j=Le.get(R);if(!j)throw new Error(`No serializer registered for ${R.name}`);if(j===Ue)throw Ue;return j}static getDeserializerFor(E,N){const R=E+"/"+N;const j=Be.get(R);if(j===undefined){throw new Error(`No deserializer registered for ${R}`)}return j}static _getDeserializerForWithoutError(E,N){const R=E+"/"+N;const j=Be.get(R);return j}serialize(E,N){let R=[Me];let j=0;let $=new Map;const addReferenceable=E=>{$.set(E,j++)};let q=new Map;const dedupeBuffer=E=>{const N=E.length;const R=q.get(N);if(R===undefined){q.set(N,E);return E}if(Buffer.isBuffer(R)){if(N<32){if(E.equals(R)){return R}q.set(N,[R,E]);return E}else{const j=toHash(R,this._hashFunction);const $=new Map;$.set(j,R);q.set(N,$);const G=toHash(E,this._hashFunction);if(j===G){return R}return E}}else if(Array.isArray(R)){if(R.length<16){for(const N of R){if(E.equals(N)){return N}}R.push(E);return E}else{const j=new Map;const $=toHash(E,this._hashFunction);let G;for(const E of R){const N=toHash(E,this._hashFunction);j.set(N,E);if(G===undefined&&N===$)G=E}q.set(N,j);if(G===undefined){j.set($,E);return E}else{return G}}}else{const N=toHash(E,this._hashFunction);const j=R.get(N);if(j!==undefined){return j}R.set(N,E);return E}};let G=0;let ie=new Map;const ae=new Set;const stackToString=E=>{const N=Array.from(ae);N.push(E);return N.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:N,name:R}=ObjectMiddleware.getSerializerFor(E);if(N){return`${N}${R?`.${R}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let ce;let le={write(E,N){try{process(E)}catch(N){if(N!==Ue){if(ce===undefined)ce=new WeakSet;if(!ce.has(N)){N.message+=`\nwhile serializing ${stackToString(E)}`;ce.add(N)}}throw N}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:R.length,cycleStackSize:ae.size,referenceableSize:$.size,currentPos:j,objectTypeLookupSize:ie.size,currentPosTypeLookup:G}},rollback(E){R.length=E.length;setSetSize(ae,E.cycleStackSize);setMapSize($,E.referenceableSize);j=E.currentPos;setMapSize(ie,E.objectTypeLookupSize);G=E.currentPosTypeLookup},...N};this.extendContext(le);const process=E=>{if(Buffer.isBuffer(E)){const N=$.get(E);if(N!==undefined){R.push(Ee,N-j);return}const q=dedupeBuffer(E);if(q!==E){const N=$.get(q);if(N!==undefined){$.set(E,N);R.push(Ee,N-j);return}E=q}addReferenceable(E);R.push(E)}else if(E===Ee){R.push(Ee,we)}else if(typeof E==="object"){const N=$.get(E);if(N!==undefined){R.push(Ee,N-j);return}if(ae.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:q,name:ce,serializer:_e}=ObjectMiddleware.getSerializerFor(E);const Te=`${q}/${ce}`;const we=ie.get(Te);if(we===undefined){ie.set(Te,G++);R.push(Ee,q,ce)}else{R.push(Ee,G-we)}ae.add(E);try{_e.serialize(E,le)}finally{ae.delete(E)}R.push(Ee,Ie);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const N=$.get(E);if(N!==undefined){R.push(Ee,N-j);return}addReferenceable(E)}if(E.length>102400&&N.logger){N.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}R.push(E)}else if(typeof E==="function"){if(!_e.isLazy(E))throw new Error("Unexpected function "+E);const j=_e.getLazySerializedValue(E);if(j!==undefined){if(typeof j==="function"){R.push(j)}else{throw new Error("Not implemented")}}else if(_e.isLazy(E,this)){throw new Error("Not implemented")}else{const j=_e.serializeLazy(E,(E=>this.serialize([E],N)));_e.setLazySerializedValue(E,j);R.push(j)}}else if(E===undefined){R.push(Ee,Ne)}else{R.push(E)}};try{for(const N of E){process(N)}return R}catch(E){if(E===Ue)return null;throw E}finally{E=R=$=q=ie=le=undefined}}deserialize(E,N){let R=0;const read=()=>{if(R>=E.length)throw new Error("Unexpected end of stream");return E[R++]};if(read()!==Me)throw new Error("Version mismatch, serializer changed");let j=0;let $=[];const addReferenceable=E=>{$.push(E);j++};let q=0;let G=[];let ie=[];let ae={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...N};this.extendContext(ae);const decodeValue=()=>{const E=read();if(E===Ee){const E=read();if(E===we){return Ee}else if(E===Ne){return undefined}else if(E===Ie){throw new Error(`Unexpected end of object at position ${R-1}`)}else{const N=E;let ie;if(typeof N==="number"){if(N<0){return $[j+N]}ie=G[q-N]}else{if(typeof N!=="string"){throw new Error(`Unexpected type (${typeof N}) of request `+`at position ${R-1}`)}const E=read();ie=ObjectMiddleware._getDeserializerForWithoutError(N,E);if(ie===undefined){if(N&&!je.has(N)){let E=false;for(const[R,j]of We){if(R.test(N)){if(j(N)){E=true;break}}}if(!E){require(N)}je.add(N)}ie=ObjectMiddleware.getDeserializerFor(N,E)}G.push(ie);q++}try{const E=ie.deserialize(ae);const N=read();if(N!==Ee){throw new Error("Expected end of object")}const R=read();if(R!==Ie){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let N;for(const E of Le){if(E[1].serializer===ie){N=E;break}}const R=!N?"unknown":!N[1].request?N[0].name:N[1].name?`${N[1].request} ${N[1].name}`:N[1].request;E.message+=`\n(during deserialization of ${R})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return _e.deserializeLazy(E,(E=>this.deserialize(E,N)[0]))}else{return E}};try{while(R{"use strict";const N=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const N=this.children.get(E);if(N!==undefined)return N;const R=new ObjectStructure;this.children.set(E,R);return R}}const getCachedKeys=(E,R)=>{let j=N.get(R);if(j===undefined){j=new ObjectStructure;N.set(R,j)}let $=j;for(const N of E){$=$.key(N)}return $.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);if(R.length>128){N(R);for(const j of R){N(E[j])}}else if(R.length>1){N(getCachedKeys(R,N));for(const j of R){N(E[j])}}else if(R.length===1){const j=R[0];N(j);N(E[j])}else{N(null)}}deserialize({read:E}){const N=E();const R={};if(Array.isArray(N)){for(const j of N){R[j]=E()}}else if(N!==null){R[N]=E()}return R}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:N}){N(E.source);N(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,N){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=N}serialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.serializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>N&&E.serialize(N,R)))}else if(j){try{j=E.serialize(j,R)}catch(E){j=Promise.reject(E)}}else break}return j}deserialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.deserializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>E.deserialize(N,R)))}else{j=E.deserialize(j,R)}}return j}}E.exports=Serializer},43065:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("lazy serialization target");const q=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,N){const j=R(75884);throw new j}deserialize(E,N){const j=R(75884);throw new j}static createLazy(E,N,R={},j){if(SerializerMiddleware.isLazy(E,N))return E;const G=typeof E==="function"?E:()=>E;G[$]=N;G.options=R;G[q]=j;return G}static isLazy(E,N){if(typeof E!=="function")return false;const R=E[$];return N?R===N:!!R}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[q]}static setLazySerializedValue(E,N){E[q]=N}static serializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>E&&N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;E[q]=R;return R}static deserializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;R[q]=E;return R}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[q]=SerializerMiddleware.unMemoizeLazy(E[q]);fn[$]=E[$];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E){N(R)}}deserialize({read:E}){let N=E();const R=new Set;for(let j=0;j{"use strict";const j=R(43065);class SingleItemMiddleware extends j{serialize(E,N){return[E]}deserialize(E,N){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ConsumeSharedFallbackDependency extends j{constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}$(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(98221);const q=R(53453);const G=R(76150);const ie=R(56202);const{rangeToString:ae,stringifyHoley:ce}=R(9293);const le=R(86827);const _e=new Set(["consume-shared"]);class ConsumeSharedModule extends q{constructor(E,N){super("consume-shared-module",E);this.options=N}identifier(){const{shareKey:E,shareScope:N,importResolved:R,requiredVersion:j,strictVersion:$,singleton:q,eager:G}=this.options;return`consume-shared-module|${N}|${E}|${j&&ae(j)}|${$}|${R}|${q}|${G}`}readableIdentifier(E){const{shareKey:N,shareScope:R,importResolved:j,requiredVersion:$,strictVersion:q,singleton:G,eager:ie}=this.options;return`consume shared module (${R}) ${N}@${$?ae($):"*"}${q?" (strict)":""}${G?" (singleton)":""}${j?` (fallback: ${E.shorten(j)})`:""}${ie?" (eager)":""}`}libIdent(E){const{shareKey:N,shareScope:R,import:j}=this.options;return`webpack/sharing/consume/${R}/${N}${j?`/${j}`:""}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,q){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new le(this.options.import);if(this.options.eager){this.addDependency(E)}else{const N=new $({});N.addDependency(E);this.addBlock(N)}}q()}getSourceTypes(){return _e}size(E){return 42}updateHash(E,N){E.update(JSON.stringify(this.options));super.updateHash(E,N)}codeGeneration({chunkGraph:E,moduleGraph:N,runtimeTemplate:R}){const $=new Set([G.shareScopeMap]);const{shareScope:q,shareKey:ie,strictVersion:ae,requiredVersion:le,import:_e,singleton:Te,eager:Ee}=this.options;let we;if(_e){if(Ee){const N=this.dependencies[0];we=R.syncModuleFactory({dependency:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}else{const N=this.blocks[0];we=R.asyncModuleFactory({block:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}}let Ie="load";const Ne=[JSON.stringify(q),JSON.stringify(ie)];if(le){if(ae){Ie+="Strict"}if(Te){Ie+="Singleton"}Ne.push(ce(le));Ie+="VersionCheck"}if(we){Ie+="Fallback";Ne.push(we)}const Me=R.returningFunction(`${Ie}(${Ne.join(", ")})`);const Le=new Map;Le.set("consume-shared",new j(Me));return{runtimeRequirements:$,sources:Le}}serialize(E){const{write:N}=E;N(this.options);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();super.deserialize(E)}}ie(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,N,R)=>{"use strict";const j=R(54032);const $=R(76150);const q=R(81627);const{parseOptions:G}=R(97264);const ie=R(83379);const ae=R(35817);const{parseRange:ce}=R(9293);const le=R(86827);const _e=R(21606);const Te=R(20428);const Ee=R(31095);const{resolveMatchedConfigs:we}=R(57870);const{isRequiredVersion:Ie,getDescriptionFile:Ne,getRequiredVersionFromDescriptionFile:Me}=R(37650);const Le=ae(R(37411),(()=>R(52021)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Be={dependencyType:"esm"};const je="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Le(E)}this._consumes=G(E.consumes,((N,R)=>{if(Array.isArray(N))throw new Error("Unexpected array in options");let j=N===R||!Ie(N)?{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:ce(N),strictVersion:true,packageName:undefined,singleton:false,eager:false};return j}),((N,R)=>({import:N.import===false?undefined:N.import||R,shareScope:N.shareScope||E.shareScope||"default",shareKey:N.shareKey||R,requiredVersion:typeof N.requiredVersion==="string"?ce(N.requiredVersion):N.requiredVersion,strictVersion:typeof N.strictVersion==="boolean"?N.strictVersion:N.import!==false&&!N.singleton,packageName:N.packageName,singleton:!!N.singleton,eager:!!N.eager})))}apply(E){E.hooks.thisCompilation.tap(je,((N,{normalModuleFactory:R})=>{N.dependencyFactories.set(le,R);let G,ae,Ie;const Le=we(N,this._consumes).then((({resolved:E,unresolved:N,prefixed:R})=>{ae=E;G=N;Ie=R}));const Ue=N.resolverFactory.get("normal",Be);const createConsumeSharedModule=(R,$,G)=>{const requiredVersionWarning=E=>{const R=new q(`No required version specified and unable to automatically determine one. ${E}`);R.file=`shared module ${$}`;N.warnings.push(R)};const ae=G.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(G.import);return Promise.all([new Promise((q=>{if(!G.import)return q();const ce={fileDependencies:new ie,contextDependencies:new ie,missingDependencies:new ie};Ue.resolve({},ae?E.context:R,G.import,ce,((E,R)=>{N.contextDependencies.addAll(ce.contextDependencies);N.fileDependencies.addAll(ce.fileDependencies);N.missingDependencies.addAll(ce.missingDependencies);if(E){N.errors.push(new j(null,E,{name:`resolving fallback for shared module ${$}`}));return q()}q(R)}))})),new Promise((E=>{if(G.requiredVersion!==undefined)return E(G.requiredVersion);let j=G.packageName;if(j===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test($)){return E()}const N=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec($);if(!N){requiredVersionWarning("Unable to extract the package name from request.");return E()}j=N[0]}Ne(N.inputFileSystem,R,["package.json"],((N,$)=>{if(N){requiredVersionWarning(`Unable to read description file: ${N}`);return E()}const{data:q,path:G}=$;if(!q){requiredVersionWarning(`Unable to find description file in ${R}.`);return E()}const ie=Me(q,j);if(typeof ie!=="string"){requiredVersionWarning(`Unable to find required version for "${j}" in description file (${G}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(ce(ie))}))}))]).then((([N,j])=>new _e(ae?E.context:R,{...G,importResolved:N,import:N?G.import:undefined,requiredVersion:j})))};R.hooks.factorize.tapPromise(je,(({context:E,request:N,dependencies:R})=>Le.then((()=>{if(R[0]instanceof le||R[0]instanceof Ee){return}const j=G.get(N);if(j!==undefined){return createConsumeSharedModule(E,N,j)}for(const[R,j]of Ie){if(N.startsWith(R)){const $=N.slice(R.length);return createConsumeSharedModule(E,N,{...j,import:j.import?j.import+$:undefined,shareKey:j.shareKey+$})}}}))));R.hooks.createModule.tapPromise(je,(({resource:E},{context:N,dependencies:R})=>{if(R[0]instanceof le||R[0]instanceof Ee){return Promise.resolve()}const j=ae.get(E);if(j!==undefined){return createConsumeSharedModule(N,E,j)}return Promise.resolve()}));N.hooks.additionalTreeRuntimeRequirements.tap(je,((E,R)=>{R.add($.module);R.add($.moduleCache);R.add($.moduleFactoriesAddOnly);R.add($.shareScopeMap);R.add($.initializeSharing);R.add($.hasOwnProperty);N.addRuntimeModule(E,new Te(R))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{parseVersionRuntimeCode:G,versionLtRuntimeCode:ie,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:ce}=R(9293);class ConsumeSharedRuntimeModule extends ${constructor(E){super("consumes",$.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$}=E;const le={};const _e=new Map;const Te=[];const addModules=(E,R,j)=>{for(const q of E){const E=q;const G=N.getModuleId(E);j.push(G);_e.set(G,$.getSource(E,R.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,le[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,Te)}if(_e.size===0)return null;return q.asString([G(R),ie(R),ae(R),ce(R),`var ensureExistence = ${R.basicFunction("scopeName, key",[`var scope = ${j.shareScopeMap}[scopeName];`,`if(!scope || !${j.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${R.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${R.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${R.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${R.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${R.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${R.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${R.returningFunction(q.asString(["function(scopeName, a, b, c) {",q.indent([`var promise = ${j.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${j.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${j.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, fallback",[`return scope && ${j.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${j.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",q.indent(Array.from(_e,(([E,N])=>`${JSON.stringify(E)}: ${N.source()}`)).join(",\n")),"};",Te.length>0?q.asString([`var initialConsumes = ${JSON.stringify(Te)};`,`initialConsumes.forEach(${R.basicFunction("id",[`${j.moduleFactories}[id] = ${R.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${j.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(j.ensureChunkHandlers)?q.asString([`var chunkMapping = ${JSON.stringify(le,null,"\t")};`,`${j.ensureChunkHandlers}.consumes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`if(${j.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${R.basicFunction("factory",["installedModules[id] = 0;",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${R.basicFunction("error",["delete installedModules[id];",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"throw error;"])}`])};`,"try {",q.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",q.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ProvideForSharedDependency extends j{constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}$(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ProvideSharedDependency extends j{constructor(E,N,R,j,$){super();this.shareScope=E;this.name=N;this.version=R;this.request=j;this.eager=$}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedDependency(N(),N(),N(),N(),N());this.shareScope=E.read();R.deserialize(E);return R}}$(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,N,R)=>{"use strict";const j=R(98221);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(31095);const ae=new Set(["share-init"]);class ProvideSharedModule extends ${constructor(E,N,R,j,$){super("provide-module");this._shareScope=E;this._name=N;this._version=R;this._request=j;this._eager=$}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,$,q){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const G=new ie(this._request);if(this._eager){this.addDependency(G)}else{const E=new j({});E.addDependency(G);this.addBlock(E)}q()}size(E){return 42}getSourceTypes(){return ae}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const j=new Set([q.initializeSharing]);const $=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:R,request:this._request,runtimeRequirements:j}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:R,request:this._request,runtimeRequirements:j})}${this._eager?", 1":""});`;const G=new Map;const ie=new Map;ie.set("share-init",[{shareScope:this._shareScope,initStage:10,init:$}]);return{sources:G,data:ie,runtimeRequirements:j}}serialize(E){const{write:N}=E;N(this._shareScope);N(this._name);N(this._version);N(this._request);N(this._eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}}G(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,N,R)=>{"use strict";const j=R(40674);const $=R(99114);class ProvideSharedModuleFactory extends j{create(E,N){const R=E.dependencies[0];N(null,{module:new $(R.shareScope,R.name,R.version,R.request,R.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,N,R)=>{"use strict";const j=R(81627);const{parseOptions:$}=R(97264);const q=R(35817);const G=R(31095);const ie=R(56049);const ae=R(96295);const ce=q(R(95435),(()=>R(97295)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){ce(E);this._provides=$(E.provides,(N=>{if(Array.isArray(N))throw new Error("Unexpected array of provides");const R={shareKey:N,version:undefined,shareScope:E.shareScope||"default",eager:false};return R}),(N=>({shareKey:N.shareKey,version:N.version,shareScope:N.shareScope||E.shareScope||"default",eager:!!N.eager})));this._provides.sort((([E],[N])=>{if(E{const $=new Map;const q=new Map;const G=new Map;for(const[E,N]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){$.set(E,{config:N,version:N.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){$.set(E,{config:N,version:N.version})}else if(E.endsWith("/")){G.set(E,N)}else{q.set(E,N)}}N.set(E,$);const provideSharedModule=(N,R,q,G)=>{let ie=R.version;if(ie===undefined){let R="";if(!G){R=`No resolve data provided from resolver.`}else{const E=G.descriptionFileData;if(!E){R="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){R="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ie=E.version}}if(!ie){const $=new j(`No version specified and unable to automatically determine one. ${R}`);$.file=`shared module ${N} -> ${q}`;E.warnings.push($)}}$.set(q,{config:R,version:ie})};R.hooks.module.tap("ProvideSharedPlugin",((E,{resource:N,resourceResolveData:R},j)=>{if($.has(N)){return E}const{request:ie}=j;{const E=q.get(ie);if(E!==undefined){provideSharedModule(ie,E,N,R);j.cacheable=false}}for(const[E,$]of G){if(ie.startsWith(E)){const q=ie.slice(E.length);provideSharedModule(N,{...$,shareKey:$.shareKey+q},N,R);j.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(R=>{const j=N.get(R);if(!j)return Promise.resolve();return Promise.all(Array.from(j,(([N,{config:j,version:$}])=>new Promise(((q,G)=>{R.addInclude(E.context,new ie(j.shareScope,j.shareKey,$||false,N,j.eager),{name:undefined},(E=>{if(E)return G(E);q()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(G,N);E.dependencyFactories.set(ie,new ae)}))}}E.exports=ProvideSharedPlugin},16471:(E,N,R)=>{"use strict";const{parseOptions:j}=R(97264);const $=R(71968);const q=R(48151);const{isRequiredVersion:G}=R(37650);class SharePlugin{constructor(E){const N=j(E.shared,((E,N)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const R=E===N||!G(E)?{import:E}:{import:N,requiredVersion:E};return R}),(E=>E));const R=N.map((([E,N])=>({[E]:{import:N.import,shareKey:N.shareKey||E,shareScope:N.shareScope,requiredVersion:N.requiredVersion,strictVersion:N.strictVersion,singleton:N.singleton,packageName:N.packageName,eager:N.eager}})));const $=N.filter((([,E])=>E.import!==false)).map((([E,N])=>({[N.import||E]:{shareKey:N.shareKey||E,shareScope:N.shareScope,version:N.version,eager:N.eager}})));this._shareScope=E.shareScope;this._consumes=R;this._provides=$}apply(E){new $({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new q({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G,compareStrings:ie}=R(68673);class ShareRuntimeModule extends ${constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$,outputOptions:{uniqueName:ae}}=E;const ce=new Map;for(const E of this.chunk.getAllReferencedChunks()){const R=N.getOrderedChunkModulesIterableBySourceType(E,"share-init",G);if(!R)continue;for(const N of R){const R=$.getData(N,E.runtime,"share-init");if(!R)continue;for(const E of R){const{shareScope:N,initStage:R,init:j}=E;let $=ce.get(N);if($===undefined){ce.set(N,$=new Map)}let q=$.get(R||0);if(q===undefined){$.set(R||0,q=new Set)}q.add(j)}}}return q.asString([`${j.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${j.initializeSharing} = ${R.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${j.hasOwnProperty}(${j.shareScopeMap}, name)) ${j.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${j.shareScopeMap}[name];`,`var warn = ${R.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${R.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${R.basicFunction("id",[`var handleError = ${R.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",q.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${R.returningFunction(`module && module.init && module.init(${j.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(ce).sort((([E],[N])=>ie(E,N))).map((([E,N])=>q.indent([`case ${JSON.stringify(E)}: {`,q.indent(Array.from(N).sort((([E],[N])=>E-N)).map((([,E])=>q.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${R.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,N,R)=>{"use strict";const j=R(54032);const $=R(83379);const q={dependencyType:"esm"};N.resolveMatchedConfigs=(E,N)=>{const R=new Map;const G=new Map;const ie=new Map;const ae={fileDependencies:new $,contextDependencies:new $,missingDependencies:new $};const ce=E.resolverFactory.get("normal",q);const le=E.compiler.context;return Promise.all(N.map((([N,$])=>{if(/^\.\.?(\/|$)/.test(N)){return new Promise((q=>{ce.resolve({},le,N,ae,((G,ie)=>{if(G||ie===false){G=G||new Error(`Can't resolve ${N}`);E.errors.push(new j(null,G,{name:`shared module ${N}`}));return q()}R.set(ie,$);q()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(N)){R.set(N,$)}else if(N.endsWith("/")){ie.set(N,$)}else{G.set(N,$)}}))).then((()=>{E.contextDependencies.addAll(ae.contextDependencies);E.fileDependencies.addAll(ae.fileDependencies);E.missingDependencies.addAll(ae.missingDependencies);return{resolved:R,unresolved:G,prefixed:ie}}))}},37650:(E,N,R)=>{"use strict";const{join:j,dirname:$,readJson:q}=R(95396);N.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,N,R,G)=>{let ie=0;const tryLoadCurrent=()=>{if(ie>=R.length){const j=$(E,N);if(!j||j===N)return G();return getDescriptionFile(E,j,R,G)}const ae=j(E,N,R[ie]);q(E,ae,((E,N)=>{if(E){if("code"in E&&E.code==="ENOENT"){ie++;return tryLoadCurrent()}return G(E)}if(!N||typeof N!=="object"||Array.isArray(N)){return G(new Error(`Description file ${ae} is not an object`))}G(null,{data:N,path:ae})}))};tryLoadCurrent()};N.getDescriptionFile=getDescriptionFile;N.getRequiredVersionFromDescriptionFile=(E,N)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&N in E.optionalDependencies){return E.optionalDependencies[N]}if(E.dependencies&&typeof E.dependencies==="object"&&N in E.dependencies){return E.dependencies[N]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&N in E.peerDependencies){return E.peerDependencies[N]}if(E.devDependencies&&typeof E.devDependencies==="object"&&N in E.devDependencies){return E.devDependencies[N]}}},9054:(E,N,R)=>{"use strict";const j=R(73837);const $=R(79983);const q=R(72380);const{LogType:G}=R(78539);const ie=R(94827);const ae=R(20625);const{countIterable:ce}=R(11539);const{compareLocations:le,compareChunksById:_e,compareNumbers:Te,compareIds:Ee,concatComparators:we,compareSelect:Ie,compareModulesByIdentifier:Ne}=R(68673);const{makePathsRelative:Me,parseResource:Le}=R(49197);const uniqueArray=(E,N)=>{const R=new Set;for(const j of E){for(const E of N(j)){R.add(E)}}return Array.from(R)};const uniqueOrderedArray=(E,N,R)=>uniqueArray(E,N).sort(R);const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const countWithChildren=(E,N)=>{let R=N(E,"").length;for(const j of E.children){R+=countWithChildren(j,((E,R)=>N(E,`.children[].compilation${R}`)))}return R};const Be={_:(E,N,R,{requestShortener:j})=>{if(typeof N==="string"){E.message=N}else{if(N.chunk){E.chunkName=N.chunk.name;E.chunkEntry=N.chunk.hasRuntime();E.chunkInitial=N.chunk.canBeInitial()}if(N.file){E.file=N.file}if(N.module){E.moduleIdentifier=N.module.identifier();E.moduleName=N.module.readableIdentifier(j)}if(N.loc){E.loc=q(N.loc)}E.message=N.message}},ids:(E,N,{compilation:{chunkGraph:R}})=>{if(typeof N!=="string"){if(N.chunk){E.chunkId=N.chunk.id}if(N.module){E.moduleId=R.getModuleId(N.module)}}},moduleTrace:(E,N,R,j,$)=>{if(typeof N!=="string"&&N.module){const{type:j,compilation:{moduleGraph:q}}=R;const G=new Set;const ie=[];let ae=N.module;while(ae){if(G.has(ae))break;G.add(ae);const E=q.getIssuer(ae);if(!E)break;ie.push({origin:E,module:ae});ae=E}E.moduleTrace=$.create(`${j}.moduleTrace`,ie,R)}},errorDetails:(E,N,{type:R,compilation:j,cachedGetErrors:$,cachedGetWarnings:q},{errorDetails:G})=>{if(typeof N!=="string"&&(G===true||R.endsWith(".error")&&$(j).length<3)){E.details=N.details}},errorStack:(E,N)=>{if(typeof N!=="string"){E.stack=N.stack}}};const je={compilation:{_:(E,N,j,$)=>{if(!j.makePathsRelative){j.makePathsRelative=Me.bindContextCache(N.compiler.context,N.compiler.root)}if(!j.cachedGetErrors){const E=new WeakMap;j.cachedGetErrors=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getErrors())}if(!j.cachedGetWarnings){const E=new WeakMap;j.cachedGetWarnings=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getWarnings())}if(N.name){E.name=N.name}if(N.needAdditionalPass){E.needAdditionalPass=true}const{logging:q,loggingDebug:ie,loggingTrace:ae}=$;if(q||ie&&ie.length>0){const j=R(73837);E.logging={};let ce;let le=false;switch(q){default:ce=new Set;break;case"error":ce=new Set([G.error]);break;case"warn":ce=new Set([G.error,G.warn]);break;case"info":ce=new Set([G.error,G.warn,G.info]);break;case"log":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.clear]);break;case"verbose":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.profile,G.profileEnd,G.time,G.status,G.clear]);le=true;break}const _e=Me.bindContextCache($.context,N.compiler.root);let Te=0;for(const[R,$]of N.logging){const N=ie.some((E=>E(R)));if(q===false&&!N)continue;const Ee=[];const we=[];let Ie=we;let Ne=0;for(const E of $){let R=E.type;if(!N&&!ce.has(R))continue;if(R===G.groupCollapsed&&(N||le))R=G.group;if(Te===0){Ne++}if(R===G.groupEnd){Ee.pop();if(Ee.length>0){Ie=Ee[Ee.length-1].children}else{Ie=we}if(Te>0)Te--;continue}let $=undefined;if(E.type===G.time){$=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){$=j.format(E.args[0],...E.args.slice(1))}const q={...E,type:R,message:$,trace:ae?E.trace:undefined,children:R===G.group||R===G.groupCollapsed?[]:undefined};Ie.push(q);if(q.children){Ee.push(q);Ie=q.children;if(Te>0){Te++}else if(R===G.groupCollapsed){Te=1}}}let Me=_e(R).replace(/\|/g," ");if(Me in E.logging){let N=1;while(`${Me}#${N}`in E.logging){N++}Me=`${Me}#${N}`}E.logging[Me]={entries:we,filteredEntries:$.length-Ne,debug:N}}}},hash:(E,N)=>{E.hash=N.hash},version:E=>{E.version=R(37589).i8},env:(E,N,R,{_env:j})=>{E.env=j},timings:(E,N)=>{E.time=N.endTime-N.startTime},builtAt:(E,N)=>{E.builtAt=N.endTime},publicPath:(E,N)=>{E.publicPath=N.getPath(N.outputOptions.publicPath)},outputPath:(E,N)=>{E.outputPath=N.outputOptions.path},assets:(E,N,R,j,$)=>{const{type:q}=R;const G=new Map;const ie=new Map;for(const E of N.chunks){for(const N of E.files){let R=G.get(N);if(R===undefined){R=[];G.set(N,R)}R.push(E)}for(const N of E.auxiliaryFiles){let R=ie.get(N);if(R===undefined){R=[];ie.set(N,R)}R.push(E)}}const ae=new Map;const ce=new Set;for(const E of N.getAssets()){const N={...E,type:"asset",related:undefined};ce.add(N);ae.set(E.name,N)}for(const E of ae.values()){const N=E.info.related;if(!N)continue;for(const R of Object.keys(N)){const j=N[R];const $=Array.isArray(j)?j:[j];for(const N of $){const j=ae.get(N);if(!j)continue;ce.delete(j);j.type=R;E.related=E.related||[];E.related.push(j)}}}E.assetsByChunkName={};for(const[N,R]of G){for(const j of R){const R=j.name;if(!R)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,R)){E.assetsByChunkName[R]=[]}E.assetsByChunkName[R].push(N)}}const le=$.create(`${q}.assets`,Array.from(ce),{...R,compilationFileToChunks:G,compilationAuxiliaryFileToChunks:ie});const _e=spaceLimited(le,j.assetsSpace);E.assets=_e.children;E.filteredAssets=_e.filteredChildren},chunks:(E,N,R,j,$)=>{const{type:q}=R;E.chunks=$.create(`${q}.chunks`,Array.from(N.chunks),R)},modules:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.modules);const ie=$.create(`${q}.modules`,G,R);const ae=spaceLimited(ie,j.modulesSpace);E.modules=ae.children;E.filteredModules=ae.filteredChildren},entrypoints:(E,N,R,{entrypoints:j,chunkGroups:$,chunkGroupAuxiliary:q,chunkGroupChildren:G},ie)=>{const{type:ae}=R;const ce=Array.from(N.entrypoints,(([E,N])=>({name:E,chunkGroup:N})));if(j==="auto"&&!$){if(ce.length>5)return;if(!G&&ce.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const N=E.chunks[0];return N.files.size===1&&(!q||N.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ie.create(`${ae}.entrypoints`,ce,R)},chunkGroups:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.namedChunkGroups,(([E,N])=>({name:E,chunkGroup:N})));E.namedChunkGroups=$.create(`${q}.namedChunkGroups`,G,R)},errors:(E,N,R,j,$)=>{const{type:q,cachedGetErrors:G}=R;E.errors=$.create(`${q}.errors`,G(N),R)},errorsCount:(E,N,{cachedGetErrors:R})=>{E.errorsCount=countWithChildren(N,(E=>R(E)))},warnings:(E,N,R,j,$)=>{const{type:q,cachedGetWarnings:G}=R;E.warnings=$.create(`${q}.warnings`,G(N),R)},warningsCount:(E,N,R,{warningsFilter:j},$)=>{const{type:q,cachedGetWarnings:G}=R;E.warningsCount=countWithChildren(N,((E,N)=>{if(!j&&j.length===0)return G(E);return $.create(`${q}${N}.warnings`,G(E),R).filter((E=>{const N=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!j.some((R=>R(E,N)))}))}))},errorDetails:(E,N,{cachedGetErrors:R,cachedGetWarnings:j},{errorDetails:$,errors:q,warnings:G})=>{if($==="auto"){if(G){const R=j(N);E.filteredWarningDetailsCount=R.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(q){const j=R(N);if(j.length>=3){E.filteredErrorDetailsCount=j.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,N,R,j,$)=>{const{type:q}=R;E.children=$.create(`${q}.children`,N.children,R)}},asset:{_:(E,N,R,j,$)=>{const{compilation:q}=R;E.type=N.type;E.name=N.name;E.size=N.source.size();E.emitted=q.emittedAssets.has(N.name);E.comparedForEmit=q.comparedForEmitAssets.has(N.name);const G=!E.emitted&&!E.comparedForEmit;E.cached=G;E.info=N.info;if(!G||j.cachedAssets){Object.assign(E,$.create(`${R.type}$visible`,N,R))}}},asset$visible:{_:(E,N,{compilation:R,compilationFileToChunks:j,compilationAuxiliaryFileToChunks:$})=>{const q=j.get(N.name)||[];const G=$.get(N.name)||[];E.chunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Ee);E.chunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Ee);E.auxiliaryChunkNames=uniqueOrderedArray(G,(E=>E.name?[E.name]:[]),Ee);E.auxiliaryChunkIdHints=uniqueOrderedArray(G,(E=>Array.from(E.idNameHints)),Ee);E.filteredRelated=N.related?N.related.length:undefined},relatedAssets:(E,N,R,j,$)=>{const{type:q}=R;E.related=$.create(`${q.slice(0,-8)}.related`,N.related,R);E.filteredRelated=N.related?N.related.length-E.related.length:undefined},ids:(E,N,{compilationFileToChunks:R,compilationAuxiliaryFileToChunks:j})=>{const $=R.get(N.name)||[];const q=j.get(N.name)||[];E.chunks=uniqueOrderedArray($,(E=>E.ids),Ee);E.auxiliaryChunks=uniqueOrderedArray(q,(E=>E.ids),Ee)},performance:(E,N)=>{E.isOverSizeLimit=ae.isOverSizeLimit(N.source)}},chunkGroup:{_:(E,{name:N,chunkGroup:R},{compilation:j,compilation:{moduleGraph:$,chunkGraph:q}},{ids:G,chunkGroupAuxiliary:ie,chunkGroupChildren:ae,chunkGroupMaxAssets:ce})=>{const le=ae&&R.getChildrenByOrders($,q);const toAsset=E=>{const N=j.getAsset(E);return{name:E,size:N?N.info.size:-1}};const sizeReducer=(E,{size:N})=>E+N;const _e=uniqueArray(R.chunks,(E=>E.files)).map(toAsset);const Te=uniqueOrderedArray(R.chunks,(E=>E.auxiliaryFiles),Ee).map(toAsset);const we=_e.reduce(sizeReducer,0);const Ie=Te.reduce(sizeReducer,0);const Ne={name:N,chunks:G?R.chunks.map((E=>E.id)):undefined,assets:_e.length<=ce?_e:undefined,filteredAssets:_e.length<=ce?0:_e.length,assetsSize:we,auxiliaryAssets:ie&&Te.length<=ce?Te:undefined,filteredAuxiliaryAssets:ie&&Te.length<=ce?0:Te.length,auxiliaryAssetsSize:Ie,children:le?mapObject(le,(E=>E.map((E=>{const N=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const R=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Ee).map(toAsset);const j={name:E.name,chunks:G?E.chunks.map((E=>E.id)):undefined,assets:N.length<=ce?N:undefined,filteredAssets:N.length<=ce?0:N.length,auxiliaryAssets:ie&&R.length<=ce?R:undefined,filteredAuxiliaryAssets:ie&&R.length<=ce?0:R.length};return j})))):undefined,childAssets:le?mapObject(le,(E=>{const N=new Set;for(const R of E){for(const E of R.chunks){for(const R of E.files){N.add(R)}}}return Array.from(N)})):undefined};Object.assign(E,Ne)},performance:(E,{chunkGroup:N})=>{E.isOverSizeLimit=ae.isOverSizeLimit(N)}},module:{_:(E,N,R,j,$)=>{const{compilation:q,type:G}=R;const ie=q.builtModules.has(N);const ae=q.codeGeneratedModules.has(N);const ce=q.buildTimeExecutedModules.has(N);const le={};for(const E of N.getSourceTypes()){le[E]=N.size(E)}const _e={type:"module",moduleType:N.type,layer:N.layer,size:N.size(),sizes:le,built:ie,codeGenerated:ae,buildTimeExecuted:ce,cached:!ie&&!ae};Object.assign(E,_e);if(ie||ae||j.cachedModules){Object.assign(E,$.create(`${G}$visible`,N,R))}}},module$visible:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G,rootModules:ie}=R;const{moduleGraph:ae}=q;const le=[];const _e=ae.getIssuer(N);let Te=_e;while(Te){le.push(Te);Te=ae.getIssuer(Te)}le.reverse();const Ee=ae.getProfile(N);const we=N.getErrors();const Ie=we!==undefined?ce(we):0;const Ne=N.getWarnings();const Me=Ne!==undefined?ce(Ne):0;const Le={};for(const E of N.getSourceTypes()){Le[E]=N.size(E)}const Be={identifier:N.identifier(),name:N.readableIdentifier(j),nameForCondition:N.nameForCondition(),index:ae.getPreOrderIndex(N),preOrderIndex:ae.getPreOrderIndex(N),index2:ae.getPostOrderIndex(N),postOrderIndex:ae.getPostOrderIndex(N),cacheable:N.buildInfo.cacheable,optional:N.isOptional(ae),orphan:!G.endsWith("module.modules[].module$visible")&&q.chunkGraph.getNumberOfModuleChunks(N)===0,dependent:ie?!ie.has(N):undefined,issuer:_e&&_e.identifier(),issuerName:_e&&_e.readableIdentifier(j),issuerPath:_e&&$.create(`${G.slice(0,-8)}.issuerPath`,le,R),failed:Ie>0,errors:Ie,warnings:Me};Object.assign(E,Be);if(Ee){E.profile=$.create(`${G.slice(0,-8)}.profile`,Ee,R)}},ids:(E,N,{compilation:{chunkGraph:R,moduleGraph:j}})=>{E.id=R.getModuleId(N);const $=j.getIssuer(N);E.issuerId=$&&R.getModuleId($);E.chunks=Array.from(R.getOrderedModuleChunksIterable(N,_e),(E=>E.id))},moduleAssets:(E,N)=>{E.assets=N.buildInfo.assets?Object.keys(N.buildInfo.assets):[]},reasons:(E,N,R,j,$)=>{const{type:q,compilation:{moduleGraph:G}}=R;const ie=$.create(`${q.slice(0,-8)}.reasons`,Array.from(G.getIncomingConnections(N)),R);const ae=spaceLimited(ie,j.reasonsSpace);E.reasons=ae.children;E.filteredReasons=ae.filteredChildren},usedExports:(E,N,{runtime:R,compilation:{moduleGraph:j}})=>{const $=j.getUsedExports(N,R);if($===null){E.usedExports=null}else if(typeof $==="boolean"){E.usedExports=$}else{E.usedExports=Array.from($)}},providedExports:(E,N,{compilation:{moduleGraph:R}})=>{const j=R.getProvidedExports(N);E.providedExports=Array.isArray(j)?j:null},optimizationBailout:(E,N,{compilation:{moduleGraph:R}},{requestShortener:j})=>{E.optimizationBailout=R.getOptimizationBailout(N).map((E=>{if(typeof E==="function")return E(j);return E}))},depth:(E,N,{compilation:{moduleGraph:R}})=>{E.depth=R.getDepth(N)},nestedModules:(E,N,R,j,$)=>{const{type:q}=R;const G=N.modules;if(Array.isArray(G)){const N=$.create(`${q.slice(0,-8)}.modules`,G,R);const ie=spaceLimited(N,j.nestedModulesSpace);E.modules=ie.children;E.filteredModules=ie.filteredChildren}},source:(E,N)=>{const R=N.originalSource();if(R){E.source=R.source()}}},profile:{_:(E,N)=>{const R={total:N.factory+N.restoring+N.integration+N.building+N.storing,resolving:N.factory,restoring:N.restoring,building:N.building,integration:N.integration,storing:N.storing,additionalResolving:N.additionalFactories,additionalIntegration:N.additionalIntegration,factory:N.factory,dependencies:N.additionalFactories};Object.assign(E,R)}},moduleIssuer:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G}=R;const{moduleGraph:ie}=q;const ae=ie.getProfile(N);const ce={identifier:N.identifier(),name:N.readableIdentifier(j)};Object.assign(E,ce);if(ae){E.profile=$.create(`${G}.profile`,ae,R)}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.id=R.getModuleId(N)}},moduleReason:{_:(E,N,{runtime:R},{requestShortener:j})=>{const G=N.dependency;const ie=G&&G instanceof $?G:undefined;const ae={moduleIdentifier:N.originModule?N.originModule.identifier():null,module:N.originModule?N.originModule.readableIdentifier(j):null,moduleName:N.originModule?N.originModule.readableIdentifier(j):null,resolvedModuleIdentifier:N.resolvedOriginModule?N.resolvedOriginModule.identifier():null,resolvedModule:N.resolvedOriginModule?N.resolvedOriginModule.readableIdentifier(j):null,type:N.dependency?N.dependency.type:null,active:N.isActive(R),explanation:N.explanation,userRequest:ie&&ie.userRequest||null};Object.assign(E,ae);if(N.dependency){const R=q(N.dependency.loc);if(R){E.loc=R}}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.originModule?R.getModuleId(N.originModule):null;E.resolvedModuleId=N.resolvedOriginModule?R.getModuleId(N.resolvedOriginModule):null}},chunk:{_:(E,N,{makePathsRelative:R,compilation:{chunkGraph:j}})=>{const $=N.getChildIdsByOrders(j);const q={rendered:N.rendered,initial:N.canBeInitial(),entry:N.hasRuntime(),recorded:ie.wasChunkRecorded(N),reason:N.chunkReason,size:j.getChunkModulesSize(N),sizes:j.getChunkModulesSizes(N),names:N.name?[N.name]:[],idHints:Array.from(N.idNameHints),runtime:N.runtime===undefined?undefined:typeof N.runtime==="string"?[R(N.runtime)]:Array.from(N.runtime.sort(),R),files:Array.from(N.files),auxiliaryFiles:Array.from(N.auxiliaryFiles).sort(Ee),hash:N.renderedHash,childrenByOrder:$};Object.assign(E,q)},ids:(E,N)=>{E.id=N.id},chunkRelations:(E,N,{compilation:{chunkGraph:R}})=>{const j=new Set;const $=new Set;const q=new Set;for(const E of N.groupsIterable){for(const N of E.parentsIterable){for(const E of N.chunks){j.add(E.id)}}for(const N of E.childrenIterable){for(const E of N.chunks){$.add(E.id)}}for(const R of E.chunks){if(R!==N)q.add(R.id)}}E.siblings=Array.from(q).sort(Ee);E.parents=Array.from(j).sort(Ee);E.children=Array.from($).sort(Ee)},chunkModules:(E,N,R,j,$)=>{const{type:q,compilation:{chunkGraph:G}}=R;const ie=G.getChunkModules(N);const ae=$.create(`${q}.modules`,ie,{...R,runtime:N.runtime,rootModules:new Set(G.getChunkRootModules(N))});const ce=spaceLimited(ae,j.chunkModulesSpace);E.modules=ce.children;E.filteredModules=ce.filteredChildren},chunkOrigins:(E,N,R,j,$)=>{const{type:G,compilation:{chunkGraph:ie}}=R;const ae=new Set;const ce=[];for(const E of N.groupsIterable){ce.push(...E.origins)}const le=ce.filter((E=>{const N=[E.module?ie.getModuleId(E.module):undefined,q(E.loc),E.request].join();if(ae.has(N))return false;ae.add(N);return true}));E.origins=$.create(`${G}.origins`,le,R)}},chunkOrigin:{_:(E,N,R,{requestShortener:j})=>{const $={module:N.module?N.module.identifier():"",moduleIdentifier:N.module?N.module.identifier():"",moduleName:N.module?N.module.readableIdentifier(j):"",loc:q(N.loc),request:N.request};Object.assign(E,$)},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.module?R.getModuleId(N.module):undefined}},error:Be,warning:Be,moduleTraceItem:{_:(E,{origin:N,module:R},j,{requestShortener:$},q)=>{const{type:G,compilation:{moduleGraph:ie}}=j;E.originIdentifier=N.identifier();E.originName=N.readableIdentifier($);E.moduleIdentifier=R.identifier();E.moduleName=R.readableIdentifier($);const ae=Array.from(ie.getIncomingConnections(R)).filter((E=>E.resolvedOriginModule===N&&E.dependency)).map((E=>E.dependency));E.dependencies=q.create(`${G}.dependencies`,Array.from(new Set(ae)),j)},ids:(E,{origin:N,module:R},{compilation:{chunkGraph:j}})=>{E.originId=j.getModuleId(N);E.moduleId=j.getModuleId(R)}},moduleTraceDependency:{_:(E,N)=>{E.loc=q(N.loc)}}};const Ue={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:N}})=>{if(E.originModule&&N.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const ze={"compilation.warnings":{warningsFilter:j.deprecate(((E,N,{warningsFilter:R})=>{const j=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!R.some((N=>N(E,j)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const We={_:(E,{compilation:{moduleGraph:N}})=>{E.push(Ie((E=>N.getDepth(E)),Te),Ie((E=>N.getPreOrderIndex(E)),Te),Ie((E=>E.identifier()),Ee))}};const Je={"compilation.chunks":{_:E=>{E.push(Ie((E=>E.id),Ee))}},"compilation.modules":We,"chunk.rootModules":We,"chunk.modules":We,"module.modules":We,"module.reasons":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.originModule),Ne));E.push(Ie((E=>E.resolvedOriginModule),Ne));E.push(Ie((E=>E.dependency),we(Ie((E=>E.loc),le),Ie((E=>E.type),Ee))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.module?N.getModuleId(E.module):undefined),Ee),Ie((E=>q(E.loc)),Ee),Ie((E=>E.request),Ee))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let N=0;for(const R of E){N+=getItemSize(R)}return N};const getTotalItems=E=>{let N=0;for(const R of E){if(!R.children&&!R.filteredChildren){N++}else{if(R.children)N+=getTotalItems(R.children);if(R.filteredChildren)N+=R.filteredChildren}}return N};const collapse=E=>{const N=[];for(const R of E){if(R.children){let E=R.filteredChildren||0;E+=getTotalItems(R.children);N.push({...R,children:undefined,filteredChildren:E})}else{N.push(R)}}return N};const spaceLimited=(E,N)=>{let R=undefined;let j=undefined;const $=E.filter((E=>E.children||E.filteredChildren));const q=$.map((E=>getItemSize(E)));const G=E.filter((E=>!E.children&&!E.filteredChildren));let ie=q.reduce(((E,N)=>E+N),0);if(ie+G.length<=N){R=$.concat(G)}else if($.length>0&&$.length+Math.min(1,G.length)N){const E=G.length+ie+(j?1:0)-N;const R=Math.max(...q);if(R0&&$.length+Math.min(1,G.length)<=N){R=$.length?collapse($):undefined;j=G.length}else{j=getTotalItems(E)}return{children:R,filteredChildren:j}};const assetGroup=(E,N)=>{let R=0;for(const N of E){R+=N.size}return{size:R}};const moduleGroup=(E,N)=>{let R=0;const j={};for(const N of E){R+=N.size;for(const E of Object.keys(N.sizes)){j[E]=(j[E]||0)+N.sizes[E]}}return{size:R,sizes:j}};const reasonGroup=(E,N)=>{let R=false;for(const N of E){R=R||N.active}return{active:R}};const Ve={_:(E,N,R)=>{const groupByFlag=(N,R)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!R,force:R}),createGroup:(E,j,$)=>R?{type:"assets by status",[N]:!!E,filteredChildren:$.length,...assetGroup(j,$)}:{type:"assets by status",[N]:!!E,children:j,...assetGroup(j,$)}})};const{groupAssetsByEmitStatus:j,groupAssetsByPath:$,groupAssetsByExtension:q}=R;if(j){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(j||!R.cachedAssets){groupByFlag("cached",!R.cachedAssets)}if($||q){E.push({getKeys:E=>{const N=q&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const R=N?N[1]:"";const j=$&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const G=j?j[1].split(/[/\\]/):[];const ie=[];if($){ie.push(".");if(R)ie.push(G.length?`${G.join("/")}/*${R}`:`*${R}`);while(G.length>0){ie.push(G.join("/")+"/");G.pop()}}else{if(R)ie.push(`*${R}`)}return ie},createGroup:(E,N,R)=>({type:$?"assets by path":"assets by extension",name:E,children:N,...assetGroup(N,R)})})}},groupAssetsByInfo:(E,N,R)=>{const groupByAssetInfoFlag=N=>{E.push({getKeys:E=>E.info&&E.info[N]?["1"]:undefined,createGroup:(E,R,j)=>({type:"assets by info",info:{[N]:!!E},children:R,...assetGroup(R,j)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,N,R)=>{const groupByNames=N=>{E.push({getKeys:E=>E[N],createGroup:(E,R,j)=>({type:"assets by chunk",[N]:[E],children:R,...assetGroup(R,j)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,N,{excludeAssets:R})=>{E.push({getKeys:E=>{const N=E.name;const j=R.some((R=>R(N,E)));if(j)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden assets",filteredChildren:R.length,...assetGroup(N,R)})})}};const MODULES_GROUPERS=E=>({_:(E,N,R)=>{const groupByFlag=(N,R,j)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!j,force:j}),createGroup:(E,$,q)=>({type:R,[N]:!!E,...j?{filteredChildren:q.length}:{children:$},...moduleGroup($,q)})})};const{groupModulesByCacheStatus:j,groupModulesByLayer:$,groupModulesByAttributes:q,groupModulesByType:G,groupModulesByPath:ie,groupModulesByExtension:ae}=R;if(q){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(j){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(j||!R.cachedModules){groupByFlag("cached","cached modules",!R.cachedModules)}if(q||!R.orphanModules){groupByFlag("orphan","orphan modules",!R.orphanModules)}if(q||!R.dependentModules){groupByFlag("dependent","dependent modules",!R.dependentModules)}if(G||!R.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(G){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const N=E==="runtime"&&!R.runtimeModules;return{groupChildren:!N,force:N}},createGroup:(E,N,j)=>{const $=E==="runtime"&&!R.runtimeModules;return{type:`${E} modules`,moduleType:E,...$?{filteredChildren:j.length}:{children:N},...moduleGroup(N,j)}}})}if($){E.push({getKeys:E=>[E.layer],createGroup:(E,N,R)=>({type:"modules by layer",layer:E,children:N,...moduleGroup(N,R)})})}if(ie||ae){E.push({getKeys:E=>{if(!E.name)return;const N=Le(E.name.split("!").pop()).path;const R=ae&&/(\.[^.]+)(?:\?.*|$)/.exec(N);const j=R?R[1]:"";const $=ie&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(N);const q=$?$[1].split(/[/\\]/):[];const G=[];if(ie){if(j)G.push(q.length?`${q.join("/")}/*${j}`:`*${j}`);while(q.length>0){G.push(q.join("/")+"/");q.pop()}}else{if(j)G.push(`*${j}`)}return G},createGroup:(E,N,R)=>({type:ie?"modules by path":"modules by extension",name:E,children:N,...moduleGroup(N,R)})})}},excludeModules:(N,R,{excludeModules:j})=>{N.push({getKeys:N=>{const R=N.name;if(R){const $=j.some((j=>j(R,N,E)));if($)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden modules",filteredChildren:N.length,...moduleGroup(N,R)})})}});const qe={"compilation.assets":Ve,"asset.related":Ve,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:E=>{E.push({getKeys:E=>[E.module],createGroup:(E,N,R)=>({type:"from origin",module:E,children:N,...reasonGroup(N,R)})})}}};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,N)=>0;return noSort}const N=normalizeFieldKey(E);let R=Ie((E=>E[N]),Ee);const j=sortOrderRegular(E);if(!j){const E=R;R=(N,R)=>E(R,N)}return R};const He={assetsSort:(E,N,{assetsSort:R})=>{E.push(sortByField(R))},_:E=>{E.push(Ie((E=>E.name),Ee))}};const Ge={"compilation.chunks":{chunksSort:(E,N,{chunksSort:R})=>{E.push(sortByField(R))}},"compilation.modules":{modulesSort:(E,N,{modulesSort:R})=>{E.push(sortByField(R))}},"chunk.modules":{chunkModulesSort:(E,N,{chunkModulesSort:R})=>{E.push(sortByField(R))}},"module.modules":{nestedModulesSort:(E,N,{nestedModulesSort:R})=>{E.push(sortByField(R))}},"compilation.assets":He,"asset.related":He};const iterateConfig=(E,N,R)=>{for(const j of Object.keys(E)){const $=E[j];for(const E of Object.keys($)){if(E!=="_"){if(E.startsWith("!")){if(N[E.slice(1)])continue}else{const R=N[E];if(R===false||R===undefined||Array.isArray(R)&&R.length===0)continue}}R(j,$[E])}}};const Ke={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const N=Object.create(null);for(const R of E){N[R.name]=R}return N};const Qe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((N,R,j)=>{iterateConfig(je,R,((E,j)=>{N.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,$,q)=>j(E,$,q,R,N)))}));iterateConfig(Ue,R,((E,j)=>{N.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(ze,R,((E,j)=>{N.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(Je,R,((E,j)=>{N.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(Ge,R,((E,j)=>{N.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(qe,R,((E,j)=>{N.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));for(const E of Object.keys(Ke)){const R=Ke[E];N.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>R))}for(const E of Object.keys(Qe)){const R=Qe[E];N.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",R)}if(R.children){if(Array.isArray(R.children)){N.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((N,{_index:$})=>{if($$))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,N,R)=>{"use strict";const j=R(80910);const applyDefaults=(E,N)=>{for(const R of Object.keys(N)){if(typeof E[R]==="undefined"){E[R]=N[R]}}};const $={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:N})=>N?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:N})=>N?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:N})=>{if(E===false)return false;if(E===true)return true;if(N)return"auto";return true};const q={context:(E,N,R)=>R.compiler.context,requestShortener:(E,N,R)=>R.compiler.context===E.context?R.requestShortener:new j(E.context,R.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:N})=>N?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:N})=>{if(E===false)return false;if(E===true)return true;if(N)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:N,chunkModules:R},{forToString:j})=>{if(E===false)return false;if(E===true)return true;if(j&&N&&R)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:N})=>N?15:Infinity,chunkModulesSpace:(E,{forToString:N})=>N?10:Infinity,nestedModulesSpace:(E,{forToString:N})=>N?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:N})=>N?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,cachedModules:({all:E,cached:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(E,{forToString:N})=>N?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:N})=>N&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const G={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(N,R)=>R.includes(E)}if(E instanceof RegExp){return(N,R)=>E.test(R)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const N of Object.keys($)){const R=$[N];E.hooks.statsPreset.for(N).tap("DefaultStatsPresetPlugin",((E,N)=>{applyDefaults(E,R)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((N,R)=>{for(const j of Object.keys(q)){if(N[j]===undefined)N[j]=q[j](N,R,E)}for(const E of Object.keys(G)){N[E]=G[E](N[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,N,R)=>{"use strict";const plural=(E,N,R)=>E===1?N:R;const printSizes=(E,{formatSize:N=(E=>`${E}`)})=>{const R=Object.keys(E);if(R.length>1){return R.map((R=>`${N(E[R])} (${R})`)).join(" ")}else if(R.length===1){return N(E[R[0]])}};const mapLines=(E,N)=>E.split("\n").map(N).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const j={"compilation.summary!":(E,{type:N,bold:R,green:j,red:$,yellow:q,formatDateTime:G,formatTime:ie,compilation:{name:ae,hash:ce,version:le,time:_e,builtAt:Te,errorsCount:Ee,warningsCount:we}})=>{const Ie=N==="compilation.summary!";const Ne=we>0?q(`${we} ${plural(we,"warning","warnings")}`):"";const Me=Ee>0?$(`${Ee} ${plural(Ee,"error","errors")}`):"";const Le=Ie&&_e?` in ${ie(_e)}`:"";const Be=ce?` (${ce})`:"";const je=Ie&&Te?`${G(Te)}: `:"";const Ue=Ie&&le?`webpack ${le}`:"";const ze=Ie&&ae?R(ae):ae?`Child ${R(ae)}`:Ie?"":"Child";const We=ze&&Ue?`${ze} (${Ue})`:Ue||ze||"webpack";let Je;if(Me&&Ne){Je=`compiled with ${Me} and ${Ne}`}else if(Me){Je=`compiled with ${Me}`}else if(Ne){Je=`compiled with ${Ne}`}else if(Ee===0&&we===0){Je=`compiled ${j("successfully")}`}else{Je=`compiled`}if(je||Ue||Me||Ne||Ee===0&&we===0||Le||Be)return`${je}${We} ${Je}${Le}${Be}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:N})=>E?N(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:N})=>E?`Environment (--env): ${N(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:N})=>`PublicPath: ${N(E||"(none)")}`,"compilation.entrypoints":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.values(E),{...N,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,N,R)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:j}}=N;let $=Object.values(E);if(j){$=$.filter((E=>!Object.prototype.hasOwnProperty.call(j,E.name)))}return R.print(N.type,$,{...N,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:N}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.entries(E).map((([E,N])=>({...N,name:E}))),N),"compilation.warningsInChildren!":(E,{yellow:N,compilation:R})=>{if(!R.children&&R.warningsCount>0&&R.warnings){const E=R.warningsCount-R.warnings.length;if(E>0){return N(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:N,compilation:R})=>{if(!R.children&&R.errorsCount>0&&R.errors){const E=R.errorsCount-R.errors.length;if(E>0){return N(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:N,asset:{isOverSizeLimit:R}})=>N(E,R),"asset.size":(E,{asset:{isOverSizeLimit:N},yellow:R,green:j,formatSize:$})=>N?R($(E)):$(E),"asset.emitted":(E,{green:N,formatFlag:R})=>E?N(R("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:N,formatFlag:R})=>E?N(R("compared for emit")):undefined,"asset.cached":(E,{green:N,formatFlag:R})=>E?N(R("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:N,formatFlag:R})=>E?N(R("big")):undefined,"asset.info.immutable":(E,{green:N,formatFlag:R})=>E?N(R("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:N})=>E?N("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:N})=>E?N(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:N,formatFlag:R})=>E?N(R("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:N,formatFlag:R})=>E?N(R("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:N}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:N})=>N(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"module.name":(E,{bold:N})=>{const[,R,j]=/^(.*!)?([^!]*)$/.exec(E);return(R||"")+N(j)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:N})=>E?N(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:N})=>N(E),"module.depth":(E,{formatFlag:N})=>E!==null?N(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:N,red:R})=>E===false?R(N("not cacheable")):undefined,"module.orphan":(E,{formatFlag:N,yellow:R})=>E?R(N("orphan")):undefined,"module.runtime":(E,{formatFlag:N,yellow:R})=>E?R(N("runtime")):undefined,"module.optional":(E,{formatFlag:N,yellow:R})=>E?R(N("optional")):undefined,"module.dependent":(E,{formatFlag:N,cyan:R})=>E?R(N("dependent")):undefined,"module.built":(E,{formatFlag:N,yellow:R})=>E?R(N("built")):undefined,"module.codeGenerated":(E,{formatFlag:N,yellow:R})=>E?R(N("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:N,green:R})=>E?R(N("build time executed")):undefined,"module.cached":(E,{formatFlag:N,green:R})=>E?R(N("cached")):undefined,"module.assets":(E,{formatFlag:N,magenta:R})=>E&&E.length?R(N(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:N,yellow:R})=>E===true?R(N("warnings")):E?R(N(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:N,red:R})=>E===true?R(N("errors")):E?R(N(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:N,cyan:R})=>{if(Array.isArray(E)){if(E.length===0)return R(N("no exports"));return R(N(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:N,cyan:R,module:j})=>{if(E!==true){if(E===null)return R(N("used exports unknown"));if(E===false)return R(N("module unused"));if(Array.isArray(E)){if(E.length===0)return R(N("no exports used"));const $=Array.isArray(j.providedExports)?j.providedExports.length:null;if($!==null&&$===E.length){return R(N("all exports used"))}else{return R(N(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:N})=>N(E),"module.issuerPath":(E,{module:N})=>N.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredReasons":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:N})=>N(E),"moduleIssuer.profile.total":(E,{formatTime:N})=>N(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:N})=>N(E),"moduleReason.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"moduleReason.module":(E,{magenta:N})=>N(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:N})=>N(E),"moduleReason.active":(E,{formatFlag:N})=>E?undefined:N("inactive"),"moduleReason.resolvedModule":(E,{magenta:N})=>N(E),"moduleReason.filteredChildren":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.profile.total":(E,{formatTime:N})=>N(E),"module.profile.resolving":(E,{formatTime:N})=>`resolving: ${N(E)}`,"module.profile.restoring":(E,{formatTime:N})=>`restoring: ${N(E)}`,"module.profile.integration":(E,{formatTime:N})=>`integration: ${N(E)}`,"module.profile.building":(E,{formatTime:N})=>`building: ${N(E)}`,"module.profile.storing":(E,{formatTime:N})=>`storing: ${N(E)}`,"module.profile.additionalResolving":(E,{formatTime:N})=>E?`additional resolving: ${N(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:N})=>E?`additional integration: ${N(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:N})=>N,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:N})=>N(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:N,yellow:R})=>E?R(N("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:N})=>E?N(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:N})=>E?`(${N(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:N})=>N(E),"chunkGroupAsset.size":(E,{formatSize:N,chunkGroup:R})=>R.assets.length>1||R.auxiliaryAssets&&R.auxiliaryAssets.length>0?N(E):undefined,"chunkGroup.children":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:N})=>N(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:N})=>N(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:N})=>N(E),"chunk.files[]":(E,{formatFilename:N})=>N(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,N)=>printSizes(E,N),"chunk.parents[]":(E,N)=>N.formatChunkId(E,"parent"),"chunk.siblings[]":(E,N)=>N.formatChunkId(E,"sibling"),"chunk.children[]":(E,N)=>N.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"chunk.entry":(E,{formatFlag:N,yellow:R})=>E?R(N("entry")):undefined,"chunk.initial":(E,{formatFlag:N,yellow:R})=>E?R(N("initial")):undefined,"chunk.rendered":(E,{formatFlag:N,green:R})=>E?R(N("rendered")):undefined,"chunk.recorded":(E,{formatFlag:N,green:R})=>E?R(N("recorded")):undefined,"chunk.reason":(E,{yellow:N})=>E?N(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"chunkOrigin.moduleName":(E,{bold:N})=>N(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:N})=>E?N(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"error.chunkEntry":(E,{formatFlag:N})=>E?N("entry"):undefined,"error.chunkInitial":(E,{formatFlag:N})=>E?N("initial"):undefined,"error.file":(E,{bold:N})=>N(E),"error.moduleName":(E,{bold:N})=>E.includes("!")?`${N(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${N(E)}`,"error.loc":(E,{green:N})=>N(E),"error.message":(E,{bold:N,formatError:R})=>E.includes("[")?E:N(R(E)),"error.details":(E,{formatError:N})=>N(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`

    ${N(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`

    ${N(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<-> ${N(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<+> ${N(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:N})=>E?N("DEBUG"):undefined,"loggingGroup.name":(E,{bold:N})=>N(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const $={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const G={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>N=>N.length>0?`(${E}: ${N.filter(Boolean).join(", ")})`:undefined;const ie={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const N=[];let R=0;for(const j of E){if(j.element==="separator!"){switch(R){case 0:case 1:R+=2;break;case 4:N.push(")");R=3;break}}if(!j.content)continue;switch(R){case 0:R=1;break;case 1:N.push(" ");break;case 2:N.push("(");R=4;break;case 3:N.push(" (");R=4;break;case 4:N.push(", ");break}N.push(j.content)}if(R===4)N.push(")");return N.join("")};const indent=(E,N,R)=>{const j=E.replace(/\n([^\n])/g,"\n"+N+"$1");if(R)return j;const $=E[0]==="\n"?"":N;return $+j};const joinExplicitNewLine=(E,N)=>{let R=true;let j=true;return E.map((E=>{if(!E||!E.content)return;let $=indent(E.content,j?"":N,!R);if(R){$=$.replace(/^\n+/,"")}if(!$)return;j=false;const q=R||$.startsWith("\n");R=$.endsWith("\n");return q?$:" "+$})).filter(Boolean).join("").trim()};const joinError=E=>(N,{red:R,yellow:j})=>`${E?R("ERROR"):j("WARNING")} in ${joinExplicitNewLine(N,"")}`;const ae={compilation:E=>{const N=[];let R=false;for(const j of E){if(!j.content)continue;const E=j.element==="warnings"||j.element==="filteredWarningDetailsCount"||j.element==="errors"||j.element==="filteredErrorDetailsCount"||j.element==="logging";if(N.length!==0){N.push(E||R?"\n\n":"\n")}N.push(j.content);R=E}if(R)N.push("\n");return N.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(N.id===N.name){if(R)return false;if(E.content)R=true}break;case"name":if(R)return false;if(E.content)R=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let N=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)N=true;break;case"initial":if(N)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"moduleId":if(N.moduleId===N.module&&E.content)R=true;break;case"module":if(R)return false;break;case"resolvedModule":if(N.module===N.resolvedModule)return false;break;case"children":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const ce={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const le={formatChunkId:(E,{yellow:N},R)=>{switch(R){case"parent":return`<{${N(E)}}>`;case"sibling":return`={${N(E)}}=`;case"child":return`>{${N(E)}}<`;default:return`{${N(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:N,yellow:R},j)=>(j?R:N)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:R(9192).formatSize,formatDateTime:(E,{bold:N})=>{const R=new Date(E);const j=twoDigit;const $=`${R.getFullYear()}-${j(R.getMonth()+1)}-${j(R.getDate())}`;const q=`${j(R.getHours())}:${j(R.getMinutes())}:${j(R.getSeconds())}`;return`${$} ${N(q)}`},formatTime:(E,{timeReference:N,bold:R,green:j,yellow:$,red:q},G)=>{const ie=" ms";if(N&&E!==N){const G=[N/2,N/4,N/8,N/16];if(E{if(E.includes("["))return E;const $=[{regExp:/(Did you mean .+)/g,format:N},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:N},{regExp:/(\(module has no exports\))/g,format:j},{regExp:/\(possible exports: (.+)\)/g,format:N},{regExp:/\s*(.+ doesn't exist)/g,format:j},{regExp:/('\w+' option has not been set)/g,format:j},{regExp:/(Emitted value instead of an instance of Error)/g,format:R},{regExp:/(Used? .+ instead)/gi,format:R},{regExp:/\b(deprecated|must|required)\b/g,format:R},{regExp:/\b(BREAKING CHANGE)\b/gi,format:j},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:j}];for(const{regExp:N,format:R}of $){E=E.replace(N,((E,N)=>E.replace(N,R(N))))}return E}};const _e={"module.modules":E=>indent(E,"| ")};const createOrder=(E,N)=>{const R=E.slice();const j=new Set(E);const $=new Set;E.length=0;for(const R of N){if(R.endsWith("!")||j.has(R)){E.push(R);$.add(R)}}for(const N of R){if(!$.has(N)){E.push(N)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,N,R)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,R)=>{for(const E of Object.keys(ce)){let j;if(N.colors){if(typeof N.colors==="object"&&typeof N.colors[E]==="string"){j=N.colors[E]}else{j=ce[E]}}if(j){R[E]=E=>`${j}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${j}`):E}`}else{R[E]=E=>E}}for(const E of Object.keys(le)){R[E]=(N,...j)=>le[E](N,R,...j)}R.timeReference=E.time}));for(const N of Object.keys(j)){E.hooks.print.for(N).tap("DefaultStatsPrinterPlugin",((R,$)=>j[N](R,$,E)))}for(const N of Object.keys(G)){const R=G[N];E.hooks.sortElements.for(N).tap("DefaultStatsPrinterPlugin",((E,N)=>{createOrder(E,R)}))}for(const N of Object.keys($)){const R=$[N];E.hooks.getItemName.for(N).tap("DefaultStatsPrinterPlugin",typeof R==="string"?()=>R:R)}for(const N of Object.keys(ie)){const R=ie[N];E.hooks.printItems.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(ae)){const R=ae[N];E.hooks.printElements.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(_e)){const R=_e[N];E.hooks.result.for(N).tap("DefaultStatsPrinterPlugin",R)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,N,R)=>{"use strict";const{HookMap:j,SyncBailHook:$,SyncWaterfallHook:q}=R(92960);const{concatComparators:G,keepOriginalOrder:ie}=R(68673);const ae=R(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new j((()=>new $(["object","data","context"]))),filter:new j((()=>new $(["item","context","index","unfilteredIndex"]))),sort:new j((()=>new $(["comparators","context"]))),filterSorted:new j((()=>new $(["item","context","index","unfilteredIndex"]))),groupResults:new j((()=>new $(["groupConfigs","context"]))),sortResults:new j((()=>new $(["comparators","context"]))),filterResults:new j((()=>new $(["item","context","index","unfilteredIndex"]))),merge:new j((()=>new $(["items","context"]))),result:new j((()=>new q(["result","context"]))),getItemName:new j((()=>new $(["item","context"]))),getItemFactory:new j((()=>new $(["item","context"])))});const E=this.hooks;this._caches={};for(const N of Object.keys(E)){this._caches[N]=new Map}this._inCreate=false}_getAllLevelHooks(E,N,R){const j=N.get(R);if(j!==undefined){return j}const $=[];const q=R.split(".");for(let N=0;N{for(const R of G){const j=$(R,E,N,ie);if(j!==undefined){if(j)ie++;return j}}ie++;return true}))}create(E,N,R){if(this._inCreate){return this._create(E,N,R)}else{try{this._inCreate=true;return this._create(E,N,R)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,N,R){const j={...R,type:E,[E]:N};if(Array.isArray(N)){const R=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,N,((E,N,R,$)=>E.call(N,j,R,$)),true);const $=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call($,j)));if($.length>0){R.sort(G(...$,ie(R)))}const q=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,R,((E,N,R,$)=>E.call(N,j,R,$)),false);let ce=q.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;const G=q?`${E}[].${q}`:`${E}[]`;const ie=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,G,(E=>E.call(N,$)))||this;return ie.create(G,N,$)}));const le=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(le,j)));if(le.length>0){ce.sort(G(...le,ie(ce)))}const _e=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(_e,j)));if(_e.length>0){ce=ae(ce,_e)}const Te=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,ce,((E,N,R,$)=>E.call(N,j,R,$)),false);let Ee=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(Te,j)));if(Ee===undefined)Ee=Te;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Ee,((E,N)=>E.call(N,j)))}else{const R={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(R,N,j)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,R,((E,N)=>E.call(N,j)))}}}E.exports=StatsFactory},30533:(E,N,R)=>{"use strict";const{HookMap:j,SyncWaterfallHook:$,SyncBailHook:q}=R(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new j((()=>new q(["elements","context"]))),printElements:new j((()=>new q(["printedElements","context"]))),sortItems:new j((()=>new q(["items","context"]))),getItemName:new j((()=>new q(["item","context"]))),printItems:new j((()=>new q(["printedItems","context"]))),print:new j((()=>new q(["object","context"]))),result:new j((()=>new $(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,N){let R=this._levelHookCache.get(E);if(R===undefined){R=new Map;this._levelHookCache.set(E,R)}const j=R.get(N);if(j!==undefined){return j}const $=[];const q=N.split(".");for(let N=0;NE.call(N,j)));if($===undefined){if(Array.isArray(N)){const R=N.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(R,j)));const q=R.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;return this.print(q?`${E}[].${q}`:`${E}[]`,N,$)}));$=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(q,j)));if($===undefined){const E=q.filter(Boolean);if(E.length>0)$=E.join("\n")}}else if(N!==null&&typeof N==="object"){const R=Object.keys(N).filter((E=>N[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(R,j)));const q=R.map((R=>{const $=this.print(`${E}.${R}`,N[R],{...j,_parent:N,_element:R,[R]:N[R]});return{element:R,content:$}}));$=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(q,j)));if($===undefined){const E=q.map((E=>E.content)).filter(Boolean);if(E.length>0)$=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,$,((E,N)=>E.call(N,j)))}}E.exports=StatsPrinter},73910:(E,N)=>{"use strict";N.equals=(E,N)=>{if(E.length!==N.length)return false;for(let R=0;R{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const N=this._list.indexOf(E);if(N>=0){this._list.splice(N,1)}else{const N=this._listReversed.indexOf(E);if(N>=0)this._listReversed.splice(N,1)}}[Symbol.iterator](){let E=-1;let N=false;return{next:()=>{if(!N){E++;if(E{"use strict";const{SyncHook:j,AsyncSeriesHook:$}=R(92960);const{makeWebpackError:q}=R(3728);const G=R(81627);const ie=R(56561);const ae=0;const ce=1;const le=2;let _e=0;class AsyncQueueEntry{constructor(E,N){this.item=E;this.state=ae;this.callback=N;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:N,parent:R,processor:q,getKey:G}){this._name=E;this._parallelism=N||1;this._processor=q;this._getKey=G||(E=>E);this._entries=new Map;this._queued=new ie;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=R?R._root:this;if(R){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new $(["item"]),added:new j(["item"]),beforeStart:new $(["item"]),started:new j(["item"]),result:new j(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,N){if(this._stopped)return N(new G("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(R=>{if(R){N(q(R,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const j=this._getKey(E);const $=this._entries.get(j);if($!==undefined){if($.state===le){if(_e++>3){process.nextTick((()=>N($.error,$.result)))}else{N($.error,$.result)}_e--}else if($.callbacks===undefined){$.callbacks=[N]}else{$.callbacks.push(N)}return}const ie=new AsyncQueueEntry(E,N);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ie,new G("Queue was stopped"))))}else{this._entries.set(j,ie);this._queued.enqueue(ie);const N=this._root;N._needProcessing=true;if(N._willEnsureProcessing===false){N._willEnsureProcessing=true;setImmediate(N._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const N=this._getKey(E);const R=this._entries.get(N);this._entries.delete(N);if(R.state===ae){this._queued.delete(R)}}waitFor(E,N){const R=this._getKey(E);const j=this._entries.get(R);if(j===undefined){return N(new G("waitFor can only be called for an already started item"))}if(j.state===le){process.nextTick((()=>N(j.error,j.result)))}else if(j.callbacks===undefined){j.callbacks=[N]}else{j.callbacks.push(N)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ie;const N=this._root;for(const R of E){this._entries.delete(this._getKey(R.item));N._activeTasks++;this._handleResult(R,new G("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ce}isQueued(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ae}isDone(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===le}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(N=>{if(N){this._handleResult(E,q(N,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let R=false;try{this._processor(E.item,((N,j)=>{R=true;this._handleResult(E,N,j)}))}catch(N){if(R)throw N;this._handleResult(E,N,null)}this.hooks.started.call(E.item)}))}_handleResult(E,N,R){this.hooks.result.callAsync(E.item,N,R,(j=>{const $=j?q(j,`AsyncQueue(${this._name}).hooks.result`):N;const G=E.callback;const ie=E.callbacks;E.state=le;E.callback=undefined;E.callbacks=undefined;E.result=R;E.error=$;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(_e++>3){process.nextTick((()=>{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}))}else{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}_e--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,N,R)=>{"use strict";class Hash{update(E,N){const j=R(75884);throw new j}digest(E){const N=R(75884);throw new N}}E.exports=Hash},11539:(E,N)=>{"use strict";const last=E=>{let N;for(const R of E)N=R;return N};const someInIterable=(E,N)=>{for(const R of E){if(N(R))return true}return false};const countIterable=E=>{let N=0;for(const R of E)N++;return N};N.last=last;N.someInIterable=someInIterable;N.countIterable=countIterable},37496:(E,N,R)=>{"use strict";const{first:j}=R(26221);const $=R(16102);class LazyBucketSortedSet{constructor(E,N,...R){this._getKey=E;this._innerArgs=R;this._leaf=R.length<=1;this._keys=new $(undefined,N);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,N){let R=this._map.get(E);if(R===undefined){R=this._leaf?new $(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,R)}R.add(N)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const N=this._getKey(E);const R=this._map.get(N);R.delete(E);if(R.size===0){this._deleteKey(N)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const N=this._getKey(E);this._addInternal(N,E)}this._unsortedItems.clear()}this._keys.sort();const E=j(this._keys);const N=this._map.get(E);if(this._leaf){const R=N;R.sort();const $=j(R);R.delete($);if(R.size===0){this._deleteKey(E)}return $}else{const R=N;const j=R.popFirst();if(R.size===0){this._deleteKey(E)}return j}}startUpdate(E){if(this._unsortedItems.has(E)){return N=>{if(N){this._unsortedItems.delete(E);this.size--;return}}}const N=this._getKey(E);if(this._leaf){const R=this._map.get(N);return j=>{if(j){this.size--;R.delete(E);if(R.size===0){this._deleteKey(N)}return}const $=this._getKey(E);if(N===$){R.add(E)}else{R.delete(E);if(R.size===0){this._deleteKey(N)}this._addInternal($,E)}}}else{const R=this._map.get(N);const j=R.startUpdate(E);return $=>{if($){this.size--;j(true);if(R.size===0){this._deleteKey(N)}return}const q=this._getKey(E);if(N===q){j()}else{j(true);if(R.size===0){this._deleteKey(N)}this._addInternal(q,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const N of this._keys){const R=this._map.get(N);if(this._leaf){const N=R;const j=N[Symbol.iterator]();E.push(j)}else{const N=R;N._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let N=E.pop();return{next:()=>{const R=N.next();if(R.done){if(E.length===0)return R;N=E.pop();return N.next()}return R}}}}E.exports=LazyBucketSortedSet},83379:(E,N,R)=>{"use strict";const j=R(56202);const merge=(E,N)=>{for(const R of N){for(const N of R){E.add(N)}}};const flatten=(E,N)=>{for(const R of N){if(R._set.size>0)E.add(R._set);if(R._needMerge){for(const N of R._toMerge){E.add(N)}flatten(E,R._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const N=this._set;for(const R of E){N.add(R)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,N){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,N)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const N of this._set)E(N)}static deserialize({read:E}){const N=E();const R=[];for(let j=0;j{"use strict";N.provide=(E,N,R)=>{const j=E.get(N);if(j!==undefined)return j;const $=R();E.set(N,$);return $}},382:(E,N,R)=>{"use strict";const j=R(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,N,R){if(E===N)return R(1);this._rangePoints.push(E);this._rangePoints.push(N);this._rangeCallbacks.push(R)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,N)=>E0));const R=[];for(let $=0;${"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,N)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let N=Infinity;let R=-1;for(let j=0;j{if(E.size{for(const R of E){if(N(R))return R}};const first=E=>{const N=E.values().next();return N.done?undefined:N.value};const combine=(E,N)=>{if(N.size===0)return E;if(E.size===0)return N;const R=new Set(E);for(const E of N)R.add(E);return R};N.intersect=intersect;N.isSubset=isSubset;N.find=find;N.first=first;N.combine=combine},16102:E=>{"use strict";const N=Symbol("not sorted");class SortableSet extends Set{constructor(E,R){super(E);this._sortFn=R;this._lastActiveSortFn=N;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=N;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const N=Array.from(this).sort(E);super.clear();for(let E=0;E{"use strict";class StackedCacheMap{constructor(){this.map=new Map;this.stack=[]}addAll(E,N){if(N){this.stack.push(E);for(let N=this.stack.length-1;N>0;N--){const R=this.stack[N-1];if(R.size>=E.size)break;this.stack[N]=R;this.stack[N-1]=E}}else{for(const[N,R]of E){this.map.set(N,R)}}}set(E,N){this.map.set(E,N)}delete(E){throw new Error("Items can't be deleted from a StackedCacheMap")}has(E){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(E){for(const N of this.stack){const R=N.get(E);if(R!==undefined)return R}return this.map.get(E)}clear(){this.stack.length=0;this.map.clear()}get size(){let E=this.map.size;for(const N of this.stack){E+=N.size}return E}[Symbol.iterator](){const E=this.stack.map((E=>E[Symbol.iterator]()));let N=this.map[Symbol.iterator]();return{next(){let R=N.next();while(R.done&&E.length>0){N=E.pop();R=N.next()}return R}}}}E.exports=StackedCacheMap},80371:E=>{"use strict";const N=Symbol("tombstone");const R=Symbol("undefined");const extractPair=E=>{const j=E[0];const $=E[1];if($===R||$===N){return[j,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,N){this.map.set(E,N===undefined?R:N)}delete(E){if(this.stack.length>1){this.map.set(E,N)}else{this.map.delete(E)}}has(E){const R=this.map.get(E);if(R!==undefined){return R!==N}if(this.stack.length>1){for(let R=this.stack.length-2;R>=0;R--){const j=this.stack[R].get(E);if(j!==undefined){this.map.set(E,j);return j!==N}}this.map.set(E,N)}return false}get(E){const j=this.map.get(E);if(j!==undefined){return j===N||j===R?undefined:j}if(this.stack.length>1){for(let j=this.stack.length-2;j>=0;j--){const $=this.stack[j].get(E);if($!==undefined){this.map.set(E,$);return $===N||$===R?undefined:$}}this.map.set(E,N)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const R of E){if(R[1]===N){this.map.delete(R[0])}else{this.map.set(R[0],R[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined}add(E){const N=E.length;const R=this._value;if(R===undefined){const R=this._value=Buffer.allocUnsafe(N);for(let j=0;j{"use strict";const j=R(86949);class TupleQueue{constructor(E){this._set=new j(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const N of E){this.add(...N)}}}add(...E){let N=this._map;for(let R=0;R{const $=j.next();if($.done){if(E.length===0)return false;N.pop();return next(E.pop())}const[q,G]=$.value;E.push(j);N.push(q);if(G instanceof Set){R=G[Symbol.iterator]();return true}else{return next(G[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(R){const j=R.next();if(j.done){N.pop();if(!next(E.pop())){R=undefined}}else{return{done:false,value:N.concat(j.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,N)=>{"use strict";const R="\\".charCodeAt(0);const j="/".charCodeAt(0);const $="a".charCodeAt(0);const q="z".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="0".charCodeAt(0);const ce="9".charCodeAt(0);const le="+".charCodeAt(0);const _e="-".charCodeAt(0);const Te=":".charCodeAt(0);const Ee="#".charCodeAt(0);const we="?".charCodeAt(0);function getScheme(E){const N=E.charCodeAt(0);if((N<$||N>q)&&(Nie)){return undefined}let Ie=1;let Ne=E.charCodeAt(Ie);while(Ne>=$&&Ne<=q||Ne>=G&&Ne<=ie||Ne>=ae&&Ne<=ce||Ne===le||Ne===_e){if(++Ie===E.length)return undefined;Ne=E.charCodeAt(Ie)}if(Ne!==Te)return undefined;if(Ie===1){const N=Ie+1{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...E){let N=this;for(let R=0;R{"use strict";const compileSearch=(E,N,R,j,$)=>{const q=["function ",E,"(a,l,h,",j.join(","),"){",$?"":"var i=",R?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if($){if(N.indexOf("c")<0){q.push(";if(x===y){return m}else if(x<=y){")}else{q.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{q.push(";if(",N,"){i=m;")}if(R){q.push("l=m+1}else{h=m-1}")}else{q.push("h=m-1}else{l=m+1}")}q.push("}");if($){q.push("return -1};")}else{q.push("return i};")}return q.join("")};const compileBoundsSearch=(E,N,R,j)=>{const $=compileSearch("A","x"+E+"y",N,["y"],j);const q=compileSearch("P","c(x,y)"+E+"0",N,["y","c"],j);const G="function dispatchBinarySearch";const ie="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[$,q,G,R,ie,R];const ce=ae.join("");const le=new Function(ce);return le()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,N)=>{"use strict";const R=new WeakMap;const j=new WeakMap;const $=Symbol("DELETE");const q=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;let j=R.get(E);if(j===undefined){j=new WeakMap;R.set(E,j)}const $=j.get(N);if($!==undefined)return $;const q=_cleverMerge(E,N,true);j.set(N,q);return q};const cachedSetProperty=(E,N,R)=>{let $=j.get(E);if($===undefined){$=new Map;j.set(E,$)}let q=$.get(N);if(q===undefined){q=new Map;$.set(N,q)}let G=q.get(R);if(G)return G;G={...E,[N]:R};q.set(R,G);return G};const G=new WeakMap;const cachedParseObject=E=>{const N=G.get(E);if(N!==undefined)return N;const R=parseObject(E);G.set(E,R);return R};const parseObject=E=>{const N=new Map;let R;const getInfo=E=>{const R=N.get(E);if(R!==undefined)return R;const j={base:undefined,byProperty:undefined,byValues:undefined};N.set(E,j);return j};for(const N of Object.keys(E)){if(N.startsWith("by")){const j=N;const $=E[j];if(typeof $==="object"){for(const E of Object.keys($)){const N=$[E];for(const R of Object.keys(N)){const q=getInfo(R);if(q.byProperty===undefined){q.byProperty=j;q.byValues=new Map}else if(q.byProperty!==j){throw new Error(`${j} and ${q.byProperty} for a single property is not supported`)}q.byValues.set(E,N[R]);if(E==="default"){for(const E of Object.keys($)){if(!q.byValues.has(E))q.byValues.set(E,undefined)}}}}}else if(typeof $==="function"){if(R===undefined){R={byProperty:N,fn:$}}else{throw new Error(`${N} and ${R.byProperty} when both are functions is not supported`)}}else{const R=getInfo(N);R.base=E[N]}}else{const R=getInfo(N);R.base=E[N]}}return{static:N,dynamic:R}};const serializeObject=(E,N)=>{const R={};for(const N of E.values()){if(N.byProperty!==undefined){const E=R[N.byProperty]=R[N.byProperty]||{};for(const R of N.byValues.keys()){E[R]=E[R]||{}}}}for(const[N,j]of E){if(j.base!==undefined){R[N]=j.base}if(j.byProperty!==undefined){const E=R[j.byProperty]=R[j.byProperty]||{};for(const R of Object.keys(E)){const $=getFromByValues(j.byValues,R);if($!==undefined)E[R][N]=$}}}if(N!==undefined){R[N.byProperty]=N.fn}return R};const ie=0;const ae=1;const ce=2;const le=3;const _e=4;const getValueType=E=>{if(E===undefined){return ie}else if(E===$){return _e}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return ce;return ae}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return le}return ae};const cleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,N,false)};const _cleverMerge=(E,N,R=false)=>{const j=R?cachedParseObject(E):parseObject(E);const{static:$,dynamic:G}=j;if(G!==undefined){let{byProperty:E,fn:$}=G;const ie=$[q];if(ie){N=R?cachedCleverMerge(ie[1],N):cleverMerge(ie[1],N);$=ie[0]}const newFn=(...E)=>{const j=$(...E);return R?cachedCleverMerge(j,N):cleverMerge(j,N)};newFn[q]=[$,N];return serializeObject(j.static,{byProperty:E,fn:newFn})}const ie=R?cachedParseObject(N):parseObject(N);const{static:ae,dynamic:ce}=ie;const le=new Map;for(const[E,N]of $){const j=ae.get(E);const $=j!==undefined?mergeEntries(N,j,R):N;le.set(E,$)}for(const[E,N]of ae){if(!$.has(E)){le.set(E,N)}}return serializeObject(le,ce)};const mergeEntries=(E,N,R)=>{switch(getValueType(N.base)){case ae:case _e:return N;case ie:if(!E.byProperty){return{base:E.base,byProperty:N.byProperty,byValues:N.byValues}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}else{const j=new Map(E.byValues);for(const[$,q]of N.byValues){const N=getFromByValues(E.byValues,$);j.set($,mergeSingleValue(N,q,R))}return{base:E.base,byProperty:E.byProperty,byValues:j}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,N.base,R),byProperty:N.byProperty,byValues:N.byValues}}let j;const $=new Map(E.byValues);for(const[E,j]of $){$.set(E,mergeSingleValue(j,N.base,R))}if(Array.from(E.byValues.values()).every((E=>{const N=getValueType(E);return N===ae||N===_e}))){j=mergeSingleValue(E.base,N.base,R)}else{j=E.base;if(!$.has("default"))$.set("default",N.base)}if(!N.byProperty){return{base:j,byProperty:E.byProperty,byValues:$}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}const q=new Map($);for(const[E,j]of N.byValues){const N=getFromByValues($,E);q.set(E,mergeSingleValue(N,j,R))}return{base:j,byProperty:E.byProperty,byValues:q}}}};const getFromByValues=(E,N)=>{if(N!=="default"&&E.has(N)){return E.get(N)}return E.get("default")};const mergeSingleValue=(E,N,R)=>{const j=getValueType(N);const $=getValueType(E);switch(j){case _e:case ae:return N;case le:{return $!==le?N:R?cachedCleverMerge(E,N):cleverMerge(E,N)}case ie:return E;case ce:switch($!==ae?$:Array.isArray(E)?ce:le){case ie:return N;case _e:return N.filter((E=>E!=="..."));case ce:{const R=[];for(const j of N){if(j==="..."){for(const N of E){R.push(N)}}else{R.push(j)}}return R}case le:return N.map((N=>N==="..."?E:N));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];const $=getValueType(j);switch($){case ie:case _e:break;case le:N[R]=removeOperations(j);break;case ce:N[R]=j.filter((E=>E!=="..."));break;default:N[R]=j;break}}return N};const resolveByProperty=(E,N,...R)=>{if(typeof E!=="object"||E===null||!(N in E)){return E}const{[N]:j,...$}=E;const q=$;const G=j;if(typeof G==="object"){const E=R[0];if(E in G){return cachedCleverMerge(q,G[E])}else if("default"in G){return cachedCleverMerge(q,G.default)}else{return q}}else if(typeof G==="function"){const E=G.apply(null,R);return cachedCleverMerge(q,resolveByProperty(E,N,...R))}};N.cachedSetProperty=cachedSetProperty;N.cachedCleverMerge=cachedCleverMerge;N.cleverMerge=cleverMerge;N.resolveByProperty=resolveByProperty;N.removeOperations=removeOperations;N.DELETE=$},68673:(E,N,R)=>{"use strict";const{compareRuntime:j}=R(37416);const createCachedParameterizedComparator=E=>{const N=new WeakMap;return R=>{const j=N.get(R);if(j!==undefined)return j;const $=E.bind(null,R);N.set(R,$);return $}};N.compareChunksById=(E,N)=>compareIds(E.id,N.id);N.compareModulesByIdentifier=(E,N)=>compareIds(E.identifier(),N.identifier());const compareModulesById=(E,N,R)=>compareIds(E.getModuleId(N),E.getModuleId(R));N.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,N)=>{if(typeof E!==typeof N){return typeof EN)return 1;return 0};N.compareNumbers=compareNumbers;const compareStringsNumeric=(E,N)=>{const R=E.split(/(\d+)/);const j=N.split(/(\d+)/);const $=Math.min(R.length,j.length);for(let E=0;E<$;E++){const N=R[E];const $=j[E];if(E%2===0){if(N.length>$.length){if(N.slice(0,$.length)>$)return 1;return-1}else if($.length>N.length){if($.slice(0,N.length)>N)return-1;return 1}else{if(N<$)return-1;if(N>$)return 1}}else{const E=+N;const R=+$;if(ER)return 1}}if(j.lengthR.length)return-1;return 0};N.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPostOrderIndex(N),E.getPostOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPreOrderIndex(N),E.getPreOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,N,R)=>{const j=compareIds(E.getModuleId(N),E.getModuleId(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,N,R)=>E.compareChunks(N,R);N.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,N)=>{if(typeof E!==typeof N){return typeof EN)return 1;return 0};N.compareIds=compareIds;const compareStrings=(E,N)=>{if(EN)return 1;return 0};N.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,N)=>E.index{if(R.length>0){const[j,...$]=R;return concatComparators(E,concatComparators(N,j,...$))}const j=$.get(E,N);if(j!==undefined)return j;const result=(R,j)=>{const $=E(R,j);if($!==0)return $;return N(R,j)};$.set(E,N,result);return result};N.concatComparators=concatComparators;const q=new TwoKeyWeakMap;const compareSelect=(E,N)=>{const R=q.get(E,N);if(R!==undefined)return R;const result=(R,j)=>{const $=E(R);const q=E(j);if($!==undefined&&$!==null){if(q!==undefined&&q!==null){return N($,q)}return-1}else{if(q!==undefined&&q!==null){return 1}return 0}};q.set(E,N,result);return result};N.compareSelect=compareSelect;const G=new WeakMap;const compareIterables=E=>{const N=G.get(E);if(N!==undefined)return N;const result=(N,R)=>{const j=N[Symbol.iterator]();const $=R[Symbol.iterator]();while(true){const N=j.next();const R=$.next();if(N.done){return R.done?0:-1}else if(R.done){return 1}const q=E(N.value,R.value);if(q!==0)return q}};G.set(E,result);return result};N.compareIterables=compareIterables;N.keepOriginalOrder=E=>{const N=new Map;let R=0;for(const j of E){N.set(j,R++)}return(E,R)=>compareNumbers(N.get(E),N.get(R))};N.compareChunksNatural=E=>{const R=N.compareModulesById(E);const $=compareIterables(R);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),j),compareSelect((N=>E.getOrderedChunkModulesIterable(N,R)),$))};N.compareLocations=(E,N)=>{let R=typeof E==="object"&&E!==null;let j=typeof N==="object"&&N!==null;if(!R||!j){if(R)return 1;if(j)return-1;return 0}if("start"in E){if("start"in N){const R=E.start;const j=N.start;if(R.linej.line)return 1;if(R.columnj.column)return 1}else return-1}else if("start"in N)return 1;if("name"in E){if("name"in N){if(E.nameN.name)return 1}else return-1}else if("name"in N)return 1;if("index"in E){if("index"in N){if(E.indexN.index)return 1}else return-1}else if("index"in N)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const N=Object.keys(E).filter((N=>E[N]));const R=Object.keys(E).filter((N=>!E[N]));if(N.length===0)return false;if(R.length===0)return true;return compileBooleanMatcherFromLists(N,R)};const compileBooleanMatcherFromLists=(E,N)=>{if(E.length===0)return()=>"false";if(N.length===0)return()=>"true";if(E.length===1)return N=>`${toSimpleString(E[0])} == ${N}`;if(N.length===1)return E=>`${toSimpleString(N[0])} != ${E}`;const R=itemsToRegexp(E);const j=itemsToRegexp(N);if(R.length<=j.length){return E=>`/^${R}$/.test(${E})`}else{return E=>`!/^${j}$/.test(${E})`}};const popCommonItems=(E,N,R)=>{const j=new Map;for(const R of E){const E=N(R);if(E){let N=j.get(E);if(N===undefined){N=[];j.set(E,N)}N.push(R)}}const $=[];for(const N of j.values()){if(R(N)){for(const R of N){E.delete(R)}$.push(N)}}return $};const getCommonPrefix=E=>{let N=E[0];for(let R=1;R{let N=E[0];for(let R=1;R=0;E--,R--){if(j[E]!==N[R]){N=N.slice(R+1);break}}}return N};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const N=[];let R=0;for(const N of E){if(N.length===1){R++}}if(R===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const j=new Set(E.sort());if(R>2){let E="";for(const N of j){if(N.length===1){E+=N;j.delete(N)}}N.push(`[${quoteMeta(E)}]`)}if(N.length===0&&j.size===2){const N=getCommonPrefix(E);const R=getCommonSuffix(E.map((E=>E.slice(N.length))));if(N.length>0||R.length>0){return`${quoteMeta(N)}${itemsToRegexp(E.map((E=>E.slice(N.length,-R.length||undefined))))}${quoteMeta(R)}`}}if(N.length===0&&j.size===2){const E=j[Symbol.iterator]();const N=E.next().value;const R=E.next().value;if(N.length>0&&R.length>0&&N.slice(-1)===R.slice(-1)){return`${itemsToRegexp([N.slice(0,-1),R.slice(0,-1)])}${quoteMeta(N.slice(-1))}`}}const $=popCommonItems(j,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of $){const R=getCommonPrefix(E);N.push(`${quoteMeta(R)}${itemsToRegexp(E.map((E=>E.slice(R.length))))}`)}const q=popCommonItems(j,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of q){const R=getCommonSuffix(E);N.push(`${itemsToRegexp(E.map((E=>E.slice(0,-R.length))))}${quoteMeta(R)}`)}const G=N.concat(Array.from(j,quoteMeta));if(G.length===1)return G[0];return`(${G.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(15235).validate));const createSchemaValidation=(E=(E=>false),N,R)=>{N=j(N);return j=>{if(!E(j)){$()(N(),j,R)}}};E.exports=createSchemaValidation},35891:(E,N,R)=>{"use strict";const j=R(75066);const $=2e3;const q={};class BulkUpdateDecorator extends j{constructor(E,N){super();this.hashKey=N;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,N){if(N!==undefined||typeof E!=="string"||E.length>$){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,N)}else{this.buffer+=E;if(this.buffer.length>$){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let N;const R=this.buffer;if(this.hash===undefined){const j=`${this.hashKey}-${E}`;N=q[j];if(N===undefined){N=q[j]=new Map}const $=N.get(R);if($!==undefined)return $;this.hash=this.hashFactory()}if(R.length>0){this.hash.update(R)}const j=this.hash.digest(E);const $=typeof j==="string"?j:j.toString();if(N!==undefined){N.set(R,$)}return $}}class DebugHash extends j{constructor(){super();this.string=""}update(E,N){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let G=undefined;let ie=undefined;let ae=undefined;let ce=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;case"xxhash64":if(ie===undefined){ie=R(92976);if(ce===undefined){ce=R(89312)}}return new ce(ie());case"md4":if(ae===undefined){ae=R(90526);if(ce===undefined){ce=R(89312)}}return new ce(ae());case"native-md4":if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash("md4")),"md4");default:if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash(E)),E)}}},16595:(E,N,R)=>{"use strict";const j=R(73837);const $=new Map;const createDeprecation=(E,N)=>{const R=$.get(E);if(R!==undefined)return R;const q=j.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+N);$.set(E,q);return q};const q=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const G=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];N.arrayToSetDeprecation=(E,N)=>{for(const R of q){if(E[R])continue;const j=createDeprecation(`${N} was changed from Array to Set (using Array method '${R}' is deprecated)`,"ARRAY_TO_SET");E[R]=function(){j();const E=Array.from(this);return Array.prototype[R].apply(E,arguments)}}const R=createDeprecation(`${N} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const j=createDeprecation(`${N} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const $=createDeprecation(`${N} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){R();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const R of G){if(E[R])continue;E[R]=()=>{throw new Error(`${N} was changed from Array to Set (using Array method '${R}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){$();let N=0;for(const R of this){if(N++===E)return R}return undefined};return fn};const defineIndexGetter=R=>{Object.defineProperty(E,R,{get:createIndexGetter(R),set(E){throw new Error(`${N} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ie=1;Object.defineProperty(E,"length",{get(){j();const E=this.size;for(ie;ie{let R=false;class SetDeprecatedArray extends Set{constructor(j){super(j);if(!R){R=true;N.arrayToSetDeprecation(SetDeprecatedArray.prototype,E)}}}return SetDeprecatedArray};N.soonFrozenObjectDeprecation=(E,N,R,$="")=>{const q=`${N} will be frozen in future, all modifications are deprecated.${$&&`\n${$}`}`;return new Proxy(E,{set:j.deprecate(((E,N,R,j)=>Reflect.set(E,N,R,j)),q,R),defineProperty:j.deprecate(((E,N,R)=>Reflect.defineProperty(E,N,R)),q,R),deleteProperty:j.deprecate(((E,N)=>Reflect.deleteProperty(E,N)),q,R),setPrototypeOf:j.deprecate(((E,N)=>Reflect.setPrototypeOf(E,N)),q,R)})};const deprecateAllProperties=(E,N,R)=>{const $={};const q=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(q)){const G=q[E];if(typeof G.value==="function"){Object.defineProperty($,E,{...G,value:j.deprecate(G.value,N,R)})}else if(G.get||G.set){Object.defineProperty($,E,{...G,get:G.get&&j.deprecate(G.get,N,R),set:G.set&&j.deprecate(G.set,N,R)})}else{let q=G.value;Object.defineProperty($,E,{configurable:G.configurable,enumerable:G.enumerable,get:j.deprecate((()=>q),N,R),set:G.writable?j.deprecate((E=>q=E),N,R):undefined})}}return $};N.deprecateAllProperties=deprecateAllProperties;N.createFakeHook=(E,N,R)=>{if(N&&R){E=deprecateAllProperties(E,N,R)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,N)=>{const R=Math.min(E.length,N.length);let j=0;for(let $=0;${const j=Math.min(E.length,N.length);let $=0;while(${for(const R of Object.keys(N)){E[R]=(E[R]||0)+N[R]}};const subtractSizeFrom=(E,N)=>{for(const R of Object.keys(N)){E[R]-=N[R]}};const sumSize=E=>{const N=Object.create(null);for(const R of E){addSizeTo(N,R.size)}return N};const isTooBig=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j>$)return true}}return false};const isTooSmall=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j<$)return true}}return false};const getTooSmallTypes=(E,N)=>{const R=new Set;for(const j of Object.keys(E)){const $=E[j];if($===0)continue;const q=N[j];if(typeof q==="number"){if(${let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R++}return R};const selectiveSizeSum=(E,N)=>{let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R+=E[j]}return R};class Node{constructor(E,N,R){this.item=E;this.key=N;this.size=R}}class Group{constructor(E,N,R){this.nodes=E;this.similarities=N;this.size=R||sumSize(E);this.key=undefined}popNodes(E){const N=[];const R=[];const j=[];let $;for(let q=0;q0){R.push($===this.nodes[q-1]?this.similarities[q-1]:similarity($.key,G.key))}N.push(G);$=G}}if(j.length===this.nodes.length)return undefined;this.nodes=N;this.similarities=R;this.size=sumSize(N);return j}}const getSimilarities=E=>{const N=[];let R=undefined;for(const j of E){if(R!==undefined){N.push(similarity(R.key,j.key))}R=j}return N};E.exports=({maxSize:E,minSize:N,items:R,getSize:j,getKey:$})=>{const q=[];const G=Array.from(R,(E=>new Node(E,$(E),j(E))));const ie=[];G.sort(((E,N)=>{if(E.keyN.key)return 1;return 0}));for(const R of G){if(isTooBig(R.size,E)&&!isTooSmall(R.size,N)){q.push(new Group([R],[]))}else{ie.push(R)}}if(ie.length>0){const R=new Group(ie,getSimilarities(ie));const removeProblematicNodes=(E,R=E.size)=>{const j=getTooSmallTypes(R,N);if(j.size>0){const N=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(N===undefined)return false;const R=q.filter((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(R.length>0){const E=R.reduce(((E,N)=>{const R=getNumberOfMatchingSizeTypes(E,j);const $=getNumberOfMatchingSizeTypes(N,j);if(R!==$)return R<$?N:E;if(selectiveSizeSum(E.size,j)>selectiveSizeSum(N.size,j))return N;return E}));for(const R of N)E.nodes.push(R);E.nodes.sort(((E,N)=>{if(E.keyN.key)return 1;return 0}))}else{q.push(new Group(N,null))}return true}else{return false}};if(R.nodes.length>0){const j=[R];while(j.length){const R=j.pop();if(!isTooBig(R.size,E)){q.push(R);continue}if(removeProblematicNodes(R)){j.push(R);continue}let $=1;let G=Object.create(null);addSizeTo(G,R.nodes[0].size);while($=0&&isTooSmall(ae,N)){addSizeTo(ae,R.nodes[ie].size);ie--}if($-1>ie){let E;if(ie{if(E.nodes[0].keyN.nodes[0].key)return 1;return 0}));const ae=new Set;for(let E=0;E({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const N=E.indexOf("@");return[E.substring(N+1),E.substring(0,N)]}},62598:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=N;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,G)=>{const ie=new Map;for(const N of E){const E=new Node(N);ie.set(N,E)}if(ie.size<=1)return E;for(const E of ie.values()){for(const N of G(E.item)){const R=ie.get(N);if(R!==undefined){E.dependencies.add(R)}}}const ae=new Set;const ce=new Set;for(const E of ie.values()){if(E.marker===N){E.marker=R;const G=[{node:E,openEdges:Array.from(E.dependencies)}];while(G.length>0){const E=G[G.length-1];if(E.openEdges.length>0){const ie=E.openEdges.pop();switch(ie.marker){case N:G.push({node:ie,openEdges:Array.from(ie.dependencies)});ie.marker=R;break;case R:{let E=ie.cycle;if(!E){E=new Cycle;E.nodes.add(ie);ie.cycle=E}for(let N=G.length-1;G[N].node!==ie;N--){const R=G[N].node;if(R.cycle){if(R.cycle!==E){for(const N of R.cycle.nodes){N.cycle=E;E.nodes.add(N)}}}else{R.cycle=E;E.nodes.add(R)}}break}case q:ie.marker=j;ae.delete(ie);break;case $:ce.delete(ie.cycle);ie.marker=j;break}}else{G.pop();E.node.marker=j}}const ie=E.cycle;if(ie){for(const E of ie.nodes){E.marker=$}ce.add(ie)}else{E.marker=q;ae.add(E)}}}for(const E of ce){let N=0;const R=new Set;const j=E.nodes;for(const E of j){for(const $ of E.dependencies){if(j.has($)){$.incoming++;if($.incomingN){R.clear();N=$.incoming}R.add($)}}}for(const E of R){ae.add(E)}}if(ae.size>0){return Array.from(ae,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,N,R)=>{"use strict";const j=R(71017);const relative=(E,N,R)=>{if(E&&E.relative){return E.relative(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.relative(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.relative(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};N.relative=relative;const join=(E,N,R)=>{if(E&&E.join){return E.join(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.join(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.join(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};N.join=join;const dirname=(E,N)=>{if(E&&E.dirname){return E.dirname(N)}else if(j.posix.isAbsolute(N)){return j.posix.dirname(N)}else if(j.win32.isAbsolute(N)){return j.win32.dirname(N)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};N.dirname=dirname;const mkdirp=(E,N,R)=>{E.mkdir(N,(j=>{if(j){if(j.code==="ENOENT"){const $=dirname(E,N);if($===N){R(j);return}mkdirp(E,$,(j=>{if(j){R(j);return}E.mkdir(N,(E=>{if(E){if(E.code==="EEXIST"){R();return}R(E);return}R()}))}));return}else if(j.code==="EEXIST"){R();return}R(j);return}R()}))};N.mkdirp=mkdirp;const mkdirpSync=(E,N)=>{try{E.mkdirSync(N)}catch(R){if(R){if(R.code==="ENOENT"){const j=dirname(E,N);if(j===N){throw R}mkdirpSync(E,j);E.mkdirSync(N);return}else if(R.code==="EEXIST"){return}throw R}}};N.mkdirpSync=mkdirpSync;const readJson=(E,N,R)=>{if("readJson"in E)return E.readJson(N,R);E.readFile(N,((E,N)=>{if(E)return R(E);let j;try{j=JSON.parse(N.toString("utf-8"))}catch(E){return R(E)}return R(null,j)}))};N.readJson=readJson;const lstatReadlinkAbsolute=(E,N,R)=>{let j=3;const doReadLink=()=>{E.readlink(N,(($,q)=>{if($&&--j>0){return doStat()}if($||!q)return doStat();const G=q.toString();R(null,join(E,dirname(E,N),G))}))};const doStat=()=>{if("lstat"in E){return E.lstat(N,((E,N)=>{if(E)return R(E);if(N.isSymbolicLink()){return doReadLink()}R(null,N)}))}else{return E.stat(N,R)}};if("lstat"in E)return doStat();doReadLink()};N.lstatReadlinkAbsolute=lstatReadlinkAbsolute},89312:(E,N,R)=>{"use strict";const j=R(75066);const $=R(27100).MAX_SHORT_STRING;class BatchedHash extends j{constructor(E){super();this.string=undefined;this.encoding=undefined;this.hash=E}update(E,N){if(this.string!==undefined){if(typeof E==="string"&&N===this.encoding&&this.string.length+E.length<$){this.string+=E;return this}this.hash.update(this.string,this.encoding);this.string=undefined}if(typeof E==="string"){if(E.length<$&&(!N||!N.startsWith("ba"))){this.string=E;this.encoding=N}else{this.hash.update(E,N)}}else{this.hash.update(E)}return this}digest(E){if(this.string!==undefined){this.hash.update(this.string,this.encoding)}return this.hash.digest(E)}}E.exports=BatchedHash},90526:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));E.exports=j.bind(null,$,[],64,32)},27100:E=>{"use strict";const N=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(E,N,R,j){const $=E.exports;$.init();this.exports=$;this.mem=Buffer.from($.memory.buffer,0,65536);this.buffered=0;this.instancesPool=N;this.chunkSize=R;this.digestSize=j}reset(){this.buffered=0;this.exports.init()}update(E,R){if(typeof E==="string"){while(E.length>N){this._updateWithShortString(E.slice(0,N),R);E=E.slice(N)}this._updateWithShortString(E,R);return this}this._updateWithBuffer(E);return this}_updateWithShortString(E,N){const{exports:R,buffered:j,mem:$,chunkSize:q}=this;let G;if(E.length<70){if(!N||N==="utf-8"||N==="utf8"){G=j;for(let R=0;R>6|192;$[G+1]=j&63|128;G+=2}else{G+=$.write(E.slice(R),G,N);break}}}else if(N==="latin1"){G=j;for(let N=0;N0)$.copyWithin(0,E,G)}}_updateWithBuffer(E){const{exports:N,buffered:R,mem:j}=this;const $=E.length;if(R+$65536){let $=65536-R;E.copy(j,R,0,$);N.update(65536);const G=q-R-65536;while($0)E.copy(j,0,$-G,$)}}digest(E){const{exports:N,buffered:R,mem:j,digestSize:$}=this;N.final(R);this.instancesPool.push(this);const q=j.toString("latin1",0,$);if(E==="hex")return q;if(E==="binary"||!E)return Buffer.from(q,"hex");return Buffer.from(q,"hex").toString(E)}}const create=(E,N,R,j)=>{if(N.length>0){const E=N.pop();E.reset();return E}else{return new WasmHash(new WebAssembly.Instance(E),N,R,j)}};E.exports=create;E.exports.MAX_SHORT_STRING=N},92976:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));E.exports=j.bind(null,$,[],32,16)},49197:(E,N,R)=>{"use strict";const j=R(71017);const $=/^[a-zA-Z]:[\\/]/;const q=/([|!])/;const G=/\\/g;const relativePathToRequest=E=>{if(E==="")return"./.";if(E==="..")return"../.";if(E.startsWith("../"))return E;return`./${E}`};const absoluteToRequest=(E,N)=>{if(N[0]==="/"){if(N.length>1&&N[N.length-1]==="/"){return N}const R=N.indexOf("?");let $=R===-1?N:N.slice(0,R);$=relativePathToRequest(j.posix.relative(E,$));return R===-1?$:$+N.slice(R)}if($.test(N)){const R=N.indexOf("?");let q=R===-1?N:N.slice(0,R);q=j.win32.relative(E,q);if(!$.test(q)){q=relativePathToRequest(q.replace(G,"/"))}return R===-1?q:q+N.slice(R)}return N};const requestToAbsolute=(E,N)=>{if(N.startsWith("./")||N.startsWith("../"))return j.join(E,N);return N};const makeCacheable=E=>{const N=new WeakMap;const cachedFn=(R,j,$)=>{if(!$)return E(R,j);let q=N.get($);if(q===undefined){q=new Map;N.set($,q)}let G;let ie=q.get(R);if(ie===undefined){q.set(R,ie=new Map)}else{G=ie.get(j)}if(G!==undefined){return G}else{const N=E(R,j);ie.set(j,N);return N}};cachedFn.bindCache=R=>{let j;if(R){j=N.get(R);if(j===undefined){j=new Map;N.set(R,j)}}else{j=new Map}const boundFn=(N,R)=>{let $;let q=j.get(N);if(q===undefined){j.set(N,q=new Map)}else{$=q.get(R)}if($!==undefined){return $}else{const j=E(N,R);q.set(R,j);return j}};return boundFn};cachedFn.bindContextCache=(R,j)=>{let $;if(j){let E=N.get(j);if(E===undefined){E=new Map;N.set(j,E)}$=E.get(R);if($===undefined){E.set(R,$=new Map)}}else{$=new Map}const boundFn=N=>{const j=$.get(N);if(j!==undefined){return j}else{const j=E(R,N);$.set(N,j);return j}};return boundFn};return cachedFn};const _makePathsRelative=(E,N)=>N.split(q).map((N=>absoluteToRequest(E,N))).join("");N.makePathsRelative=makeCacheable(_makePathsRelative);const _makePathsAbsolute=(E,N)=>N.split(q).map((N=>requestToAbsolute(E,N))).join("");N.makePathsAbsolute=makeCacheable(_makePathsAbsolute);const _contextify=(E,N)=>N.split("!").map((N=>absoluteToRequest(E,N))).join("!");const ie=makeCacheable(_contextify);N.contextify=ie;const _absolutify=(E,N)=>N.split("!").map((N=>requestToAbsolute(E,N))).join("!");const ae=makeCacheable(_absolutify);N.absolutify=ae;const ce=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const N=ce.exec(E);return{resource:E,path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}};N.parseResource=(E=>{const N=new WeakMap;const getCache=E=>{const R=N.get(E);if(R!==undefined)return R;const j=new Map;N.set(E,j);return j};const fn=(N,R)=>{if(!R)return E(N);const j=getCache(R);const $=j.get(N);if($!==undefined)return $;const q=E(N);j.set(N,q);return q};fn.bindCache=N=>{const R=getCache(N);return N=>{const j=R.get(N);if(j!==undefined)return j;const $=E(N);R.set(N,$);return $}};return fn})(_parseResource);N.getUndoPath=(E,N,R)=>{let j=-1;let $="";N=N.replace(/[\\/]$/,"");for(const R of E.split(/[/\\]+/)){if(R===".."){if(j>-1){j--}else{const E=N.lastIndexOf("/");const R=N.lastIndexOf("\\");const j=E<0?R:R<0?E:Math.max(E,R);if(j<0)return N+"/";$=N.slice(j+1)+"/"+$;N=N.slice(0,j)}}else if(R!=="."){j++}}return j>0?`${"../".repeat(j)}${$}`:R?`./${$}`:$}},90331:(E,N,R)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>R(98221),CommentCompilationWarning:()=>R(47207),ContextModule:()=>R(58126),"cache/PackFileCacheStrategy":()=>R(83793),"cache/ResolverCachePlugin":()=>R(13653),"container/ContainerEntryDependency":()=>R(76041),"container/ContainerEntryModule":()=>R(89591),"container/ContainerExposedDependency":()=>R(4523),"container/FallbackDependency":()=>R(27426),"container/FallbackItemDependency":()=>R(55525),"container/FallbackModule":()=>R(13386),"container/RemoteModule":()=>R(68679),"container/RemoteToExternalDependency":()=>R(44742),"dependencies/AMDDefineDependency":()=>R(46960),"dependencies/AMDRequireArrayDependency":()=>R(95715),"dependencies/AMDRequireContextDependency":()=>R(38145),"dependencies/AMDRequireDependenciesBlock":()=>R(83842),"dependencies/AMDRequireDependency":()=>R(45167),"dependencies/AMDRequireItemDependency":()=>R(29022),"dependencies/CachedConstDependency":()=>R(59455),"dependencies/CreateScriptUrlDependency":()=>R(7257),"dependencies/CommonJsRequireContextDependency":()=>R(51454),"dependencies/CommonJsExportRequireDependency":()=>R(1248),"dependencies/CommonJsExportsDependency":()=>R(26702),"dependencies/CommonJsFullRequireDependency":()=>R(87519),"dependencies/CommonJsRequireDependency":()=>R(37313),"dependencies/CommonJsSelfReferenceDependency":()=>R(94147),"dependencies/ConstDependency":()=>R(66298),"dependencies/ContextDependency":()=>R(400),"dependencies/ContextElementDependency":()=>R(90872),"dependencies/CriticalDependencyWarning":()=>R(75314),"dependencies/DelegatedSourceDependency":()=>R(49422),"dependencies/DllEntryDependency":()=>R(95189),"dependencies/EntryDependency":()=>R(66583),"dependencies/ExportsInfoDependency":()=>R(51420),"dependencies/HarmonyAcceptDependency":()=>R(27790),"dependencies/HarmonyAcceptImportDependency":()=>R(80654),"dependencies/HarmonyCompatibilityDependency":()=>R(54290),"dependencies/HarmonyExportExpressionDependency":()=>R(55037),"dependencies/HarmonyExportHeaderDependency":()=>R(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>R(44576),"dependencies/HarmonyExportSpecifierDependency":()=>R(14696),"dependencies/HarmonyImportSideEffectDependency":()=>R(69707),"dependencies/HarmonyImportSpecifierDependency":()=>R(2230),"dependencies/ImportContextDependency":()=>R(4828),"dependencies/ImportDependency":()=>R(20013),"dependencies/ImportEagerDependency":()=>R(75708),"dependencies/ImportWeakDependency":()=>R(12849),"dependencies/JsonExportsDependency":()=>R(38895),"dependencies/LocalModule":()=>R(77230),"dependencies/LocalModuleDependency":()=>R(14229),"dependencies/ModuleDecoratorDependency":()=>R(2706),"dependencies/ModuleHotAcceptDependency":()=>R(21809),"dependencies/ModuleHotDeclineDependency":()=>R(73158),"dependencies/ImportMetaHotAcceptDependency":()=>R(76302),"dependencies/ImportMetaHotDeclineDependency":()=>R(5389),"dependencies/ProvidedDependency":()=>R(1335),"dependencies/PureExpressionDependency":()=>R(53567),"dependencies/RequireContextDependency":()=>R(19204),"dependencies/RequireEnsureDependenciesBlock":()=>R(15196),"dependencies/RequireEnsureDependency":()=>R(15427),"dependencies/RequireEnsureItemDependency":()=>R(81058),"dependencies/RequireHeaderDependency":()=>R(70340),"dependencies/RequireIncludeDependency":()=>R(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>R(1913),"dependencies/RequireResolveContextDependency":()=>R(84817),"dependencies/RequireResolveDependency":()=>R(76913),"dependencies/RequireResolveHeaderDependency":()=>R(23380),"dependencies/RuntimeRequirementsDependency":()=>R(35424),"dependencies/StaticExportsDependency":()=>R(96076),"dependencies/SystemPlugin":()=>R(62630),"dependencies/UnsupportedDependency":()=>R(12584),"dependencies/URLDependency":()=>R(66444),"dependencies/WebAssemblyExportImportedDependency":()=>R(30697),"dependencies/WebAssemblyImportDependency":()=>R(33081),"dependencies/WebpackIsIncludedDependency":()=>R(46715),"dependencies/WorkerDependency":()=>R(89017),"json/JsonData":()=>R(72055),"optimize/ConcatenatedModule":()=>R(95734),DelegatedModule:()=>R(3955),DependenciesBlock:()=>R(32448),DllModule:()=>R(44593),ExternalModule:()=>R(16734),FileSystemInfo:()=>R(22996),InitFragment:()=>R(63272),InvalidDependenciesModuleWarning:()=>R(49619),Module:()=>R(53453),ModuleBuildError:()=>R(26509),ModuleDependencyWarning:()=>R(23280),ModuleError:()=>R(91613),ModuleGraph:()=>R(75412),ModuleParseError:()=>R(14489),ModuleWarning:()=>R(8893),NormalModule:()=>R(53520),RawModule:()=>R(22804),"sharing/ConsumeSharedModule":()=>R(21606),"sharing/ConsumeSharedFallbackDependency":()=>R(86827),"sharing/ProvideSharedModule":()=>R(99114),"sharing/ProvideSharedDependency":()=>R(56049),"sharing/ProvideForSharedDependency":()=>R(31095),UnsupportedFeatureWarning:()=>R(53558),"util/LazySet":()=>R(83379),UnhandledSchemeError:()=>R(77090),NodeStuffInWebError:()=>R(39960),WebpackError:()=>R(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,N,R)=>{"use strict";const{register:j}=R(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,N){E.serialize(N)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const N=new this.Constructor;N.deserialize(E);return N}}E.exports=(E,N,R=null)=>{j(E,N,R,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let N=false;let R=undefined;return()=>{if(N){return R}else{R=E();N=true;E=undefined;return R}}};E.exports=memoize},12631:E=>{"use strict";const N=2147483648;const R=N-1;const j=4;const $=[0,0,0,0,0];const q=[3,7,17,19];E.exports=(E,G)=>{$.fill(0);for(let N=0;N>1}}if(G<=R){let E=0;for(let N=0;N{"use strict";const processAsyncTree=(E,N,R,j)=>{const $=Array.from(E);if($.length===0)return j();let q=0;let G=false;let ie=true;const push=E=>{$.push(E);if(!ie&&q{q--;if(E&&!G){G=true;j(E);return}if(!ie){ie=true;process.nextTick(processQueue)}};const processQueue=()=>{if(G)return;while(q0){q++;const E=$.pop();R(E,push,processorCallback)}ie=false;if($.length===0&&q===0&&!G){G=true;j()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const N=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const R=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","enum","implements","interface","let","package","private","protected","public","static","yield","yield","await","null","true","false"]);const propertyAccess=(E,j=0)=>{let $="";for(let q=j;q{"use strict";const{register:j}=R(24568);const $=R(20976).Position;const q=R(20976).SourceLocation;const G=R(24672)["default"];const{CachedSource:ie,ConcatSource:ae,OriginalSource:ce,PrefixSource:le,RawSource:_e,ReplaceSource:Te,SourceMapSource:Ee}=R(2991);const we="webpack/lib/util/registerExternalSerializer";j(ie,we,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:N,writeLazy:R}){if(R){R(E.originalLazy())}else{N(E.original())}N(E.getCachedData())}deserialize({read:E}){const N=E();const R=E();return new ie(N,R)}});j(_e,we,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:N}){N(E.buffer());N(!E.isBuffer())}deserialize({read:E}){const N=E();const R=E();return new _e(N,R)}});j(ae,we,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:N}){N(E.getChildren())}deserialize({read:E}){const N=new ae;N.addAllSkipOptimizing(E());return N}});j(le,we,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:N}){N(E.getPrefix());N(E.original())}deserialize({read:E}){return new le(E(),E())}});j(Te,we,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:N}){N(E.original());N(E.getName());const R=E.getReplacements();N(R.length);for(const E of R){N(E.start);N(E.end)}for(const E of R){N(E.content);N(E.name)}}deserialize({read:E}){const N=new Te(E(),E());const R=E();const j=[];for(let N=0;N{"use strict";const j=R(16102);N.getEntryRuntime=(E,N,R)=>{let j;let $;if(R){({dependOn:j,runtime:$}=R)}else{const R=E.entries.get(N);if(!R)return N;({dependOn:j,runtime:$}=R.options)}if(j){let R=undefined;const $=new Set(j);for(const N of $){const j=E.entries.get(N);if(!j)continue;const{dependOn:q,runtime:G}=j.options;if(q){for(const E of q){$.add(E)}}else{R=mergeRuntimeOwned(R,G||N)}}return R||N}else{return $||N}};N.forEachRuntime=(E,N,R=false)=>{if(E===undefined){N(undefined)}else if(typeof E==="string"){N(E)}else{if(R)E.sort();for(const R of E){N(R)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};N.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const N=E.split("\n");if(N.length===1)return N[0];return new j(N)};N.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};N.runtimeToString=runtimeToString;N.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,N)=>{if(E===N){return true}else if(E===undefined||N===undefined||typeof E==="string"||typeof N==="string"){return false}else if(E.size!==N.size){return false}else{E.sort();N.sort();const R=E[Symbol.iterator]();const j=N[Symbol.iterator]();for(;;){const E=R.next();if(E.done)return true;const N=j.next();if(E.value!==N.value)return false}}};N.runtimeEqual=runtimeEqual;N.compareRuntime=(E,N)=>{if(E===N){return 0}else if(E===undefined){return-1}else if(N===undefined){return 1}else{const R=getRuntimeKey(E);const j=getRuntimeKey(N);if(Rj)return 1;return 0}};const mergeRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else if(N.has(E)){return N}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){if(E.has(N))return E;const R=new j(E);R.add(N);return R}else{const R=new j(E);for(const E of N)R.add(E);if(R.size===E.size)return E;return R}}};N.mergeRuntime=mergeRuntime;N.mergeRuntimeCondition=(E,N,R)=>{if(E===false)return N;if(N===false)return E;if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};N.mergeRuntimeConditionNonFalse=(E,N,R)=>{if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};const mergeRuntimeOwned=(E,N)=>{if(N===undefined){return E}else if(E===N){return E}else if(E===undefined){if(typeof N==="string"){return N}else{return new j(N)}}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){E.add(N);return E}else{for(const R of N)E.add(R);return E}}};N.mergeRuntimeOwned=mergeRuntimeOwned;N.intersectRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){return undefined}else if(N.has(E)){return E}else{return undefined}}else{if(typeof N==="string"){if(E.has(N))return N;return undefined}else{const R=new j;for(const j of N){if(E.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};const subtractRuntime=(E,N)=>{if(E===undefined){return undefined}else if(N===undefined){return E}else if(E===N){return undefined}else if(typeof E==="string"){if(typeof N==="string"){return E}else if(N.has(E)){return undefined}else{return E}}else{if(typeof N==="string"){if(!E.has(N))return E;if(E.size===2){for(const R of E){if(R!==N)return R}}const R=new j(E);R.delete(N)}else{const R=new j;for(const j of E){if(!N.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};N.subtractRuntime=subtractRuntime;N.subtractRuntimeCondition=(E,N,R)=>{if(N===true)return false;if(N===false)return E;if(E===false)return false;const j=subtractRuntime(E===true?R:E,N);return j===undefined?false:j};N.filterRuntime=(E,N)=>{if(E===undefined)return N(undefined);if(typeof E==="string")return N(E);let R=false;let j=true;let $=undefined;for(const q of E){const E=N(q);if(E){R=true;$=mergeRuntimeOwned($,q)}else{j=false}}if(!R)return false;if(j)return true;return $};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=N;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),N)}}provide(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=N();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const R=N();this._map.set(getRuntimeKey(E),R);return R}default:{const R=getRuntimeKey(E);const j=this._map.get(R);if(j!==undefined)return j;const $=N();this._map.set(R,$);return $}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,N){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N(this._singleValue);break}const R=N(undefined);if(R!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),R)}break}default:{const R=getRuntimeKey(E);const j=this._map.get(R);const $=N(j);if($!==j)this._map.set(R,$)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}N.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const N of E){this.add(N)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}N.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,N){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var R=N[1]?splitAndConvert(N[1]):[];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}if(N[3]){R.push([]);R.push.apply(R,splitAndConvert(N[3]))}return R};N.parseVersion=parseVersion;const versionLt=(E,N)=>{E=parseVersion(E);N=parseVersion(N);var R=0;for(;;){if(R>=E.length)return R=N.length)return $=="u";var q=N[R];var G=(typeof q)[0];if($==G){if($!="o"&&$!="u"&&j!=q){return j{const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const R=N[1]?[0,...splitAndConvert(N[1])]:[0];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}let j=R[R.length-1];while(R.length&&(j===undefined||/^[*xX]$/.test(j))){R.pop();j=R[R.length-1]}return R};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const N=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const R=N?N[0]:"";const j=parsePartial(E.slice(R.length));switch(R){case"^":if(j.length>1&&j[1]===0){if(j.length>2&&j[2]===0){return[3,...j.slice(1)]}return[2,...j.slice(1)]}return[1,...j.slice(1)];case"~":return[2,...j.slice(1)];case">=":return j;case"=":case"v":case"":return toFixed(j);case"<":return negate(j);case">":{const E=toFixed(j);return[,E,0,j,2]}case"<=":return[,toFixed(j),negate(j),1];case"!":{const E=toFixed(j);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,N)=>{if(E.length===1)return E[0];const R=[];for(const N of E.slice().reverse()){if(0 in N){R.push(N)}else{R.push(...N.slice(1))}}return[,...R,...E.slice(1).map((()=>N))]};const parseRange=E=>{const N=E.split(" - ");if(N.length===1){const N=E.trim().split(/\s+/g).map(parseSimple);return combine(N,2)}const R=parsePartial(N[0]);const j=parsePartial(N[1]);return[,toFixed(j),negate(j),1,R,2]};const parseLogicalOr=E=>{const N=E.split(/\s*\|\|\s*/).map(parseRange);return combine(N,1)};return parseLogicalOr(E)};const rangeToString=E=>{var N=E[0];var R="";if(E.length===1){return"*"}else if(N+.5){R+=N==0?">=":N==-1?"<":N==1?"^":N==2?"~":N>0?"=":"!=";var j=1;for(var $=1;$0?".":"")+(j=2,q)}return R}else{var ie=[];for(var $=1;${if(0 in E){N=parseVersion(N);var R=E[0];var j=R<0;if(j)R=-R-1;for(var $=0,q=1,G=true;;q++,$++){var ie=q=N.length||(ae=N[$],(ce=(typeof ae)[0])=="o")){if(!G)return true;if(ie=="u")return q>R&&!j;return ie==""!=j}if(ce=="u"){if(!G||ie!="u"){return false}}else if(G){if(ie==ce){if(q<=R){if(ae!=E[q]){return false}}else{if(j?ae>E[q]:ae{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let N="[";for(let R=0;R`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;N.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const j=R(91671);const $=j((()=>R(88692)));const q=j((()=>R(30991)));const G=j((()=>R(79308)));const ie=j((()=>R(15261)));const ae=j((()=>R(43065)));const ce=j((()=>new($())));const le=j((()=>{R(48077);const E=R(90331);q().registerLoader(/^webpack\/lib\//,(N=>{const R=E[N.slice("webpack/lib/".length)];if(R){R()}else{console.warn(`${N} not found in internalSerializables`)}return true}))}));let _e;E.exports={get register(){return q().register},get registerLoader(){return q().registerLoader},get registerNotSerializable(){return q().registerNotSerializable},get NOT_SERIALIZABLE(){return q().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return $().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return $().MEASURE_END_OPERATION},get buffersSerializer(){if(_e!==undefined)return _e;le();const E=ie();const N=ce();const R=ae();const j=G();return _e=new E([new j,new(q())((E=>{if(E.write){E.writeLazy=j=>{E.write(R.createLazy(j,N))}}}),"md4"),N])},createFileSerializer:(E,N)=>{le();const j=ie();const $=R(13829);const _e=new $(E,N);const Te=ce();const Ee=ae();const we=G();return new j([new we,new(q())((E=>{if(E.write){E.writeLazy=N=>{E.write(Ee.createLazy(N,Te))};E.writeSeparate=(N,R)=>{const j=Ee.createLazy(N,_e,R);E.write(j);return j}}}),N),Te,_e])}}},93695:E=>{"use strict";const smartGrouping=(E,N)=>{const R=new Set;const j=new Map;for(const $ of E){const E=new Set;for(let R=0;R{const N=E.size;for(const N of E){for(const E of N.groups){if(E.alreadyGrouped)continue;const R=E.items;if(R===undefined){E.items=new Set([N])}else{R.add(N)}}}const R=new Map;for(const E of j.values()){if(E.items){const N=E.items;E.items=undefined;R.set(E,{items:N,options:undefined,used:false})}}const $=[];for(;;){let j=undefined;let q=-1;let G=undefined;let ie=undefined;for(const[$,ae]of R){const{items:R,used:ce}=ae;let le=ae.options;if(le===undefined){const E=$.config;ae.options=le=E.getOptions&&E.getOptions($.name,Array.from(R,(({item:E})=>E)))||false}const _e=le&&le.force;if(!_e){if(ie&&ie.force)continue;if(ce)continue;if(R.size<=1||N-R.size<=1){continue}}const Te=le&&le.targetGroupCount||4;let Ee=_e?R.size:Math.min(R.size,N*2/Te+E.size-R.size);if(Ee>q||_e&&(!ie||!ie.force)){j=$;q=Ee;G=R;ie=le}}if(j===undefined){break}const ae=new Set(G);const ce=ie;const le=!ce||ce.groupChildren!==false;for(const N of ae){E.delete(N);for(const E of N.groups){const j=R.get(E);if(j!==undefined){j.items.delete(N);if(j.items.size===0){R.delete(E)}else{j.options=undefined;if(le){j.used=true}}}}}R.delete(j);const _e=j.name;const Te=j.config;const Ee=Array.from(ae,(({item:E})=>E));j.alreadyGrouped=true;const we=le?runGrouping(ae):Ee;j.alreadyGrouped=false;$.push(Te.createGroup(_e,we,Ee))}for(const{item:N}of E){$.push(N)}return $};return runGrouping(R)};E.exports=smartGrouping},13559:(E,N)=>{"use strict";const R=new WeakMap;const _isSourceEqual=(E,N)=>{let R=typeof E.buffer==="function"?E.buffer():E.source();let j=typeof N.buffer==="function"?N.buffer():N.source();if(R===j)return true;if(typeof R==="string"&&typeof j==="string")return false;if(!Buffer.isBuffer(R))R=Buffer.from(R,"utf-8");if(!Buffer.isBuffer(j))j=Buffer.from(j,"utf-8");return R.equals(j)};const isSourceEqual=(E,N)=>{if(E===N)return true;const j=R.get(E);if(j!==undefined){const E=j.get(N);if(E!==undefined)return E}const $=_isSourceEqual(E,N);if(j!==undefined){j.set(N,$)}else{const j=new WeakMap;j.set(N,$);R.set(E,j)}const q=R.get(N);if(q!==undefined){q.set(E,$)}else{const j=new WeakMap;j.set(E,$);R.set(N,j)}return $};N.isSourceEqual=isSourceEqual},33316:(E,N,R)=>{"use strict";const{validate:j}=R(15235);const $={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const q={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,N,R)=>{j(E,N,R||{name:"Webpack",postFormatter:(E,N)=>{const R=N.children;if(R&&R.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(R&&R.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(N.keyword==="additionalProperties"){const R=N.params;if(Object.prototype.hasOwnProperty.call($,R.additionalProperty)){return`${E}\nDid you mean ${$[R.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(q,R.additionalProperty)){return`${E}\n${q[R.additionalProperty]}?`}if(!N.dataPath){if(R.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(R.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${R.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},34943:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AsyncWasmLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N}){super("wasm loading",$.STAGE_NORMAL);this.generateLoadBinaryCode=E;this.supportsStreaming=N}generate(){const{compilation:E,chunk:N}=this;const{outputOptions:R,runtimeTemplate:$}=E;const G=j.instantiateWasm;const ie=E.getPath(JSON.stringify(R.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:N.runtime});return`${G} = ${$.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ie)};`,this.supportsStreaming?q.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",q.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",q.indent([`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",q.indent([`.then(${$.returningFunction("x.arrayBuffer()","x")})`,`.then(${$.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmLoadingRuntimeModule},10136:(E,N,R)=>{"use strict";const j=R(36253);const $=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends j{constructor(E){super();this.options=E}getTypes(E){return $}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,N){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(36253);const q=R(63272);const G=R(76150);const ie=R(58159);const ae=R(33081);const ce=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends ${constructor(E){super();this.filenameTemplate=E}getTypes(E){return ce}getSize(E,N){return 40+E.dependencies.length*10}generate(E,N){const{runtimeTemplate:R,chunkGraph:$,moduleGraph:ce,runtimeRequirements:le,runtime:_e}=N;le.add(G.module);le.add(G.moduleId);le.add(G.exports);le.add(G.instantiateWasm);const Te=[];const Ee=new Map;const we=new Map;for(const N of E.dependencies){if(N instanceof ae){const E=ce.getModule(N);if(!Ee.has(E)){Ee.set(E,{request:N.request,importVar:`WEBPACK_IMPORTED_MODULE_${Ee.size}`})}let R=we.get(N.request);if(R===undefined){R=[];we.set(N.request,R)}R.push(N)}}const Ie=[];const Ne=Array.from(Ee,(([N,{request:j,importVar:q}])=>{if(ce.isAsync(N)){Ie.push(q)}return R.importStatement({update:false,module:N,chunkGraph:$,request:j,originModule:E,importVar:q,runtimeRequirements:le})}));const Me=Ne.map((([E])=>E)).join("");const Le=Ne.map((([E,N])=>N)).join("");const Be=Array.from(we,(([N,j])=>{const $=j.map((j=>{const $=ce.getModule(j);const q=Ee.get($).importVar;return`${JSON.stringify(j.name)}: ${R.exportFromImport({moduleGraph:ce,module:$,request:N,exportName:j.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:q,initFragments:Te,runtime:_e,runtimeRequirements:le})}`}));return ie.asString([`${JSON.stringify(N)}: {`,ie.indent($.join(",\n")),"}"])}));const je=Be.length>0?ie.asString(["{",ie.indent(Be.join(",\n")),"}"]):undefined;const Ue=`${G.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify($.getRenderedModuleHash(E,_e))}`+(je?`, ${je})`:`)`);if(Ie.length>0)le.add(G.asyncModule);const ze=new j(Ie.length>0?ie.asString([`var __webpack_instantiate__ = ${R.basicFunction(`[${Ie.join(", ")}]`,`${Le}return ${Ue};`)}`,`${G.asyncModule}(${E.moduleArgument}, ${R.basicFunction("__webpack_handle_async_dependencies__",[Me,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Ie.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Me}${Le}module.exports = ${Ue};`);return q.addToSource(ze,Te,N)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(36253);const{tryRunOrWebpackError:G}=R(3728);const ie=R(33081);const{compareModulesByIdentifier:ae}=R(68673);const ce=R(91671);const le=ce((()=>R(10136)));const _e=ce((()=>R(75462)));const Te=ce((()=>R(96263)));const Ee=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Ee.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"])};Ee.set(E,N)}return N}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{const R=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ie,N);N.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=Te();return new E}));N.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const N=_e();const R=le();return q.byType({javascript:new N(E.outputOptions.webassemblyModuleFilename),webassembly:new R(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,j)=>{const{moduleGraph:$,chunkGraph:q,runtimeTemplate:G}=E;const{chunk:ie,outputOptions:ce,dependencyTemplates:le,codeGenerationResults:_e}=j;for(const E of q.getOrderedChunkModulesIterable(ie,ae)){if(E.type==="webassembly/async"){const j=ce.webassemblyModuleFilename;N.push({render:()=>this.renderModule(E,{chunk:ie,dependencyTemplates:le,runtimeTemplate:G,moduleGraph:$,chunkGraph:q,codeGenerationResults:_e},R),filenameTemplate:j,pathOptions:{module:E,runtime:ie.runtime,chunkGraph:q},auxiliary:true,identifier:`webassemblyAsyncModule${q.getModuleId(E)}`,hash:q.getModuleHash(E,ie.runtime)})}}return N}))}))}renderModule(E,N,R){const{codeGenerationResults:j,chunk:$}=N;try{const q=j.getSource(E,$.runtime,"webassembly");return G((()=>R.renderModuleContent.call(q,E,N)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(N){N.module=E;throw N}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,N,R)=>{"use strict";const j=R(98093);const{decode:$}=R(73432);const q=R(2172);const G=R(96076);const ie=R(33081);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";N.module.buildMeta.async=true;const R=$(E,ae);const q=R.body[0];const ce=[];j.traverse(q,{ModuleExport({node:E}){ce.push(E.name)},ModuleImport({node:E}){const R=new ie(E.module,E.name,E.descr,false);N.module.addDependency(R)}});N.module.addDependency(new G(ce,false));return N}}E.exports=WebAssemblyParser},59422:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends j{constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G}=R(68673);const ie=R(20612);const getAllWasmModules=(E,N,R)=>{const j=R.getAllAsyncChunks();const $=[];for(const E of j){for(const R of N.getOrderedChunkModulesIterable(E,G)){if(R.type.startsWith("webassembly")){$.push(R)}}}return $};const generateImportObject=(E,N,R,$,G)=>{const ae=E.moduleGraph;const ce=new Map;const le=[];const _e=ie.getUsedDependencies(ae,N,R);for(const N of _e){const R=N.dependency;const ie=ae.getModule(R);const _e=R.name;const Te=ie&&ae.getExportsInfo(ie).getUsedName(_e,G);const Ee=R.description;const we=R.onlyDirectImport;const Ie=N.module;const Ne=N.name;if(we){const N=`m${ce.size}`;ce.set(N,E.getModuleId(ie));le.push({module:Ie,name:Ne,value:`${N}[${JSON.stringify(Te)}]`})}else{const N=Ee.signature.params.map(((E,N)=>"p"+N+E.valtype));const R=`${j.moduleCache}[${JSON.stringify(E.getModuleId(ie))}]`;const G=`${R}.exports`;const ae=`wasmImportedFuncCache${$.length}`;$.push(`var ${ae};`);le.push({module:Ie,name:Ne,value:q.asString([(ie.type.startsWith("webassembly")?`${R} ? ${G}[${JSON.stringify(Te)}] : `:"")+`function(${N}) {`,q.indent([`if(${ae} === undefined) ${ae} = ${G};`,`return ${ae}[${JSON.stringify(Te)}](${N});`]),"}"])})}}let Te;if(R){Te=["return {",q.indent([le.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const N of le){let R=E.get(N.module);if(R===undefined){E.set(N.module,R=[])}R.push(N)}Te=["return {",q.indent([Array.from(E,(([E,N])=>q.asString([`${JSON.stringify(E)}: {`,q.indent([N.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Ee=JSON.stringify(E.getModuleId(N));if(ce.size===1){const E=Array.from(ce.values())[0];const N=`installedWasmModules[${JSON.stringify(E)}]`;const R=Array.from(ce.keys())[0];return q.asString([`${Ee}: function() {`,q.indent([`return promiseResolve().then(function() { return ${N}; }).then(function(${R}) {`,q.indent(Te),"});"]),"},"])}else if(ce.size>0){const E=Array.from(ce.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const N=Array.from(ce.keys(),((E,N)=>`${E} = array[${N}]`)).join(", ");return q.asString([`${Ee}: function() {`,q.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,q.indent([`var ${N};`,...Te]),"});"]),"},"])}else{return q.asString([`${Ee}: function() {`,q.indent(Te),"},"])}};class WasmChunkLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N,mangleImports:R,runtimeRequirements:j}){super("wasm chunk loading",$.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=N;this.mangleImports=R;this._runtimeRequirements=j}generate(){const{chunkGraph:E,compilation:N,chunk:R,mangleImports:$}=this;const{moduleGraph:G,outputOptions:ae}=N;const ce=j.ensureChunkHandlers;const le=this._runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const _e=getAllWasmModules(G,E,R);const Te=[];const Ee=_e.map((N=>generateImportObject(E,N,this.mangleImports,Te,R.runtime)));const we=E.getChunkModuleIdMap(R,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>$?`{ ${JSON.stringify(ie.MANGLED_MODULE)}: ${E} }`:E;const Ie=N.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(N){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly")),N))}[chunkId][wasmModuleId] + "`}},runtime:R.runtime});const Ne=le?`${j.hmrRuntimeStatePrefix}_wasm`:undefined;return q.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Ne?`${Ne} = ${Ne} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",q.asString(Te),"var wasmImportObjects = {",q.indent(Ee),"};","",`var wasmModuleMap = ${JSON.stringify(we,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${j.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${ce}.wasm = function(chunkId, promises) {`,q.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",q.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",q.indent(["promises.push(installedWasmModuleData);"]),"else {",q.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Ie)};`,"var promise;",this.supportsStreaming?q.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",q.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",q.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):q.asString(["if(importObject && typeof importObject.then === 'function') {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",q.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",q.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",q.indent([`return ${j.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,N,R)=>{"use strict";const j=R(72380);const $=R(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(N=>{for(const R of N){if(R.type.startsWith("webassembly")===true){const N=R.buildMeta.jsIncompatibleExports;if(N===undefined){continue}for(const q of E.moduleGraph.getIncomingConnections(R)){if(q.isTargetActive(undefined)&&q.originModule.type.startsWith("webassembly")===false){const G=E.getDependencyReferencedExports(q.dependency,undefined);for(const ie of G){const G=Array.isArray(ie)?ie:ie.name;if(G.length===0)continue;const ae=G[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(N,ae)){const G=new $(`Export "${ae}" with ${N[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${q.originModule.readableIdentifier(E.requestShortener)} at ${j(q.dependency.loc)}.`);G.module=R;E.errors.push(G)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const $=R(36253);const q=R(20612);const G=R(98093);const{moduleContextFromModuleAST:ie}=R(98093);const{editWithAST:ae,addWithAST:ce}=R(226);const{decode:le}=R(73432);const _e=R(30697);const compose=(...E)=>E.reduce(((E,N)=>R=>N(E(R))),(E=>E));const removeStartFunc=E=>N=>ae(E.ast,N,{Start(E){E.remove()}});const getImportedGlobals=E=>{const N=[];G.traverse(E,{ModuleImport({node:E}){if(G.isGlobalType(E.descr)){N.push(E)}}});return N};const getCountImportedFunc=E=>{let N=0;G.traverse(E,{ModuleImport({node:E}){if(G.isFuncImportDescr(E.descr)){N++}}});return N};const getNextTypeIndex=E=>{const N=G.getSectionMetadata(E,"type");if(N===undefined){return G.indexLiteral(0)}return G.indexLiteral(N.vectorOfSize.value)};const getNextFuncIndex=(E,N)=>{const R=G.getSectionMetadata(E,"func");if(R===undefined){return G.indexLiteral(0+N)}const j=R.vectorOfSize.value;return G.indexLiteral(j+N)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return G.objectInstruction("const",E.valtype,[G.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return G.objectInstruction("const",E.valtype,[G.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>N=>{const R=E.additionalInitCode;const j=[];N=ae(E.ast,N,{ModuleImport(E){if(G.isGlobalType(E.node.descr)){const N=E.node.descr;N.mutability="var";const R=[createDefaultInitForGlobal(N),G.instruction("end")];j.push(G.global(N,R));E.remove()}},Global(E){const{node:N}=E;const[$]=N.init;if($.id==="get_global"){N.globalType.mutability="var";const E=$.args[0];N.init=[createDefaultInitForGlobal(N.globalType),G.instruction("end")];R.push(G.instruction("get_local",[E]),G.instruction("set_global",[G.indexLiteral(j.length)]))}j.push(N);E.remove()}});return ce(E.ast,N,j)};const rewriteExportNames=({ast:E,moduleGraph:N,module:R,externalExports:j,runtime:$})=>q=>ae(E,q,{ModuleExport(E){const q=j.has(E.node.name);if(q){E.remove();return}const G=N.getExportsInfo(R).getUsedName(E.node.name,$);if(!G){E.remove();return}E.node.name=G}});const rewriteImports=({ast:E,usedDependencyMap:N})=>R=>ae(E,R,{ModuleImport(E){const R=N.get(E.node.module+":"+E.node.name);if(R!==undefined){E.node.module=R.module;E.node.name=R.name}}});const addInitFunction=({ast:E,initFuncId:N,startAtFuncOffset:R,importedGlobals:j,additionalInitCode:$,nextFuncIndex:q,nextTypeIndex:ie})=>ae=>{const le=j.map((E=>{const N=G.identifier(`${E.module}.${E.name}`);return G.funcParam(E.descr.valtype,N)}));const _e=[];j.forEach(((E,N)=>{const R=[G.indexLiteral(N)];const j=[G.instruction("get_local",R),G.instruction("set_global",R)];_e.push(...j)}));if(typeof R==="number"){_e.push(G.callInstruction(G.numberLiteralFromRaw(R)))}for(const E of $){_e.push(E)}_e.push(G.instruction("end"));const Te=[];const Ee=G.signature(le,Te);const we=G.func(N,Ee,_e);const Ie=G.typeInstruction(undefined,Ee);const Ne=G.indexInFuncSection(ie);const Me=G.moduleExport(N.value,G.moduleExportDescr("Func",q));return ce(E,ae,[we,Me,Ne,Ie])};const getUsedDependencyMap=(E,N,R)=>{const j=new Map;for(const $ of q.getUsedDependencies(E,N,R)){const E=$.dependency;const N=E.request;const R=E.name;j.set(N+":"+R,$)}return j};const Te=new Set(["webassembly"]);class WebAssemblyGenerator extends ${constructor(E){super();this.options=E}getTypes(E){return Te}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,{moduleGraph:N,runtime:R}){const $=E.originalSource().source();const q=G.identifier("");const ae=le($,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const ce=ie(ae.body[0]);const Te=getImportedGlobals(ae);const Ee=getCountImportedFunc(ae);const we=ce.getStart();const Ie=getNextFuncIndex(ae,Ee);const Ne=getNextTypeIndex(ae);const Me=getUsedDependencyMap(N,E,this.options.mangleImports);const Le=new Set(E.dependencies.filter((E=>E instanceof _e)).map((E=>{const N=E;return N.exportName})));const Be=[];const je=compose(rewriteExportNames({ast:ae,moduleGraph:N,module:E,externalExports:Le,runtime:R}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:Be}),rewriteImports({ast:ae,usedDependencyMap:Me}),addInitFunction({ast:ae,initFuncId:q,importedGlobals:Te,additionalInitCode:Be,startAtFuncOffset:we,nextFuncIndex:Ie,nextTypeIndex:Ne}));const Ue=je($);const ze=Buffer.from(Ue);return new j(ze)}}E.exports=WebAssemblyGenerator},74167:(E,N,R)=>{"use strict";const j=R(81627);const getInitialModuleChains=(E,N,R,j)=>{const $=[{head:E,message:E.readableIdentifier(j)}];const q=new Set;const G=new Set;const ie=new Set;for(const E of $){const{head:ae,message:ce}=E;let le=true;const _e=new Set;for(const E of N.getIncomingConnections(ae)){const N=E.originModule;if(N){if(!R.getModuleChunks(N).some((E=>E.canBeInitial())))continue;le=false;if(_e.has(N))continue;_e.add(N);const q=N.readableIdentifier(j);const ae=E.explanation?` (${E.explanation})`:"";const Te=`${q}${ae} --\x3e ${ce}`;if(ie.has(N)){G.add(`... --\x3e ${Te}`);continue}ie.add(N);$.push({head:N,message:Te})}else{le=false;const N=E.explanation?`(${E.explanation}) --\x3e ${ce}`:ce;q.add(N)}}if(le){q.add(ce)}}for(const E of G){q.add(E)}return Array.from(q)};E.exports=class WebAssemblyInInitialChunkError extends j{constructor(E,N,R,j){const $=getInitialModuleChains(E,N,R,j);const q=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${$.map((E=>`* ${E}`)).join("\n")}`;super(q);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,N,R)=>{"use strict";const{RawSource:j}=R(2991);const{UsageState:$}=R(76632);const q=R(36253);const G=R(63272);const ie=R(76150);const ae=R(58159);const ce=R(79983);const le=R(30697);const _e=R(33081);const Te=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends q{getTypes(E){return Te}getSize(E,N){return 95+E.dependencies.length*5}generate(E,N){const{runtimeTemplate:R,moduleGraph:q,chunkGraph:Te,runtimeRequirements:Ee,runtime:we}=N;const Ie=[];const Ne=q.getExportsInfo(E);let Me=false;const Le=new Map;const Be=[];let je=0;for(const N of E.dependencies){const j=N&&N instanceof ce?N:undefined;if(q.getModule(N)){let $=Le.get(q.getModule(N));if($===undefined){Le.set(q.getModule(N),$={importVar:`m${je}`,index:je,request:j&&j.userRequest||undefined,names:new Set,reexports:[]});je++}if(N instanceof _e){$.names.add(N.name);if(N.description.type==="GlobalType"){const j=N.name;const G=q.getModule(N);if(G){const ie=q.getExportsInfo(G).getUsedName(j,we);if(ie){Be.push(R.exportFromImport({moduleGraph:q,module:G,request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Ee}))}}}}if(N instanceof le){$.names.add(N.name);const j=q.getExportsInfo(E).getUsedName(N.exportName,we);if(j){Ee.add(ie.exports);const G=`${E.exportsArgument}[${JSON.stringify(j)}]`;const ce=ae.asString([`${G} = ${R.exportFromImport({moduleGraph:q,module:q.getModule(N),request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Ee})};`,`if(WebAssembly.Global) ${G} = `+`new WebAssembly.Global({ value: ${JSON.stringify(N.valueType)} }, ${G});`]);$.reexports.push(ce);Me=true}}}}const Ue=ae.asString(Array.from(Le,(([E,{importVar:N,request:j,reexports:$}])=>{const q=R.importStatement({module:E,chunkGraph:Te,request:j,importVar:N,originModule:E,runtimeRequirements:Ee});return q[0]+q[1]+$.join("\n")})));const ze=Ne.otherExportsInfo.getUsed(we)===$.Unused&&!Me;Ee.add(ie.module);Ee.add(ie.moduleId);Ee.add(ie.wasmInstances);if(Ne.otherExportsInfo.getUsed(we)!==$.Unused){Ee.add(ie.makeNamespaceObject);Ee.add(ie.exports)}if(!ze){Ee.add(ie.exports)}const We=new j(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ie.wasmInstances}[${E.moduleArgument}.id];`,Ne.otherExportsInfo.getUsed(we)!==$.Unused?`${ie.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",ze?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${Be.join(", ")})`].join("\n"));return G.addToSource(We,Ie,N)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,N,R)=>{"use strict";const j=R(36253);const $=R(30697);const q=R(33081);const{compareModulesByIdentifier:G}=R(68673);const ie=R(91671);const ae=R(74167);const ce=ie((()=>R(56419)));const le=ie((()=>R(59363)));const _e=ie((()=>R(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set($,N);N.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();return new E}));N.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=le();const N=ce();return j.byType({javascript:new E,webassembly:new N(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,R)=>{const{chunkGraph:j}=E;const{chunk:$,outputOptions:q,codeGenerationResults:ie}=R;for(const E of j.getOrderedChunkModulesIterable($,G)){if(E.type==="webassembly/sync"){const R=q.webassemblyModuleFilename;N.push({render:()=>ie.getSource(E,$.runtime,"webassembly"),filenameTemplate:R,pathOptions:{module:E,runtime:$.runtime,chunkGraph:j},auxiliary:true,identifier:`webassemblyModule${j.getModuleId(E)}`,hash:j.getModuleHash(E,$.runtime)})}}return N}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const N=E.chunkGraph;const R=new Set;for(const j of E.chunks){if(j.canBeInitial()){for(const E of N.getChunkModulesIterable(j)){if(E.type==="webassembly/sync"){R.add(E)}}}}for(const N of R){E.errors.push(new ae(N,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,N,R)=>{"use strict";const j=R(98093);const{moduleContextFromModuleAST:$}=R(98093);const{decode:q}=R(73432);const G=R(2172);const ie=R(96076);const ae=R(30697);const ce=R(33081);const le=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const N of E.params){if(!le.has(N.valtype)){return`${N.valtype} as parameter`}}for(const N of E.results){if(!le.has(N))return`${N} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const N of E.args){if(!le.has(N)){return`${N} as parameter`}}for(const N of E.result){if(!le.has(N))return`${N} as result`}return null};const _e={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends G{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";const R=q(E,_e);const G=R.body[0];const Te=$(G);const Ee=[];let we=N.module.buildMeta.jsIncompatibleExports=undefined;const Ie=[];j.traverse(G,{ModuleExport({node:E}){const R=E.descr;if(R.exportType==="Func"){const j=R.id.value;const $=Te.getFunction(j);const q=getJsIncompatibleTypeOfFuncSignature($);if(q){if(we===undefined){we=N.module.buildMeta.jsIncompatibleExports={}}we[E.name]=q}}Ee.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const R=Ie[E.descr.id.value];if(R){const j=new ae(E.name,R.module,R.name,R.descr.valtype);N.module.addDependency(j)}}},Global({node:E}){const N=E.init[0];let R=null;if(N.id==="get_global"){const E=N.args[0].value;if(E{"use strict";const j=R(58159);const $=R(33081);const q="a";const getUsedDependencies=(E,N,R)=>{const G=[];let ie=0;for(const ae of N.dependencies){if(ae instanceof $){if(ae.description.type==="GlobalType"||E.getModule(ae)===null){continue}const N=ae.name;if(R){G.push({dependency:ae,name:j.numberToIdentifier(ie++),module:q})}else{G.push({dependency:ae,name:N,module:ae.request})}}}return G};N.getUsedDependencies=getUsedDependencies;N.MANGLED_MODULE=q},69085:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"fetch":{const N=R(71100);const j=R(52687);new N({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new j).apply(E);break}case"async-node":{const j=R(71049);const $=R(21273);new j({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new $({type:N}).apply(E);break}case"async-node-module":{const j=R(21273);new j({type:N,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${N}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,N,R)=>{"use strict";const j=R(76150);const $=R(34943);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,N,R)=>{"use strict";const j=R(76150);const $=R(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="jsonp"};const R=new WeakSet;const handler=(N,q)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(N,new $(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const ae=R(18161).chunkHasJs;const{getInitialChunkIds:ce}=R(13085);const le=R(87274);const _e=new WeakMap;class JsonpChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=_e.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};_e.set(E,N)}return N}constructor(E){super("jsonp chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:N,chunk:j}=this;const{runtimeTemplate:$,outputOptions:{globalObject:G,chunkLoadingGlobal:_e,hotUpdateGlobal:Te,crossOriginLoading:Ee,scriptType:we}}=N;const{linkPreload:Ie,linkPrefetch:Ne}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(N);const Me=q.ensureChunkHandlers;const Le=this._runtimeRequirements.has(q.baseURI);const Be=this._runtimeRequirements.has(q.ensureChunkHandlers);const je=this._runtimeRequirements.has(q.chunkCallback);const Ue=this._runtimeRequirements.has(q.onChunksLoaded);const ze=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const We=this._runtimeRequirements.has(q.hmrDownloadManifest);const Je=this._runtimeRequirements.has(q.prefetchChunkHandlers);const Ve=this._runtimeRequirements.has(q.preloadChunkHandlers);const qe=`${G}[${JSON.stringify(_e)}]`;const He=E.getChunkConditionMap(j,ae);const Ge=le(He);const Ke=ce(j,E);const Qe=ze?`${q.hmrRuntimeStatePrefix}_jsonp`:undefined;return ie.asString([Le?ie.asString([`${q.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Qe?`${Qe} = ${Qe} || `:""}{`,ie.indent(Array.from(Ke,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Be?ie.asString([`${Me}.j = ${$.basicFunction("chunkId, promises",Ge!==false?ie.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[2]);"]),"} else {",ie.indent([Ge===true?"if(true) { // all chunks have JS":`if(${Ge("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = new Promise(${$.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",[`if(${q.hasOwnProperty}(installedChunks, chunkId)) {`,ie.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ie.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${q.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Je&&Ge!==false?`${q.prefetchChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ne.call(ie.asString(["var link = document.createElement('link');",Ee?`link.crossOrigin = ${JSON.stringify(Ee)};`:"",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`]),j),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",Ve&&Ge!==false?`${q.preloadChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ie.call(ie.asString(["var link = document.createElement('link');",we?`link.type = ${JSON.stringify(we)};`:"","link.charset = 'utf-8';",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,Ee?ie.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ie.indent(`link.crossOrigin = ${JSON.stringify(Ee)};`),"}"]):""]),j),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",ze?ie.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ie.indent([`return new Promise(${$.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${q.publicPath} + ${q.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${q.loadScript}(url, loadingEnded);`])});`]),"}","",`${G}[${JSON.stringify(Te)}] = ${$.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ie.getFunctionContent(R(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,q.moduleCache).replace(/\$moduleFactories\$/g,q.moduleFactories).replace(/\$ensureChunkHandlers\$/g,q.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,q.hasOwnProperty).replace(/\$hmrModuleData\$/g,q.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,q.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,q.hmrInvalidateModuleHandlers)]):"// no HMR","",We?ie.asString([`${q.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${q.publicPath} + ${q.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Ue?`${q.onChunksLoaded}.j = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",je||Be?ie.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${$.basicFunction("parentChunkLoadingFunction, data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${$.returningFunction("installedChunks[id] !== 0","id")})) {`,ie.indent(["for(moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);"]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ie.indent(["chunkId = chunkIds[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ue?`return ${q.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${qe} = ${qe} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);const q=R(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return q.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new j).apply(E);new $("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,N,R)=>{"use strict";const j=R(73837);const $=R(63221);const q=R(46312);const G=R(63076);const ie=R(63433);const ae=R(81721);const{applyWebpackOptionsDefaults:ce,applyWebpackOptionsBaseDefaults:le}=R(54411);const{getNormalizedWebpackOptions:_e}=R(96590);const Te=R(93632);const Ee=R(91671);const we=Ee((()=>R(33316)));const createMultiCompiler=(E,N)=>{const R=E.map((E=>createCompiler(E)));const j=new ie(R,N);for(const E of R){if(E.options.dependencies){j.setDependencies(E,E.options.dependencies)}}return j};const createCompiler=E=>{const N=_e(E);le(N);const R=new G(N.context,N);new Te({infrastructureLogging:N.infrastructureLogging}).apply(R);if(Array.isArray(N.plugins)){for(const E of N.plugins){if(typeof E==="function"){E.call(R,R)}else{E.apply(R)}}}ce(N);R.hooks.environment.call();R.hooks.afterEnvironment.call();(new ae).process(N,R);R.hooks.initialize.call();return R};const webpack=(E,N)=>{const create=()=>{if(!$(E)){we()(q,E)}let N;let R=false;let j;if(Array.isArray(E)){N=createMultiCompiler(E,E);R=E.some((E=>E.watch));j=E.map((E=>E.watchOptions||{}))}else{const $=E;N=createCompiler($);R=$.watch;j=$.watchOptions||{}}return{compiler:N,watch:R,watchOptions:j}};if(N){try{const{compiler:E,watch:R,watchOptions:j}=create();if(R){E.watch(j,N)}else{E.run(((R,j)=>{E.close((E=>{N(R||E,j)}))}))}return E}catch(E){process.nextTick((()=>N(E)));return null}}else{const{compiler:E,watch:N}=create();if(N){j.deprecate((()=>{}),"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,N,R)=>{"use strict";const j=R(76150);const $=R(44160);const q=R(64997);const G=R(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new q({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="import-scripts"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;const q=!!E.outputOptions.trustedTypes;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);if(q)$.add(j.createScriptUrl);E.addRuntimeModule(N,new G($,q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new $);return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{getChunkFilenameTemplate:G,chunkHasJs:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ImportScriptsChunkLoadingRuntimeModule extends ${constructor(E,N){super("importScripts chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=N}generate(){const{chunk:E,chunkGraph:N,compilation:{runtimeTemplate:$,outputOptions:{globalObject:_e,chunkLoadingGlobal:Te,hotUpdateGlobal:Ee}},_withCreateScriptUrl:we}=this;const Ie=j.ensureChunkHandlers;const Ne=this.runtimeRequirements.has(j.baseURI);const Me=this.runtimeRequirements.has(j.ensureChunkHandlers);const Le=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has(j.hmrDownloadManifest);const je=`${_e}[${JSON.stringify(Te)}]`;const Ue=ce(N.getChunkConditionMap(E,ie));const ze=ae(E,N);const We=this.compilation.getPath(G(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Je=le(We,this.compilation.outputOptions.path,false);const Ve=Le?`${j.hmrRuntimeStatePrefix}_importScripts`:undefined;return q.asString([Ne?q.asString([`${j.baseURI} = self.location + ${JSON.stringify(Je?"/../"+Je:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${Ve?`${Ve} = ${Ve} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Me?q.asString(["// importScripts chunk loading",`var installChunk = ${$.basicFunction("data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${j.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",q.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Me?q.asString([`${Ie}.i = ${$.basicFunction("chunkId, promises",Ue!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,q.indent(`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${je} = ${je} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Le?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["var success = false;",`${_e}[${JSON.stringify(Ee)}] = ${$.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${j.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${j.publicPath} + ${j.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new j).apply(E);new $("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},63221:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=$e,E.exports["default"]=$e;const R={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},j=Object.prototype.hasOwnProperty,$={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:R="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,ce=0;const le=ce;let _e=!1;const Te=ce;if(!1!==E){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ee=Te===ce;if(_e=_e||Ee,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.type&&(N="type")){const E={params:{missingProperty:N}};null===ae?ae=[E]:ae.push(E),ce++}else{const N=ce;for(const N in E)if("cacheUnaffected"!==N&&"maxGenerations"!==N&&"type"!==N){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(N===ce){if(void 0!==E.cacheUnaffected){const N=ce;if("boolean"!=typeof E.cacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var we=N===ce}else we=!0;if(we){if(void 0!==E.maxGenerations){let N=E.maxGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<1||isNaN(N)){const E={params:{comparison:">=",limit:1}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}we=R===ce}else we=!0;if(we)if(void 0!==E.type){const N=ce;if("memory"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}we=N===ce}else we=!0}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}if(Ee=R===ce,_e=_e||Ee,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.type&&(R="type")){const E={params:{missingProperty:R}};null===ae?ae=[E]:ae.push(E),ce++}else{const R=ce;for(const N in E)if(!j.call($,N)){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(R===ce){if(void 0!==E.allowCollectingMemory){const N=ce;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.buildDependencies){let N=E.buildDependencies;const R=ce;if(ce===R)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let N=0;N=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutAfterLargeChanges){let N=E.idleTimeoutAfterLargeChanges;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutForInitialStore){let N=E.idleTimeoutForInitialStore;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.immutablePaths){let R=E.immutablePaths;const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let j=0;j=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.maxMemoryGenerations){let N=E.maxMemoryGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.memoryCacheUnaffected){const N=ce;if("boolean"!=typeof E.memoryCacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.name){const N=ce;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.store){const N=ce;if("pack"!==E.store){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.type){const N=ce;if("filesystem"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie)if(void 0!==E.version){const N=ce;if("string"!=typeof E.version){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0}}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}Ee=R===ce,_e=_e||Ee}}if(!_e){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,s.errors=ae,!1}return ce=le,null!==ae&&(le?ae.length=le:ae=null),s.errors=ae,0===ce}function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;s(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}const q={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G,R=G;let j=!1;const $=G;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=$===G;if(j=j||_e,!j){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G,j=j||_e}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function l(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1,le=null;const _e=ie,Te=ie;let Ee=!1;const we=ie;if(ie===we)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Ie=we===ie;if(Ee=Ee||Ie,!Ee){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ie=N===ie,Ee=Ee||Ie}if(Ee)ie=Te,null!==G&&(Te?G.length=Te:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===G?G=[E]:G.push(E),ie++,l.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),l.errors=G,0===ie}function p(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){const N=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs){const N=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs2){const N=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e)if(void 0!==E.root){const N=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),p.errors=q,0===G}function f(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const N=E.length;for(let R=0;R1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){const R=ae;l(E.filename,{instancePath:N+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?l.errors:ie.concat(l.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.import){let N=E.import;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N))if(N.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var Te=!0;const E=N.length;for(let R=0;R1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(null!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if($=$||we,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,$=$||we}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.library){const R=ae;u(E.library,{instancePath:N+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?u.errors:ie.concat(u.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.publicPath){const R=ae;c(E.publicPath,{instancePath:N+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.runtime){let N=E.runtime;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.wasmLoading){const R=ae;m(E.wasmLoading,{instancePath:N+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),ce=R===ae}else ce=!0}}}}}}}}}}}return y.errors=ie,0===ae}function h(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const le=G,_e=G;let Te=!1;const Ee=G,we=G;let Ie=!1;const Ne=G;if(G===Ne)if(Array.isArray(j))if(j.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var ie=!0;const E=j.length;for(let N=0;N1){const R={};for(;N--;){let $=j[N];if("string"==typeof $){if("number"==typeof R[$]){E=R[$];const j={params:{i:N,j:E}};null===q?q=[j]:q.push(j),G++;break}R[$]=N}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=Ne===G;if(Ie=Ie||ae,!Ie){const E=G;if(G===E)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,Ie=Ie||ae}if(Ie)G=we,null!==q&&(we?q.length=we:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=Ee===G;if(Te=Te||ce,!Te){const ie=G;y(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?y.errors:q.concat(y.errors),G=q.length),ce=ie===G,Te=Te||ce}if(!Te){const E={params:{}};return null===q?q=[E]:q.push(E),G++,h.errors=q,!1}if(G=_e,null!==q&&(_e?q.length=_e:q=null),le!==G)break}}return h.errors=q,0===G}function d(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1,ce=null;const le=G,_e=G;let Te=!1;const Ee=G;if(G===Ee)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var we=!0;const N=E.length;for(let R=0;R1){const j={};for(;R--;){let $=E[R];if("string"==typeof $){if("number"==typeof j[$]){N=j[$];const E={params:{i:R,j:N}};null===q?q=[E]:q.push(E),G++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ie=Ee===G;if(Te=Te||Ie,!Te){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ie=N===G,Te=Te||Ie}if(Te)G=_e,null!==q&&(_e?q.length=_e:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,d.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),d.errors=q,0===G}function g(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;h(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const ie=G;d(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?d.errors:q.concat(d.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),g.errors=q,0===G}function b(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;g(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,b.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),b.errors=q,0===G}const G={asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}},ie=new RegExp("^https?://","u");function P(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ae=G;let ce=!1,le=null;const _e=G;if(G==G)if(Array.isArray(E)){const N=E.length;for(let R=0;R=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=Ee===ae;if(Te=Te||_e,!Te){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,Te=Te||_e}if(Te)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=G===ae;if(q=q||Te,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,q=q||Te}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.idHint){const N=ae;if("string"!=typeof E.idHint)return pe.errors=[{params:{type:"string"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=E===ae,$=$||Ee,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var we=Te===ae;if(_e=_e||we,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,_e=_e||we}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=Te===ae;if(_e=_e||Ie,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,_e=_e||Ie}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Te===ae;if(_e=_e||Ne,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,_e=_e||Ne}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=Te===ae;if(_e=_e||Me,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,_e=_e||Me}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=Te===ae;if(_e=_e||Be,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,_e=_e||Be}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=Te===ae;if(_e=_e||je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,_e=_e||je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=q===ae;if($=$||Ue,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ue=E===ae,$=$||Ue,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ue=E===ae,$=$||Ue}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.priority){let N=E.priority;const R=ae;if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.reuseExistingChunk){const N=ae;if("boolean"!=typeof E.reuseExistingChunk)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.test){let N=E.test;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var ze=q===ae;if($=$||ze,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(ze=E===ae,$=$||ze,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,$=$||ze}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.type){let N=E.type;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var We=q===ae;if($=$||We,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(We=E===ae,$=$||We,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,$=$||We}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=ie,0===ae}function fe(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return fe.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(Me,N))return fe.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.automaticNameDelimiter){let N=E.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof N)return fe.errors=[{params:{type:"string"}}],!1;if(N.length<1)return fe.errors=[{params:{}}],!1}var ce=R===ae}else ce=!0;if(ce){if(void 0!==E.cacheGroups){let N=E.cacheGroups;const j=ae,$=ae,q=ae;if(ae===q)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.test&&(E="test")){const E={};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==N.test){let E=N.test;const R=ae;let j=!1;const $=ae;if(!(E instanceof RegExp)){const E={};null===ie?ie=[E]:ie.push(E),ae++}var le=$===ae;if(j=j||le,!j){const N=ae;if("string"!=typeof E){const E={};null===ie?ie=[E]:ie.push(E),ae++}if(le=N===ae,j=j||le,!j){const N=ae;if(!(E instanceof Function)){const E={};null===ie?ie=[E]:ie.push(E),ae++}le=N===ae,j=j||le}}if(j)ae=R,null!==ie&&(R?ie.length=R:ie=null);else{const E={};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae)return fe.errors=[{params:{}}],!1;if(ae=$,null!==ie&&($?ie.length=$:ie=null),ae===j){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;for(const E in N){let j=N[E];const $=ae,q=ae;let ce=!1;const le=ae;if(!1!==j){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=le===ae;if(ce=ce||_e,!ce){const $=ae;if(!(j instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if("string"!=typeof j){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if(!(j instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;pe(j,{instancePath:R+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:N,parentDataProperty:E,rootData:G})||(ie=null===ie?pe.errors:ie.concat(pe.errors),ae=ie.length),_e=$===ae,ce=ce||_e}}}}if(!ce){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),$!==ae)break}}ce=j===ae}else ce=!0;if(ce){if(void 0!==E.chunks){let N=E.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==N&&"async"!==N&&"all"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.defaultSizeTypes){let N=E.defaultSizeTypes;const R=ae;if(ae===R){if(!Array.isArray(N))return fe.errors=[{params:{type:"array"}}],!1;if(N.length<1)return fe.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=Te===ae;if(_e=_e||Ee,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,_e=_e||Ee}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.fallbackCacheGroup){let N=E.fallbackCacheGroup;const R=ae;if(ae===R){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in N)if("automaticNameDelimiter"!==E&&"chunks"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E&&"minSizeReduction"!==E)return fe.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==N.automaticNameDelimiter){let E=N.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof E)return fe.errors=[{params:{type:"string"}}],!1;if(E.length<1)return fe.errors=[{params:{}}],!1}var we=R===ae}else we=!0;if(we){if(void 0!==N.chunks){let E=N.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==E&&"async"!==E&&"all"!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const N=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=N===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxAsyncSize){let E=N.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=_e===ae;if(le=le||Ne,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=N===ae,le=le||Ne}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxInitialSize){let E=N.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=_e===ae;if(le=le||Le,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Le=N===ae,le=le||Le}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxSize){let E=N.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=_e===ae;if(le=le||Be,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=N===ae,le=le||Be}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.minSize){let E=N.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=_e===ae;if(le=le||je,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=N===ae,le=le||je}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we)if(void 0!==N.minSizeReduction){let E=N.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=_e===ae;if(le=le||Ue,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=N===ae,le=le||Ue}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0}}}}}}}}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=G===ae;if(q=q||ze,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,q=q||ze}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.hidePathInfo){const N=ae;if("boolean"!=typeof E.hidePathInfo)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var We=Te===ae;if(_e=_e||We,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,_e=_e||We}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Je=Te===ae;if(_e=_e||Je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,_e=_e||Je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ve=Te===ae;if(_e=_e||Ve,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ve=E===ae,_e=_e||Ve}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var qe=Te===ae;if(_e=_e||qe,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,_e=_e||qe}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var He=Te===ae;if(_e=_e||He,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}He=E===ae,_e=_e||He}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Te=ae;if(ae===Te)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=Te===ae;if(_e=_e||Ge,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,_e=_e||Ge}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ke=q===ae;if($=$||Ke,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ke=E===ae,$=$||Ke,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ke=E===ae,$=$||Ke}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}return fe.errors=ie,0===ae}function ue(E,{instancePath:N="",parentData:R,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return ue.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if(!j.call(Ne,N))return ue.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.checkWasmTypes){const N=ie;if("boolean"!=typeof E.checkWasmTypes)return ue.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.chunkIds){let N=E.chunkIds;const R=ie;if("natural"!==N&&"named"!==N&&"deterministic"!==N&&"size"!==N&&"total-size"!==N&&!1!==N)return ue.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.concatenateModules){const N=ie;if("boolean"!=typeof E.concatenateModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emitOnErrors){const N=ie;if("boolean"!=typeof E.emitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.flagIncludedChunks){const N=ie;if("boolean"!=typeof E.flagIncludedChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.innerGraph){const N=ie;if("boolean"!=typeof E.innerGraph)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mangleExports){let N=E.mangleExports;const R=ie,j=ie;let $=!1;const q=ie;if("size"!==N&&"deterministic"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var ce=q===ie;if($=$||ce,!$){const E=ie;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,$=$||ce}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mangleWasmImports){const N=ie;if("boolean"!=typeof E.mangleWasmImports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mergeDuplicateChunks){const N=ie;if("boolean"!=typeof E.mergeDuplicateChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimize){const N=ie;if("boolean"!=typeof E.minimize)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimizer){let N=E.minimizer;const R=ie;if(ie===R){if(!Array.isArray(N))return ue.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R=",limit:1}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.hashSalt){let N=E.hashSalt;const R=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.length<1)return De.errors=[{params:{}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hotUpdateChunkFilename){let R=E.hotUpdateChunkFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.hotUpdateGlobal){const N=ae;if("string"!=typeof E.hotUpdateGlobal)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.hotUpdateMainFilename){let R=E.hotUpdateMainFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.iife){const N=ae;if("boolean"!=typeof E.iife)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importFunctionName){const N=ae;if("string"!=typeof E.importFunctionName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importMetaName){const N=ae;if("string"!=typeof E.importMetaName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.library){const N=ae;ve(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?ve.errors:ie.concat(ve.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.libraryExport){let N=E.libraryExport;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let _e=!1;const Te=ae;if(ae===Te)if(Array.isArray(N)){const E=N.length;for(let R=0;R=",limit:1}}],!1}_e=R===ce}else _e=!0;if(_e){if(void 0!==E.performance){const N=ce;Pe(E.performance,{instancePath:$+"/performance",parentData:E,parentDataProperty:"performance",rootData:ie})||(ae=null===ae?Pe.errors:ae.concat(Pe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.plugins){const N=ce;Ae(E.plugins,{instancePath:$+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ie})||(ae=null===ae?Ae.errors:ae.concat(Ae.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile)return $e.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.recordsInputPath){let R=E.recordsInputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ne=G===ce;if(q=q||Ne,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ne=E===ce,q=q||Ne}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsOutputPath){let R=E.recordsOutputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Me=G===ce;if(q=q||Me,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Me=E===ce,q=q||Me}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsPath){let R=E.recordsPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Le=G===ce;if(q=q||Le,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Le=E===ce,q=q||Le}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.resolve){const N=ce;xe(E.resolve,{instancePath:$+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ie})||(ae=null===ae?xe.errors:ae.concat(xe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.resolveLoader){const N=ce;ke(E.resolveLoader,{instancePath:$+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ie})||(ae=null===ae?ke.errors:ae.concat(ke.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.snapshot){let R=E.snapshot;const j=ce;if(ce==ce){if(!R||"object"!=typeof R||Array.isArray(R))return $e.errors=[{params:{type:"object"}}],!1;{const E=ce;for(const E in R)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===ce){if(void 0!==R.buildDependencies){let E=R.buildDependencies;const N=ce;if(ce===N){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const N=ce;for(const N in E)if("hash"!==N&&"timestamp"!==N)return $e.errors=[{params:{additionalProperty:N}}],!1;if(N===ce){if(void 0!==E.hash){const N=ce;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var Be=N===ce}else Be=!0;if(Be)if(void 0!==E.timestamp){const N=ce;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;Be=N===ce}else Be=!0}}}var je=N===ce}else je=!0;if(je){if(void 0!==R.immutablePaths){let E=R.immutablePaths;const j=ce;if(ce===j){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j{"use strict";function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.path&&(N="path"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("context"!==N&&"entryOnly"!==N&&"format"!==N&&"name"!==N&&"path"!==N&&"type"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.context){let N=E.context;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}var q=0===R}else q=!0;if(q){if(void 0!==E.entryOnly){const N=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.format){const N=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.name){let N=E.name;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q){if(void 0!==E.path){let N=E.path;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q)if(void 0!==E.type){let N=E.type;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},69744:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.content&&(N="content"))return t.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("content"!==N&&"name"!==N&&"type"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.content){let N=E.content;const R=G,j=G;let $=!1,_e=null;const Te=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N))if(Object.keys(N).length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else for(const E in N){let R=N[E];const j=G;if(G===j)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.id&&(E="id")){const N={params:{missingProperty:E}};null===q?q=[N]:q.push(N),G++}else{const E=G;for(const E in R)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.buildMeta){let E=R.buildMeta;const N=G;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=N===G}else ie=!0;if(ie){if(void 0!==R.exports){let E=R.exports;const N=G,j=G;let $=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("context"!==N&&"hashDigest"!==N&&"hashDigestLength"!==N&&"hashFunction"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.context){let R=E.context;const j=ie;if(ie===j){if("string"!=typeof R)return e.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return e.errors=[{params:{}}],!1}var ae=j===ie}else ae=!0;if(ae){if(void 0!==E.hashDigest){let N=E.hashDigest;const R=ie;if("hex"!==N&&"latin1"!==N&&"base64"!==N)return e.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.hashDigestLength){let N=E.hashDigestLength;const R=ie;if(ie===R){if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return e.errors=[{params:{comparison:">=",limit:1}}],!1}ae=R===ie}else ae=!0;if(ae)if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ie,j=ie;let $=!1,q=null;const le=ie,_e=ie;let Te=!1;const Ee=ie;if(ie===Ee)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=Ee===ie;if(Te=Te||ce,!Te){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,Te=Te||ce}if(Te)ie=_e,null!==G&&(_e?G.length=_e:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},44194:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.resourceRegExp&&(N="resourceRegExp")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("contextRegExp"!==N&&"resourceRegExp"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.contextRegExp){const N=G;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=N===G}else le=!0;if(le)if(void 0!==E.resourceRegExp){const N=G;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(G===N)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.checkResource&&(N="checkResource")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("checkResource"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},71633:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("parse"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},80274:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const N=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var G=0===N}else G=!0;if(G){if(void 0!==E.minimize){const N=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;G=0===N}else G=!0;if(G)if(void 0!==E.options){let R=E.options;const j=0;if(0===j){if(!R||"object"!=typeof R||Array.isArray(R))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==R.context){let E=R.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==N.test(E))return e.errors=[{params:{}}],!1}}G=0===j}else G=!0}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},73971:E=>{"use strict";E.exports=t,E.exports["default"]=t;const N={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},R=Object.prototype.hasOwnProperty;function r(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ae;for(const j in E)if(!R.call(N,j))return r.errors=[{params:{additionalProperty:j}}],!1;if(j===ae){if(void 0!==E.activeModules){const N=ae;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependencies){const N=ae;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependenciesCount){let N=E.dependenciesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.entries){const N=ae;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.handler){const N=ae,R=ae;let j=!1,$=null;const q=ae;if(!(E.handler instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&(j=!0,$=0),!j){const E={params:{passingSchemas:$}};return null===ie?ie=[E]:ie.push(E),ae++,r.errors=ie,!1}ae=R,null!==ie&&(R?ie.length=R:ie=null),ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modules){const N=ae;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modulesCount){let N=E.modulesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.percentBy){let N=E.percentBy;const R=ae;if("entries"!==N&&"modules"!==N&&"dependencies"!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0;if(ce)if(void 0!==E.profile){let N=E.profile;const R=ae;if(!0!==N&&!1!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0}}}}}}}}}}return r.errors=ie,0===ae}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}},68337:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports["default"]=l;const R={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},j=Object.prototype.hasOwnProperty;function s(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.paths&&(N="paths"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("paths"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.paths){let N=E.paths;if(G==G){if(!Array.isArray(N))return r.errors=[{params:{type:"array"}}],!1;if(N.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ie;for(const N in E)if("dataUrl"!==N&&"emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(j===ie){if(void 0!==E.dataUrl){const N=ie;n(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?n.errors:G.concat(n.errors),ie=G.length);var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return r.errors=G,0===ie}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},3720:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("dataUrl"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;R===G&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length))}}return r.errors=q,0===G}function a(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),a.errors=q,0===G}E.exports=a,E.exports["default"]=a},33605:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("dataUrlCondition"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.dataUrlCondition){let N=E.dataUrlCondition;const R=G;let j=!1;const $=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("maxSize"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G&&void 0!==N.maxSize){let E=N.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=$===G;if(j=j||ie,!j){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,j=j||ie}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=R,null!==q&&(R?q.length=R:q=null)}}}return t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return t(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),r.errors=q,0===G}E.exports=r,E.exports["default"]=r},87441:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}return r.errors=G,0===ie}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),n.errors=q,0===G}E.exports=n,E.exports["default"]=n},28633:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{"use strict";function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports["default"]=o},43329:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports["default"]=d;const R={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},j=Object.prototype.hasOwnProperty;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const R=0;for(const N in E)if("outputPath"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(0===R&&void 0!==E.outputPath){let R=E.outputPath;if("string"!=typeof R)return t.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports["default"]=t},18511:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},52042:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},77593:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxSize"!==N&&"minSize"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.maxSize){let N=E.maxSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minSize){let N=E.minSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},72713:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.maxChunks&&(N="maxChunks"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxChunks"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.maxChunks){let N=E.maxChunks;const R=0;if(0===R){if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return r.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},83889:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.minChunkSize&&(N="minChunkSize"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"minChunkSize"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minChunkSize){let N=E.minChunkSize;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},44363:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=n,E.exports["default"]=n;const R=new RegExp("^https?://","u");function e(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let j;if(void 0===E.allowedUris&&(j="allowedUris"))return e.errors=[{params:{missingProperty:j}}],!1;{const j=ae;for(const N in E)if("allowedUris"!==N&&"cacheLocation"!==N&&"frozen"!==N&&"lockfileLocation"!==N&&"upgrade"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(j===ae){if(void 0!==E.allowedUris){let N=E.allowedUris;const j=ae;if(ae==ae){if(!Array.isArray(N))return e.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let j=0;j{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("eager"!==N&&"import"!==N&&"packageName"!==N&&"requiredVersion"!==N&&"shareKey"!==N&&"shareScope"!==N&&"singleton"!==N&&"strictVersion"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.eager){const N=G;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ie=N===G}else ie=!0;if(ie){if(void 0!==E.import){let N=E.import;const R=G,j=G;let $=!1;const ce=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const E=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,$=$||ae}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.packageName){let N=E.packageName;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.requiredVersion){let N=E.requiredVersion;const R=G,j=G;let $=!1;const ae=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareKey){let N=E.shareKey;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.singleton){const N=G;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0;if(ie)if(void 0!==E.strictVersion){const N=G;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0}}}}}}}}}return r.errors=q,0===G}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;r(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const E=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return e.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const N in E){let R=E[N];const j=G,$=G;let le=!1;const _e=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R)){const E=G;for(const E in R)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.eager){const E=G;if("boolean"!=typeof R.eager){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ie=E===G}else ie=!0;if(ie){if(void 0!==R.shareKey){let E=R.shareKey;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie){if(void 0!==R.shareScope){let E=R.shareScope;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie)if(void 0!==R.version){let E=R.version;const N=G,j=G;let $=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=N===G,$=$||ae}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ce=_e===G;if(le=le||ce,!le){const E=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,le=le||ce}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}return r.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j{"use strict";E.exports=function(E){E.prototype[Symbol.iterator]=function*(){for(let E=this.head;E;E=E.next){yield E.value}}}},83314:(E,N,R)=>{"use strict";E.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(E){var N=this;if(!(N instanceof Yallist)){N=new Yallist}N.tail=null;N.head=null;N.length=0;if(E&&typeof E.forEach==="function"){E.forEach((function(E){N.push(E)}))}else if(arguments.length>0){for(var R=0,j=arguments.length;R1){R=N}else if(this.head){j=this.head.next;R=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=0;j!==null;$++){R=E(R,j.value,$);j=j.next}return R};Yallist.prototype.reduceReverse=function(E,N){var R;var j=this.tail;if(arguments.length>1){R=N}else if(this.tail){j=this.tail.prev;R=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=this.length-1;j!==null;$--){R=E(R,j.value,$);j=j.prev}return R};Yallist.prototype.toArray=function(){var E=new Array(this.length);for(var N=0,R=this.head;R!==null;N++){E[N]=R.value;R=R.next}return E};Yallist.prototype.toArrayReverse=function(){var E=new Array(this.length);for(var N=0,R=this.tail;R!==null;N++){E[N]=R.value;R=R.prev}return E};Yallist.prototype.slice=function(E,N){N=N||this.length;if(N<0){N+=this.length}E=E||0;if(E<0){E+=this.length}var R=new Yallist;if(Nthis.length){N=this.length}for(var j=0,$=this.head;$!==null&&jthis.length){N=this.length}for(var j=this.length,$=this.tail;$!==null&&j>N;j--){$=$.prev}for(;$!==null&&j>E;j--,$=$.prev){R.push($.value)}return R};Yallist.prototype.splice=function(E,N,...R){if(E>this.length){E=this.length-1}if(E<0){E=this.length+E}for(var j=0,$=this.head;$!==null&&j{class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const N=new Node(E);if(this._head){this._tail.next=N;this._tail=N}else{this._head=N;this._tail=N}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},32090:(E,N,R)=>{const j=R(63686);const $=j.makeLogger;j.makeLogger=function(E,N){const R=$(E,N);const j=R.logWarning;R.logWarning=function(E){if(E.indexOf("This version may or may not be compatible with ts-loader")!==-1)return;return j(E)};return R};E.exports=R(82070);E.exports.typescript=R(53779)},39491:E=>{"use strict";E.exports=require("assert")},14300:E=>{"use strict";E.exports=require("buffer")},32081:E=>{"use strict";E.exports=require("child_process")},96206:E=>{"use strict";E.exports=require("console")},22057:E=>{"use strict";E.exports=require("constants")},6113:E=>{"use strict";E.exports=require("crypto")},82361:E=>{"use strict";E.exports=require("events")},57147:E=>{"use strict";E.exports=require("fs")},13685:E=>{"use strict";E.exports=require("http")},95687:E=>{"use strict";E.exports=require("https")},31405:E=>{"use strict";E.exports=require("inspector")},22037:E=>{"use strict";E.exports=require("os")},71017:E=>{"use strict";E.exports=require("path")},4074:E=>{"use strict";E.exports=require("perf_hooks")},35125:E=>{"use strict";E.exports=require("pnpapi")},77282:E=>{"use strict";E.exports=require("process")},63477:E=>{"use strict";E.exports=require("querystring")},12781:E=>{"use strict";E.exports=require("stream")},76224:E=>{"use strict";E.exports=require("tty")},57310:E=>{"use strict";E.exports=require("url")},73837:E=>{"use strict";E.exports=require("util")},26144:E=>{"use strict";E.exports=require("vm")},71267:E=>{"use strict";E.exports=require("worker_threads")},59796:E=>{"use strict";E.exports=require("zlib")},44858:function(E,N,R){(function(E,j){true?j(N,R(37362)):0})(this,(function(E,N){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var j=_interopDefaultLegacy(N);function characters(E){return E.split("")}function member(E,N){return N.includes(E)}class DefaultsError extends Error{constructor(E,N){super();this.name="DefaultsError";this.message=E;this.defs=N}}function defaults(E,N,R){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const j=E||{};if(R)for(const E in j)if(HOP(j,E)&&!HOP(N,E)){throw new DefaultsError("`"+E+"` is not a supported option",N)}for(const R in N)if(HOP(N,R)){if(!E||!HOP(E,R)){j[R]=N[R]}else if(R==="ecma"){let N=E[R]|0;if(N>5&&N<2015)N+=2009;j[R]=N}else{j[R]=E&&HOP(E,R)?E[R]:N[R]}}return j}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var $=function(){function MAP(N,R,j){var $=[],q=[],G;function doit(){var ie=R(N[G],G);var ae=ie instanceof Last;if(ae)ie=ie.v;if(ie instanceof AtTop){ie=ie.v;if(ie instanceof Splice){q.push.apply(q,j?ie.v.slice().reverse():ie.v)}else{q.push(ie)}}else if(ie!==E){if(ie instanceof Splice){$.push.apply($,j?ie.v.slice().reverse():ie.v)}else{$.push(ie)}}return ae}if(Array.isArray(N)){if(j){for(G=N.length;--G>=0;)if(doit())break;$.reverse();q.reverse()}else{for(G=0;G=0;){if(E[R]===N)E.splice(R,1)}}function mergeSort(E,N){if(E.length<2)return E.slice();function merge(E,R){var j=[],$=0,q=0,G=0;while(${R+=E}))}return R}function has_annotation(E,N){return E._annotations&N}function set_annotation(E,N){E._annotations|=N}var ie="";var ae=true;var ce="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var le="false null true";var _e="enum import super this "+le+" "+ce;var Te="implements interface package private protected public static "+_e;var Ee="return new delete throw else case yield await";ce=makePredicate(ce);_e=makePredicate(_e);Ee=makePredicate(Ee);le=makePredicate(le);Te=makePredicate(Te);var we=makePredicate(characters("+-*&%=<>!?|~^"));var Ie=/[0-9a-f]/i;var Ne=/^0x[0-9a-f]+$/i;var Me=/^0[0-7]+$/;var Le=/^0o[0-7]+$/i;var Be=/^0b[01]+$/i;var je=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var Ue=/^(0[xob])?[0-9a-f]+n$/i;var ze=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var We=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var Je=makePredicate(characters("\n\r\u2028\u2029"));var Ve=makePredicate(characters(";]),:"));var qe=makePredicate(characters("[{(,;:"));var He=makePredicate(characters("[]{}(),;:"));var Ge={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){if(is_surrogate_pair_tail(E.charCodeAt(N+1))){return E.charAt(N)+E.charAt(N+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(N))){if(is_surrogate_pair_head(E.charCodeAt(N-1))){return E.charAt(N-1)+E.charAt(N)}}return E.charAt(N)}function get_full_char_code(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){return 65536+(E.charCodeAt(N)-55296<<10)+E.charCodeAt(N+1)-56320}return E.charCodeAt(N)}function get_full_char_length(E){var N=0;for(var R=0;R65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return Ge.ID_Start.test(E)}function is_identifier_char(E){return Ge.ID_Continue.test(E)}const Ke=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Ke.test(E)}function is_identifier_string(E,N){if(Ke.test(E)){return true}if(!N&&/[\ud800-\udfff]/.test(E)){return false}var R=Ge.ID_Start.exec(E);if(!R||R.index!==0){return false}E=E.slice(R[0].length);if(!E){return true}R=Ge.ID_Continue.exec(E);return!!R&&R[0].length===E.length}function parse_js_number(E,N=true){if(!N&&E.includes("e")){return NaN}if(Ne.test(E)){return parseInt(E.substr(2),16)}else if(Me.test(E)){return parseInt(E.substr(1),8)}else if(Le.test(E)){return parseInt(E.substr(2),8)}else if(Be.test(E)){return parseInt(E.substr(2),2)}else if(je.test(E)){return parseFloat(E)}else{var R=parseFloat(E);if(R==E)return R}}class JS_Parse_Error extends Error{constructor(E,N,R,j,$){super();this.name="SyntaxError";this.message=E;this.filename=N;this.line=R;this.col=j;this.pos=$}}function js_error(E,N,R,j,$){throw new JS_Parse_Error(E,N,R,j,$)}function is_token(E,N,R){return E.type==N&&(R==null||E.value==R)}var Qe={};function tokenizer(E,N,R,j){var $={text:E,filename:N,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char($.text,$.pos)}function is_option_chain_op(){const E=$.text.charCodeAt($.pos+1)===46;if(!E)return false;const N=$.text.charCodeAt($.pos+2);return N<48||N>57}function next(E,N){var R=get_full_char($.text,$.pos++);if(E&&!R)throw Qe;if(Je.has(R)){$.newline_before=$.newline_before||!N;++$.line;$.col=0;if(R=="\r"&&peek()=="\n"){++$.pos;R="\n"}}else{if(R.length>1){++$.pos;++$.col}++$.col}return R}function forward(E){while(E--)next()}function looking_at(E){return $.text.substr($.pos,E.length)==E}function find_eol(){var E=$.text;for(var N=$.pos,R=$.text.length;N="0"&&E<="7"}function read_escaped_char(E,N,R){var j=next(true,E);switch(j.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,N));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var q,G=find("}",true)-$.pos;if(G>6||(q=hex_bytes(G,N))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(q)}return String.fromCharCode(hex_bytes(4,N));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal(j)){if(R&&N){const E=j==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(j,N)}return j}function read_octal_escape_sequence(E,N){var R=peek();if(R>="0"&&R<="7"){E+=next(true);if(E[0]<="3"&&(R=peek())>="0"&&R<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&N)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,N){var R=0;for(;E>0;--E){if(!N&&isNaN(parseInt(peek(),16))){return parseInt(R,16)||""}var j=next(true);if(isNaN(parseInt(j,16)))parse_error("Invalid hex-character pattern in string");R+=j}return parseInt(R,16)}var Te=with_eof_error("Unterminated string constant",(function(){const E=$.pos;var N=next(),R=[];for(;;){var j=next(true,true);if(j=="\\")j=read_escaped_char(true,true);else if(j=="\r"||j=="\n")parse_error("Unterminated string constant");else if(j==N)break;R.push(j)}var q=token("string",R.join(""));ie=$.text.slice(E,$.pos);q.quote=N;return q}));var Le=with_eof_error("Unterminated template",(function(E){if(E){$.template_braces.push($.brace_counter)}var N="",R="",j,q;next(true,true);while((j=next(true,true))!="`"){if(j=="\r"){if(peek()=="\n")++$.pos;j="\n"}else if(j=="$"&&peek()=="{"){next(true,true);$.brace_counter++;q=token(E?"template_head":"template_substitution",N);ie=R;ae=false;return q}R+=j;if(j=="\\"){var ce=$.pos;var le=G&&(G.type==="name"||G.type==="punc"&&(G.value===")"||G.value==="]"));j=read_escaped_char(true,!le,true);R+=$.text.substr(ce,$.pos-ce)}N+=j}$.template_braces.pop();q=token(E?"template_head":"template_substitution",N);ie=R;ae=true;return q}));function skip_line_comment(E){var N=$.regex_allowed;var R=find_eol(),j;if(R==-1){j=$.text.substr($.pos);$.pos=$.text.length}else{j=$.text.substring($.pos,R);$.pos=R}$.col=$.tokcol+($.pos-$.tokpos);$.comments_before.push(token(E,j,true));$.regex_allowed=N;return next_token}var Be=with_eof_error("Unterminated multiline comment",(function(){var E=$.regex_allowed;var N=find("*/",true);var R=$.text.substring($.pos,N).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(R)+2);$.comments_before.push(token("comment2",R,true));$.newline_before=$.newline_before||R.includes("\n");$.regex_allowed=E;return next_token}));var je=with_eof_error("Unterminated identifier name",(function(){var E=[],N,R=false;var read_escaped_identifier_char=function(){R=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_start(N)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(N)){next()}else{return""}E.push(N);while((N=peek())!=null){if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_char(N)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(N)){break}next()}E.push(N)}const j=E.join("");if(_e.has(j)&&R){parse_error("Escaped characters are not allowed in keywords")}return j}));var Ve=with_eof_error("Unterminated regular expression",(function(E){var N=false,R,j=false;while(R=next(true))if(Je.has(R)){parse_error("Unexpected line terminator")}else if(N){E+="\\"+R;N=false}else if(R=="["){j=true;E+=R}else if(R=="]"&&j){j=false;E+=R}else if(R=="/"&&!j){break}else if(R=="\\"){N=true}else{E+=R}const $=je();return token("regexp","/"+E+"/"+$)}));function read_operator(E){function grow(E){if(!peek())return E;var N=E+peek();if(ze.has(N)){next();return grow(N)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return Be()}return $.regex_allowed?Ve(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=je();if(q)return token("name",E);return le.has(E)?token("atom",E):!ce.has(E)?token("name",E):ze.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",je())}function with_eof_error(E,N){return function(R){try{return N(R)}catch(N){if(N===Qe)parse_error(E);else throw N}}}function next_token(E){if(E!=null)return Ve(E);if(j&&$.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(R){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&$.newline_before){forward(3);skip_line_comment("comment4");continue}}var N=peek();if(!N)return token("eof");var q=N.charCodeAt(0);switch(q){case 34:case 39:return Te();case 46:return handle_dot();case 47:{var G=handle_slash();if(G===next_token)continue;return G}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Le(true);case 123:$.brace_counter++;break;case 125:$.brace_counter--;if($.template_braces.length>0&&$.template_braces[$.template_braces.length-1]===$.brace_counter)return Le(false);break}if(is_digit(q))return read_num();if(He.has(N))return token("punc",next());if(we.has(N))return read_operator();if(q==92||is_identifier_start(N))return read_word();if(q==35)return read_private_word();break}parse_error("Unexpected character '"+N+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)$=E;return $};next_token.add_directive=function(E){$.directive_stack[$.directive_stack.length-1].push(E);if($.directives[E]===undefined){$.directives[E]=1}else{$.directives[E]++}};next_token.push_directives_stack=function(){$.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=$.directive_stack[$.directive_stack.length-1];for(var N=0;N0};return next_token}var Xe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Ye=makePredicate(["--","++"]);var Ze=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var et=makePredicate(["??=","&&=","||="]);var tt=function(E,N){for(var R=0;R","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var rt=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,N){const R=new WeakMap;N=defaults(N,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var j={input:typeof E=="string"?tokenizer(E,N.filename,N.html5_comments,N.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};j.token=next();function is(E,N){return is_token(j.token,E,N)}function peek(){return j.peeked||(j.peeked=j.input())}function next(){j.prev=j.token;if(!j.peeked)peek();j.token=j.peeked;j.peeked=null;j.in_directives=j.in_directives&&(j.token.type=="string"||is("punc",";"));return j.token}function prev(){return j.prev}function croak(E,N,R,$){var q=j.input.context();js_error(E,q.filename,N!=null?N:q.tokline,R!=null?R:q.tokcol,$!=null?$:q.tokpos)}function token_error(E,N){croak(N,E.line,E.col)}function unexpected(E){if(E==null)E=j.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,N){if(is(E,N)){return next()}token_error(j.token,"Unexpected token "+j.token.type+" «"+j.token.value+"»"+", expected "+E+" «"+N+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!N.strict&&(is("eof")||is("punc","}")||has_newline_before(j.token))}function is_in_generator(){return j.in_generator===j.in_function}function is_in_async(){return j.in_async===j.in_function}function can_await(){return j.in_async===j.in_function||j.in_function===0&&j.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...N){const R=j.token;const $=E(...N);$.start=R;$.end=prev();return $}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){j.peeked=null;j.token=j.input(j.token.value.substr(1))}}var $=embed_tokens((function statement(E,R,$){handle_regexp();switch(j.token.type){case"string":if(j.in_directives){var q=peek();if(!ie.includes("\\")&&(is_token(q,"punc",";")||is_token(q,"punc","}")||has_newline_before(q)||is_token(q,"eof"))){j.input.add_directive(j.token.value)}else{j.in_directives=false}}var G=j.in_directives,ae=simple_statement();return G&&ae.body instanceof gn?new dt(ae.body):ae;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(j.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Ot,false,true,E)}if(j.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var ce=import_statement();semicolon();return ce}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(j.token.value){case"{":return new mt({start:j.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":j.in_directives=false;next();return new ht;default:unexpected()}case"keyword":switch(j.token.value){case"break":next();return break_cont($t);case"continue":next();return break_cont(Vt);case"debugger":next();semicolon();return new ut;case"do":next();var le=in_loop(statement);expect_token("keyword","while");var _e=parenthesised();semicolon(true);return new xt({body:le,condition:_e});case"while":next();return new St({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(R){croak("classes are not allowed as the body of a loop")}if($){croak("classes are not allowed as the body of an if")}return class_(Ur,E);case"function":next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Ot,false,false,E);case"if":next();return if_();case"return":if(j.in_function==0&&!N.bare_returns)croak("'return' outside of function");next();var Te=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){Te=expression(true);semicolon()}return new zt({value:Te});case"switch":next();return new Kt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(j.token))croak("Illegal newline after 'throw'");var Te=expression(true);semicolon();return new Wt({value:Te});case"try":next();return try_();case"var":next();var ce=var_();semicolon();return ce;case"let":next();var ce=let_();semicolon();return ce;case"const":next();var ce=const_();semicolon();return ce;case"with":if(j.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new Ct({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var ce=export_statement();if(is("punc",";"))semicolon();return ce}}}unexpected()}));function labeled_statement(){var E=as_symbol(on);if(E.name==="await"&&is_in_async()){token_error(j.prev,"await cannot be used as label inside async function")}if(j.labels.some((N=>N.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");j.labels.push(E);var N=$();j.labels.pop();if(!(N instanceof vt)){E.references.forEach((function(N){if(N instanceof Vt){N=N.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",N.line,N.col,N.pos)}}))}return new yt({body:N,label:E})}function simple_statement(E){return new pt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var N=null,R;if(!can_insert_semicolon()){N=as_symbol(un,true)}if(N!=null){R=j.labels.find((E=>E.name===N.name));if(!R)croak("Undefined label "+N.name);N.thedef=R}else if(j.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var $=new E({label:N});if(R)R.references.push($);return $}function for_(){var E="`for await` invalid in this context";var N=j.token;if(N.type=="name"&&N.value=="await"){if(!can_await()){token_error(N,E)}next()}else{N=false}expect("(");var R=null;if(!is("punc",";")){R=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var $=is("operator","in");var q=is("name","of");if(N&&!q){token_error(N,E)}if($||q){if(R instanceof rr){if(R.definitions.length>1)token_error(R.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(R)||(R=to_destructuring(R))instanceof Mt)){token_error(R.start,"Invalid left-hand side in for..in loop")}next();if($){return for_in(R)}else{return for_of(R,!!N)}}}else if(N){token_error(N,E)}return regular_for(R)}function regular_for(E){expect(";");var N=is("punc",";")?null:expression(true);expect(";");var R=is("punc",")")?null:expression(true);expect(")");return new Tt({init:E,condition:N,step:R,body:in_loop((function(){return $(false,true)}))})}function for_of(E,N){var R=E instanceof rr?E.definitions[0].name:null;var j=expression(true);expect(")");return new kt({await:N,init:E,name:R,object:j,body:in_loop((function(){return $(false,true)}))})}function for_in(E){var N=expression(true);expect(")");return new Et({init:E,object:N,body:in_loop((function(){return $(false,true)}))})}var arrow_function=function(E,N,R){if(has_newline_before(j.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var $=_function_body(is("punc","{"),false,R);var q=$ instanceof Array&&$.length?$[$.length-1].end:$ instanceof Array?E:$.end;return new Ft({start:E,end:q,async:R,argnames:N,body:$})};var function_=function(E,N,R,j){var $=E===Ot;var q=is("operator","*");if(q){next()}var G=is("name")?as_symbol($?Qr:Zr):null;if($&&!G){if(j){E=Nt}else{unexpected()}}if(G&&E!==It&&!(G instanceof $r))unexpected(prev());var ie=[];var ae=_function_body(true,q||N,R,G,ie);return new E({start:ie.start,end:ae.end,is_generator:q,async:R,name:G,argnames:ie,body:ae})};function track_used_binding_identifiers(E,N){var R=new Set;var j=false;var $=false;var q=false;var G=!!N;var ie={add_parameter:function(N){if(R.has(N.value)){if(j===false){j=N}ie.check_strict()}else{R.add(N.value);if(E){switch(N.value){case"arguments":case"eval":case"yield":if(G){token_error(N,"Unexpected "+N.value+" identifier as parameter inside strict mode")}break;default:if(_e.has(N.value)){unexpected()}}}}},mark_default_assignment:function(E){if($===false){$=E}},mark_spread:function(E){if(q===false){q=E}},mark_strict_mode:function(){G=true},is_strict:function(){return $!==false||q!==false||G},check_strict:function(){if(ie.is_strict()&&j!==false){token_error(j,"Parameter "+j.value+" was used already")}}};return ie}function parameters(E){var N=track_used_binding_identifiers(true,j.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var R=parameter(N);E.push(R);if(!is("punc",")")){expect(",")}if(R instanceof wt){break}}next()}function parameter(E,N){var R;var $=false;if(E===undefined){E=track_used_binding_identifiers(true,j.input.has_directive("use strict"))}if(is("expand","...")){$=j.token;E.mark_spread(j.token);next()}R=binding_element(E,N);if(is("operator","=")&&$===false){E.mark_default_assignment(j.token);next();R=new Cr({start:R.start,left:R,operator:"=",right:expression(false),end:j.token})}if($!==false){if(!is("punc",")")){unexpected()}R=new wt({start:$,expression:R,end:$})}E.check_strict();return R}function binding_element(E,N){var R=[];var $=true;var q=false;var G;var ie=j.token;if(E===undefined){E=track_used_binding_identifiers(false,j.input.has_directive("use strict"))}N=N===undefined?Kr:N;if(is("punc","[")){next();while(!is("punc","]")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("punc")){switch(j.token.value){case",":R.push(new Tn({start:j.token,end:j.token}));continue;case"]":break;case"[":case"{":R.push(binding_element(E,N));break;default:unexpected()}}else if(is("name")){E.add_parameter(j.token);R.push(as_symbol(N))}else{croak("Invalid function parameter")}if(is("operator","=")&&q===false){E.mark_default_assignment(j.token);next();R[R.length-1]=new Cr({start:R[R.length-1].start,left:R[R.length-1],operator:"=",right:expression(false),end:j.token})}if(q){if(!is("punc","]")){croak("Rest element must be last element")}R[R.length-1]=new wt({start:G,expression:R[R.length-1],end:G})}}expect("]");E.check_strict();return new Mt({start:ie,names:R,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter(j.token);var ae=prev();var ce=as_symbol(N);if(q){R.push(new wt({start:G,expression:ce,end:ce.end}))}else{R.push(new Pr({start:ae,key:ce.name,value:ce,end:ce.end}))}}else if(is("punc","}")){continue}else{var le=j.token;var _e=as_property_name();if(_e===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){R.push(new Pr({start:prev(),key:_e,value:new N({start:prev(),name:_e,end:prev()}),end:prev()}))}else{expect(":");R.push(new Pr({start:le,quote:le.quote,key:_e,value:binding_element(E,N),end:prev()}))}}if(q){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment(j.token);next();R[R.length-1].value=new Cr({start:R[R.length-1].value.start,left:R[R.length-1].value,operator:"=",right:expression(false),end:j.token})}}expect("}");E.check_strict();return new Mt({start:ie,names:R,is_array:false,end:prev()})}else if(is("name")){E.add_parameter(j.token);return as_symbol(N)}else{croak("Invalid function parameter")}}function params_or_seq_(E,N){var R;var $;var q;var G=[];expect("(");while(!is("punc",")")){if(R)unexpected(R);if(is("expand","...")){R=j.token;if(N)$=j.token;next();G.push(new wt({start:prev(),expression:expression(),end:j.token}))}else{G.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){q=prev();if(N)$=q}}}expect(")");if(E&&is("arrow","=>")){if(R&&q)unexpected(q)}else if($){unexpected($)}return G}function _function_body(E,N,R,$,q){var G=j.in_loop;var ie=j.labels;var ae=j.in_generator;var ce=j.in_async;++j.in_function;if(N)j.in_generator=j.in_function;if(R)j.in_async=j.in_function;if(q)parameters(q);if(E)j.in_directives=true;j.in_loop=0;j.labels=[];if(E){j.input.push_directives_stack();var le=block_();if($)_verify_symbol($);if(q)q.forEach(_verify_symbol);j.input.pop_directives_stack()}else{var le=[new zt({start:j.token,value:expression(false),end:j.token})]}--j.in_function;j.in_loop=G;j.labels=ie;j.in_generator=ae;j.in_async=ce;return le}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",j.prev.line,j.prev.col,j.prev.pos)}return new qt({start:prev(),end:j.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",j.prev.line,j.prev.col,j.prev.pos)}var E=j.token;var N=false;var R=true;if(can_insert_semicolon()||is("punc")&&Ve.has(j.token.value)){R=false}else if(is("operator","*")){N=true;next()}return new Ht({start:E,is_star:N,expression:R?expression():null,end:prev()})}function if_(){var E=parenthesised(),N=$(false,false,true),R=null;if(is("keyword","else")){next();R=$(false,false,true)}return new Gt({condition:E,body:N,alternative:R})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push($())}next();return E}function switch_body_(){expect("{");var E=[],N=null,R=null,q;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(R)R.end=prev();N=[];R=new Yt({start:(q=j.token,next(),q),expression:expression(true),body:N});E.push(R);expect(":")}else if(is("keyword","default")){if(R)R.end=prev();N=[];R=new Xt({start:(q=j.token,next(),expect(":"),q),body:N});E.push(R)}else{if(!N)unexpected();N.push($())}}if(R)R.end=prev();next();return E}function try_(){var E=block_(),N=null,R=null;if(is("keyword","catch")){var $=j.token;next();if(is("punc","{")){var q=null}else{expect("(");var q=parameter(undefined,rn);expect(")")}N=new er({start:$,argname:q,body:block_(),end:prev()})}if(is("keyword","finally")){var $=j.token;next();R=new tr({start:$,body:block_(),end:prev()})}if(!N&&!R)croak("Missing catch/finally blocks");return new Zt({body:E,bcatch:N,bfinally:R})}function vardefs(E,N){var R=[];var $;for(;;){var q=N==="var"?Vr:N==="const"?Hr:N==="let"?Gr:null;if(is("punc","{")||is("punc","[")){$=new sr({start:j.token,name:binding_element(undefined,q),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{$=new sr({start:j.token,name:as_symbol(q),value:is("operator","=")?(next(),expression(false,E)):!E&&N==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if($.name.name=="import")croak("Unexpected token: import")}R.push($);if(!is("punc",","))break;next()}return R}var var_=function(E){return new nr({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new ir({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new ar({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var N=j.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Jr({start:N,end:prev()}),E)}var R=expr_atom(false),$;if(is("punc","(")){next();$=expr_list(")",true)}else{$=[]}var q=new fr({start:N,expression:R,args:$,end:prev()});annotate(q);return subscripts(q,E)};function as_atom_node(){var E=j.token,N;switch(E.type){case"name":N=_make_symbol(sn);break;case"num":N=new hn({start:E,end:E,value:E.value,raw:ie});break;case"big_int":N=new _n({start:E,end:E,value:E.value});break;case"string":N=new gn({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[R,j,$]=E.value.match(/^\/(.*)\/(\w*)$/);N=new yn({start:E,end:E,value:{source:j,flags:$}});break;case"atom":switch(E.value){case"false":N=new Cn({start:E,end:E});break;case"true":N=new Dn({start:E,end:E});break;case"null":N=new bn({start:E,end:E});break}break}next();return N}function to_fun_args(E,N){var insert_default=function(E,N){if(N){return new Cr({start:E.start,left:E,operator:"=",right:N,end:N.end})}return E};if(E instanceof Ar){return insert_default(new Mt({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),N)}else if(E instanceof Pr){E.value=to_fun_args(E.value);return insert_default(E,N)}else if(E instanceof Tn){return E}else if(E instanceof Mt){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,N)}else if(E instanceof sn){return insert_default(new Kr({name:E.name,start:E.start,end:E.end}),N)}else if(E instanceof wt){E.expression=to_fun_args(E.expression);return insert_default(E,N)}else if(E instanceof Dr){return insert_default(new Mt({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),N)}else if(E instanceof kr){return insert_default(to_fun_args(E.left,E.right),N)}else if(E instanceof Cr){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,N){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var $=j.token;var G;var ie=is("name","async")&&(G=peek()).value!="["&&G.type!="arrow"&&as_atom_node();if(is("punc")){switch(j.token.value){case"(":if(ie&&!E)break;var ae=params_or_seq_(N,!ie);if(N&&is("arrow","=>")){return arrow_function($,ae.map((E=>to_fun_args(E))),!!ie)}var le=ie?new pr({expression:ie,args:ae}):ae.length==1?ae[0]:new mr({expressions:ae});if(le.start){const E=$.comments_before.length;R.set($,E);le.start.comments_before.unshift(...$.comments_before);$.comments_before=le.start.comments_before;if(E==0&&$.comments_before.length>0){var _e=$.comments_before[0];if(!_e.nlb){_e.nlb=$.nlb;$.nlb=false}}$.comments_after=le.start.comments_after}le.start=$;var Te=prev();if(le.end){Te.comments_before=le.end.comments_before;le.end.comments_after.push(...Te.comments_after);Te.comments_after=le.end.comments_after}le.end=Te;if(le instanceof pr)annotate(le);return subscripts(le,E);case"[":return subscripts(q(),E);case"{":return subscripts(ce(),E)}if(!ie)unexpected()}if(N&&is("name")&&is_token(peek(),"arrow")){var Ee=new Kr({name:j.token.value,start:$,end:$});next();return arrow_function($,[Ee],!!ie)}if(is("keyword","function")){next();var we=function_(Nt,false,!!ie);we.start=$;we.end=prev();return subscripts(we,E)}if(ie)return subscripts(ie,E);if(is("keyword","class")){next();var Ie=class_(zr);Ie.start=$;Ie.end=prev();return subscripts(Ie,E)}if(is("template_head")){return subscripts(template_string(),E)}if(rt.has(j.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],N=j.token;E.push(new Bt({start:j.token,raw:ie,value:j.token.value,end:j.token}));while(!ae){next();handle_regexp();E.push(expression(true));E.push(new Bt({start:j.token,raw:ie,value:j.token.value,end:j.token}))}next();return new Lt({start:N,segments:E,end:j.token})}function expr_list(E,N,R){var $=true,q=[];while(!is("punc",E)){if($)$=false;else expect(",");if(N&&is("punc",E))break;if(is("punc",",")&&R){q.push(new Tn({start:j.token,end:j.token}))}else if(is("expand","...")){next();q.push(new wt({start:prev(),expression:expression(),end:j.token}))}else{q.push(expression(false))}}next();return q}var q=embed_tokens((function(){expect("[");return new Dr({elements:expr_list("]",!N.strict,true)})}));var G=embed_tokens(((E,N)=>function_(It,E,N)));var ce=embed_tokens((function object_or_destructuring_(){var E=j.token,R=true,$=[];expect("{");while(!is("punc","}")){if(R)R=false;else expect(",");if(!N.strict&&is("punc","}"))break;E=j.token;if(E.type=="expand"){next();$.push(new wt({start:E,expression:expression(false),end:prev()}));continue}var q=as_property_name();var G;if(!is("punc",":")){var ie=concise_method_or_getset(q,E);if(ie){$.push(ie);continue}G=new sn({start:prev(),name:q,end:prev()})}else if(q===null){unexpected(prev())}else{next();G=expression(false)}if(is("operator","=")){next();G=new kr({start:E,left:G,operator:"=",right:expression(false),logical:false,end:prev()})}$.push(new Pr({start:E,quote:E.quote,key:q instanceof st?q:""+q,value:G,end:prev()}))}next();return new Ar({properties:$})}));function class_(E,N){var R,$,q,G,ie=[];j.input.push_directives_stack();j.input.add_directive("use strict");if(j.token.type=="name"&&j.token.value!="extends"){q=as_symbol(E===Ur?en:tn)}if(E===Ur&&!q){if(N){E=zr}else{unexpected()}}if(j.token.value=="extends"){next();G=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){R=j.token;$=concise_method_or_getset(as_property_name(),R,true);if(!$){unexpected()}ie.push($);while(is("punc",";")){next()}}j.input.pop_directives_stack();next();return new E({start:R,name:q,extends:G,properties:ie,end:prev()})}function concise_method_or_getset(E,N,R){const get_symbol_ast=(E,R=Xr)=>{if(typeof E==="string"||typeof E==="number"){return new R({start:N,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("punc",";")&&!is("operator","=");var j=false;var $=false;var q=false;var ie=false;var ae=null;if(R&&E==="static"&&is_not_method_start()){$=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){j=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){q=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){ae=E;E=as_property_name()}if(prev().type==="privatename"){ie=true}const ce=prev();if(ae!=null){if(!ie){const R=ae==="get"?Or:Fr;E=get_symbol_ast(E);return new R({start:N,static:$,key:E,quote:E instanceof Xr?ce.quote:undefined,value:G(),end:prev()})}else{const R=ae==="get"?Nr:Ir;return new R({start:N,static:$,key:get_symbol_ast(E),value:G(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const R=ie?Rr:Mr;var le=new R({start:N,static:$,is_generator:q,async:j,key:E,quote:E instanceof Xr?ce.quote:undefined,value:G(q,j),end:prev()});return le}if(R){const R=get_symbol_ast(E,Yr);const j=R instanceof Yr?ce.quote:undefined;const q=ie?jr:Br;if(is("operator","=")){next();return new q({start:N,static:$,quote:j,key:R,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new q({start:N,static:$,quote:j,key:R,end:prev()})}}}function maybe_import_assertion(){if(is("name","assert")&&!has_newline_before(j.token)){next();return ce()}return null}function import_statement(){var E=prev();var N;var R;if(is("name")){N=as_symbol(nn)}if(is("punc",",")){next()}R=map_names(true);if(R||N){expect_token("name","from")}var $=j.token;if($.type!=="string"){unexpected()}next();const q=maybe_import_assertion();return new lr({start:E,imported_name:N,imported_names:R,module_name:new gn({start:$,value:$.value,quote:$.quote,end:$}),assert_clause:q,end:j.token})}function import_meta(){var E=j.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new ur({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var N=E?an:ln;var R=E?nn:cn;var $=j.token;var q;var G;if(E){q=make_symbol(N)}else{G=make_symbol(R)}if(is("name","as")){next();if(E){G=make_symbol(R)}else{q=make_symbol(N)}}else if(E){G=new R(q)}else{q=new N(G)}return new cr({start:$,foreign_name:q,name:G,end:prev()})}function map_nameAsterisk(E,N){var R=E?an:ln;var $=E?nn:cn;var q=j.token;var G;var ie=prev();N=N||new $({name:"*",start:q,end:ie});G=new R({name:"*",start:q,end:ie});return new cr({start:q,foreign_name:G,name:N,end:ie})}function map_names(E){var N;if(is("punc","{")){next();N=[];while(!is("punc","}")){N.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var R;next();if(E&&is("name","as")){next();R=as_symbol(E?nn:ln)}N=[map_nameAsterisk(E,R)]}return N}function export_statement(){var E=j.token;var N;var R;if(is("keyword","default")){N=true;next()}else if(R=map_names(false)){if(is("name","from")){next();var q=j.token;if(q.type!=="string"){unexpected()}next();const $=maybe_import_assertion();return new dr({start:E,is_default:N,exported_names:R,module_name:new gn({start:q,value:q.value,quote:q.quote,end:q}),end:prev(),assert_clause:$})}else{return new dr({start:E,is_default:N,exported_names:R,end:prev()})}}var G;var ie;var ae;if(is("punc","{")||N&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ie=expression(false);semicolon()}else if((G=$(N))instanceof rr&&N){unexpected(G.start)}else if(G instanceof rr||G instanceof Ot||G instanceof Ur){ae=G}else if(G instanceof zr||G instanceof Nt){ie=G}else if(G instanceof pt){ie=G.body}else{unexpected(G.start)}return new dr({start:E,is_default:N,exported_value:ie,exported_definition:ae,end:prev(),assert_clause:null})}function as_property_name(){var E=j.token;switch(E.type){case"punc":if(E.value==="["){next();var N=expression(false);expect("]");return N}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=j.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var N=j.token.value;return new(N=="this"?dn:N=="super"?pn:E)({name:String(N),start:j.token,end:j.token})}function _verify_symbol(E){var N=E.name;if(is_in_generator()&&N=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if(j.input.has_directive("use strict")){if(N=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof $r&&(N=="arguments"||N=="eval")){token_error(E.start,"Unexpected "+N+" in strict mode")}}}function as_symbol(E,N){if(!is("name")){if(!N)croak("Name expected");return null}var R=_make_symbol(E);_verify_symbol(R);next();return R}function annotate(E){var N=E.start;var j=N.comments_before;const $=R.get(N);var q=$!=null?$:j.length;while(--q>=0){var G=j[q];if(/[@#]__/.test(G.value)){if(/[@#]__PURE__/.test(G.value)){set_annotation(E,wn);break}if(/[@#]__INLINE__/.test(G.value)){set_annotation(E,Pn);break}if(/[@#]__NOINLINE__/.test(G.value)){set_annotation(E,In);break}}}}var subscripts=function(E,N,R){var j=E.start;if(is("punc",".")){next();const $=is("privatename")?_r:hr;return subscripts(new $({start:j,expression:E,optional:false,property:as_name(),end:prev()}),N,R)}if(is("punc","[")){next();var $=expression(true);expect("]");return subscripts(new yr({start:j,expression:E,optional:false,property:$,end:prev()}),N,R)}if(N&&is("punc","(")){next();var q=new pr({start:j,expression:E,optional:false,args:call_args(),end:prev()});annotate(q);return subscripts(q,true,R)}if(is("punc","?.")){next();let R;if(N&&is("punc","(")){next();const N=new pr({start:j,optional:true,expression:E,args:call_args(),end:prev()});annotate(N);R=subscripts(N,true,true)}else if(is("name")||is("privatename")){const $=is("privatename")?_r:hr;R=subscripts(new $({start:j,expression:E,optional:true,property:as_name(),end:prev()}),N,true)}else if(is("punc","[")){next();const $=expression(true);expect("]");R=subscripts(new yr({start:j,expression:E,optional:true,property:$,end:prev()}),N,true)}if(!R)unexpected();if(R instanceof vr)return R;return new vr({start:j,expression:R,end:prev()})}if(is("template_head")){if(R){unexpected()}return subscripts(new Rt({start:j,prefix:E,template_string:template_string(),end:prev()}),N)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new wt({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,N){var R=j.token;if(R.type=="name"&&R.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&Xe.has(R.value)){next();handle_regexp();var $=make_unary(xr,R,maybe_unary(E));$.start=R;$.end=prev();return $}var q=expr_atom(E,N);while(is("operator")&&Ye.has(j.token.value)&&!has_newline_before(j.token)){if(q instanceof Ft)unexpected();q=make_unary(Sr,j.token,q);q.start=R;q.end=j.token;next()}return q};function make_unary(E,N,R){var $=N.value;switch($){case"++":case"--":if(!is_assignable(R))croak("Invalid use of "+$+" operator",N.line,N.col,N.pos);break;case"delete":if(R instanceof sn&&j.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",R.start.line,R.start.col,R.start.pos);break}return new E({operator:$,expression:R})}var expr_op=function(E,N,R){var $=is("operator")?j.token.value:null;if($=="in"&&R)$=null;if($=="**"&&E instanceof xr&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var q=$!=null?tt[$]:null;if(q!=null&&(q>N||$==="**"&&N===q)){next();var G=expr_op(maybe_unary(true),q,R);return expr_op(new Tr({start:E.start,left:E,operator:$,right:G,end:G.end}),N,R)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var N=j.token;var R=expr_ops(E);if(is("operator","?")){next();var $=expression(false);expect(":");return new Er({start:N,condition:R,consequent:$,alternative:expression(false,E),end:prev()})}return R};function is_assignable(E){return E instanceof gr||E instanceof sn}function to_destructuring(E){if(E instanceof Ar){E=new Mt({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof Dr){var N=[];for(var R=0;R=0;){q+="this."+N[G]+" = props."+N[G]+";"}const ie=j&&Object.create(j.prototype);if(ie&&ie.initialize||R&&R.initialize)q+="this.initialize();";q+="}";q+="this.flags = 0;";q+="}";var ae=new Function(q)();if(ie){ae.prototype=ie;ae.BASE=j}if(j)j.SUBCLASSES.push(ae);ae.prototype.CTOR=ae;ae.prototype.constructor=ae;ae.PROPS=N||null;ae.SELF_PROPS=$;ae.SUBCLASSES=[];if(E){ae.prototype.TYPE=ae.TYPE=E}if(R)for(G in R)if(HOP(R,G)){if(G[0]==="$"){ae[G.substr(1)]=R[G]}else{ae.prototype[G]=R[G]}}ae.DEFMETHOD=function(E,N){this.prototype[E]=N};return ae}const has_tok_flag=(E,N)=>Boolean(E.flags&N);const set_tok_flag=(E,N,R)=>{if(R){E.flags|=N}else{E.flags&=~N}};const nt=1;const it=2;const ot=4;class AST_Token{constructor(E,N,R,j,$,q,G,ie,ae){this.flags=q?1:0;this.type=E;this.value=N;this.line=R;this.col=j;this.pos=$;this.comments_before=G;this.comments_after=ie;this.file=ae;Object.seal(this)}get nlb(){return has_tok_flag(this,nt)}set nlb(E){set_tok_flag(this,nt,E)}get quote(){return!has_tok_flag(this,ot)?"":has_tok_flag(this,it)?"'":'"'}set quote(E){set_tok_flag(this,it,E==="'");set_tok_flag(this,ot,!!E)}}var st=DEFNODE("Node","start end",{_clone:function(E){if(E){var N=this.clone();return N.transform(new TreeTransformer((function(E){if(E!==N){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var ct=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var ut=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},ct);var dt=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},ct);var pt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},ct);function walk_body(E,N){const R=E.body;for(var j=0,$=R.length;j<$;j++){R[j]._walk(N)}}function clone_block_scope(E){var N=this._clone(E);if(this.block_scope){N.block_scope=this.block_scope.clone()}return N}var ft=DEFNODE("Block","body block_scope",{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N])},clone:clone_block_scope},ct);var mt=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},ft);var ht=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},ct);var _t=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},ct);var yt=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(E){return E._visit(this,(function(){this.label._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.label)},clone:function(E){var N=this._clone(E);if(E){var R=N.label;var j=this.label;N.walk(new TreeWalker((function(E){if(E instanceof Jt&&E.label&&E.label.thedef===j){E.label.thedef=R;R.references.push(E)}})))}return N}},_t);var vt=DEFNODE("IterationStatement","block_scope",{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:clone_block_scope},_t);var bt=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},vt);var xt=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(E){return E._visit(this,(function(){this.body._walk(E);this.condition._walk(E)}))},_children_backwards(E){E(this.condition);E(this.body)}},bt);var St=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.condition)}},bt);var Tt=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(E){return E._visit(this,(function(){if(this.init)this.init._walk(E);if(this.condition)this.condition._walk(E);if(this.step)this.step._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.step)E(this.step);if(this.condition)E(this.condition);if(this.init)E(this.init)}},vt);var Et=DEFNODE("ForIn","init object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(E){return E._visit(this,(function(){this.init._walk(E);this.object._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.object)E(this.object);if(this.init)E(this.init)}},vt);var kt=DEFNODE("ForOf","await",{$documentation:"A `for ... of` statement"},Et);var Ct=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.expression)}},_t);var Dt=DEFNODE("Scope","variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,N){var R=this._clone(E);if(E&&this.variables&&N&&!this._block_scope){R.figure_out_scope({},{toplevel:N,parent_scope:this.parent_scope})}else{if(this.variables)R.variables=new Map(this.variables);if(this.enclosed)R.enclosed=this.enclosed.slice();if(this._block_scope)R._block_scope=this._block_scope}return R},pinned:function(){return this.uses_eval||this.uses_with}},ft);var At=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var N=this.body;var R="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";R=parse(R);R=R.transform(new TreeTransformer((function(E){if(E instanceof dt&&E.value=="$ORIG"){return $.splice(N)}})));return R},wrap_enclose:function(E){if(typeof E!="string")E="";var N=E.indexOf(":");if(N<0)N=E.length;var R=this.body;return parse(["(function(",E.slice(0,N),'){"$ORIG"})(',E.slice(N+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof dt&&E.value=="$ORIG"){return $.splice(R)}})))}},Dt);var wt=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var Pt=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var N=0;N b)"},Pt);var Ot=DEFNODE("Defun",null,{$documentation:"A function definition"},Pt);var Mt=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.names.length;while(N--)E(this.names[N])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(N){if(N instanceof Wr){E.push(N)}})));return E}});var Rt=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Lt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.segments.length;while(N--)E(this.segments[N])}});var Bt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var jt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},ct);var Ut=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},jt);var zt=DEFNODE("Return",null,{$documentation:"A `return` statement"},Ut);var Wt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},Ut);var Jt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},jt);var $t=DEFNODE("Break",null,{$documentation:"A `break` statement"},Jt);var Vt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Jt);var qt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var Ht=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var Gt=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},_t);var Kt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},ft);var Qt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},ft);var Xt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Qt);var Yt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},Qt);var Zt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let N=this.body.length;while(N--)E(this.body[N])}},ft);var er=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);if(this.argname)E(this.argname)}},ft);var tr=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},ft);var rr=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var N=this.definitions;for(var R=0,j=N.length;R a`"},Tr);var Dr=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var N=this.elements;for(var R=0,j=N.length;RN._walk(E)))}))},_children_backwards(E){let N=this.properties.length;while(N--)E(this.properties[N]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},Dt);var Br=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof st)this.key._walk(E);if(this.value instanceof st)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof st)E(this.value);if(this.key instanceof st)E(this.key)},computed_key(){return!(this.key instanceof Yr)}},wr);var jr=DEFNODE("ClassPrivateProperty","",{$documentation:"A class property for a private property"},Br);var Ur=DEFNODE("DefClass",null,{$documentation:"A class definition"},Lr);var zr=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Lr);var Wr=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Jr=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var $r=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},Wr);var Vr=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},$r);var qr=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},$r);var Hr=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},qr);var Gr=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},qr);var Kr=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Vr);var Qr=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},$r);var Xr=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},Wr);var Yr=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},Wr);var Zr=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},$r);var en=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},qr);var tn=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},$r);var rn=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},qr);var nn=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},qr);var an=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},Wr);var on=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},Wr);var sn=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},Wr);var cn=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},sn);var ln=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},Wr);var un=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},Wr);var dn=DEFNODE("This",null,{$documentation:"The `this` symbol"},Wr);var pn=DEFNODE("Super",null,{$documentation:"The `super` symbol"},dn);var mn=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var gn=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},mn);var hn=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},mn);var _n=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},mn);var yn=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},mn);var vn=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},mn);var bn=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},vn);var xn=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},vn);var Sn=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},vn);var Tn=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},vn);var En=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},vn);var kn=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},vn);var Cn=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},kn);var Dn=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},kn);function walk(E,N,R=[E]){const j=R.push.bind(R);while(R.length){const E=R.pop();const $=N(E,R);if($){if($===An)return true;continue}E._children_backwards(j)}return false}function walk_parent(E,N,R){const j=[E];const $=j.push.bind(j);const q=R?R.slice():[];const G=[];let ie;const ae={parent:(E=0)=>{if(E===-1){return ie}if(R&&E>=q.length){E-=q.length;return R[R.length-(E+1)]}return q[q.length-(1+E)]}};while(j.length){ie=j.pop();while(G.length&&j.length==G[G.length-1]){q.pop();G.pop()}const E=N(ie,ae);if(E){if(E===An)return true;continue}const R=j.length;ie._children_backwards($);if(j.length>R){q.push(ie);G.push(R-1)}}return false}const An=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,N){this.push(E);var R=this.visit(E,N?function(){N.call(E)}:noop);if(!R&&N){N.call(E)}this.pop();return R}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof Pt){this.directives=Object.create(this.directives)}else if(E instanceof dt&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Lr){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof Pt||E instanceof Lr){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var N=this.stack;for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof E)return j}}has_directive(E){var N=this.directives[E];if(N)return N;var R=this.stack[this.stack.length-1];if(R instanceof Dt&&R.body){for(var j=0;j=0;){var j=N[R];if(j instanceof yt&&j.label.name==E.label.name)return j.body}else for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof vt||E instanceof $t&&j instanceof Kt)return j}}}class TreeTransformer extends TreeWalker{constructor(E,N){super();this.before=E;this.after=N}}const wn=1;const Pn=2;const In=4;var Nn=Object.freeze({__proto__:null,AST_Accessor:It,AST_Array:Dr,AST_Arrow:Ft,AST_Assign:kr,AST_Atom:vn,AST_Await:qt,AST_BigInt:_n,AST_Binary:Tr,AST_Block:ft,AST_BlockStatement:mt,AST_Boolean:kn,AST_Break:$t,AST_Call:pr,AST_Case:Yt,AST_Catch:er,AST_Chain:vr,AST_Class:Lr,AST_ClassExpression:zr,AST_ClassPrivateProperty:jr,AST_ClassProperty:Br,AST_ConciseMethod:Mr,AST_Conditional:Er,AST_Const:ar,AST_Constant:mn,AST_Continue:Vt,AST_Debugger:ut,AST_Default:Xt,AST_DefaultAssign:Cr,AST_DefClass:Ur,AST_Definitions:rr,AST_Defun:Ot,AST_Destructuring:Mt,AST_Directive:dt,AST_Do:xt,AST_Dot:hr,AST_DotHash:_r,AST_DWLoop:bt,AST_EmptyStatement:ht,AST_Exit:Ut,AST_Expansion:wt,AST_Export:dr,AST_False:Cn,AST_Finally:tr,AST_For:Tt,AST_ForIn:Et,AST_ForOf:kt,AST_Function:Nt,AST_Hole:Tn,AST_If:Gt,AST_Import:lr,AST_ImportMeta:ur,AST_Infinity:En,AST_IterationStatement:vt,AST_Jump:jt,AST_Label:on,AST_LabeledStatement:yt,AST_LabelRef:un,AST_Lambda:Pt,AST_Let:ir,AST_LoopControl:Jt,AST_NameMapping:cr,AST_NaN:xn,AST_New:fr,AST_NewTarget:Jr,AST_Node:st,AST_Null:bn,AST_Number:hn,AST_Object:Ar,AST_ObjectGetter:Or,AST_ObjectKeyVal:Pr,AST_ObjectProperty:wr,AST_ObjectSetter:Fr,AST_PrefixedTemplateString:Rt,AST_PrivateGetter:Nr,AST_PrivateMethod:Rr,AST_PrivateSetter:Ir,AST_PropAccess:gr,AST_RegExp:yn,AST_Return:zt,AST_Scope:Dt,AST_Sequence:mr,AST_SimpleStatement:pt,AST_Statement:ct,AST_StatementWithBody:_t,AST_String:gn,AST_Sub:yr,AST_Super:pn,AST_Switch:Kt,AST_SwitchBranch:Qt,AST_Symbol:Wr,AST_SymbolBlockDeclaration:qr,AST_SymbolCatch:rn,AST_SymbolClass:tn,AST_SymbolClassProperty:Yr,AST_SymbolConst:Hr,AST_SymbolDeclaration:$r,AST_SymbolDefClass:en,AST_SymbolDefun:Qr,AST_SymbolExport:cn,AST_SymbolExportForeign:ln,AST_SymbolFunarg:Kr,AST_SymbolImport:nn,AST_SymbolImportForeign:an,AST_SymbolLambda:Zr,AST_SymbolLet:Gr,AST_SymbolMethod:Xr,AST_SymbolRef:sn,AST_SymbolVar:Vr,AST_TemplateSegment:Bt,AST_TemplateString:Lt,AST_This:dn,AST_Throw:Wt,AST_Token:AST_Token,AST_Toplevel:At,AST_True:Dn,AST_Try:Zt,AST_Unary:br,AST_UnaryPostfix:Sr,AST_UnaryPrefix:xr,AST_Undefined:Sn,AST_Var:nr,AST_VarDef:sr,AST_While:St,AST_With:Ct,AST_Yield:Ht,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:An,walk_body:walk_body,walk_parent:walk_parent,_INLINE:Pn,_NOINLINE:In,_PURE:wn});function def_transform(E,N){E.DEFMETHOD("transform",(function(E,R){let j=undefined;E.push(this);if(E.before)j=E.before(this,N,R);if(j===undefined){j=this;N(j,E);if(E.after){const N=E.after(j,R);if(N!==undefined)j=N}}E.pop();return j}))}function do_list(E,N){return $(E,(function(E){return E.transform(N,true)}))}def_transform(st,noop);def_transform(yt,(function(E,N){E.label=E.label.transform(N);E.body=E.body.transform(N)}));def_transform(pt,(function(E,N){E.body=E.body.transform(N)}));def_transform(ft,(function(E,N){E.body=do_list(E.body,N)}));def_transform(xt,(function(E,N){E.body=E.body.transform(N);E.condition=E.condition.transform(N)}));def_transform(St,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N)}));def_transform(Tt,(function(E,N){if(E.init)E.init=E.init.transform(N);if(E.condition)E.condition=E.condition.transform(N);if(E.step)E.step=E.step.transform(N);E.body=E.body.transform(N)}));def_transform(Et,(function(E,N){E.init=E.init.transform(N);E.object=E.object.transform(N);E.body=E.body.transform(N)}));def_transform(Ct,(function(E,N){E.expression=E.expression.transform(N);E.body=E.body.transform(N)}));def_transform(Ut,(function(E,N){if(E.value)E.value=E.value.transform(N)}));def_transform(Jt,(function(E,N){if(E.label)E.label=E.label.transform(N)}));def_transform(Gt,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N);if(E.alternative)E.alternative=E.alternative.transform(N)}));def_transform(Kt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Yt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Zt,(function(E,N){E.body=do_list(E.body,N);if(E.bcatch)E.bcatch=E.bcatch.transform(N);if(E.bfinally)E.bfinally=E.bfinally.transform(N)}));def_transform(er,(function(E,N){if(E.argname)E.argname=E.argname.transform(N);E.body=do_list(E.body,N)}));def_transform(rr,(function(E,N){E.definitions=do_list(E.definitions,N)}));def_transform(sr,(function(E,N){E.name=E.name.transform(N);if(E.value)E.value=E.value.transform(N)}));def_transform(Mt,(function(E,N){E.names=do_list(E.names,N)}));def_transform(Pt,(function(E,N){if(E.name)E.name=E.name.transform(N);E.argnames=do_list(E.argnames,N);if(E.body instanceof st){E.body=E.body.transform(N)}else{E.body=do_list(E.body,N)}}));def_transform(pr,(function(E,N){E.expression=E.expression.transform(N);E.args=do_list(E.args,N)}));def_transform(mr,(function(E,N){const R=do_list(E.expressions,N);E.expressions=R.length?R:[new hn({value:0})]}));def_transform(gr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(yr,(function(E,N){E.expression=E.expression.transform(N);E.property=E.property.transform(N)}));def_transform(vr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(Ht,(function(E,N){if(E.expression)E.expression=E.expression.transform(N)}));def_transform(qt,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(br,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(Tr,(function(E,N){E.left=E.left.transform(N);E.right=E.right.transform(N)}));def_transform(Er,(function(E,N){E.condition=E.condition.transform(N);E.consequent=E.consequent.transform(N);E.alternative=E.alternative.transform(N)}));def_transform(Dr,(function(E,N){E.elements=do_list(E.elements,N)}));def_transform(Ar,(function(E,N){E.properties=do_list(E.properties,N)}));def_transform(wr,(function(E,N){if(E.key instanceof st){E.key=E.key.transform(N)}if(E.value)E.value=E.value.transform(N)}));def_transform(Lr,(function(E,N){if(E.name)E.name=E.name.transform(N);if(E.extends)E.extends=E.extends.transform(N);E.properties=do_list(E.properties,N)}));def_transform(wt,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(cr,(function(E,N){E.foreign_name=E.foreign_name.transform(N);E.name=E.name.transform(N)}));def_transform(lr,(function(E,N){if(E.imported_name)E.imported_name=E.imported_name.transform(N);if(E.imported_names)do_list(E.imported_names,N);E.module_name=E.module_name.transform(N)}));def_transform(dr,(function(E,N){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(N);if(E.exported_value)E.exported_value=E.exported_value.transform(N);if(E.exported_names)do_list(E.exported_names,N);if(E.module_name)E.module_name=E.module_name.transform(N)}));def_transform(Lt,(function(E,N){E.segments=do_list(E.segments,N)}));def_transform(Rt,(function(E,N){E.prefix=E.prefix.transform(N);E.template_string=E.template_string.transform(N)}));(function(){var normalize_directives=function(E){var N=true;for(var R=0;R{if(E&&E.length>0){return new Ar({start:my_start_token(E),end:my_end_token(E),properties:E.map((E=>new Pr({start:my_start_token(E),end:my_end_token(E),key:E.key.name||E.key.value,value:from_moz(E.value)})))})}return null};var E={Program:function(E){return new At({start:my_start_token(E),end:my_end_token(E),body:normalize_directives(E.body.map(from_moz))})},ArrayPattern:function(E){return new Mt({start:my_start_token(E),end:my_end_token(E),names:E.elements.map((function(E){if(E===null){return new Tn}return from_moz(E)})),is_array:true})},ObjectPattern:function(E){return new Mt({start:my_start_token(E),end:my_end_token(E),names:E.properties.map(from_moz),is_array:false})},AssignmentPattern:function(E){return new Cr({start:my_start_token(E),end:my_end_token(E),left:from_moz(E.left),operator:"=",right:from_moz(E.right)})},SpreadElement:function(E){return new wt({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.argument)})},RestElement:function(E){return new wt({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.argument)})},TemplateElement:function(E){return new Bt({start:my_start_token(E),end:my_end_token(E),value:E.value.cooked,raw:E.value.raw})},TemplateLiteral:function(E){var N=[];for(var R=0;R1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Zt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(N[0]),bfinally:E.finalizer?new tr(from_moz(E.finalizer)):null})},Property:function(E){var N=E.key;var R={start:my_start_token(N||E.value),end:my_end_token(E.value),key:N.type=="Identifier"?N.name:N.value,value:from_moz(E.value)};if(E.computed){R.key=from_moz(E.key)}if(E.method){R.is_generator=E.value.generator;R.async=E.value.async;if(!E.computed){R.key=new Xr({name:R.key})}else{R.key=from_moz(E.key)}return new Mr(R)}if(E.kind=="init"){if(N.type!="Identifier"&&N.type!="Literal"){R.key=from_moz(N)}return new Pr(R)}if(typeof R.key==="string"||typeof R.key==="number"){R.key=new Xr({name:R.key})}R.value=new It(R.value);if(E.kind=="get")return new Or(R);if(E.kind=="set")return new Fr(R);if(E.kind=="method"){R.async=E.value.async;R.is_generator=E.value.generator;R.quote=E.computed?'"':null;return new Mr(R)}},MethodDefinition:function(E){var N={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Xr({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new Or(N)}if(E.kind=="set"){return new Fr(N)}N.is_generator=E.value.generator;N.async=E.value.async;return new Mr(N)},FieldDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");N=from_moz(E.key)}return new Br({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");N=from_moz(E.key)}return new Br({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new Dr({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new Tn:from_moz(E)}))})},ObjectExpression:function(E){return new Ar({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new mr({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?yr:hr)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new vr({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Yt:Xt)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?ar:E.kind==="let"?ir:nr)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var N=null;var R=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!R){R=[]}R.push(new cr({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){N=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!R){R=[]}R.push(new cr({start:my_start_token(E),end:my_end_token(E),foreign_name:new an({name:"*"}),name:from_moz(E.local)}))}}));return new lr({start:my_start_token(E),end:my_end_token(E),imported_name:N,imported_names:R,module_name:from_moz(E.source),assert_clause:assert_clause_from_moz(E.assertions)})},ExportAllDeclaration:function(E){return new dr({start:my_start_token(E),end:my_end_token(E),exported_names:[new cr({name:new ln({name:"*"}),foreign_name:new ln({name:"*"})})],module_name:from_moz(E.source),assert_clause:assert_clause_from_moz(E.assertions)})},ExportNamedDeclaration:function(E){return new dr({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new cr({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source),assert_clause:assert_clause_from_moz(E.assertions)})},ExportDefaultDeclaration:function(E){return new dr({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var N=E.value,R={start:my_start_token(E),end:my_end_token(E)};var j=E.regex;if(j&&j.pattern){R.value={source:j.pattern,flags:j.flags};return new yn(R)}else if(j){const j=E.raw||N;const $=j.match(/^\/(.*)\/(\w*)$/);if(!$)throw new Error("Invalid regex source "+j);const[q,G,ie]=$;R.value={source:G,flags:ie};return new yn(R)}if(N===null)return new bn(R);switch(typeof N){case"string":R.value=N;return new gn(R);case"number":R.value=N;R.raw=E.raw||N.toString();return new hn(R);case"boolean":return new(N?Dn:Cn)(R)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Jr({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new ur({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var R=N[N.length-2];return new(R.type=="LabeledStatement"?on:R.type=="VariableDeclarator"&&R.id===E?R.kind=="const"?Hr:R.kind=="let"?Gr:Vr:/Import.*Specifier/.test(R.type)?R.local===E?nn:an:R.type=="ExportSpecifier"?R.local===E?cn:ln:R.type=="FunctionExpression"?R.id===E?Zr:Kr:R.type=="FunctionDeclaration"?R.id===E?Qr:Kr:R.type=="ArrowFunctionExpression"?R.params.includes(E)?Kr:sn:R.type=="ClassExpression"?R.id===E?tn:sn:R.type=="Property"?R.key===E&&R.computed||R.value===E?sn:Xr:R.type=="PropertyDefinition"||R.type==="FieldDefinition"?R.key===E&&R.computed||R.value===E?sn:Yr:R.type=="ClassDeclaration"?R.id===E?en:sn:R.type=="MethodDefinition"?R.computed?sn:Xr:R.type=="CatchClause"?rn:R.type=="BreakStatement"||R.type=="ContinueStatement"?un:sn)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new _n({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var N="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(N?xr:Sr)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?Ur:zr)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",ht);map("BlockStatement",mt,"body@body");map("IfStatement",Gt,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",yt,"label>label, body>body");map("BreakStatement",$t,"label>label");map("ContinueStatement",Vt,"label>label");map("WithStatement",Ct,"object>expression, body>body");map("SwitchStatement",Kt,"discriminant>expression, cases@body");map("ReturnStatement",zt,"argument>value");map("ThrowStatement",Wt,"argument>value");map("WhileStatement",St,"test>condition, body>body");map("DoWhileStatement",xt,"test>condition, body>body");map("ForStatement",Tt,"init>init, test>condition, update>step, body>body");map("ForInStatement",Et,"left>init, right>object, body>body");map("ForOfStatement",kt,"left>init, right>object, body>body, await=await");map("AwaitExpression",qt,"argument>expression");map("YieldExpression",Ht,"argument>expression, delegate=is_star");map("DebuggerStatement",ut);map("VariableDeclarator",sr,"id>name, init>value");map("CatchClause",er,"param>argname, body%body");map("ThisExpression",dn);map("Super",pn);map("BinaryExpression",Tr,"operator=operator, left>left, right>right");map("LogicalExpression",Tr,"operator=operator, left>left, right>right");map("AssignmentExpression",kr,"operator=operator, left>left, right>right");map("ConditionalExpression",Er,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",fr,"callee>expression, arguments@args");map("CallExpression",pr,"callee>expression, optional=optional, arguments@args");def_to_moz(At,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(wt,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Rt,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Lt,(function To_Moz_TemplateLiteral(E){var N=[];var R=[];for(var j=0;j{const N=[];if(E){for(const{key:R,value:j}of E.properties){const E=is_basic_identifier_string(R)?{type:"Identifier",name:R}:{type:"Literal",value:R,raw:JSON.stringify(R)};N.push({type:"ImportAttribute",key:E,value:to_moz(j)})}}return N};def_to_moz(dr,(function To_Moz_ExportDeclaration(E){if(E.exported_names){if(E.exported_names[0].name.name==="*"){return{type:"ExportAllDeclaration",source:to_moz(E.module_name),assertions:assert_clause_to_moz(E.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:E.exported_names.map((function(E){return{type:"ExportSpecifier",exported:to_moz(E.foreign_name),local:to_moz(E.name)}})),declaration:to_moz(E.exported_definition),source:to_moz(E.module_name),assertions:assert_clause_to_moz(E.assert_clause)}}return{type:E.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:to_moz(E.exported_value||E.exported_definition)}}));def_to_moz(lr,(function To_Moz_ImportDeclaration(E){var N=[];if(E.imported_name){N.push({type:"ImportDefaultSpecifier",local:to_moz(E.imported_name)})}if(E.imported_names&&E.imported_names[0].foreign_name.name==="*"){N.push({type:"ImportNamespaceSpecifier",local:to_moz(E.imported_names[0].name)})}else if(E.imported_names){E.imported_names.forEach((function(E){N.push({type:"ImportSpecifier",local:to_moz(E.name),imported:to_moz(E.foreign_name)})}))}return{type:"ImportDeclaration",specifiers:N,source:to_moz(E.module_name),assertions:assert_clause_to_moz(E.assert_clause)}}));def_to_moz(ur,(function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}));def_to_moz(mr,(function To_Moz_SequenceExpression(E){return{type:"SequenceExpression",expressions:E.expressions.map(to_moz)}}));def_to_moz(_r,(function To_Moz_PrivateMemberExpression(E){return{type:"MemberExpression",object:to_moz(E.expression),computed:false,property:{type:"PrivateIdentifier",name:E.property},optional:E.optional}}));def_to_moz(gr,(function To_Moz_MemberExpression(E){var N=E instanceof yr;return{type:"MemberExpression",object:to_moz(E.expression),computed:N,property:N?to_moz(E.property):{type:"Identifier",name:E.property},optional:E.optional}}));def_to_moz(vr,(function To_Moz_ChainExpression(E){return{type:"ChainExpression",expression:to_moz(E.expression)}}));def_to_moz(br,(function To_Moz_Unary(E){return{type:E.operator=="++"||E.operator=="--"?"UpdateExpression":"UnaryExpression",operator:E.operator,prefix:E instanceof xr,argument:to_moz(E.expression)}}));def_to_moz(Tr,(function To_Moz_BinaryExpression(E){if(E.operator=="="&&to_moz_in_destructuring()){return{type:"AssignmentPattern",left:to_moz(E.left),right:to_moz(E.right)}}const N=E.operator=="&&"||E.operator=="||"||E.operator==="??"?"LogicalExpression":"BinaryExpression";return{type:N,left:to_moz(E.left),operator:E.operator,right:to_moz(E.right)}}));def_to_moz(Dr,(function To_Moz_ArrayExpression(E){return{type:"ArrayExpression",elements:E.elements.map(to_moz)}}));def_to_moz(Ar,(function To_Moz_ObjectExpression(E){return{type:"ObjectExpression",properties:E.properties.map(to_moz)}}));def_to_moz(wr,(function To_Moz_Property(E,N){var R=E.key instanceof st?to_moz(E.key):{type:"Identifier",value:E.key};if(typeof E.key==="number"){R={type:"Literal",value:Number(E.key)}}if(typeof E.key==="string"){R={type:"Identifier",name:E.key}}var j;var $=typeof E.key==="string"||typeof E.key==="number";var q=$?false:!(E.key instanceof Wr)||E.key instanceof sn;if(E instanceof Pr){j="init";q=!$}else if(E instanceof Or){j="get"}else if(E instanceof Fr){j="set"}if(E instanceof Nr||E instanceof Ir){const N=E instanceof Nr?"get":"set";return{type:"MethodDefinition",computed:false,kind:N,static:E.static,key:{type:"PrivateIdentifier",name:E.key.name},value:to_moz(E.value)}}if(E instanceof jr){return{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:E.key.name},value:to_moz(E.value),computed:false,static:E.static}}if(E instanceof Br){return{type:"PropertyDefinition",key:R,value:to_moz(E.value),computed:q,static:E.static}}if(N instanceof Lr){return{type:"MethodDefinition",computed:q,kind:j,static:E.static,key:to_moz(E.key),value:to_moz(E.value)}}return{type:"Property",computed:q,kind:j,key:R,value:to_moz(E.value)}}));def_to_moz(Mr,(function To_Moz_MethodDefinition(E,N){if(N instanceof Ar){return{type:"Property",computed:!(E.key instanceof Wr)||E.key instanceof sn,kind:"init",method:true,shorthand:false,key:to_moz(E.key),value:to_moz(E.value)}}const R=E instanceof Rr?{type:"PrivateIdentifier",name:E.key.name}:to_moz(E.key);return{type:"MethodDefinition",kind:E.key==="constructor"?"constructor":"method",key:R,value:to_moz(E.value),computed:!(E.key instanceof Wr)||E.key instanceof sn,static:E.static}}));def_to_moz(Lr,(function To_Moz_Class(E){var N=E instanceof zr?"ClassExpression":"ClassDeclaration";return{type:N,superClass:to_moz(E.extends),id:E.name?to_moz(E.name):null,body:{type:"ClassBody",body:E.properties.map(to_moz)}}}));def_to_moz(Jr,(function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}));def_to_moz(Wr,(function To_Moz_Identifier(E,N){if(E instanceof Xr&&N.quote){return{type:"Literal",value:E.name}}var R=E.definition();return{type:"Identifier",name:R?R.mangled_name||R.name:E.name}}));def_to_moz(yn,(function To_Moz_RegExpLiteral(E){const N=E.value.source;const R=E.value.flags;return{type:"Literal",value:null,raw:E.print_to_string(),regex:{pattern:N,flags:R}}}));def_to_moz(mn,(function To_Moz_Literal(E){var N=E.value;return{type:"Literal",value:N,raw:E.raw||E.print_to_string()}}));def_to_moz(vn,(function To_Moz_Atom(E){return{type:"Identifier",name:String(E.value)}}));def_to_moz(_n,(E=>({type:"BigIntLiteral",value:E.value})));kn.DEFMETHOD("to_mozilla_ast",mn.prototype.to_mozilla_ast);bn.DEFMETHOD("to_mozilla_ast",mn.prototype.to_mozilla_ast);Tn.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));ft.DEFMETHOD("to_mozilla_ast",mt.prototype.to_mozilla_ast);Pt.DEFMETHOD("to_mozilla_ast",Nt.prototype.to_mozilla_ast);function my_start_token(E){var N=E.loc,R=N&&N.start;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.start,false,[],[],N&&N.source)}function my_end_token(E){var N=E.loc,R=N&&N.end;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.end,false,[],[],N&&N.source)}function map(N,R,j){var $="function From_Moz_"+N+"(M){\n";$+="return new U2."+R.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var q="function To_Moz_"+N+"(M){\n";q+="return {\n"+"type: "+JSON.stringify(N);if(j)j.split(/\s*,\s*/).forEach((function(E){var N=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!N)throw new Error("Can't understand property map: "+E);var R=N[1],j=N[2],G=N[3];$+=",\n"+G+": ";q+=",\n"+R+": ";switch(j){case"@":$+="M."+R+".map(from_moz)";q+="M."+G+".map(to_moz)";break;case">":$+="from_moz(M."+R+")";q+="to_moz(M."+G+")";break;case"=":$+="M."+R;q+="M."+G;break;case"%":$+="from_moz(M."+R+").body";q+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));$+="\n})\n}";q+="\n}\n}";$=new Function("U2","my_start_token","my_end_token","from_moz","return("+$+")")(Nn,my_start_token,my_end_token,from_moz);q=new Function("to_moz","to_moz_block","to_moz_scope","return("+q+")")(to_moz,to_moz_block,to_moz_scope);E[N]=$;def_to_moz(R,q)}var N=null;function from_moz(R){N.push(R);var j=R!=null?E[R.type](R):null;N.pop();return j}st.from_mozilla_ast=function(E){var R=N;N=[];var j=from_moz(E);N=R;return j};function set_moz_loc(E,N){var R=E.start;var j=E.end;if(!(R&&j)){return N}if(R.pos!=null&&j.endpos!=null){N.range=[R.pos,j.endpos]}if(R.line){N.loc={start:{line:R.line,column:R.col},end:j.endline?{line:j.endline,column:j.endcol}:null};if(R.file){N.loc.source=R.file}}return N}function def_to_moz(E,N){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,N(this,E))}))}var R=null;function to_moz(E){if(R===null){R=[]}R.push(E);var N=E!=null?E.to_mozilla_ast(R[R.length-2]):null;R.pop();if(R.length===0){R=null}return N}function to_moz_in_destructuring(){var E=R.length;while(E--){if(R[E]instanceof Mt){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,N){var R=N.body.map(to_moz);if(N.body[0]instanceof pt&&N.body[0].body instanceof gn){R.unshift(to_moz(new ht(N.body[0])))}return{type:E,body:R}}})();function first_in_statement(E){let N=E.parent(-1);for(let R=0,j;j=E.parent(R);R++){if(j instanceof ct&&j.body===N)return true;if(j instanceof mr&&j.expressions[0]===N||j.TYPE==="Call"&&j.expression===N||j instanceof Rt&&j.prefix===N||j instanceof hr&&j.expression===N||j instanceof yr&&j.expression===N||j instanceof Er&&j.condition===N||j instanceof Tr&&j.left===N||j instanceof Sr&&j.expression===N){N=j}else{return false}}}function left_is_object(E){if(E instanceof Ar)return true;if(E instanceof mr)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Rt)return left_is_object(E.prefix);if(E instanceof hr||E instanceof yr)return left_is_object(E.expression);if(E instanceof Er)return left_is_object(E.condition);if(E instanceof Tr)return left_is_object(E.left);if(E instanceof Sr)return left_is_object(E.expression);return false}const Fn=/^$|[;{][\s\n]*$/;const On=10;const Mn=32;const Rn=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}class Rope{constructor(){this.committed="";this.current=""}append(E){this.current+=E}insertAt(E,N){const{committed:R,current:j}=this;if(N5;var R=return_false;if(E.comments){let N=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var j=E.comments.lastIndexOf("/");N=new RegExp(E.comments.substr(1,j-1),E.comments.substr(j+1))}if(N instanceof RegExp){R=function(E){return E.type!="comment5"&&N.test(E.value)}}else if(typeof N==="function"){R=function(E){return E.type!="comment5"&&N(this,E)}}else if(N==="some"){R=is_some_comments}else{R=return_true}}var $=0;var q=0;var G=1;var ie=0;var ae=new Rope;let ce=new Set;var le=E.ascii_only?function(N,R){if(E.ecma>=2015&&!E.safari10){N=N.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var N=get_full_char_code(E,0).toString(16);return"\\u{"+N+"}"}))}return N.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var N=E.charCodeAt(0).toString(16);if(N.length<=2&&!R){while(N.length<2)N="0"+N;return"\\x"+N}else{while(N.length<4)N="0"+N;return"\\u"+N}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,N){if(N){return"\\u"+N.charCodeAt(0).toString(16)}return E}))};function make_string(N,R){var j=0,$=0;N=N.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(R,q){switch(R){case'"':++j;return'"';case"'":++$;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(N,q+1))?"\\x00":"\\0"}return R}));function quote_single(){return"'"+N.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+N.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+N.replace(/`/g,"\\`")+"`"}N=le(N);if(R==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return R=="'"?quote_single():quote_double();default:return j>$?quote_single():quote_double()}}function encode_string(N,R){var j=make_string(N,R);if(E.inline_script){j=j.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");j=j.replace(/\x3c!--/g,"\\x3c!--");j=j.replace(/--\x3e/g,"--\\x3e")}return j}function make_name(E){E=E.toString();E=le(E,true);return E}function make_indent(N){return" ".repeat(E.indent_start+$-N*E.indent_level)}var _e=false;var Te=false;var Ee=false;var we=0;var Ie=false;var Ne=false;var Me=-1;var Le="";var Be,je,Ue=E.source_map&&[];var ze=Ue?function(){Ue.forEach((function(N){try{let{name:R,token:j}=N;if(j.type=="name"||j.type==="privatename"){R=j.value}else if(R instanceof Wr){R=j.type==="string"?j.value:R.name}E.source_map.add(N.token.file,N.line,N.col,N.token.line,N.token.col,is_basic_identifier_string(R)?R:undefined)}catch(E){}}));Ue=[]}:noop;var We=E.max_line_len?function(){if(q>E.max_line_len){if(we){ae.insertAt("\n",we);const E=ae.curLength();if(Ue){var N=E-q;Ue.forEach((function(E){E.line++;E.col+=N}))}G++;ie++;q=E}}if(we){we=0;ze()}}:noop;var Je=makePredicate("( [ + * / - , . `");function print(N){N=String(N);var R=get_full_char(N,0);if(Ie&&R){Ie=false;if(R!=="\n"){print("\n");qe()}}if(Ne&&R){Ne=false;if(!/[\s;})]/.test(R)){Ve()}}Me=-1;var j=Le.charAt(Le.length-1);if(Ee){Ee=false;if(j===":"&&R==="}"||(!R||!";}".includes(R))&&j!==";"){if(E.semicolons||Je.has(R)){ae.append(";");q++;ie++}else{We();if(q>0){ae.append("\n");ie++;G++;q=0}if(/^\s+$/.test(N)){Ee=true}}if(!E.beautify)Te=false}}if(Te){if(is_identifier_char(j)&&(is_identifier_char(R)||R=="\\")||R=="/"&&R==j||(R=="+"||R=="-")&&R==Le){ae.append(" ");q++;ie++}Te=false}if(Be){Ue.push({token:Be,name:je,line:G,col:q});Be=false;if(!we)ze()}ae.append(N);_e=N[N.length-1]=="(";ie+=N.length;var $=N.split(/\r?\n/),ce=$.length-1;G+=ce;q+=$[0].length;if(ce>0){We();q=$[ce].length}Le=N}var star=function(){print("*")};var Ve=E.beautify?function(){print(" ")}:function(){Te=true};var qe=E.beautify?function(N){if(E.beautify){print(make_indent(N?.5:0))}}:noop;var He=E.beautify?function(E,N){if(E===true)E=next_indent();var R=$;$=E;var j=N();$=R;return j}:function(E,N){return N()};var Ge=E.beautify?function(){if(Me<0)return print("\n");if(ae.charAt(Me)!="\n"){ae.insertAt("\n",Me);ie++;G++}Me++}:E.max_line_len?function(){We();we=ae.length()}:noop;var Ke=E.beautify?function(){print(";")}:function(){Ee=true};function force_semicolon(){Ee=false;print(";")}function next_indent(){return $+E.indent_level}function with_block(E){var N;print("{");Ge();He(next_indent(),(function(){N=E()}));qe();print("}");return N}function with_parens(E){print("(");var N=E();print(")");return N}function with_square(E){print("[");var N=E();print("]");return N}function comma(){print(",");Ve()}function colon(){print(":");Ve()}var Qe=Ue?function(E,N){Be=E;je=N}:noop;function get(){if(we){We()}return ae.toString()}function has_nlb(){const E=ae.toString();let N=E.length-1;while(N>=0){const R=E.charCodeAt(N);if(R===On){return true}if(R!==Mn){return false}N--}return true}function filter_comment(N){if(!E.preserve_annotations){N=N.replace(Rn," ")}if(/^\s*$/.test(N)){return""}return N.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(N){var j=this;var $=N.start;if(!$)return;var q=j.printed_comments;const G=N instanceof Ut&&N.value;if($.comments_before&&q.has($.comments_before)){if(G){$.comments_before=[]}else{return}}var ae=$.comments_before;if(!ae){ae=$.comments_before=[]}q.add(ae);if(G){var ce=new TreeWalker((function(E){var N=ce.parent();if(N instanceof Ut||N instanceof Tr&&N.left===E||N.TYPE=="Call"&&N.expression===E||N instanceof Er&&N.condition===E||N instanceof hr&&N.expression===E||N instanceof mr&&N.expressions[0]===E||N instanceof yr&&N.expression===E||N instanceof Sr){if(!E.start)return;var R=E.start.comments_before;if(R&&!q.has(R)){q.add(R);ae=ae.concat(R)}}else{return true}}));ce.push(N);N.value.walk(ce)}if(ie==0){if(ae.length>0&&E.shebang&&ae[0].type==="comment5"&&!q.has(ae[0])){print("#!"+ae.shift().value+"\n");qe()}var le=E.preamble;if(le){print(le.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}ae=ae.filter(R,N).filter((E=>!q.has(E)));if(ae.length==0)return;var _e=has_nlb();ae.forEach((function(E,N){q.add(E);if(!_e){if(E.nlb){print("\n");qe();_e=true}else if(N>0){Ve()}}if(/comment[134]/.test(E.type)){var R=filter_comment(E.value);if(R){print("//"+R+"\n");qe()}_e=true}else if(E.type=="comment2"){var R=filter_comment(E.value);if(R){print("/*"+R+"*/")}_e=false}}));if(!_e){if($.nlb){print("\n");qe()}else{Ve()}}}function append_comments(E,N){var j=this;var $=E.end;if(!$)return;var q=j.printed_comments;var G=$[N?"comments_before":"comments_after"];if(!G||q.has(G))return;if(!(E instanceof ct||G.every((E=>!/comment[134]/.test(E.type)))))return;q.add(G);var ie=ae.length();G.filter(R,E).forEach((function(E,R){if(q.has(E))return;q.add(E);Ne=false;if(Ie){print("\n");qe();Ie=false}else if(E.nlb&&(R>0||!has_nlb())){print("\n");qe()}else if(R>0||!N){Ve()}if(/comment[134]/.test(E.type)){const N=filter_comment(E.value);if(N){print("//"+N)}Ie=true}else if(E.type=="comment2"){const N=filter_comment(E.value);if(N){print("/*"+N+"*/")}Ne=true}}));if(ae.length()>ie)Me=ie}var Xe=[];return{get:get,toString:get,indent:qe,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return $},current_width:function(){return q-$},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return _e},newline:Ge,print:print,star:star,space:Ve,comma:comma,colon:colon,last:function(){return Le},semicolon:Ke,force_semicolon:force_semicolon,to_utf8:le,print_name:function(E){print(make_name(E))},print_string:function(E,N,R){var j=encode_string(E,N);if(R===true&&!j.includes("\\")){if(!Fn.test(ae.toString())){force_semicolon()}force_semicolon()}print(j)},print_template_string_chars:function(E){var N=encode_string(E,"`").replace(/\${/g,"\\${");return print(N.substr(1,N.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:He,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:Qe,option:function(N){return E[N]},printed_comments:ce,prepend_comments:N?noop:prepend_comments,append_comments:N||R===return_false?noop:append_comments,line:function(){return G},col:function(){return q},pos:function(){return ie},push_node:function(E){Xe.push(E)},pop_node:function(){return Xe.pop()},parent:function(E){return Xe[Xe.length-2-(E||0)]}}}(function(){function DEFPRINT(E,N){E.DEFMETHOD("_codegen",N)}st.DEFMETHOD("print",(function(E,N){var R=this,j=R._codegen;if(R instanceof Dt){E.active_scope=R}else if(!E.use_asm&&R instanceof dt&&R.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(R);R.add_source_map(E);j(R,E);E.append_comments(R)}E.push_node(R);if(N||R.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(R===E.use_asm){E.use_asm=null}}));st.DEFMETHOD("_print",st.prototype.print);st.DEFMETHOD("print_to_string",(function(E){var N=OutputStream(E);this.print(N);return N.get()}));function PARENS(E,N){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,N)}))}else{E.DEFMETHOD("needs_parens",N)}}PARENS(st,return_false);PARENS(Nt,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var N=E.parent();if(N instanceof gr&&N.expression===this){return true}}if(E.option("wrap_iife")){var N=E.parent();if(N instanceof pr&&N.expression===this){return true}}if(E.option("wrap_func_args")){var N=E.parent();if(N instanceof pr&&N.args.includes(this)){return true}}return false}));PARENS(Ft,(function(E){var N=E.parent();if(E.option("wrap_func_args")&&N instanceof pr&&N.args.includes(this)){return true}return N instanceof gr&&N.expression===this}));PARENS(Ar,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(zr,first_in_statement);PARENS(br,(function(E){var N=E.parent();return N instanceof gr&&N.expression===this||N instanceof pr&&N.expression===this||N instanceof Tr&&N.operator==="**"&&this instanceof xr&&N.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(qt,(function(E){var N=E.parent();return N instanceof gr&&N.expression===this||N instanceof pr&&N.expression===this||N instanceof Tr&&N.operator==="**"&&N.left===this||E.option("safari10")&&N instanceof xr}));PARENS(mr,(function(E){var N=E.parent();return N instanceof pr||N instanceof br||N instanceof Tr||N instanceof sr||N instanceof gr||N instanceof Dr||N instanceof wr||N instanceof Er||N instanceof Ft||N instanceof Cr||N instanceof wt||N instanceof kt&&this===N.object||N instanceof Ht||N instanceof dr}));PARENS(Tr,(function(E){var N=E.parent();if(N instanceof pr&&N.expression===this)return true;if(N instanceof br)return true;if(N instanceof gr&&N.expression===this)return true;if(N instanceof Tr){const E=N.operator;const R=this.operator;if(R==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(R==="||"||R==="&&")){return true}const j=tt[E];const $=tt[R];if(j>$||j==$&&(this===N.right||E=="**")){return true}}}));PARENS(Ht,(function(E){var N=E.parent();if(N instanceof Tr&&N.operator!=="=")return true;if(N instanceof pr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof br)return true;if(N instanceof gr&&N.expression===this)return true}));PARENS(gr,(function(E){var N=E.parent();if(N instanceof fr&&N.expression===this){return walk(this,(E=>{if(E instanceof Dt)return true;if(E instanceof pr){return An}}))}}));PARENS(pr,(function(E){var N=E.parent(),R;if(N instanceof fr&&N.expression===this||N instanceof dr&&N.is_default&&this.expression instanceof Nt)return true;return this.expression instanceof Nt&&N instanceof gr&&N.expression===this&&(R=E.parent(1))instanceof kr&&R.left===N}));PARENS(fr,(function(E){var N=E.parent();if(this.args.length===0&&(N instanceof gr||N instanceof pr&&N.expression===this))return true}));PARENS(hn,(function(E){var N=E.parent();if(N instanceof gr&&N.expression===this){var R=this.getValue();if(R<0||/^0/.test(make_num(R))){return true}}}));PARENS(_n,(function(E){var N=E.parent();if(N instanceof gr&&N.expression===this){var R=this.getValue();if(R.startsWith("-")){return true}}}));PARENS([kr,Er],(function(E){var N=E.parent();if(N instanceof br)return true;if(N instanceof Tr&&!(N instanceof kr))return true;if(N instanceof pr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof gr&&N.expression===this)return true;if(this instanceof kr&&this.left instanceof Mt&&this.left.is_array===false)return true}));DEFPRINT(dt,(function(E,N){N.print_string(E.value,E.quote);N.semicolon()}));DEFPRINT(wt,(function(E,N){N.print("...");E.expression.print(N)}));DEFPRINT(Mt,(function(E,N){N.print(E.is_array?"[":"{");var R=E.names.length;E.names.forEach((function(E,j){if(j>0)N.comma();E.print(N);if(j==R-1&&E instanceof Tn)N.comma()}));N.print(E.is_array?"]":"}")}));DEFPRINT(ut,(function(E,N){N.print("debugger");N.semicolon()}));function display_body(E,N,R,j){var $=E.length-1;R.in_directive=j;E.forEach((function(E,j){if(R.in_directive===true&&!(E instanceof dt||E instanceof ht||E instanceof pt&&E.body instanceof gn)){R.in_directive=false}if(!(E instanceof ht)){R.indent();E.print(R);if(!(j==$&&N)){R.newline();if(N)R.newline()}}if(R.in_directive===true&&E instanceof pt&&E.body instanceof gn){R.in_directive=false}}));R.in_directive=false}_t.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(ct,(function(E,N){E.body.print(N);N.semicolon()}));DEFPRINT(At,(function(E,N){display_body(E.body,true,N,true);N.print("")}));DEFPRINT(yt,(function(E,N){E.label.print(N);N.colon();E.body.print(N)}));DEFPRINT(pt,(function(E,N){E.body.print(N);N.semicolon()}));function print_braced_empty(E,N){N.print("{");N.with_indent(N.next_indent(),(function(){N.append_comments(E,true)}));N.print("}")}function print_braced(E,N,R){if(E.body.length>0){N.with_block((function(){display_body(E.body,false,N,R)}))}else print_braced_empty(E,N)}DEFPRINT(mt,(function(E,N){print_braced(E,N)}));DEFPRINT(ht,(function(E,N){N.semicolon()}));DEFPRINT(xt,(function(E,N){N.print("do");N.space();make_block(E.body,N);N.space();N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.semicolon()}));DEFPRINT(St,(function(E,N){N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(Tt,(function(E,N){N.print("for");N.space();N.with_parens((function(){if(E.init){if(E.init instanceof rr){E.init.print(N)}else{parenthesize_for_noin(E.init,N,true)}N.print(";");N.space()}else{N.print(";")}if(E.condition){E.condition.print(N);N.print(";");N.space()}else{N.print(";")}if(E.step){E.step.print(N)}}));N.space();E._do_print_body(N)}));DEFPRINT(Et,(function(E,N){N.print("for");if(E.await){N.space();N.print("await")}N.space();N.with_parens((function(){E.init.print(N);N.space();N.print(E instanceof kt?"of":"in");N.space();E.object.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(Ct,(function(E,N){N.print("with");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();E._do_print_body(N)}));Pt.DEFMETHOD("_do_print",(function(E,N){var R=this;if(!N){if(R.async){E.print("async");E.space()}E.print("function");if(R.is_generator){E.star()}if(R.name){E.space()}}if(R.name instanceof Wr){R.name.print(E)}else if(N&&R.name instanceof st){E.with_square((function(){R.name.print(E)}))}E.with_parens((function(){R.argnames.forEach((function(N,R){if(R)E.comma();N.print(E)}))}));E.space();print_braced(R,E,true)}));DEFPRINT(Pt,(function(E,N){E._do_print(N)}));DEFPRINT(Rt,(function(E,N){var R=E.prefix;var j=R instanceof Pt||R instanceof Tr||R instanceof Er||R instanceof mr||R instanceof br||R instanceof hr&&R.expression instanceof Ar;if(j)N.print("(");E.prefix.print(N);if(j)N.print(")");E.template_string.print(N)}));DEFPRINT(Lt,(function(E,N){var R=N.parent()instanceof Rt;N.print("`");for(var j=0;j");E.space();const $=N.body[0];if(N.body.length===1&&$ instanceof zt){const N=$.value;if(!N){E.print("{}")}else if(left_is_object(N)){E.print("(");N.print(E);E.print(")")}else{N.print(E)}}else{print_braced(N,E)}if(j){E.print(")")}}));Ut.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.value){E.space();const N=this.value.start.comments_before;if(N&&N.length&&!E.printed_comments.has(N)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT(zt,(function(E,N){E._do_print(N,"return")}));DEFPRINT(Wt,(function(E,N){E._do_print(N,"throw")}));DEFPRINT(Ht,(function(E,N){var R=E.is_star?"*":"";N.print("yield"+R);if(E.expression){N.space();E.expression.print(N)}}));DEFPRINT(qt,(function(E,N){N.print("await");N.space();var R=E.expression;var j=!(R instanceof pr||R instanceof sn||R instanceof gr||R instanceof br||R instanceof mn||R instanceof qt||R instanceof Ar);if(j)N.print("(");E.expression.print(N);if(j)N.print(")")}));Jt.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT($t,(function(E,N){E._do_print(N,"break")}));DEFPRINT(Vt,(function(E,N){E._do_print(N,"continue")}));function make_then(E,N){var R=E.body;if(N.option("braces")||N.option("ie8")&&R instanceof xt)return make_block(R,N);if(!R)return N.force_semicolon();while(true){if(R instanceof Gt){if(!R.alternative){make_block(E.body,N);return}R=R.alternative}else if(R instanceof _t){R=R.body}else break}force_statement(E.body,N)}DEFPRINT(Gt,(function(E,N){N.print("if");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();if(E.alternative){make_then(E,N);N.space();N.print("else");N.space();if(E.alternative instanceof Gt)E.alternative.print(N);else force_statement(E.alternative,N)}else{E._do_print_body(N)}}));DEFPRINT(Kt,(function(E,N){N.print("switch");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();var R=E.body.length-1;if(R<0)print_braced_empty(E,N);else N.with_block((function(){E.body.forEach((function(E,j){N.indent(true);E.print(N);if(j0)N.newline()}))}))}));Qt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(N){E.indent();N.print(E);E.newline()}))}));DEFPRINT(Xt,(function(E,N){N.print("default:");E._do_print_body(N)}));DEFPRINT(Yt,(function(E,N){N.print("case");N.space();E.expression.print(N);N.print(":");E._do_print_body(N)}));DEFPRINT(Zt,(function(E,N){N.print("try");N.space();print_braced(E,N);if(E.bcatch){N.space();E.bcatch.print(N)}if(E.bfinally){N.space();E.bfinally.print(N)}}));DEFPRINT(er,(function(E,N){N.print("catch");if(E.argname){N.space();N.with_parens((function(){E.argname.print(N)}))}N.space();print_braced(E,N)}));DEFPRINT(tr,(function(E,N){N.print("finally");N.space();print_braced(E,N)}));rr.DEFMETHOD("_do_print",(function(E,N){E.print(N);E.space();this.definitions.forEach((function(N,R){if(R)E.comma();N.print(E)}));var R=E.parent();var j=R instanceof Tt||R instanceof Et;var $=!j||R&&R.init!==this;if($)E.semicolon()}));DEFPRINT(ir,(function(E,N){E._do_print(N,"let")}));DEFPRINT(nr,(function(E,N){E._do_print(N,"var")}));DEFPRINT(ar,(function(E,N){E._do_print(N,"const")}));DEFPRINT(lr,(function(E,N){N.print("import");N.space();if(E.imported_name){E.imported_name.print(N)}if(E.imported_name&&E.imported_names){N.print(",");N.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(N)}else{N.print("{");E.imported_names.forEach((function(R,j){N.space();R.print(N);if(j{if(E instanceof Dt&&!(E instanceof Ft)){return true}if(E instanceof Tr&&E.operator=="in"){return An}}))}E.print(N,j)}DEFPRINT(sr,(function(E,N){E.name.print(N);if(E.value){N.space();N.print("=");N.space();var R=N.parent(1);var j=R instanceof Tt||R instanceof Et;parenthesize_for_noin(E.value,N,j)}}));DEFPRINT(pr,(function(E,N){E.expression.print(N);if(E instanceof fr&&E.args.length===0)return;if(E.expression instanceof pr||E.expression instanceof Pt){N.add_mapping(E.start)}if(E.optional)N.print("?.");N.with_parens((function(){E.args.forEach((function(E,R){if(R)N.comma();E.print(N)}))}))}));DEFPRINT(fr,(function(E,N){N.print("new");N.space();pr.prototype._codegen(E,N)}));mr.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(N,R){if(R>0){E.comma();if(E.should_break()){E.newline();E.indent()}}N.print(E)}))}));DEFPRINT(mr,(function(E,N){E._do_print(N)}));DEFPRINT(hr,(function(E,N){var R=E.expression;R.print(N);var j=E.property;var $=Te.has(j)?N.option("ie8"):!is_identifier_string(j,N.option("ecma")>=2015||N.option("safari10"));if(E.optional)N.print("?.");if($){N.print("[");N.add_mapping(E.end);N.print_string(j);N.print("]")}else{if(R instanceof hn&&R.getValue()>=0){if(!/[xa-f.)]/i.test(N.last())){N.print(".")}}if(!E.optional)N.print(".");N.add_mapping(E.end);N.print_name(j)}}));DEFPRINT(_r,(function(E,N){var R=E.expression;R.print(N);var j=E.property;if(E.optional)N.print("?");N.print(".#");N.add_mapping(E.end);N.print_name(j)}));DEFPRINT(yr,(function(E,N){E.expression.print(N);if(E.optional)N.print("?.");N.print("[");E.property.print(N);N.print("]")}));DEFPRINT(vr,(function(E,N){E.expression.print(N)}));DEFPRINT(xr,(function(E,N){var R=E.operator;N.print(R);if(/^[a-z]/i.test(R)||/[+-]$/.test(R)&&E.expression instanceof xr&&/^[+-]/.test(E.expression.operator)){N.space()}E.expression.print(N)}));DEFPRINT(Sr,(function(E,N){E.expression.print(N);N.print(E.operator)}));DEFPRINT(Tr,(function(E,N){var R=E.operator;E.left.print(N);if(R[0]==">"&&E.left instanceof Sr&&E.left.operator=="--"){N.print(" ")}else{N.space()}N.print(R);if((R=="<"||R=="<<")&&E.right instanceof xr&&E.right.operator=="!"&&E.right.expression instanceof xr&&E.right.expression.operator=="--"){N.print(" ")}else{N.space()}E.right.print(N)}));DEFPRINT(Er,(function(E,N){E.condition.print(N);N.space();N.print("?");N.space();E.consequent.print(N);N.space();N.colon();E.alternative.print(N)}));DEFPRINT(Dr,(function(E,N){N.with_square((function(){var R=E.elements,j=R.length;if(j>0)N.space();R.forEach((function(E,R){if(R)N.comma();E.print(N);if(R===j-1&&E instanceof Tn)N.comma()}));if(j>0)N.space()}))}));DEFPRINT(Ar,(function(E,N){if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.print(",");N.newline()}N.indent();E.print(N)}));N.newline()}));else print_braced_empty(E,N)}));DEFPRINT(Lr,(function(E,N){N.print("class");N.space();if(E.name){E.name.print(N);N.space()}if(E.extends){var R=!(E.extends instanceof sn)&&!(E.extends instanceof gr)&&!(E.extends instanceof zr)&&!(E.extends instanceof Nt);N.print("extends");if(R){N.print("(")}else{N.space()}E.extends.print(N);if(R){N.print(")")}else{N.space()}}if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.newline()}N.indent();E.print(N)}));N.newline()}));else N.print("{}")}));DEFPRINT(Jr,(function(E,N){N.print("new.target")}));function print_property_name(E,N,R){if(R.option("quote_keys")){return R.print_string(E)}if(""+ +E==E&&E>=0){if(R.option("keep_numbers")){return R.print(E)}return R.print(make_num(E))}var j=Te.has(E)?R.option("ie8"):R.option("ecma")<2015||R.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if(j||N&&R.option("keep_quoted_props")){return R.print_string(E,N)}return R.print_name(E)}DEFPRINT(Pr,(function(E,N){function get_name(E){var N=E.definition();return N?N.mangled_name||N.name:E.name}var R=N.option("shorthand");if(R&&E.value instanceof Wr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value)===E.key&&!Te.has(E.key)){print_property_name(E.key,E.quote,N)}else if(R&&E.value instanceof Cr&&E.value.left instanceof Wr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,N);N.space();N.print("=");N.space();E.value.right.print(N)}else{if(!(E.key instanceof st)){print_property_name(E.key,E.quote,N)}else{N.with_square((function(){E.key.print(N)}))}N.colon();E.value.print(N)}}));DEFPRINT(jr,((E,N)=>{if(E.static){N.print("static");N.space()}N.print("#");print_property_name(E.key.name,E.quote,N);if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));DEFPRINT(Br,((E,N)=>{if(E.static){N.print("static");N.space()}if(E.key instanceof Yr){print_property_name(E.key.name,E.quote,N)}else{N.print("[");E.key.print(N);N.print("]")}if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));wr.DEFMETHOD("_print_getter_setter",(function(E,N,R){var j=this;if(j.static){R.print("static");R.space()}if(E){R.print(E);R.space()}if(j.key instanceof Xr){if(N)R.print("#");print_property_name(j.key.name,j.quote,R)}else{R.with_square((function(){j.key.print(R)}))}j.value._do_print(R,true)}));DEFPRINT(Fr,(function(E,N){E._print_getter_setter("set",false,N)}));DEFPRINT(Or,(function(E,N){E._print_getter_setter("get",false,N)}));DEFPRINT(Ir,(function(E,N){E._print_getter_setter("set",true,N)}));DEFPRINT(Nr,(function(E,N){E._print_getter_setter("get",true,N)}));DEFPRINT(Rr,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,true,N)}));DEFPRINT(Mr,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,false,N)}));Wr.DEFMETHOD("_do_print",(function(E){var N=this.definition();E.print_name(N?N.mangled_name||N.name:this.name)}));DEFPRINT(Wr,(function(E,N){E._do_print(N)}));DEFPRINT(Tn,noop);DEFPRINT(dn,(function(E,N){N.print("this")}));DEFPRINT(pn,(function(E,N){N.print("super")}));DEFPRINT(mn,(function(E,N){N.print(E.getValue())}));DEFPRINT(gn,(function(E,N){N.print_string(E.getValue(),E.quote,N.in_directive)}));DEFPRINT(hn,(function(E,N){if((N.option("keep_numbers")||N.use_asm)&&E.raw){N.print(E.raw)}else{N.print(make_num(E.getValue()))}}));DEFPRINT(_n,(function(E,N){N.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,N)=>N.replace("/","\\/");DEFPRINT(yn,(function(N,R){let{source:j,flags:$}=N.getValue();j=regexp_source_fix(j);$=$?sort_regexp_flags($):"";j=j.replace(E,slash_script_replace);R.print(R.to_utf8(`/${j}/${$}`));const q=R.parent();if(q instanceof Tr&&/^\w/.test(q.operator)&&q.left===N){R.print(" ")}}));function force_statement(E,N){if(N.option("braces")){make_block(E,N)}else{if(!E||E instanceof ht)N.force_semicolon();else E.print(N)}}function best_of(E){var N=E[0],R=N.length;for(var j=1;jE===null&&N===null||E.TYPE===N.TYPE&&E.shallow_cmp(N);const equivalent_to=(E,N)=>{if(!shallow_cmp(E,N))return false;const R=[E];const j=[N];const $=R.push.bind(R);const q=j.push.bind(j);while(R.length&&j.length){const E=R.pop();const N=j.pop();if(!shallow_cmp(E,N))return false;E._children_backwards($);N._children_backwards(q);if(R.length!==j.length){return false}}return R.length==0&&j.length==0};const mkshallow=E=>{const N=Object.keys(E).map((N=>{if(E[N]==="eq"){return`this.${N} === other.${N}`}else if(E[N]==="exist"){return`(this.${N} == null ? other.${N} == null : this.${N} === other.${N})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[N]}`)}})).join(" && ");return new Function("other","return "+N)};const pass_through=()=>true;st.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};ut.prototype.shallow_cmp=pass_through;dt.prototype.shallow_cmp=mkshallow({value:"eq"});pt.prototype.shallow_cmp=pass_through;ft.prototype.shallow_cmp=pass_through;ht.prototype.shallow_cmp=pass_through;yt.prototype.shallow_cmp=mkshallow({"label.name":"eq"});xt.prototype.shallow_cmp=pass_through;St.prototype.shallow_cmp=pass_through;Tt.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});Et.prototype.shallow_cmp=pass_through;kt.prototype.shallow_cmp=pass_through;Ct.prototype.shallow_cmp=pass_through;At.prototype.shallow_cmp=pass_through;wt.prototype.shallow_cmp=pass_through;Pt.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});Mt.prototype.shallow_cmp=mkshallow({is_array:"eq"});Rt.prototype.shallow_cmp=pass_through;Lt.prototype.shallow_cmp=pass_through;Bt.prototype.shallow_cmp=mkshallow({value:"eq"});jt.prototype.shallow_cmp=pass_through;Jt.prototype.shallow_cmp=pass_through;qt.prototype.shallow_cmp=pass_through;Ht.prototype.shallow_cmp=mkshallow({is_star:"eq"});Gt.prototype.shallow_cmp=mkshallow({alternative:"exist"});Kt.prototype.shallow_cmp=pass_through;Qt.prototype.shallow_cmp=pass_through;Zt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});er.prototype.shallow_cmp=mkshallow({argname:"exist"});tr.prototype.shallow_cmp=pass_through;rr.prototype.shallow_cmp=pass_through;sr.prototype.shallow_cmp=mkshallow({value:"exist"});cr.prototype.shallow_cmp=pass_through;lr.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});ur.prototype.shallow_cmp=pass_through;dr.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});pr.prototype.shallow_cmp=pass_through;mr.prototype.shallow_cmp=pass_through;gr.prototype.shallow_cmp=pass_through;vr.prototype.shallow_cmp=pass_through;hr.prototype.shallow_cmp=mkshallow({property:"eq"});_r.prototype.shallow_cmp=mkshallow({property:"eq"});br.prototype.shallow_cmp=mkshallow({operator:"eq"});Tr.prototype.shallow_cmp=mkshallow({operator:"eq"});Er.prototype.shallow_cmp=pass_through;Dr.prototype.shallow_cmp=pass_through;Ar.prototype.shallow_cmp=pass_through;wr.prototype.shallow_cmp=pass_through;Pr.prototype.shallow_cmp=mkshallow({key:"eq"});Fr.prototype.shallow_cmp=mkshallow({static:"eq"});Or.prototype.shallow_cmp=mkshallow({static:"eq"});Mr.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Lr.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Br.prototype.shallow_cmp=mkshallow({static:"eq"});Wr.prototype.shallow_cmp=mkshallow({name:"eq"});Jr.prototype.shallow_cmp=pass_through;dn.prototype.shallow_cmp=pass_through;pn.prototype.shallow_cmp=pass_through;gn.prototype.shallow_cmp=mkshallow({value:"eq"});hn.prototype.shallow_cmp=mkshallow({value:"eq"});_n.prototype.shallow_cmp=mkshallow({value:"eq"});yn.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};vn.prototype.shallow_cmp=pass_through;const Ln=1<<0;const Bn=1<<1;let jn=null;let Un=null;class SymbolDef{constructor(E,N,R){this.name=N.name;this.orig=[N];this.init=R;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof st)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(jn&&jn.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Ln||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Zr||this.orig[0]instanceof Qr)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Xr||(this.orig[0]instanceof tn||this.orig[0]instanceof en)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const N=E.cache&&E.cache.props;if(this.global&&N&&N.has(this.name)){this.mangled_name=N.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var R=this.scope;var j=this.orig[0];if(E.ie8&&j instanceof Zr)R=R.parent_scope;const $=redefined_catch_def(this);this.mangled_name=$?$.mangled_name||$.name:R.next_mangled(E,this);if(this.global&&N){N.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof rn&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}Dt.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:N=null,toplevel:R=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(R instanceof At)){throw new Error("Invalid toplevel scope")}var j=this.parent_scope=N;var $=new Map;var q=null;var G=null;var ie=[];var ae=new TreeWalker(((N,R)=>{if(N.is_block_scope()){const $=j;N.block_scope=j=new Dt(N);j._block_scope=true;const q=N instanceof er?$.parent_scope:$;j.init_scope_vars(q);j.uses_with=$.uses_with;j.uses_eval=$.uses_eval;if(E.safari10){if(N instanceof Tt||N instanceof Et){ie.push(j)}}if(N instanceof Kt){const E=j;j=$;N.expression.walk(ae);j=E;for(let E=0;E{if(E===N)return true;if(N instanceof qr){return E instanceof Zr}return!(E instanceof Gr||E instanceof Hr)}))){js_error(`"${N.name}" is redeclared`,N.start.file,N.start.line,N.start.col,N.start.pos)}if(!(N instanceof Kr))mark_export(we,2);if(q!==j){N.mark_enclosed();var we=j.find_variable(N);if(N.thedef!==we){N.thedef=we;N.reference()}}}else if(N instanceof un){var Ie=$.get(N.name);if(!Ie)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:N.name,line:N.start.line,col:N.start.col}));N.thedef=Ie}if(!(j instanceof At)&&(N instanceof dr||N instanceof lr)){js_error(`"${N.TYPE}" statement may only appear at the top level`,N.start.file,N.start.line,N.start.col,N.start.pos)}}));this.walk(ae);function mark_export(E,N){if(G){var R=0;do{N++}while(ae.parent(R++)!==G)}var j=ae.parent(N);if(E.export=j instanceof dr?Ln:0){var $=j.exported_definition;if(($ instanceof Ot||$ instanceof Ur)&&j.is_default){E.export=Bn}}}const ce=this instanceof At;if(ce){this.globals=new Map}var ae=new TreeWalker((E=>{if(E instanceof Jt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof sn){var N=E.name;if(N=="eval"&&ae.parent()instanceof pr){for(var j=E.scope;j&&!j.uses_eval;j=j.parent_scope){j.uses_eval=true}}var $;if(ae.parent()instanceof cr&&ae.parent(1).module_name||!($=E.scope.find_variable(N))){$=R.def_global(E);if(E instanceof cn)$.export=Ln}else if($.scope instanceof Pt&&N=="arguments"){$.scope.uses_arguments=true}E.thedef=$;E.reference();if(E.scope.is_block_scope()&&!($.orig[0]instanceof qr)){E.scope=E.scope.get_defun_scope()}return true}var q;if(E instanceof rn&&(q=redefined_catch_def(E.definition()))){var j=E.scope;while(j){push_uniq(j.enclosed,q);if(j===q.scope)break;j=j.parent_scope}}}));this.walk(ae);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof rn){var N=E.name;var j=E.thedef.references;var $=E.scope.get_defun_scope();var q=$.find_variable(N)||R.globals.get(N)||$.def_variable(E);j.forEach((function(E){E.thedef=q;E.reference()}));E.thedef=q;E.reference();return true}}))}if(E.safari10){for(const E of ie){E.parent_scope.variables.forEach((function(N){push_uniq(E.enclosed,N)}))}}}));At.DEFMETHOD("def_global",(function(E){var N=this.globals,R=E.name;if(N.has(R)){return N.get(R)}else{var j=new SymbolDef(this,E);j.undeclared=true;j.global=true;N.set(R,j);return j}}));Dt.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));Dt.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));Dt.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)}));Dt.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const N=(()=>{const E=[];let N=this;do{E.push(N)}while(N=N.parent_scope);E.reverse();return E})();const R=new Set(E.enclosed);const j=[];for(const E of N){j.forEach((N=>push_uniq(E.enclosed,N)));for(const N of E.variables.values()){if(R.has(N)){push_uniq(j,N);push_uniq(E.enclosed,N)}}}}));function find_scopes_visible_from(E){const N=new Set;for(const R of new Set(E)){(function bubble_up(E){if(E==null||N.has(E))return;N.add(E);bubble_up(E.parent_scope)})(R)}return[...N]}Dt.DEFMETHOD("create_symbol",(function(E,{source:N,tentative_name:R,scope:j,conflict_scopes:$=[j],init:q=null}={}){let G;$=find_scopes_visible_from($);if(R){R=G=R.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while($.find((E=>E.conflicting_def_shallow(G)))){G=R+"$"+E++}}if(!G){throw new Error("No symbol name could be generated in create_symbol()")}const ie=make_node(E,N,{name:G,scope:j});this.def_variable(ie,q||null);ie.mark_enclosed();return ie}));st.DEFMETHOD("is_block_scope",return_false);Lr.DEFMETHOD("is_block_scope",return_false);Pt.DEFMETHOD("is_block_scope",return_false);At.DEFMETHOD("is_block_scope",return_false);Qt.DEFMETHOD("is_block_scope",return_false);ft.DEFMETHOD("is_block_scope",return_true);Dt.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));vt.DEFMETHOD("is_block_scope",return_true);Pt.DEFMETHOD("init_scope_vars",(function(){Dt.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Kr({name:"arguments",start:this.start,end:this.end}))}));Ft.DEFMETHOD("init_scope_vars",(function(){Dt.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));Wr.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var N=this.scope;while(N){push_uniq(N.enclosed,E);if(N===E.scope)break;N=N.parent_scope}}));Wr.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));Dt.DEFMETHOD("find_variable",(function(E){if(E instanceof Wr)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));Dt.DEFMETHOD("def_function",(function(E,N){var R=this.def_variable(E,N);if(!R.init||R.init instanceof Ot)R.init=N;return R}));Dt.DEFMETHOD("def_variable",(function(E,N){var R=this.variables.get(E.name);if(R){R.orig.push(E);if(R.init&&(R.scope!==E.scope||R.init instanceof Nt)){R.init=N}}else{R=new SymbolDef(this,E,N);this.variables.set(E.name,R);R.global=!this.parent_scope}return E.thedef=R}));function next_mangled(E,N){var R=E.enclosed;var j=N.nth_identifier;e:while(true){var $=j.get(++E.cname);if(Te.has($))continue;if(N.reserved.has($))continue;if(Un&&Un.has($))continue e;for(let E=R.length;--E>=0;){const j=R[E];const q=j.mangled_name||j.unmangleable(N)&&j.name;if($==q)continue e}return $}}Dt.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));At.DEFMETHOD("next_mangled",(function(E){let N;const R=this.mangled_names;do{N=next_mangled(this,E)}while(R.has(N));return N}));Nt.DEFMETHOD("next_mangled",(function(E,N){var R=N.orig[0]instanceof Kr&&this.name&&this.name.definition();var j=R?R.mangled_name||R.name:null;while(true){var $=next_mangled(this,E);if(!j||j!=$)return $}}));Wr.DEFMETHOD("unmangleable",(function(E){var N=this.definition();return!N||N.unmangleable(E)}));on.DEFMETHOD("unmangleable",return_false);Wr.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));Wr.DEFMETHOD("definition",(function(){return this.thedef}));Wr.DEFMETHOD("global",(function(){return this.thedef.global}));At.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,nth_identifier:zn,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));At.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var N=E.nth_identifier;var R=-1;var j=[];if(E.keep_fnames){jn=new Set}const $=this.mangled_names=new Set;Un=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){$.add(E)}))}}var q=new TreeWalker((function($,q){if($ instanceof yt){var G=R;q();R=G;return true}if($ instanceof Dt){$.variables.forEach(collect);return}if($.is_block_scope()){$.block_scope.variables.forEach(collect);return}if(jn&&$ instanceof sr&&$.value instanceof Pt&&!$.value.name&&keep_name(E.keep_fnames,$.name.name)){jn.add($.name.definition().id);return}if($ instanceof on){let E;do{E=N.get(++R)}while(Te.has(E));$.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&$ instanceof rn){j.push($.definition());return}}));this.walk(q);if(E.keep_fnames||E.keep_classnames){j.forEach((N=>{if(N.name.length<6&&N.unmangleable(E)){Un.add(N.name)}}))}j.forEach((N=>{N.mangle(E)}));jn=null;Un=null;function collect(N){if(N.export&Ln){Un.add(N.name)}else if(!E.reserved.has(N.name)){j.push(N)}}}));At.DEFMETHOD("find_colliding_names",(function(E){const N=E.cache&&E.cache.props;const R=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof Dt)E.variables.forEach(add_def);if(E instanceof rn)add_def(E.definition())})));return R;function to_avoid(E){R.add(E)}function add_def(R){var j=R.name;if(R.global&&N&&N.has(j))j=N.get(j);else if(!R.unmangleable(E))return;to_avoid(j)}}));At.DEFMETHOD("expand_names",(function(E){E=this._default_mangler_options(E);var N=E.nth_identifier;if(N.reset&&N.sort){N.reset();N.sort()}var R=this.find_colliding_names(E);var j=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof Dt)E.variables.forEach(rename);if(E instanceof rn)rename(E.definition())})));function next_name(){var E;do{E=N.get(j++)}while(R.has(E)||Te.has(E));return E}function rename(N){if(N.global&&E.cache)return;if(N.unmangleable(E))return;if(E.reserved.has(N.name))return;const R=redefined_catch_def(N);const j=N.name=R?R.name:next_name();N.orig.forEach((function(E){E.name=j}));N.references.forEach((function(E){E.name=j}))}}));st.DEFMETHOD("tail_node",return_this);mr.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));At.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);var N=E.nth_identifier;if(!N.reset||!N.consider||!N.sort){return}N.reset();try{st.prototype.print=function(R,j){this._print(R,j);if(this instanceof Wr&&!this.unmangleable(E)){N.consider(this.name,-1)}else if(E.properties){if(this instanceof _r){N.consider("#"+this.property,-1)}else if(this instanceof hr){N.consider(this.property,-1)}else if(this instanceof yr){skip_string(this.property)}}};N.consider(this.print_to_string(),1)}finally{st.prototype.print=st.prototype._print}N.sort();function skip_string(E){if(E instanceof gn){N.consider(E.value,-1)}else if(E instanceof Er){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof mr){skip_string(E.tail_node())}}}));const zn=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const N="0123456789".split("");let R;let j;function reset(){j=new Map;E.forEach((function(E){j.set(E,0)}));N.forEach((function(E){j.set(E,0)}))}function consider(E,N){for(var R=E.length;--R>=0;){j.set(E[R],j.get(E[R])+N)}}function compare(E,N){return j.get(N)-j.get(E)}function sort(){R=mergeSort(E,compare).concat(mergeSort(N,compare))}reset();sort();function base54(E){var N="",j=54;E++;do{E--;N+=R[E%j];E=Math.floor(E/j);j=64}while(E>0);return N}return{get:base54,consider:consider,reset:reset,sort:sort}})();let Wn=undefined;st.prototype.size=function(E,N){Wn=E&&E.mangle_options;let R=0;walk_parent(this,((E,N)=>{R+=E._size(N);if(E instanceof Ft&&E.is_braceless()){R+=E.body[0].value._size(N);return true}}),N||E&&E.stack);Wn=undefined;return R};st.prototype._size=()=>0;ut.prototype._size=()=>8;dt.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;ft.prototype._size=function(){return 2+list_overhead(this.body)};At.prototype._size=function(){return list_overhead(this.body)};ht.prototype._size=()=>1;yt.prototype._size=()=>2;xt.prototype._size=()=>9;St.prototype._size=()=>7;Tt.prototype._size=()=>8;Et.prototype._size=()=>8;Ct.prototype._size=()=>6;wt.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);It.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};Nt.prototype._size=function(E){const N=!!first_in_statement(E);return N*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Ot.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};Ft.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof Wr)){E+=2}const N=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+N};Mt.prototype._size=()=>2;Lt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Bt.prototype._size=function(){return this.value.length};zt.prototype._size=function(){return this.value?7:6};Wt.prototype._size=()=>6;$t.prototype._size=function(){return this.label?6:5};Vt.prototype._size=function(){return this.label?9:8};Gt.prototype._size=()=>4;Kt.prototype._size=function(){return 8+list_overhead(this.body)};Yt.prototype._size=function(){return 5+list_overhead(this.body)};Xt.prototype._size=function(){return 8+list_overhead(this.body)};Zt.prototype._size=function(){return 3+list_overhead(this.body)};er.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};tr.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,N)=>E+list_overhead(N.definitions);nr.prototype._size=function(){return def_size(4,this)};ir.prototype._size=function(){return def_size(4,this)};ar.prototype._size=function(){return def_size(6,this)};sr.prototype._size=function(){return this.value?1:0};cr.prototype._size=function(){return this.name?4:0};lr.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};ur.prototype._size=()=>11;dr.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};pr.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};fr.prototype._size=function(){return 6+list_overhead(this.args)};mr.prototype._size=function(){return list_overhead(this.expressions)};hr.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};_r.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};yr.prototype._size=function(){return this.optional?4:2};br.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};Tr.prototype._size=function(E){if(this.operator==="in")return 4;let N=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof br&&this.right.operator===this.operator){N+=1}if(this.needs_parens(E)){N+=2}return N};Er.prototype._size=()=>3;Dr.prototype._size=function(){return 2+list_overhead(this.elements)};Ar.prototype._size=function(E){let N=2;if(first_in_statement(E)){N+=2}return N+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;Pr.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;Or.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Fr.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Mr.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Rr.prototype._size=function(){return Mr.prototype._size.call(this)+1};Nr.prototype._size=Ir.prototype._size=function(){return Mr.prototype._size.call(this)+4};Lr.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Br.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};jr.prototype._size=function(){return Br.prototype._size.call(this)+1};Wr.prototype._size=function(){return!Wn||this.definition().unmangleable(Wn)?this.name.length:1};Yr.prototype._size=function(){return this.name.length};sn.prototype._size=$r.prototype._size=function(){const{name:E,thedef:N}=this;if(N&&N.global)return E.length;if(E==="arguments")return 9;return Wr.prototype._size.call(this)};Jr.prototype._size=()=>10;an.prototype._size=function(){return this.name.length};ln.prototype._size=function(){return this.name.length};dn.prototype._size=()=>4;pn.prototype._size=()=>5;gn.prototype._size=function(){return this.value.length+2};hn.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};_n.prototype._size=function(){return this.value.length};yn.prototype._size=function(){return this.value.toString().length};bn.prototype._size=()=>4;xn.prototype._size=()=>3;Sn.prototype._size=()=>6;Tn.prototype._size=()=>0;En.prototype._size=()=>8;Dn.prototype._size=()=>4;Cn.prototype._size=()=>5;qt.prototype._size=()=>6;Ht.prototype._size=()=>6;function merge_sequence(E,N){if(N instanceof mr){E.push(...N.expressions)}else{E.push(N)}return E}function make_sequence(E,N){if(N.length==1)return N[0];if(N.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(mr,E,{expressions:N.reduce(merge_sequence,[])})}function make_node_from_constant(E,N){switch(typeof E){case"string":return make_node(gn,N,{value:E});case"number":if(isNaN(E))return make_node(xn,N);if(isFinite(E)){return 1/E<0?make_node(xr,N,{operator:"-",expression:make_node(hn,N,{value:-E})}):make_node(hn,N,{value:E})}return E<0?make_node(xr,N,{operator:"-",expression:make_node(En,N)}):make_node(En,N);case"boolean":return make_node(E?Dn:Cn,N);case"undefined":return make_node(Sn,N);default:if(E===null){return make_node(bn,N,{value:null})}if(E instanceof RegExp){return make_node(yn,N,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function best_of_expression(E,N){return E.size()>N.size()?N:E}function best_of_statement(E,N){return best_of_expression(make_node(pt,E,{body:E}),make_node(pt,N,{body:N})).body}function best_of(E,N,R){if(first_in_statement(E)){return best_of_statement(N,R)}else{return best_of_expression(N,R)}}function get_simple_key(E){if(E instanceof mn){return E.getValue()}if(E instanceof xr&&E.operator=="void"&&E.expression instanceof mn){return}return E}function read_property(E,N){N=get_simple_key(N);if(N instanceof st)return;var R;if(E instanceof Dr){var j=E.elements;if(N=="length")return make_node_from_constant(j.length,E);if(typeof N=="number"&&N in j)R=j[N]}else if(E instanceof Ar){N=""+N;var $=E.properties;for(var q=$.length;--q>=0;){var G=$[q];if(!(G instanceof Pr))return;if(!R&&$[q].key===N)R=$[q].value}}return R instanceof sn&&R.fixed_value()||R}function has_break_or_continue(E,N){var R=false;var j=new TreeWalker((function(N){if(R||N instanceof Dt)return true;if(N instanceof Jt&&j.loopcontrol_target(N)===E){return R=true}}));if(N instanceof yt)j.push(N);j.push(E);E.body.walk(j);return R}function maintain_this_binding(E,N,R){if(E instanceof xr&&E.operator=="delete"||E instanceof pr&&E.expression===N&&(R instanceof gr||R instanceof sn&&R.name=="eval")){const E=make_node(hn,N,{value:0});return make_sequence(N,[E,R])}else{return R}}function is_func_expr(E){return E instanceof Ft||E instanceof Nt}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof Nt||is_iife_call(E.expression)}const Jn=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof En||E instanceof xn||E instanceof Sn}function is_ref_of(E,N){if(!(E instanceof sn))return false;var R=E.definition().orig;for(var j=R.length;--j>=0;){if(R[j]instanceof N)return true}}function can_be_evicted_from_block(E){return!(E instanceof Ur||E instanceof Ot||E instanceof ir||E instanceof ar||E instanceof dr||E instanceof lr)}function as_statement_array(E){if(E===null)return[];if(E instanceof mt)return E.body;if(E instanceof ht)return[];if(E instanceof ct)return[E];throw new Error("Can't convert thing to statement array")}function is_recursive_ref(E,N){var R;for(var j=0;R=E.parent(j);j++){if(R instanceof Pt||R instanceof Lr){var $=R.name;if($&&$.definition()===N){return true}}}return false}const $n=1;const Vn=2;const qn=4;const Hn=8;const Gn=16;const Kn=32;const Qn=256;const Xn=512;const Yn=1024;const Zn=Qn|Xn|Yn;const has_flag=(E,N)=>E.flags&N;const set_flag=(E,N)=>{E.flags|=N};const clear_flag=(E,N)=>{E.flags&=~N};function make_nested_lookup(E){const N=new Map;for(var R of Object.keys(E)){N.set(R,makePredicate(E[R]))}const does_have=(E,R)=>{const j=N.get(E);return j!=null&&j.has(R)};return does_have}const ei=new Set(["Number","String","Array","Object","Function","Promise"]);const ti=["constructor","toString","valueOf"];const ri=make_nested_lookup({Array:["indexOf","join","lastIndexOf","slice",...ti],Boolean:ti,Function:ti,Number:["toExponential","toFixed","toPrecision",...ti],Object:ti,RegExp:["test",...ti],String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim",...ti]});const ni=make_nested_lookup({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","hasOwn","keys"],String:["fromCharCode"]});const ii=make_nested_lookup({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const is_undeclared_ref=E=>E instanceof sn&&E.definition().undeclared;const ai=makePredicate("&& || ??");const oi=makePredicate("delete ++ --");(function(E){const N=makePredicate("! delete");const R=makePredicate("in instanceof == != === !== < <= >= >");E(st,return_false);E(xr,(function(){return N.has(this.operator)}));E(Tr,(function(){return R.has(this.operator)||ai.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(Er,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(kr,(function(){return this.operator=="="&&this.right.is_boolean()}));E(mr,(function(){return this.tail_node().is_boolean()}));E(Dn,return_true);E(Cn,return_true)})((function(E,N){E.DEFMETHOD("is_boolean",N)}));(function(E){E(st,return_false);E(hn,return_true);const N=makePredicate("+ - ~ ++ --");E(br,(function(){return N.has(this.operator)}));const R=makePredicate("- * / % & | ^ << >> >>>");E(Tr,(function(E){return R.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(kr,(function(E){return R.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(mr,(function(E){return this.tail_node().is_number(E)}));E(Er,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,N){E.DEFMETHOD("is_number",N)}));(function(E){E(st,return_false);E(gn,return_true);E(Lt,return_true);E(xr,(function(){return this.operator=="typeof"}));E(Tr,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(kr,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(mr,(function(E){return this.tail_node().is_string(E)}));E(Er,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,N){E.DEFMETHOD("is_string",N)}));function is_undefined(E,N){return has_flag(E,Hn)||E instanceof Sn||E instanceof xr&&E.operator=="void"&&!E.expression.has_side_effects(N)}function is_null_or_undefined(E,N){let R;return E instanceof bn||is_undefined(E,N)||E instanceof sn&&(R=E.definition().fixed)instanceof st&&is_nullish(R,N)}function is_nullish_shortcircuited(E,N){if(E instanceof gr||E instanceof pr){return E.optional&&is_null_or_undefined(E.expression,N)||is_nullish_shortcircuited(E.expression,N)}if(E instanceof vr)return is_nullish_shortcircuited(E.expression,N);return false}function is_nullish(E,N){if(is_null_or_undefined(E,N))return true;return is_nullish_shortcircuited(E,N)}(function(E){E(st,return_true);E(ht,return_false);E(mn,return_false);E(dn,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].has_side_effects(N))return true;return false}E(ft,(function(E){return any(this.body,E)}));E(pr,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E(Kt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Yt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Zt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(Gt,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(yt,(function(E){return this.body.has_side_effects(E)}));E(pt,(function(E){return this.body.has_side_effects(E)}));E(Pt,return_false);E(Lr,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(Tr,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(kr,return_true);E(Er,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(br,(function(E){return oi.has(this.operator)||this.expression.has_side_effects(E)}));E(sn,(function(E){return!this.is_declared(E)&&!ei.has(this.name)}));E(Yr,return_false);E($r,return_false);E(Ar,(function(E){return any(this.properties,E)}));E(wr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Br,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Mr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Or,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Fr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Dr,(function(E){return any(this.elements,E)}));E(hr,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(yr,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(vr,(function(E){return this.expression.has_side_effects(E)}));E(mr,(function(E){return any(this.expressions,E)}));E(rr,(function(E){return any(this.definitions,E)}));E(sr,(function(){return this.value}));E(Bt,return_false);E(Lt,(function(E){return any(this.segments,E)}))})((function(E,N){E.DEFMETHOD("has_side_effects",N)}));(function(E){E(st,return_true);E(mn,return_false);E(ht,return_false);E(Pt,return_false);E($r,return_false);E(dn,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].may_throw(N))return true;return false}E(Lr,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(Dr,(function(E){return any(this.elements,E)}));E(kr,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof sn){return false}return this.left.may_throw(E)}));E(Tr,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(ft,(function(E){return any(this.body,E)}));E(pr,(function(E){if(is_nullish(this,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof Pt)||any(this.expression.body,E)}));E(Yt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(Er,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(rr,(function(E){return any(this.definitions,E)}));E(Gt,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(yt,(function(E){return this.body.may_throw(E)}));E(Ar,(function(E){return any(this.properties,E)}));E(wr,(function(E){return this.value?this.value.may_throw(E):false}));E(Br,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Mr,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Or,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Fr,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(zt,(function(E){return this.value&&this.value.may_throw(E)}));E(mr,(function(E){return any(this.expressions,E)}));E(pt,(function(E){return this.body.may_throw(E)}));E(hr,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(yr,(function(E){if(is_nullish(this,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(vr,(function(E){return this.expression.may_throw(E)}));E(Kt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(sn,(function(E){return!this.is_declared(E)&&!ei.has(this.name)}));E(Yr,return_false);E(Zt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(br,(function(E){if(this.operator=="typeof"&&this.expression instanceof sn)return false;return this.expression.may_throw(E)}));E(sr,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,N){E.DEFMETHOD("may_throw",N)}));(function(E){function all_refs_local(E){let N=true;walk(this,(R=>{if(R instanceof sn){if(has_flag(this,Gn)){N=false;return An}var j=R.definition();if(member(j,this.enclosed)&&!this.variables.has(j.name)){if(E){var $=E.find_variable(R);if(j.undeclared?!$:$===j){N="f";return true}}N=false;return An}return true}if(R instanceof dn&&this instanceof Ft){N=false;return An}}));return N}E(st,return_false);E(mn,return_true);E(Lr,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const N of this.properties){if(N.computed_key()&&!N.key.is_constant_expression(E)){return false}if(N.static&&N.value&&!N.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(Pt,all_refs_local);E(br,(function(){return this.expression.is_constant_expression()}));E(Tr,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(Dr,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(Ar,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(wr,(function(){return!!(!(this.key instanceof st)&&this.value&&this.value.is_constant_expression())}))})((function(E,N){E.DEFMETHOD("is_constant_expression",N)}));(function(E){st.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(st,is_strict);E(bn,return_true);E(Sn,return_true);E(mn,return_false);E(Dr,return_false);E(Ar,(function(E){if(!is_strict(E))return false;for(var N=this.properties.length;--N>=0;)if(this.properties[N]._dot_throw(E))return true;return false}));E(Lr,return_false);E(wr,return_false);E(Or,return_true);E(wt,(function(E){return this.expression._dot_throw(E)}));E(Nt,return_false);E(Ft,return_false);E(Sr,return_false);E(xr,(function(){return this.operator=="void"}));E(Tr,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(kr,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(Er,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(hr,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof Nt||this.expression instanceof Lr)}return true}));E(vr,(function(E){return this.expression._dot_throw(E)}));E(mr,(function(E){return this.tail_node()._dot_throw(E)}));E(sn,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Hn))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var N=this.fixed_value();return!N||N._dot_throw(E)}))})((function(E,N){E.DEFMETHOD("_dot_throw",N)}));function is_lhs(E,N){if(N instanceof br&&oi.has(N.operator))return N.expression;if(N instanceof kr&&N.left===E)return E}(function(E){function to_node(E,N){if(E instanceof st){if(!(E instanceof mn)){E=E.clone(true)}return make_node(E.CTOR,N,E)}if(Array.isArray(E))return make_node(Dr,N,{elements:E.map((function(E){return to_node(E,N)}))});if(E&&typeof E=="object"){var R=[];for(var j in E)if(HOP(E,j)){R.push(make_node(Pr,N,{key:j,value:to_node(E[j],N)}))}return make_node(Ar,N,{properties:R})}return make_node_from_constant(E,N)}At.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(N){var R=N._find_defs(E,"");if(!R)return;var j=0,$=N,q;while(q=this.parent(j++)){if(!(q instanceof gr))break;if(q.expression!==$)break;$=q}if(is_lhs($,q)){return}return R})))}));E(st,noop);E(vr,(function(E,N){return this.expression._find_defs(E,N)}));E(hr,(function(E,N){return this.expression._find_defs(E,"."+this.property+N)}));E($r,(function(){if(!this.global())return}));E(sn,(function(E,N){if(!this.global())return;var R=E.option("global_defs");var j=this.name+N;if(HOP(R,j))return to_node(R[j],this)}))})((function(E,N){E.DEFMETHOD("_find_defs",N)}));(function(E){function basic_negation(E){return make_node(xr,E,{operator:"!",expression:E})}function best(E,N,R){var j=basic_negation(E);if(R){var $=make_node(pt,N,{body:N});return best_of_expression(j,$)===$?N:j}return best_of_expression(j,N)}E(st,(function(){return basic_negation(this)}));E(ct,(function(){throw new Error("Cannot negate a statement")}));E(Nt,(function(){return basic_negation(this)}));E(Ft,(function(){return basic_negation(this)}));E(xr,(function(){if(this.operator=="!")return this.expression;return basic_negation(this)}));E(mr,(function(E){var N=this.expressions.slice();N.push(N.pop().negate(E));return make_sequence(this,N)}));E(Er,(function(E,N){var R=this.clone();R.consequent=R.consequent.negate(E);R.alternative=R.alternative.negate(E);return best(this,R,N)}));E(Tr,(function(E,N){var R=this.clone(),j=this.operator;if(E.option("unsafe_comps")){switch(j){case"<=":R.operator=">";return R;case"<":R.operator=">=";return R;case">=":R.operator="<";return R;case">":R.operator="<=";return R}}switch(j){case"==":R.operator="!=";return R;case"!=":R.operator="==";return R;case"===":R.operator="!==";return R;case"!==":R.operator="===";return R;case"&&":R.operator="||";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N);case"||":R.operator="&&";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N)}return basic_negation(this)}))})((function(E,N){E.DEFMETHOD("negate",(function(E,R){return N.call(this,E,R)}))}));var si=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");pr.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var N=this.expression;var R=this.args&&this.args[0]&&this.args[0].evaluate(E);if(N.expression&&N.expression.name==="hasOwnProperty"&&(R==null||R.thedef&&R.thedef.undeclared)){return false}if(is_undeclared_ref(N)&&si.has(N.name))return true;if(N instanceof hr&&is_undeclared_ref(N.expression)&&ni(N.expression.name,N.property)){return true}}return!!has_annotation(this,wn)||!E.pure_funcs(this)}));st.DEFMETHOD("is_call_pure",return_false);hr.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const N=this.expression;let R;if(N instanceof Dr){R="Array"}else if(N.is_boolean()){R="Boolean"}else if(N.is_number(E)){R="Number"}else if(N instanceof yn){R="RegExp"}else if(N.is_string(E)){R="String"}else if(!this.may_throw_on_access(E)){R="Object"}return R!=null&&ri(R,this.property)}));const aborts=E=>E&&E.aborts();(function(E){E(ct,return_null);E(jt,return_this);function block_aborts(){for(var E=0;Ethis.print_to_string();return fn}return this}));def_eval(Dr,(function(E,N){if(E.option("unsafe")){var R=[];for(var j=0,$=this.elements.length;j<$;j++){var q=this.elements[j];var G=q._eval(E,N);if(q===G)return this;R.push(G)}return R}return this}));def_eval(Ar,(function(E,N){if(E.option("unsafe")){var R={};for(var j=0,$=this.properties.length;j<$;j++){var q=this.properties[j];if(q instanceof wt)return this;var G=q.key;if(G instanceof Wr){G=G.name}else if(G instanceof st){G=G._eval(E,N);if(G===q.key)return this}if(typeof Object.prototype[G]==="function"){return this}if(q.value instanceof Nt)continue;R[G]=q.value._eval(E,N);if(R[G]===q.value)return this}return R}return this}));var ui=makePredicate("! typeof void");def_eval(xr,(function(E,N){var R=this.expression;if(E.option("typeofs")&&this.operator=="typeof"&&(R instanceof Pt||R instanceof sn&&R.fixed_value()instanceof Pt)){return typeof function(){}}if(!ui.has(this.operator))N++;R=R._eval(E,N);if(R===this.expression)return this;switch(this.operator){case"!":return!R;case"typeof":if(R instanceof RegExp)return this;return typeof R;case"void":return void R;case"~":return~R;case"-":return-R;case"+":return+R}return this}));var di=makePredicate("&& || ?? === !==");const pi=makePredicate("== != === !==");const has_identity=E=>typeof E==="object"||typeof E==="function"||typeof E==="symbol";def_eval(Tr,(function(E,N){if(!di.has(this.operator))N++;var R=this.left._eval(E,N);if(R===this.left)return this;var j=this.right._eval(E,N);if(j===this.right)return this;var $;if(R!=null&&j!=null&&pi.has(this.operator)&&has_identity(R)&&has_identity(j)&&typeof R===typeof j){return this}switch(this.operator){case"&&":$=R&&j;break;case"||":$=R||j;break;case"??":$=R!=null?R:j;break;case"|":$=R|j;break;case"&":$=R&j;break;case"^":$=R^j;break;case"+":$=R+j;break;case"*":$=R*j;break;case"**":$=Math.pow(R,j);break;case"/":$=R/j;break;case"%":$=R%j;break;case"-":$=R-j;break;case"<<":$=R<>":$=R>>j;break;case">>>":$=R>>>j;break;case"==":$=R==j;break;case"===":$=R===j;break;case"!=":$=R!=j;break;case"!==":$=R!==j;break;case"<":$=R":$=R>j;break;case">=":$=R>=j;break;default:return this}if(isNaN($)&&E.find_parent(Ct)){return this}return $}));def_eval(Er,(function(E,N){var R=this.condition._eval(E,N);if(R===this.condition)return this;var j=R?this.consequent:this.alternative;var $=j._eval(E,N);return $===j?this:$}));const fi=new Set;def_eval(sn,(function(E,N){if(fi.has(this))return this;var R=this.fixed_value();if(!R)return this;fi.add(this);const j=R._eval(E,N);fi.delete(this);if(j===R)return this;if(j&&typeof j=="object"){var $=this.definition().escaped;if($&&N>$)return this}return j}));const mi={Array:Array,Math:Math,Number:Number,Object:Object,String:String};const gi=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);def_eval(gr,(function(E,N){const R=this.expression._eval(E,N);if(R===ci||this.optional&&R==null)return ci;if(E.option("unsafe")){var j=this.property;if(j instanceof st){j=j._eval(E,N);if(j===this.property)return this}var $=this.expression;var q;if(is_undeclared_ref($)){var G;var ie=$.name==="hasOwnProperty"&&j==="call"&&(G=E.parent()&&E.parent().args)&&(G&&G[0]&&G[0].evaluate(E));ie=ie instanceof hr?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}if(!ii($.name,j))return this;q=mi[$.name]}else{q=$._eval(E,N+1);if(q instanceof RegExp){if(j=="source"){return regexp_source_fix(q.source)}else if(j=="flags"||gi.has(j)){return q[j]}}if(!q||q===$||!HOP(q,j))return this;if(typeof q=="function")switch(j){case"name":return q.node.name?q.node.name.name:"";case"length":return q.node.length_property();default:return this}}return q[j]}return this}));def_eval(vr,(function(E,N){const R=this.expression._eval(E,N);return R===ci?undefined:R===this.expression?this:R}));def_eval(pr,(function(E,N){var R=this.expression;const j=R._eval(E,N);if(j===ci||this.optional&&j==null)return ci;if(E.option("unsafe")&&R instanceof gr){var $=R.property;if($ instanceof st){$=$._eval(E,N);if($===R.property)return this}var q;var G=R.expression;if(is_undeclared_ref(G)){var ie=G.name==="hasOwnProperty"&&$==="call"&&(this.args[0]&&this.args[0].evaluate(E));ie=ie instanceof hr?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}if(!ni(G.name,$))return this;q=mi[G.name]}else{q=G._eval(E,N+1);if(q===G||!q)return this;if(!ri(q.constructor.name,$))return this}var ae=[];for(var ce=0,le=this.args.length;ce{reset_def(E,N)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,N,R){E.safe_ids[N.id]=R}function safe_to_read(E,N){if(N.single_use=="m")return false;if(E.safe_ids[N.id]){if(N.fixed==null){var R=N.orig[0];if(R instanceof Kr||R.name=="arguments")return false;N.fixed=make_node(Sn,R)}return true}return N.fixed instanceof Ot}function safe_to_assign(E,N,R,j){if(N.fixed===undefined)return true;let $;if(N.fixed===null&&($=E.defs_to_safe_ids.get(N.id))){$[N.id]=false;E.defs_to_safe_ids.delete(N.id);return true}if(!HOP(E.safe_ids,N.id))return false;if(!safe_to_read(E,N))return false;if(N.fixed===false)return false;if(N.fixed!=null&&(!j||N.references.length>N.assignments))return false;if(N.fixed instanceof Ot){return j instanceof st&&N.fixed.parent_scope===R}return N.orig.every((E=>!(E instanceof Hr||E instanceof Qr||E instanceof Zr)))}function ref_once(E,N,R){return N.option("unused")&&!R.scope.pinned()&&R.references.length-R.recursive_refs==1&&E.loop_ids.get(R.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof Pt||E instanceof dn}function mark_escaped(E,N,R,j,$,q=0,G=1){var ie=E.parent(q);if($){if($.is_constant())return;if($ instanceof zr)return}if(ie instanceof kr&&(ie.operator==="="||ie.logical)&&j===ie.right||ie instanceof pr&&(j!==ie.expression||ie instanceof fr)||ie instanceof Ut&&j===ie.value&&j.scope!==N.scope||ie instanceof sr&&j===ie.value||ie instanceof Ht&&j===ie.value&&j.scope!==N.scope){if(G>1&&!($&&$.is_constant_expression(R)))G=1;if(!N.escaped||N.escaped>G)N.escaped=G;return}else if(ie instanceof Dr||ie instanceof qt||ie instanceof Tr&&ai.has(ie.operator)||ie instanceof Er&&j!==ie.condition||ie instanceof wt||ie instanceof mr&&j===ie.tail_node()){mark_escaped(E,N,R,ie,ie,q+1,G)}else if(ie instanceof Pr&&j===ie.value){var ae=E.parent(q+1);mark_escaped(E,N,R,ae,ae,q+2,G)}else if(ie instanceof gr&&j===ie.expression){$=read_property($,ie.property);mark_escaped(E,N,R,ie,$,q+1,G+1);if($)return}if(q>0)return;if(ie instanceof mr&&j!==ie.tail_node())return;if(ie instanceof pt)return;N.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof Wr))return;var N=E.definition();if(!N)return;if(E instanceof sn)N.references.push(E);N.fixed=false}));def_reduce_vars(It,(function(E,N,R){push(E);reset_variables(E,R,this);N();pop(E);return true}));def_reduce_vars(kr,(function(E,N,R){var j=this;if(j.left instanceof Mt){suppress(j.left);return}const finish_walk=()=>{if(j.logical){j.left.walk(E);push(E);j.right.walk(E);pop(E);return true}};var $=j.left;if(!($ instanceof sn))return finish_walk();var q=$.definition();var G=safe_to_assign(E,q,$.scope,j.right);q.assignments++;if(!G)return finish_walk();var ie=q.fixed;if(!ie&&j.operator!="="&&!j.logical)return finish_walk();var ae=j.operator=="=";var ce=ae?j.right:j;if(is_modified(R,E,j,ce,0))return finish_walk();q.references.push($);if(!j.logical){if(!ae)q.chained=true;q.fixed=ae?function(){return j.right}:function(){return make_node(Tr,j,{operator:j.operator.slice(0,-1),left:ie instanceof st?ie:ie(),right:j.right})}}if(j.logical){mark(E,q,false);push(E);j.right.walk(E);pop(E);return true}mark(E,q,false);j.right.walk(E);mark(E,q,true);mark_escaped(E,q,$.scope,j,ce,0,1);return true}));def_reduce_vars(Tr,(function(E){if(!ai.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));def_reduce_vars(ft,(function(E,N,R){reset_block_variables(R,this)}));def_reduce_vars(Yt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));def_reduce_vars(Lr,(function(E,N){clear_flag(this,Gn);push(E);N();pop(E);return true}));def_reduce_vars(Er,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));def_reduce_vars(vr,(function(E,N){const R=E.safe_ids;N();E.safe_ids=R;return true}));def_reduce_vars(pr,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const N of this.args)N.walk(E);return true}));def_reduce_vars(gr,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof st)this.property.walk(E);return true}));def_reduce_vars(Xt,(function(E,N){push(E);N();pop(E);return true}));function mark_lambda(E,N,R){clear_flag(this,Gn);push(E);reset_variables(E,R,this);if(this.uses_arguments){N();pop(E);return}var j;if(!this.name&&(j=E.parent())instanceof pr&&j.expression===this&&!j.args.some((E=>E instanceof wt))&&this.argnames.every((E=>E instanceof Wr))){this.argnames.forEach(((N,R)=>{if(!N.definition)return;var $=N.definition();if($.orig.length>1)return;if($.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){$.fixed=function(){return j.args[R]||make_node(Sn,j)};E.loop_ids.set($.id,E.in_loop);mark(E,$,true)}else{$.fixed=false}}))}N();pop(E);return true}def_reduce_vars(Pt,mark_lambda);def_reduce_vars(xt,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=j;return true}));def_reduce_vars(Tt,(function(E,N,R){reset_block_variables(R,this);if(this.init)this.init.walk(E);const j=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=j;return true}));def_reduce_vars(Et,(function(E,N,R){reset_block_variables(R,this);suppress(this.init);this.object.walk(E);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=j;return true}));def_reduce_vars(Gt,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));def_reduce_vars(yt,(function(E){push(E);this.body.walk(E);pop(E);return true}));def_reduce_vars(rn,(function(){this.definition().fixed=false}));def_reduce_vars(sn,(function(E,N,R){var j=this.definition();j.references.push(this);if(j.references.length==1&&!j.fixed&&j.orig[0]instanceof Qr){E.loop_ids.set(j.id,E.in_loop)}var $;if(j.fixed===undefined||!safe_to_read(E,j)){j.fixed=false}else if(j.fixed){$=this.fixed_value();if($ instanceof Pt&&is_recursive_ref(E,j)){j.recursive_refs++}else if($&&!R.exposed(j)&&ref_once(E,R,j)){j.single_use=$ instanceof Pt&&!$.pinned()||$ instanceof Lr||j.scope===this.scope&&$.is_constant_expression()}else{j.single_use=false}if(is_modified(R,E,this,$,0,is_immutable($))){if(j.single_use){j.single_use="m"}else{j.fixed=false}}}mark_escaped(E,j,this.scope,this,$,0,1)}));def_reduce_vars(At,(function(E,N,R){this.globals.forEach((function(E){reset_def(R,E)}));reset_variables(E,R,this)}));def_reduce_vars(Zt,(function(E,N,R){reset_block_variables(R,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));def_reduce_vars(br,(function(E){var N=this;if(N.operator!=="++"&&N.operator!=="--")return;var R=N.expression;if(!(R instanceof sn))return;var j=R.definition();var $=safe_to_assign(E,j,R.scope,true);j.assignments++;if(!$)return;var q=j.fixed;if(!q)return;j.references.push(R);j.chained=true;j.fixed=function(){return make_node(Tr,N,{operator:N.operator.slice(0,-1),left:make_node(xr,N,{operator:"+",expression:q instanceof st?q:q()}),right:make_node(hn,N,{value:1})})};mark(E,j,true);return true}));def_reduce_vars(sr,(function(E,N){var R=this;if(R.name instanceof Mt){suppress(R.name);return}var j=R.name.definition();if(R.value){if(safe_to_assign(E,j,R.name.scope,R.value)){j.fixed=function(){return R.value};E.loop_ids.set(j.id,E.in_loop);mark(E,j,false);N();mark(E,j,true);return true}else{j.fixed=false}}}));def_reduce_vars(St,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);N();pop(E);E.in_loop=j;return true}));function loop_body(E){if(E instanceof vt){return E.body instanceof mt?E.body:E}return E}function is_lhs_read_only(E){if(E instanceof dn)return true;if(E instanceof sn)return E.definition().orig[0]instanceof Zr;if(E instanceof gr){E=E.expression;if(E instanceof sn){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof yn)return false;if(E instanceof mn)return true;return is_lhs_read_only(E)}return false}function trim_unreachable_code(E,N,R){walk(N,(j=>{if(j instanceof nr){j.remove_initializers();R.push(j);return true}if(j instanceof Ot&&(j===N||!E.has_directive("use strict"))){R.push(j===N?j:make_node(nr,j,{definitions:[make_node(sr,j,{name:make_node(Vr,j.name,j.name),value:null})]}));return true}if(j instanceof dr||j instanceof lr){R.push(j);return true}if(j instanceof Dt){return true}}))}function tighten_body(E,N){var R,j;var q=N.find_parent(Dt).get_defun_scope();find_loop_scope_try();var G,ie=10;do{G=false;eliminate_spurious_blocks(E);if(N.option("dead_code")){eliminate_dead_code(E,N)}if(N.option("if_return")){handle_if_return(E,N)}if(N.sequences_limit>0){sequencesize(E,N);sequencesize_2(E,N)}if(N.option("join_vars")){join_consecutive_vars(E)}if(N.option("collapse_vars")){collapse(E,N)}}while(G&&ie-- >0);function find_loop_scope_try(){var E=N.self(),$=0;do{if(E instanceof er||E instanceof tr){$++}else if(E instanceof vt){R=true}else if(E instanceof Dt){q=E;break}else if(E instanceof Zt){j=true}}while(E=N.parent($++))}function collapse(E,N){if(q.pinned())return E;var ie;var ae=[];var ce=E.length;var le=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Te[Ee])return E;Ee++;if(Ee1)||E instanceof vt&&!(E instanceof Tt)||E instanceof Jt||E instanceof Zt||E instanceof Ct||E instanceof Ht||E instanceof dr||E instanceof Lr||R instanceof Tt&&E!==R.init||!ze&&(E instanceof sn&&!E.is_declared(N)&&!ei.has(E))||E instanceof sn&&R instanceof pr&&has_annotation(R,In)){qe=true;return E}if(!Me&&(!je||!ze)&&(R instanceof Tr&&ai.has(R.operator)&&R.left!==E||R instanceof Er&&R.condition!==E||R instanceof Gt&&R.condition!==E)){Me=R}if(Ge&&!(E instanceof $r)&&Le.equivalent_to(E)&&!shadows(E.scope,Be)){if(Me){qe=true;return E}if(is_lhs(E,R)){if(Ie)He++;return E}else{He++;if(Ie&&we instanceof sr)return E}G=qe=true;if(we instanceof Sr){return make_node(xr,we,we)}if(we instanceof sr){var $=we.name.definition();var q=we.value;if($.references.length-$.replaced==1&&!N.exposed($)){$.replaced++;if(Je&&is_identifier_atom(q)){return q.transform(N)}else{return maintain_this_binding(R,E,q)}}return make_node(kr,we,{operator:"=",logical:false,left:make_node(sn,we.name,we.name),right:q})}clear_flag(we,Kn);return we}var ie;if(E instanceof pr||E instanceof Ut&&(Ue||Le instanceof gr||may_modify(Le))||E instanceof gr&&(Ue||E.expression.may_throw_on_access(N))||E instanceof sn&&(Be.has(E.name)&&Be.get(E.name).modified||Ue&&may_modify(E))||E instanceof sr&&E.value&&(Be.has(E.name.name)||Ue&&may_modify(E.name))||(ie=is_lhs(E.left,E))&&(ie instanceof gr||Be.has(ie.name))||We&&(j?E.has_side_effects(N):side_effects_external(E))){Ne=E;if(E instanceof Dt)qe=true}return handle_custom_scan_order(E)}),(function(E){if(qe)return;if(Ne===E)qe=true;if(Me===E)Me=null}));var _e=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Te[Ee])return E;Ee++;if(Ee=0){if(ce==0&&N.option("unused"))extract_args();var Te=[];extract_candidates(E[ce]);while(ae.length>0){Te=ae.pop();var Ee=0;var we=Te[Te.length-1];var Ie=null;var Ne=null;var Me=null;var Le=get_lhs(we);if(!Le||is_lhs_read_only(Le)||Le.has_side_effects(N))continue;var Be=get_lvalues(we);var je=is_lhs_local(Le);if(Le instanceof sn){Be.set(Le.name,{def:Le.definition(),modified:false})}var Ue=value_has_side_effects(we);var ze=replace_all_symbols();var We=we.may_throw(N);var Je=we.name instanceof Kr;var Ve=Je;var qe=false,He=0,Ge=!ie||!Ve;if(!Ge){for(var Ke=N.self().argnames.lastIndexOf(we.name)+1;!qe&&KeHe)He=false;else{qe=false;Ee=0;Ve=Je;for(var Qe=ce;!qe&&Qe!(E instanceof wt)))){var j=N.has_directive("use strict");if(j&&!member(j,R.body))j=false;var $=R.argnames.length;ie=E.args.slice($);var q=new Set;for(var G=$;--G>=0;){var ce=R.argnames[G];var le=E.args[G];const $=ce.definition&&ce.definition();const Te=$&&$.orig.length>1;if(Te)continue;ie.unshift(make_node(sr,ce,{name:ce,value:le}));if(q.has(ce.name))continue;q.add(ce.name);if(ce instanceof wt){var _e=E.args.slice(G);if(_e.every((E=>!has_overlapping_symbol(R,E,j)))){ae.unshift([make_node(sr,ce,{name:ce.expression,value:make_node(Dr,E,{elements:_e})})])}}else{if(!le){le=make_node(Sn,ce).transform(N)}else if(le instanceof Pt&&le.pinned()||has_overlapping_symbol(R,le,j)){le=null}if(le)ae.unshift([make_node(sr,ce,{name:ce,value:le})])}}}}function extract_candidates(E){Te.push(E);if(E instanceof kr){if(!E.left.has_side_effects(N)&&!(E.right instanceof vr)){ae.push(Te.slice())}extract_candidates(E.right)}else if(E instanceof Tr){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof pr&&!has_annotation(E,In)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Yt){extract_candidates(E.expression)}else if(E instanceof Er){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof rr){var R=E.definitions.length;var j=R-200;if(j<0)j=0;for(;j1&&!(E.name instanceof Kr)||(j>1?mangleable_var(E):!N.exposed(R))){return make_node(sn,E.name,E.name)}}else{const N=E instanceof kr?E.left:E.expression;return!is_ref_of(N,Hr)&&!is_ref_of(N,Gr)&&N}}function get_rvalue(E){if(E instanceof kr){return E.right}else{return E.value}}function get_lvalues(E){var R=new Map;if(E instanceof br)return R;var j=new TreeWalker((function(E){var $=E;while($ instanceof gr)$=$.expression;if($ instanceof sn){const q=R.get($.name);if(!q||!q.modified){R.set($.name,{def:$.definition(),modified:is_modified(N,j,E,E,0)})}}}));get_rvalue(E).walk(j);return R}function remove_candidate(R){if(R.name instanceof Kr){var j=N.parent(),q=N.self().argnames;var G=q.indexOf(R.name);if(G<0){j.args.length=Math.min(j.args.length,q.length-1)}else{var ie=j.args;if(ie[G])ie[G]=make_node(hn,ie[G],{value:0})}return true}var ae=false;return E[ce].transform(new TreeTransformer((function(E,N,j){if(ae)return E;if(E===R||E.body===R){ae=true;if(E instanceof sr){E.value=E.name instanceof Hr?make_node(Sn,E.value):null;return E}return j?$.skip:null}}),(function(E){if(E instanceof mr)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof gr)E=E.expression;return E instanceof sn&&E.definition().scope===q&&!(R&&(Be.has(E.name)||we instanceof br||we instanceof kr&&!we.logical&&we.operator!="="))}function value_has_side_effects(E){if(E instanceof br)return oi.has(E.operator);return get_rvalue(E).has_side_effects(N)}function replace_all_symbols(){if(Ue)return false;if(Ie)return true;if(Le instanceof sn){var E=Le.definition();if(E.references.length-E.replaced==(we instanceof sr?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var N=E.definition();if(N.orig.length==1&&N.orig[0]instanceof Qr)return false;if(N.scope.get_defun_scope()!==q)return true;return!N.references.every((E=>{var N=E.scope.get_defun_scope();if(N.TYPE=="Scope")N=N.parent_scope;return N===q}))}function side_effects_external(E,N){if(E instanceof kr)return side_effects_external(E.left,true);if(E instanceof br)return side_effects_external(E.expression,true);if(E instanceof sr)return E.value&&side_effects_external(E.value);if(N){if(E instanceof hr)return side_effects_external(E.expression,true);if(E instanceof yr)return side_effects_external(E.expression,true);if(E instanceof sn)return E.definition().scope!==q}return false}function shadows(E,N){for(const{def:R}of N.values()){let N=E;while(N&&N!==R.scope){let E=N.variables.get(R.name);if(E&&E!==R)return true;N=N.parent_scope}}return false}}function eliminate_spurious_blocks(E){var N=[];for(var R=0;R=0;){var ie=E[q];var ae=next_index(q);var ce=E[ae];if($&&!ce&&ie instanceof zt){if(!ie.value){G=true;E.splice(q,1);continue}if(ie.value instanceof xr&&ie.value.operator=="void"){G=true;E[q]=make_node(pt,ie,{body:ie.value.expression});continue}}if(ie instanceof Gt){var le=aborts(ie.body);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.condition=ie.condition.negate(N);var _e=as_statement_array_with_return(ie.body,le);ie.body=make_node(mt,ie,{body:as_statement_array(ie.alternative).concat(extract_functions())});ie.alternative=make_node(mt,ie,{body:_e});E[q]=ie.transform(N);continue}var le=aborts(ie.alternative);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.body=make_node(mt,ie.body,{body:as_statement_array(ie.body).concat(extract_functions())});var _e=as_statement_array_with_return(ie.alternative,le);ie.alternative=make_node(mt,ie.alternative,{body:_e});E[q]=ie.transform(N);continue}}if(ie instanceof Gt&&ie.body instanceof zt){var Te=ie.body.value;if(!Te&&!ie.alternative&&($&&!ce||ce instanceof zt&&!ce.value)){G=true;E[q]=make_node(pt,ie.condition,{body:ie.condition});continue}if(Te&&!ie.alternative&&ce instanceof zt&&ce.value){G=true;ie=ie.clone();ie.alternative=ce;E[q]=ie.transform(N);E.splice(ae,1);continue}if(Te&&!ie.alternative&&(!ce&&$&&j||ce instanceof zt)){G=true;ie=ie.clone();ie.alternative=ce||make_node(zt,ie,{value:null});E[q]=ie.transform(N);if(ce)E.splice(ae,1);continue}var Ee=E[prev_index(q)];if(N.option("sequences")&&$&&!ie.alternative&&Ee instanceof Gt&&Ee.body instanceof zt&&next_index(ae)==E.length&&ce instanceof pt){G=true;ie=ie.clone();ie.alternative=make_node(mt,ce,{body:[ce,make_node(zt,ce,{value:null})]});E[q]=ie.transform(N);E.splice(ae,1);continue}}}function has_multiple_if_returns(E){var N=0;for(var R=E.length;--R>=0;){var j=E[R];if(j instanceof Gt&&j.body instanceof zt){if(++N>1)return true}}return false}function is_return_void(E){return!E||E instanceof xr&&E.operator=="void"}function can_merge_flow(j){if(!j)return false;for(var G=q+1,ie=E.length;G=0;){var j=E[R];if(!(j instanceof nr&&declarations_only(j))){break}}return R}}function eliminate_dead_code(E,N){var R;var j=N.self();for(var $=0,q=0,ie=E.length;$!E.value))}function sequencesize(E,N){if(E.length<2)return;var R=[],j=0;function push_seq(){if(!R.length)return;var N=make_sequence(R[0],R);E[j++]=make_node(pt,N,{body:N});R=[]}for(var $=0,q=E.length;$=N.sequences_limit)push_seq();var ae=ie.body;if(R.length>0)ae=ae.drop_side_effect_free(N);if(ae)merge_sequence(R,ae)}else if(ie instanceof rr&&declarations_only(ie)||ie instanceof Ot){E[j++]=ie}else{push_seq();E[j++]=ie}}push_seq();E.length=j;if(j!=q)G=true}function to_simple_statement(E,N){if(!(E instanceof mt))return E;var R=null;for(var j=0,$=E.body.length;j<$;j++){var q=E.body[j];if(q instanceof nr&&declarations_only(q)){N.push(q)}else if(R){return false}else{R=q}}return R}function sequencesize_2(E,N){function cons_seq(E){R--;G=true;var $=j.body;return make_sequence($,[$,E]).transform(N)}var R=0,j;for(var $=0;${if(E instanceof Dt)return true;if(E instanceof Tr&&E.operator==="in"){return An}}));if(!E){if(q.init)q.init=cons_seq(q.init);else{q.init=j.body;R--;G=true}}}}else if(q instanceof Et){if(!(q.init instanceof ar)&&!(q.init instanceof ir)){q.object=cons_seq(q.object)}}else if(q instanceof Gt){q.condition=cons_seq(q.condition)}else if(q instanceof Kt){q.expression=cons_seq(q.expression)}else if(q instanceof Ct){q.expression=cons_seq(q.expression)}}if(N.option("conditionals")&&q instanceof Gt){var ie=[];var ae=to_simple_statement(q.body,ie);var ce=to_simple_statement(q.alternative,ie);if(ae!==false&&ce!==false&&ie.length>0){var le=ie.length;ie.push(make_node(Gt,q,{condition:q.condition,body:ae||make_node(ht,q.body),alternative:ce}));ie.unshift(R,1);[].splice.apply(E,ie);$+=le;R+=le+1;j=null;G=true;continue}}E[R++]=q;j=q instanceof pt?q:null}E.length=R}function join_object_assignments(E,R){if(!(E instanceof rr))return;var j=E.definitions[E.definitions.length-1];if(!(j.value instanceof Ar))return;var $;if(R instanceof kr&&!R.logical){$=[R]}else if(R instanceof mr){$=R.expressions.slice()}if(!$)return;var G=false;do{var ie=$[0];if(!(ie instanceof kr))break;if(ie.operator!="=")break;if(!(ie.left instanceof gr))break;var ae=ie.left.expression;if(!(ae instanceof sn))break;if(j.name.name!=ae.name)break;if(!ie.right.is_constant_expression(q))break;var ce=ie.left.property;if(ce instanceof st){ce=ce.evaluate(N)}if(ce instanceof st)break;ce=""+ce;var le=N.option("ecma")<2015&&N.has_directive("use strict")?function(E){return E.key!=ce&&(E.key&&E.key.name!=ce)}:function(E){return E.key&&E.key.name!=ce};if(!j.value.properties.every(le))break;var _e=j.value.properties.filter((function(E){return E.key===ce}))[0];if(!_e){j.value.properties.push(make_node(Pr,ie,{key:ce,value:ie.right}))}else{_e.value=new mr({start:_e.start,expressions:[_e.value.clone(),ie.right.clone()],end:_e.end})}$.shift();G=true}while($.length);return G&&$}function join_consecutive_vars(E){var N;for(var R=0,j=-1,$=E.length;R<$;R++){var q=E[R];var ie=E[j];if(q instanceof rr){if(ie&&ie.TYPE==q.TYPE){ie.definitions=ie.definitions.concat(q.definitions);G=true}else if(N&&N.TYPE==q.TYPE&&declarations_only(q)){N.definitions=N.definitions.concat(q.definitions);G=true}else{E[++j]=q;N=q}}else if(q instanceof Ut){q.value=extract_object_assignments(q.value)}else if(q instanceof Tt){var ae=join_object_assignments(ie,q.init);if(ae){G=true;q.init=ae.length?make_sequence(q.init,ae):null;E[++j]=q}else if(ie instanceof nr&&(!q.init||q.init.TYPE==ie.TYPE)){if(q.init){ie.definitions=ie.definitions.concat(q.init.definitions)}q.init=ie;E[j]=q;G=true}else if(N&&q.init&&N.TYPE==q.init.TYPE&&declarations_only(q.init)){N.definitions=N.definitions.concat(q.init.definitions);q.init=null;E[++j]=q;G=true}else{E[++j]=q}}else if(q instanceof Et){q.object=extract_object_assignments(q.object)}else if(q instanceof Gt){q.condition=extract_object_assignments(q.condition)}else if(q instanceof pt){var ae=join_object_assignments(ie,q.body);if(ae){G=true;if(!ae.length)continue;q.body=make_sequence(q.body,ae)}E[++j]=q}else if(q instanceof Kt){q.expression=extract_object_assignments(q.expression)}else if(q instanceof Ct){q.expression=extract_object_assignments(q.expression)}else{E[++j]=q}}E.length=j+1;function extract_object_assignments(N){E[++j]=q;var R=join_object_assignments(ie,N);if(R){G=true;if(R.length){return make_sequence(N,R)}else if(N instanceof mr){return N.tail_node().left}else{return N.left}}return N}}}class Compressor extends TreeWalker{constructor(E,{false_by_default:N=false,mangle_options:R=false}){super();if(E.defaults!==undefined&&!E.defaults)N=true;this.options=defaults(E,{arguments:false,arrows:!N,booleans:!N,booleans_as_integers:false,collapse_vars:!N,comparisons:!N,computed_props:!N,conditionals:!N,dead_code:!N,defaults:true,directives:!N,drop_console:false,drop_debugger:!N,ecma:5,evaluate:!N,expression:false,global_defs:false,hoist_funs:false,hoist_props:!N,hoist_vars:false,ie8:false,if_return:!N,inline:!N,join_vars:!N,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!N,module:false,negate_iife:!N,passes:1,properties:!N,pure_getters:!N&&"strict",pure_funcs:null,reduce_funcs:!N,reduce_vars:!N,sequences:!N,side_effects:!N,switches:!N,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!N,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!N,warnings:false},true);var j=this.options["global_defs"];if(typeof j=="object")for(var $ in j){if($[0]==="@"&&HOP(j,$)){j[$.slice(1)]=parse(j[$],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var q=this.options["pure_funcs"];if(typeof q=="function"){this.pure_funcs=q}else{this.pure_funcs=q?function(E){return!q.includes(E.expression.print_to_string())}:return_true}var G=this.options["top_retain"];if(G instanceof RegExp){this.top_retain=function(E){return G.test(E.name)}}else if(typeof G=="function"){this.top_retain=G}else if(G){if(typeof G=="string"){G=G.split(/,/)}this.top_retain=function(E){return G.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ie=this.options["toplevel"];this.toplevel=typeof ie=="string"?{funcs:/funcs/.test(ie),vars:/vars/.test(ie)}:{funcs:ie,vars:ie};var ae=this.options["sequences"];this.sequences_limit=ae==1?800:ae|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=R}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var N=0,R=E.orig.length;N0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(N>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){$.body[G]=$.body[G].transform(j)}}else if($ instanceof Gt){$.body=$.body.transform(j);if($.alternative){$.alternative=$.alternative.transform(j)}}else if($ instanceof Ct){$.body=$.body.transform(j)}return $}));R.transform(j)}));At.DEFMETHOD("reset_opt_flags",(function(E){const N=this;const R=E.option("reduce_vars");const j=new TreeWalker((function($,q){clear_flag($,Zn);if(R){if(E.top_retain&&$ instanceof Ot&&j.parent()===N){set_flag($,Yn)}return $.reduce_vars(j,q,E)}}));j.safe_ids=Object.create(null);j.in_loop=null;j.loop_ids=new Map;j.defs_to_safe_ids=new Map;N.walk(j)}));Wr.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof st)return E;return E()}));sn.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Zr}));function find_scope(E){for(let N=0;;N++){const R=E.parent(N);if(R instanceof At)return R;if(R instanceof Pt)return R;if(R.block_scope)return R.block_scope}}function find_variable(E,N){var R,j=0;while(R=E.parent(j++)){if(R instanceof Dt)break;if(R instanceof er&&R.argname){R=R.argname.definition().scope;break}}return R.find_variable(N)}function is_empty(E){if(E===null)return true;if(E instanceof ht)return true;if(E instanceof mt)return E.body.length==0;return false}var hi=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");sn.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&hi.has(this.name)}));var _i=new Set(["use asm","use strict"]);def_optimize(dt,(function(E,N){if(N.option("directives")&&(!_i.has(E.value)||N.has_directive(E.value)!==E)){return make_node(ht,E)}return E}));def_optimize(ut,(function(E,N){if(N.option("drop_debugger"))return make_node(ht,E);return E}));def_optimize(yt,(function(E,N){if(E.body instanceof $t&&N.loopcontrol_target(E.body)===E.body){return make_node(ht,E)}return E.label.references.length==0?E.body:E}));def_optimize(ft,(function(E,N){tighten_body(E.body,N);return E}));function can_be_extracted_from_if_block(E){return!(E instanceof ar||E instanceof ir||E instanceof Lr)}def_optimize(mt,(function(E,N){tighten_body(E.body,N);switch(E.body.length){case 1:if(!N.has_directive("use strict")&&N.parent()instanceof Gt&&can_be_extracted_from_if_block(E.body[0])||can_be_evicted_from_block(E.body[0])){return E.body[0]}break;case 0:return make_node(ht,E)}return E}));function opt_AST_Lambda(E,N){tighten_body(E.body,N);if(N.option("side_effects")&&E.body.length==1&&E.body[0]===N.has_directive("use strict")){E.body.length=0}return E}def_optimize(Pt,opt_AST_Lambda);const yi=/keep_assign/;Dt.DEFMETHOD("drop_unused",(function(E){if(!E.option("unused"))return;if(E.has_directive("use asm"))return;var N=this;if(N.pinned())return;var R=!(N instanceof At)||E.toplevel.funcs;var j=!(N instanceof At)||E.toplevel.vars;const q=yi.test(E.option("unused"))?return_false:function(E){if(E instanceof kr&&!E.logical&&(has_flag(E,Kn)||E.operator=="=")){return E.left}if(E instanceof br&&has_flag(E,Kn)){return E.expression}};var G=new Map;var ie=new Map;if(N instanceof At&&E.top_retain){N.variables.forEach((function(N){if(E.top_retain(N)&&!G.has(N.id)){G.set(N.id,N)}}))}var ae=new Map;var ce=new Map;var le=this;var _e=new TreeWalker((function($,q){if($ instanceof Pt&&$.uses_arguments&&!_e.has_directive("use strict")){$.argnames.forEach((function(E){if(!(E instanceof $r))return;var N=E.definition();if(!G.has(N.id)){G.set(N.id,N)}}))}if($===N)return;if($ instanceof Ot||$ instanceof Ur){var Te=$.name.definition();const j=_e.parent()instanceof dr;if(j||!R&&le===N){if(Te.global&&!G.has(Te.id)){G.set(Te.id,Te)}}if($ instanceof Ur){if($.extends&&($.extends.has_side_effects(E)||$.extends.may_throw(E))){$.extends.walk(_e)}for(const N of $.properties){if(N.has_side_effects(E)||N.may_throw(E)){N.walk(_e)}}}map_add(ce,Te.id,$);return true}if($ instanceof Kr&&le===N){map_add(ae,$.definition().id,$)}if($ instanceof rr&&le===N){const N=_e.parent()instanceof dr;$.definitions.forEach((function(R){if(R.name instanceof Vr){map_add(ae,R.name.definition().id,R)}if(N||!j){walk(R.name,(E=>{if(E instanceof $r){const R=E.definition();if((N||R.global)&&!G.has(R.id)){G.set(R.id,R)}}}))}if(R.value){if(R.name instanceof Mt){R.walk(_e)}else{var $=R.name.definition();map_add(ce,$.id,R.value);if(!$.chained&&R.name.fixed_value()===R.value){ie.set($.id,R)}}if(R.value.has_side_effects(E)){R.value.walk(_e)}}}));return true}return scan_ref_scoped($,q)}));N.walk(_e);_e=new TreeWalker(scan_ref_scoped);G.forEach((function(E){var N=ce.get(E.id);if(N)N.forEach((function(E){E.walk(_e)}))}));var Te=new TreeTransformer((function before(ce,_e,Ee){var we=Te.parent();if(j){const E=q(ce);if(E instanceof sn){var Ie=E.definition();var Ne=G.has(Ie.id);if(ce instanceof kr){if(!Ne||ie.has(Ie.id)&&ie.get(Ie.id)!==ce){return maintain_this_binding(we,ce,ce.right.transform(Te))}}else if(!Ne)return Ee?$.skip:make_node(hn,ce,{value:0})}}if(le!==N)return;var Ie;if(ce.name&&(ce instanceof zr&&!keep_name(E.option("keep_classnames"),(Ie=ce.name.definition()).name)||ce instanceof Nt&&!keep_name(E.option("keep_fnames"),(Ie=ce.name.definition()).name))){if(!G.has(Ie.id)||Ie.orig.length>1)ce.name=null}if(ce instanceof Pt&&!(ce instanceof It)){var Me=!E.option("keep_fargs");for(var Le=ce.argnames,Be=Le.length;--Be>=0;){var je=Le[Be];if(je instanceof wt){je=je.expression}if(je instanceof Cr){je=je.left}if(!(je instanceof Mt)&&!G.has(je.definition().id)){set_flag(je,$n);if(Me){Le.pop()}}else{Me=false}}}if((ce instanceof Ot||ce instanceof Ur)&&ce!==N){const N=ce.name.definition();let j=N.global&&!R||G.has(N.id);if(!j){N.eliminated++;if(ce instanceof Ur){const N=ce.drop_side_effect_free(E);if(N){return make_node(pt,ce,{body:N})}}return Ee?$.skip:make_node(ht,ce)}}if(ce instanceof rr&&!(we instanceof Et&&we.init===ce)){var Ue=!(we instanceof At)&&!(ce instanceof nr);var ze=[],We=[],Je=[];var Ve=[];ce.definitions.forEach((function(N){if(N.value)N.value=N.value.transform(Te);var R=N.name instanceof Mt;var $=R?new SymbolDef(null,{name:""}):N.name.definition();if(Ue&&$.global)return Je.push(N);if(!(j||Ue)||R&&(N.name.names.length||N.name.is_array||E.option("pure_getters")!=true)||G.has($.id)){if(N.value&&ie.has($.id)&&ie.get($.id)!==N){N.value=N.value.drop_side_effect_free(E)}if(N.name instanceof Vr){var q=ae.get($.id);if(q.length>1&&(!N.value||$.orig.indexOf(N.name)>$.eliminated)){if(N.value){var le=make_node(sn,N.name,N.name);$.references.push(le);var _e=make_node(kr,N,{operator:"=",logical:false,left:le,right:N.value});if(ie.get($.id)===N){ie.set($.id,_e)}Ve.push(_e.transform(Te))}remove(q,N);$.eliminated++;return}}if(N.value){if(Ve.length>0){if(Je.length>0){Ve.push(N.value);N.value=make_sequence(N.value,Ve)}else{ze.push(make_node(pt,ce,{body:make_sequence(ce,Ve)}))}Ve=[]}Je.push(N)}else{We.push(N)}}else if($.orig[0]instanceof rn){var Ee=N.value&&N.value.drop_side_effect_free(E);if(Ee)Ve.push(Ee);N.value=null;We.push(N)}else{var Ee=N.value&&N.value.drop_side_effect_free(E);if(Ee){Ve.push(Ee)}$.eliminated++}}));if(We.length>0||Je.length>0){ce.definitions=We.concat(Je);ze.push(ce)}if(Ve.length>0){ze.push(make_node(pt,ce,{body:make_sequence(ce,Ve)}))}switch(ze.length){case 0:return Ee?$.skip:make_node(ht,ce);case 1:return ze[0];default:return Ee?$.splice(ze):make_node(mt,ce,{body:ze})}}if(ce instanceof Tt){_e(ce,this);var qe;if(ce.init instanceof mt){qe=ce.init;ce.init=qe.body.pop();qe.body.push(ce)}if(ce.init instanceof pt){ce.init=ce.init.body}else if(is_empty(ce.init)){ce.init=null}return!qe?ce:Ee?$.splice(qe.body):qe}if(ce instanceof yt&&ce.body instanceof Tt){_e(ce,this);if(ce.body instanceof mt){var qe=ce.body;ce.body=qe.body.pop();qe.body.push(ce);return Ee?$.splice(qe.body):qe}return ce}if(ce instanceof mt){_e(ce,this);if(Ee&&ce.body.every(can_be_evicted_from_block)){return $.splice(ce.body)}return ce}if(ce instanceof Dt){const E=le;le=ce;_e(ce,this);le=E;return ce}}));N.transform(Te);function scan_ref_scoped(E,R){var j;const $=q(E);if($ instanceof sn&&!is_ref_of(E.left,qr)&&N.variables.get($.name)===(j=$.definition())){if(E instanceof kr){E.right.walk(_e);if(!j.chained&&E.left.fixed_value()===E.right){ie.set(j.id,E)}}return true}if(E instanceof sn){j=E.definition();if(!G.has(j.id)){G.set(j.id,j);if(j.orig[0]instanceof rn){const E=j.scope.is_block_scope()&&j.scope.get_defun_scope().variables.get(j.name);if(E)G.set(E.id,E)}}return true}if(E instanceof Dt){var ae=le;le=E;R();le=ae;return true}}}));Dt.DEFMETHOD("hoist_declarations",(function(E){var N=this;if(E.has_directive("use asm"))return N;if(!Array.isArray(N.body))return N;var R=E.option("hoist_funs");var j=E.option("hoist_vars");if(R||j){var $=[];var q=[];var G=new Map,ie=0,ae=0;walk(N,(E=>{if(E instanceof Dt&&E!==N)return true;if(E instanceof nr){++ae;return true}}));j=j&&ae>1;var ce=new TreeTransformer((function before(ae){if(ae!==N){if(ae instanceof dt){$.push(ae);return make_node(ht,ae)}if(R&&ae instanceof Ot&&!(ce.parent()instanceof dr)&&ce.parent()===N){q.push(ae);return make_node(ht,ae)}if(j&&ae instanceof nr&&!ae.definitions.some((E=>E.name instanceof Mt))){ae.definitions.forEach((function(E){G.set(E.name.name,E);++ie}));var le=ae.to_assignments(E);var _e=ce.parent();if(_e instanceof Et&&_e.init===ae){if(le==null){var Te=ae.definitions[0].name;return make_node(sn,Te,Te)}return le}if(_e instanceof Tt&&_e.init===ae){return le}if(!le)return make_node(ht,ae);return make_node(pt,ae,{body:le})}if(ae instanceof Dt)return ae}}));N=N.transform(ce);if(ie>0){var le=[];const E=N instanceof Pt;const R=E?N.args_as_names():null;G.forEach(((N,j)=>{if(E&&R.some((E=>E.name===N.name.name))){G.delete(j)}else{N=N.clone();N.value=null;le.push(N);G.set(j,N)}}));if(le.length>0){for(var _e=0;_eE instanceof wt||E.computed_key()))){ie(G,this);const E=new Map;const R=[];le.properties.forEach((({key:j,value:$})=>{const ie=find_scope(q);const ce=N.create_symbol(ae.CTOR,{source:ae,scope:ie,conflict_scopes:new Set([ie,...ae.definition().references.map((E=>E.scope))]),tentative_name:ae.name+"_"+j});E.set(String(j),ce.definition());R.push(make_node(sr,G,{name:ce,value:$}))}));j.set(ce.id,E);return $.splice(R)}}else if(G instanceof gr&&G.expression instanceof sn){const E=j.get(G.expression.definition().id);if(E){const N=E.get(String(get_simple_key(G.property)));const R=make_node(sn,G,{name:N.name,scope:G.expression.scope,thedef:N});R.reference({});return R}}}));return N.transform(q)}));def_optimize(pt,(function(E,N){if(N.option("side_effects")){var R=E.body;var j=R.drop_side_effect_free(N,true);if(!j){return make_node(ht,E)}if(j!==R){return make_node(pt,E,{body:j})}}return E}));def_optimize(St,(function(E,N){return N.option("loops")?make_node(Tt,E,E).optimize(N):E}));def_optimize(xt,(function(E,N){if(!N.option("loops"))return E;var R=E.condition.tail_node().evaluate(N);if(!(R instanceof st)){if(R)return make_node(Tt,E,{body:make_node(mt,E.body,{body:[E.body,make_node(pt,E.condition,{body:E.condition})]})}).optimize(N);if(!has_break_or_continue(E,N.parent())){return make_node(mt,E.body,{body:[E.body,make_node(pt,E.condition,{body:E.condition})]}).optimize(N)}}return E}));function if_break_in_loop(E,N){var R=E.body instanceof mt?E.body.body[0]:E.body;if(N.option("dead_code")&&is_break(R)){var j=[];if(E.init instanceof ct){j.push(E.init)}else if(E.init){j.push(make_node(pt,E.init,{body:E.init}))}if(E.condition){j.push(make_node(pt,E.condition,{body:E.condition}))}trim_unreachable_code(N,E.body,j);return make_node(mt,E,{body:j})}if(R instanceof Gt){if(is_break(R.body)){if(E.condition){E.condition=make_node(Tr,E.condition,{left:E.condition,operator:"&&",right:R.condition.negate(N)})}else{E.condition=R.condition.negate(N)}drop_it(R.alternative)}else if(is_break(R.alternative)){if(E.condition){E.condition=make_node(Tr,E.condition,{left:E.condition,operator:"&&",right:R.condition})}else{E.condition=R.condition}drop_it(R.body)}}return E;function is_break(E){return E instanceof $t&&N.loopcontrol_target(E)===N.self()}function drop_it(R){R=as_statement_array(R);if(E.body instanceof mt){E.body=E.body.clone();E.body.body=R.concat(E.body.body.slice(1));E.body=E.body.transform(N)}else{E.body=make_node(mt,E.body,{body:R}).transform(N)}E=if_break_in_loop(E,N)}}def_optimize(Tt,(function(E,N){if(!N.option("loops"))return E;if(N.option("side_effects")&&E.init){E.init=E.init.drop_side_effect_free(N)}if(E.condition){var R=E.condition.evaluate(N);if(!(R instanceof st)){if(R)E.condition=null;else if(!N.option("dead_code")){var j=E.condition;E.condition=make_node_from_constant(R,E.condition);E.condition=best_of_expression(E.condition.transform(N),j)}}if(N.option("dead_code")){if(R instanceof st)R=E.condition.tail_node().evaluate(N);if(!R){var $=[];trim_unreachable_code(N,E.body,$);if(E.init instanceof ct){$.push(E.init)}else if(E.init){$.push(make_node(pt,E.init,{body:E.init}))}$.push(make_node(pt,E.condition,{body:E.condition}));return make_node(mt,E,{body:$}).optimize(N)}}}return if_break_in_loop(E,N)}));def_optimize(Gt,(function(E,N){if(is_empty(E.alternative))E.alternative=null;if(!N.option("conditionals"))return E;var R=E.condition.evaluate(N);if(!N.option("dead_code")&&!(R instanceof st)){var j=E.condition;E.condition=make_node_from_constant(R,j);E.condition=best_of_expression(E.condition.transform(N),j)}if(N.option("dead_code")){if(R instanceof st)R=E.condition.tail_node().evaluate(N);if(!R){var $=[];trim_unreachable_code(N,E.body,$);$.push(make_node(pt,E.condition,{body:E.condition}));if(E.alternative)$.push(E.alternative);return make_node(mt,E,{body:$}).optimize(N)}else if(!(R instanceof st)){var $=[];$.push(make_node(pt,E.condition,{body:E.condition}));$.push(E.body);if(E.alternative){trim_unreachable_code(N,E.alternative,$)}return make_node(mt,E,{body:$}).optimize(N)}}var q=E.condition.negate(N);var G=E.condition.size();var ie=q.size();var ae=ie(E===Ee||E.expression instanceof mn)&&(E.body.length===0||aborts(E)||G.length-1===N)))){for(let E=0;EE){if(is_inert_body(G[N--])){ie++}else{break}}const ae=G.splice(R-ie,1+ie);G.splice(E+1,0,...ae);E+=ae.length}}}}for(let E=0;E=0;E--){let R=G[E].body;if(is_break(R[R.length-1],N))R.pop();if(!is_inert_body(G[E]))break}E++;if(!Ee||G.indexOf(Ee)>=E){for(let R=G.length-1;R>=E;R--){let E=G[R];if(E===Ee){Ee=null;G.pop()}else if(!E.expression.has_side_effects(N)){G.pop()}else{break}}}}e:if(Ee){let E=G.indexOf(Ee);let R=E;for(;R=0;j--){let E=G[j];if(E===Ee)continue;if(E.expression.has_side_effects(N))break}if(R>j){let N=E-1;for(;N>=0;N--){if(!is_inert_body(G[N]))break}let $=Math.max(j,N)+1;let q=E;if(j>E){q=j;G[j].body=G[R].body}else{Ee.body=G[R].body}G.splice(q+1,R-q);G.splice($,E-$)}}e:if(Ee){let R=G.findIndex((E=>!is_inert_body(E)));let j;if(R===G.length-1){let N=G[R];if(has_nested_break(E))break e;j=make_node(mt,N,{body:N.body});N.body=[]}else if(R!==-1){break e}let $=G.find((E=>E!==Ee&&E.expression.has_side_effects(N)));if(!$){return make_node(mt,E,{body:q.concat(statement(E.expression),Ee.expression?statement(Ee.expression):[],j||[])}).optimize(N)}const ie=G.indexOf(Ee);G.splice(ie,1);Ee=null;if(j){return make_node(mt,E,{body:q.concat(E,j)}).optimize(N)}}if(G.length>0){G[0].body=q.concat(G[0].body)}if(G.length==0){return make_node(mt,E,{body:q.concat(statement(E.expression))}).optimize(N)}if(G.length==1&&!has_nested_break(E)){let R=G[0];return make_node(Gt,E,{condition:make_node(Tr,E,{operator:"===",left:E.expression,right:R.expression}),body:make_node(mt,R,{body:R.body}),alternative:null}).optimize(N)}if(G.length===2&&Ee&&!has_nested_break(E)){let R=G[0]===Ee?G[1]:G[0];let j=Ee.expression&&statement(Ee.expression);if(aborts(G[0])){let $=G[0];if(is_break($.body[$.body.length-1],N)){$.body.pop()}return make_node(Gt,E,{condition:make_node(Tr,E,{operator:"===",left:E.expression,right:R.expression}),body:make_node(mt,R,{body:R.body}),alternative:make_node(mt,Ee,{body:[].concat(j||[],Ee.body)})}).optimize(N)}let $="===";let q=make_node(mt,R,{body:R.body});let ie=make_node(mt,Ee,{body:[].concat(j||[],Ee.body)});if(G[0]===Ee){$="!==";let E=ie;ie=q;q=E}return make_node(mt,E,{body:[make_node(Gt,E,{condition:make_node(Tr,E,{operator:$,left:E.expression,right:R.expression}),body:q,alternative:null})].concat(ie)}).optimize(N)}return E;function eliminate_branch(E,R){if(R&&!aborts(R)){R.body=R.body.concat(E.body)}else{trim_unreachable_code(N,E,q)}}function branches_equivalent(E,N,R){let j=E.body;let $=N.body;if(R){j=j.concat(make_node($t))}if(j.length!==$.length)return false;let q=make_node(mt,E,{body:j});let G=make_node(mt,N,{body:$});return q.equivalent_to(G)}function statement(E){return make_node(pt,E,{body:E})}function has_nested_break(E){let N=false;let R=new TreeWalker((E=>{if(N)return true;if(E instanceof Pt)return true;if(E instanceof pt)return true;if(!is_break(E,R))return;let j=R.parent();if(j instanceof Qt&&j.body[j.body.length-1]===E){return}N=true}));E.walk(R);return N}function is_break(N,R){return N instanceof $t&&R.loopcontrol_target(N)===E}function is_inert_body(E){return!aborts(E)&&!make_node(mt,E,{body:E.body}).has_side_effects(N)}}));def_optimize(Zt,(function(E,N){tighten_body(E.body,N);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(N.option("dead_code")&&E.body.every(is_empty)){var R=[];if(E.bcatch){trim_unreachable_code(N,E.bcatch,R)}if(E.bfinally)R.push(...E.bfinally.body);return make_node(mt,E,{body:R}).optimize(N)}return E}));rr.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(N){if(N.name instanceof $r){N.value=null;E.push(N)}else{walk(N.name,(R=>{if(R instanceof $r){E.push(make_node(sr,N,{name:R,value:null}))}}))}}));this.definitions=E}));rr.DEFMETHOD("to_assignments",(function(E){var N=E.option("reduce_vars");var R=[];for(const E of this.definitions){if(E.value){var j=make_node(sn,E.name,E.name);R.push(make_node(kr,E,{operator:"=",logical:false,left:j,right:E.value}));if(N)j.definition().fixed=false}else if(E.value){var $=make_node(sr,E,{name:E.name,value:E.value});var q=make_node(nr,E,{definitions:[$]});R.push(q)}const G=E.name.definition();G.eliminated++;G.replaced--}if(R.length==0)return null;return make_sequence(this,R)}));def_optimize(rr,(function(E){if(E.definitions.length==0)return make_node(ht,E);return E}));def_optimize(sr,(function(E,N){if(E.name instanceof Gr&&E.value!=null&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(lr,(function(E){return E}));function retain_top_func(E,N){return N.top_retain&&E instanceof Ot&&has_flag(E,Yn)&&E.name&&N.top_retain(E.name)}def_optimize(pr,(function(E,N){var R=E.expression;var j=R;inline_array_like_spread(E.args);var $=E.args.every((E=>!(E instanceof wt)));if(N.option("reduce_vars")&&j instanceof sn&&!has_annotation(E,In)){const E=j.fixed_value();if(!retain_top_func(E,N)){j=E}}var q=j instanceof Pt;if(q&&j.pinned())return E;if(N.option("unused")&&$&&q&&!j.uses_arguments){var G=0,ie=0;for(var ae=0,ce=E.args.length;ae=j.argnames.length;if(_e||has_flag(j.argnames[ae],$n)){var le=E.args[ae].drop_side_effect_free(N);if(le){E.args[G++]=le}else if(!_e){E.args[G++]=make_node(hn,E.args[ae],{value:0});continue}}else{E.args[G++]=E.args[ae]}ie=G}E.args.length=ie}if(N.option("unsafe")){if(R instanceof hr&&R.start.value==="Array"&&R.property==="from"&&E.args.length===1){const[R]=E.args;if(R instanceof Dr){return make_node(Dr,R,{elements:R.elements}).optimize(N)}}if(is_undeclared_ref(R))switch(R.name){case"Array":if(E.args.length!=1){return make_node(Dr,E,{elements:E.args}).optimize(N)}else if(E.args[0]instanceof hn&&E.args[0].value<=11){const N=[];for(let R=0;R=1&&E.args.length<=2&&E.args.every((E=>{var R=E.evaluate(N);Te.push(R);return E!==R}))){let[R,j]=Te;R=regexp_source_fix(new RegExp(R).source);const $=make_node(yn,E,{value:{source:R,flags:j}});if($._eval(N)!==$){return $}}break}else if(R instanceof hr)switch(R.property){case"toString":if(E.args.length==0&&!R.expression.may_throw_on_access(N)){return make_node(Tr,E,{left:make_node(gn,E,{value:""}),operator:"+",right:R.expression}).optimize(N)}break;case"join":if(R.expression instanceof Dr)e:{var Ee;if(E.args.length>0){Ee=E.args[0].evaluate(N);if(Ee===E.args[0])break e}var we=[];var Ie=[];for(var ae=0,ce=R.expression.elements.length;ae0){we.push(make_node(gn,E,{value:Ie.join(Ee)}));Ie.length=0}we.push(Ne)}}if(Ie.length>0){we.push(make_node(gn,E,{value:Ie.join(Ee)}))}if(we.length==0)return make_node(gn,E,{value:""});if(we.length==1){if(we[0].is_string(N)){return we[0]}return make_node(Tr,we[0],{operator:"+",left:make_node(gn,E,{value:""}),right:we[0]})}if(Ee==""){var Le;if(we[0].is_string(N)||we[1].is_string(N)){Le=we.shift()}else{Le=make_node(gn,E,{value:""})}return we.reduce((function(E,N){return make_node(Tr,N,{operator:"+",left:E,right:N})}),Le).optimize(N)}var le=E.clone();le.expression=le.expression.clone();le.expression.expression=le.expression.expression.clone();le.expression.expression.elements=we;return best_of(N,E,le)}break;case"charAt":if(R.expression.is_string(N)){var Be=E.args[0];var je=Be?Be.evaluate(N):0;if(je!==Be){return make_node(yr,R,{expression:R.expression,property:make_node_from_constant(je|0,Be||R)}).optimize(N)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof Dr){var Ue=E.args[1].elements.slice();Ue.unshift(E.args[0]);return make_node(pr,E,{expression:make_node(hr,R,{expression:R.expression,optional:false,property:"call"}),args:Ue}).optimize(N)}break;case"call":var ze=R.expression;if(ze instanceof sn){ze=ze.fixed_value()}if(ze instanceof Pt&&!ze.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(pr,E,{expression:R.expression,args:E.args.slice(1)})]):make_node(pr,E,{expression:R.expression,args:[]})).optimize(N)}break}}if(N.option("unsafe_Function")&&is_undeclared_ref(R)&&R.name=="Function"){if(E.args.length==0)return make_node(Nt,E,{argnames:[],body:[]}).optimize(N);var We=N.mangle_options&&N.mangle_options.nth_identifier||zn;if(E.args.every((E=>E instanceof gn))){try{var Je="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var Ve=parse(Je);var qe={ie8:N.option("ie8"),nth_identifier:We};Ve.figure_out_scope(qe);var He=new Compressor(N.options,{mangle_options:N.mangle_options});Ve=Ve.transform(He);Ve.figure_out_scope(qe);Ve.compute_char_frequency(qe);Ve.mangle_names(qe);var Ge;walk(Ve,(E=>{if(is_func_expr(E)){Ge=E;return An}}));var Je=OutputStream();mt.prototype._codegen.call(Ge,Ge,Je);E.args=[make_node(gn,E,{value:Ge.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(gn,E.args[E.args.length-1],{value:Je.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Ke=q&&j.body[0];var Qe=q&&!j.is_generator&&!j.async;var Xe=Qe&&N.option("inline")&&!E.is_callee_pure(N);if(Xe&&Ke instanceof zt){let R=Ke.value;if(!R||R.is_constant_expression()){if(R){R=R.clone(true)}else{R=make_node(Sn,E)}const j=E.args.concat(R);return make_sequence(E,j).optimize(N)}if(j.argnames.length===1&&j.argnames[0]instanceof Kr&&E.args.length<2&&R instanceof sn&&R.name===j.argnames[0].name){const R=(E.args[0]||make_node(Sn)).optimize(N);let j;if(R instanceof gr&&(j=N.parent())instanceof pr&&j.expression===E){return make_sequence(E,[make_node(hn,E,{value:0}),R])}return R}}if(Xe){var Ye,Ze,et=-1;let q;let G;let ie;if($&&!j.uses_arguments&&!(N.parent()instanceof Lr)&&!(j.name&&j instanceof Nt)&&(G=can_flatten_body(Ke))&&(R===j||has_annotation(E,Pn)||N.option("unused")&&(q=R.definition()).references.length==1&&!is_recursive_ref(N,q)&&j.is_constant_expression(R.scope))&&!has_annotation(E,wn|In)&&!j.contains_this()&&can_inject_symbols()&&(ie=find_scope(N))&&!scope_encloses_variables_in_this_scope(ie,j)&&!function in_default_assign(){let E=0;let R;while(R=N.parent(E++)){if(R instanceof Cr)return true;if(R instanceof ft)break}return false}()&&!(Ye instanceof Lr)){set_flag(j,Qn);ie.add_child_scope(j);return make_sequence(E,flatten_fn(G)).optimize(N)}}if(Xe&&has_annotation(E,Pn)){set_flag(j,Qn);j=make_node(j.CTOR===Ot?Nt:j.CTOR,j,j);j=j.clone(true);j.figure_out_scope({},{parent_scope:find_scope(N),toplevel:N.get_toplevel()});return make_node(pr,E,{expression:j,args:E.args}).optimize(N)}const tt=Qe&&N.option("side_effects")&&j.body.every(is_empty);if(tt){var Ue=E.args.concat(make_node(Sn,E));return make_sequence(E,Ue).optimize(N)}if(N.option("negate_iife")&&N.parent()instanceof pt&&is_iife_call(E)){return E.negate(N,true)}var rt=E.evaluate(N);if(rt!==E){rt=make_node_from_constant(rt,E).optimize(N);return best_of(N,rt,E)}return E;function return_value(N){if(!N)return make_node(Sn,E);if(N instanceof zt){if(!N.value)return make_node(Sn,E);return N.value.clone(true)}if(N instanceof pt){return make_node(xr,N,{operator:"void",expression:N.body.clone(true)})}}function can_flatten_body(E){var R=j.body;var $=R.length;if(N.option("inline")<3){return $==1&&return_value(E)}E=null;for(var q=0;q<$;q++){var G=R[q];if(G instanceof nr){if(E&&!G.definitions.every((E=>!E.value))){return false}}else if(E){return false}else if(!(G instanceof ht)){E=G}}return return_value(E)}function can_inject_args(E,N){for(var R=0,$=j.argnames.length;R<$;R++){var q=j.argnames[R];if(q instanceof Cr){if(has_flag(q.left,$n))continue;return false}if(q instanceof Mt)return false;if(q instanceof wt){if(has_flag(q.expression,$n))continue;return false}if(has_flag(q,$n))continue;if(!N||E.has(q.name)||Jn.has(q.name)||Ye.conflicting_def(q.name)){return false}if(Ze)Ze.push(q.definition())}return true}function can_inject_vars(E,N){var R=j.body.length;for(var $=0;$=0;){var ie=q.definitions[G].name;if(ie instanceof Mt||E.has(ie.name)||Jn.has(ie.name)||Ye.conflicting_def(ie.name)){return false}if(Ze)Ze.push(ie.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Ye=N.parent(++et);if(Ye.is_block_scope()&&Ye.block_scope){Ye.block_scope.variables.forEach((function(N){E.add(N.name)}))}if(Ye instanceof er){if(Ye.argname){E.add(Ye.argname.name)}}else if(Ye instanceof vt){Ze=[]}else if(Ye instanceof sn){if(Ye.fixed_value()instanceof Dt)return false}}while(!(Ye instanceof Dt));var R=!(Ye instanceof At)||N.toplevel.vars;var $=N.option("inline");if(!can_inject_vars(E,$>=3&&R))return false;if(!can_inject_args(E,$>=2&&R))return false;return!Ze||Ze.length==0||!is_reachable(j,Ze)}function append_var(N,R,j,$){var q=j.definition();const G=Ye.variables.has(j.name);if(!G){Ye.variables.set(j.name,q);Ye.enclosed.push(q);N.push(make_node(sr,j,{name:j,value:null}))}var ie=make_node(sn,j,j);q.references.push(ie);if($)R.push(make_node(kr,E,{operator:"=",logical:false,left:ie,right:$.clone()}))}function flatten_args(N,R){var $=j.argnames.length;for(var q=E.args.length;--q>=$;){R.push(E.args[q])}for(q=$;--q>=0;){var G=j.argnames[q];var ie=E.args[q];if(has_flag(G,$n)||!G.name||Ye.conflicting_def(G.name)){if(ie)R.push(ie)}else{var ae=make_node(Vr,G,G);G.definition().orig.push(ae);if(!ie&&Ze)ie=make_node(Sn,E);append_var(N,R,ae,ie)}}N.reverse();R.reverse()}function flatten_vars(E,N){var R=N.length;for(var $=0,q=j.body.length;$E.name!=le.name))){var _e=j.variables.get(le.name);var Te=make_node(sn,le,le);_e.references.push(Te);N.splice(R++,0,make_node(kr,ce,{operator:"=",logical:false,left:Te,right:make_node(Sn,le)}))}}}}function flatten_fn(E){var R=[];var $=[];flatten_args(R,$);flatten_vars(R,$);$.push(E);if(R.length){const E=Ye.body.indexOf(N.parent(et-1))+1;Ye.body.splice(E,0,make_node(nr,j,{definitions:R}))}return $.map((E=>E.clone(true)))}}));def_optimize(fr,(function(E,N){if(N.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(pr,E,E).transform(N);return E}));def_optimize(mr,(function(E,N){if(!N.option("side_effects"))return E;var R=[];filter_for_side_effects();var j=R.length-1;trim_right_for_undefined();if(j==0){E=maintain_this_binding(N.parent(),N.self(),R[0]);if(!(E instanceof mr))E=E.optimize(N);return E}E.expressions=R;return E;function filter_for_side_effects(){var j=first_in_statement(N);var $=E.expressions.length-1;E.expressions.forEach((function(E,q){if(q<$)E=E.drop_side_effect_free(N,j);if(E){merge_sequence(R,E);j=false}}))}function trim_right_for_undefined(){while(j>0&&is_undefined(R[j],N))j--;if(j0){var R=this.clone();R.right=make_sequence(this.right,N.slice(q));N=N.slice(0,q);N.push(R);return make_sequence(this,N).optimize(E)}}}return this}));var vi=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof Dr||E instanceof Pt||E instanceof Ar||E instanceof Lr}def_optimize(Tr,(function(E,N){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(N)&&!E.right.has_side_effects(N)}function reverse(N){if(reversible()){if(N)E.operator=N;var R=E.left;E.left=E.right;E.right=R}}if(vi.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof Tr&&tt[E.left.operator]>=tt[E.operator])){reverse()}}}E=E.lift_sequences(N);if(N.option("comparisons"))switch(E.operator){case"===":case"!==":var R=true;if(E.left.is_string(N)&&E.right.is_string(N)||E.left.is_number(N)&&E.right.is_number(N)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!R&&is_undefined(E.left,N)){E.left=make_node(bn,E.left)}else if(N.option("typeofs")&&E.left instanceof gn&&E.left.value=="undefined"&&E.right instanceof xr&&E.right.operator=="typeof"){var j=E.right.expression;if(j instanceof sn?j.is_declared(N):!(j instanceof gr&&N.option("ie8"))){E.right=j;E.left=make_node(Sn,E.left).optimize(N);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof sn&&E.right instanceof sn&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?Dn:Cn,E)}break;case"&&":case"||":var $=E.left;if($.operator==E.operator){$=$.right}if($ instanceof Tr&&$.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof Tr&&$.operator==E.right.operator&&(is_undefined($.left,N)&&E.right.left instanceof bn||$.left instanceof bn&&is_undefined(E.right.left,N))&&!$.right.has_side_effects(N)&&$.right.equivalent_to(E.right.right)){var q=make_node(Tr,E,{operator:$.operator.slice(0,-1),left:make_node(bn,E),right:$.right});if($!==E.left){q=make_node(Tr,E,{operator:E.operator,left:E.left.left,right:q})}return q}break}if(E.operator=="+"&&N.in_boolean_context()){var G=E.left.evaluate(N);var ie=E.right.evaluate(N);if(G&&typeof G=="string"){return make_sequence(E,[E.right,make_node(Dn,E)]).optimize(N)}if(ie&&typeof ie=="string"){return make_sequence(E,[E.left,make_node(Dn,E)]).optimize(N)}}if(N.option("comparisons")&&E.is_boolean()){if(!(N.parent()instanceof Tr)||N.parent()instanceof kr){var ae=make_node(xr,E,{operator:"!",expression:E.negate(N,first_in_statement(N))});E=best_of(N,E,ae)}if(N.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof gn&&E.right.getValue()==""&&E.left.is_string(N)){return E.left}if(E.left instanceof gn&&E.left.getValue()==""&&E.right.is_string(N)){return E.right}if(E.left instanceof Tr&&E.left.operator=="+"&&E.left.left instanceof gn&&E.left.left.getValue()==""&&E.right.is_string(N)){E.left=E.left.right;return E}}if(N.option("evaluate")){switch(E.operator){case"&&":var G=has_flag(E.left,Vn)?true:has_flag(E.left,qn)?false:E.left.evaluate(N);if(!G){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}else if(!(G instanceof st)){return make_sequence(E,[E.left,E.right]).optimize(N)}var ie=E.right.evaluate(N);if(!ie){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(Cn,E)]).optimize(N)}else{set_flag(E,qn)}}else if(!(ie instanceof st)){var ce=N.parent();if(ce.operator=="&&"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}if(E.left.operator=="||"){var le=E.left.right.evaluate(N);if(!le)return make_node(Er,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(N)}break;case"||":var G=has_flag(E.left,Vn)?true:has_flag(E.left,qn)?false:E.left.evaluate(N);if(!G){return make_sequence(E,[E.left,E.right]).optimize(N)}else if(!(G instanceof st)){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}var ie=E.right.evaluate(N);if(!ie){var ce=N.parent();if(ce.operator=="||"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}else if(!(ie instanceof st)){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(Dn,E)]).optimize(N)}else{set_flag(E,Vn)}}if(E.left.operator=="&&"){var le=E.left.right.evaluate(N);if(le&&!(le instanceof st))return make_node(Er,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(N)}break;case"??":if(is_nullish(E.left,N)){return E.right}var G=E.left.evaluate(N);if(!(G instanceof st)){return G==null?E.right:E.left}if(N.in_boolean_context()){const R=E.right.evaluate(N);if(!(R instanceof st)&&!R){return E.left}}}var _e=true;switch(E.operator){case"+":if(E.right instanceof mn&&E.left instanceof Tr&&E.left.operator=="+"&&E.left.is_string(N)){var Te=make_node(Tr,E,{operator:"+",left:E.left.right,right:E.right});var Ee=Te.optimize(N);if(Te!==Ee){E=make_node(Tr,E,{operator:"+",left:E.left.left,right:Ee})}}if(E.left instanceof Tr&&E.left.operator=="+"&&E.left.is_string(N)&&E.right instanceof Tr&&E.right.operator=="+"&&E.right.is_string(N)){var Te=make_node(Tr,E,{operator:"+",left:E.left.right,right:E.right.left});var we=Te.optimize(N);if(Te!==we){E=make_node(Tr,E,{operator:"+",left:make_node(Tr,E.left,{operator:"+",left:E.left.left,right:we}),right:E.right.right})}}if(E.right instanceof xr&&E.right.operator=="-"&&E.left.is_number(N)){E=make_node(Tr,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof xr&&E.left.operator=="-"&&reversible()&&E.right.is_number(N)){E=make_node(Tr,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Lt){var Ie=E.left;var Ee=E.right.evaluate(N);if(Ee!=E.right){Ie.segments[Ie.segments.length-1].value+=String(Ee);return Ie}}if(E.right instanceof Lt){var Ee=E.right;var Ie=E.left.evaluate(N);if(Ie!=E.left){Ee.segments[0].value=String(Ie)+Ee.segments[0].value;return Ee}}if(E.left instanceof Lt&&E.right instanceof Lt){var Ie=E.left;var Ne=Ie.segments;var Ee=E.right;Ne[Ne.length-1].value+=Ee.segments[0].value;for(var Me=1;Me=tt[E.operator])){var Le=make_node(Tr,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof mn&&!(E.left instanceof mn)){E=best_of(N,Le,E)}else{E=best_of(N,E,Le)}}if(_e&&E.is_number(N)){if(E.right instanceof Tr&&E.right.operator==E.operator){E=make_node(Tr,E,{operator:E.operator,left:make_node(Tr,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof mn&&E.left instanceof Tr&&E.left.operator==E.operator){if(E.left.left instanceof mn){E=make_node(Tr,E,{operator:E.operator,left:make_node(Tr,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof mn){E=make_node(Tr,E,{operator:E.operator,left:make_node(Tr,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof Tr&&E.left.operator==E.operator&&E.left.right instanceof mn&&E.right instanceof Tr&&E.right.operator==E.operator&&E.right.left instanceof mn){E=make_node(Tr,E,{operator:E.operator,left:make_node(Tr,E.left,{operator:E.operator,left:make_node(Tr,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof Tr&&E.right.operator==E.operator&&(ai.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(N)||E.left.is_string(N)&&E.right.right.is_string(N)))){E.left=make_node(Tr,E.left,{operator:E.operator,left:E.left.transform(N),right:E.right.left.transform(N)});E.right=E.right.right.transform(N);return E.transform(N)}var Be=E.evaluate(N);if(Be!==E){Be=make_node_from_constant(Be,E).optimize(N);return best_of(N,Be,E)}return E}));def_optimize(cn,(function(E){return E}));function within_array_or_object_literal(E){var N,R=0;while(N=E.parent(R++)){if(N instanceof ct)return false;if(N instanceof Dr||N instanceof Pr||N instanceof Ar){return true}}return false}def_optimize(sn,(function(E,N){if(!N.option("ie8")&&is_undeclared_ref(E)&&!N.find_parent(Ct)){switch(E.name){case"undefined":return make_node(Sn,E).optimize(N);case"NaN":return make_node(xn,E).optimize(N);case"Infinity":return make_node(En,E).optimize(N)}}const R=N.parent();if(N.option("reduce_vars")&&is_lhs(E,R)!==E){const q=E.definition();const G=find_scope(N);if(N.top_retain&&q.global&&N.top_retain(q)){q.fixed=false;q.single_use=false;return E}let ie=E.fixed_value();let ae=q.single_use&&!(R instanceof pr&&R.is_callee_pure(N)||has_annotation(R,In))&&!(R instanceof dr&&ie instanceof Pt&&ie.name);if(ae&&ie instanceof st){ae=!ie.has_side_effects(N)&&!ie.may_throw(N)}if(ae&&(ie instanceof Pt||ie instanceof Lr)){if(retain_top_func(ie,N)){ae=false}else if(q.scope!==E.scope&&(q.escaped==1||has_flag(ie,Gn)||within_array_or_object_literal(N)||!N.option("reduce_funcs"))){ae=false}else if(is_recursive_ref(N,q)){ae=false}else if(q.scope!==E.scope||q.orig[0]instanceof Kr){ae=ie.is_constant_expression(E.scope);if(ae=="f"){var j=E.scope;do{if(j instanceof Ot||is_func_expr(j)){set_flag(j,Gn)}}while(j=j.parent_scope)}}}if(ae&&ie instanceof Pt){ae=q.scope===E.scope&&!scope_encloses_variables_in_this_scope(G,ie)||R instanceof pr&&R.expression===E&&!scope_encloses_variables_in_this_scope(G,ie)&&!(ie.name&&ie.name.definition().recursive_refs>0)}if(ae&&ie){if(ie instanceof Ur){set_flag(ie,Qn);ie=make_node(zr,ie,ie)}if(ie instanceof Ot){set_flag(ie,Qn);ie=make_node(Nt,ie,ie)}if(q.recursive_refs>0&&ie.name instanceof Qr){const E=ie.name.definition();let N=ie.variables.get(ie.name.name);let R=N&&N.orig[0];if(!(R instanceof Zr)){R=make_node(Zr,ie.name,ie.name);R.scope=ie;ie.name=R;N=ie.def_function(R)}walk(ie,(R=>{if(R instanceof sn&&R.definition()===E){R.thedef=N;N.references.push(R)}}))}if((ie instanceof Pt||ie instanceof Lr)&&ie.parent_scope!==G){ie=ie.clone(true,N.get_toplevel());G.add_child_scope(ie)}return ie.optimize(N)}if(ie){let R;if(ie instanceof dn){if(!(q.orig[0]instanceof Kr)&&q.references.every((E=>q.scope===E.scope))){R=ie}}else{var $=ie.evaluate(N);if($!==ie&&(N.option("unsafe_regexp")||!($ instanceof RegExp))){R=make_node_from_constant($,ie)}}if(R){const j=E.size(N);const $=R.size(N);let G=0;if(N.option("unused")&&!N.exposed(q)){G=(j+2+$)/(q.references.length-q.assignments)}if($<=j+G){return R}}}}return E}));function scope_encloses_variables_in_this_scope(E,N){for(const R of N.enclosed){if(N.variables.has(R.name)){continue}const j=E.find_variable(R.name);if(j){if(j===R)continue;return true}}return false}function is_atomic(E,N){return E instanceof sn||E.TYPE===N.TYPE}def_optimize(Sn,(function(E,N){if(N.option("unsafe_undefined")){var R=find_variable(N,"undefined");if(R){var j=make_node(sn,E,{name:"undefined",scope:R.scope,thedef:R});set_flag(j,Hn);return j}}var $=is_lhs(N.self(),N.parent());if($&&is_atomic($,E))return E;return make_node(xr,E,{operator:"void",expression:make_node(hn,E,{value:0})})}));def_optimize(En,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&is_atomic(R,E))return E;if(N.option("keep_infinity")&&!(R&&!is_atomic(R,E))&&!find_variable(N,"Infinity")){return E}return make_node(Tr,E,{operator:"/",left:make_node(hn,E,{value:1}),right:make_node(hn,E,{value:0})})}));def_optimize(xn,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&!is_atomic(R,E)||find_variable(N,"NaN")){return make_node(Tr,E,{operator:"/",left:make_node(hn,E,{value:0}),right:make_node(hn,E,{value:0})})}return E}));function is_reachable(E,N){const find_ref=E=>{if(E instanceof sn&&member(E.definition(),N)){return An}};return walk_parent(E,((N,R)=>{if(N instanceof Dt&&N!==E){var j=R.parent();if(j instanceof pr&&j.expression===N&&!(N.async||N.is_generator)){return}if(walk(N,find_ref))return An;return true}}))}const bi=makePredicate("+ - / * % >> << >>> | ^ &");const xi=makePredicate("* | ^ &");def_optimize(kr,(function(E,N){if(E.logical){return E.lift_sequences(N)}var R;if(N.option("dead_code")&&E.left instanceof sn&&(R=E.left.definition()).scope===N.find_parent(Pt)){var j=0,$,q=E;do{$=q;q=N.parent(j++);if(q instanceof Ut){if(in_try(j,q))break;if(is_reachable(R.scope,[R]))break;if(E.operator=="=")return E.right;R.fixed=false;return make_node(Tr,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(N)}}while(q instanceof Tr&&q.right===$||q instanceof mr&&q.tail_node()===$)}E=E.lift_sequences(N);if(E.operator=="="&&E.left instanceof sn&&E.right instanceof Tr){if(E.right.left instanceof sn&&E.right.left.name==E.left.name&&bi.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof sn&&E.right.right.name==E.left.name&&xi.has(E.right.operator)&&!E.right.left.has_side_effects(N)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(R,j){var $=E.right;E.right=make_node(bn,$);var q=j.may_throw(N);E.right=$;var G=E.left.definition().scope;var ie;while((ie=N.parent(R++))!==G){if(ie instanceof Zt){if(ie.bfinally)return true;if(q&&ie.bcatch)return true}}}}));def_optimize(Cr,(function(E,N){if(!N.option("evaluate")){return E}var R=E.right.evaluate(N);if(R===undefined){E=E.left}else if(R!==E.right){R=make_node_from_constant(R,E.right);E.right=best_of_expression(R,E.right)}return E}));function is_nullish_check(E,N,R){if(N.may_throw(R))return false;let j;if(E instanceof Tr&&E.operator==="=="&&((j=is_nullish(E.left,R)&&E.left)||(j=is_nullish(E.right,R)&&E.right))&&(j===E.left?E.right:E.left).equivalent_to(N)){return true}if(E instanceof Tr&&E.operator==="||"){let j;let $;const find_comparison=E=>{if(!(E instanceof Tr&&(E.operator==="==="||E.operator==="=="))){return false}let q=0;let G;if(E.left instanceof bn){q++;j=E;G=E.right}if(E.right instanceof bn){q++;j=E;G=E.left}if(is_undefined(E.left,R)){q++;$=E;G=E.right}if(is_undefined(E.right,R)){q++;$=E;G=E.left}if(q!==1){return false}if(!G.equivalent_to(N)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if(j&&$&&j!==$){return true}}return false}def_optimize(Er,(function(E,N){if(!N.option("conditionals"))return E;if(E.condition instanceof mr){var R=E.condition.expressions.slice();E.condition=R.pop();R.push(E);return make_sequence(E,R)}var j=E.condition.evaluate(N);if(j!==E.condition){if(j){return maintain_this_binding(N.parent(),N.self(),E.consequent)}else{return maintain_this_binding(N.parent(),N.self(),E.alternative)}}var $=j.negate(N,first_in_statement(N));if(best_of(N,j,$)===$){E=make_node(Er,E,{condition:$,consequent:E.alternative,alternative:E.consequent})}var q=E.condition;var G=E.consequent;var ie=E.alternative;if(q instanceof sn&&G instanceof sn&&q.definition()===G.definition()){return make_node(Tr,E,{operator:"||",left:q,right:ie})}if(G instanceof kr&&ie instanceof kr&&G.operator===ie.operator&&G.logical===ie.logical&&G.left.equivalent_to(ie.left)&&(!E.condition.has_side_effects(N)||G.operator=="="&&!G.left.has_side_effects(N))){return make_node(kr,E,{operator:G.operator,left:G.left,logical:G.logical,right:make_node(Er,E,{condition:E.condition,consequent:G.right,alternative:ie.right})})}var ae;if(G instanceof pr&&ie.TYPE===G.TYPE&&G.args.length>0&&G.args.length==ie.args.length&&G.expression.equivalent_to(ie.expression)&&!E.condition.has_side_effects(N)&&!G.expression.has_side_effects(N)&&typeof(ae=single_arg_diff())=="number"){var ce=G.clone();ce.args[ae]=make_node(Er,E,{condition:E.condition,consequent:G.args[ae],alternative:ie.args[ae]});return ce}if(ie instanceof Er&&G.equivalent_to(ie.consequent)){return make_node(Er,E,{condition:make_node(Tr,E,{operator:"||",left:q,right:ie.condition}),consequent:G,alternative:ie.alternative}).optimize(N)}if(N.option("ecma")>=2020&&is_nullish_check(q,ie,N)){return make_node(Tr,E,{operator:"??",left:ie,right:G}).optimize(N)}if(ie instanceof mr&&G.equivalent_to(ie.expressions[ie.expressions.length-1])){return make_sequence(E,[make_node(Tr,E,{operator:"||",left:q,right:make_sequence(E,ie.expressions.slice(0,-1))}),G]).optimize(N)}if(ie instanceof Tr&&ie.operator=="&&"&&G.equivalent_to(ie.right)){return make_node(Tr,E,{operator:"&&",left:make_node(Tr,E,{operator:"||",left:q,right:ie.left}),right:G}).optimize(N)}if(G instanceof Er&&G.alternative.equivalent_to(ie)){return make_node(Er,E,{condition:make_node(Tr,E,{left:E.condition,operator:"&&",right:G.condition}),consequent:G.consequent,alternative:ie})}if(G.equivalent_to(ie)){return make_sequence(E,[E.condition,G]).optimize(N)}if(G instanceof Tr&&G.operator=="||"&&G.right.equivalent_to(ie)){return make_node(Tr,E,{operator:"||",left:make_node(Tr,E,{operator:"&&",left:E.condition,right:G.left}),right:ie}).optimize(N)}const le=N.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(Tr,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(N))}return make_node(Tr,E,{operator:"&&",left:booleanize(E.condition.negate(N)),right:E.alternative})}if(is_true(E.alternative)){return make_node(Tr,E,{operator:"||",left:booleanize(E.condition.negate(N)),right:E.consequent})}if(is_false(E.alternative)){return make_node(Tr,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(xr,E,{operator:"!",expression:E.negate(N)})}function is_true(E){return E instanceof Dn||le&&E instanceof mn&&E.getValue()||E instanceof xr&&E.operator=="!"&&E.expression instanceof mn&&!E.expression.getValue()}function is_false(E){return E instanceof Cn||le&&E instanceof mn&&!E.getValue()||E instanceof xr&&E.operator=="!"&&E.expression instanceof mn&&E.expression.getValue()}function single_arg_diff(){var E=G.args;var N=ie.args;for(var R=0,j=E.length;R=2015;var j=this.expression;if(j instanceof Ar){var $=j.properties;for(var q=$.length;--q>=0;){var G=$[q];if(""+(G instanceof Mr?G.key.name:G.key)==E){const E=$.every((E=>(E instanceof Pr||R&&E instanceof Mr&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(G.value,N))return;return make_node(yr,this,{expression:make_node(Dr,j,{elements:$.map((function(E){var N=E.value;if(N instanceof It){N=make_node(Nt,N,N)}var R=E.key;if(R instanceof st&&!(R instanceof Xr)){return make_sequence(E,[R,N])}return N}))}),property:make_node(hn,this,{value:q})})}}}}));def_optimize(yr,(function(E,N){var R=E.expression;var j=E.property;if(N.option("properties")){var $=j.evaluate(N);if($!==j){if(typeof $=="string"){if($=="undefined"){$=undefined}else{var q=parseFloat($);if(q.toString()==$){$=q}}}j=E.property=best_of_expression(j,make_node_from_constant($,j).transform(N));var G=""+$;if(is_basic_identifier_string(G)&&G.length<=j.size()+1){return make_node(hr,E,{expression:R,optional:E.optional,property:G,quote:j.quote}).optimize(N)}}}var ie;e:if(N.option("arguments")&&R instanceof sn&&R.name=="arguments"&&R.definition().orig.length==1&&(ie=R.scope)instanceof Pt&&ie.uses_arguments&&!(ie instanceof Ft)&&j instanceof hn){var ae=j.getValue();var ce=new Set;var le=ie.argnames;for(var _e=0;_e1){Ee=null}}else if(!Ee&&!N.option("keep_fargs")&&ae=ie.argnames.length){Ee=ie.create_symbol(Kr,{source:ie,scope:ie,tentative_name:"argument_"+ie.argnames.length});ie.argnames.push(Ee)}}if(Ee){var Ie=make_node(sn,E,Ee);Ie.reference({});clear_flag(Ee,$n);return Ie}}if(is_lhs(E,N.parent()))return E;if($!==j){var Ne=E.flatten_object(G,N);if(Ne){R=E.expression=Ne.expression;j=E.property=Ne.property}}if(N.option("properties")&&N.option("side_effects")&&j instanceof hn&&R instanceof Dr){var ae=j.getValue();var Me=R.elements;var Le=Me[ae];e:if(safe_to_flatten(Le,N)){var Be=true;var je=[];for(var Ue=Me.length;--Ue>ae;){var q=Me[Ue].drop_side_effect_free(N);if(q){je.unshift(q);if(Be&&q.has_side_effects(N))Be=false}}if(Le instanceof wt)break e;Le=Le instanceof Tn?make_node(Sn,Le):Le;if(!Be)je.unshift(Le);while(--Ue>=0){var q=Me[Ue];if(q instanceof wt)break e;q=q.drop_side_effect_free(N);if(q)je.unshift(q);else ae--}if(Be){je.push(Le);return make_sequence(E,je).optimize(N)}else return make_node(yr,E,{expression:make_node(Dr,R,{elements:je}),property:make_node(hn,j,{value:ae})})}}var ze=E.evaluate(N);if(ze!==E){ze=make_node_from_constant(ze,E).optimize(N);return best_of(N,ze,E)}return E}));def_optimize(vr,(function(E,N){if(is_nullish(E.expression,N)){let R=N.parent();if(R instanceof xr&&R.operator==="delete"){return make_node_from_constant(0,E)}return make_node(Sn,E)}return E}));Pt.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof dn)return An;if(E!==this&&E instanceof Dt&&!(E instanceof Ft)){return true}}))}));def_optimize(hr,(function(E,N){const R=N.parent();if(is_lhs(E,R))return E;if(N.option("unsafe_proto")&&E.expression instanceof hr&&E.expression.property=="prototype"){var j=E.expression.expression;if(is_undeclared_ref(j))switch(j.name){case"Array":E.expression=make_node(Dr,E.expression,{elements:[]});break;case"Function":E.expression=make_node(Nt,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(hn,E.expression,{value:0});break;case"Object":E.expression=make_node(Ar,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(yn,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(gn,E.expression,{value:""});break}}if(!(R instanceof pr)||!has_annotation(R,In)){const R=E.flatten_object(E.property,N);if(R)return R.optimize(N)}let $=E.evaluate(N);if($!==E){$=make_node_from_constant($,E).optimize(N);return best_of(N,$,E)}return E}));function literals_in_boolean_context(E,N){if(N.in_boolean_context()){return best_of(N,E,make_sequence(E,[E,make_node(Dn,E)]).optimize(N))}return E}function inline_array_like_spread(E){for(var N=0;NE instanceof Tn))){E.splice(N,1,...j.elements);N--}}}}def_optimize(Dr,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,N){for(var R=0;RE instanceof Pr))){E.splice(R,1,...$.properties);R--}else if($ instanceof mn&&!($ instanceof gn)){E.splice(R,1);R--}else if(is_nullish($,N)){E.splice(R,1);R--}}}}def_optimize(Ar,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_object_prop_spread(E.properties,N);return E}));def_optimize(yn,literals_in_boolean_context);def_optimize(zt,(function(E,N){if(E.value&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(Ft,opt_AST_Lambda);def_optimize(Nt,(function(E,N){E=opt_AST_Lambda(E,N);if(N.option("unsafe_arrows")&&N.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const R=walk(E,(E=>{if(E instanceof dn)return An}));if(!R)return make_node(Ft,E,E).optimize(N)}return E}));def_optimize(Lr,(function(E){return E}));def_optimize(Ht,(function(E,N){if(E.expression&&!E.is_star&&is_undefined(E.expression,N)){E.expression=null}return E}));def_optimize(Lt,(function(E,N){if(!N.option("evaluate")||N.parent()instanceof Rt){return E}var R=[];for(var j=0;j=2015&&(!(R instanceof RegExp)||R.test(E.key+""))){var j=E.key;var $=E.value;var q=$ instanceof Ft&&Array.isArray($.body)&&!$.contains_this();if((q||$ instanceof Nt)&&!$.name){return make_node(Mr,E,{async:$.async,is_generator:$.is_generator,key:j instanceof st?j:make_node(Xr,E,{name:j}),value:make_node(It,$,$),quote:E.quote})}}return E}));def_optimize(Mt,(function(E,N){if(N.option("pure_getters")==true&&N.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(N)&&!(E.names[E.names.length-1]instanceof wt)){var R=[];for(var j=0;j_e.add(E)));var Te=!!N.keep_quoted;E.walk(new TreeWalker((function(E){if(E instanceof jr||E instanceof Rr||E instanceof Nr||E instanceof Ir||E instanceof _r);else if(E instanceof Pr){if(typeof E.key=="string"&&(!Te||!E.quote)){add(E.key)}}else if(E instanceof wr){if(!Te||!E.quote){add(E.key.name)}}else if(E instanceof hr){var R=!!N.undeclared;if(!R){var j=E;while(j.expression){j=j.expression}R=!(j.thedef&&j.thedef.undeclared)}if(R&&(!Te||!E.quote)){add(E.property)}}else if(E instanceof yr){if(!Te){addStrings(E.property,add)}}else if(E instanceof pr&&E.expression.print_to_string()=="Object.defineProperty"){addStrings(E.args[1],add)}else if(E instanceof Tr&&E.operator==="in"){addStrings(E.left,add)}})));return E.transform(new TreeTransformer((function(E){if(E instanceof jr||E instanceof Rr||E instanceof Nr||E instanceof Ir||E instanceof _r);else if(E instanceof Pr){if(typeof E.key=="string"&&(!Te||!E.quote)){E.key=mangle(E.key)}}else if(E instanceof wr){if(!Te||!E.quote){E.key.name=mangle(E.key.name)}}else if(E instanceof hr){if(!Te||!E.quote){E.property=mangle(E.property)}}else if(!Te&&E instanceof yr){E.property=mangleStrings(E.property)}else if(E instanceof pr&&E.expression.print_to_string()=="Object.defineProperty"){E.args[1]=mangleStrings(E.args[1])}else if(E instanceof Tr&&E.operator==="in"){E.left=mangleStrings(E.left)}})));function can_mangle(E){if(_e.has(E))return false;if($.has(E))return false;if(N.only_cache){return G.has(E)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(E))return false;return true}function should_mangle(E){if(ie&&!ie.test(E))return false;if($.has(E))return false;return G.has(E)||le.has(E)}function add(E){if(can_mangle(E))le.add(E);if(!should_mangle(E)){_e.add(E)}}function mangle(E){if(!should_mangle(E)){return E}var N=G.get(E);if(!N){if(ae){var j="_$"+E+"$"+ce+"_";if(can_mangle(j)){N=j}}if(!N){do{N=R.get(++q)}while(!can_mangle(N))}G.set(E,N)}return N}function mangleStrings(E){return E.transform(new TreeTransformer((function(E){if(E instanceof mr){var N=E.expressions.length-1;E.expressions[N]=mangleStrings(E.expressions[N])}else if(E instanceof gn){E.value=mangle(E.value)}else if(E instanceof Er){E.consequent=mangleStrings(E.consequent);E.alternative=mangleStrings(E.alternative)}return E})))}}var Ti=typeof atob=="undefined"?function(E){return Buffer.from(E,"base64").toString()}:atob;var Ei=typeof btoa=="undefined"?function(E){return Buffer.from(E).toString("base64")}:btoa;function read_source_map(E){var N=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(E);if(!N){console.warn("inline source map not found");return null}return Ti(N[2])}function set_shorthand(E,N,R){if(N[E]){R.forEach((function(R){if(N[R]){if(typeof N[R]!="object")N[R]={};if(!(E in N[R]))N[R][E]=N[E]}}))}}function init_cache(E){if(!E)return;if(!("props"in E)){E.props=new Map}else if(!(E.props instanceof Map)){E.props=map_from_object(E.props)}}function cache_to_json(E){return{props:map_to_object(E.props)}}async function minify(E,N){N=defaults(N,{compress:{},ecma:undefined,enclose:false,ie8:false,keep_classnames:undefined,keep_fnames:false,mangle:{},module:false,nameCache:null,output:null,format:null,parse:{},rename:undefined,safari10:false,sourceMap:false,spidermonkey:false,timings:false,toplevel:false,warnings:false,wrap:false},true);var R=N.timings&&{start:Date.now()};if(N.keep_classnames===undefined){N.keep_classnames=N.keep_fnames}if(N.rename===undefined){N.rename=N.compress&&N.mangle}if(N.output&&N.format){throw new Error("Please only specify either output or format option, preferrably format.")}N.format=N.format||N.output||{};set_shorthand("ecma",N,["parse","compress","format"]);set_shorthand("ie8",N,["compress","mangle","format"]);set_shorthand("keep_classnames",N,["compress","mangle"]);set_shorthand("keep_fnames",N,["compress","mangle"]);set_shorthand("module",N,["parse","compress","mangle"]);set_shorthand("safari10",N,["mangle","format"]);set_shorthand("toplevel",N,["compress","mangle"]);set_shorthand("warnings",N,["compress"]);var j;if(N.mangle){N.mangle=defaults(N.mangle,{cache:N.nameCache&&(N.nameCache.vars||{}),eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,nth_identifier:zn,properties:false,reserved:[],safari10:false,toplevel:false},true);if(N.mangle.properties){if(typeof N.mangle.properties!="object"){N.mangle.properties={}}if(N.mangle.properties.keep_quoted){j=N.mangle.properties.reserved;if(!Array.isArray(j))j=[];N.mangle.properties.reserved=j}if(N.nameCache&&!("cache"in N.mangle.properties)){N.mangle.properties.cache=N.nameCache.props||{}}}init_cache(N.mangle.cache);init_cache(N.mangle.properties.cache)}if(N.sourceMap){N.sourceMap=defaults(N.sourceMap,{asObject:false,content:null,filename:null,includeSources:false,root:null,url:null},true)}if(R)R.parse=Date.now();var $;if(E instanceof At){$=E}else{if(typeof E=="string"||N.parse.spidermonkey&&!Array.isArray(E)){E=[E]}N.parse=N.parse||{};N.parse.toplevel=null;if(N.parse.spidermonkey){N.parse.toplevel=st.from_mozilla_ast(Object.keys(E).reduce((function(N,R){if(!N)return E[R];N.body=N.body.concat(E[R].body);return N}),null))}else{delete N.parse.spidermonkey;for(var q in E)if(HOP(E,q)){N.parse.filename=q;N.parse.toplevel=parse(E[q],N.parse);if(N.sourceMap&&N.sourceMap.content=="inline"){if(Object.keys(E).length>1)throw new Error("inline source map only works with singular input");N.sourceMap.content=read_source_map(E[q])}}}$=N.parse.toplevel}if(j&&N.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys($,j)}if(N.wrap){$=$.wrap_commonjs(N.wrap)}if(N.enclose){$=$.wrap_enclose(N.enclose)}if(R)R.rename=Date.now();if(R)R.compress=Date.now();if(N.compress){$=new Compressor(N.compress,{mangle_options:N.mangle}).compress($)}if(R)R.scope=Date.now();if(N.mangle)$.figure_out_scope(N.mangle);if(R)R.mangle=Date.now();if(N.mangle){$.compute_char_frequency(N.mangle);$.mangle_names(N.mangle);$=mangle_private_properties($,N.mangle)}if(R)R.properties=Date.now();if(N.mangle&&N.mangle.properties){$=mangle_properties($,N.mangle.properties)}if(R)R.format=Date.now();var G={};if(N.format.ast){G.ast=$}if(N.format.spidermonkey){G.ast=$.to_mozilla_ast()}if(!HOP(N.format,"code")||N.format.code){if(N.sourceMap){N.format.source_map=await SourceMap({file:N.sourceMap.filename,orig:N.sourceMap.content,root:N.sourceMap.root});if(N.sourceMap.includeSources){if(E instanceof At){throw new Error("original source content unavailable")}else for(var q in E)if(HOP(E,q)){N.format.source_map.get().setSourceContent(q,E[q])}}}delete N.format.ast;delete N.format.code;delete N.format.spidermonkey;var ie=OutputStream(N.format);$.print(ie);G.code=ie.get();if(N.sourceMap){if(N.sourceMap.asObject){G.map=N.format.source_map.get().toJSON()}else{G.map=N.format.source_map.toString()}if(N.sourceMap.url=="inline"){var ae=typeof G.map==="object"?JSON.stringify(G.map):G.map;G.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+Ei(ae)}else if(N.sourceMap.url){G.code+="\n//# sourceMappingURL="+N.sourceMap.url}}}if(N.nameCache&&N.mangle){if(N.mangle.cache)N.nameCache.vars=cache_to_json(N.mangle.cache);if(N.mangle.properties&&N.mangle.properties.cache){N.nameCache.props=cache_to_json(N.mangle.properties.cache)}}if(N.format&&N.format.source_map){N.format.source_map.destroy()}if(R){R.end=Date.now();G.timings={parse:.001*(R.rename-R.parse),rename:.001*(R.compress-R.rename),compress:.001*(R.scope-R.compress),scope:.001*(R.mangle-R.scope),mangle:.001*(R.properties-R.mangle),properties:.001*(R.format-R.properties),format:.001*(R.end-R.format),total:.001*(R.end-R.start)}}return G}async function run_cli({program:E,packageJson:N,fs:j,path:$}){const q=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var G={};var ie={compress:false,mangle:false};const ae=await _default_options();E.version(N.name+" "+N.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var N in ae){E.push("--"+(N==="sourceMap"?"source-map":N)+" options:");E.push(format_object(ae[N]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ie=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(N){if(N in E){ie[N]=E[N]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const N=E.ecma|0;if(N>5&&N<2015)ie.ecma=N+2009;else ie.ecma=N}if(E.format||E.beautify){const N=E.format||E.beautify;ie.format=typeof N==="object"?N:{}}if(E.comments){if(typeof ie.format!="object")ie.format={};ie.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ie.compress!="object")ie.compress={};if(typeof ie.compress.global_defs!="object")ie.compress.global_defs={};for(var ce in E.define){ie.compress.global_defs[ce]=E.define[ce]}}if(E.keepClassnames){ie.keep_classnames=true}if(E.keepFnames){ie.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ie.mangle!="object")ie.mangle={};ie.mangle.properties=E.mangleProps}if(E.nameCache){ie.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ie.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ie.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ie.rename=true}else if(!E.rename){ie.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var N=E.sourceMap.base;delete ie.sourceMap.base;return function(E){return $.relative(N,E)}}()}let le;if(ie.files&&ie.files.length){le=ie.files;delete ie.files}else if(E.args.length){le=E.args}if(le){simple_glob(le).forEach((function(E){G[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var N=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){N.push(E)})).on("end",(function(){G=[N.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return st.from_mozilla_ast(Object.keys(G).reduce(E,null))}async function run_cli(){var N=E.sourceMap&&E.sourceMap.content;if(N&&N!=="inline"){ie.sourceMap.content=read_file(N,N)}if(E.timings)ie.timings=true;try{if(E.parse){if(E.parse.acorn){G=convert_ast((function(N,j){return R(20976).parse(G[j],{ecmaVersion:2018,locations:true,program:N,sourceFile:j,sourceType:ie.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){G=convert_ast((function(E,N){var R=JSON.parse(G[N]);if(!E)return R;E.body=E.body.concat(R.body);return E}))}}}catch(E){fatal(E)}let $;try{$=await minify(G,ie)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var ae=E.col;var ce=G[E.filename].split(/\r?\n/);var le=ce[E.line-1];if(!le&&!ae){le=ce[E.line-2];ae=le.length}if(le){var _e=70;if(ae>_e){le=le.slice(ae-_e);ae=_e}print_error(le.slice(0,80));print_error(le.slice(0,ae).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ie.compress&&!ie.mangle){$.ast.figure_out_scope({})}console.log(JSON.stringify($.ast,(function(E,N){if(N)switch(E){case"thedef":return symdef(N);case"enclosed":return N.length?N.map(symdef):undefined;case"variables":case"globals":return N.size?collect_from_map(N,symdef):undefined}if(q.has(E))return;if(N instanceof AST_Token)return;if(N instanceof Map)return;if(N instanceof st){var R={_class:"AST_"+N.TYPE};if(N.block_scope){R.variables=N.block_scope.variables;R.enclosed=N.block_scope.enclosed}N.CTOR.PROPS.forEach((function(E){R[E]=N[E]}));return R}return N}),2))}else if(E.output=="spidermonkey"){try{const E=await minify($.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){j.writeFileSync(E.output,$.code);if(ie.sourceMap&&ie.sourceMap.url!=="inline"&&$.map){j.writeFileSync(E.output+".map",$.map)}}else{console.log($.code)}if(E.nameCache){j.writeFileSync(E.nameCache,JSON.stringify(ie.nameCache))}if($.timings)for(var Te in $.timings){print_error("- "+Te+": "+$.timings[Te].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var N=$.dirname(E);try{var R=j.readdirSync(N)}catch(E){}if(R){var q="^"+$.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var G=process.platform==="win32"?"i":"";var ie=new RegExp(q,G);var ae=R.filter((function(E){return ie.test(E)})).map((function(E){return $.join(N,E)}));if(ae.length)return ae}}return[E]}function read_file(E,N){try{return j.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&N!=null)return N;fatal(E)}}function parse_js(E){return function(N,R){R=R||{};try{walk(parse(N,{expression:true}),(N=>{if(N instanceof kr){var j=N.left.print_to_string();var $=N.right;if(E){R[j]=$}else if($ instanceof Dr){R[j]=$.elements.map(to_string)}else if($ instanceof yn){$=$.value;R[j]=new RegExp($.source,$.flags)}else{R[j]=to_string($)}return true}if(N instanceof Wr||N instanceof gr){var j=N.print_to_string();R[j]=true;return true}if(!(N instanceof mr))throw N;function to_string(E){return E instanceof mn?E.getValue():E.print_to_string({quote_keys:true})}}))}catch(j){if(E){fatal("Error parsing arguments for '"+E+"': "+N)}else{R[N]=null}}return R}}function symdef(E){var N=1e6+E.id+" "+E.name;if(E.mangled_name)N+=" "+E.mangled_name;return N}function collect_from_map(E,N){var R=[];E.forEach((function(E){R.push(N(E))}));return R}function format_object(E){var N=[];var R="";Object.keys(E).map((function(N){if(R.length!/^\$/.test(E)));if(R.length>0){E.space();E.with_parens((function(){R.forEach((function(N,R){if(R)E.space();E.print(N)}))}))}if(N.documentation){E.space();E.print_string(N.documentation)}if(N.SUBCLASSES.length>0){E.space();E.with_block((function(){N.SUBCLASSES.forEach((function(N){E.indent();doitem(N);E.newline()}))}))}}doitem(st);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((N=>{const R=infer_options({[N]:{0:0}});if(R)E[N]=R}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},76218:(E,N)=>{"use strict";N.parse=parse,N.init=void 0;const R=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,N="@"){if(!j)return $.then((()=>parse(E)));const q=E.length+1,G=(j.__heap_base.value||j.__heap_base)+4*q-j.memory.buffer.byteLength;G>0&&j.memory.grow(Math.ceil(G/65536));const ie=j.sa(q-1);if((R?C:Q)(E,new Uint16Array(j.memory.buffer,ie,q)),!j.parse())throw Object.assign(new Error(`Parse error ${N}:${E.slice(0,j.e()).split("\n").length}:${j.e()-E.lastIndexOf("\n",j.e()-1)}`),{idx:j.e()});const ae=[],ce=[];for(;j.ri();){const N=j.is(),R=j.ie(),$=j.ai(),q=j.id(),G=j.ss(),ie=j.se();let ce;j.ip()&&(ce=J(E.slice(-1===q?N-1:N,-1===q?R+1:R))),ae.push({n:ce,s:N,e:R,ss:G,se:ie,d:q,a:$})}for(;j.re();){const N=E.slice(j.es(),j.ee()),R=N[0];ce.push('"'===R||"'"===R?J(N):N)}function J(E){try{return(0,eval)(E)}catch(E){}}return[ae,ce,!!j.f()]}function Q(E,N){const R=E.length;let j=0;for(;j>>8}}function C(E,N){const R=E.length;let j=0;for(;jE.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{j=E}));var q;N.init=$},894:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},6680:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},83196:E=>{"use strict";E.exports={i8:"5.1.1"}},29389:E=>{"use strict";E.exports={version:"4.3.0"}},42600:E=>{"use strict";E.exports={i8:"4.3.0"}},53765:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76052:E=>{"use strict";E.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false}]')},78864:E=>{"use strict";E.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},11519:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},54703:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.10.0","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.20"},"devDependencies":{"@ls-lint/ls-lint":"^1.10.0","astring":"^1.7.5","eslint":"^7.32.0","eslump":"^3.0.0","esm":"^3.2.25","mocha":"^9.1.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.56.3","semver":"^7.3.4"},"peerDependencies":{"acorn":"^8.5.0"},"peerDependenciesMeta":{"acorn":{"optional":true}},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":2020},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},37589:E=>{"use strict";E.exports={i8:"5.62.1"}},46312:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","oneOf":[{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/ExperimentsNormalized"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},87298:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},28991:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},67138:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},39586:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../../lib/util/Hash\')"}]}},"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},8679:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},89408:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},30685:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},43691:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},78061:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},91014:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},93944:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},38279:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},85195:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},78555:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},9659:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},37931:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3484:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},10692:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84638:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},5404:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},52021:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},97295:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')}};var __webpack_module_cache__={};function __webpack_require__(E){var N=__webpack_module_cache__[E];if(N!==undefined){return N.exports}var R=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var j=true;try{__webpack_modules__[E].call(R.exports,R,R.exports,__webpack_require__);j=false}finally{if(j)delete __webpack_module_cache__[E]}R.loaded=true;return R.exports}(()=>{__webpack_require__.o=(E,N)=>Object.prototype.hasOwnProperty.call(E,N)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(32090);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts index fdcbb9fa..7d914682 100644 --- a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts @@ -73,8 +73,8 @@ interface AnimationEventInit extends EventInit { } interface AnimationPlaybackEventInit extends EventInit { - currentTime?: number | null; - timelineTime?: number | null; + currentTime?: CSSNumberish | null; + timelineTime?: CSSNumberish | null; } interface AssignedNodesOptions { @@ -227,7 +227,7 @@ interface ComputedEffectTiming extends EffectTiming { currentIteration?: number | null; endTime?: CSSNumberish; localTime?: CSSNumberish | null; - progress?: CSSNumberish | null; + progress?: number | null; startTime?: CSSNumberish; } @@ -284,8 +284,8 @@ interface CredentialRequestOptions { } interface CryptoKeyPair { - privateKey?: CryptoKey; - publicKey?: CryptoKey; + privateKey: CryptoKey; + publicKey: CryptoKey; } interface CustomEventInit extends EventInit { @@ -487,6 +487,18 @@ interface FileSystemFlags { exclusive?: boolean; } +interface FileSystemGetDirectoryOptions { + create?: boolean; +} + +interface FileSystemGetFileOptions { + create?: boolean; +} + +interface FileSystemRemoveOptions { + recursive?: boolean; +} + interface FocusEventInit extends UIEventInit { relatedTarget?: EventTarget | null; } @@ -691,6 +703,24 @@ interface KeyframeEffectOptions extends EffectTiming { pseudoElement?: string | null; } +interface LockInfo { + clientId?: string; + mode?: LockMode; + name?: string; +} + +interface LockManagerSnapshot { + held?: LockInfo[]; + pending?: LockInfo[]; +} + +interface LockOptions { + ifAvailable?: boolean; + mode?: LockMode; + signal?: AbortSignal; + steal?: boolean; +} + interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo { configuration?: MediaDecodingConfiguration; } @@ -797,6 +827,7 @@ interface MediaStreamAudioSourceOptions { interface MediaStreamConstraints { audio?: boolean | MediaTrackConstraints; peerIdentity?: string; + preferCurrentTab?: boolean; video?: boolean | MediaTrackConstraints; } @@ -827,6 +858,7 @@ interface MediaTrackCapabilities { interface MediaTrackConstraintSet { aspectRatio?: ConstrainDouble; + autoGainControl?: ConstrainBoolean; channelCount?: ConstrainULong; deviceId?: ConstrainDOMString; echoCancellation?: ConstrainBoolean; @@ -835,6 +867,7 @@ interface MediaTrackConstraintSet { groupId?: ConstrainDOMString; height?: ConstrainULong; latency?: ConstrainDouble; + noiseSuppression?: ConstrainBoolean; sampleRate?: ConstrainULong; sampleSize?: ConstrainULong; suppressLocalAudioPlayback?: ConstrainBoolean; @@ -847,12 +880,14 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet { interface MediaTrackSettings { aspectRatio?: number; + autoGainControl?: boolean; deviceId?: string; echoCancellation?: boolean; facingMode?: string; frameRate?: number; groupId?: string; height?: number; + noiseSuppression?: boolean; restrictOwnAudio?: boolean; sampleRate?: number; sampleSize?: number; @@ -861,12 +896,14 @@ interface MediaTrackSettings { interface MediaTrackSupportedConstraints { aspectRatio?: boolean; + autoGainControl?: boolean; deviceId?: boolean; echoCancellation?: boolean; facingMode?: boolean; frameRate?: boolean; groupId?: boolean; height?: boolean; + noiseSuppression?: boolean; sampleRate?: boolean; sampleSize?: boolean; suppressLocalAudioPlayback?: boolean; @@ -898,33 +935,19 @@ interface MultiCacheQueryOptions extends CacheQueryOptions { } interface MutationObserverInit { - /** - * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. - */ + /** Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */ attributeFilter?: string[]; - /** - * Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. - */ + /** Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */ attributeOldValue?: boolean; - /** - * Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. - */ + /** Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */ attributes?: boolean; - /** - * Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. - */ + /** Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. */ characterData?: boolean; - /** - * Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. - */ + /** Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. */ characterDataOldValue?: boolean; - /** - * Set to true if mutations to target's children are to be observed. - */ + /** Set to true if mutations to target's children are to be observed. */ childList?: boolean; - /** - * Set to true if mutations to not just target, but also target's descendants are to be observed. - */ + /** Set to true if mutations to not just target, but also target's descendants are to be observed. */ subtree?: boolean; } @@ -947,7 +970,7 @@ interface NotificationOptions { requireInteraction?: boolean; silent?: boolean; tag?: string; - timestamp?: DOMTimeStamp; + timestamp?: EpochTimeStamp; vibrate?: VibratePattern; } @@ -1114,10 +1137,6 @@ interface PositionOptions { timeout?: number; } -interface PostMessageOptions { - transfer?: any[]; -} - interface ProgressEventInit extends EventInit { lengthComputable?: boolean; loaded?: number; @@ -1183,7 +1202,7 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { interface PushSubscriptionJSON { endpoint?: string; - expirationTime?: DOMTimeStamp | null; + expirationTime?: EpochTimeStamp | null; keys?: Record; } @@ -1210,7 +1229,7 @@ interface RTCAnswerOptions extends RTCOfferAnswerOptions { } interface RTCCertificateExpiration { - expires?: DOMTimeStamp; + expires?: number; } interface RTCConfiguration { @@ -1475,58 +1494,32 @@ interface RegistrationOptions { } interface RequestInit { - /** - * A BodyInit object or null to set request's body. - */ + /** A BodyInit object or null to set request's body. */ body?: BodyInit | null; - /** - * A string indicating how the request will interact with the browser's cache to set request's cache. - */ + /** A string indicating how the request will interact with the browser's cache to set request's cache. */ cache?: RequestCache; - /** - * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. - */ + /** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */ credentials?: RequestCredentials; - /** - * A Headers object, an object literal, or an array of two-item arrays to set request's headers. - */ + /** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */ headers?: HeadersInit; - /** - * A cryptographic hash of the resource to be fetched by request. Sets request's integrity. - */ + /** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */ integrity?: string; - /** - * A boolean to set request's keepalive. - */ + /** A boolean to set request's keepalive. */ keepalive?: boolean; - /** - * A string to set request's method. - */ + /** A string to set request's method. */ method?: string; - /** - * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. - */ + /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */ mode?: RequestMode; - /** - * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. - */ + /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */ redirect?: RequestRedirect; - /** - * A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. - */ + /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */ referrer?: string; - /** - * A referrer policy to set request's referrerPolicy. - */ + /** A referrer policy to set request's referrerPolicy. */ referrerPolicy?: ReferrerPolicy; - /** - * An AbortSignal to set request's signal. - */ + /** An AbortSignal to set request's signal. */ signal?: AbortSignal | null; - /** - * Can only be null. Used to disassociate request from any Window. - */ - window?: any; + /** Can only be null. Used to disassociate request from any Window. */ + window?: null; } interface ResizeObserverOptions { @@ -1684,6 +1677,10 @@ interface StreamPipeOptions { signal?: AbortSignal; } +interface StructuredSerializeOptions { + transfer?: Transferable[]; +} + interface SubmitEventInit extends EventInit { submitter?: HTMLElement | null; } @@ -1811,7 +1808,7 @@ interface WheelEventInit extends MouseEventInit { deltaZ?: number; } -interface WindowPostMessageOptions extends PostMessageOptions { +interface WindowPostMessageOptions extends StructuredSerializeOptions { targetOrigin?: string; } @@ -1857,54 +1854,50 @@ interface ANGLE_instanced_arrays { } interface ARIAMixin { - ariaAtomic: string; - ariaAutoComplete: string; - ariaBusy: string; - ariaChecked: string; - ariaColCount: string; - ariaColIndex: string; - ariaColSpan: string; - ariaCurrent: string; - ariaDisabled: string; - ariaExpanded: string; - ariaHasPopup: string; - ariaHidden: string; - ariaKeyShortcuts: string; - ariaLabel: string; - ariaLevel: string; - ariaLive: string; - ariaModal: string; - ariaMultiLine: string; - ariaMultiSelectable: string; - ariaOrientation: string; - ariaPlaceholder: string; - ariaPosInSet: string; - ariaPressed: string; - ariaReadOnly: string; - ariaRequired: string; - ariaRoleDescription: string; - ariaRowCount: string; - ariaRowIndex: string; - ariaRowSpan: string; - ariaSelected: string; - ariaSetSize: string; - ariaSort: string; - ariaValueMax: string; - ariaValueMin: string; - ariaValueNow: string; - ariaValueText: string; + ariaAtomic: string | null; + ariaAutoComplete: string | null; + ariaBusy: string | null; + ariaChecked: string | null; + ariaColCount: string | null; + ariaColIndex: string | null; + ariaColSpan: string | null; + ariaCurrent: string | null; + ariaDisabled: string | null; + ariaExpanded: string | null; + ariaHasPopup: string | null; + ariaHidden: string | null; + ariaKeyShortcuts: string | null; + ariaLabel: string | null; + ariaLevel: string | null; + ariaLive: string | null; + ariaModal: string | null; + ariaMultiLine: string | null; + ariaMultiSelectable: string | null; + ariaOrientation: string | null; + ariaPlaceholder: string | null; + ariaPosInSet: string | null; + ariaPressed: string | null; + ariaReadOnly: string | null; + ariaRequired: string | null; + ariaRoleDescription: string | null; + ariaRowCount: string | null; + ariaRowIndex: string | null; + ariaRowSpan: string | null; + ariaSelected: string | null; + ariaSetSize: string | null; + ariaSort: string | null; + ariaValueMax: string | null; + ariaValueMin: string | null; + ariaValueNow: string | null; + ariaValueText: string | null; } /** A controller object that allows you to abort one or more DOM requests as and when desired. */ interface AbortController { - /** - * Returns the AbortSignal object associated with this object. - */ + /** Returns the AbortSignal object associated with this object. */ readonly signal: AbortSignal; - /** - * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. - */ - abort(): void; + /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */ + abort(reason?: any): void; } declare var AbortController: { @@ -1918,9 +1911,7 @@ interface AbortSignalEventMap { /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ interface AbortSignal extends EventTarget { - /** - * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. - */ + /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */ readonly aborted: boolean; onabort: ((this: AbortSignal, ev: Event) => any) | null; addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -1932,28 +1923,19 @@ interface AbortSignal extends EventTarget { declare var AbortSignal: { prototype: AbortSignal; new(): AbortSignal; + // abort(): AbortSignal; - To be re-added in the future }; interface AbstractRange { - /** - * Returns true if range is collapsed, and false otherwise. - */ + /** Returns true if range is collapsed, and false otherwise. */ readonly collapsed: boolean; - /** - * Returns range's end node. - */ + /** Returns range's end node. */ readonly endContainer: Node; - /** - * Returns range's end offset. - */ + /** Returns range's end offset. */ readonly endOffset: number; - /** - * Returns range's start node. - */ + /** Returns range's start node. */ readonly startContainer: Node; - /** - * Returns range's start offset. - */ + /** Returns range's start offset. */ readonly startOffset: number; } @@ -2004,7 +1986,7 @@ interface AnimationEventMap { } interface Animation extends EventTarget { - currentTime: number | null; + currentTime: CSSNumberish | null; effect: AnimationEffect | null; readonly finished: Promise; id: string; @@ -2016,7 +1998,7 @@ interface Animation extends EventTarget { playbackRate: number; readonly ready: Promise; readonly replaceState: AnimationReplaceState; - startTime: number | null; + startTime: CSSNumberish | null; timeline: AnimationTimeline | null; cancel(): void; commitStyles(): void; @@ -2066,8 +2048,8 @@ interface AnimationFrameProvider { } interface AnimationPlaybackEvent extends Event { - readonly currentTime: number | null; - readonly timelineTime: number | null; + readonly currentTime: CSSNumberish | null; + readonly timelineTime: CSSNumberish | null; } declare var AnimationPlaybackEvent: { @@ -2282,6 +2264,7 @@ declare var AudioScheduledSourceNode: { new(): AudioScheduledSourceNode; }; +/** Available only in secure contexts. */ interface AudioWorklet extends Worklet { } @@ -2294,6 +2277,7 @@ interface AudioWorkletNodeEventMap { "processorerror": Event; } +/** Available only in secure contexts. */ interface AudioWorkletNode extends AudioNode { onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; readonly parameters: AudioParamMap; @@ -2309,6 +2293,7 @@ declare var AudioWorkletNode: { new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; }; +/** Available only in secure contexts. */ interface AuthenticatorAssertionResponse extends AuthenticatorResponse { readonly authenticatorData: ArrayBuffer; readonly signature: ArrayBuffer; @@ -2320,6 +2305,7 @@ declare var AuthenticatorAssertionResponse: { new(): AuthenticatorAssertionResponse; }; +/** Available only in secure contexts. */ interface AuthenticatorAttestationResponse extends AuthenticatorResponse { readonly attestationObject: ArrayBuffer; } @@ -2329,6 +2315,7 @@ declare var AuthenticatorAttestationResponse: { new(): AuthenticatorAttestationResponse; }; +/** Available only in secure contexts. */ interface AuthenticatorResponse { readonly clientDataJSON: ArrayBuffer; } @@ -2352,6 +2339,7 @@ interface BaseAudioContextEventMap { } interface BaseAudioContext extends EventTarget { + /** Available only in secure contexts. */ readonly audioWorklet: AudioWorklet; readonly currentTime: number; readonly destination: AudioDestinationNode; @@ -2456,19 +2444,13 @@ interface BroadcastChannelEventMap { } interface BroadcastChannel extends EventTarget { - /** - * Returns the channel name (as passed to the constructor). - */ + /** Returns the channel name (as passed to the constructor). */ readonly name: string; onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; - /** - * Closes the BroadcastChannel object, opening it up to garbage collection. - */ + /** Closes the BroadcastChannel object, opening it up to garbage collection. */ close(): void; - /** - * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. - */ + /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */ postMessage(message: any): void; addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -2680,6 +2662,7 @@ declare var CSSRuleList: { /** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */ interface CSSStyleDeclaration { + accentColor: string; alignContent: string; alignItems: string; alignSelf: string; @@ -2853,11 +2836,14 @@ interface CSSStyleDeclaration { gridAutoRows: string; gridColumn: string; gridColumnEnd: string; + /** @deprecated This is a legacy alias of `columnGap`. */ gridColumnGap: string; gridColumnStart: string; + /** @deprecated This is a legacy alias of `gap`. */ gridGap: string; gridRow: string; gridRowEnd: string; + /** @deprecated This is a legacy alias of `rowGap`. */ gridRowGap: string; gridRowStart: string; gridTemplate: string; @@ -2998,6 +2984,7 @@ interface CSSStyleDeclaration { scrollSnapAlign: string; scrollSnapStop: string; scrollSnapType: string; + scrollbarGutter: string; shapeImageThreshold: string; shapeMargin: string; shapeOutside: string; @@ -3096,15 +3083,15 @@ interface CSSStyleDeclaration { webkitBorderTopLeftRadius: string; /** @deprecated This is a legacy alias of `borderTopRightRadius`. */ webkitBorderTopRightRadius: string; - /** @deprecated */ + /** @deprecated This is a legacy alias of `boxAlign`. */ webkitBoxAlign: string; - /** @deprecated */ + /** @deprecated This is a legacy alias of `boxFlex`. */ webkitBoxFlex: string; - /** @deprecated */ + /** @deprecated This is a legacy alias of `boxOrdinalGroup`. */ webkitBoxOrdinalGroup: string; - /** @deprecated */ + /** @deprecated This is a legacy alias of `boxOrient`. */ webkitBoxOrient: string; - /** @deprecated */ + /** @deprecated This is a legacy alias of `boxPack`. */ webkitBoxPack: string; /** @deprecated This is a legacy alias of `boxShadow`. */ webkitBoxShadow: string; @@ -3259,7 +3246,10 @@ declare var CSSTransition: { new(): CSSTransition; }; -/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. */ +/** + * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. + * Available only in secure contexts. + */ interface Cache { add(request: RequestInfo): Promise; addAll(requests: RequestInfo[]): Promise; @@ -3275,7 +3265,10 @@ declare var Cache: { new(): Cache; }; -/** The storage for Cache objects. */ +/** + * The storage for Cache objects. + * Available only in secure contexts. + */ interface CacheStorage { delete(cacheName: string): Promise; has(cacheName: string): Promise; @@ -3289,9 +3282,23 @@ declare var CacheStorage: { new(): CacheStorage; }; +interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack { + readonly canvas: HTMLCanvasElement; + requestFrame(): void; + addEventListener(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var CanvasCaptureMediaStreamTrack: { + prototype: CanvasCaptureMediaStreamTrack; + new(): CanvasCaptureMediaStreamTrack; +}; + interface CanvasCompositing { globalAlpha: number; - globalCompositeOperation: string; + globalCompositeOperation: GlobalCompositeOperation; } interface CanvasDrawImage { @@ -3317,6 +3324,7 @@ interface CanvasDrawPath { interface CanvasFillStrokeStyles { fillStyle: string | CanvasGradient | CanvasPattern; strokeStyle: string | CanvasGradient | CanvasPattern; + createConicGradient(startAngle: number, x: number, y: number): CanvasGradient; createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; @@ -3378,9 +3386,7 @@ interface CanvasPathDrawingStyles { /** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ interface CanvasPattern { - /** - * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. - */ + /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */ setTransform(transform?: DOMMatrix2DInit): void; } @@ -3495,9 +3501,7 @@ interface ChildNode extends Node { * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. */ before(...nodes: (Node | string)[]): void; - /** - * Removes node. - */ + /** Removes node. */ remove(): void; /** * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. @@ -3511,6 +3515,7 @@ interface ChildNode extends Node { interface ClientRect extends DOMRect { } +/** Available only in secure contexts. */ interface Clipboard extends EventTarget { read(): Promise; readText(): Promise; @@ -3540,22 +3545,16 @@ interface ClipboardItem { declare var ClipboardItem: { prototype: ClipboardItem; - new(items: Record, options?: ClipboardItemOptions): ClipboardItem; + new(items: Record>, options?: ClipboardItemOptions): ClipboardItem; }; /** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ interface CloseEvent extends Event { - /** - * Returns the WebSocket connection close code provided by the server. - */ + /** Returns the WebSocket connection close code provided by the server. */ readonly code: number; - /** - * Returns the WebSocket connection close reason provided by the server. - */ + /** Returns the WebSocket connection close reason provided by the server. */ readonly reason: string; - /** - * Returns true if the connection closed cleanly; false otherwise. - */ + /** Returns true if the connection closed cleanly; false otherwise. */ readonly wasClean: boolean; } @@ -3620,6 +3619,7 @@ declare var CountQueuingStrategy: { new(init: QueuingStrategyInit): CountQueuingStrategy; }; +/** Available only in secure contexts. */ interface Credential { readonly id: string; readonly type: string; @@ -3630,6 +3630,7 @@ declare var Credential: { new(): Credential; }; +/** Available only in secure contexts. */ interface CredentialsContainer { create(options?: CredentialCreationOptions): Promise; get(options?: CredentialRequestOptions): Promise; @@ -3644,8 +3645,11 @@ declare var CredentialsContainer: { /** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ interface Crypto { + /** Available only in secure contexts. */ readonly subtle: SubtleCrypto; getRandomValues(array: T): T; + /** Available only in secure contexts. */ + randomUUID(): string; } declare var Crypto: { @@ -3653,7 +3657,10 @@ declare var Crypto: { new(): Crypto; }; -/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */ +/** + * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. + * Available only in secure contexts. + */ interface CryptoKey { readonly algorithm: KeyAlgorithm; readonly extractable: boolean; @@ -3679,9 +3686,7 @@ declare var CustomElementRegistry: { }; interface CustomEvent extends Event { - /** - * Returns any custom data event was created with. Typically used for synthetic events. - */ + /** Returns any custom data event was created with. Typically used for synthetic events. */ readonly detail: T; /** @deprecated */ initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void; @@ -3693,7 +3698,7 @@ declare var CustomEvent: { }; /** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ -interface DOMException { +interface DOMException extends Error { readonly code: number; readonly message: string; readonly name: string; @@ -3987,17 +3992,11 @@ declare var DOMRectReadOnly: { /** A type returned by some APIs which contains a list of DOMString (strings). */ interface DOMStringList { - /** - * Returns the number of strings in strings. - */ + /** Returns the number of strings in strings. */ readonly length: number; - /** - * Returns true if strings contains string, and false otherwise. - */ + /** Returns true if strings contains string, and false otherwise. */ contains(string: string): boolean; - /** - * Returns the string with index index from strings. - */ + /** Returns the string with index index from strings. */ item(index: number): string | null; [index: number]: string; } @@ -4019,9 +4018,7 @@ declare var DOMStringMap: { /** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */ interface DOMTokenList { - /** - * Returns the number of tokens. - */ + /** Returns the number of tokens. */ readonly length: number; /** * Returns the associated set as string. @@ -4038,13 +4035,9 @@ interface DOMTokenList { * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. */ add(...tokens: string[]): void; - /** - * Returns true if token is present, and false otherwise. - */ + /** Returns true if token is present, and false otherwise. */ contains(token: string): boolean; - /** - * Returns the token with index index. - */ + /** Returns the token with index index. */ item(index: number): string | null; /** * Removes arguments passed, if they are present. @@ -4107,33 +4100,19 @@ interface DataTransfer { * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized", */ effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized"; - /** - * Returns a FileList of the files being dragged, if any. - */ + /** Returns a FileList of the files being dragged, if any. */ readonly files: FileList; - /** - * Returns a DataTransferItemList object, with the drag data. - */ + /** Returns a DataTransferItemList object, with the drag data. */ readonly items: DataTransferItemList; - /** - * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". - */ + /** Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". */ readonly types: ReadonlyArray; - /** - * Removes the data of the specified formats. Removes all data if the argument is omitted. - */ + /** Removes the data of the specified formats. Removes all data if the argument is omitted. */ clearData(format?: string): void; - /** - * Returns the specified data. If there is no such data, returns the empty string. - */ + /** Returns the specified data. If there is no such data, returns the empty string. */ getData(format: string): string; - /** - * Adds the specified data. - */ + /** Adds the specified data. */ setData(format: string, data: string): void; - /** - * Uses the given element to update the drag feedback, replacing any previously specified feedback. - */ + /** Uses the given element to update the drag feedback, replacing any previously specified feedback. */ setDragImage(image: Element, x: number, y: number): void; } @@ -4144,21 +4123,13 @@ declare var DataTransfer: { /** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */ interface DataTransferItem { - /** - * Returns the drag data item kind, one of: "string", "file". - */ + /** Returns the drag data item kind, one of: "string", "file". */ readonly kind: string; - /** - * Returns the drag data item type string. - */ + /** Returns the drag data item type string. */ readonly type: string; - /** - * Returns a File object, if the drag data item kind is File. - */ + /** Returns a File object, if the drag data item kind is File. */ getAsFile(): File | null; - /** - * Invokes the callback with the string data as the argument, if the drag data item kind is text. - */ + /** Invokes the callback with the string data as the argument, if the drag data item kind is text. */ getAsString(callback: FunctionStringCallback | null): void; webkitGetAsEntry(): FileSystemEntry | null; } @@ -4170,22 +4141,14 @@ declare var DataTransferItem: { /** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */ interface DataTransferItemList { - /** - * Returns the number of items in the drag data store. - */ + /** Returns the number of items in the drag data store. */ readonly length: number; - /** - * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. - */ + /** Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. */ add(data: string, type: string): DataTransferItem | null; add(data: File): DataTransferItem | null; - /** - * Removes all the entries in the drag data store. - */ + /** Removes all the entries in the drag data store. */ clear(): void; - /** - * Removes the indexth entry in the drag data store. - */ + /** Removes the indexth entry in the drag data store. */ remove(index: number): void; [index: number]: DataTransferItem; } @@ -4205,7 +4168,10 @@ declare var DelayNode: { new(context: BaseAudioContext, options?: DelayOptions): DelayNode; }; -/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */ +/** + * The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. + * Available only in secure contexts. + */ interface DeviceMotionEvent extends Event { readonly acceleration: DeviceMotionEventAcceleration | null; readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null; @@ -4218,19 +4184,24 @@ declare var DeviceMotionEvent: { new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; }; +/** Available only in secure contexts. */ interface DeviceMotionEventAcceleration { readonly x: number | null; readonly y: number | null; readonly z: number | null; } +/** Available only in secure contexts. */ interface DeviceMotionEventRotationRate { readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; } -/** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */ +/** + * The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. + * Available only in secure contexts. + */ interface DeviceOrientationEvent extends Event { readonly absolute: boolean; readonly alpha: number | null; @@ -4254,9 +4225,7 @@ interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, Glob /** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { - /** - * Sets or gets the URL for the current document. - */ + /** Sets or gets the URL for the current document. */ readonly URL: string; /** * Sets or gets the color of all active links in the document. @@ -4283,26 +4252,18 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad * @deprecated */ bgColor: string; - /** - * Specifies the beginning and end of the document body. - */ + /** Specifies the beginning and end of the document body. */ body: HTMLElement; - /** - * Returns document's encoding. - */ + /** Returns document's encoding. */ readonly characterSet: string; /** * Gets or sets the character set used to encode the object. * @deprecated This is a legacy alias of `characterSet`. */ readonly charset: string; - /** - * Gets a value that indicates whether standards-compliant mode is switched on for the object. - */ + /** Gets a value that indicates whether standards-compliant mode is switched on for the object. */ readonly compatMode: string; - /** - * Returns document's content type. - */ + /** Returns document's content type. */ readonly contentType: string; /** * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. @@ -4318,87 +4279,55 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. */ readonly currentScript: HTMLOrSVGScriptElement | null; - /** - * Returns the Window object of the active document. - */ + /** Returns the Window object of the active document. */ readonly defaultView: (WindowProxy & typeof globalThis) | null; - /** - * Sets or gets a value that indicates whether the document can be edited. - */ + /** Sets or gets a value that indicates whether the document can be edited. */ designMode: string; - /** - * Sets or retrieves a value that indicates the reading order of the object. - */ + /** Sets or retrieves a value that indicates the reading order of the object. */ dir: string; - /** - * Gets an object representing the document type declaration associated with the current document. - */ + /** Gets an object representing the document type declaration associated with the current document. */ readonly doctype: DocumentType | null; - /** - * Gets a reference to the root node of the document. - */ + /** Gets a reference to the root node of the document. */ readonly documentElement: HTMLElement; - /** - * Returns document's URL. - */ + /** Returns document's URL. */ readonly documentURI: string; - /** - * Sets or gets the security domain of the document. - */ + /** Sets or gets the security domain of the document. */ domain: string; - /** - * Retrieves a collection of all embed objects in the document. - */ + /** Retrieves a collection of all embed objects in the document. */ readonly embeds: HTMLCollectionOf; /** * Sets or gets the foreground (text) color of the document. * @deprecated */ fgColor: string; - /** - * Retrieves a collection, in source order, of all form objects in the document. - */ + /** Retrieves a collection, in source order, of all form objects in the document. */ readonly forms: HTMLCollectionOf; /** @deprecated */ readonly fullscreen: boolean; - /** - * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. - */ + /** Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */ readonly fullscreenEnabled: boolean; - /** - * Returns the head element. - */ + /** Returns the head element. */ readonly head: HTMLHeadElement; readonly hidden: boolean; - /** - * Retrieves a collection, in source order, of img objects in the document. - */ + /** Retrieves a collection, in source order, of img objects in the document. */ readonly images: HTMLCollectionOf; - /** - * Gets the implementation object of the current document. - */ + /** Gets the implementation object of the current document. */ readonly implementation: DOMImplementation; /** * Returns the character encoding used to create the webpage that is loaded into the document object. * @deprecated This is a legacy alias of `characterSet`. */ readonly inputEncoding: string; - /** - * Gets the date that the page was last modified, if the page supplies one. - */ + /** Gets the date that the page was last modified, if the page supplies one. */ readonly lastModified: string; /** * Sets or gets the color of the document links. * @deprecated */ linkColor: string; - /** - * Retrieves a collection of all a objects that specify the href property and all area objects in the document. - */ + /** Retrieves a collection of all a objects that specify the href property and all area objects in the document. */ readonly links: HTMLCollectionOf; - /** - * Contains information about the current URL. - */ + /** Contains information about the current URL. */ get location(): Location; set location(href: string | Location); onfullscreenchange: ((this: Document, ev: Event) => any) | null; @@ -4413,31 +4342,21 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad onvisibilitychange: ((this: Document, ev: Event) => any) | null; readonly ownerDocument: null; readonly pictureInPictureEnabled: boolean; - /** - * Return an HTMLCollection of the embed elements in the Document. - */ + /** Return an HTMLCollection of the embed elements in the Document. */ readonly plugins: HTMLCollectionOf; - /** - * Retrieves a value that indicates the current state of the object. - */ + /** Retrieves a value that indicates the current state of the object. */ readonly readyState: DocumentReadyState; - /** - * Gets the URL of the location that referred the user to the current page. - */ + /** Gets the URL of the location that referred the user to the current page. */ readonly referrer: string; /** @deprecated */ readonly rootElement: SVGSVGElement | null; - /** - * Retrieves a collection of all script objects in the document. - */ + /** Retrieves a collection of all script objects in the document. */ readonly scripts: HTMLCollectionOf; readonly scrollingElement: Element | null; readonly timeline: DocumentTimeline; - /** - * Contains the title of the document. - */ + /** Contains the title of the document. */ title: string; - readonly visibilityState: VisibilityState; + readonly visibilityState: DocumentVisibilityState; /** * Sets or gets the color of the links that the user has visited. * @deprecated @@ -4455,9 +4374,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad caretRangeFromPoint(x: number, y: number): Range | null; /** @deprecated */ clear(): void; - /** - * Closes an output stream and forces the sent data to display. - */ + /** Closes an output stream and forces the sent data to display. */ close(): void; /** * Creates an attribute object with a specified name. @@ -4465,18 +4382,14 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad */ createAttribute(localName: string): Attr; createAttributeNS(namespace: string | null, qualifiedName: string): Attr; - /** - * Returns a CDATASection node whose data is data. - */ + /** Returns a CDATASection node whose data is data. */ createCDATASection(data: string): CDATASection; /** * Creates a comment object with the specified data. * @param data Sets the comment object's data. */ createComment(data: string): Comment; - /** - * Creates a new document. - */ + /** Creates a new document. */ createDocumentFragment(): DocumentFragment; /** * Creates an instance of the element for the specified tag. @@ -4570,13 +4483,9 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. */ createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; - /** - * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. - */ + /** Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. */ createProcessingInstruction(target: string, data: string): ProcessingInstruction; - /** - * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. - */ + /** Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */ createRange(): Range; /** * Creates a text string from the specified value. @@ -4590,13 +4499,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad * @param filter A custom NodeFilter function to use. */ createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; - /** - * Returns the element for the specified x coordinate and the specified y coordinate. - * @param x The x-offset - * @param y The y-offset - */ - elementFromPoint(x: number, y: number): Element | null; - elementsFromPoint(x: number, y: number): Element[]; /** * Executes a command on the current document, current selection, or the given range. * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. @@ -4605,9 +4507,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad * @deprecated */ execCommand(commandId: string, showUI?: boolean, value?: string): boolean; - /** - * Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. - */ + /** Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. */ exitFullscreen(): Promise; exitPictureInPicture(): Promise; exitPointerLock(): void; @@ -4616,9 +4516,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad * @param elementId String that specifies the ID value. */ getElementById(elementId: string): HTMLElement | null; - /** - * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. - */ + /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ getElementsByClassName(classNames: string): HTMLCollectionOf; /** * Gets a collection of objects based on the value of the NAME or ID attribute. @@ -4644,13 +4542,9 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; - /** - * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. - */ + /** Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */ getSelection(): Selection | null; - /** - * Gets a value indicating whether the object currently has focus. - */ + /** Gets a value indicating whether the object currently has focus. */ hasFocus(): boolean; hasStorageAccess(): Promise; /** @@ -4756,16 +4650,19 @@ interface DocumentOrShadowRoot { * Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not. */ readonly activeElement: Element | null; - /** - * Returns document's fullscreen element. - */ + /** Returns document's fullscreen element. */ readonly fullscreenElement: Element | null; readonly pictureInPictureElement: Element | null; readonly pointerLockElement: Element | null; + /** Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. */ + readonly styleSheets: StyleSheetList; /** - * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. + * Returns the element for the specified x coordinate and the specified y coordinate. + * @param x The x-offset + * @param y The y-offset */ - readonly styleSheets: StyleSheetList; + elementFromPoint(x: number, y: number): Element | null; + elementsFromPoint(x: number, y: number): Element[]; getAnimations(): Animation[]; } @@ -4792,9 +4689,7 @@ declare var DocumentType: { /** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */ interface DragEvent extends MouseEvent { - /** - * Returns the DataTransfer object for the event. - */ + /** Returns the DataTransfer object for the event. */ readonly dataTransfer: DataTransfer | null; } @@ -4871,84 +4766,54 @@ interface ElementEventMap { /** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { readonly attributes: NamedNodeMap; - /** - * Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. - */ + /** Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */ readonly classList: DOMTokenList; - /** - * Returns the value of element's class content attribute. Can be set to change it. - */ + /** Returns the value of element's class content attribute. Can be set to change it. */ className: string; readonly clientHeight: number; readonly clientLeft: number; readonly clientTop: number; readonly clientWidth: number; - /** - * Returns the value of element's id content attribute. Can be set to change it. - */ + /** Returns the value of element's id content attribute. Can be set to change it. */ id: string; - /** - * Returns the local name. - */ + /** Returns the local name. */ readonly localName: string; - /** - * Returns the namespace. - */ + /** Returns the namespace. */ readonly namespaceURI: string | null; onfullscreenchange: ((this: Element, ev: Event) => any) | null; onfullscreenerror: ((this: Element, ev: Event) => any) | null; outerHTML: string; readonly ownerDocument: Document; readonly part: DOMTokenList; - /** - * Returns the namespace prefix. - */ + /** Returns the namespace prefix. */ readonly prefix: string | null; readonly scrollHeight: number; scrollLeft: number; scrollTop: number; readonly scrollWidth: number; - /** - * Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. - */ + /** Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. */ readonly shadowRoot: ShadowRoot | null; - /** - * Returns the value of element's slot content attribute. Can be set to change it. - */ + /** Returns the value of element's slot content attribute. Can be set to change it. */ slot: string; - /** - * Returns the HTML-uppercased qualified name. - */ + /** Returns the HTML-uppercased qualified name. */ readonly tagName: string; - /** - * Creates a shadow root for element and returns it. - */ + /** Creates a shadow root for element and returns it. */ attachShadow(init: ShadowRootInit): ShadowRoot; - /** - * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. - */ + /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */ closest(selector: K): HTMLElementTagNameMap[K] | null; closest(selector: K): SVGElementTagNameMap[K] | null; closest(selectors: string): E | null; - /** - * Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. - */ + /** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */ getAttribute(qualifiedName: string): string | null; - /** - * Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. - */ + /** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */ getAttributeNS(namespace: string | null, localName: string): string | null; - /** - * Returns the qualified names of all element's attributes. Can contain duplicates. - */ + /** Returns the qualified names of all element's attributes. Can contain duplicates. */ getAttributeNames(): string[]; getAttributeNode(qualifiedName: string): Attr | null; getAttributeNodeNS(namespace: string | null, localName: string): Attr | null; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList; - /** - * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. - */ + /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ getElementsByClassName(classNames: string): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; @@ -4956,34 +4821,22 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; - /** - * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. - */ + /** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */ hasAttribute(qualifiedName: string): boolean; - /** - * Returns true if element has an attribute whose namespace is namespace and local name is localName. - */ + /** Returns true if element has an attribute whose namespace is namespace and local name is localName. */ hasAttributeNS(namespace: string | null, localName: string): boolean; - /** - * Returns true if element has attributes, and false otherwise. - */ + /** Returns true if element has attributes, and false otherwise. */ hasAttributes(): boolean; hasPointerCapture(pointerId: number): boolean; insertAdjacentElement(where: InsertPosition, element: Element): Element | null; insertAdjacentHTML(position: InsertPosition, text: string): void; insertAdjacentText(where: InsertPosition, data: string): void; - /** - * Returns true if matching selectors against element's root yields element, and false otherwise. - */ + /** Returns true if matching selectors against element's root yields element, and false otherwise. */ matches(selectors: string): boolean; releasePointerCapture(pointerId: number): void; - /** - * Removes element's first attribute whose qualified name is qualifiedName. - */ + /** Removes element's first attribute whose qualified name is qualifiedName. */ removeAttribute(qualifiedName: string): void; - /** - * Removes element's attribute whose namespace is namespace and local name is localName. - */ + /** Removes element's attribute whose namespace is namespace and local name is localName. */ removeAttributeNS(namespace: string | null, localName: string): void; removeAttributeNode(attr: Attr): Attr; /** @@ -5000,13 +4853,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; scrollTo(options?: ScrollToOptions): void; scrollTo(x: number, y: number): void; - /** - * Sets the value of element's first attribute whose qualified name is qualifiedName to value. - */ + /** Sets the value of element's first attribute whose qualified name is qualifiedName to value. */ setAttribute(qualifiedName: string, value: string): void; - /** - * Sets the value of element's attribute whose namespace is namespace and local name is localName to value. - */ + /** Sets the value of element's attribute whose namespace is namespace and local name is localName to value. */ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; setAttributeNode(attr: Attr): Attr | null; setAttributeNodeNS(attr: Attr): Attr | null; @@ -5041,6 +4890,16 @@ interface ElementContentEditable { readonly isContentEditable: boolean; } +interface ElementInternals extends ARIAMixin { + /** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */ + readonly shadowRoot: ShadowRoot | null; +} + +declare var ElementInternals: { + prototype: ElementInternals; + new(): ElementInternals; +}; + /** Events providing information related to errors in scripts or in files. */ interface ErrorEvent extends Event { readonly colno: number; @@ -5057,68 +4916,40 @@ declare var ErrorEvent: { /** An event which takes place in the DOM. */ interface Event { - /** - * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. - */ + /** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */ readonly bubbles: boolean; cancelBubble: boolean; - /** - * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. - */ + /** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */ readonly cancelable: boolean; - /** - * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. - */ + /** Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */ readonly composed: boolean; - /** - * Returns the object whose event listener's callback is currently being invoked. - */ + /** Returns the object whose event listener's callback is currently being invoked. */ readonly currentTarget: EventTarget | null; - /** - * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. - */ + /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */ readonly defaultPrevented: boolean; - /** - * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. - */ + /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */ readonly eventPhase: number; - /** - * Returns true if event was dispatched by the user agent, and false otherwise. - */ + /** Returns true if event was dispatched by the user agent, and false otherwise. */ readonly isTrusted: boolean; /** @deprecated */ returnValue: boolean; /** @deprecated */ readonly srcElement: EventTarget | null; - /** - * Returns the object to which event is dispatched (its target). - */ + /** Returns the object to which event is dispatched (its target). */ readonly target: EventTarget | null; - /** - * Returns the event's timestamp as the number of milliseconds measured relative to the time origin. - */ + /** Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */ readonly timeStamp: DOMHighResTimeStamp; - /** - * Returns the type of event, e.g. "click", "hashchange", or "submit". - */ + /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ readonly type: string; - /** - * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. - */ + /** Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. */ composedPath(): EventTarget[]; /** @deprecated */ initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; - /** - * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. - */ + /** If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */ preventDefault(): void; - /** - * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. - */ + /** Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */ stopImmediatePropagation(): void; - /** - * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. - */ + /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */ stopPropagation(): void; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; @@ -5153,28 +4984,22 @@ interface EventSource extends EventTarget { onerror: ((this: EventSource, ev: Event) => any) | null; onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; onopen: ((this: EventSource, ev: Event) => any) | null; - /** - * Returns the state of this EventSource object's connection. It can have the values described below. - */ + /** Returns the state of this EventSource object's connection. It can have the values described below. */ readonly readyState: number; - /** - * Returns the URL providing the event stream. - */ + /** Returns the URL providing the event stream. */ readonly url: string; - /** - * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. - */ + /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. */ readonly withCredentials: boolean; - /** - * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. - */ + /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */ close(): void; readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } @@ -5204,13 +5029,9 @@ interface EventTarget { * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. */ addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; - /** - * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. - */ + /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ dispatchEvent(event: Event): boolean; - /** - * Removes the event listener in target's event listener list with the same type, callback, and options. - */ + /** Removes the event listener in target's event listener list with the same type, callback, and options. */ removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; } @@ -5320,13 +5141,24 @@ declare var FileSystemDirectoryEntry: { new(): FileSystemDirectoryEntry; }; -/** @deprecated */ +/** Available only in secure contexts. */ +interface FileSystemDirectoryHandle extends FileSystemHandle { + readonly kind: "directory"; + getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise; + getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise; + removeEntry(name: string, options?: FileSystemRemoveOptions): Promise; + resolve(possibleDescendant: FileSystemHandle): Promise; +} + +declare var FileSystemDirectoryHandle: { + prototype: FileSystemDirectoryHandle; + new(): FileSystemDirectoryHandle; +}; + interface FileSystemDirectoryReader { - /** @deprecated */ readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void; } -/** @deprecated */ declare var FileSystemDirectoryReader: { prototype: FileSystemDirectoryReader; new(): FileSystemDirectoryReader; @@ -5355,6 +5187,29 @@ declare var FileSystemFileEntry: { new(): FileSystemFileEntry; }; +/** Available only in secure contexts. */ +interface FileSystemFileHandle extends FileSystemHandle { + readonly kind: "file"; + getFile(): Promise; +} + +declare var FileSystemFileHandle: { + prototype: FileSystemFileHandle; + new(): FileSystemFileHandle; +}; + +/** Available only in secure contexts. */ +interface FileSystemHandle { + readonly kind: FileSystemHandleKind; + readonly name: string; + isSameEntry(other: FileSystemHandle): Promise; +} + +declare var FileSystemHandle: { + prototype: FileSystemHandle; + new(): FileSystemHandle; +}; + /** Focus-related events like focus, blur, focusin, or focusout. */ interface FocusEvent extends UIEvent { readonly relatedTarget: EventTarget | null; @@ -5444,9 +5299,7 @@ declare var FormData: { }; interface FormDataEvent extends Event { - /** - * Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. - */ + /** Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. */ readonly formData: FormData; } @@ -5465,7 +5318,10 @@ declare var GainNode: { new(context: BaseAudioContext, options?: GainOptions): GainNode; }; -/** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */ +/** + * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. + * Available only in secure contexts. + */ interface Gamepad { readonly axes: ReadonlyArray; readonly buttons: ReadonlyArray; @@ -5482,7 +5338,10 @@ declare var Gamepad: { new(): Gamepad; }; -/** An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. */ +/** + * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. + * Available only in secure contexts. + */ interface GamepadButton { readonly pressed: boolean; readonly touched: boolean; @@ -5494,7 +5353,10 @@ declare var GamepadButton: { new(): GamepadButton; }; -/** This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. */ +/** + * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. + * Available only in secure contexts. + */ interface GamepadEvent extends Event { readonly gamepad: Gamepad; } @@ -5531,6 +5393,7 @@ declare var Geolocation: { new(): Geolocation; }; +/** Available only in secure contexts. */ interface GeolocationCoordinates { readonly accuracy: number; readonly altitude: number | null; @@ -5546,9 +5409,10 @@ declare var GeolocationCoordinates: { new(): GeolocationCoordinates; }; +/** Available only in secure contexts. */ interface GeolocationPosition { readonly coords: GeolocationCoordinates; - readonly timestamp: DOMTimeStamp; + readonly timestamp: EpochTimeStamp; } declare var GeolocationPosition: { @@ -5647,8 +5511,9 @@ interface GlobalEventHandlersEventMap { "select": Event; "selectionchange": Event; "selectstart": Event; + "slotchange": Event; "stalled": Event; - "submit": Event; + "submit": SubmitEvent; "suspend": Event; "timeupdate": Event; "toggle": Event; @@ -5881,6 +5746,7 @@ interface GlobalEventHandlers { * @param ev The event. */ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null; /** * Occurs when the seek operation ends. * @param ev The event. @@ -5898,12 +5764,13 @@ interface GlobalEventHandlers { onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the download has stopped. * @param ev The event. */ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; - onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null; /** * Occurs if the load operation has been intentionally halted. * @param ev The event. @@ -5933,9 +5800,13 @@ interface GlobalEventHandlers { * @param ev The event. */ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of `onanimationend`. */ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of `onanimationiteration`. */ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of `onanimationstart`. */ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** @deprecated This is a legacy alias of `ontransitionend`. */ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -5945,13 +5816,9 @@ interface GlobalEventHandlers { } interface HTMLAllCollection { - /** - * Returns the number of elements in the collection. - */ + /** Returns the number of elements in the collection. */ readonly length: number; - /** - * Returns the item with index index from the collection (determined by tree order). - */ + /** Returns the item with index index from the collection (determined by tree order). */ item(nameOrIndex?: string): HTMLCollection | Element | null; /** * Returns the item with ID or name name from the collection. @@ -5982,9 +5849,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { */ coords: string; download: string; - /** - * Sets or retrieves the language code of the object. - */ + /** Sets or retrieves the language code of the object. */ hreflang: string; /** * Sets or retrieves the shape of the object. @@ -5993,9 +5858,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { name: string; ping: string; referrerPolicy: string; - /** - * Sets or retrieves the relationship between the object and the destination of the link. - */ + /** Sets or retrieves the relationship between the object and the destination of the link. */ rel: string; readonly relList: DOMTokenList; /** @@ -6008,13 +5871,9 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * @deprecated */ shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ + /** Sets or retrieves the window or frame at which to target content. */ target: string; - /** - * Retrieves or sets the text of the object as a string. - */ + /** Retrieves or sets the text of the object as a string. */ text: string; type: string; addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -6030,13 +5889,9 @@ declare var HTMLAnchorElement: { /** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements. */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { - /** - * Sets or retrieves a text alternative to the graphic. - */ + /** Sets or retrieves a text alternative to the graphic. */ alt: string; - /** - * Sets or retrieves the coordinates of the object. - */ + /** Sets or retrieves the coordinates of the object. */ coords: string; download: string; /** @@ -6048,13 +5903,9 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { referrerPolicy: string; rel: string; readonly relList: DOMTokenList; - /** - * Sets or retrieves the shape of the object. - */ + /** Sets or retrieves the shape of the object. */ shape: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ + /** Sets or retrieves the window or frame at which to target content. */ target: string; addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -6100,13 +5951,9 @@ declare var HTMLBRElement: { /** Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface. */ interface HTMLBaseElement extends HTMLElement { - /** - * Gets or sets the baseline URL on which relative links are based. - */ + /** Gets or sets the baseline URL on which relative links are based. */ href: string; - /** - * Sets or retrieves the window or frame at which to target content. - */ + /** Sets or retrieves the window or frame at which to target content. */ target: string; addEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -6153,58 +6000,32 @@ declare var HTMLBodyElement: { /** Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating